{"version":3,"sources":["vendor/ember-cli/app-prefix.js","embercom/adapters/admin-impersonation-consent.js","embercom/adapters/admin-pageview.js","embercom/adapters/admin-scheduler-settings.js","embercom/adapters/application.js","embercom/adapters/appstore/app-package/get-a-demo/app-setting.js","embercom/adapters/appstore/app-package/invitation.js","embercom/adapters/appstore/app-package/invite-form-state.js","embercom/adapters/appstore/app-package/stripe/app-settings.js","embercom/adapters/article-multilingual.js","embercom/adapters/article.js","embercom/adapters/articles/article-group.js","embercom/adapters/attempted-paid-action.js","embercom/adapters/billing/contract.js","embercom/adapters/billing/customer.js","embercom/adapters/billing/early_stage_graduation.js","embercom/adapters/campaign-summary.js","embercom/adapters/conversation-attributes/conversation-attribute-value.js","embercom/adapters/conversation-rating.js","embercom/adapters/conversation.js","embercom/adapters/custom-email-address.js","embercom/adapters/developer-home/webhook.js","embercom/adapters/developer-hub/app-package/reports/cumulative-total-installs.js","embercom/adapters/developer-hub/app-package/reports/installation-events.js","embercom/adapters/developer-hub/app-package/reports/uninstall-feedback.js","embercom/adapters/dkim-settings.js","embercom/adapters/email-template.js","embercom/adapters/event-tracker.js","embercom/adapters/facebook-integration.js","embercom/adapters/inbox/admin-app-sidebar-section.js","embercom/adapters/intercom-pages-profile.js","embercom/adapters/json-api.js","embercom/adapters/matching-system/ruleset.js","embercom/adapters/meeting-scheduler/calendar.js","embercom/adapters/messages/campaign-audience-preview.js","embercom/adapters/messages/control-group.js","embercom/adapters/messages/dependencies.js","embercom/adapters/messenger-home/slot-group.js","embercom/adapters/messenger-settings/all.js","embercom/adapters/messenger-settings/availability.js","embercom/adapters/messenger-settings/home.js","embercom/adapters/messenger-settings/look-and-feel.js","embercom/adapters/messenger-settings/security.js","embercom/adapters/messenger-settings/upfront-email-collection.js","embercom/adapters/messenger-settings/visibility.js","embercom/adapters/note.js","embercom/adapters/oauth/authorization-request.js","embercom/adapters/onboarding/home/guide.js","embercom/adapters/onboarding/home/step.js","embercom/adapters/operator-settings/conversation-routing.js","embercom/adapters/operator-settings/duplicate-conversation-detection.js","embercom/adapters/operator-settings/team-availability.js","embercom/adapters/operator-settings/upfront-collection.js","embercom/adapters/outbound/content-wrapper.js","embercom/adapters/people/qualification-attribute.js","embercom/adapters/permission.js","embercom/adapters/report-subscription.js","embercom/adapters/reporting/custom/chart.js","embercom/adapters/reporting/custom/report.js","embercom/adapters/sdk-app.js","embercom/adapters/signup.js","embercom/adapters/tag.js","embercom/adapters/team-setting.js","embercom/app.js","embercom/breakpoints.js","embercom/cldrs/de.js","embercom/cldrs/en.js","embercom/cldrs/es.js","embercom/cldrs/fr.js","embercom/cldrs/ja.js","embercom/cldrs/pt.js","embercom/component-managers/glimmer.js","embercom/components/-dynamic-element-alt.js","embercom/components/-dynamic-element.js","embercom/components/-lf-get-outlet-state.js","embercom/components/account/account-admin-avatar-component.js","embercom/components/account/content-components/visibility/segments.js","embercom/components/account/inbox-wallpaper/inbox-preview.js","embercom/components/account/your-settings-submenu.js","embercom/components/accounts/accounts-table.js","embercom/components/accounts/getting-started.js","embercom/components/accounts/modals/delete-account-modal.js","embercom/components/accounts/modals/new-account-modal.js","embercom/components/accounts/specific-page-editor.js","embercom/components/action-dropdown-component.js","embercom/components/admin-avatar.js","embercom/components/admin/about-auto-resizing-textarea-component.js","embercom/components/admin/about-component.js","embercom/components/admin/about-link-component.js","embercom/components/admin/about-profile-location-component.js","embercom/components/admin/about-profile-location-hidden-component.js","embercom/components/admin/about-simple-text-component.js","embercom/components/admin/avatar-upload-component.js","embercom/components/admin/intercom-pages-component.js","embercom/components/admin/new-selector-item.js","embercom/components/admin/new-selector.js","embercom/components/admin/selector-dropdown.js","embercom/components/admin/selector-item-component.js","embercom/components/anchor-editor.js","embercom/components/animated-beacon.js","embercom/components/animated-container.js","embercom/components/animated-each.js","embercom/components/animated-if.js","embercom/components/animated-orphans.js","embercom/components/animated-value.js","embercom/components/answers/answer-header.js","embercom/components/answers/answer-language-select.js","embercom/components/answers/answer-list.js","embercom/components/answers/answers-list/answer-list-table.js","embercom/components/answers/answers-list/sort-icon.js","embercom/components/answers/editor/answer-editor.js","embercom/components/answers/editor/answer-panel/answer-language-panel.js","embercom/components/answers/editor/answer-panel/multipart-response-display.js","embercom/components/answers/editor/answer-panel/part-composer.js","embercom/components/answers/editor/answer-panel/past-conversations/admin-bubble.js","embercom/components/answers/editor/answer-panel/past-conversations/conversation-card.js","embercom/components/answers/editor/answer-panel/past-conversations/side-drawer-opener.js","embercom/components/answers/editor/answer-panel/past-conversations/side-drawer.js","embercom/components/answers/editor/answer-panel/past-conversations/user-bubble.js","embercom/components/answers/editor/multipart-response-editor.js","embercom/components/answers/editor/multipart-response-wrapper.js","embercom/components/answers/editor/questions-panel/added-examples.js","embercom/components/answers/editor/questions-panel/configure-trigger-words-modal.js","embercom/components/answers/editor/questions-panel/example-question-suggestion.js","embercom/components/answers/editor/questions-panel/example-question-suggestions-list.js","embercom/components/answers/editor/questions-panel/example-questions-header-context.js","embercom/components/answers/editor/questions-panel/questions-editor.js","embercom/components/answers/editor/questions-panel/radial-progress-indicator.js","embercom/components/answers/editor/questions-panel/search-for-question.js","embercom/components/answers/editor/rejected-suggested-questions-modal.js","embercom/components/answers/editor/review-panel/review-wrapper-error.js","embercom/components/answers/editor/review-panel/review-wrapper.js","embercom/components/answers/editor/styles.js","embercom/components/answers/hero.js","embercom/components/answers/rate-conversation-part.js","embercom/components/answers/reporting/answers-coverage.js","embercom/components/answers/reporting/answers-provided.js","embercom/components/answers/reporting/resolution-rate.js","embercom/components/answers/reporting/resolution-rate/tips.js","embercom/components/answers/reporting/resolution-rate/tooltip.js","embercom/components/answers/reporting/team-impact.js","embercom/components/answers/show/conversation-list.js","embercom/components/answers/show/tab-container.js","embercom/components/answers/show/tabs-component.js","embercom/components/answers/suggested-answers.js","embercom/components/answers/suggested-answers/cluster-header.js","embercom/components/answers/suggested-answers/cluster-list.js","embercom/components/answers/suggested-answers/modal.js","embercom/components/answers/suggested-answers/modal/detail.js","embercom/components/answers/suggested-answers/modal/list.js","embercom/components/apns-token-component.js","embercom/components/apns-token-or-pem-file-component.js","embercom/components/app-framework/canvas.js","embercom/components/app-framework/inbox-apps/frame.js","embercom/components/app-framework/inbox-apps/messenger-app-inserter.js","embercom/components/app-framework/messenger-apps/canvas.js","embercom/components/app-framework/messenger-apps/frame.js","embercom/components/app-framework/messenger-apps/inserter/app-configurator.js","embercom/components/app-framework/messenger-apps/inserter/app-inserter.js","embercom/components/app-framework/messenger-apps/inserter/initializer.js","embercom/components/app-framework/messenger-apps/inserter/list-section.js","embercom/components/app-framework/messenger-apps/inserter/list.js","embercom/components/app-framework/messenger-apps/inserter/paywalled-list.js","embercom/components/app-framework/messenger-apps/inserter/selector.js","embercom/components/app-framework/messenger-apps/styles.js","embercom/components/application-component.js","embercom/components/appstore/app-card.js","embercom/components/appstore/app-card/content.js","embercom/components/appstore/app-package.js","embercom/components/appstore/app-package/app-usages.js","embercom/components/appstore/app-package/details/available-in-component.js","embercom/components/appstore/app-package/details/categories-component.js","embercom/components/appstore/app-package/details/details-content-component.js","embercom/components/appstore/app-package/details/details-header-component.js","embercom/components/appstore/app-package/details/header-badge.js","embercom/components/appstore/app-package/details/header-badges.js","embercom/components/appstore/app-package/details/use-in-component.js","embercom/components/appstore/app-package/details/video-embed.js","embercom/components/appstore/app-package/get-support.js","embercom/components/appstore/app-package/install-button.js","embercom/components/appstore/app-package/install-message-unhealthy-status.js","embercom/components/appstore/app-package/installed-badge.js","embercom/components/appstore/app-package/mobile-modal.js","embercom/components/appstore/app-package/modal.js","embercom/components/appstore/app-package/multi-install-type-button.js","embercom/components/appstore/app-package/onboarding/invite-teammates-item.js","embercom/components/appstore/app-package/onboarding/invite-teammates.js","embercom/components/appstore/app-package/onboarding/onboarding-container-component.js","embercom/components/appstore/app-package/onboarding/onboarding-content-component.js","embercom/components/appstore/app-package/onboarding/success-message.js","embercom/components/appstore/app-package/reinstall-modal.js","embercom/components/appstore/app-package/request-install-modal.js","embercom/components/appstore/app-package/settings/calendar-common/connect.js","embercom/components/appstore/app-package/settings/calendar-common/main.js","embercom/components/appstore/app-package/settings/calendar-common/settings-header.js","embercom/components/appstore/app-package/settings/calendar-common/settings.js","embercom/components/appstore/app-package/settings/campaign-monitor/main.js","embercom/components/appstore/app-package/settings/clearbit/attribute-row.js","embercom/components/appstore/app-package/settings/clearbit/main.js","embercom/components/appstore/app-package/settings/crm/mappings.js","embercom/components/appstore/app-package/settings/facebook/main.js","embercom/components/appstore/app-package/settings/get-a-demo/app-settings.js","embercom/components/appstore/app-package/settings/get-a-demo/main.js","embercom/components/appstore/app-package/settings/get-a-demo/teammate-suggestions.js","embercom/components/appstore/app-package/settings/github/main.js","embercom/components/appstore/app-package/settings/google-analytics/main.js","embercom/components/appstore/app-package/settings/google-calendar-meetings/main.js","embercom/components/appstore/app-package/settings/google-meet/main.js","embercom/components/appstore/app-package/settings/hubspot/main.js","embercom/components/appstore/app-package/settings/mailchimp-import/main.js","embercom/components/appstore/app-package/settings/mailchimp-sync/main.js","embercom/components/appstore/app-package/settings/mailchimp/main.js","embercom/components/appstore/app-package/settings/marketo-enrichment/main.js","embercom/components/appstore/app-package/settings/marketo/main.js","embercom/components/appstore/app-package/settings/mixpanel/main.js","embercom/components/appstore/app-package/settings/outlook-calendar-meetings/main.js","embercom/components/appstore/app-package/settings/permissions-request-modal.js","embercom/components/appstore/app-package/settings/pethotel/main.js","embercom/components/appstore/app-package/settings/quick-links/main.js","embercom/components/appstore/app-package/settings/salesforce-by-intercom/accordion.js","embercom/components/appstore/app-package/settings/salesforce-by-intercom/account-lists.js","embercom/components/appstore/app-package/settings/salesforce-by-intercom/attribute-mapping.js","embercom/components/appstore/app-package/settings/salesforce-by-intercom/authentication-error.js","embercom/components/appstore/app-package/settings/salesforce-by-intercom/base/panel.js","embercom/components/appstore/app-package/settings/salesforce-by-intercom/feature-status.js","embercom/components/appstore/app-package/settings/salesforce-by-intercom/integration-status.js","embercom/components/appstore/app-package/settings/salesforce-by-intercom/main.js","embercom/components/appstore/app-package/settings/salesforce-by-intercom/map-data.js","embercom/components/appstore/app-package/settings/salesforce-by-intercom/mappings.js","embercom/components/appstore/app-package/settings/salesforce-by-intercom/reporting.js","embercom/components/appstore/app-package/settings/salesforce-by-intercom/task-creation.js","embercom/components/appstore/app-package/settings/salesforce-by-intercom/teammate-mappings.js","embercom/components/appstore/app-package/settings/shared/email-subscribe.js","embercom/components/appstore/app-package/settings/slack-by-intercom/legacy-banner.js","embercom/components/appstore/app-package/settings/slack-by-intercom/main.js","embercom/components/appstore/app-package/settings/slack-by-intercom/notification-rule-assignee-select-item.js","embercom/components/appstore/app-package/settings/slack-by-intercom/notification-rule-assignee-select.js","embercom/components/appstore/app-package/settings/slack-by-intercom/notification-rule-editor.js","embercom/components/appstore/app-package/settings/slack-by-intercom/notification-rule-list-item.js","embercom/components/appstore/app-package/settings/slack-by-intercom/notification-rule-list.js","embercom/components/appstore/app-package/settings/slack-by-intercom/notification-type-list-item.js","embercom/components/appstore/app-package/settings/slack-legacy/main.js","embercom/components/appstore/app-package/settings/statuspage/main.js","embercom/components/appstore/app-package/settings/stripe/account-name.js","embercom/components/appstore/app-package/settings/stripe/add-account-help.js","embercom/components/appstore/app-package/settings/stripe/main.js","embercom/components/appstore/app-package/settings/twitter/main.js","embercom/components/appstore/app-package/settings/webinar/main.js","embercom/components/appstore/app-package/settings/zendesk-for-inbox/main.js","embercom/components/appstore/app-package/uninstall-button.js","embercom/components/appstore/app-package/uninstall-modal.js","embercom/components/appstore/app-package/uninstall-modal/usage-item.js","embercom/components/appstore/app-package/verify-email-button.js","embercom/components/appstore/categories-grid.js","embercom/components/appstore/listing/capabilities-banner.js","embercom/components/appstore/listing/capability-content.js","embercom/components/appstore/listing/capability-filter-item.js","embercom/components/appstore/listing/capability-grid.js","embercom/components/appstore/listing/collection-card.js","embercom/components/appstore/listing/collection-cards-container.js","embercom/components/appstore/listing/collection.js","embercom/components/appstore/listing/grid-footer.js","embercom/components/appstore/listing/grid-header.js","embercom/components/appstore/listing/grid-layout.js","embercom/components/appstore/listing/mini-public-banner.js","embercom/components/appstore/listing/page-header.js","embercom/components/appstore/listing/public-banner.js","embercom/components/appstore/listing/public-footer.js","embercom/components/appstore/listing/public-footer/nav-link.js","embercom/components/appstore/listing/public-top-nav.js","embercom/components/appstore/listing/search-input.js","embercom/components/appstore/main-content.js","embercom/components/appstore/recommendations.js","embercom/components/appstore/section-menu.js","embercom/components/appstore/section-menu/link-item.js","embercom/components/article-search-component.js","embercom/components/articles/editor/article-multilingual-editor.js","embercom/components/articles/editor/audience-targeting-side-drawer.js","embercom/components/articles/editor/collection-select-item.js","embercom/components/articles/editor/content-status-select-item.js","embercom/components/articles/editor/target-audience-paywalled-select-item.js","embercom/components/articles/inbox-inserter/article-preview.js","embercom/components/articles/inbox-inserter/list-item.js","embercom/components/articles/inbox-inserter/list.js","embercom/components/articles/inbox-inserter/locale-dropdown-item.js","embercom/components/articles/list/article-item-stats.js","embercom/components/articles/list/article-list.js","embercom/components/articles/list/content-authors.js","embercom/components/articles/list/content-empty-state.js","embercom/components/articles/list/content-status/badge-state-wrapper.js","embercom/components/articles/list/content-status/badge.js","embercom/components/articles/list/content-status/grouped-badges.js","embercom/components/articles/list/content-summary.js","embercom/components/articles/list/paginated-table.js","embercom/components/articles/list/upsell-banners.js","embercom/components/articles/shared/article-header.js","embercom/components/articles/shared/article-import-modal.js","embercom/components/articles/shared/badge-collection.js","embercom/components/articles/shared/badge-segmented-content.js","embercom/components/articles/shared/content-owner.js","embercom/components/articles/shared/content-state.js","embercom/components/articles/shared/go-to-help-center.js","embercom/components/articles/shared/left-side-nav.js","embercom/components/articles/shared/locale-tab-control-item.js","embercom/components/articles/shared/locale-tab-control.js","embercom/components/articles/shared/locked-article-icon.js","embercom/components/articles/shared/themed-styles.js","embercom/components/articles/show/article-viewer.js","embercom/components/articles/show/content-viewer.js","embercom/components/articles/show/deprecated-suggested-article-viewer.js","embercom/components/articles/show/link-to-help-center-article.js","embercom/components/articles/show/stats-list.js","embercom/components/articles/show/tab-container.js","embercom/components/articles/show/tabs-component.js","embercom/components/articles/show/tabs/overview-tab.js","embercom/components/articles/show/tabs/reactions-tab.js","embercom/components/articles/show/tabs/standard-tab.js","embercom/components/articles/show/tabs/stat-tab.js","embercom/components/articles/show/tabs/tabs-component.js","embercom/components/articles/site/collections/article-picker.js","embercom/components/articles/site/collections/articles-list-component.js","embercom/components/articles/site/collections/collection-article.js","embercom/components/articles/site/collections/collection-details-component.js","embercom/components/articles/site/collections/collection-item.js","embercom/components/articles/site/collections/collections-list.js","embercom/components/articles/site/collections/icon-selector-component.js","embercom/components/articles/site/collections/icon-selector-popover-component.js","embercom/components/articles/site/collections/section-list-component.js","embercom/components/articles/site/settings/action-buttons-component.js","embercom/components/articles/site/settings/advanced-component.js","embercom/components/articles/site/settings/appearance-component.js","embercom/components/articles/site/settings/article-preview.js","embercom/components/articles/site/settings/basic-component.js","embercom/components/articles/site/settings/footer-links.js","embercom/components/articles/site/settings/footer-preview.js","embercom/components/articles/site/settings/header-preview.js","embercom/components/articles/site/settings/help-center-preview.js","embercom/components/articles/site/settings/language-component.js","embercom/components/articles/site/settings/site-asset-upload-component.js","embercom/components/assignee/selector-heading.js","embercom/components/assignee/selector-item.js","embercom/components/assignee/selector-opener.js","embercom/components/assignee/selector.js","embercom/components/attachment-item-pill.js","embercom/components/attachment-item.js","embercom/components/attachment-list.js","embercom/components/attribute-anonymous-component.js","embercom/components/attribute-boolean-component.js","embercom/components/attribute-browser-locale-component.js","embercom/components/attribute-company-tag-component.js","embercom/components/attribute-company-tags-component.js","embercom/components/attribute-component.js","embercom/components/attribute-date-component.js","embercom/components/attribute-editor.js","embercom/components/attribute-float-component.js","embercom/components/attribute-inserter.js","embercom/components/attribute-integer-component.js","embercom/components/attribute-item-component.js","embercom/components/attribute-last-conversation-rating-given-component.js","embercom/components/attribute-manual-tag-component.js","embercom/components/attribute-plan-component.js","embercom/components/attribute-selector.js","embercom/components/attribute-spend-component.js","embercom/components/attribute-string-component.js","embercom/components/attributes/attribute-item.js","embercom/components/attributes/attribute-picker-opener.js","embercom/components/attributes/attribute.js","embercom/components/auto-focus-component.js","embercom/components/auto-resizing-textarea-component.js","embercom/components/auto-resizing-textarea-with-count-component.js","embercom/components/avatar-emoji-selector-component.js","embercom/components/banners/editor/content/action-url.js","embercom/components/banners/editor/content/banner-web-chrome.js","embercom/components/banners/editor/content/composer.js","embercom/components/banners/editor/content/panel.js","embercom/components/banners/editor/content/web-chrome/bottom-banner.js","embercom/components/banners/editor/content/web-chrome/top-banner.js","embercom/components/banners/missing-shipping-address.js","embercom/components/base-settings-submenu.js","embercom/components/base/invite-actions-and-error-handling-component.js","embercom/components/base/invite-link-actions-and-error-handling-component.js","embercom/components/base/user-or-companies-list.js","embercom/components/base/user-or-company-list-base.js","embercom/components/billing-settings-invoice-notifications-toggle-component.js","embercom/components/billing/address-form.js","embercom/components/billing/company-address-modal.js","embercom/components/billing/confirm-component.js","embercom/components/billing/confirm-product-component.js","embercom/components/billing/coupon-component.js","embercom/components/billing/coupon-line-component.js","embercom/components/billing/credit-card-modal.js","embercom/components/billing/details/annual-contract-banner-component.js","embercom/components/billing/details/cancel/alternative-product-copy-component.js","embercom/components/billing/details/cancel/downsize/plan.js","embercom/components/billing/details/cancel/help-card.js","embercom/components/billing/details/cancel/secondary-reason-copy-component.js","embercom/components/billing/details/change-plan-instructions-component.js","embercom/components/billing/details/graduation-empty-state.js","embercom/components/billing/details/header-component.js","embercom/components/billing/details/price-cell.js","embercom/components/billing/details/warning-banners-component.js","embercom/components/billing/early-stage/early-stage-cancel-modal.js","embercom/components/billing/early-stage/early-stage-save-confirmation-modal.js","embercom/components/billing/edit-addon-modal.js","embercom/components/billing/edit-modal-card.js","embercom/components/billing/edit-payment-component.js","embercom/components/billing/edit-plan-modal.js","embercom/components/billing/edit-subscription-component.js","embercom/components/billing/invoice-billing-period-total.js","embercom/components/billing/invoice-component.js","embercom/components/billing/invoice-details-component.js","embercom/components/billing/invoice-total-component.js","embercom/components/billing/line-item-row-description.js","embercom/components/billing/line-item-row.js","embercom/components/billing/post-subtotal-line-item.js","embercom/components/billing/product-edit-row.js","embercom/components/billing/product-summary-row.js","embercom/components/billing/stripe-card-component.js","embercom/components/billing/submenu-component.js","embercom/components/billing/subscription-summary-component.js","embercom/components/billing/summary/price-usage-breakdown-table.js","embercom/components/billing/total-price-component.js","embercom/components/billing/unsaved-changes-modal.js","embercom/components/billing/upsell-banner-component.js","embercom/components/boot-error.js","embercom/components/bound-web-event-description.js","embercom/components/bulk-action-select-component.js","embercom/components/button-editor.js","embercom/components/calendar-date-picker-component.js","embercom/components/campaigns/campaign-list.js","embercom/components/campaigns/campaign-message-validations.js","embercom/components/campaigns/campaign-spacing-editor.js","embercom/components/campaigns/filter-links.js","embercom/components/campaigns/headers/base-page-header-component.js","embercom/components/campaigns/headers/edit-page-header-component.js","embercom/components/campaigns/headers/page-header.js","embercom/components/campaigns/headers/show-page-header-component.js","embercom/components/campaigns/headers/user-page-header-component.js","embercom/components/campaigns/list/list-body.js","embercom/components/campaigns/list/list-header.js","embercom/components/campaigns/list/message-move-row.js","embercom/components/campaigns/list/spacing-editor.js","embercom/components/campaigns/role-type-selector.js","embercom/components/campaigns/series-migration-banner.js","embercom/components/campaigns/setup/base-campaign-entry-exit-editor.js","embercom/components/campaigns/setup/campaign-entry-editor.js","embercom/components/campaigns/setup/campaign-exit-editor.js","embercom/components/campaigns/setup/campaign-goal-editor.js","embercom/components/campaigns/setup/campaign-setup.js","embercom/components/campaigns/setup/user-preview.js","embercom/components/campaigns/table/campaign-selection-cell.js","embercom/components/campaigns/table/created-cell.js","embercom/components/campaigns/table/message-count-cell.js","embercom/components/campaigns/table/stats-header.js","embercom/components/campaigns/table/table-headers.js","embercom/components/campaigns/table/title-cell.js","embercom/components/campaigns/user-list.js","embercom/components/canvas-kit-builder/canvas-kit-builder.js","embercom/components/canvas-kit-builder/editor.js","embercom/components/canvas-kit-builder/preview-footer.js","embercom/components/canvas-kit-builder/preview.js","embercom/components/canvas-kit-builder/preview/inbox-canvas.js","embercom/components/canvas-kit-builder/preview/inserter-canvas.js","embercom/components/canvas-kit-builder/preview/messenger-canvas.js","embercom/components/canvas-kit-builder/top-navigation-header.js","embercom/components/carousel/chrome/main.js","embercom/components/carousel/editor.js","embercom/components/carousel/embedded-styles/carousel-block-styles.js","embercom/components/carousel/embedded-styles/main.js","embercom/components/carousel/screen-editor/actions/main.js","embercom/components/carousel/screen-editor/composer/main.js","embercom/components/carousel/screen-editor/main.js","embercom/components/carousel/screen-view/actions.js","embercom/components/carousel/screen-view/composer.js","embercom/components/carousel/screen-view/main.js","embercom/components/carousel/screen-view/nav-dots.js","embercom/components/carousel/screen-view/render.js","embercom/components/carousel/screen-view/styles.js","embercom/components/carousel/sidebar/carousel-editor.js","embercom/components/carousel/sidebar/layouts/image-title-text.js","embercom/components/carousel/sidebar/layouts/list-icons.js","embercom/components/carousel/sidebar/layouts/permissions-request.js","embercom/components/carousel/sidebar/layouts/title-text-image.js","embercom/components/carousel/sidebar/screen-editor.js","embercom/components/carousel/thumbnail-controls/main.js","embercom/components/carousel/timeline/add-screen.js","embercom/components/carousel/timeline/main.js","embercom/components/carousel/timeline/screen-stats.js","embercom/components/cda-onboarding-display-row-component.js","embercom/components/cda-onboarding-input-list-component.js","embercom/components/cda-onboarding-input-row-component.js","embercom/components/cda-onboarding-invite-component.js","embercom/components/cda-onboarding-sample-list-component.js","embercom/components/cda-onboarding/in-context-attribute-creator-component.js","embercom/components/cda-onboarding/in-context-attribute-creator-editor-component.js","embercom/components/change-plan-modal/column-title-component.js","embercom/components/change-plan-modal/form-field-component.js","embercom/components/change-plan-modal/price-breakdown-display.js","embercom/components/change-plan-modal/pricing-tooltip-core.js","embercom/components/change-plan-modal/product-header-component.js","embercom/components/change-plan-modal/product-info-component.js","embercom/components/chat/chrome.js","embercom/components/chat/chrome/email-collector-reply.js","embercom/components/chat/chrome/text-reply.js","embercom/components/chat/composer.js","embercom/components/chat/editor.js","embercom/components/chat/sidebar.js","embercom/components/col-pick-input.js","embercom/components/col-pick.js","embercom/components/common/absolute-date-editor.js","embercom/components/common/accordion-component.js","embercom/components/common/accordion-component/blue-header-title.js","embercom/components/common/accordion-component/body-button-action.js","embercom/components/common/accordion-component/body.js","embercom/components/common/accordion-component/header-action.js","embercom/components/common/accordion-component/header-after.js","embercom/components/common/accordion-component/header.js","embercom/components/common/accordion-component/lightweight-header-title.js","embercom/components/common/accordion-component/section-link.js","embercom/components/common/accordion-component/section.js","embercom/components/common/accordion-component/white-header-title.js","embercom/components/common/article-modal/main.js","embercom/components/common/attribute-select.js","embercom/components/common/avatar-and-name-dropdown-item.js","embercom/components/common/breadcrumbs-component.js","embercom/components/common/button-group.js","embercom/components/common/code-text-area.js","embercom/components/common/conditional-link-to.js","embercom/components/common/date-and-time-picker.js","embercom/components/common/date-picker-dropdown.js","embercom/components/common/date-range-picker.js","embercom/components/common/date-range-picker/footer.js","embercom/components/common/date-range-picker/header.js","embercom/components/common/day-hour-minute-input.js","embercom/components/common/expanding-one-way-input.js","embercom/components/common/hamburger-menu.js","embercom/components/common/horizontal-button-group.js","embercom/components/common/horizontal-select-item.js","embercom/components/common/icon-and-text.js","embercom/components/common/input-with-pills.js","embercom/components/common/input-with-pills/input-field.js","embercom/components/common/input-with-pills/input-with-dropdown.js","embercom/components/common/input-with-pills/pills-list.js","embercom/components/common/language/permitted-locale-component.js","embercom/components/common/legacy-hero-banner.js","embercom/components/common/legacy-hero-banner/description.js","embercom/components/common/legacy-hero-banner/title-section.js","embercom/components/common/lightbox-image-opener.js","embercom/components/common/lightbox-image.js","embercom/components/common/modal-component.js","embercom/components/common/navbar-collapsed.js","embercom/components/common/paywall-component.js","embercom/components/common/relative-datetime.js","embercom/components/common/selectable-list.js","embercom/components/common/tagging-component.js","embercom/components/common/tagging-modal-header.js","embercom/components/common/textarea-title.js","embercom/components/common/time-select-component.js","embercom/components/common/tooltips/user.js","embercom/components/companies/profile/editable-name.js","embercom/components/companies/profile/sidebar-sections.js","embercom/components/company-list.js","embercom/components/company-size-select-component.js","embercom/components/company-table-row-component.js","embercom/components/company-user-card.js","embercom/components/composer-debug.js","embercom/components/composer-inserter.js","embercom/components/composer-v2.js","embercom/components/composer.js","embercom/components/composer/controls/actions-component.js","embercom/components/composer/controls/message-style-popover-component.js","embercom/components/composer/controls/message-style-quick-action-component.js","embercom/components/composer/controls/message-type-popover-component.js","embercom/components/composer/controls/message-type-quick-action-component.js","embercom/components/composer/controls/saved-content-popover-component.js","embercom/components/composer/controls/video-popover-component.js","embercom/components/confetti-rain.js","embercom/components/content-editor.js","embercom/components/content-editor/audience-wrappers/content/carousel/audience-preview.js","embercom/components/content-editor/audience-wrappers/content/carousel/audience-rules-editor.js","embercom/components/content-editor/audience-wrappers/content/series/audience-preview-non-starting-node.js","embercom/components/content-editor/audience-wrappers/content/series/audience-rules-editor.js","embercom/components/content-editor/audience-wrappers/standard/audience-preview.js","embercom/components/content-editor/audience-wrappers/standard/audience-rules-editor.js","embercom/components/content-editor/audience-wrappers/standard/client-predicates-editor.js","embercom/components/content-editor/audience-wrappers/standard/match-behavior-switcher.js","embercom/components/content-editor/body.js","embercom/components/content-editor/edit-mode.js","embercom/components/content-editor/headers/custom-bots/preview-button.js","embercom/components/content-editor/headers/edit-mode/standard-header.js","embercom/components/content-editor/headers/more-dropdown.js","embercom/components/content-editor/headers/schedule-or-set-live-button.js","embercom/components/content-editor/headers/series-mode/standard-header.js","embercom/components/content-editor/headers/standard-tags-tab.js","embercom/components/content-editor/headers/tours/preview-button.js","embercom/components/content-editor/headers/validation-tooltip.js","embercom/components/content-editor/headers/view-mode/edit-button.js","embercom/components/content-editor/headers/view-mode/standard-header.js","embercom/components/content-editor/headers/view-mode/standard-series-header.js","embercom/components/content-editor/panels/audience/body.js","embercom/components/content-editor/panels/audience/content/carousel/footer.js","embercom/components/content-editor/panels/audience/content/carousel/header.js","embercom/components/content-editor/panels/audience/header.js","embercom/components/content-editor/panels/content/assignee-dropdown-with-fallback.js","embercom/components/content-editor/panels/content/assignee-dropdown.js","embercom/components/content-editor/panels/content/assignee-sender-item.js","embercom/components/content-editor/panels/content/banner/body.js","embercom/components/content-editor/panels/content/banner/header.js","embercom/components/content-editor/panels/content/button-custom-bot/body.js","embercom/components/content-editor/panels/content/carousel/body.js","embercom/components/content-editor/panels/content/carousel/header.js","embercom/components/content-editor/panels/content/chat/body.js","embercom/components/content-editor/panels/content/chat/header.js","embercom/components/content-editor/panels/content/chrome/avatar.js","embercom/components/content-editor/panels/content/chrome/bottom.js","embercom/components/content-editor/panels/content/chrome/sender-summary.js","embercom/components/content-editor/panels/content/custom-bot/body.js","embercom/components/content-editor/panels/content/custom-bot/header.js","embercom/components/content-editor/panels/content/email/body.js","embercom/components/content-editor/panels/content/email/header.js","embercom/components/content-editor/panels/content/follow-up-actions/answer-bot.js","embercom/components/content-editor/panels/content/follow-up-actions/dropdown-item.js","embercom/components/content-editor/panels/content/follow-up-actions/editor.js","embercom/components/content-editor/panels/content/follow-up-actions/follow-up-reply-overlay.js","embercom/components/content-editor/panels/content/follow-up-actions/follow-up-reply.js","embercom/components/content-editor/panels/content/follow-up-actions/if-block.js","embercom/components/content-editor/panels/content/follow-up-actions/lead-qualification.js","embercom/components/content-editor/panels/content/inbound-custom-bot/body.js","embercom/components/content-editor/panels/content/inserters/app.js","embercom/components/content-editor/panels/content/owner-assignee-dropdown.js","embercom/components/content-editor/panels/content/post/body.js","embercom/components/content-editor/panels/content/post/header.js","embercom/components/content-editor/panels/content/preferred-devices/preview-switcher.js","embercom/components/content-editor/panels/content/preferred-devices/switcher.js","embercom/components/content-editor/panels/content/push-notification-toggle.js","embercom/components/content-editor/panels/content/push/body.js","embercom/components/content-editor/panels/content/push/header.js","embercom/components/content-editor/panels/content/reactions/picker-opener.js","embercom/components/content-editor/panels/content/reactions/reaction-picker.js","embercom/components/content-editor/panels/content/sms/body.js","embercom/components/content-editor/panels/content/sms/header.js","embercom/components/content-editor/panels/content/standard-body.js","embercom/components/content-editor/panels/content/standard-header.js","embercom/components/content-editor/panels/content/tagger/body.js","embercom/components/content-editor/panels/content/tour/body.js","embercom/components/content-editor/panels/content/tour/header.js","embercom/components/content-editor/panels/content/wait/body.js","embercom/components/content-editor/panels/element-selector/custom-bot/body.js","embercom/components/content-editor/panels/element-selector/custom-bot/header.js","embercom/components/content-editor/panels/goal/body.js","embercom/components/content-editor/panels/goal/header.js","embercom/components/content-editor/panels/schedule/body.js","embercom/components/content-editor/panels/schedule/header.js","embercom/components/content-editor/panels/schedule/matching-timetable.js","embercom/components/content-editor/panels/schedule/scheduled-state-change-editor.js","embercom/components/content-editor/panels/schedule/series-body.js","embercom/components/content-editor/panels/schedule/series-header.js","embercom/components/content-editor/panels/standard-header.js","embercom/components/content-editor/panels/trigger-programmatically/carousel/body.js","embercom/components/content-editor/panels/trigger-programmatically/carousel/header.js","embercom/components/content-editor/series-mode.js","embercom/components/content-editor/show-until.js","embercom/components/content-editor/summaries/audience/content/carousel/summary.js","embercom/components/content-editor/summaries/audience/summary.js","embercom/components/content-editor/summaries/channel/custom-bot/summary.js","embercom/components/content-editor/summaries/content/banner/summary.js","embercom/components/content-editor/summaries/content/carousel/summary.js","embercom/components/content-editor/summaries/content/chat/summary.js","embercom/components/content-editor/summaries/content/condition/summary.js","embercom/components/content-editor/summaries/content/control-group/preview.js","embercom/components/content-editor/summaries/content/control-group/summary.js","embercom/components/content-editor/summaries/content/custom-bot/summary.js","embercom/components/content-editor/summaries/content/email/summary.js","embercom/components/content-editor/summaries/content/post/summary.js","embercom/components/content-editor/summaries/content/push/summary.js","embercom/components/content-editor/summaries/content/sms/summary.js","embercom/components/content-editor/summaries/content/standard-body-header.js","embercom/components/content-editor/summaries/content/tagger/summary.js","embercom/components/content-editor/summaries/content/tour/summary.js","embercom/components/content-editor/summaries/content/wait/summary.js","embercom/components/content-editor/summaries/goal/summary.js","embercom/components/content-editor/summaries/schedule/custom-times-summary.js","embercom/components/content-editor/summaries/schedule/series-custom-times-summary.js","embercom/components/content-editor/summaries/schedule/series-summary-component.js","embercom/components/content-editor/summaries/schedule/summary-component.js","embercom/components/content-editor/summaries/schedule/summary.js","embercom/components/content-editor/summaries/standard-summary.js","embercom/components/content-editor/summaries/state-change-summary.js","embercom/components/content-editor/summaries/trigger-programmatically/carousel/summary.js","embercom/components/content-editor/tabs/custom-bot/path-analysis-tab.js","embercom/components/content-editor/tabs/reactions/stat-tab.js","embercom/components/content-editor/tabs/standard-content-tab.js","embercom/components/content-editor/tabs/standard-ruleset-link-switcher.js","embercom/components/content-editor/tabs/standard-stat-tab.js","embercom/components/content-editor/tabs/standard-tab.js","embercom/components/content-editor/versioning/all-versions-card.js","embercom/components/content-editor/versioning/empty-versions-card.js","embercom/components/content-editor/versioning/paywall.js","embercom/components/content-editor/versioning/sidebar.js","embercom/components/content-editor/versioning/stats-tile.js","embercom/components/content-editor/versioning/version-card.js","embercom/components/content-editor/versioning/version-list.js","embercom/components/content-editor/versioning/version-summary.js","embercom/components/content-editor/view-mode.js","embercom/components/content-editor/view-mode/active-view.js","embercom/components/content-editor/view-mode/custom-bot/path-analysis.js","embercom/components/content-editor/view-mode/standard-stat-list.js","embercom/components/content-editor/view-mode/tabs.js","embercom/components/conversation-composer.js","embercom/components/conversation-state-dropdown-component.js","embercom/components/conversation/-conversation-card-component-expanded-inner.js","embercom/components/conversation/card-action-statement-component.js","embercom/components/conversation/card-component.js","embercom/components/conversation/card-list-component.js","embercom/components/conversation/composer/mention-typeahead.ts","embercom/components/conversation/composer/saved-reply-typeahead.ts","embercom/components/conversation/controls/additional-inserters.js","embercom/components/conversation/controls/article-suggestion-preview-modal.js","embercom/components/conversation/controls/article-suggestion.js","embercom/components/conversation/controls/article-suggestions.js","embercom/components/conversation/controls/button-bar.js","embercom/components/conversation/controls/buttons-component.js","embercom/components/conversation/controls/composer-opener.js","embercom/components/conversation/controls/controls-component.js","embercom/components/conversation/controls/custom-snooze-times-select-component.js","embercom/components/conversation/controls/draft-component.js","embercom/components/conversation/controls/inserter.js","embercom/components/conversation/controls/inserters/annotation-opener.js","embercom/components/conversation/controls/inserters/article-popover-content.js","embercom/components/conversation/controls/inserters/attachment-opener.js","embercom/components/conversation/controls/inserters/emoji-popover-content.js","embercom/components/conversation/controls/inserters/gif-popover-content.js","embercom/components/conversation/controls/inserters/image-opener.js","embercom/components/conversation/controls/inserters/insert-app-button.js","embercom/components/conversation/controls/inserters/messenger-app-inserter-component.js","embercom/components/conversation/controls/inserters/pinned-apps.js","embercom/components/conversation/controls/inserters/saved-reply-popover-content.js","embercom/components/conversation/controls/inserters/tour-inserter.js","embercom/components/conversation/controls/inserters/video-opener.js","embercom/components/conversation/controls/pane-component.js","embercom/components/conversation/controls/pane-selector-component.js","embercom/components/conversation/controls/send-and-change-state.js","embercom/components/conversation/conversation-component.js","embercom/components/conversation/conversations-component.js","embercom/components/conversation/deleted-stream-component.js","embercom/components/conversation/is-typing-component.js","embercom/components/conversation/latest-conversations-component.js","embercom/components/conversation/main-participant-tooltip.js","embercom/components/conversation/modals/away-mode-warning.js","embercom/components/conversation/restricted.js","embercom/components/conversation/retain.js","embercom/components/conversation/shared/card-header/actions.js","embercom/components/conversation/shared/card-header/assignment.js","embercom/components/conversation/shared/card-header/tags.js","embercom/components/conversation/shared/card-header/title.js","embercom/components/conversation/side-drawer-conversation.js","embercom/components/conversation/similar-conversations-component.js","embercom/components/conversation/stream-and-controls.js","embercom/components/conversation/stream-component.js","embercom/components/conversation/stream/admin-action-component.js","embercom/components/conversation/stream/admin-comment-component.js","embercom/components/conversation/stream/admin-duplicate-conversation-note-component.js","embercom/components/conversation/stream/admin-link-component.js","embercom/components/conversation/stream/admin-message-component.js","embercom/components/conversation/stream/admin-multi-link-component.js","embercom/components/conversation/stream/admin-note-component.js","embercom/components/conversation/stream/admin-notification-channels-component.js","embercom/components/conversation/stream/admin-rating-request-component.js","embercom/components/conversation/stream/admin-sticker-component.js","embercom/components/conversation/stream/admin-unknown-participant-for-email-conversation-note-component.js","embercom/components/conversation/stream/assignee-component.js","embercom/components/conversation/stream/background-component.js","embercom/components/conversation/stream/bubble-component.js","embercom/components/conversation/stream/comment-extra-quick-actions-dropdown-overlay.js","embercom/components/conversation/stream/comment-extra-quick-actions.js","embercom/components/conversation/stream/comment-quick-actions-component.js","embercom/components/conversation/stream/comment-tag.js","embercom/components/conversation/stream/conversation-part-component-base.js","embercom/components/conversation/stream/conversation-part-component.js","embercom/components/conversation/stream/event-part-admin-component.js","embercom/components/conversation/stream/event-part-assignment-rule-component.js","embercom/components/conversation/stream/event-part-assignment-rules-component.js","embercom/components/conversation/stream/event-part-assignment-strategy-component.js","embercom/components/conversation/stream/event-part-conversation-sla-rule-component.js","embercom/components/conversation/stream/event-part-identifier-component.js","embercom/components/conversation/stream/event-part-message-component.js","embercom/components/conversation/stream/event-part-priority-rule-component.js","embercom/components/conversation/stream/event-part-snoozed-until-component.js","embercom/components/conversation/stream/event-part-tag-component.js","embercom/components/conversation/stream/event-part-tag-rule-component.js","embercom/components/conversation/stream/event-part-team-component.js","embercom/components/conversation/stream/event-part-text-component.js","embercom/components/conversation/stream/event-part-title-component.js","embercom/components/conversation/stream/event-part-unengaged-inbound-bot-introduction-component.js","embercom/components/conversation/stream/event-part-unknown-entity-component.js","embercom/components/conversation/stream/event-part-user-component.js","embercom/components/conversation/stream/generic-event-component.js","embercom/components/conversation/stream/interblocks-component.js","embercom/components/conversation/stream/quick-actions/copy-permalink-quick-action.js","embercom/components/conversation/stream/quick-actions/quick-action-base-component.js","embercom/components/conversation/stream/quick-actions/redact-reply-quick-action.js","embercom/components/conversation/stream/quick-actions/save-reply-quick-action.js","embercom/components/conversation/stream/quick-actions/tag-reply-quick-action.js","embercom/components/conversation/stream/user-action-component.js","embercom/components/conversation/stream/user-comment-component.js","embercom/components/conversation/stream/user-part-metadata.js","embercom/components/conversation/stream/user-sticker-component.js","embercom/components/conversation/summary-component.js","embercom/components/conversation/transition-information.js","embercom/components/conversational-insights/conversation-card.js","embercom/components/conversational-insights/conversation-cards-list.js","embercom/components/conversational-insights/conversation-count-over-time.js","embercom/components/conversational-insights/conversation-rating-over-time.js","embercom/components/conversational-insights/conversations-side-drawer.js","embercom/components/conversational-insights/median-first-response-time.js","embercom/components/conversational-insights/median-resolution-time.js","embercom/components/conversational-insights/sub-topics.js","embercom/components/conversational-insights/suggestions-list.js","embercom/components/conversational-insights/summary-comparison.js","embercom/components/conversational-insights/topic-ancestor-keywords.js","embercom/components/conversational-insights/topic-ancestors.js","embercom/components/conversational-insights/topic-conversations.js","embercom/components/conversational-insights/topic-editor.js","embercom/components/conversational-insights/topic-overlaps-overview.js","embercom/components/conversational-insights/topic-tags-overlaps.js","embercom/components/conversational-insights/topics-list.js","embercom/components/copy-text-component.js","embercom/components/cp-panel-body.js","embercom/components/cp-panel-toggle.js","embercom/components/cp-panel.js","embercom/components/cp-panels.js","embercom/components/created-at-with-tooltip.js","embercom/components/custom-bots/bot-auto-message/new-buttons/dropdown.js","embercom/components/custom-bots/bot-auto-message/new-buttons/tile.js","embercom/components/custom-bots/custom-bot-type-heading.js","embercom/components/custom-bots/custom-bots-heading.js","embercom/components/custom-bots/duplicate-modal.js","embercom/components/custom-bots/editor.js","embercom/components/custom-bots/editor/answer-bot-editor.js","embercom/components/custom-bots/editor/branch-on-data-selector.js","embercom/components/custom-bots/editor/composer-disabled-selector.js","embercom/components/custom-bots/editor/composer-suggestion-editor.js","embercom/components/custom-bots/editor/composer-suggestion-layout/end-state.js","embercom/components/custom-bots/editor/composer-suggestion-layout/path-editor.js","embercom/components/custom-bots/editor/conversation-layout/end-state.js","embercom/components/custom-bots/editor/conversation-layout/path-editor.js","embercom/components/custom-bots/editor/element-selector.js","embercom/components/custom-bots/editor/end-state/header.js","embercom/components/custom-bots/editor/follow-up-rules-editor.js","embercom/components/custom-bots/editor/incoming-paths.js","embercom/components/custom-bots/editor/layout.js","embercom/components/custom-bots/editor/path-editor/data-field-editor.js","embercom/components/custom-bots/editor/path-editor/data-field-editor/data-field-dropdown.js","embercom/components/custom-bots/editor/path-editor/free-input-editor.js","embercom/components/custom-bots/editor/path-editor/step-inserter.js","embercom/components/custom-bots/editor/path-editor/step-text-editor.js","embercom/components/custom-bots/editor/path-item.js","embercom/components/custom-bots/editor/path-list.js","embercom/components/custom-bots/editor/reply-button-editor.js","embercom/components/custom-bots/editor/reply-button-editor/option-path-selector.js","embercom/components/custom-bots/editor/rules-editor.js","embercom/components/custom-bots/editor/styles.js","embercom/components/custom-bots/path-analysis/completion-node.js","embercom/components/custom-bots/path-analysis/dropoff-node.js","embercom/components/custom-bots/path-analysis/node.js","embercom/components/custom-bots/path-analysis/node/detailed-view-item.js","embercom/components/custom-bots/path-analysis/node/detailed-view.js","embercom/components/custom-bots/path-analysis/root.js","embercom/components/custom-bots/path-analysis/root/version-dropdown-data-note.js","embercom/components/custom-bots/path-analysis/root/version-dropdown-item.js","embercom/components/custom-bots/preview.js","embercom/components/custom-bots/preview/composer-suggestions.js","embercom/components/custom-bots/preview/conversation-stream.js","embercom/components/custom-bots/preview/preview-selector.js","embercom/components/custom-bots/preview/wrappers/android.js","embercom/components/custom-bots/preview/wrappers/ios.js","embercom/components/custom-bots/preview/wrappers/web.js","embercom/components/custom-bots/toggle-activate-button.js","embercom/components/custom-data-attributes-component.js","embercom/components/customisable-widget-editor-social.js","embercom/components/customisable-widget-editor-text.js","embercom/components/customisable-widget-popover.js","embercom/components/customisable-widget.js","embercom/components/date-with-timezone-component.js","embercom/components/debug/info.js","embercom/components/deleted-at-with-tooltip.js","embercom/components/deprecated/expanding-input-component.js","embercom/components/developer-hub/app-package-new.js","embercom/components/developer-hub/app-package/app-icon-upload-picker.js","embercom/components/developer-hub/app-package/app-package-changes.js","embercom/components/developer-hub/app-package/app-store-listing/edit/app-icon.js","embercom/components/developer-hub/app-package/app-store-listing/edit/categories-list.js","embercom/components/developer-hub/app-package/app-store-listing/edit/edit-base.js","embercom/components/developer-hub/app-package/app-store-listing/edit/long-description.js","embercom/components/developer-hub/app-package/app-store-listing/edit/preview-card.js","embercom/components/developer-hub/app-package/app-store-listing/edit/preview.js","embercom/components/developer-hub/app-package/app-store-listing/edit/pricing-model-selector.js","embercom/components/developer-hub/app-package/app-store-listing/edit/screenshot-row.js","embercom/components/developer-hub/app-package/app-store-listing/edit/screenshot-upload-picker.js","embercom/components/developer-hub/app-package/app-store-listing/edit/supported-language.js","embercom/components/developer-hub/app-package/app-store-listing/show.js","embercom/components/developer-hub/app-package/app-store-listing/show/categories-list.js","embercom/components/developer-hub/app-package/app-store-listing/show/screenshots-list.js","embercom/components/developer-hub/app-package/app-store-listing/show/video-embed.js","embercom/components/developer-hub/app-package/basic-info/edit.js","embercom/components/developer-hub/app-package/basic-info/show.js","embercom/components/developer-hub/app-package/basic-info/show/api-version-title.js","embercom/components/developer-hub/app-package/basic-info/show/api-version.js","embercom/components/developer-hub/app-package/basic-info/show/basic-info.js","embercom/components/developer-hub/app-package/canvas-kit.js","embercom/components/developer-hub/app-package/canvas-kit/capability-component.js","embercom/components/developer-hub/app-package/canvas-kit/teammate-accordion.js","embercom/components/developer-hub/app-package/canvas-kit/users-accordion.js","embercom/components/developer-hub/app-package/customer-workspaces.js","embercom/components/developer-hub/app-package/customer-workspaces/base-form.js","embercom/components/developer-hub/app-package/customer-workspaces/health-check.js","embercom/components/developer-hub/app-package/customer-workspaces/installation.js","embercom/components/developer-hub/app-package/customer-workspaces/uninstallation.js","embercom/components/developer-hub/app-package/descriptor.js","embercom/components/developer-hub/app-package/form-layout.js","embercom/components/developer-hub/app-package/form-layout/checkbox.js","embercom/components/developer-hub/app-package/form-layout/description.js","embercom/components/developer-hub/app-package/form-layout/divider.js","embercom/components/developer-hub/app-package/form-layout/group.js","embercom/components/developer-hub/app-package/form-layout/input-group.js","embercom/components/developer-hub/app-package/form-layout/input.js","embercom/components/developer-hub/app-package/form-layout/item.js","embercom/components/developer-hub/app-package/form-layout/label.js","embercom/components/developer-hub/app-package/form-layout/radio.js","embercom/components/developer-hub/app-package/form-layout/title.js","embercom/components/developer-hub/app-package/getting-started-guide.js","embercom/components/developer-hub/app-package/image-upload-component.js","embercom/components/developer-hub/app-package/label.js","embercom/components/developer-hub/app-package/oauth/access-token/access-token-display.js","embercom/components/developer-hub/app-package/oauth/access-token/access-token.js","embercom/components/developer-hub/app-package/oauth/access-token/empty-state.js","embercom/components/developer-hub/app-package/oauth/access-token/invalid-access-token-warning-nontruncatable.js","embercom/components/developer-hub/app-package/oauth/access-token/invalid-access-token-warning.js","embercom/components/developer-hub/app-package/oauth/client-edit.js","embercom/components/developer-hub/app-package/oauth/permissions/edit-permissions.js","embercom/components/developer-hub/app-package/oauth/permissions/edit-scopes.js","embercom/components/developer-hub/app-package/oauth/permissions/permissions.js","embercom/components/developer-hub/app-package/oauth/permissions/scope.js","embercom/components/developer-hub/app-package/oauth/redirect-urls/edit-urls.js","embercom/components/developer-hub/app-package/oauth/redirect-urls/empty-state.js","embercom/components/developer-hub/app-package/oauth/redirect-urls/redirect-urls.js","embercom/components/developer-hub/app-package/oauth/redirect-urls/row.js","embercom/components/developer-hub/app-package/oauth/show.js","embercom/components/developer-hub/app-package/protected-app-package-warning.js","embercom/components/developer-hub/app-package/reports/installation-events.js","embercom/components/developer-hub/app-package/reports/installs-chart.js","embercom/components/developer-hub/app-package/reports/total-installs-chart.js","embercom/components/developer-hub/app-package/reports/uninstall-feedback.js","embercom/components/developer-hub/app-package/reports/uninstalls-chart.js","embercom/components/developer-hub/app-package/review-state.js","embercom/components/developer-hub/app-package/review-warning.js","embercom/components/developer-hub/app-package/review/edit.js","embercom/components/developer-hub/app-package/review/feedback.js","embercom/components/developer-hub/app-package/review/no-oauth.js","embercom/components/developer-hub/app-package/review/review-changes-list.js","embercom/components/developer-hub/app-package/review/review-changes/app-icon-value.js","embercom/components/developer-hub/app-package/review/review-changes/change.js","embercom/components/developer-hub/app-package/review/review-changes/oauth-redirect-urls.js","embercom/components/developer-hub/app-package/review/review-changes/oauth-scopes.js","embercom/components/developer-hub/app-package/review/review-changes/pricing-model.js","embercom/components/developer-hub/app-package/review/review-changes/renderable-blocks-value.js","embercom/components/developer-hub/app-package/review/review-changes/renderable-starting-guide-blocks-value.js","embercom/components/developer-hub/app-package/review/review-changes/screenshots-list-value.js","embercom/components/developer-hub/app-package/review/review-changes/setting.js","embercom/components/developer-hub/app-package/review/review-changes/value.js","embercom/components/developer-hub/app-package/review/review-changes/video-id-value.js","embercom/components/developer-hub/app-package/review/show.js","embercom/components/developer-hub/app-package/submenu-header.js","embercom/components/developer-hub/app-package/submenu.js","embercom/components/developer-hub/app-package/subtitle-descriptor.js","embercom/components/developer-hub/app-package/webhooks.js","embercom/components/developer-hub/app-package/webhooks/table-dropdown-container.js","embercom/components/developer-hub/app-package/webhooks/table/delete-row.js","embercom/components/developer-hub/app-package/webhooks/table/description.js","embercom/components/developer-hub/app-package/webhooks/table/missing-permissions-warning.js","embercom/components/developer-hub/app-package/webhooks/table/permissions.js","embercom/components/developer-hub/app-package/webhooks/table/topic.js","embercom/components/developer-hub/app-package/webhooks/topics-dropdown.js","embercom/components/developer-hub/app-package/webhooks/topics-table.js","embercom/components/developer-hub/app-package/workspaces/access-token.js","embercom/components/developer-hub/app-package/workspaces/action-buttons.js","embercom/components/developer-hub/app-package/workspaces/install-buttons.js","embercom/components/developer-hub/app-package/workspaces/regenerate-button.js","embercom/components/developer-hub/app-package/workspaces/workspace.js","embercom/components/developer-hub/app-package/workspaces/workspaces-list.js","embercom/components/developer-hub/developer-guidelines.js","embercom/components/developer-hub/listing/app-package-details.js","embercom/components/developer-hub/listing/app-package-list.js","embercom/components/developer-hub/listing/app-package-owner-app.js","embercom/components/developer-hub/listing/app-package-state.js","embercom/components/developer-hub/listing/page-header.js","embercom/components/developer-hub/top-navigation-header.js","embercom/components/displayed-attributes-dropdown-component.js","embercom/components/div-with-splattributes.js","embercom/components/dropdown-component.js","embercom/components/ea-list-element.js","embercom/components/editable-text-component.js","embercom/components/editor-api/attachment-list.js","embercom/components/editor-api/editor.js","embercom/components/editor-api/file-picker.js","embercom/components/editor-api/inline-insertion-pointer.js","embercom/components/editor-api/insertion-pointer.js","embercom/components/editor-api/range-pointer.js","embercom/components/editor-api/typeahead.js","embercom/components/editor-component.js","embercom/components/email/chrome.js","embercom/components/email/composer.js","embercom/components/email/composer/subject.js","embercom/components/email/editor.js","embercom/components/email/html-composer.js","embercom/components/email/html-composer/preview.js","embercom/components/email/html-mode-switcher.js","embercom/components/email/sender-and-date-preview.js","embercom/components/email/sidebar.js","embercom/components/email/sidebar/preview-email.js","embercom/components/email/sidebar/template-switcher.js","embercom/components/email/sidebar/unsubscribe.js","embercom/components/ember-collection.js","embercom/components/ember-native-scrollable.js","embercom/components/ember-popover.js","embercom/components/ember-tooltip.js","embercom/components/ember-wormhole.js","embercom/components/embercom-core-testing-for-ic-dropdown-standard-component-attrs-for-heading-component.js","embercom/components/embercom-core-testing-for-ic-dropdown-standard-component-attrs-full.js","embercom/components/embercom-core-testing-for-ic-dropdown-standard-component-attrs.js","embercom/components/embercom-revision-banner.js","embercom/components/emoji-component.js","embercom/components/emoji-inserter.js","embercom/components/emoji-popover-component.js","embercom/components/events-creator-url-component.js","embercom/components/expandable-list.js","embercom/components/expanding-textarea-component.js","embercom/components/facebook-like-button-editor.js","embercom/components/feature-upgrade-arrow-component.js","embercom/components/feature-upgrade-prompt-component.js","embercom/components/file-upload-component.js","embercom/components/filter-block-details.js","embercom/components/filter-block/base-filter-block-popover.js","embercom/components/filter-block/filter-block-editor.js","embercom/components/filter-block/filter-block-options.js","embercom/components/filter-block/filter-block-popover-housing.js","embercom/components/filter-group-editor.js","embercom/components/filtered-object-list.js","embercom/components/focus-component.js","embercom/components/form-with-attribute-selector.js","embercom/components/form.js","embercom/components/form/checkbox.js","embercom/components/form/divider.js","embercom/components/form/hint.js","embercom/components/form/input.js","embercom/components/form/item.js","embercom/components/form/label.js","embercom/components/form/radio-button.js","embercom/components/form/radio-group.js","embercom/components/form/section-description.js","embercom/components/form/section-heading.js","embercom/components/form/textarea.js","embercom/components/gcm-key-component.js","embercom/components/ghost-avatar.js","embercom/components/google-recaptcha-component.js","embercom/components/google-tag-manager-frame-component.js","embercom/components/graph-demo/node.js","embercom/components/graph-editor.js","embercom/components/graph-editor/bounds-area.js","embercom/components/graph-editor/controls.js","embercom/components/graph-editor/controls/panning-toggle.js","embercom/components/graph-editor/controls/refocus-nodes.js","embercom/components/graph-editor/controls/zoom-button.js","embercom/components/graph-editor/controls/zoom-percentage.js","embercom/components/graph-editor/edge.js","embercom/components/graph-editor/edge/click-point.js","embercom/components/graph-editor/edge/draggable-connector.js","embercom/components/graph-editor/edge/yield-location.js","embercom/components/graph-editor/node.js","embercom/components/graph-editor/node/connection-point.js","embercom/components/graph-editor/node/draggable-area.js","embercom/components/graph-editor/node/inserter.js","embercom/components/graph-editor/node/successor-inserter.js","embercom/components/graph-editor/yield-area.js","embercom/components/guide/import-component.js","embercom/components/guide/input-copy-component.js","embercom/components/guide/invite-link-info-component.js","embercom/components/guide/start-guide-header-component.js","embercom/components/guide/start-screen/about-component.js","embercom/components/guide/start-screen/about/block-component.js","embercom/components/guide/start-screen/about/feature-component.js","embercom/components/guide/start-screen/about/tutorial-container-component.js","embercom/components/guide/start-screen/complete-button.js","embercom/components/guide/start-screen/guide-component.js","embercom/components/guide/start-screen/identity-verification-ping-domains.js","embercom/components/guide/start-screen/identity-verification-toggle-component.js","embercom/components/guide/start-screen/install-option-component.js","embercom/components/guide/start-screen/server-side-hmac-generation-component.js","embercom/components/guide/start-screen/tasks/identity-verification/android-component.js","embercom/components/guide/start-screen/tasks/identity-verification/cordova-component.js","embercom/components/guide/start-screen/tasks/identity-verification/ios-component.js","embercom/components/guide/start-screen/tasks/identity-verification/javascript-component.js","embercom/components/guide/start-screen/tasks/identity-verification/rails-component.js","embercom/components/guide/start-screen/tasks/identity-verification/segment-component.js","embercom/components/guide/start-screen/tasks/identity-verification/shopify-component.js","embercom/components/guide/start-screen/tasks/identity-verification/single-page-component.js","embercom/components/guide/start-screen/tasks/identity-verification/wordpress-component.js","embercom/components/guide/start-screen/toolbar-action-component.js","embercom/components/guide/start-screen/user-source-selector-component.js","embercom/components/head-content.js","embercom/components/head-layout.js","embercom/components/head-tag.js","embercom/components/head-tags.js","embercom/components/heading.js","embercom/components/help-guide.js","embercom/components/html-editor-textarea.js","embercom/components/html-editor.js","embercom/components/ic-attribute-item-with-user-event.js","embercom/components/ic-avatar-component.js","embercom/components/ic-banner.js","embercom/components/ic-button-list.js","embercom/components/ic-button.js","embercom/components/ic-card-section.js","embercom/components/ic-card.js","embercom/components/ic-confirm-modal.js","embercom/components/ic-content.js","embercom/components/ic-datepicker-nav.js","embercom/components/ic-datepicker.js","embercom/components/ic-dropdown-and-opener-pair.js","embercom/components/ic-dropdown-group-component.js","embercom/components/ic-dropdown-group-item-contents.js","embercom/components/ic-dropdown-group-item.js","embercom/components/ic-dropdown-group.js","embercom/components/ic-dropdown-heading.js","embercom/components/ic-dropdown-item.js","embercom/components/ic-dropdown-opener-content.js","embercom/components/ic-dropdown-opener.js","embercom/components/ic-dropdown-standard.js","embercom/components/ic-dropdown.js","embercom/components/ic-empty-state.js","embercom/components/ic-empty-state/with-description.js","embercom/components/ic-filter-block.js","embercom/components/ic-goal-attribute-item.js","embercom/components/ic-if-this-then-that.js","embercom/components/ic-illustrative-icon.js","embercom/components/ic-legacy-modal-body.js","embercom/components/ic-legacy-modal-footer.js","embercom/components/ic-legacy-modal-header.js","embercom/components/ic-legacy-table-cell-button.js","embercom/components/ic-legacy-table-header-cell.js","embercom/components/ic-legacy-table-header.js","embercom/components/ic-legacy-table-row.js","embercom/components/ic-legacy-table.js","embercom/components/ic-light-table.js","embercom/components/ic-loading-indicator.js","embercom/components/ic-main-content.js","embercom/components/ic-main-toolbar-description.js","embercom/components/ic-main-toolbar.js","embercom/components/ic-main.js","embercom/components/ic-modal-body.js","embercom/components/ic-modal-container.js","embercom/components/ic-modal-footer.js","embercom/components/ic-modal-header-heading.js","embercom/components/ic-modal-header.js","embercom/components/ic-modal.js","embercom/components/ic-multiselect.js","embercom/components/ic-on-off-toggle.js","embercom/components/ic-radio-button-group-button.js","embercom/components/ic-radio-button-group-ic-button-extension.js","embercom/components/ic-radio-button-group.js","embercom/components/ic-select.js","embercom/components/ic-sidebar-content-section.js","embercom/components/ic-sidebar-content.js","embercom/components/ic-sidebar-toolbar.js","embercom/components/ic-sidebar.js","embercom/components/ic-tab-control-tab.js","embercom/components/ic-tab-control.js","embercom/components/ic-table-action-button.js","embercom/components/ic-table-action-cell.js","embercom/components/ic-table-actions.js","embercom/components/ic-table-cell.js","embercom/components/ic-table-column.js","embercom/components/ic-table-row.js","embercom/components/ic-table-skeleton-cell.js","embercom/components/ic-table-skeleton.js","embercom/components/ic-table.js","embercom/components/ic-tooltip-icon.js","embercom/components/ic-tooltip.js","embercom/components/iframe-preview-component.js","embercom/components/illiquid-model.js","embercom/components/image-editor.js","embercom/components/image-loader-component.js","embercom/components/image-text-composer.js","embercom/components/image-text-editor.js","embercom/components/import-set-tag-component.js","embercom/components/important-admin-notification-component.js","embercom/components/important-admin-notifications/base.js","embercom/components/important-admin-notifications/payment-failure-notification-component.js","embercom/components/importers/added-tags-component.js","embercom/components/importers/csv-column-component.js","embercom/components/importers/csv-file-upload-component.js","embercom/components/importers/file-upload-component.js","embercom/components/importers/generic-record-type-selector-component.js","embercom/components/importers/grouped-select-component.js","embercom/components/importers/grouped-select-row-component.js","embercom/components/importers/import-complete-component.js","embercom/components/importers/import-summary-component.js","embercom/components/importers/mixpanel-import-component.js","embercom/components/importers/steps-component.js","embercom/components/importers/teammate-upload-component.js","embercom/components/importers/zendesk-chat/confirm-import-component.js","embercom/components/importers/zendesk-chat/zendesk-chat-import-component.js","embercom/components/importers/zendesk-tickets/import-component.js","embercom/components/inbox/add-participant-dropdown-item.js","embercom/components/inbox/assign-next-conversation-component.js","embercom/components/inbox/card-header-component.js","embercom/components/inbox/composer-help-modal.js","embercom/components/inbox/contextual-conversation-sidebar.js","embercom/components/inbox/conversation-header-dropdown.js","embercom/components/inbox/conversation-rating-feature-pointer.js","embercom/components/inbox/conversation-sidebar/app-inserter.js","embercom/components/inbox/conversation-sidebar/app-inserter/cta.js","embercom/components/inbox/conversation-sidebar/app-inserter/item.js","embercom/components/inbox/conversation-sidebar/card-inserter.js","embercom/components/inbox/conversation-sidebar/cards/app-card.js","embercom/components/inbox/conversation-sidebar/cards/campaigns.js","embercom/components/inbox/conversation-sidebar/cards/company-details.js","embercom/components/inbox/conversation-sidebar/cards/company-notes.js","embercom/components/inbox/conversation-sidebar/cards/company-segments.js","embercom/components/inbox/conversation-sidebar/cards/company-tags.js","embercom/components/inbox/conversation-sidebar/cards/customer-support.js","embercom/components/inbox/conversation-sidebar/cards/events.js","embercom/components/inbox/conversation-sidebar/cards/external-profiles.js","embercom/components/inbox/conversation-sidebar/cards/latest-conversations.js","embercom/components/inbox/conversation-sidebar/cards/notes.js","embercom/components/inbox/conversation-sidebar/cards/qualification.js","embercom/components/inbox/conversation-sidebar/cards/recent-events.js","embercom/components/inbox/conversation-sidebar/cards/recent-page-views.js","embercom/components/inbox/conversation-sidebar/cards/segments.js","embercom/components/inbox/conversation-sidebar/cards/shopify/create-order-modal.js","embercom/components/inbox/conversation-sidebar/cards/shopify/customer.js","embercom/components/inbox/conversation-sidebar/cards/shopify/key-value-pair.js","embercom/components/inbox/conversation-sidebar/cards/shopify/order.js","embercom/components/inbox/conversation-sidebar/cards/shopify/products.js","embercom/components/inbox/conversation-sidebar/cards/shopify/recent-orders.js","embercom/components/inbox/conversation-sidebar/cards/shopify/reconnect-shopify.js","embercom/components/inbox/conversation-sidebar/cards/shopify/tabs.js","embercom/components/inbox/conversation-sidebar/cards/shopify2.js","embercom/components/inbox/conversation-sidebar/cards/similar-conversations.js","embercom/components/inbox/conversation-sidebar/cards/tags.js","embercom/components/inbox/conversation-sidebar/cards/user-details.js","embercom/components/inbox/conversation-sidebar/company-details-title.js","embercom/components/inbox/conversation-sidebar/conversation-attributes.js","embercom/components/inbox/conversation-sidebar/conversation-attributes/attribute-row.js","embercom/components/inbox/conversation-sidebar/conversation-attributes/editor/boolean.js","embercom/components/inbox/conversation-sidebar/conversation-attributes/editor/decimal.js","embercom/components/inbox/conversation-sidebar/conversation-attributes/editor/integer.js","embercom/components/inbox/conversation-sidebar/conversation-attributes/editor/list.js","embercom/components/inbox/conversation-sidebar/conversation-attributes/editor/list/clear.js","embercom/components/inbox/conversation-sidebar/conversation-attributes/editor/string.js","embercom/components/inbox/conversation-sidebar/conversation-attributes/fixed-attribute-row.js","embercom/components/inbox/conversation-sidebar/custom-sortable-group.js","embercom/components/inbox/conversation-sidebar/edit-sidebar-button.js","embercom/components/inbox/conversation-sidebar/editable-user-name.js","embercom/components/inbox/conversation-sidebar/header.js","embercom/components/inbox/conversation-sidebar/section-body-content.js","embercom/components/inbox/conversation-sidebar/section-body-expanded-content.js","embercom/components/inbox/conversation-sidebar/section-body.js","embercom/components/inbox/conversation-sidebar/section-edit-visibility-button.js","embercom/components/inbox/conversation-sidebar/section-expand-button.js","embercom/components/inbox/conversation-sidebar/section-title.js","embercom/components/inbox/conversation-sidebar/section.js","embercom/components/inbox/conversation-sidebar/section/card-icon.js","embercom/components/inbox/conversation-sidebar/sidebar.js","embercom/components/inbox/conversation-sidebar/user-details-title-dropdown.js","embercom/components/inbox/conversation-sidebar/user-details-title.js","embercom/components/inbox/conversation-sidebar/view-select.js","embercom/components/inbox/create-saved-reply-modal.js","embercom/components/inbox/deleted-user-profile-component.js","embercom/components/inbox/empty-state-component.js","embercom/components/inbox/event-list-item.js","embercom/components/inbox/fake-inbox-component.js","embercom/components/inbox/group-conversation-tab-component.js","embercom/components/inbox/inbox-access-banner.js","embercom/components/inbox/inbox-component.js","embercom/components/inbox/inbox-list.js","embercom/components/inbox/inbox-loading-indicator-component.js","embercom/components/inbox/inbox-of-love.js","embercom/components/inbox/inbox-picker-element-component.js","embercom/components/inbox/inbox-views/create-modal.js","embercom/components/inbox/inbox-views/delete-modal.js","embercom/components/inbox/inbox-views/predicates-editor.js","embercom/components/inbox/inbox-views/update-modal.js","embercom/components/inbox/keyboard-shortcut-component.js","embercom/components/inbox/list-item-card-component.js","embercom/components/inbox/list-item-component.js","embercom/components/inbox/mentions-state-dropdown-component.js","embercom/components/inbox/meta-data-item.js","embercom/components/inbox/meta-data-items/date-value.js","embercom/components/inbox/meta-data-items/default-value.js","embercom/components/inbox/meta-data-items/url-value.js","embercom/components/inbox/nav-link-component.js","embercom/components/inbox/pagination-component.js","embercom/components/inbox/participant-input-component.js","embercom/components/inbox/performance-report-navigation.js","embercom/components/inbox/pricing-migration/introducing-seats-modal.js","embercom/components/inbox/pull-conversation.js","embercom/components/inbox/read-only-conversation-modal.js","embercom/components/inbox/remove-participant-dropdown-item.js","embercom/components/inbox/reporting/conversation-remarks-table.js","embercom/components/inbox/reporting/conversations-side-drawer.js","embercom/components/inbox/reporting/deals-influenced-table.js","embercom/components/inbox/reporting/empty-state/lead-sources.js","embercom/components/inbox/reporting/empty-state/salesforce-inline.js","embercom/components/inbox/reporting/empty-state/salesforce.js","embercom/components/inbox/reporting/people-report-table-fields/button.js","embercom/components/inbox/reporting/performance-table-fields/admin-firstname.js","embercom/components/inbox/reporting/performance-table-fields/admin-fullname.js","embercom/components/inbox/reporting/performance-table-fields/business.js","embercom/components/inbox/reporting/performance-table-fields/closed-won.js","embercom/components/inbox/reporting/performance-table-fields/currency.js","embercom/components/inbox/reporting/performance-table-fields/date.js","embercom/components/inbox/reporting/performance-table-fields/minutes.js","embercom/components/inbox/reporting/performance-table-fields/report-link.js","embercom/components/inbox/reporting/performance-table-fields/title.js","embercom/components/inbox/reporting/performance-table-fields/url.js","embercom/components/inbox/reporting/responsiveness-heatmap.js","embercom/components/inbox/reporting/sla-target-performance.js","embercom/components/inbox/reporting/target-hits-tooltip.js","embercom/components/inbox/reporting/target-misses-tooltip.js","embercom/components/inbox/reporting/teammate-performance-table.js","embercom/components/inbox/reporting/url-performance-table.js","embercom/components/inbox/reporting/vam-performance-table.js","embercom/components/inbox/rules/assignment-rules.js","embercom/components/inbox/rules/default-assignee.js","embercom/components/inbox/rules/inbox-rules.js","embercom/components/inbox/rules/list-empty-state-text.js","embercom/components/inbox/rules/predicates-list-summary-component.js","embercom/components/inbox/rules/priority-rules.js","embercom/components/inbox/rules/rule-card-collapsed-action-summary.js","embercom/components/inbox/rules/rule-card-footer.js","embercom/components/inbox/rules/rule-card-header.js","embercom/components/inbox/rules/rule-card.js","embercom/components/inbox/rules/rules-list-header.js","embercom/components/inbox/rules/rules-list.js","embercom/components/inbox/rules/sla-rule-collapsed-action-summary.js","embercom/components/inbox/rules/sla-rules.js","embercom/components/inbox/rules/tag-rule-collapsed-action-summary.js","embercom/components/inbox/rules/tag-rules.js","embercom/components/inbox/search/pill.js","embercom/components/inbox/search/pill/filter.js","embercom/components/inbox/search/query-builder.js","embercom/components/inbox/search/query-builder/filter-type.js","embercom/components/inbox/search/query-builder/keyword-prompt.js","embercom/components/inbox/search/query-builder/label.js","embercom/components/inbox/search/query-builder/list-item.js","embercom/components/inbox/search/query-builder/loading-spinner.js","embercom/components/inbox/search/query-builder/no-match.js","embercom/components/inbox/search/query-builder/suggestion.js","embercom/components/inbox/seat-wall-component.js","embercom/components/inbox/slas/new-next-breach-time.js","embercom/components/inbox/slas/next-breach-time.js","embercom/components/inbox/slas/sla-details-tooltip.js","embercom/components/inbox/slas/sla-modal.js","embercom/components/inbox/snooze-button-component.js","embercom/components/inbox/sort-by-dropdown-component.js","embercom/components/inbox/submenu-component.js","embercom/components/inbox/summary-report-navigation.js","embercom/components/inbox/team-avatar-component.js","embercom/components/inbox/user-profile-component.js","embercom/components/inbox/user-profile-container-component.js","embercom/components/inbox/user-profile-customer-support-component.js","embercom/components/inbox/user-profile/attribute-list.js","embercom/components/inbox/user-profile/event-summary-list.js","embercom/components/inbox/vertical-nav-inbox-hovercard-content.js","embercom/components/inbox/vertical-nav-list.js","embercom/components/inbox/workload-management/assignment-limit-setting.js","embercom/components/inbox/workload-management/volume-control-section.js","embercom/components/inbox/workload-management/volume-control-settings-empty.js","embercom/components/inbox/workload-management/volume-control-settings.js","embercom/components/inline-calendar-date-picker-component.js","embercom/components/input-attribute-selector-component.js","embercom/components/insights/high-charts-component.js","embercom/components/insights/high-charts-dummy-component.js","embercom/components/insights/loading-component.js","embercom/components/insights/spam-stats-component.js","embercom/components/insights/spam-stats-dummy-component.js","embercom/components/insights/variation-stats-cell-component.js","embercom/components/insights/variation-stats-component.js","embercom/components/insights/variation-stats-header-cell-component.js","embercom/components/installation-instructions/android-installation-custom-data-snippet-component.js","embercom/components/installation-instructions/base-custom-data-snippet-component.js","embercom/components/installation-instructions/code-component.js","embercom/components/installation-instructions/code-script-tag-component.js","embercom/components/installation-instructions/cordova-installation-custom-data-snippet-component.js","embercom/components/installation-instructions/hmac-snippet-component.js","embercom/components/installation-instructions/ios-installation-snippet-select-component.js","embercom/components/installation-instructions/ios-objectivec-installation-custom-data-snippet-component.js","embercom/components/installation-instructions/ios-swift-installation-custom-data-snippet-component.js","embercom/components/installation-instructions/single-page-app-snippet-component.js","embercom/components/installation-instructions/web-installation-javascript-custom-data-snippet-component.js","embercom/components/installation-instructions/web-installation-rails-custom-data-snippet-component.js","embercom/components/installation-instructions/web-installation-single-page-custom-data-snippet-component.js","embercom/components/installation-instructions/web-installation-snippet-component.js","embercom/components/installation-instructions/web-installation-snippet-library-component.js","embercom/components/installation-instructions/web-installation-snippet-select-component.js","embercom/components/integrations/base/conversation-parts-quick-action-item.js","embercom/components/integrations/github/conversation-parts-quick-action-item.js","embercom/components/integrations/salesforce/conversation-parts-quick-action-item.js","embercom/components/intercom-dropdown-component.js","embercom/components/intercom-select-component.js","embercom/components/intercomrade-impersonation-warning.js","embercom/components/intercomrade-warning.js","embercom/components/intersection-launcher.js","embercom/components/invite-team-members-link-component.js","embercom/components/keyboard-press.js","embercom/components/labeled-input.js","embercom/components/legacy-overlay-base-component.js","embercom/components/length-monitoring-textarea-component.js","embercom/components/link-with-icon-pattern.js","embercom/components/liquid-bind.js","embercom/components/liquid-child.js","embercom/components/liquid-container.js","embercom/components/liquid-if.js","embercom/components/liquid-measured.js","embercom/components/liquid-outlet.js","embercom/components/liquid-spacer.js","embercom/components/liquid-sync.js","embercom/components/liquid-unless.js","embercom/components/liquid-versions.js","embercom/components/mailchimp-list-selector-component.js","embercom/components/main-application-loading-screen.js","embercom/components/main-content-loading.js","embercom/components/map-component.js","embercom/components/marketing-site/cta-footer.js","embercom/components/marketing-site/cta-form.js","embercom/components/marketing-site/intercom-logo.js","embercom/components/matching-system/audience-selector/audience-rules-editor.js","embercom/components/matching-system/audience-selector/custom-rule-editor.js","embercom/components/matching-system/audience-selector/footer.js","embercom/components/matching-system/audience-selector/main.js","embercom/components/matching-system/audience-selector/match-behavior/summary.js","embercom/components/matching-system/audience-selector/match-behavior/switcher.js","embercom/components/matching-system/audience-selector/page-target.js","embercom/components/matching-system/audience-selector/page-target/connection-switcher.js","embercom/components/matching-system/audience-selector/page-target/predicate.js","embercom/components/matching-system/audience-selector/page-target/rules-editor.js","embercom/components/matching-system/audience-selector/preview.js","embercom/components/matching-system/audience-selector/summary/predicate-group-summary.js","embercom/components/matching-system/audience-selector/summary/predicate-summary.js","embercom/components/matching-system/audience-selector/user-role-multi-selector.js","embercom/components/matching-system/audience-selector/user-role-selector.js","embercom/components/matching-system/audience-summary.js","embercom/components/matching-system/content/carousel/audience-selector/audience-rules-editor.js","embercom/components/matching-system/content/carousel/audience-selector/preview.js","embercom/components/matching-system/content/carousel/audience-summary.js","embercom/components/matching-system/content/series/audience-selector/audience-rules-editor.js","embercom/components/matching-system/matching-timetable-editor.js","embercom/components/maybe-in-element.js","embercom/components/media-inserter-attach-file-button.js","embercom/components/media-inserter-facebook.js","embercom/components/media-inserter-selector.js","embercom/components/media-inserter-social.js","embercom/components/media-inserter-twitter.js","embercom/components/media-inserter-video.js","embercom/components/media-inserter.js","embercom/components/media-inserters/insert-character.js","embercom/components/media-inserters/insta-insert.js","embercom/components/media-inserters/needs-configuration.js","embercom/components/meeting-scheduler/slots.js","embercom/components/meeting-scheduler/teammate.js","embercom/components/mention-inserter.js","embercom/components/message-dropdown-component.js","embercom/components/message-editor/audience/campaign-message-recipient-list.js","embercom/components/message-editor/audience/campaign-rules-editor.js","embercom/components/message-editor/audience/disengaged-user-switcher.js","embercom/components/message-editor/audience/empty-audience.js","embercom/components/message-editor/audience/main-component.js","embercom/components/message-editor/audience/page-target-summary.js","embercom/components/message-editor/audience/predicate-group-summary.js","embercom/components/message-editor/audience/predicate-join-type-switcher.js","embercom/components/message-editor/audience/predicate-summary.js","embercom/components/message-editor/audience/push-rules-editor.js","embercom/components/message-editor/audience/recipient-list-table.js","embercom/components/message-editor/audience/recipient-list.js","embercom/components/message-editor/audience/rules-editor.js","embercom/components/message-editor/audience/sample-recipients.js","embercom/components/message-editor/audience/selection-state.js","embercom/components/message-editor/audience/subclass-type-switcher.js","embercom/components/message-editor/audience/title-component.js","embercom/components/message-editor/audience/untracked-predicate.js","embercom/components/message-editor/audience/vam-rules-editor.js","embercom/components/message-editor/audience/wrapper-component.js","embercom/components/message-editor/buttons/done-button.js","embercom/components/message-editor/buttons/stats-tab-button.js","embercom/components/message-editor/buttons/task-button.js","embercom/components/message-editor/buttons/temporary-stats-link.js","embercom/components/message-editor/buttons/variation-switcher-button.js","embercom/components/message-editor/channel/page-target.js","embercom/components/message-editor/channel/send-push-notification.js","embercom/components/message-editor/confirmation-copy/control-group-auto-message-activate-confirm-text.js","embercom/components/message-editor/confirmation-copy/control-group-visitor-auto-message-activate-confirm-text.js","embercom/components/message-editor/content/control-group-actions-component.js","embercom/components/message-editor/content/editor-base.js","embercom/components/message-editor/content/editor.js","embercom/components/message-editor/content/email/chrome.js","embercom/components/message-editor/content/email/editor.js","embercom/components/message-editor/content/email/modal/send-test-email.js","embercom/components/message-editor/content/email/subject.js","embercom/components/message-editor/content/emoji-inserter.js","embercom/components/message-editor/content/follow-up-actions.js","embercom/components/message-editor/content/html-mode/editor.js","embercom/components/message-editor/content/html-mode/preview.js","embercom/components/message-editor/content/html-mode/text-area.js","embercom/components/message-editor/content/html-mode/wrapper.js","embercom/components/message-editor/content/in-app/app-inserter.js","embercom/components/message-editor/content/in-app/chrome.js","embercom/components/message-editor/content/in-app/editor.js","embercom/components/message-editor/content/in-app/styles.js","embercom/components/message-editor/content/in-app/team-avatar.js","embercom/components/message-editor/content/main-component.js","embercom/components/message-editor/content/preview-device-switcher.js","embercom/components/message-editor/content/push/chrome.js","embercom/components/message-editor/content/push/editor.js","embercom/components/message-editor/content/sidebar/assignee-dropdown.js","embercom/components/message-editor/content/sidebar/base.js","embercom/components/message-editor/content/sidebar/css-selector-picker.js","embercom/components/message-editor/content/sidebar/delivery-option-switcher-item.js","embercom/components/message-editor/content/sidebar/delivery-option-switcher.js","embercom/components/message-editor/content/sidebar/email.js","embercom/components/message-editor/content/sidebar/html-mode-switch.js","embercom/components/message-editor/content/sidebar/in-app.js","embercom/components/message-editor/content/sidebar/preview-data-switch.js","embercom/components/message-editor/content/sidebar/push.js","embercom/components/message-editor/content/sidebar/reply-to-dropdown.js","embercom/components/message-editor/content/sidebar/send-test-email-button.js","embercom/components/message-editor/content/sidebar/sender-assignee-dropdown-item.js","embercom/components/message-editor/content/sidebar/sender-assignee-dropdown.js","embercom/components/message-editor/content/sidebar/sender-dropdown.js","embercom/components/message-editor/content/sidebar/template-dropdown.js","embercom/components/message-editor/content/sidebar/unsubscribe-option.js","embercom/components/message-editor/content/tabs-component.js","embercom/components/message-editor/content/title-component.js","embercom/components/message-editor/content/variation-actions-component.js","embercom/components/message-editor/content/variation-details-component.js","embercom/components/message-editor/content/variation-dropdown.js","embercom/components/message-editor/content/variation-switcher.js","embercom/components/message-editor/content/wrapper-component.js","embercom/components/message-editor/delivery-conditions/main-component.js","embercom/components/message-editor/delivery-conditions/title-component.js","embercom/components/message-editor/delivery-conditions/wrapper-component.js","embercom/components/message-editor/delivery-window/day-switch.js","embercom/components/message-editor/delivery-window/trigger-time-editor.js","embercom/components/message-editor/folder-and-campaign-inline-creator.js","embercom/components/message-editor/folder-and-campaign-mover.js","embercom/components/message-editor/follow-up/main-component.js","embercom/components/message-editor/follow-up/operator-skills-panel-content.js","embercom/components/message-editor/follow-up/rules-editor-panel-content.js","embercom/components/message-editor/follow-up/title-component.js","embercom/components/message-editor/follow-up/wrapper-component.js","embercom/components/message-editor/goal/goal-wrapper.js","embercom/components/message-editor/goal/main-component.js","embercom/components/message-editor/goal/title-component.js","embercom/components/message-editor/goal/wrapper-component.js","embercom/components/message-editor/index-completed-component.js","embercom/components/message-editor/message-debugger.js","embercom/components/message-editor/panel-component.js","embercom/components/message-editor/review/campaign-review-options-component.js","embercom/components/message-editor/review/main-component.js","embercom/components/message-editor/review/review-avatars-component.js","embercom/components/message-editor/review/review-options-component.js","embercom/components/message-editor/review/review-state-buttons-cancel-schedule.js","embercom/components/message-editor/review/review-state-buttons-reschedule.js","embercom/components/message-editor/review/review-state-buttons-schedule.js","embercom/components/message-editor/review/review-state-buttons-set-live.js","embercom/components/message-editor/review/review-state-buttons.js","embercom/components/message-editor/review/title-component.js","embercom/components/message-editor/review/validations-component.js","embercom/components/message-editor/review/wrapper-component.js","embercom/components/message-editor/schedule-component.js","embercom/components/message-editor/scheduling/delivery-window-picker.js","embercom/components/message-editor/scheduling/due-to-stop-at-picker.js","embercom/components/message-editor/scheduling/main-component.js","embercom/components/message-editor/scheduling/message-sending-times-day-and-time-picker.js","embercom/components/message-editor/scheduling/message-sending-times.js","embercom/components/message-editor/scheduling/scheduled-to-go-live-at-picker.js","embercom/components/message-editor/scheduling/title-component.js","embercom/components/message-editor/scheduling/trigger-times-picker.js","embercom/components/message-editor/scheduling/wrapper-component.js","embercom/components/message-editor/stats/bulk-actions.js","embercom/components/message-editor/stats/clicked-links-switcher.js","embercom/components/message-editor/stats/conversations-list.js","embercom/components/message-editor/stats/pre-send-info.js","embercom/components/message-editor/stats/reactions-tab.js","embercom/components/message-editor/stats/statistic-filters.js","embercom/components/message-editor/stats/statistic-filters/clicked-link-filter-dropdown.js","embercom/components/message-editor/stats/statistic-filters/failed-filter-dropdown.js","embercom/components/message-editor/stats/statistic-filters/goal-filter-dropdown.js","embercom/components/message-editor/stats/statistic-filters/reaction-filter-dropdown.js","embercom/components/message-editor/stats/statistic-filters/statistic-filter-dropdown.js","embercom/components/message-editor/stats/tab-container.js","embercom/components/message-editor/stats/tables/additional-users-info-row.js","embercom/components/message-editor/stats/tables/deleted-users-info-row.js","embercom/components/message-editor/stats/tables/list-headers.js","embercom/components/message-editor/stats/tables/list-row.js","embercom/components/message-editor/stats/tables/no-results-filler.js","embercom/components/message-editor/stats/tables/text-cell.js","embercom/components/message-editor/stats/tables/time-cell.js","embercom/components/message-editor/stats/tables/user-and-avatar-cell.js","embercom/components/message-editor/stats/users-list.js","embercom/components/message-editor/time-on-page.js","embercom/components/message-editor/title-component.js","embercom/components/message-editor/title/autosave-label.js","embercom/components/message-editor/title/header-component.js","embercom/components/message-editor/title/message-title.js","embercom/components/message-editor/utility/composer-upload-check.js","embercom/components/message-editor/view-and-edit-component.js","embercom/components/message-filter-selector-component.js","embercom/components/message-folders/folder-list.js","embercom/components/message-folders/table/message-count-cell.js","embercom/components/message-folders/table/title-cell.js","embercom/components/messages/bulk-message.js","embercom/components/messages/email-template-iframe-preview-component.js","embercom/components/messages/email-verification-banner-component.js","embercom/components/messages/folders/message-folder-and-campaign-assignment-component.js","embercom/components/messages/folders/message-folder-and-campaign-simple-editor-component.js","embercom/components/messages/folders/message-folder-removal-component.js","embercom/components/messages/folders/message-folder-state-switch-header-component.js","embercom/components/messages/lists/description-cell.js","embercom/components/messages/lists/message-to.js","embercom/components/messages/lists/statistic-cell.js","embercom/components/messages/message-creation-modal.js","embercom/components/messages/message-creation-modal/channel-selector.js","embercom/components/messages/message-creation-modal/template-selector.js","embercom/components/messages/message-from-name-with-avatar.js","embercom/components/messages/message-list-row.js","embercom/components/messages/message-search-component.js","embercom/components/messages/reporting/message-volume.js","embercom/components/messages/reporting/messages-stats-list.js","embercom/components/messages/reporting/user-display-row.js","embercom/components/messages/reporting/user-volume.js","embercom/components/messages/saved-contents-modal.js","embercom/components/messages/search/empty-state.js","embercom/components/messages/submenu-component.js","embercom/components/messages/templates/selector.js","embercom/components/messages/vertical-message-search.js","embercom/components/messenger-installation/install-method-selector-card.js","embercom/components/messenger-installation/install-method-selector.js","embercom/components/messenger-installation/install-method-wrapper-component.js","embercom/components/messenger-installation/install-methods/base-install-method-component.js","embercom/components/messenger-installation/install-methods/google-tag-manager-component.js","embercom/components/messenger-installation/install-methods/logged-in/android-component.js","embercom/components/messenger-installation/install-methods/logged-in/cordova-component.js","embercom/components/messenger-installation/install-methods/logged-in/ios-component.js","embercom/components/messenger-installation/install-methods/logged-in/javascript-component.js","embercom/components/messenger-installation/install-methods/logged-in/rails-component.js","embercom/components/messenger-installation/install-methods/logged-in/single-page-component.js","embercom/components/messenger-installation/install-methods/logged-out/javascript-component.js","embercom/components/messenger-installation/install-methods/logged-out/rails-component.js","embercom/components/messenger-installation/install-methods/logged-out/single-page-component.js","embercom/components/messenger-installation/install-methods/segment-component.js","embercom/components/messenger-installation/install-methods/shopify-component.js","embercom/components/messenger-installation/install-methods/wordpress-component.js","embercom/components/messenger-installation/install-verification-component.js","embercom/components/messenger-preview/admin-avatar-stack.js","embercom/components/messenger-preview/composer-suggestions.js","embercom/components/messenger-preview/composer.js","embercom/components/messenger-preview/conversation.js","embercom/components/messenger-preview/conversation/avatar.js","embercom/components/messenger-preview/conversation/conversation-part.js","embercom/components/messenger-preview/conversation/header-content.js","embercom/components/messenger-preview/conversation/header.js","embercom/components/messenger-preview/conversation/new/header-content.js","embercom/components/messenger-preview/conversation/send-message.js","embercom/components/messenger-preview/conversation/upfront-email-collector.js","embercom/components/messenger-preview/header/about-the-team.js","embercom/components/messenger-preview/home.js","embercom/components/messenger-preview/home/avatar.js","embercom/components/messenger-preview/home/cards.js","embercom/components/messenger-preview/home/conversation-card.js","embercom/components/messenger-preview/home/conversation-list.js","embercom/components/messenger-preview/home/conversation-list/fake-list-item.js","embercom/components/messenger-preview/home/header-content.js","embercom/components/messenger-preview/home/header.js","embercom/components/messenger-preview/home/header/greeting.js","embercom/components/messenger-preview/home/header/logo.js","embercom/components/messenger-preview/home/we-run-on-intercom.js","embercom/components/messenger-preview/launcher.js","embercom/components/messenger-preview/messenger.js","embercom/components/messenger-preview/reply-expectations.js","embercom/components/messenger-preview/stream.js","embercom/components/messenger-preview/stream/admin-comment.js","embercom/components/messenger-preview/stream/article-card.js","embercom/components/messenger-preview/stream/article-suggestion-card.js","embercom/components/messenger-preview/stream/comment.js","embercom/components/messenger-preview/stream/conversation-rating-card.js","embercom/components/messenger-preview/stream/empty-state.js","embercom/components/messenger-preview/stream/form.js","embercom/components/messenger-preview/stream/form/item.js","embercom/components/messenger-preview/stream/notification-collector-card.js","embercom/components/messenger-preview/stream/operator-part.js","embercom/components/messenger-preview/stream/quick-replies.js","embercom/components/messenger-preview/stream/timestamp.js","embercom/components/messenger-preview/stream/upfront-collection-form.js","embercom/components/messenger-preview/stream/user-comment.js","embercom/components/messenger-preview/styles.js","embercom/components/messenger-preview/translation-loader-wrapper.js","embercom/components/messenger-settings/action-button-component.js","embercom/components/messenger-settings/availability-settings.js","embercom/components/messenger-settings/common/predicates-editor.js","embercom/components/messenger-settings/common/predicates-radio.js","embercom/components/messenger-settings/common/toggle-with-predicates.js","embercom/components/messenger-settings/home-settings.js","embercom/components/messenger-settings/home/slot.js","embercom/components/messenger-settings/language-settings.js","embercom/components/messenger-settings/language/greeting-composer.js","embercom/components/messenger-settings/locale-textarea-with-count.js","embercom/components/messenger-settings/look-and-feel-settings.js","embercom/components/messenger-settings/look-and-feel/logo-upload-component.js","embercom/components/messenger-settings/look-and-feel/logo-upload-image-component.js","embercom/components/messenger-settings/look-and-feel/multibrand/brand-picker-item.js","embercom/components/messenger-settings/look-and-feel/multibrand/brand-picker.js","embercom/components/messenger-settings/look-and-feel/multibrand/domain-form-item.js","embercom/components/messenger-settings/security-settings.js","embercom/components/messenger-settings/security/domains.js","embercom/components/messenger-settings/security/identity-verification.js","embercom/components/messenger-settings/temporary-expectations-settings.js","embercom/components/messenger-settings/upfront-email-collection-settings.js","embercom/components/messenger-settings/visibility-settings.js","embercom/components/messenger-settings/visibility/continued-conversations.js","embercom/components/messenger-settings/visibility/inbound-conversations-targeting.js","embercom/components/messenger-settings/visibility/launcher-visibility.js","embercom/components/messenger-settings/visibility/launcher-visibility/predicates.js","embercom/components/messenger-settings/visibility/launcher-visibility/radio-group.js","embercom/components/messenger-settings/visibility/positioning.js","embercom/components/mixins/admin-object-visibility.js","embercom/components/mixins/articles/error-handling.js","embercom/components/mixins/articles/event-tracking.js","embercom/components/mixins/articles/sortable-list.js","embercom/components/mixins/attribute-input-inserter.js","embercom/components/mixins/avatar-and-map-search.js","embercom/components/mixins/close-on-document-click-manager.js","embercom/components/mixins/component-dropdown-toggler.js","embercom/components/mixins/device-type.js","embercom/components/mixins/emoji-favourites.js","embercom/components/mixins/image-upload-component.js","embercom/components/mixins/keyboard-selectable-dropdown.js","embercom/components/mixins/list-keyboard-selection-mixin-v2.js","embercom/components/mixins/messages/panel-validator.js","embercom/components/mixins/messenger-display-attributes.js","embercom/components/mixins/paging.js","embercom/components/mixins/people/attribute-updater.js","embercom/components/mixins/profile-attribute.js","embercom/components/mixins/record-render-time.js","embercom/components/mixins/scroll-manager.js","embercom/components/mixins/select-keyboard-actions.js","embercom/components/mixins/snooze-options.js","embercom/components/mixins/users-and-companies/spend-highlight.js","embercom/components/mixins/video-thumbnail.js","embercom/components/mobile-push/chrome.js","embercom/components/mobile-push/device-switcher.js","embercom/components/mobile-push/editor-sidebar.js","embercom/components/mobile-push/editor.js","embercom/components/mobile/upgrade-install-banner.js","embercom/components/modal-component.js","embercom/components/modal-link-component.js","embercom/components/modal/company-delete.js","embercom/components/modal/company-deletion/bulk-archive-companies.js","embercom/components/modal/conversation-import-modal.js","embercom/components/modal/create-lead.js","embercom/components/modal/create-user.js","embercom/components/modal/message.js","embercom/components/modal/user-deletion/archive-user.js","embercom/components/modal/user-deletion/bulk-archive-users.js","embercom/components/modal/user-or-company-deletion/bulk-archive-base-component.js","embercom/components/multiselect-checkboxes.js","embercom/components/nav-home-logo-component.js","embercom/components/nav-search-component.js","embercom/components/new-rules-banner-component.js","embercom/components/non-editable-block-editor.js","embercom/components/notifications-component.js","embercom/components/null-editor.js","embercom/components/oauth/authorization-screen.js","embercom/components/oauth/intercom-workspace-warning.js","embercom/components/oauth/non-connectable-app-message.js","embercom/components/oauth/scope-category/description.js","embercom/components/oauth/scope-category/header.js","embercom/components/oauth/workspace-picker.js","embercom/components/office-hours/confirm-schedule-delete.js","embercom/components/office-hours/create-or-update-modal.js","embercom/components/office-hours/default-schedule-card.js","embercom/components/office-hours/modal-form.js","embercom/components/office-hours/schedule-list.js","embercom/components/office-hours/team-selector.js","embercom/components/office-hours/teams-with-schedule-change.js","embercom/components/office-hours/time-interval-row.js","embercom/components/office-hours/time-interval.js","embercom/components/onboarding/add-inbox-seat-confirmation-modal.js","embercom/components/onboarding/home/banner-wrapper.js","embercom/components/onboarding/home/banners/level-completed.js","embercom/components/onboarding/home/banners/phil-head.js","embercom/components/onboarding/home/banners/step-available.js","embercom/components/onboarding/home/banners/step-completed.js","embercom/components/onboarding/home/banners/step-in-progress.js","embercom/components/onboarding/home/change-guide.js","embercom/components/onboarding/home/copy-link.js","embercom/components/onboarding/home/escape-hatch.js","embercom/components/onboarding/home/guide-accordion/icon.js","embercom/components/onboarding/home/guide-accordion/level-header-action.js","embercom/components/onboarding/home/guide-accordion/progress-bar.js","embercom/components/onboarding/home/guide-accordion/section-header.js","embercom/components/onboarding/home/guide-accordion/step-updater.js","embercom/components/onboarding/home/guide-assistant-component.js","embercom/components/onboarding/home/guide-component.js","embercom/components/onboarding/home/guide-footer.js","embercom/components/onboarding/home/guide-header-component.js","embercom/components/onboarding/home/hosted-messenger-opener.js","embercom/components/onboarding/home/hosted-messenger.js","embercom/components/onboarding/home/invite-card-component.js","embercom/components/onboarding/home/invite-link-component.js","embercom/components/onboarding/home/language-selector.js","embercom/components/onboarding/home/level-component.js","embercom/components/onboarding/home/mobile-welcome-link.js","embercom/components/onboarding/home/reset-home-modal-component.js","embercom/components/onboarding/home/step-component.js","embercom/components/onboarding/home/step-content.js","embercom/components/onboarding/home/step-content/container.js","embercom/components/onboarding/home/step-content/left.js","embercom/components/onboarding/home/step-content/right.js","embercom/components/onboarding/home/step-state-banner-component.js","embercom/components/onboarding/home/steps/ask-for-contact-details.js","embercom/components/onboarding/home/steps/auto-message-component.js","embercom/components/onboarding/home/steps/auto-message/deleted-preview-component.js","embercom/components/onboarding/home/steps/auto-message/save-button-component.js","embercom/components/onboarding/home/steps/automatic-assignments.js","embercom/components/onboarding/home/steps/book-a-meeting-from-the-inbox.js","embercom/components/onboarding/home/steps/cda-input-row.js","embercom/components/onboarding/home/steps/chat/chat-description-component.js","embercom/components/onboarding/home/steps/chat/chat-editor-component.js","embercom/components/onboarding/home/steps/chat/save-button-component.js","embercom/components/onboarding/home/steps/collaborate-for-better-support.js","embercom/components/onboarding/home/steps/connect-social-media.js","embercom/components/onboarding/home/steps/create-short-article.js","embercom/components/onboarding/home/steps/customize-messenger-component.js","embercom/components/onboarding/home/steps/define-the-data-you-need.js","embercom/components/onboarding/home/steps/demo-component.js","embercom/components/onboarding/home/steps/explore-how-it-works.js","embercom/components/onboarding/home/steps/forward-emails.js","embercom/components/onboarding/home/steps/forward-emails/instructions-component.js","embercom/components/onboarding/home/steps/get-started-with-product-tours.js","embercom/components/onboarding/home/steps/get-started-with-series.js","embercom/components/onboarding/home/steps/inbox-external-step.js","embercom/components/onboarding/home/steps/increase-conversions-with-chatbots.js","embercom/components/onboarding/home/steps/install-a-recommended-app.js","embercom/components/onboarding/home/steps/install-an-app-component.js","embercom/components/onboarding/home/steps/install-use-case-app.js","embercom/components/onboarding/home/steps/install/set-up-messenger-logged-in.js","embercom/components/onboarding/home/steps/install/set-up-messenger-visitors.js","embercom/components/onboarding/home/steps/install/set-up-messenger.js","embercom/components/onboarding/home/steps/integrate-with-crms.js","embercom/components/onboarding/home/steps/invite-teammates.js","embercom/components/onboarding/home/steps/invite-teammates/invite-input.js","embercom/components/onboarding/home/steps/learn-about-custom-data-attributes-component.js","embercom/components/onboarding/home/steps/measure-and-improve-team-performance.js","embercom/components/onboarding/home/steps/publish-to-web.js","embercom/components/onboarding/home/steps/qualify-leads.js","embercom/components/onboarding/home/steps/reply-directly-via-slack.js","embercom/components/onboarding/home/steps/reply-in-inbox-component.js","embercom/components/onboarding/home/steps/resolve-a-conversation.js","embercom/components/onboarding/home/steps/respond-faster.js","embercom/components/onboarding/home/steps/route-support-conversations.js","embercom/components/onboarding/home/steps/see-how-apps-work-component.js","embercom/components/onboarding/home/steps/see-what-data-attributes-can-do.js","embercom/components/onboarding/home/steps/send-test-message-component.js","embercom/components/onboarding/home/steps/set-expectations.js","embercom/components/onboarding/home/steps/setup-custom-data-attributes-component.js","embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-method.js","embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/android.js","embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/cordova.js","embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/ios.js","embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/javascript.js","embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/rails.js","embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/segment.js","embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/shopify.js","embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/single-page.js","embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/wordpress.js","embercom/components/onboarding/home/steps/track-your-data-attributes.js","embercom/components/onboarding/home/steps/watch-get-the-most-messenger-video.js","embercom/components/onboarding/home/steps/watch-how-to-use-articles-video.js","embercom/components/onboarding/home/steps/watch-product-tours-video-component.js","embercom/components/onboarding/home/steps/watch-send-targeted-outbound-messages-component.js","embercom/components/onboarding/home/steps/watch-series-video-component.js","embercom/components/onboarding/home/steps/watch-welcome-video-component.js","embercom/components/onboarding/home/video-thumbnail.js","embercom/components/onboarding/intent-survey/button.js","embercom/components/onboarding/intent-survey/survey-card-component.js","embercom/components/onboarding/intent-survey/survey-component.js","embercom/components/onboarding/intent-survey/survey-steps-component.js","embercom/components/one-way-checkbox.js","embercom/components/one-way-color.js","embercom/components/one-way-date.js","embercom/components/one-way-datetime-local.js","embercom/components/one-way-email.js","embercom/components/one-way-file.js","embercom/components/one-way-hidden.js","embercom/components/one-way-input.js","embercom/components/one-way-month.js","embercom/components/one-way-number.js","embercom/components/one-way-password.js","embercom/components/one-way-radio.js","embercom/components/one-way-range.js","embercom/components/one-way-search.js","embercom/components/one-way-select.js","embercom/components/one-way-select/option.js","embercom/components/one-way-tel.js","embercom/components/one-way-text.js","embercom/components/one-way-textarea.js","embercom/components/one-way-time.js","embercom/components/one-way-url.js","embercom/components/one-way-week.js","embercom/components/operator-settings/qualify-leads/branching-qualification-answer.js","embercom/components/operator-settings/qualify-leads/branching-qualification-answers-editor.js","embercom/components/operator-settings/qualify-leads/qualification-editor.js","embercom/components/operator/answer-bot/import-prompt-banner.js","embercom/components/operator/attribute-selector.js","embercom/components/operator/avatar-editor-upload.js","embercom/components/operator/avatar-editor.js","embercom/components/operator/bot-identity-settings.js","embercom/components/operator/bot-inbox-settings.js","embercom/components/operator/custom-avatar-builder.js","embercom/components/operator/custom-bots-auto-close-settings.js","embercom/components/operator/resolution-bot-import-settings.js","embercom/components/operator/resolution-bot-looping-settings.js","embercom/components/operator/resolution-bot-looping-settings/messenger-preview.js","embercom/components/operator/resolution-bot-suggestion-settings.js","embercom/components/operator/resolution-bot-suggestion-settings/content-suggestions-toggle.js","embercom/components/operator/resolution-bot-suggestion-settings/predictive-answers-toggle.js","embercom/components/operator/resolution-bot-suggestion-settings/toggle-with-predicates.js","embercom/components/operator/settings-component.js","embercom/components/outbound/bulk-tag.js","embercom/components/outbound/delivery-type-tab-component.js","embercom/components/outbound/empty-state.js","embercom/components/outbound/filters.js","embercom/components/outbound/filters/audience-component.js","embercom/components/outbound/filters/empty-tags-component.js","embercom/components/outbound/filters/sender-component.js","embercom/components/outbound/filters/state-component.js","embercom/components/outbound/filters/tag-component.js","embercom/components/outbound/list-component.js","embercom/components/outbound/list-count.js","embercom/components/outbound/list-header.js","embercom/components/outbound/list/audience-type-cell.js","embercom/components/outbound/list/checkbox-cell.js","embercom/components/outbound/list/content-type-cell.js","embercom/components/outbound/list/date-cell.js","embercom/components/outbound/list/insertable-cell.js","embercom/components/outbound/list/last-updated-by-cell.js","embercom/components/outbound/list/sender-cell.js","embercom/components/outbound/list/state-cell.js","embercom/components/outbound/list/statistic-cell.js","embercom/components/outbound/list/title-cell.js","embercom/components/outbound/list/type-cell.js","embercom/components/outbound/new-content-modal.js","embercom/components/outbound/new-content-modal/template-preview.js","embercom/components/outbound/new-content-modal/template-selector.js","embercom/components/outbound/new-content-modal/templates-list.js","embercom/components/outbound/submenu-component.js","embercom/components/pagination-component.js","embercom/components/paginator-component.js","embercom/components/paragraph.js","embercom/components/paywall.js","embercom/components/paywalls/badge.js","embercom/components/paywalls/banner.js","embercom/components/paywalls/block.js","embercom/components/paywalls/hover.js","embercom/components/paywalls/limit-reached-hover-card.js","embercom/components/paywalls/mini-splash.js","embercom/components/paywalls/private/hover-inner.js","embercom/components/paywalls/select-group-block.js","embercom/components/paywalls/select-item.js","embercom/components/paywalls/splash.js","embercom/components/paywalls/upgrade-button.js","embercom/components/paywalls/upgrade-card.js","embercom/components/paywalls/upgrade-modal.js","embercom/components/paywalls/upgrade-modal/content.js","embercom/components/paywalls/upgrade-modal/highlight.js","embercom/components/paywalls/upgrade-modal/price-breakdown.js","embercom/components/paywalls/upgrade-modal/sidebar.js","embercom/components/paywalls/upgrade-modal/subscription-upgrade.js","embercom/components/pem-file-component.js","embercom/components/people/attribute-and-event-description-tooltip.js","embercom/components/people/attributes/attribute-value-info-tooltip.js","embercom/components/people/attributes/boolean-editor.js","embercom/components/people/attributes/date-editor.js","embercom/components/people/attributes/detail-view.js","embercom/components/people/attributes/detail-view/main-component.js","embercom/components/people/attributes/dropdown-style-editor.js","embercom/components/people/attributes/editable-attribute.js","embercom/components/people/attributes/formatted-value.js","embercom/components/people/attributes/multiple-choice-editor.js","embercom/components/people/attributes/numeric-editor.js","embercom/components/people/attributes/qualification-attribute-list.js","embercom/components/people/attributes/string-editor.js","embercom/components/people/profile/editable-company-name.js","embercom/components/people/profile/editable-name.js","embercom/components/people/profile/time-and-location.js","embercom/components/performance/measure-render-time.js","embercom/components/platform-nav-bar.js","embercom/components/popover-content.js","embercom/components/popover-coordinator.js","embercom/components/popover-header.js","embercom/components/popover-opener.js","embercom/components/popover.js","embercom/components/post/chrome.js","embercom/components/post/chrome/android.js","embercom/components/post/chrome/ios.js","embercom/components/post/chrome/mobile-large.js","embercom/components/post/chrome/mobile-small.js","embercom/components/post/chrome/web.js","embercom/components/post/editor.js","embercom/components/post/sidebar.js","embercom/components/power-calendar-multiple.js","embercom/components/power-calendar-multiple/days.js","embercom/components/power-calendar-range.js","embercom/components/power-calendar-range/days.js","embercom/components/power-calendar.js","embercom/components/power-calendar/days.js","embercom/components/power-calendar/nav.js","embercom/components/predicates/attribute-editors/user-event-editor.js","embercom/components/predicates/attribute-selector-dropdown-component.js","embercom/components/predicates/description-component.js","embercom/components/predicates/description-text.js","embercom/components/predicates/editors/anonymous-editor.js","embercom/components/predicates/editors/boolean-editor.js","embercom/components/predicates/editors/campaign-behavior-editor.js","embercom/components/predicates/editors/content-event-editor.js","embercom/components/predicates/editors/date-editor.js","embercom/components/predicates/editors/datetime-editor.js","embercom/components/predicates/editors/numeric-editor.js","embercom/components/predicates/editors/numeric-select-editor.js","embercom/components/predicates/editors/office-hours-schedule-editor.js","embercom/components/predicates/editors/optional-select-editor.js","embercom/components/predicates/editors/select-editor.js","embercom/components/predicates/editors/string-editor.js","embercom/components/predicates/editors/url-visit-editor.js","embercom/components/predicates/goal-list-editor-component.js","embercom/components/predicates/goal-value-editors/boolean-editor.js","embercom/components/predicates/goal-value-editors/campaign-goal-editor.js","embercom/components/predicates/goal-value-editors/date-editor.js","embercom/components/predicates/goal-value-editors/numeric-editor.js","embercom/components/predicates/goal-value-editors/numeric-tag-editor.js","embercom/components/predicates/goal-value-editors/optional-tag-editor.js","embercom/components/predicates/goal-value-editors/string-editor.js","embercom/components/predicates/goal-value-editors/tag-editor.js","embercom/components/predicates/goal-value-editors/user-event-editor.js","embercom/components/predicates/icon-description-component.js","embercom/components/predicates/inline-editor.js","embercom/components/predicates/inline-goal-editor.js","embercom/components/predicates/inline/comparison-editor.js","embercom/components/predicates/inline/remove-button.js","embercom/components/predicates/join-type-editor.js","embercom/components/predicates/list-editor-component.js","embercom/components/predicates/logical-mode.js","embercom/components/predicates/predicate-editor.js","embercom/components/predicates/predicates-editor.js","embercom/components/predicates/switchers/disableable-switcher.js","embercom/components/predicates/value-editors/anonymous-editor.js","embercom/components/predicates/value-editors/base-value-editor.js","embercom/components/predicates/value-editors/boolean-editor.js","embercom/components/predicates/value-editors/date-editor.js","embercom/components/predicates/value-editors/numeric-editor.js","embercom/components/predicates/value-editors/numeric-tag-editor.js","embercom/components/predicates/value-editors/optional-tag-editor.js","embercom/components/predicates/value-editors/role-editor.js","embercom/components/predicates/value-editors/string-editor.js","embercom/components/predicates/value-editors/tag-editor.js","embercom/components/primary-nav.js","embercom/components/primary-nav/app-switcher.js","embercom/components/primary-nav/menu-popover.js","embercom/components/primary-nav/overflow-menu.js","embercom/components/primary-nav/product-icon-tooltip.js","embercom/components/product-icon-component.js","embercom/components/product-icon-nav-component.js","embercom/components/pseudonym-warner.js","embercom/components/pulse-candidate/avatar-group.js","embercom/components/pulse-candidate/display-text.js","embercom/components/pulse-candidate/pill.js","embercom/components/pulse-candidate/side-drawer-container.js","embercom/components/pulse-candidate/side-drawer.js","embercom/components/pulse-candidate/side-sheet.js","embercom/components/pulse-candidate/vertical-radio-button-group-button.js","embercom/components/pulse-candidate/vertical-radio-button-group.js","embercom/components/pulse/accordion.js","embercom/components/pulse/accordion/body.js","embercom/components/pulse/accordion/header-action.js","embercom/components/pulse/accordion/header.js","embercom/components/pulse/accordion/section.js","embercom/components/pulse/discovery-banner.js","embercom/components/pulse/discovery-banner/link.js","embercom/components/pulse/expanding-input.js","embercom/components/pulse/full-width-banner.js","embercom/components/pulse/help-content/link.js","embercom/components/pulse/help-content/tour.js","embercom/components/pulse/help-content/video.js","embercom/components/pulse/hero-banner.js","embercom/components/pulse/hero-banner/action.js","embercom/components/pulse/hero-banner/description.js","embercom/components/pulse/hero-banner/links.js","embercom/components/pulse/hero-banner/links/link.js","embercom/components/pulse/hero-banner/links/video.js","embercom/components/pulse/hero-banner/title.js","embercom/components/pulse/large-radio-button-group.js","embercom/components/pulse/large-radio-button-group/option-contents-footer.js","embercom/components/pulse/large-radio-button-group/option-contents.js","embercom/components/pulse/large-radio-button-group/option.js","embercom/components/pulse/settings-accordion.js","embercom/components/pulse/settings-accordion/body.js","embercom/components/pulse/settings-accordion/header.js","embercom/components/pulse/settings-accordion/section.js","embercom/components/pulse/video-modal.js","embercom/components/qualification-attributes/attribute-select.js","embercom/components/qualification-attributes/attribute-selector.js","embercom/components/radio-button.js","embercom/components/reporting/axes-mixin.js","embercom/components/reporting/base-chart.js","embercom/components/reporting/bot-inbox-time-filter.js","embercom/components/reporting/bubble-chart.js","embercom/components/reporting/chart-container.js","embercom/components/reporting/chart/bar.js","embercom/components/reporting/chart/comparison-bar.js","embercom/components/reporting/chart/heatmap.js","embercom/components/reporting/chart/horizontal-bar.js","embercom/components/reporting/chart/line.js","embercom/components/reporting/chart/pivot-table.js","embercom/components/reporting/chart/sparkline.js","embercom/components/reporting/chart/stacked-bar.js","embercom/components/reporting/conversational-insights/topics/metric-with-comparison.js","embercom/components/reporting/conversational-insights/topics/number-with-comparison.js","embercom/components/reporting/conversational-insights/topics/suggested-topic-buttons.js","embercom/components/reporting/conversational-insights/topics/suggested-topic-list.js","embercom/components/reporting/conversational-insights/topics/suggested-topic-show.js","embercom/components/reporting/conversational-insights/topics/topic-conversation-card.js","embercom/components/reporting/conversational-insights/topics/topic-conversations-preview.js","embercom/components/reporting/conversational-insights/topics/topic-edit-buttons.js","embercom/components/reporting/conversational-insights/topics/topic-edit.js","embercom/components/reporting/conversational-insights/topics/topic-list.js","embercom/components/reporting/conversational-insights/topics/topic-show-buttons.js","embercom/components/reporting/conversational-insights/topics/topic-show.js","embercom/components/reporting/conversational-insights/topics/topic-stats.js","embercom/components/reporting/conversational-insights/topics/visualization.js","embercom/components/reporting/custom/chart-builder.js","embercom/components/reporting/custom/chart-builder/date-range.js","embercom/components/reporting/custom/chart-builder/filter-bar/bot-inbox-time-filter.js","embercom/components/reporting/custom/chart-builder/filter-bar/channel-filter.js","embercom/components/reporting/custom/chart-builder/filter-bar/continent-filter.js","embercom/components/reporting/custom/chart-builder/filter-bar/conversation-rating-filter.js","embercom/components/reporting/custom/chart-builder/filter-bar/conversation-type-filter.js","embercom/components/reporting/custom/chart-builder/filter-bar/country-filter.js","embercom/components/reporting/custom/chart-builder/filter-bar/custom-attributes/boolean-filter.js","embercom/components/reporting/custom/chart-builder/filter-bar/custom-attributes/filter-radio-button.js","embercom/components/reporting/custom/chart-builder/filter-bar/custom-attributes/list-filter-options.js","embercom/components/reporting/custom/chart-builder/filter-bar/custom-attributes/list-filter.js","embercom/components/reporting/custom/chart-builder/filter-bar/date-filter-block.js","embercom/components/reporting/custom/chart-builder/filter-bar/filter-bar.js","embercom/components/reporting/custom/chart-builder/filter-bar/sla-filter.js","embercom/components/reporting/custom/chart-builder/filter-bar/tag-filter.js","embercom/components/reporting/custom/chart-builder/filter-bar/team-assigned-filter.js","embercom/components/reporting/custom/chart-builder/filter-bar/team-participated-filter.js","embercom/components/reporting/custom/chart-builder/filter-bar/teammate-assigned-filter.js","embercom/components/reporting/custom/chart-builder/filter-bar/teammate-item.js","embercom/components/reporting/custom/chart-builder/filter-bar/teammate-participated-filter.js","embercom/components/reporting/custom/chart-builder/filter-bar/user-type-filter.js","embercom/components/reporting/custom/chart-builder/filters.js","embercom/components/reporting/custom/chart-builder/header.js","embercom/components/reporting/custom/chart-builder/metric.js","embercom/components/reporting/custom/chart-builder/visualization.js","embercom/components/reporting/custom/chart-renderer.js","embercom/components/reporting/custom/chart-title.js","embercom/components/reporting/custom/new-report.js","embercom/components/reporting/custom/report.js","embercom/components/reporting/custom/report/chart-chrome.js","embercom/components/reporting/custom/report/chart-layout.js","embercom/components/reporting/date-range-filter.js","embercom/components/reporting/download.js","embercom/components/reporting/element/bar-chart-legend.js","embercom/components/reporting/element/bar-group.js","embercom/components/reporting/element/bar.js","embercom/components/reporting/element/chart-bar-with-tooltips.js","embercom/components/reporting/element/chart-bar.js","embercom/components/reporting/element/chart-comparison-bar.js","embercom/components/reporting/element/chart-heatmap.js","embercom/components/reporting/element/chart-horizontal-bar-with-rule.js","embercom/components/reporting/element/chart-horizontal-bar.js","embercom/components/reporting/element/chart-line.js","embercom/components/reporting/element/chart-stackable-bar.js","embercom/components/reporting/element/comparison-bar-group.js","embercom/components/reporting/element/comparison-statistic.js","embercom/components/reporting/element/container-width.js","embercom/components/reporting/element/conversations-link-summary-value.js","embercom/components/reporting/element/happiness-summary-value.js","embercom/components/reporting/element/heatmap-cell.js","embercom/components/reporting/element/heatmap-column.js","embercom/components/reporting/element/heatmap-legend.js","embercom/components/reporting/element/horizontal-bar-rule.js","embercom/components/reporting/element/legend-icon.js","embercom/components/reporting/element/legend-item.js","embercom/components/reporting/element/legend-list.js","embercom/components/reporting/element/legend.js","embercom/components/reporting/element/line.js","embercom/components/reporting/element/point.js","embercom/components/reporting/element/simple-x-axis.js","embercom/components/reporting/element/summary-comparison.js","embercom/components/reporting/element/summary-difference.js","embercom/components/reporting/element/summary-title.js","embercom/components/reporting/element/summary-value.js","embercom/components/reporting/element/summary.js","embercom/components/reporting/element/table-data-row.js","embercom/components/reporting/element/value-comparison.js","embercom/components/reporting/element/visualization-canvas.js","embercom/components/reporting/element/visualization-container.js","embercom/components/reporting/element/x-axis-label.js","embercom/components/reporting/element/x-axis-simple-label.js","embercom/components/reporting/element/x-axis.js","embercom/components/reporting/element/x-scale.js","embercom/components/reporting/element/y-axis-line.js","embercom/components/reporting/element/y-axis.js","embercom/components/reporting/element/y-scale.js","embercom/components/reporting/empty-state/app-required.js","embercom/components/reporting/empty-state/ghost-field.js","embercom/components/reporting/empty-state/line-chart.js","embercom/components/reporting/empty-state/no-data-cta.js","embercom/components/reporting/empty-state/table-loading.js","embercom/components/reporting/empty-state/table.js","embercom/components/reporting/empty-state/tags.js","embercom/components/reporting/explorer/date-filter-block.js","embercom/components/reporting/explorer/filter-bank.js","embercom/components/reporting/explorer/filter-manager.js","embercom/components/reporting/explorer/interval-selector.js","embercom/components/reporting/explorer/legend-filter.js","embercom/components/reporting/explorer/metric-selector.js","embercom/components/reporting/explorer/query-builder-component.js","embercom/components/reporting/explorer/query-builder.js","embercom/components/reporting/explorer/selectable-visualization.js","embercom/components/reporting/explorer/title-component.js","embercom/components/reporting/explorer/view-editor.js","embercom/components/reporting/explorer/visualization-selector.js","embercom/components/reporting/export/column-selection.js","embercom/components/reporting/export/export-data.js","embercom/components/reporting/export/filter-bar.js","embercom/components/reporting/export/schedule-buttons.js","embercom/components/reporting/export/schedule-delete-modal.js","embercom/components/reporting/export/schedule-modal.js","embercom/components/reporting/export/schedule-sidebar-item.js","embercom/components/reporting/export/schedule-sidebar.js","embercom/components/reporting/fetch-report.js","embercom/components/reporting/flexible/bucket-range-table.js","embercom/components/reporting/flexible/chart.js","embercom/components/reporting/flexible/columnchart.js","embercom/components/reporting/flexible/comparison-counter.js","embercom/components/reporting/flexible/counter.js","embercom/components/reporting/flexible/dashboard.js","embercom/components/reporting/flexible/default-empty-chart.js","embercom/components/reporting/flexible/filter-bar/bot-inbox-time-filter.js","embercom/components/reporting/flexible/filter-bar/channel-filter.js","embercom/components/reporting/flexible/filter-bar/continent-filter.js","embercom/components/reporting/flexible/filter-bar/conversation-type-filter.js","embercom/components/reporting/flexible/filter-bar/country-filter.js","embercom/components/reporting/flexible/filter-bar/custom-attributes/boolean-filter.js","embercom/components/reporting/flexible/filter-bar/custom-attributes/filter-radio-button.js","embercom/components/reporting/flexible/filter-bar/custom-attributes/list-filter-options.js","embercom/components/reporting/flexible/filter-bar/custom-attributes/list-filter.js","embercom/components/reporting/flexible/filter-bar/date-filter-block.js","embercom/components/reporting/flexible/filter-bar/filter-bar.js","embercom/components/reporting/flexible/filter-bar/sla-filter.js","embercom/components/reporting/flexible/filter-bar/tag-filter.js","embercom/components/reporting/flexible/filter-bar/team-assigned-filter.js","embercom/components/reporting/flexible/filter-bar/team-participated-filter.js","embercom/components/reporting/flexible/filter-bar/teammate-assigned-filter.js","embercom/components/reporting/flexible/filter-bar/teammate-item.js","embercom/components/reporting/flexible/filter-bar/teammate-participated-filter.js","embercom/components/reporting/flexible/heatmap.js","embercom/components/reporting/flexible/highcharts-component.js","embercom/components/reporting/flexible/linechart.js","embercom/components/reporting/flexible/table-article-author-cell.js","embercom/components/reporting/flexible/table-article-cell.js","embercom/components/reporting/flexible/table-article-title-cell.js","embercom/components/reporting/flexible/table-csat-cell.js","embercom/components/reporting/flexible/table-local-filters.js","embercom/components/reporting/flexible/table-teammate-cell.js","embercom/components/reporting/flexible/table.js","embercom/components/reporting/flexible/view-abstraction-component.js","embercom/components/reporting/funnel-percentage.js","embercom/components/reporting/funnel-step.js","embercom/components/reporting/layout/report-content.js","embercom/components/reporting/layout/submenu.js","embercom/components/reporting/layout/view-card.js","embercom/components/reporting/legacy-chart-tooltips.js","embercom/components/reporting/line-chart-legend-row.js","embercom/components/reporting/line-chart-legend.js","embercom/components/reporting/line-chart-summary.js","embercom/components/reporting/line-chart-with-tooltips.js","embercom/components/reporting/line-chart.js","embercom/components/reporting/pipeline-chart.js","embercom/components/reporting/report-container.js","embercom/components/reporting/report-tab-tooltip.js","embercom/components/reporting/report-tab.js","embercom/components/reporting/reporting-multiselect.js","embercom/components/reporting/reports/answer-bot-common-answers.js","embercom/components/reporting/reports/articles-top-views.js","embercom/components/reporting/reports/articles/engagement-table.js","embercom/components/reporting/reports/articles/opportunities-table.js","embercom/components/reporting/reports/articles/unique-view-counter.js","embercom/components/reporting/reports/articles/view-counter.js","embercom/components/reporting/reports/articles/views-chart.js","embercom/components/reporting/reports/conversation-ratings.js","embercom/components/reporting/reports/conversation-tags-over-time.js","embercom/components/reporting/reports/conversation-tags-table.js","embercom/components/reporting/reports/conversations-flexible/busiest-period-counter.js","embercom/components/reporting/reports/conversations-flexible/busiest-period-heatmap.js","embercom/components/reporting/reports/conversations-flexible/closed-conversations-comparison-counter.js","embercom/components/reporting/reports/conversations-flexible/closed-reopened-conversations-columnchart.js","embercom/components/reporting/reports/conversations-flexible/new-conversations-channels-columnchart.js","embercom/components/reporting/reports/conversations-flexible/new-conversations-columnchart.js","embercom/components/reporting/reports/conversations-flexible/new-conversations-comparison-counter.js","embercom/components/reporting/reports/conversations-flexible/new-inbound-conversations-comparison-counter.js","embercom/components/reporting/reports/conversations-flexible/open-snoozed-columnchart.js","embercom/components/reporting/reports/conversations-flexible/opened-conversations-comparison-counter.js","embercom/components/reporting/reports/conversations-flexible/reopened-conversations-comparison-counter.js","embercom/components/reporting/reports/conversations-flexible/replied-to-conversations-columnchart.js","embercom/components/reporting/reports/conversations-flexible/replied-to-conversations-comparison-counter.js","embercom/components/reporting/reports/conversations-flexible/replies-sent-columnchart.js","embercom/components/reporting/reports/conversations-flexible/replies-sent-comparison-counter.js","embercom/components/reporting/reports/conversations-flexible/snoozed-conversations-comparison-counter.js","embercom/components/reporting/reports/conversations-most-engaging-message-and-bots.js","embercom/components/reporting/reports/conversations-top-urls.js","embercom/components/reporting/reports/effectiveness/closed-on-first-contact-columnchart.js","embercom/components/reporting/reports/effectiveness/closed-on-first-contact-counter.js","embercom/components/reporting/reports/effectiveness/first-assignment-time-columnchart.js","embercom/components/reporting/reports/effectiveness/first-assignment-time-counter.js","embercom/components/reporting/reports/effectiveness/first-assignment-to-close-breakdown.js","embercom/components/reporting/reports/effectiveness/first-assignment-to-last-close-time-columnchart.js","embercom/components/reporting/reports/effectiveness/first-assignment-to-last-close-time-counter.js","embercom/components/reporting/reports/effectiveness/number-of-teammate-replies-to-close-columnchart.js","embercom/components/reporting/reports/effectiveness/number-of-teammate-replies-to-close-counter.js","embercom/components/reporting/reports/effectiveness/reassignments-columnchart.js","embercom/components/reporting/reports/effectiveness/reassignments-counter.js","embercom/components/reporting/reports/effectiveness/replied-to-conversations-counter.js","embercom/components/reporting/reports/new-conversations-breakdown.js","embercom/components/reporting/reports/new-conversations-timeline.js","embercom/components/reporting/reports/overview/teammate-table.js","embercom/components/reporting/reports/people-overview-breakdown.js","embercom/components/reporting/reports/people-overview-timeline.js","embercom/components/reporting/reports/team-performance/conversations-assigned-team-columnchart.js","embercom/components/reporting/reports/team-performance/first-response-by-team-linechart.js","embercom/components/reporting/reports/team-performance/teammate-table.js","embercom/components/reporting/sales-performance-charts.js","embercom/components/reporting/signal-card.js","embercom/components/reporting/single-stat.js","embercom/components/reporting/stacked-bar-chart-legend-item.js","embercom/components/reporting/stacked-bar-chart-legend.js","embercom/components/reporting/stacked-bar-chart-summary.js","embercom/components/reporting/stacked-bar-chart-with-tooltips.js","embercom/components/reporting/stacked-bar-chart.js","embercom/components/reporting/subscription.js","embercom/components/reporting/tab-signal-chart.js","embercom/components/reporting/table-data-manager.js","embercom/components/reporting/tag-filter.js","embercom/components/reporting/tag-line-chart-legend.js","embercom/components/reporting/team-or-teammate-filter.js","embercom/components/reporting/tooltip/default-tooltip.js","embercom/components/reporting/tooltip/heatmap-tooltip.js","embercom/components/reporting/tooltip/horizontal-bar-ratings.js","embercom/components/reporting/tooltip/horizontal-bar.js","embercom/components/reporting/tooltip/simple-percentage.js","embercom/components/resize-text.js","embercom/components/rules/actions/actions-editor.js","embercom/components/rules/actions/actions-select-paywalled-item-component.js","embercom/components/rules/actions/add-tag-to-conversation.js","embercom/components/rules/actions/add-tags-to-conversation.js","embercom/components/rules/actions/apply-conversation-sla.js","embercom/components/rules/actions/assign-conversation-to-owner.js","embercom/components/rules/actions/assign-conversation.js","embercom/components/rules/actions/change-conversation-priority.js","embercom/components/rules/actions/close-conversation.js","embercom/components/rules/actions/send-app-with-introduction-overlay.js","embercom/components/rules/actions/send-app-with-introduction.js","embercom/components/rules/actions/send-app.js","embercom/components/rules/actions/send-follow-up-reply-overlay.js","embercom/components/rules/actions/send-follow-up-reply.js","embercom/components/rules/actions/send-to-hubspot.js","embercom/components/rules/actions/send-to-marketo.js","embercom/components/rules/actions/send-to-salesforce.js","embercom/components/rules/actions/set-conversation-data-attribute.js","embercom/components/rules/actions/tag-user.js","embercom/components/rules/actions/trigger-marketo-campaign-overlay.js","embercom/components/rules/actions/trigger-marketo-campaign.js","embercom/components/rules/pick-assignee.js","embercom/components/rules/pick-conversation-data-attribute-list.js","embercom/components/rules/pick-conversation-data-attribute-value-overlay.js","embercom/components/rules/pick-conversation-data-attribute-value.js","embercom/components/rules/pick-conversation-sla.js","embercom/components/rules/rule-editor-actions-section.js","embercom/components/rules/rule-editor-predicates-section.js","embercom/components/rules/rule-editor.js","embercom/components/rules/rules-editor.js","embercom/components/saved-reply-inserter.js","embercom/components/search-empty-state.js","embercom/components/segment-filter/anonymous-select-component.js","embercom/components/segment-filter/partials/-anonymous-select-component-item.js","embercom/components/segment-links-component.js","embercom/components/segment-list.js","embercom/components/segment-search-component.js","embercom/components/segment-with-tooltip.js","embercom/components/segments-list.js","embercom/components/select-component.js","embercom/components/series/campaign-migration-checklist.js","embercom/components/series/delete-modal.js","embercom/components/series/edge/generator.js","embercom/components/series/editor.js","embercom/components/series/editor/active-view.js","embercom/components/series/editor/overview-list.js","embercom/components/series/editor/overview-list/title-cell.js","embercom/components/series/editor/standard-stats-list.js","embercom/components/series/editor/tabs/overview-tab.js","embercom/components/series/editor/tabs/standard-tab.js","embercom/components/series/editor/tabs/stat-tab.js","embercom/components/series/exit-rules/editor.js","embercom/components/series/exit-rules/predicates.js","embercom/components/series/header.js","embercom/components/series/header/campaign-state-selector.js","embercom/components/series/header/duplicate-ruleset-into-series-modal.js","embercom/components/series/header/edit-mode.js","embercom/components/series/header/migration-modal.js","embercom/components/series/header/set-live-button.js","embercom/components/series/header/view-mode.js","embercom/components/series/node/actions.js","embercom/components/series/node/condition-delay-editor.js","embercom/components/series/node/connector-wrapper.js","embercom/components/series/node/connectors.js","embercom/components/series/node/connectors/content-shortcuts-connector.js","embercom/components/series/node/connectors/standard-connector.js","embercom/components/series/node/connectors/yield-area.js","embercom/components/series/node/explicit-waiting-settings.js","embercom/components/series/node/graph/loading.js","embercom/components/series/node/graph/standard.js","embercom/components/series/node/implicit-waiting-settings.js","embercom/components/series/node/in-app-delay-editor.js","embercom/components/series/node/inserters/list.js","embercom/components/series/node/inserters/list/section.js","embercom/components/series/node/inserters/standard.js","embercom/components/series/node/shortcuts.js","embercom/components/series/node/standard-stats-summary.js","embercom/components/series/node/surrounding-connectors.js","embercom/components/series/ruleset-editor/sheet.js","embercom/components/series/settings.js","embercom/components/series/settings/edit-mode.js","embercom/components/series/settings/view-mode.js","embercom/components/series/sidebar.js","embercom/components/series/starting-state.js","embercom/components/series/summaries/exit-rules/summary.js","embercom/components/settings-segment-component.js","embercom/components/settings/app-settings-submenu.js","embercom/components/settings/appearance/background-select-component.js","embercom/components/settings/appearance/color-edit-component.js","embercom/components/settings/appearance/color-picker.js","embercom/components/settings/appearance/color-select-component.js","embercom/components/settings/attribute-creation-type-modal.js","embercom/components/settings/availability/time-period-component.js","embercom/components/settings/availability/time-period-row-component.js","embercom/components/settings/blocked-user-list-component.js","embercom/components/settings/bulk-invite-modal.js","embercom/components/settings/content-components/base.js","embercom/components/settings/content-components/logs.js","embercom/components/settings/content-components/permanent-user-deletion.js","embercom/components/settings/content-components/teammates.js","embercom/components/settings/conversation-attributes/descriptor-archive-modal.js","embercom/components/settings/conversation-attributes/descriptor-details-modal.js","embercom/components/settings/conversation-attributes/getting-started.js","embercom/components/settings/conversation-attributes/list-descriptors.js","embercom/components/settings/data/people-and-company-tags-table.js","embercom/components/settings/data/sla-table.js","embercom/components/settings/data/tags-table.js","embercom/components/settings/email-templates/template-iframe-preview-component.js","embercom/components/settings/events/events-table.js","embercom/components/settings/identity-verification-installation-setup-component.js","embercom/components/settings/identity-verification/identity-verification-settings-modal.js","embercom/components/settings/identity-verification/ping-domains-table.js","embercom/components/settings/identity-verification/verify-user-identity-component.js","embercom/components/settings/import-table-component.js","embercom/components/settings/nav-settings-away-mode-component.js","embercom/components/settings/people-attributes/search-input.js","embercom/components/settings/qualification/attribute-row.js","embercom/components/settings/qualification/attribute-table.js","embercom/components/settings/roles.js","embercom/components/settings/saved-replies/editor.js","embercom/components/settings/saved-replies/header.js","embercom/components/settings/saved-replies/list.js","embercom/components/settings/search-component.js","embercom/components/settings/security/app-sso-domain-verification-modal.js","embercom/components/settings/security/app-sso-domains.js","embercom/components/settings/security/enforce-saml-modal.js","embercom/components/settings/security/saml-settings.js","embercom/components/settings/security/security-warning-banner.js","embercom/components/settings/senders/company-email-address-component.js","embercom/components/settings/senders/dkim-settings-accordion.js","embercom/components/settings/senders/email-address-accordion.js","embercom/components/settings/senders/modals/create-sender-email-address.js","embercom/components/settings/senders/modals/new-sender-form.js","embercom/components/settings/senders/outbound-sender-settings.js","embercom/components/settings/sla-archive-modal.js","embercom/components/settings/sla-delete-modal.js","embercom/components/settings/slas/slas-page.js","embercom/components/settings/spam-message-list-component.js","embercom/components/settings/sso-domain-whitelist.js","embercom/components/settings/standard-header.js","embercom/components/settings/tag-archive-modal.js","embercom/components/settings/tag-deletion-modal.js","embercom/components/settings/tag-dependencies.js","embercom/components/settings/tag-dependencies/info.js","embercom/components/settings/tag-usage-link.js","embercom/components/settings/teammates/conversation-access-editor.js","embercom/components/settings/teammates/conversation-access-select-item-disabled.js","embercom/components/settings/teammates/conversation-access-select-item.js","embercom/components/settings/teammates/conversation-access-team-item.js","embercom/components/settings/teammates/data-loader.js","embercom/components/settings/teammates/inbox-seat-info.js","embercom/components/settings/teammates/inbox-seat-removal-banner.js","embercom/components/settings/teammates/invites-blocked-banner-component.js","embercom/components/settings/teammates/invites/csv-column.js","embercom/components/settings/teammates/invites/edit/header.js","embercom/components/settings/teammates/invites/header.js","embercom/components/settings/teammates/invites/invite.js","embercom/components/settings/teammates/invites/permissions.js","embercom/components/settings/teammates/modals/apply-changes-modal.js","embercom/components/settings/teammates/permissions.js","embercom/components/settings/teammates/permissions/inbox-seat-allocation.js","embercom/components/settings/teammates/permissions/permission-toggle-row.js","embercom/components/settings/teammates/permissions/permission-toggle.js","embercom/components/settings/teammates/permissions/permissions-editor-with-role-selector.js","embercom/components/settings/teammates/permissions/permissions-editor.js","embercom/components/settings/teammates/permissions/permissions-header.js","embercom/components/settings/teammates/permissions/permissions-panel.js","embercom/components/settings/teammates/permissions/permissions-row-section.js","embercom/components/settings/teammates/permissions/permissions-section-panel.js","embercom/components/settings/teammates/permissions/permissions-section.js","embercom/components/settings/teammates/permissions/teammate-pill.js","embercom/components/settings/teammates/remove/header.js","embercom/components/settings/teammates/remove/reassign-conversations.js","embercom/components/settings/teammates/remove/reassign.js","embercom/components/settings/teammates/roles/role-card.js","embercom/components/settings/teammates/roles/role-editor-buttons.js","embercom/components/settings/teammates/roles/role-editor.js","embercom/components/settings/teammates/seats-cost-change-card.js","embercom/components/settings/teammates/seats-cost-change-card/email-invite.js","embercom/components/settings/teammates/seats-cost-change-card/invite-link.js","embercom/components/settings/teammates/seats-cost-change-card/pricing-breakdown.js","embercom/components/settings/teams/action-buttons-component.js","embercom/components/settings/teams/card-component.js","embercom/components/settings/teams/configure-distribution-component.js","embercom/components/settings/teams/empty-state.js","embercom/components/settings/teams/invite-link-list-component.js","embercom/components/settings/teams/invite-list-component.js","embercom/components/settings/teams/main-content.js","embercom/components/settings/teams/set-office-hours.js","embercom/components/settings/teams/team-member-component.js","embercom/components/settings/teams/team-or-teammate-dropdown-item.js","embercom/components/settings/teams/teammate-list-base-component.js","embercom/components/settings/teams/teammate-list-component.js","embercom/components/settings/teams/teams-edit-component.js","embercom/components/sign-in/header.js","embercom/components/sign-in/method/email-password.js","embercom/components/sign-in/method/google-sso.js","embercom/components/sign-in/method/saml.js","embercom/components/sign-in/saml-workspace-picker.js","embercom/components/signup/add-to-trial-component.js","embercom/components/signup/checkbox.js","embercom/components/signup/country-select-component.js","embercom/components/signup/form-component.js","embercom/components/signup/get-started/chat-with-us.js","embercom/components/signup/heap.js","embercom/components/signup/intercom-url-pixel.js","embercom/components/signup/new-main.js","embercom/components/signup/new-page.js","embercom/components/signup/new-title.js","embercom/components/signup/new/form-component.js","embercom/components/signup/new/form-field-component.js","embercom/components/signup/new/terms-component.js","embercom/components/signup/product-card-status.js","embercom/components/signup/state-select-component.js","embercom/components/signup/teams/addon-cta-component.js","embercom/components/signup/teams/cart-summary-component.js","embercom/components/signup/teams/checkout-component.js","embercom/components/signup/teams/checkout-sidebar-component.js","embercom/components/signup/teams/country-code-item.js","embercom/components/signup/teams/developer-sidebar-component.js","embercom/components/signup/teams/early-stage-application-form-component.js","embercom/components/signup/teams/form-component.js","embercom/components/signup/teams/green-checklist-component.js","embercom/components/signup/teams/header-component.js","embercom/components/signup/teams/heading.js","embercom/components/signup/teams/mobile-cart-component.js","embercom/components/simple-composer-audience-component.js","embercom/components/simple-composer-audience-user-component.js","embercom/components/simple-composer-modal-component.js","embercom/components/simple-expanding-textarea-component.js","embercom/components/simple-tag-component.js","embercom/components/sms/editor.js","embercom/components/social-connect-component.js","embercom/components/sortable-group.js","embercom/components/sortable-handle.js","embercom/components/sortable-item.js","embercom/components/sortable-list-component.js","embercom/components/start-product-trial-link.js","embercom/components/start/body-component.js","embercom/components/start/description-component.js","embercom/components/start/form-component.js","embercom/components/start/form-field-component.js","embercom/components/start/page-component.js","embercom/components/start/terms-component.js","embercom/components/stats-system/csv-export/modal.js","embercom/components/stats-system/deprecated/stats-component.js","embercom/components/stats-system/deprecated/tab-container.js","embercom/components/stats-system/deprecated/tabs-component.js","embercom/components/stats-system/goals/goal-editor.js","embercom/components/stats-system/goals/goal-summary.js","embercom/components/stats-system/goals/predicates-editor.js","embercom/components/stats-system/list/article-views-list.js","embercom/components/stats-system/list/base-percentage-stat-list.js","embercom/components/stats-system/list/base-stat-list.js","embercom/components/stats-system/list/click-list.js","embercom/components/stats-system/list/collected-email-list.js","embercom/components/stats-system/list/completion-list.js","embercom/components/stats-system/list/dismissal-list.js","embercom/components/stats-system/list/email-failure-list.js","embercom/components/stats-system/list/empty-state/default-empty-state.js","embercom/components/stats-system/list/empty-state/tour-step-failure-empty-state.js","embercom/components/stats-system/list/goal-success-list.js","embercom/components/stats-system/list/header/article-content-views-title.js","embercom/components/stats-system/list/header/bulk-actions-buttons.js","embercom/components/stats-system/list/header/click-title.js","embercom/components/stats-system/list/header/collected-email-title.js","embercom/components/stats-system/list/header/default-title.js","embercom/components/stats-system/list/header/email-failure-title.js","embercom/components/stats-system/list/header/goal-success-title.js","embercom/components/stats-system/list/header/reaction-title.js","embercom/components/stats-system/list/header/reply-title.js","embercom/components/stats-system/list/header/series-completion-title.js","embercom/components/stats-system/list/header/series-disengagement-title.js","embercom/components/stats-system/list/header/series-exit-title.js","embercom/components/stats-system/list/header/series-started-title.js","embercom/components/stats-system/list/header/tagging-modal.js","embercom/components/stats-system/list/header/tour-step-failure-title.js","embercom/components/stats-system/list/header/trend-graph.js","embercom/components/stats-system/list/open-list.js","embercom/components/stats-system/list/reaction-list.js","embercom/components/stats-system/list/receipt-list.js","embercom/components/stats-system/list/reply-list.js","embercom/components/stats-system/list/row/base-stat-list-row.js","embercom/components/stats-system/list/row/click-list-row.js","embercom/components/stats-system/list/row/collected-email-list-row.js","embercom/components/stats-system/list/row/date-and-time-tooltip.js","embercom/components/stats-system/list/row/email-failure-list-row.js","embercom/components/stats-system/list/row/failed-step.js","embercom/components/stats-system/list/row/goal-success-list-row.js","embercom/components/stats-system/list/row/reaction-list-row.js","embercom/components/stats-system/list/row/reply-list-row.js","embercom/components/stats-system/list/row/ruleset-cell.js","embercom/components/stats-system/list/row/selectable-user-cell.js","embercom/components/stats-system/list/row/series-completion-list-row.js","embercom/components/stats-system/list/row/series-disengagement-list-row.js","embercom/components/stats-system/list/row/tour-step-failure-list-row.js","embercom/components/stats-system/list/row/user-and-avatar.js","embercom/components/stats-system/list/series-completion-list.js","embercom/components/stats-system/list/series-disengagement-list.js","embercom/components/stats-system/list/series-exit-list.js","embercom/components/stats-system/list/table.js","embercom/components/stats-system/list/tour-step-failure-list.js","embercom/components/stripe-card-cvc.js","embercom/components/stripe-card-expiry.js","embercom/components/stripe-card-number.js","embercom/components/stripe-card.js","embercom/components/stripe-elements.js","embercom/components/stripe-postal-code.js","embercom/components/submenu-component.js","embercom/components/submenu-footer.js","embercom/components/submenu-header.js","embercom/components/submenu-sections-section-items.js","embercom/components/submenu-sections-section-title-arrow.js","embercom/components/submenu-sections-section-title.js","embercom/components/submenu-sections-section.js","embercom/components/submenu-sections.js","embercom/components/table-cell-edit-name.js","embercom/components/table-cell-messages-link.js","embercom/components/table-cells/admin-events/base-cell.js","embercom/components/table-cells/admin-events/date-cell.js","embercom/components/table-cells/admin-events/description-cell.js","embercom/components/table-cells/admin-events/permission-change-details.js","embercom/components/table-cells/admin-events/permission-list.js","embercom/components/table-cells/attributes/created-at-cell.js","embercom/components/table-cells/attributes/edit-button-cell.js","embercom/components/table-cells/attributes/format-and-options-cell.js","embercom/components/table-cells/attributes/name-and-description-cell.js","embercom/components/table-cells/events/created-at-cell.js","embercom/components/table-cells/events/name-and-description-cell.js","embercom/components/table-cells/gdpr-settings/avatar-name-company.js","embercom/components/table-cells/impersonation-consents/approved-at-cell.js","embercom/components/table-cells/impersonation-consents/base-cell.js","embercom/components/table-cells/impersonation-consents/status-cell.js","embercom/components/table-cells/invite-link-list/base-cell.js","embercom/components/table-cells/invite-link-list/close-link-cell.js","embercom/components/table-cells/invite-link-list/copy-link-cell.js","embercom/components/table-cells/invite-link-list/created-at-cell.js","embercom/components/table-cells/invite-link-list/created-by-cell.js","embercom/components/table-cells/invite-link-list/link-status-cell.js","embercom/components/table-cells/invite-link-list/task-cell.js","embercom/components/table-cells/invite-list/base-cell.js","embercom/components/table-cells/invite-list/edit-cell.js","embercom/components/table-cells/invite-list/inbox-seat-cell.js","embercom/components/table-cells/invite-list/name-cell.js","embercom/components/table-cells/invite-list/resend-cell.js","embercom/components/table-cells/invite-list/revoke-cell.js","embercom/components/table-cells/invite-list/sent-cell.js","embercom/components/table-cells/invite-list/status-cell.js","embercom/components/table-cells/invite-list/teams-cell.js","embercom/components/table-cells/slas/created-at-cell.js","embercom/components/table-cells/slas/name-cell.js","embercom/components/table-cells/teammate-list/edit-cell.js","embercom/components/table-cells/teammate-list/inbox-seat-cell.js","embercom/components/table-cells/teammate-list/name-cell.js","embercom/components/table-cells/teammate-list/permission-cell.js","embercom/components/table-cells/teammate-list/status-cell.js","embercom/components/table-cells/teammate-list/teams-cell.js","embercom/components/table-cells/teammate-list/two-f-a-cell.js","embercom/components/tag-or-segment-pill-component.js","embercom/components/tag-with-tooltip.js","embercom/components/tagger/editor.js","embercom/components/tagger/summary.js","embercom/components/tags-list.js","embercom/components/talon.js","embercom/components/task-bots/action-button-component.js","embercom/components/task-bots/article-auto-reaction.js","embercom/components/task-bots/article-suggestions-inbox.js","embercom/components/task-bots/article-suggestions.js","embercom/components/task-bots/contact-collection.js","embercom/components/task-bots/contact-collection/radio-form.js","embercom/components/task-bots/conversation-rating.js","embercom/components/task-bots/conversation-routing.js","embercom/components/task-bots/conversation-routing/settings.js","embercom/components/task-bots/detect-duplicate-conversations.js","embercom/components/task-bots/github-updates.js","embercom/components/task-bots/messenger-preview.js","embercom/components/task-bots/panel-wrapper.js","embercom/components/task-bots/previews/article-auto-reaction-leads.js","embercom/components/task-bots/previews/article-auto-reaction-users.js","embercom/components/task-bots/previews/article-auto-reaction.js","embercom/components/task-bots/previews/article-suggestions-leads.js","embercom/components/task-bots/previews/article-suggestions-users.js","embercom/components/task-bots/previews/branching-qualification.js","embercom/components/task-bots/previews/contact-collection.js","embercom/components/task-bots/previews/conversation-rating-leads.js","embercom/components/task-bots/previews/conversation-rating-users.js","embercom/components/task-bots/previews/conversation-rating.js","embercom/components/task-bots/previews/conversation-routing.js","embercom/components/task-bots/previews/qualify-leads.js","embercom/components/task-bots/previews/simple-qualification.js","embercom/components/task-bots/previews/team-availability-leads.js","embercom/components/task-bots/previews/team-availability-setting-expectation.js","embercom/components/task-bots/previews/team-availability-users.js","embercom/components/task-bots/previews/team-availability.js","embercom/components/task-bots/previews/upfront-collection-users.js","embercom/components/task-bots/qualify-leads.js","embercom/components/task-bots/qualify-leads/branching-qualification-question-editor.js","embercom/components/task-bots/qualify-leads/branching-qualification.js","embercom/components/task-bots/qualify-leads/simple-qualification.js","embercom/components/task-bots/team-availability.js","embercom/components/task-bots/trigger-group.js","embercom/components/task-bots/upfront-collection.js","embercom/components/task-bots/upfront-collection/attribute-selector.js","embercom/components/team-membership-list-component.js","embercom/components/teams-members-selector-component.js","embercom/components/terms-of-service-notification-component.js","embercom/components/text-editor.js","embercom/components/text-formatter.js","embercom/components/text.js","embercom/components/time-from-now-component.js","embercom/components/tip-component.js","embercom/components/tools/anchor-editor.js","embercom/components/tools/button-editor.js","embercom/components/tools/image-editor.js","embercom/components/tools/media-inserter.js","embercom/components/tools/media-inserter/video-inserter.js","embercom/components/tools/media-toolbar.js","embercom/components/tools/table-editor.js","embercom/components/tools/table-editor/column-control.js","embercom/components/tools/table-editor/row-control.js","embercom/components/tools/table-editor/table-control.js","embercom/components/tools/template-inserter.js","embercom/components/tools/text-formatter.js","embercom/components/tools/typeaheads/emoji.js","embercom/components/tools/video-editor.js","embercom/components/tooltips/attribute-and-event-description-content.js","embercom/components/tooltips/crm/hubspot-hovercard.js","embercom/components/tooltips/crm/marketo-hovercard.js","embercom/components/tooltips/crm/pipedrive-hovercard.js","embercom/components/tooltips/crm/salesforce-hovercard.js","embercom/components/tooltips/embercom-core-testing-dropdown-component-tooltip.js","embercom/components/tooltips/image-overlay.js","embercom/components/tooltips/reporting-chart-datum.js","embercom/components/tooltips/reporting-stacked-bar-datum.js","embercom/components/tooltips/restricted-access.js","embercom/components/tooltips/saved-replies.js","embercom/components/tours/editor/audience-view.js","embercom/components/tours/editor/audience/footer.js","embercom/components/tours/editor/audience/section.js","embercom/components/tours/editor/content-panel.js","embercom/components/tours/editor/content/timeline-step-stats.js","embercom/components/tours/editor/content/timeline-step.js","embercom/components/tours/editor/embedded-styles.js","embercom/components/tours/editor/insertion-panel.js","embercom/components/tours/editor/insertion-view.js","embercom/components/tours/editor/publish-panel.js","embercom/components/tours/editor/publish-panel/summary.js","embercom/components/tours/editor/publish-panel/validation.js","embercom/components/tours/editor/timeline-component.js","embercom/components/tours/editor/tour-card-preview.js","embercom/components/tours/editor/view-or-edit-insertion-url.js","embercom/components/tours/pre-tour-setup.js","embercom/components/tours/tour-editor.js","embercom/components/tours/tour-inserter.js","embercom/components/tours/tours-list/empty-state.js","embercom/components/tours/tours-list/filter-links.js","embercom/components/tours/tours-list/main-component.js","embercom/components/tours/tours-list/new-tour-dropdown.js","embercom/components/tours/tours-list/template-tile.js","embercom/components/tours/tours-list/tour-list-row.js","embercom/components/tours/upgrade-install-banner.js","embercom/components/truncated-text-component.js","embercom/components/truncated-text.js","embercom/components/twitter-follow-button-editor.js","embercom/components/type-ahead-coordinator.js","embercom/components/user-campaign-component.js","embercom/components/user-event-summary-component.js","embercom/components/user-hash-checker-component.js","embercom/components/user-list-column-header-component.js","embercom/components/user-list.js","embercom/components/user-list/search-limit-alert.js","embercom/components/user-map-component.js","embercom/components/user-profile-actions-dropdown.js","embercom/components/user-profile-note-component.js","embercom/components/user-restriction-warning.js","embercom/components/user-table-row-component.js","embercom/components/users-and-companies/advanced-segment-editor.js","embercom/components/users-and-companies/bulk-tagging.js","embercom/components/users-and-companies/filter-wrapper.js","embercom/components/users-and-companies/list-table.js","embercom/components/users-and-companies/rules-editor.js","embercom/components/users-and-companies/search-tabs.js","embercom/components/users-and-companies/segment-editor.js","embercom/components/users-and-companies/segment-search.js","embercom/components/users-and-companies/segment-title.js","embercom/components/users-companies-with-icon-pattern.js","embercom/components/users/profile/attribute-component.js","embercom/components/users/profile/attribute-tooltip.js","embercom/components/users/profile/attribute-visibility-component.js","embercom/components/users/profile/crm-lead-profile-component.js","embercom/components/users/profile/current-selected-owner.js","embercom/components/users/profile/editable-attribute-component.js","embercom/components/users/profile/external-profiles-display-component.js","embercom/components/users/profile/facetile-component.js","embercom/components/users/profile/local-time-and-location-component.js","embercom/components/users/profile/location-component.js","embercom/components/users/profile/map-component.js","embercom/components/users/profile/note-composer-component.js","embercom/components/users/profile/note-composer-textarea-component.js","embercom/components/users/profile/owner-component.js","embercom/components/users/profile/sidebar-header-component.js","embercom/components/users/profile/sidebar-sections.js","embercom/components/users/profile/social-data-display-component.js","embercom/components/users/profile/social-data-item-display-component.js","embercom/components/users/profile/user-card-attribute-component.js","embercom/components/users/profile/user-sort-component.js","embercom/components/users/table/cell.js","embercom/components/users/table/table-data-formatter.js","embercom/components/users/user-profile-header.js","embercom/components/utils/horizontal-divider.js","embercom/components/utils/icon-button.js","embercom/components/utils/info-tooltip.js","embercom/components/utils/labelled-button.js","embercom/components/utils/popover.js","embercom/components/utils/vertical-divider.js","embercom/components/vertical-collection.js","embercom/components/vertical-navigation-search.js","embercom/components/vertical-segment-link.js","embercom/components/vertical-segment-list.js","embercom/components/video-editor.js","embercom/components/video-file-editor.js","embercom/components/video/personalized-video-player.js","embercom/components/visibility/inbox-visibility-row.js","embercom/components/visibility/segments/table-cells/actions-for-hidden.js","embercom/components/visibility/segments/table-cells/actions-for-visible.js","embercom/components/visibility/segments/table-cells/created-by.js","embercom/components/visibility/segments/table-cells/created.js","embercom/components/visibility/segments/table-cells/name.js","embercom/components/visibility/tags/table-cells/actions-for-hidden.js","embercom/components/visibility/tags/table-cells/actions-for-visible.js","embercom/components/visibility/tags/table-cells/created-by.js","embercom/components/visibility/tags/table-cells/created.js","embercom/components/visibility/tags/table-cells/links.js","embercom/components/visibility/tags/table-cells/name.js","embercom/components/workflows/action-selector.js","embercom/components/workflows/editor-component.js","embercom/components/workflows/editor/condition-component.js","embercom/components/workflows/editor/predicates-editor-component.js","embercom/components/workflows/editor/trigger-select-awaiting-first-reply-item-component.js","embercom/components/workflows/editor/trigger-select-item-component.js","embercom/components/workflows/editor/trigger-selector.js","embercom/components/workflows/editor/triggers/awaiting-first-reply-overlay.js","embercom/components/workflows/editor/triggers/awaiting-first-reply.js","embercom/components/workflows/index-component.js","embercom/components/workflows/index/actions/add-tag-to-conversation.js","embercom/components/workflows/index/actions/apply-conversation-sla.js","embercom/components/workflows/index/actions/assign-conversation-to-owner.js","embercom/components/workflows/index/actions/assign-conversation.js","embercom/components/workflows/index/actions/change-conversation-priority.js","embercom/components/workflows/index/actions/close-conversation.js","embercom/components/workflows/index/actions/set-conversation-data-attribute.js","embercom/components/workflows/index/default-assignee-component.js","embercom/components/workflows/index/filterable-list-component.js","embercom/components/workflows/index/filters/filters-component.js","embercom/components/workflows/index/list-item-component.js","embercom/components/workflows/index/priority-divider.js","embercom/components/workflows/opt-in-component.js","embercom/config/environment.d.ts","embercom/controllers/application.js","embercom/controllers/apps.js","embercom/controllers/apps/app.js","embercom/controllers/apps/app/account.js","embercom/controllers/apps/app/account/account-access.js","embercom/controllers/apps/app/account/base/account-controller-base.js","embercom/controllers/apps/app/account/general.js","embercom/controllers/apps/app/account/notifications-ask-modal.js","embercom/controllers/apps/app/account/notifications-denied-modal.js","embercom/controllers/apps/app/account/notifications.js","embercom/controllers/apps/app/account/oauth-tokens.js","embercom/controllers/apps/app/account/password.js","embercom/controllers/apps/app/account/two_factor_auth.js","embercom/controllers/apps/app/account/visibility/company-segments.js","embercom/controllers/apps/app/account/visibility/inboxes.js","embercom/controllers/apps/app/account/visibility/segments.js","embercom/controllers/apps/app/account/visibility/tags.js","embercom/controllers/apps/app/account/visibility/user-segments.js","embercom/controllers/apps/app/accounts.js","embercom/controllers/apps/app/admins/admin.js","embercom/controllers/apps/app/admins/admin/index.js","embercom/controllers/apps/app/appstore.js","embercom/controllers/apps/app/appstore/app-package.js","embercom/controllers/apps/app/appstore/index.js","embercom/controllers/apps/app/articles.js","embercom/controllers/apps/app/articles/articles/article/base.js","embercom/controllers/apps/app/articles/articles/article/edit.js","embercom/controllers/apps/app/articles/articles/article/show.js","embercom/controllers/apps/app/articles/articles/article/show/index.js","embercom/controllers/apps/app/articles/articles/article/show/stats.js","embercom/controllers/apps/app/articles/articles/list.js","embercom/controllers/apps/app/articles/articles/list/all.js","embercom/controllers/apps/app/articles/articles/list/base.js","embercom/controllers/apps/app/articles/articles/list/draft.js","embercom/controllers/apps/app/articles/articles/list/missing.js","embercom/controllers/apps/app/articles/articles/list/published.js","embercom/controllers/apps/app/articles/guide/index.js","embercom/controllers/apps/app/articles/insights/closed-by-operator.js","embercom/controllers/apps/app/articles/insights/index.js","embercom/controllers/apps/app/articles/site.js","embercom/controllers/apps/app/articles/site/collections.js","embercom/controllers/apps/app/articles/site/collections/collection.js","embercom/controllers/apps/app/articles/site/collections/index.js","embercom/controllers/apps/app/articles/site/settings.js","embercom/controllers/apps/app/billing.js","embercom/controllers/apps/app/billing/cancel/complete.js","embercom/controllers/apps/app/billing/cancel/confirm.js","embercom/controllers/apps/app/billing/cancel/index.js","embercom/controllers/apps/app/billing/cancel/offer.js","embercom/controllers/apps/app/billing/details/index.js","embercom/controllers/apps/app/billing/index.js","embercom/controllers/apps/app/billing/invoices/index.js","embercom/controllers/apps/app/billing/invoices/invoice.js","embercom/controllers/apps/app/billing/modals/change-company-details-modal.js","embercom/controllers/apps/app/billing/modals/coupon-modal.js","embercom/controllers/apps/app/billing/modals/resume-pending-cancellation-modal.js","embercom/controllers/apps/app/billing/summary.js","embercom/controllers/apps/app/billing/summary/index.js","embercom/controllers/apps/app/cda-onboarding.js","embercom/controllers/apps/app/cda-onboarding/add.js","embercom/controllers/apps/app/cda-onboarding/generate.js","embercom/controllers/apps/app/cda-onboarding/index.js","embercom/controllers/apps/app/companies.js","embercom/controllers/apps/app/companies/company.js","embercom/controllers/apps/app/companies/company/conversations.js","embercom/controllers/apps/app/companies/company/modals/company-delete.js","embercom/controllers/apps/app/companies/company/modals/tag.js","embercom/controllers/apps/app/companies/company/modals/tagging.js","embercom/controllers/apps/app/companies/company/modals/user-delete.js","embercom/controllers/apps/app/companies/company/modals/user-message.js","embercom/controllers/apps/app/companies/company/users.js","embercom/controllers/apps/app/companies/segments/segment.js","embercom/controllers/apps/app/companies/segments/segment/modals/export.js","embercom/controllers/apps/app/companies/segments/segment/modals/message.js","embercom/controllers/apps/app/companies/segments/segment/modals/segment.js","embercom/controllers/apps/app/confirm-modal.js","embercom/controllers/apps/app/content/edit.js","embercom/controllers/apps/app/conversational-insights.js","embercom/controllers/apps/app/conversational-insights/topics/topic/show.js","embercom/controllers/apps/app/developer-hub/app-packages/app-package.js","embercom/controllers/apps/app/developer-hub/app-packages/app-package/app-store-listing.js","embercom/controllers/apps/app/developer-hub/app-packages/app-package/app-store-listing/edit.js","embercom/controllers/apps/app/developer-hub/app-packages/app-package/app-store-listing/index.js","embercom/controllers/apps/app/developer-hub/app-packages/app-package/basic-info.js","embercom/controllers/apps/app/developer-hub/app-packages/app-package/basic-info/edit.js","embercom/controllers/apps/app/developer-hub/app-packages/app-package/basic-info/index.js","embercom/controllers/apps/app/developer-hub/app-packages/app-package/canvas-kit.js","embercom/controllers/apps/app/developer-hub/app-packages/app-package/getting-started-guide.js","embercom/controllers/apps/app/developer-hub/app-packages/app-package/new.js","embercom/controllers/apps/app/developer-hub/app-packages/app-package/oauth.js","embercom/controllers/apps/app/developer-hub/app-packages/app-package/oauth/edit.js","embercom/controllers/apps/app/developer-hub/app-packages/app-package/oauth/index.js","embercom/controllers/apps/app/developer-hub/app-packages/app-package/reports/installs-and-uninstalls.js","embercom/controllers/apps/app/developer-hub/app-packages/app-package/review.js","embercom/controllers/apps/app/developer-hub/app-packages/app-package/webhooks.js","embercom/controllers/apps/app/developer-hub/app-packages/app-package/webhooks/edit.js","embercom/controllers/apps/app/developer-hub/app-packages/app-package/webhooks/index.js","embercom/controllers/apps/app/developer-hub/index.js","embercom/controllers/apps/app/editor-demo.js","embercom/controllers/apps/app/email-editor-demo.js","embercom/controllers/apps/app/feed.js","embercom/controllers/apps/app/feed/conversation.js","embercom/controllers/apps/app/feed/index.js","embercom/controllers/apps/app/get-started/base/intent-survey-controller-base.js","embercom/controllers/apps/app/get-started/buyer-persona.js","embercom/controllers/apps/app/get-started/survey-splash.js","embercom/controllers/apps/app/get-started/use-case.js","embercom/controllers/apps/app/home.js","embercom/controllers/apps/app/home/index.js","embercom/controllers/apps/app/import/csv.js","embercom/controllers/apps/app/import/csv/finish.js","embercom/controllers/apps/app/import/csv/index.js","embercom/controllers/apps/app/import/csv/mapping.js","embercom/controllers/apps/app/import/csv/tag.js","embercom/controllers/apps/app/import/mailchimp.js","embercom/controllers/apps/app/import/mailchimp/finish.js","embercom/controllers/apps/app/import/mailchimp/index.js","embercom/controllers/apps/app/import/mailchimp/lists.js","embercom/controllers/apps/app/import/mailchimp/tag.js","embercom/controllers/apps/app/import/mixpanel.js","embercom/controllers/apps/app/import/mixpanel/finish.js","embercom/controllers/apps/app/import/mixpanel/index.js","embercom/controllers/apps/app/import/mixpanel/instructions.js","embercom/controllers/apps/app/import/mixpanel/tag.js","embercom/controllers/apps/app/import/tagging-modal.js","embercom/controllers/apps/app/import/zendesk-chat.js","embercom/controllers/apps/app/import/zendesk-chat/authorize.js","embercom/controllers/apps/app/import/zendesk-chat/import.js","embercom/controllers/apps/app/import/zendesk-chat/index.js","embercom/controllers/apps/app/inbound-email.js","embercom/controllers/apps/app/inbox.js","embercom/controllers/apps/app/inbox/automation/assignment.js","embercom/controllers/apps/app/inbox/automation/priority.js","embercom/controllers/apps/app/inbox/automation/sla.js","embercom/controllers/apps/app/inbox/automation/tag.js","embercom/controllers/apps/app/inbox/automation/workload-management.js","embercom/controllers/apps/app/inbox/inbox/conversation.js","embercom/controllers/apps/app/inbox/inbox/conversations.js","embercom/controllers/apps/app/inbox/inbox/conversations/conversation.js","embercom/controllers/apps/app/inbox/inbox/conversations/modals/away_mode_warning.js","embercom/controllers/apps/app/inbox/inbox/conversations/modals/redact-part.js","embercom/controllers/apps/app/inbox/inbox/conversations/modals/saved-replies.js","embercom/controllers/apps/app/inbox/inbox/conversations/modals/tagging.js","embercom/controllers/apps/app/inbox/preferences.js","embercom/controllers/apps/app/inbox/preferences/away-mode-preferences.js","embercom/controllers/apps/app/inbox/preferences/conversations.js","embercom/controllers/apps/app/inbox/preferences/inbox-wallpaper.js","embercom/controllers/apps/app/inbox/reporting.js","embercom/controllers/apps/app/inbox/reporting/conversations.js","embercom/controllers/apps/app/inbox/reporting/export.js","embercom/controllers/apps/app/inbox/reporting/leads.js","embercom/controllers/apps/app/inbox/reporting/performance/sales.js","embercom/controllers/apps/app/inbox/reporting/summary.js","embercom/controllers/apps/app/inbox/reporting/summary/sales.js","embercom/controllers/apps/app/integrations-hub/integrate-base-controller.js","embercom/controllers/apps/app/intercomrades-package-editor-modal.js","embercom/controllers/apps/app/intersection.js","embercom/controllers/apps/app/keyboard-shortcuts-modal.js","embercom/controllers/apps/app/messenger-apps.js","embercom/controllers/apps/app/messenger.js","embercom/controllers/apps/app/mobile-welcome.js","embercom/controllers/apps/app/modals/block-user.js","embercom/controllers/apps/app/modals/change-plan-modal.js","embercom/controllers/apps/app/modals/create-new-data.js","embercom/controllers/apps/app/modals/email-template-help-modal.js","embercom/controllers/apps/app/modals/enforce-sso-warning.js","embercom/controllers/apps/app/modals/image-annotation.js","embercom/controllers/apps/app/modals/import-modal.js","embercom/controllers/apps/app/modals/import-summary-modal.js","embercom/controllers/apps/app/modals/send-to-developer-modal.js","embercom/controllers/apps/app/modals/series/edit-node.js","embercom/controllers/apps/app/modals/stats-system/bulk-message.js","embercom/controllers/apps/app/modals/team-delete-modal.js","embercom/controllers/apps/app/modals/unblock-blocked-user.js","embercom/controllers/apps/app/modals/video-modal.js","embercom/controllers/apps/app/operator.js","embercom/controllers/apps/app/operator/custom-bots.js","embercom/controllers/apps/app/operator/custom-bots/button-custom-bot/edit.js","embercom/controllers/apps/app/operator/custom-bots/inbound-custom-bot/edit.js","embercom/controllers/apps/app/operator/custom-bots/index.js","embercom/controllers/apps/app/operator/custom-bots/new.js","embercom/controllers/apps/app/operator/custom-bots/outbound/edit.js","embercom/controllers/apps/app/operator/custom-bots/reporting.js","embercom/controllers/apps/app/operator/custom-bots/reporting/base.js","embercom/controllers/apps/app/operator/custom-bots/reporting/completed.js","embercom/controllers/apps/app/operator/custom-bots/reporting/engaged.js","embercom/controllers/apps/app/operator/custom-bots/reporting/sent.js","embercom/controllers/apps/app/operator/resolution-bot.js","embercom/controllers/apps/app/operator/resolution-bot/answers/answer.js","embercom/controllers/apps/app/operator/resolution-bot/answers/answer/edit.js","embercom/controllers/apps/app/operator/resolution-bot/answers/answer/show.js","embercom/controllers/apps/app/operator/resolution-bot/answers/answer/show/conversations.js","embercom/controllers/apps/app/operator/resolution-bot/answers/index.js","embercom/controllers/apps/app/operator/settings.js","embercom/controllers/apps/app/operator/task-bots.js","embercom/controllers/apps/app/operator/task-bots/leads.js","embercom/controllers/apps/app/operator/task-bots/teammates.js","embercom/controllers/apps/app/operator/task-bots/users.js","embercom/controllers/apps/app/outbound.js","embercom/controllers/apps/app/outbound/all.js","embercom/controllers/apps/app/outbound/auto/base/auto-message-list-controller-base.js","embercom/controllers/apps/app/outbound/banners/edit.js","embercom/controllers/apps/app/outbound/banners/index.js","embercom/controllers/apps/app/outbound/carousel/edit.js","embercom/controllers/apps/app/outbound/carousel/index.js","embercom/controllers/apps/app/outbound/chat/edit.js","embercom/controllers/apps/app/outbound/chat/index.js","embercom/controllers/apps/app/outbound/custom-bot/edit.js","embercom/controllers/apps/app/outbound/custom-bot/index.js","embercom/controllers/apps/app/outbound/email/edit.js","embercom/controllers/apps/app/outbound/email/index.js","embercom/controllers/apps/app/outbound/insights.js","embercom/controllers/apps/app/outbound/loading.js","embercom/controllers/apps/app/outbound/manual/base/manual-message-list-controller-base.js","embercom/controllers/apps/app/outbound/message-data-export-modal.js","embercom/controllers/apps/app/outbound/message.js","embercom/controllers/apps/app/outbound/messages/auto/all.js","embercom/controllers/apps/app/outbound/messages/auto/campaigns.js","embercom/controllers/apps/app/outbound/messages/auto/campaigns/campaign.js","embercom/controllers/apps/app/outbound/messages/auto/campaigns/campaign/index.js","embercom/controllers/apps/app/outbound/messages/auto/campaigns/campaign/users.js","embercom/controllers/apps/app/outbound/messages/auto/campaigns/index.js","embercom/controllers/apps/app/outbound/messages/auto/campaigns/modals/resume-campaign.js","embercom/controllers/apps/app/outbound/messages/auto/campaigns/modals/spacing-editor-guide.js","embercom/controllers/apps/app/outbound/messages/auto/draft.js","embercom/controllers/apps/app/outbound/messages/auto/folders/folder.js","embercom/controllers/apps/app/outbound/messages/auto/folders/index.js","embercom/controllers/apps/app/outbound/messages/auto/live.js","embercom/controllers/apps/app/outbound/messages/auto/loading.js","embercom/controllers/apps/app/outbound/messages/auto/message.js","embercom/controllers/apps/app/outbound/messages/auto/paused.js","embercom/controllers/apps/app/outbound/messages/auto/scheduled.js","embercom/controllers/apps/app/outbound/messages/auto/search.js","embercom/controllers/apps/app/outbound/messages/auto/yours.js","embercom/controllers/apps/app/outbound/messages/base/visitor-auto-message-list-controller-base.js","embercom/controllers/apps/app/outbound/messages/manual/draft.js","embercom/controllers/apps/app/outbound/messages/manual/index.js","embercom/controllers/apps/app/outbound/messages/manual/message.js","embercom/controllers/apps/app/outbound/messages/manual/new.js","embercom/controllers/apps/app/outbound/messages/manual/scheduled.js","embercom/controllers/apps/app/outbound/messages/manual/search.js","embercom/controllers/apps/app/outbound/messages/manual/sent-via-api.js","embercom/controllers/apps/app/outbound/messages/manual/sent.js","embercom/controllers/apps/app/outbound/messages/visitor-auto/all.js","embercom/controllers/apps/app/outbound/messages/visitor-auto/draft.js","embercom/controllers/apps/app/outbound/messages/visitor-auto/live.js","embercom/controllers/apps/app/outbound/messages/visitor-auto/message.js","embercom/controllers/apps/app/outbound/messages/visitor-auto/paused.js","embercom/controllers/apps/app/outbound/messages/visitor-auto/scheduled.js","embercom/controllers/apps/app/outbound/messages/visitor-auto/search.js","embercom/controllers/apps/app/outbound/messages/visitor-auto/yours.js","embercom/controllers/apps/app/outbound/modals/dependencies.js","embercom/controllers/apps/app/outbound/modals/message.js","embercom/controllers/apps/app/outbound/modals/move-message.js","embercom/controllers/apps/app/outbound/modals/send-test-email.js","embercom/controllers/apps/app/outbound/modals/tag.js","embercom/controllers/apps/app/outbound/modals/version-lock.js","embercom/controllers/apps/app/outbound/post/edit.js","embercom/controllers/apps/app/outbound/post/index.js","embercom/controllers/apps/app/outbound/push/edit.js","embercom/controllers/apps/app/outbound/push/index.js","embercom/controllers/apps/app/outbound/reporting/deliverability.js","embercom/controllers/apps/app/outbound/reporting/overview.js","embercom/controllers/apps/app/outbound/search.js","embercom/controllers/apps/app/outbound/series/index.js","embercom/controllers/apps/app/outbound/series/new.js","embercom/controllers/apps/app/outbound/series/series.js","embercom/controllers/apps/app/outbound/sms/edit.js","embercom/controllers/apps/app/outbound/sms/index.js","embercom/controllers/apps/app/outbound/tour/content-editor.js","embercom/controllers/apps/app/outbound/tour/edit.js","embercom/controllers/apps/app/outbound/tour/index.js","embercom/controllers/apps/app/platform/guide/index.js","embercom/controllers/apps/app/reports.js","embercom/controllers/apps/app/reports/base/performance-report.js","embercom/controllers/apps/app/reports/base/report.js","embercom/controllers/apps/app/reports/conversations.js","embercom/controllers/apps/app/reports/customer-engagement.js","embercom/controllers/apps/app/reports/customer-support/articles/closed-by-operator.js","embercom/controllers/apps/app/reports/customer-support/articles/flexible.js","embercom/controllers/apps/app/reports/customer-support/articles/index.js","embercom/controllers/apps/app/reports/customer-support/conversation-tags.js","embercom/controllers/apps/app/reports/customer-support/conversations-flexible.js","embercom/controllers/apps/app/reports/customer-support/conversations.js","embercom/controllers/apps/app/reports/customer-support/customer-satisfaction.js","embercom/controllers/apps/app/reports/customer-support/effectiveness.js","embercom/controllers/apps/app/reports/customer-support/export.js","embercom/controllers/apps/app/reports/customer-support/overview.js","embercom/controllers/apps/app/reports/customer-support/resolution-bot.js","embercom/controllers/apps/app/reports/customer-support/responsiveness.js","embercom/controllers/apps/app/reports/customer-support/slas.js","embercom/controllers/apps/app/reports/customer-support/team-performance.js","embercom/controllers/apps/app/reports/inbox.js","embercom/controllers/apps/app/reports/inbox/summary/sales.js","embercom/controllers/apps/app/reports/lead-generation/custom-bots.js","embercom/controllers/apps/app/reports/lead-generation/custom-bots/base.js","embercom/controllers/apps/app/reports/lead-generation/custom-bots/completed.js","embercom/controllers/apps/app/reports/lead-generation/custom-bots/engaged.js","embercom/controllers/apps/app/reports/lead-generation/custom-bots/sent.js","embercom/controllers/apps/app/reports/lead-generation/leads.js","embercom/controllers/apps/app/reports/lead-generation/sales.js","embercom/controllers/apps/app/reports/overview.js","embercom/controllers/apps/app/settings.js","embercom/controllers/apps/app/settings/android.js","embercom/controllers/apps/app/settings/api-keys.js","embercom/controllers/apps/app/settings/attachment-settings.js","embercom/controllers/apps/app/settings/base/attribute-settings-controller.js","embercom/controllers/apps/app/settings/base/segment-tag-controller.js","embercom/controllers/apps/app/settings/blocked-users.js","embercom/controllers/apps/app/settings/company-data.js","embercom/controllers/apps/app/settings/company-segments.js","embercom/controllers/apps/app/settings/conversation-data.js","embercom/controllers/apps/app/settings/email-forwarding.js","embercom/controllers/apps/app/settings/email-templates/copy-template.js","embercom/controllers/apps/app/settings/email-templates/edit-template.js","embercom/controllers/apps/app/settings/email-templates/email-templates.js","embercom/controllers/apps/app/settings/events.js","embercom/controllers/apps/app/settings/general.js","embercom/controllers/apps/app/settings/identity-verification/android.js","embercom/controllers/apps/app/settings/identity-verification/identity-verification-base-platform.js","embercom/controllers/apps/app/settings/identity-verification/ios.js","embercom/controllers/apps/app/settings/identity-verification/web.js","embercom/controllers/apps/app/settings/imports.js","embercom/controllers/apps/app/settings/ios.js","embercom/controllers/apps/app/settings/lead-qualification-attributes.js","embercom/controllers/apps/app/settings/logs.js","embercom/controllers/apps/app/settings/messaging.js","embercom/controllers/apps/app/settings/modals/attribute-details.js","embercom/controllers/apps/app/settings/modals/checking-dependents.js","embercom/controllers/apps/app/settings/modals/custom-event-details.js","embercom/controllers/apps/app/settings/modals/delete-app-modal.js","embercom/controllers/apps/app/settings/modals/event-creation-modal.js","embercom/controllers/apps/app/settings/modals/logs-export.js","embercom/controllers/apps/app/settings/modals/permission-request.js","embercom/controllers/apps/app/settings/modals/reassign-messages-base.js","embercom/controllers/apps/app/settings/modals/reassign-messages.js","embercom/controllers/apps/app/settings/office-hours.js","embercom/controllers/apps/app/settings/people-data.js","embercom/controllers/apps/app/settings/people-segments.js","embercom/controllers/apps/app/settings/qualification-settings.js","embercom/controllers/apps/app/settings/saved-replies.js","embercom/controllers/apps/app/settings/sdk-base-controller.js","embercom/controllers/apps/app/settings/security.js","embercom/controllers/apps/app/settings/senders.js","embercom/controllers/apps/app/settings/service-worker.js","embercom/controllers/apps/app/settings/slas.js","embercom/controllers/apps/app/settings/spam-messages.js","embercom/controllers/apps/app/settings/tags-new.js","embercom/controllers/apps/app/settings/tags.js","embercom/controllers/apps/app/settings/teammates/index.js","embercom/controllers/apps/app/settings/teams.js","embercom/controllers/apps/app/settings/universal-linking.js","embercom/controllers/apps/app/settings/web.js","embercom/controllers/apps/app/settings/webhooks/index.js","embercom/controllers/apps/app/teams-checkout.js","embercom/controllers/apps/app/teams-checkout/confirm.js","embercom/controllers/apps/app/teams-checkout/early-stage-application.js","embercom/controllers/apps/app/teams-checkout/plan.js","embercom/controllers/apps/app/teams-checkout/verify.js","embercom/controllers/apps/app/test-conversation.js","embercom/controllers/apps/app/tours/edit.js","embercom/controllers/apps/app/tours/index.js","embercom/controllers/apps/app/users.js","embercom/controllers/apps/app/users/segments.js","embercom/controllers/apps/app/users/segments/segment.js","embercom/controllers/apps/app/users/segments/segment/modals/export.js","embercom/controllers/apps/app/users/segments/segment/modals/message.js","embercom/controllers/apps/app/users/segments/segment/modals/segment.js","embercom/controllers/apps/app/users/segments/segment/modals/tagging.js","embercom/controllers/apps/app/users/user.js","embercom/controllers/apps/app/users/user/all-conversations.js","embercom/controllers/apps/app/users/user/base/user-conversations-feed-controller-base.js","embercom/controllers/apps/app/users/user/conversations.js","embercom/controllers/apps/app/users/user/modals/impersonate.js","embercom/controllers/apps/app/users/user/modals/subscription.js","embercom/controllers/apps/app/video.js","embercom/controllers/apps/new.js","embercom/controllers/appstore.js","embercom/controllers/appstore/app-package.js","embercom/controllers/appstore/index.js","embercom/controllers/array.js","embercom/controllers/base/appstore.js","embercom/controllers/base/appstore/app-package.js","embercom/controllers/base/appstore/index.js","embercom/controllers/base/conversation-style.js","embercom/controllers/base/conversation.js","embercom/controllers/base/early_stage/validations.js","embercom/controllers/base/guide/index.js","embercom/controllers/base/insights.js","embercom/controllers/base/modals/company-message.js","embercom/controllers/base/modals/delete.js","embercom/controllers/base/modals/export.js","embercom/controllers/base/modals/message.js","embercom/controllers/base/modals/segment.js","embercom/controllers/base/modals/tag.js","embercom/controllers/base/user-or-companies.js","embercom/controllers/canvas-kit-builder/index.js","embercom/controllers/canvas-kit-builder/preview.js","embercom/controllers/feature-upgrade-prompt.js","embercom/controllers/graph-demo.js","embercom/controllers/invite.js","embercom/controllers/meeting-scheduler.js","embercom/controllers/mixins/conversations/saved-reply-search.js","embercom/controllers/mixins/intercom-modal.js","embercom/controllers/mixins/message-events.js","embercom/controllers/mixins/messages/ember-data-message-list.js","embercom/controllers/mixins/messages/folder-export-actions.js","embercom/controllers/mixins/messages/message-list-search.js","embercom/controllers/mixins/number-pagination.js","embercom/controllers/mixins/reachability-events.js","embercom/controllers/mixins/rules/rule-card-selection.js","embercom/controllers/mixins/users-and-admins/location-data.js","embercom/controllers/mixins/users-and-companies/bulk-action-modal.js","embercom/controllers/mixins/users-and-companies/list-selection.js","embercom/controllers/mixins/users-and-companies/modal-actions.js","embercom/controllers/mixins/users-and-companies/page-loader.js","embercom/controllers/mixins/users-and-companies/segment-actions.js","embercom/controllers/mixins/users-and-companies/segment-query-params.js","embercom/controllers/mixins/users-and-companies/track-filtering-events.js","embercom/controllers/oauth/connect.js","embercom/controllers/object.js","embercom/controllers/saml.js","embercom/controllers/sign-in.js","embercom/controllers/signup.js","embercom/controllers/signup/teams.js","embercom/controllers/signup/teams/index.js","embercom/controllers/video.js","embercom/embercom-core-docs.js","embercom/helpers-raw/register.js","embercom/helpers/-clear-element.js","embercom/helpers/-element.js","embercom/helpers/abbreviated-relative-time-ago-helper.js","embercom/helpers/abbreviated-relative-time-helper.js","embercom/helpers/abs.js","embercom/helpers/absolute-url.js","embercom/helpers/add.js","embercom/helpers/admin-timeago-helper.js","embercom/helpers/and.js","embercom/helpers/app-version.js","embercom/helpers/append.js","embercom/helpers/array-inflector-helper.js","embercom/helpers/article-timeago-helper.js","embercom/helpers/assign.js","embercom/helpers/audience-types.js","embercom/helpers/button-classes-metal.js","embercom/helpers/camelize.js","embercom/helpers/cancel-all.js","embercom/helpers/capitalize-array.js","embercom/helpers/capitalize.js","embercom/helpers/character-index.js","embercom/helpers/chunk.js","embercom/helpers/classify.js","embercom/helpers/compact.js","embercom/helpers/composer-error-logger.js","embercom/helpers/compute.js","embercom/helpers/contains.js","embercom/helpers/content-type.js","embercom/helpers/content-versioning.js","embercom/helpers/conversation-part-compacter.js","embercom/helpers/country-select-helper.js","embercom/helpers/created-via.js","embercom/helpers/currency-formatter-helper.js","embercom/helpers/dasherize.js","embercom/helpers/data-bag.js","embercom/helpers/date-helper.js","embercom/helpers/dec.js","embercom/helpers/display-admin-as-firstname.js","embercom/helpers/display-admin-as-reflexive.js","embercom/helpers/display-admin-as.js","embercom/helpers/div.js","embercom/helpers/documentation-metadata.js","embercom/helpers/drop.js","embercom/helpers/ember-power-calendar-day-classes.js","embercom/helpers/entries.js","embercom/helpers/enum-validation.js","embercom/helpers/eq.js","embercom/helpers/filter-by.js","embercom/helpers/filter.js","embercom/helpers/find-by.js","embercom/helpers/fixed-grid-layout.js","embercom/helpers/flatten.js","embercom/helpers/format-array-to-sentence.js","embercom/helpers/format-bucket-range.js","embercom/helpers/format-date.js","embercom/helpers/format-message.js","embercom/helpers/format-name-as-initials.js","embercom/helpers/format-number-to-text.js","embercom/helpers/format-number.js","embercom/helpers/format-percentage-reports-detailed.js","embercom/helpers/format-percentage-reports.js","embercom/helpers/format-percentage.js","embercom/helpers/format-relative.js","embercom/helpers/format-time.js","embercom/helpers/format-timezone.js","embercom/helpers/format-url.js","embercom/helpers/format.js","embercom/helpers/from-entries.js","embercom/helpers/full-date-and-time-helper.js","embercom/helpers/full-relative-time-ago-helper.js","embercom/helpers/full-relative-time-helper.js","embercom/helpers/get-with-literal-key.js","embercom/helpers/ghost-text.js","embercom/helpers/group-by.js","embercom/helpers/gt.js","embercom/helpers/gte.js","embercom/helpers/has-feature.js","embercom/helpers/has-next.js","embercom/helpers/has-previous.js","embercom/helpers/has-url-feature.js","embercom/helpers/href-to.js","embercom/helpers/html-safe.js","embercom/helpers/humanize.js","embercom/helpers/ic-avatar.js","embercom/helpers/ic-interface-icon.js","embercom/helpers/ic-legacy-table-cell-helper.js","embercom/helpers/ic-stamp.js","embercom/helpers/if-key.js","embercom/helpers/inc.js","embercom/helpers/include-office-hours-tooltip.js","embercom/helpers/includes.js","embercom/helpers/index-increment-helper.js","embercom/helpers/index-of.js","embercom/helpers/inflector-helper.js","embercom/helpers/inline-svg.js","embercom/helpers/intersect.js","embercom/helpers/invoke.js","embercom/helpers/is-active.js","embercom/helpers/is-after.js","embercom/helpers/is-array.js","embercom/helpers/is-before.js","embercom/helpers/is-between.js","embercom/helpers/is-empty.js","embercom/helpers/is-equal.js","embercom/helpers/is-even.js","embercom/helpers/is-present.js","embercom/helpers/is-same-or-after.js","embercom/helpers/is-same-or-before.js","embercom/helpers/is-same.js","embercom/helpers/join.js","embercom/helpers/json.js","embercom/helpers/keys.js","embercom/helpers/language-name-from-code.js","embercom/helpers/lf-lock-model.js","embercom/helpers/lf-or.js","embercom/helpers/location-select-helper.js","embercom/helpers/lowercase.js","embercom/helpers/lt.js","embercom/helpers/lte.js","embercom/helpers/mail-to-helper.js","embercom/helpers/map-by.js","embercom/helpers/map.js","embercom/helpers/match.js","embercom/helpers/max.js","embercom/helpers/media.js","embercom/helpers/merge-objects.js","embercom/helpers/message-style-class.js","embercom/helpers/minutes-formatter.js","embercom/helpers/mixed-grid-layout.js","embercom/helpers/mobile-device-class.js","embercom/helpers/mod.js","embercom/helpers/moment-add.js","embercom/helpers/moment-calendar.js","embercom/helpers/moment-diff.js","embercom/helpers/moment-duration.js","embercom/helpers/moment-format.js","embercom/helpers/moment-from-now.js","embercom/helpers/moment-from.js","embercom/helpers/moment-subtract.js","embercom/helpers/moment-to-date.js","embercom/helpers/moment-to-now.js","embercom/helpers/moment-to.js","embercom/helpers/moment-unix.js","embercom/helpers/moment.js","embercom/helpers/multiply.js","embercom/helpers/next.js","embercom/helpers/noop.js","embercom/helpers/not-eq.js","embercom/helpers/not.js","embercom/helpers/now.js","embercom/helpers/number-formatter-helper.js","embercom/helpers/numeric-formatter-helper.js","embercom/helpers/object-at.js","embercom/helpers/on-document.js","embercom/helpers/on-key.js","embercom/helpers/on-window-throttled-resize.js","embercom/helpers/on-window.js","embercom/helpers/on.js","embercom/helpers/one-way-select/contains.js","embercom/helpers/optional.js","embercom/helpers/or.js","embercom/helpers/palette.js","embercom/helpers/percentage-columns-layout.js","embercom/helpers/perform.js","embercom/helpers/performance/capture-render-end-fn.js","embercom/helpers/performance/capture-render-end.js","embercom/helpers/performance/capture-render-start-fn.js","embercom/helpers/performance/capture-render-start.js","embercom/helpers/permission-label.js","embercom/helpers/pick.js","embercom/helpers/pipe-action.js","embercom/helpers/pipe.js","embercom/helpers/pluralize.js","embercom/helpers/power-calendar-format-date.js","embercom/helpers/prevent-default.js","embercom/helpers/previous.js","embercom/helpers/purchase-analytics-event.js","embercom/helpers/queue.js","embercom/helpers/random-number.js","embercom/helpers/range.js","embercom/helpers/reduce.js","embercom/helpers/reject-by.js","embercom/helpers/render-blocks.js","embercom/helpers/render-html.js","embercom/helpers/repeat.js","embercom/helpers/reporting/filter.js","embercom/helpers/reporting/known-values.js","embercom/helpers/reporting/nested-keys.js","embercom/helpers/required-validation.js","embercom/helpers/reverse.js","embercom/helpers/route-action.js","embercom/helpers/route-params.js","embercom/helpers/seconds-formatter.js","embercom/helpers/send.js","embercom/helpers/sentence-case.js","embercom/helpers/series-edge-label.js","embercom/helpers/service.js","embercom/helpers/set.js","embercom/helpers/shuffle.js","embercom/helpers/simple-capitalize.js","embercom/helpers/singularize.js","embercom/helpers/slice.js","embercom/helpers/sort-by.js","embercom/helpers/sort-icon-pattern.js","embercom/helpers/state-name.js","embercom/helpers/stats-count.js","embercom/helpers/stats-system/stats-parameters.js","embercom/helpers/stop-propagation.js","embercom/helpers/sub.js","embercom/helpers/t.js","embercom/helpers/take.js","embercom/helpers/task.js","embercom/helpers/time-from-now-helper.js","embercom/helpers/title-case.js","embercom/helpers/titleize.js","embercom/helpers/toggle-action.js","embercom/helpers/toggle.js","embercom/helpers/track-analytics-event.js","embercom/helpers/track-event.js","embercom/helpers/transition-to.js","embercom/helpers/truncate-string.js","embercom/helpers/truncate.js","embercom/helpers/tt.js","embercom/helpers/underscore.js","embercom/helpers/union.js","embercom/helpers/uniq-by.js","embercom/helpers/unit-formatter.js","embercom/helpers/unix.js","embercom/helpers/unless-event-target-decends-from.js","embercom/helpers/uppercase.js","embercom/helpers/url-for.js","embercom/helpers/utc.js","embercom/helpers/values.js","embercom/helpers/visibility/base-visibility-helper.js","embercom/helpers/visibility/hidden-segments.js","embercom/helpers/visibility/hidden-tags.js","embercom/helpers/visibility/visible-segments.js","embercom/helpers/visibility/visible-tags.js","embercom/helpers/w.js","embercom/helpers/without.js","embercom/helpers/xor.js","embercom/initializers/app-version.js","embercom/initializers/attribute-service.js","embercom/initializers/browser-alerts.js","embercom/initializers/client-profiler-service.js","embercom/initializers/console-message.js","embercom/initializers/container-debug-adapter.js","embercom/initializers/debug.js","embercom/initializers/desktop-notifications.js","embercom/initializers/ember-concurrency.js","embercom/initializers/ember-data.js","embercom/initializers/ember-keyboard-first-responder-inputs.js","embercom/initializers/ember-responsive-breakpoints.js","embercom/initializers/ember-stripe-elements.js","embercom/initializers/export-application-global.js","embercom/initializers/fragment.js","embercom/initializers/frontend-stats.js","embercom/initializers/head-tags.js","embercom/initializers/inbox.js","embercom/initializers/inter-lock.js","embercom/initializers/intercom-events-service.js","embercom/initializers/intercom-preboot.js","embercom/initializers/jquery-ajax-prefilter.js","embercom/initializers/link-component.js","embercom/initializers/liquid-fire.js","embercom/initializers/model-data-cache-service.js","embercom/initializers/model-fragments.js","embercom/initializers/notifications-service.js","embercom/initializers/permissions-service.js","embercom/initializers/predicates-service.js","embercom/initializers/reachability.js","embercom/initializers/reopen-model.js","embercom/initializers/router-head-tags.js","embercom/initializers/service-worker.js","embercom/initializers/sounds.js","embercom/initializers/user-updater-service.js","embercom/initializers/velocity.js","embercom/instance-initializers/composer-instrumentation.js","embercom/instance-initializers/ember-data.js","embercom/instance-initializers/ember-href-to.js","embercom/instance-initializers/export-global-application-instance.js","embercom/instance-initializers/head-browser.js","embercom/instance-initializers/link-analytics-events.js","embercom/instance-initializers/logout-link-handler.js","embercom/instance-initializers/model-data-cache.js","embercom/instance-initializers/plugins.js","embercom/lib/abbreviated-relative-time-ago.js","embercom/lib/abbreviated-relative-time.js","embercom/lib/adapter/embercom-adapter.js","embercom/lib/address-settings.js","embercom/lib/address-validation.js","embercom/lib/admin-time-ago.js","embercom/lib/admin-view-tracking.js","embercom/lib/admins/admin-profiles.js","embercom/lib/admins/app-admin-events-constants.js","embercom/lib/admins/app-admin-events-query.js","embercom/lib/admins/inbox-seat-info.js","embercom/lib/admins/seat-info.js","embercom/lib/ajax.js","embercom/lib/app-store/app-package-constants.js","embercom/lib/appstore/unsubscribe-app.js","embercom/lib/article-time-ago.js","embercom/lib/articles/composer-config.ts","embercom/lib/articles/constants.js","embercom/lib/articles/embercom-file-uploader.ts","embercom/lib/attribute-with-settings.js","embercom/lib/available-emoji.js","embercom/lib/billing.js","embercom/lib/billing/address-params.js","embercom/lib/blocks/create-fragment-from-block.js","embercom/lib/blocks/generate-preview-blocks.js","embercom/lib/browser-locales.js","embercom/lib/browser-platform.js","embercom/lib/carousels/add-screen-animation.js","embercom/lib/cda-onboarding/cda-tool-opener.js","embercom/lib/cda-onboarding/validation.js","embercom/lib/color.js","embercom/lib/comma-separated-list.js","embercom/lib/common/predicates/anonymous-predicate-manager.js","embercom/lib/common/predicates/boolean-predicate-manager.js","embercom/lib/common/predicates/campaign-behavior-predicate-manager.js","embercom/lib/common/predicates/campaign-goal-predicate-manager.js","embercom/lib/common/predicates/content-event-predicate-manager.js","embercom/lib/common/predicates/data-managers.js","embercom/lib/common/predicates/date-predicate-manager.js","embercom/lib/common/predicates/default-predicate-manager.js","embercom/lib/common/predicates/email-disengagement-manager.js","embercom/lib/common/predicates/logical-predicate-manager.js","embercom/lib/common/predicates/numeric-predicate-manager.js","embercom/lib/common/predicates/numeric-tag-predicate-manager.js","embercom/lib/common/predicates/optional-tag-predicate-manager.js","embercom/lib/common/predicates/over-messaging-protection-predicate-manager.js","embercom/lib/common/predicates/role-predicate-manager.js","embercom/lib/common/predicates/string-predicate-manager.js","embercom/lib/common/predicates/tag-predicate-manager.js","embercom/lib/common/predicates/url-visit-predicate-manager.js","embercom/lib/compare-versions.js","embercom/lib/composer/computed.js","embercom/lib/composer/get-blocks-info.js","embercom/lib/container-lookup.js","embercom/lib/conversation-part/external-reply-send-states.js","embercom/lib/conversational-insights/topic-stats-for-display.js","embercom/lib/count-formatter.js","embercom/lib/countries.js","embercom/lib/currency-formatter.js","embercom/lib/custom-inflector-rules.js","embercom/lib/data-attributes/data-attribute-archiver.js","embercom/lib/data-mutations/constants/commands.js","embercom/lib/data-mutations/history.js","embercom/lib/data-mutations/mutator.js","embercom/lib/data-mutations/validators.js","embercom/lib/date-and-time-formats.js","embercom/lib/default-chart-options.js","embercom/lib/default-predicates.js","embercom/lib/detects-intercomrades-domain.js","embercom/lib/developer-guidelines.js","embercom/lib/developer-hub/diff-calculator.js","embercom/lib/developer-hub/partner-flag.js","embercom/lib/developer-hub/pricing-models.js","embercom/lib/developer-hub/review-state-machine.js","embercom/lib/duration-formatter.js","embercom/lib/email.js","embercom/lib/embercom-boot-data.js","embercom/lib/emoji.js","embercom/lib/escape-regular-expression.js","embercom/lib/event-path.js","embercom/lib/events/entity-node.js","embercom/lib/events/event-tokenizer.js","embercom/lib/events/text-node.js","embercom/lib/excerpt.js","embercom/lib/extract-response-error.js","embercom/lib/facebook-sdk.js","embercom/lib/facebook.js","embercom/lib/favicon-counter.js","embercom/lib/feature-limits.js","embercom/lib/filters-to-text.js","embercom/lib/flat-map-by.js","embercom/lib/form-for-download.js","embercom/lib/format-timezone-to-utc.js","embercom/lib/full-relative-time-ago.js","embercom/lib/full-relative-time.js","embercom/lib/graph-editor/user-agent-detector.js","embercom/lib/graph-editor/wheel-event-decoder.js","embercom/lib/gtm.js","embercom/lib/guide/start-screen/installation-options.js","embercom/lib/home/guide-assistant-scripts.js","embercom/lib/home/guide-footer-content.js","embercom/lib/home/guides.js","embercom/lib/home/handover-videos.js","embercom/lib/home/levels.js","embercom/lib/home/scroll-to-level.js","embercom/lib/home/sections.js","embercom/lib/home/steps.js","embercom/lib/html-unescape.js","embercom/lib/identity-verification-risk-states.js","embercom/lib/identity-verification-strictness.js","embercom/lib/image-size.js","embercom/lib/immutable-product.js","embercom/lib/impersonation-request.js","embercom/lib/import/authorize-url-builder.js","embercom/lib/import/oauth-providers.js","embercom/lib/inbox/background-inbox-list.js","embercom/lib/inbox/composer-config-plaintext.ts","embercom/lib/inbox/composer-config.ts","embercom/lib/inbox/constants.js","embercom/lib/inbox/conversation-list.js","embercom/lib/inbox/conversation-loader.js","embercom/lib/inbox/conversation-sorter.js","embercom/lib/inbox/conversation-stream-synced-list.js","embercom/lib/inbox/date-range-bucket-formatter.js","embercom/lib/inbox/display-admin-as.js","embercom/lib/inbox/find-conversation-diff.js","embercom/lib/inbox/polling-synced-list.js","embercom/lib/inbox/prosemirror-composer-wrapper.ts","embercom/lib/inbox/realtime-adapter.js","embercom/lib/inbox/realtime-inbox-updater.js","embercom/lib/inbox/reporting/setup-line-chart-signal.js","embercom/lib/inbox/search.js","embercom/lib/inbox/shopify/order.js","embercom/lib/inbox/synced-list.js","embercom/lib/inbox/transition-information.js","embercom/lib/inclusive-range.js","embercom/lib/incubators.js","embercom/lib/inflector.js","embercom/lib/insights/messages-chart-tooltip-formatter.js","embercom/lib/installation-docs-url.js","embercom/lib/integrations/after-models.js","embercom/lib/integrations/can-view-integration.js","embercom/lib/integrations/models.js","embercom/lib/integrations/slack-reports-labels.js","embercom/lib/intercom-confirm.js","embercom/lib/intercom-timezone-options.js","embercom/lib/intercom-widget-helper.js","embercom/lib/intercomrades-products-override.js","embercom/lib/intersection.js","embercom/lib/invite-error-strings.js","embercom/lib/load-app-route.js","embercom/lib/local-feature-flags.js","embercom/lib/locale.js","embercom/lib/log-composer-v2-error.js","embercom/lib/lru-cache.js","embercom/lib/marketing-font.js","embercom/lib/measure-html.js","embercom/lib/messages/generate-summary.js","embercom/lib/messages/message-counts.js","embercom/lib/messages/message-data-export-constants.js","embercom/lib/messages/message-router.js","embercom/lib/messages/query.js","embercom/lib/messages/real-time-stats-translations.js","embercom/lib/messages/render-email-template.js","embercom/lib/messages/stats-keys.js","embercom/lib/messages/stats-tables-helper.js","embercom/lib/messages/ui/actions/control-group-delete.js","embercom/lib/messages/ui/actions/control-group-end.js","embercom/lib/messages/ui/actions/message-activate.js","embercom/lib/messages/ui/actions/message-control-group-create.js","embercom/lib/messages/ui/actions/message-deactivate.js","embercom/lib/messages/ui/actions/message-delete.js","embercom/lib/messages/ui/actions/message-duplicate.js","embercom/lib/messages/ui/actions/message-move.js","embercom/lib/messages/ui/actions/message-remove-schedule.js","embercom/lib/messages/ui/actions/message-save.js","embercom/lib/messages/ui/actions/message-schedule.js","embercom/lib/messages/ui/actions/message-start-ab-test-helpers.js","embercom/lib/messages/ui/actions/message-stop.js","embercom/lib/messages/ui/actions/variation-activate.js","embercom/lib/messages/ui/actions/variation-deactivate.js","embercom/lib/messages/ui/actions/variation-delete.js","embercom/lib/messages/ui/actions/variation-generate-html-preview.js","embercom/lib/messages/ui/text-generator.js","embercom/lib/messages/ui/utility/user-label.js","embercom/lib/messenger-settings-defaults.js","embercom/lib/messenger/installation-constants.js","embercom/lib/messenger/messenger-verification.js","embercom/lib/meta-tags.js","embercom/lib/model-cache/helper.js","embercom/lib/nonconcurrent-ajax.js","embercom/lib/number-formatter.js","embercom/lib/numeric-formatter.js","embercom/lib/oauth/scopes.js","embercom/lib/office-hours/interval-group.js","embercom/lib/onboarding/image-magnification.js","embercom/lib/onboarding/use-cases.js","embercom/lib/open-centered-window.js","embercom/lib/operator/answer-bot/constants.js","embercom/lib/operator/custom-bots/constants.js","embercom/lib/operator/custom-bots/prompt-composer-config.ts","embercom/lib/operator/svg-to-png-renderer.js","embercom/lib/outbound/base-list-controller.js","embercom/lib/outbound/base-list-route.js","embercom/lib/parse-text-to-json.js","embercom/lib/percentage-formatter.js","embercom/lib/permission-labels.js","embercom/lib/phone-codes.js","embercom/lib/plan-updater.js","embercom/lib/pointer-position.js","embercom/lib/predicates-helper.js","embercom/lib/primary-nav/open-overflow-menu.js","embercom/lib/product-key-from-id.js","embercom/lib/products-from-solution-id.js","embercom/lib/promise-array.js","embercom/lib/promise-get-script.js","embercom/lib/promise-sortable-array.js","embercom/lib/promise.js","embercom/lib/purchase/pricing-metric.js","embercom/lib/purchase/setup.js","embercom/lib/reactions/default-reactions.js","embercom/lib/readable-products.js","embercom/lib/redirect.js","embercom/lib/relative-time.js","embercom/lib/reordering.js","embercom/lib/replace-mentions.js","embercom/lib/reporting/conversation-event-blocks.js","embercom/lib/reporting/custom/conversation-attribute-filters.js","embercom/lib/reporting/custom/data-response-transforms.js","embercom/lib/reporting/custom/filter-helpers.js","embercom/lib/reporting/custom/helpers.js","embercom/lib/reporting/custom/object-catalog.js","embercom/lib/reporting/custom/report-store.js","embercom/lib/reporting/date-formatter.js","embercom/lib/reporting/es-conversation-attributes.js","embercom/lib/reporting/events.js","embercom/lib/reporting/export-columns.js","embercom/lib/reporting/flexible/articles.js","embercom/lib/reporting/flexible/axis.js","embercom/lib/reporting/flexible/columnchart-builder.js","embercom/lib/reporting/flexible/constants.js","embercom/lib/reporting/flexible/custom-attributes.js","embercom/lib/reporting/flexible/datarequest-builder.js","embercom/lib/reporting/flexible/default-column-chart-config.js","embercom/lib/reporting/flexible/default-heatmap-chart-config.js","embercom/lib/reporting/flexible/default-highchart-config.js","embercom/lib/reporting/flexible/default-line-chart-config.js","embercom/lib/reporting/flexible/filter-display-formatter.js","embercom/lib/reporting/flexible/filter-helpers.js","embercom/lib/reporting/flexible/formatters/index.js","embercom/lib/reporting/flexible/formatters/percent.js","embercom/lib/reporting/flexible/formatters/seconds.js","embercom/lib/reporting/flexible/formatters/time.js","embercom/lib/reporting/flexible/formatters/value.js","embercom/lib/reporting/flexible/heatmap-builder.js","embercom/lib/reporting/flexible/interval-formatter.js","embercom/lib/reporting/flexible/linechart-builder.js","embercom/lib/reporting/flexible/reverse-filter-mappings.js","embercom/lib/reporting/flexible/table-datarequest-builder.js","embercom/lib/reporting/flexible/table-dataresponse-mapper.js","embercom/lib/reporting/flexible/tooltip.js","embercom/lib/reporting/flexible/view-config.js","embercom/lib/reporting/messages-report-queries.js","embercom/lib/reporting/multi-signal-parsing.js","embercom/lib/reporting/nested-field-filters.js","embercom/lib/reporting/office-hours-field.js","embercom/lib/reporting/queries-conversation-explorer.js","embercom/lib/reporting/queries.js","embercom/lib/reporting/signal-transformations.js","embercom/lib/reporting/visualization-helpers.js","embercom/lib/reporting/week-days.js","embercom/lib/resolve-all-promises.js","embercom/lib/rgba-to-hex.js","embercom/lib/route-regexes.js","embercom/lib/router/embercom-router.js","embercom/lib/router/get-transition-params.js","embercom/lib/routes/get-default-segment.js","embercom/lib/run.js","embercom/lib/safe-window-open.js","embercom/lib/saml.js","embercom/lib/screen-awareness.js","embercom/lib/scroll-into-view-if-not-visible.js","embercom/lib/scrollbar-width.js","embercom/lib/search/client.js","embercom/lib/segments/segment-service.js","embercom/lib/segments/sorting.js","embercom/lib/sentry.js","embercom/lib/series/constants.js","embercom/lib/series/loop-detector.js","embercom/lib/sha1.js","embercom/lib/share-urls.js","embercom/lib/show-under-construction.js","embercom/lib/simple-capitalize.js","embercom/lib/solutions.js","embercom/lib/sortable-mixin.js","embercom/lib/sounds.js","embercom/lib/states.js","embercom/lib/svg-icons.js","embercom/lib/tags/tag-helper.js","embercom/lib/tags/tag-settings-list.js","embercom/lib/teammate-app.js","embercom/lib/time-zone.js","embercom/lib/to-sentence.js","embercom/lib/truncate-string.js","embercom/lib/trusted-list-url-validator.js","embercom/lib/ttl-cache.js","embercom/lib/url-appender.js","embercom/lib/url-feature-flags.js","embercom/lib/url-parser.js","embercom/lib/url-redacter.js","embercom/lib/url-truncator.js","embercom/lib/url-validator.js","embercom/lib/usage-formatter.js","embercom/lib/user-content-seen-state.js","embercom/lib/user-events/event-archiver.js","embercom/lib/users/activity-feed-query-subscription.js","embercom/lib/users/activity-feed-query.js","embercom/lib/users/user-company-list/filter-link-builder.js","embercom/lib/users/user-company-list/raw-value-to-filter-value.js","embercom/lib/uuid-generator.js","embercom/lib/vapid-token.js","embercom/lib/video-embed-url.js","embercom/lib/video/video-projects.js","embercom/lib/workflows/constants/triggers.js","embercom/lib/workflows/helpers/delays.js","embercom/mixins/campaigns/autosave.js","embercom/mixins/embedded-messenger/loader.js","embercom/mixins/insights/lead-conversation-stats.js","embercom/mixins/messages/campaign-audience-preview-real-time.js","embercom/mixins/messages/message-list-columns.js","embercom/mixins/messages/message-list-stats.js","embercom/models/account.js","embercom/models/activity-feed-item.js","embercom/models/activity-subject.js","embercom/models/admin-impersonation-consent.js","embercom/models/admin-notification-settings.js","embercom/models/admin-pageview.js","embercom/models/admin-teammate-app-settings.js","embercom/models/admin.js","embercom/models/answers/answer-stats.js","embercom/models/answers/answer.js","embercom/models/answers/cluster.js","embercom/models/answers/clusters/example.js","embercom/models/answers/control-criteria.js","embercom/models/answers/control-option.js","embercom/models/answers/control-word.js","embercom/models/answers/example-question.js","embercom/models/answers/example.js","embercom/models/answers/multipart-response.js","embercom/models/answers/rejected-example-question.js","embercom/models/answers/response-part-messenger-card.js","embercom/models/answers/response-part-text.js","embercom/models/answers/response-part.js","embercom/models/answers/suggested-answer-cluster.js","embercom/models/answers/ui/question-training-state.js","embercom/models/app-conversation-capacity-limit.js","embercom/models/app-framework/canvas.js","embercom/models/app-framework/component-content.js","embercom/models/app-install.js","embercom/models/app-package-install-usage.js","embercom/models/app-sign-in-configuration.js","embercom/models/app-sso-domain.js","embercom/models/app.js","embercom/models/appstore/app-card.js","embercom/models/appstore/app-package.js","embercom/models/appstore/app-package/campaign-monitor/settings.js","embercom/models/appstore/app-package/clearbit/attribute.js","embercom/models/appstore/app-package/clearbit/settings.js","embercom/models/appstore/app-package/get-a-demo/app-setting.js","embercom/models/appstore/app-package/google-calendar-meetings/app-settings.js","embercom/models/appstore/app-package/google-meet/settings.js","embercom/models/appstore/app-package/hubspot/settings.js","embercom/models/appstore/app-package/invitation.js","embercom/models/appstore/app-package/invite-form-state.js","embercom/models/appstore/app-package/mailchimp/settings.js","embercom/models/appstore/app-package/marketo-enrichment/settings.js","embercom/models/appstore/app-package/outlook-calendar-meetings/app-settings.js","embercom/models/appstore/app-package/pethotel/settings.js","embercom/models/appstore/app-package/quick-links/link.js","embercom/models/appstore/app-package/quick-links/settings.js","embercom/models/appstore/app-package/statuspage/settings.js","embercom/models/appstore/app-package/stripe/app-settings.js","embercom/models/appstore/app-package/stripe/subscription.js","embercom/models/appstore/app-package/webinar/settings.js","embercom/models/appstore/app-package/zendesk-for-inbox/settings.js","embercom/models/appstore/category.js","embercom/models/article-folder.js","embercom/models/article-import-job.js","embercom/models/article-multilingual.js","embercom/models/article.js","embercom/models/articles/article-content.js","embercom/models/articles/article-group-content.js","embercom/models/articles/article-group.js","embercom/models/articles/site/supported-locale.js","embercom/models/attachment-settings.js","embercom/models/attempted-paid-action.js","embercom/models/attribute.js","embercom/models/banners/banner.js","embercom/models/banners/localized-banner-content.js","embercom/models/billing/address.js","embercom/models/billing/contract.js","embercom/models/billing/customer.js","embercom/models/billing/early-stage-graduation.js","embercom/models/billing/subscription.js","embercom/models/blocked-user.js","embercom/models/brand-domain.js","embercom/models/brand.js","embercom/models/browser-locale.js","embercom/models/calendar-settings.js","embercom/models/campaign-message-preview.js","embercom/models/campaign-stats.js","embercom/models/campaign-summary.js","embercom/models/campaign.js","embercom/models/cancellation-feedback-response.js","embercom/models/cancellation-question-response.js","embercom/models/cancellation-question.js","embercom/models/cancellation-reason.js","embercom/models/carousels/carousel-action.js","embercom/models/carousels/carousel-screen.js","embercom/models/carousels/carousel.js","embercom/models/carousels/localized-carousel-content.js","embercom/models/chats/chat.js","embercom/models/chats/localized-chat-content.js","embercom/models/click-tracking-domain-opt-out.js","embercom/models/common/blocks/attachment-list.js","embercom/models/common/blocks/attachment.js","embercom/models/common/blocks/block.js","embercom/models/common/blocks/button.js","embercom/models/common/blocks/code.js","embercom/models/common/blocks/facebook-like-button.js","embercom/models/common/blocks/heading.js","embercom/models/common/blocks/html.js","embercom/models/common/blocks/image-text.js","embercom/models/common/blocks/image.js","embercom/models/common/blocks/link.js","embercom/models/common/blocks/messenger-card.js","embercom/models/common/blocks/ordered-list.js","embercom/models/common/blocks/paragraph.js","embercom/models/common/blocks/subheading.js","embercom/models/common/blocks/text-block.js","embercom/models/common/blocks/twitter-follow-button.js","embercom/models/common/blocks/unordered-list.js","embercom/models/common/blocks/video-file.js","embercom/models/common/blocks/video.js","embercom/models/common/predicate-group.js","embercom/models/common/predicate.js","embercom/models/common/subviews/appearance.js","embercom/models/common/subviews/content-block.js","embercom/models/common/subviews/content-layout.js","embercom/models/common/subviews/subview.js","embercom/models/company-email-address.js","embercom/models/company-summary.js","embercom/models/company.js","embercom/models/connected-integration.js","embercom/models/content-object.js","embercom/models/content-service/content-link.js","embercom/models/content-service/follow-up-actions.js","embercom/models/conversation-attributes/conversation-attribute-value.js","embercom/models/conversation-attributes/descriptor.js","embercom/models/conversation-attributes/list-option.js","embercom/models/conversation-draft.js","embercom/models/conversation-import.js","embercom/models/conversation-part.js","embercom/models/conversation-rating.js","embercom/models/conversation-ratings-settings.js","embercom/models/conversation.js","embercom/models/conversational-insights/conversation-topic.js","embercom/models/conversational-insights/suggested-conversation-topic.js","embercom/models/conversational-insights/topic-suggestion.js","embercom/models/conversational-insights/topic.js","embercom/models/conversations-service/initiator.js","embercom/models/coupon.js","embercom/models/crm-profile.js","embercom/models/crm/attribute-mapping.js","embercom/models/crm/attribute-options.js","embercom/models/crm/attribute.js","embercom/models/crm/webhook-filter.js","embercom/models/csv-import.js","embercom/models/custom-email-address.js","embercom/models/data-attribute-settings.js","embercom/models/data/assignment-rules-message-attributes.js","embercom/models/data/attribute-icon-map.js","embercom/models/data/attributes/data-format-map.js","embercom/models/data/campaign-confirmation-options.js","embercom/models/data/carousel/action-constants.js","embercom/models/data/carousel/default-blocks.js","embercom/models/data/carousel/screen-templates.js","embercom/models/data/carousel/target-user-group.js","embercom/models/data/cda-platforms.js","embercom/models/data/cda-samples.js","embercom/models/data/data-update-context.js","embercom/models/data/goals-predicate-filter-map.js","embercom/models/data/hours-of-day-map.js","embercom/models/data/hours-with-30mins-interval.js","embercom/models/data/matching-system/matching-constants.js","embercom/models/data/messages/composer-presets.js","embercom/models/data/messages/implicit-predicates.js","embercom/models/data/messages/message-constants.js","embercom/models/data/messages/message-defaults.js","embercom/models/data/messages/message-validation-map.js","embercom/models/data/onboarding/intent-survey/buyer-persona-page-data.js","embercom/models/data/onboarding/intent-survey/use-case-page-data.js","embercom/models/data/outbound/constants.js","embercom/models/data/outbound/template-constants.js","embercom/models/data/predefined-segment-icon-map.js","embercom/models/data/predicate-filter-map.js","embercom/models/data/stats-system/goals-constants.js","embercom/models/data/stats-system/stats-constants.js","embercom/models/data/time-periods.js","embercom/models/data/times-by-half-hour.js","embercom/models/developer-home/webhook.js","embercom/models/developer-hub/api-version.js","embercom/models/developer-hub/app-package-config.js","embercom/models/developer-hub/app-package-install.js","embercom/models/developer-hub/app-package.js","embercom/models/developer-hub/app-package/reports/cumulative-total-installs.js","embercom/models/developer-hub/app-package/reports/installation-events.js","embercom/models/developer-hub/app-package/reports/uninstall-feedback.js","embercom/models/developer-hub/app-store-listing.js","embercom/models/developer-hub/app.js","embercom/models/developer-hub/change-request.js","embercom/models/developer-hub/inbox-app.js","embercom/models/developer-hub/messenger-app.js","embercom/models/developer-hub/oauth-client.js","embercom/models/developer-hub/oauth-scope.js","embercom/models/developer-hub/redirect-url.js","embercom/models/developer-hub/scope-descriptions.js","embercom/models/developer-hub/starting-guide.js","embercom/models/developer-hub/webhook-definition.js","embercom/models/developer-hub/webhook-topic.js","embercom/models/display-attribute-setting.js","embercom/models/dkim-settings.js","embercom/models/educate-import.js","embercom/models/email-template-data.js","embercom/models/email-template.js","embercom/models/email-templates-settings.js","embercom/models/emails/email.js","embercom/models/emails/localized-email-content.js","embercom/models/emails/template-info.js","embercom/models/event-settings.js","embercom/models/event-summary.js","embercom/models/event-tracker.js","embercom/models/external-plan.js","embercom/models/facebook-integration.js","embercom/models/facebook-page.js","embercom/models/feature-fragment.js","embercom/models/feature.js","embercom/models/forward-mail-setup-attempt.js","embercom/models/general-app-settings.js","embercom/models/github-integration.js","embercom/models/github-repository.js","embercom/models/github-webhook.js","embercom/models/graph-editor/bounds.js","embercom/models/graph-editor/connection-point.js","embercom/models/graph-editor/coordinates.js","embercom/models/graph-editor/edge.js","embercom/models/graph-editor/edge/generator.js","embercom/models/graph-editor/graph.js","embercom/models/graph-editor/hooks.js","embercom/models/graph-editor/node.js","embercom/models/graph-editor/offset.js","embercom/models/graph-editor/settings.js","embercom/models/graph-editor/state.js","embercom/models/help-center-site-footer-link.js","embercom/models/help-center-site.js","embercom/models/hipchat-room.js","embercom/models/identity-verification-settings.js","embercom/models/import.js","embercom/models/inbound-email.js","embercom/models/inbox-view.js","embercom/models/inbox.js","embercom/models/inbox/admin-app-sidebar-section-list.js","embercom/models/inbox/admin-app-sidebar-section.js","embercom/models/inbox/conversation-rules/assignment.js","embercom/models/inbox/conversation-rules/priority.js","embercom/models/inbox/conversation-rules/rule.js","embercom/models/inbox/conversation-rules/sla.js","embercom/models/inbox/conversation-rules/tag.js","embercom/models/inbox/conversation-sla.js","embercom/models/inbox/pricing-migration/migration-state.js","embercom/models/inbox/search/assignee-filter.js","embercom/models/inbox/search/date-filter.js","embercom/models/inbox/search/dropdown-items.js","embercom/models/inbox/search/query.js","embercom/models/inbox/search/tag-filter.js","embercom/models/inbox/search/team-assignee-filter.js","embercom/models/inbox/search/teammate-assignee-filter.js","embercom/models/inbox/search/user-filter.js","embercom/models/inbox/sidebar-view.js","embercom/models/insights/articles.js","embercom/models/insights/message-variation-stat.js","embercom/models/insights/messages.js","embercom/models/insights/response.js","embercom/models/insights/spamming-stats.js","embercom/models/insights/variation-stat.js","embercom/models/integration.js","embercom/models/integrations/salesforce/account-list.js","embercom/models/integrations/salesforce/identity-mapping-field.js","embercom/models/integrations/salesforce/settings.js","embercom/models/intercom-pages-profile.js","embercom/models/intercom-sub-page.js","embercom/models/invite.js","embercom/models/invited-admin.js","embercom/models/invoice-line-item.js","embercom/models/invoice.js","embercom/models/jit-settings-permissions.js","embercom/models/legacy-selection-state.js","embercom/models/logs-settings.js","embercom/models/mailchimp-import.js","embercom/models/mailchimp-list.js","embercom/models/matching-system/client-data.js","embercom/models/matching-system/content-preview.js","embercom/models/matching-system/control-group.js","embercom/models/matching-system/matching-timetable.js","embercom/models/matching-system/ruleset-errors.js","embercom/models/matching-system/ruleset-link.js","embercom/models/matching-system/ruleset-links/answer.js","embercom/models/matching-system/ruleset-links/article.js","embercom/models/matching-system/ruleset-links/banner.js","embercom/models/matching-system/ruleset-links/button-custom-bot.js","embercom/models/matching-system/ruleset-links/carousel.js","embercom/models/matching-system/ruleset-links/chat.js","embercom/models/matching-system/ruleset-links/control-group.js","embercom/models/matching-system/ruleset-links/custom-bot.js","embercom/models/matching-system/ruleset-links/email.js","embercom/models/matching-system/ruleset-links/inbound-custom-bot.js","embercom/models/matching-system/ruleset-links/inbound-trigger.js","embercom/models/matching-system/ruleset-links/messenger-trigger.js","embercom/models/matching-system/ruleset-links/post.js","embercom/models/matching-system/ruleset-links/push.js","embercom/models/matching-system/ruleset-links/series-condition.js","embercom/models/matching-system/ruleset-links/series-wait.js","embercom/models/matching-system/ruleset-links/sms-message.js","embercom/models/matching-system/ruleset-links/tagger.js","embercom/models/matching-system/ruleset-links/tour.js","embercom/models/matching-system/ruleset-version.js","embercom/models/matching-system/ruleset.js","embercom/models/matching-system/scheduled-state-change.js","embercom/models/matching-system/state-change.js","embercom/models/matching-system/timetable/time-interval.js","embercom/models/meeting-scheduler/calendar.js","embercom/models/meeting-scheduler/slot.js","embercom/models/meeting-scheduler/teammate.js","embercom/models/message-counts.js","embercom/models/message-folder.js","embercom/models/message-variation.js","embercom/models/message-variation/click-tracking-link.js","embercom/models/message.js","embercom/models/messages/audience-preview.js","embercom/models/messages/campaign-audience-preview.js","embercom/models/messages/client-data.js","embercom/models/messages/control-group-stats.js","embercom/models/messages/control-group.js","embercom/models/messages/delivery-window.js","embercom/models/messages/dependencies.js","embercom/models/messages/goal-predicates-editor.js","embercom/models/messages/goal.js","embercom/models/messages/page-target.js","embercom/models/messages/push-only-uri.js","embercom/models/messages/reaction.js","embercom/models/messages/recipient.js","embercom/models/messages/selection-state.js","embercom/models/messages/summary-conversation.js","embercom/models/messages/variation-stats.js","embercom/models/messaging-settings.js","embercom/models/messenger-app.js","embercom/models/messenger-home/slot-group.js","embercom/models/messenger-home/slot.js","embercom/models/messenger-preview/configuration.js","embercom/models/messenger-settings/all.js","embercom/models/messenger-settings/analytics.js","embercom/models/messenger-settings/availability.js","embercom/models/messenger-settings/home.js","embercom/models/messenger-settings/languages.js","embercom/models/messenger-settings/look-and-feel.js","embercom/models/messenger-settings/metadata.js","embercom/models/messenger-settings/security.js","embercom/models/messenger-settings/temporary-expectations.js","embercom/models/messenger-settings/upfront-email-collection.js","embercom/models/messenger-settings/visibility.js","embercom/models/metrics.js","embercom/models/mixins/admin-avatar-data.js","embercom/models/mixins/admin-mapper.js","embercom/models/mixins/apps/app/messages/sortable-message.js","embercom/models/mixins/common/states/state-properties.js","embercom/models/mixins/feature-flags.js","embercom/models/mixins/messages/message-rollback.js","embercom/models/mixins/messages/message-ui-concern.js","embercom/models/mixins/messages/variation-ui-concern.js","embercom/models/mixins/mutatable-message.js","embercom/models/mixins/predicate-validator.js","embercom/models/mixins/tagging-mixin.js","embercom/models/mixins/user-avatar-data.js","embercom/models/mixpanel-import.js","embercom/models/mobile-push/localized-push-content.js","embercom/models/mobile-push/push.js","embercom/models/mobile-push/uris.js","embercom/models/model-with-permissions.js","embercom/models/note.js","embercom/models/oauth-tokens.js","embercom/models/oauth/app.js","embercom/models/oauth/authorization-request.js","embercom/models/oauth/oauth-category.js","embercom/models/office-hours-schedule.js","embercom/models/onboarding/home/guide.js","embercom/models/onboarding/home/level.js","embercom/models/onboarding/home/step.js","embercom/models/onboarding/hosted-messenger-created-conversation.js","embercom/models/operator-bot-inbox-settings.js","embercom/models/operator-identity.js","embercom/models/operator-settings/article-auto-reaction.js","embercom/models/operator-settings/article-suggestions.js","embercom/models/operator-settings/contact-collection.js","embercom/models/operator-settings/conversation-rating.js","embercom/models/operator-settings/conversation-routing.js","embercom/models/operator-settings/duplicate-conversation-detection.js","embercom/models/operator-settings/qualify-leads.js","embercom/models/operator-settings/qualify-leads/branching-qualification.js","embercom/models/operator-settings/qualify-leads/branching-qualification/answer.js","embercom/models/operator-settings/qualify-leads/simple-qualification.js","embercom/models/operator-settings/task-bots.js","embercom/models/operator-settings/team-availability.js","embercom/models/operator-settings/upfront-collection.js","embercom/models/operator/base-custom-bot.js","embercom/models/operator/custom-bot-reportable-bot.js","embercom/models/operator/custom-bot-snapshot.js","embercom/models/operator/custom-bot-summary.js","embercom/models/operator/custom-bot-template.js","embercom/models/operator/custom-bot.js","embercom/models/operator/custom-bots-settings.js","embercom/models/operator/custom-bots/control.js","embercom/models/operator/custom-bots/custom-bot-data.js","embercom/models/operator/custom-bots/initiator-summary.js","embercom/models/operator/custom-bots/initiator.js","embercom/models/operator/custom-bots/initiators/bot-auto-message-summary.js","embercom/models/operator/custom-bots/initiators/bot-auto-message.js","embercom/models/operator/custom-bots/initiators/bot-auto-messages/selection-state.js","embercom/models/operator/custom-bots/initiators/inbound-trigger-summary.js","embercom/models/operator/custom-bots/initiators/inbound-trigger.js","embercom/models/operator/custom-bots/initiators/messenger-trigger-summary.js","embercom/models/operator/custom-bots/initiators/messenger-trigger.js","embercom/models/operator/custom-bots/path.js","embercom/models/operator/custom-bots/stats.js","embercom/models/operator/custom-bots/step.js","embercom/models/operator/resolution-bot-looping-settings.js","embercom/models/operator/resolution-bot-settings.js","embercom/models/outbound/content-fragment.js","embercom/models/outbound/content-statistic.js","embercom/models/outbound/content-wrapper.js","embercom/models/participant.js","embercom/models/people/attribute-option.js","embercom/models/people/qualification-attribute.js","embercom/models/people/segment.js","embercom/models/permission.js","embercom/models/ping-domain-settings.js","embercom/models/ping-domain.js","embercom/models/plan.js","embercom/models/posts/localized-post-content.js","embercom/models/posts/post.js","embercom/models/predicates/anonymous.js","embercom/models/predicates/boolean.js","embercom/models/predicates/campaign-behavior.js","embercom/models/predicates/content-event.js","embercom/models/predicates/data/conversation-ratings.js","embercom/models/predicates/data/ios.js","embercom/models/predicates/data/roles.js","embercom/models/predicates/date.js","embercom/models/predicates/datetime.js","embercom/models/predicates/email-disengagement.js","embercom/models/predicates/logical.js","embercom/models/predicates/numeric-select.js","embercom/models/predicates/numeric.js","embercom/models/predicates/office-hours-schedule.js","embercom/models/predicates/optional-select.js","embercom/models/predicates/predicate-group.js","embercom/models/predicates/predicate.js","embercom/models/predicates/role.js","embercom/models/predicates/select.js","embercom/models/predicates/string.js","embercom/models/predicates/url-visit.js","embercom/models/price.js","embercom/models/pricing-strategy.js","embercom/models/product.js","embercom/models/profile.js","embercom/models/qualification/attribute.js","embercom/models/reporting/chart.js","embercom/models/reporting/custom/chart.js","embercom/models/reporting/custom/date-range.js","embercom/models/reporting/custom/renderable-chart.js","embercom/models/reporting/custom/report-filters.js","embercom/models/reporting/custom/report.js","embercom/models/reporting/message-data-export-schedule.js","embercom/models/reporting/range.js","embercom/models/reporting/report-subscription.js","embercom/models/reporting/settings.js","embercom/models/reporting/signal.js","embercom/models/reporting/view.js","embercom/models/role.js","embercom/models/rules/rule-action.js","embercom/models/rules/rule.js","embercom/models/salesforce-integration.js","embercom/models/salesforce/salesforce-fields.js","embercom/models/saml-account.js","embercom/models/saml-auth.js","embercom/models/saved-content.js","embercom/models/saved-reply.js","embercom/models/sdk-app.js","embercom/models/search.js","embercom/models/security-app-settings.js","embercom/models/segment.js","embercom/models/sent-conversation.js","embercom/models/series/condition.js","embercom/models/series/edge.js","embercom/models/series/node.js","embercom/models/series/series.js","embercom/models/series/template.js","embercom/models/series/template/metadata.js","embercom/models/series/wait.js","embercom/models/settings/messenger-locale.js","embercom/models/settings/time-period.js","embercom/models/signup.js","embercom/models/slack-channel.js","embercom/models/slack-integration.js","embercom/models/slack-legacy-integration.js","embercom/models/slack-notification-rule.js","embercom/models/slack-notification-type.js","embercom/models/slack-subscription.js","embercom/models/sms/localized-sms-message-content.js","embercom/models/sms/sms.js","embercom/models/social-account.js","embercom/models/solution.js","embercom/models/spam-message.js","embercom/models/stats-system/article-content-view.js","embercom/models/stats-system/base-stat.js","embercom/models/stats-system/click.js","embercom/models/stats-system/collected-email.js","embercom/models/stats-system/completion.js","embercom/models/stats-system/dismissal.js","embercom/models/stats-system/email-failure.js","embercom/models/stats-system/goal-success.js","embercom/models/stats-system/goal.js","embercom/models/stats-system/open.js","embercom/models/stats-system/reaction.js","embercom/models/stats-system/receipt.js","embercom/models/stats-system/reply.js","embercom/models/stats-system/series-completion.js","embercom/models/stats-system/series-disengagement.js","embercom/models/stats-system/series-exit.js","embercom/models/stats-system/stat-count.js","embercom/models/stats-system/tour-counts.js","embercom/models/stats-system/tour-step-failure.js","embercom/models/subscription/cancel/offer.js","embercom/models/tag-stats.js","embercom/models/tag.js","embercom/models/tagger.js","embercom/models/tagging.js","embercom/models/team-setting.js","embercom/models/team.js","embercom/models/template.js","embercom/models/tour-step.js","embercom/models/tour-step/selectors.js","embercom/models/tour-template.js","embercom/models/tour.js","embercom/models/tours/client-data.js","embercom/models/translations.js","embercom/models/twitter-account.js","embercom/models/twitter-integration.js","embercom/models/types/json.js","embercom/models/types/user-presence-model.js","embercom/models/upload.js","embercom/models/user-source.js","embercom/models/user.js","embercom/models/webhook-topic.js","embercom/models/workflow.js","embercom/models/workflows/workflow-action.js","embercom/modifiers/auto-focus-element.js","embercom/modifiers/auto-select-element.js","embercom/modifiers/copy-to-clipboard.js","embercom/modifiers/did-insert.js","embercom/modifiers/did-update.js","embercom/modifiers/intercom-sortable-group.js","embercom/modifiers/keyboard-shortcut.js","embercom/modifiers/on-container-scroll.js","embercom/modifiers/on-element-resize.js","embercom/modifiers/on-key.js","embercom/modifiers/on-keyboard.js","embercom/modifiers/ref.js","embercom/modifiers/sortable-group.js","embercom/modifiers/sortable-handle.js","embercom/modifiers/sortable-item.js","embercom/modifiers/tooltip.js","embercom/modifiers/trap-focus.js","embercom/modifiers/will-destroy.js","embercom/objects/audience-editor/standard-audience-editor-configuration.js","embercom/objects/component-configuration.js","embercom/objects/content-editor/active-view-configuration.js","embercom/objects/content-editor/component-configuration.js","embercom/objects/content-editor/configuration-generators/banner.js","embercom/objects/content-editor/configuration-generators/banner/edit-mode-generator.js","embercom/objects/content-editor/configuration-generators/banner/view-mode-generator.js","embercom/objects/content-editor/configuration-generators/bot-notification-messages-generator.js","embercom/objects/content-editor/configuration-generators/button-custom-bot.js","embercom/objects/content-editor/configuration-generators/button-custom-bot/edit-mode-generator.js","embercom/objects/content-editor/configuration-generators/button-custom-bot/view-mode-generator.js","embercom/objects/content-editor/configuration-generators/carousel.js","embercom/objects/content-editor/configuration-generators/carousel/edit-mode-generator.js","embercom/objects/content-editor/configuration-generators/carousel/feature-generator.js","embercom/objects/content-editor/configuration-generators/carousel/view-mode-generator.js","embercom/objects/content-editor/configuration-generators/chat.js","embercom/objects/content-editor/configuration-generators/chat/edit-mode-generator.js","embercom/objects/content-editor/configuration-generators/chat/view-mode-generator.js","embercom/objects/content-editor/configuration-generators/control-group.js","embercom/objects/content-editor/configuration-generators/control-group/view-mode-generator.js","embercom/objects/content-editor/configuration-generators/custom-bot.js","embercom/objects/content-editor/configuration-generators/custom-bot/edit-mode-generator.js","embercom/objects/content-editor/configuration-generators/custom-bot/series-mode-generator.js","embercom/objects/content-editor/configuration-generators/custom-bot/view-mode-generator.js","embercom/objects/content-editor/configuration-generators/email.js","embercom/objects/content-editor/configuration-generators/email/edit-mode-generator.js","embercom/objects/content-editor/configuration-generators/email/view-mode-generator.js","embercom/objects/content-editor/configuration-generators/inbound-custom-bot.js","embercom/objects/content-editor/configuration-generators/inbound-custom-bot/edit-mode-generator.js","embercom/objects/content-editor/configuration-generators/inbound-custom-bot/view-mode-generator.js","embercom/objects/content-editor/configuration-generators/post.js","embercom/objects/content-editor/configuration-generators/post/edit-mode-generator.js","embercom/objects/content-editor/configuration-generators/post/view-mode-generator.js","embercom/objects/content-editor/configuration-generators/product-tour.js","embercom/objects/content-editor/configuration-generators/product-tour/edit-mode-generator.js","embercom/objects/content-editor/configuration-generators/product-tour/view-mode-generator.js","embercom/objects/content-editor/configuration-generators/push.js","embercom/objects/content-editor/configuration-generators/push/edit-mode-generator.js","embercom/objects/content-editor/configuration-generators/push/view-mode-generator.js","embercom/objects/content-editor/configuration-generators/series/condition.js","embercom/objects/content-editor/configuration-generators/series/wait.js","embercom/objects/content-editor/configuration-generators/sms.js","embercom/objects/content-editor/configuration-generators/sms/edit-mode-generator.js","embercom/objects/content-editor/configuration-generators/sms/view-mode-generator.js","embercom/objects/content-editor/configuration-generators/standard-notification-messages-generator.js","embercom/objects/content-editor/configuration-generators/tagger.js","embercom/objects/content-editor/content-editor-configuration.js","embercom/objects/content-editor/edit-mode-configuration.js","embercom/objects/content-editor/header-configuration.js","embercom/objects/content-editor/headers/edit-mode/standard-header-configuration.js","embercom/objects/content-editor/headers/more-dropdown-configuration.js","embercom/objects/content-editor/headers/series-mode/standard-header-configuration.js","embercom/objects/content-editor/headers/view-mode/standard-header-configuration.js","embercom/objects/content-editor/headers/view-mode/standard-series-header-configuration.js","embercom/objects/content-editor/notification-message.js","embercom/objects/content-editor/notification-messages.js","embercom/objects/content-editor/panel-configuration.js","embercom/objects/content-editor/panels/audience/content/carousel/audience-editor-configuration.js","embercom/objects/content-editor/panels/audience/content/carousel/audience-header-configuration.js","embercom/objects/content-editor/panels/audience/series-audience-editor-configuration.js","embercom/objects/content-editor/panels/audience/standard-audience-editor-configuration.js","embercom/objects/content-editor/panels/audience/standard-audience-header-configuration.js","embercom/objects/content-editor/panels/audience/standard-audience-panel-configuration.js","embercom/objects/content-editor/panels/content/banner/header-configuration.js","embercom/objects/content-editor/panels/content/banner/panel-configuration.js","embercom/objects/content-editor/panels/content/button-custom-bot/panel-configuration.js","embercom/objects/content-editor/panels/content/carousel/header-configuration.js","embercom/objects/content-editor/panels/content/carousel/panel-configuration.js","embercom/objects/content-editor/panels/content/chat/header-configuration.js","embercom/objects/content-editor/panels/content/chat/panel-configuration.js","embercom/objects/content-editor/panels/content/custom-bot/header-configuration.js","embercom/objects/content-editor/panels/content/custom-bot/panel-configuration.js","embercom/objects/content-editor/panels/content/email/header-configuration.js","embercom/objects/content-editor/panels/content/email/panel-configuration.js","embercom/objects/content-editor/panels/content/inbound-custom-bot/panel-configuration.js","embercom/objects/content-editor/panels/content/post/header-configuration.js","embercom/objects/content-editor/panels/content/post/panel-configuration.js","embercom/objects/content-editor/panels/content/product-tour/header-configuration.js","embercom/objects/content-editor/panels/content/product-tour/panel-configuration.js","embercom/objects/content-editor/panels/content/push/header-configuration.js","embercom/objects/content-editor/panels/content/push/panel-configuration.js","embercom/objects/content-editor/panels/content/sms/header-configuration.js","embercom/objects/content-editor/panels/content/sms/panel-configuration.js","embercom/objects/content-editor/panels/content/tagger/header-configuration.js","embercom/objects/content-editor/panels/content/tagger/panel-configuration.js","embercom/objects/content-editor/panels/content/wait/header-configuration.js","embercom/objects/content-editor/panels/content/wait/panel-configuration.js","embercom/objects/content-editor/panels/element-selector/custom-bot/standard-panel-configuration.js","embercom/objects/content-editor/panels/element-selector/custom-bot/standard-panel-header-configuration.js","embercom/objects/content-editor/panels/goal/standard-goal-header-configuration.js","embercom/objects/content-editor/panels/goal/standard-goal-panel-configuration.js","embercom/objects/content-editor/panels/schedule/series-schedule-header-configuration.js","embercom/objects/content-editor/panels/schedule/series-schedule-panel-configuration.js","embercom/objects/content-editor/panels/schedule/standard-schedule-header-configuration.js","embercom/objects/content-editor/panels/schedule/standard-schedule-panel-configuration.js","embercom/objects/content-editor/panels/standard-panel-configurations.js","embercom/objects/content-editor/panels/standard-panel-header-configuration.js","embercom/objects/content-editor/panels/trigger-programmatically/carousel/header-configuration.js","embercom/objects/content-editor/panels/trigger-programmatically/carousel/panel-configuration.js","embercom/objects/content-editor/series-editor-configuration.js","embercom/objects/content-editor/series-mode-configuration.js","embercom/objects/content-editor/stats/custom-bot/path-analysis-configuration.js","embercom/objects/content-editor/stats/standard-stat-list-configuration.js","embercom/objects/content-editor/summaries/audience/content/carousel/carousel-audience-summary-configuration.js","embercom/objects/content-editor/summaries/audience/standard-audience-summary-configuration.js","embercom/objects/content-editor/summaries/channel/custom-bot/custom-bot-channel-summary-configuration.js","embercom/objects/content-editor/summaries/content/banner/summary-configuration.js","embercom/objects/content-editor/summaries/content/carousel/summary-configuration.js","embercom/objects/content-editor/summaries/content/chat/summary-configuration.js","embercom/objects/content-editor/summaries/content/control-group/summary-configuration.js","embercom/objects/content-editor/summaries/content/custom-bot/summary-configuration.js","embercom/objects/content-editor/summaries/content/email/summary-configuration.js","embercom/objects/content-editor/summaries/content/post/summary-configuration.js","embercom/objects/content-editor/summaries/content/push/summary-configuration.js","embercom/objects/content-editor/summaries/content/sms/summary-configuration.js","embercom/objects/content-editor/summaries/content/tour/summary-configuration.js","embercom/objects/content-editor/summaries/goal/standard-goal-summary-configuration.js","embercom/objects/content-editor/summaries/schedule/standard-schedule-summary-configuration.js","embercom/objects/content-editor/summaries/standard-summary-configuration.js","embercom/objects/content-editor/summaries/standard-summary-configurations.js","embercom/objects/content-editor/summaries/trigger-programmatically/carousel/summary-configuration.js","embercom/objects/content-editor/tabs-configuration.js","embercom/objects/content-editor/tabs/custom-bot/path-analysis-tab-configuration.js","embercom/objects/content-editor/tabs/standard-content-tab-configuration.js","embercom/objects/content-editor/tabs/standard-stat-tab-configuration.js","embercom/objects/content-editor/tabs/tab-configuration.js","embercom/objects/content-editor/view-mode-configuration.js","embercom/objects/series/banner-node-configuration.js","embercom/objects/series/bot-node-configuration.js","embercom/objects/series/carousel-node-configuration.js","embercom/objects/series/chat-node-configuration.js","embercom/objects/series/condition-node-configuration.js","embercom/objects/series/configuration-list.js","embercom/objects/series/email-node-configuration.js","embercom/objects/series/node-configuration.js","embercom/objects/series/node/banner-graph-configuration.js","embercom/objects/series/node/banner-inserter-configuration.js","embercom/objects/series/node/bot-graph-configuration.js","embercom/objects/series/node/bot-inserter-configuration.js","embercom/objects/series/node/carousel-graph-configuration.js","embercom/objects/series/node/carousel-inserter-configuration.js","embercom/objects/series/node/chat-graph-configuration.js","embercom/objects/series/node/chat-inserter-configuration.js","embercom/objects/series/node/condition-graph-configuration.js","embercom/objects/series/node/condition-inserter-configuration.js","embercom/objects/series/node/condition-node-component-configuration.js","embercom/objects/series/node/connector-configuration.js","embercom/objects/series/node/email-graph-configuration.js","embercom/objects/series/node/email-inserter-configuration.js","embercom/objects/series/node/graph-configuration.js","embercom/objects/series/node/inserter-configuration.js","embercom/objects/series/node/not-matched-connector-configuration.js","embercom/objects/series/node/not-online-connector-configuration.js","embercom/objects/series/node/post-graph-configuration.js","embercom/objects/series/node/post-inserter-configuration.js","embercom/objects/series/node/push-graph-configuration.js","embercom/objects/series/node/push-inserter-configuration.js","embercom/objects/series/node/standard-connector-configuration.js","embercom/objects/series/node/standard-inserter-component-configuration.js","embercom/objects/series/node/standard-loading-component-configuration.js","embercom/objects/series/node/standard-node-component-configuration.js","embercom/objects/series/node/stats-configuration.js","embercom/objects/series/node/tagger-graph-configuration.js","embercom/objects/series/node/tagger-inserter-configuration.js","embercom/objects/series/node/tour-graph-configuration.js","embercom/objects/series/node/tour-inserter-configuration.js","embercom/objects/series/node/wait-graph-configuration.js","embercom/objects/series/node/wait-inserter-configuration.js","embercom/objects/series/post-node-configuration.js","embercom/objects/series/push-node-configuration.js","embercom/objects/series/ruleset-editor/bot/editor-configuration-generator.js","embercom/objects/series/ruleset-editor/carousel/editor-configuration-generator.js","embercom/objects/series/ruleset-editor/chat/editor-configuration-generator.js","embercom/objects/series/ruleset-editor/condition/editor-configuration-generator.js","embercom/objects/series/ruleset-editor/email/editor-configuration-generator.js","embercom/objects/series/ruleset-editor/post/editor-configuration-generator.js","embercom/objects/series/ruleset-editor/push/editor-configuration-generator.js","embercom/objects/series/ruleset-editor/tagger/editor-configuration-generator.js","embercom/objects/series/ruleset-editor/tour/editor-configuration-generator.js","embercom/objects/series/ruleset-editor/wait/editor-configuration-generator.js","embercom/objects/series/stats/standard-stat-list-configuration.js","embercom/objects/series/summaries/standard-exit-rules-summary-configuration.js","embercom/objects/series/summaries/standard-goal-summary-configuration.js","embercom/objects/series/tabs/series-overview-tab-configuration.js","embercom/objects/series/tabs/series-stat-tab-configuration.js","embercom/objects/series/tagger-node-configuration.js","embercom/objects/series/tour-node-configuration.js","embercom/objects/series/wait-node-configuration.js","embercom/objects/stats-system/stats-parameters.ts","embercom/resolver.js","embercom/router.js","embercom/routes/app-builder.js","embercom/routes/application-loading.js","embercom/routes/application.js","embercom/routes/apps.js","embercom/routes/apps/app.js","embercom/routes/apps/app/account/account-access.js","embercom/routes/apps/app/account/base/account-route-base.js","embercom/routes/apps/app/account/base/check-unsaved-changes-route.js","embercom/routes/apps/app/account/general.js","embercom/routes/apps/app/account/notifications.js","embercom/routes/apps/app/account/oauth-tokens.js","embercom/routes/apps/app/account/password.js","embercom/routes/apps/app/account/two_factor_auth.js","embercom/routes/apps/app/account/visibility/company-segments.js","embercom/routes/apps/app/account/visibility/inboxes.js","embercom/routes/apps/app/account/visibility/tags.js","embercom/routes/apps/app/account/visibility/user-segments.js","embercom/routes/apps/app/accounts.js","embercom/routes/apps/app/admins/admin.js","embercom/routes/apps/app/admins/admin/index.js","embercom/routes/apps/app/admins/me.js","embercom/routes/apps/app/apply-for-early-stage.js","embercom/routes/apps/app/appstore.js","embercom/routes/apps/app/appstore/app-package.js","embercom/routes/apps/app/appstore/old-app-package.js","embercom/routes/apps/app/articles.js","embercom/routes/apps/app/articles/about.js","embercom/routes/apps/app/articles/articles.js","embercom/routes/apps/app/articles/articles/article.js","embercom/routes/apps/app/articles/articles/article/edit.js","embercom/routes/apps/app/articles/articles/article/index.js","embercom/routes/apps/app/articles/articles/article/show.js","embercom/routes/apps/app/articles/articles/article/show/stats.js","embercom/routes/apps/app/articles/articles/index.js","embercom/routes/apps/app/articles/articles/list/all.js","embercom/routes/apps/app/articles/articles/list/draft.js","embercom/routes/apps/app/articles/articles/list/educate-article-list-base.js","embercom/routes/apps/app/articles/articles/list/finished.js","embercom/routes/apps/app/articles/articles/list/missing.js","embercom/routes/apps/app/articles/articles/list/published.js","embercom/routes/apps/app/articles/articles/new.js","embercom/routes/apps/app/articles/guide.js","embercom/routes/apps/app/articles/guide/index.js","embercom/routes/apps/app/articles/index.js","embercom/routes/apps/app/articles/insights.js","embercom/routes/apps/app/articles/loading.js","embercom/routes/apps/app/articles/site.js","embercom/routes/apps/app/articles/site/collections.js","embercom/routes/apps/app/articles/site/collections/collection.js","embercom/routes/apps/app/articles/site/collections/index.js","embercom/routes/apps/app/articles/site/index.js","embercom/routes/apps/app/articles/site/settings.js","embercom/routes/apps/app/billing.js","embercom/routes/apps/app/billing/cancel.js","embercom/routes/apps/app/billing/cancel/index.js","embercom/routes/apps/app/billing/cancel/offer.js","embercom/routes/apps/app/billing/details.js","embercom/routes/apps/app/billing/index.js","embercom/routes/apps/app/billing/invoices/index.js","embercom/routes/apps/app/billing/invoices/invoice.js","embercom/routes/apps/app/billing/summary.js","embercom/routes/apps/app/billing/summary/index.js","embercom/routes/apps/app/cda-onboarding.js","embercom/routes/apps/app/cda-onboarding/add.js","embercom/routes/apps/app/cda-onboarding/generate.js","embercom/routes/apps/app/cda-onboarding/index.js","embercom/routes/apps/app/companies.js","embercom/routes/apps/app/companies/company.js","embercom/routes/apps/app/companies/company/conversations.js","embercom/routes/apps/app/companies/company/index.js","embercom/routes/apps/app/companies/company/users.js","embercom/routes/apps/app/companies/index.js","embercom/routes/apps/app/companies/loading.js","embercom/routes/apps/app/companies/segments.js","embercom/routes/apps/app/companies/segments/index.js","embercom/routes/apps/app/companies/segments/segment.js","embercom/routes/apps/app/content/edit.js","embercom/routes/apps/app/content/new.js","embercom/routes/apps/app/conversation.js","embercom/routes/apps/app/conversational-insights.js","embercom/routes/apps/app/conversational-insights/index.js","embercom/routes/apps/app/conversational-insights/suggestions/index.js","embercom/routes/apps/app/conversational-insights/topics/index.js","embercom/routes/apps/app/conversational-insights/topics/new.js","embercom/routes/apps/app/conversational-insights/topics/topic.js","embercom/routes/apps/app/conversational-insights/topics/topic/show.js","embercom/routes/apps/app/conversations.js","embercom/routes/apps/app/created.js","embercom/routes/apps/app/developer-hub.js","embercom/routes/apps/app/developer-hub/app-packages/app-package.js","embercom/routes/apps/app/developer-hub/app-packages/app-package/app-store-listing.js","embercom/routes/apps/app/developer-hub/app-packages/app-package/app-store-listing/edit.js","embercom/routes/apps/app/developer-hub/app-packages/app-package/app-store-listing/index.js","embercom/routes/apps/app/developer-hub/app-packages/app-package/basic-info.js","embercom/routes/apps/app/developer-hub/app-packages/app-package/basic-info/edit.js","embercom/routes/apps/app/developer-hub/app-packages/app-package/basic-info/index.js","embercom/routes/apps/app/developer-hub/app-packages/app-package/canvas-kit.js","embercom/routes/apps/app/developer-hub/app-packages/app-package/customer-workspaces.js","embercom/routes/apps/app/developer-hub/app-packages/app-package/getting-started-guide.js","embercom/routes/apps/app/developer-hub/app-packages/app-package/index.js","embercom/routes/apps/app/developer-hub/app-packages/app-package/oauth.js","embercom/routes/apps/app/developer-hub/app-packages/app-package/oauth/edit.js","embercom/routes/apps/app/developer-hub/app-packages/app-package/reports/history-of-events.js","embercom/routes/apps/app/developer-hub/app-packages/app-package/reports/installs-and-uninstalls.js","embercom/routes/apps/app/developer-hub/app-packages/app-package/review/index.js","embercom/routes/apps/app/developer-hub/app-packages/app-package/webhooks.js","embercom/routes/apps/app/developer-hub/app-packages/app-package/webhooks/edit.js","embercom/routes/apps/app/developer-hub/app-packages/app-package/webhooks/index.js","embercom/routes/apps/app/developer-hub/app-packages/app-package/workspaces.js","embercom/routes/apps/app/developer-hub/app-packages/index.js","embercom/routes/apps/app/developer-hub/index.js","embercom/routes/apps/app/editor-demo.js","embercom/routes/apps/app/educate-redirect.js","embercom/routes/apps/app/educate-wildcard-redirect.js","embercom/routes/apps/app/email-editor-demo.js","embercom/routes/apps/app/engage-redirect.js","embercom/routes/apps/app/engage-wildcard-redirect.js","embercom/routes/apps/app/feature-sync.js","embercom/routes/apps/app/feed.js","embercom/routes/apps/app/feed/conversation.js","embercom/routes/apps/app/feed/index.js","embercom/routes/apps/app/get-started.js","embercom/routes/apps/app/get-started/buyer-persona.js","embercom/routes/apps/app/get-started/survey-splash.js","embercom/routes/apps/app/get-started/use-case.js","embercom/routes/apps/app/guide.js","embercom/routes/apps/app/home.js","embercom/routes/apps/app/home/index.js","embercom/routes/apps/app/import/csv.js","embercom/routes/apps/app/import/csv/finish.js","embercom/routes/apps/app/import/csv/index.js","embercom/routes/apps/app/import/csv/mapping.js","embercom/routes/apps/app/import/csv/tag.js","embercom/routes/apps/app/import/mailchimp.js","embercom/routes/apps/app/import/mailchimp/finish.js","embercom/routes/apps/app/import/mailchimp/index.js","embercom/routes/apps/app/import/mailchimp/lists.js","embercom/routes/apps/app/import/mailchimp/tag.js","embercom/routes/apps/app/import/mixpanel.js","embercom/routes/apps/app/import/mixpanel/finish.js","embercom/routes/apps/app/import/mixpanel/index.js","embercom/routes/apps/app/import/mixpanel/instructions.js","embercom/routes/apps/app/import/mixpanel/tag.js","embercom/routes/apps/app/import/zendesk-chat.js","embercom/routes/apps/app/import/zendesk-chat/authorize.js","embercom/routes/apps/app/import/zendesk-chat/import.js","embercom/routes/apps/app/import/zendesk-chat/index.js","embercom/routes/apps/app/inbound-email.js","embercom/routes/apps/app/inbox-insights-redirect.js","embercom/routes/apps/app/inbox.js","embercom/routes/apps/app/inbox/about.js","embercom/routes/apps/app/inbox/automation.js","embercom/routes/apps/app/inbox/automation/assignment.js","embercom/routes/apps/app/inbox/automation/priority.js","embercom/routes/apps/app/inbox/automation/rule-base.js","embercom/routes/apps/app/inbox/automation/sla.js","embercom/routes/apps/app/inbox/automation/tag.js","embercom/routes/apps/app/inbox/automation/workflows/edit.js","embercom/routes/apps/app/inbox/automation/workflows/list.js","embercom/routes/apps/app/inbox/automation/workflows/new.js","embercom/routes/apps/app/inbox/automation/workflows/workflows-base.js","embercom/routes/apps/app/inbox/automation/workload-management.js","embercom/routes/apps/app/inbox/conversation.js","embercom/routes/apps/app/inbox/conversations/conversation.js","embercom/routes/apps/app/inbox/guide.js","embercom/routes/apps/app/inbox/inbox.js","embercom/routes/apps/app/inbox/inbox/conversation.js","embercom/routes/apps/app/inbox/inbox/conversations.js","embercom/routes/apps/app/inbox/inbox/conversations/conversation.js","embercom/routes/apps/app/inbox/inbox/conversations/index.js","embercom/routes/apps/app/inbox/inbox/index.js","embercom/routes/apps/app/inbox/inbox/mixins/conversation-keyboard-shortcuts.js","embercom/routes/apps/app/inbox/index.js","embercom/routes/apps/app/inbox/preferences.js","embercom/routes/apps/app/inbox/preferences/away-mode-preferences.js","embercom/routes/apps/app/inbox/preferences/conversations.js","embercom/routes/apps/app/inbox/preferences/inbox-wallpaper.js","embercom/routes/apps/app/inbox/redirect.js","embercom/routes/apps/app/inbox/reporting.js","embercom/routes/apps/app/inbox/rules.js","embercom/routes/apps/app/index.js","embercom/routes/apps/app/intersection.js","embercom/routes/apps/app/load_time_baseline.js","embercom/routes/apps/app/messages.js","embercom/routes/apps/app/messenger.js","embercom/routes/apps/app/mobile-welcome.js","embercom/routes/apps/app/operator.js","embercom/routes/apps/app/operator/custom-bots.js","embercom/routes/apps/app/operator/custom-bots/bot-auto-message/show.js","embercom/routes/apps/app/operator/custom-bots/button-custom-bot/edit.js","embercom/routes/apps/app/operator/custom-bots/custom-bot.js","embercom/routes/apps/app/operator/custom-bots/inbound-custom-bot/edit.js","embercom/routes/apps/app/operator/custom-bots/index.js","embercom/routes/apps/app/operator/custom-bots/new.js","embercom/routes/apps/app/operator/custom-bots/outbound/edit.js","embercom/routes/apps/app/operator/custom-bots/reporting.js","embercom/routes/apps/app/operator/index.js","embercom/routes/apps/app/operator/resolution-bot.js","embercom/routes/apps/app/operator/resolution-bot/answers/answer.js","embercom/routes/apps/app/operator/resolution-bot/answers/answer/edit.js","embercom/routes/apps/app/operator/resolution-bot/answers/answer/show.js","embercom/routes/apps/app/operator/resolution-bot/answers/index.js","embercom/routes/apps/app/operator/resolution-bot/answers/new.js","embercom/routes/apps/app/operator/resolution-bot/answers/suggestions.js","embercom/routes/apps/app/operator/resolution-bot/intro.js","embercom/routes/apps/app/operator/resolution-bot/reporting.js","embercom/routes/apps/app/operator/settings.js","embercom/routes/apps/app/operator/task-bots.js","embercom/routes/apps/app/operator/task-bots/leads.js","embercom/routes/apps/app/operator/task-bots/teammates.js","embercom/routes/apps/app/operator/task-bots/users.js","embercom/routes/apps/app/outbound.js","embercom/routes/apps/app/outbound/about.js","embercom/routes/apps/app/outbound/all.js","embercom/routes/apps/app/outbound/banners/edit.js","embercom/routes/apps/app/outbound/banners/index.js","embercom/routes/apps/app/outbound/banners/new.js","embercom/routes/apps/app/outbound/base/message-list-route-base.js","embercom/routes/apps/app/outbound/carousel/edit.js","embercom/routes/apps/app/outbound/carousel/index.js","embercom/routes/apps/app/outbound/chat/edit.js","embercom/routes/apps/app/outbound/chat/index.js","embercom/routes/apps/app/outbound/custom-bot/edit.js","embercom/routes/apps/app/outbound/custom-bot/index.js","embercom/routes/apps/app/outbound/direct/all.js","embercom/routes/apps/app/outbound/email/edit.js","embercom/routes/apps/app/outbound/email/index.js","embercom/routes/apps/app/outbound/guide.js","embercom/routes/apps/app/outbound/index.js","embercom/routes/apps/app/outbound/insights.js","embercom/routes/apps/app/outbound/loading.js","embercom/routes/apps/app/outbound/message-edit-redirect.js","embercom/routes/apps/app/outbound/message-redirect.js","embercom/routes/apps/app/outbound/message-show-redirect.js","embercom/routes/apps/app/outbound/message.js","embercom/routes/apps/app/outbound/messages/auto/all.js","embercom/routes/apps/app/outbound/messages/auto/base/auto-message-list-route-base.js","embercom/routes/apps/app/outbound/messages/auto/campaigns/campaign.js","embercom/routes/apps/app/outbound/messages/auto/campaigns/campaign/index.js","embercom/routes/apps/app/outbound/messages/auto/campaigns/campaign/users.js","embercom/routes/apps/app/outbound/messages/auto/campaigns/index.js","embercom/routes/apps/app/outbound/messages/auto/campaigns/new.js","embercom/routes/apps/app/outbound/messages/auto/draft.js","embercom/routes/apps/app/outbound/messages/auto/folders/folder.js","embercom/routes/apps/app/outbound/messages/auto/folders/index.js","embercom/routes/apps/app/outbound/messages/auto/folders/new.js","embercom/routes/apps/app/outbound/messages/auto/index.js","embercom/routes/apps/app/outbound/messages/auto/live.js","embercom/routes/apps/app/outbound/messages/auto/message.js","embercom/routes/apps/app/outbound/messages/auto/new.js","embercom/routes/apps/app/outbound/messages/auto/paused.js","embercom/routes/apps/app/outbound/messages/auto/scheduled.js","embercom/routes/apps/app/outbound/messages/auto/search.js","embercom/routes/apps/app/outbound/messages/auto/yours.js","embercom/routes/apps/app/outbound/messages/index.js","embercom/routes/apps/app/outbound/messages/manual/draft.js","embercom/routes/apps/app/outbound/messages/manual/index.js","embercom/routes/apps/app/outbound/messages/manual/message.js","embercom/routes/apps/app/outbound/messages/manual/new.js","embercom/routes/apps/app/outbound/messages/manual/scheduled.js","embercom/routes/apps/app/outbound/messages/manual/search.js","embercom/routes/apps/app/outbound/messages/manual/sent-via-api.js","embercom/routes/apps/app/outbound/messages/manual/sent.js","embercom/routes/apps/app/outbound/messages/visitor-auto/all.js","embercom/routes/apps/app/outbound/messages/visitor-auto/draft.js","embercom/routes/apps/app/outbound/messages/visitor-auto/index.js","embercom/routes/apps/app/outbound/messages/visitor-auto/live.js","embercom/routes/apps/app/outbound/messages/visitor-auto/message.js","embercom/routes/apps/app/outbound/messages/visitor-auto/new.js","embercom/routes/apps/app/outbound/messages/visitor-auto/paused.js","embercom/routes/apps/app/outbound/messages/visitor-auto/scheduled.js","embercom/routes/apps/app/outbound/messages/visitor-auto/search.js","embercom/routes/apps/app/outbound/messages/visitor-auto/yours.js","embercom/routes/apps/app/outbound/mixins/ember-data-message-list-route.js","embercom/routes/apps/app/outbound/mixins/search.js","embercom/routes/apps/app/outbound/post/edit.js","embercom/routes/apps/app/outbound/post/index.js","embercom/routes/apps/app/outbound/push/edit.js","embercom/routes/apps/app/outbound/push/index.js","embercom/routes/apps/app/outbound/reporting.js","embercom/routes/apps/app/outbound/reporting/deliverability.js","embercom/routes/apps/app/outbound/reporting/overview.js","embercom/routes/apps/app/outbound/search.js","embercom/routes/apps/app/outbound/series.js","embercom/routes/apps/app/outbound/series/index.js","embercom/routes/apps/app/outbound/series/new.js","embercom/routes/apps/app/outbound/series/redirect-to/series.js","embercom/routes/apps/app/outbound/series/series.js","embercom/routes/apps/app/outbound/sms/edit.js","embercom/routes/apps/app/outbound/sms/index.js","embercom/routes/apps/app/outbound/tour/edit.js","embercom/routes/apps/app/outbound/tour/index.js","embercom/routes/apps/app/outbound/tour/new.js","embercom/routes/apps/app/platform/guide.js","embercom/routes/apps/app/platform/guide/index.js","embercom/routes/apps/app/pre-tour.js","embercom/routes/apps/app/reports.js","embercom/routes/apps/app/reports/articles.js","embercom/routes/apps/app/reports/articles/closed-by-operator.js","embercom/routes/apps/app/reports/articles/index.js","embercom/routes/apps/app/reports/base/performance-report.js","embercom/routes/apps/app/reports/base/report.js","embercom/routes/apps/app/reports/base/sales-route.js","embercom/routes/apps/app/reports/conversational-insights.js","embercom/routes/apps/app/reports/conversational-insights/index.js","embercom/routes/apps/app/reports/conversational-insights/suggested-topics/index.js","embercom/routes/apps/app/reports/conversational-insights/suggested-topics/topic.js","embercom/routes/apps/app/reports/conversational-insights/tracked-topics/index.js","embercom/routes/apps/app/reports/conversational-insights/tracked-topics/new.js","embercom/routes/apps/app/reports/conversational-insights/tracked-topics/topic.js","embercom/routes/apps/app/reports/conversations.js","embercom/routes/apps/app/reports/custom-reports/index.js","embercom/routes/apps/app/reports/custom-reports/report.js","embercom/routes/apps/app/reports/custom-reports/report/new.js","embercom/routes/apps/app/reports/custom-reports/report/show.js","embercom/routes/apps/app/reports/custom-reports/report/show/chart/edit.js","embercom/routes/apps/app/reports/custom-reports/report/show/chart/new.js","embercom/routes/apps/app/reports/customer-engagement.js","embercom/routes/apps/app/reports/customer-support/articles.js","embercom/routes/apps/app/reports/customer-support/articles/closed-by-operator.js","embercom/routes/apps/app/reports/customer-support/articles/flexible.js","embercom/routes/apps/app/reports/customer-support/articles/index.js","embercom/routes/apps/app/reports/customer-support/conversation-tags.js","embercom/routes/apps/app/reports/customer-support/conversations-flexible.js","embercom/routes/apps/app/reports/customer-support/conversations.js","embercom/routes/apps/app/reports/customer-support/custom-bots.js","embercom/routes/apps/app/reports/customer-support/custom-bots/completed.js","embercom/routes/apps/app/reports/customer-support/custom-bots/engaged.js","embercom/routes/apps/app/reports/customer-support/custom-bots/sent.js","embercom/routes/apps/app/reports/customer-support/customer-satisfaction.js","embercom/routes/apps/app/reports/customer-support/effectiveness.js","embercom/routes/apps/app/reports/customer-support/export.js","embercom/routes/apps/app/reports/customer-support/overview.js","embercom/routes/apps/app/reports/customer-support/resolution-bot.js","embercom/routes/apps/app/reports/customer-support/responsiveness.js","embercom/routes/apps/app/reports/customer-support/slas.js","embercom/routes/apps/app/reports/customer-support/team-performance.js","embercom/routes/apps/app/reports/inbox.js","embercom/routes/apps/app/reports/inbox/conversation-tags.js","embercom/routes/apps/app/reports/inbox/conversations-flexible.js","embercom/routes/apps/app/reports/inbox/conversations.js","embercom/routes/apps/app/reports/inbox/effectiveness.js","embercom/routes/apps/app/reports/inbox/export.js","embercom/routes/apps/app/reports/inbox/leads.js","embercom/routes/apps/app/reports/inbox/performance/happiness.js","embercom/routes/apps/app/reports/inbox/performance/responsiveness-flexible.js","embercom/routes/apps/app/reports/inbox/performance/responsiveness.js","embercom/routes/apps/app/reports/inbox/performance/sales.js","embercom/routes/apps/app/reports/inbox/performance/sales/base/sales-route.js","embercom/routes/apps/app/reports/inbox/performance/sales/closed-won.js","embercom/routes/apps/app/reports/inbox/performance/sales/opportunities.js","embercom/routes/apps/app/reports/inbox/performance/sales/pipeline.js","embercom/routes/apps/app/reports/inbox/performance/volume.js","embercom/routes/apps/app/reports/inbox/slas.js","embercom/routes/apps/app/reports/inbox/summary/conversations.js","embercom/routes/apps/app/reports/inbox/summary/sales.js","embercom/routes/apps/app/reports/inbox/summary/sales/base/sales-route.js","embercom/routes/apps/app/reports/inbox/summary/sales/closed-won.js","embercom/routes/apps/app/reports/inbox/summary/sales/index.js","embercom/routes/apps/app/reports/inbox/summary/sales/opportunities.js","embercom/routes/apps/app/reports/inbox/summary/sales/pipeline.js","embercom/routes/apps/app/reports/inbox/team-performance.js","embercom/routes/apps/app/reports/lead-generation/custom-bots.js","embercom/routes/apps/app/reports/lead-generation/leads.js","embercom/routes/apps/app/reports/lead-generation/sales.js","embercom/routes/apps/app/reports/lead-generation/sales/base/sales-route.js","embercom/routes/apps/app/reports/lead-generation/sales/closed-won.js","embercom/routes/apps/app/reports/lead-generation/sales/opportunities.js","embercom/routes/apps/app/reports/lead-generation/sales/pipeline.js","embercom/routes/apps/app/reports/messages.js","embercom/routes/apps/app/reports/operator/custom-bots.js","embercom/routes/apps/app/reports/operator/custom-bots/completed.js","embercom/routes/apps/app/reports/operator/custom-bots/engaged.js","embercom/routes/apps/app/reports/operator/custom-bots/sent.js","embercom/routes/apps/app/reports/operator/resolution-bot.js","embercom/routes/apps/app/reports/overview.js","embercom/routes/apps/app/resolve-redirect.js","embercom/routes/apps/app/resolve-wildcard-redirect.js","embercom/routes/apps/app/respond-redirect.js","embercom/routes/apps/app/respond-wildcard-redirect.js","embercom/routes/apps/app/settings.js","embercom/routes/apps/app/settings/android.js","embercom/routes/apps/app/settings/appearance.js","embercom/routes/apps/app/settings/attachment-settings.js","embercom/routes/apps/app/settings/base/attribute-settings-base.js","embercom/routes/apps/app/settings/base/base-settings-route.js","embercom/routes/apps/app/settings/base/billing-settings-route.js","embercom/routes/apps/app/settings/base/manage-messages-settings-route.js","embercom/routes/apps/app/settings/base/manage-teammates-route.js","embercom/routes/apps/app/settings/base/product-settings-route.js","embercom/routes/apps/app/settings/base/roles-settings-route.js","embercom/routes/apps/app/settings/base/sdk-base-route.js","embercom/routes/apps/app/settings/base/workspace-settings-route.js","embercom/routes/apps/app/settings/blocked-users.js","embercom/routes/apps/app/settings/company-data.js","embercom/routes/apps/app/settings/company-segments.js","embercom/routes/apps/app/settings/conversation-data.js","embercom/routes/apps/app/settings/delete-user.js","embercom/routes/apps/app/settings/email-forwarding.js","embercom/routes/apps/app/settings/email-templates.js","embercom/routes/apps/app/settings/email-templates/copy-template.js","embercom/routes/apps/app/settings/email-templates/edit-template.js","embercom/routes/apps/app/settings/email-templates/email-templates.js","embercom/routes/apps/app/settings/email-templates/new-template.js","embercom/routes/apps/app/settings/events.js","embercom/routes/apps/app/settings/general.js","embercom/routes/apps/app/settings/identity-verification/android.js","embercom/routes/apps/app/settings/identity-verification/identity-verification-base-platform.js","embercom/routes/apps/app/settings/identity-verification/identity-verification.js","embercom/routes/apps/app/settings/identity-verification/ios.js","embercom/routes/apps/app/settings/identity-verification/web.js","embercom/routes/apps/app/settings/imports.js","embercom/routes/apps/app/settings/index.js","embercom/routes/apps/app/settings/ios.js","embercom/routes/apps/app/settings/logs.js","embercom/routes/apps/app/settings/messaging.js","embercom/routes/apps/app/settings/messenger.js","embercom/routes/apps/app/settings/office-hours.js","embercom/routes/apps/app/settings/people-data.js","embercom/routes/apps/app/settings/people-segments.js","embercom/routes/apps/app/settings/qualification-settings.js","embercom/routes/apps/app/settings/roles/edit.js","embercom/routes/apps/app/settings/roles/index.js","embercom/routes/apps/app/settings/roles/new.js","embercom/routes/apps/app/settings/saved-replies.js","embercom/routes/apps/app/settings/security.js","embercom/routes/apps/app/settings/senders.js","embercom/routes/apps/app/settings/slas.js","embercom/routes/apps/app/settings/spam-messages.js","embercom/routes/apps/app/settings/tags-new.js","embercom/routes/apps/app/settings/tags.js","embercom/routes/apps/app/settings/teammates.js","embercom/routes/apps/app/settings/teammates/index.js","embercom/routes/apps/app/settings/teammates/invite.js","embercom/routes/apps/app/settings/teammates/invite/csv-import.js","embercom/routes/apps/app/settings/teammates/invite/edit.js","embercom/routes/apps/app/settings/teammates/invite/permissions.js","embercom/routes/apps/app/settings/teammates/permissions.js","embercom/routes/apps/app/settings/teammates/teammate.js","embercom/routes/apps/app/settings/teammates/teammate/permissions.js","embercom/routes/apps/app/settings/teammates/teammate/remove.js","embercom/routes/apps/app/settings/teams.js","embercom/routes/apps/app/settings/universal-linking.js","embercom/routes/apps/app/settings/web.js","embercom/routes/apps/app/settings/webhooks.js","embercom/routes/apps/app/settings/webhooks/index.js","embercom/routes/apps/app/skip-trial.js","embercom/routes/apps/app/sms-demo.js","embercom/routes/apps/app/teams-checkout.js","embercom/routes/apps/app/teams-checkout/confirm.js","embercom/routes/apps/app/teams-checkout/early-stage-application.js","embercom/routes/apps/app/teams-checkout/plan.js","embercom/routes/apps/app/teams-checkout/verify.js","embercom/routes/apps/app/test-conversation.js","embercom/routes/apps/app/tours.js","embercom/routes/apps/app/tours/edit.js","embercom/routes/apps/app/tours/index.js","embercom/routes/apps/app/tours/new.js","embercom/routes/apps/app/trial-early-stage.js","embercom/routes/apps/app/users.js","embercom/routes/apps/app/users/index.js","embercom/routes/apps/app/users/loading.js","embercom/routes/apps/app/users/segments.js","embercom/routes/apps/app/users/segments/index.js","embercom/routes/apps/app/users/segments/segment.js","embercom/routes/apps/app/users/user.js","embercom/routes/apps/app/users/user/all-conversations.js","embercom/routes/apps/app/users/user/conversations.js","embercom/routes/apps/app/users/user/index.js","embercom/routes/apps/app/video.js","embercom/routes/apps/error.js","embercom/routes/apps/index.js","embercom/routes/apps/new.js","embercom/routes/apps/teams-checkout-redirect.js","embercom/routes/appstore.js","embercom/routes/appstore/app-package.js","embercom/routes/appstore/index.js","embercom/routes/appstore/not-found.js","embercom/routes/base/about-route.js","embercom/routes/base/appstore.js","embercom/routes/base/appstore/app-package.js","embercom/routes/base/error-handling-route.js","embercom/routes/base/global-loading-route.js","embercom/routes/base/guide.js","embercom/routes/base/guide/index.js","embercom/routes/base/insights.js","embercom/routes/base/intercom-route.js","embercom/routes/base/mapbox-loading-route.js","embercom/routes/base/modal-navigation-warning.js","embercom/routes/base/product-index-route.js","embercom/routes/base/user-conversations-route.js","embercom/routes/base/users-or-companies-route.js","embercom/routes/canvas-kit-builder.js","embercom/routes/canvas-kit-builder/index.js","embercom/routes/canvas-kit-builder/preview.js","embercom/routes/changes.js","embercom/routes/developer-signup.js","embercom/routes/early-stage-partner.js","embercom/routes/early-stage.js","embercom/routes/error.js","embercom/routes/graph-demo.js","embercom/routes/index.js","embercom/routes/invite.js","embercom/routes/meeting-scheduler.js","embercom/routes/mixins/app-refresher.js","embercom/routes/mixins/check-unsaved-changes-confirm.js","embercom/routes/mixins/check-unsaved-changes.js","embercom/routes/mixins/confirm-modal-mixin.js","embercom/routes/mixins/messages/messages-realtime-stats.js","embercom/routes/mixins/reset-scroll.js","embercom/routes/mixins/users-and-companies/rails-segment-parameters.js","embercom/routes/mixins/users-and-companies/segment-setup-model-and-controller.js","embercom/routes/not-found.js","embercom/routes/oauth/connect.js","embercom/routes/saml.js","embercom/routes/sign-in.js","embercom/routes/signup.js","embercom/routes/signup/get-started.js","embercom/routes/signup/new.js","embercom/routes/signup/teams.js","embercom/routes/signup/teams/index.js","embercom/routes/start.js","embercom/routes/video.js","embercom/serializers/activity-feed-item.js","embercom/serializers/admin-notification-settings.js","embercom/serializers/admin.js","embercom/serializers/answers/answer.js","embercom/serializers/answers/cluster.js","embercom/serializers/app.js","embercom/serializers/application.js","embercom/serializers/appstore/app-card.js","embercom/serializers/appstore/app-package.js","embercom/serializers/article-folder.js","embercom/serializers/article-multilingual.js","embercom/serializers/article.js","embercom/serializers/articles/article-group.js","embercom/serializers/attempted-paid-action.js","embercom/serializers/attribute.js","embercom/serializers/banners/banner.js","embercom/serializers/base/embercom-base-serializer.js","embercom/serializers/billing/contract.js","embercom/serializers/blocked-user.js","embercom/serializers/brand.js","embercom/serializers/campaign.js","embercom/serializers/cancellation-question.js","embercom/serializers/carousels/carousel-screen.js","embercom/serializers/carousels/carousel.js","embercom/serializers/carousels/localized-carousel-content.js","embercom/serializers/chats/chat.js","embercom/serializers/common/blocks/attachment-list.js","embercom/serializers/common/blocks/attachment.js","embercom/serializers/common/blocks/block.js","embercom/serializers/common/blocks/button.js","embercom/serializers/common/blocks/heading.js","embercom/serializers/common/blocks/image-text.js","embercom/serializers/common/blocks/image.js","embercom/serializers/common/blocks/paragraph.js","embercom/serializers/common/blocks/subheading.js","embercom/serializers/common/blocks/video-file.js","embercom/serializers/common/blocks/video.js","embercom/serializers/common/predicate.js","embercom/serializers/common/subviews/content-block.js","embercom/serializers/common/subviews/content-layout.js","embercom/serializers/common/subviews/subview.js","embercom/serializers/company.js","embercom/serializers/connected-integration.js","embercom/serializers/conversation-attributes/descriptor.js","embercom/serializers/conversation-part.js","embercom/serializers/conversation.js","embercom/serializers/conversational-insights/topic.js","embercom/serializers/custom-email-address.js","embercom/serializers/data-attribute-settings.js","embercom/serializers/developer-hub/app-package-install.js","embercom/serializers/developer-hub/app-package.js","embercom/serializers/display-attribute-setting.js","embercom/serializers/dkim-settings.js","embercom/serializers/emails/email.js","embercom/serializers/event-settings.js","embercom/serializers/event-tracker.js","embercom/serializers/facebook-integration.js","embercom/serializers/github-integration.js","embercom/serializers/github-repository.js","embercom/serializers/github-webhook.js","embercom/serializers/hipchat-integration.js","embercom/serializers/hipchat-subscription.js","embercom/serializers/identity-verification-settings.js","embercom/serializers/inbox-view.js","embercom/serializers/inbox/admin-app-sidebar-section-list.js","embercom/serializers/inbox/admin-app-sidebar-section.js","embercom/serializers/insights/messages.js","embercom/serializers/intercom-pages-profile.js","embercom/serializers/invoice.js","embercom/serializers/json-api.js","embercom/serializers/matching-system/ruleset-link.js","embercom/serializers/matching-system/ruleset-links/answer.js","embercom/serializers/matching-system/ruleset-links/article.js","embercom/serializers/matching-system/ruleset-links/banner.js","embercom/serializers/matching-system/ruleset-links/button-custom-bot.js","embercom/serializers/matching-system/ruleset-links/carousel.js","embercom/serializers/matching-system/ruleset-links/chat.js","embercom/serializers/matching-system/ruleset-links/control-group.js","embercom/serializers/matching-system/ruleset-links/custom-bot.js","embercom/serializers/matching-system/ruleset-links/email.js","embercom/serializers/matching-system/ruleset-links/inbound-custom-bot.js","embercom/serializers/matching-system/ruleset-links/inbound-trigger.js","embercom/serializers/matching-system/ruleset-links/messenger-trigger.js","embercom/serializers/matching-system/ruleset-links/post.js","embercom/serializers/matching-system/ruleset-links/push.js","embercom/serializers/matching-system/ruleset-links/series-condition.js","embercom/serializers/matching-system/ruleset-links/series-wait.js","embercom/serializers/matching-system/ruleset-links/sms-message.js","embercom/serializers/matching-system/ruleset-links/tagger.js","embercom/serializers/matching-system/ruleset-links/tour.js","embercom/serializers/matching-system/ruleset-version.js","embercom/serializers/matching-system/ruleset.js","embercom/serializers/meeting-scheduler/calendar.js","embercom/serializers/message-variation.js","embercom/serializers/message.js","embercom/serializers/messages/control-group.js","embercom/serializers/messages/recipient.js","embercom/serializers/messages/variation-stats.js","embercom/serializers/messenger-home/slot-group.js","embercom/serializers/messenger-home/slot.js","embercom/serializers/messenger-settings/all.js","embercom/serializers/messenger-settings/home.js","embercom/serializers/messenger-settings/look-and-feel.js","embercom/serializers/mobile-push/push.js","embercom/serializers/note.js","embercom/serializers/oauth-tokens.js","embercom/serializers/onboarding/home/guide.js","embercom/serializers/onboarding/home/level.js","embercom/serializers/onboarding/home/step.js","embercom/serializers/operator-settings/qualify-leads.js","embercom/serializers/operator-settings/task-bots.js","embercom/serializers/operator/custom-bot-snapshot.js","embercom/serializers/operator/custom-bot-summary.js","embercom/serializers/operator/custom-bot.js","embercom/serializers/operator/custom-bots/initiators/bot-auto-message-summary.js","embercom/serializers/operator/custom-bots/initiators/bot-auto-message.js","embercom/serializers/operator/custom-bots/initiators/inbound-trigger-summary.js","embercom/serializers/operator/custom-bots/initiators/inbound-trigger.js","embercom/serializers/operator/custom-bots/initiators/messenger-trigger-summary.js","embercom/serializers/operator/custom-bots/initiators/messenger-trigger.js","embercom/serializers/outbound/content-fragment.js","embercom/serializers/outbound/content-wrapper.js","embercom/serializers/participant.js","embercom/serializers/ping-domain.js","embercom/serializers/posts/post.js","embercom/serializers/predicates/anonymous.js","embercom/serializers/predicates/boolean.js","embercom/serializers/predicates/campaign-behavior.js","embercom/serializers/predicates/content-event.js","embercom/serializers/predicates/date.js","embercom/serializers/predicates/datetime.js","embercom/serializers/predicates/email-disengagement.js","embercom/serializers/predicates/logical.js","embercom/serializers/predicates/numeric-select.js","embercom/serializers/predicates/numeric.js","embercom/serializers/predicates/office-hours-schedule.js","embercom/serializers/predicates/optional-select.js","embercom/serializers/predicates/predicate.js","embercom/serializers/predicates/role.js","embercom/serializers/predicates/select.js","embercom/serializers/predicates/string.js","embercom/serializers/predicates/url-visit.js","embercom/serializers/product.js","embercom/serializers/qualification/attribute.js","embercom/serializers/reporting/custom/report.js","embercom/serializers/rules/rule-action.js","embercom/serializers/rules/rule.js","embercom/serializers/salesforce_integration.js","embercom/serializers/saml-account.js","embercom/serializers/security-app-settings.js","embercom/serializers/segment.js","embercom/serializers/sent-conversation.js","embercom/serializers/series/edge.js","embercom/serializers/series/node.js","embercom/serializers/series/series.js","embercom/serializers/slack-integration.js","embercom/serializers/slack-legacy-integration.js","embercom/serializers/slack-notification-rule.js","embercom/serializers/slack-subscription.js","embercom/serializers/sms/sms.js","embercom/serializers/subscription/cancel/offer.js","embercom/serializers/tag-stats.js","embercom/serializers/tag.js","embercom/serializers/tagging.js","embercom/serializers/template.js","embercom/serializers/tour.js","embercom/serializers/twitter-integration.js","embercom/serializers/user.js","embercom/serializers/workflow.js","embercom/services/-ea-motion.js","embercom/services/admin-ping-service.js","embercom/services/ajax-service.js","embercom/services/answer-follow-on-creation-service.js","embercom/services/app-service.js","embercom/services/appstore-meta-tags-service.js","embercom/services/appstore-service.js","embercom/services/attribute-service.js","embercom/services/banner-dismissal-service.js","embercom/services/boot-options-service.js","embercom/services/boot-service.js","embercom/services/bound-events-service.js","embercom/services/client-profiler-service.js","embercom/services/confirm-service.js","embercom/services/content-editor-service.js","embercom/services/conversation-access-service.js","embercom/services/conversation-cleaner.js","embercom/services/conversation-feed-service.js","embercom/services/conversation-import-credentials-service.js","embercom/services/conversation-presence-service.js","embercom/services/conversational-insights.js","embercom/services/conversations-service.js","embercom/services/cookies.js","embercom/services/csv.js","embercom/services/customer-service.js","embercom/services/dependency-checker.js","embercom/services/developer-hub.js","embercom/services/educate-event-service.js","embercom/services/ember-oauth2.js","embercom/services/event-listener-stack.js","embercom/services/excel.js","embercom/services/fb.js","embercom/services/frontend-stats-service.js","embercom/services/google-tag-manager-service.js","embercom/services/gtm-service.js","embercom/services/guide-assistant-service.js","embercom/services/head-data.js","embercom/services/head-tags.js","embercom/services/help-center-service.js","embercom/services/hosted-messenger-conversation-service.js","embercom/services/iam-service.js","embercom/services/ic-browser-environment.js","embercom/services/identity-verification-risk-state-service.js","embercom/services/inbox-service.js","embercom/services/intercom-event-service.js","embercom/services/intersection-service.js","embercom/services/intl.js","embercom/services/keyboard.js","embercom/services/liquid-fire-transitions.js","embercom/services/loading-indicator-service.js","embercom/services/log-service.js","embercom/services/media.js","embercom/services/message-mutation-service.js","embercom/services/messenger-app-insertion-service.js","embercom/services/modal-service.js","embercom/services/model-data-cache-service.js","embercom/services/moment.js","embercom/services/navbar-collapsing-service.js","embercom/services/notifications-service.js","embercom/services/oauth-service.js","embercom/services/onboarding-home-external-step-service.js","embercom/services/onboarding-home-service.js","embercom/services/open-centered-window-service.js","embercom/services/operator-messenger-app-service.js","embercom/services/outbound-home-service.js","embercom/services/panel-actions.js","embercom/services/paywall-service.js","embercom/services/permissions-mutator-service.js","embercom/services/permissions-service.js","embercom/services/power-calendar.js","embercom/services/predicates-service.js","embercom/services/pubsub.js","embercom/services/purchase-analytics-service.js","embercom/services/real-time-event-service.js","embercom/services/redirect-service.js","embercom/services/report-subscription-service.js","embercom/services/reporting-service.js","embercom/services/saved-reply-search-service.js","embercom/services/search-suggestions-service.js","embercom/services/security-app-settings-service.js","embercom/services/segment-view-collapsed-service.js","embercom/services/series-editor-service.js","embercom/services/settings-service.js","embercom/services/shortcuts.js","embercom/services/social-account-service.js","embercom/services/stripev3.js","embercom/services/tag-service.js","embercom/services/text-measurer.js","embercom/services/translations-service.js","embercom/services/user-cache-service.js","embercom/services/user-presence-service.js","embercom/services/user-updater-service.js","embercom/svgs.js","embercom/templates/application-loading.js","embercom/templates/application.js","embercom/templates/apps/app.js","embercom/templates/apps/app/account.js","embercom/templates/apps/app/account/account-access.js","embercom/templates/apps/app/account/general.js","embercom/templates/apps/app/account/loading.js","embercom/templates/apps/app/account/notifications-ask-modal.js","embercom/templates/apps/app/account/notifications-denied-modal.js","embercom/templates/apps/app/account/notifications.js","embercom/templates/apps/app/account/oauth-tokens.js","embercom/templates/apps/app/account/password.js","embercom/templates/apps/app/account/two_factor_auth.js","embercom/templates/apps/app/account/visibility/company-segments.js","embercom/templates/apps/app/account/visibility/inboxes.js","embercom/templates/apps/app/account/visibility/loading.js","embercom/templates/apps/app/account/visibility/tags.js","embercom/templates/apps/app/account/visibility/user-segments.js","embercom/templates/apps/app/accounts.js","embercom/templates/apps/app/admins/admin.js","embercom/templates/apps/app/admins/admin/index.js","embercom/templates/apps/app/admins/admin/partials/-account.js","embercom/templates/apps/app/appstore.js","embercom/templates/apps/app/appstore/app-package.js","embercom/templates/apps/app/appstore/index.js","embercom/templates/apps/app/articles.js","embercom/templates/apps/app/articles/articles.js","embercom/templates/apps/app/articles/articles/article/edit.js","embercom/templates/apps/app/articles/articles/article/show.js","embercom/templates/apps/app/articles/articles/article/show/index.js","embercom/templates/apps/app/articles/articles/article/show/loading.js","embercom/templates/apps/app/articles/articles/article/show/stats.js","embercom/templates/apps/app/articles/articles/list.js","embercom/templates/apps/app/articles/articles/list/list-base.js","embercom/templates/apps/app/articles/articles/list/loading.js","embercom/templates/apps/app/articles/articles/list/search.js","embercom/templates/apps/app/articles/articles/loading.js","embercom/templates/apps/app/articles/articles/new.js","embercom/templates/apps/app/articles/guide/index.js","embercom/templates/apps/app/articles/loading.js","embercom/templates/apps/app/articles/site.js","embercom/templates/apps/app/articles/site/-help-center-turned-on-notification.js","embercom/templates/apps/app/articles/site/collections.js","embercom/templates/apps/app/articles/site/collections/collection.js","embercom/templates/apps/app/articles/site/collections/index.js","embercom/templates/apps/app/articles/site/collections/loading.js","embercom/templates/apps/app/articles/site/loading.js","embercom/templates/apps/app/articles/site/settings.js","embercom/templates/apps/app/billing.js","embercom/templates/apps/app/billing/cancel.js","embercom/templates/apps/app/billing/cancel/complete.js","embercom/templates/apps/app/billing/cancel/confirm.js","embercom/templates/apps/app/billing/cancel/index.js","embercom/templates/apps/app/billing/cancel/offer.js","embercom/templates/apps/app/billing/details.js","embercom/templates/apps/app/billing/details/cancel/complete.js","embercom/templates/apps/app/billing/details/cancel/confirm.js","embercom/templates/apps/app/billing/details/cancel/offers.js","embercom/templates/apps/app/billing/details/cancel/offers/downsize.js","embercom/templates/apps/app/billing/details/cancel/offers/extend-trial.js","embercom/templates/apps/app/billing/details/cancel/offers/get-help.js","embercom/templates/apps/app/billing/details/cancel/offers/index.js","embercom/templates/apps/app/billing/details/cancel/offers/pause-subscription.js","embercom/templates/apps/app/billing/details/cancel/reason.js","embercom/templates/apps/app/billing/details/cancel/secondary-reason.js","embercom/templates/apps/app/billing/details/cancel/switch.js","embercom/templates/apps/app/billing/details/cancel/tertiary-reason.js","embercom/templates/apps/app/billing/details/index.js","embercom/templates/apps/app/billing/index.js","embercom/templates/apps/app/billing/invoices/index.js","embercom/templates/apps/app/billing/invoices/invoice.js","embercom/templates/apps/app/billing/modals/change-company-details-modal.js","embercom/templates/apps/app/billing/modals/coupon-modal.js","embercom/templates/apps/app/billing/modals/resume-pending-cancellation-modal.js","embercom/templates/apps/app/billing/summary.js","embercom/templates/apps/app/billing/summary/index.js","embercom/templates/apps/app/cda-onboarding.js","embercom/templates/apps/app/cda-onboarding/add.js","embercom/templates/apps/app/cda-onboarding/generate.js","embercom/templates/apps/app/cda-onboarding/index.js","embercom/templates/apps/app/companies.js","embercom/templates/apps/app/companies/company-not-found.js","embercom/templates/apps/app/companies/company.js","embercom/templates/apps/app/companies/company/-user-list-bulk-actions.js","embercom/templates/apps/app/companies/company/conversations.js","embercom/templates/apps/app/companies/company/modals/company-delete.js","embercom/templates/apps/app/companies/company/modals/tag.js","embercom/templates/apps/app/companies/company/modals/tagging.js","embercom/templates/apps/app/companies/company/modals/user-delete.js","embercom/templates/apps/app/companies/company/modals/user-message.js","embercom/templates/apps/app/companies/company/users.js","embercom/templates/apps/app/companies/segments/segment.js","embercom/templates/apps/app/companies/segments/segment/modals/export.js","embercom/templates/apps/app/companies/segments/segment/modals/message.js","embercom/templates/apps/app/companies/segments/segment/modals/segment.js","embercom/templates/apps/app/confirm-modal.js","embercom/templates/apps/app/content/edit.js","embercom/templates/apps/app/content/loading.js","embercom/templates/apps/app/conversational-insights.js","embercom/templates/apps/app/conversational-insights/suggestions.js","embercom/templates/apps/app/conversational-insights/suggestions/index.js","embercom/templates/apps/app/conversational-insights/topics.js","embercom/templates/apps/app/conversational-insights/topics/index.js","embercom/templates/apps/app/conversational-insights/topics/new.js","embercom/templates/apps/app/conversational-insights/topics/topic/edit.js","embercom/templates/apps/app/conversational-insights/topics/topic/overlap.js","embercom/templates/apps/app/conversational-insights/topics/topic/show.js","embercom/templates/apps/app/developer-hub.js","embercom/templates/apps/app/developer-hub/app-packages/app-package.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/app-store-listing.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/app-store-listing/edit.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/app-store-listing/index.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/basic-info.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/basic-info/edit.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/basic-info/index.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/canvas-kit.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/customer-workspaces.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/getting-started-guide.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/new.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/oauth.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/oauth/edit.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/oauth/index.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/reports/history-of-events.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/reports/installs-and-uninstalls.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/review.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/review/edit.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/review/index.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/review/no-oauth.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/webhooks.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/webhooks/edit.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/webhooks/index.js","embercom/templates/apps/app/developer-hub/app-packages/app-package/workspaces.js","embercom/templates/apps/app/developer-hub/index.js","embercom/templates/apps/app/editor-demo.js","embercom/templates/apps/app/email-editor-demo.js","embercom/templates/apps/app/feature-sync.js","embercom/templates/apps/app/feed.js","embercom/templates/apps/app/feed/conversation.js","embercom/templates/apps/app/feed/index.js","embercom/templates/apps/app/feed/loading.js","embercom/templates/apps/app/get-started.js","embercom/templates/apps/app/get-started/buyer-persona.js","embercom/templates/apps/app/get-started/survey-splash.js","embercom/templates/apps/app/get-started/use-case.js","embercom/templates/apps/app/guide/-chevron.js","embercom/templates/apps/app/guide/-completed-check.js","embercom/templates/apps/app/guide/-hidden.js","embercom/templates/apps/app/guide/-logo.js","embercom/templates/apps/app/guide/-right-arrow.js","embercom/templates/apps/app/guide/start-guide.js","embercom/templates/apps/app/home.js","embercom/templates/apps/app/home/index.js","embercom/templates/apps/app/import/csv.js","embercom/templates/apps/app/import/csv/finish.js","embercom/templates/apps/app/import/csv/index.js","embercom/templates/apps/app/import/csv/mapping.js","embercom/templates/apps/app/import/csv/tag.js","embercom/templates/apps/app/import/mailchimp.js","embercom/templates/apps/app/import/mailchimp/finish.js","embercom/templates/apps/app/import/mailchimp/index.js","embercom/templates/apps/app/import/mailchimp/lists.js","embercom/templates/apps/app/import/mailchimp/tag.js","embercom/templates/apps/app/import/mixpanel.js","embercom/templates/apps/app/import/mixpanel/finish.js","embercom/templates/apps/app/import/mixpanel/index.js","embercom/templates/apps/app/import/mixpanel/instructions.js","embercom/templates/apps/app/import/mixpanel/tag.js","embercom/templates/apps/app/import/tagging-modal.js","embercom/templates/apps/app/import/zendesk-chat.js","embercom/templates/apps/app/import/zendesk-chat/authorize.js","embercom/templates/apps/app/import/zendesk-chat/import.js","embercom/templates/apps/app/import/zendesk-chat/index.js","embercom/templates/apps/app/inbound-email.js","embercom/templates/apps/app/inbox.js","embercom/templates/apps/app/inbox/automation.js","embercom/templates/apps/app/inbox/automation/assignment.js","embercom/templates/apps/app/inbox/automation/priority.js","embercom/templates/apps/app/inbox/automation/sla.js","embercom/templates/apps/app/inbox/automation/tag.js","embercom/templates/apps/app/inbox/automation/workflows/edit.js","embercom/templates/apps/app/inbox/automation/workflows/list.js","embercom/templates/apps/app/inbox/automation/workload-management.js","embercom/templates/apps/app/inbox/inbox/conversation.js","embercom/templates/apps/app/inbox/inbox/conversations.js","embercom/templates/apps/app/inbox/inbox/conversations/conversation.js","embercom/templates/apps/app/inbox/inbox/conversations/index.js","embercom/templates/apps/app/inbox/inbox/conversations/loading.js","embercom/templates/apps/app/inbox/inbox/conversations/modals/away_mode_warning.js","embercom/templates/apps/app/inbox/inbox/conversations/modals/redact-part.js","embercom/templates/apps/app/inbox/inbox/conversations/modals/saved-replies.js","embercom/templates/apps/app/inbox/inbox/conversations/modals/tagging.js","embercom/templates/apps/app/inbox/inbox/partials/-common-caret-core.js","embercom/templates/apps/app/inbox/inbox/partials/-error-conversation-is-restricted.js","embercom/templates/apps/app/inbox/inbox/partials/-error-in-conversation.js","embercom/templates/apps/app/inbox/preferences.js","embercom/templates/apps/app/inbox/preferences/away-mode-preferences.js","embercom/templates/apps/app/inbox/preferences/conversations.js","embercom/templates/apps/app/inbox/preferences/inbox-wallpaper.js","embercom/templates/apps/app/insights.js","embercom/templates/apps/app/intercomrades-package-editor-modal.js","embercom/templates/apps/app/intersection.js","embercom/templates/apps/app/keyboard-shortcuts-modal.js","embercom/templates/apps/app/load_time_baseline.js","embercom/templates/apps/app/messenger-apps.js","embercom/templates/apps/app/messenger.js","embercom/templates/apps/app/mobile-welcome.js","embercom/templates/apps/app/modals/block-user.js","embercom/templates/apps/app/modals/change-plan-modal.js","embercom/templates/apps/app/modals/create-new-data.js","embercom/templates/apps/app/modals/email-template-help-modal.js","embercom/templates/apps/app/modals/enforce-sso-warning.js","embercom/templates/apps/app/modals/import-modal.js","embercom/templates/apps/app/modals/import-summary-modal.js","embercom/templates/apps/app/modals/send-to-developer-modal.js","embercom/templates/apps/app/modals/series/edit-node.js","embercom/templates/apps/app/modals/stats-system/bulk-message.js","embercom/templates/apps/app/modals/team-delete-modal.js","embercom/templates/apps/app/modals/unblock-blocked-user.js","embercom/templates/apps/app/modals/video-modal.js","embercom/templates/apps/app/onboarding.js","embercom/templates/apps/app/operator.js","embercom/templates/apps/app/operator/custom-bots.js","embercom/templates/apps/app/operator/custom-bots/index.js","embercom/templates/apps/app/operator/custom-bots/loading.js","embercom/templates/apps/app/operator/custom-bots/new.js","embercom/templates/apps/app/operator/loading.js","embercom/templates/apps/app/operator/resolution-bot.js","embercom/templates/apps/app/operator/resolution-bot/answers/answer.js","embercom/templates/apps/app/operator/resolution-bot/answers/answer/edit.js","embercom/templates/apps/app/operator/resolution-bot/answers/answer/show.js","embercom/templates/apps/app/operator/resolution-bot/answers/answer/show/conversations.js","embercom/templates/apps/app/operator/resolution-bot/answers/answer/show/index.js","embercom/templates/apps/app/operator/resolution-bot/answers/index.js","embercom/templates/apps/app/operator/resolution-bot/answers/loading.js","embercom/templates/apps/app/operator/resolution-bot/answers/suggestions.js","embercom/templates/apps/app/operator/settings.js","embercom/templates/apps/app/operator/task-bots.js","embercom/templates/apps/app/operator/task-bots/leads.js","embercom/templates/apps/app/operator/task-bots/teammates.js","embercom/templates/apps/app/operator/task-bots/users.js","embercom/templates/apps/app/outbound.js","embercom/templates/apps/app/outbound/all.js","embercom/templates/apps/app/outbound/auto.js","embercom/templates/apps/app/outbound/auto/partials/-auto-message-list-table-heading.js","embercom/templates/apps/app/outbound/auto/partials/-message-list.js","embercom/templates/apps/app/outbound/banners/index.js","embercom/templates/apps/app/outbound/carousel/index.js","embercom/templates/apps/app/outbound/chat/index.js","embercom/templates/apps/app/outbound/custom-bot/index.js","embercom/templates/apps/app/outbound/email/index.js","embercom/templates/apps/app/outbound/loading.js","embercom/templates/apps/app/outbound/message-data-export-modal.js","embercom/templates/apps/app/outbound/message.js","embercom/templates/apps/app/outbound/messages/auto/all.js","embercom/templates/apps/app/outbound/messages/auto/campaigns.js","embercom/templates/apps/app/outbound/messages/auto/campaigns/campaign.js","embercom/templates/apps/app/outbound/messages/auto/campaigns/campaign/index.js","embercom/templates/apps/app/outbound/messages/auto/campaigns/campaign/users.js","embercom/templates/apps/app/outbound/messages/auto/campaigns/index.js","embercom/templates/apps/app/outbound/messages/auto/campaigns/modals/resume-campaign.js","embercom/templates/apps/app/outbound/messages/auto/campaigns/modals/spacing-editor-guide.js","embercom/templates/apps/app/outbound/messages/auto/draft.js","embercom/templates/apps/app/outbound/messages/auto/edit-loading.js","embercom/templates/apps/app/outbound/messages/auto/folders/folder.js","embercom/templates/apps/app/outbound/messages/auto/live.js","embercom/templates/apps/app/outbound/messages/auto/loading.js","embercom/templates/apps/app/outbound/messages/auto/new.js","embercom/templates/apps/app/outbound/messages/auto/paused.js","embercom/templates/apps/app/outbound/messages/auto/scheduled.js","embercom/templates/apps/app/outbound/messages/auto/search.js","embercom/templates/apps/app/outbound/messages/auto/yours.js","embercom/templates/apps/app/outbound/messages/manual/draft.js","embercom/templates/apps/app/outbound/messages/manual/edit-loading.js","embercom/templates/apps/app/outbound/messages/manual/loading.js","embercom/templates/apps/app/outbound/messages/manual/scheduled.js","embercom/templates/apps/app/outbound/messages/manual/search.js","embercom/templates/apps/app/outbound/messages/manual/sent-via-api.js","embercom/templates/apps/app/outbound/messages/manual/sent.js","embercom/templates/apps/app/outbound/messages/search.js","embercom/templates/apps/app/outbound/messages/visitor-auto/all.js","embercom/templates/apps/app/outbound/messages/visitor-auto/draft.js","embercom/templates/apps/app/outbound/messages/visitor-auto/edit-loading.js","embercom/templates/apps/app/outbound/messages/visitor-auto/live.js","embercom/templates/apps/app/outbound/messages/visitor-auto/loading.js","embercom/templates/apps/app/outbound/messages/visitor-auto/new.js","embercom/templates/apps/app/outbound/messages/visitor-auto/paused.js","embercom/templates/apps/app/outbound/messages/visitor-auto/scheduled.js","embercom/templates/apps/app/outbound/messages/visitor-auto/search.js","embercom/templates/apps/app/outbound/messages/visitor-auto/yours.js","embercom/templates/apps/app/outbound/modals/dependencies.js","embercom/templates/apps/app/outbound/modals/message.js","embercom/templates/apps/app/outbound/modals/move-message.js","embercom/templates/apps/app/outbound/modals/send-test-email.js","embercom/templates/apps/app/outbound/modals/tag.js","embercom/templates/apps/app/outbound/modals/version-lock.js","embercom/templates/apps/app/outbound/partials/-auto-message-list-item.js","embercom/templates/apps/app/outbound/partials/-auto-message-list-table-headers.js","embercom/templates/apps/app/outbound/partials/-draft-auto-message-list-item.js","embercom/templates/apps/app/outbound/partials/-engage-manual-message-list.js","embercom/templates/apps/app/outbound/partials/-manual-message-draft-list-item.js","embercom/templates/apps/app/outbound/partials/-manual-message-list-item.js","embercom/templates/apps/app/outbound/partials/-manual-message-list-table-headers.js","embercom/templates/apps/app/outbound/partials/-message-filter-row.js","embercom/templates/apps/app/outbound/partials/-message-search-tabs.js","embercom/templates/apps/app/outbound/partials/table-cells/-message-selection-cell.js","embercom/templates/apps/app/outbound/partials/table-cells/auto/-multi-variant-auto-message-stats-table-cells.js","embercom/templates/apps/app/outbound/partials/table-cells/auto/-multi-variant-draft-auto-message-stats-table-cells.js","embercom/templates/apps/app/outbound/partials/table-cells/auto/-multi-variant-message-created-at-cell.js","embercom/templates/apps/app/outbound/partials/table-cells/auto/-multi-variant-message-from-cell.js","embercom/templates/apps/app/outbound/partials/table-cells/auto/-multi-variant-message-type-cell.js","embercom/templates/apps/app/outbound/partials/table-cells/auto/-multi-variant-message-variation-labels-cell.js","embercom/templates/apps/app/outbound/partials/table-cells/auto/-single-variant-auto-message-stats-table-cells.js","embercom/templates/apps/app/outbound/partials/table-cells/auto/-single-variant-draft-auto-message-stats-table-cells.js","embercom/templates/apps/app/outbound/partials/table-cells/lists/-campaign-from-cell.js","embercom/templates/apps/app/outbound/partials/table-cells/lists/-campaign-stats-cell.js","embercom/templates/apps/app/outbound/partials/table-cells/lists/-campaign-title-cell.js","embercom/templates/apps/app/outbound/partials/table-cells/lists/-campaign-variations-cell.js","embercom/templates/apps/app/outbound/partials/table-cells/manual/-manual-message-stats-table-cells.js","embercom/templates/apps/app/outbound/partials/table-cells/manual/-single-variant-message-created-at-cell.js","embercom/templates/apps/app/outbound/partials/table-cells/manual/-single-variant-message-from-cell.js","embercom/templates/apps/app/outbound/partials/table-cells/manual/-single-variant-message-send-at-cell.js","embercom/templates/apps/app/outbound/partials/table-cells/manual/-single-variant-message-type-cell.js","embercom/templates/apps/app/outbound/post/index.js","embercom/templates/apps/app/outbound/push/index.js","embercom/templates/apps/app/outbound/reporting/deliverability.js","embercom/templates/apps/app/outbound/reporting/overview.js","embercom/templates/apps/app/outbound/search.js","embercom/templates/apps/app/outbound/series/index.js","embercom/templates/apps/app/outbound/series/loading.js","embercom/templates/apps/app/outbound/series/redirect-to/series.js","embercom/templates/apps/app/outbound/series/series.js","embercom/templates/apps/app/outbound/sms/index.js","embercom/templates/apps/app/outbound/tour/edit.js","embercom/templates/apps/app/outbound/tour/index.js","embercom/templates/apps/app/platform/guide/index.js","embercom/templates/apps/app/pre-tour.js","embercom/templates/apps/app/reports.js","embercom/templates/apps/app/reports/conversational-insights.js","embercom/templates/apps/app/reports/conversational-insights/suggested-topics/index.js","embercom/templates/apps/app/reports/conversational-insights/suggested-topics/topic/index.js","embercom/templates/apps/app/reports/conversational-insights/tracked-topics/index.js","embercom/templates/apps/app/reports/conversational-insights/tracked-topics/new.js","embercom/templates/apps/app/reports/conversational-insights/tracked-topics/topic/edit.js","embercom/templates/apps/app/reports/conversational-insights/tracked-topics/topic/show.js","embercom/templates/apps/app/reports/conversations.js","embercom/templates/apps/app/reports/custom-reports/index.js","embercom/templates/apps/app/reports/custom-reports/report/new/index.js","embercom/templates/apps/app/reports/custom-reports/report/show/chart/edit.js","embercom/templates/apps/app/reports/custom-reports/report/show/chart/new.js","embercom/templates/apps/app/reports/custom-reports/report/show/index.js","embercom/templates/apps/app/reports/customer-engagement.js","embercom/templates/apps/app/reports/customer-support/articles.js","embercom/templates/apps/app/reports/customer-support/articles/closed-by-operator.js","embercom/templates/apps/app/reports/customer-support/articles/flexible.js","embercom/templates/apps/app/reports/customer-support/articles/index.js","embercom/templates/apps/app/reports/customer-support/conversation-tags.js","embercom/templates/apps/app/reports/customer-support/conversations-flexible.js","embercom/templates/apps/app/reports/customer-support/customer-satisfaction.js","embercom/templates/apps/app/reports/customer-support/effectiveness.js","embercom/templates/apps/app/reports/customer-support/export.js","embercom/templates/apps/app/reports/customer-support/overview.js","embercom/templates/apps/app/reports/customer-support/resolution-bot.js","embercom/templates/apps/app/reports/customer-support/responsiveness.js","embercom/templates/apps/app/reports/customer-support/slas.js","embercom/templates/apps/app/reports/customer-support/team-performance.js","embercom/templates/apps/app/reports/inbox.js","embercom/templates/apps/app/reports/inbox/summary/sales.js","embercom/templates/apps/app/reports/inbox/summary/sales/closed-won.js","embercom/templates/apps/app/reports/inbox/summary/sales/opportunities.js","embercom/templates/apps/app/reports/inbox/summary/sales/pipeline.js","embercom/templates/apps/app/reports/lead-generation/custom-bots.js","embercom/templates/apps/app/reports/lead-generation/custom-bots/completed.js","embercom/templates/apps/app/reports/lead-generation/custom-bots/engaged.js","embercom/templates/apps/app/reports/lead-generation/custom-bots/sent.js","embercom/templates/apps/app/reports/lead-generation/leads.js","embercom/templates/apps/app/reports/lead-generation/sales.js","embercom/templates/apps/app/reports/lead-generation/sales/closed-won.js","embercom/templates/apps/app/reports/lead-generation/sales/opportunities.js","embercom/templates/apps/app/reports/lead-generation/sales/pipeline.js","embercom/templates/apps/app/reports/overview.js","embercom/templates/apps/app/respond/inbox/partials/-shopify-saved-draft-order.js","embercom/templates/apps/app/respond/inbox/partials/-undo-close-conversations.js","embercom/templates/apps/app/settings.js","embercom/templates/apps/app/settings/android.js","embercom/templates/apps/app/settings/attachment-settings.js","embercom/templates/apps/app/settings/blocked-users.js","embercom/templates/apps/app/settings/company-data.js","embercom/templates/apps/app/settings/company-segments.js","embercom/templates/apps/app/settings/conversation-data.js","embercom/templates/apps/app/settings/delete-user.js","embercom/templates/apps/app/settings/email-forwarding.js","embercom/templates/apps/app/settings/email-templates/copy-template.js","embercom/templates/apps/app/settings/email-templates/edit-template.js","embercom/templates/apps/app/settings/email-templates/email-templates.js","embercom/templates/apps/app/settings/events.js","embercom/templates/apps/app/settings/general.js","embercom/templates/apps/app/settings/identity-verification/android.js","embercom/templates/apps/app/settings/identity-verification/ios.js","embercom/templates/apps/app/settings/identity-verification/web.js","embercom/templates/apps/app/settings/imports.js","embercom/templates/apps/app/settings/inbox-views.js","embercom/templates/apps/app/settings/ios.js","embercom/templates/apps/app/settings/loading.js","embercom/templates/apps/app/settings/logs.js","embercom/templates/apps/app/settings/messaging.js","embercom/templates/apps/app/settings/modals/attribute-details.js","embercom/templates/apps/app/settings/modals/checking-dependents.js","embercom/templates/apps/app/settings/modals/custom-event-details.js","embercom/templates/apps/app/settings/modals/delete-app-modal.js","embercom/templates/apps/app/settings/modals/dependent-office-hours-messages.js","embercom/templates/apps/app/settings/modals/event-creation-modal.js","embercom/templates/apps/app/settings/modals/logs-export.js","embercom/templates/apps/app/settings/modals/permission-request.js","embercom/templates/apps/app/settings/modals/reassign-messages.js","embercom/templates/apps/app/settings/office-hours.js","embercom/templates/apps/app/settings/people-data.js","embercom/templates/apps/app/settings/people-segments.js","embercom/templates/apps/app/settings/qualification-settings.js","embercom/templates/apps/app/settings/roles/edit.js","embercom/templates/apps/app/settings/roles/index.js","embercom/templates/apps/app/settings/roles/new.js","embercom/templates/apps/app/settings/saved-replies.js","embercom/templates/apps/app/settings/security.js","embercom/templates/apps/app/settings/senders.js","embercom/templates/apps/app/settings/slas.js","embercom/templates/apps/app/settings/spam-messages.js","embercom/templates/apps/app/settings/tags-new.js","embercom/templates/apps/app/settings/tags.js","embercom/templates/apps/app/settings/teammates/index.js","embercom/templates/apps/app/settings/teammates/invite/csv-import.js","embercom/templates/apps/app/settings/teammates/invite/edit.js","embercom/templates/apps/app/settings/teammates/invite/invite.js","embercom/templates/apps/app/settings/teammates/invite/permissions.js","embercom/templates/apps/app/settings/teammates/permissions.js","embercom/templates/apps/app/settings/teammates/teammate/permissions.js","embercom/templates/apps/app/settings/teammates/teammate/remove.js","embercom/templates/apps/app/settings/teams.js","embercom/templates/apps/app/settings/universal-linking.js","embercom/templates/apps/app/settings/web.js","embercom/templates/apps/app/settings/webhooks.js","embercom/templates/apps/app/settings/webhooks/index.js","embercom/templates/apps/app/sms-demo.js","embercom/templates/apps/app/teams-checkout.js","embercom/templates/apps/app/teams-checkout/confirm.js","embercom/templates/apps/app/teams-checkout/early-stage-application.js","embercom/templates/apps/app/teams-checkout/plan.js","embercom/templates/apps/app/teams-checkout/verify.js","embercom/templates/apps/app/test-conversation.js","embercom/templates/apps/app/tours/edit.js","embercom/templates/apps/app/tours/index.js","embercom/templates/apps/app/tours/loading.js","embercom/templates/apps/app/users-and-companies/filter-count-summary.js","embercom/templates/apps/app/users-and-companies/modals/export.js","embercom/templates/apps/app/users-and-companies/modals/tag.js","embercom/templates/apps/app/users-and-companies/selected-count.js","embercom/templates/apps/app/users.js","embercom/templates/apps/app/users/segments.js","embercom/templates/apps/app/users/segments/segment.js","embercom/templates/apps/app/users/segments/segment/-bulk-actions.js","embercom/templates/apps/app/users/segments/segment/-user-list-header.js","embercom/templates/apps/app/users/segments/segment/-user-list-heading-count.js","embercom/templates/apps/app/users/segments/segment/modals/export.js","embercom/templates/apps/app/users/segments/segment/modals/message.js","embercom/templates/apps/app/users/segments/segment/modals/segment.js","embercom/templates/apps/app/users/segments/segment/modals/tagging.js","embercom/templates/apps/app/users/user-not-found.js","embercom/templates/apps/app/users/user.js","embercom/templates/apps/app/users/user/all-conversations.js","embercom/templates/apps/app/users/user/conversations.js","embercom/templates/apps/app/users/user/loading.js","embercom/templates/apps/app/users/user/modals/impersonate.js","embercom/templates/apps/app/users/user/modals/subscription.js","embercom/templates/apps/app/users/user/partials/-conversation-feed-items.js","embercom/templates/apps/app/video.js","embercom/templates/apps/app/workflows.js","embercom/templates/apps/error.js","embercom/templates/apps/new.js","embercom/templates/appstore.js","embercom/templates/appstore/app-package.js","embercom/templates/appstore/index.js","embercom/templates/canvas-kit-builder.js","embercom/templates/canvas-kit-builder/index.js","embercom/templates/canvas-kit-builder/preview.js","embercom/templates/components/anchor-editor.js","embercom/templates/components/attachment-item-pill.js","embercom/templates/components/attachment-item.js","embercom/templates/components/attachment-list.js","embercom/templates/components/attribute-editor.js","embercom/templates/components/attribute-inserter.js","embercom/templates/components/attribute-selector.js","embercom/templates/components/attribute-spend-component.js","embercom/templates/components/attributes/attribute.js","embercom/templates/components/button-editor.js","embercom/templates/components/col-pick-input.js","embercom/templates/components/common/code-text-area.js","embercom/templates/components/common/relative-datetime.js","embercom/templates/components/composer-debug.js","embercom/templates/components/composer-inserter.js","embercom/templates/components/composer-v2.js","embercom/templates/components/conversation-composer.js","embercom/templates/components/conversation/stream/partials/-admin-meta.js","embercom/templates/components/customisable-widget-editor-social.js","embercom/templates/components/customisable-widget-editor-text.js","embercom/templates/components/customisable-widget-popover.js","embercom/templates/components/customisable-widget.js","embercom/templates/components/emoji-inserter.js","embercom/templates/components/expandable-list.js","embercom/templates/components/facebook-like-button-editor.js","embercom/templates/components/help-guide.js","embercom/templates/components/html-editor-textarea.js","embercom/templates/components/html-editor.js","embercom/templates/components/image-editor.js","embercom/templates/components/image-text-composer.js","embercom/templates/components/image-text-editor.js","embercom/templates/components/importers/file-upload-component.js","embercom/templates/components/intercom-select-component.js","embercom/templates/components/labeled-input.js","embercom/templates/components/media-inserter-attach-file-button.js","embercom/templates/components/media-inserter-facebook.js","embercom/templates/components/media-inserter-selector.js","embercom/templates/components/media-inserter-social.js","embercom/templates/components/media-inserter-twitter.js","embercom/templates/components/media-inserter-video.js","embercom/templates/components/media-inserter.js","embercom/templates/components/media-inserters/insert-character.js","embercom/templates/components/media-inserters/needs-configuration.js","embercom/templates/components/mention-inserter.js","embercom/templates/components/message-editor/content/email/partials/-composer-app-styles.js","embercom/templates/components/message-editor/content/in-app/partials/-badge.js","embercom/templates/components/message-editor/content/in-app/partials/-reaction-picker.js","embercom/templates/components/message-editor/content/in-app/partials/android/-chat.js","embercom/templates/components/message-editor/content/in-app/partials/android/-messenger.js","embercom/templates/components/message-editor/content/in-app/partials/android/-note.js","embercom/templates/components/message-editor/content/in-app/partials/android/-post.js","embercom/templates/components/message-editor/content/in-app/partials/ios/-chat.js","embercom/templates/components/message-editor/content/in-app/partials/ios/-messenger.js","embercom/templates/components/message-editor/content/in-app/partials/ios/-note.js","embercom/templates/components/message-editor/content/in-app/partials/ios/-post.js","embercom/templates/components/message-editor/content/in-app/partials/mobile/-mobile-footer.js","embercom/templates/components/message-editor/content/in-app/partials/mobile/-mobile-header.js","embercom/templates/components/message-editor/content/in-app/partials/mobile/-snippet-mobile-chat.js","embercom/templates/components/message-editor/content/in-app/partials/mobile/-snippet-mobile.js","embercom/templates/components/message-editor/content/in-app/partials/web/-author-summary.js","embercom/templates/components/message-editor/content/in-app/partials/web/-avatar.js","embercom/templates/components/message-editor/content/in-app/partials/web/-composer.js","embercom/templates/components/message-editor/content/in-app/partials/web/-email-collector.js","embercom/templates/components/message-editor/content/in-app/partials/web/-messenger.js","embercom/templates/components/message-editor/content/in-app/partials/web/-snippet.js","embercom/templates/components/message-editor/content/in-app/partials/web/chat/-full.js","embercom/templates/components/message-editor/content/in-app/partials/web/chat/-snippet.js","embercom/templates/components/message-editor/content/in-app/partials/web/note/-full.js","embercom/templates/components/message-editor/content/in-app/partials/web/pointer/-full.js","embercom/templates/components/message-editor/content/in-app/partials/web/post/-full.js","embercom/templates/components/message-editor/content/in-app/partials/web/video/-full.js","embercom/templates/components/message-editor/content/in-app/partials/web/video/-no-video-content.js","embercom/templates/components/message-editor/content/in-app/partials/web/video/-video-preview.js","embercom/templates/components/message-editor/content/sidebar/sender-assignee-dropdown.js","embercom/templates/components/message-editor/content/tabs-component.js","embercom/templates/components/messages/partials/-attribute-selector-inner.js","embercom/templates/components/modal/message.js","embercom/templates/components/non-editable-block-editor.js","embercom/templates/components/null-editor.js","embercom/templates/components/partials/-calendar-date-picker-dropdown.js","embercom/templates/components/partials/-intercom-select-dropdown.js","embercom/templates/components/partials/_editor.js","embercom/templates/components/people/attributes/multiple-choice-editor.js","embercom/templates/components/people/attributes/string-editor.js","embercom/templates/components/popover-coordinator.js","embercom/templates/components/popover-header.js","embercom/templates/components/predicates/partials/-inline-comparison-editor.js","embercom/templates/components/predicates/value-editors/numeric-editor.js","embercom/templates/components/predicates/value-editors/string-editor.js","embercom/templates/components/predicates/value-editors/tag-editor.js","embercom/templates/components/pseudonym-warner.js","embercom/templates/components/reporting/line-chart-legend.js","embercom/templates/components/saved-reply-inserter.js","embercom/templates/components/segment-filter/partials/-anonymous-select-component-item.js","embercom/templates/components/text-editor.js","embercom/templates/components/text-formatter.js","embercom/templates/components/twitter-follow-button-editor.js","embercom/templates/components/type-ahead-coordinator.js","embercom/templates/components/video-editor.js","embercom/templates/components/video-file-editor.js","embercom/templates/developer-signup.js","embercom/templates/error.js","embercom/templates/feature-upgrade-prompt.js","embercom/templates/graph-demo.js","embercom/templates/head.js","embercom/templates/invite.js","embercom/templates/load_time_baseline.js","embercom/templates/meeting-scheduler-error.js","embercom/templates/meeting-scheduler.js","embercom/templates/notifications/-company-address-addition.js","embercom/templates/notifications/-invalid-rule.js","embercom/templates/notifications/-nexus-init-failure.js","embercom/templates/notifications/-old-version.js","embercom/templates/notifications/attributes/-new-cda-success.js","embercom/templates/notifications/folders/-message-addition.js","embercom/templates/notifications/folders/-message-removal.js","embercom/templates/notifications/integrations/-integration-error.js","embercom/templates/notifications/integrations/salesforce/-task-creation.js","embercom/templates/notifications/invite/-sending-denied.js","embercom/templates/notifications/tours/-messenger-not-loaded.js","embercom/templates/oauth/connect.js","embercom/templates/partials/link-with-icon-pattern-inner.js","embercom/templates/saml.js","embercom/templates/sign-in.js","embercom/templates/signup.js","embercom/templates/signup/get-started.js","embercom/templates/signup/teams.js","embercom/templates/signup/teams/index.js","embercom/templates/video.js","embercom/transforms/array.js","embercom/transforms/company-summaries.js","embercom/transforms/fragment-array.js","embercom/transforms/fragment-has-many.js","embercom/transforms/fragment.js","embercom/transition-maps/answers-transitions.js","embercom/transition-maps/campaign-transitions.js","embercom/transition-maps/content-editor-transitions.js","embercom/transition-maps/feed-transitions.js","embercom/transition-maps/message-editor-transitions.js","embercom/transition-maps/onboarding-home-transitions.js","embercom/transition-maps/onboarding-transitions.js","embercom/transition-maps/product-card-transitions.js","embercom/transitions.js","embercom/transitions/bounce.js","embercom/transitions/cross-fade.js","embercom/transitions/default.js","embercom/transitions/explode.js","embercom/transitions/fade.js","embercom/transitions/fading-flex-grow.js","embercom/transitions/flex-grow.js","embercom/transitions/flip.js","embercom/transitions/fly-to.js","embercom/transitions/move-over.js","embercom/transitions/scale.js","embercom/transitions/scroll-then.js","embercom/transitions/to-down.js","embercom/transitions/to-left.js","embercom/transitions/to-right.js","embercom/transitions/to-up.js","embercom/transitions/wait.js","embercom/translations/de.js","embercom/translations/en.js","embercom/translations/es.js","embercom/translations/fr.js","embercom/translations/ja.js","embercom/translations/pt-br.js","embercom/utils/intl/missing-message.js","embercom/utils/titleize.js","embercom/validations/banner.js","embercom/validations/brand-domain.js","embercom/validations/brand.js","embercom/validations/carousel-action.js","embercom/validations/carousel-screen.js","embercom/validations/carousel.js","embercom/validations/chat.js","embercom/validations/common/predicate-group.js","embercom/validations/common/predicate.js","embercom/validations/control-group.js","embercom/validations/custom-bot.js","embercom/validations/custom-bots/control.js","embercom/validations/custom-bots/initiators/bot-auto-message.js","embercom/validations/custom-bots/initiators/bot-auto-messages/selection-state.js","embercom/validations/custom-bots/initiators/inbound-trigger.js","embercom/validations/custom-bots/initiators/messenger-trigger.js","embercom/validations/custom-bots/path.js","embercom/validations/custom-bots/step.js","embercom/validations/email.js","embercom/validations/localized-banner-content.js","embercom/validations/localized-carousel-content.js","embercom/validations/localized-chat-content.js","embercom/validations/localized-email-content.js","embercom/validations/localized-post-content.js","embercom/validations/localized-push-content.js","embercom/validations/localized-sms-message-content.js","embercom/validations/message-variation.js","embercom/validations/message.js","embercom/validations/messages/control-group.js","embercom/validations/messages/delivery-window.js","embercom/validations/messages/page-target.js","embercom/validations/messages/selection-state.js","embercom/validations/mobile-push.js","embercom/validations/operator/resolution-bot-looping-settings.js","embercom/validations/post.js","embercom/validations/role.js","embercom/validations/ruleset-link.js","embercom/validations/ruleset.js","embercom/validations/saml-account.js","embercom/validations/sms.js","embercom/validations/tour.js","embercom/validations/wait.js","embercom/validators/alias.js","embercom/validators/all-pointers-have-selectors.js","embercom/validators/auto-message-has-user-predicates.js","embercom/validators/banner-action-url-not-empty.js","embercom/validators/banner-blocks-not-empty.js","embercom/validators/banner-button-text-length.js","embercom/validators/belongs-to.js","embercom/validators/blocks-not-default.js","embercom/validators/blocks-not-empty.js","embercom/validators/bot-auto-message-has-visitor-predicates.js","embercom/validators/bot-auto-message-limit-or-predicates.js","embercom/validators/collection.js","embercom/validators/confirmation.js","embercom/validators/control-group-message-has-goal.js","embercom/validators/custom-bot-bot-data-selector-present.js","embercom/validators/custom-bot-control-reply-button-has-next-step.js","embercom/validators/custom-bot-control-reply-button-not-empty.js","embercom/validators/custom-bot-first-path-constraints.js","embercom/validators/custom-bot-path-is-not-orphan.js","embercom/validators/custom-bot-path-limits-consecutive-auto-follows.js","embercom/validators/custom-bot-rule-messenger-apps-are-valid.js","embercom/validators/custom-bot-step-blocks-messenger-apps-are-valid.js","embercom/validators/custom-bot-step-blocks-messenger-cards-are-valid.js","embercom/validators/custom-bot-step-blocks-not-empty.js","embercom/validators/custom-bot-step-data-field-is-set.js","embercom/validators/date.js","embercom/validators/delivery-channel-admin-must-verify-email.js","embercom/validators/delivery-channel-valid-for-audience.js","embercom/validators/delivery-window-end-is-after-start.js","embercom/validators/delivery-window-only-permitted-for-email-or-push.js","embercom/validators/dependent.js","embercom/validators/domain.js","embercom/validators/ds-error.js","embercom/validators/email-subject-not-empty.js","embercom/validators/exclusion.js","embercom/validators/follow-up-rule-is-complete.js","embercom/validators/follow-up-rule-is-valid.js","embercom/validators/format.js","embercom/validators/has-many.js","embercom/validators/https-except-in-development.js","embercom/validators/inclusion.js","embercom/validators/inline.js","embercom/validators/length.js","embercom/validators/manual-message-has-count.js","embercom/validators/message-limit-user-predicates.js","embercom/validators/message-start-at-stop-at-is-valid.js","embercom/validators/message-variation-content-button-no-link-url.js","embercom/validators/message-variation-content-not-placeholder.js","embercom/validators/message-variation-html-mode-content-contains-unsubscribe.js","embercom/validators/message-variation-html-mode-content-not-empty.js","embercom/validators/message-variation-pointer-selector.js","embercom/validators/message-variations-are-different.js","embercom/validators/messages.js","embercom/validators/no-empty-code-blocks.js","embercom/validators/number.js","embercom/validators/oauth-redirect-url.js","embercom/validators/page-target-predicates.js","embercom/validators/page-target-string.js","embercom/validators/pointer-has-selector.js","embercom/validators/presence.js","embercom/validators/push-message-variation-content.js","embercom/validators/quick-link-url.js","embercom/validators/rule-data.js","embercom/validators/ruleset-activation-is-before-deactivation.js","embercom/validators/ruleset-does-not-target-mobile-and-use-page-targeting.js","embercom/validators/ruleset-does-not-target-mobile-only-and-non-users.js","embercom/validators/ruleset-does-not-use-client-predicates-for-static-match-behavior.js","embercom/validators/ruleset-has-no-blank-client-predicates.js","embercom/validators/ruleset-has-role-predicate.js","embercom/validators/ruleset-has-valid-goal.js","embercom/validators/ruleset-has-valid-predicates.js","embercom/validators/ruleset-has-valid-scheduled-activation.js","embercom/validators/ruleset-has-valid-scheduled-deactivation.js","embercom/validators/ruleset-links-are-different.js","embercom/validators/ruleset-not-static-visitor.js","embercom/validators/simple-action-rule-is-valid.js","embercom/validators/task-bots/branching-qualification-collects-qualification-data.js","embercom/validators/task-bots/conversation-routing-has-valid-redirect.js","embercom/validators/time-on-page-value.js","embercom/validators/title-and-body-blocks-not-empty.js","embercom/validators/url-with-template-string.js","embercom/validators/video-details.js","embercom/validators/video-vam-has-video-block.js","embercom/validators/wait-time-is-in-the-future.js","embercom/validators/workflow-has-valid-actions-by-is-valid.js","embercom/validators/workflow-has-valid-actions-by-uniqueness.js","embercom/validators/workflow-has-valid-predicates-for-status.js","embercom/validators/workflow-has-valid-trigger-data.js","embercom/vendor/extract-colors.js","embercom/vendor/intercom/b64-filter-param-encoder.js","embercom/vendor/intercom/browser-alerts.js","embercom/vendor/intercom/date-formatter.js","embercom/vendor/intercom/desktop-notifications.js","embercom/vendor/intercom/interlock.js","embercom/vendor/intercom/nexus.js","embercom/vendor/intercom/reachability.js","embercom/vendor/intercom/render.js","embercom/vendor/intercom/storage.js","embercom/vendor/intercom/tag-filter-url.js","vendor/ember-cli/app-config.js","vendor/ember-cli/app-boot.js"],"names":["ApplicationAdapter","extend","urlForDeleteRecord","id","modelName","snapshot","this","urlForCreateRecord","router","Ember","inject","service","ajax","url","type","options","arguments","length","undefined","data","Object","assign","isEmbercom","ra_source","currentRouteName","_super","apply","pathForType","EmbercomAdapter","String","underscore","_emberInflector","pluralize","app_id","_getAppId","ajaxOptions","_ajax2","default","appRoute","_loadAppRoute","get","ENV","environment","_","record","appPackage","content","concat","getSingleRecordUrl","code","urlForFindRecord","appPackageCode","urlForUpdateRecord","buildURL","requestType","query","phrase","ArticleAdapter","_get","_getPrototypeOf","prototype","call","JSONAPIAdapter","ConversationAttributeValue","updateAttribute","store","conversationId","attributeId","value","serialize","Error","updateRecord","namespace","CumulativeTotalInstallsAdapter","appPackageId","InstallationEvents","UninstallFeedback","collectionKey","shouldReloadRecord","EmailTemplate","isIntercomBuiltTemplate","shouldBackgroundReloadRecord","_appendAppIdToURLParams","appId","delimiter","includes","findRecord","adapterOptions","stats","buildQuery","include_unique_stat_count","RESTAdapter","duration","_ajax","coalesceFindRequests","then","guideResponseJSON","push","normalize","deleteRecord","_store","reassignments","Permission","transformReassignments","_snapshot$adapterOpti","serializerFor","serializeIntoHash","_convertReassignmentsToPayload","unsubscribe","model","ChartAdapter","ReportAdapter","formData","FormData","append","name","identity_verified","has_certificate","certificate","isAndroid","gcm_key","hasApnsToken","apnsTokenFile","apnsTokenFileName","apnsKeyId","apnsTeamId","iosBundleId","method","contentType","processData","state","app","_containerLookup","getApp","currentAdminId","attributes","onerror","error","Logger","_sentry","App","config","modulePrefix","podModulePrefix","Resolver","copy","paste","cut","scroll","container","__container__","lookup","initialize","document","documentElement","querySelector","classList","add","_emberLoadInitializers","_register","mobile","tablet","desktop","leftNavSmall","leftNavMedium","leftNavLarge","locale","pluralRuleFunction","n","ord","v0","split","fields","year","displayName","relative","0","1","-1","relativeTime","future","one","other","past","year-short","month","month-short","day","2","-2","day-short","hour","hour-short","minute","minute-short","second","second-short","numbers","decimal","long","short","s","t0","Number","n10","slice","n100","parentLocale","i","define","_exports","_emberComponentManager","defineProperty","enumerable","Component","_lfGetOutletState","__COLOCATED_TEMPLATE__","HTMLBars","template","block","meta","moduleName","ImageUploadComponent","classNameBindings","fileIsLargerThanOneMB","computed","gt","fileIsTooLarge","and","removeFile","_action","set","showFilePicker","_jquery","element","click","saveAdminAvatar","_this","admin","file","createAvatar","run","later","setProperties","isSaving","hasSaved","finishActiveCard","removeAdminAvatar","destroyAvatar","_templateOnlyComponent","appService","readOnly","avatarUrl","init","participant","createRecord","avatar","initials","color","image_urls","normal","isActive","user_id","isUserRole","role","firstName","display_as","parts","createUserCommentPart","text","createAdminCommentPart","createAdminNotePart","conversation","createPreviewConversation","blocks","partOptions","participant_id","created_at","Date","toJSON","channel_type","part","_pushAndPeekPart","admin_id","assignee_id","sub_type","isUserPart","shouldDisableAvatarLinkAndTooltip","admin_only","lastActionPart","participants","isOneToOneConversation","disableSeenStateUpdates","disableFetchParts","isClosed","isNotClosed","addParts","pushPayload","conversation-part","peekRecord","BaseSettingsSubmenu","isOnYourAccountRoute","match","RouteRegexes","accountSettings","yourAccount","isOnNotificationsRoute","notifications","isOnInboxSettingsRoute","inboxSettings","isOnVisibilityRoute","visibility","isOnAuthenticationRoute","authentication","isOnAccountAccessRoute","accountAccess","renderTableLoadingState","didRender","next","isDestroying","intercomEventService","validAccountDomain","_computedProperties","applyFunction","isValidUrl","errors","create","ownerId","_trackCreate","trackAnalyticsEvent","action","object","createAccount","_asyncToGenerator","regeneratorRuntime","mark","_callee","account","wrap","_context","prev","message","domain","abrupt","save","closeModal","jqXHR","responseJSON","unloadRecord","stop","changeOwner","showDoneButton","showDropdown","VALID_EMAIL_REGEX","notificationsService","shortcuts","maxEmailLength","maxUrlLength","maxBiographyLength","editableName","reads","editableEmail","emailHostPart","editableEmailIncludingHostPart","editableJobTitle","isEditableJobTitleEmpty","empty","editableCalendarUrl","editableBiography","hideCalenderUrlInMessenger","not","editableNameInputClasses","editableEmailInputClasses","editableBioTextClasses","nameHasChanged","notEqualToProperty","emailHasChanged","jobTitleHasChanged","biographyHasChanged","calendarUrlHasChanged","togglableCalendar","oneWay","showCalendarHasChanged","togglableLocation","hideLocation","showLocationHasChanged","profileUpdated","or","nameError","emailError","email","toLowerCase","test","isCalendarUrlEmpty","calendarUrlLengthIsValid","lessThanProperty","isCalendarValidUrl","isValidUrlWithProtocol","calendarUrlError","biographyError","errorsPresent","on","register","key","textBox","escapeShortcut","detroy","unregister","editableMode","showErrorOnLink","isNotEditableMode","shouldHideLocationData","socialConnectParams","handleJobTitleChange","observer","dependentKeys","fn","once","setEditableJobTitle","sync","checkAndShowErrors","resetErrors","checkAndSetNameError","checkAndSetEmailError","checkAndSetBioError","validateCalendarUrl","removeNotification","nameInputClasses","emailInputClasses","bioTextClasses","notifyWarning","resetProperties","exitEditMode","emailLocalPart","trackEventsForChangedAttributes","trackEvent","enterEditMode","saveAction","job_title","biography","calendar_url","show_calendar_in_messenger","show_location","email_address_for_app","toggleShowLocation","toggleProperty","LocationData","columnTooSmall","modelGeoipData","ternaryToProperty","countryName","cityName","didInsertElement","schedule","_setDisplayMode","_emberLifeline","addEventListener","window","setDisplayMode","destroy","runDisposables","debounce","APP","_50MS","childrenWidth","parentWidth","width","children","each","index","child","IntercomModal","saving","maxFileSize","isNotSaving","hasNoAvatar","none","fileIsLargerThan15MB","resetFileIfInvalid","fileIsInvalid","notifyError","cancel","invalidFileResetTask","isDestroyed","uploadDidFail","hasFile","notifyConfirmation","actions","sendAction","openModal","language","getIntercomPageSettings","perform","_emberConcurrency","task","settings","newSettings","queryRecord","sent","status","forEach","subPage","createNewSubPage","page","deleteSubPage","destroyRecord","assigneeDisplayName","attributeBindings","showTeammates","_defaultTo","showTeams","showRemoveAdmin","removeAdminValue","initiallyOpened","showAwayAndReassigningStatus","itemComponent","teammatesHeading","teamsHeading","defaultLabel","buttonIsSubtle","buttonIsTruncated","mode","isInlineMode","equal","onSelectItem","onClose","footerActions","filterPlaceholderIsNotDefined","filterPlaceholderIsDefined","showBothTeammatesAndTeams","defaultFilterPlaceholderForBothTeammatesAndTeams","defaultFilterPlaceholderForJustTeammates","defaultFilterPlaceholderForJustTeams","defaultFilterPlaceholderForSingleObject","defaultFilterPlaceholder","filterPlaceholderToUse","_createGroupItems","group","map","unformattedItem","component","isFilterable","assignee","teams","_this2","assignees","filter","selectedValue","teammates","_this3","selectedAssignee","findByProperty","teammatesGroup","heading","items","teamsGroup","selectedAssigneeGroup","groupedAssignees","A","ComponentDropdownToggler","tagName","paywallService","classNames","tabindex","ternary","itemHeight","itemWidth","numItemsToDisplay","listItemSelector","dropdownAlignmentClass","clearInputOnSelect","use3dFix","listElementComponent","showUnassigned","sorted","showFullName","showSearch","hasTeammates","hasTeams","hasNoTeammates","hasNoTeams","hasHighlightedItem","gte","showInviteLink","sortProperties","adminFilterQuery","helpTeammateText","helpTeamText","hasHelpTeammateText","notEmpty","hasHelpTeamText","firstSelectableItemIndex","$el","event","listItemElement","target","closest","parseInt","dataset","collectionItems","isLabel","isEmptyMessage","firstItemIsHighlighted","lt","lastItemIndex","subtractFrom","lastItemIsHighlighted","equalToProperty","highlightedItem","objectAt","highlightedItemIndex","containerHeight","Math","min","containerWidth","_scrollbarWidth","containerStyle","fmtStyle","filteredSelectableTeammatesWithLabel","filteredSelectableTeamsWithLabel","filteredSelectableItemsWithLabel","itemsKey","labelsKey","labelItem","capitalize","filteredTeammates","selectableTeammates","sortedTeammates","sortBy","sortedFilteredTeammates","filteredTeams","selectableTeams","sortedFilteredTeams","sort","teammateLabelItem","teamLabelItem","selectableItems","filterBy","resultSet","admins","item","rx","filterRegExp","displayAs","matched","_latinize","RegExp","placeHolderText","properties","getProperties","conjunction","isOpenChanged","statsService","frontendStats","isOpen","timeUntilAfterRender","handleClose","keyDown","e","40","38","13","which","send","preventDefault","updatedSearch","changeEvent","updatedSearchForInput","input","sendSelectionAction","open","_arguments","paywallFeature","paywallActivated","paywall","featureName","_toConsumableArray","catch","handleError","onEnter","onUp","decrementProperty","onDown","incrementProperty","AnchorEditor","_animatedBeacon","_animatedContainer","_animatedEach","_animatedIf","_animatedOrphans","_animatedValue","AnswerHeader","ANSWER_BOT_ESSENTIAL_ID","answer","args","actionText","rollbackAttributes","_intercomConfirm","intercomPromiseConfirm","title","body","confirmButtonText","permissionsService","checkPermission","confirmDeleteAnswer","transitionTo","hasAnswerBot","answerBotIsNotActive","answerHasChangedRuleset","context","updateAnswerStatus","redirectToShowPageOnCancel","isThisOrRulesetDirty","isNotUploading","titleIsComplete","answerCanBeSetLive","ruleset","hasDirtyAttributes","AnswerList","languageCode","language_code","queryParams","filter_value","answers","filteredAnswers","hasContent","_answer$stats","isUnderperforming","any","_answer$stats2","filteredAnswersWithContent","filteredUnderperformingAnswers","initialCount","all","live","draft","paused","underperforming","reduce","counts","COLUMNS_TO_SORT_BY_ASCENDING","AnswerListTable","isSortDirectionAscending","sortInAscendingOrder","answer_id","_element","_slicedToArray","_ref2","EDITOR_SECTION_TO_ANALYTICS_CONTEXT","example-questions","response-editor","answer-review","audience-editor","AnswerEditor","sectionName","analyticsContext","audienceTargetingOpened","onSuggestionUsed","disabledInPredictiveContext","audienceIsValid","validations","isTruelyValid","hasBeenUpdated","StandardAudienceEditorConfiguration","showClientPredicates","allowedUserRoles","useRolePredicateGroup","suggestionId","PartComposer","composer","getBlocks","blockFragments","_createFragmentFromBlock","JSON","stringify","hasNoContent","isEditable","inserters","icon","descriptor","hasPopoverContentComponent","teammateConversationGifsEnabled","registerOpenInserter","inserterName","openInserters","pushObject","clearOpenInserter","removeObject","uploadImage","files","uploadAttachment","insertBlock","ConversationBubble","_classCallCheck","_defineProperty","firstBlock","isCard","canvas","ConversationCard","reply","selectedBubbles","r","isExpanded","loadMore","onToggle","syncedPartList","loadMoreUntilPart","firstUserPart","partWithCards","selectableBlocks","createNewPartForNextNonCardBlock","selectableBlock","hasNoBody","isAdminPart","isDeleted","isRedacted","isBotPart","answerId","bubbles","sortedParts","_isPartVisible","visiblePart","hasMessengerCards","partBubbles","_splitPartWithCardsIntoReplies","SideDrawerOpener","_intercomWidgetHelper","hideIntercomWidgetWhenLoaded","sideDrawerIsVisible","showIntercomWidget","exampleQuestionSourceConversationIds","SideDrawer","_initializerDefineProperty","_assertThisInitialized","_descriptor","_descriptor2","_descriptor3","_descriptor4","loadConversations","expandedConversation","Conversation","newSearch","ids","conversationIds","response","conversations","MultipartResponseEditor","multipartResponse","reorderedMultipartResponse","responseParts","showWarningMessage","createFragment","addFragment","cardJSON","_app","cardCreationParams","previewCanvas","previewMessengerCardUri","uri","replies","_transformBlocksIfNecessary","newPart","removeEmptyResponseParts","firstObject","composerState","ComposerState","Config","createFromPreset","serialized","AddedExamples","exampleQuestions","hasExamples","hasNoExamples","questionTrainingState","isCompleted","expandSelectedExamples","ConfigureTriggerWordsModal","triggerWordsInput","triggerWordsCommaSeparatedList","keywords","setControlCriteriaFromTriggerWordsCommaSeparatedList","ExampleQuestionSuggestionList","answerListAcceptRejectTransition","QuestionsEditor","_descriptor5","_descriptor6","_descriptor7","_descriptor8","_descriptor9","_descriptor10","_initQuestionTrainingState","_trackTooltipDisplayed","QuestionTrainingState","isNewFromSuggestion","isBlank","isNewFromCluster","canUseSuggestedAnswers","clusterId","previousTooltipContent","previousTrackedTooltip","currentTooltipContent","currentlyShownTooltipContent","tooltip","hasTitle","visible","addManualExampleModalIsVisible","models","question_text","trim","addedFrom","addRecentExample","_updateTitle","manualExample","hasSearched","cluster","cluster_position","suggestedAnswerClusters","indexOf","archetype","tile_position","applyExample","applySuggestedCluster","searchResult","searchTerm","rejectedExample","rejectedExampleQuestions","findBy","identifier","example","removeExampleQuestion","answerFollowOnCreationService","setRejectedQuestions","rejectExampleQuestion","exampleQuestion","question_id","isEmpty","tooltipTryNewSearch","initiatedFromClusterBeta","tooltipFirstSearchAddMore","tooltipFirstSearch","tooltipSubsequentSearch","tooltipCompleted","addedExamplesTooltipContent","searchBoxTooltipContent","searchResultsTooltipContent","RadialProgressIndicator","size","strokeWidth","PI","radius","progressCounter","progressCompletionAt","rateOfCompletion","circleCircum","circleCircumference","PALETTE","gray","progressSuccessAt","blue","SearchForQuestion","_this$args$answer$exa","prepopulatedSearchTerm","loadAndDisplaySuggestions","isMidSearch","searchTask","isRunning","shouldShowSuggestionClusters","currentExampleCount","currentlyPresentedExamples","newSearchPerformed","params","_buildFetchParameters","post","results","suggestion","source","textWithHighlights","highlighted_text","exampleCount","blankResults","Array","fill","loading","fetchSuggestions","timeout","NEW_ANSWER_ANIMATION_LENGTH","fetchAndTimeoutResults","loadedExamples","refreshCurrentlyPresentedExamples","isArray","slotsToAdd","resultsToPopulate","slotToFill","newPresentedExamples","x","setCurrentlyPresentedExamples","onNewSearchResults","recently_selected_examples","_serializeExamples","addedExamplesFromCurrentSearch","recently_rejected_examples","recentlyRejectedExamples","all_selected_examples","rejected_examples","removedAndRejectedExamples","currently_presented_examples","required_keywords","controlCriteria","examples","runSearchTask","inputElement","focus","isSelecting","search_source","onSuggestedQuestionAccepted","onSuggestedQuestionAcceptedOrRejected","onSuggestedQuestionRejected","onSuggestedClusterSelected","examplesToKeep","RejectedSuggestedQuestionsModal","rejectedQuestion","selectedQuestions","_this$firstSelectedQu","setQuestionsSelectedFromRejectedQuestions","creatingAnswer","previousShowPageAnswerId","currentPageAnswerId","firstSelectedQuestion","reset","isVisible","keys","ReviewWrapper","tasks","scrollTo","messengerColors","_intercomMessengerColors","primaryColor","secondaryColor","darkenAmount","Styles","text_color","quick_reply_text_color","background_color","quick_reply_background_color","RateConversationPart","rating","partId","put","console","AnswersCoverage","conversationsSent","_percentageFormatter","answersSent","ANSWER_EFFECTIVENESS_ITEMS","label","ANSWER_EFFECTIVENESS_KEYS","ANSWER_EFFECTIVENESS_TOOLTIPS","hash","_objectSpread","EFFECTIVE_ANSWER_KEYS","calculateAggregate","aggregateBucketIndexes","valuesByKey","total","ResolutionRate","signal","aggregateSignalAsStackablePercentageData","percentagesByKey","totalsPerKey","TeamImpact","conversationSource","inboundTimeSaved","outboundTimeSaved","totalTimeSaved","_this$args$signals","_this$args$signals$in","signals","inboundMedianClosedTimeLastWeek","originalValue","_this$args$signals2","_this$args$signals2$o","outboundMedianClosedTimeLastWeek","isNaN","inboundCloseTime","effectiveInboundAnswerCount","outboundCloseTime","effectiveOutboundAnswerCount","description","_durationFormatter","formatSeconds","format","effectiveAnswerCount","ConversationList","_emberConcurrencyDecorators","restartable","loadPage","pageNumber","event_type","eventType","per_page","conversationCount","total_count","pushObjects","c","MessageEditorTabContainer","hideComponent","activeView","changeView","displaying","transitionRoute","AnswersSuggestedAnswersComponent","shouldShowAllSuggestedAnswersModal","selectedCluster","showAllSuggestedAnswersModal","createAnswerFromCluster","clusterPosition","clusters","loadingAnimationIsActive","ClusterHeader","renderIntroAnimation","animationLoadingText","_2000MS","onAnimationComplete","useNewModel","clusterGroups","languageAlpha2","newClusterGroup","currentGroupIndex","currentClusterGroup","showLeftArrow","showRightArrow","groupNavigationTasks","taskGroup","drop","_trackScroll","direction","showPreviousGroup","targetGroupIndex","SUGGESTED_ANSWERS_ANIMATION_LENGTH","showNextGroup","_callee2","_context2","VIEWS","ClustersModal","currentView","trackClusterDetailView","trackListView","trackedListView","selectedExampleIds","exampleIds","join","ClusterDetailModal","newCheckedItems","checkedItems","reject","exampleId","selectedExamplesCount","examplesToShow","ClusterList","clustersToDisplay","ApnsTokenComponent","sdkApp","onSave","ApnsTokenOrPemFileComponent","editMode","confirmation","hasCertificate","_context3","DidChangeAttrs","canvasView","styleContext","stylePrefix","isBorderless","disableInputs","autoFocus","confineDropdownToCanvas","defaultUrlAction","safeWindowOpen","bind","didChangeAttrsConfig","attrs","didChangeAttrs","renderCanvas","initCanvasView","location","urlAction","onUrlAction","CanvasView","getCanvasNetworkingClient","onSubmitAction","Model","components","addDisabledAttributeToInputs","render","disabled","willDestroyElement","fetchContentWithRetry","retries","result","contextQueryParamString","buildQueryParamString","version","ERROR_COMPONENT","done","RETRIES","$","FADE_DURATION","CanvasState","isInitializing","isLoading","isError","messengerAppInsertionService","canvasesByUser","supportUrl","currentCanvasState","user","currentCanvasStateEmpty","showLoadingIndicator","participantsToEagerLoad","markParticipantsAsInitializing","initializeAppForParticipants","willDestroy","initializeApp","cancelAll","changes","handleConversationChanged","handleUserChanged","participantsExcludingCurrentUser","p","main_participant","MAX_PARTICIPANT_EAGER_INITIALIZE","createInitialCanvasStateForUser","clearAllCanvases","debounceTask","hasCanvasForUser","_this4","userId","clearUserCanvas","canvasState","initializeMessengerApp","cardCreationOptions","_this5","promise","RSVP","Promise","resolve","inboxAppId","setTimeout","_5000MS","race","finally","off","_resolveMessengerAppInitialization","setSupportUrl","err","support_url","commonRequestParams","fadeAndSwapCanvasForUser","analyticsEventForFrame","setCanvasErrorStateForUser","enqueue","maxConcurrency","submitApp","actionComponentId","canvasInputValues","updateCurrentCanvasLoadingStateForUser","component_id","input_values","current_canvas","card_creation_options","updateCurrentCanvasSuccessfulStateForUser","_callee3","place","inbox_app_id","_safeWindowOpen","conversation_id","currentAdmin","_this6","_callee4","shouldAnimate","_context4","animate","opacity","parseCanvasResponseForUser","setCanvasForUser","setCanvasStateForUser","canvasCopy","userState","current_state","includeId","participants_count","canvasCreationOptions","initializeMessengerAppTask","actionData","card_creation_params","canvas_creation_options","controlsAPI","insertBlockInCommentPane","updateInboxAppCanvas","contextualData","alias","prefetchedConfigurationOptions","handleResponse","clearCanvasModelInstance","new_canvas","inserterPanel","scrollTop","renderCanvasForModel","onConfigResults","responseCanvas","normalized","messenger_app_id","selectedApp","initializeType","closePopover","appstoreService","data-test-app-inserter-popover","initializationUrl","shouldShowInitializerComponent","isNotPrefetchingConfigurationOptions","showAppStoreModal","selectedAppPackage","shouldInitializeCanvas","preventBackToAppsClick","_resetTemporaryMessengerAppProperties","_initializeAppIfNoConfiguration","messengerApps","setEach","appName","analyticsEvent","insert","app_name","message_id","message_variation_id","object_type","objectNames","object_id","notifyResponseError","insertAction","addAnalyticsEventForSelectedMessengerApp","isInstalled","is_installed","is_notifiable","notifiable","prefetchCanvasOrCardCreationOptions","fetchAppPackageAndDisplayModal","resetInstallRedirectQueryParams","hasAppPackageCode","app_package_code","install_success","error_message","resetAppPackageProperties","_scrollMessengerAppIntoView","selectMessengerApp","messengerApp","selectUninstalledMessengerApp","closeAppStoreModal","selectedAppPackageId","returnToMessengerAppList","closePopoverModal","allowEditing","backButtonText","openInserter","openInitially","fetchMessengerApps","messengerAppId","messengerAppToEdit","restrict_to","restrictTo","find","toString","openerId","callerId","slotId","onPopoverOpenAction","dismissAppInstallNotifications","onPopoverOpen","onPopoverCloseAction","onPopoverClose","requiredParams","hasRequiredParams","hasConfigureUrl","paramValues","hasMessengerAppInPrefetch","messengerAppInPrefetch","notifiableItems","nonNotifiableItems","sortedItems","sortedItemsSortKey","notifiable_count","PaywalledList","paywalledInOperator","isPrefetchingConfiguration","isPaywalled","inboxCapability","isInbox","isOperator","installedMessengerApps","availableMessengerApps","hasAvailableMessengerApps","doesNotHaveAvailableMessengerApps","shouldShowEmptyState","redirectToAppStore","trackExploreAppStore","containerSelector","hasCustomBaseColor","baseColor","hasCustomHoverColor","hoverColor","hasCustomDarkerColor","darkerColor","paletteBlue","InboundActions","ariaRole","frontendStatsService","noAppYet","equalsAny","fetch","recordFirstInteraction","refreshRelativeTime","$this","absTime","attr","formatter","oldRelative","newRelative","_abbreviatedRelativeTimeAgo","_abbreviatedRelativeTime","replace","shouldUseExtraShortDescription","shouldUseFade","lineClampIsNotSupported","UserAgentDetector","isIE","isFirefox","hasFixedHeight","redirectService","onboardingHomeExternalStepService","isMobile","updateSelectedTab","_this$appstoreService","getRedirectQueryParams","sendInstallNotification","_completeOnboardingStep","sendErrorNotification","fetchSettings","_trackEmailRedirectAction","selectedTab","showSettings","APP_PACKAGE_TABS","hideSettings","showOnboarding","onboarding","hideOnboarding","showDescription","adminPermitted","currentAdminCan","adminNotPermitted","installConfirmationText","installErrorText","isNotInstalled","isNotUnderMaintenance","canShowSettings","canEditSettings","hasTeammateSettings","canShowLinkToSettings","defaultPublicategories","category","categoryType","shouldFetchSettingsModel","settingsModel","getOwner","factoryFor","settingsModelPath","settingsComponent","settingsComponentPath","canSeeSettingsIfStripe","implementationIdentifier","canUseStripeSettings","worksWithInboxSidebar","canShowAppOnboarding","_this$appPackage","hasCapabilities","hasStartingGuide","doesNotHavePricingModel","canShowPricingDetails","defaultTab","_this$appstoreService2","is_onboarding","tab","createAppPackageSettings","normalizedSettings","installSuccess","errorMessage","install","installedAppPackage","_trackButtonClick","_generateInstallUrl","_urlAppender","redirect","_sendInstallRequest","appstore/app-package","reinstall","_sendReinstallRequest","uninstall","formatted_feedback","feedback","uninstalledAppPackage","_sendUninstallRequest","afterUninstall","_updateAppPackageModelsAfterUninstall","update","settingsFragment","updateResponse","_settingsRequest","appPackageSettings","_trackUpdatedSettings","_callee5","_context5","generateRedirectUrl","_callee6","redirectUrl","shouldSign","_context6","_generateRedirectUrl","requestParams","defaultParams","implementation_identifier","noRedirectOn401","_createRequest","actionType","email_request","redirect_url","should_sign","appCard","_callee7","_context7","continueSession","isCurrentExternalStep","completeExternalStep","_trackTabSelected","selected_tab","_trackLinkToSettingsClick","current_tab","registerHooks","hooks","onTabSelected","transitionAppPackageTab","redirectToSignIn","redirectToWorkspaceAppstore","onSettingsLinkClicked","trackPricingUrlClick","fetchUsage","isDevHub","usage","messagesUsingApp","botsUsingApp","customBots","bot","answerBots","taskBots","operatorQualification","adminsUsingAppInInboxSidebar","usedInInboxSidebar","usedInMessages","usedInBots","usedInMessengerHome","usedInConversations","hasUsages","app_package_id","DetailsHeaderComponent","_this$args$appPackage","_this$args$appPackage2","fetchSalesforceSettings","salesforceSyncState","trustedStyle","_templateObject","importPercentage","VideoEmbed","mouseOverVideo","GetSupport","documentationUrl","isIntercomApp","showNewMessageInIntercomWidget","adminAvatars","avatarData","showAsActive","displayAsDidUpdate","isPresent","supportEmail","adminNotVerified","mailToAdmin","showModal","installButtonText","requestInstallDropdownGroupList","componentAttrs","modelDisplayName","avatarSize","requestInstallTask","dataType","trackAndOpenModal","setMailToAdmin","requestAppInstall","trackLearnMoreClick","INSTALL_STATUS_CTA_TYPES","urlCta","reinstallCta","hasReinstallCta","installStatusCtaType","isCtaAvailable","Boolean","openCtaUrl","installStatusCtaUrl","data-test-app-package-modal","isBootedInPublicAppStoreMode","_embercomBootData","appPackageTasks","showReinstallModal","fetchRecommendations","updateViewHistory","stopPropagation","didReceiveAttrs","willRender","_shouldLoadAppPackage","loadAppPackage","urlPath","recommendationAppCodes","recommendations","showRecommendations","getApiUrl","count","resolveAppPackageCodes","onAppCardClick","sourceAppPackageCode","recommendedAppPackageCode","alignRight","handleButtonClick","handleOption","toggleDropdown","InviteTeammates","selectedAdminIds","selectedId","adminIds","invitation","sendInvitation","humanAdmins","allAdminsExceptLoggedIn","notSelectedAdmins","AppStoreAppPackageOnboardingContainerComponent","_loadInboxAppIdsUsedInSidebar","sections","adminId","allSidebarSectionsForAdmin","inboxSidebarAppIds","accum","section","eventAction","eventObject","extras","emailRequestAction","startingGuideBlocks","startingGuide","defaultOpenedSection","isReinstalling","reinstallConfirmValue","canReinstall","isProtectedAppPackage","confirm","defaultSource","authenticationURL","uninstallUrl","cleanupPostUninstall","saveSettings","_redirect","_redirect2","revokeAuthorizationTask","redirectToAuth","calendarType","revokeAccess","clipboard","isEditingUrl","showErrorOnUrlInput","adminUrlPlaceholder","fname","lname","isUrlInvalid","isValidPath","Clipboard","_onClipboardCopySuccess","_onClipboardCopyError","selectPublicUrl","select","sectionCanClose","center","sectionDidClose","beginEditingUrl","blurOnEnter","blur","endEditingUrl","newUrl","itemsForDropdown","addToSelectedAttributes","INTEGRATION_CODE_MAPPING","salesforce-by-intercom","hubspot","UTM_ATTRIBUTE_IDENTIFIERS","GEO_IP_ATTRIBUTE_IDENTIFIERS","CREATE_ONLY_ATTRIBUTE_IDENTIFIERS","personQualificationAttributes","companyQualificationAttributes","companyNameAttribute","qualificationAttributes","union","integrationCode","crmAttributeLabel","utmAttributes","attribute","extractMappingDataFromAttribute","geoIpAttributes","companyAttributes","dataAttribute","mappingData","salesforceMappingData","crmMappingData","qualificationAttribute","sourceAttributePath","existingMapping","findExistingMappingBySourcePath","getSelectorOptionsForType","getSelectedValue","editable","isMappingEditable","createOnly","isCreateOnlyAttribute","mapping","destinationAttributePath","attributeOptionsForType","path","isDisabled","mappings","createOrUpdateMapping","rowData","selectedValuePath","appIdCode","sourceObjectType","sourceType","updateSettings","removeMapping","removedMapping","removeFragment","fb","pagesData","pages","nextCursor","isConnectedToFacebook","pagesEmpty","loginScope","_facebookSdk","initializeProperties","retrievePagesTask","FacebookIntegration","unsubscribeAll","resp","accessToken","getLoginStatus","authResponse","fetchPages","toArray","login","_trackConnectionEvents","connectWithFacebook","reAuth","auth_type","subscribe","pageId","success","defaultAssigneeName","validDeflectionLink","invalidDeflectionCta","deflectionNotEnabled","fetchMessengerSettings","fetchProfiles","messengerSettings","profiles","findAll","attributesInUse","emailAttribute","introductionPreviewCanvas","createTextComponent","createButtonComponent","detailsPreviewCanvas","availableAttrs","_content$components","generateAttributeComponents","createSpacingComponent","confirmPreviewCanvas","deflectionText","listItems","qualificationAttr","mapBy","createBooleanComponent","createListItem","createListComponent","createInputComponent","style","validateIntroductionSection","validateConfirmationSection","validateSettings","profilesWithCalendarUrls","hasProfilesWithCalendarUrls","openSectionCanClose","openSectionId","setDeflectionLink","calendarUrl","onOpenSectionChange","sectionId","updateAssigneeId","assigneeId","appSettingsUrl","removeInvalidAttributes","QualificationAttribute","removeInvalidFragments","confirmService","setupSettingsData","isGithubTokenAvailable","connectToGitHub","githubIntegration","githubWebhooks","githubAuthRedirectUrl","localDevTeammateAppUrl","githubRepositories","defaultGithubWebhookConfigId","defaultGithubWebhook","repositoriesNextPage","webhookListItems","webhook","isSelected","hasRegisteredMoreThanOneWebhook","fetchGithubModels","is_app_store","loadMoreRepositoriesTask","nextPage","addWebhook","repository","removeWebhook","show","selectDefaultRepo","githubWebhookConfigId","chosenRepoName","currentTeammateAppUrl","protocol","hostname","TEAMMATE_APP_URL","href","log","unloadAll","loadMessengerAnalyticsSettings","messengerAnalyticsSettings","isCustomTrackingId","bool","isNotCustomTrackingId","saveDisabled","googleAnalyticsTrackingId","isValidTrackingId","isNotValidTrackingId","updateChanges","baseUrl","connectCalendar","signedRedirectUrl","redirectToGoogleAuth","Main","contactAutoCreationEnabled","leadAttributionEnabled","openCenteredWindowService","importMailchimp","urlFor","setup","realTimeEventService","cancelSyncing","subscribeTopics","unsubscribeTopics","updateFromRealtime","fetchSyncingState","fetchAllLists","syncingState","unsubscribeApp","lookupList","selectedList","MailchimpList","singleList","listToLookup","errorThrown","mailchimpLists","lists","list","enableSyncing","listId","isEnabled","syncingState.access_token","syncingState.webhook_secret","syncingState.listId","syncingState.verified","syncingState.enabled","syncingState.integrate_with","isMailchimpIntegration","isAuthorized","teammateAppUrl","callbackUrl","redirectToOauth","handleAuthorization","mailchimpApiKey","selectList","marketoClientId","marketoClientSecret","marketoHostName","marketoAppHostName","hasAuthCredentials","updateAuthCredentials","_this$settings","clientId","clientSecret","instanceId","hasAPIDetails","isMarketoUnsubscribeApp","verified","unsubscribeUrl","updateAPIDetails","accessTokenComponents","submitTokens","token","import","dropdownItems","ALLOWED_ATTRIBUTES","hoverAreaPadding","top","left","right","bottom","canAddMoreLinks","appAttributes","allowedAttributes","_renderPreview","hasUrlErrors","_this$settings$links","links","isValid","_performBlocksUpdate","link","_getUrlFromLink","_1000MS","urlActionReceiver","_htmlUnescape","htmlUnescape","faviconUrl","_formatFaviconUrl","_createListItem","_createListComponent","quick_links_base_url","_parseFaviconDomain","URL","decodeURIComponent","image","image_width","image_height","processLinks","onLabelChanged","addLink","removeLink","SettingsPanel","_setOriginalAccountListIds","mappedAccountLists","salesforceAccountLists","accountLists","accountList","selectableSalesforceAccountLists","salesforceAccountList","currentlySelectedAccountListIds","salesforceAccountListGroupListItems","accountListsChanged","originalAccountListIds","_originalAccountListIds","currentAccountListIds","isEqual","mappedAccountListsPresentInSalesforce","accountListMissing","some","saveAccountLists","_notifyProcessing","account_list_ids","_notifySuccess","_notifyFailure","_trackEvent","addAccountList","removeAccountList","accountListId","syncDirection","TYPE_MAPPING","string","to","from","integer","float","boolean","date","AttributeMapping","isEmptyForm","selectedSyncDirection","selectedIntercomAttr","selectedSalesforceAttr","sourceMapping","syncState","attributeMappings","destinationMapping","field","_TYPE_MAPPING$attribu","attributeType","originalMapping","now","intercomAttribute","updatedAt","syncDirections","qualification_attributes","crm_readable","crm_writable","uniqBy","tooltipText","crm_create_only","getAttributeTypeLabel","shouldDisableIntercomAttribute","salesforceFields","fieldType","updateable","shouldDisableSalesforceField","_this$intercomAttribu","_this$appService$app$","_this$intercomAttribu2","a","_this$salesforceField","intercomTypeMapping","salesforceField","unsupportedConversionFromCRM","unsupportedConversionToCRM","_this$intercomTypeMap","_this$salesforceField2","isIntercomToCrmDirection","_this$intercomTypeMap2","_this$salesforceField3","originalSourceAttr","_this$salesforceField4","_this$intercomAttribu3","_this$intercomAttribu4","unsupportedMapping","isQualificationAttribute","reauthenticate","reauthenticationUrl","trackReauthenticationRequest","salesforce_base_url","customNotificationKey","notifyLoading","authenticationInvalid","integrationMisconfigured","rateLimitExceeded","isSfdcAttributeMappingsEnabled","t1","MapData","comparer","coppiedAttributeMappings","copiedIntercomIdentityMappingAttribute","intercomIdentityMappingAttribute","hasSalesforceMappingChanged","hasEmailFallBackChanged","copiedIdentityMappingEmailFallbackEnabled","identityMappingEmailFallbackEnabled","salesforceIdentityMappingFieldSet","copiedSalesforceIdentityMappingField","salesforceIdentityMappingFieldChanged","salesforceIdentityMappingField","otherArray","current","requiresResync","notificationMessage","_e$jqXHR","_e$jqXHR$responseJSON","showConfirmModal","selectedItem","intercomMappingIsEmailAndUnchanged","showAttributeMappingModal","row","attributeMappingsHasChanged","hasMappingMeaningfullyChanged","hasAttributeMappingConstructivelyChanged","identityMappingSupportedFields","_emberCopy","intercomAttributeText","getIntercomAttributeText","salesforceFieldText","getSalesforceFieldText","getIntercomCreateOnly","_this$appService$app$2","_this$args$salesforce","findExistingMapping","_this$args$mappings$c","generateRowData","b","dateA","selectedOpportunityField","selectedOpportunityFieldLabel","currencyOpportunityFields","opportunityField","metadata","opportunityValueItems","currencyOpportunityField","_saveSettings","successMessage","saveValueField","toggleOpportunitySync","opportunitySync","caseFieldOptions","canUseSalesforceCasesCustomFields","usedFields","requiredCaseFields","caseFields","caseField","caseFieldGroupList","caseCreationFields","requiredFields","required","customFields","_trackAutomaticTaskCreationToggleEvent","toggled_on","automaticTaskCreation","persistSyncState","addField","removeField","toggleAutomaticTaskCreation","teammateMappings","salesforceUsers","salesforceUser","matchingTeammate","Email","Name","teammate","compact","toggleAutoAssign","needsReauthentication","shouldShowSettings","listIdWithDefault","providerName","confirmationTitle","isNotDirty","textFieldIncomplete","rewardType","rewardText","confirmationDescription","disableSubmit","rewardOptions","placeholder","secondPlaceholder","changeListId","installUrl","clickedRadio","installStartUrl","slack_integration","install_start_url","slackSetupFailed","setupSlackData","slackIntegration","authenticateSlack","deleteRuleTask","notificationRule","primaryButtonType","saveRuleTask","notificationRuleData","analyticsAction","selectedNotificationRule","openNotificationEditor","showNotificationEditor","closeNotificationEditor","data-test-notification-assignee-item","itemAction","notAllTeams","selectableAssignees","selectAssignee","updatableAssignee","updateAssignee","allChannels","allNotificationTypes","allNonConversationNotificationTypes","selectedNotificationTypes","selectedNonConversationNotificationTypes","isConversationNotificationTypeSelected","selectedConversationNotificationTypeId","isChannelSelected","hasNotificationTypesSelected","canSave","editorClass","allChannelSelectList","channel","saveTask","notificationTypes","legacySubscription","selectChannel","channelId","owner","data-test-notification-rule","tableCellClass","formattedCreatedAt","createdAt","_moment","diff","fromNow","hasAssignee","showAssignee","showConnectModal","noTopicsSelected","fetchSlackIntegration","retrieve_subscriptions","connect","topicIds","integration_id","selectedTopics","topic","SlackIntegration","getRedirectUrl","deleteSubscription","subscription","topics","t","isNotValidPageId","isValidPageId","subscriptions","subscriptionA","subscriptionB","primaryAccount","subscriptionsPresent","moreThanOneSubscription","writeUnauthorisedSubscriptions","stripeWriteAuthorised","writeAuthorisedSubscriptions","importFailedSubscriptions","syncedSubscriptions","syncEnabled","writeAuthorisedForPrimary","subscriptionsEnabledForPrimary","subscriptionsEnabled","hasCandidatesForPrimaryAccount","candidatesForPrimaryAccount","stripeAccountName","stripeAccountId","addAccount","toggleSubscriptions","triggerImport","stripe_user_id","removeAccount","fetchStripeSettings","stripeSettings","updatePrimary","primary","toggleSync","setupTwitterData","twitterIntegration","authenticateTwitter","addAccountTask","authenticateResponse","removeAccountTask","zoom_integration","redirect_base_url","zoomAuthRedirectUrl","connectToZoom","zendeskUsername","zendeskApiToken","zendeskAppName","hasAllCredentials","doesNotHaveAllCredentials","isConnected","showUninstallModal","groupList","isUninstalling","reasons","entries","APP_PACKAGE_UNINSTALL_REASONS","_ref3","uninstallConfirmValue","formattedFeedback","customFeedback","selectedCustomFeedback","enteredUninstall","enteredFeedback","canUninstall","expandSubItems","itemCount","shouldShowAllByDefault","lte","shouldShowAllSubItems","shouldShowExpandButton","subItemsToDisplay","MAX_LIST_ITEMS","hiddenSubItemsCount","emailVerificationSent","disableVerificationButton","sendVerificationEmail","sendValidationEmailWithRetry","playVideo","play","sidebarLabel","conversationsLabel","everywhereLabel","filterValue","buttonParams","subtle","filterGroupList","analyticObject","_inboxAppPackages","appPackages","appPackageGroup","capability","onInboxCapabilityChange","CollectionCardsContainer","apps_by_intercom","hottest_apps","measure_nps","schedule_sales_calls","super_charge_data","survey","collection","cardIndex","slug","card_index","displayed_cards","innerWidth","_shuffle","collections","Collection","trackClick","searchString","shouldUseResponsiveGridItems","noSearchResultsDisplayString","search_term","search_results","data-test-appstore-public-footer","media","SearchInput","fetchSearchSuggestions","searchSuggestions","jumpToTarget","parseItemsFromSuggestionsResponse","scrollIntoView","trackAnalyticClickEvent","handleSearch","updateSearchSuggestions","_this$args","targetedJump","defaultCategories","featuredCategories","featuredCategoriesAndApps","publicCategories","visiblefeaturedCategories","visibleCollections","allCategories","selectedCategory","installedAppPackages","apps","gridTitle","search","installed","recentlyViewedAppPackageIds","recentlyViewed","recentlyViewedAppPackages","peekOrFindAppPackage","_fetchRecommendations","recommendationIds","historyBasedRecommendations","sourceAppPackage","onRecommendationAppPackageClick","sourceAppPackageName","category_name","source_app_package","trackingEventDataForAllLink","appCapabilities","scrollToTop","getElementsByClassName","_getCapabilitiesParams","inbox_capability","values","isInstalledLink","baseRoute","isQueryParams","dataAttributes","listItemType","propertyName","isFeaturedCategory","doSearch","performSearch","resetSearch","clearSearch","MISSING_CONTENT_PLACEHOLDER_URLS","ErrorHandling","EventTracking","helpCenterService","site","currentlySelectedLocaleId","currentlySelectedLocale","showSideDrawer","home","activeContent","article","contentByLocale","activeContentBlocks","jsonBlocksForEditing","jsonBlocks","isMultilingual","isNotMultilingual","shouldShowErrorBanner","remainingMissingContentErrorCount","originalCollection","isUploading","collectionHasNotChanged","collectionHasChanged","dirty","notDirty","maxSummarySize","MAX_SUMMARY_SIZE","audienceTargetingItems","canUseArticleAudienceTargeting","segmentedContentTurnedOn","defaultTargetAudience","articleVisibility","folder","showErrorBanner","activeContentBlocksDocument","BlocksDocument","prosemirrorComposerConfig","eventService","analytics","eventName","ArticlesComposerConfig","textDirection","composerComponent","keyCode","remainingErrors","debouncedSetArticleContentIfChanged","_500MS","setArticleContentIfChanged","composerBlocks","modelBlocks","_buildArticleChangesForTracking","changedAttributes","targetUserType","_buildContentsChangesForTracking","articleContents","_triggerSaveTrackingEvents","articleChanges","contentsChanges","saved_as_draft","target_user_type","from_collection_id","collection_id","trackEducateArticleEvent","contentChange","trackEducateArticleContentEvent","_getNotificationMessage","isDraft","inHome","leavingHomeDirectory","movingCollections","_showSaveNotifications","articleHasContentInSelectedLocale","saveAndClose","MAX_TITLE_SIZE","summary","handleServerError","getRouterService","executeSaveAndClose","prosemirrorComposerChanged","newBlocksDocument","prosemirrorComposerReady","setArticleGroup","groupId","addCurrentlySelectedLocale","createContentIfNone","beforeLocaleUpdate","afterLocaleUpdate","articleContentChanged","setTargetUserType","AudienceTargetingSideDrawer","predicates","rolePredicates","userType","parentIsCollectionWithSections","articleGroup","ArticlePreview","is_suggestion","selectedLocaleId","default_locale","is_default_locale","createMessengerCard","_trackEvents","insertCardTask","card","inserterAPI","close","clearSuggestions","_doInsertion","hasRestrictedAudience","hasMultipleLanguages","selectedLocaleName","ListItem","author_id","restricted_icon","visible_to_user","adminPageviews","showPageIntroductionBanner","importButtonDisabled","hasImportId","hasArticlesPro","getAdminPageviews","_determineBannerDisplayLogic","pageviews","_adminViewTracking","fetchAdminPageviews","adminHasSeenFromPageviews","createArticle","importArticles","CAN_MANAGE_ARTICLES_PERMISSION","loadNewlyImportedArticles","authors","localeId","author","orderedArticleContents","firstAuthor","isSingleLanguage","localeName","selectedLocalesOrdered","needsReview","selectedLocalizedContent","defaultLocalizedContent","showReviewStamp","_this$selectedLocaliz","hasMorePages","articles","total_pages","columns","languageColumns","loc","charAt","toUpperCase","valuePath","minWidth","maxWith","maxWidth","languageOptions","articlesMissingAnyContents","hasMultipleLocales","selectedLanguage","option","changeStateFilter","updateFilters","selectedContentStatus","changeLocale","updateLocale","canUseFeature","articlesProBannerKey","hasDismissedArticlesProBanner","adminHasDismissedArticlesProBanner","adminHasSeen","openArticlesProUpgradeModal","HELP_CENTER_REGEX","ArticleImportModal","substring","stateJson","site_url","encodeURI","helpCenterSite","ZdUrl","peekAll","content_locale","helpCenterOn","showHelpCenterLink","isOnArticlesRoute","isOnSiteRoute","isOnInsightsRoute","isOnAboutRoute","Article","updateArticleCountsForApp","data-test-locale-tab-control","showAll","showBorder","selectedContent","addSelectedLocale","selectedLocale","canLoadMore","viewers","_setLoadMore","totalCount","isViewerStat","loadNextPageAction","loadNextPage","trackEventDetails","article_id","valueOrDefault","TABS","isPercentageValue","views","reactions","happy","neutral","sad","MessageEditorTabsComponent","tabs","getTabContent","statistic","isClickable","StandardTab","view","TabsComponent","_this$args$stats","_this$args$stats2","_this$args$stats3","_this$args$stats4","_this$args$stats5","viewCount","replyCount","subaggregations","reaction0Percentage","reaction1Percentage","reaction2Percentage","selectedArticles","busy","selectedArticleGroup","sectionsList","populateArticles","allArticles","existingArticles","availableArticles","disable_pagination","addSelectedArticles","saveTasks","_iterator","_step","_createForOfIteratorHelper","addArticle","f","onModalClose","reload","finish","order","selectArticleGroup","sortKey","sortedCollections","showCollectionReorderWarning","notifyWarningWithButton","collectionReorderWarningButton","onDraggingEnd","movedCollection","newIndex","oldIndex","reorder","trackCollectionEvent","isPopoverOpen","togglePopover","IconGroup","icons","LegacyOverlayBaseComponent","selectedIcon","selectIcon","iconIdentifier","SortableList","sortableGroup","draggableSelector","draggableHandleSelector","localizedContent","activeLocale","getArticle","articleId","removeClass","showSectionReorderWarning","sectionReorderWarningButton","onMove","related","addClass","shouldIncrementCount","onDragToOtherList","remove","_reordering","moveElementInOrderedList","incrementCount","onDraggingUpdate","trackArticleEvent","from_section_id","removeArticle","shouldRemoveArticle","cancleButtonText","reorderSection","siblings","targetSibling","movingSibling","tmpOrder","trackEducateCollectionOrSectionEvent","pickerColor","hasUnsavedChanges","setColor","clickCustomDomainInstructionsLink","trackEducateEvent","addFooterLink","autofocusElement","isInitialLink","last","removeFooterLinkIfInitial","removeFooterLink","headerBackgroundImageStyle","safeMediaStyle","Em","Handlebars","Utils","escapeExpression","headerColorStyle","headerStyle","headerSafeStyle","htmlSafe","isDestructive","defaultLanguageDropdownItems","appDefaultLocaleName","notSelectedLocales","addLocaleDropdownItems","_addAvailableLocale","track","_removeAvailableLocale","resetLocale","_setDefaultLanguage","handleRowAction","setDefaultLanguage","permitLanguage","ValidationRules","FileSpec","height","isDragging","fileExtension","invalidFileResetDelay","fileIsLargerThanFourMB","fileHasValidExtension","fileName","regexp","hasUrl","themeColorStyle","noStyle","backgroundStyle","imageUrl","mediaHelper","siteUrl","header","logo","favicon","social_image","setFile","dataTransfer","change","originalEvent","is","_fileHasValidSize","requiredSize","_fileHasValidExtension","_fileIsValid","_showValidationError","_clearFileInput","fileInput","replaceWith","clone","reader","FileReader","onload","isSaved","readAsDataURL","isReset","removeImage","mediaData","Selector","textOverride","display_as_assignee","selectedItemId","selectedTeamId","selectedAdminId","isListItemSelected","listItem","teamId","clearAdminWhenTeamChanges","isTeam","isUnassignedAdmin","headingComponent","headingComponentAttrs","adminItems","alwaysShowHeading","isMain","hasItemsMarkableAsSelected","subText","teamHeadingSubText","teamItems","selectedAdmin","team","unassigned","_createGroupListItem","unassignedAdmin","without","selectedTeam","AttachmentItemPill","AttachmentItem","AttachmentList","AttributeComponent","isAnonymous","filterUrl","B64FilterParamEncoder","userOrCompany","isNotBlank","BrowserLocaleComponent","displayValue","ProfileCompanyTagComponent","segments","filterUrlFromPredicates","layoutName","extraClass","_rawValueToFilterValue","getValue","identifierWithoutPrefix","setValueTooltipText","fixClasses","AttributeDateComponent","isUserLastRequestAt","isCompanyLastRequestAt","isLastRequestAt","isRecent","isJustNow","tooltipDate","defaultToolTipValue","formattedToolTipDate","rawValue","dateAndTimeFormats","fullDateAndTimeWithoutTimezone","isUnixTimestamp","unixTimestampToTimeString","moment","unix","cleanedDateValue","previousLocale","inInbox","m","mm","h","hh","d","dd","M","MM","y","yy","valueToDisplay","DateFormatter","forcedPastFromNowRealTime","attributeFromNow","AttributeEditor","SpendHighlight","AttributeInserter","ProfileLastConversationRatingGivenComponent","parsedValue","selectFromObject","parsedValues","5","4","3","ProfileManualTagsComponent","tags","spaceSeparated","AttributeSelectorComponent","isMultipleUrl","urls","commaSeparatedTokens","every","linkToEmailDomain","isEmailAddress","matches","exec","isNotEmailDomain","emailDomain","_attributeItem","_attributePickerOpener","focusIf","withNewLine","shouldSelect","focusBeginningOfInput","preventScrollDown","focusIfShould","$fields","$element","first","scrollX","scrollY","val","_lastFocusIf","AutoResizingTextareaComponent","maxHeight","textInitiator","setInitialVariables","resizeTextArea","onDestroy","unsetInitialVariables","resizingTimer","$heightHelper","$textarea","newHeight","calculateNewHeight","isResizable","minHeight","outerHeight","borderTop","borderBottom","css","parseFloat","lineHeight","handleKeyDown","throttle","forceResizeTextArea","AutoResizingTextareaWithCountComponent","countInitiator","updateCountAndStatus","pasteTimer","keyDownTimer","updateCount","handlePaste","maxLength","AvatarEmojiSelectorComponent","selectedEmoji","emoji","intermoji","emojiSize","emojiImageClass","displayableSelectedEmoji","fallbackImage","getEmojiFromSupportedTwemoji","htmlSafedisplayableSelectedEmoji","ActionUrl","blockText","htmlToTextContent","bannerContent","actionHref","localizedBannerContent","Composer","isEditing","_isValidForBlocksUpdate","_diffCalculator","compareBlocks","serializedBlocks","hasDifference","banner","bannerColor","primary_on_white_contrast","fromId","isOpenAURLAction","ControlPanel","DEFAULT_MESSENGER_COLORS","bannerAction","reactionSet","defaultReactions","activeLocalizedBannerContent","actionTitle","bannerImageOption","actionTarget","localizedBannerContents","MissingBillingAddress","loadDataAndShowBanner","shouldShowMissingCompanyAddressBanner","currentAppPermissions","can_access_billing_settings","customerService","ensureDataIsLoaded","fetchPrices","updateBannerState","bannerNotAtTop","getBoundingClientRect","showBanner","customer","hasNoShippingAddress","bannerStateChanged","resendString","confirmationString","deleteString","_confirmDelete","resendInvite","invite","resend","APP_NOT_APPROVED_FOR_EMAILS","_inviteErrorStrings","notifySendDenialError","RESEND_FAIL_STRING","revokeInvite","tableActions","updatePaywalls","DELETE_FAIL_STRING","revokeString","revokeFailString","revokeLink","linkID","resetLinks","showLink","ModalActions","Evented","NumberPagination","ListSelection","PageLoader","segment","notImplemented","pubsub","significantPredicateChange","registerKeyboardShortcuts","reloadDebounce","modalActive","highlightNextItem","highlightPreviousItem","selectHighlightedItem","redirectToUserOrCompanyProfile","openTagModal","tagEndpoint","isLimitedResponse","isCompany","targetPlural","isNotCompany","hasPeopleOrCompaniesToShow","hasNoPeopleOrCompaniesToShow","segmentChanged","_750MS","hasSelectedUsers","companyTypeName","selectedType","pluralizedTypeName","pluralise","filtersLabel","selectedOneUser","multipleSelectedUsersLabel","selectedUsersLabel","bulkActionAudienceLabel","bulkTagTooltipText","bulkMessageTooltipTextPrefix","bulkMessageTooltipText","finishedLoading","isAny","highlightAdjacentItem","isNext","highlighted","offset","nextIndex","listTable","taggableCount","selectedCount","updateTaggingsSelectionState","selectionState","LegacySelectionState","isSelectAllMode","updateTaggingsTask","addedTags","tag","toApi","tag_name","tagNotificationMessage","targetCount","_inflector","tagTypeLabel","showTagModal","displayedAttribute","self","userCount","DisplayAttributeSetting","clearSelection","reloadCurrentPage","checkPermissionsForExportAndOpenAppropriateModal","personTypeName","createAutoMessage","deliveryChannel","templateId","matchBehaviors","single","createManualMessage","selectAllSelection","toSelectAllSelection","static","createCompanyMessage","_audienceType","is_company_message","createNewRuleset","objectType","matchBehavior","predicate","comparison","nonRolePredicates","rulesetParams","predicate_group","role_predicate_group","template_id","object_data","match_behavior","afterTagSave","removedTags","user_company_ids","updateTaggings","initialTags","changeGate","searchPredicate","updateCachedCount","updateAppPeopleCount","updateAppCompanyCount","attributeService","currentPage","hasReachedMaxPages","greaterThanProperty","loadedItemsEqualTotalCount","lastQueryWasLongRunning","displayedUserAttributes","displayedCompanyAttributes","hasLoadedAllItems","hasEmptyItemList","hasItems","hasNotLoadedAllItems","hasNotLoadedFullPage","hasIncompleteList","shouldResetList","isNotLoading","pageSize","viewportHeight","searchOnDidInsertElement","viewportSelector","triggerAction","floor","onPredicateSelectionChange","debounceTime","_10000MS","_runNewSearch","lastPageTriggeredAtHeight","clearOldItemsOnNextPage","pageVars","campaign_id","timeAtSearchStart","getTime","searchFunction","searchSelection","limited","timeAtSearchEnd","responseArrayName","selectionStateObject","notifyOfInvoicesDidChange","isUpdating","updateNotificationPreference","notify_of_invoices","changeInvoiceNotificationSettings","errorMessages","AddressForm","addressConfiguration","AddressSettings","address","countryCode","showState","states","States","showVatNumber","shouldCollectVatNumber","postCodeRegex","postcode","stateCode","vatNumber","collectVatNumber","Countries","allCountries","country","inEu","_countrySelectHelper","countrySelect","streetAddress","city","validPostcodeFormat","postCodeLabel","CompanyAdressModal","_this$customerService","billingAddress","shippingAddress","_addressValidation","addressValidation","showAllErrors","street_address","state_code","vat_number","billing/customer","AddressParams","FormComponent","purchaseAnalyticsService","modelDataCacheService","planIds","solutionId","totalAmount","currentPrice","preDiscountTotalAmount","formattedCouponDiscountDollarAmount","couponAmount","isInteger","_numberFormatter","_numericFormatter","products","prices","earlyStagePartnerWithoutMessenger","summaryProducts","existingProducts","existingActiveProducts","changedProducts","stripev3","plans","flatMap","activePlans","activeProducts","activePlanIds","productsBeingRemoved","showCouponComponent","ctaButtonText","changedProduct","ctaProcessingButtonText","sendNewOrUpdateSubscriptionTask","reportProductChangesForAnalytics","paywalled_feature","loadData","postTask","refresh","newSubscriptionFormData","plan_ids","credit_card_token","override_default_pricing_model","country_code","coupon_code","couponCode","updateSubscriptionFormData","isLocationDataValid","_resetInvalidLocationDataErrors","hasInvalidLocationData","_showInvalidLocationDataErrors","sendPayment","inboxWasActive","clear","updateAppAdminInboxAccess","resetAll","stripeElement","complete","emptyBillingPostcode","postalCode","submitStripeElement","createToken","updateSubscription","updateTotalAmount","amount","product","proChanges","coupon","isEnteringCoupon","couponErrors","onUpdateTotal","submitButtonDisabled","totalAmountPostCoupon","totalAmountInCents","max","couponDiscount","formattedCouponAmount","validateCouponTask","enterAndSubmitCoupon","applyAndSubmitCoupon","beginEnteringCoupon","couponEdited","CreditCardModal","stripe","requestData","billing_address","responseObject","AnnualContractBannerComponent","isAnnualContractPrimarySubscription","invoiceDayOfMonth","numberOfSecondarySubscriptions","primarySubscriptionAppIdCode","primarySubscriptionAppName","primaryWorkspaceAppId","alternativeProductId","checked","price","getPriceFromPlanIds","plan","idAsNumber","activationMetric","Map","MESSAGES_ID","ARTICLES_ID","OPERATOR_ID","ANSWER_BOT_ID","PRODUCT_TOURS_ID","togglePlan","active","offer","openInAppMessenger","reasonId","ChangePlanInstructionsComponent","overrideText","subscriptionType","currentlyOnEarlyStage","isAnnuallyContracted","textForMessenger","isFrozenForNonPayment","buttonDisabled","isEditingSubscription","priceSuffix","buttonLabel","totalAmountIncludesCoupon","formattedTotalAmount","hasTrialAvailable","hideButton","priceClass","priceCopy","WarningBannersComponent","modalService","EARLY_STAGE_PRODUCTS","_readableProducts","earlyStageProducts","formattedGradDate","graduationDate","longGradDate","shortGradDate","dateWithoutYear","EditPlanModal","_this$selectedAddon","planId","selectedAddon","addons","addon","_this$selectedAddon2","EditModalCard","inCurrentSubscription","removing","inCurrentSubscriptionNotSelected","adding","EditPaymentComponent","currentPlan","coreProduct","previousActivePlan","activePlan","setActivePlan","higherPlanId","updateData","_this$currentPlan","getActivePlan","_this$activePlan$get$","CORE_SEAT_METRIC","maximum","activePlanTeammateLimit","CORE_ID","showAddons","allProducts","productsWithoutAddons","rejectBy","hasNoPrices","onlyHasOneProduct","trackChanges","showSolutionSelector","solution","planUpdater","getSolutionData","removingProducts","eligibleToCancelSubscription","editing","extendedEarlyStageGraduationView","EXTENDED_EARLY_STAGE_PRICING_MODEL","editingOnRegularPlan","currentEarlyStageCustomer","hasNoChangedProducts","displayProducts","canceledProducts","headerDescription","headerAction","showCancelProduct","headerButtonLabel","totalPrice","cancelAction","transition","subscriptionWillBeCancelledAndHasRelationshipManager","showCancelProductConfirm","hasActiveProducts","cancelSubscription","openSolutionSelector","setSolution","syncPlanIds","editSubscription","cancelEdit","resetProducts","showResumePendingCancellationModal","invoice","retrospectivePostSubtotalLineItems","billAheadPostSubtotalLineItems","InvoiceDetailsComponent","pricedOnAgents","pricedOnMaps","educate","subsequentLineItemForProduct","pricedPerProduct","isSubtotal","priceUsd","formattedLabel","ProductSummaryRow","requiredPrice","displayPlans","productDescription","PRODUCTS","toggledPerProductDescription","selectedPlan","salesEnabledProduct","productRecommendation","selectPlan","addProductOrOpenMessenger","productId","productName","removeProduct","className","metric","metricDispalyName","migrationPrices","showUsage","showUsageComparison","earlyStageDisplayPrice","canUseEarlyStageGraduationView","articlesOrFixedPricingMetric","metricIsFixed","pricingMetric","actualUsage","futureActualUsage","billedUsage","futureBilledUsage","displayUsage","displayUsageComparison","migrationPrice","displayProduct","isEarlyStageGraduationMigrationType","higherPlan","featureKey","showUpgradeLink","productImage","usageNumber","usageMetric","getProductPrice","hasSamePlans","priceToUse","_this$priceToUse","hasCustomPricing","preDiscountAmountToTwoDecimals","comparisonAmount","currentUsage","currentUsageMetric","futureUsageMetric","planName","hasOnePlan","currentNumberOfInboxSeats","comparisonTextClass","earlyStageViewWithPriceComparison","migrationUsageMetric","usageFormatter","startCase","migrationTooltip","PRODUCT_KEYS","stripeElements","stripeCardElement","classes","base","invalid","mount","redirectToPricingPage","redirectToPurchase","summaryView","showUsageLimit","showPriceComparison","allowEditingProducts","showCancelButton","cancelButtonAction","showEditButton","useMigrationPriceAsAmount","useEarlyStagePriceAsComparisonAmount","totalPriceText","showDiscounts","EditSubscriptionComponent","cardError","migrationDate","formattedMigrationDate","timeToMigrationDateText","earlyStageGraduationRecommendedPlanIds","previousAction","onEarlyStage99","summaryViews","bannerText","canUseEarlyStageGraduationRecommendations","hardCodedPrice","estimatedMonthlyCost","getView","primaryView","primaryViewIdentifier","secondaryView","secondaryViewIdentifier","currentSummaryView","setActivePlans","migrationTabSelected","shouldShowGraduationEmptyState","isPurchaseMigrationType","migrationType","tabSide","currentTab","migrationTabs","subtext","badgeText","migrationTabHeader","originallyActive","sortedProducts","isNotEarlyStageGraduationMigrationType","shouldBeDisabled","anyProductsActive","formattedCardExpiresAt","cancelButtonLabel","upgradeProducts","recommendedProducts","updateEarlyStageGraduation","earlyStageGraduation","setPlansAsActiveFromEarlyStageGraduation","trackAnalyticsEventforSave","removedPlans","findElementsRemovedFromArray","originalPlanIds","addedPlans","originalArray","editedArray","setTab","showEarlyStageCancelModal","openEarlyStageCancelModal","revert","unsavedChangesModalTransition","earlyStageCancelModalConfirmCancel","deactivateAllPlans","getProductRecommendation","PriceUsageBreakdownTable","openEditAddonModal","openEditPlanModal","charges","plan_id","plan_starting_price","_this$contract","breakdown","contract","isSecondarySubscription","pricing_metric","formatPrice","charge","_this2$contract","_this2$contract2","PricingMetric","priceLabel","additionalPrice","billed_usage","metricText","pricingMetricRowTextForPricingMetricAndCharge","baseUsageInfo","contractedUsage","contractUsageLimits","totalUsage","perWorkspaceUsage","workspace","tooltipData","metrics","tooltipSummary","shouldDisplaybaseUsageInfo","_this$contract2","_pricingMetricRowTextForPrimary","_pricingMetricRowTextForSecondary","usageInfo","usageAmount","canEdit","canEditCurrentSubscription","hoveredRow","_this$contract3","originalPrice","_this$contract4","_this$contract5","_this$contract6","isPrimarySubscription","_this$contract7","productRows","addonRows","amountToTwoDecimals","shouldHide","rowType","rowClass","textStyle","testIdentifier","_this$contract8","customEdit","_this4$contract","planIdToDisplayName","modalActionForPlanId","discountInfo","productBreakdownFromCharges","_ref4","_this4$contract2","canSeePerWorkspaceUsageBreakdown","_ref5","_this$currentPrice","hasPercentOffCoupon","hasFixedPriceCoupon","couponPercentOff","couponFixedAmountOff","discountText","expiryText","couponExpiresAt","migrationPriceDisplayClass","displayProductTotals","displayProductTotal","sum","formattedSharedBaseTotal","legacyDiscountTotal","legacyDiscountTotalFormatted","shouldShowLegacyDiscount","isABaseCharge","couponPercentOffTextFormatted","couponFixedAmountOffTextFormated","totalAmountAfterMigration","couponDiscountAmountAfterMigrationFormatted","hasCoupons","coupons","addObject","buildSharedBaseLegacyCoupon","buildNormalCoupon","makeFirstLetterLowerCase","sentence","addMigrationInfo","discountNameFormatted","discountAmountFormatted","expiresAtFormatted","formattedCouponExpiresAt","canUpdate","migrationDiscountAmountFormatted","updateCoupon","isChange","leave","productIcon","customBotsIsActive","onlyInboxIsActive","notOnlyInboxIsActive","answerBotIsActive","hasCustomBotsOrOnlyInbox","notEarlyStageApplicant","notCurrentlyOnEarlyStage","notEarlyStage","showAnswerBotBanner","customBotsIsNotActive","showCustomBotsBanner","articlesProIsNotActive","doesNotHaveArticles","OPERATOR_PRO_ID","ARTICLES_ESSENTIAL_ID","ARTICLES_PRO_ID","MODAL_UPGRADE_PLAN_INFO","BulkActionSelectComponent","usersOrCompanies","bulkExportTooltipText","bulkArchiveTooltipText","archiveComponent","bulkActions","export","showCreateUserModal","startImport","delete","_trackAnalytics","ButtonEditor","CalendarDatePickerComponent","ScrollManager","CloseOnDocumentClickManager","MAX_WEEKS_IN_MONTH","DAYS_IN_WEEK","selectClass","caretClass","inputSelector","isFirstMonth","momentMonthIndex","disablePast","disableFuture","currentDate","setSelectedDate","bindToScrollParent","_calculateCalendarPositioning","unbindFromScrollParent","monthAndYearLabel","monthAndYear","numberOfDaysInMonth","getDate","numberOfDaysInPreviousMonth","firstDayOfMonth","days","calendarData","weeks","week","dayOfWeek","_isDayBeforeFirstDayOfTheMonth","_getPreviousMonthDay","_getNextMonthDay","_getCurrentMonthDay","previousMonthDate","isToday","_isToday","_isSelected","_isDisabled","isPreviousWeek","nextMonthDate","isNextWeek","isSame","selectedDate","inPast","isBefore","inFuture","isAfter","$input","$calendar","inputBoundingRect","paddingBottom","_calculateTopPosition","position","innerHeight","openCalendar","previousMonth","nextMonth","selectDate","onUpdateAction","onUpdate","data-test-campaign-list","valueComponent","canExpandToFit","currentState","filters","PanelValidator","validationMessages","VALIDATIONS","panel","getValidationResults","flat","uniq","MINIMUM_SPACING_VALUE","spacingOptions","setDefaultSpacingValue","_saveCampaign","campaign","validate","_setProperties","campaign.spacing","spacingValue","_confirmSave","setSpacingValue","enableSpacing","disableSpacing","deleteCampaign","duplicateCampaign","activateCampaign","deactivateCampaign","openCampaignEntry","closeCampaignEntry","editCampaign","saveCampaign","cancelCampaignChanges","openExportModal","BasePageHeaderComponent","isValidToSend","resumeCampaignModal","dropdownOptions","testClass","filterCountMap","in-campaign","exited","hit-goal","filterLabelMap","countKey","displayableCount","displayableLabel","percentageStatistic","MessageListColumns","messages","generateColumns","allMessagesSelected","isEvery","listOrderingChanged","reorderCampaign","hitMessageLimit","createNewMessage","showCreateMessageModal","createNewCampaignMessage","selectedIds","assignMessagesToFolder","transferMessages","folderId","assignMessagesToCampaign","campaignId","CampaignSpacingEditor","roleTypes","SeriesMigrationBanner","series_id","usersRoute","isNotEditing","memberType","formattedMemberType","entryFilters","exitFilters","predicateDescriptions","joinDescription","insertFilter","predicateGroup","addPredicateFromAttribute","BaseCampaignEntryExitEditor","editingTitle","emptyFiltersText","nonEditingTitle","joinTypes","hasMultiplePredicates","timeLimitOptions","setTimeLimit","goalFilters","goalFiltersWithoutStripe","startsWith","hasNoGoal","showGoalSelector","isGoalPredicate","campaignRoute","USER_PREVIEW_MAX","totalUserCount","isPredicateGroupDirty","isLiveOrStoppedEditMode","isDraftOrEditingMode","hasRecipients","hasNoPredicatesTitle","hasNoMatchesTitle","hasNoRecipientsTitle","hasRecipientsTitle","draftTitle","liveTitleNonEditMode","liveTitleEditMode","liveTitle","emptyUserTotal","subtractProperties","emptyUserCounter","usersToShow","noUsersToShow","hasUsersInCampaign","notInEditMode","hasUsersAndNotInEditMode","entryPredicatesAreValid","shouldTryFetchUsers","isDraftWithNoUsersToShow","fetchUserPreviews","maybeResetUsers","campaignHasChanged","rawUsers","maybeCancelTasks","runFetchTask","_oldCampaignId","dirtinessHasChanged","didUpdateAttrs","newCampaignId","relevantPropsChanged","memberTypeChanged","isPredicateGroupValid","generateFetchParams","users","entry_predicates","recipients","data-test-table-header","Paging","nearPageBottomThreshold","listItemsContainerSelector","scrollingContainerSelector","filterNothingnessMap","nothingnessSuffix","deletedUsersCount","propertyToSubtractFrom","statsSubtractProperties","firstEdit","updateBuilderJson","newJson","componentsJson","selectedPreviewStyle","showPreviewStyleSelector","parseComponentsJson","parsedComponentsJson","parse","changePreviewTab","previewConfiguration","appPrimaryColor","appSecondaryColor","CarouselEditorComponent","setupCurrentModel","currentCarouselContent","carousel","localizedCarouselContents","hasIosAsPreferredDevice","currentDevice","carouselScreens","addScreen","_addScreenAnimation","currentScreen","carouselIndex","currentScreenIndex","screen","backgroundColor","textColor","actionsColor","carouselActions","generatedColors","isPrimary","generatePrimaryActionColors","generateSecondaryActionColors","setCurrentCarouselContent","ruleset_id","alignment","verticalAlignment","localizedCarouselContent","screens","getLastScreen","reorderScreens","number_of_screens","device","removeScreen","base_color","contentEditorService","CarouselEmbeddedStyles","IntercomEmbed","getStylesheet","appColor","AppColor","generate_message_box_colors","ScreenAction","carouselAction","lastScreenOptions","lso","include","ScreenComposer","ScreenEditor","onBack","ScreenViewRender","shadowElem","isScrollBarVisible","display","el","scrollHeight","clientHeight","primary_type","totalScreens","isLastScreen","isFirstScreen","CarouselEditor","preferredDevices","web","ScreenEditorSidebar","selectedAction","primaryAction","selectedActionType","selectedPermission","clearActions","nonPermissionTypes","typeToActionMap","createPrimaryAction","createSecondaryAction","screenTemplate","showRelevantSidebarOptions","permissionsLabelIconMap","actionToTypeMap","screenTemplates","applyTemplateBlocks","applyTemplateActions","buildActions","setAndroidUri","setIosUri","applyTemplate","permissionTypeValues","actionTypes","continue","cameraPermission","ThumbnailControls","CAROUSEL_SCREEN_VIEWS_SIGNAL_CONFIG","debug_name","document_type","range_field","aggregation_type","aggregation_field","CAROUSEL_BUTTON_TAP_SIGNAL_CONFIG","CAROUSEL_PERMISSION_GRANT_SIGNAL_CONFIG","canUseCarouselStats","updateScreenViewStats","_possibleConstructorReturn","fetchReportingServiceStats","buildScreenViewStats","selectedVersion","carouselId","_contentVersioning","extractUnversionedId","carousel.id","ruleset_version.id","rangeStart","range","Range","createFromParams","aggregations","grouping","interval","reportingService","fetchNumericSignal","viewData","buttonData","permissionData","buttonCount","permissionCount","reportingServiceStats","screenViewStats","firstScreenId","getScreenId","firstScreen","firstCount","screenId","percentage","buttonPercentage","permissionPercentage","hasVersioningBillingFeature","ScreenStats","getUnversionedScreenId","addSample","cdaList","unshiftObject","viewAttributes","hasError","erroredCdas","cda","showPlaceholderText","namePlaceholder","descriptionPlaceholder","typeOptions","inviteLink","showManualCopyTooltip","hideManualCopyTooltip","$link","$copyToClipboardButton","highlightLink","recordEvent","cdas","CdaSamples","cdaSampleList","samples","setCda","sample","hasPermission","canUseVisualEventsCreator","openNewDataModal","CdaOnboardingInputRowComponent","cdaEmpty","disableNext","filterSearchTerm","cdaName","cdaDescription","cdaType","openCDAToolWindow","_cdaToolOpener","openCDAToolMainWindow","cdaCreationSuccess","archived","displayable","filterable","sortable","templatable","templatable_identifier","tracked","data_type","usable_in_message_goal","cdaCreationFailure","validation","getAlreadyExistsErrorMessage","statusText","createCda","invalidCdas","getInvalidNames","getInvalidErrorMessage","custom_data_attributes","finishCdaCreation","addAttribute","toggleInContextCdaCreator","PricingCore","couponDiscountAmount","appliedCoupon","summaryRows","discountRow","getDiscountInfo","planStartingPrice","hideBreakdown","planSection","generateMetrics","selectingProduct","suffix","MODAL_ADD_PLAN_INFO","lowerPlan","showSelector","highlightedFeatureKey","lowerPlanTitle","lowerPlanSuperHeading","lowerSelected","lowerPlanFeatures","higherPlanTitle","higherPlanSuperHeading","higherPlanSubHeading","higherSelected","higherPlanFeatures","combinedFeatures","features","middleFeatures","higherPlanTier","lowerPlanTier","middlePlans","ChatChromeComponent","deviceType","currentChatContent","chat","localizedChatContents","objectTypes","ChatEditorComponent","ios","android","isIos","replyType","replyTypeOptions","emailCollector","_firstPreferredDevice","Sidebar","sentAsOptions","replyOption","followUpActions","answerBotEnabled","followUpReply","leadQualificationEnabled","sendPushNotification","TextField","ColPickMixin","DAYS","29","30","31","MONTHS","getNumberOfDaysInMonth","selectedDay","selectedMonth","selectedYear","arrayOfDaysInSelectedMonth","arrayOfMonths","arrayOfYears","updateSelectedDay","updateSelectedMonth","updateSelectedYear","panelActions","groupName","openSectionName","initiallyOpenSectionName","allSections","parentViewportClassName","sectionCanOpen","sectionDidOpen","publicAPI","openSection","_len","_key","closeSection","_len2","_key2","toggleSection","_len3","_key3","toggleFullscreen","_len4","_key4","renameSection","_len5","_key5","removeSectionByName","_len6","_key6","privateAPI","_len7","_key7","registerSection","unregisterSection","_currentSectionCanClose","_currentSectionDidClose","_openSection","_handleParentViewportHeightShifting","_closeSection","viewportElement","_sectionForName","sectionExternalName","oldSectionName","newSectionName","beforeSave","afterSave","data-test-accordion-body-button","isCancelling","showSaveCancelButtons","accordionAPI","discard","isNotCurrentOpenSection","isCurrentOpenSection","accordionHasOpenSection","isNotFocusedSection","canGoFullscreen","isFullscreenToggled","isFullscreen","shouldNotAddPaddingToBody","internalName","externalName","mouseEnter","mouseLeave","ArticleModal","showError","filterPlaceholder","dropdownDisplayMode","selectTagName","buttonType","selectedAttribute","shouldShowFilter","hasFilter","allAttributes","attributeGroupList","mappedItems","selectedAttributeIdentifier","disabledIdentifierToReasonLookup","disabledAttributeIdentifiers","itemGroup","hasOwnProperty","descriptionForTooltip","attributeItemComponent","componentShouldReplaceItem","paywallOpenUpgradeModal","paywallAnalyticsEventData","_findAttribute","attributeOrIdentifier","onSelectAttribute","selected","buttons","updateSelectedItem","button","feature","onSelected","data-test-code-text-area","assetPrefix","theme","lint","gutters","loadCodeMirrorTask","codeMirrorEditor","toTextArea","_sendUpdateAction","sendUpdate","typeOf","_promiseGetScript","_initializeCodeMirror","CodeMirror","fromTextArea","lineNumbers","tabSize","lineWrapping","setSize","setValue","trigger","onObjectChange","ScheduleDateAndTimePicker","tz","timezone","hours","changeAtCopy","_changeAtInTimezone","onChange","toDate","IntercomDropdownComponent","formattedSelectedDate","selectedDateChanged","stripAppTimezone","maxDate","showHeader","showFooter","simpleMaxDate","canCustomizeMinDate","maxDateWithMaximumSelectionWindow","rangeStartPlusMaxWindow","maximumSelectionWindowInYears","minDate","simpleMinDate","appCreationDate","subtract","minDateWithMaximumSelectionWindow","canSelectAppCreationDate","rangeStartMinusMaxWindow","secondMonth","firstMonth","start","end","rangeEndSelected","rangeWithoutZone","CommonDayHourMinuteInputComponent","milliseconds","durations","asDays","asHours","minutes","asMinutes","time","asMilliseconds","OneWayInput","setupOnInsert","resizeToFit","_oldValue","_oldPlaceholder","attrsUpdated","newValue","newPlaceholder","elementType","valueIsEmpty","scrollWidth","includePadding","ButtonGroup","disabledTooltipMessagePresent","deselected","onClick","mouseEnterHandler","mouseExitHandler","pills","onFocus","onBlur","onKeyDown","cursorPosition","selectionStart","lastPill","lastObject","removePill","_markLastPillForDeletionIfAvailable","mouseDown","inContainer","contains","mouseUp","activeClickInContainer","focusOut","focusIn","InputWithDropdown","Escape","onEscape","ArrowDown","onArrowDown","ArrowUp","onArrowUp","Enter","selectedOption","readonly","selectedItems","popover","inputHasFocus","isFirstLoad","hoveredItemIndex","hide","mouseFocused","scrollToItem","displayedItems","keyDownHandlers","openerWidth","elements","reference","offsetWidth","popperModifierData","maxOverlayHeight","_dropdownUtils","calculateMaxHeight","searchText","selectedValues","nonSelectedItems","noItemPlaceholder","offsetHeight","o","data-test-permitted-locale","isDefaultLocale","makeDefaultLanguage","deleteLanguage","eventListenerStack","currentIndex","currentImage","imageUrls","src","_handleKeypress","maxIncrement","_trackAnalyticsEvent","_hideLightbox","analyticsObject","lightbox_index","hideLightbox","showLightbox","pushEventListener","navbarCollapsingService","navbarCollapsed","collapsed","_Ember$Component$exte","RunMixin","pollTask","elementId","notifyPropertyChange","runTask","_3000MS","formatted","datetime","updateSelection","highlightIndex","trackEvents","initialTagsIncludingPossibleUndefined","tagging","tagId","belongsTo","shouldRedirectToTagsSection","isOnInboxRoute","inbox","doesNotHaveFullAccessForCurrentApp","isRestrictedIntercomradeOnInboxRoute","isIntercom","canUseTagManagement","canManageTags","hasAddedTags","hasRemovedTags","saveLabel","allowTagManagement","setHeightsAndWidths","max-width","_calculateInputMaxWidth","_calculateTagListHeight","metaKey","ctrlKey","selectedTags","allTags","initialTagsWithoutRemovedTags","isCreateNewVisible","unusedTags","selectedTagIds","filteredTags","canUseArchivedTags","matchingTags","escaped","_escapeRegularExpression","regex","newTags","_saveNewTags","_addNewTagsToTheApp","_makeNewTagsVisibleToAdmin","taggable","_doAfterSave","promises","newTagIds","addTagIdsToAdminsVisibleTagIds","hasUserCompanyId","hasMessageId","user_company_id","_isInInitialTags","_isInRemovedTags","$tagHolder","$lastTag","tagHolderLeft","positionLeft","outerWidth","inputWidth","inputMinWidth","resetQuery","showPermissionCheckModal","loadAllAdminsAndShowPermissionRequestModal","addTag","createTagAndAdd","localeCompare","sensitivity","removeTag","selectHighlighted","highlightedTag","removeLastTag","lastTag","highlightNext","highlightPrevious","updateQuery","closeModalAction","TextArea","resizeInput","hoursOfDayMap","HoursOfDayMap","timeMapping","isValueSet","defaultTimeValue","defaultValue","updateValue","ANONYMOUS_ATTRIBUTE_IDENTIFIERS","USER_ATTRIBUTE_IDENTIFIERS","CommonTooltipsUser","backgroundReload","warn","displayableAttributes","_this$user","is_anonymous","userCardDisplayedUserAttributeIdentifiers","updateName","new_name","newName","saveChanges","UserOrCompaniesListComponent","displayedAttributes","isShowingAll","executeSearch","Company","showUserOrCompany","company","translationsService","classesForSelect","companySize","companySizes","localizedEmployeesText","localize","sizes","unshift","selectCompanySize","onSelect","unselected","shouldHaveVisibleCheckbox","ComposerDebug","ComposerInserter","_composer","ComposerControlsActionsComponent","quickActionBaseClasses","isEmail","isInApp","messageType","isMobilePush","showComposerVideo","hasSavedContentFeature","maximumAllowedFileSize","$target","makeArray","_openFileInputDialog","selector","$fileInput","uploadComposerImage","uploadComposerAttachment","toggleComposerVideoPopover","toggleMessageTypePopover","toggleMessageStylePopover","toggleSavedContentPopover","EXCLUDED_TEMPLATE_IDS","MessageStylePopover","extraClassNames","caretOffset","showCaret","smallAnnouncementLabel","bigAnnouncementLabel","chatIcon","smallAnnouncementIcon","bigAnnouncementIcon","channelType","isChat","isSmallAnnouncement","isBigAnnouncement","openerElementSelector","popoverElementSelector","filteredEmailTemplates","email_templates","_keepEmailTemplate","defaultEmailTemplateId","defaultTemplate","default_email_template_id","emailTemplates","emailTemplateId","isDefault","resetEmailTemplateId","_scrollToSelectedItem","$popoverList","$selectedItem","setupInitialScrollPosition","setEmailTemplate","setInAppStyle","inAppStyle","setMessageType","isMessageStylePopoverOpen","emailTemplateName","tooltipTextForEmailTemplates","tooltipTextForInapps","messageStyleIcon","styleIconSet","small-announcement","announcement","MessageTypePopover","resetMessageType","emailDisabled","canNotBeEmailed","unsubscribed_from_emails","SavedContentPopover","data-test-saved-content-picker","allowAutoClose","isModalOpen","hasSavedContents","savedContents","selectItem","savedContent","insertSavedContent","createSavedContent","VideoPopover","videoUrl","isVideoUrlValid","VideoUrlParser","insertVideo","forceUseConfetti","forceUseConfettiDisabled","useSnowflakes","animationBaseDuration","colors","snowflakes","confettiCount","confetti","confetto","animationDuration","random","_randomColor","flake","_randomSnowflake","randomIndex","ContentEditor","registerRuleset","duplicateRuleset","rulesetLink","onChangeFilter","onChangeMode","onChangeView","onChangeActiveRulesetLink","AudienceRulesEditor","StandardAudienceRulesEditor","SeriesAudienceRulesEditor","node","isStarting","ClientPredicatesEditor","MatchBehavior","EditMode","isMemberOfSeries","clientData","openedSeriesEditor","PreviewButton","showPreviewModal","StandardHeader","saveRuleset","changeToViewMode","cancelRulesetChanges","MoreDropdown","configRulesetLink","hasTests","showDuplicateModal","customBot","hasDuplicateModalComponent","duplicateModalComponent","contentReceiptStats","activeRulesetLink","objectStats","statisticKeys","receipts","ScheduleOrSetLiveButton","scheduleRuleset","saveAndActivateRuleset","seriesEditorService","closeRulesetEditor","isLive","isUploadingImage","humanReadableObjectName","_this$contentEditorSe","_this$contentEditorSe2","StandardTagsTab","outboundHomeService","resetFilters","selectedTagValues","activeObject","tour","hasSteps","StandardSeriesHeader","activeSeriesNode","changeMode","registerActiveSeriesNode","Body","Footer","showAutomaticallyEnabled","newMatchingLocations","matchingLocations","triggerFromCode","rulesetLinks","rl","Header","AssigneeDropdownWithFallback","_newValue$split2","senderId","senderType","selectedValueType","senderTypes","customEmailAddress","onChangeType","ownerWithCustomEmailAddressFallback","supportOldEditor","onChangeId","_newValue$split4","isOwnerWithAssigneeFallback","isOwnerWithCustomEmailAddressFallback","isOwnerSelected","selectedValueId","fallbackValueType","AssigneeDropdown","showAddCustomSenderModal","hasDynamicAccountMessagesBillingFeature","outboundType","modelDisplayEmail","entities","entity","allowUnassigned","hideOwner","_ownerItem","displayableTeammates","assignableAdmins","_mapAssigneesToDropdownItems","isEmailMode","ChatChromeAvatarComponent","chatContent","sender","senderName","_this$sender","_this$sender$avatar","_this$sender$avatar$i","square_50","has_photo_avatar","teamMembers","isFromTeam","member_ids","_admin$avatar","_admin$avatar$image_u","first_name","Editor","fetchWhetherLeadQualificationPanelEnabled","operatorQualificationPanelIsEnabled","followUpAction","isReplyPopUpOpen","isEmailCollectorReply","canUseOperatorQualifications","operatorQualificationPanelIsDisabled","FollowUpReplyOverlay","BaseFilterBlockPopover","ContentEditorAppInserter","objectName","objectId","inserterApi","createBlock","PreviewSwitcher","updateCurrentDevice","selectedDevice","Switcher","previousValue","_selected","_updateObjects","newlySelected","currentSelectionLabel","_updateCurrentSelectionDescription","_toSentence","_allPossibleItems","conjuction","previouslySelectedValue","_preferredDevicesIsWebOnly","_this$args$content","optionsToHide","hasAndroidSdk","hasIOSSdk","_this$_selected","EmojiFavourites","reactionIndex","defaultEmoji","favouriteEmojiStorageKey","defaultAndFavouriteEmojiIdentifiers","defaultAndFavouriteEmoji","_generateEmoji","unicodeFromIdentifier","groups","representatives","getGroupRepresentatives","prettyEmoticonsUnicodeGroups","unicodeEmoji","emojis","acc","unicodeEmoticon","isEmojiBaseUnicode","identifierFromUnicode","_getSafeDisplayableEmoji","hasNativeSupport","selectEmoji","emojiIdentifier","updatedReaction","updateReaction","recordEmojiSelection","ReactionPickerComponent","newReaction","updatedReactions","reaction","previousReaction","wrapUnicodeEmojiInTitledSpans","ProductTourComponent","intersectionService","registerEventHandler","_onGetTemporaryTour","_onTourUpdated","temporaryTour","updateTargetDomain","tempTour","tourUrlWasEmptyBeforeUpdate","_initializeClientPredicatesWithLastVisitedUrl","_initializeInsertableUrl","clientPredicateGroup","PredicateGroup","convertRawPredicates","insertableUrl","WaitComponent","seriesWaitTypes","absolute","_startOfNextHour","_populatePanel","wait","_this$toDaysHoursMinu2","toDaysHoursMinutes","timeDelay","setTime","seconds","todayInAppTimezone","startOf","absoluteTime","updateTimeDelay","ContentEditorPanelsGoalBodyComponent","ScheduledStateChangeEditor","_todayInAppTimezone","timezoneType","timezoneTypes","basedOnAppTimezone","changeStatus","scheduledStateChangeStatuses","scheduled","scheduledChange","changeType","scheduledStateChangeTypes","activate","scheduledActivation","scheduledDeactivation","newDate","changeAt","hasScheduledActivation","hasScheduledDeactivation","_setScheduledStateChange","deactivate","SeriesMode","ShowUntil","objectNotificationPreferences","seen","interactedWith","engagedWith","showUntil","multi","Summary","hasPredicates","showAudiencePreview","showMatchBehavior","hideAddFilterGroupButton","hideAddRule","_this$hostedMessenger","_this$hostedMessenger2","_this$hostedMessenger3","_this$hostedMessenger4","hostedMessengerWindow","Intercom","origin","frames","contentWindow","StandardBodyHeader","isPaused","disabledActivateRulesetLinkMessage","VersionSummary","minValue","CustomTimesSummary","intervals","dayString","_dayIntToName","intervalMessages","_generateIntervalMessage","startTime","_adjustedMinutesToString","adjustedStartMinute","endTime","adjustedEndMinute","startDay","endDay","utc","dayInt","matchingTimetable","timeIntervalsForDay","intervalsByDay","_generateMessageForDay","SeriesCustomTimesSummary","SeriesSummaryComponent","SummaryComponent","dayTime","fullDateAndTimeWithoutTimezoneWithDayName","timezoneName","formattedTimezoneName","timezoneOffset","formattedUtcOffset","lastIndexOf","formattedDate","isInsideOfficeHoursType","isOutsideOfficeHoursType","stateChangeAdmin","Admin","peekAndMaybeLoad","lastStateChange","stateChangeText","_fullRelativeTimeAgo","StatTab","rulesetReactions","aggregatedReactionStats","reactionStat","reactionCount","reverse","contentStats","content_id","activeObjectId","statisticKey","StandardRulesetLinkSwitcher","ruleset_link_id","statisticTypes","colorMap","_colorMap","clicks","goals","opens","completions","colorClass","selectedVersionStats","_versionStats$stats","_ruleset","changeActiveViewTo","EmptyVersionsCard","parentRulesetLinks","Stat","stat","statsKey","VersioningSidebar","fetchRulesetVersions","rulesetVersions","rulesetVersion","selectVersion","parentRulesetId","ruleset_version_id","tabComponentConfigs","firstSetLiveAt","wentLiveAt","oldestVersionCreatedAt","abs","showVersionList","_rulesetVersion","_allRulesetLinksAreInDraftState","isViewingVersionSnapshot","_hasAnyLiveRulesetLink","_createdAt","_hasAnyPausedRulesetLink","_rulesetLastUpdated","_rulesetLastUpdatedBy","currentVersion","_rulesetLinksState","ViewMode","baseConfig","editorConfiguration","isControlGroup","editorConfig","viewMode","activeConfig","isNone","StandardStatList","changeActiveFilterTo","_statsParameters","makeStatsParametersForRulesetLink","ConversationComposer","statusToIconMap","closed","snoozed","opened","outline","dropdownClass","displayAllState","displayOpenState","displayClosedState","displaySnoozedState","data-test-state-dropdown","statusIcon","containerIsNotWide","statusIsUndefined","showStatusIcon","hideTitle","hideCount","formattedTotalCount","CardActionStatementComponent","CONVERSATION_PRIORITIES","priority","lastPartExcludingOperator","_this$args$conversati","_this$lastPart","actionStatementAdmin","lastPart","is_unknown","_displayAdminAs","shouldOverrideAdminAvatar","from_address","firstNameOrNameOrEmail","_this$lastPart2","isReflexiveAssignment","conversationsService","data-conversation-id","data-intercom-target","cardAnimationTime","inList","new","isFeed","isCollapsable","canBeMessage","notReadOnly","isCollapsed","notInbox","notInboxInList","shouldReduceCardHeight","isReducedHeightCard","shouldBeHere","isHoverable","isNotInitialChannelPush","conversationRedirectTo","shouldDisplayTransitionInformation","sorting_updated_at","subscribeRealtime","unsubscribeRealtime","previous","_400MS","isExpandedChanged","hideCollapsedHeader","isClosedOrExpandedChanged","shouldntBeHere","TransitionInformation","auto_transition_timeout","parentStateContext","scheduleOnce","_hideCollapsedHeader","expand","markMentionsAsRead","conversation.isCurrentlyActive","collapse","onConversationReopened","onConversationClosed","onConversationSnoozed","changeToNotePane","streamAndControls","focusComposerTab","_300MS","$card","$viewport","velocity","marginBottom","delay","queue","progress","scaleX","scaleY","easing","$dateAgoHeader","daysAgo","scrollOffset","expandAndScrollGroup","showsConversationsAndMessages","expandedCardId","enableAutoScroll","collapsedHeight","_velocity","getElementById","setViewportHeight","getViewportElement","scrollToCardTask","DEFAULT_CARD_HEIGHT","viewport","cardContentHeight","idealCardHeight","getCardElement","getExpandingArea","expandCard","$contentElement","scrollToCard","expandCardTask","cancelRunningTasks","hideRepeatedDays","EmojiInserter","matchResult","prosemirrorState","MENTION_HOST","mentionSpec","schema","nodes","mention","tr","createAndFill","commands","dispatch","matchWithoutTrigger","escapedMatch","escapeRegex","SavedReplyInserter","savedReply","marker","insertMarker","savedReplyId","SavedReply","getRendered","rendered","insertAtMarker","savedReplies","savedReplySearchService","searchUsingRegex","ConversationControlsAdditionalInserters","newSelection","selectedAdditionalInserter","ArticleSuggestionPreviewModal","fetchFullArticle","publicUrl","public","notFullyLoaded","fullyLoadedArticle","isConversation","setupAsCollapsable","setFullHeight","setExpandTopOffset","expandedStyle","emptyStyle","fullHeight","insertArticleIntoComposer","isKnowledgebaseSupported","hasKnowledgebaseArticles","hasEducate","hasNoEducate","isEducatePaywalled","previousConversation","retrieveSuggestions","suggestions","article_ids","insertArticleIntoComposerTask","ButtonBarComponent","totalWidth","buttonsWidth","inserterWidth","availableWidth","visibleInserters","displayableInserterCount","displayInserterOverflow","calculateLayout","_200MS","activePaneIdentifier","inserter","classify","isNotFacebookOrTwitter","visibleButtonReplyConditions","noteSelected","teammateConversationAttachmentsEnabled","noteOrNonFacebookTwitterReply","replySelected","inboxIsActive","currentAdminHasInboxAccess","created_via_api","isInitialChannelMessengerOrEmail","bodyEmpty","replyNotSelected","shouldPreventSending","primaryIsDisabled","buttonNameForSnoozed","isAssignedTo","showSecondary","secondaryIsDisabled","primaryText","primaryButtonTextSet","primaryTooltip","platform","isMac","comment","note","conversationState","submit","submitWithType","isFocused","composerHasContent","composerIsUploading","isFetchingSavedReply","hasOpenInserters","insertSavedReply","annotateImage","_len8","_key8","openSavedRepliesModal","_len9","_key9","createSavedReply","_len10","_key10","_len11","_key11","_len12","_key12","scrollStreamToBottom","_len13","_key13","selectPane","_len14","_key14","onComposerChange","_len15","_key15","onComposerKeyDown","_len16","_key16","createPart","_len17","_key17","createPartAndSnoozeWithPresetTimer","_len18","_key18","createPartAndSnoozeWithCustomTimer","_len19","_key19","expandComposer","_len20","_key20","focusComposer","_len21","_key21","notInExternalTaskMode","isNotFocused","composerHasNoContent","hasArticleSuggestions","isUploadingOrFetchingSavedReply","savedReplyBeingCreated","onConversationChange","escapePressed","_event","cmdEnterPressed","addAnalyticsEvent","createPartFromShortcut","cmdShiftEnterPressed","handleCloseEvent","cmdAltEnterPressed","handleSnoozeEvent","isComposerFocused","createEventPartFromShortcut","keyPress","maybeUpdateUserContentSeenState","snoozed_until","queryCache","filteredContent","cancelTimers","lastConversation","collapseComposer","initPaneCache","syncDraftClassAndActivePane","copyDraftToPaneCache","loadPaneCacheIntoComposerAndFocus","loadPaneCacheIntoComposerWithoutFocusing","setupAndFocus","uploads","activePane","panesPath","loadPaneCacheIntoComposerAndFocusAndInsertBlock","_loadAndFocusAndInsertBlock","_loadAndFocus","_load","doScroll","hasClass","UserContentSeenState","updateConversationForAdmin","draftComponent","loadDraft","getDraft","forceActivePaneToNote","handleArticleSend","linkBlocks","trackArticleSend","articleBlocks","trackRepliedFromLocation","isNote","hasArticle","notifyNexus","sendAdminIsTypingEvent","sendAdminIsTypingANoteEvent","fetchBlocksFromComposer","afterPartCreate","beforePartCreate","clearDraft","_createPartAndSnooze","snoozeOptions","convo","addPartAndSnooze","focusComposerCallback","removeFocus","filterQuery","createSavedReplyFinished","addPartAndSave","snoozedUntil","customSnoozedUntil","SNOOZED_UNTIL_MAP","absoluteUnsnoozeTime","changeActivePaneAndShowComposer","newPaneIdentifier","articleSuggestionsComponent","IntercomSelectComponent","_calculateDropdownPositioning","data-test-draft-component","updateTask","hasStatusMessage","hasChanged","hasNotChanged","hasStatusAndHasNotChanged","timers","styleOpacity","statusMessage","updateDraft","markAsChanged","saveComposerAsDraft","_shouldDeleteDraft","deleteDraft","clearChangedStatus","KeyboardSelectable","hasArticlesProduct","hasArticles","articlesProPromoKey","inserterIsInstalled","hasQuery","hasNoQuery","hasFilteredContent","previewDropdownItems","hasPublishedArticle","previewArticle","publishedContentsLocaleIds","supportedLocales","_getLocaleName","checkInserterInstalledTask","loadResultsFromCache","maybeFetchSite","setFilteredContent","records","fullyLoaded","locale_id","startArticlesTrial","productIds","updateResults","displayQuery","goToArticleList","goToAppStore","switchLocale","ConversationControlInserterAttachmentOpener","analyticsName","_this$args$controlsAP","_this$args$inserterAP","unicode","isExternalStepRunning","selectImage","ConversationControlInserterImageOpener","insertMessengerCard","opener","onOpen","fetchPinnedApps","pinnedApps","pinned","SavedReplySearch","hasSavedReplies","highlightedReply","_this$appService$app","permissions","canUseCreateSavedReplyModal","can_manage_saved_replies","can_access_product_settings","has_saved_replies","openManageSavedReplies","savedReplyFilterQuery","saved_reply_id","inserted_from","setComposerContents","savedReplyReadOnlyComposer","tourInserterAppInstalled","fetchTourInserterApp","tourInserterApps","ConversationControlInserterVideoOpener","uploadVideo","showPopover","hasDismissedBanner","markViewAsSeen","classesForComposer","composerClasses","canUseNewInboxComposer","baseComposerPresetName","composerPresetType","composerAllowUploadsType","isFacebookConversation","isTwitterConversation","composerPreset","camelize","pastedImage","isFacebookConversationReply","isTwitterConversationReply","shouldHideConversationControlsActions","shouldDisplayConversationControlsActions","savedRepliesAreAvailable","canInsertArticle","composerPlaceholder","markerId","setupProsemirrorComposerWrapper","ProsemirrorComposerWrapper","prosemirrorComposerWrapper","updateComposerIsUploading","onComposerError","recovered","_logComposerV2Error","Metrics","capture","increment","onErrorUploading","onTypeAheadInserted","allowNotes","paneIdentifier","data-test-pane-selector","SnoozeOptions","dropDownTogglerSelectors","dropDownItemSelectors","closeShortcut","initSnoozeProperties","_click","openSubcontent","closeSubcontentAfter1sec","closeSubcontentImmediately","closeSubcontent","openSubcontentOnMouseEnter","BROWSER_SUPPORTS_TOUCH","closeSubcontentOnMouseLeave","openOrCloseSubcontentImmediatelyOnClick","showingSubcontent","customSnoozeConversationAndCloseDropdown","disableSnoozeButton","selectedDayMoment","selectedTimeInSecondsSinceMidnight","customSnoozedUntilTime","toISOString","sendAndCustomSnooze","actionSubject","statePreposition","CONVERSATION_STATES","partToBeDisplayed","lastPartWithContentExcludingOperator","ConversationIsTypingComponent","isUser","isAdmin","isAdminComment","isAdminNote","shouldDisplayAvatar","data-test-latest-conversations","fetchAndSetLatestConversations","responseConversations","assignee_identifier","ignorable_conversation_id","ignorableConversationId","scope","dontAskAgain","persistDontAskAgain","storageKey","storage","disableAwayMode","initialValues","away_mode_enabled","reassign_conversations","conversationCleaner","_previousConversations","releaseMulti","retainMulti","availableAdmins","assignedToOperator","assignableAdminsAndOperator","isAdminAssignedToCurrentConversation","canAdminReassignCurrentConversation","defaultTeammateAvatar","DefaultAvatars","assigneeValue","adminAssigneeValue","teamAssigneeValue","trackAssignment","admin_assignee_id","team_assignee_id","assignee_changed","admin_assignee_changed","team_assignee_changed","has_mcc","canAssignToTeamAndTeammate","assignConversation","assignment","taggings","tagsAreLoading","isPending","hasMany","openTaggingModal","Title","_this$args$conversati2","_this$titleValue","previousTitle","titleValue","addEventPartAndSave","titleInput","canUseEmberConversationTitle","_this$args$conversati3","_this$args$conversati4","_this$args$conversati5","_this$args$conversati6","_this$args$conversati7","isGroupConversation","_this$args$conversati8","SideDrawerConversation","data-test-similar-conversations","fetchAndSetSimilarConversations","trackSimilarConversationsLoad","conversation_ids","hideControls","operatorInboxInterruptionAction","_this$admin","assign_conversations_on_reply","selectedDraftPart","conversationControls","conversationStream","resetTypingIndicators","autoScroll","shouldScroll","highlightedConversationPartId","midThreadScrollAmount","autoScrollThreshold","paginationThresholdPercentage","canLoadMoreParts","data-test-conversation-stream","savedReplyInitialBlocks","handleUrlFragment","urlFragmentStr","keyValuePair","conversationChanged","$scrollContainer","findScrollContainer","handleScrollChange","setConversationSeen","lastMouseMoveTime","visibilityState","mouseMove","stopPoll","willClearRender","startPoll","scrollToBottom","displayableParts","lastAdminItemWithSeenMetadata","tabIsActive","userContentSeenStateDelay","hidden","conversationPartsDidChange","_handleScrollChange","scrollContainer","distanceFromBottom","_shouldFetchEarlierParts","_savePreviousScrollPosition","_restoreScrollPositionAndScrollAfterImages","isWithinPaginationArea","isLoadingMore","_scrollToBottom","_scrollAfterImages","_animateScrollChange","callback","anotherAdminIsTypingACommentChanged","_anotherAdminIsTypingACommentChanged","anotherAdminIsTypingANoteChanged","_anotherAdminIsTypingANoteChanged","userIsTypingChanged","_userIsTypingChanged","showAdminTypingTooltip","typingAdmin","anotherAdminIsTypingAComment","anotherAdminIsTypingANote","userIsTyping","$spacer","$part","_hideOrShowSpacerAndPart","_setAdminAvatar","isTyping","_showSpacerAndPart","_hideSpacerAndPart","isScrolledNearBottom","slideUp","$avatarImage","typingAdminAvatarURL","_hideAllTypingIndicatorsImmediately","$selectors","_showTypingIndicatorsIfAnyoneIsTyping","_resetTypingIndicators","_restoreScrollPosition","previousScrollPosition","clearConversationPartHighlight","_scrollToConversationPart","$conversationPart","hasScrolledToConversationPart","isTypingParts","for","partType","side","_conversationPartCallback","toggleSharing","_this$modalService","scrollToConversationPart","AdminActionComponent","ConversationPartComponentBase","resetShouldFadeInAction","_resetShouldFadeInAction","isActionTargetNameLowercase","authorName","event_data","allSettled","AdminMessageComponent","AdminNoteComponent","setCorrectHrefForMentions","mentions","originalHref","mentionedAdminId","pop","channels","moreThanOneChannel","channelValues","channelValue","hasReplyChannel","handleUserDetailsEvent","isParticipant","hasEmail","hasPhoneNumber","user_phone_number","loadConversation","originalConversation","background","loadBackgroundFromTeammateAppSettings","backgroundClass","teammateAppSetting","data-test-conversation-bubble","isOperatorComment","isHighlighted","isPersisted","isNotPersisted","partDoesNotHaveMessengerCards","shouldDisplayTagging","shouldDisplayUpload","shouldDisplaySubject","performQuickAction","hideDropdownOverlay","_x","_x2","hasContext","enterContextElementSelector","exitContextElementSelector","showOnlyWhenHoveringInsideContext","mainParticipantHasEmail","hasTagAction","partHasOnlyMessengerCard","canUseSavedRepliesManagement","canSaveFromReply","hasSaveReplyAction","hasGithubAction","hasSalesforceAction","tagAction","extraQuickActions","enterContextElement","exitContextElement","toggleElementDisplay","parents","eq","dropdownOverlayVisible","mouseLeftWhileOpen","dropdownOverlayVisibilityChanged","isMessengerCardBlock","BubbleGroup","isMessengerCardOnly","addBlock","setupCanvasModel","canvasJSON","data-test-conversation-part-component-base","hasNativeEmojiSupport","creatorDisplayAs","channelText","isExternalChannel","isNotExternalChannel","isExternalChannelDeliveryInProgress","EXTERNAL_REPLY_SEND_STATES","pending","isExternalChannelDeliverySuccessful","hasExternalChannelDeliveryFailed","doesNotHaveNativeEmojiSupport","shouldShowSticker","shouldNotShowChannel","shouldShowImageSticker","partNotEmail","firstPart","firstPartSentViaEmail","firstPartSentViaEmailOrNotEmail","leadSharesEmailWithUserWarningOn","leadIdentifiedViaEmailWarningOn","hasImpersonationWarning","showImpersonationWarning","bubbleGroups","_createBubbleGroup","lastGroup","_shouldDiscardBlock","_shouldSplitBlockIntoNewBubble","lastNonMessengerCardOnlyBubbleGroupIndex","messengerCardTopics","subscribeMessengerCardRealtime","unsubscribeMessengerCardRealtime","handleMessengerCardUpdate","realtimeEventData","cardUri","hasMessengerCard","currentBubbleGroup","currentBlock","previousBlock","partSaveCallback","updateError","controllerPath","retry","supportStickers","componentPath","_this$app","_this$part$event_data","renderedPartType","ownerType","hasAdmin","tokenAdmin","isAssignee","hasAdminInTokens","tokens","isReflexive","hasHumanAssignee","timeOnDay","tagURL","_tagFilterUrl","tagFilterUrl","displayText","userCacheService","fetchAndSetUser","getUser","userHasLoaded","SUPPORTED_TYPES","EventTokenizer","tokenize","mappedComponentsToTokens","componentName","typeWithDashes","partitionedBlocks","_partitionHtmlBlocks","blockList","hasSecureUploads","accumulator","QuickActionBaseComponent","openRedactPartModal","saveThisReply","is_initial_part","isLastUserComment","addUnauthenticatedAlertHoverListener","data-test-user-meta-data","viewEmailAndTrackEvent","inboundEmailId","inbound_email_id","user_message_id","part_id","UserStickerComponent","isNotInbox","isLastMentionedPartAvailable","showLastMentionedPart","showConversationPriority","hasActiveTimeTarget","hasBadge","summaryPart","anotherAdminIsTyping","summaryIsNote","summaryIsForAdmin","adminToDisplay","noOneIsTyping","summaryIsForOperator","displayedSummaryText","highlightedIds","uniqueId","_e","visibleParts","allBubbles","maxBubbles","firstHighlightedPart","bubble","idx","before","ceil","lo","significantConversationBubbles","len1","len2","ConversationalInsightsConversationCardsListComponent","resetComponent","haveFetchedConversationContent","exhaustedConversationIds","loadConversationsPage","fetchConversationsData","fetchConversationResults","conversationResults","byId","highlightedTexts","highlights","ConversationalInsightsConversationCountOverTimeComponent","loadDataTask","keyphrases","conversationalInsights","getCounts","rawAllConverastionCounts","rawTopicConversationCounts","topicConversationCounts","extractCounts","buckets","countsByMonth","allConversationCounts","relativeTo","valueUnit","yearAgo","today","endOf","Signal","datePickerRangeStart","datePickerRangeEnd","originalContext","_setupLineChartSignal","doc_count","key_as_string","ConversationalInsightsConversationRatingOverTimeComponent","getConversationRatings","totalRatings","csatRatings","conversation_rating","bucket","nestedKeysAreDates","ConversationalInsightsMedianFirstResponseTimeComponent","getResponseTimePercentiles","percentiles","medianResponseTime","response_time_percentiles","ConversationalInsightsMedianResolutionTimeComponent","getResolutionTimePercentiles","medianResolutionTime","resolution_time_percentiles","SubTopics","updatedCounts","subTopics","getMultipleCounts","comparePreviousRange","subTopic","_results$index","currentCount","previousCount","countChange","conversationCounts","SuggestionsList","loadCountsTask","removeFromView","splice","byMonth","countSignals","_underscore","chunk","ConversationalInsightsTopicConversationsComponent","getConversations","fetchData","totalConversations","_source","TopicEditor","keyphrasesText","excludedKeyphrasesText","inheritTopicFromKeyphrases","_this$topic$parent","parent","setKeyphrasesFromText","setExcludedKeyphrasesText","partTypes","authorTypes","isSubTopic","ConversationalInsightsTopicOverlapsOverviewComponent","loadOverlapsTask","comparisonBucket","mainTopicCounts","topicsIdsToOmit","ancestorTopicIds","descendentTopicIds","topicsToOverlap","getOverlapCounts","overlapStats","overlaps","overlapCounts","intersectionCount","report","both","tooltips","relativeOverlapOverTime","relativeSignal","overlapRows","topicToOverlap","ConversationalInsightsTopicTagsOverlapsComponent","getCountsSplitByTag","topicTagCounts","tagMonthBuckets","tag_id","sumByTagWithinTopic","topOverlappingTagIDs","topicTitle","overlapOverTimeItems","tagIds","secondsOrNaN","ConversationalInsightsTopicsListComponent","loadStatsTask","promiseHash","countByTopic","allConversationsCount","medianResponseTimePerTopic","getMultipleMedianResponseTime","medianResolutionTimePerTopic","getMultipleMedianResolutionTime","rows","_countByTopic$i","relativeCount","_component","BLANK_TEMPLATE","templateDropdownItems","outboundServiceTargets","OUTBOUND_TARGET","newBotDropdownItems","_rolePredicateGroup","templates","OUTBOUND_PREDICATE","EVERYONE_TARGET","EVERYONE_PREDICATE","NEW_CONVERSATION_TARGET","USER_ROLE_PREDICATE","NON_USER_ROLE_PREDICATE","_rulesetParams","rolePredicateGroup","_objectType","objectData","_objectData","_matchBehavior","inboundCustomBot","buttonCustomBot","transient","INBOUND_BOT_TYPE","BUTTON_BOT_TYPE","initiators","_isOutboundBot","_inboundBotCanUseNewContentEditor","_buttonBotCanUseNewContentEditor","transitionToNewCustomBot","createdFrom","outboundCustomBotTargets","CustomBotsHeading","DuplicateModal","selectedTarget","duplicate","duplicatedBot","rulesetId","STEP_TYPE_CHAT_MESSAGE","STEP_TYPE_TERMINAL","STEP_TYPE_FOLLOW_UP_RULES","STEP_TYPE_MID_PATH_ACTIONS","STEP_TYPE_ANSWER_BOT","selectedPath","editorLayout","canUseInboundContentEditor","isFirstPathSelected","maxPathTitleLength","isOutboundBot","OUTBOUND_BOT_TYPE","isInboundBot","shouldShowValidations","actionsType","buttonsType","chatMessageType","dataFieldType","freeInputType","midFlowActionType","answerBotType","targetingContext","addPath","addPathAndLinkToControl","deletePath","endPathWith","selectPath","addStepToSelectedPath","addMidFlowActionStepToSelectedPath","deleteStepFromSelectedPath","reorderSteps","reorderPaths","resetEndState","linkPathToControl","addQuickReply","deleteQuickReply","reorderQuickReplies","_createNewStep","_buildBlocksForStep","controls","_buildControlsForStep","simpleActionRule","_buildSimpleActionRuleForStep","_ensureNewStepIsReachable","previousStep","_createStepAndAddToPath","newStep","_addStepToPath","step","insertAt","_buildDeleteOptionsForPath","cancelButtonText","_addPath","newPathIndex","finalPathStep","newPath","steps","_trackChangedEvent","_removeDeletedPathFromAnyControls","deletedPath","control","_removeDeletedPathFromIncomingControls","_deletedPath$endState","_deletedPath$endState2","endStateStep","replyButtons","_control$nextPath","_control$nextPath$inc","nextPath","incomingControls","_addStepToSelectedPath","indexToAddStepTo","_addMidFlowActionToStep","justAdded","_getNextPathsForPath","replyButton","_updateIncomingPathLinks","_control$nextPath2","_control$nextPath2$in","indexAfterCurrentPath","paths","currentLatestIndex","potentialIndex","linkToPath","pathIndex","confirmed","removePath","pathToSelect","indexForLastStep","removeLastPlaceholderStep","lastStep","reorderedSteps","reorderedPaths","newControl","attributeIdentifier","_control$nextPath3","_control$nextPath3$in","hasNoControls","isButton","reorderedQuickReplies","initiatorType","change_type","initiator_type","AnswerBotEditor","getResolutionBotLoopingSettings","resolutionBotLoopingSettings","intl","blockedAttributes","collectableAttributes","availableTypes","_shouldEnableAttribute","hasInvalidAttribute","isNotList","isString","isBlocked","_selectAttribute","selectAttribute","removeAttribute","toggleCollectAttribute","ComposerDisabledSelector","inboundTrigger","currentValue","composerDisabled","botData","isSafari","PROMPT_CONFIG","PromptComposerConfig","promptBlocks","stepContent","isStepValid","composerConfig","promptBlocksDocument","composerReady","composerChanged","allRuleActions","isPathTitleNotValid","renderableSteps","isEndStateStep","ElementSelector","setClientPredicatesAndSelector","unregisterEventHandler","pingDomains","include_subdomains","selectedDomain","isDomainModalOpen","isManuallySelectingDomain","openIntersection","removeAll","cleanUrl","openWindow","_urlValidator","typeMap","IncomingPaths","composerSuggestionLayout","COMPOSER_SUGGESTION_LAYOUT","conversationLayout","CONVERSATION_LAYOUT","notButton","isFirstPathAndButtonBot","isFirstPathAndNotButtonBot","availablePaths","allPaths","answerBotChosen","buttonsChosen","actionsChosen","maxQuickReplyLength","DataFieldDropdown","dataField","isDropDownEnabled","isTooltipEnabled","tooltipMessage","stepInsertOptions","simpleItems","_addDataField","_addFreeInput","_addBotMessage","allItems","actionItems","allowedMidFlowActionsGroupList","_addMidFlowAction","canUseConversationAttributeData","conversationCustomAttributeItems","attribute_identifier","conversationCustomAttributes","_constants","createConversationDataAttributeItems","RULE_ACTION_MAP","allowedMidFlowActionIdentifiers","ruleAction","allowedActions","isConvoTaggingDisabled","INSERTERS","canShowVideoBot","insertersBaseClass","insertersActiveClass","insertersClass","pushBlocksUpdate","trackUploadEvent","file_type","file_size","performFinishedUploading","updateBlocks","startedUploading","finishedUploading","errorUploading","fileType","fileSize","PathItem","isFirstPath","firstPathConstraints","autoFollowHardLimit","isPathContentsValid","isFirstPathConstraintValid","isPathValid","isFirstPathValid","PathList","labelWithSeparator","OptionPathSelector","titleWithLabel","CustomBotsEditorRulesEditor","hasSalesforceIntegration","hasHubSpotIntegration","hasMarketoEnrichmentIntegration","canUseMarketoTriggerCampaigns","canUsePriorityRules","sharedActions","customBotFollowupActionAttributes","conversationColors","conversationErrorColors","suggestionColor","suggestionErrorColor","CompletionNode","round","completionPercentage","DropoffNode","dropoff","dropoffPercentage","Node","journey","journeyMap","executions","executionsForJourney","previousJourney","previousPath","currentPathId","controlsLeadingToCurrentPath","_id","uuid","viewsForRootNode","viewsForNonRootNode","depth","hasChildren","showChildren","show_children","path_id","currentPath","custom_bot_id","custom_bot_target","expanded","currentJourney","viewsForCurrentJourney","viewsForJourney","viewsForParentNode","isFinalPath","isInstantFinishPath","executionsForCurrentJourney","hasControls","sumChildViews","childPathId","DetailedView","isChatMessage","isAnswerBot","oneLineSummary","isAttributeCollector","isFreeInput","isReplyButtons","controlExecutions","hasNoActions","isMidPathActions","isTerminal","contentForSingleControlStep","executionsForSingleControlStep","hoverText","hoverTextForStep","Root","loadJourneysForCurrentSnapshot","journeys","control_executions","summaries","initialDataTimestamp","snapshotId","selectedSnapshotId","fetchSnapshot","loadJourneysForSelectedSnapshot","custom_bot_snapshot_id","loadSnapshotSummaries","waitForProperty","buildVersionDropdownItems","snapshot_id","buildJourneyMap","selectedSnapshot","setInverseRelationships","startingPath","hasSelectedSnapshotId","hasDropdownItems","hasJourneyMap","getPreviewConfiguration","isInbound","wrapperComponent","operator","previewLayout","hasDisabledComposer","firstSteps","firstPathSteps","showComposer","prompt","previewHtml","fetchDomains","composerSuggestions","getComposerSuggestions","isValidSelectedDomain","modalTitle","pingDomainOptions","focusInput","selectDomain","enableManualDomainSelection","openSite","analyticsEventObjectLabel","isOutbound","CONFIRM_FOR_ACTIVATE_CONTENT","_error$jqXHR","_error$jqXHR$response","specificError","CUSTOM_BOT_REQUIRED_PERMISSION","clickedPlatform","isIosGuideStep","isAndroidGuideStep","isCordovaGuideStep","platforms","CdaPlatforms","snippetInstructions","instructions","snippetInstructionsCode","selectedPlatform","isUserSourceSelectedMobile","isUserSourceSelectedIos","isUserSourceSelectedAndroid","isUserSourceSelectedCordova","defaultUserSource","selectedUserSource","dasherizedSelectedUserSource","dasherize","isUserSourceSelectedJavascript","isUserSourceSelectedSinglePage","isUserSourceSelectedRails","isNotUserSourceSelectedMobile","isMobileGuideStep","isNotMobileGuideStep","hasLanguageSelector","contentPath","basePath","setUserSource","CustomisableWidgetEditorSocial","CustomisableWidgetEditorText","CustomisableWidgetPopover","CustomisableWidget","disableTooltip","_sameRelativeUtcOffset","utcOffset","tooltipDisabled","sameRelativeUtcOffset","notSameRelativeUtcOffset","formattedDateOnly","formattedTimezone","formattedDateWithTimezone","formattedValidDate","hasDate","missingDateString","_info","additionalWidth","applyBounds","shouldFocusNoSelect","shouldFocus","isEdge","enteredChar","fromCharCode","charCode","isNumeric","newAppPackage","developerHub","approved","inTerminalState","notInTerminalState","shouldShowTabs","showPending","CategoriesList","appStoreListing","categories","cat","publiclyVisible","operation","selectedSlugs","EditBase","showPreview","valid","currentBlocks","iconUrlIsEmpty","nameIsEmpty","descriptionIsEmpty","pricingModels","_pricingModels","getPricingModels","imageName","imageUrlParts","SCREENSHOT_ROW_URL_LENGTH","removeImageUrl","newImageUrls","addImageUrl","localeDropdownItems","showPricingPageUrl","pricingModel","getPricingModelData","publicAppStoreCategories","hasAppStoreListing","showApiVersionPicker","appPackageVersion","selectedApiVersionId","selectedApiVersion","allVersions","newerPublicVersions","experimental","isUnstable","numberOfPublicVersionsBehind","allApiVersions","_compareVersions","apiVersionsDropdown","calculateDropdownItemText","showUpdateVersionButton","openVersionPickerModal","updateAndCloseModal","updateApiVersion","latest_public","changeRequestConfig","enabledInboxApps","enabledMessengerApps","shouldValidateInboxApp","shouldValidateMessengerApps","inboxAppConfig","changeRequest","appPackageConfig","inboxApp","messengerAppConfig","invalidApiVersionForInboxApp","appPackageCannotUseInboxApps","saveInboxAppTask","_yield$this$inboxAppC","isInvalid","saveAppPackageTask","saveMessengerAppTask","_yield$this$messenger","app_metadata","enabled_inbox_app","enabled_messenger_app","hasCanvasKitChanges","inboxAppHasDiff","messengerAppHasDiff","rollbackChanges","sectionAPI","hasNonEmptyValues","saveButtonEnabled","shouldDisplayInputs","CustomerWorkspaces","appPackageHasChanges","BaseForm","_cleanupHiddenFields","_isInvalid","_saveAppPackage","installationMode","appStoreListingConfig","learnMoreUrl","trackedAttributes","_appStoreListingIsPresent","accordionBody","_this$appStoreListing","GettingStartedGuide","startingGuideConfig","maxFileSizeInBytes","_uploadImage","resetFile","uploadType","uploadScreenshotImageTask","AccessTokenDisplay","useOAuthFlow","toggleOauthClient","sortingOrder","freeze","workspaceData","workspaceDataWithoutWebhooks","workspacePermission","sortedWorkspaceData","peopleAndConversationData","sortedPeopleAndConversationData","oauthClient","test-developer-hub-app-package-scope-edit-container","messengerEnabled","inboxEnabled","isManagedScope","managedScopes","Set","has","appPackageHasScope","containsByProperty","toggleScopeValue","scopeValue","appPackageScopes","redirectUrls","shouldHideClose","addRow","removeRow","removeAt","showProtectedAppPackageWarning","fetchReport","perPage","InstallsChart","APP_PACKAGE_INSTALL_STATUS_CHANGED_EVENTS","app_package.id","state.id","TotalInstallsChart","getTotalInstalls","getCumulativeTotalInstalls","cumulativeTotalInstalls","getPreviousCumulativeTotalInstalls","previousCumulativeTotalInstalls","_this$args$range","_this$args$range2","comparisonStartMoment","comparisonEndMoment","comments","distribution","orderedKeys","UninstallsChart","draftState","inReviewState","actionRequiredState","approvedState","privateListingApp","approvedPrivateListingState","privateAppWithDraftPendingListing","inDraftWithPendingChanges","privateAppWithDraftUsingOauth","bannerOptionClass","noPendingChanges","publicAppWithoutPendingChanges","Edit","isPublicApp","oauthClientHasChanges","videoUrlErrors","_reviewStateMachine2","displayChangeDiff","healthCheckUrl","lastNote","apCapability","appPackageCapability","apCapabilityConfig","appPackageCapabilityConfig","appPackageCapabilityClass","compareWith","hasChanges","oauthScopes","changedOauthScopes","oauthScope","pricingModelName","Show","Submenu","route","_this$developerHub","isOnBasicInfo","isOnAuthentication","isOnCanvasKit","isOnWebhooks","_this$developerHub2","isOnReview","isOnWorkspaces","isOnAppStoreListing","isOnGettingStartedGuide","isOnCustomerWorkspaces","isOnReports","isInEditMode","webhookDefinition","activeTopics","dropdownTopics","isTopicSelected","selectDropdownValue","oldTopicArray","removeTopic","tableTopic","deleteButton","appPackageInstall","target_workspace","installAppPackageTask","uninstallAppPackageTask","regenerateAccessTokenTask","regenerateToken","ownerAppId","protectedAppIds","isOwner","isProtectedWorkspace","needsAcceptanceTask","developerGuidelines","needsAcceptance","acceptTermsTask","acceptGuidelines","rejectGuidelines","AppPackageDetails","_this$args$row","publiclyAvailableListing","notPubliclyAvailableListing","publicState","private","published","publicTooltipText","privateTooltipText","publishedTooltilText","DisplayedAttributesDropdownComponent","toggleSelector","preventDropdownToggleFromWithin","attributeSettings","displayableUserAttributes","displayableCompanyAttributes","showCompanyAttributes","lastRequestAtAttribute","userIdAttribute","currentDisplayOn","adjustedDisplayableUserAttributes","lastRequestAtIndex","groupedDisplayableAttributes","userAttributes","toggleDisplayed","displayableAttribute","attributeSetting","getAttributeSettingByDisplayOn","newAttributeSetting","display_on","DropdownComponent","_eaListElement","EditableTextComponent","displayMode","originalText","placeholderText","emptyString","editableTextBlank","originalTextEmpty","textToDisplay","textToDisplayIsBlank","textToDisplayIsNotBlank","editableTextForTrimmer","trimmedOriginalText","trimmedEditableText","setTexts","exitEditModeFunc","textareaMode","editedText","texts","_attachmentList","_editor","_filePicker","_inlineInsertionPointer","_insertionPointer","_rangePointer","_typeahead","EditorComponent","EmailComposerComponent","setupBlocks","setupEmailTemplate","loadEmailTemplate","localizedEmailContent","emailTemplate","emailTemplateType","loadBlocks","templateData","_this$emailTemplate","isPlain","TemplateInfo","senderAvatar","showUnsubscribeLink","composerHash","WIDGETS","widget","EmailComposerSubjectComponent","subject","EmailEditorComponent","_this$args$email","localizedEmailContents","fromAddress","customFromAddress","EmailHtmlComposerComponent","_attributeEncoding","encodeUriAttributes","splitTemplate","_splitHtml","htmlBlock","footer","combinedHtml","EmailHtmlComposerPreviewComponent","iframe","contentDocument","write","html","EmailHtmlModeSwitcherComponent","switch","rawBlocks","emailTemplateTypes","htmlMode","EmailSidebar","replyToId","replyToType","isSenderCustomEmail","invalidEmailAddresses","sendPreviewEmails","payload","outbound_addresses","outboundEmailAddresses","email_id","show_unsubscribe_link","_nonconcurrentAjax","emailAddresses","emailAddress","_email","isValidEmail","EmailSidebarTemplateSwitcherComponent","loadTemplates","selectedTemplate","toStringValue","isCustom","isPremade","isOfficial","outboundTemplateType","outboundTemplateId","_identifier$split2","templateType","UnsubscribeComponent","_emberCollection","_emberNativeScrollable","_emberPopover","_emberTooltip","_emberWormhole","EmbercomRevisionBanner","currentlyLoadedRevision","libraries","_registry","library","embercomRevision","isValidRevision","titleItem","isTitle","spaced","maxUserEmoji","defaultEmojis","emojiFilter","filteredEmojis","allEmoticonsIdentifierList","unicodeIcon","_buildEmojiItem","userEmojis","userEmojiIdentifiersUnsupported","userEmoji","isSupportedIdentifier","forceTwemojis","_addUserEmoji","popObject","lastUsedEmojis","unicodeIcons","allEmojiItems","_getDisplayableEmoji","EmojiInserterComponent","inConversationCard","isCaretAbove","isCaretBelow","onDidInsertElement","PointerPositioner","updatePopoverPosition","CARD_ANIMATION_TIME","_isOpenChanged","urlHost","domainNames","uniqueDomainNames","uniqueDomainSuggestions","domainName","uniqueDomainSuggestionsNotEmpty","updateUrl","onUrlChanged","ExpandableListComponent","ExpandingTextareaComponent","defaultTextareaClasses","useNoteStyle","styleTextarea","stylePre","_getCurrentDimensions","setMaxHeight","textareaClasses","defaultClasses","preCursorContent","textareaContent","textareaElement","substr","postCursorContent","onFocusIn","_changeOrInput","onFocusOut","_getCursorPosition","scrollbarWidth","getScrollbarWidth","scrollbarHeight","getScrollbarHeight","textarea","offsetTop","offsetLeft","clientWidth","focused","pre","padding","fontSize","font","border","overflow","boxSizing","FacebookLikeButtonEditor","jqueryElement","customCTA","customUpgradeButton","verticalCaretClass","horizontalCaretClass","verticalPosition","horizontalPosition","hideTimeout","isShown","plansWithFeature","planWithFeature","plansFromId","availablePlans","componentWidth","windowHeight","windowWidth","halfWindowHeight","half","halfWindowWidth","belowVerticalMidPoint","beyondHorizontalMidPoint","caretIsTop","caretIsLeft","targetBounds","topOrBottomStyle","leftOrRightStyle","topOrBottomOffset","leftOrRightOffset","targetSelector","clientRect","cancelHide","scheduledHide","isInsideUi","$hoverEl","hoverSelector","handleIsShownChanged","addHideListeners","removeHideListeners","bodyMouseMove","containerScroll","_resetWindowWidthAndHeight","resetWindowWidthAndHeight","debounceTimer","loadAndShowModal","onCustomUpgradeButtonClick","analyticsMetadata","FileUploadComponent","uploadsUrl","initializeFileUpload","fileupload","dropZone","pasteZone","isSubmitAllowed","originalFiles","autoUpload","process","content_type","isImage","is_image","always","progressall","loaded","destroyFileUpload","_baseFilterBlockPopover","_filterBlockEditor","_filterBlockOptions","_filterBlockPopoverHousing","_filterGroupEditor","objectFilter","objectFilterKey","objectWrapperHeight","objectHeight","objectsAreUnfiltered","objectsToDisplay","filteredObjects","lowerCaseObjectFilter","objects","isFocussed","AttributeInputInserter","caretPosition","canInsertAttributes","attributePopoverIsShown","showAttributeSelector","formClasses","selectorClasses","selectorIsOpenClass","combinedSelectorClasses","errorClass","combinedFormClasses","storeCaretPosition","attributeData","addAttributeAndFocus","_form","_checkbox","_divider","_hint","_input","_item","_label","_radioButton","_radioGroup","_sectionDescription","_sectionHeading","_textarea","GcmKeyComponent","notEditing","gcmActive","savedKey","showTable","gcmKey","isEmptyGcmKey","hasGcmKey","updateGcmKey","edit","enablePush","saveGcmKey","deleteGcmKey","GoogleRecaptchaComponent","onLoadCallbackName","renderRecaptcha","recaptchaSiteKey","grecaptcha","sitekey","badge","badgePosition","googleTagManagerService","_postMessageToGoogleTagManager","frame","messageId","postMessage","_graphEditor","_boundsArea","_controls","_panningToggle","_refocusNodes","_zoomButton","_zoomPercentage","_edge","_clickPoint","_draggableConnector","_yieldLocation","_node","_connectionPoint","_draggableArea","_inserter","_successorInserter","_yieldArea","styledForModal","openImportWindow","_openCenteredWindow","waitForChildWindow","reloadUserList","shouldTransitionToSummary","hasSettingsPermission","publish","childWindow","importSuccessful","openCsvImportInNewWindow","openMailchimpImportInNewWindow","openMixpanelImportInNewWindow","primarySection","toolbarHeading","showInboxUpgradeBanner","SCREENSHOT_URLS","SCREENSHOT_2X_URLS","PRODUCT_FEATURE_CTAS","PRODUCT_FEATURE_LOCATIONS","messagesProductId","productFeatureCta","productFeatureLocation","isPlatform","isArticles","screenshotUrl","srcsetValue","goToFeature","getRouter","imgSrc","imgSrc2x","videoSrc","onImageClick","isFullWidth","horizontal","tight","VideoThumbnailMixin","buttonAction","VIDEO_DATA","videos","tutorialKey","videoId","tourId","tourRoute","videoData","productVideoSet","_ensureArticlesExist","generateExampleDataForStep","openArticlesTour","tour_id","loadStep","startAfterTransition","startTour","completeAction","processingLabel","refreshRoute","secret","noDomainsHaveErrors","domainsHaveErrors","showPingDomains","showNoDataWarning","disableToggle","checkPings","ignore_anonymous","openUserHashChecker","closeUserHashChecker","userSource","mobileSources","installOptions","mobileSourceKeys","appOrSdkApp","isNotMobile","identityVerified","onState","confirmAndToggleIdentityVerification","_confirmIdentityVerificationTask","toggleIdentityVerificationTask","_identityVerificationWithoutPingsConfirmationOptions","_identityVerificationWithErrorsConfirmationOptions","originalState","newState","_updateWebIdentityVerification","_updateMobileIdentityVerification","_notifyUpdateIdentityVerificationResult","_trackIdentityVerificationToggleEvent","enabled","stateString","secondaryButtonType","invertButtonTypes","iconUrls","cordova","javascript","single_page","rails","shopify","wordpress","mailchimp-sync","facebook","twitter","iconURL","isIntegration","isSegment","onChangeHMACGenerator","apiSecrets","multipleApiSecrets","codeOptions","segmentCodeOptions","languageIsOther","userHashBasedOn","isUserHashBasedOnEmail","isUserHashBasedOnUserId","changeHash","secretKeys","setSdkApp","SdkApp","findOrCreateForPlatform","completeTask","androidSdkApp","iosSdkApp","setSdkApps","iOSSdkApp","exampleIsSwift","identificationHMACGenerator","changeHMACGenerator","analyticsId","showAllOptions","showlimitedOptions","showSourceInstalled","showExistingSources","userSources","userSourceKeys","userSourceInstalled","webMobileThirdPartyUserSources","displayWebSources","displayMobileSources","displayThirdPartySources","webOptions","INSTALL_OPTIONS","mobileOptions","thirdPartyOptions","webSources","thirdPartySources","userSourceComponentName","chooseUserSource","chooseUserSourceAction","verifyUserSource","layout","_headLayout","_headTag","_headTags","_heading","HelpGuide","HtmlEditorTextarea","HtmlEditor","_icAttributeItemWithUserEvent","_icAvatarComponent","_icBanner","_icButtonList","_icButton","_icCardSection","_icCard","_icConfirmModal","_icContent","_icDatepickerNav","_icDatepicker","_icDropdownAndOpenerPair","_icDropdownGroupComponent","_icDropdownGroupItemContents","_icDropdownGroupItem","_icDropdownGroup","_icDropdownHeading","_icDropdownItem","_icDropdownOpenerContent","_icDropdownOpener","_icDropdownStandard","_icDropdown","_icEmptyState","_withDescription","_icFilterBlock","_icGoalAttributeItem","_icIfThisThenThat","_icIllustrativeIcon","ILLUSTRATIVE_ICON_LIST","ACCEPTABLE_APPEARANCES","_icLegacyTableCellButton","_icLegacyTableHeaderCell","_icLegacyTableHeader","_icLegacyTableRow","_icLegacyTable","_icLightTable","_icLoadingIndicator","_icMainContent","_icMainToolbarDescription","_icMainToolbar","_icMain","_icModalBody","_icModalContainer","_icModalFooter","_icModalHeaderHeading","_icModalHeader","_icModal","_icMultiselect","_icOnOffToggle","_icRadioButtonGroupButton","_icRadioButtonGroupIcButtonExtension","_icRadioButtonGroup","_icSelect","_icSidebarContentSection","_icSidebarContent","_icSidebarToolbar","_icSidebar","_icTabControlTab","_icTabControl","_icTableActionButton","_icTableActionCell","_icTableActions","_icTableCell","_icTableColumn","_icTableRow","_icTableSkeletonCell","_icTableSkeleton","_icTable","_icTooltipIcon","_icTooltip","IframePreviewComponent","$iframe","MIN_IFRAME_HEIGHT","usingCustomTemplate","safeIframeContent","iframeContent","unsubscribeText","iframeIsLTEMinHeight","iframeHeight","iframeHeightStyle","mobileClassName","iframeClassNames","initPreview","cachedHeight","sanitizeContent","removeEventListener","iframeLoadFunction","addIframeHeightToDom","setSafeIframeContent","_250MS","_renderTemplate","unsubscribe_link","unsubscribe_url","DOMPurify","sanitize","WHOLE_DOCUMENT","createAndAddIframe","createIframe","calculateHeightAndAddToDom","iframeHtmlElement","afterCreateIframe","addIframeToDom","createElement","cssText","addContentToIframe","noop","srcdoc","iframeDocument","_illiquidModel","ImageEditor","ImageLoaderComponent","imageLoadingFailed","markAsLoadingFailed","ImageTextComposer","ImageTextEditor","taggableId","taggedWith","hasErrored","importType","usersOrLeads","hasNoCustomTag","currentSelection","defaultTagName","openTaggingModalFromImportSetTagComponent","importModel","notification","notificationComponent","hasRegistration","captureException","fingerprint","extra","acknowledge","didDisplay","showNotification","notification_type","notificationData","impersonationSession","Base","cardModalIsOpen","finalPaymentAttemptAt","nextPaymentAttemptAt","nextAttemptAt","updatePaymentCard","load","refreshCustomer","addedTag","customAttributes","rowCount","previewRowCount","columnsExceedingMaxLength","rowsLeftCount","anyOpen","noneOpen","originalLeft","originalTop","currentAttributeMapping","shouldNotifyLengthWarning","isPredefinedAttributeMapping","hasRows","attributeIcon","normalizeAttributeNameWithType","newType","oldType","isSettingCustomAttribute","attributeName","columnNumber","hasHeader","headerRow","bodyRows","attributeMapping","columnIndex","isMapped","isNotMapped","attributeTypes","selectedAttributeType","attributeNameAndAttributeTypeAreValid","attributeNameAndAttributeTypeAreInvalid","attributeNameIsValid","selectedAttributeTypeIsValid","numberOfPredefinedAttributes","attributeTypeMapping","_attributeToRow","matchingCustomAttributes","isAttributeTypeDisabled","disabledAttributeSelection","otherCustomAttributes","ignoredList","hasMatching","alreadyUsedAttributes","startIndex","customAttributeGroups","$column","viewportCenterLeft","viewportCenterTop","columnLeft","columnTop","columnWidthOffset","columnHeightOffset","bindKeyListeners","columnClass","resetCustomAttribute","unbindKeyListeners","setAttributeMapping","errorText","removeErrorState","setSelectedAttributeType","attributeTypeValue","changedCustomAttribute","additionalInstructions","fileMimeType","fileSizeLimitInMegabytes","uploadErrorMessage","fileHasInvalidExtensionErrorMessage","optionClass","noFile","previewURL","fileFailedToUpload","fileIsValid","fileIsTooLargeErrorMessage","fileSizeLimitInBytes","fileHasInvalidExtension","fileExtensions","dragEnter","dragOver","dragLeave","_setFile","pickFile","recordType","recordTypeIsUsers","recordTypeIsLeads","currentCoords","isFirst","setCoordinatesForRow","groupIndex","coords","_maybeSetValueToFirstItem","shouldSelectFirstItemOnCreate","_createMappedValueForItem","$dropdown","$titleBox","dropdownHeight","dropdownMinHeight","dropdownMaxHeight","dropdownWidth","dropdownMinWidth","dropdownMaxWidth","shouldClear","shouldClearObserver","setSelectedOption","_25MS","rowCoords","goToTagView","fromSummaryPage","shouldShowRemainingErrors","step1Active","step2Active","step3Active","currentStep","mixpanelApiKey","mixpanelApiSecret","hasEnteredApiKey","hasEnteredApiSecret","hasEnteredCredentials","hasNotEnteredCredentials","mixpanelError","isCheckingCredentials","cannotFinish","checkCredentials","mixpanelResponse","apiKey","apiSecret","mixpanel_import_id","nextStep","CsvFileUploadComponent","ZendeskChatImportComponent","OAuthProviders","zendesk_chat","_trackPageView","ImportComponent","zendesk_tickets","subdomain","securityAppSettingsService","emailContentDisabled","emailContentSettingsDisabled","canSetEmailNotificationContent","inputError","addParticipantButtonDisabled","tooltipForLeads","tooltipForUnidentifiedUsers","tooltipForCannotAddMoreThan50Customers","tooltipForEmailContentDisabled","disabledToolTipText","addParticipantTask","hidePopover","dataForAnalyticsEvent","addParticipant","STORAGE_KEY","sourceOptions","selectedSourceValue","selectedSourceOption","computedDropdownStyle","storedSourceValue","_selectSourceOption","sourceOptionValue","assignNextConversationTask","selectSourceOption","mediumWidth","wideWidth","isMediumHeader","isWideHeader","shouldShowSnoozeAction","hasInboxProductAndAccess","showAssignment","showTags","showPriorityAction","canShowSla","showSla","onWindowResize","maybeCollapse","downloadTranscript","_formForDownload","postNewTab","removeSlaTask","removeParticipantFromConversation","removeParticipant","closeConversation","reopenConversation","snoozeConversation","until","customSnoozeConversation","unsnoozeConversation","toggleConversationPriority","not_priority","showAddParticipant","showRemoveParticipant","pageviewKey","notDismissed","shouldShow","delayedOpen","_dismissFeaturePointer","setUpEvents","tearDownEvents","_openPointerIfNecessary","conversationRatingSettings","ConversationRatingSettings","pageKey","closeAndDismiss","data-test-inbox-sidebar-app-inserter","itemsOverflowAppInserter","deleteNotifications","inserterSectionsNotInSidebar","inserterSectionSortKey","renamedSectionsNotInSidebar","sectionsNotInSidebar","lowerCasedSectionName","addSection","isApp","is_app","section_name","section_id","uniqueIdentifier","exploreAppStore","InboxConversationSidebarCardInserter","editVisibilityMode","companies","CompanySegments","userCompanies","loadSegments","openModalFromCompanyTags","controller","navigateToVisibilitySettings","eventSummariesSortKey","allEventSummaries","sortedEventSummaries","visibleEventSummaries","_findOrCreateEventSummaries","hiddenEventSummaries","hasAdminVisibleEventSummaries","eventSet","eventSummaries","eventSummary","_createDefaultSummary","replacedName","isOnUserRoute","userRoute","crm_profiles","profile","canUseMarketoExternalProfile","hasSalesforceInboxApp","hasHubSpotInboxApp","loadHasCrmInboxApps","sidebarSectionsList","activeProfiles","filteredProfiles","showQualificationAttributeList","firstLoad","fetchEventStream","showInitSpinner","isFetchingActivities","hasActivities","numberToDisplay","visibleEvents","eventItems","canShowMore","isLoadMoreVisible","isShowLessVisible","timeline_type","followed_user_events","aggregate","profileType","intercom_user_id","shouldUseNewEventPipeline","beforeDate","timestampEventId","queryOptions","timestamp_event_id","ActivityFeedItem","getFeedItems","loadLess","recentPageViews","shownPageViews","shouldShowLoadMore","shouldShowLess","showLess","showMore","isLoadingSegmentsDone","showErrorMessage","ProductVariant","display_name","image_src","sku","variant_id","SearchSuggestion","productVariant","productHash","fromHash","LineItem","quantity","OrderDiscount","reason","currencySymbol","_descriptor11","_descriptor12","_descriptor13","toFixed","OrderShipping","_descriptor14","_descriptor15","_descriptor16","_descriptor17","Order","searchSuggestion","lineItem","lineItems","incrementQuantity","fromProductVariant","discount","discount_reason","discount_type","shipping","shipping_price","shipping_title","CreateOrderModal","_descriptor21","_descriptor22","_descriptor23","_descriptor24","_descriptor25","_descriptor26","_descriptor27","_descriptor28","_descriptor29","_descriptor30","_descriptor31","_descriptor32","_descriptor33","resetAllModalData","productSearchQuery","lastDraftOrderReponse","discountTypeInputValue","discountReasonInputValue","discountAmountInputValue","shippingRateTypeInputValue","customShippingRateNameInputValue","customShippingRateAmountInputValue","searchShopifyForProductTask","createOrUpdateDraftOrderTask","onSearchSuggestionSelected","onOrderUpdated","productResponse","fromProduct","endpoint","customer_id","shopifyCustomerId","line_items","toLineItemsParams","paid","toDiscountParams","toShippingParams","notifyConfirmationWithModelAndPartial","default_notification_timeout","asPaid","draft_order_id","fetchShopifyDataTask","lastProductSearchQuery","Shopify","checkAccessScope","shopifyCustomer","shopifyError","shopifyEmailOrOrderName","_order","isValidOrderName","emailIsValid","shopifyResponse","orders","customer_orders","shopifyCustomerOrdersUrl","all_customer_orders_url","accessScopeResponse","shouldRequestMoreScopes","should_request_more_scopes","openTaggingModalFromVisibilityComponent","lookupAdminByEmail","userEmail","lookupAdminEmail","afterVisibilitySettingsDoneClicked","updateLocalCache","ConversationAttributes","attributeDescriptors","failedToLoad","brandName","canSeeConversationalInsights","canSeeConversationalInsightsInInbox","conversationAttributes","loadAttributeDescriptors","attributesWithValue","AttributeRow","attributeValue","cleanupRow","exisitingValue","attributeKey","isNew","isValueValid","normalizeValue","_this$attributeValue","formatValue","Decimal","Integer","List","listOptions","SortableGroup","dimension","ay1","ah","by1","bh","volatile","EditableAttribute","userUpdaterService","data-test-section-editable-name","_updateDisplayName","mainParticipant","currentAttributeValue","person","updateLeadName","completeEditing","updateAttributeValue","showGroupConversationTab","expandedContentVisibility","SIDEBAR_EXPANDED_CONTENT_VISIBILITY","expandedContent","expandedContentWithHiddenLabel","expandedWithHiddenLabel","showExpandedContent","toggleVisibility","afterDoneClicked","hideExpandedContent","showExpandedContentWithoutLabel","toggleExpandedContentVisibility","data-test-inbox-sidebar-section-title","usesNonePadding","data-test-inbox-sidebar","compactPadding","displayedSections","allSectionsForWorkspace","currentCardIdentifiers","loadAllSidebarSectionsForWorkspace","sidebarViewId","inEditMode","listTransition","insertedSprites","keptSprites","removedSprites","move","fadeIn","fadeOut","handleDragStart","handleDragStop","updateSectionOrder","newSectionOrder","draggedSection","removeSection","InboxConversationSidebarUserDetailsTitleDropdown","_manageSubscription","_this$args$user","fetchExistingViews","existingViews","newViewModalOpen","newViewName","selectedView","canCreateShareViews","selectViews","sharedViews","changeSelection","selectedViewId","setSidebarViewId","reloadSidebar","sidebar_view_id","openNewViewModal","createView","viewName","CreateSavedReplyModal","savedReplyComposer","isNameLengthValid","focusTitle","CONVERSATION_STATUS_DESCRIPTORS","unread","inboxService","trackViewedFirstImpressionEmptyState","allInboxesAreEmpty","inboxes","determinantCount","showEmptyState","hasConversations","emptyStateText","noConversationsText","isFilteredByOpenedConversations","isAllMentions","isUnassignedOrAllInbox","conversationStatusDescriptor","emptyInboxTitle","emptyMentionsInboxTitle","emptyMentionsInboxDescription","emptyUnassignedAndAllInboxTitle","inboxEmail","has_conversations","trackAnalyticsFirstImpression","inbox_type","_inboxType","transitionToUnassigned","isEvent","iconClass","relativeDateTime","momentTime","timestamp","_relativeTime","displayedName","hasMetadata","toggleExpand","data-test-single-conversation-fake-inbox-list-view","cardHeight","dropdownInboxes","_mapInboxToDropdownItem","participantsInBar","avatarWidthWithMargins","dropdownOpenerWidth","_canFitAllAvatars","_numberOfAvatarsThatFitWithDropdown","_includeCurrentActiveUserInParticipantsInBarIfNeeded","currentActiveParticipantId","participantsInDropdown","setDiff","participantsInDropdownGroupList","dropdownLabel","fmt","_setWidth","containerSize","numberOfParticipants","dropdownSize","currentActiveUser","toggleActiveParticipant","number_of_participants","data-test-inbox-access-banner","adminCanAccessSettings","buttonClicked","data-test-conversation-inbox-list-view","somethingSelected","allConversationsSelected","inboxConvos","selectedConversations","showCheckboxes","formattedSelectedCount","truncatedNumberFormatter","canBulkReassign","showingOpened","isCurrentAdminInbox","headerForCurrentAdminInbox","conversationListHeader","isWide","isVeryNarrow","hideAssignCount","showNoPrioritisedConversationsBanner","showNoSlaConversationsBanner","showNoSortableConversationsBanner","noSortableConversationsBannerText","workloadManagementSettings","capacity","teamsSettings","onlineAdmins","workloadManagementEnabled","getWorkloadManagementSettings","setWidthAfterNavbarCollapsedTransition","inboxIdentifier","inbox_admin_id","statusTitle","statusDropdownTitle","spinnerOrErrorTop","spinnerOrErrorStyle","conversationsWithKey","doBulkAction","addBulkActionParts","bulkAction","_internalModel","adapterWillCommit","adapterDidCommit","notifyBulkActionSuccessMessage","_bulkCloseAnalytics","_bulkActionAnalytics","removeBulkActionParts","_displayUndoCloseNotification","reopenConversationsTask","conversations_selected","addPart","removePart","partRemovedFromConversation","capacityLimit","settingsById","teamSettings","setStatus","selectConversation","retain","deselectConversation","release","handleMultiSelect","addObjects","bulkAssign","bulkReopen","bulkClose","FilteredObjectList","scrollPosition","checkScroll","offsetOfInboxList","$navViewport","data-test-inbox-of-love-component","preventClosingClass","hasRatingsToShow","unseenLove","ratingUserHasCompany","loadRatingsTask","_preventClosing","_handlePositiveRatingAdded","payloadForStore","conversation-ratings","ratings","shiftObject","_afterOpeningInboxOfLove","markAsSeen","conversationRating","shouldShowConfetti","CreateModal","twemojiCompatibleEmoji","getSupportedTwemoji","avatarEmoji","inboxViews","inboxView","avatar_emoji","loadInboxes","AVAILABLE_EMOJI","hasEditablePredicates","_randomEmoji","DeleteModal","PredicatesEditor","nonCustomConversationAttributes","_this2$paywall","_this2$paywall2","_this2$paywall3","openUpgradeModal","analyticsEventData","attributesUsed","Predicate","walkPredicates","usedArchivedConversationCustomAttributes","archivedConversationCustomAttributes","nonArchivedConversationCustomAttributes","UpdateModal","_normalizedPredicateGroup","_this$inboxService$in","other_admins_with_view_visible_count","withoutCount","modifierKey","altKey","adminAdvancedShortcutsEnabled","adminHasEnabledCSComponent","toggleAdvancedShortcuts","setState","toggleCSComponent","ListItemCardComponent","checkboxUp","Event","companiesActive","hasDisplayableCompany","other_participant_count","_this$args$inbox","isMentionsInbox","isHovered","isInSingleView","_this$args$inbox2","isSortingByWaitTime","computedWaitingSince","last_part_where_current_admin_is_mentioned","has_unread_mentions","adminHasNotRead","inMentionsInboxAndUnread","notMentionsInboxAndUnreadForAdmin","ListItemComponent","checkboxChanged","isTransitioned","isNotMentionsInbox","transitionedConversations","conversationList","transitionInfo","transitionInformation","hasValue","isUrl","isPotentialUrl","dateValue","NavLinkComponent","activeInbox","baseClasses","activeClass","canShowAvatar","avatarClass","hideZeroCounters","hideOpenCountInNavs","_this$args$inbox3","isTeamInbox","isInboxView","_this$args$inbox4","_this$args$inbox5","_this$args$inbox6","isAllInbox","isUnassignedInbox","_this$args$inbox7","_this$args$inbox8","_this$args$inbox9","avatarObject","needsIconToBeSet","_this$args$inbox10","_this$args$inbox11","isMeInbox","inVerticalNav","inDropdown","_this$args$inbox12","_this$args$teamSettin","isBlocking","isEveryOnlineAdminAtCapacity","volumeControlEnabled","_this$args$teamSettin2","distributionMethod","membersInboxes","_this3$args$onlineAdm","_this$args$inbox13","_this$args$inbox14","_this$args$inbox15","_this$args$inbox16","_this$args$inbox17","currentAdminBelongsToTeam","_this$args$inbox18","_this$args$inbox19","_this$args$inbox20","isManagingVisibility","isInboxVisible","inboxViewId","PaginationComponent","autoPaginateIfAppropriate","contentHeight","hasWatermarkChanged","watermark","_getItemIds","setWatermark","clearErrors","data-test-introducing-seats-modal","pricePerSeat","_currencyFormatter","hasOneAdminWithAccess","hasOneAdminWithoutAccess","hasNotDismissedModal","autoSeatAssignmentDone","hasNotManuallyAssignedSeat","hasNotActivatedBilling","notFallbackAdminsAssigned","notAllAdminsHaveSeats","addSeatsReviewedCDA","onManageSeatsClick","MIGRATION_MODAL_PAGEVIEW_KEY","PullConversation","SORTABLE_ATTRIBUTES","bootOptionsService","hasNoRatings","linksEnabled","_ratings","_currentPage","_pageSize","hasRenderedLastPage","restartRatingsTask","filteringBy","teammateIds","conversationTagIds","custom_attributes","reportingFilters","nestedFilters","range_start","range_end","rating_index","teammate_id","admin_ids","conversation_tag_ids","_objectWithoutProperties","reporting_filters","_nestedFieldFilters","buildNestedFieldFilters","nested_filters","nextPageTask","ratingFilterItems","PredicateFilterMap","last_conversation_rating_given","ratingItems","sortingBy","notSorting","sortAscending","sortedRatings","ConversationsSideDrawer","fetchConversationIds","haveFetchedConversationIds","triggerAnalyticsEvent","currentFilterCount","globalFilters","filtersIncludeTeammates","sorting_field","conversation.id","generic_filters","exists_fields","list_filters","hideBanner","idsDontMatchChartCount","conversationsChartCount","maxResults","allColumns","cols","filteredByAdmin","formatRow","time_diff","owner_id","opportunity_closed_at","opportunity_created_at","setUpRows","merged","formattedRows","_multiSignalParsing","_resolveAllPromises","resolved","topPages","hasAdditionalSelections","additionalSelectionOptions","opportunity_name","additionalRows","ResponsivenessHeatmapComponent","viewConfig","ViewConfig","defaultOption","MEDIAN","groupings","GROUPINGS","COMMENT_CREATED_AT_DAY_OF_WEEK","formatUnit","unit","units","displayUnit","yAxis","property","xAxis","series","_officeHoursField","officeHoursField","TEAMMATE_RESPONSE_TIME","excludeOooHours","CONVERSATION_CREATED_AT","FILTER_PROPERTY_PLACEHOLDER","createHitRate","_ref2$targets","targets","_ref2$misses","misses","firstReplyHitRate","firstReplyTargets","firstReplyMisses","nextReplyHitRate","nextReplyTargets","nextReplyMisses","ReportingTooltip","columnDefinitions","loadStats","setAdminProperties","entry","filtered","identified","messageIds","Message","getTitles","titles","findVAM","topPerformers","InboxRules","headerText","ruleRecordType","billingFeatureName","defaultAssigneeId","messagingSettings","canChangeDefaultAssignee","_createNewRule","rule","updateDefaultAssignee","showPermissionsRequestModal","rules","hasRules","atLeastOneRuleIsExpanded","numberOfRules","ruleNumberLimit","routing_rules_max","hasReachedRuleNumberLimit","shouldDisableCreateRuleButton","createdByAdminId","updatedByAdminId","createNewRuleOrPromptUpgrade","reorderRules","newRuleOrder","draggedRule","updateOrder","data-test-predicates-list-summary","logicalOperator","isNewStyleOrGrouping","isOrGrouping","displayablePredicates","_getDisplayablePredicate","filterMap","_getDisplayableAttribute","messageAttribute","AssignmentRulesMessageAttributes","_getDisplayableMessagePredicate","FiltersToText","getComparator","_getDisplayableAttributeValue","valueTemplate","browserLocale","RuleCardHeader","isReorderable","hasDirtyRuleActions","ruleHasChanged","DISCARD_CHANGES_OPTIONS","DELETE_ITEM_OPTIONS","_setupEvents","allowedRuleConditionalAttributes","allowedRuleActions","notificationStateText","errorNotificationText","deleteNotificationText","stateText","isCreate","toggleExpandState","_recordEvent","isExpandable","isNotExpandable","isNotCollapsible","_saveRule","toggleStateOnFailure","recordAnalytics","defaultNotification","_deleteRule","_showDialogIfRequired","condition","_showNewRuleDirtyDialog","_showEditedRuleDirtyDialog","_handleHeaderWasClicked","_handleContentWasClicked","_clickedElementShouldNotToggleIsExpanded","inListThatContainsAnExpandedRuleCard","app_id_code","rule_id","rule_name","buildMetaDataForAnalytics","saveAndSetLive","toggleStateAndSave","scrollParent","createAndScrollToRule","createRule","inputs","lastInputField","conversationSla","conversationSlas","conversationSlaId","officeHoursSchedule","officeHoursSchedules","officeHoursScheduleId","tagNames","tagRuleActions","searchSuggestionsService","SearchQuery","suggestionsQuery","getTagSuggestions","getUserSuggestions","getAssigneeSuggestions","getTeammateAssigneeSuggestions","getTeamAssigneeSuggestions","getDateSuggestions","_currentTextFilterWords","currentTextFilter","_triggerSearch","dropdownListItems","startStateDropdownItems","scatterStateDropdownItems","focusStateDropdownItems","filterTypeListItems","DropdownLabel","filterTypeLabels","validFilterTypes","filterType","DropdownFilterType","onClickAction","setCurrentFocusState","DropdownKeywordPrompt","triggerSearch","suggestionListItems","validSuggestionTypes","suggestionType","suggestionTask","formatSuggestionTypeLabel","DropdownLoadingSpinner","DropdownSuggestion","addFilter","focusedStateType","DropdownNoMatchForType","resetHighlightedItem","scrollLeft","removeFilter","focusOn","focusOff","InboxSeatWallComponent","settingsRoute","RelativeDatetime","nextBreachTime","relativeTimestamp","_relativeTimestamp","showLongFormatTimeTarget","nextBreachTimeDiffNow","showMediumFormatTimeTarget","loadConversationSla","formattedReplyToday","conversationNextBreachTime","formattedReply","removeSla","timeOptions","firstReplyTimeInSeconds","nextReplyTimeInSeconds","selectedScheduleId","dropdownSchedules","labelWithTimezone","appHasMoreThanOneOfficeHours","trimmedSlaName","slaName","emptyName","duplicatedName","invalidName","unspecifiedFirstReplyTimeInSeconds","unspecifiedNextReplyTimeInSeconds","unspecificiedResponseTimes","saveButtonDisabled","createNewSlaAndCloseModal","sla","onSlaCreated","closeCreateNewSlaModal","setSubcontentPosition","snoozeConversationAndCloseDropdown","isOpenStatus","isClosedStatus","isSearch","isNotSearch","isNotClosedStatus","shouldShowSortByWaiting","notMentionsInbox","shouldShowSortByPriority","shouldShowSortByNextBreachTime","sortOptions","sortDirection","defaultSortKey","activeSortOption","activeSortKey","activeSortDirection","sortOption","activeSortOptionLabel","labelWords","exception","sort_options","respond_service_sort_key","respond_service_sort_direction","recordMetrics","inboxContext","currentSortKey","currentDirection","isOnAssignmentRulesRoute","inboxAssignmentRules","isOnPriorityRulesRoute","inboxPriorityRules","isOnSlaRulesRoute","inboxSlaRules","isOnTagRulesRoute","inboxTagRules","isOnWorkloadManagementRoute","workloadManagement","isOnWorkflowsRoute","workflows","isOnAnyRulesRoute","isOnInboxPreferencesRoute","inboxPreferencesRoute","isOnReportingRoute","respondReporting","isOnGuideRoute","respondGuide","respondAbout","showAllInboxes","showAllViews","canAccessInbox","defaultToWorkflowsRoute","canSeeWorkflowsOptIn","shouldHideInboxRules","canUseWorkflows","canUseTagRules","canUseInboxRules","selectTeamMemberInbox","openTeamSettingsPage","classHash","allTeamMembers","onlyOneMember","adminsCountClass","notDefaultAvatar","buildClassNames","member","imagePresent","initial","ImpersonationRequest","AdminObjectVisibility","userPresenceService","userIsLoaded","adminImpersonationPermissionStatus","adminImpersonationPermissionNotRequested","adminImpersonationDefaultReason","cityNameAttribute","countryNameAttribute","getUserAndRefreshCache","updateUserPresenceForUser","syncParticipantStatusWithUser","_openAppAdminPage","userRecentCompanyId","impersonateUser","_submitImpersonationRequestForAdmin","_checkImpersonationConsent","defaultReason","impersonationConsentExists","alert","groupConvversationOnCDA","activeParticipantId","_warnIfHasUnsavedChanges","isAborted","abort","loadAdminAppSidebarSettings","_scrollToTop","wrapper","sectionsListFromAdminAppSidebarSections","showNotificationTooltip","responsible-team","saveAdminAppSidebarSettings","_dismissInboxAppInstallNotificationTooltip","_dismissInboxAppInstallNotifications","_deleteSidebarView","sidebarView","saveSidebarSectionsListAndExitEditMode","dismissNotificationTooltip","turnOnEditMode","deleteSidebarView","URL_REGEXES","ADMIN_URLS","BILLING_URLS","URL_IDENTIFIERS","DOM_SELECTORS","CS_TAGS_FOR_ALERTS","listOfCompanies","appPage","billingPage","listOfCompaniesForDropdown","selectedCompanyId","isInAnyCompany","onlyInOneCompany","selectedCompany","conversationPlaceholder","csTagsToDisplay","passTemplates","perfectPass","salesToCS","githubIssueText","currentUser","recentCompany","_triggerCopyToClipboard","_updateClipboardForGithubButton","displayStatusMessage","contentToCopy","$ghIssueButtonObj","_returnNumericValue","str","_removeVersionNumber","_removeAppID","_answerBotRegexCheck","output","_campaignRegexCheck","_messagesRegexCheck","_customBotRegexCheck","_conversationsRegexCheck","_articlesRegexCheck","lookupCSLink","outputID","outputURL","lookupLink","lookupValue","_openNewWindowToAdminPage","_changeSelectedCompany","companyId","triggerLookupCSLink","changeSelectedCompany","openWorkspaceAdminPage","_url","openWorkspaceBillingPage","AttributeList","teamMembersIds","memberId","sortedMembersInboxes","indexOfSelectedInbox","inboxesToDisplay","selectedInboxId","scrollDistance","meInbox","unassignedInbox","mentionsInbox","allInbox","hiddenInboxViews","managingInboxVisibility","hiddenInboxes","canUseInboxViews","showInbox","addInboxViewIdToAdminsVisibleInboxViewIds","addAssigneeIdToAdminsVisibleAssigneeIds","hideInbox","removeInboxViewIdFromAdminsVisibleInboxViewIds","removeAssigneeIdFromAdminsVisibleAssigneeIds","inboxesUpdated","toggleInboxVisibilityManagement","toggleShowAllInboxes","toggleInboxVisibility","reorderItems","itemModels","draggedModel","updateVisibleSidebarItems","validCapacityLimit","notificationText","setting","teamSetting","sortedSettings","ts","canDiscard","team-setting","updateVolumeControlSetting","teamName","closeAction","setupClassNames","noFallback","attributesAreVisible","templatableAttributes","eventAttributes","processedEventAttributes","itemData","_duplicateEventAttribute","shownStateChanged","bodyClicked","itemToDuplicate","HighChartsComponent","tooltipVisibility","chartData","chartOptions","chartColors","chartHoverColors","renderTo","chart","chartDataIsLoading","showIntervalInTitle","chartOffsetLeft","chartOffsetTop","useInteractiveTooltip","interactiveTooltipSelector","dataIsLoadingObserver","showLoading","hideLoading","updateSeries","setData","borderColor","hover","addSeries","setupInteractiveTooltip","plotOptions","events","mouseOver","cancelHideTimer","mouseOut","startHideTimer","interactiveFormatter","positioner","labelWidth","labelHeight","point","interactivePositioner","setupTooltipHoverHandlers","teardownTooltipHoverHandlers","isOverTooltip","tooltipFormatter","highcharts","containerPosition","tooltipTargetX","plotX","plotLeft","tooltipTargetY","plotY","plotTop","hideTimer","setTooltipPosition","_setTooltipPosition","tooltipOffset","$tooltip","tooltipWidth","tooltipHeight","tooltipX","tooltipRight","viewPortWidth","tooltipY","offsetCaret","tooltipIsVisible","tooltipStyle","appendTo","Highcharts","Chart","date1","date2","date3","isSlowLoad","slowThreshold","data-test-loading-component","markAsSlow","showExpandedSection","numberOfRows","spamStatsToShow","spamStats","totalUsersCount","extraUsersCount","hasExtraUsers","toggleShowExpandedSection","dummyRows","statValue","isInSortedColumn","parseSortingFloat","parsed","Infinity","canSortByTitleAndAdmin","isSortingDescending","dummyContent","sortedStats","sortPath","lexicalFields","aValue","bValue","globalStat","statsExcludingGlobal","canSortBy","sort_by","disallowSorting","isSortingByStat","baseCustomDataSnippetComponent","latestDate","cda1","cda2","latestCdaList","latestCdas","_convertCdasToCode","previousCdaList","previousCdas","_languageValue","_formatType","singlePage","objectivec","swift","unindent","indent","re","stripHTMLComments","lineCount","onCopyCode","copyCodeButton","$content","$currentView","$hiddenView","$hiddenViewSubview","highlightedCode","hljs","highlight","highlightAuto","codeCopied","rerenderOnChange","inline","highlightLanguage","userIdentifier","segmentExamples","userHash","django","php","selectedExample","installationIsAnonymous","maybeComma","monthlySpend","upgradedAt","hasPurchased","customDomain","unknown","unknownHmacMethodPlaceholderText","installationHasIdentityVerified","installationHasIdentityVerifiedByUserID","installationIsSinglePageApp","appApiSecret","unknownExampleKey","identifierVerifiedBy","userID","installationHasIdentityVerifiedAndExampleIsDjango","exampleIsDjango","exampleKeyForLanguage","languageHasExample","exampleKeys","leftAlign","isStartScreen","conversation_part_id","BaseConversationPartsQuickActionItem","createGithubIssue","res","issue_url","BaseConversationPartsDropdownItem","notificationDuration","taskUserName","notifyErrorWithButton","redirectToSalesforceSettings","salesforce_object_type","createSalesforceTask","closeOnScroll","isFadingOut","isNotFadingOut","performScrollFadeOut","translateOffsetX","translateOffsetY","setupScrollListener","_calculateScrollPosition","teardownScrollListener","onOpenStateChange","$selectBox","selectBoxSelector","selectBoundingRect","leftAlignedLocation","rightAlignedLocation","rightAligned","toggleOpenState","SelectKeyboardActions","lightInvisibleSelect","selection","flipCaret","shouldFlipCaretAndIsOpen","isUsingSelection","handleSelectionExternally","optionValuePath","setSelection","optionIconPath","optionDescriptionPath","optionTooltipPath","optionLabelPath","isInvisibleSelect","setDefaultValue","_mappedValue","_mappedContent","_handleSelection","intersectionMode","trackIntersectionEvent","handlePostMessage","INCORRECT_ORIGIN","urlForTourBuilder","waitForMessenger","openTourPreview","openTourSplashScreen","openTourBuilder","targetUrl","openSettingsInDifferentWindow","_keyboardPress","LabeledInput","popoverPosition","isPopoverAbove","isPopoverBelow","styleWhenOpen","styleWhenClosed","pendingUpdate","_handleMouseClickEvent","_handleEscapeKeyPressed","setUpAdditionalEvents","tearDownAdditionalEvents","_updatePopoverPosition","parentElementId","leftStyle","topStyle","nullStyle","leftStyleIfPresent","topStyleIfPresent","caretStyle","focusOnInput","$openerElement","openerElement","pointerPositioner","getPosition","topPosition","leftPosition","horizontalOffset","verticalOffset","openerIsVisible","_dismiss","_isMouseClickOutsidePopover","_isMouseClickNotOpenerElement","onDismiss","$container","$opener","maxSize","remaining","isOver","observes","_linkWithIconPattern","_liquidBind","_liquidChild","_liquidContainer","_liquidIf","_liquidMeasured","measure","_liquidOutlet","_liquidSpacer","_liquidSync","_liquidUnless","_liquidVersions","selectedListIdDidChange","selectedListID","onSelectedListChanged","baseTexts","followUp","isBootedInPublicPage","chosenText","objectAtProperty","initialText","waitTimeHasElapsed","removeElement","AvatarAndMapSearch","mapContainerId","elementID","profileMapIdentifier","userListMapIdentifier","mapBoxIdentifier","initialCenterPoint","initialExtents","clusterOptions","showCoverageOnHover","maxClusterRadius","mapOptions","minZoom","worldCopyJump","layerOptions","detectRetina","L","getScript","initializeMap","numberOfUserCountries","xhr","default_avatar_url","_render","iconSize","popupContent","geoip_data","latitude","longitude","divIcon","bindPopup","mappableUsers","userHasLatitudeAndLongtitude","addUsers","markers","addLayers","addLayer","extractUniqueUserCountries","setMapBackground","mapbox","fitBounds","setView","tileLayer","MarkerClusterGroup","addNewUniqueCountriesToCountrySet","countrySet","uniqueUserCountries","avatarAndMapSearch","gtmService","emailInput","submittedEmptyEmail","isSmall","inputClass","submitSignUp","emailSubmissionID","scheme","tld","recordEmailSubmission","MARKETO_FORM_IDS","trialSignupStart","visitor_id","ROLE_VALUE","lead","visitor","_initPredicates","userPredicate","_initRolePredicateGroup","_initPredicateGroup","_this$rolePredicateGr","_createRolePredicateGroup","userRoles","userRole","_validAttributeList","isLogicalType","_isValid","onUpdateRolePredicates","onUpdatePredicates","switchUserType","_removeInvalidPredicates","targetingVisitorsOnly","visitorMessagingAttributesNoPageTargetting","filterableUserAttributesForMessaging","filterableCompanyAttributesForMessaging","showSeriesContentEvents","attributeGroupListForContentEvents","userTypes","identifierToReasonMapping","contentEventsDisabled","PAGE_TARGETING_PREDICATE","pageTargetPredicates","hasPageTargetPredicates","hasNoPageTargetPredicates","clientPredicatesOrPredicate","isClientPredicatesOrMode","clientPredicatesPageTargetJoinType","initPredicates","havePredicatesChanged","serializedPredicates","setClientPredicateGroup","lastPredicates","_addEmptyPageTargetingPredicate","createPredicateWithGenericType","onUpdateClientPredicates","_pageTargetPredicateAtIndex","isPageTarget","_removePageTargetingPredicate","predicateToRemove","_updatePredicate","updatePageTargetPredicate","removePageTargetPredicate","addPageTargetPredicate","ConnectionSwitcher","comparisonText","PageTargetPredicateComparisonOptions","comparator","TIME_ON_PAGE_PREDICATE","URL_PREDICATE","RulesEditor","predicatesEditor","addPredicate","hasTimeOnPagePredicate","_checkForTimeOnPagePredicate","_this$args$predicateG","_predicates$firstObje","disabledGroupPredicates","Preview","fetchAudiencePreviewTask","editablePredicates","showSpinner","isTargetingVisitorsOnly","userTypeDescription","isGoalMode","predicateDescriptionPrefix","predicateDescription","UserRoleSelector","hasOnlyOneUserRole","currentSelectionDescription","names","roleName","isMobileFirstMessage","hasPushNotification","_disableItem","updateNewlySelected","optionsToDisplay","allDropdownItems","targetUserGroup","targetUserGroups","MatchingSystemAudienceRulesEditor","MatchingSystemPreview","preconditionBlocks","_this$seriesEditorSer","hasExitRules","exitRulesBlock","isInternal","predecessorBlocks","graph","nodeForDataObject","inwardEdges","edge","dataObject","predecessor","graphConfiguration","primaryPredecessorLabel","alternativePredecessorLabel","HOURS","GridInterval","startMinute","endMinute","gridComponent","hasMatchingTimetable","timeIntervals","contentName","startDayIndex","endDayIndex","startHourIndex","endHourIndex","MatchingTimetableEditor","timetableTypes","selectedSetting","timetableType","initializeTimeIntervals","j","k","DAY_IN_MINUTES","updateGroupLabels","intervalGroups","firstIntervalOfGroup","setMatchingTimetable","customTimes","timezoneTypeForCustomTimes","timeInterval","lastSetIndex","shiftKey","updateTimetableIntervals","_this$args$ruleset$ma","insideOfficeHours","_this$args$ruleset$ma2","outsideOfficeHours","_this$args$ruleset$ma3","isCustomTimesType","defaultOfficeHoursIntervals","activeIntervals","noTimetableSetting","MediaInserterAttachFileButton","MediaInserterSelector","MediaInserter","clickedInsert","align","clickedOk","guestEmail","selectedSlot","invalidEmail","calendarPage","guestEmailIsValid","showConfirmation","timezoneDisplay","bookableSlots","hasNoBookableSlots","bookableSlotsByDate","bookSlotTask","slots","guest_email","start_time","slot_id","slotData","selectSlot","slot","bookSlot","emailEdited","back","MentionInserterComponent","highlightListItemClass","RecipientList","audiencePreview","audienceCount","completionTooltipContent","extraAttributeGroups","campaignAttributes","campaignBehaviorAttributes","attributePickerDisabledIdentifiers","groupAttributePickerDisabledIdentifiers","identifiers","bounceAndComplaintFilterUrl","filterUrlFromMessagePredicates","IMPLICIT_PREDICATES","emailUnsubscribedPredicates","emailDisengagementPredicate","toggleDisengagedUsers","EXCLUDE_DISENGAGED_USERS_PREDICATE","messageMutationService","fetchAudiencePreview","shouldFetchAudiencePreview","previewIsBeingFetched","messageHasNoAudiencePreviewYet","messageHasAudiencePreview","newPredicateGroupFromSelectionState","_createNewPredicateGroupFromSelectionState","debouncedFetchPreviewTask","testing","_extractClientPredicates","predicatesToExtract","extractedClientPredicates","predicateToExtract","_extractPredicate","clientPredicates","orTypePredicates","orPredicates","_renamePageTargetPredicate","_useClientAttributesPrefix","NewPredicateGroup","updateLegacySelectionStatePredicates","legacyPredicates","updateSelectionStatePredicates","contextMethod","getPrototypeOf","_debugContainerKey","mutations","predicatesMutation","command","MUTATIONS","performMutations","showJoinType","showIcon","prefix","_getComparison","large","discreetMode","data-test-predicate-summary","getDescription","visitorsString","audienceString","audience","word","ROLE_TO_USERTYPE_LIST_MAP","non_user","non_lead","non_visitor","everyone","showStaticEmailPredicate","invalidAttributes","userSwitcherOptions","validUserTypes","isManualMessage","selectedPeopleTypes","_convertListOfUserTypesToSingleRole","remainingUserCount","hasRemainingCount","audienceViewParam","DescriptionComponent","disabledTooltipMessage","hasMultipleVariations","hasControlGroup","messageSubclassType","setSubclassType","changeSubclassType","TitleComponent","hasCurrentMatchingUsers","openCDAToolGeneratedCodeWindow","shouldLoadAudienceOnShow","_fetchAudiencePreview","data-test-message-editor-panel-done-button","togglePanel","data-test-statistic-tab","clickDisabled","links_count","data-test-task-action","viewToShow","labelWhenABMessage","variation","labelWhenControlGroupMessage","changeVersion","_placeholders","defaultClientPredicateComparators","legacyClientPredicateComparators","hasLegacyPageTargetPredicateComparators","legacyPageTargetPredicateComparators","pageTargetPredicate","clientPredicateComparators","_setPageTargetToDefault","messageDefaults","getDefaultValues","pageTargetMutation","setValueToDefault","modelDefaults","_mutateClientPredicates","pageTarget","_getNonPageTargetPredicates","copiedSelectionState","nonPageTargetPredicates","addJSONClientPredicate","_generateClientPredicatesMutations","methodName","DEFAULT_PAGE_TARGET_PREDICATE","_updateSelectionStatePredicates","_removeAllPageTargetingPredicates","_removePageTargetPredicate","enablePageTargeting","pageTargetEnabled","disablePageTargeting","changeValue","changePredicateComparison","changeComparison","switchPredicateJoinType","joinType","newPredicates","copiedTimeOnPagePredicates","copiedPageTargetPredicates","orPredicate","ComposerUploadCheck","data-test-message-editor","isReadOnly","preset","isMobileOrIosOrAndroid","initializeSerializedBlocks","_loadBlocksAfterComposerRender","blocksAreDifferent","serializedFragments","fragment","isValidForBlocksUpdate","performBlocksUpdate","changePreviewDevice","withComposerUploadCheck","onComposerUploadStart","onComposerUploadFinish","onComposerUploadError","variationsForDeliveryPreview","variationsForDataPreview","deliveryPreviewEnabled","dataPreviewEnabled","disableDeliveryPreview","enableDeliveryPreview","toggleDataPreview","onUpdateReaction","deleteReaction","onDeleteReaction","DeviceType","appColors","shouldTemplateHaveMaxWidth","hasImageBlockWiderThanMaxWidth","EditorBase","footerVisibilityClass","_setFooterVisibilityChange","isMobilePreview","previewModeKey","templateKey","notUsingCustomEmailAddress","usingUnauthenticatedCustomEmailAddress","unsubscribeLinksGloballyHidden","unsubscribeLinkClass","unsubscribeLink","adminAvatarUrl","adminAvatar","templateInfo","admin_avatar","hide_avatar","admin_name_and_app","addressData","addressHasValue","twitterData","twitterHasValue","facebookData","facebookHasValue","isReadOnlyAnnouncementTemplate","hasFooterContent","_fetchRenderableSenderAddress","getEmailAddressForApp","emailTemplateDataInStore","emailTemplateData","widgetInfo","widgets","emailTemplateDataDidChange","updateSubject","noEmailAddresses","useSampleUserData","sampleUser","sampleUserName","sendEmail","FormWithAttributeSelector","currentSubject","renderedAttribute","createAttributeTemplate","splicedSubject","data-test-emoji-inserter-configurator","insertEmoji","leadQualificationFollowUpAction","isLeadQualificationButtonDisabled","answerBotFollowUpAction","isAnswerBotButtonDisabled","isLeadQualificationEnabled","isLeadQualificationProductFeatureDisabled","isAnswerBotEnabled","isAnswerBotProductFeatureDisabled","hasFollowUpRules","hasNoFollowUpRules","isFollowUpActionsToggleEnabled","followUpActionsForTextReply","availableActionsForAttributeCollectorReply","usedActionIdentifiers","unusedActionIdentifiers","followUpActionsForAttributeCollectorReply","lastSetFollowUpRules","toggleFollowUpActions","selectFollowUpAction","removeLeadQualificationFollowUp","removeAnswerBotFollowUp","addRuleAction","removeRuleAction","_mutateMessage","mutation","_updateHTMLBlocks","updateHTMLBlocks","fetchDebouncedPreview","CodeTextArea","previousContentObject","contentObject","_setCodeMirrorValue","_getSplicedAttribute","getCursor","splitValue","lineValue","line","ch","desktopMode","mobileMode","previewMode","generatePreviewTimer","runPreviewTask","generateHtmlPreview","setViewMode","messageStyleName","lastActiveString","appBaseColor","adminName","adminFirstName","adminFirstInitial","messageAdmin","isPointer","isPost","isVideo","isMaximized","badgePreview","snippetPreview","fullPreview","previewBadge","previewSnippet","previewFull","isReactionsReply","isTextReply","isAttributeCollectorReply","reactionsWithDisplay","nextReactionIndex","canHaveLessReactions","canHaveAdditionalReactions","enableReactionPicker","shouldShowReactionAdder","hasVideoBlock","videoFileBlock","hasVideoContent","combinedText","_generateSummary","previewContext","combinedTextHtml","replyOptions","hasReplyOptions","hideDeviceSwitcher","toursMessengerApp","shouldShowTourInserter","tourInserterContext","backgroundPatternNumber","logoURL","greetingText","aboutUsText","messengerResponseTimeKey","showWeRunOnIntercom","inboundConversationsEnabledForUsers","inboundConversationsEnabledForVisitors","launcherVisibleForUsers","launcherVisibleForVisitors","_getReactionsAfterUpdate","_getReactionsAfterDelete","copiedReactions","setLastReactions","stylesheetBody","applicationColors","data-test-team-avatars","avatarList","avatarInfo","class","multiAvatarClass","urlPresent","totalCountString","moreThanOneAdmin","lastReactions","reactionsClone","webSelected","iosSelected","androidSelected","desktopSelected","mobileSelected","titleComposer","bodyComposer","serializedTitleBlocks","serializedBodyBlocks","titleBlocks","bodyBlocks","titleBlockFragment","bodyBlockFragment","SenderAssigneeDropdown","showDynamicSender","teammatesWithLabel","teamsWithLabel","dynamicSendersWithLabel","inboxIsNotActive","predicateTargetsOwner","assignedTo","assignTo","fromAndAssignToMatchAndHaveNotBeenChanged","allTargetedUsersHaveOwners","showFallback","showSenderFallback","showAssigneeFallback","_setModelValue","_setModelValues","mutationCommands","_buildMutationCommands","_removeModelValues","removeValue","mutationAction","fullKey","_getMutationContext","_getAssigneeForNewSender","newAssigneeId","_shouldSetReplyAssignmentToSender","_shouldSetReplyAssignmentToUnassigned","_hasInbox","isTeamButNotAppTeam","hasInboxAccess","_changeSenderCommands","_changeSender","setCommands","isDynamicSender","changeSender","_changeSenderFallback","changeSenderFallback","changeAssignee","isDynamicAssignee","changeAssigneeFallback","data-test-css-selector-picker","isManuallySelectingWebsite","setCssSelector","changePointerSelector","fetchDomainsAndOpenModal","removeSelector","buttonTextMapping","full","iconMapping","buttonText","SidebarBase","deleteButtonLabel","_changeToCustomFromAddress","hasCustomFromAddress","dynamicSender","changeSenderId","changeSenderType","changeReplyTo","removeCommands","changeTemplate","switchToHtmlMode","_confirmSwitch","confirmSwitchtoHtmlMode","CONFIRM_FOR_SWITCH_TO_STORY","CONFIRM_FOR_SWITCH_AWAY_FROM_STORY","CONFIRM_FOR_SWITCH_TO_POINTER_MESSAGE","REPLY_TYPE_OPTIONS","MESSAGE_CONSTANTS","textReply","reactionsReply","attributeCollectorReply","repliesDisabled","selectedDeliveryChannel","isTargetingVisitorsOrLeads","messageTypeOptions","messageChannelOptions","webChannel","iosChannel","androidChannel","anyChannel","showReplyType","isNoReplyTypeVariation","canReplyToMessage","emailCollectorOption","isNotPointer","shouldRemoveDisabledReplyType","shouldRemoveAttributeCollectorReplyType","shouldResetReplyType","_openConfirm","_changeDeliveryChannel","messageSetCommands","_confirmAndApplyPointerDefaults","_applyPointerDefaults","messageVariationSetCommands","INITIAL_POINTER_DEFAULTS","deliveryOption","_confirmAndChangeFromStory","messageStyle","_changeFromStory","_confirmAndChangeToStory","_changeToStory","INITIAL_STORY_DEFAULTS","defaultBlock","DEFAULT_VARIATION_BLOCK","_applyInAppDefaults","changeMessageType","setDeliveryChannel","changeDeliveryOption","video","pointer","changeReplyType","_changeReplyTypeReactions","_changeReplyTypeFollowUpRules","_changeReplyTypeForAllVariations","DEFAULT_REACTIONS","MESSAGE_DEFAULTS","followUpRules","subclass","_createDefaultFollowUpActions","sampleUserTextWithName","sampleUserTextWithoutNameForInApp","sampleUserTextWithoutNameForEmail","visitorAutoMessageSampleUserText","sampleUserTextWithoutName","userAutoMessageSampleUserText","sampleUserText","previewDataModeOptions","iosUri","androidUri","shouldShowIosUri","shouldShowAndroidUri","updateUris","uris","updateAndroidURI","setCommand","updateIosURI","SenderDropdown","openTestEmailModal","data-test-sender-assignee-dropdown-item","isCurrentIdSelected","isCurrentTypeSelected","isCurrentSelected","modelType","currentModelData","handleClick","isFallback","additionalHeight","additionalClasses","scrollParentSelector","dynamicSenders","overlayStyle","handleSelection","setSelected","emailsWithLabel","_setDefaultTemplateIfRequired","filteredTemplates","getRenderedTemplate","renderedWidgets","templateContext","widgetTemplateContext","_renderEmailTemplate","emailTemplateDatum","defaultItem","shouldShowUnsubscribeLinkViaMessage","toggleShowUnsubscribeLink","controlGroup","controlGroupMembers","clicked","collected","replied","failed","goal","CLICK_DISABLED_TABS_VAM","getControlGroupTabs","getEmailTabs","getInAppTabs","getPushTabs","hasReactions","hasNoReactions","hasRepliesEnabled","showReplies","showAudience","tabIsDisabledForVisitorAutoMessage","buildControlGroupTab","buildControlGroupMembersStats","buildMessageContent","buildAudienceStats","buildSentStats","buildOpenedStats","buildClickedStats","buildGoalStats","buildCollectedStats","validationFailureMessages","MESSAGE_VALIDATION_MAP","removeObjects","panelKey","validationResults","isInvalidToSend","deliveryOptions","deliveryOptionIcons","deliveryChannels","mobileDeliveryChannels","deliveryChannelIcons","mobileDeliveryChannelIcons","deliveryOptionText","deliveryOptionIcon","deliveryChannelText","mobileDeliveryChannelText","deliveryChannelIcon","mobileDeliveryChannelIcon","data-test-variation-dropdown","startABTest","startABTestOnEditingPage","createControlGroup","startControlGroupOnEditingPage","versionAIsActive","versionBIsActive","controlVersionIsActive","shouldShowVersionB","shouldShowControlVersion","activeContentVariation","activeVariation","clickLearnMoreAboutAB","timeOnPageSeconds","timeOnPageSecondsSummaryText","timeLabel","timeOnPageSummaryText","deliveryWindow","dayMap","mon","tue","wed","thurs","fri","sat","sun","isChecked","isSingleDay","startTimeOrDefault","DEFAULT_CUSTOM_DELIVERY_WINDOW","deliverySecondsSinceMidnightStart","endTimeOrDefault","deliverySecondsSinceMidnightEnd","isCustomDeliveryPeriod","noDeliveryWindowOrOfficeHours","appHasOfficeHours","appHasNoOfficeHours","officeHoursOptionsDisabled","customDeliveryOptionsDisabled","inputClasses","allInputClasses","itemType","checkCompletion","saveFolder","editingCancelled","campaign-summary","campaign_name","editingComplete","messageFolder","folder_name","campaigns","folders","hasExistingFolderOrCampaign","campaignsDisabled","campaignsDisabledMessage","_getCampaignSummaries","hasItemSelected","selectedItemType","isRemovalMode","isInlineCreateMode","showInlineCreator","itemTypeToCreate","props","constructor","itemSelected","removeSelected","itemRemoved","hasOperatorQualificationBillingFeature","leadQualificationToggleIsEnabled","leadQualificationToggleIsOn","toggleIsAllowed","answerBotToggleIsOn","updateMessageOperatorSetting","updateOperatorLeadQualification","operatorLeadQualificationEnabled","updateAnswerBotSetting","rawPredicates","legacyGoal","updateLegacyGoal","_mutateGoal","changeGoalComparison","copiedGoal","changeGoalValue","addGoalFromAttribute","newGoal","updateGoal","removeGoal","isMinimized","isCompleteAndMinimized","showDebuggerPanel","isOnIntercomradesOrDevPage","data-test-is-maximized","data-test-panel-for","panelOptionClass","isFirstPanel","isLastPanel","displayedPanels","shouldDisplay","shouldNotDisplay","isComplete","maximizedPanels","oldMaximizedPanels","_oldMaximizedPanels","newMaximizedPanels","_hasBecomeMinimized","didMinimize","_hasBecomeMaximized","didMaximize","maximizeSelf","maximizePanel","minimizeSelf","minimizePanel","toggleSelf","showReviewOptions","reviewOptionsComponentPath","MAX_USERS","emptyAvatarsTotal","data-test-review-options-component","whenMessageWillSendText","fetchMessageAudiencePreview","requiredFeature","scheduledDate","saveAndAddScheduleAction","sendAt","saveAndAddSchedule","validationsSucceed","errorMessagesByPanel","panelIndex","panelIndices","_setDefaultDeliveryWindow","_contextObject","_removeDeliveryWindow","toggleOff","toggleOn","_getMessageScheduledToGoLiveAt","dueToStopAt","selectedTime","_getOneWeekFromNowOrAfterScheduleDate","_updateStopDate","newStopDate","plainJSDate","DEFAULT_STOP_AT_TIME","setCustomDueToStop","removeDueToStop","changeDueToStopAtDate","changeDueToStopAtTime","onlyOneDaySelected","_flipDeliveryWindowDay","dayKey","_mutateDeliveryWindow","updateDay","updateStartTime","updateEndTime","scheduledTime","isScheduledToGoLive","disablePicker","minScheduledDate","maxScheduledDate","_resetScheduledDateAndTime","_defaultScheduledTime","_defaultScheduledDate","_scheduledToGoLiveAtInAppTimezone","_setSchedulingDateTime","_mutateScheduledToGoLiveAt","scheduleImmediately","setCustomScheduledDate","updateCustomScheduledDate","updateCustomScheduledTime","isAnyTime","isDuringOfficeHours","isOutsideOfficeHours","isCustomTime","triggerTimeSupported","officeHoursOptionsEnabled","customHoursOptionsEnabled","_setDeliveryWindow","period","DEFAULT_OFFICE_HOURS_DELIVERY_WINDOW","deliveryPeriod","duringOfficeHours","customTime","variationId","bulkTagLimit","bulkMessageLimit","isAboveMessageLimit","bulkMessageLimitString","numericFormatter","aboveMessageLimitTooltipText","isAboveTagLimit","bulkTagLimitString","aboveTagLimitTooltipText","bulkMessage","bulkTag","scrollingContentSelector","hasItemsToLoad","performFirstRequest","cancelPendingRequest","fetchConversationsForVariation","_generateAjaxParams","_parseConversationResponse","didCancel","has_reply","buildVariationTab","tabKey","nobodyOnlineText","linkFilter","messageRoute","_messageRouter","inverted","goalFilter","selectedReaction","selectedReactionAsString","reactionIndexOptions","has_completed_action","_shouldDisplayOption","_matchesOption","data-test-additional-users-row","additionalUsersText","messageOrVersionLabel","countDifference","userLabels","userLabel","ListRow","showPreColumn","data-test-deleted-users-row","deletedUsersText","types","hasOrHave","isOrAre","emptyColumns","headers","_headersForCurrentStatistic","statsTableHelper","getHeadersForControlGroup","getHeadersForStatWithBetterClickDataFF","getHeadersForStat","_generateHeadersBasedOnVariationType","filterGoalHeaderFromHeaders","getHeadersForVariation","getStandardHeaders","getColumnsForControlGroup","getColumnsForStatWithBetterClickDataFF","getColumnsForStat","_generateColumnsBasedOnVariationType","filterGoalColumnFromColumns","getColumnsForVariation","getStandardColumns","noResultsText","pluralUserTypes","hasNoTime","firstCompany","remainingCompanyCount","data-test-message-editor-users-list","variationLinks","variationLinkCount","numberOfVisitors","canUseBetterClickData","clicksActiveView","usersIsActive","linksIsActive","isClickedStat","isVisitorAutoMessage","isNotVisitorAutoMessage","isVamAndClickedStat","defaultClickedTabView","variationLinkItems","countAtFirstRequest","countAtLastRequest","summaryConversations","additionalUserCount","showNonInverted","isPendingStat","hasTotalCount","statIncludesDeletedUsers","selectedSummaries","selectedTargetTypes","isUnsubscribedStat","isNotUnsubscribedStat","invalidConversations","hasZeroInvalidConversations","showBulkActions","bouncedFilterUrl","emailBouncedPredicates","_setOldFilterProperties","_oldStatistic","_oldInverted","_oldSelectedReaction","_oldGoalFilter","_oldLinkFilter","_oldLastStatUpdate","lastStatUpdate","oldStatistic","newStatistic","oldInverted","newInverted","oldSelectedReaction","newSelectedReaction","oldGoalFilter","newGoalFilter","oldLinkFilter","newLinkFilter","oldLastStatUpdate","newLastStatUpdate","resetAndPerformFirstRequest","_checkForCountChange","currentStatCount","fetchClickLinksForVariation","fetchSummaryConversationsForStatistic","_parseUserListResponse","pending_or_sent","control_groups_endpoint","message_variations_endpoint","_generateDataParams","dataParams","_statisticKeyForRequest","_statisticKeyForReaction","link_id","statsKeys","messages/summary-conversations","_statCountKeys","bounced","complained","responded","unsubscribed","_statCountKey","reloadList","changeClickedStatsSubTab","_addDefaultTimeOnPagePredicate","DEFAULT_TIME_ON_PAGE_PREDICATE","_removeTimeOnPagePredicate","timeOnPagePredicates","_updateTimeOnPagePredicate","addTimeOnPagePredicate","removeTimeOnPagePredicate","updateTimeOnPagePredicate","data-test-message-editor-panel-title","jsBindingClass","hasBeenOpened","clockTick","_setFormattedLastSaveTime","_1M","lastSaveTime","lastSavedAt","panelsToBeValidated","panels","buttonOptions","openMoveModal","shouldShowDuplicateOption","duplicateButton","tooltipContent","openCreateMessageModal","additionalButtonOptions","removeSchedule","goLiveButtonIcon","goLiveButtonLabel","added_tag_ids","removed_tag_ids","content_wrapper_id","content_wrapper_type","contentWrapperTypes","transitionToMessages","focusTitleIfAppropriate","breadcrumbs","updateTitle","Mixin","COMPOSER_UPLOAD_WARNING","RecordRenderTime","isTargetingLeads","isUAMFollowUpActionsDisabled","data-test-view-and-edit-component","renderMetricName","renderMetricBufferSize","scrollTimer","_setupPageInteractionSaveDebounce","_setupVisibilityListener","_teardownPageInteractionSaveDebounce","_teardownVisibilityListener","_minimizeAllPanels","shouldFadeAndShowLoadingSpinner","panelMap","viewModeRequirements","editModeRequirements","hiddenInViewMode","requirementsKey","arePanelRequirementsSatisfied","indices","errorsForPanel","requirements","requirement","_mutateClientData","_recordOpenedPanel","copiedClientData","openedSteps","_handleMouseMove","_tabEntered","checkVersionLock","userActiveOnPage","_scrollToPanel","panelTop","createDuplicateMessage","scrollToPanel","MessageFilterSelectorComponent","ListKeyboardSelectionMixinV2","jsHighlightClass","jsKeyboardRowSelector","jsActiveKeyboardRowSelector","jsExpanderRowSelector","hasSearchTerm","showUserExtraFilters","showCompanyExtraFilters","showCompanyFilters","reducedCampaignFiltersAreEmpty","reducedUserFiltersAreEmpty","reducedCompanyFiltersAreEmpty","showInContextCdaCreator","focusAfterInsert","focusSearchInput","reducedCampaignFilters","campaignFilters","_reduceFiltersToSearchTerm","reducedUserFilters","userFilters","reducedCompanyFilters","companyFilters","escapedSearchTerm","searchRegex","nameMatchesRegex","_reduceFiltersToMainOrExtra","isExtra","userMainFilters","minRequiredUserFilters","userExtraFilters","companyMainFilters","minRequiredCompanyFilters","companyExtraFilters","hasCampaignFilters","rawCampaignFilters","campaignFiltersExcludingDeprecated","_distanceBetweenTwoPoints","pointA","pointB","minPoint","maxPoint","$messageEditorPage","$messageEditorInnerPage","$audienceEditor","pageTop","audienceEditorBottom","differenceBetweenFilterAndPageTop","closeFilterSelector","toggleShowExtraUserFilters","toggleShowExtraCompanyFilters","data-test-folder-list","sortedFolders","noFolders","creatingManualMessage","shouldDisableManualMessages","emailApprovalRequiredOrPendingVerificationOrRestricted","shouldShowBanner","isEmailResending","resendValidationEmail","dropdownButtonText","_closeDropdown","campaignsWithSelectedMarked","foldersWithSelectedMarked","assignToFolder","assignToCampaign","createNewCampaign","createNewFolder","closeEditor","closeDropdown","assignmentType","hasNotSelectedMessages","uniqueFolders","singleFolderSelected","removeFromFolder","stateNames","stopped","stateName","stateCount","data-test-stats-cell","predicatesToDisplay","statisticInvalid","statisticsAsLinks","clickedStatsColumn","cellClass","statisticPropertyName","MessageCreationModal","_removePreviouslySelectedTemplates","message_template_id","selectedObjectType","noChannel","selectedMessageType","isPreSelected","message_type","selectedMessageTypeForTracking","_trackStartFromTemplateEvent","onChooseTemplate","_trackStartFromScratchEvent","emailType","skipTemplatesModal","legacyMessageEmail","inAppType","legacyMessageInApp","pushType","assert","humanReadableObjectNames","_messageTypes","ChannelSelector","isCreating","isDuplicatingRuleset","canUseEmailInOutboundHome","isCampaignMessage","canUseBanners","isDuplicating","isDuplicatingMessage","REPLY_TYPES","attribute_collector","TemplateSelector","isCarousel","isBanner","_createMessageVariationFromTemplate","_createBlocksFromTemplate","messageVariationParams","assignToId","contentObjects","message_style","_getReplyTypeFromTemplate","reply_options","_createReactionsFromTemplate","reply_type","onSelectTemplate","selectedTemplateContentObject","setSelectedTemplateContentObject","objectIcons","isOutboundCustomBot","isInboundCustomBot","isButtonCustomBot","MessageListStats","job","recordProductListItemRenderTime","campaignStatsRoute","statsRoute","messageSelected","messageTypeText","hasPredicateDescriptions","memberTypes","messageIcons","auto","visitor_auto","manual","searchIcon","exitSearch","search_text","search_admin","debugName","MESSAGE_VOLUME_TIMELINE","nested_keys_are_dates","FILTER_AUTO_MESSAGES_CONVERSATION","NEW_CONVERSATIONS_EVENT_TYPE","GROUP_BY_CONVERSATION_MESSAGE_TYPE","inApps","emails","GROUP_BY_CONVERSATION_MESSAGE_ID","userOrVisitor","emailOrInApp","appliedStats","fetchStatsForMessage","message_ids","fetchMessageData","_this$reportingServic","filterAutoMessages","signalParams","AGGREGATE_BY_MESSAGE_ID","conversation.message_type","fetchSignal","displayedStats","vamDisplayedStats","emailUAMDisplayedStats","inappUAMDisplayedStats","variationStats","onChannelSelectionChange","onMessageTypeChange","fetchUser","fetchSignals","groupedMessageCounts","NEW_CONVERSATIONS_EVENTS","keys_are_dates","GROUP_BY_USER_ID","selectedSavedContent","isCreateMode","isEditMode","bodyPlaceholder","resetSelectedSavedContent","_focusOnNameInput","setSelectedSavedContent","setComposerValues","savedContentReadOnlyComposer","savedContentComposer","setAllContentsInactive","saveContent","_handleSaveError","selectSavedContent","editSavedContent","cancelEditSavedContent","saveSavedContent","deleteSavedContent","isOnInAppsRoute","isOnUserAutoMessagesRoute","allMessagesStateRoutes","leaf","allManualMessagesStateRoutes","allVisitorAutoMessagesStateRoutes","isOnVisitorAutoMessagesRoute","isOnManualMessagesRoute","isOnGuideOrAboutRoute","_templatesFor","inApp","data-test-vertical-message-search","searchTermQueryParam","adminIdQueryParam","_findAdmin","data-test-install-method-selector-card","iconAppearance","data-test-install-method-selector-component","selectedInstallMethod","baseAnalyticsMetadata","sendAnalyticsEvent","install_method","setWithCode","INSTALL_TYPE","CODE","setWithThirdParty","THIRD_PARTY","EXAMPLE_PROJECT_URLS","_EXAMPLE_PROJECT_URLS","AUDIENCE","LOGGED_OUT","_AUDIENCE$LOGGED_OUT","INSTALL_METHODS","JAVASCRIPT","SINGLE_PAGE","LOGGED_IN","_AUDIENCE$LOGGED_IN","defaultInstallMethod","selectedAudience","selectedInstallMethodText","selectedInstallMethodExampleProjectUrl","verificationKey","VerificationKeys","ANY_PING","installMethodComponentName","selectedCodeInstallType","INSTALL_METHOD_ANALYTICS_NAMES","setIOSSdkApp","setAndroidSdkApp","setSdkAppForInstallMethod","IOS","ANDROID","CORDOVA","goToExampleProject","setSelectedInstallMethod","openMessenger","installMethod","configurationLinkMetadata","_documentationMetadata","customizeMessengerLinkMetadata","installationLinkMetadata","registerUsersLinkMetadata","troubleshootingLinkMetadata","userIdsLinkMetadata","BaseInstallMethodComponent","googleTagManagerInstallationLinkMetadata","androidSupportLibraryLinkMetadata","requirementsLinkMetadata","infoPlistLinkMetadata","serverSideLanguage","addDestinationLinkMetadata","identifyUsersLinkMetadata","addAppLinkMetadata","selfHostedPluginLinkMetadata","installOnSiteLinkMetadata","messengerVerification","MessengerVerification","sourceKey","selectedLoggedOutAudience","selectedLoggedInAudience","loggedOutInstallTimestamp","loggedInInstallTimestamp","showLoggedOutText","showLoggedInText","codeInstallAudience","verificationSuccessful","verifyInstallation","verificationTask","performInstallVerification","data-test-messenger-preview-conversation","messengerAlignedToLeft","data-test-messenger-preview-conversation-avatar","COUNTRY_NAME_MAPPINGS","United States","United Kingdom","fullCountryName","adminDisplayName","data-test-messenger-preview","hideUserTypeButtonGroup","hideBorders","showMessengerLauncher","zoomInLauncher","zoomInLauncherMobile","webLauncher","targetUserTypeOptions","inboundConversationsDisabled","configuration","changeTargetUserType","avatarURL","hasAvatar","data-test-messenger-preview-avatar","slotGroup","slotSortBy","sortedSlots","updateOpacity","fadeOffset","setProperty","ResizeText","minSize","greetingWithRenderedFallbacks","hideOverflow","qualificationAttributesAsFullAttributes","attributeIdentifiers","findByIdentifiers","Item","emojify","useOperatorIdentity","operatorIdentityUrl","UpfrontCollectionForm","loadTranslations","translations","addTranslations","setLocale","automaticResponseDelay","hideSaveButtonAndSimplifyContent","showDependentMessages","dependentRulesets","showReportingSettings","selectedResponseDelay","dependentMessagesForPeriod","onBeforeRemoveLastRow","matching-system/rulesets","changeSelectedResponseDelay","availabilitySettings","customResponseDelayEnabled","customResponseDelay","defaultOfficeHoursIntervalGroups","_intervalGroup","createDefaultIntervalGroup","attributePickerLabel","ToggleWithPredicates","enabledScope","predicatesScope","MessengerDisplayAttributes","hideActionIcons","preferredPositionNameOrder","isDisplayingUserGroup","reorderedSlots","draggedSlot","dragStarted","dragStopped","editSlotInGroup","editedSlot","displayOrder","replacementSlot","appID","hasConfiguration","slotIndex","removeSlotFromGroup","deletedSlot","filteredSlot","addSlotToGroup","discardChanges","Slot","permittedLocales","localeIsPermitted","permittedLocalesWithoutDefault","rejectByProperty","notPermittedLocales","defaultLocaleObject","showPaywallForLanguages","defaultLocale","removeLanguage","greetingBlocks","updateGreeting","showLocale","charLimit","charactersUsed","charactersLeft","hasCharactersLeft","LookAndFeelSettings","activeBrand","changedLauncherLogo","launcherAction","launcherLogoUrl","showDeleteBrandModal","setBrand","lookAndFeelSettings","defaultBrand","brand_id","messengerWallpaper","messengerBackground","messengerActionColor","messengerBackgroundColor","showPoweredBy","widgetAudioEnabled","brand","expandColors","LogoUploadComponent","fileData","filePayload","handleUploadSuccess","handleUploadError","file_data","filename","clearFileInput","brandLogoUrlProperty","brandLogoIdProperty","logoUrlProperty","logoIdProperty","uploadLogo","launcherVariant","logoUrl","dropTask","BrandPicker","brands","previousActiveBrand","newBrand","brandDomains","launcherAlignment","launcherHorizontalPadding","launcherVerticalPadding","addDomain","showAllDomains","from_modal","is_new","removeDomain","customBrands","defaultBrandListItem","customBrandListItems","brandNameError","securitySettings","updateParsedAllowedDomains","Domains","newDomains","domainsArray","parsedAllowedDomains","fetchPingDomains","webIdentityVerified","iosIdentityVerified","androidIdentityVerified","upfrontEmailCollectionBillingFeatureNotEnabled","ANALYTICS_EVENTS","targetingAttribute","enabledEventName","disabledEventName","fetchHelpCenterSite","helpCenterSites","sendAnalyticsEvents","withPredicates","changedAttributeKeys","settingChanged","targetingChanged","settingEnabled","visibilitySettings","targetingInfo","singleConversationToggleAnalyticsEvent","updateLauncherPredicates","secondsDayConverter","usersDelayInDays","visitorsDelayInDays","trackToggleChangeEventForUsers","noContinuedConversationsEnabledForUsers","trackToggleChangeEventForVisitors","noContinuedConversationsEnabledForVisitors","toggleDisallowReplyForUsers","toggleDisallowReplyForVisitors","InboundConversationTargeting","attributeGroupListForUsers","attributeGroupListForAnonymous","allowInboundConversationsForAllUsers","allowInboundConversationsForAllVisitors","data-test-messenger-settings-launcher-visibility","updateUsersPredicates","updateAnonymousPredicates","idAll","idFilter","Positioning","horizontalPadding","verticalPadding","validTaggings","visibleTaggings","visibleTagIds","hiddenTaggings","hidableSegments","visibleSegments","visibleSegmentIds","hiddenSegments","removeTagIdsFromAdminsVisibleTagIds","addSegmentIdsToAdminsVisibleSegmentIds","segmentIds","removeSegmentIdsFromAdminsVisibleSegmentIds","displayedErrorMessage","conflict_resource","educateErrorNotificationTimeout","sectionOrCollection","seriesId","defaultLocaleId","_setupSortable","getWithDefault","sortableArea","Sortable","isSortable","animation","draggable","handle","ghostClass","_getAndBindHandler","onAdd","onStart","onEnd","onSort","handler","_tearDownSortable","formElement","onInput","onKeyUp","$firstInput","addAttributeToInput","inputValue","focusAttribute","setSelectionRange","readyState","beforeSend","array","next_page","_isOpenObserver","_setupDocumentClickHandler","_teardownDocumentClickHandler","_closeOnDocumentClick","toggleWidth","closeOnLeave","_ignoreClick","_handleMouseDown","contextElement","contextElementSelector","isOpening","setupScrollParent","onDropdownOpen","$scrollParent","toggleClass","teardownScrollParent","overlay","hasOpened","hasClosed","isWeb","isDesktop","isWebOrMobile","isIosOrAndroid","isNotIosOrAndroid","maximumFavourites","favouriteEmoji","updateReadyState","_doResetFileIfInvalid","scheduleInvalidFileReset","previewImageUrl","imageLoaded","previewUrl","currentHighlightedItem","highlightItem","onEsc","currentHighlightedIndex","newSelectedIndex","numberOfItems","currentSelectedIndex","currentSelectedItem","newSelectedItem","scrollToHighlightedItem","scrollingContainer","selectedItemPosition","_setupKBEventHandlers","_removeItemFocusOnClick","_removeItemFocus","_teardownKBEventHandlers","_plainKBHighlightClass","_focusNextItem","_focusPreviousItem","_addSelectedItem","currentItem","selectableRows","_focusItemAtIndex","moveSelectionAfterSelection","originalIndex","_validate","_errorMessage","validationKey","EXTRA_USER_ATTRIBUTES","targetTypeIsUsers","messengerConditionalDisplayAttributes","notImplementedError","isLoadingNextPage","hasMoreItemsToShow","isNotLoadingNextPage","setupPaging","$pagingContainer","_throttleTryLoadNextPage","_debounceTryLoadNextPage","_tryLoadNextPage","resetPaging","teardownPaging","_shouldLoadNextPage","_isNearBottomOfPage","$listItemsContainer","companyAttributeType","personAttributeType","editableObject","existingValue","_put","_generateParams","_updateLocalModel","_trackAttributeUpdated","resyncAttributeData","attribute_value","attribute_belongs_to_type","qualification_company_id","_updateEditableObject","_performUpdateTask","taskName","objectPaths","currentValueForPath","attributeComponentPath","recordRenderTimeOnInsertion","bufferSize","calculatePositionCallback","listSelector","selectedListItemClass","filteredItems","filteredItemsLength","highlightedItemNotFirst","highlightedItemNotLast","initSelectKeyboardActions","willSelectKeyboardActions","highlightDebounceTimer","_highlightItem","_setHighlightedItemClass","openStateChanged","_setHoverListeners","_removeHoverListeners","filteredItemsLengthChanged","$items","activeElement","currentScrollTop","onTab","monthOffset","hoursWith30MinsInterval","midnight","secondsSinceMidnight","HoursWith30MinsInterval","secondsFromMidnight","times","hasHourOptionsForSelectedDay","monthlySpendGreaterThanZero","showPositiveMonthlySpendDetails","spendHighlightSetup","showVideoDelay","showVideo","getAutoplayUrlForWistiaId","analyticsData","video_title","video_id","openVideoModal","videoURL","EditorSidebar","hasToggledSetCustomURI","currentPushContent","localizedPushContents","updateTitleBlocks","updateBodyBlocks","changeDevice","UpgradeInstallBanner","androidSdkVersion","android_sdk_version","minimumVersion","iosSdkVersion","ios_sdk_version","hasCurrentAndroidSdk","hasCurrentIosSdk","listenForBackgroundClick","closeOnMouseUp","precision","orientation","callbacks","BulkArchiveBaseComponent","entityString","pluralizedEntity","importWindowCurrentlyOpen","onImportFlowComplete","_window","_urlForImportWindow","_waitForChildWindow","importFlowCompleted","openWidget","leadName","leadEmail","createNewLead","cleanAndHideCreateLeadModal","disableCreateButton","emailValueEmpty","emailIsInvalid","validity","disableCreateTooltip","cancelCreateLead","userName","createNewUser","cleanAndHideCreateUserModal","allValuesEmpty","cancelCreateUser","BaseContentComponent","archiveUser","routeParam","included_ids","navigateToDelete","searchValue","moreThanOnePerson","countToUse","pluralisedPersonTypeName","archiveMany","archiveSingle","archiveTarget","archiveButtonLabel","trackAnalytics","count_of_archived_users","archive","selectedEntities","excluded_ids","filteredPredicates","_multiselectCheckboxes","KeyboardSelectableDropdown","lastSetSearchString","internalSearchString","collapseThreshold","isBelowCollapseThreshold","refreshInternalSearchString","setupDefaultItems","setViewPortWidth","setupNavBackgroundBlocker","shortcutPressed","destroyNavBackgroundBlocker","onNavBackgroundClick","attemptToClose","internalSearchStringEmpty","internalSearchStringNotEmpty","createStandardSearchItem","selectedItemIsStandardSearch","isStandardSearch","blurInput","expandedView","showSuggestions","testBindingClass","textInputFocused","isOpenOrTextInputFocused","shouldShowFullBacking","textInputClasses","backingOptionClassForInput","searchInputIconColor","selectableItemsNotEmpty","attemptToOpen","clearSearchString","_setViewPortWidth","textInputBlurred","toggleExpandedView","clearText","closeWithoutCollapse","NewRulesBannerComponent","hasInboxRules","isWorkflowsRoute","isWorkloadManagementRoute","NonEditableBlockEditor","NullEditor","isRedirecting","adminEmailVerified","adminEmailUnverified","adminEmailPendingVerification","appPackageName","appPackageIconUrl","idCode","isInterconnectedApp","selectedAppId","selectedAppIsConnectable","shouldDisplayWarning","privacyPolicyUrl","termsOfServiceUrl","validateScopes","existingScopes","currentAuthorizationRequest","authorizationRequest","appPackageOauthScopeCategories","client_id","authorize","adminHasPermissionToInstall","redirect_uri","redirectURI","adminPermissionsForApp","is_test_app","app_permissions","didDestroyElement","sendVerificationEmailToEndpoint","history","selectedAppNonConnectableReason","appPackageOwnerShouldBeSameAsSelectedApp","appPackageWithLimitedAdminPermissionOnSelectedApp","appPackageWithLimitedAdminPermissionOnOwnerApp","appIsSuspended","ConfirmScheduleDelete","dependentObjects","_groupBy","groupBy","isEditingSchedule","scheduleToUpdate","setDefaultTimeZone","hasInvalidInterval","intervalGroupsAreDirty","intervalsWereAddedOrRemoved","saveModal","onModalSave","generalSettings","timeZoneName","time_zone_name","saveSchedule","ModalForm","timeZones","IntercomTimezoneOptions","selectedTeams","selectedTeamIds","scheduleName","onSelectTeam","newSelectedTeamIds","onRemoveTeam","availablePeriods","TimePeriods","periods","availableStartTimes","TimesByHalfHour","availableEndTimes","periodSelectionChanged","periodValues","TimePeriod","periodValueMapping","newIntervals","addition","updatePeriodsOnSchedule","updateStartTimeSelection","startMinuteOffset","updateEndTimeSelection","endMinuteOffset","TimeInterval","inviteEmailAddresses","seatsToBeCharged","seatsLeft","formattedTotalToBeCharged","totalToBeCharged","emailsFillingFreeSeats","emailsFillingFreeSeatsString","onboardingHomeService","guide","inRouteWithoutBanners","excludedFromOnboardingRoutes","externalStep","levelCompleted","levelNotCompleted","showStepCompletedBanner","installMessengerStep","installVisitorsMessengerStep","installLoggedInMessengerStep","inviteTeammatesStep","findStepByIdentifier","showInstallMessengerStep","showInstallVisitorsMessengerStep","showInstallLoggedInMessengerStep","showInviteTeammatesStep","installMessengerTaskRunningOrBannerNotDismissed","installVisitorsMessengerTaskRunningOrBannerNotDismissed","installLoggedInMessengerTaskRunningOrBannerNotDismissed","inviteTeammatesDismissTaskRunningOrBannerNotDismissed","installMessengerBannerDismissed","_isBannerDismissed","installMessengerBannerNotDismissed","installVisitorsMessengerBannerDismissed","installVisitorsMessengerBannerNotDismissed","installLoggedInMessengerBannerDismissed","installLoggedInMessengerBannerNotDismissed","inviteTeammatesBannerDismissed","inviteTeammatesBannerNotDismissed","isAnyBannerDismissed","noBannersDismissed","dismissInstallMessengerBanner","dismissBanner","dismissInstallVisitorsMessengerBanner","dismissInstallLoggedInMessengerBanner","dismissInviteTeammatesBanner","_storageKeyForStep","_7000MS","trackBannerClick","stepIdentifier","findOrLoadGuide","showBackToHomeBanner","_transitionToBackToHomeBanner","goToHome","dismissBannerTask","StepCompleted","stepData","productTourId","hasGenerateDataCommand","responsible_team","OnboardingHomeChangeGuideComponent","availableGuidesTask","resetState","selectedGuide","currentGuideId","confirmationModalOpen","loadingMessage","getAvailableGuides","displayError","changeGuide","selectedGuideId","lastSuccessful","changeGuideTask","linkContext","iconName","number","completed","level","completedPercentage","data-test-onboarding-accordion-section-header","paddingClass","stateClass","shouldFadeComponent","completionCallback","guideAssistantService","onboardingAssistant","sizeClass","guideAssistantTextTransition","transitionDuration","GUIDE_ASSISTANT_TEXT_TRANSITION_DURATION","initiallyOpenLevel","formattedSectionHeadersWithLevels","levels","guide_section","_sections","sectionHeader","forceAllGuide","onStepComplete","refreshScript","_setInitiallyOpenLevel","scrollToInitiallyOpenLevel","guide_identifier","_scrollToLevel","scrollToLevel","initiallyOpenStep","_setInitiallyOpenLevelAndCreatePageView","hostedMessengerWindowOpen","onboardingHome","onHostedMessengerClose","openHostedMessengerWindow","onHostedMessengerOpen","HostedMessenger","visitorId","messengerReady","pollForBooted","syncMessengerOpenState","messengerOpen","checkForHostedMessengerCreatedConversation","conversationRecords","conversationRecord","notifyOpener","claim","hostedMessengerIframe","waitingForMessage","host","findOrCreateInviteLink","onboardingHomeStepIdentifier","sendCopyLinkAnalyticsEvent","CONFETTI_CONFIG","particleCount","spread","ticks","ANIMATION_DELAY","afterConfetti","afterScript","beforeScript","accordionSection","latestAvailableLevel","levelData","initiallyOpenStepInLevel","showUnseenBadge","performAnimationsAndCallback","allStepsComplete","levelCompleteAnimation","nextLevelOpenAnimation","triggerTransitionalScript","_interconfetti","levelIdentifier","openStepInDifferentLevel","stepToOpen","resetLevel","stepIdentifiers","resetGuide","step_identifier","level_identifier","resetOnboardingHome","toggleModal","latestAvailableStep","openStepInDifferentLevelCallback","stepBannerCompleteDuration","updateStepState","_args","_displayCompletionBanner","updateStep","saveAndRefreshGuide","stepCompleteAnimation","nextStepOpenAnimation","openStep","resetStep","stepCompletedText","onVideoClose","linkToText","linkToRoute","linkToQueryParams","ctaBodyText","fallbackCtaBodyText","bodyText","transitionToRoute","contactCollection","collectSms","contactCollectionDisabled","settingsAreDirty","adminCanChangeContactDetails","isSaveEnabled","available","completeStep","settingsHaveChanged","visitorRole","openStepCallback","isOnFree","messagesPlanId","MESSAGES_ESSENTIAL_ID","chatRuleset","adminCanSendMessages","audienceTypes","noLoggedOutInstall","noLoggedInInstall","_setSelectedAudience","selectedRolePredicate","rolePredicate","_fetchInstallMessengerStepData","loadModelData","setSelectedAudience","googleCalendarAppPackage","outlookCalendarAppPackage","calendlyAppPackage","googleModalOpen","outlookModalOpen","calendlyModalOpen","markAsCompleted","areAllAppsInstalled","isAnyAppInstalled","markAsDoneText","firstUninstalledAppPackage","selectAppPackage","trackClickedAnalyticsEvent","transitionToTour","external_step","languageSettings","adminCanChangeMessengerSettings","colorOptions","saveMessengerChanges","setSecondaryColor","setPrimaryColor","needsDependentStep","dependentStepIdentifier","dependentStepTitle","duplicateCdas","existingCdas","filledCdas","filledCdaCount","focusLastAttributeDescriptionInput","attributeWrappers","querySelectorAll","getDuplicateNames","getDuplicateErrorMessage","demoCompletionAction","emailSet","showForwardingPanel","verification","maxRetryAttempts","retryAttempts","hasForwardingEmail","inboxEmailAddress","restoreEmailFromStorage","verifyEmailForwarding","_createSetupAttempt","_sendForwardingEmail","_verifyEmailForwarding","_updateVerification","forwardMailSetupAttempt","forwardingEmailAddress","forwarding_email_address","_handleForwardMailVerifiedMessage","setEmail","unsetEmail","trackStartedTourAnalyticsEvent","getStarted","_openOverflowMenu","openOverflowMenuIfLinkNotVisible","GetStartedWithSeries","hostedMessengerConversationService","inboxEssentialPlanId","INBOX_ESSENTIAL_ID","adminHasInboxAccess","adminDoesNotHaveInboxAccess","needsHostedMessengerConversation","missingConversationId","isOnFreeWithInboxAccess","sendTestMessageStep","sendTestMessageStepCompleted","showDependentStepWarning","collapsedSubmenuOnTour","_generateAndLoadExampleData","_generateExampleData","_loadExampleData","generateExampleData","transitionToOnboardingInboxFlow","setCollapsedSubmenu","removeCollapsedSubmenu","setupCustomBot","visibleAppRows","appsPerRow","showMoreAppsButtonLabel","recommendationRows","hideMoreAppsButton","nextAppCardRowLength","showMoreAppsButtonvisible","sortedRecommendations","_findAndBumpInstalledRecommendation","modelData","_splitRecommendations","firstInstalledRecommendation","firstInstalledIndex","_dispatchAnalyticEvent","showMoreApps","markStepComplete","modalAppPackage","onSelectAppPackage","onCloseAppPackageModal","isBetaStep","visitAppStore","recommendedApps","subtitle","completionText","descriptionText","selectedThirdPartyInstallType","THIRD_PARTY_DROPDOWN_ITEMS","LOGGED_OUT_CODE_DROPDOWN_ITEMS","LOGGED_IN_CODE_DROPDOWN_ITEMS","selectedInstallTypeAnalyticsName","install_with","linkAnalyticsMetadata","salesforceAppPackage","hubspotAppPackage","pipedriveAppPackage","salesforceModalOpen","hubspotModalOpen","pipedriveModalOpen","EmailInvite","has_inbox_access","permissionsMutatorService","showValidationErrors","invites","invitedAdmins","invitesWithInboxAccess","invitesWithInboxAccessEmailAddresses","formattedPricePerSeat","currencyFormatter","isEarlyStageCustomer","numberOfInboxSeats","inviteWithInboxAccessText","appFlaggedForEmailApproval","adminCanInviteTeammates","allInvitesBlank","allEmailsAreValid","disableInboxInviteForm","canInviteSeats","showInboxAccessOption","shouldSeePerProductPricing","hasUnlimitedSeats","maxInviteLimit","defaultSeatLimit","inviteLimit","seatLimit","numAvailableInvites","_setInboxAccessDisplayOption","fetchEmailInvites","validateAndSendInvites","sendInvites","inviteCount","userString","invitees","_resetStepState","SEND_FAIL_STRING","addInvite","removeInvite","hasValidationError","hasErrorMessage","showErrorState","hideRemoveButton","_getUserId","userResponse","transitionToOnboardingCustomDataFlow","qualifyLeads","setupLeadQualification","slackAppPackage","slackModalOpen","conversationRouting","conversationRoutingDisabled","adminCanAccessProductSettings","hostedMessengerConversationStarted","availabilityValid","hasUpdatedOfficeHours","hasUpdatedResponseTime","availability","invervalGroupsAreDirty","hasResponseTimeChanged","updated_office_hours","updated_response_time","USE_CASE_DEFAULT_ATTRIBUTES","marketing","support","INSTALL_TYPES","MESSENGER_INSTALL_METHODS","RAILS","third-party","SEGMENT","WORDPRESS","SHOPIFY","VERIFICATION_ERROR_TEXT","showCodeInstructions","useCase","installTypes","selectedInstallType","installMethodOptions","resetAttributes","defaultSelectedInstallMethod","installationMethodAnalyticsMetadata","install_language","trackInstallationMethodAnalyticsEvent","focusLastAttributeInput","verify","onUseCaseChange","showCode","onInstallTypeChange","data-test-install-method","disableVerifyButton","attributeNames","formattedAttributes","LANGUAGES","languages","ATTRIBUTE_TYPES_TO_HIDE","noAttributes","isHovering","editingOtherText","mobileDevice","hasIcon","iconClassName","selectedClassName","editingClassName","showColoredIcon","cardClassName","handleCardClick","setAndSelect","deselectOther","numberOfQuestions","selectedOptions","otherText","singleSelect","trackAnalyticsAndGtmEvent","question","surveyQuestionKey","setCustomDataAttribute","sendIntercomUpdate","recordResponse","other_text","onRecordResponse","unselectOlderSelections","currentSelectedOption","_oneWayCheckbox","_oneWayColor","_oneWayDate","_oneWayDatetimeLocal","_oneWayEmail","_oneWayFile","_oneWayHidden","_oneWayInput","_oneWayMonth","_oneWayNumber","_oneWayPassword","_oneWayRadio","_oneWayRange","_oneWaySearch","_oneWaySelect","_option","_oneWayTel","_oneWayText","_oneWayTextarea","_oneWayTime","_oneWayUrl","_oneWayWeek","displayValidationErrors","enableEditing","removeBranchingAnswer","onBeginEditing","onRemoveAnswer","onCompleteEditing","cancelEditing","categoryExamples","selectedAnswer","isEditingAnswerLabel","setSelectedAnswer","canAddBranchingQualificationAnswer","hasBranchingQualificationAnswers","addBranchingAnswer","branchingQualificationAnswers","beganEditingAnswer","completedEditingAnswer","allowNoAttributes","fetchQualificationAttributes","currentQualificationAttributeIdentifiers","selectedIdentifiers","selectableAttributeIdentifiers","closeBanner","IMPORT_BANNER_PAGEVIEW_KEY","AttributeSelector","showAttributeCreationTypeModal","showConversationAttributeCreationModal","allowArchival","typeToCreate","showPeopleAndCompanyToggleTab","attributeCreated","attributeCreatedCallbacks","findByIdentifier","onAttributeCreated","isSelectingCustomColors","isSelectingCustomAvatar","openFilePicker","setAvatarType","setCustomAvatar","_readFileAsDataURL","dataURL","setCustomAvatarFromFilePicker","fileList","removeCustomAvatar","deferred","defer","isTestApp","drawSvg","svg","innerHTML","setAttribute","foregroundColor","SvgToPngRenderer","drawToFile","setBackgroundColor","hexColor","identity.avatarType","identity.customAvatarBackgroundColor","identity.customAvatarForegroundColor","setForegroundColor","ResolutionBotLoopingSettings","identityPreview","selectedMode","supportLink","replaceAll","MessengerPreview","answerToggleValue","hasAnswers","accessToTeammateEnabled","ResolutionBotSuggestionSettings","resolutionBotSettings","contentSuggestionsEnabledForUsers","activeContentSuggestionsSetting","contentSuggestionsEnabledForVisitors","predictiveAnswersEnabledForUsers","activePredictiveAnswersSetting","predictiveAnswersEnabledForVisitors","ContentSuggestionsToggle","contentSuggestionsForUsersPredicateGroup","contentSuggestionsForVisitorsPredicateGroup","allowContentSuggestionsForAllUsers","allowContentSuggestionsForAllVisitors","PredictiveAnswersToggle","predictiveAnswersForUsersPredicateGroup","predictiveAnswersForVisitorsPredicateGroup","allowPredictiveAnswersForAllUsers","allowPredictiveAnswersForAllVisitors","predicatesGroup","CONFIRM_NOT_SAVED","SECTION_MODEL_MAP","bot-identity","suggestion-settings","resolution-bot-looping","operator-inbox","custom-bot","answer-bot","_hasRestoreDefaultButton","canUseLoopingBot","identity","hasDefaultName","hasDefaultAvatarType","hasDefaultValues","hasCustomValues","previewConversationParts","trackLoopingBotSettingsChange","settingSnapshot","avatar_type","operator_name","toggleOperatorInboxSetting","botInboxSettings","assignConversationsToBots","trackCustomBotAutoCloseSettings","customBotsSettings","trackOperatorInboxSettingsChange","dataUrl","restoreDefaults","_doRestoreDefaults","bulkTaggingUrl","tagModalTitle","selectedContentWrappers","content_wrapper_ids","contentWrapper","onAfterSave","DeliveryTypeTabComponent","behavior","behaviorValues","behaviorMap","filterContent","selectedMatchBehaviorValues","OutboundEmptyState","fullTitle","pluralizedObjectType","hasAppliedFilter","isOneOff","selectedMatchBehavior","_allowedRoles","leadRole","selectedAudienceValues","audiences","_this$selectedAudienc","roleNames","_audienceTypes","filterByAudiences","SenderComponent","senders","selectedSenderValue","selectedSender","allSenders","_mapSendersToDropdownItems","StateComponent","systemStates","selectedStateValue","_this$args$selectedMa","canUseContentOrientedNavigation","oneOffStates","filterableStates","ongoingStates","ended","activeList","_mapSystemStatesToObjects","additionalTagCount","hasMessagesTags","hasNoMessagesTags","sampleSelectedTagName","_getSortedTags","filterByTags","messagesTags","ListComponent","sortUpdate","isPrioritizable","w1","w2","seenValuePaths","column","ListHeader","showContentCreationModal","StatisticCell","_repliesOrReactionStats","_versionQueryParam","_characterIndex","characterIndex","_viewingParams","emailFailures","repliesStats","reactionStats","denominator","_statParam","viewing","_optionalViewingQueryParam","receipt","completion","goalSuccess","tourStepFailures","tourStepFailure","_getViewKey","rulesetLinkId","sentStatistic","_viewingQueryParam","hasSent","TypeCell","hasMultipleContentFragments","legacyControlGroup","contents","NewContentModal","TemplatePreview","selectedObjective","objective","objectives","objectiveNames","TemplateList","isAvailable","SubmenuComponent","itemSelector","pageWhenWithinPixels","_lastPagedAtHeight","$scrollingContent","debouncedPaginateIfAppropriate","_150MS","requestPage","paginateIfAppropriate","isNearBottom","onPageRequested","scrollBottom","pageTriggerPoint","isPaginating","paginationErrorMessage","_paragraph","Paywall","launchModal","strategy","productPlanIds","activePlanIdsWithoutThisProduct","removePlanIdsFromActivePlans","combinations","allRequiredPriceCombinations","priceSets","combination","includeTiers","bulkLoadPrices","hasActiveSubscription","validEarlyStageApplicant","useExternalModal","showUpgradeModal","loadPrices","_this$plan","openModalAndSetData","_this$plan2","_this$plan3","_this$plan4","_this$plan4$product","_this$plan5","_this$plan5$product","maximumsForActivePlans","_this3$pricingStrateg","pricingStrategyFromPlanForMetric","isActiveOverride","isMetricPaywall","notForcedInactive","appDoesNotHaveFeature","usageLimitReached","forceInactive","selfServe","_this4$pricingStrateg","featureUsage","plansWithMetricUsageAvailable","canUseFree","usageLimit","activePricingMetrics","isPricedOnSeats","freeSeatCount","_this7","contractedUsageLimit","activePlansUsageLimit","appFeature","appIsOnFree","limit","disableFeatureHighlighting","Hover","SelectGroupBlock","SelectItem","UpgradeModal","_this$modalInfo","modalInfo","productVideo","MODAL_FEATURE_INFO","shouldShowFeatureHighlights","allFeatures","fakeProduct","upgrading","_this$modalInfo2","benefits","benefit","PriceBreakdown","canModifyPlan","canModifyOrRemoveProducts","isNotEarlyStage","earlyStageCustomer","_this$breakdown","_this$args$price","_this$args$price$brea","_this$args$price$brea2","_this$args$price$brea3","_this$args$price$brea4","_price$breakdown","_breakdown$charges","baseCharge","rowSummaries","formattedPreDiscountAmount","showPricingLink","fakePlan","_this$args$feature","ConfirmComponent","metricNumber","priceRows","showSinglePrice","newPlanPrice","breakdownLabel","formattedPrice","formattedPriceDifferential","showCurrentVsNewPrice","_currentPlanPrice$bre","_this$newPlanPrice","_this$newPlanPrice$br","currentPlanPrice","formattedOriginalPrice","formattedCurrentPrice","addOnLimit","active_people","people_count","monthly_active_people","quarterly_active_people","addOnIsSelfServe","onProPlan","isPurchasingAddonWithoutSubscription","showNewSubscriptionLegalText","showTrialWithActiveSubscriptionText","customerCanEditCurrentSubscription","isNotAddonWithoutSubscription","planIsCustom","planIsAddon","currPrice","downgradingAndLimitReached","appFrozenForNonPayment","_this$plan$get$findBy","showCreditCardForm","trialWithCreditCard","priceDifferential","sign","productIsTrialable","downgrading","submitAction","date14DaysFromToday","toLocaleDateString","subscriptionWithoutCreditCard","subscriptionWithCreditCard","isNewTrial","redirectToBilling","redirectToTeammates","openMessengerForCustom","openMessengerForPlan","request_type","openMessengerForAddOn","openMessengerForEarlyStage","openMessengerForAccountFreeze","isSdkAppCertificatePresent","fallbackFilename","iosCertificateFilename","iosCertificateExpiration","dateHumanized","certExpirationDateFromNow","iosCertificateExpirationPassed","iosCertificateExpirationPending","savePemFile","certificate_filename","uploadPemFile","triggerPemFileInput","deletePemFile","certificate_expiration_date","PeopleAttributesAttributeValueInfoTooltip","_this$args$attribute","identifierWithoutCompanyPrefix","dataSource","DataUpdateContext","TEAMMATE_SOURCE","changed_by","changed_at","MultipleChoiceEditor","selectOptions","_valueFromString","stringFromValue","DropdownStyleEditor","currentValueAsDateObject","copiedAttribute","_createAttributeCopy","attributeJSON","copiedOption","createAttribute","createQualificationAttribute","dataContext","create_qualification_attribute","generalParamData","_post","qualification_attribute","afterCreate","afterUpdate","IDENTIFIER_REPLACEMENT_REGEX","defaultTypes","originalType","inferredType","originalOptions","hasChangedAttributeType","typeDropdownItems","optionLimitReached","readableTypeName","addOption","newOption","updateType","removeOption","updateNameAndIdentifier","creatingNewAttribute","updatedIdentifier","attribute.name","attribute.identifier","toggleCompany","changingToCompany","regexReplacementString","isInitialClick","KNOWN_DATA_TYPES","AttributeUpdater","leadQualification","isNotCentered","isNotDisabled","hasAttributeValue","hasQualificationCompany","attributeIdentifiesUser","collectedByOperator","isOperatorSource","OPERATOR_SOURCE","collectedByTeammate","sourceMetadata","previousValueOrEmpty","editorDataTypeMap","isUrlValue","linkUrl","editorComponentPath","beginEditing","resyncData","emailParts","stringifiedValue","attributeClicked","emptyValue","valueForUpdate","StringEditor","inputType","adminPermission","adminCanChangeSettings","_completeUpdate","copiedValue","editingCompletedViaBlur","editingCompletedViaEnter","shouldShowCompany","hasNoCompanyAssigned","hasCompanyAssigned","shouldShowDropdown","memberCompanyIds","companiesExcludingQualification","memberCompanies","nonMemberCompanies","hasSearchResults","noQualificationCompany","findCompanies","addToCompany","remoteCompanyId","_reset","removeFromCompanyTask","qualificationCompany","removeFromCompany","hasClickedOutside","hasClickedOutsideWithoutClear","hasClickedOutsideWithoutConfirm","openingConfirm","_focusInput","_confirmAddCompany","_confirmExistingCompany","_confirmEdit","_performTaskOnConfirm","param","_addToExistingOrCreateCompany","existingCompany","itemId","startSearching","regionCode","hasCityAndRegionAndCountry","hasCityAndCountry","hasCountry","hasRegion","isUSAddress","hasTime","hasTimeOrLocation","hasTimeAndLocation","MeasureRenderTimeComponent","sampleRate","guid","guidFor","searchController","noActiveSegment","isOnCompanyRoute","companyRoute","toggleSearch","_popoverContent","PopoverCoordinator","PopoverHeader","_popoverOpener","_popover","PostEditorComponent","currentPostContent","localizedPostContents","presetBase","presetVariant","formatOptions","resetFollowUpActions","_powerCalendarMultiple","_days","_powerCalendarRange","_powerCalendar","_nav","userEventOptions","selectionChanged","changeUserEventType","resetClassNames","noDescriptionsText","_anonymousEditor","_booleanEditor","_campaignBehaviorEditor","_contentEventEditor","_dateEditor","_datetimeEditor","_numericEditor","_numericSelectEditor","_officeHoursScheduleEditor","_optionalSelectEditor","_selectEditor","_stringEditor","_urlVisitEditor","ListEditorComponent","BaseValueEditor","comparisonOptions","GoalsPredicateFilterMap","NumericEditor","numeric","NumericTagEditor","numericTag","OptionalTagEditor","optionalTag","TagEditor","userEventComparisonOptions","user_event","orGroupText","removePredicate","addHighlight","removeHighlight","InlineEditor","setupInlineEditorClasses","initializeDefaultValue","switchJoinType","predicateContext","_logicalMode","_predicateEditor","_predicatesEditor","_disableableSwitcher","defaultComparison","isGoal","hideValueInput","shouldSetDefaultComparison","setupDefaults","getDefaultComparison","valueForOptions","comparisonDoesNotRequiresSuffix","comparisonSuffix","comparisonWithSuffix","TagValueEditor","valueOptions","comparisonEditorOptions","debounceResizeHandler","updateLeftNavBottomContainerHeight","fetchUnreadProductChangesCount","hasOverflowBottomNavEntries","_100MS","messagesIsActive","articlesIsActive","hasNoActiveSubscription","showFreeBanner","platformPageName","canUseUpdatedNavigation","showUnderConstructionBanner","_showUnderConstruction","showUnseenLevelBadge","logoAnalyticsMetadata","saw_unread_badge","leftNavBottomContainerHeight","tooltipAnimationDuration","_this$app2","isOnHomeRoute","_this$router","_this$router$currentR","topNavEntries","_this$app3","_this$app4","_this$app5","navEntries","platformRoutes","svgId","canUseToursInOutboundHome","activeRoute","analyticsEventObjectName","currentlyActiveBottomNavEntryIndex","navEntryIndex","visibleBottomNavEntries","findIndex","navEntry","_navEntry$route","_this$router2","_this$router2$current","bottomNavEntries","_this$app6","_this$app7","updatedSvgs","messenger","appStore","currentRoute","iconSvgName","currentlyActiveTopNavEntryIndex","productIndex","_product$route","_this2$router","_this2$router$current","availableVisibleBottomNavEntrySlots","overflowBottomNavEntries","isTopNavSquashed","_this$app8","_this$media","isLeftNavSmall","isLeftNavMedium","isLeftNavLarge","bottomNavEntriesCount","overflowMenuHasUnread","isUnread","updateAdminLastViewedChanges","productChangesClicked","AppSwitcherPopover","isCurrent","currentAppId","testApps","test_app_id","_popperModifierData$s","referenceElement","popperElement","popper","referenceElementPopoverContainer","productionApps","productionAppsFilter","filteredProductionApps","_this$admin2","sortedProductionApps","testApp","_findTestApp","_makeMiniAppModel","SettingsMenuPopover","recordTimeToRender","IntercomradesProductsOverride","isDeveloperWorkspace","FeatureFlags","DetectsIntercomradesDomain","useSmallScale","productInfo","svgPath","INBOX_ID","productKey","routeName","hasAnyUnread","showInboxCount","showPlatformCount","PseudonymWarner","Pill","SideDrawerContainer","keycodes","escape","ROOT_PARENT_SELECTOR","hasAttribute","createKeydownListener","_handleKeyPress","_accordion","_body","_headerAction","_header","_section","_discoveryBanner","_link","_expandingInput","_fullWidthBanner","_tour","_video","_heroBanner","_description","_links","_title","_largeRadioButtonGroup","_optionContentsFooter","_optionContents","_settingsAccordion","_videoModal","attributeIdsInUse","takenAttributeIds","availableAttributes","DISALLOWED_ATTRIBUTE_IDENTIFIERS","SUPPORTED_ATTRIBUTE_TYPES","editableAttributes","mandatoryAttributes","mandatoryAttributeIdentifiers","uneditableAttributes","hasSupportedType","isAllowedIdentifier","hasUnaddedAvailableAttributes","hasLessQualificationAttributesThanMax","canAddAttribute","addAttributeButtonIsDisabled","selectedAttributes","updateAttributeIdentifier","attributeEdited","showNewDataModal","onSelectionChanged","drawAxes","chartHeight","redrawAxes","_redrawXAxis","_redrawYAxisAndGridlines","dates","datesFromSignal","datesFromRangePicker","dayIndex","defaultStartDate","startDate","endDate","hourIndex","_xAxisStride","maxNumberOfTicks","chartWidth","xAxisStride","isRangeHours","_isRangeHours","isRangeDays","_isRangeDays","dateFormatter","_dateFormatter","makeDateFormatter","stride","_d3Axis","axisBottom","xScale","tickFormat","axis","selectAll","classed","axisLeft","axisYScale","yAxisGranularity","minutesInGranularity","MINUTES_IN_HOUR","scaleValue","formatMinutes","formatYAxis","_unitFormatter","unitFormatter","_d3Scale","scaleBand","rangeRound","maxChartValue","renderComparisonData","isStacked","maxChartValueWithDefault","minChartValue","maxChartValueDuration","yAxisTopInLargestUnit","maxValue","durationAsLargestUnit","yAxisTopInUnits","yScale","scaleLinear","_rangeInDays","rangeEnd","DEFAULT_CHART_MARGIN","margin","data-test-base-chart","signalName","_d3Selection","_drawChart","_redrawChart","drawChart","redrawChart","BotInboxTimeFilterComponent","BubbleChartComponent","_d3Hierarchy","pack","packLayout","hierarchy","root","organize","leaves","maxBucket","maxDay","maxHours","defaultKeyColorHash","_visualizationHelpers","createColorHashForKeys","totalsByLegendItem","contextItem","valueItem","percentsByLegendItem","percents","_ref2$count","_ref2$value","MetricWithComparisonComponent","improvementDirection","NumberWithComparisonComponent","SuggestedTopicButtonsComponent","destroySuggestedTopics","topic_ids","new_topic","SuggestedTopicListComponent","topicsToMerge","existingTopic","topicNames","topicsToCreate","prepareTopics","saveTopic","newTopic","topicIdString","statsObject","rawStats","_topicStatsForDisplay","topicStatsForDisplay","SuggestedTopicShowComponent","keyphraseArray","keyphrase","TopicConversationsCardComponent","conversationPart","otherCompaniesCount","TopicConversationsPreviewComponent","conversationParts","_this$args$keyphrases","loadConversationParts","loadUsers","loadAdmins","prepareConversations","page_size","additionalConversationParts","conversation_preview","conversation_parts","_this$conversationPar","userIdsArray","userIds","adminIdsArray","_this$conversationPar2","TopicShowButtonsComponent","TopicListComponent","reportingSettings","exclude_ooo_hours","exclude_bot_inbox","topicStatsQuery","topicStats","topic_id","_this$args$topics","updateRange","TopicShowComponent","TopicStatsComponent","loadReportingSettings","VisualizationComponent","current_count","CONFIRMATION_MODAL_CONTENT","ChartBuilder","sharedAnalyticsData","editedChartAnalyticsData","chartState","addNewChart","cancelling","date_range","applyDateRange","time_property","dateRange","updateMetric","aggregation_function","metricFunction","updateBreakDownBy","visualization","updateVisualization","filter_name","applyFilter","_helpers","buildHumanizedChartDescription","renderableChart","RenderableChart","custom_chart_id","custom_chart_name","custom_report_id","custom_report_name","chartChangedAttributes","dateRangeChangedAttributes","title_changed","description_changed","metric_changed","aggregation_changed","visualisation_changed","grouping_changed","date_range_property_changed","date_range_date_changed","filters_changed","DateRange","_objectCatalog","getDateRangeProperties","humanizedName","getObjectProperty","startMoment","endMoment","ChannelFilter","loadKnownValues","availableChannels","selectedDropdownItems","selectedChannels","channelName","AVAILABLE_CHANNEL_MAPPINGS","channel1","channel2","REPORTING_FILTER_SELECT_ALL","ContinentFilter","continent","selectedContinents","currentLabel","AVAILABLE_CONTINENT_MAPPINGS","continentId","AVAILABLE_VALUES","fromEntries","CONVERSATION_RATINGS","UserTypeFilter","_this$selectedDropdow","ConversationTypeFilter","INBOUND","INBOUND_TEXT","OUTBOUND_TEXT","OUTBOUND","internalSelection","CONVERSATION_TYPE_MAPPINGS","_isInboundValues","CountryFilter","countries","availableCountries","removeEmptyCountry","selectedCountries","_countries","lookupCountryName","VALUE_LABEL_MAPPING","true","false","exists","not_exists","VALUE_OPERATOR_MAPPING","BooleanFilter","custom_field_type","_this$args$selected$v","passedValue","customField","startingSelectedValue","OPERATOR_LABEL_MAPPINGS","not_in_category","ListFilter","valuesForFilter","optionNames","optionId","valuesOrPlaceholder","startingValues","startingOperator","DateFilterBlock","setDateRange","FILTERABLE_CUSTOM_ATTRIBUTE_TYPES","FilterBar","filterA","filterB","selectorValue","filterTypeAdded","onFiltersCleared","filterTypeToRemove","initialFiltersAdded","onFiltersChanged","filterValues","descriptors","conversationAttributeDescriptors","canFilterByConversationAttributes","selectorLabel","isArchived","AVAILABLE_FILTER_CONFIGS","customAttributeFiltersConfig","teammatesAssigned","teamsAssigned","configuredFilters","filterTypesNotAdded","supportedFiltersConfig","configA","configB","ensureDateRangeIsFirst","addedFilterTypes","filterConfig","barFilters","customAttributeFilters","allFilters","SlaFilter","slas","selectedSla","selectedSlaId","_this$_findSla","_this$slas$firstObjec","_findSla","_this$_findSla2","TagFilter","TeamAssignedFilter","team_count","availableTeams","teamItemLabel","teammateId","teamsWithUnassigned","TeamParticipatedFilter","TeammateAssignedFilter","teammate_count","selectedTeammateIds","availableTeammates","teammateItemLabel","teammatesWithUnassigned","TeammateParticipatedFilter","user_role","contact_role","Filters","customAttributeIds","onConversationAttributesFilterChanged","propertyIdentifier","_filterHelpers","mapFromFilterIdentifierToPropertyIdentifier","chartConfig","filterIdentifier","filterableProperties","mapFromPropertyIdentifierToFilterIdentifier","conversationAttributeFilterValues","toFilterValues","Metric","buildPropertyDropdownItems","getMetricProperties","getMetricFunctions","metricProperty","Visualization","getGroupableProperties","ChartRenderer","buildViewConfig","buildDataConfig","cached","ChartTitle","chartTitle","NewReport","DELETE_CHART_CONFIRMATION_MODAL_CONTENT","DELETE_REPORT_CONFIRMATION_MODAL_CONTENT","Report","editedAttributesData","editedReportAnalyticsData","hasPendingNewCharts","onReportSaved","chartId","_operator","shouldDisplayDateFilterWarning","sessionStorage","setItem","_unused","updateFilter","CONVERSATION_OBJECT_IDENTIFIER","clearFilters","buttonPosition","button_position","transitionToNewChartPage","toHash","charts","getItem","reportChangedAttributes","number_of_charts","ReportFilters","ChartChrome","reportState","ChartLayout","previousChart","currentChart","isCounter","_humanize","humanize","setDefaultDateRange","selectedRange","setDefaultRange","setRange","setCustomRange","hideCustomDateRangePopover","DownloadReport","downloading","reportSubscriptionService","createNewDefaultSubscription","jsonBlob","dashboard","toJson","cadence","dashboard_id","dashboardId","bannerMessage","adminEmail","isVertical","keyedGroups","agg","layers","_d3Shape","stack","layer","_layer$","scale","createScaledStackItem","createRelativeStackItem","horizontalGroupStyle","verticalGroupStyle","BaseChart","AxesMixin","data-test-reporting-bar-chart","showComparison","bucketWidth","availableBarSpace","cappedBucketWidth","gapWidth","bucketCount","barWidth","_palette","buildPalette","hoverTextUnit","bars","exit","enterJoinBars","enter","xTransform","x_val","d3Color","darker","merge","previousKey","barScale","previousContext","DEFAULT_HEATMAP_COLORS","colorScale","scaleQuantize","data-test-reporting-horizontal-bar-chart-with-rule","plots","points","convertSignalContextToStack","data-test-reporting-stackable-bar-chart","currentBar","hasPreviousBar","previousBar","setComponentWidth","setComponentWidthDebounced","HOUR_INTERVAL_TIMES","isMaxCell","createLine","_ref2$yScale","drawLines","keyColorHash","initialLineFn","finalLineFn","enterPoints","ease","easeCubicOut","attrTween","_d3InterpolatePath","interpolatePath","showTicks","axisItems","formattedRangeDate","directions","INCREASING","DECREASING","improvementDirections","data-test-summary-comparison","showNotChangedText","showDeltaText","showRangeText","previousRangeDelta","signalHasIncreased","signalHasDecreased","signalHasNotChanged","signalHasImproved","hasIncreasedAndImproved","hasDecreasedAndImproved","arrowIcon","formattedComparisonStart","comparisonStart","formattedComparisonEnd","comparisonEnd","baseline","rangeInDays","formatDate","fromTo","availiableWidth","itemsCount","spaceBeforeItems","scaleTime","labelOffsetStyle","scaleUnit","convertScaleUnitToMinutes","abbreviate","hideDefaultUnit","labelOffset","hasAxis","chartMaxValue","yAxesTop","rangeMax","axisScale","ghostColumns","col","buildOptions","buildTense","_ref2$suffix","tense","multiple","selectedFilterBlocks","selectedFilters","availableFilters","selectedLabel","blockDetails","buildBlockDetails","deletable","dropdown","filtersDropdown","onAddFilter","savedFilters","allFiltersHaveValues","whitelist","blocksByKey","availableFilterBlocks","addFilterFieldByKey","removeFilterByIndex","toRemove","updateView","updateFilterValueByIndex","updatedValue","valueLabel","localOptions","updateSelectedOptions","setSelectedOptions","VALUE_TYPE_KEY_MAP","METRIC_TO_QUERY_MAP","volume","QUERIES","CONVERSATIONS_VOLUME","response-time","RESPONSE_TIME","first-response-time","FIRST_RESPONSE_TIME","time-to-close","TIME_TO_CLOSE","signalQuery","excludeOoOHours","defaultKey","selectedGrouping","groupingBlacklistKeys","selectedGroupingKeys","selectedGroupingValuesByKey","groupingKeys","_this$blocksByKey$key","json_view","_ref3$groupingValuesB","groupingValuesByKey","_ref3$visualization","_ref3$metric","_ref3$interval","_ref3$filters","allSelectedGroupingsHaveValue","BLOCKS","_conversationEventBlocks","CONVERSATION_TAG","USER_TAG_IDS","CURRENT_TEAMMATE_ID","CURRENT_INBOX_ID","ORIGINAL_INBOX_ID","blockKeys","queryGroupings","filterProperties","canUseExplorerIteration","optionCounts","legendItemOptions","groupingKey","_ref4$value","legendItems","previousLegendItemKeys","currentLegendItemKeys","legendItemKeys","legendKeyColorHash","onUpdateView","fetchTopKeys","keysSignal","topKeys","threshold","addValuesForGrouping","setBlockValues","valueProperty","blockValuesByKey","setGrouping","removeGrouping","setMetric","setVisualization","setRangeInterval","viewList","canSaveSelectedView","selectedViewHasBeenSaved","selectedViewIsNew","selectedViewIsNamed","fetchViews","saveSelectedView","_yield$this$selectedV","onSelectViewId","createNewView","updateJSONView","ColumnSelection","COLUMN_DATA","columnNames","selectedColumnSet","selectedColumns","COLUMN_NAMES","updateSelectedColumns","columnName","_event$target","checkedValue","_updateColumns","_event$target2","shouldBeChecked","dataTypeDisplayName","exportFlag","ExportScheduleButtonsComponent","showScheduleModal","deleteSchedule","showDeleteModal","_openScheduleModal","openSidebar","isScheduleManagementDisabled","FREQUENCIES","ExportScheduleModalComponent","WEEK_DAYS","_loadHours","monthlyDays","hoursGroup","monthlyDaysGroup","readOnlyDayGroup","readOnlyDay","timezoneString","_formatTimezoneToUtc","submitSchedule","closeScheduleModal","scheduleToEdit","dayOfMonth","resetSchedule","isMonthlyFrequency","isWeeklyFrequency","ScheduleSidebarComponent","timeToExport","frequency","scheduleIds","schId","scheduleRecord","filtersChanged","filtersUnchanged","customAttributesFiltersUnchanged","listFiltersUnchanged","groupingChanged","signalType","groupOverTime","updateChart","_signal","normalFilters","baseAggregations","fetchConversationRatingSignal","fetchComparisonSignal","fetchTabularSignal","fetchLeadSourceSignal","fetchHeatmapSignal","transforms","transform","BucketRangeTable","singleSeries","dataArray","columnWidth","tableChart","dataResponses","rawTableData","v","sumOfAllDocuments","percentageOfValues","ViewAbstractionComponent","ChartComponent","canUseFlexibleGeolocationFilter","persistentDataConfig","registerChart","selectedAggregation","aggregation","showEditor","chart_id","chart_identifier","dashboard_identifier","aggregation_method","grouping_method","selectedGroupingObj","findSelectedGroupingObj","newXAxis","sorting","termSize","excludeMissingGroup","labelMappings","_ref2$comparison","valueOf","filtersList","_i","_Object$entries","_Object$entries$_i","buildFilters","mergedDataConfig","defaultConfig","previousPeriodSeries","isComparison","previousSeriesToCreate","transformFilterList","getFilterList","_this2$getTimeConstra2","getTimeConstraintsValues","_this2$getTimeConstra4","savedAggregationDisplay","savedGroupingDisplay","lowerGroupingDisplay","createTitleTooltipText","findSelectedAggregationObj","_this$paywall","aggregationsWithPaywall","_this$paywall2","groupingsWithPaywall","_this$paywall3","_this$persistentDataC","defaultAggregationOptionValue","persistedAggregationMethod","_this$paywall4","_this$persistentDataC2","defaultGrouping","persistedGrouping","dataConfig","buildXAxis","transformSeriesFilters","filterList","mainFilterList","canEditChart","setAggregation","chartComponent","isComparisonCounter","useEmptyComponent","forceEmptyComponent","Columnchart","currentPeriod","percent","updateCurrentPeriodWithPercentValues","previousPeriod","transformedResponses","_this$args$viewConfig","groupingTransformation","dataTransformation","dataModified","_this$args$viewConfig2","_this$args$viewConfig3","_this$args$viewConfig4","buildVisualisationData","sortAndLimitValuesIfNeeded","legendLabel","legend","tooltipDisplayUnit","columnChart","showInLegend","dataResponse","xAxisType","gv","_group$names","mappedX","mapLabel","visualisationData","_this$args$dataConfig","_this$args$dataConfig2","_this$args$dataConfig3","aggregationFunction","midpoint","sortedValues","SORTING_LABEL_NAME","truncated","truncatedData","otherData","otherBucketValue","aggregateValuesForOtherColumn","labelMappingFunction","dividend","divisor","percentValue","comparison_columnchart","comparison_columnchart_previous","inDays","_this$args$viewConfig5","stacking","seriesColors","ColumnchartBuilder","buildTheme","ComparisonCounter","Formatters","formatData","_currentCounterValue","_previousCounterValue","_this2$viewConfig$cou","_this2$viewConfig$cou2","counter","formatCounter","Counter","responses","_this$viewConfig$grou","Dashboard","dashboardName","reverseFilterMappings","customFilters","chartConfigurations","filterModifiers","currentUrl","chartCanonicalName","currentViewConfig","continentNames","_country","COUNTRY_ALIASES","filteredCountries","getCanonicalCountryNames","cleanData","COUNTRY_NAME_TO_VALUE_LOOKUP","paywallFeatureKey","nonPaywalledFilters","paywalledFilters","noFreeItems","paywalledItems","initialFiltersAddedDirty","initialFiltersAddedCleaned","newFilterTypes","_this3$paywall","teamsParticipated","filtersWithPaywall","_this6$args$conversat","getAttributes","_this8","_ref6","_ref7","currentSla","teamNames","teammateNames","Heatmap","curr","formattedValues","HeatmapBuilder","HighchartsComponent","initializeHeatmapLibrary","isHidden","_heatmap","Linechart","symbol","seriesDefaultOptions","_dataResponse$","allLineNames","groupItem","innerGroup","allXValues","resultLines","lineName","xValue","mapLineLabel","innerGroupValue","_this$args$dataConfig4","lineA","lineB","LinechartBuilder","TableComponent","loadAuthor","articleCollection","getCellValue","cellValue","loadArticle","educateEventService","_this$article","CSATCellComponent","complexValue","rawPercentage","toPercentString","TableLocalFilters","teamFilterLabel","currentTeamFilterLabel","currentSelectedDropdownTeamsBuffer","currentSelectedDropdownTeams","selectedDropdownTeams","sdt","onTeamFilterSelection","selectedTeammates","currentSelectedDropdownTeammates","currentSelectedDropdownTeammatesBuffer","teammateFilterLabel","currentTeammateFilterLabel","selectedDropdownTeammates","onTeammateFilterSelection","allTeamItems","allTeammateItems","isTeammate","aliases","numberOfRowsVisible","rowsVisible","childTasks","updatedDataConfig","_addGlobalFilters","timeRange","dataRequests","_tableDatarequestBuilder","convert","dataRequest","tableData","_convertToTableData","_processRows","_calculateCustomValues","_sort","mergeableRows","tableDataMap","td","mergedMaps","getRowsMap","isVisibleRow","rowNameProperty","columnCustomFunctions","customRow","rowsWithoutCustom","ccf","customFunction","columnTypes","rowsWithIgnoreColumns","ignoreFilters","ct","newCol","_getColumnFilterList","_getGlobalFilters","_transformFilterList","TableDataResponseMapper","mapToTableInput","sortState","_this$_splitPositiona","_splitPositionalAndRegularRows","newRows","regularRows","positionedRows","_this$sortState","specialSortingColumn","sortingHelper","getSortValue","valA","valB","_typeof","rowOrder","rowsData","found","ro","rowIgnores","omit","filterAlias","mergeCombined","_this$_splitPositiona2","_column$aliases","getRowValue","exportCSVTask","CSV_EMPTY_LINE","csvFilenamePrefix","headingText","csvHeaders","csvFilters","csvTableData","csv","withSeparator","rawFilters","filterName","csvFormatCustomAttributeFilters","displayFilterName","_filterDisplayFormatter","formatFilterDisplayName","displayFilterValues","formatFilterDisplayValues","formattedCustomAttibutes","_loop","_Object$entries2$_i","_Object$entries2","_i2","customAttribute","customAttributeValues","conversationAttributeDescriptor","formatCustomAttributeDisplayName","formatCustomAttributeDisplayValues","columnLabels","csvLabel","_step2","_iterator2","visibleTableData","loadAllData","requestBuilder","DataRequestBuilder","dataInputConfiguration","convertResponsesToVisualisation","mapToSameAxis","convertToTargetVisualisation","REPORTS_PRECISION_DEFAULT","showPercentage","totalValue","reports","customerSupportReports","leadGenerationReports","inboxReports","operatorReports","customReports","AVAILABLE_FILTERS_WITH_CUSTOM_ATTRIBUTES","rbrace","ReportingChartTooltipsComponent","extractData","tooltipOpenerElement","datum","castData","normalisedIndex","setHoveredItem","data-test-line-chart-legend","showContextMultiselectDropdown","displayedItemCount","MAX_CHART_LINES","scopingTagId","sortedSignalComparisons","signalComparisonsLimitedByDisplayedItemCount","signalComparisonsWithoutScopingTagComparison","scopingTagComparison","displayedSignalComparisons","hiddenItemCount","chartColorId","greenBlueScheme","data-test-reporting-line-chart","raw","sortedData","sortedKeys","indexedData","tagData","numberOfDates","interpolateZeroCounts","selectedIndex","compressYAxis","signalNameColorIndex","_data$map2","_toArray","_ref","_ref$value","rest","flattened","adjustedMin","setMinYAxis","baseLine","enterTags","l","shouldUseGB","TAG_COLOR_COUNT","chartLineClasses","_renderDots","tooltipComponent","lineData","circles","colorId","enterCircles","reportName","canFilterByTag","ReportingMultiselect","isSelectAllActive","shouldSelectAllBeActive","groupTree","toggleSelectItemByValue","executePropertyIfItIsAFunction","selectAllLabel","onSelectAllClick","ctx","_ctx$selectedItems","_ctx$selectedItems$fi","setSelectedItemByValue","_this$selectedItems","_this$selectedItems2","_items","_items$","_items$$items","hasItemsSelected","itemsWithSelectAll","buildSelectAllItem","IcMultiselect","COMMON_ANSWERS_PARAMS","signalConfig","commonAnswersContext","fetchSignalAndModel","fetchAnswers","fetchStackedSignal","commonAnswers","modelKeys","linkRoute","topArticles","fetchTopArticles","insightsResponse","articlePerformance","CachedArticleStore","ArticlesEngagementTable","timeFormatter","buildTeammatesMap","relevantArticleContent","articleContent","teammatesMap","authorId","percentageValue","componentData","articleTitle","articleUpdatedAt","getPercentageForSorting","formatPercentage","_articles","articleViewsDataConfig","conversationsCreatedFromArticlesDataConfig","negativeReactionsDataConfig","term_size","ArticlesOpportunitiesTable","operators","ArticlesUniqueViewCounter","CARDINALITY","ArticlesViewCounter","COUNT","ArticlesViewChart","article_unique_views","article_total_views","RATING_COLOR_MAP","_RATING_COLOR_MAP","CONVERSATION_RATING_IDS","AMAZING","GREAT","OK","BAD","TERRIBLE","_signalTransformations","createBucketsForKeys","stackBucketsToPercents","ratingColorMap","baseQuery","allConversationsQuery","event.type","conversationsQuery","summaryValueComponent","canUseConversationList","linkAction","BusiestPeriodCounter","MAX_FIRST_USER_CONVERSATION_PART_CREATED_AT_DAY_OF_WEEK","FIRST_USER_CONVERSATION_PART_CREATED_AT","BusiestPeriodHeatmap","FIRST_USER_CONVERSATION_PART_CREATED_AT_DAY_OF_WEEK","ClosedConversationsComparisonCounter","newFilters","admin_participant_ids","COMMENT_CREATED_AT","CONVERSATION_ID","NEW_CONVERSATION_STATE","ClosedReopendConversationsColumnchart","STATE_START","closed_conversations_columnchart","reopened_conversations_columnchart","CONVERSATION_STATE","PREVIOUS_CONVERSATION_STATE","NewConversationsChannelsColumnchart","CONTINENT","COUNTRY","CHANNEL","CHANNEL_GROUPING_TERM_SIZE","NewConversationsColumnchart","canUseReportingChannelDrilldown","NewConversationsComparisonCounter","SERIES_NAME","NewInboundConversationsComparisonCounter","messageSubclassTypeValues","message_subclass_type","OpenSnoozedColumnchart","open_conversations_columnchart","snoozed_conversations_columnchart","data_model","OpenedConversationsComparisonCounter","ReopenedConversationsComparisonCounter","RepliedToConversationsColumnchart","new_conversations_columnchart","replied_conversations_columnchart","buildTeammateFilter","seriesName","RepliedToConversationsComparisonCounter","RepliesSentColumnchart","RepliesSentComparisonCounter","SnoozedConversationsColumnchart","TOP_MESSAGES_PARAMS","FILTER_STARTED_CONVERSATIONS","TOP_CUSTOM_BOTS_PARAMS","FILTER_CUSTOM_BOT_CONVERSATION","ALL_SIGNAL","FILTER_CUSTOM_BOT_AND_AUTO_MESSAGES_CONVERSATION","modelToRoute","keyToLabelFallback","_key$split2","fetchSignalsAndModels","topListCount","fetchTopModels","_key$split4","topMessages","topValuesSignalToContextSignal","prefixContextKey","topCustomBots","allSignal","combinedTopSignal","concatAndSortSignalWith","_yield$this$fetchSign","topListContext","otherRow","TOP_URLS_INBOUND","FILTER_INBOUND_CONVERSATION","ALL_INBOUND","topUrlsContext","topUrls","allInbound","ClosedOnFirstContactColumnchart","IS_RESOLVED_FIRST_CONTACT","ClosedOnFirstContactCounter","closed_on_first_contact_filtered","FirstAssignmentTimeColumnchart","MIN","MAX","MEAN","aggregationProperty","botInboxAndOfficeHoursField","ASSIGNMENT_BEFORE_FIRST_ADMIN_REPLY_TIME","reportingExcludeOooHours","FirstAssignmentTimeCounter","first_assignment_time_counter","FirstAssignmentToCloseBreakdown","_ref2$displayUnit","_ref2$aggregations","_ref2$tableChart","_ref2$counter","LAST_ASSIGNMENT_TO_CLOSE_TIME","ranges","FirstAssignmentToLastCloseTimeColumnchart","FirstAssignmentToLastCloseTimeCounter","first_assignment_to_last_close_time_counter","NumberOfTeammateRepliesToCloseColumnchart","CLUSTERED_TEAMMATE_REPLIES_COUNT","numberOfTeammateRepliesToCloseCounter","number_of_teammate_replies_to_close_counter","ReassignmentsColumnchart","REASSIGNMENTS_COUNT_AFTER_ADMIN_REPLY","ReassignmentsCounter","reassignments_counter","RepliedToConversationsCounter","BREAKDOWN_FETCH_SIGNAL_PARAMS","BREAKDOWN_CATEGORIES_INBOUND","sumKeys","BREAKDOWN_CATEGORIES_OUTBOUND","BREAKDOWN_CATEGORIES","sumBucketsToCategories","asPercentages","sortContext","inbound","filterContextKeys","outbound","TeammateTable","precalculatedAllTeammatesMap","getTeammates","selectedFilterItems","teamsData","filterSelectedTeamTeammates","st","setObjects","filterSelectedTeammates","teammateName","row-summary","formatTime","sumRowValues","pick","categoriesColors","NEW_PEOPLE_BY_USER","PERSON_IDENTIFIED_EVENT_TYPE","GROUP_BY_USER_FIRST_CONVERSATION_MESSAGE_TYPE","PEOPLE_CREATED","GROUP_BY_USER_ROLE","ConversationsAssignedTeamColumnchart","COMMENT_TEAM_ASSIGNED","teamMapping","FirstResponseByTeamLinechart","TEAM_GROUPING_LIMIT","TEAM_GROUPING_TERM_SIZE","exclude_missing_group","LAST_TEAM_ASSIGNED_BEFORE_REPLY","botInboxTimeExcluded","_this$args$botInboxTi","botInboxTime","teamFilterValues","isObject","labelCanWrap","groupAlias","dataConfigForTimeToClose","canQueryPowerfulIndices","timeTimeToCloseField","hasMeetingBooked","setHasMeetingBooked","ALLOWED_SIGNAL_IDS","SIGNAL_CONFIGS","CONVERSATIONS_PARTICIPATED_IN","NEW_CONVERSATIONS","zeroColor","lineChartEmptyStateComponentPath","hiddenLineChartItemType","hoveredLineChartIndex","isBarChart","isHeatmapChart","isLineChart","isStackedBarChart","isHorizontalBarChart","emptyStateActive","canHaveChildEmptyState","signalId","_fetchSignalFromSignalId","fetchScopedTagIdsAndComparisonTagSignal","_uniqueConcat","firstArray","secondArray","scopedTagIds","fetchScopedTagIds","fetchComparisonTagSignal","listTags","displayConversationTagIds","refetchSignalFromSignalId","itemIndex","data-test-single-stat","iconColor","ORDERED_HAPPINESS_RATING_INDEXES","HAPPINESS_PALETTE","_HAPPINESS_PALETTE","data-test-reporting-stacked-bar-chart-legend","sumOfAllBuckets","sumForBucketIndex","percentForBucketIndex","calculateAggregatePercentage","_ref2$usePreviousCont","usePreviousContext","roundedPercentForBucketIndex","data-test-reporting-stacked-bar-chart-summary","previousTotalCount","amazingOrGoodCount","_ref3$usePreviousCont","amazingOrGoodPercentage","previousAmazingOrGoodPercentage","data-test-reporting-stacked-bar-chart","removeChild","childNodes","scaleOrdinal","dateExtent","_d3Array","extent","yAxisStride","elem","roundedPercentagesPerRating","totalsPerRating","bandwidth","_d3Color","Subscription","loadHours","loadSubscription","fetchingSubscription","retrieveSubscription","subscriptionId","handleSubscriptionNotFound","autoOpenModal","notifyHelp","bannerTimeToLive","currentAdminIsOwner","openSubscriptionModal","openUnsubscribeModal","showUnsubscribeModal","is_owner","notifyConfirmationWithButton","daily","weekly","cadenceDayOfWeek","monthly","cadenceDateOfMonth","send_time","cadenceTimeOfDay","send_day","getSendDayForFrequency","showSubscriptionModal","submitted","updatingSubscription","recipients_length","notifySubscriptionUpdated","notifySubscriptionSaved","resetSubscription","rollbackSubscriptionChanges","showDeleteSubscriptionConfirmModal","customDateRange","monthlyDayBannerMessage","frequencies","frequencyToString","dayToString","hourToString","isCurrentAdmin","destructive","openDeleteSubscriptionConfirmModal","normalizeString","currentSortState","filterState","numPagesShowing","_this$currentSortStat","asc","filteredData","normalizedFilter","numRecordsShowing","currentData","sortAliases","onLoadMore","noFilterDescriptor","selectedTag","rawTags","buildItem","setSelectedItem","LineChartLegend","signalContextKeys","selectedSignalContextKeysWithoutScopingTag","selectionDropdownItems","previousSelectedTagIds","_didSelectedTagIdsChange","sortedSelectedTagIds","sortedPreviousSelectedTagIds","_considerRefetchingSignal","onSelectionChange","onMultiselectClosed","selected_count","teammatesAndTeams","CURRENCIES","dollars","datePattern","formattedCurrentDate","formattedCurrentRangeDate","_dateRangeBucketFormatter","dateRangeBucketFormatter","aggregationInterval","isBucketGreaterThanDay","isCurrency","_resizeText","multiActionIdentifiers","removedActionIdentifiers","conversationAttributeIdentifier","usedConversationCustomAttributeRuleActions","usedConversationCustomAttributeRuleActionIdentifiers","availableConversationCustomAttributeItems","availableActionIdentifiers","isCustomerFacing","hasUsedAnyAssignmentActionIdentifier","isAssignment","availableActionConfigs","availableActionsGroupList","_this$slaPaywall","allowConversationAttributes","slaPaywall","slaItem","trackAppInserterEvent","addAction","stopImmediatePropagation","attribute_type","firstValue","removeAction","selectableTags","allUsedTagsInActions","actionTagName","tagItems","updateTag","creator_id","adminFromMessage","fromAdmin","_onChange","introduction","reply_from_admin_id","selectApp","updateReply","updateLeadSource","lead_source","TriggerMarketoCampaignOverlay","fetchAndSaveCampaignInfo","TriggerMarketoCampaign","campaignUrl","resetCampaign","marketo_campaign_url","campaign_url","marketo_campaign_id","marketo_campaign_name","currentTarget","fetchingCampaignInfo","is_active","is_requestable","_this$args$action$act","allowTeams","allowUnassignedAdmin","enableRoundRobin","groupedItems","assignableHumanAdmins","_getAssigneeById","round_robin","_setActionData","_setActionDataForOwnerAssignment","action.type","action.actionData","_updateOnChange","PickConversationDataAttributeList","conversationDataAttribute","PickConversationDataAttributeValueOverlay","PickConversationDataAttributeValue","normalizedValue","casted","_this$conversationDat","actionEditorContext","liveConversationSlas","slaOnDelete","allowSlaOnDelete","onDelete","selectItems","slaDescription","selectedConversationSla","slaId","selectedOfficeHoursId","officeHoursLabel","filterBlockDetail","filterBlockDetailTooltip","updateConversationSla","conversation_sla_id","showSlaModal","formatConversationSlaResponseTimes","defaultAllowedRuleConditionalAttributes","onPredicatesUpdate","addRule","removeRule","SavedReplyInserterComponent","allLabels","labels","SegmentFilterAnonymousSelectComponent","leadsEnabled","contentLabels","channelMessage","leadsWarning","contactIndex","_mappedContentWithEnabled","isCompanySearch","iconForStandardSearch","standardSearchObject","companyPlaceholderText","peopleOrUsersPlaceholderText","SelectComponent","fit","optionsHash","optionSelected","CampaignMigrationChecklist","SeriesEdgeGenerator","connectionPoint","_connectionPoint$data","_this$edge$dataObject","edgeTypes","edgeType","connectionPoints","isUsableOutwardConnectionPoint","_this$edge$successor","successor","isUsableInwardConnectionPoint","StandardEdgeGenerator","initialNodeId","initialNode","lastRenderedEdgesAt","updateRenderedEdges","deleteEdge","shortcutsDisabled","ctrlCmdKey","onDuplicateShortcut","onCopyShortcut","onPasteShortcut","onZoomOutShortcut","onSelectAllShortcut","onDeleteShortcut","onArrowShortcut","onZoomInShortcut","selectedNodes","duplicateNodes","zoomOut","zoomFactor","zoomIn","selectedEdge","confirmOptions","deleteNode","addSelectedNode","_moveSelectedNodes","grid","spacing","calculateBounds","TabsConfiguration","SeriesOverviewTabConfiguration","SeriesStatTabConfiguration","ActiveViewConfiguration","overview","ComponentConfiguration","StandardStatListConfiguration","headerTitleComponent","noun","verb","emptyStateDescription","seriesCompletions","seriesDisengagements","seriesExits","seriesCompletion","seriesDisengagement","seriesExit","ActiveView","OverviewList","_fetch","contentSearchWithFilters","object_types","allObjectTypes","page_from","pageFrom","statistics","contentWrappers","lastPageHit","StandardStatsList","changeActiveFilter","makeStatsParametersForSeries","changeActiveView","Predicates","exitPredicateGroup","exitBehavior","seriesExitBehaviors","exitRules","CampaignStateSelector","linkedCampaignStates","DuplicateRulesetIntoSeriesModal","contentSearch","contentObjectItems","_createContentObjectItem","PAGE_SIZE","totalPages","_contentWrapper$relat","_contentWrapper$relat2","relations","fetchMoreContentObjects","bounds","viewportBounds","node_x_position","node_y_position","selectedContentObject","_duplicateLegacyEmail","_duplicateRuleset","graphNodes","_createGraphNodes","conditionNode","_findConditionNode","_createGraphEdge","_findContentNode","newNode","addNode","createGraphEdge","contentWrapperId","objectInterfaceIcons","MODAL_STATES","isEditingTitle","showDeleteSeriesModal","isDuplicatingNode","showDuplicateIntoSeriesModal","storeSettingsState","modalState","onSaveShortcut","openDeleteSeriesModal","HeaderComponent","MigrationModal","SetLiveButton","setLiveConfirmationData","startingNodes","nodeId","showSetLiveModal","migrated_from_campaign","migrationFromCampaignHasStarted","graphNode","focusNode","campaign_behavior","selectedCampaignState","SeriesNodeActionsComponent","seriesNode","SeriesNodeConditionDelayEditorComponent","openState","popoverOpen","SeriesNodeConnectorWrapperComponent","_canBeVisible","outwardEdges","uiProperties","startAlignment","connector","isShowingShortcuts","seriesEdgeTypes","SeriesNodeConnectorsComponent","lastLayoutForGraphUpdateTime","lastGraphUpdateTime","numberOfCalculationsForCurrentLayout","isInLoopedShift","draggingEdge","draggingNode","rightwardEdges","isAlternative","_setShiftedValue","isShifted","connectorsAreHovered","showConnectors","unsetHoveredState","ContentShortcutsConnector","NodeHasContentAttributes","hasOutwardEdges","contentEventAttributesFor","StandardConnector","debouncedCalculateBlockDistance","hasCloseBlock","hasCloseNextBlock","coversCoordinates","coordinates","edgeTypeForNewEdge","generator","_this3$_offsetsFromNo2","_offsetsFromNodeTopRight","addConnectionPoint","calculateBlockDistance","_this4$_offsetsFromNo2","elementRect","parentRect","nodeTopRight","connectorCenter","_truncateString","SeriesNodeExplicitWaitingSettingsComponent","delayBehavior","nodeDelayBehaviors","noDelay","maxEvaluationTime","asSeconds","delayable","timeInMilliseconds","isDelayable","delayDescription","hasFalsePath","descriptionValue","Standard","removeSelectedNode","hoveredNodes","canInsertEdge","hasAccessToRequiredFeature","canShowErrorOnNode","hasErrors","isCondition","defaultDelayDescription","hasAlternativePath","defaultDelayTimes","implicit","SeriesNodeInAppDelayEditorComponent","SeriesNodeInserterList","CONNECTION_POINTS","onInsertionStart","onInsertionEnd","nodeConfigurations","NODE_CATEGORIES","inserterConfiguration","SeriesNodeInserterStandard","inserterConfig","isTooltipDisabled","disabledTooltipContent","DEFAULT_MAX_EVALUATION_TIME_IN_SECONDS","SeriesNodeShortcuts","customDescriptions","contentEvents","expandedLimit","filteredContentAttributes","placeholderDataObject","successorInserterConfig","placeholderGraphNodeDataObject","hasTemporaryEdge","max_evaluation_time","delay_behavior","eventDescription","contentAttributes","contentEventAttributes","endsWith","rulesetHasGoal","allNodeConfigurations","successorObjectType","componentConfig","hasFetchedRuleset","SeriesNodeStandardStatsSummaryComponent","_this$nonEmptyStats$f","completedCount","disengagedCount","exitedCheckpointCount","nonEmptyStats","completedCheckpointCount","_this$nonEmptyStats$f2","checkpointStats","isEnding","checkpointStatsOverviewValue","disableStatsPopover","SeriesNodeSurroundingConnectorsComponent","NODE_WIDTH","alternative","showCancelChangesConfirmation","loadRuleset","handleDocumentClick","fetchRuleset","isViewMode","tagger","SeriesSettingsComponent","isShowingSettings","cancelSettingsChanges","SettingsEditMode","SettingsViewMode","StandardGoalSummaryConfiguration","StandardExitRulesSummaryConfiguration","SeriesSidebar","wasPreviouslyOpen","SettingsSegmentComponent","requestDeletion","dependentObjectService","SegmentService","saveSegment","identityVerificationRiskStateService","showIdentityVerificationWarningIcon","isOnAppAndTeamsRoute","appSettings","appAndTeams","isOnMessagesAndEmailRoute","messagesAndEmail","isOnMessengerRoute","isOnDataRoute","isOnSpamRoute","spam","isOnInstallationRoute","installation","isOnDevelopersRoute","developers","isOnIntercomOnlyRoute","intercomOnly","isOnSecurityRoute","security","canManageSavedRepliesPermission","noAccessProductSettingsPermission","shouldRedirectToSavedRepliesSection","generalSectionLink","getFirstAccessibleGeneralSettingsRoute","trackIdentityVerificationNotificationEvent","trackIdentityVerificationNotificationEventSidebar","requestCanManageSavedRepliesPermission","BackgroundSelectComponent","selectedBackground","KEY_CODES_CMD","maxlength","colorHexCodeRegex","data-test-color-edit-component","lastUsedColor","invalidColor","throttleColorChange","changeColor","isInvalidKeyCodePressed","altKeyPressed","ctrlKeyPressed","cmdKeyPressed","handleCommandKeyDown","handleCommandKeyUp","handleKeyUp","handleFocusOut","_value","colorWithHashtag","throttleValueChange","handleValueChange","defaultStartTime","defaultEndTime","computedAddFirstRowText","addRowText","hasSingleRow","rowRemovalAction","defaultTimes","onRowAdded","onRowRemoved","removeLastRow","hasTimes","timeSelectionChanged","UserOrCompanyListComponentBase","displayEmptyState","hasReachedLastPage","_predicates","_searchFunction","blockedUsers","_blockedUsers$meta","lastPage","BulkInviteModal","csvParser","preview","parsingErrorMessage","_parseCsvFile","numberOfLinesParsed","parsedCsv","hasPadding","flexes","notValidRequest","filterByAdmin","filterByEventType","maxDays","fromDate","filteredEvents","buildRow","ADMIN_EVENT_TYPES","eventAdminIp","buildEventType","matchesAdmin","filterByAdminId","matchesEventType","displayedEvents","adminEventTypes","setFilterByAdmin","setFilterByEventType","updateDate","dateType","_sendAjaxRequest","_formatCompanies","displayCompany","additionalCompanies","_createUserRows","avatarUser","isCustomer","conversation_count","lastRequestAt","last_request_at","_getErrorMessage","findOrDelete","tableRows","tableColumns","buttonProperties","tableActionName","noSearchResults","emptySearchResults","searchUsers","_yield$this$_sendAjax","selectedUserId","adminToEdit","activeInvitedAdmins","activeInviteLinks","fallbackAdminsAssigned","adminsWithInboxAccessCount","adminsWithoutInboxAccessCount","loadInboxSeatInfo","_inboxSeatInfo","getInboxSeatInfo","reloadPermissions","removeAllRestrictions","toggleInboxSeat","removeInboxSeat","giveInboxSeat","attributeToArchive","dependent_custom_bots","dependent_task_bots","hasDependentObjects","has_dependents","isChecking","fetchDependentObjects","_class2","descriptorTemplateParams","listOptionLabels","createListOptionObject","newListOption","addListOption","_this$args$attributeT","_this$args$attributeT2","_this$args$attributeT3","attributeToEdit","onDescriptorCreated","_this$args$attributeT4","attributeIsArchived","displayableDataType","unArchivedListOptions","DESCRIPTOR_TEMPLATES","productArea","urgency","showDescriptorDetailsModal","showDescriptorArchiveModal","archivedConversationAttributeDescriptors","liveConversationAttributeDescriptors","liveTabActive","tagSearchString","hasSearchString","filterRegex","usersLink","companiesLink","conversationsLink","TagHelper","promptMessage","SlaTable","showArchiveModal","slaToArchive","slaToDelete","toggleArchiveState","closeArchiveModal","hasArchivedSlas","changeTab","closeDeleteModal","liveSlaList","archivedSlaList","slasWithOfficeHours","dateLabel","datePath","sortedAscending","TagsTable","allTagList","TagList","liveTagList","archivedTagList","clearRowBeingEdited","tagList","abortEditing","updateSort","loadMoreRows","rowBeingEdited","canAbandonWithoutChecking","userWantsToContinue","rowBeingDeleted","rowBeingArchived","switchTab","newTagStats","newTag","createdBy","newRow","addToTop","setRowBeingEdited","$iFrame","iFrameContent","activeEvents","archivedEvents","eventTrackers","currentSortColumn","sortDefinition","sortColumn","sortedActiveEvents","allEvents","hasAnyEvents","isSortColumn","eventSearchString","_filterEventsBySearchString","createRow","eventTracker","onArchive","onUnarchive","onDeleteEventTracker","openDetailsView","event_name","toggleSort","platformNames","identityVerificationSettingsRoutes","helpArticles","platformName","identityVerificationSettingsRoute","helpArticle","IdentityVerificationSettingsModal","selectedStrictness","identityVerificationSettings","pingDomain","showDefaultSettings","updateDefaultSettings","updatePingDomainSettings","toggleIsModalShown","STRICTNESS","user_id_and_email","enabledByDefault","defaultStrictness","PingDomainsTable","currentPingDomain","isSettingsModalShown","showSecret","maskedSecret","showUserHashCheckerModal","sdkApps","identityUnverified","installationComponentPath","installationHelpArticles","itemAtPropertyIndex","installationHelpArticle","installMethodSelected","isNotWeb","hasPingDomains","noDomainHasValidUserHash","defaultStrictnessLabel","isDefaultSettingsModalShown","_toggleIdentityVerificationTask","_identityVerificationMobileConfirmationOptions","_identityVerificationWebConfirmationOptions","_updateIdentityVerification","_refreshIdentityVerificationRiskState","_createUserSource","_createSdkAppForMobile","_deleteOldestSecret","_createNewSecret","userSourceFormattedName","maybeCreateSecret","maybeDeleteSecret","chooseInstallationMethod","bindImportProgress","unbindImportProgress","isBound","handleCsvImportProgress","csvImports","importStatus","importSummary","importedRowFailureCount","shouldLinkToUserListUrl","handleImportProgress","verifyCompletion","handleMailchimpImportProgress","mailchimpImports","handleMixpanelImportProgress","mixpanelImports","selectedTypeIsCsv","selectedTypeIsMixpanel","selectedTypeIsMailchimp","selectedTypeIsCsvOrMailchimp","importButtonTextMappings","mailchimp","mixpanel","importButtonText","selectedImports","numberOfOpenCsvImportsForApp","currentImport","showCsvWarning","csvWarningText","importsCopy","showNoImportsMessage","showLoadImports","hasMoreCsvImports","hasMoreMailchimpImports","hasMoreMixpanelImports","generate","imports","pages_left","openImportSummary","importId","importObject","openImportInNewWindow","logService","adminIsDefaultAssignee","adminIsNotDefaultAssignee","willBeReassignedToDefaultAssignee","initialReassignHeight","awayModeTooltip","loggedAdminAndApp","getReassignElement","stopAnimation","_expandReassign","_collapseReassign","cancelAllAnimations","_updateModelDataCache","_logAdminModeUpdateFailure","expectedValue","errorResp","textStatus","remoteErrorMessage","toggleAwayMode","logger","awayModeEnabled","saveOutOfOfficeSettings","awayModeStatus","toggleReassignMode","reassignEnabled","data-test-qualification-attribute-row","openDetailsModal","removeQualificationAttribute","ALLOWED_ATTRIBUTE_IDENTIFIERS","dropdownIsDisabled","dropdownIsEnabled","hasQualificationAttributes","allowedStandardAttributes","qualificationAttributeIdentifiers","userAttributesForDropdown","companyAttributesForDropdown","addQualificationAttributeTask","removeQualificationAttributeTask","_name","_confirmRemove","removeQualificationAttributeAndDependants","operatorSettings","addQualificationAttribute","showNewAttributeModal","Roles","selectedReply","updatedReplyName","notifyDirtyState","updateDirtyState","isDirty","selectedBlocks","DOMAIN_REGEX","AppSsoDomains","appSsoDomain","appSsoDomains","samlAccount","appSsoDomainIds","canShowError","showDnsModal","newDomain","_addAppSsoDomain","isVerifying","domain_verified","domainInputIsInvalid","domainAlreadyAdded","SamlSettings","_getPermissionsObject","jitSettings","permissionsObject","setAllPermissions","samlSubMethodSelected","SAML_AUTH_SUB_OPTIONS","onUpdateSamlSubMethod","subOptionSelected","subOptionEnabled","idpSsoTargetUrl","shouldShowPermissionsModal","conversationAccess","googleAnd2fa","google","_this$args$samlAccoun","_getDefaultPermissionsObject","_getDefaultSubOptionSelected","isDeletingOrNew","destroyEmailAddressTask","companyEmailAddress","deleteCompanyEmailAddress","EmailAddress","senderEmail","isDeleting","CreateCustomSenderAddress","senderAddress","dkim_settings","custom-email-address","sender_address","createdAddressId","showSenderCreationStep","showSenderVerificationStep","toggleDisplayCustomSenderModal","closeCreateCustomSender","emailOrNameValueEmpty","OutboundSenderSettings","SlaArchiveModal","checkForDependents","dependent_sla_rules","dependent_workflows","dependentRules","dependentWorkflows","_this$args$sla2","_this$args$sla","SlaDeleteModal","hasSlas","hasNoSpamMessages","processSpam","spamMessage","processSpamMessage","Validations","_emberCpValidations","buildValidations","validator","domainHasValue","inputNotFocused","deleteDomain","hasNoBreadcrumbRoute","hasNoBreadcrumbTitle","hasBreadcrumbRoute","hasBreadcrumbTitle","hasBreadcrumb","isOnYourAccountSettingsRoute","hideAppName","TagArchiveModal","buttonElement","TagDeletionModal","TagDependenciesComponent","_this$dependencies$na","dependencies","dependentSegments","table","dependent_segments","dependentAutoMessages","dependent_auto_messages","dependentCampaigns","dependent_campaigns","dependentContents","dependent_contents","dependentTagRules","dependent_tag_rules","dependentPriorityRules","dependent_priority_rules","dependentSlaRules","dependentAssignmentRules","dependent_assignment_rules","hasDependency","ConversationAccessEditor","assigneeBlockedList","sortedTeams","teamsToStringify","teamsToExclude","selectedAssigneeBlockedList","initialAssigneeBlockedList","roleOrPermissionObject","accessType","resetExcludedTeamSelection","overrideWithRole","preselectedRole","accessDropdownDisabled","assignableTeams","disableableComponentAttrs","noTeamsForApp","exceptAssignedLabel","selectLabel","accessOptionItems","_this$assigneeBlocked","baseLabel","filterTeams","stringifiedTeamNames","excludedTeams","teamAvatar","generateSafeEmoji","DataLoader","dependentValue","InboxSeatInfo","numberOfSeatsRequired","CsvColumn","previewRows","emailElement","emailContainer","dimensions","emailElements","hiddenEmailCount","isEmailHidden","EMAIL_SEPARATORS","EMAIL_SPLIT_REGEX","Invite","loadInvitedAdmins","addEmails","emailInputMessage","existingEmails","inviteEmails","obj","adminEmails","alreadyInvitedTeammateEmails","extractEmails","invalidReason","invalidTooltipMessage","isExistingEmail","isAlreadyInvitedEmail","isAdminEmail","isInvalidEmail","invalidTooltipContent","truncateEmails","surroundedWithBrackets","seatInfo","maximumNumberOfSeats","maximumNumberOfAvailableSeats","numberOfSeatsInUse","newEmail","addNewlyEnteredEmail","canContinue","onEmailsChange","onContinue","clipboardData","getData","scrollIntoViewAfterRender","getElementsByTagName","_seatInfo","getSeatInfo","numberOfExtraSeatsRequired","ApplyChangesModal","ModelWithPermissions","permissionNames","added","Role","changedAttrs","changedPermissions","permissionName","permissionChange","sortChanges","Permissions","reassignmentsAreValid","changeReassignments","numberOfPermissionsChanged","canUseRoles","showApplyChangesModal","resolveAcceptedFunction","rejectAcceptedFunction","confirmApplyChanges","InboxSeatAllocation","addingOrRemovingInboxSeat","originallyHadInboxSeat","PermissionsEditor","role_id","hideInboxToggle","requiresInboxSeatAccess","roles","shouldShowRoleSelector","numberOfTeammates","selectionIsValid","thingsToReassign","teamMemberCount","firstTeamMemberId","teamsThatWillBeEmpty","conversationReassignmentsAreValid","possibleSendersForMessages","ownedUsersLeadsAndAccounts","RoleEditorButtons","showRoleCantBeRemovedModal","deleteRole","SeatsCostChangeCard","loadSeatInfo","changeInSeats","canSeeCostChangeCard","PricingBreakdown","ActionButtonsComponent","removeTeam","addTeam","accordion","defaultSectionName","revertNewSelectedTeam","selectedTeamStatus","isAppTeam","validTeam","showErrors","saveNewTeam","saveExistingTeam","assignmentMethod","_extractResponseError","deleteSelectedTeam","shouldDisplayDirtyConfirmation","revertSelectedTeam","isCardOpen","teamLinkedToInUrlId","linkedToTeam","setInitialOpenSection","_scrollParent","selectedTeamSettings","data-test-teams-card-component","data-test-teams-card-component-for-app-team","isSectionOpen","teamMembersSortKeys","selectedTeamMembers","selectedTeamSortedTeamMembers","teamMembersCount","teamSubHeading","subheading","selectedSchedule","yOffset","addMember","removeMember","inviteLinks","setupTaskDescription","TeammateListBaseComponent","createColumn","toolTipText","initialOpenSection","newSchedule","savedSchedules","defaultSchedule","getDropdownItemFromSchedule","scheduleId","openNewScheduleModal","tableIsVisible","selectedRoleFilterValue","teammatesWithRole","teammateTeams","rolesSortBy","sortedRoles","rolesItems","teammatesAndTeamsAndEmptyRow","filterTeammatesBySearchTerm","downcasedSearchTerm","toLocaleLowerCase","bulkEditPermissions","changeRoleFilterValue","changeSearchTerm","selectRow","selectedTeamEmoji","emptyTeamMembers","selectedTeamMembersCount","selectedTeamHasTeamMembers","selectAvatarEmoji","isEmojiPopoverOpen","EmailPassword","password","addProduct","countryCodeError","selectedCountry","selectCountry","data-test-signup-form","ChatWithUs","SignupHeapComponent","heap","appid","heapEnvironmentId","identify","gtmIdentifier","cookies","read","highlightedStepClass","chooseProductsClass","navStep","checkoutStepClass","hasLocale","notViaSingleSignOn","viaSingleSignOn","buttonCta","personalEmailDomain","department","adminErrors","appErrors","networkError","appNameError","passwordError","billingAddressErrors","handleCreationError","unsupported_locale","adblocker","onCountrySelected","_trackDropDownEvent","onStateSelected","invalidStateCode","onAddressEntered","trackDropDownEvent","transitionToPayment","signupObject","viewingFromMobileDevice","hasInvalidFormData","_showInvalidFormDataErrors","submitForm","gclid","emailSubmissionId","mrr","_resetInvalidFormDataErrors","resetCardErrors","hasActivePlans","stripeParams","address_state","_sendFormTask","showMobileView","teamsExperience","creditCardNumberError","expiryDateError","cvcError","showPaymentForm","notTeamsExperience","validEmail","buttonCTA","submitText","stripeInputStyle","fontSmoothing","::placeholder","stripeClasses","stripeClassesExpiry","stripeClassesCvc","buildStripeCardElement","setStripeEventListeners","stripeExpiryElement","stripeCvcElement","unmount","stripeElementEventName","stripeElementErrorName","_componentName","emptyAppName","emptyEmail","emptyPassword","emptyCountryCode","emptyStateCode","emptyBillingStreet","emptyBillingCity","invalidBillingStreet","invalidBillingCity","invalidBillingPostcode","invalidPassword","invalidCountryCode","creditCardToken","formTask","stateCodeError","_locationSelectHelper","locationSelect","selectState","AddonCta","addOnId","addOn","formattedAmount","premium","planIdsToUse","_billing","plansFromSolution","isPro","addOnPlanIds","new_trial","product_name","tier","is_trial","sendNewSubscriptionTask","purchase_experience","purchaseExperience","solution_id","pro","cartAmount","onCheckout","fireMarketoEvent","trialSignupEnd","App_ID__c","selectedSolutionIntercom","removeItem","createSubscription","showCart","isEarlyStage","creditCardStep","mobileCart","canAddCoupon","CORE_SOLUTION_ID","productNameFromSolutionId","showCost","testimonial","showPrices","add_ons","PLAN_DATA","productsAndAddOnsWithPrices","getBreakdownInfo","formattedSolutionAmount","toggleCart","showErrorComputed","prop","didSubmitProp","didVisit","didSubmit","isSubmitting","didSubmitCompany","companyName","incubators","INCUBATORS","incubator","fundingLevelOptions","currency","_locale","companySizeOptions","monthOptions","yearOptions","_inclusiveRange","intentOptions","fundingLevel","joinMonth","joinYear","yearFoundedInput","companyDescription","companyWebsite","companyLinkedIn","companyCrunchbase","intent","intentOther","selectedIncubator","notEligibleForEarlyStage","partnerJoinDate","companyNameVisited","companyDescriptionVisited","companyWebsiteVisited","companyLinkedInVisited","intentOtherVisited","showCompanyNameError","showCompanyWebsiteError","showCompanyDescriptionError","showFundingLevelError","showCompanySizeError","showPartnerJoinDateError","showJoinMonthError","showJoinYearError","showYearFoundedError","showIntentError","showIntentOtherError","yearFounded","shouldShowYearFounded","starterErrors","partnerJoinDateOrYearFoundedIsValid","shouldShowPartnerJoinDate","shouldShowIntentOther","showIncubatorField","intentOtherIsValid","companyInformationValid","_trackInteraction","trackEnteringEvent","dropDownSelected","setCompanySize","1-5","6-9","10-49","50 or more","setVisited","submitApplicationInformation","company_website","company_linkedin","company_crunchbase","funding_level","company_size","partner_join_date","company_description","partner_source","partnerSource","year_founded","intent_other","submitApplication","PhoneCountryCodes","dropdownItem","dial_code","asset_url","mobileDropDownItem","mobileGroupList","unsupportedLocale","notSelfServeEligible","not_self_serve_eligible","developerSignup","isDeveloper","phoneCountryCode","authenticatedAdmin","meWithoutRedirect","trackDeveloperWorkspaceClickedEvent","talon","talonValue","phoneNumber","developer","_document$getElementB","DEFAULT_COUNTRY_CODE","STANDARD_STEP_NAMES","EARLY_STAGE_STEP_NAMES","stepNames","stepLabel","CheckoutSidebarComponent","andNOthersWidth","rightPadding","availableWidthWithoutAndNOthers","scheduleUpdateAudienceWidth","MeasureHtml","updateAudienceWidth","measureHtml","uiWidth","displayableUserCount","_getDisplayableUserCount","audienceHasErrors","isEmailMessage","displayedUsers","remainingUsers","usersToDisplayInTooltip","additionalUsersForTooltip","additionalUsersTextForTooltip","userOrUsers","additionalUsersForTooltipHaveErrors","cumulativeWidth","SimpleComposerAudienceUserComponent","ModalComponent","updateMaxHeight","throttleTask","_80MS","_updateMaxHeight","maxModalHeight","$editor","currentModalHeight","currentEditorHeight","newEditorHeight","currentOuterHeight","triggerResize","SimpleTagComponent","filterUrlFromPredicate","SmsEditorComponent","currentSmsContent","sms","localizedSmsMessageContents","SocialConnectComponent","provider","successAction","failureAction","teardown","commonOptions","linkedin","windowDimensions","computeWindowPositions","windowOptions","openDialogBox","deleteSocialAccount","deleteAction","sortableHandle","sortableItem","componentIsSortableArea","sortableAreaSelector","draggableItemSelector","draggableGhostClass","animationTime","requiresTableGhostFix","updateInternallySortedItems","sortableAttribute","setUpSortable","forceFallback","fallbackClass","changeProperties","_updateOrdering","tearDownSortable","updatedItemId","_shiftItemsUp","_shiftItemsDown","productTrialText","_PRODUCTS$this$get","uniqueFeatureKey","iamService","hasEmailSubmissionId","hasSignedUpWithSolutionId","hasSignedUpFromOperatorPage","hasInviteToken","showSSO","showOptionalFields","showNameField","showCompanyField","allowSSO","createApp","inviteToken","allowSaml","samlAccountName","showSaml","allowEmailPassword","subscriptionErrors","checkEmailDomainDebounce","checkEmailDomain","getDomainName","personal_email_domain","startGoogleAuth","startSamlAuth","urlParamsForSignIn","getLocale","Modal","guess","exportData","start_date","end_date","hideCsvExportModal","StatsComponent","StatsParameters","contentId","uiObjectName","shortObjectName","activeTab","data-test-stats-system-tab-container","CONTENT","reportingStats","shouldShowGoalTab","shouldHideGoalTab","_configForObjectType","showStat","_getPercentageForStat","statName","statCount","statCountKey","tabContent","statColors","GoalEditor","initializeGoal","predicateArray","createPredicatesArray","timeConstraint","defaultTimeConstraint","defaultGoalMatchingTime","entityId","entityType","entity_id","entityName","goalType","_trackGoalUpdateEvent","updateEntityGoal","timeToMatch","timeConstraintsByEntity","hasClientPredicate","hasUserPredicate","statsSystemGoalAttributes","priorityUserAttributes","requiredFilter","sortedUserAttributes","nonEventAttributes","BasePercentageStatList","createPercentBucketsForNestedKeys","queryKeys","BaseStateList","overrideColumns","hideCreatedVia","canUseMatchingSystemVersioning","objectWithVersions","statsParameters","statRows","_fetchStats","additional_filters","additionalFilters","_this$args$existsFiel","baseQueryParams","existsFieldsFilters","additionalFiltersWithVersionId","showUniqueUsersOnly","uniqueCount","uniqueStatsRows","currentUserList","matchedUser","include_total","uniqueUsersList","_removeDuplicateUser","ClickList","selectedFilterValue","content_link.id","EmailFailureList","emailFailureCategories","hardBounce","spamComplaint","failure_category.id","DefaultEmptyState","overrideEmptyStateTitle","TourStepFailureEmptyState","helpdoc_feature","helpdoc_name","GoalSuccessList","descriptionPrefix","goalAttributeDescription","ArticleContentViewsTitle","statMetadata","selectedUserIds","_uniqueSelectedUserIds","disableBulkMessage","bulkMessageLabel","uniqueUserCount","bulkTagLabel","tagTitle","numberOfUsers","selectedUsers","tagUsersTask","tag_names","is_select_all_mode","_makeOptionsForBulkMessageModal","_getLegacySelectionState","_trackBulkActionEvent","showBulkTagModal","showBulkMessageModal","ClickTitle","fetchContentLinks","localizedContents","model_id","_stripRulesetVersionId","model_name","contentLinks","localizedContentId","filterItems","restartableTask","EmailFailureTitle","emailFailure","GoalSuccessTitle","goal_id","ReactionTitle","postReactions","unicode_emoticon","rangeField","aggregationType","aggregationField","statVisualizationColors","contentFilters","eventFilters","additionalFiltersWithReaction","filterReaction","_timezone","ReactionList","current.stat_reaction.reaction","ReceiptList","overrideNoun","overrideVerb","overrideEmptyStateDescription","stepDescription","RulesetCell","_this$node","Table","selectedRows","_stripeCardCvc","_stripeCardExpiry","_stripeCardNumber","_stripeCard","_stripeElements","_stripePostalCode","submenuTitle","setActiveSubmenu","searchIsSelected","searchIsDisabled","shouldNotShowSearchIcon","shouldShowSearchIcon","data-test-submenu-header","searchShortcutPressed","searchAction","isOpenIsUndefined","isOpenIsDefined","collapseSectionRightPadding","isScrollableList","saveTag","oldName","BaseAdminEventCell","settingsService","appTimezone","PermissionList","rawPermissionName","permissionValue","PERMISSION_LABELS","commaSeparatedOptions","joinBy","formatName","dataFormatMap","isCustomData","humanFriendlyName","hasEventTracker","BaseImpersonationConsentsCell","consent","InviteLinkActionsAndErrorHandlingComponentBase","inviteLinkUrl","InviteLinkBaseCell","InviteActionsAndErrorHandlingComponentBase","inviteeEmail","InviteBaseCell","data-test-invite-inbox-seat","data-test-invite-email","InboxSeatCell","adminsWithInboxAccess","seatsPaywall","STATUSES","StatusCell","setActive","away","setAway","reassign","setAwayAndReassigning","currentStatusKey","showRemove","hasDelete","isUserOrCompany","isTag","attributeIfUser","attributeIfCompany","predicateBase","tagPredicateBase","segmentPredicateBase","removeTagging","userOrCompanyListUrl","asPredicates","tagged","userUntagged","TaggerComponent","TaggerSummary","taggingModalAction","modalController","Talon","eHawkTalon","trackTaskSaved","validateAndSave","enableValidateAndSave","toggleSmsCollection","gitHubEnabled","transitionToGithub","scrollingContainerClass","viewingConversationRatingTask","openSectionIsConversationRating","updateQualificationType","recordQualificationTypeChange","changeQualificationType","currentQualificationType","unsavedChangesWarning","sanitizeAttributes","finishedEditingBranchingQuestion","customQuestion","startedEditingBranchingQuestion","UpfrontCollection","setupDefaultAttributes","upfrontCollection","lastAttributeUnset","newAttributes","recordAnalyticsEvent","onAttributeItemSelection","parentAttributeIndex","botAutoMessageCollectableAttributeGroupList","attributeGroup","isNotEmpty","assignableTeamsAdminIsAMemberOf","selectableAdmins","noSelectedAdmins","teammatesPlaceholderText","defaultTeammatesPlaceholderText","displayedTeammatesPlaceholderText","adminHasAcceptedTermsOfService","showTermsOfServiceReminder","acceptTermsOfService","admin.terms_of_service_accepted","TextEditor","TextFormatter","_text","TipComponent","tipKey","dismissText","localStorageKey","hasTipBeenHidden","hasBeenHidden","localStorage","dismiss","_anchorEditor","_buttonEditor","_imageEditor","_mediaInserter","_videoInserter","_mediaToolbar","_tableEditor","_columnControl","_rowControl","_tableControl","_templateInserter","_textFormatter","_emoji","_videoEditor","TooltipsAttributeAndEventDescription","desc","isDescriptionModifiable","TooltipsCrmMarketoHovercard","data-test-reporting-chart-tooltip","iconLabel","comparisonDate","currentDateMinusOneDay","currentDatePlusOneDay","isOneDayRange","data-test-reporting-stacked-bar-tooltip","TooltipsRestrictedAccess","isInboxSeatRestriction","adminCanGiveThemselvesASeat","permission_key","permission","can_access_workspace_settings","getASeatActionText","askForPermissionActionText","showAutomaticallyDisabled","setShowAutomatically","showArticle","modal","audienceCompleted","audienceEditorConfiguration","audiencePreviewText","useLegacyPreviewList","_defaultUserType","_userType","setFrom","setAuthor","openBuildUrl","launcher","containerClass","blocksClass","isNotLast","showAddNewStep","showProgressIcon","stepClickAction","showArticleModal","toggleArticleModal","publishOptionEnabled","PublishPanelSummary","errorsByPanel","validationPanelMap","insertionVisited","overrideMessage","TOUR_STEP_VIEWS_SIGNAL_CONFIG","fetchReportingSignal","stepViews","firstViewCount","hideStats","stepsUpdatedAt","tour.id","urlBlocks","isPreviewMode","copyableUrl","IP_ADDRESS_REGEX","data-test-pre-tour-setup","isMessengerInstalled","hasValidUrl","hasInvalidUrl","openTourBuilderAfterTimeout","installMessenger","tryProgress","postUrl","selectedReplyType","isCsvExportModalVisible","isViewing","displayDescription","previewEnabled","previewDisabled","hasVisitedInsertion","insertionEnabled","insertionDisabled","insertionCompleted","insertionValid","hasFragmentId","hasParams","tourParam","tourParamPrefix","fragmentId","_hasVisitedGoalsForNewRuleset","_hasVisitedGoals","goalValid","activateRuleset","deactivateRuleset","tour.validations.attrs.url","tour.validations.attrs.steps","tour.validations.attrs.pointerSteps","sectionNumbers","contentValid","canStartSending","allValidationsValid","canPublish","finishedPublishing","isPublished","isPublishing","_stateName","rulesetEntityType","insertableUrlHasChanged","lastInsertableUrl","canUseTourScheduling","enabledSection","deleteRuleset","_initClientData","continueTask","wasPublishedBeforeSave","savePublishAndClose","saveUnpublishAndClose","confirmDelete","transitionToTourList","_callee8","newRuleset","newRulesetRoute","_context8","_trackDuplicateTourEvent","object_state","num_steps","tours_status_automatically","tours_status_everywhere","goal_type","goal_duration","timeConstraintInDays","_insertionPanelDidOpen","visitedPanels","content_valid","audience_valid","saveAndPublish","saveAndUnpublish","setInsertable","switchToEditMode","switchToViewMode","cancelAndClose","TourInserter","allRulesets","publishedRulesets","draftRulesets","selectFilter","filterKey","_liveRulesets","_insertableTourRulesets","rulesetsToList","rulesets","defaultTemplateDropdownItems","allTemplateDropdownItems","transitionToNewProductTour","tourObjectType","completionCount","NaN","trackViewTour","_productNotActive","_nonLoggedInBannersAllowed","showUpgradeBanner","_loggedInInstallTimestamp","_loggedOutInstallTimestamp","_noLoggedInInstall","_isMessengerInstalled","_messengerNotInstalled","_onboardingHomeBannerNotShowingInstallMessenger","showInstallBanner","showLoggedInInstallBanner","TruncatedText","_truncatedText","TwitterFollowButtonEditor","TypeAheadCoordinatorComponent","data-test-user-campaign","arrowIconSet","dateObjectFromTimeStamp","parsedDate","predicateObject","lastPredicateAttribute","lastPredicate","lastFilterUrl","firstPredicateAttribute","firstPredicate","firstFilterUrl","formattedCount","numberFormatter","countPredicateAttribute","countPredicate","countFilterUrl","expandToggle","hashData","computeUserHash","_hmacSha","UserListColumnHeaderComponent","searchActive","visibleDisplayedAttributes","lastRequestAtAttributeIsVisible","phoneAttribute","showIdentityVerificationWarning","adjustedVisibleDisplayedAttributes","attributesHidingForContacts","mapUsersLoadedCount","totalMapUsersCount","mapUsersHaveLoaded","showingTable","anonymousCount","peopleCount","User","pagingStrategy","openMessageModal","onViewModeChange","newViewMode","showCreateLeadModal","redirectToIdentityVerification","MapComponent","inUserList","shouldDisplayImpersonateUserOption","userUnsubscribedFromEmails","data-test-user-profile-note","clickNote","noteComposerTextareaComponent","openMessageModalOrPromptUpgrade","legacySegment","migrateAnonymousToRolePredicate","_updateLegacyNestedPredicates","nestedPredicates","_flattenAndSerializePredicates","pred","updateSegmentPredicates","segment.predicates","legacySegment.predicates","evt","metaKeyPressed","FilterLinkBuilder","redirectToUrl","highlightedItemChanged","$selected","connectionSwitcherHovered","segmentViewCollapsedService","notCollapsed","attributeDropdownFilterPlaceholder","showUserData","logicalSwitcherItems","numberOfFiltersToDisplayWhenCollapsed","numberOfFiltersAtWhichToDisplayHideFilterButton","canUseCdaCreator","canUseContentEvents","orFilterLimit","logicalSwitcherTooltip","addFilterTooltip","toggleCollapsedState","toggle","proxiedOnUpdate","isUserSegment","secondaryUserAttributes","firstSet","secondSet","segmentUserType","SegmentSearchComponent","dropdownClicked","UsersCompaniesWithIconPattern","mostRecentCompany","companyPredicate","remote_company_id","ProfileAttribute","dataKey","valueTooltipText","hasCompanyPrefix","onCompanyWithPrefix","formattedName","inEventList","toggleAttributeVisibility","newAttributeVisibility","attributeVisibleNow","isUserEvent","_toggleEventAttributeVisibility","_toggleCompanyAttributeVisibility","_toggleUserAttributeVisibility","eventTooltipText","attributeTooltipText","visibilityIconType","visibilityIconTypeOnHover","isEventAttributeDisabled","visible_user_event_ids","newAttributeVisiblity","addAttributeIdToAdminsVisibleCompanyAttributeIds","removeAttributeIdFromAdminsVisibleCompanyAttributeIds","addAttributeIdToAdminsVisibleAttributeIds","removeAttributeIdFromAdminsVisibleAttributeIds","addEventIdToAdminsVisibleUserEventIds","removeEventIdFromAdminsVisibleUserEventIds","CRM_PROFILE_NAME_MAPPINGS","salesforce","marketo_enrichment","pipedrive","eventTrackingCreateAction","eventTrackingVisitAction","eventTrackingKey","profileName","camelizedProfileName","isHubspotProfileName","isPipedriveProfileName","leadOrDeal","leadMatchCount","leadText","isMultipleLeads","extraDealCount","hasExtraDeals","shouldInformUserOfHubspotApp","profileChangedAttribute","fetchProfile","crmProfiles","crmProfile","profile_type","createProfile","failure_reason","trackExternalProfileLinkClick","isNotUpdating","editDisabled","attributePresent","attributeIsEmpty","attributePresentAndValid","attributePresentAndInvalid","attributeEqualToPreviousContent","attributeNotEqualToPreviousContent","attributeMap","previousContentIsEmpty","attributeNotValid","inputPlaceholder","isNotUpdatingAndAttributeHasChanged","alertDuration","enableEdit","previousContent","requestUpdate","usersWithAvatars","firstTwelveOfUsersWithAvatars","take","firstTwelveOfAllUsers","shuffledUsersWithAvatars","shuffle","shouldSelectFromUsersWithAvatars","usersToDisplay","_pollToken","updateLocalTime","localTime","timeWithoutTimezone","localTimeAndLocationString","hasLocation","hasCityAndRegionAndCountryInUS","ProfileLocationComponent","hasCompany","countryPredicate","cityPredicate","countryFilterUrl","cityFilterUrl","ProfileMapBoxComponent","maxZoom","attributionControl","zoomControl","getBounds","usePlainIcon","plainIcon","profileMarker","addTo","noteHasValue","isTouch","noteComposerTextarea","textareaPlaceholder","isAnimating","trimmedNote","trimmedNoteHasValue","trimmedNoteEmpty","updateNoteHasValue","clearAndFocusOut","_trackAddedNoteEvent","specificMetadata","generalMetaData","line-height","is_company","Run","originalBody","isInDetails","data-test-account-owner","emptyOwnerId","ownerSource","displayedInProfileHeader","permissonToEdit","salesforceAssignedOwner","salesforceAssignedMessage","manualAssignmentMessage","ownerClass","accountOwnerTooltip","updateOwnerId","endEditing","ProfileSideBarHeaderComponent","hasMappableUsers","hasFewEnoughUsersToDisplayMap","shouldShowMap","userModels","sectionNames","includeCustomerSupportSection","resultingSectionNames","defaultSectionComponents","ProfileSocialDataDisplayComponent","rawSocialAccounts","accountKeys","_createRawSocialAccount","socialData","socialAccounts","_flattenRawSocialAccounts","accountKey","accounts","flattenedAccounts","rawAccount","_flattenedSocialAccount","ProfileSocialDataItemDisplayComponent","socialAccount","ProfileUserCardComponent","ProfileUserSortComponent","selectableAttributes","UsersTableCellComponent","TableDataFormatter","emberEscape","TagsParser","userTagsToString","tagsToString","companyTagsToString","companySegmentsToString","attributeIdentifierKey","parser","parsers","isUnknown","isEmptyOrUnknown","cssClasses","forcedPastMinuteDiff","browser_locale","company_tag","getEmberDataStore","manual_tag","planAttr","anonymous","isAdminAndMe","notCollapsable","conversationModalClosed","onConversationStarted","_horizontalDivider","_iconButton","_infoTooltip","_labelledButton","_verticalDivider","previousInternalSearchString","showSearchIcon","showLoadingIconInsteadOfSearchIcon","avoidCreateAdditionalSearchItem","preventFocusOnElementInsertion","createSearchItem","_ref2$isStandardSearc","_ref2$isUserEmailSear","isUserEmailSearch","_ref2$isUserNameSearc","isUserNameSearch","shouldFilterSelectableItems","searchIconClass","shift","textInputKeyUp","onSearchStringChanged","exitSearchAction","segmentSettingsRoute","sortedHiddenSegments","segmentSortFunction","hasHiddenSegments","sortedSegmentsToDisplay","listIsCollapsed","VideoEditor","VideoFileEditor","PersonalisedVideoPlayer","project","ctaUrl","_videoProjects","getVideoProjectByKey","videoKey","adminBelongsToTeam","unknownTeammate","nameOrEmail","usersUrl","companiesUrl","conversationsUrl","ActionSelector","workflow","canUseWorkflowsCloseConversationAction","shouldProceed","saveWarning","notifyAndRoute","genericError","hasSaveWarning","saveWarningText","deleteWorkflow","PredicatesEditorComponent","workflowConditionAttributes","triggersItems","TRIGGERS","_this$args$inactivity","inactivityPaywall","_this$args$inactivity2","triggerType","currentTrigger","AwaitingFirstReplyOverlay","delayUnit","saveDelay","delayValue","canUseDelayedTriggerEvents","triggerConfig","AwaitingFirstReply","_this$workflow$data","delay_in_seconds","showOverlay","DEFAULT_DELAY","_setValueAndUnit","delayInSeconds","_delays","getDelayValue","getDelayUnit","selectionValue","_saveDelayInSeconds","getDelayInSeconds","MAX_DELAY_IN_SECONDS","MIN_DELAY_IN_SECONDS","IndexComponent","movedWorkflow","actionContext","SetConversationDataAttribute","DefaultAssigneeComponent","loadMessagingSettings","defaultAssignee","rules_filters_manual_tag","rules_filters_assign_to","rules_filters_mark_priority","rules_filters_apply_conversation_sla","filterPredicateGroup","restoreFilters","predicateActionMatch","actionDataKey","PREDICATE_TYPE_TO_ACTION_DATA_KEY","dataPresent","newFilter","eventFilter","storeFilters","statusFilter","clearDeletedCachedData","_storage$get","isPredicateModelDeleted","filteredWorkflows","hasWorkflows","wf","workflowPredicateMatch","FiltersComponent","eventFilterDisplayName","statusItems","statusFilterDisplayName","workflowFilterAttributes","filtersAdded","pauseWorkflow","setLiveWorkflow","canBeLive","shiftWorkflows","newPosition","shiftBy","triggerObject","moveWorkflowToTop","hasActiveFilters","moveWorkflowToBottom","pauseLiveItem","taskStartedBefore","pollAppReloadForWorkflows","optCustomerIn","_this$args$optCustome","Controller","ember_rev","activeModalControllerPath","shouldWarnOnNavigation","appController","modalClosed","toggleKeyboardShortcutsModal","applicationController","appsController","usersController","companiesController","segmentController","userSegmentController","companySegmentController","showPrimaryNav","isOnPlatformRoute","isOnUsersRoute","isOnCompaniesRoute","companiesRoute","isOnOperatorHome","operatorHome","isOnIntegrationsRoute","integrationsRoute","isOnExcludedOnboardingRoute","isOnAnswersRoute","answersRoute","isOnRouteWithoutSubmenuAndShouldRoundBorders","setPageTitle","modifiedProducts","hasCompanies","showCompanyLink","currentRouteIsFeed","canUseImportantAdminNotifications","transitionToInbox","openModifyProductsModal","isImpersonationSession","revertUnsavedChanges","impersonationConsents","giveConsent","revokeConsent","showSaveSuccessfulNotification","showSaveErrorNotification","saveSuccessNotificationMessage","saveErrorNotificationMessage","nonEditableSegments","allVisibleSegments","_handleSaveSuccessful","segmentColumns","hiddenOrVisible","AccountControllerBase","passwordIsBlank","requiresPasswordForSave","passwordIsBlankAndRequired","canNotChangeEmail","isEmailCanceling","resetToCurrentAdminData","getTwoFactorQRCodeSVG","newAdminEmail","updatePersonalSettings","current_password","updatedAdmin","app.currentAdmin","responseText","disable2FA","adminAvatarChange","cancelValidationEmail","noWebPushSupport","PushManager","noWebPushSupportMessage","hasWebPushSupport","accountSpecificNotificationUrl","accountSpecificNotificationEnabled","accountSpecificNotificationDisabled","accountSpecificNotificationUrlHasError","specificPageNotificationEditorAttrs","updateSpecificPageNotificationUrl","parentContext","showRespondTooltip","showGlobalNotificationNote","Notification","desktopNotificationsEnabled","receivesDailySignupEmail","encodedVapidToken","_vapidToken","savePushSubscription","pushSubscription","desktopNotificationSettingsChanged","validateNotificationPermissions","requestPermission","saveDesktopNotificationsSettings","desktop_for_assigned_to_me","enablePushNotifications","serviceWorkerRegistration","pushManager","permissionState","existingPushSubscription","navigator","serviceWorker","ready","userVisibleOnly","isChrome","applicationServerKey","getSubscription","webPushSettingsChanged","notificationType","toggleBrowserAudioAlerts","toggleSpecificPageSetting","IntegrateBaseController","oauthTokens","emptyState","revoke","oauthToken","currentPassword","newPassword","confirmPassword","newPasswordsMatch","newPasswordsDontMatch","allPasswordFieldsComplete","passwordsFieldsRequireCompletion","password_confirmation","_showErrorForResponse","validationCode","hasValidationCode","hasSixDigitValidationCode","_handleErrorResponse","enable2FA","validation_code","showSegment","hideSegment","teamInboxes","visibleInboxes","defaultInboxes","showableInboxes","hiddenTeamsInboxes","intersect","hiddenTeammatesInboxes","activeInboxFilter","inboxFilterOptions","filteringForTeammates","filteringForTeams","inboxListForActiveFilter","notFilteringHiddenInboxes","currentlyViewedInboxesList","toggleAssigneeVisibility","_accountControllerBase","visibleTags","hiddenTags","scrollToBottomOfVisibleTagsTable","tableBody","showTag","hideTag","AccountsController","accountToBeDeleted","_trackDeletion","deleted","socialAccountService","accountHeaderText","createdAtFromNow","followedUserObjects","followedUserIds","stampText","lastActive","emailUserName","getUserName","emailDomainForLink","emailDomainName","updateAttributes","editedAttributes","_adminProfiles","getAdminProfile","notifyErrors","saveProfileInfo","oAuthSuccess","oAuthFailure","adminController","conversationHeaderText","hasMoreConversationsToLoad","pendingUpdateConversationIds","AppStoreController","AppstoreAppPackageController","AppstoreIndexController","as","searchItem","themeColor","deleteArticle","BaseArticleController","missingContentText","missingContentStrings","missingContentType","missingContentCount","missingContentWord","pluralizedMissingContentWord","editArticle","showController","isNewConversationsStat","isReactedStat","canShowConversationReplies","shouldShowConversationReplies","isViewsStat","makeStatsParametersForArticle","reactionMap","reaction_0","reaction_1","reaction_2","reactionFilter","emptyContentDescription","listTitle","changeReactionFilter","BaseListController","refreshModel","inputSearchTerm","hasPerformedSearch","inputSearchTermIsNotEmpty","_handleStartedImport","_handleCompletedImport","_handleArticleStatsUpdate","parentRoute","newChild","newRoute","GuideIndexBaseController","guideController","hasNoInsights","partAddedToConversation","trackAdminReplyEvent","nextConversationPage","InsightsBaseController","hasNoResponse","hasNoViewerContent","showDummyContent","sortedArticles","sortOrder","trackingData","defaultSortOrder","isSortingInDescendingOrder","alternateSortOrder","getSortEventMetadata","sorted_by","newArticle","trackInsightsArticle","articleModel","_saveCollection","saveIfDirty","_transitionToCollection","createCollection","ArticleGroup","_deleteArticleFolder","_buildConfirmDeleteOptions","successHandler","deleteSection","deleteCollection","collectionsWithoutHome","UploadHelper","hasUpdates","MediaHelper","siteSettingsName","pickerColorHex","social","saveEnabled","showSaveCancel","_storeUpdatedSite","updated","help-center-sites","_captureAndDisplayError","_saveImage","_deleteImage","_updateMedia","_checkUpdates","updateMediaPromises","_saveMediaUpdates","_getSwitchHelpCenterModalOptions","turnOn","turnOnOptions","turnOffOptions","_toggleHelpCenterModal","_saveSite","_trackDomainChangeEvent","domainChange","_domainChange","oldDomain","domain_url","_trackDomainAndPrefixChangeEvent","domainAndPrefixChange","_domainAndPrefixChang","oldValue","_trackHomeUrlChangeEvent","homeUrlChange","_homeUrlChange","oldUrl","_trackDefaultLanguageChangeEvent","languageChange","_getSupportedLocalesDiff","supportedLocalesChange","defaultLanguageChange","removed","_trackSupportedLocalesChangeEvent","_trackAudienceTargetingChange","updateHeadline","uploadHelper","supportedLocalesDiff","previousSegmentedContentTurnedOn","toggleHelpCenter","turnedOff","Billing","CancelCompleteController","BillingIndexController","newCustomer","cancelSubscriptionTask","reasonIds","chosenAnswers","freeTextAnswer","questionQueue","followUpQuestions","currentQuestion","multiSelect","cancellationReasons","allQuestionIds","allQuestions","cancellationQuestionResponses","responseIds","qualifiesForCovidOffer","submitResponse","questions","canUseEligibilityCheckForCovidDiscountOffer","_this$currentQuestion","selectedCovid","_ref8","followUpQuestionIds","_ref9","_ref10","freeTextResponse","hasSelectedAnswer","enteredValidInput","offers","AppsAppBillingCancelOfferController","sendToAnalytics","covidOffer","accepted","redeemOfferTask","showUnsavedChangesModal","previousTransition","answerBotFeatureFlag","customerDidNotHideResolutionBotBanner","showResolutionBotBanner","hasValueBasedPricing","showEditPlanModal","invoices","filteredInvoices","manualInvoicesPresent","contactEmail","addEmail","company_name","contact_email","redeem","isResuming","resume","BillingSummary","BillingSummaryIndex","trackModalAction","showEditAddonModal","nextButton","selectedSampleCategory","createBlankCda","afterCreation","addAdditionalRows","blankRows","untrackedCdas","introImages","know","upArchArrow","downArchArrow","_wistiaUrl","getPlayableUrlForWistiaId","videoViewable","slideVideo","UserOrCompaniesController","segmentRoutePath","STANDARD_COMPANY_ATTRIBUTES","composer_open","standardCompanyAttributes","attributesToDisplay","planHasValue","hiddenAttributes","attributeModels","planAttributeModels","planAttribute","spendAttributeModels","spendAttribute","checkForMessageQueryParam","showingSnoozed","showingAll","statusNoun","showingClosed","loadConversationsTask","loader","company_id","sort_order","DeleteModalController","modalTarget","modalTargetPlural","deleteComplete","replaceRoute","TagModalController","closeModalUsingModalService","submitUrl","deleteParameters","MessageModalController","companyController","isSorting","profileDisplayedUserAttributeIdentifiers","profileDisplayedUserAttributes","selectedSortAttribute","sort_direction","selectedSortAttributeChanged","SegmentActions","SegmentQueryParams","TrackFilteringEvents","hasStandardPredicates","hasNestedPredicates","hasValidPredicates","isDirtyAndHasValidPredicates","searchModel","searchEmpty","segmentFiltersChanged","processEvent","openSegmentModal","ExportModalController","CompanyMessageModalController","SegmentModalController","autofocus","bodyComponentName","warning","confirmTemplateName","confirmContext","invertButtonActions","cancelButtonType","confirmButtonType","changeActiveRulesetLink","changeFilter","doesNotHavePermission","permissionKey","permissionsMap","AppsAppConversationalInsightsController","AppsAppConversationalInsightsTopicsTopicShowController","conversationsCount","privateAppPackageUsingOauth","notPrivateAppPackageUsingOauth","hideReviewBanner","contentOutletClass","isOnEdit","canDisplayListingButton","isAppPackageConfigInvalid","_yield$this$appPackag","proceedToNextTask","publishListingTask","publishListing","cancelListingTask","cancelListing","cancelEditAppPackage","_yield$this$get$valid","deleteAppPackageTask","saveGettingStartedGuide","newStartingGuide","partnerFlag","selectedWorkspaceId","selectedWorkspace","appIntent","internalIntent","isCloseActionDisabled","workspaceDropdownItems","hasAppPackageNameError","isCreatingNewDeveloperWorkspace","newDeveloperWorkspaceName","createAppPackage","developerWorkspace","nameErrors","createNewDeveloperWorkspaceTask","owner_workspace_id","normalizedDeveloperWorkspace","developer_workspace","active_product_ids","new_workspace_id","toggleCreateNewDeveloperWorkspace","changeRequestOauthClient","_setRedirectUrls","changeRequestOauthClient.redirectUrls","isOAuthClientInvalid","only_owner_app","InstallsAndUninstalls","getDefaultRange","showDiscardButton","_reviewStateMachine","displayDiscardButton","isOauthClienthasChanged","discardChangesTask","cancelReview","isChangeRequestInvalid","submitReviewTask","submitReview","clickLearnMoreLink","ping_outcome","isWebhookDefinitionInvalid","saveWebhookTask","statusCode","updateWebhooks","pingWebhookDefinition","sendPing","DevHubIndex","AppsAppEmailEditorDemoController","templateName","premadeTemplates","customEmailAddresses","indexController","showing","redirectTo","updatedConversationCount","todayIsShowing","openedCount","closedCount","snoozedCount","conversationsTotalCount","messengerInstalled","stateDropdownTitle","formattedConversationsTotalCount","previousDaysAgo","currentDaysAgo","contractConversations","prependUpdates","numberOfSteps","IntentSurveyControllerBase","activeStep","onboardingHomeRoute","useCaseData","buyerPersonaData","selectedUseCases","hasOnlySelectedNotSure","surveyOptionsForAllUseCases","surveyOptionsForSelectedUseCases","companySizesUnder50","shouldShowStoreCustomerData","surveyOptions","icon2x","use_cases","ALL_OF_INTERCOM_GUIDE_IDENTIFIERS","ALL_OF_INTERCOM","ALL_OF_INTERCOM_VBP","resetModalOpen","guideIdentifier","guideIsAllOfIntercom","guideIsDefault","shouldShowEscapeHatch","footerContent","FOOTER_CONTENT","isOnboardAndEngage","ONBOARD_AND_ENGAGE","trackFooterVideoAnalyticsEvent","setForceAllGuide","force","ev","force_all_guide","setAppPackage","clearAppPackage","csvController","importing","importComplete","userCreateProgress","capitalizedRecordType","userListUrl","shouldShowImportSummary","showLeadsMerged","shouldCombineCreatedOrUpdatedCounts","progressWidth","onCsvImportUserCreateProgress","csvImport","updateImportSummary","leads_merged","users_created","users_updated","users_created_or_updated","leads_created","leads_updated","leads_created_or_updated","toggleImportSummary","uploadFile","upload","uploadedModel","csv-import","isCurrentlyMappingColumn","numberOfSkippedColumns","numberOfMappedAttributes","hasNoMoreColumnsToMap","finishedMapping","predefinedAttributeMappings","currentAttributeMappingIsRequired","previousAttributeMapping","currentAttributeMappingIndex","previousAttributeMappingIsPredefined","currentAttributeMappingNumber","allPredefinedAttributesMapped","totalNumberOfAttributesToMap","instruction","explanation","predefined","updateManualTagName","completeMapping","columnAssignments","external_user_field","column_index","csv_import_column_assignments","createColumnAssignments","unMapPreviousAttribute","skipMappingAttribute","editAttributeMappings","finishMappingAttributes","completeImport","createUserCreateJob","mailchimpController","onMailchimpImportUserCreateProgress","mailchimpImport","percentCompleted","percentComplete","transitonToNextPage","access_token","importController","mailchimpList","fetchSingleList","listID","transitionToTag","mixpanelController","onMixpanelImportUserCreateProgress","mixpanelImport","transitionToInstructions","completeFor","saveTags","setTags","tagsToAdd","tagsToRemove","autoTagId","manual_tag_id","added_tags","removed_tags","addedTagNames","performSetTags","tagstoAdd","ZendeskChat","ZendeskTickets","ZendeskChatController","zendeskChatController","importerConfiguration","conversationImportCredentialsService","authWindowError","tokenRetrievalError","conversationImport","authorizationWindow","client_secret","_waitForZendeskChat","authorizeWindow","_checkForErrors","URLSearchParams","currentAdminEmail","importStarted","conversation_import_id","importConversations","spamMessageId","simulator","inbox_tour","product_tour_id","paywallImage","forcePaywallInactive","me","searchExitRoute","iframeSource","isSimulator","showNavBar","isViewingSingleConversation","isViewingInbox","appDoesNotRequireInboxSeatAccess","shouldNotShowPricingAccessBanner","shouldShowPricingAccessBanner","requiresSeat","shouldShowTourBanner","shouldShowInboxTourBanner","missingShippingAddressBannerVisible","singleConversationAssignee","viewBeingCreated","viewBeingUpdated","viewBeingDeleted","_setSearchExitProperties","exitInbox","doSearchTransition","_this$transitionToRou","toggleVerticalSearch","resetConversationSearch","searchExitInboxId","navListComponent","turnOffAwayMode","viewCreationFinished","inboxConversationsRoute","viewId","viewUpdateFinished","deleteView","viewDeletionFinished","inboxRoute","dismissTourBanner","closeTourBanner","RuleCardSelection","ConversationBase","openModalFromHeader","BaseStyleConversationController","q","assigneeIdentifier","adminDateRangeStart","adminDateRangeEnd","teamAssigneeIdentifier","teammateAssigneeIdentifier","redactPart","isFulfilled","activeReply","hasNoActiveReply","hasFilterQuery","attributePlaceholder","setUpActiveReply","hasFilteredSavedReplies","_resetFilterQuery","isLoadingChanged","modeWasSet","setAllRepliesInactive","isEditModeChanged","_removeReplyAndSetupActive","replyToRemove","saveReply","shouldResetSearch","hasSaveErrored","rebuild","joinedErrors","createSavedReplyFromBlocks","selectSavedReply","editSavedReply","deleteSavedReply","saveSavedReply","cancelEditMode","insertAttribute","currentText","useDefaultAssignee","isSaveButtonDisabled","teamsWithOneAdmin","teamsWithOnlyCurrentAdmin","assignableTeamsExcludingTeamsWithOnlyCurrentAdmin","teamsItems","autoAwayTimeout","isAutoAwayEnabled","supportedAwayTimes","handleSave","toggleAutoAway","auto_away_after_seconds","assignmentSetting","isAssignOnReply","onModelChange","backgroundIsDirty","wallpaper_id","setBackground","application","isOnExportRoute","inboxExport","ReportBase","ANALYTICS_PAYLOAD","export_flag","enqueuingExport","enqueueExport","_this$range","flag","range_days","salesforceIntegrationInstalled","leadSourceEmptyStateComponentPath","loadSalesforceIntegrationTask","PerformanceReportBase","reportDescription","reportFilter","openInboxCSVExportModal","hasPlanWithoutInboxCSVExport","integration","deleteModelTask","confirmRemoveIntegration","removeIntegration","destroyIntegrationRecordAndRedirect","deletedRecord","activePlanId","choice","choiceIsSubscription","enabledKey","planIdsKey","setFromLocalStorage","storeToLocalStorage","SECTIONS_WITH_CONVERSATION_PREVIEW","zoomInLauncherWeb","zoomInLauncherAndroid","zoomInLauncherIOS","isConversationPreview","temporaryExpectationsPreview","showBrandBanner","dismissBrandBanner","sectionSettings","setUpOperator","transitionToInstallMessenger","openMessengerInstallationStep","onWebPaddingFocus","onAndroidPaddingFocus","onIOSPaddingFocus","onPaddingBlur","sendInviteSuccess","sendInvite","isBlockingUser","personName","_blockUserSucceeded","_this$options","_removeUserConversationsFromConversationList","_blockUserFailed","_this$options2","_this$options2$conver","convoList","blockedUserId","blockedUsersConversations","removeConversations","transitionToConversation","transitionToRoot","_this$options3","spamConversation","isNotGroupConversation","blockUser","routeToEmailForwarding","showConfirmPage","clearData","reducePlanIdsToOneProduct","EARLY_STAGE_BUNDLE","redirectIfNecessary","setPlanIds","targetProduct","currentSubscription","activePlansWithoutTargetProduct","possibleFuturePlanCombinations","productFromPlanIds","productFromPlanId","activeSubscription","alreadyHasPlan","planFromPlanId","_featureNames","featureNames","setPlansFromPlanId","getHigherPlan","disableButton","attributeSelected","eventSelected","canCloseModal","securitySettingsController","enforceSSO","BULK_MESSAGE_URL","_generateRequestData","created_via","created_via_version","CREATED_VIA_SIMPLE_COMPOSER_VERSION","delivery_option","email_style","company_message","isCreatingCompanyMessage","send_push_notification","shouldSendPushNotification","ReassignMessagesBaseController","assigneeHasBeenSelected","_teamItems","_resetModal","closeTeamDeleteModal","deleteTeam","deleteAndReassign","teammateOrTeam","isUnblocking","isNotUnblocking","successNotificationMessage","_unblockUser","unblockUser","closeIntercomModal","performAfterIntercomModalClose","operatorReporting","isOnAnswerBotRoute","answerBot","isOnCustomBotRoute","isOnTaskBotRoute","isOnSingleCustomBotRoute","singleCustomBot","currentCustomBotTarget","_this$router$currentR2","currentViewedCustomBotTarget","defaultCustomBotTarget","initializeConfigurationModel","operatorController","hidePaywallBanner","ContentEditorController","CONTENT_TYPE_MAP","_CONTENT_TYPE_MAP","BOT_TYPE_MAP","_BOT_TYPE_MAP","OperatorCustomBotsIndexController","pageTitle","interfaceIcon","OutboundBaseListController","palette","hasCustomBots","comparisonStartIsMoreThanTwoYearsAgo","updateBot","botId","parentController","BaseController","launchUpgradeModal","AnswerController","trackSaveEvent","EditController","transitionedFromAnswerShowPage","ShowController","ConversationsController","hasSuggestedAnswerClusters","hasActiveZendeskChatConversationImport","shouldShowMoreAnswersBanner","displayableAnswers","shouldShowAutoSuggestBanner","createAnswer","completeLoadingAnimation","ANSWERS_INDEX_PAGEVIEW_KEY","showImportModal","conversationImports","hasActiveZendeskTicketsConversationImport","completeImportFlow","TASK_NAME_MODEL_MAP","team-availability-users","team-availability-leads","conversation-routing","conversation-rating","conversation-rating-users","conversation-rating-leads","article-suggestions-users","article-suggestions-leads","article-auto-reaction-leads","article-auto-reaction-users","qualify-leads","contact-collection","groupedTasks","updateLeadDelayEnabled","lead_delay_enabled","updateUserDelayEnabled","user_delay_enabled","previewableTasks","currentTask","taskGroups","currentGroup","currentTaskIndex","currentTaskHasChanged","TaskBotBase","visitorAutoMessagesRoute","notOnVisitorAutoMessagesRoute","_searchTransitionRoute","_searchExitTransitionRoute","ongoingMessagesVideoUrl","bannerData","wistiaId","videoTitle","EmberDataMessageListMixin","MessageListSearch","FolderExportActions","latestQuarterlyActivePeopleCount","selectedMessagesWithFolder","sortingLimitTooltipText","anySelectedMessageHasComplexPredicates","hasSimplePredicates","newUserAutoMessageRoute","newVisitorAutoMessageRoute","isSalesSolutionApp","isLoadingFirstPageEmberData","isLoadingFirstPage","isLoadingFirstPageOrRemoteData","defaultSortBy","alternateSortingDirection","sortableStats","isAllView","isNotAllView","isLiveView","isStoppedView","isDraftView","isScheduledView","isDraftOrScheduledView","isYourView","localSortEnabled","isSortingBySent","isSortingByOpened","isSortingByReplied","isSortingByClicks","isSortingByFailed","isSortingByGoal","isSortingByLastSent","isNotSortingByStats","sortByTitle","isSortingByTitle","sortByCreatedAt","isSortingByCreatedAt","sortByWentLiveAt","isSortingByWentLiveAt","sortByStoppedAt","isSortingByStoppedAt","sortBySendAt","isSortingBySendAt","totalMessageCount","visitorType","defaultAudience","visitorAudience","isUserAudience","targetedAudience","isVisitorAudience","emptyStateLabels","allMessageRoute","liveMessageRoute","draftMessageRoute","pausedMessageRoute","ownedByAdminMessageRoute","scheduledMessageRoute","userAutoMessageSearchRoute","visitorAutoMessageSearchRoute","manualMessageSearchRoute","allMessageCount","liveMessageCount","stoppedMessageCount","scheduledMessageCount","pausedMessageCount","draftMessageCount","hasNoLiveMessages","hasNoStoppedMessages","hasNoLiveOrStoppedMessages","ownedByAdminMessageCount","newMessageTransitionAction","emptyStateLabel","hasNoMessagesToLoad","hasNoItemsToDisplay","resetSearchTermInput","query.localSortDisabled","query.sortAfterLoad","query.sortableStat","setQueryParams","message_group_id","gatedSearchTerm","current_admin_id","_messageCounts","updateMessageCountsForAppAndType","pageCount","totalMessages","hasNotLoadedAllRemoteData","_removeDisplayedMessages","removeDisplayedMessages","messagesToRemove","removeMessagesFromFolder","addMessagesToFolder","sortByColumn","sort_column","_changeSortDirection","forceReload","sortTask","transitionToNewMessage","transitionToNewAutoMessage","transitionToNewVamCreation","searchAllMessages","inFolderView","redirectRoute","resetSearchTerm","search_term_input","message_count","hasMultipleMessages","multipleMessages","campaignSummary","assignMessages","removeMessagesFromSingleFolder","selectedIdsClone","removeMessagesFromMultipleFolders","removalRequests","messageIdsForFolder","clickedSidebarOption","message_section","AppsAppOutboundBannerIndexController","AppsAppOutboundCarouselIndexController","AppsAppOutboundChatIndexController","AppsAppOutboundCustomBotIndexController","LeadConversationStatsMixin","conversationsChartData","conversationsChartTitleUnsafe","conversationsChartTitle","conversationsChartColors","conversationsChartHoverColors","formattedMessageCount","formattedConversationCount","hasNoContentInInterval","showNoContentCard","vamVariationStats","statType","globalStats","variationStatsTitle","statTypeDidChange","trackStatTypeChange","insightsMessagesChartTooltipFormatter","trackPageLoad","downloadCSV","newChannel","targetName","isShowingSentMessages","isShowingCreatedViaApiMessages","isShowingDraftMessages","isShowingScheduledMessages","isShowingDraftOrScheduledMessages","defaultSortingOrders","sentExcludingApiManualMessageCount","sentViaApiManualMessageCount","sentNoManualMessagesExcludingApi","sentNoManualMessagesViaApi","sentNoManualMessages","draftManualMessageCount","scheduledManualMessageCount","triggerSearchReset","searchTermAndAdminIdAreEmpty","selectAllEvent","clickedSecondaryNav","engageExport","respondExport","customBotExport","messagesDataExport","MESSAGE_DATA_EXPORT_CONSTANTS","folderExportType","export_type","folder_id","folder_state","range_in_days","messageActions","editing_admin_id","autoSaveDisabled","setupEditingQueryParams","editRoute","_restTask","uiParams","isRemoving","remove_from_group","taskParams","_captureAnalyticsEvent","_switchToSummaryView","latestDependencies","_routeTo","duplicated_message_id","_setShowCreateMessageModal","_cancelPendingAutoSave","send_at","activateVariation","_callee9","_context9","updateStateFromVariations","deactivateVariation","_callee10","_context10","deleteVariation","_callee11","_context11","is_editing","deleted_variation_label","variation_a_state","variation_b_state","deleteControlGroup","_callee12","_context12","endControlGroup","_callee13","_context13","autoSaveErrorMessageMutationHash","isMessageChangedSinceLastAutoSaveError","autoSave","_callee14","_context14","debug","doNotHandleError","_messageSave","messageSaveFailure","responseProvidedErrors","cancelAndReturnToSummary","_callee15","_context15","rollbackMessageAndRelationships","saveAndReturnToSummary","_callee16","_context16","saveAndActivate","_callee17","_context17","_callee18","_context18","_callee19","_context19","_callee20","_context20","isDueToStop","_callee21","_context21","selectionStateIsValid","fetchSampleUser","_callee22","_context22","variation_id","_callee23","uiOptions","_context23","_textGenerator","notRequired","failure","canceled","_callee24","_context24","fetchCampaignMessageAudiencePreview","_callee25","lastCampaignMessageAudiencePreview","currentCampaignMessageAudiencePreview","_context25","_md","implicitPredicates","fetchCampaignAudiencePreview","shouldNotScheduleAutoSave","canScheduleAutoSave","scheduleAutoSave","autoSaveThrottledTask","_callee26","_context26","versionLockCheckTask","_callee27","message_version_lock","response_version_lock","_context27","versionLockInfo","version_lock","frontend_admin","backend_admin","last_updated_by_id","frontend_tab_id","backend_tab_id","recordVersionLockCheckResult","lastUpdatedAt","last_updated_at","versionLock","isLastEditingAdmin","autoSaveThrottledTaskInstance","resetLegacyJsonBlocks","_makeOptionsForBulkModal","_getIsSelectAllMode","includedIds","toggleAutoSave","AutoMessageListControllerBase","noMessagesLabel","AutoSave","campaignIsClean","isValidCampaign","headerLabel","currentPredicateGroupMap","currentPredicateGroupKey","currentPredicateGroup","readsAndFmtWithProperty","totalFilteredCampaigns","campaignCounts","showSeriesPrompt","showNewSeriesModal","queryTask","nextPageOfCampaigns","_requestPayload","sort_by_column","alternateSortDirection","sortQueryTask","createNewSeries","campaignController","pausedAt","messagesToResume","messageIdsToResume","hasMessagesToResume","setResumableMessages","pausedTime","resumeCampaign","selectMessage","TOTAL_STEPS","stepContents","currentStepContents","nextButtonLabel","newMessageRoute","folderTaskGroup","hasNoMessagesSelected","showFolderStateSwitcher","shouldDisplayShowAllInFolderLink","hasMessagesInFolder","hasNoMessagesInFolder","hasNoMessagesForState","_changeNameIfValid","_tryToSaveFolder","exportCSVFolderTask","deleteFolderTask","_deleteFolder","changeState","deleteFolder","MessageController","ManualMessageListController","ManualMessageListControllerBase","hasSelectedDrafts","hasNoSelectedDrafts","hasSingleSelectedDraft","selectedIdsArray","unselectedIdsArray","isNotSelectAllMode","currentAdminCanSendMessages","selectedIdsString","selected_ids","unselectedIdsString","unselected_ids","selectedDraftsCount","unselectedCount","totalItemCount","messageDescriptionString","messageWord","onPageLoad","onSelectAllChange","transitionToNewManualMessage","confirmDeletion","deleteSelectedDrafts","select_all","VisitorAutoMessageListControllerBase","MessagesController","campaignDependencies","openMessage","openCampaign","TARGET_ID_KEY","BULK_MESSAGE_VARIATION_URL","BULK_MESSAGE_CONTROL_GROUP_URL","_trackMessageToSmallUserCount","activeSelectedUsersCount","inactiveSelectedUsersCount","_trackMessageFiltersOnSend","existingFolder","existingCampaign","campaignMessageDependencies","checkDependencies","getMessageDependencies","generateParams","assignMessage","moveMessage","unassignMessage","selectedTagName","handleSuccess","lockingAdmin","lastUpdatedAgo","_overwriteMessage","reloadModel","AppsAppOutboundPostIndexController","isPushAvailable","pushUnavailableTooltip","buttonDisabledTooltip","searchResults","selectTab","SeriesIndexController","fetchSeriesList","AppsAppOutboundSeriesNewController","AppsAppOutboundSeriesSeriesController","newMode","newView","_filter","_mode","_view","AppsAppOutboundSmsIndexController","isPushSelected","referer","isNewRuleset","canUseToursContentEditor","tourStats","transitionToSearch","isToursSelected","productChecklists","REPORTING_RANGE_UPDATED","changeTeamOrTeammate","teamOrTeammateId","teamOrTeammate","signalConfigs","concatenatedProperties","scopingTagIds","_recordFilteredByDateAnalyticsEvent","date_filter","excludeBotInboxStartDate","changeTag","toggleBotInboxTime","selectViewId","outboundMessageType","outboundVariationStats","outboundDisplayedStats","CustomerSupportArticlesFlexibleController","reportContext","updateValues","TEAMMATE_FILTER_KEYS","TEAMMATE_FILTER_QUERY","BASE_QUERY","hasTags","signalWithoutFilteredTags","sf","transformations","mapContextItemToModelByKey","TEAMMATES_PARTICIPATED","TEAM_PARTICIPATED","CONVERSATION_STARTED_BY","triggerFiltersChangedAnalyticsEvent","currentFilters","currentFiltersNormalized","newFiltersNormalized","nfn","cfn","normalizedPayload","decamelize","addToTagFilters","onAnalyticsEvent","exportCSV","groupedFilters","openSideDrawer","analyticsPayload","ConversationReportController","clearReportSubscription","trackReportSubscriptionEmailLinkClick","_reverseFilterMappings","newConversations","newConversationsByWeekAndHour","_ref$displayUnit","_ref$counter","_this$filters$scoping","scoping_tag_ids","continents","newConversationCount","conversation_count_counter","reopenedConversationsCount","reopened_conversations_counter","CONVERSATION_CREATED_AT_DAY_OF_WEEK","_dec","_dec2","_applyDecoratedDescriptor","_obj","queries","conversationRatings","_Admin$peekAndMaybeLo","filterBarSelectionChanged","getOwnPropertyDescriptor","EffectivenessController","filtered_tag","ExportController","filterSet","FilterSet","columns_to_include","_enqueueExportQuery","filterPredicates","exported_fields","clearFilterSet","columnsToInclude","rangeSetting","_assignMissingAttributes","sendDeleteQuery","loadSchedule","schedulesWithIds","schedules","sch","_this$scheduleToEdit","dayInfo","getFilterPredicatesFromFilterSet","transitionToAnswerBot","useAggregateBucketValueAsBucketCount","createAmazingOrGoodValueForNestedBuckets","stackNestedBucketsToPercents","columnChartConfigs","firstResponseTime","timeToClose","counterDefaultConfigs","firstResponseTimeCounter","counter_conversations_first_response_time","timeToCloseCounter","counter_conversations_time_to_close","newConversation","conversationsParticipatedIn","leadsCreated","LEADS_CREATED","LEADS_CREATED_FILTERS","flexibleFilters","NO_ANSWERS_CLAIM_COPY","articleText","articleURL","NO_LIVE_ANSWERS_CLAIM_COPY","NO_DATA_CLAIM_COPY","countEffectiveAnswersFromEffectiveness","effectiveness","aggreagatedByOutcome","resolutionBotSetting","hasLiveAnswers","hasSentAnswers","claimCopy","bannerVariation","inboundEffectiveness","outboundEffectiveness","resolutionRate","transitionToNewAnswer","ResponsivenessFlexibleController","_ref$aggregations","_ref$tableChart","_this$botInboxTime","responseTimeCounter","comparison_counter","flexibleChartGroupings","firstResponseTimeBreakdown","RANGE","timeToCloseDataConfig","timeToCloseBreakdown","timeToCloseBreakdownDataConfig","SLA_COPY","SlasController","conversationSLARulesCount","conversationSLAs","_this$signals","slaConversations","_this$signals2","hasCurrentPeriodConversationsWithSLA","hasPreviousPeriodConversationsWithSLA","hasSLAs","hasSLAsAndRules","hasConversationsWithSLA","selectedConversationSLA","TeamPerformanceController","newLeads","NEW_LEADS","emailCaptured","EMAIL_CAPTURED","messageROI","MESSAGE_ROI","vamROI","VAM_ROI","fetchFilters","leadDisqualified","LEAD_DISQUALIFIED","salesforceLeadCreated","SALESFORCE_LEAD_CREATED","meetingBooked","MEETING_BOOKED","conversationsAssigned","OPERATOR_CONVERSATIONS_ASSIGNED","conversationsParticipatedInByWeekAndHour","OPERATOR_CONVERSATION_ENGAGED","OPERATOR_CONVERSATION_SENT","conversationsEngaged","conversationsCompleted","OPERATOR_CONVERSATIONS_COMPLETED","botsDropdown","bots","isOnCustomerSupportReports","baseCustomBotsRoute","bot_id","_base","salesforceLeadsCreated","medianFirstResponseTime","_queries","MEDIAN_FIRST_RESPONSE_TIME_NEW","withinOfficeHours","excludeBotInbox","leadsCreatedBySource","LEADS_CREATED_BY_SOURCE","user_roles","SalesController","_this$teammateIds","timeToCloseOpportunityCounter","CLOSE_DATE","opportunities_created_counter","meetingsBookedCounter","MEETING_BOOKED_AT","meetings_booked_counter","timeToCloseOpportunity","meetingsBooked","hasInbox","hasMessages","medianTimeToCloseQuery","MEDIAN_TIME_TO_CLOSE","medianFirstResponseTimeQuery","hideComparison","onStartInboxTrial","transitionToNewArticle","transitionToPerformanceReport","transitionToArticlesReport","transitionToAnswerBotReport","SdkBaseController","apiKeys","appApiKeys","testAppApiKeys","testAppPresent","deleteKey","modelCanBeSaved","agreedToRisk","isFiletypeListValid","archivedAttributes","archivedAttributesWithSettings","attributesWithSettings","sortedAttributes","filteredRows","rowMatchesFilterSearchTerm","rowAttributeName","openAttributeCreationModal","openArchiveModal","isSortedByName","isSortedByUserCount","isSortedByCompanyCount","isSortedAscending","nameIsAscending","companyCountIsAscending","userCountIsAscending","sortOrderForEmber","sortedTagsOrSegments","toggleSortOrder","newSortBy","newSortOrder","openDeleteModal","tagOrSegment","toggleSortByNameOrder","toggleSortByUserCountOrder","toggleSortByCompanyCountOrder","blockedUser","AttributeSettingsController","companyStandardAttributes","companyCustomAttributes","archivedCompanyAttributes","checkboxesLocked","attributeForDescriptionEditing","lockCheckboxes","unlockCheckboxes","SegmentOrTagController","nonDeletedTagsOrSegments","ConversationDataController","addCompanyEmailAddressFormExpanded","companyEmailAddresses","hasCompanyEmailAddresses","duplicateEmailAddress","duplicateFound","expandAddCompanyEmailAddressForm","collapseAddCompanyEmailAddressForm","addNewCompanyEmailAddress","email_address","templateWhiteList","emailTemplatesSettings","renderedTemplates","standardTemplates","createRenderedTemplate","populateDefaultTemplates","Translations","placeholderLogoUrl","copyTemplate","floatingButtons","hasTemplateName","hasTemplateHTML","hasContentTag","hasUnsubscribeLinkTag","hasUnsubscribeURLTag","hasUnsubscribeLinkOrURL","canSaveTemplate","setupEventListeners","_resizeTextArea","_moveFloatingButtons","teardownEventListeners","showDiscardChangeWarning","$textArea","oldScrollTop","newRight","_showValidationWarning","_generateConfirmationOptionsWithMessages","auto_messages","manual_messages","html_safe_title","openTemplateHelp","saveTemplate","deleteTemplate","getAssociatedMessages","cancelChanges","defaultEmailTemplate","customEmailTemplates","templatesAvailableForAppDefault","emailTemplatesSettingsIsClean","transitionAfterPaywallCheck","destination","newDefaultTemplate","createNewCustomEmailTemplate","copyIntercomTemplate","showEventCreationButton","openEventCreationModal","GeneralSettingsController","appsControllerModel","hasAppPermissions","useCustomTimezone","timezoneOptions","customTimezone","customTimezoneName","selectedTimezoneDidChange","changedTestAppUse","showConfirmationModal","saveAfterConfirmation","reloadWindow","hasUpdatedForSocialDataDeletion","socialDataAttribute","setAuths","auth","destroyApp","subscriptionCancelledAt","subscriptionWillBeCancelled","toggleTestAppUse","paywallCheckOrUpdateAuthWith","methods","allAuth","reopenClass","IdentityVerificationBasePlatform","initialSelectedIdentifiers","peopleIsSelected","companyIsSelected","peopleAttributes","attributesAndRelatedObjects","initialSelectedAttributes","initialDeselectedAttributes","toggleLeadAttribute","momentToDateJson","dateToMoment","fromMoment","toMoment","requestedDays","setupDate","afterSetup","app.defaultAssigneeId","app.hideAllUnsubscribeLinks","app.commentPlaceholder","markAttributeAsArchived","markAttributeAsUnarchived","dataAttributeArchiver","DataAttributeArchiver","performTask","archiveAttribute","unarchiveAttribute","hasChecked","cannotDeleteOrArchive","canDeleteOrArchive","capitalizedType","isAttribute","shouldArchive","titleForCheckingLegacy","titleForCheckingOutboundHome","titleForChecking","titleWithObjectName","hasDependentSegments","hasDependentAutoMessages","hasDependentManualMessageGoals","hasDependentCampaigns","hasDependentCustomBots","hasDependentCustomBotControls","hasDependentQualificationAttribute","hasDependentTaskBots","hasDependentRules","hasDependentTeamIntros","hasDependentTours","hasDependentRulesets","hasDependentContents","hasDependentEmailTemplates","archiveOrDelete","rulesetsByContentType","getDependentObjects","dependentManualMessageGoals","dependent_manual_message_goals","dependentCustomBots","dependentCustomBotControls","dependent_custom_bot_controls","dependentQualificationAttribute","dependent_qualification_attribute","dependentTaskBots","dependent_rules","dependentTeamIntros","dependent_team_intros","dependentEmailTemplates","dependent_email_templates","dependentTours","dependent_tours","dependent_rulesets","modelChanged","confirmArchive","itemToDelete","itemToDeleteName","deleteItemTask","transitionToTaggedMessages","displayedType","isNotArchived","isListDataType","isNotListDataType","isEditableDataType","eventArchiver","EventArchiver","eventPredicate","leadListParam","getSegmentUrlParam","LEAD_ROLE_PREDICATE","userListParam","encodedPredicates","b64Encode","changeDescription","updateDescription","unArchive","unarchive","deleteEventTracker","newDescription","confirmationText","hasEnteredValidCheckText","cannotCreateToken","validationClass","goToURL","appModel","appInAdminRecord","boundEventsService","codelessTracking","boundWebEvent","boundWebEvents","trustedOrigins","notCodelessTracking","setupComplete","fetchBoundWebEvents","rehydrateBoundWebEvents","sanitisedName","hasNoBoundWebEvent","hasExistingNameConflict","hasNameConflict","hasNoNameConflict","doneEnabled","onBoundEventCreated","bound_web_event_id","element_text","deleteBoundWebEvent","validateUrl","openBoundEventCreator","invalidUrl","urlString","event_url","download","LogsSettingsModel","logsSettingsBetweenDatesUrl","adminToReassign","sendersWithoutAdminToReassign","assignableAdminsExcludingAdminToReassign","adminToReassignId","teamsWithOnlyAdminToBeReassigned","assignableTeammates","assignableTeamsExcludingTeamsWithOnlyAdminToBeReassigned","teammateItems","teamsAndTeammatesItems","sendersWithoutAdminToReassignItems","teammateModal","hadInboxAccess","permissionToEdit","isSecondaryModal","perProductPricingDeleteConfirmationMessage","restoreTeammateModal","savePermission","reassign_replies_admin_id","reassign_auto_messages_admin_id","reassign_replies_teams","reassign_articles_author_id","closeSecondaryModal","scheduleToDelete","customSchedules","hasCustomSchedules","dependentObjectsForSchedule","attemptDeleteSchedule","scheduleData","createOfficeHours","openSettingsModal","setIntervalGroups","setIsSaving","SavedRepliesController","editingReply","editorDirty","_this$selectedReply","initiallySelectedReply","deleteReply","newReply","updateEditState","operationType","refreshSavedRepliesList","_this$selectedReply2","canUseSavedRepliesFuzzySearch","sortedReplies","debouncedSearch","cancelEditingReply","isSdkAppIdentityVerified","docsUrl","INSTALLATION_DOCS_URL","deleteSdkApp","AUTH_METHODS","AUTH_OPTIONS","saml","_samlVerificationCompleted","isSaveDisabled","isInvalidSecurityEmail","canUseWorkspaceSecurityContact","securityContactEmail","shouldShowSecurityContactWarningIcon","twoFAAuth","googleAuth","samlAuth","twoFAAllowed","googleSsoAllowed","emailPassAllowed","samlAllowed","twoFANotAllowed","emailPassNotAllowed","samlNotAllowed","twoFASelected","googleAuthSelected","allAuthSelected","samlSelected","nonSamlMethodAllowed","samlAndSuboptionSelected","showSamlVerificationModal","showEnforceSamlModal","auths","ssoDomainWhitelist","canEnforceSSO","canEnforceSaml","canChangeAuthenticationMethods","canEnableSaml","authOptions","authMethodSelected","_getSamlSubMethod","hasChangedSamlSettings","authChanged","updateAuthorizedSignInMethods","authorizedMethods","samlSubMethod","_startSamlVerification","jit_enabled","jitEnabled","eventData","expectedOrigin","_save","_notifySamlTestError","errorCode","error_code","_saml","getSamlVerificationErrorMessage","shouldShowLinkToSamlArticle","_openSamlHelpArticle","_err$jqXHR","_err$jqXHR$responseJS","notificationEmailsWithContentEnabled","_paywallCheckOrUpdateAuthWith","authorized_sign_in_methods","updateSamlSubMethod","startSamlVerification","twoFaChanged","paywallCheckOrOpenGoogleSsoWarningModal","isSavingDefaultSender","helpCentreUrl","expandedAdminEmailIndex","expandedCustomSenderIndex","useAdminAppEmail","useIntercomAppEmail","hasChangedAppEmailSetting","hasNotChangedAppEmailSetting","senderAddressIsInvalid","newSenderAddress","isEnablingDefaultSenderWithoutDKIM","appEmailSaveButtonDisabled","verifiedAdminEmailDomains","hasNoVerifiedAdminEmailDomains","hydratedDomains","email_address_hash","domains","dkim_record","custom_addresses","updateUseAdminAppEmail","shouldUseAppEmail","hasDefaultSenderAddress","toggleExpandAdminEmailIndex","toggleExpandCustomSenderIndex","verifyDomain","dkimSettings","saveUseAdminAppEmail","updateDefaultEmailSenderSetting","SlaController","dispatchEvent","sendFailString","sendDenialString","teamSorting","showBulkInviteModal","createAdminInvite","defaultValueForSettingsAndBillingPermissions","canUseAppPermissions","can_access_settings_and_billing","can_export_data","can_send_messages","can_redact_conversation_parts","can_reassign_conversations","can_create_and_edit_bots","_refreshAdminInvites","fetchAndUpdateAllAdminPermissions","showConfirmationBox","onInviteSentOrSaved","isBeingEdited","isNotAddingATeam","dirtyTeams","areTeamsDirty","dirtyTeamSettings","areTeamSettingsDirty","noTeamCreated","_buildTeam","is_team","buildTeam","clickTrackingDomainOptOuts","expandDomainEditor","createClickTrackingDomainOptOut","clickTrackingDomainOptOut","toggleDomainEditor","deleteClickTrackingDomainOptOut","exampleType","exampleTypeIsUsers","userSourceNames","webUserSourceNames","selectedLoggedInInstallMethod","selectedLoggedOutInstallMethod","LOGGED_OUT_AUDIENCE","LOGGED_IN_AUDIENCE","INSTALL_TYPE_CODE","loggedOutDropdownItems","loggedInDropdownItems","userSourcePresent","matchingUserSources","_intersection","enforcesEncryptedMode","toggleEncrypted","enforces_encrypted_mode","webhooks","hasWebhooks","deleteWebhook","ping","EARLY_STAGE_SOLUTION_IDS","solutionPlanIds","solutionPrice","solutionPlusAddOnPrice","hideWidgetIfAppropriate","earlyStageHeadings","subHeading","signupController","normalHeading","normalSubHeading","endOfTrialDate","earlyStageHeading","earlyStageSubHeading","buttonsDisabled","countryIsUnitedStates","trialLength","cardOptions","hidePostalCode","teamsController","notMobileDevice","showEscapeHatch","escapeHatch","sendServerEvent","redirectAfterCheckout","defaultPostSignupRoute","getRedirectPath","EarlyStageApplicationController","earlyStage","transitionToCheckout","textKey","partner","partners","formattedSolutionPrice","_this$solutionPrice","preDiscountAmount","planDescription","findSolution","proDescription","planFeatures","proFeatures","planTopFeatures","topFeatures","planIcon","productsForPlan","productsWithPricesForSolution","showCoreProductsSection","continueButtonLabel","addOnClassNames","recommendedAddOns","recommendedAddons","addOns","formId","Add_on_Interest__c","Selected_Plan__c","fieldName","marketoFormField","toggleAddOn","VerifyController","resendSignupValidationEmail","emailResent","EditTourController","areRulesetsLoading","userSegments","createSegment","emailDisplayedAttribute","displayedCompanies","otherCompanies","hasOtherCompanies","conversationTypeOptions","mapUsers","noOp","impersonate","conversationTypeSelectionChanged","conversationTypeSelected","changeConversationType","conversationStarted","UserConversationsFeedControllerBase","userController","filteredConversations","readOnlyOptional","restrictDataAccessOptional","restrictDataAccess","impersonationUrl","reasonWithAppendedUrl","getLocation","impersonation","impersonated_admin_id","restrict_data_access","read_only","unsubscribedFromEmails","successNotification","errorNotification","saveUnsubscribedFromEmails","resubscribe","AppsAppVideoController","trackVideoEvent","existingApp","companyError","_reloadCurrentAdminToGetPermissions","previousAppId","_window$location","_default","displayFeaturedCategoriesGrid","selectedCapability","searchForApps","clickSeeAllLink","categorySlug","onAppPackageClick","showReinstall","isEmptyObject","previousQueryParams","_fetchAppPackage","generateTitle","listingParams","_router","_routerMicrolib","fullQueryParams","respondController","computedStyle","savedRepliesController","taggingController","redactPartController","isTaggingModalOpen","isSavedRepliesModalOpen","isRedactPartModalOpen","tagLastUserComment","taggingRoute","lastUserPartWithBody","tagUser","firstParticipantId","conversationCard","presence","ignoreBlank","currentChecklist","checklists","onModelLoadComplete","inflightRefresh","hasModelLoadError","refreshParams","xAxisStep","conversationsChartOptions","_defaultChartOptions","stickyTracking","fillColor","maxStaggerLines","_xAxisFormatter","showUpgrade","intervalChanged","newInterval","product_id","messageTarget","messageTargetPlural","trackMessageEvent","singleTarget","createFromRemoteCompanyId","transformedSelectedTargets","mapPropertyBy","selectionStateToApi","singleSelectionToApi","singleCompanyPredicate","BulkActionModal","modalTargetPluralForLink","modalAction","singleUserSelected","notice","deletionTargetText","deletingTargetTextWithRemoves","doBulkDelete","endpointForDeletion","processBulkActionFailure","decrementTargetCount","countAttributeLabel","newTotal","attributeExportMode","allAttributesSelected","pluralisedTarget","all_attributes","MessageEvents","warningMessage","sendLabel","jsonStringify","typePresetMappings","simpleComposerPreset","isCreatingUserMessage","isSimpleComposerUploading","cannotUseMessenger","isSendingDisabled","isComposerVideoPopoverOpen","isMessageTypePopoverOpen","isSavedContentPopoverOpen","autoUseAdvancedComposer","targetedUsersCount","companyUserCount","hasSubject","firstSelectedUserIsContact","manualMessagingType","setWarningState","hasBody","hasBodyOrSubject","createFromId","countUndefined","totalCountWithoutUnselected","selectedTotalCount","selectedUsersFromCache","isBulkMessage","selectedTargetsPath","targetId","targetObject","createMessage","bulk","targetedObjects","messageData","redirect_to","submitMessage","createdVia","CREATED_VIA_SIMPLE_COMPOSER_WITH_ONE_RECIPIENT","CREATED_VIA_SIMPLE_COMPOSER","targeting","filterDescriptions","getPredicateDescription","_focusOnSubject","setComposerFocus","setDefaultChannel","setMessageChannel","newSegmentName","currentSegment","newSegment","newNameAlreadyExists","isExisting","errorMsg","detail","trackSegmentCreatedEvent","_segment","tagSorting","sortedTags","newTagName","existingTagName","addNewTagToApp","tagRecord","makeTagVisibleToAdmin","additionalMetadata","allSegment","findAllSegmentFromList","SearchModel","hideEditor","onSuccess","featureUpgradePromptComponent","GraphDemoController","enterpriseEmail","isEnterprise","invitedFromHomeInstallMessenger","atMaxTeammates","isEmailInvite","senderFirstNameOrEmail","blockHeading","blockSubHeading","isInactive","adminAlreadyOnApp","adminNotAlreadyOnApp","hasCustomDataAttributes","isNotRevoked","isTask","readyToCreateAccount","notReadyToCreateAccount","accountCreationDisabled","authorizedSignInGoogleOauth2","isGoogleSSOOnly","emailPasswordAllowed","twoFAAuthAllowed","authorizedSignInSaml","authorizedSignInEmailPassword","isSamlOnlyLegacyCustomer","termsOfServiceError","isEmailTaken","signInWithRedirectUrl","encodeURIComponent","redirectUrlForSignIn","senderFirstNameAndEmail","senderEmailFirstCharacter","currentAdminAvatarUrl","addAdminToApp","createAccountAndTransition","terms_of_service","invite_token","addAdminToAppAndRedirect","calendar","somethingTyped","repliesSortKey","initSearchResults","filteredReplies","searchPlaceHolderText","repliesLabel","setFilterQuery","searched_from","updateSavedReplyFilterQuery","updateSearch","from_id","nextPageOfMessages","localSort","updateQueryParams","exportType","folderState","searchPageTitle","searchTermOrAdminName","adminIdIsEmpty","searchTermIsEmpty","trimmedSearchTerm","hasAdminId","searchTermInputFromAdminId","searchTermInput","numberPaginationSetup","hasLargeCount","isNotPaginating","allLoaded","allLoadedOrCountUnavailable","shouldPageWithPageInformation","shouldPageWithoutPageInformation","shouldPageWhenNotPagintatingOrUnavailable","shouldPage","hasNoTotalPages","_networkIsReachable","_networkIsNotReachable","_removeAllNotifications","onNetworkIsReachable","notificationNoTimeout","OFFLINE_NOTIFICATION_KEY","onNetworkIsNotReachable","hasExpandedItem","hasExpandedItemChanged","toggleItemIsExpanded","defaultGeoipData","geoipDataAvailable","geoipData","mapUrl","failureWarningNotification","actionAttribute","someSelected","hasUsers","bulkOperationsEnabled","bulkOperationsDisabled","countSuccessful","determineModal","controllerProps","shouldUseSimpleComposer","_getSelectionState","checkOneOnOneMessagingPermission","hasModel","openMessageModalWithSelectionState","openModalWithSelectionState","_openModalWithSelectionState","_trackModalEvents","_getAction","bootService","trackSearchEvents","trackFilterBarSearchEvent","trackSearchBoxSearchEvent","searchMetaData","search_value","metadataHash","attr_key","comparator_key","isOrGroup","has_nested_logical_predicates","modelClass","responseKey","segmentId","beginPropertyChanges","addReturnedRecordsToList","endPropertyChanges","updateCountView","advanceToSecondaryPhase","updateCachedAppCount","isCleanAllUsersSegmentAndNotSearch","isCleanAllContactsSegmentAndNotSearch","searchHasNoValue","countParameters","countParams","segment_id","permissionErrorMessage","trackEditEvent","number_filters","SamlController","samlEmail","samlAuths","redirectToIdP","signInButtonDisabled","SignInController","redirectUrlQueryParam","samlAuthId","keepMeSignedIn","remember_me","cache","authorizedSignInMethods","SignupController","TeamsController","requireVerification","COMPANY_SIZES","1-4","5-9","50-199","200-499","500-999","1000+","appInstall","emailSubmissionEmail","notChangedEmail","operatorPage","ipCountryCode","perProductPricingFlow","intentSurvey","productTours","featureFlagsFromUrl","skipSelfServeBlockingQueryParam","shouldSkipSelfServeBlocking","setAppInstallProperties","defaultProps","isTablet","termsOfServiceAccepted","pageViewId","skipSelfServeBlocking","getVisitorId","parsedEmailSubmissionId","updateWithFormData","selectedCountryCode","redirectUrlParamForSignIn","signupHeader","developerWorkspaceFeatureFlags","formattedPhoneNumber","_libphonenumberJs","parsePhoneNumberFromString","isValidPhoneNumber","old_email","new_email","setNewAppFeatureFlags","getRecaptchaToken","createAppWithAdminAndSignup","appResponseData","recordHeapAnalytics","boot","phone","firePixelAndAnalyticsEvent","transitionIntoApp","via_single_sign_on","trialSignupAppCreated","numEmployeesIntercom","sees_vbp_feb20__c","CORE_SOLUTION_IDS","sees_vbp_feb20","addUserProperties","forceEmailVerification","newMobile","setSubscriptionAndCreateAccount","createDeveloperWorkspace","newAppFeatureFlags","showNewMobileView","featureFlags","SyntaxError","VideoController","registerHelper","inflectorRawHelper","fullDateAndTimeRawHelper","abbreviatedRelativeTimeAgoRawHelper","numericFormatterRawHelper","indexIncrementRawHelper","_clearElement","clearElement","Helper","helper","relativePath","dateString","_adminTimeAgo","_and","appVersion","versionOnly","hideSha","shaOnly","hideVersion","showExtended","versionExtendedRegExp","versionRegExp","shaRegExp","_append","stringArray","numItems","_articleTimeAgo","_assign","_buttonClassesMetal","buttonClassesMetal","_camelize","_cancelAll","_capitalize","baseChar","charCodeAt","characters","_chunk","_classify","_compact","composerErrorLogger","area","_compute","compute","_contains","versionedId","memoizedCompactionProperties","previousPart","nextPart","shouldCompactNextPart","_shouldCompactNextPart","shouldCompactPreviousPart","setCompactProperties","_getCompactionProperties","memoizedProps","memoized","_getTimestampTime","currentPart","currentPartProps","nextPartProps","isNotCompactable","currentItemCreatedAtStamp","shown_automatically","inserted","shareable_url","help_center","formatCreatedVia","showLeadingPlusSign","truncate","_dasherize","_dataBag","dec","_drop","_emberPowerCalendarDayClasses","emberPowerCalendarDayClasses","_entries","_enumValidation","_equal","_filterBy","_findBy","Grid","_flatten","flatten","_range$split2","_formatMessage","formatNameAsInitials","nameParts","numberTextMap","6","7","8","9","10","formatNumberToText","_formatNumber","percentStringHelper","REPORTS_PRECISION_DETAILED","_formatRelative","_formatTime","timezoneStr","utcOffsetStr","_urlTruncator","formats","human","toHuman","fromHuman","camel","hyphen","fromFormat","toFormat","_fromEntries","fullDateAndTimeHelper","fullDateAndTime","dateTime","namedParams","fallback","_fullRelativeTime","_getWithLiteralKey","span","_gt","_gte","HasFeatureHelper","featureNameOrKey","_hasNext","hasNext","_hasPrevious","hasPrevious","HasUrlFeatureHelper","urlFeatureFlags","_hrefTo","hrefTo","_htmlSafe","icAvatarHelper","_icAvatar","icAvatar","SVGs","iconHTML","icInterfaceIcon","domParser","parseFromString","firstChild","DOMParser","iconSet","_svgIcons","renderInterfaceIcon","_icLegacyTableCellHelper","icLegacyTableCellHelper","_icStamp","icStamp","_ifKey","ifKey","_inc","inc","officeHoursText","incrementBy","pluralForm","_inlineSvg","inlineSvg","makeBoundHelper","_intersect","_invoke","invoke","_isActive","_isAfter","_isArray","_isBefore","_isBetween","_isEmpty","_isEqual","isEven","_isSameOrAfter","_isSameOrBefore","_isSame","_join","JsonHelper","_keys","BrowserLocales","_lfLockModel","lfLockModel","_lfOr","lfOr","locations","allLocations","_lt","_lte","createTextNode","appendChild","_mapBy","_map","_media","MESSAGE_STYLES","messageStyleClass","minutesFormatter","MixedGrid","_mobileDeviceClass","mod","_momentAdd","_momentCalendar","_momentDiff","_momentDuration","_momentFormat","_momentFromNow","_momentFrom","_momentSubtract","_momentToDate","_momentToNow","_momentTo","_unix","_next","_noop","_notEqual","notEq","_not","_now","numberFormatterHelper","_objectAt","_onDocument","_onKey","OnWindowThrottledResizeHelper","onResize","eventHandler","throttleTimer","_onWindow","_on","_optional","optional","_or","firstKey","PercentageColumns","_perform","CaptureRenderEndFn","_params","_ref$sampleRate","stopInteractionTime","CaptureRenderEnd","CaptureRenderStartFn","startInteractionTime","CaptureRenderStart","PermissionLabelHelper","labelFor","_pick","_pipeAction","_pipe","pipe","_powerCalendarFormatDate","powerCalendarFormatDate","_preventDefault","_previous","PurchaseAnalyticsEventHelper","_positionalParams","_queue","_randomNumber","_range","_reduce","_rejectBy","renderBlocksV1","V1View","blockCopy","emojifyBlocks","renderHtml","cleanedHtml","HtmlCleaner","cleanHtml","outerNode","childNode","wrapInContainer","_repeat","repeat","_emberDataFactoryGuy","mock","withSomeParams","returns","nestedKeys","allKeys","_requiredValidation","_reverse","_routeAction","_routeParams","routeParams","_send","edgeLabel","namedArgs","_connectors$find","connectors","ServiceHelper","servicePath","serviceName","_set","_simpleCapitalize","singularize","_slice","_sortBy","sortIconPattern","whitelistedOptionsHash","_icInterfaceIcon","stateNameForInAppOrEmailOrPush","stateNameForBanner","insertable","stateNameForTour","legacyMessagePush","stateNameForControlGroup","stateNameForSeries","twoYearsAgo","_stopPropagation","sub","_t","_take","_task","_titleize","titleize","_toggleAction","_toggle","TrackEventHelper","_ref2$","_transitionTo","_truncate","TextTranslationHelper","keyName","_union","reportingTruncatedNumberFormatter","_uppercase","uppercase","_urlFor","_utc","_values","BaseVisibilityHelper","recompute","HiddenSegmentsHelper","HiddenTagsHelper","VisibleSegmentsHelper","VisibleTagsHelper","_w","w","_without","_xor","xor","_initializerFactory","AttributeService","singleton","BrowserAlerts","ClientProfilerService","ContainerDebugAdapter","DesktopNotificationsIntercom","setupContainer","_emberKeyboardFirstResponderInputs","ResponsiveInitializer","stripeConfig","instantiate","FastBoot","Stripe","StripeMock","exportApplicationGlobal","theGlobal","global","globalName","reopen","after","ApplicationSerializer","FrontendStatsService","ConversationLoader","SearchInbox","BackgroundInboxList","RealtimeInboxUpdater","InterLock","injectionName","IntercomEventService","_getCsrfToken","revisionId","_getRevisionId","ajaxPrefilter","bypassCsrf","setRequestHeader","jqxhr","_shouldRedirectToSignIn","redirectOnStatuses","redirectOn403","LinkComponent","ModelDataCacheService","NotificationsService","PermissionsService","PredicatesService","ReachabilityIntercom","unknownProperty","decamelizedKey","_routerHeadTags","IS_EMBERCOM","_isSupported","_unregister","getRegistrations","registrations","registration","Sounds","UserUpdaterService","promiseRejectEmpty","timer","metricsService","Instrumentation","performance","recordComposerSyncTime","initializeStoreService","applicationInstance","hrefToClickHandler","parentElement","closestLink","HrefTo","maybeHandle","EmberApplicationInstance","$applicationRoot","rootElement","trackAnalyticsEventObject","componentElement","parentComponentElement","eventDataPropertyName","trackAnalyticsEventDataPropertyName","shutdownIntercomWidget","loggingEnabled","ModelCacheHelper","configure","shouldClearCache","fetchJSON","loadJSON","refreshDelay","adminModelFingerprint","appModelFingerprint","apiHostFromBootData","publicPageApiHost","getApiNamespace","CA","stateLabel","maxLengths","US","addressSettings","conversions","delta","viewKey","hasSeenView","isOverLimit","existingPageview","_getPageviewByKey","checkCallLimit","maxCalls","isTest","maxCallsOverride","recordedLimitOverage","callsInTimePeriod","MAX_CALLS_PER_TIME_PERIOD","getMaxCallsPerTimePeriod","fingerprintKey","callsCount","LIMIT_TIME_PERIOD_IN_SECONDS","incrementCallsInTimePeriod","pageview","ArrayProxy","failedLoading","loadBetweenDates","getLogsSettingsBetweenDates","getNumberOfSeatsInUse","pluralizeWithout1","getSubscriptionChangeMessage","numberOfSeatsAvailable","changeInNumberOfChargeableSeats","formattedChangeInSeatCost","subscriptionChangeMessage","_args3","confirmationButtonLabel","filterPredicate","seatsInUseByInvites","seatsInUseByTeammates","isHuman","positivePart","numberOfIncludedSeats","numberOfSeatsInUseAfter","numberOfChargeableSeatsBefore","numberOfChargeableSeatsAfter","changeInSeatCost","formattedAbsoluteValueOfChangeInSeatCost","getPriceIncreaseMessage","originalBeforeSend","_document","_document$documentEle","_document2","_document2$documentEl","getCurrentRouteName","_icAjax","integrateWith","integrate_with","list_id","allowedImageFileTypes","uploader","EmbercomFileUploader","policyUrl","EMOJI_TYPEAHEAD","tools","supportAltAttributeEditing","canUseMediaToolbar","canUseHorizontalRule","canUseTable","allowedBlocks","BaseConfig","fetchPolicy","policy","genericFailure","failedUpload","confirmUploadSuccess","maybeCalculateImageSize","size_in_bytes","original_filename","_imageSize","createObjectURL","createFormData","XMLHttpRequest","upload_destination","fd","acl","aws_access_key","signature","success_action_status","upload_url","retryable","uploadUrl","public_url","isAttributeSettingsEmpty","isAttributeSettingsPresent","companyAttributeSettings","companyAttributeSetting","userAttributeSettings","userAttributeSetting","isDisplayedOnUsers","isDisplayedOnCompanies","DEFAULT_EMOJI","tabIndex","marketingTabMap","productIdsFromSolution","includePrice","getProductInfo","PRODUCT_IDS","ESSENTIAL_BUNDLE","PRO_BUNDLE","FREE_PRODUCT_BUNDLE","UPSELL_PRODUCTS","CORE_EARLY_STAGE_BUNDLE","SOLUTION_PRODUCT_IDS","11","12","14","15","SOLUTION_ESSENTIAL_PLAN_IDS","SOLUTION_STANDARD_PLAN_IDS","_PLAN_DATA","nameWithProduct","marketingName","sidebarIcon","sidebarIcon2x","initialTier","marketingFeatures","SOLUTIONS_ALL","detailedDescription","productOrder","TEAMS_SOLUTIONS","_TEAMS_SOLUTIONS","essentialTier","proTier","proName","INBOX_ADD_INFO","MESSAGES_BENEFITS","UNLIMITED_MESSAGES","MULTICHANNEL","AUDIENCE_TARGETING","MESSAGE_STATS","SERIES","hasIcIllustrativeIcon","MESSAGES_ADD_INFO","MESSAGES_PRO_ADD_INFO","_MODAL_ADD_PLAN_INFO","hideFeatures","_MODAL_UPGRADE_PLAN_I","_MODAL_FEATURE_INFO","_PRODUCTS","liteFeatures","standardFeatures","perProductDescription","perProductPriceMetric","toggledFeatures","toggledProFeatures","longDescription","shortDescription","modalHeaderDescription","modalHeaderDescriptionAction","_prices$find","normalizedBlock","previewBlock","af","sq","ar","hy","eu","bn","bs","bg","ca","km","zh","zh-CN","zh-TW","hr","cs","da","nl","en","et","fj","fi","fr","ka","de","gu","he","hi","hu","ga","it","ja","ko","la","lv","mk","ms","ml","mt","mi","mr","mn","ne","no","nb","pa","fa","pl","pt","pt-BR","qu","ru","sm","sr","sk","sl","es","sw","sv","ta","tt","te","th","bo","uk","ur","uz","vi","cy","xh","browserPlatform","isWindows","isLinux","animateThumbnailControls","animateComponent","addScreenClass","allScreensClass","addScreenComponent","allScreens","lastScreen","scrollComponentToView","scrollIntoViewIfNeeded","timelineMode","cdaSet","errorMessageNames","_commaSeparatedList","errorMessageStart","errorMessageEnd","HEX_to_HSL","hex","g","HSL_to_HEX","hue2rgb","RGB_TO_HEX","HEX_TO_HSV","hexVal","HSV_TO_HEX","rh","zero_pad_string","gh","darken_android_color","hsv","clamp01","darken","hex_color","hsl","highlight_color","darker_color","hover_color","hover_highlight_color","magnitude","darker_android","hover_highlight","oxford","quoted","formattedList","formattedItem","DefaultPredicateManager","getDefaultValue","getUserType","_throwUnlessContextValid","_getStore","_getCampaign","_getMessage","_getMessageNameForPredicateValue","valueDescription","_descriptionPrefix","predicate.value","predicate.comparison","DataManagers","TagPredicateManager","NumericTagPredicateManager","OptionalTagPredicateManager","StringPredicateManager","NumericPredicateManager","DatePredicateManager","BooleanPredicateManager","AnonymousPredicateManager","RolePredicateManager","logical","LogicalPredicateManager","campaignBehavior","CampaignBehaviorPredicateManager","contentEvent","ContentEventPredicateManager","campaignGoal","CampaignGoalPredicateManager","overMessagingProtection","OverMessagingProtectionManager","urlVisit","UrlVisitPredicateManager","emailDisengagement","EmailDisengagementManager","goalComparison","_intializeValueForComparison","_makeCurrentDateForAbsoluteComparison","getMonth","getFullYear","NULL_VALUE_COMPARISONS","isValidForValue","isValidForNoValue","_getDescription","getGoalDescription","customFilterMap","showNoEventPrefix","joinWord","_joinDescription","validForNoValue","validForValue","_shouldClearPredicateValueForComparison","_setComparisonAndValue","_shouldInitializePredicateValueForComparison","USER_TYPES","visitor_role","_typeForRole","urlNotEmpty","countNotEmpty","_normalizeValues","normalizedVersion","_normalizeSingleValue","versionToCheck","versionToTestAgainst","versionToCheckNormalized","versionToTestAgainstNormalized","isLastItem","currentCheckValue","currentTestAgainstValue","hasSignificantBlocks","blocksKey","significantChars","blocksInfo","_getBlocksInfo","characterCount","hasImage","hasVideo","hasButton","hasHtml","info","containerLookup","getContainer","getPositiveRate","csat","previous_count","currentResponseTime","current_response_time","current_response_time_ooo","previousResponseTime","previous_response_time","previous_response_time_ooo","currentTimeToClose","current_time_to_close_excluding_bot_inbox","current_time_to_close_excluding_bot_inbox_ooo","current_time_to_close_from_initial_user_part","current_time_to_close_from_initial_user_part_ooo","previousTimeToClose","previous_time_to_close_excluding_bot_inbox","previous_time_to_close_excluding_bot_inbox_ooo","previous_time_to_close_from_initial_user_part","previous_time_to_close_from_initial_user_part_ooo","currentPositiveRate","current_csat","previousPositiveRate","previous_csat","CODES_TO_COUNTRY","indexBy","truncateNumber","truncatedValue","realValue","formattedNumber","inflector","Inflector","irregular","uncountable","dependentObjectsUrl","archiveTask","unarchiveTask","_mutator","mutatedAtString","generateHash","serializeModel","initializeMutationsIfRequired","mutationsObject","lastMutatedAt","lastMutationHash","frontEndStatsService","_validators","validateIsMutationArray","recordDuration","validateMutationParams","COMMANDS","validateValueIsNotNone","_history","addChangeToHistory","performMutation","newMutationHash","mutations.lastMutatedAt","mutations.lastMutationHash","recordMutation","fullDateAndTimeWithoutTimezoneAndYear","dateAndTimeWithoutYearWithShortDayName","monthDayYear","dateHumanizedWithoutYear","dateWithDayWithoutYear","emailTemplateRenderDateFormat","fontFamily","plotShadow","useUTC","shadow","credits","tickWidth","lineColor","gridLineColor","gridLineWidth","gridLineDashStyle","allowDecimals","lineWidth","borderWidth","borderRadius","useHTML","valueDecimals","isIntercomradesDomain","modelA","modelB","eachAttribute","comparisonFunction","diffFunction","humanisedName","noDiff","containsBlocks","COMPARISON_FUNCTIONS","comparisonResult","renderingComponentPath","oldModel","newModel","setDifference","arrayA","arrayB","setA","setB","valueFromA","compareScalars","scalarA","scalarB","isAdded","isRemoved","blocksA","blocksB","stringA","stringB","elementA","removedValues","addedValues","PRICING_MODELS","pricingPageRequired","ap","cr","routeTransition","REVIEW_NO_OAUTH_ROUTE","isActionRequired","REVIEW_EDIT_ROUTE","shouldDisplayDiscardButton","shouldDisplayChangeDiff","REVIEW_SHOW_ROUTE","ROUTE_PREFIX","isInReviewOrActionRequired","isInReview","modelHasDiff","changeRequestModel","crApc","appPackageNoDiff","oauthClientNoDiff","appStoreListingNoDiff","apHasChanges","SECONDS_IN","getFormats","single-unit-hours","unitless-hours","opts","_opts$format","customOptions","_getFormats$format","_indexOfAtSymbol","emailRegex","getAppType","_window$__embercom_bo","__embercom_boot_data","app_type","appType","_window$__embercom_bo4","_window$__embercom_bo5","public_page_config","api_host","getApiHost","_window$__embercom_bo2","_window$__embercom_bo3","root_url","_hasNativeEmojiSupport","isAsciiSticker","ascii","Html2Text","unicodeFromAscii","splitOnUnicodeEmojis","isUglyNativeEmoji","isSupportedUnicode","isSupportedAscii","isUnicodeSticker","isSticker","twemojiSVGUri","img","Image","stickerUri","composedPath","currentElem","DEFAULT_ATTRIBUTES","EntityNode","references","cursor","buffer","TextNode","currentChar","addCurrentCharacterToBuffer","pushToken","createEntityNode","words","_response$jqXHR$respo","FBInit","FB","xfbml","Facebook","next_cursor","page_id","FaviconCounter","devicePixelRatio","+","_refreshFavicon","base_favicon_image","_updateFavicon","textedCanvas","favicon_size","getContext","drawImage","toDataURL","fillStyle","strokeStyle","digit","counterHeight","pixelNumbers","counterWidth","size_factor","fillRect","digitsWidth","strokeRect","hasLoaded","image_data","_getImageData","favicon_dev_data_16","favicon_dev_data_64","favicon_data_16","favicon_data_64","faviconHref","_generateFavicon","linkElements","linkElement","featureId","featureObject","LABELS_BY_TYPE","ios_version","IOS_VERSIONS","ios_device","IOS_DEVICES","eventPrefix","getUserEventPrefix","isAnIncreaseDecrease","isADate","isAbsoluteDate","getFilterMap","date_type","filterMapDateReference","user_event_date","_isVisitorRolePredicate","comparisonMap","known","labelAsValueTypes","predicateHasCustomFilterToTextValue","getPredicateCustomFilterToTextValue","months","roleValue","roleLabels","campaignMessageGroupId","mapByKey","generateForm","form","_userAgentDetector","_wheelEventDecoder","thirdParty","ScriptDataBase","hasTransitionalScript","generateScript","generateTransitionalScript","ScriptData","welcomeOnboardAndEngage","welcomeCaptureAndConvert","welcomeSupportAndRetain","welcomeAll","buildOnTheBasics","allStepsFinished","masterIntercom","convertVisitorsToLeads","supportYourCustomers","_FOOTER_CONTENT","helpCenterUrl","customerStory","images","1x","2x","CAPTURE_AND_CONVERT","SUPPORT_AND_RETAIN","ONBOARD_AND_ENGAGE_VBP","CAPTURE_AND_CONVERT_VBP","SUPPORT_AND_RETAIN_VBP","trackCustomerData","onboardAndEngage","supportAndRetain","LevelData","showTimeToComplete","get_started_with_intercom","get_started_with_intercom_for_capture_and_convert","get_started_with_intercom_without_inbox","set_up_messenger","set_up_messenger_personalized","set_up_messenger_for_capture_and_convert_personalized","set_up_messenger_for_onboard_and_engage","set_up_messenger_for_support_and_retain","set_up_messenger_for_logged_in_users_with_product_tours","first_impressions","track_data","track_data_2","integrate_with_tools","integrate_with_tools_lite","integrate_with_tools_2","manage_your_conversations","manage_your_conversations_for_support_and_retain","manage_your_conversations_vbp","setup_test_messenger","convert_visitors_to_leads","convert_visitors_to_leads_vbp","product_tours","turn_website_visitors_into_leads","turn_website_visitors_into_leads_vbp","engage_with_leads_before_they_leave","grow_your_sales_pipeline","support_and_retain_users","support_and_retain_users_vbp","give_better_support_with_articles","unlock_potential_with_apps_for_all_of_intercom_personalized","unlock_potential_with_apps_for_support_and_retain_personalized","unlock_potential_with_apps_for_capture_and_convert","unlock_potential_with_apps_for_onboard_and_engage","send_targeted_outbound_messages","shouldScrollToElement","middleOfScreen","topOfLevel","sectionNumber","sectionHeadersForGuide","SECTION_HEADERS","_SECTION_HEADERS","StepDataBase","timeToCompleteInMinutes","getModelData","loadModelDataOnDemand","generateGuideAssistantScript","productTourCompletesStep","tourInProgressRoutes","StepData","getPrecannedMessages","getOnboardingHomeMessages","chat_ruleset","matching-system/ruleset","generateWelcomeScript","generateIntegrationScript","InstallMessengerStepData","suggestedAudience","liveAutoMessageCount","liveVisitorAutoMessageCount","InstallUseCaseAppStepData","recommendedAppPackageIds","hasOsa2OnboardingHome","osa2Subtitle","watch_welcome_video","osa2Title","customize_messenger","design_messenger","send_test_message","reply_in_inbox","requiresHostedMessengerConversation","inProgress","get_the_most_messenger_video","set_up_messenger_visitors","set_up_messenger_logged_in","install_messenger","install_messenger_logged_in_only","send_auto_message","send_targeted_message","invite_teammates","can_manage_teammates","see_what_data_attributes_can_do","define_the_data_you_need","track_your_data_attributes","learn_about_custom_data_attributes","setup_custom_data_attributes","see_how_apps_work","set_expectations","set_reply_expectations","ask_for_contact_details","install_a_recommended_app","install_an_app","appStoreOrHome","check_out_app_store","forward_emails","connect_social_media","twitterAppPackage","facebookAppPackage","watch_product_tours_welcome_video","get_started_with_product_tours","watch_series_welcome_video","get_started_with_series","resolve_a_conversation","install_messenger_test_app","customize_messenger_test_app","route_support_conversations","qualify_leads","integrate_with_crms","generateCrmScript","t2","increase_conversions_with_chatbots","customOrTaskBots","reply_directly_via_slack","book_a_meeting_from_the_inbox","measure_and_improve_team_performance_support_and_retain","measure_and_improve_team_performance_capture_and_convert","respond_faster","collaborate_for_better_support","automatic_assignments","osa2ProductTourId","watch_how_to_use_articles_video","create_short_article","publish_to_web","get_to_know_messages","explore_how_it_works","onboardingHomeOrMessages","apps_for_meeting_scheduling","apps_for_video_and_audio_calls","apps_for_tracking_and_managing_leads","apps_for_capturing_and_tracking_leads","apps_for_syncing_data","apps_for_sending_surveys","apps_for_tickets_issues_and_feature_requests","apps_for_sales_pipeline","temporaryElement","textContent","NO_RISK","LOW_RISK","MEDIUM_RISK","HIGH_RISK","ImmutablePlan","ObjectProxy","tierId","updateActive","trialable","inactive","hasMonthlyActivePeoplePricingTable","hasQuarterlyActivePeoplePricingTable","hasPeopleRecordsPricingTable","immutablePlans","hasHigherPlan","currentPlanId","hasProPlan","hasEssentialPlan","activePlanIndex","previousPlanIndex","changedPlan","showInSummary","updating","newStatus","impersonation_consent","oauthProvider","authorizeUrl","buildZendeskChatAuthorizeUrl","buildZendeskTicketsAuthorizeUrl","_accountName","accountName","zendeskTicketsImporter","devRedirectUri","MAX_BACKGROUND_INBOXES","_backgroundInboxes","changeInbox","newInbox","oldInbox","_disableIfNotBackgroundable","clearTransitionedConversations","disableRealtime","enableRealtime","_isInBackground","_addOrMoveToHeadOfList","_pruneExtraInboxes","clearConversations","canBeBackgrounded","_remove","_addToHead","inboxToDeactivate","InboxComposerConfigPlaintext","MENTION_TYPEAHEAD","matcher","_triggerCharacter","triggerCharacter","SAVED_REPLY_TYPEAHEAD","allowSpaces","InboxComposerConfig","allowUploads","INPUT_RULE_CODE_BLOCK","INPUT_RULE_INLINE_CODE","INPUT_RULE_ORDERED_LIST","INPUT_RULE_UNORDERED_LIST","configureUploads","configureTypeaheads","configureSchema","setupCanvasNetworkClient","canvasNetworkClient","allowedAttachmentTypes","typeaheads","allowedInline","eventLabel","metaLabel","shortcut","assign-conversation","assign-conversation-to-owner","tag-user","send-to-salesforce","send-to-hubspot","send-to-marketo","trigger-marketo-campaign","send-follow-up-reply","send-app","send-app-without-introduction","send-app-with-introduction","close-conversation","close-conversation-with","change-conversation-priority","apply-conversation-sla","add-tag-to-conversation","set-conversation-data-attribute","baseOrder","_ref$applySorting","applySorting","_ref$sortKey","_ref$sortDirection","transitionParts","TTLCache","sorter","ConversationSorter","itemsToAdd","skipTransitionPartCheck","_canAddConversation","_removeFromTransitionParts","existingItems","isValidSort","_addToTransitionParts","transitionedConversationsExcluding","nextUntransitioned","previousUntransitioned","untransitionedConversations","sortedUntransitionedConversationsIncluding","fromIndex","transitionPart","_findInTransitionParts","isNewerThanTransitionPart","conversationModels","_loadSideloadedParts","validFor","valid_for","jsonParts","conversation-parts","SORT_OPTION_TO_SORT_DEFINITION","sortingUpdatedAt:asc","sortingUpdatedAt:desc","last_part_where_current_admin_is_mentioned.created_at:asc","last_part_where_current_admin_is_mentioned.created_at:desc","waitingSince:asc","priorityNewest:desc","nextBreachTime:asc","KEYS_USED_TO_SORT","cachedSortValues","_initializeNormalizedSortDefinitions","_updateSortValueCache","hashKey","_sortHashKey","normalizedSortDefinitions","_sortBySortDefinition","c1","c2","_sortDefinition$i","compare","_p$split2","PollingSyncedList","sortedPartsReversed","hasInitialMessagePart","lastUserPart","lastAssignmentPart","lastStateChangePart","lastPriorityChangePart","hasAnyContent","isOperatorPart","isLoadingUntilPart","fetchInitialItems","windowSize","remoteState","addedItemsIds","fetchRemoteState","_syncedList","diffState","getCurrentState","loadItemsFromNetwork","window_size","fetchItemsById","fromUserInteraction","from_user_interaction","addItems","addedItems","clientAssignedUUIDs","getClientAssignedUUID","staleParts","isImmediateSend","shouldFadeIn","compactParts","updatePartsSeenState","newerParts","updated_at","updateConversation","updateItems","removeItems","unload","memoizedProperties","_memoizedCompactionProperties","_conversationPartCompacter","updateConversationMetaParts","updateConversationTimerUnsnoozeBadge","updateConversationParticipants","updateConversationTimestamps","last_snoozed_at","isParticipantAdded","isParticipantRemoved","_setUpdatedAt","_setSortingUpdatedAt","is_after_last_user_comment","endWithinRange","startWithinRange","parseZone","bucketInterval","lowerCase","firstnameOnly","localState","remoteById","localById","createdOrUpdatedIds","removedIds","allDifferingIds","remoteId","remoteUpdatedAt","localId","SyncedList","pollInterval","_30000MS","isPolling","_pollDebounce","poll","paneComponent","blocksDoc","setConfig","configNeedsUpdating","isFacebookOrTwitter","attachmentsEnabled","api","insertImageFile","addAttachment","insertBlocks","insertText","shouldChangeConfig","configInfluencingProps","previousConfigInfluencingValues","isFacebook","isTwitter","INBOX_REALTIME_LOGGING","realtimeService","isSnoozed","currentAssignee","currentAssigneeId","disable","enable","bindEvents","scheduleInboxCountersPoll","scheduleAppCountersPoll","unbindEvents","handleCountersUpdatedEvent","updateInboxCounters","counters","scheduleInboxViewCountersRefresh","lead_shares_email_with_user","isRealtimeEnabled","REALTIME_EVENT_NAMES","schedulePoll","_cancelPollTimer","trackUpdatesToConversations","_topicIdentifiers","stopTrackingUpdatesToConversations","_handleUserBlocked","markConversationAsTransitioned","_handleInboxEvent","_isEventForCurrentInbox","assigneeIdWas","forcePollingInTest","_15000MS","pollingTimer","firstSignal","restSignals","_ref3$originalContext","hasNoConversations","hasLoadedAll","hasNotErrored","_createConversationListModel","conversationLoader","cancelAllTasks","fetchPageTask","conversationSearchParams","addConversations","_trackSearchResults","updateFavicon","autoTransitionIfNoCurrentConversation","findConversationById","findById","clearTransitionedConversationsExcluding","conversationWasUpdated","_data_source","sort_key","tag_ids","user_ids","teammate_assignee_identifier","admin_assignee_identifier","team_assignee_identifier","admin_date_range_start","admin_date_range_end","query_keywords","query_tag_ids","query_user_ids","query_assignee_id","query_admin_assignee_id","query_team_assignee_id","query_date_range_start","query_date_range_end","number_of_results","orderName","orderNameRegex","idKey","updateKey","syncingTaskGroup","_diffState","updatedItemsIds","removedItemsIds","addedAndUpdatedItems","updatedItems","removedItems","getItemId","getItemsById","getItemLastUpdate","existingItem","remoteTuple","localTuple","pluckIds","tuples","_ref11","_getIcon","statement","_getStatement","by","_getBy","_getTarget","byRule","isLastPartARuleAssignment","userIsBlocked","userBlockedBy","arrayLength","Person","Reply","was","pluralOf","pluralised","additionalMessages","topMessageSendCount","top_messages","displayedCount","messageCount","AFTER_MODELS","github","getIntegrationRecord","MODELS","slack","dest","respond","intercomConfirm","applicationRoute","JQUERY_CONTAINER_SELECTORS","hideIntercomWidget","MutationObserver","mutationsList","addedNodes","disconnect","observe","childList","updateHash","intercomSettings","_onIntercomradesSubdomain","updateActiveProductsAndPlans","_flatMapBy","inactivePlans","featureKeysAndFeatureFlagKeys","allPossibleFeatureKeys","featureFlagKeys","featureKeyOrFeatureFlagKey","featureKeys","newArray","notificationService","notifyErrorWithModelAndPartial","localFeatureFlags","foundIndex","RTL_LOCALES","browser","userAgent","addRecoveryInfo","addSelectionDebugInfo","addPastedContent","getSelection","anchorOffset","focusOffset","recoverError","pastedContent","LRUCache","_keymap","tail","newer","older","head","returnEntry","oldvalue","fun","loadAkkuratPro","_loadFonts","fontFamilies","WebFont","custom","families","_waitForFontLoadOrTimeout","setInterval","$html","clearInterval","enableCache","cacheSize","contentNodes","addTemplateNodeToDom","loadDataIntoContentNodes","templateNode","removeTemplateNodeFromDom","createTemplateNode","collectContentNodes","walk","nodeType","TEXT_NODE","checkCache","templateNodeInDom","func","nextSibling","strippedSummaryText","getText","firstRichContentBlock","getTextForRichContentType","RICH_CONTENT_BLOCK_TEXT","attachmentList","allAutoMessageCount","stoppedAutoMessageCount","draftAutoMessageCount","scheduledAutoMessageCount","ownedByAdminAutoMessageCount","owned_by_admin","allManualMessageCount","sent_excluding_api","sent_via_api","allVisitorAutoMessageCount","stoppedVisitorAutoMessageCount","draftVisitorAutoMessageCount","scheduledVisitorAutoMessageCount","ownedByAdminVisitorAutoMessageCount","folderCounts","messageCounts.all","messageCounts.live","messageCounts.stopped","messageCounts.draft","messageCounts.scheduled","isInitalizing","isLoadingOrInitalizing","remoteLoadingTimer","remoteMessages","filteredMessages","displayedMessages","totalMessageCountNotSet","totalMessageCountIsSet","hasStartedRemoteLoading","hasNotStartedRemoteLoading","hasStartedRemoteLoadingAndHasNotCompleted","hasMessagesToDisplay","hasNoMessagesToDisplay","displayedMessageCountIsZero","displayableMessagesAreEmpty","displayableMessageCount","hasLoadedAllDisplayableMessages","displayedMessageCountEqualsTotal","hasLoadedAllRemoteData","isManualMessageList","isAutoMessageList","isVisitorAutoMessageList","typeSupportsLocalSort","shouldUseLocalMessageCounts","localSortDisabled","messageCountIsGreaterThanSortLimit","messageCountIsLessThanSortLimit","messageCountAllowsForLocalSorting","shouldLoadLocalPage","shouldLoadRemotePage","shouldBeginRemoteLoading","shouldNotLoadAdditionalPage","localPagingDisabled","localSortingEnabled","afterAllRemoteMessagesLoaded","sortAfterLoad","onSortingChange","hasSortableStat","sortingComparatorKey","sortingComparator","last_sent","sent_count","opened_count","replied_count","clicked_count","unsubscribed_count","failed_count","goal_count","hasAnEmptyParameter","emptyQueryParamKey","hasEmptyQueryParam","localPage","remotePage","search_string","localReset","setParameters","parameters","remotePageSize","remote_search_term","onStateChange","_runSortChangeOnce","sortedMessages","updateDisplayableMessages","_recordPageRenderTime","isDraftState","_metricKey","numberOfItemsRendered","localPageSize","loadLocalPage","loadRemotePage","loadAllPagesFromServer","pageStart","insertLocalPage","pageEnd","messagesToDisplayLocally","_insertLocalPage","searchForMessages","messagesForPage","EXCLUDED_STAT_KEYS","REAL_TIME_TRANSLATION_MAPPING","attribute_collector_replies_rate","attribute_collector_replies","bounces_rate","bounces","clicks_rate","complaints_rate","complaints","goals_rate","happy_rate","neutral_rate","opens_rate","reaction_0_rate","reaction_1_rate","reaction_2_rate","reaction_3_rate","reaction_3","reaction_4_rate","reaction_4","replies_rate","responses_rate","sad_rate","soft_bounces","thumbs_down_rate","thumbs_down","thumbs_up_rate","thumbs_up","unsubscribes_rate","unsubscribes","translateRealTimeRateStatValue","rateStat","realTimeStats","translateRealTimeCountStatValue","countStat","translateRealTimeStats","realtimeStatsKeys","translatedStats","statKey","translatedKey","valueForStat","multipliedVal","rounded_percentage","processedHtml","addAppStyles","sampleContent","replaceContentPlaceholder","replaceWidgetPlaceholders","PERSONALIZED_TEMPLATES","getDefaultSampleContent","COLUMNS","user.email","sentAt","bouncedAt","openedAt","clickedAt","linksClickedCount","collectedAt","repliedAt","complainedAt","unsubscribedAt","hitGoalAt","respondedAt","respondedWith","Row","modelProperty","headerName","STATS_MAP","VARIATIONS_MAP","STANDARD_ROW","sentCount","pluralizedPerson","pluralizedWas","displaySentCount","audienceExplanation","checkForWarning","iosSdkApps","sdk","productionCert","fetchServerRecipientCount","_userLabel","optionsForAutoMessage","optionsForVisitorAutoMessage","optionsForCampaignAutoMessage","optionsForManualMessage","getPreposition","formattedDateAndTime","remainingSendCount","getSuccessMessageForMessageAction","getFailureMessageForMessageAction","getConfirmOptionsForMessageAction","generateForMessage","getSuccessMessageForVariationAction","getFailureMessageForVariationAction","getConfirmOptionsForVariationAction","generateForVariation","getSuccessMessageForControlGroupAction","getFailureMessageForControlGroupAction","getConfirmOptionsForControlGroupAction","generateForControlGroup","_messageActivate","messageActivateSuccess","_messageDeactivate","messageDeactivateSuccess","_messageDelete","messageDeleteSuccess","_messageMove","messageMoveSuccess","_messageStop","messageStopSuccess","_messageDuplicate","messageDuplicateSuccess","_messageSchedule","messageScheduleSuccess","_messageRemoveSchedule","messageRemoveScheduleSuccess","messageSaveSuccess","_messageStartAbTestHelpers","messageStartABTestSuccess","_messageControlGroupCreate","messageControlGroupCreateSuccess","messageActivateFailure","messageDeactivateFailure","messageDeleteFailure","messageMoveFailure","messageStopFailure","messageDuplicateFailure","messageScheduleFailure","messageRemoveScheduleFailure","messageStartABTestFailure","messageControlGroupCreateFailure","messageActivateOptions","messageDeleteOptions","messageStopOptions","messageSaveOptions","_variationActivate","variationActivateSuccess","_variationDeactivate","variationDeactivateSuccess","_variationDelete","variationDeleteSuccess","variationActivateFailure","variationDeactivateFailure","variationDeleteFailure","_variationGenerateHtmlPreview","variationGenerateHtmlPreviewFailure","variationActivateOptions","variationDeleteOptions","_controlGroupDelete","controlGroupDeleteSuccess","_controlGroupEnd","controlGroupEndSuccess","controlGroupDeleteFailure","controlGroupEndFailure","controlGroupDeleteOptions","controlGroupEndOptions","GOOGLE_TAG_MANAGER","single-page","google-tag-manager","Symbol","verifyAnyPing","verifyLoggedOutInstall","verifyLoggedInInstall","convertUserSource","checkInstall","userSourceKey","MetaTags","rel","buildMetaTag","windowLocation","model_cache_fingerprints","cache_disabled","useFixedPrecision","power","pow","reduceRight","STANDARD_SCOPES","ADVANCED_SCOPES","_uniqBy","createIntervalGroup","weekdays","MONDAY","FRIDAY","IntervalGroup","originalContent","serializedOriginalContent","serializedNewContent","_titleCase","titleCase","mapMinuteToText","SUNDAY","SATURDAY","groupedTimeIntervals","sortedIntervals","glass","zoom","glassWidth","glassHeight","moveMagnifier","cursorPos","pageX","pageY","pageXOffset","pageYOffset","getCursorPos","getBoundedLeftPosition","getBoundedTopPosition","backgroundPosition","backgroundImage","backgroundSize","USE_CASE_MAPPINGS","capture-and-convert","CaptureAndConvert","USE_CASES","getUseCaseData","useCaseKey","getUseCaseDataFromSolutionId","getAllTaskDataForUseCase","stages","allTasks","stage","getAllTaskKeysForUseCase","taskData","taskKey","getTaskData","getStageData","stageKey","getStageDataForTask","getNextTaskKey","allTaskKeys","nextTaskIndex","getPreviousTaskKey","previousTaskIndex","getCompletionRoute","completionRoute","openCenteredWindow","windowLeft","screenX","windowTop","screenY","screenLeft","screenTop","customBotDeliveryChannels","mobileAndWeb","ratio","svgSize","_buildCanvas","bgColor","pathColor","_clearCanvas","_paintBackgroundColor","_setSvgPathColor","_paintSvg","draw64","_buildFile","clearRect","imageSmoothingEnabled","svgMargin","_encode64Svg","btoa","outerHTML","dataWithoutMimeType","blobBin","atob","binData","Blob","Uint8Array","tagService","hasItemsToDisplay","hasSelectedContentWrappers","customRulesetCreationParams","_this$selectedAudienc2","createNewUserAutoMessage","audienceType","createNewVisitorAutoMessage","_resetPagingSettings","_filterToString","filterProperty","fetchMessagesTags","getMessagesTags","_contentSearch","_setPropertiesFromResponse","_setQueryParams","_createRulesetContent","selectedTabIsOngoing","selectedTabIsOneOff","_toggleSortDirection","createContent","outboundSupportedMessageTypes","visitors","safelySet","_x3","_x4","updatedPriorities","draggedWrapper","_x5","_x6","updateMessagesTags","IntercomRoute","beforeModel","setActiveList","afterModel","searchResponsePromise","modelFor","isFirstRequest","contentSearchWithParams","tourTemplates","searchResponse","seriesTemplates","_setOutboundHomeServiceFromParams","setupController","_unselectContentWrappers","_updateContentFragmentStat","contentFragmentId","contentFragment","contentStat","_handleContentStatsUpdateEvent","realTimePayload","parseTextToJson","decimalPlaces","isNumber","divisorNumber","formatNumber","isFinite","can_access_developer_hub","can_manage_apps_and_integrations","can_manage_articles","can_manage_messages_settings","can_manage_messenger_settings","can_manage_inbox_views","can_manage_tags","al","dz","ad","ao","ai","ag","am","aw","au","at","az","bb","be","bz","bj","bm","bt","ba","bw","br","bf","bi","kh","cm","cv","ky","cf","cl","cn","cx","cc","co","cg","cd","ck","ci","cz","dk","dj","dm","do","ec","eg","gq","er","ee","fk","fo","gf","pf","gm","ge","gi","gr","gl","gd","gn","gw","gy","ht","va","hn","hk","in","iq","ie","im","il","jm","jp","je","jo","kz","ke","ki","kr","kw","kg","lb","ls","lr","ly","li","lu","mo","mg","mw","my","mv","mh","mu","mx","fm","md","mc","ma","mz","na","nr","np","an","nc","nz","ni","ng","nu","nf","om","pk","pw","ps","pg","py","pe","ph","pr","qa","rw","kn","lc","vc","ws","sa","sn","rs","sc","sg","si","sb","so","za","ss","lk","sz","se","tw","tj","tl","tg","tk","tn","tm","tc","tv","ug","ua","ae","gb","us","uy","vu","ve","vn","vg","ye","zm","zw","overrideExistingPlans","setActivePlansFromSolutionId","proDefault","activeProductIds","activeProductPosition","inActiveProductPosition","setActivePlansFromFeatureName","standardPlan","standardPlanFeatures","litePlan","litePlanFeatures","standardLocations","targetLocations","_setBoundingRects","_sanityCheckBoundingRects","_findFittingLocation","_isInsideContainer","targetRect","_getBoundingClientRect","pointerRect","containerRect","_getBoundingClientRectForViewport","_above","_targetHorizontalCenter","_aboveWithOffset","_horizontalOffset","_below","_belowWithOffset","_right","_targetVerticalCenter","_rightWithOffset","_verticalOffset","_left","_leftWithOffset","selectorOrDomNode","nodeList","_isVerticallyInsideContainer","_isHorizontallyInsideContainer","_isTopInsideContainer","_isBottomInsideContainer","_isLeftInsideContainer","_isRightInsideContainer","topLevelPredicate","secondLevelPredicate","intercomTargetName","overflowOpener","MOUSEENTER_EVENT","openOverflowMenu","MouseEvent","PromiseProxyMixin","script","removeListenersAndElement","asnyc","parentNode","SortableMixin","perUnitPrice","actual_usage","tiers","current_tier","block_size","per_unit_price","blockSize","dollarSeatPrice","INBOX_PREMIUM_ID","price_format","starting_unit","ending_unit","INBOX_TIERS","currentTier","shouldPluralize","thirty_day_messaged_contacts","latest_daily_admin_count","thirty_day_messaged_contacts_product_tours","inbox_seats","monthly_active_people_beta","fixed","_this$tiers","_this$tiers$firstObje","additionalUsage","_this$tiers$firstObje2","baseUsage","formattedUsage","formattedBaseUsage","formattedAdditionalUsage","_this$tiers2","small","baseUsageRow","additionalUsageRow","additionalUsageInfo","formattedAdditionalPrice","tierInfoRow","tierInfo","setSolutionIfEmpty","referrer","cleanParam","solutionIdFromMarketingSiteTab","setQueryParamIfEmpty","UNICODE_EMOJI","blush","fromCodePoint","neutral_face","disappointed","thumbsup","thumbsdown","purpleHeart","sleeping","party","productNames","endOfSentence","redirectHref","currentLocale","clampToPresent","dateMoment","orderPropertyName","sibling","$1","$2","excludeWithoutCounters","tagsWithCounters","ConversationAttributeFilters","_getDescriptor","_entry","_entry$","dataTypeToESType","dataPoints","mapToDataPoints","mapValueToLabel","buildFunctionToMapGroupKeyFromDatabaseValueToDisplayName","dataPoint","setLabels","nullifyZeroValues","MAXIMUM_NUMBER_OF_GROUPS","totalCountOfRemovedGroups","limitNumberOfGroups","filterableObject","PROPERTIES_TO_FILTERS","conversationTypes","teammatesParticipated","SHARED_PROPERTIES_TO_FILTERS","user_location.country_code","user_location.continent_code","$admin_participant_ids","conversation_rating.rating_index","_PROPERTIES_TO_FILTER","TEAMMATE_REPLY_OBJECT_IDENTIFIER","FILTERS_TO_PROPERTIES","_FILTERS_TO_PROPERTIE","invert","metricDisplayName","isGroupedByTime","formattedGroup","groupDisplayName","objectIdentifer","getObject","OBJECT_DATA","defaultTimeProperty","defaultMetricProperty","isAggregatable","FUNCTION_AGGREGATIONS","METRICS","metricIdentifer","getMetric","aggregationIdentifier","groupableProperties","TIME_GROUP_PROPERTY","canExcludeBotAndOfficeHours","CONVERSATION_OBJECT","TEAMMATE_REPLY_OBJECT","_OBJECT_DATA","reportId","getReport","existingIds","generateId","createdById","createdByAdmin","DEFAULT_REPORTS","getReports","_ref$stride","_d3Time","timeYear","missing","sectionTitle","sectionSubtitle","sectionIcon","hint","sectionAcc","getIntervalByScale","bestInterval","potentialNumberOfTicks","ValueAxis","SecondAxis","PercentAxis","Axis","_ref$seriesColors","_ref$width","_ref$chartData","yAxisTicker","ChartConfig","setChartType","setXAxisType","isXAxisTemporal","setXAxisTickInterval","xAxisTickInterval","setYAxisTickInterval","yAxisTickInterval","setTooltipFormatter","setXAxisFormatter","xAxisFormatter","setXAxisOverflow","setYAxisFormatter","formatAxis","setColors","setColorByPoint","setMinimumPointLength","setColumnStacking","IntervalFormatter","isIntervalHourly","isIntervalDaily","isIntervalWeekly","graphData","timestampWithValue","maxLabelsForSmallWidths","firstLabel","isIntervalMonthly","tooltipTransformation","datePart","valuePart","formatTooltip","intervalFormatter","cssClass","AF","AN","AS","EU","NA","OC","SA","Desktop","Push","Unknown","Russian Federation","Republic of Lithuania","Iran, Islamic Republic of","Republic of Moldova","Moldova, Republic of","Korea, Republic of","Republic of the Congo","DR Congo","Congo, The Democratic Republic of the","expectedName","_CONVERSATION_TYPE_MA","CustomAttributes","queryParamValue","_this$attributes$id","cleanedAttributes","temporal","temporalAxisParser","nominal","nominalAxisParser","mean","genericSeriesParser","median","medianSeriesParser","countSeriesParser","cardinality","cardinalitySeriesParser","rangeSeriesParser","xGroup","convertAxis","yGroup","convertSeries","convertSeriesIntoDataRequest","AXIS_PARSER_FUNCTIONS","SERIES_PARSER_FUNCTIONS","seriesPayload","validateSeriesPayload","finalFilter","mergeFilters","basePayload","_payload$groups","hasXGroup","hasYGroup","mergeGroupAndAggregations","labelFormat","itemHoverStyle","itemStyle","fontWeight","spacingLeft","spacingBottom","dateTimeLabelFormats","tickLength","rotation","softMax","endOnTick","maxPointWidth","columnrange","legendItemClick","Tooltip","offsetX","offsetY","FlexibleColumnChartConfig","setTimezone","tickInterval","px","stackOption","reversedStacks","colorByPoint","DefaultHighchartConfig","marginTop","plotBorderWidth","colorAxis","dataLabels","textOutline","verticalAlign","symbolHeight","FlexibleDefaultChartConfig","tickPositioner","symbolPadding","itemMarginBottom","FlexibleLineChartConfig","filtersConfig","filterTypeFormatter","formatTeamValues","formatTeammateValues","filterTypes","_route$teamsParticipa","_route$teammateId","_route$scopingTagIds","routeProperties","parseQueryParamValue","teamOrTeammateParticipated","filterESMappings","supportSameFieldFilters","parsedFilters","_filterValues","fieldES","getFilterValues","updateCombinedField","convertFilterPredicatesToFilterSet","ES_CONVERSATION_ATTRIBUTES","filtersAcc","_Admin$peekAndMaybeLo2","_filter$data","_getAttributeType","_customAttributeFilters","_ref5$","Time","Seconds","Value","Percent","Formatter","formattedData","numberFormat","override","_this$viewConfig$form","stops","_this$viewConfig$form2","setXAxis","setTickPositioner","setYAxis","reversed","setDataLabelFormatter","setLegendFormatter","filterMappings","QUERY_PARAMS_ES_MAPPINGS","isExtendedColumn","_step3","_iterator3","innerColumn","buildDataRequest","ROW_PARSER_FUNCTIONS","term","groupData","parsedRequest","allRecords","zip","rv","subRow","cell","rowName","multiColumnCheck","_TableDataResponseMap2","extractMultiColumnValue","colGroupName","groupProperty","colName","_colName$match2","chartPosition","hideDelay","snap","shared","outside","TooltipConfig","AGGREGATIONS_CONFIG","_AGGREGATIONS_CONFIG","_GROUPINGS","FIRST_REOPENED_AT","dataTransformationName","busiestHour","dayHours","hourAggregations","_$chain$sort$first$va2","chain","busiestHourValue","GEO_GROUPING_LIMIT","COUNTRY_GROUPING_TERM_SIZE","otherGroupIndex","pushOtherToLast","el1","el2","sortColumns","mappingIndex","replacementIndex","mergeColumns","userOptions","CONTINENT_GROUPING_TERM_SIZE","FIRST_ADMIN_REPLY_AT","FIRST_CLOSED_AT","_aggregations","_formatUnit","_groupings","_legend","_counter","_tableChart","_columnChart","_seriesColors","paywalled","_ref3$rest","_ref4$rest","counterOptions","tableChartOptions","columnChartOptions","closed_won","prev_closed_won","custom_fields","fieldID","field_id","OPERATORS","EXISTS_OPERATORS","value_field","attributeTypeForDescriptor","updatedField","additional_aggregation_parameters","message_subclass_types","_ref$excludeBotInbox","_ref2$excludeBotInbox","sla_statuses","ALL_SEGMENT_EVENTS","ENTERED_EVENTS","EXITED_EVENTS","sumContextToValue","categoriesContext","otherSignal","contextAndValuePair","combinedContext","stackableData","useDocCountsAsValue","_ref12","_ref13","contextKeysMap","_ref14","_ref14$value","_ref14$count","_ref15","contextTotals","contextValue","_ref16","aggregateValues","_ref17","contextValues","amazingOrGoodKeys","bucketTotal","amazingOrGoodTotal","_ref18","_keys$map2","numerator","_ref19","_ref20","modelIdsMap","VISUALIZATION_COLORS","colorHash","shade","scaledStart","orig","rgb","alpha","adminProfile","inboundEmail","inboxSearch","userList","onboardingHomeOrPlatform","basicInfo","canvasKit","review","workspaces","gettingStartedGuide","customerWorkspaces","installsAndUninstalls","historyOfEvents","EmbercomRouter","rootURL","publicPageRootUrl","locationType","isBootedInMeetingScheduler","setSentryTagsFromTransition","routeInfos","routeInfo","fallbackSegmentIdentifier","hook","cleaner","isJavascriptOrDataUri","SAML_VERIFICATION_ERRORS","saml_account_not_found","showLinkToArticle","invalid_saml_response","admin_not_found","not_authorized","missing_required_attributes","public_certificate_error","decryption_error","SAML_SIGN_IN_ERRORS","admin_create_failed","session_expired","customMessage","boundingBox","elementAndChildrenBoundingBox","boundingBoxPosition","boundingBoxSize","screenMargin","hashOfBoundingBoxEdges","containerEdges","SCREEN_MARGIN_OF_ZERO","screenSize","boundingBoxEdges","screenEdgesForScreenSizeHash","screenWidth","screenHeight","screenBoxSizeAccommodatingMargins","screenBoxSize","screenEdges","topEdge","rightEdge","bottomEdge","leftEdge","boundingBoxOnScreen","containingBoundingBox","scrollableParents","allAncestorNodes","elementCanScroll","currentEl","boxEdgesOne","elementBoundingBox","boxEdgesTwo","returnedBoxEdges","EDGE_NAMES","boxEdges","heightOfBoxEdges","widthOfBoxEdges","NULL_BOX_EDGES","intersectingBoundingBoxEdgesOfAllScrollableParents","containingBoundingBoxEdges","elementBoundingBoxIncludingChildren","returnable","elementIsFullyContainedWithinBoundingBoxEdges","elementIsNotOccludedByScrolling","includeChildren","jquery","boundingClientRect","newBoundingClientRect","maxTouchPoints","_screenAwareness","elementIsVisibleOnScreen","browserScrollbarWidth","$scrollDiv","SearchClient","documents","client","lunr","tokenizer","separator","_lunr","_window$localStorage","ref","disableGlobalStopWords","pipeline","stopWordFilter","_field$stopWords","boost","stopWords","use","_generateFieldStopWordPipeline","metadataWhitelist","documentFields","queryString","_window2","_window2$localStorage","usePipeline","wildcard","Query","TRAILING","editDistance","resultIds","filteredResults","_filteredResults$i","_filteredResults$i$ma","matchData","builder","_generateStopWordFilter","Pipeline","registerFunction","stemmer","memo","stopWord","segmentList","segmentToCheckForContext","_allSegmentFromList","segmentA","segmentB","segmentAIsCustom","segmentBIsCustom","exceptionRecordingEnabled","initParams","dsn","sentry","integrations","Integrations","whitelistUrls","mechanism","isUnhandledPromiseRejection","originalException","isUndefinedNetworkError","getErrorMessageFromHint","FILTERED_ERRORS","isFilteredErrorMessage","isFiltered","Sentry","getCurrentHub","getScope","_tags","responsibleTeam","route_name","boot_error","bootError","recordExceptionMetric","beforeBreadcrumb","breadcrumb","_urlRedacter","redactEmailFromUrl","configureScope","setResponsibleTeamFromTransition","setRouteParamsFromTransition","withScope","setupScope","captureMessage","setFingerprint","setExtra","setTag","entered","LoopDetector","edges","getUniqueNodes","successorNodes","predecessorNodes","visitedNodes","currentlyVisitingNodes","getNodeSuccessors","detectCycleFromNode","Sha1","msg","utf8Encode","K","N","H0","H1","H2","H3","H4","W","ROTL","T","toHexStr","z","unescape","utf8Decode","SUPPORT_SOLUTION_ID","LIVE_CHAT_SOLUTION_ID","LIVE_CHAT_SALES_SOLUTION_ID","ONBOARDING_SOLUTION_ID","RETAIN_AND_SUPPORT_SOLUTION_ID","MutableEnumerable","beforeObserver","addWatchedProperty","_paths","expandProperties","__ember_observesBefore__","sortFunction","orderBy","item1","item2","sortProperty","removeObserver","isSorted","arrangedContent","addObserver","_contentWillChange","sortPropertiesWillChange","_lastSortAscending","sortPropertiesDidChange","sortAscendingWillChange","sortAscendingDidChange","reverseObjects","contentArrayWillChange","removedCount","addedCount","removedObjects","contentArrayDidChange","insertItemSorted","_binarySearch","contentItemSortPropertyDidChange","leftItem","rightItem","leftResult","rightResult","low","high","mid","midItem","adminNotificationSound","Audio","playAdminNotification","legacyNameMap","_general","dottify","standardIconClasses","two-users","contact","all-companies","solo","TagSettingsList","populate","rowsToDisplay","rowsPerPage","matchingRows","timeZone","beforeAnd","afterAnd","notHtml","SIMPLE_VALIDATION_REGEX","NOT_SEPARATED_BY_COMMAS_REGEX","TrustedListUrlValidator","urlObject","pathname","isSeparatedByCommas","domainsCorrectlyFormatted","isEmptyUrlString","hasNoFormatErrors","domainsNotFormatted","rawDomains","parseUrl","domainUrlObjects","duo","urlIsInvalid","isNotSeparatedByCommas","_timeoutMap","clearTimeout","ttl","searchParams","getParameterByName","urlWithHttpPrefix","original","port","urlParts","queryKeyValues","redactedUrl","redactFromStrings","redactedQueryParts","keyValue","redactedQuery","EMAIL_REGEXP","strings","redactRegExp","urlTruncator","_urlParser","_truncateUriPath","_removeFileExtension","maxNumCharacters","truncationIndex","_endsWith","subjectString","lastIndex","URL_VALIDATION_REGEX","txt","getDisplayName","setSeen","sendUserContentSeenByAdminEvent","conversationUpdatedEvents","conversationUpdatedHandler","shouldHandleRealtimeEvent","updatedByRealtimeEvent","dateCursor","newPipelinePaginationCursor","hasMore","timelineType","page_num","pageNum","subject_id","ActivityFeedQuerySubscription","lookupKey","redirectToFilterUrl","inNewWindow","isCompanyKey","userOrCompanylookupKey","anonymousKey","urlKey","$dataElement","base64String","base64","rawData","outputArray","_B64UrlToUint8Array","applicationServerKeyString","PROVIDERS","parsedUrl","onlySubdomain","wistiaDomain","validCustomDomain","isWistiaCustomDomain","providerForUrl","parseId","YOUTUBE_REGEX","VIMEO_REGEX","WISTIA_REGEX","LOOM_REGEX","INVALID_WISTIA_LINK_MESSAGE","INVALID_LOOM_LINK_MESSAGE","VIDEO_PROJECTS","keyMatchRegex","ctaText","autoSaveEnabled","resetAutosaveTimer","autoSaveTimer","cancelAutoSaveTimer","_debounceSave","_loader","hasNoVamsInInterval","hasLeadConversationsInInterval","hasNoLeadConversationsInInterval","hasNoLeadConversationsOrVams","showDummyLeadContent","hasNoConversationsInitiatedByLead","hasNoConversationsInResponseToVisitorAutoMessage","hasNoLeadConversations","hasLeadConversations","totalVamsSentInInterval","totalVams","vam","totalStats","currentStat","variationStatsArray","subscribeToCampaignMessagePreviewUpdates","unsubscribeToCampaignMessagePreviewUpdates","_updateCampaignAudiencePreviewIfPresent","sampleMatchingUserIds","sample_matching_user_ids","_sampleUsersHaveChanged","_reloadCampaignAudience","_pushCampaignAudienceIntoStore","localSampleUserIds","allIdsMatch","arraysAreSameLength","jobColumn","processedColumnName","_processJobColumn","_jobColumns","_columnTypes","jobColumnSplit","columnState","campaign-message-list","cellPartials","campaign-select","campaign-title","partial","campaign-variations","campaign-from","campaign-sent","viewingParam","campaign-open","isPercentage","campaign-goal","campaign-click","recordPageRenderTime","metricName","_model","lastSeenAt","relativeLastSeenAt","matchCount","async","_attributes","hasTag","hasSegment","hasEvent","feedQueryOptions","ActivityFeedQuery","adminQuery","feedUrl","feedItems","activity-feed-items","feedItem","Fragment","UserAvatarData","revokedAt","expiredAt","isRevoked","isExpired","isNotExpired","isNotNew","isNotDeleted","webPushForAssignedToMe","webPushForAssignedToTeam","webPushForUnassigned","webPushForOtherTeamsAndTeammates","webPushForMentions","webPushForMessagesYouSent","webPushForOwnedConversations","webPushForOwnedAccountRevisits","hasAnyWebPush","mobileForAssignedToMe","mobileForAssignedToTeam","mobileForUnassigned","mobileForOtherTeamsAndTeammates","mobileForMentions","mobileForMessagesYouSent","mobileForOwnedConversations","mobileForOwnedAccountRevisits","emailForAssignedToMe","emailForAssignedToTeam","emailForUnassigned","emailForOtherTeamsAndTeammates","emailForMentions","emailForMessagesYouSent","emailForOwnedConversations","emailForOwnedAccountRevisits","browserAlertSetting","browserAudioAlerts","accountOwnerSpecificPageNotificationEnabled","accountOwnerSpecificPageNotificationUrl","updatesAboutAppsEnabled","browserAlertsForUnassigned","browserAlertsForTeam","dailySummaryEmailFor","subscriptionJson","client_auth_secret","client_public_key","p256dh","admin_messenger_background","away_mode_reassign_team_id","adminMessengerBackground","AdminAvatarData","last_name","localized_sender_name","is_me","is_github_bot","is_operator","is_facebook_bot","is_bot","advanced_shortcuts_enabled","email_verified","pending_email_change","current_email_pending_verification","on_bounce_list","has_default_avatar","has_unseen_changes","removed_from_current_app","audio_notifications_enabled","important_admin_notifications","importantAdminNotifications","impersonation_permission_status","impersonation_permission_default_reason","current_app_id","canAccessWorkSpaceSettings","canAccessProductSettings","canSendMessages","hasProductAccessForCurrentApp","has_enabled_2fa","isGithubBot","isFacebookBot","isBot","visible_tag_ids","visible_segment_ids","visible_assignee_ids","visible_attribute_ids","visible_company_attribute_ids","visible_inbox_view_ids","visible_inbox_sidebar_item_ids","browser_alert_setting","has_password","can_change_email","canChangeEmail","terms_of_service_accepted","canResendVerificationEmail","is_app_team","isNotAppTeam","isNotHuman","isAssignableUnderThePerSeatPricing","activeImportantAdminNotifications","acknowledged_at","cancelled_at","expired_at","activeProductIdsAcrossApps","inboxIsActiveOnAnyApp","inboxIsActiveOnEveryApp","inboxIsNotActiveOnEveryApp","hasMoreThanOneApp","canUseInboxInAnyApp","respondActiveForApp","per_product_pricing_flow","permissionsForApp","hasAvatarEmoji","last_active","location_data","hasTimezone","displayNameAndEmail","team_id","visibleTagIdsChanged","visibleSegmentIdsChanged","visibleAssigneeIdsChanged","visibleSidebarItemIdsChanged","visibleAttributeIdsChanged","visibleCompanyAttributeIdsChanged","eventId","visibleUserEventIdsChanged","visibleInboxViewIdsChanged","_dirtyAttributes","setSocialAccounts","twoFactorQRCodeSVG","hasTwoFactorQRCode","qrCode","use_admin_app_email","getEmail","isTwitterBot","sortName","hasEnabledCSComponent","csComponentState","cancelRefresh","hasCachedItem","updateCachedItem","noRedirect","allDoneCount","waitForTeamCount","effectivenessPercentage","waitForTeamPercentage","upperConfidenceInterval","proportionResolved","sqrt","exampleQuestionsWithContent.length","multipartResponse.responsePartsWithContent.length","multipartResponse.responsePartsWithNoContent.length","firstWentLiveAt","lastPausedAt","lastInterjectionAt","fromTemplate","selectedUserTypes","displayTitle","fragmentArray","languageIsComplete","exampleQuestionsIsComplete","exampleQuestionsWithContent","hasExampleQuestionsWithContent","sourceConversationId","triggerWordsList","hasTriggerWords","suggestedCluster","newTriggerWords","Cluster","example_count","emptyWords","hasMissingWords","ExampleQuestion","_this$text","_this$identifier","polymorphic","typeKey","responsePartsWithContent","hasPartsWithContent","responsePartsWithNoContent","hasNoPartsWithNoContent","ResponsePart","isMessengerApp","MF","isMessengerCard","isTourCard","isNotTourCard","embercomtype","initiallyOpenInserter","questionCount","sanitizeExample","rejectedExamples","removedExamples","selectedExamplesWithSource","currentSearchNumber","completedThreshold","addedFromSearchResultsWithSource","addedFromCurrentSearchWithSource","filterByProperty","addedFromPreviousSearchWithSource","addedFromSuggestion","addedFromSuggestionCurrentSearch","addedExamplesFromCurrentSearchOrSuggestion","presentedExamplesEmpty","isPresentingExamples","hasAddedExamples","hasNotAddedExamples","hasAddedExamplesInOtherSearch","hasNotAddedExamplesInOtherSearch","hasAddedAllExamples","hasAddedThresholdExamples","hasAddedThresholdExamplesOrAll","hasNotAddedThresholdExamplesOrAll","isNotCompleted","setSelectedExamples","searchNumber","sanitizedExample","selectedExampleItem","exampleA","exampleB","selectedExamples","storedData","welcomeMessageBody","pageviewId","recaptchaToken","securityResearcher","adBlockerDetected","signUpWithSubscription","existingAdmin","email_submission","recaptcha_token","security_researcher","require_verification","sign_up_with_subscription","pricing_model","input_country_code","sign_up_locale","untrackable","new_app_feature_flags","welcome_message_body","intent_survey","early_stage","add_on","skip_self_serve_blocking","AppPackageInstallUsageModel","AppSignInConfiguration","AppSsoDomain","customerId","anonymous_count","company_count","article_count","companies_activated","companies_enabled","open_message_thread_count","admin_open_message_thread_count","isNotDeveloperWorkspace","commentPlaceholder","hideAllUnsubscribeLinks","is_activated","isActivated","is_frozen_for_non_payment","installed_at","parent_app_installed_at","parent_app_id","show_powered_by","has_mobile_integration","has_active_github_integration","has_enabled_github_integration","has_salesforce_integration","has_marketo_enrichment_integration","has_hubspot_integration","has_pipedrive_integration","has_started_trial","has_active_trials","early_stage_partner","primary_user_source_is_import_type","unsubscribe_link_recipient_threshold","impersonation_session","awaiting_email_approval","invitingPermitted","restricted_to_engaged_only","email_rate_limited","android_devices","android_os_versions","android_app_versions","ios_app_versions","trialLengthInDays","inbox_email","unread_mention_threads","content_events_config","api_secret","api_secrets","primary_user_source","email_sender_domain","default_email_template","has_active_subscription","last_interested_in_user_source","first_identified_request_at","first_anonymous_request_at","signed_up_with_solution_id","signedUpWithSolutionId","companyCount","can_use_messenger","canUseMessenger","isNotOnFree","earlyStagePartner","valid_early_stage_applicant","valid_early_stage_applicant_until","early_stage_application_accepted","earlyStageApplicationAccepted","hasRelationshipManager","teammate_conversation_attachments_enabled","teammateConversationAttachmentsNotEnabled","teammate_conversation_gifs_enabled","teammateConversationGifsNotEnabled","isNotActivated","validEarlyStageApplicantUntil","validUntil","signedUpWithSolution","solutions","DS","PromiseObject","existingSolutions","solutionsFixture","productsIntercomradesOverride","webUserSources","hasExplicitWebUserSources","hasWebUserSource","installedAtDate","hasAnyInstalledAtDate","isNotImpersonationSession","conversationsRoute","conversationRoute","intentSurveyRoute","platformGuideRoute","conversationRedirectRoute","inboxBaseRoute","inboxConversationRoute","inboxRedirectConversationRoute","inboxConversationsConversationRoute","feedRoute","feedConversationRoute","unreadCount","PromiseArray","refreshUserSources","insertionStats","rate","_queryInsertionStats","insertions","insertion_rate","loadInsertionStats","has_insertable_content","appLoadedOnTouchScreenDevice","appLoadedOnNormalScreenDevice","defaultAssigneeIdIsNotEmpty","hasDefaultAssignee","defaultAssigneeIsUnassigned","articleCount","messagesProduct","featureIds","articlesProduct","inboxProduct","customBotsProduct","answerBotProduct","productToursProduct","liveChatSalesSolution","articlesIsNotActive","onlyOneProductIsActive","onlyArticlesIsActive","activeProductByPlanId","productWithVbpSupport","usesVbp","articlesProductWithVbpSupport","agentCount","pricingMetrics","signedUpWithSales","signedUpWithSupportRetain","iosSdkApiKey","iosSdkApiKeyIsActivated","androidSdkApps","androidSdkApiKey","androidSdkApiKeyIsActivated","onlyHasAndroidSdk","hasMobileIntegration","doesNotHaveMobileIntegration","hasActiveGithubIntegration","hasEnabledGithubIntegration","hasLegacyClearbitIntegration","hasPipedriveIntegration","hasSingleDeliveryChannel","numberOfIntegrations","_this$signedUpWithSol","_this$coreProduct","attribute_settings","messageGoalAttributes","browser_locales","team_json","teamsWithoutAppTeam","appTeam","adminsWithBillingPermissions","adminsWhoCanInstallApps","adminsWhoCanManageTeammates","adminsWithoutInboxAccess","usersTitle","importedUsersAndIsNotActivated","application_colors","doesNotRequiresInboxSeatAccess","currentAdminCanViewInbox","verifiedCustomEmailAddresses","isEnablingAdminAppEmail","adminEmailDKIMSettings","customSenderDKIMSettings","email_template_data","PromiseSortableArray","isEnglishLocale","_timeZone","humanReadableTimezone","hasNoPeople","operatorBot","nonBotAdmins","assignableAdminsWithoutUnassigned","assignableAdminsIncludingOwner","editableUserSegments","companySegments","editableCompanySegments","verifiedLoggedInInstallAt","verifiedLoggedOutInstallAt","emailVerificationRequired","refreshNavCounters","_fetchCounters","newPermissions","fetchAPISecret","_ajaxGet","allowlist1","allowlist2","allowlist3","getWithRedirectOn403","iconUrl","capabilities","APP_PACKAGE_IDS_WITH_TEAMMATE_SETTINGS","APP_PACKAGE_EXTRA_INSTALL_TYPES","APP_PACKAGE_INSTALL_STATES","longDescriptionBlocks","appPackageInstallId","installState","installStateMessage","installStateCtaUrl","installStateCtaLabel","installStateCtaType","installingAdminName","isLegacyVersionInstalled","installType","hasInstallUrl","hasNoInstallUrl","hasLearnMoreUrl","isRequiresOauthInstallType","isOAuthInstall","isCustomInstall","isThirdPartyAppStoreInstall","isIntercomAppStoreInstall","installDate","paywallFlag","builtBy","pricingPageUrl","avatarWorkspaceIdCode","developerHomepageUrl","extraInstallTypes","appPackageExtraInstallTypes","hasExtraInstallTypesEnabled","videoProvider","videoEmbedUrl","_videoEmbedUrl","buildEmbeddableVideoUrl","hasInstallStateUnknown","hasInstallStateUnhealthy","hasInstallStateOk","hasInstallStateNotFound","hasInstallStateInvalidAuth","hasInstallStateIncompleteConfig","worksWithMessenger","worksWithInboxConversations","worksWithOperator","worksWithMessages","worksWithInbox","worksWithInboxSidebarAndConversations","installationStatus","campaign_monitor_settings_id","clearbitAttributes","deflectionCta","deflectionLink","deflectionEnabled","introButtonText","CalendarSettings","intercomAppIdCode","intercomAdminId","accountEmail","hasIntegratedCalendar","shouldReauthenticate","webhookFilters","mailchimp_settings_id","leadEnrichmentEnabled","sendConversationActivityMetadata","autoCreateLeads","leadEnrichmentVersion","validators","statuspagePageId","deleteAndUpdate","_delete","_updateModel","adapter","adapterFor","normalizedModel","secondaryAccount","stripeImportFailed","revoked","hasIntegratedProvider","username","apiToken","connected","inverse","sortedChildren","sortedSections","sortedSiblings","isHome","isNotHome","hasArticlesRequiringReview","shouldFocusName","isFirstSection","isLastSection","isCollection","isSection","_promise","newFolderName","existingFolders","nameInUse","maxOrder","siteProvider","jobStatus","job_finished_at","updated_stats","pluralSelectedUserTypes","firstContent","hasSelectedLocalizedContent","hasDefaultLocalizedContent","titleForDisplay","publishedContents","is_public","missingTitlePlaceholder","allArticlesCount","finishedArticlesCount","finished","draftArticlesCount","missingTableErrorCount","missingListErrorCount","missingImageErrorCount","missingVideoErrorCount","missingContentErrorTotalCount","urlImportedFrom","visibleForUser","hasMissingContent","notEqual","isNotPublished","hasSummary","AdminMapper","mapAdminToId","articleCard","linkType","lastName","RTL_LANGUAGES","isANonHomeSection","titleizedLocale","localizedContentByLocaleId","hasDefaultLocalizedName","hasDefaultLocalizedDescription","defaultNameWithFallback","missingNamePlaceholder","hasSelectedLocalizedName","hasSelectedLocalizedDescription","missingDescriptionPlaceholder","initLocalizedContent","selectedLocales","headline","invalidTitle","missingTitle","invalidHeadline","headlineTooLong","IS_VALID_EXTENSION_REGEX","filetypeList","attemptedAction","AttributeModel","currencyTypes","human_friendly_name","cda_id","event_id","templatableIdentifier","usableInMessageGoal","visitorTriggered","visitor_triggered","hasOptions","fitsButtonGroupLayout","numberOfOptions","maxLengthPerOption","invalidOptions","hasEmptyOptions","isStripeType","isClearbit","isSalesforce","isCurrencyType","canBeUsedForQualification","isCampaignBehavior","isNotCampaignBehavior","isUserSortable","isHiddenForContact","isCompanySortable","isCampaign","isNotCampaign","isBehavior","isNotBehavior","isMessage","isContentEvent","isNotContentEvent","isBrowserAttribute","isUserCustomData","isCompanyCustomData","isNotIntegration","isConfigurable","settingsPath","isAccountFilter","isDateFilter","unspacedSanitizedIdentifier","prefixedUnspacedIdentifier","androidAttributes","isAndroidAttribute","iosAttributes","isMobileDeviceFilter","isIosAttribute","realTimeAttributes","isRealTimeAttribute","isClient","isTimeOnPage","isClientPageTargeting","isPredicatePageTargeting","isPredicateUrlVisitTargeting","isUntracked","isUntrackedCda","isUrlVisits","findUserEventPredicates","eventPredicateIdentifier","userPath","companyPath","forcedPastFromNow","asPredicateFilterObject","_selectEqualityComparator","attribute_is_custom_data","AttributeIconMap","Banner","_banner2","contentHash","BannerValidations","LocalizedBannerContent","LocalizedBannerContentValidations","Address","Contract","annual","canAddOrEditCoupon","peopleCountLimit","shouldContactSalesToStartTrial","cardBrand","cardExpiryMonth","cardExpiryYear","cardLastFour","couponAmountOffInCents","currentlyOnEarlyStage99","hadPreviousSubscription","hasActiveTrialWithoutCreditCard","hasActiveTrials","eligibleForEarlyStage","nonIrishVatNumber","intercomAccountCredit","lastDailyAppStatCreated","latestUserCount","latestMonthlyActivePeopleCount","latestActiveAgentCount","latestDailyAdminCount","manuallyInvoiced","notifyOfInvoices","subscriptionWillBeCancelledAt","subscriptionPricedPerProduct","pendingEarlyStageApplicant","firstTrialStartedAt","hasBillingAddress","hasNoBillingAddress","hasShippingAddress","formattedSubscriptionWillBeCancelledAt","relativeLastDailyAppStatCreated","validCardFields","hasCard","subscriptionWillBeCancelledAndHasCard","hasAccountCredit","formattedAccountCredit","timeUntilCardExpiration","cardExpirationDate","cardWillExpireWithinOneMonth","oneMonthFromNow","subscriptionWasCancelled","hasEverHadSubscription","hasNeverHadSubscription","latestUserCountDisplayFigure","isUserCountLessThanPriceSetLowerBound","priceSetLowerBound","billingUserCount","updateCustomerSolutionId","priceSetIdentifier","customerGraduationProcessTriggered","recommendedPlanIds","UNITS","startedAt","priceSet","isAnnualContractSecondarySubscription","formattedStartedAt","priceSetParts","lowerBoundStringChars","blockedAt","blockedByAutomation","blocked_by_id","blockedBy","deletedAvatar","hasNoName","hasEmailOnly","showAsAway","avatarUtils","formatInitials","shouldAnimateUpdate","BrandDomain","BrandDomainValidations","SHORT_COLOR_HEX_REGEX","Brand","brandDomain","colorProperty","expandedColor","expandShortColorCode","deleteEmptyDomains","messengerLogoUrl","action_color","wallpaper","launcher_position","side_spacing","bottom_spacing","deDupeDomains","emptyDomains","emptyDomain","domainsToRollback","dirtyBrandDomain","validPaddings","paddingWithinBoundaries","BrandValidations","meetingDescription","meetingLink","connectedAccount","schedulingCalendarId","availabilities","teammateCalendarUrl","evaluationCompleted","usersEvaluatedSoFar","usersMatchedSoFar","usersToBeConsidered","maxSampleMatchingUsers","sampleMatchingUsers","sampleMatchingUserId","backgrounReload","sampleMatchingUser","usersEvaluatedPercentage","enteredUserCount","exitedUserCount","goalSuccessCount","currentUserCount","goalSuccessRate","StateProperties","humanReadableCreationDate","lastWentLiveAt","hasMemberTypeChanged","migrationToSeriesHasCompleted","migrationToSeriesHasNotCompleted","seriesMigrationStatus","migratedSeries","migrationToSeriesHasStarted","migrationToSeriesInProgress","suspendedAt","isSuspended","isNotSuspended","spacingInDays","hasSpacing","hasNoSpacing","timeLimit","messageCounts","entryPredicateGroup","hasNoMessages","hasSingleMessage","doesNotHaveMultipleMessages","allMessagesAreValid","hasInvalidMessages","hasValidEntryCriteria","hasInvalidEntryCriteria","goalPredicateGroup","hasGoal","hasExamplePredicates","hasNoExamplePredicates","allPredicateGroupsAreValid","hasInvalidPredicateGroup","audiencePreviewCount","suspensionBannerText","maxUsersInMillions","anyLiveOrStoppedMessages","isNotDraft","_hasChangesToAttributesOtherThan","openEntry","closeEntry","new_folder_id","new_campaign_id","reorderUsingMessages","orderingMap","group_ids_and_orders","fetchDraftAudiencePreview","requiredUsersForUi","include_count","changedKeys","additionalData","countCampaigns","secondaryReasonId","tertiaryReasonId","switchingAnswerId","alternativeProductComment","secondaryReason","alternativeProduct","shouldHaveComment","shouldHaveAlternativeProductId","shouldHaveAlternativeProductComment","CancellationQuestionResponse","CancellationQuestion","CancellationReasonModel","CarouselAction","_fmtStyle","CarouselActionValidations","CarouselScreen","_setupDefaultScreen","headingBlock","defaultTitle","paragraphBlock","defaultParagraph","_clearEmptyImageTextBlocks","_clearUnsavedCarouselScreenActions","deletedActions","_createAction","_messengerColors","_rgbaToHex","button_background_color","button_text_color","actionRecord","actionToTitleMap","CarouselScreenValidations","Carousel","_carousel2","dismissible","CarouselValidations","_setupDefaultScreens","screenWhoseButtonActionHasBeenChanged","lookAndFeel","setTransientAppearanceProperties","_createScreen","_clearUnsavedCarouselScreens","deletedScreens","lastScreenOptionsValues","_showBannerIfRequired","resetOrderOfCarouselScreens","lastScreenActionType","carouselScreen","carousel_screens","carousel_actions","LocalizedCarouselContentValidations","hasUnknownEmailPredicate","Chat","_chat2","localizedChatContent","hasAndroidSessionsPredicate","hasiOSSessionsPredicate","ChatValidations","LocalizedChatContent","defaultBlockWithModelKey","assignToType","LocalizedChatContentValidations","Block","attachments","attachmentId","trackingLinkUrl","TextBlock","isWiderThanMaxPlainTemplateWidth","siteName","JsonType","isStaticCanvas","isText","unescapedText","thumbnailUrl","captions","PredicateGroupValidations","allPredicatesAreValid","userTypePredicate","hasEmailDisengagementPredicate","userAddedPredicates","hasNoUserAddedPredicates","predicatesForSummary","basePredicates","hasUserAddedPredicates","isOrMode","isAndMode","logicalPredicate","alternateJoinType","switchToOrJoinType","switchToAndJoinType","_switchJoinType","_joinedPredicatesWithNonUserAddedPredicates","switchFunction","_copyPredicates","joinedPredicates","nonUserAddedPredicates","addJSONPredicate","predicateJSON","forceTopLevelInsertion","addJSONPredicateWithDefaults","forceTopLevelRemoval","predicatesAsJSON","userAddedPredicatesAsJSON","userAddedPredicateDescriptions","baseUserAddedGoalPredicateDescriptions","baseUserAddedPredicateDescriptions","_generateJoinTypePredicate","_getLogicalPredicates","_generateUserTypePredicate","_generateDisengagedPredicate","includeEmailDisengagementPredicate","generatePredicatesWithNewUserType","_generatePredicates","generatePredicatesWithNewJoinType","generatePredicatesWithDisengagementPredicate","generatePredicatesWithoutDisengagementPredicate","joinTypePredicate","PredicateValidations","predicatesService","isOrPredicate","isUserEventDateType","isUserEventPredicate","isUserPredicate","isNotEditable","hasComparison","hasNoComparison","hasType","hasNoValue","hasAttributeComparisonAndType","hasAttributeValueAndType","isKnownComparison","isUnknownComparison","isKnownOrUnknownComparison","isIncreaseComparison","isDecreaseComparison","isIncreaseOrDecreaseComparison","isTriggeredComparison","isNotValueBasedComparison","isValueBaseComparison","isTrueComparison","isFalseComparison","valueIsNull","typeOfValue","valueIsObject","valueIsString","isRelativeDate","isTargetingUsers","comparisonOptionValue","userEventAttributeType","isTagType","isNumericTagType","isOptionalTagType","isSelectType","isStringType","isNumericType","isDateType","isBooleanType","isAnonymousType","isRoleType","isCampaignBehaviorType","isCampaignGoalType","isEmailDisengagementType","genericType","genericTypes","comparisonOptionsForType","camelizedType","optionsForType","dataManager","isTracked","predicateType","jsonPredicates","goalDescription","applyDefaultsForParagraph","Subview","appearance","createDefaultParagraph","contentBlock","subviews","insertParagraph","ContentBlock","ADDRESS_SOURCES","manually_added","forwarding_address","automatically_added","address_source","company_url","creation_source","manuallyCreated","notManuallyCreated","TaggingMixin","remote_created_at","industry","monthly_spend","session_count","user_count","segment_ids","notes","custom_data","website","avatar_color","existingTags","updateTaggingUrl","sortedAttributeSetting","use_intersearch","companyObjects","hasIntegrations","integrationCodes","codes","hasIntegration","ContentObject","ContentLink","FollowUpActions","_this$value","normalizeNumber","_event$target$validit","_descriptor$listOptio","_this$id$split2","compositeIdParts","ConversationAttributeDescriptor","_clearUnsavedListOptions","ListOption","ADMIN_PART_TYPES_WITH_SEEN_METADATA","Participant","u","_rule","user_agent","original_message_url","lightweight_reply_type","lightweight_reply_response","lightweight_reply_created_at","reactions_reply","created_from_quick_reply","passive","nonPassive","seen_by_current_admin","github_metadata_name","text_direction","unauthenticated","delivery_state","client_assigned_uuid","is_event","custom_snoozed_until_time","author_timezone","redacted_at","isAnswerRatingEnabled","answerRating","answerTitle","participant_reply_to_address","participantReplyToAddressDiffers","_this$participant","external_reply_send_state","messageShowPageRoute","messageShowPageId","fromAddressModel","idParts","isInitialMessage","part_type","is_note","has_article","has_attachments","hasUploads","has_image","hasImageBlock","has_gif","hasGifBlock","has_app","hasApp","messenger_app_ids","appIDs","isFirstCompactedPart","isLastCompactedPart","shouldHideMeta","shouldHideAvatar","SEEN","isSeenByCurrentAdmin","isReply","isPostStyleAutoMessage","isNoteStyleAutoMessage","isNotificationChannels","isLink","isLinkContainer","hasAllLinks","isRatingRequest","isHumanAdminPart","isInitialPartByUser","isInitialPartByAdmin","isInitialPartStartedFromArticle","isNotStartedFromArticle","isInitialPartStartedByCustomBot","isGithubBotPart","isNotOperatorPart","isOperatorCommentPart","isOperatorNotePart","isTwitterBotPart","isAnswerRatingPart","isStopped","isNotBotPart","blocksHaveUploads","blocksHaveNoUploads","uploadsIsEmpty","hasNoUploads","hasNoBodyOrUploads","hasBodyOrUploads","hasTaggings","isDuplicateConversationNote","isUnknownParticipantFromEmailConversationNote","isComment","isRuleAssignment","hasUserAgent","hasNoUserAgent","hasReaction","selectedReactionEmoji","hasOneImageUpload","_this$blocks","_this$blocks2","_block$url","_this$blocks3","isExplicitAssignment","subType","isNotExplicitAssignment","isImplicitAssignment","isExplicitAssignmentWithBody","isHybridAssignment","hasNoAssignee","isAssignToUnassigned","adminIsAssignee","isBulkReassignmentSubType","isReassignOnAdminRemovalSubType","isBulkReassignment","isAction","isStateChange","isOpener","isCloser","isReopener","isSnoozer","isUnsnoozer","isTimerUnsnoozer","isNoteUnsnoozer","isAssignmentUnsnoozer","isPriorityChanger","isTitleChanger","isPriorityRuleEvent","isConversationSlaApplier","isConversationSlaRemover","isConversationSlaTargetMisser","isTagEvent","isConversationAttributeUpdatedByAdmin","isConversationAttributeUpdatedByUser","isConversationAttributeUpdatedByWorkflow","isNoteOrCloserOrEventOrConversationRatingOrExplicitAssignment","isCloserWithBody","isReopenerWithBody","isAdminReopenerWithBody","isUserReopenerWithBody","isSnoozerWithBody","isUnsnoozerWithBody","isLightweightReply","isNotLightweightReply","hasLightweightResponse","lightweightReplyResponseIcon","isThumbsLightweightReply","isEmotionsLightweightReply","lightweightReplyStatement","lightweightReplyResponse","isAwayModeAssignment","isNotNote","isAdminPartWithBody","isAdminCommentOrMessage","isUserComment","isEventWithoutBody","displaysAsAdminComment","displaysAsUserComment","isToolable","hasTools","shouldDisplayTools","shouldDisplaySeenState","isPartSameOrAfterConversationReadDate","read_at","hasBeenSeen","isWaitingSinceInfluencingPart","messengerCardBlocks","messengerCardUris","hasOnlyMessengerCard","hasChannelType","lowerCaseChannelType","isChannelInApp","isChannelOther","isChannelMobile","isChannelSMS","isChannelEmail","isChannelSocial","isChanneliOS","isChannelAndroid","isChannelFacebookMessenger","isChannelFacebook","isChannelFacebookOrFacebookMessenger","isChannelTwitter","channelIcon","creator","hasNoInboundEmail","shouldHideViewRawEmailLink","twitterUsername","actionIcon","actionStatement","actionStatementTarget","uniqueTaggings","parsedSummary","isNonEventPartAction","isAdminAction","isAdminActionWithoutBody","canUseDuplicateConversationDetection","hasSeenMetadata","isNewChanged","sourceOfMessageLabel","creatorIsAnonymous","sourceForUsers","sourceOfMessageLabelForUsers","shortenedMessageSourcePathForAnonymousUsers","_failedWithRetriableError","isRetriable","receivedError","expectedError","isUserPartOrReply","canBeRedactedForUserPartOrReply","canBeRedactedForNote","canBeRedacted","isNotRedacted","redacted_by_id","redactedBy","redact","remark","seen_in_inbox_of_love","unseen","hasRemark","userWithAvatar","markRatingAsSeen","ConversationRatingsSettings","canCreateConversationRatings","excludeLeadsFromConversationRatings","can_create_conversation_ratings","exclude_leads_from_conversation_ratings","SLA_PIVOT_TIMESTAMP","brand_name","latest_admin_visible_comment_at","reply_count","initial_channel","started_from_article","started_by_custom_bot","has_uploads","can_use_salesforce","lead_identified_via_email","is_one_to_one_conversation","waiting_since","admin_has_read","latest_update_at","next_breach_time","inbox_view_ids","redacted","has50ParticipantsOrMore","drafts","hasDraft","hasNoDrafts","isNotFacebook","isNotTwitter","isInitialChannelPush","isInitialChannelEmail","isInitialChannelMessenger","sortedNonPassiveParts","hasFetchedParts","articleSuggestionCount","hasSla","hasNoActiveTimeTarget","initiator","ConversationStreamSyncedList","partTasks","feedFormattedDate","feedDaysAgo","latestUpdateAtTime","currentTime","canBeImplicitlyAssigned","adminAssignee","hasAdminAssignee","teamAssignee","hasTeamAssignee","first_user_part","last_part","last_action_part","lastPartWhereCurrentAdminIsMentioned","last_part_with_content_excluding_operator_v2","localLastPartExcludingOperator","someoneIsTyping","conversationSeenStatus","partsExcludingBots","hasAdminCommentOrMessage","userParts","userPartsWithBody","lastUserPartCreated","lastUserPartTooOldToReply","expiresAfterDays","showFacebookWarningBanner","ordinal","waitingSinceOrdinal","_getTimeForDate","_getFutureTimeForWaitingSince","currentWaitingSince","_waitingSinceInfluencingPartsDesc","_calculateWaitingSinceForAdminPart","latestPart","futureTime","influencingParts","indexOfLastAdminComment","nextUserComment","isNotWaiting","inverseOrdinal","secondLastNonPassivePart","secondLastPart","isSingleMessage","isLastAnOpeningAdminMessage","shouldDisplayMessageOnHeader","message_and_replies_count","fromDeletedUser","display_item_reply_count","otherParticipants","isPrioritised","isLastPartAdminAction","subtype","lastPartCreatedAt","convoUpdatedAt","lastNonPassivePart","convoSortingUpdatedAt","handleRealtimeEventIfShould","eventClientSideUUID","clientAssignedUuid","updateConversationAttribute","updatedAttributes","genericRealtimeUpdate","exisitingRecord","createdRecord","eventAssigneeId","eventPriority","eventNextBreachTime","isEventFromUser","lastActivityOwnerId","eventConversationSlaId","_this$appService$app2","teamAssigneeId","adminAssigneeId","clearAdminTypingState","handleExternalReplySendStateRealtimeEvent","conversationPartId","commentId","send_state","sendState","info_message","infoMessage","updateConversationReadAt","readAt","updateUserIsTyping","userIsTypingTimer","cancel_user_is_typing_timeout","typingAdminPartType","updateAdminIsTyping","adminIsTypingTimer","isTypingTimeout","createDraftForAdmin","_conversationCleaner","conversationTask","savePart","saveParts","saveMultipleParts","markAsReadForAdmin","added_participants","searchUrl","_params$assignee_iden","ConversationTopicModel","keyphraseText","splitKeyphrases","joinKeyphrases","SuggestedConversationTopicModel","TopicSuggestion","ALL_PART_TYPES","ALL_AUTHOR_TYPES","Topic","_initPartTypes","_initAuthorTypes","_initTagIds","_initeExcludedKeyphrases","excludedKeyphrases","ancestors","subTopicsIds","Initiator","readableContentType","OUTBOUND_EDITOR_ROUTES","amountOffInCents","percentOff","billingCyclesLeft","ownerName","ownerRole","ownerEmail","recordCount","leadScore","leadStatus","dealTitle","dealStatus","dealCount","stageName","WebhookFilter","Import","previewColumns","errorCounts","isLeads","columnsWithTooManyFailingRows","columnErrors","errorCount","remainingErrorCount","isCustomEmailAddress","archived_attributes","hideInput","last_contacted_at","last_heard_from_at","social_accounts.job_title","geoip_data.continent_code","geoip_data.country_name","geoip_data.country_code","geoip_data.region_name","geoip_data.city_name","geoip_data.timezone","user_agent_data.name","user_agent_data.version","ios_app_version","visit_count","session_count_ios","last_request_at_ios","ios_os_version","last_request_at_android","android_os_version","session_count_android","android_app_version","android_device","user_agent_data.os","social_accounts.twitter.follower_count","social_accounts.twitter.accounts.0.url","social_accounts.linkedin.accounts.0.url","social_accounts.facebook.accounts.0.url","social_accounts.klout.accounts.0.kscore","user_event_summaries.segment-created.count","marked_email_as_spam","has_hard_bounced","last_email_opened_at","last_email_clicked_at","last_visited_url","url_visits","total_url_visits","manual_tag_ids","language_override","vip_timestamp","company.name","company.last_request_at","company.remote_created_at","company.user_count","company.session_count","company.plan_id","company.monthly_spend","company.manual_tag_ids","company.tag_ids","company.size","company.website","company.industry","company.custom_data.id_code","company.custom_data.admin_link","company.custom_data.framework","company.custom_data.installed_at","company.custom_data.converted_at","company.custom_data.tracked_users","company.custom_data.signed_up_through_heroku","company.custom_data.powered_by_intercom","company.custom_data.custom_data_installed_at","client_attributes.time_on_page","utm_campaign","utm_content","utm_medium","utm_source","utm_term","account_id","account_name","chat_viewed","chat_received","chat_opened","chat_clicked","chat_goal_hit","chat_replied","chat_dismissal","post_viewed","post_received","post_opened","post_clicked","post_goal_hit","post_replied","post_dismissal","post_reacted","email_received","email_opened","email_clicked","email_goal_hit","email_replied","email_bounced","email_unsubscribed","tour_viewed","tour_completed","tour_failed","tour_goal_hit","push_received","push_opened","push_goal_hit","carousel_received","carousel_completed","carousel_dismissal","carousel_goal_hit","custom_bot_received","custom_bot_replied","custom_bot_completed","custom_bot_goal_hit","fixnum","downcased_string","android_version","skip","startChat","deepLink","locationPermission","pushNotificationPermission","microphonePermission","photosPermission","ret","HEADING_BLOCK","PARAGRAPH_BLOCK","IMAGE_TEXT_BLOCK","titleTextImage","imageTitleText","listWithIcons","permissionsRequest","existing","UNKNOWN_SOURCE","PING_SOURCE","PUBLIC_API_SOURCE","ATTRIBUTE_COLLECTOR_SOURCE","numericComparisons","optionalTagComparisons","CustomPredicateFilterMap","PredicateFilterMapCopy","notDraining","draining","messengerTrigger","_objectIcons","_objectInterfaceIcons","_objectNames","_objectSpread2","leads","audienceRoles","audienceNames","_audienceNames","_roleNames","ongoing","one-off","basedOnUserTimezone","cancelled","starting","internal","objectsWithPriority","seriesOnlyObjectTypes","standalone","noMigration","objectFeatures","_objectFeatures","_permissionsMap","noDuplication","READ_ONLY_IN_APP_MOBILE","IN_APP_MOBILE","inAppMobilePreset","canCreateVideoAutoMessages","presetHash","READ_ONLY_IN_APP_WEB","IN_APP_WEB","inAppWebPreset","READ_ONLY_EMAIL","EMAIL","plain","emailPreset","READ_ONLY_PUSH","PUSH","IMPLICIT_IOS_SESSION_PREDICATE","IMPLICIT_ANDROID_SESSION_PREDICATE","IMPLICIT_PUSH_ONLY_PREDICATE","IMPLICIT_EMAIL_BOUNCED_PREDICATE","emailPredicates","iosPredicates","androidPredicates","pushOnlyPredicates","iosPushOnlyPredicates","androidPushOnlyPredicates","emailCollectorPredicates","customBotType","emailStyle","noPageTarget","roundRobin","VARIATION_DEFAULTS","pointerSelector","pushOnlyURIs","mondayDelivery","tuesdayDelivery","wednesdayDelivery","thursdayDelivery","fridayDelivery","saturdayDelivery","sundayDelivery","pushBlocks","pushURIs","variationA","variationB","pageTargetType","pageTargetString","delivery-conditions","follow-up","scheduling","allowOtherInput","monochromeIcon","monochromeIcon2x","colorIcon","colorIcon2x","noSender","lastSent","tourStepViews","dismissals","collectedEmails","seriesContentReceipts","snippet","modelKey","premade","personal","official","premadeTemplateIDMapping","reengagement","leadgeneration","predefinedUserIconMap","All","All Users","All Contacts","All Leads","New","Active","Slipping Away","Card Expires Soon","Delinquent","Loyal Subscribers","predefinedCompanyIconMap","stringComparisons","tagComparisons","numericTagComparisons","optionalComparisons","anonymousWithLabels","vip_query","duration_integer","url_visit_integer","url_visit","over_messaging_protection","entityTypes","timeConstraints","seriesGoalTimeConstraints","_timeConstraintsByEnt","defaultEventVerbsMap","goal_hit","dismissal","collected_email","eventVerbsMap","reacted","custom_bot","collectedEmail","tour_step_failure","softBounce","chat_collected_email","banner_viewed","banner_clicked","banner_reacted","banner_goal_hit","banner_collected_email","hubSecret","nameWords","basicInfoDescription","allowBlank","getPricingModelValues","appStoreListing.longDescription.firstObject.text","appStoreListing.videoId","appStoreListing.imageUrls.length","appStoreListing.categories.length","appStoreListing.learnMoreUrl","isDirectInstallation","isNotDirectInstallation","validationsDisabled","basicInfoDescriptionErrors","appIconErrors","descriptionErrors","builtByErrors","installUrlErrors","uninstallUrlErrors","healthCheckUrlErrors","longDescriptionErrors","imageUrlsErrors","videoErrors","categoriesErrors","learnMoreUrlErrors","termsOfServiceUrlErrors","privacyPolicyUrlErrors","pricingModelErrors","pricingPageUrlErrors","supportEmailErrors","documentationUrlErrors","avatarWorkspaceErrors","developerHomepageUrlErrors","hasOutdatedScopes","postAndUpdate","normalizedProperties","apiVersion","isPrivateApp","currentApp","ownerApp","protectedAppPackageIds","CumulativeTotalInstalls","signalData","different_needs","bad_performance","better_replacement","too_expensive","publiclyAvailable","buildVideoUrl","_parseVideoUrl","parseVideoUrl","appStoreCategories","feedbackNotes","scopeDescriptions","initializeUrl","initializeUrlErrors","submitUrlErrors","enabledErrors","configureUrl","submitSheetUrl","enabledCapabilities.length","availableInOperator","availableInConversations","availableInMessengerHome","availableInMessages","availableCapabilites","collect","enabledCapabilities","capabilitesErrors","configureUrlErrors","submitSheetsUrlErrors","scopes.length","scopes","scopesErrors","oauthDisabled","scopeType","orderId","scopeId","urlErrors","missingRequiredScopes","topicObjects","approvedScopeIds","requiredScopes","hasAtLeastOneRequiredScope","displayOnUsers","displayOnCompanies","isSortedDescending","DkimSettingsModel","valid_record_exists","validRecordExists","_this$adminEmails","collectionsCreated","validUrlsProcessed","importCompletedAt","importFailedAt","importStartedAt","invalidUrlsProcessed","givenSiteProvider","totalUrlCount","missingContentErrorCount","titleSelector","bodySelector","categoriesSelector","entryType","isCustomTemplateImport","isBuildingCustomTemplate","isDoneCreatingArticles","isAddress","isLogo","INTERCOM_BUILT_TEMPLATE_NAMES","editor","isAnnouncement","isPersonal","isHtmlMode","isPlainOrCompanyOrAnnouncement","_notEqualWithStandarizedWhitespace","string1","string2","isDirtyIgnoringWhitespace","app_base_color","powered_by_link","dont_want_to_get_emails_like_these","hasRecordForId","email-templates","EmailModel","_email2","EmailValidations","LocalizedEmailContentModel","isUsingPremadeTemplate","isUsingCustomTemplate","isSenderOwnerWithCustomEmailAddressFallback","isSenderAdmin","isSenderOwner","LocalizedEmailContentValidations","_this$avatar","_this$avatar$image_ur","archived_events","visible_for_current_admin","firstCharacter","formattedFirstDate","formattedLastDate","sourceUrl","eventTrigger","urlRegex","hasDynamicSegment","subscribed","about","force_2fa","should_gather_social_data","uses_test_app","customer_has_active_subscription","sso_domain_whitelist","can_enable_enforce_sso","parsed_allowed_domains","userConversationAttachmentsEnabled","GithubIntegration","fullName","_bounds","_coordinates","_generator","LineSegment","Path","_graph","_hooks","_offset","_settings","_state","linkId","hasNoTitle","hasNoUrl","externalLoginName","externalLoginUrl","footerLinks","selectedLocalesWithoutTitle.length","selectedLocalesWithHeadlineTooLong.length","customDomainAndPathPrefix","headerUrl","socialUrl","turnedOn","homeUrl","multilingualTurnedOn","zendeskImporterClientId","zendeskImporterRedirectUri","disableBranding","facebookHandle","twitterHandle","linkedinHandle","hasInvalidFooterLinks","canAddFooterLinks","selectedLocalesWithoutDefault","withoutDefault","selectedLocalesWithoutTitle","selectedLocalesWithHeadlineTooLong","userFriendlyUrl","_parseUrl","onOffStatus","emptyFooterLink","_reOrderFooterLinks","supportsLocale","supportedLocale","IdentityVerificationSettingsModel","completedImportAt","manualTagName","manualTagId","errorReport","pluralisedError","failedRecords","failedRecord","_setFailedRecord","tooltipError","dummyUser","reply_to","bcc","plain_text","InboxViewModel","open_count","snoozed_count","closed_count","unread_count","_status","_sortDirection","_sortLocalStorageKey","_sortKey","hasPrioritisedConversations","hasNoPrioritisedConversations","isPredefinedInbox","isNotAdminInbox","isAdminInbox","hasTeamMembers","countIsUndefined","determinantCountIsUndefined","determinantCountIsZero","isSortingByNextBreachTime","isSortedByPriorityNewest","realtimeUpdater","_cancelScheduledSync","additionalConversationsCount","_convosDiff","convosDiff","remoteConvos","_fetchConvoList","sync_data","_findConversationDiff","_setScheduledSync","include_total_count","markConversationAsNotTransitioned","currentConversation","removeConversationTask","_updateInboxCount","conversations_per_page","isCurrentConversation","isCurrentInbox","transitionedToNextUntransitioned","isConversationInContext","_attemptTranstionToNextUntransitionedConversation","timeToNextSync","scheduledSync","nearestUntransitionedConversation","forceAddConversations","removeWhenOutOfContextEvenIfCurrent","isInList","isInContext","_shouldTransitionConversation","_isConversationStatusInContext","_isConversationAssigneeInContext","assigneeInbox","inboxStatus","inboxAssignee","conversationAssignee","nextUntransitionedConversation","sectionToAdd","sectionToRemove","parentSectionList","intercomModuleIdentifier","isIntercomModule","isUserModule","isCompanyModule","isConversationModule","isShopify","appCardIdentifier","componentIdentifier","Rule","subRouteString","isInboxAssignmentRule","isDefaultInboxAssignmentRule","isOwnerAssignmentRule","isAssignmentRule","isTeamAssignmentRule","isRoundRobinAssignmentRule","_buildRoundRobinMetaData","roundRobinChanged","round_robin_from","round_robin_to","assignByRoundRobinRawData","underlyingRule","lastExecutedAt","firstAction","hasValidName","underlyingRuleHasValidPredicates","underlyingRuleHasValidActions","hasDirtyPredicates","isDirtyOrHasDirtyChildObjects","isConversationTagRule","isPriorityRule","isConversationSlaRule","isOperatorLeadQualificationRule","isOperatorUpfrontCollectionRule","isCustomBotRule","isCustomBotSimpleActionRule","isCustomBotFollowUpRule","updatedByAdmin","isNotExpanded","createdSuccessEventText","updatedSuccessEventText","ConversationSla","auto_seat_assignment_done","manually_assigned_seat","billing_activated","fallback_admins_assigned","date_migration_complete","grandfathered","suggestionText","suggestionAvatar","filterAvatar","filterText","dropdownIcon","suggestionIcon","filterIcon","QueryBuilderDropdownItem","isFilterType","isLoadingSpinner","isSuggestion","isKeywordPrompt","isNoMatchForType","isKeyboardNavigable","isSearchByKeywordPrompt","_teammateAssigneeFilter","TeammateAssigneeFilter","_teamAssigneeFilter","TeamAssigneeFilter","_assigneeFilter","AssigneeFilter","_dateFilter","DateFilter","_tagFilters","_userFilters","UserFilter","validFilterTypeSyntaxHash","syntaxSymbols","syntaxSymbol","filterTypeSyntax","indexOfSyntax","trimStart","suggestionTypes","_shouldAddFilter","remainingFilterText","_textFilterWithoutTextProvidingCurrentSuggestion","removeAfterPosition","userHasName","suggestionSubtext","articleResponseRate","unhandledSearches","operatorClosed","filteredSearches","open_percentage","reply_percentage","response_count","response_percentage","click_count","click_percentage","unsubscribe_count","unsubscribe_percentage","bounce_count","bounce_percentage","complained_count","complained_percentage","failed_percentage","addProperties","thumbs_up_count","thumbs_up_percentage","thumbs_down_count","thumbs_down_percentage","happy_count","happy_percentage","neutral_count","neutral_percentage","sad_count","sad_percentage","reaction_0_count","reaction_0_percentage","reaction_1_count","reaction_1_percentage","reaction_2_count","reaction_2_percentage","reaction_3_count","reaction_3_percentage","reaction_4_count","reaction_4_percentage","last_sent_on","goal_success_percentage","countFormatter","displayOpenPercentage","displayReplyPercentage","displayResponsePercentage","displayGoalSuccessPercentage","displayClickPercentage","displayBouncePercentage","displayUnsubscribePercentage","displayComplainedPercentage","displayFailedPercentage","displayHappyPercentage","displayNeutralPercentage","displaySadPercentage","displayThumbsUpPercentage","displayThumbsDownPercentage","displayReaction0Percentage","displayReaction1Percentage","displayReaction2Percentage","displayReaction3Percentage","displayReaction4Percentage","displayFailedCount","displayComplainedCount","displayUnsubscribeCount","displayBounceCount","displayGoalCount","goalCountValue","displayLastSentDate","localeFormattedLastSentDate","realTimeIntegerKeyTranslations","realTimePercentageKeyTranslations","sadRate","updateFromRealTimeNotification","realTimeKey","emberKey","lastSentOnTimeStamp","lastSentOnString","has_any_conversations","daily_stats_as_signal","daily_stats","conversationsChartCategories","conversationsChartSeriesData","spamming_stats","hasNoSpammingStats","email_variation_stats","in_app_variation_stats","variation_stats","global_stats","formatted_global_stats","is_global","goalPercentage","in_app","lead_formatted_global_stats","conversationsRate","lastUpdated","isSadRateHigh","sadRatePercentage","conversationsRatePercentage","received_message_count","received_by_count","example_users","extra_user_count","message_title","variation_name","from_address_id","is_deleted","shouldShowReplyTypes","shouldShowMessageStyle","message_goal_id","campaign_title","entity_type","hasMessageTitle","isTextReplyType","isThumbsReplyType","isEmotionsReplyType","isEmailStyle","isChatStyle","isAnnouncementStyle","isSmallAnnouncementStyle","isLwrStyle","outboundEditorRoute","noGoalValue","responsePercentage","replyPercentage","hasNoSentCount","setupFlowType","builtByIntercom","connectedIntegration","hasIntegrated","addedDate","isModal","isExternalLink","buttonComponentPath","connectedPagePath","transitionParams","currentCustomTransition","customDescription","integrationsWithCustomTransition","customTransitions","AccountList","IdentityMappingField","Settings","IntercomPagesProfileModel","assetUrl","subPath","guideTaskCompleted","guideChecklistKey","guideChecklistProductId","guideChecklistName","guideTaskKey","guideTaskName","guideTaskDescription","onboardingTaskCompleted","onboardingTaskKey","onboardingUseCaseKey","appAtMaxTeammates","appIsAnnuallyContracted","onboardingHomeStepName","InvitedAdmin","billAhead","mrrAmount","periodEnd","periodStart","postSubtotalType","priceInCents","educateActive","perProductLineItem","preDiscountCost","discountAmount","hasPreDiscountCost","canDisplayMrrAmount","hasUserCount","hasPeopleCount","hasUserOrPeopleCount","productAndPlanNames","trueUpOveragePrice","hasNoMetadata","annualContractTerms","billAheadCouponLineItems","billAheadFixedPriceDiscountLineItems","billAheadMultiProductDiscountLineItems","billAheadPeriodEnd","billAheadPeriodStart","billAheadPermanentDiscountLineItems","billAheadPreSubtotalLineItems","billAheadSubtotal","billAheadTotal","billAheadVatLineItems","cardAmountInCents","extraBillingDetails","outOfPeriodCouponLineItems","outOfPeriodPermanentDiscountLineItems","outOfPeriodVatLineItems","outOfPeriodCreditLineItems","refundedAmount","retrospectiveCouponLineItems","retrospectiveMultiProductDiscountLineItems","retrospectiveFixedPriceDiscountLineItems","retrospectivePeriodEnd","retrospectivePeriodStart","retrospectivePermanentDiscountLineItems","retrospectivePreSubtotalLineItems","retrospectivePrepaidCreditLineItems","retrospectiveSubtotal","retrospectiveTotal","retrospectiveVatLineItems","usageLimitAgreement","subtotal","trueUp","dueDate","balance","includesOneTimeOnly","isUpcoming","parsedPeriodEnd","parsedBillAheadPeriodStart","unixBillAheadPeriodStart","isZuora","isPaid","displayedTotal","hideBillAhead","hasRetrospectiveVatLineItems","hasBillAheadVatLineItems","hasVatLineItems","hideRetrospective","isTrueUpWithNoExpansion","trueUpExpansion","hasItem","lineItemHasBeenAddedToProduct","lineItemProductAndPlan","lineItemCountForProduct","productAndPlan","hasUsageLimitAgreement","freeAgentCount","minimumAgentCount","minimumActivePeopleCount","JitSettingsPermissions","SelectionState","PredicateValidator","hasCount","hasNoCount","hasNoPredicates","hasIncludedIds","hasExcludedIds","isSelectionBased","isNotSelectionBased","isUserMessage","hasMultipleRecipients","countIsZero","countIsZeroOrNone","nullifyCountWhenPredicatesChange","hasNoTotalCount","checkIsCompanyPredicate","andPredicate","isCompanyMessage","countFromDeselected","isSingleSelection","selectedIDs","deselectedIDs","logSettingsUrl","logs-settings","objs","isAdminInviteChange","_isRoleChanged","_isRoleAssigned","_isRoleRemoved","isAdminPermissionChange","secureAccessToken","date_created","createFromPayload","listPayload","listObjects","mailchimp_lists","mailchimp_list","ClientData","ContentPreview","setupPredicateGroup","_this$contentPreviewD","contentPreviewData","ControlGroup","_controlGroup2","ControlGroupValidations","isUserTimezoneBased","isAppTimezoneBased","RulesetErrors","RulesetLinkValidations","contentPreview","isEnded","parameterizedObjectName","databaseId","isSeriesOnlyObjectType","_this$object","_this$object$beforeSa","_this$object2","_this$object2$afterSa","RulesetLink","initializeFragmentsAndSetInverseRelationships","RulesetVersion","lastStateChangeAdminId","RulesetValidations","isScheduled","isMatchBehaviorSingle","isMatchBehaviorStatic","rulesetErrors","isNotNewRuleset","audienceValid","isUsingWebOnlyPredicates","userRolePredicate","predicateFromPredicateGroup","predicateFromRolePredicateGroup","canCreateTest","hasDifferentRulesetLinkTypes","hasContentWithVersions","isTriggeredByCode","unschedule","_request","_this9","fetchAudiencePreviewRequest","predicatesForAudiencePreview","additionalPredicates","_this$node$series","negatePredicates","allPredicates","uniqueImplicitPredicates","flattenedPredicates","createForType","ScheduledStateChange","changedById","emailFromConversation","userIdFromConversation","booked","notBookable","startInPast","jobTitle","MessageVariationValidations","VariationUIConcern","isVariationA","nameOfMessageRelationship","assignment_strategy","assignmentStrategy","emailAddressForApp","templatedEmailAddressForApp","dynamicAssignee","customReplyToAddress","hasCustomReplyToAddress","fromDisplayAs","stoppedAt","json_blocks","clickTrackingLinks","didUpdate","didLoad","hasRepliesDisabled","messageStyleNames","isUAMEmailCollectorEnabled","canUseAttributeCollector","supportsAttributeCollectorReplyType","isFull","isSummary","isBadge","hasBeenSent","hasNotBeenSent","canSetRoundRobin","assignWithRoundRobin","previewBlocks","generatePreviewBlocks","styleLabel","styleIcon","localeFormattedCreatedAtDate","isReactionOrLWRReply","htmlPreview","_composerPresets","message-variations","selection_state","preview_user_id","outboundAddresses","sendPreviewUserId","PRIORITIZED_STATES","MutatableMessage","MessageValidations","MessageUIConcern","MessageRollback","SortableMessage","belongsToCampaign","belongsToFolder","rollbackRelationshipNamesWhitelist","classType","scheduledToGoLiveAt","hasPageTargeting","hasNoPushNotifications","isToBeScheduled","hasNoDeliveryChannel","hasDeliveryChannel","isWebFirst","isNotWebFirst","isIOSFirst","isAndroidFirst","isMobileFirst","isAnyPlatformFirst","containsPointerMessage","isNotDueToStop","forceUnsubscribeLink","unsubscribeLinkRecipientThresholdExceeded","selectionStateValuesAreValid","goalPredicatesAreValid","validationsFail","messageGroupId","messageGroupName","messageGroupOrder","isAutoMessage","isNotCampaignMessage","isNotManualMessage","isAutoOrVisitorMessage","isNotCampaignMessageInNonDraftCampaign","isCampaignOrAutoMessage","isNotCampaignOrAutoMessage","isCampaignOrAutoOrVisitorAutoMessage","isDraftCampaignWithCampaignBehaviorPredicates","isNotDraftCampaignWithCampaignBehaviorPredicates","isCampaignWithNoEntryPredicates","isNotCampaignWithNoEntryPredicates","isDirectMessage","isNotDirectMessage","canCreateBVariation","isValidForAudiencePreviewUpdate","isValidForCampaignAudiencePreviewUpdate","hasNoControlGroup","variations","hasSingleVariation","hasStoppedVariation","hasAnyHtmlVariation","isNotVideoMessage","canBePaused","isEditableManualMessage","canBeEdited","canBeSetLive","canNotBeAutoSaved","canBeAutoSaved","canHaveAnswerBotFollowup","isInAppAndUAMFollowUpActionsEnabled","canHaveFollowUp","hasDeliveryWindow","hasNoDeliveryWindow","hasDeliveryConditions","campaignAudiencePreview","isNotEmail","isNotInApp","isNotMobilePush","isInAppAndNotInCampaign","isInAppAndDeliveryWindowsEnabled","canEditDeliveryWindows","hasDisplayableUser","recipientsDisplayAs","recipientCount","recipientCountWithDisplayableUser","variationsHaveBeenSent","controlGroupHasBeenSent","variationASends","variationBSends","totalSends","hasRemainingSendCount","isStoppableManualMessage","isManualMessageWithPendingSends","sendingStatus","has_message_delivery_window","has_enabled_exclude_disengaged_users","has_control_group","control_group","class_type","_predicatesHelper","displayFirstWentLiveAtDate","formattedFirstWentLiveAtDate","redirectRulesetId","redirectContentType","shouldRedirectToContentObject","implicitPredicatesForMessage","variationStates","highestPriorityState","defaults","hasUnsavedMutations","ui_recipient_count","lastRecipientCount","isLocked","fetchDependencies","normalizedVariation","went_live_at","stopped_at","tab_identifier","expected_lock_number","_this10","updateLastMutatedAt","_this11","_this12","fetchMessageAudiencePreviewRequest","_this13","getAssignToId","CREATED_VIA_EDITOR","CREATED_VIA_EDITOR_VERSION","CREATED_VIA_VISITOR_LIST","hasAudience","isRunningOrHasSampleUsers","sampleUsers","completedSteps","explicitlyAddedTitle","lastEditedAdminId","examplePredicates","hasOpenedAudienceStep","hasOpenedContentStep","goalCount","goalSuccessPercentage","lastLoadedAt","translateFromRealTimeNotification","last_loaded_at","typeIcon","DeliveryWindowValidations","customDeliveryPeriod","notCustomDeliveryPeriod","enabledDays","daysText","secondsFromMidnightToText","windowTime","startTimeText","endTimeText","summaryText","hasAnyDependencies","PageTargetValidations","present","_comparisons","legacyUserData","isVisitor","SelectionStateValidations","excludedIds","predicatesOrNestedClientPredicates","nestingLevelGreaterThanOne","hasComplexPredicates","hasTimeOnPagePredicates","addClientPredicate","userAddedPredicatesAreTrackedAndValidOrEmpty","allPredicatesAreTrackedAndValid","isTargetingVisitors","isTargetingNonUsers","isTargetingNonVisitors","isTargetingNonLeads","isTargetingEveryone","audienceIncludesVisitors","audienceIncludesLeads","hasZeroCount","hasUntrackedPredicates","allPredicatesAreTracked","internalUserType","externalTypeLabels","_implicitPredicatesForInApp","_implicitPredicatesForPush","hasCampaignBehaviorPredicates","completedAt","openCount","openPercentage","responseCount","clickCount","clickPercentage","unsubscribeCount","unsubscribePercentage","bounceCount","bouncePercentage","complainedCount","complainedPercentage","failedCount","failedPercentage","thumbsUpCount","thumbsUpPercentage","thumbsDownCount","thumbsDownPercentage","happyCount","happyPercentage","neutralCount","neutralPercentage","sadCount","sadPercentage","reaction0Count","reaction1Count","reaction2Count","reaction3Count","reaction3Percentage","reaction4Count","reaction4Percentage","lastSentOn","attributeCollectorReplyCount","attributeCollectorReplyPercentage","hasReplies","hasClickTrackingLinks","variationIds","realtimeStatsForVariation","StatsTranslator","click_tracking_links","icon_url","configure_url","available_in_operator","available_in_messenger_home","available_in_conversations","available_in_messages","showInInserter","availableAreaNames","availableAreasToText","slotsHaveUnsavedChanges","slotsWereDeleted","renderEmojiWithLocaleText","isRtlLocale","slotGroups","activeTeammates","verticalPaddingAndroid","verticalPaddingIOS","operatorResponseForEmail","operatorResponseForExpectation","cardAssets","nextIconUrl","nextIconUrl2x","isPrimaryColorLight","isUpfrontEmailCollectionEnabled","hasUnknownResponseTime","allTeammates","teammatesSorting","sampleTeammates","upfrontEmailCollection","temporaryExpectations","createIntervalGroupsFromIntervals","messengerAutomaticResponseTimeTranslationKey","customResponseDelayOptions","hasInvalidIntervalGroups","messengerResponseTimeKeys","responseTimeKey","responseTimeIndex","availableLocales","welcomeMessagesTooLong","defaultGreeting","defaultWelcomeMessage","defaultLanguageName","SHORT_COLOR_HEX_CODE_REGEX","LookAndFeelModel","paddingMin","paddingMax","paddingMinAndroid","backgroundId","paddingWithinBoundariesAndroid","allowedDomains","domainValidator","TemporrayExpectations","hasValidLauncherPredicates","isFilterUsersSelected","hasNoPredicatesSelected","isFilterVisitorsSelected","messengerEnabledForUsers","messengerEnabledForVisitors","allowAllUsers","allowAllVisitors","disallowConversationReplyAfterSecondsForUsers","disallowConversationReplyAfterSecondsForVisitors","launcherPredicatesForUsers","launcherPredicatesForAnonymous","inboundConversationsForUsersPredicateGroup","inboundConversationsForVisitorsPredicateGroup","validUserLauncherPredicates","validVisitorLauncherPredicates","validLauncherPredicates","validUserInboundConversationsPredicates","validVisitorInboundConversationsPredicates","validInboundConversationsPredicates","validUserContentSuggestionsPredicates","validVisitorContentSuggestionsPredicates","validContentSuggestionsPredicates","validPredicates","hasInvalidPredicates","showPaywallForConditionalDisplay","isNotValidPaywallSaveState","isNotValidSaveState","ROUTE_LOCATIONS","INTERACTION_LOCATIONS","timingMarksDisabled","getEntriesByType","captureTimingMarks","emberTotalBootTime","setMetricKeyVal","getGeneralLocationForRoute","generalLocation","getInteractionLocationForTarget","sendInteractionMetrics","copiedMetrics","_fetchCurrentAdminId","_fetchCurrentAppId","adminsKey","adminIdKey","sortableTitle","sortableType","sortableFrom","variationAStats","variationBStats","sortableCreatedAt","getMostRecentDate","sortableSendAt","sortableLastSent","sortableSentCount","sortableOpenedCount","getTotalForVariationStats","statsDivisor","sortableOpenedCountAsInt","sortableRepliedCount","getResponseOrReplyTotal","sortableClickedCount","sortableUnsubCount","sortableFailedCount","sortableGoalCount","statsDivisorWithOpens","variationDate","initializeComputedProperties","VALID_STATES","pascalCaseStateName","_autoMessageOrCampaignStateNames","_manualMessageStateNames","_stateNames","uiStateName","isLiveOrScheduled","isLiveOrStopped","ComputedCanUseFeature","canUseManagedScopes","ssoDomainWhitelistEnabled","canUseSsoDomainManagement","canUseSlackLegacyApp","useAppCardApi","showAppsInBotsPaywall","shouldShowPartnership","canUseSamlSso","canUseSamlMultiWorkspaces","canUseSalesforceIdentityMapping","canDisableInboundConversations","canUseD3EngageInsights","canUseDeliverabilityDashboard","canUseImprovedDeliverability","canUseContentNavReleaseFeature","canUseContentOrientedNavigationFeature","canUseToursInOutboundHomeFeature","canUseMessagesReporting","canUseSeriesPrototype","canUseSMS","canUseSortInOutboundHome","canUseSeries","campaignsDeprecated","canUseApnsBasedToken","canUseProgrammaticCarousels","canUsePerProductPricingFlow","canUsePurchaseMigrationView","canUsePurchaseV3","canSeeBillingSummaryIfAnnuallyContracted","canUseArticles","ARTICLES_FEATURE","canUseInbox","INBOX_FEATURE","canUseMessages","MESSAGES_FEATURE","hasIntercomHomeDevelopmentMode","canEnforceEncryptedMode","canUseConditionalDisplayForVisitors","canUseNewVamPredicates","displayMobileLauncherPositioning","hasTargetInboundConversationsFeature","canUseUnbrandedMessenger","canEditIdentityVerificationV2Settings","canUseVisitorAutoMessaging","canUseAppsInOperator","hasHelpCenter","hasEmbeddedArticles","canUsePathPrefixForCustomDomain","canUseArticleSuggestionsForLeads","canUseArticlesNeedsReview","canUseNewArticleStatsSystem","canUseComposerForInboundBotPrompt","canUseNewEventsPipeline","canUseReportingSharingDashboard","canUseNewReportingIa","canUseVisualEventsCreatorDisableUrlCheck","isOnCsvBlockedList","canUsePowerfulReporting","canSeePowerfulReportingNav","canUseExportImprovements","canSeeConversationalInsightsLinks","canUseConversationRatings","canUseInboxSlas","canSeeSnowfall","canSeePerProductPricingChanges","canUseBackgroundInboxes","canUseNewTagSettings","canUseReferenceCountLogging","canUseConversationLevelTagging","_canUseInboxInlineVisibilityManagement","canUseInboxInlineVisibilityManagement","canUseArchiveDeleteSlas","canUseNewSlaPage","_canAssignToTeamAndTeammate","_canAssignToTeamAndTeammateDisabled","canUseRestrictConversationAccess","canUseWorkloadManagement","canUseAutoAway","canUseContinuedConversations","canUseSidebarViews","canUseAwaitingFirstReplyTrigger","canCreateAnswerFromRejectedSuggestedQuestions","shouldWriteAdminPresence","shouldShowIntercomradeWarning","canUseSmartCampaigns","canUseRotatingAssignment","canUseRevenueReports","canUseCSVExport","canUseActivityLogs","canUseBranchingQualification","canUseConversationRouting","hasAccountMarketingBillingFeature","hasUpfrontEmailCollectionBillingFeature","hasSalesforceSandboxFeatureInPlan","canUseMessageFolders","canUseHasFeatureTest","canCreateVideoBAMs","ccIntercomPages","canUseSalesforceReauthentication","canUseManualAccountCreation","canUseSfdcAttributeMappings","canUseMarketoIteration","canUseOperatorTemplateModal","canUseConversationExplorer","canSaveExplorerViews","canUseMessagePointers","canExportCsv","hasInboxSpamFilter","isForbiddenFromUsingUserPresenceService","canUseFeatureWithoutLocalOverrides","featureIdentifier","allowLocalOverrides","localStorageFeatures","refreshLocalStorageFeatures","addLocalStorageFeature","removeLocalStorageFeature","relationshipNames","hasManyNamesToRollback","_filterRelationshipNames","belongsToNamesToRollback","relationshipName","_rollbackModelIfDefined","_rollbackBelongsToRelationship","relationship","_channelIcons","In-App","userTypeLabel","pluralUserTypeLabel","uiTitle","displayableClassType","_inAppIconMap","_iconForInApp","predicatesUpdated","hasAnonymousPredicate","_isAnonymousTrue","_isNonUserRole","anonymousPredicates","anonymousPredicate","isNestedGroup","editablePredicatesWithoutRole","_flattenPredicates","predicatesWithoutRole","activePredicates","cleanedPredicates","activePredicatesWithoutAnonymous","activePredicatesWithoutRole","removeAnonymousPredicateIfRolePresent","predicateIsFilterable","cleanNestedPredicates","isComparisonWithValue","isBooleanWithComparison","isKnownOrUnknown","isValidJoinPredicate","_flattenedValidPredicates","delegateYield","hasValidNestedOrNonNestedPredicates","refreshTaggings","_taggingsForTags","_addedTaggings","_saveTaggings","tagged_at","initial_tag_ids","taggingResponse","existingTagging","newTagging","LocalizedPushContentValidations","hasDeviceTokenPredicate","implicitPredicatesForPush","implicitPredicatesForAndroidFirstPush","implicitPredicatesForiOSFirstPush","PushValidations","localizedPushContent","_push","allPermissionKeys","permissionKeys","_this$appService$app3","permissionsKeys","escaped_body","body_html_safe","last_edited_at","created_by","hasNoAdmin","updated_by","bodyHtmlSafe","isDisplayable","noAdminText","adminDisplayAsIsEmpty","authorText","connectable","nonConnectableReason","oauthClientId","appPackagePrivacyPolicyUrl","appPackageTermsOfServiceUrl","appPackageOwnerApp","initiallySelectedAppIdCode","allApps","embercomIllustrativeIconName","linkedTeamIds","teamsCount","lockedLevels","incompleteLevels","allSteps","hasAvailableSteps","latestAvailableOrPendingCompletedStep","latestPendingCompletedStep","loadSteps","notCompleted","availableSteps","isLatestAvailableLevel","Levels","nextAvailableLevel","levelIndex","availableStepsData","availableStepsTimeToCompleteInMinutes","pendingCompleted","availableOrPendingCompleted","locked","STEPS","stepIndex","_this$level","_this$guide","user_anonymous_id","OperatorBotInboxSettingsModel","operatorId","customAvatarBackgroundColor","customAvatarForegroundColor","avatarType","avatarUpload","_formData","ajaxParams","req","_setPropertiesFromRequest","_reloadOperatorAdmin","request","operator-identities","enabledForLeads","enabledForUsers","redirectEnabled","redirectEmail","redirectPhone","DuplicateConversationDetection","qualificationType","simpleQualification","branchingQualification","currentQualificationTypeIsNotDirty","qualifyLeadsIsNotDirty","simpleQualificationSelected","collectsQualificationData","leadDelayEnabled","userDelayEnabled","teamAvailability","articleSuggestions","articleAutoReaction","duplicateConversationDetection","setIndexOnPaths","_setQuickReplyNextPath","pathOfSteps","_getPathOfSteps","CustomBotReportableBot","BaseCustomBot","botAutoMessage","hasBotAutoMessage","hasMessengerTrigger","hasInboundTrigger","hasAbTest","variantIds","variantStats","variantStates","lastUpdatedById","lastUpdatedBy","targetUsers","USER_TARGET","targetNonUsers","NON_USER_TARGET","bot_auto_message_id","previousBot","previous_bot_id","TEMPLATE_INTERFACE_ICONS","TEMPLATE_ILLUSTRATIVE_ICONS","illustrativeIcon","availableTags","_inboundCustomBot","canUseButtonContentEditor","_buttonCustomBot","_customBot2","targetLabel","canUseButtonOrInboundContentEditor","serializedInitiators","hasTemplate","hasNoTemplate","firstStep","isNewCustomBot","isNotNewCustomBot","initiatorsAreNotActive","canActivate","previewDisabledMessage","canPreview","validationKeys","_formatValidationMessages","validationFailureMessage","workflow_first_step_id","messageVariationForMessengerPreview","messageVariation","MessageConstants","_syncBotAutoMessagePredicatesWithRuleset","rulesetPredicates","duplicateTarget","_pushPayloadToStore","_createEmptySimpleActionRuleForEndStateSteps","pathToRemove","resetInvalidActions","_resetInvalidActionsInStep","_step$simpleActionRul","_step$simpleActionRul2","_resetInvalidAction","followUpRule","_action$actionData","_action$actionData2","serializer","serializedResponse","CustomBotsSettings","fragmentOwner","nextStepUuid","oldPath","CustomBotData","allowNull","InitiatorSummary","isWebDeliveryChannel","previewDeviceType","previewablePredicates","_rejectClientAttributePredicates","PredicateGroupFragment","shouldValidate","hasNoEditablePredicates","editablePredicatesAreTrackedAndValidOrEmpty","externalUserType","removeWebOnlyPredicates","hasReachedAutoFollowSoftLimit","ensureStepsAreLinkedCorrectly","_removeAutoFollowControlsFromLastStep","_updateReplyButtonNextStepUuid","_isLastStep","engagedPercentage","lastSentAt","workflowCompletedPercentage","_uuidGenerator","hasSimpleActionRule","hasActions","hasBlocks","hasNoBlocks","isFollowUpRules","endStateType","shouldCollectAttribute","htmlString","stripTextFromHTMLString","removeConsecutiveSpaces","fakeElement","ResolutionBotSettings","showAutomatically","hasCustomEmailAddress","hasDynamicSender","contentTypeIcons","contentTypeIcon","humanReadableContentName","in-app","inbound_custom_bot","button_custom_bot","EDITOR_ROUTES","_EDITOR_ROUTES","contentWrapperType","_contentsWithoutLegacyControlGroups","contentsWithoutControlGroups","versionA","versionB","contentTypes","editorRoutes","routes","routeForShowPage","routeKey","_contentType","contentWrapperName","UserPresence","is_mobile_unidentified","pseudonym","hasNoCompanies","hasNoEmail","leadWithoutEmail","isLeadRole","typeLabel","userPhoneNumberDidUpdate","hasNeverBeenSeen","pseudonymWithoutLocation","_setAndNotifyChange","reassign_owner_admin_id","PingDomainSettingsModel","identityVerificationStrictness","ERROR_MESSAGES","user_hash_is_missing","user_hash_is_unrecognized","validUserHash","identityVerificationEnabled","ignored","identifiedRequest","lastModified","Plan","_PLAN_DATA$this$id","_PLAN_DATA$this$id2","_PLAN_DATA$this$id3","_PLAN_DATA$this$id4","_PLAN_DATA$this$id5","_PLAN_DATA$this$id6","LocalizedPostContentModel","LocalizedPostContentValidations","PostModel","_post2","localizedPostContent","PostValidations","_anonymous","_boolean","_campaignBehavior","_contentEvent","_conversationRatings","_ios","_roles","_date","_datetime","_emailDisengagement","_logical","_numericSelect","_numeric","_officeHoursSchedule","_optionalSelect","_predicateGroup","_predicate","_role","_select","_string","_urlVisit","pricingModelIdentifier","lotVariance","perProductData","discounts","pricingMetricDisplayName","yourPlanIds","myPlanIds","youMatch","weMatch","formattedStartingPrice","currentTierInfo","tierStart","tierEnd","formattedUsageDisplay","_this$currentTierInfo","nonFixedMetric","formattedPerUnitPrice","formattedPreDiscountAmountWithoutDollarSign","couponDiscountAmountFormatted","hasCouponApplied","isDiscount","breakdownToDisplayBreakdown","priceMetricToDisplayName","_ref3$isDiscount","_ref3$formatter","PricingStrategy","planLimit","minimum","Product","_this$activePlan","PRO_TIER_ID","_productKeyFromId","_this$activePlan2","product_active","mandatoryAttribute","ChartModel","VISUALIZATION_TYPES","defaultBreakDownByProperty","_defaultBreakDownByPr","getDefaultMetricProperty","getDefaultMetricFunction","getDefaultTimeProperty","_this$filters","newTopLevelFilter","newObject","getObjectForMetric","breakDownBy","visualizationType","newBreakDownBy","newVisualization","createFromModel","TEAM_AND_TEAMMATE_PROPERTY_IDENTIFIERS","CONVERSATION_RATINGS_VALUE_TO_LABEL_MAPPING","sanitizeProperty","_chartState$filters","_chartState$filters$f","timeProperty","conversationAttributeFilters","groupIdentifier","_store$peekRecord","metricUnit","buildFilterForDataConfig","_this$reportState","chartFilters","mapFilterHashToDataConfig","reportFilters","toDataRequestFilterValues","metricPropertyForDataConfig","buildFiltersForDataConfig","_getAggregationFuncti","aggregationName","getAggregationFunction","getFilterableProperties","_this$reportState2","_this$reportState2$se","transformed","transformFilters","indexOfLastCounter","indexOfLastMatchingChart","_this$charts","persistedTitle","MessageDataExportSchedule","INTERVAL_THRESHOLDS","91","setSelectedRange","getSelectedRangeFromCurrentTime","currentDateInTimezone","defaultRanges","_convertToTimezone","selectedInterval","startOfMonth","yesterday","past_week","month_to_date","past_4_weeks","past_12_weeks","_currentDate","_createComparison","unique_count","ReportSubscription","OPPORTUNITY_CREATED","OPPORTUNITY_CREATED_AMOUNT","OPPORTUNITY_INFLUENCED","CLOSED_WON","CLOSED_WON_AMOUNT","CLOSED_WON_INFLUENCED_AMOUNT","OPPORTUNITY_INFLUENCED_AMOUNT","TEAMMATE_PERFORMANCE","DEALS_INFLUENCED","EMAILS_SENT","EMAILS_OPENED","EMAILS_BOUNCED","EMAILS_WITH_COMPLAINTS","EMAIL_UNSUBSCRIBES","MESSAGES_USER_VOLUME","keysAreDates","hasPreviousValue","hasPreviousContext","valueUnitIsMinute","numberValue","_convertValue","_computedContext","_replaceNaNsWithZeros","_convertValues","_convertKeysToAppsTimezone","_addPreviousValue","previousBucket","hasMultipleMaxBuckets","maxBuckets","_findMaxBuckets","outerBucket","comparisons","previousContextElement","signalAsStackableData","contextKey","valuePerRating","valueKey","totals","signalAsStackablePercentageData","bucketIndex","bucketIndexes","setComparison","previousSignal","outerKey","transformFns","transformFn","originalTransformed","previousTransformed","signal_name","_debug_name","_debug_start","isWhitelisted","SIGNAL_QUERIES","_admin$currentAppPerm","assignByRoundRobin","defaultComponentPath","isCloseConversationWithAction","actionDescription","overlayPrompt","validPredicatesAndActions","actionsAreValid","hasNonLogicalPredicates","predicatesAreValid","isRuleValid","SalesforceIntegration","source_object_type","SamlAccount","SamlAccountValidations","SamlAuthModel","PLATFORM_NAMES","api_key","secure_even_if_unidentified","apns_key_id","apns_team_id","apns_token_file_name","ios_bundle_id","has_apns_token","disallowManualIdentityVerificationEnable","isIOS","isChromeDesktopNotifications","isFirefoxDesktopNotifications","sdkAppForPlatform","rawText","searchedTagName","splitTagString","createCompanyPredicates","createUserPredicates","SecurityAppSettings","MASTER_SEGMENT_IDS","SegmentModel","is_predefined","is_editable","search_count","queryPredicates","created_by_id","isPredefined","isUsersSegment","isContactsSegment","isActiveSegment","isAllSegment","isAllUsersWithoutAcquire","isAllUsersSegment","isAllCompaniesSegment","isAllCompaniesSegmentWithoutChange","isAllUsersSegmentWithoutChange","isAllContactsSegmentWithoutChange","isMasterSegment","hasCreator","hasCreationDate","hasCreationMetaData","isAnonymousSegment","isNotAnonymousSegment","isNotUserSegment","defaultPredicateLength","predefinedIcon","defaultIcon","PredefinedSegmentIconMap","datestring","opened_at","sent_at","replied_at","clicked_at","responded_with","responded_at","unsubscribed_at","bounced_at","complained_at","hit_goal_at","displayOpenedAt","displaySentAt","displayRepliedAt","displayClickedAt","displayUnsubscribedAt","displayHitGoalAt","displayBouncedAt","displayComplainedAt","displayRespondedAt","displayResponseType","ConditionValidations","SeriesCondition","_condition","SeriesEdge","SeriesNode","duplicateCollection","duplicate_nodes","evaluationTimeDurations","descriptions","firstObjectType","GraphConfigurationClass","nodeGraphConfigurationClasses","node_ids","series/node","Series","_clearDanglingEdges","_clearLocallyCreatedEdges","_persistedNodeIds","_persistedEdgeIds","selected_campaign_state","series/series","duplicateJSON","exit_behavior","exit_predicate_group","_this$exitPredicateGr","_this$goal","settingsState","locallyCreatedEdges","currentNodeIds","_edge$predecessor","_edge$successor","loadStartingRulesets","startingNodeRulesets","audiencesForStartingNodes","audiencePreviewPredicates","allStartingNodePredicates","totalAudienceParams","perStartingNode","seriesMigrationStatuses","duplicationStatus","seriesDuplicationStatuses","initialState","currentEdgeIds","persistedNodeIds","persistedEdgeIds","invalidStartingNodes","Template","requiresMobileSdk","Metadata","SeriesWait","_wait","_this$appService","_this$appService2","_this$appService2$app","WaitValidations","userWelcomeMessage","isPermitted","greeting","welcomeMessageTooLong","_DAYS","everyday","weekends","monday","tuesday","wednesday","thursday","friday","saturday","sunday","authenticated_admin","ip_country_code","notificationRules","oauthRedirectSubpath","_getAdminById","conversationNotificationType","hasConversationNotificationType","notification_rule_id","notification_types","allConversationNotificationTypeIds","isConversationType","isNonConversationType","reportsLabels","ReportsLabels","_topicToNotificationTypes","conversation.user.created","conversation.user.replied","conversation.admin.opened","conversation.admin.closed","conversation.admin.replied","conversation.admin.noted","conversation.admin.assigned","user.created","company.created","contact.signed_up","notificationTypeId","newConversationNotificationType","allConversationNotificationType","LocalizedSmsContentValidations","SmsValidations","_sms2","profileUrl","activeTrialStartedAt","partiallyActive","notTrialable","trialing","solution_active","emailSubject","isProcessing","BaseStat","versionIndex","userModel","contentLinkId","contentLinkUrl","failureCategory","userGoalAttributes","usesClientPredicate","usesUserPredicate","completionNodeRulesetId","disengagedNodeRulesetId","failureUrl","failedSelector","tourStepId","OFFER_STATIC_DATA","extend_trial","redeemOnClick","get_help","downsize_products","pause_subscription","archivedBy","archived_at","TaggerValidations","Tagger","_tagId","_tagger","workflowId","workflowName","hasTaggingDate","hasWorkflow","hasTaggingMetaData","teamResponseDelayEnabled","sortedTeamMembers","adminIdToReassignTo","TourStep","_selectors","TourModel","_productTour","productTour","_this$clientData","Tour","EmbercomOnlyTourValidations","powered_by_intercom","dontWantToGetEmailsLikeThese","poweredByLink","twitterAccounts","deserialize","defaultPlatform","platformTimeStampKeys","lastUserPresenceUpdate","updatePresenceStatus","latestTime","lastVisitedUrl","platformTimeStampKey","_latestTimeStamp","updateGlobalPresenceStatus","userPresenceTime","isPollingStarted","updateUserPresenceForLoadedObjects","isJavascript","isCordova","isRails","isStripe","isWordPress","isSinglePageApp","isEmailForwarding","has_device_token","mobile_unidentified","recent_page_views","last_session_start","social_accounts","ios_app_name","android_app_name","user_agent_data","lead_category","user_event_summaries","consents_to_impersonation","socialAccountsUserNamePosition","isNotAnonymous","isLeadWithNoEmail","computedUrl","event_summaries","searchableProperties","hasNameAndEmail","existingSegments","shouldDisplayEmailRollover","hasEmailPresent","shouldDisplayPageActivity","qualificationCompanyId","hasIosAttributes","hasAndroidAttributes","hasMobileAttributes","hasMobileOrSocialAttributes","hasNotes","subIdentifiers","_data","segmentsError","displayableSocialAccounts","unfilteredAccounts","accountsUserNamePosition","usernamePosition","urlSplitOnSlash","hasSocialAccounts","otherCompanyNames","emailIsAppCompanyAddress","updateLeadEmail","lead_id","updateLeadPhone","getCount","includedIDs","excludedIDs","getMaybeMergedUser","merged_into_user_id","humanName","requiresMetadata","Workflow","hasTrigger","passesValidations","awaitingFirstReplyTrigger","WorkflowAction","RuleAction","_emberModifier","modifier","CopyToClipboardModifier","confirmationMessage","onFailure","named","Modifier","_didInsert","_didUpdate","IntercomSortableGroup","announcer","sortableService","deregisterGroup","_keyboardShortcut","onScroll","scrollSelector","_15MS","scrollContainerElement","OnElementResize","removeResizeObserver","addResizeObserver","ResizeObserver","resizeObserver","animationFrameId","requestAnimationFrame","cancelAnimationFrame","_this$args$positional","positional","_onKeyboard","_sortableGroup","_sortableHandle","_sortableItem","_tooltip","_trapFocus","_willDestroy","createDefaults","matchBehaviorSwitcher","_createComponent","clientPredicatesEditor","audienceRulesEditor","parentConfiguration","EditorConfig","_viewModeGenerator","_editModeGenerator","notificationMessages","_standardNotificationMessagesGenerator","EditModeConfig","seriesHeaderComponentConfig","StandardSeriesModeHeaderConfiguration","headerComponentConfigs","StandardEditModeHeaderConfiguration","editorPanelConfigs","BannerContentPanelConfiguration","StandardAudiencePanelConfiguration","hideMatchBehavior","StandardGoalPanelConfiguration","introText","StandardSchedulePanelConfiguration","SeriesSchedulePanelConfiguration","footerComponentConfigs","ViewModeConfig","StandardSeriesViewModeHeaderConfiguration","StandardViewModeHeaderConfiguration","tabsConfiguration","StandardContentTabConfiguration","StandardStatTabConfiguration","tabComponent","_isNotDraft","activeViewConfiguration","ContentSummaryConfiguration","StandardAudienceSummaryConfiguration","StandardScheduleSummaryConfiguration","NotificationMessage","_botNotificationMessagesGenerator","panelConfiguration","ButtonCustomBotContentPanelConfiguration","CustomBotElementSelectorPanelConfiguration","moreDropdownConfig","MoreDropdownConfiguration","hideCsvExportOption","hideTagOption","previewConfig","CustomBotPathAnalysisTabConfiguration","CustomBotContentSummaryConfiguration","pathAnalysis","CustomBotPathAnalysisConfiguration","generateCarouselNotifcationMessages","generateCarouselDeletionMessage","seriesMode","_editorConfigurationGenerator","_featureGenerator","CarouselAudienceEditorConfiguration","CarouselContentPanelConfiguration","audienceHeaderConfiguration","CarouselAudienceHeaderConfiguration","CarouselTriggerProgrammaticallyPanelConfiguration","CarouselAudienceSummaryConfiguration","CarouselTriggerProgrammaticallySummaryConfiguration","emptyStateTitle","ChatContentPanelConfiguration","baseViewModeConfig","CustomBotContentPanelConfiguration","viewModeConfig","CustomBotChannelSummaryConfiguration","EmailContentPanelConfiguration","InboundCustomBotContentPanelConfiguration","AnnouncementContentPanelConfiguration","ProductTourContentPanelConfiguration","PushContentPanelConfiguration","SeriesEditorConfig","SmsContentPanelConfiguration","NotificationMessages","activateRulesetLink","activeRulesetLinkIndex","deactivateRulesetLink","endRulesetLink","duplicateRulesetLink","deleteRulesetLink","scheduledActivationDate","humanReadableChangeAt","seriesEditorPanelConfigs","supportedEditors","contentEditors","standaloneEditorPanelConfigs","HeaderConfiguration","pause","CarouselContentEditorAudienceEditorConfiguration","StandardAudienceHeaderConfiguration","SeriesAudienceEditorConfiguration","ContentEditorStandardAudienceEditorConfiguration","contentEditorDefaults","_setDefaultPreviewConfigs","_tooltipText","_audiencePreviewText","useLegacyList","audienceRole","_getAudienceRole","matchBehaviorText","_humanReadableObjectName","_audienceString","StandardPanelHeaderConfiguration","_validations","_predicateGroupErrors","_userRolePredicateErrors","_clientPredicateGroupErrors","PanelConfiguration","_inputs$hideMatchBeha","AudienceHeaderConfiguration","BannerHeaderConfiguration","CustomBotHeaderConfiguration","fullScreenEnabled","CarouselHeaderConfiguration","ChatHeaderConfiguration","ignoredValidators","rulesetLinkErrors","contentErrorMessages","uniqueContentErrorMessages","EmailHeaderConfiguration","PostHeaderConfiguration","ProductTourHeaderConfiguration","PushHeaderConfiguration","SmsHeaderConfiguration","TaggerHeaderConfiguration","WaitHeaderConfiguration","ElementSelectorHeaderConfiguration","GoalHeaderConfiguration","SeriesScheduleHeaderConfiguration","_scheduledActivationErrors","_scheduledDeactivationErrors","_activationIsBeforeDeactivationErrors","ScheduleHeaderConfiguration","_standardAudiencePanelConfiguration","_standardGoalPanelConfiguration","_standardSchedulePanelConfiguration","_openedPanels","ProgrammaticTriggerHeaderConfiguration","SeriesEditorConfiguration","SeriesModeConfiguration","headerComponentConfig","editorComponentConfigs","viewModeHeaderConfig","viewModeSummaryConfig","StandardSummaryConfiguration","_inputs","_standardAudienceSummaryConfiguration","_standardGoalSummaryConfiguration","_standardScheduleSummaryConfiguration","isNotSeries","fallbackComponentConfig","TabConfiguration","BannerNodeConfiguration","BannerInserterConfiguration","NodeConfiguration","BotNodeConfiguration","BotInserterConfiguration","CarouselNodeConfiguration","CarouselInserterConfiguration","ChatNodeConfiguration","ChatInserterConfiguration","ConditionNodeConfiguration","ConditionInserterConfiguration","PostNodeConfiguration","EmailNodeConfiguration","TourNodeConfiguration","PushNodeConfiguration","WaitNodeConfiguration","TaggerNodeConfiguration","_nodeGraphConfigurati","ChatGraphConfiguration","PostGraphConfiguration","BannerGraphConfiguration","EmailGraphConfiguration","BotGraphConfiguration","TourGraphConfiguration","PushGraphConfiguration","CarouselGraphConfiguration","ConditionGraphConfiguration","WaitGraphConfiguration","TaggerGraphConfiguration","EmailInserterConfiguration","InserterConfiguration","StandardNodeComponentConfiguration","delayConfigurationComponent","statsSummaryConfigurationComponent","StatsConfiguration","ConnectorConfiguration","NotOnlineConnectorConfiguration","_this$node$contentPre","_this$node$contentPre2","contentPreviews","activeCheckpointCount","expiredCheckpointCount","GraphConfiguration","StandardInserterComponentConfiguration","StandardLoadingComponentConfiguration","paywallIcon","_dataObject","ConditionNodeComponentConfiguration","descriptionWithName","rulesetClientData","isUntitledCopy","inferredTitle","titleSuffix","StandardConnectorConfiguration","NotMatchedConnectorConfiguration","completedTraversedAlternativeEdgesCheckpointCount","completedEjectedCheckpointCount","customLabel","copySufixRegexString","rulesetCopyTitleSufix","copySufixRegex","rulesetTitle","requiredFeatures","hasAccessToRequiredFeatures","isNewlyInserted","PushInserterConfiguration","previewText","TaggerInserterConfiguration","TourInserterConfiguration","timeDelayAsMoment","previewData","time_delay","waitType","wait_type","_formatRelativeTimeDelay","_formatAbsoluteTimeDelay","PostInserterConfiguration","SeriesModeConfig","shouldShowAudiencePreview","_wait$validations$err","_wait$validations$err2","WaitInserterConfiguration","moduleNameLookupPatterns","mainModuleName","defaultModuleName","Router","Route","AppRefreshing","ConfirmModalMixin","initFromQueryParams","markStart","PHRASEAPP_CONFIG","projectId","phraseapp","insertBefore","markEnd","renderTemplate","into","outlet","updateRelativeTime","relative_time_update_interval","registerShortcuts","setLastRefreshedAt","modalControllerPath","controllerFor","enterShortcut","commandKey","shortcutKeyShortcut","isBackNavigation","warnOnNavigation","openSecondaryModal","disconnectOutlet","parentView","hideFeaturePrompt","showFeaturePrompt","onCustomCTA","featurePromptController","activateTransitionSuppression","deactivateTransitionSuppression","willTransition","refreshAppIfAppropriate","shouldSuppressTransitions","forward","setDocumentTitle","tabIdentifier","adminModelId","ifOrWhenSecondaryStageReached","bootShortcuts","checkNotificationSettings","hasServiceWorkers","promptForPushPermissionIfRequired","advancedEnabled","csEnabled","fakeReady","refreshAppsAdminModel","adminPingService","recordBootLocationAndType","recordCacheMetrics","unsubscribeRealTimeEvents","interLock","_stopRealTime","_stopUserPresence","_lastAppIdLoaded","_eagerlyLoadAssociations","setApp","initForApp","_startRealTime","_startUserPresence","subscribeRealTimeEvents","reachability","startNotifier","_trackBootTime","_setSentryUserContext","_recordExperimentOverrides","_inInbox","fetchInboxCounters","stateCheck","allInboxShortcut","inboxShortcut","usersShortcut","desktopNotificationsAppFlag","desktopNotificationsBrowserPermit","useDesktopNotifications","_adminIdInt","_browser","setUser","_operatorBotIdInt","_inAllInbox","_inOwnInbox","_threadAssignedEvent","_refreshNavCountersIfNeeded","threadAssignedBrowserAlert","threadAssignedDesktopNotification","operatorBotId","browserAlerts","_isNotificationForTeam","_newMessageBrowserAlert","isDesktopNotificationToBeShown","assignerName","notificationOptions","userDisplayAs","lastActivityPreview","clickCallback","_generateNotificationTag","ruleId","desktopNotifications","createNotification","_threadUpdatedEvent","threadUpdatedBrowserAlert","threadUpdatedDesktopNotification","_shouldReceiveBrowserAlert","notificationContent","triggerBrowserAlert","_threadCreatedEvent","threadCreatedBrowserAlert","threadCreatedDesktopNotification","_isNotificationForCurrentAdmin","_isNotificationForUnassigned","sounds","showBrowserAlert","_threadClosedEvent","_updatedAwayModeFromRealtimeEvent","adminToUpdate","lastCommentId","isNotificationContentAlreadyVisible","assigneeConversationRoute","isAdminActiveInNotificationTarget","isLeaderTab","adminIdInt","currentBrowserPermission","domainParts","topLevelDomain","cookieDomain","maxAge","secure","_newMinimumVersionEvent","newMinimumVersionId","minimumVersionId","notifyWarningWithModelAndPartial","newInboxes","updateNavCounters","refreshInboxCounters","loadCustomer","AccountRouteBase","titleToken","createFromMessengerConversation","consents","latestActiveConsent","onbeforeunload","CheckUnsavedChanges","_notifyConfirmationForQueryParams","originalQueryParams","skip_cache","trackProfileAccess","admin_accessed_by_id","admin_accessed_id","conversationFeedService","getConversationsPage","_searchOptions","fetchPage","searchOptions","paginate","EARLY_STAGE_SOLUTION_ID","AppstoreRoute","didTransition","AppstoreAppPackageBaseRoute","_getTransitionParams","buildRouteInfoMetadata","BaseAboutRoute","include_article_stats","returnToShowPage","showRoute","ensurePermissionWhenTransitioning","shouldSave","changed","invalidState","invalidBlocks","currentModel","countChanges","changedRuleset","cancelChangesAndCloseArticle","originalFolder","resetController","paramsFor","newChatString","getStats","_getStatsQueryParameters","_createViewersFromStatsResponse","_createConversationModelFromStatsResponse","emptyConversation","isReaction","has_response","reaction_index","_trackInsightsFilterEvent","_eventForConversationsStats","viewer","sent-conversations","total_views","mappedConversations","article_stat","EducateArticleListBase","currentImportUrl","","getApiImport","isExiting","reloadArticles","currentArticlesCount","newArticles","currentArticle","unshiftObjects","GuideRouteBase","GuideIndexRouteBase","BaseProductIndexRoute","defaultRoutePath","newTarget","GlobalLoadingRoute","_saveFolder","_createCollection","creatingArticle","createSection","parentFolder","reloadCollectionAndChildren","collectionId","parent_id","include_ancestors","copyModelToCollectionsController","getModelFromCache","findCollectionAndChildren","goToCollection","BillingRoute","from_billing_admin","_openingModal","_noSubscriptionRedirect","overrideCanSeePrice","fetchMigrationInformation","regularPlan","_redirectForEarlyStageApplicant","earlyStageApplicationRoute","earlyStageApplicationRouteParameters","addressModalIsOpen","creditCardModalIsOpen","AppsAppBillingCancelRoute","questionPromise","offersPromise","AppsAppBillingCancelIndexRoute","isFollowUp","AppsAppBillingCancelOfferRoute","BillingSettingsRoute","BillingIndexRoute","invoice_id","BillingSummaryRoute","BillingSummaryIndexRoute","hidePrimaryNav","initialCdaRows","_createBlankCda","untrackedCustomDataAttributes","UsersOrCompaniesRoute","showAllSegment","setSearch","MapBoxLoadingRoute","addSegmentToList","_getDefaultSegment","ModalNavigationWarningRoute","SegmentSetupModelAndController","companiesOrUsersRoute","conditionallyTransition","addFiltersToUrl","AppsAppContentEditRoute","SUPPORTED_CONTENT_TYPES","ROUTE_MAP","_ROUTE_MAP","creationParams","Ruleset","conversationRoutes","feed","AppsAppConversationalInsightsRoute","predefinedTopics","findAllTopLevelTopics","IndexRoute","SuggestionsIndexRoute","isSuggested","AppsAppConversationalInsightsTopicsIndexRoute","AppsAppConversationalInsightsTopicsNewRoute","parentId","parentTopic","AppsAppConversationalInsightsTopicsTopicRoute","AppsAppConversationalInsightsTopicsTopicShowRoute","analyticsParams","fetchOauthScopes","fillEmptyModel","category_type","cleanUpOnNavigatingAway","HistoryOfEvents","reviewState","fetchAppPackages","fetchApps","_educateWildcardRedirect","correctedUrl","AppsAppEmailEditorDemoRoute","emails/localized-email-content","email_template_id","email_template_type","assign_to_type","assign_to_id","sender_type","sender_id","_engageWildcardRedirect","maximumPendingUpdatesToPrepend","pendingConversations","_newlyOpened","_closedBecameOpen","_openBecameClosed","_prefetchPendingConversation","pendingConversation","prependUpdatedConversations","pendingIds","displayedConversations","feedState","navigateToInstallMessenger","trackGtmPageView","_useCasePageData","_buyerPersonaPageData","ResetScroll","loadingIndicatorService","loadGuide","_getInitiallyOpenStep","_setupSelectedAppPackage","latestStep","showLatestAvailableOrPendingCompletedStep","urlMethod","embeddedContent","loadInboxViews","loadConversationAttributeDescriptors","loadBannerVisibility","RuleBase","WorkflowsEditRoute","contextModels","isRulePage","canRemoveAssignee","isWorkflows","WorkflowsBaseRoute","WorkflowsListRoute","optInStarted","WorkflowsNewRoute","displayErrorAndRedirect","trackHitPaywall","rollbackModel","hasSettingsChanged","deferSecondaryPhase","GuideRoute","isDeeplink","isRefresh","getTransitionTarget","lastViewed","updateCounters","ConversationKeyboardShortcutsRouteMixin","build","inboxType","_getAssigneeIdFromTransition","_createSearchModel","setInbox","_toCurrentInbox","_toIndexRoute","_toCurrentInboxIndexWithContentPresent","modelParams","_searchStringFromParams","toPreviousConversation","toNextConversation","selectActiveConversation","transitionToPreviousConversation","transitionToNextConversation","inboxController","result_rank","setCurrentConversation","markAsRead","prefetch","_this$adjacentConvers2","adjacentConversations","prefetchParts","prefetchUsers","prefetchForConversation","sortedList","hasSeenConversation","conversationPresenceService","shouldUseUnassignedInboxRoute","_handleAssignmentShortcut","_handleCloseShortcut","_handleNoteShortcut","_handleCommentShortcut","_handleSavedRepliesShortcut","_handleTagUserShortcut","_handleTagConversationShortcut","_handleSnoozeShortcut","_handleReopenShortcut","_handleTogglePriorityShortcut","_handleImpersonationShortcut","_handlePullConversationShortcut","$assignmentDropdown","_trackShortcutUsage","bulkCloseButton","_focusOnTab","focusTab","shortcutAction","shouldRedirect","checkForConversations","convoMatch","inboxMatch","forcePlatform","lastProductUsed","MessagesRoute","hasDismissedBrandBanner","trackPageView","onMatchingSystem","findDescriptorPromise","firstInitiator","findCustomBotByBotAutoMessageId","_transition","ContentEditorRoute","CustomBot","outboundRoute","inboundRoute","buttonRoute","setSearchParams","selectedMatchBehaviorValue","_target","promiseParams","_shouldSeeOutboundIa","_shouldSeeInboundIa","_shouldSeeButtonIa","_getObjectType","add_custom_bots_modal","fullRouteName","indexRoute","reportingRoute","createBotAndTransitionToEdit","trackNewBotEvent","createCustomBot","transitionAfterError","413","createInitiator","workflow_template_id","add_answer_bot_modal","ErrorHandlingRoute","answerModel","messengerSettingsLookAndFeel","suggestedAnswerClustersModelKey","returnValue","from_template","hasSeenImportBanner","hasSeenAnswerAnimation","_model$suggestedAnswe","sequence","clusters_available","_createAnswer","_applySuggestedCluster","_applyClusterExample","questionsSelected","Suggestions","messengerSettingsPromise","operatorIdentityPromise","customBotsSettingsPromise","conversationImportsPromise","botInboxSettingsPromise","resolutionBotSettingsPromise","resolutionBotLoopingSettingsPromise","targetRoute","toggleNavbarCollapsed","MessagesRealtimeStats","defaultEmailTemplates","OutboundBaseListRoute","AppsAppOutboundCarouselIndexRoute","AppsAppOutboundChatIndexRoute","OutboundCustomBotEditor","_to$params","_to$queryParams","shouldTransitionToEdit","OPERATOR_INDEX_ROUTE","OPERATOR_EDIT_ROUTE","AppsAppOutboundCustomBotIndexRoute","OutboundGuideRoute","salesUseCaseAppRoute","_messageRedirect","DEPRECATED_PATHS","EmbeddedMessengerLoader","CampaignAudiencePreviewRealTime","messageFallbackRoute","transitionToContentObjectPage","loadIntercomEmbedJs","subscribeToModelMutations","subscriber","unsubscribeFromModelMutations","setupUnloadWarnings","removeUnloadWarnings","AutoMessageListRouteBase","Search","EmberDataMessageListRoute","MessageListRouteBase","message_query","MessageListQuery","hashSettled","getTopicForCampaign","_saveCampaignAndReturn","_transitionToCampaignsShowPage","_rollbackCampaignAndReturn","setCampaignTitle","delivery_type","activateConfirmation","confirmationOptions","campaignTitle","campaignSummaryToBeDeleted","duplicated_campaign","autoFocusTitle","saveChangesOptions","updateCampaignTitle","filter_by","_transition$to$queryP","Campaign","navigateToCampaign","required_feature","folderName","_extractNameFromTransition","handlerInfos","replaceWithRoute","redirectToAllOrLiveMessages","MessagesMessageRoute","intercomEmbedJs","_getOperatorQualificationPanelIsEnabled","afterModelAdditionalData","messagesRoute","shouldHaveDisengagedUserPredicate","_transitionToMessageFromTemplate","_createNewMessage","_removeTemporaryVariation","_catchErrors","_trackTemplateEvent","_getMessageDefaults","isEmailType","INITIAL_PUSH_DEFAULTS","_getDeliveryType","_getFolder","_createSelectionStateFromUserList","_createSelectionStateForUsers","_createSelectionStateForPredicates","_shouldRedirectBackToShowPage","_companyTargetedPredicates","DISABLED_VAM_VIEWS","VISITOR_ROLE_PREDICATE","AppsAppOutboundPostIndexRoute","emailsSent","_fetchComparisonSignal","emailsOpened","emailsBounced","emailsWithComplaints","emailUnsubscribes","AppsAppOutboundSeriesSeriesRoute","AppsAppOutboundSeriesIndexRoute","AppsAppOutboundSeriesNewRoute","403","AppsAppOutboundSeriesRedirectToSeriesRoute","hasSetupBeforeUnload","forceTransition","404","AppsAppOutboundSmsIndexRoute","tourEditRoute","ReportsRoute","reportsAreVisible","findAllCustomReportsForCurrentUser","Articles","controllerName","ClosedByOperator","ArticleIndex","teamOrTeammateSelected","_teammateIds","mergedProperties","trackPageview","instrumentationEvent","instrumentationDelay","cleanupDelayedTrackPageview","reportingAllSettings","dataConfigs","fetchedDataConfigs","dashboardIdentifier","chartIdentifiers","findDataConfig","allowToExcludeBotInbox","controllerProperties","rangeParams","heatmapAggregations","deserializeQueryParam","defaultValueType","arr","serializeQueryParam","ReportsConversationalInsightsRoute","ConversationalInsightsIndexRoute","ConversationalInsightsSuggestedTopicsIndexRoute","TopicRoute","retrieveTopics","keyphraseSet","mergedTopic","ConversationalInsightsTrackedTopicsIndexRoute","topicId","retrieveTopic","IndexCustomReportsRoute","CustomReportsReportRoute","NewReportRoute","ShowReportRoute","_this$store$peekAll","report_id","skipConfirmation","LEAVE_WITHOUT_SAVING_MODAL_CONTENT","EditChartCustomReportRoute","NewChartCustomReportRoute","_this$modelFor","from_url","InsightsRouteBase","_defaultIntervalParam","engageInsightsIsActive","supportInsightsIsActive","chartNames","messagesSent","messageVolume","messagePerformance","_updateMessageVariationStats","statsBuckets","statBucket","_createConversationModelFromInsightsResponse","ArticlesFlexibleRoute","setRouteFilterProperties","shouldRedirectFromParent","setControllerFilterProperties","peekAllAndMaybeLoad","intervalValue","sorted_by_interval","FILTER_TYPES","ConversationsRoute","filterQueryParams","queryParamMappings","parsedESFilters","LeadGenerationCustomBotsRoute","CustomBotsCompletedRoute","CustomBotsEngagedRoute","CustomBotsSentRoute","EffectivenessRoute","ExportRoute","modelHash","CustomerSupportOverviewRoute","currentTeammate","OUTBOUND_MESSAGE_TYPES","INBOUND_MESSAGE_TYPES","ALL_CONVERSATIONS_SIGNAL_CONFIG","legacyFilterConversationSource","legacyFiltersForConversationSource","legacyFilterResolutionBotSetting","resolution_bot_looping_enabled","legacyFiltersForResolutionBotSetting","legacyFilters","filterConversationSource","FILTER_OUTBOUND_CONVERSATION","filtersForConversationSource","fetchAnswerBotEffectivenessSignal","ANSWER_BOT_EFFECTIVENESS","answersSentByDay","ANSWER_BOT_ANSWERS_SENT","fetchComparisonNumericSignal","medianClosedTimeLastWeek","weekAgo","weekRange","answersSentByDayLines","conversation_source","resolution_bot_setting","ResponsivenessRoute","TARGET_TYPE_KEYS","firstReplyTime","nextReplyTime","TARGET_TYPE_KEYS_TO_NAME","first_reply_time","next_reply_time","BREACHED_SLA_STATUSES","GROUP_BY_STATUS","GROUP_BY_TARGET_TYPE","filterByTargetType","sla_target_types","filterBySLAStatus","statuses","reduceSignalForComparisonContexts","mapContextToKeys","statusByContext","createKeyedValuesForContexts","statusByKey","combineDayValuesForSLA","_ref4$days","_ref3$hours","combineHourValuesForSLA","defaultHeatmap","transformToPercentHit","conversationSLA","signalPromises","SLA_STATUS_BY_CONVERSATION","slaSpecificSignals","SLA_STATUS_BY_TRIGGERING_COMMENT","slaWaitTime","SLA_CONVERSATION_WAIT_TIME","firstReplyHitsOverTime","nextReplyHitsOverTime","firstReplyBreachesHeatmap","SLA_STATUS_BY_TRIGGERING_COMMENT_AT_BREACH","nextReplyBreachesHeatmap","_ref5$heatmaps","_ref5$heatmaps$","firstReplyHeatmap","_ref5$heatmaps$2","nextReplyHeatmap","conversationStatusByKey","hit","missed","_map2","breachCount","previousBreachCount","extraSlaSpecificSignals","hitsOverTimeList","combinedBreachesHeatmap","heatmaps","hitsOverTime","waitTimeByTarget","conversationSuccesRate","conversationBreaches","selectSLA","defaultSla","_yield$Ember$RSVP$has","TeamPerformanceRoute","CustomerSupportConversationTagsRoute","InboxConversationsRoute","InboxEffectivenessRoute","CustomerSupportExportRoute","LeadGenerationLeadsRoute","CustomerSatisfactionRoute","ResponsivenessFlexibleRoute","InboxResponsivenessRoute","LeadGenerationSalesRoute","BaseSalesRoute","SalesRoute","CustomerSupportSlasRoute","ConversationRoute","addLineChartSignals","opportunitiesChart","opportunityCreated","opportunityInfluenced","pipelineChart","opportunityCreatedAmount","opportunityInfluencedAmount","closedWonChart","closedWonAmount","closedWonInfluencedAmount","InboxTeamPerformancesRoute","bookedByOperatorFilter","meeting_invitation_sender_ids","googleCalendar","botTemplates","teammateFilter","teammatePerformance","_fetchTabularSignal","dealsInfluenced","_addLineChartSignals","_this$reportingServic2","CustomerEngagementRoute","LeadGenerationCustomBotRoute","CustomerSupportReolutionBotRoute","_resolveWildcardRedirect","_respondWildcardRedirect","SdkBaseRoute","ProductSettingsRoute","AttachmentSettings","WorkspaceSettingsRoute","SettingsRoute","ManageMessagesSettingsRoute","ManageTeammatesRoute","RolesSettingsRoute","cancelTransition","AttributeSettingsBase","ConversationData","BaseSettingsRoute","EmailTemplatesRoute","createTemplate","eventSettings","hasAlreadyCancelled","customTimezoneRequired","sdk_apps","SettingsIndexRoute","replacementRoute","getFirstAccessibleSettingsRoute","DEFAULT_ROUTE","AppAdminEventsQuery","tryInvoke","currentModelIsDirty","SavedReplies","SendersRoute","getSpamMessages","spamMessages","existingTagIds","deletedTags","TeammatesRoute","awaitRefreshedModel","migrationPricePlans","pricePerInboxSeat","pricePlan","_getFirstActivePricePlan","_getInviteLinksPromise","_getInvitedAdminsPromise","_getPricePerInboxSeatPromise","hasSeenMigrationModal","migrationState","hasDismissedMigrationModal","test_app","parentAppId","InviteRoute","CsvImportRoute","_columnsFromParsedCsv","hasHeaderRow","_guessHasHeaderRow","_guessEmailAddressColumnIndex","firstRow","emailColumnName","firstPossibleEmail","_getInviteEmails","EditRoute","closeWithoutSaving","confirmSubscriptionChanges","PermissionsRoute","numberOfInvites","numberOfInboxSeatsRequired","confirmPriceIncrease","numberOfTeammateSeatsRequired","confirmChanges","commonRoleId","_getCommonRoleId","permissionsObjectChanged","rawPermissions","includeUnassigned","permissionsProperties","getChangedPermissionProperties","TeammateRoute","RemoveRoute","_deleteOrRollback","_revertTeamsState","AppsAppSmsDemoRoute","boundUnloadEvent","safeSolutionId","priceQuery","pricing_model_identifier","choosePricingModel","CORE_EARLY_STAGE_SOLUTION_ID","setDefaults","after_signup_redirect_path","setRedirectPath","_parseTextToJson","fireUnloadEvent","_solutionsPricingMode","earlyStagePartnerWithMessengerInstalled","solutionsPricingModel","CORE_PRICING_MODEL","LATEST_PRICING_MODEL","setupMarketo","_setup","setPricingParamsIfEmpty","_setCouponCodeFromSessionStorage","free","editingAddons","AppsAppTeamsCheckoutVerifyRoute","ToursRoute","_transition$to","localName","EditTourRoute","NewTourRoute","_resetSearch","_trackVisitedUserProfile","UserConversationsRoute","AppsAppVideoRoute","defaultApp","appIdToUse","MarketingFont","parseAppId","appToUse","noApp","setupFreeFeatureFlags","redirectToAppAndSendSuccessMessage","redirectToAppAndSendFailureMessage","redirectToApp","appstoreMetaTagsService","headTags","_this$controller","_this$controller2","getMetaTags","shouldEnableGtmTracking","loadThirdPartyScripts","startTrackingPageViewsGlobally","guideRoute","adminIsLoggedIn","analytics.place","fetchDefaultCategories","fetchFeaturedCategories","fetchCollections","fetchRecentlyViewed","_segregateFeaturedApps","previousRoutes","currentHandlerInfos","previousRoute","globalLoadingOn","globalLoadingOff","openPaywall","paramsArray","_this$product","_this$solution","solutionName","subjectName","measureDuration","loadMapStyles","fail","pushState","TypeError","routesWhereWeShouldRetainTheSearchTerm","importModule","emberAutoImportDynamic","module","referal","in_snippet","hide_default_launcher","ChangesRoute","GraphDemoRoute","Graph","addEdge","currentAdminAppIds","doesNotHaveCustomDataAttributes","shouldRedirectToGuide","hasLiveChatSalesSolution","transitionToGuide","_getRouteParameters","onboardingUseCasekey","guideRoutePath","routeParameters","hardRedirectToGuide","_getDurationFromString","durationString","autoRefreshRegex","doRedirect","refreshUrl","lastRefreshGreaterThanTimeout","lastRefreshedAt","refresh_app_after_minutes","transitionTarget","isAutoRefreshRoute","autoRefreshUrl","followRedirects","setupCheckUnsavedChanges","unsavedChangesMessage","teardownCheckUnsavedChanges","openConfirm","closeConfirm","subscribeToMessageStatsUpdate","unsubscribeFromMessageStatsUpdate","_updateMessageStats","realtimeStats","statsForMessage","VariationStats","variationStat","control_group_stats","controlGroupStats","ControlGroupStats","scrollToTopOnActivate","parseRailsParameters","segmentIdentifier","separated","b64Decode","applyRailsParameters","queryParameters","replaceState","segmentIdentifierWithFilters","RailsSegmentParameters","segment_identifier","_hasQueryParamPredicates","formatURL","SamlRoute","SignInRoute","getSamlSignInErrorMessage","signedInWithAuthorizedMethod","SignupRoute","installProps","detectAdBlocker","blocked","AppInstall","signup","marketoTrialSignupStart","marketingSiteUrl","SignupGetStartred","_ref$isPro","_ref$addOnPlanIds","_solutionPricingModel","VideoRoute","JSONSerializer","EmbeddedRecordsMixin","embedded","EmbercomBaseSerializer","primaryKey","modelNameFromPayloadKey","ArticleSerializer","JSONAPISerializer","restSerializer","RESTSerializer","keyForAttribute","keyForRelationship","warnMessageNoModelForKey","normalizeArrayResponse","primaryModelClass","extractedPayload","extractArrayPayload","ContractSerializer","BrandSerializer","CarouselScreenSerializer","CarouselSerializer","LocalizedCarouselContentSerializer","ChatSerializer","BlockSerializer","attachment_id","optionalAttributes","resourceHash","attachment","copiedAttachment","optionalAttribute","OPTIONAL_BLOCK_ATTRIBUTES","value_description","ContentBlockSerializer","SubviewSerializer","normalizeRecursively","subview","ConversationAttributeDescriptorSerializer","existingRecord","TopicSerializer","EmailSerializer","repositories","rooms","room","CONVERSATION_ATTRIBUTES","ensurePredicatesArePrefixed","typeClass","_payload$data$attribu","normalizeResponse","alterIdsForNonpersistedSections","addIdsToSections","per_variation_stats","deleteIdAndTypeFromVariationStats","unwrapPerVariationStats","visitor_auto_messages","subPages","RulesetLinkSerializer","json","implicit_predicates","dependencies_id","client_data","preformattedAttr","LookAndFeelSerializer","EmberBaseSerializer","_normalizePaths","polymorphicMap","BotAutoMessage","MessengerTrigger","InboundTrigger","CustomBotSerializer","_normalizeSingleResource","_normalizeInitiators","_normalizeSteps","simple_action_rule","initiator_id","inboundTriggerJson","PostSerializer","_isDirty","ReportSerializer","jit_settings","access_type","include_unassigned","assignee_blocked_list","migratedCampaign","normalizeSingleResponse","_motion","ADMIN_PING_INTERVAL","AdminPingService","pingPeriodically","_ping","_defer","adminPingInterval","lastAdminPingTimestamp","pingMultiplier","_hasPingedRecently","_ajaxService","AnswerFollowOnCreationService","rejectedQuestions","Service","enableRealtimeHandlers","updateUnreadMentionCounts","AppstoreMetaTagsService","getTitle","getUrl","buildMetaTags","buildLinkTag","buildOpenGraphTag","buildTwitterTag","appstoreRootPath","cleanCurrentUrl","AppstoreService","routerLib","activeTransition","routerJsState","packageId","appPackageCodes","recommendationPackage","modelPath","_categories$find","categoryName","capitalized","currentLocation","rootUrl","appPackagePath","currentQueryParams","startOfTld","intercomHost","urlForWorkspaceAppstore","STANDARD_EDITABLE_ATTRIBUTES","CONVERSATION_ATTRIBUTE_DESCRIPTOR_MAPPED_TYPES","createAttributeModels","propertyKey","companyAttributeNamesToDisplay","blockListedCompanyAttributeNames","blockListedUserAttributeNames","blockListedLeadAttributeNames","blockListedAttributeNames","blackListedStatsSystemGoalAttributeNames","pinnedAttributeNames","abmTemplatableAttributes","eventNames","hasEvents","displayedUserAttributeNames","nonArchivedAttributes","filterableAttributes","permittedUserAttributeNames","unpinnedUserAttributeNames","extraCompanyAttributes","allUserAttributes","allUserAttributeNames","allCompanyAttributes","allCompanyAttributeNames","attributesForGoals","attributesForExit","attributesForEntry","filterableUserAttributesWithoutContentTypes","filterableAttribute","filterableCampaignAttributesForMessaging","filterableVisitorAttributesForMessaging","filterableCompanyAttributesMaybeWithPlansSegmentsAndTags","_shouldRejectAttributeIfNoSegmentsOrTags","_shouldRejectAttributeIfNoCollection","filterableUserAttributesMaybeWithSegmentsAndTags","filterableAttributesForCampaignMessaging","filterableUserAttributesForInboxRules","filterableAttributesWithoutRole","filterableCompanyAttributesForInboxRules","assignmentRulesMessageAttributesAsAttributes","assigneeAttributes","availabilityAttributes","deprecatedCampaignAttributes","clientVamAttributes","newVamPredicates","newAbmPredicates","campaignSpecificGoalAttributes","campaignAttributesExcludingLegacyAttributes","tourClientPredicates","_assignmentRulesMessageAttributesData","_workflowFilterAttributes","_availabilityAttributes","adminType","_deprecatedCampaignAttributeData","_campaignAttributesDataExcludingLegacyAttributes","shortName","_conversationAttributeDescriptorToAttribute","predicateDataType","originalDataType","_campaignSpecificGoalAttributesData","_tourGoalClientPredicatesData","goalName","_tourClientPredicatesData","_clientVamAttributesData","_newVamPredicatesData","_newAbmPredicatesData","botAutoMessageClientAttributes","botAutoMessageAudienceAttributes","botAutoMessageAudienceAttributesNoPageTargetting","botAutoMessageAudienceVisitorMessagingAttributes","botAutoMessageUserAttributes","filterableUserAttributes","botAutoMessageUserAttributesNoPageTargetting","filterableAttributesWithoutRoleOrType","botAutoMessageCollectableAttributes","collectableStandardAttributes","_attributesToGroupList","botAutoMessageAttributes","peopleAttributeGroup","companyAttributeGroup","messageAttributeGroup","conversationAttributeGroup","attributeGroups","visitorMessagingAttributes","vamAttributes","vamEditorAttributes","greetingComposerAttributes","tourUrlComposerAttributes","bannerActionUrlComposerAttributes","userEditorAttributes","standardEditableAttributes","convertToAttributeWithSettings","AttributeWithSettings","visibleCompanyAttributes","visibleCompanyAttributeNames","_collectAttributes","hiddenCompanyAttributes","hiddenCompanyAttributeNames","visibleAttributeNames","visibleAttributes","hiddenAttributeNames","_concat","_extractUserAttributes","visibleEventNames","hiddenEventNames","inboxSidebarVisibleAttributeNames","inboxSidebarVisibleAttributes","inboxSidebarHiddenAttributes","_mapAttributesToFilters","messageGoalFilters","messageGoalUserAttributes","messageGoalCompanyAttributes","statsSystemGoalUserAttributes","parsedArray","segmentCollection","collectionProperty","_attributesForContentType","BannerDismissalService","BootOptionsService","shouldDeferSecondaryPhase","hasAdvancedToSecondaryStage","considerAutoAdvancementDelay","secondaryStageAdvancementDelay","autoAdvanceWhenDefferedDelay","manualAdvanceToSecondaryStage","hasNoAppModel","_scheduleConsiderAutoAdvancementToSecondaryPhase","deferSecondaryPhaseForManualAdvance","considerAutoAdvancementToSecondaryPhase","triggerSecondaryStage","messageHandlers","messageListener","boundEventData","boundEventCreatorStage","boundEventCreatorState","_ref$trustedOrigins","_ref$onBoundEventCrea","_urlWithHttpPrefix","creatorWindow","_attachMessageListener","_removeMessageListener","boundEventCreator","_compareAndUpdateExpectedOrigin","_handleMessage","_handleReadyMessage","_handleClosedMessage","newEvent","_handleNewEventMessage","newOrigin","_handleNewOriginMessage","updateStage","_handleUpdateStageMessage","_handleUpdateDataMessage","newStage","existingEventData","newEventData","_saveNewEvent","_isSameHostIgnoringWWW","origin1","origin2","_isAcceptableOrigin","eventOrigin","isAcceptableOrigin","isOriginDifferent","userEventName","_saveUserEventName","_handleUserEventNameSaved","_handleBoundWebEventSaved","_handleBoundWebEventSaveFailed","userEventNameResponse","userEvent","_doesAttributeExist","hearbeatFrequencyInMinutes","minuteCount","scheduleHeartbeat","hearbeatFrequencyInMilliseconds","heartbeat","memory","usedJSHeapSize","totalJSHeapSize","_getAllElements","_getDomEventListenerCount","_getModelCacheCount","conversationPartCount","eventKeys","ConfirmService","PrivateAPI","parentRuleset","uploadingImage","versionSidebarOpen","duplicateModalOpen","isSeriesMode","rulesetHasVersions","rulesetLinkForConfiguration","objectForConfiguration","_apiTask","failureMessage","apiTasks","deletedRulesetID","deletedContentType","OUTBOUND_LIST_ROUTES","newObjectType","_args12","new_object_type","newRulesetLink","_this14","unscheduleRuleset","_this15","uploadImageStarted","uploadImageFinished","_this16","activeRulesetLinkInSnapshot","_this16$activeRuleset","clearVersion","hasPreviouslyOpenedCurrentPanel","activeFilter","activeHumanReadableObjectName","withModelChange","_this17","_privateAPI","changeToEditMode","hideVersionSidebar","showVersionSidebar","hideDuplicateModal","_callee28","_context28","_callee29","_context29","_callee30","_context30","_callee31","_context31","_callee32","_context32","_callee33","_context33","showAllVersions","_callee34","_context34","_callee35","_context35","_callee36","_context36","deleteTest","_callee37","_context37","createNewTest","_callee38","_context38","createNewControlGroup","_callee39","_context39","panelName","LOG_CONTENT_EDITOR_SERVICE","ConversationAccessService","_isAssignedToThem","_isAssignedToExcluded","_shouldIncludeUnassigned","_isAssignedToTheirTeams","definedTask","referenceCounts","readyToUnload","_tick","isRetained","logOperation","referenceCountingLog","_sweep","_peek","clearLog","_conversationSearch","_loadConversationsResponse","_formatConversations","initiated_by_admin_id","handleRedirect","_verifyState","_authorizeUrl","_authorizeUrlBuilder","buildAuthorizeUrl","_generateState","conversations_exists","nested","aggByMonth","aggs","group_by_month","date_histogram","aggSplitDateRange","midPoint","date_ranges","keyed","extendedPrecedingRange","ConversationalInsightsService","currentDateRange","querySelectConversatonsWithKeyphrases","human_parts_plain_text","parts.body","pre_tags","post_tags","parts.body.full_words","queryBackend","hits","esHighlights","highlightedText","highlightedPart","queryResult","multiQueryBackend","rawResults","terms","csatValues","queryResults","queryBackendTask","multiQueryBackendTask","phrases","lightlyAnalyzedKeyphrases","fullyAnalyzedKeyphrases","_this$analyzeKeyphras","analyzeKeyphrases","query_string","buildQueryString","default_operator","analyzer","isMatchingAllPartTypes","esPartTypes","partTypesToRealSubclasses","parts.part_type","parts.author_type","function_score","boost_mode","_this$analyzeKeyphras2","_ref17$dateRange","createdAtGt","createdAtLt","mustParts","mustNotParts","filterTopic","buildPartQuery","buildMustNotPartQuery","conversation_rating_index","must","esType","validTypes","passivePartTypes","SILENCE_AWAY_WARNING_KEY","snoozedUntilDefaultValue","snoozedUntilDefaultText","realtimeConversations","setupRealtime","realtimeEventService","_genericRealtimeHandler","trackMessengerCardUsage","validatePartArgs","modifiedType","modifyType","_updateStateAndPriority","updateAssignment","addUploads","partAddedToConversationLocally","_notifyExternalStepServiceIfNecessary","_warnAboutAwayMode","saveConversation","partDisplayName","redacted_part","commentPart","snoozedEventPart","addEventPart","saveConversationWithMultipleParts","shouldDeleteDraft","handleSavePartError","_generateEventDataTemplate","event_references","_handleSnoozeOptions","_handlePriorityOptions","_handleTitleOption","_600MS","eventPartType","snoozeUntilOptionKey","getSnoozeUntilOptionsKey","getSnoozedUntilLabel","snoozeUntil","_blocksEqual","partTypeBeingAdded","_openWarningDialog","_updateState","_updatePriority","_setState","isSnoozedAndNotByAssignee","setAssignee","_app$admins$findBy","_app$admins$findBy2","adminChanged","teamChanged","admin_assignee","team_assignee","assignmentEventData","CookiesService","_csv","originalActivePlans","noValidEarlyStageApplication","eligibletoEditAsRegularCustomer","pricingMigrationDate","appIsInPricingTransition","migrationStarted","migrationFinished","currentActivePlans","answerBotPlan","answerBotPlanStartDate","locationInfo","_product$activePlan","_product$previousActi","old_tier","getPricePromise","include_tiers","agent_count","override_can_see_price","_args2","ImmutableProduct","latestMigrationPrices","grandfatheredMigrationPrices","GRANDFATHERED_PRICING_MODEL","allPricesLoadedForApp","loadEarlyStageGraduation","PlanUpdater","earlyStageFuturePlans","futurePlans","earlyStageGraduationDate","earlyStageGraduationStarted","earlyStageGraduationPricingModelIdentifier","updateEarlyStageFuturePlans","addPlanToEarlyStageGraduation","removePlanFromEarlyStageGraduation","resetQueryParams","markProductsAsActiveIfEarlyStageApplicant","_dependencyChecker","appStoreListingHasChanges","hasDiff","messengerAppHasChanges","inboxAppHasChanges","basicInformationHasChanges","isOnEditPage","EducateEventService","_emberOauth","_eventListenerStack","_excel","_fb","BROWSER_NAME","browserName","timings","markOptions","interactionMetrics","statsRecordingDisabled","getEntriesByName","enqueueInteractionMetric","debouncedSendMetricsTask","hasRecordedBootLocation","getBrowserName","getPlatformName","getPerformanceNavigationType","hasRecordedTimeToRender","bootLocation","hasRecordedFirstInteraction","cacheMetrics","metricData","_getInteractionTimeTopic","startMarkName","startMarks","endMarkName","measurement","sample_rate","clearMarks","clearMeasures","navigation","promiseCount","pushEvent","timeOutPromise","gtmPromise","intercomGtm","loadedThirdPartyScripts","globalPageViewTrackingEnabled","Gtm","activeExperiments","currentContext","recordPageView","recordOnPageviewEvent","recordPageViewInThirdPartyTools","loadGoogleAnalytics","google_analytics_id","loadMarketoMunchkin","loadFacebookPixel","loadGooglePixel","loadClearbit","intercomGTM","recaptcha","getVariation","experimentName","IntercomGTM","initMarketoForms","MARKETO_URL","MARKETO_ACCOUNT_ID","FirstName","LastName","recordMarketoEvent","marketoFormID","extraPayload","_yield$IntercomGTM$re","recordThirdPartyEventsOnEmailSubmission","avatarLink","scriptLines","_getScriptData","_headData","_queryParamLocale","_articlesController","latestConversationId","fetchConversationIdIfNecessary","_isEnabledInEnvironment","_isImpersonationSession","_isEmbeddedContent","_scriptSrc","_intercomBoot","_isDevelopmentEnvironment","_icBrowserEnvironment","riskState","adminHasWorkSpacePermissions","disableNotifications","adminRiskState","shouldShowLowNotification","IdentityVerificationRiskStates","shouldShowMediumNotification","shouldShowHighNotification","shouldShowLackOfSecurityContactEmailNotification","securityContactEmailFilled","identity_verification_risk_state","security_contact_email_filled","operatorInbox","displayableOtherInboxes","displayableOtherInboxesWithOperator","extraInboxes","visibleSidebarItems","inboxesWithMeMembership","pinnedInboxesWithoutMembership","visibleInboxViews","pinnedInboxes","visibleAssigneeIds","nonMeMembershipInboxes","sortedNonMeMembershipInboxes","_sortInboxes","sortedNonMeMembershipInboxesWithOperator","inboxViewInboxes","visibleInboxViewIds","sortedHiddenInboxViews","defaultDropdownInboxes","isSearchInbox","faviconCounter","realtimeAdapter","InboxRealtimeAdapter","backgroundInboxList","_startSleepDetection","currentInbox","_disableSleepDetection","_clearFaviconCounter","clearCurrentConversation","inboxData","inboxModel","updateFaviconCounter","targetConversation","targetConversationId","view_counters_valid_for","loadInboxViewCounters","countersData","resetFaviconCounter","_this$inbox","_lastSleepDetectionTime","_sleepDetectionTimer","_checkForSleep","aName","bName","_intercomEventService","intersectionWindow","targetDomain","eventHandlers","_getHeight","_getWidth","handleReadyEvent","_ensurePostableObject","_parseDomain","_parseDomain2","customTlds","eventURL","parsedEventURL","parsedTargetURL","_hasSameTLD","url1","url2","eventDomain","respondToRequest","responseData","__messageType","__requestId","postMessageData","_formatData","handleAjaxRequest","handleEventRequest","_intl","_keyboard","TransitionMap","LoadingIndicatorService","LogService","Media","subscribers","_getModelKey","keyPrefix","_notifySubscribers","modelSubscribers","preMutationHash","_Ember$getOwner$looku","_Ember$getOwner$looku2","_Ember$getOwner$looku3","_modelDataCache","MomentService","defaultFormat","_collapsedSubmenus","_activeSubmenu","activeSubmenu","_toggleCollapsed","_trackToggleSubmenuAnalyticsEvent","_toggleCollapsedWithTransition","_updateCollapsedState","activeSubmenuIsCollapsed","transitionDurationMs","defaultResponseProvidedErrors","hasPartial","_notify","_removeNotificationWithKey","_createCustomNotification","_addObject","_getErrorForResponse","messageProvidedForErrors","useMessageFromError","_paywallFeature","required_permission","messageForErrorStatus","_createDefaultNotification","_getNotificationDuration","forced_notification_timeout","matchingNotification","_removeObject","desktopNotificationTimeout","_reopenConversations","openOrUnsnooze","closeNotification","undoConversationsClose","EmberOAuth2","setProvider","_tourHookRemovers","externalStepModeDisabled","externalStepModeEnabled","externalStepIsCompletedOrPendingCompleted","externalStepAvailable","startTourMetadata","_clearStartAfterTransitionCallback","startAfterTransitionCallback","_storeStepIdentifierInSession","_possiblyStartTour","_needsHostedMessengerConversation","_getStepIdentifierFromSession","guide_exists","removeErrorHook","hookIntoTourError","_recordTourError","removeHook","hookIntoTourComplete","_considerDisablingExternalStep","routesToKeepExternalStepRunning","routeRegexes","_removeTourHooks","remover","_determineCompletedStateForStep","ADMIN_PAGEVIEW_KEY_PREFIX","levelAdminPageViews","incompleteAndUnseenLevels","_levelPageViewPresentFor","hasIncompleteAndUnseenLevels","setLevelAdminPageViews","allPageViews","levelPageViews","pageView","createPageViewForLevel","adminPageView","_pageViewKeyForLevel","_this2$app","_arguments2","_arguments3","getStep","OperatorMessengerAppService","messengerAppIds","OutboundHomeService","currentList","propertyChanged","selectedStateIsLiveOrSent","selectedStateIsPaused","selectedAudienceContainsVisitors","handleIllegalFilter","_addFilterParams","_doSearch","_search","_contentWrapperModels","content_wrappers","last_page_hit","_fetchSeriesList","_setIfPresent","_stateParamsForSearch","normalizedObject","_this$selectedMatchBe","_this$selectedMatchBe2","_panelActions","checkInStep","hideSuccessPage","_run","_shouldSkipPaywall","_shouldRedirectForEarlyStage","_redirectForEarlyStage","currentURL","_addOnQueryParams","answer_workflows","bot_workflows","_planIdsFromProducts","_planIdsWithFeature","_isFeatureAnAddon","isAddon","_ref3$productIds","_ref3$place","_featureLimits","isFreeFeatureLimited","activeProductForPlan","_location","_createAndSaveAttemptedPaidAction","invitesWithInboxAccessCount","hasInvitesWithInboxAccess","adminsAndInvitesWithInboxAccessCount","onFreePlan","hasNoSubscriptionForInbox","pricingTransitionDate","aboveFreeSeatThreshold","allFreeSeatsNotActivelyOccupied","allFreeSeatsOccupiedByActiveAdmins","priceWillDecreaseMessage","pricingTransitionPriceWillDecreaseMessage","priceHasDecreasedMessage","priceWillNotChangeMessage","pricingTransitionPriceWillNotChangeMessage","priceDidNotChangeMessage","removeSeatPriceInfo","removedSeatPriceInfo","pricingTransitionRemoveSeatPriceInfo","hasSeatsLeft","showChangedSeatsModalForAdmin","_openReassignModal","confirmationNotificationMessage","_savePermissionTask","_saveChangesToPermission","permissionChanges","_bulkEditPermissions","teammateCount","getInTransitionAddTeammateModalBody","transitionDate","seatPrice","getAddTeammateModalBody","priceChangeWarning","_maybeAddPendingInviteNoticeToText","_showIntercomConfirmModal","showChangedSeatsModalForInvitee","invitee","_inviteeConfirmBodyText","_inviteeConfirmButtonText","modalText","numberOfAdminsWithSeats","numberOfInviteesWithSeats","pluralisedTeammate","pluralisedSeat","pluralisedInvite","removeSeatPriceInfoText","_updateOutOfOfficeSettings","_cleanUpTeamMembershipsAndReturnWhetherCacheShouldBeUpdated","idsOfDeletedTeams","_afterPermissionSave","shouldUpdateAppCache","permissionRequired","_permissionRequired","showPermissionModal","failureRoute","adminsWithPermission","adminsWhoCanChangePermissions","_findFirstAccessibleRoute","permissionRouteMappings","COMPARISON_OPTIONS_EXCLUSIONS","androidAppVersionOptions","androidVersionOptions","androidDeviceOptions","iosAppVersionOptions","anonymousOptions","tagOptions","companyTagOptions","manualTagOptions","iosDeviceOptions","iosVersionOptions","planOptions","browserLocaleOptions","ownerIdOptions","accountIdOptions","lastConversationRatingGivenOptions","tagTypes","numericTagTypes","optionalTagTypes","selectTypes","stringTypes","numericTypes","dateTypes","booleanTypes","anonymousTypes","logicalTypes","notUserEditable","contentEventTypes","campaignBehaviorTypes","overMessagingProtectionTypes","emailDisengagementTypes","campaignGoalTypes","urlVisitTypes","officeHoursScheduleTypes","isAnonymousOrRoleType","defaultProperties","screen_size","applyDefaults","objectCopy","trackIntercomEvent","trackGoogleTagManager","setGtmIdentifierCda","gtmEvent","trackGtmEvent","scrubData","email_submission_id","gtmCookie","gtm_cookie_identifier","EVENTS","inboxEvents","nexus","NexusIntercom","longPollingEnabled","_setUpEventListeners","_adminIsTypingEventData","throttleSendUserEvent","throttleSendEvent","_userContentSeenData","sendUserEvent","_handleGeneric","addListener","_flattenEventData","_handleConversationSeenEvent","_findConversation","_handleUserIsTypingEvent","_handleConversationReadByAdminEvent","_handleAdminIsTypingEvent","_typingEvent","_handleAdminIsTypingANoteEvent","_handleExternalReplySendStateUpdatedEvent","hasDefaultAvatar","square_128","futureRedirectPath","ReportSubscriptionService","SIGNAL_NAME_TO_TAG_LIST_QUERY","_SIGNAL_NAME_TO_TAG_L","NEW_CONVERSATIONS_TAG_LIST","CONVERSATIONS_PARTICIPATED_IN_TAG_LIST","ReportingService","_fetchSignal","triggerEvent","articleStatsStartDate","fetchPreviousNumericSignal","aggregateSignal","_fetchNumericSignal","_fetchCurrentSignal","_fetchPreviousSignal","answerEffectivenessAggregation","conversationRatingsAggregation","tagAggregations","_fetchComparisonTagSignalHash","_processTagSignal","leadSourceAggregations","_addMessageTitles","contextWithoutDeletedTags","tagContext","_getTagById","requestSignalConfig","_tagsFromTagListSignal","searchClientConfig","SavedReplySearchService","_buildingPromise","_build","performCount","savedRepliesSearchDocuments","_reply$admin","regexTestFunction","testAllReplyFields","_isUnsavedReply","_reply$admin2","testName","combinedResultsSet","regexSearchResults","uniqResults","SearchSuggestionsService","_assigneeSuggestionsTask","_teammateAssigneeSuggestionsTask","_teamAssigneeSuggestionsTask","_dateSuggestionsTask","_tagSuggestionsTask","_userSuggestionsTask","_filterByName","lowerCaseQuery","SecurityAppSettingsService","NODE_HEIGHT","featureFlagMapToOptInObjectTypes","TemporaryEdgeObject","SeriesEditorService","_initializeGraph","_showErrorsOnNode","unregisterActiveSeriesNode","nodesWithErrorsToDisplay","_showErrorsOnAllNodes","createNode","_graphNode$dataObject","xPosition","yPosition","originalDataObject","_replaceTemporaryEdge","newSeriesNodes","newGraphNodes","_graphNodeDuplicate","locallyCreatedEdgeNodePairs","_getLocallyCreatedEdgeNodePairs","_associateSeriesEdgesWithGraph","duplicatedSeries","currentGoal","currentExitBehavior","currentExitPredicateGroup","inPanningMode","disableScroll","_addNode","_addEdge","edgeDataObject","didInsertEdge","findClosestFreeCoordinates","Coordinates","canUpdateNode","_canUpdateNode","didUpdateNode","_didUpdateNode","canInsertNode","_canInsertNode","didInsertNode","_didInsertNode","canSelectNode","_canSelectNode","_canInsertEdge","_didInsertEdge","canDeleteEdge","_canDeleteEdge","didDeleteEdge","_didDeleteEdge","canDeleteNode","_canDeleteNode","didDeleteNode","_didDeleteNode","canAddNodesToSelection","_canAddNodesToSelection","defaultWidth","defaultHeight","defaultSpacing","graphEdge","lastUpdatedNodesAt","hasOverlap","predecessorSeriesNode","successorSeriesNode","_doesCreateLoop","_notifyInfiniteLoopError","seriesCondition","existingEdge","_edge$dataObject","_edge$dataObject2","isTemporary","_removeNodeFromErrorsToDisplay","createEdge","seriesNodeTypes","lastUpdatedEdgesAt","newEdgeList","detectLoop","temporaryEdge","_edge$dataObject3","locallyCreatedEdge","edgeNodePairs","edgeNodePair","seriesEdge","edgeForNodes","edgeForNodeDataObjects","enabledNodeConfigurations","_this$series","Shortcut","spoolInterval","spooledKeyPresses","keyMap","27","32","65","66","69","71","73","74","75","77","78","79","80","82","83","84","85","88","89","90","191","keydown","keyup","shortcutOptions","shortcutOption","triggerShortcuts","shouldTriggerShortcut","hasCorrectModifierKeys","isStateValid","textNotBlocking","modalNotBlocking","isModalActive","isInputFocused","onKey","keyEventType","humanizeKeyCode","spoolKeyPresses","translateRawKeyDown","humanizedKey","$focused","focusedElement","isNormalMode","providerNameMap","updateSocialAccounts","_stripev","TagService","messagesTagIds","messages_tag_ids","_textMeasurer","_cache","_pendingFetches","_getUser","refreshCache","cachedUser","_getCachedUser","_fetchAndCache","stuff","_updateCacheWithUserOrLead","_isUserOrLead","_updateCache","newUserIds","pollNexusForData","refreshUserPresenceStatus","userPresenceRefreshInterval","refreshTimer","_isKillswitchEnabled","_getAllUniqueUserIdsFromTheCache","_getLatestUserPresenceFromNexusInBatches","userPresencePollingInterval","_updatePresenceStatusForUser","_updatePresenceStatusForParticipant","_getUserIdsFromCache","_getParticipantIdsFromCache","userPresencePollingBatchSize","_getLatestUserPresenceFromNexus","userPresenceProxyPollingEndpoint","_updatePresenceStatusForReturnedUsers","_flattenUserPresenceResponse","userPresenceResponse","userData","updateUserData","updateCompanyData","companyData","userDetailsDidUpdate","_shouldUpdateAttribute","hadNoCompanies","updateParticipant","leadId","updateParticipantConversations","allConversations","chevron-right","arrow-curved","arrow-with-loop","app-store","hero-icon","more-apps-cta-icon-small","more-apps-cta-icon","appstore","details","messenger-big","arrow-rebrand","arrow-right-thick","avatars","xl","xs","campaign-arrow-product-refresh","campaign-arrow","carousels","checkmark","credit-card","american-express","diners-club","discover","jcb","mastercard","visa","developer-hub","app-package","header-logo","drag","collection-icons","biz-creditcard","biz-delivery","biz-dollar","biz-euro","biz-package","biz-shop","book-book","book-bookmark","book-library","book-opened","book-opened2","book-star","chat-comment","chat-conversation","chat-delete","chat-edit","chat-info","chat-plus","chat-question","chat-single","chat-star","chat-user","comms-check","comms-edit","comms-email-edit","comms-email","comms-inbox-down","comms-inbox-up","comms-inbox","comms-mail","comms-minus","comms-phone","comms-phone2","comms-plus","comms-search","comms-text","comms-timed","comms-video","comms-voice","devices-desktop","devices-laptop","devices-mobile","devices-server","devices-tablet","devices-window-check","devices-window-settings","devices-window","file-check","file-down","file-edit","file-file","file-files","file-folder-down","file-folder-edit","file-folder-lock","file-folder-plus","file-folder-search","file-folder-up","file-lock","file-plus","file-search","file-spreadsheet","file-up","info-check","info-cross","info-exclamation","info-info","info-question","info-sync","tools-compose","tools-dashboard","tools-delete","tools-edit","tools-locked","tools-setting1","tools-setting2","tools-setting3","tools-unlock","user-check","user-contact","user-edit","user-group","user-locked","user-profile","user-search","user-setting","user-star","user-user","linkedin-icon","twitter-icon","illustrative","illustrative-icons","acquire","activity","android-mobile","article-feedback","attention","auto-message","banner-filled","bot-filled","briefcase","camera","carousel-filled","chat-filled","data-collection","delivery-window","email-filled","engage","ios-mobile","lead-qualification","manual-message","mobile-carousel","notification-desktop","notification-inapp","notification-mobile-push","optimize-performance","pencil","people","post-filled","product-tours-filled","product-tours-list","push-notification-filled","reply-button","rocket-ship","saved-reply","stop-automatically","untracked-attribute","visitor-auto-message","wave","csv_icon","help-guide-code","help-guide-create-lists","help-guide-format-text","help-guide-quick-actions","interface-icons","klout","standard","ab-test","academy","add-column-left","add-column-right","add-participant","add-row-above","add-row-below","alert-circle","alignment-reference","alt-tag","apple","arrow-insert-column","arrow-insert-row","arrow","attribute-titles","bar-charts","big-announcement","bluetooth","bold","book","bot-info","brush","button-pill","cash","chat-bubble-line","chat-bubble","check","clearbit","click-element","clock-15","clock-30","clock-45","clock-60","clock-filled","clock","cloud-upload","code-block","compose","computer","contact-book","contract-filter","copy-message-to-production","creditcard","crosshair","custom-data","delete-column","delete-row","divider","double-chevrons","down-arrow","download-conversation","drop-off","expander-dots","eyedropper","failed-image-upload","failed-video-upload","filled-cloud-download","filled-cloud-upload","final-path","flipboard","floating","follow","following","gallery","gif","gift","globe","hamburger","horizontal-order","image-with-text","inapp-badge","inapp-full","inapp-note","inapp-pointer","inapp-post","inapp-snippet","insert-data","insights","intercom","intro","italic","keyboard","l-pipe","large-right-arrow","legal","line-separator","logout","lwr-happy","lwr-neutral","lwr-sad","lwr-thumbs-down","lwr-thumbs-up","marketo","megaphone","microphone","middle","multiplatform","multiple-people","new-direct-message","new-window","newspaper","next-step","not-seen-path","opened-message","outbound-filled","path-analysis","person-square-fill","picture","pointed-star","pointer-box","product-tours","push-notification","put-live","qual-identify","qualify","receive","recipient-data","regular-path","relationship-light","remove-participant","reopen-conversation","responder-off","responder-on","rounded-check","rss","rules-series","sent-message","sessions","share","sketch-app","slipping-away","small-check","small-close","small-down-arrow","small-ellipsis","small-thin-down-arrow","small-thin-right-arrow","small-up-arrow","star-outlined","star","sub-heading","thin-down-arrow","thin-left-arrow","thin-right-arrow","thin-up-arrow","tours-type-to-progress","transfer","trash","truncated-message","unfollow","unlocked","up-arrow","upgrade","vertical-ellipsis","vertical-order","video-camera","video-pointer","wrench","tiny","invite-link","communication-tools","desktop-mobile","invite-link-popover","line-vertical","track-filter","loading-indicators","white","message-creation","pointers","wherever","messenger-preview","attachment-icon","back-button","bio-icon","emoji-icon","gif-icon","job-title-icon","launcher-icon","linkedin-social-icon","location-icon","minimize-icon","twitter-social-icon","messenger-settings","app-store-icon","ask-question-icon","hero-icon-messenger","new-conversation-icon","operator-icon","messenger-update","curly-arrow","curved-arrow","customize-icon","design","flexible","hour-glass","messenger-icon","preview-eye","statuspage","phone-back","shell-new","shell","mobile-chat-caret","nav-primary-app-store-2020-refresh-active","nav-primary-app-store-2020-refresh","nav-primary-app-store","nav-primary-ellipsis-icon","nav-primary-logo-loaded","nav-primary-logo-loading","nav-primary-messenger-2020-refresh-active","nav-primary-messenger-2020-refresh","nav-primary-messenger","nav-primary-operator","nav-primary-product-changes-2020-refresh","nav-primary-product-changes","nav-primary-product-plus-icon","nav-primary-product-tours","nav-primary-reporting","nav-primary-setup-guide-brand-refresh","nav-primary-setup-guide","nav-secondary-guide-bookmark","nav-secondary-guide","new-logo","oauth","two-way-arrow","auto-message-deleted","auto-message-step-arrow","redirect-arrow","operator-settings","hero-icon-operator","paywall-up-arrow-large","paywall-up-arrow","2020","July","articles-active","bots-active","inbox-active","outbound-active","people-active","reports-active","id-1-brand-refresh-product-card","id-1-brand-refresh-solution-selector","id-1-brand-refresh","id-1-default-brand-refresh","id-1","id-10-brand-refresh-product-card","id-10-brand-refresh","id-11-brand-refresh","id-12-brand-refresh","id-13-brand-refresh","id-2-brand-refresh-product-card","id-2-brand-refresh-solution-selector","id-2-brand-refresh","id-2-default-brand-refresh","id-2","id-5-brand-refresh-product-card","id-5-brand-refresh-solution-selector","id-5-brand-refresh","id-5-default-brand-refresh","id-5","id-7-brand-refresh-product-card","id-7-brand-refresh","id-7-default-brand-refresh","id-8-brand-refresh-product-card","id-8-brand-refresh","id-8-default-brand-refresh","id-9-brand-refresh-product-card","id-9-brand-refresh","id-9-default-brand-refresh","id-platform-brand-refresh","id-platform-default-brand-refresh","id-platform","id-reports-brand-refresh","inbox-24px","messages-24px","messenger-24px","operator-24px","resized-id-1","resized-id-2","resized-id-5","resized-id-platform","respond-content","saved-reply-icon","paywalled-bot","paywalled-tour","edge-add-arrow","edge-alternative-connector","edge-connector-point","eye","hand","starting-state-view-mode","starting-state","trashcan","sign-in","nav-primary-logotype","signup-teams","cart","stop-manually","tours","gif-picker-icon","messenger-card-mirror","pre-tour-splash-screen-arrow","product-tours-progress","unassigned-avatar","ab-testing","account-based-marketing","advanced-security","assignment-rules-2","audience-targeting","clearbit-integration","connect-your-tools","conversation-volume","custom-html-template","enrich-marketo-leads","event-tracking","feature-agentefficiency","feature-alwaysonscript","feature-codefreecreation","feature-multiplemessages","feature-reacheverylead","feature-relationshipsatscale","feature-responsetime","free-up-time","higher-api-limits","in-app-message-chat","lead-profiles","measure-results","message-stats","messenger-visibility","multi-channel-campaigns","multi-channel","padlock","personalized-messaging","prioritize-conversations","recent-conversations","round-robin","safeguard-access","salesforce-leads","salesforce-sandbox","smart-campaigns","smart-suggestions-educate","smart-suggestions","tailored-responses","team-inbox","teammate-workload","total-leads","tours-in-minutes","track-leads","translate","write-articles","upgrade-modal-arrow","Transform","deserialized","CompanySummary","FragmentArrayTransform","FragmentTransform","tmap","toValue","fromValue","_opacity","_emberAnimated","serial","_move","_350MS","_marked","newLineWaitDuration","newLineWait","parallel","sprite","_answersTransitions","_campaignTransitions","_onboardingTransitions","_messageEditorTransitions","_feedTransitions","_productCardTransitions","_contentEditorTransitions","_onboardingHomeTransitions","_liquidFire","oldElement","newOpts","loop","newElement","_crossFade","_explode","_fade","flex-grow","_flexGrow","flippingElement","findFlippingElement","firstRotation","secondRotation","firstOpts","secondOpts","perspective","_flyTo","_moveOver","_scale","_scrollThen","_toDown","_toLeft","_toRight","_toUp","already_graduated","apply_telling","back_to_app","company_information","create_account","less_than","more_than","or_more","email_used","error_submit","error_submitted","existing_application","existing_early_stage_customer","onboard","employees","funding_received","incubator_affiliation","what_company_do","when_aprooved","year_funded","submitting","success_qualify","tell_us","thanks","trial","subheadline","your_information","generic","get_started","get_started_now","sign_out","april","august","december","february","january","july","june","march","may","november","october","september","can_change_sublabel","company_name_placeholder","full_name_placeholder","upload_photo","website_address_placeholder","welcome_message_placeholder","admin_info","create_account_sub","customize_color","intro_sub","welcome_message","powered_by","per_product_description","toggled_features","article_suggestions","content_importer","custom_branding","public_help_center","search_analytics","toggled_per_product_description","toggled_pro_features","per_product_description_long","assign_conversations","email_social_chat","office_hours","operator_bot","saved_replies","meeting_scheduling","reporting","salesforce_integration","satisfaction_surveys","per_product_description_long_for_maps","starts_with_description","starts_with_high_description","audience_targeting","auto_and_manual_messages","message_scheduling","messages_customization","trigger_times","a_b_testing","branding","delivery_window","smart_campaigns","company_size_dropdown","department_select_dropdown","customer_support","engineering","founder","product_management","sales","sign_up","confirm_subscription","edit_subscription","nav_heading","account_setup","add_a_product_to_see","add_coupon","already_using_intercom","app_name_desc","apply_coupon","cancel_anytime","chat_with_sales","company_error","create_company","creating","customize_free_trial","days_free","estimated_total","flip_it","app_cannot_be_blank","country_cannot_be_blank","email_cannot_be_blank","name_cannot_be_blank","password_cannot_be_blank","start_free_trial","state_cannot_be_blank","new_price","no_payment","payment_details","plan_selector","basic_features_only","essential_plan","everything_plus","most_popular","pricing","product_cards","add_to_trial","and_more","per_month","see_pricing_tiers","try","try_articles_free","sign_in","sign_in_to_apply","signed_up_with_google","start_instructions","start_subscription_inside_app","terms_of_service_card_being_charged","terms_of_service_start_free_trial","total_after_trial","total_starting_price","track_with_platform","use_case_selector","start_with_all","trial_message","try_all_long","try_all_short","what_do_you_want","your_total","company_placeholder","name_placeholder","password_placeholder","phone_number","phone_number_placeholder","submit_new_app","terms_of_service_create_account","terms_of_service_create_account_with_cta","terms_of_service_create_new_app","terms_of_service_sso_invite_sign_up","work_email","work_email_alert","work_email_placeholder","google_sso","cta","next_steps","option_divider","product_summary","sales_solution_summary","integrate","target_messages","with_intercom","with_sales_solution","generic_wb","live_chat_sales_solution","live_chat_solution","operator_view","start_product_trial","start_trial","support_solution","try_platform","try_platform_paid_messenger","update_subscription","capture_and_convert","detailed_description","start_instructions_inside_app","zero","_missingMessage","protocalMatcher","existingBrandWithDomain","otherBrands","allDomainsEmpty","validateLinkForPreferredDevice","preferredDevice","_attribute","autoFollowSoftLimit","isWarning","onOrAfter","positive","activationIsBeforeDeactivation","idpCert","_alias","_allPointersHaveSelectors","AutoMessageHasUserPredicates","BaseValidator","getDependentsFor","BannerActionUrlNotEmpty","BannerBlocksNotEmpty","BannerButtonTextLength","_belongsTo","BlocksNotDefault","BlocksNotEmpty","BotAutoMessageHasVisitorPredicates","_collection","_confirmation","ControlGroupMessageHasGoal","CustomBotFirstPathConstraints","pathSteps","CustomBotPathIsNotOrphan","CustomBotPathLimitsConsecutiveAutoFollows","stepCount","limitReached","hasConsecutiveTextGroupsAboveLimit","operatorMessengerAppService","extractMessengerAppIds","validateMessengerAppIds","_objects","appActionTypes","cardErrors","emptyBlocks","emptyTextBlocks","CustomBotStepDataFieldIsSet","collectableAttributeIdentifiers","DeliveryChannelAdminMustVerifyEmail","DeliveryChannelValidForAudience","DeliveryWindowEndIsAfterStart","MINIMUM_GAP_BETWEEN_START_AND_END_IN_HOURS","DeliveryWindowOnlyPermittedForEmailOrPush","_dependent","invalidMessage","_dsError","EmailSubjectNotEmpty","_exclusion","FollowUpRuleIsComplete","FollowUpRuleIsValid","_format","_hasMany","httpsRegex","_inclusion","_inline","_length","ManualMessageHasCount","validateEmptyPreview","validatePopulatedPreview","MessageStartAtStopAtIsValid","MessageVariationContentButtonNoLinkUrl","removeWhiteSpace","MessageVariationContentNotPlaceholder","blocksWithoutEmptyTextBlocks","MessageVariationHtmlModeContentContainsUnsubscribe","containsUnsubscribeUrlOrLink","MessageVariationHtmlModeContentNotEmpty","PointerSelector","MessageVariationsAreDifferent","_variationsAreEqual","variationAContentHash","_generate_content_hash_for_variation","variationBContentHash","_generateEmailContentHash","_generateInAppContentHash","_generatePushOnlyContentHash","_messages","NoEmptyCodeBlocks","_number","regularExpressions","isWithinLengthLimit","isHttps","PageTargetPredicates","PageTargetString","_pointerHasSelector","_presence","PushMessageVariationContent","urlWithoutAttributes","RulesetActivationIsBeforeDeactivation","RulesetDoesNotTargetMobileAndUsePageTargeting","devicesPreferred","targetsiOS","targetsAndroid","RulesetDoesNotTargetMobileOnlyAndNonUsers","targetsLeads","targetsVisitors","targetsWeb","RulesetDoesNotUseClientPredicatesForStaticMatchBehavior","_value$predicates","RulesetHasNoBlankClientPredicates","_value$predicates$fir","clientPredicate","isValueBasedComparison","RulesetHasRolePredicate","RulesetHasValidGoal","RulesetHasValidPredicate","RulesetHasValidScheduledActivation","RulesetHasValidScheduledDeactivation","RulesetLinksAreDifferent","_rulesetLinksAreEqual","stringifiedRulesetLinkContentHashes","RulesetNotStaticVisitor","SimpleActionRuleIsValid","TimeOnPageValue","timeOnPagePredicate","timeOnPageValue","TitleAndBodyBlocksNotEmpty","UrlWithTemplateString","_options","validateVideoDetails","VideoVamHasVideoBlock","WaitTimeIsInTheFuture","_model$series","isAbsolute","WorkflowHasValidActionsByIsValid","workflowAction","WorkflowHasValidActionsByUniqueness","hasMoreActionsThanAllowed","currentWorkflowActionTypes","restrictedAction","checkType","WorkflowHasValidPredicatesForStatus","WorkflowHasValidTriggerData","hasInvalidDelay","sourceImage","colorCount","CanvasImage","pixels","getImageData","pixelCount","getPixelCount","pixelArray","cmap","MMCQ","quantize","removeCanvas","rgbToHex","componentToHex","pv","naturalOrder","getColorIndex","PQueue","peek","VBox","r1","r2","g1","g2","b1","b2","histo","CMap","vboxes","vbox","medianCutApply","maxw","partialsum","lookaheadsum","doCut","vbox1","vbox2","d2","dim1","dim2","count2","_volume","_count_set","npix","_count","avg","_avg","hval","ntot","rsum","gsum","bsum","pixel","rval","gval","bval","vb","nearest","d1","pColor","forcebw","lowest","highest","maxcolors","getHisto","rmin","rmax","gmin","gmax","bmin","bmax","vboxFromPixels","pq","iter","lh","ncolors","niters","pq2","stringToB64","escapedString","p1","appSection","filterParams","filterObject","allOrContacts","b64String","percentEncodedString","char","encodedMessagePredicate","tagUrl","isCompanyType","manualTagAttribute","urlFragment","encodedTagPredicate","encodedFilterParams","_leave","onVisibilityChange","setBrowserAlert","alertWaiting","_activateBrowserAlertWithDelay","originalTitle","_getTitle","_setTitle","toggleTimer","_toggleHeader","_startBrowserAlertAnimation","_resetBrowserAlertAnimation","$dark","$light","_darkAnimationSrc","_lightAnimationSrc","noActiveAnimations","_staticIconSrc","timeDiff","forcedPastTimeDiff","renderTimeStamp","forcePast","defaultTruncationAmount","bodyTruncate","onclick","isSupported","_isInIframe","_browserSupportsLocalStorage","_tabId","_namespace","_getNewId","_tabList","_electSelf","_electSelfIfVisible","_leaderTabId","_removeFromList","_electLeaderFromList","ERROR_LOGGER","emberApplicationInstance","trage","listeners","queuedTopics","metricSink","timing","_nexus","NexusClient","endpoints","_onClientConnect","_onClientDisconnect","_onChannelExpired","LONG_POLLING_ENABLED","PRESENCE_ENABLED","listener","hostIsReachable","_isFunction","stopNotifier","onHostIsReachable","onHostIsNotReachable","rawTemplateIdentifiers","getInboxTagUrl","getUserOrCompanyUrl","exports","ember-d3","only","includeTimezone","LOG_DEPRECATION_WARNINGS","FAIL_TESTS_WITH_UNMOCKED_XHR_REQUESTS","percy","breakpointsConfig","desktopMin","defaultBreakpoints","baseUrlPath","EmberENV","FEATURES","EXTEND_PROTOTYPES","Function","ember-oauth2","authBaseUri","redirectUri","statePrefix","_APPLICATION_TEMPLATE_WRAPPER","_DEFAULT_ASYNC_OBSERVERS","_JQUERY_INTEGRATION","_TEMPLATE_ONLY_GLIMMER_COMPONENTS","publishableKey","facebookMessenger","nav_counters_poll_interval","conversation_parts_per_page","personalTemplateAvatarRefesh","temporaryHideComposerTime","messageFormatSaveLabelTime","websocketMonitorDelay","websocketMonitorTimeout","dropdownFadeIn","_1S","stripe_integration","connect_url","userPresencePollingEndpoint","render_performance_sample_size","visitor_auto_message_max","video_reply_autocommit_time","video_reply_user_visible_upload_time","camera_popover_request_delay","oauthUrl","lazyLoad","ember-ast-hot-load","watch","helpers","ember-collapsible-panel","hasLiquidFire","contentSecurityPolicy","style-src","ember-a11y-testing","componentOptions","turnAuditOff","excludeAxeCore","axeOptions","iframes","reporter","resultTypes","duplicate-id","duplicate-id-active","duplicate-id-aria","runningTests","require"],"mappings":"AAAA;;MCEeA,EAAAA,QAAmBC,OAAO,CACvCC,mBADuC,SACpBC,EAAIC,EAAWC,GAChC,OAAOC,KAAKC,mBAAmBH,EAAWC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axO,IAAI;gDAK7D,OAAOlC,KAAK0Q,aAAaxO,IAAI,qEAI7B,OAAIlC,KAAK0Q,aAAa6/lB,cACb,4BAEFvwmB,KAAK0Q,aAAaxO,IAAI,mEAI7B,IAAI+oK,EAAQjrK,KAAK0Q;AACjB,OAAIu6J,EAAMslc,cACDtlc,EAAMulc,cAEVvlc,EAAM/oK,IAAI,kCAAf,EACS+oK,EAAM/oK,IAAI,+DAKnB,OAAOlC,KAAK0Q,aAAaxO,IAAI;yIClClB,SAASkqI,EAAOC,GAC7B,IAAIoke,EAAc3qlB,KAAK6vI,IAAItpB,EAAMD,GAAS;AAC1C,OAAIA,EAAQC,EACHvvG,MAAM2zkB,GACV1zkB,OACA3b,KAAI,SAAC/e,EAAGqK,GAAJ,OAAU0/H,EAAQ1/H,KAElBowB,MAAM2zkB,GACV1zkB,OACA3b,KAAI,SAAC/e,EAAGqK,GAAJ,OAAU0/H,EAAQ1/H;aCTH,CACxB,YACA,4BACA,cACA,OACA,iBACA,OACA,OACA,iBACA,QACA,kBACA,eACA,cACA,cACA,eACA,uBACA,YACA,cACA,gBACA,kBACA,qBACA,0BACA,6BACA,OACA,cACA,cACA,aACA,uBACA,gBACA,gBACA,sBACA,uBACA,sBACA,sBACA,qBACA,2BACA,gBACA,8CACA,eACA,cACA,YACA,2BACA,2BACA,mBACA,yCACA,sBACA,eACA,YACA,qBACA,kBACA,mBACA,OACA,gBACA,WACA,SACA,kBACA,sBACA,wBACA,cACA,QACA,oCACA,YACA,iBACA,aACA,WACA,eACA,gBACA,eACA,uBACA,gCACA,aACA,qBACA,kBACA,+BACA,iBACA,YACA,WACA,YACA,mBACA,MACA,aACA,cACA,aACA,OACA,WACA,gCACA,gBACA,cACA,sBACA,iBACA,aACA,2DACA,iBACA,0BACA,eACA,uBACA,gBACA,oBACA,kBACA,oBACA,eACA,kBACA,sCACA,UACA,QACA,eACA,0CACA,SACA,UACA,kBACA,iBACA,gBACA,kBACA,YACA,4BACA,gCACA,aACA,WACA,UACA,QACA,oBACA,QACA,6BACA,oBACA,2BACA,8BACA,SACA,WACA,WACA,aACA,YACA,kBACA,aACA,cACA,eACA,kBACA,0BACA,UACA,YACA,SACA,UACA,WACA,iBACA,oDACA,cACA,gBACA,aACA,YACA,gCACA,mBACA,mBACA,OACA,aACA,eACA,WACA,uBACA,WACA,uBACA,SACA,iBACA,wBACA,eACA,iBACA,WACA,8BACA,wBACA,iBACA,OACA,eACA,SACA,uBACA,8CACA,gBACA,mBACA,yBACA,cACA,wBACA,2CACA,kBACA,cACA,8BACA,aACA,uBACA,yCACA,gBACA,kBACA,qBACA,6BACA,kBACA,eACA,cACA,iBACA,YACA,6BACA,sBACA,oBACA,mBACA,OACA,2CACA,MACA,OACA,UACA,oDACA,oBACA,OACA,oBACA,+BACA,kBACA,YACA,6CACA,sBACA,UACA,aACA,mCACA,aACA,6BACA,gBACA,0BACA,iBACA,0BACA,WACA,SACA,aACA,uCACA,qBACA,eACA,aACA,oBACA,WACA,mBACA,iBACA,cACA,oBACA,WACA,kBACA,qBACA,gCACA,mBACA,aACA,iBACA,SACA,QACA,mBACA,iBACA,cACA,cACA,OACA,cACA,SACA,YACA,iBACA,MACA,gCACA,SACA,YACA,gBACA,cACA,YACA,cACA,mBACA,kBACA,oBACA,2BACA,UACA,YACA,gBACA,0BACA,kBACA,8BACA,yBACA,aACA,gCACA,oBACA,YACA,gBACA,0CACA,iBACA,uBACA,mBACA,oBACA,wBACA,OACA,gBACA,aACA,mBACA,UACA,iBACA,sCACA,UACA,YACA,4BACA,QACA,eACA,8BACA,cACA,SACA,YACA,mBACA,cACA,WACA,qBACA,gCACA,gBACA,SACA,sBACA,mBACA,qBACA,oBACA,wBACA,cACA,oCACA,qBACA,wBACA,uCACA,qCACA,iBACA,oCACA,mBACA,WACA,cACA,wBACA,MACA,kBACA,iBACA,WACA,mBACA,eACA,eACA,2BACA,mBACA,kBACA,0BACA,oBACA,aACA,kBACA,+BACA,eACA,cACA,cACA,YACA,kBACA,SACA,6BACA,yCACA,oBACA,sBACA,mBACA,sBACA,qBACA,oBACA,cACA,cACA,eACA,gBACA,mBACA,iBACA,sBACA,qBACA,mBACA,iBACA,eACA,cACA,UACA,kBACA,cACA,eACA,+CACA,UACA,kBACA,+CACA,qBACA,qBACA,gBACA,sBACA,kCACA,kBACA,yBACA,YACA,aACA,oBACA,iBACA,6BACA,UACA,gBACA,YACA,mBACA,iBACA,qBACA,qBACA,mBACA,6BACA,+BACA,kBACA,4BACA,kBACA,qBACA,8BACA,gBACA,UACA,aACA,uBACA,gBACA,uBACA,kBACA,UACA,WACA,OACA,OACA,iBACA,cACA,eACA,oBACA,UACA,eACA,aACA,qBACA,gBACA,gBACA,cACA,gBACA,eACA,OACA,iBACA,qBACA,uBACA,eACA,iBACA,SACA,aACA,yBACA,WACA,cACA,QACA,aACA,MACA,SACA,QACA,kBACA,sBACA,+BACA,WACA,uCACA,qBACA,eACA,UACA,SACA,QACA,OACA,aACA,gBACA,YACA,UACA,gBACA,mBACA,SACA,qBACA,mBACA,6CACA,UACA,OACA,iBACA,gBACA,qBACA,YACA,iBACA,QACA,QACA,sBACA,WACA,4BACA,UACA,UACA,oCACA,QACA,+BACA,UACA,OACA,WACA,aACA,wBACA,oBACA,qBACA,aACA,WACA,kBACA,wBACA,6BACA,oBACA,kBACA,0BACA,SACA,WACA,YACA,4BACA,UACA,0CACA,YACA,YACA,gBACA,WACA,UACA,2BACA,OACA,iBACA,oBACA,mBACA,mCACA,4BACA,YACA,kBACA,YACA,oBACA,+BACA,qBACA,sBACA,eACA,WACA,gBACA,uBACA,oBACA,gDACA,WACA,2BACA,yBACA,sBACA,QACA,gBACA,4CACA,UACA,gBACA,UACA,UACA,oBACA,YACA,YACA,UACA,YACA,QACA,SACA,+BACA,iCACA,gBACA,gBACA,mBACA,YACA,uBACA,mBACA,cACA,UACA,UACA,mBACA,yBACA,0BACA,gBACA,cACA,cACA,sBACA,iBACA,aACA,UACA,YACA,mBACA,2BACA,8BACA,aACA,yBACA,eACA,mBACA,UACA,SACA,QACA,mBACA,2BACA,oBACA,aACA,QACA,oBACA,SACA,cACA,WACA,QACA,0BACA,WACA,uBACA,uBACA,gBACA,kBACA,SACA,YACA,mBACA,SACA,aACA,sBACA,aACA,sBACA,YACA,WACA,aACA,eACA,qBACA,qBACA,gBACA,OACA,qBACA,WACA,eACA,uBACA,gCACA,aACA,aACA,SACA,2BACA,SACA,yBACA,yBACA,2BACA,iBACA,YACA,eACA,iBACA,SACA,cACA,eACA,eACA,cACA,SACA,aACA,yBACA,OACA,MACA,gBACA,WACA,eACA,YACA,gCACA,0CACA,4BACA,gBACA,iBACA,qCACA,0BACA,UACA,OACA,yBACA,iBACA,oBACA,iBACA,mCACA,mBACA,OACA,4BACA,UACA,gBACA,iBACA,0BACA,WACA,iBACA,eACA,oBACA,oBACA,eACA,yBACA,OACA,UACA,YACA,gBACA,4BACA,kBACA,WACA,QACA,wBACA,gCACA,wBACA,cACA,sBACA,WACA,sBACA,sBACA,aACA,eACA,iBACA,WACA,uBACA,SACA,cACA,WACA,0BACA,mBACA,oBACA,gBACA,oBACA,eACA,sBACA,UACA,QACA,sBACA,cACA,qBACA,gBACA,iBACA,UACA,4BACA,qDACA,qBACA,oBACA,aACA,mBACA,yBACA,qBACA,uBACA,cACA,kBACA,aACA,UACA,kBACA,gBACA,cACA,gBACA,WACA,kBACA,oBACA,QACA,SACA,UACA,2BACA,cACA,WACA,uBACA,oBACA,gBACA,6CACA,cACA,uBACA,kBACA,aACA,+BACA,6DACA,cACA,sBACA,kBACA,eACA,cACA,YACA,4BACA,cACA,SACA,uBACA,kBACA,qBACA,SACA,iBACA,SACA,OACA,UACA,uBACA,iBACA,UACA,eACA,oBACA,aACA,eACA,WACA,oBACA,6CACA,YACA,eACA,eACA,gBACA,YACA,UACA,YACA,YACA,eACA,aACA,SACA,YACA,UACA,SACA,YACA,0BACA,cACA,QACA,WACA,cACA,2CACA,YACA,sBACA,gCACA,YACA,mBACA,UACA,wBACA,eACA,mBACA,YACA,6BACA,sBACA,eACA,eACA,YACA,aACA,OACA,kBACA,eACA,aACA,UACA,YACA,sBACA,cACA,gBACA,mBACA,8BACA,wBACA,0BACA,4CACA,cACA,SACA,mBACA,SACA,0BACA,gBACA,2BACA,eACA,gBACA,gBACA,0BACA,kBACA,sBACA,iBACA,YACA,WACA,YACA,YACA,cACA,SACA,yBACA,oBACA,wBACA,gBACA,gBACA,iBACA,kBACA,mBACA,kBACA,sBACA,qBACA,iBACA,kBACA,6BACA,wBACA,iBACA,iBACA,eACA,oBACA,iBACA,gBACA,kBACA,kBACA,2BACA,mBACA,oBACA,eACA,eACA,YACA,uBACA,kBACA,oBACA,+BACA,kBACA,4BACA,YACA,kBACA,aACA,eACA,SACA,YACA,YACA,iBACA,QACA,aACA,oBACA,eACA,oBACA,eACA,YACA,iDACA,wBACA,kBACA,oBACA,iBACA,oBACA,eACA,iBACA,2BACA,uBACA,sBACA,0BACA,SACA,QACA,mBACA,iBACA,iBACA,mBACA,oBACA,MACA,eACA,oBACA,6BACA,qBACA,gBACA,aACA,uBACA,mBACA,eACA,eACA,SACA,YACA,gBACA,YACA,QACA,SACA,QACA,WACA,yBACA,gCACA,iBACA,0BACA,eACA,eACA,uBACA,qBACA,uBACA,gBACA,aACA,eACA,YACA,uBACA,cACA,uBACA,oBACA,eACA,kBACA,mBACA,gBACA,eACA,WACA,qBACA,eACA,eACA,cACA,0DACA,cACA,4BACA,qBACA,eACA,iBACA,+CACA,mBACA,YACA,qBACA,aACA,YACA,mBACA,mDACA,4BACA,kBACA,eACA,kBACA,kBACA,eACA,eACA,gBACA,KACA,aACA,oBACA,WACA,gBACA,gBACA,YACA,YACA,eACA,mBACA,mBACA,cACA,OACA,oBACA,eACA,YACA,MACA,QACA,iBACA,oBACA,kBACA,gBACA,YACA,2BACA,wBACA,gCACA,wBACA,uBACA,wBACA,qCACA,qDACA,mCACA,yBACA,gCACA,aACA,MACA,UACA,mBACA,qBACA,SACA,cACA,wBACA,UACA,8BACA,WACA,yBACA,mCACA,kBACA,cACA,kBACA,8BACA,sBACA,iBACA,qBACA,cACA,cACA,aACA,cACA,aACA,eACA,kBACA,WACA,SACA,WACA,MACA,aACA,iDACA,kBACA,iBACA,iCACA,sBACA,eACA,QACA,oBACA,0BACA,yBACA,YACA,QACA,2BACA,sBACA,QACA,qBACA,kBACA,SACA,SACA,cACA,aACA,wBACA,QACA,2BACA,MACA,kBACA,0BACA,wBACA,gBACA,sBACA,uCACA,WACA,WACA,aACA,0BACA,QACA,UACA,SACA,6BACA,YACA,eACA,8BACA,OACA,2BACA,uBACA,gBACA,sBACA,wBACA,gCACA,gCACA,gBACA,YACA,iBACA,iICxiCa,SAAS5I,EAAOkujB,EAAUiI,GACvC,OAAoB,IAAbjI,GAA+B,MAAbA,EAAmBlujB,EAL9C,SAAoBA,EAAOm2jB,GACzB,YAA6B,IAAfA,EAnBhB,SAAkBn2jB,GAehB,MAdmB,CACjB4smB,OAAQ,SACR5xX,OAAQ,SACR6xX,MAAO,UACPl/kB,MAAO,UACP+nH,QAAS,YACTE,QAAS,YACTnmD,QAAS,QACTyhH,IAAK,OACLjpH,GAAI,MACJ6khB,IAAK,OACL/8d,MAAO,UACP/oF,UAAW,cAEOhnD,EAAMw0B,SAAnB,GAAA71B,OAAiCqB,EAAjC,KAIoC+smB,CAAS/smB,GAASm2jB,EAIT62C,CAAWhtmB,EAAOm2jB;ACvBxE,MAA4C,WAC1C,IAYI82C,EAZAC,EAAsB,EAKtB93M,EAJoBl5Z,KAAK49B,EAAEqzkB,aAC5B1kmB,QACA4a,MAAK,SAAC23C,EAAGmE,GAAJ,OAAUnE,EAAEq4c,cAAgBl0c,EAAEk0c,iBACnC3jX,UACiCpyI,KAAI,SAAArM,GAKtC,OAJAi8lB,GAAuBj8lB,EAAQywC,MAC1BzwC,EAAQm8lB,iBACXn8lB,EAAQm8lB,gBAAiB,EAAAzpgB,EAAA1lG,SAAiBgT,EAAQywC,QAE7CzwC;AAGLmkZ,EAAYv4Z,OAASX,K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GAAI,CACF9qnB,KAAM,sBACNywc,UAAW,QACX30c,KAAM,KACN40c,UAAW,6BAEbg+H,GAAI,CACF1ukB,KAAM,YACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbq6K,GAAI,CACF/qnB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbs6K,GAAI,CACFhrnB,KAAM,QACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbu6K,GAAI,CACFjrnB,KAAM,YACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbw6K,GAAI,CACFlrnB,KAAM,UACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEby6K,GAAI,CACFnrnB,KAAM,aACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbo+H,GAAI,CACF9ukB,KAAM,UACNywc,UAAW,QACX30c,KAAM,KACN40c,UAAW,6BAEbj5N,GAAI,CACFz3O,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb06K,GAAI,CACFprnB,KAAM,WACNywc,UAAW,QACX30c,KAAM,KACN40c,UAAW,6BAEb24J,GAAI,CACFrpmB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb26K,GAAI,CACFrrnB,KAAM,UACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEb46K,GAAI,CACFtrnB,KAAM,SACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb66K,GAAI,CACFvrnB,KAAM,QACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb86K,GAAI,CACFxrnB,KAAM,UACNywc,UAAW,QACX30c,KAAM,KACN40c,UAAW,6BAEb+6K,GAAI,CACFzrnB,KAAM,SACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb4hI,GAAI,CACFtykB,KAAM,0CACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbg7K,GAAI,CACF1rnB,KAAM,yBACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbi7K,GAAI,CACF3rnB,KAAM,WACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbk7K,GAAI,CACF5rnB,KAAM,SACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbm+H,GAAI,CACF7ukB,KAAM,oBACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbq+H,GAAI,CACF/ukB,KAAM,WACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbm7K,GAAI,CACF7rnB,KAAM,eACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbo7K,GAAI,CACF9rnB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbq7K,GAAI,CACF/rnB,KAAM,WACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbs7K,GAAI,CACFhsnB,KAAM,WACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbs+H,GAAI,CACFhvkB,KAAM,SACNywc,UAAW,KACX30c,KAAM,KACN40c,UAAW,6BAEbu7K,GAAI,CACFjsnB,KAAM,aACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbw7K,GAAI,CACFlsnB,KAAM,iBACNywc,UAAW,QACX30c,KAAM,KACN40c,UAAW,6BAEby7K,GAAI,CACFnsnB,KAAM,2BACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEblwD,GAAI,CACFxgZ,KAAM,OACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb07K,GAAI,CACFpsnB,KAAM,QACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEb27K,GAAI,CACFrsnB,KAAM,QACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEb47K,GAAI,CACFtsnB,KAAM,mBACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEb67K,GAAI,CACFvsnB,KAAM,0BACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEb87K,GAAI,CACFxsnB,KAAM,WACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbu+H,GAAI,CACFjvkB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb+7K,GAAI,CACFzsnB,KAAM,QACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbg8K,GAAI,CACF1snB,KAAM,8CACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbi8K,GAAI,CACF3snB,KAAM,eACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbwxI,GAAI,CACFlilB,KAAM,aACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbk8K,GAAI,CACF5snB,KAAM,gBACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb2+H,GAAI,CACFrvkB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbiiI,GAAI,CACF3ykB,KAAM,SACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbm8K,GAAI,CACF7snB,KAAM,iBACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbo8K,GAAI,CACF9snB,KAAM,UACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbq8K,GAAI,CACF/snB,KAAM,WACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbs8K,GAAI,CACFhtnB,KAAM,WACNywc,UAAW,QACX30c,KAAM,KACN40c,UAAW,6BAEbu8K,GAAI,CACFjtnB,KAAM,qBACNywc,UAAW,QACX30c,KAAM,KACN40c,UAAW,6BAEbw8K,GAAI,CACFltnB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEby8K,GAAI,CACFntnB,KAAM,QACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbuhI,GAAI,CACFjykB,KAAM,cACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb08K,GAAI,CACFptnB,KAAM,oBACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb28K,GAAI,CACFrtnB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb48K,GAAI,CACFttnB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbg/H,GAAI,CACF1vkB,KAAM,WACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb68K,GAAI,CACFvtnB,KAAM,8BACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb88K,GAAI,CACFxtnB,KAAM,gBACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbi/H,GAAI,CACF3vkB,KAAM,OACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbk/H,GAAI,CACF5vkB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbm/H,GAAI,CACF7vkB,KAAM,SACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEb+8K,GAAI,CACFztnB,KAAM,gBACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbg9K,GAAI,CACF1tnB,KAAM,mBACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb0/H,GAAI,CACFpwkB,KAAM,QACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbi9K,GAAI,CACF3tnB,KAAM,SACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbk9K,GAAI,CACF5tnB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbq/H,GAAI,CACF/vkB,KAAM,UACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbgkI,GAAI,CACF10kB,KAAM,QACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbm9K,GAAI,CACF7tnB,KAAM,YACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbo9K,GAAI,CACF9tnB,KAAM,SACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbq9K,GAAI,CACF/tnB,KAAM,YACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbs9K,GAAI,CACFhunB,KAAM,UACNywc,UAAW,QACX30c,KAAM,KACN40c,UAAW,6BAEbs/H,GAAI,CACFhwkB,KAAM,OACNywc,UAAW,QACX30c,KAAM,KACN40c,UAAW,6BAEb3pc,GAAI,CACF/G,KAAM,YACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbu9K,GAAI,CACFjunB,KAAM,SACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbw9K,GAAI,CACFlunB,KAAM,gBACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEby9K,GAAI,CACFnunB,KAAM,SACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb09K,GAAI,CACFpunB,KAAM,QACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb29K,GAAI,CACFrunB,KAAM,gCACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb49K,GAAI,CACFtunB,KAAM,WACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb69K,GAAI,CACFvunB,KAAM,YACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEby/H,GAAI,CACFnwkB,KAAM,UACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbxrX,GAAI,CACFllF,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb89K,GAAI,CACFxunB,KAAM,QACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEb13c,GAAI,CACFgH,KAAM,YACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEb+9K,GAAI,CACFzunB,KAAM,OACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbg+K,GAAI,CACF1unB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbi+K,GAAI,CACF3unB,KAAM,cACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbk+K,GAAI,CACF5unB,KAAM,SACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb2/H,GAAI,CACFrwkB,KAAM,QACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbm+K,GAAI,CACF7unB,KAAM,UACNywc,UAAW,QACX30c,KAAM,KACN40c,UAAW,6BAEbo+K,GAAI,CACF9unB,KAAM,QACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbq+K,GAAI,CACF/unB,KAAM,SACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbs+K,GAAI,CACFhvnB,KAAM,SACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbu+K,GAAI,CACFjvnB,KAAM,aACNywc,UAAW,KACX30c,KAAM,KACN40c,UAAW,6BAEbw+K,GAAI,CACFlvnB,KAAM,QACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEby+K,GAAI,CACFnvnB,KAAM,WACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb6/H,GAAI,CACFvwkB,KAAM,SACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb0+K,GAAI,CACFpvnB,KAAM,iCACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEb2+K,GAAI,CACFrvnB,KAAM,SACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb4+K,GAAI,CACFtvnB,KAAM,aACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb8/H,GAAI,CACFxwkB,KAAM,OACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb+/H,GAAI,CACFzwkB,KAAM,SACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb6+K,GAAI,CACFvvnB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb8+K,GAAI,CACFxvnB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb++K,GAAI,CACFzvnB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbg/K,GAAI,CACF1vnB,KAAM,yBACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbi/K,GAAI,CACF3vnB,KAAM,gBACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEblyb,GAAI,CACFxe,KAAM,YACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbk/K,GAAI,CACF5vnB,KAAM,aACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbm/K,GAAI,CACF7vnB,KAAM,QACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbggI,GAAI,CACF1wkB,KAAM,YACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbo/K,GAAI,CACF9vnB,KAAM,aACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbq/K,GAAI,CACF/vnB,KAAM,SACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbs/K,GAAI,CACFhwnB,KAAM,WACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbu/K,GAAI,CACFjwnB,KAAM,WACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbkgI,GAAI,CACF5wkB,KAAM,OACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbmgI,GAAI,CACF7wkB,KAAM,QACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbw/K,GAAI,CACFlwnB,KAAM,mBACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbqgI,GAAI,CACF/wkB,KAAM,aACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEby/K,GAAI,CACFnwnB,KAAM,YACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb0/K,GAAI,CACFpwnB,KAAM,SACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEb2/K,GAAI,CACFrwnB,KAAM,6CACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb4/K,GAAI,CACFtwnB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb6/K,GAAI,CACFvwnB,KAAM,SACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbsgI,GAAI,CACFhxkB,KAAM,WACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb4mD,GAAI,CACFt3f,KAAM,aACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbigI,GAAI,CACF3wkB,KAAM,aACNywc,UAAW,QACX30c,KAAM,KACN40c,UAAW,6BAEb8/K,GAAI,CACFxwnB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb+/K,GAAI,CACFzwnB,KAAM,aACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbjmX,GAAI,CACFzqF,KAAM,UACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbggL,GAAI,CACF1wnB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbigL,GAAI,CACF3wnB,KAAM,QACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbkgL,GAAI,CACF5wnB,KAAM,QACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb8+H,GAAI,CACFxvkB,KAAM,cACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbmgL,GAAI,CACF7wnB,KAAM,uBACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbogL,GAAI,CACF9wnB,KAAM,gBACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbqgL,GAAI,CACF/wnB,KAAM,cACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbsgL,GAAI,CACFhxnB,KAAM,YACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbugI,GAAI,CACFjxkB,KAAM,QACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbugL,GAAI,CACFjxnB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbwgL,GAAI,CACFlxnB,KAAM,OACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbygL,GAAI,CACFnxnB,KAAM,iBACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbwgI,GAAI,CACFlxkB,KAAM,SACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEb0gL,GAAI,CACFpxnB,KAAM,OACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb2gL,GAAI,CACFrxnB,KAAM,WACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEb4gL,GAAI,CACFtxnB,KAAM,QACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb6gL,GAAI,CACFvxnB,KAAM,kCACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb0gI,GAAI,CACFpxkB,KAAM,SACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb8gL,GAAI,CACFxxnB,KAAM,mBACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb+gL,GAAI,CACFzxnB,KAAM,WACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbghL,GAAI,CACF1xnB,KAAM,OACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbihL,GAAI,CACF3xnB,KAAM,cACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEb4gI,GAAI,CACFtxkB,KAAM,SACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEb6gI,GAAI,CACFvxkB,KAAM,WACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbkhL,GAAI,CACF5xnB,KAAM,cACNywc,UAAW,QACX30c,KAAM,KACN40c,UAAW,6BAEbmhL,GAAI,CACF7xnB,KAAM,QACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb9tD,GAAI,CACF5iZ,KAAM,UACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbghI,GAAI,CACF1xkB,KAAM,SACNywc,UAAW,KACX30c,KAAM,KACN40c,UAAW,6BAEbohL,GAAI,CACF9xnB,KAAM,SACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbqhL,GAAI,CACF/xnB,KAAM,wBACNywc,UAAW,QACX30c,KAAM,KACN40c,UAAW,6BAEbshL,GAAI,CACFhynB,KAAM,cACNywc,UAAW,QACX30c,KAAM,KACN40c,UAAW,6BAEbuhL,GAAI,CACFjynB,KAAM,mCACNywc,UAAW,QACX30c,KAAM,KACN40c,UAAW,6BAEbwhL,GAAI,CACFlynB,KAAM,QACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbihI,GAAI,CACF3xkB,KAAM,aACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbn6C,GAAI,CACFv2Z,KAAM,wBACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbyhL,GAAI,CACFnynB,KAAM,eACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb0hL,GAAI,CACFpynB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb2hL,GAAI,CACFrynB,KAAM,SACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb4hL,GAAI,CACFtynB,KAAM,aACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbohI,GAAI,CACF9xkB,KAAM,eACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb6hL,GAAI,CACFvynB,KAAM,YACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbmhI,GAAI,CACF7xkB,KAAM,WACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb8hL,GAAI,CACFxynB,KAAM,WACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb+hL,GAAI,CACFzynB,KAAM,kBACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbgiL,GAAI,CACF1ynB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbiiL,GAAI,CACF3ynB,KAAM,eACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbkiL,GAAI,CACF5ynB,KAAM,cACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbqhI,GAAI,CACF/xkB,KAAM,QACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbmiL,GAAI,CACF7ynB,KAAM,YACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbkhI,GAAI,CACF5xkB,KAAM,WACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEboiL,GAAI,CACF9ynB,KAAM,YACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbqiL,GAAI,CACF/ynB,KAAM,SACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEb10K,GAAI,CACFh8R,KAAM,cACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbsiL,GAAI,CACFhznB,KAAM,SACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbuiL,GAAI,CACFjznB,KAAM,aACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb/sU,GAAI,CACF3jI,KAAM,wCACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb2hI,GAAI,CACFrykB,KAAM,WACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbwiL,GAAI,CACFlznB,KAAM,cACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbyiL,GAAI,CACFnznB,KAAM,OACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb0iL,GAAI,CACFpznB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb/6Y,GAAI,CACF31D,KAAM,QACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbyhI,GAAI,CACFnykB,KAAM,sBACNywc,UAAW,QACX30c,KAAM,KACN40c,UAAW,6BAEb2iL,GAAI,CACFrznB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb14S,GAAI,CACFh4J,KAAM,SACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEb4iL,GAAI,CACFtznB,KAAM,eACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb6iL,GAAI,CACFvznB,KAAM,2BACNywc,UAAW,QACX30c,KAAM,KACN40c,UAAW,6BAEb8iL,GAAI,CACFxznB,KAAM,SACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb+iL,GAAI,CACFzznB,KAAM,SACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbgjL,GAAI,CACF1znB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbijL,GAAI,CACF3znB,KAAM,uBACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbkjL,GAAI,CACF5znB,KAAM,iBACNywc,UAAW,MACX30c,KAAM,KACN40c,UAAW,6BAEbmjL,GAAI,CACF7znB,KAAM,gBACNywc,UAAW,KACX30c,KAAM,KACN40c,UAAW,6BAEbojL,GAAI,CACF9znB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEb+hI,GAAI,CACFzykB,KAAM,aACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbqjL,GAAI,CACF/znB,KAAM,UACNywc,UAAW,OACX30c,KAAM,KACN40c,UAAW,6BAEbsjL,GAAI,CACFh0nB,KAAM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,CAAC,iBAAkB;mDAGc,CAC9DA,4BAA6B,CAC3B,iBACA,mBACA,qBACA,cACA;AC9EG,IAAM66E,EAAc,CACzB,CACEwyP,aAAc,2BACdC,gBAAiB,yCACjB73mB,YAAa,eACb83mB,YAAa,eACbnojB,QAAS,CACP,CACE13E,KAAM,QACN26B,MAAO,sBAET,CACE36B,KAAM,sBACN26B,MAAO,sBACPmlmB,KAAM,mDAER,CACE9/nB,KAAM,oBACN26B,MAAO,oBACPmlmB,KAAM,gDAER,CACE9/nB,KAAM,aACN26B,MAAO,aACPmlmB,KAAM,sCAER,CACE9/nB,KAAM,kBACN26B,MAAO,mBAET,CACE36B,KAAM,YACN26B,MAAO,aAET,CACE36B,KAAM,oBACN26B,MAAO,mBACPmlmB,KACE,qHAEJ,CACE9/nB,KAAM,WACN26B,MAAO,WACPmlmB,KAAM,kDAER,CACE9/nB,KAAM,SACN26B,MAAO,SACPmlmB,KAAM,+CAER,CACE9/nB,KAAM,eACN26B,MAAO,sBACPmlmB,KAAM,+CAER,CACE9/nB,KAAM,mBACN26B,MAAO,gCACPmlmB,KAAM,2CAER,CACE9/nB,KAAM,gBACN26B,MAAO,6BACPmlmB,KAAM,oDAIZ,CACEH,aAAc,uBACdC,gBAAiB,qCACjB73mB,YAAa,WACb83mB,YAAa,qBACbnojB,QAAS,CACP,CACE13E,KAAM,cACN26B,MAAO,aACPmlmB,KAAM,uEAER,CACE9/nB,KAAM,gBACN26B,MAAO,oBAET,CACE36B,KAAM,eACN26B,MAAO,eACPmlmB,KAAM,4DAER,CACE9/nB,KAAM,aACN26B,MAAO,gBACPmlmB,KAAM,iCAER,CACE9/nB,KAAM,gBACN26B,MAAO,YAET,CACE36B,KAAM,YACN26B,MAAO,OACPmlmB,KAAM,8CAER,CACE9/nB,KAAM,YACN26B,MAAO,YACPmlmB,KAAM,wCAER,CACE9/nB,KAAM,wBACN26B,MAAO,oBACPmlmB,KAAM,+DAER,CACE9/nB,KAAM,qBACN26B,MAAO,sBACPml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M,2DAwBVolsB,mBAnByB,CACzB/ksB,OAAQ,CAAAgxB,EAAA,GACDyzqB,EADC,CACc9ksB,KAAM,sBAAuBohR,MAAO,WADlD/vP,EAAA,GAGD0zqB,EAHC,CAIJ/ksB,KAAM,sEACNohR,MAAO,YAGX1zQ,QAAS,CACP,CAAEmhC,WAAY,6BAA8B2lC,MAAO,WACnD,CAAE3lC,WAAY,OAAQ2lC,MAAO;;kBC1EF,CAC7B20E,IAAK,CACHl4H,MAAO,uBACP19B,MAAO,GAET8xsB,SAAU,CACRp0qB,MAAO,4BACP19B,MAAO,GAETypB,IAAK,CACHiU,MAAO,uBACP19B,MAAO;UCXI,CACb,CACE+U,IAAK,aACLrO,YAAa,mBACbggM,aACE,mIACF7nM,KAAM,oBAER,CACEkW,IAAK,aACLrO,YAAa,sBACbggM,aACE,gHACF7nM,KAAM,oBAER,CACEkW,IAAK,QACLrO,YAAa,QACbggM,aACE,wHACF7nM,KAAM,mCAER,CACEkW,IAAK,MACLrO,YAAa,MACbggM,aACE,uGACF7nM,KAAM,qBAER,CACEkW,IAAK,UACLrO,YAAa,UACbggM,aACE,uGACF7nM,KAAM,qBAER,CACEkW,IAAK,UACLrO,YAAa,mBACbggM,aACE,uGACF7nM,KAAM;UCzCK,CACb,CACEkW,IAAK,MACLrO,YAAa,WACbiyH,QAAS,CACP,CACE51H,KAAM,YACN48B,YAAa,wBACbjjC,KAAM,UAER,CACEqG,KAAM,aACN48B,YAAa,6BACbjjC,KAAM,UAER,CACEqG,KAAM,YACN48B,YAAa,8BACbjjC,KAAM,UAER,CACEqG,KAAM,uBACN48B,YAAa,sDACbjjC,KAAM,WAER,CACEqG,KAAM,cACN48B,YAAa,uDACbjjC,KAAM,UAER,CACEqG,KAAM,iBACN48B,YAAa,8CACbjjC,KAAM,aAIZ,CACEqY,IAAK,MACLrO,YAAa,WACbiyH,QAAS,CACP,CACE51H,KAAM,OACN48B,YAAa,0BACbjjC,KAAM,UAER,CACEqG,KAAM,aACN48B,YAAa,6BACbjjC,KAAM,UAER,CACEqG,KAAM,qBACN48B,YAAa,mDACbjjC,KAAM,QAER,CACEqG,KAAM,qBACN48B,YAAa,qCACbjjC,KAAM,UAER,CACEqG,KAAM,aACN48B,YAAa,yCACbjjC,KAAM,QAER,CACEqG,KAAM,gBACN48B,YAAa,qCACbjjC,KAAM,UAER,CACEqG,KAAM,iBACN48B,YAAa,uCACbjjC,KAAM,YAIZ,CACEqY,IAAK,YACLrO,YAAa,YACbiyH,QAAS,CACP,CACE51H,KAAM,cACN48B,YAAa,4BACbjjC,KAAM,UAER,CACEqG,KAAM,OACN48B,YAAa,+BACbjjC,KAAM,UAER,CACEqG,KAAM,gBACN48B,YAAa,qCACbjjC,KAAM,UAER,CACEqG,KAAM,oBACN48B,YAAa,0CACbjjC,KAAM,UAER,CACEqG,KAAM,oBACN48B,YAAa,2CACbjjC,KAAM,UAER,CACEqG,KAAM,2BACN48B,YAAa,2CACbjjC,KAAM,UAER,CACEqG,KAAM,2BACN48B,YAAa,oDACbjjC,KAAM,YAIZ,CACEqY,IAAK,WACLrO,YAAa,qBACbiyH,QAAS,CACP,CACE51H,KAAM,eACN48B,YAAa,oCACbjjC,KAAM,UAER,CACEqG,KAAM,wBACN48B,YAAa,yCACbjjC,KAAM,UAER,CACEqG,KAAM,cACN48B,YAAa,mCACbjjC,KAAM,UAER,CACEqG,KAAM,0BACN48B,YAAa,oDACbjjC,KAAM,UAER,CACEqG,KAAM,eACN48B,YAAa,yCACbjjC,KAAM,UAER,CACEqG,KAAM,qBACN48B,YAAa,oCACbjjC,KAAM,UAER,CACEqG,KAAM,uBACN48B,YAAa,8BACbjjC,KAAM,YAIZ,CACEqY,IAAK,cACLrO,YAAa,cACbiyH,QAAS,CACP,CACE51H,KAAM,gBACN48B,YAAa,+CACbjjC,KAAM,WAER,CACEqG,KAAM,iBACN48B,YAAa,gDACbjjC,KAAM,WAER,CACEqG,KAAM,oBACN48B,YAAa,4CACbjjC,KAAM,QAER,CACEqG,KAAM,cACN48B,YAAa,sCACbjjC,KAAM,UAER,CACEqG,KAAM,kBACN48B,YAAa,4CACbjjC,KAAM,UAER,CACEqG,KAAM,oBACN48B,YAAa,uCACbjjC,KAAM,YAIZ,CACEqY,IAAK,SACLrO,YAAa,SACbiyH,QAAS,CACP,CACE51H,KAAM,qBACN48B,YAAa,gCACbjjC,KAAM,WAER,CACEqG,KAAM,oBACN48B,YAAa,+BACbjjC,KAAM,WAER,CACEqG,KAAM,qBACN48B,YAAa,gCACbjjC,KAAM,WAER,CACEqG,KAAM,cACN48B,YAAa,mDACbjjC,KAAM,UAER,CACEqG,KAAM,mBACN48B,YAAa,yCACbjjC,KAAM,QAER,CACEqG,KAAM,uBACN48B,YAAa,0DACbjjC,KAAM,aAIZ,CACEqY,IAAK,YACLrO,YAAa,YACbiyH,QAAS,CACP,CACE51H,KAAM,yBACN48B,YAAa,kDACbjjC,KAAM,QAER,CACEqG,KAAM,0BACN48B,YAAa,8CACbjjC,KAAM,UAER,CACEqG,KAAM,2BACN48B,YAAa,+CACbjjC,KAAM,UAER,CACEqG,KAAM,yBACN48B,YAAa,qDACbjjC,KAAM,WAER,CACEqG,KAAM,sBACN48B,YAAa,4CACbjjC,KAAM,YAIZ,CACEqY,IAAK,YACLrO,YAAa,YACbiyH,QAAS,CACP,CACE51H,KAAM,mBACN48B,YAAa,wCACbjjC,KAAM,QAER,CACEqG,KAAM,gBACN48B,YAAa,2CACbjjC,KAAM,WAER,CACEqG,KAAM,cACN48B,YAAa,mCACbjjC,KAAM,UAER,CACEqG,KAAM,gBACN48B,YAAa,uCACbjjC,KAAM,UAER,CACEqG,KAAM,mBACN48B,YAAa,4CACbjjC,KAAM,UAER,CACEqG,KAAM,uBACN48B,YAAa,8BACbjjC,KAAM,UAER,CACEqG,KAAM,uBACN48B,YAAa,iDACbjjC,KAAM;UC5SC,CACbq1sB,eAAgB,EAChBC,YAAa,EACbz5V,gBAAiB,EACjBtD,gBAAiB,EACjBg9V,kBAAmB,EACnBC,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A44P,EACAx4P,GAIA,IAHA7Q,EAGAtoH,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAHU,GACVmG,EAEAnG,UAAAC,OAAA,EAAAD,UAAA,QAAAE,EADAm5H,EACAr5H,UAAAC,OAAA,EAAAD,UAAA,QAAAE;AACA,OAAO4rL,EAAAA,QAAO4sI,YACZp5T,KAAK6H,IACLiqZ,EACA1lO,EACA3yD,EACA44P,EACAx4P,EACA7Q,EACAniH,EACAkzH,+BAzYF,OAAO/5H,KAAKoP,WAAWvH,4aAHR;;;;;;;;;AClBnB,IAAI4h1B,EAAqB,CACvB/pM,wBAAwB,EACxBp1oB,OAAQ,CACN,CAAEzD,KAAM,OAAQi5oB,MAAO,IACvB,CACEj5oB,KAAM,QACNi5oB,MAAO,GAET,CACEj5oB,KAAM,OACNi5oB,MAAO,EACPC,UAAW,CACT,IACA,OACA,QACA,SACA,QACA,MACA,SACA,OACA,KACA,QACA,KACA,MACA,MACA,MACA,KACA,KACA,KACA,UACA,OACA,MACA,KACA,MACA,SACA,QACA,OACA,MACA,KACA,OACA,SACA,OACA,OACA,QACA,MACA,OACA,MACA,MACA,MACA,MACA,OACA,KACA,MACA,OACA,MACA,MACA,MACA,UACA,IACA,KACA,KACA,OACA,KACA,KACA,MACA,OACA,QACA,MACA,OACA,SACA,MACA,KACA,QACA,OACA,OACA,KACA,UACA,KACA,MACA,MACA,KACA,MACA,QACA,KACA,OACA,KACA,QACA,MACA,MACA,SACA,OACA,MACA,OACA,MACA,SACA,QACA,KACA,OACA,OACA,OACA,MACA,QACA,OACA,OACA,QACA,QACA,OACA,OACA,MACA,KACA,MACA,OACA,KACA,QACA,MACA,KACA,OACA,OACA,OACA,QACA,QACA,QACA,MACA,OACA,MACA,OACA,OACA,QACA,MACA,MACA,WAMa2pM,oDAyClB,EAAA3lzB,EAAAvlB,MAAK,CAAEwlB,aAAa,OAUpB,EAAAD,EAAAvlB,MAAK,CAAE+nB,MAAM;;;;;;;;;0HA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,KAAAC,0BAAA,IAAAC,2BAAA,IAAAC,sBAAA,KAAAC,wBAAA,IAAA7gE,+BAAA,IAAA8gE,eAAA,IAAA1+G,MAAA,GAAAxwiB,MAAA,GAAA3uN,MAAA,GAAA69b,MAAA,GAAA30F,OAAA,IAAAlX,OAAA,IAAArsM,OAAA,IAAAg/D,OAAA,IAAAnlE,OAAA,IAAAu7sB,OAAA,IAAA38sB,OAAA,IAAA1iF,OAAA,IAAA+wvB,OAAA,IAAAtsuB,OAAA,IAAArjC,QAAA,IAAA5zB,QAAA,IAAAstG,QAAA,IAAAvlG,QAAA,IAAAu5S,QAAA,IAAA7jP,SAAA,IAAAgpgB,SAAA,KAAAjD,SAAA,IAAAoxR,IAAA,IAAA9vkB,IAAA,IAAAo8f,0BAAA,GAAA2zE,mBAAA,CAAAC,YAAA,sHAAAv6zB,oBAAA,iCAAAnG,qBAAA,4CAAA6M,kBAAA,CAAAC,kBAAA,iDAAAsG,iBAAA,CAAAC,kBAAA,uCAAA4nxB,4BAAA,IAAAL,4BAAA,IAAA+lC,4BAAA,kDAAAnlC,iCAAA,4BAAAF,6BAAA,IAAAslC,+BAAA,IAAAl+nB,kBAAA,IAAAm+nB,yBAAA,IAAAC,4BAAA,IAAAC,qCAAA,KAAAC,6BAAA,IAAAtrE,kBAAA,IAAAttK,aAAA,CAAA64O,SAAA,kCAAA9qD,oBAAA,gBAAAzmB,iBAAA,2BAAA5izB,KAAA,WAAA8jC,QAAA","file":"embercom.js","sourcesContent":["'use strict';\n\n\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default ApplicationAdapter.extend({\n  urlForDeleteRecord(id, modelName, snapshot) {\n    return this.urlForCreateRecord(modelName, snapshot);\n  },\n});\n","import ApplicationAdapter from './application';\nimport { inject as service } from '@ember/service';\n\nexport default ApplicationAdapter.extend({\n  router: service(),\n\n  ajax(url, type, options = {}) {\n    if (!options.data) {\n      options = Object.assign(options, { data: {} });\n    }\n    if (this.isEmbercom && !options.data.ra_source) {\n      options.data.ra_source = this.router.currentRouteName;\n    }\n    return this._super(...arguments);\n  },\n});\n","import ApplicationAdapter from './application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'admins/scheduler_settings';\n  },\n});\n","import { underscore } from '@ember/string';\nimport { pluralize } from 'ember-inflector';\nimport ENV from 'embercom/config/environment';\nimport EmbercomAdapter from 'embercom/lib/adapter/embercom-adapter';\nimport ajax from 'embercom/lib/ajax';\nimport loadAppRoute from 'embercom/lib/load-app-route';\n\nexport default EmbercomAdapter.extend({\n  pathForType(type) {\n    switch (type) {\n      case 'admin-notification-settings':\n        return 'admins/notification_settings';\n      case 'admin-teammate-app-settings':\n        return 'admins/teammate_app_settings';\n      case 'brand':\n        return 'brand_settings';\n      case 'operator/custom-bot-summary':\n        return 'operator_custom_bot_summaries';\n      case 'operator/custom-bot-reportable-bot':\n        return 'operator_custom_bot_reportable_bots';\n      case 'operator/custom-bot':\n        return 'operator_custom_bots';\n      case 'operator/custom-bot-template':\n        return 'operator_custom_bot_templates';\n      case 'operator-settings/contact-collection':\n        return 'operator_settings/contact_collection';\n      case 'operator-settings/article-auto-reaction':\n        return 'operator_settings/article_auto_reaction';\n      case 'operator/custom-bots-settings':\n        return 'operator_custom_bots_settings';\n      case 'operator/resolution-bot-settings':\n        return 'operator_resolution_bot_settings';\n      case 'operator/resolution-bot-looping-settings':\n        return 'operator_resolution_bot_looping_settings';\n      case 'operator/custom-bot-snapshot':\n        return 'operator_custom_bot_snapshots';\n      case 'appstore/app-package/google-calendar-meetings/app-settings':\n        return 'calendar_settings/google_calendar_meetings';\n      case 'appstore/app-package/outlook-calendar-meetings/app-settings':\n        return 'calendar_settings/outlook_calendar_meetings';\n      case 'insights/articles':\n        return 'insights/educate';\n      case 'insights/messages':\n        return 'insights/engage';\n      case 'carousels/carousel':\n        return 'carousels';\n      default:\n        return underscore(pluralize(type));\n    }\n  },\n\n  ajax(url, type, options = {}) {\n    if (!options.data) {\n      options = Object.assign(options, { data: {} });\n    }\n    if (this.isEmbercom && !options.data.app_id) {\n      options.data.app_id = this._getAppId();\n    }\n    options = this.ajaxOptions(url, type, options);\n    return ajax(options);\n  },\n\n  _getAppId() {\n    let appRoute = loadAppRoute(this);\n    if (appRoute.get('app.id')) {\n      return appRoute.get('app.id');\n    }\n\n    // Needed for use with ember-data-factory-guy because when using mockFindRecord, mockCreate etc before a call to `visit`, the app route won't have been set up yet\n    if (ENV.environment === 'test') {\n      return 'tx2p130c';\n    }\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'messenger_apps/get_a_demo/settings';\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default ApplicationAdapter.extend({\n  urlForCreateRecord(_, snapshot) {\n    let { id } = snapshot.record.appPackage.content;\n    return `ember/appstore/app_packages/${id}/invitations`;\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nfunction getSingleRecordUrl(code) {\n  return `ember/appstore/app_packages/${code}/invite_form_state`;\n}\n\nexport default ApplicationAdapter.extend({\n  urlForFindRecord(appPackageCode) {\n    return getSingleRecordUrl(appPackageCode);\n  },\n\n  urlForUpdateRecord(appPackageCode) {\n    return getSingleRecordUrl(appPackageCode);\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default ApplicationAdapter.extend({\n  buildURL(modelName, id, snapshot, requestType, query) {\n    return 'ember/stripe_settings';\n  },\n});\n","import ApplicationAdapter from './application';\n\nexport default ApplicationAdapter.extend({\n  buildURL(modelName, id, snapshot, requestType, query) {\n    return query && query.phrase\n      ? '/ember/articles/search'\n      : this._super('article', id, snapshot, requestType, query);\n  },\n});\n","import ApplicationAdapter from './application';\n\nexport default class ArticleAdapter extends ApplicationAdapter {\n  buildURL(modelName, id, snapshot, requestType, query) {\n    return query && query.phrase\n      ? '/ember/articles/search'\n      : super.buildURL(modelName, id, snapshot, requestType, query);\n  }\n}\n","import ApplicationAdapter from '../application';\n\nexport default ApplicationAdapter.extend({\n  buildURL(modelName, id, snapshot, requestType, query) {\n    return this._super('article-folder', id, snapshot, requestType, query);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport JSONAPIAdapter from '@ember-data/adapter/json-api';\n\nexport default JSONAPIAdapter.extend({});\n","import ApplicationAdapter from '../application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'contracts';\n  },\n});\n","import ApplicationAdapter from '../application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'customers';\n  },\n});\n","import ApplicationAdapter from '../application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'early_stage_graduations';\n  },\n});\n","import ApplicationAdapter from './application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return `campaigns/summaries`;\n  },\n});\n","import ApplicationAdapter from '../application';\n\nexport default class ConversationAttributeValue extends ApplicationAdapter {\n  updateRecord() {\n    return this.updateAttribute(...arguments);\n  }\n\n  createRecord() {\n    return this.updateAttribute(...arguments);\n  }\n\n  updateAttribute(store, type, snapshot) {\n    let conversationId = snapshot.record.conversationId;\n    let attributeId = snapshot.record.attributeId;\n    let serialized = this.serialize(snapshot);\n\n    let data = {\n      value: serialized.value,\n    };\n\n    return this.ajax(\n      `/ember/conversations/${conversationId}/conversation_attributes/${attributeId}`,\n      'PUT',\n      {\n        data,\n      },\n    );\n  }\n}\n","import ApplicationAdapter from './application';\n\n/*\n * We currently send every teammate ID in the query, which when it's a GET can result in a 413 error (or dropped connection) for larger teams.\n * This changes the query to use a POST instead, so the IDs are sent in the body vs the query string.\n */\nexport default ApplicationAdapter.extend({\n  query(store, type, query) {\n    let url = this.buildURL(type.modelName, null, null, 'query', query);\n    return this.ajax(url, 'POST', { data: query });\n  },\n});\n","import ApplicationAdapter from './application';\n\nexport default ApplicationAdapter.extend({\n  query() {\n    throw new Error(\n      'The conversation model does not support querying through the standard Ember Data interface yet. ' +\n        'Please make the request for conversations manually and push your response into the store via `pushPayload`.',\n    );\n  },\n\n  updateRecord() {\n    throw new Error(\n      'The conversation model does not support the saving operation. Please mutate the conversation state via converastion parts.',\n    );\n  },\n});\n","import ApplicationAdapter from './application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return `sender_emails`;\n  },\n});\n","import ApplicationAdapter from '../application';\n\nexport default ApplicationAdapter.extend({\n  namespace: 'api',\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default class CumulativeTotalInstallsAdapter extends ApplicationAdapter {\n  urlForQueryRecord(query) {\n    let { appPackageId } = query;\n    return `ember/developer_hub/app_packages/${appPackageId}/reports/cumulative_total_installs`;\n  }\n}\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default class InstallationEvents extends ApplicationAdapter {\n  urlForQueryRecord(query) {\n    let { appPackageId } = query;\n    return `ember/developer_hub/app_packages/${appPackageId}/reports/installation_events`;\n  }\n}\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default class UninstallFeedback extends ApplicationAdapter {\n  urlForQueryRecord(query) {\n    let { appPackageId } = query;\n    return `ember/developer_hub/app_packages/${appPackageId}/reports/uninstall_feedbacks`;\n  }\n}\n","import ApplicationAdapter from './application';\n\nexport default ApplicationAdapter.extend({\n  collectionKey: 'dkim-settings',\n});\n","import ApplicationAdapter from './application';\nimport EmailTemplate from 'embercom/models/email-template';\n\nexport default ApplicationAdapter.extend({\n  shouldReloadRecord(store, snapshot) {\n    return !EmailTemplate.isIntercomBuiltTemplate(snapshot.id);\n  },\n  shouldBackgroundReloadRecord(store, snapshot) {\n    return !EmailTemplate.isIntercomBuiltTemplate(snapshot.id);\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'bound_web_events';\n  },\n});\n","import ApplicationAdapter from './application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'facebook_integration';\n  },\n});\n","import ApplicationAdapter from '../application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'inbox/admin_app_sidebar_sections/available_sections';\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'intercom_pages_settings';\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport JSONAPIAdapter from '@ember-data/adapter/json-api';\nimport ajax from 'embercom/lib/ajax';\nimport loadAppRoute from 'embercom/lib/load-app-route';\nimport ENV from 'embercom/config/environment';\n\nexport default JSONAPIAdapter.extend({\n  namespace: 'ember',\n\n  ajax(url, type, options = {}) {\n    //so that we can use ic-ajax fixtures\n    if (!options.data) {\n      options = Object.assign(options, { data: {} });\n    }\n    options.data.app_id = this._getAppId();\n    options = this.ajaxOptions(url, type, options);\n    return ajax(options);\n  },\n\n  _getAppId() {\n    let appRoute = loadAppRoute(this);\n    if (appRoute.get('app.id')) {\n      return appRoute.get('app.id');\n    }\n\n    // Needed for use with ember-data-factory-guy because when using mockFindRecord,\n    // mockCreate etc before a call to `visit`, the app route won't have been set up yet\n    if (ENV.environment === 'test') {\n      return 'tx2p130c';\n    }\n  },\n\n  _appendAppIdToURLParams(url, appId) {\n    let delimiter = url.includes('?') ? '&' : '?';\n    return `${url}${delimiter}app_id=${appId}`;\n  },\n});\n","import ApplicationAdapter from '../application';\n\nexport default ApplicationAdapter.extend({\n  findRecord(store, type, id, snapshot) {\n    if (snapshot.adapterOptions) {\n      let stats = snapshot.adapterOptions.stats;\n      if (stats) {\n        let url = this.buildURL(type.modelName, id, snapshot, 'findRecord');\n        let query = this.buildQuery(snapshot);\n        query.stats = stats;\n        query.include_unique_stat_count = true;\n        return this.ajax(url, 'GET', { data: query });\n      }\n    }\n    return this._super(...arguments);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport RESTAdapter from '@ember-data/adapter/rest';\nimport ajax from 'embercom/lib/ajax';\n\nexport default RESTAdapter.extend({\n  findRecord(store, type, id, snapshot) {\n    if (snapshot.adapterOptions) {\n      let duration = snapshot.adapterOptions.duration;\n      if (duration) {\n        let url = this.buildURL(type.modelName, id, snapshot, 'findRecord');\n        let query = this.buildQuery(snapshot);\n        query.duration = duration;\n        return ajax({\n          type: 'GET',\n          url,\n          data: query,\n        });\n      }\n    } else {\n      this._super(...arguments);\n    }\n  },\n  pathForType() {\n    return 'meeting_scheduler/calendar';\n  },\n});\n","import ApplicationAdapter from '../application';\n\nexport default ApplicationAdapter.extend({\n  urlForFindRecord(id) {\n    return `/ember/campaign_message_previews/${id}`;\n  },\n  shouldReloadRecord() {\n    return true;\n  },\n});\n","import ApplicationAdapter from '../application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'control_groups';\n  },\n});\n","import ApplicationAdapter from '../application';\n\nexport default ApplicationAdapter.extend({\n  urlForFindRecord(id) {\n    return `/ember/messages/${id}/dependencies`;\n  },\n  shouldReloadRecord() {\n    return true;\n  },\n});\n","import ApplicationAdapter from '../application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'messenger_home/slot_groups';\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'messenger_settings/all';\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'messenger_settings/availability';\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'messenger_settings/home';\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'messenger_settings/look_and_feel';\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'messenger_settings/security';\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'messenger_settings/upfront_email_collection';\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'messenger_settings/visibility';\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default ApplicationAdapter.extend({\n  coalesceFindRequests: true,\n});\n","import EmbercomAdapter from 'embercom/lib/adapter/embercom-adapter';\n\nexport default EmbercomAdapter.extend({\n  pathForType() {\n    return 'oauth/connect';\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'onboarding/home/guide';\n  },\n\n  urlForFindRecord() {\n    return this.buildURL('onboarding/home/guide');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport ApplicationAdapter from 'embercom/adapters/application';\n\nexport default ApplicationAdapter.extend({\n  updateRecord(store, type, snapshot) {\n    return this._super(...arguments).then(guideResponseJSON => {\n      store.push(store.normalize('onboarding/home/guide', guideResponseJSON));\n    });\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'operator_settings/conversation_routing';\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'operator_settings/duplicate_conversation_detection';\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'operator_settings/team_availability';\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'operator_settings/upfront_collection';\n  },\n});\n","import ApplicationAdapter from '../application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'content_service/contents/search';\n  },\n});\n","import ApplicationAdapter from '../application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'qualification_attributes';\n  },\n});\n","import ApplicationAdapter from './application';\nimport { assign } from '@ember/polyfills';\nimport Permission from 'embercom/models/permission';\n\nexport default ApplicationAdapter.extend({\n  deleteRecord(_store, type, snapshot) {\n    let id = snapshot.id;\n    let url = this.buildURL(type.modelName, id, snapshot, 'deleteRecord');\n    let reassignments = snapshot.adapterOptions.reassignments;\n    if (!reassignments) {\n      throw new Error('You need to include reassignment options for this request');\n    }\n    let options = { data: Permission.transformReassignments(reassignments) };\n    return this.ajax(url, 'DELETE', options);\n  },\n  updateRecord(store, type, snapshot) {\n    let data = {};\n    let serializer = store.serializerFor(type.modelName);\n    serializer.serializeIntoHash(data, type, snapshot);\n    let id = snapshot.id;\n    let url = this.buildURL(type.modelName, id, snapshot, 'updateRecord');\n\n    // this is the only bit different from the default behaviour\n    let reassignments = snapshot?.adapterOptions?.reassignments;\n    if (reassignments) {\n      assign(data, this._convertReassignmentsToPayload(reassignments));\n    }\n    return this.ajax(url, 'PUT', { data });\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default ApplicationAdapter.extend({\n  unsubscribe(model) {\n    let url = `${this.buildURL('reporting/report-subscription', model.id)}/unsubscribe`;\n    return this.ajax(url, 'POST');\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default class ChartAdapter extends ApplicationAdapter {\n  pathForType() {\n    return 'reporting/custom_charts';\n  }\n}\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default class ReportAdapter extends ApplicationAdapter {\n  pathForType() {\n    return 'reporting/custom_reports';\n  }\n}\n","import ApplicationAdapter from './application';\nimport ajax from 'embercom/lib/ajax';\n\nexport default ApplicationAdapter.extend({\n  updateRecord(store, type, snapshot) {\n    /*\n     * SdkApp defines its own `updateRecord` so we can use FormData to post\n     * the PEM file contents and still maintain the model's dirty state.\n     * See https://github.com/intercom/intercom/issues/28571 for more.\n     */\n    let url = this.urlForUpdateRecord(snapshot.id, type.modelName, snapshot);\n    let formData = new FormData();\n    let record = snapshot.record;\n    formData.append('app_id', record.app_id);\n    formData.append('name', record.name);\n    formData.append('identity_verified', record.identity_verified);\n    formData.append('has_certificate', record.has_certificate);\n    if (record.certificate) {\n      formData.append('certificate', record.certificate);\n      formData.append('certificate_filename', record.get('certificate.name'));\n    }\n    if (record.isAndroid) {\n      formData.append('gcm_key', record.gcm_key);\n    }\n    if (record.hasApnsToken) {\n      if (record.apnsTokenFile) {\n        formData.append('apns_token_file', record.apnsTokenFile);\n        formData.append('apns_token_file_name', record.apnsTokenFileName);\n      }\n      formData.append('apns_key_id', record.apnsKeyId);\n      formData.append('apns_team_id', record.apnsTeamId);\n      formData.append('ios_bundle_id', record.iosBundleId);\n      formData.append('has_apns_token', true);\n    } else {\n      formData.append('has_apns_token', false);\n    }\n    return ajax({\n      url,\n      method: 'PUT',\n      data: formData,\n      contentType: false,\n      processData: false,\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport RESTAdapter from '@ember-data/adapter/rest';\n\nexport default RESTAdapter.extend({\n  namespace: 'ember',\n\n  state() {\n    let url = `${this.buildURL('signup')}/state`;\n    return this.ajax(url, 'GET', {});\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\nimport { getApp } from 'embercom/lib/container-lookup';\n\nexport default ApplicationAdapter.extend({\n  urlForDeleteRecord(id, modelName, snapshot) {\n    let url = this._super(id, modelName, snapshot);\n    let app = getApp();\n    if (app) {\n      let currentAdminId = app.get('currentAdmin.id');\n      let name = snapshot.attributes().name;\n      return `${url}?name=${name}&admin_id=${currentAdminId}`;\n    }\n    return url;\n  },\n});\n","import ApplicationAdapter from 'embercom/adapters/application';\n\nexport default ApplicationAdapter.extend({\n  pathForType() {\n    return 'inbox/workload_management/team_settings';\n  },\n});\n","import Application from '@ember/application';\nimport Resolver from './resolver';\nimport loadInitializers from 'ember-load-initializers';\nimport config from './config/environment';\nimport registerRawHelpers from 'embercom/helpers-raw/register';\nimport './lib/custom-inflector-rules';\nimport initializeSentry from 'embercom/lib/sentry';\nimport ENV from 'embercom/config/environment';\n\n// add default error handling before Sentry setup\nif (ENV.environment !== 'test') {\n  Ember.onerror = error => Ember.Logger.error(error);\n}\n\ninitializeSentry();\n\nexport default class App extends Application {\n  modulePrefix = config.modulePrefix;\n  podModulePrefix = config.podModulePrefix;\n  Resolver = Resolver;\n  customEvents = {\n    copy: 'copy',\n    paste: 'paste',\n    cut: 'cut',\n    scroll: 'scroll',\n  };\n\n  ready() {\n    let container = this.__container__;\n    container.lookup('browserAlerts:main').initialize();\n    container.lookup('sounds:main').initialize();\n    document.documentElement.querySelector('body').classList.add('ember-ready');\n  }\n}\n\nloadInitializers(App, config.modulePrefix);\nregisterRawHelpers();\n","// Note: Don't forget to update the screen size mixins in app/styles/_mixins.scss\n// if you change these dimensions\nexport default {\n  mobile: '(max-width: 480px)',\n  tablet: '(min-width: 768px) and (max-width: 1024px)',\n  desktop: '(min-width: 1025px)',\n  leftNavSmall: '(max-height: 590px)',\n  leftNavMedium: '(max-height: 638px)',\n  leftNavLarge: '(max-height: 686px)',\n};\n","/*jslint eqeq: true*/\nexport default [{\"locale\":\"de\",\"pluralRuleFunction\":function(n,ord){var s=String(n).split(\".\"),v0=!s[1];if(ord)return\"other\";return n==1&&v0?\"one\":\"other\"},\"fields\":{\"year\":{\"displayName\":\"Jahr\",\"relative\":{\"0\":\"dieses Jahr\",\"1\":\"nächstes Jahr\",\"-1\":\"letztes Jahr\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} Jahr\",\"other\":\"in {0} Jahren\"},\"past\":{\"one\":\"vor {0} Jahr\",\"other\":\"vor {0} Jahren\"}}},\"year-short\":{\"displayName\":\"Jahr\",\"relative\":{\"0\":\"dieses Jahr\",\"1\":\"nächstes Jahr\",\"-1\":\"letztes Jahr\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} Jahr\",\"other\":\"in {0} Jahren\"},\"past\":{\"one\":\"vor {0} Jahr\",\"other\":\"vor {0} Jahren\"}}},\"month\":{\"displayName\":\"Monat\",\"relative\":{\"0\":\"diesen Monat\",\"1\":\"nächsten Monat\",\"-1\":\"letzten Monat\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} Monat\",\"other\":\"in {0} Monaten\"},\"past\":{\"one\":\"vor {0} Monat\",\"other\":\"vor {0} Monaten\"}}},\"month-short\":{\"displayName\":\"Monat\",\"relative\":{\"0\":\"diesen Monat\",\"1\":\"nächsten Monat\",\"-1\":\"letzten Monat\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} Monat\",\"other\":\"in {0} Monaten\"},\"past\":{\"one\":\"vor {0} Monat\",\"other\":\"vor {0} Monaten\"}}},\"day\":{\"displayName\":\"Tag\",\"relative\":{\"0\":\"heute\",\"1\":\"morgen\",\"2\":\"übermorgen\",\"-2\":\"vorgestern\",\"-1\":\"gestern\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} Tag\",\"other\":\"in {0} Tagen\"},\"past\":{\"one\":\"vor {0} Tag\",\"other\":\"vor {0} Tagen\"}}},\"day-short\":{\"displayName\":\"Tag\",\"relative\":{\"0\":\"heute\",\"1\":\"morgen\",\"2\":\"übermorgen\",\"-2\":\"vorgestern\",\"-1\":\"gestern\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} Tag\",\"other\":\"in {0} Tagen\"},\"past\":{\"one\":\"vor {0} Tag\",\"other\":\"vor {0} Tagen\"}}},\"hour\":{\"displayName\":\"Stunde\",\"relative\":{\"0\":\"in dieser Stunde\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} Stunde\",\"other\":\"in {0} Stunden\"},\"past\":{\"one\":\"vor {0} Stunde\",\"other\":\"vor {0} Stunden\"}}},\"hour-short\":{\"displayName\":\"Std.\",\"relative\":{\"0\":\"in dieser Stunde\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} Std.\",\"other\":\"in {0} Std.\"},\"past\":{\"one\":\"vor {0} Std.\",\"other\":\"vor {0} Std.\"}}},\"minute\":{\"displayName\":\"Minute\",\"relative\":{\"0\":\"in dieser Minute\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} Minute\",\"other\":\"in {0} Minuten\"},\"past\":{\"one\":\"vor {0} Minute\",\"other\":\"vor {0} Minuten\"}}},\"minute-short\":{\"displayName\":\"Min.\",\"relative\":{\"0\":\"in dieser Minute\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} Min.\",\"other\":\"in {0} Min.\"},\"past\":{\"one\":\"vor {0} Min.\",\"other\":\"vor {0} Min.\"}}},\"second\":{\"displayName\":\"Sekunde\",\"relative\":{\"0\":\"jetzt\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} Sekunde\",\"other\":\"in {0} Sekunden\"},\"past\":{\"one\":\"vor {0} Sekunde\",\"other\":\"vor {0} Sekunden\"}}},\"second-short\":{\"displayName\":\"Sek.\",\"relative\":{\"0\":\"jetzt\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} Sek.\",\"other\":\"in {0} Sek.\"},\"past\":{\"one\":\"vor {0} Sek.\",\"other\":\"vor {0} Sek.\"}}}},\"numbers\":{\"decimal\":{\"long\":[[1000,{\"one\":[\"0 Tausend\",1],\"other\":[\"0 Tausend\",1]}],[10000,{\"one\":[\"00 Tausend\",2],\"other\":[\"00 Tausend\",2]}],[100000,{\"one\":[\"000 Tausend\",3],\"other\":[\"000 Tausend\",3]}],[1000000,{\"one\":[\"0 Million\",1],\"other\":[\"0 Millionen\",1]}],[10000000,{\"one\":[\"00 Millionen\",2],\"other\":[\"00 Millionen\",2]}],[100000000,{\"one\":[\"000 Millionen\",3],\"other\":[\"000 Millionen\",3]}],[1000000000,{\"one\":[\"0 Milliarde\",1],\"other\":[\"0 Milliarden\",1]}],[10000000000,{\"one\":[\"00 Milliarden\",2],\"other\":[\"00 Milliarden\",2]}],[100000000000,{\"one\":[\"000 Milliarden\",3],\"other\":[\"000 Milliarden\",3]}],[1000000000000,{\"one\":[\"0 Billion\",1],\"other\":[\"0 Billionen\",1]}],[10000000000000,{\"one\":[\"00 Billionen\",2],\"other\":[\"00 Billionen\",2]}],[100000000000000,{\"one\":[\"000 Billionen\",3],\"other\":[\"000 Billionen\",3]}]],\"short\":[[1000,{\"one\":[\"0\",1],\"other\":[\"0\",1]}],[10000,{\"one\":[\"0\",1],\"other\":[\"0\",1]}],[100000,{\"one\":[\"0\",1],\"other\":[\"0\",1]}],[1000000,{\"one\":[\"0 Mio'.'\",1],\"other\":[\"0 Mio'.'\",1]}],[10000000,{\"one\":[\"00 Mio'.'\",2],\"other\":[\"00 Mio'.'\",2]}],[100000000,{\"one\":[\"000 Mio'.'\",3],\"other\":[\"000 Mio'.'\",3]}],[1000000000,{\"one\":[\"0 Mrd'.'\",1],\"other\":[\"0 Mrd'.'\",1]}],[10000000000,{\"one\":[\"00 Mrd'.'\",2],\"other\":[\"00 Mrd'.'\",2]}],[100000000000,{\"one\":[\"000 Mrd'.'\",3],\"other\":[\"000 Mrd'.'\",3]}],[1000000000000,{\"one\":[\"0 Bio'.'\",1],\"other\":[\"0 Bio'.'\",1]}],[10000000000000,{\"one\":[\"00 Bio'.'\",2],\"other\":[\"00 Bio'.'\",2]}],[100000000000000,{\"one\":[\"000 Bio'.'\",3],\"other\":[\"000 Bio'.'\",3]}]]}}}];","/*jslint eqeq: true*/\nexport default [{\"locale\":\"en\",\"pluralRuleFunction\":function(n,ord){var s=String(n).split(\".\"),v0=!s[1],t0=Number(s[0])==n,n10=t0&&s[0].slice(-1),n100=t0&&s[0].slice(-2);if(ord)return n10==1&&n100!=11?\"one\":n10==2&&n100!=12?\"two\":n10==3&&n100!=13?\"few\":\"other\";return n==1&&v0?\"one\":\"other\"},\"fields\":{\"year\":{\"displayName\":\"year\",\"relative\":{\"0\":\"this year\",\"1\":\"next year\",\"-1\":\"last year\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} year\",\"other\":\"in {0} years\"},\"past\":{\"one\":\"{0} year ago\",\"other\":\"{0} years ago\"}}},\"year-short\":{\"displayName\":\"yr.\",\"relative\":{\"0\":\"this yr.\",\"1\":\"next yr.\",\"-1\":\"last yr.\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} yr.\",\"other\":\"in {0} yr.\"},\"past\":{\"one\":\"{0} yr. ago\",\"other\":\"{0} yr. ago\"}}},\"month\":{\"displayName\":\"month\",\"relative\":{\"0\":\"this month\",\"1\":\"next month\",\"-1\":\"last month\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} month\",\"other\":\"in {0} months\"},\"past\":{\"one\":\"{0} month ago\",\"other\":\"{0} months ago\"}}},\"month-short\":{\"displayName\":\"mo.\",\"relative\":{\"0\":\"this mo.\",\"1\":\"next mo.\",\"-1\":\"last mo.\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} mo.\",\"other\":\"in {0} mo.\"},\"past\":{\"one\":\"{0} mo. ago\",\"other\":\"{0} mo. ago\"}}},\"day\":{\"displayName\":\"day\",\"relative\":{\"0\":\"today\",\"1\":\"tomorrow\",\"-1\":\"yesterday\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} day\",\"other\":\"in {0} days\"},\"past\":{\"one\":\"{0} day ago\",\"other\":\"{0} days ago\"}}},\"day-short\":{\"displayName\":\"day\",\"relative\":{\"0\":\"today\",\"1\":\"tomorrow\",\"-1\":\"yesterday\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} day\",\"other\":\"in {0} days\"},\"past\":{\"one\":\"{0} day ago\",\"other\":\"{0} days ago\"}}},\"hour\":{\"displayName\":\"hour\",\"relative\":{\"0\":\"this hour\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} hour\",\"other\":\"in {0} hours\"},\"past\":{\"one\":\"{0} hour ago\",\"other\":\"{0} hours ago\"}}},\"hour-short\":{\"displayName\":\"hr.\",\"relative\":{\"0\":\"this hour\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} hr.\",\"other\":\"in {0} hr.\"},\"past\":{\"one\":\"{0} hr. ago\",\"other\":\"{0} hr. ago\"}}},\"minute\":{\"displayName\":\"minute\",\"relative\":{\"0\":\"this minute\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} minute\",\"other\":\"in {0} minutes\"},\"past\":{\"one\":\"{0} minute ago\",\"other\":\"{0} minutes ago\"}}},\"minute-short\":{\"displayName\":\"min.\",\"relative\":{\"0\":\"this minute\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} min.\",\"other\":\"in {0} min.\"},\"past\":{\"one\":\"{0} min. ago\",\"other\":\"{0} min. ago\"}}},\"second\":{\"displayName\":\"second\",\"relative\":{\"0\":\"now\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} second\",\"other\":\"in {0} seconds\"},\"past\":{\"one\":\"{0} second ago\",\"other\":\"{0} seconds ago\"}}},\"second-short\":{\"displayName\":\"sec.\",\"relative\":{\"0\":\"now\"},\"relativeTime\":{\"future\":{\"one\":\"in {0} sec.\",\"other\":\"in {0} sec.\"},\"past\":{\"one\":\"{0} sec. ago\",\"other\":\"{0} sec. ago\"}}}},\"numbers\":{\"decimal\":{\"long\":[[1000,{\"one\":[\"0 thousand\",1],\"other\":[\"0 thousand\",1]}],[10000,{\"one\":[\"00 thousand\",2],\"other\":[\"00 thousand\",2]}],[100000,{\"one\":[\"000 thousand\",3],\"other\":[\"000 thousand\",3]}],[1000000,{\"one\":[\"0 million\",1],\"other\":[\"0 million\",1]}],[10000000,{\"one\":[\"00 million\",2],\"other\":[\"00 million\",2]}],[100000000,{\"one\":[\"000 million\",3],\"other\":[\"000 million\",3]}],[1000000000,{\"one\":[\"0 billion\",1],\"other\":[\"0 billion\",1]}],[10000000000,{\"one\":[\"00 billion\",2],\"other\":[\"00 billion\",2]}],[100000000000,{\"one\":[\"000 billion\",3],\"other\":[\"000 billion\",3]}],[1000000000000,{\"one\":[\"0 trillion\",1],\"other\":[\"0 trillion\",1]}],[10000000000000,{\"one\":[\"00 trillion\",2],\"other\":[\"00 trillion\",2]}],[100000000000000,{\"one\":[\"000 trillion\",3],\"other\":[\"000 trillion\",3]}]],\"short\":[[1000,{\"one\":[\"0K\",1],\"other\":[\"0K\",1]}],[10000,{\"one\":[\"00K\",2],\"other\":[\"00K\",2]}],[100000,{\"one\":[\"000K\",3],\"other\":[\"000K\",3]}],[1000000,{\"one\":[\"0M\",1],\"other\":[\"0M\",1]}],[10000000,{\"one\":[\"00M\",2],\"other\":[\"00M\",2]}],[100000000,{\"one\":[\"000M\",3],\"other\":[\"000M\",3]}],[1000000000,{\"one\":[\"0B\",1],\"other\":[\"0B\",1]}],[10000000000,{\"one\":[\"00B\",2],\"other\":[\"00B\",2]}],[100000000000,{\"one\":[\"000B\",3],\"other\":[\"000B\",3]}],[1000000000000,{\"one\":[\"0T\",1],\"other\":[\"0T\",1]}],[10000000000000,{\"one\":[\"00T\",2],\"other\":[\"00T\",2]}],[100000000000000,{\"one\":[\"000T\",3],\"other\":[\"000T\",3]}]]}}}];","/*jslint eqeq: true*/\nexport default [{\"locale\":\"es\",\"pluralRuleFunction\":function(n,ord){if(ord)return\"other\";return n==1?\"one\":\"other\"},\"fields\":{\"year\":{\"displayName\":\"año\",\"relative\":{\"0\":\"este año\",\"1\":\"el próximo año\",\"-1\":\"el año pasado\"},\"relativeTime\":{\"future\":{\"one\":\"dentro de {0} año\",\"other\":\"dentro de {0} años\"},\"past\":{\"one\":\"hace {0} año\",\"other\":\"hace {0} años\"}}},\"year-short\":{\"displayName\":\"a\",\"relative\":{\"0\":\"este año\",\"1\":\"el próximo año\",\"-1\":\"el año pasado\"},\"relativeTime\":{\"future\":{\"one\":\"dentro de {0} a\",\"other\":\"dentro de {0} a\"},\"past\":{\"one\":\"hace {0} a\",\"other\":\"hace {0} a\"}}},\"month\":{\"displayName\":\"mes\",\"relative\":{\"0\":\"este mes\",\"1\":\"el próximo mes\",\"-1\":\"el mes pasado\"},\"relativeTime\":{\"future\":{\"one\":\"dentro de {0} mes\",\"other\":\"dentro de {0} meses\"},\"past\":{\"one\":\"hace {0} mes\",\"other\":\"hace {0} meses\"}}},\"month-short\":{\"displayName\":\"m\",\"relative\":{\"0\":\"este mes\",\"1\":\"el próximo mes\",\"-1\":\"el mes pasado\"},\"relativeTime\":{\"future\":{\"one\":\"dentro de {0} m\",\"other\":\"dentro de {0} m\"},\"past\":{\"one\":\"hace {0} m\",\"other\":\"hace {0} m\"}}},\"day\":{\"displayName\":\"día\",\"relative\":{\"0\":\"hoy\",\"1\":\"mañana\",\"2\":\"pasado mañana\",\"-2\":\"anteayer\",\"-1\":\"ayer\"},\"relativeTime\":{\"future\":{\"one\":\"dentro de {0} día\",\"other\":\"dentro de {0} días\"},\"past\":{\"one\":\"hace {0} día\",\"other\":\"hace {0} días\"}}},\"day-short\":{\"displayName\":\"d\",\"relative\":{\"0\":\"hoy\",\"1\":\"mañana\",\"2\":\"pasado mañana\",\"-2\":\"anteayer\",\"-1\":\"ayer\"},\"relativeTime\":{\"future\":{\"one\":\"dentro de {0} día\",\"other\":\"dentro de {0} días\"},\"past\":{\"one\":\"hace {0} día\",\"other\":\"hace {0} días\"}}},\"hour\":{\"displayName\":\"hora\",\"relative\":{\"0\":\"esta hora\"},\"relativeTime\":{\"future\":{\"one\":\"dentro de {0} hora\",\"other\":\"dentro de {0} horas\"},\"past\":{\"one\":\"hace {0} hora\",\"other\":\"hace {0} horas\"}}},\"hour-short\":{\"displayName\":\"h\",\"relative\":{\"0\":\"esta hora\"},\"relativeTime\":{\"future\":{\"one\":\"dentro de {0} h\",\"other\":\"dentro de {0} h\"},\"past\":{\"one\":\"hace {0} h\",\"other\":\"hace {0} h\"}}},\"minute\":{\"displayName\":\"minuto\",\"relative\":{\"0\":\"este minuto\"},\"relativeTime\":{\"future\":{\"one\":\"dentro de {0} minuto\",\"other\":\"dentro de {0} minutos\"},\"past\":{\"one\":\"hace {0} minuto\",\"other\":\"hace {0} minutos\"}}},\"minute-short\":{\"displayName\":\"min\",\"relative\":{\"0\":\"este minuto\"},\"relativeTime\":{\"future\":{\"one\":\"dentro de {0} min\",\"other\":\"dentro de {0} min\"},\"past\":{\"one\":\"hace {0} min\",\"other\":\"hace {0} min\"}}},\"second\":{\"displayName\":\"segundo\",\"relative\":{\"0\":\"ahora\"},\"relativeTime\":{\"future\":{\"one\":\"dentro de {0} segundo\",\"other\":\"dentro de {0} segundos\"},\"past\":{\"one\":\"hace {0} segundo\",\"other\":\"hace {0} segundos\"}}},\"second-short\":{\"displayName\":\"s\",\"relative\":{\"0\":\"ahora\"},\"relativeTime\":{\"future\":{\"one\":\"dentro de {0} s\",\"other\":\"dentro de {0} s\"},\"past\":{\"one\":\"hace {0} s\",\"other\":\"hace {0} s\"}}}},\"numbers\":{\"decimal\":{\"long\":[[1000,{\"one\":[\"0 mil\",1],\"other\":[\"0 mil\",1]}],[10000,{\"one\":[\"00 mil\",2],\"other\":[\"00 mil\",2]}],[100000,{\"one\":[\"000 mil\",3],\"other\":[\"000 mil\",3]}],[1000000,{\"one\":[\"0 millón\",1],\"other\":[\"0 millones\",1]}],[10000000,{\"one\":[\"00 millones\",2],\"other\":[\"00 millones\",2]}],[100000000,{\"one\":[\"000 millones\",3],\"other\":[\"000 millones\",3]}],[1000000000,{\"one\":[\"0 mil millones\",1],\"other\":[\"0 mil millones\",1]}],[10000000000,{\"one\":[\"00 mil millones\",2],\"other\":[\"00 mil millones\",2]}],[100000000000,{\"one\":[\"000 mil millones\",3],\"other\":[\"000 mil millones\",3]}],[1000000000000,{\"one\":[\"0 billón\",1],\"other\":[\"0 billones\",1]}],[10000000000000,{\"one\":[\"00 billones\",2],\"other\":[\"00 billones\",2]}],[100000000000000,{\"one\":[\"000 billones\",3],\"other\":[\"000 billones\",3]}]],\"short\":[[1000,{\"one\":[\"0 mil\",1],\"other\":[\"0 mil\",1]}],[10000,{\"one\":[\"00 mil\",2],\"other\":[\"00 mil\",2]}],[100000,{\"one\":[\"000 mil\",3],\"other\":[\"000 mil\",3]}],[1000000,{\"one\":[\"0 M\",1],\"other\":[\"0 M\",1]}],[10000000,{\"one\":[\"00 M\",2],\"other\":[\"00 M\",2]}],[100000000,{\"one\":[\"000 M\",3],\"other\":[\"000 M\",3]}],[1000000000,{\"one\":[\"0000 M\",4],\"other\":[\"0000 M\",4]}],[10000000000,{\"one\":[\"00 mil M\",2],\"other\":[\"00 mil M\",2]}],[100000000000,{\"one\":[\"000 mil M\",3],\"other\":[\"000 mil M\",3]}],[1000000000000,{\"one\":[\"0 B\",1],\"other\":[\"0 B\",1]}],[10000000000000,{\"one\":[\"00 B\",2],\"other\":[\"00 B\",2]}],[100000000000000,{\"one\":[\"000 B\",3],\"other\":[\"000 B\",3]}]]}}}];","/*jslint eqeq: true*/\nexport default [{\"locale\":\"fr\",\"pluralRuleFunction\":function(n,ord){if(ord)return n==1?\"one\":\"other\";return n>=0&&n<2?\"one\":\"other\"},\"fields\":{\"year\":{\"displayName\":\"année\",\"relative\":{\"0\":\"cette année\",\"1\":\"l’année prochaine\",\"-1\":\"l’année dernière\"},\"relativeTime\":{\"future\":{\"one\":\"dans {0} an\",\"other\":\"dans {0} ans\"},\"past\":{\"one\":\"il y a {0} an\",\"other\":\"il y a {0} ans\"}}},\"year-short\":{\"displayName\":\"an\",\"relative\":{\"0\":\"cette année\",\"1\":\"l’année prochaine\",\"-1\":\"l’année dernière\"},\"relativeTime\":{\"future\":{\"one\":\"dans {0} a\",\"other\":\"dans {0} a\"},\"past\":{\"one\":\"il y a {0} a\",\"other\":\"il y a {0} a\"}}},\"month\":{\"displayName\":\"mois\",\"relative\":{\"0\":\"ce mois-ci\",\"1\":\"le mois prochain\",\"-1\":\"le mois dernier\"},\"relativeTime\":{\"future\":{\"one\":\"dans {0} mois\",\"other\":\"dans {0} mois\"},\"past\":{\"one\":\"il y a {0} mois\",\"other\":\"il y a {0} mois\"}}},\"month-short\":{\"displayName\":\"m.\",\"relative\":{\"0\":\"ce mois-ci\",\"1\":\"le mois prochain\",\"-1\":\"le mois dernier\"},\"relativeTime\":{\"future\":{\"one\":\"dans {0} m.\",\"other\":\"dans {0} m.\"},\"past\":{\"one\":\"il y a {0} m.\",\"other\":\"il y a {0} m.\"}}},\"day\":{\"displayName\":\"jour\",\"relative\":{\"0\":\"aujourd’hui\",\"1\":\"demain\",\"2\":\"après-demain\",\"-2\":\"avant-hier\",\"-1\":\"hier\"},\"relativeTime\":{\"future\":{\"one\":\"dans {0} jour\",\"other\":\"dans {0} jours\"},\"past\":{\"one\":\"il y a {0} jour\",\"other\":\"il y a {0} jours\"}}},\"day-short\":{\"displayName\":\"j\",\"relative\":{\"0\":\"aujourd’hui\",\"1\":\"demain\",\"2\":\"après-demain\",\"-2\":\"avant-hier\",\"-1\":\"hier\"},\"relativeTime\":{\"future\":{\"one\":\"dans {0} j\",\"other\":\"dans {0} j\"},\"past\":{\"one\":\"il y a {0} j\",\"other\":\"il y a {0} j\"}}},\"hour\":{\"displayName\":\"heure\",\"relative\":{\"0\":\"cette heure-ci\"},\"relativeTime\":{\"future\":{\"one\":\"dans {0} heure\",\"other\":\"dans {0} heures\"},\"past\":{\"one\":\"il y a {0} heure\",\"other\":\"il y a {0} heures\"}}},\"hour-short\":{\"displayName\":\"h\",\"relative\":{\"0\":\"cette heure-ci\"},\"relativeTime\":{\"future\":{\"one\":\"dans {0} h\",\"other\":\"dans {0} h\"},\"past\":{\"one\":\"il y a {0} h\",\"other\":\"il y a {0} h\"}}},\"minute\":{\"displayName\":\"minute\",\"relative\":{\"0\":\"cette minute-ci\"},\"relativeTime\":{\"future\":{\"one\":\"dans {0} minute\",\"other\":\"dans {0} minutes\"},\"past\":{\"one\":\"il y a {0} minute\",\"other\":\"il y a {0} minutes\"}}},\"minute-short\":{\"displayName\":\"min\",\"relative\":{\"0\":\"cette minute-ci\"},\"relativeTime\":{\"future\":{\"one\":\"dans {0} min\",\"other\":\"dans {0} min\"},\"past\":{\"one\":\"il y a {0} min\",\"other\":\"il y a {0} min\"}}},\"second\":{\"displayName\":\"seconde\",\"relative\":{\"0\":\"maintenant\"},\"relativeTime\":{\"future\":{\"one\":\"dans {0} seconde\",\"other\":\"dans {0} secondes\"},\"past\":{\"one\":\"il y a {0} seconde\",\"other\":\"il y a {0} secondes\"}}},\"second-short\":{\"displayName\":\"s\",\"relative\":{\"0\":\"maintenant\"},\"relativeTime\":{\"future\":{\"one\":\"dans {0} s\",\"other\":\"dans {0} s\"},\"past\":{\"one\":\"il y a {0} s\",\"other\":\"il y a {0} s\"}}}},\"numbers\":{\"decimal\":{\"long\":[[1000,{\"one\":[\"0 millier\",1],\"other\":[\"0 mille\",1]}],[10000,{\"one\":[\"00 mille\",2],\"other\":[\"00 mille\",2]}],[100000,{\"one\":[\"000 mille\",3],\"other\":[\"000 mille\",3]}],[1000000,{\"one\":[\"0 million\",1],\"other\":[\"0 millions\",1]}],[10000000,{\"one\":[\"00 million\",2],\"other\":[\"00 millions\",2]}],[100000000,{\"one\":[\"000 million\",3],\"other\":[\"000 millions\",3]}],[1000000000,{\"one\":[\"0 milliard\",1],\"other\":[\"0 milliards\",1]}],[10000000000,{\"one\":[\"00 milliard\",2],\"other\":[\"00 milliards\",2]}],[100000000000,{\"one\":[\"000 milliard\",3],\"other\":[\"000 milliards\",3]}],[1000000000000,{\"one\":[\"0 billion\",1],\"other\":[\"0 billions\",1]}],[10000000000000,{\"one\":[\"00 billion\",2],\"other\":[\"00 billions\",2]}],[100000000000000,{\"one\":[\"000 billion\",3],\"other\":[\"000 billions\",3]}]],\"short\":[[1000,{\"one\":[\"0 k\",1],\"other\":[\"0 k\",1]}],[10000,{\"one\":[\"00 k\",2],\"other\":[\"00 k\",2]}],[100000,{\"one\":[\"000 k\",3],\"other\":[\"000 k\",3]}],[1000000,{\"one\":[\"0 M\",1],\"other\":[\"0 M\",1]}],[10000000,{\"one\":[\"00 M\",2],\"other\":[\"00 M\",2]}],[100000000,{\"one\":[\"000 M\",3],\"other\":[\"000 M\",3]}],[1000000000,{\"one\":[\"0 Md\",1],\"other\":[\"0 Md\",1]}],[10000000000,{\"one\":[\"00 Md\",2],\"other\":[\"00 Md\",2]}],[100000000000,{\"one\":[\"000 Md\",3],\"other\":[\"000 Md\",3]}],[1000000000000,{\"one\":[\"0 Bn\",1],\"other\":[\"0 Bn\",1]}],[10000000000000,{\"one\":[\"00 Bn\",2],\"other\":[\"00 Bn\",2]}],[100000000000000,{\"one\":[\"000 Bn\",3],\"other\":[\"000 Bn\",3]}]]}}}];","/*jslint eqeq: true*/\nexport default [{\"locale\":\"ja\",\"pluralRuleFunction\":function(n,ord){if(ord)return\"other\";return\"other\"},\"fields\":{\"year\":{\"displayName\":\"年\",\"relative\":{\"0\":\"今年\",\"1\":\"翌年\",\"-1\":\"昨年\"},\"relativeTime\":{\"future\":{\"other\":\"{0} 年後\"},\"past\":{\"other\":\"{0} 年前\"}}},\"year-short\":{\"displayName\":\"年\",\"relative\":{\"0\":\"今年\",\"1\":\"翌年\",\"-1\":\"昨年\"},\"relativeTime\":{\"future\":{\"other\":\"{0} 年後\"},\"past\":{\"other\":\"{0} 年前\"}}},\"month\":{\"displayName\":\"月\",\"relative\":{\"0\":\"今月\",\"1\":\"翌月\",\"-1\":\"先月\"},\"relativeTime\":{\"future\":{\"other\":\"{0} か月後\"},\"past\":{\"other\":\"{0} か月前\"}}},\"month-short\":{\"displayName\":\"月\",\"relative\":{\"0\":\"今月\",\"1\":\"翌月\",\"-1\":\"先月\"},\"relativeTime\":{\"future\":{\"other\":\"{0} か月後\"},\"past\":{\"other\":\"{0} か月前\"}}},\"day\":{\"displayName\":\"日\",\"relative\":{\"0\":\"今日\",\"1\":\"明日\",\"2\":\"明後日\",\"-2\":\"一昨日\",\"-1\":\"昨日\"},\"relativeTime\":{\"future\":{\"other\":\"{0} 日後\"},\"past\":{\"other\":\"{0} 日前\"}}},\"day-short\":{\"displayName\":\"日\",\"relative\":{\"0\":\"今日\",\"1\":\"明日\",\"2\":\"明後日\",\"-2\":\"一昨日\",\"-1\":\"昨日\"},\"relativeTime\":{\"future\":{\"other\":\"{0} 日後\"},\"past\":{\"other\":\"{0} 日前\"}}},\"hour\":{\"displayName\":\"時\",\"relative\":{\"0\":\"1 時間以内\"},\"relativeTime\":{\"future\":{\"other\":\"{0} 時間後\"},\"past\":{\"other\":\"{0} 時間前\"}}},\"hour-short\":{\"displayName\":\"時\",\"relative\":{\"0\":\"1 時間以内\"},\"relativeTime\":{\"future\":{\"other\":\"{0} 時間後\"},\"past\":{\"other\":\"{0} 時間前\"}}},\"minute\":{\"displayName\":\"分\",\"relative\":{\"0\":\"1 分以内\"},\"relativeTime\":{\"future\":{\"other\":\"{0} 分後\"},\"past\":{\"other\":\"{0} 分前\"}}},\"minute-short\":{\"displayName\":\"分\",\"relative\":{\"0\":\"1 分以内\"},\"relativeTime\":{\"future\":{\"other\":\"{0} 分後\"},\"past\":{\"other\":\"{0} 分前\"}}},\"second\":{\"displayName\":\"秒\",\"relative\":{\"0\":\"今\"},\"relativeTime\":{\"future\":{\"other\":\"{0} 秒後\"},\"past\":{\"other\":\"{0} 秒前\"}}},\"second-short\":{\"displayName\":\"秒\",\"relative\":{\"0\":\"今\"},\"relativeTime\":{\"future\":{\"other\":\"{0} 秒後\"},\"past\":{\"other\":\"{0} 秒前\"}}}},\"numbers\":{\"decimal\":{\"long\":[[1000,{\"other\":[\"0\",1]}],[10000,{\"other\":[\"0万\",1]}],[100000,{\"other\":[\"00万\",2]}],[1000000,{\"other\":[\"000万\",3]}],[10000000,{\"other\":[\"0000万\",4]}],[100000000,{\"other\":[\"0億\",1]}],[1000000000,{\"other\":[\"00億\",2]}],[10000000000,{\"other\":[\"000億\",3]}],[100000000000,{\"other\":[\"0000億\",4]}],[1000000000000,{\"other\":[\"0兆\",1]}],[10000000000000,{\"other\":[\"00兆\",2]}],[100000000000000,{\"other\":[\"000兆\",3]}]],\"short\":[[1000,{\"other\":[\"0\",1]}],[10000,{\"other\":[\"0万\",1]}],[100000,{\"other\":[\"00万\",2]}],[1000000,{\"other\":[\"000万\",3]}],[10000000,{\"other\":[\"0000万\",4]}],[100000000,{\"other\":[\"0億\",1]}],[1000000000,{\"other\":[\"00億\",2]}],[10000000000,{\"other\":[\"000億\",3]}],[100000000000,{\"other\":[\"0000億\",4]}],[1000000000000,{\"other\":[\"0兆\",1]}],[10000000000000,{\"other\":[\"00兆\",2]}],[100000000000000,{\"other\":[\"000兆\",3]}]]}}}];","/*jslint eqeq: true*/\nexport default [{\"locale\":\"pt-br\",\"parentLocale\":\"pt\"},{\"locale\":\"pt\",\"pluralRuleFunction\":function(n,ord){var s=String(n).split(\".\"),i=s[0];if(ord)return\"other\";return i==0||i==1?\"one\":\"other\"},\"fields\":{\"year\":{\"displayName\":\"ano\",\"relative\":{\"0\":\"este ano\",\"1\":\"próximo ano\",\"-1\":\"ano passado\"},\"relativeTime\":{\"future\":{\"one\":\"em {0} ano\",\"other\":\"em {0} anos\"},\"past\":{\"one\":\"há {0} ano\",\"other\":\"há {0} anos\"}}},\"year-short\":{\"displayName\":\"ano\",\"relative\":{\"0\":\"este ano\",\"1\":\"próximo ano\",\"-1\":\"ano passado\"},\"relativeTime\":{\"future\":{\"one\":\"em {0} ano\",\"other\":\"em {0} anos\"},\"past\":{\"one\":\"há {0} ano\",\"other\":\"há {0} anos\"}}},\"month\":{\"displayName\":\"mês\",\"relative\":{\"0\":\"este mês\",\"1\":\"próximo mês\",\"-1\":\"mês passado\"},\"relativeTime\":{\"future\":{\"one\":\"em {0} mês\",\"other\":\"em {0} meses\"},\"past\":{\"one\":\"há {0} mês\",\"other\":\"há {0} meses\"}}},\"month-short\":{\"displayName\":\"mês\",\"relative\":{\"0\":\"este mês\",\"1\":\"próximo mês\",\"-1\":\"mês passado\"},\"relativeTime\":{\"future\":{\"one\":\"em {0} mês\",\"other\":\"em {0} meses\"},\"past\":{\"one\":\"há {0} mês\",\"other\":\"há {0} meses\"}}},\"day\":{\"displayName\":\"dia\",\"relative\":{\"0\":\"hoje\",\"1\":\"amanhã\",\"2\":\"depois de amanhã\",\"-2\":\"anteontem\",\"-1\":\"ontem\"},\"relativeTime\":{\"future\":{\"one\":\"em {0} dia\",\"other\":\"em {0} dias\"},\"past\":{\"one\":\"há {0} dia\",\"other\":\"há {0} dias\"}}},\"day-short\":{\"displayName\":\"dia\",\"relative\":{\"0\":\"hoje\",\"1\":\"amanhã\",\"2\":\"depois de amanhã\",\"-2\":\"anteontem\",\"-1\":\"ontem\"},\"relativeTime\":{\"future\":{\"one\":\"em {0} dia\",\"other\":\"em {0} dias\"},\"past\":{\"one\":\"há {0} dia\",\"other\":\"há {0} dias\"}}},\"hour\":{\"displayName\":\"hora\",\"relative\":{\"0\":\"esta hora\"},\"relativeTime\":{\"future\":{\"one\":\"em {0} hora\",\"other\":\"em {0} horas\"},\"past\":{\"one\":\"há {0} hora\",\"other\":\"há {0} horas\"}}},\"hour-short\":{\"displayName\":\"h\",\"relative\":{\"0\":\"esta hora\"},\"relativeTime\":{\"future\":{\"one\":\"em {0} h\",\"other\":\"em {0} h\"},\"past\":{\"one\":\"há {0} h\",\"other\":\"há {0} h\"}}},\"minute\":{\"displayName\":\"minuto\",\"relative\":{\"0\":\"este minuto\"},\"relativeTime\":{\"future\":{\"one\":\"em {0} minuto\",\"other\":\"em {0} minutos\"},\"past\":{\"one\":\"há {0} minuto\",\"other\":\"há {0} minutos\"}}},\"minute-short\":{\"displayName\":\"min.\",\"relative\":{\"0\":\"este minuto\"},\"relativeTime\":{\"future\":{\"one\":\"em {0} min.\",\"other\":\"em {0} min.\"},\"past\":{\"one\":\"há {0} min.\",\"other\":\"há {0} min.\"}}},\"second\":{\"displayName\":\"segundo\",\"relative\":{\"0\":\"agora\"},\"relativeTime\":{\"future\":{\"one\":\"em {0} segundo\",\"other\":\"em {0} segundos\"},\"past\":{\"one\":\"há {0} segundo\",\"other\":\"há {0} segundos\"}}},\"second-short\":{\"displayName\":\"seg.\",\"relative\":{\"0\":\"agora\"},\"relativeTime\":{\"future\":{\"one\":\"em {0} seg.\",\"other\":\"em {0} seg.\"},\"past\":{\"one\":\"há {0} seg.\",\"other\":\"há {0} seg.\"}}}},\"numbers\":{\"decimal\":{\"long\":[[1000,{\"one\":[\"0 mil\",1],\"other\":[\"0 mil\",1]}],[10000,{\"one\":[\"00 mil\",2],\"other\":[\"00 mil\",2]}],[100000,{\"one\":[\"000 mil\",3],\"other\":[\"000 mil\",3]}],[1000000,{\"one\":[\"0 milhão\",1],\"other\":[\"0 milhões\",1]}],[10000000,{\"one\":[\"00 milhão\",2],\"other\":[\"00 milhões\",2]}],[100000000,{\"one\":[\"000 milhão\",3],\"other\":[\"000 milhões\",3]}],[1000000000,{\"one\":[\"0 bilhão\",1],\"other\":[\"0 bilhões\",1]}],[10000000000,{\"one\":[\"00 bilhão\",2],\"other\":[\"00 bilhões\",2]}],[100000000000,{\"one\":[\"000 bilhão\",3],\"other\":[\"000 bilhões\",3]}],[1000000000000,{\"one\":[\"0 trilhão\",1],\"other\":[\"0 trilhões\",1]}],[10000000000000,{\"one\":[\"00 trilhão\",2],\"other\":[\"00 trilhões\",2]}],[100000000000000,{\"one\":[\"000 trilhão\",3],\"other\":[\"000 trilhões\",3]}]],\"short\":[[1000,{\"one\":[\"0 mil\",1],\"other\":[\"0 mil\",1]}],[10000,{\"one\":[\"00 mil\",2],\"other\":[\"00 mil\",2]}],[100000,{\"one\":[\"000 mil\",3],\"other\":[\"000 mil\",3]}],[1000000,{\"one\":[\"0 mi\",1],\"other\":[\"0 mi\",1]}],[10000000,{\"one\":[\"00 mi\",2],\"other\":[\"00 mi\",2]}],[100000000,{\"one\":[\"000 mi\",3],\"other\":[\"000 mi\",3]}],[1000000000,{\"one\":[\"0 bi\",1],\"other\":[\"0 bi\",1]}],[10000000000,{\"one\":[\"00 bi\",2],\"other\":[\"00 bi\",2]}],[100000000000,{\"one\":[\"000 bi\",3],\"other\":[\"000 bi\",3]}],[1000000000000,{\"one\":[\"0 tri\",1],\"other\":[\"0 tri\",1]}],[10000000000000,{\"one\":[\"00 tri\",2],\"other\":[\"00 tri\",2]}],[100000000000000,{\"one\":[\"000 tri\",3],\"other\":[\"000 tri\",3]}]]}}}];","define(\"embercom/component-managers/glimmer\", [\"exports\", \"@glimmer/component/-private/ember-component-manager\"], function (_exports, _emberComponentManager) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _emberComponentManager.default;\n    }\n  });\n});\n","import Component from '@ember/component';\n\n// avoiding reexport directly here because in some circumstances (ember-engines\n// for example) a simple reexport is transformed to `define.alias`,\n// unfortunately at the moment (ember-source@3.13) there is no _actual_\n// `@ember/component` module to alias so this causes issues\n//\n// tldr; we can replace this with a simple reexport when we can rely on Ember\n// actually providing a `@ember/component` module\nexport default Component.extend();\n","import Component from '@ember/component';\n\n// avoiding reexport directly here because in some circumstances (ember-engines\n// for example) a simple reexport is transformed to `define.alias`,\n// unfortunately at the moment (ember-source@3.13) there is no _actual_\n// `@ember/component` module to alias so this causes issues\n//\n// tldr; we can replace this with a simple reexport when we can rely on Ember\n// actually providing a `@ember/component` module\nexport default Component.extend();\n","define(\"embercom/components/-lf-get-outlet-state\", [\"exports\", \"liquid-fire/components/-lf-get-outlet-state\"], function (_exports, _lfGetOutletState) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _lfGetOutletState.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if this.hasFile}}\\n  {{#if this.fileIsValid}}\\n    {{#if this.previewImageUrl}}\\n      <p>\\n        <img\\n          id=\\\"Preview\\\"\\n          src=\\\"{{this.previewImageUrl}}\\\"\\n          class=\\\"twk__account-settings__preview-avatar\\\"\\n         >\\n      </p>\\n    {{/if}}\\n    <p class=\\\"t__light-text\\\">\\n      {{this.file.name}}\\n    </p>\\n    <div class=\\\"h-2\\\"></div>\\n    <div class=\\\"u__cf\\\">\\n      <IcButton\\n        @label=\\\"Save photo\\\"\\n        @type=\\\"primary\\\"\\n        @onClick={{this.saveAdminAvatar}}\\n        @inLeftList={{true}}\\n       />\\n\\n      <IcButton\\n        @label=\\\"Cancel\\\"\\n        @type=\\\"secondary\\\"\\n        @onClick={{this.removeFile}}\\n        @inLeftList={{true}}\\n       />\\n    </div>\\n  {{else}}\\n    <IcBanner @type=\\\"error\\\" @text={{this.message}} />\\n  {{/if}}\\n{{else}}\\n  <div>\\n    {{ic-avatar model=@admin size=\\\"l\\\"}}\\n  </div>\\n{{/if}}\\n{{#unless this.hasFile}}\\n  <div class=\\\"h-2\\\"></div>\\n  <div class=\\\"u__cf\\\">\\n    <IcButton\\n      @label=\\\"Upload a new photo\\\"\\n      @type=\\\"primary\\\"\\n      @onClick={{this.showFilePicker}}\\n      @inLeftList={{true}}\\n     />\\n\\n    {{#if @admin.has_photo_avatar}}\\n      <IcButton\\n        @label=\\\"Remove photo\\\"\\n        @type=\\\"secondary\\\"\\n        @onClick={{this.removeAdminAvatar}}\\n        @inLeftList={{true}}\\n       />\\n    {{/if}}\\n  </div>\\n{{/unless}}\\n<input\\n  type=\\\"file\\\"\\n  accept=\\\"image/gif, image/jpeg, image/png\\\"\\n  class=\\\"u__hidden\\\"\\n >\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if this.hasFile}}\\n  {{#if this.fileIsValid}}\\n    {{#if this.previewImageUrl}}\\n      <p>\\n        <img\\n          id=\\\"Preview\\\"\\n          src=\\\"{{this.previewImageUrl}}\\\"\\n          class=\\\"twk__account-settings__preview-avatar\\\"\\n         >\\n      </p>\\n    {{/if}}\\n    <p class=\\\"t__light-text\\\">\\n      {{this.file.name}}\\n    </p>\\n    <div class=\\\"h-2\\\"></div>\\n    <div class=\\\"u__cf\\\">\\n      <IcButton\\n        @label=\\\"Save photo\\\"\\n        @type=\\\"primary\\\"\\n        @onClick={{this.saveAdminAvatar}}\\n        @inLeftList={{true}}\\n       />\\n\\n      <IcButton\\n        @label=\\\"Cancel\\\"\\n        @type=\\\"secondary\\\"\\n        @onClick={{this.removeFile}}\\n        @inLeftList={{true}}\\n       />\\n    </div>\\n  {{else}}\\n    <IcBanner @type=\\\"error\\\" @text={{this.message}} />\\n  {{/if}}\\n{{else}}\\n  <div>\\n    {{ic-avatar model=@admin size=\\\"l\\\"}}\\n  </div>\\n{{/if}}\\n{{#unless this.hasFile}}\\n  <div class=\\\"h-2\\\"></div>\\n  <div class=\\\"u__cf\\\">\\n    <IcButton\\n      @label=\\\"Upload a new photo\\\"\\n      @type=\\\"primary\\\"\\n      @onClick={{this.showFilePicker}}\\n      @inLeftList={{true}}\\n     />\\n\\n    {{#if @admin.has_photo_avatar}}\\n      <IcButton\\n        @label=\\\"Remove photo\\\"\\n        @type=\\\"secondary\\\"\\n        @onClick={{this.removeAdminAvatar}}\\n        @inLeftList={{true}}\\n       />\\n    {{/if}}\\n  </div>\\n{{/unless}}\\n<input\\n  type=\\\"file\\\"\\n  accept=\\\"image/gif, image/jpeg, image/png\\\"\\n  class=\\\"u__hidden\\\"\\n >\\n\",\"moduleName\":\"embercom/components/account/account-admin-avatar-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/account/account-admin-avatar-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { later } from '@ember/runloop';\nimport { action } from '@ember/object';\nimport $ from 'jquery';\nimport { gt, and } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport ImageUploadComponent from 'embercom/components/mixins/image-upload-component';\n\nexport default Component.extend(ImageUploadComponent, {\n  classNameBindings: [],\n  fileIsLargerThanOneMB: gt('file.size', 1000000),\n  fileIsTooLarge: and('fileIsLargerThanOneMB', 'hasFile'),\n\n  removeFile: action(function() {\n    this.set('file', null);\n    this.set('hasFile', false);\n    this.set('previewImageUrl', null);\n  }),\n\n  showFilePicker: action(function() {\n    $('input:file', this.element).click();\n  }),\n\n  saveAdminAvatar: action(function() {\n    this.set('isSaving', true);\n    let admin = this.admin;\n    let file = this.file;\n\n    admin.createAvatar(file).then(\n      () => {\n        later(() => {\n          this.setProperties({\n            isSaving: false,\n            hasSaved: true,\n          });\n\n          this.finishActiveCard();\n        }, 500);\n      },\n      () => {\n        this.set('hasErrored', true);\n      },\n    );\n  }),\n\n  removeAdminAvatar: action(function() {\n    this.admin.destroyAvatar();\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if @companiesActive}}\\n  <div\\n    data-test-segment-tabs\\n    class=\\\"message__list__tabs tabs__discrete-tab__container u__cf\\\"\\n  >\\n    <LinkTo\\n      @route=\\\"apps.app.account.visibility.user-segments\\\"\\n      class=\\\"tabs__discrete-tab\\\"\\n      @activeClass=\\\"o__selected\\\"\\n      @current-when=\\\"apps.app.account.visibility.user-segments\\\"\\n      data-test-segment-link=\\\"user-segments\\\"\\n    >\\n      People segments\\n    </LinkTo>\\n    <LinkTo\\n      @route=\\\"apps.app.account.visibility.company-segments\\\"\\n      class=\\\"tabs__discrete-tab\\\"\\n      @activeClass=\\\"o__selected\\\"\\n      @current-when=\\\"apps.app.account.visibility.company-segments\\\"\\n      data-test-segment-link=\\\"company-segments\\\"\\n    >\\n      Company segments\\n    </LinkTo>\\n  </div>\\n{{/if}}\\n<div\\n  class=\\\"layout__box o__flexes-to-1 o__scrolls u__padb__20 u__padl__30 u__padr__30\\\"\\n>\\n  {{#if @visibleSegments.length}}\\n    <div class=\\\"u__mt__20 u__mb__10\\\">\\n      <span class=\\\"t__h2\\\">\\n        Visible\\n      </span>\\n    </div>\\n    {{! template-lint-disable intercom/no-custom-table }}\\n    <IcLegacyTable\\n      @inline={{true}}\\n      @height={{if (lt @visibleSegments.length 100) \\\"auto\\\" 500}}\\n      @columns={{compute (action @columns) \\\"visible\\\"}}\\n      @rows={{@visibleSegments}}\\n      @tableActions={{hash hideSegment=(action @hideSegment)}}\\n      @tableIsVisible={{true}}\\n      data-test-visible-segments={{true}}\\n     />\\n\\n    {{! template-lint-enable intercom/no-custom-table }}\\n  {{/if}}\\n  {{#if @hiddenSegments.length}}\\n    <div class=\\\"u__mt__20 u__mb__10\\\">\\n      <span class=\\\"t__h2\\\">\\n        Hidden\\n      </span>\\n    </div>\\n    {{! template-lint-disable intercom/no-custom-table }}\\n    <IcLegacyTable\\n      @inline={{true}}\\n      @height={{if (lt @hiddenSegments.length 100) \\\"auto\\\" 500}}\\n      @columns={{compute (action @columns) \\\"hidden\\\"}}\\n      @rows={{@hiddenSegments}}\\n      @tableActions={{hash showSegment=(action @showSegment)}}\\n      @tableIsVisible={{true}}\\n      data-test-hidden-segments={{true}}\\n     />\\n\\n    {{! template-lint-enable intercom/no-custom-table }}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if @companiesActive}}\\n  <div\\n    data-test-segment-tabs\\n    class=\\\"message__list__tabs tabs__discrete-tab__container u__cf\\\"\\n  >\\n    <LinkTo\\n      @route=\\\"apps.app.account.visibility.user-segments\\\"\\n      class=\\\"tabs__discrete-tab\\\"\\n      @activeClass=\\\"o__selected\\\"\\n      @current-when=\\\"apps.app.account.visibility.user-segments\\\"\\n      data-test-segment-link=\\\"user-segments\\\"\\n    >\\n      People segments\\n    </LinkTo>\\n    <LinkTo\\n      @route=\\\"apps.app.account.visibility.company-segments\\\"\\n      class=\\\"tabs__discrete-tab\\\"\\n      @activeClass=\\\"o__selected\\\"\\n      @current-when=\\\"apps.app.account.visibility.company-segments\\\"\\n      data-test-segment-link=\\\"company-segments\\\"\\n    >\\n      Company segments\\n    </LinkTo>\\n  </div>\\n{{/if}}\\n<div\\n  class=\\\"layout__box o__flexes-to-1 o__scrolls u__padb__20 u__padl__30 u__padr__30\\\"\\n>\\n  {{#if @visibleSegments.length}}\\n    <div class=\\\"u__mt__20 u__mb__10\\\">\\n      <span class=\\\"t__h2\\\">\\n        Visible\\n      </span>\\n    </div>\\n    {{! template-lint-disable intercom/no-custom-table }}\\n    <IcLegacyTable\\n      @inline={{true}}\\n      @height={{if (lt @visibleSegments.length 100) \\\"auto\\\" 500}}\\n      @columns={{compute (action @columns) \\\"visible\\\"}}\\n      @rows={{@visibleSegments}}\\n      @tableActions={{hash hideSegment=(action @hideSegment)}}\\n      @tableIsVisible={{true}}\\n      data-test-visible-segments={{true}}\\n     />\\n\\n    {{! template-lint-enable intercom/no-custom-table }}\\n  {{/if}}\\n  {{#if @hiddenSegments.length}}\\n    <div class=\\\"u__mt__20 u__mb__10\\\">\\n      <span class=\\\"t__h2\\\">\\n        Hidden\\n      </span>\\n    </div>\\n    {{! template-lint-disable intercom/no-custom-table }}\\n    <IcLegacyTable\\n      @inline={{true}}\\n      @height={{if (lt @hiddenSegments.length 100) \\\"auto\\\" 500}}\\n      @columns={{compute (action @columns) \\\"hidden\\\"}}\\n      @rows={{@hiddenSegments}}\\n      @tableActions={{hash showSegment=(action @showSegment)}}\\n      @tableIsVisible={{true}}\\n      data-test-hidden-segments={{true}}\\n     />\\n\\n    {{! template-lint-enable intercom/no-custom-table }}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/account/content-components/visibility/segments.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/account/content-components/visibility/segments.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"widget-inbox-wallpaper__inner-container\\\">\\n  <div class=\\\"u__relative\\\">\\n    <div class=\\\"widget-inbox-wallpaper__header-overlay\\\"></div>\\n    <Inbox::CardHeaderComponent\\n      @conversation={{conversation}}\\n      @isInbox={{false}}\\n     />\\n\\n  </div>\\n  <Conversation::StreamAndControls\\n    @tagName=\\\"\\\"\\n    @actionReceiver={{streamAndControls}}\\n    @conversation={{conversation}}\\n    @background={{background}}\\n    @readOnly={{true}}\\n    @isInbox={{false}}\\n   />\\n\\n  <div class=\\\"widget-inbox-wallpaper__composer-overlay\\\"></div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"widget-inbox-wallpaper__inner-container\\\">\\n  <div class=\\\"u__relative\\\">\\n    <div class=\\\"widget-inbox-wallpaper__header-overlay\\\"></div>\\n    <Inbox::CardHeaderComponent\\n      @conversation={{conversation}}\\n      @isInbox={{false}}\\n     />\\n\\n  </div>\\n  <Conversation::StreamAndControls\\n    @tagName=\\\"\\\"\\n    @actionReceiver={{streamAndControls}}\\n    @conversation={{conversation}}\\n    @background={{background}}\\n    @readOnly={{true}}\\n    @isInbox={{false}}\\n   />\\n\\n  <div class=\\\"widget-inbox-wallpaper__composer-overlay\\\"></div>\\n</div>\\n\",\"moduleName\":\"embercom/components/account/inbox-wallpaper/inbox-preview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/account/inbox-wallpaper/inbox-preview.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  store: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  avatarUrl: readOnly('app.currentAdmin.avatarUrl'),\n\n  init() {\n    this._super(...arguments);\n\n    let participant = this.store.createRecord('participant', {\n      id: '0',\n      avatar: {\n        initials: 'SC',\n        color: 'f26c73',\n        image_urls: {\n          normal: '/assets/images/user-avatar.png',\n        },\n      },\n      isActive: true,\n      user_id: 1,\n      isUserRole: true,\n      role: 'user_role',\n      firstName: 'Stefanie',\n      display_as: 'Stefanie Crisman',\n    });\n\n    let parts = [\n      this.createUserCommentPart('1', participant, [\n        { type: 'paragraph', text: 'Hey, is it possible to export a daily usage report?' },\n      ]),\n      this.createAdminCommentPart('2', [\n        {\n          type: 'paragraph',\n          text:\n            'Hey Stefanie! Yep, you can do that with the Export button on the top of your dashboard.',\n        },\n      ]),\n      this.createAdminNotePart('3', [\n        { type: 'paragraph', text: 'Follow up with customer if no reply' },\n      ]),\n    ];\n\n    let conversation = this.createPreviewConversation(participant, parts);\n\n    this.set('conversation', conversation);\n  },\n\n  createUserCommentPart(id, participant, blocks) {\n    let partOptions = {\n      id: `user-message-123-${id}`,\n      participant_id: participant.id,\n      created_at: new Date().toJSON(),\n      type: 'message',\n      channel_type: 'Email',\n      blocks,\n    };\n\n    let part = this._pushAndPeekPart(partOptions);\n    part.set('shouldDisableAvatarLinkAndTooltip', true);\n    return part;\n  },\n\n  createAdminCommentPart(id, blocks) {\n    let admin = this.get('app.currentAdmin');\n    let partOptions = {\n      id: `comment-123-${id}`,\n      admin_id: admin.id,\n      assignee_id: admin.id,\n      created_at: new Date().toJSON(),\n      type: 'comment',\n      sub_type: 'assignment',\n      blocks,\n    };\n\n    let part = this._pushAndPeekPart(partOptions);\n\n    part.setProperties({\n      isUserPart: false,\n      shouldDisableAvatarLinkAndTooltip: true,\n    });\n\n    return part;\n  },\n\n  createAdminNotePart(id, blocks) {\n    let admin = this.get('app.currentAdmin');\n    let partOptions = {\n      id: `comment-123-${id}`,\n      admin_id: admin.id,\n      created_at: new Date().toJSON(),\n      type: 'comment',\n      sub_type: 'note',\n      admin_only: true,\n      blocks,\n    };\n\n    let part = this._pushAndPeekPart(partOptions);\n    part.set('shouldDisableAvatarLinkAndTooltip', true);\n    return part;\n  },\n\n  createPreviewConversation(participant, parts) {\n    let app = this.app;\n\n    let conversation = this.store.createRecord('conversation', {\n      id: '123',\n      app_id: app.get('id'),\n      assignee_id: '',\n      app,\n      lastActionPart: parts[2],\n      participants: [participant],\n      isOneToOneConversation: true,\n      disableSeenStateUpdates: true,\n      disableFetchParts: true,\n      isClosed: false,\n      isNotClosed: true,\n    });\n    conversation.addParts(parts);\n    conversation.set('hasFetchedParts', true);\n\n    return conversation;\n  },\n\n  _pushAndPeekPart(data) {\n    this.store.pushPayload({\n      'conversation-part': data,\n    });\n\n    return this.store.peekRecord('conversation-part', data.id);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<SubmenuComponent @title=\\\"Your account\\\" as |submenu|>\\n  <submenu.header />\\n  <submenu.sections as |sections|>\\n    <sections.section @isOpen={{isOnYourAccountRoute}} as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.account.general\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Your details\\n        </LinkTo>\\n      </section.title>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnNotificationsRoute}} as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.account.notifications\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Notifications\\n        </LinkTo>\\n      </section.title>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnVisibilityRoute}} as |section|>\\n      <section.title\\n        @title=\\\"Visibility\\\"\\n        @url={{href-to \\\"apps.app.account.visibility.user-segments\\\"}}\\n      />\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.account.visibility.user-segments\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          @current-when=\\\"apps.app.account.visibility.user-segments apps.app.account.visibility.company-segments\\\"\\n        >\\n          Segments\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.account.visibility.tags\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          {{#if app.canUseContentOrientedNavigation}}\\n            Tags\\n          {{else}}\\n            People and company tags\\n          {{/if}}\\n        </LinkTo>\\n        {{#if app.currentAdminHasInboxAccess}}\\n          <LinkTo\\n            @route=\\\"apps.app.account.visibility.inboxes\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Inboxes\\n          </LinkTo>\\n        {{/if}}\\n      </section.items>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnAuthenticationRoute}} as |section|>\\n      <section.title\\n        @title=\\\"Authentication\\\"\\n        @url={{href-to \\\"apps.app.account.oauth-tokens\\\"}}\\n      />\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.account.oauth-tokens\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          OAuth tokens\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnAccountAccessRoute}} as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.account.account_access\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Account access\\n        </LinkTo>\\n      </section.title>\\n    </sections.section>\\n  </submenu.sections>\\n</SubmenuComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<SubmenuComponent @title=\\\"Your account\\\" as |submenu|>\\n  <submenu.header />\\n  <submenu.sections as |sections|>\\n    <sections.section @isOpen={{isOnYourAccountRoute}} as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.account.general\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Your details\\n        </LinkTo>\\n      </section.title>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnNotificationsRoute}} as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.account.notifications\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Notifications\\n        </LinkTo>\\n      </section.title>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnVisibilityRoute}} as |section|>\\n      <section.title\\n        @title=\\\"Visibility\\\"\\n        @url={{href-to \\\"apps.app.account.visibility.user-segments\\\"}}\\n      />\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.account.visibility.user-segments\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          @current-when=\\\"apps.app.account.visibility.user-segments apps.app.account.visibility.company-segments\\\"\\n        >\\n          Segments\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.account.visibility.tags\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          {{#if app.canUseContentOrientedNavigation}}\\n            Tags\\n          {{else}}\\n            People and company tags\\n          {{/if}}\\n        </LinkTo>\\n        {{#if app.currentAdminHasInboxAccess}}\\n          <LinkTo\\n            @route=\\\"apps.app.account.visibility.inboxes\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Inboxes\\n          </LinkTo>\\n        {{/if}}\\n      </section.items>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnAuthenticationRoute}} as |section|>\\n      <section.title\\n        @title=\\\"Authentication\\\"\\n        @url={{href-to \\\"apps.app.account.oauth-tokens\\\"}}\\n      />\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.account.oauth-tokens\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          OAuth tokens\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnAccountAccessRoute}} as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.account.account_access\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Account access\\n        </LinkTo>\\n      </section.title>\\n    </sections.section>\\n  </submenu.sections>\\n</SubmenuComponent>\\n\",\"moduleName\":\"embercom/components/account/your-settings-submenu.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/account/your-settings-submenu.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { match, readOnly } from '@ember/object/computed';\nimport BaseSettingsSubmenu from 'embercom/components/base-settings-submenu';\nimport RouteRegexes from 'embercom/lib/route-regexes';\n\nexport default BaseSettingsSubmenu.extend({\n  admin: readOnly('app.currentAdmin'),\n  isOnYourAccountRoute: match('internalCurrentRouteName', RouteRegexes.accountSettings.yourAccount),\n  isOnNotificationsRoute: match(\n    'internalCurrentRouteName',\n    RouteRegexes.accountSettings.notifications,\n  ),\n  isOnInboxSettingsRoute: match(\n    'internalCurrentRouteName',\n    RouteRegexes.accountSettings.inboxSettings,\n  ),\n  isOnVisibilityRoute: match('internalCurrentRouteName', RouteRegexes.accountSettings.visibility),\n  isOnAuthenticationRoute: match(\n    'internalCurrentRouteName',\n    RouteRegexes.accountSettings.authentication,\n  ),\n  isOnAccountAccessRoute: match(\n    'internalCurrentRouteName',\n    RouteRegexes.accountSettings.accountAccess,\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcLightTable\\n  @data={{@accounts}}\\n  @isLoading={{this.renderTableLoadingState}}\\n  @columns={{array\\n    (hash label=\\\"Name\\\" valuePath=\\\"name\\\" isSortable=true width=\\\"40%\\\")\\n    (hash label=\\\"Domain\\\" valuePath=\\\"domain\\\" isSortable=true)\\n    (hash\\n      label=\\\"Owner\\\"\\n      valuePath=\\\"owner.nameOrEmail\\\"\\n      isSortable=true\\n      type=\\\"avatar-with-text\\\"\\n    )\\n    (hash label=\\\"Last seen\\\" valuePath=\\\"lastSeenAt\\\" isSortable=true)\\n    (hash label=\\\"Source\\\" valuePath=\\\"source\\\" isSortable=true)\\n  }} as |table|\\n>\\n  <table.rows as |row|>\\n    {{#let row.data as |account|}}\\n      {{#if (has-feature \\\"canUseManualAccountCreation\\\")}}\\n        <row.actionCell\\n          @valuePath=\\\"name\\\"\\n          @rowActions={{array\\n            (hash\\n              label=\\\"Delete\\\"\\n              secondaryType=\\\"destructive\\\"\\n              onClick=(fn @deleteAccountConfirmation account)\\n              disabled=(not (eq account.source \\\"intercom\\\"))\\n              data-test-account-row-delete-button=true\\n            )\\n          }}\\n        >\\n          <span class=\\\"accounts__table__truncated-cell u__one-truncated-line\\\">\\n            {{account.name}}\\n          </span>\\n        </row.actionCell>\\n      {{else}}\\n        <row.cell @valuePath=\\\"name\\\">\\n          <span class=\\\"accounts__table__truncated-cell u__one-truncated-line\\\">\\n            {{account.name}}\\n          </span>\\n        </row.cell>\\n      {{/if}}\\n      <row.cell @valuePath=\\\"domain\\\">\\n        <span class=\\\"accounts__table__truncated-cell u__one-truncated-line\\\">\\n          <a\\n            title=\\\"{{account.domain}}\\\"\\n            target=\\\"_blank\\\"\\n            rel=\\\"noopener noreferrer\\\"\\n            href=\\\"http://{{account.domain}}\\\"\\n          >\\n            {{account.domain}}\\n          </a>\\n        </span>\\n      </row.cell>\\n      <row.cell @valuePath=\\\"owner.nameOrEmail\\\">\\n        <div class=\\\"avatar__container o__s whitespace-no-wrap\\\">\\n          {{ic-avatar model=account.owner size=\\\"s\\\" contained=true}}\\n          {{account.owner.nameOrEmail}}\\n        </div>\\n      </row.cell>\\n      <row.cell @valuePath=\\\"lastSeenAt\\\">\\n        {{#if account.lastSeenAt}}\\n          <span class=\\\"whitespace-no-wrap {{if (eq account.relativeLastSeenAt 'Just now') 'text-green-dark'}}\\\">\\n            {{account.relativeLastSeenAt}}\\n          </span>\\n        {{else}}\\n          Never\\n        {{/if}}\\n      </row.cell>\\n      <row.cell @valuePath=\\\"source\\\">\\n        <span class=\\\"accounts__table__truncated-cell u__one-truncated-line\\\">\\n          {{ic-interface-icon account.source}}\\n          {{capitalize account.source}}\\n        </span>\\n      </row.cell>\\n    {{/let}}\\n  </table.rows>\\n</IcLightTable>\\n\", {\"contents\":\"<IcLightTable\\n  @data={{@accounts}}\\n  @isLoading={{this.renderTableLoadingState}}\\n  @columns={{array\\n    (hash label=\\\"Name\\\" valuePath=\\\"name\\\" isSortable=true width=\\\"40%\\\")\\n    (hash label=\\\"Domain\\\" valuePath=\\\"domain\\\" isSortable=true)\\n    (hash\\n      label=\\\"Owner\\\"\\n      valuePath=\\\"owner.nameOrEmail\\\"\\n      isSortable=true\\n      type=\\\"avatar-with-text\\\"\\n    )\\n    (hash label=\\\"Last seen\\\" valuePath=\\\"lastSeenAt\\\" isSortable=true)\\n    (hash label=\\\"Source\\\" valuePath=\\\"source\\\" isSortable=true)\\n  }} as |table|\\n>\\n  <table.rows as |row|>\\n    {{#let row.data as |account|}}\\n      {{#if (has-feature \\\"canUseManualAccountCreation\\\")}}\\n        <row.actionCell\\n          @valuePath=\\\"name\\\"\\n          @rowActions={{array\\n            (hash\\n              label=\\\"Delete\\\"\\n              secondaryType=\\\"destructive\\\"\\n              onClick=(fn @deleteAccountConfirmation account)\\n              disabled=(not (eq account.source \\\"intercom\\\"))\\n              data-test-account-row-delete-button=true\\n            )\\n          }}\\n        >\\n          <span class=\\\"accounts__table__truncated-cell u__one-truncated-line\\\">\\n            {{account.name}}\\n          </span>\\n        </row.actionCell>\\n      {{else}}\\n        <row.cell @valuePath=\\\"name\\\">\\n          <span class=\\\"accounts__table__truncated-cell u__one-truncated-line\\\">\\n            {{account.name}}\\n          </span>\\n        </row.cell>\\n      {{/if}}\\n      <row.cell @valuePath=\\\"domain\\\">\\n        <span class=\\\"accounts__table__truncated-cell u__one-truncated-line\\\">\\n          <a\\n            title=\\\"{{account.domain}}\\\"\\n            target=\\\"_blank\\\"\\n            rel=\\\"noopener noreferrer\\\"\\n            href=\\\"http://{{account.domain}}\\\"\\n          >\\n            {{account.domain}}\\n          </a>\\n        </span>\\n      </row.cell>\\n      <row.cell @valuePath=\\\"owner.nameOrEmail\\\">\\n        <div class=\\\"avatar__container o__s whitespace-no-wrap\\\">\\n          {{ic-avatar model=account.owner size=\\\"s\\\" contained=true}}\\n          {{account.owner.nameOrEmail}}\\n        </div>\\n      </row.cell>\\n      <row.cell @valuePath=\\\"lastSeenAt\\\">\\n        {{#if account.lastSeenAt}}\\n          <span class=\\\"whitespace-no-wrap {{if (eq account.relativeLastSeenAt 'Just now') 'text-green-dark'}}\\\">\\n            {{account.relativeLastSeenAt}}\\n          </span>\\n        {{else}}\\n          Never\\n        {{/if}}\\n      </row.cell>\\n      <row.cell @valuePath=\\\"source\\\">\\n        <span class=\\\"accounts__table__truncated-cell u__one-truncated-line\\\">\\n          {{ic-interface-icon account.source}}\\n          {{capitalize account.source}}\\n        </span>\\n      </row.cell>\\n    {{/let}}\\n  </table.rows>\\n</IcLightTable>\\n\",\"moduleName\":\"embercom/components/accounts/accounts-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/accounts/accounts-table.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { next } from '@ember/runloop';\n\nexport default Component.extend({\n  // allow the table to render in a loading state for the first paint of the\n  // page, then disable the loading state during the next runloop to render\n  // the table contents\n  renderTableLoadingState: true,\n  didRender() {\n    this._super(...arguments);\n    next(this, () => {\n      if (this.isDestroying) {\n        return;\n      }\n      this.set('renderTableLoadingState', false);\n    });\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-center justify-center h-full m-8\\\">\\n  <div class=\\\"flex flex-row items-center justify-between gap-6 getting-started__container\\\">\\n    <div class=\\\"flex flex-col gap-8 getting-started__content\\\">\\n      <IcContent>\\n        <h1 class=\\\"t__h1\\\">\\n          Convert high value accounts into customers with ABM\\n        </h1>\\n        <p>\\n          When high value accounts visit your website, greet them with a personalized message and connect them with sales in real-time.\\n        </p>\\n      </IcContent>\\n      <IcContent>\\n        <h2 class=\\\"t__h2\\\" data-test-getting-started-apps>\\n          Get started with ABM\\n        </h2>\\n        <div class=\\\"flex flex-row gap-2\\\">\\n          <span class=\\\"illustrative-icon o__small\\\">\\n            {{inline-svg \\\"interface-icons/standard/salesforce\\\"}}\\n          </span>\\n          <a\\n            class=\\\"t__h4 t__solo-link\\\"\\n            href=\\\"{{href-to \\\"apps.app.appstore\\\" (query-params app_package_code=\\\"salesforce-by-intercom\\\")}}\\\"\\n            data-test-appstore-salesforce\\n          >\\n            Pull Account lists from Salesforce →\\n          </a>\\n        </div>\\n        <div class=\\\"flex flex-row gap-2\\\">\\n          <span class=\\\"illustrative-icon o__small\\\">\\n            {{inline-svg \\\"interface-icons/standard/clearbit\\\"}}\\n          </span>\\n          <a\\n            class=\\\"t__h4 t__solo-link\\\"\\n            href=\\\"{{href-to \\\"apps.app.appstore\\\" (query-params app_package_code=\\\"clearbit\\\")}}\\\"\\n            data-test-appstore-clearbit\\n          >\\n            Match visitors to Accounts with Clearbit Reveal →\\n          </a>\\n        </div>\\n      </IcContent>\\n    </div>\\n    <img\\n      src=\\\"/assets/images/accounts/abm-getting-started.png\\\"\\n      srcset=\\\"/assets/images/accounts/abm-getting-started@2x.png 2x,\\n      /assets/images/accounts/abm-getting-started@3x.png 3x\\\"\\n    />\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row items-center justify-center h-full m-8\\\">\\n  <div class=\\\"flex flex-row items-center justify-between gap-6 getting-started__container\\\">\\n    <div class=\\\"flex flex-col gap-8 getting-started__content\\\">\\n      <IcContent>\\n        <h1 class=\\\"t__h1\\\">\\n          Convert high value accounts into customers with ABM\\n        </h1>\\n        <p>\\n          When high value accounts visit your website, greet them with a personalized message and connect them with sales in real-time.\\n        </p>\\n      </IcContent>\\n      <IcContent>\\n        <h2 class=\\\"t__h2\\\" data-test-getting-started-apps>\\n          Get started with ABM\\n        </h2>\\n        <div class=\\\"flex flex-row gap-2\\\">\\n          <span class=\\\"illustrative-icon o__small\\\">\\n            {{inline-svg \\\"interface-icons/standard/salesforce\\\"}}\\n          </span>\\n          <a\\n            class=\\\"t__h4 t__solo-link\\\"\\n            href=\\\"{{href-to \\\"apps.app.appstore\\\" (query-params app_package_code=\\\"salesforce-by-intercom\\\")}}\\\"\\n            data-test-appstore-salesforce\\n          >\\n            Pull Account lists from Salesforce →\\n          </a>\\n        </div>\\n        <div class=\\\"flex flex-row gap-2\\\">\\n          <span class=\\\"illustrative-icon o__small\\\">\\n            {{inline-svg \\\"interface-icons/standard/clearbit\\\"}}\\n          </span>\\n          <a\\n            class=\\\"t__h4 t__solo-link\\\"\\n            href=\\\"{{href-to \\\"apps.app.appstore\\\" (query-params app_package_code=\\\"clearbit\\\")}}\\\"\\n            data-test-appstore-clearbit\\n          >\\n            Match visitors to Accounts with Clearbit Reveal →\\n          </a>\\n        </div>\\n      </IcContent>\\n    </div>\\n    <img\\n      src=\\\"/assets/images/accounts/abm-getting-started.png\\\"\\n      srcset=\\\"/assets/images/accounts/abm-getting-started@2x.png 2x,\\n      /assets/images/accounts/abm-getting-started@3x.png 3x\\\"\\n    />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/accounts/getting-started.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/accounts/getting-started.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{! template-lint-disable intercom/no-legacy-modal}}\\n<Common::ModalComponent @closeModal={{@closeModal}} as |modal|>\\n  <modal.components.header\\n    @title=\\\"Delete this account?\\\"\\n    data-test-new-account-modal-header\\n  />\\n  <modal.components.body>\\n    <p>\\n      This action is permanent and can’t be undone. Messages and bots targeted to this account will no longer be sent.\\n    </p>\\n  </modal.components.body>\\n  <modal.components.footer as |footer|>\\n    <footer.mainButtons as |list|>\\n      <list.button\\n        @label=\\\"Cancel\\\"\\n        @onClick={{@closeModal}}\\n        data-test-cancel-delete-account-button={{true}}\\n      />\\n      <list.button\\n        @type=\\\"primary-destructive\\\"\\n        @label=\\\"Delete\\\"\\n        @onClick={{@deleteAccount}}\\n        data-test-confirm-delete-account-button={{true}}\\n      />\\n    </footer.mainButtons>\\n  </modal.components.footer>\\n</Common::ModalComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{! template-lint-disable intercom/no-legacy-modal}}\\n<Common::ModalComponent @closeModal={{@closeModal}} as |modal|>\\n  <modal.components.header\\n    @title=\\\"Delete this account?\\\"\\n    data-test-new-account-modal-header\\n  />\\n  <modal.components.body>\\n    <p>\\n      This action is permanent and can’t be undone. Messages and bots targeted to this account will no longer be sent.\\n    </p>\\n  </modal.components.body>\\n  <modal.components.footer as |footer|>\\n    <footer.mainButtons as |list|>\\n      <list.button\\n        @label=\\\"Cancel\\\"\\n        @onClick={{@closeModal}}\\n        data-test-cancel-delete-account-button={{true}}\\n      />\\n      <list.button\\n        @type=\\\"primary-destructive\\\"\\n        @label=\\\"Delete\\\"\\n        @onClick={{@deleteAccount}}\\n        data-test-confirm-delete-account-button={{true}}\\n      />\\n    </footer.mainButtons>\\n  </modal.components.footer>\\n</Common::ModalComponent>\\n\",\"moduleName\":\"embercom/components/accounts/modals/delete-account-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/accounts/modals/delete-account-modal.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{! template-lint-disable intercom/no-legacy-modal}}\\n<Common::ModalComponent @closeModal={{@closeModal}} as |modal|>\\n  <modal.components.header\\n    @title=\\\"Create new account\\\"\\n    data-test-new-account-modal-header\\n  />\\n  <modal.components.body>\\n    {{#if errors}}\\n      <div data-test-errors=\\\"true\\\">\\n        {{#each errors as |error|}}\\n          <IcBanner @type=\\\"error\\\" @text={{error.message}} />\\n          <div class=\\\"h-2\\\"></div>\\n        {{/each}}\\n      </div>\\n    {{/if}}\\n    <div class=\\\"f__group\\\">\\n      <h3 class=\\\"t__label f__group-label\\\">\\n        Name\\n      </h3>\\n      <AutoFocusComponent>\\n        <Input\\n          @value={{model.name}}\\n          placeholder=\\\"Example account\\\"\\n          class=\\\"f__text o__fit\\\"\\n          data-test-name-input={{true}}\\n        />\\n      </AutoFocusComponent>\\n    </div>\\n    <div class=\\\"f__group\\\">\\n      <h3 class=\\\"t__label f__group-label\\\">\\n        Domain\\n      </h3>\\n      <Input\\n        @value={{model.domain}}\\n        placeholder=\\\"example.com\\\"\\n        class=\\\"f__text o__fit\\\"\\n        data-test-domain-input={{true}}\\n      />\\n    </div>\\n    <div class=\\\"f__group\\\">\\n      <h3 class=\\\"t__label f__group-label\\\">\\n        Account owner\\n      </h3>\\n      <Admin::NewSelector\\n        @assignees={{app.assignableAdminsWithoutUnassigned}}\\n        @selectedValue={{model.ownerId}}\\n        @onSelectItem={{this.changeOwner}}\\n        @teammatesHeading=\\\"Select account owner\\\"\\n        data-test-owner-selector={{true}}\\n        @showAwayAndReassigningStatus={{false}}\\n      />\\n    </div>\\n  </modal.components.body>\\n  <modal.components.footer as |footer|>\\n    <footer.mainButtons as |list|>\\n      <list.button\\n        @label=\\\"Cancel\\\"\\n        @onClick={{@closeModal}}\\n        data-test-cancel-account-button={{true}}\\n      />\\n      <list.button\\n        @type=\\\"primary\\\"\\n        @label={{if model.isSaving \\\"Creating\\\" \\\"Create account\\\"}}\\n        @disabled={{or model.isSaving (not model.name) (not model.domain)}}\\n        @onClick={{this.createAccount}}\\n        data-test-create-account-button={{true}}\\n      />\\n    </footer.mainButtons>\\n  </modal.components.footer>\\n</Common::ModalComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{! template-lint-disable intercom/no-legacy-modal}}\\n<Common::ModalComponent @closeModal={{@closeModal}} as |modal|>\\n  <modal.components.header\\n    @title=\\\"Create new account\\\"\\n    data-test-new-account-modal-header\\n  />\\n  <modal.components.body>\\n    {{#if errors}}\\n      <div data-test-errors=\\\"true\\\">\\n        {{#each errors as |error|}}\\n          <IcBanner @type=\\\"error\\\" @text={{error.message}} />\\n          <div class=\\\"h-2\\\"></div>\\n        {{/each}}\\n      </div>\\n    {{/if}}\\n    <div class=\\\"f__group\\\">\\n      <h3 class=\\\"t__label f__group-label\\\">\\n        Name\\n      </h3>\\n      <AutoFocusComponent>\\n        <Input\\n          @value={{model.name}}\\n          placeholder=\\\"Example account\\\"\\n          class=\\\"f__text o__fit\\\"\\n          data-test-name-input={{true}}\\n        />\\n      </AutoFocusComponent>\\n    </div>\\n    <div class=\\\"f__group\\\">\\n      <h3 class=\\\"t__label f__group-label\\\">\\n        Domain\\n      </h3>\\n      <Input\\n        @value={{model.domain}}\\n        placeholder=\\\"example.com\\\"\\n        class=\\\"f__text o__fit\\\"\\n        data-test-domain-input={{true}}\\n      />\\n    </div>\\n    <div class=\\\"f__group\\\">\\n      <h3 class=\\\"t__label f__group-label\\\">\\n        Account owner\\n      </h3>\\n      <Admin::NewSelector\\n        @assignees={{app.assignableAdminsWithoutUnassigned}}\\n        @selectedValue={{model.ownerId}}\\n        @onSelectItem={{this.changeOwner}}\\n        @teammatesHeading=\\\"Select account owner\\\"\\n        data-test-owner-selector={{true}}\\n        @showAwayAndReassigningStatus={{false}}\\n      />\\n    </div>\\n  </modal.components.body>\\n  <modal.components.footer as |footer|>\\n    <footer.mainButtons as |list|>\\n      <list.button\\n        @label=\\\"Cancel\\\"\\n        @onClick={{@closeModal}}\\n        data-test-cancel-account-button={{true}}\\n      />\\n      <list.button\\n        @type=\\\"primary\\\"\\n        @label={{if model.isSaving \\\"Creating\\\" \\\"Create account\\\"}}\\n        @disabled={{or model.isSaving (not model.name) (not model.domain)}}\\n        @onClick={{this.createAccount}}\\n        data-test-create-account-button={{true}}\\n      />\\n    </footer.mainButtons>\\n  </modal.components.footer>\\n</Common::ModalComponent>\\n\",\"moduleName\":\"embercom/components/accounts/modals/new-account-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/accounts/modals/new-account-modal.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { applyFunction } from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport EmberObject, { action } from '@ember/object';\nimport isValidUrl from 'embercom/lib/url-validator';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  store: service(),\n  validAccountDomain: applyFunction(isValidUrl, 'model.domain'),\n  errors: [],\n\n  init() {\n    this._super(...arguments);\n    this.set(\n      'model',\n      EmberObject.create({\n        ownerId: this.get('app.currentAdmin.id'),\n      }),\n    );\n  },\n\n  _trackCreate() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'created',\n      object: 'account',\n    });\n  },\n\n  createAccount: action(async function() {\n    this.set('errors', []);\n    let account;\n\n    try {\n      if (!this.validAccountDomain) {\n        this.set('errors', [{ message: `${this.model.domain} is not a valid domain.` }]);\n        return;\n      }\n\n      account = this.store.createRecord('account', this.model);\n      await account.save();\n      this._trackCreate();\n      await this.closeModal();\n    } catch (e) {\n      if (e.jqXHR && e.jqXHR.responseJSON) {\n        this.set('errors', e.jqXHR.responseJSON.errors);\n      } else {\n        this.set('errors', [{ message: 'Something went wrong. Please try again.' }]);\n      }\n      account.unloadRecord();\n    }\n  }),\n\n  changeOwner: action(function(ownerId) {\n    let account = this.model;\n    account.set('ownerId', ownerId);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showDropdown}}\\n  <FilterBlock::FilterBlockPopoverHousing @showDoneButton={{showDoneButton}}>\\n    <h4 class=\\\"ds-new__attribute__option__label flex-auto min-w-0 u__mb__2\\\">\\n      contains\\n    </h4>\\n    <input\\n      class=\\\"f__text\\\"\\n      type=\\\"text\\\"\\n      placeholder=\\\"/pricing\\\"\\n      value={{componentAttrs.accountSpecificNotificationUrl}}\\n      oninput={{action\\n        componentAttrs.updateSpecificPageNotificationUrl\\n        value=\\\"target.value\\\"\\n      }}\\n      data-test-specific-page-url-editor-input\\n    />\\n  </FilterBlock::FilterBlockPopoverHousing>\\n  <div class=\\\"u__centered-text-block layout__box filter-block__popover__done\\\">\\n    <a\\n      class=\\\"btn__tertiary\\\"\\n      data-test-specific-url-editor-done-button\\n      {{action (mut showDropdown)}}\\n    >\\n      Done\\n    </a>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showDropdown}}\\n  <FilterBlock::FilterBlockPopoverHousing @showDoneButton={{showDoneButton}}>\\n    <h4 class=\\\"ds-new__attribute__option__label flex-auto min-w-0 u__mb__2\\\">\\n      contains\\n    </h4>\\n    <input\\n      class=\\\"f__text\\\"\\n      type=\\\"text\\\"\\n      placeholder=\\\"/pricing\\\"\\n      value={{componentAttrs.accountSpecificNotificationUrl}}\\n      oninput={{action\\n        componentAttrs.updateSpecificPageNotificationUrl\\n        value=\\\"target.value\\\"\\n      }}\\n      data-test-specific-page-url-editor-input\\n    />\\n  </FilterBlock::FilterBlockPopoverHousing>\\n  <div class=\\\"u__centered-text-block layout__box filter-block__popover__done\\\">\\n    <a\\n      class=\\\"btn__tertiary\\\"\\n      data-test-specific-url-editor-done-button\\n      {{action (mut showDropdown)}}\\n    >\\n      Done\\n    </a>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/accounts/specific-page-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/accounts/specific-page-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  showDoneButton: true,\n  showDropdown: true,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-dropdown --}}\\n<DropdownComponent @title=\\\"More\\\" data-test-action-dropdown={{true}}>\\n  {{!-- template-lint-enable intercom/no-legacy-dropdown --}}\\n  {{#each dropdownOptions as |option|}}\\n    <IcTooltip\\n      @isDisabled={{not option.isTooltipEnabled}}\\n      @placement=\\\"left\\\"\\n      data-test-action-dropdown-tooltip-opener\\n      as |t|\\n    >\\n      <t.opener>\\n        {{#if option.task}}\\n          <div\\n            data-test-dropdown-option={{option.name}}\\n            class=\\\"dropdown__list-item o__hoverable u__prevent-breaks {{option.testClass}} {{if (or (not taskGroup.isIdle) option.isDisabled) \\\"o__disabled\\\"}}\\\"\\n            onclick={{perform option.task}}\\n          >\\n            {{ic-interface-icon option.icon}} {{option.name}}\\n          </div>\\n        {{else}}\\n          <div\\n            data-test-dropdown-option={{option.name}}\\n            class=\\\"dropdown__list-item o__hoverable u__prevent-breaks {{option.testClass}} {{if option.isDisabled \\\"o__disabled\\\"}}\\\"\\n            {{action option.action}}\\n          >\\n            {{ic-interface-icon option.icon}} {{option.name}}\\n          </div>\\n        {{/if}}\\n      </t.opener>\\n      <t.content data-test-action-dropdown-tooltip-content>\\n        {{option.tooltipContent}}\\n      </t.content>\\n    </IcTooltip>\\n  {{/each}}\\n</DropdownComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-dropdown --}}\\n<DropdownComponent @title=\\\"More\\\" data-test-action-dropdown={{true}}>\\n  {{!-- template-lint-enable intercom/no-legacy-dropdown --}}\\n  {{#each dropdownOptions as |option|}}\\n    <IcTooltip\\n      @isDisabled={{not option.isTooltipEnabled}}\\n      @placement=\\\"left\\\"\\n      data-test-action-dropdown-tooltip-opener\\n      as |t|\\n    >\\n      <t.opener>\\n        {{#if option.task}}\\n          <div\\n            data-test-dropdown-option={{option.name}}\\n            class=\\\"dropdown__list-item o__hoverable u__prevent-breaks {{option.testClass}} {{if (or (not taskGroup.isIdle) option.isDisabled) \\\"o__disabled\\\"}}\\\"\\n            onclick={{perform option.task}}\\n          >\\n            {{ic-interface-icon option.icon}} {{option.name}}\\n          </div>\\n        {{else}}\\n          <div\\n            data-test-dropdown-option={{option.name}}\\n            class=\\\"dropdown__list-item o__hoverable u__prevent-breaks {{option.testClass}} {{if option.isDisabled \\\"o__disabled\\\"}}\\\"\\n            {{action option.action}}\\n          >\\n            {{ic-interface-icon option.icon}} {{option.name}}\\n          </div>\\n        {{/if}}\\n      </t.opener>\\n      <t.content data-test-action-dropdown-tooltip-content>\\n        {{option.tooltipContent}}\\n      </t.content>\\n    </IcTooltip>\\n  {{/each}}\\n</DropdownComponent>\\n\",\"moduleName\":\"embercom/components/action-dropdown-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/action-dropdown-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span class=\\\"avatar o__m\\\">\\n  <img class=\\\"avatar__media\\\" src=\\\"{{@admin.avatarUrl}}\\\" />\\n</span>\\n\", {\"contents\":\"<span class=\\\"avatar o__m\\\">\\n  <img class=\\\"avatar__media\\\" src=\\\"{{@admin.avatarUrl}}\\\" />\\n</span>\\n\",\"moduleName\":\"embercom/components/admin-avatar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/admin-avatar.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if editableMode}}\\n  <AutoResizingTextareaWithCountComponent\\n    @text={{this.text}}\\n    @placeholderText={{placeholderText}}\\n    @textareaClasses={{textareaClasses}}\\n    @maxLength={{maxLength}}\\n    @error={{error}}\\n  />\\n{{else if text}}\\n  <p class=\\\"admin__about-simple-resizing-textarea__display-text\\\">\\n    {{displayText}}\\n  </p>\\n{{else}}\\n  <span class=\\\"text-gray\\\">\\n    {{noDataText}}\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if editableMode}}\\n  <AutoResizingTextareaWithCountComponent\\n    @text={{this.text}}\\n    @placeholderText={{placeholderText}}\\n    @textareaClasses={{textareaClasses}}\\n    @maxLength={{maxLength}}\\n    @error={{error}}\\n  />\\n{{else if text}}\\n  <p class=\\\"admin__about-simple-resizing-textarea__display-text\\\">\\n    {{displayText}}\\n  </p>\\n{{else}}\\n  <span class=\\\"text-gray\\\">\\n    {{noDataText}}\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/admin/about-auto-resizing-textarea-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/admin/about-auto-resizing-textarea-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-center u__mb__10\\\">\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <h3 class=\\\"t__h3\\\">\\n      Public profile\\n    </h3>\\n  </div>\\n  {{#if model.is_me}}\\n    <div class=\\\"u__ml__10\\\">\\n      {{#if editableMode}}\\n        <IcButton\\n          @label=\\\"Done\\\"\\n          @type=\\\"primary\\\"\\n          @onClick={{this.save}}\\n          @testBindingClass=\\\"test__admin-settings_save-profile\\\"\\n        />\\n      {{else}}\\n        <IcButton\\n          @label=\\\"Edit\\\"\\n          @type=\\\"primary\\\"\\n          @onClick={{this.enterEditMode}}\\n          @testBindingClass=\\\"test__admin-settings__edit-profile\\\"\\n        />\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n</div>\\n<hr class=\\\"sp__hr profile__hr\\\" />\\n<div class=\\\"flex items-center u__mt__10\\\">\\n  <span class=\\\"u__mr__10\\\">\\n    {{ic-interface-icon \\\"person\\\" color=\\\"gray\\\" solo=true}}\\n  </span>\\n  <span class=\\\"flex-auto min-w-0\\\">\\n    <Admin::AboutSimpleTextComponent\\n      @text={{editableName}}\\n      @placeholderText=\\\"Add your name\\\"\\n      @noDataText=\\\"No name yet\\\"\\n      @editableMode={{editableMode}}\\n      @inputClasses={{editableNameInputClasses}}\\n    />\\n  </span>\\n</div>\\n<div class=\\\"flex items-center u__mt__10\\\">\\n  <span class=\\\"u__mr__10\\\">\\n    {{ic-interface-icon \\\"email\\\" color=\\\"gray\\\" solo=true}}\\n  </span>\\n  <IcTooltip\\n    @isInteractive={{true}}\\n    class=\\\"flex items-center profile__sidebar__editable-email\\\"\\n    as |tooltip|\\n  >\\n    <tooltip.opener>\\n      <Admin::AboutSimpleTextComponent\\n        data-test-admin-editable-email\\n        @text={{editableEmail}}\\n        @placeholderText=\\\"Set your email\\\"\\n        @noDataText=\\\"No email yet\\\"\\n        @editableMode={{editableMode}}\\n        @inputClasses={{editableEmailInputClasses}}\\n      />\\n      <p class=\\\"u__one-truncated-line mt-1\\\">\\n        @{{emailHostPart}}\\n      </p>\\n    </tooltip.opener>\\n    <tooltip.content>\\n      {{editableEmailIncludingHostPart}}\\n      <span\\n        class=\\\"tooltips__email-link__copy-icon\\\"\\n        title=\\\"Copy email to clipboard\\\"\\n        {{copy-to-clipboard text=editableEmailIncludingHostPart onSuccess=tooltip.hide}}\\n      >\\n        {{ic-interface-icon \\\"duplicate\\\"}}\\n      </span>\\n    </tooltip.content>\\n  </IcTooltip>\\n</div>\\n<div class=\\\"flex items-center u__mt__10\\\">\\n  <span class=\\\"u__mr__10\\\">\\n    {{ic-interface-icon \\\"calendar\\\" color=\\\"gray\\\" solo=true}}\\n  </span>\\n  <span class=\\\"flex-auto min-w-0\\\">\\n    <span data-test-admin-status>\\n      {{if model.away_mode_enabled \\\"Away\\\" \\\"Active\\\"}}\\n    </span>\\n  </span>\\n</div>\\n{{#if shouldHideLocationData}}\\n  <Admin::AboutProfileLocationHiddenComponent />\\n{{else}}\\n  <Admin::AboutProfileLocationComponent\\n    @model={{model}}\\n    @hideLocation={{hideLocation}}\\n  />\\n{{/if}}\\n{{#if editableMode}}\\n  <div class=\\\"profile__location-checkbox\\\">\\n    <label\\n      class=\\\"f__checkbox-label u__cf test__admin-settings__show-location-checkbox\\\"\\n    >\\n      <span class=\\\"f__checkbox-wrapper\\\">\\n        <Input\\n          @type=\\\"checkbox\\\"\\n          @checked={{hideLocation}}\\n          @change={{fn this.toggleShowLocation checked}}\\n        />\\n      </span>\\n      <span class=\\\"f__checkbox-content\\\">\\n        Hide location from users\\n      </span>\\n    </label>\\n  </div>\\n{{/if}}\\n<div class=\\\"flex items-center u__mt__10\\\">\\n  <span class=\\\"u__mr__10\\\">\\n    {{ic-interface-icon \\\"account\\\" color=\\\"gray\\\" solo=true}}\\n  </span>\\n  <span class=\\\"flex-auto min-w-0 test__admin-settings__job-input\\\">\\n    <Admin::AboutSimpleTextComponent\\n      @text={{editableJobTitle}}\\n      @placeholderText=\\\"Add your job title\\\"\\n      @noDataText=\\\"No job title yet\\\"\\n      @editableMode={{editableMode}}\\n      @inputClasses=\\\"f__text test__admin-settings__job-input\\\"\\n    />\\n  </span>\\n</div>\\n<div class=\\\"flex items-start u__mt__10\\\">\\n  <span class=\\\"u__mr__10\\\">\\n    {{ic-interface-icon \\\"intro\\\" color=\\\"gray\\\" solo=true}}\\n  </span>\\n  <span class=\\\"flex-auto min-w-0\\\">\\n    <Admin::AboutAutoResizingTextareaComponent\\n      @text={{editableBiography}}\\n      @placeholderText=\\\"Say hi and help people get to know you by sharing one thing you care about\\\"\\n      @noDataText=\\\"Introduce yourself\\\"\\n      @maxLength={{maxBiographyLength}}\\n      @textareaClasses={{editableBioTextClasses}}\\n      @editableMode={{editableMode}}\\n      @error={{biographyError}}\\n      @displayText={{model.profile.biography}}\\n    />\\n  </span>\\n</div>\\n<div class=\\\"flex items-center u__mt__10\\\" data-test-calendar-url>\\n  <span class=\\\"u__mr__10\\\">\\n    {{ic-interface-icon \\\"calendar\\\" color=\\\"gray\\\" solo=true}}\\n  </span>\\n  <span class=\\\"flex-auto min-w-0\\\">\\n    <Admin::AboutLinkComponent\\n      @link={{editableCalendarUrl}}\\n      @placeholderText=\\\"Add a link to your calendar\\\"\\n      @noLinkText=\\\"Add a link to your calendar\\\"\\n      @editableMode={{editableMode}}\\n      @showErrorOnLink={{showErrorOnLink}}\\n    />\\n  </span>\\n</div>\\n{{#if editableMode}}\\n  <div class=\\\"profile__calendar-checkbox\\\">\\n    <label class=\\\"f__checkbox-label u__cf\\\">\\n      <span class=\\\"f__checkbox-wrapper\\\">\\n        <Input\\n          @type=\\\"checkbox\\\"\\n          @checked={{hideCalenderUrlInMessenger}}\\n          @change={{action (mut togglableCalendar) hideCalenderUrlInMessenger}}\\n        />\\n      </span>\\n      <span class=\\\"f__checkbox-content\\\">\\n        Hide calendar from users\\n      </span>\\n    </label>\\n  </div>\\n{{/if}}\\n<SocialConnectComponent\\n  @successAction={{oAuthSuccess}}\\n  @failureAction={{oAuthFailure}}\\n  @deleteAction={{deleteSocialAccount}}\\n  @model={{model.twitter}}\\n  @provider=\\\"twitter\\\"\\n  @placeholderText=\\\"Add your Twitter\\\"\\n  @linkText=\\\"Add your Twitter\\\"\\n  @editableMode={{editableMode}}\\n  @params={{socialConnectParams}}\\n/>\\n<SocialConnectComponent\\n  @successAction={{oAuthSuccess}}\\n  @failureAction={{oAuthFailure}}\\n  @deleteAction={{deleteSocialAccount}}\\n  @model={{model.linkedin}}\\n  @provider=\\\"linkedin\\\"\\n  @placeholderText=\\\"Add your LinkedIn\\\"\\n  @linkText=\\\"Add your LinkedIn\\\"\\n  @editableMode={{editableMode}}\\n  @params={{socialConnectParams}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-center u__mb__10\\\">\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <h3 class=\\\"t__h3\\\">\\n      Public profile\\n    </h3>\\n  </div>\\n  {{#if model.is_me}}\\n    <div class=\\\"u__ml__10\\\">\\n      {{#if editableMode}}\\n        <IcButton\\n          @label=\\\"Done\\\"\\n          @type=\\\"primary\\\"\\n          @onClick={{this.save}}\\n          @testBindingClass=\\\"test__admin-settings_save-profile\\\"\\n        />\\n      {{else}}\\n        <IcButton\\n          @label=\\\"Edit\\\"\\n          @type=\\\"primary\\\"\\n          @onClick={{this.enterEditMode}}\\n          @testBindingClass=\\\"test__admin-settings__edit-profile\\\"\\n        />\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n</div>\\n<hr class=\\\"sp__hr profile__hr\\\" />\\n<div class=\\\"flex items-center u__mt__10\\\">\\n  <span class=\\\"u__mr__10\\\">\\n    {{ic-interface-icon \\\"person\\\" color=\\\"gray\\\" solo=true}}\\n  </span>\\n  <span class=\\\"flex-auto min-w-0\\\">\\n    <Admin::AboutSimpleTextComponent\\n      @text={{editableName}}\\n      @placeholderText=\\\"Add your name\\\"\\n      @noDataText=\\\"No name yet\\\"\\n      @editableMode={{editableMode}}\\n      @inputClasses={{editableNameInputClasses}}\\n    />\\n  </span>\\n</div>\\n<div class=\\\"flex items-center u__mt__10\\\">\\n  <span class=\\\"u__mr__10\\\">\\n    {{ic-interface-icon \\\"email\\\" color=\\\"gray\\\" solo=true}}\\n  </span>\\n  <IcTooltip\\n    @isInteractive={{true}}\\n    class=\\\"flex items-center profile__sidebar__editable-email\\\"\\n    as |tooltip|\\n  >\\n    <tooltip.opener>\\n      <Admin::AboutSimpleTextComponent\\n        data-test-admin-editable-email\\n        @text={{editableEmail}}\\n        @placeholderText=\\\"Set your email\\\"\\n        @noDataText=\\\"No email yet\\\"\\n        @editableMode={{editableMode}}\\n        @inputClasses={{editableEmailInputClasses}}\\n      />\\n      <p class=\\\"u__one-truncated-line mt-1\\\">\\n        @{{emailHostPart}}\\n      </p>\\n    </tooltip.opener>\\n    <tooltip.content>\\n      {{editableEmailIncludingHostPart}}\\n      <span\\n        class=\\\"tooltips__email-link__copy-icon\\\"\\n        title=\\\"Copy email to clipboard\\\"\\n        {{copy-to-clipboard text=editableEmailIncludingHostPart onSuccess=tooltip.hide}}\\n      >\\n        {{ic-interface-icon \\\"duplicate\\\"}}\\n      </span>\\n    </tooltip.content>\\n  </IcTooltip>\\n</div>\\n<div class=\\\"flex items-center u__mt__10\\\">\\n  <span class=\\\"u__mr__10\\\">\\n    {{ic-interface-icon \\\"calendar\\\" color=\\\"gray\\\" solo=true}}\\n  </span>\\n  <span class=\\\"flex-auto min-w-0\\\">\\n    <span data-test-admin-status>\\n      {{if model.away_mode_enabled \\\"Away\\\" \\\"Active\\\"}}\\n    </span>\\n  </span>\\n</div>\\n{{#if shouldHideLocationData}}\\n  <Admin::AboutProfileLocationHiddenComponent />\\n{{else}}\\n  <Admin::AboutProfileLocationComponent\\n    @model={{model}}\\n    @hideLocation={{hideLocation}}\\n  />\\n{{/if}}\\n{{#if editableMode}}\\n  <div class=\\\"profile__location-checkbox\\\">\\n    <label\\n      class=\\\"f__checkbox-label u__cf test__admin-settings__show-location-checkbox\\\"\\n    >\\n      <span class=\\\"f__checkbox-wrapper\\\">\\n        <Input\\n          @type=\\\"checkbox\\\"\\n          @checked={{hideLocation}}\\n          @change={{fn this.toggleShowLocation checked}}\\n        />\\n      </span>\\n      <span class=\\\"f__checkbox-content\\\">\\n        Hide location from users\\n      </span>\\n    </label>\\n  </div>\\n{{/if}}\\n<div class=\\\"flex items-center u__mt__10\\\">\\n  <span class=\\\"u__mr__10\\\">\\n    {{ic-interface-icon \\\"account\\\" color=\\\"gray\\\" solo=true}}\\n  </span>\\n  <span class=\\\"flex-auto min-w-0 test__admin-settings__job-input\\\">\\n    <Admin::AboutSimpleTextComponent\\n      @text={{editableJobTitle}}\\n      @placeholderText=\\\"Add your job title\\\"\\n      @noDataText=\\\"No job title yet\\\"\\n      @editableMode={{editableMode}}\\n      @inputClasses=\\\"f__text test__admin-settings__job-input\\\"\\n    />\\n  </span>\\n</div>\\n<div class=\\\"flex items-start u__mt__10\\\">\\n  <span class=\\\"u__mr__10\\\">\\n    {{ic-interface-icon \\\"intro\\\" color=\\\"gray\\\" solo=true}}\\n  </span>\\n  <span class=\\\"flex-auto min-w-0\\\">\\n    <Admin::AboutAutoResizingTextareaComponent\\n      @text={{editableBiography}}\\n      @placeholderText=\\\"Say hi and help people get to know you by sharing one thing you care about\\\"\\n      @noDataText=\\\"Introduce yourself\\\"\\n      @maxLength={{maxBiographyLength}}\\n      @textareaClasses={{editableBioTextClasses}}\\n      @editableMode={{editableMode}}\\n      @error={{biographyError}}\\n      @displayText={{model.profile.biography}}\\n    />\\n  </span>\\n</div>\\n<div class=\\\"flex items-center u__mt__10\\\" data-test-calendar-url>\\n  <span class=\\\"u__mr__10\\\">\\n    {{ic-interface-icon \\\"calendar\\\" color=\\\"gray\\\" solo=true}}\\n  </span>\\n  <span class=\\\"flex-auto min-w-0\\\">\\n    <Admin::AboutLinkComponent\\n      @link={{editableCalendarUrl}}\\n      @placeholderText=\\\"Add a link to your calendar\\\"\\n      @noLinkText=\\\"Add a link to your calendar\\\"\\n      @editableMode={{editableMode}}\\n      @showErrorOnLink={{showErrorOnLink}}\\n    />\\n  </span>\\n</div>\\n{{#if editableMode}}\\n  <div class=\\\"profile__calendar-checkbox\\\">\\n    <label class=\\\"f__checkbox-label u__cf\\\">\\n      <span class=\\\"f__checkbox-wrapper\\\">\\n        <Input\\n          @type=\\\"checkbox\\\"\\n          @checked={{hideCalenderUrlInMessenger}}\\n          @change={{action (mut togglableCalendar) hideCalenderUrlInMessenger}}\\n        />\\n      </span>\\n      <span class=\\\"f__checkbox-content\\\">\\n        Hide calendar from users\\n      </span>\\n    </label>\\n  </div>\\n{{/if}}\\n<SocialConnectComponent\\n  @successAction={{oAuthSuccess}}\\n  @failureAction={{oAuthFailure}}\\n  @deleteAction={{deleteSocialAccount}}\\n  @model={{model.twitter}}\\n  @provider=\\\"twitter\\\"\\n  @placeholderText=\\\"Add your Twitter\\\"\\n  @linkText=\\\"Add your Twitter\\\"\\n  @editableMode={{editableMode}}\\n  @params={{socialConnectParams}}\\n/>\\n<SocialConnectComponent\\n  @successAction={{oAuthSuccess}}\\n  @failureAction={{oAuthFailure}}\\n  @deleteAction={{deleteSocialAccount}}\\n  @model={{model.linkedin}}\\n  @provider=\\\"linkedin\\\"\\n  @placeholderText=\\\"Add your LinkedIn\\\"\\n  @linkText=\\\"Add your LinkedIn\\\"\\n  @editableMode={{editableMode}}\\n  @params={{socialConnectParams}}\\n/>\\n\",\"moduleName\":\"embercom/components/admin/about-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/admin/about-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { once } from '@ember/runloop';\nimport { computed, observer, action } from '@ember/object';\nimport { on } from '@ember/object/evented';\nimport { reads, empty, oneWay, not, or, and } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport {\n  applyFunction,\n  lessThanProperty,\n  notEqualToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport { isValidUrlWithProtocol } from 'embercom/lib/url-validator';\n\nconst SHORTCUT_GROUP = 'admin-about';\n// This is used in place of the email validation in lib as it's more restrictive.\n// We want to allow things like first.last.123, but not other things that are\n// valid like \"first.last!!?<>\".\n// This matches only alphanumeric emails with one or more characters and no\n// periods at the start or end.\nconst VALID_EMAIL_REGEX = /^(?:[a-z\\d]+(?:\\.[a-z\\d]*?)?)+$/;\n\nexport default Component.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  shortcuts: service(),\n  maxEmailLength: 64,\n  maxUrlLength: 500,\n  maxBiographyLength: 160,\n  editableName: reads('model.name'),\n\n  editableEmail: computed('model.profile.email_address_for_app', function() {\n    return this.get('model.profile.email_address_for_app').split('@')[0];\n  }),\n\n  emailHostPart: computed('model.profile.email_address_for_app', function() {\n    return this.get('model.profile.email_address_for_app').split('@')[1];\n  }),\n\n  editableEmailIncludingHostPart: computed('editableEmail', 'emailHostPart', function() {\n    return `${this.editableEmail}@${this.emailHostPart}`;\n  }),\n\n  editableJobTitle: reads('model.profile.job_title'),\n  isEditableJobTitleEmpty: empty('editableJobTitle'),\n  editableCalendarUrl: reads('model.profile.calendar_url'),\n  editableBiography: reads('model.profile.biography'),\n  hideCalenderUrlInMessenger: not('model.profile.show_calendar_in_messenger'),\n  editableNameInputClasses: reads('nameInputClasses'),\n  editableEmailInputClasses: reads('emailInputClasses'),\n  editableBioTextClasses: reads('bioTextClasses'),\n  nameHasChanged: notEqualToProperty('model.name', 'editableName'),\n\n  emailHasChanged: notEqualToProperty(\n    'model.profile.email_address_for_app',\n    'editableEmailIncludingHostPart',\n  ),\n\n  jobTitleHasChanged: notEqualToProperty('model.profile.job_title', 'editableJobTitle'),\n  biographyHasChanged: notEqualToProperty('model.profile.biography', 'editableBiography'),\n  calendarUrlHasChanged: notEqualToProperty('model.profile.calendar_url', 'editableCalendarUrl'),\n  togglableCalendar: oneWay('model.profile.show_calendar_in_messenger'),\n\n  showCalendarHasChanged: notEqualToProperty(\n    'model.profile.show_calendar_in_messenger',\n    'togglableCalendar',\n  ),\n\n  togglableLocation: oneWay('model.profile.show_location'),\n  hideLocation: not('model.profile.show_location'),\n  showLocationHasChanged: notEqualToProperty('model.profile.show_location', 'togglableLocation'),\n\n  profileUpdated: or(\n    'nameHasChanged',\n    'emailHasChanged',\n    'jobTitleHasChanged',\n    'biographyHasChanged',\n    'showLocationHasChanged',\n    'calendarUrlHasChanged',\n    'showCalendarHasChanged',\n  ),\n\n  nameError: empty('editableName'),\n\n  emailError: computed('editableEmail', 'emailHasChanged', 'maxEmailLength', function() {\n    if (!this.emailHasChanged) {\n      return false;\n    }\n\n    let email = this.editableEmail.toLowerCase();\n    return !VALID_EMAIL_REGEX.test(email) && email.length <= this.maxEmailLength;\n  }),\n\n  isCalendarUrlEmpty: empty('editableCalendarUrl'),\n  calendarUrlLengthIsValid: lessThanProperty('editableCalendarUrl.length', 'maxUrlLength'),\n  isCalendarValidUrl: applyFunction(isValidUrlWithProtocol, 'editableCalendarUrl'),\n\n  calendarUrlError: computed('editableCalendarUrl', 'calendarUrlHasChanged', function() {\n    if (!this.calendarUrlHasChanged || this.isCalendarUrlEmpty) {\n      return false;\n    }\n    return !(this.isCalendarValidUrl && this.calendarUrlLengthIsValid);\n  }),\n\n  biographyError: false,\n  errorsPresent: or('nameError', 'biographyError', 'emailError', 'calendarUrlError'),\n\n  initialize: on('didInsertElement', function() {\n    this.shortcuts.register(SHORTCUT_GROUP, this, [\n      { key: 'escape', textBox: true, method: this.escapeShortcut },\n    ]);\n  }),\n\n  detroy: on('willDestroyElement', function() {\n    this.shortcuts.unregister(SHORTCUT_GROUP);\n  }),\n\n  editableMode: false,\n  showErrorOnLink: false,\n  isNotEditableMode: not('editableMode'),\n  shouldHideLocationData: and('isNotEditableMode', 'hideLocation'),\n\n  socialConnectParams: computed('app', function() {\n    return `app_id=${this.get('app.id')}`;\n  }),\n\n  handleJobTitleChange: on(\n    'init',\n    observer({\n      dependentKeys: ['model.profile.job_title'],\n\n      fn() {\n        once(this, this.setEditableJobTitle);\n      },\n\n      sync: true,\n    }),\n  ),\n\n  setEditableJobTitle() {\n    if (this.isEditableJobTitleEmpty) {\n      this.set('editableJobTitle', this.get('model.profile.job_title'));\n    }\n  },\n\n  checkAndShowErrors() {\n    this.resetErrors();\n    this.checkAndSetNameError();\n    this.checkAndSetEmailError();\n    this.checkAndSetBioError();\n    this.validateCalendarUrl();\n  },\n\n  resetErrors() {\n    this.notificationsService.removeNotification('profileNameError');\n    this.notificationsService.removeNotification('profileEmailError');\n    this.notificationsService.removeNotification('profileBioError');\n    this.notificationsService.removeNotification('profileCalendarUrlError');\n\n    this.set('editableNameInputClasses', this.nameInputClasses);\n    this.set('editableEmailInputClasses', this.emailInputClasses);\n    this.set('editableBioTextClasses', this.bioTextClasses);\n  },\n\n  checkAndSetNameError() {\n    if (this.nameError) {\n      this.set('editableNameInputClasses', `${this.nameInputClasses} o__error`);\n      this.notificationsService.notifyWarning(\n        'You need to enter your name before saving',\n        3000,\n        'profileNameError',\n      );\n    }\n  },\n\n  checkAndSetEmailError() {\n    if (this.emailError) {\n      this.set('editableEmailInputClasses', `${this.emailInputClasses} o__error`);\n      this.notificationsService.notifyWarning(\n        `Your email can only contain the letters a-z (upper or lower case), numbers 0-9, full stops between other characters, and can't be too long (max is ${this.maxEmailLength}).`,\n        6000,\n        'profileEmailError',\n      );\n    }\n  },\n\n  checkAndSetBioError() {\n    if (this.biographyError) {\n      this.set('editableBioTextClasses', `${this.bioTextClasses} o__error`);\n      this.notificationsService.notifyWarning(\n        `Your intro has too many characters (max is ${this.maxBiographyLength}). Edit it a little.`,\n        3000,\n        'profileBioError',\n      );\n    }\n  },\n\n  validateCalendarUrl() {\n    if (this.calendarUrlError) {\n      this.notificationsService.notifyWarning(\n        'The calendar url is invalid or too long',\n        3000,\n        'profileCalendarUrlError',\n      );\n      this.set('showErrorOnLink', true);\n    } else {\n      this.set('showErrorOnLink', false);\n    }\n  },\n\n  escapeShortcut() {\n    if (this.editableMode) {\n      this.resetProperties();\n      this.exitEditMode();\n    }\n  },\n\n  resetProperties() {\n    this.setProperties({\n      editableName: this.get('model.name'),\n      editableJobTitle: this.get('model.profile.job_title'),\n      editableBiography: this.get('model.profile.biography'),\n      editableEmail: this.emailLocalPart,\n    });\n  },\n\n  exitEditMode() {\n    this.set('editableMode', false);\n    this.set('biographyError', false);\n  },\n\n  trackEventsForChangedAttributes() {\n    if (this.jobTitleHasChanged) {\n      this.intercomEventService.trackEvent('teammate-profile-updated-job-title');\n    }\n    if (this.biographyHasChanged) {\n      this.intercomEventService.trackEvent('teammate-profile-updated-biography');\n    }\n    if (this.showLocationHasChanged) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: this.hideLocation ? 'checked' : 'unchecked',\n        object: 'hide_location_from_users',\n      });\n    }\n  },\n\n  enterEditMode: action(function() {\n    this.set('editableMode', true);\n  }),\n\n  save: action(function() {\n    this.checkAndShowErrors();\n\n    if (this.errorsPresent) {\n      return;\n    }\n\n    if (!this.profileUpdated) {\n      this.exitEditMode();\n      return;\n    } else {\n      this.trackEventsForChangedAttributes();\n    }\n\n    this.saveAction({\n      name: this.editableName,\n      job_title: this.editableJobTitle,\n      biography: this.editableBiography,\n      calendar_url: this.editableCalendarUrl,\n      show_calendar_in_messenger: this.togglableCalendar,\n      show_location: this.togglableLocation,\n      email_address_for_app: this.editableEmailIncludingHostPart,\n    });\n\n    this.exitEditMode();\n  }),\n\n  toggleShowLocation: action(function() {\n    this.set('hideLocation', this.togglableLocation);\n    this.toggleProperty('togglableLocation');\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if editableMode}}\\n  <Input\\n    class={{concat \\\"f__text \\\" (if showErrorOnLink \\\"o__error\\\")}}\\n    placeholder={{placeholderText}}\\n    @value={{link}}\\n    @focusOut={{onFocusOut}}\\n  />\\n{{else if link}}\\n  <p class=\\\"u__one-truncated-line\\\">\\n    {{!-- prettier-ignore --}}\\n    <a href=\\\"{{link}}\\\" class=\\\"t__solo-link\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">{{link}}</a>\\n  </p>\\n{{else}}\\n  <span class=\\\"text-gray mt-1\\\">\\n    {{noLinkText}}\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if editableMode}}\\n  <Input\\n    class={{concat \\\"f__text \\\" (if showErrorOnLink \\\"o__error\\\")}}\\n    placeholder={{placeholderText}}\\n    @value={{link}}\\n    @focusOut={{onFocusOut}}\\n  />\\n{{else if link}}\\n  <p class=\\\"u__one-truncated-line\\\">\\n    {{!-- prettier-ignore --}}\\n    <a href=\\\"{{link}}\\\" class=\\\"t__solo-link\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">{{link}}</a>\\n  </p>\\n{{else}}\\n  <span class=\\\"text-gray mt-1\\\">\\n    {{noLinkText}}\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/admin/about-link-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/admin/about-link-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- prettier-ignore-file --}}\\n<div class=\\\"flex items-start layout__box twk__admin-profile-settings__time-location {{columnTooSmall}} {{if hideLocation 'profile__show-location-disabled'}}\\\">\\n  <div class=\\\"u__mt__10\\\">\\n    <span class=\\\"u__mr__10\\\">{{ic-interface-icon 'location' color='gray' solo=true}}</span>{{!\\n }}<span class=\\\"u__mr__10\\\">{{!\\n      }}{{#if countryName}}{{!\\n        }}<span>{{!\\n          }}{{#if cityName}}{{!\\n            }}<span>{{cityName}},</span>\\n          {{/if}}\\n          {{countryName}}\\n        </span>\\n      {{else}}\\n        <span {{tooltip content=(concat \\\"Unable to determine \\\" model.first_name \\\"'s location\\\")}}>\\n          Unknown\\n        </span>\\n      {{/if}}\\n    </span>\\n  </div>\\n  <div class=\\\"u__mt__10\\\">\\n    <span class=\\\"u__mr__10\\\">{{ic-interface-icon 'clock' color='gray' solo=true}}</span>\\n    <span class=\\\"u__mr__10\\\">\\n      {{#if model.hasTimezone}}\\n        {{model.localTime}}\\n      {{else}}\\n      <span {{tooltip content=(concat \\\"Unable to determine \\\" model.first_name \\\"'s local time\\\")}}>\\n        Unknown\\n      </span>\\n      {{/if}}\\n    </span>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- prettier-ignore-file --}}\\n<div class=\\\"flex items-start layout__box twk__admin-profile-settings__time-location {{columnTooSmall}} {{if hideLocation 'profile__show-location-disabled'}}\\\">\\n  <div class=\\\"u__mt__10\\\">\\n    <span class=\\\"u__mr__10\\\">{{ic-interface-icon 'location' color='gray' solo=true}}</span>{{!\\n }}<span class=\\\"u__mr__10\\\">{{!\\n      }}{{#if countryName}}{{!\\n        }}<span>{{!\\n          }}{{#if cityName}}{{!\\n            }}<span>{{cityName}},</span>\\n          {{/if}}\\n          {{countryName}}\\n        </span>\\n      {{else}}\\n        <span {{tooltip content=(concat \\\"Unable to determine \\\" model.first_name \\\"'s location\\\")}}>\\n          Unknown\\n        </span>\\n      {{/if}}\\n    </span>\\n  </div>\\n  <div class=\\\"u__mt__10\\\">\\n    <span class=\\\"u__mr__10\\\">{{ic-interface-icon 'clock' color='gray' solo=true}}</span>\\n    <span class=\\\"u__mr__10\\\">\\n      {{#if model.hasTimezone}}\\n        {{model.localTime}}\\n      {{else}}\\n      <span {{tooltip content=(concat \\\"Unable to determine \\\" model.first_name \\\"'s local time\\\")}}>\\n        Unknown\\n      </span>\\n      {{/if}}\\n    </span>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/admin/about-profile-location-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/admin/about-profile-location-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport $ from 'jquery';\nimport { schedule, debounce } from '@ember/runloop';\nimport { reads } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport LocationData from 'embercom/controllers/mixins/users-and-admins/location-data';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport ENV from 'embercom/config/environment';\nimport { addEventListener, runDisposables } from 'ember-lifeline';\n\nexport default Component.extend(LocationData, {\n  columnTooSmall: 'o__has-columns',\n  modelGeoipData: ternaryToProperty('model.isAdmin', 'model.location_data', 'model.geoip_data'),\n  countryName: reads('geoipData.country_name'),\n  cityName: reads('geoipData.city_name'),\n\n  didInsertElement() {\n    this._super(...arguments);\n    schedule('afterRender', this, this._setDisplayMode);\n    addEventListener(this, window, 'resize', () => this.setDisplayMode());\n  },\n\n  destroy() {\n    runDisposables(this);\n\n    this._super(...arguments);\n  },\n\n  setDisplayMode() {\n    debounce(this, this._setDisplayMode, ENV.APP._50MS);\n  },\n\n  _setDisplayMode() {\n    let childrenWidth = 0;\n    let parentWidth = $('.twk__admin-profile-settings__time-location').width();\n    $('.twk__admin-profile-settings__time-location')\n      .children()\n      .each(function(index, child) {\n        childrenWidth += $(child).width();\n      });\n\n    if (childrenWidth > parentWidth) {\n      this.set('columnTooSmall', 'o__has-rows');\n    } else if (childrenWidth < parentWidth) {\n      this.set('columnTooSmall', 'o__has-columns');\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"flex items-start layout__box twk__admin-profile-settings__time-location profile__show-location-disabled {{columnTooSmall}}\\\"\\n>\\n  <div class=\\\"u__mt__10\\\">\\n    <span class=\\\"text-gray\\\">\\n      {{ic-interface-icon \\\"location\\\"}}\\n    </span>\\n    <span class=\\\"u__mr__10\\\">\\n      Location hidden from users\\n    </span>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"flex items-start layout__box twk__admin-profile-settings__time-location profile__show-location-disabled {{columnTooSmall}}\\\"\\n>\\n  <div class=\\\"u__mt__10\\\">\\n    <span class=\\\"text-gray\\\">\\n      {{ic-interface-icon \\\"location\\\"}}\\n    </span>\\n    <span class=\\\"u__mr__10\\\">\\n      Location hidden from users\\n    </span>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/admin/about-profile-location-hidden-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/admin/about-profile-location-hidden-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if editableMode}}\\n  <Input\\n    class={{inputClasses}}\\n    placeholder={{placeholderText}}\\n    @value={{this.text}}\\n    @maxlength=\\\"255\\\"\\n    @focusOut={{onFocusOut}}\\n  />\\n{{else if this.text}}\\n  <p class=\\\"u__one-truncated-line mt-1\\\">\\n    {{this.text}}\\n  </p>\\n{{else}}\\n  <span class=\\\"text-gray mt-1\\\">\\n    {{noDataText}}\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if editableMode}}\\n  <Input\\n    class={{inputClasses}}\\n    placeholder={{placeholderText}}\\n    @value={{this.text}}\\n    @maxlength=\\\"255\\\"\\n    @focusOut={{onFocusOut}}\\n  />\\n{{else if this.text}}\\n  <p class=\\\"u__one-truncated-line mt-1\\\">\\n    {{this.text}}\\n  </p>\\n{{else}}\\n  <span class=\\\"text-gray mt-1\\\">\\n    {{noDataText}}\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/admin/about-simple-text-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/admin/about-simple-text-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasFile}}\\n  <div class=\\\"teammate__avatar-upload\\\">\\n    {{#if fileIsValid}}\\n      {{#if previewImageUrl}}\\n        <span class=\\\"avatar o__xl\\\">\\n          <img src=\\\"{{previewImageUrl}}\\\" class=\\\"avatar__media\\\" />\\n        </span>\\n        <IcModal\\n          @isOpen={{true}}\\n          @onModalClose={{this.removeFile}}\\n          @width=\\\"m\\\" as |modal|\\n        >\\n          <modal.header @title=\\\"Update profile photo\\\" />\\n          <modal.body @fullBleed={{true}}>\\n            <div\\n              class=\\\"twk__admin-profile-settings__modal-preview-avatar-container\\\"\\n            >\\n              <img\\n                id=\\\"Preview\\\"\\n                src=\\\"{{previewImageUrl}}\\\"\\n                class=\\\"twk__admin-profile-settings__modal-preview-avatar\\\"\\n              />\\n            </div>\\n          </modal.body>\\n          <modal.footer\\n            @primaryButton={{hash\\n              label=(if isNotSaving \\\"Save photo\\\" \\\"Saving…\\\")\\n              action=this.saveAdminAvatar\\n            }}\\n            @secondaryButton={{hash label=\\\"Cancel\\\" action=this.removeFile\\n            }}\\n          />\\n        </IcModal>\\n      {{/if}}\\n      {{!-- end of previewImageUrl --}}\\n    {{else}}\\n      <IcAvatarComponent @model={{admin}} @size=\\\"xl\\\" />\\n    {{/if}}\\n    {{!-- end of fileIsValid --}}\\n  </div>\\n{{else}}\\n  <div class=\\\"teammate__avatar-upload\\\" {{action \\\"showFilePicker\\\"}}>\\n    <IcAvatarComponent @model={{admin}} @size=\\\"xl\\\" />\\n    <div class=\\\"teammate__avatar-upload__icon\\\">\\n      {{ic-interface-icon \\\"edit\\\" solo=true}}\\n    </div>\\n  </div>\\n  <input\\n    type=\\\"file\\\"\\n    accept=\\\"image/gif, image/jpeg, image/png\\\"\\n    class=\\\"u__hidden\\\"\\n  />\\n{{/if}}\\n{{!-- end of hasFile --}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasFile}}\\n  <div class=\\\"teammate__avatar-upload\\\">\\n    {{#if fileIsValid}}\\n      {{#if previewImageUrl}}\\n        <span class=\\\"avatar o__xl\\\">\\n          <img src=\\\"{{previewImageUrl}}\\\" class=\\\"avatar__media\\\" />\\n        </span>\\n        <IcModal\\n          @isOpen={{true}}\\n          @onModalClose={{this.removeFile}}\\n          @width=\\\"m\\\" as |modal|\\n        >\\n          <modal.header @title=\\\"Update profile photo\\\" />\\n          <modal.body @fullBleed={{true}}>\\n            <div\\n              class=\\\"twk__admin-profile-settings__modal-preview-avatar-container\\\"\\n            >\\n              <img\\n                id=\\\"Preview\\\"\\n                src=\\\"{{previewImageUrl}}\\\"\\n                class=\\\"twk__admin-profile-settings__modal-preview-avatar\\\"\\n              />\\n            </div>\\n          </modal.body>\\n          <modal.footer\\n            @primaryButton={{hash\\n              label=(if isNotSaving \\\"Save photo\\\" \\\"Saving…\\\")\\n              action=this.saveAdminAvatar\\n            }}\\n            @secondaryButton={{hash label=\\\"Cancel\\\" action=this.removeFile\\n            }}\\n          />\\n        </IcModal>\\n      {{/if}}\\n      {{!-- end of previewImageUrl --}}\\n    {{else}}\\n      <IcAvatarComponent @model={{admin}} @size=\\\"xl\\\" />\\n    {{/if}}\\n    {{!-- end of fileIsValid --}}\\n  </div>\\n{{else}}\\n  <div class=\\\"teammate__avatar-upload\\\" {{action \\\"showFilePicker\\\"}}>\\n    <IcAvatarComponent @model={{admin}} @size=\\\"xl\\\" />\\n    <div class=\\\"teammate__avatar-upload__icon\\\">\\n      {{ic-interface-icon \\\"edit\\\" solo=true}}\\n    </div>\\n  </div>\\n  <input\\n    type=\\\"file\\\"\\n    accept=\\\"image/gif, image/jpeg, image/png\\\"\\n    class=\\\"u__hidden\\\"\\n  />\\n{{/if}}\\n{{!-- end of hasFile --}}\\n\",\"moduleName\":\"embercom/components/admin/avatar-upload-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/admin/avatar-upload-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { cancel } from '@ember/runloop';\nimport { action } from '@ember/object';\nimport $ from 'jquery';\nimport { not, reads, none, gt, and } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport ImageUploadComponent from 'embercom/components/mixins/image-upload-component';\nimport { inject as service } from '@ember/service';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nexport default Component.extend(ImageUploadComponent, IntercomModal, {\n  intercomEventService: service(),\n  notificationsService: service(),\n  classNameBindings: [],\n  saving: false,\n  maxFileSize: '15MB',\n  isNotSaving: not('saving'),\n  avatarUrl: reads('admin.avatarUrl'),\n  hasNoAvatar: none('admin.avatar'),\n  fileIsLargerThan15MB: gt('file.size', 15000000),\n  fileIsTooLarge: and('fileIsLargerThan15MB', 'hasFile'),\n\n  resetFileIfInvalid() {\n    if (this.fileIsInvalid) {\n      this.notificationsService.notifyError(this.message);\n      cancel(this.invalidFileResetTask);\n      if (!(this.isDestroying || this.isDestroyed)) {\n        this.setProperties({\n          file: undefined,\n          uploadDidFail: false,\n          hasFile: false,\n        });\n      }\n    }\n  },\n\n  removeFile: action(function() {\n    this.set('file', null);\n    this.set('hasFile', false);\n  }),\n\n  saveAdminAvatar: action(function() {\n    this.set('saving', true);\n    let admin = this.admin;\n    let file = this.file;\n\n    admin.createAvatar(file).then(\n      () => {\n        this.setProperties({\n          hasSaved: true,\n          hasFile: false,\n        });\n        this.notificationsService.notifyConfirmation('Your photo has been updated!');\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'completed',\n          object: 'photo-upload',\n        });\n      },\n      () => {\n        this.set('hasErrored', true);\n      },\n    );\n  }),\n\n  actions: {\n    showFilePicker() {\n      $('input:file', this.element).click();\n    },\n\n    removeAdminAvatar() {\n      this.admin.destroyAvatar();\n    },\n\n    closeModal() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('closeModal');\n    },\n\n    openModal() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('openModal');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-center u__mb__10\\\">\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <h3 class=\\\"t__h3\\\">\\n      Intercom Page\\n    </h3>\\n  </div>\\n  {{#if @admin.is_me}}\\n    <div class=\\\"u__ml__10\\\">\\n      {{#if editableMode}}\\n        <IcButton @label=\\\"Done\\\" @type=\\\"primary\\\" @onClick={{this.save}} />\\n      {{else}}\\n        <IcButton\\n          @label=\\\"Edit\\\"\\n          @type=\\\"primary\\\"\\n          @onClick={{this.enterEditMode}}\\n        />\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n</div>\\n<hr class=\\\"sp__hr profile__hr\\\" />\\n<div class=\\\"u__mb__10\\\">\\n  <div class=\\\"flex items-center u__mt__10\\\">\\n    <span class=\\\"u__mr__10\\\">\\n      {{ic-interface-icon \\\"link\\\" color=\\\"gray\\\" solo=true}}\\n    </span>\\n    <span class=\\\"flex-auto min-w-0\\\">\\n      <p class=\\\"u__one-truncated-line mt-1\\\">\\n        pages.intercom.com/\\n      </p>\\n      <Admin::AboutSimpleTextComponent\\n        @text={{settings.publicUrl}}\\n        @placeholderText=\\\"Add your public url\\\"\\n        @noDataText=\\\"No page yet\\\"\\n        @editableMode={{editableMode}}\\n        @inputClasses={{editableNameInputClasses}}\\n      />\\n    </span>\\n  </div>\\n  <div class=\\\"flex items-center u__mt__10\\\">\\n    <span class=\\\"u__mr__10\\\">\\n      {{ic-interface-icon \\\"share\\\" color=\\\"gray\\\" solo=true}}\\n    </span>\\n    <span class=\\\"flex-auto min-w-0\\\">\\n      <Admin::AboutSimpleTextComponent\\n        @text={{settings.assetUrl}}\\n        @placeholderText=\\\"Add your asset url\\\"\\n        @noDataText=\\\"No asset yet\\\"\\n        @editableMode={{editableMode}}\\n        @inputClasses={{editableNameInputClasses}}\\n      />\\n    </span>\\n  </div>\\n</div>\\n<hr class=\\\"sp__hr profile__hr\\\" />\\n<h4 class=\\\"t__h4\\\">\\n  Sub Pages\\n</h4>\\n{{#each settings.subPages as |subPage|}}\\n  <div class=\\\"flex items-center u__mt__10\\\">\\n    <span class=\\\"u__mr__10\\\">\\n      {{ic-interface-icon \\\"link\\\" color=\\\"gray\\\" solo=true}}\\n    </span>\\n    <span class=\\\"flex-auto min-w-0\\\">\\n      <p class=\\\"u__one-truncated-line mt-1\\\">\\n        pages.intercom.com/{{settings.publicUrl}}\\n      </p>\\n      <Admin::AboutSimpleTextComponent\\n        @text={{subPage.subPath}}\\n        @placeholderText=\\\"Add your public url\\\"\\n        @noDataText=\\\"No page yet\\\"\\n        @editableMode={{editableMode}}\\n        @inputClasses={{editableNameInputClasses}}\\n      />\\n    </span>\\n  </div>\\n  <div class=\\\"flex items-center u__mt__10\\\">\\n    <span class=\\\"u__mr__10\\\">\\n      {{ic-interface-icon \\\"share\\\" color=\\\"gray\\\" solo=true}}\\n    </span>\\n    <span class=\\\"flex-auto min-w-0\\\">\\n      <Admin::AboutSimpleTextComponent\\n        @text={{subPage.assetUrl}}\\n        @placeholderText=\\\"Add your asset url\\\"\\n        @noDataText=\\\"No asset yet\\\"\\n        @editableMode={{editableMode}}\\n        @inputClasses={{editableNameInputClasses}}\\n      />\\n    </span>\\n  </div>\\n  {{#if editableMode}}\\n    <IcButton\\n      @icon=\\\"delete\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{fn this.deleteSubPage subPage}}\\n    />\\n  {{/if}}\\n  <hr class=\\\"sp__hr profile__hr\\\" />\\n{{/each}}\\n{{#if editableMode}}\\n  <IcButton\\n    @icon=\\\"new\\\"\\n    @type=\\\"secondary\\\"\\n    @onClick={{this.createNewSubPage}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-center u__mb__10\\\">\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <h3 class=\\\"t__h3\\\">\\n      Intercom Page\\n    </h3>\\n  </div>\\n  {{#if @admin.is_me}}\\n    <div class=\\\"u__ml__10\\\">\\n      {{#if editableMode}}\\n        <IcButton @label=\\\"Done\\\" @type=\\\"primary\\\" @onClick={{this.save}} />\\n      {{else}}\\n        <IcButton\\n          @label=\\\"Edit\\\"\\n          @type=\\\"primary\\\"\\n          @onClick={{this.enterEditMode}}\\n        />\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n</div>\\n<hr class=\\\"sp__hr profile__hr\\\" />\\n<div class=\\\"u__mb__10\\\">\\n  <div class=\\\"flex items-center u__mt__10\\\">\\n    <span class=\\\"u__mr__10\\\">\\n      {{ic-interface-icon \\\"link\\\" color=\\\"gray\\\" solo=true}}\\n    </span>\\n    <span class=\\\"flex-auto min-w-0\\\">\\n      <p class=\\\"u__one-truncated-line mt-1\\\">\\n        pages.intercom.com/\\n      </p>\\n      <Admin::AboutSimpleTextComponent\\n        @text={{settings.publicUrl}}\\n        @placeholderText=\\\"Add your public url\\\"\\n        @noDataText=\\\"No page yet\\\"\\n        @editableMode={{editableMode}}\\n        @inputClasses={{editableNameInputClasses}}\\n      />\\n    </span>\\n  </div>\\n  <div class=\\\"flex items-center u__mt__10\\\">\\n    <span class=\\\"u__mr__10\\\">\\n      {{ic-interface-icon \\\"share\\\" color=\\\"gray\\\" solo=true}}\\n    </span>\\n    <span class=\\\"flex-auto min-w-0\\\">\\n      <Admin::AboutSimpleTextComponent\\n        @text={{settings.assetUrl}}\\n        @placeholderText=\\\"Add your asset url\\\"\\n        @noDataText=\\\"No asset yet\\\"\\n        @editableMode={{editableMode}}\\n        @inputClasses={{editableNameInputClasses}}\\n      />\\n    </span>\\n  </div>\\n</div>\\n<hr class=\\\"sp__hr profile__hr\\\" />\\n<h4 class=\\\"t__h4\\\">\\n  Sub Pages\\n</h4>\\n{{#each settings.subPages as |subPage|}}\\n  <div class=\\\"flex items-center u__mt__10\\\">\\n    <span class=\\\"u__mr__10\\\">\\n      {{ic-interface-icon \\\"link\\\" color=\\\"gray\\\" solo=true}}\\n    </span>\\n    <span class=\\\"flex-auto min-w-0\\\">\\n      <p class=\\\"u__one-truncated-line mt-1\\\">\\n        pages.intercom.com/{{settings.publicUrl}}\\n      </p>\\n      <Admin::AboutSimpleTextComponent\\n        @text={{subPage.subPath}}\\n        @placeholderText=\\\"Add your public url\\\"\\n        @noDataText=\\\"No page yet\\\"\\n        @editableMode={{editableMode}}\\n        @inputClasses={{editableNameInputClasses}}\\n      />\\n    </span>\\n  </div>\\n  <div class=\\\"flex items-center u__mt__10\\\">\\n    <span class=\\\"u__mr__10\\\">\\n      {{ic-interface-icon \\\"share\\\" color=\\\"gray\\\" solo=true}}\\n    </span>\\n    <span class=\\\"flex-auto min-w-0\\\">\\n      <Admin::AboutSimpleTextComponent\\n        @text={{subPage.assetUrl}}\\n        @placeholderText=\\\"Add your asset url\\\"\\n        @noDataText=\\\"No asset yet\\\"\\n        @editableMode={{editableMode}}\\n        @inputClasses={{editableNameInputClasses}}\\n      />\\n    </span>\\n  </div>\\n  {{#if editableMode}}\\n    <IcButton\\n      @icon=\\\"delete\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{fn this.deleteSubPage subPage}}\\n    />\\n  {{/if}}\\n  <hr class=\\\"sp__hr profile__hr\\\" />\\n{{/each}}\\n{{#if editableMode}}\\n  <IcButton\\n    @icon=\\\"new\\\"\\n    @type=\\\"secondary\\\"\\n    @onClick={{this.createNewSubPage}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/admin/intercom-pages-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/admin/intercom-pages-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  appService: service(),\n  store: service(),\n  app: readOnly('appService.app'),\n  language: 'your default language',\n\n  init() {\n    this._super(...arguments);\n    this.getIntercomPageSettings.perform();\n  },\n\n  getIntercomPageSettings: task(function*() {\n    try {\n      let settings = yield this.store.queryRecord('intercom-pages-profile', {});\n      this.set('settings', settings);\n    } catch (e) {\n      if (e.jqXHR.status === 404) {\n        let newSettings = this.store.createRecord('intercom-pages-profile');\n        this.set('settings', newSettings);\n      }\n    }\n  }),\n\n  enterEditMode: action(function() {\n    this.set('editableMode', true);\n  }),\n\n  save: action(function() {\n    this.settings.save();\n    this.get('settings.subPages').forEach(subPage => subPage.save());\n    this.set('editableMode', false);\n  }),\n\n  createNewSubPage: action(function() {\n    this.store.createRecord('intercom-sub-page', {\n      page: this.settings,\n    });\n  }),\n\n  deleteSubPage: action(function(subPage) {\n    subPage.destroyRecord();\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"avatar__container o__s\\\">\\n  {{#if item.assignee.isUnassignedAdmin}}\\n    <span class=\\\"avatar__proxy\\\">\\n      {{inline-svg \\\"unassigned-avatar\\\" class=\\\"avatar__media\\\"}}\\n    </span>\\n  {{else}}\\n    {{ic-avatar model=item.assignee size=\\\"s\\\" contained=true}}\\n  {{/if}}\\n  <span class=\\\"u__truncated-inline-block assignee-selector__assignee-details\\\">\\n    <div class=\\\"assignee-selector__assignee-name u__left\\\">\\n      {{assigneeDisplayName}}\\n    </div>\\n    {{#if\\n      (and\\n        item.showAwayAndReassigningStatus\\n        item.assignee.reassign_conversations\\n      )\\n    }}\\n      <span class=\\\"assignee-selector__assignment\\\" {{tooltip content=(if (has-feature \\\"canAssignToTeamAndTeammate\\\") \\\"Away & unassigning\\\" \\\"Away & reassigning\\\")}}>\\n        {{ic-interface-icon \\\"assignment\\\"}}\\n      </span>\\n    {{/if}}\\n  </span>\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"avatar__container o__s\\\">\\n  {{#if item.assignee.isUnassignedAdmin}}\\n    <span class=\\\"avatar__proxy\\\">\\n      {{inline-svg \\\"unassigned-avatar\\\" class=\\\"avatar__media\\\"}}\\n    </span>\\n  {{else}}\\n    {{ic-avatar model=item.assignee size=\\\"s\\\" contained=true}}\\n  {{/if}}\\n  <span class=\\\"u__truncated-inline-block assignee-selector__assignee-details\\\">\\n    <div class=\\\"assignee-selector__assignee-name u__left\\\">\\n      {{assigneeDisplayName}}\\n    </div>\\n    {{#if\\n      (and\\n        item.showAwayAndReassigningStatus\\n        item.assignee.reassign_conversations\\n      )\\n    }}\\n      <span class=\\\"assignee-selector__assignment\\\" {{tooltip content=(if (has-feature \\\"canAssignToTeamAndTeammate\\\") \\\"Away & unassigning\\\" \\\"Away & reassigning\\\")}}>\\n        {{ic-interface-icon \\\"assignment\\\"}}\\n      </span>\\n    {{/if}}\\n  </span>\\n</span>\\n\",\"moduleName\":\"embercom/components/admin/new-selector-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/admin/new-selector-item.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  assigneeDisplayName: readOnly('item.assignee.display_as_assignee'),\n  attributeBindings: ['assigneeDisplayName:data-assignee'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasBlock}}\\n  <IcSelect\\n    @items={{groupedAssignees}}\\n    @onSelectItem={{onSelectItem}}\\n    @selectedValue={{selectedValue}}\\n    @hasFilter={{true}}\\n    @filterPlaceholder={{filterPlaceholderToUse}}\\n    @initiallyOpened={{initiallyOpened}}\\n    @defaultLabel={{defaultLabel}}\\n    @onClose={{onClose}}\\n    @buttonIsFit={{buttonIsFit}}\\n    @buttonIsSubtle={{buttonIsSubtle}}\\n    @buttonIsTruncated={{buttonIsTruncated}}\\n    @isDisabled={{readOnly}}\\n    @mode={{mode}}\\n    @footerActions={{footerActions}} as |select|\\n  >\\n    <select.opener>\\n      {{yield}}\\n    </select.opener>\\n  </IcSelect>\\n{{else}}\\n  <IcSelect\\n    @items={{groupedAssignees}}\\n    @onSelectItem={{onSelectItem}}\\n    @selectedValue={{selectedValue}}\\n    @hasFilter={{true}}\\n    @filterPlaceholder={{filterPlaceholderToUse}}\\n    @initiallyOpened={{initiallyOpened}}\\n    @defaultLabel={{defaultLabel}}\\n    @onClose={{onClose}}\\n    @buttonIsFit={{buttonIsFit}}\\n    @buttonIsSubtle={{buttonIsSubtle}}\\n    @buttonIsTruncated={{buttonIsTruncated}}\\n    @isDisabled={{readOnly}}\\n    @mode={{mode}}\\n    @footerActions={{footerActions}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasBlock}}\\n  <IcSelect\\n    @items={{groupedAssignees}}\\n    @onSelectItem={{onSelectItem}}\\n    @selectedValue={{selectedValue}}\\n    @hasFilter={{true}}\\n    @filterPlaceholder={{filterPlaceholderToUse}}\\n    @initiallyOpened={{initiallyOpened}}\\n    @defaultLabel={{defaultLabel}}\\n    @onClose={{onClose}}\\n    @buttonIsFit={{buttonIsFit}}\\n    @buttonIsSubtle={{buttonIsSubtle}}\\n    @buttonIsTruncated={{buttonIsTruncated}}\\n    @isDisabled={{readOnly}}\\n    @mode={{mode}}\\n    @footerActions={{footerActions}} as |select|\\n  >\\n    <select.opener>\\n      {{yield}}\\n    </select.opener>\\n  </IcSelect>\\n{{else}}\\n  <IcSelect\\n    @items={{groupedAssignees}}\\n    @onSelectItem={{onSelectItem}}\\n    @selectedValue={{selectedValue}}\\n    @hasFilter={{true}}\\n    @filterPlaceholder={{filterPlaceholderToUse}}\\n    @initiallyOpened={{initiallyOpened}}\\n    @defaultLabel={{defaultLabel}}\\n    @onClose={{onClose}}\\n    @buttonIsFit={{buttonIsFit}}\\n    @buttonIsSubtle={{buttonIsSubtle}}\\n    @buttonIsTruncated={{buttonIsTruncated}}\\n    @isDisabled={{readOnly}}\\n    @mode={{mode}}\\n    @footerActions={{footerActions}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/admin/new-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/admin/new-selector.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { A } from '@ember/array';\nimport { computed } from '@ember/object';\nimport { equal, not, and } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { findByProperty, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport defaultTo from '@intercom/embercom-core/lib/default-to';\n\nexport default Component.extend({\n  classNameBindings: ['isInlineMode:u__display-inline-block'],\n  showTeammates: defaultTo(true),\n  showTeams: defaultTo(false),\n  showRemoveAdmin: defaultTo(false),\n  removeAdminValue: defaultTo(null),\n  initiallyOpened: defaultTo(false),\n  showAwayAndReassigningStatus: defaultTo(true),\n  itemComponent: defaultTo('admin/new-selector-item'),\n  teammatesHeading: defaultTo('Assign to teammate'),\n  teamsHeading: defaultTo('Assign to team'),\n  defaultLabel: defaultTo('Unassigned'),\n  buttonIsSubtle: defaultTo(false),\n  buttonIsTruncated: defaultTo(false),\n  mode: defaultTo('inline'),\n  isInlineMode: equal('mode', 'inline'),\n  onSelectItem: defaultTo(() => {}),\n  onClose: defaultTo(() => {}),\n  footerActions: defaultTo(undefined),\n\n  filterPlaceholderIsNotDefined: equal('filterPlaceholder', undefined),\n  filterPlaceholderIsDefined: not('filterPlaceholderIsNotDefined'),\n  showBothTeammatesAndTeams: and('showTeammates', 'showTeams'),\n  defaultFilterPlaceholderForBothTeammatesAndTeams: 'Search teammates and teams',\n  defaultFilterPlaceholderForJustTeammates: 'Search teammates',\n  defaultFilterPlaceholderForJustTeams: 'Search teams',\n  defaultFilterPlaceholderForSingleObject: ternaryToProperty(\n    'showTeams',\n    'defaultFilterPlaceholderForJustTeams',\n    'defaultFilterPlaceholderForJustTeammates',\n  ),\n  defaultFilterPlaceholder: ternaryToProperty(\n    'showBothTeammatesAndTeams',\n    'defaultFilterPlaceholderForBothTeammatesAndTeams',\n    'defaultFilterPlaceholderForSingleObject',\n  ),\n  filterPlaceholderToUse: ternaryToProperty(\n    'filterPlaceholderIsDefined',\n    'filterPlaceholder',\n    'defaultFilterPlaceholder',\n  ),\n\n  _createGroupItems(group, itemComponent) {\n    return group.map(unformattedItem => {\n      return {\n        text: unformattedItem.get('display_as_assignee'),\n        value: unformattedItem.get('id'),\n        component: itemComponent,\n        isFilterable: true,\n        assignee: unformattedItem,\n        showAwayAndReassigningStatus: this.showAwayAndReassigningStatus,\n      };\n    });\n  },\n  teams: computed('assignees.[]', 'selectedValue', function() {\n    return this.assignees.filter(assignee => {\n      return assignee.get('isTeam') && assignee.get('id') !== this.selectedValue;\n    });\n  }),\n  teammates: computed('assignees.[]', 'selectedValue', function() {\n    return this.assignees.filter(assignee => {\n      return !assignee.get('isTeam') && assignee.get('id') !== this.selectedValue;\n    });\n  }),\n  selectedAssignee: findByProperty('assignees', 'id', 'selectedValue'),\n  teammatesGroup: computed('teammates.[]', 'teammatesHeading', 'itemComponent', function() {\n    return {\n      heading: this.teammatesHeading,\n      items: this._createGroupItems(this.teammates, this.itemComponent),\n    };\n  }),\n  teamsGroup: computed('teams.[]', 'teamsHeading', 'itemComponent', function() {\n    return {\n      heading: this.teamsHeading,\n      items: this._createGroupItems(this.teams, this.itemComponent),\n    };\n  }),\n  selectedAssigneeGroup: computed('selectedAssignee', function() {\n    return {\n      items: this._createGroupItems([this.selectedAssignee], this.itemComponent),\n    };\n  }),\n  groupedAssignees: computed(\n    'teammatesGroup.[]',\n    'teamsGroup.[]',\n    'selectedAssigneeGroup.[]',\n    'showTeammates',\n    'showTeams',\n    'selectedAssignee',\n    function() {\n      let groupedAssignees = [];\n      if (this.showRemoveAdmin) {\n        groupedAssignees = groupedAssignees.concat({\n          text: this.defaultLabel,\n          value: this.removeAdminValue,\n        });\n      }\n      if (this.selectedAssignee) {\n        groupedAssignees = groupedAssignees.concat(this.selectedAssigneeGroup);\n      }\n      if (this.showTeammates) {\n        groupedAssignees = groupedAssignees.concat(this.teammatesGroup);\n      }\n      if (this.showTeams) {\n        groupedAssignees = groupedAssignees.concat(this.teamsGroup);\n      }\n      return A(groupedAssignees);\n    },\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield\\n  (hash\\n    updatedSearch=this.updatedSearch\\n    updatedSearchForInput=this.updatedSearchForInput\\n  )\\n}}\\n{{#if isOpen}}\\n  <div\\n    data-test-admin-selector-dropdown\\n    class=\\\"overlay o__dropdown z__2 {{dropdownAlignmentClass}} {{if use3dFix \\\"u__3dfix\\\"}}\\\"\\n  >\\n    <div class=\\\"pl_admin_selector\\\" tabIndex=\\\"1\\\">\\n      {{#if showSearch}}\\n        <div class=\\\"pl_admin_selector_search_box\\\">\\n          <input\\n            type=\\\"text\\\"\\n            placeholder=\\\"{{placeHolderText}}\\\"\\n            class=\\\"f__text no_toggle\\\"\\n            oninput={{action \\\"updatedSearch\\\"}}\\n            {{auto-focus-element}}\\n          />\\n        </div>\\n      {{/if}}\\n      {{#if (or hasTeammates hasTeams)}}\\n        <div class=\\\"u__one-truncated-line\\\" style={{containerStyle}}>\\n          <EmberCollection\\n            @items={{collectionItems}}\\n            @cell-layout={{fixed-grid-layout itemWidth itemHeight}} as |item index|\\n          >\\n            <div class=\\\"js__admin-list-item\\\" data-index=\\\"{{index}}\\\">\\n              {{#if item.isLabel}}\\n                <div class=\\\"inbox__assignee-dropdown__help-text t__label\\\">\\n                  {{item.text}}\\n                </div>\\n              {{else if item.isEmptyMessage}}\\n                <div class=\\\"text-gray pl_admin_selector_list_not_found\\\">\\n                  {{item.text}}\\n                </div>\\n              {{else}}\\n                {{component\\n                  listElementComponent\\n                  itemAction=this.sendSelectionAction\\n                  admin=item\\n                  baseClasses=\\\"dropdown__list-item\\\"\\n                  showFullName=showFullName\\n                  isActive=(eq index highlightedItemIndex)\\n                }}\\n              {{/if}}\\n            </div>\\n          </EmberCollection>\\n        </div>\\n      {{/if}}\\n      {{#if showInviteLink}}\\n        <InviteTeamMembersLinkComponent @app={{app}} />\\n      {{/if}}\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield\\n  (hash\\n    updatedSearch=this.updatedSearch\\n    updatedSearchForInput=this.updatedSearchForInput\\n  )\\n}}\\n{{#if isOpen}}\\n  <div\\n    data-test-admin-selector-dropdown\\n    class=\\\"overlay o__dropdown z__2 {{dropdownAlignmentClass}} {{if use3dFix \\\"u__3dfix\\\"}}\\\"\\n  >\\n    <div class=\\\"pl_admin_selector\\\" tabIndex=\\\"1\\\">\\n      {{#if showSearch}}\\n        <div class=\\\"pl_admin_selector_search_box\\\">\\n          <input\\n            type=\\\"text\\\"\\n            placeholder=\\\"{{placeHolderText}}\\\"\\n            class=\\\"f__text no_toggle\\\"\\n            oninput={{action \\\"updatedSearch\\\"}}\\n            {{auto-focus-element}}\\n          />\\n        </div>\\n      {{/if}}\\n      {{#if (or hasTeammates hasTeams)}}\\n        <div class=\\\"u__one-truncated-line\\\" style={{containerStyle}}>\\n          <EmberCollection\\n            @items={{collectionItems}}\\n            @cell-layout={{fixed-grid-layout itemWidth itemHeight}} as |item index|\\n          >\\n            <div class=\\\"js__admin-list-item\\\" data-index=\\\"{{index}}\\\">\\n              {{#if item.isLabel}}\\n                <div class=\\\"inbox__assignee-dropdown__help-text t__label\\\">\\n                  {{item.text}}\\n                </div>\\n              {{else if item.isEmptyMessage}}\\n                <div class=\\\"text-gray pl_admin_selector_list_not_found\\\">\\n                  {{item.text}}\\n                </div>\\n              {{else}}\\n                {{component\\n                  listElementComponent\\n                  itemAction=this.sendSelectionAction\\n                  admin=item\\n                  baseClasses=\\\"dropdown__list-item\\\"\\n                  showFullName=showFullName\\n                  isActive=(eq index highlightedItemIndex)\\n                }}\\n              {{/if}}\\n            </div>\\n          </EmberCollection>\\n        </div>\\n      {{/if}}\\n      {{#if showInviteLink}}\\n        <InviteTeamMembersLinkComponent @app={{app}} />\\n      {{/if}}\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/admin/selector-dropdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/admin/selector-dropdown.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { A } from '@ember/array';\nimport $ from 'jquery';\nimport { computed, observer, action } from '@ember/object';\nimport { gt, not, gte, and, notEmpty, lt, sort } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport {\n  equalToProperty,\n  fmtStyle,\n  subtractFrom,\n  ternary,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\n// eslint-disable-next-line @intercom/intercom/no-legacy-dropdown\nimport ComponentDropdownToggler from 'embercom/components/mixins/component-dropdown-toggler';\nimport latinize from 'latinize';\nimport browserScrollbarWidth from 'embercom/lib/scrollbar-width';\nimport { addEventListener, runDisposables } from 'ember-lifeline';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend(ComponentDropdownToggler, {\n  tagName: 'span',\n  paywallService: service(),\n  classNames: ['u__relative'],\n  classNameBindings: ['isOpen:o__opened'],\n  attributeBindings: ['tabindex'],\n  tabindex: ternary('disabled', null, 0),\n  itemHeight: 30,\n  itemWidth: 247,\n  numItemsToDisplay: 12,\n  listItemSelector: '.js__admin-list-item',\n  dropdownAlignmentClass: 'o__down-left',\n  clearInputOnSelect: false,\n  use3dFix: true,\n  listElementComponent: 'admin/selector-item-component',\n  showUnassigned: true,\n  sorted: false,\n  showFullName: true,\n  showTeammates: true,\n  showTeams: false,\n  showSearch: true,\n  hasTeammates: gt('filteredTeammates.length', 0),\n  hasTeams: gt('filteredTeams.length', 0),\n  hasNoTeammates: not('hasTeammates'),\n  hasNoTeams: not('hasTeams'),\n  hasHighlightedItem: gte('highlightedItemIndex', 0),\n  showInviteLink: and('hasNoTeammates', 'hasNoTeams'),\n  sortProperties: ['count:desc', 'name:asc'],\n  adminFilterQuery: '',\n  helpTeammateText: '',\n  helpTeamText: '',\n  hasHelpTeammateText: notEmpty('helpTeammateText'),\n  hasHelpTeamText: notEmpty('helpTeamText'),\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.set('highlightedItemIndex', this.firstSelectableItemIndex);\n    let $el = $(this.element);\n    addEventListener(this, this.element, 'mouseover', event => {\n      let listItemElement = $(event.target, this.element)\n        .closest(this.listItemSelector, $el)\n        .get(0);\n      if (listItemElement) {\n        this.set('highlightedItemIndex', parseInt(listItemElement.dataset.index, 10));\n      }\n    });\n  },\n\n  destroy() {\n    this._super(...arguments);\n    runDisposables(this);\n  },\n\n  // TODO - Computed.findIndex\n  firstSelectableItemIndex: computed('collectionItems', function() {\n    let items = this.collectionItems;\n    for (let i = 0; i < items.get('length'); i++) {\n      if (!items[i].isLabel && !items[i].isEmptyMessage) {\n        return i;\n      }\n    }\n    return -1;\n  }),\n\n  firstItemIsHighlighted: lt('highlightedItemIndex', 1),\n  lastItemIndex: subtractFrom('collectionItems.length', 1),\n  lastItemIsHighlighted: equalToProperty('highlightedItemIndex', 'lastItemIndex'),\n\n  // TODO - Computed.objectAtProperty\n  highlightedItem: computed('collectionItems', 'highlightedItemIndex', function() {\n    this.collectionItems.objectAt(this.highlightedItemIndex);\n  }),\n\n  containerHeight: computed('itemHeight', 'collectionItems.[]', function() {\n    return this.itemHeight * Math.min(this.get('collectionItems.length'), this.numItemsToDisplay);\n  }),\n\n  containerWidth: computed('itemWidth', function() {\n    return this.itemWidth + browserScrollbarWidth();\n  }),\n\n  containerStyle: fmtStyle(\n    'position: relative; height: %@px; width: %@px;',\n    'containerHeight',\n    'containerWidth',\n  ),\n\n  collectionItems: computed(\n    'filteredSelectableTeammatesWithLabel',\n    'filteredSelectableTeamsWithLabel',\n    function() {\n      let items = A();\n      items = items.concat(this.filteredSelectableTeammatesWithLabel);\n      if (this.showTeams) {\n        items = items.concat(this.filteredSelectableTeamsWithLabel);\n      }\n      return items;\n    },\n  ),\n\n  filteredSelectableTeammatesWithLabel: computed('teammates', 'teammateLabelItem', function() {\n    return this.filteredSelectableItemsWithLabel('teammates', 'teammateLabelItem');\n  }),\n\n  filteredSelectableTeamsWithLabel: computed('teams', 'teamLabelItem', function() {\n    return this.filteredSelectableItemsWithLabel('teams', 'teamLabelItem');\n  }),\n\n  filteredSelectableItemsWithLabel(itemsKey, labelsKey) {\n    let teammates = this.get(itemsKey);\n    let labelItem = this.get(labelsKey);\n    let items = [];\n    if (labelItem) {\n      items.push(labelItem);\n    }\n    if (teammates.length > 0) {\n      items = items.concat(teammates);\n    } else if (this.get(`show${itemsKey.capitalize()}`)) {\n      items.push({ isEmptyMessage: true, text: `No ${itemsKey} found` });\n    }\n    return items;\n  },\n\n  teammates: ternaryToProperty('sorted', 'sortedFilteredTeammates', 'filteredTeammates'),\n\n  filteredTeammates: computed('selectableTeammates', 'filterRegExp', function() {\n    return this.selectableTeammates.filter(this.match, this);\n  }),\n\n  sortedTeammates: computed('selectableTeammates', function() {\n    return this.selectableTeammates.sortBy('sortName');\n  }),\n\n  sortedFilteredTeammates: computed('sortedTeammates', 'filterRegExp', function() {\n    return this.sortedTeammates.filter(this.match, this);\n  }),\n\n  teams: ternaryToProperty('sorted', 'sortedFilteredTeams', 'filteredTeams'),\n\n  filteredTeams: computed('selectableTeams', 'filterRegExp', function() {\n    return this.selectableTeams.filter(this.match, this);\n  }),\n\n  sortedFilteredTeams: sort('filteredTeams', 'sortProperties'),\n\n  teammateLabelItem: computed('helpTeammateText', 'showSearch', function() {\n    if (this.hasHelpTeammateText && this.showSearch) {\n      return {\n        isLabel: true,\n        text: this.helpTeammateText,\n      };\n    }\n  }),\n\n  teamLabelItem: computed('helpTeamText', 'showSearch', function() {\n    if (this.hasHelpTeamText && this.showSearch) {\n      return {\n        isLabel: true,\n        text: this.helpTeamText,\n      };\n    }\n  }),\n\n  selectableTeammates: computed('showTeammates', 'selectableItems.[]', function() {\n    if (!this.showTeammates) {\n      return [];\n    }\n    return this.selectableItems.filter(admin => !admin.get('isTeam'));\n  }),\n\n  selectableTeams: computed('showTeams', 'selectableItems.[]', function() {\n    if (!this.showTeams) {\n      return [];\n    }\n    return this.selectableItems.filterBy('isTeam');\n  }),\n\n  selectableItems: computed('admins', function() {\n    let resultSet = [];\n    this.admins.forEach(admin => {\n      if (admin.get('isUnassignedAdmin')) {\n        if (this.showUnassigned) {\n          resultSet.push(admin);\n        }\n      } else if (!admin.get('isBot')) {\n        resultSet.push(admin);\n      }\n    });\n    return resultSet;\n  }),\n\n  match(item) {\n    let rx = this.filterRegExp;\n    let name = item.get('name') || '';\n    let displayAs = item.get('display_as_assignee');\n    let matched = latinize(name).match(rx);\n    if (!matched && displayAs && name !== displayAs) {\n      matched = latinize(displayAs).match(rx);\n    }\n    return matched;\n  },\n\n  filterRegExp: computed('adminFilterQuery', function() {\n    let filter = this.adminFilterQuery || '';\n    return new RegExp(latinize(filter), 'gi');\n  }),\n\n  placeHolderText: computed('selectableTeammates', 'selectableTeams', function() {\n    let properties = this.getProperties('hasTeammates', 'hasTeams');\n    let teammates = properties.hasTeammates ? ' teammates' : '';\n    let conjunction = properties.hasTeammates && properties.hasTeams ? ' and' : '';\n    let teams = properties.hasTeams ? ' teams' : '';\n    return `Search${teammates}${conjunction}${teams}`;\n  }),\n\n  // TODO - Observers should die\n  isOpenChanged: observer({\n    dependentKeys: ['isOpen'],\n\n    fn() {\n      let statsService = this.frontendStats;\n      if (this.isOpen) {\n        // TODO - Register stats service correctly so this can be DI'd for tests\n        if (statsService) {\n          statsService.timeUntilAfterRender('ember_ux_adminSelectorDropdownComponentOpen');\n        }\n      } else {\n        this.handleClose();\n      }\n    },\n\n    sync: true,\n  }),\n\n  handleClose() {\n    this.setProperties({\n      adminFilterQuery: '',\n      highlightedItemIndex: this.firstSelectableItemIndex,\n    });\n  },\n\n  keyDown(e) {\n    let action = {\n      40: 'onDown',\n      38: 'onUp',\n      13: 'onEnter',\n    }[e.which];\n\n    if (action) {\n      this.send(action);\n      e.preventDefault();\n    } else {\n      this._super(...arguments);\n    }\n  },\n\n  updatedSearch: action(function(changeEvent) {\n    this.set('adminFilterQuery', changeEvent.target.value);\n    this.set('highlightedItemIndex', this.firstSelectableItemIndex);\n  }),\n\n  updatedSearchForInput: action(function(input) {\n    this.set('adminFilterQuery', input);\n    this.set('highlightedItemIndex', this.firstSelectableItemIndex);\n  }),\n\n  sendSelectionAction: action(function(model) {\n    // eslint-disable-next-line ember/closure-actions\n    this.sendAction('listElementAction', model);\n  }),\n\n  actions: {\n    open() {\n      if (this.paywallFeature && this.paywallActivated) {\n        this.paywallService\n          .paywall({\n            featureName: this.paywallFeature,\n          })\n          .then(() => {\n            this.send('open', ...arguments);\n          })\n          .catch(this.paywallService.handleError);\n        return;\n      }\n      this._super(...arguments);\n    },\n\n    onEnter() {\n      if (this.hasHighlightedItem) {\n        $('.o__selected:visible', this.element).click();\n      }\n    },\n\n    onUp() {\n      if (!this.firstItemIsHighlighted) {\n        this.decrementProperty('highlightedItemIndex');\n      }\n    },\n\n    onDown() {\n      if (!this.lastItemIsHighlighted) {\n        this.incrementProperty('highlightedItemIndex');\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- prettier-ignore-file --}}\\n<span class=\\\"avatar__container o__s\\\">\\n  <span\\n    data-test-admin-list-item={{admin.display_as_assignee}}\\n    {{tooltip content=(if (has-feature \\\"canAssignToTeamAndTeammate\\\") \\\"Away & unassigning\\\" \\\"Away & reassigning\\\") isDisabled=(not admin.reassign_conversations)}}\\n  >\\n    {{ic-avatar model=admin size='s' contained=true}}\\n    {{admin.display_as_assignee}}\\n    {{#if admin.reassign_conversations}}\\n      {{ic-interface-icon 'assignment' color='gray'}}\\n    {{/if}}\\n  </span>\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- prettier-ignore-file --}}\\n<span class=\\\"avatar__container o__s\\\">\\n  <span\\n    data-test-admin-list-item={{admin.display_as_assignee}}\\n    {{tooltip content=(if (has-feature \\\"canAssignToTeamAndTeammate\\\") \\\"Away & unassigning\\\" \\\"Away & reassigning\\\") isDisabled=(not admin.reassign_conversations)}}\\n  >\\n    {{ic-avatar model=admin size='s' contained=true}}\\n    {{admin.display_as_assignee}}\\n    {{#if admin.reassign_conversations}}\\n      {{ic-interface-icon 'assignment' color='gray'}}\\n    {{/if}}\\n  </span>\\n</span>\\n\",\"moduleName\":\"embercom/components/admin/selector-item-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/admin/selector-item-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  classNameBindings: [':dropdown__list-item', 'isActive:o__selected'],\n  click() {\n    // eslint-disable-next-line ember/closure-actions\n    this.sendAction('itemAction', this.admin);\n  },\n});\n","import AnchorEditor from '@intercom/embercom-composer/components/anchor-editor';\nexport default AnchorEditor;\n","define(\"embercom/components/animated-beacon\", [\"exports\", \"ember-animated/components/animated-beacon\"], function (_exports, _animatedBeacon) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _animatedBeacon.default;\n    }\n  });\n});\n","define(\"embercom/components/animated-container\", [\"exports\", \"ember-animated/components/animated-container\"], function (_exports, _animatedContainer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _animatedContainer.default;\n    }\n  });\n});\n","define(\"embercom/components/animated-each\", [\"exports\", \"ember-animated/components/animated-each\"], function (_exports, _animatedEach) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _animatedEach.default;\n    }\n  });\n});\n","define(\"embercom/components/animated-if\", [\"exports\", \"ember-animated/components/animated-if\"], function (_exports, _animatedIf) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _animatedIf.default;\n    }\n  });\n});\n","define(\"embercom/components/animated-orphans\", [\"exports\", \"ember-animated/components/animated-orphans\"], function (_exports, _animatedOrphans) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _animatedOrphans.default;\n    }\n  });\n});\n","define(\"embercom/components/animated-value\", [\"exports\", \"ember-animated/components/animated-value\"], function (_exports, _animatedValue) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _animatedValue.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col flex-1 pb-4 gap-1\\\" data-test-title-input-container>\\n  <Common::HamburgerMenu @includePadding={{false}}>\\n    <div class=\\\"layout__box o__has-columns o__flexes-to-1\\\">\\n      <div class=\\\"layout__box o__has-columns o__flexes-to-1\\\">\\n        <Pulse::ExpandingInput\\n          @value={{if @isEditing @answer.title @answer.displayTitle}}\\n          @onUpdate={{set @answer.title}}\\n          @isReadOnly={{not @isEditing}}\\n          placeholder=\\\"Enter a title\\\"\\n          maxlength={{255}}\\n          class=\\\"t__h1 min-w-3 max-w-128\\\"\\n          data-test-answer-title-input\\n        />\\n        <div class=\\\"u__ml__10 layout__box u__center-layout\\\">\\n          {{ic-stamp (capitalize @answer.status)}}\\n        </div>\\n      </div>\\n      <div class=\\\"layout__box o__has-columns\\\" data-test-buttons>\\n        {{#if @isEditing}}\\n          <div class=\\\"layout__box\\\">\\n            <IcButton\\n              data-test-answer-editor-cancel-button\\n              @label=\\\"Cancel\\\"\\n              @type=\\\"secondary\\\"\\n              @inRightList={{true}}\\n              @icon=\\\"close\\\"\\n              @onClick={{this.cancel}}\\n            />\\n          </div>\\n          <div class=\\\"layout__box\\\">\\n            <IcButton\\n              data-test-answer-editor-save-button\\n              @icon=\\\"check\\\"\\n              @label={{if this.save.isRunning \\\"Saving...\\\" \\\"Save and close\\\"}}\\n              @type=\\\"primary\\\"\\n              @inRightList={{true}}\\n              @isDisabled={{not this.saveButtonIsEnabled}}\\n              @onClick={{this.saveChanges}}\\n            />\\n          </div>\\n        {{else}}\\n          <IcButtonList as |list|>\\n            <div class=\\\"layout__box\\\">\\n              <list.button\\n                data-test-answer-editor-delete-button\\n                @icon=\\\"delete\\\"\\n                @label=\\\"Delete answer\\\"\\n                @type=\\\"secondary\\\"\\n                @onClick={{perform this.delete}}\\n              />\\n            </div>\\n            <div class=\\\"layout__box\\\">\\n              {{#if @answer.isLive}}\\n                <list.button\\n                  data-test-answer-editor-pause-button\\n                  @label=\\\"Pause\\\"\\n                  @type=\\\"secondary\\\"\\n                  @icon=\\\"pause\\\"\\n                  @onClick={{this.pause}}\\n                />\\n              {{else}}\\n                <Paywall @featureKey=\\\"answer_workflows\\\" as |paywall|>\\n                  <span\\n                    {{tooltip content=\\\"Finish editing this answer to set it live\\\" isDisabled=this.canBeSetLive}}\\n                    data-test-set-live-disabled-tooltip\\n                  >\\n                    <paywall.Hover>\\n                      <list.button\\n                        data-test-answer-editor-live-button\\n                        @type=\\\"primary-live\\\"\\n                        @disabled={{or (not this.canBeSetLive) paywall.isActive}}\\n                        @onClick={{this.setLive}}\\n                      >\\n                        {{ic-interface-icon \\\"put-live\\\"}} Set it live {{if @answer.isPaused \\\"again\\\"}}\\n                      </list.button>\\n                    </paywall.Hover>\\n                  </span>\\n                </Paywall>\\n              {{/if}}\\n            </div>\\n            <div class=\\\"layout__box\\\">\\n              <list.button\\n                data-test-answer-editor-edit-button\\n                @icon=\\\"edit\\\"\\n                @label=\\\"Edit answer\\\"\\n                @type=\\\"primary\\\"\\n                @onClick={{this.editAnswer}}\\n              />\\n            </div>\\n          </IcButtonList>\\n        {{/if}}\\n      </div>\\n    </div>\\n  </Common::HamburgerMenu>\\n\\n  {{#if @isEditing}}\\n    <p class=\\\"text-gray pl-8\\\">\\n      Your customers could see this title when interacting with Resolution Bot.\\n      <IcTooltipIcon>\\n        Sometimes the bot's first answer isn't helpful enough. When Resolution Bot shows more answers, this title might be displayed and could be truncated if it's too long.\\n      </IcTooltipIcon>\\n    </p>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col flex-1 pb-4 gap-1\\\" data-test-title-input-container>\\n  <Common::HamburgerMenu @includePadding={{false}}>\\n    <div class=\\\"layout__box o__has-columns o__flexes-to-1\\\">\\n      <div class=\\\"layout__box o__has-columns o__flexes-to-1\\\">\\n        <Pulse::ExpandingInput\\n          @value={{if @isEditing @answer.title @answer.displayTitle}}\\n          @onUpdate={{set @answer.title}}\\n          @isReadOnly={{not @isEditing}}\\n          placeholder=\\\"Enter a title\\\"\\n          maxlength={{255}}\\n          class=\\\"t__h1 min-w-3 max-w-128\\\"\\n          data-test-answer-title-input\\n        />\\n        <div class=\\\"u__ml__10 layout__box u__center-layout\\\">\\n          {{ic-stamp (capitalize @answer.status)}}\\n        </div>\\n      </div>\\n      <div class=\\\"layout__box o__has-columns\\\" data-test-buttons>\\n        {{#if @isEditing}}\\n          <div class=\\\"layout__box\\\">\\n            <IcButton\\n              data-test-answer-editor-cancel-button\\n              @label=\\\"Cancel\\\"\\n              @type=\\\"secondary\\\"\\n              @inRightList={{true}}\\n              @icon=\\\"close\\\"\\n              @onClick={{this.cancel}}\\n            />\\n          </div>\\n          <div class=\\\"layout__box\\\">\\n            <IcButton\\n              data-test-answer-editor-save-button\\n              @icon=\\\"check\\\"\\n              @label={{if this.save.isRunning \\\"Saving...\\\" \\\"Save and close\\\"}}\\n              @type=\\\"primary\\\"\\n              @inRightList={{true}}\\n              @isDisabled={{not this.saveButtonIsEnabled}}\\n              @onClick={{this.saveChanges}}\\n            />\\n          </div>\\n        {{else}}\\n          <IcButtonList as |list|>\\n            <div class=\\\"layout__box\\\">\\n              <list.button\\n                data-test-answer-editor-delete-button\\n                @icon=\\\"delete\\\"\\n                @label=\\\"Delete answer\\\"\\n                @type=\\\"secondary\\\"\\n                @onClick={{perform this.delete}}\\n              />\\n            </div>\\n            <div class=\\\"layout__box\\\">\\n              {{#if @answer.isLive}}\\n                <list.button\\n                  data-test-answer-editor-pause-button\\n                  @label=\\\"Pause\\\"\\n                  @type=\\\"secondary\\\"\\n                  @icon=\\\"pause\\\"\\n                  @onClick={{this.pause}}\\n                />\\n              {{else}}\\n                <Paywall @featureKey=\\\"answer_workflows\\\" as |paywall|>\\n                  <span\\n                    {{tooltip content=\\\"Finish editing this answer to set it live\\\" isDisabled=this.canBeSetLive}}\\n                    data-test-set-live-disabled-tooltip\\n                  >\\n                    <paywall.Hover>\\n                      <list.button\\n                        data-test-answer-editor-live-button\\n                        @type=\\\"primary-live\\\"\\n                        @disabled={{or (not this.canBeSetLive) paywall.isActive}}\\n                        @onClick={{this.setLive}}\\n                      >\\n                        {{ic-interface-icon \\\"put-live\\\"}} Set it live {{if @answer.isPaused \\\"again\\\"}}\\n                      </list.button>\\n                    </paywall.Hover>\\n                  </span>\\n                </Paywall>\\n              {{/if}}\\n            </div>\\n            <div class=\\\"layout__box\\\">\\n              <list.button\\n                data-test-answer-editor-edit-button\\n                @icon=\\\"edit\\\"\\n                @label=\\\"Edit answer\\\"\\n                @type=\\\"primary\\\"\\n                @onClick={{this.editAnswer}}\\n              />\\n            </div>\\n          </IcButtonList>\\n        {{/if}}\\n      </div>\\n    </div>\\n  </Common::HamburgerMenu>\\n\\n  {{#if @isEditing}}\\n    <p class=\\\"text-gray pl-8\\\">\\n      Your customers could see this title when interacting with Resolution Bot.\\n      <IcTooltipIcon>\\n        Sometimes the bot's first answer isn't helpful enough. When Resolution Bot shows more answers, this title might be displayed and could be truncated if it's too long.\\n      </IcTooltipIcon>\\n    </p>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/answer-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/answer-header.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { task } from 'ember-concurrency-decorators';\nimport { intercomPromiseConfirm } from 'embercom/lib/intercom-confirm';\nimport { ANSWER_BOT_ESSENTIAL_ID } from 'embercom/lib/billing';\n\nexport default class AnswerHeader extends Component {\n  @service intercomEventService;\n  @service notificationsService;\n  @service permissionsService;\n  @service router;\n  @service appService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  answerBotPlanId = ANSWER_BOT_ESSENTIAL_ID;\n\n  get saveButtonIsEnabled() {\n    return this.args.answer.isThisOrRulesetDirty && this.args.answer.isNotUploading;\n  }\n\n  get canBeSetLive() {\n    return this.args.answer.titleIsComplete && this.args.answer.answerCanBeSetLive;\n  }\n\n  get answerHasChangedRuleset() {\n    return this.args.answer.ruleset.hasDirtyAttributes;\n  }\n\n  @task\n  *updateAnswerStatus(status) {\n    let answer = this.args.answer;\n    answer.set('status', status);\n\n    try {\n      yield answer.save();\n      this.intercomEventService.trackEvent('answer-bot-interacted');\n      if (status === 'live') {\n        this.intercomEventService.trackEvent(`answer-bot-answer-saved-live`);\n      }\n      let message = status === 'live' ? 'The answer was set live.' : 'The answer was paused.';\n      this.notificationsService.notifyConfirmation(message);\n    } catch (e) {\n      let actionText = status === 'live' ? 'pause this answer' : 'set this answer live';\n      answer.rollbackAttributes();\n      this.notificationsService.notifyError(\n        `Something went wrong and we couldn't ${actionText}. Please try again.`,\n      );\n    }\n  }\n\n  @task\n  *confirmDeleteAnswer() {\n    return yield intercomPromiseConfirm(this, {\n      title: 'Delete this answer?',\n      body: `Are you sure you want to delete this ${this.args.answer.status} answer?`,\n      confirmButtonText: 'Delete',\n    });\n  }\n\n  @task\n  *delete() {\n    yield this.permissionsService.checkPermission('can_create_and_edit_bots');\n\n    let confirmed = yield this.confirmDeleteAnswer.perform();\n\n    if (!confirmed) {\n      return;\n    }\n\n    try {\n      yield this.args.answer.destroyRecord();\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'deleted',\n        object: this.args.answer,\n      });\n      this.intercomEventService.trackEvent('answer-bot-interacted');\n      this.notificationsService.notifyConfirmation('The answer was successfully deleted.');\n    } catch (e) {\n      this.notificationsService.notifyError(\n        `Something went wrong and we couldn't delete this answer. Please try again.`,\n      );\n    }\n    this.router.transitionTo('apps.app.operator.resolution-bot.answers');\n  }\n\n  @action\n  async setLive() {\n    if (!this.app.hasAnswerBot && this.app.answerBotIsNotActive) {\n      return;\n    }\n\n    await this.permissionsService.checkPermission('can_create_and_edit_bots');\n\n    if (this.answerHasChangedRuleset) {\n      this.intercomEventService.trackEvent('answer-bot-changed-answer-audience');\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'set_live',\n      object: this.args.answer,\n      context: 'top_nav',\n    });\n    this.updateAnswerStatus.perform('live');\n  }\n\n  @action\n  async pause() {\n    await this.permissionsService.checkPermission('can_create_and_edit_bots');\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'paused',\n      object: this.args.answer,\n      context: 'top_nav',\n    });\n    this.updateAnswerStatus.perform('paused');\n  }\n\n  @action\n  editAnswer() {\n    let answer = this.args.answer;\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'edit_answer',\n    });\n    this.router.transitionTo(\n      'apps.app.operator.resolution-bot.answers.answer.edit',\n      answer.get('id'),\n    );\n  }\n\n  @action\n  saveChanges() {\n    this.intercomEventService.trackEvent('answer-bot-interacted');\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'saved',\n      object: this.args.answer,\n      context: 'top_nav',\n    });\n    if (this.answerHasChangedRuleset) {\n      this.intercomEventService.trackEvent('answer-bot-changed-answer-audience');\n    }\n    return this.args.save.perform();\n  }\n\n  @action\n  cancel() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'cancel_editor',\n      context: 'top_nav',\n    });\n\n    this.args.answer.rollbackAttributes();\n    if (this.args.redirectToShowPageOnCancel) {\n      this.router.transitionTo('apps.app.operator.resolution-bot.answers.answer.show.index');\n    } else {\n      this.router.transitionTo('apps.app.operator.resolution-bot.answers');\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcSelect\\n  data-test-language-filter\\n  @items={{array\\n    (hash text='All languages' value=null)\\n    (hash text='English' value='en')\\n    (hash text='French' value='fr')\\n    (hash text='German' value='de')\\n    (hash text='Italian' value='it')\\n    (hash text='Portuguese (Brazilian)' value='pt-BR')\\n    (hash text='Russian' value='ru')\\n    (hash text='Spanish' value='es')\\n  }}\\n  @onSelectItem={{@onSelectItem}}\\n  @selectedValue={{@selectedValue}}\\n/>\", {\"contents\":\"<IcSelect\\n  data-test-language-filter\\n  @items={{array\\n    (hash text='All languages' value=null)\\n    (hash text='English' value='en')\\n    (hash text='French' value='fr')\\n    (hash text='German' value='de')\\n    (hash text='Italian' value='it')\\n    (hash text='Portuguese (Brazilian)' value='pt-BR')\\n    (hash text='Russian' value='ru')\\n    (hash text='Spanish' value='es')\\n  }}\\n  @onSelectItem={{@onSelectItem}}\\n  @selectedValue={{@selectedValue}}\\n/>\",\"moduleName\":\"embercom/components/answers/answer-language-select.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/answer-language-select.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col\\\" data-test-answers-list>\\n  <div class=\\\"flex flex-row justify-between u__mb__20\\\">\\n    <div class=\\\"flex flex-row items-center gap-3\\\">\\n      {{#if (has-feature \\\"answerbot-multilingual\\\")}}\\n        <IcRadioButtonGroup\\n          @selectedValue={{@status}}\\n          @onSelectionChange={{this.onStatusChange}}\\n          as |group|\\n        >\\n          {{#each\\n            (array\\n              (hash status=\\\"all\\\" title=\\\"All\\\")\\n              (hash status=\\\"live\\\" title=\\\"Live\\\")\\n              (hash status=\\\"draft\\\" title=\\\"Draft\\\")\\n              (hash status=\\\"paused\\\" title=\\\"Paused\\\")\\n              (hash\\n                status=\\\"underperforming\\\"\\n                title=\\\"Underperforming\\\"\\n                showUnderperformingTooltip=true\\n                isHidden=(not this.hasUnderperformingAnswers)\\n              )\\n            ) as |item|\\n          }}\\n            {{#unless item.isHidden}}\\n              <group.button\\n                @label={{item.title}}\\n                @value={{item.status}}\\n                title=\\\"{{item.title}} ({{numeric-formatter-helper (get this.answersCountByState item.status)}})\\\"\\n                data-test-answers-list-state-link={{item.status}}\\n              />\\n            {{/unless}}\\n          {{/each}}\\n        </IcRadioButtonGroup>\\n        <div class=\\\"flex flex-col justify-center\\\">\\n          in\\n        </div>\\n        <div class=\\\"flex flex-col justify-center\\\">\\n          <Answers::AnswerLanguageSelect\\n            @onSelectItem={{this.filterByLanguage}}\\n            @selectedValue={{@languageCode}}\\n          />\\n        </div>\\n      {{else}}\\n        {{#each\\n          (array\\n            (hash status=\\\"all\\\" title=\\\"All answers\\\")\\n            (hash status=\\\"live\\\" title=\\\"Live\\\")\\n            (hash status=\\\"draft\\\" title=\\\"Drafts\\\")\\n            (hash status=\\\"paused\\\" title=\\\"Paused\\\")\\n            (hash\\n              status=\\\"underperforming\\\"\\n              title=\\\"Underperforming\\\"\\n              showUnderperformingTooltip=true\\n              isHidden=(not this.hasUnderperformingAnswers)\\n            )\\n          ) as |item|\\n        }}\\n          {{#unless item.isHidden}}\\n            <a\\n              href={{href-to \\\"apps.app.operator.resolution-bot.answers.index\\\" (query-params status=item.status language=@languageCode)}}\\n              class=\\\"tabs__discrete-tab answers__index__filter-tab {{if (eq @status item.status) \\\"o__selected\\\"}}\\\"\\n              data-test-answers-list-state-link={{item.status}}\\n              {{on \\\"click\\\" (track-analytics-event action=\\\"filter_toggled\\\" object=\\\"answers\\\" context=\\\"answers_index\\\" filter_value=item.status)}}\\n            >\\n              <span>\\n                {{item.title}}\\n                <span\\n                  class=\\\"tabs__tab__counter\\\"\\n                  data-test-answers-list-count={{item.status}}\\n                >\\n                  ({{numeric-formatter-helper (get this.answersCountByState item.status)}})\\n                </span>\\n\\n                {{#if item.showUnderperformingTooltip}}\\n                  <IcTooltipIcon @isInteractive={{true}}>\\n                    These answers seem to be underperforming. You may be able to improve their performance by following these\\n                    <Pulse::HelpContent::Link\\n                      @href=\\\"https://www.intercom.com/help/en/articles/2408827-train-answer-bot-to-provide-more-resolutions\\\"\\n                      @title=\\\"tips and tricks\\\"\\n                      @linkStyling=\\\"inline\\\"\\n                      @type=\\\"article\\\"\\n                    />\\n                  </IcTooltipIcon>\\n                {{/if}}\\n              </span>\\n            </a>\\n          {{/unless}}\\n        {{/each}}\\n      {{/if}}\\n    </div>\\n  </div>\\n\\n  {{#if this.displayedAnswers}}\\n    <Answers::AnswersList::AnswerListTable\\n      @answers={{this.displayedAnswers}}\\n      @status={{@status}}\\n      class=\\\"u__overflow-x-auto\\\"\\n    />\\n  {{else}}\\n    {{#if (eq @status \\\"all\\\")}}\\n      <IcEmptyState @icon=\\\"respond\\\" @title=\\\"No answers yet\\\" as |emptyState|>\\n        <emptyState.description>\\n          <p class=\\\"answers__index__wrap\\\">\\n            The more answers you add, the more conversations Resolution Bot can cover – which means less work for your team. Try starting with the ten questions you get the most.\\n          </p>\\n        </emptyState.description>\\n      </IcEmptyState>\\n    {{else}}\\n      <IcEmptyState\\n        @icon=\\\"respond\\\"\\n        @title={{concat \\\"No \\\" @status \\\" answers yet\\\"}}\\n      />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col\\\" data-test-answers-list>\\n  <div class=\\\"flex flex-row justify-between u__mb__20\\\">\\n    <div class=\\\"flex flex-row items-center gap-3\\\">\\n      {{#if (has-feature \\\"answerbot-multilingual\\\")}}\\n        <IcRadioButtonGroup\\n          @selectedValue={{@status}}\\n          @onSelectionChange={{this.onStatusChange}}\\n          as |group|\\n        >\\n          {{#each\\n            (array\\n              (hash status=\\\"all\\\" title=\\\"All\\\")\\n              (hash status=\\\"live\\\" title=\\\"Live\\\")\\n              (hash status=\\\"draft\\\" title=\\\"Draft\\\")\\n              (hash status=\\\"paused\\\" title=\\\"Paused\\\")\\n              (hash\\n                status=\\\"underperforming\\\"\\n                title=\\\"Underperforming\\\"\\n                showUnderperformingTooltip=true\\n                isHidden=(not this.hasUnderperformingAnswers)\\n              )\\n            ) as |item|\\n          }}\\n            {{#unless item.isHidden}}\\n              <group.button\\n                @label={{item.title}}\\n                @value={{item.status}}\\n                title=\\\"{{item.title}} ({{numeric-formatter-helper (get this.answersCountByState item.status)}})\\\"\\n                data-test-answers-list-state-link={{item.status}}\\n              />\\n            {{/unless}}\\n          {{/each}}\\n        </IcRadioButtonGroup>\\n        <div class=\\\"flex flex-col justify-center\\\">\\n          in\\n        </div>\\n        <div class=\\\"flex flex-col justify-center\\\">\\n          <Answers::AnswerLanguageSelect\\n            @onSelectItem={{this.filterByLanguage}}\\n            @selectedValue={{@languageCode}}\\n          />\\n        </div>\\n      {{else}}\\n        {{#each\\n          (array\\n            (hash status=\\\"all\\\" title=\\\"All answers\\\")\\n            (hash status=\\\"live\\\" title=\\\"Live\\\")\\n            (hash status=\\\"draft\\\" title=\\\"Drafts\\\")\\n            (hash status=\\\"paused\\\" title=\\\"Paused\\\")\\n            (hash\\n              status=\\\"underperforming\\\"\\n              title=\\\"Underperforming\\\"\\n              showUnderperformingTooltip=true\\n              isHidden=(not this.hasUnderperformingAnswers)\\n            )\\n          ) as |item|\\n        }}\\n          {{#unless item.isHidden}}\\n            <a\\n              href={{href-to \\\"apps.app.operator.resolution-bot.answers.index\\\" (query-params status=item.status language=@languageCode)}}\\n              class=\\\"tabs__discrete-tab answers__index__filter-tab {{if (eq @status item.status) \\\"o__selected\\\"}}\\\"\\n              data-test-answers-list-state-link={{item.status}}\\n              {{on \\\"click\\\" (track-analytics-event action=\\\"filter_toggled\\\" object=\\\"answers\\\" context=\\\"answers_index\\\" filter_value=item.status)}}\\n            >\\n              <span>\\n                {{item.title}}\\n                <span\\n                  class=\\\"tabs__tab__counter\\\"\\n                  data-test-answers-list-count={{item.status}}\\n                >\\n                  ({{numeric-formatter-helper (get this.answersCountByState item.status)}})\\n                </span>\\n\\n                {{#if item.showUnderperformingTooltip}}\\n                  <IcTooltipIcon @isInteractive={{true}}>\\n                    These answers seem to be underperforming. You may be able to improve their performance by following these\\n                    <Pulse::HelpContent::Link\\n                      @href=\\\"https://www.intercom.com/help/en/articles/2408827-train-answer-bot-to-provide-more-resolutions\\\"\\n                      @title=\\\"tips and tricks\\\"\\n                      @linkStyling=\\\"inline\\\"\\n                      @type=\\\"article\\\"\\n                    />\\n                  </IcTooltipIcon>\\n                {{/if}}\\n              </span>\\n            </a>\\n          {{/unless}}\\n        {{/each}}\\n      {{/if}}\\n    </div>\\n  </div>\\n\\n  {{#if this.displayedAnswers}}\\n    <Answers::AnswersList::AnswerListTable\\n      @answers={{this.displayedAnswers}}\\n      @status={{@status}}\\n      class=\\\"u__overflow-x-auto\\\"\\n    />\\n  {{else}}\\n    {{#if (eq @status \\\"all\\\")}}\\n      <IcEmptyState @icon=\\\"respond\\\" @title=\\\"No answers yet\\\" as |emptyState|>\\n        <emptyState.description>\\n          <p class=\\\"answers__index__wrap\\\">\\n            The more answers you add, the more conversations Resolution Bot can cover – which means less work for your team. Try starting with the ten questions you get the most.\\n          </p>\\n        </emptyState.description>\\n      </IcEmptyState>\\n    {{else}}\\n      <IcEmptyState\\n        @icon=\\\"respond\\\"\\n        @title={{concat \\\"No \\\" @status \\\" answers yet\\\"}}\\n      />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/answer-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/answer-list.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class AnswerList extends Component {\n  @service router;\n  @service intercomEventService;\n\n  get filteredAnswers() {\n    if (this.args.languageCode) {\n      return this.args.answers.filter(answer => answer.languageCode === this.args.languageCode);\n    } else {\n      return this.args.answers;\n    }\n  }\n\n  get filteredAnswersWithContent() {\n    return this.filteredAnswers.filter(answer => answer.hasContent);\n  }\n\n  get filteredUnderperformingAnswers() {\n    return this.filteredAnswers.filter(answer => answer.stats?.isUnderperforming);\n  }\n\n  get hasUnderperformingAnswers() {\n    return this.args.answers.any(answer => answer.stats?.isUnderperforming);\n  }\n\n  get displayedAnswers() {\n    if (this.args.status === 'all') {\n      return this.filteredAnswersWithContent;\n    } else if (this.args.status === 'underperforming') {\n      return this.filteredUnderperformingAnswers;\n    } else {\n      return this.filteredAnswersWithContent.filter(answer => answer.status === this.args.status);\n    }\n  }\n\n  get answersCountByState() {\n    let initialCount = {\n      all: this.filteredAnswers.length,\n      live: 0,\n      draft: 0,\n      paused: 0,\n      underperforming: this.filteredUnderperformingAnswers.length,\n    };\n    return this.filteredAnswers.reduce(function(counts, answer) {\n      counts[answer.status] += 1;\n      return counts;\n    }, initialCount);\n  }\n\n  @action\n  filterByLanguage(languageCode) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'language_selected',\n      object: 'answers',\n      context: 'answers_index',\n      language_code: languageCode,\n    });\n    this.router.transitionTo({\n      queryParams: { language: languageCode },\n    });\n  }\n\n  @action\n  onStatusChange(status) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filter_toggled',\n      object: 'answers',\n      context: 'answers_index',\n      filter_value: status,\n    });\n    this.router.transitionTo({\n      queryParams: { status },\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<Performance::MeasureRenderTime @subject=\\\"component:answers/answer-list/answer-list-table\\\">\\n  {{#let (has-feature \\\"answerbot-multilingual\\\") as |hasMultilingual|}}\\n    <table\\n      {{did-insert this.applyDefaultSort @status}}\\n      {{did-update this.applyDefaultSort @status}}\\n      class=\\\"answers__index__simple-table\\\"\\n    >\\n      <tr>\\n        {{!-- Title --}}\\n        <th\\n          class=\\\"u__padt__10 u__padb__10 answers__index__table-header table__header__sortable-column__toggle\\\"\\n          {{on \\\"click\\\" (fn this.sort \\\"title\\\")}}\\n        >\\n          <span class=\\\"t__label u__left\\\">\\n            <span class=\\\"answers__index__table-header-text\\\">\\n              Title\\n            </span>\\n            <Answers::AnswersList::SortIcon\\n              @columnName=\\\"title\\\"\\n              @sortBy={{this.sortBy}}\\n              @sortDirection={{this.sortDirection}}\\n            />\\n          </span>\\n        </th>\\n\\n        {{#if hasMultilingual}}\\n          {{!-- Language --}}\\n          <th class=\\\"u__padt__10 u__padb__10 u__padr__10 answers__index__table-header\\\">\\n            <span class=\\\"t__label hover:text-blue\\\">\\n              Language\\n            </span>\\n          </th>\\n        {{/if}}\\n\\n        {{!-- Sent --}}\\n        <th\\n          class=\\\"u__padt__10 u__padb__10 answers__index__table-header table__header__sortable-column__toggle\\\"\\n          {{on \\\"click\\\" (fn this.sort \\\"stats.conversationCount\\\")}}\\n        >\\n          <span class=\\\"t__label u__left u__one-truncated-line\\\">\\n            <span class=\\\"answers__index__table-header-text\\\">\\n              Sent\\n            </span>\\n            <Answers::AnswersList::SortIcon\\n              @columnName=\\\"stats.conversationCount\\\"\\n              @sortBy={{this.sortBy}}\\n              @sortDirection={{this.sortDirection}}\\n            />\\n          </span>\\n        </th>\\n        {{!-- Resolved --}}\\n        <th\\n          class=\\\"u__padt__10 u__padb__10 answers__index__table-header table__header__sortable-column__toggle\\\"\\n          {{on \\\"click\\\" (fn this.sort \\\"stats.effectivenessPercentage\\\")}}\\n        >\\n          <span class=\\\"t__label u__left u__one-truncated-line\\\">\\n            <span class=\\\"answers__index__table-header-text\\\">\\n              Resolved\\n            </span>\\n            <IcTooltipIcon @content=\\\"Conversations where the customer either clicked 'That helped 👍' or left the conversation\\\" />\\n            <Answers::AnswersList::SortIcon\\n              @columnName=\\\"stats.effectivenessPercentage\\\"\\n              @sortBy={{this.sortBy}}\\n              @sortDirection={{this.sortDirection}}\\n            />\\n          </span>\\n        </th>\\n        {{!-- Routed to team --}}\\n        <th\\n          class=\\\"u__padt__10 u__padb__10 answers__index__table-header table__header__sortable-column__toggle\\\"\\n          {{on \\\"click\\\" (fn this.sort \\\"stats.waitForTeamPercentage\\\")}}\\n        >\\n          <span class=\\\"t__label u__left u__one-truncated-line\\\">\\n            <span class=\\\"answers__index__table-header-text\\\">\\n              Routed to team\\n            </span>\\n            <IcTooltipIcon @content=\\\"Conversations where the customer either clicked 'Wait for the team 💬' or typed a reply\\\" />\\n            <Answers::AnswersList::SortIcon\\n              @columnName=\\\"stats.waitForTeamPercentage\\\"\\n              @sortBy={{this.sortBy}}\\n              @sortDirection={{this.sortDirection}}\\n            />\\n          </span>\\n        </th>\\n        {{!-- Last sent --}}\\n        <th\\n          class=\\\"u__padt__10 u__padb__10 answers__index__table-header table__header__sortable-column__toggle\\\"\\n          {{on \\\"click\\\" (fn this.sort \\\"lastInterjectionAt\\\")}}\\n        >\\n          <span class=\\\"t__label u__left u__one-truncated-line\\\">\\n            <span class=\\\"answers__index__table-header-text\\\">\\n              {{ic-interface-icon \\\"calendar\\\"}}\\n            </span>\\n            <span class=\\\"answers__index__table-header-text\\\">\\n              Last sent\\n            </span>\\n            <Answers::AnswersList::SortIcon\\n              @columnName=\\\"lastInterjectionAt\\\"\\n              @sortBy={{this.sortBy}}\\n              @sortDirection={{this.sortDirection}}\\n            />\\n          </span>\\n        </th>\\n        {{!-- Created --}}\\n        <th\\n          class=\\\"u__padt__10 u__padb__10 answers__index__table-header table__header__sortable-column__toggle\\\"\\n          {{on \\\"click\\\" (fn this.sort \\\"createdAt\\\")}}\\n        >\\n          <span class=\\\"t__label u__left u__one-truncated-line\\\">\\n            <span class=\\\"answers__index__table-header-text\\\">\\n              {{ic-interface-icon \\\"calendar\\\"}}\\n            </span>\\n            <span class=\\\"answers__index__table-header-text\\\">\\n              Created\\n            </span>\\n            <Answers::AnswersList::SortIcon\\n              @columnName=\\\"createdAt\\\"\\n              @sortBy={{this.sortBy}}\\n              @sortDirection={{this.sortDirection}}\\n            />\\n          </span>\\n        </th>\\n        {{!-- First set live --}}\\n        {{#if (eq @status \\\"live\\\")}}\\n          <th\\n            class=\\\"u__padt__10 u__padb__10 answers__index__table-header table__header__sortable-column__toggle\\\"\\n            {{on \\\"click\\\" (fn this.sort \\\"firstWentLiveAt\\\")}}\\n          >\\n            <span class=\\\"t__label u__left u__one-truncated-line\\\">\\n              <span class=\\\"answers__index__table-header-text\\\">\\n                {{ic-interface-icon \\\"calendar\\\"}}\\n              </span>\\n              <span class=\\\"answers__index__table-header-text\\\">\\n                First set live\\n              </span>\\n              <Answers::AnswersList::SortIcon\\n                @columnName=\\\"firstWentLiveAt\\\"\\n                @sortBy={{this.sortBy}}\\n                @sortDirection={{this.sortDirection}}\\n              />\\n            </span>\\n          </th>\\n        {{/if}}\\n        {{!-- Paused At --}}\\n        {{#if (eq @status \\\"paused\\\")}}\\n          <th\\n            class=\\\"u__padt__10 u__padb__10 answers__index__table-header table__header__sortable-column__toggle\\\"\\n            {{on \\\"click\\\" (fn this.sort \\\"lastPausedAt\\\")}}\\n          >\\n            <span class=\\\"t__label u__left u__one-truncated-line\\\">\\n              <span class=\\\"answers__index__table-header-text\\\">\\n                {{ic-interface-icon \\\"calendar\\\"}}\\n              </span>\\n              <span class=\\\"answers__index__table-header-text\\\">\\n                Paused at\\n              </span>\\n              <Answers::AnswersList::SortIcon\\n                @columnName=\\\"lastPausedAt\\\"\\n                @sortBy={{this.sortBy}}\\n                @sortDirection={{this.sortDirection}}\\n              />\\n            </span>\\n          </th>\\n        {{/if}}\\n      </tr>\\n      {{#each (sort-by (concat this.sortBy \\\":\\\" this.sortDirection) @answers) as |answer|}}\\n        <tr data-test-answers-table-answer-row=\\\"{{answer.id}}\\\">\\n          <td class=\\\"u__padt__20 u__padb__20 answers__index__simple-table-title-cell answers__index__simple-table-cell\\\">\\n            <div class=\\\"layout__box o__has-columns\\\">\\n              <div class=\\\"answers__index__simple-table-title-cell-text\\\">\\n                <h3 class=\\\"t__h3 u__one-truncated-line\\\">\\n                  <a\\n                    class=\\\"t__solo-link\\\"\\n                    href={{href-to \\\"apps.app.operator.resolution-bot.answers.answer.show\\\" answer.id}}\\n                    data-test-answers-list-answer-title\\n                    {{on \\\"click\\\" (track-analytics-event action=\\\"clicked\\\" object=answer context=\\\"from_index_page\\\")}}\\n                  >\\n                    {{answer.displayTitle}}\\n                  </a>\\n                </h3>\\n              </div>\\n              <div class=\\\"u__ml__5\\\">\\n                <span>\\n                  {{ic-stamp (capitalize answer.status)}}\\n                </span>\\n              </div>\\n            </div>\\n          </td>\\n          {{#if hasMultilingual}}\\n            <td>\\n              <span class=\\\"text-gray u__one-truncated-line\\\">\\n                {{capitalize answer.languageCode}}\\n              </span>\\n            </td>\\n          {{/if}}\\n          <td>\\n            <a\\n              class=\\\"t__solo-link text-blue\\\"\\n              href=\\\"{{href-to \\\"apps.app.operator.resolution-bot.answers.answer.show.conversations\\\" answer.id (query-params eventType=\\\"answer_sent\\\")}}\\\"\\n              {{on \\\"click\\\" (fn this.trackViewConversationsAnalytics answer)}}\\n              data-test-answers-list-answer-stat=\\\"answer_sent\\\"\\n            >\\n              {{answer.stats.conversationCount}}\\n            </a>\\n          </td>\\n          <td class=\\\"answers__index__simple-table-cell\\\">\\n            <a\\n              class=\\\"text-green t__solo-link\\\"\\n              href=\\\"{{href-to \\\"apps.app.operator.resolution-bot.answers.answer.show.conversations\\\" answer.id (query-params eventType=\\\"all_done\\\")}}\\\"\\n              {{on \\\"click\\\" (fn this.trackViewConversationsAnalytics answer)}}\\n              data-test-answers-list-answer-stat=\\\"all_done\\\"\\n            >\\n              {{format-percentage-reports answer.stats.effectivenessPercentage}}\\n            </a>\\n          </td>\\n          <td class=\\\"answers__index__simple-table-cell\\\">\\n            <a\\n              class=\\\"text-green t__solo-link\\\"\\n              href=\\\"{{href-to \\\"apps.app.operator.resolution-bot.answers.answer.show.conversations\\\" answer.id (query-params eventType=\\\"wait_for_the_team\\\")}}\\\"\\n              {{on \\\"click\\\" (fn this.trackViewConversationsAnalytics answer)}}\\n              data-test-answers-list-answer-stat=\\\"wait_for_the_team\\\"\\n            >\\n              {{format-percentage-reports answer.stats.waitForTeamPercentage}}\\n            </a>\\n          </td>\\n          <td class=\\\"answers__index__simple-table-cell\\\">\\n            <span class=\\\"text-gray u__one-truncated-line\\\">\\n              {{#if answer.lastInterjectionAt}}\\n                {{full-relative-time-ago-helper answer.lastInterjectionAt}}\\n              {{else}}\\n                Never\\n              {{/if}}\\n            </span>\\n          </td>\\n          <td class=\\\"answers__index__simple-table-cell\\\">\\n            <span class=\\\"text-gray u__one-truncated-line\\\">\\n              {{#if answer.createdAt}}\\n                {{full-relative-time-ago-helper answer.createdAt}}\\n              {{else}}\\n                Never\\n              {{/if}}\\n            </span>\\n          </td>\\n          {{#if (eq @status \\\"live\\\")}}\\n            <td class=\\\"answers__index__simple-table-cell\\\">\\n              <span class=\\\"text-gray u__one-truncated-line\\\">\\n                {{#if answer.firstWentLiveAt}}\\n                  {{full-relative-time-ago-helper answer.firstWentLiveAt}}\\n                {{else}}\\n                  Never\\n                {{/if}}\\n              </span>\\n            </td>\\n          {{/if}}\\n          {{#if (eq @status \\\"paused\\\")}}\\n            <td class=\\\"answers__index__simple-table-cell\\\">\\n              <span class=\\\"text-gray u__one-truncated-line\\\">\\n                {{#if answer.lastPausedAt}}\\n                  {{full-relative-time-ago-helper answer.lastPausedAt}}\\n                {{else}}\\n                  Never\\n                {{/if}}\\n              </span>\\n            </td>\\n          {{/if}}\\n        </tr>\\n      {{/each}}\\n    </table>\\n  {{/let}}\\n</Performance::MeasureRenderTime>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<Performance::MeasureRenderTime @subject=\\\"component:answers/answer-list/answer-list-table\\\">\\n  {{#let (has-feature \\\"answerbot-multilingual\\\") as |hasMultilingual|}}\\n    <table\\n      {{did-insert this.applyDefaultSort @status}}\\n      {{did-update this.applyDefaultSort @status}}\\n      class=\\\"answers__index__simple-table\\\"\\n    >\\n      <tr>\\n        {{!-- Title --}}\\n        <th\\n          class=\\\"u__padt__10 u__padb__10 answers__index__table-header table__header__sortable-column__toggle\\\"\\n          {{on \\\"click\\\" (fn this.sort \\\"title\\\")}}\\n        >\\n          <span class=\\\"t__label u__left\\\">\\n            <span class=\\\"answers__index__table-header-text\\\">\\n              Title\\n            </span>\\n            <Answers::AnswersList::SortIcon\\n              @columnName=\\\"title\\\"\\n              @sortBy={{this.sortBy}}\\n              @sortDirection={{this.sortDirection}}\\n            />\\n          </span>\\n        </th>\\n\\n        {{#if hasMultilingual}}\\n          {{!-- Language --}}\\n          <th class=\\\"u__padt__10 u__padb__10 u__padr__10 answers__index__table-header\\\">\\n            <span class=\\\"t__label hover:text-blue\\\">\\n              Language\\n            </span>\\n          </th>\\n        {{/if}}\\n\\n        {{!-- Sent --}}\\n        <th\\n          class=\\\"u__padt__10 u__padb__10 answers__index__table-header table__header__sortable-column__toggle\\\"\\n          {{on \\\"click\\\" (fn this.sort \\\"stats.conversationCount\\\")}}\\n        >\\n          <span class=\\\"t__label u__left u__one-truncated-line\\\">\\n            <span class=\\\"answers__index__table-header-text\\\">\\n              Sent\\n            </span>\\n            <Answers::AnswersList::SortIcon\\n              @columnName=\\\"stats.conversationCount\\\"\\n              @sortBy={{this.sortBy}}\\n              @sortDirection={{this.sortDirection}}\\n            />\\n          </span>\\n        </th>\\n        {{!-- Resolved --}}\\n        <th\\n          class=\\\"u__padt__10 u__padb__10 answers__index__table-header table__header__sortable-column__toggle\\\"\\n          {{on \\\"click\\\" (fn this.sort \\\"stats.effectivenessPercentage\\\")}}\\n        >\\n          <span class=\\\"t__label u__left u__one-truncated-line\\\">\\n            <span class=\\\"answers__index__table-header-text\\\">\\n              Resolved\\n            </span>\\n            <IcTooltipIcon @content=\\\"Conversations where the customer either clicked 'That helped 👍' or left the conversation\\\" />\\n            <Answers::AnswersList::SortIcon\\n              @columnName=\\\"stats.effectivenessPercentage\\\"\\n              @sortBy={{this.sortBy}}\\n              @sortDirection={{this.sortDirection}}\\n            />\\n          </span>\\n        </th>\\n        {{!-- Routed to team --}}\\n        <th\\n          class=\\\"u__padt__10 u__padb__10 answers__index__table-header table__header__sortable-column__toggle\\\"\\n          {{on \\\"click\\\" (fn this.sort \\\"stats.waitForTeamPercentage\\\")}}\\n        >\\n          <span class=\\\"t__label u__left u__one-truncated-line\\\">\\n            <span class=\\\"answers__index__table-header-text\\\">\\n              Routed to team\\n            </span>\\n            <IcTooltipIcon @content=\\\"Conversations where the customer either clicked 'Wait for the team 💬' or typed a reply\\\" />\\n            <Answers::AnswersList::SortIcon\\n              @columnName=\\\"stats.waitForTeamPercentage\\\"\\n              @sortBy={{this.sortBy}}\\n              @sortDirection={{this.sortDirection}}\\n            />\\n          </span>\\n        </th>\\n        {{!-- Last sent --}}\\n        <th\\n          class=\\\"u__padt__10 u__padb__10 answers__index__table-header table__header__sortable-column__toggle\\\"\\n          {{on \\\"click\\\" (fn this.sort \\\"lastInterjectionAt\\\")}}\\n        >\\n          <span class=\\\"t__label u__left u__one-truncated-line\\\">\\n            <span class=\\\"answers__index__table-header-text\\\">\\n              {{ic-interface-icon \\\"calendar\\\"}}\\n            </span>\\n            <span class=\\\"answers__index__table-header-text\\\">\\n              Last sent\\n            </span>\\n            <Answers::AnswersList::SortIcon\\n              @columnName=\\\"lastInterjectionAt\\\"\\n              @sortBy={{this.sortBy}}\\n              @sortDirection={{this.sortDirection}}\\n            />\\n          </span>\\n        </th>\\n        {{!-- Created --}}\\n        <th\\n          class=\\\"u__padt__10 u__padb__10 answers__index__table-header table__header__sortable-column__toggle\\\"\\n          {{on \\\"click\\\" (fn this.sort \\\"createdAt\\\")}}\\n        >\\n          <span class=\\\"t__label u__left u__one-truncated-line\\\">\\n            <span class=\\\"answers__index__table-header-text\\\">\\n              {{ic-interface-icon \\\"calendar\\\"}}\\n            </span>\\n            <span class=\\\"answers__index__table-header-text\\\">\\n              Created\\n            </span>\\n            <Answers::AnswersList::SortIcon\\n              @columnName=\\\"createdAt\\\"\\n              @sortBy={{this.sortBy}}\\n              @sortDirection={{this.sortDirection}}\\n            />\\n          </span>\\n        </th>\\n        {{!-- First set live --}}\\n        {{#if (eq @status \\\"live\\\")}}\\n          <th\\n            class=\\\"u__padt__10 u__padb__10 answers__index__table-header table__header__sortable-column__toggle\\\"\\n            {{on \\\"click\\\" (fn this.sort \\\"firstWentLiveAt\\\")}}\\n          >\\n            <span class=\\\"t__label u__left u__one-truncated-line\\\">\\n              <span class=\\\"answers__index__table-header-text\\\">\\n                {{ic-interface-icon \\\"calendar\\\"}}\\n              </span>\\n              <span class=\\\"answers__index__table-header-text\\\">\\n                First set live\\n              </span>\\n              <Answers::AnswersList::SortIcon\\n                @columnName=\\\"firstWentLiveAt\\\"\\n                @sortBy={{this.sortBy}}\\n                @sortDirection={{this.sortDirection}}\\n              />\\n            </span>\\n          </th>\\n        {{/if}}\\n        {{!-- Paused At --}}\\n        {{#if (eq @status \\\"paused\\\")}}\\n          <th\\n            class=\\\"u__padt__10 u__padb__10 answers__index__table-header table__header__sortable-column__toggle\\\"\\n            {{on \\\"click\\\" (fn this.sort \\\"lastPausedAt\\\")}}\\n          >\\n            <span class=\\\"t__label u__left u__one-truncated-line\\\">\\n              <span class=\\\"answers__index__table-header-text\\\">\\n                {{ic-interface-icon \\\"calendar\\\"}}\\n              </span>\\n              <span class=\\\"answers__index__table-header-text\\\">\\n                Paused at\\n              </span>\\n              <Answers::AnswersList::SortIcon\\n                @columnName=\\\"lastPausedAt\\\"\\n                @sortBy={{this.sortBy}}\\n                @sortDirection={{this.sortDirection}}\\n              />\\n            </span>\\n          </th>\\n        {{/if}}\\n      </tr>\\n      {{#each (sort-by (concat this.sortBy \\\":\\\" this.sortDirection) @answers) as |answer|}}\\n        <tr data-test-answers-table-answer-row=\\\"{{answer.id}}\\\">\\n          <td class=\\\"u__padt__20 u__padb__20 answers__index__simple-table-title-cell answers__index__simple-table-cell\\\">\\n            <div class=\\\"layout__box o__has-columns\\\">\\n              <div class=\\\"answers__index__simple-table-title-cell-text\\\">\\n                <h3 class=\\\"t__h3 u__one-truncated-line\\\">\\n                  <a\\n                    class=\\\"t__solo-link\\\"\\n                    href={{href-to \\\"apps.app.operator.resolution-bot.answers.answer.show\\\" answer.id}}\\n                    data-test-answers-list-answer-title\\n                    {{on \\\"click\\\" (track-analytics-event action=\\\"clicked\\\" object=answer context=\\\"from_index_page\\\")}}\\n                  >\\n                    {{answer.displayTitle}}\\n                  </a>\\n                </h3>\\n              </div>\\n              <div class=\\\"u__ml__5\\\">\\n                <span>\\n                  {{ic-stamp (capitalize answer.status)}}\\n                </span>\\n              </div>\\n            </div>\\n          </td>\\n          {{#if hasMultilingual}}\\n            <td>\\n              <span class=\\\"text-gray u__one-truncated-line\\\">\\n                {{capitalize answer.languageCode}}\\n              </span>\\n            </td>\\n          {{/if}}\\n          <td>\\n            <a\\n              class=\\\"t__solo-link text-blue\\\"\\n              href=\\\"{{href-to \\\"apps.app.operator.resolution-bot.answers.answer.show.conversations\\\" answer.id (query-params eventType=\\\"answer_sent\\\")}}\\\"\\n              {{on \\\"click\\\" (fn this.trackViewConversationsAnalytics answer)}}\\n              data-test-answers-list-answer-stat=\\\"answer_sent\\\"\\n            >\\n              {{answer.stats.conversationCount}}\\n            </a>\\n          </td>\\n          <td class=\\\"answers__index__simple-table-cell\\\">\\n            <a\\n              class=\\\"text-green t__solo-link\\\"\\n              href=\\\"{{href-to \\\"apps.app.operator.resolution-bot.answers.answer.show.conversations\\\" answer.id (query-params eventType=\\\"all_done\\\")}}\\\"\\n              {{on \\\"click\\\" (fn this.trackViewConversationsAnalytics answer)}}\\n              data-test-answers-list-answer-stat=\\\"all_done\\\"\\n            >\\n              {{format-percentage-reports answer.stats.effectivenessPercentage}}\\n            </a>\\n          </td>\\n          <td class=\\\"answers__index__simple-table-cell\\\">\\n            <a\\n              class=\\\"text-green t__solo-link\\\"\\n              href=\\\"{{href-to \\\"apps.app.operator.resolution-bot.answers.answer.show.conversations\\\" answer.id (query-params eventType=\\\"wait_for_the_team\\\")}}\\\"\\n              {{on \\\"click\\\" (fn this.trackViewConversationsAnalytics answer)}}\\n              data-test-answers-list-answer-stat=\\\"wait_for_the_team\\\"\\n            >\\n              {{format-percentage-reports answer.stats.waitForTeamPercentage}}\\n            </a>\\n          </td>\\n          <td class=\\\"answers__index__simple-table-cell\\\">\\n            <span class=\\\"text-gray u__one-truncated-line\\\">\\n              {{#if answer.lastInterjectionAt}}\\n                {{full-relative-time-ago-helper answer.lastInterjectionAt}}\\n              {{else}}\\n                Never\\n              {{/if}}\\n            </span>\\n          </td>\\n          <td class=\\\"answers__index__simple-table-cell\\\">\\n            <span class=\\\"text-gray u__one-truncated-line\\\">\\n              {{#if answer.createdAt}}\\n                {{full-relative-time-ago-helper answer.createdAt}}\\n              {{else}}\\n                Never\\n              {{/if}}\\n            </span>\\n          </td>\\n          {{#if (eq @status \\\"live\\\")}}\\n            <td class=\\\"answers__index__simple-table-cell\\\">\\n              <span class=\\\"text-gray u__one-truncated-line\\\">\\n                {{#if answer.firstWentLiveAt}}\\n                  {{full-relative-time-ago-helper answer.firstWentLiveAt}}\\n                {{else}}\\n                  Never\\n                {{/if}}\\n              </span>\\n            </td>\\n          {{/if}}\\n          {{#if (eq @status \\\"paused\\\")}}\\n            <td class=\\\"answers__index__simple-table-cell\\\">\\n              <span class=\\\"text-gray u__one-truncated-line\\\">\\n                {{#if answer.lastPausedAt}}\\n                  {{full-relative-time-ago-helper answer.lastPausedAt}}\\n                {{else}}\\n                  Never\\n                {{/if}}\\n              </span>\\n            </td>\\n          {{/if}}\\n        </tr>\\n      {{/each}}\\n    </table>\\n  {{/let}}\\n</Performance::MeasureRenderTime>\\n\",\"moduleName\":\"embercom/components/answers/answers-list/answer-list-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/answers-list/answer-list-table.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\n\nconst COLUMNS_TO_SORT_BY_ASCENDING = ['title'];\n\nexport default class AnswerListTable extends Component {\n  @service intercomEventService;\n  @service appService;\n\n  @tracked sortBy = 'createdAt';\n  @tracked isSortDirectionAscending = false;\n\n  get sortDirection() {\n    return this.isSortDirectionAscending ? 'asc' : 'desc';\n  }\n\n  @action\n  sort(sortBy) {\n    let existingSortBy = this.sortBy;\n\n    if (sortBy === existingSortBy) {\n      this.isSortDirectionAscending = !this.isSortDirectionAscending;\n    } else {\n      let sortInAscendingOrder = COLUMNS_TO_SORT_BY_ASCENDING.includes(sortBy);\n      this.isSortDirectionAscending = sortInAscendingOrder;\n    }\n\n    this.sortBy = sortBy;\n  }\n\n  @action\n  trackViewConversationsAnalytics(answer) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: 'conversations',\n      context: 'answer_interjection',\n      answer_id: answer.id,\n    });\n  }\n\n  @action\n  applyDefaultSort(_element, [status]) {\n    this.isSortDirectionAscending = false;\n\n    if (status === 'live') {\n      this.sortBy = 'firstWentLiveAt';\n    } else if (status === 'paused') {\n      this.sortBy = 'lastPausedAt';\n    } else if (status === 'underperforming') {\n      this.sortBy = 'stats.effectivenessPercentage';\n      this.isSortDirectionAscending = true;\n    } else {\n      this.sortBy = 'createdAt';\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span\\n  class={{if (eq @sortBy @columnName) 'answers__index__table-header-text' 'text-white'}}\\n  data-test-sort-icon={{if (eq @sortBy @columnName) (concat @columnName '-' @sortDirection)}}\\n>\\n  {{ic-interface-icon (if (eq @sortDirection 'asc') 'thin-up-arrow' 'thin-down-arrow')}}\\n</span>\\n\", {\"contents\":\"<span\\n  class={{if (eq @sortBy @columnName) 'answers__index__table-header-text' 'text-white'}}\\n  data-test-sort-icon={{if (eq @sortBy @columnName) (concat @columnName '-' @sortDirection)}}\\n>\\n  {{ic-interface-icon (if (eq @sortDirection 'asc') 'thin-up-arrow' 'thin-down-arrow')}}\\n</span>\\n\",\"moduleName\":\"embercom/components/answers/answers-list/sort-icon.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/answers-list/sort-icon.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"answers__answer-editor__accordion mt-10\\\">\\n  <Common::AccordionComponent\\n    @initiallyOpenSectionName={{if (and (has-feature \\\"answerbot-multilingual\\\") (not @answer.exampleQuestionsIsComplete)) \\\"language\\\" \\\"example-questions\\\"}}\\n    @sectionDidOpen={{this.sectionDidOpen}}\\n    @sectionDidClose={{this.sectionDidClose}} as |accordion|\\n  >\\n    {{!-- Language --}}\\n    {{#if (has-feature \\\"answerbot-multilingual\\\")}}\\n      <accordion.section\\n        @headerClass=\\\"accordion__blue-header\\\"\\n        @name=\\\"language\\\" as |section|\\n      >\\n        <section.header as |header|>\\n          <Common::AccordionComponent::BlueHeaderTitle\\n            @isComplete={{@answer.languageIsComplete}}\\n            @isOpen={{header.isOpen}}\\n            @number={{1}}\\n            @title=\\\"Choose your language\\\"\\n          >\\n            <span class=\\\"t__body c__black\\\">\\n             {{ic-interface-icon \\\"globe\\\"}}\\n              <span data-test-language-name>{{language-name-from-code @answer.languageCode}}</span>\\n            </span>\\n          </Common::AccordionComponent::BlueHeaderTitle>\\n        </section.header>\\n        <section.header-action as |ha|>\\n          {{#if ha.isOpen}}\\n            <IcButton\\n              @label=\\\"Done\\\"\\n              @type=\\\"primary-on-blue\\\"\\n              @onClick={{stop-propagation\\n                (action ha.API.openSection \\\"example-questions\\\")\\n              }}\\n              class=\\\"u__mr__15\\\"\\n              data-test-answers-language-section-done={{true}}\\n            />\\n          {{/if}}\\n        </section.header-action>\\n        <section.body as |body|>\\n          <Answers::Editor::AnswerPanel::AnswerLanguagePanel\\n            @answer={{@answer}}\\n          />\\n        </section.body>\\n      </accordion.section>\\n    {{/if}}\\n    {{!-- Question --}}\\n    <accordion.section\\n      @headerClass=\\\"accordion__blue-header\\\"\\n      @name=\\\"example-questions\\\" as |section|\\n    >\\n      <section.header as |header|>\\n        <Common::AccordionComponent::BlueHeaderTitle\\n          @isComplete={{@answer.exampleQuestionsIsComplete}}\\n          @isOpen={{header.isOpen}}\\n          @number={{if (has-feature \\\"answerbot-multilingual\\\") 2 1}}\\n          @title=\\\"Choose your questions\\\"\\n        >\\n          <Answers::Editor::QuestionsPanel::ExampleQuestionsHeaderContext\\n            @answer={{@answer}}\\n            class=\\\"layout__box o__flexes-to-10 o__centers-vertically\\\"\\n          />\\n        </Common::AccordionComponent::BlueHeaderTitle>\\n      </section.header>\\n      <section.header-action as |ha|>\\n        {{#if ha.isOpen}}\\n          <IcButton\\n            @label=\\\"Done\\\"\\n            @type=\\\"primary-on-blue\\\"\\n            @onClick={{stop-propagation\\n              (action ha.API.openSection \\\"response-editor\\\")\\n            }}\\n            class=\\\"u__mr__15\\\"\\n            data-test-answers-question-section-done={{true}}\\n          />\\n        {{/if}}\\n      </section.header-action>\\n      <section.body as |body|>\\n        <Answers::Editor::QuestionsPanel::QuestionsEditor\\n          @answer={{@answer}}\\n          @suggestedAnswerClusters={{@suggestedAnswerClusters}}\\n          @expandSelectedExamples={{@expandSelectedExamples}}\\n          @prepopulatedSearchTerm={{@prepopulatedSearchTerm}}\\n          @suggestionId={{this.suggestionId}}\\n          @clusterId={{@clusterId}}\\n        />\\n      </section.body>\\n    </accordion.section>\\n    {{!-- Answer --}}\\n    <accordion.section\\n      @name=\\\"response-editor\\\"\\n      @headerClass=\\\"accordion__blue-header\\\" as |section|\\n    >\\n      <section.header as |header|>\\n        <Common::AccordionComponent::BlueHeaderTitle\\n          @isOpen={{header.isOpen}}\\n          @isComplete={{@answer.multipartResponse.isComplete}}\\n          @number={{if (has-feature \\\"answerbot-multilingual\\\") 3 2}}\\n          @title=\\\"Create your answer\\\"\\n        >\\n          <Answers::Editor::AnswerPanel::MultipartResponseDisplay\\n            @multipartResponse={{@answer.multipartResponse}}\\n            @hideInserters={{true}}\\n            class=\\\"layout__box\\\"\\n          />\\n        </Common::AccordionComponent::BlueHeaderTitle>\\n      </section.header>\\n      <section.header-action as |ha|>\\n        {{#if ha.isOpen}}\\n          <IcButton\\n            @label=\\\"Done\\\"\\n            @type=\\\"primary-on-blue\\\"\\n            @onClick={{if\\n              @answer.isLive\\n              (stop-propagation (action ha.API.toggleSection \\\"response-editor\\\"))\\n              (stop-propagation (action ha.API.openSection \\\"audience\\\"))\\n            }}\\n            class=\\\"u__mr__15\\\"\\n            data-test-answers-answer-section-done={{true}}\\n          />\\n        {{/if}}\\n      </section.header-action>\\n      <section.body as |body|>\\n        <Answers::Editor::MultipartResponseWrapper\\n          @answer={{@answer}}\\n          @resolutionBotLoopingSettings={{@resolutionBotLoopingSettings}}\\n        />\\n      </section.body>\\n    </accordion.section>\\n    {{!-- Choose your audience --}}\\n    <accordion.section\\n      @headerClass=\\\"accordion__blue-header\\\"\\n      @name=\\\"audience\\\"\\n      @shouldNotAddPaddingToBody={{true}}\\n      data-test-answer-audience={{true}} as |section|\\n    >\\n      <section.header as |header|>\\n        <div class=\\\"layout__box o__has-columns\\\">\\n          <Common::AccordionComponent::BlueHeaderTitle\\n            @isOpen={{header.isOpen}}\\n            @number={{if (has-feature \\\"answerbot-multilingual\\\") 4 3}}\\n            @title=\\\"Choose your audience\\\"\\n            @isComplete={{this.audienceIsReviewed}}\\n          />\\n        </div>\\n      </section.header>\\n      <section.header-action as |ha|>\\n        {{#if ha.isOpen}}\\n          <IcButton\\n            @label=\\\"Done\\\"\\n            @type=\\\"primary-on-blue\\\"\\n            @onClick={{if\\n              @answer.isLive\\n              (stop-propagation (action ha.API.toggleSection \\\"audience\\\"))\\n              (stop-propagation (action ha.API.openSection \\\"answer-review\\\"))\\n            }}\\n            class=\\\"u__mr__15\\\"\\n            data-test-answers-audience-section-done={{true}}\\n          />\\n        {{/if}}\\n      </section.header-action>\\n      <section.body class=\\\"u__overflow-x-auto p-3\\\" as |body|>\\n        <MatchingSystem::AudienceSelector::Main\\n          @audienceEditorConfiguration={{this.audienceEditorConfiguration}}\\n          @ruleset={{@answer.ruleset}}\\n        as |audienceSelector|>\\n          <audienceSelector.CustomRuleEditor>\\n            <div class=\\\"flex flex-col\\\">\\n              <Heading @size='4'>When to send this</Heading>\\n              <div class=\\\"flex flex-row\\\">\\n                <Form class=\\\"max-w-none\\\" as |form|>\\n                  <form.Item as |item|>\\n                    <item.Checkbox\\n                      @checked={{not @answer.disabledInPredictiveContext}}\\n                      {{on \\\"click\\\" this.togglePredictiveAnswerToggle}}\\n                      data-test-answer-editor-predictive-toggle\\n                    as |checkbox|>\\n                      <checkbox.Label>\\n                        Allow Resolution Bot to send this answer before the customer starts typing,\\n                        <LinkTo @route=\\\"apps.app.operator.settings\\\" @query={{hash section=\\\"suggestion-settings\\\"}}>when you have answer suggestions enabled</LinkTo>\\n                      </checkbox.Label>\\n                    </item.Checkbox>\\n                  </form.Item>\\n                </Form>\\n              </div>\\n            </div>\\n          </audienceSelector.CustomRuleEditor>\\n        </MatchingSystem::AudienceSelector::Main>\\n      </section.body>\\n    </accordion.section>\\n    {{!-- Review and set live --}}\\n    {{#unless @answer.isLive}}\\n      <accordion.section\\n        @name=\\\"answer-review\\\"\\n        @headerClass=\\\"accordion__blue-header\\\" as |section|\\n      >\\n        <section.header as |header|>\\n          <Common::AccordionComponent::BlueHeaderTitle\\n            @isOpen={{header.isOpen}}\\n            @number={{if (has-feature \\\"answerbot-multilingual\\\") 5 4}}\\n            @title=\\\"Set your bot live\\\"\\n          />\\n        </section.header>\\n        <section.body as |body|>\\n          <Answers::Editor::ReviewPanel::ReviewWrapper\\n            @answer={{@answer}}\\n            @openSection={{action body.accordionAPI.openSection}}\\n            @tasks={{hash save=@save}}\\n          />\\n        </section.body>\\n      </accordion.section>\\n    {{/unless}}\\n  </Common::AccordionComponent>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"answers__answer-editor__accordion mt-10\\\">\\n  <Common::AccordionComponent\\n    @initiallyOpenSectionName={{if (and (has-feature \\\"answerbot-multilingual\\\") (not @answer.exampleQuestionsIsComplete)) \\\"language\\\" \\\"example-questions\\\"}}\\n    @sectionDidOpen={{this.sectionDidOpen}}\\n    @sectionDidClose={{this.sectionDidClose}} as |accordion|\\n  >\\n    {{!-- Language --}}\\n    {{#if (has-feature \\\"answerbot-multilingual\\\")}}\\n      <accordion.section\\n        @headerClass=\\\"accordion__blue-header\\\"\\n        @name=\\\"language\\\" as |section|\\n      >\\n        <section.header as |header|>\\n          <Common::AccordionComponent::BlueHeaderTitle\\n            @isComplete={{@answer.languageIsComplete}}\\n            @isOpen={{header.isOpen}}\\n            @number={{1}}\\n            @title=\\\"Choose your language\\\"\\n          >\\n            <span class=\\\"t__body c__black\\\">\\n             {{ic-interface-icon \\\"globe\\\"}}\\n              <span data-test-language-name>{{language-name-from-code @answer.languageCode}}</span>\\n            </span>\\n          </Common::AccordionComponent::BlueHeaderTitle>\\n        </section.header>\\n        <section.header-action as |ha|>\\n          {{#if ha.isOpen}}\\n            <IcButton\\n              @label=\\\"Done\\\"\\n              @type=\\\"primary-on-blue\\\"\\n              @onClick={{stop-propagation\\n                (action ha.API.openSection \\\"example-questions\\\")\\n              }}\\n              class=\\\"u__mr__15\\\"\\n              data-test-answers-language-section-done={{true}}\\n            />\\n          {{/if}}\\n        </section.header-action>\\n        <section.body as |body|>\\n          <Answers::Editor::AnswerPanel::AnswerLanguagePanel\\n            @answer={{@answer}}\\n          />\\n        </section.body>\\n      </accordion.section>\\n    {{/if}}\\n    {{!-- Question --}}\\n    <accordion.section\\n      @headerClass=\\\"accordion__blue-header\\\"\\n      @name=\\\"example-questions\\\" as |section|\\n    >\\n      <section.header as |header|>\\n        <Common::AccordionComponent::BlueHeaderTitle\\n          @isComplete={{@answer.exampleQuestionsIsComplete}}\\n          @isOpen={{header.isOpen}}\\n          @number={{if (has-feature \\\"answerbot-multilingual\\\") 2 1}}\\n          @title=\\\"Choose your questions\\\"\\n        >\\n          <Answers::Editor::QuestionsPanel::ExampleQuestionsHeaderContext\\n            @answer={{@answer}}\\n            class=\\\"layout__box o__flexes-to-10 o__centers-vertically\\\"\\n          />\\n        </Common::AccordionComponent::BlueHeaderTitle>\\n      </section.header>\\n      <section.header-action as |ha|>\\n        {{#if ha.isOpen}}\\n          <IcButton\\n            @label=\\\"Done\\\"\\n            @type=\\\"primary-on-blue\\\"\\n            @onClick={{stop-propagation\\n              (action ha.API.openSection \\\"response-editor\\\")\\n            }}\\n            class=\\\"u__mr__15\\\"\\n            data-test-answers-question-section-done={{true}}\\n          />\\n        {{/if}}\\n      </section.header-action>\\n      <section.body as |body|>\\n        <Answers::Editor::QuestionsPanel::QuestionsEditor\\n          @answer={{@answer}}\\n          @suggestedAnswerClusters={{@suggestedAnswerClusters}}\\n          @expandSelectedExamples={{@expandSelectedExamples}}\\n          @prepopulatedSearchTerm={{@prepopulatedSearchTerm}}\\n          @suggestionId={{this.suggestionId}}\\n          @clusterId={{@clusterId}}\\n        />\\n      </section.body>\\n    </accordion.section>\\n    {{!-- Answer --}}\\n    <accordion.section\\n      @name=\\\"response-editor\\\"\\n      @headerClass=\\\"accordion__blue-header\\\" as |section|\\n    >\\n      <section.header as |header|>\\n        <Common::AccordionComponent::BlueHeaderTitle\\n          @isOpen={{header.isOpen}}\\n          @isComplete={{@answer.multipartResponse.isComplete}}\\n          @number={{if (has-feature \\\"answerbot-multilingual\\\") 3 2}}\\n          @title=\\\"Create your answer\\\"\\n        >\\n          <Answers::Editor::AnswerPanel::MultipartResponseDisplay\\n            @multipartResponse={{@answer.multipartResponse}}\\n            @hideInserters={{true}}\\n            class=\\\"layout__box\\\"\\n          />\\n        </Common::AccordionComponent::BlueHeaderTitle>\\n      </section.header>\\n      <section.header-action as |ha|>\\n        {{#if ha.isOpen}}\\n          <IcButton\\n            @label=\\\"Done\\\"\\n            @type=\\\"primary-on-blue\\\"\\n            @onClick={{if\\n              @answer.isLive\\n              (stop-propagation (action ha.API.toggleSection \\\"response-editor\\\"))\\n              (stop-propagation (action ha.API.openSection \\\"audience\\\"))\\n            }}\\n            class=\\\"u__mr__15\\\"\\n            data-test-answers-answer-section-done={{true}}\\n          />\\n        {{/if}}\\n      </section.header-action>\\n      <section.body as |body|>\\n        <Answers::Editor::MultipartResponseWrapper\\n          @answer={{@answer}}\\n          @resolutionBotLoopingSettings={{@resolutionBotLoopingSettings}}\\n        />\\n      </section.body>\\n    </accordion.section>\\n    {{!-- Choose your audience --}}\\n    <accordion.section\\n      @headerClass=\\\"accordion__blue-header\\\"\\n      @name=\\\"audience\\\"\\n      @shouldNotAddPaddingToBody={{true}}\\n      data-test-answer-audience={{true}} as |section|\\n    >\\n      <section.header as |header|>\\n        <div class=\\\"layout__box o__has-columns\\\">\\n          <Common::AccordionComponent::BlueHeaderTitle\\n            @isOpen={{header.isOpen}}\\n            @number={{if (has-feature \\\"answerbot-multilingual\\\") 4 3}}\\n            @title=\\\"Choose your audience\\\"\\n            @isComplete={{this.audienceIsReviewed}}\\n          />\\n        </div>\\n      </section.header>\\n      <section.header-action as |ha|>\\n        {{#if ha.isOpen}}\\n          <IcButton\\n            @label=\\\"Done\\\"\\n            @type=\\\"primary-on-blue\\\"\\n            @onClick={{if\\n              @answer.isLive\\n              (stop-propagation (action ha.API.toggleSection \\\"audience\\\"))\\n              (stop-propagation (action ha.API.openSection \\\"answer-review\\\"))\\n            }}\\n            class=\\\"u__mr__15\\\"\\n            data-test-answers-audience-section-done={{true}}\\n          />\\n        {{/if}}\\n      </section.header-action>\\n      <section.body class=\\\"u__overflow-x-auto p-3\\\" as |body|>\\n        <MatchingSystem::AudienceSelector::Main\\n          @audienceEditorConfiguration={{this.audienceEditorConfiguration}}\\n          @ruleset={{@answer.ruleset}}\\n        as |audienceSelector|>\\n          <audienceSelector.CustomRuleEditor>\\n            <div class=\\\"flex flex-col\\\">\\n              <Heading @size='4'>When to send this</Heading>\\n              <div class=\\\"flex flex-row\\\">\\n                <Form class=\\\"max-w-none\\\" as |form|>\\n                  <form.Item as |item|>\\n                    <item.Checkbox\\n                      @checked={{not @answer.disabledInPredictiveContext}}\\n                      {{on \\\"click\\\" this.togglePredictiveAnswerToggle}}\\n                      data-test-answer-editor-predictive-toggle\\n                    as |checkbox|>\\n                      <checkbox.Label>\\n                        Allow Resolution Bot to send this answer before the customer starts typing,\\n                        <LinkTo @route=\\\"apps.app.operator.settings\\\" @query={{hash section=\\\"suggestion-settings\\\"}}>when you have answer suggestions enabled</LinkTo>\\n                      </checkbox.Label>\\n                    </item.Checkbox>\\n                  </form.Item>\\n                </Form>\\n              </div>\\n            </div>\\n          </audienceSelector.CustomRuleEditor>\\n        </MatchingSystem::AudienceSelector::Main>\\n      </section.body>\\n    </accordion.section>\\n    {{!-- Review and set live --}}\\n    {{#unless @answer.isLive}}\\n      <accordion.section\\n        @name=\\\"answer-review\\\"\\n        @headerClass=\\\"accordion__blue-header\\\" as |section|\\n      >\\n        <section.header as |header|>\\n          <Common::AccordionComponent::BlueHeaderTitle\\n            @isOpen={{header.isOpen}}\\n            @number={{if (has-feature \\\"answerbot-multilingual\\\") 5 4}}\\n            @title=\\\"Set your bot live\\\"\\n          />\\n        </section.header>\\n        <section.body as |body|>\\n          <Answers::Editor::ReviewPanel::ReviewWrapper\\n            @answer={{@answer}}\\n            @openSection={{action body.accordionAPI.openSection}}\\n            @tasks={{hash save=@save}}\\n          />\\n        </section.body>\\n      </accordion.section>\\n    {{/unless}}\\n  </Common::AccordionComponent>\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/editor/answer-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/answer-editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport StandardAudienceEditorConfiguration from 'embercom/objects/audience-editor/standard-audience-editor-configuration';\n\nconst EDITOR_SECTION_TO_ANALYTICS_CONTEXT = {\n  'example-questions': 'question',\n  'response-editor': 'answer',\n  'answer-review': 'review_step',\n  'audience-editor': 'audience',\n};\n\nexport default class AnswerEditor extends Component {\n  @service intercomEventService;\n  @service appService;\n\n  @tracked audienceTargetingOpened = false;\n  @tracked suggestionId = this.args.suggestionId;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get audienceIsReviewed() {\n    let audienceIsValid = this.args.answer.ruleset.validations.isTruelyValid;\n    if (this.args.answer.hasBeenUpdated) {\n      return audienceIsValid;\n    }\n    return audienceIsValid && this.audienceTargetingOpened;\n  }\n\n  get audienceEditorConfiguration() {\n    return new StandardAudienceEditorConfiguration({\n      showClientPredicates: false,\n      allowedUserRoles: ['user', 'lead', 'visitor'],\n      useRolePredicateGroup: true,\n    });\n  }\n\n  @action\n  sectionDidOpen(sectionName) {\n    let analyticsContext = EDITOR_SECTION_TO_ANALYTICS_CONTEXT[sectionName];\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'opened',\n      object: 'answer_editor_section',\n      context: analyticsContext,\n    });\n\n    if (sectionName === 'audience') {\n      this.audienceTargetingOpened = true;\n    }\n  }\n\n  @action\n  sectionDidClose(sectionName) {\n    if (sectionName === 'example-questions') {\n      this.args.onSuggestionUsed && this.args.onSuggestionUsed();\n    }\n  }\n\n  @action\n  togglePredictiveAnswerToggle() {\n    this.args.answer.disabledInPredictiveContext = !this.args.answer.disabledInPredictiveContext;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box p-6\\\" data-test-language-radio-buttons>\\n  <Form as |form|>\\n    <form.SectionHeading>Choose a language to train and compose this answer in:</form.SectionHeading>\\n    <form.Item as |item|>\\n      <item.RadioGroup @selected={{@answer.languageCode}} as |group|>\\n        {{#each (array\\n          (hash text='English' value='en')\\n          (hash text='French' value='fr')\\n          (hash text='German' value='de')\\n          (hash text='Italian' value='it')\\n          (hash text='Portuguese (Brazilian)' value='pt-BR')\\n          (hash text='Russian' value='ru')\\n          (hash text='Spanish' value='es')\\n        ) as |language|}}\\n          <group.RadioButton @value={{language.value}} @label={{language.text}} />\\n        {{/each}}\\n      </item.RadioGroup>\\n    </form.Item>\\n  </Form>\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box p-6\\\" data-test-language-radio-buttons>\\n  <Form as |form|>\\n    <form.SectionHeading>Choose a language to train and compose this answer in:</form.SectionHeading>\\n    <form.Item as |item|>\\n      <item.RadioGroup @selected={{@answer.languageCode}} as |group|>\\n        {{#each (array\\n          (hash text='English' value='en')\\n          (hash text='French' value='fr')\\n          (hash text='German' value='de')\\n          (hash text='Italian' value='it')\\n          (hash text='Portuguese (Brazilian)' value='pt-BR')\\n          (hash text='Russian' value='ru')\\n          (hash text='Spanish' value='es')\\n        ) as |language|}}\\n          <group.RadioButton @value={{language.value}} @label={{language.text}} />\\n        {{/each}}\\n      </item.RadioGroup>\\n    </form.Item>\\n  </Form>\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/editor/answer-panel/answer-language-panel.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/answer-panel/answer-language-panel.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"answers__multipart-response-editor__container u__mt__25 u__mb__25 u__mr__50 u__padr__15 u__ml__30\\\">\\n  <MessengerPreview::Stream as |stream|>\\n    <stream.operatorPart @useOperatorIdentity={{true}} as |operatorPart|>\\n      {{#each @multipartResponse.responseParts as |part index|}}\\n        <div class=\\\"answers__multipart-response-display__response-part\\\">\\n          {{#if part.isMessengerApp}}\\n            <div class=\\\"messenger-preview__home__card__container\\\">\\n              <AppFramework::Canvas\\n                data-test-response-display-canvas={{index}}\\n                @canvas={{part.previewCanvas}}\\n              />\\n            </div>\\n          {{else}}\\n            <operatorPart.comment>\\n              <Answers::Editor::AnswerPanel::PartComposer\\n                @hideInserters={{@hideInserters}}\\n                @part={{part}}\\n              />\\n            </operatorPart.comment>\\n          {{/if}}\\n        </div>\\n      {{/each}}\\n    </stream.operatorPart>\\n  </MessengerPreview::Stream>\\n</div>\\n\", {\"contents\":\"<div class=\\\"answers__multipart-response-editor__container u__mt__25 u__mb__25 u__mr__50 u__padr__15 u__ml__30\\\">\\n  <MessengerPreview::Stream as |stream|>\\n    <stream.operatorPart @useOperatorIdentity={{true}} as |operatorPart|>\\n      {{#each @multipartResponse.responseParts as |part index|}}\\n        <div class=\\\"answers__multipart-response-display__response-part\\\">\\n          {{#if part.isMessengerApp}}\\n            <div class=\\\"messenger-preview__home__card__container\\\">\\n              <AppFramework::Canvas\\n                data-test-response-display-canvas={{index}}\\n                @canvas={{part.previewCanvas}}\\n              />\\n            </div>\\n          {{else}}\\n            <operatorPart.comment>\\n              <Answers::Editor::AnswerPanel::PartComposer\\n                @hideInserters={{@hideInserters}}\\n                @part={{part}}\\n              />\\n            </operatorPart.comment>\\n          {{/if}}\\n        </div>\\n      {{/each}}\\n    </stream.operatorPart>\\n  </MessengerPreview::Stream>\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/editor/answer-panel/multipart-response-display.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/answer-panel/multipart-response-display.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"answers__multipart-response-editor__part-composer-wrapper {{if this.hasError 'o__error'}}\\\" ...attributes>\\n  <ComposerV2\\n    @actionReceiver={{@part.composer}}\\n    @editorClass=\\\"answers__multipart-response-editor__composer-editor composer-style-basic\\\"\\n    @preset=\\\"answer\\\"\\n    @blocks={{@part.jsonBlocks}}\\n    @onChange={{action \\\"updateBlocks\\\" @part}}\\n    @startedUploading={{action (mut @part.isUploading) true}}\\n    @finishedUploading={{action (mut @part.isUploading) false}}\\n    @app={{this.app}}\\n    @isReadOnly={{not @isEditable}}\\n    @attributes={{this.app.allowedAttributes}}\\n    @placeholder={{if @isEditable \\\"Start typing…\\\" \\\"Write your answer…\\\"}}\\n    @hoverAreaPadding={{hash top=0 bottom=0 left=0 right=0}}\\n    @onError={{composer-error-logger \\\"Answers\\\"}}\\n  />\\n  {{#unless (or @hideInserters @part.isMessengerApp)}}\\n    {{#each this.inserters as |inserter|}}\\n      <Conversation::Controls::Inserter\\n        @inserter={{inserter}}\\n        @controlsAPI={{this.publicAPI}}\\n      />\\n    {{/each}}\\n    <Conversation::Controls::Inserters::TourInserter @controlsAPI={{this.publicAPI}} />\\n    {{#if @part.isUploading}}\\n      <div class=\\\"inbox__conversation-controls__inserter t__light-text\\\">\\n        Uploading...\\n      </div>\\n    {{/if}}\\n  {{/unless}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"answers__multipart-response-editor__part-composer-wrapper {{if this.hasError 'o__error'}}\\\" ...attributes>\\n  <ComposerV2\\n    @actionReceiver={{@part.composer}}\\n    @editorClass=\\\"answers__multipart-response-editor__composer-editor composer-style-basic\\\"\\n    @preset=\\\"answer\\\"\\n    @blocks={{@part.jsonBlocks}}\\n    @onChange={{action \\\"updateBlocks\\\" @part}}\\n    @startedUploading={{action (mut @part.isUploading) true}}\\n    @finishedUploading={{action (mut @part.isUploading) false}}\\n    @app={{this.app}}\\n    @isReadOnly={{not @isEditable}}\\n    @attributes={{this.app.allowedAttributes}}\\n    @placeholder={{if @isEditable \\\"Start typing…\\\" \\\"Write your answer…\\\"}}\\n    @hoverAreaPadding={{hash top=0 bottom=0 left=0 right=0}}\\n    @onError={{composer-error-logger \\\"Answers\\\"}}\\n  />\\n  {{#unless (or @hideInserters @part.isMessengerApp)}}\\n    {{#each this.inserters as |inserter|}}\\n      <Conversation::Controls::Inserter\\n        @inserter={{inserter}}\\n        @controlsAPI={{this.publicAPI}}\\n      />\\n    {{/each}}\\n    <Conversation::Controls::Inserters::TourInserter @controlsAPI={{this.publicAPI}} />\\n    {{#if @part.isUploading}}\\n      <div class=\\\"inbox__conversation-controls__inserter t__light-text\\\">\\n        Uploading...\\n      </div>\\n    {{/if}}\\n  {{/unless}}\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/editor/answer-panel/part-composer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/answer-panel/part-composer.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport createFragmentFromBlock from 'embercom/lib/blocks/create-fragment-from-block';\n\nexport default class PartComposer extends Component {\n  @service store;\n  @service appService;\n\n  @tracked openInserters = [];\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get hasError() {\n    return this.args.part.hasNoContent && this.args.isEditable;\n  }\n\n  get inserters() {\n    let inserters = [\n      {\n        name: 'emoji',\n        icon: 'lwr-happy',\n        descriptor: 'Add an emoji',\n        hasPopoverContentComponent: true,\n      },\n    ];\n\n    if (this.app.teammateConversationGifsEnabled) {\n      inserters.push({\n        name: 'gif',\n        icon: 'gif',\n        descriptor: 'Add a GIF',\n        hasPopoverContentComponent: true,\n      });\n    }\n\n    inserters.push(\n      {\n        name: 'image',\n        icon: 'picture',\n        descriptor: 'Add an image',\n        hasPopoverContentComponent: false,\n      },\n      {\n        name: 'attachment',\n        icon: 'attachment',\n        descriptor: 'Add an attachment',\n        hasPopoverContentComponent: false,\n      },\n    );\n\n    return inserters;\n  }\n\n  get publicAPI() {\n    return {\n      app: this.app,\n      actions: {\n        registerOpenInserter: inserterName => {\n          this.openInserters.pushObject(inserterName);\n        },\n        clearOpenInserter: inserterName => {\n          if (!this.isDestroying) {\n            this.openInserters.removeObject(inserterName);\n          }\n        },\n        paste: text => {\n          this.args.part.composer.send('paste', text, 'plain');\n        },\n        uploadImage: files => {\n          this.args.part.composer.send('uploadImage', files);\n        },\n        uploadAttachment: files => {\n          this.args.part.composer.send('uploadAttachment', files);\n        },\n        insertBlock: (type, block) => {\n          this.args.part.composer.send('createBlock', type, block);\n        },\n      },\n    };\n  }\n\n  @action\n  updateBlocks(part) {\n    if (this.isDestroying || part.isDestroying) {\n      return;\n    }\n    if (part.composer === null) {\n      return;\n    }\n    if (part.blocks === null) {\n      return;\n    }\n    let blocks = part.composer.getBlocks();\n    let store = this.store;\n\n    let blockFragments = blocks.map(block => createFragmentFromBlock(store, block));\n\n    // Unforuntately, the composer calls updateBlocks on initial render and sets blocks\n    // to plain objets, while embercom data models use fragments to represent same blocks.\n    // To make sure we do not change part's blocks when they represent the same content, we\n    // have to check here whether they've changed and set them just if content is different.\n    // To do so, we compare stringified version of these blocks.\n    if (JSON.stringify(part.blocks.content) !== JSON.stringify(blockFragments)) {\n      part.set('blocks', blockFragments);\n    }\n  }\n\n  willDestroy() {\n    super.willDestroy(...arguments);\n    this.args.part.set('isUploading', false);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"conversation__bubble-container o__admin-comment m-2\\\" ...attributes>\\n  <div class=\\\"conversation__group-bubbles\\\">\\n    {{#if @bubble.isCard}}\\n      <AppFramework::Canvas\\n        @canvas={{@bubble.canvas}}\\n        @isBorderless={{false}}\\n        @disableInputs={{true}}\\n        @conversationId={{@bubble.part.conversation_id}}\\n        @location=\\\"conversation\\\"\\n      />\\n    {{else}}\\n      <div\\n        class=\\\"answers__past-conversations__admin-bubble {{if @isSelected \\\"answers__past-conversations__admin-bubble-selected\\\" \\\"o__admin-comment\\\"}} conversation__bubble\\\"\\n        {{on \\\"click\\\"\\n          (if @isSelected\\n            (fn @onDeselect @bubble)\\n            (fn @onSelect @bubble)\\n          )\\n        }}\\n        data-select-admin-bubble={{@index}}\\n      >\\n        <div class=\\\"conversation__bubble__inner u__disable-pointer-events\\\">\\n          <div class=\\\"flex flex-row items-start gap-4\\\">\\n            <div class=\\\"flex flex-col flex-1 conversation__text\\\">\\n              {{#if (eq @bubble.blocks.firstObject.type \\\"html\\\")}}\\n                {{render-html @bubble.blocks.firstObject.content}}\\n              {{else}}\\n                {{render-blocks @bubble.blocks}}\\n              {{/if}}\\n            </div>\\n            {{#if @isSelected}}\\n              <div class=\\\"text-white\\\">\\n                {{ic-interface-icon \\\"rounded-check\\\"}}\\n              </div>\\n            {{else}}\\n              <div class=\\\"text-blue-dark\\\">\\n                {{ic-interface-icon \\\"add\\\"}}\\n              </div>\\n            {{/if}}\\n          </div>\\n        </div>\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"conversation__bubble-container o__admin-comment m-2\\\" ...attributes>\\n  <div class=\\\"conversation__group-bubbles\\\">\\n    {{#if @bubble.isCard}}\\n      <AppFramework::Canvas\\n        @canvas={{@bubble.canvas}}\\n        @isBorderless={{false}}\\n        @disableInputs={{true}}\\n        @conversationId={{@bubble.part.conversation_id}}\\n        @location=\\\"conversation\\\"\\n      />\\n    {{else}}\\n      <div\\n        class=\\\"answers__past-conversations__admin-bubble {{if @isSelected \\\"answers__past-conversations__admin-bubble-selected\\\" \\\"o__admin-comment\\\"}} conversation__bubble\\\"\\n        {{on \\\"click\\\"\\n          (if @isSelected\\n            (fn @onDeselect @bubble)\\n            (fn @onSelect @bubble)\\n          )\\n        }}\\n        data-select-admin-bubble={{@index}}\\n      >\\n        <div class=\\\"conversation__bubble__inner u__disable-pointer-events\\\">\\n          <div class=\\\"flex flex-row items-start gap-4\\\">\\n            <div class=\\\"flex flex-col flex-1 conversation__text\\\">\\n              {{#if (eq @bubble.blocks.firstObject.type \\\"html\\\")}}\\n                {{render-html @bubble.blocks.firstObject.content}}\\n              {{else}}\\n                {{render-blocks @bubble.blocks}}\\n              {{/if}}\\n            </div>\\n            {{#if @isSelected}}\\n              <div class=\\\"text-white\\\">\\n                {{ic-interface-icon \\\"rounded-check\\\"}}\\n              </div>\\n            {{else}}\\n              <div class=\\\"text-blue-dark\\\">\\n                {{ic-interface-icon \\\"add\\\"}}\\n              </div>\\n            {{/if}}\\n          </div>\\n        </div>\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/editor/answer-panel/past-conversations/admin-bubble.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/answer-panel/past-conversations/admin-bubble.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcCard @isInteractive={{true}} {{on \\\"click\\\" this.toggle}} class=\\\"mb-2\\\" data-test-conversation-card={{@conversation.id}}>\\n  <div class=\\\"flex flex-row items-center gap-2\\\">\\n    <div class=\\\"flex flex-col\\\">{{ic-interface-icon \\\"conversation\\\"}}</div>\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <Heading @size=\\\"4\\\">\\n        Conversation with {{@conversation.mainParticipant.displayAs}}\\n      </Heading>\\n    </div>\\n    <div class=\\\"flex flex-col\\\">\\n      <Heading @size=\\\"4\\\">\\n        {{full-relative-time-ago-helper @conversation.created_at}}\\n      </Heading>\\n    </div>\\n  </div>\\n\\n  {{#if @isExpanded}}\\n    {{#if @conversation.syncedPartList.isLoadingMore}}\\n      <div class=\\\"flex flex-col justify-center items-center flex-1 p-16\\\">\\n        <IcLoadingIndicator @size=\\\"large\\\" />\\n      </div>\\n    {{else}}\\n      <div\\n        {{on \\\"click\\\" (stop-propagation noop)}}\\n        class=\\\"answers__past-conversations__expanded-card-container mt-4 p-2\\\"\\n        data-test-conversation-card-expanded={{@conversation.id}}\\n      >\\n        {{#each this.significantConversationBubbles as |bubble index|}}\\n          {{#if bubble.part.isUserPart}}\\n            <Answers::Editor::AnswerPanel::PastConversations::UserBubble @bubble={{bubble}} data-test-bubble={{bubble.part.id}} />\\n          {{else}}\\n            <Answers::Editor::AnswerPanel::PastConversations::AdminBubble\\n              @bubble={{bubble}}\\n              @isSelected={{contains bubble this.selectedBubbles}}\\n              @onSelect={{fn this.onSelectBubble bubble}}\\n              @onDeselect={{fn this.onDeselectBubble bubble}}\\n              @index={{index}}\\n              data-test-bubble={{bubble.part.id}}\\n            />\\n          {{/if}}\\n        {{/each}}\\n      </div>\\n      <div class=\\\"flex flex-col items-end answers__past-conversations__expanded-card-footer pt-4\\\">\\n        <IcButton\\n          @type=\\\"primary\\\"\\n          @label=\\\"Add {{pluralize this.selectedBubbles.length \\\"reply\\\"}}\\\"\\n          @disabled={{not this.selectedBubbles}}\\n          {{on \\\"click\\\"\\n            (queue\\n              (fn @onInsertReplies (sort-by \\\"part.id\\\" this.selectedBubbles))\\n              (track-analytics-event action=\\\"clicked\\\" object=\\\"insert_replies_button\\\" context=\\\"copy_from_past_conversations\\\" models=(array @answer) reply_count=this.selectedBubbles.length card_index=@cardIndex conversation_id=@conversation.id)\\n            )\\n          }}\\n          data-test-add-bubbles-button\\n        />\\n      </div>\\n    {{/if}}\\n  {{/if}}\\n</IcCard>\\n\", {\"contents\":\"<IcCard @isInteractive={{true}} {{on \\\"click\\\" this.toggle}} class=\\\"mb-2\\\" data-test-conversation-card={{@conversation.id}}>\\n  <div class=\\\"flex flex-row items-center gap-2\\\">\\n    <div class=\\\"flex flex-col\\\">{{ic-interface-icon \\\"conversation\\\"}}</div>\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <Heading @size=\\\"4\\\">\\n        Conversation with {{@conversation.mainParticipant.displayAs}}\\n      </Heading>\\n    </div>\\n    <div class=\\\"flex flex-col\\\">\\n      <Heading @size=\\\"4\\\">\\n        {{full-relative-time-ago-helper @conversation.created_at}}\\n      </Heading>\\n    </div>\\n  </div>\\n\\n  {{#if @isExpanded}}\\n    {{#if @conversation.syncedPartList.isLoadingMore}}\\n      <div class=\\\"flex flex-col justify-center items-center flex-1 p-16\\\">\\n        <IcLoadingIndicator @size=\\\"large\\\" />\\n      </div>\\n    {{else}}\\n      <div\\n        {{on \\\"click\\\" (stop-propagation noop)}}\\n        class=\\\"answers__past-conversations__expanded-card-container mt-4 p-2\\\"\\n        data-test-conversation-card-expanded={{@conversation.id}}\\n      >\\n        {{#each this.significantConversationBubbles as |bubble index|}}\\n          {{#if bubble.part.isUserPart}}\\n            <Answers::Editor::AnswerPanel::PastConversations::UserBubble @bubble={{bubble}} data-test-bubble={{bubble.part.id}} />\\n          {{else}}\\n            <Answers::Editor::AnswerPanel::PastConversations::AdminBubble\\n              @bubble={{bubble}}\\n              @isSelected={{contains bubble this.selectedBubbles}}\\n              @onSelect={{fn this.onSelectBubble bubble}}\\n              @onDeselect={{fn this.onDeselectBubble bubble}}\\n              @index={{index}}\\n              data-test-bubble={{bubble.part.id}}\\n            />\\n          {{/if}}\\n        {{/each}}\\n      </div>\\n      <div class=\\\"flex flex-col items-end answers__past-conversations__expanded-card-footer pt-4\\\">\\n        <IcButton\\n          @type=\\\"primary\\\"\\n          @label=\\\"Add {{pluralize this.selectedBubbles.length \\\"reply\\\"}}\\\"\\n          @disabled={{not this.selectedBubbles}}\\n          {{on \\\"click\\\"\\n            (queue\\n              (fn @onInsertReplies (sort-by \\\"part.id\\\" this.selectedBubbles))\\n              (track-analytics-event action=\\\"clicked\\\" object=\\\"insert_replies_button\\\" context=\\\"copy_from_past_conversations\\\" models=(array @answer) reply_count=this.selectedBubbles.length card_index=@cardIndex conversation_id=@conversation.id)\\n            )\\n          }}\\n          data-test-add-bubbles-button\\n        />\\n      </div>\\n    {{/if}}\\n  {{/if}}\\n</IcCard>\\n\",\"moduleName\":\"embercom/components/answers/editor/answer-panel/past-conversations/conversation-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/answer-panel/past-conversations/conversation-card.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nclass ConversationBubble {\n  blocks = [];\n  part;\n\n  constructor(blocks, part) {\n    this.blocks = blocks;\n    this.part = part;\n  }\n\n  get isCard() {\n    return this.blocks.length > 0 && this.firstBlock.type === 'messengerCard';\n  }\n\n  get canvas() {\n    if (this.isCard) {\n      return this.firstBlock.canvas;\n    }\n  }\n\n  get firstBlock() {\n    return this.blocks[0];\n  }\n}\n\nexport default class ConversationCard extends Component {\n  @service store;\n  @tracked selectedBubbles = [];\n\n  @action\n  onSelectBubble(reply) {\n    this.selectedBubbles = [...this.selectedBubbles, reply];\n  }\n\n  @action\n  onDeselectBubble(reply) {\n    this.selectedBubbles = this.selectedBubbles.filter(r => r !== reply);\n  }\n\n  get significantConversationBubbles() {\n    let bubbles = [];\n\n    let visibleParts = this.args.conversation.sortedParts.filter(this._isPartVisible);\n\n    visibleParts.forEach(visiblePart => {\n      if (visiblePart.hasMessengerCards) {\n        let partBubbles = this._splitPartWithCardsIntoReplies(visiblePart);\n        bubbles = bubbles.concat(partBubbles);\n      } else {\n        bubbles.push(new ConversationBubble(visiblePart.blocks, visiblePart));\n      }\n    });\n\n    return bubbles;\n  }\n\n  @action\n  toggle(e) {\n    if (!this.args.isExpanded) {\n      this.loadMore();\n    }\n    this.args.onToggle();\n  }\n\n  @action\n  loadMore() {\n    this.args.conversation.syncedPartList.loadMoreUntilPart(\n      this.args.conversation.firstUserPart.id,\n    );\n  }\n\n  _splitPartWithCardsIntoReplies(partWithCards) {\n    let selectableBlocks = [];\n    let createNewPartForNextNonCardBlock = true;\n\n    partWithCards.blocks.forEach(block => {\n      if (block.type === 'messengerCard') {\n        let selectableBlock = new ConversationBubble([block], partWithCards);\n        selectableBlocks.push(selectableBlock);\n        createNewPartForNextNonCardBlock = true;\n      } else if (createNewPartForNextNonCardBlock) {\n        selectableBlocks.push(new ConversationBubble([block], partWithCards));\n        createNewPartForNextNonCardBlock = false;\n      } else {\n        //append to last part\n        let lastPart = selectableBlocks[selectableBlocks.length - 1];\n        lastPart.blocks.push(block);\n      }\n    });\n\n    return selectableBlocks;\n  }\n\n  _isPartVisible(part) {\n    if (part.hasNoBody) {\n      return false;\n    }\n\n    if (part.isUserPart) {\n      return true;\n    }\n\n    if (part.isAdminPart) {\n      return (\n        (!part.isDeleted && !part.isRedacted && !part.admin_only && !part.isBotPart) ||\n        (part.isBotPart && !part.answerId)\n      );\n    }\n\n    return false;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-past-conversations-side-drawer-opener>\\n  {{#if this.conversationIds}}\\n    <div class=\\\"layout__box o__has-columns u__ml__45 mt-1\\\">\\n      <div class=\\\"layout__box o__flexes-to-1 u__ml__30\\\">\\n        <a class=\\\"btn__tertiary\\\"\\n          {{on \\\"click\\\"\\n            (queue\\n              this.showSideDrawer\\n              (track-analytics-event action=\\\"clicked\\\" object=\\\"open_side_drawer_link\\\" context=\\\"copy_from_past_conversations\\\" models=(array @answer))\\n            )\\n          }}\\n        >\\n          {{ic-interface-icon \\\"conversation\\\"}} Copy from past conversations\\n        </a>\\n      </div>\\n    </div>\\n\\n    {{#if this.sideDrawerIsVisible}}\\n      <Answers::Editor::AnswerPanel::PastConversations::SideDrawer\\n        @answer={{@answer}}\\n        @onClose={{this.hideSideDrawer}}\\n        @conversationIds={{this.conversationIds}}\\n        @onInsertReplies={{@onInsertReplies}}\\n      />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div data-past-conversations-side-drawer-opener>\\n  {{#if this.conversationIds}}\\n    <div class=\\\"layout__box o__has-columns u__ml__45 mt-1\\\">\\n      <div class=\\\"layout__box o__flexes-to-1 u__ml__30\\\">\\n        <a class=\\\"btn__tertiary\\\"\\n          {{on \\\"click\\\"\\n            (queue\\n              this.showSideDrawer\\n              (track-analytics-event action=\\\"clicked\\\" object=\\\"open_side_drawer_link\\\" context=\\\"copy_from_past_conversations\\\" models=(array @answer))\\n            )\\n          }}\\n        >\\n          {{ic-interface-icon \\\"conversation\\\"}} Copy from past conversations\\n        </a>\\n      </div>\\n    </div>\\n\\n    {{#if this.sideDrawerIsVisible}}\\n      <Answers::Editor::AnswerPanel::PastConversations::SideDrawer\\n        @answer={{@answer}}\\n        @onClose={{this.hideSideDrawer}}\\n        @conversationIds={{this.conversationIds}}\\n        @onInsertReplies={{@onInsertReplies}}\\n      />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/editor/answer-panel/past-conversations/side-drawer-opener.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/answer-panel/past-conversations/side-drawer-opener.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport {\n  hideIntercomWidgetWhenLoaded,\n  showIntercomWidget,\n} from 'embercom/lib/intercom-widget-helper';\n\nexport default class SideDrawerOpener extends Component {\n  @tracked sideDrawerIsVisible = false;\n\n  @action showSideDrawer() {\n    hideIntercomWidgetWhenLoaded();\n    this.sideDrawerIsVisible = true;\n  }\n\n  @action hideSideDrawer() {\n    this.sideDrawerIsVisible = false;\n    showIntercomWidget();\n  }\n\n  get conversationIds() {\n    return this.args.answer.exampleQuestionSourceConversationIds.slice(0, 20);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<PulseCandidate::SideDrawer\\n  @onClose={{@onClose}}\\n  @isOpen={{true}}\\n  as |drawer|\\n>\\n  <drawer.Header>\\n    Select replies to copy\\n  </drawer.Header>\\n  <drawer.Body>\\n    {{#if this.loadConversations.isRunning}}\\n      <div class=\\\"flex flex-col justify-center items-center flex-1\\\">\\n        <IcLoadingIndicator @size=\\\"small\\\" />\\n      </div>\\n    {{else}}\\n      {{#each (sort-by \\\"created_at:desc\\\" this.conversations) as |conversation index|}}\\n        <Answers::Editor::AnswerPanel::PastConversations::ConversationCard\\n          @conversation={{conversation}}\\n          @answer={{@answer}}\\n          @cardIndex={{index}}\\n          @isExpanded={{eq conversation this.expandedConversation}}\\n          @onToggle={{fn this.toggleConversationCard conversation}}\\n          @onInsertReplies={{queue\\n            @onInsertReplies\\n            @onClose\\n          }}\\n        />\\n      {{/each}}\\n    {{/if}}\\n  </drawer.Body>\\n</PulseCandidate::SideDrawer>\", {\"contents\":\"<PulseCandidate::SideDrawer\\n  @onClose={{@onClose}}\\n  @isOpen={{true}}\\n  as |drawer|\\n>\\n  <drawer.Header>\\n    Select replies to copy\\n  </drawer.Header>\\n  <drawer.Body>\\n    {{#if this.loadConversations.isRunning}}\\n      <div class=\\\"flex flex-col justify-center items-center flex-1\\\">\\n        <IcLoadingIndicator @size=\\\"small\\\" />\\n      </div>\\n    {{else}}\\n      {{#each (sort-by \\\"created_at:desc\\\" this.conversations) as |conversation index|}}\\n        <Answers::Editor::AnswerPanel::PastConversations::ConversationCard\\n          @conversation={{conversation}}\\n          @answer={{@answer}}\\n          @cardIndex={{index}}\\n          @isExpanded={{eq conversation this.expandedConversation}}\\n          @onToggle={{fn this.toggleConversationCard conversation}}\\n          @onInsertReplies={{queue\\n            @onInsertReplies\\n            @onClose\\n          }}\\n        />\\n      {{/each}}\\n    {{/if}}\\n  </drawer.Body>\\n</PulseCandidate::SideDrawer>\",\"moduleName\":\"embercom/components/answers/editor/answer-panel/past-conversations/side-drawer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/answer-panel/past-conversations/side-drawer.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Conversation from 'embercom/models/conversation';\n\nexport default class SideDrawer extends Component {\n  @service store;\n  @service appService;\n  @tracked conversations = [];\n  @tracked expandedConversation;\n\n  constructor() {\n    super(...arguments);\n\n    this.loadConversations.perform();\n  }\n\n  @action\n  toggleConversationCard(conversation) {\n    if (this.expandedConversation === conversation) {\n      this.expandedConversation = null;\n    } else {\n      this.expandedConversation = conversation;\n    }\n  }\n\n  @task\n  *loadConversations() {\n    let response = yield Conversation.newSearch({\n      ids: this.args.conversationIds,\n      app_id: this.appService.app.id,\n    });\n    this.store.pushPayload({\n      conversations: response.conversations,\n    });\n\n    this.conversations = response.conversations.map(({ id }) =>\n      this.store.peekRecord('conversation', id),\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"conversation__bubble-container o__user-comment m-2 opacity-50 answers__past-conversations__user-bubble\\\" ...attributes>\\n  <div class=\\\"conversation__group-bubbles\\\">\\n    <div class=\\\"conversation__bubble o__user-comment\\\">\\n      <div class=\\\"conversation__bubble__inner\\\">\\n        <div dir=\\\"ltr\\\" class=\\\"conversation__text o__user-comment\\\">\\n          {{#if (eq @bubble.blocks.firstObject.type \\\"html\\\")}}\\n            {{render-html @bubble.blocks.firstObject.content}}\\n          {{else}}\\n            {{render-blocks @bubble.blocks}}\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"conversation__bubble-container o__user-comment m-2 opacity-50 answers__past-conversations__user-bubble\\\" ...attributes>\\n  <div class=\\\"conversation__group-bubbles\\\">\\n    <div class=\\\"conversation__bubble o__user-comment\\\">\\n      <div class=\\\"conversation__bubble__inner\\\">\\n        <div dir=\\\"ltr\\\" class=\\\"conversation__text o__user-comment\\\">\\n          {{#if (eq @bubble.blocks.firstObject.type \\\"html\\\")}}\\n            {{render-html @bubble.blocks.firstObject.content}}\\n          {{else}}\\n            {{render-blocks @bubble.blocks}}\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/editor/answer-panel/past-conversations/user-bubble.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/answer-panel/past-conversations/user-bubble.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Answers::Editor::Styles />\\n<div class=\\\"answers__multipart-response-editor__container\\\">\\n  <MessengerPreview::TranslationLoaderWrapper @locale={{or @answer.languageCode 'en'}}>\\n    <MessengerPreview::Stream as |stream|>\\n      <stream.operatorPart @useOperatorIdentity={{true}} as |operatorPart|>\\n        <SortableGroup\\n          @tagName=\\\"div\\\"\\n          @groupModel={{@answer.multipartResponse}}\\n          @onChange={{this.reorderMultipartResponse}} as |group|\\n        >\\n          {{#each @answer.multipartResponse.responseParts as |part index|}}\\n            <group.item\\n              @tagName=\\\"div\\\"\\n              data-test-multipart-response-editor-sortable-item={{index}}\\n              @model={{part}}\\n              @group={{group}}\\n              @handle=\\\".answers__multipart-response-editor__drag-handle\\\"\\n            >\\n              <FocusComponent\\n                class=\\\"layout__box o__has-columns o__flexes-to-1 answers__multipart-response-editor__response-part\\\"\\n                @disabled={{part.isMessengerApp}}\\n              >\\n                <div class=\\\"layout__box o__flexes-to-1\\\">\\n                  {{#if part.isMessengerApp}}\\n                    <div class=\\\"messenger-preview__home__card__container\\\">\\n                      <AppFramework::Canvas\\n                        data-test-response-editor-canvas={{index}}\\n                        @canvas={{part.previewCanvas}}\\n                      />\\n                    </div>\\n                  {{else}}\\n                    <operatorPart.comment>\\n                      <Answers::Editor::AnswerPanel::PartComposer\\n                        data-test-response-editor-composer={{index}}\\n                        @isEditable={{true}}\\n                        @id={{index}}\\n                        @part={{part}}\\n                      />\\n                    </operatorPart.comment>\\n                  {{/if}}\\n                </div>\\n                <div class=\\\"layout__box o__has-columns u__ml__15 u__mt__20 answers__multipart-response-editor__response-part-actions-container\\\">\\n                  {{#if (gt @answer.multipartResponse.responseParts.length 1)}}\\n                    <div\\n                      class=\\\"answers__multipart-response-editor__drag-handle u__grabbing-cursor\\\"\\n                      data-test-multipart-response-editor-reorder-part={{index}}\\n                    >\\n                      {{ic-interface-icon 'vertical-order' color='gray'}}\\n                    </div>\\n                    <div class=\\\"answers__multipart-response-editor__response-part-actions u__ml__10\\\">\\n                      <span\\n                        class=\\\"answers__multipart-response-editor__response-part-delete\\\"\\n                        onclick={{fn this.remove part}}\\n                        data-test-multipart-response-editor-remove-part={{index}}\\n                      >\\n                        {{ic-interface-icon \\\"trash\\\"}}\\n                      </span>\\n                    </div>\\n                  {{else}}\\n                    <span data-test-multipart-response-editor-reorder-part={{index}} class=\\\"answers__multipart-response-editor__drag-handle\\\"></span>\\n                  {{/if}}\\n                </div>\\n              </FocusComponent>\\n            </group.item>\\n          {{/each}}\\n        </SortableGroup>\\n      </stream.operatorPart>\\n      <div class=\\\"mb-3\\\"></div>\\n      <div class=\\\"layout__box o__has-columns u__ml__45\\\">\\n        <div class=\\\"layout__box o__flexes-to-1 u__ml__30\\\">\\n          <a\\n            class=\\\"btn__tertiary\\\"\\n            data-test-multipart-response-editor-add-bubble\\n            {{on \\\"click\\\" this.addMessage}}\\n          >\\n            {{ic-interface-icon \\\"chat-bubble-line\\\"}} Add a bubble\\n          </a>\\n        </div>\\n        <div class=\\\"layout__box u__mr__60\\\">\\n          {{#if (lt @answer.multipartResponse.responseParts.length this.maxNumberOfParts)}}\\n            <AppFramework::MessengerApps::Inserter::AppInserter\\n              class=\\\"inbox__conversation-controls__inserter-opener\\\"\\n              data-test-inserter=\\\"messenger-app\\\"\\n              @contextualData={{hash location=\\\"operator\\\"}}\\n              @restrictTo=\\\"operator\\\"\\n              @insertApp={{this.insertMessengerCard}}\\n              @inserterTitle=\\\"Send as follow up action\\\"\\n              @capability=\\\"operator\\\"\\n            >\\n              <a class=\\\"btn__tertiary\\\" data-test-multipart-response-editor-add-app>\\n                {{ic-interface-icon \\\"app-store\\\"}} Insert an app\\n              </a>\\n            </AppFramework::MessengerApps::Inserter::AppInserter>\\n          {{else}}\\n            <a\\n              class=\\\"btn__tertiary\\\"\\n              data-test-multipart-response-editor-add-app\\n              {{on \\\"click\\\" this.showWarningMessage}}\\n            >\\n              {{ic-interface-icon \\\"app-store\\\"}} Insert an app\\n            </a>\\n          {{/if}}\\n        </div>\\n      </div>\\n\\n      <Answers::Editor::AnswerPanel::PastConversations::SideDrawerOpener\\n        @answer={{@answer}}\\n        @onInsertReplies={{this.insertRepliesFromPastConversations}}\\n      />\\n\\n      <div class=\\\"mb-6\\\"></div>\\n      <div class=\\\"answers__multipart-response-editor__horizontal-rule\\\">\\n        <span class=\\\"t__light-text u__ml__10 u__mr__10\\\">\\n          Resolution Bot will always end with…\\n        </span>\\n      </div>\\n      <stream.operatorPart @useOperatorIdentity={{true}} as |operatorPart|>\\n        <div class=\\\"layout__box o__has-columns o__flexes-to-1\\\">\\n          <div class=\\\"layout__box o__flexes-to-1\\\" data-test-did-that-help-messenger-preview>\\n            <operatorPart.comment>\\n              {{t 'answer_bot_did_that_help'}}\\n            </operatorPart.comment>\\n          </div>\\n          <div class=\\\"layout__box o__has-columns u__ml__15 u__mt__20 answers__multipart-response-editor__response-part-actions-container\\\">\\n\\n          </div>\\n        </div>\\n      </stream.operatorPart>\\n    </MessengerPreview::Stream>\\n    <div class=\\\"answers__multipart-response-editor__quick-replies u__padr__30 u__mt__10\\\">\\n      <button\\n        class=\\\"u__pad__10 u__ml__40 u__mr__5 u__mb__5 answers__multipart-response-editor__quick-reply-button\\\"\\n        disabled\\n      >\\n        {{t 'answer_bot_all_done'}}\\n      </button>\\n      <button\\n        class=\\\"u__pad__10 u__mr__5 u__mb__5 answers__multipart-response-editor__quick-reply-button\\\"\\n        disabled\\n      >\\n        {{t 'answer_bot_more_answers'}}\\n      </button>\\n      {{#if @resolutionBotLoopingSettings.enabled}}\\n        <button\\n          class=\\\"u__pad__10 u__mr__5 u__mb__5 answers__multipart-response-editor__quick-reply-button\\\"\\n          disabled\\n          data-test-ask-another-question-button\\n        >\\n          {{t 'answer_bot_ask_another_question'}}\\n        </button>\\n      {{/if}}\\n      <button\\n        class=\\\"u__pad__10 u__mr__5 u__mb__5 answers__multipart-response-editor__quick-reply-button\\\"\\n        disabled\\n      >\\n        {{#if (and @resolutionBotLoopingSettings.enabled (not @resolutionBotLoopingSettings.accessToTeammateEnabled))}}\\n          <span data-test-get-more-help-button>{{t 'answer_bot_get_more_help'}}</span>\\n        {{else}}\\n          <span data-test-wait-for-team-button>{{t 'answer_bot_wait_for_the_team'}}</span>\\n        {{/if}}\\n      </button>\\n    </div>\\n  </MessengerPreview::TranslationLoaderWrapper>\\n</div>\\n\\n{{#if (has-feature \\\"canUseLoopingBot\\\")}}\\n  <div class=\\\"flex flex-row gap-1 mt-6\\\" data-test-custom-bots-answer-bot-editor-looping-settings-link>\\n    <Text @styling=\\\"muted\\\">\\n      {{ic-interface-icon \\\"settings\\\"}}\\n    </Text>\\n    <Text @styling=\\\"muted\\\" class=\\\"flex-grow w-48\\\">\\n      You can view your current Resolution Bot setup in <LinkTo @route=\\\"apps.app.operator.settings\\\" @query={{hash section=\\\"resolution-bot-looping\\\"}}>Operator settings</LinkTo>\\n    </Text>\\n  </div>\\n{{/if}}\\n\\n\", {\"contents\":\"<Answers::Editor::Styles />\\n<div class=\\\"answers__multipart-response-editor__container\\\">\\n  <MessengerPreview::TranslationLoaderWrapper @locale={{or @answer.languageCode 'en'}}>\\n    <MessengerPreview::Stream as |stream|>\\n      <stream.operatorPart @useOperatorIdentity={{true}} as |operatorPart|>\\n        <SortableGroup\\n          @tagName=\\\"div\\\"\\n          @groupModel={{@answer.multipartResponse}}\\n          @onChange={{this.reorderMultipartResponse}} as |group|\\n        >\\n          {{#each @answer.multipartResponse.responseParts as |part index|}}\\n            <group.item\\n              @tagName=\\\"div\\\"\\n              data-test-multipart-response-editor-sortable-item={{index}}\\n              @model={{part}}\\n              @group={{group}}\\n              @handle=\\\".answers__multipart-response-editor__drag-handle\\\"\\n            >\\n              <FocusComponent\\n                class=\\\"layout__box o__has-columns o__flexes-to-1 answers__multipart-response-editor__response-part\\\"\\n                @disabled={{part.isMessengerApp}}\\n              >\\n                <div class=\\\"layout__box o__flexes-to-1\\\">\\n                  {{#if part.isMessengerApp}}\\n                    <div class=\\\"messenger-preview__home__card__container\\\">\\n                      <AppFramework::Canvas\\n                        data-test-response-editor-canvas={{index}}\\n                        @canvas={{part.previewCanvas}}\\n                      />\\n                    </div>\\n                  {{else}}\\n                    <operatorPart.comment>\\n                      <Answers::Editor::AnswerPanel::PartComposer\\n                        data-test-response-editor-composer={{index}}\\n                        @isEditable={{true}}\\n                        @id={{index}}\\n                        @part={{part}}\\n                      />\\n                    </operatorPart.comment>\\n                  {{/if}}\\n                </div>\\n                <div class=\\\"layout__box o__has-columns u__ml__15 u__mt__20 answers__multipart-response-editor__response-part-actions-container\\\">\\n                  {{#if (gt @answer.multipartResponse.responseParts.length 1)}}\\n                    <div\\n                      class=\\\"answers__multipart-response-editor__drag-handle u__grabbing-cursor\\\"\\n                      data-test-multipart-response-editor-reorder-part={{index}}\\n                    >\\n                      {{ic-interface-icon 'vertical-order' color='gray'}}\\n                    </div>\\n                    <div class=\\\"answers__multipart-response-editor__response-part-actions u__ml__10\\\">\\n                      <span\\n                        class=\\\"answers__multipart-response-editor__response-part-delete\\\"\\n                        onclick={{fn this.remove part}}\\n                        data-test-multipart-response-editor-remove-part={{index}}\\n                      >\\n                        {{ic-interface-icon \\\"trash\\\"}}\\n                      </span>\\n                    </div>\\n                  {{else}}\\n                    <span data-test-multipart-response-editor-reorder-part={{index}} class=\\\"answers__multipart-response-editor__drag-handle\\\"></span>\\n                  {{/if}}\\n                </div>\\n              </FocusComponent>\\n            </group.item>\\n          {{/each}}\\n        </SortableGroup>\\n      </stream.operatorPart>\\n      <div class=\\\"mb-3\\\"></div>\\n      <div class=\\\"layout__box o__has-columns u__ml__45\\\">\\n        <div class=\\\"layout__box o__flexes-to-1 u__ml__30\\\">\\n          <a\\n            class=\\\"btn__tertiary\\\"\\n            data-test-multipart-response-editor-add-bubble\\n            {{on \\\"click\\\" this.addMessage}}\\n          >\\n            {{ic-interface-icon \\\"chat-bubble-line\\\"}} Add a bubble\\n          </a>\\n        </div>\\n        <div class=\\\"layout__box u__mr__60\\\">\\n          {{#if (lt @answer.multipartResponse.responseParts.length this.maxNumberOfParts)}}\\n            <AppFramework::MessengerApps::Inserter::AppInserter\\n              class=\\\"inbox__conversation-controls__inserter-opener\\\"\\n              data-test-inserter=\\\"messenger-app\\\"\\n              @contextualData={{hash location=\\\"operator\\\"}}\\n              @restrictTo=\\\"operator\\\"\\n              @insertApp={{this.insertMessengerCard}}\\n              @inserterTitle=\\\"Send as follow up action\\\"\\n              @capability=\\\"operator\\\"\\n            >\\n              <a class=\\\"btn__tertiary\\\" data-test-multipart-response-editor-add-app>\\n                {{ic-interface-icon \\\"app-store\\\"}} Insert an app\\n              </a>\\n            </AppFramework::MessengerApps::Inserter::AppInserter>\\n          {{else}}\\n            <a\\n              class=\\\"btn__tertiary\\\"\\n              data-test-multipart-response-editor-add-app\\n              {{on \\\"click\\\" this.showWarningMessage}}\\n            >\\n              {{ic-interface-icon \\\"app-store\\\"}} Insert an app\\n            </a>\\n          {{/if}}\\n        </div>\\n      </div>\\n\\n      <Answers::Editor::AnswerPanel::PastConversations::SideDrawerOpener\\n        @answer={{@answer}}\\n        @onInsertReplies={{this.insertRepliesFromPastConversations}}\\n      />\\n\\n      <div class=\\\"mb-6\\\"></div>\\n      <div class=\\\"answers__multipart-response-editor__horizontal-rule\\\">\\n        <span class=\\\"t__light-text u__ml__10 u__mr__10\\\">\\n          Resolution Bot will always end with…\\n        </span>\\n      </div>\\n      <stream.operatorPart @useOperatorIdentity={{true}} as |operatorPart|>\\n        <div class=\\\"layout__box o__has-columns o__flexes-to-1\\\">\\n          <div class=\\\"layout__box o__flexes-to-1\\\" data-test-did-that-help-messenger-preview>\\n            <operatorPart.comment>\\n              {{t 'answer_bot_did_that_help'}}\\n            </operatorPart.comment>\\n          </div>\\n          <div class=\\\"layout__box o__has-columns u__ml__15 u__mt__20 answers__multipart-response-editor__response-part-actions-container\\\">\\n\\n          </div>\\n        </div>\\n      </stream.operatorPart>\\n    </MessengerPreview::Stream>\\n    <div class=\\\"answers__multipart-response-editor__quick-replies u__padr__30 u__mt__10\\\">\\n      <button\\n        class=\\\"u__pad__10 u__ml__40 u__mr__5 u__mb__5 answers__multipart-response-editor__quick-reply-button\\\"\\n        disabled\\n      >\\n        {{t 'answer_bot_all_done'}}\\n      </button>\\n      <button\\n        class=\\\"u__pad__10 u__mr__5 u__mb__5 answers__multipart-response-editor__quick-reply-button\\\"\\n        disabled\\n      >\\n        {{t 'answer_bot_more_answers'}}\\n      </button>\\n      {{#if @resolutionBotLoopingSettings.enabled}}\\n        <button\\n          class=\\\"u__pad__10 u__mr__5 u__mb__5 answers__multipart-response-editor__quick-reply-button\\\"\\n          disabled\\n          data-test-ask-another-question-button\\n        >\\n          {{t 'answer_bot_ask_another_question'}}\\n        </button>\\n      {{/if}}\\n      <button\\n        class=\\\"u__pad__10 u__mr__5 u__mb__5 answers__multipart-response-editor__quick-reply-button\\\"\\n        disabled\\n      >\\n        {{#if (and @resolutionBotLoopingSettings.enabled (not @resolutionBotLoopingSettings.accessToTeammateEnabled))}}\\n          <span data-test-get-more-help-button>{{t 'answer_bot_get_more_help'}}</span>\\n        {{else}}\\n          <span data-test-wait-for-team-button>{{t 'answer_bot_wait_for_the_team'}}</span>\\n        {{/if}}\\n      </button>\\n    </div>\\n  </MessengerPreview::TranslationLoaderWrapper>\\n</div>\\n\\n{{#if (has-feature \\\"canUseLoopingBot\\\")}}\\n  <div class=\\\"flex flex-row gap-1 mt-6\\\" data-test-custom-bots-answer-bot-editor-looping-settings-link>\\n    <Text @styling=\\\"muted\\\">\\n      {{ic-interface-icon \\\"settings\\\"}}\\n    </Text>\\n    <Text @styling=\\\"muted\\\" class=\\\"flex-grow w-48\\\">\\n      You can view your current Resolution Bot setup in <LinkTo @route=\\\"apps.app.operator.settings\\\" @query={{hash section=\\\"resolution-bot-looping\\\"}}>Operator settings</LinkTo>\\n    </Text>\\n  </div>\\n{{/if}}\\n\\n\",\"moduleName\":\"embercom/components/answers/editor/multipart-response-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/multipart-response-editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport createFragmentFromBlock from 'embercom/lib/blocks/create-fragment-from-block';\nimport ComposerState from '@intercom/embercom-composer/composer-state';\nimport Config from '@intercom/embercom-composer/config/config';\n\nconst MAX_NUMBER_OF_PARTS = 11;\n\nexport default class MultipartResponseEditor extends Component {\n  @service intercomEventService;\n  @service store;\n  @service notificationsService;\n\n  maxNumberOfParts = MAX_NUMBER_OF_PARTS;\n\n  @action\n  reorderMultipartResponse(multipartResponse, reorderedMultipartResponse) {\n    multipartResponse.set('responseParts', reorderedMultipartResponse);\n  }\n\n  @action\n  addMessage() {\n    if (this.args.answer.multipartResponse.responseParts.length >= MAX_NUMBER_OF_PARTS) {\n      this.showWarningMessage();\n      return;\n    }\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'add_message_response_part',\n      object: this.args.answer,\n      context: 'multipart_response',\n    });\n    let part = this.store.createFragment('answers/response-part-text');\n    this.args.answer.multipartResponse.responseParts.addFragment(part);\n  }\n\n  @action\n  insertMessengerCard(cardJSON, _app, cardCreationParams) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'add_app_response_part_app',\n      object: this.args.answer,\n      context: 'multipart_response',\n    });\n    let part = this.store.createFragment('answers/response-part-messenger-card', {\n      cardCreationParams,\n      previewCanvas: cardJSON.canvas,\n      previewMessengerCardUri: cardJSON.uri,\n    });\n    this.args.answer.multipartResponse.responseParts.addFragment(part);\n  }\n\n  @action\n  showWarningMessage() {\n    this.notificationsService.notifyWarning(\n      `No more bubbles can be added as you have reached the maximum of ${MAX_NUMBER_OF_PARTS} bubbles in one answer.`,\n    );\n  }\n\n  @action\n  remove(part) {\n    this.args.answer.multipartResponse.responseParts.removeObject(part);\n  }\n\n  @action\n  insertRepliesFromPastConversations(replies) {\n    replies.forEach(reply => {\n      if (!reply.isCard) {\n        let blocks = this._transformBlocksIfNecessary(reply.blocks);\n        let newPart = this.store.createFragment('answers/response-part-text');\n        newPart.blocks = blocks.map(block => createFragmentFromBlock(this.store, block));\n        this.args.answer.multipartResponse.responseParts.addFragment(newPart);\n      }\n    });\n\n    this.args.answer.multipartResponse.removeEmptyResponseParts();\n  }\n\n  _transformBlocksIfNecessary(blocks) {\n    if (blocks.firstObject.type === 'html') {\n      let composerState = ComposerState.create({\n        blocks: [],\n        config: Config.createFromPreset('answer'),\n      });\n      composerState.paste(blocks.firstObject.content, { type: 'html' });\n      return composerState.serialized;\n    } else {\n      return blocks;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__centers-horizontally u__padl__50 u__padr__50\\\">\\n  <div class=\\\"layout__box o__has-columns u__mt__20 u__mb__50 answers__multipart-response-editor__page\\\">\\n    <div class=\\\"u__mt__25 u__mr__50 u__padr__30 layout__box o__has-rows u__relative\\\">\\n      <div class=\\\"layout__box o__has-columns\\\">\\n        <div class=\\\"layout__box answers__answer-editor__operator-response-text-body\\\">\\n          <h2 class=\\\"t__h2\\\">\\n            Compose the answer\\n          </h2>\\n          <div class=\\\"h-2\\\"></div>\\n          <p class=\\\"t__body text-gray\\\">\\n            This is the reply Resolution Bot will send to the customer.\\n            You can also add an app,\\n            so the bot can give your customers exactly the help they need.\\n          </p>\\n        </div>\\n        <div class=\\\"layout__box answers__multipart-response-editor__arrow\\\">\\n          {{inline-svg \\\"answer-bot/arrow-with-loop.svg\\\"}}\\n        </div>\\n      </div>\\n      <div class=\\\"h-2\\\"></div>\\n      <div class=\\\"layout__box\\\">\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/operator/answer-bot/answer-bot-how-to-create-an-effective-answer\\\"\\n          @title=\\\"How to write effective answers\\\"\\n          @type=\\\"article\\\"\\n          data-test-answer-bot-response-doc\\n        />\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box u__mt__5\\\">\\n      <Answers::Editor::MultipartResponseEditor\\n        @answer={{@answer}}\\n        @resolutionBotLoopingSettings={{@resolutionBotLoopingSettings}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__centers-horizontally u__padl__50 u__padr__50\\\">\\n  <div class=\\\"layout__box o__has-columns u__mt__20 u__mb__50 answers__multipart-response-editor__page\\\">\\n    <div class=\\\"u__mt__25 u__mr__50 u__padr__30 layout__box o__has-rows u__relative\\\">\\n      <div class=\\\"layout__box o__has-columns\\\">\\n        <div class=\\\"layout__box answers__answer-editor__operator-response-text-body\\\">\\n          <h2 class=\\\"t__h2\\\">\\n            Compose the answer\\n          </h2>\\n          <div class=\\\"h-2\\\"></div>\\n          <p class=\\\"t__body text-gray\\\">\\n            This is the reply Resolution Bot will send to the customer.\\n            You can also add an app,\\n            so the bot can give your customers exactly the help they need.\\n          </p>\\n        </div>\\n        <div class=\\\"layout__box answers__multipart-response-editor__arrow\\\">\\n          {{inline-svg \\\"answer-bot/arrow-with-loop.svg\\\"}}\\n        </div>\\n      </div>\\n      <div class=\\\"h-2\\\"></div>\\n      <div class=\\\"layout__box\\\">\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/operator/answer-bot/answer-bot-how-to-create-an-effective-answer\\\"\\n          @title=\\\"How to write effective answers\\\"\\n          @type=\\\"article\\\"\\n          data-test-answer-bot-response-doc\\n        />\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box u__mt__5\\\">\\n      <Answers::Editor::MultipartResponseEditor\\n        @answer={{@answer}}\\n        @resolutionBotLoopingSettings={{@resolutionBotLoopingSettings}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/editor/multipart-response-wrapper.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/multipart-response-wrapper.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__has-columns u__relative\\\" data-test-added-examples-component>\\n  <div\\n    class=\\\"\\n      answers__example-questions-editor__training-progress-container\\n      rounded {{this.containerClasses}}\\n    \\\"\\n  >\\n    {{#liquid-bind @exampleQuestions.length class=\\\"animate__answer-progress\\\"}}\\n      <div\\n        class=\\\"\\n          relative bg-blue-light rounded cursor-pointer\\n          {{if this.isOpen \\\"rounded-b-none\\\"}}\\n          {{if (not this.hasExamples) \\\"bg-white\\\"}}\\n          {{if @questionTrainingState.isCompleted \\\"bg-green-light\\\"}}\\n        \\\"\\n        data-test-added-examples-toggle-added-examples-list\\n        {{on \\\"click\\\" (queue\\n          (track-analytics-event action=\\\"clicked\\\" object=\\\"training_progress\\\" context=(if this.isOpen \\\"hide\\\" \\\"show\\\"))\\n          (set this.isOpen (not this.isOpen))\\n        )}}\\n      >\\n        <div class=\\\"layout__box o__has-columns u__padt__15 u__padb__15\\\">\\n          <div class=\\\"u__padr__15 u__padl__15 u__center-layout\\\">\\n            <Answers::Editor::QuestionsPanel::RadialProgressIndicator\\n              @progressCounter={{@exampleQuestions.length}}\\n              @progressCompletionAt={{@questionTrainingState.completedThreshold}}\\n              @progressSuccessAt={{@questionTrainingState.completedThreshold}}\\n            />\\n          </div>\\n          <div class=\\\"o__flexes-to-1 layout__box o__has-rows\\\">\\n            <h2 class=\\\"t__h3 u__mb__5\\\">\\n              Training progress\\n            </h2>\\n            <p class=\\\"t__body\\\">\\n              {{#if this.hasExamples}}\\n                <span data-test-training-progress-count>\\n                  {{pluralize @exampleQuestions.length \\\"example\\\"}} selected\\n                </span>\\n                <span class=\\\"u__ml__10 text-blue\\\">\\n                  {{if this.isOpen \\\"Hide\\\" \\\"Show\\\"}}\\n                </span>\\n              {{else}}\\n                <span class=\\\"text-gray\\\">\\n                  Select your first example to get started\\n                </span>\\n              {{/if}}\\n            </p>\\n          </div>\\n        </div>\\n        {{#if @tooltipContent}}\\n          <div class=\\\"answers__tooltip-layout-box-center\\\">\\n            <div class=\\\"layout__box o__flexes-to-1 answers__tooltip-container\\\" data-test-completed-tooltip>\\n              {{@tooltipContent}}\\n            </div>\\n          </div>\\n        {{/if}}\\n      </div>\\n    {{/liquid-bind}}\\n    {{#liquid-if (and this.hasExamples this.isOpen) class=\\\"bg-white rounded-b animation__feed\\\"}}\\n      {{#each @exampleQuestions as |example|}}\\n        <div class=\\\"flex items-center m-2\\\" data-test-added-examples-item={{example.identifier}}>\\n          <div class=\\\"answers__example-questions-editor__added-example flex-1 px-5 py-4 rounded\\\">\\n            {{example.text}}\\n          </div>\\n          <div class=\\\"ml-4 w-16\\\">\\n            <IcButton\\n              @icon=\\\"close\\\"\\n              @type=\\\"secondary-destructive\\\"\\n              data-test-added-examples-remove-button={{example.identifier}}\\n              @onClick={{fn @removeExample example}}\\n              @fit={{true}}\\n            />\\n          </div>\\n        </div>\\n      {{/each}}\\n    {{/liquid-if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__has-columns u__relative\\\" data-test-added-examples-component>\\n  <div\\n    class=\\\"\\n      answers__example-questions-editor__training-progress-container\\n      rounded {{this.containerClasses}}\\n    \\\"\\n  >\\n    {{#liquid-bind @exampleQuestions.length class=\\\"animate__answer-progress\\\"}}\\n      <div\\n        class=\\\"\\n          relative bg-blue-light rounded cursor-pointer\\n          {{if this.isOpen \\\"rounded-b-none\\\"}}\\n          {{if (not this.hasExamples) \\\"bg-white\\\"}}\\n          {{if @questionTrainingState.isCompleted \\\"bg-green-light\\\"}}\\n        \\\"\\n        data-test-added-examples-toggle-added-examples-list\\n        {{on \\\"click\\\" (queue\\n          (track-analytics-event action=\\\"clicked\\\" object=\\\"training_progress\\\" context=(if this.isOpen \\\"hide\\\" \\\"show\\\"))\\n          (set this.isOpen (not this.isOpen))\\n        )}}\\n      >\\n        <div class=\\\"layout__box o__has-columns u__padt__15 u__padb__15\\\">\\n          <div class=\\\"u__padr__15 u__padl__15 u__center-layout\\\">\\n            <Answers::Editor::QuestionsPanel::RadialProgressIndicator\\n              @progressCounter={{@exampleQuestions.length}}\\n              @progressCompletionAt={{@questionTrainingState.completedThreshold}}\\n              @progressSuccessAt={{@questionTrainingState.completedThreshold}}\\n            />\\n          </div>\\n          <div class=\\\"o__flexes-to-1 layout__box o__has-rows\\\">\\n            <h2 class=\\\"t__h3 u__mb__5\\\">\\n              Training progress\\n            </h2>\\n            <p class=\\\"t__body\\\">\\n              {{#if this.hasExamples}}\\n                <span data-test-training-progress-count>\\n                  {{pluralize @exampleQuestions.length \\\"example\\\"}} selected\\n                </span>\\n                <span class=\\\"u__ml__10 text-blue\\\">\\n                  {{if this.isOpen \\\"Hide\\\" \\\"Show\\\"}}\\n                </span>\\n              {{else}}\\n                <span class=\\\"text-gray\\\">\\n                  Select your first example to get started\\n                </span>\\n              {{/if}}\\n            </p>\\n          </div>\\n        </div>\\n        {{#if @tooltipContent}}\\n          <div class=\\\"answers__tooltip-layout-box-center\\\">\\n            <div class=\\\"layout__box o__flexes-to-1 answers__tooltip-container\\\" data-test-completed-tooltip>\\n              {{@tooltipContent}}\\n            </div>\\n          </div>\\n        {{/if}}\\n      </div>\\n    {{/liquid-bind}}\\n    {{#liquid-if (and this.hasExamples this.isOpen) class=\\\"bg-white rounded-b animation__feed\\\"}}\\n      {{#each @exampleQuestions as |example|}}\\n        <div class=\\\"flex items-center m-2\\\" data-test-added-examples-item={{example.identifier}}>\\n          <div class=\\\"answers__example-questions-editor__added-example flex-1 px-5 py-4 rounded\\\">\\n            {{example.text}}\\n          </div>\\n          <div class=\\\"ml-4 w-16\\\">\\n            <IcButton\\n              @icon=\\\"close\\\"\\n              @type=\\\"secondary-destructive\\\"\\n              data-test-added-examples-remove-button={{example.identifier}}\\n              @onClick={{fn @removeExample example}}\\n              @fit={{true}}\\n            />\\n          </div>\\n        </div>\\n      {{/each}}\\n    {{/liquid-if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/editor/questions-panel/added-examples.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/questions-panel/added-examples.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class AddedExamples extends Component {\n  @tracked isOpen = this.args.expandSelectedExamples;\n\n  get hasExamples() {\n    return this.args.exampleQuestions.length > 0;\n  }\n\n  get hasNoExamples() {\n    return !this.hasExamples;\n  }\n\n  get containerClasses() {\n    if (this.hasNoExamples) {\n      return 'border-2 border-dashed border-gray-light';\n    } else if (this.args.questionTrainingState.isCompleted) {\n      return 'border border-green-light';\n    } else {\n      return 'border border-blue-light';\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<Common::ModalComponent @closeModal={{@onClose}} as |modal|>\\n  <modal.components.header @title=\\\"Configure qualifiers\\\" />\\n  <modal.components.body>\\n    <div class=\\\"answers__answer-editor__trigger-words-modal-body\\\">\\n      <p class=\\\"text-gray\\\">\\n        The bot will not send this answer unless a customer's message includes one of the words or phrases below.\\n      </p>\\n      <div class=\\\"h-2\\\"></div>\\n      <p class=\\\"text-gray\\\">\\n        Note: Most answers don’t need qualifiers.\\n      </p>\\n      <div class=\\\"h-5\\\"></div>\\n      <Input\\n        data-test-trigger-words-input\\n        class=\\\"f__text answers__example-questions-editor__example-question-input\\\"\\n        @enter={{this.setTriggerWords}}\\n        @value={{this.triggerWordsCommaSeparatedList}}\\n        placeholder=\\\"e.g. credit card, billing...\\\"\\n        {{auto-focus-element}}\\n      />\\n      <div class=\\\"h-2\\\"></div>\\n      <p class=\\\"t__light-text\\\">\\n        Separate multiple qualifiers with a comma.\\n      </p>\\n    </div>\\n  </modal.components.body>\\n  <modal.components.footer as |footer|>\\n    <footer.mainButtons as |buttons|>\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/answer-bot/when-should-i-use-answer-bots-qualifiers\\\"\\n        @title=\\\"When should I use qualifiers?\\\"\\n        @type=\\\"article\\\"\\n      />\\n      <buttons.button\\n        data-test-trigger-words-set-button\\n        @type=\\\"primary\\\"\\n        @label=\\\"Set and continue\\\"\\n        @onClick={{this.setTriggerWords}}\\n      />\\n    </footer.mainButtons>\\n  </modal.components.footer>\\n</Common::ModalComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<Common::ModalComponent @closeModal={{@onClose}} as |modal|>\\n  <modal.components.header @title=\\\"Configure qualifiers\\\" />\\n  <modal.components.body>\\n    <div class=\\\"answers__answer-editor__trigger-words-modal-body\\\">\\n      <p class=\\\"text-gray\\\">\\n        The bot will not send this answer unless a customer's message includes one of the words or phrases below.\\n      </p>\\n      <div class=\\\"h-2\\\"></div>\\n      <p class=\\\"text-gray\\\">\\n        Note: Most answers don’t need qualifiers.\\n      </p>\\n      <div class=\\\"h-5\\\"></div>\\n      <Input\\n        data-test-trigger-words-input\\n        class=\\\"f__text answers__example-questions-editor__example-question-input\\\"\\n        @enter={{this.setTriggerWords}}\\n        @value={{this.triggerWordsCommaSeparatedList}}\\n        placeholder=\\\"e.g. credit card, billing...\\\"\\n        {{auto-focus-element}}\\n      />\\n      <div class=\\\"h-2\\\"></div>\\n      <p class=\\\"t__light-text\\\">\\n        Separate multiple qualifiers with a comma.\\n      </p>\\n    </div>\\n  </modal.components.body>\\n  <modal.components.footer as |footer|>\\n    <footer.mainButtons as |buttons|>\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/answer-bot/when-should-i-use-answer-bots-qualifiers\\\"\\n        @title=\\\"When should I use qualifiers?\\\"\\n        @type=\\\"article\\\"\\n      />\\n      <buttons.button\\n        data-test-trigger-words-set-button\\n        @type=\\\"primary\\\"\\n        @label=\\\"Set and continue\\\"\\n        @onClick={{this.setTriggerWords}}\\n      />\\n    </footer.mainButtons>\\n  </modal.components.footer>\\n</Common::ModalComponent>\\n\",\"moduleName\":\"embercom/components/answers/editor/questions-panel/configure-trigger-words-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/questions-panel/configure-trigger-words-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class ConfigureTriggerWordsModal extends Component {\n  @service intercomEventService;\n\n  @tracked triggerWordsCommaSeparatedList = this.args.answer.triggerWordsCommaSeparatedList;\n\n  @action\n  setTriggerWords() {\n    let triggerWordsInput = this.triggerWordsCommaSeparatedList;\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'configured',\n      object: 'trigger_word',\n      context: 'trigger_words_modal',\n      keywords: triggerWordsInput,\n    });\n    this.args.answer.setControlCriteriaFromTriggerWordsCommaSeparatedList(triggerWordsInput);\n    this.args.onClose();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div data-test-example-question-suggestion class=\\\"layout__box o__has-columns u__mb__10\\\">\\n  <div class=\\\"\\n    layout__box o__flexes-to-1 answers__example-questions-editor__question-text\\n    rounded bg-gray-light transition-colors ease-in-out duration-200\\n    {{if @suggestedQuestion.loading \\\"bg-gray-lightest\\\"}}\\n  \\\">\\n    {{#liquid-if\\n      @suggestedQuestion.loading\\n      class=\\\"animate__answer-bot__example-loaded\\\"\\n    }}\\n      <div class=\\\"t__body o__centers-horizontally u__padl__20 u__padt__15 u__padb__15 u__padr__20\\\">\\n        <IcLoadingIndicator @size=\\\"small\\\" @inline={{true}} />\\n      </div>\\n    {{else}}\\n      <div class=\\\"t__body u__padl__20 u__padt__15 u__padb__15 u__padr__20\\\">\\n        {{#each @suggestedQuestion.textWithHighlights as |section|}}\\n          {{~#if section.highlight~}}\\n            <span data-test-example-question-suggestion-highlight class=\\\"font-bold\\\">\\n              {{~section.text~}}\\n            </span>\\n          {{~else~}}\\n            {{~section.text~}}\\n          {{~/if~}}\\n        {{/each}}\\n      </div>\\n    {{/liquid-if}}\\n  </div>\\n  <div class=\\\"layout__box u__ml__15 u__mt__10\\\">\\n    <IcButtonList as |list|>\\n      <list.button\\n        @icon=\\\"check\\\"\\n        @type=\\\"secondary-live\\\"\\n        @onClick={{action @acceptSuggestedQuestion @suggestedQuestion}}\\n        data-test-example-question-suggestion-add-button={{@suggestedQuestion.identifier}}\\n        @disabled={{@suggestedQuestion.loading}}\\n      />\\n      <list.button\\n        @icon=\\\"close\\\"\\n        @type=\\\"secondary-destructive\\\"\\n        @onClick={{action @rejectSuggestedQuestion @suggestedQuestion}}\\n        data-test-example-question-suggestion-remove-button={{@suggestedQuestion.identifier}}\\n        @disabled={{@suggestedQuestion.loading}}\\n      />\\n    </IcButtonList>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div data-test-example-question-suggestion class=\\\"layout__box o__has-columns u__mb__10\\\">\\n  <div class=\\\"\\n    layout__box o__flexes-to-1 answers__example-questions-editor__question-text\\n    rounded bg-gray-light transition-colors ease-in-out duration-200\\n    {{if @suggestedQuestion.loading \\\"bg-gray-lightest\\\"}}\\n  \\\">\\n    {{#liquid-if\\n      @suggestedQuestion.loading\\n      class=\\\"animate__answer-bot__example-loaded\\\"\\n    }}\\n      <div class=\\\"t__body o__centers-horizontally u__padl__20 u__padt__15 u__padb__15 u__padr__20\\\">\\n        <IcLoadingIndicator @size=\\\"small\\\" @inline={{true}} />\\n      </div>\\n    {{else}}\\n      <div class=\\\"t__body u__padl__20 u__padt__15 u__padb__15 u__padr__20\\\">\\n        {{#each @suggestedQuestion.textWithHighlights as |section|}}\\n          {{~#if section.highlight~}}\\n            <span data-test-example-question-suggestion-highlight class=\\\"font-bold\\\">\\n              {{~section.text~}}\\n            </span>\\n          {{~else~}}\\n            {{~section.text~}}\\n          {{~/if~}}\\n        {{/each}}\\n      </div>\\n    {{/liquid-if}}\\n  </div>\\n  <div class=\\\"layout__box u__ml__15 u__mt__10\\\">\\n    <IcButtonList as |list|>\\n      <list.button\\n        @icon=\\\"check\\\"\\n        @type=\\\"secondary-live\\\"\\n        @onClick={{action @acceptSuggestedQuestion @suggestedQuestion}}\\n        data-test-example-question-suggestion-add-button={{@suggestedQuestion.identifier}}\\n        @disabled={{@suggestedQuestion.loading}}\\n      />\\n      <list.button\\n        @icon=\\\"close\\\"\\n        @type=\\\"secondary-destructive\\\"\\n        @onClick={{action @rejectSuggestedQuestion @suggestedQuestion}}\\n        data-test-example-question-suggestion-remove-button={{@suggestedQuestion.identifier}}\\n        @disabled={{@suggestedQuestion.loading}}\\n      />\\n    </IcButtonList>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/editor/questions-panel/example-question-suggestion.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/questions-panel/example-question-suggestion.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"mb-8\\\"></div>\\n<div class=\\\"layout__box\\\" data-test-example-question-suggestions-list>\\n  <h3 class=\\\"t__h3\\\">\\n    Train Resolution Bot to recognize this question\\n  </h3>\\n  <p class=\\\"t__body text-gray u__mt__5 u__mb__10\\\">\\n    Selecting a variety of examples will help the bot work better.\\n  </p>\\n  <div class=\\\"layout__box o__has-columns u__relative\\\">\\n    <div class=\\\"layout__box o__has-rows answers__example-questions-editor__search-results-container\\\">\\n      <AnimatedContainer>\\n        {{#animated-each\\n          duration=350\\n          use=this.transition\\n          items=@currentlyPresentedExamples as |suggestedQuestion|\\n        }}\\n          <Answers::Editor::QuestionsPanel::ExampleQuestionSuggestion\\n            @suggestedQuestion={{suggestedQuestion}}\\n            @acceptSuggestedQuestion={{action @acceptSuggestedQuestion}}\\n            @rejectSuggestedQuestion={{action @rejectSuggestedQuestion}}\\n          />\\n        {{/animated-each}}\\n        {{#if (not @currentlyPresentedExamples)}}\\n          {{#if @isSearching}}\\n            <div class=\\\"layout__box text-gray u__ml__15 u__mr__15 u__mt__35 u__mb__35 o__centers-horizontally\\\">\\n              <span class=\\\"u__mr__10\\\">\\n                <IcLoadingIndicator @size=\\\"small\\\" @inline={{true}} />\\n              </span>\\n              Searching...\\n            </div>\\n          {{else}}\\n            <div\\n              class=\\\"layout__box text-gray u__ml__15 u__mr__15 u__mt__35 u__mb__35 o__centers-horizontally\\\"\\n              data-test-no-examples-found\\n            >\\n              No examples found\\n            </div>\\n          {{/if}}\\n        {{/if}}\\n      </AnimatedContainer>\\n    </div>\\n    {{#if @searchResultsTooltipContent}}\\n      <div\\n        data-test-example-question-suggestion-tooltip\\n        class=\\\"answers__tooltip-layout-box-top\\\"\\n      >\\n        <div class=\\\"answers__tooltip-container\\\">\\n          {{@searchResultsTooltipContent}}\\n        </div>\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"mb-8\\\"></div>\\n<div class=\\\"layout__box\\\" data-test-example-question-suggestions-list>\\n  <h3 class=\\\"t__h3\\\">\\n    Train Resolution Bot to recognize this question\\n  </h3>\\n  <p class=\\\"t__body text-gray u__mt__5 u__mb__10\\\">\\n    Selecting a variety of examples will help the bot work better.\\n  </p>\\n  <div class=\\\"layout__box o__has-columns u__relative\\\">\\n    <div class=\\\"layout__box o__has-rows answers__example-questions-editor__search-results-container\\\">\\n      <AnimatedContainer>\\n        {{#animated-each\\n          duration=350\\n          use=this.transition\\n          items=@currentlyPresentedExamples as |suggestedQuestion|\\n        }}\\n          <Answers::Editor::QuestionsPanel::ExampleQuestionSuggestion\\n            @suggestedQuestion={{suggestedQuestion}}\\n            @acceptSuggestedQuestion={{action @acceptSuggestedQuestion}}\\n            @rejectSuggestedQuestion={{action @rejectSuggestedQuestion}}\\n          />\\n        {{/animated-each}}\\n        {{#if (not @currentlyPresentedExamples)}}\\n          {{#if @isSearching}}\\n            <div class=\\\"layout__box text-gray u__ml__15 u__mr__15 u__mt__35 u__mb__35 o__centers-horizontally\\\">\\n              <span class=\\\"u__mr__10\\\">\\n                <IcLoadingIndicator @size=\\\"small\\\" @inline={{true}} />\\n              </span>\\n              Searching...\\n            </div>\\n          {{else}}\\n            <div\\n              class=\\\"layout__box text-gray u__ml__15 u__mr__15 u__mt__35 u__mb__35 o__centers-horizontally\\\"\\n              data-test-no-examples-found\\n            >\\n              No examples found\\n            </div>\\n          {{/if}}\\n        {{/if}}\\n      </AnimatedContainer>\\n    </div>\\n    {{#if @searchResultsTooltipContent}}\\n      <div\\n        data-test-example-question-suggestion-tooltip\\n        class=\\\"answers__tooltip-layout-box-top\\\"\\n      >\\n        <div class=\\\"answers__tooltip-container\\\">\\n          {{@searchResultsTooltipContent}}\\n        </div>\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/editor/questions-panel/example-question-suggestions-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/questions-panel/example-question-suggestions-list.hbs\"}});\nimport Component from '@glimmer/component';\nimport { answerListAcceptRejectTransition } from 'embercom/transition-maps/answers-transitions';\n\nexport default class ExampleQuestionSuggestionList extends Component {\n  transition = answerListAcceptRejectTransition;\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div ...attributes>\\n  <p>\\n    {{#if @answer.hasExampleQuestionsWithContent}}\\n      <span class=\\\"t__body c__black u__mr__30\\\">\\n        {{ic-interface-icon \\\"conversation\\\"}}\\n        {{pluralize @answer.exampleQuestionsWithContent.length \\\"example\\\"}} selected\\n      </span>\\n      {{#if @answer.hasTriggerWords}}\\n      <span class=\\\"t__body c__black\\\">\\n        <span>{{ic-interface-icon \\\"settings\\\"}} Qualifiers:</span>\\n        <span class=\\\"t__body text-gray\\\">{{@answer.triggerWordsCommaSeparatedList}}</span>\\n      </span>\\n      {{/if}}\\n    {{else}}\\n      <span class=\\\"t__body text-gray\\\">No examples selected yet.</span>\\n    {{/if}}\\n  </p>\\n</div>\\n\", {\"contents\":\"<div ...attributes>\\n  <p>\\n    {{#if @answer.hasExampleQuestionsWithContent}}\\n      <span class=\\\"t__body c__black u__mr__30\\\">\\n        {{ic-interface-icon \\\"conversation\\\"}}\\n        {{pluralize @answer.exampleQuestionsWithContent.length \\\"example\\\"}} selected\\n      </span>\\n      {{#if @answer.hasTriggerWords}}\\n      <span class=\\\"t__body c__black\\\">\\n        <span>{{ic-interface-icon \\\"settings\\\"}} Qualifiers:</span>\\n        <span class=\\\"t__body text-gray\\\">{{@answer.triggerWordsCommaSeparatedList}}</span>\\n      </span>\\n      {{/if}}\\n    {{else}}\\n      <span class=\\\"t__body text-gray\\\">No examples selected yet.</span>\\n    {{/if}}\\n  </p>\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/editor/questions-panel/example-questions-header-context.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/questions-panel/example-questions-header-context.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"layout__box u__pad__40\\\">\\n  <div class=\\\"layout__box o__centers-horizontally\\\">\\n    <Answers::Editor::QuestionsPanel::SearchForQuestion\\n      @answer={{@answer}}\\n      @questionTrainingState={{this.questionTrainingState}}\\n      @suggestionId={{@suggestionId}}\\n      @clusterId={{@clusterId}}\\n      @prepopulatedSearchTerm={{@prepopulatedSearchTerm}}\\n      @onNewSearchResults={{this.onNewSearchResults}}\\n      @onSuggestedQuestionAccepted={{this.acceptSuggestedQuestion}}\\n      @onSuggestedQuestionRejected={{this.rejectSuggestedQuestion}}\\n      @onSuggestedClusterSelected={{this.onSuggestedClusterSelected}}\\n      @showAddManualExampleModal={{this.showAddManualExampleModal}}\\n      @shouldShowSuggestionClusters={{this.shouldShowSuggestionClusters}}\\n      @suggestedAnswerClusters={{@suggestedAnswerClusters}}\\n      @searchBoxTooltipContent={{this.searchBoxTooltipContent}}\\n      @searchResultsTooltipContent={{this.searchResultsTooltipContent}}\\n    />\\n  </div>\\n  {{#if this.shouldShowProgress}}\\n    <div class=\\\"mb-8\\\"></div>\\n    <div class=\\\"layout__box o__centers-horizontally\\\">\\n      <div class=\\\"answers__example-questions-editor__container layout__box o__has-rows\\\">\\n        <div class=\\\"layout__box o__flexes-to-1\\\">\\n          <Answers::Editor::QuestionsPanel::AddedExamples\\n            @exampleQuestions={{@answer.exampleQuestions}}\\n            @expandSelectedExamples={{@expandSelectedExamples}}\\n            @removeExample={{this.removeExample}}\\n            @questionTrainingState={{this.questionTrainingState}}\\n            @tooltipContent={{this.addedExamplesTooltipContent}}\\n          />\\n        </div>\\n        <div class=\\\"layout__box text-gray u__mt__10\\\">\\n          <span>\\n            <a\\n              class=\\\"inline-flex\\\"\\n              data-test-configure-trigger-words-link\\n              {{on \\\"click\\\" (set this.showTriggerWordsModal true)}}\\n            >\\n              Configure qualifiers\\n            </a>\\n            <span>\\n              {{if @answer.hasTriggerWords (concat \\\": \\\" @answer.triggerWordsCommaSeparatedList) \\\" (optional)\\\"}}\\n            </span>\\n          </span>\\n        </div>\\n      </div>\\n    </div>\\n  {{/if}}\\n</div>\\n{{#if this.addManualExampleModalIsVisible}}\\n  {{!-- template-lint-disable intercom/no-legacy-modal --}}\\n  <Common::ModalComponent\\n    @closeModal={{set this.addManualExampleModalIsVisible false}}\\n    data-test-add-manual-example-modal\\n    as |modal|\\n  >\\n    <modal.components.header @title=\\\"Write an example manually\\\" />\\n    <modal.components.body>\\n      <p class=\\\"text-gray u__mb__10\\\">\\n        Write your example\\n      </p>\\n      <Input\\n        data-test-add-manual-example-modal-input\\n        class=\\\"f__text answers__example-questions-editor__example-question-input\\\"\\n        @enter={{fn this.addManualExample this.manualExample}}\\n        @value={{this.manualExample}}\\n        placeholder=\\\"e.g. How do I...\\\"\\n        {{auto-focus-element}}\\n      />\\n    </modal.components.body>\\n    <modal.components.footer as |footer|>\\n      <footer.mainButtons as |buttons|>\\n        <buttons.button\\n          data-test-add-manual-example-add-button\\n          @type=\\\"primary\\\"\\n          @isDisabled={{not this.manualExample}}\\n          @label=\\\"Add example question\\\"\\n          @onClick={{fn this.addManualExample this.manualExample}}\\n        />\\n      </footer.mainButtons>\\n    </modal.components.footer>\\n  </Common::ModalComponent>\\n{{/if}}\\n{{#if this.showTriggerWordsModal}}\\n  <Answers::Editor::QuestionsPanel::ConfigureTriggerWordsModal\\n    data-test-questions-editor-trigger-words-modal\\n    @answer={{@answer}}\\n    @onClose={{set this.showTriggerWordsModal false}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"layout__box u__pad__40\\\">\\n  <div class=\\\"layout__box o__centers-horizontally\\\">\\n    <Answers::Editor::QuestionsPanel::SearchForQuestion\\n      @answer={{@answer}}\\n      @questionTrainingState={{this.questionTrainingState}}\\n      @suggestionId={{@suggestionId}}\\n      @clusterId={{@clusterId}}\\n      @prepopulatedSearchTerm={{@prepopulatedSearchTerm}}\\n      @onNewSearchResults={{this.onNewSearchResults}}\\n      @onSuggestedQuestionAccepted={{this.acceptSuggestedQuestion}}\\n      @onSuggestedQuestionRejected={{this.rejectSuggestedQuestion}}\\n      @onSuggestedClusterSelected={{this.onSuggestedClusterSelected}}\\n      @showAddManualExampleModal={{this.showAddManualExampleModal}}\\n      @shouldShowSuggestionClusters={{this.shouldShowSuggestionClusters}}\\n      @suggestedAnswerClusters={{@suggestedAnswerClusters}}\\n      @searchBoxTooltipContent={{this.searchBoxTooltipContent}}\\n      @searchResultsTooltipContent={{this.searchResultsTooltipContent}}\\n    />\\n  </div>\\n  {{#if this.shouldShowProgress}}\\n    <div class=\\\"mb-8\\\"></div>\\n    <div class=\\\"layout__box o__centers-horizontally\\\">\\n      <div class=\\\"answers__example-questions-editor__container layout__box o__has-rows\\\">\\n        <div class=\\\"layout__box o__flexes-to-1\\\">\\n          <Answers::Editor::QuestionsPanel::AddedExamples\\n            @exampleQuestions={{@answer.exampleQuestions}}\\n            @expandSelectedExamples={{@expandSelectedExamples}}\\n            @removeExample={{this.removeExample}}\\n            @questionTrainingState={{this.questionTrainingState}}\\n            @tooltipContent={{this.addedExamplesTooltipContent}}\\n          />\\n        </div>\\n        <div class=\\\"layout__box text-gray u__mt__10\\\">\\n          <span>\\n            <a\\n              class=\\\"inline-flex\\\"\\n              data-test-configure-trigger-words-link\\n              {{on \\\"click\\\" (set this.showTriggerWordsModal true)}}\\n            >\\n              Configure qualifiers\\n            </a>\\n            <span>\\n              {{if @answer.hasTriggerWords (concat \\\": \\\" @answer.triggerWordsCommaSeparatedList) \\\" (optional)\\\"}}\\n            </span>\\n          </span>\\n        </div>\\n      </div>\\n    </div>\\n  {{/if}}\\n</div>\\n{{#if this.addManualExampleModalIsVisible}}\\n  {{!-- template-lint-disable intercom/no-legacy-modal --}}\\n  <Common::ModalComponent\\n    @closeModal={{set this.addManualExampleModalIsVisible false}}\\n    data-test-add-manual-example-modal\\n    as |modal|\\n  >\\n    <modal.components.header @title=\\\"Write an example manually\\\" />\\n    <modal.components.body>\\n      <p class=\\\"text-gray u__mb__10\\\">\\n        Write your example\\n      </p>\\n      <Input\\n        data-test-add-manual-example-modal-input\\n        class=\\\"f__text answers__example-questions-editor__example-question-input\\\"\\n        @enter={{fn this.addManualExample this.manualExample}}\\n        @value={{this.manualExample}}\\n        placeholder=\\\"e.g. How do I...\\\"\\n        {{auto-focus-element}}\\n      />\\n    </modal.components.body>\\n    <modal.components.footer as |footer|>\\n      <footer.mainButtons as |buttons|>\\n        <buttons.button\\n          data-test-add-manual-example-add-button\\n          @type=\\\"primary\\\"\\n          @isDisabled={{not this.manualExample}}\\n          @label=\\\"Add example question\\\"\\n          @onClick={{fn this.addManualExample this.manualExample}}\\n        />\\n      </footer.mainButtons>\\n    </modal.components.footer>\\n  </Common::ModalComponent>\\n{{/if}}\\n{{#if this.showTriggerWordsModal}}\\n  <Answers::Editor::QuestionsPanel::ConfigureTriggerWordsModal\\n    data-test-questions-editor-trigger-words-modal\\n    @answer={{@answer}}\\n    @onClose={{set this.showTriggerWordsModal false}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/answers/editor/questions-panel/questions-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/questions-panel/questions-editor.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\nimport QuestionTrainingState from 'embercom/models/answers/ui/question-training-state';\nimport { isBlank, isEmpty } from '@ember/utils';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\n\nexport default class QuestionsEditor extends Component {\n  @service intercomEventService;\n  @service answerFollowOnCreationService;\n  @service appService;\n\n  @tracked questionTrainingState;\n  @tracked previousTrackedTooltip = null;\n  @tracked showTriggerWordsModal = false;\n  @tracked addManualExampleModalIsVisible = false;\n  @tracked suggestionId = this.args.suggestionId;\n\n  @tracked manualExample = '';\n  @tracked hasSearched = false;\n\n  constructor() {\n    super(...arguments);\n    this._initQuestionTrainingState();\n    this._trackTooltipDisplayed();\n  }\n\n  _initQuestionTrainingState() {\n    this.questionTrainingState = QuestionTrainingState.create({\n      answer: this.args.answer,\n      isNewFromSuggestion: !isBlank(this.suggestionId),\n      isNewFromCluster: this.appService.app.canUseSuggestedAnswers && !isBlank(this.args.clusterId),\n    });\n  }\n\n  get shouldShowSuggestionClusters() {\n    return (\n      isEmpty(this.args.answer.exampleQuestions) && !isEmpty(this.args.suggestedAnswerClusters)\n    );\n  }\n\n  get shouldShowProgress() {\n    return this.hasSearched || this.args.answer.exampleQuestions.length;\n  }\n\n  get searchBoxTooltipContent() {\n    if (this.questionTrainingState.tooltipTryNewSearch) {\n      return 'Try phrasing the question differently to cover other ways people might ask it.';\n    }\n    if (this.questionTrainingState.initiatedFromClusterBeta) {\n      return 'Great start! Now, try phrasing the question differently to cover other ways people might ask it.';\n    }\n  }\n\n  get searchResultsTooltipContent() {\n    if (this.questionTrainingState.tooltipFirstSearchAddMore) {\n      return 'Great! Select a few more!';\n    }\n\n    if (this.questionTrainingState.tooltipFirstSearch) {\n      return `We’ve searched your conversations for examples of this question. Select any that match so Resolution Bot knows what to look for.`;\n    }\n\n    if (this.questionTrainingState.tooltipSubsequentSearch) {\n      return `Select more examples to help Resolution Bot recognize when customers ask this question.`;\n    }\n  }\n\n  get addedExamplesTooltipContent() {\n    if (this.questionTrainingState.tooltipCompleted) {\n      return 'Now that you’ve defined the question, you can move on to compose the answer below. You can always train more later.';\n    }\n  }\n\n  get currentlyShownTooltipContent() {\n    return (\n      this.addedExamplesTooltipContent ||\n      this.searchBoxTooltipContent ||\n      this.searchResultsTooltipContent\n    );\n  }\n\n  _trackTooltipDisplayed() {\n    let previousTooltipContent = this.previousTrackedTooltip;\n    let currentTooltipContent = this.currentlyShownTooltipContent;\n    if (!isBlank(currentTooltipContent) && currentTooltipContent !== previousTooltipContent) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'displayed',\n        object: 'tooltip',\n        context: 'question',\n        tooltip: currentTooltipContent,\n      });\n      this.previousTrackedTooltip = currentTooltipContent;\n    }\n  }\n\n  _updateTitle(text) {\n    if (this.args.answer.exampleQuestions.length === 1 && !this.args.answer.hasTitle) {\n      this.args.answer.title = text.slice(0, 255);\n    }\n  }\n\n  @action\n  showAddManualExampleModal(visible) {\n    this.addManualExampleModalIsVisible = visible;\n  }\n\n  @action\n  addManualExample(text) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'added',\n      object: 'manual_example_question',\n      context: 'add_manual_question',\n      models: [this.args.answer],\n      question_text: text,\n    });\n\n    text = text.trim();\n\n    if (text.length > 0) {\n      this.args.answer.exampleQuestions.createFragment({ text, addedFrom: 'main_curation_flow' });\n      this.questionTrainingState.addRecentExample({ text }, 'manual');\n    }\n\n    this._updateTitle(text);\n\n    this.addManualExampleModalIsVisible = false;\n    this.manualExample = '';\n\n    this._trackTooltipDisplayed();\n  }\n\n  @action\n  onNewSearchResults() {\n    this.hasSearched = true;\n    this._trackTooltipDisplayed();\n  }\n\n  @action\n  onSuggestedClusterSelected(cluster) {\n    let cluster_position = this.args.suggestedAnswerClusters.indexOf(cluster);\n    let keywords = this.appService.app.canUseSuggestedAnswers\n      ? cluster.archetype.text\n      : cluster.archetype;\n    this.intercomEventService.trackAnalyticsEvent({\n      answer_id: this.args.answer.id,\n      action: 'clicked',\n      object: 'create_new_answer',\n      context: 'from_faq',\n      keywords,\n      tile_position: cluster_position < 0 ? null : cluster_position + 1,\n    });\n\n    if (this.appService.app.canUseSuggestedAnswers) {\n      // New data model + approach\n      this.args.answer.applyExample(cluster, [cluster.archetype]);\n    } else {\n      // Old data model + approach\n      this.args.answer.applySuggestedCluster(cluster);\n    }\n\n    this.suggestionId = cluster.id;\n    this._initQuestionTrainingState();\n    this._trackTooltipDisplayed();\n  }\n\n  @action\n  acceptSuggestedQuestion(searchResult, searchTerm) {\n    searchResult['addedFrom'] = 'main_curation_flow';\n    this.args.answer.exampleQuestions.createFragment(searchResult);\n    let rejectedExample = this.args.answer.rejectedExampleQuestions.findBy(\n      'identifier',\n      searchResult.identifier,\n    );\n    if (rejectedExample) {\n      this.args.answer.rejectedExampleQuestions.removeObject(rejectedExample);\n    }\n    this.questionTrainingState.addRecentExample(searchResult);\n    this._updateTitle(searchTerm);\n    this._trackTooltipDisplayed();\n  }\n\n  @action\n  rejectSuggestedQuestion(searchResult) {\n    let example = this.args.answer.exampleQuestions.findBy('text', searchResult.text);\n\n    if (example) {\n      this.questionTrainingState.removeExampleQuestion(example);\n      this.args.answer.exampleQuestions.removeObject(example);\n    }\n\n    let rejectedExample = this.args.answer.rejectedExampleQuestions.findBy(\n      'identifier',\n      searchResult.identifier,\n    );\n    if (!rejectedExample) {\n      this.args.answer.rejectedExampleQuestions.createFragment(searchResult);\n    }\n\n    this.answerFollowOnCreationService.setRejectedQuestions(\n      this.args.answer.rejectedExampleQuestions,\n    );\n\n    this.questionTrainingState.rejectExampleQuestion(searchResult);\n    this._trackTooltipDisplayed();\n  }\n\n  @action\n  removeExample(exampleQuestion) {\n    this.args.answer.exampleQuestions.removeObject(exampleQuestion);\n    this.questionTrainingState.removeExampleQuestion(exampleQuestion);\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'removed',\n      object: 'question',\n      models: [this.args.answer],\n      question_text: exampleQuestion.text,\n      question_id: exampleQuestion.identifier,\n    });\n    this._trackTooltipDisplayed();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__relative\\\">\\n  <svg width=\\\"{{this.size}}\\\" height=\\\"{{this.size}}\\\" viewBox=\\\"0 0 {{this.size}} {{this.size}}\\\">\\n    <circle\\n      data-test-circle\\n      cx=\\\"{{this.cx}}\\\" cy=\\\"{{this.cy}}\\\" r=\\\"{{this.radius}}\\\"\\n      fill=\\\"none\\\"\\n      stroke={{if (gt @progressCounter 0) \\\"#C2D6FE\\\" \\\"#EEEEEE\\\"}}\\n      stroke-width=\\\"{{this.strokeWidth}}\\\" />\\n    <circle\\n      data-test-progress-indicator\\n      cx=\\\"{{this.cx}}\\\" cy=\\\"{{this.cy}}\\\" r=\\\"{{this.radius}}\\\" fill=\\\"none\\\"\\n      stroke=\\\"{{this.strokeColor}}\\\" stroke-width=\\\"{{this.strokeWidth}}\\\"\\n      stroke-dasharray=\\\"{{this.circleCircumference}}\\\"\\n      stroke-dashoffset=\\\"{{this.progressCircumference}}\\\"\\n      stroke-linecap=\\\"round\\\"\\n      transform=\\\"rotate(-90 {{this.cx}} {{this.cy}})\\\" />\\n  </svg>\\n  {{#if (gte @progressCounter @progressCompletionAt)}}\\n    <div class=\\\"answers__example-questions-editor__training-indicator-check\\\">{{ic-interface-icon 'check' solo=true}}</div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__relative\\\">\\n  <svg width=\\\"{{this.size}}\\\" height=\\\"{{this.size}}\\\" viewBox=\\\"0 0 {{this.size}} {{this.size}}\\\">\\n    <circle\\n      data-test-circle\\n      cx=\\\"{{this.cx}}\\\" cy=\\\"{{this.cy}}\\\" r=\\\"{{this.radius}}\\\"\\n      fill=\\\"none\\\"\\n      stroke={{if (gt @progressCounter 0) \\\"#C2D6FE\\\" \\\"#EEEEEE\\\"}}\\n      stroke-width=\\\"{{this.strokeWidth}}\\\" />\\n    <circle\\n      data-test-progress-indicator\\n      cx=\\\"{{this.cx}}\\\" cy=\\\"{{this.cy}}\\\" r=\\\"{{this.radius}}\\\" fill=\\\"none\\\"\\n      stroke=\\\"{{this.strokeColor}}\\\" stroke-width=\\\"{{this.strokeWidth}}\\\"\\n      stroke-dasharray=\\\"{{this.circleCircumference}}\\\"\\n      stroke-dashoffset=\\\"{{this.progressCircumference}}\\\"\\n      stroke-linecap=\\\"round\\\"\\n      transform=\\\"rotate(-90 {{this.cx}} {{this.cy}})\\\" />\\n  </svg>\\n  {{#if (gte @progressCounter @progressCompletionAt)}}\\n    <div class=\\\"answers__example-questions-editor__training-indicator-check\\\">{{ic-interface-icon 'check' solo=true}}</div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/editor/questions-panel/radial-progress-indicator.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/questions-panel/radial-progress-indicator.hbs\"}});\nimport Component from '@glimmer/component';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\n\nexport default class RadialProgressIndicator extends Component {\n  size = 36;\n  strokeWidth = 5;\n\n  get cx() {\n    return this.size / 2;\n  }\n\n  get cy() {\n    return this.size / 2;\n  }\n\n  get radius() {\n    return this.size / 2 - this.strokeWidth / 2;\n  }\n\n  get circleCircumference() {\n    return 2 * Math.PI * this.radius;\n  }\n\n  get progressCircumference() {\n    if (this.args.progressCounter >= this.args.progressCompletionAt) {\n      return 0;\n    }\n\n    let rateOfCompletion = this.args.progressCounter / this.args.progressCompletionAt;\n    let circleCircum = this.circleCircumference;\n\n    if (rateOfCompletion === 0) {\n      return circleCircum - 0.01;\n    }\n\n    let currentProgress = circleCircum - circleCircum * rateOfCompletion;\n    return currentProgress;\n  }\n\n  get strokeColor() {\n    let progressCounter = this.args.progressCounter;\n\n    if (progressCounter === 0) {\n      return PALETTE.gray;\n    }\n\n    if (progressCounter >= this.args.progressSuccessAt) {\n      return '#1EB157';\n    }\n\n    return PALETTE.blue;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"layout__box o__flexes-to-1 answers__answer-editor__search-container\\\">\\n  <div class=\\\"layout__box o__centers-horizontally\\\">\\n    <div class=\\\"answers__example-questions-editor__container\\\">\\n      <h2 class=\\\"t__h3 u__mb__10\\\">\\n        Search for a question your customers ask often\\n      </h2>\\n      <div>\\n        <div class=\\\"layout__box o__has-columns u__center-layout h-8\\\" data-test-question-suggestion-search>\\n          <div class=\\\"layout__box answers__example-questions-editor__container\\\">\\n            <div class=\\\"relative\\\">\\n              {{#if this.searchTerm}}\\n                <a class=\\\"answers__question-suggestion-search__clear-text-icon absolute right-0 top-0 w-8 h-8 box-border z-10\\\" data-test-suggestion-search-clear-button {{on \\\"click\\\" this.clearSearch}}>\\n                  {{ic-interface-icon \\\"delete\\\" color=\\\"gray\\\"}}\\n                </a>\\n              {{/if}}\\n              <Input\\n                {{ref this \\\"inputElement\\\"}}\\n                @value={{this.searchTerm}}\\n                @type=\\\"text\\\"\\n                @input={{this.search}}\\n                @enter={{this.search}}\\n                placeholder=\\\"e.g. How do I…\\\"\\n                class=\\\"f__text u__padr__25\\\"\\n                {{auto-focus-element}}\\n                data-test-answers-variation-editor-search-input\\n              />\\n              {{#if @searchBoxTooltipContent}}\\n                <div class=\\\"answers__tooltip-layout-box-center\\\">\\n                  <div class=\\\"layout__box o__flexes-to-1 answers__tooltip-container\\\" data-test-question-search-tooltip>\\n                    {{@searchBoxTooltipContent}}\\n                  </div>\\n                </div>\\n              {{/if}}\\n            </div>\\n          </div>\\n        </div>\\n      </div>\\n      {{#if (and (not this.hasSearched) this.searchTask.isRunning)}}\\n        <div class=\\\"layout__box o__has-columns o__centers-horizontally t__body text-gray u__mt__40\\\">\\n          <span class=\\\"u__mr__10\\\">\\n            <IcLoadingIndicator @size=\\\"small\\\" @inline={{true}} />\\n          </span>\\n          Searching...\\n        </div>\\n      {{/if}}\\n      {{#liquid-if this.hasSearched class=\\\"animate__answer-bot__first-results\\\"}}\\n        <Answers::Editor::QuestionsPanel::ExampleQuestionSuggestionsList\\n          @currentlyPresentedExamples={{@questionTrainingState.currentlyPresentedExamples}}\\n          @acceptSuggestedQuestion={{this.acceptSuggestedQuestion}}\\n          @rejectSuggestedQuestion={{this.rejectSuggestedQuestion}}\\n          @searchResultsTooltipContent={{@searchResultsTooltipContent}}\\n          @isSearching={{this.searchTask.isRunning}}\\n        />\\n        <div class=\\\"mb-2\\\"></div>\\n        <div class=\\\"layout__box text-gray\\\">\\n          <a\\n            {{on \\\"click\\\" (fn @showAddManualExampleModal true)}}\\n            data-test-add-example-question-manually-link\\n          >\\n            Add an example question manually\\n          </a>\\n        </div>\\n      {{/liquid-if}}\\n    </div>\\n  </div>\\n  {{#if this.showSuggestionClusters}}\\n    <div class=\\\"answers__answer-editor__separator-with-text u__mt__30 u__mb__30 u__ml__20 u__mr__20\\\">\\n      <span class=\\\"u__ml__10 u__mr__10\\\">\\n        OR\\n      </span>\\n    </div>\\n    <div class=\\\"layout__box\\\">\\n      <h2 class=\\\"t__h3 u__mb__20 u__centered-text-block\\\">\\n        Pick a frequently asked question from your conversations\\n      </h2>\\n      <Answers::SuggestedAnswers::ClusterList\\n        @languageCode={{@answer.languageCode}}\\n        @suggestedAnswerClusters={{@suggestedAnswerClusters}}\\n        @onSelectCluster={{this.applySuggestedCluster}}\\n        @onEditRoute={{true}}\\n      />\\n    </div>\\n  {{/if}}\\n  {{#unless (or @answer.exampleQuestions this.hasSearched this.loadAndDisplaySuggestions.isRunning)}}\\n    <div class=\\\"flex justify-center mt-5\\\">\\n      <Pulse::HelpContent::Video\\n        @title=\\\"3 key steps for training Resolution Bot\\\"\\n        @wistiaId=\\\"dmj5gyazqx\\\"\\n        data-test-get-started-training-answer-bot-video-link\\n      />\\n    </div>\\n  {{/unless}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"layout__box o__flexes-to-1 answers__answer-editor__search-container\\\">\\n  <div class=\\\"layout__box o__centers-horizontally\\\">\\n    <div class=\\\"answers__example-questions-editor__container\\\">\\n      <h2 class=\\\"t__h3 u__mb__10\\\">\\n        Search for a question your customers ask often\\n      </h2>\\n      <div>\\n        <div class=\\\"layout__box o__has-columns u__center-layout h-8\\\" data-test-question-suggestion-search>\\n          <div class=\\\"layout__box answers__example-questions-editor__container\\\">\\n            <div class=\\\"relative\\\">\\n              {{#if this.searchTerm}}\\n                <a class=\\\"answers__question-suggestion-search__clear-text-icon absolute right-0 top-0 w-8 h-8 box-border z-10\\\" data-test-suggestion-search-clear-button {{on \\\"click\\\" this.clearSearch}}>\\n                  {{ic-interface-icon \\\"delete\\\" color=\\\"gray\\\"}}\\n                </a>\\n              {{/if}}\\n              <Input\\n                {{ref this \\\"inputElement\\\"}}\\n                @value={{this.searchTerm}}\\n                @type=\\\"text\\\"\\n                @input={{this.search}}\\n                @enter={{this.search}}\\n                placeholder=\\\"e.g. How do I…\\\"\\n                class=\\\"f__text u__padr__25\\\"\\n                {{auto-focus-element}}\\n                data-test-answers-variation-editor-search-input\\n              />\\n              {{#if @searchBoxTooltipContent}}\\n                <div class=\\\"answers__tooltip-layout-box-center\\\">\\n                  <div class=\\\"layout__box o__flexes-to-1 answers__tooltip-container\\\" data-test-question-search-tooltip>\\n                    {{@searchBoxTooltipContent}}\\n                  </div>\\n                </div>\\n              {{/if}}\\n            </div>\\n          </div>\\n        </div>\\n      </div>\\n      {{#if (and (not this.hasSearched) this.searchTask.isRunning)}}\\n        <div class=\\\"layout__box o__has-columns o__centers-horizontally t__body text-gray u__mt__40\\\">\\n          <span class=\\\"u__mr__10\\\">\\n            <IcLoadingIndicator @size=\\\"small\\\" @inline={{true}} />\\n          </span>\\n          Searching...\\n        </div>\\n      {{/if}}\\n      {{#liquid-if this.hasSearched class=\\\"animate__answer-bot__first-results\\\"}}\\n        <Answers::Editor::QuestionsPanel::ExampleQuestionSuggestionsList\\n          @currentlyPresentedExamples={{@questionTrainingState.currentlyPresentedExamples}}\\n          @acceptSuggestedQuestion={{this.acceptSuggestedQuestion}}\\n          @rejectSuggestedQuestion={{this.rejectSuggestedQuestion}}\\n          @searchResultsTooltipContent={{@searchResultsTooltipContent}}\\n          @isSearching={{this.searchTask.isRunning}}\\n        />\\n        <div class=\\\"mb-2\\\"></div>\\n        <div class=\\\"layout__box text-gray\\\">\\n          <a\\n            {{on \\\"click\\\" (fn @showAddManualExampleModal true)}}\\n            data-test-add-example-question-manually-link\\n          >\\n            Add an example question manually\\n          </a>\\n        </div>\\n      {{/liquid-if}}\\n    </div>\\n  </div>\\n  {{#if this.showSuggestionClusters}}\\n    <div class=\\\"answers__answer-editor__separator-with-text u__mt__30 u__mb__30 u__ml__20 u__mr__20\\\">\\n      <span class=\\\"u__ml__10 u__mr__10\\\">\\n        OR\\n      </span>\\n    </div>\\n    <div class=\\\"layout__box\\\">\\n      <h2 class=\\\"t__h3 u__mb__20 u__centered-text-block\\\">\\n        Pick a frequently asked question from your conversations\\n      </h2>\\n      <Answers::SuggestedAnswers::ClusterList\\n        @languageCode={{@answer.languageCode}}\\n        @suggestedAnswerClusters={{@suggestedAnswerClusters}}\\n        @onSelectCluster={{this.applySuggestedCluster}}\\n        @onEditRoute={{true}}\\n      />\\n    </div>\\n  {{/if}}\\n  {{#unless (or @answer.exampleQuestions this.hasSearched this.loadAndDisplaySuggestions.isRunning)}}\\n    <div class=\\\"flex justify-center mt-5\\\">\\n      <Pulse::HelpContent::Video\\n        @title=\\\"3 key steps for training Resolution Bot\\\"\\n        @wistiaId=\\\"dmj5gyazqx\\\"\\n        data-test-get-started-training-answer-bot-video-link\\n      />\\n    </div>\\n  {{/unless}}\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/editor/questions-panel/search-for-question.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/questions-panel/search-for-question.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-jquery */\nimport EmberObject, { get } from '@ember/object';\nimport Component from '@glimmer/component';\nimport { timeout, all } from 'ember-concurrency';\nimport { post } from 'embercom/lib/ajax';\nimport { inject as service } from '@ember/service';\nimport { NEW_ANSWER_ANIMATION_LENGTH } from 'embercom/transition-maps/answers-transitions';\nimport { isBlank } from '@ember/utils';\nimport { debounce } from '@ember/runloop';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\n\nconst EXAMPLES_TO_DISPLAY_COUNT = 3;\nconst MINUMUM_SEARCH_TERM_LENGTH = 3;\n\nexport default class SearchForQuestion extends Component {\n  @service intercomEventService;\n  @service notificationsService;\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  @service modalService;\n  @service appService;\n\n  @tracked searchTerm = '';\n  @tracked hasSearched = false;\n\n  inputElement;\n\n  get showSuggestionClusters() {\n    let isMidSearch = this.hasSearched || this.searchTask.isRunning;\n    return this.args.shouldShowSuggestionClusters && !isMidSearch;\n  }\n\n  constructor() {\n    super(...arguments);\n\n    if (this.args.suggestionId) {\n      this.searchTerm = this.args.answer.exampleQuestions.firstObject?.text;\n    }\n\n    if (this.args.prepopulatedSearchTerm) {\n      this.searchTerm = this.args.prepopulatedSearchTerm;\n    }\n\n    if (!isBlank(this.searchTerm)) {\n      this.loadAndDisplaySuggestions.perform();\n    }\n  }\n\n  runSearchTask(searchTerm) {\n    this.searchTask.perform(searchTerm);\n  }\n\n  @task\n  *searchTask() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'searched',\n      object: 'questions',\n      keywords: this.searchTerm,\n      models: [this.args.answer],\n    });\n\n    let currentExampleCount = this.args.questionTrainingState.currentlyPresentedExamples.length;\n    this.args.questionTrainingState.newSearchPerformed();\n\n    yield this.loadAndDisplaySuggestions.perform(currentExampleCount);\n  }\n\n  @task\n  *fetchSuggestions() {\n    try {\n      let params = this._buildFetchParameters();\n      let response = yield post('/ember/answers/question_suggestions', params);\n\n      return response.results.map(suggestion =>\n        EmberObject.create({\n          identifier: suggestion.id,\n          text: suggestion.text,\n          source: suggestion.source,\n          textWithHighlights: suggestion.highlighted_text,\n        }),\n      );\n    } catch (e) {\n      this.notificationsService.notifyError(\n        \"Something went wrong and we couldn't get a new example question.\",\n      );\n    }\n  }\n\n  @task\n  *loadAndDisplaySuggestions(exampleCount = EXAMPLES_TO_DISPLAY_COUNT) {\n    if (\n      this.args.questionTrainingState.currentlyPresentedExamples.length >= EXAMPLES_TO_DISPLAY_COUNT\n    ) {\n      return;\n    }\n\n    let blankResults = new Array(exampleCount).fill(undefined).map(() =>\n      EmberObject.create({\n        loading: true,\n      }),\n    );\n\n    this.args.questionTrainingState.set('currentlyPresentedExamples', blankResults);\n\n    let fetchAndTimeoutResults = yield all([\n      this.fetchSuggestions.perform(),\n      timeout(NEW_ANSWER_ANIMATION_LENGTH + 200),\n    ]);\n\n    let loadedExamples = fetchAndTimeoutResults[0];\n    this.refreshCurrentlyPresentedExamples(loadedExamples);\n  }\n\n  refreshCurrentlyPresentedExamples(loadedExamples) {\n    // Whenever an item is accepted or removed we remove it from the list immediately, and insert a\n    // new blank item with loading: true. This is what triggers the main list update animation.\n    // This is done in the accept and reject actions.\n    // Once the new search has run we find any loading items and update their content in place,\n    // including setting loading: false. This triggers the secondary animation inside the item\n    // which changes the spinner to the text.\n\n    if (!Array.isArray(loadedExamples)) {\n      return;\n    }\n\n    let currentlyPresentedExamples = this.args.questionTrainingState.currentlyPresentedExamples;\n\n    let slotsToAdd = EXAMPLES_TO_DISPLAY_COUNT - currentlyPresentedExamples.length;\n\n    let resultsToPopulate = currentlyPresentedExamples.concat(\n      new Array(slotsToAdd).fill(undefined).map(() =>\n        EmberObject.create({\n          loading: true,\n        }),\n      ),\n    );\n\n    let slotsToFill = resultsToPopulate.filter(slotToFill => slotToFill.loading);\n\n    slotsToFill.forEach((slotToFill, i) => {\n      let example = loadedExamples[i];\n\n      if (example) {\n        slotToFill.setProperties(example);\n        slotToFill.set('loading', false);\n      }\n    });\n\n    let newPresentedExamples = resultsToPopulate.filter(x => !x.loading);\n\n    this.args.questionTrainingState.setCurrentlyPresentedExamples(newPresentedExamples);\n    this.hasSearched = true;\n\n    if (this.args.onNewSearchResults) {\n      this.args.onNewSearchResults(newPresentedExamples);\n    }\n  }\n\n  _buildFetchParameters() {\n    return {\n      app_id: this.appService.app.id,\n      query: this.searchTerm,\n      recently_selected_examples: this._serializeExamples(\n        this.args.questionTrainingState.addedExamplesFromCurrentSearch,\n      ),\n      recently_rejected_examples: this._serializeExamples(\n        this.args.questionTrainingState.recentlyRejectedExamples,\n      ),\n      all_selected_examples: this._serializeExamples(this.args.answer.exampleQuestions),\n      rejected_examples: this._serializeExamples(\n        this.args.questionTrainingState.removedAndRejectedExamples,\n      ),\n      currently_presented_examples: this._serializeExamples(\n        this.args.questionTrainingState.currentlyPresentedExamples.filter(\n          example => !example.loading,\n        ),\n      ),\n      required_keywords: this.args.answer.controlCriteria.serialize(),\n      language_code: this.args.answer.languageCode,\n    };\n  }\n\n  _serializeExamples(examples) {\n    return examples.map(example => {\n      return {\n        id: get(example, 'identifier'),\n        text: get(example, 'text'),\n      };\n    });\n  }\n\n  @action\n  search() {\n    let length = this.searchTerm.length;\n    if (length < MINUMUM_SEARCH_TERM_LENGTH) {\n      return;\n    }\n\n    debounce(this, this.runSearchTask, this.searchTerm, 500);\n  }\n\n  @action\n  clearSearch() {\n    this.searchTerm = '';\n    this.inputElement.focus();\n  }\n\n  @action\n  acceptSuggestedQuestion(searchResult) {\n    if (searchResult.isSelecting || searchResult.loading) {\n      return;\n    }\n    searchResult.set('isSelecting', true);\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'added',\n      object: 'question',\n      models: [this.args.answer],\n      search_source: searchResult.source,\n      question_id: searchResult.identifier,\n      question_text: searchResult.text,\n    });\n\n    this.args.onSuggestedQuestionAccepted(searchResult, this.searchTerm);\n    this.onSuggestedQuestionAcceptedOrRejected.perform(searchResult);\n  }\n\n  @action\n  rejectSuggestedQuestion(searchResult) {\n    if (searchResult.isSelecting || searchResult.loading) {\n      return;\n    }\n    searchResult.set('isSelecting', true);\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'rejected',\n      object: 'question',\n      models: [this.args.answer],\n      search_source: searchResult.source,\n      question_id: searchResult.identifier,\n      question_text: searchResult.text,\n    });\n\n    this.args.onSuggestedQuestionRejected(searchResult);\n    this.onSuggestedQuestionAcceptedOrRejected.perform(searchResult);\n  }\n\n  @action\n  applySuggestedCluster(cluster) {\n    if (this.args.onSuggestedClusterSelected) {\n      this.args.onSuggestedClusterSelected(cluster);\n    }\n    this.searchTerm = this.appService.app.canUseSuggestedAnswers\n      ? cluster.archetype.text\n      : cluster.archetype;\n    this.loadAndDisplaySuggestions.perform();\n  }\n\n  @task\n  *onSuggestedQuestionAcceptedOrRejected(searchResult) {\n    let examplesToKeep = this.args.questionTrainingState.currentlyPresentedExamples.filter(\n      example => example !== searchResult,\n    );\n\n    let newPresentedExamples = examplesToKeep.concat(EmberObject.create({ loading: true }));\n\n    this.args.questionTrainingState.set('currentlyPresentedExamples', newPresentedExamples);\n\n    let fetchAndTimeoutResults = yield all([\n      this.fetchSuggestions.perform(),\n      timeout(NEW_ANSWER_ANIMATION_LENGTH + 200),\n    ]);\n\n    this.refreshCurrentlyPresentedExamples(fetchAndTimeoutResults[0]);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{this.cancel}}\\n  @isOpen={{and @showRejectedSuggestedQuestionsModal this.isVisible}}\\n  data-test-rejected-suggested-questions-modal\\n  as |modal|\\n>\\n  <modal.header @title={{if this.creatingAnswer \\\"Creating answer...\\\" \\\"Create an answer from rejected questions\\\"}} />\\n  <modal.body data-test-create-user-modal={{true}}>\\n    {{#if this.creatingAnswer}}\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    {{else}}\\n      <p class=\\\"mt-2\\\">\\n        Select the questions that you would like to create an answer for:\\n      </p>\\n\\n      {{#each this.answerFollowOnCreationService.rejectedExampleQuestions as |rejectedQuestion|}}\\n        <IcCard\\n          @isInteractive={{true}}\\n          class=\\\"mt-2 answers__answer-editor__rejected-question {{if (get this.selectedQuestions rejectedQuestion.identifier) 'o__selected'}}\\\"\\n          {{on \\\"click\\\" (fn this.selectQuestion rejectedQuestion)}}\\n        >\\n          {{rejectedQuestion.text}}\\n        </IcCard>\\n      {{/each}}\\n    {{/if}}\\n  </modal.body>\\n\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Create new answer\\\"\\n      action=this.createAnswer\\n      disabled=(or (eq this.selectedQuestionsLength 0) this.creatingAnswer)\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=this.cancel\\n    }}\\n  />\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{this.cancel}}\\n  @isOpen={{and @showRejectedSuggestedQuestionsModal this.isVisible}}\\n  data-test-rejected-suggested-questions-modal\\n  as |modal|\\n>\\n  <modal.header @title={{if this.creatingAnswer \\\"Creating answer...\\\" \\\"Create an answer from rejected questions\\\"}} />\\n  <modal.body data-test-create-user-modal={{true}}>\\n    {{#if this.creatingAnswer}}\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    {{else}}\\n      <p class=\\\"mt-2\\\">\\n        Select the questions that you would like to create an answer for:\\n      </p>\\n\\n      {{#each this.answerFollowOnCreationService.rejectedExampleQuestions as |rejectedQuestion|}}\\n        <IcCard\\n          @isInteractive={{true}}\\n          class=\\\"mt-2 answers__answer-editor__rejected-question {{if (get this.selectedQuestions rejectedQuestion.identifier) 'o__selected'}}\\\"\\n          {{on \\\"click\\\" (fn this.selectQuestion rejectedQuestion)}}\\n        >\\n          {{rejectedQuestion.text}}\\n        </IcCard>\\n      {{/each}}\\n    {{/if}}\\n  </modal.body>\\n\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Create new answer\\\"\\n      action=this.createAnswer\\n      disabled=(or (eq this.selectedQuestionsLength 0) this.creatingAnswer)\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=this.cancel\\n    }}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/answers/editor/rejected-suggested-questions-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/rejected-suggested-questions-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class RejectedSuggestedQuestionsModal extends Component {\n  @service router;\n  @service answerFollowOnCreationService;\n\n  @tracked selectedQuestions = {};\n  @tracked creatingAnswer = false;\n  @tracked isVisible = true;\n\n  get selectedQuestionsLength() {\n    return Object.keys(this.selectedQuestions).length;\n  }\n\n  get firstSelectedQuestion() {\n    return this.selectedQuestions[Object.keys(this.selectedQuestions)[0]];\n  }\n\n  @action\n  selectQuestion(rejectedQuestion) {\n    let id = rejectedQuestion.identifier;\n    if (this.selectedQuestions[id]) {\n      delete this.selectedQuestions[id];\n    } else {\n      this.selectedQuestions[id] = rejectedQuestion;\n    }\n    this.selectedQuestions = this.selectedQuestions;\n  }\n\n  @action\n  createAnswer() {\n    this.answerFollowOnCreationService.setQuestionsSelectedFromRejectedQuestions(\n      this.selectedQuestions,\n    );\n    this.creatingAnswer = true;\n    this.router.transitionTo('apps.app.operator.resolution-bot.answers.new', {\n      queryParams: {\n        previousShowPageAnswerId: this.args.currentPageAnswerId,\n        prepopulatedSearchTerm: this.firstSelectedQuestion?.text,\n        expandSelectedExamples: true,\n      },\n    });\n  }\n\n  @action\n  cancel() {\n    this.answerFollowOnCreationService.reset();\n    this.isVisible = false;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div ...attributes>\\n  <div class=\\\"layout__box o__has-columns message__editor__review__validation-message\\\">\\n    <div class=\\\"layout__box o__flexes-to-1 message__editor__review__validation-message-step\\\">\\n      <div class=\\\"layout__box o__flexes-to-1 o__has-columns u__ml__10\\\">\\n        <span class=\\\"message__editor__review__validation-message-step-text u__ml__5 \\\">{{@message}}</span>\\n        {{#if @openStep}}<a {{on 'click' @openStep}} class=\\\"message__editor__review__validation-message__open-step t__em-link u__ml__10 u__mr__20\\\">Open step</a>{{/if}}\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div ...attributes>\\n  <div class=\\\"layout__box o__has-columns message__editor__review__validation-message\\\">\\n    <div class=\\\"layout__box o__flexes-to-1 message__editor__review__validation-message-step\\\">\\n      <div class=\\\"layout__box o__flexes-to-1 o__has-columns u__ml__10\\\">\\n        <span class=\\\"message__editor__review__validation-message-step-text u__ml__5 \\\">{{@message}}</span>\\n        {{#if @openStep}}<a {{on 'click' @openStep}} class=\\\"message__editor__review__validation-message__open-step t__em-link u__ml__10 u__mr__20\\\">Open step</a>{{/if}}\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/editor/review-panel/review-wrapper-error.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/review-panel/review-wrapper-error.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<div data-test-review-wrapper class=\\\"u__pad__60\\\">\\n  {{#unless @answer.answerCanBeSetLive}}\\n    <div class=\\\"layout__box o__centers-horizontally u__mb__30\\\">\\n      <IcIllustrativeIcon @name=\\\"warning\\\" />\\n    </div>\\n    <div class=\\\"layout__box o__centers-horizontally u__mb__5\\\">\\n      <h2 class=\\\"t__h1\\\">\\n        Almost there\\n      </h2>\\n    </div>\\n    <div class=\\\"layout__box o__has-rows u__mt__20\\\">\\n      <div class=\\\"layout__box o__centers-horizontally u__mb__30\\\">\\n        <p class=\\\"t__body u__centered-text-block answers__answer-editor__review-text\\\">\\n          Check that you've added a clear title, covered multiple ways your customers could ask the question, and proofread your answer carefully.\\n        </p>\\n      </div>\\n      {{#unless @answer.exampleQuestionsIsComplete}}\\n        <Answers::Editor::ReviewPanel::ReviewWrapperError\\n          class=\\\"layout__box o__centers-horizontally u__mt__10\\\"\\n          @message=\\\"Finish defining the question\\\"\\n          @openStep={{fn @openSection \\\"example-questions\\\"}}\\n        />\\n      {{/unless}}\\n      {{#unless @answer.multipartResponse.isComplete}}\\n        <Answers::Editor::ReviewPanel::ReviewWrapperError\\n          class=\\\"layout__box o__centers-horizontally u__mt__10\\\"\\n          @message=\\\"Compose an answer for the bot to send\\\"\\n          @openStep={{fn @openSection \\\"response-editor\\\"}}\\n        />\\n      {{/unless}}\\n    </div>\\n  {{else}}\\n    <div class=\\\"layout__box o__centers-horizontally u__mb__30\\\">\\n      <IcIllustrativeIcon @name=\\\"live\\\" />\\n    </div>\\n    <div class=\\\"layout__box o__centers-horizontally u__mb__5\\\">\\n      <h2 class=\\\"t__h1\\\">\\n        You're ready to go\\n      </h2>\\n    </div>\\n    <div class=\\\"layout__box o__centers-horizontally u__mt__15\\\">\\n      <div class=\\\"layout__box\\\">\\n        <p class=\\\"t__body u__centered-text-block answers__answer-editor__review-text u__mb__15\\\">\\n          Give your title one last check before you set the answer live, since your customers might see it while interacting with Resolution Bot.\\n        </p>\\n        <div class=\\\"layout__box o__centers-horizontally u__mb__10\\\">\\n          <Paywall @featureKey=\\\"answer_workflows\\\" as |paywall|>\\n            <paywall.Hover>\\n              <IcButton\\n                @type=\\\"primary-live\\\"\\n                data-test-answers-review-save-live-button={{true}}\\n                @disabled={{paywall.isActive}}\\n                @onClick={{this.setLiveAndSave}}\\n              >\\n                {{ic-interface-icon \\\"put-live\\\"}} Set live\\n              </IcButton>\\n            </paywall.Hover>\\n          </Paywall>\\n        </div>\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__centers-horizontally u__mt__5\\\">\\n      <p>\\n        or <a class=\\\"t__em-link\\\" data-test-answers-review-save-and-close-button=\\\"true\\\" {{on \\\"click\\\" this.saveAndClose}}>save and close</a>\\n      </p>\\n    </div>\\n  {{/unless}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<div data-test-review-wrapper class=\\\"u__pad__60\\\">\\n  {{#unless @answer.answerCanBeSetLive}}\\n    <div class=\\\"layout__box o__centers-horizontally u__mb__30\\\">\\n      <IcIllustrativeIcon @name=\\\"warning\\\" />\\n    </div>\\n    <div class=\\\"layout__box o__centers-horizontally u__mb__5\\\">\\n      <h2 class=\\\"t__h1\\\">\\n        Almost there\\n      </h2>\\n    </div>\\n    <div class=\\\"layout__box o__has-rows u__mt__20\\\">\\n      <div class=\\\"layout__box o__centers-horizontally u__mb__30\\\">\\n        <p class=\\\"t__body u__centered-text-block answers__answer-editor__review-text\\\">\\n          Check that you've added a clear title, covered multiple ways your customers could ask the question, and proofread your answer carefully.\\n        </p>\\n      </div>\\n      {{#unless @answer.exampleQuestionsIsComplete}}\\n        <Answers::Editor::ReviewPanel::ReviewWrapperError\\n          class=\\\"layout__box o__centers-horizontally u__mt__10\\\"\\n          @message=\\\"Finish defining the question\\\"\\n          @openStep={{fn @openSection \\\"example-questions\\\"}}\\n        />\\n      {{/unless}}\\n      {{#unless @answer.multipartResponse.isComplete}}\\n        <Answers::Editor::ReviewPanel::ReviewWrapperError\\n          class=\\\"layout__box o__centers-horizontally u__mt__10\\\"\\n          @message=\\\"Compose an answer for the bot to send\\\"\\n          @openStep={{fn @openSection \\\"response-editor\\\"}}\\n        />\\n      {{/unless}}\\n    </div>\\n  {{else}}\\n    <div class=\\\"layout__box o__centers-horizontally u__mb__30\\\">\\n      <IcIllustrativeIcon @name=\\\"live\\\" />\\n    </div>\\n    <div class=\\\"layout__box o__centers-horizontally u__mb__5\\\">\\n      <h2 class=\\\"t__h1\\\">\\n        You're ready to go\\n      </h2>\\n    </div>\\n    <div class=\\\"layout__box o__centers-horizontally u__mt__15\\\">\\n      <div class=\\\"layout__box\\\">\\n        <p class=\\\"t__body u__centered-text-block answers__answer-editor__review-text u__mb__15\\\">\\n          Give your title one last check before you set the answer live, since your customers might see it while interacting with Resolution Bot.\\n        </p>\\n        <div class=\\\"layout__box o__centers-horizontally u__mb__10\\\">\\n          <Paywall @featureKey=\\\"answer_workflows\\\" as |paywall|>\\n            <paywall.Hover>\\n              <IcButton\\n                @type=\\\"primary-live\\\"\\n                data-test-answers-review-save-live-button={{true}}\\n                @disabled={{paywall.isActive}}\\n                @onClick={{this.setLiveAndSave}}\\n              >\\n                {{ic-interface-icon \\\"put-live\\\"}} Set live\\n              </IcButton>\\n            </paywall.Hover>\\n          </Paywall>\\n        </div>\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__centers-horizontally u__mt__5\\\">\\n      <p>\\n        or <a class=\\\"t__em-link\\\" data-test-answers-review-save-and-close-button=\\\"true\\\" {{on \\\"click\\\" this.saveAndClose}}>save and close</a>\\n      </p>\\n    </div>\\n  {{/unless}}\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/editor/review-panel/review-wrapper.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/review-panel/review-wrapper.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { ANSWER_BOT_ESSENTIAL_ID } from 'embercom/lib/billing';\nimport { action } from '@ember/object';\n\nexport default class ReviewWrapper extends Component {\n  @service intercomEventService;\n  @service notificationsService;\n  @service appService;\n\n  answerBotPlanId = ANSWER_BOT_ESSENTIAL_ID;\n\n  @action\n  setLiveAndSave() {\n    let app = this.appService.app;\n    if (!app.hasAnswerBot && app.answerBotIsNotActive) {\n      return;\n    }\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'set_live',\n      object: this.args.answer,\n      context: 'review_step',\n    });\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'saved',\n      object: this.args.answer,\n      context: 'review_step',\n    });\n\n    if (this.args.answer.titleIsComplete) {\n      this.args.answer.set('status', 'live');\n      this.args.tasks.save.perform();\n    } else {\n      this.notificationsService.notifyError('Please enter a title');\n    }\n  }\n\n  @action\n  scrollToTop() {\n    window.scrollTo(0, 0);\n  }\n\n  @action\n  saveAndClose() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'saved_and_closed',\n      object: this.args.answer,\n      context: 'review_step',\n    });\n\n    this.args.tasks.save.perform();\n  }\n\n  @action\n  saveAnswer() {\n    return this.args.answer.save();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<style>\\n  .answers__multipart-response-editor__quick-replies {\\n    --answer_quick_reply_text_color: {{this.quickReplyColor.text_color}};\\n    --answer_quick_reply_background_color: {{this.quickReplyColor.background_color}};\\n  }\\n</style>\", {\"contents\":\"<style>\\n  .answers__multipart-response-editor__quick-replies {\\n    --answer_quick_reply_text_color: {{this.quickReplyColor.text_color}};\\n    --answer_quick_reply_background_color: {{this.quickReplyColor.background_color}};\\n  }\\n</style>\",\"moduleName\":\"embercom/components/answers/editor/styles.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/editor/styles.hbs\"}});\nimport Component from '@glimmer/component';\nimport intercomMessengerColors from '@intercom/intercom-messenger-colors';\n\nconst baseColor = '#334BFA';\nconst messengerColors = intercomMessengerColors({\n  primaryColor: baseColor,\n  secondaryColor: baseColor, // Doesn't influence the QR colors\n  darkenAmount: 10,\n});\n\nexport default class Styles extends Component {\n  quickReplyColor = {\n    text_color: messengerColors.quick_reply_text_color,\n    background_color: messengerColors.quick_reply_background_color,\n  };\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Pulse::HeroBanner\\n  @svg=\\\"operator\\\"\\n  @title=\\\"Resolution Bot\\\"\\n  @description=\\\"Automate the answers to your common questions for instant resolutions and happier customers.\\\"\\n  @scrollSelector='.main__content-outlet'\\n  as |banner|\\n>\\n  <banner.Links as |links|>\\n    {{#if (not (has-feature 'hasAnswerBot'))}}\\n      <links.Link\\n        @title=\\\"What is Resolution Bot?\\\"\\n        @href=\\\"https://www.intercom.com/help/operator/answer-bot/provide-instant-resolutions-247-with-answer-bot\\\"\\n        @type=\\\"article\\\"\\n        data-test-what-is-answer-bot\\n        data-track-analytics-event-object=\\\"how_to_get_started_link\\\"\\n      />\\n    {{/if}}\\n    <links.Video\\n      @title=\\\"How to use Resolution Bot\\\"\\n      @wistiaId=\\\"fg0l4yt4kq\\\"\\n      data-test-how-to-use-answer-bot\\n      data-track-analytics-event-object=\\\"how_answer_bot_works_link\\\"\\n    />\\n    {{#if (has-feature 'hasAnswerBot')}}\\n      <links.Link\\n        @title=\\\"What's Auto-suggest?\\\"\\n        @href=\\\"https://www.intercom.com/help/en/articles/3711671-automatically-suggest-answers-as-your-customers-type\\\"\\n        @type=\\\"article\\\"\\n        data-test-what-is-auto-suggest\\n      />\\n    {{/if}}\\n  </banner.Links>\\n  {{yield banner}}\\n</Pulse::HeroBanner>\", {\"contents\":\"<Pulse::HeroBanner\\n  @svg=\\\"operator\\\"\\n  @title=\\\"Resolution Bot\\\"\\n  @description=\\\"Automate the answers to your common questions for instant resolutions and happier customers.\\\"\\n  @scrollSelector='.main__content-outlet'\\n  as |banner|\\n>\\n  <banner.Links as |links|>\\n    {{#if (not (has-feature 'hasAnswerBot'))}}\\n      <links.Link\\n        @title=\\\"What is Resolution Bot?\\\"\\n        @href=\\\"https://www.intercom.com/help/operator/answer-bot/provide-instant-resolutions-247-with-answer-bot\\\"\\n        @type=\\\"article\\\"\\n        data-test-what-is-answer-bot\\n        data-track-analytics-event-object=\\\"how_to_get_started_link\\\"\\n      />\\n    {{/if}}\\n    <links.Video\\n      @title=\\\"How to use Resolution Bot\\\"\\n      @wistiaId=\\\"fg0l4yt4kq\\\"\\n      data-test-how-to-use-answer-bot\\n      data-track-analytics-event-object=\\\"how_answer_bot_works_link\\\"\\n    />\\n    {{#if (has-feature 'hasAnswerBot')}}\\n      <links.Link\\n        @title=\\\"What's Auto-suggest?\\\"\\n        @href=\\\"https://www.intercom.com/help/en/articles/3711671-automatically-suggest-answers-as-your-customers-type\\\"\\n        @type=\\\"article\\\"\\n        data-test-what-is-auto-suggest\\n      />\\n    {{/if}}\\n  </banner.Links>\\n  {{yield banner}}\\n</Pulse::HeroBanner>\",\"moduleName\":\"embercom/components/answers/hero.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/hero.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span>\\n  <IcTooltip @isInteractive={{true}} as |context|>\\n    <context.opener>\\n      <a\\n        href={{href-to \\\"apps.app.operator.resolution-bot.answers.answer.edit\\\" @part.answerId}}\\n        class=\\\"text-gray t__solo-link\\\"\\n      >\\n        Resolution Bot\\n      </a>\\n    </context.opener>\\n    <context.content>\\n      Answer:\\n      <a\\n        href={{href-to \\\"apps.app.operator.resolution-bot.answers.answer.edit\\\" @part.answerId}}\\n      >\\n        {{@part.answerTitle}}\\n      </a>\\n    </context.content>\\n  </IcTooltip>\\n  &nbsp;&middot;\\n  <span class=\\\"text-gray u__mr__5\\\">\\n    Help the bot improve:\\n  </span>\\n  <IcTooltip as |context|>\\n    <context.opener>\\n      <span\\n        data-test-part-rating-positive\\n        class=\\\"answers__rate-conversation-part__rating answers__rate-conversation-part__rating-positive u__mr__5\\\"\\n        {{on \\\"click\\\" (perform this.saveRating \\\"positive\\\")}}\\n      >\\n        {{ic-interface-icon\\n          \\\"lwr-thumbs-up\\\"\\n          color=(if (eq @part.answerRating \\\"positive\\\") \\\"green\\\")\\n          solo=true\\n        }}\\n      </span>\\n    </context.opener>\\n    <context.content>\\n      <span data-test-tooltip-content>\\n        Rate this answer as a good match\\n      </span>\\n    </context.content>\\n  </IcTooltip>\\n  <IcTooltip as |context|>\\n    <context.opener>\\n      <span\\n        data-test-part-rating-negative\\n        class=\\\"answers__rate-conversation-part__rating answers__rate-conversation-part__rating-negative\\\"\\n        {{on \\\"click\\\" (perform this.saveRating \\\"negative\\\")}}\\n      >\\n        {{ic-interface-icon\\n          \\\"lwr-thumbs-down\\\"\\n          color=(if (eq @part.answerRating \\\"negative\\\") \\\"red\\\")\\n          solo=true\\n        }}\\n      </span>\\n    </context.opener>\\n    <context.content>\\n      <span data-test-tooltip-content>\\n        Rate this answer as a bad match\\n      </span>\\n    </context.content>\\n  </IcTooltip>\\n</span>\\n\", {\"contents\":\"<span>\\n  <IcTooltip @isInteractive={{true}} as |context|>\\n    <context.opener>\\n      <a\\n        href={{href-to \\\"apps.app.operator.resolution-bot.answers.answer.edit\\\" @part.answerId}}\\n        class=\\\"text-gray t__solo-link\\\"\\n      >\\n        Resolution Bot\\n      </a>\\n    </context.opener>\\n    <context.content>\\n      Answer:\\n      <a\\n        href={{href-to \\\"apps.app.operator.resolution-bot.answers.answer.edit\\\" @part.answerId}}\\n      >\\n        {{@part.answerTitle}}\\n      </a>\\n    </context.content>\\n  </IcTooltip>\\n  &nbsp;&middot;\\n  <span class=\\\"text-gray u__mr__5\\\">\\n    Help the bot improve:\\n  </span>\\n  <IcTooltip as |context|>\\n    <context.opener>\\n      <span\\n        data-test-part-rating-positive\\n        class=\\\"answers__rate-conversation-part__rating answers__rate-conversation-part__rating-positive u__mr__5\\\"\\n        {{on \\\"click\\\" (perform this.saveRating \\\"positive\\\")}}\\n      >\\n        {{ic-interface-icon\\n          \\\"lwr-thumbs-up\\\"\\n          color=(if (eq @part.answerRating \\\"positive\\\") \\\"green\\\")\\n          solo=true\\n        }}\\n      </span>\\n    </context.opener>\\n    <context.content>\\n      <span data-test-tooltip-content>\\n        Rate this answer as a good match\\n      </span>\\n    </context.content>\\n  </IcTooltip>\\n  <IcTooltip as |context|>\\n    <context.opener>\\n      <span\\n        data-test-part-rating-negative\\n        class=\\\"answers__rate-conversation-part__rating answers__rate-conversation-part__rating-negative\\\"\\n        {{on \\\"click\\\" (perform this.saveRating \\\"negative\\\")}}\\n      >\\n        {{ic-interface-icon\\n          \\\"lwr-thumbs-down\\\"\\n          color=(if (eq @part.answerRating \\\"negative\\\") \\\"red\\\")\\n          solo=true\\n        }}\\n      </span>\\n    </context.opener>\\n    <context.content>\\n      <span data-test-tooltip-content>\\n        Rate this answer as a bad match\\n      </span>\\n    </context.content>\\n  </IcTooltip>\\n</span>\\n\",\"moduleName\":\"embercom/components/answers/rate-conversation-part.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/rate-conversation-part.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\nimport { put } from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class RateConversationPart extends Component {\n  @service notificationsService;\n  @service appService;\n\n  @task\n  *saveRating(rating) {\n    try {\n      let partId = this.args.part.id;\n      let app = this.appService.app;\n      yield put(`/ember/answers/comment_ratings/${partId}`, {\n        app_id: app.id,\n        id: partId,\n        rating,\n      });\n      this.args.part.set('answerRating', rating);\n      this.notificationsService.notifyConfirmation(\n        `Your rating was saved and will be used to help train Resolution Bot.`,\n      );\n    } catch (e) {\n      console.error(e);\n      this.notificationsService.notifyError(\n        \"Something went wrong and we couldn't save your rating. Please try again.\",\n      );\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-end mt-5\\\" data-test-answers-coverage>\\n  <div class=\\\"flex-1\\\">\\n    <div>\\n      Resolution Bot's coverage rate is {{format-percentage-reports this.coverage}}\\n    </div>\\n    <div class=\\\"t__light-text\\\">\\n      This is the % of {{if (not (eq @conversationSource 'all')) @conversationSource}} conversations where an answer has been sent. Increase coverage by adding more answers.\\n    </div>\\n  </div>\\n  <div>\\n    <IcButton @type=\\\"secondary\\\" @onClick={{transition-to \\\"apps.app.operator.resolution-bot.answers.new\\\"}}>\\n      Add more answers\\n    </IcButton>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row items-end mt-5\\\" data-test-answers-coverage>\\n  <div class=\\\"flex-1\\\">\\n    <div>\\n      Resolution Bot's coverage rate is {{format-percentage-reports this.coverage}}\\n    </div>\\n    <div class=\\\"t__light-text\\\">\\n      This is the % of {{if (not (eq @conversationSource 'all')) @conversationSource}} conversations where an answer has been sent. Increase coverage by adding more answers.\\n    </div>\\n  </div>\\n  <div>\\n    <IcButton @type=\\\"secondary\\\" @onClick={{transition-to \\\"apps.app.operator.resolution-bot.answers.new\\\"}}>\\n      Add more answers\\n    </IcButton>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/reporting/answers-coverage.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/reporting/answers-coverage.hbs\"}});\nimport Component from '@glimmer/component';\nimport percent from 'embercom/lib/percentage-formatter';\n\nexport default class AnswersCoverage extends Component {\n  get coverage() {\n    return this.args.conversationsSent > 0\n      ? percent(this.args.conversationsSent, this.args.answersSent)\n      : 0;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-answers-provided-signal>\\n  <Reporting::ChartContainer @size=\\\"medium\\\" as |chart|>\\n    <Reporting::Element::Summary\\n      @title={{if (has-feature \\\"canUseNewReportingIa\\\") \\\"Conversation coverage\\\" \\\"Conversations covered by Resolution Bot\\\"}}\\n      @titleTooltipText=\\\"Number of {{if (not (eq @conversationSource 'all')) @conversationSource}} conversations in which Resolution Bot delivered at least one answer.\\\"\\n      @currentValue={{@signals.answersSentByDay.value}}\\n      @previousValue={{@signals.answersSentByDay.previousValue}}\\n      @range={{range}}\\n      @improvementDirection=\\\"increasing\\\"\\n      @forceEmpty={{not @showData}}\\n    >\\n      {{#if @showData}}\\n        <p>\\n          <b>\\n            {{number-formatter-helper @signals.answersSentByDay.value}} {{if (gt @conversationsSent 0) (concat \\\"of \\\" (number-formatter-helper @conversationsSent))}}\\n          </b>\\n          <span class=\\\"t__light-text\\\">\\n            {{if (not (eq @conversationSource 'all')) @conversationSource}} conversations\\n          </span>\\n        </p>\\n      {{/if}}\\n    </Reporting::Element::Summary>\\n    <div class=\\\"mb-6\\\"></div>\\n    {{#if @showData}}\\n      <Reporting::LineChartWithTooltips\\n        data-test-line-chart=\\\"answers-provided\\\"\\n        @signal={{@signals.answersSentByDayLines}}\\n        @hoverTextUnit=\\\"answers\\\"\\n        @color={{palette \\\"vis-blue-40\\\"}}\\n        @width={{chart.width}}\\n        @range={{range}}\\n      />\\n    {{else}}\\n      <Reporting::EmptyState::NoDataCta\\n        @title=\\\"No live answers\\\"\\n        @body=\\\"You need to create some live answers before data can be viewed in this report\\\" as |no-data|\\n      >\\n        <no-data.cta\\n          @label=\\\"Set up Resolution Bot\\\"\\n          @onClick={{@transitionToNewAnswer}}\\n        />\\n      </Reporting::EmptyState::NoDataCta>\\n    {{/if}}\\n  </Reporting::ChartContainer>\\n</div>\\n\", {\"contents\":\"<div data-test-answers-provided-signal>\\n  <Reporting::ChartContainer @size=\\\"medium\\\" as |chart|>\\n    <Reporting::Element::Summary\\n      @title={{if (has-feature \\\"canUseNewReportingIa\\\") \\\"Conversation coverage\\\" \\\"Conversations covered by Resolution Bot\\\"}}\\n      @titleTooltipText=\\\"Number of {{if (not (eq @conversationSource 'all')) @conversationSource}} conversations in which Resolution Bot delivered at least one answer.\\\"\\n      @currentValue={{@signals.answersSentByDay.value}}\\n      @previousValue={{@signals.answersSentByDay.previousValue}}\\n      @range={{range}}\\n      @improvementDirection=\\\"increasing\\\"\\n      @forceEmpty={{not @showData}}\\n    >\\n      {{#if @showData}}\\n        <p>\\n          <b>\\n            {{number-formatter-helper @signals.answersSentByDay.value}} {{if (gt @conversationsSent 0) (concat \\\"of \\\" (number-formatter-helper @conversationsSent))}}\\n          </b>\\n          <span class=\\\"t__light-text\\\">\\n            {{if (not (eq @conversationSource 'all')) @conversationSource}} conversations\\n          </span>\\n        </p>\\n      {{/if}}\\n    </Reporting::Element::Summary>\\n    <div class=\\\"mb-6\\\"></div>\\n    {{#if @showData}}\\n      <Reporting::LineChartWithTooltips\\n        data-test-line-chart=\\\"answers-provided\\\"\\n        @signal={{@signals.answersSentByDayLines}}\\n        @hoverTextUnit=\\\"answers\\\"\\n        @color={{palette \\\"vis-blue-40\\\"}}\\n        @width={{chart.width}}\\n        @range={{range}}\\n      />\\n    {{else}}\\n      <Reporting::EmptyState::NoDataCta\\n        @title=\\\"No live answers\\\"\\n        @body=\\\"You need to create some live answers before data can be viewed in this report\\\" as |no-data|\\n      >\\n        <no-data.cta\\n          @label=\\\"Set up Resolution Bot\\\"\\n          @onClick={{@transitionToNewAnswer}}\\n        />\\n      </Reporting::EmptyState::NoDataCta>\\n    {{/if}}\\n  </Reporting::ChartContainer>\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/reporting/answers-provided.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/reporting/answers-provided.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<Reporting::ChartContainer data-test-resolution-rate-signal @size=\\\"medium\\\" as |chart|>\\n  <Reporting::Element::Summary\\n    @title=\\\"Resolution rate\\\"\\n    @titleTooltipComponent=\\\"answers/reporting/resolution-rate/tooltip\\\"\\n    @currentValue={{this.currentValue}}\\n    @previousValue={{this.previousValue}}\\n    @range={{@range}}\\n    @unit=\\\"percent\\\"\\n    @improvementDirection=\\\"increasing\\\"\\n    @forceEmpty={{not @showData}}\\n  >\\n    {{#if @showData}}\\n      <p data-test-conversations-closed-count>\\n        <b>\\n          {{number-formatter-helper this.count}} {{if (gt this.count 0) (concat \\\"of \\\" (number-formatter-helper this.total))}}\\n        </b>\\n        <span class=\\\"t__light-text\\\">\\n          conversations closed automatically\\n        </span>\\n      </p>\\n    {{/if}}\\n  </Reporting::Element::Summary>\\n  <div class=\\\"mb-6\\\"></div>\\n  <Reporting::Element::ChartHorizontalBarWithRule\\n    @report={{this.report}}\\n    @keys={{array\\n      \\\"no_action_required\\\"\\n      \\\"minimal_action_required\\\"\\n      \\\"action_required\\\"\\n    }}\\n    @tooltips={{this.tooltips}}\\n    @rule={{hash key=\\\"minimal_action_required\\\" color=\\\"green\\\"}}\\n    @keyColorHash={{hash\\n      action_required=\\\"gray-light\\\"\\n      minimal_action_required=\\\"answer-bot-green\\\"\\n      no_action_required=\\\"green\\\"\\n    }}\\n    @unit=\\\"conversations\\\"\\n    @forceEmpty={{not @showData}}\\n  />\\n  <div class=\\\"w-full u__relative\\\">\\n    <div\\n      class=\\\"reporting__horizontal-bar-chart__fixed-metric__container flex flex-col items-center\\\"\\n      style=\\\"left: {{this.averageResolutionRate}}%;\\\"\\n    >\\n      <svg width=\\\"2px\\\" height=\\\"34px\\\">\\n        <line\\n          x1=\\\"0\\\"\\n          y1=\\\"0\\\"\\n          x2=\\\"0\\\"\\n          y2=\\\"100%\\\"\\n          stroke-dasharray=\\\"4\\\"\\n          stroke-width=\\\"2\\\"\\n          class=\\\"reporting__horizontal-bar-chart__fixed-metric__marker\\\"\\n        ></line>\\n      </svg>\\n      <div\\n        class=\\\"reporting__horizontal-bar-chart__fixed-metric__label t__light-text u__mt__10 u__relative u__padr__5 u__padl__5\\\"\\n      >\\n        Intercom average ({{this.averageResolutionRate}}%)\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"mb-2\\\"></div>\\n  <Reporting::Element::Legend @list={{this.legendItems}} />\\n</Reporting::ChartContainer>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<Reporting::ChartContainer data-test-resolution-rate-signal @size=\\\"medium\\\" as |chart|>\\n  <Reporting::Element::Summary\\n    @title=\\\"Resolution rate\\\"\\n    @titleTooltipComponent=\\\"answers/reporting/resolution-rate/tooltip\\\"\\n    @currentValue={{this.currentValue}}\\n    @previousValue={{this.previousValue}}\\n    @range={{@range}}\\n    @unit=\\\"percent\\\"\\n    @improvementDirection=\\\"increasing\\\"\\n    @forceEmpty={{not @showData}}\\n  >\\n    {{#if @showData}}\\n      <p data-test-conversations-closed-count>\\n        <b>\\n          {{number-formatter-helper this.count}} {{if (gt this.count 0) (concat \\\"of \\\" (number-formatter-helper this.total))}}\\n        </b>\\n        <span class=\\\"t__light-text\\\">\\n          conversations closed automatically\\n        </span>\\n      </p>\\n    {{/if}}\\n  </Reporting::Element::Summary>\\n  <div class=\\\"mb-6\\\"></div>\\n  <Reporting::Element::ChartHorizontalBarWithRule\\n    @report={{this.report}}\\n    @keys={{array\\n      \\\"no_action_required\\\"\\n      \\\"minimal_action_required\\\"\\n      \\\"action_required\\\"\\n    }}\\n    @tooltips={{this.tooltips}}\\n    @rule={{hash key=\\\"minimal_action_required\\\" color=\\\"green\\\"}}\\n    @keyColorHash={{hash\\n      action_required=\\\"gray-light\\\"\\n      minimal_action_required=\\\"answer-bot-green\\\"\\n      no_action_required=\\\"green\\\"\\n    }}\\n    @unit=\\\"conversations\\\"\\n    @forceEmpty={{not @showData}}\\n  />\\n  <div class=\\\"w-full u__relative\\\">\\n    <div\\n      class=\\\"reporting__horizontal-bar-chart__fixed-metric__container flex flex-col items-center\\\"\\n      style=\\\"left: {{this.averageResolutionRate}}%;\\\"\\n    >\\n      <svg width=\\\"2px\\\" height=\\\"34px\\\">\\n        <line\\n          x1=\\\"0\\\"\\n          y1=\\\"0\\\"\\n          x2=\\\"0\\\"\\n          y2=\\\"100%\\\"\\n          stroke-dasharray=\\\"4\\\"\\n          stroke-width=\\\"2\\\"\\n          class=\\\"reporting__horizontal-bar-chart__fixed-metric__marker\\\"\\n        ></line>\\n      </svg>\\n      <div\\n        class=\\\"reporting__horizontal-bar-chart__fixed-metric__label t__light-text u__mt__10 u__relative u__padr__5 u__padl__5\\\"\\n      >\\n        Intercom average ({{this.averageResolutionRate}}%)\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"mb-2\\\"></div>\\n  <Reporting::Element::Legend @list={{this.legendItems}} />\\n</Reporting::ChartContainer>\\n\",\"moduleName\":\"embercom/components/answers/reporting/resolution-rate.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/reporting/resolution-rate.hbs\"}});\nimport Component from '@glimmer/component';\n\nconst AVERAGE_RESOLUTION_RATE = 33;\n\nexport const ANSWER_EFFECTIVENESS_ITEMS = [\n  {\n    label: 'Resolved, customer closed',\n    key: 'no_action_required',\n    color: 'green',\n    tooltip: \"Closed by the customer using the 'That helped 👍' button\",\n  },\n  {\n    label: 'Resolved, customer left',\n    key: 'minimal_action_required',\n    color: 'answer-bot-green',\n    tooltip: 'No reply after answer delivered. This usually means the question was resolved',\n  },\n  {\n    label: 'Routed to team',\n    key: 'action_required',\n    color: 'gray-light',\n    tooltip: \"Customer replied or clicked the 'Wait for the team 💬' button\",\n  },\n];\n\nconst ANSWER_EFFECTIVENESS_KEYS = ANSWER_EFFECTIVENESS_ITEMS.map(item => item.key);\nconst ANSWER_EFFECTIVENESS_TOOLTIPS = ANSWER_EFFECTIVENESS_ITEMS.reduce(\n  (hash, item) => ({ ...hash, [item.key]: item.tooltip }),\n  {},\n);\n\nexport const EFFECTIVE_ANSWER_KEYS = [ANSWER_EFFECTIVENESS_KEYS[0], ANSWER_EFFECTIVENESS_KEYS[1]];\n\nfunction calculateAggregate(aggregateBucketIndexes = [0], valuesByKey = {}) {\n  return aggregateBucketIndexes.reduce((total, index) => {\n    return total + (valuesByKey[index] || 0);\n  }, 0);\n}\n\nexport default class ResolutionRate extends Component {\n  legendItems = ANSWER_EFFECTIVENESS_ITEMS;\n  tooltips = ANSWER_EFFECTIVENESS_TOOLTIPS;\n  averageResolutionRate = AVERAGE_RESOLUTION_RATE;\n\n  get report() {\n    return this.args.signal.aggregateSignalAsStackablePercentageData();\n  }\n\n  get currentValue() {\n    return calculateAggregate(\n      EFFECTIVE_ANSWER_KEYS,\n      this.args.signal.aggregateSignalAsStackablePercentageData().percentagesByKey,\n    );\n  }\n\n  get previousValue() {\n    return calculateAggregate(\n      EFFECTIVE_ANSWER_KEYS,\n      this.args.signal.aggregateSignalAsStackablePercentageData(true).percentagesByKey,\n    );\n  }\n\n  get count() {\n    return calculateAggregate(\n      EFFECTIVE_ANSWER_KEYS,\n      this.args.signal.aggregateSignalAsStackablePercentageData().totalsPerKey,\n    );\n  }\n\n  get total() {\n    return this.args.signal.aggregateSignalAsStackablePercentageData().total;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col justify-center\\\">\\n  <p>Resolution Bot automatically resolved {{if (gt @resolutionRate 0) (format-percentage-reports @resolutionRate) '0%'}} of your {{if (not (eq @conversationSource 'all')) @conversationSource}} conversations</p>\\n  <p class=\\\"t__light-text\\\">Improve your resolution rate by training Resolution Bot thoroughly and writing effective answers.</p>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col justify-center\\\">\\n  <p>Resolution Bot automatically resolved {{if (gt @resolutionRate 0) (format-percentage-reports @resolutionRate) '0%'}} of your {{if (not (eq @conversationSource 'all')) @conversationSource}} conversations</p>\\n  <p class=\\\"t__light-text\\\">Improve your resolution rate by training Resolution Bot thoroughly and writing effective answers.</p>\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/reporting/resolution-rate/tips.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/reporting/resolution-rate/tips.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span data-test-answers-reporting-resolution-rate-tooltip-content>\\n  Percentage of Resolution Bot conversations that were automatically resolved, without the need for input from a teammate.\\n  <Pulse::HelpContent::Link\\n    @href=\\\"https://www.intercom.com/help/operator/answer-bot/measure-answer-bots-performance\\\"\\n    @title=\\\"Learn more about how this report is calculated\\\"\\n    @type=\\\"article\\\"\\n    @linkStyling=\\\"inline\\\"\\n  />\\n</span>\\n\", {\"contents\":\"<span data-test-answers-reporting-resolution-rate-tooltip-content>\\n  Percentage of Resolution Bot conversations that were automatically resolved, without the need for input from a teammate.\\n  <Pulse::HelpContent::Link\\n    @href=\\\"https://www.intercom.com/help/operator/answer-bot/measure-answer-bots-performance\\\"\\n    @title=\\\"Learn more about how this report is calculated\\\"\\n    @type=\\\"article\\\"\\n    @linkStyling=\\\"inline\\\"\\n  />\\n</span>\\n\",\"moduleName\":\"embercom/components/answers/reporting/resolution-rate/tooltip.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/reporting/resolution-rate/tooltip.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-baseline justify-between mb-4\\\">\\n  <Reporting::Element::SummaryTitle @title=\\\"Resolution Bot impact\\\" />\\n\\n  <Pulse::HelpContent::Link\\n    @href=\\\"https://www.intercom.com/help/operator/answer-bot/measure-answer-bots-performance\\\"\\n    @title=\\\"How is this report calculated?\\\"\\n    @type=\\\"article\\\"\\n  />\\n</div>\\n\\n<div class=\\\"flex flex-row justify-between items-start\\\">\\n  <Reporting::SingleStat\\n    class=\\\"reporting__team-impact__grid-item\\\"\\n    @icon=\\\"auto-message\\\"\\n    @color=\\\"green\\\"\\n    @showData={{@showData}}\\n    @stat={{if\\n      (gt @effectiveAnswerCount 0)\\n      (number-formatter-helper @effectiveAnswerCount)\\n      0\\n    }}\\n    @title=\\\"Conversations resolved immediately\\\"\\n    @description=\\\"Resolution Bot closed these conversations with no need for teammate action\\\"\\n  />\\n\\n  <Reporting::SingleStat\\n    class=\\\"reporting__team-impact__grid-item\\\"\\n    @icon=\\\"relationship\\\"\\n    @color=\\\"red\\\"\\n    @showData={{@showData}}\\n    @stat={{if\\n      (gt this.timeSaved 0)\\n      (seconds-formatter this.timeSaved format=\\\"unitless-hours\\\")\\n      0\\n    }}\\n    @title=\\\"Customer hours saved\\\"\\n    @description={{this.customerHoursSavedDescription}}\\n  />\\n\\n  <Reporting::SingleStat\\n    class=\\\"reporting__team-impact__grid-item\\\"\\n    @icon=\\\"clock\\\"\\n    @color=\\\"yellow\\\"\\n    @showData={{@showData}}\\n    @stat={{if\\n      (gt this.augmentsTeam 0)\\n      (seconds-formatter this.augmentsTeam format=\\\"unitless-hours\\\")\\n      0\\n    }}\\n    @title=\\\"Teammate hours saved\\\"\\n    @description=\\\"Based on a one-touch handling time of 12 minutes\\\"\\n  />\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row items-baseline justify-between mb-4\\\">\\n  <Reporting::Element::SummaryTitle @title=\\\"Resolution Bot impact\\\" />\\n\\n  <Pulse::HelpContent::Link\\n    @href=\\\"https://www.intercom.com/help/operator/answer-bot/measure-answer-bots-performance\\\"\\n    @title=\\\"How is this report calculated?\\\"\\n    @type=\\\"article\\\"\\n  />\\n</div>\\n\\n<div class=\\\"flex flex-row justify-between items-start\\\">\\n  <Reporting::SingleStat\\n    class=\\\"reporting__team-impact__grid-item\\\"\\n    @icon=\\\"auto-message\\\"\\n    @color=\\\"green\\\"\\n    @showData={{@showData}}\\n    @stat={{if\\n      (gt @effectiveAnswerCount 0)\\n      (number-formatter-helper @effectiveAnswerCount)\\n      0\\n    }}\\n    @title=\\\"Conversations resolved immediately\\\"\\n    @description=\\\"Resolution Bot closed these conversations with no need for teammate action\\\"\\n  />\\n\\n  <Reporting::SingleStat\\n    class=\\\"reporting__team-impact__grid-item\\\"\\n    @icon=\\\"relationship\\\"\\n    @color=\\\"red\\\"\\n    @showData={{@showData}}\\n    @stat={{if\\n      (gt this.timeSaved 0)\\n      (seconds-formatter this.timeSaved format=\\\"unitless-hours\\\")\\n      0\\n    }}\\n    @title=\\\"Customer hours saved\\\"\\n    @description={{this.customerHoursSavedDescription}}\\n  />\\n\\n  <Reporting::SingleStat\\n    class=\\\"reporting__team-impact__grid-item\\\"\\n    @icon=\\\"clock\\\"\\n    @color=\\\"yellow\\\"\\n    @showData={{@showData}}\\n    @stat={{if\\n      (gt this.augmentsTeam 0)\\n      (seconds-formatter this.augmentsTeam format=\\\"unitless-hours\\\")\\n      0\\n    }}\\n    @title=\\\"Teammate hours saved\\\"\\n    @description=\\\"Based on a one-touch handling time of 12 minutes\\\"\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/reporting/team-impact.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/reporting/team-impact.hbs\"}});\nimport Component from '@glimmer/component';\nimport { formatSeconds } from 'embercom/lib/duration-formatter';\n\nconst INDUSTRY_ONE_TOUCH_RESOLUTION_SECONDS = 720;\n\nexport default class TeamImpact extends Component {\n  get timeSaved() {\n    let conversationSource = this.args.conversationSource;\n    if (conversationSource === 'inbound') {\n      return this.inboundTimeSaved;\n    } else if (conversationSource === 'outbound') {\n      return this.outboundTimeSaved;\n    }\n    return this.totalTimeSaved;\n  }\n\n  get inboundCloseTime() {\n    return this.args.signals?.inboundMedianClosedTimeLastWeek?.originalValue;\n  }\n\n  get outboundCloseTime() {\n    return this.args.signals?.outboundMedianClosedTimeLastWeek?.originalValue;\n  }\n\n  get totalTimeSaved() {\n    return this.inboundTimeSaved + this.outboundTimeSaved;\n  }\n\n  get inboundTimeSaved() {\n    return isNaN(this.inboundCloseTime)\n      ? 0\n      : this.inboundCloseTime * this.args.effectiveInboundAnswerCount;\n  }\n\n  get outboundTimeSaved() {\n    return isNaN(this.outboundCloseTime)\n      ? 0\n      : this.outboundCloseTime * this.args.effectiveOutboundAnswerCount;\n  }\n\n  get customerHoursSavedDescription() {\n    let conversationSource = this.args.conversationSource;\n    let description = 'Based on your team’s current median time to close of ';\n    if (conversationSource === 'inbound') {\n      description += formatSeconds(this.inboundCloseTime, {\n        format: 'single-unit-hours',\n      });\n      description += ' for inbound conversations';\n    } else if (conversationSource === 'outbound') {\n      description += formatSeconds(this.outboundCloseTime, {\n        format: 'single-unit-hours',\n      });\n      description += ' for outbound conversations';\n    } else {\n      description += formatSeconds(this.inboundCloseTime, {\n        format: 'single-unit-hours',\n      });\n      description += ' for inbound conversations and ';\n      description += formatSeconds(this.outboundCloseTime, {\n        format: 'single-unit-hours',\n      });\n      description += ' for outbound conversations';\n    }\n    return description;\n  }\n\n  get augmentsTeam() {\n    return INDUSTRY_ONE_TOUCH_RESOLUTION_SECONDS * this.args.effectiveAnswerCount;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div {{did-update this.loadFirstPage @eventType}}>\\n  {{#if this.conversations}}\\n    <h2 class=\\\"t__h2 u__mr__20\\\">\\n      {{number-formatter-helper this.conversationCount}}\\n      {{inflector-helper this.headerProperties.object this.conversationCount}} {{this.headerProperties.action}}\\n    </h2>\\n    <div class=\\\"h-5\\\"></div>\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n      <div class=\\\"layout__box\\\">\\n        <Conversation::CardListComponent\\n          @app={{this.appService.app}}\\n          @admin={{this.appService.app.currentAdmin}}\\n          @requestPage={{this.loadNextPage}}\\n          @conversations={{this.conversations}}\\n          @viewportSelector=\\\".main__content\\\"\\n        />\\n        <div class=\\\"u__center-layout u__pad__10 {{unless this.loadPage.isRunning \\\"u__invisible\\\"}}\\\">\\n          <IcLoadingIndicator @size=\\\"large\\\" />\\n        </div>\\n      </div>\\n      <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n    </div>\\n  {{else}}\\n    {{#if this.loadPage.isRunning}}\\n      <div class=\\\"u__center-item\\\">\\n        <IcLoadingIndicator @size=\\\"large\\\" />\\n      </div>\\n    {{else}}\\n      <IcEmptyState @icon=\\\"people\\\" @title={{this.emptyStateText}} />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div {{did-update this.loadFirstPage @eventType}}>\\n  {{#if this.conversations}}\\n    <h2 class=\\\"t__h2 u__mr__20\\\">\\n      {{number-formatter-helper this.conversationCount}}\\n      {{inflector-helper this.headerProperties.object this.conversationCount}} {{this.headerProperties.action}}\\n    </h2>\\n    <div class=\\\"h-5\\\"></div>\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n      <div class=\\\"layout__box\\\">\\n        <Conversation::CardListComponent\\n          @app={{this.appService.app}}\\n          @admin={{this.appService.app.currentAdmin}}\\n          @requestPage={{this.loadNextPage}}\\n          @conversations={{this.conversations}}\\n          @viewportSelector=\\\".main__content\\\"\\n        />\\n        <div class=\\\"u__center-layout u__pad__10 {{unless this.loadPage.isRunning \\\"u__invisible\\\"}}\\\">\\n          <IcLoadingIndicator @size=\\\"large\\\" />\\n        </div>\\n      </div>\\n      <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n    </div>\\n  {{else}}\\n    {{#if this.loadPage.isRunning}}\\n      <div class=\\\"u__center-item\\\">\\n        <IcLoadingIndicator @size=\\\"large\\\" />\\n      </div>\\n    {{else}}\\n      <IcEmptyState @icon=\\\"people\\\" @title={{this.emptyStateText}} />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/show/conversation-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/show/conversation-list.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { get } from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\n\nexport default class ConversationList extends Component {\n  @service store;\n  @service appService;\n\n  @tracked pageNumber = 1;\n  @tracked conversations = [];\n  @tracked conversationCount;\n\n  constructor() {\n    super(...arguments);\n\n    this.loadPage.perform();\n  }\n\n  get headerProperties() {\n    switch (this.args.eventType) {\n      case 'answer_sent':\n        return { object: 'conversation', action: 'received this answer' };\n      case 'all_done':\n        return { object: 'conversation', action: 'resolved' };\n      case 'wait_for_the_team':\n        return { object: 'conversation', action: 'routed to team' };\n    }\n  }\n\n  get emptyStateText() {\n    switch (this.args.eventType) {\n      case 'answer_sent':\n        return 'This answer has not been sent yet';\n      case 'all_done':\n        return 'No conversations have been resolved by this answer yet';\n      case 'wait_for_the_team':\n        return 'No conversations have been routed to the team by this answer yet';\n    }\n  }\n\n  @task({ restartable: true })\n  *loadPage() {\n    let response = yield get('/ember/answers/conversations', {\n      app_id: this.appService.app.id,\n      page: this.pageNumber,\n      answer_id: this.args.answerId,\n      event_type: this.args.eventType,\n      per_page: 10,\n    });\n\n    this.store.pushPayload({ conversations: response.conversations });\n    this.conversationCount = response.total_count;\n    this.conversations.pushObjects(\n      response.conversations.map(c => this.store.peekRecord('conversation', c.id)),\n    );\n  }\n\n  @action\n  loadFirstPage() {\n    this.conversations = [];\n    this.pageNumber = 1;\n    this.loadPage.perform();\n  }\n\n  @action\n  loadNextPage() {\n    this.pageNumber++;\n    this.loadPage.perform();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box articles__editor__stats-spacer\\\"></div>\\n{{yield this.changeView this.activeView}}\\n<div class=\\\"layout__box article__editor__stats-spacer o__flexes-to-1\\\"></div>\\n\", {\"contents\":\"<div class=\\\"layout__box articles__editor__stats-spacer\\\"></div>\\n{{yield this.changeView this.activeView}}\\n<div class=\\\"layout__box article__editor__stats-spacer o__flexes-to-1\\\"></div>\\n\",\"moduleName\":\"embercom/components/answers/show/tab-container.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/show/tab-container.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { inject as service } from '@ember/service';\nimport MessageEditorTabContainer from 'embercom/components/message-editor/stats/tab-container';\nimport { computed, action } from '@ember/object';\n\nexport default MessageEditorTabContainer.extend({\n  router: service(),\n  hideComponent: false,\n  activeView: computed('eventType', function() {\n    return this.eventType || 'answer';\n  }),\n\n  changeView: action(function(displaying) {\n    let transitionRoute = this.currentRouteName;\n    if (displaying !== 'answer') {\n      transitionRoute += '.conversations';\n    }\n    this.router.transitionTo(transitionRoute, { queryParams: { eventType: displaying } });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__has-columns o__flexes-to-1 message__editor__stats__tab-container\\\">\\n  {{#each (array\\n    (hash label=\\\"Answer\\\" isPercentageValue=false views=(array \\\"answer\\\") color=\\\"text-gray\\\" icon=\\\"chat-bubble\\\" isClickable=true)\\n    (hash label=\\\"Sent\\\" isPercentageValue=false views=(array \\\"answer_sent\\\") color=\\\"text-blue\\\" isClickable=true statistic=@answer.stats.conversationCount)\\n    (hash label=\\\"Resolved\\\" isPercentageValue=true views=(array \\\"all_done\\\") color=\\\"text-green\\\" isClickable=true statistic=@answer.stats.effectivenessPercentage)\\n    (hash label=\\\"Routed to team\\\" isPercentageValue=true views=(array \\\"wait_for_the_team\\\") color=\\\"text-yellow-dark\\\" isClickable=true statistic=@answer.stats.waitForTeamPercentage)\\n  ) as |tab|}}\\n    <MessageEditor::Buttons::StatsTabButton\\n      @tab={{tab}}\\n      @activeView={{@activeView}}\\n      @changeView={{@changeView}}\\n    />\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__has-columns o__flexes-to-1 message__editor__stats__tab-container\\\">\\n  {{#each (array\\n    (hash label=\\\"Answer\\\" isPercentageValue=false views=(array \\\"answer\\\") color=\\\"text-gray\\\" icon=\\\"chat-bubble\\\" isClickable=true)\\n    (hash label=\\\"Sent\\\" isPercentageValue=false views=(array \\\"answer_sent\\\") color=\\\"text-blue\\\" isClickable=true statistic=@answer.stats.conversationCount)\\n    (hash label=\\\"Resolved\\\" isPercentageValue=true views=(array \\\"all_done\\\") color=\\\"text-green\\\" isClickable=true statistic=@answer.stats.effectivenessPercentage)\\n    (hash label=\\\"Routed to team\\\" isPercentageValue=true views=(array \\\"wait_for_the_team\\\") color=\\\"text-yellow-dark\\\" isClickable=true statistic=@answer.stats.waitForTeamPercentage)\\n  ) as |tab|}}\\n    <MessageEditor::Buttons::StatsTabButton\\n      @tab={{tab}}\\n      @activeView={{@activeView}}\\n      @changeView={{@changeView}}\\n    />\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/show/tabs-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/show/tabs-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row ml-10 mb-8 flex-shrink-0\\\">\\n  <Answers::SuggestedAnswers::ClusterHeader\\n    @onAnimationComplete={{@onAnimationComplete}}\\n    @loadingAnimationIsActive={{@loadingAnimationIsActive}}\\n    @showViewMoreButton={{this.showViewMoreButton}}\\n    @showAllSuggestedAnswers={{this.showAllSuggestedAnswersModal}}\\n  />\\n  <div class=\\\"layout__box u__ml__25 u__mr__20 o__flexes-to-1\\\">\\n    <Answers::SuggestedAnswers::ClusterList\\n      @suggestedAnswerClusters={{this.clustersToPreview}}\\n      @onSelectCluster={{this.onSelectCluster}}\\n      @loadingAnimationIsActive={{@loadingAnimationIsActive}}\\n    />\\n  </div>\\n</div>\\n\\n{{#if this.shouldShowAllSuggestedAnswersModal}}\\n  <Answers::SuggestedAnswers::Modal\\n    @clusters={{@clusters}}\\n    @selectedCluster={{this.selectedCluster}}\\n    @onClose={{this.hideAllSuggestedAnswersModal}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"<div class=\\\"flex flex-row ml-10 mb-8 flex-shrink-0\\\">\\n  <Answers::SuggestedAnswers::ClusterHeader\\n    @onAnimationComplete={{@onAnimationComplete}}\\n    @loadingAnimationIsActive={{@loadingAnimationIsActive}}\\n    @showViewMoreButton={{this.showViewMoreButton}}\\n    @showAllSuggestedAnswers={{this.showAllSuggestedAnswersModal}}\\n  />\\n  <div class=\\\"layout__box u__ml__25 u__mr__20 o__flexes-to-1\\\">\\n    <Answers::SuggestedAnswers::ClusterList\\n      @suggestedAnswerClusters={{this.clustersToPreview}}\\n      @onSelectCluster={{this.onSelectCluster}}\\n      @loadingAnimationIsActive={{@loadingAnimationIsActive}}\\n    />\\n  </div>\\n</div>\\n\\n{{#if this.shouldShowAllSuggestedAnswersModal}}\\n  <Answers::SuggestedAnswers::Modal\\n    @clusters={{@clusters}}\\n    @selectedCluster={{this.selectedCluster}}\\n    @onClose={{this.hideAllSuggestedAnswersModal}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/answers/suggested-answers.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/suggested-answers.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class AnswersSuggestedAnswersComponent extends Component {\n  @tracked shouldShowAllSuggestedAnswersModal = false;\n  @tracked selectedCluster;\n  @service appService;\n  @service router;\n  @service intercomEventService;\n\n  get clustersToPreview() {\n    return this.appService.app.canUseSuggestedAnswers\n      ? this.args.clusters.slice(0, 3)\n      : this.args.clusters;\n  }\n\n  get showViewMoreButton() {\n    return (\n      this.appService.app.canUseSuggestedAnswers &&\n      !this.args.loadingAnimationIsActive &&\n      this.args.clusters.length > 3\n    );\n  }\n\n  @action\n  showAllSuggestedAnswersModal() {\n    this.shouldShowAllSuggestedAnswersModal = true;\n  }\n\n  @action\n  hideAllSuggestedAnswersModal() {\n    this.shouldShowAllSuggestedAnswersModal = false;\n    this.selectedCluster = null;\n  }\n\n  @action\n  onSelectCluster(cluster) {\n    if (this.appService.app.canUseSuggestedAnswers) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: cluster,\n      });\n      this.selectedCluster = cluster;\n      this.showAllSuggestedAnswersModal();\n    } else {\n      this.createAnswerFromCluster(cluster);\n    }\n  }\n\n  createAnswerFromCluster(cluster) {\n    let clusterPosition = this.args.clusters.indexOf(cluster);\n    this.router.transitionTo('apps.app.operator.resolution-bot.answers.new', {\n      queryParams: {\n        suggestionId: cluster.get('id'),\n        clusterPosition,\n      },\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col gap-2 {{if this.showViewMoreButton 'justify-between' 'justify-center'}}\\\">\\n  <Heading @size='3' class=\\\"answers__suggested-answer-cluster__header\\\">\\n    {{#if @loadingAnimationIsActive}}\\n      {{this.animationLoadingText}}<span class=\\\"onboarding__loader__dot\\\">.</span><span class=\\\"onboarding__loader__dot\\\">.</span><span class=\\\"onboarding__loader__dot\\\">.</span>\\n    {{else}}\\n      Write answers for your most common customer questions\\n    {{/if}}\\n  </Heading>\\n\\n  {{#if @showViewMoreButton}}\\n    <div class=\\\"flex flex-row\\\">\\n      <Paywall @featureKey=\\\"answer_workflows\\\" as |paywall|>\\n        <paywall.Hover>\\n          <IcButton\\n            data-test-view-more-clusters-btn={{true}}\\n            @type=\\\"secondary\\\"\\n            @label=\\\"View more\\\"\\n            @processingLabel=\\\"Loading…\\\"\\n            @disabled={{paywall.isActive}}\\n            @onClick={{@showAllSuggestedAnswers}}\\n          />\\n        </paywall.Hover>\\n      </Paywall>\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col gap-2 {{if this.showViewMoreButton 'justify-between' 'justify-center'}}\\\">\\n  <Heading @size='3' class=\\\"answers__suggested-answer-cluster__header\\\">\\n    {{#if @loadingAnimationIsActive}}\\n      {{this.animationLoadingText}}<span class=\\\"onboarding__loader__dot\\\">.</span><span class=\\\"onboarding__loader__dot\\\">.</span><span class=\\\"onboarding__loader__dot\\\">.</span>\\n    {{else}}\\n      Write answers for your most common customer questions\\n    {{/if}}\\n  </Heading>\\n\\n  {{#if @showViewMoreButton}}\\n    <div class=\\\"flex flex-row\\\">\\n      <Paywall @featureKey=\\\"answer_workflows\\\" as |paywall|>\\n        <paywall.Hover>\\n          <IcButton\\n            data-test-view-more-clusters-btn={{true}}\\n            @type=\\\"secondary\\\"\\n            @label=\\\"View more\\\"\\n            @processingLabel=\\\"Loading…\\\"\\n            @disabled={{paywall.isActive}}\\n            @onClick={{@showAllSuggestedAnswers}}\\n          />\\n        </paywall.Hover>\\n      </Paywall>\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/answers/suggested-answers/cluster-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/suggested-answers/cluster-header.hbs\"}});\nimport Component from '@glimmer/component';\nimport ENV from 'embercom/config/environment';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\nimport { timeout } from 'ember-concurrency';\n\nexport default class ClusterHeader extends Component {\n  @tracked animationLoadingText;\n\n  constructor() {\n    super(...arguments);\n\n    if (this.args.loadingAnimationIsActive) {\n      this.renderIntroAnimation.perform();\n    }\n  }\n\n  @task\n  *renderIntroAnimation() {\n    this.animationLoadingText = 'Checking your previous conversations for common questions';\n    yield timeout(ENV.APP._2000MS);\n    this.animationLoadingText = 'Looking for similarities';\n    yield timeout(ENV.APP._2000MS);\n\n    if (this.args.onAnimationComplete) {\n      this.args.onAnimationComplete();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @loadingAnimationIsActive}}\\n  <div class=\\\"layout__box o__has-rows u__mb__30 u__mr__15 u__ml__15\\\">\\n    <div class=\\\"u__relative\\\">\\n      <div class=\\\"layout__box o__has-columns\\\">\\n        <div class=\\\"layout__box o__has-columns o__flexes-to-1\\\">\\n          <a class=\\\"answers__suggested-answer-cluster__container-item layout__box o__has-rows\\\">\\n            <p class=\\\"answers__suggested-answer-cluster__container-text\\\">\\n              {{ghost-text 170}} <br />\\n              {{ghost-text 150}}\\n            </p>\\n          </a>\\n          <a class=\\\"answers__suggested-answer-cluster__container-item layout__box o__has-rows\\\">\\n            <p class=\\\"answers__suggested-answer-cluster__container-text\\\">\\n              {{ghost-text 170}} <br />\\n              {{ghost-text 150}}\\n            </p>\\n          </a>\\n          <a class=\\\"answers__suggested-answer-cluster__container-item layout__box o__has-rows\\\">\\n            <p class=\\\"answers__suggested-answer-cluster__container-text\\\">\\n              {{ghost-text 170}} <br />\\n              {{ghost-text 150}}\\n            </p>\\n          </a>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n{{else if this.clusterGroups}}\\n  <div class=\\\"layout__box o__has-rows answers__suggested-answer-cluster__container\\\">\\n    <div class=\\\"u__relative layout__box o__has-columns\\\">\\n      <div class=\\\"layout__box o__centers-vertically answers__suggested-answer-cluster__next-button-wrapper\\\">\\n        {{#if this.showLeftArrow}}\\n          <div\\n            class=\\\"layout__box o__centers-vertically answers__suggested-answer-cluster__next-button text-gray\\\"\\n            onclick={{perform this.showPreviousGroup}}\\n          >\\n            {{ic-interface-icon \\\"thin-left-arrow\\\" solo=true}}\\n          </div>\\n        {{/if}}\\n      </div>\\n      {{#liquid-bind\\n        this.currentClusterGroup\\n        class=\\\"animate__suggested-answer-clusters-container layout__box o__flexes-to-2\\\" as |clusterGroup|\\n      }}\\n        <div class=\\\"animate__suggested-answers-clusters__gradient answers__suggested-answer-cluster__overlay\\\"></div>\\n        <div class=\\\"layout__box o__has-columns animate__suggested-answer-clusters\\\">\\n          <div class=\\\"layout__box o__flexes-to-1\\\">\\n            <div class=\\\"layout__box o__has-columns\\\">\\n              {{#each clusterGroup as |cluster clusterIndex|}}\\n                <a\\n                  class=\\\"answers__suggested-answer-cluster__container-item layout__box o__has-rows\\\"\\n                  data-test-cluster-list-select-cluster={{concat \\\"group\\\" this.currentGroupIndex \\\"cluster\\\" clusterIndex}}\\n                  {{on \\\"click\\\" (fn @onSelectCluster cluster)}}\\n                >\\n                  <div class=\\\"answers__suggested-answer-cluster__container-text\\\">\\n                    <p class=\\\"answers__suggested-answer-cluster__container-text-inner\\\">\\n                      {{#if this.useNewModel}}\\n                        {{cluster.archetype.text}}\\n                      {{else}}\\n                        {{cluster.archetype}}\\n                      {{/if}}\\n                    </p>\\n                  </div>\\n                  <div class=\\\"answers__suggested-answer-cluster__add-button o__primary layout__box o__centers-horizontally\\\">\\n                    {{#if (and this.useNewModel (not @onEditRoute))}}\\n                      See {{cluster.examples.length}} related {{pluralize cluster.examples.length \\\"example\\\" without-count=true}}\\n                    {{else}}\\n                      Create new answer\\n                    {{/if}}\\n                  </div>\\n                </a>\\n              {{/each}}\\n            </div>\\n          </div>\\n        </div>\\n      {{/liquid-bind}}\\n      <div class=\\\"layout__box o__centers-vertically answers__suggested-answer-cluster__next-button-wrapper\\\">\\n        {{#if this.showRightArrow}}\\n          <div\\n            class=\\\"layout__box o__centers-vertically answers__suggested-answer-cluster__next-button text-gray\\\"\\n            onclick={{perform this.showNextGroup}}\\n          >\\n            {{ic-interface-icon \\\"thin-right-arrow\\\" solo=true}}\\n          </div>\\n        {{/if}}\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if @loadingAnimationIsActive}}\\n  <div class=\\\"layout__box o__has-rows u__mb__30 u__mr__15 u__ml__15\\\">\\n    <div class=\\\"u__relative\\\">\\n      <div class=\\\"layout__box o__has-columns\\\">\\n        <div class=\\\"layout__box o__has-columns o__flexes-to-1\\\">\\n          <a class=\\\"answers__suggested-answer-cluster__container-item layout__box o__has-rows\\\">\\n            <p class=\\\"answers__suggested-answer-cluster__container-text\\\">\\n              {{ghost-text 170}} <br />\\n              {{ghost-text 150}}\\n            </p>\\n          </a>\\n          <a class=\\\"answers__suggested-answer-cluster__container-item layout__box o__has-rows\\\">\\n            <p class=\\\"answers__suggested-answer-cluster__container-text\\\">\\n              {{ghost-text 170}} <br />\\n              {{ghost-text 150}}\\n            </p>\\n          </a>\\n          <a class=\\\"answers__suggested-answer-cluster__container-item layout__box o__has-rows\\\">\\n            <p class=\\\"answers__suggested-answer-cluster__container-text\\\">\\n              {{ghost-text 170}} <br />\\n              {{ghost-text 150}}\\n            </p>\\n          </a>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n{{else if this.clusterGroups}}\\n  <div class=\\\"layout__box o__has-rows answers__suggested-answer-cluster__container\\\">\\n    <div class=\\\"u__relative layout__box o__has-columns\\\">\\n      <div class=\\\"layout__box o__centers-vertically answers__suggested-answer-cluster__next-button-wrapper\\\">\\n        {{#if this.showLeftArrow}}\\n          <div\\n            class=\\\"layout__box o__centers-vertically answers__suggested-answer-cluster__next-button text-gray\\\"\\n            onclick={{perform this.showPreviousGroup}}\\n          >\\n            {{ic-interface-icon \\\"thin-left-arrow\\\" solo=true}}\\n          </div>\\n        {{/if}}\\n      </div>\\n      {{#liquid-bind\\n        this.currentClusterGroup\\n        class=\\\"animate__suggested-answer-clusters-container layout__box o__flexes-to-2\\\" as |clusterGroup|\\n      }}\\n        <div class=\\\"animate__suggested-answers-clusters__gradient answers__suggested-answer-cluster__overlay\\\"></div>\\n        <div class=\\\"layout__box o__has-columns animate__suggested-answer-clusters\\\">\\n          <div class=\\\"layout__box o__flexes-to-1\\\">\\n            <div class=\\\"layout__box o__has-columns\\\">\\n              {{#each clusterGroup as |cluster clusterIndex|}}\\n                <a\\n                  class=\\\"answers__suggested-answer-cluster__container-item layout__box o__has-rows\\\"\\n                  data-test-cluster-list-select-cluster={{concat \\\"group\\\" this.currentGroupIndex \\\"cluster\\\" clusterIndex}}\\n                  {{on \\\"click\\\" (fn @onSelectCluster cluster)}}\\n                >\\n                  <div class=\\\"answers__suggested-answer-cluster__container-text\\\">\\n                    <p class=\\\"answers__suggested-answer-cluster__container-text-inner\\\">\\n                      {{#if this.useNewModel}}\\n                        {{cluster.archetype.text}}\\n                      {{else}}\\n                        {{cluster.archetype}}\\n                      {{/if}}\\n                    </p>\\n                  </div>\\n                  <div class=\\\"answers__suggested-answer-cluster__add-button o__primary layout__box o__centers-horizontally\\\">\\n                    {{#if (and this.useNewModel (not @onEditRoute))}}\\n                      See {{cluster.examples.length}} related {{pluralize cluster.examples.length \\\"example\\\" without-count=true}}\\n                    {{else}}\\n                      Create new answer\\n                    {{/if}}\\n                  </div>\\n                </a>\\n              {{/each}}\\n            </div>\\n          </div>\\n        </div>\\n      {{/liquid-bind}}\\n      <div class=\\\"layout__box o__centers-vertically answers__suggested-answer-cluster__next-button-wrapper\\\">\\n        {{#if this.showRightArrow}}\\n          <div\\n            class=\\\"layout__box o__centers-vertically answers__suggested-answer-cluster__next-button text-gray\\\"\\n            onclick={{perform this.showNextGroup}}\\n          >\\n            {{ic-interface-icon \\\"thin-right-arrow\\\" solo=true}}\\n          </div>\\n        {{/if}}\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/answers/suggested-answers/cluster-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/suggested-answers/cluster-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { A } from '@ember/array';\nimport { computed } from '@ember/object';\nimport { gt, readOnly } from '@ember/object/computed';\nimport { task, taskGroup, timeout } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport { SUGGESTED_ANSWERS_ANIMATION_LENGTH } from 'embercom/transition-maps/answers-transitions';\nimport { isBlank } from '@ember/utils';\n\nconst CLUSTER_GROUP_SIZE = 3;\n\nexport default Component.extend({\n  intercomEventService: service(),\n  appService: service(),\n  useNewModel: readOnly('appService.app.canUseSuggestedAnswers'),\n  clusterGroups: computed('suggestedAnswerClusters', 'languageCode', function() {\n    let clusters = this.suggestedAnswerClusters.filter(\n      answer => isBlank(this.languageCode) || answer.languageAlpha2 === this.languageCode,\n    );\n\n    let clusterGroups = A();\n    for (let i = 0; i < clusters.get('length'); i += CLUSTER_GROUP_SIZE) {\n      let newClusterGroup = A(clusters.slice(i, i + CLUSTER_GROUP_SIZE));\n      clusterGroups.pushObject(newClusterGroup);\n    }\n    return clusterGroups;\n  }),\n  currentGroupIndex: 0,\n  currentClusterGroup: computed('clusterGroups', 'currentGroupIndex', function() {\n    return this.clusterGroups[this.currentGroupIndex];\n  }),\n\n  showLeftArrow: gt('currentGroupIndex', 0),\n  showRightArrow: computed('currentGroupIndex', function() {\n    return this.currentGroupIndex < this.get('clusterGroups.length') - 1;\n  }),\n\n  groupNavigationTasks: taskGroup().drop(),\n\n  _trackScroll(direction) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'scrolled',\n      object: 'common_customer_questions',\n      context: direction,\n    });\n  },\n\n  showPreviousGroup: task(function*() {\n    this._trackScroll('previous');\n    let targetGroupIndex = this.currentGroupIndex - 1;\n    let targetGroup = this.clusterGroups[targetGroupIndex];\n    targetGroup.set('slideDirection', 'previous');\n    this.decrementProperty('currentGroupIndex');\n    yield timeout(SUGGESTED_ANSWERS_ANIMATION_LENGTH);\n  }).group('groupNavigationTasks'),\n\n  showNextGroup: task(function*() {\n    this._trackScroll('next');\n    let targetGroupIndex = this.currentGroupIndex + 1;\n    let targetGroup = this.clusterGroups[targetGroupIndex];\n    targetGroup.set('slideDirection', 'next');\n    this.incrementProperty('currentGroupIndex');\n    yield timeout(SUGGESTED_ANSWERS_ANIMATION_LENGTH);\n  }).group('groupNavigationTasks'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{@onClose}}\\n  @isOpen={{true}}\\n  @width=\\\"xl\\\"\\n  as |modal|\\n>\\n  {{#if this.shouldShowAllClustersView}}\\n    <Answers::SuggestedAnswers::Modal::List\\n      @clusters={{@clusters}}\\n      @showDetailView={{this.showDetailView}}\\n      @modal={{modal}}\\n    />\\n  {{else}}\\n    <Answers::SuggestedAnswers::Modal::Detail\\n      @cluster={{this.cluster}}\\n      @createAnswer={{this.createAnswer}}\\n      @modal={{modal}}\\n      @onNavigationBack={{this.onNavigationBack}}\\n    />\\n  {{/if}}\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{@onClose}}\\n  @isOpen={{true}}\\n  @width=\\\"xl\\\"\\n  as |modal|\\n>\\n  {{#if this.shouldShowAllClustersView}}\\n    <Answers::SuggestedAnswers::Modal::List\\n      @clusters={{@clusters}}\\n      @showDetailView={{this.showDetailView}}\\n      @modal={{modal}}\\n    />\\n  {{else}}\\n    <Answers::SuggestedAnswers::Modal::Detail\\n      @cluster={{this.cluster}}\\n      @createAnswer={{this.createAnswer}}\\n      @modal={{modal}}\\n      @onNavigationBack={{this.onNavigationBack}}\\n    />\\n  {{/if}}\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/answers/suggested-answers/modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/suggested-answers/modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nconst VIEWS = {\n  ALL_CLUSTERS: 0,\n  CLUSTER_DETAIL: 1,\n};\n\nexport default class ClustersModal extends Component {\n  @service appService;\n  @service router;\n  @service intercomEventService;\n  @tracked cluster;\n  @tracked currentView;\n  trackedListView = false;\n\n  constructor() {\n    super(...arguments);\n    if (this.args.selectedCluster) {\n      this.cluster = this.args.selectedCluster;\n      this.currentView = VIEWS['CLUSTER_DETAIL'];\n      this.trackClusterDetailView();\n    } else {\n      this.currentView = VIEWS['ALL_CLUSTERS'];\n      this.trackListView();\n    }\n  }\n\n  get shouldShowAllClustersView() {\n    return this.currentView === VIEWS['ALL_CLUSTERS'];\n  }\n\n  get showBackButton() {\n    return this.currentView !== VIEWS['ALL_CLUSTERS'];\n  }\n\n  trackListView() {\n    if (this.trackedListView) {\n      return;\n    } else {\n      this.trackedListView = true;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: 'suggested_answers_cluster_list',\n    });\n  }\n\n  trackClusterDetailView() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: this.cluster,\n    });\n  }\n\n  @action\n  showDetailView(cluster) {\n    this.cluster = cluster;\n    this.currentView = VIEWS['CLUSTER_DETAIL'];\n    this.trackClusterDetailView();\n  }\n\n  @action\n  onNavigationBack() {\n    this.cluster = null;\n    this.currentView = VIEWS['ALL_CLUSTERS'];\n    this.trackListView();\n  }\n\n  @action createAnswer(selectedExampleIds) {\n    let cluster = this.cluster;\n    this.args.onClose();\n    this.router.transitionTo('apps.app.operator.resolution-bot.answers.new', {\n      queryParams: {\n        language: cluster.languageAlpha2,\n        clusterId: cluster.id,\n        exampleIds: selectedExampleIds.join(','),\n        expandSelectedExamples: true,\n      },\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<@modal.header\\n  @showBackButton={{this.showBackButton}}\\n  @onNavigationBack={{@onNavigationBack}} as |header|>\\n  <header.title>Questions related to \\\"{{@cluster.archetype.text}}\\\"</header.title>\\n  <Text class=\\\"ml-6\\\" @styling='muted'>Select a few closely related examples to use as the starting point for a new answer.</Text>\\n</@modal.header>\\n<@modal.body>\\n  <div class=\\\"flex flex-col answers__clusters__cluster-container\\\" data-test-cluster-details>\\n    <div class=\\\"flex flex-col flex-1 answers__clusters__cluster-examples\\\">\\n      <IcTable\\n        @data={{sort-by 'similarityToArchetype:desc' this.examplesToShow}}\\n        @columns={{array\\n          (hash label=\\\"\\\" valuePath=\\\"id\\\" width=\\\"10px\\\")\\n          (hash label=\\\"Question\\\" valuePath=\\\"text\\\")\\n          (hash label=\\\"\\\" valuePath=\\\"conversationCreatedAt\\\")\\n        }}\\n        @canLoadMore={{this.showLoadMoreButton}}\\n        @onLoadMore={{this.loadMoreExamples}}\\n        as |table|\\n      >\\n        <table.rows as |row|>\\n          <row.cell @valuePath=\\\"id\\\">\\n            <div {{on \\\"click\\\" (fn this.selectExample row.data)}}>\\n              <Form as |form|>\\n                <form.Item as |item| >\\n                  <item.Checkbox @checked={{get this.checkedItems row.data.id}}/>\\n                </form.Item>\\n              </Form>\\n            </div>\\n          </row.cell>\\n\\n          <row.cell @valuePath=\\\"text\\\">\\n            <div {{on \\\"click\\\" (fn this.selectExample row.data)}} data-test-cluster-example={{row.data.id}}>\\n              {{row.data.text}}\\n            </div>\\n          </row.cell>\\n\\n          <row.cell @valuePath=\\\"conversationCreatedAt\\\">\\n            <div {{on \\\"click\\\" (fn this.selectExample row.data)}}>\\n              <Text @styling=\\\"muted\\\">{{full-relative-time-ago-helper row.data.conversationCreatedAt}}</Text>\\n            </div>\\n          </row.cell>\\n        </table.rows>\\n      </IcTable>\\n    </div>\\n  </div>\\n</@modal.body>\\n\\n<@modal.footer>\\n  <div class=\\\"flex flex-row items-center justify-end flex-1 answers__clusters__cluster-action-button-container\\\">\\n    <Text @styling=\\\"muted\\\" class=\\\"mr-6\\\">{{this.selectedExampleCountText}}</Text>\\n    <IcButton\\n      @type=\\\"primary\\\"\\n      @label=\\\"Create answer\\\"\\n      @disabled={{this.createAnswerButtonDisabled}}\\n      onclick={{fn @createAnswer this.selectedExampleIds}}\\n      data-test-create-answer-button\\n    />\\n    <div class=\\\"answers__clusters__cluster-action-button-prompt {{if this.shouldShowCreateAnswerPrompt \\\"o__visible\\\"}}\\\" data-test-create-answer-prompt>\\n      <Text>Nice work! You’re ready to create a new answer using these examples.</Text>\\n    </div>\\n  </div>\\n</@modal.footer>\\n\", {\"contents\":\"<@modal.header\\n  @showBackButton={{this.showBackButton}}\\n  @onNavigationBack={{@onNavigationBack}} as |header|>\\n  <header.title>Questions related to \\\"{{@cluster.archetype.text}}\\\"</header.title>\\n  <Text class=\\\"ml-6\\\" @styling='muted'>Select a few closely related examples to use as the starting point for a new answer.</Text>\\n</@modal.header>\\n<@modal.body>\\n  <div class=\\\"flex flex-col answers__clusters__cluster-container\\\" data-test-cluster-details>\\n    <div class=\\\"flex flex-col flex-1 answers__clusters__cluster-examples\\\">\\n      <IcTable\\n        @data={{sort-by 'similarityToArchetype:desc' this.examplesToShow}}\\n        @columns={{array\\n          (hash label=\\\"\\\" valuePath=\\\"id\\\" width=\\\"10px\\\")\\n          (hash label=\\\"Question\\\" valuePath=\\\"text\\\")\\n          (hash label=\\\"\\\" valuePath=\\\"conversationCreatedAt\\\")\\n        }}\\n        @canLoadMore={{this.showLoadMoreButton}}\\n        @onLoadMore={{this.loadMoreExamples}}\\n        as |table|\\n      >\\n        <table.rows as |row|>\\n          <row.cell @valuePath=\\\"id\\\">\\n            <div {{on \\\"click\\\" (fn this.selectExample row.data)}}>\\n              <Form as |form|>\\n                <form.Item as |item| >\\n                  <item.Checkbox @checked={{get this.checkedItems row.data.id}}/>\\n                </form.Item>\\n              </Form>\\n            </div>\\n          </row.cell>\\n\\n          <row.cell @valuePath=\\\"text\\\">\\n            <div {{on \\\"click\\\" (fn this.selectExample row.data)}} data-test-cluster-example={{row.data.id}}>\\n              {{row.data.text}}\\n            </div>\\n          </row.cell>\\n\\n          <row.cell @valuePath=\\\"conversationCreatedAt\\\">\\n            <div {{on \\\"click\\\" (fn this.selectExample row.data)}}>\\n              <Text @styling=\\\"muted\\\">{{full-relative-time-ago-helper row.data.conversationCreatedAt}}</Text>\\n            </div>\\n          </row.cell>\\n        </table.rows>\\n      </IcTable>\\n    </div>\\n  </div>\\n</@modal.body>\\n\\n<@modal.footer>\\n  <div class=\\\"flex flex-row items-center justify-end flex-1 answers__clusters__cluster-action-button-container\\\">\\n    <Text @styling=\\\"muted\\\" class=\\\"mr-6\\\">{{this.selectedExampleCountText}}</Text>\\n    <IcButton\\n      @type=\\\"primary\\\"\\n      @label=\\\"Create answer\\\"\\n      @disabled={{this.createAnswerButtonDisabled}}\\n      onclick={{fn @createAnswer this.selectedExampleIds}}\\n      data-test-create-answer-button\\n    />\\n    <div class=\\\"answers__clusters__cluster-action-button-prompt {{if this.shouldShowCreateAnswerPrompt \\\"o__visible\\\"}}\\\" data-test-create-answer-prompt>\\n      <Text>Nice work! You’re ready to create a new answer using these examples.</Text>\\n    </div>\\n  </div>\\n</@modal.footer>\\n\",\"moduleName\":\"embercom/components/answers/suggested-answers/modal/detail.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/suggested-answers/modal/detail.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { pluralize } from 'ember-inflector';\nimport { inject as service } from '@ember/service';\n\nexport default class ClusterDetailModal extends Component {\n  @tracked checkedItems = {};\n  @tracked pageNumber = 1;\n  @service appService;\n\n  get showBackButton() {\n    return this.appService.app.hasAnswerBot;\n  }\n\n  get examplesToShow() {\n    return this.args.cluster.examples.slice(0, this.pageNumber * 8);\n  }\n\n  get selectedExampleIds() {\n    return Object.keys(this.checkedItems);\n  }\n\n  get selectedExampleCountText() {\n    return `${pluralize(this.selectedExamplesCount(), 'example')} selected`;\n  }\n\n  get shouldShowCreateAnswerPrompt() {\n    return this.selectedExamplesCount() >= 3;\n  }\n\n  get createAnswerButtonDisabled() {\n    return this.selectedExamplesCount() === 0;\n  }\n\n  get showLoadMoreButton() {\n    return this.examplesToShow.length < this.args.cluster.examples.length;\n  }\n\n  @action\n  selectExample(example) {\n    let newCheckedItems = Object.assign({}, this.checkedItems);\n    newCheckedItems[example.id] = !this.checkedItems[example.id];\n    this.checkedItems = newCheckedItems;\n  }\n\n  @action\n  loadMoreExamples() {\n    this.pageNumber += 1;\n  }\n\n  selectedExamplesCount() {\n    return Object.keys(this.checkedItems).reject(exampleId => !this.checkedItems[exampleId]).length;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<@modal.header as |header|>\\n  <header.title>Help Resolution Bot answer these questions</header.title>\\n  <div class=\\\"flex flex-row items-center\\\">\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <Text @styling='muted'>We’ve pulled a sample of recent questions the bot hasn’t been trained to answer yet. Select a group to review related examples.</Text>\\n    </div>\\n    <Answers::AnswerLanguageSelect\\n      @onSelectItem={{this.filterByLanguage}}\\n      @selectedValue={{this.languageCode}}\\n    />\\n  </div>\\n</@modal.header>\\n<@modal.body>\\n  {{#if (eq this.clustersToDisplay.length 0)}}\\n    <IcEmptyState\\n      data-test-empty-suggestions=\\\"true\\\"\\n      @title=\\\"There are no recent questions yet\\\"\\n      @icon=\\\"conversation\\\" />\\n  {{else}}\\n    <IcTable\\n      @data={{this.clustersToDisplay}}\\n      @minWidth=\\\"500px\\\"\\n      @columns={{array\\n        (hash label=\\\"Groups of recent questions\\\" valuePath=\\\"archetype.text\\\" width=\\\"90%\\\")\\n        (hash label=\\\"Language\\\" valuePath=\\\"languageAlpha2\\\")\\n      }} as |table| >\\n      <table.rows as |row|>\\n        <row.cell @valuePath=\\\"archetype.text\\\">\\n          <Text\\n            data-test-example-row=\\\"{{row.data.id}}\\\"\\n            @linkStyling=\\\"subtle\\\"\\n            @styling='strong'\\n            onclick={{fn @showDetailView row.data}}>\\n            {{row.data.archetype.text}}\\n          </Text>\\n          <Text @styling='small'>+{{row.data.examples.length}} related questions</Text>\\n        </row.cell>\\n        <row.cell @valuePath=\\\"languageAlpha2\\\">{{capitalize row.data.languageAlpha2}}</row.cell>\\n      </table.rows>\\n    </IcTable>\\n  {{/if}}\\n</@modal.body>\\n\\n\\n\\n\", {\"contents\":\"<@modal.header as |header|>\\n  <header.title>Help Resolution Bot answer these questions</header.title>\\n  <div class=\\\"flex flex-row items-center\\\">\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <Text @styling='muted'>We’ve pulled a sample of recent questions the bot hasn’t been trained to answer yet. Select a group to review related examples.</Text>\\n    </div>\\n    <Answers::AnswerLanguageSelect\\n      @onSelectItem={{this.filterByLanguage}}\\n      @selectedValue={{this.languageCode}}\\n    />\\n  </div>\\n</@modal.header>\\n<@modal.body>\\n  {{#if (eq this.clustersToDisplay.length 0)}}\\n    <IcEmptyState\\n      data-test-empty-suggestions=\\\"true\\\"\\n      @title=\\\"There are no recent questions yet\\\"\\n      @icon=\\\"conversation\\\" />\\n  {{else}}\\n    <IcTable\\n      @data={{this.clustersToDisplay}}\\n      @minWidth=\\\"500px\\\"\\n      @columns={{array\\n        (hash label=\\\"Groups of recent questions\\\" valuePath=\\\"archetype.text\\\" width=\\\"90%\\\")\\n        (hash label=\\\"Language\\\" valuePath=\\\"languageAlpha2\\\")\\n      }} as |table| >\\n      <table.rows as |row|>\\n        <row.cell @valuePath=\\\"archetype.text\\\">\\n          <Text\\n            data-test-example-row=\\\"{{row.data.id}}\\\"\\n            @linkStyling=\\\"subtle\\\"\\n            @styling='strong'\\n            onclick={{fn @showDetailView row.data}}>\\n            {{row.data.archetype.text}}\\n          </Text>\\n          <Text @styling='small'>+{{row.data.examples.length}} related questions</Text>\\n        </row.cell>\\n        <row.cell @valuePath=\\\"languageAlpha2\\\">{{capitalize row.data.languageAlpha2}}</row.cell>\\n      </table.rows>\\n    </IcTable>\\n  {{/if}}\\n</@modal.body>\\n\\n\\n\\n\",\"moduleName\":\"embercom/components/answers/suggested-answers/modal/list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/answers/suggested-answers/modal/list.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\n\nexport default class ClusterList extends Component {\n  @tracked languageCode = null;\n  @tracked clustersToDisplay;\n\n  constructor() {\n    super(...arguments);\n    this.clustersToDisplay = this.args.clusters;\n  }\n\n  @action\n  filterByLanguage(languageCode) {\n    this.languageCode = languageCode;\n\n    if (this.languageCode) {\n      this.clustersToDisplay = this.args.clusters.filter(\n        cluster => cluster.languageAlpha2 === this.languageCode,\n      );\n    } else {\n      this.clustersToDisplay = this.args.clusters;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n<div data-test-apns-file-component></div>\\n<Paragraph>\\n  To send push notifications through Intercom, add the Apple team ID and .p8 file\\n</Paragraph>\\n<Form @onSubmit={{action this.onSave}} as |form|>\\n  <form.Item @label={{if @editMode \\\"\\\" \\\"APNs auth key\\\"}} as |item|>\\n    {{#if @editMode}}\\n      <item.Input\\n        @type=\\\"file\\\"\\n        data-apns-token-file-input={{true}}\\n        class=\\\"hidden\\\"\\n        {{on \\\"change\\\" this.uploadFile}}\\n      />\\n      {{#if this.sdkApp.apnsTokenFileName}}\\n        {{this.sdkApp.apnsTokenFileName}} <Text @linkStyling=\\\"standalone\\\" style=\\\"display: inline\\\" {{on \\\"click\\\" this.triggerTokenFileUpload}}>Change file</Text>\\n      {{else}}\\n        <IcButton\\n          @label=\\\"Upload APNS auth key\\\"\\n          @type=\\\"secondary\\\"\\n          @icon=\\\"cloud-upload\\\"\\n          {{on \\\"click\\\" this.triggerTokenFileUpload}}\\n        />\\n      {{/if}}\\n    {{else}}\\n      <Text data-apns-token-filename={{true}}>{{this.sdkApp.apnsTokenFileName}}</Text>\\n    {{/if}}\\n  </form.Item>\\n\\n  {{#if this.sdkApp.apnsTokenFileName}}\\n    <form.Item @label=\\\"Key ID\\\" as |item|>\\n      {{#if @editMode}}\\n        <item.Input data-apns-token-key-id-input={{true}} @placeholder=\\\"Key ID\\\" @value={{this.sdkApp.apnsKeyId}} />\\n      {{else}}\\n        <Text data-apns-token-key-id={{true}}>{{this.sdkApp.apnsKeyId}}</Text>\\n      {{/if}}\\n    </form.Item>\\n\\n    <form.Item @label=\\\"Bundle ID\\\" as |item|>\\n      {{#if @editMode}}\\n        <item.Input data-apns-token-bundle-id-input={{true}} @placeholder=\\\"Bundle ID\\\" @value={{this.sdkApp.iosBundleId}} />\\n      {{else}}\\n        <Text data-apns-token-bundle-id={{true}}>{{this.sdkApp.iosBundleId}}</Text>\\n      {{/if}}\\n    </form.Item>\\n  {{/if}}\\n\\n  <form.Item @label=\\\"Apple team ID\\\" as |item|>\\n    {{#if @editMode}}\\n      <item.Input data-apns-token-team-id-input={{true}} @placeholder=\\\"Apple team ID\\\" @value={{this.sdkApp.apnsTeamId}} />\\n    {{else}}\\n      <Text data-apns-token-team-id={{true}}>{{this.sdkApp.apnsTeamId}}</Text>\\n    {{/if}}\\n  </form.Item>\\n\\n  {{#if @editMode}}\\n    <IcButtonList as |list|>\\n      <form.Submit\\n        @label=\\\"Save\\\"\\n        data-test-save-token-form-button\\n        @processingLabel=\\\"Saving…\\\"\\n        @disabled={{this.isSaveButtonDisabled}}\\n      />\\n      <list.button @label=\\\"Cancel\\\" data-test-cancel-token-form-button @type=\\\"secondary-destructive\\\" @onClick={{@onCancel}} />\\n    </IcButtonList>\\n  {{else}}\\n    <IcButtonList as |list|>\\n      <list.button @label=\\\"Edit\\\"\\n        data-test-edit-token-form-button\\n        @type=\\\"secondary\\\"\\n        @onClick={{@enableEditMode}}\\n      />\\n      <list.button @label=\\\"Delete APNs auth key\\\" data-test-delete-token-form-button  @onClick={{@deleteApnsToken}} @type=\\\"secondary-destructive\\\" />\\n    </IcButtonList>\\n  {{/if}}\\n</Form>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n<div data-test-apns-file-component></div>\\n<Paragraph>\\n  To send push notifications through Intercom, add the Apple team ID and .p8 file\\n</Paragraph>\\n<Form @onSubmit={{action this.onSave}} as |form|>\\n  <form.Item @label={{if @editMode \\\"\\\" \\\"APNs auth key\\\"}} as |item|>\\n    {{#if @editMode}}\\n      <item.Input\\n        @type=\\\"file\\\"\\n        data-apns-token-file-input={{true}}\\n        class=\\\"hidden\\\"\\n        {{on \\\"change\\\" this.uploadFile}}\\n      />\\n      {{#if this.sdkApp.apnsTokenFileName}}\\n        {{this.sdkApp.apnsTokenFileName}} <Text @linkStyling=\\\"standalone\\\" style=\\\"display: inline\\\" {{on \\\"click\\\" this.triggerTokenFileUpload}}>Change file</Text>\\n      {{else}}\\n        <IcButton\\n          @label=\\\"Upload APNS auth key\\\"\\n          @type=\\\"secondary\\\"\\n          @icon=\\\"cloud-upload\\\"\\n          {{on \\\"click\\\" this.triggerTokenFileUpload}}\\n        />\\n      {{/if}}\\n    {{else}}\\n      <Text data-apns-token-filename={{true}}>{{this.sdkApp.apnsTokenFileName}}</Text>\\n    {{/if}}\\n  </form.Item>\\n\\n  {{#if this.sdkApp.apnsTokenFileName}}\\n    <form.Item @label=\\\"Key ID\\\" as |item|>\\n      {{#if @editMode}}\\n        <item.Input data-apns-token-key-id-input={{true}} @placeholder=\\\"Key ID\\\" @value={{this.sdkApp.apnsKeyId}} />\\n      {{else}}\\n        <Text data-apns-token-key-id={{true}}>{{this.sdkApp.apnsKeyId}}</Text>\\n      {{/if}}\\n    </form.Item>\\n\\n    <form.Item @label=\\\"Bundle ID\\\" as |item|>\\n      {{#if @editMode}}\\n        <item.Input data-apns-token-bundle-id-input={{true}} @placeholder=\\\"Bundle ID\\\" @value={{this.sdkApp.iosBundleId}} />\\n      {{else}}\\n        <Text data-apns-token-bundle-id={{true}}>{{this.sdkApp.iosBundleId}}</Text>\\n      {{/if}}\\n    </form.Item>\\n  {{/if}}\\n\\n  <form.Item @label=\\\"Apple team ID\\\" as |item|>\\n    {{#if @editMode}}\\n      <item.Input data-apns-token-team-id-input={{true}} @placeholder=\\\"Apple team ID\\\" @value={{this.sdkApp.apnsTeamId}} />\\n    {{else}}\\n      <Text data-apns-token-team-id={{true}}>{{this.sdkApp.apnsTeamId}}</Text>\\n    {{/if}}\\n  </form.Item>\\n\\n  {{#if @editMode}}\\n    <IcButtonList as |list|>\\n      <form.Submit\\n        @label=\\\"Save\\\"\\n        data-test-save-token-form-button\\n        @processingLabel=\\\"Saving…\\\"\\n        @disabled={{this.isSaveButtonDisabled}}\\n      />\\n      <list.button @label=\\\"Cancel\\\" data-test-cancel-token-form-button @type=\\\"secondary-destructive\\\" @onClick={{@onCancel}} />\\n    </IcButtonList>\\n  {{else}}\\n    <IcButtonList as |list|>\\n      <list.button @label=\\\"Edit\\\"\\n        data-test-edit-token-form-button\\n        @type=\\\"secondary\\\"\\n        @onClick={{@enableEditMode}}\\n      />\\n      <list.button @label=\\\"Delete APNs auth key\\\" data-test-delete-token-form-button  @onClick={{@deleteApnsToken}} @type=\\\"secondary-destructive\\\" />\\n    </IcButtonList>\\n  {{/if}}\\n</Form>\\n\",\"moduleName\":\"embercom/components/apns-token-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/apns-token-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\n\nexport default class ApnsTokenComponent extends Component {\n  @tracked sdkApp = this.args.sdkApp || {};\n\n  @service notificationsService;\n\n  get isSaveButtonDisabled() {\n    return (\n      !this.sdkApp.hasDirtyAttributes ||\n      !this.sdkApp.apnsTokenFileName ||\n      !this.sdkApp.apnsKeyId ||\n      !this.sdkApp.iosBundleId ||\n      !this.sdkApp.apnsTeamId\n    );\n  }\n\n  @action\n  triggerTokenFileUpload() {\n    let fileInput = document.querySelector('[data-apns-token-file-input]');\n    fileInput.click();\n  }\n\n  @action\n  onSave() {\n    this.args.sdkApp.set('apnsKeyId', this.sdkApp.apnsKeyId);\n    this.args.sdkApp.set('iosBundleId', this.sdkApp.iosBundleId);\n    this.args.sdkApp.set('apnsTeamId', this.sdkApp.apnsTeamId);\n    this.args.sdkApp.set('apnsTeamId', this.sdkApp.apnsTeamId);\n    this.args.onSave();\n  }\n\n  @action\n  uploadFile(e) {\n    let file = e.target.files[0];\n    this.args.sdkApp.set('apnsTokenFile', file);\n    this.args.sdkApp.set('apnsTokenFileName', file.name);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div data-test-apns-or-pem-file-component></div>\\n<Heading @size='2'>\\n  Enable Push Notifications\\n</Heading>\\n{{#if (or this.shouldShowForm this.deleteApnsToken.isRunning)}}\\n  <ApnsTokenComponent\\n    @sdkApp={{this.sdkApp}}\\n    @editMode={{this.editMode}}\\n    @disableEditMode={{action (mut this.editMode) false}}\\n    @enableEditMode={{action this.enableEditMode}}\\n    @deleteApnsToken={{perform this.deleteApnsToken}}\\n    @onSave={{perform this.save}}\\n    @onCancel={{action this.onCancel}}\\n  />\\n{{else}}\\n  <Paragraph>\\n    To send push notifications through Intercom, add the Apple team ID and .p8 file\\n  </Paragraph>\\n  <IcButton\\n    @type=\\\"secondary\\\"\\n    @label=\\\"Enable Push Notifications (APNs)\\\"\\n    data-test-enable-apns-based-push-notifications-button\\n    @onClick={{perform this.openConfirmationModal}}\\n  />\\n  {{#if this.sdkApp.hasCertificate}}\\n    <IcCard>\\n      <IcContent>\\n        <PemFileComponent @sdkApp={{this.sdkApp}} />\\n      </IcContent>\\n    </IcCard>\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div data-test-apns-or-pem-file-component></div>\\n<Heading @size='2'>\\n  Enable Push Notifications\\n</Heading>\\n{{#if (or this.shouldShowForm this.deleteApnsToken.isRunning)}}\\n  <ApnsTokenComponent\\n    @sdkApp={{this.sdkApp}}\\n    @editMode={{this.editMode}}\\n    @disableEditMode={{action (mut this.editMode) false}}\\n    @enableEditMode={{action this.enableEditMode}}\\n    @deleteApnsToken={{perform this.deleteApnsToken}}\\n    @onSave={{perform this.save}}\\n    @onCancel={{action this.onCancel}}\\n  />\\n{{else}}\\n  <Paragraph>\\n    To send push notifications through Intercom, add the Apple team ID and .p8 file\\n  </Paragraph>\\n  <IcButton\\n    @type=\\\"secondary\\\"\\n    @label=\\\"Enable Push Notifications (APNs)\\\"\\n    data-test-enable-apns-based-push-notifications-button\\n    @onClick={{perform this.openConfirmationModal}}\\n  />\\n  {{#if this.sdkApp.hasCertificate}}\\n    <IcCard>\\n      <IcContent>\\n        <PemFileComponent @sdkApp={{this.sdkApp}} />\\n      </IcContent>\\n    </IcCard>\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/apns-token-or-pem-file-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/apns-token-or-pem-file-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\nimport { intercomPromiseConfirm } from 'embercom/lib/intercom-confirm';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class ApnsTokenOrPemFileComponent extends Component {\n  'data-test-test' = true;\n  @tracked sdkApp = this.args.sdkApp || {};\n  @tracked editMode = false;\n  @tracked certificateAskedToDelete = false;\n\n  @service notificationsService;\n\n  get shouldShowForm() {\n    return this.editMode || this.sdkApp.hasApnsToken;\n  }\n\n  @action\n  enableEditMode() {\n    this.editMode = true;\n  }\n\n  @action\n  onCancel() {\n    this.editMode = false;\n    this.args.sdkApp.rollbackAttributes();\n  }\n\n  @task\n  *deleteApnsToken() {\n    this.args.sdkApp.set('hasApnsToken', false);\n    try {\n      yield this.sdkApp.save();\n      this.args.sdkApp.set('apnsTokenFile', null);\n      this.args.sdkApp.set('apnsTokenFileName', null);\n      this.args.sdkApp.set('apnsKeyId', null);\n      this.args.sdkApp.set('apnsTeamId', null);\n      this.editMode = false;\n      this.notificationsService.notifyConfirmation('Your token has been successfully uploaded.');\n    } catch (e) {\n      if (e.jqXHR) {\n        this.notificationsService.notifyError(e.jqXHR.responseJSON.errors);\n      }\n    }\n  }\n\n  @task\n  *openConfirmationModal() {\n    let confirmation = true;\n    if (this.sdkApp.hasCertificate) {\n      let options = {\n        body: `Are you sure you want to delete your certificate?`,\n        confirmButtonText: 'Delete',\n      };\n\n      confirmation = yield intercomPromiseConfirm(this, options);\n    }\n    this.editMode = confirmation;\n    this.args.sdkApp.set('hasCertificate', !confirmation);\n  }\n\n  @task\n  *save() {\n    if (!this.editMode) {\n      return;\n    }\n    this.args.sdkApp.set('hasApnsToken', true);\n\n    try {\n      yield this.sdkApp.save();\n      this.editMode = false;\n      this.notificationsService.notifyConfirmation('Your token has been successfully uploaded.');\n    } catch (e) {\n      if (e.jqXHR) {\n        this.notificationsService.notifyError(e.jqXHR.responseJSON.errors);\n      }\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport DidChangeAttrs from 'ember-did-change-attrs';\nimport { CanvasView } from '@intercom/interblocks.ts';\nimport safeWindowOpen from '../../lib/safe-window-open';\nimport { inject as service } from '@ember/service';\nimport { RETRIES, ERROR_COMPONENT } from 'embercom/models/app-framework/canvas';\nimport ajax from 'embercom/lib/ajax';\nimport { run } from '@ember/runloop';\nimport $ from 'jquery';\nimport Model from '@ember-data/model';\n\nexport default Component.extend(DidChangeAttrs, {\n  canvasView: null,\n  appService: service(),\n  classNames: [\n    'conversation__messenger-card app-framework__messenger-apps__inserter__panel__messenger-card',\n  ],\n  classNameBindings: [\n    'stylePrefix',\n    'onSubmitAction:o__interactive',\n    'isLoading:o__loading',\n    'isBorderless:o__borderless',\n  ],\n  styleContext: 'messenger-apps',\n  stylePrefix: computed('styleContext', function() {\n    if (this.styleContext === 'inbox-apps') {\n      return 'intercom-interblocks-inbox-card';\n    }\n\n    return 'intercom-interblocks-messenger-card';\n  }),\n  isBorderless: false,\n  disableInputs: false,\n  autoFocus: false,\n  confineDropdownToCanvas: true,\n  defaultUrlAction: safeWindowOpen.bind(this),\n\n  didChangeAttrsConfig: {\n    attrs: ['canvas', 'canvas.content'],\n  },\n\n  didChangeAttrs() {\n    this.renderCanvas();\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    if (this.canvas) {\n      this.renderCanvas();\n    }\n  },\n\n  initCanvasView() {\n    let context = {\n      conversationId: this.conversationId,\n      location: this.location,\n    };\n    let urlAction = this.onUrlAction ? this.onUrlAction : this.defaultUrlAction;\n    let canvasView = new CanvasView(\n      this.element,\n      this.getCanvasNetworkingClient(context),\n      urlAction,\n      this.onSubmitAction,\n      this.autoFocus,\n      this.confineDropdownToCanvas,\n    );\n    this.set('canvasView', canvasView);\n  },\n\n  renderCanvas() {\n    let canvas = this.canvas;\n    if (this.canvas instanceof Model) {\n      canvas = canvas.serialize();\n    }\n    let disableInputs = this.disableInputs;\n    if (disableInputs && canvas.content && canvas.content.components) {\n      canvas.content.components = this.addDisabledAttributeToInputs(canvas.content.components);\n    }\n    if (!this.canvasView) {\n      this.initCanvasView();\n    }\n    this.canvasView.render(canvas);\n  },\n\n  addDisabledAttributeToInputs(components) {\n    return components.map(component => {\n      if (component.type === 'input') {\n        component.disabled = true;\n      }\n      return component;\n    });\n  },\n\n  willDestroyElement() {\n    this._super(...arguments);\n    if (this.canvasView) {\n      this.canvasView.destroy();\n    }\n  },\n\n  async fetchContentWithRetry(retries, context) {\n    let result;\n    let appId = this.appService.app.id;\n    let contextQueryParamString = this.buildQueryParamString(context);\n\n    try {\n      result = await ajax({\n        type: 'GET',\n        url: `/ember/messenger_cards/content/${this.canvas.id}.json?app_id=${appId}${contextQueryParamString}`,\n      });\n    } catch (err) {\n      if (retries) {\n        return this.fetchContentWithRetry(--retries, context);\n      }\n      console.error(`card with ${this.canvas.id} id failed to load, error:`, err);\n      result = {\n        content: {\n          version: '0.1',\n          components: [ERROR_COMPONENT],\n        },\n      };\n    }\n\n    if (!this.isDestroying) {\n      run(() => this.set('content', result.content));\n    }\n    return result.content;\n  },\n\n  buildQueryParamString(context) {\n    let contextQueryParamString = '';\n    if (context.conversationId) {\n      contextQueryParamString += `&conversation_id=${context.conversationId}`;\n    }\n    if (context.location) {\n      contextQueryParamString += `&location=${context.location}`;\n    }\n    return contextQueryParamString;\n  },\n\n  getCanvasNetworkingClient(context) {\n    return {\n      get: (url, done) => {\n        this.fetchContentWithRetry(RETRIES, context).then(done);\n      },\n      post(url, done) {\n        $.post(`/ember/${url}`).done(done);\n      },\n    };\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showLoadingIndicator}}\\n  <div\\n    class=\\\"u__center-layout app-framework__inbox-apps__frame__loading\\\"\\n    data-test-frame-loading-screen\\n  >\\n    <div class=\\\"u__center-item\\\">\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    </div>\\n  </div>\\n{{else if currentCanvasState.isError}}\\n  <div\\n    class=\\\"app-framework__inbox-apps__frame__error\\\"\\n    data-test-frame-error-screen\\n  >\\n    <div\\n      class=\\\"u__mb__10 u__mt__10 t__h4 u__centered-text-block text-gray\\\"\\n    >\\n      Something went wrong\\n    </div>\\n    {{#if supportUrl}}\\n      {{! prettier-ignore }}\\n      <div class=\\\"text-gray u__mb__10 u__centered-text-block\\\">\\n        If this problem persists, try <a data-test-contact-developer target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" href={{supportUrl}}> contacting the developer</a> of this app for help and support\\n      </div>\\n    {{else}}\\n      <div class=\\\"text-gray u__mb__10 u__centered-text-block\\\">\\n        If this problem persists, try contacting the developer of this app for help and support\\n      </div>\\n    {{/if}}\\n    <div class=\\\"u__centered-text-block\\\">\\n      <IcButton\\n        data-test-try-again-button\\n        @label=\\\"Try again\\\"\\n        @type=\\\"secondary\\\"\\n        @subtle={{true}}\\n        @onClick={{perform initializeApp user}}\\n        @disabled={{false}}\\n      />\\n    </div>\\n  </div>\\n{{else}}\\n  <LiquidSpacer\\n    @growDuration={{250}}\\n    @growWidth={{false}}\\n  >\\n    <AppFramework::Canvas\\n      data-test-canvas\\n      @canvas={{currentCanvasState.canvas}}\\n      @onUrlAction={{perform urlAction}}\\n      @onSubmitAction={{perform submitApp}}\\n      @styleContext=\\\"inbox-apps\\\"\\n      @isLoading={{currentCanvasState.isLoading}}\\n      @autoFocus={{false}}\\n      @confineDropdownToCanvas={{false}}\\n    />\\n  </LiquidSpacer>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showLoadingIndicator}}\\n  <div\\n    class=\\\"u__center-layout app-framework__inbox-apps__frame__loading\\\"\\n    data-test-frame-loading-screen\\n  >\\n    <div class=\\\"u__center-item\\\">\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    </div>\\n  </div>\\n{{else if currentCanvasState.isError}}\\n  <div\\n    class=\\\"app-framework__inbox-apps__frame__error\\\"\\n    data-test-frame-error-screen\\n  >\\n    <div\\n      class=\\\"u__mb__10 u__mt__10 t__h4 u__centered-text-block text-gray\\\"\\n    >\\n      Something went wrong\\n    </div>\\n    {{#if supportUrl}}\\n      {{! prettier-ignore }}\\n      <div class=\\\"text-gray u__mb__10 u__centered-text-block\\\">\\n        If this problem persists, try <a data-test-contact-developer target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" href={{supportUrl}}> contacting the developer</a> of this app for help and support\\n      </div>\\n    {{else}}\\n      <div class=\\\"text-gray u__mb__10 u__centered-text-block\\\">\\n        If this problem persists, try contacting the developer of this app for help and support\\n      </div>\\n    {{/if}}\\n    <div class=\\\"u__centered-text-block\\\">\\n      <IcButton\\n        data-test-try-again-button\\n        @label=\\\"Try again\\\"\\n        @type=\\\"secondary\\\"\\n        @subtle={{true}}\\n        @onClick={{perform initializeApp user}}\\n        @disabled={{false}}\\n      />\\n    </div>\\n  </div>\\n{{else}}\\n  <LiquidSpacer\\n    @growDuration={{250}}\\n    @growWidth={{false}}\\n  >\\n    <AppFramework::Canvas\\n      data-test-canvas\\n      @canvas={{currentCanvasState.canvas}}\\n      @onUrlAction={{perform urlAction}}\\n      @onSubmitAction={{perform submitApp}}\\n      @styleContext=\\\"inbox-apps\\\"\\n      @isLoading={{currentCanvasState.isLoading}}\\n      @autoFocus={{false}}\\n      @confineDropdownToCanvas={{false}}\\n    />\\n  </LiquidSpacer>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/app-framework/inbox-apps/frame.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/app-framework/inbox-apps/frame.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport $ from 'jquery';\nimport Component from '@ember/component';\nimport { debounceTask, runDisposables } from 'ember-lifeline';\nimport EmberObject, { computed } from '@ember/object';\nimport { equal, readOnly, empty, or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport DidChangeAttrs from 'ember-did-change-attrs';\nimport { task } from 'ember-concurrency';\nimport ajax from 'embercom/lib/ajax';\nimport { Promise as EmberPromise } from 'rsvp';\nimport ENV from 'embercom/config/environment';\nimport safeWindowOpen from '../../../lib/safe-window-open';\n\nconst DEBOUNCE_DURATION = 1000;\nconst FADE_DURATION = ENV.environment !== 'test' ? 250 : 0;\n\nconst MAX_PARTICIPANT_EAGER_INITIALIZE = 5;\n\nconst CANVAS_STATE_INITIALIZING = 'initializing';\nconst CANVAS_STATE_LOADING = 'loading';\nconst CANVAS_STATE_SUCCESSFUL = 'successful';\nconst CANVAS_STATE_ERROR = 'error';\n\nconst CanvasState = EmberObject.extend({\n  state: CANVAS_STATE_INITIALIZING,\n  canvas: null,\n\n  isInitializing: equal('state', CANVAS_STATE_INITIALIZING),\n  isLoading: equal('state', CANVAS_STATE_LOADING),\n  isError: equal('state', CANVAS_STATE_ERROR),\n});\n\nexport default Component.extend(DidChangeAttrs, {\n  store: service(),\n  appService: service(),\n  intercomEventService: service(),\n  app: readOnly('appService.app'),\n  messengerAppInsertionService: service(),\n\n  canvasesByUser: null,\n  supportUrl: null,\n\n  currentCanvasState: computed('user.id', 'canvasesByUser', function() {\n    return this.canvasesByUser[this.user.id];\n  }),\n\n  currentCanvasStateEmpty: empty('currentCanvasState'),\n  showLoadingIndicator: or('currentCanvasState.isInitializing', 'currentCanvasStateEmpty'),\n\n  init() {\n    this._super(...arguments);\n    this.set('canvasesByUser', {});\n\n    let participants = this.participantsToEagerLoad();\n    this.markParticipantsAsInitializing(participants);\n    this.initializeAppForParticipants(participants);\n  },\n\n  willDestroy() {\n    this._super(...arguments);\n    this.initializeApp.cancelAll();\n    runDisposables(this);\n  },\n\n  didChangeAttrsConfig: {\n    attrs: ['conversation', 'user'],\n  },\n\n  didChangeAttrs(changes) {\n    this._super(...arguments);\n\n    if (changes.conversation) {\n      this.handleConversationChanged();\n    }\n\n    if (changes.user) {\n      this.handleUserChanged();\n    }\n  },\n\n  participantsToEagerLoad() {\n    let participantsExcludingCurrentUser = this.conversation.participants.filter(\n      p => p.id !== this.conversation.main_participant.id,\n    );\n    return [\n      this.conversation.main_participant,\n      ...participantsExcludingCurrentUser.slice(0, MAX_PARTICIPANT_EAGER_INITIALIZE - 1),\n    ];\n  },\n\n  markParticipantsAsInitializing(participants) {\n    participants.forEach(user => {\n      this.createInitialCanvasStateForUser(user);\n    });\n  },\n\n  initializeAppForParticipants(participants) {\n    participants.forEach(user => {\n      this.initializeApp.perform(user);\n    });\n  },\n\n  handleConversationChanged() {\n    this.initializeApp.cancelAll();\n    this.clearAllCanvases();\n\n    let participants = this.participantsToEagerLoad();\n    this.markParticipantsAsInitializing(participants);\n    debounceTask(this, 'initializeAppForParticipants', participants, DEBOUNCE_DURATION);\n  },\n\n  handleUserChanged() {\n    if (!this.hasCanvasForUser(this.user)) {\n      this.initializeApp.perform(this.user);\n    }\n  },\n\n  willDestroyElement() {\n    this._super(...arguments);\n    this.clearAllCanvases();\n  },\n\n  clearAllCanvases() {\n    Object.keys(this.canvasesByUser).forEach(userId => this.clearUserCanvas(userId));\n    this.set('canvasesByUser', {});\n  },\n\n  clearUserCanvas(userId) {\n    let canvasState = this.canvasesByUser[userId];\n    if (canvasState && canvasState.canvas) {\n      this.canvasesByUser[userId].set('canvas', null);\n    }\n  },\n\n  initializeMessengerApp(cardCreationOptions) {\n    let promise = new EmberPromise((resolve, reject) => {\n      this.messengerAppInsertionService.on(\n        'updateInboxAppCanvas',\n        this,\n        '_resolveMessengerAppInitialization',\n      );\n      this.messengerAppInsertionService.initializeMessengerApp(\n        this.inboxAppId,\n        cardCreationOptions,\n        resolve,\n        reject,\n      );\n    });\n\n    let timeout = new Promise((resolve, reject) => {\n      setTimeout(() => reject(new Error('Inserting messenger app timed out')), ENV.APP._5000MS);\n    });\n\n    return EmberPromise.race([promise, timeout]).finally(() => {\n      this.messengerAppInsertionService.off(\n        'updateInboxAppCanvas',\n        this,\n        '_resolveMessengerAppInitialization',\n      );\n    });\n  },\n\n  _resolveMessengerAppInitialization(inboxAppId, error, resolve, reject) {\n    if (this.inboxAppId === inboxAppId) {\n      if (error) {\n        reject(error);\n      } else {\n        resolve();\n      }\n    }\n  },\n\n  setSupportUrl(err) {\n    if (err && err.jqXHR && err.jqXHR.responseJSON) {\n      this.set('supportUrl', err.jqXHR.responseJSON.support_url);\n    }\n  },\n\n  initializeApp: task(function*(user) {\n    try {\n      let response = yield ajax({\n        url: '/ember/inbox_apps/initialize',\n        type: 'POST',\n        data: JSON.stringify({ ...this.commonRequestParams(), user_id: user.id }),\n      });\n\n      yield this.fadeAndSwapCanvasForUser(response, user);\n      this.analyticsEventForFrame('initialized');\n    } catch (err) {\n      this.setSupportUrl(err);\n      this.analyticsEventForFrame('failed');\n      this.setCanvasErrorStateForUser(user);\n    }\n  })\n    .enqueue()\n    .maxConcurrency(3),\n\n  submitApp: task(function*(actionComponentId, canvasInputValues) {\n    try {\n      let user = this.user;\n\n      this.updateCurrentCanvasLoadingStateForUser(user);\n\n      let response = yield ajax({\n        url: '/ember/inbox_apps/submit',\n        type: 'POST',\n        data: JSON.stringify({\n          ...this.commonRequestParams(),\n          component_id: actionComponentId,\n          input_values: canvasInputValues,\n          current_canvas: this.currentCanvasState.canvas,\n          user_id: this.user.id,\n        }),\n      });\n\n      if (response.card_creation_options) {\n        yield this.initializeMessengerApp(response.card_creation_options);\n        if (response.canvas) {\n          yield this.fadeAndSwapCanvasForUser(response, user);\n        } else {\n          this.updateCurrentCanvasSuccessfulStateForUser(user);\n        }\n      } else if (response.canvas) {\n        yield this.fadeAndSwapCanvasForUser(response, user);\n      }\n      this.analyticsEventForFrame('submit');\n    } catch (err) {\n      this.setSupportUrl(err);\n      this.analyticsEventForFrame('failed');\n      this.setCanvasErrorStateForUser(this.user);\n    }\n  }),\n\n  urlAction: task(function*(url) {\n    yield this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'inbox_app',\n      place: 'inbox',\n      inbox_app_id: this.inboxAppId,\n      url,\n    });\n    safeWindowOpen(url);\n  }),\n\n  commonRequestParams() {\n    return {\n      conversation_id: this.conversation.id,\n      inbox_app_id: this.inboxAppId,\n      admin_id: this.app.currentAdmin.id,\n      app_id: this.app.id,\n    };\n  },\n\n  async fadeAndSwapCanvasForUser(response, user) {\n    // When initializing an app in a group conversation we will be calling this method for every participant in\n    // the conversation. We only want to animate when swapping in the canvas for the currently visible user.\n    let shouldAnimate = this.user.id === user.id;\n\n    if (shouldAnimate) {\n      await $(this.element)\n        .animate({ opacity: 0 }, FADE_DURATION)\n        .promise();\n    }\n\n    this.parseCanvasResponseForUser(response, user);\n\n    if (shouldAnimate) {\n      $(this.element).animate({ opacity: 1 }, FADE_DURATION);\n    }\n  },\n\n  parseCanvasResponseForUser(response, user) {\n    if (!('canvas' in response)) {\n      throw Error('No canvas or results provided');\n    }\n\n    this.setCanvasForUser(user, response.canvas);\n  },\n\n  hasCanvasForUser(user) {\n    return this.canvasesByUser[user.id] !== undefined;\n  },\n\n  setCanvasStateForUser(user, canvasState) {\n    this.set('canvasesByUser', { ...this.canvasesByUser, ...{ [user.id]: canvasState } });\n  },\n\n  createInitialCanvasStateForUser(user) {\n    let canvasState = CanvasState.create({ state: CANVAS_STATE_INITIALIZING });\n    this.setCanvasStateForUser(user, canvasState);\n  },\n\n  updateCurrentCanvasLoadingStateForUser(user) {\n    let canvasState = CanvasState.create({\n      state: CANVAS_STATE_LOADING,\n      canvas: this.canvasesByUser[user.id].canvas,\n    });\n    this.setCanvasStateForUser(user, canvasState);\n  },\n\n  updateCurrentCanvasSuccessfulStateForUser(user) {\n    let canvasCopy = this.canvasesByUser[user.id].canvas;\n    this.clearUserCanvas(user.id);\n\n    let canvasState = CanvasState.create({\n      state: CANVAS_STATE_SUCCESSFUL,\n      canvas: canvasCopy,\n    });\n    this.setCanvasStateForUser(user, canvasState);\n  },\n\n  setCanvasErrorStateForUser(user) {\n    let canvasState = CanvasState.create({ state: CANVAS_STATE_ERROR });\n    this.setCanvasStateForUser(user, canvasState);\n  },\n\n  setCanvasForUser(user, canvas) {\n    this.clearUserCanvas(user.id);\n\n    let canvasState = CanvasState.create({ state: CANVAS_STATE_SUCCESSFUL, canvas });\n    this.setCanvasStateForUser(user, canvasState);\n  },\n\n  analyticsEventForFrame(action, state) {\n    let userState;\n    if (this.currentCanvasState) {\n      userState = this.currentCanvasState.state;\n      if (userState === 'initializing') {\n        userState = 'loading';\n      }\n    }\n    this.intercomEventService.trackAnalyticsEvent({\n      action,\n      object: 'inbox_app',\n      place: 'inbox',\n      inbox_app_id: this.inboxAppId,\n      current_state: userState,\n      participants: this.conversation.participants.map(p => p.toJSON({ includeId: true })),\n      participants_count: this.conversation.participants.length,\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { post } from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\n\nlet INITIALIZATION_URL = '/ember/inbox_apps/initialize_messenger_app';\n\nexport default Component.extend({\n  appService: service(),\n  messengerAppInsertionService: service(),\n\n  init() {\n    this._super(...arguments);\n    this.messengerAppInsertionService.on(\n      'initializeMessengerApp',\n      this,\n      this.initializeMessengerApp,\n    );\n  },\n\n  willDestroy() {\n    this._super(...arguments);\n    this.messengerAppInsertionService.off(\n      'initializeMessengerApp',\n      this,\n      this.initializeMessengerApp,\n    );\n  },\n\n  initializeMessengerApp(inboxAppId, canvasCreationOptions, resolve, reject) {\n    this.initializeMessengerAppTask.perform(inboxAppId, canvasCreationOptions, resolve, reject);\n  },\n\n  initializeMessengerAppTask: task(function*(inboxAppId, canvasCreationOptions, resolve, reject) {\n    try {\n      let actionData = yield post(INITIALIZATION_URL, {\n        app_id: this.appService.app.id,\n        inbox_app_id: inboxAppId,\n        context: {\n          conversation_id: this.conversation.id,\n        },\n        card_creation_params: {\n          canvas_creation_options: canvasCreationOptions,\n        },\n      });\n      this.controlsAPI.actions.insertBlockInCommentPane('messengerCard', actionData);\n      this.messengerAppInsertionService.updateInboxAppCanvas(inboxAppId, null, resolve, reject);\n    } catch (error) {\n      this.messengerAppInsertionService.updateInboxAppCanvas(inboxAppId, error, resolve, reject);\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"\", {\"contents\":\"\",\"moduleName\":\"embercom/components/app-framework/messenger-apps/canvas.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/app-framework/messenger-apps/canvas.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if canvas}}\\n  <AppFramework::Canvas\\n    data-test-canvas\\n    @canvas={{canvas}}\\n    @onSubmitAction={{perform submitApp}}\\n    @isLoading={{isLoading}}\\n    @autoFocus={{true}}\\n  />\\n{{else if isLoading}}\\n  <div class=\\\"u__center-layout\\\" data-test-frame-loading-screen>\\n    <div class=\\\"u__center-item\\\">\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    </div>\\n  </div>\\n{{else}}\\n  <div\\n    class=\\\"app-framework__messenger-apps__inserter__panel__loading text-gray\\\"\\n    data-test-frame-error-screen\\n  >\\n    Uh oh! Looks like something went wrong.<br />\\n    <IcButton\\n      @label=\\\"Try again\\\"\\n      @type=\\\"tertiary\\\"\\n      @onClick={{stop-propagation (perform initializeApp)}}\\n      @disabled={{false}}\\n    />\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if canvas}}\\n  <AppFramework::Canvas\\n    data-test-canvas\\n    @canvas={{canvas}}\\n    @onSubmitAction={{perform submitApp}}\\n    @isLoading={{isLoading}}\\n    @autoFocus={{true}}\\n  />\\n{{else if isLoading}}\\n  <div class=\\\"u__center-layout\\\" data-test-frame-loading-screen>\\n    <div class=\\\"u__center-item\\\">\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    </div>\\n  </div>\\n{{else}}\\n  <div\\n    class=\\\"app-framework__messenger-apps__inserter__panel__loading text-gray\\\"\\n    data-test-frame-error-screen\\n  >\\n    Uh oh! Looks like something went wrong.<br />\\n    <IcButton\\n      @label=\\\"Try again\\\"\\n      @type=\\\"tertiary\\\"\\n      @onClick={{stop-propagation (perform initializeApp)}}\\n      @disabled={{false}}\\n    />\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/app-framework/messenger-apps/frame.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/app-framework/messenger-apps/frame.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport $ from 'jquery';\nimport Component from '@ember/component';\nimport ajax from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\nimport { alias, readOnly, or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  store: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  isLoading: or('isSaving', 'submitApp.isRunning', 'initializeApp.isRunning'),\n\n  contextualData: {},\n  initializeApp: alias('submitApp'),\n\n  init() {\n    this._super(...arguments);\n    let prefetchedConfigurationOptions = this.get('messengerApp.prefetchedConfigurationOptions');\n    if (prefetchedConfigurationOptions) {\n      this.set('messengerApp.prefetchedConfigurationOptions', undefined);\n      this.handleResponse(prefetchedConfigurationOptions);\n    } else {\n      this.submitApp.perform();\n    }\n  },\n\n  willDestroyElement() {\n    this._super(...arguments);\n    this.clearCanvasModelInstance();\n  },\n\n  clearCanvasModelInstance() {\n    let canvas = this.canvas;\n    if (canvas && !canvas.isDeleted) {\n      canvas.deleteRecord();\n      this.set('canvas', null);\n    }\n  },\n\n  handleResponse(response) {\n    this.clearCanvasModelInstance();\n    if (response.new_canvas) {\n      let inserterPanel = $('.app-framework__messenger-apps__inserter__panel__body');\n      if (inserterPanel.length > 0) {\n        inserterPanel.scrollTop(0);\n      }\n      this.renderCanvasForModel(response.new_canvas);\n    } else if (response.results) {\n      this.onConfigResults(response.results);\n    } else {\n      console.error('No canvas or results provided');\n    }\n  },\n\n  renderCanvasForModel(responseCanvas) {\n    let store = this.store;\n    let normalized = store.normalize('app-framework/canvas', responseCanvas);\n    let canvas = store.createRecord('app-framework/canvas', normalized.data.attributes);\n    this.set('canvas', canvas);\n  },\n\n  submitApp: task(function*(actionComponentId, canvasInputValues) {\n    let response = yield ajax({\n      url: '/ember/messenger_apps/configure_card',\n      type: 'POST',\n      data: JSON.stringify({\n        admin_id: this.get('app.currentAdmin.id'),\n        app_id: this.get('app.id'),\n        messenger_app_id: this.get('messengerApp.id'),\n        component_id: actionComponentId,\n        context: this.contextualData,\n        current_canvas: this.canvas && this.canvas.serialize(),\n        input_values: canvasInputValues,\n      }),\n    });\n    this.handleResponse(response);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if shouldShowInitializerComponent}}\\n  <AppFramework::MessengerApps::Inserter::Initializer\\n    data-test-messenger-framework-panel-config-screen\\n    @messengerApp={{selectedApp}}\\n    @contextualData={{contextualData}}\\n    @initialize={{initialize}}\\n    @preventBackToAppsClick={{preventBackToAppsClick}}\\n    @onBackClick={{action\\n      (if allowEditing \\\"closePopoverModal\\\" \\\"returnToMessengerAppList\\\")\\n    }}\\n    @backButtonText={{backButtonText}}\\n  />\\n{{else}}\\n  <AppFramework::MessengerApps::Inserter::Selector\\n    @messengerApps={{messengerApps}}\\n    @onMessengerAppSelect={{this.selectMessengerApp}}\\n    @onUninstalledMessengerAppSelect={{this.selectUninstalledMessengerApp}}\\n    @restrictTo={{restrictTo}}\\n    @inserterTitle={{inserterTitle}}\\n    @capability={{capability}}\\n    @inboxCapability={{inboxCapability}}\\n  />\\n  {{#if showAppStoreModal}}\\n    <Appstore::AppPackage::Modal\\n      @appPackage={{selectedAppPackage}}\\n      @closeModal={{this.closeAppStoreModal}}\\n      @isInsideInserter={{true}}\\n    />\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if shouldShowInitializerComponent}}\\n  <AppFramework::MessengerApps::Inserter::Initializer\\n    data-test-messenger-framework-panel-config-screen\\n    @messengerApp={{selectedApp}}\\n    @contextualData={{contextualData}}\\n    @initialize={{initialize}}\\n    @preventBackToAppsClick={{preventBackToAppsClick}}\\n    @onBackClick={{action\\n      (if allowEditing \\\"closePopoverModal\\\" \\\"returnToMessengerAppList\\\")\\n    }}\\n    @backButtonText={{backButtonText}}\\n  />\\n{{else}}\\n  <AppFramework::MessengerApps::Inserter::Selector\\n    @messengerApps={{messengerApps}}\\n    @onMessengerAppSelect={{this.selectMessengerApp}}\\n    @onUninstalledMessengerAppSelect={{this.selectUninstalledMessengerApp}}\\n    @restrictTo={{restrictTo}}\\n    @inserterTitle={{inserterTitle}}\\n    @capability={{capability}}\\n    @inboxCapability={{inboxCapability}}\\n  />\\n  {{#if showAppStoreModal}}\\n    <Appstore::AppPackage::Modal\\n      @appPackage={{selectedAppPackage}}\\n      @closeModal={{this.closeAppStoreModal}}\\n      @isInsideInserter={{true}}\\n    />\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/app-framework/messenger-apps/inserter/app-configurator.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/app-framework/messenger-apps/inserter/app-configurator.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { schedule } from '@ember/runloop';\nimport { action } from '@ember/object';\nimport { and, not } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { post } from 'embercom/lib/ajax';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport $ from 'jquery';\nimport { objectNames } from 'embercom/models/data/matching-system/matching-constants';\nimport { underscore } from '@ember/string';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  classNames: ['app-framework__messenger-apps__inserter__app-configurator'],\n  selectedApp: null,\n  initializeType: null,\n  contextualData: null,\n  closePopover: null,\n  store: service(),\n  router: service(),\n  appService: service(),\n  appstoreService: service(),\n  'data-test-app-inserter-popover': true,\n  initializationUrl: templateString('/ember/messenger_apps/initialize_${initializeType}'),\n\n  shouldShowInitializerComponent: and(\n    'selectedApp.hasConfiguration',\n    'isNotPrefetchingConfigurationOptions',\n  ),\n\n  isNotPrefetchingConfigurationOptions: not('prefetchCanvasOrCardCreationOptions.isRunning'),\n  showAppStoreModal: false,\n  selectedAppPackage: null,\n  shouldInitializeCanvas: true,\n  preventBackToAppsClick: false,\n\n  didInsertElement() {\n    this._super(...arguments);\n    this._resetTemporaryMessengerAppProperties();\n    this._initializeAppIfNoConfiguration();\n  },\n\n  _resetTemporaryMessengerAppProperties() {\n    if (!this.get('messengerApps.length')) {\n      return;\n    }\n    this.messengerApps.setEach('isPrefetchingConfiguration', undefined);\n    this.messengerApps.setEach('prefetchedConfigurationOptions', undefined);\n  },\n\n  _initializeAppIfNoConfiguration() {\n    let selectedApp = this.selectedApp;\n    if (selectedApp && !selectedApp.get('hasConfiguration')) {\n      selectedApp.set('isInitializing', true);\n      this.initialize.perform();\n    }\n  },\n\n  initialize: task(function*(canvas_creation_options) {\n    canvas_creation_options = canvas_creation_options || {};\n    let messenger_app_id = this.get('selectedApp.id');\n    let context = this.contextualData || {};\n    let card_creation_params = {\n      messenger_app_id,\n      canvas_creation_options,\n    };\n\n    try {\n      let actionData;\n      if (this.shouldInitializeCanvas) {\n        let params = {\n          app_id: this.get('appService.app.id'),\n          card_creation_params,\n          context,\n        };\n        actionData = yield post(this.initializationUrl, params);\n        actionData.messenger_app_id = messenger_app_id;\n      } else {\n        actionData = card_creation_params.canvas_creation_options;\n      }\n      this.insert(actionData, card_creation_params);\n      let appName = this.get('selectedApp.app_package_id');\n      let analyticsEvent = {\n        action: 'initialized',\n        object: 'messenger_app_card',\n        messenger_app_id,\n        app_name: appName,\n        conversation_id: context.conversation_id,\n        message_id: context.message_id,\n        message_variation_id: context.message_variation_id,\n      };\n      if (context.object_type) {\n        analyticsEvent['object_type'] = objectNames[context.object_type];\n        analyticsEvent[`${underscore(objectNames[context.object_type])}_id`] = context.object_id;\n      }\n      this.intercomEventService.trackAnalyticsEvent(analyticsEvent);\n    } catch (error) {\n      this._resetTemporaryMessengerAppProperties();\n      this.set('selectedApp.isInitializing', false);\n      console.error(error);\n      this.notificationsService.notifyResponseError(error, {\n        default: 'Something went wrong while trying to set up that card, please try again',\n      });\n    }\n  }),\n\n  insert(actionData, cardCreationParams) {\n    this.insertAction(actionData, this.selectedApp, cardCreationParams);\n    this.set('selectedApp.isInitializing', false);\n    this.set('selectedApp.isPrefetchingConfiguration', false);\n    let closePopover = this.closePopover;\n    if (closePopover !== null) {\n      closePopover();\n    }\n  },\n\n  addAnalyticsEventForSelectedMessengerApp({ selectedApp, isInstalled }) {\n    let context = this.contextualData || {};\n    let analyticsEvent = {\n      action: 'clicked',\n      object: 'messenger_app',\n      messenger_app_id: selectedApp.id,\n      conversation_id: context.conversation_id,\n      message_id: context.message_id,\n      message_variation_id: context.message_variation_id,\n      is_installed: isInstalled,\n      is_notifiable: selectedApp.notifiable,\n    };\n    if (context.object_type) {\n      analyticsEvent['object_type'] = objectNames[context.object_type];\n      analyticsEvent[`${underscore(objectNames[context.object_type])}_id`] = context.object_id;\n    }\n    this.intercomEventService.trackAnalyticsEvent(analyticsEvent);\n  },\n\n  prefetchCanvasOrCardCreationOptions: task(function*() {\n    try {\n      let data = {\n        admin_id: this.get('appService.app.currentAdmin.id'),\n        app_id: this.get('appService.app.id'),\n        messenger_app_id: this.get('selectedApp.id'),\n        context: this.contextualData,\n        current_canvas: this.canvas && this.canvas.serialize(),\n      };\n      this.selectedApp.set('isPrefetchingConfiguration', true);\n      let prefetchedConfigurationOptions = yield post('/ember/messenger_apps/configure_card', data);\n      if (prefetchedConfigurationOptions.results) {\n        yield this.initialize.perform(prefetchedConfigurationOptions.results);\n      } else {\n        this.selectedApp.set('isPrefetchingConfiguration', false);\n        this.set('selectedApp.prefetchedConfigurationOptions', prefetchedConfigurationOptions);\n      }\n    } catch (error) {\n      this._resetTemporaryMessengerAppProperties();\n    }\n  }).drop(),\n\n  fetchAppPackageAndDisplayModal: task(function*(appPackageId) {\n    let selectedAppPackage = yield this.store.findRecord('appstore/app-package', appPackageId);\n    this.setProperties({\n      selectedAppPackage,\n      showAppStoreModal: true,\n    });\n  }).drop(),\n\n  resetInstallRedirectQueryParams() {\n    if (this.appstoreService.hasAppPackageCode()) {\n      this.router.transitionTo({\n        queryParams: { app_package_code: null, install_success: null, error_message: null },\n      });\n    }\n  },\n\n  resetAppPackageProperties() {\n    this.setProperties({\n      selectedAppPackage: null,\n      showAppStoreModal: false,\n    });\n  },\n\n  _scrollMessengerAppIntoView(appPackageCode) {\n    if (this.isDestroying) {\n      return;\n    }\n    let $messengerAppElement = $(`[data-app-package-id=\"${appPackageCode}\"]`);\n    if (!$messengerAppElement.visible()) {\n      $('.js__popover__header').animate({ scrollTop: 0 }, 0);\n    }\n  },\n\n  selectMessengerApp: action(function(messengerApp) {\n    this.addAnalyticsEventForSelectedMessengerApp({\n      selectedApp: messengerApp,\n      isInstalled: true,\n    });\n    this.set('selectedApp', messengerApp);\n\n    // When the app has no configuration (static or live) we render the initialize card immediately.\n    // When the app has a configuration URL, we prefetch the configuration options.\n    // otherwise, the messenger-framework/initializer component will be shown and will take care\n    // of frame initialization\n    if (!messengerApp.get('hasConfiguration')) {\n      messengerApp.set('isInitializing', true);\n      this.initialize.perform();\n    } else if (this.get('selectedApp.configure_url')) {\n      this.prefetchCanvasOrCardCreationOptions.perform();\n    }\n  }),\n\n  selectUninstalledMessengerApp: action(function(messengerApp) {\n    this.addAnalyticsEventForSelectedMessengerApp({\n      selectedApp: messengerApp,\n      isInstalled: false,\n    });\n    this.fetchAppPackageAndDisplayModal.perform(messengerApp.get('app_package_id'));\n  }),\n\n  closeAppStoreModal: action(function() {\n    let selectedAppPackageId = this.get('selectedAppPackage.id');\n    this.resetInstallRedirectQueryParams();\n    this.resetAppPackageProperties();\n    schedule('afterRender', this, this._scrollMessengerAppIntoView, selectedAppPackageId);\n  }),\n\n  actions: {\n    returnToMessengerAppList() {\n      let context = this.contextualData || {};\n      let analyticsEvent = {\n        action: 'clicked',\n        object: 'messenger_app_inserter_back_to_app_list',\n        messenger_app_id: this.get('selectedApp.id'),\n        conversation_id: context.conversation_id,\n        message_id: context.message_id,\n        message_variation_id: context.message_variation_id,\n      };\n      if (context.object_type) {\n        analyticsEvent['object_type'] = objectNames[context.object_type];\n        analyticsEvent[`${underscore(objectNames[context.object_type])}_id`] = context.object_id;\n      }\n      this.intercomEventService.trackAnalyticsEvent(analyticsEvent);\n      this.set('selectedApp', null);\n    },\n\n    closePopoverModal() {\n      let closePopover = this.closePopover;\n      if (closePopover !== null) {\n        closePopover();\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Popover\\n  @showOn={{array 'click'}}\\n  @hideOn={{compact (array 'click' (unless showAppStoreModal 'clickout'))}}\\n  @initiallyOpen={{initiallyOpened}}\\n  @isInteractive={{true}}\\n  @placement=\\\"top\\\"\\n  @fallbackPlacements={{array 'bottom' 'left' 'right' 'auto'}}\\n  @showArrow={{true}}\\n  @onShow={{this.onPopoverOpenAction}}\\n  @onHide={{this.onPopoverCloseAction}}\\n  data-test-messenger-app-opener={{true}}\\n  ...attributes\\n  as |popover|\\n>\\n  <popover.Opener>\\n    <span id=\\\"messenger-app-opener\\\">\\n      {{yield (hash isOpen=popover.isVisible)}}\\n    </span>\\n  </popover.Opener>\\n  <popover.Content @fullBleed={{true}}>\\n    <AppFramework::MessengerApps::Inserter::AppConfigurator\\n      @messengerApps={{messengerApps}}\\n      @selectedApp={{if allowEditing selectedApp}}\\n      @initializeType={{initializeType}}\\n      @contextualData={{contextualData}}\\n      @insertAction={{insertApp}}\\n      @showAppStoreModal={{showAppStoreModal}}\\n      @closePopover={{popover.hide}}\\n      @shouldInitializeCanvas={{not (eq shouldInitializeCanvas false)}}\\n      @backButtonText={{backButtonText}}\\n      @allowEditing={{allowEditing}}\\n      @restrictTo={{restrictTo}}\\n      @inserterTitle={{inserterTitle}}\\n      @capability={{capability}}\\n      @inboxCapability={{inboxCapability}}\\n    />\\n  </popover.Content>\\n</Popover>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Popover\\n  @showOn={{array 'click'}}\\n  @hideOn={{compact (array 'click' (unless showAppStoreModal 'clickout'))}}\\n  @initiallyOpen={{initiallyOpened}}\\n  @isInteractive={{true}}\\n  @placement=\\\"top\\\"\\n  @fallbackPlacements={{array 'bottom' 'left' 'right' 'auto'}}\\n  @showArrow={{true}}\\n  @onShow={{this.onPopoverOpenAction}}\\n  @onHide={{this.onPopoverCloseAction}}\\n  data-test-messenger-app-opener={{true}}\\n  ...attributes\\n  as |popover|\\n>\\n  <popover.Opener>\\n    <span id=\\\"messenger-app-opener\\\">\\n      {{yield (hash isOpen=popover.isVisible)}}\\n    </span>\\n  </popover.Opener>\\n  <popover.Content @fullBleed={{true}}>\\n    <AppFramework::MessengerApps::Inserter::AppConfigurator\\n      @messengerApps={{messengerApps}}\\n      @selectedApp={{if allowEditing selectedApp}}\\n      @initializeType={{initializeType}}\\n      @contextualData={{contextualData}}\\n      @insertAction={{insertApp}}\\n      @showAppStoreModal={{showAppStoreModal}}\\n      @closePopover={{popover.hide}}\\n      @shouldInitializeCanvas={{not (eq shouldInitializeCanvas false)}}\\n      @backButtonText={{backButtonText}}\\n      @allowEditing={{allowEditing}}\\n      @restrictTo={{restrictTo}}\\n      @inserterTitle={{inserterTitle}}\\n      @capability={{capability}}\\n      @inboxCapability={{inboxCapability}}\\n    />\\n  </popover.Content>\\n</Popover>\\n\",\"moduleName\":\"embercom/components/app-framework/messenger-apps/inserter/app-inserter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/app-framework/messenger-apps/inserter/app-inserter.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed, action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  store: service(),\n  appstoreService: service(),\n  appService: service(),\n  tagName: '',\n  app: readOnly('appService.app'),\n  isOpen: false,\n  initiallyOpened: false,\n  showAppStoreModal: false,\n  initializeType: 'card',\n  messengerApps: [],\n  shouldInitializeCanvas: true,\n  selectedApp: null,\n  allowEditing: false,\n  backButtonText: 'Back to apps',\n\n  init() {\n    this._super(...arguments);\n    if (this.appstoreService.hasAppPackageCode()) {\n      this.set('showAppStoreModal', true);\n    }\n    if (this.showAppStoreModal || this.openInserter) {\n      this.openInitially();\n    }\n    this.fetchMessengerApps.perform();\n  },\n\n  openInitially() {\n    this.setProperties({\n      initiallyOpened: true,\n      isOpen: true,\n    });\n  },\n\n  fetchMessengerApps: task(function*() {\n    if (this.get('messengerApps.length')) {\n      return;\n    }\n    let messengerApps = yield this.store.query('messenger-app', {\n      restrict_to: this.restrictTo,\n    });\n    this.set('messengerApps', messengerApps);\n    if (this.allowEditing) {\n      let messengerAppId = this.messengerAppId;\n      let messengerAppToEdit = messengerApps.find(app => app.id === messengerAppId.toString());\n      this.setProperties({\n        selectedApp: messengerAppToEdit,\n        backButtonText: 'Cancel',\n        contextualData: { location: 'home-edit' },\n      });\n    }\n  }),\n\n  openerId: computed('id', 'callerId', function() {\n    let id = this.id;\n    if (this.callerId) {\n      return `messenger-app-opener-${this.callerId}`;\n    }\n    if (id >= 0 || id) {\n      return `messenger-app-opener-${id}`;\n    }\n    if (this.allowEditing) {\n      let slotId = this.slotId;\n      return `messenger-app-opener-${slotId}`;\n    }\n\n    return 'messenger-app-opener';\n  }),\n\n  onPopoverOpenAction: action(function() {\n    this.set('isOpen', true);\n    this.appstoreService.dismissAppInstallNotifications.perform(this.restrictTo);\n    if (this.onPopoverOpen) {\n      this.onPopoverOpen();\n    }\n  }),\n\n  onPopoverCloseAction: action(function() {\n    this.set('showAppStoreModal', false);\n    this.set('isOpen', false);\n    if (this.onPopoverClose) {\n      this.onPopoverClose();\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"app-framework__messenger-apps__inserter__panel__header u__cf u__relative\\\"\\n>\\n  {{#unless preventBackToAppsClick}}\\n    {{! prettier-ignore }}\\n    <div class=\\\"app-framework__messenger-apps__inserter__panel__header-button u__left\\\">\\n      <a class=\\\"app-framework__messenger-apps__inserter__panel__link t__em-link\\\" data-test-messenger-framework-panel-back-button {{action onBackClick bubbles=false}}>{{backButtonText}}</a>\\n    </div>\\n  {{/unless}}\\n  <div\\n    class=\\\"app-framework__messenger-apps__inserter__panel__header-title u__center-item\\\"\\n    data-test-messenger-framework-panel-header-title\\n  >\\n    {{messengerApp.name}}\\n  </div>\\n</div>\\n<div\\n  class=\\\"app-framework__messenger-apps__inserter__panel__body layout__box o__has-rows\\\"\\n>\\n  {{#if hasRequiredParams}}\\n    <div\\n      class=\\\"app-framework__messenger-apps__inserter__app__details__container\\\"\\n    >\\n      {{#each requiredParams as |param|}}\\n        <div class=\\\"u__mt__10 u__ml__30\\\">\\n          <span data-test-messenger-framework-panel-param-label>\\n            {{param.name}}\\n          </span>\\n          <div\\n            class=\\\"app-framework__messenger-apps__inserter__app__details__input-text\\\"\\n          >\\n            <Input\\n              data-test-messenger-framework-panel-param-text-input\\n              @value={{mut (get paramValues param.name)}}\\n              placeholder=\\\"Enter a string\\\"\\n            />\\n          </div>\\n        </div>\\n      {{/each}}\\n      <div class=\\\"u__mt__10 u__ml__30\\\">\\n        <IcButton\\n          data-test-messenger-framework-panel-submit-button\\n          @label=\\\"Ok\\\"\\n          @type=\\\"secondary\\\"\\n          @onClick={{action \\\"initialize\\\"}}\\n          @disabled={{false}}\\n        />\\n      </div>\\n    </div>\\n  {{else if hasConfigureUrl}}\\n    <AppFramework::MessengerApps::Frame\\n      data-test-frame\\n      @messengerApp={{messengerApp}}\\n      @onConfigResults={{action \\\"onConfigResults\\\"}}\\n      @contextualData={{contextualData}}\\n      @isSaving={{initialize.isRunning}}\\n    />\\n  {{/if}}\\n</div>\\n<div class=\\\"app-framework__messenger-apps__inserter__panel__mask__bottom\\\"></div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"app-framework__messenger-apps__inserter__panel__header u__cf u__relative\\\"\\n>\\n  {{#unless preventBackToAppsClick}}\\n    {{! prettier-ignore }}\\n    <div class=\\\"app-framework__messenger-apps__inserter__panel__header-button u__left\\\">\\n      <a class=\\\"app-framework__messenger-apps__inserter__panel__link t__em-link\\\" data-test-messenger-framework-panel-back-button {{action onBackClick bubbles=false}}>{{backButtonText}}</a>\\n    </div>\\n  {{/unless}}\\n  <div\\n    class=\\\"app-framework__messenger-apps__inserter__panel__header-title u__center-item\\\"\\n    data-test-messenger-framework-panel-header-title\\n  >\\n    {{messengerApp.name}}\\n  </div>\\n</div>\\n<div\\n  class=\\\"app-framework__messenger-apps__inserter__panel__body layout__box o__has-rows\\\"\\n>\\n  {{#if hasRequiredParams}}\\n    <div\\n      class=\\\"app-framework__messenger-apps__inserter__app__details__container\\\"\\n    >\\n      {{#each requiredParams as |param|}}\\n        <div class=\\\"u__mt__10 u__ml__30\\\">\\n          <span data-test-messenger-framework-panel-param-label>\\n            {{param.name}}\\n          </span>\\n          <div\\n            class=\\\"app-framework__messenger-apps__inserter__app__details__input-text\\\"\\n          >\\n            <Input\\n              data-test-messenger-framework-panel-param-text-input\\n              @value={{mut (get paramValues param.name)}}\\n              placeholder=\\\"Enter a string\\\"\\n            />\\n          </div>\\n        </div>\\n      {{/each}}\\n      <div class=\\\"u__mt__10 u__ml__30\\\">\\n        <IcButton\\n          data-test-messenger-framework-panel-submit-button\\n          @label=\\\"Ok\\\"\\n          @type=\\\"secondary\\\"\\n          @onClick={{action \\\"initialize\\\"}}\\n          @disabled={{false}}\\n        />\\n      </div>\\n    </div>\\n  {{else if hasConfigureUrl}}\\n    <AppFramework::MessengerApps::Frame\\n      data-test-frame\\n      @messengerApp={{messengerApp}}\\n      @onConfigResults={{action \\\"onConfigResults\\\"}}\\n      @contextualData={{contextualData}}\\n      @isSaving={{initialize.isRunning}}\\n    />\\n  {{/if}}\\n</div>\\n<div class=\\\"app-framework__messenger-apps__inserter__panel__mask__bottom\\\"></div>\\n\",\"moduleName\":\"embercom/components/app-framework/messenger-apps/inserter/initializer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/app-framework/messenger-apps/inserter/initializer.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, notEmpty } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  requiredParams: readOnly('messengerApp.params'),\n  hasRequiredParams: notEmpty('requiredParams'),\n  hasConfigureUrl: notEmpty('messengerApp.configure_url'),\n  preventBackToAppsClick: false,\n\n  init() {\n    this.set('paramValues', {});\n    this._super(...arguments);\n  },\n\n  actions: {\n    initialize() {\n      this.initialize.perform(this.paramValues);\n    },\n    onConfigResults(paramValues) {\n      this.initialize.perform(paramValues);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#each @items as |item|}}\\n  <div ...attributes\\n    class=\\\"app-framework__messenger-apps__inserter__app o__in-panel flex items-center {{if (and\\n        @hasMessengerAppInPrefetch (not (eq item @messengerAppInPrefetch))\\n      ) \\\"o__inactive\\\"}} {{if @hasMessengerAppInPrefetch \\\"u__disable-pointer-events\\\"}} {{if @disabled \\\"o__inactive\\\"}}\\\"\\n    data-test-messenger-framework-panel-list-item\\n    data-test-messenger-framework-panel-list-item-id=\\\"{{item.id}}\\\"\\n    data-test-app-package-id={{item.app_package_id}}\\n    data-app-package-id={{item.app_package_id}}\\n    {{action @onClick item bubbles=false}}\\n  >\\n    <div class=\\\"unread__container\\\">\\n      {{#if item.notifiable}}\\n        <span\\n          class=\\\"unread__small app-framework__messenger-apps__inserter__app__details__notifiable\\\"\\n          data-test-notification-dot\\n        >\\n        </span>\\n      {{/if}}\\n      <img\\n        class=\\\"app-framework__messenger-apps__inserter__app__details__icon\\\"\\n        src=\\\"{{item.icon_url}}\\\"\\n        data-test-messenger-framework-app-details-icon\\n      />\\n    </div>\\n    <div class=\\\"app-framework__messenger-apps__inserter__app__details__container flex-auto min-w-0\\\">\\n      <div class=\\\"app-framework__messenger-apps__inserter__app__details__name\\\">\\n        {{item.name}}\\n      </div>\\n      <div class=\\\"u__one-truncated-line\\\">\\n        {{item.description}}\\n      </div>\\n    </div>\\n    {{#if (or item.isInitializing item.isPrefetchingConfiguration)}}\\n      <span class=\\\"u__mt__10 u__right\\\" data-test-list-item-loading-indicator>\\n        <IcLoadingIndicator @size=\\\"small\\\" />\\n      </span>\\n    {{/if}}\\n  </div>\\n{{/each}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#each @items as |item|}}\\n  <div ...attributes\\n    class=\\\"app-framework__messenger-apps__inserter__app o__in-panel flex items-center {{if (and\\n        @hasMessengerAppInPrefetch (not (eq item @messengerAppInPrefetch))\\n      ) \\\"o__inactive\\\"}} {{if @hasMessengerAppInPrefetch \\\"u__disable-pointer-events\\\"}} {{if @disabled \\\"o__inactive\\\"}}\\\"\\n    data-test-messenger-framework-panel-list-item\\n    data-test-messenger-framework-panel-list-item-id=\\\"{{item.id}}\\\"\\n    data-test-app-package-id={{item.app_package_id}}\\n    data-app-package-id={{item.app_package_id}}\\n    {{action @onClick item bubbles=false}}\\n  >\\n    <div class=\\\"unread__container\\\">\\n      {{#if item.notifiable}}\\n        <span\\n          class=\\\"unread__small app-framework__messenger-apps__inserter__app__details__notifiable\\\"\\n          data-test-notification-dot\\n        >\\n        </span>\\n      {{/if}}\\n      <img\\n        class=\\\"app-framework__messenger-apps__inserter__app__details__icon\\\"\\n        src=\\\"{{item.icon_url}}\\\"\\n        data-test-messenger-framework-app-details-icon\\n      />\\n    </div>\\n    <div class=\\\"app-framework__messenger-apps__inserter__app__details__container flex-auto min-w-0\\\">\\n      <div class=\\\"app-framework__messenger-apps__inserter__app__details__name\\\">\\n        {{item.name}}\\n      </div>\\n      <div class=\\\"u__one-truncated-line\\\">\\n        {{item.description}}\\n      </div>\\n    </div>\\n    {{#if (or item.isInitializing item.isPrefetchingConfiguration)}}\\n      <span class=\\\"u__mt__10 u__right\\\" data-test-list-item-loading-indicator>\\n        <IcLoadingIndicator @size=\\\"small\\\" />\\n      </span>\\n    {{/if}}\\n  </div>\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/app-framework/messenger-apps/inserter/list-section.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/app-framework/messenger-apps/inserter/list-section.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.notifiableItems}}\\n  <div\\n    class=\\\"app-framework__messenger-apps__inserter__app-section-header\\\"\\n    data-test-newly-installed-section-title\\n  >\\n    {{pluralize this.notifiableItems.length \\\"new app\\\"}} available\\n  </div>\\n  <AppFramework::MessengerApps::Inserter::ListSection\\n    @hasMessengerAppInPrefetch={{this.hasMessengerAppInPrefetch}}\\n    @messengerAppInPrefetch={{this.messengerAppInPrefetch}}\\n    @items={{this.notifiableItems}}\\n    @onClick={{@onClick}}\\n    data-test-newly-installed-apps\\n  />\\n{{/if}}\\n\\n{{#if (and this.notifiableItems this.nonNotifiableItems)}}\\n  <div\\n    class=\\\"app-framework__messenger-apps__inserter__app-section-header\\\"\\n    data-test-already-installed-section-title\\n  >\\n    Other installed apps\\n  </div>\\n{{/if}}\\n\\n<AppFramework::MessengerApps::Inserter::ListSection\\n  @hasMessengerAppInPrefetch={{this.hasMessengerAppInPrefetch}}\\n  @messengerAppInPrefetch={{this.messengerAppInPrefetch}}\\n  @items={{this.nonNotifiableItems}}\\n  @onClick={{@onClick}}\\n  data-test-already-installed-apps\\n/>\\n\", {\"contents\":\"{{#if this.notifiableItems}}\\n  <div\\n    class=\\\"app-framework__messenger-apps__inserter__app-section-header\\\"\\n    data-test-newly-installed-section-title\\n  >\\n    {{pluralize this.notifiableItems.length \\\"new app\\\"}} available\\n  </div>\\n  <AppFramework::MessengerApps::Inserter::ListSection\\n    @hasMessengerAppInPrefetch={{this.hasMessengerAppInPrefetch}}\\n    @messengerAppInPrefetch={{this.messengerAppInPrefetch}}\\n    @items={{this.notifiableItems}}\\n    @onClick={{@onClick}}\\n    data-test-newly-installed-apps\\n  />\\n{{/if}}\\n\\n{{#if (and this.notifiableItems this.nonNotifiableItems)}}\\n  <div\\n    class=\\\"app-framework__messenger-apps__inserter__app-section-header\\\"\\n    data-test-already-installed-section-title\\n  >\\n    Other installed apps\\n  </div>\\n{{/if}}\\n\\n<AppFramework::MessengerApps::Inserter::ListSection\\n  @hasMessengerAppInPrefetch={{this.hasMessengerAppInPrefetch}}\\n  @messengerAppInPrefetch={{this.messengerAppInPrefetch}}\\n  @items={{this.nonNotifiableItems}}\\n  @onClick={{@onClick}}\\n  data-test-already-installed-apps\\n/>\\n\",\"moduleName\":\"embercom/components/app-framework/messenger-apps/inserter/list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/app-framework/messenger-apps/inserter/list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { notEmpty, filterBy, sort } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { findBy } from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  tagName: '',\n  hasMessengerAppInPrefetch: notEmpty('messengerAppInPrefetch'),\n  messengerAppInPrefetch: findBy('items', 'isPrefetchingConfiguration'),\n  notifiableItems: filterBy('sortedItems', 'notifiable', true),\n  nonNotifiableItems: filterBy('sortedItems', 'notifiable', false),\n  sortedItems: sort('items', 'sortedItemsSortKey'),\n  sortedItemsSortKey: ['name:asc'],\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: 'messenger_app_inserter',\n      notifiable_count: this.notifiableItems.length,\n    });\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Paywall @featureKey=\\\"apps_in_operator\\\" as |paywall|>\\n  {{#if paywall.isActive}}\\n    <AppFramework::MessengerApps::Inserter::ListSection\\n      @hasMessengerAppInPrefetch={{this.hasMessengerAppInPrefetch}}\\n      @messengerAppInPrefetch={{this.messengerAppInPrefetch}}\\n      @items={{this.nonPaywalledItems}}\\n      @onClick={{@onClick}}\\n      data-test-free-bots-apps\\n    />\\n    <h4\\n      data-test-paywalled-bots-apps-title\\n      {{did-insert this.logAnalytics}}\\n      class=\\\"app-framework__messenger-apps__inserter__paywall o__in-panel flex items-center\\\"\\n    >\\n       <span class=\\\"app-framework__messenger-apps__inserter__paywall__title\\\">Upgrade to use these apps with bots</span>\\n       <paywall.Badge />\\n     </h4>\\n     <AppFramework::MessengerApps::Inserter::ListSection\\n       @hasMessengerAppInPrefetch={{this.hasMessengerAppInPrefetch}}\\n       @messengerAppInPrefetch={{this.messengerAppInPrefetch}}\\n       @items={{this.paywalledItems}}\\n       @disabled={{true}}\\n       @onClick={{this.noop}}\\n       data-test-paywalled-bots-apps\\n     />\\n  {{else}}\\n    <AppFramework::MessengerApps::Inserter::List\\n      @items={{@items}}\\n      @onClick={{@onClick}}\\n      @isInstalled={{@isInstalled}}\\n    />\\n  {{/if}}\\n</Paywall>\\n\", {\"contents\":\"<Paywall @featureKey=\\\"apps_in_operator\\\" as |paywall|>\\n  {{#if paywall.isActive}}\\n    <AppFramework::MessengerApps::Inserter::ListSection\\n      @hasMessengerAppInPrefetch={{this.hasMessengerAppInPrefetch}}\\n      @messengerAppInPrefetch={{this.messengerAppInPrefetch}}\\n      @items={{this.nonPaywalledItems}}\\n      @onClick={{@onClick}}\\n      data-test-free-bots-apps\\n    />\\n    <h4\\n      data-test-paywalled-bots-apps-title\\n      {{did-insert this.logAnalytics}}\\n      class=\\\"app-framework__messenger-apps__inserter__paywall o__in-panel flex items-center\\\"\\n    >\\n       <span class=\\\"app-framework__messenger-apps__inserter__paywall__title\\\">Upgrade to use these apps with bots</span>\\n       <paywall.Badge />\\n     </h4>\\n     <AppFramework::MessengerApps::Inserter::ListSection\\n       @hasMessengerAppInPrefetch={{this.hasMessengerAppInPrefetch}}\\n       @messengerAppInPrefetch={{this.messengerAppInPrefetch}}\\n       @items={{this.paywalledItems}}\\n       @disabled={{true}}\\n       @onClick={{this.noop}}\\n       data-test-paywalled-bots-apps\\n     />\\n  {{else}}\\n    <AppFramework::MessengerApps::Inserter::List\\n      @items={{@items}}\\n      @onClick={{@onClick}}\\n      @isInstalled={{@isInstalled}}\\n    />\\n  {{/if}}\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/app-framework/messenger-apps/inserter/paywalled-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/app-framework/messenger-apps/inserter/paywalled-list.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class PaywalledList extends Component {\n  @service intercomEventService;\n\n  get sortedItems() {\n    return this.args.items.sortBy('name');\n  }\n  get hasMessengerAppInPrefetch() {\n    return this.messengerAppInPrefetch && this.messengerAppInPrefetch.length > 0;\n  }\n\n  get messengerAppInPrefetch() {\n    return this.args.items.filter(item => item.isPrefetchingConfiguration);\n  }\n  get paywalledItems() {\n    return this.sortedItems.filter(item => this.isPaywalled(item));\n  }\n  get nonPaywalledItems() {\n    return this.sortedItems.filter(item => !this.isPaywalled(item));\n  }\n\n  isPaywalled(item) {\n    return item.paywalledInOperator;\n  }\n\n  @action\n  noop() {}\n\n  @action\n  logAnalytics() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: 'messenger_app_inserter',\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"app-framework__messenger-apps__inserter__panel__header u__cf u__relative\\\"\\n>\\n  <div\\n    class=\\\"app-framework__messenger-apps__inserter__panel__header-title u__center-item\\\"\\n    data-test-app-inserter-title\\n  >\\n    {{inserterTitle}}\\n  </div>\\n</div>\\n{{#if shouldShowEmptyState}}\\n  <IcEmptyState\\n    data-test-app-selector-empty-state\\n    @icon=\\\"app-store\\\"\\n    @title=\\\"No apps installed\\\"\\n    @description=\\\"Help your leads and users achieve their goals faster with apps\\\"\\n    @buttonLabel=\\\"Explore the App Store\\\"\\n    @onButtonClick={{this.redirectToAppStore}}\\n    class=\\\"u__mt__30\\\"\\n  />\\n{{else if (not messengerApps.length)}}\\n  <div class=\\\"u__center-layout\\\">\\n    <div class=\\\"u__center-item\\\">\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    </div>\\n  </div>\\n{{else if fetchMessengerApps.last.isError}}\\n  <div\\n    class=\\\"app-framework__messenger-apps__inserter__panel__no-results text-gray\\\"\\n  >\\n    Failed to load messenger apps!<br />\\n    <IcButton\\n      @label=\\\"Try again\\\"\\n      @type=\\\"tertiary\\\"\\n      @onClick={{stop-propagation (perform fetchMessengerApps)}}\\n      @disabled={{false}}\\n    />\\n  </div>\\n{{else}}\\n  <div class=\\\"u__relative\\\">\\n    <div class=\\\"app-framework__messenger-apps__inserter__apps-container\\\">\\n      {{#if (and isOperator app.showAppsInBotsPaywall) }}\\n        <AppFramework::MessengerApps::Inserter::PaywalledList\\n          @items={{this.availableMessengerApps}}\\n          @onClick={{onMessengerAppSelect}}\\n          @isInstalled={{true}}\\n        />\\n      {{else}}\\n        <AppFramework::MessengerApps::Inserter::List\\n          @items={{this.availableMessengerApps}}\\n          @onClick={{onMessengerAppSelect}}\\n          @isInstalled={{true}}\\n        />\\n      {{/if}}\\n    </div>\\n    <div class=\\\"popover-fade__mask popover-fade__mask__bottom\\\"></div>\\n  </div>\\n  <span onclick={{action \\\"trackExploreAppStore\\\"}} data-test-app-store-link>\\n    <LinkTo\\n      @route={{appstoreService.baseRoute}}\\n      @query={{hash capability=capability inbox_capability=inboxCapability}}\\n      class=\\\"app-framework__messenger-apps__inserter__cta u__padt__15\\\"\\n    >\\n      <div class=\\\"app-framework__messenger-apps__inserter__cta-icon\\\">\\n        {{inline-svg \\\"app-store/more-apps-cta-icon\\\"}}\\n      </div>\\n      <div class=\\\"app-framework__messenger-apps__inserter__cta-content\\\">\\n        <div class=\\\"app-framework__messenger-apps__inserter__cta-text\\\">\\n          Explore the App Store →\\n        </div>\\n        <div class=\\\"text-gray\\\">\\n          Find more ways to acquire, engage and retain more customers\\n        </div>\\n      </div>\\n    </LinkTo>\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"app-framework__messenger-apps__inserter__panel__header u__cf u__relative\\\"\\n>\\n  <div\\n    class=\\\"app-framework__messenger-apps__inserter__panel__header-title u__center-item\\\"\\n    data-test-app-inserter-title\\n  >\\n    {{inserterTitle}}\\n  </div>\\n</div>\\n{{#if shouldShowEmptyState}}\\n  <IcEmptyState\\n    data-test-app-selector-empty-state\\n    @icon=\\\"app-store\\\"\\n    @title=\\\"No apps installed\\\"\\n    @description=\\\"Help your leads and users achieve their goals faster with apps\\\"\\n    @buttonLabel=\\\"Explore the App Store\\\"\\n    @onButtonClick={{this.redirectToAppStore}}\\n    class=\\\"u__mt__30\\\"\\n  />\\n{{else if (not messengerApps.length)}}\\n  <div class=\\\"u__center-layout\\\">\\n    <div class=\\\"u__center-item\\\">\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    </div>\\n  </div>\\n{{else if fetchMessengerApps.last.isError}}\\n  <div\\n    class=\\\"app-framework__messenger-apps__inserter__panel__no-results text-gray\\\"\\n  >\\n    Failed to load messenger apps!<br />\\n    <IcButton\\n      @label=\\\"Try again\\\"\\n      @type=\\\"tertiary\\\"\\n      @onClick={{stop-propagation (perform fetchMessengerApps)}}\\n      @disabled={{false}}\\n    />\\n  </div>\\n{{else}}\\n  <div class=\\\"u__relative\\\">\\n    <div class=\\\"app-framework__messenger-apps__inserter__apps-container\\\">\\n      {{#if (and isOperator app.showAppsInBotsPaywall) }}\\n        <AppFramework::MessengerApps::Inserter::PaywalledList\\n          @items={{this.availableMessengerApps}}\\n          @onClick={{onMessengerAppSelect}}\\n          @isInstalled={{true}}\\n        />\\n      {{else}}\\n        <AppFramework::MessengerApps::Inserter::List\\n          @items={{this.availableMessengerApps}}\\n          @onClick={{onMessengerAppSelect}}\\n          @isInstalled={{true}}\\n        />\\n      {{/if}}\\n    </div>\\n    <div class=\\\"popover-fade__mask popover-fade__mask__bottom\\\"></div>\\n  </div>\\n  <span onclick={{action \\\"trackExploreAppStore\\\"}} data-test-app-store-link>\\n    <LinkTo\\n      @route={{appstoreService.baseRoute}}\\n      @query={{hash capability=capability inbox_capability=inboxCapability}}\\n      class=\\\"app-framework__messenger-apps__inserter__cta u__padt__15\\\"\\n    >\\n      <div class=\\\"app-framework__messenger-apps__inserter__cta-icon\\\">\\n        {{inline-svg \\\"app-store/more-apps-cta-icon\\\"}}\\n      </div>\\n      <div class=\\\"app-framework__messenger-apps__inserter__cta-content\\\">\\n        <div class=\\\"app-framework__messenger-apps__inserter__cta-text\\\">\\n          Explore the App Store →\\n        </div>\\n        <div class=\\\"text-gray\\\">\\n          Find more ways to acquire, engage and retain more customers\\n        </div>\\n      </div>\\n    </LinkTo>\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/app-framework/messenger-apps/inserter/selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/app-framework/messenger-apps/inserter/selector.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { and, equal, readOnly, not, notEmpty, filterBy } from '@ember/object/computed';\nimport { action } from '@ember/object';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  tagName: '',\n  inboxCapability: null,\n  appService: service(),\n  appstoreService: service(),\n  router: service(),\n  app: readOnly('appService.app'),\n  isInbox: equal('restrictTo', 'conversations'),\n  isOperator: equal('restrictTo', 'operator'),\n  installedMessengerApps: filterBy('messengerApps', 'installed', true),\n  availableMessengerApps: filterBy('installedMessengerApps', 'showInInserter', true),\n  hasAvailableMessengerApps: notEmpty('availableMessengerApps'),\n  doesNotHaveAvailableMessengerApps: not('hasAvailableMessengerApps'),\n  shouldShowEmptyState: and('isInbox', 'doesNotHaveAvailableMessengerApps'),\n\n  redirectToAppStore: action(function() {\n    this.router.transitionTo(this.get('appstoreService.baseRoute'));\n  }),\n\n  actions: {\n    trackExploreAppStore() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'explore_app_store',\n        location: 'messenger',\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- prettier-ignore-file --}}\\n<style class=\\\"messenger_cards_styles\\\">\\n\\n  {{containerSelector}} .intercom-interblocks-messenger-card .intercom-card-component.text-component p:not(.muted) .link-text {\\n    /*see: styles/structures/messenger-cards/_text.scss*/\\n\\n    color: {{baseColor}};\\n  }\\n\\n  {{containerSelector}} .intercom-interblocks-messenger-card .intercom-card-component .list .list-item .title {\\n    /*see: styles/structures/messenger-cards/_list.scss*/\\n\\n    color: {{paletteBlue}};\\n  }\\n\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].primary {\\n    /*see: styles/structures/messenger-cards/_button.scss*/\\n\\n    background-color: {{baseColor}};\\n  }\\n\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].primary:hover,\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].primary:focus {\\n    /*see: styles/structures/messenger-cards/_button.scss*/\\n\\n    background-color: {{hoverColor}};\\n  }\\n\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].primary:active {\\n    /*see: styles/structures/messenger-cards/_button.scss*/\\n\\n    background-color: {{darkerColor}};\\n  }\\n\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].secondary {\\n    /*see: styles/structures/messenger-cards/_button.scss*/\\n\\n    color: {{baseColor}};\\n    border-color: {{baseColor}};\\n  }\\n\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].secondary:hover,\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].secondary:focus {\\n    /*see: styles/structures/messenger-cards/_button.scss*/\\n\\n    color: {{hoverColor}};\\n    border-color: {{hoverColor}};\\n  }\\n\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].secondary:active {\\n    /*see: styles/structures/messenger-cards/_button.scss*/\\n\\n    color: {{darkerColor}};\\n    border-color: {{darkerColor}};\\n  }\\n\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].link {\\n    /*see: styles/structures/messenger-cards/_button.scss*/\\n\\n    color: {{baseColor}};\\n  }\\n\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].link:hover,\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].link:focus {\\n    /*see: styles/structures/messenger-cards/_button.scss*/\\n\\n    color: {{hoverColor}};\\n  }\\n\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].link:active {\\n    /*see: styles/structures/messenger-cards/_button.scss*/\\n\\n    color: {{darkerColor}};\\n  }\\n\\n</style>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- prettier-ignore-file --}}\\n<style class=\\\"messenger_cards_styles\\\">\\n\\n  {{containerSelector}} .intercom-interblocks-messenger-card .intercom-card-component.text-component p:not(.muted) .link-text {\\n    /*see: styles/structures/messenger-cards/_text.scss*/\\n\\n    color: {{baseColor}};\\n  }\\n\\n  {{containerSelector}} .intercom-interblocks-messenger-card .intercom-card-component .list .list-item .title {\\n    /*see: styles/structures/messenger-cards/_list.scss*/\\n\\n    color: {{paletteBlue}};\\n  }\\n\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].primary {\\n    /*see: styles/structures/messenger-cards/_button.scss*/\\n\\n    background-color: {{baseColor}};\\n  }\\n\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].primary:hover,\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].primary:focus {\\n    /*see: styles/structures/messenger-cards/_button.scss*/\\n\\n    background-color: {{hoverColor}};\\n  }\\n\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].primary:active {\\n    /*see: styles/structures/messenger-cards/_button.scss*/\\n\\n    background-color: {{darkerColor}};\\n  }\\n\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].secondary {\\n    /*see: styles/structures/messenger-cards/_button.scss*/\\n\\n    color: {{baseColor}};\\n    border-color: {{baseColor}};\\n  }\\n\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].secondary:hover,\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].secondary:focus {\\n    /*see: styles/structures/messenger-cards/_button.scss*/\\n\\n    color: {{hoverColor}};\\n    border-color: {{hoverColor}};\\n  }\\n\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].secondary:active {\\n    /*see: styles/structures/messenger-cards/_button.scss*/\\n\\n    color: {{darkerColor}};\\n    border-color: {{darkerColor}};\\n  }\\n\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].link {\\n    /*see: styles/structures/messenger-cards/_button.scss*/\\n\\n    color: {{baseColor}};\\n  }\\n\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].link:hover,\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].link:focus {\\n    /*see: styles/structures/messenger-cards/_button.scss*/\\n\\n    color: {{hoverColor}};\\n  }\\n\\n  {{containerSelector}} .intercom-interblocks-messenger-card:not(.o__interactive) .intercom-card-component button[data-action-type='url'].link:active {\\n    /*see: styles/structures/messenger-cards/_button.scss*/\\n\\n    color: {{darkerColor}};\\n  }\\n\\n</style>\\n\",\"moduleName\":\"embercom/components/app-framework/messenger-apps/styles.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/app-framework/messenger-apps/styles.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, notEmpty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  containerSelector: null,\n  hasCustomBaseColor: notEmpty('customBaseColor'),\n  baseColor: ternaryToProperty(\n    'hasCustomBaseColor',\n    'customBaseColor',\n    'app.application_colors.base',\n  ),\n  hasCustomHoverColor: notEmpty('customHoverColor'),\n  hoverColor: ternaryToProperty(\n    'hasCustomHoverColor',\n    'customHoverColor',\n    'app.application_colors.hover',\n  ),\n  hasCustomDarkerColor: notEmpty('customDarkerColor'),\n  darkerColor: ternaryToProperty(\n    'hasCustomDarkerColor',\n    'customDarkerColor',\n    'app.application_colors.darker',\n  ),\n  paletteBlue: PALETTE.blue,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport $ from 'jquery';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport ENV from 'embercom/config/environment';\nimport InboundActions from 'ember-component-inbound-actions/inbound-actions';\nimport abbreviatedRelativeTimeAgo from 'embercom/lib/abbreviated-relative-time-ago';\nimport abbreviatedRelativeTime from 'embercom/lib/abbreviated-relative-time';\nimport { equalsAny } from '@intercom/embercom-core/lib/computed-properties';\nimport 'focus-visible';\n\nexport default Component.extend(InboundActions, {\n  ariaRole: 'application',\n  frontendStatsService: service(),\n\n  noAppYet: equalsAny('app', [undefined, null]),\n\n  classNames: ['application__component'],\n  didInsertElement() {\n    this._super(...arguments);\n    if (ENV.environment === 'development' && window.fetch) {\n      fetch('http://intercom.test:4200/time-to-reload');\n    }\n  },\n\n  click(e) {\n    if (!this.get('frontendStatsService.hasRecordedFirstInteraction')) {\n      this.frontendStatsService.recordFirstInteraction(e.target);\n    }\n  },\n\n  actions: {\n    refreshRelativeTime() {\n      $('.js__relative-time', this.element).each(function() {\n        let $this = $(this);\n        let absTime = $this.attr('datetime');\n        let formatter = $this.data('formatter');\n        let oldRelative = $this.text().trim();\n        let newRelative = oldRelative;\n        if (formatter === 'abbreviated-relative-time-ago-helper') {\n          newRelative = abbreviatedRelativeTimeAgo(absTime);\n        } else if (formatter === 'abbreviated-relative-time-helper') {\n          newRelative = abbreviatedRelativeTime(absTime);\n        }\n        $this.text($this.text().replace(oldRelative, newRelative));\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"card o__hoverable u__padl__20 u__padr__20 u__padb__20 appstore__app-card__container\\\">\\n  {{#if @onClick}}\\n    <div class=\\\"appstore__app-card__container no-underline layout__box o__has-rows\\\"\\n      data-test-app-card=\\\"{{@appPackage.id}}\\\"\\n      {{on \\\"click\\\" (fn @onClick @appPackage)}}\\n    >\\n      <Appstore::AppCard::Content\\n        @name={{@appPackage.name}}\\n        @description={{@appPackage.description}}\\n        @iconUrl={{@appPackage.iconUrl}}\\n        @isInstalled={{@appPackage.isInstalled}}\\n        @hasFixedHeight={{@hasFixedHeight}}\\n        @hideWorksWithMessenger={{@hideWorksWithMessenger}}\\n      />\\n    </div>\\n  {{else}}\\n    <LinkTo\\n      @query={{hash app_package_code=@appPackage.id}}\\n      class=\\\"appstore__app-card__container no-underline layout__box o__has-rows\\\"\\n      data-test-app-card={{@appPackage.id}}\\n    >\\n      <Appstore::AppCard::Content\\n        @name={{@appPackage.name}}\\n        @description={{@appPackage.description}}\\n        @iconUrl={{@appPackage.iconUrl}}\\n        @isInstalled={{@appPackage.isInstalled}}\\n        @hasFixedHeight={{@hasFixedHeight}}\\n      />\\n    </LinkTo>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"card o__hoverable u__padl__20 u__padr__20 u__padb__20 appstore__app-card__container\\\">\\n  {{#if @onClick}}\\n    <div class=\\\"appstore__app-card__container no-underline layout__box o__has-rows\\\"\\n      data-test-app-card=\\\"{{@appPackage.id}}\\\"\\n      {{on \\\"click\\\" (fn @onClick @appPackage)}}\\n    >\\n      <Appstore::AppCard::Content\\n        @name={{@appPackage.name}}\\n        @description={{@appPackage.description}}\\n        @iconUrl={{@appPackage.iconUrl}}\\n        @isInstalled={{@appPackage.isInstalled}}\\n        @hasFixedHeight={{@hasFixedHeight}}\\n        @hideWorksWithMessenger={{@hideWorksWithMessenger}}\\n      />\\n    </div>\\n  {{else}}\\n    <LinkTo\\n      @query={{hash app_package_code=@appPackage.id}}\\n      class=\\\"appstore__app-card__container no-underline layout__box o__has-rows\\\"\\n      data-test-app-card={{@appPackage.id}}\\n    >\\n      <Appstore::AppCard::Content\\n        @name={{@appPackage.name}}\\n        @description={{@appPackage.description}}\\n        @iconUrl={{@appPackage.iconUrl}}\\n        @isInstalled={{@appPackage.isInstalled}}\\n        @hasFixedHeight={{@hasFixedHeight}}\\n      />\\n    </LinkTo>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-card.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n  <div class=\\\"u__cf\\\">\\n    <div class=\\\"u__left u__padt__20\\\">\\n      {{#if @iconUrl}}\\n        <img\\n          src=\\\"{{@iconUrl}}\\\"\\n          class=\\\"appstore__app-card__icon\\\"\\n          data-test-app-card-icon\\n        />\\n      {{else}}\\n        <div\\n          class=\\\"appstore__app-card__icon__placeholder\\\"\\n          data-test-app-card-icon-placeholder\\n        ></div>\\n      {{/if}}\\n    </div>\\n  </div>\\n  <h3 class=\\\"t__h3 u__mt__15\\\" data-test-app-card-title>\\n    <span class=\\\"u__mr__5 appstore__app-card__title\\\">\\n      {{@name}}\\n    </span>\\n    {{#if @isInstalled}}\\n      <span class=\\\"text-green\\\" data-test-app-card-installed>\\n        {{ic-interface-icon \\\"rounded-check\\\"}}\\n      </span>\\n    {{/if}}\\n  </h3>\\n  <p class=\\\"appstore__app-card__description u__mt__5\\n    {{if @hasFixedHeight 'o__fixed-height'}}\\n    {{if this.shouldUseFade 'o__fade'}}\\n    {{if this.shouldUseExtraShortDescription 'o__short'}}\\\"\\n    data-test-app-card-description\\n  >\\n    {{@description}}\\n  </p>\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n  <div class=\\\"u__cf\\\">\\n    <div class=\\\"u__left u__padt__20\\\">\\n      {{#if @iconUrl}}\\n        <img\\n          src=\\\"{{@iconUrl}}\\\"\\n          class=\\\"appstore__app-card__icon\\\"\\n          data-test-app-card-icon\\n        />\\n      {{else}}\\n        <div\\n          class=\\\"appstore__app-card__icon__placeholder\\\"\\n          data-test-app-card-icon-placeholder\\n        ></div>\\n      {{/if}}\\n    </div>\\n  </div>\\n  <h3 class=\\\"t__h3 u__mt__15\\\" data-test-app-card-title>\\n    <span class=\\\"u__mr__5 appstore__app-card__title\\\">\\n      {{@name}}\\n    </span>\\n    {{#if @isInstalled}}\\n      <span class=\\\"text-green\\\" data-test-app-card-installed>\\n        {{ic-interface-icon \\\"rounded-check\\\"}}\\n      </span>\\n    {{/if}}\\n  </h3>\\n  <p class=\\\"appstore__app-card__description u__mt__5\\n    {{if @hasFixedHeight 'o__fixed-height'}}\\n    {{if this.shouldUseFade 'o__fade'}}\\n    {{if this.shouldUseExtraShortDescription 'o__short'}}\\\"\\n    data-test-app-card-description\\n  >\\n    {{@description}}\\n  </p>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-card/content.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-card/content.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport UserAgentDetector from '@intercom/embercom-core/lib/user-agent-detector';\nimport { computed } from '@ember/object';\nimport { and } from '@ember/object/computed';\n\nexport default Component.extend({\n  tagName: '',\n\n  shouldUseExtraShortDescription: and('hasFixedHeight', 'appPackage.isMessengerApp'),\n  shouldUseFade: computed('hasFixedHeight', function() {\n    let lineClampIsNotSupported = UserAgentDetector.isIE() || UserAgentDetector.isFirefox();\n    return this.hasFixedHeight && lineClampIsNotSupported;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.isMobile}}\\n  <div class=\\\"u__m__15\\\" ...attributes>\\n    <Appstore::AppPackage::Details::DetailsContentComponent\\n      @appPackage={{@appPackage}}\\n    />\\n    {{#if @appPackage.hasCapabilities}}\\n      <Appstore::AppPackage::Details::UseInComponent\\n        @appPackage={{@appPackage}}\\n        @worksWithInboxConversations={{@appPackage.capabilities.works_with_inbox_conversations}}\\n        @worksWithInboxSidebar={{@appPackage.capabilities.works_with_inbox_sidebar}}\\n        @worksWithMessages={{@appPackage.capabilities.works_with_messages}}\\n        @worksWithMessenger={{@appPackage.capabilities.works_with_messenger}}\\n        @worksWithOperator={{@appPackage.capabilities.works_with_operator}}\\n        @isBootedInPublicAppStoreMode={{@isBootedInPublicAppStoreMode}}\\n        class=\\\"u__mt__30\\\"\\n      />\\n    {{/if}}\\n    <Appstore::AppPackage::Details::CategoriesComponent\\n      @appPackage={{@appPackage}}\\n      @isBootedInPublicAppStoreMode={{@isBootedInPublicAppStoreMode}}\\n      @categories={{this.defaultPublicategories}}\\n    />\\n  </div>\\n{{else}}\\n  <div class=\\\"ml-8 mr-8\\\" ...attributes>\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-columns\\\">\\n      <div\\n        class=\\\"layout__box o__flexes-to-1 o__has-rows appstore__app-details__main pr-6 pt-6 pb-6\\\"\\n      >\\n        {{#if (or this.canShowSettings this.canShowAppOnboarding)}}\\n          <div\\n            class=\\\"tabs__discrete-tab__container u__mb__20 u__padl__0 u__padr__0\\\"\\n            data-test-app-package-tabs\\n          >\\n            <a\\n              class=\\\"tabs__discrete-tab u__padt__0 {{if this.showDescription \\\"o__selected\\\"}}\\\"\\n              {{on 'click' (fn this.onTabSelected \\\"description\\\")}}\\n              data-test-app-package-tab=\\\"description\\\"\\n            >\\n              Description\\n            </a>\\n            {{#if this.canShowAppOnboarding}}\\n              <a\\n                class=\\\"tabs__discrete-tab u__padt__0 {{if this.showOnboarding \\\"o__selected\\\"}}\\\"\\n                {{on 'click' (fn this.onTabSelected \\\"onboarding\\\")}}\\n                data-test-app-package-tab=\\\"onboarding\\\"\\n              >\\n                Getting Started\\n              </a>\\n            {{/if}}\\n            {{#if this.canShowSettings}}\\n              <a\\n                class=\\\"tabs__discrete-tab u__padt__0 {{if this.showSettings \\\"o__selected\\\"}}\\\"\\n                {{on 'click' (fn this.onTabSelected \\\"settings\\\")}}\\n                data-test-app-package-tab=\\\"settings\\\"\\n              >\\n                Settings\\n              </a>\\n            {{/if}}\\n          </div>\\n        {{/if}}\\n        {{#if this.showSettings}}\\n          {{#if this.canEditSettings}}\\n            {{#if (and this.fetchSettings.isRunning (not this.appPackageSettings))}}\\n              <div class=\\\"layout__box o__flexes-to-1 o__centers-all\\\">\\n                <IcLoadingIndicator @size=\\\"large\\\" />\\n              </div>\\n            {{else}}\\n              <div\\n                data-test-app-package-settings-container={{@appPackage.id}}\\n                class=\\\"layout__box o__has-rows o__flexes-to-1 u__3dfix z-10\\\"\\n              >\\n                {{component\\n                  (concat \\\"appstore/app-package/settings/\\\" @appPackage.implementationIdentifier \\\"/main\\\")\\n                  app=this.appService.app\\n                  admin=this.appService.app.currentAdmin\\n                  appPackage=@appPackage\\n                  registerHooks=this.registerHooks\\n                  settings=this.appPackageSettings\\n                  install=this.install\\n                  reinstall=this.reinstall\\n                  update=this.update\\n                  installSource=@installSource\\n                  generateRedirectUrl=this.generateRedirectUrl\\n                }}\\n              </div>\\n            {{/if}}\\n          {{else}}\\n            <Appstore::AppPackage::Settings::PermissionsRequestModal\\n              @adminsWhoCanInstallApps={{this.app.adminsWhoCanInstallApps}}\\n              @appName={{@appPackage.name}}\\n              @onModalClose={{fn this.onTabSelected this.defaultTab}}\\n            />\\n          {{/if}}\\n        {{/if}}\\n        {{#if this.showDescription}}\\n          <Appstore::AppPackage::Details::DetailsContentComponent\\n            @appPackage={{@appPackage}}\\n          />\\n        {{/if}}\\n        {{#if this.showOnboarding}}\\n          {{#if this.canShowLinkToSettings}}\\n            <span class=\\\"u__mb__20\\\" data-test-app-package-onboarding-setup-link>\\n              Make sure the app is setup.\\n              <a\\n                class=\\\"text o__standalone-link\\\"\\n                {{on 'click' this.onSettingsLinkClicked}}>\\n                Go to settings {{ic-interface-icon \\\"arrow\\\" color=\\\"blue\\\"}}\\n              </a>\\n            </span>\\n          {{/if}}\\n          <Appstore::AppPackage::Onboarding::OnboardingContainerComponent\\n            @appPackage={{@appPackage}}\\n            @inviteFormStates={{this.inviteFormStates}}\\n            @closeModal={{@closeModal}}\\n          />\\n        {{/if}}\\n      </div>\\n      <div\\n        class=\\\"layout__box appstore__app-details__side-component-layout pl-6 pt-6 pb-6\\\"\\n      >\\n        <div class=\\\"appstore__app-details__side-component-content\\\">\\n          {{#if @isBootedInPublicAppStoreMode}}\\n            <IcButton\\n              @type=\\\"primary\\\"\\n              @label=\\\"Sign in to install\\\"\\n              @onClick={{this.redirectToSignIn}}\\n              class=\\\"w-full mb-4\\\"\\n              data-test-app-package-sign-in-install-button={{true}}\\n            />\\n          {{else}}\\n            <Appstore::AppPackage::InstallButton\\n              @appPackage={{@appPackage}}\\n              @install={{this.install}}\\n              @adminPermitted={{this.adminPermitted}}\\n              class=\\\"mb-4\\\"\\n            />\\n          {{/if}}\\n          {{#if @appPackage.isInstalled}}\\n            <div class=\\\"mb-4\\\">\\n              <Appstore::AppPackage::InstalledBadge\\n                @appPackage={{@appPackage}}\\n              />\\n            </div>\\n          {{/if}}\\n          {{#if this.canShowPricingDetails}}\\n            <div class=\\\"o__border mb-4\\\">\\n              <span class=\\\"text-gray\\\">\\n                External pricing may apply, <a\\n                  target=\\\"_blank\\\"\\n                  rel=\\\"noopener noreferrer\\\"\\n                  class=\\\"appstore__app-details__pricing-page-link\\\"\\n                  href=\\\"{{@appPackage.pricingPageUrl}}\\\"\\n                  {{on 'click' this.trackPricingUrlClick}}\\n                  data-test-app-package-pricing-page-url\\n                >\\n                  view app pricing details\\n                </a>\\n                .\\n              </span>\\n            </div>\\n          {{/if}}\\n          {{#if (and @appPackage.hasCapabilities (not @hideAdditionalAppPackageContent))}}\\n            <Appstore::AppPackage::Details::UseInComponent\\n              @appPackage={{@appPackage}}\\n              @worksWithInboxConversations={{@appPackage.capabilities.works_with_inbox_conversations}}\\n              @worksWithInboxSidebar={{@appPackage.capabilities.works_with_inbox_sidebar}}\\n              @worksWithMessages={{@appPackage.capabilities.works_with_messages}}\\n              @worksWithMessenger={{@appPackage.capabilities.works_with_messenger}}\\n              @worksWithOperator={{@appPackage.capabilities.works_with_operator}}\\n              @isBootedInPublicAppStoreMode={{@isBootedInPublicAppStoreMode}}\\n              class=\\\"appstore__app-details__use-in-component o__border pt-4 mb-4\\\"\\n            />\\n          {{/if}}\\n          {{#unless @hideAdditionalAppPackageContent}}\\n            <Appstore::AppPackage::Details::CategoriesComponent\\n              @appPackage={{@appPackage}}\\n              class=\\\"appstore__app-details__label-container mb-4\\\"\\n              @isBootedInPublicAppStoreMode={{@isBootedInPublicAppStoreMode}}\\n              @categories={{this.defaultPublicategories}}\\n            />\\n          {{/unless}}\\n          {{#if (or @appPackage.termsOfServiceUrl @appPackage.privacyPolicyUrl)}}\\n            <div class=\\\"mb-4\\\">\\n              {{#if @appPackage.termsOfServiceUrl}}\\n                <div class=\\\"ember-view appstore__app-details__tos-privacy-link\\\">\\n                  <a\\n                    target=\\\"_blank\\\"\\n                    href=\\\"{{@appPackage.termsOfServiceUrl}}\\\"\\n                    rel=\\\"noopener noreferrer\\\"\\n                    data-test-app-package-terms-of-service-url\\n                  >\\n                    Terms of service\\n                  </a>\\n                  {{ic-interface-icon \\\"new-window\\\"}}\\n                </div>\\n              {{/if}}\\n              {{#if @appPackage.privacyPolicyUrl}}\\n                <div class=\\\"ember-view appstore__app-details__tos-privacy-link\\\">\\n                  <a\\n                    target=\\\"_blank\\\"\\n                    href=\\\"{{@appPackage.privacyPolicyUrl}}\\\"\\n                    rel=\\\"noopener noreferrer\\\"\\n                    data-test-app-package-privacy-policy-url\\n                  >\\n                    Privacy policy\\n                  </a>\\n                  {{ic-interface-icon \\\"new-window\\\"}}\\n                </div>\\n              {{/if}}\\n            </div>\\n          {{/if}}\\n          {{#if @appPackage.isInstalled}}\\n            {{#if @appPackage.isUnderMaintenance}}\\n              <IcTooltip as |t|>\\n                <t.opener>\\n                  <IcButton\\n                    @type=\\\"secondary-destructive\\\"\\n                    @label=\\\"Uninstall\\\"\\n                    class=\\\"u__mt__15\\\"\\n                    @isDisabled={{true}}\\n                    data-test-app-package-maintenance-uninstall-button={{true}}\\n                  />\\n                </t.opener>\\n                <t.content>\\n                  You can't uninstall this app while it's under maintenance\\n                </t.content>\\n              </IcTooltip>\\n            {{else}}\\n              <Appstore::AppPackage::UninstallButton\\n                @app={{this.app}}\\n                @appPackage={{@appPackage}}\\n                @adminNotPermitted={{not this.adminPermitted}}\\n                @uninstall={{this.uninstall}}\\n                @reinstall={{this.reinstall}}\\n                @showReinstallModal={{@showReinstallModal}}\\n              />\\n            {{/if}}\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if this.isMobile}}\\n  <div class=\\\"u__m__15\\\" ...attributes>\\n    <Appstore::AppPackage::Details::DetailsContentComponent\\n      @appPackage={{@appPackage}}\\n    />\\n    {{#if @appPackage.hasCapabilities}}\\n      <Appstore::AppPackage::Details::UseInComponent\\n        @appPackage={{@appPackage}}\\n        @worksWithInboxConversations={{@appPackage.capabilities.works_with_inbox_conversations}}\\n        @worksWithInboxSidebar={{@appPackage.capabilities.works_with_inbox_sidebar}}\\n        @worksWithMessages={{@appPackage.capabilities.works_with_messages}}\\n        @worksWithMessenger={{@appPackage.capabilities.works_with_messenger}}\\n        @worksWithOperator={{@appPackage.capabilities.works_with_operator}}\\n        @isBootedInPublicAppStoreMode={{@isBootedInPublicAppStoreMode}}\\n        class=\\\"u__mt__30\\\"\\n      />\\n    {{/if}}\\n    <Appstore::AppPackage::Details::CategoriesComponent\\n      @appPackage={{@appPackage}}\\n      @isBootedInPublicAppStoreMode={{@isBootedInPublicAppStoreMode}}\\n      @categories={{this.defaultPublicategories}}\\n    />\\n  </div>\\n{{else}}\\n  <div class=\\\"ml-8 mr-8\\\" ...attributes>\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-columns\\\">\\n      <div\\n        class=\\\"layout__box o__flexes-to-1 o__has-rows appstore__app-details__main pr-6 pt-6 pb-6\\\"\\n      >\\n        {{#if (or this.canShowSettings this.canShowAppOnboarding)}}\\n          <div\\n            class=\\\"tabs__discrete-tab__container u__mb__20 u__padl__0 u__padr__0\\\"\\n            data-test-app-package-tabs\\n          >\\n            <a\\n              class=\\\"tabs__discrete-tab u__padt__0 {{if this.showDescription \\\"o__selected\\\"}}\\\"\\n              {{on 'click' (fn this.onTabSelected \\\"description\\\")}}\\n              data-test-app-package-tab=\\\"description\\\"\\n            >\\n              Description\\n            </a>\\n            {{#if this.canShowAppOnboarding}}\\n              <a\\n                class=\\\"tabs__discrete-tab u__padt__0 {{if this.showOnboarding \\\"o__selected\\\"}}\\\"\\n                {{on 'click' (fn this.onTabSelected \\\"onboarding\\\")}}\\n                data-test-app-package-tab=\\\"onboarding\\\"\\n              >\\n                Getting Started\\n              </a>\\n            {{/if}}\\n            {{#if this.canShowSettings}}\\n              <a\\n                class=\\\"tabs__discrete-tab u__padt__0 {{if this.showSettings \\\"o__selected\\\"}}\\\"\\n                {{on 'click' (fn this.onTabSelected \\\"settings\\\")}}\\n                data-test-app-package-tab=\\\"settings\\\"\\n              >\\n                Settings\\n              </a>\\n            {{/if}}\\n          </div>\\n        {{/if}}\\n        {{#if this.showSettings}}\\n          {{#if this.canEditSettings}}\\n            {{#if (and this.fetchSettings.isRunning (not this.appPackageSettings))}}\\n              <div class=\\\"layout__box o__flexes-to-1 o__centers-all\\\">\\n                <IcLoadingIndicator @size=\\\"large\\\" />\\n              </div>\\n            {{else}}\\n              <div\\n                data-test-app-package-settings-container={{@appPackage.id}}\\n                class=\\\"layout__box o__has-rows o__flexes-to-1 u__3dfix z-10\\\"\\n              >\\n                {{component\\n                  (concat \\\"appstore/app-package/settings/\\\" @appPackage.implementationIdentifier \\\"/main\\\")\\n                  app=this.appService.app\\n                  admin=this.appService.app.currentAdmin\\n                  appPackage=@appPackage\\n                  registerHooks=this.registerHooks\\n                  settings=this.appPackageSettings\\n                  install=this.install\\n                  reinstall=this.reinstall\\n                  update=this.update\\n                  installSource=@installSource\\n                  generateRedirectUrl=this.generateRedirectUrl\\n                }}\\n              </div>\\n            {{/if}}\\n          {{else}}\\n            <Appstore::AppPackage::Settings::PermissionsRequestModal\\n              @adminsWhoCanInstallApps={{this.app.adminsWhoCanInstallApps}}\\n              @appName={{@appPackage.name}}\\n              @onModalClose={{fn this.onTabSelected this.defaultTab}}\\n            />\\n          {{/if}}\\n        {{/if}}\\n        {{#if this.showDescription}}\\n          <Appstore::AppPackage::Details::DetailsContentComponent\\n            @appPackage={{@appPackage}}\\n          />\\n        {{/if}}\\n        {{#if this.showOnboarding}}\\n          {{#if this.canShowLinkToSettings}}\\n            <span class=\\\"u__mb__20\\\" data-test-app-package-onboarding-setup-link>\\n              Make sure the app is setup.\\n              <a\\n                class=\\\"text o__standalone-link\\\"\\n                {{on 'click' this.onSettingsLinkClicked}}>\\n                Go to settings {{ic-interface-icon \\\"arrow\\\" color=\\\"blue\\\"}}\\n              </a>\\n            </span>\\n          {{/if}}\\n          <Appstore::AppPackage::Onboarding::OnboardingContainerComponent\\n            @appPackage={{@appPackage}}\\n            @inviteFormStates={{this.inviteFormStates}}\\n            @closeModal={{@closeModal}}\\n          />\\n        {{/if}}\\n      </div>\\n      <div\\n        class=\\\"layout__box appstore__app-details__side-component-layout pl-6 pt-6 pb-6\\\"\\n      >\\n        <div class=\\\"appstore__app-details__side-component-content\\\">\\n          {{#if @isBootedInPublicAppStoreMode}}\\n            <IcButton\\n              @type=\\\"primary\\\"\\n              @label=\\\"Sign in to install\\\"\\n              @onClick={{this.redirectToSignIn}}\\n              class=\\\"w-full mb-4\\\"\\n              data-test-app-package-sign-in-install-button={{true}}\\n            />\\n          {{else}}\\n            <Appstore::AppPackage::InstallButton\\n              @appPackage={{@appPackage}}\\n              @install={{this.install}}\\n              @adminPermitted={{this.adminPermitted}}\\n              class=\\\"mb-4\\\"\\n            />\\n          {{/if}}\\n          {{#if @appPackage.isInstalled}}\\n            <div class=\\\"mb-4\\\">\\n              <Appstore::AppPackage::InstalledBadge\\n                @appPackage={{@appPackage}}\\n              />\\n            </div>\\n          {{/if}}\\n          {{#if this.canShowPricingDetails}}\\n            <div class=\\\"o__border mb-4\\\">\\n              <span class=\\\"text-gray\\\">\\n                External pricing may apply, <a\\n                  target=\\\"_blank\\\"\\n                  rel=\\\"noopener noreferrer\\\"\\n                  class=\\\"appstore__app-details__pricing-page-link\\\"\\n                  href=\\\"{{@appPackage.pricingPageUrl}}\\\"\\n                  {{on 'click' this.trackPricingUrlClick}}\\n                  data-test-app-package-pricing-page-url\\n                >\\n                  view app pricing details\\n                </a>\\n                .\\n              </span>\\n            </div>\\n          {{/if}}\\n          {{#if (and @appPackage.hasCapabilities (not @hideAdditionalAppPackageContent))}}\\n            <Appstore::AppPackage::Details::UseInComponent\\n              @appPackage={{@appPackage}}\\n              @worksWithInboxConversations={{@appPackage.capabilities.works_with_inbox_conversations}}\\n              @worksWithInboxSidebar={{@appPackage.capabilities.works_with_inbox_sidebar}}\\n              @worksWithMessages={{@appPackage.capabilities.works_with_messages}}\\n              @worksWithMessenger={{@appPackage.capabilities.works_with_messenger}}\\n              @worksWithOperator={{@appPackage.capabilities.works_with_operator}}\\n              @isBootedInPublicAppStoreMode={{@isBootedInPublicAppStoreMode}}\\n              class=\\\"appstore__app-details__use-in-component o__border pt-4 mb-4\\\"\\n            />\\n          {{/if}}\\n          {{#unless @hideAdditionalAppPackageContent}}\\n            <Appstore::AppPackage::Details::CategoriesComponent\\n              @appPackage={{@appPackage}}\\n              class=\\\"appstore__app-details__label-container mb-4\\\"\\n              @isBootedInPublicAppStoreMode={{@isBootedInPublicAppStoreMode}}\\n              @categories={{this.defaultPublicategories}}\\n            />\\n          {{/unless}}\\n          {{#if (or @appPackage.termsOfServiceUrl @appPackage.privacyPolicyUrl)}}\\n            <div class=\\\"mb-4\\\">\\n              {{#if @appPackage.termsOfServiceUrl}}\\n                <div class=\\\"ember-view appstore__app-details__tos-privacy-link\\\">\\n                  <a\\n                    target=\\\"_blank\\\"\\n                    href=\\\"{{@appPackage.termsOfServiceUrl}}\\\"\\n                    rel=\\\"noopener noreferrer\\\"\\n                    data-test-app-package-terms-of-service-url\\n                  >\\n                    Terms of service\\n                  </a>\\n                  {{ic-interface-icon \\\"new-window\\\"}}\\n                </div>\\n              {{/if}}\\n              {{#if @appPackage.privacyPolicyUrl}}\\n                <div class=\\\"ember-view appstore__app-details__tos-privacy-link\\\">\\n                  <a\\n                    target=\\\"_blank\\\"\\n                    href=\\\"{{@appPackage.privacyPolicyUrl}}\\\"\\n                    rel=\\\"noopener noreferrer\\\"\\n                    data-test-app-package-privacy-policy-url\\n                  >\\n                    Privacy policy\\n                  </a>\\n                  {{ic-interface-icon \\\"new-window\\\"}}\\n                </div>\\n              {{/if}}\\n            </div>\\n          {{/if}}\\n          {{#if @appPackage.isInstalled}}\\n            {{#if @appPackage.isUnderMaintenance}}\\n              <IcTooltip as |t|>\\n                <t.opener>\\n                  <IcButton\\n                    @type=\\\"secondary-destructive\\\"\\n                    @label=\\\"Uninstall\\\"\\n                    class=\\\"u__mt__15\\\"\\n                    @isDisabled={{true}}\\n                    data-test-app-package-maintenance-uninstall-button={{true}}\\n                  />\\n                </t.opener>\\n                <t.content>\\n                  You can't uninstall this app while it's under maintenance\\n                </t.content>\\n              </IcTooltip>\\n            {{else}}\\n              <Appstore::AppPackage::UninstallButton\\n                @app={{this.app}}\\n                @appPackage={{@appPackage}}\\n                @adminNotPermitted={{not this.adminPermitted}}\\n                @uninstall={{this.uninstall}}\\n                @reinstall={{this.reinstall}}\\n                @showReinstallModal={{@showReinstallModal}}\\n              />\\n            {{/if}}\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { getOwner } from '@ember/application';\nimport { computed, action } from '@ember/object';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport ajax from 'embercom/lib/ajax';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport urlAppend from 'embercom/lib/url-appender';\nimport { and, equal, not, readOnly } from '@ember/object/computed';\nimport { APP_PACKAGE_TABS } from 'embercom/lib/app-store/app-package-constants';\n\nconst NEW_STRIPE_APP_IDENTIFIER = 'stripe';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  store: service(),\n  appService: service(),\n  appstoreService: service(),\n  redirectService: service(),\n  router: service(),\n  permissionsService: service(),\n  onboardingHomeExternalStepService: service(),\n  tagName: '',\n  app: readOnly('appService.app'),\n  isMobile: false,\n\n  init() {\n    this._super(...arguments);\n\n    this.updateSelectedTab();\n\n    let { install_success, error_message } = this.appstoreService.getRedirectQueryParams();\n\n    if (!(install_success === undefined || install_success === null)) {\n      this.sendInstallNotification(install_success, error_message);\n      this._completeOnboardingStep();\n    } else if (!(error_message === undefined || error_message === null)) {\n      this.sendErrorNotification(error_message);\n    }\n\n    this.fetchSettings.perform();\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    this._trackEmailRedirectAction('load');\n  },\n\n  selectedTab: null,\n  showSettings: equal('selectedTab', APP_PACKAGE_TABS.settings),\n  hideSettings: not('showSettings'),\n  showOnboarding: equal('selectedTab', APP_PACKAGE_TABS.onboarding),\n  hideOnboarding: not('showOnboarding'),\n  showDescription: and('hideSettings', 'hideOnboarding'),\n\n  adminPermitted: computed('permissionsService', function() {\n    return this.permissionsService.currentAdminCan('can_manage_apps_and_integrations');\n  }),\n\n  adminNotPermitted: not('adminPermitted'),\n  installConfirmationText: templateString(\"You've successfully installed ${appPackage.name}\"),\n  installErrorText: templateString('An error occurred while installing ${appPackage.name}'),\n  isNotInstalled: not('appPackage.isInstalled'),\n  isNotUnderMaintenance: not('appPackage.isUnderMaintenance'),\n\n  canShowSettings: and(\n    'appPackage.isInstalled',\n    'settingsComponent',\n    'canSeeSettingsIfStripe',\n    'isNotUnderMaintenance',\n  ),\n\n  canEditSettings: computed(\n    'canShowSettings',\n    'appPackage.hasTeammateSettings',\n    'adminPermitted',\n    function() {\n      return this.canShowSettings && (this.appPackage.hasTeammateSettings || this.adminPermitted);\n    },\n  ),\n\n  canShowLinkToSettings: and('canEditSettings', 'canShowAppOnboarding'),\n\n  defaultPublicategories: computed('appPackage.publicCategories.[]', function() {\n    let categories = this.get('appPackage.publicCategories') || [];\n    return categories.filter(category => category.categoryType === 'default');\n  }),\n\n  shouldFetchSettingsModel: and('canEditSettings', 'settingsModel'),\n\n  settingsModel: computed('settingsModelPath', function() {\n    return getOwner(this).factoryFor(`model:${this.settingsModelPath}`);\n  }),\n\n  settingsComponent: computed('settingsComponentPath', function() {\n    return getOwner(this).factoryFor(`component:${this.settingsComponentPath}`);\n  }),\n\n  settingsModelPath: templateString(\n    'appstore/app-package/${appPackage.implementationIdentifier}/settings',\n  ),\n\n  settingsComponentPath: templateString(\n    'appstore/app-package/settings/${appPackage.implementationIdentifier}/main',\n  ),\n\n  canSeeSettingsIfStripe: computed(\n    'appPackage.implementationIdentifier',\n    'app.canUseStripeSettings',\n    function() {\n      return (\n        this.appPackage.implementationIdentifier !== NEW_STRIPE_APP_IDENTIFIER ||\n        this.app.canUseStripeSettings\n      );\n    },\n  ),\n\n  worksWithInboxSidebar: readOnly('appPackage.capabilities.works_with_inbox_sidebar'),\n\n  canShowAppOnboarding: computed(\n    'appPackage.isInstalled',\n    'appPackage.hasCapabilities',\n    'appPackage.startingGuideBlocks',\n    function() {\n      let { isInstalled, hasCapabilities, hasStartingGuide } = this.appPackage;\n      return isInstalled && (hasCapabilities || hasStartingGuide);\n    },\n  ),\n\n  doesNotHavePricingModel: not('appPackage.pricingModel'),\n\n  canShowPricingDetails: and(\n    'isNotInstalled',\n    'appPackage.pricingPageUrl',\n    'doesNotHavePricingModel',\n  ),\n\n  defaultTab: computed('canEditSettings', 'canShowAppOnboarding', function() {\n    if (this.canShowAppOnboarding) {\n      return APP_PACKAGE_TABS.onboarding;\n    } else if (this.canEditSettings) {\n      return APP_PACKAGE_TABS.settings;\n    }\n  }),\n\n  updateSelectedTab() {\n    let { is_onboarding, tab } = this.appstoreService.getRedirectQueryParams();\n    let selectedTab = null;\n\n    if (this.canShowSettings && tab === APP_PACKAGE_TABS.settings) {\n      selectedTab = APP_PACKAGE_TABS.settings;\n    } else if (\n      this.canShowAppOnboarding &&\n      (is_onboarding || tab === APP_PACKAGE_TABS.onboarding)\n    ) {\n      selectedTab = APP_PACKAGE_TABS.onboarding;\n    } else if (tab === APP_PACKAGE_TABS.description) {\n      selectedTab = APP_PACKAGE_TABS.description;\n    }\n\n    if (!selectedTab) {\n      selectedTab = this.defaultTab;\n    }\n\n    this.set('selectedTab', selectedTab);\n  },\n\n  createAppPackageSettings(settings) {\n    let normalizedSettings = this.store.normalize(this.settingsModelPath, settings).data.attributes;\n    return this.store.createFragment(this.settingsModelPath, normalizedSettings);\n  },\n\n  sendInstallNotification(installSuccess, errorMessage) {\n    if (installSuccess === 'true') {\n      let message = this.installConfirmationText;\n      this.notificationsService.notifyConfirmation(message);\n    } else {\n      let message = this.installErrorText;\n      if (errorMessage !== undefined && installSuccess === 'false') {\n        message = `${message}: ${errorMessage}`;\n      }\n      this.notificationsService.notifyError(message);\n    }\n  },\n\n  sendErrorNotification(errorMessage) {\n    let message;\n    if (errorMessage === 'default') {\n      message = 'An error occurred. Please try again.';\n    } else {\n      message = `An error occurred: ${errorMessage}`;\n    }\n    this.notificationsService.notifyError(message);\n  },\n\n  install: task(function*(params) {\n    this._trackButtonClick('clicked_install');\n    this._trackEmailRedirectAction('install');\n    try {\n      if (this.get('appPackage.isOAuthInstall')) {\n        let response = yield this._generateInstallUrl();\n        let url = urlAppend(response.url, params);\n\n        this.redirectService.redirect(url);\n      } else {\n        let installedAppPackage = yield this._sendInstallRequest();\n        this.store.pushPayload({\n          'appstore/app-package': installedAppPackage,\n        });\n        this.updateSelectedTab();\n        this.sendInstallNotification('true');\n        this._completeOnboardingStep();\n        yield this.fetchSettings.perform();\n      }\n    } catch (response) {\n      this.notificationsService.notifyError(response.jqXHR.responseJSON.message);\n    }\n  }).drop(),\n\n  reinstall: task(function*() {\n    this._trackEmailRedirectAction('reinstall');\n    this._trackButtonClick('clicked_reinstall');\n    try {\n      let response = yield this._sendReinstallRequest();\n      this.redirectService.redirect(response.url);\n    } catch (response) {\n      this.notificationsService.notifyError(response.jqXHR.responseJSON.message);\n    }\n  }).drop(),\n\n  uninstall: task(function*(formatted_feedback, feedback) {\n    this._trackButtonClick('uninstalled');\n    this._trackEmailRedirectAction('uninstall');\n    try {\n      let uninstalledAppPackage = yield this._sendUninstallRequest(formatted_feedback, feedback);\n      if (this.afterUninstall) {\n        yield this.afterUninstall.perform();\n      }\n      this._updateAppPackageModelsAfterUninstall(uninstalledAppPackage);\n      this.updateSelectedTab();\n      this.set('showUninstallModal', false);\n      this.notificationsService.notifyConfirmation(\n        `You have successfully uninstalled ${this.get('appPackage.name')}.`,\n      );\n    } catch (response) {\n      this.notificationsService.notifyError(response.jqXHR.responseJSON.message);\n    }\n  }).drop(),\n\n  update: task(function*(settingsFragment) {\n    this._trackButtonClick('saved_settings');\n    try {\n      let settings = settingsFragment.serialize();\n      let updateResponse = yield this._settingsRequest('POST', { settings });\n      this.appPackageSettings.setProperties(updateResponse);\n      this._trackUpdatedSettings();\n      this.notificationsService.notifyConfirmation('Your settings have been successfully updated');\n    } catch (response) {\n      this.notificationsService.notifyError(response.jqXHR.responseJSON.message);\n      this.fetchSettings.perform();\n    }\n  }).drop(),\n\n  fetchSettings: task(function*() {\n    if (!this.shouldFetchSettingsModel) {\n      return;\n    }\n    try {\n      let settings = yield this._settingsRequest('GET');\n      if (settings) {\n        this.set('appPackageSettings', this.createAppPackageSettings(settings));\n      }\n    } catch (response) {\n      this.notificationsService.notifyError(response.jqXHR.responseJSON.message);\n    }\n  }).restartable(),\n\n  generateRedirectUrl: task(function*(redirectUrl, shouldSign) {\n    try {\n      let response = yield this._generateRedirectUrl(redirectUrl, shouldSign);\n      return response.url;\n    } catch (response) {\n      this.notificationsService.notifyError(response.jqXHR.responseJSON.message);\n    }\n  }).drop(),\n\n  _settingsRequest(type = 'GET', requestParams = {}) {\n    let defaultParams = {\n      admin_id: this.get('appService.app.currentAdmin.id'),\n      app_id: this.get('appService.app.id'),\n      implementation_identifier: this.get('appPackage.implementationIdentifier'),\n    };\n\n    let data = Object.assign({}, defaultParams, requestParams);\n    if (type === 'POST') {\n      data = JSON.stringify(data);\n    }\n    return ajax({\n      data,\n      type,\n      noRedirectOn401: true,\n      url: '/ember/appstore/settings',\n    });\n  },\n\n  _generateInstallUrl() {\n    return this._createRequest('/ember/appstore/redirect_url', 'GET');\n  },\n\n  _trackEmailRedirectAction(actionType) {\n    let { email_request } = this.appstoreService.getRedirectQueryParams();\n    if (!email_request) {\n      return;\n    }\n    this.intercomEventService.trackAnalyticsEvent({\n      object: this.appPackage,\n      action: `${email_request}_${actionType}`,\n    });\n  },\n\n  _sendInstallRequest() {\n    return this._createRequest('/ember/appstore/app_packages/install', 'POST');\n  },\n\n  _sendReinstallRequest() {\n    return this._createRequest('/ember/appstore/app_packages/reinstall', 'POST');\n  },\n\n  _sendUninstallRequest(formatted_feedback, feedback) {\n    let params = {\n      formatted_feedback,\n      feedback,\n    };\n    return this._createRequest('/ember/appstore/app_packages/uninstall', 'POST', params);\n  },\n\n  _generateRedirectUrl(redirectUrl, shouldSign) {\n    let params = {\n      redirect_url: redirectUrl,\n      should_sign: shouldSign,\n    };\n    return this._createRequest('/ember/appstore/redirect_url', 'GET', params);\n  },\n\n  _createRequest(url, type = 'GET', requestParams = {}) {\n    let defaultParams = {\n      admin_id: this.get('appService.app.currentAdmin.id'),\n      app_id: this.get('appService.app.id'),\n      app_package_code: this.get('appPackage.id'),\n    };\n    let data = Object.assign({}, defaultParams, requestParams);\n    if (type === 'POST') {\n      data = JSON.stringify(data);\n    }\n    return ajax({ data, type, url });\n  },\n\n  _updateAppPackageModelsAfterUninstall(uninstalledAppPackage) {\n    this.store.pushPayload({\n      'appstore/app-package': uninstalledAppPackage,\n    });\n    let appCard = this.store.peekRecord('appstore/app-card', uninstalledAppPackage.id);\n    if (appCard) {\n      appCard.set('isInstalled', false);\n    }\n  },\n\n  async _completeOnboardingStep() {\n    await this.onboardingHomeExternalStepService.continueSession();\n\n    if (this.onboardingHomeExternalStepService.isCurrentExternalStep('install_an_app')) {\n      this.onboardingHomeExternalStepService.completeExternalStep();\n    }\n  },\n\n  _trackButtonClick(action) {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: this.appPackage,\n      action,\n    });\n  },\n\n  _trackUpdatedSettings() {\n    if (this.get('appPackageSettings.analyticsData')) {\n      this.intercomEventService.trackAnalyticsEvent({\n        object: this.appPackageSettings,\n        action: 'changed',\n        place: 'app_package',\n      });\n    }\n  },\n\n  _trackTabSelected(tab) {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: this.appPackage,\n      action: 'tab_selected',\n      place: 'app_package',\n      selected_tab: tab,\n    });\n    this._trackEmailRedirectAction(`tab_selected_${tab}`);\n  },\n\n  _trackLinkToSettingsClick() {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: this.appPackage,\n      action: 'click',\n      place: 'app_package',\n      current_tab: 'onboarding',\n      selected_tab: 'settings',\n    });\n  },\n\n  registerHooks: action(function(hooks) {\n    this.setProperties(hooks);\n  }),\n\n  onTabSelected: action(function(tab) {\n    this.set('selectedTab', tab);\n    if (typeof this.transitionAppPackageTab !== 'undefined') {\n      this.transitionAppPackageTab(tab);\n    }\n    this._trackTabSelected(tab);\n  }),\n\n  redirectToSignIn: action(function() {\n    this._trackButtonClick('clicked_sign_in_to_install_button');\n    this.appstoreService.redirectToWorkspaceAppstore();\n  }),\n\n  onSettingsLinkClicked: action(function() {\n    let destination = 'settings';\n    this.set('selectedTab', destination);\n    this.transitionAppPackageTab(destination);\n    this._trackLinkToSettingsClick();\n  }),\n\n  trackPricingUrlClick: action(function() {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: this.appPackage,\n      action: 'pricing_url_click',\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.isLoading}}\\n  <div class=\\\"u__pad__40\\\">\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n  </div>\\n{{else if this.hasUsages}}\\n  It implies:\\n  <div class=\\\"pl-2\\\">\\n    {{#if this.usedInMessages}}\\n      <div data-test-app-package-usage-item-messages>\\n        <Appstore::AppPackage::UninstallModal::UsageItem\\n          @itemTitle={{concat\\n            \\\"Live messages using \\\"\\n            this.appPackage.name\\n            \\\" will be paused:\\\"\\n          }}\\n          @items={{this.messagesUsingApp}} as |message|\\n        >\\n          <LinkTo @route=\\\"apps.app.outbound.message\\\" @model={{message}}>\\n            {{message.title}}\\n          </LinkTo>\\n          from {{message.author}}\\n        </Appstore::AppPackage::UninstallModal::UsageItem>\\n      </div>\\n    {{/if}}\\n    {{#if this.usedInBots}}\\n      <div data-test-app-package-usage-item-bots>\\n        <Appstore::AppPackage::UninstallModal::UsageItem\\n          @itemTitle={{concat\\n            \\\"Bots using \\\"\\n            this.appPackage.name\\n            \\\" will be paused:\\\"\\n          }}\\n          @items={{this.botsUsingApp}} as |bot|\\n        >\\n          {{#if (eq bot.type \\\"customBot\\\")}}\\n            <LinkTo\\n              @route=\\\"apps.app.operator.custom-bots.custom-bot.show\\\"\\n              @model={{bot}}\\n              data-test-app-package-usage-sub-item-custom-bot={{true}}\\n            >\\n              {{bot.title}}\\n            </LinkTo>\\n          {{else if (eq bot.type \\\"answerBot\\\")}}\\n            <LinkTo\\n              @route=\\\"apps.app.operator.resolution-bot.answers.answer.show\\\"\\n              @model={{bot}}\\n              data-test-app-package-usage-sub-item-answer-bot={{true}}\\n            >\\n              {{bot.title}}\\n            </LinkTo>\\n          {{else if (eq bot.type \\\"taskBot\\\")}}\\n            <LinkTo\\n              @route=\\\"apps.app.operator.task-bots.leads\\\"\\n              data-test-app-package-usage-sub-item-task-bot={{true}}\\n            >\\n              Task Bot for Leads\\n            </LinkTo>\\n          {{/if}}\\n        </Appstore::AppPackage::UninstallModal::UsageItem>\\n      </div>\\n    {{/if}}\\n    {{#if this.usedInMessengerHome}}\\n      <div data-test-app-package-usage-item-messenger-home>\\n        <Appstore::AppPackage::UninstallModal::UsageItem\\n          @itemTitle={{concat\\n            this.appPackage.name\\n            \\\" is live on your Messenger and will be removed.\\\"\\n          }}\\n        />\\n      </div>\\n    {{/if}}\\n    {{#if this.usedInInboxSidebar}}\\n      <div data-test-app-package-usage-item-inbox-sidebar>\\n        <Appstore::AppPackage::UninstallModal::UsageItem\\n          @itemTitle={{concat\\n            this.appPackage.name\\n            \\\" will be removed from these teammates Inbox conversation details:\\\"\\n          }}\\n          @items={{this.adminsUsingAppInInboxSidebar}} as |admin|\\n        >\\n          {{admin.name}}\\n        </Appstore::AppPackage::UninstallModal::UsageItem>\\n      </div>\\n    {{/if}}\\n    {{#if this.usedInConversations}}\\n      <div data-test-app-package-usage-item-conversations>\\n        <Appstore::AppPackage::UninstallModal::UsageItem\\n          @itemTitle={{concat\\n            \\\"Conversations where \\\"\\n            this.appPackage.name\\n            \\\" has been sent previously will no longer work and will display an error message.\\\"\\n          }}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n  <hr class=\\\"sp__hr u__mt__0\\\" />\\n{{else}}\\n  <hr class=\\\"sp__hr\\\" />\\n{{/if}}\\n\", {\"contents\":\"{{#if this.isLoading}}\\n  <div class=\\\"u__pad__40\\\">\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n  </div>\\n{{else if this.hasUsages}}\\n  It implies:\\n  <div class=\\\"pl-2\\\">\\n    {{#if this.usedInMessages}}\\n      <div data-test-app-package-usage-item-messages>\\n        <Appstore::AppPackage::UninstallModal::UsageItem\\n          @itemTitle={{concat\\n            \\\"Live messages using \\\"\\n            this.appPackage.name\\n            \\\" will be paused:\\\"\\n          }}\\n          @items={{this.messagesUsingApp}} as |message|\\n        >\\n          <LinkTo @route=\\\"apps.app.outbound.message\\\" @model={{message}}>\\n            {{message.title}}\\n          </LinkTo>\\n          from {{message.author}}\\n        </Appstore::AppPackage::UninstallModal::UsageItem>\\n      </div>\\n    {{/if}}\\n    {{#if this.usedInBots}}\\n      <div data-test-app-package-usage-item-bots>\\n        <Appstore::AppPackage::UninstallModal::UsageItem\\n          @itemTitle={{concat\\n            \\\"Bots using \\\"\\n            this.appPackage.name\\n            \\\" will be paused:\\\"\\n          }}\\n          @items={{this.botsUsingApp}} as |bot|\\n        >\\n          {{#if (eq bot.type \\\"customBot\\\")}}\\n            <LinkTo\\n              @route=\\\"apps.app.operator.custom-bots.custom-bot.show\\\"\\n              @model={{bot}}\\n              data-test-app-package-usage-sub-item-custom-bot={{true}}\\n            >\\n              {{bot.title}}\\n            </LinkTo>\\n          {{else if (eq bot.type \\\"answerBot\\\")}}\\n            <LinkTo\\n              @route=\\\"apps.app.operator.resolution-bot.answers.answer.show\\\"\\n              @model={{bot}}\\n              data-test-app-package-usage-sub-item-answer-bot={{true}}\\n            >\\n              {{bot.title}}\\n            </LinkTo>\\n          {{else if (eq bot.type \\\"taskBot\\\")}}\\n            <LinkTo\\n              @route=\\\"apps.app.operator.task-bots.leads\\\"\\n              data-test-app-package-usage-sub-item-task-bot={{true}}\\n            >\\n              Task Bot for Leads\\n            </LinkTo>\\n          {{/if}}\\n        </Appstore::AppPackage::UninstallModal::UsageItem>\\n      </div>\\n    {{/if}}\\n    {{#if this.usedInMessengerHome}}\\n      <div data-test-app-package-usage-item-messenger-home>\\n        <Appstore::AppPackage::UninstallModal::UsageItem\\n          @itemTitle={{concat\\n            this.appPackage.name\\n            \\\" is live on your Messenger and will be removed.\\\"\\n          }}\\n        />\\n      </div>\\n    {{/if}}\\n    {{#if this.usedInInboxSidebar}}\\n      <div data-test-app-package-usage-item-inbox-sidebar>\\n        <Appstore::AppPackage::UninstallModal::UsageItem\\n          @itemTitle={{concat\\n            this.appPackage.name\\n            \\\" will be removed from these teammates Inbox conversation details:\\\"\\n          }}\\n          @items={{this.adminsUsingAppInInboxSidebar}} as |admin|\\n        >\\n          {{admin.name}}\\n        </Appstore::AppPackage::UninstallModal::UsageItem>\\n      </div>\\n    {{/if}}\\n    {{#if this.usedInConversations}}\\n      <div data-test-app-package-usage-item-conversations>\\n        <Appstore::AppPackage::UninstallModal::UsageItem\\n          @itemTitle={{concat\\n            \\\"Conversations where \\\"\\n            this.appPackage.name\\n            \\\" has been sent previously will no longer work and will display an error message.\\\"\\n          }}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n  <hr class=\\\"sp__hr u__mt__0\\\" />\\n{{else}}\\n  <hr class=\\\"sp__hr\\\" />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/app-usages.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/app-usages.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport { notEmpty, or, readOnly } from '@ember/object/computed';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  appService: service(),\n  store: service(),\n\n  init() {\n    this._super(...arguments);\n    this.fetchUsage.perform();\n  },\n\n  isLoading: readOnly('fetchUsage.isRunning'),\n  isDevHub: false,\n  usage: null,\n  messagesUsingApp: readOnly('usage.messages'),\n  botsUsingApp: computed(\n    'usage.customBots',\n    'usage.answers',\n    'usage.operatorQualification',\n    function() {\n      if (!this.usage) {\n        return [];\n      }\n\n      let customBots = this.usage.customBots || [];\n      customBots = customBots.map(bot => Object.assign({}, bot, { type: 'customBot' }));\n\n      let answerBots = this.usage.answers || [];\n      answerBots = answerBots.map(bot => Object.assign({}, bot, { type: 'answerBot' }));\n\n      let taskBots = this.usage.operatorQualification ? [{ type: 'taskBot' }] : [];\n\n      return [...customBots, ...answerBots, ...taskBots];\n    },\n  ),\n  adminsUsingAppInInboxSidebar: readOnly('usage.adminsUsingAppInInboxSidebar'),\n  usedInInboxSidebar: notEmpty('adminsUsingAppInInboxSidebar'),\n\n  usedInMessages: notEmpty('messagesUsingApp'),\n  usedInBots: notEmpty('botsUsingApp'),\n  usedInMessengerHome: readOnly('usage.messengerHome'),\n  usedInConversations: readOnly('usage.conversations'),\n  hasUsages: or(\n    'usedInMessages',\n    'usedInBots',\n    'usedInMessengerHome',\n    'usedInInboxSidebar',\n    'usedInConversations',\n  ),\n\n  fetchUsage: task(function*() {\n    let usage = this.isDevHub\n      ? yield this.store.queryRecord('app-package-install-usage', {\n          app_package_id: this.appPackage.id,\n          app_id: this.app.id,\n        })\n      : yield this.store.findRecord(\n          'app-package-install-usage',\n          this.appPackage.get('appPackageInstallId'),\n        );\n    this.set('usage', usage);\n  }).drop(),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-app-package-capability={{@slug}}>\\n  <div data-test-use-in-product=\\\"{{@name}}\\\">\\n    {{@title}}\\n  </div>\\n  <div\\n    class=\\\"appstore__app-details__svg-container mb-1\\\"\\n    data-test-use-in-product-svg-icon=\\\"{{@svg}}\\\"\\n  >\\n    {{inline-svg @svg class=@svgClass}} {{#if @isBootedInPublicAppStoreMode}}\\n      <LinkTo\\n        @query={{hash\\n          capability=@slug\\n          app_package_code=null\\n          search=null\\n          category=null\\n        }}\\n        class=\\\"u__padl__5 appstore__app-details__capability-link\\\"\\n        data-test-capability-link={{@name}}\\n        data-track-analytics-event-object={{concat\\n          \\\"app_package_\\\"\\n          @slug\\n          \\\"_capability_link\\\"\\n        }}\\n      >\\n        {{@name}}\\n      </LinkTo>\\n    {{else}}\\n      <LinkTo\\n        @query={{hash\\n          capability=@slug\\n          app_package_code=null\\n          search=null\\n          category=null\\n          installed=null\\n        }}\\n        class=\\\"u__padl__5 appstore__app-details__capability-link\\\"\\n        data-test-capability-link={{@name}}\\n        data-track-analytics-event-object={{concat\\n          \\\"app_package_\\\"\\n          @slug\\n          \\\"_capability_link\\\"\\n        }}\\n      >\\n        {{@name}}\\n      </LinkTo>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"text-gray\\\" data-test-capability-subtext>\\n    {{yield}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div data-test-app-package-capability={{@slug}}>\\n  <div data-test-use-in-product=\\\"{{@name}}\\\">\\n    {{@title}}\\n  </div>\\n  <div\\n    class=\\\"appstore__app-details__svg-container mb-1\\\"\\n    data-test-use-in-product-svg-icon=\\\"{{@svg}}\\\"\\n  >\\n    {{inline-svg @svg class=@svgClass}} {{#if @isBootedInPublicAppStoreMode}}\\n      <LinkTo\\n        @query={{hash\\n          capability=@slug\\n          app_package_code=null\\n          search=null\\n          category=null\\n        }}\\n        class=\\\"u__padl__5 appstore__app-details__capability-link\\\"\\n        data-test-capability-link={{@name}}\\n        data-track-analytics-event-object={{concat\\n          \\\"app_package_\\\"\\n          @slug\\n          \\\"_capability_link\\\"\\n        }}\\n      >\\n        {{@name}}\\n      </LinkTo>\\n    {{else}}\\n      <LinkTo\\n        @query={{hash\\n          capability=@slug\\n          app_package_code=null\\n          search=null\\n          category=null\\n          installed=null\\n        }}\\n        class=\\\"u__padl__5 appstore__app-details__capability-link\\\"\\n        data-test-capability-link={{@name}}\\n        data-track-analytics-event-object={{concat\\n          \\\"app_package_\\\"\\n          @slug\\n          \\\"_capability_link\\\"\\n        }}\\n      >\\n        {{@name}}\\n      </LinkTo>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"text-gray\\\" data-test-capability-subtext>\\n    {{yield}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/details/available-in-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/details/available-in-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @categories}}\\n  <h4\\n    class=\\\"text-gray appstore__app-details__label {{if (media 'isMobile') 'u__mt__30' 'u__padt__15'}}\\\"\\n    data-test-app-package-category-list-header\\n  >\\n    Categories\\n  </h4>\\n  {{#each @categories as |category|}}\\n    <LinkTo\\n      @route={{if @isBootedInPublicAppStoreMode 'appstore' 'apps.app.appstore'}}\\n      @query={{hash\\n        category=category.slug\\n        app_package_code=null\\n        search=null\\n        installed=null\\n      }}\\n      data-test-app-package-details-category={{category.slug}}\\n      class=\\\"u__display-inline-block\\\"\\n    >\\n      <span\\n        class=\\\"pill appstore__app-details__category-pill\\\"\\n        {{on \\\"click\\\" (track-analytics-event action=\\\"clicked\\\" object=category)}}\\n      >\\n        {{category.name}}\\n      </span>\\n    </LinkTo>\\n  {{/each}}\\n{{/if}}\\n\", {\"contents\":\"{{#if @categories}}\\n  <h4\\n    class=\\\"text-gray appstore__app-details__label {{if (media 'isMobile') 'u__mt__30' 'u__padt__15'}}\\\"\\n    data-test-app-package-category-list-header\\n  >\\n    Categories\\n  </h4>\\n  {{#each @categories as |category|}}\\n    <LinkTo\\n      @route={{if @isBootedInPublicAppStoreMode 'appstore' 'apps.app.appstore'}}\\n      @query={{hash\\n        category=category.slug\\n        app_package_code=null\\n        search=null\\n        installed=null\\n      }}\\n      data-test-app-package-details-category={{category.slug}}\\n      class=\\\"u__display-inline-block\\\"\\n    >\\n      <span\\n        class=\\\"pill appstore__app-details__category-pill\\\"\\n        {{on \\\"click\\\" (track-analytics-event action=\\\"clicked\\\" object=category)}}\\n      >\\n        {{category.name}}\\n      </span>\\n    </LinkTo>\\n  {{/each}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/details/categories-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/details/categories-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"layout__box appstore__app-details__long-description\\\"\\n  data-test-app-package-description\\n>\\n  {{render-blocks @appPackage.longDescriptionBlocks}}\\n</div>\\n{{#if @appPackage.videoEmbedUrl}}\\n  <Appstore::AppPackage::Details::VideoEmbed\\n    data-test-app-details-video-embed\\n    @appPackage={{@appPackage}}\\n  />\\n{{/if}}\\n<div class=\\\"layout__box o__flexes-to-1 o__scrolls u__padt__10\\\">\\n  <Common::LightboxImage\\n    @analyticsObject={{@appPackage}}\\n    @imageUrls={{@appPackage.imageUrls}}\\n    as |lightbox|\\n  >\\n    {{#each lightbox.items as |item|}}\\n      <lightbox.opener @item={{item}}>\\n        <img\\n          data-test-app-details-images\\n          src=\\\"{{item.src}}\\\"\\n          class=\\\"appstore__app-details__images u__mt__20\\\"\\n        />\\n      </lightbox.opener>\\n    {{/each}}\\n  </Common::LightboxImage>\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"layout__box appstore__app-details__long-description\\\"\\n  data-test-app-package-description\\n>\\n  {{render-blocks @appPackage.longDescriptionBlocks}}\\n</div>\\n{{#if @appPackage.videoEmbedUrl}}\\n  <Appstore::AppPackage::Details::VideoEmbed\\n    data-test-app-details-video-embed\\n    @appPackage={{@appPackage}}\\n  />\\n{{/if}}\\n<div class=\\\"layout__box o__flexes-to-1 o__scrolls u__padt__10\\\">\\n  <Common::LightboxImage\\n    @analyticsObject={{@appPackage}}\\n    @imageUrls={{@appPackage.imageUrls}}\\n    as |lightbox|\\n  >\\n    {{#each lightbox.items as |item|}}\\n      <lightbox.opener @item={{item}}>\\n        <img\\n          data-test-app-details-images\\n          src=\\\"{{item.src}}\\\"\\n          class=\\\"appstore__app-details__images u__mt__20\\\"\\n        />\\n      </lightbox.opener>\\n    {{/each}}\\n  </Common::LightboxImage>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/details/details-content-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/details/details-content-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<div\\n  class=\\\"o__center appstore__app-details__header-container {{if (media\\n      \\\"isMobile\\\"\\n    ) \\\"p-8\\\" \\\"p-10\\\"}}\\\">\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"appstore__app-details__app-icon-bg\\\">\\n      {{#if @logo}}\\n        <img\\n          src=\\\"{{@logo}}\\\"\\n          class=\\\"p-3 appstore__app-details__app-icon\\\"\\n          data-test-app-details-icon\\n        />\\n      {{/if}}\\n    </div>\\n    <div\\n      class=\\\"layout__box o__flexes-to-1 ml-4 {{unless (media\\n          \\\"isMobile\\\"\\n        ) \\\"mt-2\\\"}}\\\"\\n    >\\n      <h1 class=\\\"t__h1 mb-1\\\" data-test-app-package-details-name>\\n        {{@name}}\\n      </h1>\\n      <p data-test-app-package-short-description class=\\\"u__mr_x2 mb-2\\\">\\n        {{@shortDescription}}\\n      </p>\\n      {{#unless (media \\\"isMobile\\\")}}\\n        <Appstore::AppPackage::Details::HeaderBadges\\n          @appName={{@name}}\\n          @builtBy={{@builtBy}}\\n          @developerHomepageUrl={{@developerHomepageUrl}}\\n          @pricingModel={{@pricingModel}}\\n          @pricingPageUrl={{@pricingPageUrl}}\\n          data-test-app-details-header-badges\\n        />\\n      {{/unless}}\\n      {{#if (eq this.salesforceSyncState.importStatus \\\"Completed\\\")}}\\n        <div class=\\\"text-green bg-green-light border-green-light inline-block mt-1 p-1\\\" data-test-app-package-last-synced>\\n          Last sync: {{abbreviated-relative-time-ago-helper this.salesforceSyncState.importCompletedAt}}\\n        </div>\\n      {{/if}}\\n\\n    </div>\\n  </div>\\n  {{#if @appPackage.hasInstallStateUnhealthy}}\\n    <Appstore::AppPackage::InstallMessageUnhealthyStatus\\n      @onReinstallButtonClick={{@onReinstallButtonClick}}\\n      @installStatusMessage={{@appPackage.installStateMessage}}\\n      @installStatusCtaUrl={{@appPackage.installStateCtaUrl}}\\n      @installStatusCtaType={{@appPackage.installStateCtaType}}\\n      @installStatusCtaLabel={{@appPackage.installStateCtaLabel}}\\n    />\\n  {{/if}}\\n\\n  {{#if (and (eq @appPackage.id \\\"salesforce-by-intercom\\\") (has-feature \\\"canUseSalesforceIdentityMapping\\\"))}}\\n    {{#if (or (eq this.salesforceSyncState.importStatus \\\"In Progress\\\") (eq this.salesforceSyncState.importStatus \\\"Preparing\\\"))}}\\n      <br>\\n      <IcCard>\\n        {{#if (eq this.salesforceSyncState.importPercentage 0)}}\\n          <p> Calculating sync progress...</p>\\n        {{else}}\\n          <p> Sync Progress: <b>{{this.salesforceSyncState.importPercentage}}%</b></p>\\n        {{/if}}\\n        <div class=\\\"w-full bg-gray-light mt-4\\\" data-test-status-sync-bar>\\n          <div class=\\\"mt-2 bg-green text-xs leading-none py-1\\\"\\n            style={{this.barPercentage}}></div>\\n        </div>\\n      </IcCard>\\n    {{/if}}\\n  {{/if}}\\n\\n  {{#if (media \\\"isMobile\\\")}}\\n    <Appstore::AppPackage::Details::HeaderBadges\\n      @appName={{@name}}\\n      @builtBy={{@builtBy}}\\n      @developerHomepageUrl={{@developerHomepageUrl}}\\n      @pricingModel={{@pricingModel}}\\n      @pricingPageUrl={{@pricingPageUrl}}\\n      data-test-app-details-header-badges\\n    />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<div\\n  class=\\\"o__center appstore__app-details__header-container {{if (media\\n      \\\"isMobile\\\"\\n    ) \\\"p-8\\\" \\\"p-10\\\"}}\\\">\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"appstore__app-details__app-icon-bg\\\">\\n      {{#if @logo}}\\n        <img\\n          src=\\\"{{@logo}}\\\"\\n          class=\\\"p-3 appstore__app-details__app-icon\\\"\\n          data-test-app-details-icon\\n        />\\n      {{/if}}\\n    </div>\\n    <div\\n      class=\\\"layout__box o__flexes-to-1 ml-4 {{unless (media\\n          \\\"isMobile\\\"\\n        ) \\\"mt-2\\\"}}\\\"\\n    >\\n      <h1 class=\\\"t__h1 mb-1\\\" data-test-app-package-details-name>\\n        {{@name}}\\n      </h1>\\n      <p data-test-app-package-short-description class=\\\"u__mr_x2 mb-2\\\">\\n        {{@shortDescription}}\\n      </p>\\n      {{#unless (media \\\"isMobile\\\")}}\\n        <Appstore::AppPackage::Details::HeaderBadges\\n          @appName={{@name}}\\n          @builtBy={{@builtBy}}\\n          @developerHomepageUrl={{@developerHomepageUrl}}\\n          @pricingModel={{@pricingModel}}\\n          @pricingPageUrl={{@pricingPageUrl}}\\n          data-test-app-details-header-badges\\n        />\\n      {{/unless}}\\n      {{#if (eq this.salesforceSyncState.importStatus \\\"Completed\\\")}}\\n        <div class=\\\"text-green bg-green-light border-green-light inline-block mt-1 p-1\\\" data-test-app-package-last-synced>\\n          Last sync: {{abbreviated-relative-time-ago-helper this.salesforceSyncState.importCompletedAt}}\\n        </div>\\n      {{/if}}\\n\\n    </div>\\n  </div>\\n  {{#if @appPackage.hasInstallStateUnhealthy}}\\n    <Appstore::AppPackage::InstallMessageUnhealthyStatus\\n      @onReinstallButtonClick={{@onReinstallButtonClick}}\\n      @installStatusMessage={{@appPackage.installStateMessage}}\\n      @installStatusCtaUrl={{@appPackage.installStateCtaUrl}}\\n      @installStatusCtaType={{@appPackage.installStateCtaType}}\\n      @installStatusCtaLabel={{@appPackage.installStateCtaLabel}}\\n    />\\n  {{/if}}\\n\\n  {{#if (and (eq @appPackage.id \\\"salesforce-by-intercom\\\") (has-feature \\\"canUseSalesforceIdentityMapping\\\"))}}\\n    {{#if (or (eq this.salesforceSyncState.importStatus \\\"In Progress\\\") (eq this.salesforceSyncState.importStatus \\\"Preparing\\\"))}}\\n      <br>\\n      <IcCard>\\n        {{#if (eq this.salesforceSyncState.importPercentage 0)}}\\n          <p> Calculating sync progress...</p>\\n        {{else}}\\n          <p> Sync Progress: <b>{{this.salesforceSyncState.importPercentage}}%</b></p>\\n        {{/if}}\\n        <div class=\\\"w-full bg-gray-light mt-4\\\" data-test-status-sync-bar>\\n          <div class=\\\"mt-2 bg-green text-xs leading-none py-1\\\"\\n            style={{this.barPercentage}}></div>\\n        </div>\\n      </IcCard>\\n    {{/if}}\\n  {{/if}}\\n\\n  {{#if (media \\\"isMobile\\\")}}\\n    <Appstore::AppPackage::Details::HeaderBadges\\n      @appName={{@name}}\\n      @builtBy={{@builtBy}}\\n      @developerHomepageUrl={{@developerHomepageUrl}}\\n      @pricingModel={{@pricingModel}}\\n      @pricingPageUrl={{@pricingPageUrl}}\\n      data-test-app-details-header-badges\\n    />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/details/details-header-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/details/details-header-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport trustedStyle from '@intercom/embercom-core/lib/trusted-style';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class DetailsHeaderComponent extends Component {\n  @service store;\n  @tracked salesforceSyncState;\n\n  constructor() {\n    super(...arguments);\n    if (\n      this.args.appPackage?.id === 'salesforce-by-intercom' &&\n      this.args.appPackage?.isInstalled\n    ) {\n      this.fetchSalesforceSettings.perform();\n    }\n  }\n\n  @task\n  *fetchSalesforceSettings() {\n    let salesforceSyncState = yield this.store.queryRecord('salesforce-integration', {});\n    this.salesforceSyncState = salesforceSyncState;\n  }\n\n  get barPercentage() {\n    return trustedStyle`width: ${this.salesforceSyncState.importPercentage}%;`;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span class=\\\"mr-4\\\" data-test-header-badge={{@icon}}>\\n  {{ic-interface-icon @icon color=@iconColor}} {{#if (media \\\"isMobile\\\")}}\\n    <span\\n      class=\\\"text-gray appstore__app-details__header__badge-opener-text\\\"\\n      data-test-mobile-header-badge\\n    >\\n      {{@openerText}}\\n    </span>\\n  {{else}}\\n    <IcTooltip @isInteractive={{true}} as |t|>\\n      <t.opener>\\n        <span\\n          class=\\\"text-gray appstore__app-details__header__badge-opener-text\\\"\\n          data-test-header-badge-opener-text\\n        >\\n          {{@openerText}}\\n        </span>\\n      </t.opener>\\n      <t.content>\\n        <div class=\\\"appstore__app-details__header__tooltip-content\\\">\\n          {{yield}}\\n        </div>\\n      </t.content>\\n    </IcTooltip>\\n  {{/if}}\\n</span>\\n\", {\"contents\":\"<span class=\\\"mr-4\\\" data-test-header-badge={{@icon}}>\\n  {{ic-interface-icon @icon color=@iconColor}} {{#if (media \\\"isMobile\\\")}}\\n    <span\\n      class=\\\"text-gray appstore__app-details__header__badge-opener-text\\\"\\n      data-test-mobile-header-badge\\n    >\\n      {{@openerText}}\\n    </span>\\n  {{else}}\\n    <IcTooltip @isInteractive={{true}} as |t|>\\n      <t.opener>\\n        <span\\n          class=\\\"text-gray appstore__app-details__header__badge-opener-text\\\"\\n          data-test-header-badge-opener-text\\n        >\\n          {{@openerText}}\\n        </span>\\n      </t.opener>\\n      <t.content>\\n        <div class=\\\"appstore__app-details__header__tooltip-content\\\">\\n          {{yield}}\\n        </div>\\n      </t.content>\\n    </IcTooltip>\\n  {{/if}}\\n</span>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/details/header-badge.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/details/header-badge.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div ...attributes class=\\\"{{if (media 'isMobile') 'mt-4'}}\\\">\\n  {{#if (eq @builtBy 'Intercom')}}\\n    <Appstore::AppPackage::Details::HeaderBadge\\n      @icon=\\\"intercom\\\"\\n      @iconColor=\\\"blue\\\"\\n      @openerText=\\\"Built by Intercom\\\"\\n    >\\n      This app is built and maintained by Intercom, and is covered by our <a\\n        target=\\\"_blank\\\"\\n        href=\\\"https://www.intercom.com/terms-and-policies#terms\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n      >\\n        terms\\n      </a>\\n      , <a\\n        target=\\\"_blank\\\"\\n        href=\\\"https://www.intercom.com/terms-and-policies#privacy\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n      >\\n        privacy\\n      </a>\\n      and <a\\n        target=\\\"_blank\\\"\\n        href=\\\"https://www.intercom.com/security\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n      >\\n        security\\n      </a>\\n      policies.\\n    </Appstore::AppPackage::Details::HeaderBadge>\\n  {{else if @builtBy}}\\n    <Appstore::AppPackage::Details::HeaderBadge\\n      @icon=\\\"all-companies\\\"\\n      @iconColor=\\\"gray\\\"\\n      @openerText={{concat \\\"Built by \\\" @builtBy}}\\n    >\\n      This app is developed by {{@builtBy\\n      }} and is not owned or operated by Intercom.{{#if @developerHomepageUrl}}\\n        <a target=\\\"_blank\\\" href=\\\"{{@developerHomepageUrl}}\\\" rel=\\\"noopener noreferrer\\\">\\n          See developer’s website.\\n        </a>\\n      {{/if}}\\n    </Appstore::AppPackage::Details::HeaderBadge>\\n  {{/if}}\\n  {{#if (eq @pricingModel 'free')}}\\n    <Appstore::AppPackage::Details::HeaderBadge\\n      @icon=\\\"check\\\"\\n      @iconColor=\\\"blue\\\"\\n      @openerText=\\\"Free\\\"\\n    >\\n      {{@appName\\n      }} is free to use. You don't need a paid account or subscription to use it.\\n    </Appstore::AppPackage::Details::HeaderBadge>\\n  {{else if (eq @pricingModel 'free_trial_available')}}\\n    <Appstore::AppPackage::Details::HeaderBadge\\n      @icon=\\\"check\\\"\\n      @iconColor=\\\"blue\\\"\\n      @openerText=\\\"Trial for free\\\"\\n    >\\n      {{@appName\\n      }} is free for a limited trial. You need to create a paid account to continue\\n      using this app once your trial's ended. See <a\\n        target=\\\"_blank\\\"\\n        href=\\\"{{@pricingPageUrl}}\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n      >app pricing</a>.\\n    </Appstore::AppPackage::Details::HeaderBadge>\\n  {{else if (eq @pricingModel 'free_option_available')}}\\n    <Appstore::AppPackage::Details::HeaderBadge\\n      @icon=\\\"check\\\"\\n      @iconColor=\\\"blue\\\"\\n      @openerText=\\\"Some features free\\\"\\n    >\\n      {{@appName\\n      }} is free for some features. You may be required to upgrade to a paid\\n      account to access all features. See <a\\n        target=\\\"_blank\\\"\\n        href=\\\"{{@pricingPageUrl}}\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n      >app pricing</a>.\\n    </Appstore::AppPackage::Details::HeaderBadge>\\n  {{else if (eq @pricingModel 'paid')}}\\n    <Appstore::AppPackage::Details::HeaderBadge\\n      @icon=\\\"cash\\\"\\n      @iconColor=\\\"gray\\\"\\n      @openerText=\\\"Paid app\\\"\\n    >\\n      {{@appName}} requires a paid account. See <a\\n        target=\\\"_blank\\\"\\n        href=\\\"{{@pricingPageUrl}}\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n      >app pricing</a>.\\n    </Appstore::AppPackage::Details::HeaderBadge>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div ...attributes class=\\\"{{if (media 'isMobile') 'mt-4'}}\\\">\\n  {{#if (eq @builtBy 'Intercom')}}\\n    <Appstore::AppPackage::Details::HeaderBadge\\n      @icon=\\\"intercom\\\"\\n      @iconColor=\\\"blue\\\"\\n      @openerText=\\\"Built by Intercom\\\"\\n    >\\n      This app is built and maintained by Intercom, and is covered by our <a\\n        target=\\\"_blank\\\"\\n        href=\\\"https://www.intercom.com/terms-and-policies#terms\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n      >\\n        terms\\n      </a>\\n      , <a\\n        target=\\\"_blank\\\"\\n        href=\\\"https://www.intercom.com/terms-and-policies#privacy\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n      >\\n        privacy\\n      </a>\\n      and <a\\n        target=\\\"_blank\\\"\\n        href=\\\"https://www.intercom.com/security\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n      >\\n        security\\n      </a>\\n      policies.\\n    </Appstore::AppPackage::Details::HeaderBadge>\\n  {{else if @builtBy}}\\n    <Appstore::AppPackage::Details::HeaderBadge\\n      @icon=\\\"all-companies\\\"\\n      @iconColor=\\\"gray\\\"\\n      @openerText={{concat \\\"Built by \\\" @builtBy}}\\n    >\\n      This app is developed by {{@builtBy\\n      }} and is not owned or operated by Intercom.{{#if @developerHomepageUrl}}\\n        <a target=\\\"_blank\\\" href=\\\"{{@developerHomepageUrl}}\\\" rel=\\\"noopener noreferrer\\\">\\n          See developer’s website.\\n        </a>\\n      {{/if}}\\n    </Appstore::AppPackage::Details::HeaderBadge>\\n  {{/if}}\\n  {{#if (eq @pricingModel 'free')}}\\n    <Appstore::AppPackage::Details::HeaderBadge\\n      @icon=\\\"check\\\"\\n      @iconColor=\\\"blue\\\"\\n      @openerText=\\\"Free\\\"\\n    >\\n      {{@appName\\n      }} is free to use. You don't need a paid account or subscription to use it.\\n    </Appstore::AppPackage::Details::HeaderBadge>\\n  {{else if (eq @pricingModel 'free_trial_available')}}\\n    <Appstore::AppPackage::Details::HeaderBadge\\n      @icon=\\\"check\\\"\\n      @iconColor=\\\"blue\\\"\\n      @openerText=\\\"Trial for free\\\"\\n    >\\n      {{@appName\\n      }} is free for a limited trial. You need to create a paid account to continue\\n      using this app once your trial's ended. See <a\\n        target=\\\"_blank\\\"\\n        href=\\\"{{@pricingPageUrl}}\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n      >app pricing</a>.\\n    </Appstore::AppPackage::Details::HeaderBadge>\\n  {{else if (eq @pricingModel 'free_option_available')}}\\n    <Appstore::AppPackage::Details::HeaderBadge\\n      @icon=\\\"check\\\"\\n      @iconColor=\\\"blue\\\"\\n      @openerText=\\\"Some features free\\\"\\n    >\\n      {{@appName\\n      }} is free for some features. You may be required to upgrade to a paid\\n      account to access all features. See <a\\n        target=\\\"_blank\\\"\\n        href=\\\"{{@pricingPageUrl}}\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n      >app pricing</a>.\\n    </Appstore::AppPackage::Details::HeaderBadge>\\n  {{else if (eq @pricingModel 'paid')}}\\n    <Appstore::AppPackage::Details::HeaderBadge\\n      @icon=\\\"cash\\\"\\n      @iconColor=\\\"gray\\\"\\n      @openerText=\\\"Paid app\\\"\\n    >\\n      {{@appName}} requires a paid account. See <a\\n        target=\\\"_blank\\\"\\n        href=\\\"{{@pricingPageUrl}}\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n      >app pricing</a>.\\n    </Appstore::AppPackage::Details::HeaderBadge>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/details/header-badges.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/details/header-badges.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<h4 class=\\\"text-gray appstore__app-details__label mb-2\\\">\\n  Works with\\n</h4>\\n<div class=\\\"flex flex-col gap-4\\\">\\n  {{#if @worksWithMessages}}\\n    <Appstore::AppPackage::Details::AvailableInComponent\\n      @svg=\\\"products/messages-24px\\\"\\n      @svgClass=\\\"appstore__app-details__product-icon\\\"\\n      @name=\\\"Outbound\\\"\\n      @slug=\\\"messages\\\"\\n      @isBootedInPublicAppStoreMode={{@isBootedInPublicAppStoreMode}}\\n    >\\n      Send in outbound messages\\n    </Appstore::AppPackage::Details::AvailableInComponent>\\n  {{/if}}\\n  {{#if (or @worksWithInboxConversations @worksWithInboxSidebar)}}\\n    <Appstore::AppPackage::Details::AvailableInComponent\\n      @svg=\\\"products/inbox-24px\\\"\\n      @svgClass=\\\"appstore__app-details__product-icon\\\"\\n      @name=\\\"Inbox\\\"\\n      @slug=\\\"inbox\\\"\\n      @isBootedInPublicAppStoreMode={{@isBootedInPublicAppStoreMode}}\\n    >\\n      {{#if @worksWithInboxConversations}}\\n        Send in conversations<br />\\n      {{/if}}\\n      <div\\n        class={{if\\n          (and @worksWithInboxConversations @worksWithInboxSidebar)\\n          \\\"u__mt__5\\\"\\n        }}\\n      ></div>\\n      {{if @worksWithInboxSidebar \\\"Add to conversation details\\\"}}\\n    </Appstore::AppPackage::Details::AvailableInComponent>\\n  {{/if}}\\n  {{#if @worksWithMessenger}}\\n    <Appstore::AppPackage::Details::AvailableInComponent\\n      @svg=\\\"products/messenger-24px\\\"\\n      @svgClass=\\\"appstore__app-details__product-icon\\\"\\n      @name=\\\"Messenger\\\"\\n      @slug=\\\"messenger\\\"\\n      @isBootedInPublicAppStoreMode={{@isBootedInPublicAppStoreMode}}\\n    >\\n      Add to Messenger home\\n    </Appstore::AppPackage::Details::AvailableInComponent>\\n  {{/if}}\\n  {{#if @worksWithOperator}}\\n    <Appstore::AppPackage::Details::AvailableInComponent\\n      @svg=\\\"products/operator-24px\\\"\\n      @svgClass=\\\"appstore__app-details__product-icon\\\"\\n      @name=\\\"Operator\\\"\\n      @slug=\\\"operator\\\"\\n      @isBootedInPublicAppStoreMode={{@isBootedInPublicAppStoreMode}}\\n    >\\n      Use as follow up actions\\n    </Appstore::AppPackage::Details::AvailableInComponent>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<h4 class=\\\"text-gray appstore__app-details__label mb-2\\\">\\n  Works with\\n</h4>\\n<div class=\\\"flex flex-col gap-4\\\">\\n  {{#if @worksWithMessages}}\\n    <Appstore::AppPackage::Details::AvailableInComponent\\n      @svg=\\\"products/messages-24px\\\"\\n      @svgClass=\\\"appstore__app-details__product-icon\\\"\\n      @name=\\\"Outbound\\\"\\n      @slug=\\\"messages\\\"\\n      @isBootedInPublicAppStoreMode={{@isBootedInPublicAppStoreMode}}\\n    >\\n      Send in outbound messages\\n    </Appstore::AppPackage::Details::AvailableInComponent>\\n  {{/if}}\\n  {{#if (or @worksWithInboxConversations @worksWithInboxSidebar)}}\\n    <Appstore::AppPackage::Details::AvailableInComponent\\n      @svg=\\\"products/inbox-24px\\\"\\n      @svgClass=\\\"appstore__app-details__product-icon\\\"\\n      @name=\\\"Inbox\\\"\\n      @slug=\\\"inbox\\\"\\n      @isBootedInPublicAppStoreMode={{@isBootedInPublicAppStoreMode}}\\n    >\\n      {{#if @worksWithInboxConversations}}\\n        Send in conversations<br />\\n      {{/if}}\\n      <div\\n        class={{if\\n          (and @worksWithInboxConversations @worksWithInboxSidebar)\\n          \\\"u__mt__5\\\"\\n        }}\\n      ></div>\\n      {{if @worksWithInboxSidebar \\\"Add to conversation details\\\"}}\\n    </Appstore::AppPackage::Details::AvailableInComponent>\\n  {{/if}}\\n  {{#if @worksWithMessenger}}\\n    <Appstore::AppPackage::Details::AvailableInComponent\\n      @svg=\\\"products/messenger-24px\\\"\\n      @svgClass=\\\"appstore__app-details__product-icon\\\"\\n      @name=\\\"Messenger\\\"\\n      @slug=\\\"messenger\\\"\\n      @isBootedInPublicAppStoreMode={{@isBootedInPublicAppStoreMode}}\\n    >\\n      Add to Messenger home\\n    </Appstore::AppPackage::Details::AvailableInComponent>\\n  {{/if}}\\n  {{#if @worksWithOperator}}\\n    <Appstore::AppPackage::Details::AvailableInComponent\\n      @svg=\\\"products/operator-24px\\\"\\n      @svgClass=\\\"appstore__app-details__product-icon\\\"\\n      @name=\\\"Operator\\\"\\n      @slug=\\\"operator\\\"\\n      @isBootedInPublicAppStoreMode={{@isBootedInPublicAppStoreMode}}\\n    >\\n      Use as follow up actions\\n    </Appstore::AppPackage::Details::AvailableInComponent>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/details/use-in-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/details/use-in-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{on-window 'blur' this.onWindowBlur}}\\n<div ...attributes\\n  class=\\\"appstore__app-details__video-embed__container u__mt__20\\\"\\n  {{on 'mouseenter' (set this.mouseOverVideo true)}}\\n  {{on 'mouseleave' (set this.mouseOverVideo false)}}\\n>\\n  <iframe\\n    data-test-app-details-video-embed-iframe\\n    class=\\\"appstore__app-details__video-embed__iframe\\\"\\n    src=\\\"{{@appPackage.videoEmbedUrl}}\\\"\\n    frameborder=\\\"0\\\"\\n    allowfullscreen\\n  ></iframe>\\n</div>\\n\", {\"contents\":\"{{on-window 'blur' this.onWindowBlur}}\\n<div ...attributes\\n  class=\\\"appstore__app-details__video-embed__container u__mt__20\\\"\\n  {{on 'mouseenter' (set this.mouseOverVideo true)}}\\n  {{on 'mouseleave' (set this.mouseOverVideo false)}}\\n>\\n  <iframe\\n    data-test-app-details-video-embed-iframe\\n    class=\\\"appstore__app-details__video-embed__iframe\\\"\\n    src=\\\"{{@appPackage.videoEmbedUrl}}\\\"\\n    frameborder=\\\"0\\\"\\n    allowfullscreen\\n  ></iframe>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/details/video-embed.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/details/video-embed.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class VideoEmbed extends Component {\n  @service intercomEventService;\n  @tracked mouseOverVideo = false;\n\n  @action\n  onWindowBlur() {\n    if (this.mouseOverVideo) {\n      this.intercomEventService.trackAnalyticsEvent({\n        object: this.args.appPackage,\n        action: 'video_click',\n      });\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.showDocLink}}\\n  <IcContent class=\\\"pt-4 pb-4\\\">\\n    <IcButton\\n      @type=\\\"secondary\\\"\\n      @label=\\\"Open app docs\\\"\\n      @icon=\\\"new-window\\\"\\n      @fit={{true}}\\n      @onClick={{this.openSupportLink}}\\n      data-test-app-package-support-doc\\n    />\\n  </IcContent>\\n{{/if}}\\n\\n{{#if this.showGetAppSupport}}\\n  <IcContent class=\\\"appstore__get-support p-4\\\">\\n    {{#if (gt this.avatars.length 0) }}\\n      <div class=\\\"appstore__get-support__avatars mb-1\\\" data-test-app-package-support-avatars>\\n        {{#each this.avatars as |avatar|}}\\n          {{ic-avatar model=avatar size=\\\"m\\\"}}\\n        {{/each}}\\n      </div>\\n    {{/if}}\\n    <Heading @size=\\\"4\\\">\\n      Have a question?\\n    </Heading>\\n    <Paragraph @styling=\\\"muted\\\" class=\\\"mb-1\\\">\\n      {{this.appPackage.builtBy}}'s team is here to help\\n    </Paragraph>\\n    <span data-test-app-package-support-action>\\n      {{#if this.appPackage.isIntercomApp}}\\n        <span class=\\\"appstore__get-support__messenger\\\">\\n          {{ic-interface-icon 'messenger' color='blue'}}\\n        </span>\\n        <a href=\\\"#\\\" {{on \\\"click\\\" this.openMessenger}}>\\n          <Text @linkStyling=\\\"standalone\\\">Get in touch</Text>\\n        </a>\\n      {{else}}\\n        <span class=\\\"appstore__get-support__email\\\">\\n          {{ic-interface-icon 'message' solo=true color='blue'}}\\n        </span>\\n        <a href=\\\"mailto:{{this.appPackage.supportEmail}}\\\" {{on \\\"click\\\" this.trackOpenEmailLink}}>\\n          <Text @linkStyling=\\\"standalone\\\">Get in touch</Text>\\n        </a>\\n      {{/if}}\\n    </span>\\n  </IcContent>\\n{{/if}}\\n\", {\"contents\":\"{{#if this.showDocLink}}\\n  <IcContent class=\\\"pt-4 pb-4\\\">\\n    <IcButton\\n      @type=\\\"secondary\\\"\\n      @label=\\\"Open app docs\\\"\\n      @icon=\\\"new-window\\\"\\n      @fit={{true}}\\n      @onClick={{this.openSupportLink}}\\n      data-test-app-package-support-doc\\n    />\\n  </IcContent>\\n{{/if}}\\n\\n{{#if this.showGetAppSupport}}\\n  <IcContent class=\\\"appstore__get-support p-4\\\">\\n    {{#if (gt this.avatars.length 0) }}\\n      <div class=\\\"appstore__get-support__avatars mb-1\\\" data-test-app-package-support-avatars>\\n        {{#each this.avatars as |avatar|}}\\n          {{ic-avatar model=avatar size=\\\"m\\\"}}\\n        {{/each}}\\n      </div>\\n    {{/if}}\\n    <Heading @size=\\\"4\\\">\\n      Have a question?\\n    </Heading>\\n    <Paragraph @styling=\\\"muted\\\" class=\\\"mb-1\\\">\\n      {{this.appPackage.builtBy}}'s team is here to help\\n    </Paragraph>\\n    <span data-test-app-package-support-action>\\n      {{#if this.appPackage.isIntercomApp}}\\n        <span class=\\\"appstore__get-support__messenger\\\">\\n          {{ic-interface-icon 'messenger' color='blue'}}\\n        </span>\\n        <a href=\\\"#\\\" {{on \\\"click\\\" this.openMessenger}}>\\n          <Text @linkStyling=\\\"standalone\\\">Get in touch</Text>\\n        </a>\\n      {{else}}\\n        <span class=\\\"appstore__get-support__email\\\">\\n          {{ic-interface-icon 'message' solo=true color='blue'}}\\n        </span>\\n        <a href=\\\"mailto:{{this.appPackage.supportEmail}}\\\" {{on \\\"click\\\" this.trackOpenEmailLink}}>\\n          <Text @linkStyling=\\\"standalone\\\">Get in touch</Text>\\n        </a>\\n      {{/if}}\\n    </span>\\n  </IcContent>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/get-support.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/get-support.hbs\"}});\nimport Component from '@glimmer/component';\nimport safeWindowOpen from 'embercom/lib/safe-window-open';\nimport { showNewMessageInIntercomWidget } from 'embercom/lib/intercom-widget-helper';\nimport { inject as service } from '@ember/service';\nimport EmberObject, { action } from '@ember/object';\nimport { isPresent } from '@ember/utils';\n\nexport default class GetSupport extends Component {\n  @service intercomEventService;\n  appPackage = this.args.appPackage;\n\n  get avatars() {\n    return this.appPackage.adminAvatars.map(avatar =>\n      EmberObject.create({\n        avatarData: {\n          showAsActive: false,\n          url: avatar,\n          displayAsDidUpdate: true,\n        },\n      }),\n    );\n  }\n\n  get showGetAppSupport() {\n    return this.appPackage.isIntercomApp || isPresent(this.appPackage.supportEmail);\n  }\n\n  get showDocLink() {\n    return isPresent(this.appPackage.documentationUrl);\n  }\n\n  @action\n  openSupportLink() {\n    safeWindowOpen(this.appPackage.documentationUrl);\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: `doc_${this.appPackage.isIntercomApp ? 'intercom' : 'partner'}_url_link`,\n      app_package_code: this.appPackage.id,\n    });\n  }\n  @action\n  openMessenger(event) {\n    event.preventDefault();\n    showNewMessageInIntercomWidget();\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: `get_in_touch_with_intercom_link`,\n      app_package_code: this.appPackage.id,\n    });\n  }\n  @action\n  trackOpenEmailLink() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: `get_in_touch_with_partner_link`,\n      app_package_code: this.appPackage.id,\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if appPackage.isThirdPartyAppStoreInstall}}\\n  {{#if appPackage.hasLearnMoreUrl}}\\n    <a\\n      href={{appPackage.learnMoreUrl}}\\n      target=\\\"_blank\\\"\\n      rel=\\\"noopener noreferrer\\\"\\n      data-test-app-package-third-party-button=\\\"true\\\"\\n      {{action \\\"trackLearnMoreClick\\\" preventDefault=false}}\\n    >\\n      <IcButton @label=\\\"Learn more\\\" @type=\\\"secondary\\\" class=\\\"w-full\\\" />\\n    </a>\\n  {{/if}}\\n{{else if appPackage.isInstalled}}\\n  <Appstore::AppPackage::GetSupport @appPackage={{appPackage}} />\\n{{else if appPackage.isUnderMaintenance}}\\n  <IcButton\\n    @type=\\\"primary-live\\\"\\n    class=\\\"w-full\\\"\\n    @isDisabled={{true}}\\n    data-test-app-package-maintenance-install-button={{true}}\\n    @label=\\\"Not available right now\\\"\\n  />\\n{{else if appPackage.isIntercomAppStoreInstall}}\\n  <Paywall\\n    @featureKey={{appPackage.paywallFlag}}\\n    @customCTA={{paywallMessage}} as |paywall|\\n  >\\n    {{#if adminNotPermitted}}\\n      {{#if showModal}}\\n        <Appstore::AppPackage::RequestInstallModal\\n          @closeModal={{action (mut showModal) false}}\\n          @requestInstallDropdownGroupList={{requestInstallDropdownGroupList}}\\n          @setMailToAdmin={{this.setMailToAdmin}}\\n          @requestAppInstall={{this.requestAppInstall}}\\n          @mailToAdmin={{mailToAdmin}}\\n          @appName={{appPackage.name}}\\n        />\\n      {{/if}}\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @onClick={{this.trackAndOpenModal}}\\n        class=\\\"w-full\\\"\\n        data-test-app-package-install-button={{true}}\\n      >\\n        Request install\\n      </IcButton>\\n    {{else if adminNotVerified}}\\n      <Appstore::AppPackage::VerifyEmailButton\\n        data-test-verify-email-component={{true}}\\n      />\\n    {{else}}\\n      <div\\n        data-test-install-button-overlay\\n        class=\\\"layout__box o__flexes-to-1 o__has-columns\\\"\\n        {{tooltip content=\\\"You don't have permissions to install, ask a teammate for help.\\\" isDisabled=(not (and adminNotPermitted paywall.isInactive))}}\\n      >\\n        {{#if (or adminNotPermitted paywall.isActive)}}\\n        <paywall.Hover>\\n          <IcButton\\n            @type=\\\"primary\\\"\\n            @isDisabled={{true}}\\n            class=\\\"w-full\\\"\\n            data-test-app-package-install-button={{true}}\\n          >\\n            {{installButtonText}}\\n          </IcButton>\\n        </paywall.Hover>\\n        {{else if appPackage.hasExtraInstallTypesEnabled}}\\n          <Appstore::AppPackage::MultiInstallTypeButton\\n            @options={{appPackage.extraInstallTypes}}\\n            @label={{installButtonText}}\\n            @handleButtonClick={{perform install \\\"\\\"}}\\n            @handleOption={{perform install}}\\n          />\\n        {{else}}\\n          <IcButton\\n            @type=\\\"primary-live\\\"\\n            @onClick={{perform install \\\"\\\"}}\\n            class=\\\"w-full\\\"\\n            data-test-app-package-install-button={{true}}\\n            @label={{installButtonText}}\\n          />\\n        {{/if}}\\n      </div>\\n    {{/if}}\\n  </Paywall>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if appPackage.isThirdPartyAppStoreInstall}}\\n  {{#if appPackage.hasLearnMoreUrl}}\\n    <a\\n      href={{appPackage.learnMoreUrl}}\\n      target=\\\"_blank\\\"\\n      rel=\\\"noopener noreferrer\\\"\\n      data-test-app-package-third-party-button=\\\"true\\\"\\n      {{action \\\"trackLearnMoreClick\\\" preventDefault=false}}\\n    >\\n      <IcButton @label=\\\"Learn more\\\" @type=\\\"secondary\\\" class=\\\"w-full\\\" />\\n    </a>\\n  {{/if}}\\n{{else if appPackage.isInstalled}}\\n  <Appstore::AppPackage::GetSupport @appPackage={{appPackage}} />\\n{{else if appPackage.isUnderMaintenance}}\\n  <IcButton\\n    @type=\\\"primary-live\\\"\\n    class=\\\"w-full\\\"\\n    @isDisabled={{true}}\\n    data-test-app-package-maintenance-install-button={{true}}\\n    @label=\\\"Not available right now\\\"\\n  />\\n{{else if appPackage.isIntercomAppStoreInstall}}\\n  <Paywall\\n    @featureKey={{appPackage.paywallFlag}}\\n    @customCTA={{paywallMessage}} as |paywall|\\n  >\\n    {{#if adminNotPermitted}}\\n      {{#if showModal}}\\n        <Appstore::AppPackage::RequestInstallModal\\n          @closeModal={{action (mut showModal) false}}\\n          @requestInstallDropdownGroupList={{requestInstallDropdownGroupList}}\\n          @setMailToAdmin={{this.setMailToAdmin}}\\n          @requestAppInstall={{this.requestAppInstall}}\\n          @mailToAdmin={{mailToAdmin}}\\n          @appName={{appPackage.name}}\\n        />\\n      {{/if}}\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @onClick={{this.trackAndOpenModal}}\\n        class=\\\"w-full\\\"\\n        data-test-app-package-install-button={{true}}\\n      >\\n        Request install\\n      </IcButton>\\n    {{else if adminNotVerified}}\\n      <Appstore::AppPackage::VerifyEmailButton\\n        data-test-verify-email-component={{true}}\\n      />\\n    {{else}}\\n      <div\\n        data-test-install-button-overlay\\n        class=\\\"layout__box o__flexes-to-1 o__has-columns\\\"\\n        {{tooltip content=\\\"You don't have permissions to install, ask a teammate for help.\\\" isDisabled=(not (and adminNotPermitted paywall.isInactive))}}\\n      >\\n        {{#if (or adminNotPermitted paywall.isActive)}}\\n        <paywall.Hover>\\n          <IcButton\\n            @type=\\\"primary\\\"\\n            @isDisabled={{true}}\\n            class=\\\"w-full\\\"\\n            data-test-app-package-install-button={{true}}\\n          >\\n            {{installButtonText}}\\n          </IcButton>\\n        </paywall.Hover>\\n        {{else if appPackage.hasExtraInstallTypesEnabled}}\\n          <Appstore::AppPackage::MultiInstallTypeButton\\n            @options={{appPackage.extraInstallTypes}}\\n            @label={{installButtonText}}\\n            @handleButtonClick={{perform install \\\"\\\"}}\\n            @handleOption={{perform install}}\\n          />\\n        {{else}}\\n          <IcButton\\n            @type=\\\"primary-live\\\"\\n            @onClick={{perform install \\\"\\\"}}\\n            class=\\\"w-full\\\"\\n            data-test-app-package-install-button={{true}}\\n            @label={{installButtonText}}\\n          />\\n        {{/if}}\\n      </div>\\n    {{/if}}\\n  </Paywall>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/install-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/install-button.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed, action } from '@ember/object';\nimport Component from '@ember/component';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\nimport { not } from '@ember/object/computed';\nimport { readOnly } from '@ember/object/computed';\nimport ajax from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  adminNotVerified: not('app.currentAdmin.email_verified'),\n  adminNotPermitted: not('adminPermitted'),\n  mailToAdmin: null,\n  showModal: false,\n  installButtonText: ternary('appPackage.isLegacyVersionInstalled', 'Upgrade now', 'Install now'),\n\n  requestInstallDropdownGroupList: computed('app.adminsWhoCanInstallApps', function() {\n    return [\n      {\n        isFilterable: true,\n        items: this.get('app.adminsWhoCanInstallApps').map(admin => ({\n          text: admin.get('name'),\n          value: admin,\n          component: 'common/avatar-and-name-dropdown-item',\n          componentAttrs: {\n            model: admin,\n            modelDisplayName: admin.get('name'),\n            avatarSize: 'xs',\n          },\n        })),\n      },\n    ];\n  }),\n\n  requestInstallTask: task(function*() {\n    try {\n      yield ajax({\n        url: '/ember/appstore/app_packages/request_install',\n        type: 'POST',\n        dataType: 'text',\n        data: JSON.stringify({\n          admin_id: this.get('mailToAdmin.id'),\n          app_package_code: this.get('appPackage.id'),\n          app_id: this.get('app.id'),\n        }),\n      });\n      this.notificationsService.notifyConfirmation('Installation request sent.');\n      this.set('showModal', false);\n    } catch (error) {\n      this.notificationsService.notifyError('Installation request failed, please try again.');\n    }\n  }).drop(),\n\n  trackAndOpenModal: action(function() {\n    this.set('showModal', true);\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'opened_request_install_modal',\n      object: this.appPackage,\n    });\n  }),\n\n  setMailToAdmin: action(function(admin) {\n    this.set('mailToAdmin', admin);\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'mail_to_admin_selected',\n      object: this.appPackage,\n    });\n  }),\n\n  requestAppInstall: action(function() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'requested_install',\n      object: this.appPackage,\n    });\n    this.requestInstallTask.perform();\n  }),\n\n  actions: {\n    trackLearnMoreClick() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked_learn_more',\n        object: this.appPackage,\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"pt-10\\\" data-test-install-message-unhealthy-status>\\n  <IcCard @padding=\\\"relaxed\\\" class=\\\"appstore__app-details__broken-state-box p-6\\\">\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-columns\\\">\\n\\n      <div class=\\\"layout__box o__flexes-to-1 o__has-rows pr-6 o__centers-vertically\\\">\\n        <div data-test-unhealthy-state-message>\\n          {{@installStatusMessage}}\\n        </div>\\n      </div>\\n\\n      {{#if this.isCtaAvailable}}\\n        <div class=\\\"appstore__app-details__broken-state-cta pl-6\\\" data-test-cta-block>\\n          {{#if this.hasReinstallCta}}\\n            <IcButton\\n              @class=\\\"appstore__app-details__uninstall-reinstall-opener\\\"\\n              @type=\\\"primary\\\"\\n              @size=\\\"normal\\\"\\n              @fit={{true}}\\n              @label=\\\"Reinstall\\\"\\n              @onClick={{@onReinstallButtonClick}}\\n              @isDisabled={{this.showReinstallModal}}\\n              data-test-cta-reinstall\\n            />\\n          {{else}}\\n            <IcButton\\n              data-test-custom-cta-partner\\n              @type=\\\"primary\\\"\\n              @size=\\\"normal\\\"\\n              @fit={{true}}\\n              @label={{this.installStatusCtaLabel}}\\n              @onClick={{this.openCtaUrl}}\\n            />\\n          {{/if}}\\n        </div>\\n      {{/if}}\\n    </div>\\n  </IcCard>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"pt-10\\\" data-test-install-message-unhealthy-status>\\n  <IcCard @padding=\\\"relaxed\\\" class=\\\"appstore__app-details__broken-state-box p-6\\\">\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-columns\\\">\\n\\n      <div class=\\\"layout__box o__flexes-to-1 o__has-rows pr-6 o__centers-vertically\\\">\\n        <div data-test-unhealthy-state-message>\\n          {{@installStatusMessage}}\\n        </div>\\n      </div>\\n\\n      {{#if this.isCtaAvailable}}\\n        <div class=\\\"appstore__app-details__broken-state-cta pl-6\\\" data-test-cta-block>\\n          {{#if this.hasReinstallCta}}\\n            <IcButton\\n              @class=\\\"appstore__app-details__uninstall-reinstall-opener\\\"\\n              @type=\\\"primary\\\"\\n              @size=\\\"normal\\\"\\n              @fit={{true}}\\n              @label=\\\"Reinstall\\\"\\n              @onClick={{@onReinstallButtonClick}}\\n              @isDisabled={{this.showReinstallModal}}\\n              data-test-cta-reinstall\\n            />\\n          {{else}}\\n            <IcButton\\n              data-test-custom-cta-partner\\n              @type=\\\"primary\\\"\\n              @size=\\\"normal\\\"\\n              @fit={{true}}\\n              @label={{this.installStatusCtaLabel}}\\n              @onClick={{this.openCtaUrl}}\\n            />\\n          {{/if}}\\n        </div>\\n      {{/if}}\\n    </div>\\n  </IcCard>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/install-message-unhealthy-status.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/install-message-unhealthy-status.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport safeWindowOpen from 'embercom/lib/safe-window-open';\nimport { computed, action } from '@ember/object';\n\nexport const INSTALL_STATUS_CTA_TYPES = {\n  urlCta: 'URL_CTA',\n  reinstallCta: 'REINSTALL_CTA',\n};\n\nexport default Component.extend({\n  tagName: '',\n\n  hasReinstallCta: computed('installStatusCtaType', function() {\n    let { installStatusCtaType } = this;\n    return installStatusCtaType === INSTALL_STATUS_CTA_TYPES.reinstallCta;\n  }),\n\n  isCtaAvailable: computed('installStatusCtaType', function() {\n    let { installStatusCtaType } = this;\n    return Boolean(installStatusCtaType);\n  }),\n\n  openCtaUrl: action(function() {\n    safeWindowOpen(this.installStatusCtaUrl);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row gap-1\\\">\\n  <div class=\\\"flex flex-col text-green\\\" data-test-app-package-installed-icon>\\n    {{ic-interface-icon \\\"rounded-check\\\"}}\\n  </div>\\n  <div class=\\\"flex flex-col flex-1\\\" data-test-app-package-install-date>\\n    <span class=\\\"appstore__app-details__installed-badge\\\">\\n      Installed{{#if @appPackage.installingAdminName}}\\n        <span>\\n          by {{@appPackage.installingAdminName}}\\n        </span>\\n      {{/if}}\\n    </span>\\n    <div class=\\\"t__light-text t__lowercase\\\">\\n      {{abbreviated-relative-time-ago-helper @appPackage.installDate}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row gap-1\\\">\\n  <div class=\\\"flex flex-col text-green\\\" data-test-app-package-installed-icon>\\n    {{ic-interface-icon \\\"rounded-check\\\"}}\\n  </div>\\n  <div class=\\\"flex flex-col flex-1\\\" data-test-app-package-install-date>\\n    <span class=\\\"appstore__app-details__installed-badge\\\">\\n      Installed{{#if @appPackage.installingAdminName}}\\n        <span>\\n          by {{@appPackage.installingAdminName}}\\n        </span>\\n      {{/if}}\\n    </span>\\n    <div class=\\\"t__light-text t__lowercase\\\">\\n      {{abbreviated-relative-time-ago-helper @appPackage.installDate}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/installed-badge.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/installed-badge.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"layout__box o__flexes-to-1 o__has-rows appstore__mobile-modal__container\\\"\\n>\\n  <div\\n    class=\\\"appstore__app-details__header__mobile-close-button\\\"\\n    {{action closeModal}}\\n  >\\n    {{ic-interface-icon \\\"close\\\" solo=true}}\\n  </div>\\n  <Appstore::AppPackage::Details::DetailsHeaderComponent\\n    @name={{appPackage.name}}\\n    @shortDescription={{appPackage.description}}\\n    @builtBy={{appPackage.builtBy}}\\n    @developerHomepageUrl={{appPackage.developerHomepageUrl}}\\n    @logo={{appPackage.iconUrl}}\\n    @pricingPageUrl={{appPackage.pricingPageUrl}}\\n    @pricingModel={{appPackage.pricingModel}}\\n  />\\n  <Appstore::AppPackage\\n    @appPackage={{appPackage}}\\n    @showSettings={{false}}\\n    @isBootedInPublicAppStoreMode={{true}}\\n    @isMobile={{true}}\\n    data-test-app-package-modal={{true}}\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"layout__box o__flexes-to-1 o__has-rows appstore__mobile-modal__container\\\"\\n>\\n  <div\\n    class=\\\"appstore__app-details__header__mobile-close-button\\\"\\n    {{action closeModal}}\\n  >\\n    {{ic-interface-icon \\\"close\\\" solo=true}}\\n  </div>\\n  <Appstore::AppPackage::Details::DetailsHeaderComponent\\n    @name={{appPackage.name}}\\n    @shortDescription={{appPackage.description}}\\n    @builtBy={{appPackage.builtBy}}\\n    @developerHomepageUrl={{appPackage.developerHomepageUrl}}\\n    @logo={{appPackage.iconUrl}}\\n    @pricingPageUrl={{appPackage.pricingPageUrl}}\\n    @pricingModel={{appPackage.pricingModel}}\\n  />\\n  <Appstore::AppPackage\\n    @appPackage={{appPackage}}\\n    @showSettings={{false}}\\n    @isBootedInPublicAppStoreMode={{true}}\\n    @isMobile={{true}}\\n    data-test-app-package-modal={{true}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/mobile-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/mobile-modal.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcModal\\n  @onModalClose={{@closeModal}}\\n  @width=\\\"xl\\\"\\n  @isOpen={{true}}\\n  @internalScroll={{false}}\\n  @neverRenderInPlace={{@isInsideInserter}}\\n  class=\\\"appstore__modal\\\" as |modal|\\n>\\n  {{#if this.loadAppPackage.isRunning}}\\n    <modal.body @fullBleed={{true}}>\\n      <div\\n        class=\\\"layout__box o__flexes-to-1 o__centers-all appstore__modal__loading-container\\\"\\n      >\\n        <IcLoadingIndicator @size=\\\"large\\\" />\\n      </div>\\n    </modal.body>\\n  {{else}}\\n    <modal.body @fullBleed={{true}}>\\n      <div class=\\\"appstore__modal__header\\\">\\n        <Appstore::AppPackage::Details::DetailsHeaderComponent\\n          @name={{this.appPackage.name}}\\n          @shortDescription={{this.appPackage.description}}\\n          @logo={{this.appPackage.iconUrl}}\\n          @builtBy={{this.appPackage.builtBy}}\\n          @developerHomepageUrl={{this.appPackage.developerHomepageUrl}}\\n          @pricingModel={{this.appPackage.pricingModel}}\\n          @pricingPageUrl={{this.appPackage.pricingPageUrl}}\\n          @appPackage={{this.appPackage}}\\n          @onReinstallButtonClick={{action (mut this.showReinstallModal) true}}\\n        />\\n      </div>\\n      {{#if this.appPackage.isUnderMaintenance}}\\n        <IcBanner\\n          data-test-maintenance-banner={{true}}\\n          @text=\\\"This app is under maintenance. Some actions are currently unavailable\\\"\\n          @type=\\\"warning\\\"\\n        />\\n      {{/if}}\\n\\n      <Appstore::AppPackage\\n        @appPackage={{this.appPackage}}\\n        @installSource={{@installSource}}\\n        @hideAdditionalAppPackageContent={{@hideAdditionalAppPackageContent}}\\n        @isBootedInPublicAppStoreMode={{this.isBootedInPublicAppStoreMode}}\\n        @showReinstallModal={{@showReinstallModal}}\\n        @transitionAppPackageTab={{@transitionAppPackageTab}}\\n        @closeModal={{@closeModal}}\\n        data-test-app-package-modal={{this.appPackage.id}}\\n      />\\n\\n      {{#if this.recommendations}}\\n        <div\\n          data-test-app-package-recommendations\\n          class=\\\"appstore__modal__recommendations\\\"\\n        >\\n          <h2\\n            class=\\\"appstore__modal__recommendations-header u__cf u__padt__20 u__padb__20\\\"\\n          >\\n            People who viewed {{this.appPackage.name}} also viewed\\n          </h2>\\n          <div class=\\\"appstore__grid__container\\\">\\n            {{#each this.recommendations as |recommendation|}}\\n              <div class=\\\"appstore__modal__grid__item\\\">\\n                <Appstore::AppCard\\n                  @hideWorksWithMessenger={{true}}\\n                  @appPackage={{recommendation}}\\n                  @hasFixedHeight={{false}}\\n                  @onClick={{this.onAppCardClick}}\\n                />\\n              </div>\\n            {{/each}}\\n          </div>\\n        </div>\\n      {{/if}}\\n    </modal.body>\\n  {{/if}}\\n</IcModal>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcModal\\n  @onModalClose={{@closeModal}}\\n  @width=\\\"xl\\\"\\n  @isOpen={{true}}\\n  @internalScroll={{false}}\\n  @neverRenderInPlace={{@isInsideInserter}}\\n  class=\\\"appstore__modal\\\" as |modal|\\n>\\n  {{#if this.loadAppPackage.isRunning}}\\n    <modal.body @fullBleed={{true}}>\\n      <div\\n        class=\\\"layout__box o__flexes-to-1 o__centers-all appstore__modal__loading-container\\\"\\n      >\\n        <IcLoadingIndicator @size=\\\"large\\\" />\\n      </div>\\n    </modal.body>\\n  {{else}}\\n    <modal.body @fullBleed={{true}}>\\n      <div class=\\\"appstore__modal__header\\\">\\n        <Appstore::AppPackage::Details::DetailsHeaderComponent\\n          @name={{this.appPackage.name}}\\n          @shortDescription={{this.appPackage.description}}\\n          @logo={{this.appPackage.iconUrl}}\\n          @builtBy={{this.appPackage.builtBy}}\\n          @developerHomepageUrl={{this.appPackage.developerHomepageUrl}}\\n          @pricingModel={{this.appPackage.pricingModel}}\\n          @pricingPageUrl={{this.appPackage.pricingPageUrl}}\\n          @appPackage={{this.appPackage}}\\n          @onReinstallButtonClick={{action (mut this.showReinstallModal) true}}\\n        />\\n      </div>\\n      {{#if this.appPackage.isUnderMaintenance}}\\n        <IcBanner\\n          data-test-maintenance-banner={{true}}\\n          @text=\\\"This app is under maintenance. Some actions are currently unavailable\\\"\\n          @type=\\\"warning\\\"\\n        />\\n      {{/if}}\\n\\n      <Appstore::AppPackage\\n        @appPackage={{this.appPackage}}\\n        @installSource={{@installSource}}\\n        @hideAdditionalAppPackageContent={{@hideAdditionalAppPackageContent}}\\n        @isBootedInPublicAppStoreMode={{this.isBootedInPublicAppStoreMode}}\\n        @showReinstallModal={{@showReinstallModal}}\\n        @transitionAppPackageTab={{@transitionAppPackageTab}}\\n        @closeModal={{@closeModal}}\\n        data-test-app-package-modal={{this.appPackage.id}}\\n      />\\n\\n      {{#if this.recommendations}}\\n        <div\\n          data-test-app-package-recommendations\\n          class=\\\"appstore__modal__recommendations\\\"\\n        >\\n          <h2\\n            class=\\\"appstore__modal__recommendations-header u__cf u__padt__20 u__padb__20\\\"\\n          >\\n            People who viewed {{this.appPackage.name}} also viewed\\n          </h2>\\n          <div class=\\\"appstore__grid__container\\\">\\n            {{#each this.recommendations as |recommendation|}}\\n              <div class=\\\"appstore__modal__grid__item\\\">\\n                <Appstore::AppCard\\n                  @hideWorksWithMessenger={{true}}\\n                  @appPackage={{recommendation}}\\n                  @hasFixedHeight={{false}}\\n                  @onClick={{this.onAppCardClick}}\\n                />\\n              </div>\\n            {{/each}}\\n          </div>\\n        </div>\\n      {{/if}}\\n    </modal.body>\\n  {{/if}}\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/modal.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport { task, taskGroup } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport $ from 'jquery';\nimport { isBootedInPublicAppStoreMode, getApiUrl } from 'embercom/lib/embercom-boot-data';\nimport ajax from 'embercom/lib/ajax';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  'data-test-app-package-modal': true,\n  router: service(),\n  intercomEventService: service(),\n  store: service(),\n  appstoreService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  isBootedInPublicAppStoreMode: isBootedInPublicAppStoreMode(),\n  appPackageTasks: taskGroup().enqueue(),\n  showReinstallModal: false,\n\n  init() {\n    this._super(...arguments);\n    this.fetchRecommendations.perform();\n    this.updateViewHistory();\n  },\n\n  click(e) {\n    //@pat - When the app package modal is open in the Inbox, Messenger Home etc we prevent the messenger-framework/app-inserter popover from closing on clicks using hideOnOutsideClick=false. An issue exists where if we close the modal using the close button, hideOnOutsideClick flips to `true`, the click event propagates and causes the app-inserter to auto-close. To keep the app-inserter open when the modal closes we stop any click event propagation caused by clicking the modal close button.\n    if ($(e.target).closest('.js__modal-close').length) {\n      e.stopPropagation();\n    }\n  },\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n\n    if (this.appPackage) {\n      // Need to check if the app package is available before tracking the view event.\n      // The modal is initialised without an app package in the app inserter popup.\n      // The app package is set when the user clicks on a list item.\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'viewed',\n        object: this.appPackage,\n      });\n    }\n  },\n\n  willRender() {\n    this._super(...arguments);\n\n    if (this._shouldLoadAppPackage()) {\n      this.set('recommendations', null);\n      this.loadAppPackage.perform();\n      this.fetchRecommendations.perform();\n    }\n  },\n\n  _shouldLoadAppPackage() {\n    if (!this.appstoreService.hasAppPackageCode()) {\n      return false;\n    }\n    let appPackageCode = this.appstoreService.getRedirectQueryParams().app_package_code;\n    return this.get('appPackage.id') !== appPackageCode;\n  },\n\n  loadAppPackage: task(function*() {\n    let { app_package_code } = this.appstoreService.getRedirectQueryParams();\n    let appPackage = yield this.store.findRecord('appstore/app-package', app_package_code);\n    this.set('appPackage', appPackage);\n  }).group('appPackageTasks'),\n\n  updateViewHistory() {\n    if (this.isBootedInPublicAppStoreMode) {\n      return;\n    }\n    ajax({\n      url: '/ember/appstore/app_packages/viewed',\n      type: 'POST',\n      data: JSON.stringify({\n        app_package_code: this.get('appPackage.id'),\n        app_id: this.get('app.id'),\n      }),\n    });\n  },\n\n  fetchRecommendations: task(function*() {\n    if (!this.showRecommendations) {\n      return;\n    }\n    let urlPath = this.isBootedInPublicAppStoreMode\n      ? '/appstore/app_packages/recommendations'\n      : '/app_package_recommendations';\n\n    let recommendationAppCodes = yield ajax({\n      url: `${getApiUrl()}${urlPath}`,\n      type: 'GET',\n      data: {\n        app_package_code: this.get('appPackage.id'),\n        app_id: this.get('app.id'),\n        count: 4,\n      },\n    });\n\n    let recommendations = yield this.appstoreService.resolveAppPackageCodes(recommendationAppCodes);\n    this.set('recommendations', recommendations);\n  }).group('appPackageTasks'),\n\n  onAppCardClick: action(function(appPackage) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'recommended_app_package',\n      sourceAppPackageCode: this.get('appPackage.id'),\n      recommendedAppPackageCode: appPackage.get('id'),\n    });\n    this.setProperties({\n      recommendations: null,\n      appPackage,\n    });\n    this.updateViewHistory();\n    this.fetchRecommendations.perform();\n    this.element.scrollTop = 0;\n    this.router.transitionTo({\n      queryParams: { app_package_code: appPackage.get('id') },\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcButton\\n  data-test-dropdown-button-primary-action={{true}}\\n  @type=\\\"primary\\\"\\n  @label={{label}}\\n  class=\\\"integrations-hub__connect-action-dropdown-button__primary-action layout__box o__flexes-to-1\\\"\\n  @onClick={{stop-propagation (action handleButtonClick)}}\\n/>\\n<IcButton\\n  data-test-dropdown-button-opener={{true}}\\n  @id=\\\"integrations-hub__connect-action-dropdown-button__opener\\\"\\n  @type=\\\"primary\\\"\\n  @icon=\\\"small-down-arrow\\\"\\n  class=\\\"integrations-hub__connect-action-dropdown-button__opener layout__box u__right\\\"\\n  @onClick={{stop-propagation (action \\\"toggleDropdown\\\")}}\\n/>\\n{{#if isOpen}}\\n  <div\\n    data-test-dropdown-select\\n    class=\\\"overlay o__dropdown z__2 integrations-hub__connect-action-dropdown-button__dropdown\\\"\\n  >\\n    {{#each options as |option index|}}\\n      <div\\n        data-test-dropdown-item=\\\"{{option.id}}\\\"\\n        class=\\\"dropdown__list-item o__hoverable integrations-hub__connect-action-dropdown-button__item\\\"\\n        data-content=\\\"{{option.key}}\\\"\\n        {{action handleOption option.params bubbles=false}}\\n      >\\n        {{option.label}}\\n      </div>\\n    {{/each}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcButton\\n  data-test-dropdown-button-primary-action={{true}}\\n  @type=\\\"primary\\\"\\n  @label={{label}}\\n  class=\\\"integrations-hub__connect-action-dropdown-button__primary-action layout__box o__flexes-to-1\\\"\\n  @onClick={{stop-propagation (action handleButtonClick)}}\\n/>\\n<IcButton\\n  data-test-dropdown-button-opener={{true}}\\n  @id=\\\"integrations-hub__connect-action-dropdown-button__opener\\\"\\n  @type=\\\"primary\\\"\\n  @icon=\\\"small-down-arrow\\\"\\n  class=\\\"integrations-hub__connect-action-dropdown-button__opener layout__box u__right\\\"\\n  @onClick={{stop-propagation (action \\\"toggleDropdown\\\")}}\\n/>\\n{{#if isOpen}}\\n  <div\\n    data-test-dropdown-select\\n    class=\\\"overlay o__dropdown z__2 integrations-hub__connect-action-dropdown-button__dropdown\\\"\\n  >\\n    {{#each options as |option index|}}\\n      <div\\n        data-test-dropdown-item=\\\"{{option.id}}\\\"\\n        class=\\\"dropdown__list-item o__hoverable integrations-hub__connect-action-dropdown-button__item\\\"\\n        data-content=\\\"{{option.key}}\\\"\\n        {{action handleOption option.params bubbles=false}}\\n      >\\n        {{option.label}}\\n      </div>\\n    {{/each}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/multi-install-type-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/multi-install-type-button.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n// eslint-disable-next-line @intercom/intercom/no-legacy-dropdown\nimport ComponentDropdownToggler from 'embercom/components/mixins/component-dropdown-toggler';\n\nexport default Component.extend(ComponentDropdownToggler, {\n  tagName: 'span',\n  alignRight: true,\n  classNameBindings: ['alignRight:u__right:u__left'],\n  classNames: [\n    'integrations-hub__connect-action-dropdown-button',\n    'u__relative',\n    'layout__box',\n    'o__flexes-to-1',\n    'o__has-columns',\n  ],\n\n  label: 'Integrate',\n  options: null,\n  handleButtonClick: null,\n  handleOption: null,\n\n  actions: {\n    toggleDropdown() {\n      if (this.isOpen) {\n        this.send('close');\n      } else {\n        this.send('open');\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-center gap-2\\\">\\n  {{ic-avatar model=@item.model size=\\\"s\\\"}}\\n  <div class=\\\"flex flex-col flex-1 gap-1\\\">{{@item.text}}</div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row items-center gap-2\\\">\\n  {{ic-avatar model=@item.model size=\\\"s\\\"}}\\n  <div class=\\\"flex flex-col flex-1 gap-1\\\">{{@item.text}}</div>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/onboarding/invite-teammates-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/onboarding/invite-teammates-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcCard class=\\\"mb-4\\\" data-test-app-package-invite-teammates-form>\\n  <Paragraph class='mb-4' @styling=\\\"strong\\\">\\n    Invite teamates to use this app\\n  </Paragraph>\\n\\n  <Paragraph class='mb-4' @styling=\\\"muted\\\">\\n    Get the most out of this app by telling your teammates about it.\\n  </Paragraph>\\n  {{#if this.selectedAdmins}}\\n    <div class=\\\"flex flex-col mt-4\\\">\\n      {{#each this.selectedAdmins as |selectedAdmin|}}\\n        <div class=\\\"flex flex-row items-center gap-4 appstore__app-details__invite-teammates__teammate-row pt-2 pb-2\\\" data-test-invite-teammates-form-row={{selectedAdmin.name}}>\\n          {{ic-avatar model=selectedAdmin size=\\\"s\\\"}}\\n\\n          <div class=\\\"flex flex-col flex-1 gap-1\\\">\\n            <Paragraph>{{selectedAdmin.name}}</Paragraph>\\n          </div>\\n\\n          <IcButton\\n            @icon=\\\"close\\\"\\n            @showsIconOnly={{true}}\\n            @subtle={{true}}\\n            @type=\\\"secondary\\\"\\n            @onClick={{fn this.removeAdmin selectedAdmin.id}}\\n            class=\\\"appstore__app-details__invite-teammates__delete-teammate\\\"\\n            data-test-invite-teammates-delete-row />\\n        </div>\\n      {{/each}}\\n    </div>\\n  {{/if}}\\n  <IcSelect\\n    @items={{this.availableAdmins}}\\n    @onSelectItem={{this.addAdmin}}\\n    @mode=\\\"block\\\"\\n    @defaultLabel=\\\"Select Teammate\\\"\\n    @hasFilter={{true}}\\n    @selectedValue={{this.selectedValue}}\\n    @filterPlaceholder=\\\"Search teammmates...\\\"\\n    class=\\\"mt-4 u__pointer-cursor text-blue\\\"\\n    data-test-select-teammate-opener\\n    as |select|\\n  >\\n    <select.opener>\\n      {{ic-interface-icon 'new' solo=true color='new-blue'}}\\n      Select Teammate\\n    </select.opener>\\n  </IcSelect>\\n  {{#if this.selectedAdmins}}\\n    <div>\\n      <IcButton @label=\\\"Send invites\\\" @type=\\\"primary\\\" @onClick={{this.send}} @disabled={{this.isSaving}} class='mt-4' data-test-invite-teammates-submit-button />\\n    </div>\\n  {{/if}}\\n</IcCard>\\n\", {\"contents\":\"<IcCard class=\\\"mb-4\\\" data-test-app-package-invite-teammates-form>\\n  <Paragraph class='mb-4' @styling=\\\"strong\\\">\\n    Invite teamates to use this app\\n  </Paragraph>\\n\\n  <Paragraph class='mb-4' @styling=\\\"muted\\\">\\n    Get the most out of this app by telling your teammates about it.\\n  </Paragraph>\\n  {{#if this.selectedAdmins}}\\n    <div class=\\\"flex flex-col mt-4\\\">\\n      {{#each this.selectedAdmins as |selectedAdmin|}}\\n        <div class=\\\"flex flex-row items-center gap-4 appstore__app-details__invite-teammates__teammate-row pt-2 pb-2\\\" data-test-invite-teammates-form-row={{selectedAdmin.name}}>\\n          {{ic-avatar model=selectedAdmin size=\\\"s\\\"}}\\n\\n          <div class=\\\"flex flex-col flex-1 gap-1\\\">\\n            <Paragraph>{{selectedAdmin.name}}</Paragraph>\\n          </div>\\n\\n          <IcButton\\n            @icon=\\\"close\\\"\\n            @showsIconOnly={{true}}\\n            @subtle={{true}}\\n            @type=\\\"secondary\\\"\\n            @onClick={{fn this.removeAdmin selectedAdmin.id}}\\n            class=\\\"appstore__app-details__invite-teammates__delete-teammate\\\"\\n            data-test-invite-teammates-delete-row />\\n        </div>\\n      {{/each}}\\n    </div>\\n  {{/if}}\\n  <IcSelect\\n    @items={{this.availableAdmins}}\\n    @onSelectItem={{this.addAdmin}}\\n    @mode=\\\"block\\\"\\n    @defaultLabel=\\\"Select Teammate\\\"\\n    @hasFilter={{true}}\\n    @selectedValue={{this.selectedValue}}\\n    @filterPlaceholder=\\\"Search teammmates...\\\"\\n    class=\\\"mt-4 u__pointer-cursor text-blue\\\"\\n    data-test-select-teammate-opener\\n    as |select|\\n  >\\n    <select.opener>\\n      {{ic-interface-icon 'new' solo=true color='new-blue'}}\\n      Select Teammate\\n    </select.opener>\\n  </IcSelect>\\n  {{#if this.selectedAdmins}}\\n    <div>\\n      <IcButton @label=\\\"Send invites\\\" @type=\\\"primary\\\" @onClick={{this.send}} @disabled={{this.isSaving}} class='mt-4' data-test-invite-teammates-submit-button />\\n    </div>\\n  {{/if}}\\n</IcCard>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/onboarding/invite-teammates.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/onboarding/invite-teammates.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class InviteTeammates extends Component {\n  @service appService;\n  @service appstoreService;\n  @service intercomEventService;\n  @service store;\n  @service notificationsService;\n\n  @tracked selectedValue;\n  @tracked selectedAdminIds = [];\n  @tracked isSaving = false;\n  @tracked isLoaded = false;\n\n  get appPackage() {\n    return this.args.appPackage;\n  }\n\n  get allAdminsExceptLoggedIn() {\n    return this.appService.app.humanAdmins.filter(\n      admin => admin.id !== this.appService.app.currentAdmin.id,\n    );\n  }\n\n  get selectedAdmins() {\n    return this.allAdminsExceptLoggedIn.filter(admin => this.selectedAdminIds.includes(admin.id));\n  }\n\n  get notSelectedAdmins() {\n    return this.allAdminsExceptLoggedIn.filter(admin => !this.selectedAdminIds.includes(admin.id));\n  }\n\n  get availableAdmins() {\n    return this.notSelectedAdmins.map(admin => {\n      return {\n        text: admin.name,\n        value: admin.id,\n        model: admin,\n        component: 'appstore/app-package/onboarding/invite-teammates-item',\n      };\n    });\n  }\n\n  trackAnalyticsEvent(action) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: `invite_form_${action}`,\n      place: 'app_package_onboarding_tab',\n      object: this.appPackage,\n    });\n  }\n\n  @action addAdmin(id) {\n    this.selectedAdminIds = this.selectedAdminIds.concat(id);\n    this.selectedValue = undefined;\n    this.trackAnalyticsEvent('add_admin');\n  }\n\n  @action removeAdmin(id) {\n    this.selectedAdminIds = this.selectedAdminIds.filter(selectedId => selectedId !== id);\n    this.trackAnalyticsEvent('remove_admin');\n  }\n\n  @action send() {\n    let { appPackage, selectedAdminIds: adminIds } = this;\n    let invitation = this.store.createRecord('appstore/app-package/invitation', {\n      adminIds,\n      appPackage,\n    });\n    this.sendInvitation.perform(invitation);\n    this.trackAnalyticsEvent('send');\n  }\n\n  @task\n  *sendInvitation(invitation) {\n    this.isSaving = true;\n    try {\n      yield invitation.save();\n      this.selectedAdminIds = [];\n      this.notificationsService.notifyConfirmation('Invites have been successfully sent');\n    } catch (error) {\n      this.notificationsService.notifyError('Something went wrong. Try again later.');\n    }\n    this.isSaving = false;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"appstore__app-details__onboarding__container\\\"\\n  data-test-app-package-onboarding-container={{@appPackage.id}}\\n>\\n  <Appstore::AppPackage::Onboarding::InviteTeammates\\n    @appPackage={{@appPackage}}\\n  />\\n\\n  <Pulse::SettingsAccordion\\n    @openSectionId={{this.openSectionId}}\\n    @onOpenSectionChange={{set this.openSectionId}}\\n    @onSectionDidOpen={{this.trackOpenSection}}\\n    @onSectionDidClose={{this.trackCloseSection}}\\n    as |accordion|\\n  >\\n    {{#if this.startingGuide}}\\n      <accordion.Section @id=\\\"guide\\\" as |section|>\\n        <section.Header\\n          @heading=\\\"How to use {{@appPackage.name}}\\\"\\n          @icon=\\\"article\\\"\\n        />\\n        <section.Body as |body|>\\n          <div class=\\\"appstore__app-details__onboarding__guide pl-4 pr-4\\\">\\n            {{render-blocks this.startingGuide}}\\n          </div>\\n        </section.Body>\\n      </accordion.Section>\\n    {{/if}}\\n\\n    {{#if @appPackage.hasCapabilities}}\\n      <accordion.Section @id=\\\"capabilities\\\" as |section|>\\n        <section.Header\\n          @heading=\\\"Start using this app\\\"\\n          @icon=\\\"engage\\\"\\n        />\\n        <section.Body as |body|>\\n          <div class=\\\"appstore__app-details__onboarding__capabilities pl-16\\\">\\n            {{#if @appPackage.worksWithMessages}}\\n              <Appstore::AppPackage::Onboarding::OnboardingContentComponent\\n                @contentKey=\\\"messages\\\"\\n                @illustrativeIcon=\\\"products/messages-24px\\\"\\n                @title={{concat \\\"Include \\\" @appPackage.name \\\" in your in-app auto message\\\"}}\\n                @subtext=\\\"Go to Outbound\\\"\\n                @headerLink=\\\"apps.app.outbound\\\"\\n                @transitionAction={{fn this.trackAnalyticsEvent 'clicked' 'app-onboarding-messages'}}\\n                @tourCta=\\\"Show me how to use apps in Outbound\\\"\\n                @tourRoute=\\\"apps.app.outbound.messages.auto.new\\\"\\n                @tourQueryParams={{hash deliveryChannel=\\\"2\\\" type=\\\"In-App\\\" product_tour_id=\\\"28167\\\"}}\\n                @tourAction={{fn this.trackAnalyticsEvent 'clicked' 'app-onboarding-messages-tour'}}\\n              />\\n            {{/if}}\\n            {{#if @appPackage.worksWithInboxSidebarAndConversations}}\\n              <Appstore::AppPackage::Onboarding::OnboardingContentComponent\\n                @contentKey=\\\"inbox\\\"\\n                @illustrativeIcon=\\\"products/inbox-24px\\\"\\n                @title={{concat \\\"Insert \\\" @appPackage.name \\\" into replies in conversations\\\"}}\\n                @subtext=\\\"Go to Inbox\\\"\\n                @headerLink=\\\"apps.app.inbox\\\"\\n                @transitionAction={{fn this.trackAnalyticsEvent 'clicked' 'app-onboarding-inbox'}}\\n                @tourCta=\\\"Show me how to reply with an app in Inbox\\\"\\n                @tourRoute=\\\"apps.app.inbox\\\"\\n                @tourQueryParams={{hash product_tour_id=\\\"28176\\\"}}\\n                @tourAction={{fn this.trackAnalyticsEvent 'clicked' 'app-onboarding-inbox-tour'}}\\n                @classes=\\\"pl-8\\\"\\n              >\\n                <h3\\n                  class=\\\"u__ml__40 u__mt__20 t__h3\\\"\\n                  data-test-app-onboarding-content-title\\n                >\\n                  Customize your conversation details with {{@appPackage.name}}\\n                </h3>\\n                {{#if this.usedInAdminSidebar}}\\n                  <div class=\\\"u__ml__40 u__mt__20\\\">\\n                    <span data-test-used-in-inbox-sidebar-icon>\\n                      {{ic-interface-icon \\\"rounded-check\\\" color=\\\"green\\\"}}\\n                    </span>\\n                    <span>\\n                      Added to your conversation details\\n                    </span>\\n                  </div>\\n                {{/if}}\\n              </Appstore::AppPackage::Onboarding::OnboardingContentComponent>\\n            {{else if @appPackage.worksWithInboxSidebar}}\\n              <Appstore::AppPackage::Onboarding::OnboardingContentComponent\\n                @contentKey=\\\"inbox\\\"\\n                @illustrativeIcon=\\\"products/inbox-24px\\\"\\n                @title={{concat\\n                  \\\"Customize your conversation details with \\\"\\n                  @appPackage.name\\n                }}\\n                @subtext=\\\"Go to Inbox\\\"\\n                @headerLink=\\\"apps.app.inbox\\\"\\n                @transitionAction={{fn this.trackAnalyticsEvent 'clicked' 'app-onboarding-inbox'}}\\n                @tourCta=\\\"Show me how customize my Inbox\\\"\\n                @tourRoute=\\\"apps.app.inbox\\\"\\n                @tourQueryParams={{hash product_tour_id=\\\"68283\\\"}}\\n                @tourAction={{fn this.trackAnalyticsEvent 'clicked' 'app-onboarding-inbox-only-tour'}}\\n              >\\n                {{#if this.usedInAdminSidebar}}\\n                  <div class=\\\"u__ml__40 u__mt__15\\\">\\n                    <span data-test-used-in-inbox-sidebar-icon>\\n                      {{ic-interface-icon \\\"rounded-check\\\" color=\\\"green\\\"}}\\n                    </span>\\n                    <span>\\n                      Added to your conversation details\\n                    </span>\\n                  </div>\\n                {{/if}}\\n              </Appstore::AppPackage::Onboarding::OnboardingContentComponent>\\n            {{else if @appPackage.worksWithInboxConversations}}\\n              <Appstore::AppPackage::Onboarding::OnboardingContentComponent\\n                @contentKey=\\\"inbox\\\"\\n                @illustrativeIcon=\\\"products/inbox-24px\\\"\\n                @title={{concat \\\"Insert \\\" @appPackage.name \\\" into replies in conversations\\\"\\n                }}\\n                @subtext=\\\"Go to Inbox\\\"\\n                @headerLink=\\\"apps.app.inbox\\\"\\n                @transitionAction={{fn this.trackAnalyticsEvent 'clicked' 'app-onboarding-inbox'}}\\n                @tourCta=\\\"Show me how to reply with an app in Inbox\\\"\\n                @tourRoute=\\\"apps.app.inbox\\\"\\n                @tourQueryParams={{hash product_tour_id=\\\"28176\\\"}}\\n                @tourAction={{fn this.trackAnalyticsEvent 'clicked' 'app-onboarding-inbox-tour'}}\\n              />\\n            {{/if}}\\n            {{#if @appPackage.worksWithMessenger}}\\n              <Appstore::AppPackage::Onboarding::OnboardingContentComponent\\n                @contentKey=\\\"messenger-home\\\"\\n                @illustrativeIcon=\\\"products/messenger-24px\\\"\\n                @title={{concat \\\"Show \\\" @appPackage.name \\\" to people in your Messenger\\\"}}\\n                @subtext=\\\"Go to Messenger settings\\\"\\n                @headerLink=\\\"apps.app.messenger\\\"\\n                @transitionAction={{fn this.trackAnalyticsEvent 'clicked' 'app-onboarding-messenger'}}\\n                @tourCta=\\\"Show me how to add apps to the Messenger\\\"\\n                @tourRoute=\\\"apps.app.messenger\\\"\\n                @tourQueryParams={{hash product_tour_id=\\\"28165\\\"}}\\n                @tourAction={{fn this.trackAnalyticsEvent 'clicked' 'app-onboarding-messenger-tour'}}\\n              />\\n            {{/if}}\\n            {{#if @appPackage.worksWithOperator}}\\n              <Appstore::AppPackage::Onboarding::OnboardingContentComponent\\n                @contentKey=\\\"operator\\\"\\n                @illustrativeIcon=\\\"products/operator-24px\\\"\\n                @title={{concat\\n                  \\\"Send \\\"\\n                  @appPackage.name\\n                  \\\" as a follow up action in your bots\\\"\\n                }}\\n                @subtext=\\\"Go to Operator\\\"\\n                @headerLink=\\\"apps.app.operator\\\"\\n                @transitionAction={{fn this.trackAnalyticsEvent 'clicked' 'app-onboarding-operator'}}\\n              />\\n            {{/if}}\\n          </div>\\n        </section.Body>\\n      </accordion.Section>\\n    {{/if}}\\n  </Pulse::SettingsAccordion>\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"appstore__app-details__onboarding__container\\\"\\n  data-test-app-package-onboarding-container={{@appPackage.id}}\\n>\\n  <Appstore::AppPackage::Onboarding::InviteTeammates\\n    @appPackage={{@appPackage}}\\n  />\\n\\n  <Pulse::SettingsAccordion\\n    @openSectionId={{this.openSectionId}}\\n    @onOpenSectionChange={{set this.openSectionId}}\\n    @onSectionDidOpen={{this.trackOpenSection}}\\n    @onSectionDidClose={{this.trackCloseSection}}\\n    as |accordion|\\n  >\\n    {{#if this.startingGuide}}\\n      <accordion.Section @id=\\\"guide\\\" as |section|>\\n        <section.Header\\n          @heading=\\\"How to use {{@appPackage.name}}\\\"\\n          @icon=\\\"article\\\"\\n        />\\n        <section.Body as |body|>\\n          <div class=\\\"appstore__app-details__onboarding__guide pl-4 pr-4\\\">\\n            {{render-blocks this.startingGuide}}\\n          </div>\\n        </section.Body>\\n      </accordion.Section>\\n    {{/if}}\\n\\n    {{#if @appPackage.hasCapabilities}}\\n      <accordion.Section @id=\\\"capabilities\\\" as |section|>\\n        <section.Header\\n          @heading=\\\"Start using this app\\\"\\n          @icon=\\\"engage\\\"\\n        />\\n        <section.Body as |body|>\\n          <div class=\\\"appstore__app-details__onboarding__capabilities pl-16\\\">\\n            {{#if @appPackage.worksWithMessages}}\\n              <Appstore::AppPackage::Onboarding::OnboardingContentComponent\\n                @contentKey=\\\"messages\\\"\\n                @illustrativeIcon=\\\"products/messages-24px\\\"\\n                @title={{concat \\\"Include \\\" @appPackage.name \\\" in your in-app auto message\\\"}}\\n                @subtext=\\\"Go to Outbound\\\"\\n                @headerLink=\\\"apps.app.outbound\\\"\\n                @transitionAction={{fn this.trackAnalyticsEvent 'clicked' 'app-onboarding-messages'}}\\n                @tourCta=\\\"Show me how to use apps in Outbound\\\"\\n                @tourRoute=\\\"apps.app.outbound.messages.auto.new\\\"\\n                @tourQueryParams={{hash deliveryChannel=\\\"2\\\" type=\\\"In-App\\\" product_tour_id=\\\"28167\\\"}}\\n                @tourAction={{fn this.trackAnalyticsEvent 'clicked' 'app-onboarding-messages-tour'}}\\n              />\\n            {{/if}}\\n            {{#if @appPackage.worksWithInboxSidebarAndConversations}}\\n              <Appstore::AppPackage::Onboarding::OnboardingContentComponent\\n                @contentKey=\\\"inbox\\\"\\n                @illustrativeIcon=\\\"products/inbox-24px\\\"\\n                @title={{concat \\\"Insert \\\" @appPackage.name \\\" into replies in conversations\\\"}}\\n                @subtext=\\\"Go to Inbox\\\"\\n                @headerLink=\\\"apps.app.inbox\\\"\\n                @transitionAction={{fn this.trackAnalyticsEvent 'clicked' 'app-onboarding-inbox'}}\\n                @tourCta=\\\"Show me how to reply with an app in Inbox\\\"\\n                @tourRoute=\\\"apps.app.inbox\\\"\\n                @tourQueryParams={{hash product_tour_id=\\\"28176\\\"}}\\n                @tourAction={{fn this.trackAnalyticsEvent 'clicked' 'app-onboarding-inbox-tour'}}\\n                @classes=\\\"pl-8\\\"\\n              >\\n                <h3\\n                  class=\\\"u__ml__40 u__mt__20 t__h3\\\"\\n                  data-test-app-onboarding-content-title\\n                >\\n                  Customize your conversation details with {{@appPackage.name}}\\n                </h3>\\n                {{#if this.usedInAdminSidebar}}\\n                  <div class=\\\"u__ml__40 u__mt__20\\\">\\n                    <span data-test-used-in-inbox-sidebar-icon>\\n                      {{ic-interface-icon \\\"rounded-check\\\" color=\\\"green\\\"}}\\n                    </span>\\n                    <span>\\n                      Added to your conversation details\\n                    </span>\\n                  </div>\\n                {{/if}}\\n              </Appstore::AppPackage::Onboarding::OnboardingContentComponent>\\n            {{else if @appPackage.worksWithInboxSidebar}}\\n              <Appstore::AppPackage::Onboarding::OnboardingContentComponent\\n                @contentKey=\\\"inbox\\\"\\n                @illustrativeIcon=\\\"products/inbox-24px\\\"\\n                @title={{concat\\n                  \\\"Customize your conversation details with \\\"\\n                  @appPackage.name\\n                }}\\n                @subtext=\\\"Go to Inbox\\\"\\n                @headerLink=\\\"apps.app.inbox\\\"\\n                @transitionAction={{fn this.trackAnalyticsEvent 'clicked' 'app-onboarding-inbox'}}\\n                @tourCta=\\\"Show me how customize my Inbox\\\"\\n                @tourRoute=\\\"apps.app.inbox\\\"\\n                @tourQueryParams={{hash product_tour_id=\\\"68283\\\"}}\\n                @tourAction={{fn this.trackAnalyticsEvent 'clicked' 'app-onboarding-inbox-only-tour'}}\\n              >\\n                {{#if this.usedInAdminSidebar}}\\n                  <div class=\\\"u__ml__40 u__mt__15\\\">\\n                    <span data-test-used-in-inbox-sidebar-icon>\\n                      {{ic-interface-icon \\\"rounded-check\\\" color=\\\"green\\\"}}\\n                    </span>\\n                    <span>\\n                      Added to your conversation details\\n                    </span>\\n                  </div>\\n                {{/if}}\\n              </Appstore::AppPackage::Onboarding::OnboardingContentComponent>\\n            {{else if @appPackage.worksWithInboxConversations}}\\n              <Appstore::AppPackage::Onboarding::OnboardingContentComponent\\n                @contentKey=\\\"inbox\\\"\\n                @illustrativeIcon=\\\"products/inbox-24px\\\"\\n                @title={{concat \\\"Insert \\\" @appPackage.name \\\" into replies in conversations\\\"\\n                }}\\n                @subtext=\\\"Go to Inbox\\\"\\n                @headerLink=\\\"apps.app.inbox\\\"\\n                @transitionAction={{fn this.trackAnalyticsEvent 'clicked' 'app-onboarding-inbox'}}\\n                @tourCta=\\\"Show me how to reply with an app in Inbox\\\"\\n                @tourRoute=\\\"apps.app.inbox\\\"\\n                @tourQueryParams={{hash product_tour_id=\\\"28176\\\"}}\\n                @tourAction={{fn this.trackAnalyticsEvent 'clicked' 'app-onboarding-inbox-tour'}}\\n              />\\n            {{/if}}\\n            {{#if @appPackage.worksWithMessenger}}\\n              <Appstore::AppPackage::Onboarding::OnboardingContentComponent\\n                @contentKey=\\\"messenger-home\\\"\\n                @illustrativeIcon=\\\"products/messenger-24px\\\"\\n                @title={{concat \\\"Show \\\" @appPackage.name \\\" to people in your Messenger\\\"}}\\n                @subtext=\\\"Go to Messenger settings\\\"\\n                @headerLink=\\\"apps.app.messenger\\\"\\n                @transitionAction={{fn this.trackAnalyticsEvent 'clicked' 'app-onboarding-messenger'}}\\n                @tourCta=\\\"Show me how to add apps to the Messenger\\\"\\n                @tourRoute=\\\"apps.app.messenger\\\"\\n                @tourQueryParams={{hash product_tour_id=\\\"28165\\\"}}\\n                @tourAction={{fn this.trackAnalyticsEvent 'clicked' 'app-onboarding-messenger-tour'}}\\n              />\\n            {{/if}}\\n            {{#if @appPackage.worksWithOperator}}\\n              <Appstore::AppPackage::Onboarding::OnboardingContentComponent\\n                @contentKey=\\\"operator\\\"\\n                @illustrativeIcon=\\\"products/operator-24px\\\"\\n                @title={{concat\\n                  \\\"Send \\\"\\n                  @appPackage.name\\n                  \\\" as a follow up action in your bots\\\"\\n                }}\\n                @subtext=\\\"Go to Operator\\\"\\n                @headerLink=\\\"apps.app.operator\\\"\\n                @transitionAction={{fn this.trackAnalyticsEvent 'clicked' 'app-onboarding-operator'}}\\n              />\\n            {{/if}}\\n          </div>\\n        </section.Body>\\n      </accordion.Section>\\n    {{/if}}\\n  </Pulse::SettingsAccordion>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/onboarding/onboarding-container-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/onboarding/onboarding-container-component.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\nimport { isEmpty } from '@ember/utils';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { task } from 'ember-concurrency-decorators';\nimport { isBootedInPublicAppStoreMode } from 'embercom/lib/embercom-boot-data';\n\nexport default class AppStoreAppPackageOnboardingContainerComponent extends Component {\n  @service store;\n  @service appService;\n  @service appstoreService;\n  @service intercomEventService;\n\n  @tracked inboxSidebarAppIds = [];\n  @tracked openSectionId = this.defaultOpenedSection;\n\n  constructor() {\n    super(...arguments);\n    if (this.args.appPackage.worksWithInboxSidebar) {\n      this._loadInboxAppIdsUsedInSidebar.perform();\n    }\n  }\n\n  @task *_loadInboxAppIdsUsedInSidebar() {\n    let allSidebarSectionsForAdmin = isBootedInPublicAppStoreMode()\n      ? { sections: [] }\n      : yield this.store.queryRecord('inbox/admin-app-sidebar-section-list', {\n          filter: {\n            appId: this.appService.app.id,\n            adminId: this.appService.app.currentAdmin.id,\n          },\n        });\n\n    this.inboxSidebarAppIds = allSidebarSectionsForAdmin.sections.reduce((accum, section) => {\n      if (section.inboxAppId) {\n        accum.push(section.inboxAppId);\n      }\n      return accum;\n    }, []);\n  }\n\n  get usedInAdminSidebar() {\n    return this.inboxSidebarAppIds.includes(this.args.appPackage.inboxAppId);\n  }\n\n  get startingGuide() {\n    return this.args.appPackage.startingGuideBlocks;\n  }\n\n  get defaultOpenedSection() {\n    return isEmpty(this.startingGuide) ? 'capabilities' : 'guide';\n  }\n\n  @action trackOpenSection(sectionName) {\n    this.trackAnalyticsEvent('open', `app-onboarding-section_${sectionName}`, {\n      app_package_code: this.args.appPackage.id,\n    });\n  }\n\n  @action trackCloseSection(sectionName) {\n    this.trackAnalyticsEvent('close', `app-onboarding-section_${sectionName}`, {\n      app_package_code: this.args.appPackage.id,\n    });\n  }\n\n  @action trackAnalyticsEvent(eventAction, eventObject, extras = {}) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: eventAction,\n      object: eventObject,\n      ...extras,\n    });\n\n    let { email_request } = this.appstoreService.getRedirectQueryParams();\n    if (email_request) {\n      let emailRequestAction = `${email_request}_${eventAction}`;\n      this.intercomEventService.trackAnalyticsEvent({\n        object: eventObject,\n        action: emailRequestAction,\n        ...extras,\n      });\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"appstore__app-details__onboarding__content pb-4 pt-6 {{@padding}}\\\"\\n  data-test-onboarding-content=\\\"{{@contentKey}}\\\"\\n>\\n  <div class=\\\"u__left\\\">\\n    {{#if @illustrativeIcon}}\\n      <span data-test-onboarding-content-illustrative-icon=\\\"{{@illustrativeIcon}}\\\">\\n        {{inline-svg\\n          @illustrativeIcon\\n          class=\\\"appstore__app-details__illustrative-icon\\\"\\n        }}\\n      </span>\\n    {{/if}}\\n  </div>\\n\\n  <h3 class=\\\"t__h3\\\" data-test-app-onboarding-content-title>\\n    {{@title}}\\n  </h3>\\n\\n  {{yield}}\\n\\n  <div class=\\\"u__ml__40 u__padt__15\\\">\\n    <LinkTo @route={{@headerLink}} {{on \\\"click\\\" (action @transitionAction)}} data-test-onboarding-link>\\n      <IcButton @label={{@subtext}} @type=\\\"secondary\\\" />\\n    </LinkTo>\\n  </div>\\n\\n  <div class=\\\"u__ml__40 u__padt__10 u__padb__15\\\">\\n    {{#if @tourRoute}}\\n      <Paragraph @styling=\\\"small\\\">\\n        Need help?\\n        <LinkTo @route={{@tourRoute}} @query={{@tourQueryParams}} {{on \\\"click\\\" (action @tourAction)}} data-test-onboarding-tour>\\n          {{@tourCta}}\\n        </LinkTo>\\n      </Paragraph>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"appstore__app-details__onboarding__content pb-4 pt-6 {{@padding}}\\\"\\n  data-test-onboarding-content=\\\"{{@contentKey}}\\\"\\n>\\n  <div class=\\\"u__left\\\">\\n    {{#if @illustrativeIcon}}\\n      <span data-test-onboarding-content-illustrative-icon=\\\"{{@illustrativeIcon}}\\\">\\n        {{inline-svg\\n          @illustrativeIcon\\n          class=\\\"appstore__app-details__illustrative-icon\\\"\\n        }}\\n      </span>\\n    {{/if}}\\n  </div>\\n\\n  <h3 class=\\\"t__h3\\\" data-test-app-onboarding-content-title>\\n    {{@title}}\\n  </h3>\\n\\n  {{yield}}\\n\\n  <div class=\\\"u__ml__40 u__padt__15\\\">\\n    <LinkTo @route={{@headerLink}} {{on \\\"click\\\" (action @transitionAction)}} data-test-onboarding-link>\\n      <IcButton @label={{@subtext}} @type=\\\"secondary\\\" />\\n    </LinkTo>\\n  </div>\\n\\n  <div class=\\\"u__ml__40 u__padt__10 u__padb__15\\\">\\n    {{#if @tourRoute}}\\n      <Paragraph @styling=\\\"small\\\">\\n        Need help?\\n        <LinkTo @route={{@tourRoute}} @query={{@tourQueryParams}} {{on \\\"click\\\" (action @tourAction)}} data-test-onboarding-tour>\\n          {{@tourCta}}\\n        </LinkTo>\\n      </Paragraph>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/onboarding/onboarding-content-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/onboarding/onboarding-content-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcCard\\n  class=\\\"appstore__app-details__invite-teammates mb-8\\\"\\n  data-test-app-package-invite-teammates-success\\n>\\n  <div class=\\\"flex flex-row items-center\\\">\\n    <div class=\\\"flex flex-col flex-1 gap-1\\\">\\n      <Paragraph @styling=\\\"strong\\\">\\n        You have invited {{ pluralize @selectedAdminIds.length \\\"teammate\\\" }} to try {{@appPackage.name}} with you in Intercom! 🎉\\n      </Paragraph>\\n    </div>\\n  </div>\\n</IcCard>\\n\", {\"contents\":\"<IcCard\\n  class=\\\"appstore__app-details__invite-teammates mb-8\\\"\\n  data-test-app-package-invite-teammates-success\\n>\\n  <div class=\\\"flex flex-row items-center\\\">\\n    <div class=\\\"flex flex-col flex-1 gap-1\\\">\\n      <Paragraph @styling=\\\"strong\\\">\\n        You have invited {{ pluralize @selectedAdminIds.length \\\"teammate\\\" }} to try {{@appPackage.name}} with you in Intercom! 🎉\\n      </Paragraph>\\n    </div>\\n  </div>\\n</IcCard>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/onboarding/success-message.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/onboarding/success-message.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcModal\\n  @onModalClose={{@closeModal}}\\n  @isOpen={{true}}\\n  @width=\\\"m\\\" as |modal|\\n>\\n  <modal.header @title={{concat \\\"Reinstall \\\" this.appPackage.name}} />\\n  <modal.body>\\n    {{#if this.isProtectedAppPackage}}\\n      <p>\\n        This is a protected app package. Reinstalling could have unintended side effects\\n      </p>\\n    {{/if}}\\n    <p data-test-app-package-reinstall-modal-introduction>\\n      Be careful, reinstalling this app may significantly affect your use of Intercom.\\n    </p>\\n    <Appstore::AppPackage::AppUsages\\n      @app={{this.app}}\\n      @appPackage={{this.appPackage}}\\n      @isDevHub={{this.isDevHub}}\\n    />\\n    <div>\\n      <p data-test-app-package-reinstall-modal-conclusion>\\n        Please type <b>\\n          REINSTALL\\n        </b>\\n        below to confirm that you really want to remove {{appPackage.name\\n        }} from the <b>\\n          {{appName}}\\n        </b>\\n        workspace. You can't undo this.\\n      </p>\\n      <Input\\n        @class=\\\"u__mt__10 f__text\\\"\\n        @value={{this.reinstallConfirmValue}}\\n        @placeholder=\\\"Type REINSTALL to confirm\\\"\\n        @disabled={{this.isReinstalling}}\\n        data-test-app-package-reinstall-modal-confirm-input\\n      />\\n    </div>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=(if this.isReinstalling \\\"Reinstalling...\\\" \\\"Reinstall\\\")\\n      disabled=(or (not this.canReinstall) this.isReinstalling)\\n      action=this.confirm\\n      type=\\\"destructive\\\"\\n    }}\\n    @secondaryButton={{hash label=\\\"Cancel\\\" action=@closeModal}}\\n  />\\n</IcModal>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcModal\\n  @onModalClose={{@closeModal}}\\n  @isOpen={{true}}\\n  @width=\\\"m\\\" as |modal|\\n>\\n  <modal.header @title={{concat \\\"Reinstall \\\" this.appPackage.name}} />\\n  <modal.body>\\n    {{#if this.isProtectedAppPackage}}\\n      <p>\\n        This is a protected app package. Reinstalling could have unintended side effects\\n      </p>\\n    {{/if}}\\n    <p data-test-app-package-reinstall-modal-introduction>\\n      Be careful, reinstalling this app may significantly affect your use of Intercom.\\n    </p>\\n    <Appstore::AppPackage::AppUsages\\n      @app={{this.app}}\\n      @appPackage={{this.appPackage}}\\n      @isDevHub={{this.isDevHub}}\\n    />\\n    <div>\\n      <p data-test-app-package-reinstall-modal-conclusion>\\n        Please type <b>\\n          REINSTALL\\n        </b>\\n        below to confirm that you really want to remove {{appPackage.name\\n        }} from the <b>\\n          {{appName}}\\n        </b>\\n        workspace. You can't undo this.\\n      </p>\\n      <Input\\n        @class=\\\"u__mt__10 f__text\\\"\\n        @value={{this.reinstallConfirmValue}}\\n        @placeholder=\\\"Type REINSTALL to confirm\\\"\\n        @disabled={{this.isReinstalling}}\\n        data-test-app-package-reinstall-modal-confirm-input\\n      />\\n    </div>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=(if this.isReinstalling \\\"Reinstalling...\\\" \\\"Reinstall\\\")\\n      disabled=(or (not this.canReinstall) this.isReinstalling)\\n      action=this.confirm\\n      type=\\\"destructive\\\"\\n    }}\\n    @secondaryButton={{hash label=\\\"Cancel\\\" action=@closeModal}}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/reinstall-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/reinstall-modal.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport { equal, readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  isReinstalling: false,\n  reinstallConfirmValue: '',\n  canReinstall: equal('reinstallConfirmValue', 'REINSTALL'),\n  isProtectedAppPackage: readOnly('appPackage.isProtectedAppPackage'),\n\n  confirm: action(function() {\n    this.set('isReinstalling', true);\n    return this.reinstall.perform();\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<Common::ModalComponent\\n  @closeModal={{@closeModal}}\\n  data-test-request-permission-modal\\n  as |modal|\\n>\\n  <modal.components.header @leftAlignHeader={{true}}>\\n    <h2 class=\\\"t__h2\\\">\\n      Request app install\\n    </h2>\\n  </modal.components.header>\\n  <modal.components.body>\\n    You don't have permission to install apps. Ask an admin on your team for help. <div\\n      class=\\\"h-5\\\"\\n    ></div>\\n    <IcDropdownOpener\\n      @groupList={{@requestInstallDropdownGroupList}}\\n      @hasFilter={{true}}\\n      @filterPlaceholder=\\\"Search admins...\\\"\\n      @onSelectItem={{action @setMailToAdmin}}\\n    >\\n      <IcButton\\n        @subtle={{true}}\\n        @type=\\\"secondary\\\"\\n        data-test-request-permission-dropdown-opener={{true}}\\n      >\\n        {{#if @mailToAdmin}}\\n          <div class=\\\"u__mr__10 u__left\\\">\\n            {{ic-avatar model=@mailToAdmin size=\\\"s\\\"}}\\n          </div>\\n          {{@mailToAdmin.name}}\\n        {{else}}\\n          Select admin\\n        {{/if}}\\n        <span class=\\\"u__ml__5\\\">\\n          {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n        </span>\\n      </IcButton>\\n    </IcDropdownOpener>\\n    <div class=\\\"h-5\\\"></div>\\n    We'll send an email requesting them to install the {{@appName}} app.\\n  </modal.components.body>\\n  <modal.components.footer as |footer|>\\n    <footer.mainButtons as |list|>\\n      <list.button @label=\\\"Cancel\\\" @onClick={{action @closeModal}} />\\n      <list.button\\n        data-test-send-email={{true}}\\n        @type=\\\"primary\\\"\\n        @disabled={{not @mailToAdmin}}\\n        @onClick={{action @requestAppInstall}}\\n      >\\n        Send email\\n      </list.button>\\n    </footer.mainButtons>\\n  </modal.components.footer>\\n</Common::ModalComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<Common::ModalComponent\\n  @closeModal={{@closeModal}}\\n  data-test-request-permission-modal\\n  as |modal|\\n>\\n  <modal.components.header @leftAlignHeader={{true}}>\\n    <h2 class=\\\"t__h2\\\">\\n      Request app install\\n    </h2>\\n  </modal.components.header>\\n  <modal.components.body>\\n    You don't have permission to install apps. Ask an admin on your team for help. <div\\n      class=\\\"h-5\\\"\\n    ></div>\\n    <IcDropdownOpener\\n      @groupList={{@requestInstallDropdownGroupList}}\\n      @hasFilter={{true}}\\n      @filterPlaceholder=\\\"Search admins...\\\"\\n      @onSelectItem={{action @setMailToAdmin}}\\n    >\\n      <IcButton\\n        @subtle={{true}}\\n        @type=\\\"secondary\\\"\\n        data-test-request-permission-dropdown-opener={{true}}\\n      >\\n        {{#if @mailToAdmin}}\\n          <div class=\\\"u__mr__10 u__left\\\">\\n            {{ic-avatar model=@mailToAdmin size=\\\"s\\\"}}\\n          </div>\\n          {{@mailToAdmin.name}}\\n        {{else}}\\n          Select admin\\n        {{/if}}\\n        <span class=\\\"u__ml__5\\\">\\n          {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n        </span>\\n      </IcButton>\\n    </IcDropdownOpener>\\n    <div class=\\\"h-5\\\"></div>\\n    We'll send an email requesting them to install the {{@appName}} app.\\n  </modal.components.body>\\n  <modal.components.footer as |footer|>\\n    <footer.mainButtons as |list|>\\n      <list.button @label=\\\"Cancel\\\" @onClick={{action @closeModal}} />\\n      <list.button\\n        data-test-send-email={{true}}\\n        @type=\\\"primary\\\"\\n        @disabled={{not @mailToAdmin}}\\n        @onClick={{action @requestAppInstall}}\\n      >\\n        Send email\\n      </list.button>\\n    </footer.mainButtons>\\n  </modal.components.footer>\\n</Common::ModalComponent>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/request-install-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/request-install-modal.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"layout__box o__flexes-to-1\\\">\\n  <div class=\\\"f__group\\\">\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      <div>\\n        {{ic-avatar model=@admin size=\\\"xl\\\"}}\\n      </div>\\n      <div class=\\\"layout__box o__has-rows calendar-common__setting-header-body\\\">\\n        <span class=\\\"t__h2 u__ml__10 u__mt__10\\\">\\n          Connect your calendar\\n        </span>\\n        <span class=\\\"u__ml__10 u__mt__10\\\">\\n          {{@bodyText}}\\n        </span>\\n        <div class=\\\"u__ml__10 layout__box o__has-columns\\\">\\n          <div class=\\\"layout__box o__flexes-to-1\\\">\\n            <a\\n              class=\\\"{{@calendarType}}__auth-button o__has-columns u__center-layout u__mt__20\\\"\\n              data-test-auth-button\\n              {{action @redirectToAuth}}\\n            >\\n              <div\\n                class=\\\"{{@calendarType}}__logo calendar-common__logo\\\"\\n                data-test-auth-button-logo\\n              ></div>\\n              <div\\n                class=\\\"flex-auto min-w-0 o__flexes-to-1 u__centered-text-block\\\"\\n              >\\n                {{@buttonText}}\\n              </div>\\n            </a>\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"layout__box o__flexes-to-1\\\">\\n  <div class=\\\"f__group\\\">\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      <div>\\n        {{ic-avatar model=@admin size=\\\"xl\\\"}}\\n      </div>\\n      <div class=\\\"layout__box o__has-rows calendar-common__setting-header-body\\\">\\n        <span class=\\\"t__h2 u__ml__10 u__mt__10\\\">\\n          Connect your calendar\\n        </span>\\n        <span class=\\\"u__ml__10 u__mt__10\\\">\\n          {{@bodyText}}\\n        </span>\\n        <div class=\\\"u__ml__10 layout__box o__has-columns\\\">\\n          <div class=\\\"layout__box o__flexes-to-1\\\">\\n            <a\\n              class=\\\"{{@calendarType}}__auth-button o__has-columns u__center-layout u__mt__20\\\"\\n              data-test-auth-button\\n              {{action @redirectToAuth}}\\n            >\\n              <div\\n                class=\\\"{{@calendarType}}__logo calendar-common__logo\\\"\\n                data-test-auth-button-logo\\n              ></div>\\n              <div\\n                class=\\\"flex-auto min-w-0 o__flexes-to-1 u__centered-text-block\\\"\\n              >\\n                {{@buttonText}}\\n              </div>\\n            </a>\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/calendar-common/connect.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/calendar-common/connect.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if fetchSettings.isRunning}}\\n  <div>\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n  </div>\\n{{else}}\\n  {{#if settings}}\\n    <Appstore::AppPackage::Settings::CalendarCommon::Settings\\n      @app={{app}}\\n      @admin={{admin}}\\n      @settings={{settings}}\\n      @timeZoneSource={{@timeZoneSource}}\\n      @calendarType={{@calendarType}}\\n      @redirectToAuth={{this.redirectToAuth}}\\n      @revokeAccess={{this.revokeAccess}}\\n      @save={{this.save}}\\n    />\\n  {{else}}\\n    <Appstore::AppPackage::Settings::CalendarCommon::Connect\\n      @admin={{admin}}\\n      @bodyText=\\\"So you can start inviting your customers to book meetings with you in the Messenger.\\\"\\n      @redirectToAuth={{this.redirectToAuth}}\\n      @buttonText={{@authenticationButtonText}}\\n      @calendarType={{@calendarType}}\\n    />\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if fetchSettings.isRunning}}\\n  <div>\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n  </div>\\n{{else}}\\n  {{#if settings}}\\n    <Appstore::AppPackage::Settings::CalendarCommon::Settings\\n      @app={{app}}\\n      @admin={{admin}}\\n      @settings={{settings}}\\n      @timeZoneSource={{@timeZoneSource}}\\n      @calendarType={{@calendarType}}\\n      @redirectToAuth={{this.redirectToAuth}}\\n      @revokeAccess={{this.revokeAccess}}\\n      @save={{this.save}}\\n    />\\n  {{else}}\\n    <Appstore::AppPackage::Settings::CalendarCommon::Connect\\n      @admin={{admin}}\\n      @bodyText=\\\"So you can start inviting your customers to book meetings with you in the Messenger.\\\"\\n      @redirectToAuth={{this.redirectToAuth}}\\n      @buttonText={{@authenticationButtonText}}\\n      @calendarType={{@calendarType}}\\n    />\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/calendar-common/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/calendar-common/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport ajax from 'embercom/lib/ajax';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { templateString, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport redirect from 'embercom/lib/redirect';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  classNames: ['layout__box', 'o__flexes-to-1'],\n  store: service(),\n  defaultSource: 'app-store',\n  source: ternaryToProperty('installSource', 'installSource', 'defaultSource'),\n  settings: null,\n  modelName: templateString('appstore/app-package/${calendarType}-calendar-meetings/app-settings'),\n\n  authenticationURL: templateString(\n    '/admin/apps/${app.id}/${calendarType}_calendar_auth?source=${source}',\n  ),\n\n  uninstallUrl: templateString('app_packages/${calendarType}_calendar_meetings/uninstall'),\n\n  init() {\n    this._super(...arguments);\n    this.registerHooks({ afterUninstall: this.cleanupPostUninstall });\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.fetchSettings.perform();\n  },\n\n  willDestroyElement() {\n    this._super(...arguments);\n    this.set('settings', null);\n  },\n\n  fetchSettings: task(function*() {\n    try {\n      let settings = yield this.store.findRecord(this.modelName, this.get('admin.id'));\n      this.set('settings', settings);\n    } catch (error) {\n      this.set('settings', null);\n    }\n  }).drop(),\n\n  saveSettings: task(function*() {\n    try {\n      yield this.settings.save();\n      this.notificationsService.notifyConfirmation('You’ve saved your Meeting settings.');\n    } catch (error) {\n      if (error.jqXHR.status === 409 || error.jqXHR.status === 400) {\n        this.notificationsService.notifyError(error.jqXHR.responseJSON.message);\n      } else if (error.jqXHR.status === 404) {\n        this.set('settings', null);\n        this.notificationsService.notifyError(\n          'Your calendar has been disconnected. Please reconnect your calendar.',\n        );\n      } else {\n        this.notificationsService.notifyError('Something went wrong. Please try again');\n      }\n    }\n  }),\n\n  _redirect(url) {\n    redirect(url);\n  },\n\n  revokeAuthorizationTask: task(function*() {\n    try {\n      yield ajax({\n        url: this.authenticationURL,\n        type: 'DELETE',\n      });\n      this.settings.deleteRecord();\n      this.notificationsService.notifyConfirmation(\n        `You have successfully disconnected your calendar from this app.`,\n      );\n      this.set('settings', null);\n    } catch (error) {\n      this.notificationsService.notifyError(\n        'There was a problem revoking access to your calendar. Please try again. If the problem persists please contact us.',\n      );\n    }\n  }).drop(),\n\n  cleanupPostUninstall: task(function*() {\n    try {\n      yield ajax({\n        url: this.uninstallUrl,\n        type: 'POST',\n        data: JSON.stringify({\n          app_id: this.get('app.id'),\n        }),\n      });\n      if (this.settings) {\n        this.store.unloadRecord(this.settings);\n      }\n    } catch (e) {\n      this.notificationsService.notifyError(\n        'An error occurred while uninstalling the app. Please try again.',\n      );\n    }\n  }).drop(),\n\n  save: action(function() {\n    this.saveSettings.perform();\n  }),\n\n  redirectToAuth: action(function() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'authenticate',\n      object: this.calendarType,\n      place: 'settings',\n      context: 'meeting_scheduler',\n    });\n    redirect(this.authenticationURL);\n  }),\n\n  revokeAccess: action(function() {\n    this.revokeAuthorizationTask.perform();\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"f__group u__mb__25\\\" data-test-calendar-settings-header>\\n  <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n    <div class=\\\"o__has-rows\\\">\\n      {{ic-avatar model=@admin size=\\\"xl\\\"}}\\n    </div>\\n    <div class=\\\"o__has-rows\\\">\\n      <span class=\\\"t__h2 u__ml__10 u__mt__10\\\">\\n        Your calendar is connected\\n      </span>\\n      <div class=\\\"u__ml__10 layout__box o__has-columns o__centers-vertically\\\">\\n        <div\\n          class=\\\"{{@calendarType}}__logo calendar-common__settings-integration-info u__mr__10\\\"\\n          data-test-calendar-settings-header-logo\\n        ></div>\\n        <p data-test-account-email>\\n          {{@settings.accountEmail}}\\n        </p>\\n        <IcDropdownOpener\\n          class=\\\"u__ml__5\\\"\\n          @groupList={{array\\n            (hash\\n              items=(array\\n                (hash text=\\\"Change calendar\\\" onSelectItem=@redirectToAuth)\\n                (hash text=\\\"Disconnect calendar\\\" onSelectItem=@revokeAccess)\\n              )\\n            )\\n          }}\\n        >\\n          <IcButton\\n            data-test-account-action-opener\\n            @type=\\\"secondary\\\"\\n            @icon=\\\"vertical-ellipsis\\\"\\n            @showsIconOnly={{true}}\\n            @subtle={{true}}\\n          />\\n        </IcDropdownOpener>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"f__group u__mb__25\\\" data-test-calendar-settings-header>\\n  <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n    <div class=\\\"o__has-rows\\\">\\n      {{ic-avatar model=@admin size=\\\"xl\\\"}}\\n    </div>\\n    <div class=\\\"o__has-rows\\\">\\n      <span class=\\\"t__h2 u__ml__10 u__mt__10\\\">\\n        Your calendar is connected\\n      </span>\\n      <div class=\\\"u__ml__10 layout__box o__has-columns o__centers-vertically\\\">\\n        <div\\n          class=\\\"{{@calendarType}}__logo calendar-common__settings-integration-info u__mr__10\\\"\\n          data-test-calendar-settings-header-logo\\n        ></div>\\n        <p data-test-account-email>\\n          {{@settings.accountEmail}}\\n        </p>\\n        <IcDropdownOpener\\n          class=\\\"u__ml__5\\\"\\n          @groupList={{array\\n            (hash\\n              items=(array\\n                (hash text=\\\"Change calendar\\\" onSelectItem=@redirectToAuth)\\n                (hash text=\\\"Disconnect calendar\\\" onSelectItem=@revokeAccess)\\n              )\\n            )\\n          }}\\n        >\\n          <IcButton\\n            data-test-account-action-opener\\n            @type=\\\"secondary\\\"\\n            @icon=\\\"vertical-ellipsis\\\"\\n            @showsIconOnly={{true}}\\n            @subtle={{true}}\\n          />\\n        </IcDropdownOpener>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/calendar-common/settings-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/calendar-common/settings-header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__flexes-to-1\\\" data-test-calendar-settings>\\n  <Appstore::AppPackage::Settings::CalendarCommon::SettingsHeader\\n    @admin={{admin}}\\n    @settings={{settings}}\\n    @redirectToAuth={{redirectToAuth}}\\n    @revokeAccess={{revokeAccess}}\\n    @timeZoneSource={{@timeZoneSource}}\\n    @calendarType={{@calendarType}}\\n  />\\n  <Common::AccordionComponent\\n    @sectionCanClose={{perform sectionCanClose}}\\n    @sectionDidClose={{this.sectionDidClose}}\\n    @initiallyOpenSectionName=\\\"availability\\\" as |accordion|\\n  >\\n    <accordion.section\\n      @shouldNotAddPaddingToBody={{true}}\\n      @headerClass=\\\"accordion__white-header\\\"\\n      @name=\\\"availability\\\" as |section|\\n    >\\n      <section.header as |header|>\\n        <Common::AccordionComponent::WhiteHeaderTitle\\n          @isOpen={{header.isOpen}}\\n          @icon=\\\"delivery-window\\\"\\n          @heading=\\\"Your Availability\\\"\\n          @subheading=\\\"Define when you are avaliable for meetings\\\"\\n        />\\n      </section.header>\\n      <section.header-action />\\n      <section.body as |body|>\\n        <div class=\\\"u__ml__20 u__padb__20 u__padr__20 u__padl__50\\\">\\n          <div class=\\\"u__mb__20\\\">\\n            <Settings::Availability::TimePeriodComponent\\n              @addFirstRowText=\\\"Change your availability\\\"\\n              @addRowText=\\\"Add availability\\\"\\n              @rows={{settings.availabilities}}\\n              @defaultStartTime={{600}}\\n              @defaultEndTime={{720}}\\n            />\\n          </div>\\n          <span class=\\\"t__body text-gray\\\">\\n            Times are in your {{@timeZoneSource}} timezone ({{settings.timezone\\n            }}). Any existing meetings on your calendar will show you as unavailable.\\n          </span>\\n        </div>\\n        <div class=\\\"u__ml__20 u__padb__40 u__padr__20 u__padl__50\\\">\\n          <Common::AccordionComponent::BodyButtonAction\\n            @model={{settings}}\\n            @body={{body}}\\n            @allowSaving={{settings.hasDirtyAttributes}}\\n            @saveLabel=\\\"Save\\\"\\n            @saveButtonType=\\\"primary-live\\\"\\n            @context=\\\"Availability settings\\\"\\n            @customSaveAction={{save}}\\n          />\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n    <accordion.section\\n      @shouldNotAddPaddingToBody={{true}}\\n      @headerClass=\\\"accordion__white-header\\\"\\n      @name=\\\"invites\\\" as |section|\\n    >\\n      <section.header as |header|>\\n        <Common::AccordionComponent::WhiteHeaderTitle\\n          @isOpen={{header.isOpen}}\\n          @icon=\\\"schedule\\\"\\n          @heading=\\\"Your meeting invites\\\"\\n          @subheading=\\\"Write a description, and configure video conferencing for your meetings\\\"\\n        />\\n      </section.header>\\n      <section.header-action />\\n      <section.body as |body|>\\n        <div class=\\\"u__ml__20 u__padt__5 u__padb__20 u__padr__20 u__padl__50\\\">\\n          <div class=\\\"f__group\\\">\\n            <p class=\\\"meeting-scheduler__label t__label f__group-label\\\">\\n              Your meetings description\\n            </p>\\n            <textarea\\n              value={{settings.meetingDescription}}\\n              oninput={{action\\n                (mut settings.meetingDescription)\\n                value=\\\"target.value\\\"\\n              }}\\n              placeholder=\\\"Give a default description for your meetings\\\"\\n              class=\\\"f__text o__no-resize meeting-scheduler__settings-meeting-description\\\"\\n              maxlength=\\\"255\\\"\\n              data-test-scheduler-settings-meeting-description\\n            >\\n\\n            </textarea>\\n          </div>\\n          <div class=\\\"h-2\\\"></div>\\n          <div class=\\\"f__group\\\">\\n            <p class=\\\"meeting-scheduler__label t__label f__group-label\\\">\\n              Your video conferencing\\n            </p>\\n            <input\\n              value={{settings.meetingLink}}\\n              oninput={{action (mut settings.meetingLink) value=\\\"target.value\\\"}}\\n              placeholder=\\\"Enter the URL you use for video conferencing\\\"\\n              class=\\\"f__text o__no-resize meeting-scheduler__settings-meeting-link\\\"\\n              maxlength=\\\"255\\\"\\n              data-test-scheduler-settings-meeting-link\\n            />\\n          </div>\\n        </div>\\n        <div class=\\\"u__ml__20 u__padb__40 u__padr__20 u__padl__50\\\">\\n          <Common::AccordionComponent::BodyButtonAction\\n            @model={{settings}}\\n            @body={{body}}\\n            @saveLabel=\\\"Save\\\"\\n            @allowSaving={{settings.hasDirtyAttributes}}\\n            @saveButtonType=\\\"primary-live\\\"\\n            @context=\\\"Invitation settings\\\"\\n            @customSaveAction={{save}}\\n          />\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n    <accordion.section\\n      @shouldNotAddPaddingToBody={{true}}\\n      @headerClass=\\\"accordion__white-header\\\"\\n      @name=\\\"public-link\\\" as |section|\\n    >\\n      <section.header as |header|>\\n        <Common::AccordionComponent::WhiteHeaderTitle\\n          @isOpen={{header.isOpen}}\\n          @icon=\\\"link\\\"\\n          @heading=\\\"Your public link\\\"\\n          @subheading=\\\"Share your calendar outside the Intercom Messenger\\\"\\n        />\\n      </section.header>\\n      <section.header-action />\\n      <section.body as |body|>\\n        <div class=\\\"u__ml__20 u__padt__5 u__padb__40 u__padr__20 u__padl__50\\\">\\n          <div class=\\\"f__group\\\">\\n            <div\\n              class=\\\"layout__box o__has_columns o__centers-vertically meeting-scheduler__settings-better-url\\\"\\n            >\\n              <span class=\\\"layout__box\\\">\\n                meet.intercom.com/\\n              </span>\\n              <span class=\\\"layout__box\\\">\\n                {{#if isEditingUrl}}\\n                  <AutoFocusComponent\\n                    class=\\\"meeting-scheduler__settings-input-wrapper\\\"\\n                    @shouldSelect={{true}}\\n                  >\\n                    <input\\n                      value={{settings.teammateCalendarUrl}}\\n                      maxlength=\\\"30\\\"\\n                      data-test-better-url-input\\n                      class=\\\"f__text meeting-scheduler__settings-better-url-input {{if (and\\n                          showErrorOnUrlInput isUrlInvalid\\n                        ) \\\"o__error\\\"}}\\\"\\n                      placeholder={{adminUrlPlaceholder}}\\n                      onblur={{action \\\"endEditingUrl\\\"}}\\n                      oninput={{action\\n                        (mut settings.teammateCalendarUrl)\\n                        value=\\\"target.value\\\"\\n                      }}\\n                      onkeypress={{action \\\"blurOnEnter\\\"}}\\n                    />\\n                  </AutoFocusComponent>\\n                {{else}}\\n                  {{settings.teammateCalendarUrl}}\\n                  <span\\n                    class=\\\"u__ml__5 u__pointer-cursor\\\"\\n                    data-test-url-edit-icon\\n                    onclick={{action \\\"beginEditingUrl\\\"}}\\n                  >\\n                    {{ic-interface-icon \\\"edit\\\"}}\\n                  </span>\\n                  <span\\n                    class=\\\"u__pointer-cursor js__public-booking-url-clipboard-content\\\"\\n                    data-clipboard-text=\\\"https://meet.intercom.com/{{settings.teammateCalendarUrl\\n                      }}\\\"\\n                  >\\n                    {{ic-interface-icon \\\"duplicate\\\"}}\\n                  </span>\\n                {{/if}}\\n              </span>\\n            </div>\\n            <p class=\\\"t__body text-gray\\\">\\n              This link defaults to 30min meetings.\\n            </p>\\n            <div class=\\\"h-5\\\"></div>\\n            <p class=\\\"t__body text-gray\\\">\\n              You can redirect to specific durations with these additional links:\\n            </p>\\n            <div\\n              class=\\\"meeting-scheduler__time-link u__mt__10 o__centers-vertically layout__box o__has_columns text-gray\\\"\\n            >\\n              <span data-test-better-url-links class=\\\"layout__box\\\">\\n                {{ic-interface-icon \\\"clock\\\"}} meet.intercom.com/\\n              </span>\\n              <span class=\\\"layout__box\\\">\\n                {{settings.teammateCalendarUrl}}/<span\\n                  class=\\\"meeting-scheduler__time-link-duration\\\"\\n                >\\n                  15min\\n                </span>\\n              </span>\\n              <span\\n                data-test-time-url-copy\\n                class=\\\"u__ml__5 meeting-scheduler__link-copy-icon u__pointer-cursor js__public-booking-url-clipboard-content\\\"\\n                data-clipboard-text=\\\"https://meet.intercom.com/{{settings.teammateCalendarUrl\\n                  }}/15min\\\"\\n              >\\n                {{ic-interface-icon \\\"duplicate\\\"}}\\n              </span>\\n            </div>\\n            <div\\n              class=\\\"meeting-scheduler__time-link u__mt__10 o__centers-vertically layout__box o__has_columns text-gray\\\"\\n            >\\n              <span class=\\\"layout__box\\\">\\n                {{ic-interface-icon \\\"clock\\\"}} meet.intercom.com/\\n              </span>\\n              <span class=\\\"layout__box\\\">\\n                {{settings.teammateCalendarUrl}}/<span\\n                  class=\\\"meeting-scheduler__time-link-duration\\\"\\n                >\\n                  30min\\n                </span>\\n              </span>\\n              <span\\n                class=\\\"u__ml__5 meeting-scheduler__link-copy-icon u__pointer-cursor js__public-booking-url-clipboard-content\\\"\\n                data-clipboard-text=\\\"https://meet.intercom.com/{{settings.teammateCalendarUrl\\n                  }}/30min\\\"\\n              >\\n                {{ic-interface-icon \\\"duplicate\\\"}}\\n              </span>\\n            </div>\\n            <div\\n              class=\\\"meeting-scheduler__time-link u__mt__10 o__centers-vertically layout__box o__has_columns text-gray\\\"\\n            >\\n              <span class=\\\"layout__box\\\">\\n                {{ic-interface-icon \\\"clock\\\"}} meet.intercom.com/\\n              </span>\\n              <span class=\\\"layout__box\\\">\\n                {{settings.teammateCalendarUrl}}/<span\\n                  class=\\\"meeting-scheduler__time-link-duration\\\"\\n                >\\n                  45min\\n                </span>\\n              </span>\\n              <span\\n                class=\\\"u__ml__5 meeting-scheduler__link-copy-icon u__pointer-cursor js__public-booking-url-clipboard-content\\\"\\n                data-clipboard-text=\\\"https://meet.intercom.com/{{settings.teammateCalendarUrl\\n                  }}/45min\\\"\\n              >\\n                {{ic-interface-icon \\\"duplicate\\\"}}\\n              </span>\\n            </div>\\n            <div\\n              class=\\\"meeting-scheduler__time-link u__mt__10 o__centers-vertically layout__box o__has_columns text-gray\\\"\\n            >\\n              <span class=\\\"layout__box\\\">\\n                {{ic-interface-icon \\\"clock\\\"}} meet.intercom.com/\\n              </span>\\n              <span class=\\\"layout__box\\\">\\n                {{settings.teammateCalendarUrl}}/<span\\n                  class=\\\"meeting-scheduler__time-link-duration\\\"\\n                >\\n                  60min\\n                </span>\\n              </span>\\n              <span\\n                class=\\\"u__ml__5 meeting-scheduler__link-copy-icon u__pointer-cursor js__public-booking-url-clipboard-content\\\"\\n                data-clipboard-text=\\\"https://meet.intercom.com/{{settings.teammateCalendarUrl\\n                  }}/60min\\\"\\n              >\\n                {{ic-interface-icon \\\"duplicate\\\"}}\\n              </span>\\n            </div>\\n          </div>\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n  </Common::AccordionComponent>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__flexes-to-1\\\" data-test-calendar-settings>\\n  <Appstore::AppPackage::Settings::CalendarCommon::SettingsHeader\\n    @admin={{admin}}\\n    @settings={{settings}}\\n    @redirectToAuth={{redirectToAuth}}\\n    @revokeAccess={{revokeAccess}}\\n    @timeZoneSource={{@timeZoneSource}}\\n    @calendarType={{@calendarType}}\\n  />\\n  <Common::AccordionComponent\\n    @sectionCanClose={{perform sectionCanClose}}\\n    @sectionDidClose={{this.sectionDidClose}}\\n    @initiallyOpenSectionName=\\\"availability\\\" as |accordion|\\n  >\\n    <accordion.section\\n      @shouldNotAddPaddingToBody={{true}}\\n      @headerClass=\\\"accordion__white-header\\\"\\n      @name=\\\"availability\\\" as |section|\\n    >\\n      <section.header as |header|>\\n        <Common::AccordionComponent::WhiteHeaderTitle\\n          @isOpen={{header.isOpen}}\\n          @icon=\\\"delivery-window\\\"\\n          @heading=\\\"Your Availability\\\"\\n          @subheading=\\\"Define when you are avaliable for meetings\\\"\\n        />\\n      </section.header>\\n      <section.header-action />\\n      <section.body as |body|>\\n        <div class=\\\"u__ml__20 u__padb__20 u__padr__20 u__padl__50\\\">\\n          <div class=\\\"u__mb__20\\\">\\n            <Settings::Availability::TimePeriodComponent\\n              @addFirstRowText=\\\"Change your availability\\\"\\n              @addRowText=\\\"Add availability\\\"\\n              @rows={{settings.availabilities}}\\n              @defaultStartTime={{600}}\\n              @defaultEndTime={{720}}\\n            />\\n          </div>\\n          <span class=\\\"t__body text-gray\\\">\\n            Times are in your {{@timeZoneSource}} timezone ({{settings.timezone\\n            }}). Any existing meetings on your calendar will show you as unavailable.\\n          </span>\\n        </div>\\n        <div class=\\\"u__ml__20 u__padb__40 u__padr__20 u__padl__50\\\">\\n          <Common::AccordionComponent::BodyButtonAction\\n            @model={{settings}}\\n            @body={{body}}\\n            @allowSaving={{settings.hasDirtyAttributes}}\\n            @saveLabel=\\\"Save\\\"\\n            @saveButtonType=\\\"primary-live\\\"\\n            @context=\\\"Availability settings\\\"\\n            @customSaveAction={{save}}\\n          />\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n    <accordion.section\\n      @shouldNotAddPaddingToBody={{true}}\\n      @headerClass=\\\"accordion__white-header\\\"\\n      @name=\\\"invites\\\" as |section|\\n    >\\n      <section.header as |header|>\\n        <Common::AccordionComponent::WhiteHeaderTitle\\n          @isOpen={{header.isOpen}}\\n          @icon=\\\"schedule\\\"\\n          @heading=\\\"Your meeting invites\\\"\\n          @subheading=\\\"Write a description, and configure video conferencing for your meetings\\\"\\n        />\\n      </section.header>\\n      <section.header-action />\\n      <section.body as |body|>\\n        <div class=\\\"u__ml__20 u__padt__5 u__padb__20 u__padr__20 u__padl__50\\\">\\n          <div class=\\\"f__group\\\">\\n            <p class=\\\"meeting-scheduler__label t__label f__group-label\\\">\\n              Your meetings description\\n            </p>\\n            <textarea\\n              value={{settings.meetingDescription}}\\n              oninput={{action\\n                (mut settings.meetingDescription)\\n                value=\\\"target.value\\\"\\n              }}\\n              placeholder=\\\"Give a default description for your meetings\\\"\\n              class=\\\"f__text o__no-resize meeting-scheduler__settings-meeting-description\\\"\\n              maxlength=\\\"255\\\"\\n              data-test-scheduler-settings-meeting-description\\n            >\\n\\n            </textarea>\\n          </div>\\n          <div class=\\\"h-2\\\"></div>\\n          <div class=\\\"f__group\\\">\\n            <p class=\\\"meeting-scheduler__label t__label f__group-label\\\">\\n              Your video conferencing\\n            </p>\\n            <input\\n              value={{settings.meetingLink}}\\n              oninput={{action (mut settings.meetingLink) value=\\\"target.value\\\"}}\\n              placeholder=\\\"Enter the URL you use for video conferencing\\\"\\n              class=\\\"f__text o__no-resize meeting-scheduler__settings-meeting-link\\\"\\n              maxlength=\\\"255\\\"\\n              data-test-scheduler-settings-meeting-link\\n            />\\n          </div>\\n        </div>\\n        <div class=\\\"u__ml__20 u__padb__40 u__padr__20 u__padl__50\\\">\\n          <Common::AccordionComponent::BodyButtonAction\\n            @model={{settings}}\\n            @body={{body}}\\n            @saveLabel=\\\"Save\\\"\\n            @allowSaving={{settings.hasDirtyAttributes}}\\n            @saveButtonType=\\\"primary-live\\\"\\n            @context=\\\"Invitation settings\\\"\\n            @customSaveAction={{save}}\\n          />\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n    <accordion.section\\n      @shouldNotAddPaddingToBody={{true}}\\n      @headerClass=\\\"accordion__white-header\\\"\\n      @name=\\\"public-link\\\" as |section|\\n    >\\n      <section.header as |header|>\\n        <Common::AccordionComponent::WhiteHeaderTitle\\n          @isOpen={{header.isOpen}}\\n          @icon=\\\"link\\\"\\n          @heading=\\\"Your public link\\\"\\n          @subheading=\\\"Share your calendar outside the Intercom Messenger\\\"\\n        />\\n      </section.header>\\n      <section.header-action />\\n      <section.body as |body|>\\n        <div class=\\\"u__ml__20 u__padt__5 u__padb__40 u__padr__20 u__padl__50\\\">\\n          <div class=\\\"f__group\\\">\\n            <div\\n              class=\\\"layout__box o__has_columns o__centers-vertically meeting-scheduler__settings-better-url\\\"\\n            >\\n              <span class=\\\"layout__box\\\">\\n                meet.intercom.com/\\n              </span>\\n              <span class=\\\"layout__box\\\">\\n                {{#if isEditingUrl}}\\n                  <AutoFocusComponent\\n                    class=\\\"meeting-scheduler__settings-input-wrapper\\\"\\n                    @shouldSelect={{true}}\\n                  >\\n                    <input\\n                      value={{settings.teammateCalendarUrl}}\\n                      maxlength=\\\"30\\\"\\n                      data-test-better-url-input\\n                      class=\\\"f__text meeting-scheduler__settings-better-url-input {{if (and\\n                          showErrorOnUrlInput isUrlInvalid\\n                        ) \\\"o__error\\\"}}\\\"\\n                      placeholder={{adminUrlPlaceholder}}\\n                      onblur={{action \\\"endEditingUrl\\\"}}\\n                      oninput={{action\\n                        (mut settings.teammateCalendarUrl)\\n                        value=\\\"target.value\\\"\\n                      }}\\n                      onkeypress={{action \\\"blurOnEnter\\\"}}\\n                    />\\n                  </AutoFocusComponent>\\n                {{else}}\\n                  {{settings.teammateCalendarUrl}}\\n                  <span\\n                    class=\\\"u__ml__5 u__pointer-cursor\\\"\\n                    data-test-url-edit-icon\\n                    onclick={{action \\\"beginEditingUrl\\\"}}\\n                  >\\n                    {{ic-interface-icon \\\"edit\\\"}}\\n                  </span>\\n                  <span\\n                    class=\\\"u__pointer-cursor js__public-booking-url-clipboard-content\\\"\\n                    data-clipboard-text=\\\"https://meet.intercom.com/{{settings.teammateCalendarUrl\\n                      }}\\\"\\n                  >\\n                    {{ic-interface-icon \\\"duplicate\\\"}}\\n                  </span>\\n                {{/if}}\\n              </span>\\n            </div>\\n            <p class=\\\"t__body text-gray\\\">\\n              This link defaults to 30min meetings.\\n            </p>\\n            <div class=\\\"h-5\\\"></div>\\n            <p class=\\\"t__body text-gray\\\">\\n              You can redirect to specific durations with these additional links:\\n            </p>\\n            <div\\n              class=\\\"meeting-scheduler__time-link u__mt__10 o__centers-vertically layout__box o__has_columns text-gray\\\"\\n            >\\n              <span data-test-better-url-links class=\\\"layout__box\\\">\\n                {{ic-interface-icon \\\"clock\\\"}} meet.intercom.com/\\n              </span>\\n              <span class=\\\"layout__box\\\">\\n                {{settings.teammateCalendarUrl}}/<span\\n                  class=\\\"meeting-scheduler__time-link-duration\\\"\\n                >\\n                  15min\\n                </span>\\n              </span>\\n              <span\\n                data-test-time-url-copy\\n                class=\\\"u__ml__5 meeting-scheduler__link-copy-icon u__pointer-cursor js__public-booking-url-clipboard-content\\\"\\n                data-clipboard-text=\\\"https://meet.intercom.com/{{settings.teammateCalendarUrl\\n                  }}/15min\\\"\\n              >\\n                {{ic-interface-icon \\\"duplicate\\\"}}\\n              </span>\\n            </div>\\n            <div\\n              class=\\\"meeting-scheduler__time-link u__mt__10 o__centers-vertically layout__box o__has_columns text-gray\\\"\\n            >\\n              <span class=\\\"layout__box\\\">\\n                {{ic-interface-icon \\\"clock\\\"}} meet.intercom.com/\\n              </span>\\n              <span class=\\\"layout__box\\\">\\n                {{settings.teammateCalendarUrl}}/<span\\n                  class=\\\"meeting-scheduler__time-link-duration\\\"\\n                >\\n                  30min\\n                </span>\\n              </span>\\n              <span\\n                class=\\\"u__ml__5 meeting-scheduler__link-copy-icon u__pointer-cursor js__public-booking-url-clipboard-content\\\"\\n                data-clipboard-text=\\\"https://meet.intercom.com/{{settings.teammateCalendarUrl\\n                  }}/30min\\\"\\n              >\\n                {{ic-interface-icon \\\"duplicate\\\"}}\\n              </span>\\n            </div>\\n            <div\\n              class=\\\"meeting-scheduler__time-link u__mt__10 o__centers-vertically layout__box o__has_columns text-gray\\\"\\n            >\\n              <span class=\\\"layout__box\\\">\\n                {{ic-interface-icon \\\"clock\\\"}} meet.intercom.com/\\n              </span>\\n              <span class=\\\"layout__box\\\">\\n                {{settings.teammateCalendarUrl}}/<span\\n                  class=\\\"meeting-scheduler__time-link-duration\\\"\\n                >\\n                  45min\\n                </span>\\n              </span>\\n              <span\\n                class=\\\"u__ml__5 meeting-scheduler__link-copy-icon u__pointer-cursor js__public-booking-url-clipboard-content\\\"\\n                data-clipboard-text=\\\"https://meet.intercom.com/{{settings.teammateCalendarUrl\\n                  }}/45min\\\"\\n              >\\n                {{ic-interface-icon \\\"duplicate\\\"}}\\n              </span>\\n            </div>\\n            <div\\n              class=\\\"meeting-scheduler__time-link u__mt__10 o__centers-vertically layout__box o__has_columns text-gray\\\"\\n            >\\n              <span class=\\\"layout__box\\\">\\n                {{ic-interface-icon \\\"clock\\\"}} meet.intercom.com/\\n              </span>\\n              <span class=\\\"layout__box\\\">\\n                {{settings.teammateCalendarUrl}}/<span\\n                  class=\\\"meeting-scheduler__time-link-duration\\\"\\n                >\\n                  60min\\n                </span>\\n              </span>\\n              <span\\n                class=\\\"u__ml__5 meeting-scheduler__link-copy-icon u__pointer-cursor js__public-booking-url-clipboard-content\\\"\\n                data-clipboard-text=\\\"https://meet.intercom.com/{{settings.teammateCalendarUrl\\n                  }}/60min\\\"\\n              >\\n                {{ic-interface-icon \\\"duplicate\\\"}}\\n              </span>\\n            </div>\\n          </div>\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n  </Common::AccordionComponent>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/calendar-common/settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/calendar-common/settings.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { bind } from '@ember/runloop';\nimport $ from 'jquery';\nimport Component from '@ember/component';\nimport Clipboard from 'clipboard';\nimport { computed, action } from '@ember/object';\nimport { intercomPromiseConfirm } from 'embercom/lib/intercom-confirm';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  notificationsService: service(),\n\n  classNames: [\n    'layout__box',\n    'o__has-columns',\n    'meeting-scheduler__settings-integration-container',\n  ],\n\n  clipboard: null,\n  isEditingUrl: false,\n  showErrorOnUrlInput: false,\n\n  adminUrlPlaceholder: computed('admin.first_name', 'admin.last_name', function() {\n    let fname = this.get('admin.first_name');\n    let lname = this.get('admin.last_name');\n    return `e.g. ${fname}.${lname}`.toLowerCase();\n  }),\n\n  isUrlInvalid: computed('settings.teammateCalendarUrl', function() {\n    let url = this.get('settings.teammateCalendarUrl');\n    return !this.isValidPath(url);\n  }),\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.clipboard = new Clipboard('.js__public-booking-url-clipboard-content');\n    this.clipboard.on('success', bind(this, this._onClipboardCopySuccess));\n    this.clipboard.on('error', bind(this, this._onClipboardCopyError));\n\n    $('.meeting-scheduler__settings-public-url', this.element).click(this.selectPublicUrl);\n  },\n\n  willDestroyElement() {\n    this._super(...arguments);\n    this.clipboard.destroy();\n  },\n\n  _onClipboardCopySuccess() {\n    this.notificationsService.notifyConfirmation('Copied to clipboard');\n  },\n\n  _onClipboardCopyError() {\n    this.notificationsService.notifyError('Failed to copy link');\n  },\n\n  selectPublicUrl(event) {\n    event.target.focus();\n    event.target.select();\n  },\n\n  isValidPath(url) {\n    let pathRegex = /^[\\w.-\\d]{1,30}$/;\n    return pathRegex.test(url);\n  },\n\n  sectionCanClose: task(function*() {\n    if (this.get('settings.hasDirtyAttributes')) {\n      let options = {\n        title: 'Unsaved Changes',\n        body: 'You have unsaved changes. Do you want to discard them?',\n        confirmButtonText: 'Discard',\n        center: true,\n      };\n      return yield intercomPromiseConfirm(this, options);\n    }\n    return true;\n  }),\n\n  sectionDidClose: action(function() {\n    let settings = this.settings;\n    if (settings.get('hasDirtyAttributes')) {\n      settings.rollbackAttributes();\n    }\n  }),\n\n  actions: {\n    beginEditingUrl() {\n      this.set('isEditingUrl', true);\n    },\n\n    blurOnEnter(e) {\n      if (e.key === 'Enter') {\n        e.target.blur();\n      }\n    },\n\n    endEditingUrl() {\n      if (!this.get('settings.hasDirtyAttributes')) {\n        this.set('isEditingUrl', false);\n      } else {\n        let newUrl = this.get('settings.teammateCalendarUrl');\n        if (this.isValidPath(newUrl)) {\n          this.save();\n          this.set('showErrorOnUrlInput', false);\n          this.set('isEditingUrl', false);\n        } else {\n          this.set('showErrorOnUrlInput', true);\n          this.notificationsService.notifyError('The url you chose is invalid. Please try again.');\n        }\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Appstore::AppPackage::Settings::Shared::EmailSubscribe\\n  @app={{app}}\\n  @admin={{admin}}\\n  @appPackage={{appPackage}}\\n  @settings={{settings}}\\n  @update={{update}}\\n  @generateRedirectUrl={{generateRedirectUrl}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Appstore::AppPackage::Settings::Shared::EmailSubscribe\\n  @app={{app}}\\n  @admin={{admin}}\\n  @appPackage={{appPackage}}\\n  @settings={{settings}}\\n  @update={{update}}\\n  @generateRedirectUrl={{generateRedirectUrl}}\\n/>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/campaign-monitor/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/campaign-monitor/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"layout__box o__centers-vertically appstore__clearbit__main\\\">\\n  <span class=\\\"layout__box u__one-truncated-line u__ml__10 o__flexes-to-1\\\">\\n    {{@attribute.name}}\\n  </span>\\n  <span class=\\\"quick-action\\\" onclick={{action (mut @attribute.selected) false}}>\\n    {{ic-interface-icon \\\"trash\\\" solo=true}}\\n  </span>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"layout__box o__centers-vertically appstore__clearbit__main\\\">\\n  <span class=\\\"layout__box u__one-truncated-line u__ml__10 o__flexes-to-1\\\">\\n    {{@attribute.name}}\\n  </span>\\n  <span class=\\\"quick-action\\\" onclick={{action (mut @attribute.selected) false}}>\\n    {{ic-interface-icon \\\"trash\\\" solo=true}}\\n  </span>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/clearbit/attribute-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/clearbit/attribute-row.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"f__group\\\">\\n  <p class=\\\"u__mb__20\\\">\\n    Use Clearbit data to enrich leads, target messages and control who sees the Messenger\\n    on your site.\\n  </p>\\n  <h3 data-test-clearbit-header class=\\\"t__h3 u__mb__10\\\">\\n    Define which company attributes you want Intercom to access\\n  </h3>\\n</div>\\n{{#each settings.selectedAttributes as |selectedAttribute|}}\\n  <Appstore::AppPackage::Settings::Clearbit::AttributeRow\\n    @attribute={{selectedAttribute}}\\n  />\\n{{/each}}\\n<div class=\\\"u__mt__20 u__mb__28 appstore__clearbit__main\\\">\\n  <IcDropdownOpener\\n    @label=\\\"Add more attributes\\\"\\n    @groupList={{itemsForDropdown}}\\n    @onSelectItem={{this.addToSelectedAttributes}}\\n    @hasFilter={{true}}\\n    @filterPlaceholder=\\\"Filter...\\\"\\n  >\\n    <a class=\\\"btn__tertiary u__display-inline-block\\\">\\n      {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add more attributes\\n    </a>\\n  </IcDropdownOpener>\\n</div>\\n<div class=\\\"u__mt__30\\\">\\n  <IcButton\\n    @label=\\\"Save\\\"\\n    @type=\\\"primary\\\"\\n    data-test-app-settings-save={{true}}\\n    @onClick={{perform update settings}}\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"f__group\\\">\\n  <p class=\\\"u__mb__20\\\">\\n    Use Clearbit data to enrich leads, target messages and control who sees the Messenger\\n    on your site.\\n  </p>\\n  <h3 data-test-clearbit-header class=\\\"t__h3 u__mb__10\\\">\\n    Define which company attributes you want Intercom to access\\n  </h3>\\n</div>\\n{{#each settings.selectedAttributes as |selectedAttribute|}}\\n  <Appstore::AppPackage::Settings::Clearbit::AttributeRow\\n    @attribute={{selectedAttribute}}\\n  />\\n{{/each}}\\n<div class=\\\"u__mt__20 u__mb__28 appstore__clearbit__main\\\">\\n  <IcDropdownOpener\\n    @label=\\\"Add more attributes\\\"\\n    @groupList={{itemsForDropdown}}\\n    @onSelectItem={{this.addToSelectedAttributes}}\\n    @hasFilter={{true}}\\n    @filterPlaceholder=\\\"Filter...\\\"\\n  >\\n    <a class=\\\"btn__tertiary u__display-inline-block\\\">\\n      {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add more attributes\\n    </a>\\n  </IcDropdownOpener>\\n</div>\\n<div class=\\\"u__mt__30\\\">\\n  <IcButton\\n    @label=\\\"Save\\\"\\n    @type=\\\"primary\\\"\\n    data-test-app-settings-save={{true}}\\n    @onClick={{perform update settings}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/clearbit/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/clearbit/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed, action } from '@ember/object';\n\nexport default Component.extend({\n  itemsForDropdown: computed('settings.availableAttributes', function() {\n    let items = this.get('settings.availableAttributes').map(item => ({\n      text: item.get('name'),\n      value: item,\n    }));\n\n    return [\n      {\n        isFilterable: true,\n        items,\n      },\n    ];\n  }),\n\n  addToSelectedAttributes: action(function(item) {\n    item.set('selected', true);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div ...attributes>\\n  <IcLightTable\\n    @data={{this.mappingData}}\\n    @columns=\\n      {{array\\n        (hash label=\\\"Intercom Attributes\\\" valuePath=\\\"intercomAttribute\\\" width=\\\"45%\\\")\\n        (hash label=\\\"\\\" valuePath=\\\"arrowSeparator\\\" width=\\\"10%\\\")\\n        (hash label=@attributeLabel valuePath=(concat (lowercase this.crmAttributeLabel) \\\"Attribute\\\") width=\\\"45%\\\")\\n      }} as |table|\\n  >\\n    <table.rows as |row|>\\n      <row.cell @valuePath=\\\"intercomAttribute\\\">\\n        {{row.data.name}}\\n        {{#if row.data.createOnly}}\\n          <span\\n            class=\\\"ml-1 t__label\\\"\\n            data-test-create-only-attribute\\n          >\\n            <IcTooltipIcon\\n              @content=\\\"This is identified automatically and is only sent when a Lead is created.\\\"\\n            />\\n          </span>\\n        {{/if}}\\n      </row.cell>\\n\\n      <row.cell @valuePath=\\\"arrowSeparator\\\">\\n        {{ic-interface-icon \\\"arrow\\\" solo=true}}\\n      </row.cell>\\n\\n      <row.cell @valuePath={{concat (lowercase this.crmAttributeLabel) \\\"Attribute\\\"}}>\\n        {{#if row.data.editable}}\\n          <IcSelect\\n            @mode=\\\"block\\\"\\n            @placement=\\\"top-start\\\"\\n            @items={{row.data.options}}\\n            @onSelectItem={{fn this.createOrUpdateMapping row.data}}\\n            @selectedValue={{row.data.selectedValue}}\\n            @defaultLabel=\\\"Choose...\\\"\\n            @hasFilter={{true}}\\n            @filterPlaceholder=\\\"Search a {{this.crmAttributeLabel}} field...\\\"\\n            @footerActions={{hash\\n                  text=\\\"Clear\\\"\\n                  icon=\\\"small-close\\\"\\n                  action=(fn this.removeMapping row.data.identifier)\\n            }}\\n            @minWidthOfOverlay={{280}}\\n          />\\n        {{else}}\\n          <IcSelect\\n            @mode=\\\"block\\\"\\n            @defaultLabel={{row.data.selectedValue}}\\n            @isDisabled={{true}}\\n            @minWidthOfOverlay={{280}}\\n          />\\n        {{/if}}\\n\\n      </row.cell>\\n    </table.rows>\\n  </IcLightTable>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div ...attributes>\\n  <IcLightTable\\n    @data={{this.mappingData}}\\n    @columns=\\n      {{array\\n        (hash label=\\\"Intercom Attributes\\\" valuePath=\\\"intercomAttribute\\\" width=\\\"45%\\\")\\n        (hash label=\\\"\\\" valuePath=\\\"arrowSeparator\\\" width=\\\"10%\\\")\\n        (hash label=@attributeLabel valuePath=(concat (lowercase this.crmAttributeLabel) \\\"Attribute\\\") width=\\\"45%\\\")\\n      }} as |table|\\n  >\\n    <table.rows as |row|>\\n      <row.cell @valuePath=\\\"intercomAttribute\\\">\\n        {{row.data.name}}\\n        {{#if row.data.createOnly}}\\n          <span\\n            class=\\\"ml-1 t__label\\\"\\n            data-test-create-only-attribute\\n          >\\n            <IcTooltipIcon\\n              @content=\\\"This is identified automatically and is only sent when a Lead is created.\\\"\\n            />\\n          </span>\\n        {{/if}}\\n      </row.cell>\\n\\n      <row.cell @valuePath=\\\"arrowSeparator\\\">\\n        {{ic-interface-icon \\\"arrow\\\" solo=true}}\\n      </row.cell>\\n\\n      <row.cell @valuePath={{concat (lowercase this.crmAttributeLabel) \\\"Attribute\\\"}}>\\n        {{#if row.data.editable}}\\n          <IcSelect\\n            @mode=\\\"block\\\"\\n            @placement=\\\"top-start\\\"\\n            @items={{row.data.options}}\\n            @onSelectItem={{fn this.createOrUpdateMapping row.data}}\\n            @selectedValue={{row.data.selectedValue}}\\n            @defaultLabel=\\\"Choose...\\\"\\n            @hasFilter={{true}}\\n            @filterPlaceholder=\\\"Search a {{this.crmAttributeLabel}} field...\\\"\\n            @footerActions={{hash\\n                  text=\\\"Clear\\\"\\n                  icon=\\\"small-close\\\"\\n                  action=(fn this.removeMapping row.data.identifier)\\n            }}\\n            @minWidthOfOverlay={{280}}\\n          />\\n        {{else}}\\n          <IcSelect\\n            @mode=\\\"block\\\"\\n            @defaultLabel={{row.data.selectedValue}}\\n            @isDisabled={{true}}\\n            @minWidthOfOverlay={{280}}\\n          />\\n        {{/if}}\\n\\n      </row.cell>\\n    </table.rows>\\n  </IcLightTable>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/crm/mappings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/crm/mappings.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed, action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { filterBy, readOnly, union } from '@ember/object/computed';\n\nconst INTEGRATION_CODE_MAPPING = {\n  'salesforce-by-intercom': 'Salesforce',\n  hubspot: 'HubSpot',\n};\n\nconst UTM_ATTRIBUTE_IDENTIFIERS = [\n  'referrer',\n  'utm_campaign',\n  'utm_content',\n  'utm_medium',\n  'utm_source',\n  'utm_term',\n];\n\nconst GEO_IP_ATTRIBUTE_IDENTIFIERS = ['geoip_data.country_code', 'geoip_data.continent_code'];\n\nconst CREATE_ONLY_ATTRIBUTE_IDENTIFIERS = UTM_ATTRIBUTE_IDENTIFIERS.concat(\n  GEO_IP_ATTRIBUTE_IDENTIFIERS,\n);\n\nconst COMPANY_NAME_IDENTIFIER = 'company.name';\n\nexport default Component.extend({\n  tagName: '',\n  appService: service(),\n  app: readOnly('appService.app'),\n  attributes: readOnly('app.attributes'),\n\n  personQualificationAttributes: filterBy(\n    'app.qualification_attributes',\n    'isCompany',\n    false,\n  ).readOnly(),\n\n  companyQualificationAttributes: filterBy(\n    'app.qualification_attributes',\n    'isCompany',\n    true,\n  ).readOnly(),\n\n  companyNameAttribute: filterBy(\n    'app.qualification_attributes',\n    'identifier',\n    COMPANY_NAME_IDENTIFIER,\n  ).readOnly(),\n\n  qualificationAttributes: union(\n    'companyNameAttribute',\n    'personQualificationAttributes',\n  ).readOnly(),\n\n  integrationCode: readOnly('mappings.firstObject.integrationCode'),\n\n  crmAttributeLabel: computed('integrationCode', function() {\n    return INTEGRATION_CODE_MAPPING[this.integrationCode];\n  }),\n\n  utmAttributes: computed(\n    'attributes.[]',\n    'mappings.[]',\n    'mappings.@each.{destinationAttributePath,sourceAttributePath,direction}',\n    function() {\n      return this.attributes\n        .filter(attribute => UTM_ATTRIBUTE_IDENTIFIERS.includes(attribute.identifier))\n        .map(attribute => {\n          return this.extractMappingDataFromAttribute(attribute);\n        });\n    },\n  ),\n\n  geoIpAttributes: computed(\n    'attributes.[]',\n    'mappings.[]',\n    'mappings.@each.{destinationAttributePath,sourceAttributePath,direction}',\n    function() {\n      return this.attributes\n        .filter(attribute => GEO_IP_ATTRIBUTE_IDENTIFIERS.includes(attribute.identifier))\n        .map(attribute => {\n          return this.extractMappingDataFromAttribute(attribute);\n        });\n    },\n  ),\n\n  companyAttributes: computed(\n    'companyQualificationAttributes',\n    'mappings.[]',\n    'mappings.@each.{destinationAttributePath,sourceAttributePath,direction}',\n    function() {\n      return this.companyQualificationAttributes\n        .reject(attribute => attribute.identifier === COMPANY_NAME_IDENTIFIER)\n        .map(attribute => {\n          return this.extractMappingDataFromAttribute(attribute.dataAttribute);\n        });\n    },\n  ),\n\n  mappingData: computed(\n    'salesforceMappingData.[]',\n    'crmMappingData.[]',\n    'integrationCode',\n    function() {\n      switch (this.integrationCode) {\n        case 'salesforce-by-intercom':\n          return this.salesforceMappingData;\n        default:\n          return this.crmMappingData;\n      }\n    },\n  ),\n\n  salesforceMappingData: union(\n    'crmMappingData',\n    'geoIpAttributes',\n    'companyAttributes',\n    'utmAttributes',\n  ).readOnly(),\n\n  crmMappingData: computed(\n    'qualificationAttributes',\n    'attributeOptionsForType.[]',\n    'mappings.[]',\n    'mappings.@each.{destinationAttributePath,sourceAttributePath,direction}',\n    function() {\n      return this.qualificationAttributes.map(qualificationAttribute => {\n        return this.extractMappingDataFromAttribute(qualificationAttribute.dataAttribute);\n      });\n    },\n  ),\n\n  extractMappingDataFromAttribute(attribute) {\n    let sourceAttributePath = attribute.identifier;\n    let existingMapping = this.findExistingMappingBySourcePath(sourceAttributePath);\n    return {\n      name: attribute.name,\n      type: attribute.type,\n      identifier: sourceAttributePath,\n      options: this.getSelectorOptionsForType(attribute.type),\n      selectedValue: this.getSelectedValue(existingMapping),\n      editable: this.isMappingEditable(existingMapping),\n      createOnly: this.isCreateOnlyAttribute(attribute.identifier),\n    };\n  },\n\n  isCreateOnlyAttribute(identifier) {\n    return CREATE_ONLY_ATTRIBUTE_IDENTIFIERS.includes(identifier);\n  },\n\n  getSelectedValue(mapping) {\n    return (mapping && mapping.destinationAttributePath) || undefined;\n  },\n\n  isMappingEditable(mapping) {\n    return !mapping || (mapping && mapping.editable);\n  },\n\n  getSelectorOptionsForType(type) {\n    let typedAttributes = this.attributeOptionsForType.get(type);\n    return typedAttributes.map(attribute => {\n      return {\n        text: attribute.label,\n        value: attribute.path,\n        isDisabled: !!this.mappings.findBy('destinationAttributePath', attribute.path),\n      };\n    });\n  },\n\n  findExistingMappingBySourcePath(sourceAttributePath) {\n    return this.mappings.findBy('sourceAttributePath', sourceAttributePath);\n  },\n\n  createOrUpdateMapping: action(function(rowData, selectedValuePath) {\n    let existingMapping = this.findExistingMappingBySourcePath(rowData.identifier);\n    if (existingMapping) {\n      existingMapping.set('destinationAttributePath', selectedValuePath);\n    } else {\n      this.mappings.createFragment({\n        appIdCode: this.app.id,\n        destinationAttributePath: selectedValuePath,\n        editable: true,\n        integrationCode: this.integrationCode,\n        sourceAttributePath: rowData.identifier,\n        sourceObjectType: 'contact',\n        sourceType: rowData.type,\n      });\n    }\n    this.updateSettings.perform();\n  }),\n\n  removeMapping: action(function(sourceAttributePath) {\n    let removedMapping = this.findExistingMappingBySourcePath(sourceAttributePath);\n    this.mappings.removeFragment(removedMapping);\n    this.updateSettings.perform();\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- To see your settings page go to http://intercomrades.intercom.test/a/apps/tx2p130c/appstore/facebook--}}\\n{{#if isFirefox}}\\n  <div class=\\\"u__mb__10\\\">\\n    <IcBanner\\n      @type=\\\"warning\\\"\\n      @text=\\\"Facebook settings might be potentially blocked by Firefox built-in tracking protection. Try to use a different browser, or disable your tracking protection in Firefox.\\\"\\n    />\\n  </div>\\n{{/if}}\\n{{#if retrievePagesTask.isRunning}}\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__centers-all appstore__modal__loading-container\\\"\\n  >\\n    <IcLoadingIndicator @size=\\\"large\\\" />\\n  </div>\\n{{else}}\\n  {{#if isConnectedToFacebook}}\\n    {{#unless pagesEmpty}}\\n      <IcLightTable\\n        @data={{pages}}\\n        @columns={{array\\n          (hash label=\\\"Page Name\\\" valuePath=\\\"title\\\")\\n          (hash label=\\\"\\\" valuePath=\\\"status\\\")\\n          (hash label=\\\"\\\" valuePath=\\\"added\\\" width=\\\"25%\\\" type=\\\"number\\\")\\n        }} as |table|\\n      >\\n        <table.rows as |row index|>\\n          <row.cell @valuePath=\\\"title\\\">\\n            <p data-test-facebook-page-title>\\n              {{row.data.name}}\\n            </p>\\n            <p class=\\\"t__label\\\">\\n              {{row.data.about}}\\n            </p>\\n          </row.cell>\\n          <row.cell @valuePath=\\\"status\\\">\\n            {{#if row.data.added}}\\n              {{#if (eq row.data.status \\\"OK\\\")}}\\n                <span data-test-ok-integration>\\n                  {{ic-interface-icon   \\\"check\\\" color=\\\"green\\\"}} Connected\\n                </span>\\n              {{else}}\\n                <span data-test-broken-integration>\\n                  <IcTooltip as |t|>\\n                    <t.opener>\\n                      {{ic-interface-icon \\\"alert\\\" color=\\\"red\\\"}} Issue Detected\\n                    </t.opener>\\n                    <t.content >\\n                      {{#if (eq row.data.status \\\"NOT_FOUND\\\")}}\\n                        Intercom no longer has access to this Facebook page.\\n                      {{/if}}\\n                      {{#if (eq row.data.status \\\"UNKNOWN\\\")}}\\n                        Intercom is having difficulty accessing information about this Facebook page.\\n                      {{/if}}\\n                      {{#if (eq row.data.status \\\"INVALID_AUTH\\\")}}\\n                        Intercom no longer has permission to access your list of Facebook pages.\\n                      {{/if}}\\n                    </t.content>\\n                  </IcTooltip>\\n                </span>\\n              {{/if}}\\n            {{/if}}\\n          </row.cell>\\n          <row.cell @valuePath=\\\"added\\\">\\n            {{#if row.data.added}}\\n              <IcButton\\n                @icon=\\\"trash\\\"\\n                @type=\\\"secondary-destructive\\\"\\n                @inCell={{true}}\\n                @onClick={{perform unsubscribe row.data}}\\n              />\\n            {{else}}\\n              <IcButton\\n                @label=\\\"Connect Page\\\"\\n                @type=\\\"secondary\\\"\\n                @inCell={{true}}\\n                @onClick={{perform subscribe row.data}}\\n              />\\n            {{/if}}\\n          </row.cell>\\n        </table.rows>\\n      </IcLightTable>\\n    {{else}}\\n      <div class=\\\"h-5\\\"></div>\\n      <div class=\\\"card\\\" data-test-no-pages>\\n        <div class=\\\"card__inner integrations__card__notice\\\">\\n          <p class=\\\"t__notice-text m__example-notice__text\\\">\\n            <strong>\\n              No Facebook Page available\\n            </strong>\\n          </p>\\n          <p class=\\\"t__notice-text\\\">\\n            To connect to Facebook, make sure you are an admin of a Facebook Page.\\n          </p>\\n        </div>\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n    {{/unless}}\\n    <div>\\n      {{#if nextCursor}}\\n        <IcButton\\n          @label=\\\"Load more pages\\\"\\n          @processingLabel=\\\"Loading…\\\"\\n          @type=\\\"primary\\\"\\n          @onClick={{perform retrievePagesTask}}\\n        />\\n      {{/if}}\\n    </div>\\n\\n    <div class=\\\"h-5\\\"></div>\\n    <IcButton\\n      @type=\\\"primary\\\"\\n      @label=\\\"Reconnect to Facebook\\\"\\n      @onClick={{perform reAuth}}\\n      data-test-reconnect-facebook\\n    />\\n\\n  {{else}}\\n    <IcButton\\n      @type=\\\"primary\\\"\\n      @label=\\\"Connect to Facebook\\\"\\n      @onClick={{perform login}}\\n    />\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- To see your settings page go to http://intercomrades.intercom.test/a/apps/tx2p130c/appstore/facebook--}}\\n{{#if isFirefox}}\\n  <div class=\\\"u__mb__10\\\">\\n    <IcBanner\\n      @type=\\\"warning\\\"\\n      @text=\\\"Facebook settings might be potentially blocked by Firefox built-in tracking protection. Try to use a different browser, or disable your tracking protection in Firefox.\\\"\\n    />\\n  </div>\\n{{/if}}\\n{{#if retrievePagesTask.isRunning}}\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__centers-all appstore__modal__loading-container\\\"\\n  >\\n    <IcLoadingIndicator @size=\\\"large\\\" />\\n  </div>\\n{{else}}\\n  {{#if isConnectedToFacebook}}\\n    {{#unless pagesEmpty}}\\n      <IcLightTable\\n        @data={{pages}}\\n        @columns={{array\\n          (hash label=\\\"Page Name\\\" valuePath=\\\"title\\\")\\n          (hash label=\\\"\\\" valuePath=\\\"status\\\")\\n          (hash label=\\\"\\\" valuePath=\\\"added\\\" width=\\\"25%\\\" type=\\\"number\\\")\\n        }} as |table|\\n      >\\n        <table.rows as |row index|>\\n          <row.cell @valuePath=\\\"title\\\">\\n            <p data-test-facebook-page-title>\\n              {{row.data.name}}\\n            </p>\\n            <p class=\\\"t__label\\\">\\n              {{row.data.about}}\\n            </p>\\n          </row.cell>\\n          <row.cell @valuePath=\\\"status\\\">\\n            {{#if row.data.added}}\\n              {{#if (eq row.data.status \\\"OK\\\")}}\\n                <span data-test-ok-integration>\\n                  {{ic-interface-icon   \\\"check\\\" color=\\\"green\\\"}} Connected\\n                </span>\\n              {{else}}\\n                <span data-test-broken-integration>\\n                  <IcTooltip as |t|>\\n                    <t.opener>\\n                      {{ic-interface-icon \\\"alert\\\" color=\\\"red\\\"}} Issue Detected\\n                    </t.opener>\\n                    <t.content >\\n                      {{#if (eq row.data.status \\\"NOT_FOUND\\\")}}\\n                        Intercom no longer has access to this Facebook page.\\n                      {{/if}}\\n                      {{#if (eq row.data.status \\\"UNKNOWN\\\")}}\\n                        Intercom is having difficulty accessing information about this Facebook page.\\n                      {{/if}}\\n                      {{#if (eq row.data.status \\\"INVALID_AUTH\\\")}}\\n                        Intercom no longer has permission to access your list of Facebook pages.\\n                      {{/if}}\\n                    </t.content>\\n                  </IcTooltip>\\n                </span>\\n              {{/if}}\\n            {{/if}}\\n          </row.cell>\\n          <row.cell @valuePath=\\\"added\\\">\\n            {{#if row.data.added}}\\n              <IcButton\\n                @icon=\\\"trash\\\"\\n                @type=\\\"secondary-destructive\\\"\\n                @inCell={{true}}\\n                @onClick={{perform unsubscribe row.data}}\\n              />\\n            {{else}}\\n              <IcButton\\n                @label=\\\"Connect Page\\\"\\n                @type=\\\"secondary\\\"\\n                @inCell={{true}}\\n                @onClick={{perform subscribe row.data}}\\n              />\\n            {{/if}}\\n          </row.cell>\\n        </table.rows>\\n      </IcLightTable>\\n    {{else}}\\n      <div class=\\\"h-5\\\"></div>\\n      <div class=\\\"card\\\" data-test-no-pages>\\n        <div class=\\\"card__inner integrations__card__notice\\\">\\n          <p class=\\\"t__notice-text m__example-notice__text\\\">\\n            <strong>\\n              No Facebook Page available\\n            </strong>\\n          </p>\\n          <p class=\\\"t__notice-text\\\">\\n            To connect to Facebook, make sure you are an admin of a Facebook Page.\\n          </p>\\n        </div>\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n    {{/unless}}\\n    <div>\\n      {{#if nextCursor}}\\n        <IcButton\\n          @label=\\\"Load more pages\\\"\\n          @processingLabel=\\\"Loading…\\\"\\n          @type=\\\"primary\\\"\\n          @onClick={{perform retrievePagesTask}}\\n        />\\n      {{/if}}\\n    </div>\\n\\n    <div class=\\\"h-5\\\"></div>\\n    <IcButton\\n      @type=\\\"primary\\\"\\n      @label=\\\"Reconnect to Facebook\\\"\\n      @onClick={{perform reAuth}}\\n      data-test-reconnect-facebook\\n    />\\n\\n  {{else}}\\n    <IcButton\\n      @type=\\\"primary\\\"\\n      @label=\\\"Connect to Facebook\\\"\\n      @onClick={{perform login}}\\n    />\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/facebook/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/facebook/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, empty } from '@ember/object/computed';\nimport { A } from '@ember/array';\nimport Component from '@ember/component';\nimport FacebookIntegration from 'embercom/lib/facebook';\nimport { task } from 'ember-concurrency';\nimport initFacebookSdk from 'embercom/lib/facebook-sdk';\nimport { inject as service } from '@ember/service';\nimport UserAgentDetector from '@intercom/embercom-core/lib/user-agent-detector';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  appstoreService: service(),\n  fb: service(),\n  pagesData: A(),\n  pages: readOnly('pagesData'),\n  nextCursor: '',\n  isFirefox: UserAgentDetector.isFirefox(),\n  isConnectedToFacebook: false,\n  pagesEmpty: empty('pagesData'),\n  loginScope:\n    'email,pages_manage_metadata,pages_read_engagement,pages_read_user_content,pages_messaging,pages_show_list,public_profile',\n\n  init() {\n    this._super(...arguments);\n    initFacebookSdk(this.fb);\n    this.initializeProperties();\n    this.retrievePagesTask.perform();\n    this.registerHooks({ afterUninstall: this.cleanupPostUninstall });\n  },\n\n  initializeProperties() {\n    this.setProperties({\n      isConnectedToFacebook: false,\n      pagesData: A(),\n      nextCursor: '',\n    });\n  },\n\n  cleanupPostUninstall: task(function*() {\n    try {\n      yield FacebookIntegration.unsubscribeAll(this.get('app.id'));\n      this.initializeProperties();\n    } catch (e) {\n      this.notificationsService.notifyError(\n        'An error occurred while uninstalling the Facebook app. Please try again.',\n      );\n    }\n  }).drop(),\n\n  retrievePagesTask: task(function*() {\n    let resp = yield this.fb.getLoginStatus();\n    if (resp.status === 'connected') {\n      let accessToken = resp.authResponse.accessToken;\n      let response = yield FacebookIntegration.fetchPages(accessToken, this.nextCursor);\n      this.pagesData.pushObjects(response.get('pages').toArray());\n      this.set('nextCursor', response.get('nextCursor'));\n      this.set('isConnectedToFacebook', true);\n    }\n  }).drop(),\n\n  login: task(function*() {\n    this._trackConnectionEvents();\n    let response = yield this.fb.login(this.loginScope);\n    yield this.connectWithFacebook.perform(response);\n  }),\n\n  reAuth: task(function*() {\n    this._trackConnectionEvents();\n    let response = yield this.fb.login(this.loginScope, { auth_type: 'rerequest' });\n    yield this.connectWithFacebook.perform(response);\n  }),\n\n  connectWithFacebook: task(function*(response) {\n    if (response.status === 'connected') {\n      this.set('pagesData', A());\n      yield this.retrievePagesTask.perform();\n    }\n  }).drop(),\n\n  subscribe: task(function*(page) {\n    let appId = this.get('app.id');\n    let accessToken = page.get('accessToken');\n    let pageId = page.get('id');\n    try {\n      let response = yield FacebookIntegration.subscribe(appId, accessToken, pageId);\n      if (response.success === true) {\n        page.set('added', true);\n        page.set('status', 'OK');\n        this.notificationsService.notifyConfirmation('Successfully added page');\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'added',\n          object: 'facebook-page',\n        });\n      } else {\n        this.notificationsService.notifyError('Failed to add page');\n      }\n    } catch (e) {\n      this.notificationsService.notifyError(\n        'Failed to add page, please check you have admin permissions.',\n      );\n    }\n  }).drop(),\n\n  unsubscribe: task(function*(page) {\n    let appId = this.get('app.id');\n    let accessToken = page.get('accessToken');\n    let pageId = page.get('id');\n    try {\n      let response = yield FacebookIntegration.unsubscribe(appId, accessToken, pageId);\n      if (response.success === true) {\n        page.set('added', false);\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'removed',\n          object: 'facebook-page',\n        });\n        this.notificationsService.notifyConfirmation('Successfully removed page');\n      } else {\n        this.notificationsService.notifyError('Failed to remove page');\n      }\n    } catch (e) {\n      this.notificationsService.notifyError('Failed to remove page.');\n    }\n  }).drop(),\n\n  _trackConnectionEvents() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'connect',\n      object: 'facebook',\n      app_package_code: 'facebook',\n    });\n    let { email_request } = this.appstoreService.getRedirectQueryParams();\n    if (email_request) {\n      let emailRequestAction = `${email_request}_connect`;\n      this.intercomEventService.trackAnalyticsEvent({\n        action: emailRequestAction,\n        object: 'facebook',\n        app_package_code: 'facebook',\n      });\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if\\n  (and\\n    settings qualificationAttributes.isFulfilled fetchMessengerSettings.isIdle\\n  )\\n}}\\n  <Pulse::SettingsAccordion\\n    @openSectionId={{this.openSectionId}}\\n    @onOpenSectionChange={{this.onOpenSectionChange}}\\n    as |accordion|\\n  >\\n    <accordion.Section @id=\\\"introduce\\\" as |section|>\\n      <section.Header\\n        @heading=\\\"Introduce the demo\\\"\\n        @subheading=\\\"Explain what customers can expect from this demo.\\\"\\n      >\\n        <span\\n          class=\\\"symbol__circle o__by-text content-editor__animated-index-color o__inert\\n          accordion__white-header-title__symbol {{if header.sectionAPI.isOpen \\\"o__open\\\"}}\\\"\\n        >\\n          {{#if (and isComplete (not header.sectionAPI.isOpen))}}\\n            <span>\\n              {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n            </span>\\n          {{else}}\\n            1\\n          {{/if}}\\n        </span>\\n      </section.Header>\\n      <section.Body>\\n        <div class=\\\"u__padt__5 u__padb__40 u__padr__20 u__padl__50\\\">\\n          <div class=\\\"f__group\\\">\\n            <p class=\\\"t__label f__group-label o__explain\\\">\\n              Title\\n            </p>\\n            <div class=\\\"h-1\\\"></div>\\n            <input\\n              maxlength=\\\"60\\\"\\n              value={{settings.title}}\\n              placeholder=\\\"e.g. Get a demo\\\"\\n              type=\\\"text\\\"\\n              class=\\\"f__text\\\"\\n              data-test-get-a-demo-title-input\\n              {{on \\\"input\\\" (pick \\\"target.value\\\" (set settings.title))}}\\n            />\\n          </div>\\n          <div class=\\\"h-2\\\"></div>\\n          <div class=\\\"f__group\\\">\\n            <p class=\\\"t__label f__group-label o__explain\\\">\\n              Description\\n            </p>\\n            <div class=\\\"h-1\\\"></div>\\n            <textarea\\n              maxlength=\\\"255\\\"\\n              value={{settings.description}}\\n              placeholder={{concat\\n                (concat \\\"e.g. See what \\\" app.name)\\n                \\\" can do for you\\\"\\n              }}\\n              type=\\\"text\\\"\\n              data-test-get-a-demo-description-input\\n              class=\\\"f__text\\\"\\n              {{on \\\"input\\\" (pick \\\"target.value\\\" (set settings.description))}}\\n            ></textarea>\\n          </div>\\n          <div class=\\\"h-2\\\"></div>\\n          <div class=\\\"f__group\\\">\\n            <p class=\\\"t__label f__group-label o__explain\\\">\\n              Call to action\\n            </p>\\n            <div class=\\\"h-1\\\"></div>\\n            <input\\n              maxlength=\\\"55\\\"\\n              value={{settings.introButtonText}}\\n              placeholder=\\\"e.g. Request a demo\\\"\\n              type=\\\"text\\\"\\n              class=\\\"f__text\\\"\\n              data-test-get-a-demo-intro-button-input\\n              {{on \\\"input\\\" (pick \\\"target.value\\\" (set settings.introButtonText))}}\\n            />\\n          </div>\\n          <div class=\\\"h-8\\\"></div>\\n          <div class=\\\"f__group\\\" data-test-introduce-preview-canvas>\\n            <h3 class=\\\"t__h4 f__group-label\\\">\\n              Preview of step 1\\n            </h3>\\n            <div class=\\\"h-1\\\"></div>\\n            <div\\n              class=\\\"appstore__get-a-demo__preview appstore__get-a-demo__preview-container\\\"\\n            >\\n              <AppFramework::Canvas\\n                class=\\\"messenger-preview__home__card appstore__get-a-demo__preview-card\\\"\\n                @canvas={{introductionPreviewCanvas}}\\n              />\\n            </div>\\n          </div>\\n        </div>\\n      </section.Body>\\n    </accordion.Section>\\n    <accordion.Section @id=\\\"collect\\\" as |section|>\\n      <section.Header\\n        @heading=\\\"Collect information from your customers\\\"\\n        @subheading=\\\"Choose the details customers must give to book a demo.\\\"\\n        as |header|\\n      >\\n        <span\\n          class=\\\"symbol__circle o__by-text content-editor__animated-index-color o__inert\\n          accordion__white-header-title__symbol {{if header.sectionAPI.isOpen \\\"o__open\\\"}}\\\"\\n        >\\n          {{#if (and isComplete (not header.sectionAPI.isOpen))}}\\n            <span>\\n              {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n            </span>\\n          {{else}}\\n            2\\n          {{/if}}\\n        </span>\\n      </section.Header>\\n      <section.Body>\\n        <div class=\\\"u__padt__5 u__padb__40 u__padr__20 u__padl__55\\\">\\n          <QualificationAttributes::AttributeSelector\\n            @qualificationAttributes={{qualificationAttributes}}\\n            @attributesInUse={{attributesInUse}}\\n            @isEditable={{true}}\\n            @attributeEdited={{noop}}\\n          />\\n          <div class=\\\"t__light-text u__padt__10\\\">\\n            Don't see what you need? <a\\n              href=\\\"{{href-to \\\"apps.app.settings.qualification-settings\\\"}}\\\"\\n            >\\n              Manage your qualification data\\n            </a>\\n            .\\n          </div>\\n          <div class=\\\"h-8\\\"></div>\\n          <div class=\\\"f__group\\\" data-test-collect-preview-canvas>\\n            <h3 class=\\\"t__h4 f__group-label\\\">\\n              Preview of step 2\\n            </h3>\\n            <div class=\\\"h-1\\\"></div>\\n            <div\\n              class=\\\"appstore__get-a-demo__preview appstore__get-a-demo__preview-container\\\"\\n            >\\n              <AppFramework::Canvas\\n                class=\\\"messenger-preview__home__card appstore__get-a-demo__preview-card\\\"\\n                @canvas={{detailsPreviewCanvas}}\\n                @disableInputs={{false}}\\n              />\\n            </div>\\n          </div>\\n        </div>\\n      </section.Body>\\n    </accordion.Section>\\n    <accordion.Section @id=\\\"confirm\\\" as |section|>\\n      <section.Header\\n        @heading=\\\"Confirm the demo\\\"\\n        @subheading=\\\"Define how your customers can access the demo.\\\"\\n        as |header|\\n      >\\n        <span\\n          class=\\\"symbol__circle o__by-text content-editor__animated-index-color o__inert\\n          accordion__white-header-title__symbol {{if header.sectionAPI.isOpen \\\"o__open\\\"}}\\\"\\n        >\\n          {{#if (and isComplete (not header.sectionAPI.isOpen))}}\\n            <span>\\n              {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n            </span>\\n          {{else}}\\n            3\\n          {{/if}}\\n        </span>\\n      </section.Header>\\n      <section.Body>\\n        <div class=\\\"u__padt__5 u__padb__40 u__padr__20 u__padl__50\\\">\\n          <div class=\\\"f__group\\\">\\n            <p class=\\\"t__label f__group-label o__explain\\\">\\n              Confirmation\\n            </p>\\n            <div class=\\\"h-1\\\"></div>\\n            <textarea\\n              maxlength=\\\"255\\\"\\n              value={{settings.deflectionText}}\\n              type=\\\"text\\\"\\n              class=\\\"f__text\\\"\\n              data-test-confirmation-input\\n              {{on \\\"input\\\" (pick \\\"target.value\\\" (set settings.deflectionText))}}\\n            ></textarea>\\n            <div class=\\\"h-2\\\"></div>\\n            <label class=\\\"f__radio-label u__cf\\\">\\n              <span class=\\\"f__radio-wrapper\\\" data-test-deflection-checkbox>\\n                <OneWayCheckbox\\n                  @checked={{settings.deflectionEnabled}}\\n                  @update={{set settings.deflectionEnabled}}\\n                />\\n              </span>\\n              <span class=\\\"t__label f__group-label o__explain\\\">\\n                Link to the demo\\n              </span>\\n              <div class=\\\"u__padl__20 t__body text-gray\\\">\\n                Add a call to action that will link customers to your calendar or to a recorded demo\\n              </div>\\n            </label>\\n            <div class=\\\"layout__box o__has-columns u__ml__20 u__mt__5\\\">\\n              <div class=\\\"layout__box o__flexes-to-1 u__mr__10\\\">\\n                <label class=\\\"t__label f__group-label\\\">\\n                  Label\\n                </label>\\n                <input\\n                  data-test-deflection-cta\\n                  value={{settings.deflectionCta}}\\n                  disabled={{deflectionNotEnabled}}\\n                  maxlength=\\\"55\\\"\\n                  placeholder=\\\"e.g. Pick a time\\\"\\n                  class=\\\"f__text o__no-resize\\\"\\n                  {{on \\\"input\\\" (pick \\\"target.value\\\" (set settings.deflectionCta))}}\\n                />\\n              </div>\\n              <div\\n                class=\\\"layout__box o__flexes-to-1 appstore__get-a-demo__deflection-link\\\"\\n              >\\n                <Popover\\n                  @placement=\\\"bottom-start\\\"\\n                  @fallbackPlacements={{array 'bottom-end' 'top-start' 'top-end'}}\\n                  @isDisabled={{not hasProfilesWithCalendarUrls}}\\n                  @hideDelay={{200}}\\n                  as |popover|\\n                >\\n                  <popover.Opener>\\n                    <label class=\\\"t__label f__group-label\\\">\\n                      Link\\n                    </label>\\n                    <input\\n                      data-test-deflection-link\\n                      value={{settings.deflectionLink}}\\n                      disabled={{deflectionNotEnabled}}\\n                      placeholder=\\\"Your demo or calendar URL\\\"\\n                      class=\\\"f__text o__no-resize {{if showErrorOnLink \\\"o__error\\\"}}\\\"\\n                      {{on 'focusin' popover.show}}\\n                      {{on 'focusout' popover.hide}}\\n                      {{on \\\"input\\\" (pick \\\"target.value\\\" (set settings.deflectionLink))}}\\n                    />\\n                  </popover.Opener>\\n                  <popover.Content @fullBleed={{true}}>\\n                    <Appstore::AppPackage::Settings::GetADemo::TeammateSuggestions\\n                      @profilesWithCalendarUrls={{profilesWithCalendarUrls}}\\n                      @currentAdmin={{app.currentAdmin}}\\n                      @appName={{app.name}}\\n                      @onClick={{this.setDeflectionLink}}\\n                    />\\n                  </popover.Content>\\n                </Popover>\\n              </div>\\n            </div>\\n            <div class=\\\"h-8\\\"></div>\\n            <div class=\\\"f__group\\\">\\n              <p class=\\\"t__label f__group-label o__explain\\\">\\n                Notification\\n              </p>\\n              <span class=\\\"t__body text-gray\\\">\\n                Choose who should get notified by email when a customer requests a demo:\\n              </span>\\n              <div class=\\\"h-1\\\"></div>\\n              <Admin::NewSelector\\n                @assignees={{app.assignableAdminsWithoutUnassigned}}\\n                @selectedValue={{settings.assigneeId}}\\n                @onSelectItem={{this.updateAssigneeId}}\\n                @showTeams={{true}}\\n                @showRemoveAdmin={{true}}\\n                @showAwayAndReassigningStatus={{false}}\\n                @defaultLabel=\\\"Everyone\\\"\\n              />\\n            </div>\\n            <div class=\\\"h-8\\\"></div>\\n            <div class=\\\"f__group\\\" data-test-confirm-preview-canvas>\\n              <h3 class=\\\"t__h4 f__group-label\\\">\\n                Preview of step 3\\n              </h3>\\n              <div class=\\\"h-1\\\"></div>\\n              <div\\n                class=\\\"appstore__get-a-demo__preview appstore__get-a-demo__preview-container\\\"\\n              >\\n                <AppFramework::Canvas\\n                  class=\\\"messenger-preview__home__card appstore__get-a-demo__preview-card\\\"\\n                  @canvas={{confirmPreviewCanvas}}\\n                />\\n              </div>\\n            </div>\\n          </div>\\n        </div>\\n      </section.Body>\\n    </accordion.Section>\\n  </Pulse::SettingsAccordion>\\n  <MessengerPreview::Styles\\n    @configuration={{messengerSettings.previewConfiguration}}\\n  />\\n  <AppFramework::MessengerApps::Styles\\n    @containerSelector=\\\".appstore__get-a-demo__preview-card\\\"\\n    @baseColor={{messengerSettings.previewConfiguration.appColors.link_color}}\\n  />\\n  <hr class=\\\"sp__hr\\\" />\\n  <IcButton\\n    @label=\\\"Save\\\"\\n    @type=\\\"primary\\\"\\n    data-test-app-settings-save={{true}}\\n    @onClick={{this.update}}\\n  />\\n{{else}}\\n  <div>\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if\\n  (and\\n    settings qualificationAttributes.isFulfilled fetchMessengerSettings.isIdle\\n  )\\n}}\\n  <Pulse::SettingsAccordion\\n    @openSectionId={{this.openSectionId}}\\n    @onOpenSectionChange={{this.onOpenSectionChange}}\\n    as |accordion|\\n  >\\n    <accordion.Section @id=\\\"introduce\\\" as |section|>\\n      <section.Header\\n        @heading=\\\"Introduce the demo\\\"\\n        @subheading=\\\"Explain what customers can expect from this demo.\\\"\\n      >\\n        <span\\n          class=\\\"symbol__circle o__by-text content-editor__animated-index-color o__inert\\n          accordion__white-header-title__symbol {{if header.sectionAPI.isOpen \\\"o__open\\\"}}\\\"\\n        >\\n          {{#if (and isComplete (not header.sectionAPI.isOpen))}}\\n            <span>\\n              {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n            </span>\\n          {{else}}\\n            1\\n          {{/if}}\\n        </span>\\n      </section.Header>\\n      <section.Body>\\n        <div class=\\\"u__padt__5 u__padb__40 u__padr__20 u__padl__50\\\">\\n          <div class=\\\"f__group\\\">\\n            <p class=\\\"t__label f__group-label o__explain\\\">\\n              Title\\n            </p>\\n            <div class=\\\"h-1\\\"></div>\\n            <input\\n              maxlength=\\\"60\\\"\\n              value={{settings.title}}\\n              placeholder=\\\"e.g. Get a demo\\\"\\n              type=\\\"text\\\"\\n              class=\\\"f__text\\\"\\n              data-test-get-a-demo-title-input\\n              {{on \\\"input\\\" (pick \\\"target.value\\\" (set settings.title))}}\\n            />\\n          </div>\\n          <div class=\\\"h-2\\\"></div>\\n          <div class=\\\"f__group\\\">\\n            <p class=\\\"t__label f__group-label o__explain\\\">\\n              Description\\n            </p>\\n            <div class=\\\"h-1\\\"></div>\\n            <textarea\\n              maxlength=\\\"255\\\"\\n              value={{settings.description}}\\n              placeholder={{concat\\n                (concat \\\"e.g. See what \\\" app.name)\\n                \\\" can do for you\\\"\\n              }}\\n              type=\\\"text\\\"\\n              data-test-get-a-demo-description-input\\n              class=\\\"f__text\\\"\\n              {{on \\\"input\\\" (pick \\\"target.value\\\" (set settings.description))}}\\n            ></textarea>\\n          </div>\\n          <div class=\\\"h-2\\\"></div>\\n          <div class=\\\"f__group\\\">\\n            <p class=\\\"t__label f__group-label o__explain\\\">\\n              Call to action\\n            </p>\\n            <div class=\\\"h-1\\\"></div>\\n            <input\\n              maxlength=\\\"55\\\"\\n              value={{settings.introButtonText}}\\n              placeholder=\\\"e.g. Request a demo\\\"\\n              type=\\\"text\\\"\\n              class=\\\"f__text\\\"\\n              data-test-get-a-demo-intro-button-input\\n              {{on \\\"input\\\" (pick \\\"target.value\\\" (set settings.introButtonText))}}\\n            />\\n          </div>\\n          <div class=\\\"h-8\\\"></div>\\n          <div class=\\\"f__group\\\" data-test-introduce-preview-canvas>\\n            <h3 class=\\\"t__h4 f__group-label\\\">\\n              Preview of step 1\\n            </h3>\\n            <div class=\\\"h-1\\\"></div>\\n            <div\\n              class=\\\"appstore__get-a-demo__preview appstore__get-a-demo__preview-container\\\"\\n            >\\n              <AppFramework::Canvas\\n                class=\\\"messenger-preview__home__card appstore__get-a-demo__preview-card\\\"\\n                @canvas={{introductionPreviewCanvas}}\\n              />\\n            </div>\\n          </div>\\n        </div>\\n      </section.Body>\\n    </accordion.Section>\\n    <accordion.Section @id=\\\"collect\\\" as |section|>\\n      <section.Header\\n        @heading=\\\"Collect information from your customers\\\"\\n        @subheading=\\\"Choose the details customers must give to book a demo.\\\"\\n        as |header|\\n      >\\n        <span\\n          class=\\\"symbol__circle o__by-text content-editor__animated-index-color o__inert\\n          accordion__white-header-title__symbol {{if header.sectionAPI.isOpen \\\"o__open\\\"}}\\\"\\n        >\\n          {{#if (and isComplete (not header.sectionAPI.isOpen))}}\\n            <span>\\n              {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n            </span>\\n          {{else}}\\n            2\\n          {{/if}}\\n        </span>\\n      </section.Header>\\n      <section.Body>\\n        <div class=\\\"u__padt__5 u__padb__40 u__padr__20 u__padl__55\\\">\\n          <QualificationAttributes::AttributeSelector\\n            @qualificationAttributes={{qualificationAttributes}}\\n            @attributesInUse={{attributesInUse}}\\n            @isEditable={{true}}\\n            @attributeEdited={{noop}}\\n          />\\n          <div class=\\\"t__light-text u__padt__10\\\">\\n            Don't see what you need? <a\\n              href=\\\"{{href-to \\\"apps.app.settings.qualification-settings\\\"}}\\\"\\n            >\\n              Manage your qualification data\\n            </a>\\n            .\\n          </div>\\n          <div class=\\\"h-8\\\"></div>\\n          <div class=\\\"f__group\\\" data-test-collect-preview-canvas>\\n            <h3 class=\\\"t__h4 f__group-label\\\">\\n              Preview of step 2\\n            </h3>\\n            <div class=\\\"h-1\\\"></div>\\n            <div\\n              class=\\\"appstore__get-a-demo__preview appstore__get-a-demo__preview-container\\\"\\n            >\\n              <AppFramework::Canvas\\n                class=\\\"messenger-preview__home__card appstore__get-a-demo__preview-card\\\"\\n                @canvas={{detailsPreviewCanvas}}\\n                @disableInputs={{false}}\\n              />\\n            </div>\\n          </div>\\n        </div>\\n      </section.Body>\\n    </accordion.Section>\\n    <accordion.Section @id=\\\"confirm\\\" as |section|>\\n      <section.Header\\n        @heading=\\\"Confirm the demo\\\"\\n        @subheading=\\\"Define how your customers can access the demo.\\\"\\n        as |header|\\n      >\\n        <span\\n          class=\\\"symbol__circle o__by-text content-editor__animated-index-color o__inert\\n          accordion__white-header-title__symbol {{if header.sectionAPI.isOpen \\\"o__open\\\"}}\\\"\\n        >\\n          {{#if (and isComplete (not header.sectionAPI.isOpen))}}\\n            <span>\\n              {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n            </span>\\n          {{else}}\\n            3\\n          {{/if}}\\n        </span>\\n      </section.Header>\\n      <section.Body>\\n        <div class=\\\"u__padt__5 u__padb__40 u__padr__20 u__padl__50\\\">\\n          <div class=\\\"f__group\\\">\\n            <p class=\\\"t__label f__group-label o__explain\\\">\\n              Confirmation\\n            </p>\\n            <div class=\\\"h-1\\\"></div>\\n            <textarea\\n              maxlength=\\\"255\\\"\\n              value={{settings.deflectionText}}\\n              type=\\\"text\\\"\\n              class=\\\"f__text\\\"\\n              data-test-confirmation-input\\n              {{on \\\"input\\\" (pick \\\"target.value\\\" (set settings.deflectionText))}}\\n            ></textarea>\\n            <div class=\\\"h-2\\\"></div>\\n            <label class=\\\"f__radio-label u__cf\\\">\\n              <span class=\\\"f__radio-wrapper\\\" data-test-deflection-checkbox>\\n                <OneWayCheckbox\\n                  @checked={{settings.deflectionEnabled}}\\n                  @update={{set settings.deflectionEnabled}}\\n                />\\n              </span>\\n              <span class=\\\"t__label f__group-label o__explain\\\">\\n                Link to the demo\\n              </span>\\n              <div class=\\\"u__padl__20 t__body text-gray\\\">\\n                Add a call to action that will link customers to your calendar or to a recorded demo\\n              </div>\\n            </label>\\n            <div class=\\\"layout__box o__has-columns u__ml__20 u__mt__5\\\">\\n              <div class=\\\"layout__box o__flexes-to-1 u__mr__10\\\">\\n                <label class=\\\"t__label f__group-label\\\">\\n                  Label\\n                </label>\\n                <input\\n                  data-test-deflection-cta\\n                  value={{settings.deflectionCta}}\\n                  disabled={{deflectionNotEnabled}}\\n                  maxlength=\\\"55\\\"\\n                  placeholder=\\\"e.g. Pick a time\\\"\\n                  class=\\\"f__text o__no-resize\\\"\\n                  {{on \\\"input\\\" (pick \\\"target.value\\\" (set settings.deflectionCta))}}\\n                />\\n              </div>\\n              <div\\n                class=\\\"layout__box o__flexes-to-1 appstore__get-a-demo__deflection-link\\\"\\n              >\\n                <Popover\\n                  @placement=\\\"bottom-start\\\"\\n                  @fallbackPlacements={{array 'bottom-end' 'top-start' 'top-end'}}\\n                  @isDisabled={{not hasProfilesWithCalendarUrls}}\\n                  @hideDelay={{200}}\\n                  as |popover|\\n                >\\n                  <popover.Opener>\\n                    <label class=\\\"t__label f__group-label\\\">\\n                      Link\\n                    </label>\\n                    <input\\n                      data-test-deflection-link\\n                      value={{settings.deflectionLink}}\\n                      disabled={{deflectionNotEnabled}}\\n                      placeholder=\\\"Your demo or calendar URL\\\"\\n                      class=\\\"f__text o__no-resize {{if showErrorOnLink \\\"o__error\\\"}}\\\"\\n                      {{on 'focusin' popover.show}}\\n                      {{on 'focusout' popover.hide}}\\n                      {{on \\\"input\\\" (pick \\\"target.value\\\" (set settings.deflectionLink))}}\\n                    />\\n                  </popover.Opener>\\n                  <popover.Content @fullBleed={{true}}>\\n                    <Appstore::AppPackage::Settings::GetADemo::TeammateSuggestions\\n                      @profilesWithCalendarUrls={{profilesWithCalendarUrls}}\\n                      @currentAdmin={{app.currentAdmin}}\\n                      @appName={{app.name}}\\n                      @onClick={{this.setDeflectionLink}}\\n                    />\\n                  </popover.Content>\\n                </Popover>\\n              </div>\\n            </div>\\n            <div class=\\\"h-8\\\"></div>\\n            <div class=\\\"f__group\\\">\\n              <p class=\\\"t__label f__group-label o__explain\\\">\\n                Notification\\n              </p>\\n              <span class=\\\"t__body text-gray\\\">\\n                Choose who should get notified by email when a customer requests a demo:\\n              </span>\\n              <div class=\\\"h-1\\\"></div>\\n              <Admin::NewSelector\\n                @assignees={{app.assignableAdminsWithoutUnassigned}}\\n                @selectedValue={{settings.assigneeId}}\\n                @onSelectItem={{this.updateAssigneeId}}\\n                @showTeams={{true}}\\n                @showRemoveAdmin={{true}}\\n                @showAwayAndReassigningStatus={{false}}\\n                @defaultLabel=\\\"Everyone\\\"\\n              />\\n            </div>\\n            <div class=\\\"h-8\\\"></div>\\n            <div class=\\\"f__group\\\" data-test-confirm-preview-canvas>\\n              <h3 class=\\\"t__h4 f__group-label\\\">\\n                Preview of step 3\\n              </h3>\\n              <div class=\\\"h-1\\\"></div>\\n              <div\\n                class=\\\"appstore__get-a-demo__preview appstore__get-a-demo__preview-container\\\"\\n              >\\n                <AppFramework::Canvas\\n                  class=\\\"messenger-preview__home__card appstore__get-a-demo__preview-card\\\"\\n                  @canvas={{confirmPreviewCanvas}}\\n                />\\n              </div>\\n            </div>\\n          </div>\\n        </div>\\n      </section.Body>\\n    </accordion.Section>\\n  </Pulse::SettingsAccordion>\\n  <MessengerPreview::Styles\\n    @configuration={{messengerSettings.previewConfiguration}}\\n  />\\n  <AppFramework::MessengerApps::Styles\\n    @containerSelector=\\\".appstore__get-a-demo__preview-card\\\"\\n    @baseColor={{messengerSettings.previewConfiguration.appColors.link_color}}\\n  />\\n  <hr class=\\\"sp__hr\\\" />\\n  <IcButton\\n    @label=\\\"Save\\\"\\n    @type=\\\"primary\\\"\\n    data-test-app-settings-save={{true}}\\n    @onClick={{this.update}}\\n  />\\n{{else}}\\n  <div>\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/get-a-demo/app-settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/get-a-demo/app-settings.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed, action } from '@ember/object';\nimport { readOnly, not, filterBy, notEmpty, match, empty } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  notificationsService: service(),\n  store: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  defaultAssigneeName: 'Everyone',\n  validDeflectionLink: match('settings.deflectionLink', /^(\\/|https?:\\/\\/.*\\.)/),\n  invalidDeflectionCta: empty('settings.deflectionCta'),\n  deflectionNotEnabled: not('settings.deflectionEnabled'),\n  showErrorOnLink: false,\n\n  init() {\n    this._super(...arguments);\n    this.fetchMessengerSettings.perform();\n    this.fetchProfiles.perform();\n    this.set('openSectionId', 'introduce');\n  },\n\n  fetchMessengerSettings: task(function*() {\n    let messengerSettings = yield this.store.findRecord(\n      'messenger-settings/all',\n      this.get('app.id'),\n    );\n    this.set('messengerSettings', messengerSettings);\n  }).drop(),\n\n  fetchProfiles: task(function*() {\n    let profiles = yield this.store.findAll('profile');\n    this.set('profiles', profiles);\n  }),\n\n  attributesInUse: computed('settings.qualificationAttributes', function() {\n    let attributes = this.get('settings.qualificationAttributes');\n    let emailAttribute = attributes.findBy('identifier', 'email');\n    if (emailAttribute) {\n      emailAttribute.set('mandatoryAttribute', true);\n    }\n    return attributes;\n  }),\n\n  qualificationAttributes: computed(function() {\n    return this.store.findAll('people/qualification-attribute');\n  }),\n\n  introductionPreviewCanvas: computed(\n    'settings.title',\n    'settings.description',\n    'settings.introButtonText',\n    function() {\n      let content = {\n        components: [\n          this.createTextComponent(this.get('settings.title'), 'header'),\n          this.createTextComponent(this.get('settings.description')),\n          this.createButtonComponent(this.get('settings.introButtonText') || 'Request a demo'),\n        ],\n      };\n      return { content };\n    },\n  ),\n\n  detailsPreviewCanvas: computed(\n    'settings.title',\n    'attributesInUse.content.@each.identifier',\n    function() {\n      let content = {\n        components: [\n          this.createTextComponent(this.get('settings.title'), 'header'),\n          this.createTextComponent('Add your details so we can get in touch.', 'muted'),\n        ],\n      };\n      // Add components for every attribute in use\n      let availableAttrs = this.qualificationAttributes;\n      this.attributesInUse.forEach((attribute, index) => {\n        if (attribute.get('identifier')) {\n          content.components.push(\n            ...this.generateAttributeComponents(attribute, availableAttrs, index),\n          );\n          content.components.push(this.createSpacingComponent());\n        }\n      });\n      content.components.push(this.createButtonComponent('Cancel', 'link'));\n\n      return { content };\n    },\n  ),\n\n  confirmPreviewCanvas: computed(\n    'settings.title',\n    'settings.deflectionText',\n    'settings.deflectionEnabled',\n    'settings.deflectionCta',\n    function() {\n      let content = {\n        components: [\n          this.createTextComponent(this.get('settings.title'), 'header'),\n          this.createTextComponent(this.get('settings.deflectionText')),\n        ],\n      };\n\n      if (this.get('settings.deflectionEnabled')) {\n        let deflectionText = this.get('settings.deflectionCta') || '';\n        content['components'].push(this.createButtonComponent(deflectionText));\n      }\n      return { content };\n    },\n  ),\n\n  generateAttributeComponents(attribute, availableAttrs, index) {\n    let identifier = attribute.get('identifier');\n    let qualificationAttr = availableAttrs.mapBy('dataAttribute').findBy('identifier', identifier);\n\n    let label = qualificationAttr.get('human_friendly_name');\n\n    let components = [];\n    let listItems;\n\n    switch (qualificationAttr.get('inferredType')) {\n      case 'boolean':\n        components.push(this.createTextComponent(label));\n        components.push(this.createBooleanComponent());\n        break;\n      case 'options':\n        // Add a label before the list\n        components.push(this.createTextComponent(label));\n        listItems = qualificationAttr.get('options').map(item => {\n          return this.createListItem(item.get('id'), item.get('value'));\n        });\n        components.push(this.createListComponent(listItems));\n        break;\n      case 'string':\n      case 'integer':\n        components.push(this.createInputComponent(label));\n        break;\n    }\n    return components;\n  },\n\n  createButtonComponent(label = '', style = 'primary') {\n    return {\n      type: 'button',\n      label,\n      style,\n      action: { type: 'submit' },\n    };\n  },\n\n  createInputComponent(label) {\n    return {\n      label,\n      type: 'input',\n      action: {\n        type: 'submit',\n      },\n    };\n  },\n\n  createTextComponent(text, style = 'paragraph') {\n    return {\n      type: 'text',\n      text,\n      style,\n    };\n  },\n\n  createBooleanComponent() {\n    return {\n      type: 'list',\n      items: [\n        {\n          type: 'item',\n          id: 'true',\n          title: 'Yes',\n        },\n        {\n          type: 'item',\n          id: 'false',\n          title: 'No',\n        },\n      ],\n    };\n  },\n\n  createListComponent(items) {\n    return {\n      type: 'list',\n      items,\n    };\n  },\n\n  createListItem(id, title) {\n    return {\n      type: 'item',\n      id,\n      title,\n    };\n  },\n\n  createSpacingComponent() {\n    return {\n      type: 'spacer',\n      size: 'm',\n    };\n  },\n\n  validateIntroductionSection() {\n    if (!this.get('settings.title')) {\n      this.notificationsService.notifyError('The title cannot be blank.');\n      return false;\n    }\n    if (!this.get('settings.description')) {\n      this.notificationsService.notifyError('The description cannot be blank.');\n      return false;\n    }\n    return true;\n  },\n\n  validateConfirmationSection() {\n    if (this.get('settings.deflectionEnabled') && this.invalidDeflectionCta) {\n      this.notificationsService.notifyError('The button label cannot be blank.');\n      return false;\n    }\n    if (this.get('settings.deflectionEnabled') && !this.validDeflectionLink) {\n      this.notificationsService.notifyError('The button link you have entered is not a valid URL.');\n      this.set('showErrorOnLink', true);\n      return false;\n    }\n    this.set('showErrorOnLink', false);\n    return true;\n  },\n\n  validateSettings() {\n    return this.validateIntroductionSection() && this.validateConfirmationSection();\n  },\n\n  profilesWithCalendarUrls: filterBy('profiles', 'calendar_url'),\n  hasProfilesWithCalendarUrls: notEmpty('profilesWithCalendarUrls'),\n  openSectionCanClose() {\n    if (this.openSectionId === 'introduce') {\n      return this.validateIntroductionSection();\n    } else if (this.openSectionId === 'confirm') {\n      return this.validateConfirmationSection();\n    }\n    return true;\n  },\n  setDeflectionLink: action(function(calendarUrl) {\n    this.set('settings.deflectionLink', calendarUrl);\n  }),\n  onOpenSectionChange: action(function(sectionId) {\n    if (this.openSectionCanClose()) {\n      this.set('openSectionId', sectionId);\n    }\n  }),\n  updateAssigneeId: action(function(assigneeId) {\n    this.set('settings.assigneeId', assigneeId);\n  }),\n  update: action(function() {\n    if (this.validateSettings()) {\n      this.save();\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Appstore::AppPackage::Settings::GetADemo::AppSettings\\n  @settings={{settings}}\\n  @save={{this.save}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Appstore::AppPackage::Settings::GetADemo::AppSettings\\n  @settings={{settings}}\\n  @save={{this.save}}\\n/>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/get-a-demo/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/get-a-demo/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport QualificationAttribute from 'embercom/models/qualification/attribute';\nimport { task } from 'ember-concurrency';\nimport ajax from 'embercom/lib/ajax';\n\nexport default Component.extend({\n  notificationsService: service(),\n  store: service(),\n  classNames: ['layout__box', 'o__flexes-to-1'],\n  appSettingsUrl: '/ember/messenger_apps/get_a_demo/settings',\n\n  init() {\n    this._super(...arguments);\n    this.fetchSettings.perform();\n    this.registerHooks(this.getProperties('afterUninstall'));\n  },\n\n  fetchSettings: task(function*() {\n    let settings = yield this.store.queryRecord('appstore/app-package/get-a-demo/app-setting', {});\n    this.set('settings', settings);\n  }).drop(),\n\n  afterUninstall: task(function*() {\n    yield ajax({\n      url: this.appSettingsUrl,\n      type: 'DELETE',\n      data: JSON.stringify({ app_id: this.get('app.id') }),\n    });\n  }).drop(),\n\n  removeInvalidAttributes() {\n    this.set(\n      'settings.qualificationAttributes',\n      QualificationAttribute.removeInvalidFragments(this.get('settings.qualificationAttributes')),\n    );\n  },\n\n  updateSettings: task(function*() {\n    this.removeInvalidAttributes();\n    yield ajax({\n      url: this.appSettingsUrl,\n      type: 'PUT',\n      data: JSON.stringify(this.settings.serialize()),\n    })\n      .then(response => {\n        this.notificationsService.notifyConfirmation(\n          'Your settings have been successfully updated',\n        );\n      })\n      .catch(response => {\n        this.notificationsService.notifyError(response.jqXHR.responseJSON.errors);\n      });\n  }).drop(),\n\n  save: action(function() {\n    this.updateSettings.perform();\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  data-test-calendar-suggestions\\n  class=\\\"appstore__get-a-demo__teammate-suggestion-container pb-2\\\"\\n>\\n  <h4\\n    class=\\\"t__label appstore__get-a-demo__teammate-suggestion-container__label\\\"\\n  >\\n    or use {{@appName}}’s calendars\\n  </h4>\\n  <div class=\\\"appstore__get-a-demo__teammate-suggestion-container__items\\\">\\n    {{#each @profilesWithCalendarUrls as |profile|}}\\n      <div\\n        data-test-calendar-suggestion\\n        class=\\\"layout__box o__has-columns appstore__get-a-demo__teammate-suggestion-container__items__item\\\"\\n        {{on 'click' (fn @onClick profile.calendar_url)}}\\n      >\\n        <div class=\\\"layout__box u__pad__10 u__padl__20 o__centers-all\\\">\\n          {{ic-avatar model=profile.admin size=\\\"s\\\" onBackgroundColor=\\\"gray-light\\\"}}\\n        </div>\\n        <div\\n          class=\\\"appstore__get-a-demo__teammate-suggestion-text-container layout__box u__pad__10\\\"\\n        >\\n          <div class=\\\"u__one-truncated-line\\\">\\n            {{#if (eq @currentAdmin.id profile.admin_id)}}\\n              Your calendar\\n            {{else}}\\n              {{profile.admin.displayAs}}'s calendar\\n            {{/if}}\\n          </div>\\n          <div\\n            class=\\\"appstore__get-a-demo__teammate-suggestion-container__light u__one-truncated-line\\\"\\n          >\\n            {{profile.calendar_url}}\\n          </div>\\n        </div>\\n      </div>\\n    {{/each}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div\\n  data-test-calendar-suggestions\\n  class=\\\"appstore__get-a-demo__teammate-suggestion-container pb-2\\\"\\n>\\n  <h4\\n    class=\\\"t__label appstore__get-a-demo__teammate-suggestion-container__label\\\"\\n  >\\n    or use {{@appName}}’s calendars\\n  </h4>\\n  <div class=\\\"appstore__get-a-demo__teammate-suggestion-container__items\\\">\\n    {{#each @profilesWithCalendarUrls as |profile|}}\\n      <div\\n        data-test-calendar-suggestion\\n        class=\\\"layout__box o__has-columns appstore__get-a-demo__teammate-suggestion-container__items__item\\\"\\n        {{on 'click' (fn @onClick profile.calendar_url)}}\\n      >\\n        <div class=\\\"layout__box u__pad__10 u__padl__20 o__centers-all\\\">\\n          {{ic-avatar model=profile.admin size=\\\"s\\\" onBackgroundColor=\\\"gray-light\\\"}}\\n        </div>\\n        <div\\n          class=\\\"appstore__get-a-demo__teammate-suggestion-text-container layout__box u__pad__10\\\"\\n        >\\n          <div class=\\\"u__one-truncated-line\\\">\\n            {{#if (eq @currentAdmin.id profile.admin_id)}}\\n              Your calendar\\n            {{else}}\\n              {{profile.admin.displayAs}}'s calendar\\n            {{/if}}\\n          </div>\\n          <div\\n            class=\\\"appstore__get-a-demo__teammate-suggestion-container__light u__one-truncated-line\\\"\\n          >\\n            {{profile.calendar_url}}\\n          </div>\\n        </div>\\n      </div>\\n    {{/each}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/get-a-demo/teammate-suggestions.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/get-a-demo/teammate-suggestions.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div>\\n  {{#if this.setupSettingsData.isRunning}}\\n    <div class=\\\"layout__box o__flexes-to-1 o__centers-all\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    </div>\\n  {{else}}\\n    {{#if this.isGithubTokenAvailable}}\\n      {{!-- TEMPLATE: LOGGED IN TO GITHUB --}}\\n      {{#if this.hasRegisteredMoreThanOneWebhook}}\\n        <div class=\\\"u__mt__20\\\">\\n          <h3 class=\\\"t__h3\\\">\\n            Choose your main repo\\n          </h3>\\n          <p class=\\\"t__light-text u__mb__10\\\">\\n            When you create an issue from a conversation, it’ll be saved here.\\n          </p>\\n          <IcSelect\\n            @items={{this.webhookListItems}}\\n            @onSelectItem={{perform this.selectDefaultRepo}}\\n          />\\n        </div>\\n      {{/if}}\\n      <h3 class=\\\"t__h3 u__mt__20\\\">\\n        Available repos\\n      </h3>\\n      <p class=\\\"t__light-text\\\">\\n        Choose the GitHub repos you want to integrate with Intercom.\\n      </p>\\n      {{!-- template-lint-disable intercom/no-custom-table --}}\\n      <table class=\\\"integrations__tbl\\\">\\n        {{!-- template-lint-enable intercom/no-custom-table --}}\\n        <thead>\\n          <tr>\\n            <th class=\\\"integrations__tbl__cell t__label\\\">\\n              Name\\n            </th>\\n            <th class=\\\"integrations__tbl__cell t__label\\\">\\n              Description\\n            </th>\\n            <th class=\\\"integrations__tbl__cell t__label\\\"></th>\\n          </tr>\\n        </thead>\\n        <tbody class=\\\"integrations__tbl__body\\\">\\n          {{#each this.githubRepositories as |repository|}}\\n            <tr>\\n              <td class=\\\"integrations__tbl__cell integrations__github__tbl__cell\\\">\\n                {{repository.id}}\\n              </td>\\n              <td class=\\\"integrations__tbl__cell integrations__github__tbl__cell\\\">\\n                {{repository.description}}\\n              </td>\\n              <td class=\\\"integrations__tbl__cell integrations__github__tbl__cell\\\">\\n                {{#if repository.webhook}}\\n                  <IcButton\\n                    @label=\\\"Remove repo\\\"\\n                    @type=\\\"secondary-destructive\\\"\\n                    @onClick={{perform this.removeWebhook repository.webhook}}\\n                  />\\n                {{else}}\\n                  {{#if repository.admin}}\\n                    <IcButton\\n                      @label=\\\"Add repo\\\"\\n                      @type=\\\"primary\\\"\\n                      @onClick={{perform this.addWebhook repository}}\\n                    />\\n                  {{else}}\\n                    <p class=\\\"t__light-text\\\">\\n                      Not a Github admin\\n                    </p>\\n                  {{/if}}\\n                {{/if}}\\n              </td>\\n            </tr>\\n          {{/each}}\\n        </tbody>\\n      </table>\\n      {{#if this.repositoriesNextPage}}\\n        <IcButton\\n          @label=\\\"Load more repos\\\"\\n          @processingLabel=\\\"Loading…\\\"\\n          @type=\\\"primary\\\"\\n          @onClick={{perform this.loadMoreRepositoriesTask}}\\n          data-test-load-more-repos\\n        />\\n      {{/if}}\\n      <div class=\\\"integrations__docs-link\\\">\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/integrations/github-integration\\\"\\n          @title=\\\"About this integration\\\"\\n          @type=\\\"article\\\"\\n          data-test-docs-link\\n        />\\n      </div>\\n    {{else}}\\n      {{!-- TEMPLATE: GITHUB LOGIN --}}\\n      <IcButton\\n        @label=\\\"Connect to GitHub\\\"\\n        @type=\\\"primary\\\"\\n        @onClick={{perform this.connectToGitHub}}\\n        data-test-connect-to-github\\n      />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div>\\n  {{#if this.setupSettingsData.isRunning}}\\n    <div class=\\\"layout__box o__flexes-to-1 o__centers-all\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    </div>\\n  {{else}}\\n    {{#if this.isGithubTokenAvailable}}\\n      {{!-- TEMPLATE: LOGGED IN TO GITHUB --}}\\n      {{#if this.hasRegisteredMoreThanOneWebhook}}\\n        <div class=\\\"u__mt__20\\\">\\n          <h3 class=\\\"t__h3\\\">\\n            Choose your main repo\\n          </h3>\\n          <p class=\\\"t__light-text u__mb__10\\\">\\n            When you create an issue from a conversation, it’ll be saved here.\\n          </p>\\n          <IcSelect\\n            @items={{this.webhookListItems}}\\n            @onSelectItem={{perform this.selectDefaultRepo}}\\n          />\\n        </div>\\n      {{/if}}\\n      <h3 class=\\\"t__h3 u__mt__20\\\">\\n        Available repos\\n      </h3>\\n      <p class=\\\"t__light-text\\\">\\n        Choose the GitHub repos you want to integrate with Intercom.\\n      </p>\\n      {{!-- template-lint-disable intercom/no-custom-table --}}\\n      <table class=\\\"integrations__tbl\\\">\\n        {{!-- template-lint-enable intercom/no-custom-table --}}\\n        <thead>\\n          <tr>\\n            <th class=\\\"integrations__tbl__cell t__label\\\">\\n              Name\\n            </th>\\n            <th class=\\\"integrations__tbl__cell t__label\\\">\\n              Description\\n            </th>\\n            <th class=\\\"integrations__tbl__cell t__label\\\"></th>\\n          </tr>\\n        </thead>\\n        <tbody class=\\\"integrations__tbl__body\\\">\\n          {{#each this.githubRepositories as |repository|}}\\n            <tr>\\n              <td class=\\\"integrations__tbl__cell integrations__github__tbl__cell\\\">\\n                {{repository.id}}\\n              </td>\\n              <td class=\\\"integrations__tbl__cell integrations__github__tbl__cell\\\">\\n                {{repository.description}}\\n              </td>\\n              <td class=\\\"integrations__tbl__cell integrations__github__tbl__cell\\\">\\n                {{#if repository.webhook}}\\n                  <IcButton\\n                    @label=\\\"Remove repo\\\"\\n                    @type=\\\"secondary-destructive\\\"\\n                    @onClick={{perform this.removeWebhook repository.webhook}}\\n                  />\\n                {{else}}\\n                  {{#if repository.admin}}\\n                    <IcButton\\n                      @label=\\\"Add repo\\\"\\n                      @type=\\\"primary\\\"\\n                      @onClick={{perform this.addWebhook repository}}\\n                    />\\n                  {{else}}\\n                    <p class=\\\"t__light-text\\\">\\n                      Not a Github admin\\n                    </p>\\n                  {{/if}}\\n                {{/if}}\\n              </td>\\n            </tr>\\n          {{/each}}\\n        </tbody>\\n      </table>\\n      {{#if this.repositoriesNextPage}}\\n        <IcButton\\n          @label=\\\"Load more repos\\\"\\n          @processingLabel=\\\"Loading…\\\"\\n          @type=\\\"primary\\\"\\n          @onClick={{perform this.loadMoreRepositoriesTask}}\\n          data-test-load-more-repos\\n        />\\n      {{/if}}\\n      <div class=\\\"integrations__docs-link\\\">\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/integrations/github-integration\\\"\\n          @title=\\\"About this integration\\\"\\n          @type=\\\"article\\\"\\n          data-test-docs-link\\n        />\\n      </div>\\n    {{else}}\\n      {{!-- TEMPLATE: GITHUB LOGIN --}}\\n      <IcButton\\n        @label=\\\"Connect to GitHub\\\"\\n        @type=\\\"primary\\\"\\n        @onClick={{perform this.connectToGitHub}}\\n        data-test-connect-to-github\\n      />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/github/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/github/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { computed } from '@ember/object';\nimport { readOnly, empty, alias, gt } from '@ember/object/computed';\nimport RSVP from 'rsvp';\nimport { task } from 'ember-concurrency';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { findByProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport { TEAMMATE_APP_URL } from 'embercom/lib/teammate-app';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  store: service(),\n  confirmService: service(),\n  redirectService: service(),\n  appstoreService: service(),\n  tagName: '',\n\n  init() {\n    this._super(...arguments);\n    this.setupSettingsData.perform().then(() => {\n      let { redirect } = this.appstoreService.getRedirectQueryParams();\n      if (redirect && !this.isGithubTokenAvailable) {\n        this.connectToGitHub.perform();\n      }\n    });\n    this.registerHooks({ afterUninstall: this.cleanupPostUninstall });\n  },\n\n  githubIntegration: null,\n  githubWebhooks: null,\n  githubAuthRedirectUrl: readOnly('githubIntegration.redirectUrl'),\n  localDevTeammateAppUrl: 'http://app.intercom.test',\n  isGithubTokenAvailable: empty('githubAuthRedirectUrl'),\n  githubRepositories: alias('githubIntegration.repositories'),\n  defaultGithubWebhookConfigId: alias('githubIntegration.defaultGithubWebhookConfigId'),\n  defaultGithubWebhook: findByProperty('githubWebhooks', 'id', 'defaultGithubWebhookConfigId'),\n  repositoriesNextPage: alias('githubIntegration.nextPage'),\n\n  webhookListItems: computed(\n    'githubWebhooks.@each.fullName',\n    'defaultGithubWebhookConfigId',\n    function() {\n      return this.githubWebhooks\n        .filter(webhook => webhook.get('fullName'))\n        .map(webhook => ({\n          value: webhook.get('id'),\n          text: webhook.get('fullName'),\n          isSelected: this.defaultGithubWebhookConfigId === webhook.get('id'),\n        }));\n    },\n  ),\n  hasRegisteredMoreThanOneWebhook: gt('webhookListItems.length', 1),\n\n  setupSettingsData: task(function*() {\n    let data = yield this.fetchGithubModels();\n\n    this.setProperties({\n      githubIntegration: data.githubIntegration,\n      githubWebhooks: data.githubWebhooks,\n    });\n  }).drop(),\n\n  fetchGithubModels() {\n    return RSVP.hash({\n      githubWebhooks: this.store.findAll('github-webhook'),\n      githubIntegration: this.store.queryRecord('github-integration', {\n        is_app_store: true,\n      }),\n    });\n  },\n\n  loadMoreRepositoriesTask: task(function*() {\n    let nextPage = this.repositoriesNextPage;\n    let githubIntegration = yield this.store.queryRecord('github-integration', {\n      page: nextPage,\n    });\n    this.githubRepositories.pushObjects(githubIntegration.get('repositories').toArray());\n    this.set('repositoriesNextPage', githubIntegration.get('nextPage'));\n  }).drop(),\n\n  addWebhook: task(function*(repository) {\n    let webhook = this.store.createRecord('github-webhook', {\n      repository,\n    });\n\n    try {\n      yield webhook.save();\n\n      // Refresh github-integration because default GitHub webhook doesn't refresh on it's own\n      yield this.store.queryRecord('github-integration', {});\n      this.notificationsService.notifyConfirmation('Repo added');\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'added',\n        object: `github-repo`,\n      });\n    } catch (e) {\n      this.notificationsService.notifyError('An error occurred while adding the Github repo');\n      webhook.unloadRecord();\n    }\n  }).drop(),\n\n  removeWebhook: task(function*(webhook) {\n    let options = {\n      title: 'Remove repo',\n      body: 'Are you sure you want to remove this repo?',\n      confirmButtonText: 'Remove',\n    };\n\n    let confirmed = yield this.confirmService.show(this, options);\n    if (!confirmed) {\n      return;\n    }\n\n    try {\n      yield webhook.content.destroyRecord();\n      yield this.store.queryRecord('github-integration', {});\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'removed',\n        object: `github-repo`,\n      });\n    } catch (error) {\n      this.notificationsService.notifyError(`Could not remove repo: ${webhook.get('fullName')}`);\n    }\n  }),\n\n  selectDefaultRepo: task(function*(githubWebhookConfigId) {\n    // Refresh github-integration because default GitHub webhook doesn't refresh on it's own\n    let githubIntegration = yield this.store.queryRecord('github-integration', {});\n    githubIntegration.set('defaultGithubWebhookConfigId', githubWebhookConfigId);\n    githubIntegration.save();\n\n    let chosenRepoName = this.get('defaultGithubWebhook.fullName');\n    this.notificationsService.notifyConfirmation(`Changed the main repo to ${chosenRepoName}`);\n  }),\n\n  connectToGitHub: task(function*() {\n    let currentTeammateAppUrl = `${window.location.protocol}//${window.location.hostname}`;\n    try {\n      let redirectUrl = this.githubAuthRedirectUrl;\n      if (\n        currentTeammateAppUrl !== TEAMMATE_APP_URL &&\n        currentTeammateAppUrl !== this.localDevTeammateAppUrl\n      ) {\n        redirectUrl = `${window.location.href.replace(\n          currentTeammateAppUrl,\n          TEAMMATE_APP_URL,\n        )}&redirect=true`;\n      }\n      redirectUrl = yield this.generateRedirectUrl.perform(redirectUrl, false);\n      this.redirectService.redirect(redirectUrl);\n    } catch (e) {\n      console.log(e);\n      this.notificationsService.notifyError('Failed to connect to GitHub');\n    }\n  }).drop(),\n\n  cleanupPostUninstall: task(function*() {\n    yield this.store.unloadAll('github-webhook');\n    yield this.githubIntegration.destroyRecord();\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns o__flexes-to-1\\\">\\n  <div class=\\\"ass__block\\\">\\n    <div class=\\\"f__group ass__radio-group\\\">\\n      <label class=\\\"f__radio-label u__cf\\\">\\n        <span class=\\\"f__radio-wrapper\\\">\\n          <RadioButton\\n            @boolean={{true}}\\n            @selection={{isCustomTrackingId}}\\n            @value={{false}}\\n            data-test-google-analytics-default={{true}}\\n            @name=\\\"analytics-automatic\\\"\\n            @id=\\\"google__analytics__settings__radio-analytics-automatic\\\"\\n          />\\n        </span>\\n        <span class=\\\"f__radio-content\\\">\\n          Auto-detect tracking ID (default)\\n        </span>\\n      </label>\\n      <div class=\\\"u__ml__20 text-gray\\\">\\n        Intercom will always automatically detect the first Google Analytics setup on a page and use it to pass along Messenger events.\\n      </div>\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n    <div class=\\\"f__group ass__radio-group\\\">\\n      <label class=\\\"f__radio-label u__cf\\\">\\n        <span class=\\\"f__radio-wrapper\\\">\\n          <RadioButton\\n            @boolean={{true}}\\n            @selection={{isCustomTrackingId}}\\n            @value={{true}}\\n            data-test-google-analytics-custom={{true}}\\n            @name=\\\"analytics-custom\\\"\\n            @id=\\\"google__analytics__settings__radio-analytics-custom\\\"\\n          />\\n        </span>\\n        <span class=\\\"f__radio-content\\\">\\n          Manually define tracking ID\\n        </span>\\n      </label>\\n      <div class=\\\"u__ml__20\\\">\\n        <div class=\\\"text-gray\\\">\\n          If you use multiple tracking IDs, you can manually specify which one you want to use to track Messenger events.\\n        </div>\\n        <div class=\\\"h-2\\\"></div>\\n        {{#if isCustomTrackingId}}\\n          <Input\\n            class=\\\"f__text\\\"\\n            @value={{messengerAnalyticsSettings.googleAnalyticsTrackingId}}\\n            placeholder=\\\"GA Tracking ID\\\"\\n            @disabled={{false}}\\n            data-test-google-analytics-tracking-id={{true}}\\n          />\\n        {{else}}\\n          <Input\\n            class=\\\"f__text\\\"\\n            placeholder=\\\"GA Tracking ID\\\"\\n            @disabled={{true}}\\n            data-test-google-analytics-tracking-id={{true}}\\n          />\\n        {{/if}}\\n      </div>\\n    </div>\\n    <div class=\\\"h-2\\\"></div>\\n  </div>\\n</div>\\n<IcButton\\n  @label=\\\"Save settings\\\"\\n  @type=\\\"primary\\\"\\n  data-test-google-analytics-settings-save={{true}}\\n  @disabled={{saveDisabled}}\\n  @onClick={{perform updateChanges}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns o__flexes-to-1\\\">\\n  <div class=\\\"ass__block\\\">\\n    <div class=\\\"f__group ass__radio-group\\\">\\n      <label class=\\\"f__radio-label u__cf\\\">\\n        <span class=\\\"f__radio-wrapper\\\">\\n          <RadioButton\\n            @boolean={{true}}\\n            @selection={{isCustomTrackingId}}\\n            @value={{false}}\\n            data-test-google-analytics-default={{true}}\\n            @name=\\\"analytics-automatic\\\"\\n            @id=\\\"google__analytics__settings__radio-analytics-automatic\\\"\\n          />\\n        </span>\\n        <span class=\\\"f__radio-content\\\">\\n          Auto-detect tracking ID (default)\\n        </span>\\n      </label>\\n      <div class=\\\"u__ml__20 text-gray\\\">\\n        Intercom will always automatically detect the first Google Analytics setup on a page and use it to pass along Messenger events.\\n      </div>\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n    <div class=\\\"f__group ass__radio-group\\\">\\n      <label class=\\\"f__radio-label u__cf\\\">\\n        <span class=\\\"f__radio-wrapper\\\">\\n          <RadioButton\\n            @boolean={{true}}\\n            @selection={{isCustomTrackingId}}\\n            @value={{true}}\\n            data-test-google-analytics-custom={{true}}\\n            @name=\\\"analytics-custom\\\"\\n            @id=\\\"google__analytics__settings__radio-analytics-custom\\\"\\n          />\\n        </span>\\n        <span class=\\\"f__radio-content\\\">\\n          Manually define tracking ID\\n        </span>\\n      </label>\\n      <div class=\\\"u__ml__20\\\">\\n        <div class=\\\"text-gray\\\">\\n          If you use multiple tracking IDs, you can manually specify which one you want to use to track Messenger events.\\n        </div>\\n        <div class=\\\"h-2\\\"></div>\\n        {{#if isCustomTrackingId}}\\n          <Input\\n            class=\\\"f__text\\\"\\n            @value={{messengerAnalyticsSettings.googleAnalyticsTrackingId}}\\n            placeholder=\\\"GA Tracking ID\\\"\\n            @disabled={{false}}\\n            data-test-google-analytics-tracking-id={{true}}\\n          />\\n        {{else}}\\n          <Input\\n            class=\\\"f__text\\\"\\n            placeholder=\\\"GA Tracking ID\\\"\\n            @disabled={{true}}\\n            data-test-google-analytics-tracking-id={{true}}\\n          />\\n        {{/if}}\\n      </div>\\n    </div>\\n    <div class=\\\"h-2\\\"></div>\\n  </div>\\n</div>\\n<IcButton\\n  @label=\\\"Save settings\\\"\\n  @type=\\\"primary\\\"\\n  data-test-google-analytics-settings-save={{true}}\\n  @disabled={{saveDisabled}}\\n  @onClick={{perform updateChanges}}\\n/>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/google-analytics/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/google-analytics/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, match, not, and, bool } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  notificationsService: service(),\n  appService: service(),\n  store: service(),\n  init() {\n    this._super(...arguments);\n    this.loadMessengerAnalyticsSettings.perform();\n  },\n  loadMessengerAnalyticsSettings: task(function*() {\n    let messengerAnalyticsSettings = yield this.store.findRecord(\n      'messenger-settings/analytics',\n      this.appId,\n    );\n    this.set('messengerAnalyticsSettings', messengerAnalyticsSettings);\n  }),\n  appId: readOnly('appService.app.id'),\n  isCustomTrackingId: bool('googleAnalyticsTrackingId'),\n  isNotCustomTrackingId: not('isCustomTrackingId'),\n  saveDisabled: and('isCustomTrackingId', 'isNotValidTrackingId'),\n  googleAnalyticsTrackingId: readOnly('messengerAnalyticsSettings.googleAnalyticsTrackingId'),\n  isValidTrackingId: match('googleAnalyticsTrackingId', /^ua-\\d{4,9}-\\d{1,4}$/i),\n  isNotValidTrackingId: not('isValidTrackingId'),\n  updateChanges: task(function*() {\n    try {\n      let settings = this.messengerAnalyticsSettings;\n      if (this.isNotCustomTrackingId) {\n        settings.set('googleAnalyticsTrackingId', null);\n      }\n      yield settings.save();\n      this.notificationsService.notifyConfirmation(\n        'Your Google Analytics settings have been updated',\n      );\n    } catch (error) {\n      let errorMessage = error.jqXHR.responseJSON.errors[0].message;\n      this.notificationsService.notifyResponseError(errorMessage, {\n        default: errorMessage,\n      });\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Appstore::AppPackage::Settings::CalendarCommon::Main\\n  @admin={{@admin}}\\n  @app={{@app}}\\n  @calendarType=\\\"google\\\"\\n  @installSource={{@installSource}}\\n  @registerHooks={{@registerHooks}}\\n  @authenticationButtonText=\\\"Connect your Google calendar\\\"\\n  @timeZoneSource=\\\"Google calendar\\\"\\n/>\\n\", {\"contents\":\"<Appstore::AppPackage::Settings::CalendarCommon::Main\\n  @admin={{@admin}}\\n  @app={{@app}}\\n  @calendarType=\\\"google\\\"\\n  @installSource={{@installSource}}\\n  @registerHooks={{@registerHooks}}\\n  @authenticationButtonText=\\\"Connect your Google calendar\\\"\\n  @timeZoneSource=\\\"Google calendar\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/google-calendar-meetings/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/google-calendar-meetings/main.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if settings.hasIntegratedCalendar}}\\n  <Appstore::AppPackage::Settings::CalendarCommon::SettingsHeader\\n    @admin={{admin}}\\n    @settings={{settings}}\\n    @redirectToAuth={{this.redirectToGoogleAuth}}\\n    @revokeAccess={{this.revokeAccess}}\\n    @calendarType=\\\"google\\\"\\n  />\\n{{else}}\\n  <Appstore::AppPackage::Settings::CalendarCommon::Connect\\n    @admin={{admin}}\\n    @bodyText=\\\"Connect your Google Calendar to Intercom so you can start a video call with your customers via the Messenger.\\\"\\n    @redirectToAuth={{this.redirectToGoogleAuth}}\\n    @buttonText=\\\"Connect your Google calendar\\\"\\n    @calendarType=\\\"google\\\"\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if settings.hasIntegratedCalendar}}\\n  <Appstore::AppPackage::Settings::CalendarCommon::SettingsHeader\\n    @admin={{admin}}\\n    @settings={{settings}}\\n    @redirectToAuth={{this.redirectToGoogleAuth}}\\n    @revokeAccess={{this.revokeAccess}}\\n    @calendarType=\\\"google\\\"\\n  />\\n{{else}}\\n  <Appstore::AppPackage::Settings::CalendarCommon::Connect\\n    @admin={{admin}}\\n    @bodyText=\\\"Connect your Google Calendar to Intercom so you can start a video call with your customers via the Messenger.\\\"\\n    @redirectToAuth={{this.redirectToGoogleAuth}}\\n    @buttonText=\\\"Connect your Google calendar\\\"\\n    @calendarType=\\\"google\\\"\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/google-meet/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/google-meet/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed, action } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport ENV from 'embercom/config/environment';\n\nexport default Component.extend({\n  notificationsService: service(),\n  appService: service(),\n  redirectService: service(),\n  adminId: readOnly('appService.app.currentAdmin.id'),\n  appId: readOnly('appService.app.id'),\n\n  baseUrl: computed(function() {\n    if (ENV.environment === 'development' || ENV.environment === 'test') {\n      return 'http://localhost:3040/';\n    }\n    return 'https://messenger-apps.intercom.io/';\n  }),\n\n  redirectUrl: computed('adminId', 'appId', function() {\n    return `${this.baseUrl}google_meet/google_oauth/auth?app_id_code=${this.appId}&admin_id=${this.adminId}`;\n  }),\n\n  connectCalendar: task(function*() {\n    try {\n      let signedRedirectUrl = yield this.generateRedirectUrl.perform(this.redirectUrl, true);\n      this.redirectService.redirect(signedRedirectUrl);\n    } catch (response) {\n      this.notificationsService.notifyError(response.jqXHR.responseJSON.message);\n    }\n  }).drop(),\n\n  revokeAccess: action(function() {\n    this.set('settings.hasIntegratedCalendar', false);\n    this.update.perform(this.settings);\n  }),\n\n  redirectToGoogleAuth: action(function() {\n    this.connectCalendar.perform();\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n\\n{{#if @settings.shouldReauthenticate}}\\n  <IcBanner\\n    class=\\\"u__mb__15\\\"\\n    @text=\\\"Some features may not work because of insufficient permissions.\\\"\\n    @type=\\\"error\\\"\\n  />\\n\\n  <IcButton\\n    data-test-reauthentication-button\\n    class=\\\"u__mb__20\\\"\\n    @type=\\\"primary\\\"\\n    @label=\\\"Reauthenticate\\\"\\n    @onClick={{perform @install \\\"\\\"}}\\n  />\\n{{/if}}\\n\\n<Common::AccordionComponent as |accordion|>\\n  <accordion.section\\n    @headerClass=\\\"accordion__white-header\\\"\\n    @name=\\\"contactCreation\\\"\\n    as |section|\\n  >\\n    <section.header as |header|>\\n      <Common::AccordionComponent::WhiteHeaderTitle\\n        @heading=\\\"HubSpot contact creation\\\"\\n        @icon=\\\"people\\\"\\n      />\\n    </section.header>\\n    <section.header-action/>\\n    <section.body as |body|>\\n\\n      <Form class=\\\"accordion__section__wrapper__content\\\" as |form|>\\n        <form.SectionHeading>\\n          Automatically create HubSpot contacts\\n        </form.SectionHeading>\\n        <form.Item\\n          @hint=\\\"When enabled Intercom will automatically create a contact in HubSpot when a lead or user is created in Intercom.\\\"\\n          as |item|>\\n          <item.Checkbox\\n            data-test-contact-creation-checkbox\\n            @label=\\\"Enable automatic contact creation\\\"\\n            @checked={{@settings.contactAutoCreationEnabled}}\\n            {{on 'click' (perform this.toggleAutomaticContactCreation)}}\\n          />\\n        </form.Item>\\n\\n        <form.SectionHeading>\\n          Enrich contacts with previous activity tracked by HubSpot\\n        </form.SectionHeading>\\n        <form.Item\\n          @hint=\\\"When enabled Intercom will send the HubSpot Tracking Cookie when creating leads in HubSpot. With do not track, leads will be created without the cookie.\\\"\\n          as |item|>\\n          <item.Checkbox\\n            data-test-lead-attribution-checkbox\\n            @label=\\\"Allow Intercom to access the HubSpot tracking cookie.\\\"\\n            @checked={{@settings.leadAttributionEnabled}}\\n            {{on 'click' (perform this.toggleLeadAttributionEnabled)}}\\n          />\\n        </form.Item>\\n      </Form>\\n    </section.body>\\n  </accordion.section>\\n\\n  <accordion.section\\n    @headerClass=\\\"accordion__white-header\\\"\\n    @name=\\\"mappings\\\"\\n    as |section|\\n  >\\n    <section.header as |header|>\\n      <Common::AccordionComponent::WhiteHeaderTitle\\n        @heading=\\\"Map data sent to HubSpot\\\"\\n        @icon=\\\"webhook\\\"\\n      />\\n    </section.header>\\n    <section.header-action/>\\n    <section.body as |body|>\\n      <div class=\\\"accordion__section__wrapper__content\\\">\\n        <p class=\\\"mb-3\\\">Updates to your <a href=\\\"{{href-to \\\"apps.app.settings.qualification-settings\\\"}}\\\">Intercom qualification data</a> will automatically update these HubSpot property fields.</p>\\n        <Appstore::AppPackage::Settings::Crm::Mappings\\n          data-test-mappings\\n          @mappings={{@settings.attributeMappings}}\\n          @attributeOptionsForType={{@settings.attributeOptionsForType}}\\n          @updateSettings={{this.updateSettings}}\\n          @attributeLabel={{\\\"HubSpot Contact Attributes\\\"}}\\n        />\\n      </div>\\n    </section.body>\\n  </accordion.section>\\n</Common::AccordionComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n\\n{{#if @settings.shouldReauthenticate}}\\n  <IcBanner\\n    class=\\\"u__mb__15\\\"\\n    @text=\\\"Some features may not work because of insufficient permissions.\\\"\\n    @type=\\\"error\\\"\\n  />\\n\\n  <IcButton\\n    data-test-reauthentication-button\\n    class=\\\"u__mb__20\\\"\\n    @type=\\\"primary\\\"\\n    @label=\\\"Reauthenticate\\\"\\n    @onClick={{perform @install \\\"\\\"}}\\n  />\\n{{/if}}\\n\\n<Common::AccordionComponent as |accordion|>\\n  <accordion.section\\n    @headerClass=\\\"accordion__white-header\\\"\\n    @name=\\\"contactCreation\\\"\\n    as |section|\\n  >\\n    <section.header as |header|>\\n      <Common::AccordionComponent::WhiteHeaderTitle\\n        @heading=\\\"HubSpot contact creation\\\"\\n        @icon=\\\"people\\\"\\n      />\\n    </section.header>\\n    <section.header-action/>\\n    <section.body as |body|>\\n\\n      <Form class=\\\"accordion__section__wrapper__content\\\" as |form|>\\n        <form.SectionHeading>\\n          Automatically create HubSpot contacts\\n        </form.SectionHeading>\\n        <form.Item\\n          @hint=\\\"When enabled Intercom will automatically create a contact in HubSpot when a lead or user is created in Intercom.\\\"\\n          as |item|>\\n          <item.Checkbox\\n            data-test-contact-creation-checkbox\\n            @label=\\\"Enable automatic contact creation\\\"\\n            @checked={{@settings.contactAutoCreationEnabled}}\\n            {{on 'click' (perform this.toggleAutomaticContactCreation)}}\\n          />\\n        </form.Item>\\n\\n        <form.SectionHeading>\\n          Enrich contacts with previous activity tracked by HubSpot\\n        </form.SectionHeading>\\n        <form.Item\\n          @hint=\\\"When enabled Intercom will send the HubSpot Tracking Cookie when creating leads in HubSpot. With do not track, leads will be created without the cookie.\\\"\\n          as |item|>\\n          <item.Checkbox\\n            data-test-lead-attribution-checkbox\\n            @label=\\\"Allow Intercom to access the HubSpot tracking cookie.\\\"\\n            @checked={{@settings.leadAttributionEnabled}}\\n            {{on 'click' (perform this.toggleLeadAttributionEnabled)}}\\n          />\\n        </form.Item>\\n      </Form>\\n    </section.body>\\n  </accordion.section>\\n\\n  <accordion.section\\n    @headerClass=\\\"accordion__white-header\\\"\\n    @name=\\\"mappings\\\"\\n    as |section|\\n  >\\n    <section.header as |header|>\\n      <Common::AccordionComponent::WhiteHeaderTitle\\n        @heading=\\\"Map data sent to HubSpot\\\"\\n        @icon=\\\"webhook\\\"\\n      />\\n    </section.header>\\n    <section.header-action/>\\n    <section.body as |body|>\\n      <div class=\\\"accordion__section__wrapper__content\\\">\\n        <p class=\\\"mb-3\\\">Updates to your <a href=\\\"{{href-to \\\"apps.app.settings.qualification-settings\\\"}}\\\">Intercom qualification data</a> will automatically update these HubSpot property fields.</p>\\n        <Appstore::AppPackage::Settings::Crm::Mappings\\n          data-test-mappings\\n          @mappings={{@settings.attributeMappings}}\\n          @attributeOptionsForType={{@settings.attributeOptionsForType}}\\n          @updateSettings={{this.updateSettings}}\\n          @attributeLabel={{\\\"HubSpot Contact Attributes\\\"}}\\n        />\\n      </div>\\n    </section.body>\\n  </accordion.section>\\n</Common::AccordionComponent>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/hubspot/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/hubspot/main.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class Main extends Component {\n  @service notificationsService;\n  @service intercomEventService;\n\n  @task *toggleAutomaticContactCreation() {\n    this.args.settings.toggleProperty('contactAutoCreationEnabled');\n    try {\n      yield this.updateSettings.perform();\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'toggled',\n        object: 'automatic-contact-creation',\n        place: 'hubspot-settings ',\n        current_state: this.args.settings.contactAutoCreationEnabled,\n      });\n    } catch (e) {\n      this.args.settings.rollbackAttributes();\n      this.notificationsService.notifyError(\n        \"Something went wrong and we couldn't update your HubSpot settings\",\n      );\n    }\n  }\n\n  @task *toggleLeadAttributionEnabled() {\n    this.args.settings.toggleProperty('leadAttributionEnabled');\n    try {\n      yield this.updateSettings.perform();\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'toggled',\n        object: 'lead-attribution',\n        place: 'hubspot-settings ',\n        current_state: this.args.settings.leadAttributionEnabled,\n      });\n    } catch (e) {\n      this.args.settings.rollbackAttributes();\n      this.notificationsService.notifyError(\n        \"Something went wrong and we couldn't update your HubSpot settings\",\n      );\n    }\n  }\n\n  @task *updateSettings() {\n    yield this.args.update.perform(this.args.settings);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<p class=\\\"u__mb__20\\\">\\n  Import your Mailchimp users to Intercom to build profiles and start personal conversations.\\n</p>\\n<IcButton\\n  @label=\\\"Import your Mailchimp lists\\\"\\n  @type=\\\"primary\\\"\\n  data-test-mailchimp-import-button={{true}}\\n  @onClick={{this.importMailchimp}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<p class=\\\"u__mb__20\\\">\\n  Import your Mailchimp users to Intercom to build profiles and start personal conversations.\\n</p>\\n<IcButton\\n  @label=\\\"Import your Mailchimp lists\\\"\\n  @type=\\\"primary\\\"\\n  data-test-mailchimp-import-button={{true}}\\n  @onClick={{this.importMailchimp}}\\n/>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/mailchimp-import/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/mailchimp-import/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  router: service(),\n  openCenteredWindowService: service(),\n\n  importMailchimp: action(function() {\n    let url = this.router.urlFor('apps.app.import.mailchimp');\n    this.openCenteredWindowService.setup(url, 800, 1100, 'Import');\n    this.intercomEventService.trackAnalyticsEvent({\n      object: this.appPackage,\n      action: 'import',\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (not isAuthorized)}}\\n  <IcButton @onClick={{this.redirectToOauth}} @label=\\\"Sync your subscribers\\\" @type=\\\"primary\\\" data-test-install-button />\\n{{else if fetchSyncingState.isRunning}}\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__centers-all appstore__modal__loading-container\\\"\\n  >\\n    <IcLoadingIndicator @size=\\\"large\\\" />\\n  </div>\\n{{else}}\\n  {{#if (and syncingState.enabled (not isMailchimpIntegration))}}\\n    <div class=\\\"h-5\\\"></div>\\n    <IcBanner @type=\\\"warning\\\" data-test-other-integration-warning={{true}}>\\n      You're already using the Marketo integration to do this. <a\\n        action=\\\"changeIntegrationType\\\"\\n      >\\n        Remove it now\\n      </a>\\n      .\\n    </IcBanner>\\n  {{else if syncingState.verified}}\\n    <IcBanner @type=\\\"confirmation\\\">\\n      Unsubscribe status is being synced with the Mailchimp list ​<strong>\\n        {{selectedList.name}}\\n      </strong>\\n    </IcBanner>\\n    <div class=\\\"h-5\\\"></div>\\n    <IcButton\\n      @label=\\\"Cancel sync\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{perform cancelSyncing}}\\n      data-test-cancel-button={{true}}\\n    />\\n  {{else if isAuthorized}}\\n    <p class=\\\"u__mb__10\\\">\\n      Choose the list you want to sync. If the list you want to import is not available, enter the list id to retrieve it:\\n    </p>\\n    <div class=\\\"t__light-text u__mb__10\\\">\\n      {{ic-interface-icon \\\"info\\\"\\n      }} To find the list id in Mailchimp, go to the settings for your list and select ‘List name and defaults’.\\n    </div>\\n    <div class=\\\"import__mailchimp__list-lookup-input\\\">\\n      <Input\\n        @disabled={{lookupList.isRunning}}\\n        @value={{listToLookup}}\\n        placeholder=\\\"List ID\\\"\\n        class=\\\"f__text {{if disabled \\\"o__disabled\\\"}}\\\"\\n      />\\n    </div>\\n    <IcButton\\n      @label=\\\"Lookup\\\"\\n      @type=\\\"primary-live\\\"\\n      @onClick={{perform lookupList}}\\n    />\\n    <div class=\\\"h-2\\\"></div>\\n    {{#each mailchimpLists as |list|}}\\n      <div class=\\\"f__group o__radio-group\\\" {{action \\\"selectList\\\" list}}>\\n        <label for=\\\"example-radio-second-id-one\\\" class=\\\"f__radio-label u__cf\\\">\\n          <span class=\\\"f__radio-wrapper u__disable-pointer-events\\\">\\n            <input type=\\\"radio\\\" checked={{list.isSelected}} />\\n          </span>\\n          <span class=\\\"f__radio-content\\\">\\n            {{list.name}}\\n          </span>\\n        </label>\\n      </div>\\n    {{else}}\\n      Looks like you don't have any lists in Mailchimp.\\n    {{/each}}\\n    {{#if enable.isRunning}}\\n      <div class=\\\"h-2\\\"></div><IcLoadingIndicator @size=\\\"small\\\" />\\n    {{else if isEnabled}}\\n      <div class=\\\"h-2\\\"></div>\\n      <h2 class=\\\"t__h3\\\">\\n        To keep in sync:\\n      </h2>\\n      <ol>\\n        <li>\\n          Go to <a\\n            href=\\\"https://admin.mailchimp.com/lists\\\"\\n            target=\\\"_blank\\\"\\n            rel=\\\"noopener noreferrer\\\"\\n          >\\n            your Mailchimp Lists\\n          </a>\\n        </li>\\n        <li>\\n          Select the list you want to sync, then Settings, and Webhooks\\n        </li>\\n        <li>\\n          Create a new webhook\\n        </li>\\n        <li>\\n          Add this Callback URL: <div class=\\\"h-1\\\"></div>\\n          <Guide::InputCopyComponent @value={{callbackUrl}} />\\n          <div class=\\\"h-1\\\"></div>\\n        </li>\\n        <li>\\n          Tick ‘Unsubscribes’\\n        </li>\\n        <li>\\n          Save\\n        </li>\\n      </ol>\\n      <div class=\\\"h-2\\\"></div>\\n      <IcLoadingIndicator @size=\\\"tiny\\\" />\\n      <span class=\\\"text-gray u__ml__5\\\">\\n        Checking…\\n      </span>\\n    {{/if}}\\n    <div class=\\\"h-5\\\"></div>\\n    <IcButton\\n      @label=\\\"Cancel sync\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{perform cancelSyncing}}\\n      data-test-cancel-button={{true}}\\n    />\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (not isAuthorized)}}\\n  <IcButton @onClick={{this.redirectToOauth}} @label=\\\"Sync your subscribers\\\" @type=\\\"primary\\\" data-test-install-button />\\n{{else if fetchSyncingState.isRunning}}\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__centers-all appstore__modal__loading-container\\\"\\n  >\\n    <IcLoadingIndicator @size=\\\"large\\\" />\\n  </div>\\n{{else}}\\n  {{#if (and syncingState.enabled (not isMailchimpIntegration))}}\\n    <div class=\\\"h-5\\\"></div>\\n    <IcBanner @type=\\\"warning\\\" data-test-other-integration-warning={{true}}>\\n      You're already using the Marketo integration to do this. <a\\n        action=\\\"changeIntegrationType\\\"\\n      >\\n        Remove it now\\n      </a>\\n      .\\n    </IcBanner>\\n  {{else if syncingState.verified}}\\n    <IcBanner @type=\\\"confirmation\\\">\\n      Unsubscribe status is being synced with the Mailchimp list ​<strong>\\n        {{selectedList.name}}\\n      </strong>\\n    </IcBanner>\\n    <div class=\\\"h-5\\\"></div>\\n    <IcButton\\n      @label=\\\"Cancel sync\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{perform cancelSyncing}}\\n      data-test-cancel-button={{true}}\\n    />\\n  {{else if isAuthorized}}\\n    <p class=\\\"u__mb__10\\\">\\n      Choose the list you want to sync. If the list you want to import is not available, enter the list id to retrieve it:\\n    </p>\\n    <div class=\\\"t__light-text u__mb__10\\\">\\n      {{ic-interface-icon \\\"info\\\"\\n      }} To find the list id in Mailchimp, go to the settings for your list and select ‘List name and defaults’.\\n    </div>\\n    <div class=\\\"import__mailchimp__list-lookup-input\\\">\\n      <Input\\n        @disabled={{lookupList.isRunning}}\\n        @value={{listToLookup}}\\n        placeholder=\\\"List ID\\\"\\n        class=\\\"f__text {{if disabled \\\"o__disabled\\\"}}\\\"\\n      />\\n    </div>\\n    <IcButton\\n      @label=\\\"Lookup\\\"\\n      @type=\\\"primary-live\\\"\\n      @onClick={{perform lookupList}}\\n    />\\n    <div class=\\\"h-2\\\"></div>\\n    {{#each mailchimpLists as |list|}}\\n      <div class=\\\"f__group o__radio-group\\\" {{action \\\"selectList\\\" list}}>\\n        <label for=\\\"example-radio-second-id-one\\\" class=\\\"f__radio-label u__cf\\\">\\n          <span class=\\\"f__radio-wrapper u__disable-pointer-events\\\">\\n            <input type=\\\"radio\\\" checked={{list.isSelected}} />\\n          </span>\\n          <span class=\\\"f__radio-content\\\">\\n            {{list.name}}\\n          </span>\\n        </label>\\n      </div>\\n    {{else}}\\n      Looks like you don't have any lists in Mailchimp.\\n    {{/each}}\\n    {{#if enable.isRunning}}\\n      <div class=\\\"h-2\\\"></div><IcLoadingIndicator @size=\\\"small\\\" />\\n    {{else if isEnabled}}\\n      <div class=\\\"h-2\\\"></div>\\n      <h2 class=\\\"t__h3\\\">\\n        To keep in sync:\\n      </h2>\\n      <ol>\\n        <li>\\n          Go to <a\\n            href=\\\"https://admin.mailchimp.com/lists\\\"\\n            target=\\\"_blank\\\"\\n            rel=\\\"noopener noreferrer\\\"\\n          >\\n            your Mailchimp Lists\\n          </a>\\n        </li>\\n        <li>\\n          Select the list you want to sync, then Settings, and Webhooks\\n        </li>\\n        <li>\\n          Create a new webhook\\n        </li>\\n        <li>\\n          Add this Callback URL: <div class=\\\"h-1\\\"></div>\\n          <Guide::InputCopyComponent @value={{callbackUrl}} />\\n          <div class=\\\"h-1\\\"></div>\\n        </li>\\n        <li>\\n          Tick ‘Unsubscribes’\\n        </li>\\n        <li>\\n          Save\\n        </li>\\n      </ol>\\n      <div class=\\\"h-2\\\"></div>\\n      <IcLoadingIndicator @size=\\\"tiny\\\" />\\n      <span class=\\\"text-gray u__ml__5\\\">\\n        Checking…\\n      </span>\\n    {{/if}}\\n    <div class=\\\"h-5\\\"></div>\\n    <IcButton\\n      @label=\\\"Cancel sync\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{perform cancelSyncing}}\\n      data-test-cancel-button={{true}}\\n    />\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/mailchimp-sync/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/mailchimp-sync/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport EmberObject, { action } from '@ember/object';\nimport { equal, notEmpty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport Component from '@ember/component';\nimport { findBy, templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport MailchimpList from 'embercom/models/mailchimp-list';\nimport unsubscribeApp from 'embercom/lib/appstore/unsubscribe-app';\nimport { TEAMMATE_APP_URL } from 'embercom/lib/teammate-app';\n\nexport default Component.extend({\n  notificationsService: service(),\n  realTimeEventService: service(),\n  redirectService: service(),\n\n  init() {\n    this._super(...arguments);\n    this.set('mailchimpLists', []);\n    this.setup.perform();\n    this.registerHooks({ afterUninstall: this.cancelSyncing });\n    this.realTimeEventService.subscribeTopics(['unsubscribe-integration-verified']);\n    this.realTimeEventService.on('UnsubscribeIntegrationVerified', this, 'updateFromRealtime');\n  },\n\n  willDestroyElement() {\n    this.realTimeEventService.off('UnsubscribeIntegrationVerified', this, 'updateFromRealtime');\n    this.realTimeEventService.unsubscribeTopics(['unsubscribe-integration-verified']);\n    this._super(...arguments);\n  },\n\n  updateFromRealtime() {\n    this.set('syncingState.verified', true);\n  },\n\n  setup: task(function*() {\n    yield this.fetchSyncingState.perform();\n    yield this.fetchAllLists.perform();\n  }),\n\n  fetchSyncingState: task(function*() {\n    let syncingState = yield unsubscribeApp.fetchSyncingState(this.get('app.id'));\n    this.set('syncingState', syncingState);\n  }),\n\n  lookupList: task(function*() {\n    let response = yield MailchimpList.singleList(\n      this.get('syncingState.access_token'),\n      this.listToLookup,\n    );\n    if (response.errorThrown) {\n      this.notificationsService.notifyError('Unable to find a list with that ID.');\n    } else {\n      this.set('mailchimpLists', [response]);\n\n      let selectedList = this.mailchimpLists.findBy('id', this.get('syncingState.listId'));\n      if (selectedList) {\n        selectedList.set('isSelected', true);\n      }\n\n      if (selectedList && this.get('syncingState.enabled')) {\n        this.set('isEnabled', true);\n      }\n    }\n  }),\n\n  fetchAllLists: task(function*() {\n    try {\n      let lists = yield MailchimpList.list(this.get('syncingState.access_token'));\n      this.set('mailchimpLists', lists);\n\n      let selectedList = lists.findBy('id', this.get('syncingState.listId'));\n      if (selectedList) {\n        selectedList.set('isSelected', true);\n      }\n\n      if (selectedList && this.get('syncingState.enabled')) {\n        this.set('isEnabled', true);\n      }\n    } catch (err) {\n      this.set('syncingState.access_token', null);\n    }\n  }),\n\n  enableSyncing: task(function*() {\n    try {\n      let accessToken = this.get('syncingState.access_token');\n      let listId = this.get('syncingState.listId');\n      let response = yield unsubscribeApp.enableSyncing(\n        this.get('app.id'),\n        accessToken,\n        'mailchimp',\n        listId,\n      );\n      this.setProperties({\n        syncingState: response,\n        isEnabled: true,\n      });\n    } catch (err) {\n      this.notificationsService.notifyError(err.jqXHR.responseJSON.errors);\n    }\n  }),\n\n  cancelSyncing: task(function*() {\n    yield unsubscribeApp.cancelSyncing(this.get('app.id'));\n\n    this.setProperties({\n      isEnabled: false,\n      'syncingState.access_token': '',\n      'syncingState.webhook_secret': '',\n      'syncingState.listId': '',\n      'syncingState.verified': false,\n      'syncingState.enabled': false,\n      'syncingState.integrate_with': '',\n      mailchimpLists: [],\n    });\n\n    this.notificationsService.notifyConfirmation('Success. Mailchimp syncing was disabled.');\n  }),\n\n  isEnabled: false,\n  listToLookup: null,\n  mailchimpLists: null,\n  selectedList: findBy('mailchimpLists', 'isSelected', true),\n  isMailchimpIntegration: equal('syncingState.integrate_with', 'mailchimp'),\n  isAuthorized: notEmpty('syncingState.access_token'),\n  teammateAppUrl: TEAMMATE_APP_URL,\n\n  callbackUrl: templateString(\n    '${teammateAppUrl}/external_unsubscribe?app_id=${app.id}&secret=${syncingState.webhook_secret}',\n  ),\n\n  redirectToOauth: action(function() {\n    this.redirectService.redirect(\n      `${this.teammateAppUrl}/mailchimp_sync/install?app_id=${this.app.id}&caller=sync`,\n    );\n  }),\n\n  actions: {\n    handleAuthorization(mailchimpApiKey) {\n      if (!this.syncingState) {\n        this.set('syncingState', EmberObject.create());\n      }\n      this.set('syncingState.access_token', mailchimpApiKey);\n      this.fetchAllLists.perform();\n    },\n\n    selectList(list) {\n      if (list === this.selectedList) {\n        return;\n      }\n\n      let lists = this.mailchimpLists;\n      lists.setEach('isSelected', false);\n      list.set('isSelected', true);\n      this.set('syncingState.listId', list.get('id'));\n      this.enableSyncing.perform();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Appstore::AppPackage::Settings::Shared::EmailSubscribe\\n  @app={{app}}\\n  @admin={{admin}}\\n  @appPackage={{appPackage}}\\n  @settings={{settings}}\\n  @update={{update}}\\n  @generateRedirectUrl={{generateRedirectUrl}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Appstore::AppPackage::Settings::Shared::EmailSubscribe\\n  @app={{app}}\\n  @admin={{admin}}\\n  @appPackage={{appPackage}}\\n  @settings={{settings}}\\n  @update={{update}}\\n  @generateRedirectUrl={{generateRedirectUrl}}\\n/>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/mailchimp/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/mailchimp/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div>\\n  {{#if (has-feature \\\"canUseMarketoIteration\\\")}}\\n    {{#if this.shouldShowSettings}}\\n      <Common::AccordionComponent as |accordion|>\\n        <accordion.section\\n          @headerClass=\\\"accordion__white-header\\\"\\n          @name=\\\"lead_creation_settings\\\"\\n          as |section|\\n        >\\n          <section.header as |header|>\\n            <Common::AccordionComponent::WhiteHeaderTitle\\n              @heading=\\\"Configure lead creation\\\"\\n              @icon=\\\"people\\\"\\n            />\\n          </section.header>\\n          <section.header-action/>\\n          <section.body as |body|>\\n            <div data-test-lead-creation class=\\\"accordion__section__wrapper__content\\\">\\n              <div class=\\\"layout__box o__centers-vertically\\\">\\n                <IcContent>\\n                  <div class=\\\"flex flex-row items-start gap-2\\\">\\n                    <div class=\\\"mr-3 mt-2\\\">\\n                      <IcOnOffToggle\\n                        data-test-auto-create-leads-toggle\\n                        @isOn={{@settings.autoCreateLeads}}\\n                        @onClick={{perform this.toggleAutoCreateLeads}}\\n                      />\\n                    </div>\\n                    <Text>\\n                      Automatically create a Marketo lead when an Intercom lead or user is created.\\n                    </Text>\\n                  </div>\\n                </IcContent>\\n              </div>\\n              <hr class=\\\"sp__hr\\\" />\\n              <div class=\\\"layout__box o__centers-vertically\\\">\\n                <IcContent>\\n                  <div class=\\\"flex flex-row items-start gap-2\\\">\\n                    <div class=\\\"mr-3 mt-2\\\">\\n                      <IcOnOffToggle\\n                        data-test-lead-enrichment-toggle\\n                        @isOn={{@settings.leadEnrichmentEnabled}}\\n                        @onClick={{perform this.toggleLeadEnrichment}}\\n                      />\\n                    </div>\\n                    <Text>\\n                      Grant Intercom access to Marketo's Munchkin Cookie to enrich leads with data collected through Intercom.\\n                    </Text>\\n                  </div>\\n                </IcContent>\\n              </div>\\n              <hr class=\\\"sp__hr\\\" />\\n              <div class=\\\"layout__box o__centers-vertically\\\">\\n                <Text class=\\\"mr-4\\\">\\n                  Sync unsubscriber status between Marketo and Intercom\\n                </Text>\\n                <a\\n                  data-test-connect-button\\n                  href=\\\"/a/apps/_/appstore?app_package_code=marketo\\\"\\n                  target=\\\"_blank\\\"\\n                  rel=\\\"noopener noreferrer\\\"\\n                  class=\\\"ml-10\\\"\\n                >\\n                  <IcButton @label=\\\"Get app\\\" @type=\\\"secondary\\\" />\\n                </a>\\n              </div>\\n            </div>\\n          </section.body>\\n        </accordion.section>\\n        <accordion.section\\n          @headerClass=\\\"accordion__white-header\\\"\\n          @name=\\\"mappings\\\"\\n          as |section|\\n        >\\n          <section.header as |header|>\\n            <Common::AccordionComponent::WhiteHeaderTitle\\n              @heading=\\\"Map data sent to Marketo\\\"\\n              @icon=\\\"webhook\\\"\\n            />\\n          </section.header>\\n          <section.header-action/>\\n          <section.body as |body|>\\n            <div class=\\\"accordion__section__wrapper__content\\\">\\n              <IcContent>\\n                <Heading @size='3'>Conversations</Heading>\\n                <div class=\\\"flex flex-row items-start gap-2\\\">\\n                  <div class=\\\"mr-3 mt-2\\\">\\n                    <IcOnOffToggle\\n                      data-test-send-conversation-activity-metadata-toggle\\n                      @isOn={{@settings.sendConversationActivityMetadata}}\\n                      @onClick={{perform this.toggleSendConversationActivityMetadata}}\\n                    />\\n                  </div>\\n                  <Text>\\n                    Create and update Marketo activities when a conversation starts or gets marked as closed.\\n                  </Text>\\n                </div>\\n                <Heading @size='3'>Attributes</Heading>\\n                <p class=\\\"mb-3\\\">Updates to your <a href=\\\"{{href-to \\\"apps.app.settings.qualification-settings\\\"}}\\\">Intercom qualification data</a> will automatically update these Marketo property fields.</p>\\n                <Appstore::AppPackage::Settings::Crm::Mappings\\n                  data-test-mappings\\n                  @mappings={{@settings.attributeMappings}}\\n                  @attributeOptionsForType={{@settings.attributeOptionsForType}}\\n                  @updateSettings={{this.updateSettings}}\\n                  @attributeLabel={{\\\"Marketo Contact Attributes\\\"}}\\n                />\\n              </IcContent>\\n            </div>\\n          </section.body>\\n        </accordion.section>\\n      </Common::AccordionComponent>\\n    {{else}}\\n      <Heading @size=\\\"4\\\">Enter your Marketo API details</Heading>\\n      <Paragraph class=\\\"mb-4\\\">\\n        See Marketo's docs on\\n        <a\\n          href=\\\"http://developers.marketo.com/rest-api/custom-services/\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n        >\\n          <Text @linkStyling=\\\"inline\\\">creating a custom service </Text>\\n        </a>\\n        and\\n        <a\\n          href=\\\"http://developers.marketo.com/rest-api/base-url/\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n        >\\n\\n          <Text @linkStyling=\\\"inline\\\"> finding your endpoint URL</Text>\\n        </a>.\\n      </Paragraph>\\n      <Form as |form|>\\n        <form.Item class=\\\"mb-4\\\" @label=\\\"Client ID\\\" as |item|>\\n          <item.Input\\n            @value={{this.marketoClientId}}\\n            placeholder=\\\"Client ID\\\"\\n          />\\n        </form.Item>\\n        <form.Item class=\\\"mb-4\\\" @label=\\\"Client Secret\\\" as |item|>\\n          <item.Input\\n            @value={{this.marketoClientSecret}}\\n            placeholder=\\\"Client Secret\\\"\\n          />\\n        </form.Item>\\n        <form.Item class=\\\"mb-4\\\" @label=\\\"API Subdomain\\\" as |item|>\\n          <item.Input\\n            @value={{this.marketoHostName}}\\n            @prefix=\\\"https://\\\"\\n            @suffix=\\\".mktorest.com/rest\\\"\\n            placeholder=\\\"xxx-xxx-xxx\\\"\\n          />\\n        </form.Item>\\n        <form.Item @label=\\\"App Subdomain\\\" as |item|>\\n          <item.Input\\n            @value={{this.marketoAppHostName}}\\n            @prefix=\\\"https://\\\"\\n            @suffix=\\\".marketo.com\\\"\\n            placeholder=\\\"app-xxxx\\\"\\n          />\\n        </form.Item>\\n      </Form>\\n      <IcButton\\n        @label=\\\"Authenticate\\\"\\n        @type=\\\"primary\\\"\\n        {{on \\\"click\\\" (perform this.updateAuthCredentials)}}\\n        class=\\\"mb-4 mt-8\\\"\\n        data-test-authenticate-button\\n      />\\n    {{/if}}\\n  {{else}}\\n    <p class=\\\"u__mb__20\\\">\\n      Enrich anonymous Marketo leads with data gathered through Intercom and surface relevant data on a lead in Intercom.\\n    </p>\\n    <h4>\\n      Enter your Marketo API details\\n    </h4>\\n    <p class=\\\"u__mb__20\\\">\\n      See Marketo's docs on <a\\n        href=\\\"http://developers.marketo.com/rest-api/custom-services/\\\"\\n        target=\\\"_blank\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n      >\\n        creating a custom service\\n      </a>\\n      and <a\\n        href=\\\"http://developers.marketo.com/rest-api/base-url/\\\"\\n        target=\\\"_blank\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n      >\\n        finding your endpoint URL\\n      </a>\\n      .\\n    </p>\\n    <div class=\\\"f__group\\\">\\n      <label class=\\\"f__group-label t__label\\\">\\n        Client ID:\\n      </label>\\n      <Input\\n        class=\\\"f__text\\\"\\n        @value={{@settings.marketoClientId}}\\n        placeholder=\\\"Client ID\\\"\\n      />\\n    </div>\\n    <div class=\\\"f__group\\\">\\n      <label class=\\\"f__group-label t__label\\\">\\n        Client Secret:\\n      </label>\\n      <Input\\n        class=\\\"f__text\\\"\\n        @value={{@settings.marketoClientSecret}}\\n        placeholder=\\\"Client Secret\\\"\\n      />\\n    </div>\\n    <div class=\\\"f__group\\\">\\n      <label class=\\\"f__group-label t__label\\\">\\n        API Subdomain:\\n      </label>\\n      <div class=\\\"layout__box o__centers-vertically\\\">\\n        <label class=\\\"t__label\\\">\\n          https://\\n        </label>\\n        <Input\\n          class=\\\"f__text appstore__marketo-enrichment__subdomain-input\\\"\\n          @value={{@settings.marketoHostName}}\\n          placeholder=\\\"xxx-xxx-xxx\\\"\\n        />\\n        <label class=\\\"t__label\\\">\\n          .mktorest.com/rest\\n        </label>\\n      </div>\\n    </div>\\n    <div class=\\\"f__group\\\">\\n      <label class=\\\"f__group-label t__label\\\">\\n        App Subdomain:\\n      </label>\\n      <div class=\\\"layout__box o__centers-vertically\\\">\\n        <label class=\\\"t__label\\\">\\n          https://\\n        </label>\\n        <Input\\n          class=\\\"f__text appstore__marketo-enrichment__subdomain-input\\\"\\n          @value={{@settings.marketoAppHostName}}\\n          placeholder=\\\"app-xxxx\\\"\\n        />\\n        <label class=\\\"t__label\\\">\\n          .marketo.com\\n        </label>\\n      </div>\\n    </div>\\n    <hr class=\\\"sp__hr\\\" />\\n    <h4>\\n      Automatic lead creation through Intercom\\n    </h4>\\n    <div class=\\\"layout__box o__centers-vertically\\\">\\n      <input\\n        type=\\\"checkbox\\\"\\n        checked={{@settings.autoCreateLeads}}\\n        {{on \\\"click\\\" (set @settings.autoCreateLeads \\\"target.checked\\\")}}\\n        class=\\\"appstore__marketo-enrichment__cookie-scraping-permission\\\"\\n      />\\n      <p>\\n        When an Intercom lead or user is created, we will automatically create a lead in Marketo.\\n      </p>\\n    </div>\\n    <hr class=\\\"sp__hr\\\" />\\n    <h4>\\n      Enrich leads in Marketo with data collected through Intercom\\n    </h4>\\n    <div class=\\\"layout__box o__centers-vertically\\\">\\n      <input\\n        type=\\\"checkbox\\\"\\n        checked={{@settings.leadEnrichmentEnabled}}\\n        {{on \\\"click\\\" (set @settings.leadEnrichmentEnabled \\\"target.checked\\\")}}\\n        class=\\\"appstore__marketo-enrichment__cookie-scraping-permission\\\"\\n      />\\n      <p>\\n        This feature enables Intercom to access the Marketo Munchkin Cookie.\\n      </p>\\n    </div>\\n    <hr class=\\\"sp__hr\\\" />\\n    <div class=\\\"layout__box o__centers-vertically\\\">\\n      <div>\\n        <h4>\\n          Sync unsubscriber status\\n        </h4>\\n        <p>\\n          This feature requires the Marketo Unsubscribe app to be installed.\\n        </p>\\n      </div>\\n      <a\\n        data-test-connect-button\\n        href=\\\"/a/apps/_/appstore?app_package_code=marketo\\\"\\n        target=\\\"_blank\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n        class=\\\"appstore__marketo-enrichment__get-app\\\"\\n      >\\n        <IcButton @label=\\\"Get app\\\" @type=\\\"secondary\\\" />\\n      </a>\\n    </div>\\n    <hr class=\\\"sp__hr\\\" />\\n    <IcButton\\n      @label=\\\"Save settings\\\"\\n      @type=\\\"primary\\\"\\n      {{on \\\"click\\\" (perform this.updateSettings @settings)}}\\n    />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div>\\n  {{#if (has-feature \\\"canUseMarketoIteration\\\")}}\\n    {{#if this.shouldShowSettings}}\\n      <Common::AccordionComponent as |accordion|>\\n        <accordion.section\\n          @headerClass=\\\"accordion__white-header\\\"\\n          @name=\\\"lead_creation_settings\\\"\\n          as |section|\\n        >\\n          <section.header as |header|>\\n            <Common::AccordionComponent::WhiteHeaderTitle\\n              @heading=\\\"Configure lead creation\\\"\\n              @icon=\\\"people\\\"\\n            />\\n          </section.header>\\n          <section.header-action/>\\n          <section.body as |body|>\\n            <div data-test-lead-creation class=\\\"accordion__section__wrapper__content\\\">\\n              <div class=\\\"layout__box o__centers-vertically\\\">\\n                <IcContent>\\n                  <div class=\\\"flex flex-row items-start gap-2\\\">\\n                    <div class=\\\"mr-3 mt-2\\\">\\n                      <IcOnOffToggle\\n                        data-test-auto-create-leads-toggle\\n                        @isOn={{@settings.autoCreateLeads}}\\n                        @onClick={{perform this.toggleAutoCreateLeads}}\\n                      />\\n                    </div>\\n                    <Text>\\n                      Automatically create a Marketo lead when an Intercom lead or user is created.\\n                    </Text>\\n                  </div>\\n                </IcContent>\\n              </div>\\n              <hr class=\\\"sp__hr\\\" />\\n              <div class=\\\"layout__box o__centers-vertically\\\">\\n                <IcContent>\\n                  <div class=\\\"flex flex-row items-start gap-2\\\">\\n                    <div class=\\\"mr-3 mt-2\\\">\\n                      <IcOnOffToggle\\n                        data-test-lead-enrichment-toggle\\n                        @isOn={{@settings.leadEnrichmentEnabled}}\\n                        @onClick={{perform this.toggleLeadEnrichment}}\\n                      />\\n                    </div>\\n                    <Text>\\n                      Grant Intercom access to Marketo's Munchkin Cookie to enrich leads with data collected through Intercom.\\n                    </Text>\\n                  </div>\\n                </IcContent>\\n              </div>\\n              <hr class=\\\"sp__hr\\\" />\\n              <div class=\\\"layout__box o__centers-vertically\\\">\\n                <Text class=\\\"mr-4\\\">\\n                  Sync unsubscriber status between Marketo and Intercom\\n                </Text>\\n                <a\\n                  data-test-connect-button\\n                  href=\\\"/a/apps/_/appstore?app_package_code=marketo\\\"\\n                  target=\\\"_blank\\\"\\n                  rel=\\\"noopener noreferrer\\\"\\n                  class=\\\"ml-10\\\"\\n                >\\n                  <IcButton @label=\\\"Get app\\\" @type=\\\"secondary\\\" />\\n                </a>\\n              </div>\\n            </div>\\n          </section.body>\\n        </accordion.section>\\n        <accordion.section\\n          @headerClass=\\\"accordion__white-header\\\"\\n          @name=\\\"mappings\\\"\\n          as |section|\\n        >\\n          <section.header as |header|>\\n            <Common::AccordionComponent::WhiteHeaderTitle\\n              @heading=\\\"Map data sent to Marketo\\\"\\n              @icon=\\\"webhook\\\"\\n            />\\n          </section.header>\\n          <section.header-action/>\\n          <section.body as |body|>\\n            <div class=\\\"accordion__section__wrapper__content\\\">\\n              <IcContent>\\n                <Heading @size='3'>Conversations</Heading>\\n                <div class=\\\"flex flex-row items-start gap-2\\\">\\n                  <div class=\\\"mr-3 mt-2\\\">\\n                    <IcOnOffToggle\\n                      data-test-send-conversation-activity-metadata-toggle\\n                      @isOn={{@settings.sendConversationActivityMetadata}}\\n                      @onClick={{perform this.toggleSendConversationActivityMetadata}}\\n                    />\\n                  </div>\\n                  <Text>\\n                    Create and update Marketo activities when a conversation starts or gets marked as closed.\\n                  </Text>\\n                </div>\\n                <Heading @size='3'>Attributes</Heading>\\n                <p class=\\\"mb-3\\\">Updates to your <a href=\\\"{{href-to \\\"apps.app.settings.qualification-settings\\\"}}\\\">Intercom qualification data</a> will automatically update these Marketo property fields.</p>\\n                <Appstore::AppPackage::Settings::Crm::Mappings\\n                  data-test-mappings\\n                  @mappings={{@settings.attributeMappings}}\\n                  @attributeOptionsForType={{@settings.attributeOptionsForType}}\\n                  @updateSettings={{this.updateSettings}}\\n                  @attributeLabel={{\\\"Marketo Contact Attributes\\\"}}\\n                />\\n              </IcContent>\\n            </div>\\n          </section.body>\\n        </accordion.section>\\n      </Common::AccordionComponent>\\n    {{else}}\\n      <Heading @size=\\\"4\\\">Enter your Marketo API details</Heading>\\n      <Paragraph class=\\\"mb-4\\\">\\n        See Marketo's docs on\\n        <a\\n          href=\\\"http://developers.marketo.com/rest-api/custom-services/\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n        >\\n          <Text @linkStyling=\\\"inline\\\">creating a custom service </Text>\\n        </a>\\n        and\\n        <a\\n          href=\\\"http://developers.marketo.com/rest-api/base-url/\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n        >\\n\\n          <Text @linkStyling=\\\"inline\\\"> finding your endpoint URL</Text>\\n        </a>.\\n      </Paragraph>\\n      <Form as |form|>\\n        <form.Item class=\\\"mb-4\\\" @label=\\\"Client ID\\\" as |item|>\\n          <item.Input\\n            @value={{this.marketoClientId}}\\n            placeholder=\\\"Client ID\\\"\\n          />\\n        </form.Item>\\n        <form.Item class=\\\"mb-4\\\" @label=\\\"Client Secret\\\" as |item|>\\n          <item.Input\\n            @value={{this.marketoClientSecret}}\\n            placeholder=\\\"Client Secret\\\"\\n          />\\n        </form.Item>\\n        <form.Item class=\\\"mb-4\\\" @label=\\\"API Subdomain\\\" as |item|>\\n          <item.Input\\n            @value={{this.marketoHostName}}\\n            @prefix=\\\"https://\\\"\\n            @suffix=\\\".mktorest.com/rest\\\"\\n            placeholder=\\\"xxx-xxx-xxx\\\"\\n          />\\n        </form.Item>\\n        <form.Item @label=\\\"App Subdomain\\\" as |item|>\\n          <item.Input\\n            @value={{this.marketoAppHostName}}\\n            @prefix=\\\"https://\\\"\\n            @suffix=\\\".marketo.com\\\"\\n            placeholder=\\\"app-xxxx\\\"\\n          />\\n        </form.Item>\\n      </Form>\\n      <IcButton\\n        @label=\\\"Authenticate\\\"\\n        @type=\\\"primary\\\"\\n        {{on \\\"click\\\" (perform this.updateAuthCredentials)}}\\n        class=\\\"mb-4 mt-8\\\"\\n        data-test-authenticate-button\\n      />\\n    {{/if}}\\n  {{else}}\\n    <p class=\\\"u__mb__20\\\">\\n      Enrich anonymous Marketo leads with data gathered through Intercom and surface relevant data on a lead in Intercom.\\n    </p>\\n    <h4>\\n      Enter your Marketo API details\\n    </h4>\\n    <p class=\\\"u__mb__20\\\">\\n      See Marketo's docs on <a\\n        href=\\\"http://developers.marketo.com/rest-api/custom-services/\\\"\\n        target=\\\"_blank\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n      >\\n        creating a custom service\\n      </a>\\n      and <a\\n        href=\\\"http://developers.marketo.com/rest-api/base-url/\\\"\\n        target=\\\"_blank\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n      >\\n        finding your endpoint URL\\n      </a>\\n      .\\n    </p>\\n    <div class=\\\"f__group\\\">\\n      <label class=\\\"f__group-label t__label\\\">\\n        Client ID:\\n      </label>\\n      <Input\\n        class=\\\"f__text\\\"\\n        @value={{@settings.marketoClientId}}\\n        placeholder=\\\"Client ID\\\"\\n      />\\n    </div>\\n    <div class=\\\"f__group\\\">\\n      <label class=\\\"f__group-label t__label\\\">\\n        Client Secret:\\n      </label>\\n      <Input\\n        class=\\\"f__text\\\"\\n        @value={{@settings.marketoClientSecret}}\\n        placeholder=\\\"Client Secret\\\"\\n      />\\n    </div>\\n    <div class=\\\"f__group\\\">\\n      <label class=\\\"f__group-label t__label\\\">\\n        API Subdomain:\\n      </label>\\n      <div class=\\\"layout__box o__centers-vertically\\\">\\n        <label class=\\\"t__label\\\">\\n          https://\\n        </label>\\n        <Input\\n          class=\\\"f__text appstore__marketo-enrichment__subdomain-input\\\"\\n          @value={{@settings.marketoHostName}}\\n          placeholder=\\\"xxx-xxx-xxx\\\"\\n        />\\n        <label class=\\\"t__label\\\">\\n          .mktorest.com/rest\\n        </label>\\n      </div>\\n    </div>\\n    <div class=\\\"f__group\\\">\\n      <label class=\\\"f__group-label t__label\\\">\\n        App Subdomain:\\n      </label>\\n      <div class=\\\"layout__box o__centers-vertically\\\">\\n        <label class=\\\"t__label\\\">\\n          https://\\n        </label>\\n        <Input\\n          class=\\\"f__text appstore__marketo-enrichment__subdomain-input\\\"\\n          @value={{@settings.marketoAppHostName}}\\n          placeholder=\\\"app-xxxx\\\"\\n        />\\n        <label class=\\\"t__label\\\">\\n          .marketo.com\\n        </label>\\n      </div>\\n    </div>\\n    <hr class=\\\"sp__hr\\\" />\\n    <h4>\\n      Automatic lead creation through Intercom\\n    </h4>\\n    <div class=\\\"layout__box o__centers-vertically\\\">\\n      <input\\n        type=\\\"checkbox\\\"\\n        checked={{@settings.autoCreateLeads}}\\n        {{on \\\"click\\\" (set @settings.autoCreateLeads \\\"target.checked\\\")}}\\n        class=\\\"appstore__marketo-enrichment__cookie-scraping-permission\\\"\\n      />\\n      <p>\\n        When an Intercom lead or user is created, we will automatically create a lead in Marketo.\\n      </p>\\n    </div>\\n    <hr class=\\\"sp__hr\\\" />\\n    <h4>\\n      Enrich leads in Marketo with data collected through Intercom\\n    </h4>\\n    <div class=\\\"layout__box o__centers-vertically\\\">\\n      <input\\n        type=\\\"checkbox\\\"\\n        checked={{@settings.leadEnrichmentEnabled}}\\n        {{on \\\"click\\\" (set @settings.leadEnrichmentEnabled \\\"target.checked\\\")}}\\n        class=\\\"appstore__marketo-enrichment__cookie-scraping-permission\\\"\\n      />\\n      <p>\\n        This feature enables Intercom to access the Marketo Munchkin Cookie.\\n      </p>\\n    </div>\\n    <hr class=\\\"sp__hr\\\" />\\n    <div class=\\\"layout__box o__centers-vertically\\\">\\n      <div>\\n        <h4>\\n          Sync unsubscriber status\\n        </h4>\\n        <p>\\n          This feature requires the Marketo Unsubscribe app to be installed.\\n        </p>\\n      </div>\\n      <a\\n        data-test-connect-button\\n        href=\\\"/a/apps/_/appstore?app_package_code=marketo\\\"\\n        target=\\\"_blank\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n        class=\\\"appstore__marketo-enrichment__get-app\\\"\\n      >\\n        <IcButton @label=\\\"Get app\\\" @type=\\\"secondary\\\" />\\n      </a>\\n    </div>\\n    <hr class=\\\"sp__hr\\\" />\\n    <IcButton\\n      @label=\\\"Save settings\\\"\\n      @type=\\\"primary\\\"\\n      {{on \\\"click\\\" (perform this.updateSettings @settings)}}\\n    />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/marketo-enrichment/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/marketo-enrichment/main.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class Main extends Component {\n  @tracked marketoClientId = this.settings.marketoClientId;\n  @tracked marketoClientSecret = this.settings.marketoClientSecret;\n  @tracked marketoHostName = this.settings.marketoHostName;\n  @tracked marketoAppHostName = this.settings.marketoAppHostName;\n\n  get settings() {\n    return this.args.settings || {};\n  }\n\n  get shouldShowSettings() {\n    return (\n      this.hasAuthCredentials &&\n      (!this.updateAuthCredentials.isRunning || !this.settings.hasDirtyAttributes)\n    );\n  }\n\n  get hasAuthCredentials() {\n    let {\n      marketoClientId,\n      marketoClientSecret,\n      marketoHostName,\n      marketoAppHostName,\n    } = this.settings;\n    return !!marketoClientId && !!marketoClientSecret && !!marketoHostName && !!marketoAppHostName;\n  }\n\n  @task\n  *toggleAutoCreateLeads() {\n    try {\n      this.settings.toggleProperty('autoCreateLeads');\n      yield this.args.update.perform(this.settings);\n    } catch (e) {\n      this.settings.rollbackAttributes();\n    }\n  }\n\n  @task\n  *toggleSendConversationActivityMetadata() {\n    try {\n      this.settings.toggleProperty('sendConversationActivityMetadata');\n      yield this.args.update.perform(this.settings);\n    } catch (e) {\n      this.settings.rollbackAttributes();\n    }\n  }\n\n  @task\n  *toggleLeadEnrichment() {\n    try {\n      this.settings.toggleProperty('leadEnrichmentEnabled');\n      yield this.args.update.perform(this.settings);\n    } catch (e) {\n      this.settings.rollbackAttributes();\n    }\n  }\n\n  @task\n  *updateAuthCredentials() {\n    try {\n      this.settings.setProperties({\n        marketoClientId: this.marketoClientId,\n        marketoClientSecret: this.marketoClientSecret,\n        marketoHostName: this.marketoHostName,\n        marketoAppHostName: this.marketoAppHostName,\n      });\n      yield this.args.update.perform(this.settings);\n    } catch (e) {\n      this.settings.rollbackAttributes();\n    }\n  }\n\n  @task\n  *updateSettings() {\n    try {\n      yield this.args.update.perform(this.settings);\n    } catch (e) {\n      this.settings.rollbackAttributes();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (and syncingState.enabled (not isMarketoUnsubscribeApp))}}\\n  <div class=\\\"h-5\\\"></div>\\n  <IcBanner @type=\\\"warning\\\" data-test-other-integration-warning={{true}}>\\n    You're already using the Mailchimp Sync app to do this. <LinkTo\\n      @route=\\\"apps.app.appstore\\\"\\n      @query={{hash app_package_code=\\\"mailchimp-sync\\\"}}\\n    >\\n      Remove it now\\n    </LinkTo>\\n  </IcBanner>\\n{{else if verified}}\\n  <h4>\\n    Sync Marketo with Intercom\\n  </h4>\\n  <p>\\n    Intercom is being synced with Marketo. Now you just need to create a new webhook on Marketo.\\n  </p>\\n  <div class=\\\"h-5\\\"></div>\\n  <ol>\\n    <li>\\n      Use this webhook URL: <Guide::InputCopyComponent\\n        @value={{unsubscribeUrl}}\\n      />\\n    </li>\\n    <div class=\\\"h-5\\\"></div>\\n    <li>\\n      <div class=\\\"conversation__text\\\">\\n        <a\\n          href=\\\"https://docs.marketo.com/display/public/DOCS/Create+a+Webhook\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n        >\\n          Read Marketo's steps\\n        to create a webhook.\\n        </a>\\n        <br />\\n        For <b>\\n          response type\\n        </b>\\n        , select 'None'.<br />\\n        For <b>\\n          request token encoding\\n        </b>\\n        , select 'Form/Url'.\\n      </div>\\n    </li>\\n    <div class=\\\"h-5\\\"></div>\\n    <li>\\n      <div class=\\\"conversation__text\\\">\\n        Then create a smart campaign triggered by your webhook. <a\\n          href=\\\"https://docs.marketo.com/display/public/DOCS/Create+a+New+Smart+Campaign\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n        >\\n          Read\\n        Marketo's steps to create a smart campaign.\\n        </a>\\n      </div>\\n    </li>\\n  </ol>\\n  <div class=\\\"h-5\\\"></div>\\n  <IcButton\\n    @label=\\\"Cancel syncing\\\"\\n    @type=\\\"primary\\\"\\n    @onClick={{perform cancelSyncing}}\\n    @disabled={{not hasAPIDetails}}\\n    data-test-cancel-sync-button={{true}}\\n  />\\n{{else}}\\n  <h4>\\n    Enter your Marketo API details\\n  </h4>\\n  <p>\\n    See Marketo’s docs on <a\\n      href=\\\"http://developers.marketo.com/documentation/rest/custom-service\\\"\\n      target=\\\"_blank\\\"\\n      rel=\\\"noopener noreferrer\\\"\\n    >\\n      creating a custom service\\n    </a>\\n    and <a\\n      href=\\\"http://developers.marketo.com/documentation/rest/endpoint-url/\\\"\\n      target=\\\"_blank\\\"\\n      rel=\\\"noopener noreferrer\\\"\\n    >\\n      finding your endpoint URL\\n    </a>\\n    .\\n  </p>\\n  <div class=\\\"h-2\\\"></div>\\n  <form>\\n    <div class=\\\"f__group\\\">\\n      <label class=\\\"t__label f__group-label\\\">\\n        Client ID\\n      </label>\\n      <Input\\n        @value={{clientId}}\\n        @type=\\\"text\\\"\\n        class=\\\"f__text\\\"\\n        placeholder=\\\"Enter your client id\\\"\\n        required={{true}}\\n      />\\n    </div>\\n    <div class=\\\"f__group\\\">\\n      <label class=\\\"t__label f__group-label\\\">\\n        Client Secret\\n      </label>\\n      <Input\\n        @value={{clientSecret}}\\n        @type=\\\"text\\\"\\n        class=\\\"f__text\\\"\\n        placeholder=\\\"Enter your client secret\\\"\\n        required={{true}}\\n      />\\n    </div>\\n    <div class=\\\"f__group u__cf\\\">\\n      <label class=\\\"t__label f__group-label\\\">\\n        Endpoint URL\\n      </label>\\n      <div class=\\\"zendesk_url_start side_by_side\\\">\\n        <input\\n          type=\\\"text\\\"\\n          class=\\\"disabled_input_sidebox disabled_input_sidebox_no_right_border f__text\\\"\\n          value=\\\"https://\\\"\\n          disabled\\n        />\\n      </div>\\n      <div class=\\\"zendesk_url_mid side_by_side\\\" style=\\\"width: 333px\\\">\\n        <Input\\n          @value={{instanceId}}\\n          @type=\\\"text\\\"\\n          class=\\\"f__text\\\"\\n          required={{true}}\\n        />\\n      </div>\\n      <div class=\\\"zendesk_url_end side_by_side\\\" style=\\\"width: 150px\\\">\\n        <input\\n          type=\\\"text\\\"\\n          class=\\\"disabled_input_sidebox disabled_input_sidebox_no_left_border f__text\\\"\\n          value=\\\".mktorest.com/rest\\\"\\n          disabled\\n        />\\n      </div>\\n    </div>\\n    <div class=\\\"h-2\\\"></div>\\n    <IcButton\\n      @label=\\\"Verify and start syncing\\\"\\n      @type=\\\"primary\\\"\\n      @onClick={{this.submitTokens}}\\n      @disabled={{hasNotAPIDetails}}\\n      data-test-enable-sync-button={{true}}\\n    />\\n  </form>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (and syncingState.enabled (not isMarketoUnsubscribeApp))}}\\n  <div class=\\\"h-5\\\"></div>\\n  <IcBanner @type=\\\"warning\\\" data-test-other-integration-warning={{true}}>\\n    You're already using the Mailchimp Sync app to do this. <LinkTo\\n      @route=\\\"apps.app.appstore\\\"\\n      @query={{hash app_package_code=\\\"mailchimp-sync\\\"}}\\n    >\\n      Remove it now\\n    </LinkTo>\\n  </IcBanner>\\n{{else if verified}}\\n  <h4>\\n    Sync Marketo with Intercom\\n  </h4>\\n  <p>\\n    Intercom is being synced with Marketo. Now you just need to create a new webhook on Marketo.\\n  </p>\\n  <div class=\\\"h-5\\\"></div>\\n  <ol>\\n    <li>\\n      Use this webhook URL: <Guide::InputCopyComponent\\n        @value={{unsubscribeUrl}}\\n      />\\n    </li>\\n    <div class=\\\"h-5\\\"></div>\\n    <li>\\n      <div class=\\\"conversation__text\\\">\\n        <a\\n          href=\\\"https://docs.marketo.com/display/public/DOCS/Create+a+Webhook\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n        >\\n          Read Marketo's steps\\n        to create a webhook.\\n        </a>\\n        <br />\\n        For <b>\\n          response type\\n        </b>\\n        , select 'None'.<br />\\n        For <b>\\n          request token encoding\\n        </b>\\n        , select 'Form/Url'.\\n      </div>\\n    </li>\\n    <div class=\\\"h-5\\\"></div>\\n    <li>\\n      <div class=\\\"conversation__text\\\">\\n        Then create a smart campaign triggered by your webhook. <a\\n          href=\\\"https://docs.marketo.com/display/public/DOCS/Create+a+New+Smart+Campaign\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n        >\\n          Read\\n        Marketo's steps to create a smart campaign.\\n        </a>\\n      </div>\\n    </li>\\n  </ol>\\n  <div class=\\\"h-5\\\"></div>\\n  <IcButton\\n    @label=\\\"Cancel syncing\\\"\\n    @type=\\\"primary\\\"\\n    @onClick={{perform cancelSyncing}}\\n    @disabled={{not hasAPIDetails}}\\n    data-test-cancel-sync-button={{true}}\\n  />\\n{{else}}\\n  <h4>\\n    Enter your Marketo API details\\n  </h4>\\n  <p>\\n    See Marketo’s docs on <a\\n      href=\\\"http://developers.marketo.com/documentation/rest/custom-service\\\"\\n      target=\\\"_blank\\\"\\n      rel=\\\"noopener noreferrer\\\"\\n    >\\n      creating a custom service\\n    </a>\\n    and <a\\n      href=\\\"http://developers.marketo.com/documentation/rest/endpoint-url/\\\"\\n      target=\\\"_blank\\\"\\n      rel=\\\"noopener noreferrer\\\"\\n    >\\n      finding your endpoint URL\\n    </a>\\n    .\\n  </p>\\n  <div class=\\\"h-2\\\"></div>\\n  <form>\\n    <div class=\\\"f__group\\\">\\n      <label class=\\\"t__label f__group-label\\\">\\n        Client ID\\n      </label>\\n      <Input\\n        @value={{clientId}}\\n        @type=\\\"text\\\"\\n        class=\\\"f__text\\\"\\n        placeholder=\\\"Enter your client id\\\"\\n        required={{true}}\\n      />\\n    </div>\\n    <div class=\\\"f__group\\\">\\n      <label class=\\\"t__label f__group-label\\\">\\n        Client Secret\\n      </label>\\n      <Input\\n        @value={{clientSecret}}\\n        @type=\\\"text\\\"\\n        class=\\\"f__text\\\"\\n        placeholder=\\\"Enter your client secret\\\"\\n        required={{true}}\\n      />\\n    </div>\\n    <div class=\\\"f__group u__cf\\\">\\n      <label class=\\\"t__label f__group-label\\\">\\n        Endpoint URL\\n      </label>\\n      <div class=\\\"zendesk_url_start side_by_side\\\">\\n        <input\\n          type=\\\"text\\\"\\n          class=\\\"disabled_input_sidebox disabled_input_sidebox_no_right_border f__text\\\"\\n          value=\\\"https://\\\"\\n          disabled\\n        />\\n      </div>\\n      <div class=\\\"zendesk_url_mid side_by_side\\\" style=\\\"width: 333px\\\">\\n        <Input\\n          @value={{instanceId}}\\n          @type=\\\"text\\\"\\n          class=\\\"f__text\\\"\\n          required={{true}}\\n        />\\n      </div>\\n      <div class=\\\"zendesk_url_end side_by_side\\\" style=\\\"width: 150px\\\">\\n        <input\\n          type=\\\"text\\\"\\n          class=\\\"disabled_input_sidebox disabled_input_sidebox_no_left_border f__text\\\"\\n          value=\\\".mktorest.com/rest\\\"\\n          disabled\\n        />\\n      </div>\\n    </div>\\n    <div class=\\\"h-2\\\"></div>\\n    <IcButton\\n      @label=\\\"Verify and start syncing\\\"\\n      @type=\\\"primary\\\"\\n      @onClick={{this.submitTokens}}\\n      @disabled={{hasNotAPIDetails}}\\n      data-test-enable-sync-button={{true}}\\n    />\\n  </form>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/marketo/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/marketo/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport EmberObject, { action } from '@ember/object';\nimport { and, equal, readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport unsubscribeApp from 'embercom/lib/appstore/unsubscribe-app';\nimport { TEAMMATE_APP_URL } from 'embercom/lib/teammate-app';\n\nexport default Component.extend({\n  notificationsService: service(),\n  syncingState: null,\n  clientId: null,\n  clientSecret: null,\n  instanceId: null,\n  hasAPIDetails: and('clientId', 'clientSecret', 'instanceId'),\n  isMarketoUnsubscribeApp: equal('syncingState.integrate_with', 'marketo'),\n  verified: readOnly('syncingState.verified'),\n  unsubscribeUrl: `${TEAMMATE_APP_URL}/external_unsubscribe`,\n\n  init() {\n    this._super(...arguments);\n    this.fetchSyncingState.perform();\n    this.updateAPIDetails();\n\n    this.registerHooks({ afterUninstall: this.cancelSyncing });\n  },\n\n  updateAPIDetails() {\n    console.log(this);\n    let accessToken = this.get('syncingState.access_token');\n\n    if (accessToken) {\n      let accessTokenComponents = accessToken.split(':');\n      if (accessTokenComponents.length === 3) {\n        this.setProperties({\n          clientId: accessTokenComponents[0],\n          clientSecret: accessTokenComponents[1],\n          instanceId: accessTokenComponents[2],\n        });\n      }\n    }\n  },\n\n  fetchSyncingState: task(function*() {\n    let syncingState = yield unsubscribeApp.fetchSyncingState(this.get('app.id'));\n    this.set('syncingState', syncingState);\n    this.updateAPIDetails();\n  }),\n\n  enableSyncing: task(function*() {\n    if (!this.hasAPIDetails) {\n      return;\n    }\n\n    try {\n      let accessToken = this.get('syncingState.access_token');\n      let response = yield unsubscribeApp.enableSyncing(this.get('app.id'), accessToken, 'marketo');\n      this.setProperties({\n        syncingState: response,\n        isEnabled: true,\n      });\n    } catch (err) {\n      this.notificationsService.notifyError(err.jqXHR.responseJSON.errors);\n    }\n  }),\n\n  cancelSyncing: task(function*() {\n    yield unsubscribeApp.cancelSyncing(this.get('app.id'));\n\n    this.setProperties({\n      'syncingState.access_token': '',\n      'syncingState.verified': false,\n      'syncingState.enabled': false,\n      'syncingState.integrate_with': '',\n    });\n    this.notificationsService.notifyConfirmation('Success. Marketo syncing was disabled.');\n  }),\n\n  submitTokens: action(function() {\n    let token = `${this.clientId}:${this.clientSecret}:${this.instanceId}`;\n    if (!this.syncingState) {\n      this.set('syncingState', EmberObject.create());\n    }\n    this.set('syncingState.access_token', token);\n    this.enableSyncing.perform();\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- To see your settings page go to http://intercomrades.intercom.test/a/apps/tx2p130c/appstore/mixpanel --}}\\n<h2 data-test-app-package-settings class=\\\"mb-5\\\">\\n  Mixpanel Settings\\n</h2>\\n<IcButton\\n  @label=\\\"Import your customers\\\"\\n  @type=\\\"primary\\\"\\n  @action=\\\"import\\\"\\n  data-test-mixpanel-button={{true}}\\n/>\\n\", {\"contents\":\"{{!-- To see your settings page go to http://intercomrades.intercom.test/a/apps/tx2p130c/appstore/mixpanel --}}\\n<h2 data-test-app-package-settings class=\\\"mb-5\\\">\\n  Mixpanel Settings\\n</h2>\\n<IcButton\\n  @label=\\\"Import your customers\\\"\\n  @type=\\\"primary\\\"\\n  @action=\\\"import\\\"\\n  data-test-mixpanel-button={{true}}\\n/>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/mixpanel/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/mixpanel/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  openCenteredWindowService: service(),\n  router: service(),\n\n  actions: {\n    import() {\n      let url = this.router.urlFor('apps.app.import.mixpanel');\n      this.openCenteredWindowService.setup(url, 800, 1100, 'Import');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Appstore::AppPackage::Settings::CalendarCommon::Main\\n  @admin={{@admin}}\\n  @app={{@app}}\\n  @calendarType=\\\"outlook\\\"\\n  @installSource={{@installSource}}\\n  @registerHooks={{@registerHooks}}\\n  @authenticationButtonText=\\\"Sign in with Microsoft\\\"\\n  @timeZoneSource=\\\"apps\\\"\\n/>\\n\", {\"contents\":\"<Appstore::AppPackage::Settings::CalendarCommon::Main\\n  @admin={{@admin}}\\n  @app={{@app}}\\n  @calendarType=\\\"outlook\\\"\\n  @installSource={{@installSource}}\\n  @registerHooks={{@registerHooks}}\\n  @authenticationButtonText=\\\"Sign in with Microsoft\\\"\\n  @timeZoneSource=\\\"apps\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/outlook-calendar-meetings/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/outlook-calendar-meetings/main.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{@onModalClose}}\\n  @isOpen={{true}}\\n  data-test-request-permission-modal\\n  as |modal|\\n>\\n  <modal.header @title=\\\"This feature is restricted\\\" />\\n  <modal.body>\\n    <div>\\n      To <strong>\\n        configure {{@appName}}\\n      </strong>\\n      ask one of your teammates to give you account permission.\\n    </div>\\n    <div class=\\\"h-5\\\"></div>\\n    {{#each @adminsWhoCanInstallApps as |admin|}}\\n      <div\\n        class=\\\"avatar__container o__s m__permissions__request u__truncated-inline-block\\\"\\n        data-test-permissions-request-admin\\n      >\\n        <img\\n          src={{admin.avatar.image_urls.square_25}}\\n          class=\\\"avatar o__contained o__s\\\"\\n        />\\n        {{mail-to-helper admin.email admin.first_name \\\"t__h3 t__solo-link\\\"}}\\n      </div>\\n    {{/each}}\\n  </modal.body>\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{@onModalClose}}\\n  @isOpen={{true}}\\n  data-test-request-permission-modal\\n  as |modal|\\n>\\n  <modal.header @title=\\\"This feature is restricted\\\" />\\n  <modal.body>\\n    <div>\\n      To <strong>\\n        configure {{@appName}}\\n      </strong>\\n      ask one of your teammates to give you account permission.\\n    </div>\\n    <div class=\\\"h-5\\\"></div>\\n    {{#each @adminsWhoCanInstallApps as |admin|}}\\n      <div\\n        class=\\\"avatar__container o__s m__permissions__request u__truncated-inline-block\\\"\\n        data-test-permissions-request-admin\\n      >\\n        <img\\n          src={{admin.avatar.image_urls.square_25}}\\n          class=\\\"avatar o__contained o__s\\\"\\n        />\\n        {{mail-to-helper admin.email admin.first_name \\\"t__h3 t__solo-link\\\"}}\\n      </div>\\n    {{/each}}\\n  </modal.body>\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/permissions-request-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/permissions-request-modal.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h2 data-test-app-package-settings=\\\"pethotel\\\">\\n  Pet Hotel Settings\\n</h2>\\n<div class=\\\"f__group\\\">\\n  <label class=\\\"f__group-label t__label\\\">\\n    Address\\n  </label>\\n  <Input\\n    class=\\\"f__text\\\"\\n    @value={{settings.address}}\\n    data-test-app-package-settings-address={{true}}\\n  />\\n</div>\\n<div class=\\\"f__group\\\">\\n  <label class=\\\"f__group-label t__label\\\">\\n    App Id:\\n  </label>\\n  <Input\\n    class=\\\"f__text\\\"\\n    @value={{settings.appId}}\\n    data-test-app-package-settings-app-id={{true}}\\n  />\\n</div>\\n<div class=\\\"f__group\\\">\\n  <label class=\\\"f__group-label t__label\\\">\\n    Available:\\n  </label>\\n  <Input\\n    class=\\\"f__text\\\"\\n    @value={{settings.available}}\\n    data-test-app-package-settings-available={{true}}\\n  />\\n</div>\\n<div class=\\\"f__group\\\">\\n  <label class=\\\"f__group-label t__label\\\">\\n    Capacity\\n  </label>\\n  <IcSelect\\n    @defaultLabel=\\\"Capacity\\\"\\n    @selectedValue={{settings.capacity}}\\n    data-test-app-package-settings-capacity={{true}}\\n    @items={{dropdownItems}}\\n    @onSelectItem={{action (mut settings.capacity)}}\\n  />\\n</div>\\n<IcButton\\n  @label=\\\"Save settings\\\"\\n  @type=\\\"primary\\\"\\n  data-test-app-package-settings-save={{true}}\\n  @onClick={{perform update settings}}\\n/>\\n<IcButton\\n  @label=\\\"Launch OAuth\\\"\\n  @type=\\\"primary\\\"\\n  data-test-app-package-launch-oauth={{true}}\\n  @onClick={{perform\\n    generateRedirectUrl\\n    \\\"https://www.intercom.com/redirect\\\"\\n    true\\n  }}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h2 data-test-app-package-settings=\\\"pethotel\\\">\\n  Pet Hotel Settings\\n</h2>\\n<div class=\\\"f__group\\\">\\n  <label class=\\\"f__group-label t__label\\\">\\n    Address\\n  </label>\\n  <Input\\n    class=\\\"f__text\\\"\\n    @value={{settings.address}}\\n    data-test-app-package-settings-address={{true}}\\n  />\\n</div>\\n<div class=\\\"f__group\\\">\\n  <label class=\\\"f__group-label t__label\\\">\\n    App Id:\\n  </label>\\n  <Input\\n    class=\\\"f__text\\\"\\n    @value={{settings.appId}}\\n    data-test-app-package-settings-app-id={{true}}\\n  />\\n</div>\\n<div class=\\\"f__group\\\">\\n  <label class=\\\"f__group-label t__label\\\">\\n    Available:\\n  </label>\\n  <Input\\n    class=\\\"f__text\\\"\\n    @value={{settings.available}}\\n    data-test-app-package-settings-available={{true}}\\n  />\\n</div>\\n<div class=\\\"f__group\\\">\\n  <label class=\\\"f__group-label t__label\\\">\\n    Capacity\\n  </label>\\n  <IcSelect\\n    @defaultLabel=\\\"Capacity\\\"\\n    @selectedValue={{settings.capacity}}\\n    data-test-app-package-settings-capacity={{true}}\\n    @items={{dropdownItems}}\\n    @onSelectItem={{action (mut settings.capacity)}}\\n  />\\n</div>\\n<IcButton\\n  @label=\\\"Save settings\\\"\\n  @type=\\\"primary\\\"\\n  data-test-app-package-settings-save={{true}}\\n  @onClick={{perform update settings}}\\n/>\\n<IcButton\\n  @label=\\\"Launch OAuth\\\"\\n  @type=\\\"primary\\\"\\n  data-test-app-package-launch-oauth={{true}}\\n  @onClick={{perform\\n    generateRedirectUrl\\n    \\\"https://www.intercom.com/redirect\\\"\\n    true\\n  }}\\n/>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/pethotel/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/pethotel/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  init() {\n    this._super(...arguments);\n    this.registerHooks(this.getProperties('afterUninstall'));\n  },\n  dropdownItems: [\n    {\n      text: '100',\n      value: 100,\n    },\n    {\n      text: '200',\n      value: 200,\n    },\n    {\n      text: '300',\n      value: 300,\n    },\n    {\n      text: '400',\n      value: 400,\n    },\n    {\n      text: '500',\n      value: 500,\n    },\n  ],\n  afterUninstall: task(function*() {\n    yield console.log('afterUninstall hook fired!');\n  }).drop(),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h4 class=\\\"t__h4\\\">\\n  Add quick links\\n</h4>\\n<div class=\\\"h-2\\\"></div>\\n<span>\\n  Use attributes to create a dynamic link, like this: <strong>\\n    http://internal.tool/customer/\\n  </strong>\\n  <ic-attribute\\n    data-identifier=\\\"User ID\\\"\\n    data-fallback\\n    contenteditable=\\\"false\\\"\\n    class\\n  >\\n    <span>\\n      User ID\\n    </span>\\n  </ic-attribute>\\n</span>\\n{{#each @settings.links as |link index|}}\\n  <div\\n    class=\\\"layout__box o__has-columns appstore__quick-links__outer-link-wrapper {{if (eq\\n        index 0\\n      ) \\\"u__mt__15\\\"}}\\\"\\n  >\\n    <div\\n      data-test-link-item={{index}}\\n      class=\\\"layout__box o__flexes-to-1 o__has-rows appstore__quick-links__link-wrapper card\\\"\\n    >\\n      <IcContent>\\n        <div\\n          class=\\\"layout__box o__flexes-to-1 appstore__quick-links__url-wrapper\\\"\\n        >\\n          <div class=\\\"t__label mb-1\\\">\\n            Link\\n          </div>\\n          <ComposerV2\\n            @preset=\\\"pushOnly\\\"\\n            @attributes={{attributes}}\\n            @appAttributes={{appAttributes}}\\n            @editorClass={{if (not link.validations.isValid) \\\"f__text o__error\\\" \\\"f__text\\\"}}\\n            @blocks={{array (hash type=\\\"paragraph\\\" text=link.url)}}\\n            @placeholder=\\\"Enter URL here…\\\"\\n            @hoverAreaPadding={{hoverAreaPadding}}\\n            @actionReceiver={{link.urlActionReceiver}}\\n            @onChange={{this.processLinks}}\\n            @onError={{composer-error-logger \\\"App Store\\\"}}\\n          />\\n          {{#if (not link.validations.isValid)}}\\n            <div\\n              data-test-link-url-error={{index}}\\n              class=\\\"appstore__quick-links__url__error-message mt-1 mb-1\\\"\\n            >\\n              {{link.validations.message}}\\n            </div>\\n          {{/if}}\\n        </div>\\n        <div class=\\\"layout__box o__flexes-to-1\\\">\\n          <div class=\\\"t__label mb-1\\\">\\n            Label\\n          </div>\\n          {{#let (eq link.label.length 0) as |error|}}\\n            <Input\\n              data-test-link-label={{index}}\\n              @value={{link.label}}\\n              @type=\\\"text\\\"\\n              class={{if error \\\"f__text o__error\\\" \\\"f__text\\\"}}\\n              placeholder=\\\"Enter label here…\\\"\\n              @maxlength={{40}}\\n              @input={{fn this.onLabelChanged link.label}}\\n            />\\n            {{#if error}}\\n              <div\\n                data-test-link-label-error={{index}}\\n                class=\\\"appstore__quick-links__url__error-message mt-1 mb-1\\\"\\n              >\\n                The label shouldn't be empty\\n              </div>\\n            {{/if}}\\n          {{/let}}\\n        </div>\\n      </IcContent>\\n    </div>\\n    <div class=\\\"pl-4 pt-1\\\">\\n      <a onclick={{action \\\"removeLink\\\" link}} data-test-remove-link={{index}}>\\n        {{ic-interface-icon \\\"trash\\\" color=\\\"red\\\" solo=true}}\\n      </a>\\n    </div>\\n  </div>\\n{{/each}}\\n<div class=\\\"h-2\\\"></div>\\n<a\\n  data-test-add-link\\n  class=\\\"{{if canAddMoreLinks \\\"btn__tertiary\\\" \\\"btn__tertiary__deemphasized o__disabled\\\"}}\\\"\\n  {{action \\\"addLink\\\"}}\\n>\\n  {{ic-interface-icon \\\"new\\\"}} Add link\\n</a>\\n<div class=\\\"h-5\\\"></div>\\n<div class=\\\"h-5\\\"></div>\\n<h4 class=\\\"t__h4\\\">\\n  Preview\\n</h4>\\n<div class=\\\"appstore__quick-links__preview u__mt__10\\\">\\n  <Inbox::ConversationSidebar::Section\\n    @inEditMode={{false}} as |sidebarSection|\\n  >\\n    <sidebarSection.title>\\n      <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n        <img src=\\\"{{@appPackage.iconUrl}}\\\" height=\\\"20\\\" width=\\\"20\\\" />\\n        <div class=\\\"layout__box o__flexes-to-1 t__h4 u__padl__10 u__one-truncated-line\\\">\\n          Quick Links\\n        </div>\\n      </div>\\n    </sidebarSection.title>\\n    <sidebarSection.body as |body|>\\n      <body.content>\\n        <AppFramework::Canvas\\n          class=\\\"app-framework__inbox-apps__frame\\\"\\n          @canvas={{canvas}}\\n          @styleContext=\\\"inbox-apps\\\"\\n        />\\n      </body.content>\\n    </sidebarSection.body>\\n  </Inbox::ConversationSidebar::Section>\\n</div>\\n<span class=\\\"t__light-text u__display-inline-block mt-2\\\">\\n  These links will be visible to all teammates who add this app.\\n</span>\\n<div class=\\\"h-5\\\"></div>\\n<IcButton\\n  @label=\\\"Save\\\"\\n  @type=\\\"primary\\\"\\n  @onClick={{perform update settings}}\\n  @disabled={{or hasUrlErrors hasLabelErrors}}\\n  data-test-save-settings-button={{true}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h4 class=\\\"t__h4\\\">\\n  Add quick links\\n</h4>\\n<div class=\\\"h-2\\\"></div>\\n<span>\\n  Use attributes to create a dynamic link, like this: <strong>\\n    http://internal.tool/customer/\\n  </strong>\\n  <ic-attribute\\n    data-identifier=\\\"User ID\\\"\\n    data-fallback\\n    contenteditable=\\\"false\\\"\\n    class\\n  >\\n    <span>\\n      User ID\\n    </span>\\n  </ic-attribute>\\n</span>\\n{{#each @settings.links as |link index|}}\\n  <div\\n    class=\\\"layout__box o__has-columns appstore__quick-links__outer-link-wrapper {{if (eq\\n        index 0\\n      ) \\\"u__mt__15\\\"}}\\\"\\n  >\\n    <div\\n      data-test-link-item={{index}}\\n      class=\\\"layout__box o__flexes-to-1 o__has-rows appstore__quick-links__link-wrapper card\\\"\\n    >\\n      <IcContent>\\n        <div\\n          class=\\\"layout__box o__flexes-to-1 appstore__quick-links__url-wrapper\\\"\\n        >\\n          <div class=\\\"t__label mb-1\\\">\\n            Link\\n          </div>\\n          <ComposerV2\\n            @preset=\\\"pushOnly\\\"\\n            @attributes={{attributes}}\\n            @appAttributes={{appAttributes}}\\n            @editorClass={{if (not link.validations.isValid) \\\"f__text o__error\\\" \\\"f__text\\\"}}\\n            @blocks={{array (hash type=\\\"paragraph\\\" text=link.url)}}\\n            @placeholder=\\\"Enter URL here…\\\"\\n            @hoverAreaPadding={{hoverAreaPadding}}\\n            @actionReceiver={{link.urlActionReceiver}}\\n            @onChange={{this.processLinks}}\\n            @onError={{composer-error-logger \\\"App Store\\\"}}\\n          />\\n          {{#if (not link.validations.isValid)}}\\n            <div\\n              data-test-link-url-error={{index}}\\n              class=\\\"appstore__quick-links__url__error-message mt-1 mb-1\\\"\\n            >\\n              {{link.validations.message}}\\n            </div>\\n          {{/if}}\\n        </div>\\n        <div class=\\\"layout__box o__flexes-to-1\\\">\\n          <div class=\\\"t__label mb-1\\\">\\n            Label\\n          </div>\\n          {{#let (eq link.label.length 0) as |error|}}\\n            <Input\\n              data-test-link-label={{index}}\\n              @value={{link.label}}\\n              @type=\\\"text\\\"\\n              class={{if error \\\"f__text o__error\\\" \\\"f__text\\\"}}\\n              placeholder=\\\"Enter label here…\\\"\\n              @maxlength={{40}}\\n              @input={{fn this.onLabelChanged link.label}}\\n            />\\n            {{#if error}}\\n              <div\\n                data-test-link-label-error={{index}}\\n                class=\\\"appstore__quick-links__url__error-message mt-1 mb-1\\\"\\n              >\\n                The label shouldn't be empty\\n              </div>\\n            {{/if}}\\n          {{/let}}\\n        </div>\\n      </IcContent>\\n    </div>\\n    <div class=\\\"pl-4 pt-1\\\">\\n      <a onclick={{action \\\"removeLink\\\" link}} data-test-remove-link={{index}}>\\n        {{ic-interface-icon \\\"trash\\\" color=\\\"red\\\" solo=true}}\\n      </a>\\n    </div>\\n  </div>\\n{{/each}}\\n<div class=\\\"h-2\\\"></div>\\n<a\\n  data-test-add-link\\n  class=\\\"{{if canAddMoreLinks \\\"btn__tertiary\\\" \\\"btn__tertiary__deemphasized o__disabled\\\"}}\\\"\\n  {{action \\\"addLink\\\"}}\\n>\\n  {{ic-interface-icon \\\"new\\\"}} Add link\\n</a>\\n<div class=\\\"h-5\\\"></div>\\n<div class=\\\"h-5\\\"></div>\\n<h4 class=\\\"t__h4\\\">\\n  Preview\\n</h4>\\n<div class=\\\"appstore__quick-links__preview u__mt__10\\\">\\n  <Inbox::ConversationSidebar::Section\\n    @inEditMode={{false}} as |sidebarSection|\\n  >\\n    <sidebarSection.title>\\n      <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n        <img src=\\\"{{@appPackage.iconUrl}}\\\" height=\\\"20\\\" width=\\\"20\\\" />\\n        <div class=\\\"layout__box o__flexes-to-1 t__h4 u__padl__10 u__one-truncated-line\\\">\\n          Quick Links\\n        </div>\\n      </div>\\n    </sidebarSection.title>\\n    <sidebarSection.body as |body|>\\n      <body.content>\\n        <AppFramework::Canvas\\n          class=\\\"app-framework__inbox-apps__frame\\\"\\n          @canvas={{canvas}}\\n          @styleContext=\\\"inbox-apps\\\"\\n        />\\n      </body.content>\\n    </sidebarSection.body>\\n  </Inbox::ConversationSidebar::Section>\\n</div>\\n<span class=\\\"t__light-text u__display-inline-block mt-2\\\">\\n  These links will be visible to all teammates who add this app.\\n</span>\\n<div class=\\\"h-5\\\"></div>\\n<IcButton\\n  @label=\\\"Save\\\"\\n  @type=\\\"primary\\\"\\n  @onClick={{perform update settings}}\\n  @disabled={{or hasUrlErrors hasLabelErrors}}\\n  data-test-save-settings-button={{true}}\\n/>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/quick-links/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/quick-links/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport EmberObject, { computed, action } from '@ember/object';\nimport { filter, lt } from '@ember/object/computed';\nimport { debounce } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport ENV from 'embercom/config/environment';\nimport { htmlUnescape } from 'embercom/lib/html-unescape';\n\nconst ALLOWED_ATTRIBUTES = [\n  'full_name',\n  'user_id',\n  'email',\n  'company.name',\n  'company.remote_company_id',\n];\n\nexport default Component.extend({\n  appService: service(),\n  store: service(),\n\n  hoverAreaPadding: {\n    top: 0,\n    left: 0,\n    right: 50,\n    bottom: 0,\n  },\n\n  canAddMoreLinks: lt('settings.links.length', 10),\n  appAttributes: [],\n  canvas: null,\n\n  allowedAttributes: filter('appService.app.allowedAttributes', function(attribute) {\n    if (!attribute.get('templatable_identifier')) {\n      return false;\n    }\n\n    if (ALLOWED_ATTRIBUTES.includes(attribute.get('templatable_identifier'))) {\n      return true;\n    }\n\n    if (attribute.get('isUserCustomData') || attribute.get('isCompanyCustomData')) {\n      return true;\n    }\n\n    return false;\n  }),\n\n  attributes: computed('allowedAttributes.[]', function() {\n    let attributes = this.allowedAttributes.slice();\n\n    attributes.forEach(attribute => {\n      attribute.set('noFallback', true);\n    });\n\n    return attributes;\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.set('errors', EmberObject.create());\n    this._renderPreview();\n  },\n\n  hasUrlErrors: computed('settings.links.@each.url', function() {\n    return this.settings.links?.any(url => !url.validations.isValid);\n  }),\n\n  _performBlocksUpdate() {\n    if (this.get('settings.links')) {\n      this.set(\n        'settings.links',\n        this.settings.links.map((link, index) => {\n          let url = this._getUrlFromLink(link);\n          return { url, label: link.label };\n        }),\n      );\n\n      debounce(this, this._renderPreview, ENV.APP._1000MS);\n    }\n  },\n\n  _getUrlFromLink(link) {\n    return link.urlActionReceiver\n      ? htmlUnescape(link.urlActionReceiver.getBlocks().firstObject.text)\n      : link.url;\n  },\n\n  _renderPreview() {\n    let listItems = [];\n    if (this.get('settings.links')) {\n      listItems = this.settings.links.map(link => {\n        let faviconUrl = this._formatFaviconUrl(this._getUrlFromLink(link));\n        return this._createListItem(link.get('id'), `${link.get('label')} ↗`, faviconUrl);\n      });\n    }\n    let content = {\n      components: [this._createListComponent(listItems)],\n    };\n    this.set('canvas', { content });\n  },\n\n  _formatFaviconUrl(url) {\n    let faviconUrl = `${ENV.APP.quick_links_base_url}/quick_links/icon`;\n    let domain = this._parseFaviconDomain(url);\n\n    if (domain) {\n      faviconUrl += `?domain=${domain}`;\n    }\n\n    return faviconUrl;\n  },\n\n  _parseFaviconDomain(url) {\n    try {\n      let hostname = new URL(url).hostname;\n\n      // We use the default icon for dynamic domains\n      if (decodeURIComponent(hostname).includes('{')) {\n        return null;\n      }\n\n      return hostname;\n    } catch (err) {\n      return null;\n    }\n  },\n\n  _createListItem(id, title, image) {\n    return {\n      type: 'item',\n      id,\n      title,\n      image,\n      image_width: 16,\n      image_height: 16,\n    };\n  },\n\n  _createListComponent(items) {\n    return {\n      type: 'list',\n      items,\n    };\n  },\n\n  processLinks: action(function() {\n    this._performBlocksUpdate();\n  }),\n\n  onLabelChanged: action(function() {\n    this._performBlocksUpdate();\n\n    if (this.get('settings.links')) {\n      this.set(\n        'hasLabelErrors',\n        this.settings.links.mapBy('label').any(label => label.length === 0),\n      );\n    } else {\n      this.set('hasLabelErrors', false);\n    }\n  }),\n\n  actions: {\n    addLink() {\n      if (this.canAddMoreLinks) {\n        this.settings.links.createFragment({ label: '', url: '' });\n        this._performBlocksUpdate();\n      }\n    },\n\n    removeLink(link) {\n      this.settings.links.removeFragment(link);\n      this._performBlocksUpdate();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Common::AccordionComponent\\n  @isDisabled={{@isDisabled}}\\n  data-test-salesforce-settings-accordion={{true}} as |accordion|\\n>\\n  {{#if (has-feature \\\"canUseSalesforceIdentityMapping\\\")}}\\n    <accordion.section\\n      @headerClass=\\\"accordion__white-header\\\"\\n      @name=\\\"attribute-mappings\\\"\\n      data-test-map-data-to-salesforce\\n      as |section|\\n    >\\n      <section.header as |header|>\\n        <Common::AccordionComponent::WhiteHeaderTitle\\n          @heading=\\\"Map data between Intercom and Salesforce\\\"\\n          @icon=\\\"webhook\\\"\\n          @showBetaLabel={{true}}\\n        />\\n      </section.header>\\n      <section.header-action />\\n      <section.body as |body|>\\n        <div class=\\\"salesforce__accordion-body\\\">\\n          <Appstore::AppPackage::Settings::SalesforceByIntercom::MapData\\n            @syncState={{@syncState}}\\n            @updateSettings={{@updateSettings}}\\n          />\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n  {{/if}}\\n  <accordion.section\\n    @headerClass=\\\"accordion__white-header\\\"\\n    @name=\\\"conversations\\\" as |section|\\n  >\\n    <section.header as |header|>\\n      <Common::AccordionComponent::WhiteHeaderTitle\\n        @heading=\\\"Conversations\\\"\\n        @subheading=\\\"Automatically keep Intercom and Salesforce in sync\\\"\\n        @icon=\\\"conversation\\\"\\n      />\\n    </section.header>\\n    <section.header-action />\\n    <section.body as |body|>\\n      <div class=\\\"salesforce__accordion-body\\\">\\n        <Appstore::AppPackage::Settings::SalesforceByIntercom::TaskCreation\\n          @syncState={{@syncState}}\\n        />\\n      </div>\\n    </section.body>\\n  </accordion.section>\\n  <accordion.section\\n    @headerClass=\\\"accordion__white-header\\\"\\n    @name=\\\"reporting\\\" as |section|\\n  >\\n    <section.header as |header|>\\n      <Common::AccordionComponent::WhiteHeaderTitle\\n        @heading=\\\"ROI reporting\\\"\\n        @subheading=\\\"Report on how Intercom contributes to your revenue\\\"\\n        @icon=\\\"goal\\\"\\n      />\\n    </section.header>\\n    <section.header-action />\\n    <section.body as |body|>\\n      <div class=\\\"salesforce__accordion-body\\\">\\n        <Appstore::AppPackage::Settings::SalesforceByIntercom::Reporting\\n          @syncState={{@syncState}}\\n        />\\n      </div>\\n    </section.body>\\n  </accordion.section>\\n  {{#if (not (has-feature \\\"canUseSalesforceIdentityMapping\\\"))}}\\n    <accordion.section\\n      @headerClass=\\\"accordion__white-header\\\"\\n      @name=\\\"attribute-mappings\\\"\\n      data-test-legacy-map-data-to-salesforce\\n      as |section|\\n    >\\n      <section.header as |header|>\\n        <Common::AccordionComponent::WhiteHeaderTitle\\n          @heading=\\\"Map data sent to Salesforce\\\"\\n          @subheading=\\\"Link the right fields between Intercom and Salesforce\\\"\\n          @icon=\\\"webhook\\\"\\n        />\\n      </section.header>\\n      <section.header-action />\\n      <section.body as |body|>\\n        <div class=\\\"salesforce__accordion-body\\\">\\n          <Appstore::AppPackage::Settings::Crm::Mappings\\n            data-test-mappings\\n            @mappings={{@syncState.attributeMappings}}\\n            @attributeOptionsForType={{@syncState.attributeOptions}}\\n            @updateSettings={{@updateSettings}}\\n            @attributeLabel={{\\\"Salesforce\\\"}}\\n          />\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n  {{/if}}\\n  <accordion.section\\n    @headerClass=\\\"accordion__white-header\\\"\\n    @name=\\\"account-lists\\\" as |section|\\n  >\\n    <section.header as |header|>\\n      <Common::AccordionComponent::WhiteHeaderTitle\\n        @heading=\\\"Maintain lead and account ownership\\\"\\n        @subheading=\\\"Choose which accounts to import into Intercom\\\"\\n        @icon=\\\"briefcase\\\"\\n      />\\n    </section.header>\\n    <section.header-action />\\n    <section.body as |body|>\\n      <div class=\\\"salesforce__accordion-body\\\">\\n        <Appstore::AppPackage::Settings::SalesforceByIntercom::AccountLists\\n          @accountLists={{@syncState.accountLists}}\\n          @salesforceAccountLists={{@syncState.salesforceAccountLists}}\\n        />\\n        <div class=\\\"mb-2\\\" />\\n        <hr />\\n        <div class=\\\"mb-2\\\" />\\n        <Appstore::AppPackage::Settings::SalesforceByIntercom::TeammateMappings\\n          @syncState={{@syncState}}\\n        />\\n      </div>\\n    </section.body>\\n  </accordion.section>\\n</Common::AccordionComponent>\\n\", {\"contents\":\"<Common::AccordionComponent\\n  @isDisabled={{@isDisabled}}\\n  data-test-salesforce-settings-accordion={{true}} as |accordion|\\n>\\n  {{#if (has-feature \\\"canUseSalesforceIdentityMapping\\\")}}\\n    <accordion.section\\n      @headerClass=\\\"accordion__white-header\\\"\\n      @name=\\\"attribute-mappings\\\"\\n      data-test-map-data-to-salesforce\\n      as |section|\\n    >\\n      <section.header as |header|>\\n        <Common::AccordionComponent::WhiteHeaderTitle\\n          @heading=\\\"Map data between Intercom and Salesforce\\\"\\n          @icon=\\\"webhook\\\"\\n          @showBetaLabel={{true}}\\n        />\\n      </section.header>\\n      <section.header-action />\\n      <section.body as |body|>\\n        <div class=\\\"salesforce__accordion-body\\\">\\n          <Appstore::AppPackage::Settings::SalesforceByIntercom::MapData\\n            @syncState={{@syncState}}\\n            @updateSettings={{@updateSettings}}\\n          />\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n  {{/if}}\\n  <accordion.section\\n    @headerClass=\\\"accordion__white-header\\\"\\n    @name=\\\"conversations\\\" as |section|\\n  >\\n    <section.header as |header|>\\n      <Common::AccordionComponent::WhiteHeaderTitle\\n        @heading=\\\"Conversations\\\"\\n        @subheading=\\\"Automatically keep Intercom and Salesforce in sync\\\"\\n        @icon=\\\"conversation\\\"\\n      />\\n    </section.header>\\n    <section.header-action />\\n    <section.body as |body|>\\n      <div class=\\\"salesforce__accordion-body\\\">\\n        <Appstore::AppPackage::Settings::SalesforceByIntercom::TaskCreation\\n          @syncState={{@syncState}}\\n        />\\n      </div>\\n    </section.body>\\n  </accordion.section>\\n  <accordion.section\\n    @headerClass=\\\"accordion__white-header\\\"\\n    @name=\\\"reporting\\\" as |section|\\n  >\\n    <section.header as |header|>\\n      <Common::AccordionComponent::WhiteHeaderTitle\\n        @heading=\\\"ROI reporting\\\"\\n        @subheading=\\\"Report on how Intercom contributes to your revenue\\\"\\n        @icon=\\\"goal\\\"\\n      />\\n    </section.header>\\n    <section.header-action />\\n    <section.body as |body|>\\n      <div class=\\\"salesforce__accordion-body\\\">\\n        <Appstore::AppPackage::Settings::SalesforceByIntercom::Reporting\\n          @syncState={{@syncState}}\\n        />\\n      </div>\\n    </section.body>\\n  </accordion.section>\\n  {{#if (not (has-feature \\\"canUseSalesforceIdentityMapping\\\"))}}\\n    <accordion.section\\n      @headerClass=\\\"accordion__white-header\\\"\\n      @name=\\\"attribute-mappings\\\"\\n      data-test-legacy-map-data-to-salesforce\\n      as |section|\\n    >\\n      <section.header as |header|>\\n        <Common::AccordionComponent::WhiteHeaderTitle\\n          @heading=\\\"Map data sent to Salesforce\\\"\\n          @subheading=\\\"Link the right fields between Intercom and Salesforce\\\"\\n          @icon=\\\"webhook\\\"\\n        />\\n      </section.header>\\n      <section.header-action />\\n      <section.body as |body|>\\n        <div class=\\\"salesforce__accordion-body\\\">\\n          <Appstore::AppPackage::Settings::Crm::Mappings\\n            data-test-mappings\\n            @mappings={{@syncState.attributeMappings}}\\n            @attributeOptionsForType={{@syncState.attributeOptions}}\\n            @updateSettings={{@updateSettings}}\\n            @attributeLabel={{\\\"Salesforce\\\"}}\\n          />\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n  {{/if}}\\n  <accordion.section\\n    @headerClass=\\\"accordion__white-header\\\"\\n    @name=\\\"account-lists\\\" as |section|\\n  >\\n    <section.header as |header|>\\n      <Common::AccordionComponent::WhiteHeaderTitle\\n        @heading=\\\"Maintain lead and account ownership\\\"\\n        @subheading=\\\"Choose which accounts to import into Intercom\\\"\\n        @icon=\\\"briefcase\\\"\\n      />\\n    </section.header>\\n    <section.header-action />\\n    <section.body as |body|>\\n      <div class=\\\"salesforce__accordion-body\\\">\\n        <Appstore::AppPackage::Settings::SalesforceByIntercom::AccountLists\\n          @accountLists={{@syncState.accountLists}}\\n          @salesforceAccountLists={{@syncState.salesforceAccountLists}}\\n        />\\n        <div class=\\\"mb-2\\\" />\\n        <hr />\\n        <div class=\\\"mb-2\\\" />\\n        <Appstore::AppPackage::Settings::SalesforceByIntercom::TeammateMappings\\n          @syncState={{@syncState}}\\n        />\\n      </div>\\n    </section.body>\\n  </accordion.section>\\n</Common::AccordionComponent>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/accordion.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/accordion.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3 u__mb__10\\\">\\n  Automatically keep accounts in sync\\n</h3>\\n<p class=\\\"t__light-text\\\">\\n  When an account in Salesforce is changed or created, we automatically sync its changes over to Intercom so your data is alaways up-to-date.\\n</p>\\n<div class=\\\"h-2\\\"></div>\\n<h4 class=\\\"t__h4 u__mb__10\\\">\\n  Select which accounts lists you want to sync\\n</h4>\\n{{#if accountListMissing}}\\n  <IcBanner\\n    data-test-missing-account-list-warning={{true}}\\n    @text=\\\"One or more account lists are no longer available in Salesforce\\\"\\n    @type=\\\"warning\\\"\\n  />\\n{{/if}}\\n<div class=\\\"layout__box o__has-rows\\\">\\n  {{#each mappedAccountListsPresentInSalesforce as |accountList|}}\\n    <div\\n      class=\\\"layout__box o__has-columns o__flexes-to-1 u__pad__10 salesforce__account-list__row\\\"\\n      data-test-account-lists-row\\n    >\\n      <div class=\\\"layout__box o__flexes-to-10 o__centers-vertically\\\">\\n        <h4 class=\\\"t__h4\\\">\\n          {{accountList.name}}\\n        </h4>\\n      </div>\\n      <a\\n        class=\\\"layout__box o__flexes-to-1 u__right\\\"\\n        data-test-account-lists-remove\\n        {{action \\\"removeAccountList\\\" accountList.id}}\\n      >\\n        <div class=\\\"quick-action o__destructive u__right\\\">\\n          {{ic-interface-icon \\\"small-close\\\" solo=true}}\\n        </div>\\n      </a>\\n    </div>\\n  {{/each}}\\n  <div class=\\\"layout__box o__flexes-to-1 u__pad__10\\\">\\n    <IcDropdownOpener\\n      @groupList={{array (hash items=salesforceAccountListGroupListItems)}}\\n      data-test-account-lists-add={{true}}\\n      @onSelectItem={{this.addAccountList}} as |opener|\\n    >\\n      <a class=\\\"t__em-link\\\">\\n        {{ic-interface-icon \\\"new\\\" solo=true}} Select list\\n      </a>\\n    </IcDropdownOpener>\\n  </div>\\n</div>\\n<div class=\\\"h-2\\\"></div>\\n<IcButton\\n  @label=\\\"Save\\\"\\n  @type=\\\"primary\\\"\\n  @disabled={{or saveAccountLists.isRunning (not accountListsChanged)}}\\n  @onClick={{perform saveAccountLists}}\\n  data-test-account-lists-save={{true}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3 u__mb__10\\\">\\n  Automatically keep accounts in sync\\n</h3>\\n<p class=\\\"t__light-text\\\">\\n  When an account in Salesforce is changed or created, we automatically sync its changes over to Intercom so your data is alaways up-to-date.\\n</p>\\n<div class=\\\"h-2\\\"></div>\\n<h4 class=\\\"t__h4 u__mb__10\\\">\\n  Select which accounts lists you want to sync\\n</h4>\\n{{#if accountListMissing}}\\n  <IcBanner\\n    data-test-missing-account-list-warning={{true}}\\n    @text=\\\"One or more account lists are no longer available in Salesforce\\\"\\n    @type=\\\"warning\\\"\\n  />\\n{{/if}}\\n<div class=\\\"layout__box o__has-rows\\\">\\n  {{#each mappedAccountListsPresentInSalesforce as |accountList|}}\\n    <div\\n      class=\\\"layout__box o__has-columns o__flexes-to-1 u__pad__10 salesforce__account-list__row\\\"\\n      data-test-account-lists-row\\n    >\\n      <div class=\\\"layout__box o__flexes-to-10 o__centers-vertically\\\">\\n        <h4 class=\\\"t__h4\\\">\\n          {{accountList.name}}\\n        </h4>\\n      </div>\\n      <a\\n        class=\\\"layout__box o__flexes-to-1 u__right\\\"\\n        data-test-account-lists-remove\\n        {{action \\\"removeAccountList\\\" accountList.id}}\\n      >\\n        <div class=\\\"quick-action o__destructive u__right\\\">\\n          {{ic-interface-icon \\\"small-close\\\" solo=true}}\\n        </div>\\n      </a>\\n    </div>\\n  {{/each}}\\n  <div class=\\\"layout__box o__flexes-to-1 u__pad__10\\\">\\n    <IcDropdownOpener\\n      @groupList={{array (hash items=salesforceAccountListGroupListItems)}}\\n      data-test-account-lists-add={{true}}\\n      @onSelectItem={{this.addAccountList}} as |opener|\\n    >\\n      <a class=\\\"t__em-link\\\">\\n        {{ic-interface-icon \\\"new\\\" solo=true}} Select list\\n      </a>\\n    </IcDropdownOpener>\\n  </div>\\n</div>\\n<div class=\\\"h-2\\\"></div>\\n<IcButton\\n  @label=\\\"Save\\\"\\n  @type=\\\"primary\\\"\\n  @disabled={{or saveAccountLists.isRunning (not accountListsChanged)}}\\n  @onClick={{perform saveAccountLists}}\\n  data-test-account-lists-save={{true}}\\n/>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/account-lists.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/account-lists.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport SettingsPanel from 'embercom/components/appstore/app-package/settings/salesforce-by-intercom/base/panel';\nimport { computed, action } from '@ember/object';\nimport { readOnly, map, mapBy } from '@ember/object/computed';\nimport { task } from 'ember-concurrency';\nimport { put } from 'embercom/lib/ajax';\nimport { inject as service } from '@ember/service';\n\nexport default SettingsPanel.extend({\n  intercomEventService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  init() {\n    this._super(...arguments);\n    this._setOriginalAccountListIds();\n  },\n\n  mappedAccountLists: computed('accountLists.[]', function() {\n    let salesforceAccountLists = this.salesforceAccountLists;\n    return this.accountLists.map(accountList => {\n      return salesforceAccountLists.findBy('id', accountList.listId);\n    });\n  }),\n\n  selectableSalesforceAccountLists: computed('currentlySelectedAccountListIds.[]', function() {\n    return this.salesforceAccountLists.filter(\n      salesforceAccountList =>\n        !this.currentlySelectedAccountListIds.includes(salesforceAccountList.id),\n    );\n  }),\n\n  salesforceAccountListGroupListItems: map('selectableSalesforceAccountLists', function(\n    salesforceAccountList,\n  ) {\n    return { label: salesforceAccountList.id, text: salesforceAccountList.name };\n  }),\n\n  accountListsChanged: computed('_originalAccountListIds.[]', 'mappedAccountLists.[]', function() {\n    let originalAccountListIds = this._originalAccountListIds.sort();\n    let currentAccountListIds = this.currentlySelectedAccountListIds.sort();\n    return !_.isEqual(originalAccountListIds, currentAccountListIds);\n  }),\n\n  mappedAccountListsPresentInSalesforce: computed('mappedAccountLists.[]', function() {\n    return this.mappedAccountLists.filter(list => list !== undefined);\n  }),\n\n  currentlySelectedAccountListIds: mapBy('mappedAccountListsPresentInSalesforce', 'id'),\n\n  accountListMissing: computed('mappedAccountLists.[]', function() {\n    return this.mappedAccountLists.some(list => list === undefined);\n  }),\n\n  saveAccountLists: task(function*() {\n    try {\n      this._notifyProcessing();\n      yield put('/ember/salesforce_integrations/update_account_lists', {\n        app_id: this.app.id,\n        account_list_ids: this.currentlySelectedAccountListIds,\n      });\n      this._setOriginalAccountListIds();\n      this._notifySuccess(`Account lists saved successfully.`);\n    } catch (e) {\n      this._notifyFailure(\"Something went wrong and we couldn't update your account lists\");\n    }\n  }),\n\n  _setOriginalAccountListIds() {\n    let originalAccountListIds = this.accountLists.mapBy('listId');\n    this.set('_originalAccountListIds', originalAccountListIds);\n  },\n\n  _trackEvent(object, action) {\n    this.intercomEventService.trackAnalyticsEvent({ action, object });\n  },\n\n  addAccountList: action(function(salesforceAccountList) {\n    this.accountLists.createFragment({ listId: salesforceAccountList.label });\n    this._trackEvent(salesforceAccountList, 'created');\n  }),\n\n  actions: {\n    removeAccountList(accountListId) {\n      let accountList = this.accountLists.findBy('listId', accountListId);\n      this.accountLists.removeFragment(accountList);\n      this._trackEvent(accountList, 'deleted');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{this.closeModal}}\\n  @width=\\\"s\\\"\\n  as |modal|\\n>\\n  <modal.header @title={{this.modalTitle}} />\\n  <modal.body>\\n    <div class=\\\"flex mb-6\\\">\\n      <div>\\n        <div class=\\\"flex self-center items-center text-gray mb-2\\\">\\n          <div >{{ic-interface-icon \\\"intercom\\\" solo=true}}</div>\\n          <h3 class=\\\"t__label u__padl__10\\\">Intercom</h3>\\n        </div>\\n        <div>\\n          <IcSelect\\n            data-test-intercom-dropdown\\n            class=\\\"salesforce__attribute-mapping__dropdown\\\"\\n            @minWidthOfOverlay={{265}}\\n            @hasFilter={{true}}\\n            @items={{this.intercomAttributes}}\\n            @onSelectItem={{set this.selectedIntercomAttr}}\\n            @selectedValue={{this.selectedIntercomAttr}}\\n            @hasError={{or (eq this.error 'intercom_not_writable_error') (eq this.error 'type_mapping_error') (eq this.error 'intercom_not_readable_error')}}\\n            @filterPlaceholder=\\\"Search attribute...\\\"\\n            @defaultLabel=\\\"Select attribute\\\"\\n          />\\n        </div>\\n      </div>\\n\\n      <div data-test-direction-arrow class=\\\"self-end m-2 transition duration-500 {{if (eq this.selectedSyncDirection 1) \\\"transform rotate-180\\\"}} \\\">\\n        {{ic-interface-icon \\\"arrow\\\" solo=true}}\\n      </div>\\n\\n      <div>\\n        <div class=\\\"flex self-center items-center text-gray mb-2\\\">\\n          <div>{{ic-interface-icon \\\"salesforce\\\" solo=true}}</div>\\n          <h3 class=\\\"t__label u__padl__10\\\">Salesforce</h3>\\n        </div>\\n        <div>\\n          <IcSelect\\n            data-test-salesforce-dropdown\\n            class=\\\"salesforce__attribute-mapping__dropdown\\\"\\n            @minWidthOfOverlay={{265}}\\n            @hasFilter={{true}}\\n            @items={{this.salesforceFields}}\\n            @onSelectItem={{set this.selectedSalesforceAttr}}\\n            @selectedValue={{this.selectedSalesforceAttr}}\\n            @hasError={{or (eq this.error 'salesforce_not_writable_error') (eq this.error 'type_mapping_error')}}\\n            @filterPlaceholder=\\\"Search field...\\\"\\n            @defaultLabel=\\\"Select field\\\"\\n          />\\n        </div>\\n      </div>\\n    </div>\\n\\n    <div class=\\\"mb-2\\\">\\n      <h4 class=\\\"t__h4 mb-2\\\">Sync direction</h4>\\n      <IcSelect\\n        data-test-direction-dropdown\\n        class=\\\"mb-2\\\"\\n        @items={{this.syncDirections}}\\n        @onSelectItem={{set this.selectedSyncDirection}}\\n        @selectedValue={{this.selectedSyncDirection}}\\n        @defaultLabel=\\\"Select sync direction\\\"\\n      />\\n      {{#if this.selectedDirection}}\\n        <p class=\\\"t__light-text\\\">The attribute will be sent from {{this.selectedDirection.text}}.</p>\\n      {{/if}}\\n    </div>\\n\\n    {{#if this.error }}\\n      <IcBanner\\n        data-test-attribute-mapping-error={{true}}\\n        class=\\\"mt-6\\\"\\n        @type=\\\"error\\\"\\n      >\\n        {{#if (eq this.error 'salesforce_not_writable_error') }}\\n          The selected field can’t be overwritten in Salesforce. Try selecting a different field or changing the sync direction.\\n        {{else if (eq this.error 'intercom_not_writable_error') }}\\n          The selected field can’t be overwritten in Intercom. Try selecting a different field or changing the sync direction.\\n        {{else if (eq this.error 'intercom_not_readable_error') }}\\n          The selected field can’t be read from Intercom. Try selecting a different field or changing the sync direction.\\n        {{else if (eq this.error 'type_mapping_error') }}\\n          The type of fields you selected don't match. Try mapping fields with \\n          <Pulse::HelpContent::Link\\n            class=\\\"text-blue font-medium salesforce__attribute-mapping__dbanner-link\\\"\\n            @href='https://www.intercom.com/help/en/articles/4497943-salesforce-for-support'\\n            @title='compatible types.'\\n            @type=\\\"article\\\"\\n            @linkStyling=\\\"inline\\\"\\n          />\\n        {{/if}}\\n      </IcBanner>\\n    {{/if}}\\n\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=this.submitLabel\\n      disabled=this.submitIsDisabled\\n      action=this.createOrUpdateMapping\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=this.closeModal\\n    }}\\n  />\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{this.closeModal}}\\n  @width=\\\"s\\\"\\n  as |modal|\\n>\\n  <modal.header @title={{this.modalTitle}} />\\n  <modal.body>\\n    <div class=\\\"flex mb-6\\\">\\n      <div>\\n        <div class=\\\"flex self-center items-center text-gray mb-2\\\">\\n          <div >{{ic-interface-icon \\\"intercom\\\" solo=true}}</div>\\n          <h3 class=\\\"t__label u__padl__10\\\">Intercom</h3>\\n        </div>\\n        <div>\\n          <IcSelect\\n            data-test-intercom-dropdown\\n            class=\\\"salesforce__attribute-mapping__dropdown\\\"\\n            @minWidthOfOverlay={{265}}\\n            @hasFilter={{true}}\\n            @items={{this.intercomAttributes}}\\n            @onSelectItem={{set this.selectedIntercomAttr}}\\n            @selectedValue={{this.selectedIntercomAttr}}\\n            @hasError={{or (eq this.error 'intercom_not_writable_error') (eq this.error 'type_mapping_error') (eq this.error 'intercom_not_readable_error')}}\\n            @filterPlaceholder=\\\"Search attribute...\\\"\\n            @defaultLabel=\\\"Select attribute\\\"\\n          />\\n        </div>\\n      </div>\\n\\n      <div data-test-direction-arrow class=\\\"self-end m-2 transition duration-500 {{if (eq this.selectedSyncDirection 1) \\\"transform rotate-180\\\"}} \\\">\\n        {{ic-interface-icon \\\"arrow\\\" solo=true}}\\n      </div>\\n\\n      <div>\\n        <div class=\\\"flex self-center items-center text-gray mb-2\\\">\\n          <div>{{ic-interface-icon \\\"salesforce\\\" solo=true}}</div>\\n          <h3 class=\\\"t__label u__padl__10\\\">Salesforce</h3>\\n        </div>\\n        <div>\\n          <IcSelect\\n            data-test-salesforce-dropdown\\n            class=\\\"salesforce__attribute-mapping__dropdown\\\"\\n            @minWidthOfOverlay={{265}}\\n            @hasFilter={{true}}\\n            @items={{this.salesforceFields}}\\n            @onSelectItem={{set this.selectedSalesforceAttr}}\\n            @selectedValue={{this.selectedSalesforceAttr}}\\n            @hasError={{or (eq this.error 'salesforce_not_writable_error') (eq this.error 'type_mapping_error')}}\\n            @filterPlaceholder=\\\"Search field...\\\"\\n            @defaultLabel=\\\"Select field\\\"\\n          />\\n        </div>\\n      </div>\\n    </div>\\n\\n    <div class=\\\"mb-2\\\">\\n      <h4 class=\\\"t__h4 mb-2\\\">Sync direction</h4>\\n      <IcSelect\\n        data-test-direction-dropdown\\n        class=\\\"mb-2\\\"\\n        @items={{this.syncDirections}}\\n        @onSelectItem={{set this.selectedSyncDirection}}\\n        @selectedValue={{this.selectedSyncDirection}}\\n        @defaultLabel=\\\"Select sync direction\\\"\\n      />\\n      {{#if this.selectedDirection}}\\n        <p class=\\\"t__light-text\\\">The attribute will be sent from {{this.selectedDirection.text}}.</p>\\n      {{/if}}\\n    </div>\\n\\n    {{#if this.error }}\\n      <IcBanner\\n        data-test-attribute-mapping-error={{true}}\\n        class=\\\"mt-6\\\"\\n        @type=\\\"error\\\"\\n      >\\n        {{#if (eq this.error 'salesforce_not_writable_error') }}\\n          The selected field can’t be overwritten in Salesforce. Try selecting a different field or changing the sync direction.\\n        {{else if (eq this.error 'intercom_not_writable_error') }}\\n          The selected field can’t be overwritten in Intercom. Try selecting a different field or changing the sync direction.\\n        {{else if (eq this.error 'intercom_not_readable_error') }}\\n          The selected field can’t be read from Intercom. Try selecting a different field or changing the sync direction.\\n        {{else if (eq this.error 'type_mapping_error') }}\\n          The type of fields you selected don't match. Try mapping fields with \\n          <Pulse::HelpContent::Link\\n            class=\\\"text-blue font-medium salesforce__attribute-mapping__dbanner-link\\\"\\n            @href='https://www.intercom.com/help/en/articles/4497943-salesforce-for-support'\\n            @title='compatible types.'\\n            @type=\\\"article\\\"\\n            @linkStyling=\\\"inline\\\"\\n          />\\n        {{/if}}\\n      </IcBanner>\\n    {{/if}}\\n\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=this.submitLabel\\n      disabled=this.submitIsDisabled\\n      action=this.createOrUpdateMapping\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=this.closeModal\\n    }}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/attribute-mapping.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/attribute-mapping.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { isEmpty } from '@ember/utils';\nimport { capitalize } from '@ember/string';\n\nconst syncDirection = {\n  IntercomToCRM: 0,\n  CrmtoIntercom: 1,\n};\n\nconst TYPE_MAPPING = {\n  string: {\n    label: 'Text',\n    to: [\n      'string',\n      'textarea',\n      'phone',\n      'url',\n      'email',\n      'reference',\n      'encryptedstring',\n      'picklist',\n      'multipicklist',\n    ],\n    from: [\n      'string',\n      'textarea',\n      'phone',\n      'url',\n      'email',\n      'reference',\n      'encryptedstring',\n      'id',\n      'address',\n      'location',\n      'int',\n      'double',\n      'currency',\n      'percent',\n      'boolean',\n      'date',\n      'datetime',\n      'time',\n      'picklist',\n      'multipicklist',\n    ],\n  },\n  integer: {\n    label: 'Number',\n    to: [\n      'int',\n      'double',\n      'currency',\n      'percent',\n      'string',\n      'textarea',\n      'phone',\n      'url',\n      'email',\n      'reference',\n      'encryptedstring',\n    ],\n    from: ['int', 'double', 'currency', 'percent'],\n  },\n  float: {\n    label: 'Decimal Number',\n    to: [\n      'int',\n      'double',\n      'currency',\n      'percent',\n      'string',\n      'textarea',\n      'phone',\n      'url',\n      'email',\n      'reference',\n      'encryptedstring',\n    ],\n    from: ['int', 'double', 'currency', 'percent'],\n  },\n  boolean: {\n    label: 'True or False',\n    to: ['boolean', 'string', 'textarea', 'phone', 'url', 'email', 'reference', 'encryptedstring'],\n    from: ['boolean'],\n  },\n  date: {\n    label: 'Date',\n    to: [\n      'date',\n      'datetime',\n      'time',\n      'string',\n      'textarea',\n      'phone',\n      'url',\n      'email',\n      'reference',\n      'encryptedstring',\n    ],\n    from: ['date', 'datetime', 'time'],\n  },\n};\n\nexport default class AttributeMapping extends Component {\n  @service appService;\n\n  modalTitle = this.isEmptyForm ? 'Map new attribute' : 'Edit attribute mapping';\n  submitLabel = this.isEmptyForm ? 'Add' : 'Save';\n  integrationCode = 'salesforce-by-intercom';\n  syncDirections = [\n    { text: 'Intercom to Salesforce', value: 0 },\n    { text: 'Salesforce to Intercom', value: 1 },\n  ];\n  originalSourceAttr =\n    this.args.selectedSyncDirection === syncDirection.IntercomToCRM\n      ? this.args.selectedIntercomAttr\n      : this.args.selectedSalesforceAttr;\n\n  @tracked showAttributeMappingModal;\n  @tracked isSalesforceDisabled = true;\n  @tracked selectedIntercomAttr = this.args.selectedIntercomAttr;\n  @tracked selectedSalesforceAttr = this.args.selectedSalesforceAttr;\n  @tracked selectedSyncDirection = this.args.selectedSyncDirection;\n\n  get isEmptyForm() {\n    return isEmpty(\n      this.selectedIntercomAttr && this.selectedSalesforceAttr && this.selectedSyncDirection,\n    );\n  }\n\n  get submitIsDisabled() {\n    return this.isEmptyForm || !isEmpty(this.error);\n  }\n\n  get selectedDirection() {\n    return this.syncDirections.find(\n      syncDirection => syncDirection.value === this.selectedSyncDirection,\n    );\n  }\n\n  shouldDisableIntercomAttribute(attribute) {\n    let sourceMapping = this.args.syncState.attributeMappings.findBy(\n      'sourceAttributePath',\n      attribute,\n    );\n    let destinationMapping = this.args.syncState.attributeMappings.findBy(\n      'destinationAttributePath',\n      attribute,\n    );\n    return (\n      (sourceMapping && sourceMapping.direction === syncDirection.IntercomToCRM) ||\n      (destinationMapping && destinationMapping.direction === syncDirection.CrmtoIntercom)\n    );\n  }\n\n  shouldDisableSalesforceField(field) {\n    let sourceMapping = this.args.syncState.attributeMappings.findBy('sourceAttributePath', field);\n    let destinationMapping = this.args.syncState.attributeMappings.findBy(\n      'destinationAttributePath',\n      field,\n    );\n    return (\n      (sourceMapping && sourceMapping.direction === syncDirection.CrmtoIntercom) ||\n      (destinationMapping && destinationMapping.direction === syncDirection.IntercomToCRM)\n    );\n  }\n\n  get intercomAttributes() {\n    return this.appService.app.qualification_attributes.content\n      .map(attribute => attribute.dataAttribute)\n      .concat(\n        this.appService.app.attributes.content.filter(\n          attribute => attribute.crm_readable || attribute.crm_writable,\n        ),\n      )\n      .uniqBy('identifier')\n      .map(attribute => {\n        let tooltipText = attribute.crm_create_only\n          ? 'This is identified automatically and is only sent when a Lead is created.'\n          : null;\n\n        return {\n          text: attribute.name,\n          value: attribute.identifier,\n          count: this.getAttributeTypeLabel(attribute),\n          tooltipText,\n          isDisabled: this.shouldDisableIntercomAttribute(attribute.identifier),\n        };\n      });\n  }\n\n  get salesforceFields() {\n    return this.args.syncState.salesforceFields.map(field => {\n      let fieldType = `(${capitalize(field.type)})`;\n      let tooltipText = !field.updateable ? 'This field cannot be updated from intercom.' : null;\n\n      return {\n        text: field.label,\n        value: field.path,\n        count: fieldType,\n        tooltipText,\n        isDisabled: this.shouldDisableSalesforceField(field.path),\n      };\n    });\n  }\n\n  get intercomAttribute() {\n    return this.appService.app.attributes.findBy('identifier', this.selectedIntercomAttr);\n  }\n\n  get salesforceField() {\n    return this.args.syncState.salesforceFields.findBy('path', this.selectedSalesforceAttr);\n  }\n\n  get isIntercomToCrmDirection() {\n    return this.selectedSyncDirection === syncDirection.IntercomToCRM;\n  }\n\n  get intercomTypeMapping() {\n    return TYPE_MAPPING[this.intercomAttribute?.type];\n  }\n\n  get isQualificationAttribute() {\n    return this.appService.app.qualification_attributes.content\n      ?.map(a => a.identifier)\n      .includes(this.intercomAttribute?.identifier);\n  }\n\n  get unsupportedMapping() {\n    return (\n      !isEmpty(this.intercomTypeMapping) &&\n      !isEmpty(this.salesforceField?.type) &&\n      !isEmpty(this.selectedSyncDirection) &&\n      (this.unsupportedConversionFromCRM || this.unsupportedConversionToCRM)\n    );\n  }\n\n  get unsupportedConversionFromCRM() {\n    return (\n      !this.isIntercomToCrmDirection &&\n      !this.intercomTypeMapping?.from.includes(this.salesforceField?.type)\n    );\n  }\n\n  get unsupportedConversionToCRM() {\n    return (\n      this.isIntercomToCrmDirection &&\n      !this.intercomTypeMapping?.to.includes(this.salesforceField?.type)\n    );\n  }\n\n  get originalMapping() {\n    return this.args.syncState.attributeMappings.content.findBy(\n      'sourceAttributePath',\n      this.originalSourceAttr,\n    );\n  }\n\n  get error() {\n    let error = '';\n\n    if (this.unsupportedMapping) {\n      error = 'type_mapping_error';\n    }\n\n    if (\n      this.salesforceField &&\n      !this.salesforceField?.updateable &&\n      this.selectedSyncDirection === syncDirection.IntercomToCRM\n    ) {\n      error = 'salesforce_not_writable_error';\n    }\n\n    if (\n      this.intercomAttribute &&\n      !this.intercomAttribute?.crm_writable &&\n      this.selectedSyncDirection === syncDirection.CrmtoIntercom\n    ) {\n      error = 'intercom_not_writable_error';\n    }\n\n    if (\n      this.intercomAttribute &&\n      !this.isQualificationAttribute &&\n      !this.intercomAttribute?.crm_readable &&\n      this.selectedSyncDirection === syncDirection.IntercomToCRM\n    ) {\n      error = 'intercom_not_readable_error';\n    }\n\n    return error;\n  }\n\n  getAttributeTypeLabel(attribute) {\n    let stringTypes = [\n      'role',\n      'browser_locale',\n      'android_app_version',\n      'android_device',\n      'android_version',\n      'ios_app_version',\n      'ios_device',\n      'ios_os_version',\n    ];\n    let attributeType = attribute.type;\n\n    if (attribute.type === 'owner_id') {\n      attributeType = 'integer';\n    } else if (stringTypes.includes(attribute.type)) {\n      attributeType = 'string';\n    }\n\n    return `(${TYPE_MAPPING[attributeType]?.label})`;\n  }\n\n  @action\n  createOrUpdateMapping() {\n    let existingMapping = this.originalMapping;\n    let sourceAttributePath;\n    let destinationAttributePath;\n\n    if (this.selectedSyncDirection === syncDirection.IntercomToCRM) {\n      sourceAttributePath = this.selectedIntercomAttr;\n      destinationAttributePath = this.selectedSalesforceAttr;\n    } else {\n      sourceAttributePath = this.selectedSalesforceAttr;\n      destinationAttributePath = this.selectedIntercomAttr;\n    }\n\n    if (existingMapping) {\n      existingMapping.set('sourceAttributePath', sourceAttributePath);\n      existingMapping.set('destinationAttributePath', destinationAttributePath);\n      existingMapping.set('direction', this.selectedSyncDirection);\n      existingMapping.set('updatedAt', Date.now());\n    } else {\n      this.args.syncState.attributeMappings.createFragment({\n        sourceAttributePath,\n        destinationAttributePath,\n        appIdCode: this.appService.app.id,\n        editable: true,\n        direction: this.selectedSyncDirection,\n        integrationCode: this.integrationCode,\n        sourceObjectType: 'contact',\n        sourceType: this.intercomAttribute.type,\n        updatedAt: Date.now(),\n      });\n    }\n    this.closeModal();\n  }\n\n  @action\n  closeModal() {\n    this.args.closeModal();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__mb__10\\\">\\n  <IcBanner\\n    @text=\\\"Intercom failed to connect to Salesforce. Try reconnecting to fix this.\\\"\\n    @type=\\\"error\\\"\\n  />\\n  <div class=\\\"layout__box o__centers-vertically u__mt__15 u__mb__25\\\">\\n    <IcButton\\n      @type=\\\"primary\\\"\\n      @label=\\\"Reconnect to Salesforce\\\"\\n      @onClick={{perform reauthenticate}}\\n      class=\\\"u__mr__10\\\"\\n      data-test-reauthentication-button={{true}}\\n    />\\n    <Pulse::HelpContent::Link\\n      data-test-help-article-link\\n      @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/capture-qualify-and-convert-leads/why-wont-my-salesforce-integration-work\\\"\\n      @title=\\\"Why is my integration not working?\\\"\\n      @type=\\\"article\\\"\\n    />\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__mb__10\\\">\\n  <IcBanner\\n    @text=\\\"Intercom failed to connect to Salesforce. Try reconnecting to fix this.\\\"\\n    @type=\\\"error\\\"\\n  />\\n  <div class=\\\"layout__box o__centers-vertically u__mt__15 u__mb__25\\\">\\n    <IcButton\\n      @type=\\\"primary\\\"\\n      @label=\\\"Reconnect to Salesforce\\\"\\n      @onClick={{perform reauthenticate}}\\n      class=\\\"u__mr__10\\\"\\n      data-test-reauthentication-button={{true}}\\n    />\\n    <Pulse::HelpContent::Link\\n      data-test-help-article-link\\n      @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/capture-qualify-and-convert-leads/why-wont-my-salesforce-integration-work\\\"\\n      @title=\\\"Why is my integration not working?\\\"\\n      @type=\\\"article\\\"\\n    />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/authentication-error.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/authentication-error.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport ENV from 'embercom/config/environment';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  redirectService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  reauthenticate: task(function*() {\n    try {\n      let signedRedirectUrl = yield this.generateRedirectUrl.perform(\n        this.reauthenticationUrl,\n        true,\n      );\n      this.trackReauthenticationRequest();\n      this.redirectService.redirect(signedRedirectUrl);\n    } catch (response) {\n      this.notificationsService.notifyError(response.jqXHR.responseJSON.message);\n    }\n  }).drop(),\n\n  trackReauthenticationRequest() {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'reauthentication_button',\n      action: 'clicked',\n      place: 'salesforce_settings',\n    });\n  },\n\n  reauthenticationUrl: computed('app.id', function() {\n    return `${ENV.APP.salesforce_base_url}/salesforce/reauthenticate?app_id=${this.app.id}`;\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  notificationsService: service(),\n  customNotificationKey: 'salesforce-settings-notification',\n\n  _notifyProcessing() {\n    this.notificationsService.notifyLoading('Saving...', -1, this.customNotificationKey);\n  },\n  _notifySuccess(message) {\n    this.notificationsService.removeNotification(this.customNotificationKey);\n    this.notificationsService.notifyConfirmation(message);\n  },\n  _notifyFailure(message) {\n    this.notificationsService.removeNotification(this.customNotificationKey);\n    this.notificationsService.notifyError(message);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (and @feature (not @feature.is_supported))}}\\n  <IcBanner\\n    @type=\\\"error\\\"\\n    class=\\\"u__mb__10\\\"\\n    data-test-salesforce-feature-errors={{true}}\\n  >\\n    The {{@name\\n    }} feature won't work properly due to the following errors:{{#each\\n      @feature.errors as |error|\\n    }}\\n      <li>\\n        {{error}}\\n      </li>\\n    {{/each}}\\n  </IcBanner>\\n\\n  <div class=\\\"layout__box o__centers-vertically u__mt__15 u__mb__25\\\">\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/en/articles/1047665-why-won-t-my-salesforce-integration-work\\\"\\n      @title=\\\"Why is my integration not working?\\\"\\n      @type=\\\"article\\\"\\n    />\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if (and @feature (not @feature.is_supported))}}\\n  <IcBanner\\n    @type=\\\"error\\\"\\n    class=\\\"u__mb__10\\\"\\n    data-test-salesforce-feature-errors={{true}}\\n  >\\n    The {{@name\\n    }} feature won't work properly due to the following errors:{{#each\\n      @feature.errors as |error|\\n    }}\\n      <li>\\n        {{error}}\\n      </li>\\n    {{/each}}\\n  </IcBanner>\\n\\n  <div class=\\\"layout__box o__centers-vertically u__mt__15 u__mb__25\\\">\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/en/articles/1047665-why-won-t-my-salesforce-integration-work\\\"\\n      @title=\\\"Why is my integration not working?\\\"\\n      @type=\\\"article\\\"\\n    />\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/feature-status.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/feature-status.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-integration-status>\\n  {{#if (and (not (has-feature \\\"canUseSalesforceIdentityMapping\\\")) (eq @salesforceSyncState.importStatus \\\"In Progress\\\"))}}\\n    <IcBanner\\n      data-test-salesforce-import-status={{true}}\\n      @type=\\\"help\\\"\\n      @text=\\\"We're currently importing your Salesforce data. We'll email you when it is all done.\\\"\\n      class=\\\"u__mb__10\\\"\\n    />\\n  {{/if}}\\n  {{#if\\n    (and\\n      (has-feature \\\"hasSalesforceSandboxFeatureInPlan\\\")\\n      @salesforceSyncState.isSandbox\\n    )\\n  }}\\n    <IcBanner\\n      data-test-salesforce-sandbox-indicator={{true}}\\n      @text=\\\"This integration is connected to a Salesforce sandbox\\\"\\n      @type=\\\"warning\\\"\\n      class=\\\"u__mb__10\\\"\\n    />\\n  {{/if}}\\n  <Appstore::AppPackage::Settings::SalesforceByIntercom::FeatureStatus\\n    @feature={{@features.filter_email}}\\n    @name=\\\"Finding leads/contact by e-mail\\\"\\n  />\\n  <Appstore::AppPackage::Settings::SalesforceByIntercom::FeatureStatus\\n    @feature={{@salesforceSyncState.features.sync_lead}}\\n    @name=\\\"Enrich Lead\\\"\\n  />\\n  <Appstore::AppPackage::Settings::SalesforceByIntercom::FeatureStatus\\n    @feature={{@salesforceSyncState.features.sync_opportunity}}\\n    @name=\\\"Sync Opportunity Data\\\"\\n  />\\n  <Appstore::AppPackage::Settings::SalesforceByIntercom::FeatureStatus\\n    @feature={{@salesforceSyncState.features.create_lead}}\\n    @name=\\\"Create Lead\\\"\\n  />\\n  <Appstore::AppPackage::Settings::SalesforceByIntercom::FeatureStatus\\n    @feature={{@salesforceSyncState.features.create_task}}\\n    @name=\\\"Create Task\\\"\\n  />\\n</div>\\n\", {\"contents\":\"<div data-test-integration-status>\\n  {{#if (and (not (has-feature \\\"canUseSalesforceIdentityMapping\\\")) (eq @salesforceSyncState.importStatus \\\"In Progress\\\"))}}\\n    <IcBanner\\n      data-test-salesforce-import-status={{true}}\\n      @type=\\\"help\\\"\\n      @text=\\\"We're currently importing your Salesforce data. We'll email you when it is all done.\\\"\\n      class=\\\"u__mb__10\\\"\\n    />\\n  {{/if}}\\n  {{#if\\n    (and\\n      (has-feature \\\"hasSalesforceSandboxFeatureInPlan\\\")\\n      @salesforceSyncState.isSandbox\\n    )\\n  }}\\n    <IcBanner\\n      data-test-salesforce-sandbox-indicator={{true}}\\n      @text=\\\"This integration is connected to a Salesforce sandbox\\\"\\n      @type=\\\"warning\\\"\\n      class=\\\"u__mb__10\\\"\\n    />\\n  {{/if}}\\n  <Appstore::AppPackage::Settings::SalesforceByIntercom::FeatureStatus\\n    @feature={{@features.filter_email}}\\n    @name=\\\"Finding leads/contact by e-mail\\\"\\n  />\\n  <Appstore::AppPackage::Settings::SalesforceByIntercom::FeatureStatus\\n    @feature={{@salesforceSyncState.features.sync_lead}}\\n    @name=\\\"Enrich Lead\\\"\\n  />\\n  <Appstore::AppPackage::Settings::SalesforceByIntercom::FeatureStatus\\n    @feature={{@salesforceSyncState.features.sync_opportunity}}\\n    @name=\\\"Sync Opportunity Data\\\"\\n  />\\n  <Appstore::AppPackage::Settings::SalesforceByIntercom::FeatureStatus\\n    @feature={{@salesforceSyncState.features.create_lead}}\\n    @name=\\\"Create Lead\\\"\\n  />\\n  <Appstore::AppPackage::Settings::SalesforceByIntercom::FeatureStatus\\n    @feature={{@salesforceSyncState.features.create_task}}\\n    @name=\\\"Create Task\\\"\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/integration-status.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/integration-status.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.fetchSalesforceSettings.isRunning}}\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__centers-all appstore__modal__loading-container\\\"\\n  >\\n    <IcLoadingIndicator @size=\\\"large\\\" />\\n  </div>\\n{{else if this.integrationMisconfigured}}\\n  <div data-test-installation-misconfigured class=\\\"u__mb__25\\\">\\n    Installation wasn't completed, uninstall and try again.\\n  </div>\\n{{else if this.rateLimitExceeded}}\\n  <div data-test-rate-limit-exceeded class=\\\"u__mb__25\\\">\\n    You've reached the limit of daily Salesforce API calls allocated for Intercom.\\n  </div>\\n{{else}}\\n  {{#if this.authenticationInvalid}}\\n    <Appstore::AppPackage::Settings::SalesforceByIntercom::AuthenticationError\\n      @generateRedirectUrl={{@generateRedirectUrl}}\\n      data-test-authentication-error={{true}}\\n    />\\n  {{else if this.salesforceSyncState.shouldMigrate}}\\n    <div class=\\\"u__mb__25\\\">\\n      <IcBanner\\n        @text=\\\"Please reauthenticate your Salesforce account.\\\"\\n        @type=\\\"warning\\\"\\n        @buttonLabel=\\\"Reauthenticate\\\"\\n        @onButtonClick={{perform this.reauthenticate}}\\n        data-test-reauthentication-banner\\n      />\\n    </div>\\n  {{else}}\\n    <Appstore::AppPackage::Settings::SalesforceByIntercom::IntegrationStatus\\n      @salesforceSyncState={{this.salesforceSyncState}}\\n    />\\n  {{/if}}\\n  <Appstore::AppPackage::Settings::SalesforceByIntercom::Accordion\\n    @syncState={{this.salesforceSyncState}}\\n    @qualificationAttributes={{this.qualificationAttributes}}\\n    @utmAttributes={{this.utmAttributes}}\\n    @isDisabled={{this.authenticationInvalid}}\\n    @updateSettings={{this.updateSettings}}\\n    @isSfdcAttributeMappingsEnabled={{this.isSfdcAttributeMappingsEnabled}}\\n  />\\n  <Pulse::HelpContent::Link\\n    @href=\\\"https://www.intercom.com/help/integrations/integrate-with-salesforce\\\"\\n    @title=\\\"About this integration\\\"\\n    @type=\\\"article\\\"\\n    class=\\\"mt-5\\\"\\n    data-test-docs-link\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{#if this.fetchSalesforceSettings.isRunning}}\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__centers-all appstore__modal__loading-container\\\"\\n  >\\n    <IcLoadingIndicator @size=\\\"large\\\" />\\n  </div>\\n{{else if this.integrationMisconfigured}}\\n  <div data-test-installation-misconfigured class=\\\"u__mb__25\\\">\\n    Installation wasn't completed, uninstall and try again.\\n  </div>\\n{{else if this.rateLimitExceeded}}\\n  <div data-test-rate-limit-exceeded class=\\\"u__mb__25\\\">\\n    You've reached the limit of daily Salesforce API calls allocated for Intercom.\\n  </div>\\n{{else}}\\n  {{#if this.authenticationInvalid}}\\n    <Appstore::AppPackage::Settings::SalesforceByIntercom::AuthenticationError\\n      @generateRedirectUrl={{@generateRedirectUrl}}\\n      data-test-authentication-error={{true}}\\n    />\\n  {{else if this.salesforceSyncState.shouldMigrate}}\\n    <div class=\\\"u__mb__25\\\">\\n      <IcBanner\\n        @text=\\\"Please reauthenticate your Salesforce account.\\\"\\n        @type=\\\"warning\\\"\\n        @buttonLabel=\\\"Reauthenticate\\\"\\n        @onButtonClick={{perform this.reauthenticate}}\\n        data-test-reauthentication-banner\\n      />\\n    </div>\\n  {{else}}\\n    <Appstore::AppPackage::Settings::SalesforceByIntercom::IntegrationStatus\\n      @salesforceSyncState={{this.salesforceSyncState}}\\n    />\\n  {{/if}}\\n  <Appstore::AppPackage::Settings::SalesforceByIntercom::Accordion\\n    @syncState={{this.salesforceSyncState}}\\n    @qualificationAttributes={{this.qualificationAttributes}}\\n    @utmAttributes={{this.utmAttributes}}\\n    @isDisabled={{this.authenticationInvalid}}\\n    @updateSettings={{this.updateSettings}}\\n    @isSfdcAttributeMappingsEnabled={{this.isSfdcAttributeMappingsEnabled}}\\n  />\\n  <Pulse::HelpContent::Link\\n    @href=\\\"https://www.intercom.com/help/integrations/integrate-with-salesforce\\\"\\n    @title=\\\"About this integration\\\"\\n    @type=\\\"article\\\"\\n    class=\\\"mt-5\\\"\\n    data-test-docs-link\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport SettingsPanel from 'embercom/components/appstore/app-package/settings/salesforce-by-intercom/base/panel';\nimport { alias } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport ENV from 'embercom/config/environment';\n\nconst UNAUTHENTICATED_ERROR_CODE = 403;\nconst RATE_LIMIT_EXCEEDED_ERROR_CODE = 429;\n\nexport default SettingsPanel.extend({\n  store: service(),\n  appService: service(),\n  redirectService: service(),\n  notificationsService: service(),\n\n  authenticationInvalid: false,\n  integrationMisconfigured: false,\n  rateLimitExceeded: false,\n\n  isSfdcAttributeMappingsEnabled: alias('app.canUseSfdcAttributeMappings'),\n\n  reauthenticationUrl: computed('appService.app.id', function() {\n    return `${ENV.APP.salesforce_base_url}/salesforce/reauthenticate?app_id=${this.appService.app.id}`;\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.fetchSalesforceSettings.perform();\n    this.registerHooks(this.getProperties('afterUninstall'));\n  },\n\n  fetchSalesforceSettings: task(function*() {\n    try {\n      let salesforceSyncState = yield this.store.queryRecord('salesforce-integration', {});\n      this.set('salesforceSyncState', salesforceSyncState);\n    } catch (e) {\n      switch (e.jqXHR.status) {\n        case UNAUTHENTICATED_ERROR_CODE:\n          this.set('authenticationInvalid', true);\n          break;\n        case RATE_LIMIT_EXCEEDED_ERROR_CODE:\n          this.set('rateLimitExceeded', true);\n          break;\n        default:\n          this.set('integrationMisconfigured', true);\n          break;\n      }\n    }\n  }),\n\n  afterUninstall: task(function*() {\n    yield this.set('app.has_salesforce_integration', false);\n  }),\n\n  updateSettings: task(function*() {\n    try {\n      this._notifyProcessing();\n      yield this.salesforceSyncState.save();\n      this._notifySuccess('Successfully updated your Salesforce settings');\n    } catch (e) {\n      this.salesforceSyncState.rollbackAttributes();\n      this._notifyFailure(\"Something went wrong and we couldn't update your Salesforce settings\");\n    }\n  }),\n\n  reauthenticate: task(function*() {\n    try {\n      let signedRedirectUrl = yield this.generateRedirectUrl.perform(\n        this.reauthenticationUrl,\n        true,\n      );\n      this.redirectService.redirect(signedRedirectUrl);\n    } catch (response) {\n      this.notificationsService.notifyError(response.jqXHR.responseJSON.message);\n    }\n  }).drop(),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Form @onSubmit={{this.showModalOrSave}} class=\\\"max-w-full\\\" as |form|>\\n  <div class=\\\"flex justify-between\\\">\\n    <div class=\\\"self-center\\\">\\n      <h3 class=\\\"t__h3 text-gray\\\">Connect Intercom and Salesforce</h3>\\n    </div>\\n\\n    <form.Submit\\n      class=\\\"u__right\\\"\\n      @label=\\\"Save settings\\\"\\n      @disabled={{not this.settingsAreDirty}}\\n      data-test-submit-button\\n    />\\n  </div>\\n\\n  {{#if this.requiresResync}}\\n    <IcBanner\\n      @text=\\\"Updating the settings will require a resync. We’ll cancel any sync in progress to start a new one.\\\"\\n      @type=\\\"warning\\\"\\n      data-test-warning-banner\\n    />\\n  {{/if}}\\n\\n  <h3 class=\\\"t__h3\\\">Map leads and users</h3>\\n\\n  <p class=\\\"mb-4\\\">\\n    Map leads and users in Intercom with leads and contacts in Salesforce using a unique identifier.\\n    <Pulse::HelpContent::Link\\n      @href='https://www.intercom.com/help/en/articles/4497943-salesforce-for-support'\\n      @title='Learn about how mapping works.'\\n      @type=\\\"article\\\"\\n    />\\n  </p>\\n\\n  <form.Item as |item|>\\n    <item.RadioGroup @selected={{this.copiedIntercomIdentityMappingAttribute}} as |group|>\\n      <group.RadioButton\\n        @value=\\\"user_id\\\"\\n        {{on \\\"click\\\" this.enableEmailFallback}}\\n        data-test-intercom-mapping-attr-user-id\\n        as |radio|\\n      >\\n\\n        <radio.Label>\\n          <span> <strong> Map using a unique identifier</strong> <span class='t__light-text'>(recommended)</span> </span>\\n        </radio.Label>\\n\\n        {{#if (eq this.copiedIntercomIdentityMappingAttribute \\\"user_id\\\")}}\\n          <IcCard @padding=\\\"regular\\\" class=\\\"mt-2 mb-4\\\">\\n            <IcContent>\\n              <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n                <div class=\\\"layout__box o__has-columns\\\">\\n                  <div class=\\\"layout__box o__centers-vertically salesforce__name text-gray\\\">\\n                    {{ic-interface-icon \\\"intercom\\\" solo=true}}\\n                    <h3 class=\\\"leading-5 font-medium text-base text-gray pl-2\\\">\\n                      Intercom\\n                    </h3>\\n                  </div>\\n                  <div class=\\\"layout__box o__centers-vertically salesforce__mapping-spacer\\\">\\n                    &nbsp;\\n                  </div>\\n                  <div class=\\\"layout__box o__centers-vertically salesforce__selection text-gray\\\">\\n                    {{ic-interface-icon \\\"salesforce\\\" solo=true}}\\n                    <h3 class=\\\"leading-5 font-medium text-base text-gray pl-2\\\">\\n                      Salesforce\\n                    </h3>\\n                  </div>\\n                </div>\\n                <div class=\\\"layout__box o__has-columns salesforce__identity-mapping__row\\\">\\n                  <div class=\\\"layout__box o__centers-vertically salesforce__name text-black font-semibold\\\">\\n                    User id\\n                  </div>\\n                  <div class=\\\"layout__box o__centers-vertically min-w-13 ml-2 text-black font-semibold\\\">\\n                    =\\n                  </div>\\n                  <div class=\\\"layout__box o__centers-vertically salesforce__selection\\\">\\n                    <IcSelect\\n                      @selectedValue={{this.copiedSalesforceIdentityMappingField}}\\n                      @items={{this.supportedFieldsGroupList}}\\n                      @onSelectItem={{this.onMappingFieldChange}}\\n                      @defaultLabel=\\\"Select a Field\\\"\\n                      @hasFilter={{true}}\\n                      @filterPlaceholder=\\\"Search Fields...\\\"\\n                      data-test-salesforce-mapping-field-dropdown\\n                    />\\n                    <IcTooltipIcon class=\\\"text-gray ml-2\\\" @content=\\\"Select a unique identifier to map a lead or user in Intercom with a lead or contact in Salesforce.\\\" />\\n                  </div>\\n                </div>\\n              </div>\\n\\n              <form.Item as |item|>\\n                <item.Checkbox\\n                  @checked={{this.copiedIdentityMappingEmailFallbackEnabled}}\\n                  data-test-email-fallback-checkbox\\n                  as |checkbox|\\n                >\\n                  <checkbox.Label>\\n                    <p>Map using <strong>email address</strong> when User id isn't set in Intercom.</p>\\n                  </checkbox.Label>\\n                </item.Checkbox>\\n              </form.Item>\\n\\n            </IcContent>\\n          </IcCard>\\n        {{/if}}\\n      </group.RadioButton>\\n\\n      <group.RadioButton\\n        @value=\\\"email\\\"\\n        data-test-intercom-mapping-attr-email\\n        as |radio|\\n      >\\n        <radio.Label>\\n          <p><strong>Map using email address</strong></p>\\n        </radio.Label>\\n      </group.RadioButton>\\n    </item.RadioGroup>\\n  </form.Item>\\n</Form>\\n\\n<hr class=\\\"my-6\\\">\\n\\n{{#if this.showConfirmModal}}\\n  <IcConfirmModal\\n    @title=\\\"Re-sync Intercom and Salesforce?\\\"\\n    @onModalClose={{toggle \\\"showConfirmModal\\\" this}}\\n    @confirmLabel=\\\"Save and sync\\\"\\n    @confirmAction={{perform this.saveSettings true}}\\n    @isOpen={{this.showConfirmModal}}\\n  >\\n    <p>\\n      Updating the settings will require a resync. We’ll cancel any sync in progress to start a new one.\\n    </p>\\n  </IcConfirmModal>\\n{{/if}}\\n\\n{{#if (has-feature \\\"canUseSalesforceIdentityMapping\\\")}}\\n  <div class=\\\"flex justify-between my-4\\\">\\n    <h3 class=\\\"t__h3 mb-3 self-center\\\">Map attributes</h3>\\n    <IcButton\\n      class=\\\"self-center\\\"\\n      @label=\\\"Map new attribute\\\"\\n      @onClick={{toggle \\\"showAttributeMappingModal\\\" this}}\\n    />\\n  </div>\\n\\n  {{#if this.showAttributeMappingModal}}\\n    <Appstore::AppPackage::Settings::SalesforceByIntercom::AttributeMapping\\n      @syncState={{@syncState}}\\n      @selectedIntercomAttr={{this.selectedIntercomAttr}}\\n      @selectedSalesforceAttr={{this.selectedSalesforceAttr}}\\n      @selectedSyncDirection={{this.selectedSyncDirection}}\\n      @closeModal={{this.closeModal}}\\n    />\\n  {{/if}}\\n{{else}}\\n  <h3 class=\\\"t__h3 mb-3\\\">Map attributes</h3>\\n{{/if}}\\n\\n{{#if (has-feature \\\"canUseSalesforceIdentityMapping\\\")}}\\n  <Appstore::AppPackage::Settings::SalesforceByIntercom::Mappings\\n    data-test-mappings\\n    @mappings={{@syncState.attributeMappings}}\\n    @salesforceFields={{@syncState.salesforceFields}}\\n    @updateSettings={{@updateSettings}}\\n    @openModal={{this.openModal}}\\n  />\\n{{else}}\\n  <Appstore::AppPackage::Settings::Crm::Mappings\\n    data-test-mappings\\n    @mappings={{@syncState.attributeMappings}}\\n    @attributeOptionsForType={{@syncState.attributeOptions}}\\n    @updateSettings={{@updateSettings}}\\n    @attributeLabel={{\\\"Salesforce\\\"}}\\n    @openModal={{this.openModal}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"<Form @onSubmit={{this.showModalOrSave}} class=\\\"max-w-full\\\" as |form|>\\n  <div class=\\\"flex justify-between\\\">\\n    <div class=\\\"self-center\\\">\\n      <h3 class=\\\"t__h3 text-gray\\\">Connect Intercom and Salesforce</h3>\\n    </div>\\n\\n    <form.Submit\\n      class=\\\"u__right\\\"\\n      @label=\\\"Save settings\\\"\\n      @disabled={{not this.settingsAreDirty}}\\n      data-test-submit-button\\n    />\\n  </div>\\n\\n  {{#if this.requiresResync}}\\n    <IcBanner\\n      @text=\\\"Updating the settings will require a resync. We’ll cancel any sync in progress to start a new one.\\\"\\n      @type=\\\"warning\\\"\\n      data-test-warning-banner\\n    />\\n  {{/if}}\\n\\n  <h3 class=\\\"t__h3\\\">Map leads and users</h3>\\n\\n  <p class=\\\"mb-4\\\">\\n    Map leads and users in Intercom with leads and contacts in Salesforce using a unique identifier.\\n    <Pulse::HelpContent::Link\\n      @href='https://www.intercom.com/help/en/articles/4497943-salesforce-for-support'\\n      @title='Learn about how mapping works.'\\n      @type=\\\"article\\\"\\n    />\\n  </p>\\n\\n  <form.Item as |item|>\\n    <item.RadioGroup @selected={{this.copiedIntercomIdentityMappingAttribute}} as |group|>\\n      <group.RadioButton\\n        @value=\\\"user_id\\\"\\n        {{on \\\"click\\\" this.enableEmailFallback}}\\n        data-test-intercom-mapping-attr-user-id\\n        as |radio|\\n      >\\n\\n        <radio.Label>\\n          <span> <strong> Map using a unique identifier</strong> <span class='t__light-text'>(recommended)</span> </span>\\n        </radio.Label>\\n\\n        {{#if (eq this.copiedIntercomIdentityMappingAttribute \\\"user_id\\\")}}\\n          <IcCard @padding=\\\"regular\\\" class=\\\"mt-2 mb-4\\\">\\n            <IcContent>\\n              <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n                <div class=\\\"layout__box o__has-columns\\\">\\n                  <div class=\\\"layout__box o__centers-vertically salesforce__name text-gray\\\">\\n                    {{ic-interface-icon \\\"intercom\\\" solo=true}}\\n                    <h3 class=\\\"leading-5 font-medium text-base text-gray pl-2\\\">\\n                      Intercom\\n                    </h3>\\n                  </div>\\n                  <div class=\\\"layout__box o__centers-vertically salesforce__mapping-spacer\\\">\\n                    &nbsp;\\n                  </div>\\n                  <div class=\\\"layout__box o__centers-vertically salesforce__selection text-gray\\\">\\n                    {{ic-interface-icon \\\"salesforce\\\" solo=true}}\\n                    <h3 class=\\\"leading-5 font-medium text-base text-gray pl-2\\\">\\n                      Salesforce\\n                    </h3>\\n                  </div>\\n                </div>\\n                <div class=\\\"layout__box o__has-columns salesforce__identity-mapping__row\\\">\\n                  <div class=\\\"layout__box o__centers-vertically salesforce__name text-black font-semibold\\\">\\n                    User id\\n                  </div>\\n                  <div class=\\\"layout__box o__centers-vertically min-w-13 ml-2 text-black font-semibold\\\">\\n                    =\\n                  </div>\\n                  <div class=\\\"layout__box o__centers-vertically salesforce__selection\\\">\\n                    <IcSelect\\n                      @selectedValue={{this.copiedSalesforceIdentityMappingField}}\\n                      @items={{this.supportedFieldsGroupList}}\\n                      @onSelectItem={{this.onMappingFieldChange}}\\n                      @defaultLabel=\\\"Select a Field\\\"\\n                      @hasFilter={{true}}\\n                      @filterPlaceholder=\\\"Search Fields...\\\"\\n                      data-test-salesforce-mapping-field-dropdown\\n                    />\\n                    <IcTooltipIcon class=\\\"text-gray ml-2\\\" @content=\\\"Select a unique identifier to map a lead or user in Intercom with a lead or contact in Salesforce.\\\" />\\n                  </div>\\n                </div>\\n              </div>\\n\\n              <form.Item as |item|>\\n                <item.Checkbox\\n                  @checked={{this.copiedIdentityMappingEmailFallbackEnabled}}\\n                  data-test-email-fallback-checkbox\\n                  as |checkbox|\\n                >\\n                  <checkbox.Label>\\n                    <p>Map using <strong>email address</strong> when User id isn't set in Intercom.</p>\\n                  </checkbox.Label>\\n                </item.Checkbox>\\n              </form.Item>\\n\\n            </IcContent>\\n          </IcCard>\\n        {{/if}}\\n      </group.RadioButton>\\n\\n      <group.RadioButton\\n        @value=\\\"email\\\"\\n        data-test-intercom-mapping-attr-email\\n        as |radio|\\n      >\\n        <radio.Label>\\n          <p><strong>Map using email address</strong></p>\\n        </radio.Label>\\n      </group.RadioButton>\\n    </item.RadioGroup>\\n  </form.Item>\\n</Form>\\n\\n<hr class=\\\"my-6\\\">\\n\\n{{#if this.showConfirmModal}}\\n  <IcConfirmModal\\n    @title=\\\"Re-sync Intercom and Salesforce?\\\"\\n    @onModalClose={{toggle \\\"showConfirmModal\\\" this}}\\n    @confirmLabel=\\\"Save and sync\\\"\\n    @confirmAction={{perform this.saveSettings true}}\\n    @isOpen={{this.showConfirmModal}}\\n  >\\n    <p>\\n      Updating the settings will require a resync. We’ll cancel any sync in progress to start a new one.\\n    </p>\\n  </IcConfirmModal>\\n{{/if}}\\n\\n{{#if (has-feature \\\"canUseSalesforceIdentityMapping\\\")}}\\n  <div class=\\\"flex justify-between my-4\\\">\\n    <h3 class=\\\"t__h3 mb-3 self-center\\\">Map attributes</h3>\\n    <IcButton\\n      class=\\\"self-center\\\"\\n      @label=\\\"Map new attribute\\\"\\n      @onClick={{toggle \\\"showAttributeMappingModal\\\" this}}\\n    />\\n  </div>\\n\\n  {{#if this.showAttributeMappingModal}}\\n    <Appstore::AppPackage::Settings::SalesforceByIntercom::AttributeMapping\\n      @syncState={{@syncState}}\\n      @selectedIntercomAttr={{this.selectedIntercomAttr}}\\n      @selectedSalesforceAttr={{this.selectedSalesforceAttr}}\\n      @selectedSyncDirection={{this.selectedSyncDirection}}\\n      @closeModal={{this.closeModal}}\\n    />\\n  {{/if}}\\n{{else}}\\n  <h3 class=\\\"t__h3 mb-3\\\">Map attributes</h3>\\n{{/if}}\\n\\n{{#if (has-feature \\\"canUseSalesforceIdentityMapping\\\")}}\\n  <Appstore::AppPackage::Settings::SalesforceByIntercom::Mappings\\n    data-test-mappings\\n    @mappings={{@syncState.attributeMappings}}\\n    @salesforceFields={{@syncState.salesforceFields}}\\n    @updateSettings={{@updateSettings}}\\n    @openModal={{this.openModal}}\\n  />\\n{{else}}\\n  <Appstore::AppPackage::Settings::Crm::Mappings\\n    data-test-mappings\\n    @mappings={{@syncState.attributeMappings}}\\n    @attributeOptionsForType={{@syncState.attributeOptions}}\\n    @updateSettings={{@updateSettings}}\\n    @attributeLabel={{\\\"Salesforce\\\"}}\\n    @openModal={{this.openModal}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/map-data.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/map-data.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { copy } from 'ember-copy';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\nimport { inject as service } from '@ember/service';\n\nconst INTERCOM_EMAIL = 'email';\nconst SALESFORCE_EMAIL = 'Email';\n\nexport default class MapData extends Component {\n  @service notificationsService;\n\n  @tracked copiedIntercomIdentityMappingAttribute = copy(\n    this.args.syncState.settings.intercomIdentityMappingAttribute,\n  );\n  @tracked copiedSalesforceIdentityMappingField = copy(\n    this.args.syncState.settings.salesforceIdentityMappingField,\n  );\n  @tracked copiedIdentityMappingEmailFallbackEnabled = copy(\n    this.args.syncState.settings.identityMappingEmailFallbackEnabled,\n  );\n  @tracked coppiedAttributeMappings = copy(this.args.syncState.attributeMappings);\n\n  @tracked showConfirmModal = false;\n  @tracked showAttributeMappingModal = false;\n  @tracked selectedIntercomAttr;\n  @tracked selectedSalesforceAttr;\n  @tracked selectedSyncDirection;\n\n  get settingsAreDirty() {\n    let attributeMappingsHasChanged = this.args.syncState.attributeMappings.hasDirtyAttributes;\n    if (this.intercomMappingIsEmailAndUnchanged() && !attributeMappingsHasChanged) {\n      return false;\n    }\n\n    return this.hasMappingMeaningfullyChanged() || attributeMappingsHasChanged;\n  }\n\n  get requiresResync() {\n    return this.hasAttributeMappingConstructivelyChanged() || this.hasMappingMeaningfullyChanged();\n  }\n\n  hasAttributeMappingConstructivelyChanged() {\n    let currentState = this.args.syncState.attributeMappings;\n    let inNewMappings = currentState.content.filter(this.comparer(this.coppiedAttributeMappings));\n    return inNewMappings.length > 0;\n  }\n\n  hasMappingMeaningfullyChanged() {\n    let hasSetEmailAsActive = this.copiedIntercomIdentityMappingAttribute === INTERCOM_EMAIL;\n    if (hasSetEmailAsActive) {\n      return (\n        this.copiedIntercomIdentityMappingAttribute !==\n        this.args.syncState.settings.intercomIdentityMappingAttribute\n      );\n    }\n    return this.hasSalesforceMappingChanged();\n  }\n\n  hasSalesforceMappingChanged() {\n    let hasEmailFallBackChanged =\n      this.copiedIdentityMappingEmailFallbackEnabled !==\n      this.args.syncState.settings.identityMappingEmailFallbackEnabled;\n    let salesforceIdentityMappingFieldSet = this.copiedSalesforceIdentityMappingField !== undefined;\n    let salesforceIdentityMappingFieldChanged =\n      this.copiedSalesforceIdentityMappingField !==\n      this.args.syncState.settings.salesforceIdentityMappingField;\n\n    return (\n      salesforceIdentityMappingFieldSet &&\n      (salesforceIdentityMappingFieldChanged || hasEmailFallBackChanged)\n    );\n  }\n\n  intercomMappingIsEmailAndUnchanged() {\n    return (\n      this.copiedIntercomIdentityMappingAttribute === INTERCOM_EMAIL &&\n      this.args.syncState.settings.intercomIdentityMappingAttribute === INTERCOM_EMAIL\n    );\n  }\n\n  comparer(otherArray) {\n    return current => otherArray.filter(other => current.isEqual(other)).length === 0;\n  }\n\n  get supportedFieldsGroupList() {\n    let items = this.args.syncState.identityMappingSupportedFields.map(field => {\n      return { text: field.name, value: field.name };\n    });\n\n    return [{ items }];\n  }\n\n  @task({ enqueue: true })\n  *saveSettings(requiresResync = false) {\n    try {\n      if (this.copiedIntercomIdentityMappingAttribute === INTERCOM_EMAIL) {\n        this.copiedSalesforceIdentityMappingField = SALESFORCE_EMAIL;\n        this.copiedIdentityMappingEmailFallbackEnabled = false;\n      }\n      this.args.syncState.settings.intercomIdentityMappingAttribute = this.copiedIntercomIdentityMappingAttribute;\n      this.args.syncState.settings.salesforceIdentityMappingField = this.copiedSalesforceIdentityMappingField;\n      this.args.syncState.settings.identityMappingEmailFallbackEnabled = this.copiedIdentityMappingEmailFallbackEnabled;\n      yield this.args.syncState.save();\n      let notificationMessage = requiresResync\n        ? 'Your settings were updated. We’ll email you when the sync is complete.'\n        : 'Your settings were updated.';\n      this.notificationsService.notifyConfirmation(notificationMessage);\n    } catch (e) {\n      this.copiedIntercomIdentityMappingAttribute = this.args.syncState.settings.intercomIdentityMappingAttribute;\n      this.copiedSalesforceIdentityMappingField = this.args.syncState.settings.salesforceIdentityMappingField;\n      this.copiedIdentityMappingEmailFallbackEnabled = this.args.syncState.settings.copiedIdentityMappingEmailFallbackEnabled;\n\n      if (e.jqXHR?.responseJSON?.errors) {\n        this.notificationsService.notifyError(e.jqXHR.responseJSON.errors);\n      } else {\n        this.notificationsService.notifyError(\n          \"Something went wrong and we couldn't update your Salesforce settings\",\n        );\n      }\n    }\n    this.showConfirmModal = false;\n  }\n\n  @action\n  showModalOrSave() {\n    if (this.requiresResync) {\n      this.showConfirmModal = true;\n    } else {\n      this.saveSettings.perform(false);\n    }\n  }\n\n  @action\n  onMappingFieldChange(selectedItem) {\n    this.copiedSalesforceIdentityMappingField = selectedItem;\n  }\n\n  @action\n  enableEmailFallback() {\n    if (this.intercomMappingIsEmailAndUnchanged()) {\n      this.copiedIdentityMappingEmailFallbackEnabled = true;\n    }\n  }\n\n  @action\n  closeModal() {\n    this.selectedIntercomAttr = undefined;\n    this.selectedSalesforceAttr = undefined;\n    this.selectedSyncDirection = undefined;\n    this.showAttributeMappingModal = false;\n  }\n\n  @action\n  openModal(row) {\n    this.selectedIntercomAttr = row.intercomAttribute;\n    this.selectedSalesforceAttr = row.salesforceField;\n    this.selectedSyncDirection = row.direction;\n    this.showAttributeMappingModal = true;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div>\\n  {{#if this.tableData}}\\n    <IcLightTable\\n      @data={{this.tableData}}\\n      @columns={{array\\n        (hash label=\\\"Intercom\\\" valuePath=\\\"intercomAttribute\\\" width=\\\"25%\\\")\\n        (hash label=\\\"\\\" valuePath=\\\"arrowSeparator\\\" width=\\\"5%\\\")\\n        (hash label=\\\"Salesforce\\\" valuePath=\\\"salesforceAttribute\\\" width=\\\"25%\\\")\\n        (hash label=\\\"Sync Direction\\\" valuePath=\\\"direction\\\" width=\\\"45%\\\")\\n      }} as |table|\\n    >\\n\\n      <table.rows as |row|>\\n        <row.cell @valuePath=\\\"intercomAttribute\\\">\\n          <div class=\\\"{{if (not row.data.editable) \\\"text-gray\\\"}}\\\">\\n            {{row.data.intercomAttributeText}}\\n            {{#if row.data.createOnly}}\\n              <span\\n                class=\\\"ml-1 t__label\\\"\\n                data-test-create-only-attribute\\n              >\\n                <IcTooltipIcon\\n                  @content=\\\"This is identified automatically and is only sent when a Lead is created.\\\"\\n                />\\n              </span>\\n            {{/if}}\\n          </div>\\n        </row.cell>\\n        <row.cell @valuePath=\\\"arrowSeparator\\\">\\n          <div class=\\\"\\n            {{if (eq row.data.direction 1) \\\"transform rotate-180\\\"}}\\n            {{if (not row.data.editable) \\\"text-gray\\\"}}\\\"\\n          >\\n            {{ic-interface-icon \\\"arrow\\\" solo=true}}\\n          </div>\\n        </row.cell>\\n\\n        <row.cell @valuePath=\\\"salesforceAttribute\\\">\\n          <div class=\\\"{{if (not row.data.editable) \\\"text-gray\\\"}}\\\">\\n            {{row.data.salesforceFieldText}}\\n          </div>\\n        </row.cell>\\n\\n        {{#if row.data.editable}}\\n          <row.actionCell\\n            @valuePath=\\\"direction\\\"\\n            @rowActions={{array\\n              (hash icon=\\\"edit\\\" tooltip=\\\"Edit\\\" onClick=(fn @openModal row.data))\\n              (hash label=\\\"Remove\\\" secondaryType=\\\"destructive\\\" tooltip=\\\"Remove from list\\\" onClick=(fn this.removeMapping row.data))\\n            }}\\n          >\\n            <div class=\\\"{{if (not row.data.editable) \\\"text-gray\\\"}}\\\">\\n              {{#if (eq row.data.direction 0)}}\\n                <p> Intercom to Salesforce</p>\\n              {{else}}\\n                <p> Salesforce to Intercom</p>\\n              {{/if}}\\n            </div>\\n          </row.actionCell>\\n        {{else}}\\n          <row.cell @valuePath=\\\"direction\\\">\\n            <div class=\\\"text-gray\\\">\\n              {{#if (eq row.data.direction 0)}}\\n                <p> Intercom to Salesforce</p>\\n              {{else}}\\n                <p> Salesforce to Intercom</p>\\n              {{/if}}\\n            </div>\\n          </row.cell>\\n        {{/if}}\\n      </table.rows>\\n    </IcLightTable>\\n  {{else}}\\n    <IcEmptyState\\n      data-test-attribute-mapping-empty=\\\"true\\\"\\n      @title=\\\"No attributes yet\\\"\\n      @description=\\\"Add a new attribute by clicking on “Map new attribute”\\\"\\n      @icon=\\\"integration\\\"\\n    />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div>\\n  {{#if this.tableData}}\\n    <IcLightTable\\n      @data={{this.tableData}}\\n      @columns={{array\\n        (hash label=\\\"Intercom\\\" valuePath=\\\"intercomAttribute\\\" width=\\\"25%\\\")\\n        (hash label=\\\"\\\" valuePath=\\\"arrowSeparator\\\" width=\\\"5%\\\")\\n        (hash label=\\\"Salesforce\\\" valuePath=\\\"salesforceAttribute\\\" width=\\\"25%\\\")\\n        (hash label=\\\"Sync Direction\\\" valuePath=\\\"direction\\\" width=\\\"45%\\\")\\n      }} as |table|\\n    >\\n\\n      <table.rows as |row|>\\n        <row.cell @valuePath=\\\"intercomAttribute\\\">\\n          <div class=\\\"{{if (not row.data.editable) \\\"text-gray\\\"}}\\\">\\n            {{row.data.intercomAttributeText}}\\n            {{#if row.data.createOnly}}\\n              <span\\n                class=\\\"ml-1 t__label\\\"\\n                data-test-create-only-attribute\\n              >\\n                <IcTooltipIcon\\n                  @content=\\\"This is identified automatically and is only sent when a Lead is created.\\\"\\n                />\\n              </span>\\n            {{/if}}\\n          </div>\\n        </row.cell>\\n        <row.cell @valuePath=\\\"arrowSeparator\\\">\\n          <div class=\\\"\\n            {{if (eq row.data.direction 1) \\\"transform rotate-180\\\"}}\\n            {{if (not row.data.editable) \\\"text-gray\\\"}}\\\"\\n          >\\n            {{ic-interface-icon \\\"arrow\\\" solo=true}}\\n          </div>\\n        </row.cell>\\n\\n        <row.cell @valuePath=\\\"salesforceAttribute\\\">\\n          <div class=\\\"{{if (not row.data.editable) \\\"text-gray\\\"}}\\\">\\n            {{row.data.salesforceFieldText}}\\n          </div>\\n        </row.cell>\\n\\n        {{#if row.data.editable}}\\n          <row.actionCell\\n            @valuePath=\\\"direction\\\"\\n            @rowActions={{array\\n              (hash icon=\\\"edit\\\" tooltip=\\\"Edit\\\" onClick=(fn @openModal row.data))\\n              (hash label=\\\"Remove\\\" secondaryType=\\\"destructive\\\" tooltip=\\\"Remove from list\\\" onClick=(fn this.removeMapping row.data))\\n            }}\\n          >\\n            <div class=\\\"{{if (not row.data.editable) \\\"text-gray\\\"}}\\\">\\n              {{#if (eq row.data.direction 0)}}\\n                <p> Intercom to Salesforce</p>\\n              {{else}}\\n                <p> Salesforce to Intercom</p>\\n              {{/if}}\\n            </div>\\n          </row.actionCell>\\n        {{else}}\\n          <row.cell @valuePath=\\\"direction\\\">\\n            <div class=\\\"text-gray\\\">\\n              {{#if (eq row.data.direction 0)}}\\n                <p> Intercom to Salesforce</p>\\n              {{else}}\\n                <p> Salesforce to Intercom</p>\\n              {{/if}}\\n            </div>\\n          </row.cell>\\n        {{/if}}\\n      </table.rows>\\n    </IcLightTable>\\n  {{else}}\\n    <IcEmptyState\\n      data-test-attribute-mapping-empty=\\\"true\\\"\\n      @title=\\\"No attributes yet\\\"\\n      @description=\\\"Add a new attribute by clicking on “Map new attribute”\\\"\\n      @icon=\\\"integration\\\"\\n    />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/mappings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/mappings.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { isEmpty } from '@ember/utils';\n\nconst syncDirection = {\n  IntercomToCRM: 0,\n  CrmtoIntercom: 1,\n};\n\nexport default class AttributeMapping extends Component {\n  @service appService;\n\n  get tableData() {\n    return this.args.mappings.content\n      ?.map(mapping => this.generateRowData(mapping))\n      .sort((a, b) => {\n        let dateA = new Date(a.updatedAt);\n        let dateB = new Date(b.updatedAt);\n        return dateB - dateA;\n      });\n  }\n\n  generateRowData(mapping) {\n    let intercomAttribute;\n    let salesforceField;\n    let direction;\n\n    if (isEmpty(mapping.direction) || mapping.direction === syncDirection.IntercomToCRM) {\n      intercomAttribute = mapping.sourceAttributePath;\n      salesforceField = mapping.destinationAttributePath;\n      direction = syncDirection.IntercomToCRM;\n    } else {\n      intercomAttribute = mapping.destinationAttributePath;\n      salesforceField = mapping.sourceAttributePath;\n      direction = syncDirection.CrmtoIntercom;\n    }\n\n    return {\n      intercomAttribute,\n      salesforceField,\n      direction,\n      intercomAttributeText: this.getIntercomAttributeText(intercomAttribute),\n      salesforceFieldText: this.getSalesforceFieldText(salesforceField),\n      editable: mapping.editable,\n      createOnly: this.getIntercomCreateOnly(intercomAttribute),\n      updatedAt: mapping.updatedAt,\n    };\n  }\n\n  findExistingMapping(row) {\n    let sourceAttributePath =\n      row.direction === syncDirection.IntercomToCRM ? row.intercomAttribute : row.salesforceField;\n    return this.args.mappings.findBy('sourceAttributePath', sourceAttributePath);\n  }\n\n  getIntercomAttributeText(attribute) {\n    return this.appService.app.attributes.content.findBy('identifier', attribute)?.name;\n  }\n\n  getIntercomCreateOnly(attribute) {\n    return this.appService.app.attributes.content.findBy('identifier', attribute)?.crm_create_only;\n  }\n\n  getSalesforceFieldText(field) {\n    let fieldLabel = this.args.salesforceFields.findBy('path', field)?.label;\n    return fieldLabel || field;\n  }\n\n  @action\n  removeMapping(row) {\n    let removedMapping = this.findExistingMapping(row);\n    this.args.mappings.removeFragment(removedMapping);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<p>\\n  Select which Salesforce opportunity field to use as the opportunity value in Intercom. Updating this value does not change previously synced data.\\n</p>\\n<div class=\\\"h-2\\\"></div>\\n<IcSelect\\n  @selectedValue={{syncState.settings.opportunityValueField}}\\n  @items={{opportunityValueItems}}\\n  @onSelectItem={{this.saveValueField}}\\n  @hasFilter={{true}}\\n  @filterPlaceholder=\\\"Search fields...\\\"\\n  data-test-value-field-selector={{true}}\\n/>\\n<div class=\\\"h-5\\\"></div>\\n<p>\\n  Toggle enrichment for ROI reporting.\\n</p>\\n<div class=\\\"h-2\\\"></div>\\n<IcOnOffToggle\\n  @isOn={{syncState.settings.opportunitySync}}\\n  @onClick={{this.toggleOpportunitySync}}\\n  data-test-enrichment-toggle={{true}}\\n  @disabled={{_saveSettings.isRunning}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<p>\\n  Select which Salesforce opportunity field to use as the opportunity value in Intercom. Updating this value does not change previously synced data.\\n</p>\\n<div class=\\\"h-2\\\"></div>\\n<IcSelect\\n  @selectedValue={{syncState.settings.opportunityValueField}}\\n  @items={{opportunityValueItems}}\\n  @onSelectItem={{this.saveValueField}}\\n  @hasFilter={{true}}\\n  @filterPlaceholder=\\\"Search fields...\\\"\\n  data-test-value-field-selector={{true}}\\n/>\\n<div class=\\\"h-5\\\"></div>\\n<p>\\n  Toggle enrichment for ROI reporting.\\n</p>\\n<div class=\\\"h-2\\\"></div>\\n<IcOnOffToggle\\n  @isOn={{syncState.settings.opportunitySync}}\\n  @onClick={{this.toggleOpportunitySync}}\\n  data-test-enrichment-toggle={{true}}\\n  @disabled={{_saveSettings.isRunning}}\\n/>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/reporting.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/reporting.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport SettingsPanel from 'embercom/components/appstore/app-package/settings/salesforce-by-intercom/base/panel';\nimport { action } from '@ember/object';\nimport { task } from 'ember-concurrency';\nimport { map, filter, readOnly } from '@ember/object/computed';\nimport { findByProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default SettingsPanel.extend({\n  selectedOpportunityField: findByProperty(\n    'syncState.opportunityFields',\n    'name',\n    'syncState.settings.opportunityValueField',\n  ),\n\n  selectedOpportunityFieldLabel: readOnly('selectedOpportunityField.metadata.label'),\n\n  currencyOpportunityFields: filter('syncState.opportunityFields', function(opportunityField) {\n    return opportunityField.metadata.type === 'currency';\n  }),\n\n  opportunityValueItems: map('currencyOpportunityFields', function(currencyOpportunityField) {\n    return {\n      text: currencyOpportunityField.metadata.label,\n      value: currencyOpportunityField.name,\n    };\n  }),\n\n  _saveSettings: task(function*(successMessage) {\n    try {\n      this._notifyProcessing();\n      yield this.syncState.save();\n      this._notifySuccess(successMessage);\n    } catch (e) {\n      this.syncState.rollbackAttributes();\n      this._notifyFailure(\"Something went wrong and we couldn't update your Salesforce settings\");\n    }\n  }),\n\n  saveValueField: action(function(value) {\n    this.set('syncState.settings.opportunityValueField', value);\n    return this._saveSettings.perform(\n      `Successfully set \"${this.selectedOpportunityFieldLabel}\" as the opportunity value.`,\n    );\n  }),\n\n  toggleOpportunitySync: action(function() {\n    this.toggleProperty('syncState.settings.opportunitySync');\n    let status = this.syncState.settings.opportunitySync ? 'enabled' : 'disabled';\n    return this._saveSettings.perform(`Successfully ${status} opportunity enrichment.`);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h4 class=\\\"t__h4 u__mb__10\\\">\\n  Automatically create Salesforce activities\\n</h4>\\n<IcOnOffToggle\\n  @isOn={{syncState.settings.automaticTaskCreation}}\\n  @onClick={{this.toggleAutomaticTaskCreation}}\\n  data-test-task-creation-toggle={{true}}\\n  class=\\\"u__mb__10\\\"\\n/>\\n<p class=\\\"t__light-text\\\">\\n  When an Intercom conversation is started, we automatically create a completed task in Salesforce. We update the transcript every time a conversation is closed.\\n</p>\\n\\n{{#if app.canUseSalesforceCasesCustomFields}}\\n  <div data-test-case-settings>\\n    <hr class=\\\"mt-8 mb-8\\\" />\\n    <h4 class=\\\"t__h4 u__mb__10 mt-2\\\">\\n      Fields shown when creating a case\\n    </h4>\\n    <p>\\n      You can add additional Custom Fields to the Salesforce Inbox App.\\n    </p>\\n\\n    <IcLightTable\\n      @data={{this.caseCreationFields}}\\n      @columns=\\n        {{array\\n          (hash label=\\\"Field\\\" valuePath=\\\"metadata.label\\\")\\n          (hash label=\\\"Type\\\" valuePath=\\\"metadata.type\\\")\\n          (hash label=\\\"\\\" valuePath=\\\"someRandomString\\\")\\n        }}\\n      as |table|\\n    >\\n      <table.rows as |row|>\\n        <row.cell @valuePath=\\\"metadata.label\\\">{{row.data.metadata.label}}</row.cell>\\n        <row.cell @valuePath=\\\"metadata.type\\\">{{capitalize row.data.metadata.type}}</row.cell>\\n        <row.cell @valuePath=\\\"someRandomString\\\">\\n          {{#if row.data.required}}\\n            <IcTooltip as |t|>\\n              <t.opener>\\n                <a class=\\\"quick-action\\\" data-test-disabled-delete-field>\\n                  {{ic-interface-icon 'trash' solo=true color='grey'}}\\n                </a>\\n              </t.opener>\\n              <t.content>\\n                Required fields cannot be removed.\\n              </t.content>\\n            </IcTooltip>\\n          {{else}}\\n            <a class=\\\"quick-action\\\" {{on \\\"click\\\" (fn this.removeField row.data.name)}} data-test-delete-field>\\n              {{ic-interface-icon 'trash' solo=true color='red'}}\\n            </a>\\n          {{/if}}\\n        </row.cell>\\n      </table.rows>\\n    </IcLightTable>\\n\\n    {{#if caseFieldOptions.length}}\\n      <div class=\\\"mt-2\\\">\\n        <IcDropdownOpener\\n          @label=\\\"Select one\\\"\\n          @groupList={{caseFieldGroupList}}\\n          @onSelectItem={{this.addField}}\\n          data-test-field-selector\\n        >\\n          <a class=\\\"t__em-link\\\">\\n            {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add field\\n          </a>\\n        </IcDropdownOpener>\\n      </div>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h4 class=\\\"t__h4 u__mb__10\\\">\\n  Automatically create Salesforce activities\\n</h4>\\n<IcOnOffToggle\\n  @isOn={{syncState.settings.automaticTaskCreation}}\\n  @onClick={{this.toggleAutomaticTaskCreation}}\\n  data-test-task-creation-toggle={{true}}\\n  class=\\\"u__mb__10\\\"\\n/>\\n<p class=\\\"t__light-text\\\">\\n  When an Intercom conversation is started, we automatically create a completed task in Salesforce. We update the transcript every time a conversation is closed.\\n</p>\\n\\n{{#if app.canUseSalesforceCasesCustomFields}}\\n  <div data-test-case-settings>\\n    <hr class=\\\"mt-8 mb-8\\\" />\\n    <h4 class=\\\"t__h4 u__mb__10 mt-2\\\">\\n      Fields shown when creating a case\\n    </h4>\\n    <p>\\n      You can add additional Custom Fields to the Salesforce Inbox App.\\n    </p>\\n\\n    <IcLightTable\\n      @data={{this.caseCreationFields}}\\n      @columns=\\n        {{array\\n          (hash label=\\\"Field\\\" valuePath=\\\"metadata.label\\\")\\n          (hash label=\\\"Type\\\" valuePath=\\\"metadata.type\\\")\\n          (hash label=\\\"\\\" valuePath=\\\"someRandomString\\\")\\n        }}\\n      as |table|\\n    >\\n      <table.rows as |row|>\\n        <row.cell @valuePath=\\\"metadata.label\\\">{{row.data.metadata.label}}</row.cell>\\n        <row.cell @valuePath=\\\"metadata.type\\\">{{capitalize row.data.metadata.type}}</row.cell>\\n        <row.cell @valuePath=\\\"someRandomString\\\">\\n          {{#if row.data.required}}\\n            <IcTooltip as |t|>\\n              <t.opener>\\n                <a class=\\\"quick-action\\\" data-test-disabled-delete-field>\\n                  {{ic-interface-icon 'trash' solo=true color='grey'}}\\n                </a>\\n              </t.opener>\\n              <t.content>\\n                Required fields cannot be removed.\\n              </t.content>\\n            </IcTooltip>\\n          {{else}}\\n            <a class=\\\"quick-action\\\" {{on \\\"click\\\" (fn this.removeField row.data.name)}} data-test-delete-field>\\n              {{ic-interface-icon 'trash' solo=true color='red'}}\\n            </a>\\n          {{/if}}\\n        </row.cell>\\n      </table.rows>\\n    </IcLightTable>\\n\\n    {{#if caseFieldOptions.length}}\\n      <div class=\\\"mt-2\\\">\\n        <IcDropdownOpener\\n          @label=\\\"Select one\\\"\\n          @groupList={{caseFieldGroupList}}\\n          @onSelectItem={{this.addField}}\\n          data-test-field-selector\\n        >\\n          <a class=\\\"t__em-link\\\">\\n            {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add field\\n          </a>\\n        </IcDropdownOpener>\\n      </div>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/task-creation.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/task-creation.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\nimport SettingsPanel from 'embercom/components/appstore/app-package/settings/salesforce-by-intercom/base/panel';\nimport { inject as service } from '@ember/service';\nimport { computed, action } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { task } from 'ember-concurrency';\n\nexport default SettingsPanel.extend({\n  intercomEventService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  caseFieldOptions: computed(\n    'syncState.caseFields',\n    'app.canUseSalesforceCasesCustomFields',\n    'syncState.settings.caseFields.[]',\n    function() {\n      if (!this.app.canUseSalesforceCasesCustomFields) {\n        return [];\n      }\n\n      let usedFields = [\n        ...this.syncState.requiredCaseFields,\n        ...this.syncState.settings.caseFields,\n      ];\n\n      return this.syncState.caseFields.reduce((result, caseField) => {\n        if (!caseField.metadata.updateable) {\n          return result;\n        }\n\n        if (usedFields.includes(caseField.name)) {\n          return result;\n        }\n\n        return [\n          ...result,\n          {\n            text: caseField.metadata.label,\n            value: caseField.name,\n          },\n        ];\n      }, []);\n    },\n  ),\n\n  caseFieldGroupList: computed('caseFieldOptions.[]', function() {\n    return [\n      {\n        items: this.caseFieldOptions,\n      },\n    ];\n  }),\n\n  caseCreationFields: computed(\n    'app.canUseSalesforceCasesCustomFields',\n    'syncState.requiredCaseFields',\n    'syncState.settings.caseFields.[]',\n    'syncState.caseFields',\n    function() {\n      if (!this.app.canUseSalesforceCasesCustomFields) {\n        return [];\n      }\n\n      let caseFields = this.syncState.caseFields;\n      let requiredFields = this.syncState.requiredCaseFields.map(name => ({\n        ...caseFields.find(field => field.name === name),\n        required: true,\n      }));\n      let customFields = this.syncState.settings.caseFields.map(name =>\n        caseFields.find(field => field.name === name),\n      );\n      return [...requiredFields, ...customFields];\n    },\n  ),\n\n  _trackAutomaticTaskCreationToggleEvent() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'updated',\n      object: 'salesforce_automatic_task_creation',\n      place: 'salesforce_integration',\n      toggled_on: this.syncState.settings.automaticTaskCreation,\n    });\n  },\n\n  persistSyncState: task(function*(successMessage) {\n    try {\n      yield this.syncState.save();\n      this._notifySuccess(successMessage);\n    } catch {\n      this.syncState.rollbackAttributes();\n      this._notifyFailure(\"Something went wrong and we couldn't update your Salesforce settings\");\n    }\n  }),\n\n  addField: action(function(name) {\n    this.syncState.settings.caseFields.pushObject(name);\n    this.persistSyncState.perform('Successfully added case field.');\n  }),\n\n  removeField: action(function(name) {\n    this.syncState.settings.caseFields.removeObject(name);\n    this.persistSyncState.perform('Successfully removed case field.');\n  }),\n\n  toggleAutomaticTaskCreation: action(function() {\n    this.toggleProperty('syncState.settings.automaticTaskCreation');\n    let status = this.syncState.settings.automaticTaskCreation ? 'enabled' : 'disabled';\n    this._notifyProcessing();\n    this._trackAutomaticTaskCreationToggleEvent();\n\n    this.persistSyncState.perform(`Successfully ${status} task creation.`);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3 u__mb__10\\\">\\n  Lead and account ownership\\n</h3>\\n<p class=\\\"t__light-text\\\">\\n  We'll automatically map your Salesforce users to their Intercom teammate profile to keep lead and account ownership up to date.\\n</p>\\n<div class=\\\"h-2\\\"></div>\\n<div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n  <div class=\\\"layout__box o__has-columns salesforce__attribute-mapping__row\\\">\\n    <div class=\\\"layout__box o__centers-vertically\\\">\\n      <IcOnOffToggle\\n        @isOn={{not syncState.settings.autoAssign}}\\n        @onClick={{perform toggleAutoAssign}}\\n        data-test-auto-assign-toggle={{true}}\\n        class=\\\"u__mb__10\\\"\\n      />\\n    </div>\\n    <div class=\\\"layout__box o__centers-vertically\\\">\\n      <p class=\\\"u__mb__10 u__ml__10\\\">\\n        Respect Intercom owner on lead creation\\n      </p>\\n    </div>\\n  </div>\\n</div>\\n<div class=\\\"h-2\\\"></div>\\n<div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n  <div class=\\\"layout__box o__has-columns salesforce__attribute-mapping__row\\\">\\n    <div class=\\\"layout__box o__centers-vertically salesforce__name text-gray\\\">\\n      {{ic-interface-icon \\\"salesforce\\\" solo=true}} <h3\\n        class=\\\"t__label u__padl__10\\\"\\n      >\\n        Salesforce user\\n      </h3>\\n    </div>\\n    <div class=\\\"layout__box o__centers-vertically salesforce__mapping-spacer\\\">\\n      &nbsp;\\n    </div>\\n    <div\\n      class=\\\"layout__box o__centers-vertically salesforce__selection text-gray\\\"\\n    >\\n      {{ic-interface-icon \\\"intercom\\\" solo=true}} <h3\\n        class=\\\"t__label u__padl__10\\\"\\n      >\\n        Intercom teammate\\n      </h3>\\n    </div>\\n  </div>\\n  {{#if teammateMappings}}\\n    {{#each teammateMappings as |mapping|}}\\n      <div\\n        class=\\\"layout__box o__has-columns salesforce__attribute-mapping__row\\\"\\n        data-test-salesforce-teammate-row={{mapping.teammate.email}}\\n      >\\n        <div\\n          data-test-user-name\\n          class=\\\"layout__box o__centers-vertically salesforce__name\\\"\\n        >\\n          {{mapping.salesforceUser.name}}\\n        </div>\\n        <div\\n          class=\\\"layout__box o__centers-vertically salesforce__mapping-spacer\\\"\\n        >\\n          {{ic-interface-icon \\\"arrow\\\" solo=true}}\\n        </div>\\n        <div class=\\\"layout__box o__centers-vertically salesforce__selection\\\">\\n          <span class=\\\"u__mt__5\\\">\\n            {{ic-avatar model=mapping.teammate size=\\\"xs\\\"}}\\n          </span>\\n          <span data-test-teammate-name class=\\\"u__padl__10\\\">\\n            {{mapping.teammate.name}}\\n          </span>\\n        </div>\\n      </div>\\n    {{/each}}\\n  {{else}}\\n    <div class=\\\"h-10\\\"></div>\\n    <div class=\\\"u__centered-text-block\\\" data-test-empty-state>\\n      <b>\\n        No profiles mapped\\n      </b>\\n      <p>\\n        Teammate profiles will be mapped automatically if they have the same email address.\\n      </p>\\n    </div>\\n    <div class=\\\"h-10\\\"></div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3 u__mb__10\\\">\\n  Lead and account ownership\\n</h3>\\n<p class=\\\"t__light-text\\\">\\n  We'll automatically map your Salesforce users to their Intercom teammate profile to keep lead and account ownership up to date.\\n</p>\\n<div class=\\\"h-2\\\"></div>\\n<div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n  <div class=\\\"layout__box o__has-columns salesforce__attribute-mapping__row\\\">\\n    <div class=\\\"layout__box o__centers-vertically\\\">\\n      <IcOnOffToggle\\n        @isOn={{not syncState.settings.autoAssign}}\\n        @onClick={{perform toggleAutoAssign}}\\n        data-test-auto-assign-toggle={{true}}\\n        class=\\\"u__mb__10\\\"\\n      />\\n    </div>\\n    <div class=\\\"layout__box o__centers-vertically\\\">\\n      <p class=\\\"u__mb__10 u__ml__10\\\">\\n        Respect Intercom owner on lead creation\\n      </p>\\n    </div>\\n  </div>\\n</div>\\n<div class=\\\"h-2\\\"></div>\\n<div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n  <div class=\\\"layout__box o__has-columns salesforce__attribute-mapping__row\\\">\\n    <div class=\\\"layout__box o__centers-vertically salesforce__name text-gray\\\">\\n      {{ic-interface-icon \\\"salesforce\\\" solo=true}} <h3\\n        class=\\\"t__label u__padl__10\\\"\\n      >\\n        Salesforce user\\n      </h3>\\n    </div>\\n    <div class=\\\"layout__box o__centers-vertically salesforce__mapping-spacer\\\">\\n      &nbsp;\\n    </div>\\n    <div\\n      class=\\\"layout__box o__centers-vertically salesforce__selection text-gray\\\"\\n    >\\n      {{ic-interface-icon \\\"intercom\\\" solo=true}} <h3\\n        class=\\\"t__label u__padl__10\\\"\\n      >\\n        Intercom teammate\\n      </h3>\\n    </div>\\n  </div>\\n  {{#if teammateMappings}}\\n    {{#each teammateMappings as |mapping|}}\\n      <div\\n        class=\\\"layout__box o__has-columns salesforce__attribute-mapping__row\\\"\\n        data-test-salesforce-teammate-row={{mapping.teammate.email}}\\n      >\\n        <div\\n          data-test-user-name\\n          class=\\\"layout__box o__centers-vertically salesforce__name\\\"\\n        >\\n          {{mapping.salesforceUser.name}}\\n        </div>\\n        <div\\n          class=\\\"layout__box o__centers-vertically salesforce__mapping-spacer\\\"\\n        >\\n          {{ic-interface-icon \\\"arrow\\\" solo=true}}\\n        </div>\\n        <div class=\\\"layout__box o__centers-vertically salesforce__selection\\\">\\n          <span class=\\\"u__mt__5\\\">\\n            {{ic-avatar model=mapping.teammate size=\\\"xs\\\"}}\\n          </span>\\n          <span data-test-teammate-name class=\\\"u__padl__10\\\">\\n            {{mapping.teammate.name}}\\n          </span>\\n        </div>\\n      </div>\\n    {{/each}}\\n  {{else}}\\n    <div class=\\\"h-10\\\"></div>\\n    <div class=\\\"u__centered-text-block\\\" data-test-empty-state>\\n      <b>\\n        No profiles mapped\\n      </b>\\n      <p>\\n        Teammate profiles will be mapped automatically if they have the same email address.\\n      </p>\\n    </div>\\n    <div class=\\\"h-10\\\"></div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/teammate-mappings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/salesforce-by-intercom/teammate-mappings.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport SettingsPanel from 'embercom/components/appstore/app-package/settings/salesforce-by-intercom/base/panel';\nimport { task } from 'ember-concurrency';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default SettingsPanel.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  teammateMappings: computed('app.admins.[]', 'salesforceUsers.[]', function() {\n    let mappings = this.syncState.salesforceUsers.map(salesforceUser => {\n      let matchingTeammate = this.get('app.admins').findBy('email', salesforceUser.Email);\n      if (matchingTeammate) {\n        return {\n          salesforceUser: { name: salesforceUser.Name },\n          teammate: matchingTeammate,\n        };\n      }\n    });\n    return mappings.compact();\n  }),\n\n  toggleAutoAssign: task(function*() {\n    this.toggleProperty('syncState.settings.autoAssign');\n    try {\n      yield this.syncState.save();\n      this._notifySuccess(`Successfully saved your settings.`);\n    } catch (e) {\n      this.syncState.rollbackAttributes();\n      this._notifyFailure(\"Something went wrong and we couldn't update your SalesForce settings\");\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div\\n  data-test-app-package-short-description\\n  class=\\\"appstore__email-subscribe__description mb-5\\\"\\n>\\n  Capture marketing emails in Intercom Messenger and sync with any {{this.providerName}} mailing list.\\n</div>\\n{{#if this.needsReauthentication}}\\n  <span class=\\\"c__warning mt-2 mb-4\\\" data-test-requires-reauthentication-error>\\n    {{ic-interface-icon \\\"alert\\\"}} We don't have access to your {{this.providerName}} account, you'll need to reconnect it to Intercom.\\n  </span>\\n  <IcButton\\n    @type=\\\"primary\\\"\\n    @onClick={{this.reauthenticate}}\\n    data-test-reauthenticate-button\\n  >\\n    Log in to {{this.providerName}}\\n  </IcButton>\\n{{else if this.shouldShowSettings}}\\n  <div\\n    class=\\\"f__v2__group appstore__email-subscribe__container\\\"\\n    data-test-settings\\n  >\\n    <div class=\\\"f__group-label t__h3\\\">\\n      {{this.providerName}} List\\n    </div>\\n    <IcSelect\\n      @items={{this.lists}}\\n      @onSelectItem={{this.changeListId}}\\n      @selectedValue={{this.listIdWithDefault}}\\n      @filterPlaceholder=\\\"Select list\\\"\\n    />\\n    <div class=\\\"f__group-label t__h3 mt-6\\\">\\n      Title\\n    </div>\\n    <input\\n      value={{this.title}}\\n      oninput={{action (mut this.title) value=\\\"target.value\\\"}}\\n      type=\\\"text\\\"\\n      class=\\\"f__text {{if (not this.title) \\\"t__light-text\\\"}}\\\"\\n      data-test-title=\\\"true\\\"\\n      placeholder=\\\"e.g. Subscribe to our newsletter\\\"\\n    />\\n    <div class=\\\"flex flex-row justify-between items-center mt-5\\\">\\n      <div class=\\\"f__group-label t__h3\\\">\\n        Description\\n      </div>\\n      <div class=\\\"t__light-text\\\">\\n        Optional\\n      </div>\\n    </div>\\n    <textarea\\n      value={{this.description}}\\n      oninput={{action (mut this.description) value=\\\"target.value\\\"}}\\n      class=\\\"f__text {{if (not this.description) \\\"t__light-text\\\"}}\\\"\\n      placeholder=\\\"e.g. Get tips and articles from our team in your inbox every week\\\"\\n    >\\n\\n    </textarea>\\n    <div class=\\\"f__group-label t__h3 mt-5\\\">\\n      Confirmation\\n    </div>\\n    <input\\n      value={{this.confirmationTitle}}\\n      oninput={{action (mut this.confirmationTitle) value=\\\"target.value\\\"}}\\n      type=\\\"text\\\"\\n      class=\\\"f__text {{if (not this.confirmationTitle) \\\"t__light-text\\\"}}\\\"\\n      placeholder=\\\"e.g. Thanks!\\\"\\n    />\\n    <div class=\\\"f__group-label t__h3 mt-5 mb-1\\\">\\n      Reward\\n    </div>\\n    {{#each this.rewardOptions as |option|}}\\n      <label class=\\\"f__radio-label u__cf mb-1\\\">\\n        <span class=\\\"f__radio-wrapper\\\">\\n          <input\\n            type=\\\"radio\\\"\\n            checked={{eq option.key this.rewardType}}\\n            onclick={{action \\\"clickedRadio\\\" option.key}}\\n            name=\\\"reward\\\"\\n            data-test-radio={{option.key}}\\n          />\\n        </span>\\n        <span\\n          class=\\\"f__radio-content mb-1 {{if (eq option.key this.rewardType) \\\"t__h3\\\"}}\\\"\\n        >\\n          {{option.title}}\\n        </span>\\n        {{#if (and (eq option.key this.rewardType) option.placeholder)}}\\n          {{#if (eq option.key \\\"download\\\")}}\\n            <div class=\\\"appstore__email-subscribe__input mb-1\\\">\\n              Link name\\n            </div>\\n          {{/if}}\\n          {{#if (eq option.key \\\"text\\\")}}\\n            <textarea\\n              value={{this.rewardText}}\\n              onInput={{action (mut this.rewardText) value=\\\"target.value\\\"}}\\n              class=\\\"f__text mb-1 {{if (not\\n                  this.rewardText\\n                ) \\\"t__light-text\\\"}} appstore__email-subscribe__input\\\"\\n              placeholder={{option.placeholder}}\\n            ></textarea>\\n          {{else}}\\n            <input\\n              value={{this.rewardText}}\\n              onInput={{action (mut this.rewardText) value=\\\"target.value\\\"}}\\n              class=\\\"f__text mb-1 {{if (not\\n                  this.rewardText\\n                ) \\\"t__light-text\\\"}} appstore__email-subscribe__input\\\"\\n              placeholder={{option.placeholder}}\\n            />\\n          {{/if}}\\n        {{/if}}\\n        {{#if (and (eq option.key this.rewardType) option.secondPlaceholder)}}\\n          {{#if (eq option.key \\\"download\\\")}}\\n            <div class=\\\"appstore__email-subscribe__input mt-1\\\">\\n              Download link\\n            </div>\\n          {{/if}}\\n          <input\\n            value={{this.confirmationDescription}}\\n            onInput={{action (mut this.confirmationDescription) value=\\\"target.value\\\"\\n            }}\\n            class=\\\"f__text mt-1 mb-1 {{if (not\\n                this.confirmationDescription\\n              ) \\\"t__light-text\\\"}} appstore__email-subscribe__input\\\"\\n            placeholder={{option.secondPlaceholder}}\\n          />\\n        {{/if}}\\n      </label>\\n    {{/each}}\\n  </div>\\n  <hr class=\\\"sp__hr\\\" />\\n  <div class=\\\"flex items-center\\\" data-test-submit>\\n    <div class=\\\"u__mr__10\\\">\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @onClick={{perform @update @settings}}\\n        @disabled={{this.disableSubmit}}\\n      >\\n        {{#if @update.isRunning}}\\n          Saving …\\n        {{else}}\\n          Save\\n        {{/if}}\\n      </IcButton>\\n    </div>\\n  </div>\\n{{else}}\\n  <span class=\\\"c__warning mt-2\\\" data-test-list-error>\\n    {{ic-interface-icon \\\"alert\\\"}} Please create a list in {{this.providerName}} first.\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div\\n  data-test-app-package-short-description\\n  class=\\\"appstore__email-subscribe__description mb-5\\\"\\n>\\n  Capture marketing emails in Intercom Messenger and sync with any {{this.providerName}} mailing list.\\n</div>\\n{{#if this.needsReauthentication}}\\n  <span class=\\\"c__warning mt-2 mb-4\\\" data-test-requires-reauthentication-error>\\n    {{ic-interface-icon \\\"alert\\\"}} We don't have access to your {{this.providerName}} account, you'll need to reconnect it to Intercom.\\n  </span>\\n  <IcButton\\n    @type=\\\"primary\\\"\\n    @onClick={{this.reauthenticate}}\\n    data-test-reauthenticate-button\\n  >\\n    Log in to {{this.providerName}}\\n  </IcButton>\\n{{else if this.shouldShowSettings}}\\n  <div\\n    class=\\\"f__v2__group appstore__email-subscribe__container\\\"\\n    data-test-settings\\n  >\\n    <div class=\\\"f__group-label t__h3\\\">\\n      {{this.providerName}} List\\n    </div>\\n    <IcSelect\\n      @items={{this.lists}}\\n      @onSelectItem={{this.changeListId}}\\n      @selectedValue={{this.listIdWithDefault}}\\n      @filterPlaceholder=\\\"Select list\\\"\\n    />\\n    <div class=\\\"f__group-label t__h3 mt-6\\\">\\n      Title\\n    </div>\\n    <input\\n      value={{this.title}}\\n      oninput={{action (mut this.title) value=\\\"target.value\\\"}}\\n      type=\\\"text\\\"\\n      class=\\\"f__text {{if (not this.title) \\\"t__light-text\\\"}}\\\"\\n      data-test-title=\\\"true\\\"\\n      placeholder=\\\"e.g. Subscribe to our newsletter\\\"\\n    />\\n    <div class=\\\"flex flex-row justify-between items-center mt-5\\\">\\n      <div class=\\\"f__group-label t__h3\\\">\\n        Description\\n      </div>\\n      <div class=\\\"t__light-text\\\">\\n        Optional\\n      </div>\\n    </div>\\n    <textarea\\n      value={{this.description}}\\n      oninput={{action (mut this.description) value=\\\"target.value\\\"}}\\n      class=\\\"f__text {{if (not this.description) \\\"t__light-text\\\"}}\\\"\\n      placeholder=\\\"e.g. Get tips and articles from our team in your inbox every week\\\"\\n    >\\n\\n    </textarea>\\n    <div class=\\\"f__group-label t__h3 mt-5\\\">\\n      Confirmation\\n    </div>\\n    <input\\n      value={{this.confirmationTitle}}\\n      oninput={{action (mut this.confirmationTitle) value=\\\"target.value\\\"}}\\n      type=\\\"text\\\"\\n      class=\\\"f__text {{if (not this.confirmationTitle) \\\"t__light-text\\\"}}\\\"\\n      placeholder=\\\"e.g. Thanks!\\\"\\n    />\\n    <div class=\\\"f__group-label t__h3 mt-5 mb-1\\\">\\n      Reward\\n    </div>\\n    {{#each this.rewardOptions as |option|}}\\n      <label class=\\\"f__radio-label u__cf mb-1\\\">\\n        <span class=\\\"f__radio-wrapper\\\">\\n          <input\\n            type=\\\"radio\\\"\\n            checked={{eq option.key this.rewardType}}\\n            onclick={{action \\\"clickedRadio\\\" option.key}}\\n            name=\\\"reward\\\"\\n            data-test-radio={{option.key}}\\n          />\\n        </span>\\n        <span\\n          class=\\\"f__radio-content mb-1 {{if (eq option.key this.rewardType) \\\"t__h3\\\"}}\\\"\\n        >\\n          {{option.title}}\\n        </span>\\n        {{#if (and (eq option.key this.rewardType) option.placeholder)}}\\n          {{#if (eq option.key \\\"download\\\")}}\\n            <div class=\\\"appstore__email-subscribe__input mb-1\\\">\\n              Link name\\n            </div>\\n          {{/if}}\\n          {{#if (eq option.key \\\"text\\\")}}\\n            <textarea\\n              value={{this.rewardText}}\\n              onInput={{action (mut this.rewardText) value=\\\"target.value\\\"}}\\n              class=\\\"f__text mb-1 {{if (not\\n                  this.rewardText\\n                ) \\\"t__light-text\\\"}} appstore__email-subscribe__input\\\"\\n              placeholder={{option.placeholder}}\\n            ></textarea>\\n          {{else}}\\n            <input\\n              value={{this.rewardText}}\\n              onInput={{action (mut this.rewardText) value=\\\"target.value\\\"}}\\n              class=\\\"f__text mb-1 {{if (not\\n                  this.rewardText\\n                ) \\\"t__light-text\\\"}} appstore__email-subscribe__input\\\"\\n              placeholder={{option.placeholder}}\\n            />\\n          {{/if}}\\n        {{/if}}\\n        {{#if (and (eq option.key this.rewardType) option.secondPlaceholder)}}\\n          {{#if (eq option.key \\\"download\\\")}}\\n            <div class=\\\"appstore__email-subscribe__input mt-1\\\">\\n              Download link\\n            </div>\\n          {{/if}}\\n          <input\\n            value={{this.confirmationDescription}}\\n            onInput={{action (mut this.confirmationDescription) value=\\\"target.value\\\"\\n            }}\\n            class=\\\"f__text mt-1 mb-1 {{if (not\\n                this.confirmationDescription\\n              ) \\\"t__light-text\\\"}} appstore__email-subscribe__input\\\"\\n            placeholder={{option.secondPlaceholder}}\\n          />\\n        {{/if}}\\n      </label>\\n    {{/each}}\\n  </div>\\n  <hr class=\\\"sp__hr\\\" />\\n  <div class=\\\"flex items-center\\\" data-test-submit>\\n    <div class=\\\"u__mr__10\\\">\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @onClick={{perform @update @settings}}\\n        @disabled={{this.disableSubmit}}\\n      >\\n        {{#if @update.isRunning}}\\n          Saving …\\n        {{else}}\\n          Save\\n        {{/if}}\\n      </IcButton>\\n    </div>\\n  </div>\\n{{else}}\\n  <span class=\\\"c__warning mt-2\\\" data-test-list-error>\\n    {{ic-interface-icon \\\"alert\\\"}} Please create a list in {{this.providerName}} first.\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/shared/email-subscribe.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/shared/email-subscribe.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-side-effects */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport EmberObject, { computed, action } from '@ember/object';\nimport { notEmpty, map, alias, not, or, equal } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  redirectService: service(),\n  needsReauthentication: equal('settings.installationStatus', 'INVALID_AUTH'),\n  shouldShowSettings: notEmpty('settings.lists'),\n\n  lists: map('settings.lists', function(item) {\n    return { text: item.name, value: item.id };\n  }),\n\n  listId: alias('settings.listId'),\n\n  listIdWithDefault: computed('settings.listId', 'settings.lists', function() {\n    let listIdWithDefault = this.get('settings.listId') || (this.get('settings.lists')[0] || {}).id;\n    this.set('listId', listIdWithDefault);\n    return listIdWithDefault;\n  }),\n\n  providerName: alias('settings.providerName'),\n  title: alias('settings.title'),\n  description: alias('settings.description'),\n  confirmationTitle: alias('settings.confirmationTitle'),\n  isNotDirty: not('settings.hasDirtyAttributes'),\n\n  textFieldIncomplete: computed(\n    'rewardText',\n    'rewardType',\n    'confirmationDescription',\n    'title',\n    'confirmationTitle',\n    function() {\n      if (!this.title || !this.confirmationTitle) {\n        return true;\n      }\n      if (this.rewardType === 'none') {\n        return false;\n      }\n      if (this.rewardType === 'download') {\n        return !this.rewardText || !this.confirmationDescription;\n      }\n      return !this.rewardText;\n    },\n  ),\n\n  disableSubmit: or('isNotDirty', 'update.isRunning', 'textFieldIncomplete'),\n  rewardType: alias('settings.rewardType'),\n  rewardText: alias('settings.rewardText'),\n  confirmationDescription: alias('settings.confirmationDescription'),\n\n  rewardOptions: [\n    EmberObject.create({\n      key: 'none',\n      title: 'None',\n    }),\n    EmberObject.create({\n      key: 'discount',\n      title: 'Discount code',\n      placeholder: 'Add your discount code here',\n    }),\n    EmberObject.create({\n      key: 'download',\n      title: 'Download link',\n      placeholder: 'Add a title',\n      secondPlaceholder: 'http://exampleurl.com',\n    }),\n    EmberObject.create({\n      key: 'text',\n      title: 'Text',\n      placeholder: 'Add body text to your confirmation screen',\n    }),\n  ],\n\n  changeListId: action(function(listId) {\n    this.set('listId', listId);\n  }),\n\n  reauthenticate: action(function() {\n    this.redirectService.redirect(this.appPackage.installUrl);\n  }),\n\n  actions: {\n    clickedRadio(rewardType) {\n      if (rewardType !== this.rewardType) {\n        this.setProperties({\n          rewardType,\n          rewardText: null,\n          confirmationDescription: null,\n        });\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">\\n  Old notifications\\n</h3>\\n<div class=\\\"h-2\\\"></div>\\n<IcBanner @type=\\\"warning\\\" data-test-slack-legacy-banner={{true}}>\\n  You have old notifications set up which could lead to duplicates. As part of the upgrade please migrate or remove them.\\n</IcBanner>\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table class=\\\"{{if isAppStore \\\"tbl o__fit\\\" \\\"integrations__tbl\\\"}}\\\">\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <thead>\\n    <tr>\\n      <th class=\\\"{{if isAppStore \\\"tbl__cell\\\" \\\"integrations__tbl__cell\\\"}} t__label\\\">\\n        Old notification events\\n      </th>\\n      <th class=\\\"{{if isAppStore \\\"tbl__cell\\\" \\\"integrations__tbl__cell\\\"}} t__label\\\">\\n        Migrate\\n      </th>\\n    </tr>\\n  </thead>\\n  <tbody class=\\\"{{if isAppStore \\\"tbl__body\\\" \\\"integrations__tbl__body\\\"}}\\\">\\n    {{#each slackLegacyIntegration.subscriptions as |subscription|}}\\n      <tr>\\n        <td\\n          data-test-legacy-subscription={{subscription.id}}\\n          class=\\\"{{if isAppStore \\\"tbl__cell\\\" \\\"integrations__tbl__cell\\\"}}\\\"\\n        >\\n          {{#each subscription.topics as |topic|}}\\n            {{topic.humanName}}<br />\\n          {{/each}}\\n        </td>\\n        <td class=\\\"{{if isAppStore \\\"tbl__cell\\\" \\\"integrations__tbl__cell\\\"}} o__contains-button integrations__tbl__edit-col\\\">\\n          <IcButton\\n            @type=\\\"secondary\\\"\\n            @inCell={{true}}\\n            @iconOnly={{true}}\\n            data-test-migrate-button={{true}}\\n            @onClick={{action openMigrateDialog subscription}}\\n          >\\n            {{ic-interface-icon \\\"arrow\\\" solo=true}}\\n          </IcButton>\\n        </td>\\n      </tr>\\n    {{/each}}\\n  </tbody>\\n</table>\\n<IcButton\\n  @label=\\\"Remove all old notifications\\\"\\n  @type=\\\"secondary\\\"\\n  data-test-remove-legacy-integration={{true}}\\n  @onClick={{perform removeLegacyIntegrationTask}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">\\n  Old notifications\\n</h3>\\n<div class=\\\"h-2\\\"></div>\\n<IcBanner @type=\\\"warning\\\" data-test-slack-legacy-banner={{true}}>\\n  You have old notifications set up which could lead to duplicates. As part of the upgrade please migrate or remove them.\\n</IcBanner>\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table class=\\\"{{if isAppStore \\\"tbl o__fit\\\" \\\"integrations__tbl\\\"}}\\\">\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <thead>\\n    <tr>\\n      <th class=\\\"{{if isAppStore \\\"tbl__cell\\\" \\\"integrations__tbl__cell\\\"}} t__label\\\">\\n        Old notification events\\n      </th>\\n      <th class=\\\"{{if isAppStore \\\"tbl__cell\\\" \\\"integrations__tbl__cell\\\"}} t__label\\\">\\n        Migrate\\n      </th>\\n    </tr>\\n  </thead>\\n  <tbody class=\\\"{{if isAppStore \\\"tbl__body\\\" \\\"integrations__tbl__body\\\"}}\\\">\\n    {{#each slackLegacyIntegration.subscriptions as |subscription|}}\\n      <tr>\\n        <td\\n          data-test-legacy-subscription={{subscription.id}}\\n          class=\\\"{{if isAppStore \\\"tbl__cell\\\" \\\"integrations__tbl__cell\\\"}}\\\"\\n        >\\n          {{#each subscription.topics as |topic|}}\\n            {{topic.humanName}}<br />\\n          {{/each}}\\n        </td>\\n        <td class=\\\"{{if isAppStore \\\"tbl__cell\\\" \\\"integrations__tbl__cell\\\"}} o__contains-button integrations__tbl__edit-col\\\">\\n          <IcButton\\n            @type=\\\"secondary\\\"\\n            @inCell={{true}}\\n            @iconOnly={{true}}\\n            data-test-migrate-button={{true}}\\n            @onClick={{action openMigrateDialog subscription}}\\n          >\\n            {{ic-interface-icon \\\"arrow\\\" solo=true}}\\n          </IcButton>\\n        </td>\\n      </tr>\\n    {{/each}}\\n  </tbody>\\n</table>\\n<IcButton\\n  @label=\\\"Remove all old notifications\\\"\\n  @type=\\\"secondary\\\"\\n  data-test-remove-legacy-integration={{true}}\\n  @onClick={{perform removeLegacyIntegrationTask}}\\n/>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/slack-by-intercom/legacy-banner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/slack-by-intercom/legacy-banner.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if setupSlackData.isRunning}}\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__centers-all appstore__modal__loading-container\\\"\\n  >\\n    <IcLoadingIndicator @size=\\\"large\\\" />\\n  </div>\\n  {{else if slackSetupFailed}}\\n    <br>Failed to load Slack channels!<br />\\n    <div class=\\\"h-5\\\"></div>\\n    <IcButton\\n      @label=\\\"Try again\\\"\\n      @type=\\\"tertiary\\\"\\n      @onClick={{stop-propagation (perform setupSlackData)}}\\n      @disabled={{false}}\\n      data-test-retry-button={{true}}\\n    />\\n{{else if (not slackIntegration)}}\\n  <IcButton\\n    @type=\\\"primary\\\"\\n    @label=\\\"Connect with Slack\\\"\\n    @onClick={{perform authenticateSlack}}\\n    data-test-authenticate-button={{true}}\\n  />\\n{{else}}\\n  {{#if showNotificationEditor}}\\n    <Appstore::AppPackage::Settings::SlackByIntercom::NotificationRuleEditor\\n      @slackIntegration={{slackIntegration}}\\n      @notificationRule={{selectedNotificationRule}}\\n      @saveRuleTask={{saveRuleTask}}\\n      @closeIntercomModal={{action \\\"closeNotificationEditor\\\"}}\\n      @editorClass=\\\"\\\"\\n    />\\n  {{else if slackIntegration.notificationRules}}\\n    <Appstore::AppPackage::Settings::SlackByIntercom::NotificationRuleList\\n      @notificationRules={{slackIntegration.notificationRules}}\\n      @openRuleDialog={{this.openNotificationEditor}}\\n      @deleteRuleTask={{deleteRuleTask}}\\n      @inAppStore={{true}}\\n    />\\n  {{else}}\\n    <div class=\\\"h-5\\\"></div>\\n    <div class=\\\"card\\\">\\n      <IcEmptyState\\n        @icon=\\\"activity\\\"\\n        @title=\\\"No notifications being sent to Slack\\\"\\n        @description=\\\"Add a notification to know when things happen in Intercom\\\"\\n        @buttonLabel=\\\"Add notification\\\"\\n        data-test-notification-empty-state={{true}}\\n        @onButtonClick={{fn this.openNotificationEditor null}}\\n      />\\n    </div>\\n    <div class=\\\"h-5\\\"></div>\\n  {{/if}}\\n  <div class=\\\"u__padt__30\\\">\\n    {{#if (and slackIntegration.notificationRules (not showNotificationEditor))\\n    }}\\n      <IcButton\\n        @label=\\\"Add notification\\\"\\n        @type=\\\"primary\\\"\\n        data-test-add-notification-rule-button={{true}}\\n        @onClick={{fn this.openNotificationEditor null}}\\n      />\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if setupSlackData.isRunning}}\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__centers-all appstore__modal__loading-container\\\"\\n  >\\n    <IcLoadingIndicator @size=\\\"large\\\" />\\n  </div>\\n  {{else if slackSetupFailed}}\\n    <br>Failed to load Slack channels!<br />\\n    <div class=\\\"h-5\\\"></div>\\n    <IcButton\\n      @label=\\\"Try again\\\"\\n      @type=\\\"tertiary\\\"\\n      @onClick={{stop-propagation (perform setupSlackData)}}\\n      @disabled={{false}}\\n      data-test-retry-button={{true}}\\n    />\\n{{else if (not slackIntegration)}}\\n  <IcButton\\n    @type=\\\"primary\\\"\\n    @label=\\\"Connect with Slack\\\"\\n    @onClick={{perform authenticateSlack}}\\n    data-test-authenticate-button={{true}}\\n  />\\n{{else}}\\n  {{#if showNotificationEditor}}\\n    <Appstore::AppPackage::Settings::SlackByIntercom::NotificationRuleEditor\\n      @slackIntegration={{slackIntegration}}\\n      @notificationRule={{selectedNotificationRule}}\\n      @saveRuleTask={{saveRuleTask}}\\n      @closeIntercomModal={{action \\\"closeNotificationEditor\\\"}}\\n      @editorClass=\\\"\\\"\\n    />\\n  {{else if slackIntegration.notificationRules}}\\n    <Appstore::AppPackage::Settings::SlackByIntercom::NotificationRuleList\\n      @notificationRules={{slackIntegration.notificationRules}}\\n      @openRuleDialog={{this.openNotificationEditor}}\\n      @deleteRuleTask={{deleteRuleTask}}\\n      @inAppStore={{true}}\\n    />\\n  {{else}}\\n    <div class=\\\"h-5\\\"></div>\\n    <div class=\\\"card\\\">\\n      <IcEmptyState\\n        @icon=\\\"activity\\\"\\n        @title=\\\"No notifications being sent to Slack\\\"\\n        @description=\\\"Add a notification to know when things happen in Intercom\\\"\\n        @buttonLabel=\\\"Add notification\\\"\\n        data-test-notification-empty-state={{true}}\\n        @onButtonClick={{fn this.openNotificationEditor null}}\\n      />\\n    </div>\\n    <div class=\\\"h-5\\\"></div>\\n  {{/if}}\\n  <div class=\\\"u__padt__30\\\">\\n    {{#if (and slackIntegration.notificationRules (not showNotificationEditor))\\n    }}\\n      <IcButton\\n        @label=\\\"Add notification\\\"\\n        @type=\\\"primary\\\"\\n        data-test-add-notification-rule-button={{true}}\\n        @onClick={{fn this.openNotificationEditor null}}\\n      />\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/slack-by-intercom/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/slack-by-intercom/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { task } from 'ember-concurrency';\nimport { action } from '@ember/object';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport ENV from 'embercom/config/environment';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  store: service(),\n  confirmService: service(),\n  redirectService: service(),\n  installStartUrl: ENV.APP.slack_integration.install_start_url,\n  slackSetupFailed: false,\n\n  init() {\n    this._super(...arguments);\n    this.setupSlackData.perform();\n  },\n\n  setupSlackData: task(function*() {\n    try {\n      let slackIntegration = yield this.store.queryRecord('slack-integration', {});\n      this.set('slackIntegration', slackIntegration);\n    } catch (e) {\n      this.set('slackSetupFailed', true);\n      this.notificationsService.notifyError(\n        \"Something went wrong and we couldn't load your Slack settings\",\n      );\n    }\n  }).drop(),\n\n  authenticateSlack: task(function*() {\n    let redirectUrl = yield this.generateRedirectUrl.perform(this.installStartUrl, false);\n    this.redirectService.redirect(redirectUrl);\n  }),\n\n  deleteRuleTask: task(function*(notificationRule) {\n    let options = {\n      title: 'Delete this notification?',\n      body: 'Deleting this notification will stop it going to your Slack channel.',\n      confirmButtonText: 'Delete',\n      primaryButtonType: 'primary-destructive',\n    };\n\n    let confirmed = yield this.confirmService.show(this, options);\n    if (confirmed) {\n      this.intercomEventService.trackEvent('removed');\n      yield notificationRule.destroyRecord();\n      this.notificationsService.notifyConfirmation('Notification deleted');\n    }\n  }).drop(),\n\n  saveRuleTask: task(function*(notificationRuleData) {\n    let notificationRule = this.selectedNotificationRule;\n    let analyticsAction = 'updated';\n    if (notificationRule === null || notificationRule === undefined) {\n      notificationRule = this.get('slackIntegration.notificationRules').createRecord();\n      analyticsAction = 'created';\n    }\n    notificationRule.setProperties(notificationRuleData);\n\n    try {\n      yield notificationRule.save();\n      this.intercomEventService.trackEvent(analyticsAction);\n      this.notificationsService.notifyConfirmation('Notification successfully saved');\n      this.send('closeNotificationEditor');\n      this.notificationsService.notifyConfirmation('Notification successfully saved');\n    } catch (e) {\n      this.notificationsService.notifyError('An error occurred while saving this notification');\n    }\n  }).drop(),\n\n  openNotificationEditor: action(function(notificationRule) {\n    this.setProperties({\n      selectedNotificationRule: notificationRule,\n      showNotificationEditor: true,\n    });\n  }),\n\n  actions: {\n    closeNotificationEditor() {\n      this.setProperties({\n        showNotificationEditor: false,\n        selectedNotificationRule: null,\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if notAllTeams}}\\n  <div class=\\\"avatar__container o__s\\\">\\n    <IcAvatarComponent @model={{admin}} @size=\\\"s\\\" @contained={{true}} />\\n    {{admin.name}}\\n  </div>\\n{{else}}\\n  {{admin.name}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if notAllTeams}}\\n  <div class=\\\"avatar__container o__s\\\">\\n    <IcAvatarComponent @model={{admin}} @size=\\\"s\\\" @contained={{true}} />\\n    {{admin.name}}\\n  </div>\\n{{else}}\\n  {{admin.name}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/slack-by-intercom/notification-rule-assignee-select-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/slack-by-intercom/notification-rule-assignee-select-item.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, and } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  classNameBindings: [':dropdown__list-item', 'isActive:o__selected'],\n  'data-test-notification-assignee-item': readOnly('admin.id'),\n  click() {\n    this.itemAction(this.admin);\n  },\n  notAllTeams: and('admin', 'admin.id'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Admin::SelectorDropdown\\n  @app={{app}}\\n  @admins={{selectableAssignees}}\\n  @listElementAction={{this.selectAssignee}}\\n  @showTeams={{true}}\\n  @showUnassigned={{true}}\\n  @listElementComponent=\\\"appstore/app-package/settings/slack-by-intercom/notification-rule-assignee-select-item\\\" as |dropdown|\\n>\\n  <span class=\\\"f__custom-select o__fit\\\">\\n    <span\\n      data-test-notification-assignee-opener\\n      class=\\\"f__custom-select__box integrations__slack__admin-container {{if dropdown.isOpen \\\"o__opened\\\"}}\\\"\\n    >\\n      {{#if assignee}}\\n        <div class=\\\"avatar__container o__s\\\">\\n          <IcAvatarComponent\\n            @model={{assignee}}\\n            @size=\\\"s\\\"\\n            @contained={{true}}\\n          />\\n          {{assignee.name}}\\n        </div>\\n      {{else}}\\n        All teams\\n      {{/if}}\\n      <span class=\\\"f__custom-select__caret\\\">\\n        {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n      </span>\\n    </span>\\n  </span>\\n</Admin::SelectorDropdown>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Admin::SelectorDropdown\\n  @app={{app}}\\n  @admins={{selectableAssignees}}\\n  @listElementAction={{this.selectAssignee}}\\n  @showTeams={{true}}\\n  @showUnassigned={{true}}\\n  @listElementComponent=\\\"appstore/app-package/settings/slack-by-intercom/notification-rule-assignee-select-item\\\" as |dropdown|\\n>\\n  <span class=\\\"f__custom-select o__fit\\\">\\n    <span\\n      data-test-notification-assignee-opener\\n      class=\\\"f__custom-select__box integrations__slack__admin-container {{if dropdown.isOpen \\\"o__opened\\\"}}\\\"\\n    >\\n      {{#if assignee}}\\n        <div class=\\\"avatar__container o__s\\\">\\n          <IcAvatarComponent\\n            @model={{assignee}}\\n            @size=\\\"s\\\"\\n            @contained={{true}}\\n          />\\n          {{assignee.name}}\\n        </div>\\n      {{else}}\\n        All teams\\n      {{/if}}\\n      <span class=\\\"f__custom-select__caret\\\">\\n        {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n      </span>\\n    </span>\\n  </span>\\n</Admin::SelectorDropdown>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/slack-by-intercom/notification-rule-assignee-select.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/slack-by-intercom/notification-rule-assignee-select.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed, action } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  appService: service(),\n  store: service(),\n  app: readOnly('appService.app'),\n  tagName: 'div',\n  classNames: ['integrations__slack__selection-container'],\n\n  selectableAssignees: computed('app.assignableAdmins', function() {\n    let allTeams = this.store.createRecord('admin', {\n      name: 'All teams',\n    });\n    let resultSet = [allTeams];\n\n    this.get('app.assignableAdmins').forEach(admin => {\n      resultSet.push(admin);\n    });\n    return resultSet;\n  }),\n\n  selectAssignee: action(function(assignee) {\n    let updatableAssignee = null;\n    if (assignee.get('id') !== null) {\n      updatableAssignee = assignee;\n    }\n    this.updateAssignee(updatableAssignee);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"{{editorClass}}\\\" data-test-notification-editor>\\n  <div class=\\\"f__group\\\">\\n    <p class=\\\"t__label f__group-label\\\">\\n      Send to\\n    </p>\\n    <IcSelect\\n      @tagName=\\\"div\\\"\\n      @defaultLabel=\\\"Select channel\\\"\\n      @items={{allChannelSelectList}}\\n      @onSelectItem={{this.selectChannel}}\\n      @mode=\\\"block\\\"\\n      @buttonIsSubtle={{false}}\\n      @hasFilter={{true}}\\n      @filterPlaceholder=\\\"Search Slack channels\\\"\\n      class=\\\"integrations__slack__selection-container\\\"\\n    />\\n  </div>\\n  <div class=\\\"f__group\\\">\\n    <p class=\\\"t__label f__group-label\\\">\\n      When\\n    </p>\\n    <MultiselectCheckboxes\\n      @options={{allNonConversationNotificationTypes}}\\n      @selection={{selectedNonConversationNotificationTypes}}\\n      data-test-notification-types-checkboxes={{true}}\\n      @tagName=\\\"div\\\" as |topic isSelected|\\n    >\\n      <div class=\\\"u__mb__5\\\">\\n        <Input\\n          @type=\\\"checkbox\\\"\\n          @checked={{isSelected}}\\n          data-test-notification-type={{topic.id}}\\n        />\\n        {{topic.name}}\\n      </div>\\n    </MultiselectCheckboxes>\\n    <div>\\n      <div class=\\\"u__mb__5\\\">\\n        <Input\\n          @type=\\\"checkbox\\\"\\n          @checked={{isConversationNotificationTypeSelected}}\\n          data-test-notification-type=\\\"conversation\\\"\\n        />\\n        Conversation activity in...\\n      </div>\\n      {{#if isConversationNotificationTypeSelected}}\\n        <div class=\\\"u__ml__20\\\">\\n          <div class=\\\"u__mb__5\\\">\\n            <Appstore::AppPackage::Settings::SlackByIntercom::NotificationRuleAssigneeSelect\\n              @assignee={{assignee}}\\n              @updateAssignee={{action (mut assignee)}}\\n            />\\n          </div>\\n          <div class=\\\"f__group o__radio-group\\\">\\n            <label class=\\\"f__radio-label u__cf\\\">\\n              <span class=\\\"f__radio-wrapper\\\">\\n                <RadioButton\\n                  @selection={{selectedConversationNotificationTypeId}}\\n                  data-test-notification-type=\\\"conversation.new\\\"\\n                  @value=\\\"conversation.new\\\"\\n                />\\n              </span>\\n              <span class=\\\"f__radio-content\\\">\\n                New conversations\\n              </span>\\n            </label>\\n          </div>\\n          <div class=\\\"f__group o__radio-group\\\">\\n            <label class=\\\"f__radio-label u__cf\\\">\\n              <span class=\\\"f__radio-wrapper\\\">\\n                <RadioButton\\n                  @selection={{selectedConversationNotificationTypeId}}\\n                  data-test-notification-type=\\\"conversation.all\\\"\\n                  @value=\\\"conversation.all\\\"\\n                />\\n              </span>\\n              <span class=\\\"f__radio-content\\\">\\n                All conversation activity\\n              </span>\\n            </label>\\n          </div>\\n        </div>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n<IcLegacyModalFooter @processing={{saveTask.isRunning}} as |footer|>\\n  <footer.mainButtons as |list|>\\n    <list.button\\n      @label=\\\"Cancel\\\"\\n      @onClick={{action closeIntercomModal}}\\n      data-test-notification-cancel-button={{true}}\\n    />\\n    <list.button\\n      @type=\\\"primary\\\"\\n      @onClick={{perform saveTask}}\\n      @disabled={{not canSave}}\\n      data-test-notification-save-button={{true}}\\n    >\\n      {{#if saveTask.isRunning}}\\n        Saving…\\n      {{else}}\\n        Save notification\\n      {{/if}}\\n    </list.button>\\n  </footer.mainButtons>\\n</IcLegacyModalFooter>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"{{editorClass}}\\\" data-test-notification-editor>\\n  <div class=\\\"f__group\\\">\\n    <p class=\\\"t__label f__group-label\\\">\\n      Send to\\n    </p>\\n    <IcSelect\\n      @tagName=\\\"div\\\"\\n      @defaultLabel=\\\"Select channel\\\"\\n      @items={{allChannelSelectList}}\\n      @onSelectItem={{this.selectChannel}}\\n      @mode=\\\"block\\\"\\n      @buttonIsSubtle={{false}}\\n      @hasFilter={{true}}\\n      @filterPlaceholder=\\\"Search Slack channels\\\"\\n      class=\\\"integrations__slack__selection-container\\\"\\n    />\\n  </div>\\n  <div class=\\\"f__group\\\">\\n    <p class=\\\"t__label f__group-label\\\">\\n      When\\n    </p>\\n    <MultiselectCheckboxes\\n      @options={{allNonConversationNotificationTypes}}\\n      @selection={{selectedNonConversationNotificationTypes}}\\n      data-test-notification-types-checkboxes={{true}}\\n      @tagName=\\\"div\\\" as |topic isSelected|\\n    >\\n      <div class=\\\"u__mb__5\\\">\\n        <Input\\n          @type=\\\"checkbox\\\"\\n          @checked={{isSelected}}\\n          data-test-notification-type={{topic.id}}\\n        />\\n        {{topic.name}}\\n      </div>\\n    </MultiselectCheckboxes>\\n    <div>\\n      <div class=\\\"u__mb__5\\\">\\n        <Input\\n          @type=\\\"checkbox\\\"\\n          @checked={{isConversationNotificationTypeSelected}}\\n          data-test-notification-type=\\\"conversation\\\"\\n        />\\n        Conversation activity in...\\n      </div>\\n      {{#if isConversationNotificationTypeSelected}}\\n        <div class=\\\"u__ml__20\\\">\\n          <div class=\\\"u__mb__5\\\">\\n            <Appstore::AppPackage::Settings::SlackByIntercom::NotificationRuleAssigneeSelect\\n              @assignee={{assignee}}\\n              @updateAssignee={{action (mut assignee)}}\\n            />\\n          </div>\\n          <div class=\\\"f__group o__radio-group\\\">\\n            <label class=\\\"f__radio-label u__cf\\\">\\n              <span class=\\\"f__radio-wrapper\\\">\\n                <RadioButton\\n                  @selection={{selectedConversationNotificationTypeId}}\\n                  data-test-notification-type=\\\"conversation.new\\\"\\n                  @value=\\\"conversation.new\\\"\\n                />\\n              </span>\\n              <span class=\\\"f__radio-content\\\">\\n                New conversations\\n              </span>\\n            </label>\\n          </div>\\n          <div class=\\\"f__group o__radio-group\\\">\\n            <label class=\\\"f__radio-label u__cf\\\">\\n              <span class=\\\"f__radio-wrapper\\\">\\n                <RadioButton\\n                  @selection={{selectedConversationNotificationTypeId}}\\n                  data-test-notification-type=\\\"conversation.all\\\"\\n                  @value=\\\"conversation.all\\\"\\n                />\\n              </span>\\n              <span class=\\\"f__radio-content\\\">\\n                All conversation activity\\n              </span>\\n            </label>\\n          </div>\\n        </div>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n<IcLegacyModalFooter @processing={{saveTask.isRunning}} as |footer|>\\n  <footer.mainButtons as |list|>\\n    <list.button\\n      @label=\\\"Cancel\\\"\\n      @onClick={{action closeIntercomModal}}\\n      data-test-notification-cancel-button={{true}}\\n    />\\n    <list.button\\n      @type=\\\"primary\\\"\\n      @onClick={{perform saveTask}}\\n      @disabled={{not canSave}}\\n      data-test-notification-save-button={{true}}\\n    >\\n      {{#if saveTask.isRunning}}\\n        Saving…\\n      {{else}}\\n        Save notification\\n      {{/if}}\\n    </list.button>\\n  </footer.mainButtons>\\n</IcLegacyModalFooter>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/slack-by-intercom/notification-rule-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/slack-by-intercom/notification-rule-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { A } from '@ember/array';\nimport { computed, action } from '@ember/object';\nimport { readOnly, filterBy, notEmpty, and, map } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  allChannels: readOnly('slackIntegration.channels'),\n  allNotificationTypes: readOnly('slackIntegration.notificationTypes'),\n\n  allNonConversationNotificationTypes: filterBy(\n    'allNotificationTypes',\n    'isNonConversationType',\n    true,\n  ),\n\n  selectedNotificationTypes: computed(\n    'selectedNonConversationNotificationTypes.[]',\n    'selectedConversationNotificationTypeId',\n    'isConversationNotificationTypeSelected',\n    function() {\n      let selectedNotificationTypes = A();\n      selectedNotificationTypes.pushObjects(this.selectedNonConversationNotificationTypes);\n      if (this.isConversationNotificationTypeSelected) {\n        selectedNotificationTypes.pushObject(\n          this.allNotificationTypes.findBy('id', this.selectedConversationNotificationTypeId),\n        );\n      }\n      return selectedNotificationTypes;\n    },\n  ),\n\n  assigneeId: computed('assignee', 'isConversationNotificationTypeSelected', function() {\n    if (this.isConversationNotificationTypeSelected) {\n      return this.get('assignee.id');\n    }\n    return null;\n  }),\n\n  isChannelSelected: notEmpty('channel'),\n  hasNotificationTypesSelected: notEmpty('selectedNotificationTypes'),\n  canSave: and('isChannelSelected', 'hasNotificationTypesSelected'),\n  editorClass: 'modal__body',\n\n  allChannelSelectList: map('allChannels', function(channel) {\n    return {\n      value: channel.get('id'),\n      text: `#${channel.get('name')}`,\n      isSelected: channel.get('id') === this.get('channel.id'),\n    };\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.setProperties({\n      channel: null,\n      assignee: null,\n      selectedNonConversationNotificationTypes: [],\n      isConversationNotificationTypeSelected: false,\n      selectedConversationNotificationTypeId: 'conversation.new',\n    });\n  },\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    let notificationRule = this.notificationRule;\n\n    if (notificationRule) {\n      let isConversationNotificationTypeSelected = notificationRule.get(\n        'hasConversationNotificationType',\n      );\n      let selectedConversationNotificationTypeId = 'conversation.new';\n      if (isConversationNotificationTypeSelected) {\n        selectedConversationNotificationTypeId = notificationRule.get(\n          'conversationNotificationType.id',\n        );\n      }\n\n      this.setProperties({\n        channel: notificationRule.get('channel'),\n        assignee: notificationRule.get('assignee'),\n        selectedNonConversationNotificationTypes: notificationRule\n          .get('notificationTypes')\n          .filterBy('isNonConversationType', true),\n        isConversationNotificationTypeSelected,\n        selectedConversationNotificationTypeId,\n      });\n    }\n  },\n\n  saveTask: task(function*() {\n    yield this.saveRuleTask.perform(\n      {\n        channel: this.channel,\n        assigneeId: this.assigneeId,\n        notificationTypes: this.selectedNotificationTypes,\n      },\n      this.legacySubscription,\n    );\n  }).drop(),\n\n  selectChannel: action(function(channelId) {\n    let channel = this.allChannels.findBy('id', channelId);\n    this.set('channel', channel);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<td\\n  class=\\\"{{tableCellClass}}\\\"\\n  data-test-notification-rule-channel-name=\\\"{{notificationRule.id}}\\\"\\n>\\n  #{{channel.name}}\\n</td>\\n<td\\n  class=\\\"{{tableCellClass}}\\\"\\n  data-test-notification-types=\\\"{{notificationRule.id}}\\\"\\n>\\n  {{#each notificationTypes as |notificationType|}}\\n    <Appstore::AppPackage::Settings::SlackByIntercom::NotificationTypeListItem\\n      @notificationType={{notificationType}}\\n      @notificationRule={{notificationRule}}\\n    />\\n  {{/each}}\\n</td>\\n<td class=\\\"{{tableCellClass}} o__integrations__slack__admin-cell\\\">\\n  <div class=\\\"avatar__container o__s\\\">\\n    {{#if owner}}\\n      <LinkTo\\n        @route=\\\"apps.app.admins.admin\\\"\\n        @model={{owner.id}}\\n        @classNames=\\\"t__solo-link\\\"\\n      >\\n        <IcAvatarComponent @model={{owner}} @size=\\\"s\\\" @contained={{true}} />\\n        <span data-test-notification-rule-admin-name>\\n          {{owner.name}}\\n        </span>\\n      </LinkTo>\\n    {{else}}\\n      <IcAvatarComponent @model={{owner}} @size=\\\"s\\\" @contained={{true}} />\\n      <span data-test-notification-rule-admin-unknown>\\n        Unknown Teammate\\n      </span>\\n    {{/if}}\\n    {{formattedCreatedAt}}\\n  </div>\\n</td>\\n<td class=\\\"{{tableCellClass}} o__contains-button integrations__tbl__edit-col\\\">\\n  <IcButton\\n    @type=\\\"secondary\\\"\\n    @inCell={{true}}\\n    @iconOnly={{true}}\\n    data-test-notification-rule-edit-button={{true}}\\n    @onClick={{action openRuleDialog notificationRule}}\\n  >\\n    {{ic-interface-icon \\\"edit\\\" solo=true}}\\n  </IcButton>\\n</td>\\n<td class=\\\"{{tableCellClass}} o__contains-button integrations__tbl__delete-col\\\">\\n  <IcButton\\n    @type=\\\"secondary-destructive\\\"\\n    @inCell={{true}}\\n    @iconOnly={{true}}\\n    data-test-notification-rule-delete-button={{true}}\\n    @onClick={{perform deleteRuleTask notificationRule}}\\n  >\\n    {{ic-interface-icon \\\"delete\\\" solo=true}}\\n  </IcButton>\\n</td>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<td\\n  class=\\\"{{tableCellClass}}\\\"\\n  data-test-notification-rule-channel-name=\\\"{{notificationRule.id}}\\\"\\n>\\n  #{{channel.name}}\\n</td>\\n<td\\n  class=\\\"{{tableCellClass}}\\\"\\n  data-test-notification-types=\\\"{{notificationRule.id}}\\\"\\n>\\n  {{#each notificationTypes as |notificationType|}}\\n    <Appstore::AppPackage::Settings::SlackByIntercom::NotificationTypeListItem\\n      @notificationType={{notificationType}}\\n      @notificationRule={{notificationRule}}\\n    />\\n  {{/each}}\\n</td>\\n<td class=\\\"{{tableCellClass}} o__integrations__slack__admin-cell\\\">\\n  <div class=\\\"avatar__container o__s\\\">\\n    {{#if owner}}\\n      <LinkTo\\n        @route=\\\"apps.app.admins.admin\\\"\\n        @model={{owner.id}}\\n        @classNames=\\\"t__solo-link\\\"\\n      >\\n        <IcAvatarComponent @model={{owner}} @size=\\\"s\\\" @contained={{true}} />\\n        <span data-test-notification-rule-admin-name>\\n          {{owner.name}}\\n        </span>\\n      </LinkTo>\\n    {{else}}\\n      <IcAvatarComponent @model={{owner}} @size=\\\"s\\\" @contained={{true}} />\\n      <span data-test-notification-rule-admin-unknown>\\n        Unknown Teammate\\n      </span>\\n    {{/if}}\\n    {{formattedCreatedAt}}\\n  </div>\\n</td>\\n<td class=\\\"{{tableCellClass}} o__contains-button integrations__tbl__edit-col\\\">\\n  <IcButton\\n    @type=\\\"secondary\\\"\\n    @inCell={{true}}\\n    @iconOnly={{true}}\\n    data-test-notification-rule-edit-button={{true}}\\n    @onClick={{action openRuleDialog notificationRule}}\\n  >\\n    {{ic-interface-icon \\\"edit\\\" solo=true}}\\n  </IcButton>\\n</td>\\n<td class=\\\"{{tableCellClass}} o__contains-button integrations__tbl__delete-col\\\">\\n  <IcButton\\n    @type=\\\"secondary-destructive\\\"\\n    @inCell={{true}}\\n    @iconOnly={{true}}\\n    data-test-notification-rule-delete-button={{true}}\\n    @onClick={{perform deleteRuleTask notificationRule}}\\n  >\\n    {{ic-interface-icon \\\"delete\\\" solo=true}}\\n  </IcButton>\\n</td>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/slack-by-intercom/notification-rule-list-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/slack-by-intercom/notification-rule-list-item.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { isEmpty } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport moment from 'moment';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  tagName: 'tr',\n  owner: readOnly('notificationRule.owner'),\n  channel: readOnly('notificationRule.channel'),\n  notificationTypes: readOnly('notificationRule.notificationTypes'),\n\n  'data-test-notification-rule': true,\n\n  tableCellClass: ternary('inAppStore', 'tbl__cell whitespace-normal', 'integrations__tbl__cell'),\n  formattedCreatedAt: computed('notificationRule.createdAt', function() {\n    let createdAt = this.get('notificationRule.createdAt');\n    if (isEmpty(createdAt)) {\n      return null;\n    }\n    if (moment().diff(createdAt) <= 0) {\n      return 'a few seconds ago';\n    }\n    return moment(createdAt).fromNow();\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table class=\\\"{{if inAppStore \\\"tbl o__fit\\\" \\\"integrations__tbl\\\"}}\\\">\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <thead>\\n    <tr>\\n      <th class=\\\"{{if inAppStore \\\"tbl__cell\\\" \\\"integrations__tbl__cell\\\"}} t__label\\\">\\n        Channel\\n      </th>\\n      <th class=\\\"{{if inAppStore \\\"tbl__cell\\\" \\\"integrations__tbl__cell\\\"}} t__label\\\">\\n        Event\\n      </th>\\n      <th class=\\\"{{if inAppStore \\\"tbl__cell\\\" \\\"integrations__tbl__cell\\\"}} t__label\\\">\\n        Added by\\n      </th>\\n      <th class=\\\"{{if inAppStore \\\"tbl__cell\\\" \\\"integrations__tbl__cell\\\"}} t__label\\\">\\n        Edit\\n      </th>\\n      <th class=\\\"{{if inAppStore \\\"tbl__cell\\\" \\\"integrations__tbl__cell\\\"}} t__label\\\">\\n        Delete\\n      </th>\\n    </tr>\\n  </thead>\\n  <tbody class=\\\"{{if inAppStore \\\"tbl__body o__fit\\\" \\\"integrations__tbl__body\\\"}}\\\">\\n    {{#each notificationRules as |notificationRule|}}\\n      <Appstore::AppPackage::Settings::SlackByIntercom::NotificationRuleListItem\\n        @notificationRule={{notificationRule}}\\n        @openRuleDialog={{openRuleDialog}}\\n        @deleteRuleTask={{deleteRuleTask}}\\n        @inAppStore={{inAppStore}}\\n      />\\n    {{/each}}\\n  </tbody>\\n</table>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table class=\\\"{{if inAppStore \\\"tbl o__fit\\\" \\\"integrations__tbl\\\"}}\\\">\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <thead>\\n    <tr>\\n      <th class=\\\"{{if inAppStore \\\"tbl__cell\\\" \\\"integrations__tbl__cell\\\"}} t__label\\\">\\n        Channel\\n      </th>\\n      <th class=\\\"{{if inAppStore \\\"tbl__cell\\\" \\\"integrations__tbl__cell\\\"}} t__label\\\">\\n        Event\\n      </th>\\n      <th class=\\\"{{if inAppStore \\\"tbl__cell\\\" \\\"integrations__tbl__cell\\\"}} t__label\\\">\\n        Added by\\n      </th>\\n      <th class=\\\"{{if inAppStore \\\"tbl__cell\\\" \\\"integrations__tbl__cell\\\"}} t__label\\\">\\n        Edit\\n      </th>\\n      <th class=\\\"{{if inAppStore \\\"tbl__cell\\\" \\\"integrations__tbl__cell\\\"}} t__label\\\">\\n        Delete\\n      </th>\\n    </tr>\\n  </thead>\\n  <tbody class=\\\"{{if inAppStore \\\"tbl__body o__fit\\\" \\\"integrations__tbl__body\\\"}}\\\">\\n    {{#each notificationRules as |notificationRule|}}\\n      <Appstore::AppPackage::Settings::SlackByIntercom::NotificationRuleListItem\\n        @notificationRule={{notificationRule}}\\n        @openRuleDialog={{openRuleDialog}}\\n        @deleteRuleTask={{deleteRuleTask}}\\n        @inAppStore={{inAppStore}}\\n      />\\n    {{/each}}\\n  </tbody>\\n</table>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/slack-by-intercom/notification-rule-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/slack-by-intercom/notification-rule-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span data-test-notification-type-name>\\n  {{notificationType.name}}\\n</span>\\n{{#if showAssignee}}\\n  assigned to:\\n  <div class=\\\"avatar__container o__s\\\">\\n    <LinkTo\\n      @route=\\\"apps.app.admins.admin\\\"\\n      @model={{assignee.id}}\\n      @classNames=\\\"t__solo-link\\\"\\n    >\\n      <IcAvatarComponent @model={{assignee}} @size=\\\"s\\\" @contained={{true}} />\\n      <span data-test-slack-notification-type-assignee-name>\\n        {{assignee.name}}\\n      </span>\\n    </LinkTo>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span data-test-notification-type-name>\\n  {{notificationType.name}}\\n</span>\\n{{#if showAssignee}}\\n  assigned to:\\n  <div class=\\\"avatar__container o__s\\\">\\n    <LinkTo\\n      @route=\\\"apps.app.admins.admin\\\"\\n      @model={{assignee.id}}\\n      @classNames=\\\"t__solo-link\\\"\\n    >\\n      <IcAvatarComponent @model={{assignee}} @size=\\\"s\\\" @contained={{true}} />\\n      <span data-test-slack-notification-type-assignee-name>\\n        {{assignee.name}}\\n      </span>\\n    </LinkTo>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/slack-by-intercom/notification-type-list-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/slack-by-intercom/notification-type-list-item.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, notEmpty, and } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  assignee: readOnly('notificationRule.assignee'),\n  hasAssignee: notEmpty('notificationRule.assignee'),\n  showAssignee: and('hasAssignee', 'notificationType.isConversationType'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div {{did-insert (perform this.fetchSlackIntegration)}}>\\n  {{#if this.fetchSlackIntegration.isRunning}}\\n    <div class=\\\"layout__box o__flexes-to-1 o__centers-all appstore__modal__loading-container\\\">\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    </div>\\n  {{else}}\\n    <div class=\\\"mb-4\\\">\\n      {{#if (gt this.slackIntegration.subscriptions.length 0)}}\\n        <IcLightTable\\n          @data={{this.slackIntegration.subscriptions}}\\n          @columns={{array\\n            (hash label=\\\"URL\\\" valuePath=\\\"url\\\" maxWidth=\\\"50px\\\")\\n            (hash label=\\\"Notifications\\\" valuePath=\\\"topics\\\" minWidth=\\\"150px\\\")\\n          }}\\n          as |table|\\n        >\\n          <table.rows as |row|>\\n            <row.actionCell\\n              @valuePath=\\\"url\\\"\\n              @rowActions={{array\\n                (hash\\n                  secondaryType=\\\"destructive\\\"\\n                  label=\\\"Delete\\\"\\n                  icon=\\\"delete\\\"\\n                  disabled=this.deleteSubscription.isRunning\\n                  onClick=(perform this.deleteSubscription row.data)\\n                )\\n              }}\\n            >\\n              <div class=\\\"u__force-breaks\\\">{{row.data.url}}</div>\\n            </row.actionCell>\\n            <row.cell @valuePath=\\\"topics\\\">\\n              <div class=\\\"flex flex-col gap-2\\\">\\n                {{#each row.data.topics as |t|}}\\n                  <Text @styling=\\\"small\\\">{{t.humanName}}</Text>\\n                {{/each}}\\n              </div>\\n            </row.cell>\\n          </table.rows>\\n        </IcLightTable>\\n      {{else}}\\n        <IcEmptyState\\n          @title=\\\"You currently have no Slack notification subscriptions\\\"\\n          @description=\\\"To connect to Slack, make sure you are an admin of a Slack group\\\"\\n          @icon=\\\"conversation\\\"\\n          data-test-empty-state=\\\"true\\\"\\n        />\\n      {{/if}}\\n    </div>\\n\\n    {{#if @app.canUseSlackLegacyApp}}\\n      <IcButton\\n        @label=\\\"Add subscription\\\"\\n        @type=\\\"primary\\\"\\n        @onClick={{action (toggle \\\"showConnectModal\\\" this)}}\\n        data-test-add-subscription-button=\\\"true\\\"\\n      />\\n    {{else}}\\n      <Text\\n        @styling=\\\"muted\\\"\\n        data-test-subscriptions-disabled-warning=\\\"true\\\"\\n      >\\n        <span class=\\\"mr-1\\\">\\n          {{ic-interface-icon 'info' color='gray'}}\\n        </span>\\n        Adding new subscriptions is disabled because this app is no longer supported\\n      </Text>\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\\n<IcModal\\n  @width=\\\"m\\\"\\n  @onModalClose={{action \\\"closeModal\\\"}}\\n  @isOpen={{this.showConnectModal}}\\n  @focusElement=\\\"body\\\"\\n  as |modal|\\n>\\n  <modal.header @title=\\\"Add subscription\\\" />\\n  <modal.body>\\n    <Form as |form|>\\n      <form.SectionHeading>Which notifications do you want to receive?</form.SectionHeading>\\n\\n      <form.Item class=\\\"ml-4\\\" as |item|>\\n        {{#each this.slackIntegration.topics as |topic|}}\\n          <item.Checkbox\\n            @label={{topic.humanName}}\\n            @checked={{topic.selected}}\\n            data-test-slack-topic={{topic.id}}\\n          />\\n        {{/each}}\\n      </form.Item>\\n    </Form>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Connect\\\"\\n      action=(perform this.connect)\\n      disabled=this.noTopicsSelected\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=(action \\\"closeModal\\\")\\n      disabled=this.connect.isRunning\\n    }}\\n  />\\n</IcModal>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div {{did-insert (perform this.fetchSlackIntegration)}}>\\n  {{#if this.fetchSlackIntegration.isRunning}}\\n    <div class=\\\"layout__box o__flexes-to-1 o__centers-all appstore__modal__loading-container\\\">\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    </div>\\n  {{else}}\\n    <div class=\\\"mb-4\\\">\\n      {{#if (gt this.slackIntegration.subscriptions.length 0)}}\\n        <IcLightTable\\n          @data={{this.slackIntegration.subscriptions}}\\n          @columns={{array\\n            (hash label=\\\"URL\\\" valuePath=\\\"url\\\" maxWidth=\\\"50px\\\")\\n            (hash label=\\\"Notifications\\\" valuePath=\\\"topics\\\" minWidth=\\\"150px\\\")\\n          }}\\n          as |table|\\n        >\\n          <table.rows as |row|>\\n            <row.actionCell\\n              @valuePath=\\\"url\\\"\\n              @rowActions={{array\\n                (hash\\n                  secondaryType=\\\"destructive\\\"\\n                  label=\\\"Delete\\\"\\n                  icon=\\\"delete\\\"\\n                  disabled=this.deleteSubscription.isRunning\\n                  onClick=(perform this.deleteSubscription row.data)\\n                )\\n              }}\\n            >\\n              <div class=\\\"u__force-breaks\\\">{{row.data.url}}</div>\\n            </row.actionCell>\\n            <row.cell @valuePath=\\\"topics\\\">\\n              <div class=\\\"flex flex-col gap-2\\\">\\n                {{#each row.data.topics as |t|}}\\n                  <Text @styling=\\\"small\\\">{{t.humanName}}</Text>\\n                {{/each}}\\n              </div>\\n            </row.cell>\\n          </table.rows>\\n        </IcLightTable>\\n      {{else}}\\n        <IcEmptyState\\n          @title=\\\"You currently have no Slack notification subscriptions\\\"\\n          @description=\\\"To connect to Slack, make sure you are an admin of a Slack group\\\"\\n          @icon=\\\"conversation\\\"\\n          data-test-empty-state=\\\"true\\\"\\n        />\\n      {{/if}}\\n    </div>\\n\\n    {{#if @app.canUseSlackLegacyApp}}\\n      <IcButton\\n        @label=\\\"Add subscription\\\"\\n        @type=\\\"primary\\\"\\n        @onClick={{action (toggle \\\"showConnectModal\\\" this)}}\\n        data-test-add-subscription-button=\\\"true\\\"\\n      />\\n    {{else}}\\n      <Text\\n        @styling=\\\"muted\\\"\\n        data-test-subscriptions-disabled-warning=\\\"true\\\"\\n      >\\n        <span class=\\\"mr-1\\\">\\n          {{ic-interface-icon 'info' color='gray'}}\\n        </span>\\n        Adding new subscriptions is disabled because this app is no longer supported\\n      </Text>\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\\n<IcModal\\n  @width=\\\"m\\\"\\n  @onModalClose={{action \\\"closeModal\\\"}}\\n  @isOpen={{this.showConnectModal}}\\n  @focusElement=\\\"body\\\"\\n  as |modal|\\n>\\n  <modal.header @title=\\\"Add subscription\\\" />\\n  <modal.body>\\n    <Form as |form|>\\n      <form.SectionHeading>Which notifications do you want to receive?</form.SectionHeading>\\n\\n      <form.Item class=\\\"ml-4\\\" as |item|>\\n        {{#each this.slackIntegration.topics as |topic|}}\\n          <item.Checkbox\\n            @label={{topic.humanName}}\\n            @checked={{topic.selected}}\\n            data-test-slack-topic={{topic.id}}\\n          />\\n        {{/each}}\\n      </form.Item>\\n    </Form>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Connect\\\"\\n      action=(perform this.connect)\\n      disabled=this.noTopicsSelected\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=(action \\\"closeModal\\\")\\n      disabled=this.connect.isRunning\\n    }}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/slack-legacy/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/slack-legacy/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport { empty } from '@ember/object/computed';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport SlackIntegration from 'embercom/models/slack-legacy-integration';\n\nexport default Component.extend({\n  tagName: '',\n\n  store: service(),\n  notificationsService: service(),\n  redirectService: service(),\n  confirmService: service(),\n\n  slackIntegration: null,\n\n  showConnectModal: false,\n  noTopicsSelected: empty('slackIntegration.selectedTopics'),\n\n  fetchSlackIntegration: task(function*() {\n    try {\n      let slackIntegration = yield this.store.queryRecord('slack-legacy-integration', {\n        retrieve_subscriptions: false,\n      });\n      this.set('slackIntegration', slackIntegration);\n    } catch (e) {\n      this.notificationsService.notifyError(\n        'Connection error: Please refresh the page and try again.',\n      );\n    }\n  }).drop(),\n\n  connect: task(function*() {\n    try {\n      this.intercomEventService.trackEvent('integrations_hub_metric', {\n        action: 'completed',\n        object: 'slack-integration-step2',\n        owner: 'dx',\n        place: 'integrations-hub',\n        integration_id: 'slack',\n      });\n      let topicIds = this.slackIntegration.selectedTopics.map(topic => topic.id);\n      let oauthRedirectSubpath = 'appstore';\n\n      let redirectUrl = yield SlackIntegration.getRedirectUrl(\n        this.app.id,\n        topicIds,\n        oauthRedirectSubpath,\n      );\n\n      if (redirectUrl) {\n        this.redirectService.redirect(redirectUrl.redirect_url);\n      }\n    } catch (e) {\n      this.notificationsService.notifyError('An error occurred while adding Slack integration');\n    }\n  }).drop(),\n\n  deleteSubscription: task(function*(subscription) {\n    let options = {\n      title: 'Delete subscription',\n      body: 'Are you sure you want to delete this subscription?',\n      confirmButtonText: 'Delete',\n      primaryButtonType: 'primary-destructive',\n    };\n    let confirmed = yield this.confirmService.show(this, options);\n    if (confirmed) {\n      this.intercomEventService.trackEvent('integrations_hub_metric', {\n        action: 'removed',\n        object: 'slack-webhook',\n        owner: 'dx',\n        place: 'integrations-hub-slack',\n        integration_id: 'slack',\n      });\n\n      yield subscription.destroyRecord();\n    }\n  }).drop(),\n\n  closeModal: action(function() {\n    this.slackIntegration.topics.forEach(t => t.set('selected', false));\n    this.set('showConnectModal', false);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"f__group\\\">\\n  <div class=\\\"u__mb__10\\\">\\n    <p>\\n      Add your Statuspage to Intercom to start using this app.\\n    </p>\\n  </div>\\n  <label class=\\\"f__group-label t__label\\\">\\n    Statuspage page ID\\n  </label>\\n  <Input\\n    class=\\\"f__text\\\"\\n    @value={{settings.statuspagePageId}}\\n    data-test-statuspage-page-id={{true}}\\n  />\\n  <div class=\\\"u__padt__10 text-gray\\\">\\n    <p>\\n      Youʼll find this in your Statuspage account API details\\n    </p>\\n  </div>\\n</div>\\n<IcButton\\n  @label=\\\"Save settings\\\"\\n  @type=\\\"primary\\\"\\n  data-test-statuspage-settings-save={{true}}\\n  @disabled={{isNotValidPageId}}\\n  @onClick={{perform update settings}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"f__group\\\">\\n  <div class=\\\"u__mb__10\\\">\\n    <p>\\n      Add your Statuspage to Intercom to start using this app.\\n    </p>\\n  </div>\\n  <label class=\\\"f__group-label t__label\\\">\\n    Statuspage page ID\\n  </label>\\n  <Input\\n    class=\\\"f__text\\\"\\n    @value={{settings.statuspagePageId}}\\n    data-test-statuspage-page-id={{true}}\\n  />\\n  <div class=\\\"u__padt__10 text-gray\\\">\\n    <p>\\n      Youʼll find this in your Statuspage account API details\\n    </p>\\n  </div>\\n</div>\\n<IcButton\\n  @label=\\\"Save settings\\\"\\n  @type=\\\"primary\\\"\\n  data-test-statuspage-settings-save={{true}}\\n  @disabled={{isNotValidPageId}}\\n  @onClick={{perform update settings}}\\n/>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/statuspage/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/statuspage/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { alias, not, equal } from '@ember/object/computed';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  pageId: alias('settings.statuspagePageId'),\n  isNotValidPageId: not('isValidPageId'),\n  isValidPageId: equal('pageId.length', 12),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<div>\\n  {{#unless @account.revoked}}\\n    <span data-test-stripe-account-name>\\n      {{@account.stripeAccountName}}\\n    </span>\\n    {{#if (and @account.primaryAccount @moreThanOneSubscription)}}\\n      <span data-test-stripe-account-primary-label class=\\\"text-gray\\\">\\n        (Primary)\\n      </span>\\n    {{/if}}\\n  {{else}}\\n    <span data-test-stripe-account-revoked class=\\\"text-red\\\">\\n      The token for account {{@account.stripeAccountName\\n      }} has been revoked. Please re-add the account or delete it.\\n    </span>\\n  {{/unless}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<div>\\n  {{#unless @account.revoked}}\\n    <span data-test-stripe-account-name>\\n      {{@account.stripeAccountName}}\\n    </span>\\n    {{#if (and @account.primaryAccount @moreThanOneSubscription)}}\\n      <span data-test-stripe-account-primary-label class=\\\"text-gray\\\">\\n        (Primary)\\n      </span>\\n    {{/if}}\\n  {{else}}\\n    <span data-test-stripe-account-revoked class=\\\"text-red\\\">\\n      The token for account {{@account.stripeAccountName\\n      }} has been revoked. Please re-add the account or delete it.\\n    </span>\\n  {{/unless}}\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/stripe/account-name.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/stripe/account-name.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip @isInteractive={{true}} as |t|>\\n  <t.opener>\\n    <div class=\\\"layout__box o__centers-vertically o__has-columns\\\">\\n      <span class=\\\"layout__box o__has-columns u__mr__5\\\">\\n        {{ic-interface-icon \\\"tooltip\\\" color=\\\"gray\\\"}}\\n      </span>\\n      <span class=\\\"text-gray\\\">\\n        Trouble adding an account?\\n      </span>\\n    </div>\\n  </t.opener>\\n  <t.content>\\n    You may need to log out of Stripe before adding another account.\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/apps-in-intercom/apps/stripe-app\\\"\\n      @title=\\\"Learn more\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />.\\n  </t.content>\\n</IcTooltip>\\n\", {\"contents\":\"<IcTooltip @isInteractive={{true}} as |t|>\\n  <t.opener>\\n    <div class=\\\"layout__box o__centers-vertically o__has-columns\\\">\\n      <span class=\\\"layout__box o__has-columns u__mr__5\\\">\\n        {{ic-interface-icon \\\"tooltip\\\" color=\\\"gray\\\"}}\\n      </span>\\n      <span class=\\\"text-gray\\\">\\n        Trouble adding an account?\\n      </span>\\n    </div>\\n  </t.opener>\\n  <t.content>\\n    You may need to log out of Stripe before adding another account.\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/apps-in-intercom/apps/stripe-app\\\"\\n      @title=\\\"Learn more\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />.\\n  </t.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/stripe/add-account-help.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/stripe/add-account-help.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- To see your settings page go to http://intercomrades.intercom.test/a/apps/tx2p130c/appstore/stripe-subscriptions --}}\\n{{#if (and fetchStripeSettings.isRunning (not triggerImport.isRunning))}}\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__centers-all appstore__modal__loading-container\\\"\\n  >\\n    <IcLoadingIndicator @size=\\\"large\\\" />\\n  </div>\\n{{else}}\\n  <div class=\\\"h-5\\\"></div>\\n  {{#if subscriptionsPresent}}\\n    <Common::AccordionComponent\\n      @isDisabled={{@isDisabled}}\\n      data-test-stripe-settings-accordion={{true}} as |accordion|\\n    >\\n      <accordion.section\\n        data-test-stripe-settings-accordion-accounts\\n        @headerClass=\\\"accordion__white-header\\\"\\n        @name=\\\"accounts\\\" as |section|\\n      >\\n        <section.header as |header|>\\n          <Common::AccordionComponent::WhiteHeaderTitle\\n            @heading=\\\"Stripe accounts\\\"\\n            @subheading=\\\"Select the Stripe accounts you want to use with Intercom\\\"\\n            @icon=\\\"briefcase\\\"\\n          />\\n        </section.header>\\n        <section.header-action />\\n        <section.body as |body|>\\n          <div class=\\\"stripe__accordion-body\\\">\\n            {{#if writeUnauthorisedSubscriptions}}\\n              <IcBanner\\n                data-test-stripe-settings-accounts-error\\n                @text=\\\"Some Stripe accounts need to be reconnected\\\"\\n                @type=\\\"error\\\"\\n                class=\\\"mb-4\\\"\\n              />\\n            {{/if}}\\n            {{#if importFailedSubscriptions}}\\n              <IcBanner\\n                data-test-stripe-settings-accounts-error\\n                @text=\\\"Some stripe accounts need to be reimported\\\"\\n                @type=\\\"error\\\"\\n                class=\\\"mb-4\\\"\\n              />\\n            {{/if}}\\n            <IcLightTable\\n              @data={{subscriptions}}\\n              @columns={{array\\n                (hash\\n                  label=\\\"Account name\\\" valuePath=\\\"stripeAccountName\\\" width=\\\"70%\\\"\\n                )\\n                (hash valuePath=\\\"stripeWriteAuthorised\\\")\\n              }} as |accountsTable|\\n            >\\n              <accountsTable.rows as |row index|>\\n                <row.cell @valuePath=\\\"stripeAccountName\\\">\\n                  <Appstore::AppPackage::Settings::Stripe::AccountName\\n                    @account={{row.data}}\\n                    @moreThanOneSubscription={{moreThanOneSubscription}}\\n                  />\\n                </row.cell>\\n                <row.cell @valuePath=\\\"stripeWriteAuthorised\\\">\\n                  <IcButtonList @align=\\\"right\\\" as |list|>\\n                    {{#if row.data.stripeImportFailed}}\\n                      <list.button\\n                        data-test-stripe-settings-import-failed-button\\n                        @label=\\\"Reimport\\\"\\n                        @type=\\\"secondary\\\"\\n                        @onClick={{perform triggerImport row.data}}\\n                      />\\n                    {{/if}}\\n                    {{#if (not row.data.stripeWriteAuthorised)}}\\n                      <list.button\\n                        data-test-stripe-settings-accounts-link-button\\n                        @label=\\\"Reconnect\\\"\\n                        @type=\\\"secondary\\\"\\n                        @onClick={{perform addAccount}}\\n                      />\\n                    {{/if}}\\n                    {{#if row.data.secondaryAccount}}\\n                      <div class=\\\"layout__box o__flexes-to-1\\\">\\n                        <list.button\\n                          data-test-stripe-settings-accounts-unlink-button\\n                          @icon=\\\"trash\\\"\\n                          class=\\\"u__right\\\"\\n                          @type=\\\"secondary-destructive\\\"\\n                          @onClick={{perform removeAccount row.data}}\\n                        />\\n                      </div>\\n                    {{/if}}\\n                  </IcButtonList>\\n                </row.cell>\\n              </accountsTable.rows>\\n            </IcLightTable>\\n            <div class=\\\"h-5\\\"></div>\\n            <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n              <div class=\\\"layout__box o__flexes-to-1\\\">\\n                <IcButton\\n                  data-test-stripe-settings-add-account-button={{true}}\\n                  @type=\\\"secondary\\\"\\n                  @label=\\\"Add new account\\\"\\n                  @onClick={{perform addAccount}}\\n                />\\n              </div>\\n              <div class=\\\"layout__box\\\">\\n                <Appstore::AppPackage::Settings::Stripe::AddAccountHelp />\\n              </div>\\n            </div>\\n          </div>\\n        </section.body>\\n      </accordion.section>\\n      {{#if hasCandidatesForPrimaryAccount}}\\n        <accordion.section\\n          data-test-stripe-settings-accordion-primary\\n          @headerClass=\\\"accordion__white-header\\\"\\n          @name=\\\"primary\\\" as |section|\\n        >\\n          <section.header as |header|>\\n            <Common::AccordionComponent::WhiteHeaderTitle\\n              @heading=\\\"Set your primary account\\\"\\n              @subheading=\\\"Select the account that will be used to view and update Stripe customer data in places like the Messenger and Inbox\\\"\\n              @icon=\\\"people\\\"\\n            />\\n          </section.header>\\n          <section.header-action />\\n          <section.body as |body|>\\n            <div class=\\\"stripe__accordion-body\\\">\\n              <IcSelect\\n                data-test-stripe-settings-accounts-primary-select\\n                @defaultLabel=\\\"Select account...\\\"\\n                @items={{candidatesForPrimaryAccount}}\\n                @onSelectItem={{this.updatePrimary}}\\n              />\\n            </div>\\n          </section.body>\\n        </accordion.section>\\n      {{/if}}\\n      <accordion.section\\n        data-test-stripe-settings-accordion-subscriptions\\n        @headerClass=\\\"accordion__white-header\\\"\\n        @name=\\\"subscriptions\\\" as |section|\\n      >\\n        <section.header as |header|>\\n          <Common::AccordionComponent::WhiteHeaderTitle\\n            @heading=\\\"Send subscriptions in conversation\\\"\\n            @subheading=\\\"Turning this on will allow your teammates to send subscriptions to customers in conversations\\\"\\n            @icon=\\\"messenger\\\"\\n            @showEnabledLabel={{true}}\\n            @enabled={{subscriptionsEnabledForPrimary}}\\n          />\\n        </section.header>\\n        <section.header-action />\\n        <section.body as |body|>\\n          <div class=\\\"stripe__accordion-body\\\">\\n            <IcContent>\\n              {{#if (not writeAuthorisedForPrimary)}}\\n                <IcBanner\\n                  data-test-stripe-settings-subscriptions-error\\n                  @text=\\\"You need to authenticate your Stripe account to give us access to send subscriptions. Reconnect your account.\\\"\\n                  @type=\\\"error\\\"\\n                />\\n              {{else}}\\n                Customers will be able to subscribe to plans and enter their payment details in conversations.\\n                <IcOnOffToggle\\n                  data-test-stripe-settings-subscriptions-toggle\\n                  @isOn={{subscriptionsEnabledForPrimary}}\\n                  @onClick={{perform toggleSubscriptions}}\\n                />\\n              {{/if}}\\n            </IcContent>\\n          </div>\\n        </section.body>\\n      </accordion.section>\\n      <accordion.section\\n        data-test-stripe-settings-accordion-sync\\n        @headerClass=\\\"accordion__white-header\\\"\\n        @name=\\\"sync\\\" as |section|\\n      >\\n        <section.header as |header|>\\n          <Common::AccordionComponent::WhiteHeaderTitle\\n            @heading=\\\"Configure data sync\\\"\\n            @showEnabledLabel={{true}}\\n            @enabled={{syncedSubscriptions}}\\n            @subheading=\\\"Automatically bring your Stripe data into Intercom\\\"\\n            @icon=\\\"link\\\"\\n          />\\n        </section.header>\\n        <section.header-action />\\n        <section.body as |body|>\\n          <div class=\\\"stripe__accordion-body\\\">\\n            <IcLightTable\\n              @data={{subscriptions}}\\n              @columns={{array\\n                (hash\\n                  label=\\\"Account name\\\" valuePath=\\\"stripeAccountName\\\" width=\\\"70%\\\"\\n                )\\n                (hash label=\\\"Enable sync\\\" valuePath=\\\"syncEnabled\\\")\\n              }} as |syncTable|\\n            >\\n              <syncTable.rows as |row index|>\\n                <row.cell @valuePath=\\\"stripeAccountName\\\">\\n                  {{row.data.stripeAccountName}}\\n                </row.cell>\\n                <row.cell @valuePath=\\\"syncEnabled\\\">\\n                  <IcOnOffToggle\\n                    data-test-stripe-settings-sync-toggle\\n                    @isOn={{row.data.syncEnabled}}\\n                    @onClick={{fn this.toggleSync row.data}}\\n                  />\\n                </row.cell>\\n              </syncTable.rows>\\n            </IcLightTable>\\n          </div>\\n        </section.body>\\n      </accordion.section>\\n    </Common::AccordionComponent>\\n  {{else}}\\n    <IcBanner\\n      data-test-no-subscriptions-banner\\n      @text=\\\"Intercom failed to connect to Stripe. Try reconnecting to fix this.\\\"\\n      @type=\\\"error\\\"\\n    />\\n    <div class=\\\"h-2\\\"></div>\\n    <IcButton\\n      data-test-reconnect-to-stripe-button\\n      @label=\\\"Reconnect to Stripe\\\"\\n      @type=\\\"primary\\\"\\n      @onClick={{perform addAccount}}\\n    />\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- To see your settings page go to http://intercomrades.intercom.test/a/apps/tx2p130c/appstore/stripe-subscriptions --}}\\n{{#if (and fetchStripeSettings.isRunning (not triggerImport.isRunning))}}\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__centers-all appstore__modal__loading-container\\\"\\n  >\\n    <IcLoadingIndicator @size=\\\"large\\\" />\\n  </div>\\n{{else}}\\n  <div class=\\\"h-5\\\"></div>\\n  {{#if subscriptionsPresent}}\\n    <Common::AccordionComponent\\n      @isDisabled={{@isDisabled}}\\n      data-test-stripe-settings-accordion={{true}} as |accordion|\\n    >\\n      <accordion.section\\n        data-test-stripe-settings-accordion-accounts\\n        @headerClass=\\\"accordion__white-header\\\"\\n        @name=\\\"accounts\\\" as |section|\\n      >\\n        <section.header as |header|>\\n          <Common::AccordionComponent::WhiteHeaderTitle\\n            @heading=\\\"Stripe accounts\\\"\\n            @subheading=\\\"Select the Stripe accounts you want to use with Intercom\\\"\\n            @icon=\\\"briefcase\\\"\\n          />\\n        </section.header>\\n        <section.header-action />\\n        <section.body as |body|>\\n          <div class=\\\"stripe__accordion-body\\\">\\n            {{#if writeUnauthorisedSubscriptions}}\\n              <IcBanner\\n                data-test-stripe-settings-accounts-error\\n                @text=\\\"Some Stripe accounts need to be reconnected\\\"\\n                @type=\\\"error\\\"\\n                class=\\\"mb-4\\\"\\n              />\\n            {{/if}}\\n            {{#if importFailedSubscriptions}}\\n              <IcBanner\\n                data-test-stripe-settings-accounts-error\\n                @text=\\\"Some stripe accounts need to be reimported\\\"\\n                @type=\\\"error\\\"\\n                class=\\\"mb-4\\\"\\n              />\\n            {{/if}}\\n            <IcLightTable\\n              @data={{subscriptions}}\\n              @columns={{array\\n                (hash\\n                  label=\\\"Account name\\\" valuePath=\\\"stripeAccountName\\\" width=\\\"70%\\\"\\n                )\\n                (hash valuePath=\\\"stripeWriteAuthorised\\\")\\n              }} as |accountsTable|\\n            >\\n              <accountsTable.rows as |row index|>\\n                <row.cell @valuePath=\\\"stripeAccountName\\\">\\n                  <Appstore::AppPackage::Settings::Stripe::AccountName\\n                    @account={{row.data}}\\n                    @moreThanOneSubscription={{moreThanOneSubscription}}\\n                  />\\n                </row.cell>\\n                <row.cell @valuePath=\\\"stripeWriteAuthorised\\\">\\n                  <IcButtonList @align=\\\"right\\\" as |list|>\\n                    {{#if row.data.stripeImportFailed}}\\n                      <list.button\\n                        data-test-stripe-settings-import-failed-button\\n                        @label=\\\"Reimport\\\"\\n                        @type=\\\"secondary\\\"\\n                        @onClick={{perform triggerImport row.data}}\\n                      />\\n                    {{/if}}\\n                    {{#if (not row.data.stripeWriteAuthorised)}}\\n                      <list.button\\n                        data-test-stripe-settings-accounts-link-button\\n                        @label=\\\"Reconnect\\\"\\n                        @type=\\\"secondary\\\"\\n                        @onClick={{perform addAccount}}\\n                      />\\n                    {{/if}}\\n                    {{#if row.data.secondaryAccount}}\\n                      <div class=\\\"layout__box o__flexes-to-1\\\">\\n                        <list.button\\n                          data-test-stripe-settings-accounts-unlink-button\\n                          @icon=\\\"trash\\\"\\n                          class=\\\"u__right\\\"\\n                          @type=\\\"secondary-destructive\\\"\\n                          @onClick={{perform removeAccount row.data}}\\n                        />\\n                      </div>\\n                    {{/if}}\\n                  </IcButtonList>\\n                </row.cell>\\n              </accountsTable.rows>\\n            </IcLightTable>\\n            <div class=\\\"h-5\\\"></div>\\n            <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n              <div class=\\\"layout__box o__flexes-to-1\\\">\\n                <IcButton\\n                  data-test-stripe-settings-add-account-button={{true}}\\n                  @type=\\\"secondary\\\"\\n                  @label=\\\"Add new account\\\"\\n                  @onClick={{perform addAccount}}\\n                />\\n              </div>\\n              <div class=\\\"layout__box\\\">\\n                <Appstore::AppPackage::Settings::Stripe::AddAccountHelp />\\n              </div>\\n            </div>\\n          </div>\\n        </section.body>\\n      </accordion.section>\\n      {{#if hasCandidatesForPrimaryAccount}}\\n        <accordion.section\\n          data-test-stripe-settings-accordion-primary\\n          @headerClass=\\\"accordion__white-header\\\"\\n          @name=\\\"primary\\\" as |section|\\n        >\\n          <section.header as |header|>\\n            <Common::AccordionComponent::WhiteHeaderTitle\\n              @heading=\\\"Set your primary account\\\"\\n              @subheading=\\\"Select the account that will be used to view and update Stripe customer data in places like the Messenger and Inbox\\\"\\n              @icon=\\\"people\\\"\\n            />\\n          </section.header>\\n          <section.header-action />\\n          <section.body as |body|>\\n            <div class=\\\"stripe__accordion-body\\\">\\n              <IcSelect\\n                data-test-stripe-settings-accounts-primary-select\\n                @defaultLabel=\\\"Select account...\\\"\\n                @items={{candidatesForPrimaryAccount}}\\n                @onSelectItem={{this.updatePrimary}}\\n              />\\n            </div>\\n          </section.body>\\n        </accordion.section>\\n      {{/if}}\\n      <accordion.section\\n        data-test-stripe-settings-accordion-subscriptions\\n        @headerClass=\\\"accordion__white-header\\\"\\n        @name=\\\"subscriptions\\\" as |section|\\n      >\\n        <section.header as |header|>\\n          <Common::AccordionComponent::WhiteHeaderTitle\\n            @heading=\\\"Send subscriptions in conversation\\\"\\n            @subheading=\\\"Turning this on will allow your teammates to send subscriptions to customers in conversations\\\"\\n            @icon=\\\"messenger\\\"\\n            @showEnabledLabel={{true}}\\n            @enabled={{subscriptionsEnabledForPrimary}}\\n          />\\n        </section.header>\\n        <section.header-action />\\n        <section.body as |body|>\\n          <div class=\\\"stripe__accordion-body\\\">\\n            <IcContent>\\n              {{#if (not writeAuthorisedForPrimary)}}\\n                <IcBanner\\n                  data-test-stripe-settings-subscriptions-error\\n                  @text=\\\"You need to authenticate your Stripe account to give us access to send subscriptions. Reconnect your account.\\\"\\n                  @type=\\\"error\\\"\\n                />\\n              {{else}}\\n                Customers will be able to subscribe to plans and enter their payment details in conversations.\\n                <IcOnOffToggle\\n                  data-test-stripe-settings-subscriptions-toggle\\n                  @isOn={{subscriptionsEnabledForPrimary}}\\n                  @onClick={{perform toggleSubscriptions}}\\n                />\\n              {{/if}}\\n            </IcContent>\\n          </div>\\n        </section.body>\\n      </accordion.section>\\n      <accordion.section\\n        data-test-stripe-settings-accordion-sync\\n        @headerClass=\\\"accordion__white-header\\\"\\n        @name=\\\"sync\\\" as |section|\\n      >\\n        <section.header as |header|>\\n          <Common::AccordionComponent::WhiteHeaderTitle\\n            @heading=\\\"Configure data sync\\\"\\n            @showEnabledLabel={{true}}\\n            @enabled={{syncedSubscriptions}}\\n            @subheading=\\\"Automatically bring your Stripe data into Intercom\\\"\\n            @icon=\\\"link\\\"\\n          />\\n        </section.header>\\n        <section.header-action />\\n        <section.body as |body|>\\n          <div class=\\\"stripe__accordion-body\\\">\\n            <IcLightTable\\n              @data={{subscriptions}}\\n              @columns={{array\\n                (hash\\n                  label=\\\"Account name\\\" valuePath=\\\"stripeAccountName\\\" width=\\\"70%\\\"\\n                )\\n                (hash label=\\\"Enable sync\\\" valuePath=\\\"syncEnabled\\\")\\n              }} as |syncTable|\\n            >\\n              <syncTable.rows as |row index|>\\n                <row.cell @valuePath=\\\"stripeAccountName\\\">\\n                  {{row.data.stripeAccountName}}\\n                </row.cell>\\n                <row.cell @valuePath=\\\"syncEnabled\\\">\\n                  <IcOnOffToggle\\n                    data-test-stripe-settings-sync-toggle\\n                    @isOn={{row.data.syncEnabled}}\\n                    @onClick={{fn this.toggleSync row.data}}\\n                  />\\n                </row.cell>\\n              </syncTable.rows>\\n            </IcLightTable>\\n          </div>\\n        </section.body>\\n      </accordion.section>\\n    </Common::AccordionComponent>\\n  {{else}}\\n    <IcBanner\\n      data-test-no-subscriptions-banner\\n      @text=\\\"Intercom failed to connect to Stripe. Try reconnecting to fix this.\\\"\\n      @type=\\\"error\\\"\\n    />\\n    <div class=\\\"h-2\\\"></div>\\n    <IcButton\\n      data-test-reconnect-to-stripe-button\\n      @label=\\\"Reconnect to Stripe\\\"\\n      @type=\\\"primary\\\"\\n      @onClick={{perform addAccount}}\\n    />\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/stripe/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/stripe/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport ajax from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\nimport { computed, action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { sort, gt, readOnly, filterBy } from '@ember/object/computed';\nimport ENV from 'embercom/config/environment';\n\nexport default Component.extend({\n  store: service(),\n  appService: service(),\n  appId: readOnly('appService.app.id'),\n  adminId: readOnly('app.currentAdmin.id'),\n  notificationsService: service(),\n  redirectService: service(),\n  confirmService: service(),\n\n  subscriptions: sort('settings.subscriptions', function(subscriptionA, subscriptionB) {\n    if (subscriptionA.primaryAccount) {\n      return -1;\n    } else if (subscriptionB.primaryAccount) {\n      return 1;\n    } else {\n      return 0;\n    }\n  }),\n\n  subscriptionsPresent: computed('subscriptions.[]', function() {\n    return this.subscriptions && this.subscriptions.length > 0;\n  }),\n\n  moreThanOneSubscription: gt('subscriptions.length', 1),\n\n  writeUnauthorisedSubscriptions: computed('subscriptions.[]', function() {\n    return this.subscriptions.filter(subscription => !subscription.stripeWriteAuthorised);\n  }),\n\n  writeAuthorisedSubscriptions: computed('subscriptions.[]', function() {\n    return this.subscriptions.filter(subscription => subscription.stripeWriteAuthorised);\n  }),\n\n  importFailedSubscriptions: filterBy('subscriptions', 'stripeImportFailed', true),\n\n  syncedSubscriptions: computed('subscriptions.[]', function() {\n    return this.subscriptions.filter(subscription => subscription.syncEnabled);\n  }),\n\n  primaryAccount: computed('subscriptions.[]', function() {\n    return this.subscriptions.find(subscription => subscription.primaryAccount);\n  }),\n\n  writeAuthorisedForPrimary: computed('primaryAccount', function() {\n    if (this.primaryAccount === undefined) {\n      return false;\n    }\n    return this.primaryAccount.stripeWriteAuthorised;\n  }),\n\n  subscriptionsEnabledForPrimary: computed('primaryAccount', function() {\n    if (this.primaryAccount === undefined) {\n      return false;\n    }\n    return this.primaryAccount.subscriptionsEnabled;\n  }),\n\n  hasCandidatesForPrimaryAccount: gt('writeAuthorisedSubscriptions.length', 1),\n\n  candidatesForPrimaryAccount: computed('writeAuthorisedSubscriptions', function() {\n    return this.writeAuthorisedSubscriptions.map(subscription => {\n      return {\n        text: subscription.stripeAccountName,\n        value: subscription.stripeAccountId,\n        isSelected: subscription.primaryAccount,\n      };\n    });\n  }),\n\n  baseUrl: computed(function() {\n    if (ENV.environment === 'development' || ENV.environment === 'test') {\n      return 'http://intercom-integrations.test/';\n    }\n    return 'https://messenger-apps.intercom.io/';\n  }),\n\n  redirectUrl: computed('adminId', 'appId', function() {\n    return `${this.baseUrl}stripe/add_account?app_id=${this.appId}&admin_id=${this.adminId}`;\n  }),\n\n  addAccount: task(function*() {\n    try {\n      let signedRedirectUrl = yield this.generateRedirectUrl.perform(this.redirectUrl, true);\n      this.redirectService.redirect(signedRedirectUrl);\n    } catch (response) {\n      this.notificationsService.notifyError(response.jqXHR.responseJSON.message);\n    }\n  }).drop(),\n\n  toggleSubscriptions: task(function*() {\n    this.subscriptions.map(subscription => {\n      subscription.toggleProperty('subscriptionsEnabled');\n    });\n    try {\n      yield this.settings.save();\n      this.notificationsService.notifyConfirmation('Succesfully updated subscriptions settings');\n    } catch (response) {\n      let message;\n      if (response.jqXHR.responseJSON !== undefined) {\n        message = response.jqXHR.responseJSON.message;\n      } else {\n        message = 'Something went wrong updating subscriptions settings. Please try again.';\n      }\n      this.notificationsService.notifyError(message);\n    }\n  }).drop(),\n\n  triggerImport: task(function*(subscription) {\n    try {\n      yield ajax({\n        url: 'ember/stripe_settings/trigger_import',\n        type: 'POST',\n        data: JSON.stringify({ app_id: this.appId, stripe_user_id: subscription.stripeAccountId }),\n      });\n      this.notificationsService.notifyConfirmation('Import successfully retriggered');\n    } catch (response) {\n      let message;\n      if (response.jqXHR && response.jqXHR.responseJSON) {\n        message = response.jqXHR.responseJSON.message;\n      } else {\n        message =\n          'There was a problem retriggering your import. Please try again. If the problem persists please contact support.';\n      }\n      this.notificationsService.notifyError(message);\n    }\n  }).drop(),\n\n  removeAccount: task(function*(subscription) {\n    try {\n      let confirmed = yield this.confirmService.show(this, {\n        title: 'Remove Account',\n        body: 'Are you sure you want to remove this account?',\n        confirmButtonText: 'Remove',\n        center: true,\n      });\n\n      if (confirmed) {\n        yield this.settings.deleteSubscription(subscription);\n        this.notificationsService.notifyConfirmation('Account removed successfully');\n      }\n    } catch (response) {\n      let message;\n      if (response.jqXHR && response.jqXHR.responseJSON) {\n        message = response.jqXHR.responseJSON.message;\n      } else {\n        message = 'Something went wrong removing that account, try again';\n      }\n      this.notificationsService.notifyError(message);\n    }\n  }).drop(),\n\n  init() {\n    this._super(...arguments);\n    this.fetchStripeSettings.perform();\n  },\n\n  fetchStripeSettings: task(function*() {\n    let stripeSettings = yield this.store.queryRecord(\n      'appstore/app-package/stripe/app-settings',\n      {},\n    );\n    this.set('settings', stripeSettings);\n  }).drop(),\n\n  updatePrimary: action(function(primary) {\n    this.subscriptions.map(subscription => {\n      subscription.set('primaryAccount', subscription.stripeAccountId === primary);\n    });\n    try {\n      this.settings.save();\n      this.notificationsService.notifyConfirmation('Primary account updated successfully');\n    } catch (response) {\n      this.notificationsService.notifyError(response.jqXHR.responseJSON.message);\n    }\n  }),\n\n  toggleSync: action(function(subscription) {\n    subscription.toggleProperty('syncEnabled');\n    try {\n      this.settings.save();\n      this.notificationsService.notifyConfirmation(\n        `Successfully updated automatic sync for ${subscription.stripeAccountName}`,\n      );\n    } catch (response) {\n      this.notificationsService.notifyError(response.jqXHR.responseJSON.message);\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if setupTwitterData.isRunning}}\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-all\\\">\\n    <IcLoadingIndicator @size=\\\"large\\\" />\\n  </div>\\n{{else}}\\n  {{#if twitterIntegration.twitterAccounts}}\\n    {{!-- template-lint-disable intercom/no-custom-table --}}\\n    <table class=\\\"tbl o__fit\\\">\\n      {{!-- template-lint-enable intercom/no-custom-table --}}\\n      <thead>\\n        <tr>\\n          <th class=\\\"tbl__cell t__label\\\">\\n            Account\\n          </th>\\n          <th class=\\\"tbl__cell\\\"></th>\\n        </tr>\\n      </thead>\\n      <tbody class=\\\"tbl__body o__fit\\\">\\n        {{#each twitterIntegration.twitterAccounts as |account|}}\\n          <tr data-test-twitter-account>\\n            <td class=\\\"tbl__cell whitespace-normal\\\">\\n              {{account.name}}\\n            </td>\\n            <td\\n              class=\\\"tbl__cell whitespace-normal o__contains-button integrations__tbl__delete-col\\\"\\n            >\\n              <IcButton\\n                @type=\\\"secondary-destructive\\\"\\n                @inCell={{true}}\\n                @iconOnly={{true}}\\n                data-test-remove-twitter-account-button={{true}}\\n                @onClick={{perform removeAccountTask account}}\\n              >\\n                {{ic-interface-icon \\\"delete\\\" solo=true}}\\n              </IcButton>\\n            </td>\\n          </tr>\\n        {{/each}}\\n      </tbody>\\n    </table>\\n  {{/if}}\\n  <IcButton\\n    @label=\\\"Add a Twitter account\\\"\\n    @type=\\\"primary\\\"\\n    @onClick={{perform addAccountTask}}\\n    data-test-add-twitter-account-button={{true}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if setupTwitterData.isRunning}}\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-all\\\">\\n    <IcLoadingIndicator @size=\\\"large\\\" />\\n  </div>\\n{{else}}\\n  {{#if twitterIntegration.twitterAccounts}}\\n    {{!-- template-lint-disable intercom/no-custom-table --}}\\n    <table class=\\\"tbl o__fit\\\">\\n      {{!-- template-lint-enable intercom/no-custom-table --}}\\n      <thead>\\n        <tr>\\n          <th class=\\\"tbl__cell t__label\\\">\\n            Account\\n          </th>\\n          <th class=\\\"tbl__cell\\\"></th>\\n        </tr>\\n      </thead>\\n      <tbody class=\\\"tbl__body o__fit\\\">\\n        {{#each twitterIntegration.twitterAccounts as |account|}}\\n          <tr data-test-twitter-account>\\n            <td class=\\\"tbl__cell whitespace-normal\\\">\\n              {{account.name}}\\n            </td>\\n            <td\\n              class=\\\"tbl__cell whitespace-normal o__contains-button integrations__tbl__delete-col\\\"\\n            >\\n              <IcButton\\n                @type=\\\"secondary-destructive\\\"\\n                @inCell={{true}}\\n                @iconOnly={{true}}\\n                data-test-remove-twitter-account-button={{true}}\\n                @onClick={{perform removeAccountTask account}}\\n              >\\n                {{ic-interface-icon \\\"delete\\\" solo=true}}\\n              </IcButton>\\n            </td>\\n          </tr>\\n        {{/each}}\\n      </tbody>\\n    </table>\\n  {{/if}}\\n  <IcButton\\n    @label=\\\"Add a Twitter account\\\"\\n    @type=\\\"primary\\\"\\n    @onClick={{perform addAccountTask}}\\n    data-test-add-twitter-account-button={{true}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/twitter/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/twitter/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport ajax from 'embercom/lib/ajax';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  store: service(),\n  confirmService: service(),\n  redirectService: service(),\n  init() {\n    this._super(...arguments);\n    this.setupTwitterData.perform();\n    this.registerHooks({ afterUninstall: this.cleanupPostUninstall });\n  },\n  setupTwitterData: task(function*() {\n    let twitterIntegration = yield this.store.queryRecord('twitter-integration', {});\n    this.setProperties({\n      twitterIntegration,\n    });\n  }).drop(),\n  cleanupPostUninstall: task(function*() {\n    try {\n      yield this.twitterIntegration.destroyRecord();\n    } catch (e) {\n      this.notificationsService.notifyError(\n        'An error occurred while uninstalling the Twitter app. Please try again.',\n      );\n    }\n  }).drop(),\n  authenticateTwitter() {\n    return ajax({\n      url: '/ember/twitter_integrations/authenticate',\n      type: 'GET',\n      data: {\n        app_id: this.get('app.id'),\n        is_app_store: true,\n      },\n    });\n  },\n  addAccountTask: task(function*() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'added',\n      object: 'twitter-account',\n    });\n\n    try {\n      let authenticateResponse = yield this.authenticateTwitter();\n      let redirectUrl = yield this.generateRedirectUrl.perform(\n        authenticateResponse.redirect_url,\n        false,\n      );\n      this.redirectService.redirect(redirectUrl);\n    } catch (response) {\n      this.notificationsService.notifyError(response.jqXHR.responseJSON.message);\n    }\n  }).drop(),\n  removeAccountTask: task(function*(account) {\n    let options = {\n      title: 'Remove account',\n      body: `Are you sure you want to remove ${account.get('name')} from the Twitter app?`,\n      confirmButtonText: 'Remove',\n      primaryButtonType: 'primary-destructive',\n    };\n\n    let confirmed = yield this.confirmService.show(this, options);\n    if (confirmed) {\n      try {\n        yield account.destroyRecord();\n        this.notificationsService.notifyConfirmation('Account removed');\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'removed',\n          object: account,\n        });\n      } catch (e) {\n        this.notificationsService.notifyError(\n          `An error occurred when deleting ${account.get('name')} credentials`,\n        );\n      }\n    }\n  }).drop(),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- To see your settings page go to http://intercomrades.intercom.test/a/apps/tx2p130c/appstore/webinar--}}\\n{{#if settings.hasIntegratedProvider}}\\n  <div class=\\\"f__group\\\">\\n    <div\\n      class=\\\"zoom-webinar__settings-integration-info layout__box o__has-columns o__centers-vertically\\\"\\n    >\\n      <div class=\\\"zoom-webinar__settings-logo\\\"></div>\\n      <p class=\\\"zoom-webinar__settings-account-email\\\" data-test-account-email>\\n        {{settings.accountEmail}}\\n      </p>\\n      <IcButton\\n        @label=\\\"Remove\\\"\\n        class=\\\"u__mr__20 u__ml__10\\\"\\n        @type=\\\"secondary-destructive\\\"\\n        @action=\\\"revokeAccess\\\"\\n        data-test-remove-button={{true}}\\n      />\\n    </div>\\n  </div>\\n{{else}}\\n  <div class=\\\"f__group\\\">\\n    Connect the Zoom admin account you use to run the webinars. <div>\\n      <IcButton\\n        class=\\\"u__mt__20\\\"\\n        @label=\\\"Connect Zoom\\\"\\n        @type=\\\"primary\\\"\\n        @onClick={{perform connectToZoom}}\\n        data-test-connect-button={{true}}\\n      />\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- To see your settings page go to http://intercomrades.intercom.test/a/apps/tx2p130c/appstore/webinar--}}\\n{{#if settings.hasIntegratedProvider}}\\n  <div class=\\\"f__group\\\">\\n    <div\\n      class=\\\"zoom-webinar__settings-integration-info layout__box o__has-columns o__centers-vertically\\\"\\n    >\\n      <div class=\\\"zoom-webinar__settings-logo\\\"></div>\\n      <p class=\\\"zoom-webinar__settings-account-email\\\" data-test-account-email>\\n        {{settings.accountEmail}}\\n      </p>\\n      <IcButton\\n        @label=\\\"Remove\\\"\\n        class=\\\"u__mr__20 u__ml__10\\\"\\n        @type=\\\"secondary-destructive\\\"\\n        @action=\\\"revokeAccess\\\"\\n        data-test-remove-button={{true}}\\n      />\\n    </div>\\n  </div>\\n{{else}}\\n  <div class=\\\"f__group\\\">\\n    Connect the Zoom admin account you use to run the webinars. <div>\\n      <IcButton\\n        class=\\\"u__mt__20\\\"\\n        @label=\\\"Connect Zoom\\\"\\n        @type=\\\"primary\\\"\\n        @onClick={{perform connectToZoom}}\\n        data-test-connect-button={{true}}\\n      />\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/webinar/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/webinar/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { task } from 'ember-concurrency';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport ENV from 'embercom/config/environment';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  notificationsService: service(),\n  redirectService: service(),\n  appService: service(),\n  appId: readOnly('appService.app.id'),\n  adminId: readOnly('appService.app.currentAdmin.id'),\n\n  baseUrl: ENV.APP.zoom_integration.redirect_base_url,\n  zoomAuthRedirectUrl: computed('adminId', 'appId', function() {\n    return `${this.baseUrl}webinar/zoom_oauth/auth?app_id_code=${this.appId}&admin_id=${this.adminId}`;\n  }),\n  connectToZoom: task(function*() {\n    try {\n      let redirectUrl = yield this.generateRedirectUrl.perform(this.zoomAuthRedirectUrl, false);\n      this.redirectService.redirect(redirectUrl);\n    } catch (e) {\n      this.notificationsService.notifyError('Failed to connect to Zoom');\n    }\n  }).drop(),\n  actions: {\n    revokeAccess() {\n      this.set('settings.hasIntegratedProvider', false);\n      this.update.perform(this.settings);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isConnected}}\\n  <div data-test-success-info>\\n    <IcBanner class=\\\"u__mb__10\\\" @type=\\\"confirmation\\\">\\n      The Zendesk App is now available to add to your conversation details\\n    </IcBanner>\\n    <p class=\\\"t__light-text\\\">\\n      You can now open Zendesk tickets via the conversation details app in your inbox.\\n    </p>\\n  </div>\\n{{else}}\\n  <div data-test-credentials-form>\\n    <div class=\\\"f__group\\\">\\n      <p class=\\\"t__label f__group-label\\\">\\n        Zendesk Administrator Email Address\\n      </p>\\n      <input\\n        value={{zendeskUsername}}\\n        oninput={{action (mut zendeskUsername) value=\\\"target.value\\\"}}\\n        type=\\\"email\\\"\\n        class=\\\"f__text\\\"\\n        required\\n        data-test-username-field\\n      />\\n    </div>\\n    <div class=\\\"f__group\\\">\\n      <p class=\\\"t__label f__group-label\\\">\\n        Zendesk API Token\\n      </p>\\n      <input\\n        value={{zendeskApiToken}}\\n        oninput={{action (mut zendeskApiToken) value=\\\"target.value\\\"}}\\n        type=\\\"password\\\"\\n        class=\\\"f__text\\\"\\n        required\\n        data-test-api-token-field\\n      />\\n      <div class=\\\"t__right integrations__tooltip-overlap\\\">\\n        <IcTooltipIcon @content=\\\"Your Zendesk credentials and API key can be found in the Zendesk Admin home (clicking on the cog on the bottom left of the Zendesk app) and navigating to 'Channels'\\\" />\\n      </div>\\n    </div>\\n    <div class=\\\"f__group\\\">\\n      <p class=\\\"t__label f__group-label\\\">\\n        Zendesk App Name\\n      </p>\\n      <div class=\\\"integrations__addon-group-container\\\">\\n        <span class=\\\"integrations__addon-group\\\">\\n          https://\\n        </span>\\n        <input\\n          value={{zendeskAppName}}\\n          oninput={{action (mut zendeskAppName) value=\\\"target.value\\\"}}\\n          type=\\\"text\\\"\\n          class=\\\"integrations__addon-group\\\"\\n          required\\n          data-test-app-name-field\\n        />\\n        <span class=\\\"integrations__addon-group\\\">\\n          .zendesk.com\\n        </span>\\n      </div>\\n    </div>\\n    <IcButton\\n      @label=\\\"Connect\\\"\\n      @type=\\\"primary\\\"\\n      @processingLabel=\\\"Connecting...\\\"\\n      @disabled={{doesNotHaveAllCredentials}}\\n      @onClick={{perform update settings}}\\n      data-test-connect-button=\\\"true\\\"\\n    />\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isConnected}}\\n  <div data-test-success-info>\\n    <IcBanner class=\\\"u__mb__10\\\" @type=\\\"confirmation\\\">\\n      The Zendesk App is now available to add to your conversation details\\n    </IcBanner>\\n    <p class=\\\"t__light-text\\\">\\n      You can now open Zendesk tickets via the conversation details app in your inbox.\\n    </p>\\n  </div>\\n{{else}}\\n  <div data-test-credentials-form>\\n    <div class=\\\"f__group\\\">\\n      <p class=\\\"t__label f__group-label\\\">\\n        Zendesk Administrator Email Address\\n      </p>\\n      <input\\n        value={{zendeskUsername}}\\n        oninput={{action (mut zendeskUsername) value=\\\"target.value\\\"}}\\n        type=\\\"email\\\"\\n        class=\\\"f__text\\\"\\n        required\\n        data-test-username-field\\n      />\\n    </div>\\n    <div class=\\\"f__group\\\">\\n      <p class=\\\"t__label f__group-label\\\">\\n        Zendesk API Token\\n      </p>\\n      <input\\n        value={{zendeskApiToken}}\\n        oninput={{action (mut zendeskApiToken) value=\\\"target.value\\\"}}\\n        type=\\\"password\\\"\\n        class=\\\"f__text\\\"\\n        required\\n        data-test-api-token-field\\n      />\\n      <div class=\\\"t__right integrations__tooltip-overlap\\\">\\n        <IcTooltipIcon @content=\\\"Your Zendesk credentials and API key can be found in the Zendesk Admin home (clicking on the cog on the bottom left of the Zendesk app) and navigating to 'Channels'\\\" />\\n      </div>\\n    </div>\\n    <div class=\\\"f__group\\\">\\n      <p class=\\\"t__label f__group-label\\\">\\n        Zendesk App Name\\n      </p>\\n      <div class=\\\"integrations__addon-group-container\\\">\\n        <span class=\\\"integrations__addon-group\\\">\\n          https://\\n        </span>\\n        <input\\n          value={{zendeskAppName}}\\n          oninput={{action (mut zendeskAppName) value=\\\"target.value\\\"}}\\n          type=\\\"text\\\"\\n          class=\\\"integrations__addon-group\\\"\\n          required\\n          data-test-app-name-field\\n        />\\n        <span class=\\\"integrations__addon-group\\\">\\n          .zendesk.com\\n        </span>\\n      </div>\\n    </div>\\n    <IcButton\\n      @label=\\\"Connect\\\"\\n      @type=\\\"primary\\\"\\n      @processingLabel=\\\"Connecting...\\\"\\n      @disabled={{doesNotHaveAllCredentials}}\\n      @onClick={{perform update settings}}\\n      data-test-connect-button=\\\"true\\\"\\n    />\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/settings/zendesk-for-inbox/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/settings/zendesk-for-inbox/main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { and, not, readOnly, alias } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  store: service(),\n  intercomEventService: service(),\n  notificationsService: service(),\n\n  zendeskUsername: alias('settings.username'),\n  zendeskApiToken: alias('settings.apiToken'),\n  zendeskAppName: alias('settings.zendeskAppName'),\n  hasAllCredentials: and('zendeskUsername', 'zendeskApiToken', 'zendeskAppName'),\n\n  doesNotHaveAllCredentials: not('hasAllCredentials'),\n  isConnected: readOnly('settings.connected'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<span\\n  data-test-install-button-overlay\\n  {{tooltip content=\\\"You don't have permissions to uninstall, ask a teammate for help.\\\" isDisabled=(not @adminNotPermitted)}}\\n>\\n  <div class=\\\"u__mt__15\\\">\\n    <IcButton\\n      @class=\\\"appstore__app-details__uninstall-reinstall-button\\\"\\n      @type=\\\"secondary-destructive\\\"\\n      @label=\\\"Uninstall\\\"\\n      @onClick={{action (mut this.showUninstallModal) true}}\\n      @isDisabled={{@adminNotPermitted}}\\n      data-test-app-package-uninstall-button\\n    />\\n    <IcDropdownOpener\\n      @groupList={{this.groupList}}\\n      @onSelectItem={{action (mut this.showReinstallModal) true}}\\n      data-test-app-package-reinstall-dropdown-opener\\n    >\\n      <IcButton\\n        @class=\\\"appstore__app-details__uninstall-reinstall-opener\\\"\\n        @type=\\\"secondary\\\"\\n        @icon=\\\"vertical-ellipsis\\\"\\n        @subtle={{true}}\\n        @showsIconOnly={{true}}\\n        @isDisabled={{@adminNotPermitted}}\\n      />\\n    </IcDropdownOpener>\\n  </div>\\n</span>\\n{{#if this.showUninstallModal}}\\n  <Appstore::AppPackage::UninstallModal\\n    @app={{@app}}\\n    @appPackage={{@appPackage}}\\n    @closeModal={{action (mut this.showUninstallModal) false}}\\n    @uninstall={{@uninstall}}\\n    data-test-app-package-uninstall-modal\\n  />\\n{{/if}}\\n{{#if this.showReinstallModal}}\\n  <Appstore::AppPackage::ReinstallModal\\n    @app={{@app}}\\n    @appPackage={{@appPackage}}\\n    @closeModal={{action (mut this.showReinstallModal) false}}\\n    @reinstall={{@reinstall}}\\n    data-test-app-package-reinstall-modal\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<span\\n  data-test-install-button-overlay\\n  {{tooltip content=\\\"You don't have permissions to uninstall, ask a teammate for help.\\\" isDisabled=(not @adminNotPermitted)}}\\n>\\n  <div class=\\\"u__mt__15\\\">\\n    <IcButton\\n      @class=\\\"appstore__app-details__uninstall-reinstall-button\\\"\\n      @type=\\\"secondary-destructive\\\"\\n      @label=\\\"Uninstall\\\"\\n      @onClick={{action (mut this.showUninstallModal) true}}\\n      @isDisabled={{@adminNotPermitted}}\\n      data-test-app-package-uninstall-button\\n    />\\n    <IcDropdownOpener\\n      @groupList={{this.groupList}}\\n      @onSelectItem={{action (mut this.showReinstallModal) true}}\\n      data-test-app-package-reinstall-dropdown-opener\\n    >\\n      <IcButton\\n        @class=\\\"appstore__app-details__uninstall-reinstall-opener\\\"\\n        @type=\\\"secondary\\\"\\n        @icon=\\\"vertical-ellipsis\\\"\\n        @subtle={{true}}\\n        @showsIconOnly={{true}}\\n        @isDisabled={{@adminNotPermitted}}\\n      />\\n    </IcDropdownOpener>\\n  </div>\\n</span>\\n{{#if this.showUninstallModal}}\\n  <Appstore::AppPackage::UninstallModal\\n    @app={{@app}}\\n    @appPackage={{@appPackage}}\\n    @closeModal={{action (mut this.showUninstallModal) false}}\\n    @uninstall={{@uninstall}}\\n    data-test-app-package-uninstall-modal\\n  />\\n{{/if}}\\n{{#if this.showReinstallModal}}\\n  <Appstore::AppPackage::ReinstallModal\\n    @app={{@app}}\\n    @appPackage={{@appPackage}}\\n    @closeModal={{action (mut this.showReinstallModal) false}}\\n    @reinstall={{@reinstall}}\\n    data-test-app-package-reinstall-modal\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/app-package/uninstall-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/uninstall-button.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  showUninstallModal: false,\n  showReinstallModal: false,\n  groupList: [\n    {\n      items: [\n        {\n          text: 'Reinstall',\n          value: 'reinstall',\n        },\n      ],\n    },\n  ],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcModal\\n  @onModalClose={{@closeModal}}\\n  @isOpen={{true}}\\n  @width=\\\"m\\\" as |modal|\\n>\\n  <modal.header @title={{concat \\\"Uninstall \\\" this.appPackage.name}} />\\n  <modal.body>\\n    {{#if this.isProtectedAppPackage}}\\n      <p>\\n        This is a protected app package. Uninstalling could have unintended side effects\\n      </p>\\n    {{/if}}\\n    <p data-test-app-package-uninstall-modal-introduction>\\n      Be careful, uninstalling this app may significantly affect your use of Intercom.\\n      This app will no longer have access to data or be able to take actions on the <b\\n      >\\n        {{this.appName}}\\n      </b>\\n      workspace.\\n    </p>\\n    <Appstore::AppPackage::AppUsages\\n      @app={{this.app}}\\n      @appPackage={{this.appPackage}}\\n      @isDevHub={{this.isDevHub}}\\n    />\\n\\n    <IcContent>\\n      <div class=\\\"flex flex-col gap-1\\\">\\n        <p data-test-app-package-uninstall-modal-feedback>Please help us improve by selecting your reason for uninstalling the app.</p>\\n        <IcSelect\\n          data-test-app-package-uninstall-modal-feedback-select\\n          @items={{this.reasons}}\\n          @mode=\\\"block\\\"\\n          @onSelectItem={{set formattedFeedback}}\\n          @selectedValue={{formattedFeedback}}\\n          @defaultLabel=\\\"Choose a reason...\\\"\\n        />\\n        {{#if this.selectedCustomFeedback}}\\n        <Textarea\\n          data-test-app-package-uninstall-modal-feedback-input\\n          @class=\\\"f__text o__fit\\\"\\n          @value={{this.customFeedback}}\\n          @mode=\\\"block\\\"\\n          placeholder=\\\"I was expecting/I encountered an issue with...\\\"\\n          />\\n        {{/if}}      </div>\\n      <div class=\\\"flex flex-col gap-1\\\">\\n        <p data-test-app-package-uninstall-modal-conclusion>\\n          Please type <b>\\n            UNINSTALL\\n          </b>\\n          below to confirm that you really want to remove {{appPackage.name\\n          }} from the <b>\\n            {{appName}}\\n          </b>\\n          workspace. You can't undo this.\\n        </p>\\n\\n        <Input\\n          @class=\\\"f__text o__fit\\\"\\n          @value={{this.uninstallConfirmValue}}\\n          placeholder=\\\"Type UNINSTALL to confirm\\\"\\n          @disabled={{this.isUninstalling}}\\n          data-test-app-package-uninstall-modal-confirm-input\\n        />\\n      </div>\\n    </IcContent>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=(if uninstall.isRunning \\\"Uninstalling...\\\" \\\"Uninstall\\\")\\n      disabled=(not canUninstall)\\n      action=this.confirm\\n      type=\\\"destructive\\\"\\n      data-test-app-package-uninstall-modal-uninstall-button=true\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=@closeModal\\n      data-test-app-package-uninstall-modal-cancel-button=true\\n    }}\\n  />\\n</IcModal>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcModal\\n  @onModalClose={{@closeModal}}\\n  @isOpen={{true}}\\n  @width=\\\"m\\\" as |modal|\\n>\\n  <modal.header @title={{concat \\\"Uninstall \\\" this.appPackage.name}} />\\n  <modal.body>\\n    {{#if this.isProtectedAppPackage}}\\n      <p>\\n        This is a protected app package. Uninstalling could have unintended side effects\\n      </p>\\n    {{/if}}\\n    <p data-test-app-package-uninstall-modal-introduction>\\n      Be careful, uninstalling this app may significantly affect your use of Intercom.\\n      This app will no longer have access to data or be able to take actions on the <b\\n      >\\n        {{this.appName}}\\n      </b>\\n      workspace.\\n    </p>\\n    <Appstore::AppPackage::AppUsages\\n      @app={{this.app}}\\n      @appPackage={{this.appPackage}}\\n      @isDevHub={{this.isDevHub}}\\n    />\\n\\n    <IcContent>\\n      <div class=\\\"flex flex-col gap-1\\\">\\n        <p data-test-app-package-uninstall-modal-feedback>Please help us improve by selecting your reason for uninstalling the app.</p>\\n        <IcSelect\\n          data-test-app-package-uninstall-modal-feedback-select\\n          @items={{this.reasons}}\\n          @mode=\\\"block\\\"\\n          @onSelectItem={{set formattedFeedback}}\\n          @selectedValue={{formattedFeedback}}\\n          @defaultLabel=\\\"Choose a reason...\\\"\\n        />\\n        {{#if this.selectedCustomFeedback}}\\n        <Textarea\\n          data-test-app-package-uninstall-modal-feedback-input\\n          @class=\\\"f__text o__fit\\\"\\n          @value={{this.customFeedback}}\\n          @mode=\\\"block\\\"\\n          placeholder=\\\"I was expecting/I encountered an issue with...\\\"\\n          />\\n        {{/if}}      </div>\\n      <div class=\\\"flex flex-col gap-1\\\">\\n        <p data-test-app-package-uninstall-modal-conclusion>\\n          Please type <b>\\n            UNINSTALL\\n          </b>\\n          below to confirm that you really want to remove {{appPackage.name\\n          }} from the <b>\\n            {{appName}}\\n          </b>\\n          workspace. You can't undo this.\\n        </p>\\n\\n        <Input\\n          @class=\\\"f__text o__fit\\\"\\n          @value={{this.uninstallConfirmValue}}\\n          placeholder=\\\"Type UNINSTALL to confirm\\\"\\n          @disabled={{this.isUninstalling}}\\n          data-test-app-package-uninstall-modal-confirm-input\\n        />\\n      </div>\\n    </IcContent>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=(if uninstall.isRunning \\\"Uninstalling...\\\" \\\"Uninstall\\\")\\n      disabled=(not canUninstall)\\n      action=this.confirm\\n      type=\\\"destructive\\\"\\n      data-test-app-package-uninstall-modal-uninstall-button=true\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=@closeModal\\n      data-test-app-package-uninstall-modal-cancel-button=true\\n    }}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/uninstall-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/uninstall-modal.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport { equal, readOnly, and, notEmpty } from '@ember/object/computed';\nimport { APP_PACKAGE_UNINSTALL_REASONS } from 'embercom/models/developer-hub/app-package/reports/uninstall-feedback';\n\nexport default Component.extend({\n  appName: readOnly('app.name'),\n  isUninstalling: false,\n\n  reasons: Object.entries(APP_PACKAGE_UNINSTALL_REASONS).map(([value, text]) => {\n    return { text, value };\n  }),\n\n  uninstallConfirmValue: '',\n  formattedFeedback: undefined,\n  customFeedback: undefined,\n  selectedCustomFeedback: equal('formattedFeedback', 'other'),\n  enteredUninstall: equal('uninstallConfirmValue', 'UNINSTALL'),\n  enteredFeedback: notEmpty('formattedFeedback'),\n  canUninstall: and('enteredUninstall', 'enteredFeedback'),\n  isProtectedAppPackage: readOnly('appPackage.isProtectedAppPackage'),\n\n  confirm: action(function() {\n    this.set('isUninstalling', true);\n    return this.uninstall.perform(this.formattedFeedback, this.customFeedback);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<p data-test-app-package-usage-item-title>\\n  {{ic-interface-icon \\\"alert\\\" color=\\\"red\\\"}} {{@itemTitle}}\\n</p>\\n{{#if subItemsToDisplay}}\\n  <ul class=\\\"u__mb__0\\\" data-test-app-package-usage-sub-item-container>\\n    {{#each subItemsToDisplay as |item index|}}\\n      <li data-test-app-package-usage-sub-item=\\\"{{index}}\\\">\\n        {{yield item}}\\n      </li>\\n    {{/each}}\\n    {{#if shouldShowExpandButton}}\\n      <li>\\n        <span\\n          class=\\\"t__em-link\\\"\\n          onclick={{action \\\"expandSubItems\\\"}}\\n          data-test-app-package-usage-item-expand-button\\n        >\\n          + {{hiddenSubItemsCount}} more\\n        </span>\\n      </li>\\n    {{/if}}\\n  </ul>\\n{{/if}}\\n<div class=\\\"h-5\\\"></div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<p data-test-app-package-usage-item-title>\\n  {{ic-interface-icon \\\"alert\\\" color=\\\"red\\\"}} {{@itemTitle}}\\n</p>\\n{{#if subItemsToDisplay}}\\n  <ul class=\\\"u__mb__0\\\" data-test-app-package-usage-sub-item-container>\\n    {{#each subItemsToDisplay as |item index|}}\\n      <li data-test-app-package-usage-sub-item=\\\"{{index}}\\\">\\n        {{yield item}}\\n      </li>\\n    {{/each}}\\n    {{#if shouldShowExpandButton}}\\n      <li>\\n        <span\\n          class=\\\"t__em-link\\\"\\n          onclick={{action \\\"expandSubItems\\\"}}\\n          data-test-app-package-usage-item-expand-button\\n        >\\n          + {{hiddenSubItemsCount}} more\\n        </span>\\n      </li>\\n    {{/if}}\\n  </ul>\\n{{/if}}\\n<div class=\\\"h-5\\\"></div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/uninstall-modal/usage-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/uninstall-modal/usage-item.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { lte, not, or } from '@ember/object/computed';\nimport { computed } from '@ember/object';\n\nconst MAX_LIST_ITEMS = 6;\n\nexport default Component.extend({\n  expandSubItems: false,\n  itemCount: computed('items.[]', function() {\n    return this.items ? this.items.length : 0;\n  }),\n\n  shouldShowAllByDefault: lte('itemCount', MAX_LIST_ITEMS),\n  shouldShowAllSubItems: or('expandSubItems', 'shouldShowAllByDefault'),\n  shouldShowExpandButton: not('shouldShowAllSubItems'),\n\n  subItemsToDisplay: computed('items.[]', 'shouldShowAllSubItems', function() {\n    return this.shouldShowAllSubItems ? this.items : this.items.slice(0, MAX_LIST_ITEMS - 1);\n  }),\n  hiddenSubItemsCount: computed('items.[]', 'subItemsToDisplay.[]', function() {\n    return this.get('items.length') - this.get('subItemsToDisplay.length');\n  }),\n\n  actions: {\n    expandSubItems() {\n      this.set('expandSubItems', true);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  data-test-install-button-overlay\\n  class=\\\"layout__box o__flexes-to-1 o__has-columns\\\"\\n  {{tooltip content=\\\"You must first verify your email before installing an app.\\\"}}\\n>\\n  {{#if emailVerificationSent}}\\n    <IcButton\\n      @type=\\\"primary\\\"\\n      @onClick={{perform sendVerificationEmail}}\\n      class=\\\"w-full\\\"\\n      @isDisabled={{disableVerificationButton}}\\n      data-test-resend-verification-button={{true}}\\n      @label=\\\"Resend verification email\\\"\\n    />\\n  {{else}}\\n    <IcButton\\n      @type=\\\"primary\\\"\\n      @onClick={{perform sendVerificationEmail}}\\n      class=\\\"w-full\\\"\\n      data-test-verify-email-button={{true}}\\n      @label=\\\"Verify email\\\"\\n    />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  data-test-install-button-overlay\\n  class=\\\"layout__box o__flexes-to-1 o__has-columns\\\"\\n  {{tooltip content=\\\"You must first verify your email before installing an app.\\\"}}\\n>\\n  {{#if emailVerificationSent}}\\n    <IcButton\\n      @type=\\\"primary\\\"\\n      @onClick={{perform sendVerificationEmail}}\\n      class=\\\"w-full\\\"\\n      @isDisabled={{disableVerificationButton}}\\n      data-test-resend-verification-button={{true}}\\n      @label=\\\"Resend verification email\\\"\\n    />\\n  {{else}}\\n    <IcButton\\n      @type=\\\"primary\\\"\\n      @onClick={{perform sendVerificationEmail}}\\n      class=\\\"w-full\\\"\\n      data-test-verify-email-button={{true}}\\n      @label=\\\"Verify email\\\"\\n    />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/app-package/verify-email-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/app-package/verify-email-button.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly, not } from '@ember/object/computed';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  appService: service(),\n  notificationsService: service(),\n  app: readOnly('appService.app'),\n  currentAdmin: readOnly('app.currentAdmin'),\n  emailVerificationSent: readOnly('currentAdmin.current_email_pending_verification'),\n  disableVerificationButton: not('currentAdmin.canResendVerificationEmail'),\n\n  sendVerificationEmail: task(function*() {\n    try {\n      yield this.currentAdmin.sendValidationEmailWithRetry();\n      this.notificationsService.notifyConfirmation(\n        'Verification email sent. Please check your email.',\n      );\n    } catch (e) {\n      this.notificationsService.notifyError(\n        'Something went wrong sending your verfication email. Please try again.',\n      );\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Appstore::Recommendations\\n  @recentlyViewed={{@recentlyViewed}}\\n  @onAppPackageClick={{@onAppPackageClick}}\\n>\\n  {{#each @featuredCategoriesAndApps as |item|}}\\n    <div data-intercom-target={{concat \\\"app-store-category-\\\" (lowercase item.category.name)}}>\\n      <Appstore::Listing::GridHeader @title={{item.category.name}}>\\n        <span {{on 'click' (fn @clickSeeAllLink item.category.slug)}}\\n          class=\\\"appstore__grid__see-all o__marketing-font\\\"\\n          data-test-appstore-category-see-all=\\\"{{item.category.slug}}\\\"\\n        >\\n          See all →\\n        </span>\\n      </Appstore::Listing::GridHeader>\\n      <Appstore::Listing::GridLayout\\n        @appPackages={{item.appPackages}}\\n        @onAppPackageClick={{action @onAppPackageClick item.category.slug}}\\n        @limitToSingleRow={{true}}\\n        @shouldUseResponsiveGridItems={{not @isPublicAppStore}}\\n      />\\n    </div>\\n  {{/each}}\\n</Appstore::Recommendations>\\n\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Appstore::Recommendations\\n  @recentlyViewed={{@recentlyViewed}}\\n  @onAppPackageClick={{@onAppPackageClick}}\\n>\\n  {{#each @featuredCategoriesAndApps as |item|}}\\n    <div data-intercom-target={{concat \\\"app-store-category-\\\" (lowercase item.category.name)}}>\\n      <Appstore::Listing::GridHeader @title={{item.category.name}}>\\n        <span {{on 'click' (fn @clickSeeAllLink item.category.slug)}}\\n          class=\\\"appstore__grid__see-all o__marketing-font\\\"\\n          data-test-appstore-category-see-all=\\\"{{item.category.slug}}\\\"\\n        >\\n          See all →\\n        </span>\\n      </Appstore::Listing::GridHeader>\\n      <Appstore::Listing::GridLayout\\n        @appPackages={{item.appPackages}}\\n        @onAppPackageClick={{action @onAppPackageClick item.category.slug}}\\n        @limitToSingleRow={{true}}\\n        @shouldUseResponsiveGridItems={{not @isPublicAppStore}}\\n      />\\n    </div>\\n  {{/each}}\\n</Appstore::Recommendations>\\n\\n\",\"moduleName\":\"embercom/components/appstore/categories-grid.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/categories-grid.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  data-test-capability-banner\\n  class=\\\"appstore__capability__banner-container {{if (media\\n      \\\"isMobile\\\"\\n    ) \\\"u__padl__30 u__padr__30 u__padb__30\\\" \\\"u__pad__30 u__mt__10\\\"}}\\\"\\n>\\n  <div class=\\\"appstore__capability__banner-content-wrapper\\\">\\n    {{#if (eq capability.slug \\\"messages\\\")}}\\n      <Appstore::Listing::CapabilityContent\\n        @name={{capability.name}}\\n        @svg=\\\"products/messages-24px\\\"\\n        @headerText=\\\"Enrich messages with powerful interactions\\\"\\n        @subText=\\\"Embed apps in your messages that let people take actions inside the Messenger – like scheduling demos, responding to surveys and more.\\\"\\n      />\\n    {{else if (eq capability.slug \\\"inbox\\\")}}\\n      <Appstore::Listing::CapabilityContent\\n        @name={{capability.name}}\\n        @svg=\\\"products/inbox-24px\\\"\\n        @headerText=\\\"Tailor your Inbox to work the way you do\\\"\\n        @subText=\\\"Bring all of your information and tools into your Inbox, and complete actions – like booking meetings, starting video calls and more – right inside your conversations.\\\"\\n      />\\n    {{else if (eq capability.slug \\\"operator\\\")}}\\n      <Appstore::Listing::CapabilityContent\\n        @name={{capability.name}}\\n        @svg=\\\"products/operator-24px\\\"\\n        @headerText=\\\"Enable your bots to do more than just chat\\\"\\n        @subText=\\\"Reduce your conversation volume by encouraging your leads to take the next best step in their buying decision and helping your customers resolve their own queries.\\\"\\n      />\\n    {{else if (eq capability.slug \\\"messenger\\\")}}\\n      <Appstore::Listing::CapabilityContent\\n        @name={{capability.name}}\\n        @svg=\\\"products/messenger-24px\\\"\\n        @headerText=\\\"Help your visitors and users self-serve\\\"\\n        @subText=\\\"Add apps to your Messenger home and make it easy to find help articles, book demos and more – without even starting a conversation.\\\"\\n      />\\n    {{/if}}\\n  </div>\\n  <div\\n    class=\\\"appstore__capability__banner-{{if (eq\\n        capability.slug \\\"operator\\\"\\n      ) \\\"operator-\\\"}}asset-wrapper\\\"\\n  >\\n    {{#if (eq capability.slug \\\"messages\\\")}}\\n      <img\\n        data-test-messages-banner-image\\n        class=\\\"appstore__capability__banner-hero-asset\\\"\\n        src=\\\"/assets/images/appstore/works-with-messages-hero.png\\\"\\n      />\\n    {{else if (eq capability.slug \\\"inbox\\\")}}\\n      <img\\n        data-test-inbox-banner-image\\n        class=\\\"appstore__capability__banner-hero-asset\\\"\\n        src=\\\"/assets/images/appstore/works-with-inbox-hero.png\\\"\\n      />\\n    {{else if (eq capability.slug \\\"operator\\\")}}\\n      <video\\n        data-test-operator-banner-video\\n        src=\\\"/assets/videos/appstore/works-with-operator.mp4\\\"\\n        autoplay=\\\"true\\\"\\n        muted=\\\"muted\\\"\\n        id=\\\"appstore__capability__banner-operator-video\\\"\\n        class=\\\"appstore__capability__banner-hero-asset\\\"\\n        onmouseenter={{this.playVideo}}\\n      ></video>\\n    {{else if (eq capability.slug \\\"messenger\\\")}}\\n      <img\\n        class=\\\"appstore__capability__banner-hero-asset\\\"\\n        src=\\\"/assets/images/appstore/works-with-messenger-hero.png\\\"\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  data-test-capability-banner\\n  class=\\\"appstore__capability__banner-container {{if (media\\n      \\\"isMobile\\\"\\n    ) \\\"u__padl__30 u__padr__30 u__padb__30\\\" \\\"u__pad__30 u__mt__10\\\"}}\\\"\\n>\\n  <div class=\\\"appstore__capability__banner-content-wrapper\\\">\\n    {{#if (eq capability.slug \\\"messages\\\")}}\\n      <Appstore::Listing::CapabilityContent\\n        @name={{capability.name}}\\n        @svg=\\\"products/messages-24px\\\"\\n        @headerText=\\\"Enrich messages with powerful interactions\\\"\\n        @subText=\\\"Embed apps in your messages that let people take actions inside the Messenger – like scheduling demos, responding to surveys and more.\\\"\\n      />\\n    {{else if (eq capability.slug \\\"inbox\\\")}}\\n      <Appstore::Listing::CapabilityContent\\n        @name={{capability.name}}\\n        @svg=\\\"products/inbox-24px\\\"\\n        @headerText=\\\"Tailor your Inbox to work the way you do\\\"\\n        @subText=\\\"Bring all of your information and tools into your Inbox, and complete actions – like booking meetings, starting video calls and more – right inside your conversations.\\\"\\n      />\\n    {{else if (eq capability.slug \\\"operator\\\")}}\\n      <Appstore::Listing::CapabilityContent\\n        @name={{capability.name}}\\n        @svg=\\\"products/operator-24px\\\"\\n        @headerText=\\\"Enable your bots to do more than just chat\\\"\\n        @subText=\\\"Reduce your conversation volume by encouraging your leads to take the next best step in their buying decision and helping your customers resolve their own queries.\\\"\\n      />\\n    {{else if (eq capability.slug \\\"messenger\\\")}}\\n      <Appstore::Listing::CapabilityContent\\n        @name={{capability.name}}\\n        @svg=\\\"products/messenger-24px\\\"\\n        @headerText=\\\"Help your visitors and users self-serve\\\"\\n        @subText=\\\"Add apps to your Messenger home and make it easy to find help articles, book demos and more – without even starting a conversation.\\\"\\n      />\\n    {{/if}}\\n  </div>\\n  <div\\n    class=\\\"appstore__capability__banner-{{if (eq\\n        capability.slug \\\"operator\\\"\\n      ) \\\"operator-\\\"}}asset-wrapper\\\"\\n  >\\n    {{#if (eq capability.slug \\\"messages\\\")}}\\n      <img\\n        data-test-messages-banner-image\\n        class=\\\"appstore__capability__banner-hero-asset\\\"\\n        src=\\\"/assets/images/appstore/works-with-messages-hero.png\\\"\\n      />\\n    {{else if (eq capability.slug \\\"inbox\\\")}}\\n      <img\\n        data-test-inbox-banner-image\\n        class=\\\"appstore__capability__banner-hero-asset\\\"\\n        src=\\\"/assets/images/appstore/works-with-inbox-hero.png\\\"\\n      />\\n    {{else if (eq capability.slug \\\"operator\\\")}}\\n      <video\\n        data-test-operator-banner-video\\n        src=\\\"/assets/videos/appstore/works-with-operator.mp4\\\"\\n        autoplay=\\\"true\\\"\\n        muted=\\\"muted\\\"\\n        id=\\\"appstore__capability__banner-operator-video\\\"\\n        class=\\\"appstore__capability__banner-hero-asset\\\"\\n        onmouseenter={{this.playVideo}}\\n      ></video>\\n    {{else if (eq capability.slug \\\"messenger\\\")}}\\n      <img\\n        class=\\\"appstore__capability__banner-hero-asset\\\"\\n        src=\\\"/assets/images/appstore/works-with-messenger-hero.png\\\"\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/listing/capabilities-banner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/listing/capabilities-banner.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nimport { action } from '@ember/object';\n\nexport default Component.extend({\n  playVideo: action(function({ target }) {\n    target.play();\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div>\\n  {{inline-svg\\n    @svg\\n    class=\\\"appstore__capability__banner-product-icon u__left u__mr__5\\\"\\n  }} <h4 class=\\\"appstore__capability__banner-sub-heading\\\">\\n    {{@name}}\\n  </h4>\\n</div>\\n<h2\\n  class=\\\"u__mt__10 u__mb__10 appstore__capability__banner-heading\\\"\\n  data-test-capability-header\\n>\\n  {{@headerText}}\\n</h2>\\n<p class=\\\"appstore__capability__banner-subtext\\\">\\n  {{@subText}}\\n</p>\\n\", {\"contents\":\"<div>\\n  {{inline-svg\\n    @svg\\n    class=\\\"appstore__capability__banner-product-icon u__left u__mr__5\\\"\\n  }} <h4 class=\\\"appstore__capability__banner-sub-heading\\\">\\n    {{@name}}\\n  </h4>\\n</div>\\n<h2\\n  class=\\\"u__mt__10 u__mb__10 appstore__capability__banner-heading\\\"\\n  data-test-capability-header\\n>\\n  {{@headerText}}\\n</h2>\\n<p class=\\\"appstore__capability__banner-subtext\\\">\\n  {{@subText}}\\n</p>\\n\",\"moduleName\":\"embercom/components/appstore/listing/capability-content.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/listing/capability-content.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"appstore__capability__filter-item\\\"\\n  data-test-capability-filter-item=\\\"{{@item.label}}\\\"\\n  data-track-analytics-event-object=\\\"{{@item.analyticObject}}\\\"\\n>\\n  {{@item.label}}\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"appstore__capability__filter-item\\\"\\n  data-test-capability-filter-item=\\\"{{@item.label}}\\\"\\n  data-track-analytics-event-object=\\\"{{@item.analyticObject}}\\\"\\n>\\n  {{@item.label}}\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/listing/capability-filter-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/listing/capability-filter-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if this.appPackageGroup.appPackages}}\\n  <div data-test-capability-grid-group=\\\"{{this.appPackageGroup.name}}\\\">\\n    <Appstore::Listing::GridHeader\\n      @title={{concat \\\"Works with \\\" this.appPackageGroup.name}}\\n      data-test-group-title={{this.appPackageGroup.name}}\\n    >\\n      {{#if (eq @capability.slug \\\"inbox\\\")}}\\n        <IcDropdownOpener\\n          @groupList={{this.filterGroupList}}\\n          @label={{this.filterValue}}\\n          @buttonParams={{this.buttonParams}}\\n          @onSelectItem={{this.onInboxCapabilityChange}}\\n          class=\\\"u__right appstore__capability__filter-opener\\\"\\n          data-test-inbox-capability-filter-opener\\n        />\\n      {{/if}}\\n    </Appstore::Listing::GridHeader>\\n    <Appstore::Listing::GridLayout\\n      @appPackages={{this.appPackageGroup.appPackages}}\\n      @onAppPackageClick={{action @onAppPackageClick this.appPackageGroup.name}}\\n      @shouldUseResponsiveGridItems={{not @isPublicAppStore}}\\n    />\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if this.appPackageGroup.appPackages}}\\n  <div data-test-capability-grid-group=\\\"{{this.appPackageGroup.name}}\\\">\\n    <Appstore::Listing::GridHeader\\n      @title={{concat \\\"Works with \\\" this.appPackageGroup.name}}\\n      data-test-group-title={{this.appPackageGroup.name}}\\n    >\\n      {{#if (eq @capability.slug \\\"inbox\\\")}}\\n        <IcDropdownOpener\\n          @groupList={{this.filterGroupList}}\\n          @label={{this.filterValue}}\\n          @buttonParams={{this.buttonParams}}\\n          @onSelectItem={{this.onInboxCapabilityChange}}\\n          class=\\\"u__right appstore__capability__filter-opener\\\"\\n          data-test-inbox-capability-filter-opener\\n        />\\n      {{/if}}\\n    </Appstore::Listing::GridHeader>\\n    <Appstore::Listing::GridLayout\\n      @appPackages={{this.appPackageGroup.appPackages}}\\n      @onAppPackageClick={{action @onAppPackageClick this.appPackageGroup.name}}\\n      @shouldUseResponsiveGridItems={{not @isPublicAppStore}}\\n    />\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/listing/capability-grid.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/listing/capability-grid.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed, action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  tagName: '',\n  appService: service(),\n  sidebarLabel: 'Add to conversation details',\n  conversationsLabel: 'Send in conversations',\n  everywhereLabel: 'Use in conversations or details',\n\n  filterValue: computed('inboxCapability', function() {\n    let inboxCapability = this.inboxCapability;\n    if (inboxCapability === 'sidebar') {\n      return this.sidebarLabel;\n    }\n    if (inboxCapability === 'conversations') {\n      return this.conversationsLabel;\n    }\n    return this.everywhereLabel;\n  }),\n\n  init() {\n    this._super(...arguments);\n\n    this.setProperties({\n      buttonParams: { subtle: true },\n      filterGroupList: [\n        {\n          items: [\n            {\n              inboxCapability: null,\n              label: this.everywhereLabel,\n              analyticObject: 'inbox_capabilities_filter_all',\n              component: 'appstore/listing/capability-filter-item',\n            },\n            {\n              inboxCapability: 'sidebar',\n              label: this.sidebarLabel,\n              analyticObject: 'inbox_capabilities_filter_sidebar',\n              component: 'appstore/listing/capability-filter-item',\n            },\n            {\n              inboxCapability: 'conversations',\n              label: this.conversationsLabel,\n              analyticObject: 'inbox_capabilities_filter_conversations',\n              component: 'appstore/listing/capability-filter-item',\n            },\n          ],\n        },\n      ],\n    });\n  },\n\n  _inboxAppPackages: computed('inboxCapability', 'appPackages.[]', function() {\n    let appPackages = this.appPackages;\n\n    switch (this.inboxCapability) {\n      case 'conversations':\n        return appPackages.filter(appPackage =>\n          appPackage.get('capabilities.works_with_inbox_conversations'),\n        );\n      case 'sidebar':\n        return appPackages.filter(appPackage =>\n          appPackage.get('capabilities.works_with_inbox_sidebar'),\n        );\n      default:\n        return appPackages;\n    }\n  }),\n\n  appPackageGroup: computed('appPackages.[]', 'capability', '_inboxAppPackages', function() {\n    let { name } = this.capability;\n    let appPackages = name === 'Inbox' ? this._inboxAppPackages : this.appPackages;\n    return { name, appPackages };\n  }),\n\n  onInboxCapabilityChange: action(function(item) {\n    this.set('inboxCapability', item.inboxCapability);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<LinkTo\\n  @query={{hash category=@collection.slug}}\\n  class=\\\"appstore__collection-card__link\\\"\\n>\\n  <div\\n    class=\\\"appstore__collection-card appstore__collection-card__{{@collection.content.theme}} u__left\\\"\\n    data-test-appstore-collection-card\\n    style=\\\"background-image: url('{{@backgroundUrl}}')\\\"\\n  >\\n    <div class=\\\"appstore__collection-card__title-container\\\">\\n      <div class=\\\"appstore__collection-card__title\\\">\\n        {{@collection.content.title}}\\n      </div>\\n    </div>\\n\\n    <div>\\n      <a href=\\\"#\\\" class=\\\"appstore__collection-card__button\\\">\\n        View collection →\\n      </a>\\n    </div>\\n  </div>\\n</LinkTo>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<LinkTo\\n  @query={{hash category=@collection.slug}}\\n  class=\\\"appstore__collection-card__link\\\"\\n>\\n  <div\\n    class=\\\"appstore__collection-card appstore__collection-card__{{@collection.content.theme}} u__left\\\"\\n    data-test-appstore-collection-card\\n    style=\\\"background-image: url('{{@backgroundUrl}}')\\\"\\n  >\\n    <div class=\\\"appstore__collection-card__title-container\\\">\\n      <div class=\\\"appstore__collection-card__title\\\">\\n        {{@collection.content.title}}\\n      </div>\\n    </div>\\n\\n    <div>\\n      <a href=\\\"#\\\" class=\\\"appstore__collection-card__button\\\">\\n        View collection →\\n      </a>\\n    </div>\\n  </div>\\n</LinkTo>\\n\",\"moduleName\":\"embercom/components/appstore/listing/collection-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/listing/collection-card.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div  ...attributes>\\n  <div class=\\\"appstore__collection-card__container\\\">\\n    {{#each this.randomisedCollections as |collection index|}}\\n      <span {{on \\\"click\\\" (fn this.trackCardClick collection index)}}>\\n        <Appstore::Listing::CollectionCard\\n          @collection={{collection}}\\n          @backgroundUrl={{get this.backgroundUrls collection.content.thumbnail_path}}\\n        />\\n      </span>\\n    {{/each}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div  ...attributes>\\n  <div class=\\\"appstore__collection-card__container\\\">\\n    {{#each this.randomisedCollections as |collection index|}}\\n      <span {{on \\\"click\\\" (fn this.trackCardClick collection index)}}>\\n        <Appstore::Listing::CollectionCard\\n          @collection={{collection}}\\n          @backgroundUrl={{get this.backgroundUrls collection.content.thumbnail_path}}\\n        />\\n      </span>\\n    {{/each}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/listing/collection-cards-container.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/listing/collection-cards-container.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport shuffle from '@intercom/embercom-core/lib/shuffle';\n\nconst DISPLAY_3_CARDS_WIDTH = 1650;\n\nexport default class CollectionCardsContainer extends Component {\n  @service intercomEventService;\n\n  get randomisedCollections() {\n    return shuffle(this.args.collections);\n  }\n\n  backgroundUrls = {\n    apps_by_intercom: '/assets/images/appstore/collections/apps-by-intercom-horizontal.png',\n    hottest_apps: '/assets/images/appstore/collections/hottest-apps-horizontal.png',\n    measure_nps: '/assets/images/appstore/collections/measure-nps-horizontal.png',\n    schedule_sales_calls: '/assets/images/appstore/collections/schedule-sales-calls-horizontal.png',\n    super_charge_data: '/assets/images/appstore/collections/super-charge-data-horizontal.png',\n    survey: '/assets/images/appstore/collections/survey-horizontal.png',\n  };\n\n  @action\n  trackCardClick(collection, cardIndex) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'collection_card',\n      collection: collection.slug,\n      card_index: cardIndex + 1,\n      displayed_cards: window.innerWidth < DISPLAY_3_CARDS_WIDTH ? 2 : 3,\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n<div ...attributes\\n  style=\\\"background-image:url({{get this.backgroundUrls @collection.content.thumbnail_path}});\\\"\\n>\\n  <div class=\\\"appstore__collection__title-container appstore__collection__title-container__{{@collection.content.theme}} u__left\\\">\\n    <div class=\\\"appstore__collection__title-content\\\">\\n      <LinkTo @query={{hash category=null}}\\n        class=\\\"appstore__collection__title-content-link\\\"\\n        {{on \\\"click\\\" (track-analytics-event action=\\\"clicked\\\" object=\\\"collection_app_store_link\\\" collection=@collection.slug)}}\\n      >\\n        {{ic-interface-icon 'thin-left-arrow' solo=true}}\\n        Back to App Store\\n      </LinkTo>\\n      <h1 class=\\\"appstore__collection__title-content-title\\\"\\n        data-test-collection-title\\n      >\\n        {{@collection.name}}\\n      </h1>\\n      <p class=\\\"appstore__collection__title-content-description\\\" data-test-collection-subtitle>\\n        {{@collection.content.description}}\\n      </p>\\n    </div>\\n  </div>\\n  <div class=\\\"appstore__collection__apps-container u__left\\\">\\n    {{#each (shuffle @appPackages) as |appPackage|}}\\n      <div class=\\\"appstore__collection__app-container u__left\\\">\\n        <Appstore::AppCard\\n          @appPackage={{appPackage}}\\n          @onClick={{action @onAppPackageClick @collection.slug}}\\n          @hasFixedHeight={{true}}\\n        />\\n      </div>\\n    {{/each}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n<div ...attributes\\n  style=\\\"background-image:url({{get this.backgroundUrls @collection.content.thumbnail_path}});\\\"\\n>\\n  <div class=\\\"appstore__collection__title-container appstore__collection__title-container__{{@collection.content.theme}} u__left\\\">\\n    <div class=\\\"appstore__collection__title-content\\\">\\n      <LinkTo @query={{hash category=null}}\\n        class=\\\"appstore__collection__title-content-link\\\"\\n        {{on \\\"click\\\" (track-analytics-event action=\\\"clicked\\\" object=\\\"collection_app_store_link\\\" collection=@collection.slug)}}\\n      >\\n        {{ic-interface-icon 'thin-left-arrow' solo=true}}\\n        Back to App Store\\n      </LinkTo>\\n      <h1 class=\\\"appstore__collection__title-content-title\\\"\\n        data-test-collection-title\\n      >\\n        {{@collection.name}}\\n      </h1>\\n      <p class=\\\"appstore__collection__title-content-description\\\" data-test-collection-subtitle>\\n        {{@collection.content.description}}\\n      </p>\\n    </div>\\n  </div>\\n  <div class=\\\"appstore__collection__apps-container u__left\\\">\\n    {{#each (shuffle @appPackages) as |appPackage|}}\\n      <div class=\\\"appstore__collection__app-container u__left\\\">\\n        <Appstore::AppCard\\n          @appPackage={{appPackage}}\\n          @onClick={{action @onAppPackageClick @collection.slug}}\\n          @hasFixedHeight={{true}}\\n        />\\n      </div>\\n    {{/each}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/listing/collection.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/listing/collection.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class Collection extends Component {\n  backgroundUrls = {\n    apps_by_intercom: '/assets/images/appstore/collections/apps-by-intercom-vertical.png',\n    hottest_apps: '/assets/images/appstore/collections/hottest-apps-vertical.png',\n    measure_nps: '/assets/images/appstore/collections/measure-nps-vertical.png',\n    schedule_sales_calls: '/assets/images/appstore/collections/schedule-sales-calls-vertical.png',\n    super_charge_data: '/assets/images/appstore/collections/super-charge-data-vertical.png',\n    survey: '/assets/images/appstore/collections/survey-vertical.png',\n  };\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"appstore__grid-footer layout__box o__has-rows u__center-layout o__center-text\\\"\\n  data-test-appstore-grid-footer\\n>\\n  <h2\\n    class=\\\"appstore__grid-footer__title u__display-block\\\"\\n    data-test-appstore-grid-footer-title\\n  >\\n    Can't find what you need?\\n  </h2>\\n  <p\\n    class=\\\"appstore__grid-footer__subtitle u__display-block\\\"\\n    data-test-appstore-grid-footer-subtitle\\n  >\\n    Build your own apps in a matter of hours - whether just for your own team or for others to use too.\\n  </p>\\n  <a\\n    href=\\\"https://developers.intercom.com/\\\"\\n    class=\\\"u__display-block appstore__grid-footer__explore-api\\\"\\n    data-test-appstore-grid-footer-link\\n    {{action \\\"trackClick\\\" preventDefault=false}}\\n  >\\n    Explore the API\\n  </a>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"appstore__grid-footer layout__box o__has-rows u__center-layout o__center-text\\\"\\n  data-test-appstore-grid-footer\\n>\\n  <h2\\n    class=\\\"appstore__grid-footer__title u__display-block\\\"\\n    data-test-appstore-grid-footer-title\\n  >\\n    Can't find what you need?\\n  </h2>\\n  <p\\n    class=\\\"appstore__grid-footer__subtitle u__display-block\\\"\\n    data-test-appstore-grid-footer-subtitle\\n  >\\n    Build your own apps in a matter of hours - whether just for your own team or for others to use too.\\n  </p>\\n  <a\\n    href=\\\"https://developers.intercom.com/\\\"\\n    class=\\\"u__display-block appstore__grid-footer__explore-api\\\"\\n    data-test-appstore-grid-footer-link\\n    {{action \\\"trackClick\\\" preventDefault=false}}\\n  >\\n    Explore the API\\n  </a>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/listing/grid-footer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/listing/grid-footer.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  actions: {\n    trackClick() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'explore_api_link',\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"layout__box o__has-columns u__padt__20 u__padl__30 u__padr__30 u__mb__30\\\"\\n>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <h1 class=\\\"t__h1 u__left\\\" data-test-appstore-grid-header-title=\\\"{{@title}}\\\">\\n      {{@title}} {{#if @count}}\\n        <span data-test-appstore-grid-header-count class=\\\"text-gray\\\">\\n          ({{@count}})\\n        </span>\\n      {{/if}}\\n    </h1>\\n  </div>\\n  <div data-test-appstore-grid-header-block class=\\\"layout__box\\\">\\n    {{yield}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"layout__box o__has-columns u__padt__20 u__padl__30 u__padr__30 u__mb__30\\\"\\n>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <h1 class=\\\"t__h1 u__left\\\" data-test-appstore-grid-header-title=\\\"{{@title}}\\\">\\n      {{@title}} {{#if @count}}\\n        <span data-test-appstore-grid-header-count class=\\\"text-gray\\\">\\n          ({{@count}})\\n        </span>\\n      {{/if}}\\n    </h1>\\n  </div>\\n  <div data-test-appstore-grid-header-block class=\\\"layout__box\\\">\\n    {{yield}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/listing/grid-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/listing/grid-header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__padl__30 u__padr__30\\\">\\n  {{#if title}}\\n    <h2 class=\\\"t__h2 u__mb__30\\\" data-test-app-package-grid-container-title>\\n      {{title}}\\n    </h2>\\n  {{/if}}\\n  <div\\n    class=\\\"o__appstore-capabilities appstore__grid__container {{if (and\\n        limitToSingleRow (not (media \\\"isMobile\\\"))\\n      ) \\\"o__single-row\\\"}}\\\"\\n    data-test-app-package-grid-container={{if\\n      shouldUseResponsiveGridItems\\n      \\\"is_responsive\\\"\\n      \\\"not_responsive\\\"\\n    }}\\n  >\\n    {{#if appPackages}}\\n      {{#each appPackages as |appPackage|}}\\n        <div\\n          class=\\\"appstore__grid__item o__appstore-capabilities {{if (and\\n              limitToSingleRow (not (media \\\"isMobile\\\"))\\n            ) \\\"o__single-row\\\"}} {{if shouldUseResponsiveGridItems \\\"o__responsive\\\"}}\\\"\\n        >\\n          <Appstore::AppCard\\n            @appPackage={{appPackage}}\\n            @onClick={{onAppPackageClick}}\\n            @hasFixedHeight={{limitToSingleRow}}\\n          />\\n        </div>\\n      {{/each}}\\n    {{else}}\\n      <IcEmptyState\\n        data-test-app-package-grid-container-empty\\n        @title={{noSearchResultsDisplayString}}\\n        @description=\\\"Try another search term\\\"\\n        @icon=\\\"app-store\\\"\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__padl__30 u__padr__30\\\">\\n  {{#if title}}\\n    <h2 class=\\\"t__h2 u__mb__30\\\" data-test-app-package-grid-container-title>\\n      {{title}}\\n    </h2>\\n  {{/if}}\\n  <div\\n    class=\\\"o__appstore-capabilities appstore__grid__container {{if (and\\n        limitToSingleRow (not (media \\\"isMobile\\\"))\\n      ) \\\"o__single-row\\\"}}\\\"\\n    data-test-app-package-grid-container={{if\\n      shouldUseResponsiveGridItems\\n      \\\"is_responsive\\\"\\n      \\\"not_responsive\\\"\\n    }}\\n  >\\n    {{#if appPackages}}\\n      {{#each appPackages as |appPackage|}}\\n        <div\\n          class=\\\"appstore__grid__item o__appstore-capabilities {{if (and\\n              limitToSingleRow (not (media \\\"isMobile\\\"))\\n            ) \\\"o__single-row\\\"}} {{if shouldUseResponsiveGridItems \\\"o__responsive\\\"}}\\\"\\n        >\\n          <Appstore::AppCard\\n            @appPackage={{appPackage}}\\n            @onClick={{onAppPackageClick}}\\n            @hasFixedHeight={{limitToSingleRow}}\\n          />\\n        </div>\\n      {{/each}}\\n    {{else}}\\n      <IcEmptyState\\n        data-test-app-package-grid-container-empty\\n        @title={{noSearchResultsDisplayString}}\\n        @description=\\\"Try another search term\\\"\\n        @icon=\\\"app-store\\\"\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/listing/grid-layout.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/listing/grid-layout.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  appstoreService: service(),\n\n  appPackages: null,\n  searchString: null,\n  shouldUseResponsiveGridItems: true,\n  noSearchResultsDisplayString: computed('searchString', function() {\n    if (this.searchString) {\n      return `No results for \"${this.searchString}\"`;\n    } else {\n      return 'No results';\n    }\n  }),\n\n  didInsertElement() {\n    this._super(...arguments);\n    if (this.searchString) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'used',\n        object: 'search_bar',\n        search_term: this.searchString,\n        search_results: this.get('appPackages.length'),\n      });\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  data-test-mini-public-banner\\n  class=\\\"layout__box o__has-columns appstore__mini-public-banner u__mr__20 u__ml__20 u__padb__25 u__padt__20\\\"\\n>\\n  <p class=\\\"layout__box o__flexes-to-1\\\">\\n    Powerful apps and integrations to acquire, engage and retain more customers\\n    with Intercom.\\n  </p>\\n  <Appstore::Listing::SearchInput\\n    class=\\\"o__wide layout__box o__flexes-to-3\\\"\\n    @handleSearch={{@searchForApps}}\\n    @searchString={{@searchString}}\\n    @preventFocusOnElementInsertion={{true}}\\n  />\\n</div>\\n\", {\"contents\":\"<div\\n  data-test-mini-public-banner\\n  class=\\\"layout__box o__has-columns appstore__mini-public-banner u__mr__20 u__ml__20 u__padb__25 u__padt__20\\\"\\n>\\n  <p class=\\\"layout__box o__flexes-to-1\\\">\\n    Powerful apps and integrations to acquire, engage and retain more customers\\n    with Intercom.\\n  </p>\\n  <Appstore::Listing::SearchInput\\n    class=\\\"o__wide layout__box o__flexes-to-3\\\"\\n    @handleSearch={{@searchForApps}}\\n    @searchString={{@searchString}}\\n    @preventFocusOnElementInsertion={{true}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/listing/mini-public-banner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/listing/mini-public-banner.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Pulse::HeroBanner\\n  @svg=\\\"app-store\\\"\\n  @title=\\\"App Store\\\"\\n  @description=\\\"Discover new apps and connect your existing tools with Intercom.\\\"\\n  ...attributes\\n  as |banner|\\n>\\n  <banner.Links as |links|>\\n    <links.Link\\n      @title=\\\"Build your own app\\\"\\n      @href=\\\"https://developers.intercom.com/\\\"\\n      @type=\\\"article\\\"\\n      {{on \\\"click\\\" (track-analytics-event action=\\\"clicked\\\" object=\\\"build_messenger_app\\\")}}\\n    />\\n  </banner.Links>\\n  <banner.Action>\\n    <Appstore::Listing::SearchInput\\n      @handleSearch={{@searchForApps}}\\n      @searchString={{@searchString}}\\n      @targetedJump=\\\".appstore__section-menu\\\"\\n    />\\n  </banner.Action>\\n</Pulse::HeroBanner>\", {\"contents\":\"<Pulse::HeroBanner\\n  @svg=\\\"app-store\\\"\\n  @title=\\\"App Store\\\"\\n  @description=\\\"Discover new apps and connect your existing tools with Intercom.\\\"\\n  ...attributes\\n  as |banner|\\n>\\n  <banner.Links as |links|>\\n    <links.Link\\n      @title=\\\"Build your own app\\\"\\n      @href=\\\"https://developers.intercom.com/\\\"\\n      @type=\\\"article\\\"\\n      {{on \\\"click\\\" (track-analytics-event action=\\\"clicked\\\" object=\\\"build_messenger_app\\\")}}\\n    />\\n  </banner.Links>\\n  <banner.Action>\\n    <Appstore::Listing::SearchInput\\n      @handleSearch={{@searchForApps}}\\n      @searchString={{@searchString}}\\n      @targetedJump=\\\".appstore__section-menu\\\"\\n    />\\n  </banner.Action>\\n</Pulse::HeroBanner>\",\"moduleName\":\"embercom/components/appstore/listing/page-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/listing/page-header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<div\\n  class=\\\"layout__box o__flexes-to-1 o__has-columns o__centers-vertically u__pad__30\\\"\\n  data-test-appstore-public-banner\\n>\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__has-rows appstore__public-banner__content-wrapper\\\"\\n  >\\n    <p class=\\\"appstore__public-banner__title u__padb__30\\\">\\n      Connected to the tools you love\\n    </p>\\n    <p class=\\\"appstore__public-banner__subtitle u__padb__30\\\">\\n      Powerful apps and integrations to acquire, engage and retain more customers with Intercom.\\n    </p>\\n    <Appstore::Listing::SearchInput\\n      @handleSearch={{@searchForApps}}\\n      @searchString={{@searchString}}\\n    />\\n  </div>\\n  {{#unless (media \\\"isMobile\\\")}}\\n    <div class=\\\"layout__box\\\">\\n      <img\\n        data-test-appstore-banner-img\\n        class=\\\"appstore__public-banner__hero-img\\\"\\n        src=\\\"/assets/images/appstore/public-hero.png\\\"\\n      />\\n    </div>\\n  {{/unless}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<div\\n  class=\\\"layout__box o__flexes-to-1 o__has-columns o__centers-vertically u__pad__30\\\"\\n  data-test-appstore-public-banner\\n>\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__has-rows appstore__public-banner__content-wrapper\\\"\\n  >\\n    <p class=\\\"appstore__public-banner__title u__padb__30\\\">\\n      Connected to the tools you love\\n    </p>\\n    <p class=\\\"appstore__public-banner__subtitle u__padb__30\\\">\\n      Powerful apps and integrations to acquire, engage and retain more customers with Intercom.\\n    </p>\\n    <Appstore::Listing::SearchInput\\n      @handleSearch={{@searchForApps}}\\n      @searchString={{@searchString}}\\n    />\\n  </div>\\n  {{#unless (media \\\"isMobile\\\")}}\\n    <div class=\\\"layout__box\\\">\\n      <img\\n        data-test-appstore-banner-img\\n        class=\\\"appstore__public-banner__hero-img\\\"\\n        src=\\\"/assets/images/appstore/public-hero.png\\\"\\n      />\\n    </div>\\n  {{/unless}}\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/listing/public-banner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/listing/public-banner.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<MarketingSite::CtaFooter />\\n<footer class=\\\"appstore__public-footer__nav\\\">\\n  <div class=\\\"appstore__public-footer__nav__links o__products\\\">\\n    <h4 class=\\\"appstore__public-footer__nav__heading\\\">\\n      Products\\n    </h4>\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/messages\\\"\\n      @text=\\\"Messages\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/inbox\\\"\\n      @text=\\\"Inbox\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/articles\\\"\\n      @text=\\\"Articles\\\"\\n    />\\n    <div class=\\\"appstore__public-footer__nav__hr\\\"></div>\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/pricing\\\"\\n      @text=\\\"Pricing\\\"\\n    />\\n  </div>\\n  <div class=\\\"appstore__public-footer__nav__links o__use-cases\\\">\\n    <h4 class=\\\"appstore__public-footer__nav__heading\\\">\\n      Use Cases\\n    </h4>\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/live-chat\\\"\\n      @text=\\\"Acquire customers\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/customer-engagement\\\"\\n      @text=\\\"Engage customers\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/customer-support-software\\\"\\n      @text=\\\"Support customers\\\"\\n    />\\n    <div class=\\\"appstore__public-footer__nav__hr\\\"></div>\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/early-stage\\\"\\n      @text=\\\"Early Stage\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/enterprise\\\"\\n      @text=\\\"Mid-Market / Enterprise\\\"\\n    />\\n  </div>\\n  <div class=\\\"appstore__public-footer__nav__links o__features\\\">\\n    <h4 class=\\\"appstore__public-footer__nav__heading\\\">\\n      Features\\n    </h4>\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/messenger\\\"\\n      @text=\\\"Live Chat\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/operator\\\"\\n      @text=\\\"Operator\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/messages\\\"\\n      @text=\\\"In-App Messaging\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/customer-support-software\\\"\\n      @text=\\\"Help desk\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/knowledge-base\\\"\\n      @text=\\\"Knowledge base\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/app-store\\\"\\n      @text=\\\"Apps & Integrations\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/customer-intelligence\\\"\\n      @text=\\\"Customer data platform\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/mobile-apps\\\"\\n      @text=\\\"iOS & Android Apps\\\"\\n    />\\n  </div>\\n  <div class=\\\"appstore__public-footer__nav__links o__resources\\\">\\n    <h4 class=\\\"appstore__public-footer__nav__heading\\\">\\n      Resources\\n    </h4>\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/product-tours\\\"\\n      @text=\\\"Product Tours\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/webinars\\\"\\n      @text=\\\"Webinars\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/help/\\\"\\n      @text=\\\"Docs\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://developers.intercom.com\\\"\\n      @text=\\\"Developers\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/tour\\\"\\n      @text=\\\"Events\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercomstatus.com\\\"\\n      @text=\\\"Status\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/security\\\"\\n      @text=\\\"Security\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/books\\\"\\n      @text=\\\"Books\\\"\\n    />\\n  </div>\\n  <div class=\\\"appstore__public-footer__nav__links o__company\\\">\\n    <h4 class=\\\"appstore__public-footer__nav__heading\\\">\\n      Company\\n    </h4>\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/about\\\"\\n      @text=\\\"About\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/customers\\\"\\n      @text=\\\"Customers\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/careers\\\"\\n      @text=\\\"Careers\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/press\\\"\\n      @text=\\\"Press Resources\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"mailto:team@intercom.com\\\"\\n      @text=\\\"Contact Us\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/terms-of-service\\\"\\n      @text=\\\"Terms\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/privacy\\\"\\n      @text=\\\"Privacy\\\"\\n    />\\n  </div>\\n</footer>\\n\", {\"contents\":\"<MarketingSite::CtaFooter />\\n<footer class=\\\"appstore__public-footer__nav\\\">\\n  <div class=\\\"appstore__public-footer__nav__links o__products\\\">\\n    <h4 class=\\\"appstore__public-footer__nav__heading\\\">\\n      Products\\n    </h4>\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/messages\\\"\\n      @text=\\\"Messages\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/inbox\\\"\\n      @text=\\\"Inbox\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/articles\\\"\\n      @text=\\\"Articles\\\"\\n    />\\n    <div class=\\\"appstore__public-footer__nav__hr\\\"></div>\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/pricing\\\"\\n      @text=\\\"Pricing\\\"\\n    />\\n  </div>\\n  <div class=\\\"appstore__public-footer__nav__links o__use-cases\\\">\\n    <h4 class=\\\"appstore__public-footer__nav__heading\\\">\\n      Use Cases\\n    </h4>\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/live-chat\\\"\\n      @text=\\\"Acquire customers\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/customer-engagement\\\"\\n      @text=\\\"Engage customers\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/customer-support-software\\\"\\n      @text=\\\"Support customers\\\"\\n    />\\n    <div class=\\\"appstore__public-footer__nav__hr\\\"></div>\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/early-stage\\\"\\n      @text=\\\"Early Stage\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/enterprise\\\"\\n      @text=\\\"Mid-Market / Enterprise\\\"\\n    />\\n  </div>\\n  <div class=\\\"appstore__public-footer__nav__links o__features\\\">\\n    <h4 class=\\\"appstore__public-footer__nav__heading\\\">\\n      Features\\n    </h4>\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/messenger\\\"\\n      @text=\\\"Live Chat\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/operator\\\"\\n      @text=\\\"Operator\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/messages\\\"\\n      @text=\\\"In-App Messaging\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/customer-support-software\\\"\\n      @text=\\\"Help desk\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/knowledge-base\\\"\\n      @text=\\\"Knowledge base\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/app-store\\\"\\n      @text=\\\"Apps & Integrations\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/customer-intelligence\\\"\\n      @text=\\\"Customer data platform\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/mobile-apps\\\"\\n      @text=\\\"iOS & Android Apps\\\"\\n    />\\n  </div>\\n  <div class=\\\"appstore__public-footer__nav__links o__resources\\\">\\n    <h4 class=\\\"appstore__public-footer__nav__heading\\\">\\n      Resources\\n    </h4>\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/product-tours\\\"\\n      @text=\\\"Product Tours\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/webinars\\\"\\n      @text=\\\"Webinars\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/help/\\\"\\n      @text=\\\"Docs\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://developers.intercom.com\\\"\\n      @text=\\\"Developers\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/tour\\\"\\n      @text=\\\"Events\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercomstatus.com\\\"\\n      @text=\\\"Status\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/security\\\"\\n      @text=\\\"Security\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/books\\\"\\n      @text=\\\"Books\\\"\\n    />\\n  </div>\\n  <div class=\\\"appstore__public-footer__nav__links o__company\\\">\\n    <h4 class=\\\"appstore__public-footer__nav__heading\\\">\\n      Company\\n    </h4>\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/about\\\"\\n      @text=\\\"About\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/customers\\\"\\n      @text=\\\"Customers\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/careers\\\"\\n      @text=\\\"Careers\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/press\\\"\\n      @text=\\\"Press Resources\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"mailto:team@intercom.com\\\"\\n      @text=\\\"Contact Us\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/terms-of-service\\\"\\n      @text=\\\"Terms\\\"\\n    />\\n    <Appstore::Listing::PublicFooter::NavLink\\n      @href=\\\"https://www.intercom.com/privacy\\\"\\n      @text=\\\"Privacy\\\"\\n    />\\n  </div>\\n</footer>\\n\",\"moduleName\":\"embercom/components/appstore/listing/public-footer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/listing/public-footer.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  classNames: ['appstore__public-footer'],\n  'data-test-appstore-public-footer': true,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"appstore__public-footer__nav__link\\\">\\n  <a\\n    href={{href}}\\n    class=\\\"appstore__public-footer__nav__link__a\\\"\\n    data-test-appstore-public-footer-nav-link={{href}}\\n  >\\n    {{this.text}}\\n  </a>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"appstore__public-footer__nav__link\\\">\\n  <a\\n    href={{href}}\\n    class=\\\"appstore__public-footer__nav__link__a\\\"\\n    data-test-appstore-public-footer-nav-link={{href}}\\n  >\\n    {{this.text}}\\n  </a>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/listing/public-footer/nav-link.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/listing/public-footer/nav-link.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"appstore__public-top-nav__logo\\\">\\n  <MarketingSite::IntercomLogo />\\n  <span class=\\\"appstore__public-top-nav__logo__divider\\\"></span>\\n  <LinkTo\\n    @route={{appstoreService.baseRoute}}\\n    @query={{hash category=null search=null}}\\n    class=\\\"appstore__public-top-nav__logo__appstore\\\"\\n    data-test-appstore-top-nav-logo-appstore={{true}}\\n    data-track-analytics-event-object=\\\"app_store_logo\\\"\\n  >\\n    App Store\\n  </LinkTo>\\n</div>\\n{{#unless (media \\\"isMobile\\\")}}\\n  <div class=\\\"layout__box\\\">\\n    <LinkTo\\n      @route={{appstoreService.baseRoute}}\\n      @query={{hash category=null search=null}}\\n      class=\\\"appstore__public-top-nav__link\\\"\\n      @activeClass=\\\"o__selected\\\"\\n      data-test-appstore-top-nav-discover-link={{true}}\\n      data-track-analytics-event-object=\\\"discover_link\\\"\\n    >\\n      Discover\\n    </LinkTo>\\n    <a\\n      data-test-appstore-top-nav-build-link\\n      class=\\\"appstore__public-top-nav__link\\\"\\n      href=\\\"https://developers.intercom.com/\\\"\\n      {{action \\\"trackClick\\\" \\\"build_link\\\" preventDefault=false}}\\n    >\\n      Build\\n    </a>\\n    <span\\n      data-test-appstore-top-nav-sign-in-link\\n      class=\\\"appstore__public-top-nav__link\\\"\\n      {{action \\\"redirectToSignIn\\\"}}\\n    >\\n      Log in\\n    </span>\\n    <MarketingSite::CtaForm @isSmall={{true}} />\\n  </div>\\n{{/unless}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"appstore__public-top-nav__logo\\\">\\n  <MarketingSite::IntercomLogo />\\n  <span class=\\\"appstore__public-top-nav__logo__divider\\\"></span>\\n  <LinkTo\\n    @route={{appstoreService.baseRoute}}\\n    @query={{hash category=null search=null}}\\n    class=\\\"appstore__public-top-nav__logo__appstore\\\"\\n    data-test-appstore-top-nav-logo-appstore={{true}}\\n    data-track-analytics-event-object=\\\"app_store_logo\\\"\\n  >\\n    App Store\\n  </LinkTo>\\n</div>\\n{{#unless (media \\\"isMobile\\\")}}\\n  <div class=\\\"layout__box\\\">\\n    <LinkTo\\n      @route={{appstoreService.baseRoute}}\\n      @query={{hash category=null search=null}}\\n      class=\\\"appstore__public-top-nav__link\\\"\\n      @activeClass=\\\"o__selected\\\"\\n      data-test-appstore-top-nav-discover-link={{true}}\\n      data-track-analytics-event-object=\\\"discover_link\\\"\\n    >\\n      Discover\\n    </LinkTo>\\n    <a\\n      data-test-appstore-top-nav-build-link\\n      class=\\\"appstore__public-top-nav__link\\\"\\n      href=\\\"https://developers.intercom.com/\\\"\\n      {{action \\\"trackClick\\\" \\\"build_link\\\" preventDefault=false}}\\n    >\\n      Build\\n    </a>\\n    <span\\n      data-test-appstore-top-nav-sign-in-link\\n      class=\\\"appstore__public-top-nav__link\\\"\\n      {{action \\\"redirectToSignIn\\\"}}\\n    >\\n      Log in\\n    </span>\\n    <MarketingSite::CtaForm @isSmall={{true}} />\\n  </div>\\n{{/unless}}\\n\",\"moduleName\":\"embercom/components/appstore/listing/public-top-nav.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/listing/public-top-nav.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  classNames: ['appstore__public-top-nav'],\n  appstoreService: service(),\n  media: service(),\n  actions: {\n    trackClick(object) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object,\n        location: 'top_nav',\n      });\n    },\n    redirectToSignIn() {\n      this.send('trackClick', 'log_in_link');\n      this.appstoreService.redirectToWorkspaceAppstore();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"appstore__search-input__container\\\">\\n  <VerticalNavigationSearch\\n    @placeholderText=\\\"Search for an app...\\\"\\n    @searchString={{@searchString}}\\n    @updatedSearch={{true}}\\n    @doSearch={{this.doSearch}}\\n    @resetSearch={{this.resetSearch}}\\n    @showSearchIcon={{true}}\\n    @shouldFilterSelectableItems={{false}}\\n    @onSearchStringChanged={{this.searchStringChanged}}\\n    @items={{this.searchSuggestions}}\\n    data-test-appstore-searchinput\\n    class=\\\"search-input-container\\\"\\n    @preventFocusOnElementInsertion={{this.preventFocusOnElementInsertion}} as |item|\\n  >\\n    {{!-- prettier-ignore --}}\\n    {{#if item.isStandardSearch}}\\n      <span class=\\\"nav__search__result__type\\\">Apps containing</span> \\\"{{item.name}}\\\"\\n    {{else}}\\n      {{item.name}}\\n    {{/if}}\\n  </VerticalNavigationSearch>\\n</div>\\n\", {\"contents\":\"<div class=\\\"appstore__search-input__container\\\">\\n  <VerticalNavigationSearch\\n    @placeholderText=\\\"Search for an app...\\\"\\n    @searchString={{@searchString}}\\n    @updatedSearch={{true}}\\n    @doSearch={{this.doSearch}}\\n    @resetSearch={{this.resetSearch}}\\n    @showSearchIcon={{true}}\\n    @shouldFilterSelectableItems={{false}}\\n    @onSearchStringChanged={{this.searchStringChanged}}\\n    @items={{this.searchSuggestions}}\\n    data-test-appstore-searchinput\\n    class=\\\"search-input-container\\\"\\n    @preventFocusOnElementInsertion={{this.preventFocusOnElementInsertion}} as |item|\\n  >\\n    {{!-- prettier-ignore --}}\\n    {{#if item.isStandardSearch}}\\n      <span class=\\\"nav__search__result__type\\\">Apps containing</span> \\\"{{item.name}}\\\"\\n    {{else}}\\n      {{item.name}}\\n    {{/if}}\\n  </VerticalNavigationSearch>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/listing/search-input.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/listing/search-input.hbs\"}});\nimport Component from '@glimmer/component';\nimport EmberObject from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { timeout } from 'ember-concurrency';\nimport { task } from 'ember-concurrency-decorators';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport ajax from 'embercom/lib/ajax';\nimport { getApiUrl } from 'embercom/lib/embercom-boot-data';\n\nconst DEBOUNCE_MS = 250;\n\nexport default class SearchInput extends Component {\n  @tracked searchSuggestions = [];\n  @service appService;\n  @service intercomEventService;\n\n  get target() {\n    return this.args?.targetedJump;\n  }\n\n  @task({ restartable: true })\n  *updateSearchSuggestions(searchTerm) {\n    yield timeout(DEBOUNCE_MS);\n    this.searchSuggestions = yield this.fetchSearchSuggestions.perform(searchTerm);\n    this.jumpToTarget();\n  }\n\n  @task({ restartable: true })\n  *fetchSearchSuggestions(searchTerm) {\n    let response = yield ajax({\n      url: `${getApiUrl()}/appstore/search_terms?query=${searchTerm}`,\n      dataType: 'json',\n    });\n    return this.parseItemsFromSuggestionsResponse(response);\n  }\n\n  parseItemsFromSuggestionsResponse(response) {\n    if (response) {\n      return response.map(item => EmberObject.create({ name: item }));\n    }\n    return [];\n  }\n\n  jumpToTarget() {\n    if (this.target) {\n      document.querySelector(this.target).scrollIntoView();\n    }\n  }\n\n  trackAnalyticClickEvent(item) {\n    if (!item.get('isStandardSearch')) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'search_suggestion',\n        search_term: item.name,\n      });\n    }\n  }\n\n  @action\n  doSearch(item) {\n    this.searchSuggestions = [];\n    this.trackAnalyticClickEvent(item);\n    this.args.handleSearch(item.name);\n  }\n  @action\n  resetSearch() {\n    this.args.handleSearch(null);\n    this.searchSuggestions = [];\n  }\n  @action\n  searchStringChanged(searchTerm) {\n    if (searchTerm && searchTerm.length >= 2) {\n      this.updateSearchSuggestions.perform(searchTerm);\n    } else {\n      this.searchSuggestions = [];\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IntercomradeWarning>\\n  Changes here will affect App integrations with the main Intercom Workspace.\\n</IntercomradeWarning>\\n{{#if (and (not isPublicAppStore) adminNotVerified)}}\\n  <IcBanner @type=\\\"warning\\\">\\n    You will need to <a onclick={{perform sendVerificationEmail}}>\\n      verify your email\\n    </a>\\n    before you can install an app on your workspace.\\n  </IcBanner>\\n{{/if}}\\n{{#if (and isPublicAppStore (media \\\"isMobile\\\"))}}\\n  <div class=\\\"layout__box o__has-rows\\\">\\n    {{#if currentlyLoading}}\\n      <div class=\\\"u__center-item\\\">\\n        <IcLoadingIndicator @size=\\\"large\\\" />\\n      </div>\\n    {{else if displayFeaturedCategoriesGrid}}\\n      <Appstore::CategoriesGrid\\n        @onAppPackageClick={{@onAppPackageClick}}\\n        @featuredCategoriesAndApps={{@featuredCategoriesAndApps}}\\n        @clickSeeAllLink={{@clickSeeAllLink}}\\n        @isPublicAppStore={{true}}\\n      />\\n    {{else}}\\n      {{#if selectedCapability}}\\n        <Appstore::Listing::CapabilitiesBanner\\n          @capability={{selectedCapability}}\\n        />\\n      {{/if}}\\n      <Appstore::Listing::GridHeader\\n        @title={{gridTitle}}\\n        @count={{if search apps.length}}\\n      />\\n      <Appstore::Listing::GridLayout\\n        @appPackages={{apps}}\\n        @onAppPackageClick={{action onAppPackageClick category}}\\n        @searchString={{search}}\\n        @shouldUseResponsiveGridItems={{not isPublicAppStore}}\\n      />\\n    {{/if}}\\n    {{#unless currentlyLoading}}\\n      <Appstore::Listing::GridFooter class=\\\"u__padl__30 u__padr__30\\\" />\\n    {{/unless}}\\n    <div class=\\\"layout__box\\\">\\n      <Appstore::SectionMenu\\n        @categories={{publicCategories}}\\n        @featuredCategories={{visiblefeaturedCategories}}\\n        @isPublicAppStore={{isPublicAppStore}}\\n        @isMobile={{media \\\"isMobile\\\"}}\\n      />\\n    </div>\\n  </div>\\n{{else}}\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    {{#unless (eq selectedCategory.categoryType 'collection')}}\\n      <div class=\\\"layout__box\\\">\\n        <Appstore::SectionMenu\\n          @categories={{publicCategories}}\\n          @featuredCategories={{visiblefeaturedCategories}}\\n          @isPublicAppStore={{isPublicAppStore}}\\n          @inboxCapability={{inboxCapability}}\\n        />\\n      </div>\\n    {{/unless}}\\n    <div\\n      class=\\\"layout__box o__flexes-to-1\\\"\\n      data-intercom-target=\\\"app-store-content\\\"\\n    >\\n      {{#if currentlyLoading}}\\n        <div class=\\\"u__center-item\\\">\\n          <IcLoadingIndicator @size=\\\"large\\\" />\\n        </div>\\n      {{else if displayFeaturedCategoriesGrid}}\\n        {{#if (and this.visibleCollections (not (media 'isMobile')))}}\\n          <Appstore::Listing::CollectionCardsContainer\\n            @collections={{this.visibleCollections}}\\n            data-test-appstore-collections\\n          />\\n        {{/if}}\\n        <Appstore::CategoriesGrid\\n          @recentlyViewed={{this.model.recentlyViewed}}\\n          @onAppPackageClick={{@onAppPackageClick}}\\n          @featuredCategoriesAndApps={{@featuredCategoriesAndApps}}\\n          @clickSeeAllLink={{@clickSeeAllLink}}\\n          @isPublicAppStore={{@isPublicAppStore}}\\n          @historyBasedRecommendations={{this.historyBasedRecommendations}}\\n        />\\n      {{else if (eq this.selectedCategory.categoryType 'collection')}}\\n        <Appstore::Listing::Collection\\n          @appPackages={{apps}}\\n          @onAppPackageClick={{@onAppPackageClick}}\\n          @collection={{this.selectedCategory}}\\n          data-test-appstore-collection={{this.selectedCategory.slug}}\\n          class=\\\"appstore__collection u__cf\\\"\\n        />\\n      {{else}}\\n        {{#if selectedCapability}}\\n          <Appstore::Listing::CapabilitiesBanner\\n            @capability={{selectedCapability}}\\n          />\\n          <Appstore::Listing::CapabilityGrid\\n            @appPackages={{apps}}\\n            @onAppPackageClick={{onAppPackageClick}}\\n            @capability={{selectedCapability}}\\n            @inboxCapability={{inboxCapability}}\\n            @isPublicAppStore={{isPublicAppStore}}\\n          />\\n        {{else}}\\n          <Appstore::Listing::GridHeader\\n            @title={{gridTitle}}\\n            @count={{if search apps.length}}\\n          />\\n          <Appstore::Listing::GridLayout\\n            @appPackages={{apps}}\\n            @onAppPackageClick={{action onAppPackageClick category}}\\n            @searchString={{search}}\\n            @shouldUseResponsiveGridItems={{not isPublicAppStore}}\\n          />\\n        {{/if}}\\n      {{/if}}\\n      {{#if (and isPublicAppStore (not currentlyLoading))}}\\n        <Appstore::Listing::GridFooter />\\n      {{/if}}\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IntercomradeWarning>\\n  Changes here will affect App integrations with the main Intercom Workspace.\\n</IntercomradeWarning>\\n{{#if (and (not isPublicAppStore) adminNotVerified)}}\\n  <IcBanner @type=\\\"warning\\\">\\n    You will need to <a onclick={{perform sendVerificationEmail}}>\\n      verify your email\\n    </a>\\n    before you can install an app on your workspace.\\n  </IcBanner>\\n{{/if}}\\n{{#if (and isPublicAppStore (media \\\"isMobile\\\"))}}\\n  <div class=\\\"layout__box o__has-rows\\\">\\n    {{#if currentlyLoading}}\\n      <div class=\\\"u__center-item\\\">\\n        <IcLoadingIndicator @size=\\\"large\\\" />\\n      </div>\\n    {{else if displayFeaturedCategoriesGrid}}\\n      <Appstore::CategoriesGrid\\n        @onAppPackageClick={{@onAppPackageClick}}\\n        @featuredCategoriesAndApps={{@featuredCategoriesAndApps}}\\n        @clickSeeAllLink={{@clickSeeAllLink}}\\n        @isPublicAppStore={{true}}\\n      />\\n    {{else}}\\n      {{#if selectedCapability}}\\n        <Appstore::Listing::CapabilitiesBanner\\n          @capability={{selectedCapability}}\\n        />\\n      {{/if}}\\n      <Appstore::Listing::GridHeader\\n        @title={{gridTitle}}\\n        @count={{if search apps.length}}\\n      />\\n      <Appstore::Listing::GridLayout\\n        @appPackages={{apps}}\\n        @onAppPackageClick={{action onAppPackageClick category}}\\n        @searchString={{search}}\\n        @shouldUseResponsiveGridItems={{not isPublicAppStore}}\\n      />\\n    {{/if}}\\n    {{#unless currentlyLoading}}\\n      <Appstore::Listing::GridFooter class=\\\"u__padl__30 u__padr__30\\\" />\\n    {{/unless}}\\n    <div class=\\\"layout__box\\\">\\n      <Appstore::SectionMenu\\n        @categories={{publicCategories}}\\n        @featuredCategories={{visiblefeaturedCategories}}\\n        @isPublicAppStore={{isPublicAppStore}}\\n        @isMobile={{media \\\"isMobile\\\"}}\\n      />\\n    </div>\\n  </div>\\n{{else}}\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    {{#unless (eq selectedCategory.categoryType 'collection')}}\\n      <div class=\\\"layout__box\\\">\\n        <Appstore::SectionMenu\\n          @categories={{publicCategories}}\\n          @featuredCategories={{visiblefeaturedCategories}}\\n          @isPublicAppStore={{isPublicAppStore}}\\n          @inboxCapability={{inboxCapability}}\\n        />\\n      </div>\\n    {{/unless}}\\n    <div\\n      class=\\\"layout__box o__flexes-to-1\\\"\\n      data-intercom-target=\\\"app-store-content\\\"\\n    >\\n      {{#if currentlyLoading}}\\n        <div class=\\\"u__center-item\\\">\\n          <IcLoadingIndicator @size=\\\"large\\\" />\\n        </div>\\n      {{else if displayFeaturedCategoriesGrid}}\\n        {{#if (and this.visibleCollections (not (media 'isMobile')))}}\\n          <Appstore::Listing::CollectionCardsContainer\\n            @collections={{this.visibleCollections}}\\n            data-test-appstore-collections\\n          />\\n        {{/if}}\\n        <Appstore::CategoriesGrid\\n          @recentlyViewed={{this.model.recentlyViewed}}\\n          @onAppPackageClick={{@onAppPackageClick}}\\n          @featuredCategoriesAndApps={{@featuredCategoriesAndApps}}\\n          @clickSeeAllLink={{@clickSeeAllLink}}\\n          @isPublicAppStore={{@isPublicAppStore}}\\n          @historyBasedRecommendations={{this.historyBasedRecommendations}}\\n        />\\n      {{else if (eq this.selectedCategory.categoryType 'collection')}}\\n        <Appstore::Listing::Collection\\n          @appPackages={{apps}}\\n          @onAppPackageClick={{@onAppPackageClick}}\\n          @collection={{this.selectedCategory}}\\n          data-test-appstore-collection={{this.selectedCategory.slug}}\\n          class=\\\"appstore__collection u__cf\\\"\\n        />\\n      {{else}}\\n        {{#if selectedCapability}}\\n          <Appstore::Listing::CapabilitiesBanner\\n            @capability={{selectedCapability}}\\n          />\\n          <Appstore::Listing::CapabilityGrid\\n            @appPackages={{apps}}\\n            @onAppPackageClick={{onAppPackageClick}}\\n            @capability={{selectedCapability}}\\n            @inboxCapability={{inboxCapability}}\\n            @isPublicAppStore={{isPublicAppStore}}\\n          />\\n        {{else}}\\n          <Appstore::Listing::GridHeader\\n            @title={{gridTitle}}\\n            @count={{if search apps.length}}\\n          />\\n          <Appstore::Listing::GridLayout\\n            @appPackages={{apps}}\\n            @onAppPackageClick={{action onAppPackageClick category}}\\n            @searchString={{search}}\\n            @shouldUseResponsiveGridItems={{not isPublicAppStore}}\\n          />\\n        {{/if}}\\n      {{/if}}\\n      {{#if (and isPublicAppStore (not currentlyLoading))}}\\n        <Appstore::Listing::GridFooter />\\n      {{/if}}\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/appstore/main-content.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/main-content.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { findByProperty, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport Component from '@ember/component';\nimport { readOnly, not, bool, filterBy, union } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  appService: service(),\n  store: service(),\n  app: readOnly('appService.app'),\n  currentAdmin: readOnly('app.currentAdmin'),\n  adminNotVerified: not('currentAdmin.email_verified'),\n  emailVerificationSent: bool('currentAdmin.current_email_pending_verification'),\n  disableVerificationButton: not('currentAdmin.canResendVerificationEmail'),\n  appPackages: readOnly('model.appPackages'),\n  defaultCategories: readOnly('model.defaultCategories'),\n  featuredCategories: readOnly('model.featuredCategories'),\n  collections: readOnly('model.collections'),\n\n  featuredCategoriesAndApps: null,\n  publicCategories: filterBy('defaultCategories', 'publiclyVisible', true),\n  visiblefeaturedCategories: filterBy('featuredCategories', 'publiclyVisible', true),\n  visibleCollections: filterBy('collections', 'publiclyVisible', true),\n  allCategories: union('defaultCategories', 'featuredCategories', 'collections'),\n  selectedCategory: findByProperty('allCategories', 'slug', 'category'),\n  installedAppPackages: computed('appPackages.@each.isInstalled', 'installed', function() {\n    return this.appPackages.filter(app => app.get('isInstalled'));\n  }),\n  apps: ternaryToProperty('installed', 'installedAppPackages', 'appPackages'),\n  gridTitle: computed(\n    'search',\n    'selectedCategory.name',\n    'installed',\n    'showCapability',\n    'selectedCapability.name',\n    function() {\n      if (this.search) {\n        return 'Search results';\n      } else if (this.get('selectedCategory.name')) {\n        return this.get('selectedCategory.name');\n      } else if (this.get('selectedCapability.name')) {\n        return `Works with ${this.get('selectedCapability.name')}`;\n      } else if (this.installed) {\n        return 'Your installed apps';\n      } else {\n        return 'All apps';\n      }\n    },\n  ),\n\n  sendVerificationEmail: task(function*() {\n    if (this.disableVerificationButton) {\n      return;\n    }\n    try {\n      yield this.currentAdmin.sendValidationEmailWithRetry();\n      this.notificationsService.notifyConfirmation(\n        'Verification email sent. Please check your email.',\n      );\n    } catch (e) {\n      this.notificationsService.notifyError(\n        'Something went wrong sending your verfication email. Please try again.',\n      );\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if @recentlyViewed}}\\n  <div data-test-recently-viewed-container>\\n    <Appstore::Listing::GridHeader @title=\\\"You recently viewed\\\" />\\n    <Appstore::Listing::GridLayout\\n      @appPackages={{this.recentlyViewedApps}}\\n      @onAppPackageClick={{action @onAppPackageClick \\\"recently_viewed\\\"}}\\n      @limitToSingleRow={{true}}\\n      @shouldUseResponsiveGridItems={{true}}\\n    />\\n  </div>\\n{{/if}}\\n\\n{{yield}}\\n\\n{{#each this.historyBasedRecommendations as |item|}}\\n  {{#if item.recommendations}}\\n    <div data-test-history-recommendation-container>\\n      <Appstore::Listing::GridHeader\\n        data-test-history-recommendation-title\\n        @title={{concat \\\"Because you viewed \\\" item.sourceAppPackage.name}}\\n      />\\n      <Appstore::Listing::GridLayout\\n        @appPackages={{item.recommendations}}\\n        @onAppPackageClick={{fn this.onRecommendationAppPackageClick item.sourceAppPackage.name}}\\n        @limitToSingleRow={{true}}\\n        @shouldUseResponsiveGridItems={{true}}\\n      />\\n    </div>\\n  {{/if}}\\n{{/each}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if @recentlyViewed}}\\n  <div data-test-recently-viewed-container>\\n    <Appstore::Listing::GridHeader @title=\\\"You recently viewed\\\" />\\n    <Appstore::Listing::GridLayout\\n      @appPackages={{this.recentlyViewedApps}}\\n      @onAppPackageClick={{action @onAppPackageClick \\\"recently_viewed\\\"}}\\n      @limitToSingleRow={{true}}\\n      @shouldUseResponsiveGridItems={{true}}\\n    />\\n  </div>\\n{{/if}}\\n\\n{{yield}}\\n\\n{{#each this.historyBasedRecommendations as |item|}}\\n  {{#if item.recommendations}}\\n    <div data-test-history-recommendation-container>\\n      <Appstore::Listing::GridHeader\\n        data-test-history-recommendation-title\\n        @title={{concat \\\"Because you viewed \\\" item.sourceAppPackage.name}}\\n      />\\n      <Appstore::Listing::GridLayout\\n        @appPackages={{item.recommendations}}\\n        @onAppPackageClick={{fn this.onRecommendationAppPackageClick item.sourceAppPackage.name}}\\n        @limitToSingleRow={{true}}\\n        @shouldUseResponsiveGridItems={{true}}\\n      />\\n    </div>\\n  {{/if}}\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/appstore/recommendations.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/recommendations.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { isBootedInPublicAppStoreMode } from 'embercom/lib/embercom-boot-data';\nimport { task } from 'ember-concurrency';\nimport ajax from 'embercom/lib/ajax';\n\nexport default Component.extend({\n  tagName: '',\n  appstoreService: service(),\n  appService: service(),\n  router: service(),\n  isBootedInPublicAppStoreMode: isBootedInPublicAppStoreMode(),\n\n  init() {\n    this._super(...arguments);\n    if (!isBootedInPublicAppStoreMode()) {\n      let recentlyViewedAppPackageIds = this.recentlyViewed || [];\n      let recentlyViewedAppPackages = recentlyViewedAppPackageIds.map(id =>\n        this.appstoreService.peekOrFindAppPackage(id),\n      );\n      this.set('recentlyViewedApps', recentlyViewedAppPackages);\n      recentlyViewedAppPackageIds.slice(0, 2).forEach(id => this._fetchRecommendations.perform(id));\n    }\n  },\n\n  _fetchRecommendations: task(function*(appPackageId) {\n    let recommendationIds = yield ajax({\n      url: '/ember/app_package_recommendations',\n      type: 'GET',\n      data: {\n        app_package_code: appPackageId,\n        app_id: this.get('appService.app.id'),\n        count: 10,\n      },\n    });\n    let recommendations = recommendationIds.map(id =>\n      this.appstoreService.peekOrFindAppPackage(id),\n    );\n    let historyBasedRecommendations = this.historyBasedRecommendations || [];\n    historyBasedRecommendations.push({\n      sourceAppPackage: this.appstoreService.peekOrFindAppPackage(appPackageId),\n      recommendations,\n    });\n    this.set('historyBasedRecommendations', historyBasedRecommendations);\n  }),\n\n  onRecommendationAppPackageClick: action(function(sourceAppPackageName, appPackage) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: appPackage,\n      category_name: 'history_recommendations',\n      source_app_package: sourceAppPackageName,\n    });\n    this.router.transitionTo({ queryParams: { app_package_code: appPackage.get('id') } });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (not isPublicAppStore)}}\\n  <h2 class=\\\"t__h3 mb_20\\\" data-test-manage-title>\\n    Manage\\n  </h2>\\n  <ul class=\\\"appstore__section-menu__list\\\">\\n    <li class=\\\"appstore__section-menu__list__item\\\">\\n      <Appstore::SectionMenu::LinkItem\\n        @label=\\\"Your installed apps\\\"\\n        @isInstalledLink={{true}}\\n      />\\n    </li>\\n  </ul>\\n{{/if}}\\n<div\\n  class=\\\"layout__box {{if isMobile \\\"o__has-columns\\\"}}\\\"\\n  data-test-categories-list-container\\n>\\n  <div\\n    class=\\\"layout__box {{if isMobile \\\"o__flexes-to-1 u__padr__10\\\"}}\\\"\\n    data-test-featured-categories-list-container\\n  >\\n    <h2 class=\\\"t__h2 mb_20\\\" data-test-featured-title>\\n      Featured\\n    </h2>\\n    <ul class=\\\"appstore__section-menu__list\\\">\\n      <li class=\\\"appstore__section-menu__list__item\\\">\\n        <Appstore::SectionMenu::LinkItem @label=\\\"All Collections\\\" />\\n      </li>\\n      {{#each featuredCategories as |category|}}\\n        <li\\n          class=\\\"appstore__section-menu__list__item\\\"\\n          id=\\\"category_{{category.slug}}\\\"\\n          {{action (optional (if isPublicAppStore (action \\\"scrollToTop\\\") null))\\n          }}\\n        >\\n          <Appstore::SectionMenu::LinkItem\\n            @label={{category.name}}\\n            @isFeaturedCategory={{true}}\\n            @category={{category.slug}}\\n          />\\n        </li>\\n      {{/each}}\\n    </ul>\\n  </div>\\n  <div class=\\\"layout__box {{if isMobile \\\"o__flexes-to-1 u__padr__10\\\"}}\\\">\\n    <h2 class=\\\"t__h2 mb_20\\\" data-test-capabilities-title>\\n      Works with\\n    </h2>\\n    <ul class=\\\"appstore__section-menu__list\\\">\\n      {{#each appCapabilities as |capability|}}\\n        <li\\n          class=\\\"appstore__section-menu__list__item\\\"\\n          {{action (optional (if isPublicAppStore (action \\\"scrollToTop\\\") null))\\n          }}\\n        >\\n          <Appstore::SectionMenu::LinkItem\\n            @label={{capability.name}}\\n            @capability={{capability.slug}}\\n            @inboxCapability={{inboxCapability}}\\n          />\\n        </li>\\n      {{/each}}\\n    </ul>\\n  </div>\\n  <div\\n    class=\\\"layout__box {{if isMobile \\\"o__flexes-to-1 u__padr__10\\\"}}\\\"\\n    data-test-default-categories-list-container\\n  >\\n    <h2 class=\\\"t__h2 mb_20\\\" data-test-categories-title>\\n      Categories\\n    </h2>\\n    <ul class=\\\"appstore__section-menu__list\\\">\\n      {{#each categories as |category|}}\\n        <li\\n          class=\\\"appstore__section-menu__list__item\\\"\\n          id=\\\"category_{{category.slug}}\\\"\\n          {{action (optional (if isPublicAppStore (action \\\"scrollToTop\\\") null))\\n          }}\\n        >\\n          <Appstore::SectionMenu::LinkItem\\n            @label={{category.name}}\\n            @category={{category.slug}}\\n          />\\n        </li>\\n      {{/each}}\\n    </ul>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (not isPublicAppStore)}}\\n  <h2 class=\\\"t__h3 mb_20\\\" data-test-manage-title>\\n    Manage\\n  </h2>\\n  <ul class=\\\"appstore__section-menu__list\\\">\\n    <li class=\\\"appstore__section-menu__list__item\\\">\\n      <Appstore::SectionMenu::LinkItem\\n        @label=\\\"Your installed apps\\\"\\n        @isInstalledLink={{true}}\\n      />\\n    </li>\\n  </ul>\\n{{/if}}\\n<div\\n  class=\\\"layout__box {{if isMobile \\\"o__has-columns\\\"}}\\\"\\n  data-test-categories-list-container\\n>\\n  <div\\n    class=\\\"layout__box {{if isMobile \\\"o__flexes-to-1 u__padr__10\\\"}}\\\"\\n    data-test-featured-categories-list-container\\n  >\\n    <h2 class=\\\"t__h2 mb_20\\\" data-test-featured-title>\\n      Featured\\n    </h2>\\n    <ul class=\\\"appstore__section-menu__list\\\">\\n      <li class=\\\"appstore__section-menu__list__item\\\">\\n        <Appstore::SectionMenu::LinkItem @label=\\\"All Collections\\\" />\\n      </li>\\n      {{#each featuredCategories as |category|}}\\n        <li\\n          class=\\\"appstore__section-menu__list__item\\\"\\n          id=\\\"category_{{category.slug}}\\\"\\n          {{action (optional (if isPublicAppStore (action \\\"scrollToTop\\\") null))\\n          }}\\n        >\\n          <Appstore::SectionMenu::LinkItem\\n            @label={{category.name}}\\n            @isFeaturedCategory={{true}}\\n            @category={{category.slug}}\\n          />\\n        </li>\\n      {{/each}}\\n    </ul>\\n  </div>\\n  <div class=\\\"layout__box {{if isMobile \\\"o__flexes-to-1 u__padr__10\\\"}}\\\">\\n    <h2 class=\\\"t__h2 mb_20\\\" data-test-capabilities-title>\\n      Works with\\n    </h2>\\n    <ul class=\\\"appstore__section-menu__list\\\">\\n      {{#each appCapabilities as |capability|}}\\n        <li\\n          class=\\\"appstore__section-menu__list__item\\\"\\n          {{action (optional (if isPublicAppStore (action \\\"scrollToTop\\\") null))\\n          }}\\n        >\\n          <Appstore::SectionMenu::LinkItem\\n            @label={{capability.name}}\\n            @capability={{capability.slug}}\\n            @inboxCapability={{inboxCapability}}\\n          />\\n        </li>\\n      {{/each}}\\n    </ul>\\n  </div>\\n  <div\\n    class=\\\"layout__box {{if isMobile \\\"o__flexes-to-1 u__padr__10\\\"}}\\\"\\n    data-test-default-categories-list-container\\n  >\\n    <h2 class=\\\"t__h2 mb_20\\\" data-test-categories-title>\\n      Categories\\n    </h2>\\n    <ul class=\\\"appstore__section-menu__list\\\">\\n      {{#each categories as |category|}}\\n        <li\\n          class=\\\"appstore__section-menu__list__item\\\"\\n          id=\\\"category_{{category.slug}}\\\"\\n          {{action (optional (if isPublicAppStore (action \\\"scrollToTop\\\") null))\\n          }}\\n        >\\n          <Appstore::SectionMenu::LinkItem\\n            @label={{category.name}}\\n            @category={{category.slug}}\\n          />\\n        </li>\\n      {{/each}}\\n    </ul>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/appstore/section-menu.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/section-menu.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  appService: service(),\n  appstoreService: service(),\n\n  isMobile: false,\n  classNames: ['appstore__section-menu'],\n  trackingEventDataForAllLink: {\n    object: 'all',\n    section: 'side_menu',\n  },\n  appCapabilities: readOnly('appstoreService.appCapabilities'),\n\n  actions: {\n    scrollToTop() {\n      document.getElementsByClassName('appstore__public-top-nav')[0].scrollIntoView();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<LinkTo\\n  @params={{this.params}}\\n  @activeClass=\\\"o__selected\\\"\\n  class=\\\"appstore__section-menu__category\\\"\\n  data-track-analytics-event-object={{this.dataAttributes.eventObject}}\\n  data-track-analytics-event-data-property-name={{this.dataAttributes.propertyName}}\\n  data-test-appstore-list-item-type={{this.dataAttributes.listItemType}}\\n  data-test-appstore-list-item={{or @category @capability}}\\n>\\n  {{@label}}\\n</LinkTo>\\n\", {\"contents\":\"<LinkTo\\n  @params={{this.params}}\\n  @activeClass=\\\"o__selected\\\"\\n  class=\\\"appstore__section-menu__category\\\"\\n  data-track-analytics-event-object={{this.dataAttributes.eventObject}}\\n  data-track-analytics-event-data-property-name={{this.dataAttributes.propertyName}}\\n  data-test-appstore-list-item-type={{this.dataAttributes.listItemType}}\\n  data-test-appstore-list-item={{or @category @capability}}\\n>\\n  {{@label}}\\n</LinkTo>\\n\",\"moduleName\":\"embercom/components/appstore/section-menu/link-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/appstore/section-menu/link-item.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { isBootedInPublicAppStoreMode } from 'embercom/lib/embercom-boot-data';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  appstoreService: service(),\n\n  _getCapabilitiesParams() {\n    return {\n      capability: this.capability || null,\n      inbox_capability: this.capability === 'inbox' ? this.inboxCapability : null,\n    };\n  },\n\n  params: computed('isInstalledLink', 'category', 'capability', 'inboxCapability', function() {\n    let values = {\n      search: null,\n      category: this.category || null,\n      ...this._getCapabilitiesParams(),\n    };\n    let isPrivateAppStore = isBootedInPublicAppStoreMode() === false;\n    if (isPrivateAppStore) {\n      values.installed = this.isInstalledLink || null;\n    }\n    return [this.appstoreService.baseRoute, { isQueryParams: true, values }];\n  }),\n\n  dataAttributes: computed(\n    'isFeaturedCategory',\n    'category',\n    'capability',\n    'isInstalledLink',\n    function() {\n      let dataAttributes = (listItemType, eventObject, propertyName) => ({\n        listItemType,\n        eventObject,\n        propertyName,\n      });\n\n      if (this.isFeaturedCategory) {\n        return dataAttributes('featured-category', 'app_store_category', 'trackingEventData');\n      } else if (this.category) {\n        return dataAttributes('category', 'app_store_category', 'trackingEventData');\n      } else if (this.capability) {\n        return dataAttributes('capability', 'app_store_capability', 'trackingEventData');\n      } else if (this.isInstalledLink) {\n        return dataAttributes('installed-apps', 'app_store_installed', 'trackingEventData');\n      }\n      return dataAttributes('all-collections', 'app_store_category', 'trackingEventDataForAllLink');\n    },\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<NavSearchComponent\\n  @placeholderText=\\\"Search articles…\\\"\\n  @searchString={{searchString}}\\n  @showSuggestions={{false}}\\n  @resetSearch={{action \\\"resetSearch\\\"}}\\n  @doSearch={{action \\\"doSearch\\\"}}\\n  @product={{app.articlesProduct}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<NavSearchComponent\\n  @placeholderText=\\\"Search articles…\\\"\\n  @searchString={{searchString}}\\n  @showSuggestions={{false}}\\n  @resetSearch={{action \\\"resetSearch\\\"}}\\n  @doSearch={{action \\\"doSearch\\\"}}\\n  @product={{app.articlesProduct}}\\n/>\\n\",\"moduleName\":\"embercom/components/article-search-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/article-search-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  actions: {\n    doSearch(item) {\n      this.set('searchString', item.get('name'));\n      this.performSearch();\n    },\n    resetSearch() {\n      this.clearSearch();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n<Articles::Shared::ThemedStyles @themeColor={{this.site.themeColor}} />\\n<Articles::Shared::ArticleHeader @article={{@article}}>\\n  <IcButtonList as |list|>\\n    <IcButton\\n      @label=\\\"Article settings\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action (toggle \\\"showSideDrawer\\\" this)}}\\n      @inRightList={{true}}\\n      data-test-article-settings-button={{true}}\\n    />\\n    <IcButton\\n      @label=\\\"Delete\\\"\\n      @type=\\\"secondary-destructive\\\"\\n      @onClick={{@deleteArticle}}\\n      @inRightList={{true}}\\n      data-test-delete-article-button={{true}}\\n    />\\n    <IcButton\\n      @type=\\\"primary\\\"\\n      @onClick={{this.executeSaveAndClose}}\\n      @disabled={{or this.isUploading this.prosemirrorComposer.composer.state.isUploading this.notDirty this.saveAndClose.isRunning}}\\n      @inRightList={{true}}\\n      class=\\\"articles__editor__save-button\\\"\\n      data-test-save-article-button={{true}}\\n      data-ghost-test-save-article-button\\n    >\\n      {{#if this.saveAndClose.isRunning}}\\n        Saving…\\n      {{else}}\\n        {{#if (or this.isUploading this.prosemirrorComposer.composer.state.isUploading)}}\\n          Uploading…\\n        {{else}}\\n          Save and close\\n        {{/if}}\\n      {{/if}}\\n    </IcButton>\\n  </IcButtonList>\\n</Articles::Shared::ArticleHeader>\\n<div class=\\\"pl-16 mr-8\\\">\\n  <div class=\\\"articles__editor__locale-tab-underline\\\">\\n    <Articles::Shared::LocaleTabControl\\n      @beforeLocaleUpdate={{this.beforeLocaleUpdate}}\\n      @afterLocaleUpdate={{this.afterLocaleUpdate}}\\n    />\\n  </div>\\n</div>\\n<div class=\\\"educate__article__editor-and-error-banner-wrapper-multilingual\\\">\\n  {{#if this.shouldShowErrorBanner}}\\n    {{#if (eq this.remainingMissingContentErrorCount 0)}}\\n      <IcBanner @type=\\\"confirmation\\\">\\n        You've replaced or edited all the missing content\\n        <a onclick={{action (mut this.shouldShowErrorBanner) false}}>\\n          Done\\n        </a>\\n      </IcBanner>\\n    {{else}}\\n      <IcBanner @type=\\\"warning\\\">\\n        Replace the missing content below\\n        ({{this.remainingMissingContentErrorCount}} remaining)\\n        <a\\n          href=\\\"{{this.article.urlImportedFrom}}\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n        >\\n          Open your original article\\n        </a>\\n        <span class=\\\"u__ml__5\\\">\\n          {{ic-interface-icon \\\"new-window\\\"}}\\n        </span>\\n      </IcBanner>\\n    {{/if}}\\n  {{/if}}\\n  {{#if this.activeContent}}\\n    <Articles::Shared::ContentState\\n      @article={{@article}}\\n      @content={{this.activeContent}}\\n      @isEditable={{true}}\\n    />\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"articles__editor__multilingual-editor\\\">\\n        <Common::TextareaTitle\\n          @autofocus={{true}}\\n          @id=\\\"article-title-textarea\\\"\\n          class=\\\"educate__article__editor__title js__article-title mb-4\\\"\\n          placeholder=\\\"Article title\\\"\\n          @value={{this.activeContent.title}}\\n          {{auto-focus-element}}\\n          data-test-article-edit-title\\n          data-ghost-test-article-edit-title\\n        />\\n        <LengthMonitoringTextareaComponent\\n          @maxSize={{this.maxSummarySize}}\\n          @value={{this.activeContent.summary}}\\n          @placeholder=\\\"Describe your article to help it get found\\\"\\n          @textareaClasses=\\\"educate__article__editor__summary__input educate__article__summary\\\"\\n          @classNames=\\\"educate__article__editor__summary test__educate__article-editor__summary\\\"\\n          @remainingClass=\\\"educate__article__editor__summary__remaining\\\"\\n        />\\n        <div class=\\\"pt-3 pb-6\\\">\\n          <Admin::SelectorDropdown\\n            @app={{this.app}}\\n            @admins={{this.app.admins}}\\n            @classNames=\\\"u__kill-focus\\\"\\n            @listElementAction={{action (mut this.activeContent.author)}}\\n            @showTeams={{false}}\\n            @showUnassigned={{false}}\\n            @use3dFix={{false}}\\n            data-test-article-author-selector={{true}}\\n          >\\n            <Articles::Shared::ContentOwner\\n              @owner={{this.activeContent.author}}\\n              @updatedAt={{this.activeContent.updatedAt}}\\n              @canEdit={{true}}\\n            />\\n          </Admin::SelectorDropdown>\\n        </div>\\n        {{#if (has-feature \\\"ember-prosemirror-composer\\\")}}\\n          <Composer\\n            class=\\\"educate__article-composer\\\"\\n            @config={{this.prosemirrorComposerConfig}}\\n            @blocksDoc={{this.activeContentBlocksDocument}}\\n            @onReady={{this.prosemirrorComposerReady}}\\n            @onChange={{this.prosemirrorComposerChanged}}\\n          />\\n        {{else}}\\n          <ComposerV2\\n            @actionReceiver={{this.composerComponent}}\\n            @app={{this.app}}\\n            @preset=\\\"article\\\"\\n            @blocks={{this.activeContentBlocks}}\\n            @onChange=\\\"articleContentChanged\\\"\\n            class=\\\"educate__article-composer\\\"\\n            @outerContainerSelector=\\\".educate__article__editor__wrapper\\\"\\n            @viewportSelector=\\\".articles__editor__multilingual-editor\\\"\\n            @placeholder=\\\"Start writing…\\\"\\n            @startedUploading={{action (mut this.isUploading) true}}\\n            @finishedUploading={{action (mut this.isUploading) false}}\\n            @onError={{composer-error-logger \\\"Articles\\\"}}\\n          />\\n        {{/if}}\\n      </div>\\n    </div>\\n  {{else}}\\n    <div class=\\\"mt-8\\\">\\n      <IcEmptyState\\n        @icon=\\\"article\\\"\\n        @title={{concat \\\"This article doesn't have a \\\" this.currentlySelectedLocale.name \\\" translation yet\\\"}}\\n        @buttonLabel={{concat \\\"Add \\\" this.currentlySelectedLocale.name}}\\n        @onButtonClick={{this.addCurrentlySelectedLocale}}\\n        data-test-article-editor-empty-state={{true}}\\n      />\\n    </div>\\n  {{/if}}\\n</div>\\n\\n<Articles::Editor::AudienceTargetingSideDrawer\\n  @article={{@article}}\\n  @home={{this.home}}\\n  @setArticleGroup={{this.setArticleGroup}}\\n  @showSideDrawer={{this.showSideDrawer}}\\n  @onClose={{set this.showSideDrawer false}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n<Articles::Shared::ThemedStyles @themeColor={{this.site.themeColor}} />\\n<Articles::Shared::ArticleHeader @article={{@article}}>\\n  <IcButtonList as |list|>\\n    <IcButton\\n      @label=\\\"Article settings\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action (toggle \\\"showSideDrawer\\\" this)}}\\n      @inRightList={{true}}\\n      data-test-article-settings-button={{true}}\\n    />\\n    <IcButton\\n      @label=\\\"Delete\\\"\\n      @type=\\\"secondary-destructive\\\"\\n      @onClick={{@deleteArticle}}\\n      @inRightList={{true}}\\n      data-test-delete-article-button={{true}}\\n    />\\n    <IcButton\\n      @type=\\\"primary\\\"\\n      @onClick={{this.executeSaveAndClose}}\\n      @disabled={{or this.isUploading this.prosemirrorComposer.composer.state.isUploading this.notDirty this.saveAndClose.isRunning}}\\n      @inRightList={{true}}\\n      class=\\\"articles__editor__save-button\\\"\\n      data-test-save-article-button={{true}}\\n      data-ghost-test-save-article-button\\n    >\\n      {{#if this.saveAndClose.isRunning}}\\n        Saving…\\n      {{else}}\\n        {{#if (or this.isUploading this.prosemirrorComposer.composer.state.isUploading)}}\\n          Uploading…\\n        {{else}}\\n          Save and close\\n        {{/if}}\\n      {{/if}}\\n    </IcButton>\\n  </IcButtonList>\\n</Articles::Shared::ArticleHeader>\\n<div class=\\\"pl-16 mr-8\\\">\\n  <div class=\\\"articles__editor__locale-tab-underline\\\">\\n    <Articles::Shared::LocaleTabControl\\n      @beforeLocaleUpdate={{this.beforeLocaleUpdate}}\\n      @afterLocaleUpdate={{this.afterLocaleUpdate}}\\n    />\\n  </div>\\n</div>\\n<div class=\\\"educate__article__editor-and-error-banner-wrapper-multilingual\\\">\\n  {{#if this.shouldShowErrorBanner}}\\n    {{#if (eq this.remainingMissingContentErrorCount 0)}}\\n      <IcBanner @type=\\\"confirmation\\\">\\n        You've replaced or edited all the missing content\\n        <a onclick={{action (mut this.shouldShowErrorBanner) false}}>\\n          Done\\n        </a>\\n      </IcBanner>\\n    {{else}}\\n      <IcBanner @type=\\\"warning\\\">\\n        Replace the missing content below\\n        ({{this.remainingMissingContentErrorCount}} remaining)\\n        <a\\n          href=\\\"{{this.article.urlImportedFrom}}\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n        >\\n          Open your original article\\n        </a>\\n        <span class=\\\"u__ml__5\\\">\\n          {{ic-interface-icon \\\"new-window\\\"}}\\n        </span>\\n      </IcBanner>\\n    {{/if}}\\n  {{/if}}\\n  {{#if this.activeContent}}\\n    <Articles::Shared::ContentState\\n      @article={{@article}}\\n      @content={{this.activeContent}}\\n      @isEditable={{true}}\\n    />\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"articles__editor__multilingual-editor\\\">\\n        <Common::TextareaTitle\\n          @autofocus={{true}}\\n          @id=\\\"article-title-textarea\\\"\\n          class=\\\"educate__article__editor__title js__article-title mb-4\\\"\\n          placeholder=\\\"Article title\\\"\\n          @value={{this.activeContent.title}}\\n          {{auto-focus-element}}\\n          data-test-article-edit-title\\n          data-ghost-test-article-edit-title\\n        />\\n        <LengthMonitoringTextareaComponent\\n          @maxSize={{this.maxSummarySize}}\\n          @value={{this.activeContent.summary}}\\n          @placeholder=\\\"Describe your article to help it get found\\\"\\n          @textareaClasses=\\\"educate__article__editor__summary__input educate__article__summary\\\"\\n          @classNames=\\\"educate__article__editor__summary test__educate__article-editor__summary\\\"\\n          @remainingClass=\\\"educate__article__editor__summary__remaining\\\"\\n        />\\n        <div class=\\\"pt-3 pb-6\\\">\\n          <Admin::SelectorDropdown\\n            @app={{this.app}}\\n            @admins={{this.app.admins}}\\n            @classNames=\\\"u__kill-focus\\\"\\n            @listElementAction={{action (mut this.activeContent.author)}}\\n            @showTeams={{false}}\\n            @showUnassigned={{false}}\\n            @use3dFix={{false}}\\n            data-test-article-author-selector={{true}}\\n          >\\n            <Articles::Shared::ContentOwner\\n              @owner={{this.activeContent.author}}\\n              @updatedAt={{this.activeContent.updatedAt}}\\n              @canEdit={{true}}\\n            />\\n          </Admin::SelectorDropdown>\\n        </div>\\n        {{#if (has-feature \\\"ember-prosemirror-composer\\\")}}\\n          <Composer\\n            class=\\\"educate__article-composer\\\"\\n            @config={{this.prosemirrorComposerConfig}}\\n            @blocksDoc={{this.activeContentBlocksDocument}}\\n            @onReady={{this.prosemirrorComposerReady}}\\n            @onChange={{this.prosemirrorComposerChanged}}\\n          />\\n        {{else}}\\n          <ComposerV2\\n            @actionReceiver={{this.composerComponent}}\\n            @app={{this.app}}\\n            @preset=\\\"article\\\"\\n            @blocks={{this.activeContentBlocks}}\\n            @onChange=\\\"articleContentChanged\\\"\\n            class=\\\"educate__article-composer\\\"\\n            @outerContainerSelector=\\\".educate__article__editor__wrapper\\\"\\n            @viewportSelector=\\\".articles__editor__multilingual-editor\\\"\\n            @placeholder=\\\"Start writing…\\\"\\n            @startedUploading={{action (mut this.isUploading) true}}\\n            @finishedUploading={{action (mut this.isUploading) false}}\\n            @onError={{composer-error-logger \\\"Articles\\\"}}\\n          />\\n        {{/if}}\\n      </div>\\n    </div>\\n  {{else}}\\n    <div class=\\\"mt-8\\\">\\n      <IcEmptyState\\n        @icon=\\\"article\\\"\\n        @title={{concat \\\"This article doesn't have a \\\" this.currentlySelectedLocale.name \\\" translation yet\\\"}}\\n        @buttonLabel={{concat \\\"Add \\\" this.currentlySelectedLocale.name}}\\n        @onButtonClick={{this.addCurrentlySelectedLocale}}\\n        data-test-article-editor-empty-state={{true}}\\n      />\\n    </div>\\n  {{/if}}\\n</div>\\n\\n<Articles::Editor::AudienceTargetingSideDrawer\\n  @article={{@article}}\\n  @home={{this.home}}\\n  @setArticleGroup={{this.setArticleGroup}}\\n  @showSideDrawer={{this.showSideDrawer}}\\n  @onClose={{set this.showSideDrawer false}}\\n/>\\n\",\"moduleName\":\"embercom/components/articles/editor/article-multilingual-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/editor/article-multilingual-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { on } from '@ember/object/evented';\nimport { isBlank } from '@ember/utils';\nimport { not, or, readOnly, gt } from '@ember/object/computed';\nimport { computed, action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\nimport ErrorHandling from 'embercom/components/mixins/articles/error-handling';\nimport { MAX_SUMMARY_SIZE, MAX_TITLE_SIZE } from 'embercom/models/article';\nimport {\n  equalToProperty,\n  findByProperty,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport { getRouterService } from 'embercom/lib/container-lookup';\nimport { task, timeout } from 'ember-concurrency';\nimport ENV from 'embercom/config/environment';\n\nimport ArticlesComposerConfig from 'embercom/lib/articles/composer-config';\nimport { BlocksDocument } from '@intercom/embercom-prosemirror-composer';\n\nconst MISSING_CONTENT_PLACEHOLDER_URLS = [\n  'https://static.intercomassets.com/assets/missing_table.png',\n  'https://static.intercomassets.com/assets/missing_list.png',\n  'https://static.intercomassets.com/assets/missing_image.png',\n\n  'https://static.intercomassets.com/assets/missing_table_12-2-16.png',\n  'https://static.intercomassets.com/assets/missing_list_12-2-16.png',\n  'https://static.intercomassets.com/assets/missing_image_12-2-16.png',\n  'https://static.intercomassets.com/assets/missing_video_1-27-17.png',\n\n  'https://static.intercomassets.com/assets/missing_table_8-20-18.png',\n  'https://static.intercomassets.com/assets/missing_list_8-20-18.png',\n  'https://static.intercomassets.com/assets/missing_image_8-20-18.png',\n  'https://static.intercomassets.com/assets/missing_video_8-20-18.png',\n];\n\nexport default Component.extend(ErrorHandling, EventTracking, {\n  intercomEventService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  notificationsService: service(),\n  store: service(),\n  helpCenterService: service(),\n  site: readOnly('helpCenterService.site'),\n  currentlySelectedLocaleId: readOnly('helpCenterService.currentlySelectedLocaleId'),\n  currentlySelectedLocale: readOnly('helpCenterService.currentlySelectedLocale'),\n  showSideDrawer: false,\n\n  home: computed(function() {\n    return this.store.peekRecord('articles/article-group', 'home');\n  }),\n\n  activeContent: computed('article.articleContents.[]', 'currentlySelectedLocaleId', function() {\n    return this.article.contentByLocale(this.currentlySelectedLocaleId);\n  }),\n\n  activeContentBlocks: computed('activeContent', function() {\n    if (this.activeContent) {\n      return this.activeContent.jsonBlocksForEditing || this.activeContent.jsonBlocks;\n    }\n    return [];\n  }),\n\n  isMultilingual: gt('site.selectedLocales.length', 1),\n  isNotMultilingual: not('isMultilingual'),\n  shouldShowErrorBanner: null,\n  remainingMissingContentErrorCount: null,\n  originalCollection: null,\n  isUploading: false,\n  collectionHasNotChanged: equalToProperty('originalCollection.id', 'article.folder.id'),\n  collectionHasChanged: not('collectionHasNotChanged'),\n\n  dirty: or(\n    'article.hasDirtyAttributes',\n    'collectionHasChanged',\n    'article.ruleset.hasDirtyAttributes',\n  ),\n\n  notDirty: not('dirty'),\n  maxSummarySize: MAX_SUMMARY_SIZE,\n\n  audienceTargetingItems: computed(\n    'site.segmentedContentTurnedOn',\n    'app.canUseArticleAudienceTargeting',\n    function() {\n      return [\n        {\n          items: [\n            {\n              text: 'Visible to anyone',\n              value: 'everyone',\n            },\n            {\n              text: 'Visible to restricted audience',\n              value: 'users_only',\n              component: 'articles/editor/target-audience-paywalled-select-item',\n              isDisabled:\n                !this.app.canUseArticleAudienceTargeting || !this.site.segmentedContentTurnedOn,\n            },\n          ],\n        },\n      ];\n    },\n  ),\n\n  defaultTargetAudience: 'everyone',\n\n  articleVisibility: ternaryToProperty(\n    'site.segmentedContentTurnedOn',\n    'article.targetUserType',\n    'defaultTargetAudience',\n  ),\n\n  classNames: [\n    'layout__box',\n    'o__flexes-to-1',\n    'o__scrolls',\n    'articles__editor__multilingual-container',\n  ],\n\n  setup: on('didInsertElement', function() {\n    this.get('article.folder').then(folder => {\n      this.set('originalCollection', folder);\n    });\n\n    let showErrorBanner = this.get('article.hasMissingContent');\n\n    this.set('shouldShowErrorBanner', showErrorBanner);\n    this.set(\n      'remainingMissingContentErrorCount',\n      this.get('article.missingContentErrorTotalCount'),\n    );\n  }),\n\n  activeContentBlocksDocument: computed('activeContentBlocks', function() {\n    return new BlocksDocument(this.activeContentBlocks);\n  }),\n\n  prosemirrorComposerConfig: computed('activeContent', function() {\n    let eventService = this.intercomEventService;\n    let analytics = {\n      trackAnalyticsEvent: (eventName: string, attrs: any) => {\n        eventService.trackAnalyticsEvent({\n          action: eventName,\n          object: 'article',\n          place: 'composer',\n          ...attrs,\n        });\n      },\n    };\n\n    return new ArticlesComposerConfig(this.app, this.activeContent.textDirection, analytics);\n  }),\n\n  keyDown(event) {\n    if (this.composerComponent) {\n      if (event.keyCode === 8 || event.keyCode === 46) {\n        let blocks = this.composerComponent.getBlocks();\n\n        let remainingErrors = blocks.filter(block => {\n          return block.type === 'image' && MISSING_CONTENT_PLACEHOLDER_URLS.includes(block.url);\n        });\n\n        this.set('remainingMissingContentErrorCount', remainingErrors.length);\n      }\n    }\n  },\n\n  debouncedSetArticleContentIfChanged: task(function*() {\n    // debounce safely\n    yield timeout(ENV.APP._500MS);\n    this.setArticleContentIfChanged();\n  }).restartable(),\n\n  setArticleContentIfChanged() {\n    if (this.composerComponent) {\n      let composerBlocks = this.composerComponent.getBlocks();\n      let modelBlocks = this.get('activeContent.jsonBlocks');\n      let hasChanged = JSON.stringify(composerBlocks) !== JSON.stringify(modelBlocks);\n      if (hasChanged) {\n        this.set('activeContent.jsonBlocks', composerBlocks);\n        this.set('activeContent.jsonBlocksForEditing', composerBlocks);\n      }\n    }\n  },\n\n  _buildArticleChangesForTracking() {\n    let changes = {};\n\n    if (this.article.changedAttributes().targetUserType) {\n      changes.targetUserType = true;\n    }\n\n    if (this.collectionHasChanged) {\n      changes.collection = true;\n    }\n\n    return changes;\n  },\n\n  _buildContentsChangesForTracking() {\n    let contentsChanges = this.article.articleContents\n      .filter(content => content.hasDirtyAttributes)\n      .map(content => {\n        let changes = { content };\n        if (content.changedAttributes().state) {\n          changes.state = content.changedAttributes().state[1];\n        }\n        return changes;\n      });\n    return contentsChanges;\n  },\n\n  _triggerSaveTrackingEvents(articleChanges = {}, contentsChanges = []) {\n    let metadata = {\n      place: 'article',\n      action: 'saved',\n      saved_as_draft: this.get('article.isDraft'),\n    };\n\n    if (articleChanges.targetUserType) {\n      metadata.target_user_type = this.get('article.targetUserType');\n    }\n\n    if (articleChanges.collection) {\n      let action = this.get('article.folder.isHome') ? 'removed' : 'add';\n      metadata.action = action;\n      if (action === 'removed') {\n        metadata.from_collection_id = this.get('originalCollection.id');\n        metadata.collection_id = this.get('originalCollection.id');\n      } else {\n        metadata.collection_id = this.get('article.folder.id');\n      }\n    }\n\n    this.trackEducateArticleEvent(this.article, metadata);\n    contentsChanges.map(contentChange => {\n      this.trackEducateArticleContentEvent(this.article, contentChange.content, {\n        state: contentChange.state,\n      });\n    });\n  },\n\n  _getNotificationMessage() {\n    // Due to the fact that in multilingual universe a user can edit multiple articles with multiple statuses\n    // we will not support draft specific messages for multilingual.\n    let isDraft = this.isNotMultilingual && this.get('activeContent.isDraft');\n    let inHome = this.get('article.folder.isHome');\n    let leavingHomeDirectory = !inHome && this.get('originalCollection.isHome');\n    let movingCollections = this.collectionHasChanged;\n\n    let message = 'Your article has been saved successfully';\n\n    if (this.isNotMultilingual) {\n      message = isDraft\n        ? \"Your article is saved as a draft, so it's only visible to your team\"\n        : 'Your article is ready to add to a collection or send from the inbox';\n    }\n\n    if (!inHome) {\n      message = isDraft\n        ? \"You've updated this draft in your Help Center, but it's only visible to your team\"\n        : \"You've updated this article in your Help Center\";\n    }\n    if (movingCollections) {\n      if (inHome) {\n        message = isDraft\n          ? 'Your draft has been removed from your Help Center'\n          : 'Your article has been removed from your Help Center';\n      } else {\n        message = isDraft\n          ? \"You've moved this draft to a different collection in your Help Center\"\n          : \"You've moved this article to a different collection in your Help Center\";\n      }\n      if (leavingHomeDirectory) {\n        message = isDraft\n          ? \"Your draft is saved in your Help Center, but it's only visible to your team\"\n          : 'Your article is saved in your Help Center';\n      }\n    }\n    return message;\n  },\n\n  _showSaveNotifications() {\n    let message = this._getNotificationMessage();\n    this.notificationsService.notifyConfirmation(message);\n  },\n\n  articleHasContentInSelectedLocale: findByProperty(\n    'article.articleContents.content',\n    'locale',\n    'currentlySelectedLocaleId',\n  ),\n\n  saveAndClose: task(function*() {\n    this.setArticleContentIfChanged();\n    let article = this.article;\n\n    // TODO - should we select the language with long title? what if there's more than one?\n    if (\n      article.articleContents.any(content => content.title && content.title.length > MAX_TITLE_SIZE)\n    ) {\n      this.notificationsService.notifyError(\n        `Your article title is too long, try editing it to less than ${MAX_TITLE_SIZE} characters`,\n      );\n      return;\n    }\n\n    // TODO - should we select the language with long summary? what if there's more than one?\n    if (\n      article.articleContents.any(\n        content => content.summary && content.summary.length > MAX_SUMMARY_SIZE,\n      )\n    ) {\n      this.notificationsService.notifyError(\n        `Your article summary is too long, try editing it to less than ${MAX_SUMMARY_SIZE} characters`,\n      );\n      return;\n    }\n\n    // TODO - should we have a translated version of \"Untitled article\"?\n    article.articleContents.forEach(content => {\n      if (isBlank(content.title)) {\n        content.set('title', 'Untitled article');\n      }\n    });\n\n    let articleChanges = this._buildArticleChangesForTracking();\n    let contentsChanges = this._buildContentsChangesForTracking();\n\n    try {\n      yield article.save();\n      if (article.ruleset) {\n        article.ruleset.rollbackAttributes();\n      }\n    } catch (response) {\n      this.handleServerError(response, 'There was a problem saving your article');\n      return;\n    }\n    if (this.collectionHasChanged && article.get('folder.id') !== 'home') {\n      article.incrementProperty('collection.count');\n    }\n\n    this._triggerSaveTrackingEvents(articleChanges, contentsChanges);\n    this._showSaveNotifications();\n    getRouterService(this).transitionTo('apps.app.articles.articles.article.show');\n  }).drop(),\n\n  executeSaveAndClose: action(function() {\n    this.saveAndClose.perform().catch(error => {\n      if (error && error.message !== 'TaskCancelation') {\n        this.handleServerError(error, 'There was a problem saving your article');\n      }\n    });\n  }),\n\n  prosemirrorComposerChanged: action(function(newBlocksDocument) {\n    this.set('activeContent.jsonBlocks', newBlocksDocument.blocks);\n    this.set('activeContent.jsonBlocksForEditing', newBlocksDocument.blocks);\n  }),\n\n  prosemirrorComposerReady: action(function(composer) {\n    this.set('prosemirrorComposer', composer);\n  }),\n\n  setArticleGroup: action(function(groupId) {\n    let folder = this.store.peekRecord('articles/article-group', groupId);\n    this.set('article.folder', folder);\n    this.trackEducateArticleEvent(this.article, {\n      place: 'article',\n      action: 'selected',\n      context: 'collection',\n      value: groupId,\n    });\n  }),\n\n  addCurrentlySelectedLocale: action(function() {\n    this.article.createContentIfNone(this.currentlySelectedLocaleId);\n  }),\n\n  beforeLocaleUpdate: action(function() {\n    this.setArticleContentIfChanged();\n  }),\n\n  afterLocaleUpdate: action(function() {\n    if (!this.articleHasContentInSelectedLocale) {\n      this.article.createContentIfNone(this.currentlySelectedLocaleId);\n    }\n\n    if (this.composerComponent) {\n      this.composerComponent.send('load', this.activeContentBlocks);\n    }\n  }),\n\n  actions: {\n    articleContentChanged() {\n      // this isn't ideal, but the composer fires onChange events even when\n      // there has been no user interaction with the composer at all\n      this.debouncedSetArticleContentIfChanged.perform();\n    },\n\n    setTargetUserType(value) {\n      this.set('article.targetUserType', value);\n      this.trackEducateArticleEvent(this.article, {\n        place: 'article',\n        action: 'selected',\n        context: 'target_user_type',\n        value,\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<PulseCandidate::SideDrawer\\n  @isOpen={{@showSideDrawer}}\\n  data-test-audience-targeting-side-drawer\\n  @onClose={{@onClose}} as |drawer|\\n>\\n  <drawer.Header>\\n    Article Settings\\n  </drawer.Header>\\n  <drawer.Body>\\n    <IcContent>\\n      <hr />\\n      <Heading @size='4'>Add to your Help Center</Heading>\\n        {{#if this.collectionsList.length}}\\n          <Text @styling='muted'>Select a collection to pick where your article appears in the Help Center</Text>\\n          <div class=\\\"flex flex-row gap-4\\\" horizontalAlign=\\\"start\\\">\\n            <IcContent>\\n              <Text @styling='label'>Collection</Text>\\n              <IcSelect\\n                @items={{this.collectionsList}}\\n                @onSelectItem={{@setArticleGroup}}\\n                @selectedValue={{if this.articleGroup.isNotHome @article.collection.id}}\\n                @defaultLabel=\\\"Select…\\\"\\n                @footerActions={{hash\\n                  text=\\\"Remove from your Help Center\\\"\\n                  icon=\\\"close\\\"\\n                  action=(fn @setArticleGroup \\\"home\\\")\\n                }}\\n                data-test-article-collection-selector\\n              />\\n            </IcContent>\\n\\n            {{#if this.showSectionsDropdown }}\\n              <IcContent>\\n                <Text @styling='label'>Section (Optional)</Text>\\n                <IcSelect\\n                  @items={{this.sectionsInSelectedCollection}}\\n                  @onSelectItem={{@setArticleGroup}}\\n                  @selectedValue={{if this.articleGroup.isANonHomeSection @article.section.id}}\\n                  @defaultLabel=\\\"Select…\\\"\\n                  @footerActions={{hash\\n                  text=\\\"Remove from section\\\"\\n                    icon=\\\"close\\\"\\n                    action=(fn @setArticleGroup @article.collection.id)\\n                  }}\\n                  data-test-article-section-selector\\n                />\\n              </IcContent>\\n            {{/if}}\\n          </div>\\n        {{else}}\\n          <Text @styling='muted' data-test-help-center-text={{true}}>Create a collection to show your article in the Help Center</Text>\\n        {{/if}}\\n      <hr />\\n      <Paywall @featureKey=\\\"article_audience_targeting\\\" as |paywall|>\\n        {{#if paywall.isActive}}\\n          <paywall.Block>\\n            <Heading @size='4'>Who can view this article?</Heading>\\n            <div class=\\\"mb-4 u__cf\\\">\\n              <MatchingSystem::AudienceSelector::AudienceRulesEditor\\n                @allowedUserRoles={{array 'user' 'lead' 'visitor'}}\\n                @predicateGroup={{this.ruleset.predicateGroup}}\\n                @rolePredicateGroup={{this.ruleset.rolePredicateGroup}}\\n                @onUpdatePredicates={{action \\\"onUpdatePredicates\\\"}}\\n                @onUpdateRolePredicates={{action \\\"onUpdateRolePredicates\\\"}}\\n                @useRolePredicateGroup={{true}}\\n                @isDisabled={{true}}\\n              />\\n            </div>\\n            <Text @styling=\\\"muted\\\" data-test-audience-targeting-text={{true}}>\\n              Anyone will be able to view this article\\n            </Text>\\n          </paywall.Block>\\n        {{else if this.segmentedContentTurnedOff}}\\n          <Heading @size='4'>Who can view this article?</Heading>\\n          <div class=\\\"mb-4 u__cf\\\">\\n            <MatchingSystem::AudienceSelector::AudienceRulesEditor\\n              @allowedUserRoles={{array 'user' 'lead' 'visitor'}}\\n              @predicateGroup={{this.ruleset.predicateGroup}}\\n              @rolePredicateGroup={{this.ruleset.rolePredicateGroup}}\\n              @onUpdatePredicates={{action \\\"onUpdatePredicates\\\"}}\\n              @onUpdateRolePredicates={{action \\\"onUpdateRolePredicates\\\"}}\\n              @useRolePredicateGroup={{true}}\\n              @isDisabled={{true}}\\n            />\\n          </div>\\n          <Text @styling=\\\"muted\\\" data-test-audience-targeting-text={{true}}>\\n            To set an audience for your articles you’ll need to turn on audience targeting in your\\n            <a href={{href-to \\\"apps.app.articles.site.settings\\\"}}>\\n              Help Center settings\\n            </a>\\n          </Text>\\n        {{else}}\\n          <Heading @size='4'>Who can view this article?</Heading>\\n          <div class=\\\"mb-4 u__cf\\\">\\n            <MatchingSystem::AudienceSelector::AudienceRulesEditor\\n              @allowedUserRoles={{array 'user' 'lead' 'visitor'}}\\n              @predicateGroup={{this.ruleset.predicateGroup}}\\n              @rolePredicateGroup={{this.ruleset.rolePredicateGroup}}\\n              @onUpdatePredicates={{action \\\"onUpdatePredicates\\\"}}\\n              @onUpdateRolePredicates={{action \\\"onUpdateRolePredicates\\\"}}\\n              @useRolePredicateGroup={{true}}\\n              @isDisabled={{false}}\\n            />\\n          </div>\\n          <Text @styling=\\\"muted\\\" data-test-audience-targeting-text={{true}}>\\n            {{#if @article.hasRestrictedAudience}}\\n              {{#if this.ruleset.audiencePreview.count}}\\n                {{unless this.ruleset.predicateGroup.hasPredicates \\\"All\\\"}}\\n                {{number-formatter-helper this.ruleset.audiencePreview.count}}\\n                {{inflector-helper this.userTypeDescription this.ruleset.audiencePreview.count}}\\n                will be able to view this article\\n              {{else}}\\n                No one will be able to view this article\\n              {{/if}}\\n            {{else}}\\n              Anyone will be able to view this article\\n            {{/if}}\\n          </Text>\\n        {{/if}}\\n      </Paywall>\\n    </IcContent>\\n  </drawer.Body>\\n</PulseCandidate::SideDrawer>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<PulseCandidate::SideDrawer\\n  @isOpen={{@showSideDrawer}}\\n  data-test-audience-targeting-side-drawer\\n  @onClose={{@onClose}} as |drawer|\\n>\\n  <drawer.Header>\\n    Article Settings\\n  </drawer.Header>\\n  <drawer.Body>\\n    <IcContent>\\n      <hr />\\n      <Heading @size='4'>Add to your Help Center</Heading>\\n        {{#if this.collectionsList.length}}\\n          <Text @styling='muted'>Select a collection to pick where your article appears in the Help Center</Text>\\n          <div class=\\\"flex flex-row gap-4\\\" horizontalAlign=\\\"start\\\">\\n            <IcContent>\\n              <Text @styling='label'>Collection</Text>\\n              <IcSelect\\n                @items={{this.collectionsList}}\\n                @onSelectItem={{@setArticleGroup}}\\n                @selectedValue={{if this.articleGroup.isNotHome @article.collection.id}}\\n                @defaultLabel=\\\"Select…\\\"\\n                @footerActions={{hash\\n                  text=\\\"Remove from your Help Center\\\"\\n                  icon=\\\"close\\\"\\n                  action=(fn @setArticleGroup \\\"home\\\")\\n                }}\\n                data-test-article-collection-selector\\n              />\\n            </IcContent>\\n\\n            {{#if this.showSectionsDropdown }}\\n              <IcContent>\\n                <Text @styling='label'>Section (Optional)</Text>\\n                <IcSelect\\n                  @items={{this.sectionsInSelectedCollection}}\\n                  @onSelectItem={{@setArticleGroup}}\\n                  @selectedValue={{if this.articleGroup.isANonHomeSection @article.section.id}}\\n                  @defaultLabel=\\\"Select…\\\"\\n                  @footerActions={{hash\\n                  text=\\\"Remove from section\\\"\\n                    icon=\\\"close\\\"\\n                    action=(fn @setArticleGroup @article.collection.id)\\n                  }}\\n                  data-test-article-section-selector\\n                />\\n              </IcContent>\\n            {{/if}}\\n          </div>\\n        {{else}}\\n          <Text @styling='muted' data-test-help-center-text={{true}}>Create a collection to show your article in the Help Center</Text>\\n        {{/if}}\\n      <hr />\\n      <Paywall @featureKey=\\\"article_audience_targeting\\\" as |paywall|>\\n        {{#if paywall.isActive}}\\n          <paywall.Block>\\n            <Heading @size='4'>Who can view this article?</Heading>\\n            <div class=\\\"mb-4 u__cf\\\">\\n              <MatchingSystem::AudienceSelector::AudienceRulesEditor\\n                @allowedUserRoles={{array 'user' 'lead' 'visitor'}}\\n                @predicateGroup={{this.ruleset.predicateGroup}}\\n                @rolePredicateGroup={{this.ruleset.rolePredicateGroup}}\\n                @onUpdatePredicates={{action \\\"onUpdatePredicates\\\"}}\\n                @onUpdateRolePredicates={{action \\\"onUpdateRolePredicates\\\"}}\\n                @useRolePredicateGroup={{true}}\\n                @isDisabled={{true}}\\n              />\\n            </div>\\n            <Text @styling=\\\"muted\\\" data-test-audience-targeting-text={{true}}>\\n              Anyone will be able to view this article\\n            </Text>\\n          </paywall.Block>\\n        {{else if this.segmentedContentTurnedOff}}\\n          <Heading @size='4'>Who can view this article?</Heading>\\n          <div class=\\\"mb-4 u__cf\\\">\\n            <MatchingSystem::AudienceSelector::AudienceRulesEditor\\n              @allowedUserRoles={{array 'user' 'lead' 'visitor'}}\\n              @predicateGroup={{this.ruleset.predicateGroup}}\\n              @rolePredicateGroup={{this.ruleset.rolePredicateGroup}}\\n              @onUpdatePredicates={{action \\\"onUpdatePredicates\\\"}}\\n              @onUpdateRolePredicates={{action \\\"onUpdateRolePredicates\\\"}}\\n              @useRolePredicateGroup={{true}}\\n              @isDisabled={{true}}\\n            />\\n          </div>\\n          <Text @styling=\\\"muted\\\" data-test-audience-targeting-text={{true}}>\\n            To set an audience for your articles you’ll need to turn on audience targeting in your\\n            <a href={{href-to \\\"apps.app.articles.site.settings\\\"}}>\\n              Help Center settings\\n            </a>\\n          </Text>\\n        {{else}}\\n          <Heading @size='4'>Who can view this article?</Heading>\\n          <div class=\\\"mb-4 u__cf\\\">\\n            <MatchingSystem::AudienceSelector::AudienceRulesEditor\\n              @allowedUserRoles={{array 'user' 'lead' 'visitor'}}\\n              @predicateGroup={{this.ruleset.predicateGroup}}\\n              @rolePredicateGroup={{this.ruleset.rolePredicateGroup}}\\n              @onUpdatePredicates={{action \\\"onUpdatePredicates\\\"}}\\n              @onUpdateRolePredicates={{action \\\"onUpdateRolePredicates\\\"}}\\n              @useRolePredicateGroup={{true}}\\n              @isDisabled={{false}}\\n            />\\n          </div>\\n          <Text @styling=\\\"muted\\\" data-test-audience-targeting-text={{true}}>\\n            {{#if @article.hasRestrictedAudience}}\\n              {{#if this.ruleset.audiencePreview.count}}\\n                {{unless this.ruleset.predicateGroup.hasPredicates \\\"All\\\"}}\\n                {{number-formatter-helper this.ruleset.audiencePreview.count}}\\n                {{inflector-helper this.userTypeDescription this.ruleset.audiencePreview.count}}\\n                will be able to view this article\\n              {{else}}\\n                No one will be able to view this article\\n              {{/if}}\\n            {{else}}\\n              Anyone will be able to view this article\\n            {{/if}}\\n          </Text>\\n        {{/if}}\\n      </Paywall>\\n    </IcContent>\\n  </drawer.Body>\\n</PulseCandidate::SideDrawer>\\n\",\"moduleName\":\"embercom/components/articles/editor/audience-targeting-side-drawer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/editor/audience-targeting-side-drawer.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { copy } from 'ember-copy';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\n\nexport default class AudienceTargetingSideDrawer extends Component {\n  @service helpCenterService;\n\n  @tracked ruleset = this.args.article.ruleset;\n  @tracked articleGroup = this.args.article.folder;\n\n  @action\n  onUpdatePredicates(predicates) {\n    this.ruleset.set('predicateGroup.predicates', copy(predicates));\n    this.ruleset.get('fetchAudiencePreviewTask').perform();\n  }\n\n  @action\n  onUpdateRolePredicates(rolePredicates) {\n    this.ruleset.set('rolePredicateGroup.predicates', copy(rolePredicates));\n    this.ruleset.get('fetchAudiencePreviewTask').perform();\n  }\n\n  get segmentedContentTurnedOff() {\n    return !this.helpCenterService.site.segmentedContentTurnedOn;\n  }\n\n  get userTypeDescription() {\n    let userTypeFromAudiencePreview =\n      this.ruleset.get('audiencePreview.predicateGroup.userType') ||\n      this.ruleset.get('audiencePreview.rolePredicateGroup.userType');\n    let userType = userTypeFromAudiencePreview || this.ruleset.userType || 'user';\n    if (userType === 'user') {\n      return 'user';\n    } else if (userType === 'lead') {\n      return 'lead';\n    }\n    return 'person';\n  }\n\n  get collectionsList() {\n    return this.args.home.get('children').map(collection => ({\n      text: collection.name,\n      value: collection.id,\n      icon: collection.icon,\n      component: 'articles/editor/collection-select-item',\n    }));\n  }\n\n  get showSectionsDropdown() {\n    let parentIsCollectionWithSections =\n      this.articleGroup.get('isCollection') && this.articleGroup.get('hasChildren');\n    return this.articleGroup.get('isANonHomeSection') || parentIsCollectionWithSections;\n  }\n\n  get sectionsInSelectedCollection() {\n    return this.args.article.collection.get('children').map(section => ({\n      text: section.name,\n      value: section.id,\n    }));\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div>\\n  <span class=\\\"articles__editor__collection-select-item-icon\\\">{{inline-svg (concat \\\"educate/collection-icons/\\\" @item.icon)}}</span>\\n  <span>{{@item.text}}</span>\\n</div>\\n\", {\"contents\":\"<div>\\n  <span class=\\\"articles__editor__collection-select-item-icon\\\">{{inline-svg (concat \\\"educate/collection-icons/\\\" @item.icon)}}</span>\\n  <span>{{@item.text}}</span>\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/editor/collection-select-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/editor/collection-select-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n  {{#unless (eq @item.value 'all')}}\\n    <div class=\\\"articles__list__status-badge o__{{lowercase @item.text}} u__mr__10\\\" data-test-content-filter-status-badge></div>\\n  {{/unless}}\\n  <div>{{@item.text}}</div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n  {{#unless (eq @item.value 'all')}}\\n    <div class=\\\"articles__list__status-badge o__{{lowercase @item.text}} u__mr__10\\\" data-test-content-filter-status-badge></div>\\n  {{/unless}}\\n  <div>{{@item.text}}</div>\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/editor/content-status-select-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/editor/content-status-select-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Paywall\\n  @featureKey=\\\"article_audience_targeting\\\"\\n  as |paywall|\\n>\\n    <div class=\\\"flex flex-col gap-2\\\">\\n      <div class=\\\"flex flex-row gap-1\\\">\\n        <p>{{@item.text}}</p>\\n        {{#if (and paywall.isInactive @item.isDisabled)}}\\n          <IcTooltipIcon @isInteractive={{true}}>\\n            <p>\\n              Set a login page in your\\n              <a href={{href-to \\\"apps.app.articles.site.settings\\\"}}>\\n                Help Center settings\\n              </a>\\n              to use audience targeting\\n            </p>\\n          </IcTooltipIcon>\\n        {{/if}}\\n      </div>\\n      <paywall.Badge />\\n    </div>\\n\\n</Paywall>\\n\", {\"contents\":\"<Paywall\\n  @featureKey=\\\"article_audience_targeting\\\"\\n  as |paywall|\\n>\\n    <div class=\\\"flex flex-col gap-2\\\">\\n      <div class=\\\"flex flex-row gap-1\\\">\\n        <p>{{@item.text}}</p>\\n        {{#if (and paywall.isInactive @item.isDisabled)}}\\n          <IcTooltipIcon @isInteractive={{true}}>\\n            <p>\\n              Set a login page in your\\n              <a href={{href-to \\\"apps.app.articles.site.settings\\\"}}>\\n                Help Center settings\\n              </a>\\n              to use audience targeting\\n            </p>\\n          </IcTooltipIcon>\\n        {{/if}}\\n      </div>\\n      <paywall.Badge />\\n    </div>\\n\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/articles/editor/target-audience-paywalled-select-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/editor/target-audience-paywalled-select-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<div class=\\\"flex flex-col article-inserter__panel__preview\\\">\\n  <div class=\\\"flex flex-col flex-1 article-inserter__panel__preview-content pb-8 pt-8 pr-10 pl-10\\\">\\n    <IcContent>\\n      <h1\\n        class=\\\"t__h1 article-inserter__panel__preview-content-text\\\"\\n        data-test-article-inserter-display-title\\n      >\\n        {{this.displayContent.titleForDisplay}}\\n      </h1>\\n      {{#if this.displayContent.summary}}\\n        <h2 class=\\\"t__h2__deem article-inserter__panel__preview-content-text\\\">\\n          {{this.displayContent.summary}}\\n        </h2>\\n      {{/if}}\\n      <Articles::Shared::ContentOwner\\n        @owner={{this.displayContent.author}}\\n        @updatedAt={{this.displayContent.updatedAt}}\\n      />\\n      {{#if this.displayContent.jsonBlocks}}\\n        <div class=\\\"educate__article-composer\\\">\\n          {{render-blocks this.displayContent.jsonBlocks}}\\n        </div>\\n      {{else}}\\n        <p class=\\\"educate__article__view__summary\\\">\\n          No words yet — edit the article to start writing\\n        </p>\\n      {{/if}}\\n    </IcContent>\\n  </div>\\n  <div class=\\\"flex flex-row items-center justify-center article-inserter__panel__bottom-bar\\\">\\n  {{#if @restrictedForUser}}\\n    <Articles::Shared::LockedArticleIcon @restrictedAccess={{true}} />\\n  {{else}}\\n    <IcButton\\n      @type=\\\"primary\\\"\\n      @label={{this.addButtonLabel}}\\n      @onClick={{this.insert}}\\n      @isDisabled={{this.insertCardTask.isRunning}}\\n      class=\\\"u__right\\\"\\n      data-test-article-insert-button\\n    />\\n  {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<div class=\\\"flex flex-col article-inserter__panel__preview\\\">\\n  <div class=\\\"flex flex-col flex-1 article-inserter__panel__preview-content pb-8 pt-8 pr-10 pl-10\\\">\\n    <IcContent>\\n      <h1\\n        class=\\\"t__h1 article-inserter__panel__preview-content-text\\\"\\n        data-test-article-inserter-display-title\\n      >\\n        {{this.displayContent.titleForDisplay}}\\n      </h1>\\n      {{#if this.displayContent.summary}}\\n        <h2 class=\\\"t__h2__deem article-inserter__panel__preview-content-text\\\">\\n          {{this.displayContent.summary}}\\n        </h2>\\n      {{/if}}\\n      <Articles::Shared::ContentOwner\\n        @owner={{this.displayContent.author}}\\n        @updatedAt={{this.displayContent.updatedAt}}\\n      />\\n      {{#if this.displayContent.jsonBlocks}}\\n        <div class=\\\"educate__article-composer\\\">\\n          {{render-blocks this.displayContent.jsonBlocks}}\\n        </div>\\n      {{else}}\\n        <p class=\\\"educate__article__view__summary\\\">\\n          No words yet — edit the article to start writing\\n        </p>\\n      {{/if}}\\n    </IcContent>\\n  </div>\\n  <div class=\\\"flex flex-row items-center justify-center article-inserter__panel__bottom-bar\\\">\\n  {{#if @restrictedForUser}}\\n    <Articles::Shared::LockedArticleIcon @restrictedAccess={{true}} />\\n  {{else}}\\n    <IcButton\\n      @type=\\\"primary\\\"\\n      @label={{this.addButtonLabel}}\\n      @onClick={{this.insert}}\\n      @isDisabled={{this.insertCardTask.isRunning}}\\n      class=\\\"u__right\\\"\\n      data-test-article-insert-button\\n    />\\n  {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/inbox-inserter/article-preview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/inbox-inserter/article-preview.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport { action } from '@ember/object';\n\nexport default class ArticlePreview extends Component {\n  @service intercomEventService;\n  @service paywallService;\n  @service notificationsService;\n\n  get displayContent() {\n    return (\n      this.args.article.contentByLocale(this.args.selectedLocaleId) || this.args.article.firstObject\n    );\n  }\n\n  get canInsert() {\n    if (this.args.controlsAPI.conversation && this.args.article.hasRestrictedAudience) {\n      return this.args.controlsAPI.conversation.main_participant.isUserRole;\n    }\n    return true;\n  }\n\n  get addButtonLabel() {\n    if (this.args.hasMultipleLanguages) {\n      return `Add in ${this.args.selectedLocaleName}`;\n    }\n\n    return 'Add';\n  }\n\n  _trackEvents() {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: this.args.article,\n      action: 'added_to_reply',\n      is_suggestion: false,\n      target_user_type: this.args.article.targetUserType,\n      conversation_id: this.args.controlsAPI.conversation && this.args.controlsAPI.conversation.id,\n      locale: this.args.selectedLocaleId,\n      default_locale: this.args.article.site.locale,\n      is_default_locale: this.args.selectedLocaleId === this.args.article.site.locale,\n    });\n\n    this.intercomEventService.trackEvent('sent_article_in_conversation', {\n      action: 'sent',\n      object: 'article',\n      place: 'comment',\n      owner: 'growth-sp',\n    });\n  }\n\n  @task({ drop: true })\n  *insertCardTask() {\n    try {\n      return yield this.args.article.createMessengerCard(\n        this.args.selectedLocaleId,\n        this.args.controlsAPI.conversation && this.args.controlsAPI.conversation.id,\n      );\n    } catch (error) {\n      this.notificationsService.notifyError(\n        'Could not add the article. Please ensure the article inserter app is installed',\n      );\n    }\n  }\n\n  @task({ drop: true })\n  *_doInsertion() {\n    this._trackEvents();\n\n    let card = yield this.insertCardTask.perform();\n\n    this.args.controlsAPI.actions.insertBlock('messengerCard', card);\n    this.args.inserterAPI.actions.close();\n\n    if (this.args.controlsAPI.actions.clearSuggestions) {\n      this.args.controlsAPI.actions.clearSuggestions();\n    }\n  }\n\n  @action insert() {\n    this._doInsertion.perform();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div {{on \\\"click\\\" (stop-propagation (fn @setPreviewArticle @article))}}>\\n  <div class=\\\"flex flex-row article-inserter__list-item p-4\\\" data-test-article-list-item={{@article.id}}>\\n    <Articles::Shared::LockedArticleIcon\\n      @restrictedAccess={{this.restrictedIcon}}\\n      @iconOnly={{true}}\\n    />\\n    <div class=\\\"flex flex-col ml-1\\\">\\n      <IcContent>\\n        <h4 class=\\\"t__h4 mb-1\\\">\\n          <TruncatedTextComponent @lines={{1}}>\\n            {{@article.title}}\\n          </TruncatedTextComponent>\\n        </h4>\\n        {{#if @article.summary}}\\n          <p class=\\\"body text-gray mb-1\\\">\\n            <TruncatedTextComponent @lines={{2}}>\\n              {{@article.summary}}\\n            </TruncatedTextComponent>\\n          </p>\\n        {{/if}}\\n        <div class=\\\"flex flex-row\\\">\\n          <span class=\\\"mr-2\\\">\\n            {{ic-avatar direct=this.author.avatarData size=\\\"xs\\\"}}\\n          </span>\\n          <p class=\\\"t__light-text\\\">\\n            By {{this.author.name}}\\n          </p>\\n        </div>\\n      </IcContent>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div {{on \\\"click\\\" (stop-propagation (fn @setPreviewArticle @article))}}>\\n  <div class=\\\"flex flex-row article-inserter__list-item p-4\\\" data-test-article-list-item={{@article.id}}>\\n    <Articles::Shared::LockedArticleIcon\\n      @restrictedAccess={{this.restrictedIcon}}\\n      @iconOnly={{true}}\\n    />\\n    <div class=\\\"flex flex-col ml-1\\\">\\n      <IcContent>\\n        <h4 class=\\\"t__h4 mb-1\\\">\\n          <TruncatedTextComponent @lines={{1}}>\\n            {{@article.title}}\\n          </TruncatedTextComponent>\\n        </h4>\\n        {{#if @article.summary}}\\n          <p class=\\\"body text-gray mb-1\\\">\\n            <TruncatedTextComponent @lines={{2}}>\\n              {{@article.summary}}\\n            </TruncatedTextComponent>\\n          </p>\\n        {{/if}}\\n        <div class=\\\"flex flex-row\\\">\\n          <span class=\\\"mr-2\\\">\\n            {{ic-avatar direct=this.author.avatarData size=\\\"xs\\\"}}\\n          </span>\\n          <p class=\\\"t__light-text\\\">\\n            By {{this.author.name}}\\n          </p>\\n        </div>\\n      </IcContent>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/inbox-inserter/list-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/inbox-inserter/list-item.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\n\nexport default class ListItem extends Component {\n  @service appService;\n\n  get author() {\n    return this.appService.app.humanAdmins.find(admin => admin.id === this.args.article.author_id);\n  }\n\n  get restrictedIcon() {\n    return this.args.article.restricted_icon;\n  }\n\n  get restrictedForUser() {\n    return !this.args.article.visible_to_user;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#each @articles as |article|}}\\n  <Articles::InboxInserter::ListItem\\n    @article={{article}}\\n    @setPreviewArticle={{@setPreviewArticle}}\\n  />\\n{{/each}}\\n\", {\"contents\":\"{{#each @articles as |article|}}\\n  <Articles::InboxInserter::ListItem\\n    @article={{article}}\\n    @setPreviewArticle={{@setPreviewArticle}}\\n  />\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/articles/inbox-inserter/list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/inbox-inserter/list.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"js__article-inserter__locale-dropdown-item\\\">\\n  {{@item.text}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"js__article-inserter__locale-dropdown-item\\\">\\n  {{@item.text}}\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/inbox-inserter/locale-dropdown-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/inbox-inserter/locale-dropdown-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__has-columns\\\">\\n  <div\\n    class=\\\"outbound__opens-stat layout__box o__flexes-to-1\\\"\\n    data-test-view-count\\n    {{tooltip content=(if (has-feature 'canUseNewArticleStatsSystem') 'Views' 'Viewers')}}\\n  >\\n    {{ic-interface-icon 'visible'}}\\n    {{#if (is-present @stats.viewCount)}}\\n      <a href={{href-to 'apps.app.articles.articles.article.show.stats' @articleId (query-params displaying=(if (has-feature 'canUseNewArticleStatsSystem') 'views' 'viewers'))}} class=\\\"t__solo-link\\\">\\n        {{format-number @stats.viewCount}}\\n      </a>\\n    {{else}}\\n      &mdash;\\n    {{/if}}\\n  </div>\\n  <div\\n    class=\\\"outbound__replies-stat layout__box o__flexes-to-1\\\"\\n    data-test-conversation-count\\n    {{tooltip content=\\\"Conversations\\\"}}\\n  >\\n    {{ic-interface-icon 'conversation'}}\\n    {{#if (is-present @stats.replyCount)}}\\n      <a href={{href-to 'apps.app.articles.articles.article.show.stats' @articleId (query-params displaying='newchat')}} class=\\\"t__solo-link\\\">\\n        {{format-number @stats.replyCount}}\\n      </a>\\n    {{else}}\\n      &mdash;\\n    {{/if}}\\n  </div>\\n  <div\\n    class=\\\"text-gray layout__box o__flexes-to-1\\\"\\n    {{tooltip content=\\\"Sad reactions\\\"}}\\n    data-test-sad-count\\n  >\\n    <span class=\\\"u__ml__5\\\">😞</span>\\n    {{#if (is-present @stats.reaction2Percentage)}}\\n      <a href={{href-to 'apps.app.articles.articles.article.show.stats' @articleId (query-params displaying=(if (has-feature 'canUseNewArticleStatsSystem') 'reacted' 'reaction_2') reaction='reaction_2')}} class=\\\"t__solo-link\\\">\\n        {{format-percentage @stats.reaction2Percentage}}\\n      </a>\\n    {{else}}\\n      &mdash;\\n    {{/if}}\\n  </div>\\n  <div\\n    class=\\\"text-gray layout__box o__flexes-to-1\\\"\\n    {{tooltip content=\\\"Neutral reactions\\\"}}\\n    data-test-neutral-count\\n  >\\n    <span class=\\\"u__ml__5\\\">😐</span>\\n    {{#if (is-present @stats.reaction1Percentage)}}\\n      <a href={{href-to 'apps.app.articles.articles.article.show.stats' @articleId (query-params displaying=(if (has-feature 'canUseNewArticleStatsSystem') 'reacted' 'reaction_1') reaction='reaction_1')}} class=\\\"t__solo-link\\\">\\n        {{format-percentage @stats.reaction1Percentage}}\\n      </a>\\n    {{else}}\\n      &mdash;\\n    {{/if}}\\n  </div>\\n  <div\\n    class=\\\"text-gray layout__box o__flexes-to-1\\\"\\n    {{tooltip content=\\\"Happy reactions\\\"}}\\n    data-test-happy-count\\n  >\\n    <span class=\\\"u__ml__5\\\">😃</span>\\n    {{#if (is-present @stats.reaction0Percentage)}}\\n      <a href={{href-to 'apps.app.articles.articles.article.show.stats' @articleId (query-params displaying=(if (has-feature 'canUseNewArticleStatsSystem') 'reacted' 'reaction_0') reaction='reaction_0')}} class=\\\"t__solo-link\\\">\\n        {{format-percentage @stats.reaction0Percentage}}\\n      </a>\\n    {{else}}\\n      &mdash;\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__has-columns\\\">\\n  <div\\n    class=\\\"outbound__opens-stat layout__box o__flexes-to-1\\\"\\n    data-test-view-count\\n    {{tooltip content=(if (has-feature 'canUseNewArticleStatsSystem') 'Views' 'Viewers')}}\\n  >\\n    {{ic-interface-icon 'visible'}}\\n    {{#if (is-present @stats.viewCount)}}\\n      <a href={{href-to 'apps.app.articles.articles.article.show.stats' @articleId (query-params displaying=(if (has-feature 'canUseNewArticleStatsSystem') 'views' 'viewers'))}} class=\\\"t__solo-link\\\">\\n        {{format-number @stats.viewCount}}\\n      </a>\\n    {{else}}\\n      &mdash;\\n    {{/if}}\\n  </div>\\n  <div\\n    class=\\\"outbound__replies-stat layout__box o__flexes-to-1\\\"\\n    data-test-conversation-count\\n    {{tooltip content=\\\"Conversations\\\"}}\\n  >\\n    {{ic-interface-icon 'conversation'}}\\n    {{#if (is-present @stats.replyCount)}}\\n      <a href={{href-to 'apps.app.articles.articles.article.show.stats' @articleId (query-params displaying='newchat')}} class=\\\"t__solo-link\\\">\\n        {{format-number @stats.replyCount}}\\n      </a>\\n    {{else}}\\n      &mdash;\\n    {{/if}}\\n  </div>\\n  <div\\n    class=\\\"text-gray layout__box o__flexes-to-1\\\"\\n    {{tooltip content=\\\"Sad reactions\\\"}}\\n    data-test-sad-count\\n  >\\n    <span class=\\\"u__ml__5\\\">😞</span>\\n    {{#if (is-present @stats.reaction2Percentage)}}\\n      <a href={{href-to 'apps.app.articles.articles.article.show.stats' @articleId (query-params displaying=(if (has-feature 'canUseNewArticleStatsSystem') 'reacted' 'reaction_2') reaction='reaction_2')}} class=\\\"t__solo-link\\\">\\n        {{format-percentage @stats.reaction2Percentage}}\\n      </a>\\n    {{else}}\\n      &mdash;\\n    {{/if}}\\n  </div>\\n  <div\\n    class=\\\"text-gray layout__box o__flexes-to-1\\\"\\n    {{tooltip content=\\\"Neutral reactions\\\"}}\\n    data-test-neutral-count\\n  >\\n    <span class=\\\"u__ml__5\\\">😐</span>\\n    {{#if (is-present @stats.reaction1Percentage)}}\\n      <a href={{href-to 'apps.app.articles.articles.article.show.stats' @articleId (query-params displaying=(if (has-feature 'canUseNewArticleStatsSystem') 'reacted' 'reaction_1') reaction='reaction_1')}} class=\\\"t__solo-link\\\">\\n        {{format-percentage @stats.reaction1Percentage}}\\n      </a>\\n    {{else}}\\n      &mdash;\\n    {{/if}}\\n  </div>\\n  <div\\n    class=\\\"text-gray layout__box o__flexes-to-1\\\"\\n    {{tooltip content=\\\"Happy reactions\\\"}}\\n    data-test-happy-count\\n  >\\n    <span class=\\\"u__ml__5\\\">😃</span>\\n    {{#if (is-present @stats.reaction0Percentage)}}\\n      <a href={{href-to 'apps.app.articles.articles.article.show.stats' @articleId (query-params displaying=(if (has-feature 'canUseNewArticleStatsSystem') 'reacted' 'reaction_0') reaction='reaction_0')}} class=\\\"t__solo-link\\\">\\n        {{format-percentage @stats.reaction0Percentage}}\\n      </a>\\n    {{else}}\\n      &mdash;\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/list/article-item-stats.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/list/article-item-stats.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns\\\">\\n  <div class=\\\"layout__box o__flexes-to-1\\\" data-test-article-list-title>\\n    <Common::HamburgerMenu>\\n      <span class=\\\"t__h1\\\">\\n        {{if hasPerformedSearch \\\"Search results\\\" title}}\\n      </span>\\n      {{#if articles.meta.total_count}}\\n      <span class=\\\"t__h1__deem u__ml__10\\\">\\n        ({{articles.meta.total_count}})\\n      </span>\\n      {{/if}}\\n    </Common::HamburgerMenu>\\n  </div>\\n  <div class=\\\"u__padr__30 layout__box o__has-columns\\\">\\n    <IcButtonList as |list|>\\n      <list.button @type=\\\"secondary\\\" @onClick={{this.importArticles}} @disabled={{importButtonDisabled}}\\n        @inRightList={{true}}>\\n        {{ic-interface-icon \\\"filled-cloud-upload\\\"}} Import\\n      </list.button>\\n      <list.button @type=\\\"primary\\\" @onClick={{this.createArticle}} data-test-new-article-button={{true}}>\\n        <span>\\n          {{ic-interface-icon \\\"article\\\"}} New article\\n        </span>\\n      </list.button>\\n    </IcButtonList>\\n  </div>\\n</div>\\n<div class=\\\"js__article__list__outer-container u__pad__0 o__has-rows main__content layout__box o__flexes-to-1\\\">\\n  {{#if (or currentImportId hasActiveApiImport)}}\\n    <div class=\\\"u__padl__30 u__padr__30 u__padb__30\\\">\\n      <IcBanner @type=\\\"help\\\"\\n        @text=\\\"We're working on importing your articles - we'll email you when it's done.\\\" />\\n    </div>\\n  {{else}}\\n    {{#if showPageIntroductionBanner}}\\n      <Pulse::DiscoveryBanner\\n        class=\\\"m-8\\\"\\n        @heading=\\\"How articles work\\\"\\n        @description=\\\"Everyone on your team can create drafts or finished articles. You can also import them from an existing knowledge base.\\\"\\n        @dismissalType=\\\"got-it-button\\\"\\n        @dismissalKey=\\\"page_introduction_banner_articles\\\"\\n        @dismissalService={{service 'banner-dismissal-service'}}\\n        as |banner|\\n      >\\n        <banner.TourLink\\n          @title=\\\"Tour: Create an article\\\"\\n          @tourId=\\\"51309\\\"\\n          @handleTourExternally={{true}}\\n          {{on 'click' (route-action 'openArticlesTour' 'apps.app.articles.articles' 51309)}}\\n        />\\n      </Pulse::DiscoveryBanner>\\n    {{else}}\\n      <Articles::List::UpsellBanners />\\n    {{/if}}\\n  {{/if}}\\n  <Articles::List::PaginatedTable\\n    @articles={{articles}}\\n    @loadNextPage={{loadNextPage}}\\n    @updateFilters={{updateFilters}}\\n    @isLoading={{isLoading}}\\n    @selectedContentStatus={{selectedContentStatus}}\\n    @hasPerformedSearch={{hasPerformedSearch}}\\n    @createArticle={{this.createArticle}} />\\n</div>\\n\\n{{#if this.showArticleImportModal}}\\n  <Articles::Shared::ArticleImportModal @closeModal={{set this.showArticleImportModal false}} @hasActiveApiImport={{@hasActiveApiImport}}/>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns\\\">\\n  <div class=\\\"layout__box o__flexes-to-1\\\" data-test-article-list-title>\\n    <Common::HamburgerMenu>\\n      <span class=\\\"t__h1\\\">\\n        {{if hasPerformedSearch \\\"Search results\\\" title}}\\n      </span>\\n      {{#if articles.meta.total_count}}\\n      <span class=\\\"t__h1__deem u__ml__10\\\">\\n        ({{articles.meta.total_count}})\\n      </span>\\n      {{/if}}\\n    </Common::HamburgerMenu>\\n  </div>\\n  <div class=\\\"u__padr__30 layout__box o__has-columns\\\">\\n    <IcButtonList as |list|>\\n      <list.button @type=\\\"secondary\\\" @onClick={{this.importArticles}} @disabled={{importButtonDisabled}}\\n        @inRightList={{true}}>\\n        {{ic-interface-icon \\\"filled-cloud-upload\\\"}} Import\\n      </list.button>\\n      <list.button @type=\\\"primary\\\" @onClick={{this.createArticle}} data-test-new-article-button={{true}}>\\n        <span>\\n          {{ic-interface-icon \\\"article\\\"}} New article\\n        </span>\\n      </list.button>\\n    </IcButtonList>\\n  </div>\\n</div>\\n<div class=\\\"js__article__list__outer-container u__pad__0 o__has-rows main__content layout__box o__flexes-to-1\\\">\\n  {{#if (or currentImportId hasActiveApiImport)}}\\n    <div class=\\\"u__padl__30 u__padr__30 u__padb__30\\\">\\n      <IcBanner @type=\\\"help\\\"\\n        @text=\\\"We're working on importing your articles - we'll email you when it's done.\\\" />\\n    </div>\\n  {{else}}\\n    {{#if showPageIntroductionBanner}}\\n      <Pulse::DiscoveryBanner\\n        class=\\\"m-8\\\"\\n        @heading=\\\"How articles work\\\"\\n        @description=\\\"Everyone on your team can create drafts or finished articles. You can also import them from an existing knowledge base.\\\"\\n        @dismissalType=\\\"got-it-button\\\"\\n        @dismissalKey=\\\"page_introduction_banner_articles\\\"\\n        @dismissalService={{service 'banner-dismissal-service'}}\\n        as |banner|\\n      >\\n        <banner.TourLink\\n          @title=\\\"Tour: Create an article\\\"\\n          @tourId=\\\"51309\\\"\\n          @handleTourExternally={{true}}\\n          {{on 'click' (route-action 'openArticlesTour' 'apps.app.articles.articles' 51309)}}\\n        />\\n      </Pulse::DiscoveryBanner>\\n    {{else}}\\n      <Articles::List::UpsellBanners />\\n    {{/if}}\\n  {{/if}}\\n  <Articles::List::PaginatedTable\\n    @articles={{articles}}\\n    @loadNextPage={{loadNextPage}}\\n    @updateFilters={{updateFilters}}\\n    @isLoading={{isLoading}}\\n    @selectedContentStatus={{selectedContentStatus}}\\n    @hasPerformedSearch={{hasPerformedSearch}}\\n    @createArticle={{this.createArticle}} />\\n</div>\\n\\n{{#if this.showArticleImportModal}}\\n  <Articles::Shared::ArticleImportModal @closeModal={{set this.showArticleImportModal false}} @hasActiveApiImport={{@hasActiveApiImport}}/>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/articles/list/article-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/list/article-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { bool, or, readOnly } from '@ember/object/computed';\nimport { action } from '@ember/object';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport { adminHasSeenFromPageviews, fetchAdminPageviews } from 'embercom/lib/admin-view-tracking';\nimport { CAN_MANAGE_ARTICLES_PERMISSION } from 'embercom/lib/articles/constants';\n\nexport default Component.extend({\n  store: service(),\n  helpCenterService: service(),\n  router: service(),\n  permissionsService: service(),\n  classNames: ['layout__box', 'o__has-rows', 'o__flexes-to-1'],\n  isLoading: true,\n  adminPageviews: null,\n  showPageIntroductionBanner: true,\n  site: readOnly('helpCenterService.site'),\n  importButtonDisabled: or('hasImportId', 'hasActiveApiImport'),\n  hasImportId: bool('currentImportId'),\n  hasArticlesPro: readOnly('app.articlesProduct.hasProPlan'),\n\n  init() {\n    this._super(...arguments);\n    this.getAdminPageviews.perform().then(() => this._determineBannerDisplayLogic());\n  },\n\n  getAdminPageviews: task(function*() {\n    let pageviews = yield fetchAdminPageviews(this.store);\n    return this.set('adminPageviews', pageviews);\n  }),\n\n  _determineBannerDisplayLogic() {\n    if (adminHasSeenFromPageviews(this.adminPageviews, 'page_introduction_banner_articles')) {\n      this.set('showPageIntroductionBanner', false);\n    }\n  },\n\n  createArticle: action(function() {\n    this.router.transitionTo('apps.app.articles.articles.new');\n  }),\n\n  importArticles: action(function() {\n    this.permissionsService.checkPermission(CAN_MANAGE_ARTICLES_PERMISSION).then(() => {\n      this.set('showArticleImportModal', true);\n    });\n  }),\n\n  actions: {\n    loadNewlyImportedArticles() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('loadNewlyImportedArticles');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (and authors authors.length)}}\\n  <div\\n    class=\\\"layout__box o__has-columns o__centers-vertically articles__list__tbl__avatar__stack whitespace-no-wrap\\\"\\n    data-test-avatar-stack\\n  >\\n    {{#if (eq authors.length 1)}}\\n      {{ic-avatar model=(object-at 0 authors) size=(or avatarSize \\\"s\\\")}}\\n      <div class=\\\"ml-2\\\">\\n        <div data-test-article-author-name>\\n          <LinkTo\\n            @route=\\\"apps.app.admins.admin\\\"\\n            @model={{firstAuthor.id}}\\n            class=\\\"t__solo-link\\\"\\n          >\\n            {{firstAuthor.name}}\\n          </LinkTo>\\n        </div>\\n        {{#if updatedAt}}\\n          <div class=\\\"t__smaller\\\">\\n            <span class=\\\"t__light-text\\\">\\n              {{article-timeago-helper updatedAt}}\\n            </span>\\n          </div>\\n        {{/if}}\\n      </div>\\n    {{else}}\\n      {{#each authors as |author|}}\\n        <div class=\\\"articles__list__tbl__avatar-group\\\">\\n          <IcTooltip as |t|>\\n            <t.opener>\\n              {{ic-avatar model=author size=(or avatarSize \\\"s\\\")}}\\n            </t.opener>\\n            <t.content>\\n              {{author.name}}\\n            </t.content>\\n          </IcTooltip>\\n        </div>\\n      {{/each}}\\n    {{/if}}\\n  </div>\\n{{else}}\\n  <div\\n    class=\\\"layout__box o__has-columns o__centers-vertically\\\"\\n    data-test-content-missing-author\\n  >\\n    <div class=\\\"articles__list__tbl__author__cell__missing-author\\\"></div>\\n    <div class=\\\"text-gray u__ml__10\\\">\\n      No Author\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (and authors authors.length)}}\\n  <div\\n    class=\\\"layout__box o__has-columns o__centers-vertically articles__list__tbl__avatar__stack whitespace-no-wrap\\\"\\n    data-test-avatar-stack\\n  >\\n    {{#if (eq authors.length 1)}}\\n      {{ic-avatar model=(object-at 0 authors) size=(or avatarSize \\\"s\\\")}}\\n      <div class=\\\"ml-2\\\">\\n        <div data-test-article-author-name>\\n          <LinkTo\\n            @route=\\\"apps.app.admins.admin\\\"\\n            @model={{firstAuthor.id}}\\n            class=\\\"t__solo-link\\\"\\n          >\\n            {{firstAuthor.name}}\\n          </LinkTo>\\n        </div>\\n        {{#if updatedAt}}\\n          <div class=\\\"t__smaller\\\">\\n            <span class=\\\"t__light-text\\\">\\n              {{article-timeago-helper updatedAt}}\\n            </span>\\n          </div>\\n        {{/if}}\\n      </div>\\n    {{else}}\\n      {{#each authors as |author|}}\\n        <div class=\\\"articles__list__tbl__avatar-group\\\">\\n          <IcTooltip as |t|>\\n            <t.opener>\\n              {{ic-avatar model=author size=(or avatarSize \\\"s\\\")}}\\n            </t.opener>\\n            <t.content>\\n              {{author.name}}\\n            </t.content>\\n          </IcTooltip>\\n        </div>\\n      {{/each}}\\n    {{/if}}\\n  </div>\\n{{else}}\\n  <div\\n    class=\\\"layout__box o__has-columns o__centers-vertically\\\"\\n    data-test-content-missing-author\\n  >\\n    <div class=\\\"articles__list__tbl__author__cell__missing-author\\\"></div>\\n    <div class=\\\"text-gray u__ml__10\\\">\\n      No Author\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/articles/list/content-authors.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/list/content-authors.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  authors: computed(\n    'article.defaultContent.author',\n    'article.orderedArticleContents.[]',\n    'localeId',\n    function() {\n      if (!this.article) {\n        return null;\n      }\n\n      if (this.localeId) {\n        let content = this.article.contentByLocale(this.localeId);\n        if (content) {\n          return [content.author];\n        } else {\n          return null;\n        }\n      } else {\n        return this.article.orderedArticleContents\n          .compact()\n          .mapBy('author')\n          .uniqBy();\n      }\n    },\n  ),\n\n  firstAuthor: readOnly('authors.firstObject'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (and (eq @selectedContentStatus 'missing') @hasMultipleLocales)}}\\n  <IcEmptyState\\n    @icon='live'\\n    @title='No {{@selectedLanguage}} translations missing'\\n  />\\n{{else if (and (eq @selectedContentStatus 'draft') @hasMultipleLocales)}}\\n  <IcEmptyState\\n    @icon='article'\\n    @title='No draft articles in {{@selectedLanguage}}'\\n  />\\n{{else if (and (eq @selectedContentStatus 'draft') (not @hasMultipleLocales))}}\\n  <IcEmptyState\\n    @icon='article'\\n    @title='No draft articles'\\n  />\\n{{else if (and (eq @selectedContentStatus 'published') @hasMultipleLocales)}}\\n  <IcEmptyState\\n    @icon='article'\\n    @title='No published articles in {{@selectedLanguage}}'\\n  />\\n{{else if (and (eq @selectedContentStatus 'published') (not @hasMultipleLocales))}}\\n  <IcEmptyState\\n    @icon='article'\\n    @title='No published articles'\\n  />\\n{{else}}\\n  <IcEmptyState\\n    @icon='article'\\n    @title='No articles found'\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{#if (and (eq @selectedContentStatus 'missing') @hasMultipleLocales)}}\\n  <IcEmptyState\\n    @icon='live'\\n    @title='No {{@selectedLanguage}} translations missing'\\n  />\\n{{else if (and (eq @selectedContentStatus 'draft') @hasMultipleLocales)}}\\n  <IcEmptyState\\n    @icon='article'\\n    @title='No draft articles in {{@selectedLanguage}}'\\n  />\\n{{else if (and (eq @selectedContentStatus 'draft') (not @hasMultipleLocales))}}\\n  <IcEmptyState\\n    @icon='article'\\n    @title='No draft articles'\\n  />\\n{{else if (and (eq @selectedContentStatus 'published') @hasMultipleLocales)}}\\n  <IcEmptyState\\n    @icon='article'\\n    @title='No published articles in {{@selectedLanguage}}'\\n  />\\n{{else if (and (eq @selectedContentStatus 'published') (not @hasMultipleLocales))}}\\n  <IcEmptyState\\n    @icon='article'\\n    @title='No published articles'\\n  />\\n{{else}}\\n  <IcEmptyState\\n    @icon='article'\\n    @title='No articles found'\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/articles/list/content-empty-state.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/list/content-empty-state.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @articleContent}}\\n  {{yield @articleContent.state}}\\n{{else}}\\n  {{yield 'missing'}}\\n{{/if}}\\n\", {\"contents\":\"{{#if @articleContent}}\\n  {{yield @articleContent.state}}\\n{{else}}\\n  {{yield 'missing'}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/articles/list/content-status/badge-state-wrapper.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/list/content-status/badge-state-wrapper.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex flex-row items-center {{if isSingleLanguage 'justify-start' 'justify-center'}}\\\">\\n  {{#if isSingleLanguage}}\\n    <div\\n      class=\\\"articles__list__status-badge o__{{state}} mr-2\\\"\\n      data-test-content-summary-status-badge\\n    ></div>\\n    <p data-test-content-summary-status-label>\\n      {{capitalize state}}\\n    </p>\\n  {{else}}\\n    <IcTooltip data-test-content-summary-status-badge-tooltip-opener as |t|>\\n      <t.opener>\\n        <div class=\\\"flex flex-col justify-center items-center articles__list__status-badge-wrapper\\\">\\n          <div\\n            class=\\\"articles__list__status-badge o__{{state}} {{if (and (has-feature 'canUseArticlesNeedsReview') needsReview) 'o__review'}}\\\"\\n            data-test-content-summary-status-badge\\n          ></div>\\n        </div>\\n      </t.opener>\\n      <t.content data-test-content-summary-status-badge-tooltip-content>\\n        {{capitalize state}}{{if (eq state \\\"draft\\\") \\\"ed\\\"}} in {{localeName}}\\n        {{if (and (has-feature 'canUseArticlesNeedsReview') needsReview) \\\"(unsupported content)\\\"}}\\n      </t.content>\\n    </IcTooltip>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex flex-row items-center {{if isSingleLanguage 'justify-start' 'justify-center'}}\\\">\\n  {{#if isSingleLanguage}}\\n    <div\\n      class=\\\"articles__list__status-badge o__{{state}} mr-2\\\"\\n      data-test-content-summary-status-badge\\n    ></div>\\n    <p data-test-content-summary-status-label>\\n      {{capitalize state}}\\n    </p>\\n  {{else}}\\n    <IcTooltip data-test-content-summary-status-badge-tooltip-opener as |t|>\\n      <t.opener>\\n        <div class=\\\"flex flex-col justify-center items-center articles__list__status-badge-wrapper\\\">\\n          <div\\n            class=\\\"articles__list__status-badge o__{{state}} {{if (and (has-feature 'canUseArticlesNeedsReview') needsReview) 'o__review'}}\\\"\\n            data-test-content-summary-status-badge\\n          ></div>\\n        </div>\\n      </t.opener>\\n      <t.content data-test-content-summary-status-badge-tooltip-content>\\n        {{capitalize state}}{{if (eq state \\\"draft\\\") \\\"ed\\\"}} in {{localeName}}\\n        {{if (and (has-feature 'canUseArticlesNeedsReview') needsReview) \\\"(unsupported content)\\\"}}\\n      </t.content>\\n    </IcTooltip>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/list/content-status/badge.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/list/content-status/badge.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  helpCenterService: service(),\n  isSingleLanguage: or('singleLanguageMode', 'helpCenterService.isSingleLanguage'),\n  localeName: computed('localeId', 'helpCenterService.site.selectedLocalesOrdered', function() {\n    return this.helpCenterService.site.selectedLocalesOrdered.findBy(\n      'localeId',\n      this.localeId,\n    ).name;\n  }),\n  state: computed('localeId', 'article.articleContents.[]', function() {\n    let content = this.article.contentByLocale(this.localeId);\n    if (content) {\n      return content.state;\n    }\n    return 'missing';\n  }),\n  needsReview: computed('localeId', 'article.articleContents.[]', function() {\n    let content = this.article.contentByLocale(this.localeId);\n    if (content) {\n      return content.needsReview;\n    }\n    return false;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n  {{#each @article.orderedArticleContents as |content|}}\\n    <Articles::List::ContentStatus::BadgeStateWrapper @articleContent={{content}} as |state|>\\n      <div\\n        class=\\\"articles__list__status-badge o__{{state}} u__mr__35\\\"\\n        data-test-content-summary-status-badge\\n      ></div>\\n    </Articles::List::ContentStatus::BadgeStateWrapper>\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n  {{#each @article.orderedArticleContents as |content|}}\\n    <Articles::List::ContentStatus::BadgeStateWrapper @articleContent={{content}} as |state|>\\n      <div\\n        class=\\\"articles__list__status-badge o__{{state}} u__mr__35\\\"\\n        data-test-content-summary-status-badge\\n      ></div>\\n    </Articles::List::ContentStatus::BadgeStateWrapper>\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/list/content-status/grouped-badges.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/list/content-status/grouped-badges.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-center\\\" data-test-content-summary-title>\\n  <div class=\\\"flex flex-col justify-center u__one-truncated-line\\\">\\n    <h3\\n      class=\\\"t__h3 u__one-truncated-line {{unless this.selectedLocalizedContent \\\"articles__list__fallback__title\\\"}}\\\"\\n      data-intercom-target=\\\"article-title-{{or @article.selectedLocalizedContent.state 'draft'}}\\\"\\n    >\\n      <LinkTo\\n        @route=\\\"apps.app.articles.articles.article.show\\\"\\n        @model={{@article.id}}\\n        @classNames=\\\"t__solo-link\\\"\\n      >\\n        {{#if this.selectedLocalizedContent}}\\n          {{or this.selectedLocalizedContent.title @article.missingTitlePlaceholder}}\\n        {{else if @article.hasDefaultLocalizedContent}}\\n          ({{capitalize @article.defaultLocalizedContent.locale}}) {{@article.defaultLocalizedContent.title}}\\n        {{else}}\\n          {{@article.missingTitlePlaceholder}}\\n        {{/if}}\\n      </LinkTo>\\n    </h3>\\n  </div>\\n  {{#if (and (has-feature 'canUseArticlesNeedsReview') this.showReviewStamp)}}\\n    <IcTooltip class=\\\"ml-2\\\" data-test-content-summary-review-stamp=\\\"true\\\" as |t|>\\n      <t.opener>\\n        {{ic-interface-icon \\\"alert-circle\\\" color=\\\"yellow\\\"}}\\n      </t.opener>\\n      <t.content>\\n        Unsupported content\\n      </t.content>\\n    </IcTooltip>\\n  {{/if}}\\n  {{#if (and (not this.selectedLocalizedContent) @article.hasDefaultLocalizedContent)}}\\n    <div class=\\\"flex flex-col justify-center\\\">\\n      <span class=\\\"stamp o__inactive u__one-truncated-line ml-2\\\">\\n        Not translated\\n      </span>\\n    </div>\\n  {{/if}}\\n</div>\\n<span class=\\\"u__one-truncated-line t__light-text mt-1\\\" data-test-content-summary-summary>\\n  {{#if this.selectedLocalizedContent}}\\n    {{this.selectedLocalizedContent.summary}}\\n  {{else if @article.defaultLocalizedContent.summary}}\\n    {{@article.defaultLocalizedContent.summary}}\\n  {{/if}}\\n</span>\\n{{#if @showCollectionBadge}}\\n  <div class=\\\"mt-2\\\">\\n    <Articles::Shared::BadgeCollection @article={{@article}} />\\n  </div>\\n{{/if}}\\n<Articles::Shared::BadgeSegmentedContent @article={{@article}} @inList={{true}} />\\n\", {\"contents\":\"<div class=\\\"flex flex-row items-center\\\" data-test-content-summary-title>\\n  <div class=\\\"flex flex-col justify-center u__one-truncated-line\\\">\\n    <h3\\n      class=\\\"t__h3 u__one-truncated-line {{unless this.selectedLocalizedContent \\\"articles__list__fallback__title\\\"}}\\\"\\n      data-intercom-target=\\\"article-title-{{or @article.selectedLocalizedContent.state 'draft'}}\\\"\\n    >\\n      <LinkTo\\n        @route=\\\"apps.app.articles.articles.article.show\\\"\\n        @model={{@article.id}}\\n        @classNames=\\\"t__solo-link\\\"\\n      >\\n        {{#if this.selectedLocalizedContent}}\\n          {{or this.selectedLocalizedContent.title @article.missingTitlePlaceholder}}\\n        {{else if @article.hasDefaultLocalizedContent}}\\n          ({{capitalize @article.defaultLocalizedContent.locale}}) {{@article.defaultLocalizedContent.title}}\\n        {{else}}\\n          {{@article.missingTitlePlaceholder}}\\n        {{/if}}\\n      </LinkTo>\\n    </h3>\\n  </div>\\n  {{#if (and (has-feature 'canUseArticlesNeedsReview') this.showReviewStamp)}}\\n    <IcTooltip class=\\\"ml-2\\\" data-test-content-summary-review-stamp=\\\"true\\\" as |t|>\\n      <t.opener>\\n        {{ic-interface-icon \\\"alert-circle\\\" color=\\\"yellow\\\"}}\\n      </t.opener>\\n      <t.content>\\n        Unsupported content\\n      </t.content>\\n    </IcTooltip>\\n  {{/if}}\\n  {{#if (and (not this.selectedLocalizedContent) @article.hasDefaultLocalizedContent)}}\\n    <div class=\\\"flex flex-col justify-center\\\">\\n      <span class=\\\"stamp o__inactive u__one-truncated-line ml-2\\\">\\n        Not translated\\n      </span>\\n    </div>\\n  {{/if}}\\n</div>\\n<span class=\\\"u__one-truncated-line t__light-text mt-1\\\" data-test-content-summary-summary>\\n  {{#if this.selectedLocalizedContent}}\\n    {{this.selectedLocalizedContent.summary}}\\n  {{else if @article.defaultLocalizedContent.summary}}\\n    {{@article.defaultLocalizedContent.summary}}\\n  {{/if}}\\n</span>\\n{{#if @showCollectionBadge}}\\n  <div class=\\\"mt-2\\\">\\n    <Articles::Shared::BadgeCollection @article={{@article}} />\\n  </div>\\n{{/if}}\\n<Articles::Shared::BadgeSegmentedContent @article={{@article}} @inList={{true}} />\\n\",\"moduleName\":\"embercom/components/articles/list/content-summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/list/content-summary.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  selectedLocalizedContent: computed('localeId', 'article.articleContents.[]', function() {\n    if (!this.localeId) {\n      return this.article.defaultLocalizedContent;\n    }\n    return this.article.contentByLocale(this.localeId);\n  }),\n  showReviewStamp: computed(\n    'selectedLocalizedContent',\n    'article.needsReview',\n    'localeId',\n    function() {\n      if (this.localeId) {\n        return this.selectedLocalizedContent?.needsReview;\n      } else {\n        return this.article.needsReview;\n      }\n    },\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless hasPerformedSearch}}\\n  <div data-test-articles-list-filters data-ghost-test-articles-list-filters class=\\\"layout__box o__has-columns\\\">\\n    <IcRadioButtonGroup\\n      @selectedValue={{selectedContentStatus}}\\n      @onSelectionChange={{this.changeStateFilter}}\\n      as |group|\\n    >\\n      <group.button\\n        @label=\\\"All\\\"\\n        @value=\\\"\\\"\\n        data-test-articles-list-filter-all\\n      />\\n      <group.button\\n        @label=\\\"Published\\\"\\n        @value=\\\"published\\\"\\n        data-test-articles-list-filter-published\\n      />\\n      <group.button\\n        @label=\\\"Draft\\\"\\n        @value=\\\"draft\\\"\\n        data-test-articles-list-filter-draft\\n      />\\n      {{#if hasMultipleLocales}}\\n        <group.button\\n          @label=\\\"Missing\\\"\\n          @value=\\\"missing\\\"\\n          data-test-articles-list-filter-missing\\n        />\\n      {{/if}}\\n    </IcRadioButtonGroup>\\n\\n    {{#if (and selectedContentStatus (not helpCenterService.isSingleLanguage)) }}\\n      <div class=\\\"u__center-layout pl-2 pr-2\\\">\\n        in\\n      </div>\\n      <IcSelect\\n        @items={{languageOptions}}\\n        @onSelectItem={{this.changeLocale}}\\n        @selectedValue={{currentlySelectedLocaleId}}\\n      />\\n    {{/if}}\\n  </div>\\n{{/unless}}\\n<div class=\\\"articles__list__tbl pt-4 layout__box o__flexes-to-1 o__has-rows {{unless helpCenterService.isSingleLanguage 'o__centered-language-headers'}}\\\">\\n  <IcTable\\n    @columns={{columns}}\\n    @data={{articles}}\\n    @onLoadMore={{loadNextPage}}\\n    @canLoadMore={{hasMorePages}}\\n    @isLoading={{and isLoading (not articles.length)}}\\n    @isLoadingMore={{and isLoading articles.length}}\\n    @loadingRowCount={{50}}\\n    @minWidth='100%'\\n    as |table|>\\n    <table.rows as |row|>\\n      <row.cell @valuePath='article'>\\n        <Articles::List::ContentSummary\\n          @article={{row.data}}\\n          @showCollectionBadge={{true}}\\n        />\\n      </row.cell>\\n      {{#each site.selectedLocalesOrdered as |locale|}}\\n        <row.cell @valuePath={{locale.localeId}}>\\n          <Articles::List::ContentStatus::Badge\\n            @article={{row.data}}\\n            @localeId={{locale.localeId}}\\n          />\\n        </row.cell>\\n      {{/each}}\\n      <row.cell @valuePath='empty'>\\n      </row.cell>\\n      <row.cell @valuePath='author'>\\n        <Articles::List::ContentAuthors\\n          @article={{row.data}}\\n        />\\n      </row.cell>\\n      <row.cell @valuePath='performance'>\\n        <Articles::List::ArticleItemStats\\n          @stats={{row.data.stats}}\\n          @articleId={{row.data.id}}\\n        />\\n      </row.cell>\\n    </table.rows>\\n  </IcTable>\\n  {{#unless (or articles.length isLoading)}}\\n    <div class=\\\"layout__box o__flexes-to-1 o__centers-all pb-16\\\" data-test-table-empty>\\n      {{#unless selectedContentStatus}}\\n        <IcEmptyState\\n          @icon='article'\\n          @title='No articles yet'\\n          @description='Write a new article that answers a question your customers are asking.'\\n          @buttonLabel='Create new article'\\n          @onButtonClick={{createArticle}}\\n        />\\n      {{else}}\\n        <Articles::List::ContentEmptyState\\n          @selectedLanguage={{selectedLanguage}}\\n          @selectedContentStatus={{selectedContentStatus}}\\n          @hasMultipleLocales={{hasMultipleLocales}}\\n        />\\n      {{/unless}}\\n    </div>\\n  {{/unless}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless hasPerformedSearch}}\\n  <div data-test-articles-list-filters data-ghost-test-articles-list-filters class=\\\"layout__box o__has-columns\\\">\\n    <IcRadioButtonGroup\\n      @selectedValue={{selectedContentStatus}}\\n      @onSelectionChange={{this.changeStateFilter}}\\n      as |group|\\n    >\\n      <group.button\\n        @label=\\\"All\\\"\\n        @value=\\\"\\\"\\n        data-test-articles-list-filter-all\\n      />\\n      <group.button\\n        @label=\\\"Published\\\"\\n        @value=\\\"published\\\"\\n        data-test-articles-list-filter-published\\n      />\\n      <group.button\\n        @label=\\\"Draft\\\"\\n        @value=\\\"draft\\\"\\n        data-test-articles-list-filter-draft\\n      />\\n      {{#if hasMultipleLocales}}\\n        <group.button\\n          @label=\\\"Missing\\\"\\n          @value=\\\"missing\\\"\\n          data-test-articles-list-filter-missing\\n        />\\n      {{/if}}\\n    </IcRadioButtonGroup>\\n\\n    {{#if (and selectedContentStatus (not helpCenterService.isSingleLanguage)) }}\\n      <div class=\\\"u__center-layout pl-2 pr-2\\\">\\n        in\\n      </div>\\n      <IcSelect\\n        @items={{languageOptions}}\\n        @onSelectItem={{this.changeLocale}}\\n        @selectedValue={{currentlySelectedLocaleId}}\\n      />\\n    {{/if}}\\n  </div>\\n{{/unless}}\\n<div class=\\\"articles__list__tbl pt-4 layout__box o__flexes-to-1 o__has-rows {{unless helpCenterService.isSingleLanguage 'o__centered-language-headers'}}\\\">\\n  <IcTable\\n    @columns={{columns}}\\n    @data={{articles}}\\n    @onLoadMore={{loadNextPage}}\\n    @canLoadMore={{hasMorePages}}\\n    @isLoading={{and isLoading (not articles.length)}}\\n    @isLoadingMore={{and isLoading articles.length}}\\n    @loadingRowCount={{50}}\\n    @minWidth='100%'\\n    as |table|>\\n    <table.rows as |row|>\\n      <row.cell @valuePath='article'>\\n        <Articles::List::ContentSummary\\n          @article={{row.data}}\\n          @showCollectionBadge={{true}}\\n        />\\n      </row.cell>\\n      {{#each site.selectedLocalesOrdered as |locale|}}\\n        <row.cell @valuePath={{locale.localeId}}>\\n          <Articles::List::ContentStatus::Badge\\n            @article={{row.data}}\\n            @localeId={{locale.localeId}}\\n          />\\n        </row.cell>\\n      {{/each}}\\n      <row.cell @valuePath='empty'>\\n      </row.cell>\\n      <row.cell @valuePath='author'>\\n        <Articles::List::ContentAuthors\\n          @article={{row.data}}\\n        />\\n      </row.cell>\\n      <row.cell @valuePath='performance'>\\n        <Articles::List::ArticleItemStats\\n          @stats={{row.data.stats}}\\n          @articleId={{row.data.id}}\\n        />\\n      </row.cell>\\n    </table.rows>\\n  </IcTable>\\n  {{#unless (or articles.length isLoading)}}\\n    <div class=\\\"layout__box o__flexes-to-1 o__centers-all pb-16\\\" data-test-table-empty>\\n      {{#unless selectedContentStatus}}\\n        <IcEmptyState\\n          @icon='article'\\n          @title='No articles yet'\\n          @description='Write a new article that answers a question your customers are asking.'\\n          @buttonLabel='Create new article'\\n          @onButtonClick={{createArticle}}\\n        />\\n      {{else}}\\n        <Articles::List::ContentEmptyState\\n          @selectedLanguage={{selectedLanguage}}\\n          @selectedContentStatus={{selectedContentStatus}}\\n          @hasMultipleLocales={{hasMultipleLocales}}\\n        />\\n      {{/unless}}\\n    </div>\\n  {{/unless}}\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/list/paginated-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/list/paginated-table.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed, action } from '@ember/object';\nimport Component from '@ember/component';\nimport { alias, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  helpCenterService: service(),\n  site: readOnly('helpCenterService.site'),\n  classNames: ['layout__box o__flexes-to-1 o__has-rows pl-16 pr-8'],\n  selectedLocalesOrdered: alias('helpCenterService.site.selectedLocalesOrdered'),\n  currentlySelectedLocaleId: readOnly('helpCenterService.currentlySelectedLocaleId'),\n\n  hasMorePages: computed('articles.meta', function() {\n    if (!this.articles.meta) {\n      return false;\n    }\n\n    return this.articles.meta.page < this.articles.meta.total_pages;\n  }),\n\n  columns: computed('selectedLocalesOrdered.[]', function() {\n    let languageColumns = this.selectedLocalesOrdered.map(loc => {\n      let label = loc.localeId\n        .split('-')\n        .map(part => part.charAt(0).toUpperCase() + part.slice(1, part.length))\n        .join('-');\n\n      return {\n        label: this.helpCenterService.isSingleLanguage ? 'Status' : label,\n        valuePath: loc.localeId,\n        minWidth: '40px',\n        ...(!this.helpCenterService.isSingleLanguage && { type: 'number' }),\n      };\n    });\n\n    return [\n      {\n        label: 'Article',\n        valuePath: 'article',\n        minWidth: '320px',\n        maxWith: '0',\n        type: 'multiline',\n      },\n      ...languageColumns,\n      { label: '', valuePath: 'empty', width: '1px' },\n      {\n        label: 'Author',\n        valuePath: 'author',\n        minWidth: '120px',\n        maxWidth: '320px',\n        type: 'avatar-with-text',\n      },\n      {\n        label: 'Performance',\n        valuePath: 'performance',\n        minWidth: '320px',\n        width: '320px',\n      },\n    ];\n  }),\n\n  languageOptions: computed('site.selectedLocalesOrdered', function() {\n    return this.selectedLocalesOrdered.map(loc => ({\n      text: loc.name,\n      value: loc.localeId,\n    }));\n  }),\n\n  articlesMissingAnyContents: computed('articles.[]', 'currentlySelectedLocaleId', function() {\n    return this.articles.filter(article => {\n      return !article.contentByLocale(this.currentlySelectedLocaleId);\n    });\n  }),\n\n  hasMultipleLocales: alias('helpCenterService.site.hasMultipleLocales'),\n\n  selectedLanguage: computed('currentlySelectedLocaleId', 'languageOptions', function() {\n    let option = this.languageOptions.findBy('value', this.currentlySelectedLocaleId);\n    if (option) {\n      return option.text;\n    }\n  }),\n\n  changeStateFilter: action(function(state) {\n    this.set('selectedContentStatus', state);\n    this.updateFilters({ selectedContentStatus: state, locale: this.currentlySelectedLocaleId });\n  }),\n\n  changeLocale: action(function(locale) {\n    this.helpCenterService.updateLocale(locale);\n    this.updateFilters({ locale, selectedContentStatus: this.selectedContentStatus });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.app.currentAdmin.canAccessProductSettings}}\\n  {{#if (not (or this.hasArticlesPro this.hasDismissedArticlesProBanner))}}\\n    <Pulse::DiscoveryBanner\\n      @heading=\\\"Provide complete, consistent answers for every customer\\\"\\n      @description=\\\"Help your different customers find answers quickly with multilingual and private articles.\\\"\\n      @dismissalType=\\\"close-icon\\\"\\n      @dismissalKey=\\\"{{this.articlesProBannerKey}}\\\"\\n      @dismissalService={{service 'banner-dismissal-service'}}\\n      class=\\\"m-16\\\"\\n      data-test-discovery-banner-articles-pro\\n      as |banner|\\n    >\\n      <banner.Link\\n        @svgName=\\\"products/id-5-brand-refresh-product-card\\\"\\n        @title=\\\"Try Articles Pro\\\"\\n        data-test-discovery-banner-articles-pro-upgrade-link\\n        {{on 'click' this.openArticlesProUpgradeModal}}\\n      />\\n    </Pulse::DiscoveryBanner>\\n  {{else}}\\n    <Pulse::DiscoveryBanner\\n      @heading=\\\"Make self-serve even faster with Resolution Bot\\\"\\n      @description=\\\"Instantly resolve 33% of your customers’ most common questions with precise automated answers.\\\"\\n      @dismissalType=\\\"close-icon\\\"\\n      @dismissalKey=\\\"answer-bot-discovery-banner-article\\\"\\n      @dismissalService={{service 'banner-dismissal-service'}}\\n      class=\\\"m-16\\\"\\n      as |banner|\\n    >\\n      <banner.Link\\n        @icon=\\\"operator\\\"\\n        @title=\\\"Try Resolution Bot\\\"\\n        data-test-discovery-banner-get-answer-bot\\n        {{on 'click' (queue\\n          (track-analytics-event action='clicked' object='get_answer_bot_link' context='from_discovery_banner')\\n          (transition-to 'apps.app.operator.resolution-bot')\\n        )}}\\n      />\\n    </Pulse::DiscoveryBanner>\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{#if this.app.currentAdmin.canAccessProductSettings}}\\n  {{#if (not (or this.hasArticlesPro this.hasDismissedArticlesProBanner))}}\\n    <Pulse::DiscoveryBanner\\n      @heading=\\\"Provide complete, consistent answers for every customer\\\"\\n      @description=\\\"Help your different customers find answers quickly with multilingual and private articles.\\\"\\n      @dismissalType=\\\"close-icon\\\"\\n      @dismissalKey=\\\"{{this.articlesProBannerKey}}\\\"\\n      @dismissalService={{service 'banner-dismissal-service'}}\\n      class=\\\"m-16\\\"\\n      data-test-discovery-banner-articles-pro\\n      as |banner|\\n    >\\n      <banner.Link\\n        @svgName=\\\"products/id-5-brand-refresh-product-card\\\"\\n        @title=\\\"Try Articles Pro\\\"\\n        data-test-discovery-banner-articles-pro-upgrade-link\\n        {{on 'click' this.openArticlesProUpgradeModal}}\\n      />\\n    </Pulse::DiscoveryBanner>\\n  {{else}}\\n    <Pulse::DiscoveryBanner\\n      @heading=\\\"Make self-serve even faster with Resolution Bot\\\"\\n      @description=\\\"Instantly resolve 33% of your customers’ most common questions with precise automated answers.\\\"\\n      @dismissalType=\\\"close-icon\\\"\\n      @dismissalKey=\\\"answer-bot-discovery-banner-article\\\"\\n      @dismissalService={{service 'banner-dismissal-service'}}\\n      class=\\\"m-16\\\"\\n      as |banner|\\n    >\\n      <banner.Link\\n        @icon=\\\"operator\\\"\\n        @title=\\\"Try Resolution Bot\\\"\\n        data-test-discovery-banner-get-answer-bot\\n        {{on 'click' (queue\\n          (track-analytics-event action='clicked' object='get_answer_bot_link' context='from_discovery_banner')\\n          (transition-to 'apps.app.operator.resolution-bot')\\n        )}}\\n      />\\n    </Pulse::DiscoveryBanner>\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/articles/list/upsell-banners.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/list/upsell-banners.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { action, computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { adminHasSeen } from 'embercom/lib/admin-view-tracking';\n\nexport default Component.extend({\n  paywallService: service(),\n  appService: service(),\n  store: service(),\n\n  app: readOnly('appService.app'),\n  hasArticlesPro: computed('app.features.[]', function() {\n    return this.app.canUseFeature('multilingual_articles');\n  }),\n  articlesProBannerKey: 'articles-pro-discovery-banner',\n  hasDismissedArticlesProBanner: false,\n\n  async didInsertElement() {\n    this._super(...arguments);\n    let adminHasDismissedArticlesProBanner = await adminHasSeen(\n      this.store,\n      this.articlesProBannerKey,\n    );\n    this.set('hasDismissedArticlesProBanner', adminHasDismissedArticlesProBanner);\n  },\n\n  openArticlesProUpgradeModal: action(function() {\n    this.paywallService\n      .paywall({\n        featureName: 'multilingual_articles',\n        place: this.articlesProBannerKey,\n      })\n      .catch(this.paywallService.handleError);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__has-columns\\\">\\n  <div class=\\\"layout__box o__flexes-to-1 pb-2 pl-8 pr-8 pt-6\\\">\\n    <Common::HamburgerMenu @includePadding={{false}}>\\n      <span class=\\\"t__h1 articles__editor__header-text o__truncated\\\">\\n        {{@article.titleForDisplay}}\\n      </span>\\n      {{#if (and (has-feature 'canUseArticlesNeedsReview') @article.needsReview)}}\\n        <IcTooltip class=\\\"ml-2\\\" as |t|>\\n          <t.opener>\\n            {{ic-interface-icon \\\"alert-circle\\\" color=\\\"yellow\\\"}}\\n          </t.opener>\\n          <t.content>\\n            Unsupported content\\n          </t.content>\\n        </IcTooltip>\\n      {{/if}}\\n    </Common::HamburgerMenu>\\n  </div>\\n  <div class=\\\"flex flex-row pr-8 pt-6 pb-2\\\">\\n    {{yield}}\\n  </div>\\n</div>\\n{{#unless @hideSettings}}\\n  <div class=\\\"layout__box o__has-columns ml-16 mb-6 mr-8\\\">\\n    <div class=\\\"mr-2\\\">\\n      <Articles::Shared::BadgeCollection @article={{@article}} />\\n    </div>\\n    {{#if (and @article.helpCenterService.site.segmentedContentTurnedOn @article.hasRestrictedAudience) }}\\n      <span class=\\\"mr-2 t__light-text\\\"> · </span>\\n    {{/if}}\\n    <Articles::Shared::BadgeSegmentedContent @article={{@article}} @showUnrestrictedBadge={{true}}/>\\n  </div>\\n{{/unless}}\\n\", {\"contents\":\"<div class=\\\"layout__box o__has-columns\\\">\\n  <div class=\\\"layout__box o__flexes-to-1 pb-2 pl-8 pr-8 pt-6\\\">\\n    <Common::HamburgerMenu @includePadding={{false}}>\\n      <span class=\\\"t__h1 articles__editor__header-text o__truncated\\\">\\n        {{@article.titleForDisplay}}\\n      </span>\\n      {{#if (and (has-feature 'canUseArticlesNeedsReview') @article.needsReview)}}\\n        <IcTooltip class=\\\"ml-2\\\" as |t|>\\n          <t.opener>\\n            {{ic-interface-icon \\\"alert-circle\\\" color=\\\"yellow\\\"}}\\n          </t.opener>\\n          <t.content>\\n            Unsupported content\\n          </t.content>\\n        </IcTooltip>\\n      {{/if}}\\n    </Common::HamburgerMenu>\\n  </div>\\n  <div class=\\\"flex flex-row pr-8 pt-6 pb-2\\\">\\n    {{yield}}\\n  </div>\\n</div>\\n{{#unless @hideSettings}}\\n  <div class=\\\"layout__box o__has-columns ml-16 mb-6 mr-8\\\">\\n    <div class=\\\"mr-2\\\">\\n      <Articles::Shared::BadgeCollection @article={{@article}} />\\n    </div>\\n    {{#if (and @article.helpCenterService.site.segmentedContentTurnedOn @article.hasRestrictedAudience) }}\\n      <span class=\\\"mr-2 t__light-text\\\"> · </span>\\n    {{/if}}\\n    <Articles::Shared::BadgeSegmentedContent @article={{@article}} @showUnrestrictedBadge={{true}}/>\\n  </div>\\n{{/unless}}\\n\",\"moduleName\":\"embercom/components/articles/shared/article-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/shared/article-header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{@closeModal}}\\n  @width=\\\"m\\\"\\n  as |modal|\\n>\\n  <modal.header @title=\\\"Import existing help content from Zendesk\\\" />\\n  <modal.body>\\n    <div class=\\\"articles__importer__modal-img\\\"></div>\\n\\n    <Heading @size='4' class=\\\"mt-10\\\">Enter the Zendesk subdomain where your content is available.</Heading>\\n    <Text>Our import tool will retrieve your content and convert it to Articles and Collections based on your current site’s structure.</Text>\\n\\n    <Form class=\\\"mt-4 mb-6\\\" as |form|>\\n      <form.Item @label=\\\"Zendesk subdomain\\\" as |item|>\\n        <item.Input @value={{this.url}} placeholder=\\\"https://mydomain.zendesk.com\\\"/>\\n      </form.Item>\\n    </Form>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Import now\\\"\\n      action=this.startImport\\n      disabled=(or (eq this.url.length 0) @hasActiveApiImport)\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=@closeModal\\n    }}\\n  />\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{@closeModal}}\\n  @width=\\\"m\\\"\\n  as |modal|\\n>\\n  <modal.header @title=\\\"Import existing help content from Zendesk\\\" />\\n  <modal.body>\\n    <div class=\\\"articles__importer__modal-img\\\"></div>\\n\\n    <Heading @size='4' class=\\\"mt-10\\\">Enter the Zendesk subdomain where your content is available.</Heading>\\n    <Text>Our import tool will retrieve your content and convert it to Articles and Collections based on your current site’s structure.</Text>\\n\\n    <Form class=\\\"mt-4 mb-6\\\" as |form|>\\n      <form.Item @label=\\\"Zendesk subdomain\\\" as |item|>\\n        <item.Input @value={{this.url}} placeholder=\\\"https://mydomain.zendesk.com\\\"/>\\n      </form.Item>\\n    </Form>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Import now\\\"\\n      action=this.startImport\\n      disabled=(or (eq this.url.length 0) @hasActiveApiImport)\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=@closeModal\\n    }}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/articles/shared/article-import-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/shared/article-import-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { isEmpty } from '@ember/utils';\n\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nconst HELP_CENTER_REGEX = /\\/hc/;\n\nexport default class ArticleImportModal extends Component {\n  @service appService;\n  @service store;\n  @service realTimeEventService;\n  @service openCenteredWindowService;\n  @service notificationsService;\n\n  constructor() {\n    super(...arguments);\n\n    this.realTimeEventService.on('ImportStarted', this, '_handleStartedImport');\n  }\n\n  willDestroy() {\n    this.realTimeEventService.off('ImportStarted', this, '_handleStartedImport');\n  }\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get helpCenterSite() {\n    return this.store.peekAll('help-center-site').get('firstObject');\n  }\n\n  _handleStartedImport(event) {\n    this.notificationsService.notifyConfirmation(\n      'Your import has begun! We will email you when it is complete',\n    );\n    this.args.closeModal();\n  }\n\n  @action\n  startImport() {\n    let url = this.url.trim();\n    let invalidInput = isEmpty(url);\n    if (invalidInput) {\n      return;\n    }\n\n    if (url.match(/^http:\\/\\//)) {\n      url = url.substring(7);\n    }\n\n    if (url.match(/^https/) === null) {\n      url = `https://${url}`;\n    }\n\n    // This conditional will strip out the help center centric part of the URL\n    if (url.match(HELP_CENTER_REGEX)) {\n      let index = url.match(/\\/hc/).index;\n      url = url.substring(0, index);\n    }\n    let stateJson = JSON.stringify({\n      app_id: this.app.id,\n      admin_id: this.app.currentAdmin.id,\n      site_url: url,\n    });\n    let queryParams = encodeURI(\n      `response_type=code&redirect_uri=${this.helpCenterSite.get(\n        'zendeskImporterRedirectUri',\n      )}&client_id=${this.helpCenterSite.get(\n        'zendeskImporterClientId',\n      )}&scope=hc:read&state=${stateJson}`,\n    );\n    let ZdUrl = `${url}/oauth/authorizations/new?${queryParams}`;\n    this.openCenteredWindowService.setup(ZdUrl, 800, 1280, 'Import');\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span class='t__light-text flex items-start u__one-truncated-line' data-test-collection-badge>\\n  {{#if (not-eq @article.folder.name 'Home')}}\\n      <div class='educate__icon o__deemphasized o__16 o__sidebar u__mr__5'>\\n        {{inline-svg (concat 'educate/collection-icons/' @article.collection.icon)}}\\n      </div>\\n      <a href='{{href-to 'apps.app.articles.site.collections.collection' @article.collection.id}}' class='t__solo-link'>\\n        {{@article.collection.defaultNameWithFallback}}\\n      </a>\\n  {{else}}\\n    No collection\\n  {{/if}}\\n</span>\\n\", {\"contents\":\"<span class='t__light-text flex items-start u__one-truncated-line' data-test-collection-badge>\\n  {{#if (not-eq @article.folder.name 'Home')}}\\n      <div class='educate__icon o__deemphasized o__16 o__sidebar u__mr__5'>\\n        {{inline-svg (concat 'educate/collection-icons/' @article.collection.icon)}}\\n      </div>\\n      <a href='{{href-to 'apps.app.articles.site.collections.collection' @article.collection.id}}' class='t__solo-link'>\\n        {{@article.collection.defaultNameWithFallback}}\\n      </a>\\n  {{else}}\\n    No collection\\n  {{/if}}\\n</span>\\n\",\"moduleName\":\"embercom/components/articles/shared/badge-collection.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/shared/badge-collection.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (service 'help-center-service') as |helpCenterService|}}\\n  {{#if helpCenterService.site.segmentedContentTurnedOn}}\\n    <span class={{concat 't__light-text flex items-start' (if @inList ' u__mt__5 u__mb__5')}} data-test-badge-segmented-content>\\n      <div class=\\\"u__mr__5\\\">\\n        {{#if @article.hasRestrictedAudience}}\\n          {{ic-interface-icon 'multiple-people'}}\\n          {{#if @inList}}\\n            Visible to\\n            {{format-array-to-sentence @article.pluralSelectedUserTypes}}\\n            <MatchingSystem::AudienceSelector::Summary::PredicateGroupSummary\\n              @ruleMode={{@article.ruleset.predicateGroup.logicalMode}}\\n              @predicates={{@article.ruleset.predicateGroup.predicates}}\\n              data-test-user-added-predicate\\n            />\\n          {{else}}\\n            Visible to\\n            {{#if @article.ruleset.predicateGroup.predicates}}\\n              certain\\n            {{/if}}\\n            {{format-array-to-sentence @article.pluralSelectedUserTypes}} only\\n          {{/if}}\\n        {{else}}\\n          {{#if @showUnrestrictedBadge}}\\n            {{ic-interface-icon 'multiple-people'}}\\n            Everyone can view\\n          {{/if}}\\n        {{/if}}\\n      </div>\\n    </span>\\n  {{/if}}\\n{{/let}}\\n\", {\"contents\":\"{{#let (service 'help-center-service') as |helpCenterService|}}\\n  {{#if helpCenterService.site.segmentedContentTurnedOn}}\\n    <span class={{concat 't__light-text flex items-start' (if @inList ' u__mt__5 u__mb__5')}} data-test-badge-segmented-content>\\n      <div class=\\\"u__mr__5\\\">\\n        {{#if @article.hasRestrictedAudience}}\\n          {{ic-interface-icon 'multiple-people'}}\\n          {{#if @inList}}\\n            Visible to\\n            {{format-array-to-sentence @article.pluralSelectedUserTypes}}\\n            <MatchingSystem::AudienceSelector::Summary::PredicateGroupSummary\\n              @ruleMode={{@article.ruleset.predicateGroup.logicalMode}}\\n              @predicates={{@article.ruleset.predicateGroup.predicates}}\\n              data-test-user-added-predicate\\n            />\\n          {{else}}\\n            Visible to\\n            {{#if @article.ruleset.predicateGroup.predicates}}\\n              certain\\n            {{/if}}\\n            {{format-array-to-sentence @article.pluralSelectedUserTypes}} only\\n          {{/if}}\\n        {{else}}\\n          {{#if @showUnrestrictedBadge}}\\n            {{ic-interface-icon 'multiple-people'}}\\n            Everyone can view\\n          {{/if}}\\n        {{/if}}\\n      </div>\\n    </span>\\n  {{/if}}\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/articles/shared/badge-segmented-content.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/shared/badge-segmented-content.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n  <div class=\\\"u__mr__10\\\">\\n    <IcAvatarComponent @model={{@owner}} @size=\\\"m\\\" />\\n  </div>\\n  <div class=\\\"educate__article__list__item__author\\\">\\n    Written by <span class=\\\"text-black\\\" data-test-article-author>\\n      {{@owner.name}} {{#if @canEdit}}\\n        {{ic-interface-icon \\\"small-down-arrow\\\"}}\\n      {{/if}}\\n    </span>\\n    {{#if @updatedAt}}\\n      <div class=\\\"t__smaller\\\">\\n        <span>\\n          {{article-timeago-helper @updatedAt}}\\n        </span>\\n      </div>\\n    {{/if}}\\n  </div>\\n</span>\\n\", {\"contents\":\"<span class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n  <div class=\\\"u__mr__10\\\">\\n    <IcAvatarComponent @model={{@owner}} @size=\\\"m\\\" />\\n  </div>\\n  <div class=\\\"educate__article__list__item__author\\\">\\n    Written by <span class=\\\"text-black\\\" data-test-article-author>\\n      {{@owner.name}} {{#if @canEdit}}\\n        {{ic-interface-icon \\\"small-down-arrow\\\"}}\\n      {{/if}}\\n    </span>\\n    {{#if @updatedAt}}\\n      <div class=\\\"t__smaller\\\">\\n        <span>\\n          {{article-timeago-helper @updatedAt}}\\n        </span>\\n      </div>\\n    {{/if}}\\n  </div>\\n</span>\\n\",\"moduleName\":\"embercom/components/articles/shared/content-owner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/shared/content-owner.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div data-test-content-state data-ghost-test-content-state class={{if @isEditable \\\"mb-4\\\" \\\"\\\"}}>\\n  {{#if @isEditable}}\\n    <IcSelect\\n      @items={{array\\n        (hash\\n          text='Published'\\n          value='published'\\n          component='articles/editor/content-status-select-item'\\n        )\\n        (hash\\n          text='Draft'\\n          value='draft'\\n          component= 'articles/editor/content-status-select-item'\\n        )\\n      }}\\n      @onSelectItem={{this.onSelectItem}}\\n      @selectedValue={{@content.state}}\\n    />\\n  {{else}}\\n    {{#if @content.isPublished}}\\n      {{ic-stamp \\\"Published\\\" data-test-content-published-stamp=true}}\\n    {{else}}\\n      {{ic-stamp \\\"Draft\\\" data-test-content-draft-stamp=true}}\\n    {{/if}}\\n    {{#if (and (has-feature 'canUseArticlesNeedsReview') @content.needsReview)}}\\n      {{ic-stamp \\\"Unsupported content\\\"}}\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div data-test-content-state data-ghost-test-content-state class={{if @isEditable \\\"mb-4\\\" \\\"\\\"}}>\\n  {{#if @isEditable}}\\n    <IcSelect\\n      @items={{array\\n        (hash\\n          text='Published'\\n          value='published'\\n          component='articles/editor/content-status-select-item'\\n        )\\n        (hash\\n          text='Draft'\\n          value='draft'\\n          component= 'articles/editor/content-status-select-item'\\n        )\\n      }}\\n      @onSelectItem={{this.onSelectItem}}\\n      @selectedValue={{@content.state}}\\n    />\\n  {{else}}\\n    {{#if @content.isPublished}}\\n      {{ic-stamp \\\"Published\\\" data-test-content-published-stamp=true}}\\n    {{else}}\\n      {{ic-stamp \\\"Draft\\\" data-test-content-draft-stamp=true}}\\n    {{/if}}\\n    {{#if (and (has-feature 'canUseArticlesNeedsReview') @content.needsReview)}}\\n      {{ic-stamp \\\"Unsupported content\\\"}}\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/shared/content-state.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/shared/content-state.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend(EventTracking, {\n  helpCenterService: service(),\n\n  onSelectItem: action(function(value) {\n    this.content.set('state', value);\n    this.trackEducateArticleEvent(this.article, {\n      place: 'article',\n      action: 'selected',\n      context: 'state',\n      value,\n      content_locale: this.content.locale,\n      is_default_locale: this.content.locale === this.helpCenterService.site.locale,\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<a href={{url}}\\n  target=\\\"_blank\\\"\\n  class=\\\"t__em-link o__in-right-list {{unless @site.turnedOn 'u__hidden'}} u__mr__10\\\"\\n  rel=\\\"noopener noreferrer\\\">\\n  {{ic-interface-icon 'new-window'}} Go to your Help Center\\n</a>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<a href={{url}}\\n  target=\\\"_blank\\\"\\n  class=\\\"t__em-link o__in-right-list {{unless @site.turnedOn 'u__hidden'}} u__mr__10\\\"\\n  rel=\\\"noopener noreferrer\\\">\\n  {{ic-interface-icon 'new-window'}} Go to your Help Center\\n</a>\\n\",\"moduleName\":\"embercom/components/articles/shared/go-to-help-center.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/shared/go-to-help-center.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  url: computed('site.url', 'site.locale', function() {\n    return `${this.get('site.url')}/${this.get('site.locale')}`;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<SubmenuComponent @title=\\\"Articles\\\" as |submenu|>\\n  <submenu.header\\n    @searchAction={{action toggleSearch}}\\n    @searchIsSelected={{showSearch}}\\n  />\\n  <submenu.sections as |sections|>\\n    <sections.section as |section|>\\n      <section.title\\n        @title=\\\"Articles\\\"\\n        @url={{href-to \\\"apps.app.articles.articles.list.all\\\"}}\\n        @isSelected={{isOnArticlesRoute}}\\n        data-test-articles-header-nav-articles-link=\\\"true\\\"\\n      />\\n    </sections.section>\\n    <sections.section @isOpen={{isOnSiteRoute}} as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.articles.site.collections\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          data-intercom-target=\\\"help center\\\"\\n        >\\n          <div\\n            class=\\\"layout__box o__centers-vertically\\\"\\n            data-test-submenu-section-title=\\\"Help Center\\\"\\n          >\\n            <span class=\\\"layout__box o__flexes-to-1\\\">\\n              Help Center <SubmenuSectionsSectionTitleArrow @isOpen={{isOnSiteRoute}}/>\\n            </span>\\n            {{#if site}}\\n              <span class=\\\"u__ml__10 nav__link-badge\\\">\\n                {{#if site.turnedOff}}\\n                  {{ic-stamp \\\"Off\\\"}}\\n                {{else}}\\n                  {{ic-stamp \\\"On\\\"}}\\n                {{/if}}\\n              </span>\\n            {{/if}}\\n          </div>\\n        </LinkTo>\\n      </section.title>\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.articles.site.collections\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-articles-collections-link=\\\"true\\\"\\n        >\\n          Collections\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.articles.site.settings\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-articles-help-center-settings-link=\\\"true\\\"\\n          data-intercom-target=\\\"help center settings\\\"\\n        >\\n          Settings\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    <sections.section as |section|>\\n      <section.title>\\n        <span {{action \\\"trackEvent\\\" preventDefault=false}}>\\n          <LinkTo\\n            @route=\\\"apps.app.articles.guide\\\"\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n            data-test-articles-guide-link=\\\"true\\\"\\n          >\\n            About\\n          </LinkTo>\\n        </span>\\n      </section.title>\\n    </sections.section>\\n  </submenu.sections>\\n</SubmenuComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<SubmenuComponent @title=\\\"Articles\\\" as |submenu|>\\n  <submenu.header\\n    @searchAction={{action toggleSearch}}\\n    @searchIsSelected={{showSearch}}\\n  />\\n  <submenu.sections as |sections|>\\n    <sections.section as |section|>\\n      <section.title\\n        @title=\\\"Articles\\\"\\n        @url={{href-to \\\"apps.app.articles.articles.list.all\\\"}}\\n        @isSelected={{isOnArticlesRoute}}\\n        data-test-articles-header-nav-articles-link=\\\"true\\\"\\n      />\\n    </sections.section>\\n    <sections.section @isOpen={{isOnSiteRoute}} as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.articles.site.collections\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          data-intercom-target=\\\"help center\\\"\\n        >\\n          <div\\n            class=\\\"layout__box o__centers-vertically\\\"\\n            data-test-submenu-section-title=\\\"Help Center\\\"\\n          >\\n            <span class=\\\"layout__box o__flexes-to-1\\\">\\n              Help Center <SubmenuSectionsSectionTitleArrow @isOpen={{isOnSiteRoute}}/>\\n            </span>\\n            {{#if site}}\\n              <span class=\\\"u__ml__10 nav__link-badge\\\">\\n                {{#if site.turnedOff}}\\n                  {{ic-stamp \\\"Off\\\"}}\\n                {{else}}\\n                  {{ic-stamp \\\"On\\\"}}\\n                {{/if}}\\n              </span>\\n            {{/if}}\\n          </div>\\n        </LinkTo>\\n      </section.title>\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.articles.site.collections\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-articles-collections-link=\\\"true\\\"\\n        >\\n          Collections\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.articles.site.settings\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-articles-help-center-settings-link=\\\"true\\\"\\n          data-intercom-target=\\\"help center settings\\\"\\n        >\\n          Settings\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    <sections.section as |section|>\\n      <section.title>\\n        <span {{action \\\"trackEvent\\\" preventDefault=false}}>\\n          <LinkTo\\n            @route=\\\"apps.app.articles.guide\\\"\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n            data-test-articles-guide-link=\\\"true\\\"\\n          >\\n            About\\n          </LinkTo>\\n        </span>\\n      </section.title>\\n    </sections.section>\\n  </submenu.sections>\\n</SubmenuComponent>\\n\",\"moduleName\":\"embercom/components/articles/shared/left-side-nav.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/shared/left-side-nav.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, not, and, match } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport Article from 'embercom/models/article';\n\nexport default Component.extend({\n  appService: service(),\n  store: service(),\n  app: readOnly('appService.app'),\n  router: service(),\n  helpCenterService: service(),\n  site: readOnly('helpCenterService.site'),\n  classNames: ['layout__box', 'o__has-columns'],\n\n  helpCenterOn: not('site.turnedOff'),\n  showHelpCenterLink: and('site', 'helpCenterOn'),\n\n  isOnArticlesRoute: match('router.currentRouteName', /^apps\\.app\\.articles\\.articles/),\n  isOnSiteRoute: match('router.currentRouteName', /^apps\\.app\\.articles\\.site/),\n  isOnInsightsRoute: match('router.currentRouteName', /^apps\\.app\\.articles\\.insights/),\n  isOnAboutRoute: match('router.currentRouteName', /^apps\\.app\\.articles\\.about/),\n\n  didInsertElement() {\n    this._super(...arguments);\n    Article.updateArticleCountsForApp(this.app);\n  },\n\n  actions: {\n    trackEvent() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'start_guide_clicked',\n        context: 'from_inbox_submenu',\n        place: 'start_guide',\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let @tabControl.tab as |Tab|}}\\n  <Tab @value={{@locale}}>\\n    <div class=\\\"articles__list__languages-tab-control__tab\\\">\\n      {{#if (eq @locale 'all')}}\\n        All\\n      {{else}}\\n        {{@localeName}} <span class=\\\"{{if (not @isSelected) \\\"t__light-text\\\" \\\"\\\"}} articles__list__languages-tab-control__tab__locale-id\\\">({{capitalize @locale}})</span>\\n      {{/if}}\\n    </div>\\n  </Tab>\\n{{/let}}\\n\", {\"contents\":\"{{#let @tabControl.tab as |Tab|}}\\n  <Tab @value={{@locale}}>\\n    <div class=\\\"articles__list__languages-tab-control__tab\\\">\\n      {{#if (eq @locale 'all')}}\\n        All\\n      {{else}}\\n        {{@localeName}} <span class=\\\"{{if (not @isSelected) \\\"t__light-text\\\" \\\"\\\"}} articles__list__languages-tab-control__tab__locale-id\\\">({{capitalize @locale}})</span>\\n      {{/if}}\\n    </div>\\n  </Tab>\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/articles/shared/locale-tab-control-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/shared/locale-tab-control-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if (gt this.site.selectedLocalesOrdered.length 1)}}\\n  <div class=\\\"{{if @showBorder \\\"articles__editor__locale-tab-underline\\\"}}\\\">\\n    <IcTabControl\\n      @onSelectionChange={{this.updateLocale}}\\n      @selectedTab={{this.currentlySelectedLocaleId}}\\n      class=\\\"articles__list__languages-tab-control\\\" as |tabControl|\\n    >\\n      {{#if this.showAll}}\\n        <Articles::Shared::LocaleTabControlItem\\n          @locale=\\\"all\\\"\\n          @tabControl={{tabControl}}\\n        />\\n      {{/if}}\\n      {{#each this.site.selectedLocalesOrdered as |locale|}}\\n        <Articles::Shared::LocaleTabControlItem\\n          @locale={{locale.localeId}}\\n          @localeName={{locale.name}}\\n          @tabControl={{tabControl}}\\n          @isSelected={{eq locale.localeId this.currentlySelectedLocaleId}}\\n        />\\n      {{/each}}\\n    </IcTabControl>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if (gt this.site.selectedLocalesOrdered.length 1)}}\\n  <div class=\\\"{{if @showBorder \\\"articles__editor__locale-tab-underline\\\"}}\\\">\\n    <IcTabControl\\n      @onSelectionChange={{this.updateLocale}}\\n      @selectedTab={{this.currentlySelectedLocaleId}}\\n      class=\\\"articles__list__languages-tab-control\\\" as |tabControl|\\n    >\\n      {{#if this.showAll}}\\n        <Articles::Shared::LocaleTabControlItem\\n          @locale=\\\"all\\\"\\n          @tabControl={{tabControl}}\\n        />\\n      {{/if}}\\n      {{#each this.site.selectedLocalesOrdered as |locale|}}\\n        <Articles::Shared::LocaleTabControlItem\\n          @locale={{locale.localeId}}\\n          @localeName={{locale.name}}\\n          @tabControl={{tabControl}}\\n          @isSelected={{eq locale.localeId this.currentlySelectedLocaleId}}\\n        />\\n      {{/each}}\\n    </IcTabControl>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/articles/shared/locale-tab-control.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/shared/locale-tab-control.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport defaultTo from '@intercom/embercom-core/lib/default-to';\n\nexport default Component.extend({\n  helpCenterService: service(),\n  site: readOnly('helpCenterService.site'),\n  currentlySelectedLocaleId: readOnly('helpCenterService.currentlySelectedLocaleId'),\n  'data-test-locale-tab-control': true,\n  showAll: false,\n  beforeLocaleUpdate: defaultTo(() => {}),\n  afterLocaleUpdate: defaultTo(() => {}),\n  showBorder: defaultTo(false),\n\n  updateLocale: action(function(locale) {\n    this.beforeLocaleUpdate(locale);\n    this.helpCenterService.updateLocale(locale);\n    this.afterLocaleUpdate(locale);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row\\\">\\n  <div class=\\\"flex flex-col\\\">\\n    <span class=\\\"u__relative mr-2\\\">\\n      <IcIllustrativeIcon @name=\\\"article\\\" @size=\\\"small\\\" />\\n      {{#if @restrictedAccess}}\\n        <span class=\\\"article-inserter__target-audience-locked-icon\\\">{{ic-interface-icon 'locked' set='tiny' color='red'}}</span>\\n      {{/if}}\\n    </span>\\n  </div>\\n  {{#unless @iconOnly}}\\n    <p class=\\\"text-gray\\\">Cannot be viewed by this customer</p>\\n  {{/unless}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row\\\">\\n  <div class=\\\"flex flex-col\\\">\\n    <span class=\\\"u__relative mr-2\\\">\\n      <IcIllustrativeIcon @name=\\\"article\\\" @size=\\\"small\\\" />\\n      {{#if @restrictedAccess}}\\n        <span class=\\\"article-inserter__target-audience-locked-icon\\\">{{ic-interface-icon 'locked' set='tiny' color='red'}}</span>\\n      {{/if}}\\n    </span>\\n  </div>\\n  {{#unless @iconOnly}}\\n    <p class=\\\"text-gray\\\">Cannot be viewed by this customer</p>\\n  {{/unless}}\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/shared/locked-article-icon.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/shared/locked-article-icon.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<style id=\\\"article-editor-styles\\\">\\n  .educate__article-composer a {\\n    color: #{{@themeColor}};\\n  }\\n  .educate__article-composer a.intercom-h2b-button {\\n    background-color: #{{@themeColor}};\\n  }\\n  .educate__article-composer .intercom-interblocks-button a {\\n    background-color: #{{@themeColor}};\\n  }\\n  .educate__settings__preview__article__title {\\n    color: #{{@themeColor}};\\n  }\\n</style>\\n\", {\"contents\":\"<style id=\\\"article-editor-styles\\\">\\n  .educate__article-composer a {\\n    color: #{{@themeColor}};\\n  }\\n  .educate__article-composer a.intercom-h2b-button {\\n    background-color: #{{@themeColor}};\\n  }\\n  .educate__article-composer .intercom-interblocks-button a {\\n    background-color: #{{@themeColor}};\\n  }\\n  .educate__settings__preview__article__title {\\n    color: #{{@themeColor}};\\n  }\\n</style>\\n\",\"moduleName\":\"embercom/components/articles/shared/themed-styles.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/shared/themed-styles.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"pl-16 mt-4 mr-8\\\">\\n  <Articles::Shared::LocaleTabControl @showBorder={{true}} />\\n</div>\\n<div class=\\\"layout__box o__has-rows o__flexes-to-1 m-8\\\">\\n  <div\\n    class=\\\"layout__box o__has-rows o__flexes-to-1 educate__article__wrapper educate__article__wrapper-multilingual\\\"\\n    data-test-article-wrapper\\n  >\\n    {{#if selectedContent}}\\n      <div data-test-article-tabs-viewer>\\n        <Articles::Show::ContentViewer\\n          @article={{article}}\\n          @site={{site}}\\n          @content={{selectedContent}}\\n        />\\n      </div>\\n    {{else}}\\n      <IcEmptyState\\n        @icon=\\\"article\\\"\\n        @title={{concat \\\"This article doesn't have a \\\" selectedLocaleName \\\" translation yet\\\"}}\\n        @buttonLabel={{concat \\\"Add \\\" selectedLocaleName}}\\n        @onButtonClick={{this.addSelectedLocale}}\\n        data-test-article-show-empty-state={{true}}\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"pl-16 mt-4 mr-8\\\">\\n  <Articles::Shared::LocaleTabControl @showBorder={{true}} />\\n</div>\\n<div class=\\\"layout__box o__has-rows o__flexes-to-1 m-8\\\">\\n  <div\\n    class=\\\"layout__box o__has-rows o__flexes-to-1 educate__article__wrapper educate__article__wrapper-multilingual\\\"\\n    data-test-article-wrapper\\n  >\\n    {{#if selectedContent}}\\n      <div data-test-article-tabs-viewer>\\n        <Articles::Show::ContentViewer\\n          @article={{article}}\\n          @site={{site}}\\n          @content={{selectedContent}}\\n        />\\n      </div>\\n    {{else}}\\n      <IcEmptyState\\n        @icon=\\\"article\\\"\\n        @title={{concat \\\"This article doesn't have a \\\" selectedLocaleName \\\" translation yet\\\"}}\\n        @buttonLabel={{concat \\\"Add \\\" selectedLocaleName}}\\n        @onButtonClick={{this.addSelectedLocale}}\\n        data-test-article-show-empty-state={{true}}\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/show/article-viewer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/show/article-viewer.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed, action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  router: service(),\n  helpCenterService: service(),\n  classNames: ['layout__box', 'o__has-rows', 'o__flexes-to-1'],\n  site: readOnly('helpCenterService.site'),\n  currentlySelectedLocaleId: readOnly('helpCenterService.currentlySelectedLocaleId'),\n\n  selectedLocaleName: computed('article', 'currentlySelectedLocaleId', function() {\n    return this.site.selectedLocalesOrdered.find(\n      locale => locale.localeId === this.currentlySelectedLocaleId,\n    ).name;\n  }),\n\n  selectedContent: computed('article', 'currentlySelectedLocaleId', function() {\n    return this.article.contentByLocale(this.currentlySelectedLocaleId);\n  }),\n\n  addSelectedLocale: action(function() {\n    this.article.createContentIfNone(this.currentlySelectedLocaleId);\n    this.router.transitionTo('apps.app.articles.articles.article.edit', this.article, {\n      queryParams: { selectedLocale: this.currentlySelectedLocaleId },\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Articles::Shared::ThemedStyles @themeColor={{@site.themeColor}} />\\n<div class=\\\"flex flex-col gap-2 mb-4\\\">\\n  <Articles::Shared::ContentState @content={{@content}} @isEditable={{false}} />\\n  {{#if @content.isPublished}}\\n    <div class=\\\"t__light-text\\\" data-test-article-view-link>\\n      <Articles::Show::LinkToHelpCenterArticle\\n        @site={{@site}}\\n        @isPublished={{@content.isPublished}}\\n        @publicUrl={{@content.publicUrl}}\\n      />\\n    </div>\\n  {{/if}}\\n</div>\\n<div class=\\\"educate__article\\\" data-test-article data-ghost-test-article>\\n  <div class=\\\"educate__article__header\\\">\\n    <div class=\\\"educate__article__view__title\\\" data-test-article-view-title data-ghost-test-article-view-title>\\n      {{or @content.title @article.missingTitlePlaceholder}}\\n    </div>\\n    {{#if @content.summary}}\\n      <div\\n        class=\\\"educate__article__view__summary\\\"\\n        data-test-article-view-summary\\n      >\\n        {{@content.summary}}\\n      </div>\\n    {{/if}}\\n    <div class=\\\"pt-3 pb-6\\\">\\n      <Articles::Shared::ContentOwner\\n        @owner={{@content.author}}\\n        @updatedAt={{@content.updatedAt}}\\n      />\\n    </div>\\n  </div>\\n  <div class=\\\"educate__article-composer\\\" dir=\\\"{{ @content.textDirection }}\\\" data-test-article-view-composer>\\n    {{#if @content.jsonBlocks}}\\n      {{render-blocks @content.jsonBlocks}}\\n    {{else}}\\n      <p class=\\\"educate__article__view__summary\\\">\\n        No words yet — edit the article to start writing\\n      </p>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<Articles::Shared::ThemedStyles @themeColor={{@site.themeColor}} />\\n<div class=\\\"flex flex-col gap-2 mb-4\\\">\\n  <Articles::Shared::ContentState @content={{@content}} @isEditable={{false}} />\\n  {{#if @content.isPublished}}\\n    <div class=\\\"t__light-text\\\" data-test-article-view-link>\\n      <Articles::Show::LinkToHelpCenterArticle\\n        @site={{@site}}\\n        @isPublished={{@content.isPublished}}\\n        @publicUrl={{@content.publicUrl}}\\n      />\\n    </div>\\n  {{/if}}\\n</div>\\n<div class=\\\"educate__article\\\" data-test-article data-ghost-test-article>\\n  <div class=\\\"educate__article__header\\\">\\n    <div class=\\\"educate__article__view__title\\\" data-test-article-view-title data-ghost-test-article-view-title>\\n      {{or @content.title @article.missingTitlePlaceholder}}\\n    </div>\\n    {{#if @content.summary}}\\n      <div\\n        class=\\\"educate__article__view__summary\\\"\\n        data-test-article-view-summary\\n      >\\n        {{@content.summary}}\\n      </div>\\n    {{/if}}\\n    <div class=\\\"pt-3 pb-6\\\">\\n      <Articles::Shared::ContentOwner\\n        @owner={{@content.author}}\\n        @updatedAt={{@content.updatedAt}}\\n      />\\n    </div>\\n  </div>\\n  <div class=\\\"educate__article-composer\\\" dir=\\\"{{ @content.textDirection }}\\\" data-test-article-view-composer>\\n    {{#if @content.jsonBlocks}}\\n      {{render-blocks @content.jsonBlocks}}\\n    {{else}}\\n      <p class=\\\"educate__article__view__summary\\\">\\n        No words yet — edit the article to start writing\\n      </p>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/show/content-viewer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/show/content-viewer.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Articles::Shared::ThemedStyles @themeColor={{site.themeColor}} />\\n<div\\n  class=\\\"educate__article__wrapper {{if lightbox \\\"o__lightbox\\\"}}\\\"\\n  data-test-article-wrapper\\n>\\n  <div class=\\\"educate__article {{if lightbox \\\"o__lightbox\\\"}}\\\" data-test-article>\\n    <div class=\\\"educate__article__view__title\\\">\\n      <div data-test-article-view-title>\\n        {{article.titleForDisplay}}\\n      </div>\\n    </div>\\n    {{#if article.summary}}\\n      <div class=\\\"educate__article__view__summary\\\">\\n        {{article.summary}}\\n      </div>\\n    {{/if}}\\n    <div class=\\\"pt-3 pb-6\\\">\\n      <Articles::Shared::ContentOwner\\n        @owner={{article.author}}\\n        @updatedAt={{article.updatedAt}}\\n      />\\n    </div>\\n    <div class=\\\"educate__article-composer\\\">\\n      {{#if article.jsonBlocks}}\\n        {{render-blocks article.jsonBlocks}}\\n      {{else}}\\n        <p class=\\\"educate__article__view__summary\\\">\\n          No words yet — edit the article to start writing\\n        </p>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Articles::Shared::ThemedStyles @themeColor={{site.themeColor}} />\\n<div\\n  class=\\\"educate__article__wrapper {{if lightbox \\\"o__lightbox\\\"}}\\\"\\n  data-test-article-wrapper\\n>\\n  <div class=\\\"educate__article {{if lightbox \\\"o__lightbox\\\"}}\\\" data-test-article>\\n    <div class=\\\"educate__article__view__title\\\">\\n      <div data-test-article-view-title>\\n        {{article.titleForDisplay}}\\n      </div>\\n    </div>\\n    {{#if article.summary}}\\n      <div class=\\\"educate__article__view__summary\\\">\\n        {{article.summary}}\\n      </div>\\n    {{/if}}\\n    <div class=\\\"pt-3 pb-6\\\">\\n      <Articles::Shared::ContentOwner\\n        @owner={{article.author}}\\n        @updatedAt={{article.updatedAt}}\\n      />\\n    </div>\\n    <div class=\\\"educate__article-composer\\\">\\n      {{#if article.jsonBlocks}}\\n        {{render-blocks article.jsonBlocks}}\\n      {{else}}\\n        <p class=\\\"educate__article__view__summary\\\">\\n          No words yet — edit the article to start writing\\n        </p>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/show/deprecated-suggested-article-viewer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/show/deprecated-suggested-article-viewer.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  store: service(),\n  helpCenterService: service(),\n  site: readOnly('helpCenterService.site'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @site.turnedOn}}\\n  {{ic-interface-icon \\\"link\\\"}}\\n{{/if}}\\n{{#if @isPublished}}\\n  {{#if @publicUrl}}\\n    {{#if @site.turnedOn}}\\n      <a href={{@publicUrl}} target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">\\n        {{@publicUrl}}\\n      </a>\\n    {{else}}\\n      <a class=\\\"o__disabled\\\" {{tooltip content=\\\"Turn your Help Center on to make this link active\\\"}}>\\n        {{@publicUrl}}\\n      </a>\\n    {{/if}}\\n  {{else}}\\n    You need to configure a custom domain first\\n  {{/if}}\\n{{else}}\\n  Set the article live to create the URL\\n{{/if}}\\n\", {\"contents\":\"{{#if @site.turnedOn}}\\n  {{ic-interface-icon \\\"link\\\"}}\\n{{/if}}\\n{{#if @isPublished}}\\n  {{#if @publicUrl}}\\n    {{#if @site.turnedOn}}\\n      <a href={{@publicUrl}} target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">\\n        {{@publicUrl}}\\n      </a>\\n    {{else}}\\n      <a class=\\\"o__disabled\\\" {{tooltip content=\\\"Turn your Help Center on to make this link active\\\"}}>\\n        {{@publicUrl}}\\n      </a>\\n    {{/if}}\\n  {{else}}\\n    You need to configure a custom domain first\\n  {{/if}}\\n{{else}}\\n  Set the article live to create the URL\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/articles/show/link-to-help-center-article.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/show/link-to-help-center-article.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if shouldShowConversationReplies}}\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n    <div class=\\\"layout__box o__flexes-to-1 m__message-stats__conversation-container\\\">\\n      <Conversation::CardListComponent\\n        @app={{this.app}}\\n        @admin={{this.app.currentAdmin}}\\n        @conversations={{this.model.conversations}}\\n        @requestPage={{this.loadNextPageAction}}\\n        @trackEventDetails={{this.trackEventDetails}}\\n        @viewportSelector=\\\".js__articles__scrollable-content\\\"\\n      />\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n  </div>\\n{{else}}\\n  {{#if @isViewerStat}}\\n    <IcTable\\n      @data={{viewers}}\\n      @onLoadMore={{this.loadNextPageAction}}\\n      @canLoadMore={{this.canLoadMore}}\\n      @loadingRowCount={{5}}\\n      @isLoadingMore={{this.isLoadingMore}}\\n      @columns={{array\\n        (hash\\n          label=\\\"Person\\\"\\n          valuePath=\\\"user\\\"\\n        )\\n        (hash\\n          label=\\\"Times viewed\\\"\\n          valuePath=\\\"views\\\"\\n        )\\n        (hash\\n          label=\\\"Last viewed\\\"\\n          valuePath=\\\"last_viewed\\\"\\n        )\\n        (hash\\n          label=\\\"Had conversation\\\"\\n          valuePath=\\\"conversation.displayRepliedAt\\\"\\n        )\\n        (hash\\n          label=\\\"Reactions\\\"\\n          valuePath=\\\"conversation.displayRespondedAt\\\"\\n        )\\n        (hash\\n          label=\\\"Reacted with\\\"\\n          valuePath=\\\"conversation.displayResponseType\\\"\\n        )\\n      }}\\n      as |table|\\n    >\\n      <table.rows as |row index|>\\n        <row.cell @valuePath=\\\"user\\\">\\n          <span class=\\\"avatar__container o__s\\\">\\n            {{ic-avatar\\n              model=row.data.user\\n              size=\\\"s\\\"\\n              contained=true\\n            }}\\n            {{row.data.user.displayAs}}\\n          </span>\\n        </row.cell>\\n        <row.cell @valuePath=\\\"views\\\">\\n          {{row.data.views}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"last_viewed\\\">\\n          <TimeFromNowComponent @timestamp={{row.data.last_viewed}} />\\n        </row.cell>\\n        <row.cell @valuePath=\\\"conversation.displayRepliedAt\\\">\\n          {{row.data.conversation.displayRepliedAt}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"conversation.displayRespondedAt\\\">\\n          {{row.data.conversation.displayRespondedAt}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"conversation.displayResponseType\\\">\\n          {{row.data.conversation.displayResponseType}}\\n        </row.cell>\\n      </table.rows>\\n    </IcTable>\\n  {{else}}\\n    <IcTable\\n      @data={{conversations}}\\n      @onLoadMore={{this.loadNextPageAction}}\\n      @canLoadMore={{this.canLoadMore}}\\n      @loadingRowCount={{5}}\\n      @isLoadingMore={{this.isLoadingMore}}\\n      @columns={{if @isNewConversationsStat\\n        (array (hash label=\\\"Person\\\" valuePath=\\\"user\\\") (hash label=\\\"Conversations started\\\" valuePath=\\\"displaySentAt\\\"))\\n        (array (hash label=\\\"Person\\\" valuePath=\\\"user\\\") (hash label=\\\"Reactions\\\" valuePath=\\\"displayRespondedAt\\\") (hash label=\\\"Reacted with\\\" valuePath=\\\"displayResponseType\\\"))\\n      }}\\n      as |table|\\n    >\\n      <table.rows as |row index|>\\n        <row.cell @valuePath=\\\"user\\\">\\n          <span class=\\\"avatar__container o__s\\\">\\n            {{ic-avatar\\n              model=row.data.user\\n              size=\\\"s\\\"\\n              contained=true\\n            }}\\n            {{row.data.user.displayAs}}\\n          </span>\\n        </row.cell>\\n        {{#if @isNewConversationsStat}}\\n          <row.cell @valuePath=\\\"displaySentAt\\\">\\n            {{row.data.displaySentAt}}\\n          </row.cell>\\n        {{else}}\\n          <row.cell @valuePath=\\\"displayRespondedAt\\\">\\n            {{row.data.displayRespondedAt}}\\n          </row.cell>\\n          <row.cell @valuePath=\\\"displayResponseType\\\">\\n            {{row.data.displayResponseType}}\\n          </row.cell>\\n        {{/if}}\\n      </table.rows>\\n    </IcTable>\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if shouldShowConversationReplies}}\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n    <div class=\\\"layout__box o__flexes-to-1 m__message-stats__conversation-container\\\">\\n      <Conversation::CardListComponent\\n        @app={{this.app}}\\n        @admin={{this.app.currentAdmin}}\\n        @conversations={{this.model.conversations}}\\n        @requestPage={{this.loadNextPageAction}}\\n        @trackEventDetails={{this.trackEventDetails}}\\n        @viewportSelector=\\\".js__articles__scrollable-content\\\"\\n      />\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n  </div>\\n{{else}}\\n  {{#if @isViewerStat}}\\n    <IcTable\\n      @data={{viewers}}\\n      @onLoadMore={{this.loadNextPageAction}}\\n      @canLoadMore={{this.canLoadMore}}\\n      @loadingRowCount={{5}}\\n      @isLoadingMore={{this.isLoadingMore}}\\n      @columns={{array\\n        (hash\\n          label=\\\"Person\\\"\\n          valuePath=\\\"user\\\"\\n        )\\n        (hash\\n          label=\\\"Times viewed\\\"\\n          valuePath=\\\"views\\\"\\n        )\\n        (hash\\n          label=\\\"Last viewed\\\"\\n          valuePath=\\\"last_viewed\\\"\\n        )\\n        (hash\\n          label=\\\"Had conversation\\\"\\n          valuePath=\\\"conversation.displayRepliedAt\\\"\\n        )\\n        (hash\\n          label=\\\"Reactions\\\"\\n          valuePath=\\\"conversation.displayRespondedAt\\\"\\n        )\\n        (hash\\n          label=\\\"Reacted with\\\"\\n          valuePath=\\\"conversation.displayResponseType\\\"\\n        )\\n      }}\\n      as |table|\\n    >\\n      <table.rows as |row index|>\\n        <row.cell @valuePath=\\\"user\\\">\\n          <span class=\\\"avatar__container o__s\\\">\\n            {{ic-avatar\\n              model=row.data.user\\n              size=\\\"s\\\"\\n              contained=true\\n            }}\\n            {{row.data.user.displayAs}}\\n          </span>\\n        </row.cell>\\n        <row.cell @valuePath=\\\"views\\\">\\n          {{row.data.views}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"last_viewed\\\">\\n          <TimeFromNowComponent @timestamp={{row.data.last_viewed}} />\\n        </row.cell>\\n        <row.cell @valuePath=\\\"conversation.displayRepliedAt\\\">\\n          {{row.data.conversation.displayRepliedAt}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"conversation.displayRespondedAt\\\">\\n          {{row.data.conversation.displayRespondedAt}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"conversation.displayResponseType\\\">\\n          {{row.data.conversation.displayResponseType}}\\n        </row.cell>\\n      </table.rows>\\n    </IcTable>\\n  {{else}}\\n    <IcTable\\n      @data={{conversations}}\\n      @onLoadMore={{this.loadNextPageAction}}\\n      @canLoadMore={{this.canLoadMore}}\\n      @loadingRowCount={{5}}\\n      @isLoadingMore={{this.isLoadingMore}}\\n      @columns={{if @isNewConversationsStat\\n        (array (hash label=\\\"Person\\\" valuePath=\\\"user\\\") (hash label=\\\"Conversations started\\\" valuePath=\\\"displaySentAt\\\"))\\n        (array (hash label=\\\"Person\\\" valuePath=\\\"user\\\") (hash label=\\\"Reactions\\\" valuePath=\\\"displayRespondedAt\\\") (hash label=\\\"Reacted with\\\" valuePath=\\\"displayResponseType\\\"))\\n      }}\\n      as |table|\\n    >\\n      <table.rows as |row index|>\\n        <row.cell @valuePath=\\\"user\\\">\\n          <span class=\\\"avatar__container o__s\\\">\\n            {{ic-avatar\\n              model=row.data.user\\n              size=\\\"s\\\"\\n              contained=true\\n            }}\\n            {{row.data.user.displayAs}}\\n          </span>\\n        </row.cell>\\n        {{#if @isNewConversationsStat}}\\n          <row.cell @valuePath=\\\"displaySentAt\\\">\\n            {{row.data.displaySentAt}}\\n          </row.cell>\\n        {{else}}\\n          <row.cell @valuePath=\\\"displayRespondedAt\\\">\\n            {{row.data.displayRespondedAt}}\\n          </row.cell>\\n          <row.cell @valuePath=\\\"displayResponseType\\\">\\n            {{row.data.displayResponseType}}\\n          </row.cell>\\n        {{/if}}\\n      </table.rows>\\n    </IcTable>\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/articles/show/stats-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/show/stats-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { alias, oneWay } from '@ember/object/computed';\nimport { action } from '@ember/object';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  tagName: '',\n  canLoadMore: true,\n  intercomEventService: service(),\n  admin: alias('app.currentAdmin'),\n  page: 1,\n  viewers: oneWay('model.viewers'),\n  conversations: oneWay('model.conversations'),\n\n  init() {\n    this._super(...arguments);\n    this._setLoadMore(this.model.total_count);\n  },\n\n  _setLoadMore(totalCount) {\n    if (this.isViewerStat) {\n      if (this.viewers.length === totalCount) {\n        this.set('canLoadMore', false);\n      }\n    } else if (this.conversations.length === totalCount) {\n      this.set('canLoadMore', false);\n    }\n  },\n\n  loadNextPageAction: action(function() {\n    this.set('isLoadingMore', true);\n    this.incrementProperty('page');\n    this.loadNextPage(this.page).then(response => {\n      if (this.isViewerStat) {\n        this.set('viewers', [...this.viewers, ...response.items]);\n      } else {\n        this.set('conversations', [...this.conversations, ...response.items]);\n      }\n      this._setLoadMore(response.totalCount);\n      this.set('isLoadingMore', false);\n    });\n  }),\n\n  trackEventDetails: action(function(conversation) {\n    this.intercomEventService.trackEvent('educate-article-stats', {\n      action: 'clicked',\n      object: 'conversation',\n      place: 'article_stats',\n      article_id: this.get('controller.model.id'),\n      owner: 'educate',\n      conversation_id: conversation.get('id'),\n    });\n  }),\n\n  actions: {\n    openModal(path, options) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('openModal', path, options);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box articles__editor__stats-spacer\\\"></div>\\n{{yield (action 'changeView') activeView}}\\n<div class=\\\"layout__box article__editor__stats-spacer o__flexes-to-1\\\"></div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box articles__editor__stats-spacer\\\"></div>\\n{{yield (action 'changeView') activeView}}\\n<div class=\\\"layout__box article__editor__stats-spacer o__flexes-to-1\\\"></div>\\n\",\"moduleName\":\"embercom/components/articles/show/tab-container.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/show/tab-container.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { inject as service } from '@ember/service';\nimport MessageEditorTabContainer from 'embercom/components/message-editor/stats/tab-container';\nimport { valueOrDefault } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default MessageEditorTabContainer.extend({\n  router: service(),\n  hideComponent: false,\n  activeView: valueOrDefault('displaying', 'article'),\n\n  actions: {\n    changeView(displaying) {\n      let transitionRoute = 'apps.app.articles.articles.article.show';\n      if (displaying !== 'article') {\n        transitionRoute += '.stats';\n      }\n      this.set('displaying', displaying);\n      this.router.transitionTo(transitionRoute, { queryParams: { displaying } });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"layout__box o__has-columns o__flexes-to-1 message__editor__stats__tab-container\\\"\\n>\\n  {{#each this.tabs as |tab|}}\\n    <MessageEditor::Buttons::StatsTabButton\\n      @tab={{tab}}\\n      @variation={{@variation}}\\n      @activeView={{@activeView}}\\n      @changeView={{@changeView}}\\n    />\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"layout__box o__has-columns o__flexes-to-1 message__editor__stats__tab-container\\\"\\n>\\n  {{#each this.tabs as |tab|}}\\n    <MessageEditor::Buttons::StatsTabButton\\n      @tab={{tab}}\\n      @variation={{@variation}}\\n      @activeView={{@activeView}}\\n      @changeView={{@changeView}}\\n    />\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/show/tabs-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/show/tabs-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport MessageEditorTabsComponent from 'embercom/components/message-editor/content/tabs-component';\n\nconst TABS = {\n  article: {\n    label: 'Article',\n    isPercentageValue: false,\n    views: ['article'],\n    color: 'text-gray',\n    icon: 'newspaper',\n  },\n  viewers: {\n    label: 'Viewers',\n    isPercentageValue: false,\n    views: ['viewers'],\n  },\n  conversations: {\n    label: 'Conversations',\n    isPercentageValue: false,\n    views: ['newchat'],\n  },\n  reactions: {\n    label: 'Reactions',\n    isPercentageValue: false,\n    views: ['reacted'],\n  },\n  happy: {\n    label: '\\uD83D\\uDE03',\n    isPercentageValue: true,\n    views: ['reaction_0'],\n  },\n  neutral: {\n    label: '\\uD83D\\uDE10',\n    isPercentageValue: true,\n    views: ['reaction_1'],\n  },\n  sad: {\n    label: '\\uD83D\\uDE1E',\n    isPercentageValue: true,\n    views: ['reaction_2'],\n  },\n};\n\nexport default MessageEditorTabsComponent.extend({\n  stats: readOnly('article.stats'),\n\n  tabs: computed('stats', 'stats.lastUpdatedAt', 'app', function() {\n    return [\n      this.getTabContent('article'),\n      this.getTabContent('viewers', this.get('stats.viewCount')),\n      this.getTabContent('conversations', this.get('stats.replyCount')),\n      this.getTabContent('reactions', this.get('stats.responseCount')),\n      this.getTabContent('sad', this.get('stats.reaction2Percentage') || 0),\n      this.getTabContent('neutral', this.get('stats.reaction1Percentage') || 0),\n      this.getTabContent('happy', this.get('stats.reaction0Percentage') || 0),\n    ];\n  }),\n\n  getTabContent(name, value = '') {\n    return Object.assign({}, TABS[name], {\n      statistic: value,\n      isClickable: true,\n    });\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Articles::Show::Tabs::StandardTab @config={{@config}} @changeView={{@changeView}} @activeView={{@activeView}}>\\n  <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\" class=\\\"content-editor__tabs__tab-label\\\" data-test-tab-label=\\\"{{@config.label}}\\\">\\n    {{@config.label}}\\n  </Heading>\\n  <p class=\\\"t__label content-editor__tabs__tab-label\\\">\\n    <span>Overview</span>\\n  </p>\\n</Articles::Show::Tabs::StandardTab>\\n\", {\"contents\":\"<Articles::Show::Tabs::StandardTab @config={{@config}} @changeView={{@changeView}} @activeView={{@activeView}}>\\n  <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\" class=\\\"content-editor__tabs__tab-label\\\" data-test-tab-label=\\\"{{@config.label}}\\\">\\n    {{@config.label}}\\n  </Heading>\\n  <p class=\\\"t__label content-editor__tabs__tab-label\\\">\\n    <span>Overview</span>\\n  </p>\\n</Articles::Show::Tabs::StandardTab>\\n\",\"moduleName\":\"embercom/components/articles/show/tabs/overview-tab.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/show/tabs/overview-tab.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Articles::Show::Tabs::StandardTab @config={{@config}} @changeView={{@changeView}} @activeView={{@activeView}}>\\n  <div class=\\\"flex flex-row\\\">\\n    {{#each @config.statistic.subaggregations as |reaction|}}\\n      <div class=\\\"flex flex-row mr-2\\\" data-test-reaction-stat=\\\"{{reaction.value}}\\\">\\n        <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\" class=\\\"mr-4\\\" data-test-reaction=\\\"{{reaction.value}}\\\">\\n          {{reaction.value}}\\n        </Heading>\\n        <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\"  class=\\\"content-editor__tabs__tab-label\\\" data-test-reaction-stat-value=\\\"{{reaction.value}}\\\">\\n          {{format-percentage reaction.count}}\\n        </Heading>\\n      </div>\\n    {{/each}}\\n  </div>\\n\\n  <p class=\\\"t__label content-editor__tabs__tab-label\\\" data-test-tab-label=\\\"{{@config.label}}\\\">\\n    {{@config.label}}\\n  </p>\\n</Articles::Show::Tabs::StandardTab>\\n\", {\"contents\":\"<Articles::Show::Tabs::StandardTab @config={{@config}} @changeView={{@changeView}} @activeView={{@activeView}}>\\n  <div class=\\\"flex flex-row\\\">\\n    {{#each @config.statistic.subaggregations as |reaction|}}\\n      <div class=\\\"flex flex-row mr-2\\\" data-test-reaction-stat=\\\"{{reaction.value}}\\\">\\n        <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\" class=\\\"mr-4\\\" data-test-reaction=\\\"{{reaction.value}}\\\">\\n          {{reaction.value}}\\n        </Heading>\\n        <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\"  class=\\\"content-editor__tabs__tab-label\\\" data-test-reaction-stat-value=\\\"{{reaction.value}}\\\">\\n          {{format-percentage reaction.count}}\\n        </Heading>\\n      </div>\\n    {{/each}}\\n  </div>\\n\\n  <p class=\\\"t__label content-editor__tabs__tab-label\\\" data-test-tab-label=\\\"{{@config.label}}\\\">\\n    {{@config.label}}\\n  </p>\\n</Articles::Show::Tabs::StandardTab>\\n\",\"moduleName\":\"embercom/components/articles/show/tabs/reactions-tab.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/show/tabs/reactions-tab.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"content-editor__tabs__tab {{if this.isActive 'o__active'}}\\\" {{on \\\"click\\\" this.changeView}} data-test-tab-wrapper={{@config.view}}>\\n  {{yield}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"content-editor__tabs__tab {{if this.isActive 'o__active'}}\\\" {{on \\\"click\\\" this.changeView}} data-test-tab-wrapper={{@config.view}}>\\n  {{yield}}\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/show/tabs/standard-tab.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/show/tabs/standard-tab.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class StandardTab extends Component {\n  @service intercomEventService;\n\n  get isActive() {\n    return this.args.config.view === this.args.activeView;\n  }\n\n  @action\n  changeView() {\n    if (!this.isActive) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: `${this.args.config.view}_tab`,\n      });\n      this.args.changeView(this.args.config.view);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Articles::Show::Tabs::StandardTab @config={{@config}} @changeView={{@changeView}} @activeView={{@activeView}}>\\n  <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\" class=\\\"content-editor__tabs__tab-label\\\" data-test-stat-tab-value>\\n    {{or (number-formatter-helper @config.statistic.value) \\\"—\\\"}}\\n  </Heading>\\n  <p class=\\\"t__label content-editor__tabs__tab-label\\\" data-test-tab-label=\\\"{{@config.label}}\\\">\\n    {{@config.label}}\\n  </p>\\n</Articles::Show::Tabs::StandardTab>\\n\", {\"contents\":\"<Articles::Show::Tabs::StandardTab @config={{@config}} @changeView={{@changeView}} @activeView={{@activeView}}>\\n  <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\" class=\\\"content-editor__tabs__tab-label\\\" data-test-stat-tab-value>\\n    {{or (number-formatter-helper @config.statistic.value) \\\"—\\\"}}\\n  </Heading>\\n  <p class=\\\"t__label content-editor__tabs__tab-label\\\" data-test-tab-label=\\\"{{@config.label}}\\\">\\n    {{@config.label}}\\n  </p>\\n</Articles::Show::Tabs::StandardTab>\\n\",\"moduleName\":\"embercom/components/articles/show/tabs/stat-tab.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/show/tabs/stat-tab.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row content-editor__tabs__wrapper gap-4 ml-16 mr-8\\\" data-test-tabs-component ...attributes>\\n  {{#each this.tabComponentConfigs as |tabConfig|}}\\n    {{component tabConfig.component\\n                config=tabConfig\\n                activeView=this.activeView\\n                changeView=this.changeView\\n    }}\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row content-editor__tabs__wrapper gap-4 ml-16 mr-8\\\" data-test-tabs-component ...attributes>\\n  {{#each this.tabComponentConfigs as |tabConfig|}}\\n    {{component tabConfig.component\\n                config=tabConfig\\n                activeView=this.activeView\\n                changeView=this.changeView\\n    }}\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/show/tabs/tabs-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/show/tabs/tabs-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class TabsComponent extends Component {\n  @service router;\n\n  get activeView() {\n    return this.args.displaying || 'article';\n  }\n\n  @action\n  changeView(displaying) {\n    let transitionRoute = 'apps.app.articles.articles.article.show';\n    if (displaying !== 'article') {\n      this.router.transitionTo(`${transitionRoute}.stats`, { queryParams: { displaying } });\n    } else {\n      this.router.transitionTo(transitionRoute, { queryParams: { displaying: null } });\n    }\n  }\n\n  get tabComponentConfigs() {\n    return [\n      {\n        label: 'Article',\n        view: 'article',\n        component: 'articles/show/tabs/overview-tab',\n      },\n      {\n        label: 'Views',\n        view: 'views',\n        component: 'articles/show/tabs/stat-tab',\n        statistic: {\n          value: this.args.stats?.viewCount,\n        },\n      },\n      {\n        label: 'Conversations',\n        view: 'newchat',\n        component: 'articles/show/tabs/stat-tab',\n        statistic: {\n          value: this.args.stats?.replyCount,\n        },\n      },\n      {\n        label: 'Reacted',\n        view: 'reacted',\n        component: 'articles/show/tabs/reactions-tab',\n        statistic: {\n          subaggregations: [\n            { value: '\\uD83D\\uDE03', count: this.args.stats?.reaction0Percentage },\n            { value: '\\uD83D\\uDE10', count: this.args.stats?.reaction1Percentage },\n            { value: '\\uD83D\\uDE1E', count: this.args.stats?.reaction2Percentage },\n          ],\n        },\n      },\n    ];\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<IcModal @width=\\\"l\\\" @onModalClose={{@onModalClose}} @isOpen={{@isOpen}} as |modal|>\\n  <div class=\\\"articles__article-picker__header\\\">\\n    <modal.header @title=\\\"Add articles to a collection\\\"/>\\n  </div>\\n  <modal.body>\\n    {{#if busy}}\\n      <IcLoadingIndicator @size=\\\"large\\\" class=\\\"u__center-item\\\" />\\n    {{/if}}\\n    <div class=\\\"articles__article-picker__body u__mt_x2\\\">\\n      {{#unless this.loading}}\\n        {{#if this.articles.length}}\\n          <div class=\\\"flex flex-row items-center mt-2\\\">\\n            <Heading @size=\\\"3\\\">{{if @collection.hasDefaultLocalizedName collection.defaultLocalizedContent.name collection.missingNamePlaceholder}}</Heading>\\n            {{#if this.sectionsList.length }}\\n              <Heading @size=\\\"3\\\" class=\\\"mr-2 ml-2\\\"> / </Heading>\\n              <IcSelect\\n                @items={{this.sectionsList}}\\n                @onSelectItem={{this.selectArticleGroup}}\\n                @selectedValue={{if this.selectedArticleGroup.isSection this.selectedArticleGroup.id}}\\n                @defaultLabel=\\\"Select…\\\"\\n                @footerActions={{hash\\n                text=\\\"Do not add to a section\\\"\\n                  icon=\\\"close\\\"\\n                  action=(fn this.selectArticleGroup @collection.id)\\n                }}\\n                data-test-article-section-selector\\n              />\\n            {{/if}}\\n          </div>\\n          {{!-- template-lint-disable intercom/no-custom-table --}}\\n          <table class=\\\"articles__article-picker__table mt-4\\\">\\n            {{!-- template-lint-enable intercom/no-custom-table --}}\\n            <MultiselectCheckboxes\\n              @tagName=\\\"tbody\\\"\\n              @classNames=\\\"u__mb__15 tbl__body\\\"\\n              @options={{this.articles}}\\n              @selection={{this.selectedArticles}} as |article isSelected|\\n            >\\n              <tr\\n                class=\\\"educate__article__list__article-card {{if isSelected \\\"o__selected\\\"}}\\\"\\n                data-article-id=\\\"{{article.id}}\\\"\\n              >\\n                <td class=\\\"educate__article__list__tbl__cell__auto-width\\\">\\n                  <Input\\n                    @type=\\\"checkbox\\\"\\n                    @checked={{isSelected}}\\n                    data-test-article-picker-checkbox={{true}}\\n                  />\\n                </td>\\n                <td class=\\\"u__pad__15 educate__article__list__article-title-cell\\\">\\n                  <Articles::List::ContentSummary\\n                    @article={{article}}\\n                    @localeId={{this.helpCenterService.currentlySelectedLocaleId}}\\n                  />\\n                </td>\\n                <td class=\\\"u__pad__15 educate__article__list__tbl__cell__auto-width\\\">\\n                  <Articles::List::ContentStatus::Badge\\n                    @article={{article}}\\n                    @localeId={{this.helpCenterService.currentlySelectedLocaleId}}\\n                    @singleLanguageMode={{true}}\\n                  />\\n                </td>\\n                <td\\n                    class=\\\"u__pad__15 educate__article__list__article-title-cell\\\"\\n                  >\\n                  <Articles::List::ContentAuthors\\n                    @article={{article}}\\n                    @localeId={{this.helpCenterService.currentlySelectedLocaleId}}\\n                  />\\n                </td>\\n              </tr>\\n            </MultiselectCheckboxes>\\n          </table>\\n        {{else}}\\n          <IcEmptyState\\n            @icon=\\\"article\\\"\\n            @title=\\\"No articles here\\\"\\n            @description=\\\"Write a new article to add more to your collections\\\"\\n          />\\n        {{/if}}\\n      {{/unless}}\\n    </div>\\n\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{\\n      if this.selectedArticles.length\\n        (hash\\n          label=(concat 'Add ' this.selectedArticles.length ' ' (inflector-helper 'article' this.selectedArticles.length))\\n          action=(perform this.addSelectedArticles @collection)\\n          disabled=this.busy\\n          data-test-article-picker-add-button=true\\n        )\\n        (hash\\n          disabled=true\\n          label=\\\"Add article\\\"\\n        )\\n    }}\\n  />\\n</IcModal>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<IcModal @width=\\\"l\\\" @onModalClose={{@onModalClose}} @isOpen={{@isOpen}} as |modal|>\\n  <div class=\\\"articles__article-picker__header\\\">\\n    <modal.header @title=\\\"Add articles to a collection\\\"/>\\n  </div>\\n  <modal.body>\\n    {{#if busy}}\\n      <IcLoadingIndicator @size=\\\"large\\\" class=\\\"u__center-item\\\" />\\n    {{/if}}\\n    <div class=\\\"articles__article-picker__body u__mt_x2\\\">\\n      {{#unless this.loading}}\\n        {{#if this.articles.length}}\\n          <div class=\\\"flex flex-row items-center mt-2\\\">\\n            <Heading @size=\\\"3\\\">{{if @collection.hasDefaultLocalizedName collection.defaultLocalizedContent.name collection.missingNamePlaceholder}}</Heading>\\n            {{#if this.sectionsList.length }}\\n              <Heading @size=\\\"3\\\" class=\\\"mr-2 ml-2\\\"> / </Heading>\\n              <IcSelect\\n                @items={{this.sectionsList}}\\n                @onSelectItem={{this.selectArticleGroup}}\\n                @selectedValue={{if this.selectedArticleGroup.isSection this.selectedArticleGroup.id}}\\n                @defaultLabel=\\\"Select…\\\"\\n                @footerActions={{hash\\n                text=\\\"Do not add to a section\\\"\\n                  icon=\\\"close\\\"\\n                  action=(fn this.selectArticleGroup @collection.id)\\n                }}\\n                data-test-article-section-selector\\n              />\\n            {{/if}}\\n          </div>\\n          {{!-- template-lint-disable intercom/no-custom-table --}}\\n          <table class=\\\"articles__article-picker__table mt-4\\\">\\n            {{!-- template-lint-enable intercom/no-custom-table --}}\\n            <MultiselectCheckboxes\\n              @tagName=\\\"tbody\\\"\\n              @classNames=\\\"u__mb__15 tbl__body\\\"\\n              @options={{this.articles}}\\n              @selection={{this.selectedArticles}} as |article isSelected|\\n            >\\n              <tr\\n                class=\\\"educate__article__list__article-card {{if isSelected \\\"o__selected\\\"}}\\\"\\n                data-article-id=\\\"{{article.id}}\\\"\\n              >\\n                <td class=\\\"educate__article__list__tbl__cell__auto-width\\\">\\n                  <Input\\n                    @type=\\\"checkbox\\\"\\n                    @checked={{isSelected}}\\n                    data-test-article-picker-checkbox={{true}}\\n                  />\\n                </td>\\n                <td class=\\\"u__pad__15 educate__article__list__article-title-cell\\\">\\n                  <Articles::List::ContentSummary\\n                    @article={{article}}\\n                    @localeId={{this.helpCenterService.currentlySelectedLocaleId}}\\n                  />\\n                </td>\\n                <td class=\\\"u__pad__15 educate__article__list__tbl__cell__auto-width\\\">\\n                  <Articles::List::ContentStatus::Badge\\n                    @article={{article}}\\n                    @localeId={{this.helpCenterService.currentlySelectedLocaleId}}\\n                    @singleLanguageMode={{true}}\\n                  />\\n                </td>\\n                <td\\n                    class=\\\"u__pad__15 educate__article__list__article-title-cell\\\"\\n                  >\\n                  <Articles::List::ContentAuthors\\n                    @article={{article}}\\n                    @localeId={{this.helpCenterService.currentlySelectedLocaleId}}\\n                  />\\n                </td>\\n              </tr>\\n            </MultiselectCheckboxes>\\n          </table>\\n        {{else}}\\n          <IcEmptyState\\n            @icon=\\\"article\\\"\\n            @title=\\\"No articles here\\\"\\n            @description=\\\"Write a new article to add more to your collections\\\"\\n          />\\n        {{/if}}\\n      {{/unless}}\\n    </div>\\n\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{\\n      if this.selectedArticles.length\\n        (hash\\n          label=(concat 'Add ' this.selectedArticles.length ' ' (inflector-helper 'article' this.selectedArticles.length))\\n          action=(perform this.addSelectedArticles @collection)\\n          disabled=this.busy\\n          data-test-article-picker-add-button=true\\n        )\\n        (hash\\n          disabled=true\\n          label=\\\"Add article\\\"\\n        )\\n    }}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/articles/site/collections/article-picker.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/site/collections/article-picker.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { inject as service } from '@ember/service';\nimport { equal, or } from '@ember/object/computed';\nimport { computed, action } from '@ember/object';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\nimport Component from '@ember/component';\n\nimport { task, all } from 'ember-concurrency';\n\nexport default Component.extend(EventTracking, {\n  notificationsService: service(),\n  helpCenterService: service(),\n  store: service(),\n  tagName: '',\n  articles: null,\n  selectedArticles: null,\n  loading: equal('articles', null),\n  busy: or('populateArticles.isRunning', 'addSelectedArticles.isRunning'),\n  selectedArticleGroup: null,\n\n  sectionsList: computed('collection.children.[]', function() {\n    return this.collection.get('children').map(section => ({\n      text: section.name,\n      value: section.id,\n    }));\n  }),\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.set('selectedArticles', []);\n    this.set('selectedArticleGroup', this.collection);\n    this.populateArticles.perform();\n  },\n\n  populateArticles: task(function*() {\n    let response = yield this.store.query('article-multilingual', {\n      collection_id: null,\n      disable_pagination: true,\n    });\n    let allArticles = response.toArray();\n    let existingArticles = this.get('collection.allArticles');\n    let availableArticles = allArticles.reject(item => {\n      return existingArticles.includes(item);\n    });\n    this.set('articles', availableArticles);\n  }).drop(),\n\n  addSelectedArticles: task(function*() {\n    let group = this.selectedArticleGroup;\n    let saveTasks = [];\n    for (let article of this.selectedArticles) {\n      saveTasks.push(this.addArticle.perform(article, group));\n    }\n    try {\n      yield all(saveTasks);\n    } catch (error) {\n      this.notificationsService.notifyError('Sorry. There was a problem adding your articles.');\n    } finally {\n      this.onModalClose();\n      group.reload();\n    }\n  }).drop(),\n\n  addArticle: task(function*(article, collection) {\n    article.setProperties({\n      folder: collection,\n      order: null,\n    });\n    yield article\n      .save()\n      .then(() => {\n        this.trackEducateArticleEvent(article, { action: 'added', place: 'collection' });\n      })\n      .catch(() => {\n        article.rollbackAttributes();\n      });\n  })\n    .maxConcurrency(3)\n    .enqueue(),\n\n  selectArticleGroup: action(function(groupId) {\n    let group = this.store.peekRecord('articles/article-group', groupId);\n    this.set('selectedArticleGroup', group);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ul class=\\\"educate__collection__articles-sortable-area mt-8\\\">\\n  <li class=\\\"educate__section__section-item\\\" data-section-id=\\\"{{section.id}}\\\">\\n    <Articles::Site::Collections::SectionListComponent\\n      @draggingContext={{draggingContext}}\\n      @section={{collection}}\\n      @activeLocale={{activeLocale}}\\n      @saveFolder={{action saveFolder}}\\n    />\\n  </li>\\n  {{#if collection.isNotHome}}\\n    {{#each collection.sortedSections as |section|}}\\n      <li\\n        class=\\\"educate__section__section-item\\\"\\n        data-section-id=\\\"{{section.id}}\\\"\\n      >\\n        <Articles::Site::Collections::SectionListComponent\\n          @draggingContext={{draggingContext}}\\n          @saveFolder={{action saveFolder}}\\n          @deleteSection={{action deleteSection}}\\n          @reorderSection=\\\"reorderSection\\\"\\n          @section={{section}}\\n          @activeLocale={{activeLocale}}\\n        />\\n      </li>\\n    {{/each}}\\n  {{/if}}\\n</ul>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ul class=\\\"educate__collection__articles-sortable-area mt-8\\\">\\n  <li class=\\\"educate__section__section-item\\\" data-section-id=\\\"{{section.id}}\\\">\\n    <Articles::Site::Collections::SectionListComponent\\n      @draggingContext={{draggingContext}}\\n      @section={{collection}}\\n      @activeLocale={{activeLocale}}\\n      @saveFolder={{action saveFolder}}\\n    />\\n  </li>\\n  {{#if collection.isNotHome}}\\n    {{#each collection.sortedSections as |section|}}\\n      <li\\n        class=\\\"educate__section__section-item\\\"\\n        data-section-id=\\\"{{section.id}}\\\"\\n      >\\n        <Articles::Site::Collections::SectionListComponent\\n          @draggingContext={{draggingContext}}\\n          @saveFolder={{action saveFolder}}\\n          @deleteSection={{action deleteSection}}\\n          @reorderSection=\\\"reorderSection\\\"\\n          @section={{section}}\\n          @activeLocale={{activeLocale}}\\n        />\\n      </li>\\n    {{/each}}\\n  {{/if}}\\n</ul>\\n\",\"moduleName\":\"embercom/components/articles/site/collections/articles-list-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/site/collections/articles-list-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<li class=\\\"layout__box articles__list__article-card\\\" data-article-id=\\\"{{@article.id}}\\\">\\n  <div class=\\\"flex flex-row items-center justify-start gap-8 articles__list__article-card-content\\\">\\n    <div class=\\\"flex flex-col items-start educate__draggable-handle\\\" data-test-drag-handle>\\n      {{ic-interface-icon 'vertical-order' color='gray'}}\\n    </div>\\n    <div class=\\\"flex flex-col items-start flex-1 u__one-truncated-line articles__collections__article__title\\\">\\n      <Articles::List::ContentSummary\\n        @article={{@article}}\\n        @localeId={{@activeLocale}}\\n        @showCollectionBadge={{false}}\\n      />\\n    </div>\\n    <div class=\\\"flex flex-col items-start articles__collections__article__state\\\">\\n      <Articles::List::ContentStatus::Badge\\n        @article={{@article}}\\n        @localeId={{@activeLocale}}\\n        @singleLanguageMode={{true}}\\n      />\\n    </div>\\n    <div class=\\\"flex flex-col items-start articles__collections__article__authors\\\">\\n      <Articles::List::ContentAuthors\\n        @article={{@article}}\\n        @localeId={{@activeLocale}}\\n        @updatedAt={{@article.firstContent.updatedAt}}\\n      />\\n    </div>\\n    <div class=\\\"flex flex-col\\\">\\n      <div class=\\\"layout__box articles__list__icon-buttons\\\">\\n        <a data-test-delete-article=\\\"{{@article.id}}\\\" {{on \\\"click\\\" (fn @shouldRemoveArticle @article @section)}}>\\n          <IcTooltipIcon @icon=\\\"trash\\\" @content=\\\"Remove article from this collection\\\" />\\n        </a>\\n      </div>\\n    </div>\\n  </div>\\n</li>\\n\", {\"contents\":\"<li class=\\\"layout__box articles__list__article-card\\\" data-article-id=\\\"{{@article.id}}\\\">\\n  <div class=\\\"flex flex-row items-center justify-start gap-8 articles__list__article-card-content\\\">\\n    <div class=\\\"flex flex-col items-start educate__draggable-handle\\\" data-test-drag-handle>\\n      {{ic-interface-icon 'vertical-order' color='gray'}}\\n    </div>\\n    <div class=\\\"flex flex-col items-start flex-1 u__one-truncated-line articles__collections__article__title\\\">\\n      <Articles::List::ContentSummary\\n        @article={{@article}}\\n        @localeId={{@activeLocale}}\\n        @showCollectionBadge={{false}}\\n      />\\n    </div>\\n    <div class=\\\"flex flex-col items-start articles__collections__article__state\\\">\\n      <Articles::List::ContentStatus::Badge\\n        @article={{@article}}\\n        @localeId={{@activeLocale}}\\n        @singleLanguageMode={{true}}\\n      />\\n    </div>\\n    <div class=\\\"flex flex-col items-start articles__collections__article__authors\\\">\\n      <Articles::List::ContentAuthors\\n        @article={{@article}}\\n        @localeId={{@activeLocale}}\\n        @updatedAt={{@article.firstContent.updatedAt}}\\n      />\\n    </div>\\n    <div class=\\\"flex flex-col\\\">\\n      <div class=\\\"layout__box articles__list__icon-buttons\\\">\\n        <a data-test-delete-article=\\\"{{@article.id}}\\\" {{on \\\"click\\\" (fn @shouldRemoveArticle @article @section)}}>\\n          <IcTooltipIcon @icon=\\\"trash\\\" @content=\\\"Remove article from this collection\\\" />\\n        </a>\\n      </div>\\n    </div>\\n  </div>\\n</li>\\n\",\"moduleName\":\"embercom/components/articles/site/collections/collection-article.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/site/collections/collection-article.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex items-centered\\\">\\n  <div class=\\\"mr-4\\\">\\n    <Articles::Site::Collections::IconSelectorComponent\\n      @selectedIcon={{@folder.icon}}\\n      @folder={{@folder}}\\n      @onSave={{fn @onSave @folder}}\\n    />\\n  </div>\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <div>\\n      <Pulse::ExpandingInput\\n        @value={{@folder.selectedLocalizedContent.name}}\\n        @onUpdate={{set @folder.selectedLocalizedContent.name}}\\n        @autoSelect={{@folder.shouldFocusName}}\\n        @blurOnEnterKey={{true}}\\n        @onFocusOut={{fn @onSave @folder}}\\n        placeholder=\\\"Add a name\\\"\\n        class=\\\"t__h1 min-w-48 max-w-full\\\"\\n        data-collection-name-input\\n      />\\n    </div>\\n    <div>\\n      <Pulse::ExpandingInput\\n        @value={{@folder.selectedLocalizedContent.description}}\\n        @onUpdate={{set @folder.selectedLocalizedContent.description}}\\n        @blurOnEnterKey={{true}}\\n        @onFocusOut={{fn @onSave @folder}}\\n        placeholder=\\\"Describe this collection to help people find what they need\\\"\\n        class=\\\"t__light-text min-w-40 max-w-full placeholder-gray placeholder-opacity-50\\\"\\n        data-collection-description-input\\n      />\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex items-centered\\\">\\n  <div class=\\\"mr-4\\\">\\n    <Articles::Site::Collections::IconSelectorComponent\\n      @selectedIcon={{@folder.icon}}\\n      @folder={{@folder}}\\n      @onSave={{fn @onSave @folder}}\\n    />\\n  </div>\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <div>\\n      <Pulse::ExpandingInput\\n        @value={{@folder.selectedLocalizedContent.name}}\\n        @onUpdate={{set @folder.selectedLocalizedContent.name}}\\n        @autoSelect={{@folder.shouldFocusName}}\\n        @blurOnEnterKey={{true}}\\n        @onFocusOut={{fn @onSave @folder}}\\n        placeholder=\\\"Add a name\\\"\\n        class=\\\"t__h1 min-w-48 max-w-full\\\"\\n        data-collection-name-input\\n      />\\n    </div>\\n    <div>\\n      <Pulse::ExpandingInput\\n        @value={{@folder.selectedLocalizedContent.description}}\\n        @onUpdate={{set @folder.selectedLocalizedContent.description}}\\n        @blurOnEnterKey={{true}}\\n        @onFocusOut={{fn @onSave @folder}}\\n        placeholder=\\\"Describe this collection to help people find what they need\\\"\\n        class=\\\"t__light-text min-w-40 max-w-full placeholder-gray placeholder-opacity-50\\\"\\n        data-collection-description-input\\n      />\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/site/collections/collection-details-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/site/collections/collection-details-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex flex-row flex-1 articles__collections__tbl__row\\\" data-test-collection-id={{collection.id}}>\\n  <div class=\\\"flex flex-row articles__collections__tbl__icon__cell items-center pl-4\\\">\\n    <div class=\\\"flex flex-col justify-center educate__draggable-handle\\\" data-test-drag-handle=\\\"{{collection.name}}\\\">\\n      {{ic-interface-icon 'vertical-order' color='gray' solo=true}}\\n    </div>\\n    <div class=\\\"flex flex-col justify-center educate__collection__card__icon ml-6\\\">\\n      {{inline-svg (concat \\\"educate/collection-icons/\\\" collection.icon)}}\\n    </div>\\n  </div>\\n  <div class=\\\"flex flex-col flex-1 pr-16\\\">\\n    <div class=\\\"flex flex-row items-center\\\">\\n      <div class=\\\"flex flex-col justify-center u__one-truncated-line\\\">\\n        <h3\\n          class=\\\"t__h3 u__one-truncated-line {{unless collection.hasSelectedLocalizedName \\\"text-gray\\\"}}\\\"\\n          data-test-collection-name\\n        >\\n          <LinkTo\\n            @route=\\\"apps.app.articles.site.collections.collection\\\"\\n            @model={{collection.id}}\\n            class=\\\"t__solo-link u__one-truncated-line\\\"\\n          >\\n            {{#if collection.hasSelectedLocalizedName}}\\n              {{collection.selectedLocalizedContent.name}}\\n            {{else if collection.hasDefaultLocalizedName}}\\n              ({{capitalize collection.defaultLocalizedContent.localeId}})\\n              {{collection.defaultLocalizedContent.name}}\\n            {{else}}\\n              {{collection.missingNamePlaceholder}}\\n            {{/if}}\\n          </LinkTo>\\n        </h3>\\n      </div>\\n      {{#if\\n        (and\\n          (not collection.hasSelectedLocalizedName)\\n          collection.hasDefaultLocalizedName\\n        )\\n      }}\\n        <div class=\\\"flex flex-col justify-center\\\">\\n          <span\\n            class=\\\"stamp o__inactive whitespace-no-wrap ml-2\\\"\\n            data-test-not-translated-stamp\\n          >\\n            Not translated\\n          </span>\\n        </div>\\n      {{/if}}\\n    </div>\\n    <div\\n      data-test-collection-description\\n      class=\\\"articles__collections__tbl__description__cell u__one-truncated-line t__light-text\\\"\\n    >\\n      {{#if collection.hasSelectedLocalizedName}}\\n        {{#if collection.hasSelectedLocalizedDescription}}\\n          {{collection.selectedLocalizedContent.description}}\\n        {{else}}\\n          {{collection.missingDescriptionPlaceholder}}\\n        {{/if}}\\n      {{else}}\\n        {{#if collection.hasDefaultLocalizedDescription}}\\n          {{collection.defaultLocalizedContent.description}}\\n        {{else}}\\n          {{collection.missingDescriptionPlaceholder}}\\n        {{/if}}\\n      {{/if}}\\n    </div>\\n  </div>\\n  {{#if collection.hasSelectedLocalizedName}}\\n    <div class=\\\"flex flex-row items-center justify-start articles__collections__tbl__status__cell\\\" data-test-collections-status=\\\"published\\\">\\n      <div class=\\\"articles__list__status-badge o__published mr-2\\\"></div>\\n      <p>\\n        Published\\n      </p>\\n    </div>\\n  {{else}}\\n    <div class=\\\"flex flex-row items-center justify-start articles__collections__tbl__status__cell\\\" data-test-collections-status=\\\"needs-title\\\">\\n      <span>\\n        {{ic-interface-icon \\\"alert\\\" set=\\\"tiny\\\" color=\\\"red\\\"}}\\n      </span>\\n      <p class=\\\"ml-1\\\">\\n        Needs a title\\n      </p>\\n    </div>\\n  {{/if}}\\n  <div class=\\\"flex flex-col justify-center items-end articles__collections__tbl__count__cell\\\">\\n    {{collection.count}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex flex-row flex-1 articles__collections__tbl__row\\\" data-test-collection-id={{collection.id}}>\\n  <div class=\\\"flex flex-row articles__collections__tbl__icon__cell items-center pl-4\\\">\\n    <div class=\\\"flex flex-col justify-center educate__draggable-handle\\\" data-test-drag-handle=\\\"{{collection.name}}\\\">\\n      {{ic-interface-icon 'vertical-order' color='gray' solo=true}}\\n    </div>\\n    <div class=\\\"flex flex-col justify-center educate__collection__card__icon ml-6\\\">\\n      {{inline-svg (concat \\\"educate/collection-icons/\\\" collection.icon)}}\\n    </div>\\n  </div>\\n  <div class=\\\"flex flex-col flex-1 pr-16\\\">\\n    <div class=\\\"flex flex-row items-center\\\">\\n      <div class=\\\"flex flex-col justify-center u__one-truncated-line\\\">\\n        <h3\\n          class=\\\"t__h3 u__one-truncated-line {{unless collection.hasSelectedLocalizedName \\\"text-gray\\\"}}\\\"\\n          data-test-collection-name\\n        >\\n          <LinkTo\\n            @route=\\\"apps.app.articles.site.collections.collection\\\"\\n            @model={{collection.id}}\\n            class=\\\"t__solo-link u__one-truncated-line\\\"\\n          >\\n            {{#if collection.hasSelectedLocalizedName}}\\n              {{collection.selectedLocalizedContent.name}}\\n            {{else if collection.hasDefaultLocalizedName}}\\n              ({{capitalize collection.defaultLocalizedContent.localeId}})\\n              {{collection.defaultLocalizedContent.name}}\\n            {{else}}\\n              {{collection.missingNamePlaceholder}}\\n            {{/if}}\\n          </LinkTo>\\n        </h3>\\n      </div>\\n      {{#if\\n        (and\\n          (not collection.hasSelectedLocalizedName)\\n          collection.hasDefaultLocalizedName\\n        )\\n      }}\\n        <div class=\\\"flex flex-col justify-center\\\">\\n          <span\\n            class=\\\"stamp o__inactive whitespace-no-wrap ml-2\\\"\\n            data-test-not-translated-stamp\\n          >\\n            Not translated\\n          </span>\\n        </div>\\n      {{/if}}\\n    </div>\\n    <div\\n      data-test-collection-description\\n      class=\\\"articles__collections__tbl__description__cell u__one-truncated-line t__light-text\\\"\\n    >\\n      {{#if collection.hasSelectedLocalizedName}}\\n        {{#if collection.hasSelectedLocalizedDescription}}\\n          {{collection.selectedLocalizedContent.description}}\\n        {{else}}\\n          {{collection.missingDescriptionPlaceholder}}\\n        {{/if}}\\n      {{else}}\\n        {{#if collection.hasDefaultLocalizedDescription}}\\n          {{collection.defaultLocalizedContent.description}}\\n        {{else}}\\n          {{collection.missingDescriptionPlaceholder}}\\n        {{/if}}\\n      {{/if}}\\n    </div>\\n  </div>\\n  {{#if collection.hasSelectedLocalizedName}}\\n    <div class=\\\"flex flex-row items-center justify-start articles__collections__tbl__status__cell\\\" data-test-collections-status=\\\"published\\\">\\n      <div class=\\\"articles__list__status-badge o__published mr-2\\\"></div>\\n      <p>\\n        Published\\n      </p>\\n    </div>\\n  {{else}}\\n    <div class=\\\"flex flex-row items-center justify-start articles__collections__tbl__status__cell\\\" data-test-collections-status=\\\"needs-title\\\">\\n      <span>\\n        {{ic-interface-icon \\\"alert\\\" set=\\\"tiny\\\" color=\\\"red\\\"}}\\n      </span>\\n      <p class=\\\"ml-1\\\">\\n        Needs a title\\n      </p>\\n    </div>\\n  {{/if}}\\n  <div class=\\\"flex flex-col justify-center items-end articles__collections__tbl__count__cell\\\">\\n    {{collection.count}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/site/collections/collection-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/site/collections/collection-item.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  tagName: '',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__overflow-x-auto\\\">\\n  <div class=\\\"tbl mt-4 articles__collections__tbl\\\" data-test-table>\\n    <div>\\n      <div class=\\\"flex flex-row pt-2 pb-2\\\">\\n        <div class=\\\"t__label articles__collections__tbl__icon__cell pl-4\\\">\\n          <IcTooltipIcon>\\n            Order collections how you would like them to appear in your Help Center\\n          </IcTooltipIcon>\\n        </div>\\n        <div class=\\\"flex flex-col flex-1 t__label\\\">\\n          Collection name\\n        </div>\\n        <div class=\\\"t__label articles__collections__tbl__status__cell\\\">\\n          Status\\n        </div>\\n        <div class=\\\"t__label articles__collections__tbl__count__cell\\\">\\n          # of articles\\n        </div>\\n      </div>\\n    </div>\\n    <SortableGroup\\n      @tagName=\\\"div\\\"\\n      @class=\\\"tbl__body\\\"\\n      @onChange={{this.onDraggingEnd}} as |group|\\n    >\\n      {{#each sortedCollections as |collection|}}\\n        <group.item\\n          @tagName=\\\"div\\\"\\n          @group={{group}}\\n          @model={{collection}}\\n          @handle=\\\".educate__draggable-handle\\\"\\n          class=\\\"articles__collections__sortable-wrapper\\\"\\n        >\\n          <Articles::Site::Collections::CollectionItem\\n            @collection={{collection}}\\n            @goToCollection={{action goToCollection}}\\n          />\\n        </group.item>\\n      {{/each}}\\n    </SortableGroup>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__overflow-x-auto\\\">\\n  <div class=\\\"tbl mt-4 articles__collections__tbl\\\" data-test-table>\\n    <div>\\n      <div class=\\\"flex flex-row pt-2 pb-2\\\">\\n        <div class=\\\"t__label articles__collections__tbl__icon__cell pl-4\\\">\\n          <IcTooltipIcon>\\n            Order collections how you would like them to appear in your Help Center\\n          </IcTooltipIcon>\\n        </div>\\n        <div class=\\\"flex flex-col flex-1 t__label\\\">\\n          Collection name\\n        </div>\\n        <div class=\\\"t__label articles__collections__tbl__status__cell\\\">\\n          Status\\n        </div>\\n        <div class=\\\"t__label articles__collections__tbl__count__cell\\\">\\n          # of articles\\n        </div>\\n      </div>\\n    </div>\\n    <SortableGroup\\n      @tagName=\\\"div\\\"\\n      @class=\\\"tbl__body\\\"\\n      @onChange={{this.onDraggingEnd}} as |group|\\n    >\\n      {{#each sortedCollections as |collection|}}\\n        <group.item\\n          @tagName=\\\"div\\\"\\n          @group={{group}}\\n          @model={{collection}}\\n          @handle=\\\".educate__draggable-handle\\\"\\n          class=\\\"articles__collections__sortable-wrapper\\\"\\n        >\\n          <Articles::Site::Collections::CollectionItem\\n            @collection={{collection}}\\n            @goToCollection={{action goToCollection}}\\n          />\\n        </group.item>\\n      {{/each}}\\n    </SortableGroup>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/site/collections/collections-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/site/collections/collections-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\nimport { inject as service } from '@ember/service';\nimport { sort } from '@ember/object/computed';\n\nexport default Component.extend(EventTracking, {\n  helpCenterService: service(),\n  notificationsService: service(),\n  sortKey: ['order'],\n  sortedCollections: sort('collections', 'sortKey'),\n\n  showCollectionReorderWarning() {\n    if (this.helpCenterService.showCollectionReorderWarning) {\n      this.notificationsService.removeNotification('collectionReorderWarning');\n      this.notificationsService.notifyWarningWithButton(\n        'This change applies to all languages',\n        {\n          label: 'Got it',\n          action: this.collectionReorderWarningButton.bind(this),\n        },\n        5000,\n        'collectionReorderWarning',\n      );\n    }\n  },\n\n  collectionReorderWarningButton() {\n    this.helpCenterService.set('showCollectionReorderWarning', false);\n    this.notificationsService.removeNotification('collectionReorderWarning');\n  },\n\n  onDraggingEnd: action(function(collections, movedCollection) {\n    let newIndex = collections.indexOf(movedCollection);\n    let oldIndex = movedCollection.order;\n    collections.forEach((collection, index) => {\n      collection.set('order', index);\n    });\n    movedCollection\n      .reorder(newIndex)\n      .then(() => {\n        this.showCollectionReorderWarning();\n        this.trackCollectionEvent('educate-collection-reordered', movedCollection, {\n          action: 'reordered',\n          place: 'collection',\n          oldIndex,\n          newIndex,\n        });\n      })\n      .catch(() => this.notificationsService.notifyError('Unable to update collection order'));\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcButton\\n  @onClick={{this.togglePopover}}\\n  @isForcedActive={{isPopoverOpen}}\\n  @jsBindingClass=\\\"js__popover-opener\\\"\\n>\\n  <div\\n    class=\\\"flex items-center educate__icon-selector__internals\\\"\\n    data-test-collection-icon-selector\\n  >\\n    <div class=\\\"educate__icon educate__icon-selector__icon\\\">\\n      {{inline-svg (concat \\\"educate/collection-icons/\\\" selectedIcon)}}\\n    </div>\\n  </div>\\n</IcButton>\\n<Articles::Site::Collections::IconSelectorPopoverComponent\\n  @selectedIcon={{selectedIcon}}\\n  @folder={{folder}}\\n  @isOpen={{isPopoverOpen}}\\n  @showCaret={{false}}\\n  @popoverPosition=\\\"below\\\"\\n  @spaced={{false}}\\n  @action=\\\"togglePopover\\\"\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcButton\\n  @onClick={{this.togglePopover}}\\n  @isForcedActive={{isPopoverOpen}}\\n  @jsBindingClass=\\\"js__popover-opener\\\"\\n>\\n  <div\\n    class=\\\"flex items-center educate__icon-selector__internals\\\"\\n    data-test-collection-icon-selector\\n  >\\n    <div class=\\\"educate__icon educate__icon-selector__icon\\\">\\n      {{inline-svg (concat \\\"educate/collection-icons/\\\" selectedIcon)}}\\n    </div>\\n  </div>\\n</IcButton>\\n<Articles::Site::Collections::IconSelectorPopoverComponent\\n  @selectedIcon={{selectedIcon}}\\n  @folder={{folder}}\\n  @isOpen={{isPopoverOpen}}\\n  @showCaret={{false}}\\n  @popoverPosition=\\\"below\\\"\\n  @spaced={{false}}\\n  @action=\\\"togglePopover\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/articles/site/collections/icon-selector-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/site/collections/icon-selector-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nexport default Component.extend({\n  classNameBindings: [':educate__icon-selector', 'isPopoverOpen:o__active'],\n  isPopoverOpen: false,\n\n  togglePopover: action(function() {\n    this.toggleProperty('isPopoverOpen');\n    if (!this.isPopoverOpen) {\n      this.onSave();\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"educate__icon-selector__popover__panel\\\">\\n  {{#each iconGroups as |group|}}\\n    <div class='educate__icon-selector__group-title t__light-text'>\\n      {{group.title}}\\n    </div>\\n    {{#each group.icons as |icon|}}\\n      <span class='educate__icon educate__icon-selector__popover__icon' data-test-collection-icon {{action 'selectIcon' icon}}>\\n        {{inline-svg (concat \\\"educate/collection-icons/\\\" icon)}}\\n      </span>\\n    {{/each}}\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"educate__icon-selector__popover__panel\\\">\\n  {{#each iconGroups as |group|}}\\n    <div class='educate__icon-selector__group-title t__light-text'>\\n      {{group.title}}\\n    </div>\\n    {{#each group.icons as |icon|}}\\n      <span class='educate__icon educate__icon-selector__popover__icon' data-test-collection-icon {{action 'selectIcon' icon}}>\\n        {{inline-svg (concat \\\"educate/collection-icons/\\\" icon)}}\\n      </span>\\n    {{/each}}\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/site/collections/icon-selector-popover-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/site/collections/icon-selector-popover-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport LegacyOverlayBaseComponent from 'embercom/components/legacy-overlay-base-component';\n\nclass IconGroup {\n  constructor(id, title, icons) {\n    this.id = id;\n    this.title = title;\n    this.icons = icons.map(item => `${id}-${item}`);\n  }\n}\n\nexport default LegacyOverlayBaseComponent.extend({\n  classNameBindings: [':educate__icon-selector__popover'],\n  selectedIcon: null,\n\n  init() {\n    this._super();\n    this.set('iconGroups', [\n      new IconGroup('user', 'People', [\n        'check',\n        'contact',\n        'edit',\n        'group',\n        'locked',\n        'profile',\n        'search',\n      ]),\n      new IconGroup('chat', 'Comments and Chats', [\n        'edit',\n        'info',\n        'plus',\n        'question',\n        'single',\n        'star',\n        'user',\n      ]),\n      new IconGroup('comms', 'Communications', [\n        'check',\n        'edit',\n        'email-edit',\n        'email',\n        'inbox-down',\n        'inbox-up',\n        'inbox',\n        'mail',\n        'minus',\n        'phone',\n        'phone2',\n        'plus',\n        'search',\n        'text',\n        'timed',\n        'video',\n        'voice',\n      ]),\n      new IconGroup('tools', 'Tools and Settings', [\n        'compose',\n        'dashboard',\n        'delete',\n        'edit',\n        'locked',\n        'setting1',\n        'setting2',\n        'setting3',\n        'unlock',\n      ]),\n      new IconGroup('file', 'Files and Folders', [\n        'check',\n        'down',\n        'edit',\n        'file',\n        'files',\n        'folder-down',\n        'folder-edit',\n        'folder-lock',\n        'folder-plus',\n        'folder-search',\n        'folder-up',\n        'lock',\n        'plus',\n        'search',\n        'spreadsheet',\n        'up',\n      ]),\n      new IconGroup('info', 'Information and status', [\n        'check',\n        'cross',\n        'exclamation',\n        'info',\n        'question',\n        'sync',\n      ]),\n      new IconGroup('book', 'Content and chat', [\n        'bookmark',\n        'library',\n        'opened',\n        'opened2',\n        'star',\n        'book',\n      ]),\n      new IconGroup('biz', 'Business and finance', [\n        'creditcard',\n        'delivery',\n        'dollar',\n        'euro',\n        'package',\n        'shop',\n      ]),\n      new IconGroup('devices', 'Devices and software', [\n        'desktop',\n        'laptop',\n        'mobile',\n        'server',\n        'tablet',\n        'window-check',\n        'window-settings',\n        'window',\n      ]),\n    ]);\n  },\n  actions: {\n    selectIcon(iconIdentifier) {\n      this.set('folder.icon', iconIdentifier);\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable no-restricted-invocations --}}\\n{{#if (and section.isSection section.isNotHome)}}\\n  <div class=\\\"articles__collections__section-heading flex-auto min-w-0 mt-8 mb-4\\\">\\n    <div class=\\\"flex items-center\\\">\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <div class=\\\"articles__collections__section-heading-title\\\">\\n          <Deprecated::ExpandingInputComponent\\n            @value={{activeContent.name}}\\n            @minWidth={{50}}\\n            @maxWidth={{800}}\\n            class=\\\"t__h2 educate__detail__input\\\"\\n            @focusOut={{action saveFolder section}}\\n            @shouldFocus={{section.isNew}}\\n            placeholder=\\\"Add a section name\\\"\\n          />\\n          {{#unless section.isNew}}\\n            <span class=\\\"educate__article-list__section__article-count text-gray\\\">\\n              {{#if section.hasArticles}}\\n                ({{section.articles.length}} {{inflector-helper \\\"article\\\" section.articles.length}})\\n              {{else}}\\n                (0 articles)\\n              {{/if}}\\n            </span>\\n          {{/unless}}\\n        </div>\\n      </div>\\n      <div class=\\\"u__ml__10\\\">\\n        <div class=\\\"articles__collections__section-heading__icon-group\\\">\\n          {{#unless section.isLastSection}}\\n            <span\\n              class=\\\"articles__collections__section-heading__icon o__rotate180\\\"\\n              data-section-header-id=\\\"{{section.id}}\\\"\\n              {{action \\\"reorderSection\\\" \\\"down\\\"}}\\n            >\\n              <IcTooltipIcon @icon=\\\"upload\\\" @content=\\\"Move section down\\\"/>\\n            </span>\\n          {{/unless}}\\n          {{#unless section.isFirstSection}}\\n            <span\\n              title=\\\"Move section up\\\"\\n              class=\\\"articles__collections__section-heading__icon\\\"\\n              data-section-header-id=\\\"{{section.id}}\\\"\\n              {{action \\\"reorderSection\\\" \\\"up\\\"}}\\n            >\\n              <IcTooltipIcon @icon=\\\"upload\\\" @content=\\\"Move section up\\\"/>\\n            </span>\\n          {{/unless}}\\n          <span\\n            class=\\\"articles__collections__section-heading__icon\\\"\\n            data-test-delete-section\\n            {{action deleteSection section}}\\n          >\\n            <IcTooltipIcon @icon=\\\"trash\\\" @content=\\\"Delete this section\\\"/>\\n          </span>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n<ul\\n  class=\\\"sortable educate__collection__articles-list {{unless section.isSection \\\"o__collection-articles\\\"}} {{unless section.articles \\\"o__empty\\\"}}\\\"\\n  data-section-id=\\\"{{section.id}}\\\"\\n>\\n  {{#each section.sortedArticles as |article|}}\\n    {{#if (not-eq article.state \\\"new\\\")}}\\n      <Articles::Site::Collections::CollectionArticle\\n        @article={{article}}\\n        @section={{section}}\\n        @helpCenterSite={{helpCenterSite}}\\n        @shouldRemoveArticle={{this.shouldRemoveArticle}}\\n        @activeLocale={{activeLocale}}\\n      />\\n    {{/if}}\\n  {{/each}}\\n  {{#unless section.articles}}\\n    <li class=\\\"layout__box o__centers-all text-gray articles__list__article-card o__empty-section-indicator\\\">\\n      <div class=\\\"flex flex-col justify-center articles__list__article-card-content\\\">\\n        Articles can be moved here\\n      </div>\\n    </li>\\n  {{/unless}}\\n</ul>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable no-restricted-invocations --}}\\n{{#if (and section.isSection section.isNotHome)}}\\n  <div class=\\\"articles__collections__section-heading flex-auto min-w-0 mt-8 mb-4\\\">\\n    <div class=\\\"flex items-center\\\">\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <div class=\\\"articles__collections__section-heading-title\\\">\\n          <Deprecated::ExpandingInputComponent\\n            @value={{activeContent.name}}\\n            @minWidth={{50}}\\n            @maxWidth={{800}}\\n            class=\\\"t__h2 educate__detail__input\\\"\\n            @focusOut={{action saveFolder section}}\\n            @shouldFocus={{section.isNew}}\\n            placeholder=\\\"Add a section name\\\"\\n          />\\n          {{#unless section.isNew}}\\n            <span class=\\\"educate__article-list__section__article-count text-gray\\\">\\n              {{#if section.hasArticles}}\\n                ({{section.articles.length}} {{inflector-helper \\\"article\\\" section.articles.length}})\\n              {{else}}\\n                (0 articles)\\n              {{/if}}\\n            </span>\\n          {{/unless}}\\n        </div>\\n      </div>\\n      <div class=\\\"u__ml__10\\\">\\n        <div class=\\\"articles__collections__section-heading__icon-group\\\">\\n          {{#unless section.isLastSection}}\\n            <span\\n              class=\\\"articles__collections__section-heading__icon o__rotate180\\\"\\n              data-section-header-id=\\\"{{section.id}}\\\"\\n              {{action \\\"reorderSection\\\" \\\"down\\\"}}\\n            >\\n              <IcTooltipIcon @icon=\\\"upload\\\" @content=\\\"Move section down\\\"/>\\n            </span>\\n          {{/unless}}\\n          {{#unless section.isFirstSection}}\\n            <span\\n              title=\\\"Move section up\\\"\\n              class=\\\"articles__collections__section-heading__icon\\\"\\n              data-section-header-id=\\\"{{section.id}}\\\"\\n              {{action \\\"reorderSection\\\" \\\"up\\\"}}\\n            >\\n              <IcTooltipIcon @icon=\\\"upload\\\" @content=\\\"Move section up\\\"/>\\n            </span>\\n          {{/unless}}\\n          <span\\n            class=\\\"articles__collections__section-heading__icon\\\"\\n            data-test-delete-section\\n            {{action deleteSection section}}\\n          >\\n            <IcTooltipIcon @icon=\\\"trash\\\" @content=\\\"Delete this section\\\"/>\\n          </span>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n<ul\\n  class=\\\"sortable educate__collection__articles-list {{unless section.isSection \\\"o__collection-articles\\\"}} {{unless section.articles \\\"o__empty\\\"}}\\\"\\n  data-section-id=\\\"{{section.id}}\\\"\\n>\\n  {{#each section.sortedArticles as |article|}}\\n    {{#if (not-eq article.state \\\"new\\\")}}\\n      <Articles::Site::Collections::CollectionArticle\\n        @article={{article}}\\n        @section={{section}}\\n        @helpCenterSite={{helpCenterSite}}\\n        @shouldRemoveArticle={{this.shouldRemoveArticle}}\\n        @activeLocale={{activeLocale}}\\n      />\\n    {{/if}}\\n  {{/each}}\\n  {{#unless section.articles}}\\n    <li class=\\\"layout__box o__centers-all text-gray articles__list__article-card o__empty-section-indicator\\\">\\n      <div class=\\\"flex flex-col justify-center articles__list__article-card-content\\\">\\n        Articles can be moved here\\n      </div>\\n    </li>\\n  {{/unless}}\\n</ul>\\n\",\"moduleName\":\"embercom/components/articles/site/collections/section-list-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/site/collections/section-list-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { schedule } from '@ember/runloop';\nimport $ from 'jquery';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { computed, action } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport SortableList from 'embercom/components/mixins/articles/sortable-list';\nimport ErrorHandling from 'embercom/components/mixins/articles/error-handling';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\nimport { moveElementInOrderedList } from 'embercom/lib/reordering';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend(ErrorHandling, EventTracking, SortableList, {\n  store: service(),\n  helpCenterService: service(),\n  notificationsService: service(),\n  sortableGroup: 'educate-articles',\n  draggableSelector: '.articles__list__article-card',\n  draggableHandleSelector: '.educate__draggable-handle',\n  helpCenterSite: readOnly('helpCenterService.site'),\n\n  activeContent: computed('section.localizedContent.[]', 'activeLocale', function() {\n    return (\n      this.section.localizedContent.findBy('localeId', this.activeLocale) ||\n      this.section.localizedContent.createFragment({\n        localeId: this.activeLocale,\n        name: '',\n      })\n    );\n  }),\n\n  getArticle(articleId) {\n    return this.section.store.peekRecord('article-multilingual', articleId);\n  },\n\n  onDraggingEnd() {\n    $('.o__drop-target').removeClass('o__drop-target');\n    this.showSectionReorderWarning();\n  },\n\n  showSectionReorderWarning() {\n    if (this.helpCenterService.showSectionReorderWarning) {\n      this.notificationsService.removeNotification('sectionReorderWarning');\n      this.notificationsService.notifyWarningWithButton(\n        'This change applies to all languages',\n        {\n          label: 'Got it',\n          action: this.sectionReorderWarningButton.bind(this),\n        },\n        5000,\n        'sectionReorderWarning',\n      );\n    }\n  },\n\n  sectionReorderWarningButton() {\n    this.helpCenterService.set('showSectionReorderWarning', false);\n    this.notificationsService.removeNotification('sectionReorderWarning');\n  },\n\n  onMove(event) {\n    // When removing the class we are not scoping to any specific element since we may have dragged an article over the collections list - added the\n    // class and now this event is us still dragging but moving the article back over a section.\n    //\n    $('.o__drop-target').removeClass('o__drop-target');\n    if (event.related) {\n      $(event.related).addClass('o__drop-target');\n    }\n\n    return true; // Means that we will allow a drop here\n  },\n\n  shouldIncrementCount(folder, article) {\n    if (folder.get('isSection') && folder.get('parent.id') === article.get('collection.id')) {\n      return false;\n    }\n    return !(folder.get('isCollection') && folder.get('id') === article.get('collection.id'));\n  },\n\n  onDragToOtherList(event) {\n    // This is a bit of a hack but it's needed to work around the 'Sortable' component's behaviour (when you drag and item and drop it into another\n    // list it adds the element and doesn't allow you to override this behaviour)\n    //\n    $(event.item).remove();\n\n    let article = this.getArticle(event.item.dataset.articleId);\n    let section = this.section;\n    moveElementInOrderedList(this.get('section.sortedArticles'), article, event.newIndex);\n    let incrementCount = this.shouldIncrementCount(section, article);\n    if (article.get('jsonBlocks')) {\n      article.set('jsonBlocks', undefined);\n    }\n    article.setProperties({\n      folder: section,\n      order: event.newIndex,\n    });\n\n    article\n      .save()\n      .then(() => {\n        this.trackEducateArticleEvent(article, { action: 'added', place: section.get('type') });\n        if (incrementCount) {\n          article.incrementProperty('collection.count');\n        }\n      })\n      .catch(response => {\n        this.handleServerError(response, 'There was a problem moving your article');\n      });\n  },\n\n  onDraggingUpdate(event) {\n    $('.o__drop-target', this.element).removeClass('o__drop-target');\n\n    // The reordering executed by the Sortable plugin manipulates the DOM and leaves Ember confused.\n    // We can trigger a re-render by removing the article from this list (by clearing it's folder), and then by adding it back - in a separate execution of\n    // the run loop (hence the run.later).\n    //\n    let article = this.getArticle(event.item.dataset.articleId);\n    article.set('folder', null);\n\n    schedule('afterRender', () => {\n      $(event.item).remove(); // Remove the weird unbound DOM element that the sortable plugin created\n      article.set('folder', this.section);\n      moveElementInOrderedList(this.get('section.sortedArticles'), article, event.newIndex);\n      article\n        .reorder(event.newIndex)\n        .then(() => {\n          this.trackEducateArticleEvent(article, {\n            action: 'reordered',\n            place: article.get('folder.type'),\n          });\n        })\n        .catch(response => {\n          this.handleServerError(response, 'There was a problem updating your article order');\n        });\n    });\n  },\n\n  trackArticleEvent(article, originalCollection) {\n    let metadata = { action: 'removed' };\n    if (originalCollection.get('isCollection')) {\n      metadata.from_collection_id = originalCollection.get('id');\n      metadata.place = 'collection';\n    } else {\n      metadata.from_section_id = originalCollection.get('id');\n      metadata.place = 'section';\n    }\n    this.trackEducateArticleEvent(article, metadata);\n  },\n\n  removeArticle: task(function*(article, collection) {\n    let home = this.store.peekRecord('articles/article-group', 'home');\n    article.set('folder', home);\n    yield article\n      .save()\n      .then(() => {\n        this.trackArticleEvent(article, collection);\n        collection.reload();\n      })\n      .catch(response => {\n        this.handleServerError(\n          response,\n          'There was a problem removing the article from this collection',\n        );\n        article.rollbackAttributes();\n        collection.reload();\n      });\n  }).enqueue(),\n\n  shouldRemoveArticle: action(function(article, collection) {\n    let confirmOptions = {\n      title: 'Remove this article?',\n      confirmButtonText: 'Remove from collection',\n      cancleButtonText: 'Cancel',\n      body: \"It's still in your article list and you can add it back anytime.\",\n    };\n    intercomConfirm(this, confirmOptions).then(() => {\n      this.removeArticle.perform(article, collection);\n    });\n  }),\n\n  actions: {\n    reorderSection(direction) {\n      let section = this.section;\n      let collection = section.get('parent');\n      let siblings = collection.get('sortedSections');\n      let oldIndex = siblings.indexOf(section);\n      let newIndex = oldIndex + (direction === 'down' ? 1 : -1);\n\n      let targetSibling = siblings[newIndex];\n      let movingSibling = siblings[oldIndex];\n      let tmpOrder = movingSibling.get('order');\n\n      movingSibling.set('order', targetSibling.get('order'));\n      targetSibling.set('order', tmpOrder);\n\n      section\n        .reorder(newIndex)\n        .then(() => {\n          this.trackEducateCollectionOrSectionEvent(section, {\n            action: 'reordered',\n            place: 'collection',\n          });\n        })\n        .catch(response => {\n          this.handleServerError(response, 'There was a problem moving your section');\n        });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Common::AccordionComponent::BodyButtonAction\\n  @model={{@site}}\\n  @saveLabel={{if @saveIsRunning \\\"Saving…\\\" \\\"Save changes\\\"}}\\n  @isDisabled={{@saveIsRunning}}\\n  @saveButtonType=\\\"primary-live\\\"\\n  @context=\\\"Help Center settings\\\"\\n  @allowSaving={{@showSaveCancel}}\\n  @customSaveAction={{@save}}\\n  @customDiscardAction={{@cancel}}\\n  @body={{@body}}\\n/>\\n\", {\"contents\":\"<Common::AccordionComponent::BodyButtonAction\\n  @model={{@site}}\\n  @saveLabel={{if @saveIsRunning \\\"Saving…\\\" \\\"Save changes\\\"}}\\n  @isDisabled={{@saveIsRunning}}\\n  @saveButtonType=\\\"primary-live\\\"\\n  @context=\\\"Help Center settings\\\"\\n  @allowSaving={{@showSaveCancel}}\\n  @customSaveAction={{@save}}\\n  @customDiscardAction={{@cancel}}\\n  @body={{@body}}\\n/>\\n\",\"moduleName\":\"embercom/components/articles/site/settings/action-buttons-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/site/settings/action-buttons-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Paywall\\n  @featureKey=\\\"article_audience_targeting\\\"\\n  as |paywall|\\n>\\n  <paywall.Block>\\n    <div class=\\\"flex flex-col gap-6\\\">\\n      <Form as |form|>\\n        <form.SectionHeading>Enter a link to your login page</form.SectionHeading>\\n        <form.SectionDescription>\\n          If a lead or visitor tries to view an article that is targeted at users, they'll be encouraged to login via a link to this URL.\\n        </form.SectionDescription>\\n        <div class=\\\"flex flex-row justify-start flex-1 gap-3\\\">\\n          <div class=\\\"flex flex-col flex-1\\\">\\n            <form.Item\\n              @label=\\\"Title\\\"\\n              as |item|\\n            >\\n              <item.Input\\n                @disabled={{paywall.isActive}}\\n                @value={{@site.externalLoginName}}\\n                @placeholder=\\\"e.g. Your App\\\"\\n                data-test-login-page-title\\n              />\\n            </form.Item>\\n          </div>\\n          <div class=\\\"flex flex-col flex-2\\\">\\n            <form.Item @label=\\\"Link\\\" as |item|>\\n              <item.Input\\n                @disabled={{paywall.isActive}}\\n                @value={{@site.externalLoginUrl}}\\n                @placeholder=\\\"e.g. https://...\\\"\\n                data-test-login-page-url\\n              />\\n            </form.Item>\\n          </div>\\n        </div>\\n      </Form>\\n      {{#if (service 'identityVerificationRiskStateService.shouldShowLowNotification')}}\\n        <IcBanner\\n          @type=\\\"warning\\\"\\n          data-test-identity-verification-warning\\n        >\\n          <p class=\\\"layout__box o__flexes-to-1\\\">\\n            Enforce identity verification on all platforms to prevent third parties from impersonating logged-in users.\\n            <LinkTo @route=\\\"apps.app.settings.identity-verification\\\" >\\n              Set up identity verification\\n            </LinkTo>.\\n          </p>\\n        </IcBanner>\\n      {{/if}}\\n    </div>\\n  </paywall.Block>\\n</Paywall>\\n<div class=\\\"flex align-center mt-4\\\">\\n  <Articles::Site::Settings::ActionButtonsComponent\\n    @site={{@site}}\\n    @showSaveCancel={{@site.hasDirtyAttributes}}\\n    @save={{@save}}\\n    @saveIsRunning={{@saveIsRunning}}\\n    @cancel={{@cancel}}\\n    @body={{@body}}\\n  />\\n  <div class=\\\"flex items-center mt-5 pl-4\\\">\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://developers.intercom.com/installing-intercom/docs/set-up-your-custom-domain\\\"\\n      @title=\\\"How to set up your Help Center Custom Domain\\\"\\n      @type=\\\"developer\\\"\\n      data-test-custom-domain-instructions-link\\n      {{on \\\"click\\\" (track-event \\\"educate-event\\\" (hash 'visited_from_advanced_panel' object='custom_domain_setup_instructions' place='settings' owner='educate'))}}\\n    />\\n  </div>\\n</div>\\n\", {\"contents\":\"<Paywall\\n  @featureKey=\\\"article_audience_targeting\\\"\\n  as |paywall|\\n>\\n  <paywall.Block>\\n    <div class=\\\"flex flex-col gap-6\\\">\\n      <Form as |form|>\\n        <form.SectionHeading>Enter a link to your login page</form.SectionHeading>\\n        <form.SectionDescription>\\n          If a lead or visitor tries to view an article that is targeted at users, they'll be encouraged to login via a link to this URL.\\n        </form.SectionDescription>\\n        <div class=\\\"flex flex-row justify-start flex-1 gap-3\\\">\\n          <div class=\\\"flex flex-col flex-1\\\">\\n            <form.Item\\n              @label=\\\"Title\\\"\\n              as |item|\\n            >\\n              <item.Input\\n                @disabled={{paywall.isActive}}\\n                @value={{@site.externalLoginName}}\\n                @placeholder=\\\"e.g. Your App\\\"\\n                data-test-login-page-title\\n              />\\n            </form.Item>\\n          </div>\\n          <div class=\\\"flex flex-col flex-2\\\">\\n            <form.Item @label=\\\"Link\\\" as |item|>\\n              <item.Input\\n                @disabled={{paywall.isActive}}\\n                @value={{@site.externalLoginUrl}}\\n                @placeholder=\\\"e.g. https://...\\\"\\n                data-test-login-page-url\\n              />\\n            </form.Item>\\n          </div>\\n        </div>\\n      </Form>\\n      {{#if (service 'identityVerificationRiskStateService.shouldShowLowNotification')}}\\n        <IcBanner\\n          @type=\\\"warning\\\"\\n          data-test-identity-verification-warning\\n        >\\n          <p class=\\\"layout__box o__flexes-to-1\\\">\\n            Enforce identity verification on all platforms to prevent third parties from impersonating logged-in users.\\n            <LinkTo @route=\\\"apps.app.settings.identity-verification\\\" >\\n              Set up identity verification\\n            </LinkTo>.\\n          </p>\\n        </IcBanner>\\n      {{/if}}\\n    </div>\\n  </paywall.Block>\\n</Paywall>\\n<div class=\\\"flex align-center mt-4\\\">\\n  <Articles::Site::Settings::ActionButtonsComponent\\n    @site={{@site}}\\n    @showSaveCancel={{@site.hasDirtyAttributes}}\\n    @save={{@save}}\\n    @saveIsRunning={{@saveIsRunning}}\\n    @cancel={{@cancel}}\\n    @body={{@body}}\\n  />\\n  <div class=\\\"flex items-center mt-5 pl-4\\\">\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://developers.intercom.com/installing-intercom/docs/set-up-your-custom-domain\\\"\\n      @title=\\\"How to set up your Help Center Custom Domain\\\"\\n      @type=\\\"developer\\\"\\n      data-test-custom-domain-instructions-link\\n      {{on \\\"click\\\" (track-event \\\"educate-event\\\" (hash 'visited_from_advanced_panel' object='custom_domain_setup_instructions' place='settings' owner='educate'))}}\\n    />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/site/settings/advanced-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/site/settings/advanced-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"layout__box o__has-columns o__flexes-to-1-0\\\">\\n  <div class=\\\"educate__settings__control-pane\\\">\\n    <div class=\\\"educate__settings__card\\\">\\n      <div class=\\\"flex flex-col gap-8\\\">\\n        <div class=\\\"flex flex-col\\\">\\n          <div class=\\\"flex flex-row gap-1\\\">\\n            <span class=\\\"t__label o__explain\\\">\\n              Favicon\\n            </span>\\n            <IcTooltip @placement=\\\"right\\\" as |t|>\\n              <t.opener>\\n                {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\" solo=true}}\\n              </t.opener>\\n              <t.content>\\n                Recommended: 1:1 ratio, 150KB size.\\n              </t.content>\\n            </IcTooltip>\\n          </div>\\n          <Articles::Site::Settings::SiteAssetUploadComponent\\n            @type=\\\"favicon\\\"\\n            @formattedType=\\\"favicon\\\"\\n            @mediaHelper={{@uploadHelper.favicon}}\\n            @siteUrl={{@site.faviconUrl}}\\n            @model={{@site}}\\n            @app={{this.app}}\\n            @imageStyle=\\\"o__favicon\\\"\\n          />\\n        </div>\\n        <div class=\\\"flex flex-col\\\">\\n          <div class=\\\"flex flex-row gap-1\\\">\\n            <span class=\\\"t__label o__explain\\\">\\n              Logo\\n            </span>\\n            <IcTooltip @placement=\\\"right\\\" as |t|>\\n              <t.opener>\\n                {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\" solo=true}}\\n              </t.opener>\\n              <t.content>\\n                Recommended: 5:1 ratio, 1MB size.\\n              </t.content>\\n            </IcTooltip>\\n          </div>\\n          <Articles::Site::Settings::SiteAssetUploadComponent\\n            @type=\\\"logo\\\"\\n            @formattedType=\\\"logo\\\"\\n            @themeColor={{@site.themeColor}}\\n            @mediaHelper={{@uploadHelper.logo}}\\n            @siteUrl={{@site.logoUrl}}\\n            @model={{@site}}\\n            @app={{this.app}}\\n            @imageStyle=\\\"o__logo\\\"\\n          />\\n        </div>\\n        <div class=\\\"flex flex-col\\\">\\n          <div class=\\\"flex flex-row gap-1\\\">\\n            <span class=\\\"t__label o__explain\\\">\\n              Header image\\n            </span>\\n            <IcTooltip @placement=\\\"right\\\" as |t|>\\n              <t.opener>\\n                {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\" solo=true}}\\n              </t.opener>\\n              <t.content>\\n                Recommended: 5:2 ratio, 2MB size.\\n              </t.content>\\n            </IcTooltip>\\n          </div>\\n          <Articles::Site::Settings::SiteAssetUploadComponent\\n            @type=\\\"header\\\"\\n            @formattedType=\\\"header image\\\"\\n            @themeColor={{@site.themeColor}}\\n            @mediaHelper={{@uploadHelper.header}}\\n            @siteUrl={{@site.headerUrl}}\\n            @model={{@site}}\\n            @app={{this.app}}\\n          />\\n        </div>\\n        <div class=\\\"flex flex-col\\\">\\n          <div class=\\\"flex flex-row gap-1\\\">\\n            <span class=\\\"t__label o__explain\\\">\\n              Social media image\\n            </span>\\n            <IcTooltip @placement=\\\"right\\\" as |t|>\\n              <t.opener>\\n                {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\" solo=true}}\\n              </t.opener>\\n              <t.content>\\n                Recommended: 5:2 ratio, 2MB size.\\n                This is the image that appears when your Help Center is shared on Facebook, Twitter or any other social media. Recommended: 1.91:1 ratio, 2MB size, 1200 x 630 dimensions\\n              </t.content>\\n            </IcTooltip>\\n          </div>\\n          <Articles::Site::Settings::SiteAssetUploadComponent\\n            @type=\\\"social_image\\\"\\n            @formattedType=\\\"card for social media\\\"\\n            @themeColor={{@site.themeColor}}\\n            @mediaHelper={{@uploadHelper.social}}\\n            @siteUrl={{@site.socialUrl}}\\n            @model={{@site}}\\n            @app={{this.app}}\\n          />\\n        </div>\\n        <div class=\\\"flex flex-col\\\">\\n          <p class=\\\"t__label f__group-label o__explain\\\">\\n            Color\\n          </p>\\n          <div class=\\\"color-select__hex-container\\\">\\n            <Settings::Appearance::ColorEditComponent\\n              @value={{this.pickerColor}}\\n              @classNames=\\\"f__text color-select__hex-input\\\"\\n              @setColor=\\\"setColor\\\"\\n            />\\n            <span class=\\\"color-select__color-picker-opener-component-container\\\">\\n              <Settings::Appearance::ColorPicker\\n                @colpickLayout=\\\"custom\\\"\\n                @value={{@site.themeColor}}\\n                @baseColor={{@site.themeColor}}\\n                @setColor=\\\"setColor\\\"\\n              />\\n            </span>\\n          </div>\\n        </div>\\n        <Articles::Site::Settings::FooterLinks @site={{@site}} />\\n        <Form as |form|>\\n          <form.SectionHeading>Add social media buttons</form.SectionHeading>\\n          <form.Item @label=\\\"Facebook\\\" as |item|>\\n            <item.Input @prefix=\\\"facebook.com/\\\" @value={{@site.facebookHandle}} data-test-social-media-link=\\\"facebook\\\" />\\n          </form.Item>\\n          <form.Item @label=\\\"Twitter\\\" as |item|>\\n            <item.Input @prefix=\\\"twitter.com/\\\" @value={{@site.twitterHandle}} data-test-social-media-link=\\\"twitter\\\"/>\\n          </form.Item>\\n          <form.Item @label=\\\"LinkedIn\\\" as |item|>\\n            <item.Input @prefix=\\\"linkedin.com/\\\" @value={{@site.linkedinHandle}} data-test-social-media-link=\\\"linkedin\\\"/>\\n          </form.Item>\\n        </Form>\\n        <Paywall\\n          @featureKey=\\\"unbranded_help_center\\\"\\n          as |paywall|\\n        >\\n          <paywall.Block>\\n            <h3 class=\\\"t__h3 mb-2\\\">\\n              Intercom link\\n            </h3>\\n            <div class=\\\"layout__box o__centers-vertically\\\">\\n              {{ic-stamp (if @site.disableBranding \\\"Off\\\" \\\"On\\\")}}\\n              <span class=\\\"t__body u__ml__10\\\">\\n                Display a subtle link to the Intercom website\\n              </span>\\n            </div>\\n          </paywall.Block>\\n        </Paywall>\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"educate__settings__preview__preview-on-laft-nav-wrapper mb-4\\\">\\n    <Articles::Site::Settings::HelpCenterPreview\\n      @site={{@site}}\\n      @siteName={{@site.name}}\\n      @themeColor={{@site.themeColor}}\\n      @admin={{this.app.currentAdmin}}\\n      @appName={{this.app.name}}\\n      @notEnglishLocale={{not-eq @site.locale \\\"en\\\"}}\\n      @media={{@uploadHelper}}\\n      @homeUrl={{@site.homeUrl}}\\n    />\\n  </div>\\n</div>\\n<Articles::Site::Settings::ActionButtonsComponent\\n  @site={{@site}}\\n  @showSaveCancel={{this.hasUnsavedChanges}}\\n  @saveIsRunning={{@saveIsRunning}}\\n  @save={{@save}}\\n  @cancel={{@cancel}}\\n  @body={{@body}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"layout__box o__has-columns o__flexes-to-1-0\\\">\\n  <div class=\\\"educate__settings__control-pane\\\">\\n    <div class=\\\"educate__settings__card\\\">\\n      <div class=\\\"flex flex-col gap-8\\\">\\n        <div class=\\\"flex flex-col\\\">\\n          <div class=\\\"flex flex-row gap-1\\\">\\n            <span class=\\\"t__label o__explain\\\">\\n              Favicon\\n            </span>\\n            <IcTooltip @placement=\\\"right\\\" as |t|>\\n              <t.opener>\\n                {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\" solo=true}}\\n              </t.opener>\\n              <t.content>\\n                Recommended: 1:1 ratio, 150KB size.\\n              </t.content>\\n            </IcTooltip>\\n          </div>\\n          <Articles::Site::Settings::SiteAssetUploadComponent\\n            @type=\\\"favicon\\\"\\n            @formattedType=\\\"favicon\\\"\\n            @mediaHelper={{@uploadHelper.favicon}}\\n            @siteUrl={{@site.faviconUrl}}\\n            @model={{@site}}\\n            @app={{this.app}}\\n            @imageStyle=\\\"o__favicon\\\"\\n          />\\n        </div>\\n        <div class=\\\"flex flex-col\\\">\\n          <div class=\\\"flex flex-row gap-1\\\">\\n            <span class=\\\"t__label o__explain\\\">\\n              Logo\\n            </span>\\n            <IcTooltip @placement=\\\"right\\\" as |t|>\\n              <t.opener>\\n                {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\" solo=true}}\\n              </t.opener>\\n              <t.content>\\n                Recommended: 5:1 ratio, 1MB size.\\n              </t.content>\\n            </IcTooltip>\\n          </div>\\n          <Articles::Site::Settings::SiteAssetUploadComponent\\n            @type=\\\"logo\\\"\\n            @formattedType=\\\"logo\\\"\\n            @themeColor={{@site.themeColor}}\\n            @mediaHelper={{@uploadHelper.logo}}\\n            @siteUrl={{@site.logoUrl}}\\n            @model={{@site}}\\n            @app={{this.app}}\\n            @imageStyle=\\\"o__logo\\\"\\n          />\\n        </div>\\n        <div class=\\\"flex flex-col\\\">\\n          <div class=\\\"flex flex-row gap-1\\\">\\n            <span class=\\\"t__label o__explain\\\">\\n              Header image\\n            </span>\\n            <IcTooltip @placement=\\\"right\\\" as |t|>\\n              <t.opener>\\n                {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\" solo=true}}\\n              </t.opener>\\n              <t.content>\\n                Recommended: 5:2 ratio, 2MB size.\\n              </t.content>\\n            </IcTooltip>\\n          </div>\\n          <Articles::Site::Settings::SiteAssetUploadComponent\\n            @type=\\\"header\\\"\\n            @formattedType=\\\"header image\\\"\\n            @themeColor={{@site.themeColor}}\\n            @mediaHelper={{@uploadHelper.header}}\\n            @siteUrl={{@site.headerUrl}}\\n            @model={{@site}}\\n            @app={{this.app}}\\n          />\\n        </div>\\n        <div class=\\\"flex flex-col\\\">\\n          <div class=\\\"flex flex-row gap-1\\\">\\n            <span class=\\\"t__label o__explain\\\">\\n              Social media image\\n            </span>\\n            <IcTooltip @placement=\\\"right\\\" as |t|>\\n              <t.opener>\\n                {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\" solo=true}}\\n              </t.opener>\\n              <t.content>\\n                Recommended: 5:2 ratio, 2MB size.\\n                This is the image that appears when your Help Center is shared on Facebook, Twitter or any other social media. Recommended: 1.91:1 ratio, 2MB size, 1200 x 630 dimensions\\n              </t.content>\\n            </IcTooltip>\\n          </div>\\n          <Articles::Site::Settings::SiteAssetUploadComponent\\n            @type=\\\"social_image\\\"\\n            @formattedType=\\\"card for social media\\\"\\n            @themeColor={{@site.themeColor}}\\n            @mediaHelper={{@uploadHelper.social}}\\n            @siteUrl={{@site.socialUrl}}\\n            @model={{@site}}\\n            @app={{this.app}}\\n          />\\n        </div>\\n        <div class=\\\"flex flex-col\\\">\\n          <p class=\\\"t__label f__group-label o__explain\\\">\\n            Color\\n          </p>\\n          <div class=\\\"color-select__hex-container\\\">\\n            <Settings::Appearance::ColorEditComponent\\n              @value={{this.pickerColor}}\\n              @classNames=\\\"f__text color-select__hex-input\\\"\\n              @setColor=\\\"setColor\\\"\\n            />\\n            <span class=\\\"color-select__color-picker-opener-component-container\\\">\\n              <Settings::Appearance::ColorPicker\\n                @colpickLayout=\\\"custom\\\"\\n                @value={{@site.themeColor}}\\n                @baseColor={{@site.themeColor}}\\n                @setColor=\\\"setColor\\\"\\n              />\\n            </span>\\n          </div>\\n        </div>\\n        <Articles::Site::Settings::FooterLinks @site={{@site}} />\\n        <Form as |form|>\\n          <form.SectionHeading>Add social media buttons</form.SectionHeading>\\n          <form.Item @label=\\\"Facebook\\\" as |item|>\\n            <item.Input @prefix=\\\"facebook.com/\\\" @value={{@site.facebookHandle}} data-test-social-media-link=\\\"facebook\\\" />\\n          </form.Item>\\n          <form.Item @label=\\\"Twitter\\\" as |item|>\\n            <item.Input @prefix=\\\"twitter.com/\\\" @value={{@site.twitterHandle}} data-test-social-media-link=\\\"twitter\\\"/>\\n          </form.Item>\\n          <form.Item @label=\\\"LinkedIn\\\" as |item|>\\n            <item.Input @prefix=\\\"linkedin.com/\\\" @value={{@site.linkedinHandle}} data-test-social-media-link=\\\"linkedin\\\"/>\\n          </form.Item>\\n        </Form>\\n        <Paywall\\n          @featureKey=\\\"unbranded_help_center\\\"\\n          as |paywall|\\n        >\\n          <paywall.Block>\\n            <h3 class=\\\"t__h3 mb-2\\\">\\n              Intercom link\\n            </h3>\\n            <div class=\\\"layout__box o__centers-vertically\\\">\\n              {{ic-stamp (if @site.disableBranding \\\"Off\\\" \\\"On\\\")}}\\n              <span class=\\\"t__body u__ml__10\\\">\\n                Display a subtle link to the Intercom website\\n              </span>\\n            </div>\\n          </paywall.Block>\\n        </Paywall>\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"educate__settings__preview__preview-on-laft-nav-wrapper mb-4\\\">\\n    <Articles::Site::Settings::HelpCenterPreview\\n      @site={{@site}}\\n      @siteName={{@site.name}}\\n      @themeColor={{@site.themeColor}}\\n      @admin={{this.app.currentAdmin}}\\n      @appName={{this.app.name}}\\n      @notEnglishLocale={{not-eq @site.locale \\\"en\\\"}}\\n      @media={{@uploadHelper}}\\n      @homeUrl={{@site.homeUrl}}\\n    />\\n  </div>\\n</div>\\n<Articles::Site::Settings::ActionButtonsComponent\\n  @site={{@site}}\\n  @showSaveCancel={{this.hasUnsavedChanges}}\\n  @saveIsRunning={{@saveIsRunning}}\\n  @save={{@save}}\\n  @cancel={{@cancel}}\\n  @body={{@body}}\\n/>\\n\",\"moduleName\":\"embercom/components/articles/site/settings/appearance-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/site/settings/appearance-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  pickerColor: templateString('#${site.themeColor}'),\n\n  hasUnsavedChanges: or('site.hasDirtyAttributes', 'uploadHelper.hasUpdates'),\n\n  actions: {\n    setColor(color) {\n      color = color.substring(1);\n      this.set('site.themeColor', color);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Articles::Shared::ThemedStyles @themeColor={{@themeColor}} />\\n<div class=\\\"u__mb__15 educate__settings__preview__paper__stack\\\">\\n  <a class=\\\"educate__settings__preview__paper\\\">\\n    <div class=\\\"educate__settings__preview__collection\\\">\\n      <div class=\\\"educate__settings__preview__collection__photo\\\">\\n        {{inline-svg (concat \\\"educate/collection-icons/\\\" @iconName)}}\\n      </div>\\n      <div class=\\\"educate__settings__preview__collection__meta\\\">\\n        <h2 class=\\\"educate__settings__preview__article__title\\\">\\n          {{@title}}\\n        </h2>\\n        <p class=\\\"educate__settings__preview__paper__preview text-gray\\\">\\n          {{@description}}\\n        </p>\\n        <div class=\\\"educate__settings__preview__avatar__preview\\\">\\n          <div class=\\\"educate__settings__preview__avatar__preview__photo educate__settings__preview__avatars__images\\\">\\n            <IcAvatarComponent @model={{@admin}} @size=\\\"s\\\" />\\n          </div>\\n          <div class=\\\"educate__settings__preview__avatar__preview__info\\\">\\n            <div>\\n              <span class=\\\"educate__settings__preview__c__darker\\\">\\n                1 article in this collection\\n              </span>\\n              <br />\\n              Written by\\n              <span class=\\\"educate__settings__preview__c__darker\\\">\\n                {{@admin.name}}\\n              </span>\\n            </div>\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  </a>\\n</div>\\n\", {\"contents\":\"<Articles::Shared::ThemedStyles @themeColor={{@themeColor}} />\\n<div class=\\\"u__mb__15 educate__settings__preview__paper__stack\\\">\\n  <a class=\\\"educate__settings__preview__paper\\\">\\n    <div class=\\\"educate__settings__preview__collection\\\">\\n      <div class=\\\"educate__settings__preview__collection__photo\\\">\\n        {{inline-svg (concat \\\"educate/collection-icons/\\\" @iconName)}}\\n      </div>\\n      <div class=\\\"educate__settings__preview__collection__meta\\\">\\n        <h2 class=\\\"educate__settings__preview__article__title\\\">\\n          {{@title}}\\n        </h2>\\n        <p class=\\\"educate__settings__preview__paper__preview text-gray\\\">\\n          {{@description}}\\n        </p>\\n        <div class=\\\"educate__settings__preview__avatar__preview\\\">\\n          <div class=\\\"educate__settings__preview__avatar__preview__photo educate__settings__preview__avatars__images\\\">\\n            <IcAvatarComponent @model={{@admin}} @size=\\\"s\\\" />\\n          </div>\\n          <div class=\\\"educate__settings__preview__avatar__preview__info\\\">\\n            <div>\\n              <span class=\\\"educate__settings__preview__c__darker\\\">\\n                1 article in this collection\\n              </span>\\n              <br />\\n              Written by\\n              <span class=\\\"educate__settings__preview__c__darker\\\">\\n                {{@admin.name}}\\n              </span>\\n            </div>\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  </a>\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/site/settings/article-preview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/site/settings/article-preview.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Form as |form|>\\n  <form.Item\\n    @label=\\\"Default Help Center URL\\\"\\n    as |item|\\n  >\\n    <item.Input\\n      @prefix=\\\"intercom.help/\\\"\\n      @value={{@site.identifier}}\\n      data-test-help-center-identifier\\n    />\\n  </form.Item>\\n  <form.Item\\n    @label=\\\"Custom Help Center domain\\\"\\n    as |item|\\n  >\\n    {{#if (has-feature \\\"canUsePathPrefixForCustomDomain\\\")}}\\n      <item.Input\\n        @value={{@site.customDomainAndPathPrefix}}\\n        data-test-custom-domain=\\\"with-path-prefix\\\"\\n      />\\n    {{else}}\\n      <item.Input\\n        @value={{@site.customDomain}}\\n        data-test-custom-domain=\\\"no-path-prefix\\\"\\n      />\\n    {{/if}}\\n    <item.Hint>\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/docs/set-up-your-custom-domain\\\"\\n        @title=\\\"How to set this up\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        {{on \\\"click\\\" this.clickCustomDomainInstructionsLink}}\\n      />\\n    </item.Hint>\\n  </form.Item>\\n  <form.Item\\n    @label=\\\"Link to your homepage\\\"\\n    as |item|\\n  >\\n    <item.Input\\n      @value={{@site.homeUrl}}\\n      data-test-help-center-home-url\\n    />\\n  </form.Item>\\n  <form.Item\\n    @label=\\\"Google Analytics Tracking ID\\\"\\n    as |item|\\n  >\\n    <item.Input\\n      @value={{@site.googleAnalyticsTrackingId}}\\n      data-test-google-analytics-id\\n    />\\n  </form.Item>\\n</Form>\\n<Articles::Site::Settings::ActionButtonsComponent\\n  @site={{@site}}\\n  @showSaveCancel={{@site.hasDirtyAttributes}}\\n  @save={{@save}}\\n  @saveIsRunning={{@saveIsRunning}}\\n  @cancel={{@cancel}}\\n  @body={{@body}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Form as |form|>\\n  <form.Item\\n    @label=\\\"Default Help Center URL\\\"\\n    as |item|\\n  >\\n    <item.Input\\n      @prefix=\\\"intercom.help/\\\"\\n      @value={{@site.identifier}}\\n      data-test-help-center-identifier\\n    />\\n  </form.Item>\\n  <form.Item\\n    @label=\\\"Custom Help Center domain\\\"\\n    as |item|\\n  >\\n    {{#if (has-feature \\\"canUsePathPrefixForCustomDomain\\\")}}\\n      <item.Input\\n        @value={{@site.customDomainAndPathPrefix}}\\n        data-test-custom-domain=\\\"with-path-prefix\\\"\\n      />\\n    {{else}}\\n      <item.Input\\n        @value={{@site.customDomain}}\\n        data-test-custom-domain=\\\"no-path-prefix\\\"\\n      />\\n    {{/if}}\\n    <item.Hint>\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/docs/set-up-your-custom-domain\\\"\\n        @title=\\\"How to set this up\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        {{on \\\"click\\\" this.clickCustomDomainInstructionsLink}}\\n      />\\n    </item.Hint>\\n  </form.Item>\\n  <form.Item\\n    @label=\\\"Link to your homepage\\\"\\n    as |item|\\n  >\\n    <item.Input\\n      @value={{@site.homeUrl}}\\n      data-test-help-center-home-url\\n    />\\n  </form.Item>\\n  <form.Item\\n    @label=\\\"Google Analytics Tracking ID\\\"\\n    as |item|\\n  >\\n    <item.Input\\n      @value={{@site.googleAnalyticsTrackingId}}\\n      data-test-google-analytics-id\\n    />\\n  </form.Item>\\n</Form>\\n<Articles::Site::Settings::ActionButtonsComponent\\n  @site={{@site}}\\n  @showSaveCancel={{@site.hasDirtyAttributes}}\\n  @save={{@save}}\\n  @saveIsRunning={{@saveIsRunning}}\\n  @cancel={{@cancel}}\\n  @body={{@body}}\\n/>\\n\",\"moduleName\":\"embercom/components/articles/site/settings/basic-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/site/settings/basic-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\n\nexport default Component.extend(EventTracking, {\n  clickCustomDomainInstructionsLink: action(function() {\n    this.trackEducateEvent({\n      action: 'visited_from_basic_panel',\n      object: 'custom_domain_setup_instructions',\n      place: 'settings',\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__mb__10\\\">\\n  <h3 class=\\\"t__h3 u__mb__10\\\">\\n    Add links to your footer\\n  </h3>\\n  <div class=\\\"u__cf u__mb__5 t__label\\\">\\n    <div class=\\\"u__left u__mr__10 educate__settings__footerlink__title\\\">\\n      Title\\n    </div>\\n    <div class=\\\"u__left u__mr__10 educate__settings__footerlink__url\\\">\\n      URL\\n    </div>\\n  </div>\\n  {{#each site.footerLinks as |link index|}}\\n    <div data-test-footerlink-row class=\\\"link u__cf u__mb__10\\\">\\n      <OneWayInput\\n        @value={{link.title}}\\n        @type=\\\"text\\\"\\n        class=\\\"f__text u__left u__mr__10 educate__settings__footerlink__title\\\"\\n        @update={{set link.title}}\\n        data-test-footerlink-titleinput=\\\"true\\\"\\n        @focusOut={{fn this.removeFooterLinkIfInitial link}}\\n      />\\n      <OneWayInput\\n        @value={{link.url}}\\n        @type=\\\"text\\\"\\n        class=\\\"f__text u__left u__mr__10 educate__settings__footerlink__url\\\"\\n        @update={{set link.url}}\\n        data-test-footerlink-urlinput=\\\"true\\\"\\n        @focusOut={{fn this.removeFooterLinkIfInitial link}}\\n      />\\n      <a\\n        data-test-footerlink-remove\\n        class=\\\"u__left u__mt__5 text-gray\\\"\\n        {{on \\\"click\\\" (fn this.removeFooterLink link)}}\\n      >\\n        {{ic-interface-icon \\\"trash\\\"}}\\n      </a>\\n    </div>\\n  {{else}}\\n    <div data-test-footerlink-empty-row class=\\\"link u__cf u__mb__10\\\">\\n      <OneWayInput\\n        @type=\\\"text\\\"\\n        class=\\\"f__text u__left u__mr__10 educate__settings__footerlink__title\\\"\\n        @onfocus={{fn this.addFooterLink \\\"title\\\" true}}\\n        data-test-footerlink-titleinput=\\\"true\\\"\\n      />\\n      <OneWayInput\\n        @value={{link.url}}\\n        @type=\\\"text\\\"\\n        class=\\\"f__text u__left u__mr__10 educate__settings__footerlink__url\\\"\\n        @onfocus={{fn this.addFooterLink \\\"url\\\" true}}\\n        data-test-footerlink-urlinput=\\\"true\\\"\\n      />\\n    </div>\\n  {{/each}}\\n  {{#if site.canAddFooterLinks}}\\n    <a\\n      data-test-footerlink-add\\n      class=\\\"btn__tertiary\\\"\\n      {{on \\\"click\\\" (fn this.addFooterLink \\\"title\\\")}}\\n    >\\n      {{ic-interface-icon \\\"new\\\"}} Add a footer link\\n    </a>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__mb__10\\\">\\n  <h3 class=\\\"t__h3 u__mb__10\\\">\\n    Add links to your footer\\n  </h3>\\n  <div class=\\\"u__cf u__mb__5 t__label\\\">\\n    <div class=\\\"u__left u__mr__10 educate__settings__footerlink__title\\\">\\n      Title\\n    </div>\\n    <div class=\\\"u__left u__mr__10 educate__settings__footerlink__url\\\">\\n      URL\\n    </div>\\n  </div>\\n  {{#each site.footerLinks as |link index|}}\\n    <div data-test-footerlink-row class=\\\"link u__cf u__mb__10\\\">\\n      <OneWayInput\\n        @value={{link.title}}\\n        @type=\\\"text\\\"\\n        class=\\\"f__text u__left u__mr__10 educate__settings__footerlink__title\\\"\\n        @update={{set link.title}}\\n        data-test-footerlink-titleinput=\\\"true\\\"\\n        @focusOut={{fn this.removeFooterLinkIfInitial link}}\\n      />\\n      <OneWayInput\\n        @value={{link.url}}\\n        @type=\\\"text\\\"\\n        class=\\\"f__text u__left u__mr__10 educate__settings__footerlink__url\\\"\\n        @update={{set link.url}}\\n        data-test-footerlink-urlinput=\\\"true\\\"\\n        @focusOut={{fn this.removeFooterLinkIfInitial link}}\\n      />\\n      <a\\n        data-test-footerlink-remove\\n        class=\\\"u__left u__mt__5 text-gray\\\"\\n        {{on \\\"click\\\" (fn this.removeFooterLink link)}}\\n      >\\n        {{ic-interface-icon \\\"trash\\\"}}\\n      </a>\\n    </div>\\n  {{else}}\\n    <div data-test-footerlink-empty-row class=\\\"link u__cf u__mb__10\\\">\\n      <OneWayInput\\n        @type=\\\"text\\\"\\n        class=\\\"f__text u__left u__mr__10 educate__settings__footerlink__title\\\"\\n        @onfocus={{fn this.addFooterLink \\\"title\\\" true}}\\n        data-test-footerlink-titleinput=\\\"true\\\"\\n      />\\n      <OneWayInput\\n        @value={{link.url}}\\n        @type=\\\"text\\\"\\n        class=\\\"f__text u__left u__mr__10 educate__settings__footerlink__url\\\"\\n        @onfocus={{fn this.addFooterLink \\\"url\\\" true}}\\n        data-test-footerlink-urlinput=\\\"true\\\"\\n      />\\n    </div>\\n  {{/each}}\\n  {{#if site.canAddFooterLinks}}\\n    <a\\n      data-test-footerlink-add\\n      class=\\\"btn__tertiary\\\"\\n      {{on \\\"click\\\" (fn this.addFooterLink \\\"title\\\")}}\\n    >\\n      {{ic-interface-icon \\\"new\\\"}} Add a footer link\\n    </a>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/site/settings/footer-links.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/site/settings/footer-links.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { schedule } from '@ember/runloop';\nimport { action } from '@ember/object';\nimport $ from 'jquery';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  store: service(),\n\n  addFooterLink: action(function(autofocusElement, isInitialLink) {\n    let link = this.site.addFooterLink();\n    if (isInitialLink) {\n      link.set('_isInitialLink', true);\n    }\n    schedule('afterRender', this, function() {\n      $(`.link .educate__settings__footerlink__${autofocusElement}`, this.element)\n        .last()\n        .focus();\n    });\n  }),\n\n  removeFooterLinkIfInitial: action(function(link) {\n    if (link.get('_isInitialLink') && link.get('hasNoContent')) {\n      this.removeFooterLink(link);\n    }\n  }),\n  removeFooterLink: action(function(link) {\n    this.site.removeFooterLink(link);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"educate__settings__preview__footer\\\">\\n  <div class=\\\"educate__settings__preview__container educate__settings__preview__footer__container\\\">\\n    <div class=\\\"educate__settings__preview__content\\\">\\n      <div class=\\\"flex items-center educate__settings__preview__footer__wrapper\\\">\\n        <div class=\\\"flex-auto min-w-0\\\">\\n          <div class=\\\"educate__settings__preview__footer__logo\\\">\\n            {{#if @logoUrl}}\\n              <img alt=\\\"{{@appName}} Team Docs\\\" class=\\\"educate__settings__preview__footer__img\\\" src=\\\"{{@logoUrl}}\\\">\\n            {{else}}\\n              <div class=\\\"educate__settings__preview__footer__img\\\"> {{@site.name}} </div>\\n            {{/if}}\\n          </div>\\n          <div class=\\\"educate__settings__preview__footer__links\\\">\\n            {{#if @site.footerLinks.length }}\\n            <ul class=\\\"educate__settings__preview__footer__link-list\\\">\\n                {{#each @site.footerLinks as |link|}}\\n                  {{#if link.title}}\\n                    <li class=\\\"educate__settings__preview__footer__link__custom__item\\\">\\n                      <p class=\\\"educate__settings__preview__footer__link\\\">{{link.title}}</p>\\n                    </li>\\n                  {{/if}}\\n                {{/each}}\\n            </ul>\\n            {{/if}}\\n          </div>\\n          <div class=\\\"educate__settings__preview__footer__links\\\">\\n            <ul class=\\\"educate__settings__preview__footer__link-list\\\">\\n              {{#if @site.facebookHandle}}\\n                <li class=\\\"educate__settings__preview__footer__link__custom__item\\\">\\n                  {{ic-interface-icon 'facebook' color='gray' solo=true}}\\n                </li>\\n              {{/if}}\\n              {{#if @site.twitterHandle}}\\n                <li class=\\\"educate__settings__preview__footer__link__custom__item\\\">\\n                  {{ic-interface-icon 'twitter' color='gray' solo=true}}\\n                </li>\\n              {{/if}}\\n              {{#if @site.linkedinHandle}}\\n                <li class=\\\"educate__settings__preview__footer__link__custom__item\\\">\\n                  {{ic-interface-icon 'linkedin' color='gray' solo=true}}\\n                </li>\\n              {{/if}}\\n            </ul>\\n          </div>\\n          {{#unless @site.disableBranding}}\\n            <div class=\\\"layout__box o__centers-all mt-6\\\">\\n              {{inline-svg \\\"logo\\\" class=\\\"articles__site-settings__preview-branding-logo\\\"}}\\n              <span class=\\\"ml-2 t__light-text\\\">We run on Intercom</span>\\n            </div>\\n          {{/unless}}\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"educate__settings__preview__footer\\\">\\n  <div class=\\\"educate__settings__preview__container educate__settings__preview__footer__container\\\">\\n    <div class=\\\"educate__settings__preview__content\\\">\\n      <div class=\\\"flex items-center educate__settings__preview__footer__wrapper\\\">\\n        <div class=\\\"flex-auto min-w-0\\\">\\n          <div class=\\\"educate__settings__preview__footer__logo\\\">\\n            {{#if @logoUrl}}\\n              <img alt=\\\"{{@appName}} Team Docs\\\" class=\\\"educate__settings__preview__footer__img\\\" src=\\\"{{@logoUrl}}\\\">\\n            {{else}}\\n              <div class=\\\"educate__settings__preview__footer__img\\\"> {{@site.name}} </div>\\n            {{/if}}\\n          </div>\\n          <div class=\\\"educate__settings__preview__footer__links\\\">\\n            {{#if @site.footerLinks.length }}\\n            <ul class=\\\"educate__settings__preview__footer__link-list\\\">\\n                {{#each @site.footerLinks as |link|}}\\n                  {{#if link.title}}\\n                    <li class=\\\"educate__settings__preview__footer__link__custom__item\\\">\\n                      <p class=\\\"educate__settings__preview__footer__link\\\">{{link.title}}</p>\\n                    </li>\\n                  {{/if}}\\n                {{/each}}\\n            </ul>\\n            {{/if}}\\n          </div>\\n          <div class=\\\"educate__settings__preview__footer__links\\\">\\n            <ul class=\\\"educate__settings__preview__footer__link-list\\\">\\n              {{#if @site.facebookHandle}}\\n                <li class=\\\"educate__settings__preview__footer__link__custom__item\\\">\\n                  {{ic-interface-icon 'facebook' color='gray' solo=true}}\\n                </li>\\n              {{/if}}\\n              {{#if @site.twitterHandle}}\\n                <li class=\\\"educate__settings__preview__footer__link__custom__item\\\">\\n                  {{ic-interface-icon 'twitter' color='gray' solo=true}}\\n                </li>\\n              {{/if}}\\n              {{#if @site.linkedinHandle}}\\n                <li class=\\\"educate__settings__preview__footer__link__custom__item\\\">\\n                  {{ic-interface-icon 'linkedin' color='gray' solo=true}}\\n                </li>\\n              {{/if}}\\n            </ul>\\n          </div>\\n          {{#unless @site.disableBranding}}\\n            <div class=\\\"layout__box o__centers-all mt-6\\\">\\n              {{inline-svg \\\"logo\\\" class=\\\"articles__site-settings__preview-branding-logo\\\"}}\\n              <span class=\\\"ml-2 t__light-text\\\">We run on Intercom</span>\\n            </div>\\n          {{/unless}}\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/site/settings/footer-preview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/site/settings/footer-preview.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (not-eq site.locale \\\"en\\\")}}\\n  <IcBanner\\n    @type=\\\"help\\\"\\n    @text=\\\"Language changes won’t show in this preview.\\\"\\n    @testBindingClass=\\\"test__educate__settings__language-warning\\\"\\n  />\\n  <div class=\\\"h-5\\\"></div>\\n{{/if}}\\n<div class=\\\"educate__settings__preview__chrome__browser\\\">\\n  <div class=\\\"educate__settings__preview__chrome__header\\\">\\n    <img\\n      src=\\\"/assets/images/settings/web-chrome-header@2x.png\\\"\\n      class=\\\"educate__settings__preview__chrome__header__img\\\"\\n    />\\n  </div>\\n  <div class=\\\"educate__settings__preview__header\\\" style={{headerSafeStyle}}>\\n    <div class=\\\"educate__settings__preview__container educate__settings__preview__header__container\\\">\\n      <div class=\\\"educate__settings__preview__content\\\">\\n        <div class=\\\"flex items-center educate__settings__preview__header__wrapper\\\">\\n          <div class=\\\"flex-auto min-w-0\\\">\\n            <div class=\\\"educate__settings__preview__header__logo\\\">\\n              {{#if logoUrl}}\\n                <img\\n                  alt=\\\"{{appName}} Team Docs\\\"\\n                  class=\\\"educate__settings__preview__header__img\\\"\\n                  src=\\\"{{logoUrl}}\\\"\\n                />\\n              {{else}}\\n                <div class=\\\"educate__settings__preview__header__title t__h3 text-white\\\">\\n                  {{site.name}}\\n                </div>\\n              {{/if}}\\n            </div>\\n          </div>\\n          <div>\\n            {{#if site.homeUrl}}\\n              <span class=\\\"educate__settings__preview__header__go-to-site test__educate__settings__preview__header__go-to-site\\\">\\n                {{ic-interface-icon \\\"new-window\\\"}} Go to {{appName}}\\n              </span>\\n            {{/if}}\\n          </div>\\n        </div>\\n        <h1\\n          data-test-educate-settings-preview-header-headline\\n          class=\\\"educate__settings__preview__header__headline\\\"\\n        >\\n          {{#if site.headline}}\\n            {{site.headline}}\\n          {{else}}\\n            Advice and answers from the {{appName}} Team\\n          {{/if}}\\n        </h1>\\n        <div class=\\\"educate__settings__preview__search__input layout__box o__centers-vertically\\\">\\n          {{ic-interface-icon \\\"search\\\" solo=true}} Search for answers...\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n  {{yield}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (not-eq site.locale \\\"en\\\")}}\\n  <IcBanner\\n    @type=\\\"help\\\"\\n    @text=\\\"Language changes won’t show in this preview.\\\"\\n    @testBindingClass=\\\"test__educate__settings__language-warning\\\"\\n  />\\n  <div class=\\\"h-5\\\"></div>\\n{{/if}}\\n<div class=\\\"educate__settings__preview__chrome__browser\\\">\\n  <div class=\\\"educate__settings__preview__chrome__header\\\">\\n    <img\\n      src=\\\"/assets/images/settings/web-chrome-header@2x.png\\\"\\n      class=\\\"educate__settings__preview__chrome__header__img\\\"\\n    />\\n  </div>\\n  <div class=\\\"educate__settings__preview__header\\\" style={{headerSafeStyle}}>\\n    <div class=\\\"educate__settings__preview__container educate__settings__preview__header__container\\\">\\n      <div class=\\\"educate__settings__preview__content\\\">\\n        <div class=\\\"flex items-center educate__settings__preview__header__wrapper\\\">\\n          <div class=\\\"flex-auto min-w-0\\\">\\n            <div class=\\\"educate__settings__preview__header__logo\\\">\\n              {{#if logoUrl}}\\n                <img\\n                  alt=\\\"{{appName}} Team Docs\\\"\\n                  class=\\\"educate__settings__preview__header__img\\\"\\n                  src=\\\"{{logoUrl}}\\\"\\n                />\\n              {{else}}\\n                <div class=\\\"educate__settings__preview__header__title t__h3 text-white\\\">\\n                  {{site.name}}\\n                </div>\\n              {{/if}}\\n            </div>\\n          </div>\\n          <div>\\n            {{#if site.homeUrl}}\\n              <span class=\\\"educate__settings__preview__header__go-to-site test__educate__settings__preview__header__go-to-site\\\">\\n                {{ic-interface-icon \\\"new-window\\\"}} Go to {{appName}}\\n              </span>\\n            {{/if}}\\n          </div>\\n        </div>\\n        <h1\\n          data-test-educate-settings-preview-header-headline\\n          class=\\\"educate__settings__preview__header__headline\\\"\\n        >\\n          {{#if site.headline}}\\n            {{site.headline}}\\n          {{else}}\\n            Advice and answers from the {{appName}} Team\\n          {{/if}}\\n        </h1>\\n        <div class=\\\"educate__settings__preview__search__input layout__box o__centers-vertically\\\">\\n          {{ic-interface-icon \\\"search\\\" solo=true}} Search for answers...\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n  {{yield}}\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/site/settings/header-preview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/site/settings/header-preview.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { htmlSafe } from '@ember/string';\nimport Component from '@ember/component';\nimport Em from 'ember';\nimport {\n  applyFunction,\n  fmtStyle,\n  templateString,\n} from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  headerBackgroundImageStyle: templateString('background-image: url(${headerBackgroundUrl})'),\n  safeMediaStyle: applyFunction(Em.Handlebars.Utils.escapeExpression, 'headerBackgroundImageStyle'),\n  headerColorStyle: fmtStyle('background-color: #%@', 'site.themeColor'),\n  headerStyle: templateString('background-image: url(${headerBackgroundUrl}); ${headerColorStyle}'),\n  headerSafeStyle: applyFunction(htmlSafe, 'headerStyle'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__ml__25\\\">\\n  <Articles::Site::Settings::HeaderPreview\\n    @site={{@site}}\\n    @appName={{@appName}}\\n    @logoUrl={{or @media.logo.url @site.logoUrl}}\\n    @headerBackgroundUrl={{or @media.header.url @site.headerUrl}}\\n  >\\n    <div class=\\\"educate__settings__preview__container educate__settings__preview__search__page-content u__mt__5\\\">\\n      <div class=\\\"educate__settings__preview__content\\\">\\n        <section class=\\\"u__padt__25 u__padb__25\\\">\\n          <Articles::Site::Settings::ArticlePreview\\n            @title={{concat \\\"Quick Guide to \\\" @appName}}\\n            @description={{concat \\\"Easy steps to getting to know \\\" @appName}}\\n            @admin={{@admin}}\\n            @iconName=\\\"devices-window-check\\\"\\n            @themeColor={{@site.themeColor}}\\n          />\\n          <Articles::Site::Settings::ArticlePreview\\n            @title={{concat \\\"The \\\" @appName \\\" Platform\\\"}}\\n            @description={{concat \\\"Learn more about the \\\" @appName \\\" Platform\\\"}}\\n            @admin={{@admin}}\\n            @iconName=\\\"user-check\\\"\\n            @themeColor={{@site.themeColor}}\\n          />\\n        </section>\\n      </div>\\n    </div>\\n    <Articles::Site::Settings::FooterPreview\\n      @site={{@site}}\\n      @logoUrl={{or @media.logo.url @site.logoUrl}}\\n    />\\n  </Articles::Site::Settings::HeaderPreview>\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__ml__25\\\">\\n  <Articles::Site::Settings::HeaderPreview\\n    @site={{@site}}\\n    @appName={{@appName}}\\n    @logoUrl={{or @media.logo.url @site.logoUrl}}\\n    @headerBackgroundUrl={{or @media.header.url @site.headerUrl}}\\n  >\\n    <div class=\\\"educate__settings__preview__container educate__settings__preview__search__page-content u__mt__5\\\">\\n      <div class=\\\"educate__settings__preview__content\\\">\\n        <section class=\\\"u__padt__25 u__padb__25\\\">\\n          <Articles::Site::Settings::ArticlePreview\\n            @title={{concat \\\"Quick Guide to \\\" @appName}}\\n            @description={{concat \\\"Easy steps to getting to know \\\" @appName}}\\n            @admin={{@admin}}\\n            @iconName=\\\"devices-window-check\\\"\\n            @themeColor={{@site.themeColor}}\\n          />\\n          <Articles::Site::Settings::ArticlePreview\\n            @title={{concat \\\"The \\\" @appName \\\" Platform\\\"}}\\n            @description={{concat \\\"Learn more about the \\\" @appName \\\" Platform\\\"}}\\n            @admin={{@admin}}\\n            @iconName=\\\"user-check\\\"\\n            @themeColor={{@site.themeColor}}\\n          />\\n        </section>\\n      </div>\\n    </div>\\n    <Articles::Site::Settings::FooterPreview\\n      @site={{@site}}\\n      @logoUrl={{or @media.logo.url @site.logoUrl}}\\n    />\\n  </Articles::Site::Settings::HeaderPreview>\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/site/settings/help-center-preview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/site/settings/help-center-preview.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"educate__settings__languages__language-list\\\">\\n  <IcTable\\n    @data={{site.selectedLocalesOrdered}}\\n    @columns={{array\\n      (hash\\n        label=\\\"Supported languages\\\"\\n        valuePath=\\\"name\\\"\\n        width=\\\"25%\\\"\\n      )\\n      (hash\\n        label=\\\"Page title\\\"\\n        valuePath=\\\"title\\\"\\n        width=\\\"25%\\\"\\n        tooltip=\\\"The name of your help center\\\"\\n      )\\n      (hash\\n        label=\\\"Header text\\\"\\n        valuePath=\\\"headline\\\"\\n        width=\\\"50%\\\"\\n        tooltip=\\\"Displayed at the top of each page, under your title or logo\\\"\\n      )\\n    }}\\n    as |table|\\n  >\\n    <table.rows as |row index|>\\n      <row.cell @valuePath=\\\"name\\\">\\n        <span data-test-permitted-locale=\\\"true\\\">\\n          {{#unless site.hasMultipleLocales}}\\n            <IcSelect\\n              @items={{defaultLanguageDropdownItems}}\\n              @selectedValue={{site.locale}}\\n              @onSelectItem={{this.setDefaultLanguage}}\\n              @filterPlaceholder=\\\"Search languages\\\"\\n              data-test-select-default-language={{true}}\\n            />\\n          {{else}}\\n            {{row.data.name}}\\n            {{#if (eq row.data.localeId site.defaultLocale.localeId)}}\\n              <span class=\\\"text-gray\\\">\\n                {{ic-stamp \\\"Default\\\" \\\"ml-1\\\"}}\\n              </span>\\n            {{/if}}\\n          {{/unless}}\\n        </span>\\n      </row.cell>\\n      <row.cell @valuePath=\\\"title\\\">\\n        <Input\\n          @value={{row.data.title}}\\n          @type=\\\"text\\\"\\n          class=\\\"f__text mb-1\\\"\\n          @name=\\\"name\\\"\\n          data-test-title-input={{row.data.localeId}}\\n          @classBinding=\\\"row.data.title.length::o__error\\\"\\n        />\\n      </row.cell>\\n      <row.cell @valuePath=\\\"headline\\\">\\n        <div class=\\\"layout__box o__has-columns\\\">\\n          <Input\\n            @value={{row.data.headline}}\\n            @type=\\\"text\\\"\\n            @maxLength={{160}}\\n            class=\\\"f__text mb-1\\\"\\n            @name=\\\"name\\\"\\n            data-test-headline-textarea={{row.data.localeId}}\\n          />\\n          {{#unless (eq row.data.localeId site.defaultLocale.localeId)}}\\n            <IcDropdownOpener\\n              @groupList={{groupList}}\\n              @onSelectItem={{fn this.handleRowAction row.data.localeId}}\\n              class=\\\"ml-2\\\"\\n            >\\n              <IcButton\\n                @type=\\\"secondary\\\"\\n                @icon=\\\"vertical-ellipsis\\\"\\n                @showsIconOnly={{true}}\\n                @subtle={{true}}\\n              />\\n            </IcDropdownOpener>\\n          {{else}}\\n            <div class=\\\"educate__settings__languages__menu-placeholder\\\"></div>\\n          {{/unless}}\\n        </div>\\n      </row.cell>\\n    </table.rows>\\n  </IcTable>\\n</div>\\n<div class=\\\"h-5\\\"></div>\\n<Paywall\\n  @featureKey=\\\"multilingual_articles\\\"\\n  as |paywall|\\n>\\n  <div class=\\\"f__group u__cf\\\">\\n    <IcSelect\\n      data-test-additional-languages\\n      @filterPlaceholder=\\\"Search languages\\\"\\n      @items={{addLocaleDropdownItems}}\\n      @onSelectItem={{this.permitLanguage}}\\n      data-test-row-options-opener={{true}}\\n      @isDisabled={{paywall.isActive}} as |select|\\n    >\\n      <select.opener>\\n        <a class=\\\"btn__tertiary\\\">\\n          {{ic-interface-icon \\\"new\\\"}} Add language <paywall.Badge />\\n        </a>\\n      </select.opener>\\n    </IcSelect>\\n  </div>\\n</Paywall>\\n<div class=\\\"h-2\\\"></div>\\n<Articles::Site::Settings::ActionButtonsComponent\\n  @site={{@site}}\\n  @showSaveCancel={{@site.hasDirtyAttributes}}\\n  @save={{@save}}\\n  @saveIsRunning={{@saveIsRunning}}\\n  @cancel={{@cancel}}\\n  @body={{@body}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"educate__settings__languages__language-list\\\">\\n  <IcTable\\n    @data={{site.selectedLocalesOrdered}}\\n    @columns={{array\\n      (hash\\n        label=\\\"Supported languages\\\"\\n        valuePath=\\\"name\\\"\\n        width=\\\"25%\\\"\\n      )\\n      (hash\\n        label=\\\"Page title\\\"\\n        valuePath=\\\"title\\\"\\n        width=\\\"25%\\\"\\n        tooltip=\\\"The name of your help center\\\"\\n      )\\n      (hash\\n        label=\\\"Header text\\\"\\n        valuePath=\\\"headline\\\"\\n        width=\\\"50%\\\"\\n        tooltip=\\\"Displayed at the top of each page, under your title or logo\\\"\\n      )\\n    }}\\n    as |table|\\n  >\\n    <table.rows as |row index|>\\n      <row.cell @valuePath=\\\"name\\\">\\n        <span data-test-permitted-locale=\\\"true\\\">\\n          {{#unless site.hasMultipleLocales}}\\n            <IcSelect\\n              @items={{defaultLanguageDropdownItems}}\\n              @selectedValue={{site.locale}}\\n              @onSelectItem={{this.setDefaultLanguage}}\\n              @filterPlaceholder=\\\"Search languages\\\"\\n              data-test-select-default-language={{true}}\\n            />\\n          {{else}}\\n            {{row.data.name}}\\n            {{#if (eq row.data.localeId site.defaultLocale.localeId)}}\\n              <span class=\\\"text-gray\\\">\\n                {{ic-stamp \\\"Default\\\" \\\"ml-1\\\"}}\\n              </span>\\n            {{/if}}\\n          {{/unless}}\\n        </span>\\n      </row.cell>\\n      <row.cell @valuePath=\\\"title\\\">\\n        <Input\\n          @value={{row.data.title}}\\n          @type=\\\"text\\\"\\n          class=\\\"f__text mb-1\\\"\\n          @name=\\\"name\\\"\\n          data-test-title-input={{row.data.localeId}}\\n          @classBinding=\\\"row.data.title.length::o__error\\\"\\n        />\\n      </row.cell>\\n      <row.cell @valuePath=\\\"headline\\\">\\n        <div class=\\\"layout__box o__has-columns\\\">\\n          <Input\\n            @value={{row.data.headline}}\\n            @type=\\\"text\\\"\\n            @maxLength={{160}}\\n            class=\\\"f__text mb-1\\\"\\n            @name=\\\"name\\\"\\n            data-test-headline-textarea={{row.data.localeId}}\\n          />\\n          {{#unless (eq row.data.localeId site.defaultLocale.localeId)}}\\n            <IcDropdownOpener\\n              @groupList={{groupList}}\\n              @onSelectItem={{fn this.handleRowAction row.data.localeId}}\\n              class=\\\"ml-2\\\"\\n            >\\n              <IcButton\\n                @type=\\\"secondary\\\"\\n                @icon=\\\"vertical-ellipsis\\\"\\n                @showsIconOnly={{true}}\\n                @subtle={{true}}\\n              />\\n            </IcDropdownOpener>\\n          {{else}}\\n            <div class=\\\"educate__settings__languages__menu-placeholder\\\"></div>\\n          {{/unless}}\\n        </div>\\n      </row.cell>\\n    </table.rows>\\n  </IcTable>\\n</div>\\n<div class=\\\"h-5\\\"></div>\\n<Paywall\\n  @featureKey=\\\"multilingual_articles\\\"\\n  as |paywall|\\n>\\n  <div class=\\\"f__group u__cf\\\">\\n    <IcSelect\\n      data-test-additional-languages\\n      @filterPlaceholder=\\\"Search languages\\\"\\n      @items={{addLocaleDropdownItems}}\\n      @onSelectItem={{this.permitLanguage}}\\n      data-test-row-options-opener={{true}}\\n      @isDisabled={{paywall.isActive}} as |select|\\n    >\\n      <select.opener>\\n        <a class=\\\"btn__tertiary\\\">\\n          {{ic-interface-icon \\\"new\\\"}} Add language <paywall.Badge />\\n        </a>\\n      </select.opener>\\n    </IcSelect>\\n  </div>\\n</Paywall>\\n<div class=\\\"h-2\\\"></div>\\n<Articles::Site::Settings::ActionButtonsComponent\\n  @site={{@site}}\\n  @showSaveCancel={{@site.hasDirtyAttributes}}\\n  @save={{@save}}\\n  @saveIsRunning={{@saveIsRunning}}\\n  @cancel={{@cancel}}\\n  @body={{@body}}\\n/>\\n\",\"moduleName\":\"embercom/components/articles/site/settings/language-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/site/settings/language-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, map, filterBy } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { computed, action } from '@ember/object';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\n\nexport default Component.extend(EventTracking, {\n  appService: service(),\n  helpCenterService: service(),\n  app: readOnly('appService.app'),\n\n  groupList: [\n    {\n      items: [\n        {\n          text: 'Make default',\n          value: 'default',\n        },\n        {\n          text: 'Delete',\n          value: 'delete',\n          isDestructive: true,\n        },\n      ],\n    },\n  ],\n\n  // Curated list of languages for the dropdown\n  defaultLanguageDropdownItems: computed('site.supportedLocales', function() {\n    return this.get('site.supportedLocales').map(locale => {\n      return {\n        text: locale.name,\n        value: locale.localeId,\n      };\n    });\n  }),\n\n  appDefaultLocaleName: computed('site', function() {\n    let locale = this.get('site.supportedLocales').findBy('localeId', this.get('app.locale'));\n    return !locale ? 'different' : locale.name;\n  }),\n\n  notSelectedLocales: filterBy('site.supportedLocales', 'isSelected', false),\n\n  addLocaleDropdownItems: map('notSelectedLocales', locale => ({\n    value: locale.localeId,\n    text: locale.name,\n  })),\n\n  _addAvailableLocale(localeId, track = true) {\n    let locale = this.get('site.supportedLocales').findBy('localeId', localeId);\n    locale.set('isSelected', true);\n    if (track) {\n      this.trackEducateEvent({\n        action: 'selected',\n        object: 'language',\n        place: 'settings',\n        owner: 'educate',\n        context: 'add_language',\n        value: localeId,\n      });\n    }\n  },\n\n  _removeAvailableLocale(localeId, track = true) {\n    let locale = this.get('site.supportedLocales').findBy('localeId', localeId);\n    locale.set('isSelected', false);\n\n    if (this.helpCenterService.currentlySelectedLocaleId === localeId) {\n      this.helpCenterService.resetLocale();\n    }\n    if (track) {\n      this.trackEducateEvent({\n        action: 'selected',\n        object: 'language',\n        place: 'settings',\n        owner: 'educate',\n        context: 'remove_language',\n        value: localeId,\n      });\n    }\n  },\n\n  _setDefaultLanguage(localeId) {\n    let locale = this.get('site.supportedLocales').findBy('localeId', localeId);\n    // If the new default language wasn't selected before, we make it selected\n    // and we make the current default not selected\n    if (!locale.isSelected) {\n      // Neither of these changes should get tracked\n      // Changing the default is an add and remove, but tracked seperately below\n      this._removeAvailableLocale(this.get('site.locale'), false);\n      this._addAvailableLocale(localeId, false);\n    }\n    this.set('site.locale', localeId);\n    this.trackEducateEvent({\n      action: 'selected',\n      object: 'language',\n      place: 'settings',\n      owner: 'educate',\n      context: 'default_language',\n      value: localeId,\n    });\n  },\n\n  handleRowAction: action(function(localeId, action) {\n    switch (action) {\n      case 'default':\n        this._setDefaultLanguage(localeId);\n        break;\n\n      case 'delete':\n        this._removeAvailableLocale(localeId);\n        break;\n    }\n  }),\n\n  setDefaultLanguage: action(function(localeId) {\n    this._setDefaultLanguage(localeId);\n  }),\n\n  permitLanguage: action(function(localeId) {\n    this._addAvailableLocale(localeId);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"educate__settings__image-upload__image\\\"\\n  data-test-site-asset-upload=\\\"{{type}}\\\"\\n>\\n  <div class=\\\"educate__settings__image-upload__image {{imageStyle}}\\\">\\n    {{#if hasUrl}}\\n      <div style={{backgroundStyle}}>\\n        <Tooltips::ImageOverlay\\n          @showFilePicker={{this.showFilePicker}}\\n          @reset={{this.reset}}\\n        >\\n          <img\\n            class=\\\"educate__settings__image__controls {{imageStyle}}\\\"\\n            src=\\\"{{imageUrl}}\\\"\\n          />\\n        </Tooltips::ImageOverlay>\\n      </div>\\n    {{else}}\\n      {{#if (and mediaHelper.file mediaHelper.url)}}\\n        <p>\\n          <div style={{backgroundStyle}}>\\n            <Tooltips::ImageOverlay\\n              @showFilePicker={{this.showFilePicker}}\\n              @reset={{this.reset}}\\n            >\\n              <img\\n                src=\\\"{{mediaHelper.url}}\\\"\\n                class=\\\"educate__settings__image__controls {{imageStyle}}\\\"\\n              />\\n            </Tooltips::ImageOverlay>\\n          </div>\\n        </p>\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n  {{#unless hasContent}}\\n    <div class=\\\"educate__settings__upload\\\" {{action \\\"showFilePicker\\\"}}>\\n      <span class=\\\"educate__settings__upload__icon\\\">\\n        {{ic-interface-icon \\\"filled-cloud-upload\\\" solo=true}}\\n      </span>\\n      Upload a {{formattedType}}\\n    </div>\\n  {{/unless}}\\n  <input\\n    type=\\\"file\\\"\\n    accept=\\\"image/gif, image/jpeg, image/png\\\"\\n    class=\\\"u__hidden\\\"\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"educate__settings__image-upload__image\\\"\\n  data-test-site-asset-upload=\\\"{{type}}\\\"\\n>\\n  <div class=\\\"educate__settings__image-upload__image {{imageStyle}}\\\">\\n    {{#if hasUrl}}\\n      <div style={{backgroundStyle}}>\\n        <Tooltips::ImageOverlay\\n          @showFilePicker={{this.showFilePicker}}\\n          @reset={{this.reset}}\\n        >\\n          <img\\n            class=\\\"educate__settings__image__controls {{imageStyle}}\\\"\\n            src=\\\"{{imageUrl}}\\\"\\n          />\\n        </Tooltips::ImageOverlay>\\n      </div>\\n    {{else}}\\n      {{#if (and mediaHelper.file mediaHelper.url)}}\\n        <p>\\n          <div style={{backgroundStyle}}>\\n            <Tooltips::ImageOverlay\\n              @showFilePicker={{this.showFilePicker}}\\n              @reset={{this.reset}}\\n            >\\n              <img\\n                src=\\\"{{mediaHelper.url}}\\\"\\n                class=\\\"educate__settings__image__controls {{imageStyle}}\\\"\\n              />\\n            </Tooltips::ImageOverlay>\\n          </div>\\n        </p>\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n  {{#unless hasContent}}\\n    <div class=\\\"educate__settings__upload\\\" {{action \\\"showFilePicker\\\"}}>\\n      <span class=\\\"educate__settings__upload__icon\\\">\\n        {{ic-interface-icon \\\"filled-cloud-upload\\\" solo=true}}\\n      </span>\\n      Upload a {{formattedType}}\\n    </div>\\n  {{/unless}}\\n  <input\\n    type=\\\"file\\\"\\n    accept=\\\"image/gif, image/jpeg, image/png\\\"\\n    class=\\\"u__hidden\\\"\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/articles/site/settings/site-asset-upload-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/articles/site/settings/site-asset-upload-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport EmberObject, { computed, action } from '@ember/object';\nimport $ from 'jquery';\nimport { gt, and, bool, or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { fmtStyle, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nlet ValidationRules = EmberObject.extend({});\n\nlet FileSpec = EmberObject.extend({\n  size: null,\n  width: null,\n  height: null,\n});\n\nexport default Component.extend({\n  notificationsService: service(),\n  classNameBindings: ['isDragging', 'hasFile', ':csv_file_component'],\n  isDragging: false,\n  fileExtension: 'png,gif,jpeg,jpg',\n  invalidFileResetDelay: 1700,\n  hasFile: bool('mediaHelper.file'),\n  maxFileSize: '4MB',\n  fileIsLargerThanFourMB: gt('file.size', 4000000),\n  fileIsTooLarge: and('fileIsLargerThanFourMB', 'hasFile'),\n\n  fileHasValidExtension: computed('mediaHelper.file', 'fileExtension', function() {\n    let fileName = this.get('mediaHelper.file.name');\n    let fileExtensions = this.fileExtension.split(',');\n\n    return fileExtensions.some(fileExtension => {\n      let regexp = new RegExp(`\\.${fileExtension}$`, 'i');\n      return fileName.match(regexp);\n    });\n  }),\n\n  hasUrl: bool('siteUrl'),\n  hasContent: or('hasFile', 'hasUrl'),\n  themeColorStyle: fmtStyle('background-color: #%@', 'themeColor'),\n  noStyle: fmtStyle(''),\n  backgroundStyle: ternaryToProperty('themeColor', 'themeColorStyle', 'noStyle'),\n\n  imageUrl: computed('mediaHelper.url', 'siteUrl', function() {\n    let mediaHelper = this.mediaHelper;\n    if (mediaHelper.file && mediaHelper.url) {\n      return this.get('mediaHelper.url');\n    }\n    return this.siteUrl;\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.set(\n      'validationRules',\n      ValidationRules.create({\n        header: FileSpec.create({\n          size: 2000000,\n        }),\n        logo: FileSpec.create({\n          size: 1000000,\n        }),\n        favicon: FileSpec.create({\n          size: 150000,\n        }),\n        social_image: FileSpec.create({\n          size: 2000000,\n        }),\n      }),\n    );\n  },\n\n  drop(e) {\n    e.preventDefault();\n    this.setFile(e.dataTransfer.files[0]);\n  },\n\n  change(e) {\n    let target = e.originalEvent.target;\n    if ($(target).is('input:file')) {\n      this.setFile(target.files[0]);\n    }\n  },\n\n  willDestroyElement() {\n    this.set('file', null);\n    this._super(...arguments);\n  },\n\n  _fileHasValidSize(file, type) {\n    let requiredSize = this.get(`validationRules.${type}.size`);\n    return file.size <= requiredSize;\n  },\n\n  _fileHasValidExtension(file) {\n    let fileName = file.name;\n    let fileExtensions = this.fileExtension.split(',');\n    return fileExtensions.some(fileExtension => {\n      let regexp = new RegExp(`\\.${fileExtension}$`, 'i');\n      return fileName.match(regexp);\n    });\n  },\n\n  _fileIsValid(file, type) {\n    return this._fileHasValidSize(file, type) && this._fileHasValidExtension(file);\n  },\n\n  _showValidationError(type, file) {\n    if (!this._fileHasValidSize(file, type)) {\n      let requiredSize = this.get(`validationRules.${type}.size`) / 1000000;\n      this.notificationsService.notifyError(\n        `That image is too large. Try reducing it to under ${requiredSize}MB.`,\n      );\n    }\n    if (!this._fileHasValidExtension(file)) {\n      this.notificationsService.notifyError(\n        `We don't support that file type. Try a PNG, JPEG or GIF.`,\n      );\n    }\n  },\n\n  _clearFileInput() {\n    let fileInput = $('input:file', this.element);\n    fileInput.replaceWith(fileInput.clone(true));\n  },\n\n  setFile(file) {\n    if (file) {\n      if (this._fileIsValid(file, this.type)) {\n        let mediaHelper = this.mediaHelper;\n        let reader = new FileReader();\n        reader.onload = e => {\n          mediaHelper.setProperties({\n            file,\n            isSaved: false,\n          });\n          this.setProperties({\n            isDragging: false,\n            file,\n          });\n          mediaHelper.set('url', e.target.result);\n        };\n        reader.readAsDataURL(file);\n      } else {\n        let type = this.type;\n        this._showValidationError(type, file);\n      }\n    }\n  },\n\n  reset: action(function() {\n    this._clearFileInput();\n    let mediaHelper = this.mediaHelper;\n    mediaHelper.setProperties({\n      url: '',\n      file: '',\n    });\n    if (this.siteUrl) {\n      mediaHelper.setProperties({\n        isReset: true,\n        isSaved: false,\n      });\n    } else {\n      mediaHelper.setProperties({\n        isReset: false,\n        isSaved: true,\n      });\n    }\n    this.setProperties({\n      isDragging: false,\n      file: null,\n      siteUrl: null,\n    });\n  }),\n\n  showFilePicker: action(function() {\n    $('input:file', this.element).click();\n  }),\n\n  actions: {\n    removeImage() {\n      this.setProperties({\n        file: null,\n        mediaData: null,\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"ds-new__dropdown__block__heading bg-white sticky top-0 z-10 pb-2\\\">\\n  <h3 class=\\\"t__label\\\">\\n    {{@item.componentAttrs.text}}\\n  </h3>\\n  {{#if @item.componentAttrs.subText}}\\n    <Text @styling='small' data-test-assignee-selector-heading-subtext>\\n      {{@item.componentAttrs.subText}}\\n    </Text>\\n  {{/if}}\\n</div>\", {\"contents\":\"<div class=\\\"ds-new__dropdown__block__heading bg-white sticky top-0 z-10 pb-2\\\">\\n  <h3 class=\\\"t__label\\\">\\n    {{@item.componentAttrs.text}}\\n  </h3>\\n  {{#if @item.componentAttrs.subText}}\\n    <Text @styling='small' data-test-assignee-selector-heading-subtext>\\n      {{@item.componentAttrs.subText}}\\n    </Text>\\n  {{/if}}\\n</div>\",\"moduleName\":\"embercom/components/assignee/selector-heading.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/assignee/selector-heading.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span class=\\\"avatar__container o__s w-64\\\">\\n  {{#if @item.assignee.isUnassignedAdmin}}\\n    <span class=\\\"avatar__proxy\\\">\\n      {{ic-interface-icon \\\"unassigned\\\" size=24}}\\n    </span>\\n  {{else}}\\n    {{ic-avatar model=@item.assignee size=\\\"s\\\" contained=true}}\\n  {{/if}}\\n  <span class=\\\"assignee-selector__assignee-details\\\">\\n    <div class=\\\"mr-2 u__left u__truncated-inline-block\\\">\\n      {{this.assigneeDisplayName}}\\n    </div>\\n    {{#if\\n      (and\\n        @item.showAwayAndReassigningStatus\\n        @item.assignee.reassign_conversations\\n      )\\n    }}\\n      <span class=\\\"assignee-selector__assignment\\\" {{tooltip content=(if (has-feature \\\"canAssignToTeamAndTeammate\\\") \\\"Away & unassigning\\\" \\\"Away & reassigning\\\")}}>\\n        {{ic-interface-icon \\\"assignment\\\"}}\\n      </span>\\n    {{/if}}\\n  </span>\\n</span>\\n\", {\"contents\":\"<span class=\\\"avatar__container o__s w-64\\\">\\n  {{#if @item.assignee.isUnassignedAdmin}}\\n    <span class=\\\"avatar__proxy\\\">\\n      {{ic-interface-icon \\\"unassigned\\\" size=24}}\\n    </span>\\n  {{else}}\\n    {{ic-avatar model=@item.assignee size=\\\"s\\\" contained=true}}\\n  {{/if}}\\n  <span class=\\\"assignee-selector__assignee-details\\\">\\n    <div class=\\\"mr-2 u__left u__truncated-inline-block\\\">\\n      {{this.assigneeDisplayName}}\\n    </div>\\n    {{#if\\n      (and\\n        @item.showAwayAndReassigningStatus\\n        @item.assignee.reassign_conversations\\n      )\\n    }}\\n      <span class=\\\"assignee-selector__assignment\\\" {{tooltip content=(if (has-feature \\\"canAssignToTeamAndTeammate\\\") \\\"Away & unassigning\\\" \\\"Away & reassigning\\\")}}>\\n        {{ic-interface-icon \\\"assignment\\\"}}\\n      </span>\\n    {{/if}}\\n  </span>\\n</span>\\n\",\"moduleName\":\"embercom/components/assignee/selector-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/assignee/selector-item.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class Selector extends Component {\n  attributeBindings = ['assigneeDisplayName:data-assignee'];\n\n  get assigneeDisplayName() {\n    let textOverride = this.args.item.textOverride;\n    let assignee = this.args.item.assignee;\n    return textOverride || assignee.display_as_assignee;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span class=\\\"avatar__container o__xs assignee-selector__opener-item {{if @assignee \\\"pl-6\\\" \\\"assignee-selector__avatar-unassigned\\\"}}\\\" ...attributes>\\n  {{~#if @assignee ~}}\\n    <IcAvatarComponent\\n      @model={{@assignee}}\\n      @size=\\\"xs\\\"\\n      @contained={{true}}\\n      class=\\\"assignee-selector__avatar\\\"\\n    />\\n  {{~else~}}\\n    {{ic-interface-icon \\\"unassigned\\\"}}\\n  {{~/if~}}\\n\\n  <span class=\\\"u__truncated-inline-block assignee-selector__assignee-details\\\">\\n    <div class=\\\"assignee-selector__assignee-name u__left u__one-truncated-line\\\">\\n      {{~#if @assignee~}}\\n        {{if (eq @assignee.id @currentAdmin.id) \\\"You\\\" @assignee.name}}\\n      {{~else~}}\\n        Unassigned\\n      {{~/if~}}\\n    </div>\\n  </span>\\n</span>\\n\", {\"contents\":\"<span class=\\\"avatar__container o__xs assignee-selector__opener-item {{if @assignee \\\"pl-6\\\" \\\"assignee-selector__avatar-unassigned\\\"}}\\\" ...attributes>\\n  {{~#if @assignee ~}}\\n    <IcAvatarComponent\\n      @model={{@assignee}}\\n      @size=\\\"xs\\\"\\n      @contained={{true}}\\n      class=\\\"assignee-selector__avatar\\\"\\n    />\\n  {{~else~}}\\n    {{ic-interface-icon \\\"unassigned\\\"}}\\n  {{~/if~}}\\n\\n  <span class=\\\"u__truncated-inline-block assignee-selector__assignee-details\\\">\\n    <div class=\\\"assignee-selector__assignee-name u__left u__one-truncated-line\\\">\\n      {{~#if @assignee~}}\\n        {{if (eq @assignee.id @currentAdmin.id) \\\"You\\\" @assignee.name}}\\n      {{~else~}}\\n        Unassigned\\n      {{~/if~}}\\n    </div>\\n  </span>\\n</span>\\n\",\"moduleName\":\"embercom/components/assignee/selector-opener.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/assignee/selector-opener.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcDropdownOpener\\n  @groupList={{this.groupList}}\\n  @hasFilter={{true}}\\n  @componentClasses=\\\"assignee__selector__container\\\"\\n  @filterPlaceholder=\\\"Search teammates and teams\\\"\\n  @buttonIsSubtle={{true}}\\n  @isDisabled={{@readOnly}}\\n  @mode=\\\"block\\\"\\n  @dropdownClass=\\\"assignee__selector\\\"\\nas |opener|>\\n  <IcButton\\n    @type=\\\"secondary\\\"\\n    @forcedActive={{opener.dropdownIsOpen}}\\n    @subtle={{true}}\\n    class=\\\"o__icon\\\"\\n    data-test-assignee-dropdown-opener-button={{true}}\\n    data-tour-assignee-selector\\n  >\\n    {{#if (or this.selectedAdmin this.selectedTeam)}}\\n      {{#if this.selectedAdmin}}\\n        <Assignee::SelectorOpener\\n          @assignee={{this.selectedAdmin}}\\n          @currentAdmin={{@currentAdmin}}\\n        />\\n      {{/if}}\\n\\n      {{#if this.selectedTeam}}\\n        <Assignee::SelectorOpener\\n          @assignee={{this.selectedTeam}}\\n          @currentAdmin={{@currentAdmin}}\\n          class={{if this.selectedAdmin 'ml-2'}}\\n        />\\n      {{/if}}\\n    {{else}}\\n      <Assignee::SelectorOpener/>\\n    {{/if}}\\n  </IcButton>\\n</IcDropdownOpener>\\n\", {\"contents\":\"<IcDropdownOpener\\n  @groupList={{this.groupList}}\\n  @hasFilter={{true}}\\n  @componentClasses=\\\"assignee__selector__container\\\"\\n  @filterPlaceholder=\\\"Search teammates and teams\\\"\\n  @buttonIsSubtle={{true}}\\n  @isDisabled={{@readOnly}}\\n  @mode=\\\"block\\\"\\n  @dropdownClass=\\\"assignee__selector\\\"\\nas |opener|>\\n  <IcButton\\n    @type=\\\"secondary\\\"\\n    @forcedActive={{opener.dropdownIsOpen}}\\n    @subtle={{true}}\\n    class=\\\"o__icon\\\"\\n    data-test-assignee-dropdown-opener-button={{true}}\\n    data-tour-assignee-selector\\n  >\\n    {{#if (or this.selectedAdmin this.selectedTeam)}}\\n      {{#if this.selectedAdmin}}\\n        <Assignee::SelectorOpener\\n          @assignee={{this.selectedAdmin}}\\n          @currentAdmin={{@currentAdmin}}\\n        />\\n      {{/if}}\\n\\n      {{#if this.selectedTeam}}\\n        <Assignee::SelectorOpener\\n          @assignee={{this.selectedTeam}}\\n          @currentAdmin={{@currentAdmin}}\\n          class={{if this.selectedAdmin 'ml-2'}}\\n        />\\n      {{/if}}\\n    {{else}}\\n      <Assignee::SelectorOpener/>\\n    {{/if}}\\n  </IcButton>\\n</IcDropdownOpener>\\n\",\"moduleName\":\"embercom/components/assignee/selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/assignee/selector.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nconst UNASSIGNED_ID = '0';\n\nexport default class Selector extends Component {\n  @service appService;\n\n  /**\n   * Arguments:\n   *\n   * assignees - list of admins & teams who can be assigned to\n   * currentAdmin - the current logged in admin\n   * selectedAdminId - the admin ID currently selected\n   * selectedTeamId - the team ID currently selected\n   *\n   * onSelectItem - function called when selection changes, called with {teamId, adminId}\n   *\n   * readOnly (false) - disables the dropdown\n   * clearAdminWhenTeamChanges (false) - whether to unassign admin when setting team\n   */\n\n  get admins() {\n    return this.args.assignees.filter(assignee => !assignee.isTeam && !assignee.isUnassignedAdmin);\n  }\n\n  get teams() {\n    return this.args.assignees.filter(assignee => assignee.isTeam && !assignee.isUnassignedAdmin);\n  }\n\n  get unassignedAdmin() {\n    return this.args.assignees.find(assignee => assignee.isUnassignedAdmin);\n  }\n\n  get groupList() {\n    let groupList = [\n      {\n        headingComponent: 'assignee/selector-heading',\n        headingComponentAttrs: {\n          text: 'Assign to teammate',\n        },\n        items: this.adminItems,\n        alwaysShowHeading: true,\n        isFilterable: true,\n        isMain: true,\n        hasItemsMarkableAsSelected: true,\n      },\n    ];\n    if (this.teams.length > 0) {\n      groupList = [\n        ...groupList,\n        {\n          headingComponent: 'assignee/selector-heading',\n          headingComponentAttrs: {\n            text: 'Assign to team',\n            subText: this.teamHeadingSubText,\n          },\n          items: this.teamItems,\n          alwaysShowHeading: true,\n          isFilterable: true,\n          isMain: true,\n          hasItemsMarkableAsSelected: true,\n        },\n      ];\n    }\n    return groupList;\n  }\n\n  get teamHeadingSubText() {\n    return !!this.selectedAdmin && 'This will unassign the teammate';\n  }\n\n  get selectedTeam() {\n    return this.teams.find(team => team.id === this.args.selectedTeamId);\n  }\n\n  get selectedAdmin() {\n    return this.admins.find(admin => admin.id === this.args.selectedAdminId);\n  }\n\n  get teamItems() {\n    let type = 'team';\n    let unassigned = this._createGroupListItem(this.unassignedAdmin, type, 'None');\n    let teams = this.teams\n      .without(this.selectedTeam)\n      .map(team => this._createGroupListItem(team, type));\n\n    let items = [unassigned];\n    if (this.selectedTeam) {\n      let selectedTeam = this._createGroupListItem(this.selectedTeam, type);\n      items = [...items, selectedTeam];\n    }\n    return [...items, ...teams];\n  }\n\n  get adminItems() {\n    let type = 'admin';\n    let unassigned = this._createGroupListItem(this.unassignedAdmin, type, 'None');\n    let admins = this.admins\n      .without(this.selectedAdmin)\n      .map(admin => this._createGroupListItem(admin, type));\n\n    let items = [unassigned];\n    if (this.selectedAdmin) {\n      let selectedAdmin = this._createGroupListItem(this.selectedAdmin, type);\n      items = [...items, selectedAdmin];\n    }\n    return [...items, ...admins];\n  }\n\n  _createGroupListItem(item, type, textOverride) {\n    let selectedItemId;\n    if (type === 'team') {\n      selectedItemId = this.args.selectedTeamId;\n    } else if (type === 'admin') {\n      selectedItemId = this.args.selectedAdminId;\n    }\n\n    let isListItemSelected = item.id === selectedItemId;\n\n    let listItem = {\n      text: textOverride || item.display_as_assignee,\n      textOverride,\n      value: item.id,\n      component: 'assignee/selector-item',\n      isFilterable: true,\n      assignee: item,\n      showAwayAndReassigningStatus: true,\n      isSelected: isListItemSelected,\n    };\n\n    if (!isListItemSelected) {\n      listItem.onSelectItem = () => {\n        if (type === 'team') {\n          this.args.onSelectItem({\n            teamId: item.id || UNASSIGNED_ID,\n            adminId: this.args.clearAdminWhenTeamChanges\n              ? UNASSIGNED_ID\n              : this.args.selectedAdminId || UNASSIGNED_ID,\n          });\n        } else if (type === 'admin') {\n          this.args.onSelectItem({\n            teamId: this.args.selectedTeamId || UNASSIGNED_ID,\n            adminId: item.id || UNASSIGNED_ID,\n          });\n        }\n      };\n    }\n    return listItem;\n  }\n}\n","import AttachmentItemPill from '@intercom/embercom-composer/components/attachment-item-pill';\nexport default AttachmentItemPill;\n","import AttachmentItem from '@intercom/embercom-composer/components/attachment-item';\nexport default AttachmentItem;\n","import AttachmentList from '@intercom/embercom-composer/components/attachment-list';\nexport default AttachmentList;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { computed } from '@ember/object';\nimport { reads } from '@ember/object/computed';\nimport AttributeComponent from 'embercom/components/attribute-component';\nimport B64FilterParamEncoder from 'embercom/vendor/intercom/b64-filter-param-encoder';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\n\nlet ProfileAnonymousComponent = AttributeComponent.extend({\n  value: ternary('isAnonymous', 'Lead', 'User'),\n  isAnonymous: reads('userOrCompany.is_anonymous'),\n  filterUrl: computed('userOrCompany', 'attribute', 'value', 'isAnonymous', function() {\n    return B64FilterParamEncoder.filterUrl(this.userOrCompany, this.attribute, this.isAnonymous);\n  }),\n  isNotBlank: true,\n});\n\nexport default ProfileAnonymousComponent;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport AttributeComponent from 'embercom/components/attribute-component';\n\nlet ProfileBooleanComponent = AttributeComponent.extend();\n\nexport default ProfileBooleanComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isNotBlank ~}}\\n  <span>\\n    {{#if showTooltip}}\\n      <span {{tooltip content=tooltipText}}>\\n        {{#if icon}}\\n          {{ic-interface-icon icon}}\\n        {{/if}}\\n        <a href=\\\"{{filterUrl}}\\\" class=\\\"t__solo-link\\\">{{displayValue}}</a>\\n      </span>\\n    {{else}}\\n      {{#if icon}}\\n        {{ic-interface-icon icon}}\\n      {{/if}}\\n      <a href=\\\"{{filterUrl}}\\\" class=\\\"t__solo-link\\\">{{displayValue}}</a>\\n    {{/if}}\\n  </span>\\n{{else}}\\n  {{#if showTooltip}}\\n    <span {{tooltip content=tooltipText}}>{{displayValue}}</span>\\n  {{else}}\\n    {{displayValue}}\\n  {{/if}}\\n{{/if ~}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isNotBlank ~}}\\n  <span>\\n    {{#if showTooltip}}\\n      <span {{tooltip content=tooltipText}}>\\n        {{#if icon}}\\n          {{ic-interface-icon icon}}\\n        {{/if}}\\n        <a href=\\\"{{filterUrl}}\\\" class=\\\"t__solo-link\\\">{{displayValue}}</a>\\n      </span>\\n    {{else}}\\n      {{#if icon}}\\n        {{ic-interface-icon icon}}\\n      {{/if}}\\n      <a href=\\\"{{filterUrl}}\\\" class=\\\"t__solo-link\\\">{{displayValue}}</a>\\n    {{/if}}\\n  </span>\\n{{else}}\\n  {{#if showTooltip}}\\n    <span {{tooltip content=tooltipText}}>{{displayValue}}</span>\\n  {{else}}\\n    {{displayValue}}\\n  {{/if}}\\n{{/if ~}}\\n\",\"moduleName\":\"embercom/components/attribute-browser-locale-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/attribute-browser-locale-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { isBlank } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport AttributeComponent from 'embercom/components/attribute-component';\n\nlet BrowserLocaleComponent = AttributeComponent.extend({\n  tooltipText: templateString('${displayValue}'),\n  isNotBlank: computed('userOrCompany', 'attribute.identifier', function() {\n    return !isBlank(this.get('userOrCompany.locale.name'));\n  }),\n  displayValue: computed('userOrCompany', 'isNotBlank', function() {\n    if (this.isNotBlank) {\n      return this.get('userOrCompany.locale.name');\n    }\n    return 'Unknown';\n  }),\n  value: computed('userOrCompany', 'isNotBlank', function() {\n    if (this.isNotBlank) {\n      return this.get('userOrCompany.locale.locale_id');\n    }\n    return 'Unknown';\n  }),\n});\n\nexport default BrowserLocaleComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if segments}}\\n  <ul>\\n    {{#each segments as |segment|}}\\n      <SimpleSegmentComponent\\n        @segment={{segment}}\\n        @attribute={{attribute}}\\n        @userOrCompany={{userOrCompany}}\\n      />\\n    {{/each}}\\n  </ul>\\n{{else}}\\n  <span class=\\\"text-gray\\\">\\n    Unknown\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if segments}}\\n  <ul>\\n    {{#each segments as |segment|}}\\n      <SimpleSegmentComponent\\n        @segment={{segment}}\\n        @attribute={{attribute}}\\n        @userOrCompany={{userOrCompany}}\\n      />\\n    {{/each}}\\n  </ul>\\n{{else}}\\n  <span class=\\\"text-gray\\\">\\n    Unknown\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/attribute-company-tag-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/attribute-company-tag-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { alias } from '@ember/object/computed';\nimport AttributeComponent from 'embercom/components/attribute-component';\n\nlet ProfileCompanyTagComponent = AttributeComponent.extend({\n  segments: alias('userOrCompany.segments'),\n});\n\nexport default ProfileCompanyTagComponent;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { computed } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport AttributeComponent from 'embercom/components/attribute-component';\nimport B64FilterParamEncoder from 'embercom/vendor/intercom/b64-filter-param-encoder';\n\nlet SimpleSegmentComponent = AttributeComponent.extend({\n  value: alias('segment.name'),\n  filterUrl: computed('userOrCompany', 'attribute', 'segment.predicate', function() {\n    return B64FilterParamEncoder.filterUrlFromPredicates(\n      this.userOrCompany,\n      this.get('segment.predicates'),\n    );\n  }),\n});\n\nexport default SimpleSegmentComponent;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { on } from '@ember/object/evented';\nimport { isBlank } from '@ember/utils';\nimport { not } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport B64FilterParamEncoder from 'embercom/vendor/intercom/b64-filter-param-encoder';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport rawValueToFilterValue from 'embercom/lib/users/user-company-list/raw-value-to-filter-value';\n\nlet AttributeComponent = Component.extend({\n  tagName: 'span',\n  layoutName: 'components/attributes/attribute',\n  extraClass: '',\n  filterValue: computed('attribute.identifier', 'value', function() {\n    return rawValueToFilterValue(this.get('attribute.identifier'), this.value);\n  }),\n  filterUrl: computed('userOrCompany', 'attribute', 'value', function() {\n    return B64FilterParamEncoder.filterUrl(this.userOrCompany, this.attribute, this.filterValue);\n  }),\n  tooltipText: templateString('${value}'),\n  value: computed(\n    'userOrCompany',\n    'isNotBlank',\n    'userOrCompany.email',\n    'userOrCompany.display_as',\n    'attribute.identifier',\n    'userOrCompany._lastEdit',\n    function() {\n      if (this.isNotBlank) {\n        return this.userOrCompany.getValue(this.get('attribute.identifier'));\n      }\n      return 'Unknown';\n    },\n  ),\n  identifierWithoutPrefix: computed('attribute.identifier', function() {\n    let identifier = this.get('attribute.identifier');\n    if (this.get('userOrCompany.isCompany')) {\n      identifier = identifier.replace(/^company\\./, '');\n    }\n    return identifier;\n  }),\n  isBlank: not('isNotBlank'),\n  classNameBindings: ['isBlank:text-gray'],\n  isNotBlank: computed(\n    'userOrCompany',\n    'attribute.identifier',\n    'userOrCompany.email',\n    'userOrCompany.display_as',\n    'userOrCompany._lastEdit',\n    function() {\n      let userOrCompany = this.userOrCompany;\n      if (this.attribute && userOrCompany) {\n        return !isBlank(userOrCompany.getValue(this.get('attribute.identifier')));\n      }\n      return false;\n    },\n  ),\n  setValueTooltipText: on('init', function() {\n    this.set('valueTooltipText', this.tooltipText);\n  }),\n  fixClasses: on('init', function() {\n    this.classNames = this.classNames.slice();\n    this.classNames.push(this.extraClass);\n  }),\n});\n\nexport default AttributeComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isNotBlank ~}}\\n  {{#if showTooltip}}\\n    <span {{tooltip content=tooltipText}}>\\n     {{#if linkDisabled}}\\n      <span class=\\\"{{if isJustNow 'text-green-dark'}}\\\">\\n        {{#if icon}}\\n          {{ic-interface-icon icon}}\\n        {{/if}}\\n        {{value}}\\n      </span>\\n     {{else}}\\n     <a href={{filterUrl}} class=\\\"{{if isJustNow 'text-green-dark'}} t__solo-link\\\">\\n       {{#if icon}}\\n         {{ic-interface-icon icon}}\\n       {{/if}}\\n       {{value}}\\n     </a>\\n     {{/if}}\\n    </span>\\n  {{else}}\\n    <a href={{filterUrl}} class=\\\"{{if isJustNow 'text-green-dark'}} t__solo-link\\\">\\n      {{#if icon}}\\n        {{ic-interface-icon icon}}\\n      {{/if}}\\n      {{value}}\\n    </a>\\n  {{/if}}\\n{{else}}\\n  {{#if showTooltip}}\\n    <span {{tooltip content=tooltipText}}>{{value}}</span>\\n  {{else}}\\n    {{value}}\\n  {{/if}}\\n{{/if ~}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isNotBlank ~}}\\n  {{#if showTooltip}}\\n    <span {{tooltip content=tooltipText}}>\\n     {{#if linkDisabled}}\\n      <span class=\\\"{{if isJustNow 'text-green-dark'}}\\\">\\n        {{#if icon}}\\n          {{ic-interface-icon icon}}\\n        {{/if}}\\n        {{value}}\\n      </span>\\n     {{else}}\\n     <a href={{filterUrl}} class=\\\"{{if isJustNow 'text-green-dark'}} t__solo-link\\\">\\n       {{#if icon}}\\n         {{ic-interface-icon icon}}\\n       {{/if}}\\n       {{value}}\\n     </a>\\n     {{/if}}\\n    </span>\\n  {{else}}\\n    <a href={{filterUrl}} class=\\\"{{if isJustNow 'text-green-dark'}} t__solo-link\\\">\\n      {{#if icon}}\\n        {{ic-interface-icon icon}}\\n      {{/if}}\\n      {{value}}\\n    </a>\\n  {{/if}}\\n{{else}}\\n  {{#if showTooltip}}\\n    <span {{tooltip content=tooltipText}}>{{value}}</span>\\n  {{else}}\\n    {{value}}\\n  {{/if}}\\n{{/if ~}}\\n\",\"moduleName\":\"embercom/components/attribute-date-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/attribute-date-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\nimport { isBlank } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport { equal, or, and } from '@ember/object/computed';\nimport AttributeComponent from 'embercom/components/attribute-component';\nimport B64FilterParamEncoder from 'embercom/vendor/intercom/b64-filter-param-encoder';\nimport DateFormatter from 'embercom/vendor/intercom/date-formatter';\nimport {\n  equalsAny,\n  templateString,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport moment from 'moment';\n\nlet AttributeDateComponent = AttributeComponent.extend({\n  isUserLastRequestAt: equalsAny('attribute.identifier', [\n    'last_request_at',\n    'last_request_at_ios',\n    'last_request_at_android',\n  ]),\n  isCompanyLastRequestAt: equal('attribute.identifier', 'company.last_request_at'),\n  isLastRequestAt: or('isCompanyLastRequestAt', 'isUserLastRequestAt'),\n  isRecent: equal('value', 'Just now'),\n  isJustNow: and('isLastRequestAt', 'isRecent'),\n  tooltipText: templateString('${tooltipDate}'),\n  tooltipDate: ternaryToProperty('rawValue', 'formattedToolTipDate', 'defaultToolTipValue'),\n  defaultToolTipValue: 'Unknown',\n  formattedToolTipDate: computed('rawValue', function() {\n    return moment(this.rawValue).format(dateAndTimeFormats.fullDateAndTimeWithoutTimezone);\n  }),\n  rawValue: computed(\n    'attribute.identifier',\n    'userOrCompany',\n    'userOrCompany.last_request_at',\n    'userOrCompany.last_request_at_ios',\n    'userOrCompany.last_request_at_android',\n    function() {\n      return this.get(`userOrCompany.${this.get('attribute.identifierWithoutCompanyPrefix')}`);\n    },\n  ),\n  isUnixTimestamp: computed('rawValue', function() {\n    return this.rawValue && !isNaN(this.rawValue);\n  }),\n  unixTimestampToTimeString: computed('rawValue', function() {\n    return moment.unix(this.rawValue).toString();\n  }),\n  cleanedDateValue: ternaryToProperty('isUnixTimestamp', 'unixTimestampToTimeString', 'rawValue'),\n  value: computed('rawValue', 'attribute.identifier', function() {\n    let previousLocale = moment.locale();\n    if (this.inInbox) {\n      moment.locale('en-inbox-attribute-date', {\n        relativeTime: {\n          future: 'Just now',\n          past: '%s',\n          s: 'Just now',\n          m: '1m ago',\n          mm: '%dm ago',\n          h: '1h ago',\n          hh: '%dh ago',\n          d: '1d ago',\n          dd: '%dd ago',\n          M: '1mth ago',\n          MM: '%dmth ago',\n          y: '1y ago',\n          yy: '%dy ago',\n        },\n      });\n    }\n\n    let valueToDisplay = null;\n    if (this.isLastRequestAt) {\n      valueToDisplay = DateFormatter.forcedPastFromNowRealTime(this.cleanedDateValue);\n    } else {\n      valueToDisplay = DateFormatter.attributeFromNow(\n        this.cleanedDateValue,\n        this.get('attribute.forcedPastFromNow'),\n      );\n    }\n\n    if (this.inInbox) {\n      moment.locale(previousLocale);\n    }\n    return valueToDisplay;\n  }),\n  filterUrl: computed('userOrCompany', 'attribute', 'rawValue', function() {\n    return B64FilterParamEncoder.filterUrl(this.userOrCompany, this.attribute, this.rawValue);\n  }),\n  isNotBlank: computed('userOrCompany', 'attribute.identifier', function() {\n    let userOrCompany = this.userOrCompany;\n    if (this.attribute && userOrCompany) {\n      return !isBlank(userOrCompany.getValue(this.get('attribute.identifier')));\n    }\n    return false;\n  }),\n});\n\nexport default AttributeDateComponent;\n","import AttributeEditor from '@intercom/embercom-composer/components/attribute-editor';\nexport default AttributeEditor;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\nimport { computed } from '@ember/object';\nimport AttributeComponent from 'embercom/components/attribute-component';\nimport SpendHighlight from 'embercom/components/mixins/users-and-companies/spend-highlight';\n\nlet ProfileFloatComponent = AttributeComponent.extend(SpendHighlight, {\n  classNameBindings: ['showPositiveMonthlySpendDetails:text-green'],\n  layoutName: 'components/attribute-spend-component',\n  value: computed(\n    'userOrCompany',\n    'isNotBlank',\n    'userOrCompany.email',\n    'userOrCompany.display_as',\n    'attribute.identifier',\n    function() {\n      let value = this._super();\n      if (this.get('attribute.isCurrencyType')) {\n        return `$${value}.00`;\n      }\n      return value;\n    },\n  ),\n});\n\nexport default ProfileFloatComponent;\n","import AttributeInserter from '@intercom/embercom-composer/components/attribute-inserter';\nexport default AttributeInserter;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport AttributeComponent from 'embercom/components/attribute-component';\n\nlet ProfileIntegerComponent = AttributeComponent.extend();\n\nexport default ProfileIntegerComponent;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { computed } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport AttributeComponent from 'embercom/components/attribute-component';\nimport B64FilterParamEncoder from 'embercom/vendor/intercom/b64-filter-param-encoder';\n\nlet AttributeItemComponent = AttributeComponent.extend({\n  value: alias('item.name'),\n  filterUrl: computed('userOrCompany', 'attribute', 'segment.predicate', function() {\n    return B64FilterParamEncoder.filterUrlFromPredicates(\n      this.userOrCompany,\n      this.get('segment.predicates'),\n    );\n  }),\n});\n\nexport default AttributeItemComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isNotBlank ~}}\\n  {{#if showTooltip}}\\n    <span {{tooltip content=parsedValue isInteractive=true}}>\\n      <div class=\\\"user-list__cell-link__conversation-rating conversation-rating__rating-{{value}}\\\"></div>\\n      <a href=\\\"{{filterUrl}}\\\" class=\\\"t__solo-link\\\">{{parsedValue}}</a>\\n    </span>\\n  {{else}}\\n    <div class=\\\"user-list__cell-link__conversation-rating conversation-rating__rating-{{value}}\\\"></div>\\n    <a href=\\\"{{filterUrl}}\\\" class=\\\"t__solo-link\\\">{{parsedValue}}</a>\\n  {{/if}}\\n{{else}}\\n  {{~#if showTooltip}}\\n    <span {{tooltip content=tooltipText isInteractive=true}}>{{value}}</span>\\n    {{~else~}}\\n    {{value}}\\n  {{~/if~}}\\n{{/if ~}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isNotBlank ~}}\\n  {{#if showTooltip}}\\n    <span {{tooltip content=parsedValue isInteractive=true}}>\\n      <div class=\\\"user-list__cell-link__conversation-rating conversation-rating__rating-{{value}}\\\"></div>\\n      <a href=\\\"{{filterUrl}}\\\" class=\\\"t__solo-link\\\">{{parsedValue}}</a>\\n    </span>\\n  {{else}}\\n    <div class=\\\"user-list__cell-link__conversation-rating conversation-rating__rating-{{value}}\\\"></div>\\n    <a href=\\\"{{filterUrl}}\\\" class=\\\"t__solo-link\\\">{{parsedValue}}</a>\\n  {{/if}}\\n{{else}}\\n  {{~#if showTooltip}}\\n    <span {{tooltip content=tooltipText isInteractive=true}}>{{value}}</span>\\n    {{~else~}}\\n    {{value}}\\n  {{~/if~}}\\n{{/if ~}}\\n\",\"moduleName\":\"embercom/components/attribute-last-conversation-rating-given-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/attribute-last-conversation-rating-given-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport AttributeComponent from 'embercom/components/attribute-component';\nimport { selectFromObject } from '@intercom/embercom-core/lib/computed-properties';\n\nlet ProfileLastConversationRatingGivenComponent = AttributeComponent.extend({\n  parsedValue: selectFromObject('parsedValues', 'value'),\n  parsedValues: {\n    5: 'Amazing',\n    4: 'Great',\n    3: 'Ok',\n    2: 'Bad',\n    1: 'Terrible',\n  },\n});\n\nexport default ProfileLastConversationRatingGivenComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if tags}}\\n  {{#if spaceSeparated}}\\n    {{#each tags as |tag|}}\\n      <SimpleTagComponent\\n        @tagModel={{tag}}\\n        @attribute={{attribute}}\\n        @spaceSeparated={{true}}\\n        @userOrCompany={{userOrCompany}}\\n      />\\n    {{/each}}\\n  {{else}}\\n    <ul>\\n      {{#each tags as |tag|}}\\n        <SimpleTagComponent\\n          @tagModel={{tag}}\\n          @attribute={{attribute}}\\n          @userOrCompany={{userOrCompany}}\\n        />\\n      {{/each}}\\n    </ul>\\n  {{/if}}\\n{{else}}\\n  <span class=\\\"text-gray\\\">\\n    Unknown\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if tags}}\\n  {{#if spaceSeparated}}\\n    {{#each tags as |tag|}}\\n      <SimpleTagComponent\\n        @tagModel={{tag}}\\n        @attribute={{attribute}}\\n        @spaceSeparated={{true}}\\n        @userOrCompany={{userOrCompany}}\\n      />\\n    {{/each}}\\n  {{else}}\\n    <ul>\\n      {{#each tags as |tag|}}\\n        <SimpleTagComponent\\n          @tagModel={{tag}}\\n          @attribute={{attribute}}\\n          @userOrCompany={{userOrCompany}}\\n        />\\n      {{/each}}\\n    </ul>\\n  {{/if}}\\n{{else}}\\n  <span class=\\\"text-gray\\\">\\n    Unknown\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/attribute-manual-tag-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/attribute-manual-tag-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { alias } from '@ember/object/computed';\nimport AttributeComponent from 'embercom/components/attribute-component';\n\nlet ProfileManualTagsComponent = AttributeComponent.extend({\n  tags: alias('userOrCompany.tags'),\n  spaceSeparated: false,\n});\n\nexport default ProfileManualTagsComponent;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { computed } from '@ember/object';\nimport { alias, notEmpty } from '@ember/object/computed';\nimport AttributeComponent from 'embercom/components/attribute-component';\nimport B64FilterParamEncoder from 'embercom/vendor/intercom/b64-filter-param-encoder';\nimport SpendHighlight from 'embercom/components/mixins/users-and-companies/spend-highlight';\n\nlet AttributePlanComponent = AttributeComponent.extend(SpendHighlight, {\n  layoutName: 'components/attribute-spend-component',\n  value: alias('userOrCompany.plan.name'),\n  isNotBlank: notEmpty('value'),\n  filterUrl: computed('userOrCompany', 'userOrCompany.plan.id', 'attribute', 'value', function() {\n    return B64FilterParamEncoder.filterUrl(\n      this.userOrCompany,\n      this.attribute,\n      this.get('userOrCompany.plan.id'),\n    );\n  }),\n});\n\nexport default AttributePlanComponent;\n","import AttributeSelectorComponent from '@intercom/embercom-composer/components/attribute-selector';\nexport default AttributeSelectorComponent;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-side-effects */\nimport { and } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport AttributeComponent from 'embercom/components/attribute-component';\n\nlet ProfileStringComponent = AttributeComponent.extend({\n  isMultipleUrl: computed('userOrCompany', 'attribute', 'value', function() {\n    let urls = this.commaSeparatedTokens;\n    if (urls.length > 1) {\n      return urls.every(function(element) {\n        return element.match(/^https?:\\/\\//);\n      });\n    }\n    return false;\n  }),\n  linkToEmailDomain: and('isEmailAddress', 'isNotEmailDomain'),\n  isEmailAddress: computed('userOrCompany', 'attribute', 'value', function() {\n    let regex = /^([a-z0-9._%+-]+)@([a-z0-9.-]+\\.[a-z]{2,4})$/;\n    let matches = regex.exec(this.value.toString().toLowerCase());\n    if (matches && matches.length === 3) {\n      this.set('emailUsername', matches[1]);\n      this.set('emailDomain', matches[2]);\n      return true;\n    }\n    return false;\n  }),\n  isNotEmailDomain: computed('emailDomain', function() {\n    let emailDomain = this.emailDomain;\n    return !['gmail.com', 'yahoo.com', 'hotmail.com', 'outlook.com'].includes(emailDomain);\n  }),\n  commaSeparatedTokens: computed('userOrCompany', 'attribute', 'value', function() {\n    let tokens = this.value.toString().split(',');\n    return tokens.map(function(token) {\n      return String(token).trim();\n    });\n  }),\n  filterUrl: computed('userOrCompany', 'attribute', 'value', function() {\n    if (this.value && this.value.toString().match(/^https?:\\/\\//)) {\n      return this.value;\n    }\n    return this._super();\n  }),\n});\n\nexport default ProfileStringComponent;\n","define(\"embercom/components/attributes/attribute-item\", [\"exports\", \"predicates/components/attributes/attribute-item\"], function (_exports, _attributeItem) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _attributeItem.default;\n    }\n  });\n});\n","define(\"embercom/components/attributes/attribute-picker-opener\", [\"exports\", \"predicates/components/attributes/attribute-picker-opener\"], function (_exports, _attributePickerOpener) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _attributePickerOpener.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nimport $ from 'jquery';\n\nlet AutoFocusComponent = Component.extend({\n  focusIf: true,\n  withNewLine: true,\n  shouldSelect: false,\n  focusBeginningOfInput: false,\n  preventScrollDown: false,\n  focusIfShould() {\n    if (!this.focusIf) {\n      return;\n    }\n\n    let $fields = $('input:text, textarea, input[type=\"email\"]', this.element);\n\n    if ($fields === undefined) {\n      return;\n    }\n\n    let $element = $fields.first();\n\n    if (this.preventScrollDown) {\n      let x = window.scrollX;\n      let y = window.scrollY;\n      $element.select().focus();\n      window.scrollTo(x, y);\n    } else if ($element.is('input')) {\n      if (this.focusBeginningOfInput) {\n        $element.select().focus();\n      } else if (this.shouldSelect) {\n        $element.focus().select();\n      } else {\n        $element.focus();\n      }\n    } else if ($element.is('textarea')) {\n      let value = $element.val();\n      if (this.withNewLine) {\n        value = `${value}\\n`;\n      }\n      if (this.shouldSelect) {\n        $element\n          .focus()\n          .val(value)\n          .select();\n      } else {\n        $element.focus().val(value);\n      }\n    }\n  },\n  didRender() {\n    this._super(...arguments);\n    let focusIf = this.focusIf;\n    if (focusIf !== this._lastFocusIf) {\n      this.focusIfShould();\n    }\n    this._lastFocusIf = focusIf;\n  },\n});\n\nexport default AutoFocusComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Textarea\\n  @value={{value}}\\n  class={{textareaClasses}}\\n  @maxlength={{maxlength}}\\n  @disabled={{Disabled}}\\n  placeholder={{placeholder}}\\n/>\\n<pre class=\\\"absolute invisible break-all\\\"></pre>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Textarea\\n  @value={{value}}\\n  class={{textareaClasses}}\\n  @maxlength={{maxlength}}\\n  @disabled={{Disabled}}\\n  placeholder={{placeholder}}\\n/>\\n<pre class=\\\"absolute invisible break-all\\\"></pre>\\n\",\"moduleName\":\"embercom/components/auto-resizing-textarea-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/auto-resizing-textarea-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { cancel, throttle } from '@ember/runloop';\nimport $ from 'jquery';\nimport { on } from '@ember/object/evented';\nimport Component from '@ember/component';\nlet AutoResizingTextareaComponent = Component.extend({\n  maxHeight: 700,\n  isDisabled: false,\n  textInitiator: on('didInsertElement', function() {\n    this.setInitialVariables();\n    this.resizeTextArea();\n  }),\n  onDestroy: on('willDestroyElement', function() {\n    this.unsetInitialVariables();\n    cancel(this.resizingTimer);\n  }),\n  resizeTextArea() {\n    let $heightHelper = this.$heightHelper;\n    let $textarea = this.$textarea;\n\n    $heightHelper.text(this.value || '');\n    let newHeight = this.calculateNewHeight();\n\n    if (this.isResizable !== false) {\n      if (newHeight < this.maxHeight) {\n        if (newHeight > this.minHeight) {\n          $textarea.height(newHeight);\n        } else {\n          $textarea.height(this.minHeight);\n        }\n      } else {\n        $textarea.height(this.maxHeight);\n      }\n    }\n  },\n  calculateNewHeight() {\n    return this.$heightHelper.outerHeight() + this.borderTop + this.borderBottom;\n  },\n  setInitialVariables() {\n    this.setProperties({\n      $textarea: $('textarea', this.element),\n      $heightHelper: $('pre', this.element),\n    });\n\n    let $textarea = this.$textarea;\n\n    this.$heightHelper.addClass($textarea.attr('class'));\n    this.$heightHelper.css('width', $textarea.css('width'));\n\n    this.setProperties({\n      minHeight: parseInt($textarea.css('min-height'), 10),\n      borderTop: parseFloat($textarea.css('border-top-width')),\n      borderBottom: parseFloat($textarea.css('border-bottom-width')),\n      lineHeight: parseInt($textarea.css('line-height'), 10),\n    });\n  },\n  unsetInitialVariables() {\n    this.set('$textarea', null);\n    this.set('$heightHelper', null);\n  },\n  handleKeyDown: on('keyDown', function() {\n    this.resizingTimer = throttle(this, this.resizeTextArea, 20, false);\n  }),\n  actions: {\n    forceResizeTextArea() {\n      this.resizeTextArea();\n    },\n  },\n});\n\nexport default AutoResizingTextareaComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<AutoResizingTextareaComponent\\n  @value={{text}}\\n  @textareaClasses={{textareaClasses}}\\n  @maxlength={{maxlength}}\\n  @disabled={{isDisabled}}\\n  placeholder={{placeholderText}}\\n  @isResizable={{isResizable}}\\n/>\\n<div\\n  class=\\\"auto-resizing-textarea-with-count__count-container t__light-text mt-1\\\"\\n>\\n  {{count}} characters remaining\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<AutoResizingTextareaComponent\\n  @value={{text}}\\n  @textareaClasses={{textareaClasses}}\\n  @maxlength={{maxlength}}\\n  @disabled={{isDisabled}}\\n  placeholder={{placeholderText}}\\n  @isResizable={{isResizable}}\\n/>\\n<div\\n  class=\\\"auto-resizing-textarea-with-count__count-container t__light-text mt-1\\\"\\n>\\n  {{count}} characters remaining\\n</div>\\n\",\"moduleName\":\"embercom/components/auto-resizing-textarea-with-count-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/auto-resizing-textarea-with-count-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { cancel, throttle } from '@ember/runloop';\nimport $ from 'jquery';\nimport { on } from '@ember/object/evented';\nimport Component from '@ember/component';\nlet AutoResizingTextareaWithCountComponent = Component.extend({\n  countInitiator: on('didInsertElement', function() {\n    this.updateCountAndStatus();\n  }),\n  onDestroy: on('willDestroyElement', function() {\n    cancel(this.pasteTimer);\n    cancel(this.keyDownTimer);\n  }),\n  updateCountAndStatus() {\n    this.updateCount();\n    if (this.count < 0) {\n      $('.auto-resizing-textarea-with-count__count-container', this.element).addClass('text-red');\n      this.set('error', true);\n      this.set('isResizable', false);\n    } else {\n      $('.auto-resizing-textarea-with-count__count-container', this.element).removeClass(\n        'text-red',\n      );\n      $('textarea', this.element).removeClass('o__error');\n      this.set('error', false);\n      this.set('isResizable', true);\n    }\n  },\n  handlePaste: on('paste', function() {\n    this.pasteTimer = throttle(this, this.updateCountAndStatus, 10, false);\n  }),\n  handleKeyDown: on('keyDown', function() {\n    this.keyDownTimer = throttle(this, this.updateCountAndStatus, 10, false);\n  }),\n  updateCount() {\n    this.set('count', this.maxLength - (this.text || '').length);\n  },\n});\n\nexport default AutoResizingTextareaWithCountComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Popover\\n  @showOn={{array 'click'}}\\n  @hideOn={{array 'click' 'clickout'}}\\n  @placement=\\\"bottom-start\\\"\\n  @fallbackPlacements={{array 'top' 'left' 'right' 'auto'}}\\n  class=\\\"m__avatar__emoji__selector\\\"\\n  {{on 'click' (stop-propagation (noop))}}\\n  as |popover|\\n>\\n  <popover.Opener>\\n    <IcCard\\n      @isInteractive={{true}}\\n      class=\\\"team__emoji-selector__container js__popover-opener__emoji\\\"\\n    >\\n      <div data-test-emoji-selector-button>\\n        <div class=\\\"flex items-center\\\">\\n          <div class=\\\"team__emoji-selector__image\\\">\\n            {{this.htmlSafedisplayableSelectedEmoji}}\\n          </div>\\n        </div>\\n      </div>\\n    </IcCard>\\n  </popover.Opener>\\n  <popover.Content @fullBleed={{true}} class=\\\"emoji__popover\\\">\\n    <EmojiComponent\\n      @selectEmoji={{queue @selectAvatarEmoji popover.hide}}\\n      @forceTwemojis={{true}}\\n    />\\n  </popover.Content>\\n</Popover>\\n\", {\"contents\":\"<Popover\\n  @showOn={{array 'click'}}\\n  @hideOn={{array 'click' 'clickout'}}\\n  @placement=\\\"bottom-start\\\"\\n  @fallbackPlacements={{array 'top' 'left' 'right' 'auto'}}\\n  class=\\\"m__avatar__emoji__selector\\\"\\n  {{on 'click' (stop-propagation (noop))}}\\n  as |popover|\\n>\\n  <popover.Opener>\\n    <IcCard\\n      @isInteractive={{true}}\\n      class=\\\"team__emoji-selector__container js__popover-opener__emoji\\\"\\n    >\\n      <div data-test-emoji-selector-button>\\n        <div class=\\\"flex items-center\\\">\\n          <div class=\\\"team__emoji-selector__image\\\">\\n            {{this.htmlSafedisplayableSelectedEmoji}}\\n          </div>\\n        </div>\\n      </div>\\n    </IcCard>\\n  </popover.Opener>\\n  <popover.Content @fullBleed={{true}} class=\\\"emoji__popover\\\">\\n    <EmojiComponent\\n      @selectEmoji={{queue @selectAvatarEmoji popover.hide}}\\n      @forceTwemojis={{true}}\\n    />\\n  </popover.Content>\\n</Popover>\\n\",\"moduleName\":\"embercom/components/avatar-emoji-selector-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/avatar-emoji-selector-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { htmlSafe } from '@ember/string';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport intermoji from '@intercom/intermoji';\n\nlet AvatarEmojiSelectorComponent = Component.extend({\n  tagName: '',\n\n  selectedEmoji: null,\n  emoji: intermoji,\n  emojiSize: 16,\n  emojiImageClass: 'emoji__image',\n\n  displayableSelectedEmoji: computed('selectedEmoji', function() {\n    return this.emoji.fallbackImage(\n      this.emojiSize,\n      intermoji.getEmojiFromSupportedTwemoji(this.selectedEmoji),\n      this.emojiImageClass,\n    );\n  }),\n  htmlSafedisplayableSelectedEmoji: computed('displayableSelectedEmoji', function() {\n    return htmlSafe(this.displayableSelectedEmoji);\n  }),\n});\nexport default AvatarEmojiSelectorComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"  <span class=\\\"z-40\\\"\\n    data-test-action-url-inserter>\\n    <ComposerV2\\n      @app={{service 'appService.app'}}\\n      @actionReceiver={{this.composer}}\\n      @attributes={{service 'attributeService.bannerActionUrlComposerAttributes'}}\\n      @blocks={{this.actionUrlBlocks}}\\n      @editorClass=\\\"f__text\\\"\\n      @isReadOnly={{not @isEditing}}\\n      @onChange={{this.updateActionUrl}}\\n      @onError={{composer-error-logger \\\"Banner Messages\\\"}}\\n      @placeholder=\\\"Enter a URL\\\"\\n      @preset=\\\"pushOnly\\\"\\n    />\\n  </span>\\n\", {\"contents\":\"  <span class=\\\"z-40\\\"\\n    data-test-action-url-inserter>\\n    <ComposerV2\\n      @app={{service 'appService.app'}}\\n      @actionReceiver={{this.composer}}\\n      @attributes={{service 'attributeService.bannerActionUrlComposerAttributes'}}\\n      @blocks={{this.actionUrlBlocks}}\\n      @editorClass=\\\"f__text\\\"\\n      @isReadOnly={{not @isEditing}}\\n      @onChange={{this.updateActionUrl}}\\n      @onError={{composer-error-logger \\\"Banner Messages\\\"}}\\n      @placeholder=\\\"Enter a URL\\\"\\n      @preset=\\\"pushOnly\\\"\\n    />\\n  </span>\\n\",\"moduleName\":\"embercom/components/banners/editor/content/action-url.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/banners/editor/content/action-url.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { htmlToTextContent } from 'embercom/lib/html-unescape';\n\nexport default class ActionUrl extends Component {\n  hoverAreaPadding = {\n    top: 10,\n    left: 5,\n    right: 50,\n    bottom: 10,\n  };\n\n  get bannerContent() {\n    return this.args.localizedBannerContent;\n  }\n\n  get actionUrlBlocks() {\n    return [\n      {\n        type: 'paragraph',\n        text: this.bannerContent.actionHref,\n      },\n    ];\n  }\n\n  @action updateActionUrl() {\n    let blocks = this.composer.getBlocks();\n    let blockText = blocks.get('firstObject.text') || '';\n    let textContent = htmlToTextContent(blockText);\n    blockText = textContent.trim();\n    this.bannerContent.actionHref = blockText;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col flex-1 gap-4 {{if @isEditing \\\"m-8\\\"}}\\\" ...attributes data-test-banner-chrome>\\n  <div class=\\\"flex flex-col\\\">\\n    {{#if @banner.isTopPositioned}}\\n      <Banners::Editor::Content::WebChrome::TopBanner\\n        @banner={{@banner}} @localizedBannerContent={{@localizedBannerContent}} @isEditing={{@isEditing}}\\n      />\\n    {{/if}}\\n    {{#if @banner.isBottomPositioned}}\\n      <Banners::Editor::Content::WebChrome::BottomBanner\\n        @banner={{@banner}} @localizedBannerContent={{@localizedBannerContent}} @isEditing={{@isEditing}}\\n      />\\n    {{/if}}\\n  </div>\\n</div>\", {\"contents\":\"<div class=\\\"flex flex-col flex-1 gap-4 {{if @isEditing \\\"m-8\\\"}}\\\" ...attributes data-test-banner-chrome>\\n  <div class=\\\"flex flex-col\\\">\\n    {{#if @banner.isTopPositioned}}\\n      <Banners::Editor::Content::WebChrome::TopBanner\\n        @banner={{@banner}} @localizedBannerContent={{@localizedBannerContent}} @isEditing={{@isEditing}}\\n      />\\n    {{/if}}\\n    {{#if @banner.isBottomPositioned}}\\n      <Banners::Editor::Content::WebChrome::BottomBanner\\n        @banner={{@banner}} @localizedBannerContent={{@localizedBannerContent}} @isEditing={{@isEditing}}\\n      />\\n    {{/if}}\\n  </div>\\n</div>\",\"moduleName\":\"embercom/components/banners/editor/content/banner-web-chrome.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/banners/editor/content/banner-web-chrome.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<style data-test-banner-composer-styles>\\n  * {\\n    --banner_text_color: {{this.bannerTextColor}};\\n    --banner_background_color: {{this.bannerColor}};\\n  }\\n</style>\\n<div class=\\\"banners__editor__content__composer-wrapper o__{{@banner.style}}\\\" data-test-banner-content-block>\\n  {{#if this.shouldShowAvatar}}\\n    <IcAvatarComponent\\n      @model={{this.localizedBannerContent.from}}\\n      @size=\\\"m\\\"\\n      class=\\\"mx-2\\\"\\n    />\\n  {{/if}}\\n  <div class=\\\"flex flex-col justify-center z-40 banners__editor__content__inner-composer p-1 {{if this.showButton '' 'mr-2'}}\\\" {{did-update this.loadBlocksIntoComposer @localizedBannerContent}}>\\n    <ComposerV2\\n      @actionReceiver={{this.composer}}\\n      @editorClass=\\\"banners__editor__content__composer-editor\\\"\\n      @preset={{if @isEditing \\\"banner\\\" \\\"bannerReadOnly\\\"}}\\n      @blocks={{this.serializedBlocks}}\\n      @onChange={{this.updateBlocks}}\\n      @app={{this.app}}\\n      @isReadOnly={{not @isEditing}}\\n      @attributes={{this.app.allowedAttributes}}\\n      @placeholder=\\\"Enter your banner content\\\"\\n      @onError={{composer-error-logger \\\"Messages\\\"}}\\n    />\\n  </div>\\n  {{#if this.showButton}}\\n    <div class=\\\"banners__editor__content__action-title\\\"\\n      data-test-banner-editor-action-title>\\n      <span>{{this.localizedBannerContent.actionTitle}}</span>\\n    </div>\\n  {{else if @banner.isReactionAction}}\\n    <div class=\\\"banners__editor__content__reaction-picker-container\\\" data-test-banner-reactions>\\n      <ContentEditor::Panels::Content::Reactions::ReactionPicker\\n        @deviceType={{'web'}}\\n        @isEditing={{false}}\\n        @content={{@banner}}\\n        @contentType='banner'\\n      />\\n    </div>\\n  {{else if @banner.isEmailCollectorAction}}\\n    <div class=\\\"banners__editor__content__email-collector p-1\\\" data-test-banner-email-collector-reply>\\n      <div class=\\\"intercom-text-input\\\">\\n        <input type=\\\"text\\\" value=\\\"you@company.com\\\" class=\\\"bg-transparent mr-10\\\" disabled>\\n        <span class=\\\"section__title__arrow\\\">\\n          {{ic-interface-icon 'small-thin-right-arrow' solo=true}}\\n        </span>\\n      </div>\\n    </div>\\n  {{/if}}\\n  <span class=\\\"banners__editor__content__close-icon\\\" data-test-banner-editor-dismiss-icon>\\n    {{ic-interface-icon \\\"close\\\"}}\\n  </span>\\n</div>\\n<MessengerPreview::Styles @configuration={{this.messengerSettings.previewConfiguration}} />\\n\", {\"contents\":\"<style data-test-banner-composer-styles>\\n  * {\\n    --banner_text_color: {{this.bannerTextColor}};\\n    --banner_background_color: {{this.bannerColor}};\\n  }\\n</style>\\n<div class=\\\"banners__editor__content__composer-wrapper o__{{@banner.style}}\\\" data-test-banner-content-block>\\n  {{#if this.shouldShowAvatar}}\\n    <IcAvatarComponent\\n      @model={{this.localizedBannerContent.from}}\\n      @size=\\\"m\\\"\\n      class=\\\"mx-2\\\"\\n    />\\n  {{/if}}\\n  <div class=\\\"flex flex-col justify-center z-40 banners__editor__content__inner-composer p-1 {{if this.showButton '' 'mr-2'}}\\\" {{did-update this.loadBlocksIntoComposer @localizedBannerContent}}>\\n    <ComposerV2\\n      @actionReceiver={{this.composer}}\\n      @editorClass=\\\"banners__editor__content__composer-editor\\\"\\n      @preset={{if @isEditing \\\"banner\\\" \\\"bannerReadOnly\\\"}}\\n      @blocks={{this.serializedBlocks}}\\n      @onChange={{this.updateBlocks}}\\n      @app={{this.app}}\\n      @isReadOnly={{not @isEditing}}\\n      @attributes={{this.app.allowedAttributes}}\\n      @placeholder=\\\"Enter your banner content\\\"\\n      @onError={{composer-error-logger \\\"Messages\\\"}}\\n    />\\n  </div>\\n  {{#if this.showButton}}\\n    <div class=\\\"banners__editor__content__action-title\\\"\\n      data-test-banner-editor-action-title>\\n      <span>{{this.localizedBannerContent.actionTitle}}</span>\\n    </div>\\n  {{else if @banner.isReactionAction}}\\n    <div class=\\\"banners__editor__content__reaction-picker-container\\\" data-test-banner-reactions>\\n      <ContentEditor::Panels::Content::Reactions::ReactionPicker\\n        @deviceType={{'web'}}\\n        @isEditing={{false}}\\n        @content={{@banner}}\\n        @contentType='banner'\\n      />\\n    </div>\\n  {{else if @banner.isEmailCollectorAction}}\\n    <div class=\\\"banners__editor__content__email-collector p-1\\\" data-test-banner-email-collector-reply>\\n      <div class=\\\"intercom-text-input\\\">\\n        <input type=\\\"text\\\" value=\\\"you@company.com\\\" class=\\\"bg-transparent mr-10\\\" disabled>\\n        <span class=\\\"section__title__arrow\\\">\\n          {{ic-interface-icon 'small-thin-right-arrow' solo=true}}\\n        </span>\\n      </div>\\n    </div>\\n  {{/if}}\\n  <span class=\\\"banners__editor__content__close-icon\\\" data-test-banner-editor-dismiss-icon>\\n    {{ic-interface-icon \\\"close\\\"}}\\n  </span>\\n</div>\\n<MessengerPreview::Styles @configuration={{this.messengerSettings.previewConfiguration}} />\\n\",\"moduleName\":\"embercom/components/banners/editor/content/composer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/banners/editor/content/composer.hbs\"}});\nimport ENV from 'embercom/config/environment';\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { throttle } from '@ember/runloop';\nimport createFragmentFromBlock from 'embercom/lib/blocks/create-fragment-from-block';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport { compareBlocks } from 'embercom/lib/developer-hub/diff-calculator';\nimport intercomMessengerColors from '@intercom/intercom-messenger-colors';\n\nconst MINIMAL_CONTRAST_RATIO = 1.6;\nconst LIGHT_TEXT_COLOR = '#FFFFFF';\nconst DARK_TEXT_COLOR = '#000000';\nconst UNASSIGNED_SENDER = -1;\n\nexport default class Composer extends Component {\n  @service appService;\n  @service store;\n  @tracked messengerSettings = [];\n\n  constructor() {\n    super(...arguments);\n    this.fetchMessengerSettings.perform();\n  }\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get bannerColor() {\n    return this.args.banner.color;\n  }\n\n  get bannerTextColor() {\n    let messengerColors = intercomMessengerColors({\n      primaryColor: this.bannerColor,\n    });\n    return messengerColors.primary_on_white_contrast > MINIMAL_CONTRAST_RATIO\n      ? LIGHT_TEXT_COLOR\n      : DARK_TEXT_COLOR;\n  }\n\n  get localizedBannerContent() {\n    return this.args.localizedBannerContent;\n  }\n\n  get serializedBlocks() {\n    return this.localizedBannerContent.blocks.serialize();\n  }\n\n  get shouldShowAvatar() {\n    if (this.localizedBannerContent.fromId === UNASSIGNED_SENDER) {\n      return false;\n    }\n    return true;\n  }\n\n  get showButton() {\n    return this.args.banner.isOpenAURLAction;\n  }\n\n  _isValidForBlocksUpdate() {\n    return !this.isDestroying && this.composer && this.args.isEditing;\n  }\n\n  _performBlocksUpdate() {\n    if (this._isValidForBlocksUpdate()) {\n      let blocks = this.composer.getBlocks();\n      if (compareBlocks(blocks, this.serializedBlocks).hasDifference) {\n        let blockFragments = blocks.map(block => createFragmentFromBlock(this.store, block));\n        this.localizedBannerContent.blocks = blockFragments;\n      }\n    }\n  }\n\n  @task({ drop: true })\n  *fetchMessengerSettings() {\n    let messengerSettings = yield this.store.findRecord('messenger-settings/all', this.app.id);\n    this.messengerSettings = messengerSettings;\n  }\n\n  @action\n  loadBlocksIntoComposer() {\n    if (this.composer) {\n      this.composer.send('load', this.serializedBlocks);\n    }\n  }\n\n  @action\n  updateBlocks() {\n    throttle(this, this._performBlocksUpdate, ENV.APP._50MS, false);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div>\\n  <Banners::Editor::Content::BannerWebChrome\\n    @localizedBannerContent={{this.activeLocalizedBannerContent}}\\n    @banner={{@banner}}\\n    @isEditing={{true}}\\n  />\\n  <Form class=\\\"banners__banner-editor__content-panel pb-6\\\"\\n    as |form|>\\n    <div class=\\\"flex flex-row justify-between gap-16 m-6\\\">\\n      <div class=\\\"flex flex-col flex-1 space-y-3\\\">\\n        <Heading @size=\\\"3\\\">Banner Image</Heading>\\n        <form.Item as |item|>\\n          <IcSelect\\n            data-test-banner-image-filter\\n            @items={{array\\n              (hash text='Don\\\\'t show any image' value='no_image')\\n              (hash text='Show sender' value='sender')\\n            }}\\n            @onSelectItem={{this.setSelectedBannerOption}}\\n            @selectedValue={{this.selectedBannerImage}}\\n            @mode=\\\"block\\\"\\n          />\\n        </form.Item>\\n        {{#if (eq this.selectedBannerImage 'sender')}}\\n        <ContentEditor::Panels::Content::AssigneeDropdownWithFallback\\n          @selectedValueId={{this.activeLocalizedBannerContent.fromId}}\\n          @selectedValueType={{this.activeLocalizedBannerContent.senderType}}\\n          @onChangeId={{set this.activeLocalizedBannerContent.fromId}}\\n          @onChangeType={{set this.activeLocalizedBannerContent.senderType}}\\n          @isEmailMode={{false}}\\n          @filterPlaceholder=\\\"Search teammates and teams...\\\"\\n          data-test-from-dropdown\\n        />\\n        {{/if}}\\n      </div>\\n     <div class=\\\"flex flex-col flex-1 space-y-3\\\">\\n        <Heading @size=\\\"3\\\">Action</Heading>\\n        <form.Item as |item|>\\n          <IcSelect\\n            data-test-action-dropdown\\n            @items={{this.bannerActions}}\\n            @onSelectItem={{this.updateBannerAction}}\\n            @selectedValue={{@banner.action}}\\n            @mode=\\\"block\\\"\\n          />\\n        </form.Item>\\n        {{#if (eq @banner.action 'open_a_url')}}\\n          <form.Item as |item|>\\n            <item.Input\\n              @value={{this.activeLocalizedBannerContent.actionTitle}}\\n              @placeholder=\\\"Enter label\\\"\\n              @oninput={{set this.activeLocalizedBannerContent.actionTitle}}\\n              data-test-action-title-input\\n            />\\n          </form.Item>\\n          <Banners::Editor::Content::ActionUrl\\n            @localizedBannerContent={{this.activeLocalizedBannerContent}}\\n            @isEditing={{true}}\\n          />\\n          <IcContent>\\n            <div>\\n              <IcOnOffToggle\\n                data-test-toggle-new-tab\\n                @isOn={{this.openInNewTab}}\\n                @onClick={{this.toggleOpenInNewTab}}\\n              />\\n              <Text>\\n                Open in a new tab\\n              </Text>\\n            </div>\\n          </IcContent>\\n        {{else if (eq @banner.action 'reaction')}}\\n          <div class=\\\"banners__editor__content__reaction-picker-container flex-1\\\" data-test-banner-reaction-picker> \\n            <ContentEditor::Panels::Content::Reactions::ReactionPicker \\n              @deviceType={{@deviceType}} \\n              @isEditing={{true}} \\n              @content={{@banner}} \\n              @contentType='banner' \\n            />\\n          </div>\\n        {{/if}}\\n        {{#if (not (eq @banner.action 'no_action'))}}\\n          <IcContent>\\n            <div>\\n              <IcOnOffToggle\\n                data-test-toggle-dismiss-on-action\\n                @isOn={{@banner.dismissOnAction}}\\n                @onClick={{toggle \\\"args.banner.dismissOnAction\\\" this}}\\n              />\\n              <Text>\\n                Dismiss the banner on click\\n              </Text>\\n            </div>\\n          </IcContent>\\n        {{/if}}\\n      </div>\\n      <div class=\\\"flex flex-col flex-1 space-y-3\\\">\\n        <Heading @size=\\\"3\\\">Style</Heading>\\n        <div class=\\\"flex flex-col\\\" data-test-banner-style-switcher>\\n          <form.Item as |item|>\\n            <IcRadioButtonGroup\\n              @fullWidth={{true}}\\n              @selectedValue={{@banner.style}}\\n              @onSelectionChange={{set @banner.style}} as |group|\\n            >\\n              <group.button @label=\\\"Inline\\\" @value=\\\"inline\\\" @icon=\\\"inline\\\" />\\n              <group.button @label=\\\"Floating\\\" @value=\\\"floating\\\" @icon=\\\"floating\\\" />\\n            </IcRadioButtonGroup>\\n          </form.Item>\\n        </div>\\n        <div class=\\\"flex flex-col\\\" data-test-banner-position-switcher>\\n          <form.Item as |item|>\\n            <IcRadioButtonGroup\\n              @fullWidth={{true}}\\n              @selectedValue={{@banner.position}}\\n              @onSelectionChange={{set @banner.position}} as |group|\\n            >\\n              <group.button @label=\\\"Top\\\" @value=\\\"top\\\" @icon=\\\"top\\\" />\\n              <group.button @label=\\\"Bottom\\\" @value=\\\"bottom\\\" @icon=\\\"bottom\\\" />\\n            </IcRadioButtonGroup>\\n          </form.Item>\\n        </div>\\n        <div class=\\\"color-select__hex-container o__full-width\\\">\\n          <Settings::Appearance::ColorEditComponent\\n            data-test-secondary-color-input\\n            @value={{@banner.color}}\\n            @classNames=\\\"f__text o__fit color-select__hex-input\\\"\\n            @setColor={{set @banner.color}}\\n          />\\n          <span class=\\\"color-select__color-picker-opener-component-container\\\">\\n            <Settings::Appearance::ColorPicker\\n              @colpickLayout=\\\"custom\\\"\\n              @value={{@banner.color}}\\n              @colorOptions={{this.colorOptions}}\\n              @setColor={{set @banner.color}}\\n            />\\n          </span>\\n        </div>\\n      </div>\\n    </div>\\n  </Form>\\n</div>\\n\", {\"contents\":\"<div>\\n  <Banners::Editor::Content::BannerWebChrome\\n    @localizedBannerContent={{this.activeLocalizedBannerContent}}\\n    @banner={{@banner}}\\n    @isEditing={{true}}\\n  />\\n  <Form class=\\\"banners__banner-editor__content-panel pb-6\\\"\\n    as |form|>\\n    <div class=\\\"flex flex-row justify-between gap-16 m-6\\\">\\n      <div class=\\\"flex flex-col flex-1 space-y-3\\\">\\n        <Heading @size=\\\"3\\\">Banner Image</Heading>\\n        <form.Item as |item|>\\n          <IcSelect\\n            data-test-banner-image-filter\\n            @items={{array\\n              (hash text='Don\\\\'t show any image' value='no_image')\\n              (hash text='Show sender' value='sender')\\n            }}\\n            @onSelectItem={{this.setSelectedBannerOption}}\\n            @selectedValue={{this.selectedBannerImage}}\\n            @mode=\\\"block\\\"\\n          />\\n        </form.Item>\\n        {{#if (eq this.selectedBannerImage 'sender')}}\\n        <ContentEditor::Panels::Content::AssigneeDropdownWithFallback\\n          @selectedValueId={{this.activeLocalizedBannerContent.fromId}}\\n          @selectedValueType={{this.activeLocalizedBannerContent.senderType}}\\n          @onChangeId={{set this.activeLocalizedBannerContent.fromId}}\\n          @onChangeType={{set this.activeLocalizedBannerContent.senderType}}\\n          @isEmailMode={{false}}\\n          @filterPlaceholder=\\\"Search teammates and teams...\\\"\\n          data-test-from-dropdown\\n        />\\n        {{/if}}\\n      </div>\\n     <div class=\\\"flex flex-col flex-1 space-y-3\\\">\\n        <Heading @size=\\\"3\\\">Action</Heading>\\n        <form.Item as |item|>\\n          <IcSelect\\n            data-test-action-dropdown\\n            @items={{this.bannerActions}}\\n            @onSelectItem={{this.updateBannerAction}}\\n            @selectedValue={{@banner.action}}\\n            @mode=\\\"block\\\"\\n          />\\n        </form.Item>\\n        {{#if (eq @banner.action 'open_a_url')}}\\n          <form.Item as |item|>\\n            <item.Input\\n              @value={{this.activeLocalizedBannerContent.actionTitle}}\\n              @placeholder=\\\"Enter label\\\"\\n              @oninput={{set this.activeLocalizedBannerContent.actionTitle}}\\n              data-test-action-title-input\\n            />\\n          </form.Item>\\n          <Banners::Editor::Content::ActionUrl\\n            @localizedBannerContent={{this.activeLocalizedBannerContent}}\\n            @isEditing={{true}}\\n          />\\n          <IcContent>\\n            <div>\\n              <IcOnOffToggle\\n                data-test-toggle-new-tab\\n                @isOn={{this.openInNewTab}}\\n                @onClick={{this.toggleOpenInNewTab}}\\n              />\\n              <Text>\\n                Open in a new tab\\n              </Text>\\n            </div>\\n          </IcContent>\\n        {{else if (eq @banner.action 'reaction')}}\\n          <div class=\\\"banners__editor__content__reaction-picker-container flex-1\\\" data-test-banner-reaction-picker> \\n            <ContentEditor::Panels::Content::Reactions::ReactionPicker \\n              @deviceType={{@deviceType}} \\n              @isEditing={{true}} \\n              @content={{@banner}} \\n              @contentType='banner' \\n            />\\n          </div>\\n        {{/if}}\\n        {{#if (not (eq @banner.action 'no_action'))}}\\n          <IcContent>\\n            <div>\\n              <IcOnOffToggle\\n                data-test-toggle-dismiss-on-action\\n                @isOn={{@banner.dismissOnAction}}\\n                @onClick={{toggle \\\"args.banner.dismissOnAction\\\" this}}\\n              />\\n              <Text>\\n                Dismiss the banner on click\\n              </Text>\\n            </div>\\n          </IcContent>\\n        {{/if}}\\n      </div>\\n      <div class=\\\"flex flex-col flex-1 space-y-3\\\">\\n        <Heading @size=\\\"3\\\">Style</Heading>\\n        <div class=\\\"flex flex-col\\\" data-test-banner-style-switcher>\\n          <form.Item as |item|>\\n            <IcRadioButtonGroup\\n              @fullWidth={{true}}\\n              @selectedValue={{@banner.style}}\\n              @onSelectionChange={{set @banner.style}} as |group|\\n            >\\n              <group.button @label=\\\"Inline\\\" @value=\\\"inline\\\" @icon=\\\"inline\\\" />\\n              <group.button @label=\\\"Floating\\\" @value=\\\"floating\\\" @icon=\\\"floating\\\" />\\n            </IcRadioButtonGroup>\\n          </form.Item>\\n        </div>\\n        <div class=\\\"flex flex-col\\\" data-test-banner-position-switcher>\\n          <form.Item as |item|>\\n            <IcRadioButtonGroup\\n              @fullWidth={{true}}\\n              @selectedValue={{@banner.position}}\\n              @onSelectionChange={{set @banner.position}} as |group|\\n            >\\n              <group.button @label=\\\"Top\\\" @value=\\\"top\\\" @icon=\\\"top\\\" />\\n              <group.button @label=\\\"Bottom\\\" @value=\\\"bottom\\\" @icon=\\\"bottom\\\" />\\n            </IcRadioButtonGroup>\\n          </form.Item>\\n        </div>\\n        <div class=\\\"color-select__hex-container o__full-width\\\">\\n          <Settings::Appearance::ColorEditComponent\\n            data-test-secondary-color-input\\n            @value={{@banner.color}}\\n            @classNames=\\\"f__text o__fit color-select__hex-input\\\"\\n            @setColor={{set @banner.color}}\\n          />\\n          <span class=\\\"color-select__color-picker-opener-component-container\\\">\\n            <Settings::Appearance::ColorPicker\\n              @colpickLayout=\\\"custom\\\"\\n              @value={{@banner.color}}\\n              @colorOptions={{this.colorOptions}}\\n              @setColor={{set @banner.color}}\\n            />\\n          </span>\\n        </div>\\n      </div>\\n    </div>\\n  </Form>\\n</div>\\n\",\"moduleName\":\"embercom/components/banners/editor/content/panel.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/banners/editor/content/panel.hbs\"}});\nimport Component from '@glimmer/component';\nimport { DEFAULT_MESSENGER_COLORS } from 'embercom/lib/messenger-settings-defaults';\nimport { defaultReactions } from 'embercom/models/banners/banner';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nconst UNASSIGNED_SENDER = -1;\n\nexport default class ControlPanel extends Component {\n  @service appService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  bannerActions = [\n    { text: 'None', value: 'no_action' },\n    { text: 'Open a URL', value: 'open_a_url', icon: 'globe' },\n    { text: 'Ask for reactions', value: 'reaction', icon: 'lwr-happy' },\n    { text: 'Collect visitor emails', value: 'email_collector', icon: 'email' },\n  ];\n\n  colorOptions = DEFAULT_MESSENGER_COLORS;\n\n  get activeLocalizedBannerContent() {\n    return this.args.banner.localizedBannerContents.firstObject;\n  }\n\n  get openInNewTab() {\n    return this.args.banner.actionTarget === 'new_tab';\n  }\n\n  get selectedBannerImage() {\n    if (this.activeLocalizedBannerContent.fromId === UNASSIGNED_SENDER) {\n      return 'no_image';\n    }\n    return 'sender';\n  }\n\n  @action updateBannerAction(bannerAction) {\n    this.args.banner.action = bannerAction;\n\n    if (bannerAction === 'reaction' && this.args.banner.reactionSet.length === 0) {\n      this.args.banner.reactionSet = defaultReactions;\n    }\n\n    if (bannerAction !== 'open_a_url') {\n      this.activeLocalizedBannerContent.actionHref = null;\n      this.activeLocalizedBannerContent.actionTitle = null;\n    }\n  }\n\n  @action setSelectedBannerOption(bannerImageOption) {\n    if (bannerImageOption === 'no_image') {\n      this.activeLocalizedBannerContent.fromId = UNASSIGNED_SENDER;\n    } else {\n      this.activeLocalizedBannerContent.fromId = this.app.currentAdmin.id;\n    }\n  }\n\n  @action toggleOpenInNewTab() {\n    if (this.args.banner.actionTarget === 'current_tab') {\n      this.args.banner.actionTarget = 'new_tab';\n    } else {\n      this.args.banner.actionTarget = 'current_tab';\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"border border-grey rounded-b-lg border-t-0\\\">\\n  <div class=\\\"flex flex-col p-4\\\">\\n    <div class=\\\"flex flex-row bg-white bg-no-repeat bg-cover w-full h-32\\\">\\n      <div class=\\\"banner__web-chrome__bottom-banner__browser-top__left\\\"></div>\\n      <div class=\\\"banner__web-chrome__bottom-banner__browser-top__right\\\"></div>\\n    </div>\\n  </div>\\n  <Banners::Editor::Content::Composer\\n    @banner={{@banner}} @localizedBannerContent={{@localizedBannerContent}} @isEditing={{@isEditing}}\\n  />\\n</div>\", {\"contents\":\"<div class=\\\"border border-grey rounded-b-lg border-t-0\\\">\\n  <div class=\\\"flex flex-col p-4\\\">\\n    <div class=\\\"flex flex-row bg-white bg-no-repeat bg-cover w-full h-32\\\">\\n      <div class=\\\"banner__web-chrome__bottom-banner__browser-top__left\\\"></div>\\n      <div class=\\\"banner__web-chrome__bottom-banner__browser-top__right\\\"></div>\\n    </div>\\n  </div>\\n  <Banners::Editor::Content::Composer\\n    @banner={{@banner}} @localizedBannerContent={{@localizedBannerContent}} @isEditing={{@isEditing}}\\n  />\\n</div>\",\"moduleName\":\"embercom/components/banners/editor/content/web-chrome/bottom-banner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/banners/editor/content/web-chrome/bottom-banner.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row bg-white bg-no-repeat bg-cover w-full h-20\\\">\\n  <div class=\\\"banner__web-chrome__top-banner__browser-top__left\\\"></div>\\n  <div class=\\\"flex-1 banner__web-chrome__top-banner__browser-top__middle\\\"></div>\\n  <div class=\\\"banner__web-chrome__top-banner__browser-top__right\\\"></div>\\n</div>\\n<div class=\\\"border-grey border-l border-r\\\">\\n  <Banners::Editor::Content::Composer\\n    @banner={{@banner}} @localizedBannerContent={{@localizedBannerContent}} @isEditing={{@isEditing}}\\n  />\\n</div>\\n<div class=\\\"flex flex-col\\\">\\n  <div class=\\\"flex flex-row bg-white bg-no-repeat bg-cover w-full h-20 justify-between\\\">\\n    <div class=\\\"banner__web-chrome__top-banner__browser-bottom__left\\\"></div>\\n    <div class=\\\"banner__web-chrome__top-banner__browser-bottom__right\\\"></div>\\n  </div>\\n</div>\", {\"contents\":\"<div class=\\\"flex flex-row bg-white bg-no-repeat bg-cover w-full h-20\\\">\\n  <div class=\\\"banner__web-chrome__top-banner__browser-top__left\\\"></div>\\n  <div class=\\\"flex-1 banner__web-chrome__top-banner__browser-top__middle\\\"></div>\\n  <div class=\\\"banner__web-chrome__top-banner__browser-top__right\\\"></div>\\n</div>\\n<div class=\\\"border-grey border-l border-r\\\">\\n  <Banners::Editor::Content::Composer\\n    @banner={{@banner}} @localizedBannerContent={{@localizedBannerContent}} @isEditing={{@isEditing}}\\n  />\\n</div>\\n<div class=\\\"flex flex-col\\\">\\n  <div class=\\\"flex flex-row bg-white bg-no-repeat bg-cover w-full h-20 justify-between\\\">\\n    <div class=\\\"banner__web-chrome__top-banner__browser-bottom__left\\\"></div>\\n    <div class=\\\"banner__web-chrome__top-banner__browser-bottom__right\\\"></div>\\n  </div>\\n</div>\",\"moduleName\":\"embercom/components/banners/editor/content/web-chrome/top-banner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/banners/editor/content/web-chrome/top-banner.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.showBanner}}\\n  <Pulse::FullWidthBanner\\n    {{did-insert this.updateBannerNotAtTop}}\\n    class=\\\"js__missing-address-banner\\\"\\n    @color=\\\"yellow\\\"\\n    @noRoundedCorner={{this.bannerNotAtTop}}\\n    data-test-address-banner\\n  >\\n    We need to confirm your company address details. <a {{on \\\"click\\\" (fn (mut this.showModal) true)}} data-test-update-cta>Update →</a>\\n  </Pulse::FullWidthBanner>\\n  {{#if this.showModal}}\\n    <Billing::CompanyAddressModal\\n      @closeModal={{this.closeModal}}\\n    />\\n  {{/if}}\\n{{/if}}\", {\"contents\":\"{{#if this.showBanner}}\\n  <Pulse::FullWidthBanner\\n    {{did-insert this.updateBannerNotAtTop}}\\n    class=\\\"js__missing-address-banner\\\"\\n    @color=\\\"yellow\\\"\\n    @noRoundedCorner={{this.bannerNotAtTop}}\\n    data-test-address-banner\\n  >\\n    We need to confirm your company address details. <a {{on \\\"click\\\" (fn (mut this.showModal) true)}} data-test-update-cta>Update →</a>\\n  </Pulse::FullWidthBanner>\\n  {{#if this.showModal}}\\n    <Billing::CompanyAddressModal\\n      @closeModal={{this.closeModal}}\\n    />\\n  {{/if}}\\n{{/if}}\",\"moduleName\":\"embercom/components/banners/missing-shipping-address.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/banners/missing-shipping-address.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport { action } from '@ember/object';\n\nexport default class MissingBillingAddress extends Component {\n  @tracked showBanner = false;\n  @tracked showModal = false;\n  @tracked bannerNotAtTop = false;\n  @service appService;\n  @service customerService;\n\n  constructor() {\n    super(...arguments);\n    this.loadDataAndShowBanner.perform();\n  }\n\n  @task *loadDataAndShowBanner() {\n    if (\n      !this.appService.app.shouldShowMissingCompanyAddressBanner ||\n      !this.appService.app.currentAdmin?.currentAppPermissions?.can_access_billing_settings\n    ) {\n      return;\n    }\n\n    yield this.customerService.ensureDataIsLoaded.perform({ fetchPrices: false });\n    this.updateBannerState();\n  }\n\n  @action closeModal() {\n    this.showModal = false;\n    this.updateBannerState();\n  }\n\n  @action updateBannerNotAtTop(element) {\n    this.bannerNotAtTop = element.getBoundingClientRect().top !== 0;\n  }\n\n  updateBannerState() {\n    this.showBanner =\n      this.customerService.customer && this.customerService.customer.hasNoShippingAddress;\n    if (this.args.bannerStateChanged) {\n      this.args.bannerStateChanged(this.showBanner);\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  classNames: ['layout__box', 'o__has-columns'],\n  didReceiveAttrs() {\n    this._super(...arguments);\n    let currentRouteName = this.currentRouteName;\n    if (!currentRouteName.match(/\\.loading$/)) {\n      this.set('internalCurrentRouteName', currentRouteName);\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport {\n  APP_NOT_APPROVED_FOR_EMAILS,\n  DELETE_FAIL_STRING,\n  notifySendDenialError,\n  RESEND_FAIL_STRING,\n} from 'embercom/lib/invite-error-strings';\n\nexport default Component.extend({\n  notificationsService: service(),\n  resendString: templateString('The invite to ${inviteeEmail} has been resent'),\n  confirmationString: templateString(\n    'Are you sure you want to delete the invite for ${inviteeEmail}?',\n  ),\n  deleteString: templateString('The invite to ${inviteeEmail} has been deleted'),\n\n  _confirmDelete(options) {\n    return intercomConfirm(this, options);\n  },\n\n  actions: {\n    resendInvite() {\n      this.invite\n        .resend()\n        .then(() => this.notificationsService.notifyConfirmation(this.resendString))\n        .catch(err => {\n          if (err.jqXHR.responseJSON.errors === APP_NOT_APPROVED_FOR_EMAILS) {\n            notifySendDenialError(this.notificationsService);\n          } else {\n            this.notificationsService.notifyError(RESEND_FAIL_STRING);\n          }\n        });\n    },\n    revokeInvite() {\n      let options = {\n        title: 'Delete invite',\n        body: this.confirmationString,\n        confirmButtonText: 'Delete invite',\n        center: true,\n        primaryButtonType: 'primary-destructive',\n      };\n\n      this._confirmDelete(options).then(() => {\n        this.invite\n          .destroyRecord()\n          .then(() => this.notificationsService.notifyConfirmation(this.deleteString))\n          .then(() => this.tableActions.updatePaywalls())\n          .catch(() => this.notificationsService.notifyError(DELETE_FAIL_STRING));\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport Clipboard from 'clipboard';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\n\nexport default Component.extend({\n  notificationsService: service(),\n  didRender() {\n    this._super(...arguments);\n    this.clipboard = new Clipboard('.invite-link-copy');\n  },\n\n  willDestroyElement() {\n    this.clipboard.destroy();\n    this._super(...arguments);\n  },\n\n  confirmationString: templateString(\n    'Are you sure you want to close the invite link for “${taskName}”? New teammates will no longer be able to use the link to join your app.',\n  ),\n  revokeString: templateString('The invite link to ${taskName} has been closed'),\n  revokeFailString: 'There was a problem closing the invite link, please try again',\n\n  actions: {\n    revokeLink(linkID) {\n      let options = {\n        title: 'Close invite link',\n        body: this.confirmationString,\n        confirmButtonText: 'Yes, close this invite link',\n      };\n\n      intercomConfirm(this, options).then(() => {\n        return ajax({\n          type: 'PUT',\n          url: `/ember/invites/${linkID}/revoke`,\n          data: JSON.stringify({\n            app_id: this.get('app.id'),\n          }),\n        })\n          .then(() => {\n            this.resetLinks.call(this);\n            this.notificationsService.notifyConfirmation(this.revokeString);\n          })\n          .catch(() => {\n            this.notificationsService.notifyError(this.revokeFailString);\n          });\n      });\n    },\n    showLink() {\n      this.notificationsService.notifyConfirmation('Copied to clipboard');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed, observer } from '@ember/object';\nimport { alias, equal, gt, not, readOnly } from '@ember/object/computed';\nimport Evented from '@ember/object/evented';\nimport { cancel, debounce, schedule } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport {\n  applyFunction,\n  changeGate,\n  notImplemented,\n  templateString,\n  ternary,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport ENV from 'embercom/config/environment';\nimport NumberPagination from 'embercom/controllers/mixins/number-pagination';\nimport ListSelection from 'embercom/controllers/mixins/users-and-companies/list-selection';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport ModalActions from 'embercom/controllers/mixins/users-and-companies/modal-actions';\nimport PageLoader from 'embercom/controllers/mixins/users-and-companies/page-loader';\nimport { post } from 'embercom/lib/ajax';\nimport pluralise from 'embercom/lib/inflector';\nimport DisplayAttributeSetting from 'embercom/models/display-attribute-setting';\nimport LegacySelectionState from 'embercom/models/legacy-selection-state';\nimport { copy } from 'ember-copy';\nimport { matchBehaviors } from 'embercom/models/data/matching-system/matching-constants';\n\nconst SHORTCUT_GROUP = 'list-keyboard-actions';\n\nexport default Component.extend(\n  ModalActions,\n  Evented,\n  NumberPagination,\n  ListSelection,\n  PageLoader,\n  {\n    segment: notImplemented(),\n    search: notImplemented(),\n    app: readOnly('appService.app'),\n    appService: service(),\n    pubsub: service(),\n    shortcuts: service(),\n    router: service(),\n\n    tagName: '', // having no wrapping element is important for the viewport height used in auto-pagination\n\n    model: undefined,\n\n    init() {\n      this.set('model', []);\n      this._super(...arguments);\n      // @adam.byrne 2018-11-20 - the following get allows the observer to fire for the initial value\n      // it's not idea but I'll be getting rid of that observer in a follow-up PR soon.\n      this.significantPredicateChange;\n    },\n\n    didInsertElement() {\n      this._super(...arguments);\n      this.registerKeyboardShortcuts();\n      this.pubsub.subscribe('reloadUserOrCompanyList', this, this.reload);\n      this.reload();\n    },\n\n    willDestroyElement() {\n      this._super(...arguments);\n      cancel(this.reloadDebounce);\n      this.shortcuts.unregister(SHORTCUT_GROUP);\n      this.pubsub.unsubscribe('reloadUserOrCompanyList', this, this.reload);\n    },\n\n    registerKeyboardShortcuts() {\n      this.shortcuts.register(SHORTCUT_GROUP, this, [\n        { key: 'j', modalActive: false, method: this.highlightNextItem },\n        { key: 'k', modalActive: false, method: this.highlightPreviousItem },\n        { key: 'x', modalActive: false, method: this.selectHighlightedItem },\n        { key: 'o', modalActive: false, method: this.redirectToUserOrCompanyProfile },\n        { key: '↵', modalActive: false, method: this.redirectToUserOrCompanyProfile },\n        { key: 't', modalActive: false, method: this.openTagModal },\n      ]);\n    },\n\n    tagEndpoint: null,\n    isLimitedResponse: false,\n    isCompany: alias('segment.isCompany'),\n    targetPlural: ternary('isCompany', 'companies', 'users'),\n    isNotCompany: not('isCompany'),\n    hasPeopleOrCompaniesToShow: gt('totalCount', 0),\n    hasNoPeopleOrCompaniesToShow: not('hasPeopleOrCompaniesToShow'),\n\n    segmentChanged: observer({\n      dependentKeys: ['significantPredicateChange'],\n\n      fn() {\n        this.set('isSelectAllMode', false);\n        this.set('isLoading', true);\n        this.set('reloadDebounce', debounce(this, this.reload, ENV.APP._750MS));\n      },\n\n      sync: true,\n    }),\n\n    hasSelectedUsers: gt('selectedCount', 0),\n    companyTypeName: 'company',\n    selectedType: ternaryToProperty(\n      'segment.isCompany',\n      'companyTypeName',\n      'segment.personTypeName',\n    ),\n    pluralizedTypeName: applyFunction(pluralise, 'selectedType'),\n    filtersLabel: templateString('all ${pluralizedTypeName} who match these filters now'),\n    selectedOneUser: equal('selectedCount', 1),\n    multipleSelectedUsersLabel: templateString('these ${selectedCount} ${pluralizedTypeName}'),\n    selectedUsersLabel: ternaryToProperty(\n      'selectedOneUser',\n      'selected.firstObject.displayAs',\n      'multipleSelectedUsersLabel',\n    ),\n\n    bulkActionAudienceLabel: ternaryToProperty(\n      'hasSelectedUsers',\n      'selectedUsersLabel',\n      'filtersLabel',\n    ),\n    bulkTagTooltipText: templateString('Tag ${bulkActionAudienceLabel}'),\n    bulkMessageTooltipTextPrefix: ternary('segment.isCompany', ' every user in', ''),\n    bulkMessageTooltipText: templateString(\n      'Message${bulkMessageTooltipTextPrefix} ${bulkActionAudienceLabel}',\n    ),\n\n    finishedLoading() {\n      this._super(...arguments);\n      if (this.get('model.length') === 0 || this.model.isAny('isHighlighted', true)) {\n        return;\n      }\n      this.set('model.firstObject.isHighlighted', true);\n    },\n\n    highlightAdjacentItem(isNext) {\n      let model = this.model;\n      let highlighted = model.findBy('isHighlighted', true);\n      let offset = isNext ? 1 : -1;\n      let nextIndex = model.indexOf(highlighted) + offset;\n      if (nextIndex < model.get('length') && nextIndex > -1) {\n        highlighted.set('isHighlighted', false);\n        model.objectAt(nextIndex).set('isHighlighted', true);\n      }\n      schedule('afterRender', () => {\n        this.listTable.send('highlightedItemChanged');\n      });\n    },\n\n    taggableCount: computed('hasSelectedUsers', 'selectedCount', 'totalCount', function() {\n      return this.hasSelectedUsers ? this.selectedCount : this.totalCount;\n    }),\n\n    updateTaggingsSelectionState: computed(\n      'hasSelectedUsers',\n      'selectionState',\n      'predicates',\n      'totalCount',\n      function() {\n        return this.hasSelectedUsers\n          ? this.selectionState\n          : LegacySelectionState.create({\n              isSelectAllMode: true,\n              predicates: this.predicates,\n              count: this.totalCount,\n            });\n      },\n    ),\n\n    updateTaggingsTask: task(function*(addedTags) {\n      let selectionState = this.updateTaggingsSelectionState;\n      for (let tag of addedTags) {\n        yield post(\n          this.tagEndpoint,\n          Object.assign(selectionState.toApi(), {\n            app_id: this.get('app.id'),\n            tag_name: tag.get('name'),\n          }),\n        );\n      }\n    }),\n\n    tagNotificationMessage() {\n      let selectionState = this.updateTaggingsSelectionState;\n      let targetCount = selectionState.get('count');\n      let targetPlural = pluralise(this.tagTypeLabel, targetCount);\n\n      if (targetCount < 200 && selectionState.get('isNotSelectAllMode')) {\n        return `${targetCount} ${targetPlural} tagged.`;\n      } else {\n        return `${targetCount} ${targetPlural} will be tagged. At peak times this could take a few hours.`;\n      }\n    },\n\n    showTagModal: false,\n\n    // keyboard shortcuts\n\n    highlightNextItem() {\n      this.highlightAdjacentItem(true);\n    },\n    highlightPreviousItem() {\n      this.highlightAdjacentItem(false);\n    },\n    selectHighlightedItem() {\n      this.model.findBy('isHighlighted', true).toggleProperty('selected');\n    },\n    redirectToUserOrCompanyProfile() {\n      let highlighted = this.model.findBy('isHighlighted', true);\n      if (highlighted) {\n        this.send('showUserOrCompany', highlighted);\n      }\n    },\n    openTagModal() {\n      this.set('showTagModal', true);\n    },\n\n    actions: {\n      sort(displayedAttribute) {\n        let self = this;\n        this.intercomEventService.trackEvent('user-list-sort', {\n          userCount: this.totalCount,\n          attribute: displayedAttribute.identifier,\n        });\n        let list = this.isCompany ? 'companies' : 'users';\n        DisplayAttributeSetting.sortBy(displayedAttribute, this.app, list).then(function() {\n          self.reload();\n        });\n      },\n      clearSelection() {\n        this.model.setEach('selected', false);\n      },\n      reload() {\n        this.reload();\n      },\n      reloadCurrentPage() {\n        this.loadPage(this.page);\n      },\n      checkPermissionsForExportAndOpenAppropriateModal() {\n        let path = this.isCompany ? 'companies' : 'users';\n        this.permissionsService.checkPermission('can_export_data').then(() => {\n          this.send(\n            'openModalWithSelectionState',\n            `apps/app/${path}/segments/segment/modals/export`,\n            undefined,\n            { personTypeName: this.segment.personTypeName },\n          );\n        });\n      },\n      createAutoMessage(type = null, deliveryChannel = null, _audienceType, templateId) {\n        this.permissionsService.checkPermission('can_send_messages').then(() => {\n          let selectionState = LegacySelectionState.create({\n            predicates: this.predicates,\n          });\n          this.intercomEventService.trackEvent('user-list-auto-message-created');\n          if (type === 'Email' || type === 'In-App') {\n            this.router.transitionTo('apps.app.outbound.messages.auto.new', {\n              queryParams: {\n                selectionState: selectionState.get('toJSON'),\n                type,\n                deliveryChannel,\n              },\n            });\n          } else {\n            return this.send(\n              'createNewRuleset',\n              type,\n              this.predicates,\n              templateId,\n              matchBehaviors.single,\n            );\n          }\n        });\n      },\n      createManualMessage(type = null, deliveryChannel = null, _audienceType, templateId) {\n        this.permissionsService.checkPermission('can_send_messages').then(() => {\n          this.intercomEventService.trackEvent('user-list-manual-message-created');\n          let selectAllSelection = this.selectionState.toSelectAllSelection();\n          if (type === 'Email' || type === 'In-App') {\n            return this.router.transitionTo('apps.app.outbound.messages.manual.new', {\n              queryParams: {\n                selectionState: selectAllSelection.get('toJSON'),\n                type,\n                deliveryChannel,\n              },\n            });\n          } else {\n            return this.send(\n              'createNewRuleset',\n              type,\n              selectAllSelection.get('predicates'),\n              templateId,\n              matchBehaviors.static,\n            );\n          }\n        });\n      },\n      createCompanyMessage(type, deliveryChannel, _audienceType, templateId) {\n        this.permissionsService.checkPermission('can_send_messages').then(() => {\n          if (type === 'Email' || type === 'In-App') {\n            this.router.transitionTo('apps.app.outbound.messages.manual.new', {\n              queryParams: {\n                selectionState: this.get('selectionState.toJSON'),\n                type,\n                deliveryChannel,\n                is_company_message: true,\n              },\n            });\n          } else {\n            return this.send(\n              'createNewRuleset',\n              type,\n              this.selectionState.get('predicates'),\n              templateId,\n              matchBehaviors.static,\n            );\n          }\n        });\n      },\n      createNewRuleset(objectType, predicates, templateId, matchBehavior) {\n        let rolePredicates = predicates\n          .filter(predicate => predicate.attribute === 'role')\n          .map(predicate => {\n            if (predicate.comparison === 'eq') {\n              predicate.comparison = 'in';\n              predicate.value = [predicate.value];\n            }\n            return predicate;\n          });\n        let nonRolePredicates = predicates.filter(predicate => predicate.attribute !== 'role');\n        let rulesetParams = {\n          app_id: this.app.id,\n          object_type: objectType,\n          predicate_group: { predicates: nonRolePredicates },\n          role_predicate_group: { predicates: rolePredicates },\n        };\n        if (templateId) {\n          rulesetParams.template_id = templateId;\n        } else {\n          rulesetParams.object_data = {};\n          rulesetParams.match_behavior = matchBehavior;\n        }\n        return this.router.transitionTo('apps.app.content.new', rulesetParams);\n      },\n      afterTagSave(addedTags, removedTags) {\n        this.set('showTagModal', false);\n\n        this.notificationsService.notifyConfirmation(this.tagNotificationMessage());\n\n        this.intercomEventService.trackEvent('user-company-tagged', {\n          action: 'tagged',\n          object: this.isCompany ? 'company' : 'user',\n          place: this.isCompany ? 'company-list' : 'user-list',\n          owner: 'team-people',\n          user_company_ids: this.get('selectionState.selectedIDs'),\n          tags: addedTags.map(tag => tag.get('name')),\n        });\n      },\n      updateTaggings(admin, addedTags, removedTags, initialTags) {\n        return this.updateTaggingsTask.perform(addedTags);\n      },\n    },\n\n    significantPredicateChange: changeGate(\n      'predicates',\n      function(value) {\n        return JSON.stringify(value);\n      },\n      { sync: true },\n    ),\n\n    predicates: computed('segment.activePredicates', 'search.predicate', function() {\n      let predicates = this.get('segment.activePredicates');\n\n      if (predicates) {\n        predicates = copy(predicates, true);\n        let searchPredicate = this.get('search.predicate');\n\n        if (searchPredicate) {\n          predicates.push(searchPredicate);\n        }\n\n        return predicates;\n      }\n    }),\n    updateCachedCount(count) {\n      if (!this.get('segment.hasDirtyAttributes') && !this.get('search.predicate')) {\n        this.segment.set('search_count', count);\n      }\n      this.updateAppPeopleCount(count).updateAppCompanyCount(count);\n    },\n    updateAppPeopleCount(count) {\n      if (!this.get('segment.isCompany') && this.get('app.peopleCount') < count) {\n        this.set('app.peopleCount', count);\n      }\n      return this;\n    },\n    updateAppCompanyCount(count) {\n      if (this.get('segment.isCompany') && this.get('app.company_count') < count) {\n        this.set('app.company_count', count);\n      }\n      return this;\n    },\n  },\n);\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { resolve } from 'rsvp';\nimport { debounce } from '@ember/runloop';\nimport { observer, computed } from '@ember/object';\nimport { on } from '@ember/object/evented';\nimport { A } from '@ember/array';\nimport $ from 'jquery';\nimport { alias, or, empty, notEmpty, and, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport {\n  equalToProperty,\n  greaterThanProperty,\n  lessThanProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport ENV from 'embercom/config/environment';\n\nexport default Component.extend({\n  attributeService: service(),\n\n  currentPage: 1,\n  hasReachedMaxPages: greaterThanProperty('currentPage', 'maxPages'),\n  loadedItemsEqualTotalCount: equalToProperty('items.length', 'total_count'),\n\n  lastQueryWasLongRunning: false,\n  isLimitedResponse: false,\n\n  displayedUserAttributes: alias('attributeService.displayedUserAttributes'),\n  displayedCompanyAttributes: alias('attributeService.displayedCompanyAttributes'),\n\n  hasLoadedAllItems: or('hasReachedMaxPages', 'loadedItemsEqualTotalCount'),\n  hasEmptyItemList: empty('items'),\n  hasItems: notEmpty('items'),\n  hasNotLoadedAllItems: lessThanProperty('items.length', 'total_count'),\n  hasNotLoadedFullPage: lessThanProperty('items.length', 'pageSize'),\n  hasIncompleteList: and('hasNotLoadedAllItems', 'hasNotLoadedFullPage'),\n  shouldResetList: or('hasEmptyItemList', 'hasIncompleteList'),\n  isNotLoading: not('isLoading'),\n  isLoading: false,\n  isInitializing: true,\n  pageSize: 20,\n  viewportHeight: 0,\n  searchOnDidInsertElement: true,\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.set('viewportHeight', $(this.viewportSelector).height());\n    if (this.shouldResetList) {\n      this.set('items', A());\n    }\n    if (this.searchOnDidInsertElement) {\n      this.triggerAction({ action: 'nextPage', target: this });\n    }\n    this.set('currentPage', Math.floor(this.get('items.length') / this.pageSize) + 1);\n  },\n  onPredicateSelectionChange: on(\n    'init',\n    observer({\n      dependentKeys: ['selectionStateObject.predicatesUpdated', 'searchSelection'],\n\n      fn() {\n        this.get('selectionStateObject.predicatesUpdated');\n        let debounceTime = this.lastQueryWasLongRunning ? ENV.APP._10000MS : ENV.APP._2000MS;\n        debounce(this, this._runNewSearch, debounceTime);\n      },\n\n      sync: true,\n    }),\n  ),\n  _runNewSearch() {\n    if (this.get('selectionStateObject.allPredicatesAreValid')) {\n      this.setProperties({\n        total_count: null,\n        currentPage: 1,\n        lastPageTriggeredAtHeight: 0,\n        isLoading: false,\n        hasLoadedAllItems: false,\n        clearOldItemsOnNextPage: true,\n      });\n      this.send('nextPage');\n    }\n  },\n  pageVars: computed('currentPage', 'pageSize', 'campaign_id', function() {\n    return {\n      page: this.currentPage,\n      per_page: this.pageSize,\n      campaign_id: this.campaign_id,\n    };\n  }),\n  actions: {\n    nextPage() {\n      if (this.hasReachedMaxPages || this.loadedItemsEqualTotalCount) {\n        return resolve();\n      }\n      let timeAtSearchStart = new Date().getTime();\n      this.setProperties({\n        isLoading: true,\n        isLimitedResponse: false,\n      });\n      return this.searchFunction(this.app, this.searchSelection, this.pageVars).then(response => {\n        if (!this.isDestroyed) {\n          if (response.limited === true) {\n            this.set('isLimitedResponse', true);\n          }\n          let timeAtSearchEnd = new Date().getTime();\n\n          this.set(\n            'lastQueryWasLongRunning',\n            timeAtSearchEnd - timeAtSearchStart > ENV.APP._5000MS,\n          );\n\n          if (this.clearOldItemsOnNextPage) {\n            this.setProperties({\n              items: A(),\n              clearOldItemsOnNextPage: false,\n            });\n          }\n          response[this.responseArrayName].forEach(item => {\n            item.list = this.items;\n            this.items.pushObject(item);\n          });\n          if (this.get('selectionStateObject.isUserMessage')) {\n            this.selectionStateObject.set('totalCount', response.totalCount);\n          }\n          this.set('total_count', response.totalCount);\n\n          this.set('currentPage', this.currentPage + 1);\n          if (this.searchOnDidInsertElement && this.isInitializing) {\n            this.set('isInitializing', false);\n          }\n          this.set('isLoading', false);\n        }\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<label for=\\\"notify-of-invoices\\\" class=\\\"f__checkbox-label u__cf\\\">\\n  <span class=\\\"f__checkbox-wrapper\\\"><Input @name=\\\"notify-of-invoices\\\" @type=\\\"checkbox\\\" @checked={{customer.notifyOfInvoices}} @disabled={{isUpdating}} /></span>\\n  <span class=\\\"f__checkbox-content\\\">Notify {{customer.contactEmail}} of new invoices by email.</span>\\n</label>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<label for=\\\"notify-of-invoices\\\" class=\\\"f__checkbox-label u__cf\\\">\\n  <span class=\\\"f__checkbox-wrapper\\\"><Input @name=\\\"notify-of-invoices\\\" @type=\\\"checkbox\\\" @checked={{customer.notifyOfInvoices}} @disabled={{isUpdating}} /></span>\\n  <span class=\\\"f__checkbox-content\\\">Notify {{customer.contactEmail}} of new invoices by email.</span>\\n</label>\\n\",\"moduleName\":\"embercom/components/billing-settings-invoice-notifications-toggle-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing-settings-invoice-notifications-toggle-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { observer } from '@ember/object';\nexport default Component.extend({\n  notificationsService: service(),\n  classNames: 'f__group o__checkbox-group',\n\n  notifyOfInvoicesDidChange: observer({\n    dependentKeys: ['customer.notifyOfInvoices'],\n\n    fn() {\n      this.send('updateNotificationPreference');\n    },\n\n    sync: true,\n  }),\n\n  isUpdating: false,\n\n  actions: {\n    updateNotificationPreference() {\n      this.toggleProperty('isUpdating');\n      let data = {\n        app_id: this.get('app.id'),\n        notify_of_invoices: this.get('customer.notifyOfInvoices'),\n      };\n\n      this.customer.changeInvoiceNotificationSettings(data).then(\n        () => {\n          this.toggleProperty('isUpdating');\n        },\n        err => {\n          let errorMessages = err.jqXHR.responseJSON.errors.map(error => error);\n          this.toggleProperty('isUpdating');\n          this.notificationsService.notifyError(errorMessages);\n        },\n      );\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Form\\n  data-test-address-form as |form|>\\n  {{yield form}}\\n\\n  <form.Item\\n    @label={{@countryLabel}}\\n    @isInvalid={{this.isCountryCodeInvalid}}\\n    @errorMessage=\\\"Country cannot be blank\\\"\\n    @showError={{and @showAllErrors this.isCountryCodeInvalid}}\\n    as |item|>\\n    <IcSelect\\n      @items={{this.countries}}\\n      @defaultLabel=\\\"Company country\\\"\\n      @filterPlaceholder=\\\"Search countries...\\\"\\n      @mode=\\\"block\\\"\\n      @onSelectItem={{this.onCountrySelected}}\\n      @selectedValue={{@address.countryCode}}\\n      data-test-country-select\\n    />\\n  </form.Item>\\n\\n  <form.Item\\n    @label=\\\"Street address\\\"\\n    @isInvalid={{this.isStreetAddressInvalid}}\\n    @errorMessage=\\\"Street address cannot be blank\\\"\\n    @showError={{and @showAllErrors this.isStreetAddressInvalid}}\\n    as |item|>\\n    <item.Input\\n      @type=\\\"text\\\"\\n      @placeholder=\\\"Street address\\\"\\n      @value={{@address.streetAddress}}\\n      maxlength={{this.addressConfiguration.maxLengths.streetAddress}}\\n      data-test-street-address\\n    />\\n  </form.Item>\\n\\n  <form.Item\\n    @label=\\\"City\\\"\\n    @isInvalid={{this.isCityInvalid}}\\n    @errorMessage=\\\"City cannot be blank\\\"\\n    @showError={{and @showAllErrors this.isCityInvalid}}\\n    as |item|>\\n    <item.Input @type=\\\"text\\\" @placeholder=\\\"City\\\" @value={{@address.city}} maxlength={{this.addressConfiguration.maxLengths.city}} data-test-city-input />\\n  </form.Item>\\n\\n  <div class=\\\"flex flex-row gap-6\\\">\\n    {{#if this.addressConfiguration.showState}}\\n      <form.Item\\n        @label={{this.addressConfiguration.stateLabel}}\\n        @isInvalid={{this.isStateCodeInvalid}}\\n        @errorMessage=\\\"State cannot be blank\\\"\\n        @showError={{and @showAllErrors this.isStateCodeInvalid}}\\n        class=\\\"flex-1\\\" as |item|>\\n        <IcSelect\\n          @items={{this.states}}\\n          @defaultLabel=\\\"State/province\\\"\\n          @filterPlaceholder=\\\"Search states...\\\"\\n          @mode=\\\"block\\\"\\n          @onSelectItem={{this.onStateCodeSelected}}\\n          @selectedValue={{@address.stateCode}}\\n          data-test-state-select\\n        />\\n      </form.Item>\\n    {{/if}}\\n\\n    <form.Item\\n      @label={{this.addressConfiguration.postCodeLabel}}\\n      @isInvalid={{this.isZipcodeInvalid}}\\n      @errorMessage={{this.zipcodeErrorMessage}}\\n      @showError={{and @showAllErrors this.isZipcodeInvalid}}\\n      class=\\\"flex-1\\\"\\n      as |item|>\\n      <item.Input\\n        @type=\\\"text\\\"\\n        @placeholder={{this.addressConfiguration.postCodeLabel}}\\n        @value={{@address.postcode}}\\n        maxlength={{this.addressConfiguration.maxLengths.postcode}}\\n        data-test-zip-code\\n      />\\n    </form.Item>\\n\\n    {{#if this.showVatNumber}}\\n      <form.Item @label=\\\"VAT Number\\\" as |item|>\\n        <item.Input @type=\\\"text\\\" @placeholder=\\\"VAT Number\\\" @value={{@address.vatNumber}} data-test-vat-number-input />\\n      </form.Item>\\n    {{/if}}\\n  </div>\\n</Form>\\n\", {\"contents\":\"<Form\\n  data-test-address-form as |form|>\\n  {{yield form}}\\n\\n  <form.Item\\n    @label={{@countryLabel}}\\n    @isInvalid={{this.isCountryCodeInvalid}}\\n    @errorMessage=\\\"Country cannot be blank\\\"\\n    @showError={{and @showAllErrors this.isCountryCodeInvalid}}\\n    as |item|>\\n    <IcSelect\\n      @items={{this.countries}}\\n      @defaultLabel=\\\"Company country\\\"\\n      @filterPlaceholder=\\\"Search countries...\\\"\\n      @mode=\\\"block\\\"\\n      @onSelectItem={{this.onCountrySelected}}\\n      @selectedValue={{@address.countryCode}}\\n      data-test-country-select\\n    />\\n  </form.Item>\\n\\n  <form.Item\\n    @label=\\\"Street address\\\"\\n    @isInvalid={{this.isStreetAddressInvalid}}\\n    @errorMessage=\\\"Street address cannot be blank\\\"\\n    @showError={{and @showAllErrors this.isStreetAddressInvalid}}\\n    as |item|>\\n    <item.Input\\n      @type=\\\"text\\\"\\n      @placeholder=\\\"Street address\\\"\\n      @value={{@address.streetAddress}}\\n      maxlength={{this.addressConfiguration.maxLengths.streetAddress}}\\n      data-test-street-address\\n    />\\n  </form.Item>\\n\\n  <form.Item\\n    @label=\\\"City\\\"\\n    @isInvalid={{this.isCityInvalid}}\\n    @errorMessage=\\\"City cannot be blank\\\"\\n    @showError={{and @showAllErrors this.isCityInvalid}}\\n    as |item|>\\n    <item.Input @type=\\\"text\\\" @placeholder=\\\"City\\\" @value={{@address.city}} maxlength={{this.addressConfiguration.maxLengths.city}} data-test-city-input />\\n  </form.Item>\\n\\n  <div class=\\\"flex flex-row gap-6\\\">\\n    {{#if this.addressConfiguration.showState}}\\n      <form.Item\\n        @label={{this.addressConfiguration.stateLabel}}\\n        @isInvalid={{this.isStateCodeInvalid}}\\n        @errorMessage=\\\"State cannot be blank\\\"\\n        @showError={{and @showAllErrors this.isStateCodeInvalid}}\\n        class=\\\"flex-1\\\" as |item|>\\n        <IcSelect\\n          @items={{this.states}}\\n          @defaultLabel=\\\"State/province\\\"\\n          @filterPlaceholder=\\\"Search states...\\\"\\n          @mode=\\\"block\\\"\\n          @onSelectItem={{this.onStateCodeSelected}}\\n          @selectedValue={{@address.stateCode}}\\n          data-test-state-select\\n        />\\n      </form.Item>\\n    {{/if}}\\n\\n    <form.Item\\n      @label={{this.addressConfiguration.postCodeLabel}}\\n      @isInvalid={{this.isZipcodeInvalid}}\\n      @errorMessage={{this.zipcodeErrorMessage}}\\n      @showError={{and @showAllErrors this.isZipcodeInvalid}}\\n      class=\\\"flex-1\\\"\\n      as |item|>\\n      <item.Input\\n        @type=\\\"text\\\"\\n        @placeholder={{this.addressConfiguration.postCodeLabel}}\\n        @value={{@address.postcode}}\\n        maxlength={{this.addressConfiguration.maxLengths.postcode}}\\n        data-test-zip-code\\n      />\\n    </form.Item>\\n\\n    {{#if this.showVatNumber}}\\n      <form.Item @label=\\\"VAT Number\\\" as |item|>\\n        <item.Input @type=\\\"text\\\" @placeholder=\\\"VAT Number\\\" @value={{@address.vatNumber}} data-test-vat-number-input />\\n      </form.Item>\\n    {{/if}}\\n  </div>\\n</Form>\\n\",\"moduleName\":\"embercom/components/billing/address-form.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/address-form.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport States from 'embercom/lib/states';\nimport Countries from 'embercom/lib/countries';\nimport { countrySelect } from 'embercom/helpers/country-select-helper';\nimport AddressSettings from 'embercom/lib/address-settings';\nimport { isEmpty } from '@ember/utils';\n\nexport default class AddressForm extends Component {\n  @tracked states;\n  @tracked addressConfiguration;\n  @tracked showVatNumber;\n\n  constructor() {\n    super(...arguments);\n\n    this.addressConfiguration =\n      AddressSettings[this.args.address.countryCode] || AddressSettings.default;\n\n    if (this.addressConfiguration.showState) {\n      this.states = States[this.args.address.countryCode];\n    }\n\n    this.showVatNumber = this.shouldCollectVatNumber(this.args.address.countryCode);\n  }\n\n  get countries() {\n    return countrySelect(Countries.allCountries);\n  }\n\n  get isCountryCodeInvalid() {\n    return isEmpty(this.args.address.countryCode);\n  }\n\n  get isStreetAddressInvalid() {\n    return isEmpty(this.args.address.streetAddress);\n  }\n\n  get isCityInvalid() {\n    return isEmpty(this.args.address.city);\n  }\n\n  get isStateCodeInvalid() {\n    return isEmpty(this.args.address.stateCode);\n  }\n\n  get isZipcodeInvalid() {\n    let postcode = this.args.address.postcode;\n    return isEmpty(postcode) || !this.validPostcodeFormat();\n  }\n\n  get zipcodeErrorMessage() {\n    let postcode = this.args.address.postcode;\n    if (isEmpty(postcode)) {\n      return `${this.addressConfiguration.postCodeLabel} cannot be blank`;\n    } else if (!this.validPostcodeFormat()) {\n      return `${this.addressConfiguration.postCodeLabel} is invalid`;\n    }\n    return '';\n  }\n\n  validPostcodeFormat() {\n    if (!this.addressConfiguration.postCodeRegex) {\n      return true;\n    }\n\n    return this.addressConfiguration.postCodeRegex.exec(this.args.address.postcode);\n  }\n\n  @action\n  onCountrySelected(code) {\n    this.addressConfiguration = AddressSettings[code] || AddressSettings.default;\n\n    if (this.addressConfiguration.showState) {\n      this.states = States[code];\n    }\n    this.args.address.stateCode = undefined;\n\n    this.showVatNumber = this.shouldCollectVatNumber(code);\n    if (!this.showVatNumber) {\n      this.args.address.vatNumber = undefined;\n    }\n\n    this.args.address.countryCode = code;\n  }\n\n  @action\n  onStateCodeSelected(code) {\n    this.args.address.stateCode = code;\n  }\n\n  shouldCollectVatNumber(code) {\n    if (!this.args.collectVatNumber || !code) {\n      return false;\n    }\n\n    let country = Countries.allCountries.find(country => country.code === code);\n    return country.inEu;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @width=\\\"s\\\"\\n  @onModalClose={{@closeModal}}\\n  @focusElement=\\\"body\\\"\\n  data-test-company-address-modal\\n  as |modal|\\n>\\n  <modal.header @title=\\\"Company address\\\" />\\n\\n  <modal.body>\\n    <p class=\\\"mb-6\\\">\\n      This is the address where your company is physically located. We use this address to calculate any applicable taxes.\\n    </p>\\n\\n    <Billing::AddressForm\\n      @countryLabel=\\\"Company country\\\"\\n      @address={{this.address}}\\n      @collectVatNumber={{true}}\\n      @showAllErrors={{this.showAllErrors}}\\n    />\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=this.primaryButtonLabel\\n      disabled=this.save.isRunning\\n      action=(perform this.save)\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=@closeModal\\n    }}\\n  />\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @width=\\\"s\\\"\\n  @onModalClose={{@closeModal}}\\n  @focusElement=\\\"body\\\"\\n  data-test-company-address-modal\\n  as |modal|\\n>\\n  <modal.header @title=\\\"Company address\\\" />\\n\\n  <modal.body>\\n    <p class=\\\"mb-6\\\">\\n      This is the address where your company is physically located. We use this address to calculate any applicable taxes.\\n    </p>\\n\\n    <Billing::AddressForm\\n      @countryLabel=\\\"Company country\\\"\\n      @address={{this.address}}\\n      @collectVatNumber={{true}}\\n      @showAllErrors={{this.showAllErrors}}\\n    />\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=this.primaryButtonLabel\\n      disabled=this.save.isRunning\\n      action=(perform this.save)\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=@closeModal\\n    }}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/billing/company-address-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/company-address-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { post } from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency-decorators';\nimport { inject as service } from '@ember/service';\nimport { addressValidation } from 'embercom/lib/address-validation';\nimport AddressParams from 'embercom/lib/billing/address-params';\nimport { isArray } from '@ember/array';\n\nexport default class CompanyAdressModal extends Component {\n  @service appService;\n  @service customerService;\n  @service notificationsService;\n  @service store;\n  @tracked address = new AddressParams();\n  @tracked showAllErrors = false;\n\n  constructor() {\n    super(...arguments);\n    this.address.countryCode = this.customerService.customer.billingAddress?.country || 'US';\n\n    if (this.customerService.customer.shippingAddress) {\n      this.address.countryCode = this.customerService.customer.shippingAddress.country;\n      this.address.stateCode = this.customerService.customer.shippingAddress.state;\n      this.address.postcode = this.customerService.customer.shippingAddress.postcode;\n      this.address.streetAddress = this.customerService.customer.shippingAddress.streetAddress;\n      this.address.city = this.customerService.customer.shippingAddress.city;\n    }\n    this.address.vatNumber = this.customerService.customer.vatNumber;\n  }\n\n  get primaryButtonLabel() {\n    return this.save.isRunning ? 'Updating...' : 'Update address';\n  }\n\n  @task\n  *save() {\n    if (!addressValidation(this.address)) {\n      this.showAllErrors = true;\n      return;\n    }\n\n    try {\n      let response = yield post(\n        `/ember/customers/${this.customerService.customer.id}/update_shipping_address`,\n        {\n          app_id: this.appService.app.id,\n          street_address: this.address.streetAddress,\n          city: this.address.city,\n          postcode: this.address.postcode,\n          country: this.address.countryCode,\n          state_code: this.address.stateCode,\n          vat_number: this.address.vatNumber,\n        },\n      );\n      this.store.pushPayload('billing/customer', {\n        'billing/customer': response,\n      });\n      this.notificationsService.notifyConfirmation(\n        `You’ve successfully updated your company address.`,\n      );\n      this.args.closeModal();\n    } catch (error) {\n      let errorMessage =\n        'Error while updating your company address. Please try again or contact us.';\n      if (isArray(error.jqXHR.responseJSON)) {\n        errorMessage = error.jqXHR.responseJSON[0];\n      }\n      this.notificationsService.notifyError(errorMessage);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"layout__box o__flexes-to-1 o__has-rows settings__billing__confirm__container\\\"\\n>\\n  <Billing::Details::HeaderComponent @hidePrices={{true}}>\\n    Confirm your subscription\\n  </Billing::Details::HeaderComponent>\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__has-columns {{unless customer.hasActiveSubscription \\\"o__centers-horizontally\\\"}}\\\"\\n  >\\n    <div class=\\\"u__mt__20 settings__billing__product__cards__container\\\">\\n      {{#if customer.hasActiveSubscription}}\\n        <div\\n          class=\\\"settings__billing__product__card__title layout__box o__centers-vertically t__label\\\"\\n        >\\n          Your current subscription\\n        </div>\\n        {{#each existingActiveProducts as |product|}}\\n          <Billing::ProductCard\\n            @prices={{prices}}\\n            @product={{product}}\\n            @productTitle={{product.name}}\\n            @withActiveSubscription={{customer.hasActiveSubscription}}\\n          />\\n        {{/each}}\\n        <div class=\\\"u__mt__20\\\"></div>\\n      {{/if}}\\n      <div\\n        class=\\\"{{if customer.hasActiveSubscription \\\"settings__billing__product__card__updated-wrapper\\\"}}\\\"\\n      >\\n        {{#if customer.hasActiveSubscription}}\\n          <div\\n            class=\\\"settings__billing__product__card__updated-title layout__box o__centers-vertically t__label\\\"\\n          >\\n            Your updated subscription\\n          </div>\\n        {{else}}\\n          <div\\n            class=\\\"settings__billing__product__card__title layout__box o__centers-vertically t__label\\\"\\n          >\\n            Your new subscription\\n          </div>\\n        {{/if}}\\n        {{#each summaryProducts as |product|}}\\n          <Billing::ProductCard\\n            @prices={{prices}}\\n            @product={{product}}\\n            @productTitle={{product.name}}\\n            @newStatus={{product.newStatus}}\\n            @lastProduct={{eq summaryProducts.lastObject.id product.id}}\\n            @withActiveSubscription={{customer.hasActiveSubscription}}\\n            @validEarlyStageApplicant={{app.validEarlyStageApplicant}}\\n          />\\n        {{/each}}\\n      </div>\\n      {{#unless customer.hasActiveSubscription}}\\n        <div class=\\\"settings__billing__product__card__container u__mt__20\\\">\\n          <div\\n            class=\\\"settings__billing__product__card__title layout__box o__centers-vertically t__label\\\"\\n          >\\n            Payment methods\\n          </div>\\n          <div class=\\\"settings__billing__payment__card__content\\\">\\n            <div class=\\\"settings__billing__payment__card__title\\\">\\n              <div class=\\\"t__label\\\">\\n                Enter credit or debit card\\n              </div>\\n            </div>\\n            <Billing::StripeCardComponent\\n              @cardError={{cardError}}\\n              @stripeElement={{stripeElement}}\\n            >\\n              <IcButton\\n                class=\\\"settings__billing__product__card__confirm__button\\\"\\n                @type=\\\"primary-live\\\"\\n                @onClick={{action \\\"submitStripeElement\\\"}}\\n                @disabled={{sendNewOrUpdateSubscriptionTask.isRunning}}\\n                @label={{if\\n                  sendNewOrUpdateSubscriptionTask.isRunning\\n                  ctaProcessingButtonText\\n                  ctaButtonText\\n                }}\\n              />\\n            </Billing::StripeCardComponent>\\n          </div>\\n          <div\\n            class=\\\"settings__billing__payment__card__content layout__box o__flexes-to-1 o__has-columns\\\"\\n          >\\n            <div\\n              class=\\\"settings__billing__payment__card__content__selector__wrapper\\\"\\n            >\\n              <Signup::New::FormFieldComponent\\n                @label=\\\"Card location\\\"\\n                @error={{billingAddressErrors.countryCode}}\\n              >\\n                <Signup::CountrySelectComponent\\n                  @countryCodeError={{billingAddressErrors.countryCode}}\\n                  @onSelect={{action \\\"onCountrySelected\\\"}}\\n                  data-test-input=\\\"countryCode\\\"\\n                  @classesForSelect=\\\"signup__new__form__input__select change-plan-modal__cta__select\\\"\\n                />\\n              </Signup::New::FormFieldComponent>\\n            </div>\\n            {{#if addressConfiguration.showState}}\\n              <div\\n                class=\\\"layout__box o__flexes-to-1 settings__billing__payment__card__content__selector__wrapper\\\"\\n              >\\n                <Signup::New::FormFieldComponent\\n                  @label={{addressConfiguration.stateLabel}}\\n                  @error={{billingAddressErrors.stateCode}}\\n                >\\n                  <Signup::StateSelectComponent\\n                    @countryCode={{billingAddress.countryCode}}\\n                    @state={{billingAddress.stateCode}}\\n                    @stateCodeError={{billingAddressErrors.stateCode}}\\n                    data-test-input=\\\"state\\\"\\n                    @classesForSelect=\\\"signup__new__form__input__select change-plan-modal__cta__select\\\"\\n                  />\\n                </Signup::New::FormFieldComponent>\\n              </div>\\n            {{/if}}\\n          </div>\\n        </div>\\n      {{/unless}}\\n    </div>\\n    <div class=\\\"u__mt__20\\\">\\n      <div class=\\\"settings__billing__product__card__container o__in-app\\\">\\n        <div\\n          class=\\\"settings__billing__product__card__title layout__box o__centers-vertically t__label\\\"\\n        >\\n          Review and Confirm\\n        </div>\\n        <div class=\\\"settings__billing__product__card__main layout__box\\\">\\n          {{#if customer.hasActiveSubscription}}\\n            <p>\\n              You are changing your Intercom subscription.\\n              Review and confirm your changes.\\n            </p>\\n          {{/if}}\\n          <div class=\\\"h-5\\\"></div>\\n          <p class=\\\"t__label settings__billing__cta__total-price-header\\\">\\n            Your Total\\n          </p>\\n          <div class=\\\"h-2\\\"></div>\\n          {{#if (and customer.hasActiveSubscription customer.couponCode)}}\\n            <div class=\\\"flex flex-col gap-2\\\">\\n              <div class=\\\"flex flex-row justify-between items-center\\\">\\n                <div>\\n                  Regular price\\n                </div>\\n                <div class=\\\"settings__billing__cta__line-item\\\">\\n                  ${{preDiscountTotalAmount}} /mo\\n                </div>\\n              </div>\\n\\n              <div class=\\\"flex flex-row justify-between items-center\\\">\\n                <div>\\n                  Coupon discount\\n                </div>\\n                <div class=\\\"settings__billing__cta__line-item\\\">\\n                  -${{formattedCouponDiscountDollarAmount}} /mo\\n                </div>\\n              </div>\\n\\n              <div class=\\\"flex flex-row justify-between items-center\\\">\\n                <div class=\\\"settings__billing__cta__total-price-tag\\\">\\n                  Total\\n                </div>\\n                <div>\\n                  <span class=\\\"settings__billing__cta__total-price\\\">\\n                    ${{customerService.totalAmount}} /\\n                  </span>\\n                  <span\\n                    class=\\\"settings__billing__cta__total-price-tag o__with-discount\\\"\\n                  >\\n                    mo\\n                  </span>\\n                </div>\\n              </div>\\n            </div>\\n          {{else if earlyStagePartnerWithoutMessenger}}\\n            <div\\n              class=\\\"layout__box settings__billing__cta__total-price-wrapper\\\"\\n            >\\n              <span class=\\\"settings__billing__cta__total-price\\\">\\n                $49* /\\n              </span>\\n              <span class=\\\"settings__billing__cta__total-price-tag\\\">\\n                mo\\n              </span>\\n            </div>\\n            <div\\n              class=\\\"settings__billing__overview__confirm__partner-copy text-gray\\\"\\n            >\\n              *$0/mo with the Intercom messenger visible on your homepage.\\n            </div>\\n          {{else if app.validEarlyStageApplicant}}\\n            <div\\n              class=\\\"layout__box settings__billing__cta__total-price-wrapper\\\"\\n            >\\n              <span class=\\\"settings__billing__cta__total-price\\\">\\n                $49/\\n              </span>\\n              <span class=\\\"settings__billing__cta__total-price-tag\\\">\\n                mo\\n              </span>\\n            </div>\\n          {{else}}\\n            <div\\n              class=\\\"layout__box settings__billing__cta__total-price-wrapper\\\"\\n            >\\n              <span class=\\\"settings__billing__cta__total-price\\\">\\n                ${{customerService.totalAmount}} /\\n              </span>\\n              <span class=\\\"settings__billing__cta__total-price-tag\\\">\\n                mo\\n              </span>\\n            </div>\\n            {{#if showCouponComponent}}\\n              <div class=\\\"h-2\\\"></div>\\n              <Billing::CouponComponent\\n                @totalAmount={{customerService.totalAmount}}\\n                @context=\\\"billing\\\"\\n                @place=\\\"create_paid_account\\\"\\n                @inputClasses=\\\"f__text u__mb__10\\\"\\n                @onUpdateTotal={{action \\\"updateTotalAmount\\\"}}\\n              />\\n            {{/if}}\\n          {{/if}}\\n          <div class=\\\"h-5\\\"></div>\\n          {{#if customer.hasActiveSubscription}}\\n            {{#unless customer.hasActiveTrialWithoutCreditCard}}\\n              <p class=\\\"t__label settings__billing__cta__total-price-header\\\">\\n                Payment Method\\n              </p>\\n              <div class=\\\"h-2\\\"></div>\\n              <p>\\n                {{customer.cardBrand}} ending in {{customer.cardLastFour}}\\n              </p>\\n            {{/unless}}\\n            <div class=\\\"h-5\\\"></div>\\n            <IcButton\\n              @label={{if\\n                sendNewOrUpdateSubscriptionTask.isRunning\\n                ctaProcessingButtonText\\n                ctaButtonText\\n              }}\\n              @type=\\\"primary-live\\\"\\n              @disabled={{sendNewOrUpdateSubscriptionTask.isRunning}}\\n              @onClick={{action \\\"updateSubscription\\\"}}\\n            />\\n          {{else}}\\n            <div id=\\\"confirm-subscription-payment-button-id\\\"></div>\\n            <div class=\\\"h-5\\\"></div>\\n            <p class=\\\"signup__new__cta__terms-of-service\\\">\\n              By clicking “Start 14-day trial” you agree to Intercom’s <a\\n                target=\\\"_blank\\\"\\n                rel=\\\"noopener noreferrer\\\"\\n                href=\\\"https://www.intercom.com/terms-and-policies#terms\\\"\\n              >\\n                Terms of Service\\n              </a>\\n              and <a\\n                target=\\\"_blank\\\"\\n                rel=\\\"noopener noreferrer\\\"\\n                href=\\\"https://www.intercom.com/terms-and-policies#privacy\\\"\\n              >\\n                Privacy Policy.\\n              </a>\\n              After your free trial, your credit card will be charged monthly & your fees may vary based on how we bill.\\n            </p>\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"layout__box o__flexes-to-1 o__has-rows settings__billing__confirm__container\\\"\\n>\\n  <Billing::Details::HeaderComponent @hidePrices={{true}}>\\n    Confirm your subscription\\n  </Billing::Details::HeaderComponent>\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__has-columns {{unless customer.hasActiveSubscription \\\"o__centers-horizontally\\\"}}\\\"\\n  >\\n    <div class=\\\"u__mt__20 settings__billing__product__cards__container\\\">\\n      {{#if customer.hasActiveSubscription}}\\n        <div\\n          class=\\\"settings__billing__product__card__title layout__box o__centers-vertically t__label\\\"\\n        >\\n          Your current subscription\\n        </div>\\n        {{#each existingActiveProducts as |product|}}\\n          <Billing::ProductCard\\n            @prices={{prices}}\\n            @product={{product}}\\n            @productTitle={{product.name}}\\n            @withActiveSubscription={{customer.hasActiveSubscription}}\\n          />\\n        {{/each}}\\n        <div class=\\\"u__mt__20\\\"></div>\\n      {{/if}}\\n      <div\\n        class=\\\"{{if customer.hasActiveSubscription \\\"settings__billing__product__card__updated-wrapper\\\"}}\\\"\\n      >\\n        {{#if customer.hasActiveSubscription}}\\n          <div\\n            class=\\\"settings__billing__product__card__updated-title layout__box o__centers-vertically t__label\\\"\\n          >\\n            Your updated subscription\\n          </div>\\n        {{else}}\\n          <div\\n            class=\\\"settings__billing__product__card__title layout__box o__centers-vertically t__label\\\"\\n          >\\n            Your new subscription\\n          </div>\\n        {{/if}}\\n        {{#each summaryProducts as |product|}}\\n          <Billing::ProductCard\\n            @prices={{prices}}\\n            @product={{product}}\\n            @productTitle={{product.name}}\\n            @newStatus={{product.newStatus}}\\n            @lastProduct={{eq summaryProducts.lastObject.id product.id}}\\n            @withActiveSubscription={{customer.hasActiveSubscription}}\\n            @validEarlyStageApplicant={{app.validEarlyStageApplicant}}\\n          />\\n        {{/each}}\\n      </div>\\n      {{#unless customer.hasActiveSubscription}}\\n        <div class=\\\"settings__billing__product__card__container u__mt__20\\\">\\n          <div\\n            class=\\\"settings__billing__product__card__title layout__box o__centers-vertically t__label\\\"\\n          >\\n            Payment methods\\n          </div>\\n          <div class=\\\"settings__billing__payment__card__content\\\">\\n            <div class=\\\"settings__billing__payment__card__title\\\">\\n              <div class=\\\"t__label\\\">\\n                Enter credit or debit card\\n              </div>\\n            </div>\\n            <Billing::StripeCardComponent\\n              @cardError={{cardError}}\\n              @stripeElement={{stripeElement}}\\n            >\\n              <IcButton\\n                class=\\\"settings__billing__product__card__confirm__button\\\"\\n                @type=\\\"primary-live\\\"\\n                @onClick={{action \\\"submitStripeElement\\\"}}\\n                @disabled={{sendNewOrUpdateSubscriptionTask.isRunning}}\\n                @label={{if\\n                  sendNewOrUpdateSubscriptionTask.isRunning\\n                  ctaProcessingButtonText\\n                  ctaButtonText\\n                }}\\n              />\\n            </Billing::StripeCardComponent>\\n          </div>\\n          <div\\n            class=\\\"settings__billing__payment__card__content layout__box o__flexes-to-1 o__has-columns\\\"\\n          >\\n            <div\\n              class=\\\"settings__billing__payment__card__content__selector__wrapper\\\"\\n            >\\n              <Signup::New::FormFieldComponent\\n                @label=\\\"Card location\\\"\\n                @error={{billingAddressErrors.countryCode}}\\n              >\\n                <Signup::CountrySelectComponent\\n                  @countryCodeError={{billingAddressErrors.countryCode}}\\n                  @onSelect={{action \\\"onCountrySelected\\\"}}\\n                  data-test-input=\\\"countryCode\\\"\\n                  @classesForSelect=\\\"signup__new__form__input__select change-plan-modal__cta__select\\\"\\n                />\\n              </Signup::New::FormFieldComponent>\\n            </div>\\n            {{#if addressConfiguration.showState}}\\n              <div\\n                class=\\\"layout__box o__flexes-to-1 settings__billing__payment__card__content__selector__wrapper\\\"\\n              >\\n                <Signup::New::FormFieldComponent\\n                  @label={{addressConfiguration.stateLabel}}\\n                  @error={{billingAddressErrors.stateCode}}\\n                >\\n                  <Signup::StateSelectComponent\\n                    @countryCode={{billingAddress.countryCode}}\\n                    @state={{billingAddress.stateCode}}\\n                    @stateCodeError={{billingAddressErrors.stateCode}}\\n                    data-test-input=\\\"state\\\"\\n                    @classesForSelect=\\\"signup__new__form__input__select change-plan-modal__cta__select\\\"\\n                  />\\n                </Signup::New::FormFieldComponent>\\n              </div>\\n            {{/if}}\\n          </div>\\n        </div>\\n      {{/unless}}\\n    </div>\\n    <div class=\\\"u__mt__20\\\">\\n      <div class=\\\"settings__billing__product__card__container o__in-app\\\">\\n        <div\\n          class=\\\"settings__billing__product__card__title layout__box o__centers-vertically t__label\\\"\\n        >\\n          Review and Confirm\\n        </div>\\n        <div class=\\\"settings__billing__product__card__main layout__box\\\">\\n          {{#if customer.hasActiveSubscription}}\\n            <p>\\n              You are changing your Intercom subscription.\\n              Review and confirm your changes.\\n            </p>\\n          {{/if}}\\n          <div class=\\\"h-5\\\"></div>\\n          <p class=\\\"t__label settings__billing__cta__total-price-header\\\">\\n            Your Total\\n          </p>\\n          <div class=\\\"h-2\\\"></div>\\n          {{#if (and customer.hasActiveSubscription customer.couponCode)}}\\n            <div class=\\\"flex flex-col gap-2\\\">\\n              <div class=\\\"flex flex-row justify-between items-center\\\">\\n                <div>\\n                  Regular price\\n                </div>\\n                <div class=\\\"settings__billing__cta__line-item\\\">\\n                  ${{preDiscountTotalAmount}} /mo\\n                </div>\\n              </div>\\n\\n              <div class=\\\"flex flex-row justify-between items-center\\\">\\n                <div>\\n                  Coupon discount\\n                </div>\\n                <div class=\\\"settings__billing__cta__line-item\\\">\\n                  -${{formattedCouponDiscountDollarAmount}} /mo\\n                </div>\\n              </div>\\n\\n              <div class=\\\"flex flex-row justify-between items-center\\\">\\n                <div class=\\\"settings__billing__cta__total-price-tag\\\">\\n                  Total\\n                </div>\\n                <div>\\n                  <span class=\\\"settings__billing__cta__total-price\\\">\\n                    ${{customerService.totalAmount}} /\\n                  </span>\\n                  <span\\n                    class=\\\"settings__billing__cta__total-price-tag o__with-discount\\\"\\n                  >\\n                    mo\\n                  </span>\\n                </div>\\n              </div>\\n            </div>\\n          {{else if earlyStagePartnerWithoutMessenger}}\\n            <div\\n              class=\\\"layout__box settings__billing__cta__total-price-wrapper\\\"\\n            >\\n              <span class=\\\"settings__billing__cta__total-price\\\">\\n                $49* /\\n              </span>\\n              <span class=\\\"settings__billing__cta__total-price-tag\\\">\\n                mo\\n              </span>\\n            </div>\\n            <div\\n              class=\\\"settings__billing__overview__confirm__partner-copy text-gray\\\"\\n            >\\n              *$0/mo with the Intercom messenger visible on your homepage.\\n            </div>\\n          {{else if app.validEarlyStageApplicant}}\\n            <div\\n              class=\\\"layout__box settings__billing__cta__total-price-wrapper\\\"\\n            >\\n              <span class=\\\"settings__billing__cta__total-price\\\">\\n                $49/\\n              </span>\\n              <span class=\\\"settings__billing__cta__total-price-tag\\\">\\n                mo\\n              </span>\\n            </div>\\n          {{else}}\\n            <div\\n              class=\\\"layout__box settings__billing__cta__total-price-wrapper\\\"\\n            >\\n              <span class=\\\"settings__billing__cta__total-price\\\">\\n                ${{customerService.totalAmount}} /\\n              </span>\\n              <span class=\\\"settings__billing__cta__total-price-tag\\\">\\n                mo\\n              </span>\\n            </div>\\n            {{#if showCouponComponent}}\\n              <div class=\\\"h-2\\\"></div>\\n              <Billing::CouponComponent\\n                @totalAmount={{customerService.totalAmount}}\\n                @context=\\\"billing\\\"\\n                @place=\\\"create_paid_account\\\"\\n                @inputClasses=\\\"f__text u__mb__10\\\"\\n                @onUpdateTotal={{action \\\"updateTotalAmount\\\"}}\\n              />\\n            {{/if}}\\n          {{/if}}\\n          <div class=\\\"h-5\\\"></div>\\n          {{#if customer.hasActiveSubscription}}\\n            {{#unless customer.hasActiveTrialWithoutCreditCard}}\\n              <p class=\\\"t__label settings__billing__cta__total-price-header\\\">\\n                Payment Method\\n              </p>\\n              <div class=\\\"h-2\\\"></div>\\n              <p>\\n                {{customer.cardBrand}} ending in {{customer.cardLastFour}}\\n              </p>\\n            {{/unless}}\\n            <div class=\\\"h-5\\\"></div>\\n            <IcButton\\n              @label={{if\\n                sendNewOrUpdateSubscriptionTask.isRunning\\n                ctaProcessingButtonText\\n                ctaButtonText\\n              }}\\n              @type=\\\"primary-live\\\"\\n              @disabled={{sendNewOrUpdateSubscriptionTask.isRunning}}\\n              @onClick={{action \\\"updateSubscription\\\"}}\\n            />\\n          {{else}}\\n            <div id=\\\"confirm-subscription-payment-button-id\\\"></div>\\n            <div class=\\\"h-5\\\"></div>\\n            <p class=\\\"signup__new__cta__terms-of-service\\\">\\n              By clicking “Start 14-day trial” you agree to Intercom’s <a\\n                target=\\\"_blank\\\"\\n                rel=\\\"noopener noreferrer\\\"\\n                href=\\\"https://www.intercom.com/terms-and-policies#terms\\\"\\n              >\\n                Terms of Service\\n              </a>\\n              and <a\\n                target=\\\"_blank\\\"\\n                rel=\\\"noopener noreferrer\\\"\\n                href=\\\"https://www.intercom.com/terms-and-policies#privacy\\\"\\n              >\\n                Privacy Policy.\\n              </a>\\n              After your free trial, your credit card will be charged monthly & your fees may vary based on how we bill.\\n            </p>\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/billing/confirm-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/confirm-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport FormComponent from 'embercom/components/signup/new/form-component';\nimport { computed } from '@ember/object';\nimport { readOnly, alias, filterBy, mapBy, and } from '@ember/object/computed';\nimport { run } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\nimport { flatMap } from '@intercom/embercom-core/lib/computed-properties';\nimport numericFormatter from 'embercom/lib/numeric-formatter';\nimport numberFormatter from 'embercom/lib/number-formatter';\nimport {} from 'embercom/lib/billing';\n\nexport default FormComponent.extend({\n  purchaseAnalyticsService: service(),\n  router: service(),\n  notificationsService: service(),\n  appService: service(),\n  modelDataCacheService: service(),\n  customerService: service(),\n  planIds: null,\n  solutionId: null,\n  tagName: null,\n  classNames: null,\n  classNameBindings: null,\n  app: readOnly('appService.app'),\n  totalAmount: readOnly('customerService.totalAmountPostCoupon'),\n  currentPrice: readOnly('customerService.currentPrice'),\n  preDiscountTotalAmount: readOnly('customerService.totalAmount'),\n  formattedCouponDiscountDollarAmount: computed('currentPrice', function() {\n    let couponAmount =\n      (this.get('currentPrice.preDiscountAmount') - this.get('currentPrice.amount')) / 100;\n    return Number.isInteger(couponAmount)\n      ? numberFormatter(couponAmount)\n      : numericFormatter(couponAmount, 2, true);\n  }),\n  customer: alias('customerService.customer'),\n  products: alias('customerService.products'),\n  prices: alias('customerService.prices'),\n  earlyStagePartnerWithoutMessenger: readOnly('customerService.earlyStagePartnerWithoutMessenger'),\n  summaryProducts: filterBy('products', 'showInSummary'),\n  existingProducts: mapBy('products', 'content'),\n  existingActiveProducts: filterBy('existingProducts', 'active'),\n  changedProducts: filterBy('products', 'changedPlan'),\n\n  stripev3: service('stripev3'),\n  token: null,\n\n  plans: flatMap('products', 'plans'),\n  activePlans: filterBy('plans', 'active'),\n  activeProducts: filterBy('products', 'active'),\n  activePlanIds: mapBy('activePlans', 'idAsNumber'),\n  productsBeingRemoved: filterBy('products', 'removing'),\n\n  showCouponComponent: and(\n    'customer.hasNoActiveSubscription',\n    'customer.canAddOrEditCoupon',\n    'customerService.eligibletoEditAsRegularCustomer',\n  ),\n\n  isEditing: computed(\n    'customer.hasActiveSubscription',\n    'customerService.eligibletoEditAsRegularCustomer',\n    function() {\n      if (\n        this.get('customer.hasActiveSubscription') &&\n        this.get('customerService.eligibletoEditAsRegularCustomer')\n      ) {\n        return true;\n      }\n\n      return false;\n    },\n  ),\n\n  ctaButtonText: computed('changedProducts.@each.trialable', function() {\n    if (this.get('customer.hasActiveSubscription')) {\n      return 'Update subscription';\n    }\n    let trialableChangedProducts = this.changedProducts.any(changedProduct => {\n      return changedProduct.get('trialable');\n    });\n    if (trialableChangedProducts) {\n      return 'Start your 14 day free trial';\n    }\n    return 'Start subscription';\n  }),\n\n  ctaProcessingButtonText: computed('ctaButtonText', function() {\n    return this.ctaButtonText === 'Update subscription' ? 'Updating...' : 'Starting...';\n  }),\n\n  sendNewOrUpdateSubscriptionTask: task(function*(formData) {\n    let appId = this.get('app.id');\n    let object = 'start-subscription';\n\n    if (this.productsBeingRemoved.length > 0) {\n      object = 'downgrade-subscription';\n    } else if (this.get('customer.hasActiveSubscription')) {\n      object = 'upgrade-subscription';\n    }\n\n    let context = 'change_plan_modal';\n\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'clicked',\n      object,\n      planIds: this.activePlanIds,\n      context,\n    });\n\n    let params = {\n      url: `/ember/customers/${appId}/update_subscription`,\n      type: 'post',\n      contentType: 'application/json',\n      data: JSON.stringify(formData),\n    };\n\n    yield ajax(params)\n      .then(() => {\n        this.purchaseAnalyticsService.trackEvent({\n          action: 'completed',\n          object,\n          planIds: this.activePlanIds,\n          featureName: this.featureName,\n          context,\n        });\n\n        this.notificationsService.notifyConfirmation(\n          'You have successfully updated your subscription!',\n        );\n\n        this.customerService.reportProductChangesForAnalytics({\n          place: 'upgrade_modal',\n          paywalled_feature: this.featureName,\n        });\n\n        this.customerService.loadData();\n      })\n      .catch(error => {\n        this.purchaseAnalyticsService.trackEvent({\n          action: 'failed',\n          object,\n          planIds: this.activePlanIds,\n          featureName: this.featureName,\n          context,\n        });\n        throw error;\n      });\n  }),\n\n  postTask: null,\n  refresh: null,\n\n  newSubscriptionFormData() {\n    let appId = this.get('app.id');\n\n    let stateCode = this.addressConfiguration.showState ? this.billingAddress.stateCode : undefined;\n    let formData = {\n      plan_ids: this.activePlanIds,\n      credit_card_token: this.get('token.id'),\n      override_default_pricing_model: true,\n      app_id: appId,\n      country_code: this.billingAddress.countryCode,\n      coupon_code: this.couponCode,\n      state_code: stateCode,\n      street_address: this.billingAddress.streetAddress,\n      city: this.billingAddress.city,\n      postcode: this.billingAddress.postcode,\n    };\n\n    return formData;\n  },\n\n  updateSubscriptionFormData() {\n    let appId = this.get('app.id');\n    let formData = {\n      plan_ids: this.get('customerService.activePlanIds'),\n      app_id: appId,\n    };\n    return formData;\n  },\n\n  isLocationDataValid() {\n    this._resetInvalidLocationDataErrors();\n    if (this.hasInvalidLocationData && !this.get('app.hasActiveSubscription')) {\n      this._showInvalidLocationDataErrors();\n      return false;\n    }\n    return true;\n  },\n\n  sendPayment() {\n    let formData = this.get('app.hasActiveSubscription')\n      ? this.updateSubscriptionFormData()\n      : this.newSubscriptionFormData();\n    let inboxWasActive = this.get('app.inboxIsActive');\n    this.sendNewOrUpdateSubscriptionTask\n      .perform(formData)\n      .then(() =>\n        this.app.reload().then(() => {\n          this.modelDataCacheService.clear();\n          this.updateAppAdminInboxAccess(inboxWasActive);\n          this.customerService.resetAll();\n          this.postTask();\n        }),\n      )\n      .catch(err => {\n        let message = 'Please contact our sales team.';\n        if (err && err.jqXHR && err.jqXHR.responseJSON && err.jqXHR.responseJSON[0]) {\n          message = err.jqXHR.responseJSON[0];\n        }\n        if (message.includes('stripe') || message.includes('Stripe')) {\n          message =\n            'We are currently experiencing an issue with our payment provider. Please try again later.';\n        }\n        this.notificationsService.notifyError(\n          `There was an error updating your subscription: ${message}`,\n        );\n      });\n  },\n\n  updateAppAdminInboxAccess(inboxWasActive) {\n    if (!inboxWasActive && this.get('app.inboxIsActive')) {\n      return this.set('app.currentAdmin.currentAppPermissions.has_inbox_access', true);\n    }\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n\n    if (this.stripeElement) {\n      this.stripeElement.on('change', (...args) => {\n        let { complete, value } = args[0];\n        if (complete && this.emptyBillingPostcode) {\n          this.set('billingAddress.postcode', value.postalCode || '');\n        }\n      });\n    }\n  },\n\n  actions: {\n    submitStripeElement() {\n      if (!this.isLocationDataValid()) {\n        return;\n      }\n\n      let stripeElement = this.stripeElement;\n      let stripe = this.stripev3;\n      stripe\n        .createToken(stripeElement)\n        .then(response => {\n          run(() => {\n            if (response.error && response.error.message) {\n              let errorMessage = response.error.message;\n              if (errorMessage.includes('stripe') || errorMessage.includes('Stripe')) {\n                errorMessage =\n                  'We are currently experiencing an issue with our payment provider. Please try again later.';\n              }\n              this.notificationsService.notifyError(errorMessage);\n              return;\n            }\n            this.set('token', response.token);\n            this.sendPayment();\n          });\n        })\n        .catch(err => {\n          if (err.message) {\n            let errorMessage = err.message;\n            if (errorMessage.includes('stripe') || errorMessage.includes('Stripe')) {\n              errorMessage =\n                'We are currently experiencing an issue with our payment provider. Please try again later.';\n            }\n            this.notificationsService.notifyError(\n              `There was an error updating your subscription: ${errorMessage}`,\n            );\n          }\n        });\n    },\n    updateSubscription() {\n      this.sendPayment();\n    },\n    updateTotalAmount(couponCode, amount) {\n      this.set('couponCode', couponCode);\n      this.set('customerService.totalAmountPostCoupon', amount);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"main__content layout__box o__scrolls o__flexes-to-1\\\">\\n  Congratulations, you just bought {{product.name}} <IcButton\\n    @label=\\\"Done\\\"\\n    @type=\\\"primary-live\\\"\\n    @disabled={{false}}\\n    @onClick={{action \\\"close\\\"}}\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"main__content layout__box o__scrolls o__flexes-to-1\\\">\\n  Congratulations, you just bought {{product.name}} <IcButton\\n    @label=\\\"Done\\\"\\n    @type=\\\"primary-live\\\"\\n    @disabled={{false}}\\n    @onClick={{action \\\"close\\\"}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/billing/confirm-product-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/confirm-product-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  product: null,\n\n  actions: {\n    close() {\n      this.postTask();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col signup__teams__pricing-table__cta__inline-coupon-input\\\">\\n  <div class=\\\"flex flex-row\\\">\\n  {{#if this.coupon}}\\n    <span class=\\\"text-green\\\">\\n      <strong>\\n        {{this.couponDiscount}} Discount applied\\n      </strong>\\n      😀\\n    </span>\\n  {{else}}\\n    {{#if this.isEnteringCoupon}}\\n      <Input\\n        @enter={{action \\\"enterAndSubmitCoupon\\\"}}\\n        @value={{this.couponCode}}\\n        placeholder={{tt \\\"sign_up.new.add_coupon\\\"}}\\n        class={{concat @inputClasses (if this.couponErrors \\\" o__error\\\")}}\\n        @key-down={{action \\\"couponEdited\\\"}}\\n      />\\n      {{#unless this.couponErrors}}\\n        <div class=\\\"signup__new__cta__apply-button\\\">\\n          <IcButton\\n            @type=\\\"secondary\\\"\\n            @label={{tt \\\"sign_up.new.apply\\\"}}\\n            @onClick={{action \\\"applyAndSubmitCoupon\\\"}}\\n            @disabled={{this.submitButtonDisabled}}\\n            @processingLabel=\\\"Apply...\\\"\\n          />\\n        </div>\\n      {{/unless}}\\n    {{else}}\\n      {{ic-interface-icon \\\"new\\\" solo=true}}\\n      <button class=\\\"signup__new__cta__coupon-link  signup__teams__pricing-table__cta__coupon-link\\\"\\n        {{action \\\"beginEnteringCoupon\\\"}}>\\n        {{tt \\\"sign_up.new.apply_coupon\\\"}}\\n      </button>\\n    {{/if}}\\n  {{/if}}\\n  </div>\\n\\n  {{#if this.couponErrors}}\\n    <span>\\n      <span class=\\\"text-red\\\">\\n        <strong>\\n          {{this.couponErrors}}\\n        </strong>\\n      </span>\\n      🤔\\n    </span>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col signup__teams__pricing-table__cta__inline-coupon-input\\\">\\n  <div class=\\\"flex flex-row\\\">\\n  {{#if this.coupon}}\\n    <span class=\\\"text-green\\\">\\n      <strong>\\n        {{this.couponDiscount}} Discount applied\\n      </strong>\\n      😀\\n    </span>\\n  {{else}}\\n    {{#if this.isEnteringCoupon}}\\n      <Input\\n        @enter={{action \\\"enterAndSubmitCoupon\\\"}}\\n        @value={{this.couponCode}}\\n        placeholder={{tt \\\"sign_up.new.add_coupon\\\"}}\\n        class={{concat @inputClasses (if this.couponErrors \\\" o__error\\\")}}\\n        @key-down={{action \\\"couponEdited\\\"}}\\n      />\\n      {{#unless this.couponErrors}}\\n        <div class=\\\"signup__new__cta__apply-button\\\">\\n          <IcButton\\n            @type=\\\"secondary\\\"\\n            @label={{tt \\\"sign_up.new.apply\\\"}}\\n            @onClick={{action \\\"applyAndSubmitCoupon\\\"}}\\n            @disabled={{this.submitButtonDisabled}}\\n            @processingLabel=\\\"Apply...\\\"\\n          />\\n        </div>\\n      {{/unless}}\\n    {{else}}\\n      {{ic-interface-icon \\\"new\\\" solo=true}}\\n      <button class=\\\"signup__new__cta__coupon-link  signup__teams__pricing-table__cta__coupon-link\\\"\\n        {{action \\\"beginEnteringCoupon\\\"}}>\\n        {{tt \\\"sign_up.new.apply_coupon\\\"}}\\n      </button>\\n    {{/if}}\\n  {{/if}}\\n  </div>\\n\\n  {{#if this.couponErrors}}\\n    <span>\\n      <span class=\\\"text-red\\\">\\n        <strong>\\n          {{this.couponErrors}}\\n        </strong>\\n      </span>\\n      🤔\\n    </span>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/billing/coupon-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/coupon-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport numericFormatter from 'embercom/lib/numeric-formatter';\n\nexport default Component.extend({\n  purchaseAnalyticsService: service(),\n  proChanges: false,\n  coupon: null,\n  couponCode: null,\n  isEnteringCoupon: false,\n  couponErrors: null,\n  totalAmount: null,\n  onUpdateTotal: null,\n  store: service(),\n  tagName: '',\n\n  init() {\n    this._super();\n    if (this.couponCode) {\n      this.set('isEnteringCoupon', true);\n      this.send('enterAndSubmitCoupon');\n    }\n  },\n\n  submitButtonDisabled: computed('couponCode', 'validateCouponTask', function() {\n    return !this.couponCode || this.get('validateCouponTask.isRunning');\n  }),\n\n  totalAmountPostCoupon: computed('totalAmount', 'coupon', function() {\n    if (!this.coupon) {\n      return this.totalAmount;\n    }\n\n    let totalAmountInCents = this.totalAmount;\n    if (this.get('coupon.amountOffInCents')) {\n      return Math.max(totalAmountInCents - this.get('coupon.amountOffInCents'), 0);\n    }\n\n    if (this.get('coupon.percentOff')) {\n      return totalAmountInCents - totalAmountInCents * (this.get('coupon.percentOff') / 100.0);\n    }\n    return this.totalAmount;\n  }),\n\n  couponDiscount: computed('coupon', function() {\n    if (!this.coupon) {\n      return 0;\n    }\n\n    if (this.get('coupon.amountOffInCents')) {\n      let couponAmount = this.get('coupon.amountOffInCents') / 100.0;\n      let formattedCouponAmount = numericFormatter(couponAmount, 2, true);\n      return `$${formattedCouponAmount}`;\n    }\n\n    if (this.get('coupon.percentOff')) {\n      return `${this.get('coupon.percentOff')}%`;\n    }\n  }),\n\n  validateCouponTask: task(function*() {\n    yield this.store.findRecord('coupon', this.couponCode).then(\n      coupon => {\n        this.set('coupon', coupon);\n        this.set('isEnteringCoupon', false);\n        this.set('couponErrors', null);\n        this.onUpdateTotal(this.couponCode, this.totalAmountPostCoupon);\n      },\n      err => {\n        this.set('couponErrors', err.jqXHR.responseJSON.errors.coupon);\n      },\n    );\n  }),\n  actions: {\n    enterAndSubmitCoupon() {\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'entered',\n        object: 'enter_coupon',\n        context: this.context,\n        place: this.place,\n      });\n      if (this.couponErrors || !this.couponCode) {\n        return;\n      }\n      this.validateCouponTask.perform();\n    },\n    applyAndSubmitCoupon() {\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'clicked',\n        object: 'apply_coupon',\n        context: this.context,\n        place: this.place,\n        mobile: this.get('media.isMobile'),\n      });\n      if (this.couponErrors || !this.couponCode) {\n        return;\n      }\n      this.validateCouponTask.perform();\n    },\n    beginEnteringCoupon() {\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'clicked',\n        object: 'enter_coupon',\n        context: this.context,\n        place: this.place,\n      });\n      this.set('isEnteringCoupon', true);\n    },\n    couponEdited() {\n      // submit couponCode\n      // it is wrong\n      // display error\n      // start typing again\n      // remove error and allow apply\n      if (this.couponErrors) {\n        this.set('couponErrors', null);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<tr data-test-has-coupon class=\\\"tbl__row\\\">\\n  <td class=\\\"tbl__cell settings__billing__total settings__billing__total-price-amount\\\" colspan=\\\"2\\\">\\n    {{#if @hasStamp}}\\n      <span class=\\\"stamp o__yellow\\\">\\n        Coupon applied\\n      </span>\\n    {{/if}}\\n    {{@discountName}} discount\\n    <span class=\\\"text-gray u__normal-weight\\\">{{@expiresAt}}\\n      {{~#if (and @canUpdate @isEditing)~}}\\n        ,&nbsp;<a class=\\\"text-gray\\\" {{action @updateCoupon}}>update coupon code</a>\\n      {{~/if~}}\\n    </span>\\n  </td>\\n\\n  <td class=\\\"tbl__cell settings__billing__total\\\">\\n    <span class={{if @showPriceComparison 'settings__billing__details-strike-text text-gray u__padr__20'}} data-test-current-pricing>\\n      -{{@discountAmount}}\\n    </span>\\n    {{#if @showPriceComparison}}\\n      -{{@migrationDiscountAmount}}\\n    {{/if}}\\n  </td>\\n  {{#if @isEditing}}\\n    <td></td>\\n  {{/if}}\\n</tr>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<tr data-test-has-coupon class=\\\"tbl__row\\\">\\n  <td class=\\\"tbl__cell settings__billing__total settings__billing__total-price-amount\\\" colspan=\\\"2\\\">\\n    {{#if @hasStamp}}\\n      <span class=\\\"stamp o__yellow\\\">\\n        Coupon applied\\n      </span>\\n    {{/if}}\\n    {{@discountName}} discount\\n    <span class=\\\"text-gray u__normal-weight\\\">{{@expiresAt}}\\n      {{~#if (and @canUpdate @isEditing)~}}\\n        ,&nbsp;<a class=\\\"text-gray\\\" {{action @updateCoupon}}>update coupon code</a>\\n      {{~/if~}}\\n    </span>\\n  </td>\\n\\n  <td class=\\\"tbl__cell settings__billing__total\\\">\\n    <span class={{if @showPriceComparison 'settings__billing__details-strike-text text-gray u__padr__20'}} data-test-current-pricing>\\n      -{{@discountAmount}}\\n    </span>\\n    {{#if @showPriceComparison}}\\n      -{{@migrationDiscountAmount}}\\n    {{/if}}\\n  </td>\\n  {{#if @isEditing}}\\n    <td></td>\\n  {{/if}}\\n</tr>\\n\",\"moduleName\":\"embercom/components/billing/coupon-line-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/coupon-line-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @width=\\\"s\\\"\\n  @onModalClose={{@closeModal}}\\n  @focusElement=\\\"body\\\"\\n  data-test-credit-card-modal\\n  as |modal|\\n>\\n  <modal.header @title=\\\"Billing information\\\" />\\n\\n  <modal.body>\\n\\n    <Billing::AddressForm\\n      @countryLabel=\\\"Billing country\\\"\\n      @address={{this.address}}\\n      @showAllErrors={{this.showAllErrors}}\\n      as |form|\\n    >\\n      <form.Item @label=\\\"Card number\\\">\\n        <StripeCard @onChange=\\\"stripeElementChanged\\\" as |stripeElement stripeError| >\\n          <EmberWormhole @to=\\\"update-card-button-id\\\">\\n            <IcButton\\n              @type=\\\"primary\\\"\\n              @label=\\\"Update card\\\"\\n              @processingLabel=\\\"Updating...\\\"\\n              @disabled={{this.updateCardTask.isRunning}}\\n              @onClick={{perform this.updateCardTask stripeElement}}\\n              data-test-update-card-button\\n            />\\n          </EmberWormhole>\\n        </StripeCard>\\n      </form.Item>\\n    </Billing::AddressForm>\\n  </modal.body>\\n\\n  <modal.footer>\\n    <div class=\\\"flex flex-row items-center justify-end flex-1 gap-2\\\">\\n      <IcButton @type=\\\"secondary\\\" @label=\\\"Cancel\\\" @onClick={{@closeModal}} data-test-cancel-button />\\n      <div id=\\\"update-card-button-id\\\"></div>\\n    </div>\\n  </modal.footer>\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @width=\\\"s\\\"\\n  @onModalClose={{@closeModal}}\\n  @focusElement=\\\"body\\\"\\n  data-test-credit-card-modal\\n  as |modal|\\n>\\n  <modal.header @title=\\\"Billing information\\\" />\\n\\n  <modal.body>\\n\\n    <Billing::AddressForm\\n      @countryLabel=\\\"Billing country\\\"\\n      @address={{this.address}}\\n      @showAllErrors={{this.showAllErrors}}\\n      as |form|\\n    >\\n      <form.Item @label=\\\"Card number\\\">\\n        <StripeCard @onChange=\\\"stripeElementChanged\\\" as |stripeElement stripeError| >\\n          <EmberWormhole @to=\\\"update-card-button-id\\\">\\n            <IcButton\\n              @type=\\\"primary\\\"\\n              @label=\\\"Update card\\\"\\n              @processingLabel=\\\"Updating...\\\"\\n              @disabled={{this.updateCardTask.isRunning}}\\n              @onClick={{perform this.updateCardTask stripeElement}}\\n              data-test-update-card-button\\n            />\\n          </EmberWormhole>\\n        </StripeCard>\\n      </form.Item>\\n    </Billing::AddressForm>\\n  </modal.body>\\n\\n  <modal.footer>\\n    <div class=\\\"flex flex-row items-center justify-end flex-1 gap-2\\\">\\n      <IcButton @type=\\\"secondary\\\" @label=\\\"Cancel\\\" @onClick={{@closeModal}} data-test-cancel-button />\\n      <div id=\\\"update-card-button-id\\\"></div>\\n    </div>\\n  </modal.footer>\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/billing/credit-card-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/credit-card-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport ajax from 'embercom/lib/ajax';\nimport { addressValidation } from 'embercom/lib/address-validation';\nimport AddressParams from 'embercom/lib/billing/address-params';\n\nexport default class CreditCardModal extends Component {\n  @service appService;\n  @service customerService;\n  @service stripev3;\n  @service notificationsService;\n  @service store;\n  @tracked address = new AddressParams();\n  @tracked showAllErrors = false;\n\n  constructor() {\n    super(...arguments);\n    this.address.countryCode = 'US';\n\n    if (this.customerService.customer.billingAddress) {\n      this.address.countryCode = this.customerService.customer.billingAddress.country;\n      this.address.stateCode = this.customerService.customer.billingAddress.state;\n      this.address.postcode = this.customerService.customer.billingAddress.postcode;\n      this.address.streetAddress = this.customerService.customer.billingAddress.streetAddress;\n      this.address.city = this.customerService.customer.billingAddress.city;\n    }\n  }\n\n  get isFormValid() {\n    return addressValidation(this.address);\n  }\n\n  @action\n  stripeElementChanged(_, ...args) {\n    let { complete, value } = args[0];\n    if (complete && !this.address.postcode) {\n      this.address.postcode = value.postalCode;\n    }\n  }\n\n  @task\n  *updateCardTask(stripeElement) {\n    if (!addressValidation(this.address)) {\n      this.showAllErrors = true;\n      return;\n    }\n\n    try {\n      let stripe = this.stripev3;\n      let { token } = yield stripe.createToken(stripeElement);\n      let requestData = {\n        country_code: this.address.countryCode,\n        state_code: this.address.stateCode,\n        credit_card_token: token.id,\n        app_id: this.appService.app.id,\n        billing_address: {\n          street_address: this.address.streetAddress,\n          city: this.address.city,\n          postcode: this.address.postcode,\n          country: this.address.countryCode,\n          state_code: this.address.stateCode,\n        },\n      };\n\n      let response = yield ajax({\n        url: `/ember/customers/${this.customerService.customer.id}/update_credit_card`,\n        type: 'POST',\n        data: JSON.stringify(requestData),\n      });\n      this.store.pushPayload('billing/customer', {\n        'billing/customer': response,\n      });\n      this.notificationsService.notifyConfirmation(\n        `You’ve successfully updated your credit card details`,\n      );\n      this.args.closeModal();\n    } catch (response) {\n      let responseObject = response.jqXHR.responseJSON;\n      let errorMessage;\n      if (responseObject) {\n        errorMessage =\n          responseObject.errors.country ||\n          responseObject.errors.token ||\n          responseObject.errors.billing_address;\n      } else {\n        errorMessage =\n          'Error while saving your credit card details. Please try again or contact us.';\n      }\n      this.notificationsService.notifyError(errorMessage);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcContent data-test-annual-contract-banner-info>\\n  {{#if this.isPrimaryWorkspace}}\\n    <Text data-test-default-annual-contract-info>\\n      Your subscription is on an annual contract. It's billed monthly on the\\n      {{this.billingDateOfMonth}} of every month.\\n    </Text>\\n    {{#if this.hasMultiWorkspaces }}\\n    <Text data-test-multi-workspace-primary-workspace-info>\\n      There {{this.grammaticallyCorrectSentence}} attached to your account, billing for all workspaces are charged to this workspace.\\n    </Text>\\n    {{/if}}\\n    <Text>\\n      To make changes to your subscription, please <a\\n        onclick={{this.openInAppMessenger}} data-test-open-messenger-link class=\\\"t__em-link\\\">reach out</a>\\n      to your Relationship Manager.\\n    </Text>\\n  {{else}}\\n    <Text data-test-multi-workspace-secondary-workspace-info>\\n      Your subscription is on an annual contract. It's billed monthly on the\\n      {{this.billingDateOfMonth}} of every month to your primary workspace - <Text data-test-primary-workspace-app-name>{{this.primaryWorkspaceEntityName}}</Text>.\\n      {{#if this.hasAccessToPrimaryWorkspace}}\\n        <Text>\\n          <br>\\n          To understand the detail of your billing cost, <a href='/apps/{{this.primaryWorkspaceAppId}}' data-test-primary-workspace-link class=\\\"t__em-link\\\">go to your primary workspace.</a>\\n        </Text>\\n      {{/if}}\\n    </Text>\\n  {{/if}}\\n</IcContent>\\n\", {\"contents\":\"<IcContent data-test-annual-contract-banner-info>\\n  {{#if this.isPrimaryWorkspace}}\\n    <Text data-test-default-annual-contract-info>\\n      Your subscription is on an annual contract. It's billed monthly on the\\n      {{this.billingDateOfMonth}} of every month.\\n    </Text>\\n    {{#if this.hasMultiWorkspaces }}\\n    <Text data-test-multi-workspace-primary-workspace-info>\\n      There {{this.grammaticallyCorrectSentence}} attached to your account, billing for all workspaces are charged to this workspace.\\n    </Text>\\n    {{/if}}\\n    <Text>\\n      To make changes to your subscription, please <a\\n        onclick={{this.openInAppMessenger}} data-test-open-messenger-link class=\\\"t__em-link\\\">reach out</a>\\n      to your Relationship Manager.\\n    </Text>\\n  {{else}}\\n    <Text data-test-multi-workspace-secondary-workspace-info>\\n      Your subscription is on an annual contract. It's billed monthly on the\\n      {{this.billingDateOfMonth}} of every month to your primary workspace - <Text data-test-primary-workspace-app-name>{{this.primaryWorkspaceEntityName}}</Text>.\\n      {{#if this.hasAccessToPrimaryWorkspace}}\\n        <Text>\\n          <br>\\n          To understand the detail of your billing cost, <a href='/apps/{{this.primaryWorkspaceAppId}}' data-test-primary-workspace-link class=\\\"t__em-link\\\">go to your primary workspace.</a>\\n        </Text>\\n      {{/if}}\\n    </Text>\\n  {{/if}}\\n</IcContent>\\n\",\"moduleName\":\"embercom/components/billing/details/annual-contract-banner-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/details/annual-contract-banner-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nimport moment from 'moment';\nimport { showNewMessageInIntercomWidget } from 'embercom/lib/intercom-widget-helper';\n\nexport default class AnnualContractBannerComponent extends Component {\n  @service customerService;\n  @service appService;\n  @service purchaseAnalyticsService;\n\n  get customer() {\n    return this.customerService.customer;\n  }\n\n  get subscription() {\n    return this.customer.subscription;\n  }\n\n  get isPrimaryWorkspace() {\n    return this.subscription.isAnnualContractPrimarySubscription;\n  }\n\n  get billingDateOfMonth() {\n    // this date is arbitrary, but needs to be a full date, not just a number for the correct conversion\n    // moment(15).format('Do') === 31 while moment('2019/1/15').format('Do') === 15\n    return moment(`2010/1/${this.subscription.invoiceDayOfMonth}`).format('Do');\n  }\n\n  get hasMultiWorkspaces() {\n    return this.subscription.numberOfSecondarySubscriptions > 0;\n  }\n\n  get grammaticallyCorrectSentence() {\n    return this.subscription.numberOfSecondarySubscriptions > 1\n      ? `are ${this.subscription.numberOfSecondarySubscriptions} workspaces`\n      : `is 1 workspace`;\n  }\n\n  get primaryWorkspaceAppId() {\n    return this.subscription.primarySubscriptionAppIdCode;\n  }\n\n  get primaryWorkspaceEntityName() {\n    return this.subscription.primarySubscriptionAppName;\n  }\n\n  get hasAccessToPrimaryWorkspace() {\n    return this.appService.app.currentAdmin.apps.some(app => app.id === this.primaryWorkspaceAppId);\n  }\n\n  @action openInAppMessenger() {\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'clicked',\n      object: 'talk_to_sales',\n      place: 'billing_summary',\n      context: 'annual contract banner',\n    });\n\n    let textForMessenger = `Hi, I have a question about my annual contract subscription.`;\n    showNewMessageInIntercomWidget(textForMessenger);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (eq alternativeProductId 3)}}\\n  6x more VC-backed companies choose Intercom over Drift\\n{{else if (eq alternativeProductId 10)}}\\n  The most innovative companies choose Intercom over Zendesk\\n{{else}}\\n  The most innovative companies choose Intercom over alternatives\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (eq alternativeProductId 3)}}\\n  6x more VC-backed companies choose Intercom over Drift\\n{{else if (eq alternativeProductId 10)}}\\n  The most innovative companies choose Intercom over Zendesk\\n{{else}}\\n  The most innovative companies choose Intercom over alternatives\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/billing/details/cancel/alternative-product-copy-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/details/cancel/alternative-product-copy-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  alternativeProductId: null,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div style=\\\"width: 685px;\\\">\\n  <IcCard @isInteractive={{true}} onclick={{action 'togglePlan'}}>\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-columns\\\">\\n      <div class=\\\"pr-4\\\">\\n        <input type=\\\"checkbox\\\" checked={{checked}} onclick={{action 'togglePlan'}}/>\\n      </div>\\n      <div>\\n        <h3 class=\\\"t__h3\\\">\\n          Remove {{@plan.product.name}}\\n          {{~#unless @plan.product.addon}}\\n            {{@plan.name}}\\n          {{~/unless~}}\\n          ?\\n        </h3>\\n        <p class=\\\"settings__billing__cancel__offer-downsize-price-info\\\">\\n          Save {{price.formattedAmount}} per month. <span class=\\\"settings__billing__cancel__offer-downsize-usage-info\\\">You don't have any {{activationMetric}}.</span>\\n        </p>\\n      </div>\\n    </div>\\n  </IcCard>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div style=\\\"width: 685px;\\\">\\n  <IcCard @isInteractive={{true}} onclick={{action 'togglePlan'}}>\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-columns\\\">\\n      <div class=\\\"pr-4\\\">\\n        <input type=\\\"checkbox\\\" checked={{checked}} onclick={{action 'togglePlan'}}/>\\n      </div>\\n      <div>\\n        <h3 class=\\\"t__h3\\\">\\n          Remove {{@plan.product.name}}\\n          {{~#unless @plan.product.addon}}\\n            {{@plan.name}}\\n          {{~/unless~}}\\n          ?\\n        </h3>\\n        <p class=\\\"settings__billing__cancel__offer-downsize-price-info\\\">\\n          Save {{price.formattedAmount}} per month. <span class=\\\"settings__billing__cancel__offer-downsize-usage-info\\\">You don't have any {{activationMetric}}.</span>\\n        </p>\\n      </div>\\n    </div>\\n  </IcCard>\\n</div>\\n\",\"moduleName\":\"embercom/components/billing/details/cancel/downsize/plan.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/details/cancel/downsize/plan.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { not, alias } from '@ember/object/computed';\nimport {\n  MESSAGES_ID,\n  ARTICLES_ID,\n  OPERATOR_ID,\n  ANSWER_BOT_ID,\n  PRODUCT_TOURS_ID,\n} from 'embercom/lib/billing';\n\nexport default Component.extend({\n  customerService: service(),\n  checked: not('plan.active'),\n  purchaseAnalyticsService: service(),\n  price: computed('plan', function() {\n    return this.customerService.getPriceFromPlanIds([this.plan.idAsNumber]);\n  }),\n  product: alias('plan.product'),\n  activationMetric: computed('product', function() {\n    let activationMetrics = new Map([\n      [MESSAGES_ID, 'live campaigns'],\n      [ARTICLES_ID, 'published articles'],\n      [OPERATOR_ID, 'live bots'],\n      [ANSWER_BOT_ID, 'live bots'],\n      [PRODUCT_TOURS_ID, 'live tours'],\n    ]);\n\n    return activationMetrics.get(this.product.id);\n  }),\n\n  actions: {\n    togglePlan() {\n      let action = this.plan.active ? 'remove' : 'keep';\n      this.toggleProperty('plan.active');\n\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'clicked',\n        object: `${action}_${this.product.key}-${this.plan.name}_button`,\n        context: 'cancellation_flow',\n        place: 'downsize_products_offer',\n        section: 'billing_cancel',\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"settings__billing__cancel__offer-help-container\\\">\\n  <IcCard\\n    @isInteractive={{true}}\\n    class=\\\"settings__billing__cancel__offer-help-card mr-4\\\"\\n  >\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-columns\\\">\\n      <div>\\n        <h3 class=\\\"t__h3 settings__billing__cancel__offer-help-title\\\">\\n          {{offer.heading}}\\n        </h3>\\n        <p\\n          class=\\\"t__light-text settings__billing__cancel__offer-help-description pb-4\\\"\\n        >\\n          {{offer.description}}\\n        </p>\\n      </div>\\n    </div>\\n  </IcCard>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"settings__billing__cancel__offer-help-container\\\">\\n  <IcCard\\n    @isInteractive={{true}}\\n    class=\\\"settings__billing__cancel__offer-help-card mr-4\\\"\\n  >\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-columns\\\">\\n      <div>\\n        <h3 class=\\\"t__h3 settings__billing__cancel__offer-help-title\\\">\\n          {{offer.heading}}\\n        </h3>\\n        <p\\n          class=\\\"t__light-text settings__billing__cancel__offer-help-description pb-4\\\"\\n        >\\n          {{offer.description}}\\n        </p>\\n      </div>\\n    </div>\\n  </IcCard>\\n</div>\\n\",\"moduleName\":\"embercom/components/billing/details/cancel/help-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/details/cancel/help-card.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport safeWindowOpen from 'embercom/lib/safe-window-open';\n\nexport default Component.extend({\n  router: service(),\n  purchaseAnalyticsService: service(),\n\n  click() {\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'clicked',\n      context: 'cancellation_flow',\n      place: 'get_help_offer',\n      object: `${this.offer.name}_button`,\n      section: 'billing_cancel',\n    });\n    if (this.offer.name === 'chat_with_us') {\n      this.openInAppMessenger();\n    } else {\n      safeWindowOpen(this.offer.link, '_blank');\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (eq reasonId 1)}}\\n  Let’s talk about our new and upcoming features\\n{{else if (eq reasonId 2)}}\\n  Let’s talk about our new and upcoming features\\n{{else if (eq reasonId 3)}}\\n  Let’s talk about ways to reduce your monthly bill\\n{{else if (eq reasonId 10)}}\\n  Let’s talk about ways to reduce your monthly bill\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (eq reasonId 1)}}\\n  Let’s talk about our new and upcoming features\\n{{else if (eq reasonId 2)}}\\n  Let’s talk about our new and upcoming features\\n{{else if (eq reasonId 3)}}\\n  Let’s talk about ways to reduce your monthly bill\\n{{else if (eq reasonId 10)}}\\n  Let’s talk about ways to reduce your monthly bill\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/billing/details/cancel/secondary-reason-copy-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/details/cancel/secondary-reason-copy-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  reasonId: null,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.customer.hasActiveSubscription}}\\n  <div class=\\\"mb-6\\\">\\n    {{#if this.isFrozenForNonPayment}}\\n      <Text data-test-account-frozen-instructions>\\n        Your subscription has been restricted due to non-payment of invoices. Please reach out to\\n        <a href='mailto:accountsreceivable@intercom.io'><Text @linkStyling=\\\"inline\\\">accountsreceivable@intercom.io</Text></a>\\n        or\\n        <a\\n          onclick={{fn this.openInAppMessenger \\\"Hi, my workspace has been restricted due to non-payment of invoices. Please connect me with the Accounts Receivable team to arrange a payment.\\\"}}\\n          data-test-open-messenger-link\\n        ><Text @linkStyling=\\\"inline\\\">via the Messenger</Text></a>\\n        to arrange a payment and have your service reinstated.\\n      </Text>\\n    {{else if this.customer.currentlyOnEarlyStage}}\\n      <Text data-test-early-stage-instructions>\\n        You have an Early Stage Program subscription with full access to the products listed below which is billed on the {{this.billingDateOfMonth}} of every month. To make changes to your subscription, please <a\\n          data-test-open-messenger-link\\n          onclick={{this.openInAppMessenger}}\\n          class=\\\"t__em-link\\\"\\n        >\\n          contact sales\\n        </a>\\n        .\\n      </Text>\\n    {{else if this.customer.isAnnuallyContracted}}\\n      <Billing::Details::AnnualContractBannerComponent />\\n    {{else if this.customer.hasCustomPricing}}\\n      <Text data-test-custom-instructions>\\n        You have a custom subscription. To make changes to your subscription, please <a\\n          data-test-open-messenger-link\\n          class=\\\"t__em-link\\\"\\n          onclick={{this.openInAppMessenger}}\\n        >\\n          reach out\\n        </a>\\n        to your Relationship Manager.\\n      </Text>\\n      {{else}}\\n        <Text>Your current subscription is billed on the {{this.billingDateOfMonth}} of every month.</Text>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if this.customer.hasActiveSubscription}}\\n  <div class=\\\"mb-6\\\">\\n    {{#if this.isFrozenForNonPayment}}\\n      <Text data-test-account-frozen-instructions>\\n        Your subscription has been restricted due to non-payment of invoices. Please reach out to\\n        <a href='mailto:accountsreceivable@intercom.io'><Text @linkStyling=\\\"inline\\\">accountsreceivable@intercom.io</Text></a>\\n        or\\n        <a\\n          onclick={{fn this.openInAppMessenger \\\"Hi, my workspace has been restricted due to non-payment of invoices. Please connect me with the Accounts Receivable team to arrange a payment.\\\"}}\\n          data-test-open-messenger-link\\n        ><Text @linkStyling=\\\"inline\\\">via the Messenger</Text></a>\\n        to arrange a payment and have your service reinstated.\\n      </Text>\\n    {{else if this.customer.currentlyOnEarlyStage}}\\n      <Text data-test-early-stage-instructions>\\n        You have an Early Stage Program subscription with full access to the products listed below which is billed on the {{this.billingDateOfMonth}} of every month. To make changes to your subscription, please <a\\n          data-test-open-messenger-link\\n          onclick={{this.openInAppMessenger}}\\n          class=\\\"t__em-link\\\"\\n        >\\n          contact sales\\n        </a>\\n        .\\n      </Text>\\n    {{else if this.customer.isAnnuallyContracted}}\\n      <Billing::Details::AnnualContractBannerComponent />\\n    {{else if this.customer.hasCustomPricing}}\\n      <Text data-test-custom-instructions>\\n        You have a custom subscription. To make changes to your subscription, please <a\\n          data-test-open-messenger-link\\n          class=\\\"t__em-link\\\"\\n          onclick={{this.openInAppMessenger}}\\n        >\\n          reach out\\n        </a>\\n        to your Relationship Manager.\\n      </Text>\\n      {{else}}\\n        <Text>Your current subscription is billed on the {{this.billingDateOfMonth}} of every month.</Text>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/billing/details/change-plan-instructions-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/details/change-plan-instructions-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nimport moment from 'moment';\nimport { showNewMessageInIntercomWidget } from 'embercom/lib/intercom-widget-helper';\n\nexport default class ChangePlanInstructionsComponent extends Component {\n  @service purchaseAnalyticsService;\n  @service customerService;\n  @service appService;\n\n  get billingDateOfMonth() {\n    // this date is arbitrary, but needs to be a full date, not just a number for the correct conversion\n    // moment(15).format('Do') === 31 while moment('2019/1/15').format('Do') === 15\n    return moment(`2010/1/${this.customerService.customer.subscription.invoiceDayOfMonth}`).format(\n      'Do',\n    );\n  }\n\n  get customer() {\n    return this.customerService.customer;\n  }\n\n  get isFrozenForNonPayment() {\n    return this.appService.app.isFrozenForNonPayment;\n  }\n\n  @action openInAppMessenger(overrideText) {\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'clicked',\n      object: 'talk_to_sales',\n      place: 'billing_summary',\n      context: 'banner',\n    });\n\n    let subscriptionType = 'custom';\n\n    if (this.customer.currentlyOnEarlyStage) {\n      subscriptionType = 'early stage';\n    } else if (this.customer.isAnnuallyContracted) {\n      subscriptionType = 'annual contract';\n    }\n\n    let textForMessenger =\n      overrideText || `Hi, I have a question about my ${subscriptionType} subscription.`;\n    showNewMessageInIntercomWidget(textForMessenger);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div data-test-graduation-empty-state-header class=\\\"u__padt__60 u__padl__30\\\">\\n  <h3 class=\\\"t__h3\\\">\\n    You removed all the products from your subscription\\n  </h3>\\n  <span class=\\\"t__body__deem text-gray\\\">\\n    Your subscription will end on {{@graduationDate\\n    }}, when your Early Stage pricing ends.\\n  </span>\\n  <div class=\\\"layout__box u__padt__40\\\">\\n    <IcButtonList class=\\\"u__padr__14\\\" as |list|>\\n      <list.button\\n        data-test-button=\\\"restart\\\"\\n        @label=\\\"Restart subscription\\\"\\n        @type=\\\"primary\\\"\\n        @onClick={{action @editSubscription}}\\n      />\\n      <list.button\\n        data-test-button=\\\"chat\\\"\\n        @label=\\\"Chat with us\\\"\\n        @type=\\\"secondary\\\"\\n        @onClick={{action @openInAppMessenger}}\\n      />\\n    </IcButtonList>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div data-test-graduation-empty-state-header class=\\\"u__padt__60 u__padl__30\\\">\\n  <h3 class=\\\"t__h3\\\">\\n    You removed all the products from your subscription\\n  </h3>\\n  <span class=\\\"t__body__deem text-gray\\\">\\n    Your subscription will end on {{@graduationDate\\n    }}, when your Early Stage pricing ends.\\n  </span>\\n  <div class=\\\"layout__box u__padt__40\\\">\\n    <IcButtonList class=\\\"u__padr__14\\\" as |list|>\\n      <list.button\\n        data-test-button=\\\"restart\\\"\\n        @label=\\\"Restart subscription\\\"\\n        @type=\\\"primary\\\"\\n        @onClick={{action @editSubscription}}\\n      />\\n      <list.button\\n        data-test-button=\\\"chat\\\"\\n        @label=\\\"Chat with us\\\"\\n        @type=\\\"secondary\\\"\\n        @onClick={{action @openInAppMessenger}}\\n      />\\n    </IcButtonList>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/billing/details/graduation-empty-state.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/details/graduation-empty-state.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"settings__billing__overview__header\\\">\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__has-columns settings__billing__overview__main-toolbar\\\"\\n  >\\n    <div\\n      class=\\\"layout__box o__flexes-to-1 t__h1\\\"\\n      data-test-billing-overview-price-description\\n    >\\n      {{yield}}\\n    </div>\\n    {{#unless hidePrices}}\\n      <div\\n        class=\\\"layout__box o__flexes-to-1 o__has-columns settings__billing__overview__price-summary\\\"\\n      >\\n        <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n          <div class=\\\"{{priceClass}}\\\">\\n            {{tt priceCopy}}:{{#if customer.couponCode}}\\n              <div\\n                class=\\\"settings__billing__overview__price-coupon-copy text-gray\\\"\\n              >\\n                With coupons applied\\n              </div>\\n            {{/if}}\\n          </div>\\n        </div>\\n        <div class=\\\"layout__box\\\">\\n          <div class=\\\"settings__billing__overview__price-information-wrapper\\\">\\n            <span class=\\\"settings__billing__overview__price\\\">\\n              ${{formattedTotalAmount}} {{#if earlyStagePartnerWithoutMessenger\\n              }}\\n                *\\n              {{/if}}\\n            </span>\\n            <span class=\\\"settings__billing__overview__price-suffix\\\">\\n              {{tt priceSuffix}}\\n            </span>\\n          </div>\\n        </div>\\n        {{#unless hideButton}}\\n          <div class=\\\"settings__billing__overview__price-button\\\">\\n            <IcButton\\n              @label={{tt buttonLabel}}\\n              @type={{type}}\\n              @disabled={{buttonDisabled}}\\n              @onClick={{action nextAction}}\\n              data-test-overview-header-button={{true}}\\n            />\\n          </div>\\n        {{/unless}}\\n      </div>\\n    {{/unless}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"settings__billing__overview__header\\\">\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__has-columns settings__billing__overview__main-toolbar\\\"\\n  >\\n    <div\\n      class=\\\"layout__box o__flexes-to-1 t__h1\\\"\\n      data-test-billing-overview-price-description\\n    >\\n      {{yield}}\\n    </div>\\n    {{#unless hidePrices}}\\n      <div\\n        class=\\\"layout__box o__flexes-to-1 o__has-columns settings__billing__overview__price-summary\\\"\\n      >\\n        <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n          <div class=\\\"{{priceClass}}\\\">\\n            {{tt priceCopy}}:{{#if customer.couponCode}}\\n              <div\\n                class=\\\"settings__billing__overview__price-coupon-copy text-gray\\\"\\n              >\\n                With coupons applied\\n              </div>\\n            {{/if}}\\n          </div>\\n        </div>\\n        <div class=\\\"layout__box\\\">\\n          <div class=\\\"settings__billing__overview__price-information-wrapper\\\">\\n            <span class=\\\"settings__billing__overview__price\\\">\\n              ${{formattedTotalAmount}} {{#if earlyStagePartnerWithoutMessenger\\n              }}\\n                *\\n              {{/if}}\\n            </span>\\n            <span class=\\\"settings__billing__overview__price-suffix\\\">\\n              {{tt priceSuffix}}\\n            </span>\\n          </div>\\n        </div>\\n        {{#unless hideButton}}\\n          <div class=\\\"settings__billing__overview__price-button\\\">\\n            <IcButton\\n              @label={{tt buttonLabel}}\\n              @type={{type}}\\n              @disabled={{buttonDisabled}}\\n              @onClick={{action nextAction}}\\n              data-test-overview-header-button={{true}}\\n            />\\n          </div>\\n        {{/unless}}\\n      </div>\\n    {{/unless}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/billing/details/header-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/details/header-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { and, readOnly, bool } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { isAny, ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport numericFormatter from 'embercom/lib/numeric-formatter';\nimport numberFormatter from 'embercom/lib/number-formatter';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  customer: null,\n  description: null,\n  buttonDisabled: null,\n  isEditingSubscription: null,\n  earlyStagePartnerWithoutMessenger: null,\n\n  priceSuffix: 'sign_up.new.product_cards.per_month',\n  type: 'primary',\n  buttonLabel: null,\n  totalAmount: null,\n  totalAmountIncludesCoupon: bool('customer.couponCode'),\n  formattedTotalAmount: computed('totalAmount', function() {\n    let amount = this.totalAmount;\n    return amount % 1 === 0 ? numberFormatter(amount) : numericFormatter(amount, 2, true);\n  }),\n  hasTrialAvailable: isAny('app.products', 'trialable'),\n  hideButton: and('customer.hasActiveSubscription', 'app.validEarlyStageApplicant'),\n  priceClass: ternary(\n    'totalAmountIncludesCoupon',\n    'settings__billing__overview__price-copy',\n    'settings__billing__overview__price-copy-no-coupon',\n  ),\n\n  priceCopy: computed(\n    'hasTrialAvailable',\n    'customer.hasActiveSubscription',\n    'buttonDisabled',\n    'isEditingSubscription',\n    function() {\n      if (this.get('customer.hasActiveSubscription')) {\n        if (this.buttonDisabled || !this.isEditingSubscription) {\n          return 'sign_up.new.your_total';\n        }\n\n        return 'sign_up.new.new_price';\n      }\n\n      if (this.hasTrialAvailable) {\n        return 'sign_up.new.total_after_trial';\n      }\n\n      return 'sign_up.new.total_starting_price';\n    },\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @showPriceComparison}}\\n  <td data-test-regular-plan class=\\\"tbl__cell u__padr__30\\\" colspan=\\\"2\\\">\\n    <s data-test-migration data-test-amount class=\\\"text-gray\\\">\\n      {{@amount}}\\n    </s>\\n  </td>\\n{{/if}}\\n<td data-test-regular-plan class=\\\"tbl__cell\\\">\\n  {{#if @showPriceComparison}}\\n    <span data-test-comparison-amount>\\n      {{@comparisonAmount}}\\n    </span>\\n  {{else}}\\n    <div class=\\\"flex flex-row\\\">\\n      <span data-test-amount>\\n        {{@amount}}\\n      </span>\\n      {{#if @price}}\\n        <Paywalls::UpgradeModal::PriceBreakdown @price={{@price}} />\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n</td>\\n\", {\"contents\":\"{{#if @showPriceComparison}}\\n  <td data-test-regular-plan class=\\\"tbl__cell u__padr__30\\\" colspan=\\\"2\\\">\\n    <s data-test-migration data-test-amount class=\\\"text-gray\\\">\\n      {{@amount}}\\n    </s>\\n  </td>\\n{{/if}}\\n<td data-test-regular-plan class=\\\"tbl__cell\\\">\\n  {{#if @showPriceComparison}}\\n    <span data-test-comparison-amount>\\n      {{@comparisonAmount}}\\n    </span>\\n  {{else}}\\n    <div class=\\\"flex flex-row\\\">\\n      <span data-test-amount>\\n        {{@amount}}\\n      </span>\\n      {{#if @price}}\\n        <Paywalls::UpgradeModal::PriceBreakdown @price={{@price}} />\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n</td>\\n\",\"moduleName\":\"embercom/components/billing/details/price-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/details/price-cell.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if @customer.hasActiveTrialWithoutCreditCard}}\\n  <IcBanner @type=\\\"warning\\\">\\n    <p data-test-trial-without-credit-card-banner>\\n      Your account does not have a payment card. Your subscription will end on {{@customer.formattedSubscriptionWillBeCancelledAt\\n      }}. After that date, you will no longer be able to use paid features of your Intercom products. <a\\n        data-test-update-card-link\\n        {{on \\\"click\\\" (set this.cardModalIsOpen true)}}\\n      >\\n        Add a payment card\\n      </a>\\n      to avoid any interruptions to your service.\\n    </p>\\n  </IcBanner>\\n  <div class=\\\"h-8\\\"></div>\\n  {{#if this.cardModalIsOpen}}\\n    <Billing::CreditCardModal @closeModal={{set this.cardModalIsOpen false}} />\\n  {{/if}}\\n{{else if @customer.subscriptionWillBeCancelled}}\\n  <IcBanner @type=\\\"error\\\">\\n    <p data-test-cancel-subscription-banner>\\n      <strong>\\n        Your subscription will end on {{@customer.formattedSubscriptionWillBeCancelledAt\\n        }}.\\n      </strong>\\n      After that date, you will no longer be able to use paid features of your Intercom products. <a\\n        data-test-resume-subscription-link\\n        {{action \\\"showResumePendingCancellationModal\\\"}}\\n      >\\n        Resume your subscription\\n      </a>\\n      to use your Intercom products without interruption.\\n    </p>\\n  </IcBanner>\\n  <div class=\\\"h-8\\\"></div>\\n{{/if}}\\n{{#if (and @customer.hasActiveSubscription @customer.pendingEarlyStageApplicant)}}\\n  <IcBanner @type=\\\"warning\\\">\\n    <p data-test-early-stage-banner>\\n      <strong>\\n        Early Stage application pending.\\n      </strong>\\n    </p>\\n  </IcBanner>\\n  <div class=\\\"h-8\\\"></div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if @customer.hasActiveTrialWithoutCreditCard}}\\n  <IcBanner @type=\\\"warning\\\">\\n    <p data-test-trial-without-credit-card-banner>\\n      Your account does not have a payment card. Your subscription will end on {{@customer.formattedSubscriptionWillBeCancelledAt\\n      }}. After that date, you will no longer be able to use paid features of your Intercom products. <a\\n        data-test-update-card-link\\n        {{on \\\"click\\\" (set this.cardModalIsOpen true)}}\\n      >\\n        Add a payment card\\n      </a>\\n      to avoid any interruptions to your service.\\n    </p>\\n  </IcBanner>\\n  <div class=\\\"h-8\\\"></div>\\n  {{#if this.cardModalIsOpen}}\\n    <Billing::CreditCardModal @closeModal={{set this.cardModalIsOpen false}} />\\n  {{/if}}\\n{{else if @customer.subscriptionWillBeCancelled}}\\n  <IcBanner @type=\\\"error\\\">\\n    <p data-test-cancel-subscription-banner>\\n      <strong>\\n        Your subscription will end on {{@customer.formattedSubscriptionWillBeCancelledAt\\n        }}.\\n      </strong>\\n      After that date, you will no longer be able to use paid features of your Intercom products. <a\\n        data-test-resume-subscription-link\\n        {{action \\\"showResumePendingCancellationModal\\\"}}\\n      >\\n        Resume your subscription\\n      </a>\\n      to use your Intercom products without interruption.\\n    </p>\\n  </IcBanner>\\n  <div class=\\\"h-8\\\"></div>\\n{{/if}}\\n{{#if (and @customer.hasActiveSubscription @customer.pendingEarlyStageApplicant)}}\\n  <IcBanner @type=\\\"warning\\\">\\n    <p data-test-early-stage-banner>\\n      <strong>\\n        Early Stage application pending.\\n      </strong>\\n    </p>\\n  </IcBanner>\\n  <div class=\\\"h-8\\\"></div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/billing/details/warning-banners-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/details/warning-banners-component.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport readableProducts from 'embercom/lib/readable-products';\nimport { EARLY_STAGE_PRODUCTS } from 'embercom/lib/billing';\n\nexport default class WarningBannersComponent extends Component {\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  @service modalService;\n  @service customerService;\n  @tracked cardModalIsOpen = false;\n\n  get earlyStageProducts() {\n    this.customerService.products.filter(product => {\n      return EARLY_STAGE_PRODUCTS.includes(product.id);\n    });\n  }\n\n  get formattedEarlyStageProducts() {\n    return readableProducts(this.earlyStageProducts);\n  }\n\n  @action showResumePendingCancellationModal() {\n    this.modalService.openModal(\n      'apps/app/billing/modals/resume-pending-cancellation-modal',\n      this.args.customer,\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<Common::ModalComponent\\n  @closeModal={{close}}\\n  data-test-early-stage-cancel-modal\\n  as |modal|\\n>\\n  <div class=\\\"modal__header flex items-start\\\">\\n    <div class=\\\"modal__header__title flex-auto min-w-0 u__centered-text-block\\\">\\n      <h2 data-test-early-stage-cancel-modal-header class=\\\"t__h2\\\">\\n        Your plan will end on {{formattedGradDate}}\\n      </h2>\\n    </div>\\n    <div class=\\\"layout__box u__cf\\\">\\n      <a\\n        data-test-early-stage-cancel-modal-close\\n        onClick={{close}}\\n        class=\\\"modal__header__close__link u__right js__close-button\\\"\\n      >\\n        {{ic-interface-icon \\\"close\\\" solo=true}}\\n      </a>\\n    </div>\\n  </div>\\n  <modal.components.body\\n    class=\\\"u__padl__30 u__padr__30 u__padb__20 u__padt__10\\\"\\n  >\\n    <p\\n      data-test-early-stage-cancel-modal-body\\n      class=\\\"u__centered-text-block u__padb__20\\\"\\n    >\\n      Your Intercom subscription will end after your Early Stage discount ends on {{formattedGradDate\\n      }}. Until then, you will continue to receive your Early Stage products for $49/mo. <a\\n        data-test-early-stage-cancel-modal-contact-us\\n        {{action \\\"openInAppMessenger\\\"}}\\n      >\\n        Contact us\\n      </a>\\n      with any questions.\\n    </p>\\n    <div class=\\\"modal__body__confirmation-buttons u__padb__0\\\">\\n      <div class=\\\"u__padr__10\\\">\\n        <IcButton\\n          data-test-early-stage-cancel-modal-keep-editing={{true}}\\n          @label=\\\"Keep editing\\\"\\n          @type=\\\"secondary\\\"\\n          @onClick={{close}}\\n        />\\n      </div>\\n      <div>\\n        <IcButton\\n          data-test-early-stage-cancel-modal-cancel-subscription={{true}}\\n          @label=\\\"Cancel subscription\\\"\\n          @type=\\\"primary-destructive\\\"\\n          @onClick={{action \\\"cancel\\\"}}\\n        />\\n      </div>\\n    </div>\\n  </modal.components.body>\\n</Common::ModalComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<Common::ModalComponent\\n  @closeModal={{close}}\\n  data-test-early-stage-cancel-modal\\n  as |modal|\\n>\\n  <div class=\\\"modal__header flex items-start\\\">\\n    <div class=\\\"modal__header__title flex-auto min-w-0 u__centered-text-block\\\">\\n      <h2 data-test-early-stage-cancel-modal-header class=\\\"t__h2\\\">\\n        Your plan will end on {{formattedGradDate}}\\n      </h2>\\n    </div>\\n    <div class=\\\"layout__box u__cf\\\">\\n      <a\\n        data-test-early-stage-cancel-modal-close\\n        onClick={{close}}\\n        class=\\\"modal__header__close__link u__right js__close-button\\\"\\n      >\\n        {{ic-interface-icon \\\"close\\\" solo=true}}\\n      </a>\\n    </div>\\n  </div>\\n  <modal.components.body\\n    class=\\\"u__padl__30 u__padr__30 u__padb__20 u__padt__10\\\"\\n  >\\n    <p\\n      data-test-early-stage-cancel-modal-body\\n      class=\\\"u__centered-text-block u__padb__20\\\"\\n    >\\n      Your Intercom subscription will end after your Early Stage discount ends on {{formattedGradDate\\n      }}. Until then, you will continue to receive your Early Stage products for $49/mo. <a\\n        data-test-early-stage-cancel-modal-contact-us\\n        {{action \\\"openInAppMessenger\\\"}}\\n      >\\n        Contact us\\n      </a>\\n      with any questions.\\n    </p>\\n    <div class=\\\"modal__body__confirmation-buttons u__padb__0\\\">\\n      <div class=\\\"u__padr__10\\\">\\n        <IcButton\\n          data-test-early-stage-cancel-modal-keep-editing={{true}}\\n          @label=\\\"Keep editing\\\"\\n          @type=\\\"secondary\\\"\\n          @onClick={{close}}\\n        />\\n      </div>\\n      <div>\\n        <IcButton\\n          data-test-early-stage-cancel-modal-cancel-subscription={{true}}\\n          @label=\\\"Cancel subscription\\\"\\n          @type=\\\"primary-destructive\\\"\\n          @onClick={{action \\\"cancel\\\"}}\\n        />\\n      </div>\\n    </div>\\n  </modal.components.body>\\n</Common::ModalComponent>\\n\",\"moduleName\":\"embercom/components/billing/early-stage/early-stage-cancel-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/early-stage/early-stage-cancel-modal.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { showNewMessageInIntercomWidget } from 'embercom/lib/intercom-widget-helper';\nimport moment from 'moment';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\n\nexport default Component.extend({\n  formattedGradDate: computed('graduationDate', function() {\n    return moment(this.graduationDate).format(dateAndTimeFormats.date);\n  }),\n\n  actions: {\n    openInAppMessenger() {\n      this.close();\n      showNewMessageInIntercomWidget('Hi, I have a question about my early stage subscription.');\n    },\n\n    cancel() {\n      this.close();\n      this.cancel();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<Common::ModalComponent\\n  @closeModal={{close}}\\n  data-test-early-stage-save-confirmation-modal\\n  as |modal|\\n>\\n  <div class=\\\"modal__header flex items-start\\\">\\n    <div class=\\\"modal__header__title flex-auto min-w-0 u__centered-text-block\\\">\\n      <h2 data-test-early-stage-save-confirmation-modal-header class=\\\"t__h2\\\">\\n        Your changes will apply on {{shortGradDate}}\\n      </h2>\\n    </div>\\n    <div class=\\\"layout__box u__cf\\\">\\n      <a\\n        data-test-early-stage-save-confirmation-modal-close\\n        onClick={{close}}\\n        class=\\\"modal__header__close__link u__right js__close-button\\\"\\n      >\\n        {{ic-interface-icon \\\"close\\\" solo=true}}\\n      </a>\\n    </div>\\n  </div>\\n  <modal.components.body\\n    class=\\\"u__padl__30 u__padr__30 u__padb__20 u__padt__10\\\"\\n  >\\n    <p\\n      data-test-early-stage-save-confirmation-modal-body\\n      class=\\\"u__centered-text-block u__padb__20\\\"\\n    >\\n      Your plan changes will come into effect after your Early Stage subscription ends on {{longGradDate\\n      }}. Until then, you will continue to receive Intercom products for $49/mo. <a\\n        data-test-early-stage-save-confirmation-modal-contact-us\\n        {{action \\\"openInAppMessenger\\\"}}\\n      >\\n        Contact us\\n      </a>\\n      with any questions.\\n    </p>\\n    <div class=\\\"modal__body__confirmation-buttons u__padb__0\\\">\\n      <IcButton\\n        data-test-early-stage-save-confirmation-modal-got-it={{true}}\\n        @label=\\\"Got it\\\"\\n        @type=\\\"primary\\\"\\n        @onClick={{close}}\\n      />\\n    </div>\\n  </modal.components.body>\\n</Common::ModalComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<Common::ModalComponent\\n  @closeModal={{close}}\\n  data-test-early-stage-save-confirmation-modal\\n  as |modal|\\n>\\n  <div class=\\\"modal__header flex items-start\\\">\\n    <div class=\\\"modal__header__title flex-auto min-w-0 u__centered-text-block\\\">\\n      <h2 data-test-early-stage-save-confirmation-modal-header class=\\\"t__h2\\\">\\n        Your changes will apply on {{shortGradDate}}\\n      </h2>\\n    </div>\\n    <div class=\\\"layout__box u__cf\\\">\\n      <a\\n        data-test-early-stage-save-confirmation-modal-close\\n        onClick={{close}}\\n        class=\\\"modal__header__close__link u__right js__close-button\\\"\\n      >\\n        {{ic-interface-icon \\\"close\\\" solo=true}}\\n      </a>\\n    </div>\\n  </div>\\n  <modal.components.body\\n    class=\\\"u__padl__30 u__padr__30 u__padb__20 u__padt__10\\\"\\n  >\\n    <p\\n      data-test-early-stage-save-confirmation-modal-body\\n      class=\\\"u__centered-text-block u__padb__20\\\"\\n    >\\n      Your plan changes will come into effect after your Early Stage subscription ends on {{longGradDate\\n      }}. Until then, you will continue to receive Intercom products for $49/mo. <a\\n        data-test-early-stage-save-confirmation-modal-contact-us\\n        {{action \\\"openInAppMessenger\\\"}}\\n      >\\n        Contact us\\n      </a>\\n      with any questions.\\n    </p>\\n    <div class=\\\"modal__body__confirmation-buttons u__padb__0\\\">\\n      <IcButton\\n        data-test-early-stage-save-confirmation-modal-got-it={{true}}\\n        @label=\\\"Got it\\\"\\n        @type=\\\"primary\\\"\\n        @onClick={{close}}\\n      />\\n    </div>\\n  </modal.components.body>\\n</Common::ModalComponent>\\n\",\"moduleName\":\"embercom/components/billing/early-stage/early-stage-save-confirmation-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/early-stage/early-stage-save-confirmation-modal.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { showNewMessageInIntercomWidget } from 'embercom/lib/intercom-widget-helper';\nimport moment from 'moment';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\n\nexport default Component.extend({\n  longGradDate: computed('graduationDate', function() {\n    return moment(this.graduationDate).format(dateAndTimeFormats.date);\n  }),\n  shortGradDate: computed('graduationDate', function() {\n    return moment(this.graduationDate).format(dateAndTimeFormats.dateWithoutYear);\n  }),\n\n  actions: {\n    openInAppMessenger() {\n      this.close();\n      showNewMessageInIntercomWidget('Hi, I have a question about my early stage subscription.');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal @onModalClose={{@closeEditAddonModal}} @isOpen={{true}} @width=\\\"xl\\\" data-test-edit-addon-modal as |modal|>\\n  <modal.body @fullBleed={{true}}>\\n    <div class=\\\"flex flex-row\\\">\\n      <div class=\\\"flex flex-col settings__billing__edit-addon-modal__content\\\">\\n        <div class=\\\"flex flex-col\\\">\\n          <Heading class=\\\"mb-4\\\" @size=\\\"1\\\">\\n            Edit add-ons\\n          </Heading>\\n        </div>\\n        <div class=\\\"flex flex-row flex-1\\\">\\n          {{#each this.plans as |plan|}}\\n            <Billing::EditModalCard\\n              @plan={{plan}}\\n              @isInteractive={{true}}\\n              @isSelected={{eq this.selectedAddon.id plan.id}}\\n              @inCurrentSubscription={{plan.inCurrentSubscription}}\\n              @inNewSubscription={{plan.active}}\\n              @clickAction={{this.selectPlan}}\\n            />\\n          {{/each}}\\n        </div>\\n      </div>\\n        <Paywalls::UpgradeModal::Sidebar\\n          @hasBillingPermission={{true}}\\n          @closeUpgradeModal={{@closeEditAddonModal}}\\n          @fakePlan={{this.selectedAddon}}\\n          @planPrice={{this.planPrice}}\\n          @showPricingLink={{true}}\\n        />\\n    </div>\\n  </modal.body>\\n</IcModal>\\n\", {\"contents\":\"<IcModal @onModalClose={{@closeEditAddonModal}} @isOpen={{true}} @width=\\\"xl\\\" data-test-edit-addon-modal as |modal|>\\n  <modal.body @fullBleed={{true}}>\\n    <div class=\\\"flex flex-row\\\">\\n      <div class=\\\"flex flex-col settings__billing__edit-addon-modal__content\\\">\\n        <div class=\\\"flex flex-col\\\">\\n          <Heading class=\\\"mb-4\\\" @size=\\\"1\\\">\\n            Edit add-ons\\n          </Heading>\\n        </div>\\n        <div class=\\\"flex flex-row flex-1\\\">\\n          {{#each this.plans as |plan|}}\\n            <Billing::EditModalCard\\n              @plan={{plan}}\\n              @isInteractive={{true}}\\n              @isSelected={{eq this.selectedAddon.id plan.id}}\\n              @inCurrentSubscription={{plan.inCurrentSubscription}}\\n              @inNewSubscription={{plan.active}}\\n              @clickAction={{this.selectPlan}}\\n            />\\n          {{/each}}\\n        </div>\\n      </div>\\n        <Paywalls::UpgradeModal::Sidebar\\n          @hasBillingPermission={{true}}\\n          @closeUpgradeModal={{@closeEditAddonModal}}\\n          @fakePlan={{this.selectedAddon}}\\n          @planPrice={{this.planPrice}}\\n          @showPricingLink={{true}}\\n        />\\n    </div>\\n  </modal.body>\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/billing/edit-addon-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/edit-addon-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class EditPlanModal extends Component {\n  @service customerService;\n  @service purchaseAnalyticsService;\n  @tracked selectedAddon = null;\n\n  get plans() {\n    return this.customerService.addons.map(addon => addon.plans.firstObject).sortBy('id');\n  }\n\n  get activePlanIds() {\n    return this.plans.filter(plan => plan.content.active).mapBy('id');\n  }\n\n  get planPrice() {\n    return this.customerService.getPriceFromPlanIds([this.selectedAddon?.idAsNumber]);\n  }\n\n  @action selectPlan(plan) {\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'clicked',\n      object: 'plan_card',\n      place: 'edit_plan_modal',\n      planId: plan.id,\n    });\n\n    this.customerService.resetAll();\n    if (this.selectedAddon?.id === plan?.id) {\n      this.selectedAddon = null;\n    } else {\n      plan.toggleProperty('active');\n      this.selectedAddon = plan;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcCard\\n  @padding=\\\"compact\\\"\\n  class=\\\"h-full\\n    settings__billing__edit-modal-card__plan-card\\n    {{if @inNewSubscription \\\"o__selected\\\"}}\\n    {{if  @disabled \\\"o__disabled\\\"}}\\\"\\n  @isInteractive={{@isInteractive}}\\n  {{on \\\"click\\\" (fn @clickAction @plan)}}\\n>\\n  <IcContent class=\\\"settings__billing__edit-modal-card__plan-content\\\">\\n    <Heading class=\\\"settings__billing__edit-modal-card__heading\\\" @size=\\\"4\\\">\\n      {{@plan.name}}\\n    </Heading>\\n    <Paragraph class=\\\"settings__billing__edit-modal-card__plan-description\\\">{{@plan.description}}</Paragraph>\\n    <Paragraph @styling=\\\"label\\\">from {{@plan.price.formattedStartingPrice}}/mo</Paragraph>\\n    {{#if  @plan.prefix}}\\n      <Paragraph>{{ @plan.prefix}}</Paragraph>\\n    {{/if}}\\n    <ul class=\\\"settings__billing__edit-modal-card__plan-feature-list\\\">\\n      {{#each  @plan.marketingFeatures as |feature|}}\\n      <li class=\\\"settings__billing__edit-modal-card__feature\\\">\\n        {{feature}}\\n      </li>\\n      {{/each}}\\n    </ul>\\n    <div class=\\\"settings__billing__edit-modal-card__button {{if  @disabled \\\"o__disabled\\\"}}\\\">\\n      <span data-test-selected-version-checkmark>\\n        {{ic-interface-icon this.buttonIcon color=this.buttonIconColor}}\\n      </span>\\n      {{this.buttonLabel}}\\n    </div>\\n  </IcContent>\\n</IcCard>\\n\", {\"contents\":\"<IcCard\\n  @padding=\\\"compact\\\"\\n  class=\\\"h-full\\n    settings__billing__edit-modal-card__plan-card\\n    {{if @inNewSubscription \\\"o__selected\\\"}}\\n    {{if  @disabled \\\"o__disabled\\\"}}\\\"\\n  @isInteractive={{@isInteractive}}\\n  {{on \\\"click\\\" (fn @clickAction @plan)}}\\n>\\n  <IcContent class=\\\"settings__billing__edit-modal-card__plan-content\\\">\\n    <Heading class=\\\"settings__billing__edit-modal-card__heading\\\" @size=\\\"4\\\">\\n      {{@plan.name}}\\n    </Heading>\\n    <Paragraph class=\\\"settings__billing__edit-modal-card__plan-description\\\">{{@plan.description}}</Paragraph>\\n    <Paragraph @styling=\\\"label\\\">from {{@plan.price.formattedStartingPrice}}/mo</Paragraph>\\n    {{#if  @plan.prefix}}\\n      <Paragraph>{{ @plan.prefix}}</Paragraph>\\n    {{/if}}\\n    <ul class=\\\"settings__billing__edit-modal-card__plan-feature-list\\\">\\n      {{#each  @plan.marketingFeatures as |feature|}}\\n      <li class=\\\"settings__billing__edit-modal-card__feature\\\">\\n        {{feature}}\\n      </li>\\n      {{/each}}\\n    </ul>\\n    <div class=\\\"settings__billing__edit-modal-card__button {{if  @disabled \\\"o__disabled\\\"}}\\\">\\n      <span data-test-selected-version-checkmark>\\n        {{ic-interface-icon this.buttonIcon color=this.buttonIconColor}}\\n      </span>\\n      {{this.buttonLabel}}\\n    </div>\\n  </IcContent>\\n</IcCard>\\n\",\"moduleName\":\"embercom/components/billing/edit-modal-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/edit-modal-card.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class EditModalCard extends Component {\n  get removing() {\n    return this.args.inCurrentSubscription && this.args.isSelected;\n  }\n\n  get adding() {\n    return this.args.isSelected && !this.removing;\n  }\n\n  get inCurrentSubscriptionNotSelected() {\n    return this.args.inCurrentSubscription && !this.args.isSelected;\n  }\n\n  get buttonLabel() {\n    if (this.inCurrentSubscriptionNotSelected) {\n      return 'Current plan';\n    } else if (this.removing) {\n      return 'Add back';\n    } else if (this.args.isSelected) {\n      return 'Selected';\n    } else {\n      return 'Select';\n    }\n  }\n\n  get buttonIcon() {\n    return this.inCurrentSubscriptionNotSelected || this.adding ? 'check' : '';\n  }\n\n  get buttonIconColor() {\n    return this.args.disabled ? 'gray' : 'blue';\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Paragraph @styling=\\\"muted\\\">\\n  {{#if this.customer.hasCard}}\\n    <span class=\\\"mr-1\\\">\\n      Billed to {{ic-interface-icon 'creditcard'}} {{this.customer.cardBrand}} ending in {{this.customer.cardLastFour}}\\n      expires {{this.customer.formattedCardExpiresAt}}\\n    </span>\\n  {{/if}}\\n\\n  <a class=\\\"text o__standalone-link\\\" data-test-edit-card {{on 'click' (set this.cardModalIsOpen true)}}>\\n    {{~#if this.customer.hasCard~}}\\n      Edit card\\n    {{~else~}}\\n      Add card\\n    {{~/if~}}\\n  </a>\\n  {{#if this.cardModalIsOpen}}\\n    <Billing::CreditCardModal @closeModal={{set this.cardModalIsOpen false}} />\\n  {{/if}}\\n\\n  <br>\\n  {{#if (and (not this.customer.isAnnuallyContracted) (not @hideBillingDate))}}\\n    on the {{this.dayOfMonth}} of every month\\n  {{/if}}\\n</Paragraph>\\n\\n{{#if this.customer.cardWillExpireWithinOneMonth}}\\n  <Paragraph data-sensitive=\\\"true\\\" class=\\\"text-red\\\">\\n    Your card expires {{this.customer.timeUntilCardExpiration}}.\\n    Please <a class=\\\"text o__standalone-link\\\" {{on 'click' this.updateCard}}>update your card</a>.\\n  </Paragraph>\\n{{else if this.customer.subscriptionWillBeCancelledAndHasCard}}\\n  <Paragraph class=\\\"text-red\\\">\\n    Your credit card will be removed when your subscription is canceled on {{this.customer.formattedSubscriptionWillBeCancelledAt}}.\\n  </Paragraph>\\n{{/if}}\\n\\n<Paragraph @styling=\\\"muted\\\">\\n  {{#if this.customer.hasShippingAddress}}\\n    <span class=\\\"mr-1\\\">\\n      Company located at {{this.customer.shippingAddress.summary}}\\n    </span>\\n  {{/if}}\\n\\n  <a class=\\\"text o__standalone-link\\\" {{on 'click' (set this.companyAddressIsOpen true)}}>\\n    {{if this.customer.hasShippingAddress \\\"Edit\\\" \\\"Add\\\"}} company address\\n  </a>\\n</Paragraph>\\n{{#if this.companyAddressIsOpen}}\\n  <Billing::CompanyAddressModal @closeModal={{set this.companyAddressIsOpen false}}/>\\n{{/if}}\\n\", {\"contents\":\"<Paragraph @styling=\\\"muted\\\">\\n  {{#if this.customer.hasCard}}\\n    <span class=\\\"mr-1\\\">\\n      Billed to {{ic-interface-icon 'creditcard'}} {{this.customer.cardBrand}} ending in {{this.customer.cardLastFour}}\\n      expires {{this.customer.formattedCardExpiresAt}}\\n    </span>\\n  {{/if}}\\n\\n  <a class=\\\"text o__standalone-link\\\" data-test-edit-card {{on 'click' (set this.cardModalIsOpen true)}}>\\n    {{~#if this.customer.hasCard~}}\\n      Edit card\\n    {{~else~}}\\n      Add card\\n    {{~/if~}}\\n  </a>\\n  {{#if this.cardModalIsOpen}}\\n    <Billing::CreditCardModal @closeModal={{set this.cardModalIsOpen false}} />\\n  {{/if}}\\n\\n  <br>\\n  {{#if (and (not this.customer.isAnnuallyContracted) (not @hideBillingDate))}}\\n    on the {{this.dayOfMonth}} of every month\\n  {{/if}}\\n</Paragraph>\\n\\n{{#if this.customer.cardWillExpireWithinOneMonth}}\\n  <Paragraph data-sensitive=\\\"true\\\" class=\\\"text-red\\\">\\n    Your card expires {{this.customer.timeUntilCardExpiration}}.\\n    Please <a class=\\\"text o__standalone-link\\\" {{on 'click' this.updateCard}}>update your card</a>.\\n  </Paragraph>\\n{{else if this.customer.subscriptionWillBeCancelledAndHasCard}}\\n  <Paragraph class=\\\"text-red\\\">\\n    Your credit card will be removed when your subscription is canceled on {{this.customer.formattedSubscriptionWillBeCancelledAt}}.\\n  </Paragraph>\\n{{/if}}\\n\\n<Paragraph @styling=\\\"muted\\\">\\n  {{#if this.customer.hasShippingAddress}}\\n    <span class=\\\"mr-1\\\">\\n      Company located at {{this.customer.shippingAddress.summary}}\\n    </span>\\n  {{/if}}\\n\\n  <a class=\\\"text o__standalone-link\\\" {{on 'click' (set this.companyAddressIsOpen true)}}>\\n    {{if this.customer.hasShippingAddress \\\"Edit\\\" \\\"Add\\\"}} company address\\n  </a>\\n</Paragraph>\\n{{#if this.companyAddressIsOpen}}\\n  <Billing::CompanyAddressModal @closeModal={{set this.companyAddressIsOpen false}}/>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/billing/edit-payment-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/edit-payment-component.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\nimport moment from 'moment';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class EditPaymentComponent extends Component {\n  @service customerService;\n  @service modalService;\n  @tracked companyAddressIsOpen = false;\n  @tracked cardModalIsOpen = false;\n\n  get customerHasBillingAddress() {\n    return false;\n  }\n\n  get customer() {\n    return this.customerService.customer;\n  }\n\n  get dayOfMonth() {\n    // this date is arbitrary, but needs to be a full date, not just a number for the correct conversion\n    // moment(15).format('Do') === 31 while moment('2019/1/15').format('Do') === 15\n    return moment(`2010/1/${this.customer.get('subscription.invoiceDayOfMonth')}`).format('Do');\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal @onModalClose={{@closeEditPlanModal}} @isOpen={{true}} @width=\\\"xl\\\" data-test-edit-plan-modal as |modal|>\\n  <modal.body @fullBleed={{true}}>\\n    <div class=\\\"flex flex-row\\\">\\n      <div class=\\\"flex flex-col settings__billing__edit-plan-modal__content\\\">\\n        <div class=\\\"flex flex-col\\\">\\n          <Heading class=\\\"mb-4\\\" @size=\\\"1\\\">\\n            Edit plan\\n          </Heading>\\n        </div>\\n        <div class=\\\"flex flex-row flex-1\\\">\\n          {{#each this.coreProduct.plans as |plan|}}\\n            <Billing::EditModalCard\\n              @plan={{plan}}\\n              @isInteractive={{not (eq plan.id this.currentPlan.id)}}\\n              @isSelected={{eq this.activePlan.id plan.id}}\\n              @inCurrentSubscription={{plan.inCurrentSubscription}}\\n              @inNewSubscription={{plan.active}}\\n              @disabled={{plan.inCurrentSubscription}}\\n              @clickAction={{this.updatePlan}}\\n            />\\n          {{/each}}\\n        </div>\\n      </div>\\n      <Paywalls::UpgradeModal::Sidebar\\n        @hasBillingPermission={{this.hasBillingPermission}}\\n        @closeUpgradeModal={{@closeEditPlanModal}}\\n        @fakePlan={{this.activePlan}}\\n        @planPrice={{this.planPrice}}\\n        @showPricingLink={{true}}\\n        @teammateLimitReached={{this.teammateLimitReached}}\\n      />\\n    </div>\\n  </modal.body>\\n</IcModal>\\n\", {\"contents\":\"<IcModal @onModalClose={{@closeEditPlanModal}} @isOpen={{true}} @width=\\\"xl\\\" data-test-edit-plan-modal as |modal|>\\n  <modal.body @fullBleed={{true}}>\\n    <div class=\\\"flex flex-row\\\">\\n      <div class=\\\"flex flex-col settings__billing__edit-plan-modal__content\\\">\\n        <div class=\\\"flex flex-col\\\">\\n          <Heading class=\\\"mb-4\\\" @size=\\\"1\\\">\\n            Edit plan\\n          </Heading>\\n        </div>\\n        <div class=\\\"flex flex-row flex-1\\\">\\n          {{#each this.coreProduct.plans as |plan|}}\\n            <Billing::EditModalCard\\n              @plan={{plan}}\\n              @isInteractive={{not (eq plan.id this.currentPlan.id)}}\\n              @isSelected={{eq this.activePlan.id plan.id}}\\n              @inCurrentSubscription={{plan.inCurrentSubscription}}\\n              @inNewSubscription={{plan.active}}\\n              @disabled={{plan.inCurrentSubscription}}\\n              @clickAction={{this.updatePlan}}\\n            />\\n          {{/each}}\\n        </div>\\n      </div>\\n      <Paywalls::UpgradeModal::Sidebar\\n        @hasBillingPermission={{this.hasBillingPermission}}\\n        @closeUpgradeModal={{@closeEditPlanModal}}\\n        @fakePlan={{this.activePlan}}\\n        @planPrice={{this.planPrice}}\\n        @showPricingLink={{true}}\\n        @teammateLimitReached={{this.teammateLimitReached}}\\n      />\\n    </div>\\n  </modal.body>\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/billing/edit-plan-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/edit-plan-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { CORE_ID } from 'embercom/lib/billing';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { CORE_SEAT_METRIC } from 'embercom/lib/billing';\n\nexport default class EditPlanModal extends Component {\n  @service appService;\n  @service customerService;\n  @service permissionsService;\n  @service purchaseAnalyticsService;\n  @tracked activePlan = null;\n\n  constructor() {\n    super(...arguments);\n    this.currentPlan = this.coreProduct.previousActivePlan;\n    this.activePlan = this.setActivePlan();\n  }\n\n  setActivePlan() {\n    let higherPlanId = this.coreProduct.higherPlanId;\n    this.customerService.updateData({ planIds: [higherPlanId] });\n    return this.coreProduct.plans.find(plan => plan.id === higherPlanId);\n  }\n\n  getActivePlan() {\n    return this.coreProduct.plans.find(plan => plan.active);\n  }\n\n  get activePlanTeammateLimit() {\n    return this.activePlan.get('pricingStrategies').findBy('pricingMetric', CORE_SEAT_METRIC)\n      ?.maximum;\n  }\n\n  get teammateLimitReached() {\n    return this.appService.app.humanAdmins.length > this.activePlanTeammateLimit;\n  }\n\n  get planPrice() {\n    return this.customerService.getPriceFromPlanIds([this.activePlan.idAsNumber]);\n  }\n\n  get coreProduct() {\n    return this.customerService.products.find(product => product.id === CORE_ID);\n  }\n\n  get hasBillingPermission() {\n    return this.permissionsService.currentAdminCan('can_access_billing_settings');\n  }\n\n  @action updatePlan(plan) {\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'clicked',\n      object: 'plan_card',\n      place: 'edit_plan_modal',\n      planId: plan.id,\n    });\n\n    if (plan.id !== this.currentPlan?.id) {\n      this.customerService.updateData({ planIds: [plan.id] });\n      this.activePlan = this.getActivePlan();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"main__content layout__box o__scrolls o__flexes-to-1\\\"\\n  data-test-billing-overview-index=\\\"true\\\"\\n>\\n  <Signup::SolutionSelectorComponent\\n    @showSolutionSelector={{showSolutionSelector}}\\n    @products={{products}}\\n    @solutionSelected={{action \\\"setSolution\\\"}}\\n    @context={{context}}\\n  />\\n  <Billing::Details::HeaderComponent\\n    @totalAmount={{totalAmount}}\\n    @buttonLabel={{headerButtonLabel}}\\n    @buttonDisabled={{or\\n      buttonDisabled\\n      hasNoPrices\\n      customer.subscriptionWillBeCancelled\\n      customer.isAnnuallyContracted\\n    }}\\n    @isEditingSubscription={{isEditing}}\\n    @nextAction={{action headerAction}}\\n    @customer={{customer}}\\n    @earlyStagePartnerWithoutMessenger={{earlyStagePartnerWithoutMessenger}}\\n  >\\n    {{#if\\n      (and\\n        (not customer.hasActiveSubscription)\\n        customerService.eligibletoEditAsRegularCustomer\\n      )\\n    }}\\n      <a data-test-solution-nav-title {{action \\\"openSolutionSelector\\\"}}>\\n        {{tt \\\"sign_up.new.what_do_you_want\\\"}}\\n      </a>\\n    {{else}}\\n      <Common::HamburgerMenu>\\n        {{headerDescription}} {{#if isEditing}}\\n          <a\\n            data-test-cancel-edit\\n            class=\\\"settings__billing__overview__header-edit-button\\\"\\n            {{action \\\"cancelEdit\\\"}}\\n          >\\n            Cancel\\n          </a>\\n        {{/if}}\\n      </Common::HamburgerMenu>\\n    {{/if}}\\n  </Billing::Details::HeaderComponent>\\n  <div>\\n    {{#if earlyStagePartnerWithoutMessenger}}\\n      <div class=\\\"settings__billing__overview__partner-copy text-gray\\\">\\n        *$0/mo with the Intercom messenger visible on your homepage.\\n      </div>\\n    {{/if}}\\n  </div>\\n  <Billing::Details::WarningBannersComponent @customer={{customer}} />\\n  {{#if customer.isAnnuallyContracted}}\\n    <div class=\\\"h-2\\\"></div>\\n    <div>\\n      <IcBanner @type=\\\"help\\\">\\n        <p data-test-early-stage-banner>\\n          <strong>\\n            Your subscription is annually contracted. To make changes to your subscription, please reach out to your Relationship Manager!\\n          </strong>\\n        </p>\\n      </IcBanner>\\n    </div>\\n  {{/if}}\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 settings__billing__overview__cards__container {{unless customer.hasActiveSubscription \\\"o__centers-horizontally\\\"}}\\\"\\n  >\\n    <div\\n      class=\\\"layout__box o__flexes-to-1 o__has-columns settings__billing__overview__cards__inner-container\\\"\\n    >\\n      {{#each displayProducts as |product|}}\\n        <Signup::ToggledProductCard\\n          @product={{product}}\\n          @prices={{prices}}\\n          @context={{context}}\\n          @place={{place}}\\n          @showMobileView={{false}}\\n          @proDefault={{true}}\\n        />\\n      {{/each}}\\n    </div>\\n  </div>\\n  {{#if eligibleToCancelSubscription}}\\n    <div class=\\\"layout__box settings__billing__overview__cancel\\\">\\n      <a class=\\\"t__light-text\\\" {{action \\\"cancelSubscription\\\" true}}>\\n        Cancel Intercom subscription\\n      </a>\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"main__content layout__box o__scrolls o__flexes-to-1\\\"\\n  data-test-billing-overview-index=\\\"true\\\"\\n>\\n  <Signup::SolutionSelectorComponent\\n    @showSolutionSelector={{showSolutionSelector}}\\n    @products={{products}}\\n    @solutionSelected={{action \\\"setSolution\\\"}}\\n    @context={{context}}\\n  />\\n  <Billing::Details::HeaderComponent\\n    @totalAmount={{totalAmount}}\\n    @buttonLabel={{headerButtonLabel}}\\n    @buttonDisabled={{or\\n      buttonDisabled\\n      hasNoPrices\\n      customer.subscriptionWillBeCancelled\\n      customer.isAnnuallyContracted\\n    }}\\n    @isEditingSubscription={{isEditing}}\\n    @nextAction={{action headerAction}}\\n    @customer={{customer}}\\n    @earlyStagePartnerWithoutMessenger={{earlyStagePartnerWithoutMessenger}}\\n  >\\n    {{#if\\n      (and\\n        (not customer.hasActiveSubscription)\\n        customerService.eligibletoEditAsRegularCustomer\\n      )\\n    }}\\n      <a data-test-solution-nav-title {{action \\\"openSolutionSelector\\\"}}>\\n        {{tt \\\"sign_up.new.what_do_you_want\\\"}}\\n      </a>\\n    {{else}}\\n      <Common::HamburgerMenu>\\n        {{headerDescription}} {{#if isEditing}}\\n          <a\\n            data-test-cancel-edit\\n            class=\\\"settings__billing__overview__header-edit-button\\\"\\n            {{action \\\"cancelEdit\\\"}}\\n          >\\n            Cancel\\n          </a>\\n        {{/if}}\\n      </Common::HamburgerMenu>\\n    {{/if}}\\n  </Billing::Details::HeaderComponent>\\n  <div>\\n    {{#if earlyStagePartnerWithoutMessenger}}\\n      <div class=\\\"settings__billing__overview__partner-copy text-gray\\\">\\n        *$0/mo with the Intercom messenger visible on your homepage.\\n      </div>\\n    {{/if}}\\n  </div>\\n  <Billing::Details::WarningBannersComponent @customer={{customer}} />\\n  {{#if customer.isAnnuallyContracted}}\\n    <div class=\\\"h-2\\\"></div>\\n    <div>\\n      <IcBanner @type=\\\"help\\\">\\n        <p data-test-early-stage-banner>\\n          <strong>\\n            Your subscription is annually contracted. To make changes to your subscription, please reach out to your Relationship Manager!\\n          </strong>\\n        </p>\\n      </IcBanner>\\n    </div>\\n  {{/if}}\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 settings__billing__overview__cards__container {{unless customer.hasActiveSubscription \\\"o__centers-horizontally\\\"}}\\\"\\n  >\\n    <div\\n      class=\\\"layout__box o__flexes-to-1 o__has-columns settings__billing__overview__cards__inner-container\\\"\\n    >\\n      {{#each displayProducts as |product|}}\\n        <Signup::ToggledProductCard\\n          @product={{product}}\\n          @prices={{prices}}\\n          @context={{context}}\\n          @place={{place}}\\n          @showMobileView={{false}}\\n          @proDefault={{true}}\\n        />\\n      {{/each}}\\n    </div>\\n  </div>\\n  {{#if eligibleToCancelSubscription}}\\n    <div class=\\\"layout__box settings__billing__overview__cancel\\\">\\n      <a class=\\\"t__light-text\\\" {{action \\\"cancelSubscription\\\" true}}>\\n        Cancel Intercom subscription\\n      </a>\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/billing/edit-subscription-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/edit-subscription-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly, alias, equal, filterBy, and, empty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport {\n  rejectBy,\n  ternary,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport planUpdater from 'embercom/lib/plan-updater';\nimport { EXTENDED_EARLY_STAGE_PRICING_MODEL } from 'embercom/lib/billing';\n\nexport default Component.extend({\n  purchaseAnalyticsService: service(),\n  customerService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  appService: service(),\n  context: 'billing',\n  featureName: readOnly('customerService.featureName'),\n  planIds: alias('customerService.planIds'),\n  solutionId: alias('customerService.solutionId'),\n  isEditing: alias('customerService.isEditing'),\n  showAddons: true,\n  place: ternary('isEditing', 'edit_subscription', 'current_subscription'),\n  customer: alias('customerService.customer'),\n  app: alias('appService.app'),\n  allProducts: alias('customerService.products'),\n  productsWithoutAddons: rejectBy('allProducts', 'addon', true),\n  products: ternaryToProperty('showAddons', 'allProducts', 'productsWithoutAddons'),\n\n  prices: ternaryToProperty(\n    'earlyStageMigrationView',\n    'customerService.migrationPrices',\n    'customerService.prices',\n  ),\n\n  hasNoPrices: equal('prices.length', 0),\n\n  onlyHasOneProduct: equal('products.length', 1),\n\n  trackChanges: readOnly('customer.hasActiveSubscription'),\n\n  totalAmount: readOnly('customerService.totalAmount'),\n  showSolutionSelector: false,\n\n  solution: computed('solutionId', function() {\n    return planUpdater.getSolutionData(this.solutionId);\n  }),\n\n  removingProducts: computed('products.@each.removing', function() {\n    return this.products.any(product => product.get('removing'));\n  }),\n\n  activeProducts: filterBy('products', 'active'),\n\n  eligibleToCancelSubscription: computed(\n    'customer.hasActiveSubscription',\n    'customer.subscriptionWillBeCancelledAt',\n    'customer.isAnnuallyContracted',\n    'isEditing',\n    function() {\n      if (\n        this.get('customer.hasActiveSubscription') &&\n        this.get('customer.subscriptionWillBeCancelledAt')\n      ) {\n        return false;\n      }\n\n      if (this.get('customer.isAnnuallyContracted')) {\n        return false;\n      }\n\n      return this.get('customer.hasActiveSubscription');\n    },\n  ),\n\n  editing: computed(\n    'customer.hasActiveSubscription',\n    'customerService.eligibletoEditAsRegularCustomer',\n    'isEditing',\n    function() {\n      if (\n        this.get('customer.hasActiveSubscription') &&\n        this.get('customerService.eligibletoEditAsRegularCustomer')\n      ) {\n        return this.isEditing;\n      }\n\n      if (!this.get('customerService.eligibletoEditAsRegularCustomer')) {\n        return false;\n      }\n\n      return true;\n    },\n  ),\n\n  earlyStagePartnerWithoutMessenger: readOnly('customerService.earlyStagePartnerWithoutMessenger'),\n\n  extendedEarlyStageGraduationView: computed('customerService.earlyStageGraduation', function() {\n    if (this.get('customerService.earlyStageGraduation')) {\n      return (\n        this.get('customerService.earlyStageGraduation.priceSetIdentifier') ===\n        EXTENDED_EARLY_STAGE_PRICING_MODEL\n      );\n    }\n  }),\n\n  editingOnRegularPlan: computed('extendedEarlyStageGraduationView', 'isEditing', function() {\n    return (\n      this.isEditing &&\n      !this.extendedEarlyStageGraduationView &&\n      !this.customer.currentEarlyStageCustomer\n    );\n  }),\n\n  buttonDisabled: and('isEditing', 'hasNoChangedProducts'),\n\n  changedProducts: filterBy('products', 'changedPlan', true),\n  hasNoChangedProducts: empty('changedProducts'),\n\n  displayProducts: computed(\n    'customer',\n    'products.@each.active',\n    'editingOnRegularPlan',\n    function() {\n      let products = this.products;\n      if (!this.get('customer.hasActiveSubscription') || this.editingOnRegularPlan) {\n        return products;\n      } else {\n        return products.filterBy('active');\n      }\n    },\n  ),\n\n  canceledProducts: filterBy('products', 'removing'),\n\n  headerDescription: computed('isEditing', 'customer.hasActiveSubscription', function() {\n    if (this.isEditing) {\n      return 'Editing your current subscription';\n    }\n    if (this.get('customer.hasActiveSubscription')) {\n      return 'Current subscription';\n    }\n    return 'Start with all three products';\n  }),\n\n  headerAction: computed(\n    'isEditing',\n    'customer.hasActiveSubscription',\n    'showCancelProduct',\n    'removingProducts',\n    function() {\n      if (this.isEditing && this.removingProducts && !this.showCancelProduct) {\n        if (this.activeProducts) {\n          return 'showCancelProductConfirm';\n        }\n        return 'cancelSubscription';\n      }\n      if (this.isEditing) {\n        return 'next';\n      }\n      if (this.get('customer.hasActiveSubscription')) {\n        return 'editSubscription';\n      }\n      return 'next';\n    },\n  ),\n\n  headerButtonLabel: computed('isEditing', 'customer.hasActiveSubscription', function() {\n    if (this.isEditing) {\n      return 'sign_up.new.form.next';\n    }\n    if (this.get('customer.hasActiveSubscription')) {\n      return 'sign_up.edit_subscription';\n    }\n    return 'sign_up.new.form.next';\n  }),\n\n  totalPrice: 1500,\n  cancelAction: () => {},\n  transition: () => {},\n  subscriptionWillBeCancelledAndHasRelationshipManager: and(\n    'customer.subscriptionWillBeCancelled',\n    'app.hasRelationshipManager',\n    'mrrIsOver200',\n  ),\n\n  actions: {\n    showCancelProductConfirm() {\n      let hasActiveProducts = this.products.any(product => product.get('active'));\n      if (this.get('customer.hasActiveSubscription') && !hasActiveProducts) {\n        this.send('cancelSubscription');\n      } else {\n        this.set('showCancelProduct', true);\n      }\n    },\n    next() {\n      this.transition();\n    },\n    cancelSubscription(trackEvent) {\n      this.cancelAction(trackEvent);\n    },\n\n    openSolutionSelector() {\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'clicked',\n        object: 'usecase_dropdown',\n        context: this.context,\n        place: this.place,\n      });\n      this.set('showSolutionSelector', true);\n    },\n\n    setSolution(solutionId) {\n      if (solutionId !== false) {\n        this.set('solutionId', solutionId);\n        this.customerService.syncPlanIds();\n      }\n      this.set('showSolutionSelector', false);\n    },\n\n    editSubscription() {\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'clicked',\n        object: 'edit_subscription',\n        context: this.context,\n        place: this.place,\n      });\n      this.set('isEditing', true);\n    },\n\n    cancelEdit() {\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'clicked',\n        object: 'cancel_edit_subscription',\n        context: this.context,\n        place: this.place,\n      });\n      this.set('isEditing', false);\n      this.set('showCancelProduct', false);\n      this.customerService.resetProducts();\n    },\n    showResumePendingCancellationModal() {\n      this.modalService.openModal(\n        'apps/app/billing/modals/resume-pending-cancellation-modal',\n        this.customer,\n      );\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @invoice.pricedPerProduct}}\\n  <div class=\\\"invoice-billing-period-total o__per-product\\\">\\n    <div class=\\\"invoice-billing-period-post-subtotal-space\\\"></div>\\n    <div class=\\\"invoice-billing-period-subtotal-container u__cf\\\">\\n      <span class=\\\"u__left\\\">\\n        Subtotal\\n      </span>\\n      <span class=\\\"u__right\\\">\\n        {{currency-formatter-helper @total 2}}\\n      </span>\\n    </div>\\n  </div>\\n{{else}}\\n  <div class=\\\"invoice-billing-period-total\\\">\\n    {{currency-formatter-helper @total 2}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if @invoice.pricedPerProduct}}\\n  <div class=\\\"invoice-billing-period-total o__per-product\\\">\\n    <div class=\\\"invoice-billing-period-post-subtotal-space\\\"></div>\\n    <div class=\\\"invoice-billing-period-subtotal-container u__cf\\\">\\n      <span class=\\\"u__left\\\">\\n        Subtotal\\n      </span>\\n      <span class=\\\"u__right\\\">\\n        {{currency-formatter-helper @total 2}}\\n      </span>\\n    </div>\\n  </div>\\n{{else}}\\n  <div class=\\\"invoice-billing-period-total\\\">\\n    {{currency-formatter-helper @total 2}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/billing/invoice-billing-period-total.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/invoice-billing-period-total.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable template-length --}}\\n<div class=\\\"invoice-wrapper\\\">\\n  {{#if invoice.isUpcoming}}\\n    <IcBanner\\n      @type=\\\"warning\\\"\\n      @text=\\\"This is a preview of your next invoice based on current estimates. Estimates are based on your current subscription and level of usage. Your actual bill at the time of invoice may vary. If you have any questions or concerns, please contact us.\\\"\\n    />\\n    <div class=\\\"h-5\\\"></div>\\n  {{/if}}\\n  <div\\n    class=\\\"invoice-box {{if invoice.pricedPerProduct \\\"o__per-product\\\"}} {{if invoice.isUpcoming \\\"invoice-box--upcoming\\\"}}\\\"\\n  >\\n    <img\\n      class=\\\"invoice-logo\\\"\\n      src=\\\"/assets/images/invoices/intercom-logo.png\\\"\\n      height=\\\"40\\\"\\n    />\\n    <div class=\\\"invoice-summary u__cf\\\">\\n      <div class=\\\"invoice-meta u__left\\\">\\n        <div class=\\\"invoice-meta-column u__left\\\">\\n          <div class=\\\"invoice-meta-item\\\">\\n            <span class=\\\"invoice-meta-item-title\\\">\\n              Invoice ID\\n            </span>\\n            <span class=\\\"invoice-meta-item-value\\\">\\n              {{#if invoice.isUpcoming}}\\n                <span class=\\\"stamp\\\" style=\\\"vertical-align: text-top;\\\">\\n                  Pending\\n                </span>\\n              {{else}}\\n                {{invoice.id}}\\n              {{/if}}\\n            </span>\\n            {{#if invoice.paid}}\\n              <span class=\\\"invoice-meta-item-badge\\\">\\n                Paid\\n              </span>\\n            {{/if}}\\n          </div>\\n          <div class=\\\"invoice-meta-item\\\">\\n            <span class=\\\"invoice-meta-item-title\\\">\\n              Invoice Date\\n            </span>\\n            <span class=\\\"invoice-meta-item-value\\\">\\n              {{#if (and invoice.trueUp invoice.isTrueUpWithNoExpasion)}}\\n                {{invoice.retrospectivePeriodEnd}}\\n              {{else}}\\n                {{invoice.billAheadPeriodStart}}\\n              {{/if}}\\n            </span>\\n          </div>\\n        </div>\\n        <div class=\\\"invoice-meta-column u__left\\\">\\n          <div class=\\\"invoice-meta-item\\\">\\n            <span class=\\\"invoice-meta-item-title\\\">\\n              App name\\n            </span>\\n            <span class=\\\"invoice-meta-item-value\\\">\\n              {{invoice.appName}}\\n            </span>\\n          </div>\\n          <div class=\\\"invoice-meta-item\\\">\\n            <span class=\\\"invoice-meta-item-title\\\">\\n              App ID\\n            </span>\\n            <code\\n              class=\\\"invoice-meta-item-value u__one-truncated-line\\\"\\n              style=\\\"width:100%;\\\"\\n              title=\\\"{{invoice.appIdCode}}\\\"\\n            >\\n              {{invoice.appIdCode}}\\n            </code>\\n          </div>\\n        </div>\\n      </div>\\n      <div class=\\\"invoice-payment-details u__right\\\">\\n        <div class=\\\"invoice-payment-details-wrapper\\\">\\n          <p>\\n            <strong>\\n              Billed To\\n            </strong>\\n          </p>\\n          {{#if invoice.cardLastFour}}\\n            <p>\\n              {{currency-formatter-helper invoice.cardAmountInCents 2\\n              }} charged to card ending in {{invoice.cardLastFour}}\\n            </p>\\n            <div class=\\\"h-2\\\"></div>\\n          {{/if}}\\n          <p>\\n            {{invoice.contactEmail}}\\n          </p>\\n          {{#if invoice.entityName}}\\n            <p>\\n              {{invoice.entityName}} **\\n            </p>\\n          {{/if}}\\n          {{#if invoice.address}}\\n            <p>\\n              {{invoice.address}}\\n            </p>\\n          {{/if}}\\n          {{#if invoice.extraBillingDetails}}\\n            <p>\\n              {{invoice.extraBillingDetails}}\\n            </p>\\n          {{/if}}\\n          {{#if invoice.vatNumber}}\\n            {{#if invoice.nonIrishVatNumber}}\\n              <p>\\n                VAT: {{invoice.vatNumber}}***\\n              </p>\\n            {{else}}\\n              <p>\\n                VAT: {{invoice.vatNumber}}\\n              </p>\\n            {{/if}}\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n    {{#if invoice.hasUsageLimitAgreement}}\\n      <h3 class=\\\"invoice-billing-period-annual-contract-heading\\\">\\n        Additional usage agreements\\n      </h3>\\n      {{#if invoice.freeAgentCount}}\\n        <p class=\\\"invoice-billing-period-usage-limits\\\">\\n          {{number-formatter-helper invoice.freeAgentCount\\n          }} free teammates available\\n        </p>\\n      {{/if}}\\n      {{#if invoice.minimumAgentCount}}\\n        <p class=\\\"invoice-billing-period-usage-limits\\\">\\n          Charging for a minimum of {{number-formatter-helper\\n            invoice.minimumAgentCount\\n          }} teammates\\n        </p>\\n      {{/if}}\\n      {{#if invoice.minimumActivePeopleCount}}\\n        <p class=\\\"invoice-billing-period-usage-limits\\\">\\n          Charging for a minimum of {{number-formatter-helper\\n            invoice.minimumActivePeopleCount\\n          }} monthly active people\\n        </p>\\n      {{/if}}\\n      <div class=\\\"h-5\\\"></div>\\n    {{/if}}\\n    {{#unless invoice.hideRetrospective}}\\n      <div class=\\\"invoice-line-items\\\">\\n        <div class=\\\"invoice-billing-period\\\">\\n          {{#if invoice.trueUp}}\\n            <h3 class=\\\"invoice-billing-period-annual-contract-heading\\\">\\n              Annual contract terms\\n            </h3>\\n            <p class=\\\"invoice-billing-period-annual-contract-terms\\\">\\n              {{invoice.annualContractTerms}}\\n            </p>\\n          {{/if}}\\n          <div class=\\\"invoice-billing-period-heading\\\">\\n            <b>\\n              {{invoice.retrospectivePeriodStart\\n              }} - {{invoice.retrospectivePeriodEnd}}{{#if invoice.trueUp}}\\n                : Additional usage\\n              {{/if}}\\n            </b>\\n            {{#if invoice.pricedPerProduct}}\\n              <span class=\\\"u__right\\\">\\n                Last Period's True Up\\n              </span>\\n            {{/if}}\\n          </div>\\n          <div\\n            class=\\\"component-invoice-section {{if invoice.pricedPerProduct \\\"o__per-product\\\"}}\\\"\\n          >\\n            {{!-- template-lint-disable intercom/no-custom-table --}}\\n            <table class=\\\"invoice-table\\\">\\n              {{!-- template-lint-enable intercom/no-custom-table --}}\\n              <thead>\\n                <tr class=\\\"header-row\\\">\\n                  <th class=\\\"package-names\\\">\\n                    {{#if invoice.trueUp}}\\n                      Additional Usage\\n                    {{else}}\\n                      Subscription\\n                    {{/if}}\\n                  </th>\\n                  <th class=\\\"user-count\\\">\\n                    {{#if invoice.trueUp}}\\n                      Cost/Month\\n                    {{/if}}\\n                  </th>\\n                  <th class=\\\"time-period\\\">\\n                    Time Period\\n                  </th>\\n                  <th class=\\\"amount\\\">\\n                    Amount\\n                  </th>\\n                </tr>\\n              </thead>\\n              <tbody>\\n                {{#if invoice.pricedPerProduct}}\\n                  {{#each invoice.products as |product|}}\\n                    {{#if product.hasItem}}\\n                      <tr>\\n                        <td colspan=\\\"5\\\">\\n                          {{!-- template-lint-disable intercom/no-custom-table --}}\\n                          <table\\n                            class=\\\"component-invoice__product-section {{if invoice.pricedPerProduct \\\"o__per-product\\\"}}\\\"\\n                          >\\n                            {{!-- template-lint-enable intercom/no-custom-table --}}\\n                            <tbody>\\n                              {{#each product.items as |item|}}\\n                                <Billing::LineItemRow\\n                                  @invoice={{invoice}}\\n                                  @lineItem={{item.lineItem}}\\n                                  @subsequentLineItemForProduct={{item.subsequentLineItemForProduct\\n                                  }}\\n                                />\\n                              {{/each}}\\n                            </tbody>\\n                          </table>\\n                        </td>\\n                      </tr>\\n                    {{/if}}\\n                  {{/each}}\\n                {{else}}\\n                  {{#each\\n                    invoice.retrospectivePreSubtotalLineItems as |lineItem|\\n                  }}\\n                    <Billing::LineItemRow\\n                      @invoice={{invoice}}\\n                      @lineItem={{lineItem}}\\n                    />\\n                  {{/each}}\\n                {{/if}}\\n              </tbody>\\n            </table>\\n          </div>\\n          <hr\\n            class=\\\"invoice-billing-period-hr {{if invoice.pricedPerProduct \\\"o__per-product\\\" \\\"\\\"}}\\\"\\n          />\\n          <div class=\\\"invoice-billing-period-post-subtotal\\\">\\n            <div class=\\\"invoice-billing-period-post-subtotal-space\\\"></div>\\n            <div class=\\\"invoice-billing-period-post-subtotal-wrapper\\\">\\n              {{#each invoice.retrospectivePrepaidCreditLineItems as |credit|}}\\n                <Billing::PostSubtotalLineItem\\n                  @label={{credit.label}}\\n                  @priceUsd={{credit.priceInCents}}\\n                  @pricedPerProduct={{invoice.pricedPerProduct}}\\n                />\\n              {{/each}}\\n              <Billing::PostSubtotalLineItem\\n                @label=\\\"Subtotal\\\"\\n                @priceUsd={{invoice.retrospectiveSubtotal}}\\n                @isSubtotal={{true}}\\n                @pricedPerProduct={{invoice.pricedPerProduct}}\\n              />\\n              {{#each retrospectivePostSubtotalLineItems as |discount|}}\\n                <Billing::PostSubtotalLineItem\\n                  @label={{discount.label}}\\n                  @priceUsd={{discount.priceInCents}}\\n                  @pricedPerProduct={{invoice.pricedPerProduct}}\\n                />\\n              {{/each}}\\n            </div>\\n          </div>\\n          <hr\\n            class=\\\"invoice-billing-period-thick-hr {{if invoice.pricedPerProduct \\\"o__per-product\\\" \\\"\\\"}}\\\"\\n          />\\n          <Billing::InvoiceBillingPeriodTotal\\n            @invoice={{invoice}}\\n            @total={{invoice.retrospectiveTotal}}\\n          />\\n        </div>\\n      </div>\\n    {{/unless}}\\n    {{#if invoice.pricedPerProduct}}\\n      <div class=\\\"h-10\\\"></div>\\n    {{/if}}\\n    {{#unless invoice.isTrueUpWithNoExpansion}}\\n      <div class=\\\"invoice-line-items\\\">\\n        <div class=\\\"invoice-billing-period\\\">\\n          <div class=\\\"invoice-billing-period-heading\\\">\\n            <b>\\n              {{#if invoice.trueUp}}\\n                {{invoice.trueUpExpansion.periodStart}}\\n                -\\n                {{invoice.trueUpExpansion.periodEnd}}\\n                : Additional usage for remaining billing period\\n              {{else}}\\n                {{invoice.billAheadPeriodStart}}-{{invoice.billAheadPeriodEnd}}\\n              {{/if}}\\n            </b>\\n            {{#if invoice.pricedPerProduct}}\\n              <span class=\\\"u__right\\\">\\n                Next Period's Bill\\n              </span>\\n            {{/if}}\\n          </div>\\n          <div\\n            class=\\\"component-invoice-section {{if invoice.pricedPerProduct \\\"o__per-product\\\"}}\\\"\\n          >\\n            {{!-- template-lint-disable intercom/no-custom-table --}}\\n            <table class=\\\"invoice-table\\\">\\n              {{!-- template-lint-enable intercom/no-custom-table --}}\\n              <thead>\\n                <tr class=\\\"header-row\\\">\\n                  <th class=\\\"package-names\\\">\\n                    {{#if invoice.trueUp}}\\n                      Additional Usage\\n                    {{else}}\\n                      Subscription\\n                    {{/if}}\\n                  </th>\\n                  <th class=\\\"user-count\\\">\\n                    {{#if invoice.trueUp}}\\n                      Cost/Month\\n                    {{/if}}\\n                  </th>\\n                  <th class=\\\"time-period\\\">\\n                    Time Period\\n                  </th>\\n                  <th class=\\\"amount\\\">\\n                    Amount\\n                  </th>\\n                </tr>\\n              </thead>\\n              <tbody>\\n                {{#each invoice.billAheadPreSubtotalLineItems as |lineItem|}}\\n                  {{#if invoice.pricedPerProduct}}\\n                    <tr>\\n                      <td colspan=\\\"5\\\">\\n                        {{!-- template-lint-disable intercom/no-custom-table --}}\\n                        <table\\n                          class=\\\"component-invoice__product-section o__per-product\\\"\\n                        >\\n                          {{!-- template-lint-enable intercom/no-custom-table --}}\\n                          <tbody>\\n                            <Billing::LineItemRow\\n                              @invoice={{invoice}}\\n                              @lineItem={{lineItem}}\\n                            />\\n                          </tbody>\\n                        </table>\\n                      </td>\\n                    </tr>\\n                  {{else}}\\n                    <Billing::LineItemRow\\n                      @invoice={{invoice}}\\n                      @lineItem={{lineItem}}\\n                    />\\n                  {{/if}}\\n                {{/each}}\\n              </tbody>\\n            </table>\\n          </div>\\n          <hr\\n            class=\\\"invoice-billing-period-hr {{if invoice.pricedPerProduct \\\"o__per-product\\\" \\\"\\\"}}\\\"\\n          />\\n          <div class=\\\"invoice-billing-period-post-subtotal\\\">\\n            <div class=\\\"invoice-billing-period-post-subtotal-space\\\"></div>\\n            <div class=\\\"invoice-billing-period-post-subtotal-wrapper\\\">\\n              <Billing::PostSubtotalLineItem\\n                @label=\\\"Subtotal\\\"\\n                @priceUsd={{invoice.billAheadSubtotal}}\\n                @isSubtotal={{true}}\\n                @pricedPerProduct={{invoice.pricedPerProduct}}\\n              />\\n              {{#each billAheadPostSubtotalLineItems as |discount|}}\\n                <Billing::PostSubtotalLineItem\\n                  @label={{discount.label}}\\n                  @priceUsd={{discount.priceInCents}}\\n                  @pricedPerProduct={{invoice.pricedPerProduct}}\\n                />\\n              {{/each}}\\n            </div>\\n          </div>\\n          <hr\\n            class=\\\"invoice-billing-period-thick-hr {{if invoice.pricedPerProduct \\\"o__per-product\\\" \\\"\\\"}}\\\"\\n          />\\n          <Billing::InvoiceBillingPeriodTotal\\n            @invoice={{invoice}}\\n            @total={{invoice.billAheadTotal}}\\n          />\\n        </div>\\n      </div>\\n    {{/unless}}\\n    <Billing::InvoiceTotalComponent @invoice={{invoice}} />\\n  </div>\\n  <div class=\\\"invoice-intercom-info u__cf\\\">\\n    <div class=\\\"invoice-addresses\\\">\\n      <address class=\\\"invoice-address u__left\\\">\\n        <strong>\\n          Intercom, Inc.\\n        </strong>\\n        <br />\\n        55 2nd St., 4th Fl.<br />\\n        San Francisco, CA 94105, USA\\n      </address>\\n      <address class=\\\"invoice-address u__left\\\">\\n        <strong>\\n          Intercom R&amp;D\\n        </strong>\\n        <br />\\n        18-21 St. Stephen's Green<br />\\n        Dublin 2, Ireland\\n      </address>\\n    </div>\\n    <div class=\\\"invoice-intercom-info-vat u__right\\\">\\n      <div class=\\\"invoice-intercom-info-vat-wrapper\\\">\\n        <p>\\n          <strong>\\n            Intercom VAT:\\n          </strong>\\n        </p>\\n        <p>\\n          IE3273393EH\\n        </p>\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"invoice-fine-print\\\">\\n    <p class=\\\"invoice-fine-print-item\\\">\\n      ** Billing details added by invoice\\n    </p>\\n    <p class=\\\"invoice-fine-print-item\\\">\\n      {{#if invoice.nonIrishVatNumber}}\\n        *** This invoice relates to services which are deemed to be supplied where received and under Article 196 Council Directive 2006/112/EC the customer must self-account for VAT on the reverse charge basis in their own jurisdiction\\n      {{/if}}\\n    </p>\\n    <p class=\\\"invoice-fine-print-item\\\">\\n      This is only for your records, no payment is due.\\n      If you have any questions, please contact us at team@intercom.io.\\n      Thank you for your business!\\n    </p>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable template-length --}}\\n<div class=\\\"invoice-wrapper\\\">\\n  {{#if invoice.isUpcoming}}\\n    <IcBanner\\n      @type=\\\"warning\\\"\\n      @text=\\\"This is a preview of your next invoice based on current estimates. Estimates are based on your current subscription and level of usage. Your actual bill at the time of invoice may vary. If you have any questions or concerns, please contact us.\\\"\\n    />\\n    <div class=\\\"h-5\\\"></div>\\n  {{/if}}\\n  <div\\n    class=\\\"invoice-box {{if invoice.pricedPerProduct \\\"o__per-product\\\"}} {{if invoice.isUpcoming \\\"invoice-box--upcoming\\\"}}\\\"\\n  >\\n    <img\\n      class=\\\"invoice-logo\\\"\\n      src=\\\"/assets/images/invoices/intercom-logo.png\\\"\\n      height=\\\"40\\\"\\n    />\\n    <div class=\\\"invoice-summary u__cf\\\">\\n      <div class=\\\"invoice-meta u__left\\\">\\n        <div class=\\\"invoice-meta-column u__left\\\">\\n          <div class=\\\"invoice-meta-item\\\">\\n            <span class=\\\"invoice-meta-item-title\\\">\\n              Invoice ID\\n            </span>\\n            <span class=\\\"invoice-meta-item-value\\\">\\n              {{#if invoice.isUpcoming}}\\n                <span class=\\\"stamp\\\" style=\\\"vertical-align: text-top;\\\">\\n                  Pending\\n                </span>\\n              {{else}}\\n                {{invoice.id}}\\n              {{/if}}\\n            </span>\\n            {{#if invoice.paid}}\\n              <span class=\\\"invoice-meta-item-badge\\\">\\n                Paid\\n              </span>\\n            {{/if}}\\n          </div>\\n          <div class=\\\"invoice-meta-item\\\">\\n            <span class=\\\"invoice-meta-item-title\\\">\\n              Invoice Date\\n            </span>\\n            <span class=\\\"invoice-meta-item-value\\\">\\n              {{#if (and invoice.trueUp invoice.isTrueUpWithNoExpasion)}}\\n                {{invoice.retrospectivePeriodEnd}}\\n              {{else}}\\n                {{invoice.billAheadPeriodStart}}\\n              {{/if}}\\n            </span>\\n          </div>\\n        </div>\\n        <div class=\\\"invoice-meta-column u__left\\\">\\n          <div class=\\\"invoice-meta-item\\\">\\n            <span class=\\\"invoice-meta-item-title\\\">\\n              App name\\n            </span>\\n            <span class=\\\"invoice-meta-item-value\\\">\\n              {{invoice.appName}}\\n            </span>\\n          </div>\\n          <div class=\\\"invoice-meta-item\\\">\\n            <span class=\\\"invoice-meta-item-title\\\">\\n              App ID\\n            </span>\\n            <code\\n              class=\\\"invoice-meta-item-value u__one-truncated-line\\\"\\n              style=\\\"width:100%;\\\"\\n              title=\\\"{{invoice.appIdCode}}\\\"\\n            >\\n              {{invoice.appIdCode}}\\n            </code>\\n          </div>\\n        </div>\\n      </div>\\n      <div class=\\\"invoice-payment-details u__right\\\">\\n        <div class=\\\"invoice-payment-details-wrapper\\\">\\n          <p>\\n            <strong>\\n              Billed To\\n            </strong>\\n          </p>\\n          {{#if invoice.cardLastFour}}\\n            <p>\\n              {{currency-formatter-helper invoice.cardAmountInCents 2\\n              }} charged to card ending in {{invoice.cardLastFour}}\\n            </p>\\n            <div class=\\\"h-2\\\"></div>\\n          {{/if}}\\n          <p>\\n            {{invoice.contactEmail}}\\n          </p>\\n          {{#if invoice.entityName}}\\n            <p>\\n              {{invoice.entityName}} **\\n            </p>\\n          {{/if}}\\n          {{#if invoice.address}}\\n            <p>\\n              {{invoice.address}}\\n            </p>\\n          {{/if}}\\n          {{#if invoice.extraBillingDetails}}\\n            <p>\\n              {{invoice.extraBillingDetails}}\\n            </p>\\n          {{/if}}\\n          {{#if invoice.vatNumber}}\\n            {{#if invoice.nonIrishVatNumber}}\\n              <p>\\n                VAT: {{invoice.vatNumber}}***\\n              </p>\\n            {{else}}\\n              <p>\\n                VAT: {{invoice.vatNumber}}\\n              </p>\\n            {{/if}}\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n    {{#if invoice.hasUsageLimitAgreement}}\\n      <h3 class=\\\"invoice-billing-period-annual-contract-heading\\\">\\n        Additional usage agreements\\n      </h3>\\n      {{#if invoice.freeAgentCount}}\\n        <p class=\\\"invoice-billing-period-usage-limits\\\">\\n          {{number-formatter-helper invoice.freeAgentCount\\n          }} free teammates available\\n        </p>\\n      {{/if}}\\n      {{#if invoice.minimumAgentCount}}\\n        <p class=\\\"invoice-billing-period-usage-limits\\\">\\n          Charging for a minimum of {{number-formatter-helper\\n            invoice.minimumAgentCount\\n          }} teammates\\n        </p>\\n      {{/if}}\\n      {{#if invoice.minimumActivePeopleCount}}\\n        <p class=\\\"invoice-billing-period-usage-limits\\\">\\n          Charging for a minimum of {{number-formatter-helper\\n            invoice.minimumActivePeopleCount\\n          }} monthly active people\\n        </p>\\n      {{/if}}\\n      <div class=\\\"h-5\\\"></div>\\n    {{/if}}\\n    {{#unless invoice.hideRetrospective}}\\n      <div class=\\\"invoice-line-items\\\">\\n        <div class=\\\"invoice-billing-period\\\">\\n          {{#if invoice.trueUp}}\\n            <h3 class=\\\"invoice-billing-period-annual-contract-heading\\\">\\n              Annual contract terms\\n            </h3>\\n            <p class=\\\"invoice-billing-period-annual-contract-terms\\\">\\n              {{invoice.annualContractTerms}}\\n            </p>\\n          {{/if}}\\n          <div class=\\\"invoice-billing-period-heading\\\">\\n            <b>\\n              {{invoice.retrospectivePeriodStart\\n              }} - {{invoice.retrospectivePeriodEnd}}{{#if invoice.trueUp}}\\n                : Additional usage\\n              {{/if}}\\n            </b>\\n            {{#if invoice.pricedPerProduct}}\\n              <span class=\\\"u__right\\\">\\n                Last Period's True Up\\n              </span>\\n            {{/if}}\\n          </div>\\n          <div\\n            class=\\\"component-invoice-section {{if invoice.pricedPerProduct \\\"o__per-product\\\"}}\\\"\\n          >\\n            {{!-- template-lint-disable intercom/no-custom-table --}}\\n            <table class=\\\"invoice-table\\\">\\n              {{!-- template-lint-enable intercom/no-custom-table --}}\\n              <thead>\\n                <tr class=\\\"header-row\\\">\\n                  <th class=\\\"package-names\\\">\\n                    {{#if invoice.trueUp}}\\n                      Additional Usage\\n                    {{else}}\\n                      Subscription\\n                    {{/if}}\\n                  </th>\\n                  <th class=\\\"user-count\\\">\\n                    {{#if invoice.trueUp}}\\n                      Cost/Month\\n                    {{/if}}\\n                  </th>\\n                  <th class=\\\"time-period\\\">\\n                    Time Period\\n                  </th>\\n                  <th class=\\\"amount\\\">\\n                    Amount\\n                  </th>\\n                </tr>\\n              </thead>\\n              <tbody>\\n                {{#if invoice.pricedPerProduct}}\\n                  {{#each invoice.products as |product|}}\\n                    {{#if product.hasItem}}\\n                      <tr>\\n                        <td colspan=\\\"5\\\">\\n                          {{!-- template-lint-disable intercom/no-custom-table --}}\\n                          <table\\n                            class=\\\"component-invoice__product-section {{if invoice.pricedPerProduct \\\"o__per-product\\\"}}\\\"\\n                          >\\n                            {{!-- template-lint-enable intercom/no-custom-table --}}\\n                            <tbody>\\n                              {{#each product.items as |item|}}\\n                                <Billing::LineItemRow\\n                                  @invoice={{invoice}}\\n                                  @lineItem={{item.lineItem}}\\n                                  @subsequentLineItemForProduct={{item.subsequentLineItemForProduct\\n                                  }}\\n                                />\\n                              {{/each}}\\n                            </tbody>\\n                          </table>\\n                        </td>\\n                      </tr>\\n                    {{/if}}\\n                  {{/each}}\\n                {{else}}\\n                  {{#each\\n                    invoice.retrospectivePreSubtotalLineItems as |lineItem|\\n                  }}\\n                    <Billing::LineItemRow\\n                      @invoice={{invoice}}\\n                      @lineItem={{lineItem}}\\n                    />\\n                  {{/each}}\\n                {{/if}}\\n              </tbody>\\n            </table>\\n          </div>\\n          <hr\\n            class=\\\"invoice-billing-period-hr {{if invoice.pricedPerProduct \\\"o__per-product\\\" \\\"\\\"}}\\\"\\n          />\\n          <div class=\\\"invoice-billing-period-post-subtotal\\\">\\n            <div class=\\\"invoice-billing-period-post-subtotal-space\\\"></div>\\n            <div class=\\\"invoice-billing-period-post-subtotal-wrapper\\\">\\n              {{#each invoice.retrospectivePrepaidCreditLineItems as |credit|}}\\n                <Billing::PostSubtotalLineItem\\n                  @label={{credit.label}}\\n                  @priceUsd={{credit.priceInCents}}\\n                  @pricedPerProduct={{invoice.pricedPerProduct}}\\n                />\\n              {{/each}}\\n              <Billing::PostSubtotalLineItem\\n                @label=\\\"Subtotal\\\"\\n                @priceUsd={{invoice.retrospectiveSubtotal}}\\n                @isSubtotal={{true}}\\n                @pricedPerProduct={{invoice.pricedPerProduct}}\\n              />\\n              {{#each retrospectivePostSubtotalLineItems as |discount|}}\\n                <Billing::PostSubtotalLineItem\\n                  @label={{discount.label}}\\n                  @priceUsd={{discount.priceInCents}}\\n                  @pricedPerProduct={{invoice.pricedPerProduct}}\\n                />\\n              {{/each}}\\n            </div>\\n          </div>\\n          <hr\\n            class=\\\"invoice-billing-period-thick-hr {{if invoice.pricedPerProduct \\\"o__per-product\\\" \\\"\\\"}}\\\"\\n          />\\n          <Billing::InvoiceBillingPeriodTotal\\n            @invoice={{invoice}}\\n            @total={{invoice.retrospectiveTotal}}\\n          />\\n        </div>\\n      </div>\\n    {{/unless}}\\n    {{#if invoice.pricedPerProduct}}\\n      <div class=\\\"h-10\\\"></div>\\n    {{/if}}\\n    {{#unless invoice.isTrueUpWithNoExpansion}}\\n      <div class=\\\"invoice-line-items\\\">\\n        <div class=\\\"invoice-billing-period\\\">\\n          <div class=\\\"invoice-billing-period-heading\\\">\\n            <b>\\n              {{#if invoice.trueUp}}\\n                {{invoice.trueUpExpansion.periodStart}}\\n                -\\n                {{invoice.trueUpExpansion.periodEnd}}\\n                : Additional usage for remaining billing period\\n              {{else}}\\n                {{invoice.billAheadPeriodStart}}-{{invoice.billAheadPeriodEnd}}\\n              {{/if}}\\n            </b>\\n            {{#if invoice.pricedPerProduct}}\\n              <span class=\\\"u__right\\\">\\n                Next Period's Bill\\n              </span>\\n            {{/if}}\\n          </div>\\n          <div\\n            class=\\\"component-invoice-section {{if invoice.pricedPerProduct \\\"o__per-product\\\"}}\\\"\\n          >\\n            {{!-- template-lint-disable intercom/no-custom-table --}}\\n            <table class=\\\"invoice-table\\\">\\n              {{!-- template-lint-enable intercom/no-custom-table --}}\\n              <thead>\\n                <tr class=\\\"header-row\\\">\\n                  <th class=\\\"package-names\\\">\\n                    {{#if invoice.trueUp}}\\n                      Additional Usage\\n                    {{else}}\\n                      Subscription\\n                    {{/if}}\\n                  </th>\\n                  <th class=\\\"user-count\\\">\\n                    {{#if invoice.trueUp}}\\n                      Cost/Month\\n                    {{/if}}\\n                  </th>\\n                  <th class=\\\"time-period\\\">\\n                    Time Period\\n                  </th>\\n                  <th class=\\\"amount\\\">\\n                    Amount\\n                  </th>\\n                </tr>\\n              </thead>\\n              <tbody>\\n                {{#each invoice.billAheadPreSubtotalLineItems as |lineItem|}}\\n                  {{#if invoice.pricedPerProduct}}\\n                    <tr>\\n                      <td colspan=\\\"5\\\">\\n                        {{!-- template-lint-disable intercom/no-custom-table --}}\\n                        <table\\n                          class=\\\"component-invoice__product-section o__per-product\\\"\\n                        >\\n                          {{!-- template-lint-enable intercom/no-custom-table --}}\\n                          <tbody>\\n                            <Billing::LineItemRow\\n                              @invoice={{invoice}}\\n                              @lineItem={{lineItem}}\\n                            />\\n                          </tbody>\\n                        </table>\\n                      </td>\\n                    </tr>\\n                  {{else}}\\n                    <Billing::LineItemRow\\n                      @invoice={{invoice}}\\n                      @lineItem={{lineItem}}\\n                    />\\n                  {{/if}}\\n                {{/each}}\\n              </tbody>\\n            </table>\\n          </div>\\n          <hr\\n            class=\\\"invoice-billing-period-hr {{if invoice.pricedPerProduct \\\"o__per-product\\\" \\\"\\\"}}\\\"\\n          />\\n          <div class=\\\"invoice-billing-period-post-subtotal\\\">\\n            <div class=\\\"invoice-billing-period-post-subtotal-space\\\"></div>\\n            <div class=\\\"invoice-billing-period-post-subtotal-wrapper\\\">\\n              <Billing::PostSubtotalLineItem\\n                @label=\\\"Subtotal\\\"\\n                @priceUsd={{invoice.billAheadSubtotal}}\\n                @isSubtotal={{true}}\\n                @pricedPerProduct={{invoice.pricedPerProduct}}\\n              />\\n              {{#each billAheadPostSubtotalLineItems as |discount|}}\\n                <Billing::PostSubtotalLineItem\\n                  @label={{discount.label}}\\n                  @priceUsd={{discount.priceInCents}}\\n                  @pricedPerProduct={{invoice.pricedPerProduct}}\\n                />\\n              {{/each}}\\n            </div>\\n          </div>\\n          <hr\\n            class=\\\"invoice-billing-period-thick-hr {{if invoice.pricedPerProduct \\\"o__per-product\\\" \\\"\\\"}}\\\"\\n          />\\n          <Billing::InvoiceBillingPeriodTotal\\n            @invoice={{invoice}}\\n            @total={{invoice.billAheadTotal}}\\n          />\\n        </div>\\n      </div>\\n    {{/unless}}\\n    <Billing::InvoiceTotalComponent @invoice={{invoice}} />\\n  </div>\\n  <div class=\\\"invoice-intercom-info u__cf\\\">\\n    <div class=\\\"invoice-addresses\\\">\\n      <address class=\\\"invoice-address u__left\\\">\\n        <strong>\\n          Intercom, Inc.\\n        </strong>\\n        <br />\\n        55 2nd St., 4th Fl.<br />\\n        San Francisco, CA 94105, USA\\n      </address>\\n      <address class=\\\"invoice-address u__left\\\">\\n        <strong>\\n          Intercom R&amp;D\\n        </strong>\\n        <br />\\n        18-21 St. Stephen's Green<br />\\n        Dublin 2, Ireland\\n      </address>\\n    </div>\\n    <div class=\\\"invoice-intercom-info-vat u__right\\\">\\n      <div class=\\\"invoice-intercom-info-vat-wrapper\\\">\\n        <p>\\n          <strong>\\n            Intercom VAT:\\n          </strong>\\n        </p>\\n        <p>\\n          IE3273393EH\\n        </p>\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"invoice-fine-print\\\">\\n    <p class=\\\"invoice-fine-print-item\\\">\\n      ** Billing details added by invoice\\n    </p>\\n    <p class=\\\"invoice-fine-print-item\\\">\\n      {{#if invoice.nonIrishVatNumber}}\\n        *** This invoice relates to services which are deemed to be supplied where received and under Article 196 Council Directive 2006/112/EC the customer must self-account for VAT on the reverse charge basis in their own jurisdiction\\n      {{/if}}\\n    </p>\\n    <p class=\\\"invoice-fine-print-item\\\">\\n      This is only for your records, no payment is due.\\n      If you have any questions, please contact us at team@intercom.io.\\n      Thank you for your business!\\n    </p>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/billing/invoice-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/invoice-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly, union } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nexport default Component.extend({\n  classNames: ['invoice-container'],\n  invoice: null,\n  appService: service(),\n  app: readOnly('appService.app'),\n  retrospectivePostSubtotalLineItems: union(\n    'invoice.retrospectiveMultiProductDiscountLineItems',\n    'invoice.retrospectivePermanentDiscountLineItems',\n    'invoice.retrospectiveFixedPriceDiscountLineItems',\n    'invoice.retrospectiveCouponLineItems',\n    'invoice.retrospectiveVatLineItems',\n    'invoice.billAheadPrepaidCreditLineItems',\n  ),\n  billAheadPostSubtotalLineItems: union(\n    'invoice.billAheadMultiProductDiscountLineItems',\n    'invoice.billAheadPermanentDiscountLineItems',\n    'invoice.billAheadFixedPriceDiscountLineItems',\n    'invoice.billAheadCouponLineItems',\n    'invoice.billAheadVatLineItems',\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{#if @customer.hasActiveSubscription}}\\n  <div class=\\\"f__group\\\">\\n    <h3 class=\\\"t__label f__group-label\\\">\\n      Company name\\n    </h3>\\n    {{#if @customer.entityName}}\\n      <p>\\n        {{@customer.entityName}}\\n      </p>\\n    {{/if}}\\n    <p class=\\\"t__light-text\\\">\\n      <a data-test-edit-company-name-link {{on \\\"click\\\" (fn this.showChangeCompanyDetailsModal false)}}>\\n        {{if @customer.entityName \\\"Edit\\\" \\\"Add\\\"}} company name\\n      </a>\\n    </p>\\n  </div>\\n  <div class=\\\"h-5\\\"></div>\\n  <div class=\\\"f__group\\\">\\n    <h3 class=\\\"t__label f__group-label\\\">\\n      Billing email\\n    </h3>\\n    <p>\\n      {{@customer.contactEmail}}\\n    </p>\\n    <p class=\\\"t__light-text\\\">\\n      <a data-test-edit-billing-email-link {{on \\\"click\\\" (fn this.showChangeCompanyDetailsModal false)}}>\\n        Edit billing email\\n      </a>\\n    </p>\\n  </div>\\n  {{#if @customer.contactEmail}}\\n    <div class=\\\"h-5\\\"></div>\\n    <div class=\\\"f__group\\\">\\n      <h3 class=\\\"t__label f__group-label\\\">\\n        Invoice notifications\\n      </h3>\\n      <div class=\\\"f__group o__checkbox-group\\\">\\n        <BillingSettingsInvoiceNotificationsToggleComponent\\n          @customer={{@customer}}\\n          @app={{this.app}}\\n        />\\n      </div>\\n    </div>\\n  {{/if}}\\n  {{#if this.collectVatNumber}}\\n    <div class=\\\"h-5\\\"></div>\\n    <div class=\\\"f__group\\\">\\n      <h3 class=\\\"t__label f__group-label\\\">\\n        VAT Number\\n      </h3>\\n      {{#if @customer.vatNumber}}\\n        <p>\\n          {{@customer.vatNumber}}\\n        </p>\\n      {{/if}}\\n      <p class=\\\"t__light-text\\\">\\n        <a data-test-edit-vat-number-link {{on \\\"click\\\" (set this.companyAddressIsOpen true)}}>\\n          {{if @customer.vatNumber \\\"Edit\\\" \\\"Add\\\"}} VAT Number\\n        </a>\\n      </p>\\n    </div>\\n    {{#if this.companyAddressIsOpen}}\\n      <Billing::CompanyAddressModal @closeModal={{set this.companyAddressIsOpen false}}/>\\n    {{/if}}\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{#if @customer.hasActiveSubscription}}\\n  <div class=\\\"f__group\\\">\\n    <h3 class=\\\"t__label f__group-label\\\">\\n      Company name\\n    </h3>\\n    {{#if @customer.entityName}}\\n      <p>\\n        {{@customer.entityName}}\\n      </p>\\n    {{/if}}\\n    <p class=\\\"t__light-text\\\">\\n      <a data-test-edit-company-name-link {{on \\\"click\\\" (fn this.showChangeCompanyDetailsModal false)}}>\\n        {{if @customer.entityName \\\"Edit\\\" \\\"Add\\\"}} company name\\n      </a>\\n    </p>\\n  </div>\\n  <div class=\\\"h-5\\\"></div>\\n  <div class=\\\"f__group\\\">\\n    <h3 class=\\\"t__label f__group-label\\\">\\n      Billing email\\n    </h3>\\n    <p>\\n      {{@customer.contactEmail}}\\n    </p>\\n    <p class=\\\"t__light-text\\\">\\n      <a data-test-edit-billing-email-link {{on \\\"click\\\" (fn this.showChangeCompanyDetailsModal false)}}>\\n        Edit billing email\\n      </a>\\n    </p>\\n  </div>\\n  {{#if @customer.contactEmail}}\\n    <div class=\\\"h-5\\\"></div>\\n    <div class=\\\"f__group\\\">\\n      <h3 class=\\\"t__label f__group-label\\\">\\n        Invoice notifications\\n      </h3>\\n      <div class=\\\"f__group o__checkbox-group\\\">\\n        <BillingSettingsInvoiceNotificationsToggleComponent\\n          @customer={{@customer}}\\n          @app={{this.app}}\\n        />\\n      </div>\\n    </div>\\n  {{/if}}\\n  {{#if this.collectVatNumber}}\\n    <div class=\\\"h-5\\\"></div>\\n    <div class=\\\"f__group\\\">\\n      <h3 class=\\\"t__label f__group-label\\\">\\n        VAT Number\\n      </h3>\\n      {{#if @customer.vatNumber}}\\n        <p>\\n          {{@customer.vatNumber}}\\n        </p>\\n      {{/if}}\\n      <p class=\\\"t__light-text\\\">\\n        <a data-test-edit-vat-number-link {{on \\\"click\\\" (set this.companyAddressIsOpen true)}}>\\n          {{if @customer.vatNumber \\\"Edit\\\" \\\"Add\\\"}} VAT Number\\n        </a>\\n      </p>\\n    </div>\\n    {{#if this.companyAddressIsOpen}}\\n      <Billing::CompanyAddressModal @closeModal={{set this.companyAddressIsOpen false}}/>\\n    {{/if}}\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/billing/invoice-details-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/invoice-details-component.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class InvoiceDetailsComponent extends Component {\n  @service appService;\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  @service modalService;\n  @tracked companyAddressIsOpen = false;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get collectVatNumber() {\n    if (this.args.customer.shippingAddress) {\n      return this.args.customer.shippingAddress.inEu;\n    } else if (this.args.customer.billingAddress) {\n      return this.args.customer.billingAddress.inEu;\n    }\n    return false;\n  }\n\n  @action showChangeCompanyDetailsModal() {\n    this.modalService.openModal(\n      'apps/app/billing/modals/change-company-details-modal',\n      this.args.customer,\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"invoice-totals\\\">\\n  {{#if invoice.pricedPerProduct}}\\n    <div class=\\\"invoice-billing-period-total o__per-product\\\">\\n      <div class=\\\"invoice-billing-period-post-subtotal-space\\\"></div>\\n      <div class=\\\"invoice-billing-period-subtotal-container\\\">\\n        <span class=\\\"invoice-total-item-label u__left\\\">\\n          Total Due\\n        </span>\\n        <span class=\\\"invoice-total-item--per-product invoice-total-item--bold\\\">\\n          {{#if invoice.paid}}\\n            <span class=\\\"invoice-total-paid-label\\\">\\n              PAID\\n            </span>\\n          {{/if}}\\n          <span class=\\\"invoice-total-item-amount\\\" data-test-total>\\n            {{currency-formatter-helper invoice.total 2}}\\n          </span>\\n        </span>\\n      </div>\\n    </div>\\n  {{else}}\\n    <div class=\\\"invoice-total-item\\\">\\n      <span class=\\\"invoice-total-item-label\\\">\\n        Subtotal\\n      </span>\\n      <span class=\\\"invoice-total-item-amount\\\" data-test-subtotal>\\n        {{currency-formatter-helper invoice.subtotal 2}}\\n      </span>\\n    </div>\\n    {{#each invoice.outOfPeriodPostSubtotalPermanentDiscountItems as |item|}}\\n      <div class=\\\"invoice-total-item\\\">\\n        <span class=\\\"invoice-total-item-label\\\">\\n          {{item.description}}\\n        </span>\\n        <span class=\\\"invoice-total-item-amount\\\">\\n          {{currency-formatter-helper item.priceInCents 2}}\\n        </span>\\n      </div>\\n    {{/each}}\\n    {{#each invoice.outOfPeriodPostSubtotalCouponItems as |item|}}\\n      <div class=\\\"invoice-total-item\\\">\\n        <span class=\\\"invoice-total-item-label\\\">\\n          {{item.description}}\\n        </span>\\n        <span class=\\\"invoice-total-item-amount\\\">\\n          {{currency-formatter-helper item.priceInCents 2}}\\n        </span>\\n      </div>\\n    {{/each}}\\n    {{#each invoice.outOfPeriodPostSubtotalVatItems as |item|}}\\n      <div class=\\\"invoice-total-item\\\">\\n        <span class=\\\"invoice-total-item-label\\\">\\n          {{item.description}}\\n        </span>\\n        <span class=\\\"invoice-total-item-amount\\\">\\n          {{currency-formatter-helper item.priceInCents 2}}\\n        </span>\\n      </div>\\n    {{/each}}\\n    {{#each invoice.outOfPeriodCreditLineItems as |item|}}\\n      <div class=\\\"invoice-total-item\\\">\\n        <span class=\\\"invoice-total-item-label\\\">\\n          {{item.description}}\\n        </span>\\n        <span class=\\\"invoice-total-item-amount\\\">\\n          {{currency-formatter-helper item.priceInCents 2}}\\n        </span>\\n      </div>\\n    {{/each}}\\n    <div\\n      class=\\\"invoice-total-item invoice-total-item--bold {{if invoice.paid \\\"invoice-total-item--paid\\\"}}\\\"\\n    >\\n      <span class=\\\"invoice-total-item-label\\\">\\n        Total\\n      </span>\\n      <span class=\\\"invoice-total-item-amount\\\" data-test-total>\\n        {{currency-formatter-helper invoice.total 2}}\\n      </span>\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"invoice-totals\\\">\\n  {{#if invoice.pricedPerProduct}}\\n    <div class=\\\"invoice-billing-period-total o__per-product\\\">\\n      <div class=\\\"invoice-billing-period-post-subtotal-space\\\"></div>\\n      <div class=\\\"invoice-billing-period-subtotal-container\\\">\\n        <span class=\\\"invoice-total-item-label u__left\\\">\\n          Total Due\\n        </span>\\n        <span class=\\\"invoice-total-item--per-product invoice-total-item--bold\\\">\\n          {{#if invoice.paid}}\\n            <span class=\\\"invoice-total-paid-label\\\">\\n              PAID\\n            </span>\\n          {{/if}}\\n          <span class=\\\"invoice-total-item-amount\\\" data-test-total>\\n            {{currency-formatter-helper invoice.total 2}}\\n          </span>\\n        </span>\\n      </div>\\n    </div>\\n  {{else}}\\n    <div class=\\\"invoice-total-item\\\">\\n      <span class=\\\"invoice-total-item-label\\\">\\n        Subtotal\\n      </span>\\n      <span class=\\\"invoice-total-item-amount\\\" data-test-subtotal>\\n        {{currency-formatter-helper invoice.subtotal 2}}\\n      </span>\\n    </div>\\n    {{#each invoice.outOfPeriodPostSubtotalPermanentDiscountItems as |item|}}\\n      <div class=\\\"invoice-total-item\\\">\\n        <span class=\\\"invoice-total-item-label\\\">\\n          {{item.description}}\\n        </span>\\n        <span class=\\\"invoice-total-item-amount\\\">\\n          {{currency-formatter-helper item.priceInCents 2}}\\n        </span>\\n      </div>\\n    {{/each}}\\n    {{#each invoice.outOfPeriodPostSubtotalCouponItems as |item|}}\\n      <div class=\\\"invoice-total-item\\\">\\n        <span class=\\\"invoice-total-item-label\\\">\\n          {{item.description}}\\n        </span>\\n        <span class=\\\"invoice-total-item-amount\\\">\\n          {{currency-formatter-helper item.priceInCents 2}}\\n        </span>\\n      </div>\\n    {{/each}}\\n    {{#each invoice.outOfPeriodPostSubtotalVatItems as |item|}}\\n      <div class=\\\"invoice-total-item\\\">\\n        <span class=\\\"invoice-total-item-label\\\">\\n          {{item.description}}\\n        </span>\\n        <span class=\\\"invoice-total-item-amount\\\">\\n          {{currency-formatter-helper item.priceInCents 2}}\\n        </span>\\n      </div>\\n    {{/each}}\\n    {{#each invoice.outOfPeriodCreditLineItems as |item|}}\\n      <div class=\\\"invoice-total-item\\\">\\n        <span class=\\\"invoice-total-item-label\\\">\\n          {{item.description}}\\n        </span>\\n        <span class=\\\"invoice-total-item-amount\\\">\\n          {{currency-formatter-helper item.priceInCents 2}}\\n        </span>\\n      </div>\\n    {{/each}}\\n    <div\\n      class=\\\"invoice-total-item invoice-total-item--bold {{if invoice.paid \\\"invoice-total-item--paid\\\"}}\\\"\\n    >\\n      <span class=\\\"invoice-total-item-label\\\">\\n        Total\\n      </span>\\n      <span class=\\\"invoice-total-item-amount\\\" data-test-total>\\n        {{currency-formatter-helper invoice.total 2}}\\n      </span>\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/billing/invoice-total-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/invoice-total-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span data-test-per-product-line-item>\\n  {{#if pricedOnMaps}}\\n    Up to\\n    {{number-formatter-helper lineItem.peopleCount}}\\n    <span data-test-map-count>\\n      Active People\\n    </span>\\n  {{/if}}\\n  {{#if pricedOnAgents}}\\n    {{number-formatter-helper lineItem.agentCount}}\\n    <span data-test-teammate-count>\\n      {{if app.canUsePerProductPricingFlow \\\"Inbox seats\\\" \\\"Teammates\\\"}}\\n    </span>\\n  {{/if}}\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span data-test-per-product-line-item>\\n  {{#if pricedOnMaps}}\\n    Up to\\n    {{number-formatter-helper lineItem.peopleCount}}\\n    <span data-test-map-count>\\n      Active People\\n    </span>\\n  {{/if}}\\n  {{#if pricedOnAgents}}\\n    {{number-formatter-helper lineItem.agentCount}}\\n    <span data-test-teammate-count>\\n      {{if app.canUsePerProductPricingFlow \\\"Inbox seats\\\" \\\"Teammates\\\"}}\\n    </span>\\n  {{/if}}\\n</span>\\n\",\"moduleName\":\"embercom/components/billing/line-item-row-description.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/line-item-row-description.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nexport default Component.extend({\n  classNames: ['invoice__line-item-row__description'],\n  tagName: 'td',\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  pricedOnAgents: computed('lineItem', function() {\n    return (\n      this.get('lineItem.productAndPlanNames').match('Respond') ||\n      this.get('lineItem.productAndPlanNames').match('Inbox')\n    );\n  }),\n  pricedOnMaps: computed('lineItem', function() {\n    return (\n      this.get('lineItem.productAndPlanNames').match('Engage') ||\n      this.get('lineItem.productAndPlanNames').match('Messages')\n    );\n  }),\n  educate: computed('lineItem', function() {\n    return (\n      this.get('lineItem.productAndPlanNames').match('Educate') ||\n      this.get('lineItem.productAndPlanNames').match('Articles')\n    );\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<td class=\\\"package-names\\\">\\n  <span class=\\\"package-names-text\\\">\\n    {{#if invoice.trueUp}}\\n      {{lineItem.description}}\\n    {{else if lineItem.hasNoMetadata}}\\n      {{lineItem.description}}\\n    {{else if subsequentLineItemForProduct}}\\n\\n    {{else}}\\n      {{lineItem.productAndPlanNames}}\\n    {{/if}}\\n  </span>\\n</td>\\n{{#if lineItem.perProductLineItem}}\\n  <Billing::LineItemRowDescription @lineItem={{lineItem}} />\\n{{else}}\\n  <td class=\\\"user-count\\\">\\n    {{#if invoice.trueUp}}\\n      {{currency-formatter-helper lineItem.trueUpOveragePrice 2}}\\n    {{else if lineItem.hasUserOrPeopleCount}}\\n      {{#if lineItem.canDisplayMrrAmount}}\\n        <span>\\n          {{currency-formatter-helper lineItem.mrrAmount 2}} @{{#if\\n            lineItem.hasUserCount\\n          }}\\n            {{number-formatter-helper lineItem.userCount}}users\\n          {{else}}\\n            {{number-formatter-helper lineItem.peopleCount}}people\\n          {{/if}}\\n        </span>\\n      {{else}}\\n        {{#if lineItem.hasUserCount}}\\n          <span>\\n            {{number-formatter-helper lineItem.userCount}} users\\n          </span>\\n        {{else}}\\n          <span>\\n            {{number-formatter-helper lineItem.peopleCount}} people\\n          </span>\\n        {{/if}}\\n      {{/if}}\\n    {{/if}}\\n  </td>\\n{{/if}}\\n<td class=\\\"time-period\\\">\\n  {{lineItem.periodStart}}&ndash;{{lineItem.periodEnd}}\\n</td>\\n<td class=\\\"amount\\\">\\n  {{#if lineItem.hasPreDiscountCost}}\\n    <span>\\n      <del>\\n        {{currency-formatter-helper lineItem.preDiscountCost 2}}\\n      </del>\\n    </span>\\n  {{/if}}\\n  <span>\\n    {{currency-formatter-helper lineItem.priceInCents 2}}\\n  </span>\\n</td>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<td class=\\\"package-names\\\">\\n  <span class=\\\"package-names-text\\\">\\n    {{#if invoice.trueUp}}\\n      {{lineItem.description}}\\n    {{else if lineItem.hasNoMetadata}}\\n      {{lineItem.description}}\\n    {{else if subsequentLineItemForProduct}}\\n\\n    {{else}}\\n      {{lineItem.productAndPlanNames}}\\n    {{/if}}\\n  </span>\\n</td>\\n{{#if lineItem.perProductLineItem}}\\n  <Billing::LineItemRowDescription @lineItem={{lineItem}} />\\n{{else}}\\n  <td class=\\\"user-count\\\">\\n    {{#if invoice.trueUp}}\\n      {{currency-formatter-helper lineItem.trueUpOveragePrice 2}}\\n    {{else if lineItem.hasUserOrPeopleCount}}\\n      {{#if lineItem.canDisplayMrrAmount}}\\n        <span>\\n          {{currency-formatter-helper lineItem.mrrAmount 2}} @{{#if\\n            lineItem.hasUserCount\\n          }}\\n            {{number-formatter-helper lineItem.userCount}}users\\n          {{else}}\\n            {{number-formatter-helper lineItem.peopleCount}}people\\n          {{/if}}\\n        </span>\\n      {{else}}\\n        {{#if lineItem.hasUserCount}}\\n          <span>\\n            {{number-formatter-helper lineItem.userCount}} users\\n          </span>\\n        {{else}}\\n          <span>\\n            {{number-formatter-helper lineItem.peopleCount}} people\\n          </span>\\n        {{/if}}\\n      {{/if}}\\n    {{/if}}\\n  </td>\\n{{/if}}\\n<td class=\\\"time-period\\\">\\n  {{lineItem.periodStart}}&ndash;{{lineItem.periodEnd}}\\n</td>\\n<td class=\\\"amount\\\">\\n  {{#if lineItem.hasPreDiscountCost}}\\n    <span>\\n      <del>\\n        {{currency-formatter-helper lineItem.preDiscountCost 2}}\\n      </del>\\n    </span>\\n  {{/if}}\\n  <span>\\n    {{currency-formatter-helper lineItem.priceInCents 2}}\\n  </span>\\n</td>\\n\",\"moduleName\":\"embercom/components/billing/line-item-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/line-item-row.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  subsequentLineItemForProduct: false,\n  classNames: ['line-item-row'],\n  tagName: 'tr',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"invoice-billing-period-figure {{if pricedPerProduct \\\"o__per-product\\\" \\\"\\\"}} {{if isSubtotal \\\"invoice-billing-period-figure-subtotal\\\" \\\"\\\"}} u__cf\\\"\\n>\\n  <span class=\\\"invoice-billing-period-figure-key u__left\\\">\\n    {{formattedLabel}}\\n  </span>\\n  <span class=\\\"invoice-billing-period-figure-value u__right\\\">\\n    {{currency-formatter-helper priceUsd 2}}\\n  </span>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"invoice-billing-period-figure {{if pricedPerProduct \\\"o__per-product\\\" \\\"\\\"}} {{if isSubtotal \\\"invoice-billing-period-figure-subtotal\\\" \\\"\\\"}} u__cf\\\"\\n>\\n  <span class=\\\"invoice-billing-period-figure-key u__left\\\">\\n    {{formattedLabel}}\\n  </span>\\n  <span class=\\\"invoice-billing-period-figure-value u__right\\\">\\n    {{currency-formatter-helper priceUsd 2}}\\n  </span>\\n</div>\\n\",\"moduleName\":\"embercom/components/billing/post-subtotal-line-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/post-subtotal-line-item.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nexport default Component.extend({\n  pricedPerProduct: false,\n  isSubtotal: false,\n  label: undefined,\n  priceUsd: undefined,\n  formattedLabel: computed('label', function() {\n    if (this.isSubtotal && this.pricedPerProduct) {\n      return '';\n    }\n    return this.label;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if product.active}}\\n  <td\\n    data-test-edit-active\\n    class=\\\"tbl__cell settings__billing__add__product__name\\\"\\n  >\\n    <span\\n      class=\\\"signup__new__card-product-image-black o__icon u__display-inline-block\\\"\\n    >\\n      {{inline-svg productImage}}\\n    </span>\\n    <span class=\\\"t__h4\\\">\\n      {{product.name}}\\n    </span>\\n    {{#unless product.hasOnePlan}}\\n      <IcSelect\\n        @items={{plans}}\\n        @selectedValue={{selectedPlan}}\\n        @onSelectItem={{action \\\"selectPlan\\\"}}\\n        class=\\\"u__padl__20 u__display-inline-block settings__billing__details-dropdown\\\"\\n      />\\n    {{/unless}}\\n    <div class=\\\"h-5\\\"></div>\\n  </td>\\n  <td class=\\\"tbl__cell\\\">\\n    <span class=\\\"t__h4\\\">\\n      {{usageNumber}}\\n    </span>\\n    <br />\\n    <div class=\\\"h-2\\\"></div>\\n    <span class=\\\"t__light-text\\\">\\n      {{currentUsageMetric}}\\n    </span>\\n    {{#if tooltip}}\\n      <IcTooltip as |context|>\\n        <context.opener>\\n          {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\"}}\\n        </context.opener>\\n        <context.content>\\n          {{tooltip}}\\n        </context.content>\\n      </IcTooltip>\\n    {{/if}}\\n  </td>\\n  <td class=\\\"tbl__cell settings__billing__add__product__pricing\\\">\\n    {{if\\n      app.canUsePerProductPricingFlow\\n      requiredPrice.formattedPreDiscountAmount\\n      requiredPrice.preDiscountAmountToTwoDecimals\\n    }} <div class=\\\"h-8\\\"></div>\\n  </td>\\n  {{#if @productRecommendation}}\\n    <td class=\\\"tbl__cell t__left\\\" data-recommendation-column>\\n      <Paragraph @styling='label'>{{@productRecommendation}}</Paragraph>\\n    </td>\\n  {{/if}}\\n  <td class=\\\"tbl__cell o__contains-button t__centered\\\">\\n    <IcButton\\n      @type=\\\"secondary-destructive\\\"\\n      @inCell={{true}}\\n      @iconOnly={{true}}\\n      @onClick={{action \\\"removeProduct\\\"}}\\n    >\\n      {{ic-interface-icon \\\"trash\\\" solo=true}}\\n    </IcButton>\\n  </td>\\n{{else}}\\n  <td\\n    data-test-edit-inactive\\n    class=\\\"tbl__cell settings__billing__details-inactive-product\\\"\\n    colspan={{if @productRecommendation \\\"3\\\" \\\"2\\\"}}\\n  >\\n    <span\\n      class=\\\"o__icon u__display-inline-block signup__new__card-product-image-gray\\\"\\n    >\\n      {{inline-svg productImage}}\\n    </span>\\n    <span class=\\\"t__h4 u__padl__5 text-gray\\\">\\n      {{product.name}}\\n    </span>\\n    <br />\\n    <span class=\\\"u__padl__40 t__light-text\\\">\\n      {{productDescription}}\\n    </span>\\n  </td>\\n  {{#if @productRecommendation}}\\n    <td class=\\\"tbl__cell t__left settings__billing__details-inactive-product\\\" data-recommendation-column>\\n      <Paragraph @styling='label'>{{@productRecommendation}}</Paragraph>\\n    </td>\\n  {{/if}}\\n  <td\\n    class=\\\"tbl__cell settings__billing__details-inactive-product\\\"\\n    colspan=\\\"2\\\"\\n  >\\n    <IcButton @label={{buttonLabel}} @onClick={{action \\\"addProductOrOpenMessenger\\\"}} />\\n  </td>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if product.active}}\\n  <td\\n    data-test-edit-active\\n    class=\\\"tbl__cell settings__billing__add__product__name\\\"\\n  >\\n    <span\\n      class=\\\"signup__new__card-product-image-black o__icon u__display-inline-block\\\"\\n    >\\n      {{inline-svg productImage}}\\n    </span>\\n    <span class=\\\"t__h4\\\">\\n      {{product.name}}\\n    </span>\\n    {{#unless product.hasOnePlan}}\\n      <IcSelect\\n        @items={{plans}}\\n        @selectedValue={{selectedPlan}}\\n        @onSelectItem={{action \\\"selectPlan\\\"}}\\n        class=\\\"u__padl__20 u__display-inline-block settings__billing__details-dropdown\\\"\\n      />\\n    {{/unless}}\\n    <div class=\\\"h-5\\\"></div>\\n  </td>\\n  <td class=\\\"tbl__cell\\\">\\n    <span class=\\\"t__h4\\\">\\n      {{usageNumber}}\\n    </span>\\n    <br />\\n    <div class=\\\"h-2\\\"></div>\\n    <span class=\\\"t__light-text\\\">\\n      {{currentUsageMetric}}\\n    </span>\\n    {{#if tooltip}}\\n      <IcTooltip as |context|>\\n        <context.opener>\\n          {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\"}}\\n        </context.opener>\\n        <context.content>\\n          {{tooltip}}\\n        </context.content>\\n      </IcTooltip>\\n    {{/if}}\\n  </td>\\n  <td class=\\\"tbl__cell settings__billing__add__product__pricing\\\">\\n    {{if\\n      app.canUsePerProductPricingFlow\\n      requiredPrice.formattedPreDiscountAmount\\n      requiredPrice.preDiscountAmountToTwoDecimals\\n    }} <div class=\\\"h-8\\\"></div>\\n  </td>\\n  {{#if @productRecommendation}}\\n    <td class=\\\"tbl__cell t__left\\\" data-recommendation-column>\\n      <Paragraph @styling='label'>{{@productRecommendation}}</Paragraph>\\n    </td>\\n  {{/if}}\\n  <td class=\\\"tbl__cell o__contains-button t__centered\\\">\\n    <IcButton\\n      @type=\\\"secondary-destructive\\\"\\n      @inCell={{true}}\\n      @iconOnly={{true}}\\n      @onClick={{action \\\"removeProduct\\\"}}\\n    >\\n      {{ic-interface-icon \\\"trash\\\" solo=true}}\\n    </IcButton>\\n  </td>\\n{{else}}\\n  <td\\n    data-test-edit-inactive\\n    class=\\\"tbl__cell settings__billing__details-inactive-product\\\"\\n    colspan={{if @productRecommendation \\\"3\\\" \\\"2\\\"}}\\n  >\\n    <span\\n      class=\\\"o__icon u__display-inline-block signup__new__card-product-image-gray\\\"\\n    >\\n      {{inline-svg productImage}}\\n    </span>\\n    <span class=\\\"t__h4 u__padl__5 text-gray\\\">\\n      {{product.name}}\\n    </span>\\n    <br />\\n    <span class=\\\"u__padl__40 t__light-text\\\">\\n      {{productDescription}}\\n    </span>\\n  </td>\\n  {{#if @productRecommendation}}\\n    <td class=\\\"tbl__cell t__left settings__billing__details-inactive-product\\\" data-recommendation-column>\\n      <Paragraph @styling='label'>{{@productRecommendation}}</Paragraph>\\n    </td>\\n  {{/if}}\\n  <td\\n    class=\\\"tbl__cell settings__billing__details-inactive-product\\\"\\n    colspan=\\\"2\\\"\\n  >\\n    <IcButton @label={{buttonLabel}} @onClick={{action \\\"addProductOrOpenMessenger\\\"}} />\\n  </td>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/billing/product-edit-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/product-edit-row.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { map, filter, readOnly, not } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport ProductSummaryRow from 'embercom/components/billing/product-summary-row';\nimport { inject as service } from '@ember/service';\nimport { PRODUCTS } from 'embercom/lib/billing';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport { showNewMessageInIntercomWidget } from 'embercom/lib/intercom-widget-helper';\n\nexport default ProductSummaryRow.extend({\n  purchaseAnalyticsService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  requiredPrice: ternaryToProperty('migrationTabSelected', 'migrationPrice', 'price'),\n  displayPlans: filter('product.plans', plan => plan.get('selfServe') || plan.get('active')),\n  plans: map('displayPlans', plan => ({\n    value: plan.get('idAsNumber'),\n    text: plan.get('name'),\n  })),\n\n  productDescription: computed('product.id', function() {\n    return PRODUCTS[this.get('product.id')].toggledPerProductDescription;\n  }),\n\n  selectedPlan: computed('product', function() {\n    let plan =\n      this.displayPlans.find(plan => plan.get('active')) || this.get('displayPlans.firstObject');\n\n    return plan && plan.get('idAsNumber');\n  }),\n\n  // Products that are not self serve and require sales to buy\n  salesEnabledProduct: not('product.selfServe'),\n\n  buttonLabel: computed('salesEnabledProduct', 'productRecommendation', function() {\n    if (this.salesEnabledProduct) {\n      return 'Chat with us';\n    } else if (this.productRecommendation) {\n      return 'Add';\n    } else {\n      return 'Add to subscription';\n    }\n  }),\n\n  actions: {\n    selectPlan(planId) {\n      this.displayPlans.forEach(plan => plan.set('active', plan.get('idAsNumber') === planId));\n    },\n\n    addProductOrOpenMessenger() {\n      let object = this.salesEnabledProduct ? 'chat_with_us' : 'add_product';\n\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'clicked',\n        object,\n        context: 'current_subscription',\n        productId: this.get('product.id'),\n        productName: this.get('product.key'),\n      });\n\n      if (this.salesEnabledProduct) {\n        let message = `Hi, I'd like to know more about ${this.product.name}.`;\n        showNewMessageInIntercomWidget(message);\n      } else {\n        this.set('displayPlans.firstObject.active', true);\n      }\n    },\n\n    removeProduct() {\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'clicked',\n        object: 'remove_product',\n        context: 'current_subscription',\n        productId: this.get('product.id'),\n        productName: this.get('product.key'),\n      });\n\n      this.get('product.plans').forEach(plan => plan.set('active', false));\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Paywall @featureKey={{this.featureKey}} as |paywall|>\\n  <td class=\\\"tbl__cell\\\" data-product-summary-row>\\n    <span\\n      class=\\\"signup__new__card-product-image-black o__icon u__display-inline-block\\\"\\n    >\\n      {{inline-svg this.productImage}}\\n    </span>\\n    <span class=\\\"t__h4\\\">\\n      {{this.productName}}\\n    </span>\\n    <br />\\n    {{#if this.showUpgradeLink}}\\n      <a\\n        {{on \\\"click\\\" (queue\\n          (track-analytics-event\\n            action='clicked'\\n            object='upgrade'\\n            productId=@product.id\\n            productName=@product.key\\n          )\\n          paywall.openUpgradeModal\\n        )}}\\n        class=\\\"t__light-text u__padl__25\\\">\\n        <FeatureUpgradeArrowComponent />\\n        Upgrade to {{this.higherPlan.name}}\\n      </a>\\n    {{else}}\\n      <div class=\\\"h-5\\\"></div>\\n    {{/if}}\\n  </td>\\n  <td class=\\\"tbl__cell\\\">\\n    {{#if this.displayUsage}}\\n      <div\\n        data-test-early-stage-graduation\\n        class=\\\"settings__billing__details-price-comparison\\\"\\n      >\\n        <div class=\\\"layout__box o__has-columns\\\">\\n          <span\\n            class=\\\"layout__box settings__billing__details-price-comparison-column\\\"\\n          >\\n            <span class=\\\"t__h4 u__padr__5 {{this.comparisonTextClass}}\\\">\\n              {{this.usageNumber}}\\n            </span>\\n            <br />\\n            <div class=\\\"h-2\\\"></div>\\n            <span class=\\\"t__light-text {{this.comparisonTextClass}}\\\">\\n              {{this.usageMetric}} {{#if this.tooltip}}\\n                <IcTooltip as |context|>\\n                  <context.opener>\\n                    {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\"}}\\n                  </context.opener>\\n                  <context.content>\\n                    {{this.tooltip}}\\n                  </context.content>\\n                </IcTooltip>\\n              {{/if}}\\n            </span>\\n          </span>\\n          {{#if this.showUsageComparison}}\\n            <div data-test-migration class=\\\"layout__box\\\">\\n              <span class=\\\"t__h4\\\">\\n                {{this.migrationPrice.formattedUsageDisplay}}\\n              </span>\\n              <br />\\n              <div class=\\\"h-2\\\"></div>\\n              <span class=\\\"t__light-text\\\">\\n                {{this.migrationUsageMetric}} {{#if this.tooltip}}\\n                  <IcTooltip as |context|>\\n                    <context.opener>\\n                      {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\"}}\\n                    </context.opener>\\n                    <context.content>\\n                      {{this.migrationTooltip}}\\n                    </context.content>\\n                  </IcTooltip>\\n                {{/if}}\\n              </span>\\n              {{#if this.isInbox}}\\n                <span class=\\\"t__light-text\\\">\\n                  <LinkTo @route=\\\"apps.app.settings.teammates\\\">\\n                    Change\\n                  </LinkTo>\\n                </span>\\n              {{/if}}\\n            </div>\\n          {{/if}}\\n        </div>\\n      </div>\\n    {{/if}}\\n  </td>\\n  <Billing::Details::PriceCell\\n    @amount={{this.amount}}\\n    @comparisonAmount={{this.comparisonAmount}}\\n    @showPriceComparison={{@summaryView.showPriceComparison}}\\n    @price={{this.priceToUse}}\\n  />\\n  {{#if @productRecommendation}}\\n  <td class=\\\"tbl__cell t__left\\\" data-recommendation-column>\\n    <Paragraph @styling='label'>{{@productRecommendation}}</Paragraph>\\n  </td>\\n  {{/if}}\\n</Paywall>\\n\", {\"contents\":\"<Paywall @featureKey={{this.featureKey}} as |paywall|>\\n  <td class=\\\"tbl__cell\\\" data-product-summary-row>\\n    <span\\n      class=\\\"signup__new__card-product-image-black o__icon u__display-inline-block\\\"\\n    >\\n      {{inline-svg this.productImage}}\\n    </span>\\n    <span class=\\\"t__h4\\\">\\n      {{this.productName}}\\n    </span>\\n    <br />\\n    {{#if this.showUpgradeLink}}\\n      <a\\n        {{on \\\"click\\\" (queue\\n          (track-analytics-event\\n            action='clicked'\\n            object='upgrade'\\n            productId=@product.id\\n            productName=@product.key\\n          )\\n          paywall.openUpgradeModal\\n        )}}\\n        class=\\\"t__light-text u__padl__25\\\">\\n        <FeatureUpgradeArrowComponent />\\n        Upgrade to {{this.higherPlan.name}}\\n      </a>\\n    {{else}}\\n      <div class=\\\"h-5\\\"></div>\\n    {{/if}}\\n  </td>\\n  <td class=\\\"tbl__cell\\\">\\n    {{#if this.displayUsage}}\\n      <div\\n        data-test-early-stage-graduation\\n        class=\\\"settings__billing__details-price-comparison\\\"\\n      >\\n        <div class=\\\"layout__box o__has-columns\\\">\\n          <span\\n            class=\\\"layout__box settings__billing__details-price-comparison-column\\\"\\n          >\\n            <span class=\\\"t__h4 u__padr__5 {{this.comparisonTextClass}}\\\">\\n              {{this.usageNumber}}\\n            </span>\\n            <br />\\n            <div class=\\\"h-2\\\"></div>\\n            <span class=\\\"t__light-text {{this.comparisonTextClass}}\\\">\\n              {{this.usageMetric}} {{#if this.tooltip}}\\n                <IcTooltip as |context|>\\n                  <context.opener>\\n                    {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\"}}\\n                  </context.opener>\\n                  <context.content>\\n                    {{this.tooltip}}\\n                  </context.content>\\n                </IcTooltip>\\n              {{/if}}\\n            </span>\\n          </span>\\n          {{#if this.showUsageComparison}}\\n            <div data-test-migration class=\\\"layout__box\\\">\\n              <span class=\\\"t__h4\\\">\\n                {{this.migrationPrice.formattedUsageDisplay}}\\n              </span>\\n              <br />\\n              <div class=\\\"h-2\\\"></div>\\n              <span class=\\\"t__light-text\\\">\\n                {{this.migrationUsageMetric}} {{#if this.tooltip}}\\n                  <IcTooltip as |context|>\\n                    <context.opener>\\n                      {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\"}}\\n                    </context.opener>\\n                    <context.content>\\n                      {{this.migrationTooltip}}\\n                    </context.content>\\n                  </IcTooltip>\\n                {{/if}}\\n              </span>\\n              {{#if this.isInbox}}\\n                <span class=\\\"t__light-text\\\">\\n                  <LinkTo @route=\\\"apps.app.settings.teammates\\\">\\n                    Change\\n                  </LinkTo>\\n                </span>\\n              {{/if}}\\n            </div>\\n          {{/if}}\\n        </div>\\n      </div>\\n    {{/if}}\\n  </td>\\n  <Billing::Details::PriceCell\\n    @amount={{this.amount}}\\n    @comparisonAmount={{this.comparisonAmount}}\\n    @showPriceComparison={{@summaryView.showPriceComparison}}\\n    @price={{this.priceToUse}}\\n  />\\n  {{#if @productRecommendation}}\\n  <td class=\\\"tbl__cell t__left\\\" data-recommendation-column>\\n    <Paragraph @styling='label'>{{@productRecommendation}}</Paragraph>\\n  </td>\\n  {{/if}}\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/billing/product-summary-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/product-summary-row.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport { readOnly, alias, or, equal } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport usageFormatter from 'embercom/lib/usage-formatter';\nimport numberFormatter from 'embercom/lib/number-formatter';\nimport Component from '@ember/component';\nimport { PRODUCT_KEYS, PRODUCTS } from 'embercom/lib/billing';\nimport { ternary, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  tagName: 'tr',\n  className: 'tbl__row',\n  customerService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  metric: readOnly('product.pricingMetric'),\n  metricDispalyName: readOnly('product.pricingMetricDisplayName'),\n  product: null,\n  prices: null,\n  migrationPrices: null,\n  showUsage: readOnly('summaryView.showUsage'),\n  showUsageComparison: readOnly('summaryView.showUsageComparison'),\n  earlyStageDisplayPrice: 'Included',\n  canUseEarlyStageGraduationView: alias('app.canUseEarlyStageGraduationView'),\n  articlesOrFixedPricingMetric: or('product.isArticles', 'metricIsFixed'),\n  metricIsFixed: equal('metric', 'fixed'),\n  pricingMetric: ternaryToProperty(\n    'summaryView.useMigrationPriceAsAmount',\n    'migrationPrice.pricingMetric',\n    'price.pricingMetric',\n  ),\n  actualUsage: readOnly('price.actualUsage'),\n  futureActualUsage: readOnly('migrationPrice.actualUsage'),\n  billedUsage: readOnly('price.billedUsage'),\n  futureBilledUsage: readOnly('migrationPrice.billedUsage'),\n  displayUsage: computed('showUsage', 'pricingMetric', function() {\n    if (this.pricingMetric === 'fixed') {\n      return false;\n    }\n    return this.showUsage;\n  }),\n  displayUsageComparison: computed(\n    'showUsageComparison',\n    'migrationPrice.pricingMetric',\n    function() {\n      if (this.migrationPrice && this.migrationPrice.pricingMetric === 'fixed') {\n        return false;\n      }\n      return this.showUsageComparison;\n    },\n  ),\n\n  displayProduct: computed('product', 'isEarlyStageGraduationMigrationType', function() {\n    if (this.isEarlyStageGraduationMigrationType) {\n      return this.product;\n    }\n    return this.get('product.content');\n  }),\n\n  higherPlan: computed('product.higherPlanId', function() {\n    let higherPlanId = this.product.get('higherPlanId');\n    return this.product.plans.find(plan => plan.id === higherPlanId);\n  }),\n\n  featureKey: readOnly('higherPlan.features.firstObject.key'),\n\n  showUpgradeLink: computed(\n    'product.hasHigherPlan',\n    'isEarlyStageGraduationMigrationType',\n    function() {\n      return this.get('product.hasHigherPlan') && !this.isEarlyStageGraduationMigrationType;\n    },\n  ),\n\n  productImage: computed('product.id', function() {\n    return PRODUCTS[this.get('product.id')].productImage;\n  }),\n\n  usageNumber: ternaryToProperty(\n    'canUseEarlyStageGraduationView',\n    'migrationPrice.formattedUsageDisplay',\n    'price.formattedUsageDisplay',\n  ),\n\n  usageMetric: ternaryToProperty(\n    'canUseEarlyStageGraduationView',\n    'futureUsageMetric',\n    'currentUsageMetric',\n  ),\n\n  getProductPrice(prices) {\n    if (!prices) {\n      return null;\n    }\n    let planId = this.get('product.activePlan.idAsNumber');\n    if (!planId) {\n      planId = this.get('product.plans.firstObject.idAsNumber');\n    }\n    return prices.find(price => price.hasSamePlans([planId]));\n  },\n\n  price: computed('prices', 'product.activePlan', function() {\n    return this.getProductPrice(this.prices);\n  }),\n\n  migrationPrice: computed('migrationPrices', 'product.activePlan', function() {\n    return this.getProductPrice(this.migrationPrices);\n  }),\n\n  priceToUse: computed('price', 'migrationPrice', 'summaryView', function() {\n    return this.get('summaryView.useMigrationPriceAsAmount') ? this.migrationPrice : this.price;\n  }),\n\n  amount: computed('customerService.customer.hasCustomPricing', 'priceToUse', function() {\n    return this.customerService.customer.hasCustomPricing\n      ? 'Custom'\n      : this.priceToUse?.preDiscountAmountToTwoDecimals;\n  }),\n\n  comparisonAmount: computed(\n    'summaryView.useEarlyStagePriceAsComparisonAmount',\n    'earlyStageDisplayPrice',\n    'migrationPrice',\n    function() {\n      if (this.get('summaryView.useEarlyStagePriceAsComparisonAmount')) {\n        return this.earlyStageDisplayPrice;\n      } else {\n        return this.get('migrationPrice.preDiscountAmountToTwoDecimals');\n      }\n    },\n  ),\n\n  currentUsage: computed('product.price', 'metric', 'articlesOrFixedPricingMetric', function() {\n    if (this.articlesOrFixedPricingMetric) {\n      return '';\n    } else if (this.metric) {\n      return `${numberFormatter(this.get(`price.${this.metric}`))} ${this.metricDispalyName}`;\n    } else {\n      return `${numberFormatter(this.get('appService.app.peopleCount'))} Total People`;\n    }\n  }),\n\n  currentUsageMetric: computed('product.isArticles', 'metric', function() {\n    if (this.get('product.isArticles')) {\n      return '';\n    } else if (this.metric) {\n      return this.metricDispalyName.toLowerCase();\n    } else {\n      return 'total people';\n    }\n  }),\n\n  futureUsageMetric: computed('product', function() {\n    if (this.get('product.isArticles')) {\n      return '';\n    } else if (this.get('product.isInbox')) {\n      return 'inbox seats';\n    } else {\n      return 'active people';\n    }\n  }),\n\n  productName: computed('product', 'displayProduct', function() {\n    let planName = this.product.hasOnePlan ? ' ' : this.displayProduct.activePlan.name;\n    return `${this.product.name} ${planName}`;\n  }),\n\n  currentNumberOfInboxSeats: computed('appService.app.humanAdmins.[]', function() {\n    return this.get('appService.app.humanAdmins').filter(admin =>\n      admin.get('hasInboxAccess'),\n    ).length;\n  }),\n\n  comparisonTextClass: ternary(\n    'earlyStageViewWithPriceComparison',\n    'settings__billing__details-strike-text text-gray',\n    '',\n  ),\n\n  earlyStageViewWithPriceComparison: computed(\n    'summaryView.showPriceComparison',\n    'canUseEarlyStageGraduationView',\n    function() {\n      return !this.canUseEarlyStageGraduationView && this.get('summaryView.showPriceComparison');\n    },\n  ),\n\n  migrationUsageMetric: computed('product', function() {\n    let metric = this.get('migrationPrice.pricingMetric');\n    if (metric === 'fixed') {\n      return '';\n    }\n    return metric ? `${usageFormatter.startCase(metric)}`.toLowerCase() : '';\n  }),\n\n  tooltip: computed('pricingMetric', function() {\n    let tooltipText = new Map([\n      [\n        'quarterly_active_people',\n        'Leads and customers who received or sent a message, or have logged into your product in the past 90 days.',\n      ],\n      [\n        'monthly_active_people',\n        'Leads and customers who received or sent a message, or have logged into your product in the past 30 days.',\n      ],\n      ['people_count', 'The total number of leads and users recorded and tracked in Intercom.'],\n      ['inbox_seats', 'Teammates that have access to Inbox.'],\n    ]);\n\n    return tooltipText.get(this.pricingMetric);\n  }),\n\n  migrationTooltip: computed('migrationPrice.pricingMetric', function() {\n    let tooltipText = new Map([\n      [\n        'quarterly_active_people',\n        'Leads and customers who received or sent a message, or have logged into your product in the past 90 days.',\n      ],\n      [\n        'monthly_active_people',\n        'Leads and customers who received or sent a message, or have logged into your product in the past 30 days.',\n      ],\n      ['people_count', 'The total number of leads and users recorded and tracked in Intercom.'],\n      ['inbox_seats', 'Teammates that have access to Inbox.'],\n    ]);\n\n    return tooltipText.get(this.migrationPrice.pricingMetric);\n  }),\n\n  isInbox: computed('product.key', function() {\n    return this.get('product.key') === PRODUCT_KEYS[1];\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-input=\\\"creditCard\\\">\\n  <div role=\\\"stripe-card\\\">\\n    <EmberWormhole @to=\\\"confirm-subscription-payment-button-id\\\">\\n      {{yield}}\\n    </EmberWormhole>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div data-test-input=\\\"creditCard\\\">\\n  <div role=\\\"stripe-card\\\">\\n    <EmberWormhole @to=\\\"confirm-subscription-payment-button-id\\\">\\n      {{yield}}\\n    </EmberWormhole>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/billing/stripe-card-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/stripe-card-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport $ from 'jquery';\nimport Component from '@ember/component';\nexport default Component.extend({\n  stripeElement: null,\n  stripe: service('stripev3'),\n\n  didInsertElement() {\n    this._super(...arguments);\n    let stripeElements = this.get('stripe.elements')();\n    let stripeCardElement = stripeElements.create('card', {\n      classes: {\n        base: 'ember-stripe-card o__in-app f__text',\n        invalid: 'o__error',\n      },\n    });\n    stripeCardElement.mount($('[role=\"stripe-card\"]', this.element)[0]);\n    this.set('stripeElement', stripeCardElement);\n    stripeCardElement.on('change', (...args) => {\n      let { error } = args[0];\n      if (error) {\n        this.set('cardError', error.message);\n      } else {\n        this.set('cardError', null);\n      }\n    });\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<SubmenuComponent @title=\\\"Billing\\\" as |submenu|>\\n  {{submenu.header}} <submenu.sections\\n    data-test-billing-sidebar=\\\"true\\\" as |sections|\\n  >\\n    <sections.section as |section|>\\n      <section.title>\\n        {{#if redirectToPricingPage}}\\n          <a\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            {{action \\\"redirectToPurchase\\\"}}\\n          >\\n            Start subscription\\n          </a>\\n        {{else}}\\n          <LinkTo\\n            @route=\\\"apps.app.billing.index\\\"\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Subscription\\n          </LinkTo>\\n        {{/if}}\\n      </section.title>\\n    </sections.section>\\n    <sections.section as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.billing.invoices\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Invoices\\n        </LinkTo>\\n      </section.title>\\n    </sections.section>\\n  </submenu.sections>\\n</SubmenuComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<SubmenuComponent @title=\\\"Billing\\\" as |submenu|>\\n  {{submenu.header}} <submenu.sections\\n    data-test-billing-sidebar=\\\"true\\\" as |sections|\\n  >\\n    <sections.section as |section|>\\n      <section.title>\\n        {{#if redirectToPricingPage}}\\n          <a\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            {{action \\\"redirectToPurchase\\\"}}\\n          >\\n            Start subscription\\n          </a>\\n        {{else}}\\n          <LinkTo\\n            @route=\\\"apps.app.billing.index\\\"\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Subscription\\n          </LinkTo>\\n        {{/if}}\\n      </section.title>\\n    </sections.section>\\n    <sections.section as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.billing.invoices\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Invoices\\n        </LinkTo>\\n      </section.title>\\n    </sections.section>\\n  </submenu.sections>\\n</SubmenuComponent>\\n\",\"moduleName\":\"embercom/components/billing/submenu-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/submenu-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { and, readOnly, alias } from '@ember/object/computed';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  paywallService: service(),\n  customerService: service(),\n  customer: alias('customerService.customer'),\n  classNames: ['layout__box', 'o__has-columns'],\n  redirectToPricingPage: and('customer.hasEverHadSubscription', 'customer.hasNoActiveSubscription'),\n\n  actions: {\n    redirectToPurchase() {\n      this.paywallService.redirectToPurchase();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"new-edit-subscription-component layout__box o__scrolls o__has-rows o__flexes-to-1\\\"\\n  data-test-billing-overview-index=\\\"true\\\"\\n>\\n  <Billing::Details::WarningBannersComponent @customer={{customer}} />\\n  <Billing::Details::ChangePlanInstructionsComponent />\\n\\n  {{#if secondaryView}}\\n    <div\\n      data-test-migration-tabs={{migrationType}}\\n      class=\\\"layout__box o__has-columns settings__billing__migration-tab-box\\\"\\n    >\\n      {{#each migrationTabs as |tab|}}\\n        <div\\n          data-test-migration-tab={{tab.id}}\\n          class=\\\"layout__box o__centers-vertically\\n          settings__billing__migration-tab {{if (eq\\n              currentTab tab.id\\n            ) \\\"o__selected\\\" tabSide}}\\\"\\n          {{action \\\"setTab\\\" tab.id}}\\n        >\\n          <div class=\\\"u__padl__30\\\">\\n            <div class=\\\"u__padb__5 text-gray\\\">\\n              <span class=\\\"u__display-inline-block\\\">\\n                {{tab.title}}\\n              </span>\\n            </div>\\n            <p\\n              class=\\\"t__h3 {{if (eq currentTab tab.id) \\\"text-blue\\\"}}\\\"\\n            >\\n              {{tab.subtext}} {{#if tab.badgeText}}\\n                <span\\n                  data-test-tab-badge\\n                  class=\\\"o__centers-vertically u__padl__5 u__mb__10\\\"\\n                >\\n                  <span class=\\\"stamp o__yellow\\\">\\n                    {{tab.badgeText}}\\n                  </span>\\n                </span>\\n              {{/if}}\\n            </p>\\n          </div>\\n        </div>\\n      {{/each}}\\n      <div\\n        class=\\\"layout__box o__flexes-to-1 settings__billing__migration-tab-filler\\\"\\n      >\\n\\n      </div>\\n    </div>\\n  {{/if}}\\n  <div\\n    class=\\\"card {{if secondaryView \\\"settings__billing__subscription__summary\\\"}}\\\"\\n  >\\n    <div class=\\\"card__inner\\\">\\n      {{#if shouldShowGraduationEmptyState}}\\n        <Billing::Details::GraduationEmptyState\\n          @graduationDate={{formattedMigrationDate}}\\n          @editSubscription={{action \\\"editSubscription\\\"}}\\n          @openInAppMessenger={{action \\\"openInAppMessenger\\\"}}\\n        />\\n      {{else}}\\n        {{#if migrationTabSelected}}\\n          <IcBanner data-test-banner @type=\\\"help\\\">\\n            <p>\\n              {{migrationTabHeader}}\\n            </p>\\n          </IcBanner>\\n        {{else if isEditing}}\\n          {{#if\\n            (and\\n              currentSummaryView.showBanner isEarlyStageGraduationMigrationType\\n            )\\n          }}\\n            <IcBanner data-test-early-stage-pricing-ends-banner @type=\\\"warning\\\">\\n              <p>\\n                Your Early Stage pricing ends soon. To edit what’s in your subscription starting {{formattedMigrationDate\\n                }}, <a {{action \\\"setTab\\\" \\\"migration\\\"}}>\\n                  click here\\n                </a>\\n                .\\n              </p>\\n            </IcBanner>\\n          {{else}}\\n            <span data-test-editing class=\\\"t__h3\\\">\\n              Change your subscription\\n            </span>\\n          {{/if}}\\n        {{else if isNotEarlyStageGraduationMigrationType}}\\n          <span data-test-current class=\\\"t__h3\\\">\\n            Current subscription\\n          </span>\\n          <div class=\\\"h-5\\\"></div>\\n        {{/if}}\\n        {{!-- template-lint-disable intercom/no-custom-table --}}\\n        <table class=\\\"tbl o__fit settings__billing__subscription__table\\\">\\n          {{!-- template-lint-enable intercom/no-custom-table --}}\\n          <thead>\\n            <th class=\\\"tbl__cell t__label\\\">\\n              Product\\n            </th>\\n            <th data-test-usage-column-header class=\\\"tbl__cell t__label\\\">\\n              {{if currentSummaryView.showUsage \\\"Usage tier\\\"}}\\n            </th>\\n            {{#if currentSummaryView.showPriceComparison}}\\n              <th class=\\\"tbl__cell t__label\\\" colspan=\\\"2\\\">\\n                Standard price\\n              </th>\\n            {{/if}}\\n            <th class=\\\"tbl__cell t__label\\\">\\n              Price\\n            </th>\\n            {{#if (and currentSummaryView.showRecommendations this.migrationTabSelected) }}\\n              <th class=\\\"tbl__cell t__label\\\">\\n                Recommendation\\n              </th>\\n            {{/if}}\\n          </thead>\\n          <tbody class=\\\"tbl__body\\\">\\n            {{#if currentSummaryView.allowEditingProducts}}\\n              {{#each sortedProducts as |product|}}\\n                <Billing::ProductEditRow\\n                  @product={{product}}\\n                  @prices={{prices}}\\n                  @migrationPrices={{migrationPrices}}\\n                  @summaryView={{currentSummaryView}}\\n                  @migrationTabSelected={{migrationTabSelected}}\\n                  @productRecommendation={{and currentSummaryView.showRecommendations (compute (action 'getProductRecommendation') product)}}\\n                />\\n              {{/each}}\\n            {{else}}\\n              {{#each displayProducts as |product|}}\\n                <Billing::ProductSummaryRow\\n                  @summaryView={{currentSummaryView}}\\n                  @product={{product}}\\n                  @prices={{prices}}\\n                  @migrationPrices={{migrationPrices}}\\n                  @isEarlyStageGraduationMigrationType={{isEarlyStageGraduationMigrationType\\n                  }}\\n                  @migrationTabSelected={{migrationTabSelected}}\\n                  @productRecommendation={{and currentSummaryView.showRecommendations (compute (action 'getProductRecommendation') product)}}\\n                />\\n              {{/each}}\\n            {{/if}}\\n          </tbody>\\n          <Billing::TotalPriceComponent\\n            @summaryView={{currentSummaryView}}\\n            @migrationPrices={{migrationPrices}}\\n            @isEarlyStageGraduationMigrationType={{isEarlyStageGraduationMigrationType\\n            }}\\n            @migrationTabSelected={{migrationTabSelected}}\\n            @isEditing={{isEditing}}\\n          />\\n        </table>\\n        {{#if earlyStagePartnerWithoutMessenger}}\\n          <p class=\\\"t__light-text\\\">\\n            *$0/mo with the Intercom messenger visible on your homepage\\n          </p>\\n        {{/if}}\\n        {{#unless currentSummaryView.showDiscounts}}\\n          <tr class=\\\"tbl__row\\\">\\n            <td\\n              class=\\\"tbl__cell settings__billing__total settings__billing__total-price-amount\\\"\\n              colspan=\\\"2\\\"\\n            >\\n              <Billing::EditPaymentComponent\\n                @isEditing={{currentSummaryView.isEditing}}\\n              />\\n            </td>\\n          </tr>\\n        {{/unless}}\\n        {{#if isEditing}}\\n          <div class=\\\"h-5\\\"></div>\\n          <div class=\\\"flex flex-row justify-between items-center\\\">\\n            <div>\\n              <IcButton\\n                data-test-button=\\\"revert\\\"\\n                @label={{cancelButtonLabel}}\\n                @onClick={{action \\\"revert\\\"}}\\n              />\\n              {{#if currentSummaryView.allowEditingProducts}}\\n                <IcButton\\n                  @type=\\\"primary\\\"\\n                  data-test-button=\\\"save\\\"\\n                  @label=\\\"Save changes\\\"\\n                  @disabled={{shouldBeDisabled}}\\n                  @onClick={{action saveAction}}\\n                />\\n              {{/if}}\\n            </div>\\n            {{#unless customer.subscriptionWillBeCancelled}}\\n              <IcButton\\n                data-test-button=\\\"cancel\\\"\\n                @label=\\\"Cancel subscription\\\"\\n                @onClick={{action currentSummaryView.cancelButtonAction}}\\n                @icon=\\\"delete\\\"\\n                @type=\\\"secondary-destructive\\\"\\n              />\\n            {{/unless}}\\n          </div>\\n        {{/if}}\\n        {{#if currentSummaryView.showEditButton}}\\n          <div class=\\\"h-5\\\"></div>\\n          <IcButton\\n            data-test-button=\\\"edit\\\"\\n            @label=\\\"Change subscription\\\"\\n            @type=\\\"secondary\\\"\\n            @onClick={{action \\\"editSubscription\\\"}}\\n          />\\n        {{/if}}\\n      {{/if}}\\n      <div class=\\\"h-10\\\"></div>\\n    </div>\\n  </div>\\n</div>\\n{{#if showEarlyStageSaveConfirmationModal}}\\n  <Billing::EarlyStage::EarlyStageSaveConfirmationModal\\n    @graduationDate={{migrationDate}}\\n    @close={{action (mut showEarlyStageSaveConfirmationModal) false}}\\n  />\\n{{/if}}\\n{{#if showEarlyStageCancelModal}}\\n  <Billing::EarlyStage::EarlyStageCancelModal\\n    @graduationDate={{migrationDate}}\\n    @close={{action (mut showEarlyStageCancelModal) false}}\\n    @cancel={{action \\\"earlyStageCancelModalConfirmCancel\\\"}}\\n  />\\n{{/if}}\\n{{#if showUnsavedChangesModal}}\\n  <Billing::UnsavedChangesModal\\n    @close={{action (mut showUnsavedChangesModal) false}}\\n    @leave={{action \\\"unsavedChangesModalTransition\\\"}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"new-edit-subscription-component layout__box o__scrolls o__has-rows o__flexes-to-1\\\"\\n  data-test-billing-overview-index=\\\"true\\\"\\n>\\n  <Billing::Details::WarningBannersComponent @customer={{customer}} />\\n  <Billing::Details::ChangePlanInstructionsComponent />\\n\\n  {{#if secondaryView}}\\n    <div\\n      data-test-migration-tabs={{migrationType}}\\n      class=\\\"layout__box o__has-columns settings__billing__migration-tab-box\\\"\\n    >\\n      {{#each migrationTabs as |tab|}}\\n        <div\\n          data-test-migration-tab={{tab.id}}\\n          class=\\\"layout__box o__centers-vertically\\n          settings__billing__migration-tab {{if (eq\\n              currentTab tab.id\\n            ) \\\"o__selected\\\" tabSide}}\\\"\\n          {{action \\\"setTab\\\" tab.id}}\\n        >\\n          <div class=\\\"u__padl__30\\\">\\n            <div class=\\\"u__padb__5 text-gray\\\">\\n              <span class=\\\"u__display-inline-block\\\">\\n                {{tab.title}}\\n              </span>\\n            </div>\\n            <p\\n              class=\\\"t__h3 {{if (eq currentTab tab.id) \\\"text-blue\\\"}}\\\"\\n            >\\n              {{tab.subtext}} {{#if tab.badgeText}}\\n                <span\\n                  data-test-tab-badge\\n                  class=\\\"o__centers-vertically u__padl__5 u__mb__10\\\"\\n                >\\n                  <span class=\\\"stamp o__yellow\\\">\\n                    {{tab.badgeText}}\\n                  </span>\\n                </span>\\n              {{/if}}\\n            </p>\\n          </div>\\n        </div>\\n      {{/each}}\\n      <div\\n        class=\\\"layout__box o__flexes-to-1 settings__billing__migration-tab-filler\\\"\\n      >\\n\\n      </div>\\n    </div>\\n  {{/if}}\\n  <div\\n    class=\\\"card {{if secondaryView \\\"settings__billing__subscription__summary\\\"}}\\\"\\n  >\\n    <div class=\\\"card__inner\\\">\\n      {{#if shouldShowGraduationEmptyState}}\\n        <Billing::Details::GraduationEmptyState\\n          @graduationDate={{formattedMigrationDate}}\\n          @editSubscription={{action \\\"editSubscription\\\"}}\\n          @openInAppMessenger={{action \\\"openInAppMessenger\\\"}}\\n        />\\n      {{else}}\\n        {{#if migrationTabSelected}}\\n          <IcBanner data-test-banner @type=\\\"help\\\">\\n            <p>\\n              {{migrationTabHeader}}\\n            </p>\\n          </IcBanner>\\n        {{else if isEditing}}\\n          {{#if\\n            (and\\n              currentSummaryView.showBanner isEarlyStageGraduationMigrationType\\n            )\\n          }}\\n            <IcBanner data-test-early-stage-pricing-ends-banner @type=\\\"warning\\\">\\n              <p>\\n                Your Early Stage pricing ends soon. To edit what’s in your subscription starting {{formattedMigrationDate\\n                }}, <a {{action \\\"setTab\\\" \\\"migration\\\"}}>\\n                  click here\\n                </a>\\n                .\\n              </p>\\n            </IcBanner>\\n          {{else}}\\n            <span data-test-editing class=\\\"t__h3\\\">\\n              Change your subscription\\n            </span>\\n          {{/if}}\\n        {{else if isNotEarlyStageGraduationMigrationType}}\\n          <span data-test-current class=\\\"t__h3\\\">\\n            Current subscription\\n          </span>\\n          <div class=\\\"h-5\\\"></div>\\n        {{/if}}\\n        {{!-- template-lint-disable intercom/no-custom-table --}}\\n        <table class=\\\"tbl o__fit settings__billing__subscription__table\\\">\\n          {{!-- template-lint-enable intercom/no-custom-table --}}\\n          <thead>\\n            <th class=\\\"tbl__cell t__label\\\">\\n              Product\\n            </th>\\n            <th data-test-usage-column-header class=\\\"tbl__cell t__label\\\">\\n              {{if currentSummaryView.showUsage \\\"Usage tier\\\"}}\\n            </th>\\n            {{#if currentSummaryView.showPriceComparison}}\\n              <th class=\\\"tbl__cell t__label\\\" colspan=\\\"2\\\">\\n                Standard price\\n              </th>\\n            {{/if}}\\n            <th class=\\\"tbl__cell t__label\\\">\\n              Price\\n            </th>\\n            {{#if (and currentSummaryView.showRecommendations this.migrationTabSelected) }}\\n              <th class=\\\"tbl__cell t__label\\\">\\n                Recommendation\\n              </th>\\n            {{/if}}\\n          </thead>\\n          <tbody class=\\\"tbl__body\\\">\\n            {{#if currentSummaryView.allowEditingProducts}}\\n              {{#each sortedProducts as |product|}}\\n                <Billing::ProductEditRow\\n                  @product={{product}}\\n                  @prices={{prices}}\\n                  @migrationPrices={{migrationPrices}}\\n                  @summaryView={{currentSummaryView}}\\n                  @migrationTabSelected={{migrationTabSelected}}\\n                  @productRecommendation={{and currentSummaryView.showRecommendations (compute (action 'getProductRecommendation') product)}}\\n                />\\n              {{/each}}\\n            {{else}}\\n              {{#each displayProducts as |product|}}\\n                <Billing::ProductSummaryRow\\n                  @summaryView={{currentSummaryView}}\\n                  @product={{product}}\\n                  @prices={{prices}}\\n                  @migrationPrices={{migrationPrices}}\\n                  @isEarlyStageGraduationMigrationType={{isEarlyStageGraduationMigrationType\\n                  }}\\n                  @migrationTabSelected={{migrationTabSelected}}\\n                  @productRecommendation={{and currentSummaryView.showRecommendations (compute (action 'getProductRecommendation') product)}}\\n                />\\n              {{/each}}\\n            {{/if}}\\n          </tbody>\\n          <Billing::TotalPriceComponent\\n            @summaryView={{currentSummaryView}}\\n            @migrationPrices={{migrationPrices}}\\n            @isEarlyStageGraduationMigrationType={{isEarlyStageGraduationMigrationType\\n            }}\\n            @migrationTabSelected={{migrationTabSelected}}\\n            @isEditing={{isEditing}}\\n          />\\n        </table>\\n        {{#if earlyStagePartnerWithoutMessenger}}\\n          <p class=\\\"t__light-text\\\">\\n            *$0/mo with the Intercom messenger visible on your homepage\\n          </p>\\n        {{/if}}\\n        {{#unless currentSummaryView.showDiscounts}}\\n          <tr class=\\\"tbl__row\\\">\\n            <td\\n              class=\\\"tbl__cell settings__billing__total settings__billing__total-price-amount\\\"\\n              colspan=\\\"2\\\"\\n            >\\n              <Billing::EditPaymentComponent\\n                @isEditing={{currentSummaryView.isEditing}}\\n              />\\n            </td>\\n          </tr>\\n        {{/unless}}\\n        {{#if isEditing}}\\n          <div class=\\\"h-5\\\"></div>\\n          <div class=\\\"flex flex-row justify-between items-center\\\">\\n            <div>\\n              <IcButton\\n                data-test-button=\\\"revert\\\"\\n                @label={{cancelButtonLabel}}\\n                @onClick={{action \\\"revert\\\"}}\\n              />\\n              {{#if currentSummaryView.allowEditingProducts}}\\n                <IcButton\\n                  @type=\\\"primary\\\"\\n                  data-test-button=\\\"save\\\"\\n                  @label=\\\"Save changes\\\"\\n                  @disabled={{shouldBeDisabled}}\\n                  @onClick={{action saveAction}}\\n                />\\n              {{/if}}\\n            </div>\\n            {{#unless customer.subscriptionWillBeCancelled}}\\n              <IcButton\\n                data-test-button=\\\"cancel\\\"\\n                @label=\\\"Cancel subscription\\\"\\n                @onClick={{action currentSummaryView.cancelButtonAction}}\\n                @icon=\\\"delete\\\"\\n                @type=\\\"secondary-destructive\\\"\\n              />\\n            {{/unless}}\\n          </div>\\n        {{/if}}\\n        {{#if currentSummaryView.showEditButton}}\\n          <div class=\\\"h-5\\\"></div>\\n          <IcButton\\n            data-test-button=\\\"edit\\\"\\n            @label=\\\"Change subscription\\\"\\n            @type=\\\"secondary\\\"\\n            @onClick={{action \\\"editSubscription\\\"}}\\n          />\\n        {{/if}}\\n      {{/if}}\\n      <div class=\\\"h-10\\\"></div>\\n    </div>\\n  </div>\\n</div>\\n{{#if showEarlyStageSaveConfirmationModal}}\\n  <Billing::EarlyStage::EarlyStageSaveConfirmationModal\\n    @graduationDate={{migrationDate}}\\n    @close={{action (mut showEarlyStageSaveConfirmationModal) false}}\\n  />\\n{{/if}}\\n{{#if showEarlyStageCancelModal}}\\n  <Billing::EarlyStage::EarlyStageCancelModal\\n    @graduationDate={{migrationDate}}\\n    @close={{action (mut showEarlyStageCancelModal) false}}\\n    @cancel={{action \\\"earlyStageCancelModalConfirmCancel\\\"}}\\n  />\\n{{/if}}\\n{{#if showUnsavedChangesModal}}\\n  <Billing::UnsavedChangesModal\\n    @close={{action (mut showUnsavedChangesModal) false}}\\n    @leave={{action \\\"unsavedChangesModalTransition\\\"}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/billing/subscription-summary-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/subscription-summary-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject, { computed } from '@ember/object';\nimport {\n  flatMap,\n  ternary,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport { readOnly, alias, equal, not, and, filterBy, mapBy } from '@ember/object/computed';\nimport EditSubscriptionComponent from 'embercom/components/billing/edit-subscription-component';\nimport { EXTENDED_EARLY_STAGE_PRICING_MODEL } from 'embercom/lib/billing';\nimport numberFormatter from 'embercom/lib/number-formatter';\nimport numericFormatter from 'embercom/lib/numeric-formatter';\nimport { showNewMessageInIntercomWidget } from 'embercom/lib/intercom-widget-helper';\nimport { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\n\n// migration types\nconst PRICING_MIGRATION_TYPE = 'pricing_migration';\nconst EARLY_STAGE_GRADUATION_MIGRATION_TYPE = 'early_stage_graduation';\n\n// migration tabs\nconst CURRENT_PRICE_TAB = 'current';\nconst MIGRATION_TAB = 'migration';\n\n// summary views\nconst NORMAL_VIEW = 'normalView';\nconst EARLY_STAGE_VIEW = 'earlyStageView';\nconst EARLY_STAGE_MIGRATION_VIEW = 'earlyStageMigrationView';\nconst EARLY_STAGE_EXTENDED_MIGRATION_VIEW = 'earlyStageExtendedMigrationView';\nconst PURCHASE_MIGRATION_VIEW = 'purchaseMigrationView';\nconst CUSTOM_VIEW = 'customView';\nconst ANNUAL_CONTRACT_VIEW = 'annualContractView';\n\nconst summaryView = EmberObject.extend({\n  showUsage: false,\n  showUsageComparison: false,\n  showUsageLimit: false,\n  showPriceComparison: false,\n  allowEditingProducts: false,\n  showCancelButton: false,\n  cancelButtonAction: 'cancelSubscription',\n  showEditButton: false,\n  showBanner: false,\n  useMigrationPriceAsAmount: false,\n  useEarlyStagePriceAsComparisonAmount: false,\n  totalPriceText: 'Total monthly price',\n  showDiscounts: false,\n});\n\nexport default EditSubscriptionComponent.extend({\n  purchaseAnalyticsService: service(),\n  preDiscountTotalAmount: readOnly('customerService.totalAmount'),\n  totalAmount: readOnly('customerService.totalAmountPostCoupon'),\n  currentPrice: readOnly('customerService.currentPrice'),\n  customer: alias('customerService.customer'),\n  cardError: null,\n  notificationsService: service(),\n  appService: service(),\n  modelDataCacheService: service(),\n  router: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  app: alias('appService.app'),\n  plans: flatMap('products', 'plans'),\n  activePlans: filterBy('plans', 'active'),\n  activePlanIds: mapBy('activePlans', 'idAsNumber'),\n  prices: alias('customerService.prices'),\n  migrationPrices: alias('customerService.migrationPrices'),\n  migrationPrice: readOnly('customerService.migrationPrice'),\n\n  migrationDate: alias('customerService.migrationDate'),\n  formattedMigrationDate: alias('customerService.formattedMigrationDate'),\n  timeToMigrationDateText: alias('customerService.timeToMigrationDateText'),\n  earlyStageGraduationRecommendedPlanIds: alias(\n    'customerService.earlyStageGraduationRecommendedPlanIds',\n  ),\n  isEditing: alias('customerService.isEditing'),\n  previousAction: null,\n  onEarlyStage99: readOnly('customer.currentlyOnEarlyStage99'),\n\n  views: computed(\n    'isEditing',\n    'currentPrice',\n    'migrationPrice',\n    'formattedMigrationDate',\n    'onEarlyStage99',\n    function() {\n      // define properties\n      let isEditing = this.isEditing;\n      let formattedMigrationDate = this.formattedMigrationDate;\n\n      // define views\n      let summaryViews = {};\n\n      summaryViews[NORMAL_VIEW] = summaryView.create({\n        identifier: NORMAL_VIEW,\n        showUsage: true,\n        allowEditingProducts: isEditing,\n        showCancelButton: isEditing,\n        showEditButton: !isEditing,\n        showDiscounts: true,\n      });\n\n      summaryViews[EARLY_STAGE_VIEW] = summaryView.create({\n        identifier: EARLY_STAGE_VIEW,\n        showPriceComparison: true,\n        showUsageLimit: true,\n        allowEditingProducts: false,\n        showCancelButton: isEditing,\n        showEditButton: !isEditing,\n        showBanner: true,\n        useMigrationPriceAsAmount: true,\n        useEarlyStagePriceAsComparisonAmount: true,\n        totalPriceText: 'Total monthly price',\n      });\n\n      summaryViews[EARLY_STAGE_MIGRATION_VIEW] = summaryView.create({\n        identifier: EARLY_STAGE_MIGRATION_VIEW,\n        showUsage: true,\n        allowEditingProducts: isEditing,\n        showCancelButton: isEditing,\n        cancelButtonAction: 'openEarlyStageCancelModal',\n        showEditButton: !isEditing,\n        showBanner: true,\n        useMigrationPriceAsAmount: true,\n        totalPriceText: 'Total estimated monthly price',\n        bannerText: this.app.canUseEarlyStageGraduationRecommendations\n          ? 'We’ve recommended a subscription for you based on the products you use at Intercom. You can edit your subscription at any time by clicking ‘Change subscription’.'\n          : `On ${formattedMigrationDate}, your subscription changes to standard Intercom pricing`,\n        showRecommendations: this.app.canUseEarlyStageGraduationRecommendations,\n      });\n\n      summaryViews[EARLY_STAGE_EXTENDED_MIGRATION_VIEW] = summaryView.create({\n        identifier: EARLY_STAGE_EXTENDED_MIGRATION_VIEW,\n        showPriceComparison: true,\n        showUsageLimit: true,\n        showUsage: false,\n        allowEditingProducts: false,\n        showCancelButton: isEditing,\n        showEditButton: !isEditing,\n        showBanner: true,\n        useMigrationPriceAsAmount: true,\n        useEarlyStagePriceAsComparisonAmount: true,\n        hardCodedPrice: '$99.00',\n        totalPriceText: 'Total monthly price',\n        bannerText: `On ${formattedMigrationDate}, your subscription will change to Extended Growth pricing, which you will receive for up to 1 year.`,\n      });\n\n      summaryViews[PURCHASE_MIGRATION_VIEW] = summaryView.create({\n        identifier: PURCHASE_MIGRATION_VIEW,\n        showUsage: true,\n        showUsageComparison: true,\n        showPriceComparison: true,\n        showDiscounts: true,\n        totalPriceText: 'Total estimated monthly price',\n        bannerText:\n          'New Pricing estimate is based on your current products and usage. As always, contact us with any questions.',\n      });\n\n      summaryViews[CUSTOM_VIEW] = summaryView.create({\n        identifier: CUSTOM_VIEW,\n        totalPriceText: 'Estimated total monthly price (updated daily)',\n        hardCodedPrice: `$${numericFormatter(this.customer.estimatedMonthlyCost / 100, 2, true)}`,\n      });\n\n      summaryViews[ANNUAL_CONTRACT_VIEW] = summaryView.create({\n        identifier: ANNUAL_CONTRACT_VIEW,\n        totalPriceText: 'Total monthly price',\n        hardCodedPrice: `$${numericFormatter(this.customer.estimatedMonthlyCost / 100, 2, true)}`,\n      });\n\n      return summaryViews;\n    },\n  ),\n\n  getView(identifier) {\n    if (identifier) {\n      return this.views[identifier];\n    }\n    return null;\n  },\n\n  primaryView: computed('primaryViewIdentifier', 'views', function() {\n    return this.getView(this.primaryViewIdentifier);\n  }),\n\n  secondaryView: computed('secondaryViewIdentifier', 'views', function() {\n    return this.getView(this.secondaryViewIdentifier);\n  }),\n\n  primaryViewIdentifier: computed(\n    'customer.currentlyOnEarlyStage',\n    'customer.hasCustomPricing',\n    'customer.isAnnuallyContracted',\n    function() {\n      let customer = this.customer;\n      if (customer.get('currentlyOnEarlyStage')) {\n        return EARLY_STAGE_VIEW;\n      } else if (customer.hasCustomPricing) {\n        return CUSTOM_VIEW;\n      } else if (customer.isAnnuallyContracted) {\n        return ANNUAL_CONTRACT_VIEW;\n      } else {\n        return NORMAL_VIEW;\n      }\n    },\n  ),\n\n  secondaryViewIdentifier: computed(\n    'customerService.canUsePurchaseMigrationView',\n    'customerService.canUseEarlyStageGraduationView',\n    'customerService.earlyStageGraduation.priceSetIdentifier',\n    function() {\n      if (this.get('customerService.canUsePurchaseMigrationView')) {\n        return PURCHASE_MIGRATION_VIEW;\n      } else if (\n        this.get('customerService.earlyStageGraduation.priceSetIdentifier') ===\n        EXTENDED_EARLY_STAGE_PRICING_MODEL\n      ) {\n        return EARLY_STAGE_EXTENDED_MIGRATION_VIEW;\n      } else if (this.get('customerService.canUseEarlyStageGraduationView')) {\n        return EARLY_STAGE_MIGRATION_VIEW;\n      } else {\n        return null;\n      }\n    },\n  ),\n\n  currentSummaryView: ternaryToProperty('migrationTabSelected', 'secondaryView', 'primaryView'),\n\n  init() {\n    this._super(...arguments);\n    this.setActivePlans();\n  },\n\n  migrationTabSelected: equal('currentTab', MIGRATION_TAB),\n\n  shouldShowGraduationEmptyState: computed(\n    'secondaryViewIdentifier',\n    'migrationTabSelected',\n    'isEditing',\n    function() {\n      return (\n        this.secondaryViewIdentifier === EARLY_STAGE_MIGRATION_VIEW &&\n        this.migrationTabSelected &&\n        this.get('customerService.earlyStageGraduation.planIds').length === 0 &&\n        !this.isEditing\n      );\n    },\n  ),\n\n  isPurchaseMigrationType: computed('secondaryViewIdentifier', function() {\n    return this.secondaryViewIdentifier === PURCHASE_MIGRATION_VIEW;\n  }),\n  isEarlyStageGraduationMigrationType: computed('secondaryViewIdentifier', function() {\n    return this.secondaryViewIdentifier === EARLY_STAGE_MIGRATION_VIEW;\n  }),\n  migrationType: computed('secondaryViewIdentifier', function() {\n    if (this.isPurchaseMigrationType) {\n      return PRICING_MIGRATION_TYPE;\n    } else if (this.isEarlyStageGraduationMigrationType) {\n      return EARLY_STAGE_GRADUATION_MIGRATION_TYPE;\n    } else {\n      return null;\n    }\n  }),\n\n  tabSide: ternary('migrationTabSelected', 'o__left', 'o__right'),\n  currentTab: CURRENT_PRICE_TAB,\n  migrationTabs: computed(\n    'secondaryViewIdentifier',\n    'migrationDate',\n    'formattedMigrationDate',\n    function() {\n      let secondaryViewIdentifier = this.secondaryViewIdentifier;\n      if (secondaryViewIdentifier === EARLY_STAGE_MIGRATION_VIEW) {\n        return [\n          {\n            title: 'Current Subscription',\n            icon: 'bar-charts',\n            subtext: `Early Stage`,\n            id: CURRENT_PRICE_TAB,\n          },\n          {\n            title: `Starting ${this.formattedMigrationDate}`,\n            icon: 'active',\n            subtext: 'Standard pricing',\n            id: MIGRATION_TAB,\n            badgeText: this.timeToMigrationDateText,\n          },\n        ];\n      } else if (secondaryViewIdentifier === EARLY_STAGE_EXTENDED_MIGRATION_VIEW) {\n        return [\n          {\n            title: 'Current Subscription',\n            icon: 'bar-charts',\n            subtext: `Early Stage`,\n            id: CURRENT_PRICE_TAB,\n          },\n          {\n            title: `Starting ${this.formattedMigrationDate}`,\n            icon: 'active',\n            subtext: 'Extended Growth',\n            id: MIGRATION_TAB,\n          },\n        ];\n      } else if (secondaryViewIdentifier === PURCHASE_MIGRATION_VIEW) {\n        return [\n          {\n            title: 'Today',\n            icon: 'bar-charts',\n            subtext: 'Priced based on total records',\n            id: CURRENT_PRICE_TAB,\n          },\n          {\n            title: `Starting ${this.formattedMigrationDate}`,\n            icon: 'active',\n            subtext: 'Priced based on active usage',\n            id: MIGRATION_TAB,\n          },\n        ];\n      }\n    },\n  ),\n\n  // eslint-disable-next-line ember/require-computed-macros\n  migrationTabHeader: computed('secondaryViewIdentifier', 'formattedMigrationDate', function() {\n    return this.get('secondaryView.bannerText');\n  }),\n\n  dirty: alias('customerService.isDirty'),\n  isNotDirty: not('dirty'),\n\n  displayProducts: computed(\n    'customer',\n    'products.@each.active',\n    'editingOnRegularPlan',\n    function() {\n      let products = this.products;\n      if (this.currentSummaryView.identifier === EARLY_STAGE_MIGRATION_VIEW && this.isEditing) {\n        return products.filter(product => product.originallyActive);\n      }\n      if (!this.get('customer.hasActiveSubscription') || this.editingOnRegularPlan) {\n        return products;\n      } else {\n        return products.filterBy('active');\n      }\n    },\n  ),\n\n  sortedProducts: computed('displayProducts', function() {\n    return this.displayProducts.sortBy('inactive');\n  }),\n\n  isNotEarlyStageGraduationMigrationType: not('isEarlyStageGraduationMigrationType'),\n  shouldBeDisabled: and('isNotDirty', 'isNotEarlyStageGraduationMigrationType'),\n\n  anyProductsActive: computed('products.@each.active', function() {\n    return this.products.find(product => product.get('active'));\n  }),\n\n  saveAction: computed(\n    'anyProductsActive',\n    'migrationType',\n    'showEarlyStageCancelModal',\n    function() {\n      if (this.anyProductsActive) {\n        return 'save';\n      } else if (this.migrationType === EARLY_STAGE_GRADUATION_MIGRATION_TYPE) {\n        return 'openEarlyStageCancelModal';\n      } else {\n        return 'cancelSubscription';\n      }\n    },\n  ),\n\n  formattedCardExpiresAt: alias('customer.formattedCardExpiresAt'),\n\n  cancelButtonLabel: ternary('dirty', 'Cancel changes', 'Go back'),\n\n  formattedCouponDiscountDollarAmount: computed('currentPrice', function() {\n    let couponAmount =\n      (this.get('currentPrice.preDiscountAmount') - this.get('currentPrice.amount')) / 100;\n    return Number.isInteger(couponAmount)\n      ? numberFormatter(couponAmount)\n      : numericFormatter(couponAmount, 2, true);\n  }),\n\n  upgradeProducts: computed(\n    'customer',\n    'isEditing',\n    'products.@each.active',\n    'products.@each.inactive',\n    function() {\n      let products = this.products;\n      if (!this.get('customer.hasActiveSubscription')) {\n        return products;\n      } else {\n        return products.filterBy('inactive');\n      }\n    },\n  ),\n  updateSubscriptionFormData() {\n    let appId = this.get('app.id');\n    let formData = {\n      plan_ids: this.activePlanIds,\n      app_id: appId,\n    };\n    return formData;\n  },\n\n  recommendedProducts: computed('earlyStageGraduationRecommendedPlanIds', function() {\n    return this.earlyStageGraduationRecommendedPlanIds.map(\n      planId => this.plans.find(plan => plan.idAsNumber === planId).get('product').name,\n    );\n  }),\n\n  sendNewOrUpdateSubscriptionTask: task(function*(formData) {\n    let appId = this.get('app.id');\n\n    let params = {\n      url: `/ember/customers/${appId}/update_subscription`,\n      type: 'post',\n      contentType: 'application/json',\n      data: JSON.stringify(formData),\n    };\n\n    yield ajax(params)\n      .then(() => {\n        this.notificationsService.notifyConfirmation(\n          'You have successfully updated your subscription!',\n        );\n        this.customerService.reportProductChangesForAnalytics({\n          place: 'billing_summary',\n          page: 'billing summary',\n          context: this.context,\n        });\n        this.customerService.loadData();\n      })\n      .catch(err => {\n        let message = 'Please contact our sales team.';\n        if (err && err.jqXHR && err.jqXHR.responseJSON && err.jqXHR.responseJSON[0]) {\n          message = err.jqXHR.responseJSON[0];\n        }\n        this.notificationsService.notifyError(\n          `There was an error updating your subscription: ${message}`,\n        );\n      });\n  }),\n\n  updateAppAdminInboxAccess(inboxWasActive) {\n    if (!inboxWasActive && this.get('app.inboxIsActive')) {\n      return this.set('app.currentAdmin.currentAppPermissions.has_inbox_access', true);\n    }\n  },\n\n  updateSubscription() {\n    let formData = this.updateSubscriptionFormData();\n    let inboxWasActive = this.get('app.inboxIsActive');\n    this.sendNewOrUpdateSubscriptionTask\n      .perform(formData)\n      .then(() => {\n        this.app.reload().then(() => {\n          this.customerService.resetAll();\n          this.modelDataCacheService.clear();\n          this.updateAppAdminInboxAccess(inboxWasActive);\n          this.set('isEditing', false);\n        });\n      })\n      .catch(err => {\n        this.notificationsService.notifyError(\n          `There was an error updating your subscription: ${err.jqXHR.responseJSON[0]}`,\n        );\n      });\n  },\n\n  updateEarlyStageGraduation() {\n    let earlyStageGraduation = this.get('customerService.earlyStageGraduation');\n    earlyStageGraduation.set('planIds', this.activePlanIds);\n    earlyStageGraduation\n      .save()\n      .then(() => {\n        this.set('isEditing', false);\n      })\n      .catch(err => {\n        this.notificationsService.notifyError(\n          `There was an error updating your future subscription: ${err.jqXHR.responseJSON.errors}`,\n        );\n      });\n  },\n\n  setActivePlans() {\n    if (\n      this.currentTab === MIGRATION_TAB &&\n      this.migrationType === EARLY_STAGE_GRADUATION_MIGRATION_TYPE\n    ) {\n      this.customerService.setPlansAsActiveFromEarlyStageGraduation();\n    } else {\n      this.customerService.resetProducts();\n    }\n  },\n\n  trackAnalyticsEventforSave() {\n    let removedPlans = this.findElementsRemovedFromArray(this.originalPlanIds, this.activePlanIds);\n    let addedPlans = this.findElementsRemovedFromArray(this.activePlanIds, this.originalPlanIds);\n    this.trackAnalyticsEvent({\n      action: 'saved',\n      object: this.currentSummaryView.identifier,\n      removedPlans,\n      addedPlans,\n    });\n  },\n\n  trackAnalyticsEvent(data = {}) {\n    this.purchaseAnalyticsService.trackEvent({\n      place: this.place,\n      context: this.context,\n      view: this.currentSummaryView.identifier,\n      ...data,\n    });\n  },\n\n  findElementsRemovedFromArray(originalArray, editedArray) {\n    return originalArray.filter(value => editedArray.indexOf(value) === -1);\n  },\n\n  actions: {\n    setTab(id) {\n      // if the user is editing and the state is dirty, then we show the unsaved changes modal when they try to switch tabs\n      if (this.isEditing && this.dirty) {\n        this.set('showUnsavedChangesModal', true);\n        this.set('previousAction', { action: 'setTab', params: [id] });\n      }\n      // we transition to the selected tab\n      else {\n        this.set('currentTab', id);\n        this.send('revert');\n        this.setActivePlans();\n      }\n\n      this.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'migration_tab',\n        tab: id,\n      });\n    },\n\n    save() {\n      if (!this.anyProductsActive && !this.showEarlyStageCancelModal) {\n        if (this.isEarlyStageGraduationMigrationType) {\n          return this.send('openEarlyStageCancelModal');\n        } else {\n          return this.send('cancelSubscription');\n        }\n      }\n      if (this.isEarlyStageGraduationMigrationType) {\n        this.updateEarlyStageGraduation();\n        this.set('showEarlyStageCancelModal', false);\n        this.set('showEarlyStageSaveConfirmationModal', true);\n      } else {\n        this.updateSubscription();\n      }\n      this.trackAnalyticsEventforSave();\n    },\n    openEarlyStageCancelModal() {\n      this.set('showEarlyStageCancelModal', true);\n    },\n    editSubscription() {\n      this.trackAnalyticsEvent({ action: 'clicked', object: 'edit_subscription' });\n      this.set('originalPlanIds', this.activePlanIds);\n      this.customerService.resetAll();\n      this.set('isEditing', true);\n      if (this.currentSummaryView.identifier === EARLY_STAGE_MIGRATION_VIEW) {\n        this.customerService.setPlansAsActiveFromEarlyStageGraduation();\n      }\n    },\n\n    revert() {\n      this.trackAnalyticsEvent({ action: 'clicked', object: 'revert_edit_subscription' });\n      this.customerService.resetAll();\n      this.set('isEditing', false);\n      if (this.currentSummaryView.identifier === EARLY_STAGE_MIGRATION_VIEW) {\n        this.customerService.setPlansAsActiveFromEarlyStageGraduation();\n      }\n    },\n\n    cancelSubscription(trackEvent) {\n      if (trackEvent) {\n        this.trackAnalyticsEvent({\n          action: 'clicked',\n          object: 'cancel_subscription_button',\n          section: 'billing_settings',\n        });\n      }\n\n      this.router.transitionTo('apps.app.billing.cancel');\n    },\n\n    unsavedChangesModalTransition() {\n      // perform the previously attempted action\n      this.send('revert');\n      let previousAction = this.previousAction;\n      if (previousAction) {\n        this.set('previousAction', null);\n        this.send(previousAction['action'], ...previousAction['params']);\n      }\n    },\n\n    earlyStageCancelModalConfirmCancel() {\n      this.trackAnalyticsEvent({ action: 'clicked', object: 'cancel_early_stage_graduation_plan' });\n      this.customerService.deactivateAllPlans();\n      this.updateEarlyStageGraduation();\n      this.set('showEarlyStageCancelModal', false);\n    },\n\n    openInAppMessenger() {\n      this.trackAnalyticsEvent({ action: 'clicked', object: 'talk_to_sales' });\n\n      if (this.get('customer.currentlyOnEarlyStage')) {\n        showNewMessageInIntercomWidget('Hi, I have a question about my early stage subscription.');\n      } else {\n        showNewMessageInIntercomWidget('Hi, I have a question about my custom subscription.');\n      }\n    },\n\n    getProductRecommendation(product) {\n      if (!this.earlyStageGraduationRecommendedPlanIds) {\n        return null;\n      }\n\n      return this.recommendedProducts.includes(product.name) ? 'Keep' : 'Remove';\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTable @isLoading={{false}} @loadingRowCount={{3}} @columns={{this.columns}} @data={{this.rows}} class=\\\"settings__billing__summary__table\\\" as |table|>\\n  <table.rows as |row|>\\n    {{#unless row.data.shouldHide}}\\n      <div class=\\\"settings__billing__summary__table-row {{if (eq row.data.rowType 'primary') 'o__primary'}} {{row.data.rowClass}}\\\"\\n          {{on 'mouseenter' (fn this.showEditLink row.data) }}\\n          {{on 'mouseleave' this.hideEditLink }}\\n          data-test-billing-summary-row={{row.data.testIdentifier}}\\n      >\\n        <row.cell @valuePath=\\\"name\\\" class=\\\"settings__billing__summary__cell\\\">\\n          <div class=\\\"flex flex-col gap-1 settings__billing__summary__table-row-cell\\\">\\n            <Paragraph>\\n              <div class=\\\"flex flex-col gap-1\\\">\\n                {{#if (eq row.data.rowType 'primary')}}\\n                  <Text @styling={{row.data.textStyle}} class=\\\"u__padb__5\\\">{{row.data.name}}\\n                    {{#if row.data.customEdit}}\\n                      <a class=\\\"ml-2\\\" {{on 'click' (fn row.data.openModal row.data.name)}}><Text @linkStyling=\\\"standalone\\\">{{row.data.customEdit}}</Text></a>\\n                    {{/if}}\\n                  </Text>\\n                {{else if (eq row.data.rowType 'secondary')}}\\n                  <div class=\\\"flex ml-4\\\">\\n                    {{ic-interface-icon \\\"arrow\\\" color=\\\"gray\\\"}}\\n                    <Text class=\\\"leading-4\\\">{{row.data.name}}</Text>\\n                  </div>\\n                {{else if (eq row.data.rowType 'tertiary')}}\\n                  <Text @styling={{row.data.textStyle}} class=\\\"u__padl__35\\\">{{row.data.name}}</Text>\\n                {{/if}}\\n              </div>\\n            </Paragraph>\\n          </div>\\n        </row.cell>\\n        <row.cell @valuePath=\\\"usage\\\">\\n          <Text @styling={{row.data.textStyle}} class=\\\"inline-block w-16 text-right\\\">\\n            {{row.data.usage}}\\n          </Text>\\n        </row.cell>\\n        <row.cell @valuePath=\\\"price\\\">\\n          <div class=\\\"flex flex-col gap-1 settings__billing__summary__table-row-cell settings__billing__summary__table-row-price-cell\\\">\\n            <Paragraph>\\n              <div class=\\\"flex flex-row gap-1 w-32\\\">\\n                {{#unless @contract.isSecondarySubscription}}\\n                  <Text @styling={{if (eq row.data.rowType 'primary') \\\"strong\\\" \\\"muted\\\"}} class=\\\"text-right w-2/3\\\">{{row.data.price}}</Text>\\n                  {{#if row.data.tooltipData}}\\n                    <IcTooltipIcon\\n                      @isInteractive={{true}}\\n                      class=\\\"change-plan-modal__breakdown-icon\\\"\\n                    >\\n                    {{#if row.data.shouldDisplaybaseUsageInfo}}\\n                      {{row.data.baseUsageInfo}}\\n                    {{else}}\\n                      <div class=\\\"flex flex-col p-2\\\">\\n                        <ChangePlanModal::PriceBreakdownDisplay @sections={{row.data.tooltipData}} />\\n                      </div>\\n                    {{/if}}\\n                    </IcTooltipIcon>\\n                  {{/if}}\\n                {{/unless}}\\n              </div>\\n            </Paragraph>\\n          </div>\\n        </row.cell>\\n        <row.cell @valuePath=\\\"edit\\\">\\n          {{#if (eq this.hoveredRow row.data.name)}}\\n            <a {{on 'click' (fn row.data.openModal row.data.name)}} data-test-edit-billing-row-link><Text @linkStyling=\\\"standalone\\\">Edit</Text></a>\\n          {{/if}}\\n        </row.cell>\\n      </div>\\n    {{/unless}}\\n  </table.rows>\\n</IcTable>\\n\", {\"contents\":\"<IcTable @isLoading={{false}} @loadingRowCount={{3}} @columns={{this.columns}} @data={{this.rows}} class=\\\"settings__billing__summary__table\\\" as |table|>\\n  <table.rows as |row|>\\n    {{#unless row.data.shouldHide}}\\n      <div class=\\\"settings__billing__summary__table-row {{if (eq row.data.rowType 'primary') 'o__primary'}} {{row.data.rowClass}}\\\"\\n          {{on 'mouseenter' (fn this.showEditLink row.data) }}\\n          {{on 'mouseleave' this.hideEditLink }}\\n          data-test-billing-summary-row={{row.data.testIdentifier}}\\n      >\\n        <row.cell @valuePath=\\\"name\\\" class=\\\"settings__billing__summary__cell\\\">\\n          <div class=\\\"flex flex-col gap-1 settings__billing__summary__table-row-cell\\\">\\n            <Paragraph>\\n              <div class=\\\"flex flex-col gap-1\\\">\\n                {{#if (eq row.data.rowType 'primary')}}\\n                  <Text @styling={{row.data.textStyle}} class=\\\"u__padb__5\\\">{{row.data.name}}\\n                    {{#if row.data.customEdit}}\\n                      <a class=\\\"ml-2\\\" {{on 'click' (fn row.data.openModal row.data.name)}}><Text @linkStyling=\\\"standalone\\\">{{row.data.customEdit}}</Text></a>\\n                    {{/if}}\\n                  </Text>\\n                {{else if (eq row.data.rowType 'secondary')}}\\n                  <div class=\\\"flex ml-4\\\">\\n                    {{ic-interface-icon \\\"arrow\\\" color=\\\"gray\\\"}}\\n                    <Text class=\\\"leading-4\\\">{{row.data.name}}</Text>\\n                  </div>\\n                {{else if (eq row.data.rowType 'tertiary')}}\\n                  <Text @styling={{row.data.textStyle}} class=\\\"u__padl__35\\\">{{row.data.name}}</Text>\\n                {{/if}}\\n              </div>\\n            </Paragraph>\\n          </div>\\n        </row.cell>\\n        <row.cell @valuePath=\\\"usage\\\">\\n          <Text @styling={{row.data.textStyle}} class=\\\"inline-block w-16 text-right\\\">\\n            {{row.data.usage}}\\n          </Text>\\n        </row.cell>\\n        <row.cell @valuePath=\\\"price\\\">\\n          <div class=\\\"flex flex-col gap-1 settings__billing__summary__table-row-cell settings__billing__summary__table-row-price-cell\\\">\\n            <Paragraph>\\n              <div class=\\\"flex flex-row gap-1 w-32\\\">\\n                {{#unless @contract.isSecondarySubscription}}\\n                  <Text @styling={{if (eq row.data.rowType 'primary') \\\"strong\\\" \\\"muted\\\"}} class=\\\"text-right w-2/3\\\">{{row.data.price}}</Text>\\n                  {{#if row.data.tooltipData}}\\n                    <IcTooltipIcon\\n                      @isInteractive={{true}}\\n                      class=\\\"change-plan-modal__breakdown-icon\\\"\\n                    >\\n                    {{#if row.data.shouldDisplaybaseUsageInfo}}\\n                      {{row.data.baseUsageInfo}}\\n                    {{else}}\\n                      <div class=\\\"flex flex-col p-2\\\">\\n                        <ChangePlanModal::PriceBreakdownDisplay @sections={{row.data.tooltipData}} />\\n                      </div>\\n                    {{/if}}\\n                    </IcTooltipIcon>\\n                  {{/if}}\\n                {{/unless}}\\n              </div>\\n            </Paragraph>\\n          </div>\\n        </row.cell>\\n        <row.cell @valuePath=\\\"edit\\\">\\n          {{#if (eq this.hoveredRow row.data.name)}}\\n            <a {{on 'click' (fn row.data.openModal row.data.name)}} data-test-edit-billing-row-link><Text @linkStyling=\\\"standalone\\\">Edit</Text></a>\\n          {{/if}}\\n        </row.cell>\\n      </div>\\n    {{/unless}}\\n  </table.rows>\\n</IcTable>\\n\",\"moduleName\":\"embercom/components/billing/summary/price-usage-breakdown-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/summary/price-usage-breakdown-table.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport numericFormatter from 'embercom/lib/numeric-formatter';\nimport numberFormatter from 'embercom/lib/number-formatter';\nimport PricingMetric from 'embercom/lib/purchase/pricing-metric';\nimport { capitalize } from '@ember/string';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport moment from 'moment';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\n\nexport default class PriceUsageBreakdownTable extends Component {\n  @service customerService;\n  @service appService;\n  @tracked hoveredRow;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get currentPrice() {\n    if (this.contract?.currentPrice) {\n      return this.contract.currentPrice;\n    }\n    return this.customerService.originalPrice || this.customerService.currentPrice;\n  }\n\n  get customer() {\n    return this.customerService.customer;\n  }\n\n  get contract() {\n    return this.args.contract;\n  }\n\n  get columns() {\n    return [\n      {\n        label: this.contract?.isPrimarySubscription\n          ? 'Subscription usage for all workspaces'\n          : `Subscription usage for ${this.app.name}`,\n        width: '40%',\n        valuePath: 'name',\n      },\n      {\n        label: this.contract?.isPrimarySubscription ? 'Usage limit' : '',\n        width: '60%',\n        valuePath: 'usage',\n      },\n      {\n        label: this.contract?.isSecondarySubscription ? '' : 'Price/mo',\n        minWidth: '120px',\n        valuePath: 'price',\n      },\n      {\n        label: '',\n        minWidth: '45px',\n        valuePath: 'edit',\n      },\n    ];\n  }\n\n  get rows() {\n    return [\n      ...this.productRows,\n      ...this.addonRows,\n      {\n        name: 'Total',\n        price: `$${this.currentPrice.amountToTwoDecimals}`,\n        shouldHide: this.contract?.isSecondarySubscription,\n        rowType: 'primary',\n        rowClass: 'o__total',\n        textStyle: 'strong',\n        testIdentifier: 'total',\n      },\n    ];\n  }\n\n  get addonRows() {\n    if (this.customerService.products.any(product => product.content.active && product.addon)) {\n      return [];\n    }\n\n    return [\n      {\n        name: 'No add-ons in your current subscription.',\n        customEdit: 'Select Add-ons',\n        canEdit: false,\n        openModal: this.args.openEditAddonModal,\n        shouldHide: this.contract?.isSecondarySubscription,\n        rowType: 'primary',\n        textStyle: 'muted',\n      },\n    ];\n  }\n\n  get productRows() {\n    let productRows = [];\n    this.currentPrice.breakdown.forEach(({ amount, charges, plan_id, plan_starting_price }) => {\n      if (plan_id) {\n        productRows.push({\n          name: this.planIdToDisplayName(plan_id),\n          price: this.formatPrice(amount),\n          canEdit: true,\n          openModal: this.modalActionForPlanId(plan_id),\n          rowType: 'primary',\n          textStyle: 'strong',\n          testIdentifier: `product-row-${this.planIdToDisplayName(plan_id)}`,\n        });\n      } else if (!this.contract || this.contract?.isPrimarySubscription) {\n        // no plan id means this is a discount which is only shown for uncontracted apps or primary apps\n        productRows.push({\n          name: this.discountInfo,\n          price: `-$${numericFormatter(amount / -100, 2, true)}`,\n          canEdit: false,\n          rowType: 'primary',\n          textStyle: 'strong',\n          testIdentifier: 'discount',\n        });\n      }\n\n      this.productBreakdownFromCharges(charges, plan_id, plan_starting_price).forEach(\n        ({\n          identifier,\n          metric,\n          price,\n          contractedUsage,\n          actualUsage,\n          perWorkspaceUsage,\n          tooltipData,\n          shouldDisplaybaseUsageInfo,\n          baseUsageInfo,\n        }) => {\n          if (metric) {\n            productRows.push({\n              name: metric,\n              price,\n              canEdit: false,\n              tooltipData,\n              shouldDisplaybaseUsageInfo,\n              baseUsageInfo,\n              rowType: 'secondary',\n              testIdentifier: `pricing-metric-${identifier}`,\n            });\n\n            if (this.contract?.isPrimarySubscription) {\n              if (contractedUsage) {\n                productRows.push({\n                  name: 'Usage included in contract',\n                  usage: contractedUsage,\n                  price: null,\n                  canEdit: false,\n                  rowType: 'tertiary',\n                  testIdentifier: `contracted-usage-${identifier}`,\n                });\n              }\n\n              if (this.app.canSeePerWorkspaceUsageBreakdown) {\n                if (actualUsage) {\n                  productRows.push({\n                    name: 'Current usage',\n                    usage: actualUsage,\n                    canEdit: false,\n                    rowType: 'tertiary',\n                    testIdentifier: `actual-usage-${identifier}`,\n                  });\n                }\n\n                if (perWorkspaceUsage?.length > 1 && this.contract.isPrimarySubscription) {\n                  perWorkspaceUsage?.forEach(({ name, usage }) => {\n                    productRows.push({\n                      name,\n                      usage,\n                      canEdit: false,\n                      rowType: 'tertiary',\n                      textStyle: 'muted',\n                      rowClass: 'o__workspace',\n                      testIdentifier: `workspace-usage-${name}-${identifier}`,\n                    });\n                  });\n                }\n              }\n            }\n          }\n        },\n      );\n    });\n    return productRows;\n  }\n\n  formatPrice(price) {\n    return `$${numericFormatter(price / 100, 2, true)}`;\n  }\n\n  planIdToDisplayName(planId) {\n    let plan = this.customerService.plans.find(plan => plan.idAsNumber === planId);\n\n    if (plan.product.addon) {\n      return `${plan.get('nameWithProduct')} add-on`;\n    } else {\n      return `${plan.get('nameWithProduct')}`;\n    }\n  }\n\n  modalActionForPlanId(planId) {\n    let plan = this.customerService.plans.find(plan => plan.idAsNumber === planId);\n    return plan.product.addon ? this.args.openEditAddonModal : this.args.openEditPlanModal;\n  }\n\n  get discountInfo() {\n    let {\n      hasPercentOffCoupon,\n      hasFixedPriceCoupon,\n      couponPercentOff,\n      couponFixedAmountOff,\n    } = this.currentPrice;\n\n    let discountText = '';\n\n    if (hasPercentOffCoupon) {\n      discountText = `${couponPercentOff}% off`;\n    } else if (hasFixedPriceCoupon) {\n      discountText = `${this.formatPrice(couponFixedAmountOff)} off`;\n    }\n\n    let expiryText = this.customer.couponExpiresAt\n      ? `expires ${moment(this.customer.couponExpiresAt).format(dateAndTimeFormats.date)}`\n      : 'Never expires';\n\n    return `Discount: ${discountText} (${expiryText})`;\n  }\n\n  productBreakdownFromCharges(charges, plan_id, plan_starting_price) {\n    if (!charges) {\n      return [];\n    }\n\n    let breakdown = [];\n    if (!this.contract?.isSecondarySubscription) {\n      breakdown.push({\n        metric: charges[0].pricing_metric === 'fixed' ? 'Fixed price' : 'Plan starting price',\n        price: this.formatPrice(plan_starting_price),\n      });\n    }\n\n    charges.map(charge => {\n      let pricingMetric = new PricingMetric(charge, plan_id);\n      let priceLabel =\n        pricingMetric.additionalPrice > 0\n          ? this.formatPrice(pricingMetric.additionalPrice)\n          : 'Included';\n      let usageMetric = pricingMetric.pluralize(charge.billed_usage);\n      let metricText = this.pricingMetricRowTextForPricingMetricAndCharge(pricingMetric, charge);\n\n      // Displayed if there is less usage than the base amount\n      let baseUsageInfo = `You have ${numericFormatter(\n        charge.billed_usage,\n      )} ${usageMetric} included in your plan`;\n\n      breakdown.push({\n        identifier: `${usageMetric}`,\n        metric: metricText,\n        price: priceLabel,\n        contractedUsage:\n          this.contract &&\n          numericFormatter(this.contract?.contractUsageLimits[charge.pricing_metric]),\n        actualUsage:\n          this.contract && numericFormatter(this.contract?.totalUsage[charge.pricing_metric]),\n        perWorkspaceUsage:\n          this.contract &&\n          this.contract.perWorkspaceUsage.map(workspace => {\n            return {\n              name: workspace.app_name,\n              usage: numericFormatter(workspace.usage[charge.pricing_metric]),\n            };\n          }),\n        tooltipData: [\n          {\n            label: capitalize(pricingMetric.pluralize(0)),\n            metrics: [\n              ...pricingMetric.tooltipSummary,\n              {\n                label: 'Total price',\n                value: this.formatPrice(pricingMetric.additionalPrice),\n              },\n            ],\n          },\n        ],\n        shouldDisplaybaseUsageInfo: pricingMetric.additionalPrice === 0,\n        baseUsageInfo,\n      });\n    });\n\n    return breakdown;\n  }\n\n  pricingMetricRowTextForPricingMetricAndCharge(pricingMetric, charge) {\n    let usageMetric = pricingMetric.pluralize(charge.billed_usage);\n\n    if (!usageMetric) {\n      // articles - fixed price\n      return;\n    } else if (this.contract && !this.contract.isSecondarySubscription) {\n      return this._pricingMetricRowTextForPrimary(usageMetric);\n    } else if (this.contract?.isSecondarySubscription) {\n      return this._pricingMetricRowTextForSecondary(pricingMetric, charge);\n    } else {\n      // uncontracted\n      return `${pricingMetric.usageInfo}`;\n    }\n  }\n\n  _pricingMetricRowTextForPrimary(usageMetric) {\n    usageMetric =\n      usageMetric === 'inbox seats' || usageMetric === 'inbox seat' ? 'seats' : usageMetric;\n    return `${usageMetric.capitalize()} usage`;\n  }\n\n  _pricingMetricRowTextForSecondary(pricingMetric, charge) {\n    let usageAmount = this.contract.perWorkspaceUsage.find(\n      workspace => workspace.app_id === this.app.id,\n    ).usage[charge.pricing_metric];\n    return `${numberFormatter(usageAmount)} ${pricingMetric.pluralize(usageAmount)}`;\n  }\n\n  @action showEditLink({ name, canEdit }) {\n    if (canEdit && this.customer.canEditCurrentSubscription) {\n      this.hoveredRow = name;\n    }\n  }\n\n  @action hideEditLink() {\n    this.hoveredRow = '';\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if summaryView.showDiscounts}}\\n  <tr class=\\\"tbl__row\\\">\\n    <td\\n      class=\\\"tbl__cell settings__billing__total settings__billing__total-price-amount\\\"\\n      colspan=\\\"2\\\"\\n    >\\n      Total monthly price\\n    </td>\\n    <td class=\\\"tbl__cell settings__billing__total\\\" colspan=\\\"2\\\">\\n      <span class={{migrationPriceDisplayClass}}>\\n        {{preDiscountTotalAmount}}\\n      </span>\\n    </td>\\n    {{#if showPriceComparison}}\\n      <td class=\\\"tbl__cell settings__billing__total\\\">\\n        <span data-test-migration>\\n          {{migrationPrice.preDiscountAmountToTwoDecimals}}\\n        </span>\\n      </td>\\n    {{/if}}\\n    {{#if isEditing}}\\n      <td></td>\\n    {{/if}}\\n  </tr>\\n  {{#each coupons as |coupon|}}\\n    <Billing::CouponLineComponent\\n      @isEditing={{isEditing}}\\n      @discountName={{coupon.discountNameFormatted}}\\n      @discountAmount={{coupon.discountAmountFormatted}}\\n      @migrationDiscountAmount={{coupon.migrationDiscountAmountFormatted}}\\n      @expiresAt={{coupon.expiresAtFormatted}}\\n      @showPriceComparison={{showPriceComparison}}\\n      @hasStamp={{coupon.hasStamp}}\\n      @updateCoupon={{action \\\"updateCoupon\\\"}}\\n      @canUpdate={{coupon.canUpdate}}\\n    />\\n  {{/each}}\\n  <tr data-test-total-amount-row class=\\\"tbl__row\\\">\\n    <td\\n      class=\\\"tbl__cell settings__billing__total settings__billing__total-price-amount\\\"\\n      colspan=\\\"2\\\"\\n    >\\n      <Billing::EditPaymentComponent @isEditing={{isEditing}} />\\n    </td>\\n    <td class=\\\"tbl__cell settings__billing__total\\\">\\n      {{#if coupons}}\\n        <span data-test-current-pricing class={{migrationPriceDisplayClass}}>\\n          ${{totalAmount}}\\n        </span>\\n        {{#if showPriceComparison}}\\n          ${{totalAmountAfterMigration}}\\n        {{/if}}\\n      {{/if}}\\n    </td>\\n    {{#if isEditing}}\\n      <td></td>\\n    {{/if}}\\n  </tr>\\n{{else if (and isEarlyStageGraduationMigrationType migrationTabSelected)}}\\n  <tr class=\\\"tbl__row\\\">\\n    <td\\n      data-test-total-price-text\\n      class=\\\"tbl__cell settings__billing__total settings__billing__total-price-amount\\\"\\n      colspan=\\\"2\\\"\\n    >\\n      Total Price after graduation\\n    </td>\\n    <td class=\\\"tbl__cell settings__billing__total\\\" colspan=\\\"2\\\">\\n      <span>\\n        ${{totalAmountAfterMigration}}\\n      </span>\\n    </td>\\n  </tr>\\n{{else if summaryView.hardCodedPrice}}\\n  <tr data-test-total-amount-row class=\\\"tbl__row\\\">\\n    <td\\n      data-test-early-stage\\n      data-test-total-price-text\\n      class=\\\"tbl__cell settings__billing__total settings__billing__total-price-amount\\\"\\n      colspan=\\\"2\\\"\\n    >\\n      {{summaryView.totalPriceText}}\\n    </td>\\n    {{#if showPriceComparison}}\\n      <td\\n        class=\\\"tbl__cell settings__billing__total u__padr__30\\\"\\n        colspan=\\\"2\\\"\\n      >\\n        <s data-test-migration data-test-amount class=\\\"text-gray\\\">\\n          {{migrationPrice.preDiscountAmountToTwoDecimals}}\\n        </s>\\n      </td>\\n    {{/if}}\\n    <td\\n      class=\\\"tbl__cell settings__billing__total\\\"\\n      data-test-total-amount\\n      colspan=\\\"2\\\"\\n    >\\n      {{summaryView.hardCodedPrice}}\\n    </td>\\n  </tr>\\n{{else}}\\n  <tr data-test-total-amount-row class=\\\"tbl__row\\\">\\n    <td\\n      data-test-early-stage\\n      class=\\\"tbl__cell settings__billing__total settings__billing__total-price-amount\\\"\\n      colspan=\\\"2\\\"\\n    >\\n      {{summaryView.totalPriceText}}\\n    </td>\\n    {{#if showPriceComparison}}\\n      <td\\n        class=\\\"tbl__cell settings__billing__total u__padr__30\\\"\\n        colspan=\\\"2\\\"\\n      >\\n        <s data-test-migration data-test-amount class=\\\"text-gray\\\">\\n          {{migrationPrice.preDiscountAmountToTwoDecimals}}\\n        </s>\\n      </td>\\n    {{/if}}\\n    <td class=\\\"tbl__cell settings__billing__total\\\" colspan=\\\"2\\\">\\n      ${{totalAmount}}\\n    </td>\\n  </tr>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if summaryView.showDiscounts}}\\n  <tr class=\\\"tbl__row\\\">\\n    <td\\n      class=\\\"tbl__cell settings__billing__total settings__billing__total-price-amount\\\"\\n      colspan=\\\"2\\\"\\n    >\\n      Total monthly price\\n    </td>\\n    <td class=\\\"tbl__cell settings__billing__total\\\" colspan=\\\"2\\\">\\n      <span class={{migrationPriceDisplayClass}}>\\n        {{preDiscountTotalAmount}}\\n      </span>\\n    </td>\\n    {{#if showPriceComparison}}\\n      <td class=\\\"tbl__cell settings__billing__total\\\">\\n        <span data-test-migration>\\n          {{migrationPrice.preDiscountAmountToTwoDecimals}}\\n        </span>\\n      </td>\\n    {{/if}}\\n    {{#if isEditing}}\\n      <td></td>\\n    {{/if}}\\n  </tr>\\n  {{#each coupons as |coupon|}}\\n    <Billing::CouponLineComponent\\n      @isEditing={{isEditing}}\\n      @discountName={{coupon.discountNameFormatted}}\\n      @discountAmount={{coupon.discountAmountFormatted}}\\n      @migrationDiscountAmount={{coupon.migrationDiscountAmountFormatted}}\\n      @expiresAt={{coupon.expiresAtFormatted}}\\n      @showPriceComparison={{showPriceComparison}}\\n      @hasStamp={{coupon.hasStamp}}\\n      @updateCoupon={{action \\\"updateCoupon\\\"}}\\n      @canUpdate={{coupon.canUpdate}}\\n    />\\n  {{/each}}\\n  <tr data-test-total-amount-row class=\\\"tbl__row\\\">\\n    <td\\n      class=\\\"tbl__cell settings__billing__total settings__billing__total-price-amount\\\"\\n      colspan=\\\"2\\\"\\n    >\\n      <Billing::EditPaymentComponent @isEditing={{isEditing}} />\\n    </td>\\n    <td class=\\\"tbl__cell settings__billing__total\\\">\\n      {{#if coupons}}\\n        <span data-test-current-pricing class={{migrationPriceDisplayClass}}>\\n          ${{totalAmount}}\\n        </span>\\n        {{#if showPriceComparison}}\\n          ${{totalAmountAfterMigration}}\\n        {{/if}}\\n      {{/if}}\\n    </td>\\n    {{#if isEditing}}\\n      <td></td>\\n    {{/if}}\\n  </tr>\\n{{else if (and isEarlyStageGraduationMigrationType migrationTabSelected)}}\\n  <tr class=\\\"tbl__row\\\">\\n    <td\\n      data-test-total-price-text\\n      class=\\\"tbl__cell settings__billing__total settings__billing__total-price-amount\\\"\\n      colspan=\\\"2\\\"\\n    >\\n      Total Price after graduation\\n    </td>\\n    <td class=\\\"tbl__cell settings__billing__total\\\" colspan=\\\"2\\\">\\n      <span>\\n        ${{totalAmountAfterMigration}}\\n      </span>\\n    </td>\\n  </tr>\\n{{else if summaryView.hardCodedPrice}}\\n  <tr data-test-total-amount-row class=\\\"tbl__row\\\">\\n    <td\\n      data-test-early-stage\\n      data-test-total-price-text\\n      class=\\\"tbl__cell settings__billing__total settings__billing__total-price-amount\\\"\\n      colspan=\\\"2\\\"\\n    >\\n      {{summaryView.totalPriceText}}\\n    </td>\\n    {{#if showPriceComparison}}\\n      <td\\n        class=\\\"tbl__cell settings__billing__total u__padr__30\\\"\\n        colspan=\\\"2\\\"\\n      >\\n        <s data-test-migration data-test-amount class=\\\"text-gray\\\">\\n          {{migrationPrice.preDiscountAmountToTwoDecimals}}\\n        </s>\\n      </td>\\n    {{/if}}\\n    <td\\n      class=\\\"tbl__cell settings__billing__total\\\"\\n      data-test-total-amount\\n      colspan=\\\"2\\\"\\n    >\\n      {{summaryView.hardCodedPrice}}\\n    </td>\\n  </tr>\\n{{else}}\\n  <tr data-test-total-amount-row class=\\\"tbl__row\\\">\\n    <td\\n      data-test-early-stage\\n      class=\\\"tbl__cell settings__billing__total settings__billing__total-price-amount\\\"\\n      colspan=\\\"2\\\"\\n    >\\n      {{summaryView.totalPriceText}}\\n    </td>\\n    {{#if showPriceComparison}}\\n      <td\\n        class=\\\"tbl__cell settings__billing__total u__padr__30\\\"\\n        colspan=\\\"2\\\"\\n      >\\n        <s data-test-migration data-test-amount class=\\\"text-gray\\\">\\n          {{migrationPrice.preDiscountAmountToTwoDecimals}}\\n        </s>\\n      </td>\\n    {{/if}}\\n    <td class=\\\"tbl__cell settings__billing__total\\\" colspan=\\\"2\\\">\\n      ${{totalAmount}}\\n    </td>\\n  </tr>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/billing/total-price-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/total-price-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { alias, readOnly, sum, gt } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport numericFormatter from 'embercom/lib/numeric-formatter';\nimport { ternary, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  tagName: 'tfoot',\n  customerService: service(),\n  store: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  customer: alias('customerService.customer'),\n  appService: service(),\n  migrationPrices: null,\n  app: alias('appService.app'),\n  currentPrice: readOnly('customerService.currentPrice'),\n  showPriceComparison: readOnly('summaryView.showPriceComparison'),\n  migrationPrice: computed('customerService.activePlans.[]', 'migrationPrices.[]', function() {\n    if (!this.migrationPrices) {\n      return null;\n    }\n\n    let activePlanIds = this.get('customerService.activePlanIds');\n    return this.migrationPrices.find(price => price.hasSamePlans(activePlanIds));\n  }),\n  preDiscountTotalAmount: ternaryToProperty(\n    'shouldShowLegacyDiscount',\n    'formattedSharedBaseTotal',\n    'currentPrice.preDiscountAmountToTwoDecimals',\n  ),\n  cardError: null,\n\n  totalAmount: alias('customerService.totalAmount'),\n  migrationPriceDisplayClass: ternary(\n    'summaryView.showPriceComparison',\n    'settings__billing__details-strike-text text-gray u__padr__20',\n    '',\n  ),\n  //start of hacks for shared base display\n  displayProductTotals: computed('customerService.products.@each.active', function() {\n    if (!this.customerService.prices) {\n      return '';\n    }\n    return this.get('customerService.products')\n      .filterBy('active')\n      .map(product => {\n        let planId = product.get('activePlan.idAsNumber');\n        if (!planId) {\n          planId = this.get('product.plans.firstObject.idAsNumber');\n        }\n        return this.get('customerService.prices')\n          .find(price => price.hasSamePlans([planId]))\n          .get('preDiscountAmount');\n      });\n  }),\n\n  displayProductTotal: sum('displayProductTotals'),\n  formattedSharedBaseTotal: computed('displayProductTotal', function() {\n    return `$${numericFormatter(this.displayProductTotal / 100, 2, true)}`;\n  }),\n\n  legacyDiscountTotal: computed(\n    'displayProductTotal',\n    'currentPrice.preDiscountAmount',\n    function() {\n      return (this.displayProductTotal - this.get('currentPrice.preDiscountAmount')) / 100;\n    },\n  ),\n\n  legacyDiscountTotalFormatted: computed('legacyDiscountTotal', function() {\n    return `$${numericFormatter(this.legacyDiscountTotal, 2, true)}`;\n  }),\n\n  shouldShowLegacyDiscount: computed('customerService.currentPrice', function() {\n    if (\n      this.get('customerService.currentPrice.breakdown') &&\n      !this.get('customer.currentlyOnEarlyStage')\n    ) {\n      return (\n        this.get('customerService.currentPrice.breakdown').any(breakdown => {\n          return this.isABaseCharge(breakdown.name);\n        }) && this.legacyDiscountTotal > 0\n      );\n    }\n    return false;\n  }),\n\n  isABaseCharge(name) {\n    return name.includes('base') || name.includes('Base');\n  },\n  //end of hacks for shared base display\n\n  couponPercentOffTextFormatted: computed('currentPrice.couponPercentOff', function() {\n    return `${this.get('currentPrice.couponPercentOff')}% off`;\n  }),\n\n  couponFixedAmountOffTextFormated: computed('currentPrice.couponDiscountAmount', function() {\n    return `$${numericFormatter(this.get('currentPrice.couponFixedAmountOff') / 100, 2, true)} off`;\n  }),\n\n  totalAmountAfterMigration: alias('migrationPrice.amountToTwoDecimals'),\n\n  couponDiscountAmountAfterMigrationFormatted: alias(\n    'migrationPrice.couponDiscountAmountFormatted',\n  ),\n\n  hasCoupons: gt('coupons.length', 0),\n\n  coupons: computed('customer.couponCode', 'showPriceComparison', function() {\n    let coupons = [];\n    if (!this.currentPrice) {\n      return coupons;\n    }\n\n    if (this.shouldShowLegacyDiscount && !this.showPriceComparison) {\n      coupons.addObject(this.buildSharedBaseLegacyCoupon());\n    }\n\n    if (this.customer.couponCode) {\n      coupons.addObject(this.buildNormalCoupon(this.showPriceComparison));\n    }\n\n    return coupons;\n  }),\n\n  makeFirstLetterLowerCase: sentence => sentence[0].toLowerCase() + sentence.slice(1),\n\n  buildNormalCoupon(addMigrationInfo) {\n    let coupon = {\n      discountNameFormatted: this.currentPrice.hasPercentOffCoupon\n        ? this.couponPercentOffTextFormatted\n        : this.couponFixedAmountOffTextFormated,\n      discountAmountFormatted: this.get('customerService.couponDiscountAmountFormatted'),\n      expiresAtFormatted: this.makeFirstLetterLowerCase(this.customer.formattedCouponExpiresAt),\n      canUpdate: true,\n    };\n\n    if (addMigrationInfo) {\n      coupon = {\n        ...coupon,\n        migrationDiscountAmountFormatted: this.couponDiscountAmountAfterMigrationFormatted,\n      };\n    }\n    return coupon;\n  },\n\n  buildSharedBaseLegacyCoupon() {\n    let coupon = {\n      discountNameFormatted: 'Legacy',\n      discountAmountFormatted: this.legacyDiscountTotalFormatted,\n    };\n\n    return coupon;\n  },\n\n  actions: {\n    updateCoupon() {\n      this.modalService.openModal('apps/app/billing/modals/coupon-modal', this.customer, {\n        isChange: true,\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<Common::ModalComponent\\n  @closeModal={{close}}\\n  data-test-unsaved-changes-modal\\n  as |modal|\\n>\\n  <div class=\\\"modal__header flex items-start\\\">\\n    <div class=\\\"modal__header__title flex-auto min-w-0 u__centered-text-block\\\">\\n      <h2 data-test-unsaved-changes-modal-header class=\\\"t__h2\\\">\\n        You have unsaved changes\\n      </h2>\\n    </div>\\n    <div class=\\\"layout__box u__cf\\\">\\n      <a\\n        data-test-unsaved-changes-modal-close\\n        onClick={{close}}\\n        class=\\\"modal__header__close__link u__right js__close-button\\\"\\n      >\\n        {{ic-interface-icon \\\"close\\\" solo=true}}\\n      </a>\\n    </div>\\n  </div>\\n  <modal.components.body\\n    class=\\\"u__padl__30 u__padr__30 u__padb__20 u__padt__10\\\"\\n  >\\n    <p\\n      data-test-unsaved-changes-modal-body\\n      class=\\\"u__centered-text-block u__padb__20\\\"\\n    >\\n      If you leave this page, your changes won’t be saved\\n    </p>\\n    <div class=\\\"modal__body__confirmation-buttons u__padb__0\\\">\\n      <div class=\\\"u__padr__10\\\">\\n        <IcButton\\n          data-test-unsaved-changes-modal-leave={{true}}\\n          @label=\\\"Leave\\\"\\n          @type=\\\"secondary-destructive\\\"\\n          @onClick={{action \\\"leave\\\"}}\\n        />\\n      </div>\\n      <div>\\n        <IcButton\\n          data-test-unsaved-changes-modal-keep-editing={{true}}\\n          @label=\\\"Keep editing\\\"\\n          @type=\\\"primary\\\"\\n          @onClick={{close}}\\n        />\\n      </div>\\n    </div>\\n  </modal.components.body>\\n</Common::ModalComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<Common::ModalComponent\\n  @closeModal={{close}}\\n  data-test-unsaved-changes-modal\\n  as |modal|\\n>\\n  <div class=\\\"modal__header flex items-start\\\">\\n    <div class=\\\"modal__header__title flex-auto min-w-0 u__centered-text-block\\\">\\n      <h2 data-test-unsaved-changes-modal-header class=\\\"t__h2\\\">\\n        You have unsaved changes\\n      </h2>\\n    </div>\\n    <div class=\\\"layout__box u__cf\\\">\\n      <a\\n        data-test-unsaved-changes-modal-close\\n        onClick={{close}}\\n        class=\\\"modal__header__close__link u__right js__close-button\\\"\\n      >\\n        {{ic-interface-icon \\\"close\\\" solo=true}}\\n      </a>\\n    </div>\\n  </div>\\n  <modal.components.body\\n    class=\\\"u__padl__30 u__padr__30 u__padb__20 u__padt__10\\\"\\n  >\\n    <p\\n      data-test-unsaved-changes-modal-body\\n      class=\\\"u__centered-text-block u__padb__20\\\"\\n    >\\n      If you leave this page, your changes won’t be saved\\n    </p>\\n    <div class=\\\"modal__body__confirmation-buttons u__padb__0\\\">\\n      <div class=\\\"u__padr__10\\\">\\n        <IcButton\\n          data-test-unsaved-changes-modal-leave={{true}}\\n          @label=\\\"Leave\\\"\\n          @type=\\\"secondary-destructive\\\"\\n          @onClick={{action \\\"leave\\\"}}\\n        />\\n      </div>\\n      <div>\\n        <IcButton\\n          data-test-unsaved-changes-modal-keep-editing={{true}}\\n          @label=\\\"Keep editing\\\"\\n          @type=\\\"primary\\\"\\n          @onClick={{close}}\\n        />\\n      </div>\\n    </div>\\n  </modal.components.body>\\n</Common::ModalComponent>\\n\",\"moduleName\":\"embercom/components/billing/unsaved-changes-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/unsaved-changes-modal.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  actions: {\n    leave() {\n      this.close();\n      this.leave();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureKey={{this.featureKey}} as |paywall|>\\n  {{#if plan}}\\n    <div\\n      class=\\\"upsell-banner__wrapper layout__box o__has-columns o__centers-all mb-8\\\"\\n      data-test-upsell-banner-component\\n    >\\n      <div\\n        class=\\\"upsell-banner__icon__container mr-8\\\"\\n        data-test-product-icon={{productIcon}}\\n      >\\n        {{inline-svg productIcon class=\\\"upsell-banner__icon__icon u__center-item\\\"\\n        }}\\n      </div>\\n      <div class=\\\"flex-auto min-w-0 upsell-banner__content\\\">\\n        <h2 class=\\\"t__h2 u__mb__5\\\" data-test-upsell-title>\\n          Try {{plan.name}}\\n        </h2>\\n        <div>\\n          <span data-test-upsell-description>\\n            {{plan.description}}.\\n          </span>\\n          <a\\n            class=\\\"t__em-link\\\"\\n            data-test-billing-upsell-banner-cta\\n            {{on \\\"click\\\" paywall.openUpgradeModal}}\\n          >\\n            Learn more\\n          </a>\\n        </div>\\n      </div>\\n    </div>\\n  {{/if}}\\n</Paywall>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureKey={{this.featureKey}} as |paywall|>\\n  {{#if plan}}\\n    <div\\n      class=\\\"upsell-banner__wrapper layout__box o__has-columns o__centers-all mb-8\\\"\\n      data-test-upsell-banner-component\\n    >\\n      <div\\n        class=\\\"upsell-banner__icon__container mr-8\\\"\\n        data-test-product-icon={{productIcon}}\\n      >\\n        {{inline-svg productIcon class=\\\"upsell-banner__icon__icon u__center-item\\\"\\n        }}\\n      </div>\\n      <div class=\\\"flex-auto min-w-0 upsell-banner__content\\\">\\n        <h2 class=\\\"t__h2 u__mb__5\\\" data-test-upsell-title>\\n          Try {{plan.name}}\\n        </h2>\\n        <div>\\n          <span data-test-upsell-description>\\n            {{plan.description}}.\\n          </span>\\n          <a\\n            class=\\\"t__em-link\\\"\\n            data-test-billing-upsell-banner-cta\\n            {{on \\\"click\\\" paywall.openUpgradeModal}}\\n          >\\n            Learn more\\n          </a>\\n        </div>\\n      </div>\\n    </div>\\n  {{/if}}\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/billing/upsell-banner-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/billing/upsell-banner-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { alias, readOnly, and, not, or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport {\n  PRODUCTS,\n  MODAL_UPGRADE_PLAN_INFO,\n  ARTICLES_ESSENTIAL_ID,\n  ANSWER_BOT_ESSENTIAL_ID,\n  OPERATOR_PRO_ID,\n  ARTICLES_PRO_ID,\n} from 'embercom/lib/billing';\n\nexport default Component.extend({\n  purchaseAnalyticsService: service(),\n  intercomEventService: service(),\n  appService: service(),\n  customerService: service(),\n  customer: alias('customerService.customer'),\n  app: alias('appService.app'),\n\n  didRender() {\n    this._super(...arguments);\n    if (this.plan) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'viewed',\n        object: 'upsell-banner',\n        context: this.planId,\n        productName: this.get('product.key'),\n        place: 'billing',\n      });\n    }\n  },\n\n  productIcon: computed('plan', function() {\n    return `products/id-${this.get('plan.productId')}-brand-refresh-product-card`;\n  }),\n\n  product: computed('plan', function() {\n    return PRODUCTS[this.get('plan.productId')];\n  }),\n\n  customBotsIsActive: readOnly('app.customBotsIsActive'),\n  onlyInboxIsActive: and('app.onlyOneProductIsActive', 'app.inboxIsActive'),\n  notOnlyInboxIsActive: not('onlyInboxIsActive'),\n\n  answerBotIsActive: readOnly('app.answerBotIsActive'),\n  answerBotIsNotActive: not('answerBotIsActive'),\n  hasCustomBotsOrOnlyInbox: or('customBotsIsActive', 'onlyInboxIsActive'),\n  notEarlyStageApplicant: not('app.validEarlyStageApplicant'),\n  notCurrentlyOnEarlyStage: not('customer.currentlyOnEarlyStage'),\n  notEarlyStage: and('notEarlyStageApplicant', 'notCurrentlyOnEarlyStage'),\n  showAnswerBotBanner: and('answerBotIsNotActive', 'hasCustomBotsOrOnlyInbox', 'notEarlyStage'),\n\n  customBotsIsNotActive: not('customBotsIsActive'),\n  showCustomBotsBanner: and('customBotsIsNotActive', 'notOnlyInboxIsActive'),\n\n  articlesProIsNotActive: not('app.articlesProduct.hasProPlan'),\n  doesNotHaveArticles: readOnly('app.articlesProduct.inactive'),\n\n  planId: computed(\n    'doesNotHaveArticles',\n    'articlesProIsNotActive',\n    'showAnswerBotBanner',\n    'showCustomBotsBanner',\n    function() {\n      if (this.showAnswerBotBanner) {\n        return ANSWER_BOT_ESSENTIAL_ID;\n      } else if (this.showCustomBotsBanner) {\n        return OPERATOR_PRO_ID;\n      } else if (this.doesNotHaveArticles) {\n        return ARTICLES_ESSENTIAL_ID;\n      } else if (this.articlesProIsNotActive) {\n        return ARTICLES_PRO_ID;\n      }\n    },\n  ),\n\n  plan: computed('planId', function() {\n    return MODAL_UPGRADE_PLAN_INFO[this.planId];\n  }),\n\n  featureKey: readOnly('product.uniqueFeatureKey'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__centers-all boot-error\\\">\\n  <div>\\n    <div class=\\\"u__pad__40 u__right\\\">\\n      <img src=\\\"/assets/images/error/intercom-logo.png\\\" width=\\\"32\\\">\\n      <h1 class=\\\"t__h1 u__padt__15 u__padb__15 boot-error__heading\\\">\\n        We're having technical difficulties\\n      </h1>\\n\\n      <div class=\\\"boot-error__body\\\">\\n        <p class=\\\"u__mb__5\\\">\\n          We'll have things running smoothly again soon.\\n        </p>\\n\\n        <p>\\n          <a href=\\\"https://www.intercomstatus.com/\\\" class=\\\"t__em-link\\\">Check our system status</a> for live updates.\\n        </p>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__centers-all boot-error\\\">\\n  <div>\\n    <div class=\\\"u__pad__40 u__right\\\">\\n      <img src=\\\"/assets/images/error/intercom-logo.png\\\" width=\\\"32\\\">\\n      <h1 class=\\\"t__h1 u__padt__15 u__padb__15 boot-error__heading\\\">\\n        We're having technical difficulties\\n      </h1>\\n\\n      <div class=\\\"boot-error__body\\\">\\n        <p class=\\\"u__mb__5\\\">\\n          We'll have things running smoothly again soon.\\n        </p>\\n\\n        <p>\\n          <a href=\\\"https://www.intercomstatus.com/\\\" class=\\\"t__em-link\\\">Check our system status</a> for live updates.\\n        </p>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/boot-error.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/boot-error.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"settings__attributes-events__event-creation__modal__text o__break-word\\\">\\n  {{#if (eq boundWebEvent.eventTrigger 'visit')}}\\n    Page views of <a href={{boundWebEvent.sourceUrl}} target='_blank' rel=\\\"noopener noreferrer\\\" class=\\\"settings__attributes-events__event-creation__modal__text\\\">{{boundWebEvent.sourceUrl}}</a>\\n    {{#if boundWebEvent.hasDynamicSegment}} and similar URLs{{/if}}\\n  {{else}}\\n    Clicks on\\n      {{#if boundWebEvent.elementText}}\\n        \\\"{{boundWebEvent.elementText}}\\\"\\n      {{else}}\\n        the chosen element\\n      {{/if}}\\n    {{#if boundWebEvent.sourceUrl}}\\n      from <a href={{boundWebEvent.sourceUrl}} target='_blank' rel=\\\"noopener noreferrer\\\" class=\\\"settings__attributes-events__event-creation__modal__text\\\">{{boundWebEvent.sourceUrl}}</a>\\n      {{#if boundWebEvent.hasDynamicSegment}} and similar URLs{{/if}}\\n    {{/if}}\\n  {{/if}}\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"settings__attributes-events__event-creation__modal__text o__break-word\\\">\\n  {{#if (eq boundWebEvent.eventTrigger 'visit')}}\\n    Page views of <a href={{boundWebEvent.sourceUrl}} target='_blank' rel=\\\"noopener noreferrer\\\" class=\\\"settings__attributes-events__event-creation__modal__text\\\">{{boundWebEvent.sourceUrl}}</a>\\n    {{#if boundWebEvent.hasDynamicSegment}} and similar URLs{{/if}}\\n  {{else}}\\n    Clicks on\\n      {{#if boundWebEvent.elementText}}\\n        \\\"{{boundWebEvent.elementText}}\\\"\\n      {{else}}\\n        the chosen element\\n      {{/if}}\\n    {{#if boundWebEvent.sourceUrl}}\\n      from <a href={{boundWebEvent.sourceUrl}} target='_blank' rel=\\\"noopener noreferrer\\\" class=\\\"settings__attributes-events__event-creation__modal__text\\\">{{boundWebEvent.sourceUrl}}</a>\\n      {{#if boundWebEvent.hasDynamicSegment}} and similar URLs{{/if}}\\n    {{/if}}\\n  {{/if}}\\n</span>\\n\",\"moduleName\":\"embercom/components/bound-web-event-description.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/bound-web-event-description.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (gt @totalCount 0)}}\\n  {{#if this.showArchiveModal}}\\n    {{component\\n      this.archiveComponent\\n      closeModal=(set this.showArchiveModal false)\\n      selected=@selected\\n      predicates=@predicates\\n      totalCount=@totalCount\\n      personTypeName=@personTypeName\\n      reload=@reload\\n    }}\\n  {{/if}}\\n  <IcDropdownOpener\\n    @groupList={{this.bulkActions}}\\n    @label=\\\"More\\\"\\n    data-test-bulk-actions-dropdown={{true}}\\n    data-intercom-target=\\\"Bulk actions dropdown\\\"\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{#if (gt @totalCount 0)}}\\n  {{#if this.showArchiveModal}}\\n    {{component\\n      this.archiveComponent\\n      closeModal=(set this.showArchiveModal false)\\n      selected=@selected\\n      predicates=@predicates\\n      totalCount=@totalCount\\n      personTypeName=@personTypeName\\n      reload=@reload\\n    }}\\n  {{/if}}\\n  <IcDropdownOpener\\n    @groupList={{this.bulkActions}}\\n    @label=\\\"More\\\"\\n    data-test-bulk-actions-dropdown={{true}}\\n    data-intercom-target=\\\"Bulk actions dropdown\\\"\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/bulk-action-select-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/bulk-action-select-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-side-effects */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport { templateString, ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport pluralise from 'embercom/lib/inflector';\n\nlet BulkActionSelectComponent = Component.extend({\n  intercomEventService: service(),\n  appService: service(),\n  usersOrCompanies: computed('isCompany', function() {\n    if (this.isCompany) {\n      return 'companies';\n    }\n    return pluralise(this.personTypeName);\n  }),\n\n  bulkExportTooltipText: templateString('Export ${bulkActionAudienceLabel}'),\n  bulkArchiveTooltipText: templateString('Archive ${bulkActionAudienceLabel}'),\n\n  archiveComponent: ternary(\n    'isCompany',\n    'modal/company-deletion/bulk-archive-companies',\n    'modal/user-deletion/bulk-archive-users',\n  ),\n\n  bulkActions: computed(function() {\n    let items = [\n      {\n        text: `Export ${this.usersOrCompanies}`,\n        icon: 'filled-cloud-download',\n        value: 'export',\n        onSelectItem: () => this.send('export'),\n        tooltipText: this.bulkExportTooltipText,\n      },\n      {\n        text: `Archive ${this.usersOrCompanies}`,\n        icon: 'delete',\n        value: 'archive',\n        onSelectItem: () => this.send('delete'),\n        tooltipText: this.bulkArchiveTooltipText,\n        isDestructive: true,\n      },\n    ];\n\n    return [{ items }];\n  }),\n\n  actions: {\n    export() {\n      this.checkPermissionsForExportAndOpenAppropriateModal();\n    },\n    showCreateUserModal() {\n      this.showCreateUserModal();\n    },\n    startImport() {\n      this.import();\n    },\n    delete() {\n      this._trackAnalytics('archive-clicked');\n      this.set('showArchiveModal', true);\n    },\n  },\n\n  _trackAnalytics(_action) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: _action,\n      object: this.usersOrCompanies,\n      place: 'platform',\n    });\n  },\n});\n\nexport default BulkActionSelectComponent;\n","import ButtonEditor from '@intercom/embercom-composer/components/button-editor';\nexport default ButtonEditor;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"{{selectClass}} {{if isOpen 'o__opened'}} {{if disabled 'o__disabled u__disable-pointer-events'}} {{if parentHovered 'o__light'}}\\\" {{action 'openCalendar'}}>\\n  <span class=\\\"t__select-group-label u__one-truncated-line {{if disabled 'text-gray'}}\\\">\\n    {{ic-interface-icon 'calendar'}} {{selectedDate}}\\n  </span>\\n  <span class=\\\"{{caretClass}}\\\">{{ic-interface-icon 'small-down-arrow' solo=true}}</span>\\n</span>\\n{{! template-lint-disable intercom/no-legacy-datepicker }}\\n{{partial 'components/partials/calendar-date-picker-dropdown'}}\\n{{! template-lint-enable intercom/no-legacy-datepicker }}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"{{selectClass}} {{if isOpen 'o__opened'}} {{if disabled 'o__disabled u__disable-pointer-events'}} {{if parentHovered 'o__light'}}\\\" {{action 'openCalendar'}}>\\n  <span class=\\\"t__select-group-label u__one-truncated-line {{if disabled 'text-gray'}}\\\">\\n    {{ic-interface-icon 'calendar'}} {{selectedDate}}\\n  </span>\\n  <span class=\\\"{{caretClass}}\\\">{{ic-interface-icon 'small-down-arrow' solo=true}}</span>\\n</span>\\n{{! template-lint-disable intercom/no-legacy-datepicker }}\\n{{partial 'components/partials/calendar-date-picker-dropdown'}}\\n{{! template-lint-enable intercom/no-legacy-datepicker }}\\n\",\"moduleName\":\"embercom/components/calendar-date-picker-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/calendar-date-picker-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { schedule } from '@ember/runloop';\nimport $ from 'jquery';\nimport { A } from '@ember/array';\nimport { computed, observer } from '@ember/object';\nimport { on } from '@ember/object/evented';\nimport { equal } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { subtractFrom, ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport ScrollManager from 'embercom/components/mixins/scroll-manager';\nimport CloseOnDocumentClickManager from 'embercom/components/mixins/close-on-document-click-manager';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport moment from 'moment';\n\n// Calendar date picker component:\n// Arguments:\n//  day: selected day (defaults to current date if null)\n//  month: selected month (defaults to current month if null)\n//  year: selected year (defaults to current year if null)\n//  disabled: whether the picker should be disabled (defaults to false)\n//  scrollParent: the scroll parent that we bind to to manage relative scrolling.\n//  disablePast: whether selecting dates in the past should be forbidden (defaults to false)\n//  disableFuture: whether selecting dates in the future should be forbidden (defaults to false)\nlet CalendarDatePickerComponent = Component.extend(ScrollManager, CloseOnDocumentClickManager, {\n  classNames: ['flex', 'items-center'],\n  classNameBindings: ['isInvisibleSelect:f__invisible-select', 'isOpen:o__opened'],\n  attributeBindings: ['tabindex'],\n  tabindex: 0,\n  MAX_WEEKS_IN_MONTH: 5,\n  DAYS_IN_WEEK: 7,\n  selectClass: ternary('isInvisibleSelect', 'f__invisible-select__box', 'f__custom-select__box'),\n  caretClass: ternary('isInvisibleSelect', 'f__invisible-select__caret', 'f__custom-select__caret'),\n  inputSelector: '.f__custom-select__box',\n  isFirstMonth: equal('month', 1),\n  momentMonthIndex: subtractFrom('month', 1),\n  disablePast: false,\n  disableFuture: false,\n  disabled: false,\n\n  setup: on('didInsertElement', function() {\n    let currentDate = moment();\n    if (!this.day) {\n      this.set('day', currentDate.date());\n    }\n    if (!this.month) {\n      this.set('month', currentDate.month() + 1);\n    }\n    if (!this.year) {\n      this.set('year', currentDate.year());\n    }\n    this.setSelectedDate();\n  }),\n  didInsertElement() {\n    this._super(...arguments);\n    this.bindToScrollParent(this._calculateCalendarPositioning);\n  },\n  willDestroyElement() {\n    this.unbindFromScrollParent();\n    this._super(...arguments);\n  },\n\n  setSelectedDate() {\n    this.set(\n      'selectedDate',\n      moment({\n        day: this.day,\n        month: this.momentMonthIndex,\n        year: this.year,\n      }).format(dateAndTimeFormats.date),\n    );\n  },\n\n  moment: computed('month', 'year', function() {\n    return moment({\n      year: this.year,\n      month: this.momentMonthIndex,\n    });\n  }),\n\n  monthAndYearLabel: computed('moment', function() {\n    return this.moment.format(dateAndTimeFormats.monthAndYear);\n  }),\n\n  numberOfDaysInMonth: computed('month', 'year', function() {\n    return new Date(this.year, this.month, 0).getDate();\n  }),\n\n  numberOfDaysInPreviousMonth: computed('month', 'year', function() {\n    let month = this.isFirstMonth ? 12 : this.month - 1;\n    let year = this.isFirstMonth ? this.year - 1 : this.year;\n    return new Date(year, month, 0).getDate();\n  }),\n\n  firstDayOfMonth: computed('moment', function() {\n    return this.moment.date(1).days();\n  }),\n\n  calendarData: computed('moment', 'day', function() {\n    let weeks = A();\n    let day = 1;\n    for (let week = 0; week <= this.MAX_WEEKS_IN_MONTH; week++) {\n      let days = [];\n      for (let dayOfWeek = 0; dayOfWeek < this.DAYS_IN_WEEK; dayOfWeek++) {\n        if (this._isDayBeforeFirstDayOfTheMonth(week, dayOfWeek)) {\n          days.pushObject(this._getPreviousMonthDay(dayOfWeek));\n        } else if (day > this.numberOfDaysInMonth) {\n          // Don't start a new week for the next month\n          if (dayOfWeek === 0) {\n            break;\n          }\n          days.pushObject(this._getNextMonthDay(day));\n          day++;\n        } else {\n          days.pushObject(this._getCurrentMonthDay(day));\n          day++;\n        }\n      }\n      if (days.length) {\n        weeks.pushObject(days);\n      }\n    }\n    return weeks;\n  }),\n\n  _isDayBeforeFirstDayOfTheMonth(week, day) {\n    return week === 0 && day < this.firstDayOfMonth;\n  },\n\n  _getPreviousMonthDay(dayOfWeek) {\n    let previousMonthDate = this.numberOfDaysInPreviousMonth - this.firstDayOfMonth + dayOfWeek + 1;\n    return {\n      date: previousMonthDate,\n      isToday: this._isToday(previousMonthDate, this.momentMonthIndex - 1),\n      isSelected: this._isSelected(previousMonthDate, this.momentMonthIndex - 1),\n      isDisabled: this._isDisabled(previousMonthDate, this.momentMonthIndex - 1),\n      isPreviousWeek: true,\n    };\n  },\n\n  _getCurrentMonthDay(day) {\n    return {\n      date: day,\n      isToday: this._isToday(day, this.momentMonthIndex),\n      isSelected: this._isSelected(day, this.momentMonthIndex),\n      isDisabled: this._isDisabled(day, this.momentMonthIndex),\n    };\n  },\n\n  _getNextMonthDay(day) {\n    let nextMonthDate = day - this.numberOfDaysInMonth;\n    return {\n      date: nextMonthDate,\n      isToday: this._isToday(nextMonthDate, this.momentMonthIndex + 1),\n      isSelected: this._isSelected(nextMonthDate, this.momentMonthIndex + 1),\n      isDisabled: this._isDisabled(nextMonthDate, this.momentMonthIndex + 1),\n      isNextWeek: true,\n    };\n  },\n\n  _isSelected(day, month) {\n    return moment({\n      day,\n      month,\n      year: this.year,\n    }).isSame(this.selectedDate, 'days');\n  },\n\n  _isToday(day, month) {\n    return moment({\n      day,\n      month,\n      year: this.year,\n    }).isSame(moment(), 'days');\n  },\n\n  _isDisabled(day, month) {\n    let date = moment({ day, month, year: this.year });\n    let inPast = date.isBefore(moment(), 'days');\n    let inFuture = date.isAfter(moment(), 'days');\n\n    return (this.disablePast && inPast) || (this.disableFuture && inFuture);\n  },\n\n  _calculateCalendarPositioning: observer({\n    dependentKeys: ['isOpen', 'month'],\n\n    fn() {\n      if (this.isOpen && !this.isDestroying) {\n        schedule('afterRender', this, function() {\n          if (this.isDestroying) {\n            return true;\n          }\n          let $input = $(this.inputSelector, this.element);\n          if ($input.length === 0) {\n            $input = $(this.element);\n          }\n          let $calendar = $('.overlay', this.element);\n          let inputBoundingRect = $input[0].getBoundingClientRect();\n\n          $calendar.css({ paddingBottom: 0 }); // Remove padding before calculating height.\n          let top = this._calculateTopPosition($calendar, inputBoundingRect);\n          $calendar.css({\n            position: 'fixed',\n            top: `${top}px`,\n            left: `${inputBoundingRect.left}px`,\n            width: '225px',\n            paddingBottom: 0,\n          });\n        });\n      }\n    },\n\n    sync: true,\n  }),\n\n  _calculateTopPosition($calendar, inputBoundingRect) {\n    let MAX_HEIGHT = 260; // This is the height of a six-week calendar\n    let shouldOpenBelow = inputBoundingRect.bottom + MAX_HEIGHT < window.innerHeight;\n    return shouldOpenBelow\n      ? inputBoundingRect.bottom\n      : inputBoundingRect.top - $calendar.outerHeight();\n  },\n\n  actions: {\n    openCalendar() {\n      this.toggleProperty('isOpen');\n    },\n    previousMonth() {\n      if (this.isFirstMonth) {\n        this.setProperties({\n          month: 12,\n          year: this.year - 1,\n        });\n      } else {\n        this.decrementProperty('month');\n      }\n    },\n    nextMonth() {\n      if (this.month === 12) {\n        this.setProperties({\n          month: 1,\n          year: this.year + 1,\n        });\n      } else {\n        this.incrementProperty('month');\n      }\n    },\n    selectDate(day) {\n      this.set('day', day);\n      this.setSelectedDate();\n      this.set('isOpen', false);\n\n      let onUpdateAction = this.onUpdate;\n      if (onUpdateAction) {\n        onUpdateAction(this.getProperties('day', 'month', 'year'));\n      }\n    },\n  },\n});\n\nexport default CalendarDatePickerComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (eq counts.all 0)}}\\n  <IcEmptyState data-test-empty-state @icon=\\\"campaign\\\" @title=\\\"No campaigns\\\" />\\n{{else}}\\n  <div\\n    data-test-campaigns-list-filters\\n    class=\\\"message__list__tabs tabs__discrete-tab__container u__cf u__padt__20 u__padl__0\\\"\\n  >\\n    <Campaigns::FilterLinks\\n      @state={{state}}\\n      @filters={{filters}}\\n      @counts={{counts}}\\n    />\\n  </div>\\n  {{#if campaigns}}\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-columns\\\">\\n      <div class=\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls\\\">\\n        <div class=\\\"layout__box o__has-rows o__flexes-to-1 ember-view\\\">\\n          <div\\n            class=\\\"o__has-rows main__content layout__box o__flexes-to-1 o__scrolls ember-view u__padl__0 u__padr__0 u__padb__0 u__padt__0 js__campaign-list__outer-container\\\"\\n            data-table-scroll-container\\n          >\\n            <PaginationComponent\\n              @viewportSelector=\\\".js__campaign-list__outer-container\\\"\\n              @scrollingContentSelector=\\\".js__campaign-list-table\\\"\\n              @onPageRequested={{nextPage}}\\n            >\\n              {{!-- template-lint-disable intercom/no-custom-table --}}\\n              <table data-test-campaign-list-table class=\\\"tbl o__fit js__campaign-list-table\\\">\\n                {{!-- template-lint-enable intercom/no-custom-table --}}\\n                <Campaigns::Table::TableHeaders\\n                  @sortBy={{sortBy}}\\n                  @sortColumn={{sortColumn}}\\n                  @sortDirection={{sortDirection}}\\n                />\\n                <tbody class=\\\"tbl__body\\\" data-test-campaign-list-body>\\n                  {{#each campaigns as |campaign|}}\\n                    <tr data-test-campaign-list-table-row class=\\\"tbl__row\\\">\\n                      <td class=\\\"tbl__cell\\\">\\n                        <Campaigns::Table::TitleCell @row={{campaign}} />\\n                      </td>\\n                      <td class=\\\"tbl__cell\\\">\\n                        <Campaigns::Table::MessageCountCell @row={{campaign}} />\\n                      </td>\\n                      <td class=\\\"tbl__cell\\\">\\n                        <span data-test-entered-user-count>\\n                          {{numeric-formatter-helper campaign.stats.enteredUserCount}}\\n                        </span>\\n                      </td>\\n                      <td class=\\\"tbl__cell\\\">\\n                        <span data-test-current-user-count>\\n                          {{numeric-formatter-helper campaign.stats.currentUserCount}}\\n                        </span>\\n                      </td>\\n                      <td class=\\\"tbl__cell\\\">\\n                        <span data-test-exited-user-count>\\n                          {{numeric-formatter-helper campaign.stats.exitedUserCount}}\\n                        </span>\\n                      </td>\\n                      <td class=\\\"tbl__cell\\\">\\n                        <span data-test-goal-success-rate class=\\\"outbound__goal-stat\\\">\\n                          {{#if (not campaign.stats.goalSuccessRate)}}\\n                            &mdash;\\n                          {{else}}\\n                            {{format-percentage campaign.stats.goalSuccessRate}}\\n                          {{/if}}\\n                        </span>\\n                      </td>\\n                      <td class=\\\"tbl__cell\\\">\\n                        <Campaigns::Table::CreatedCell @row={{campaign}} />\\n                      </td>\\n                    </tr>\\n                  {{/each}}\\n                  <tr>\\n                    <td colspan=\\\"100%\\\" data-test-loading-indicator>\\n                      {{#if isLoading}}\\n                        <div data-test-loading-indicator-on class=\\\"layout__box o__flexes-to-1 o__centers-all\\\">\\n                          <IcLoadingIndicator @size=\\\"small\\\" />\\n                        </div>\\n                      {{/if}}\\n                    </td>\\n                  </tr>\\n                </tbody>\\n              </table>\\n            </PaginationComponent>\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  {{else}}\\n    <IcEmptyState\\n      data-test-empty-state-wrapper\\n      @icon=\\\"campaign\\\"\\n      @title={{emptyStateLabel}}\\n    />\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (eq counts.all 0)}}\\n  <IcEmptyState data-test-empty-state @icon=\\\"campaign\\\" @title=\\\"No campaigns\\\" />\\n{{else}}\\n  <div\\n    data-test-campaigns-list-filters\\n    class=\\\"message__list__tabs tabs__discrete-tab__container u__cf u__padt__20 u__padl__0\\\"\\n  >\\n    <Campaigns::FilterLinks\\n      @state={{state}}\\n      @filters={{filters}}\\n      @counts={{counts}}\\n    />\\n  </div>\\n  {{#if campaigns}}\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-columns\\\">\\n      <div class=\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls\\\">\\n        <div class=\\\"layout__box o__has-rows o__flexes-to-1 ember-view\\\">\\n          <div\\n            class=\\\"o__has-rows main__content layout__box o__flexes-to-1 o__scrolls ember-view u__padl__0 u__padr__0 u__padb__0 u__padt__0 js__campaign-list__outer-container\\\"\\n            data-table-scroll-container\\n          >\\n            <PaginationComponent\\n              @viewportSelector=\\\".js__campaign-list__outer-container\\\"\\n              @scrollingContentSelector=\\\".js__campaign-list-table\\\"\\n              @onPageRequested={{nextPage}}\\n            >\\n              {{!-- template-lint-disable intercom/no-custom-table --}}\\n              <table data-test-campaign-list-table class=\\\"tbl o__fit js__campaign-list-table\\\">\\n                {{!-- template-lint-enable intercom/no-custom-table --}}\\n                <Campaigns::Table::TableHeaders\\n                  @sortBy={{sortBy}}\\n                  @sortColumn={{sortColumn}}\\n                  @sortDirection={{sortDirection}}\\n                />\\n                <tbody class=\\\"tbl__body\\\" data-test-campaign-list-body>\\n                  {{#each campaigns as |campaign|}}\\n                    <tr data-test-campaign-list-table-row class=\\\"tbl__row\\\">\\n                      <td class=\\\"tbl__cell\\\">\\n                        <Campaigns::Table::TitleCell @row={{campaign}} />\\n                      </td>\\n                      <td class=\\\"tbl__cell\\\">\\n                        <Campaigns::Table::MessageCountCell @row={{campaign}} />\\n                      </td>\\n                      <td class=\\\"tbl__cell\\\">\\n                        <span data-test-entered-user-count>\\n                          {{numeric-formatter-helper campaign.stats.enteredUserCount}}\\n                        </span>\\n                      </td>\\n                      <td class=\\\"tbl__cell\\\">\\n                        <span data-test-current-user-count>\\n                          {{numeric-formatter-helper campaign.stats.currentUserCount}}\\n                        </span>\\n                      </td>\\n                      <td class=\\\"tbl__cell\\\">\\n                        <span data-test-exited-user-count>\\n                          {{numeric-formatter-helper campaign.stats.exitedUserCount}}\\n                        </span>\\n                      </td>\\n                      <td class=\\\"tbl__cell\\\">\\n                        <span data-test-goal-success-rate class=\\\"outbound__goal-stat\\\">\\n                          {{#if (not campaign.stats.goalSuccessRate)}}\\n                            &mdash;\\n                          {{else}}\\n                            {{format-percentage campaign.stats.goalSuccessRate}}\\n                          {{/if}}\\n                        </span>\\n                      </td>\\n                      <td class=\\\"tbl__cell\\\">\\n                        <Campaigns::Table::CreatedCell @row={{campaign}} />\\n                      </td>\\n                    </tr>\\n                  {{/each}}\\n                  <tr>\\n                    <td colspan=\\\"100%\\\" data-test-loading-indicator>\\n                      {{#if isLoading}}\\n                        <div data-test-loading-indicator-on class=\\\"layout__box o__flexes-to-1 o__centers-all\\\">\\n                          <IcLoadingIndicator @size=\\\"small\\\" />\\n                        </div>\\n                      {{/if}}\\n                    </td>\\n                  </tr>\\n                </tbody>\\n              </table>\\n            </PaginationComponent>\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  {{else}}\\n    <IcEmptyState\\n      data-test-empty-state-wrapper\\n      @icon=\\\"campaign\\\"\\n      @title={{emptyStateLabel}}\\n    />\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/campaigns/campaign-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/campaign-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { isEqual } from '@ember/utils';\nimport $ from 'jquery';\n\nexport default Component.extend({\n  'data-test-campaign-list': true,\n  classNames: ['layout__box', 'o__flexes-to-1', 'o__has-rows'],\n  appService: service(),\n  app: readOnly('appService.app'),\n  columns: [\n    {\n      label: 'Title',\n      valueComponent: 'campaigns/table/title-cell',\n      canExpandToFit: true,\n    },\n    {\n      icon: 'chat-bubble',\n      label: 'Messages',\n      valueComponent: 'campaigns/table/message-count-cell',\n    },\n    {\n      label: 'Joined',\n    },\n    {\n      label: 'Members',\n    },\n    {\n      label: 'Left',\n    },\n    {\n      icon: 'goals',\n      label: 'Goal',\n    },\n    {\n      icon: 'calendar',\n      label: 'Created',\n      valueComponent: 'campaigns/table/created-cell',\n    },\n  ],\n  currentState: undefined,\n  filters: ['all', 'live', 'draft', 'stopped'],\n\n  scrollToTop() {\n    $('.js__campaign-list__outer-container').scrollTop(0);\n  },\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    if (!isEqual(this.currentState, this.state)) {\n      this.scrollToTop();\n      this.set('currentState', this.state);\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if validationMessages.length}}\\n  <div class=\\\"h-1\\\"></div>\\n  {{#each validationMessages as |validationMessage|}}\\n    <div class=\\\"flex items-start text-red\\\">\\n      {{ic-interface-icon 'alert'}}\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <span class=\\\"predicate__description\\\" data-test-campaign-list-message-error>{{validationMessage}}</span>\\n      </div>\\n    </div>\\n  {{/each}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if validationMessages.length}}\\n  <div class=\\\"h-1\\\"></div>\\n  {{#each validationMessages as |validationMessage|}}\\n    <div class=\\\"flex items-start text-red\\\">\\n      {{ic-interface-icon 'alert'}}\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <span class=\\\"predicate__description\\\" data-test-campaign-list-message-error>{{validationMessage}}</span>\\n      </div>\\n    </div>\\n  {{/each}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/campaigns/campaign-message-validations.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/campaign-message-validations.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport PanelValidator from 'embercom/components/mixins/messages/panel-validator';\nimport VALIDATIONS from 'embercom/models/data/messages/message-validation-map';\n\nexport default Component.extend(PanelValidator, {\n  validationMessages: computed(\n    'message.validations.messages',\n    'message.selectionStateValuesAreValid',\n    function() {\n      let panels = Object.keys(VALIDATIONS);\n      return panels\n        .map(panel => this.getValidationResults(panel))\n        .rejectBy('success')\n        .mapBy('errors')\n        .flat()\n        .uniq();\n    },\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"card__inner\\\">\\n  <b>\\n    What do you want to do if two messages match at the same time?\\n  </b>\\n  <div class=\\\"h-2\\\"></div>\\n  <div>\\n    <label data-test-enable-spacing {{action \\\"enableSpacing\\\"}}>\\n      <span class=\\\"u__disable-pointer-events\\\">\\n        <input\\n          class=\\\"u__mr__5\\\"\\n          type=\\\"radio\\\"\\n          checked={{campaign.hasSpacing}}\\n          data-test-spacing-editor\\n        />\\n      </span>\\n      Send in order of importance\\n    </label>\\n    <Predicates::Inline::ComparisonEditor\\n      @content={{spacingOptions}}\\n      @value={{spacingValue}}\\n      @scrollParentSelector=\\\".campaign__outer-container\\\"\\n      @selectionChanged=\\\"setSpacingValue\\\"\\n      @disabled={{campaign.hasNoSpacing}}\\n      data-test-comparison-editor={{true}}\\n    />\\n  </div>\\n  <div class=\\\"h-2\\\"></div>\\n  <div>\\n    <label data-test-disable-spacing {{action \\\"disableSpacing\\\"}}>\\n      <span class=\\\"u__disable-pointer-events\\\">\\n        <input\\n          class=\\\"u__mr__5\\\"\\n          type=\\\"radio\\\"\\n          checked={{campaign.hasNoSpacing}}\\n        />\\n      </span>\\n      Send at the same time\\n    </label>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"card__inner\\\">\\n  <b>\\n    What do you want to do if two messages match at the same time?\\n  </b>\\n  <div class=\\\"h-2\\\"></div>\\n  <div>\\n    <label data-test-enable-spacing {{action \\\"enableSpacing\\\"}}>\\n      <span class=\\\"u__disable-pointer-events\\\">\\n        <input\\n          class=\\\"u__mr__5\\\"\\n          type=\\\"radio\\\"\\n          checked={{campaign.hasSpacing}}\\n          data-test-spacing-editor\\n        />\\n      </span>\\n      Send in order of importance\\n    </label>\\n    <Predicates::Inline::ComparisonEditor\\n      @content={{spacingOptions}}\\n      @value={{spacingValue}}\\n      @scrollParentSelector=\\\".campaign__outer-container\\\"\\n      @selectionChanged=\\\"setSpacingValue\\\"\\n      @disabled={{campaign.hasNoSpacing}}\\n      data-test-comparison-editor={{true}}\\n    />\\n  </div>\\n  <div class=\\\"h-2\\\"></div>\\n  <div>\\n    <label data-test-disable-spacing {{action \\\"disableSpacing\\\"}}>\\n      <span class=\\\"u__disable-pointer-events\\\">\\n        <input\\n          class=\\\"u__mr__5\\\"\\n          type=\\\"radio\\\"\\n          checked={{campaign.hasNoSpacing}}\\n        />\\n      </span>\\n      Send at the same time\\n    </label>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/campaigns/campaign-spacing-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/campaign-spacing-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { on } from '@ember/object/evented';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\n\nexport default Component.extend({\n  notificationsService: service(),\n\n  MINIMUM_SPACING_VALUE: 24,\n  spacingOptions: [\n    { label: '1 day apart', value: 24 },\n    { label: '2 days apart', value: 48 },\n    { label: '3 days apart', value: 72 },\n    { label: '4 days apart', value: 96 },\n    { label: '5 days apart', value: 120 },\n  ],\n  setDefaultSpacingValue: on('didReceiveAttrs', function() {\n    this.set('spacingValue', Math.max(this.get('campaign.spacing'), this.MINIMUM_SPACING_VALUE));\n  }),\n\n  _saveCampaign() {\n    if (this.campaign.validate({ allowedAttributes: ['spacing', 'title'] })) {\n      this.campaign.save().then(() => {\n        this.notificationsService.notifyConfirmation('Your changes have been saved');\n      });\n    }\n  },\n\n  _setProperties(value) {\n    this.setProperties({\n      'campaign.spacing': value,\n      spacingValue: value,\n    });\n  },\n\n  _confirmSave() {\n    let options = {\n      title: 'Send messages as soon as they match',\n      body: 'This means multiple messages could be sent at once.',\n      confirmButtonText: 'Save',\n    };\n    return intercomConfirm(this, options);\n  },\n\n  actions: {\n    setSpacingValue(value) {\n      if (value > 0) {\n        this._setProperties(value);\n        this._saveCampaign();\n        return;\n      }\n      this._confirmSave().then(() => {\n        this._setProperties(value);\n        this._saveCampaign();\n      });\n    },\n\n    enableSpacing() {\n      this.set('campaign.spacing', this.spacingValue);\n    },\n    disableSpacing() {\n      this.set('campaign.spacing', 0);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each filters as |filter|}}\\n  <LinkTo\\n    @route=\\\"apps.app.outbound.messages.auto.campaigns\\\"\\n    @query={{hash state=filter}}\\n    class=\\\"tabs__discrete-tab\\\"\\n    @activeClass=\\\"o__selected\\\"\\n    @current-when={{eq state filter}}\\n    data-test-campaign-list-link={{filter}}\\n  >\\n    {{#if (eq filter \\\"stopped\\\")}}\\n      Paused\\n    {{else}}\\n      {{capitalize filter}}\\n    {{/if}}\\n    <span class=\\\"tabs__tab__counter\\\" data-test-campaign-list-count={{filter}}>\\n      ({{numeric-formatter-helper (get counts filter)}})\\n    </span>\\n  </LinkTo>\\n{{/each}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each filters as |filter|}}\\n  <LinkTo\\n    @route=\\\"apps.app.outbound.messages.auto.campaigns\\\"\\n    @query={{hash state=filter}}\\n    class=\\\"tabs__discrete-tab\\\"\\n    @activeClass=\\\"o__selected\\\"\\n    @current-when={{eq state filter}}\\n    data-test-campaign-list-link={{filter}}\\n  >\\n    {{#if (eq filter \\\"stopped\\\")}}\\n      Paused\\n    {{else}}\\n      {{capitalize filter}}\\n    {{/if}}\\n    <span class=\\\"tabs__tab__counter\\\" data-test-campaign-list-count={{filter}}>\\n      ({{numeric-formatter-helper (get counts filter)}})\\n    </span>\\n  </LinkTo>\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/campaigns/filter-links.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/filter-links.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  actions: {\n    deleteCampaign() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('deleteCampaign');\n    },\n    duplicateCampaign() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('duplicateCampaign');\n    },\n    activateCampaign() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('activateCampaign');\n    },\n    deactivateCampaign() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('deactivateCampaign');\n    },\n    openCampaignEntry() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('openCampaignEntry');\n    },\n    closeCampaignEntry() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('closeCampaignEntry');\n    },\n    editCampaign() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('editCampaign', this.campaign);\n    },\n    saveCampaign() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('saveCampaign');\n    },\n    cancelCampaignChanges() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('cancelCampaignChanges');\n    },\n    openExportModal() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('openExportModal');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BasePageHeaderComponent from 'embercom/components/campaigns/headers/base-page-header-component';\n\nexport default BasePageHeaderComponent.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"campaign__page-header-title-container\\\">\\n  <Common::HamburgerMenu @includePadding={{false}}>\\n    <h1 class=\\\"t__h1\\\">\\n      <div class=\\\"u__display-inline-block\\\">\\n        <div class=\\\"u__center-layout\\\">\\n          <Pulse::ExpandingInput\\n            @value={{this.title}}\\n            @onUpdate={{@updateCampaignTitle}}\\n            placeholder=\\\"Enter a title\\\"\\n            class=\\\"t__h1 submenu__header__title font-medium max-w-128 py-px js__campaign-title-input\\\"\\n            data-test-campaign-page-header-title-input\\n          />\\n          <span class=\\\"campaign__page-header__state u__ml__10\\\" {{tooltip content=\\\"Campaigns that are emptying keep delivering messages to customers already in the campaign funnel. But no new customers enter the campaign.\\\" isDisabled=(not-eq campaign.uiStateName \\\"Emptying\\\")}}>\\n            {{ic-stamp campaign.uiStateName}}\\n          </span>\\n        </div>\\n      </div>\\n    </h1>\\n  </Common::HamburgerMenu>\\n</div>\\n<div class=\\\"campaign__page-header__buttons\\\">\\n  {{#if campaign.isSaving}}\\n    <span class=\\\"u__display-inline-block u__mr__10\\\">\\n      <span>\\n        <IcLoadingIndicator @size=\\\"tiny\\\" />\\n      </span>\\n      <span class=\\\"t__light-text\\\">\\n        Saving…\\n      </span>\\n    </span>\\n  {{/if}}\\n  <ActionDropdownComponent\\n    @dropdownOptions={{dropdownOptions}}\\n    @classNames=\\\"u__mr__10\\\"\\n  />\\n  {{#if campaign.isDraft}}\\n    <div {{tooltip content=tooltipText isDisabled=(or isValidToSend (not app.canUseSmartCampaigns))}}>\\n      <Paywall @featureKey=\\\"smart_campaigns\\\" as |paywall|>\\n        <paywall.Hover>\\n          <IcButton\\n            @type=\\\"primary-live\\\"\\n            @onClick={{action activateCampaign}}\\n            @disabled={{or (not isValidToSend) (not app.canUseSmartCampaigns)}}\\n            @testBindingClass=\\\"test__campaign-page-header__live\\\"\\n          >\\n            {{ic-interface-icon \\\"put-live\\\"}}\\n            Go live\\n          </IcButton>\\n        </paywall.Hover>\\n      </Paywall>\\n    </div>\\n  {{else if campaign.isLive}}\\n    <div>\\n      <IcButton\\n        @label=\\\"Pause campaign\\\"\\n        @icon=\\\"pause\\\"\\n        @type=\\\"secondary\\\"\\n        @onClick={{action deactivateCampaign}}\\n        @testBindingClass=\\\"test__campaign-page-header__stop\\\"\\n      />\\n    </div>\\n  {{else if campaign.isStopped}}\\n    <div {{tooltip content=tooltipText isDisabled=isValidToSend}}>\\n      <IcButton\\n        @type=\\\"primary-live\\\"\\n        @onClick={{action openModal resumeCampaignModal}}\\n        @disabled={{not isValidToSend}}\\n        @testBindingClass=\\\"test__campaign-page-header__resume\\\"\\n      >\\n        {{ic-interface-icon \\\"put-live\\\"}} Resume campaign\\n      </IcButton>\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"campaign__page-header-title-container\\\">\\n  <Common::HamburgerMenu @includePadding={{false}}>\\n    <h1 class=\\\"t__h1\\\">\\n      <div class=\\\"u__display-inline-block\\\">\\n        <div class=\\\"u__center-layout\\\">\\n          <Pulse::ExpandingInput\\n            @value={{this.title}}\\n            @onUpdate={{@updateCampaignTitle}}\\n            placeholder=\\\"Enter a title\\\"\\n            class=\\\"t__h1 submenu__header__title font-medium max-w-128 py-px js__campaign-title-input\\\"\\n            data-test-campaign-page-header-title-input\\n          />\\n          <span class=\\\"campaign__page-header__state u__ml__10\\\" {{tooltip content=\\\"Campaigns that are emptying keep delivering messages to customers already in the campaign funnel. But no new customers enter the campaign.\\\" isDisabled=(not-eq campaign.uiStateName \\\"Emptying\\\")}}>\\n            {{ic-stamp campaign.uiStateName}}\\n          </span>\\n        </div>\\n      </div>\\n    </h1>\\n  </Common::HamburgerMenu>\\n</div>\\n<div class=\\\"campaign__page-header__buttons\\\">\\n  {{#if campaign.isSaving}}\\n    <span class=\\\"u__display-inline-block u__mr__10\\\">\\n      <span>\\n        <IcLoadingIndicator @size=\\\"tiny\\\" />\\n      </span>\\n      <span class=\\\"t__light-text\\\">\\n        Saving…\\n      </span>\\n    </span>\\n  {{/if}}\\n  <ActionDropdownComponent\\n    @dropdownOptions={{dropdownOptions}}\\n    @classNames=\\\"u__mr__10\\\"\\n  />\\n  {{#if campaign.isDraft}}\\n    <div {{tooltip content=tooltipText isDisabled=(or isValidToSend (not app.canUseSmartCampaigns))}}>\\n      <Paywall @featureKey=\\\"smart_campaigns\\\" as |paywall|>\\n        <paywall.Hover>\\n          <IcButton\\n            @type=\\\"primary-live\\\"\\n            @onClick={{action activateCampaign}}\\n            @disabled={{or (not isValidToSend) (not app.canUseSmartCampaigns)}}\\n            @testBindingClass=\\\"test__campaign-page-header__live\\\"\\n          >\\n            {{ic-interface-icon \\\"put-live\\\"}}\\n            Go live\\n          </IcButton>\\n        </paywall.Hover>\\n      </Paywall>\\n    </div>\\n  {{else if campaign.isLive}}\\n    <div>\\n      <IcButton\\n        @label=\\\"Pause campaign\\\"\\n        @icon=\\\"pause\\\"\\n        @type=\\\"secondary\\\"\\n        @onClick={{action deactivateCampaign}}\\n        @testBindingClass=\\\"test__campaign-page-header__stop\\\"\\n      />\\n    </div>\\n  {{else if campaign.isStopped}}\\n    <div {{tooltip content=tooltipText isDisabled=isValidToSend}}>\\n      <IcButton\\n        @type=\\\"primary-live\\\"\\n        @onClick={{action openModal resumeCampaignModal}}\\n        @disabled={{not isValidToSend}}\\n        @testBindingClass=\\\"test__campaign-page-header__resume\\\"\\n      >\\n        {{ic-interface-icon \\\"put-live\\\"}} Resume campaign\\n      </IcButton>\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/campaigns/headers/page-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/headers/page-header.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  classNames: ['campaign__page-header u__padb__20'],\n  title: '',\n  isValidToSend: false,\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  resumeCampaignModal: 'apps/app/outbound/messages/auto/campaigns/modals/resume-campaign',\n\n  tooltipText: computed(\n    'campaign.hasExamplePredicates',\n    'campaign.hasInvalidMessages',\n    'campaign.hasNoMessages',\n    'campaign.hasInvalidEntryCriteria',\n    function() {\n      let text = '';\n      if (this.get('campaign.hasExamplePredicates')) {\n        text +=\n          'We added an example event (used_feature) to some messages in this campaign. Replace it before you set the campaign live';\n      } else if (this.get('campaign.hasInvalidMessages')) {\n        text += 'There are unfinished messages in this campaign';\n      } else if (this.get('campaign.hasNoMessages')) {\n        text += 'You need at least one message in this campaign';\n      }\n      if (this.get('campaign.hasInvalidEntryCriteria')) {\n        if (text.length) {\n          text += '. You also need to choose who should enter the campaign';\n        } else {\n          text += 'You need to choose who should enter the campaign';\n        }\n      }\n      return text;\n    },\n  ),\n  isEditing: false,\n  dropdownOptions: computed('campaign.anyLiveOrStoppedMessages', function() {\n    let options = [];\n    options.push({\n      name: 'Duplicate',\n      icon: 'duplicate',\n      action: this.duplicateCampaign,\n      testClass: 'test__campaign-page-header__duplicate',\n    });\n    if (this.get('campaign.anyLiveOrStoppedMessages')) {\n      options.push({\n        name: 'Export CSV',\n        icon: 'filled-cloud-download',\n        action: this.openExportModal,\n        testClass: 'test__campaign-page-header__export',\n      });\n    }\n    options.push({\n      name: 'Delete',\n      icon: 'delete',\n      action: this.deleteCampaign,\n      testClass: 'test__campaign-page-header__delete',\n    });\n    return options;\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BasePageHeaderComponent from 'embercom/components/campaigns/headers/base-page-header-component';\n\nexport default BasePageHeaderComponent.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n  <div class=\\\"layout__box campaign__page-header__title-section\\\">\\n    <div class=\\\"flex items-start\\\">\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <div class=\\\"t__label campaign__title-caps\\\">\\n          Campaign\\n        </div>\\n        <span class=\\\"t__h1 o__thin\\\">\\n          <LinkTo\\n            @route=\\\"apps.app.outbound.messages.auto.campaigns.campaign\\\"\\n            @model={{campaign}}\\n            @tagName=\\\"span\\\"\\n            @classNames=\\\"text-gray u__pointer-cursor t__breadcrumb-link test__return-to-campaign\\\"\\n          >\\n            {{campaign.title}}\\n          </LinkTo>\\n          <span class=\\\"text-gray\\\">\\n            &rang;\\n          </span>\\n          {{#if percentageStatistic}}\\n            <span>\\n              {{format-percentage displayableCount}} {{displayableLabel}}\\n            </span>\\n          {{else}}\\n            <span>\\n              {{number-formatter-helper displayableCount}} {{displayableLabel}}\\n            </span>\\n          {{/if}}\\n        </span>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n  <div class=\\\"layout__box campaign__page-header__title-section\\\">\\n    <div class=\\\"flex items-start\\\">\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <div class=\\\"t__label campaign__title-caps\\\">\\n          Campaign\\n        </div>\\n        <span class=\\\"t__h1 o__thin\\\">\\n          <LinkTo\\n            @route=\\\"apps.app.outbound.messages.auto.campaigns.campaign\\\"\\n            @model={{campaign}}\\n            @tagName=\\\"span\\\"\\n            @classNames=\\\"text-gray u__pointer-cursor t__breadcrumb-link test__return-to-campaign\\\"\\n          >\\n            {{campaign.title}}\\n          </LinkTo>\\n          <span class=\\\"text-gray\\\">\\n            &rang;\\n          </span>\\n          {{#if percentageStatistic}}\\n            <span>\\n              {{format-percentage displayableCount}} {{displayableLabel}}\\n            </span>\\n          {{else}}\\n            <span>\\n              {{number-formatter-helper displayableCount}} {{displayableLabel}}\\n            </span>\\n          {{/if}}\\n        </span>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/campaigns/headers/user-page-header-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/headers/user-page-header-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { equal } from '@ember/object/computed';\nimport { selectFromObject } from '@intercom/embercom-core/lib/computed-properties';\nimport BasePageHeaderComponent from 'embercom/components/campaigns/headers/base-page-header-component';\n\nexport default BasePageHeaderComponent.extend({\n  filterCountMap: {\n    all: 'stats.enteredUserCount',\n    'in-campaign': 'stats.currentUserCount',\n    exited: 'stats.exitedUserCount',\n    'hit-goal': 'stats.goalSuccessRate',\n  },\n  filterLabelMap: {\n    all: 'have entered',\n    'in-campaign': 'in the campaign now',\n    exited: 'have exited',\n    'hit-goal': 'have hit the goal',\n  },\n  countKey: selectFromObject('filterCountMap', 'filter'),\n  displayableCount: selectFromObject('campaign', 'countKey'),\n  displayableLabel: selectFromObject('filterLabelMap', 'filter'),\n  percentageStatistic: equal('filter', 'hit-goal'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if campaign.messages}}\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <table\\n    class=\\\"tbl o__fit campaign__messages-list test__campaign__list__messages\\\"\\n    data-test-campaign-list-messages\\n  >\\n    {{!-- template-lint-enable intercom/no-custom-table --}}\\n    <Campaigns::Table::StatsHeader @allMessagesSelected={{allMessagesSelected}} />\\n    <SortableListComponent\\n      @tagName=\\\"tbody\\\"\\n      @classNames=\\\"tbl__body\\\"\\n      @items={{campaign.messages}}\\n      @componentIsSortableArea={{true}}\\n      @sortableAttribute=\\\"messageGroupOrder\\\"\\n      @draggableItemSelector=\\\".campaign__messages-list__row\\\"\\n      @draggableHandleSelector=\\\".campaign__messages-list__drag-area\\\"\\n      @draggableGhostClass=\\\"o__ghost-row\\\"\\n      @listOrderingChanged=\\\"listOrderingChanged\\\"\\n      @requiresTableGhostFix={{true}}\\n    >\\n      {{#each messages as |message|}}\\n        <Messages::MessageListRow\\n          @message={{message}}\\n          @columns={{columns}}\\n          @state={{message.state}}\\n          class=\\\"campaign__messages-list__row\\\"\\n          @disableMessageDragging={{disableMessageDragging}}\\n          @messageRoute=\\\"apps.app.outbound.messages.auto.message\\\"\\n        />\\n      {{/each}}\\n    </SortableListComponent>\\n  </table>\\n{{else}}\\n  <IcEmptyState\\n    data-test-campaign-list-empty\\n    @icon=\\\"campaign\\\"\\n    @title=\\\"You haven't written any messages for this campaign yet\\\" as |emptyState|\\n  >\\n    <emptyState.description>\\n      <p class>\\n        Learn more about\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/engaging-your-users-and-visitors/write-engaging-message-content\\\"\\n          @title=\\\"how to write engaging messages\\\"\\n          @type=\\\"article\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n      </p>\\n    </emptyState.description>\\n  </IcEmptyState>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if campaign.messages}}\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <table\\n    class=\\\"tbl o__fit campaign__messages-list test__campaign__list__messages\\\"\\n    data-test-campaign-list-messages\\n  >\\n    {{!-- template-lint-enable intercom/no-custom-table --}}\\n    <Campaigns::Table::StatsHeader @allMessagesSelected={{allMessagesSelected}} />\\n    <SortableListComponent\\n      @tagName=\\\"tbody\\\"\\n      @classNames=\\\"tbl__body\\\"\\n      @items={{campaign.messages}}\\n      @componentIsSortableArea={{true}}\\n      @sortableAttribute=\\\"messageGroupOrder\\\"\\n      @draggableItemSelector=\\\".campaign__messages-list__row\\\"\\n      @draggableHandleSelector=\\\".campaign__messages-list__drag-area\\\"\\n      @draggableGhostClass=\\\"o__ghost-row\\\"\\n      @listOrderingChanged=\\\"listOrderingChanged\\\"\\n      @requiresTableGhostFix={{true}}\\n    >\\n      {{#each messages as |message|}}\\n        <Messages::MessageListRow\\n          @message={{message}}\\n          @columns={{columns}}\\n          @state={{message.state}}\\n          class=\\\"campaign__messages-list__row\\\"\\n          @disableMessageDragging={{disableMessageDragging}}\\n          @messageRoute=\\\"apps.app.outbound.messages.auto.message\\\"\\n        />\\n      {{/each}}\\n    </SortableListComponent>\\n  </table>\\n{{else}}\\n  <IcEmptyState\\n    data-test-campaign-list-empty\\n    @icon=\\\"campaign\\\"\\n    @title=\\\"You haven't written any messages for this campaign yet\\\" as |emptyState|\\n  >\\n    <emptyState.description>\\n      <p class>\\n        Learn more about\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/engaging-your-users-and-visitors/write-engaging-message-content\\\"\\n          @title=\\\"how to write engaging messages\\\"\\n          @type=\\\"article\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n      </p>\\n    </emptyState.description>\\n  </IcEmptyState>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/campaigns/list/list-body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/list/list-body.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-attrs-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport MessageListColumns from 'embercom/mixins/messages/message-list-columns';\n\nexport default Component.extend(MessageListColumns, {\n  appService: service(),\n  app: readOnly('appService.app'),\n  messages: readOnly('campaign.messages'),\n  columns: computed(function() {\n    return this.generateColumns('campaign-message-list');\n  }),\n  allMessagesSelected: computed('messages.@each.selected', {\n    get() {\n      return this.get('messages.length') > 0 && this.messages.isEvery('selected', true);\n    },\n    set(key, value) {\n      this.messages.setEach('selected', value);\n      return value;\n    },\n  }),\n  actions: {\n    listOrderingChanged() {\n      this.attrs.reorderCampaign('.campaign__outer-container');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"campaign__setup-header card__header o__with-button flex flex-row justify-between items-center\\\">\\n  <h2 class=\\\"t__h2\\\">\\n    Campaign messages\\n  </h2>\\n  <div\\n    data-test-campaign-list-new-message-tooltip\\n    {{tooltip content=\\\"You’ve reached the message limit (30 messages)\\\" isDisabled=(not hitMessageLimit)}}\\n  >\\n    <IcButton\\n      @type=\\\"primary\\\"\\n      @disabled={{or hitMessageLimit campaign.migrationToSeriesInProgress}}\\n      @action=\\\"createNewMessage\\\"\\n      data-test-campaign-list-new-message={{true}}\\n    >\\n      {{ic-interface-icon \\\"new\\\"}} New message\\n    </IcButton>\\n  </div>\\n</div>\\n<div class=\\\"layout__box o__flexes-to-1 o__has-columns u__pad__20\\\">\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <div class=\\\"flex-auto min-w-0\\\">\\n      <style>\\n        .campaign-modal__preload.o__first:before {\\n          background: url('/assets/images/spacing-editor-guide/spacing-1-2x.png');\\n        }\\n      </style>\\n      <h3 class=\\\"t__h3 campaign__spacing-editor__description campaign-modal__preload o__first\\\">\\n        We’ll always send the most relevant message\\n        <span class=\\\"t__light-text\\\">\\n          (<a class=\\\"t__light-text\\\" data-test-campaign-spacing-editor {{action openModal \\\"apps/app/outbound/messages/auto/campaigns/modals/spacing-editor-guide\\\" }}>\\n            how?\\n          </a>)\\n        </span>\\n      </h3>\\n      <Campaigns::List::SpacingEditor @campaign={{campaign}} />\\n    </div>\\n  </div>\\n  {{#if selected}}\\n    <Campaigns::List::MessageMoveRow\\n      @campaign={{campaign}}\\n      @selected={{selected}}\\n    />\\n  {{/if}}\\n</div>\\n{{#if showCreateMessageModal}}\\n  <Messages::MessageCreationModal\\n    @isTargetingLeads={{campaign.isTargetingLeads}}\\n    @isCampaignMessage={{true}}\\n    @createNewMessage={{action \\\"createNewMessage\\\"}}\\n    @closeModal={{action (mut showCreateMessageModal) false}}\\n    @skipTemplatesModal={{skipTemplatesModal}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"campaign__setup-header card__header o__with-button flex flex-row justify-between items-center\\\">\\n  <h2 class=\\\"t__h2\\\">\\n    Campaign messages\\n  </h2>\\n  <div\\n    data-test-campaign-list-new-message-tooltip\\n    {{tooltip content=\\\"You’ve reached the message limit (30 messages)\\\" isDisabled=(not hitMessageLimit)}}\\n  >\\n    <IcButton\\n      @type=\\\"primary\\\"\\n      @disabled={{or hitMessageLimit campaign.migrationToSeriesInProgress}}\\n      @action=\\\"createNewMessage\\\"\\n      data-test-campaign-list-new-message={{true}}\\n    >\\n      {{ic-interface-icon \\\"new\\\"}} New message\\n    </IcButton>\\n  </div>\\n</div>\\n<div class=\\\"layout__box o__flexes-to-1 o__has-columns u__pad__20\\\">\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <div class=\\\"flex-auto min-w-0\\\">\\n      <style>\\n        .campaign-modal__preload.o__first:before {\\n          background: url('/assets/images/spacing-editor-guide/spacing-1-2x.png');\\n        }\\n      </style>\\n      <h3 class=\\\"t__h3 campaign__spacing-editor__description campaign-modal__preload o__first\\\">\\n        We’ll always send the most relevant message\\n        <span class=\\\"t__light-text\\\">\\n          (<a class=\\\"t__light-text\\\" data-test-campaign-spacing-editor {{action openModal \\\"apps/app/outbound/messages/auto/campaigns/modals/spacing-editor-guide\\\" }}>\\n            how?\\n          </a>)\\n        </span>\\n      </h3>\\n      <Campaigns::List::SpacingEditor @campaign={{campaign}} />\\n    </div>\\n  </div>\\n  {{#if selected}}\\n    <Campaigns::List::MessageMoveRow\\n      @campaign={{campaign}}\\n      @selected={{selected}}\\n    />\\n  {{/if}}\\n</div>\\n{{#if showCreateMessageModal}}\\n  <Messages::MessageCreationModal\\n    @isTargetingLeads={{campaign.isTargetingLeads}}\\n    @isCampaignMessage={{true}}\\n    @createNewMessage={{action \\\"createNewMessage\\\"}}\\n    @closeModal={{action (mut showCreateMessageModal) false}}\\n    @skipTemplatesModal={{skipTemplatesModal}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/campaigns/list/list-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/list/list-header.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { gte, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  hitMessageLimit: gte('campaign.messages.length', 30),\n\n  actions: {\n    createNewMessage() {\n      if (this.showCreateMessageModal) {\n        this.set('showCreateMessageModal', 'false');\n        this.createNewCampaignMessage(...arguments);\n      } else {\n        this.set('showCreateMessageModal', true);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-campaign-message-move class=\\\"flex items-center\\\">\\n  <h4 class=\\\"text-gray u__mr__10\\\">\\n    {{selected.length}} {{inflector-helper \\\"message\\\" selected.length}} selected\\n  </h4>\\n  {{#if selected.length}}\\n    <Messages::Folders::MessageFolderAndCampaignAssignmentComponent\\n      @campaign={{campaign}}\\n      @assignMessagesToFolder=\\\"assignMessagesToFolder\\\"\\n      @assignMessagesToCampaign=\\\"assignMessagesToCampaign\\\"\\n    />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-campaign-message-move class=\\\"flex items-center\\\">\\n  <h4 class=\\\"text-gray u__mr__10\\\">\\n    {{selected.length}} {{inflector-helper \\\"message\\\" selected.length}} selected\\n  </h4>\\n  {{#if selected.length}}\\n    <Messages::Folders::MessageFolderAndCampaignAssignmentComponent\\n      @campaign={{campaign}}\\n      @assignMessagesToFolder=\\\"assignMessagesToFolder\\\"\\n      @assignMessagesToCampaign=\\\"assignMessagesToCampaign\\\"\\n    />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/campaigns/list/message-move-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/list/message-move-row.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly, mapBy } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nexport default Component.extend({\n  notificationsService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  selectedIds: mapBy('selected', 'id'),\n\n  actions: {\n    assignMessagesToFolder(folder) {\n      let selectedIds = this.selectedIds;\n      this.campaign\n        .transferMessages(selectedIds, { folderId: folder.get('id') })\n        .then(() =>\n          this.notificationsService.notifyConfirmation(\n            `Successfully moved your messages to '${folder.get('name')}'`,\n          ),\n        )\n        .catch(err =>\n          this.notificationsService.notifyResponseError(err, {\n            default: `Couldn't move your messages to '${folder.get(\n              'name',\n            )}'. Send us a message and we'll do our best to help out.`,\n          }),\n        );\n    },\n    assignMessagesToCampaign(campaign) {\n      let selectedIds = this.selectedIds;\n      this.campaign\n        .transferMessages(selectedIds, { campaignId: campaign.get('id') })\n        .then(() =>\n          this.notificationsService.notifyConfirmation(\n            `Successfully moved your messages to '${campaign.get('title')}'`,\n          ),\n        )\n        .catch(err =>\n          this.notificationsService.notifyResponseError(err, {\n            default: `Couldn't move your messages to '${campaign.get(\n              'title',\n            )}'. Send us a message and we'll do our best to help out.`,\n          }),\n        );\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<p class=\\\"text-gray\\\">\\n  <Predicates::Inline::ComparisonEditor\\n    @content={{spacingOptions}}\\n    @value={{spacingValue}}\\n    @scrollParentSelector=\\\".campaign__outer-container\\\"\\n    @selectionChanged=\\\"setSpacingValue\\\"\\n    class=\\\"test__campaign__spacing-editor\\\"\\n    @dropdownItemClass=\\\"test__campaign__spacing-editor-item\\\"\\n    @dropdownMinWidth={{210}}\\n    @disabled={{campaign.migrationToSeriesInProgress}}\\n  />\\n</p>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<p class=\\\"text-gray\\\">\\n  <Predicates::Inline::ComparisonEditor\\n    @content={{spacingOptions}}\\n    @value={{spacingValue}}\\n    @scrollParentSelector=\\\".campaign__outer-container\\\"\\n    @selectionChanged=\\\"setSpacingValue\\\"\\n    class=\\\"test__campaign__spacing-editor\\\"\\n    @dropdownItemClass=\\\"test__campaign__spacing-editor-item\\\"\\n    @dropdownMinWidth={{210}}\\n    @disabled={{campaign.migrationToSeriesInProgress}}\\n  />\\n</p>\\n\",\"moduleName\":\"embercom/components/campaigns/list/spacing-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/list/spacing-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport CampaignSpacingEditor from 'embercom/components/campaigns/campaign-spacing-editor';\n\nexport default CampaignSpacingEditor.extend({\n  MINIMUM_SPACING_VALUE: 0,\n  spacingOptions: [\n    { label: 'At least 1 day apart', value: 24 },\n    { label: 'At least 2 days apart', value: 48 },\n    { label: 'At least 3 days apart', value: 72 },\n    { label: 'At least 4 days apart', value: 96 },\n    { label: 'At least 5 days apart', value: 120 },\n    { label: 'As soon as they match', value: 0 },\n  ],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::Inline::ComparisonEditor\\n  @content={{roleTypes}}\\n  @value={{campaign.memberType}}\\n  @handleSelectionExternally={{false}}\\n  @toggleClasses=\\\"campaign__match-selector\\\"\\n  @scrollParentSelector={{scrollParentSelector}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::Inline::ComparisonEditor\\n  @content={{roleTypes}}\\n  @value={{campaign.memberType}}\\n  @handleSelectionExternally={{false}}\\n  @toggleClasses=\\\"campaign__match-selector\\\"\\n  @scrollParentSelector={{scrollParentSelector}}\\n/>\\n\",\"moduleName\":\"embercom/components/campaigns/role-type-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/role-type-selector.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  classNames: ['u__display-inline-block'],\n  roleTypes: [\n    { value: 'user', label: 'Users' },\n    { value: 'lead', label: 'Leads' },\n  ],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.appService.app.canUseSeries}}\\n  <Pulse::FullWidthBanner\\n    @color={{if @campaign.migrationToSeriesHasStarted \\\"gray\\\" \\\"black\\\"}}\\n    class=\\\"flex flex-row items-center justify-between px-8 text-md {{if @campaign.migrationToSeriesHasStarted \\\"py-6\\\" \\\"py-4\\\"}}\\\"\\n    data-test-series-migration-banner\\n  >\\n    {{#if @campaign.migrationToSeriesHasCompleted}}\\n      <div data-test-series-migrated-text>This campaign was copied to the Series \\\"<LinkTo @route=\\\"apps.app.outbound.series.series\\\" @model={{@campaign.migratedSeries.id}}>{{@campaign.migratedSeries.title}}</LinkTo>\\\"</div>\\n    {{else if @campaign.migrationToSeriesInProgress}}\\n      <div data-test-series-migrating-text>This campaign is being copied to the Series \\\"<LinkTo @route=\\\"apps.app.outbound.series.series\\\" @model={{@campaign.migratedSeries.id}}>{{@campaign.migratedSeries.title}}</LinkTo>\\\" and cannot be edited</div>\\n    {{else}}\\n      <div data-test-start-series-migration-text>\\n        To orchestrate this campaign visually, copy it to Series.\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/en/articles/4425210-migrating-from-campaigns-to-series\\\"\\n          @linkStyling=\\\"inline\\\"\\n          @title=\\\"Learn more\\\"\\n          @type=\\\"article\\\"\\n          class=\\\"text-md\\\"\\n        />\\n      </div>\\n    {{/if}}\\n    {{#unless @campaign.migrationToSeriesHasStarted}}\\n      <a\\n        {{on 'click' this.openModal}}\\n        class=\\\"campaign__series-banner__button\\\"\\n        data-test-open-migration-modal-button\\n      >\\n        Copy to Series {{ic-interface-icon \\\"small-thin-right-arrow\\\" }}\\n      </a>\\n    {{/unless}}\\n  </Pulse::FullWidthBanner>\\n\\n  <IcModal\\n    @onModalClose={{set this.showModal false}}\\n    @width=\\\"xl\\\"\\n    @isOpen={{this.showModal}}\\n    @focusElement=\\\"body\\\" as |modal|\\n  >\\n    <modal.header @title=\\\"You're about to copy this campaign to series\\\" />\\n    <modal.body>\\n      <div class=\\\"flex flex-row\\\">\\n        <div class=\\\"flex flex-col\\\">\\n          <Text @styling=\\\"muted\\\">What’s next:</Text>\\n          <div\\n            class=\\\"flex flex-row items-start gap-3 p-4 mt-6 rounded cursor-pointer series__campaign-migration-modal__step -ml-4 {{if (eq this.selectedStep 1) 'o__selected'}}\\\"\\n            {{on 'click' (set this.selectedStep 1)}}\\n          >\\n            <div>\\n              <div class=\\\"bg-black rounded-full text-white h-6 w-6\\\">\\n                <span class=\\\"series__campaign-migration-modal__step-number\\\">1</span>\\n              </div>\\n            </div>\\n            <div>\\n              <Text @styling=\\\"strong\\\">We’ll make a copy of the campaign</Text>\\n              <Paragraph class=\\\"mt-1\\\">\\n                Three things copy over to Series: your messages, your entry and exit rules, and your overall goal. Reporting metrics start fresh. <br><br>Your old campaign and its data will stay live. \\n                <Pulse::HelpContent::Link\\n                  @href=\\\"https://www.intercom.com/help/en/articles/4425210-migrating-from-campaigns-to-series\\\"\\n                  @linkStyling=\\\"inline\\\"\\n                  @title=\\\"Learn more\\\"\\n                  @type=\\\"article\\\"\\n                />.\\n              </Paragraph>\\n            </div>\\n          </div>\\n\\n          <div\\n            class=\\\"flex flex-row items-start gap-3 p-4 mt-6 rounded cursor-pointer series__campaign-migration-modal__step -ml-4 {{if (eq this.selectedStep 2) 'o__selected'}}\\\"\\n            {{on 'click' (set this.selectedStep 2)}}\\n          >\\n            <div>\\n              <div class=\\\"bg-black rounded-full text-white h-6 w-6\\\">\\n                <span class=\\\"series__campaign-migration-modal__step-number\\\">2</span>\\n              </div>\\n            </div>\\n            <div>\\n              <Text @styling=\\\"strong\\\">You connect the messages</Text>\\n              <Paragraph class=\\\"mt-1\\\">\\n                We’ll guide you in how to connect and sequence your messages, add new formats, and more. \\n                <Pulse::HelpContent::Link\\n                  @href=\\\"https://www.intercom.com/help/en/articles/4425215-series-best-practices-see-example-campaigns\\\"\\n                  @linkStyling=\\\"inline\\\"\\n                  @title=\\\"Learn more\\\"\\n                  @type=\\\"article\\\"\\n                />.\\n              </Paragraph>\\n            </div>\\n          </div>\\n\\n          <div\\n            class=\\\"flex flex-row items-start gap-3 p-4 mt-6 rounded cursor-pointer series__campaign-migration-modal__step -ml-4 {{if (eq this.selectedStep 3) 'o__selected'}}\\\"\\n            {{on 'click' (set this.selectedStep 3)}}\\n          >\\n            <div>\\n              <div class=\\\"bg-black rounded-full text-white h-6 w-6\\\">\\n                <span class=\\\"series__campaign-migration-modal__step-number\\\">3</span>\\n              </div>\\n            </div>\\n            <div>\\n              <Text @styling=\\\"strong\\\">You set your series live!</Text>\\n              <Paragraph class=\\\"mt-1\\\">New customers will go to your new series, and existing users will finish in the old campaign.</Paragraph>\\n            </div>\\n          </div>\\n        </div>\\n        <div class=\\\"flex flex-col series__campaign-migration-modal__image\\\">\\n          {{#if (eq this.selectedStep 1)}}\\n            <img src=\\\"/assets/svgs/series/campaign-migration-step-one.svg\\\" />\\n          {{else if (eq this.selectedStep 2)}}\\n            <img src=\\\"/assets/svgs/series/campaign-migration-step-two.svg\\\" />\\n          {{else if (eq this.selectedStep 3)}}\\n            <img src=\\\"/assets/svgs/series/campaign-migration-step-three.svg\\\" />\\n          {{/if}}\\n        </div>\\n      </div>\\n    </modal.body>\\n    <modal.footer\\n      @primaryButton={{hash\\n        label=\\\"Continue\\\"\\n        action=this.startMigration\\n      }}\\n      @secondaryButton={{hash\\n        label=\\\"Go back\\\"\\n        action=(fn (toggle \\\"showModal\\\" this))\\n      }}\\n    />\\n  </IcModal>\\n{{/if}}\\n\", {\"contents\":\"{{#if this.appService.app.canUseSeries}}\\n  <Pulse::FullWidthBanner\\n    @color={{if @campaign.migrationToSeriesHasStarted \\\"gray\\\" \\\"black\\\"}}\\n    class=\\\"flex flex-row items-center justify-between px-8 text-md {{if @campaign.migrationToSeriesHasStarted \\\"py-6\\\" \\\"py-4\\\"}}\\\"\\n    data-test-series-migration-banner\\n  >\\n    {{#if @campaign.migrationToSeriesHasCompleted}}\\n      <div data-test-series-migrated-text>This campaign was copied to the Series \\\"<LinkTo @route=\\\"apps.app.outbound.series.series\\\" @model={{@campaign.migratedSeries.id}}>{{@campaign.migratedSeries.title}}</LinkTo>\\\"</div>\\n    {{else if @campaign.migrationToSeriesInProgress}}\\n      <div data-test-series-migrating-text>This campaign is being copied to the Series \\\"<LinkTo @route=\\\"apps.app.outbound.series.series\\\" @model={{@campaign.migratedSeries.id}}>{{@campaign.migratedSeries.title}}</LinkTo>\\\" and cannot be edited</div>\\n    {{else}}\\n      <div data-test-start-series-migration-text>\\n        To orchestrate this campaign visually, copy it to Series.\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/en/articles/4425210-migrating-from-campaigns-to-series\\\"\\n          @linkStyling=\\\"inline\\\"\\n          @title=\\\"Learn more\\\"\\n          @type=\\\"article\\\"\\n          class=\\\"text-md\\\"\\n        />\\n      </div>\\n    {{/if}}\\n    {{#unless @campaign.migrationToSeriesHasStarted}}\\n      <a\\n        {{on 'click' this.openModal}}\\n        class=\\\"campaign__series-banner__button\\\"\\n        data-test-open-migration-modal-button\\n      >\\n        Copy to Series {{ic-interface-icon \\\"small-thin-right-arrow\\\" }}\\n      </a>\\n    {{/unless}}\\n  </Pulse::FullWidthBanner>\\n\\n  <IcModal\\n    @onModalClose={{set this.showModal false}}\\n    @width=\\\"xl\\\"\\n    @isOpen={{this.showModal}}\\n    @focusElement=\\\"body\\\" as |modal|\\n  >\\n    <modal.header @title=\\\"You're about to copy this campaign to series\\\" />\\n    <modal.body>\\n      <div class=\\\"flex flex-row\\\">\\n        <div class=\\\"flex flex-col\\\">\\n          <Text @styling=\\\"muted\\\">What’s next:</Text>\\n          <div\\n            class=\\\"flex flex-row items-start gap-3 p-4 mt-6 rounded cursor-pointer series__campaign-migration-modal__step -ml-4 {{if (eq this.selectedStep 1) 'o__selected'}}\\\"\\n            {{on 'click' (set this.selectedStep 1)}}\\n          >\\n            <div>\\n              <div class=\\\"bg-black rounded-full text-white h-6 w-6\\\">\\n                <span class=\\\"series__campaign-migration-modal__step-number\\\">1</span>\\n              </div>\\n            </div>\\n            <div>\\n              <Text @styling=\\\"strong\\\">We’ll make a copy of the campaign</Text>\\n              <Paragraph class=\\\"mt-1\\\">\\n                Three things copy over to Series: your messages, your entry and exit rules, and your overall goal. Reporting metrics start fresh. <br><br>Your old campaign and its data will stay live. \\n                <Pulse::HelpContent::Link\\n                  @href=\\\"https://www.intercom.com/help/en/articles/4425210-migrating-from-campaigns-to-series\\\"\\n                  @linkStyling=\\\"inline\\\"\\n                  @title=\\\"Learn more\\\"\\n                  @type=\\\"article\\\"\\n                />.\\n              </Paragraph>\\n            </div>\\n          </div>\\n\\n          <div\\n            class=\\\"flex flex-row items-start gap-3 p-4 mt-6 rounded cursor-pointer series__campaign-migration-modal__step -ml-4 {{if (eq this.selectedStep 2) 'o__selected'}}\\\"\\n            {{on 'click' (set this.selectedStep 2)}}\\n          >\\n            <div>\\n              <div class=\\\"bg-black rounded-full text-white h-6 w-6\\\">\\n                <span class=\\\"series__campaign-migration-modal__step-number\\\">2</span>\\n              </div>\\n            </div>\\n            <div>\\n              <Text @styling=\\\"strong\\\">You connect the messages</Text>\\n              <Paragraph class=\\\"mt-1\\\">\\n                We’ll guide you in how to connect and sequence your messages, add new formats, and more. \\n                <Pulse::HelpContent::Link\\n                  @href=\\\"https://www.intercom.com/help/en/articles/4425215-series-best-practices-see-example-campaigns\\\"\\n                  @linkStyling=\\\"inline\\\"\\n                  @title=\\\"Learn more\\\"\\n                  @type=\\\"article\\\"\\n                />.\\n              </Paragraph>\\n            </div>\\n          </div>\\n\\n          <div\\n            class=\\\"flex flex-row items-start gap-3 p-4 mt-6 rounded cursor-pointer series__campaign-migration-modal__step -ml-4 {{if (eq this.selectedStep 3) 'o__selected'}}\\\"\\n            {{on 'click' (set this.selectedStep 3)}}\\n          >\\n            <div>\\n              <div class=\\\"bg-black rounded-full text-white h-6 w-6\\\">\\n                <span class=\\\"series__campaign-migration-modal__step-number\\\">3</span>\\n              </div>\\n            </div>\\n            <div>\\n              <Text @styling=\\\"strong\\\">You set your series live!</Text>\\n              <Paragraph class=\\\"mt-1\\\">New customers will go to your new series, and existing users will finish in the old campaign.</Paragraph>\\n            </div>\\n          </div>\\n        </div>\\n        <div class=\\\"flex flex-col series__campaign-migration-modal__image\\\">\\n          {{#if (eq this.selectedStep 1)}}\\n            <img src=\\\"/assets/svgs/series/campaign-migration-step-one.svg\\\" />\\n          {{else if (eq this.selectedStep 2)}}\\n            <img src=\\\"/assets/svgs/series/campaign-migration-step-two.svg\\\" />\\n          {{else if (eq this.selectedStep 3)}}\\n            <img src=\\\"/assets/svgs/series/campaign-migration-step-three.svg\\\" />\\n          {{/if}}\\n        </div>\\n      </div>\\n    </modal.body>\\n    <modal.footer\\n      @primaryButton={{hash\\n        label=\\\"Continue\\\"\\n        action=this.startMigration\\n      }}\\n      @secondaryButton={{hash\\n        label=\\\"Go back\\\"\\n        action=(fn (toggle \\\"showModal\\\" this))\\n      }}\\n    />\\n  </IcModal>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/campaigns/series-migration-banner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/series-migration-banner.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { post } from 'embercom/lib/ajax';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class SeriesMigrationBanner extends Component {\n  @service appService;\n  @service router;\n  @service intercomEventService;\n\n  @tracked showModal = false;\n  @tracked selectedStep = 1;\n\n  @action\n  async startMigration() {\n    let response = await post('ember/series/series/migrate_from_campaign', {\n      app_id: this.appService.app.id,\n      campaign_id: this.args.campaign.id,\n    });\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'start_migration',\n      place: 'campaigns_editor',\n      section: 'campaigns',\n    });\n    this.router.transitionTo('apps.app.outbound.series.series', response.series_id, {\n      queryParams: { mode: 'edit' },\n    });\n  }\n\n  @action\n  openModal() {\n    this.showModal = true;\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'start_migration_to_series',\n      place: 'campaigns_editor',\n      section: 'campaigns',\n    });\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { capitalize } from '@ember/string';\nimport { computed } from '@ember/object';\nimport { readOnly, not, reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { ternary, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  attributeService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  usersRoute: 'apps.app.outbound.messages.auto.campaigns.campaign.users',\n  isEditing: false,\n  isNotEditing: not('isEditing'),\n  title: ternaryToProperty('isEditing', 'editingTitle', 'nonEditingTitle'),\n  memberType: reads('campaign.memberType'),\n  formattedMemberType: computed('memberType', function() {\n    return `${capitalize(this.memberType)}s`;\n  }),\n  entryFilters: readOnly('attributeService.entryFilters'),\n  exitFilters: readOnly('attributeService.exitFilters'),\n  predicateDescriptions: reads('predicateGroup.baseUserAddedPredicateDescriptions'),\n  joinDescription: ternary(\n    'predicateGroup.isOrMode',\n    'They match any of these rules',\n    'They match all these rules',\n  ),\n  actions: {\n    insertFilter(filter) {\n      this.predicateGroup.addPredicateFromAttribute(filter.attribute);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-campaign-entry-editor class=\\\"campaign__entry-exit__item-content\\\">\\n  <div>\\n    <h3 class=\\\"t__h3 test__campaign__entry__title u__padb__15\\\">\\n      {{title}}\\n    </h3>\\n    {{#if isEditing}}\\n      {{#if campaign.isDraft}}\\n        <Campaigns::RoleTypeSelector\\n          @campaign={{campaign}}\\n          class=\\\"test__campaign__entry__role-type-selector\\\"\\n          @scrollParentSelector=\\\".campaign__outer-container\\\"\\n        />\\n      {{else}}\\n        <span class=\\\"campaign__match-selector\\\">\\n          {{formattedMemberType}}\\n        </span>\\n      {{/if}}\\n      <Predicates::JoinTypeEditor\\n        @predicateGroup={{campaign.entryPredicateGroup}}\\n        @joinTypes={{joinTypes}}\\n        class=\\\"test__campaign__entry__join-selector\\\"\\n        @displayInline={{true}}\\n        @dropdownMinWidth={{240}}\\n      />\\n      <Predicates::ListEditorComponent\\n        @predicateGroup={{campaign.entryPredicateGroup}}\\n        @scrollParentSelector=\\\".campaign__outer-container\\\"\\n        class=\\\"campaign__setup__predicate test__campaign__entry__predicate\\\"\\n      />\\n    {{else}}\\n      {{#if predicateDescriptions}}\\n        <h4 class=\\\"t__h4 campaign__setup__predicate__join-description\\\" data-test-campaign-entry-join>\\n          {{joinDescription}}\\n        </h4>\\n      {{/if}}\\n      {{#unless isEditing}}\\n        <span class=\\\"campaign__entry-description test__campaign__entry__description\\\">\\n          <Predicates::DescriptionText\\n            @predicateGroup={{predicateGroup}}\\n            @emptyFiltersText={{emptyFiltersText}} as |descriptions|\\n          >\\n            {{#each descriptions as |description|}}\\n              <div class=\\\"u__padb__10\\\">\\n                {{description.text}}\\n              </div>\\n            {{/each}}\\n          </Predicates::DescriptionText>\\n        </span>\\n      {{/unless}}\\n    {{/if}}\\n    {{#if isEditing}}\\n      <Predicates::AttributeSelectorDropdownComponent\\n        @app={{app}}\\n        @filters={{entryFilters}}\\n        @insertFilter=\\\"insertFilter\\\"\\n        @scrollParentSelector=\\\".campaign__outer-container\\\"\\n        class=\\\"test__campaign__entry__selector u__padt__10\\\"\\n        @useTertiaryToggleButton={{true}}\\n        @toggleTestBindingClasses=\\\"test__campaign__entry__selector-toggle\\\"\\n        @dropdownClass=\\\"test__campaign__entry__selector-dropdown\\\"\\n        @dropdownText=\\\"Add rule\\\"\\n        @userType={{campaign.memberType}}\\n      />\\n    {{/if}}\\n  </div>\\n  <div>\\n    {{#if campaign.isNotDraft}}\\n      <div class=\\\"test__campaign__entry__stats u__mt__25\\\">\\n        <h3 class=\\\"t__h1 u__display-inline-block t__campaign__stat\\\">\\n          <LinkTo\\n            @route={{usersRoute}}\\n            @model={{campaign}}\\n            @query={{hash filter=\\\"all\\\"}}\\n            class=\\\"t__solo-link\\\"\\n            data-test-campaign-entry={{true}}\\n          >\\n            {{numeric-formatter-helper campaign.stats.enteredUserCount}}\\n          </LinkTo>\\n        </h3>\\n        <span class=\\\"flex-auto min-w-0 text-gray t__label\\\">\\n          {{inflector-helper memberType campaign.stats.enteredUserCount}} {{inflector-helper \\\"has\\\" campaign.stats.enteredUserCount}} entered\\n        </span>\\n      </div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"campaign__icon o__entry i__svg\\\">\\n    {{inline-svg \\\"campaign-arrow-product-refresh\\\"}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-campaign-entry-editor class=\\\"campaign__entry-exit__item-content\\\">\\n  <div>\\n    <h3 class=\\\"t__h3 test__campaign__entry__title u__padb__15\\\">\\n      {{title}}\\n    </h3>\\n    {{#if isEditing}}\\n      {{#if campaign.isDraft}}\\n        <Campaigns::RoleTypeSelector\\n          @campaign={{campaign}}\\n          class=\\\"test__campaign__entry__role-type-selector\\\"\\n          @scrollParentSelector=\\\".campaign__outer-container\\\"\\n        />\\n      {{else}}\\n        <span class=\\\"campaign__match-selector\\\">\\n          {{formattedMemberType}}\\n        </span>\\n      {{/if}}\\n      <Predicates::JoinTypeEditor\\n        @predicateGroup={{campaign.entryPredicateGroup}}\\n        @joinTypes={{joinTypes}}\\n        class=\\\"test__campaign__entry__join-selector\\\"\\n        @displayInline={{true}}\\n        @dropdownMinWidth={{240}}\\n      />\\n      <Predicates::ListEditorComponent\\n        @predicateGroup={{campaign.entryPredicateGroup}}\\n        @scrollParentSelector=\\\".campaign__outer-container\\\"\\n        class=\\\"campaign__setup__predicate test__campaign__entry__predicate\\\"\\n      />\\n    {{else}}\\n      {{#if predicateDescriptions}}\\n        <h4 class=\\\"t__h4 campaign__setup__predicate__join-description\\\" data-test-campaign-entry-join>\\n          {{joinDescription}}\\n        </h4>\\n      {{/if}}\\n      {{#unless isEditing}}\\n        <span class=\\\"campaign__entry-description test__campaign__entry__description\\\">\\n          <Predicates::DescriptionText\\n            @predicateGroup={{predicateGroup}}\\n            @emptyFiltersText={{emptyFiltersText}} as |descriptions|\\n          >\\n            {{#each descriptions as |description|}}\\n              <div class=\\\"u__padb__10\\\">\\n                {{description.text}}\\n              </div>\\n            {{/each}}\\n          </Predicates::DescriptionText>\\n        </span>\\n      {{/unless}}\\n    {{/if}}\\n    {{#if isEditing}}\\n      <Predicates::AttributeSelectorDropdownComponent\\n        @app={{app}}\\n        @filters={{entryFilters}}\\n        @insertFilter=\\\"insertFilter\\\"\\n        @scrollParentSelector=\\\".campaign__outer-container\\\"\\n        class=\\\"test__campaign__entry__selector u__padt__10\\\"\\n        @useTertiaryToggleButton={{true}}\\n        @toggleTestBindingClasses=\\\"test__campaign__entry__selector-toggle\\\"\\n        @dropdownClass=\\\"test__campaign__entry__selector-dropdown\\\"\\n        @dropdownText=\\\"Add rule\\\"\\n        @userType={{campaign.memberType}}\\n      />\\n    {{/if}}\\n  </div>\\n  <div>\\n    {{#if campaign.isNotDraft}}\\n      <div class=\\\"test__campaign__entry__stats u__mt__25\\\">\\n        <h3 class=\\\"t__h1 u__display-inline-block t__campaign__stat\\\">\\n          <LinkTo\\n            @route={{usersRoute}}\\n            @model={{campaign}}\\n            @query={{hash filter=\\\"all\\\"}}\\n            class=\\\"t__solo-link\\\"\\n            data-test-campaign-entry={{true}}\\n          >\\n            {{numeric-formatter-helper campaign.stats.enteredUserCount}}\\n          </LinkTo>\\n        </h3>\\n        <span class=\\\"flex-auto min-w-0 text-gray t__label\\\">\\n          {{inflector-helper memberType campaign.stats.enteredUserCount}} {{inflector-helper \\\"has\\\" campaign.stats.enteredUserCount}} entered\\n        </span>\\n      </div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"campaign__icon o__entry i__svg\\\">\\n    {{inline-svg \\\"campaign-arrow-product-refresh\\\"}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/campaigns/setup/campaign-entry-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/setup/campaign-entry-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { readOnly, alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport BaseCampaignEntryExitEditor from 'embercom/components/campaigns/setup/base-campaign-entry-exit-editor';\n\nexport default BaseCampaignEntryExitEditor.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  predicateGroup: alias('campaign.entryPredicateGroup'),\n  editingTitle: 'Choose who enters the campaign',\n  emptyFiltersText: 'No rules added yet',\n  nonEditingTitle: templateString('${formattedMemberType} enter the campaign if'),\n  joinTypes: [\n    { value: 'and', label: 'matching all of these rules' },\n    { value: 'or', label: 'matching any of these rules' },\n  ],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-campaign-exit-editor class=\\\"campaign__entry-exit__item-content\\\">\\n  <div>\\n    <h3 class=\\\"t__h3 test__campaign__exit__title u__padb__15\\\">\\n      {{title}}\\n    </h3>\\n    <span>\\n      {{#if campaign.hasGoal}}\\n        Goal has been hit or<br />\\n        <div class=\\\"h-2\\\"></div>\\n      {{/if}}\\n      {{#if campaign.isTargetingLeads}}\\n        <span class=\\\"test__campaign__exit__became-user\\\">\\n          They become a user or\\n        </span>\\n        <br />\\n        <div class=\\\"h-2\\\"></div>\\n      {{/if}}\\n      Received all messages or<br />\\n      <div class=\\\"h-2\\\"></div>\\n      <span class=\\\"test__campaign__time-limit-description\\\">\\n        No messages sent for\\n        {{#if isEditing}}\\n          <Predicates::Inline::ComparisonEditor\\n            @content={{timeLimitOptions}}\\n            @value={{campaign.timeLimit}}\\n            @scrollParentSelector=\\\".campaign__outer-container\\\"\\n            @selectionChanged=\\\"setTimeLimit\\\"\\n            class=\\\"test__campaign__time-limit-editor\\\"\\n            @dropdownItemClass=\\\"test__campaign__time-limit-editor-item\\\"\\n            @dropdownMinWidth={{210}}\\n          />\\n        {{else}}\\n          {{campaign.timeLimit}} days\\n        {{/if}}\\n        {{#if predicateDescriptions}}\\n          or<br />\\n          <div class=\\\"h-2\\\"></div>\\n        {{/if}}\\n      </span>\\n    </span>\\n    {{#if isEditing}}\\n      <div class=\\\"h-2\\\"></div>\\n      <Predicates::JoinTypeEditor\\n        @predicateGroup={{campaign.exitPredicateGroup}}\\n        class=\\\"test__campaign__exit__join-selector\\\"\\n        @joinTypes={{joinTypes}}\\n        @dropdownMinWidth={{252}}\\n      />\\n      <Predicates::ListEditorComponent\\n        @predicateGroup={{campaign.exitPredicateGroup}}\\n        @scrollParentSelector=\\\".campaign__outer-container\\\"\\n        class=\\\"campaign__setup__predicate test__campaign__exit__predicate\\\"\\n      />\\n      <Predicates::AttributeSelectorDropdownComponent\\n        @app={{app}}\\n        @filters={{exitFilters}}\\n        @insertFilter=\\\"insertFilter\\\"\\n        @scrollParentSelector=\\\".campaign__outer-container\\\"\\n        class=\\\"test__campaign__exit__selector u__padt__10\\\"\\n        @useTertiaryToggleButton={{true}}\\n        @toggleTestBindingClasses=\\\"test__campaign__exit__selector-toggle\\\"\\n        @dropdownClass=\\\"test__campaign__exit__selector-dropdown\\\"\\n        @dropdownText=\\\"Add rule\\\"\\n        @userType={{campaign.memberType}}\\n      />\\n    {{else}}\\n      {{#if hasMultiplePredicates}}\\n        <h4 class=\\\"t__h4 campaign__setup__predicate__join-description\\\" data-test-campaign-exit-join>\\n          {{joinDescription}}\\n        </h4>\\n      {{/if}}\\n      <span class=\\\"test__campaign__exit__description\\\">\\n        <Predicates::DescriptionText @predicateGroup={{predicateGroup}} as |descriptions|>\\n          {{#each descriptions as |description|}}\\n            <div class=\\\"u__padb__10\\\">\\n              {{description.text}}\\n            </div>\\n          {{/each}}\\n        </Predicates::DescriptionText>\\n      </span>\\n    {{/if}}\\n  </div>\\n  <div>\\n    {{#if campaign.isNotDraft}}\\n      <div class=\\\"test__campaign__exit__stats  u__mt__25\\\">\\n        <h3 class=\\\"t__h1 u__display-inline-block t__campaign__stat\\\">\\n          <LinkTo\\n            @route={{usersRoute}}\\n            @model={{campaign}}\\n            @query={{hash filter=\\\"exited\\\"}}\\n            class=\\\"t__solo-link\\\"\\n            data-test-campaign-exit={{true}}\\n          >\\n            {{numeric-formatter-helper campaign.stats.exitedUserCount}}\\n          </LinkTo>\\n        </h3>\\n        <span class=\\\"flex-auto min-w-0 text-gray t__label\\\">\\n          {{inflector-helper memberType campaign.stats.exitedUserCount}} {{inflector-helper \\\"has\\\" campaign.stats.exitedUserCount}} exited\\n        </span>\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n<div class=\\\"campaign__icon o__exit i__svg\\\">\\n  {{inline-svg \\\"campaign-arrow-product-refresh\\\"}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-campaign-exit-editor class=\\\"campaign__entry-exit__item-content\\\">\\n  <div>\\n    <h3 class=\\\"t__h3 test__campaign__exit__title u__padb__15\\\">\\n      {{title}}\\n    </h3>\\n    <span>\\n      {{#if campaign.hasGoal}}\\n        Goal has been hit or<br />\\n        <div class=\\\"h-2\\\"></div>\\n      {{/if}}\\n      {{#if campaign.isTargetingLeads}}\\n        <span class=\\\"test__campaign__exit__became-user\\\">\\n          They become a user or\\n        </span>\\n        <br />\\n        <div class=\\\"h-2\\\"></div>\\n      {{/if}}\\n      Received all messages or<br />\\n      <div class=\\\"h-2\\\"></div>\\n      <span class=\\\"test__campaign__time-limit-description\\\">\\n        No messages sent for\\n        {{#if isEditing}}\\n          <Predicates::Inline::ComparisonEditor\\n            @content={{timeLimitOptions}}\\n            @value={{campaign.timeLimit}}\\n            @scrollParentSelector=\\\".campaign__outer-container\\\"\\n            @selectionChanged=\\\"setTimeLimit\\\"\\n            class=\\\"test__campaign__time-limit-editor\\\"\\n            @dropdownItemClass=\\\"test__campaign__time-limit-editor-item\\\"\\n            @dropdownMinWidth={{210}}\\n          />\\n        {{else}}\\n          {{campaign.timeLimit}} days\\n        {{/if}}\\n        {{#if predicateDescriptions}}\\n          or<br />\\n          <div class=\\\"h-2\\\"></div>\\n        {{/if}}\\n      </span>\\n    </span>\\n    {{#if isEditing}}\\n      <div class=\\\"h-2\\\"></div>\\n      <Predicates::JoinTypeEditor\\n        @predicateGroup={{campaign.exitPredicateGroup}}\\n        class=\\\"test__campaign__exit__join-selector\\\"\\n        @joinTypes={{joinTypes}}\\n        @dropdownMinWidth={{252}}\\n      />\\n      <Predicates::ListEditorComponent\\n        @predicateGroup={{campaign.exitPredicateGroup}}\\n        @scrollParentSelector=\\\".campaign__outer-container\\\"\\n        class=\\\"campaign__setup__predicate test__campaign__exit__predicate\\\"\\n      />\\n      <Predicates::AttributeSelectorDropdownComponent\\n        @app={{app}}\\n        @filters={{exitFilters}}\\n        @insertFilter=\\\"insertFilter\\\"\\n        @scrollParentSelector=\\\".campaign__outer-container\\\"\\n        class=\\\"test__campaign__exit__selector u__padt__10\\\"\\n        @useTertiaryToggleButton={{true}}\\n        @toggleTestBindingClasses=\\\"test__campaign__exit__selector-toggle\\\"\\n        @dropdownClass=\\\"test__campaign__exit__selector-dropdown\\\"\\n        @dropdownText=\\\"Add rule\\\"\\n        @userType={{campaign.memberType}}\\n      />\\n    {{else}}\\n      {{#if hasMultiplePredicates}}\\n        <h4 class=\\\"t__h4 campaign__setup__predicate__join-description\\\" data-test-campaign-exit-join>\\n          {{joinDescription}}\\n        </h4>\\n      {{/if}}\\n      <span class=\\\"test__campaign__exit__description\\\">\\n        <Predicates::DescriptionText @predicateGroup={{predicateGroup}} as |descriptions|>\\n          {{#each descriptions as |description|}}\\n            <div class=\\\"u__padb__10\\\">\\n              {{description.text}}\\n            </div>\\n          {{/each}}\\n        </Predicates::DescriptionText>\\n      </span>\\n    {{/if}}\\n  </div>\\n  <div>\\n    {{#if campaign.isNotDraft}}\\n      <div class=\\\"test__campaign__exit__stats  u__mt__25\\\">\\n        <h3 class=\\\"t__h1 u__display-inline-block t__campaign__stat\\\">\\n          <LinkTo\\n            @route={{usersRoute}}\\n            @model={{campaign}}\\n            @query={{hash filter=\\\"exited\\\"}}\\n            class=\\\"t__solo-link\\\"\\n            data-test-campaign-exit={{true}}\\n          >\\n            {{numeric-formatter-helper campaign.stats.exitedUserCount}}\\n          </LinkTo>\\n        </h3>\\n        <span class=\\\"flex-auto min-w-0 text-gray t__label\\\">\\n          {{inflector-helper memberType campaign.stats.exitedUserCount}} {{inflector-helper \\\"has\\\" campaign.stats.exitedUserCount}} exited\\n        </span>\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n<div class=\\\"campaign__icon o__exit i__svg\\\">\\n  {{inline-svg \\\"campaign-arrow-product-refresh\\\"}}\\n</div>\\n\",\"moduleName\":\"embercom/components/campaigns/setup/campaign-exit-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/setup/campaign-exit-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { alias, gt } from '@ember/object/computed';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport BaseCampaignEntryExitEditor from 'embercom/components/campaigns/setup/base-campaign-entry-exit-editor';\n\nexport default BaseCampaignEntryExitEditor.extend({\n  predicateGroup: alias('campaign.exitPredicateGroup'),\n  editingTitle: `Choose how they'll exit`,\n  nonEditingTitle: templateString('${formattedMemberType} exit the campaign if'),\n  hasMultiplePredicates: gt('predicateDescriptions.length', 1),\n  joinTypes: [\n    { value: 'and', label: 'They match all these rules' },\n    { value: 'or', label: 'They match any of these rules' },\n  ],\n  timeLimitOptions: [\n    { label: '15 days', value: 15 },\n    { label: '30 days', value: 30 },\n    { label: '45 days', value: 45 },\n    { label: '60 days', value: 60 },\n    { label: '75 days', value: 75 },\n    { label: '90 days', value: 90 },\n  ],\n  actions: {\n    setTimeLimit(value) {\n      this.set('campaign.timeLimit', value);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-start\\\">\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <h3 class=\\\"test__campaign__goal__title u__padb__15 t__h3\\\">\\n      {{title}}\\n    </h3>\\n    {{#if isEditing}}\\n      <Predicates::GoalListEditorComponent\\n        @predicateGroup={{predicateGroup}}\\n        @scrollParentSelector=\\\".campaign__outer-container\\\"\\n        class=\\\"campaign__setup__predicate campaign__setup__goal-predicate test__campaign__goal__predicate\\\"\\n        @predicateContext={{hash campaignId=campaign.id}}\\n      />\\n    {{else}}\\n      <span class=\\\"test__campaign__goal__description\\\">\\n        <Predicates::DescriptionText\\n          @predicateGroup={{predicateGroup}}\\n          @emptyFiltersText={{emptyFiltersText}}\\n          @isGoalPredicate={{true}} as |descriptions|\\n        >\\n          {{#each descriptions as |description|}}\\n            <span>\\n              {{capitalize description.text}}\\n            </span>\\n            <br />\\n          {{/each}}\\n        </Predicates::DescriptionText>\\n      </span>\\n    {{/if}}\\n    {{#if showGoalSelector}}\\n      <Predicates::AttributeSelectorDropdownComponent\\n        @app={{app}}\\n        @filters={{goalFiltersWithoutStripe}}\\n        @insertFilter=\\\"insertFilter\\\"\\n        @closeFilterSelector=\\\"closeAttributeInserter\\\"\\n        @scrollParentSelector=\\\".campaign__outer-container\\\"\\n        class=\\\"test__campaign__goal__selector\\\"\\n        @toggleTestBindingClasses=\\\"test__campaign__goal__selector-toggle\\\"\\n        @dropdownClass=\\\"test__campaign__goal__selector-dropdown\\\"\\n        @minRequiredUserFilters={{6}}\\n        @userType={{campaign.memberType}}\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-start\\\">\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <h3 class=\\\"test__campaign__goal__title u__padb__15 t__h3\\\">\\n      {{title}}\\n    </h3>\\n    {{#if isEditing}}\\n      <Predicates::GoalListEditorComponent\\n        @predicateGroup={{predicateGroup}}\\n        @scrollParentSelector=\\\".campaign__outer-container\\\"\\n        class=\\\"campaign__setup__predicate campaign__setup__goal-predicate test__campaign__goal__predicate\\\"\\n        @predicateContext={{hash campaignId=campaign.id}}\\n      />\\n    {{else}}\\n      <span class=\\\"test__campaign__goal__description\\\">\\n        <Predicates::DescriptionText\\n          @predicateGroup={{predicateGroup}}\\n          @emptyFiltersText={{emptyFiltersText}}\\n          @isGoalPredicate={{true}} as |descriptions|\\n        >\\n          {{#each descriptions as |description|}}\\n            <span>\\n              {{capitalize description.text}}\\n            </span>\\n            <br />\\n          {{/each}}\\n        </Predicates::DescriptionText>\\n      </span>\\n    {{/if}}\\n    {{#if showGoalSelector}}\\n      <Predicates::AttributeSelectorDropdownComponent\\n        @app={{app}}\\n        @filters={{goalFiltersWithoutStripe}}\\n        @insertFilter=\\\"insertFilter\\\"\\n        @closeFilterSelector=\\\"closeAttributeInserter\\\"\\n        @scrollParentSelector=\\\".campaign__outer-container\\\"\\n        class=\\\"test__campaign__goal__selector\\\"\\n        @toggleTestBindingClasses=\\\"test__campaign__goal__selector-toggle\\\"\\n        @dropdownClass=\\\"test__campaign__goal__selector-dropdown\\\"\\n        @minRequiredUserFilters={{6}}\\n        @userType={{campaign.memberType}}\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/campaigns/setup/campaign-goal-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/setup/campaign-goal-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { alias, and, filter, readOnly, reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  isEditing: false,\n  attributeService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  predicateGroup: alias('campaign.goalPredicateGroup'),\n  title: ternary('isEditing', 'Set your campaign goal', 'Campaign goal'),\n  goalFilters: reads('attributeService.goalFilters'),\n  goalFiltersWithoutStripe: filter('goalFilters', function(filter) {\n    let identifier = filter.attribute.get('identifier');\n    return !(\n      identifier.startsWith('custom_data.STRIPE') ||\n      identifier.startsWith('user_event_summaries.stripe')\n    );\n  }),\n  hasNoGoal: reads('predicateGroup.hasNoUserAddedPredicates'),\n  emptyFiltersText: 'No goal set',\n  showGoalSelector: and('hasNoGoal', 'isEditing'),\n  actions: {\n    insertFilter(filter) {\n      this.predicateGroup.addPredicateFromAttribute(filter.attribute, {\n        isGoalPredicate: true,\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"campaign__setup-header card__header o__with-button {{if isEditing \\\"o__expanded\\\"}} flex flex-row justify-between items-center test__campaign__setup-header\\\">\\n  <h2 class=\\\"t__h2 {{if isEditing \\\"text-white\\\"}}\\\">\\n    Campaign membership\\n  </h2>\\n  <div>\\n    {{#if isEditing}}\\n      {{#if campaign.isDraft}}\\n        <a class=\\\"campaign__setup__done test__campaign__setup__done {{button-classes-metal type=\\\"primary\\\"}}\\\" {{action saveCampaign}}>\\n          Done\\n        </a>\\n      {{else}}\\n        <a class=\\\"campaign__setup__cancel test__campaign__setup__cancel {{button-classes-metal type=\\\"primary\\\"}}\\\" {{action cancelCampaignChanges}}>\\n          Cancel\\n        </a>\\n        <a class=\\\"campaign__setup__save test__campaign__setup__save {{button-classes-metal type=\\\"primary-live\\\"}}\\\" {{action saveCampaign}}>\\n          Save\\n        </a>\\n      {{/if}}\\n    {{else}}\\n      <LinkTo\\n        @route={{campaignRoute}}\\n        @model={{campaign}}\\n        @query={{hash editing=\\\"true\\\"}}\\n        @classNames=\\\"campaign__setup__edit btn o__secondary o__subtle test__campaign__setup__edit {{if campaign.migrationToSeriesInProgress \\\"o__disabled\\\"}}\\\"\\n      >\\n        {{ic-interface-icon \\\"edit\\\"}} Edit settings\\n      </LinkTo>\\n    {{/if}}\\n  </div>\\n</div>\\n<div class=\\\"campaign__setup-content\\\">\\n  <div class=\\\"campaign__setup__goal-container flex flex-row justify-between items-center p-5\\\">\\n    <Campaigns::Setup::CampaignGoalEditor\\n      @campaign={{campaign}}\\n      @isEditing={{isEditing}}\\n    />\\n    {{#if campaign.isNotDraft}}\\n      <div class=\\\"flex items-center test__campaign__goal__stats\\\">\\n        <h3 class=\\\"t__h1 text-blue u__display-inline-block u__mr__10\\\">\\n          <LinkTo\\n            @route={{usersRoute}}\\n            @model={{campaign}}\\n            @query={{hash filter=\\\"hit-goal\\\"}}\\n            class=\\\"test__campaign__goal__link t__solo-link\\\"\\n          >\\n            {{format-percentage campaign.stats.goalSuccessRate}}\\n          </LinkTo>\\n        </h3>\\n        <span class=\\\"flex-auto min-w-0 text-gray\\\">\\n          of {{inflector-helper campaign.memberType}} have reached the goal\\n        </span>\\n      </div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"campaign__entry-exit\\\">\\n    <Campaigns::Setup::CampaignEntryEditor\\n      @campaign={{campaign}}\\n      @isEditing={{isEditing}}\\n      class=\\\"campaign__entry-exit__item o__first\\\"\\n    />\\n    <Campaigns::Setup::UserPreview\\n      @campaignId={{campaign.id}}\\n      @isEditing={{isEditing}}\\n      @campaign={{campaign}}\\n      @isPredicateGroupDirty={{campaign.entryPredicateGroup.hasDirtyAttributes}}\\n      @isPredicateGroupValid={{campaign.entryPredicateGroup.allPredicatesAreValid}}\\n      @memberTypeChanged={{campaign.hasMemberTypeChanged}}\\n      class=\\\"campaign__entry-exit__item\\\"\\n    />\\n    <Campaigns::Setup::CampaignExitEditor\\n      @campaign={{campaign}}\\n      @isEditing={{isEditing}}\\n      class=\\\"campaign__entry-exit__item o__last\\\"\\n    />\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"campaign__setup-header card__header o__with-button {{if isEditing \\\"o__expanded\\\"}} flex flex-row justify-between items-center test__campaign__setup-header\\\">\\n  <h2 class=\\\"t__h2 {{if isEditing \\\"text-white\\\"}}\\\">\\n    Campaign membership\\n  </h2>\\n  <div>\\n    {{#if isEditing}}\\n      {{#if campaign.isDraft}}\\n        <a class=\\\"campaign__setup__done test__campaign__setup__done {{button-classes-metal type=\\\"primary\\\"}}\\\" {{action saveCampaign}}>\\n          Done\\n        </a>\\n      {{else}}\\n        <a class=\\\"campaign__setup__cancel test__campaign__setup__cancel {{button-classes-metal type=\\\"primary\\\"}}\\\" {{action cancelCampaignChanges}}>\\n          Cancel\\n        </a>\\n        <a class=\\\"campaign__setup__save test__campaign__setup__save {{button-classes-metal type=\\\"primary-live\\\"}}\\\" {{action saveCampaign}}>\\n          Save\\n        </a>\\n      {{/if}}\\n    {{else}}\\n      <LinkTo\\n        @route={{campaignRoute}}\\n        @model={{campaign}}\\n        @query={{hash editing=\\\"true\\\"}}\\n        @classNames=\\\"campaign__setup__edit btn o__secondary o__subtle test__campaign__setup__edit {{if campaign.migrationToSeriesInProgress \\\"o__disabled\\\"}}\\\"\\n      >\\n        {{ic-interface-icon \\\"edit\\\"}} Edit settings\\n      </LinkTo>\\n    {{/if}}\\n  </div>\\n</div>\\n<div class=\\\"campaign__setup-content\\\">\\n  <div class=\\\"campaign__setup__goal-container flex flex-row justify-between items-center p-5\\\">\\n    <Campaigns::Setup::CampaignGoalEditor\\n      @campaign={{campaign}}\\n      @isEditing={{isEditing}}\\n    />\\n    {{#if campaign.isNotDraft}}\\n      <div class=\\\"flex items-center test__campaign__goal__stats\\\">\\n        <h3 class=\\\"t__h1 text-blue u__display-inline-block u__mr__10\\\">\\n          <LinkTo\\n            @route={{usersRoute}}\\n            @model={{campaign}}\\n            @query={{hash filter=\\\"hit-goal\\\"}}\\n            class=\\\"test__campaign__goal__link t__solo-link\\\"\\n          >\\n            {{format-percentage campaign.stats.goalSuccessRate}}\\n          </LinkTo>\\n        </h3>\\n        <span class=\\\"flex-auto min-w-0 text-gray\\\">\\n          of {{inflector-helper campaign.memberType}} have reached the goal\\n        </span>\\n      </div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"campaign__entry-exit\\\">\\n    <Campaigns::Setup::CampaignEntryEditor\\n      @campaign={{campaign}}\\n      @isEditing={{isEditing}}\\n      class=\\\"campaign__entry-exit__item o__first\\\"\\n    />\\n    <Campaigns::Setup::UserPreview\\n      @campaignId={{campaign.id}}\\n      @isEditing={{isEditing}}\\n      @campaign={{campaign}}\\n      @isPredicateGroupDirty={{campaign.entryPredicateGroup.hasDirtyAttributes}}\\n      @isPredicateGroupValid={{campaign.entryPredicateGroup.allPredicatesAreValid}}\\n      @memberTypeChanged={{campaign.hasMemberTypeChanged}}\\n      class=\\\"campaign__entry-exit__item\\\"\\n    />\\n    <Campaigns::Setup::CampaignExitEditor\\n      @campaign={{campaign}}\\n      @isEditing={{isEditing}}\\n      class=\\\"campaign__entry-exit__item o__last\\\"\\n    />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/campaigns/setup/campaign-setup.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/setup/campaign-setup.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  usersRoute: 'apps.app.outbound.messages.auto.campaigns.campaign.users',\n  isEditing: false,\n  classNames: [\n    'campaign__card',\n    'campaign__setup',\n    'content-editor__step',\n    'test__campaign__setup',\n  ],\n  classNameBindings: ['isEditing:o__maximized', 'isEditing:o__edit-page'],\n  campaignRoute: 'apps.app.outbound.messages.auto.campaigns.campaign',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"campaign__entry-exit__item-content\\\">\\n  <div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n    <div\\n      class=\\\"campaign__users-and-stats campaign__entry-exit__item-content layout__box o__has-rows o__flexes-to-1\\\"\\n    >\\n      <div>\\n        <h3 class=\\\"t__h3 u__mb__10 test__campaign__user__title\\\">\\n          {{title}}\\n        </h3>\\n        <div class=\\\"campaign__users u__relative\\\">\\n          {{#each recipients as |user|}}\\n            <div class=\\\"campaign__user test__campaign__user-actual\\\">\\n              <a\\n                href=\\\"{{href-to \\\"apps.app.users.user.all-conversations\\\" user.id}}\\\"\\n                class=\\\"u__all-pointer-events t__solo-link campaign__user__container\\\"\\n              >\\n                <Common::Tooltips::User @userId={{user.id}} class=\\\"campaign__user__container\\\">\\n                  {{ic-avatar direct=user.avatarData size=\\\"m\\\" contained=true}}\\n                </Common::Tooltips::User>\\n              </a>\\n            </div>\\n          {{/each}}\\n          {{#each emptyUserCounter}}\\n            <div\\n              class=\\\"campaign__user o__empty test__campaign__user-empty\\\"\\n            ></div>\\n          {{/each}}\\n          {{#liquid-if runFetchTask.isRunning class=\\\"campaign__overlay-fade\\\"}}\\n            <div class=\\\"campaign__loading-overlay u__layout-center test__campaign__loading-overlay\\\">\\n              <div class=\\\"campaign__loading-circle u__center-item\\\">\\n                <IcLoadingIndicator @size=\\\"small\\\" />\\n              </div>\\n            </div>\\n          {{/liquid-if}}\\n        </div>\\n      </div>\\n      {{#unless isDraftWithNoUsersToShow}}\\n        <div>\\n          <div class=\\\"u__mt__10 test__campaign__users-stat\\\">\\n            <h3 class=\\\"t__h1 u__display-inline-block test__campaign-users-stat__value t__campaign__stat\\\">\\n              {{#if (or campaign.isDraft isLiveOrStoppedEditMode)}}\\n                {{numeric-formatter-helper totalUserCount}}\\n              {{else}}\\n                <LinkTo\\n                  @route={{usersRoute}}\\n                  @model={{campaign}}\\n                  @query={{hash filter=\\\"in-campaign\\\"}}\\n                  class=\\\"t__solo-link\\\"\\n                  data-test-campaign-in-campaign={{true}}\\n                >\\n                  {{numeric-formatter-helper campaign.stats.currentUserCount}}\\n                </LinkTo>\\n              {{/if}}\\n            </h3>\\n            <span class=\\\"text-gray t__label u__display-inline-block\\\">\\n              {{inflector-helper campaign.memberType totalUserCount}}\\n              {{#if isLiveOrStoppedEditMode}}\\n                <IcTooltipIcon @content={{concat \\\"This includes all \\\" (inflector-helper campaign.memberType) \\\", even if they've already left the campaign. They won't enter it again\\\"}} />\\n              {{/if}}\\n            </span>\\n          </div>\\n        </div>\\n      {{/unless}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"campaign__entry-exit__item-content\\\">\\n  <div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n    <div\\n      class=\\\"campaign__users-and-stats campaign__entry-exit__item-content layout__box o__has-rows o__flexes-to-1\\\"\\n    >\\n      <div>\\n        <h3 class=\\\"t__h3 u__mb__10 test__campaign__user__title\\\">\\n          {{title}}\\n        </h3>\\n        <div class=\\\"campaign__users u__relative\\\">\\n          {{#each recipients as |user|}}\\n            <div class=\\\"campaign__user test__campaign__user-actual\\\">\\n              <a\\n                href=\\\"{{href-to \\\"apps.app.users.user.all-conversations\\\" user.id}}\\\"\\n                class=\\\"u__all-pointer-events t__solo-link campaign__user__container\\\"\\n              >\\n                <Common::Tooltips::User @userId={{user.id}} class=\\\"campaign__user__container\\\">\\n                  {{ic-avatar direct=user.avatarData size=\\\"m\\\" contained=true}}\\n                </Common::Tooltips::User>\\n              </a>\\n            </div>\\n          {{/each}}\\n          {{#each emptyUserCounter}}\\n            <div\\n              class=\\\"campaign__user o__empty test__campaign__user-empty\\\"\\n            ></div>\\n          {{/each}}\\n          {{#liquid-if runFetchTask.isRunning class=\\\"campaign__overlay-fade\\\"}}\\n            <div class=\\\"campaign__loading-overlay u__layout-center test__campaign__loading-overlay\\\">\\n              <div class=\\\"campaign__loading-circle u__center-item\\\">\\n                <IcLoadingIndicator @size=\\\"small\\\" />\\n              </div>\\n            </div>\\n          {{/liquid-if}}\\n        </div>\\n      </div>\\n      {{#unless isDraftWithNoUsersToShow}}\\n        <div>\\n          <div class=\\\"u__mt__10 test__campaign__users-stat\\\">\\n            <h3 class=\\\"t__h1 u__display-inline-block test__campaign-users-stat__value t__campaign__stat\\\">\\n              {{#if (or campaign.isDraft isLiveOrStoppedEditMode)}}\\n                {{numeric-formatter-helper totalUserCount}}\\n              {{else}}\\n                <LinkTo\\n                  @route={{usersRoute}}\\n                  @model={{campaign}}\\n                  @query={{hash filter=\\\"in-campaign\\\"}}\\n                  class=\\\"t__solo-link\\\"\\n                  data-test-campaign-in-campaign={{true}}\\n                >\\n                  {{numeric-formatter-helper campaign.stats.currentUserCount}}\\n                </LinkTo>\\n              {{/if}}\\n            </h3>\\n            <span class=\\\"text-gray t__label u__display-inline-block\\\">\\n              {{inflector-helper campaign.memberType totalUserCount}}\\n              {{#if isLiveOrStoppedEditMode}}\\n                <IcTooltipIcon @content={{concat \\\"This includes all \\\" (inflector-helper campaign.memberType) \\\", even if they've already left the campaign. They won't enter it again\\\"}} />\\n              {{/if}}\\n            </span>\\n          </div>\\n        </div>\\n      {{/unless}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/campaigns/setup/user-preview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/setup/user-preview.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { alias, and, or, notEmpty, gt, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport ajax from 'embercom/lib/ajax';\nimport {\n  subtractProperties,\n  templateString,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport ENV from 'embercom/config/environment';\nimport { task, timeout } from 'ember-concurrency';\n\nexport default Component.extend({\n  store: service(),\n  appService: service(),\n  notificationsService: service(),\n  app: alias('appService.app'),\n  USER_PREVIEW_MAX: 24,\n  totalUserCount: 0,\n  isPredicateGroupDirty: false,\n  isLiveOrStoppedEditMode: and('campaign.isNotDraft', 'isEditing'),\n  isDraftOrEditingMode: or('campaign.isDraft', 'isEditing'),\n  hasRecipients: notEmpty('recipients'),\n  hasNoPredicatesTitle: 'Choose who will enter',\n  hasNoMatchesTitle: 'No one matches yet',\n  hasNoRecipientsTitle: ternaryToProperty(\n    'campaign.entryPredicateGroup.hasUserAddedPredicates',\n    'hasNoMatchesTitle',\n    'hasNoPredicatesTitle',\n  ),\n  hasRecipientsTitle: templateString('These ${campaign.memberType}s will enter'),\n  draftTitle: ternaryToProperty('hasRecipients', 'hasRecipientsTitle', 'hasNoRecipientsTitle'),\n  liveTitleNonEditMode: 'In the campaign now',\n  liveTitleEditMode: templateString('These ${campaign.memberType}s match the rules'),\n  liveTitle: ternaryToProperty(\n    'isLiveOrStoppedEditMode',\n    'liveTitleEditMode',\n    'liveTitleNonEditMode',\n  ),\n  title: ternaryToProperty('campaign.isDraft', 'draftTitle', 'liveTitle'),\n  emptyUserTotal: subtractProperties('USER_PREVIEW_MAX', 'recipients.length'),\n  emptyUserCounter: computed('emptyUserTotal', function() {\n    return new Array(this.emptyUserTotal).fill(1);\n  }),\n  usersToShow: gt('totalUserCount', 0),\n  noUsersToShow: not('usersToShow'),\n  hasUsersInCampaign: gt('campaign.stats.currentUserCount', 0),\n  notInEditMode: not('isEditing'),\n  hasUsersAndNotInEditMode: and('hasUsersInCampaign', 'notInEditMode'),\n  entryPredicatesAreValid: and(\n    'campaign.entryPredicateGroup.allPredicatesAreValid',\n    'campaign.entryPredicateGroup.hasUserAddedPredicates',\n  ),\n  shouldTryFetchUsers: or('entryPredicatesAreValid', 'hasUsersAndNotInEditMode'),\n  isDraftWithNoUsersToShow: and('noUsersToShow', 'campaign.isDraft'),\n  usersRoute: 'apps.app.outbound.messages.auto.campaigns.campaign.users',\n  didInsertElement() {\n    this._super(...arguments);\n    if (this.shouldTryFetchUsers) {\n      this.fetchUserPreviews.perform();\n    }\n  },\n  maybeResetUsers(campaignHasChanged) {\n    if (campaignHasChanged || !this.entryPredicatesAreValid) {\n      this.setProperties({\n        rawUsers: [],\n        totalUserCount: 0,\n      });\n    }\n  },\n  maybeCancelTasks(campaignHasChanged) {\n    if (campaignHasChanged) {\n      if (this.get('runFetchTask.isRunning')) {\n        this.runFetchTask.cancelAll();\n      }\n      if (this.get('fetchUserPreviews.isRunning')) {\n        this.fetchUserPreviews.cancelAll();\n      }\n    }\n  },\n  _oldCampaignId: null,\n  dirtinessHasChanged: false,\n  didUpdateAttrs() {\n    this._super(...arguments);\n    let newCampaignId = this.get('campaign.id');\n    let campaignHasChanged = this._oldCampaignId !== newCampaignId;\n    this.set('_oldCampaignId', newCampaignId);\n\n    if (this.isPredicateGroupDirty) {\n      this.set('dirtinessHasChanged', true);\n    }\n\n    let relevantPropsChanged =\n      campaignHasChanged ||\n      this.memberTypeChanged ||\n      (this.dirtinessHasChanged && this.isPredicateGroupValid);\n    this.maybeResetUsers(campaignHasChanged);\n    this.maybeCancelTasks(campaignHasChanged);\n    if (relevantPropsChanged && this.shouldTryFetchUsers) {\n      this.runFetchTask.perform();\n    }\n  },\n  runFetchTask: task(function*() {\n    // Pat: When the model is dirty an autosave kicks off 2 seconds later. As we want to make sure that the campaign has been saved before fetching the user previews we offset the ajax call by 3 seconds (2 sec autosave + 1 sec buffer)\n    yield timeout(ENV.APP._2000MS + ENV.APP._1000MS);\n    yield this.fetchUserPreviews.perform();\n  }).drop(),\n  fetchUserPreviews: task(function*() {\n    let result;\n    try {\n      result = yield ajax({\n        url: '/ember/campaigns/preview_users.json',\n        type: 'GET',\n        data: this.generateFetchParams(),\n      });\n      this.setProperties({\n        rawUsers: result.users,\n        totalUserCount: result.count,\n      });\n      this.set('campaign.audiencePreviewCount', result.count);\n    } catch (e) {\n      console.error(e);\n      if (e.jqXHR?.responseJSON?.message) {\n        let message = e.jqXHR.responseJSON.message;\n        this.notificationsService.notifyError(message);\n      }\n    }\n    return result;\n  }).drop(),\n  generateFetchParams() {\n    let params = {\n      app_id: this.get('app.id'),\n      id: this.get('campaign.id'),\n    };\n    if (this.isDraftOrEditingMode) {\n      params.entry_predicates = JSON.stringify(\n        this.get('campaign.entryPredicateGroup.predicatesAsJSON'),\n      );\n    }\n    return params;\n  },\n  recipients: computed('rawUsers.[]', function() {\n    if (this.get('rawUsers.length')) {\n      this.store.pushPayload({ users: this.rawUsers });\n      return this.rawUsers.map(user => this.store.peekRecord('user', user.id));\n    } else {\n      return [];\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<td class=\\\"message__list__selection-cell tbl__cell o__selection o__continues-into-next-cell\\\">\\n  <label>\\n    <Input @type=\\\"checkbox\\\" @checked={{@message.selected}} data-test-message={{@message.id}} />\\n  </label>\\n</td>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<td class=\\\"message__list__selection-cell tbl__cell o__selection o__continues-into-next-cell\\\">\\n  <label>\\n    <Input @type=\\\"checkbox\\\" @checked={{@message.selected}} data-test-message={{@message.id}} />\\n  </label>\\n</td>\\n\",\"moduleName\":\"embercom/components/campaigns/table/campaign-selection-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/table/campaign-selection-cell.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span data-test-created-cell>{{row.humanReadableCreationDate}}</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span data-test-created-cell>{{row.humanReadableCreationDate}}</span>\\n\",\"moduleName\":\"embercom/components/campaigns/table/created-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/table/created-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span data-test-message-count>{{row.messageCounts.all}}</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span data-test-message-count>{{row.messageCounts.all}}</span>\\n\",\"moduleName\":\"embercom/components/campaigns/table/message-count-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/table/message-count-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<thead class=\\\"tbl__body\\\" data-test-campaign-stats-header>\\n  <tr class=\\\"o__fit campaign-messages-list-header message__list-legacy__message-list-table\\\">\\n    <td class=\\\"message__list__selection-cell tbl__cell\\\">\\n      <label >\\n        <Input\\n          data-test-campaign-stats-checkbox=\\\"true\\\"\\n          @type=\\\"checkbox\\\"\\n          @checked={{allMessagesSelected}}\\n       />\\n      </label>\\n    </td>\\n\\n    <td class=\\\"tbl__cell t__label u__padl__55\\\">\\n      <span data-test-campaign-stats=\\\"title\\\">\\n        Title\\n      </span>\\n    </td>\\n    <td class=\\\"tbl__cell t__label\\\">\\n      <span data-test-campaign-stats=\\\"variations\\\">\\n      </span>\\n    </td>\\n    <td class=\\\"tbl__cell t__label\\\">\\n      <span data-test-campaign-stats=\\\"from\\\">\\n        From\\n      </span>\\n    </td>\\n    <td class=\\\"tbl__cell t__label\\\">\\n      <span data-test-campaign-stats=\\\"sent\\\">\\n        {{ic-interface-icon 'person'}} Sent\\n      </span>\\n    </td>\\n    <td class=\\\"tbl__cell t__label\\\">\\n      <span data-test-campaign-stats=\\\"opened\\\">\\n        {{ic-interface-icon 'visible'}} Opened\\n      </span>\\n    </td>\\n    <td class=\\\"tbl__cell t__label\\\">\\n      <span data-test-campaign-stats=\\\"goal\\\">\\n        {{ic-interface-icon 'goals'}} Goal\\n      </span>\\n    </td>\\n    <td class=\\\"tbl__cell t__label\\\">\\n      <span data-test-campaign-stats=\\\"clicked\\\">\\n        {{ic-interface-icon 'cursor'}} Clicked\\n      </span>\\n    </td>\\n  </tr>\\n</thead>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<thead class=\\\"tbl__body\\\" data-test-campaign-stats-header>\\n  <tr class=\\\"o__fit campaign-messages-list-header message__list-legacy__message-list-table\\\">\\n    <td class=\\\"message__list__selection-cell tbl__cell\\\">\\n      <label >\\n        <Input\\n          data-test-campaign-stats-checkbox=\\\"true\\\"\\n          @type=\\\"checkbox\\\"\\n          @checked={{allMessagesSelected}}\\n       />\\n      </label>\\n    </td>\\n\\n    <td class=\\\"tbl__cell t__label u__padl__55\\\">\\n      <span data-test-campaign-stats=\\\"title\\\">\\n        Title\\n      </span>\\n    </td>\\n    <td class=\\\"tbl__cell t__label\\\">\\n      <span data-test-campaign-stats=\\\"variations\\\">\\n      </span>\\n    </td>\\n    <td class=\\\"tbl__cell t__label\\\">\\n      <span data-test-campaign-stats=\\\"from\\\">\\n        From\\n      </span>\\n    </td>\\n    <td class=\\\"tbl__cell t__label\\\">\\n      <span data-test-campaign-stats=\\\"sent\\\">\\n        {{ic-interface-icon 'person'}} Sent\\n      </span>\\n    </td>\\n    <td class=\\\"tbl__cell t__label\\\">\\n      <span data-test-campaign-stats=\\\"opened\\\">\\n        {{ic-interface-icon 'visible'}} Opened\\n      </span>\\n    </td>\\n    <td class=\\\"tbl__cell t__label\\\">\\n      <span data-test-campaign-stats=\\\"goal\\\">\\n        {{ic-interface-icon 'goals'}} Goal\\n      </span>\\n    </td>\\n    <td class=\\\"tbl__cell t__label\\\">\\n      <span data-test-campaign-stats=\\\"clicked\\\">\\n        {{ic-interface-icon 'cursor'}} Clicked\\n      </span>\\n    </td>\\n  </tr>\\n</thead>\\n\",\"moduleName\":\"embercom/components/campaigns/table/stats-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/table/stats-header.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  tagName: '',\n  appService: service(),\n  app: readOnly('appService.app'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<tr>\\n  <th class=\\\"tbl__cell t__label\\\">\\n    <a {{action sortBy 'title'}} class=\\\"t__solo-link\\\" data-test-sort-by=\\\"title\\\">\\n      <span>Title</span>\\n      {{#if (eq sortColumn 'title')}}\\n        <span data-test-sort-icon=\\\"title\\\">\\n          {{sort-icon-pattern descending=(eq sortDirection 'desc')}}\\n        </span>         \\n      {{/if}}\\n    </a>\\n  </th>\\n  <th class=\\\"tbl__cell t__label\\\">\\n    <span>Messages</span>\\n  </th>\\n  <th class=\\\"tbl__cell t__label\\\">\\n    <span>Joined</span>\\n  </th>\\n  <th class=\\\"tbl__cell t__label\\\">\\n    <span>Members</span>\\n  </th>\\n  <th class=\\\"tbl__cell t__label\\\">\\n    <span>Left</span>\\n  </th>\\n  <th class=\\\"tbl__cell t__label\\\">\\n    {{ic-interface-icon 'goals'}}\\n    <span>Goal</span>\\n  </th>\\n  <th class=\\\"tbl__cell t__label\\\">\\n    <a {{action sortBy 'created_at'}} class=\\\"t__solo-link\\\" data-test-sort-by=\\\"created_at\\\">   \\n      {{ic-interface-icon 'calendar'}}\\n      <span>Created</span>\\n      {{#if (eq sortColumn 'created_at')}}\\n        <span data-test-sort-icon=\\\"created_at\\\">\\n          {{sort-icon-pattern descending=(eq sortDirection 'desc')}}\\n        </span>\\n      {{/if}}\\n    </a>\\n  </th>\\n</tr>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<tr>\\n  <th class=\\\"tbl__cell t__label\\\">\\n    <a {{action sortBy 'title'}} class=\\\"t__solo-link\\\" data-test-sort-by=\\\"title\\\">\\n      <span>Title</span>\\n      {{#if (eq sortColumn 'title')}}\\n        <span data-test-sort-icon=\\\"title\\\">\\n          {{sort-icon-pattern descending=(eq sortDirection 'desc')}}\\n        </span>         \\n      {{/if}}\\n    </a>\\n  </th>\\n  <th class=\\\"tbl__cell t__label\\\">\\n    <span>Messages</span>\\n  </th>\\n  <th class=\\\"tbl__cell t__label\\\">\\n    <span>Joined</span>\\n  </th>\\n  <th class=\\\"tbl__cell t__label\\\">\\n    <span>Members</span>\\n  </th>\\n  <th class=\\\"tbl__cell t__label\\\">\\n    <span>Left</span>\\n  </th>\\n  <th class=\\\"tbl__cell t__label\\\">\\n    {{ic-interface-icon 'goals'}}\\n    <span>Goal</span>\\n  </th>\\n  <th class=\\\"tbl__cell t__label\\\">\\n    <a {{action sortBy 'created_at'}} class=\\\"t__solo-link\\\" data-test-sort-by=\\\"created_at\\\">   \\n      {{ic-interface-icon 'calendar'}}\\n      <span>Created</span>\\n      {{#if (eq sortColumn 'created_at')}}\\n        <span data-test-sort-icon=\\\"created_at\\\">\\n          {{sort-icon-pattern descending=(eq sortDirection 'desc')}}\\n        </span>\\n      {{/if}}\\n    </a>\\n  </th>\\n</tr>\\n\",\"moduleName\":\"embercom/components/campaigns/table/table-headers.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/table/table-headers.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  'data-test-table-header': true,\n  tagName: 'thead',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<LinkTo\\n  @route=\\\"apps.app.outbound.messages.auto.campaigns.campaign\\\"\\n  @model={{row.id}}\\n  @classNames=\\\"t__h3 t__solo-link\\\"\\n  data-test-title-link={{row.title}}\\n>\\n  {{row.title}}\\n</LinkTo>\\n<span data-test-state-stamp class=\\\"u__padl__5\\\" {{tooltip content=\\\"If a campaign is in a draining state, new people will stop entering it, while everyone in it already will finish it.\\\" isDisabled=(not-eq row.uiStateName \\\"Emptying\\\")}}>\\n  {{ic-stamp row.uiStateName}}\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<LinkTo\\n  @route=\\\"apps.app.outbound.messages.auto.campaigns.campaign\\\"\\n  @model={{row.id}}\\n  @classNames=\\\"t__h3 t__solo-link\\\"\\n  data-test-title-link={{row.title}}\\n>\\n  {{row.title}}\\n</LinkTo>\\n<span data-test-state-stamp class=\\\"u__padl__5\\\" {{tooltip content=\\\"If a campaign is in a draining state, new people will stop entering it, while everyone in it already will finish it.\\\" isDisabled=(not-eq row.uiStateName \\\"Emptying\\\")}}>\\n  {{ic-stamp row.uiStateName}}\\n</span>\\n\",\"moduleName\":\"embercom/components/campaigns/table/title-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/table/title-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box campaign__container o__flexes-to-1 u__relative js__user__list__items-container\\\">\\n  <div class=\\\"layout__box o__flexes-to-1 o__has-rows card\\\">\\n    <div class=\\\"layout__box campaign__user-list-header\\\">\\n      <span class=\\\"t__h3\\\">\\n        {{inflector-helper (capitalize memberType)}} {{headerLabel}} if\\n      </span>\\n      <span class=\\\"u__ml__05 predicate__description test__campaign-user-list__predicates t__light-text\\\">\\n        {{#if (eq this.filter \\\"exited\\\")}}\\n          {{#if campaign.hasGoal}}\\n            Goal has been hit or\\n          {{/if}}\\n          Received all messages or\\n          <span class=\\\"test__campaign__time-limit-description\\\">\\n            No messages sent for {{campaign.timeLimit}} days\\n          </span>\\n          {{#if currentPredicateGroup.userAddedPredicates}}\\n            or\\n          {{/if}}\\n        {{/if}}\\n        {{#if (or currentPredicateGroup.userAddedPredicates (and (not-eq this.filter \\\"exited\\\") (not currentPredicateGroup.userAddedPredicates)))}}\\n          <Predicates::IconDescriptionComponent\\n            @predicates={{currentPredicateGroup.userAddedPredicates}}\\n            @isOrMode={{currentPredicateGroup.isOrMode}}\\n            @noDescriptionsText=\\\"No rules added yet\\\"\\n            @orGroupText=\\\"matches any of:\\\"\\n          />\\n        {{/if}}\\n      </span>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 u__pad__20\\\">\\n      {{#if users}}\\n        {{!-- template-lint-disable intercom/no-custom-table --}}\\n        <table class=\\\"tbl o__fit u__mt__0\\\">\\n          {{!-- template-lint-enable intercom/no-custom-table --}}\\n          <thead>\\n            <tr>\\n              <th class=\\\"tbl__cell t__label\\\">\\n                {{capitalize memberType}}\\n              </th>\\n              <th class=\\\"tbl__cell t__label\\\">\\n                Entered\\n              </th>\\n              {{#unless (eq this.filter \\\"in-campaign\\\")}}\\n                <th class=\\\"tbl__cell t__label\\\">\\n                  Hit the Goal\\n                </th>\\n                <th class=\\\"tbl__cell t__label\\\">\\n                  Exited\\n                </th>\\n              {{/unless}}\\n            </tr>\\n          </thead>\\n          <tbody class=\\\"tbl__body\\\">\\n            {{#if (gt deletedUsersCount 0)}}\\n              <MessageEditor::Stats::Tables::DeletedUsersInfoRow\\n                @statistic={{this.filter}}\\n                @showPreColumn={{false}}\\n                @label=\\\"campaign\\\"\\n                @types={{array campaign.memberType}}\\n                @countDifference={{deletedUsersCount}}\\n              />\\n            {{/if}}\\n            {{#each users as |user|}}\\n              <tr class=\\\"test__campaign__user-list-row\\\">\\n                <td class=\\\"tbl__cell\\\">\\n                  <span class=\\\"avatar__container o__s\\\">\\n                    <a href=\\\"{{href-to \\\"apps.app.users.user.all-conversations\\\" user.id}}\\\" class=\\\"u__all-pointer-events t__solo-link\\\">\\n                      {{ic-avatar direct=user.avatarData size=\\\"s\\\" contained=true}} {{user.display_as}}\\n                    </a>\\n                  </span>\\n                </td>\\n                <td class=\\\"tbl__cell\\\">\\n                  {{full-relative-time-ago-helper user.entered_campaign_at fallback=\\\"—\\\"}}\\n                </td>\\n                {{#unless (eq this.filter \\\"in-campaign\\\")}}\\n                  <td class=\\\"tbl__cell\\\">\\n                    {{full-relative-time-ago-helper user.hit_goal_at fallback=\\\"—\\\"}}\\n                  </td>\\n                  <td class=\\\"tbl__cell\\\">\\n                    {{full-relative-time-ago-helper user.exited_campaign_at fallback=\\\"—\\\"}}\\n                  </td>\\n                {{/unless}}\\n              </tr>\\n            {{/each}}\\n          </tbody>\\n        </table>\\n      {{else if (not isLoadingNextPage)}}\\n        <IcEmptyState\\n          @icon=\\\"people\\\"\\n          @title={{concat \\\"No \\\" (inflector-helper memberType) \\\" \\\" nothingnessSuffix}}\\n        />\\n      {{/if}}\\n      {{#if isLoadingNextPage}}\\n        <div class=\\\"flex items-start\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\" />\\n        </div>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box campaign__container o__flexes-to-1 u__relative js__user__list__items-container\\\">\\n  <div class=\\\"layout__box o__flexes-to-1 o__has-rows card\\\">\\n    <div class=\\\"layout__box campaign__user-list-header\\\">\\n      <span class=\\\"t__h3\\\">\\n        {{inflector-helper (capitalize memberType)}} {{headerLabel}} if\\n      </span>\\n      <span class=\\\"u__ml__05 predicate__description test__campaign-user-list__predicates t__light-text\\\">\\n        {{#if (eq this.filter \\\"exited\\\")}}\\n          {{#if campaign.hasGoal}}\\n            Goal has been hit or\\n          {{/if}}\\n          Received all messages or\\n          <span class=\\\"test__campaign__time-limit-description\\\">\\n            No messages sent for {{campaign.timeLimit}} days\\n          </span>\\n          {{#if currentPredicateGroup.userAddedPredicates}}\\n            or\\n          {{/if}}\\n        {{/if}}\\n        {{#if (or currentPredicateGroup.userAddedPredicates (and (not-eq this.filter \\\"exited\\\") (not currentPredicateGroup.userAddedPredicates)))}}\\n          <Predicates::IconDescriptionComponent\\n            @predicates={{currentPredicateGroup.userAddedPredicates}}\\n            @isOrMode={{currentPredicateGroup.isOrMode}}\\n            @noDescriptionsText=\\\"No rules added yet\\\"\\n            @orGroupText=\\\"matches any of:\\\"\\n          />\\n        {{/if}}\\n      </span>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 u__pad__20\\\">\\n      {{#if users}}\\n        {{!-- template-lint-disable intercom/no-custom-table --}}\\n        <table class=\\\"tbl o__fit u__mt__0\\\">\\n          {{!-- template-lint-enable intercom/no-custom-table --}}\\n          <thead>\\n            <tr>\\n              <th class=\\\"tbl__cell t__label\\\">\\n                {{capitalize memberType}}\\n              </th>\\n              <th class=\\\"tbl__cell t__label\\\">\\n                Entered\\n              </th>\\n              {{#unless (eq this.filter \\\"in-campaign\\\")}}\\n                <th class=\\\"tbl__cell t__label\\\">\\n                  Hit the Goal\\n                </th>\\n                <th class=\\\"tbl__cell t__label\\\">\\n                  Exited\\n                </th>\\n              {{/unless}}\\n            </tr>\\n          </thead>\\n          <tbody class=\\\"tbl__body\\\">\\n            {{#if (gt deletedUsersCount 0)}}\\n              <MessageEditor::Stats::Tables::DeletedUsersInfoRow\\n                @statistic={{this.filter}}\\n                @showPreColumn={{false}}\\n                @label=\\\"campaign\\\"\\n                @types={{array campaign.memberType}}\\n                @countDifference={{deletedUsersCount}}\\n              />\\n            {{/if}}\\n            {{#each users as |user|}}\\n              <tr class=\\\"test__campaign__user-list-row\\\">\\n                <td class=\\\"tbl__cell\\\">\\n                  <span class=\\\"avatar__container o__s\\\">\\n                    <a href=\\\"{{href-to \\\"apps.app.users.user.all-conversations\\\" user.id}}\\\" class=\\\"u__all-pointer-events t__solo-link\\\">\\n                      {{ic-avatar direct=user.avatarData size=\\\"s\\\" contained=true}} {{user.display_as}}\\n                    </a>\\n                  </span>\\n                </td>\\n                <td class=\\\"tbl__cell\\\">\\n                  {{full-relative-time-ago-helper user.entered_campaign_at fallback=\\\"—\\\"}}\\n                </td>\\n                {{#unless (eq this.filter \\\"in-campaign\\\")}}\\n                  <td class=\\\"tbl__cell\\\">\\n                    {{full-relative-time-ago-helper user.hit_goal_at fallback=\\\"—\\\"}}\\n                  </td>\\n                  <td class=\\\"tbl__cell\\\">\\n                    {{full-relative-time-ago-helper user.exited_campaign_at fallback=\\\"—\\\"}}\\n                  </td>\\n                {{/unless}}\\n              </tr>\\n            {{/each}}\\n          </tbody>\\n        </table>\\n      {{else if (not isLoadingNextPage)}}\\n        <IcEmptyState\\n          @icon=\\\"people\\\"\\n          @title={{concat \\\"No \\\" (inflector-helper memberType) \\\" \\\" nothingnessSuffix}}\\n        />\\n      {{/if}}\\n      {{#if isLoadingNextPage}}\\n        <div class=\\\"flex items-start\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\" />\\n        </div>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/campaigns/user-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/campaigns/user-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { selectFromObject } from '@intercom/embercom-core/lib/computed-properties';\nimport Paging from 'embercom/components/mixins/paging';\n\nexport default Component.extend(Paging, {\n  filter: 'all',\n  nearPageBottomThreshold: 600,\n  listItemsContainerSelector: '.js__user__list__items-container',\n  scrollingContainerSelector: '.js__user__list__outer-container',\n\n  filterNothingnessMap: {\n    all: 'have entered yet',\n    'in-campaign': 'are in the campaign yet',\n    exited: 'have exited yet',\n    'hit-goal': 'have hit the goal yet',\n  },\n  nothingnessSuffix: selectFromObject('filterNothingnessMap', 'filter'),\n\n  deletedUsersCount: computed('propertyToSubtractFrom', 'totalCount', function() {\n    return this.get(this.propertyToSubtractFrom) - this.totalCount;\n  }),\n  statsSubtractProperties: {\n    all: 'campaign.stats.enteredUserCount',\n    'in-campaign': 'campaign.stats.currentUserCount',\n    exited: 'campaign.stats.exitedUserCount',\n    'hit-goal': 'campaign.stats.goalSuccessCount',\n  },\n  propertyToSubtractFrom: selectFromObject('statsSubtractProperties', 'filter'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"layout__box o__has-columns o__flexes-to-1\\\" ...attributes>\\n  <CanvasKitBuilder::Preview\\n    data-test-canvas-kit-builder-preview\\n    @componentsJson={{@componentsJson}}\\n    @previewStyle={{@previewStyle}}\\n  />\\n  {{#unless @hideEditor}}\\n    <CanvasKitBuilder::Editor\\n      data-test-canvas-kit-builder-editor\\n      @componentsJson={{@componentsJson}}\\n      @update={{action (mut @componentsJson)}}\\n    />\\n  {{/unless}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"layout__box o__has-columns o__flexes-to-1\\\" ...attributes>\\n  <CanvasKitBuilder::Preview\\n    data-test-canvas-kit-builder-preview\\n    @componentsJson={{@componentsJson}}\\n    @previewStyle={{@previewStyle}}\\n  />\\n  {{#unless @hideEditor}}\\n    <CanvasKitBuilder::Editor\\n      data-test-canvas-kit-builder-editor\\n      @componentsJson={{@componentsJson}}\\n      @update={{action (mut @componentsJson)}}\\n    />\\n  {{/unless}}\\n</div>\\n\",\"moduleName\":\"embercom/components/canvas-kit-builder/canvas-kit-builder.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/canvas-kit-builder/canvas-kit-builder.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"canvas-kit-builder__editor layout__box o__flexes-to-1 o__scrolls o__has-rows pb-1\\\" ...attributes>\\n  <Common::CodeTextArea\\n    @value={{componentsJson}}\\n    @update={{action \\\"updateBuilderJson\\\"}}\\n    @mode=\\\"application/json\\\"\\n    @theme=\\\"panda-syntax\\\"\\n    @lint={{true}}\\n    @gutters={{array 'CodeMirror-lint-markers'}}\\n    class=\\\"canvas-kit-builder__editor-text-area\\\"\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"canvas-kit-builder__editor layout__box o__flexes-to-1 o__scrolls o__has-rows pb-1\\\" ...attributes>\\n  <Common::CodeTextArea\\n    @value={{componentsJson}}\\n    @update={{action \\\"updateBuilderJson\\\"}}\\n    @mode=\\\"application/json\\\"\\n    @theme=\\\"panda-syntax\\\"\\n    @lint={{true}}\\n    @gutters={{array 'CodeMirror-lint-markers'}}\\n    class=\\\"canvas-kit-builder__editor-text-area\\\"\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/canvas-kit-builder/editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/canvas-kit-builder/editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  tagName: '',\n\n  intercomEventService: service(),\n  firstEdit: true,\n\n  actions: {\n    updateBuilderJson(newJson) {\n      if (this.firstEdit) {\n        this.set('firstEdit', false);\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'edited',\n          object: 'canvas-kit-builder',\n        });\n      }\n      this.set('componentsJson', newJson);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__has-columns canvas-kit-builder__embeddable-preview-footer p-2\\\" ...attributes>\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-vertically\\\">\\n    <div class=\\\"text-gray\\\">\\n      {{ic-interface-icon \\\"intercom\\\" color=\\\"blue\\\"}} Built on Intercom\\n    </div>\\n  </div>\\n  <div class=\\\"layout__box u__right o__centers-vertically\\\">\\n    <LinkTo\\n      @route=\\\"canvas-kit-builder\\\"\\n      @query={{hash json=@componentsJson}}\\n      data-test-canvas-kit-builder-link\\n      target=\\\"_blank\\\"\\n      rel=\\\"noopener noreferrer\\\"\\n      class=\\\"text-gray\\\"\\n    >\\n      <span class=\\\"pr-1\\\">\\n        Open in Canvas Kit Builder\\n      </span>\\n      {{ic-interface-icon \\\"new-window\\\"}}\\n    </LinkTo>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__has-columns canvas-kit-builder__embeddable-preview-footer p-2\\\" ...attributes>\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-vertically\\\">\\n    <div class=\\\"text-gray\\\">\\n      {{ic-interface-icon \\\"intercom\\\" color=\\\"blue\\\"}} Built on Intercom\\n    </div>\\n  </div>\\n  <div class=\\\"layout__box u__right o__centers-vertically\\\">\\n    <LinkTo\\n      @route=\\\"canvas-kit-builder\\\"\\n      @query={{hash json=@componentsJson}}\\n      data-test-canvas-kit-builder-link\\n      target=\\\"_blank\\\"\\n      rel=\\\"noopener noreferrer\\\"\\n      class=\\\"text-gray\\\"\\n    >\\n      <span class=\\\"pr-1\\\">\\n        Open in Canvas Kit Builder\\n      </span>\\n      {{ic-interface-icon \\\"new-window\\\"}}\\n    </LinkTo>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/canvas-kit-builder/preview-footer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/canvas-kit-builder/preview-footer.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"canvas-kit-builder__preview layout__box o__has-rows o__flexes-to-1\\\" ...attributes>\\n  {{#if showPreviewStyleSelector}}\\n    <div class=\\\"layout__box o__centers-vertically canvas-kit-builder__preview-style-selector pl-6\\\">\\n      <span class=\\\"text-gray mr-4 tab-control__tab__contents\\\">\\n        Select canvas style:\\n      </span>\\n      <IcTabControl\\n        data-test-canvas-kit-builder-preview-tabs\\n        @onSelectionChange={{action \\\"changePreviewTab\\\"}}\\n        @selectedTab={{selectedPreviewStyle}} as |tab-control|\\n      >\\n        <tab-control.tab @label=\\\"Messenger\\\" @value=\\\"messenger\\\" />\\n        <tab-control.tab @label=\\\"Inbox\\\" @value=\\\"inbox\\\" />\\n        <tab-control.tab @label=\\\"Frame\\\" @value=\\\"frame\\\" />\\n      </IcTabControl>\\n    </div>\\n  {{/if}}\\n  <div class=\\\"layout__box o__centers-horizontally o__scrolls o__flexes-to-1 pt-4 pb-2\\\">\\n    {{#if (eq selectedPreviewStyle \\\"messenger\\\")}}\\n      <CanvasKitBuilder::Preview::MessengerCanvas\\n        data-test-canvas-kit-builder-preview-messenger-app-canvas\\n        @previewCanvas={{previewCanvas}}\\n      />\\n    {{else if (eq selectedPreviewStyle \\\"inbox\\\")}}\\n      <CanvasKitBuilder::Preview::InboxCanvas\\n        data-test-canvas-kit-builder-preview-inbox-app-canvas\\n        @previewCanvas={{previewCanvas}}\\n      />\\n    {{else if (eq selectedPreviewStyle \\\"frame\\\")}}\\n      <CanvasKitBuilder::Preview::InserterCanvas\\n        data-test-canvas-kit-builder-preview-app-inserter-canvas\\n        @previewCanvas={{previewCanvas}}\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"canvas-kit-builder__preview layout__box o__has-rows o__flexes-to-1\\\" ...attributes>\\n  {{#if showPreviewStyleSelector}}\\n    <div class=\\\"layout__box o__centers-vertically canvas-kit-builder__preview-style-selector pl-6\\\">\\n      <span class=\\\"text-gray mr-4 tab-control__tab__contents\\\">\\n        Select canvas style:\\n      </span>\\n      <IcTabControl\\n        data-test-canvas-kit-builder-preview-tabs\\n        @onSelectionChange={{action \\\"changePreviewTab\\\"}}\\n        @selectedTab={{selectedPreviewStyle}} as |tab-control|\\n      >\\n        <tab-control.tab @label=\\\"Messenger\\\" @value=\\\"messenger\\\" />\\n        <tab-control.tab @label=\\\"Inbox\\\" @value=\\\"inbox\\\" />\\n        <tab-control.tab @label=\\\"Frame\\\" @value=\\\"frame\\\" />\\n      </IcTabControl>\\n    </div>\\n  {{/if}}\\n  <div class=\\\"layout__box o__centers-horizontally o__scrolls o__flexes-to-1 pt-4 pb-2\\\">\\n    {{#if (eq selectedPreviewStyle \\\"messenger\\\")}}\\n      <CanvasKitBuilder::Preview::MessengerCanvas\\n        data-test-canvas-kit-builder-preview-messenger-app-canvas\\n        @previewCanvas={{previewCanvas}}\\n      />\\n    {{else if (eq selectedPreviewStyle \\\"inbox\\\")}}\\n      <CanvasKitBuilder::Preview::InboxCanvas\\n        data-test-canvas-kit-builder-preview-inbox-app-canvas\\n        @previewCanvas={{previewCanvas}}\\n      />\\n    {{else if (eq selectedPreviewStyle \\\"frame\\\")}}\\n      <CanvasKitBuilder::Preview::InserterCanvas\\n        data-test-canvas-kit-builder-preview-app-inserter-canvas\\n        @previewCanvas={{previewCanvas}}\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/canvas-kit-builder/preview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/canvas-kit-builder/preview.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { empty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { valueOrDefault } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  tagName: '',\n\n  store: service(),\n  componentsJson: '[]',\n  selectedPreviewStyle: valueOrDefault('previewStyle', 'messenger'),\n  showPreviewStyleSelector: empty('previewStyle'),\n\n  previewCanvas: computed('componentsJson', function() {\n    let content = { components: this.parseComponentsJson(this.componentsJson) };\n    return { content };\n  }),\n\n  parseComponentsJson(componentsJson) {\n    try {\n      let parsedComponentsJson = JSON.parse(componentsJson);\n      if (!Array.isArray(parsedComponentsJson)) {\n        parsedComponentsJson = [parsedComponentsJson];\n      }\n      return parsedComponentsJson;\n    } catch (e) {\n      return [];\n    }\n  },\n\n  actions: {\n    changePreviewTab(value) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'changed',\n        object: 'canvas-kit-builder',\n        selected_tab: value,\n      });\n      this.set('selectedPreviewStyle', value);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"canvas-kit-builder__inbox-canvas\\\" ...attributes>\\n  <div class=\\\"ds-new__card o__compact-padding\\\">\\n    <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n      {{inline-svg \\\"developer-hub/app-package\\\" class=\\\"developer-hub__app-package-details__icon\\\"}}\\n      <div class=\\\"layout__box o__flexes-to-1 t__h4 u__padl__10 u__one-truncated-line\\\">\\n        Your App Name\\n      </div>\\n    </div>\\n    <div class=\\\"inbox__conversation-sidebar__space\\\"></div>\\n    <div class=\\\"ds-new__card__section o__none-padding\\\">\\n      <div class=\\\"app-framework__inbox-apps__frame\\\">\\n        <AppFramework::Canvas\\n          @canvas={{@previewCanvas}}\\n          @previewCanvasContent={{@previewCanvas.content}}\\n          @styleContext=\\\"inbox-apps\\\"\\n        />\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"canvas-kit-builder__inbox-canvas\\\" ...attributes>\\n  <div class=\\\"ds-new__card o__compact-padding\\\">\\n    <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n      {{inline-svg \\\"developer-hub/app-package\\\" class=\\\"developer-hub__app-package-details__icon\\\"}}\\n      <div class=\\\"layout__box o__flexes-to-1 t__h4 u__padl__10 u__one-truncated-line\\\">\\n        Your App Name\\n      </div>\\n    </div>\\n    <div class=\\\"inbox__conversation-sidebar__space\\\"></div>\\n    <div class=\\\"ds-new__card__section o__none-padding\\\">\\n      <div class=\\\"app-framework__inbox-apps__frame\\\">\\n        <AppFramework::Canvas\\n          @canvas={{@previewCanvas}}\\n          @previewCanvasContent={{@previewCanvas.content}}\\n          @styleContext=\\\"inbox-apps\\\"\\n        />\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/canvas-kit-builder/preview/inbox-canvas.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/canvas-kit-builder/preview/inbox-canvas.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"canvas-kit-builder__inserter-canvas\\\" ...attributes>\\n  <div class=\\\"app-framework__messenger-apps__inserter__popover popover__content-container layout__box o__has-rows u__mb__10\\\">\\n    <div data-popper-arrow class=\\\"app-framework__messenger-apps__inserter__popover-arrow\\\"></div>\\n    <div class=\\\"app-framework__messenger-apps__inserter__app-configurator\\\">\\n      <div>\\n        <div class=\\\"app-framework__messenger-apps__inserter__panel__header u__relative\\\">\\n          <div class=\\\"app-framework__messenger-apps__inserter__panel__header-title u__center-item\\\">\\n            Your App Name\\n          </div>\\n        </div>\\n        <div class=\\\"app-framework__messenger-apps__inserter__panel__body\\\">\\n          <AppFramework::Canvas\\n            @canvas={{@previewCanvas}}\\n            @previewCanvasContent={{@previewCanvas.content}}\\n            class=\\\"o__interactive\\\"\\n            @styleContext=\\\"messenger-apps\\\"\\n          />\\n        </div>\\n        <div class=\\\"app-framework__messenger-apps__inserter__panel__mask__bottom\\\"></div>\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"layout__box o__centers-horizontally inbox__conversation-controls__inserter-opener\\\">\\n    <IcTooltip as |t|>\\n      <t.opener>\\n        {{ic-interface-icon \\\"app-store\\\"}}\\n      </t.opener>\\n      <t.content>\\n        Add an app\\n      </t.content>\\n    </IcTooltip>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"canvas-kit-builder__inserter-canvas\\\" ...attributes>\\n  <div class=\\\"app-framework__messenger-apps__inserter__popover popover__content-container layout__box o__has-rows u__mb__10\\\">\\n    <div data-popper-arrow class=\\\"app-framework__messenger-apps__inserter__popover-arrow\\\"></div>\\n    <div class=\\\"app-framework__messenger-apps__inserter__app-configurator\\\">\\n      <div>\\n        <div class=\\\"app-framework__messenger-apps__inserter__panel__header u__relative\\\">\\n          <div class=\\\"app-framework__messenger-apps__inserter__panel__header-title u__center-item\\\">\\n            Your App Name\\n          </div>\\n        </div>\\n        <div class=\\\"app-framework__messenger-apps__inserter__panel__body\\\">\\n          <AppFramework::Canvas\\n            @canvas={{@previewCanvas}}\\n            @previewCanvasContent={{@previewCanvas.content}}\\n            class=\\\"o__interactive\\\"\\n            @styleContext=\\\"messenger-apps\\\"\\n          />\\n        </div>\\n        <div class=\\\"app-framework__messenger-apps__inserter__panel__mask__bottom\\\"></div>\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"layout__box o__centers-horizontally inbox__conversation-controls__inserter-opener\\\">\\n    <IcTooltip as |t|>\\n      <t.opener>\\n        {{ic-interface-icon \\\"app-store\\\"}}\\n      </t.opener>\\n      <t.content>\\n        Add an app\\n      </t.content>\\n    </IcTooltip>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/canvas-kit-builder/preview/inserter-canvas.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/canvas-kit-builder/preview/inserter-canvas.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div ...attributes>\\n  <MessengerPreview::Styles @configuration={{@previewConfiguration}} />\\n  <style>\\n    * {\\n      --button_background_color_hover: {{@previewConfiguration.appColors.button_background_color_hover}};\\n      --link_color_hover: {{@previewConfiguration.appColors.link_color_hover}};\\n    }\\n  </style>\\n  <AppFramework::Canvas\\n    @canvas={{@previewCanvas}}\\n    @previewCanvasContent={{@previewCanvas.content}}\\n    class=\\\"canvas-kit-builder__messenger-canvas\\\"\\n    @styleContext=\\\"messenger-apps\\\"\\n    @confineDropdownToCanvas={{false}}\\n  />\\n</div>\\n\", {\"contents\":\"<div ...attributes>\\n  <MessengerPreview::Styles @configuration={{@previewConfiguration}} />\\n  <style>\\n    * {\\n      --button_background_color_hover: {{@previewConfiguration.appColors.button_background_color_hover}};\\n      --link_color_hover: {{@previewConfiguration.appColors.link_color_hover}};\\n    }\\n  </style>\\n  <AppFramework::Canvas\\n    @canvas={{@previewCanvas}}\\n    @previewCanvasContent={{@previewCanvas.content}}\\n    class=\\\"canvas-kit-builder__messenger-canvas\\\"\\n    @styleContext=\\\"messenger-apps\\\"\\n    @confineDropdownToCanvas={{false}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/canvas-kit-builder/preview/messenger-canvas.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/canvas-kit-builder/preview/messenger-canvas.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  tagName: '',\n\n  store: service(),\n\n  init() {\n    this._super(...arguments);\n    let previewConfiguration = this.store.createFragment('messenger-preview/configuration', {\n      appPrimaryColor: '#334BFA',\n      appSecondaryColor: '#546279',\n    });\n    this.set('previewConfiguration', previewConfiguration);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__has-columns developer-hub__top-navigation-header__container\\\" ...attributes>\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-vertically\\\">\\n    <div class=\\\"developer-hub__top-navigation-header__icon\\\">\\n      {{inline-svg \\\"developer-hub/header-logo\\\"}}\\n    </div>\\n    <div class=\\\"developer-hub__top-navigation-header__text\\\" data-test-developer-hub-logo>\\n      Canvas Kit Builder\\n    </div>\\n  </div>\\n  <div class=\\\"layout__box o__has-columns u__right o__centers-all\\\">\\n    <IcButtonList as |list|>\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/messenger-framework-reference/reference/introduction\\\"\\n        @title=\\\"Canvas Kit Reference\\\"\\n        @type=\\\"developer\\\"\\n      />\\n      <list.button\\n        {{copy-to-clipboard\\n          text=(absolute-url (href-to 'canvas-kit-builder' (query-params json=@componentsJson)))\\n          confirmationMessage=\\\"URL copied to clipboard\\\"\\n        }}\\n        data-test-copy-to-clipboard\\n      >\\n        Copy Share URL\\n      </list.button>\\n    </IcButtonList>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__has-columns developer-hub__top-navigation-header__container\\\" ...attributes>\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-vertically\\\">\\n    <div class=\\\"developer-hub__top-navigation-header__icon\\\">\\n      {{inline-svg \\\"developer-hub/header-logo\\\"}}\\n    </div>\\n    <div class=\\\"developer-hub__top-navigation-header__text\\\" data-test-developer-hub-logo>\\n      Canvas Kit Builder\\n    </div>\\n  </div>\\n  <div class=\\\"layout__box o__has-columns u__right o__centers-all\\\">\\n    <IcButtonList as |list|>\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/messenger-framework-reference/reference/introduction\\\"\\n        @title=\\\"Canvas Kit Reference\\\"\\n        @type=\\\"developer\\\"\\n      />\\n      <list.button\\n        {{copy-to-clipboard\\n          text=(absolute-url (href-to 'canvas-kit-builder' (query-params json=@componentsJson)))\\n          confirmationMessage=\\\"URL copied to clipboard\\\"\\n        }}\\n        data-test-copy-to-clipboard\\n      >\\n        Copy Share URL\\n      </list.button>\\n    </IcButtonList>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/canvas-kit-builder/top-navigation-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/canvas-kit-builder/top-navigation-header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class='carousel__editor__chrome' data-test-carousel-editor-chrome>\\n  {{#if (eq @currentDevice \\\"ios\\\")}}\\n    <img\\n      src=\\\"/assets/images/message-editor/mobile/ios/status-bar-ios@2x.png\\\"\\n      class=\\\"carousel__editor__chrome__status-bar carousel__editor__chrome__status-bar-{{@currentDevice}}\\\"\\n    />\\n    {{inline-svg \\\"mobile/ios/shell-new\\\" class=\\\"carousel__editor__chrome__shell-image\\\"}}\\n  {{else}}\\n    <img\\n      src=\\\"/assets/images/message-editor/mobile/android/status-bar-android@2x.png\\\"\\n      class=\\\"carousel__editor__chrome__status-bar carousel__editor__chrome__status-bar-{{@currentDevice}}\\\"\\n    />\\n    {{inline-svg \\\"mobile/android/shell-new\\\" class=\\\"carousel__editor__chrome__shell-image\\\"}}\\n  {{/if}}\\n  <div class=\\\"carousel__editor__chrome__inner carousel__editor__chrome__inner-{{@currentDevice}}\\\">\\n    {{#if (eq @currentDevice \\\"ios\\\")}}\\n      <div class=\\\"carousel__editor__chrome__app-layer\\\" data-test-carousel-editor-chrome-app-layer></div>\\n    {{/if}}\\n    {{yield}}\\n  </div>\\n  {{#if (eq @currentDevice \\\"ios\\\")}}\\n    <div class=\\\"carousel__editor__chrome__bottom-bar\\\" data-test-carousel-editor-footer=\\\"ios\\\" />\\n  {{else}}\\n    <div class=\\\"carousel__editor__chrome__footer-android\\\" data-test-carousel-editor-footer=\\\"android\\\">\\n      <img class=\\\"carousel__editor__chrome__footer-android__img\\\" src=\\\"/assets/images/message-editor/mobile/android/android-footer-light@2x.png\\\"/>\\n    </div>\\n  {{/if}}\\n  <div class=\\\"carousel__editor__chrome-shadow-layer {{if (eq @currentDevice 'ios') \\\"o__ios\\\" \\\"o__android\\\"}}\\\" />\\n</div>\", {\"contents\":\"<div class='carousel__editor__chrome' data-test-carousel-editor-chrome>\\n  {{#if (eq @currentDevice \\\"ios\\\")}}\\n    <img\\n      src=\\\"/assets/images/message-editor/mobile/ios/status-bar-ios@2x.png\\\"\\n      class=\\\"carousel__editor__chrome__status-bar carousel__editor__chrome__status-bar-{{@currentDevice}}\\\"\\n    />\\n    {{inline-svg \\\"mobile/ios/shell-new\\\" class=\\\"carousel__editor__chrome__shell-image\\\"}}\\n  {{else}}\\n    <img\\n      src=\\\"/assets/images/message-editor/mobile/android/status-bar-android@2x.png\\\"\\n      class=\\\"carousel__editor__chrome__status-bar carousel__editor__chrome__status-bar-{{@currentDevice}}\\\"\\n    />\\n    {{inline-svg \\\"mobile/android/shell-new\\\" class=\\\"carousel__editor__chrome__shell-image\\\"}}\\n  {{/if}}\\n  <div class=\\\"carousel__editor__chrome__inner carousel__editor__chrome__inner-{{@currentDevice}}\\\">\\n    {{#if (eq @currentDevice \\\"ios\\\")}}\\n      <div class=\\\"carousel__editor__chrome__app-layer\\\" data-test-carousel-editor-chrome-app-layer></div>\\n    {{/if}}\\n    {{yield}}\\n  </div>\\n  {{#if (eq @currentDevice \\\"ios\\\")}}\\n    <div class=\\\"carousel__editor__chrome__bottom-bar\\\" data-test-carousel-editor-footer=\\\"ios\\\" />\\n  {{else}}\\n    <div class=\\\"carousel__editor__chrome__footer-android\\\" data-test-carousel-editor-footer=\\\"android\\\">\\n      <img class=\\\"carousel__editor__chrome__footer-android__img\\\" src=\\\"/assets/images/message-editor/mobile/android/android-footer-light@2x.png\\\"/>\\n    </div>\\n  {{/if}}\\n  <div class=\\\"carousel__editor__chrome-shadow-layer {{if (eq @currentDevice 'ios') \\\"o__ios\\\" \\\"o__android\\\"}}\\\" />\\n</div>\",\"moduleName\":\"embercom/components/carousel/chrome/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/chrome/main.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Carousel::EmbeddedStyles::Main\\n  @appColor={{this.appBaseColor}}\\n  @textColor={{@carousel.textColor}}\\n  @verticalAlignment={{@carousel.verticalAlignment}}\\n  @floating={{true}}\\n/>\\n{{#if this.currentCarouselContent.showButtonOrderingHelperText}}\\n  <div class=\\\"carousel__banner-fixed-positioning u__center-item\\\">\\n    <IcBanner\\n      @type=\\\"help\\\"\\n      @floating={{true}}\\n      @buttonLabel=\\\"Okay\\\"\\n      data-test-carousel-editor-confirmation-banner\\n      @onButtonClick={{this.currentCarouselContent.hideButtonAutoArrangeHelperText}}\\n    >\\n      We changed the button action on the {{format-number-to-text this.currentCarouselContent.screenWhoseButtonActionHasBeenChanged}} screen because it no longer ends your carousel\\n    </IcBanner>\\n  </div>\\n{{/if}}\\n\\n<div class=\\\"flex flex-row carousel__sidebar-parent\\\" data-test-carousel-editor {{did-update this.setupCurrentModel @carousel}}>\\n  {{#liquid-if @isEditing class=\\\"content-editor__animated-sidebar\\\"}}\\n    {{#if this.currentScreen}}\\n      <Carousel::Sidebar::ScreenEditor\\n        @screen={{this.currentScreen}}\\n        @carousel={{@carousel}}\\n        @onBack={{this.returnToPreviewMode}}\\n      />\\n    {{else}}\\n      <Carousel::Sidebar::CarouselEditor\\n        @screen={{this.currentScreen}}\\n        @carousel={{@carousel}}\\n        @setBackgroundColor={{this.setBackgroundColor}}\\n        @setTextColor={{this.setTextColor}}\\n        @setActionColor={{this.setActionColor}}\\n        @textColor={{@carousel.textColor}}\\n        @backgroundColor={{@carousel.backgroundColor}}\\n        @actionsColor={{@carousel.actionsColor}}\\n        @onVerticalAlignmentChange={{this.onVerticalAlignmentChange}}\\n      />\\n    {{/if}}\\n  {{/liquid-if}}\\n  <div class=\\\"flex flex-col items-center flex-1 carousel__builder-content {{if (or (not this.currentScreen) (not @isEditing)) \\\"u__overflow-scroll\\\"}} {{if @isEditing \\\"mt-2\\\"}}\\\">\\n    {{#if @isEditing}}\\n      <Carousel::ThumbnailControls::Main\\n        @screens={{this.currentCarouselContent.carouselScreens}}\\n        @onBack={{this.returnToPreviewMode}}\\n        @currentScreen={{this.currentScreen}}\\n        @setCurrentCarouselContent={{this.setCurrentCarouselContent}}\\n        @addScreen={{this.addScreen}}\\n      />\\n    {{/if}}\\n    {{#if (and @isEditing this.currentScreen)}}\\n      <Carousel::ScreenEditor::Main\\n        @carousel={{@carousel}}\\n        @currentDevice={{this.currentDevice}}\\n        @screen={{this.currentScreen}}\\n        @onBack={{this.returnToPreviewMode}}\\n        @onNext={{this.onNext}}\\n        @onPrev={{this.onPrev}} />\\n    {{else}}\\n      <Carousel::Timeline::Main\\n        @carousel={{@carousel}}\\n        @localizedCarouselContent={{this.currentCarouselContent}}\\n        @setCurrentCarouselContent={{this.setCurrentCarouselContent}}\\n        @screens={{this.currentCarouselContent.carouselScreens}}\\n        @isEditMode={{@isEditing}}\\n        @hideStats={{@hideStats}}\\n        @onReorderScreens={{this.reorderScreens}}\\n        @currentDevice={{this.currentDevice}}\\n        @addScreen={{this.addScreen}}\\n        @onScreenDelete={{this.onScreenDelete}} />\\n    {{/if}}\\n    {{#if @isEditing}}\\n      <div data-test-preferred-devices-preview-switcher class={{if (not this.currentScreen) \\\"carousel__preferred-devices__absolute-positioning\\\" \\\"u__mb__10\\\"}}>\\n        <ContentEditor::Panels::Content::PreferredDevices::PreviewSwitcher\\n          @preferredDevices={{@carousel.preferredDevices}}\\n          @currentDevice={{this.currentDevice}}\\n          @updateCurrentDevice={{this.updateCurrentPreviewDevice}}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<Carousel::EmbeddedStyles::Main\\n  @appColor={{this.appBaseColor}}\\n  @textColor={{@carousel.textColor}}\\n  @verticalAlignment={{@carousel.verticalAlignment}}\\n  @floating={{true}}\\n/>\\n{{#if this.currentCarouselContent.showButtonOrderingHelperText}}\\n  <div class=\\\"carousel__banner-fixed-positioning u__center-item\\\">\\n    <IcBanner\\n      @type=\\\"help\\\"\\n      @floating={{true}}\\n      @buttonLabel=\\\"Okay\\\"\\n      data-test-carousel-editor-confirmation-banner\\n      @onButtonClick={{this.currentCarouselContent.hideButtonAutoArrangeHelperText}}\\n    >\\n      We changed the button action on the {{format-number-to-text this.currentCarouselContent.screenWhoseButtonActionHasBeenChanged}} screen because it no longer ends your carousel\\n    </IcBanner>\\n  </div>\\n{{/if}}\\n\\n<div class=\\\"flex flex-row carousel__sidebar-parent\\\" data-test-carousel-editor {{did-update this.setupCurrentModel @carousel}}>\\n  {{#liquid-if @isEditing class=\\\"content-editor__animated-sidebar\\\"}}\\n    {{#if this.currentScreen}}\\n      <Carousel::Sidebar::ScreenEditor\\n        @screen={{this.currentScreen}}\\n        @carousel={{@carousel}}\\n        @onBack={{this.returnToPreviewMode}}\\n      />\\n    {{else}}\\n      <Carousel::Sidebar::CarouselEditor\\n        @screen={{this.currentScreen}}\\n        @carousel={{@carousel}}\\n        @setBackgroundColor={{this.setBackgroundColor}}\\n        @setTextColor={{this.setTextColor}}\\n        @setActionColor={{this.setActionColor}}\\n        @textColor={{@carousel.textColor}}\\n        @backgroundColor={{@carousel.backgroundColor}}\\n        @actionsColor={{@carousel.actionsColor}}\\n        @onVerticalAlignmentChange={{this.onVerticalAlignmentChange}}\\n      />\\n    {{/if}}\\n  {{/liquid-if}}\\n  <div class=\\\"flex flex-col items-center flex-1 carousel__builder-content {{if (or (not this.currentScreen) (not @isEditing)) \\\"u__overflow-scroll\\\"}} {{if @isEditing \\\"mt-2\\\"}}\\\">\\n    {{#if @isEditing}}\\n      <Carousel::ThumbnailControls::Main\\n        @screens={{this.currentCarouselContent.carouselScreens}}\\n        @onBack={{this.returnToPreviewMode}}\\n        @currentScreen={{this.currentScreen}}\\n        @setCurrentCarouselContent={{this.setCurrentCarouselContent}}\\n        @addScreen={{this.addScreen}}\\n      />\\n    {{/if}}\\n    {{#if (and @isEditing this.currentScreen)}}\\n      <Carousel::ScreenEditor::Main\\n        @carousel={{@carousel}}\\n        @currentDevice={{this.currentDevice}}\\n        @screen={{this.currentScreen}}\\n        @onBack={{this.returnToPreviewMode}}\\n        @onNext={{this.onNext}}\\n        @onPrev={{this.onPrev}} />\\n    {{else}}\\n      <Carousel::Timeline::Main\\n        @carousel={{@carousel}}\\n        @localizedCarouselContent={{this.currentCarouselContent}}\\n        @setCurrentCarouselContent={{this.setCurrentCarouselContent}}\\n        @screens={{this.currentCarouselContent.carouselScreens}}\\n        @isEditMode={{@isEditing}}\\n        @hideStats={{@hideStats}}\\n        @onReorderScreens={{this.reorderScreens}}\\n        @currentDevice={{this.currentDevice}}\\n        @addScreen={{this.addScreen}}\\n        @onScreenDelete={{this.onScreenDelete}} />\\n    {{/if}}\\n    {{#if @isEditing}}\\n      <div data-test-preferred-devices-preview-switcher class={{if (not this.currentScreen) \\\"carousel__preferred-devices__absolute-positioning\\\" \\\"u__mb__10\\\"}}>\\n        <ContentEditor::Panels::Content::PreferredDevices::PreviewSwitcher\\n          @preferredDevices={{@carousel.preferredDevices}}\\n          @currentDevice={{this.currentDevice}}\\n          @updateCurrentDevice={{this.updateCurrentPreviewDevice}}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/carousel/editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { intercomPromiseConfirm } from 'embercom/lib/intercom-confirm';\nimport { task } from 'ember-concurrency-decorators';\nimport animateAddScreen from 'embercom/lib/carousels/add-screen-animation';\n\nexport default class CarouselEditorComponent extends Component {\n  @service attributeService;\n  @service appService;\n  @service store;\n  @service intercomEventService;\n  @service contentEditorService;\n\n  @tracked currentScreenIndex = null;\n  @tracked currentDevice = 'ios';\n  @tracked currentCarouselContent;\n\n  constructor() {\n    super(...arguments);\n    this.setupCurrentModel();\n  }\n\n  get appBaseColor() {\n    return this.appService.app.base_color;\n  }\n\n  @action\n  setupCurrentModel() {\n    this.currentCarouselContent = this.args.carousel.localizedCarouselContents.firstObject;\n    if (this.args.carousel.hasIosAsPreferredDevice) {\n      this.currentDevice = 'ios';\n    } else {\n      this.currentDevice = 'android';\n    }\n  }\n\n  get currentScreen() {\n    return this.currentCarouselContent.carouselScreens.objectAt(this.currentScreenIndex);\n  }\n\n  get ruleset() {\n    return this.contentEditorService.ruleset;\n  }\n\n  @action\n  addScreen() {\n    if (this.currentCarouselContent.carouselScreens.length === 10) {\n      return;\n    }\n    this.currentCarouselContent.addScreen();\n    this.currentCarouselContent = this.currentCarouselContent;\n    animateAddScreen(!this.currentScreen);\n  }\n\n  @action\n  setCurrentCarouselContent(carouselIndex) {\n    this.currentScreenIndex = carouselIndex;\n  }\n\n  @action setBackgroundColor(color) {\n    this.currentCarouselContent.carouselScreens.forEach(screen => {\n      screen.backgroundColor = color;\n    });\n    this.args.carousel.backgroundColor = color;\n    this.currentCarouselContent = this.currentCarouselContent;\n  }\n\n  @action\n  setTextColor(color) {\n    this.currentCarouselContent.carouselScreens.forEach(screen => {\n      screen.textColor = color;\n    });\n    this.args.carousel.textColor = color;\n    this.currentCarouselContent = this.currentCarouselContent;\n  }\n\n  @action\n  setActionColor(color) {\n    this.args.carousel.actionsColor = color;\n    this.currentCarouselContent.carouselScreens.forEach(screen => {\n      screen.carouselActions.forEach(action => {\n        let generatedColors = action.isPrimary\n          ? screen.generatePrimaryActionColors()\n          : screen.generateSecondaryActionColors();\n        action.backgroundColor = generatedColors.backgroundColor;\n        action.textColor = generatedColors.textColor;\n      });\n    });\n    this.currentCarouselContent = this.currentCarouselContent;\n  }\n\n  @action returnToPreviewMode() {\n    this.setCurrentCarouselContent(-1);\n  }\n\n  @action onNext() {\n    this.setCurrentCarouselContent(this.currentScreenIndex + 1);\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'mobile_carousel_pagination_nav_clicked',\n      object: `carousel_pagination_right`,\n      owner: 'team-mobile',\n      place: 'carousel_editor_screen',\n      metadata: { ruleset_id: this.ruleset.id },\n    });\n  }\n\n  @action onPrev() {\n    this.setCurrentCarouselContent(this.currentScreenIndex - 1);\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'mobile_carousel_pagination_nav_clicked',\n      object: `carousel_pagination_left`,\n      owner: 'team-mobile',\n      place: 'carousel_editor_screen',\n      metadata: { ruleset_id: this.ruleset.id },\n    });\n  }\n\n  @action onVerticalAlignmentChange(alignment) {\n    this.args.carousel.verticalAlignment = alignment;\n    this.currentCarouselContent.carouselScreens.forEach(screen => {\n      screen.verticalAlignment = alignment;\n    });\n    this.currentCarouselContent = this.currentCarouselContent;\n  }\n\n  @action reorderScreens(localizedCarouselContent, screens) {\n    screens.forEach((screen, index) => screen.set('order', index));\n    screens.pushObject(this.currentCarouselContent.getLastScreen());\n    localizedCarouselContent.reorderScreens(screens);\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'mobile_carousel_screen_reordered',\n      object: 'carousel_screen',\n      owner: 'team-mobile',\n      place: 'carousel_editor_create',\n      metadata: {\n        ruleset_id: this.ruleset.id,\n        number_of_screens: screens.length,\n      },\n    });\n  }\n\n  @action updateCurrentPreviewDevice(device) {\n    this.currentDevice = device;\n    let place = 'carousel_editor_create';\n    if (this.currentScreen) {\n      place = 'carousel_editor_screen';\n    }\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'mobile_carousel_preview_changed',\n      object: `carousel_preview_${device}`,\n      owner: 'team-mobile',\n      place,\n      metadata: { ruleset_id: this.ruleset.id },\n    });\n  }\n\n  @task *onScreenDelete(index) {\n    let confirmation = yield intercomPromiseConfirm(this, {\n      title: 'Delete this screen?',\n      body: `This action is permanent and can't be undone.`,\n      confirmButtonText: 'Delete',\n    });\n    if (confirmation) {\n      this.currentCarouselContent.removeScreen(index);\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'mobile_carousel_screen_deleted',\n        object: 'carousel_screen',\n        owner: 'team-mobile',\n        place: 'carousel_editor_create',\n        metadata: { ruleset_id: this.ruleset.id },\n      });\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<style data-test-carousel-embedded-styles-carousel-block-styles>\\n  {{#if (eq @verticalAlignment \\\"center\\\")}}\\n    .intercom-embed-carousel .embercom-composer-editor {\\n      display: flex;\\n      align-content: center;\\n      flex-direction: column;\\n    }\\n\\n    .intercom-embed-carousel .embercom-composer-editor > *:first-child {\\n      margin-top: auto !important;\\n    }\\n\\n    .intercom-embed-carousel .embercom-composer-editor > *:last-child {\\n      margin-bottom: auto !important;\\n    }\\n  {{/if}}\\n\\n  .intercom-embed-carousel .intercom_composer h1 {\\n    color: {{@textColor}};\\n    font-size: 48px;\\n    line-height: 1.18;\\n    margin: 0 24px 14px;\\n    font-weight: 600;\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer h2 {\\n    color: {{@textColor}};\\n    font-size: 34px;\\n    line-height: 1.18;\\n    margin: 0 24px 15px;\\n    font-weight: 600;\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=image] {\\n    display: block;\\n    text-align: center;\\n    max-width: 100%;\\n    margin-bottom: 34px;\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=image] img {\\n    margin: 0 auto;\\n    display: block;\\n    max-width: 100%;\\n    vertical-align: bottom;\\n  }\\n\\n  .intercom-embed-carousel .block-image-container {\\n    max-width: calc(100% - 48px);\\n    margin: 0 auto;\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer ol>li, .intercom-embed-carousel .intercom_composer ul>li {\\n    color: {{@textColor}};\\n    margin: 0 0 5px 15px;\\n    padding: 0;\\n    list-style-position: outside;\\n    list-style-type: disc\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer ol>li, .intercom-embed-carousel .intercom_composer ol>li a, .intercom-embed-carousel .intercom_composer ol>li b, .intercom-embed-carousel .intercom_composer ol>li em, .intercom-embed-carousel .intercom_composer ol>li i, .intercom-embed-carousel .intercom_composer ol>li strong, .intercom-embed-carousel .intercom_composer ul>li, .intercom-embed-carousel .intercom_composer ul>li a, .intercom-embed-carousel .intercom_composer ul>li b, .intercom-embed-carousel .intercom_composer ul>li em, .intercom-embed-carousel .intercom_composer ul>li i, .intercom-embed-carousel .intercom_composer ul>li strong {\\n    overflow-wrap: break-word;\\n    word-wrap: break-word\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer ol>li a, .intercom-embed-carousel .intercom_composer ul>li a {\\n    text-decoration: underline\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer ol>li:last-child, .intercom-embed-carousel .intercom_composer ul>li:last-child {\\n    margin-bottom: 0\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer ol>li {\\n    list-style-type: decimal\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer ol, .intercom-embed-carousel .intercom_composer ul {\\n    font-size: 20px;\\n    line-height: 1.41;\\n    margin: 0 15.27% 27px;\\n    padding: 0 0 0 16px\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer ol, .intercom-embed-carousel .intercom_composer ul {\\n    font-size: 20px;\\n    margin: 0 24px 10px;\\n    padding: 0 0 0 8px;\\n    line-height: 1.33\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=video] {\\n    position: relative;\\n    display: block;\\n    margin: 0px 0px 14px 0px;\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=video]:before {\\n    display: block;\\n    content: \\\" \\\";\\n    width: 100%;\\n    padding-top: 56.25%\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=video] video {\\n    width: 100%;\\n    height: 100%;\\n    vertical-align: top;\\n    position: absolute;\\n    top: 0;\\n    left: 0;\\n    right: 0;\\n    bottom: 0\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer p {\\n    margin: 0 24px 10px;\\n    font-size: 20px;\\n    line-height: 28px;\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer p a, .intercom-embed-carousel .intercom_composer p b, .intercom-embed-carousel .intercom_composer p em, .intercom-embed-carousel .intercom_composer p i, .intercom-embed-carousel .intercom_composer p p, .intercom-embed-carousel .intercom_composer p strong {\\n    overflow-wrap: break-word;\\n    word-wrap: break-word\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer p a {\\n    text-decoration: underline\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer p a:active, .intercom-embed-carousel .intercom_composer p a:focus, .intercom-embed-carousel .intercom_composer p a:hover {\\n    text-decoration: none\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer p code {\\n    padding: 1px;\\n    background-color: #f5f5f5;\\n    font-family: Courier, monospace\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=button] a.intercom-h2b-button {\\n    display: inline-block;\\n    font-weight: 700;\\n    color: #fff;\\n    background-color: #333333;\\n    text-align: center;\\n    box-sizing: border-box;\\n    border-radius: 4px;\\n    padding: 8px 40px;\\n    font-size: 14px;\\n    text-decoration: none\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=button] a.intercom-h2b-button>span {\\n    font-weight: 700\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=button] a.intercom-h2b-button {\\n    margin: 0 15.27%;\\n    font-size: 20px;\\n    line-height: 1.4\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=twitterFollowButton] {\\n    margin: 0 15.27% 9px\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=facebookLikeButton] iframe {\\n    max-height: 20px;\\n    max-width: 100%\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=facebookLikeButton] {\\n    margin: 0 15.27% 9px\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=attachment] {\\n    margin: 0 15.27%\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=attachment]:last-child,\\n  .intercom-embed-carousel .intercom_composer [data-type=button] a.intercom-h2b-button:last-child,\\n  .intercom-embed-carousel .intercom_composer [data-type=facebookLikeButton]:last-child,\\n  .intercom-embed-carousel .intercom_composer [data-type=image]:last-child,\\n  .intercom-embed-carousel .intercom_composer [data-type=twitterFollowButton]:last-child, .intercom-embed-carousel .intercom_composer [data-type=video]:last-child,\\n  .intercom-embed-carousel .intercom_composer h1:last-child, .intercom-embed-carousel .intercom_composer h2:last-child,\\n  .intercom-embed-carousel .intercom_composer ol:last-child, .intercom-embed-carousel .intercom_composer p:last-child,\\n  .intercom-embed-carousel .intercom_composer pre.code:last-child, .intercom-embed-carousel .intercom_composer ul:last-child {\\n    margin-bottom: 0\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer pre.code {\\n    margin: 0 0 10px;\\n    padding: 10px;\\n    background-color: #f5f5f5;\\n    overflow: auto\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer pre.code>code {\\n    font-family: Courier, monospace;\\n    font-size: 20px;\\n    line-height: 1.4;\\n    white-space: nowrap\\n  }\\n\\n  [data-type=\\\"imageText\\\"] .block-image-text .block-image {\\n    background: transparent;\\n    max-width: 80px;\\n    max-height: 80px;\\n  }\\n\\n  [data-type=\\\"imageText\\\"] .block-image-text .block-image-container {\\n    margin-left: 0px;\\n  }\\n\\n  [data-type=\\\"imageText\\\"] {\\n    padding: 10px;\\n  }\\n\\n  [data-type=\\\"imageText\\\"] .block-image-text {\\n    padding: 10px;\\n  }\\n  .embercom-composer-placeholder {\\n    color: {{@textColor}};\\n    opacity: 0.6;\\n  }\\n\\n  .image-text-file-upload-url-button {\\n    max-width: 135px;\\n  }\\n\\n  .intercom-embed-carousel .image-text-editor-composer p {\\n    font-size: 14px !important;\\n    line-height: 20px;\\n    margin: 0px !important;\\n  }\\n\\n  .intercom-embed-carousel .block-image-text-title, .block-image-text-text {\\n    font-size: 20px !important;\\n    line-height: 22px;\\n  }\\n\\n  #image-text-preview-composer {\\n    padding: 0px;\\n    margin: 0px 29px 30px !important;\\n  }\\n\\n</style>\", {\"contents\":\"<style data-test-carousel-embedded-styles-carousel-block-styles>\\n  {{#if (eq @verticalAlignment \\\"center\\\")}}\\n    .intercom-embed-carousel .embercom-composer-editor {\\n      display: flex;\\n      align-content: center;\\n      flex-direction: column;\\n    }\\n\\n    .intercom-embed-carousel .embercom-composer-editor > *:first-child {\\n      margin-top: auto !important;\\n    }\\n\\n    .intercom-embed-carousel .embercom-composer-editor > *:last-child {\\n      margin-bottom: auto !important;\\n    }\\n  {{/if}}\\n\\n  .intercom-embed-carousel .intercom_composer h1 {\\n    color: {{@textColor}};\\n    font-size: 48px;\\n    line-height: 1.18;\\n    margin: 0 24px 14px;\\n    font-weight: 600;\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer h2 {\\n    color: {{@textColor}};\\n    font-size: 34px;\\n    line-height: 1.18;\\n    margin: 0 24px 15px;\\n    font-weight: 600;\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=image] {\\n    display: block;\\n    text-align: center;\\n    max-width: 100%;\\n    margin-bottom: 34px;\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=image] img {\\n    margin: 0 auto;\\n    display: block;\\n    max-width: 100%;\\n    vertical-align: bottom;\\n  }\\n\\n  .intercom-embed-carousel .block-image-container {\\n    max-width: calc(100% - 48px);\\n    margin: 0 auto;\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer ol>li, .intercom-embed-carousel .intercom_composer ul>li {\\n    color: {{@textColor}};\\n    margin: 0 0 5px 15px;\\n    padding: 0;\\n    list-style-position: outside;\\n    list-style-type: disc\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer ol>li, .intercom-embed-carousel .intercom_composer ol>li a, .intercom-embed-carousel .intercom_composer ol>li b, .intercom-embed-carousel .intercom_composer ol>li em, .intercom-embed-carousel .intercom_composer ol>li i, .intercom-embed-carousel .intercom_composer ol>li strong, .intercom-embed-carousel .intercom_composer ul>li, .intercom-embed-carousel .intercom_composer ul>li a, .intercom-embed-carousel .intercom_composer ul>li b, .intercom-embed-carousel .intercom_composer ul>li em, .intercom-embed-carousel .intercom_composer ul>li i, .intercom-embed-carousel .intercom_composer ul>li strong {\\n    overflow-wrap: break-word;\\n    word-wrap: break-word\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer ol>li a, .intercom-embed-carousel .intercom_composer ul>li a {\\n    text-decoration: underline\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer ol>li:last-child, .intercom-embed-carousel .intercom_composer ul>li:last-child {\\n    margin-bottom: 0\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer ol>li {\\n    list-style-type: decimal\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer ol, .intercom-embed-carousel .intercom_composer ul {\\n    font-size: 20px;\\n    line-height: 1.41;\\n    margin: 0 15.27% 27px;\\n    padding: 0 0 0 16px\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer ol, .intercom-embed-carousel .intercom_composer ul {\\n    font-size: 20px;\\n    margin: 0 24px 10px;\\n    padding: 0 0 0 8px;\\n    line-height: 1.33\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=video] {\\n    position: relative;\\n    display: block;\\n    margin: 0px 0px 14px 0px;\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=video]:before {\\n    display: block;\\n    content: \\\" \\\";\\n    width: 100%;\\n    padding-top: 56.25%\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=video] video {\\n    width: 100%;\\n    height: 100%;\\n    vertical-align: top;\\n    position: absolute;\\n    top: 0;\\n    left: 0;\\n    right: 0;\\n    bottom: 0\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer p {\\n    margin: 0 24px 10px;\\n    font-size: 20px;\\n    line-height: 28px;\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer p a, .intercom-embed-carousel .intercom_composer p b, .intercom-embed-carousel .intercom_composer p em, .intercom-embed-carousel .intercom_composer p i, .intercom-embed-carousel .intercom_composer p p, .intercom-embed-carousel .intercom_composer p strong {\\n    overflow-wrap: break-word;\\n    word-wrap: break-word\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer p a {\\n    text-decoration: underline\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer p a:active, .intercom-embed-carousel .intercom_composer p a:focus, .intercom-embed-carousel .intercom_composer p a:hover {\\n    text-decoration: none\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer p code {\\n    padding: 1px;\\n    background-color: #f5f5f5;\\n    font-family: Courier, monospace\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=button] a.intercom-h2b-button {\\n    display: inline-block;\\n    font-weight: 700;\\n    color: #fff;\\n    background-color: #333333;\\n    text-align: center;\\n    box-sizing: border-box;\\n    border-radius: 4px;\\n    padding: 8px 40px;\\n    font-size: 14px;\\n    text-decoration: none\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=button] a.intercom-h2b-button>span {\\n    font-weight: 700\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=button] a.intercom-h2b-button {\\n    margin: 0 15.27%;\\n    font-size: 20px;\\n    line-height: 1.4\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=twitterFollowButton] {\\n    margin: 0 15.27% 9px\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=facebookLikeButton] iframe {\\n    max-height: 20px;\\n    max-width: 100%\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=facebookLikeButton] {\\n    margin: 0 15.27% 9px\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=attachment] {\\n    margin: 0 15.27%\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer [data-type=attachment]:last-child,\\n  .intercom-embed-carousel .intercom_composer [data-type=button] a.intercom-h2b-button:last-child,\\n  .intercom-embed-carousel .intercom_composer [data-type=facebookLikeButton]:last-child,\\n  .intercom-embed-carousel .intercom_composer [data-type=image]:last-child,\\n  .intercom-embed-carousel .intercom_composer [data-type=twitterFollowButton]:last-child, .intercom-embed-carousel .intercom_composer [data-type=video]:last-child,\\n  .intercom-embed-carousel .intercom_composer h1:last-child, .intercom-embed-carousel .intercom_composer h2:last-child,\\n  .intercom-embed-carousel .intercom_composer ol:last-child, .intercom-embed-carousel .intercom_composer p:last-child,\\n  .intercom-embed-carousel .intercom_composer pre.code:last-child, .intercom-embed-carousel .intercom_composer ul:last-child {\\n    margin-bottom: 0\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer pre.code {\\n    margin: 0 0 10px;\\n    padding: 10px;\\n    background-color: #f5f5f5;\\n    overflow: auto\\n  }\\n\\n  .intercom-embed-carousel .intercom_composer pre.code>code {\\n    font-family: Courier, monospace;\\n    font-size: 20px;\\n    line-height: 1.4;\\n    white-space: nowrap\\n  }\\n\\n  [data-type=\\\"imageText\\\"] .block-image-text .block-image {\\n    background: transparent;\\n    max-width: 80px;\\n    max-height: 80px;\\n  }\\n\\n  [data-type=\\\"imageText\\\"] .block-image-text .block-image-container {\\n    margin-left: 0px;\\n  }\\n\\n  [data-type=\\\"imageText\\\"] {\\n    padding: 10px;\\n  }\\n\\n  [data-type=\\\"imageText\\\"] .block-image-text {\\n    padding: 10px;\\n  }\\n  .embercom-composer-placeholder {\\n    color: {{@textColor}};\\n    opacity: 0.6;\\n  }\\n\\n  .image-text-file-upload-url-button {\\n    max-width: 135px;\\n  }\\n\\n  .intercom-embed-carousel .image-text-editor-composer p {\\n    font-size: 14px !important;\\n    line-height: 20px;\\n    margin: 0px !important;\\n  }\\n\\n  .intercom-embed-carousel .block-image-text-title, .block-image-text-text {\\n    font-size: 20px !important;\\n    line-height: 22px;\\n  }\\n\\n  #image-text-preview-composer {\\n    padding: 0px;\\n    margin: 0px 29px 30px !important;\\n  }\\n\\n</style>\",\"moduleName\":\"embercom/components/carousel/embedded-styles/carousel-block-styles.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/embedded-styles/carousel-block-styles.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<style data-test-embedded-styles-font-family>\\n  @import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500);\\n</style>\\n<style data-test-embedded-styles-common-block-styles>\\n  {{this.commonEmbeddedStyleSheetBody}}\\n</style>\\n<Carousel::EmbeddedStyles::CarouselBlockStyles @textColor={{@textColor}} @verticalAlignment={{@verticalAlignment}} />\", {\"contents\":\"<style data-test-embedded-styles-font-family>\\n  @import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500);\\n</style>\\n<style data-test-embedded-styles-common-block-styles>\\n  {{this.commonEmbeddedStyleSheetBody}}\\n</style>\\n<Carousel::EmbeddedStyles::CarouselBlockStyles @textColor={{@textColor}} @verticalAlignment={{@verticalAlignment}} />\",\"moduleName\":\"embercom/components/carousel/embedded-styles/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/embedded-styles/main.hbs\"}});\nimport Component from '@glimmer/component';\nimport IntercomEmbed from '@intercom/intercom-embed';\nimport AppColor from 'embercom/lib/color';\n\nexport default class CarouselEmbeddedStyles extends Component {\n  get commonEmbeddedStyleSheetBody() {\n    if (IntercomEmbed && IntercomEmbed.getStylesheet) {\n      return IntercomEmbed.getStylesheet()\n        .replace(/-intercom-app-color/g, this.args.appColor)\n        .replace(/#intercom_composer/g, '.intercom_composer');\n    } else {\n      return '';\n    }\n  }\n\n  get applicationColors() {\n    return new AppColor().generate_message_box_colors(this.args.appColor);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#each @screen.sortedCarouselActions as |carouselAction|}}\\n  <div class=\\\"carousel__editor__chrome__button-action u__center-layout\\\"\\n    data-test-carousel-screen-action\\n    style={{carouselAction.style}}>\\n    {{#if @isEditing}}\\n      <input\\n        data-test-carousel-screen-action-input\\n        class=\\\"carousel__editor__chrome__button-action__input\\\"\\n        value={{carouselAction.title}}\\n        {{on \\\"click\\\" (fn this.clickOnInputBox carouselAction)}}\\n        {{on \\\"input\\\" (fn this.onTitleChange carouselAction)}}\\n      >\\n    {{else}}\\n      <span data-test-carousel-screen-action-title>{{carouselAction.title}}</span>\\n    {{/if}}\\n  </div>\\n{{/each}}\\n\", {\"contents\":\"{{#each @screen.sortedCarouselActions as |carouselAction|}}\\n  <div class=\\\"carousel__editor__chrome__button-action u__center-layout\\\"\\n    data-test-carousel-screen-action\\n    style={{carouselAction.style}}>\\n    {{#if @isEditing}}\\n      <input\\n        data-test-carousel-screen-action-input\\n        class=\\\"carousel__editor__chrome__button-action__input\\\"\\n        value={{carouselAction.title}}\\n        {{on \\\"click\\\" (fn this.clickOnInputBox carouselAction)}}\\n        {{on \\\"input\\\" (fn this.onTitleChange carouselAction)}}\\n      >\\n    {{else}}\\n      <span data-test-carousel-screen-action-title>{{carouselAction.title}}</span>\\n    {{/if}}\\n  </div>\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/carousel/screen-editor/actions/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/screen-editor/actions/main.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { lastScreenOptions } from 'embercom/models/data/carousel/action-constants';\n\nexport default class ScreenAction extends Component {\n  @service intercomEventService;\n  @service contentEditorService;\n\n  get ruleset() {\n    return this.contentEditorService.ruleset;\n  }\n\n  @action onTitleChange(carouselAction, e) {\n    carouselAction.set('title', e.target.value);\n  }\n\n  @action clickOnInputBox(carouselAction) {\n    let analyticsAction;\n    let object;\n    if (lastScreenOptions.map(lso => lso.value).include(carouselAction.type)) {\n      analyticsAction = 'mobile_carousel_cta_button_action_clicked';\n      object = `carousel_btn_action_${carouselAction.type}`;\n    } else {\n      if (carouselAction.type === 'skip' || carouselAction.type === 'continue') {\n        object = `carousel_${carouselAction.type}_button`;\n      } else {\n        object = `carousel_cta`;\n      }\n      analyticsAction = 'mobile_carousel_button_contextual_clicked';\n    }\n    this.intercomEventService.trackAnalyticsEvent({\n      action: analyticsAction,\n      object,\n      owner: 'team-mobile',\n      place: 'carousel_editor_screen',\n      metadata: { ruleset_id: this.ruleset.id },\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"intercom-embed-container intercom-embed-carousel\\\" {{did-update this.setupCurrentModel @screen @screen.templateId}} data-test-carousel-composer >\\n  <div class=\\\"intercom_composer\\\">\\n    <ComposerV2\\n      @app={{this.app}}\\n      @attributes={{this.attributeService.userEditorAttributes}}\\n      @preset=\\\"carouselScreenContentBlock\\\"\\n      @isReadOnly={{this.isReadOnly}}\\n      @blocks={{this.serializedBlocks}}\\n      @editorClass=\\\"carousel__editor__carousel-layer__carousel-composer\\n        carousel__editor__carousel-layer__carousel-composer-{{@currentDevice}}\\n        {{if (gt @screen.carouselActions.length 1) \\\"carousel__editor__carousel-layer__carousel-composer__multiple-actions\\\" }}\\\"\\n      @viewportSelector=\\\".content-editor__main\\\"\\n      @actionReceiver={{this.composer}}\\n      @placeholder=\\\"Your message...\\\"\\n      @onChange={{this.updateBlocks}}\\n      data-test-body-composer\\n    />\\n  </div>\\n</div>\", {\"contents\":\"<div class=\\\"intercom-embed-container intercom-embed-carousel\\\" {{did-update this.setupCurrentModel @screen @screen.templateId}} data-test-carousel-composer >\\n  <div class=\\\"intercom_composer\\\">\\n    <ComposerV2\\n      @app={{this.app}}\\n      @attributes={{this.attributeService.userEditorAttributes}}\\n      @preset=\\\"carouselScreenContentBlock\\\"\\n      @isReadOnly={{this.isReadOnly}}\\n      @blocks={{this.serializedBlocks}}\\n      @editorClass=\\\"carousel__editor__carousel-layer__carousel-composer\\n        carousel__editor__carousel-layer__carousel-composer-{{@currentDevice}}\\n        {{if (gt @screen.carouselActions.length 1) \\\"carousel__editor__carousel-layer__carousel-composer__multiple-actions\\\" }}\\\"\\n      @viewportSelector=\\\".content-editor__main\\\"\\n      @actionReceiver={{this.composer}}\\n      @placeholder=\\\"Your message...\\\"\\n      @onChange={{this.updateBlocks}}\\n      data-test-body-composer\\n    />\\n  </div>\\n</div>\",\"moduleName\":\"embercom/components/carousel/screen-editor/composer/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/screen-editor/composer/main.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { schedule } from '@ember/runloop';\nimport createFragmentFromBlock from 'embercom/lib/blocks/create-fragment-from-block';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class ScreenComposer extends Component {\n  @service attributeService;\n  @service appService;\n  @service store;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  @tracked serializedBlocks = [];\n\n  constructor() {\n    super(...arguments);\n    this.setupCurrentModel();\n  }\n\n  get isReadOnly() {\n    return !this.args.isEditing;\n  }\n\n  @action\n  setupCurrentModel() {\n    schedule('afterRender', () => {\n      this.serializedBlocks = this.args.screen.blocks.serialize();\n      if (this.composer) {\n        this.composer.send('load', this.serializedBlocks);\n      }\n    });\n  }\n\n  @action\n  updateBlocks() {\n    if (!this.composer || !this.args.screen) {\n      return;\n    }\n    let blocks = this.composer.getBlocks();\n    let blockFragments = blocks.map(block => createFragmentFromBlock(this.store, block));\n    this.args.screen.set('blocks', blockFragments);\n    this.args.screen.templateId = null;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col gap-1\\\" data-test-carousel-editor-screen-editor>\\n  <Carousel::ScreenView::Main @carousel={{@carousel}} @currentDevice={{@currentDevice}} @screen={{@screen}} @isEditing={{true}} />\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col gap-1\\\" data-test-carousel-editor-screen-editor>\\n  <Carousel::ScreenView::Main @carousel={{@carousel}} @currentDevice={{@currentDevice}} @screen={{@screen}} @isEditing={{true}} />\\n</div>\\n\",\"moduleName\":\"embercom/components/carousel/screen-editor/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/screen-editor/main.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class ScreenEditor extends Component {\n  @service intercomEventService;\n  @service contentEditorService;\n\n  get ruleset() {\n    return this.contentEditorService.ruleset;\n  }\n\n  get onLastScreen() {\n    return (\n      this.args.screen.order ===\n      this.args.screen.get('localizedCarouselContent.carouselScreens.length') - 1\n    );\n  }\n\n  get onFirstScreen() {\n    return this.args.screen.order === 0;\n  }\n\n  @action onBack() {\n    this.args.onBack();\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'mobile_carousel_full_preview_nav_clicked',\n      object: `carousel_editor_screen_btn`,\n      owner: 'team-mobile',\n      place: 'carousel_editor_screen',\n      metadata: { ruleset_id: this.ruleset.id },\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col items-start gap-2 carousel__editor__carousel-layer__actions\\\" data-test-carousel-screen-view-actions>\\n  {{yield}}\\n</div>\", {\"contents\":\"<div class=\\\"flex flex-col items-start gap-2 carousel__editor__carousel-layer__actions\\\" data-test-carousel-screen-view-actions>\\n  {{yield}}\\n</div>\",\"moduleName\":\"embercom/components/carousel/screen-view/actions.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/screen-view/actions.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col flex-1 carousel__editor__carousel-composer__wrapper\\\" data-test-carousel-screen-view-composer>\\n  {{yield}}\\n  <div class=\\\"carousel__editor__carousel-composer__scroll-helper\\\" />\\n</div>\", {\"contents\":\"<div class=\\\"flex flex-col flex-1 carousel__editor__carousel-composer__wrapper\\\" data-test-carousel-screen-view-composer>\\n  {{yield}}\\n  <div class=\\\"carousel__editor__carousel-composer__scroll-helper\\\" />\\n</div>\",\"moduleName\":\"embercom/components/carousel/screen-view/composer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/screen-view/composer.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Carousel::ScreenView::Render @carousel={{@carousel}} @currentDevice={{@currentDevice}} @screen={{@screen}} @isEditing={{@isEditing}} as |context|>\\n  <context.composer>\\n    <Carousel::ScreenEditor::Composer::Main @currentDevice={{@currentDevice}} @screen={{@screen}} @isEditing={{@isEditing}}/>\\n  </context.composer>\\n  <context.actions>\\n    <Carousel::ScreenEditor::Actions::Main @screen={{@screen}} @isEditing={{@isEditing}}/>\\n  </context.actions>\\n</Carousel::ScreenView::Render>\", {\"contents\":\"<Carousel::ScreenView::Render @carousel={{@carousel}} @currentDevice={{@currentDevice}} @screen={{@screen}} @isEditing={{@isEditing}} as |context|>\\n  <context.composer>\\n    <Carousel::ScreenEditor::Composer::Main @currentDevice={{@currentDevice}} @screen={{@screen}} @isEditing={{@isEditing}}/>\\n  </context.composer>\\n  <context.actions>\\n    <Carousel::ScreenEditor::Actions::Main @screen={{@screen}} @isEditing={{@isEditing}}/>\\n  </context.actions>\\n</Carousel::ScreenView::Render>\",\"moduleName\":\"embercom/components/carousel/screen-view/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/screen-view/main.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-carousel-screen-nav-dot class=\\\"carousel__editor__carousel-layer__nav-dot {{if @isFirstScreen \\\"carousel__editor__carousel-layer__nav-dot__active\\\"}}\\\" />\\n{{#if (gt @totalScreens 2)}}\\n  <div data-test-carousel-screen-nav-dot class=\\\"carousel__editor__carousel-layer__nav-dot {{if @isMiddleScreen \\\"carousel__editor__carousel-layer__nav-dot__active\\\"}}\\\" />\\n{{/if}}\\n<div data-test-carousel-screen-nav-dot class=\\\"carousel__editor__carousel-layer__nav-dot {{if @isLastScreen \\\"carousel__editor__carousel-layer__nav-dot__active\\\"}}\\\" />\", {\"contents\":\"<div data-test-carousel-screen-nav-dot class=\\\"carousel__editor__carousel-layer__nav-dot {{if @isFirstScreen \\\"carousel__editor__carousel-layer__nav-dot__active\\\"}}\\\" />\\n{{#if (gt @totalScreens 2)}}\\n  <div data-test-carousel-screen-nav-dot class=\\\"carousel__editor__carousel-layer__nav-dot {{if @isMiddleScreen \\\"carousel__editor__carousel-layer__nav-dot__active\\\"}}\\\" />\\n{{/if}}\\n<div data-test-carousel-screen-nav-dot class=\\\"carousel__editor__carousel-layer__nav-dot {{if @isLastScreen \\\"carousel__editor__carousel-layer__nav-dot__active\\\"}}\\\" />\",\"moduleName\":\"embercom/components/carousel/screen-view/nav-dots.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/screen-view/nav-dots.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Carousel::Chrome::Main @currentDevice={{@currentDevice}}>\\n  <div class=\\\"carousel__editor__carousel-layer carousel__editor__carousel-layer-{{@currentDevice}}\\\"\\n    data-test-carousel-screen-view=\\\"{{@currentDevice}}\\\"\\n    {{did-insert this.determineIfScrollBarShouldBeVisible}}\\n    {{did-update this.determineIfScrollBarShouldBeVisible @screen.blocks}}>\\n    <div class=\\\"flex flex-col items-start h-full\\\">\\n      <div class=\\\"carousel__editor__carousel-layer__dismiss\\n          {{if (eq this.backgroundType 'dark') 'o__dark' 'o__light'}}\\n          {{if (eq @currentDevice 'ios') 'justify-end' 'justify-start'}}\\\"\\n        data-test-carousel-screen-view-dissmiss-button\\n      >\\n        {{#if (eq @screen.localizedCarouselContent.carousel.dismissible \\\"always\\\")}}\\n          {{ic-interface-icon \\\"close\\\" solo=true}}\\n        {{/if}}\\n      </div>\\n      {{yield (hash\\n        composer=(component 'carousel/screen-view/composer')\\n        actions=(component 'carousel/screen-view/actions')\\n      ) }}\\n      <div class=\\\"flex flex-row justify-center gap-2 carousel__editor__carousel-layer__nav-dots u__mb__10 {{if (eq totalScreens 1) \\\"u__invisible\\\"}} {{if (eq this.backgroundType 'dark') 'o__dark' 'o__light'}}\\\" data-test-carousel-screen-nav-dots>\\n        <Carousel::ScreenView::NavDots\\n          @isLastScreen={{this.isLastScreen}}\\n          @isFirstScreen={{this.isFirstScreen}}\\n          @isMiddleScreen={{this.isMiddleScreen}}\\n          @totalScreens={{this.totalScreens}}\\n        />\\n      </div>\\n    </div>\\n  </div>\\n  <Carousel::ScreenView::Styles\\n    @computedStyles={{this.computedStyles}}\\n    @backgroundColor={{@carousel.backgroundColor}}\\n    @textColor={{@carousel.textColor}}\\n    @composerPadding={{this.composerPadding}}\\n    @shouldShowScrollHelper={{this.shouldShowScrollHelper}}\\n  />\\n</Carousel::Chrome::Main>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Carousel::Chrome::Main @currentDevice={{@currentDevice}}>\\n  <div class=\\\"carousel__editor__carousel-layer carousel__editor__carousel-layer-{{@currentDevice}}\\\"\\n    data-test-carousel-screen-view=\\\"{{@currentDevice}}\\\"\\n    {{did-insert this.determineIfScrollBarShouldBeVisible}}\\n    {{did-update this.determineIfScrollBarShouldBeVisible @screen.blocks}}>\\n    <div class=\\\"flex flex-col items-start h-full\\\">\\n      <div class=\\\"carousel__editor__carousel-layer__dismiss\\n          {{if (eq this.backgroundType 'dark') 'o__dark' 'o__light'}}\\n          {{if (eq @currentDevice 'ios') 'justify-end' 'justify-start'}}\\\"\\n        data-test-carousel-screen-view-dissmiss-button\\n      >\\n        {{#if (eq @screen.localizedCarouselContent.carousel.dismissible \\\"always\\\")}}\\n          {{ic-interface-icon \\\"close\\\" solo=true}}\\n        {{/if}}\\n      </div>\\n      {{yield (hash\\n        composer=(component 'carousel/screen-view/composer')\\n        actions=(component 'carousel/screen-view/actions')\\n      ) }}\\n      <div class=\\\"flex flex-row justify-center gap-2 carousel__editor__carousel-layer__nav-dots u__mb__10 {{if (eq totalScreens 1) \\\"u__invisible\\\"}} {{if (eq this.backgroundType 'dark') 'o__dark' 'o__light'}}\\\" data-test-carousel-screen-nav-dots>\\n        <Carousel::ScreenView::NavDots\\n          @isLastScreen={{this.isLastScreen}}\\n          @isFirstScreen={{this.isFirstScreen}}\\n          @isMiddleScreen={{this.isMiddleScreen}}\\n          @totalScreens={{this.totalScreens}}\\n        />\\n      </div>\\n    </div>\\n  </div>\\n  <Carousel::ScreenView::Styles\\n    @computedStyles={{this.computedStyles}}\\n    @backgroundColor={{@carousel.backgroundColor}}\\n    @textColor={{@carousel.textColor}}\\n    @composerPadding={{this.composerPadding}}\\n    @shouldShowScrollHelper={{this.shouldShowScrollHelper}}\\n  />\\n</Carousel::Chrome::Main>\\n\",\"moduleName\":\"embercom/components/carousel/screen-view/render.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/screen-view/render.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport intercomMessengerColors from '@intercom/intercom-messenger-colors';\n\nexport default class ScreenViewRender extends Component {\n  shouldShowScrollHelper = false;\n\n  get backgroundType() {\n    let messengerColors = intercomMessengerColors({\n      primaryColor: this.args.carousel.backgroundColor || '#fff',\n    });\n    return messengerColors.primary_type;\n  }\n\n  get composerPadding() {\n    return 55 * this.args.screen.carouselActions.length;\n  }\n\n  get isLastScreen() {\n    return this.args.screen.order === this.totalScreens - 1;\n  }\n\n  get totalScreens() {\n    return this.args.screen.get('localizedCarouselContent.carouselScreens.length');\n  }\n\n  get isFirstScreen() {\n    return this.args.screen.order === 0;\n  }\n\n  get isMiddleScreen() {\n    return !this.isLastScreen && !this.isFirstScreen;\n  }\n\n  @action determineIfScrollBarShouldBeVisible(container) {\n    let shadowElem = container.querySelector('.carousel__editor__carousel-composer__scroll-helper');\n    if (!shadowElem) {\n      return;\n    }\n    if (!this.args.isEditing && this.isScrollBarVisible(container)) {\n      shadowElem.style.display = 'block';\n    } else {\n      shadowElem.style.display = 'none';\n    }\n  }\n\n  isScrollBarVisible(container) {\n    let el = container.querySelector('#composer-read-only-content');\n    if (el) {\n      return el.scrollHeight > el.clientHeight;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<style data-test-carousel-screen-view-styles>\\n  .carousel__editor__carousel-layer {\\n    background: {{@backgroundColor}};\\n    color: {{@textColor}};\\n  }\\n  .carousel__timeline__screens .carousel__editor__carousel-composer__scroll-helper {\\n    position: absolute;\\n    bottom: 0px;\\n    height: 100px;\\n    width: calc(100% - 2px);\\n    background: linear-gradient(0deg, {{@backgroundColor}} 0%, rgba(255, 255, 255, 0) 100%);\\n    left: 1px;\\n  }\\n</style>\\n\", {\"contents\":\"<style data-test-carousel-screen-view-styles>\\n  .carousel__editor__carousel-layer {\\n    background: {{@backgroundColor}};\\n    color: {{@textColor}};\\n  }\\n  .carousel__timeline__screens .carousel__editor__carousel-composer__scroll-helper {\\n    position: absolute;\\n    bottom: 0px;\\n    height: 100px;\\n    width: calc(100% - 2px);\\n    background: linear-gradient(0deg, {{@backgroundColor}} 0%, rgba(255, 255, 255, 0) 100%);\\n    left: 1px;\\n  }\\n</style>\\n\",\"moduleName\":\"embercom/components/carousel/screen-view/styles.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/screen-view/styles.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col flex-1 gap-4 content-editor__sidebar carousel__sidebar\\\" data-test-carousel-editor-sidebar-carousel-editor>\\n  <div class=\\\"flex flex-col gap-2 carousel__sidebar__section\\\">\\n    <Heading @size='4'>General Settings</Heading>\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling=\\\"label\\\">Close button behaviour</Text>\\n      <PulseCandidate::VerticalRadioButtonGroup\\n        @onChange={{set @carousel.dismissible}}\\n        @selected={{@carousel.dismissible}}\\n        data-test-reply-type-selector as |group|>\\n        <group.Button @label=\\\"Show the close button\\\" @value=\\\"always\\\" />\\n        <group.Button @label=\\\"Hide the close button\\\" @value=\\\"never\\\" />\\n      </PulseCandidate::VerticalRadioButtonGroup>\\n    </div>\\n    <div class=\\\"flex flex-col gap-1 mt-2\\\" data-test-preferred-devices-switcher>\\n      <ContentEditor::Panels::Content::PreferredDevices::Switcher\\n        @label={{\\\"Deliver to\\\"}}\\n        @content={{@carousel}}\\n        @optionsToHide={{this.preferredDevicesToHide}}\\n        @conjuction=\\\"or\\\"\\n      />\\n    </div>\\n  </div>\\n\\n  <div class=\\\"flex flex-col gap-2 carousel__sidebar__section\\\">\\n    <Heading @size='4'>Content alignment</Heading>\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling=\\\"label\\\">Vertical</Text>\\n      <IcRadioButtonGroup\\n        @selectedValue={{@carousel.verticalAlignment}}\\n        @fullWidth={{true}}\\n        @onSelectionChange={{@onVerticalAlignmentChange}} as |group|\\n      >\\n        <group.button @icon=\\\"top\\\" @label=\\\"Top\\\" @value=\\\"top\\\" />\\n        <group.button @icon=\\\"middle\\\" @label=\\\"Middle\\\" @value=\\\"center\\\" />\\n      </IcRadioButtonGroup>\\n    </div>\\n  </div>\\n\\n  <div class=\\\"flex flex-col gap-2 carousel__sidebar__section\\\">\\n    <Heading @size='4'>Colors</Heading>\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling=\\\"label\\\">Background</Text>\\n      <div class=\\\"color-select__hex-container carousel__sidebar__color-input\\\">\\n        <Settings::Appearance::ColorEditComponent\\n          data-test-background-color-input\\n          @value={{@backgroundColor}}\\n          @classNames=\\\"f__text color-select__hex-input\\\"\\n          @setColor={{@setBackgroundColor}}\\n        />\\n        <span class=\\\"color-select__color-picker-opener-component-container\\\">\\n          <Settings::Appearance::ColorPicker\\n            @colpickLayout=\\\"custom\\\"\\n            @value={{@backgroundColor}}\\n            @colorOptions={{this.colorOptions}}\\n            @setColor={{@setBackgroundColor}}\\n          />\\n        </span>\\n      </div>\\n    </div>\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling=\\\"label\\\">Text</Text>\\n      <div class=\\\"color-select__hex-container carousel__sidebar__color-input\\\">\\n        <Settings::Appearance::ColorEditComponent\\n          data-test-text-color-input\\n          @value={{@textColor}}\\n          @classNames=\\\"f__text color-select__hex-input\\\"\\n          @setColor={{@setTextColor}}\\n        />\\n        <span class=\\\"color-select__color-picker-opener-component-container\\\">\\n          <Settings::Appearance::ColorPicker\\n            @colpickLayout=\\\"custom\\\"\\n            @value={{@textColor}}\\n            @colorOptions={{this.colorOptions}}\\n            @setColor={{@setTextColor}}\\n          />\\n        </span>\\n      </div>\\n    </div>\\n\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling=\\\"label\\\">Buttons</Text>\\n      <div class=\\\"color-select__hex-container carousel__sidebar__color-input\\\">\\n        <Settings::Appearance::ColorEditComponent\\n          data-test-actions-color-input\\n          @value={{@actionsColor}}\\n          @classNames=\\\"f__text color-select__hex-input\\\"\\n          @setColor={{@setActionColor}}\\n        />\\n        <span class=\\\"color-select__color-picker-opener-component-container\\\">\\n          <Settings::Appearance::ColorPicker\\n            @colpickLayout=\\\"custom\\\"\\n            @value={{@actionsColor}}\\n            @colorOptions={{this.colorOptions}}\\n            @setColor={{@setActionColor}}\\n          />\\n        </span>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col flex-1 gap-4 content-editor__sidebar carousel__sidebar\\\" data-test-carousel-editor-sidebar-carousel-editor>\\n  <div class=\\\"flex flex-col gap-2 carousel__sidebar__section\\\">\\n    <Heading @size='4'>General Settings</Heading>\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling=\\\"label\\\">Close button behaviour</Text>\\n      <PulseCandidate::VerticalRadioButtonGroup\\n        @onChange={{set @carousel.dismissible}}\\n        @selected={{@carousel.dismissible}}\\n        data-test-reply-type-selector as |group|>\\n        <group.Button @label=\\\"Show the close button\\\" @value=\\\"always\\\" />\\n        <group.Button @label=\\\"Hide the close button\\\" @value=\\\"never\\\" />\\n      </PulseCandidate::VerticalRadioButtonGroup>\\n    </div>\\n    <div class=\\\"flex flex-col gap-1 mt-2\\\" data-test-preferred-devices-switcher>\\n      <ContentEditor::Panels::Content::PreferredDevices::Switcher\\n        @label={{\\\"Deliver to\\\"}}\\n        @content={{@carousel}}\\n        @optionsToHide={{this.preferredDevicesToHide}}\\n        @conjuction=\\\"or\\\"\\n      />\\n    </div>\\n  </div>\\n\\n  <div class=\\\"flex flex-col gap-2 carousel__sidebar__section\\\">\\n    <Heading @size='4'>Content alignment</Heading>\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling=\\\"label\\\">Vertical</Text>\\n      <IcRadioButtonGroup\\n        @selectedValue={{@carousel.verticalAlignment}}\\n        @fullWidth={{true}}\\n        @onSelectionChange={{@onVerticalAlignmentChange}} as |group|\\n      >\\n        <group.button @icon=\\\"top\\\" @label=\\\"Top\\\" @value=\\\"top\\\" />\\n        <group.button @icon=\\\"middle\\\" @label=\\\"Middle\\\" @value=\\\"center\\\" />\\n      </IcRadioButtonGroup>\\n    </div>\\n  </div>\\n\\n  <div class=\\\"flex flex-col gap-2 carousel__sidebar__section\\\">\\n    <Heading @size='4'>Colors</Heading>\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling=\\\"label\\\">Background</Text>\\n      <div class=\\\"color-select__hex-container carousel__sidebar__color-input\\\">\\n        <Settings::Appearance::ColorEditComponent\\n          data-test-background-color-input\\n          @value={{@backgroundColor}}\\n          @classNames=\\\"f__text color-select__hex-input\\\"\\n          @setColor={{@setBackgroundColor}}\\n        />\\n        <span class=\\\"color-select__color-picker-opener-component-container\\\">\\n          <Settings::Appearance::ColorPicker\\n            @colpickLayout=\\\"custom\\\"\\n            @value={{@backgroundColor}}\\n            @colorOptions={{this.colorOptions}}\\n            @setColor={{@setBackgroundColor}}\\n          />\\n        </span>\\n      </div>\\n    </div>\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling=\\\"label\\\">Text</Text>\\n      <div class=\\\"color-select__hex-container carousel__sidebar__color-input\\\">\\n        <Settings::Appearance::ColorEditComponent\\n          data-test-text-color-input\\n          @value={{@textColor}}\\n          @classNames=\\\"f__text color-select__hex-input\\\"\\n          @setColor={{@setTextColor}}\\n        />\\n        <span class=\\\"color-select__color-picker-opener-component-container\\\">\\n          <Settings::Appearance::ColorPicker\\n            @colpickLayout=\\\"custom\\\"\\n            @value={{@textColor}}\\n            @colorOptions={{this.colorOptions}}\\n            @setColor={{@setTextColor}}\\n          />\\n        </span>\\n      </div>\\n    </div>\\n\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling=\\\"label\\\">Buttons</Text>\\n      <div class=\\\"color-select__hex-container carousel__sidebar__color-input\\\">\\n        <Settings::Appearance::ColorEditComponent\\n          data-test-actions-color-input\\n          @value={{@actionsColor}}\\n          @classNames=\\\"f__text color-select__hex-input\\\"\\n          @setColor={{@setActionColor}}\\n        />\\n        <span class=\\\"color-select__color-picker-opener-component-container\\\">\\n          <Settings::Appearance::ColorPicker\\n            @colpickLayout=\\\"custom\\\"\\n            @value={{@actionsColor}}\\n            @colorOptions={{this.colorOptions}}\\n            @setColor={{@setActionColor}}\\n          />\\n        </span>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/carousel/sidebar/carousel-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/sidebar/carousel-editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { preferredDevices } from 'embercom/models/data/outbound/constants';\n\nexport default class CarouselEditor extends Component {\n  preferredDevicesToHide = [preferredDevices.web];\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<img class=\\\"carousel__sidebar__layout__image-logo\\\" src=\\\"/assets/images/carousels/layout-image-placeholder-logo.png\\\" />\\n<div class=\\\"carousel__sidebar__layout__title u__centered-text-block\\\">Image, title and text</div>\\n<div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 100px\\\" />\\n<div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 100px\\\" />\\n<div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 60px\\\" />\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<img class=\\\"carousel__sidebar__layout__image-logo\\\" src=\\\"/assets/images/carousels/layout-image-placeholder-logo.png\\\" />\\n<div class=\\\"carousel__sidebar__layout__title u__centered-text-block\\\">Image, title and text</div>\\n<div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 100px\\\" />\\n<div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 100px\\\" />\\n<div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 60px\\\" />\",\"moduleName\":\"embercom/components/carousel/sidebar/layouts/image-title-text.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/sidebar/layouts/image-title-text.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<div class=\\\"carousel__sidebar__layout__title\\\">List with icons</div>\\n<div class=\\\"carousel__sidebar__layout__icon-text\\\">\\n  <img class=\\\"carousel__sidebar__layout__image-logo\\\" src=\\\"/assets/images/carousels/layout-image-placeholder-logo.png\\\" />\\n  <div class=\\\"carousel__sidebar__layout__bars\\\">\\n    <div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 78px\\\" />\\n    <div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 38px\\\" />\\n  </div>\\n</div>\\n\\n<div class=\\\"carousel__sidebar__layout__icon-text\\\">\\n  <img class=\\\"carousel__sidebar__layout__image-logo\\\" src=\\\"/assets/images/carousels/layout-image-placeholder-logo.png\\\" />\\n  <div class=\\\"carousel__sidebar__layout__bars\\\">\\n    <div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 78px\\\" />\\n    <div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 38px\\\" />\\n  </div>\\n</div>\\n\\n<div class=\\\"carousel__sidebar__layout__icon-text\\\">\\n  <img class=\\\"carousel__sidebar__layout__image-logo\\\" src=\\\"/assets/images/carousels/layout-image-placeholder-logo.png\\\" />\\n  <div class=\\\"carousel__sidebar__layout__bars\\\">\\n    <div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 78px\\\" />\\n    <div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 38px\\\" />\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<div class=\\\"carousel__sidebar__layout__title\\\">List with icons</div>\\n<div class=\\\"carousel__sidebar__layout__icon-text\\\">\\n  <img class=\\\"carousel__sidebar__layout__image-logo\\\" src=\\\"/assets/images/carousels/layout-image-placeholder-logo.png\\\" />\\n  <div class=\\\"carousel__sidebar__layout__bars\\\">\\n    <div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 78px\\\" />\\n    <div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 38px\\\" />\\n  </div>\\n</div>\\n\\n<div class=\\\"carousel__sidebar__layout__icon-text\\\">\\n  <img class=\\\"carousel__sidebar__layout__image-logo\\\" src=\\\"/assets/images/carousels/layout-image-placeholder-logo.png\\\" />\\n  <div class=\\\"carousel__sidebar__layout__bars\\\">\\n    <div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 78px\\\" />\\n    <div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 38px\\\" />\\n  </div>\\n</div>\\n\\n<div class=\\\"carousel__sidebar__layout__icon-text\\\">\\n  <img class=\\\"carousel__sidebar__layout__image-logo\\\" src=\\\"/assets/images/carousels/layout-image-placeholder-logo.png\\\" />\\n  <div class=\\\"carousel__sidebar__layout__bars\\\">\\n    <div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 78px\\\" />\\n    <div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 38px\\\" />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/carousel/sidebar/layouts/list-icons.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/sidebar/layouts/list-icons.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<div class=\\\"carousel__sidebar__layout__title u__centered-text-block\\\">Permissions Request</div>\\n<div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 100px\\\" />\\n<div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 100px\\\" />\\n<div class=\\\"carousel__sidebar__layout__bar u__center-item\\\" style=\\\"width: 60px\\\" />\\n<div class=\\\"carousel__sidebar__layout__permission\\\" />\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<div class=\\\"carousel__sidebar__layout__title u__centered-text-block\\\">Permissions Request</div>\\n<div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 100px\\\" />\\n<div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 100px\\\" />\\n<div class=\\\"carousel__sidebar__layout__bar u__center-item\\\" style=\\\"width: 60px\\\" />\\n<div class=\\\"carousel__sidebar__layout__permission\\\" />\",\"moduleName\":\"embercom/components/carousel/sidebar/layouts/permissions-request.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/sidebar/layouts/permissions-request.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<div class=\\\"carousel__sidebar__layout__title\\\">Title, text and Image</div>\\n<div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 100px\\\" />\\n<div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 100px\\\" />\\n<div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 60px\\\" />\\n<img class=\\\"carousel__sidebar__layout__image-cover\\\" src=\\\"/assets/images/carousels/layout-image-placeholder-cover.png\\\" />\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<div class=\\\"carousel__sidebar__layout__title\\\">Title, text and Image</div>\\n<div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 100px\\\" />\\n<div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 100px\\\" />\\n<div class=\\\"carousel__sidebar__layout__bar\\\" style=\\\"width: 60px\\\" />\\n<img class=\\\"carousel__sidebar__layout__image-cover\\\" src=\\\"/assets/images/carousels/layout-image-placeholder-cover.png\\\" />\",\"moduleName\":\"embercom/components/carousel/sidebar/layouts/title-text-image.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/sidebar/layouts/title-text-image.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col flex-1 gap-6 content-editor__sidebar carousel__sidebar\\\" data-test-carousel-editor-sidebar-screen-editor {{did-update this.setupCurrentModel @screen}}>\\n  <div class=\\\"flex flex-col gap-2 carousel__sidebar__section mt-4\\\">\\n    <Text @styling=\\\"label\\\" @linkStyling=\\\"subtle\\\" {{on \\\"click\\\" @onBack}}>All screens{{ic-interface-icon \\\"small-thin-right-arrow\\\"}}</Text>\\n    <Heading @size='2'>Screen settings</Heading>\\n    <div class=\\\"flex flex-col gap-1 mt-4\\\">\\n      <Text @styling=\\\"label\\\">Layouts</Text>\\n      <div class=\\\"flex flex-col gap-2\\\">\\n        <div class=\\\"flex flex-row gap-2\\\">\\n          <div class=\\\"flex flex-col flex-1 carousel__sidebar__layout\\\" data-test-carousel-editor-sidebar-template=\\\"titleTextImage\\\" {{on \\\"click\\\" (perform this.onTemplateClick 'titleTextImage')}}>\\n            <Carousel::Sidebar::Layouts::TitleTextImage />\\n          </div>\\n          <div class=\\\"flex flex-col items-center flex-1 carousel__sidebar__layout\\\" data-test-carousel-editor-sidebar-template=\\\"imageTitleText\\\" {{on \\\"click\\\" (perform this.onTemplateClick 'imageTitleText')}}>\\n            <Carousel::Sidebar::Layouts::ImageTitleText />\\n          </div>\\n        </div>\\n        <div class=\\\"flex flex-row gap-2\\\">\\n          <div class=\\\"flex flex-col flex-1 carousel__sidebar__layout\\\" data-test-carousel-editor-sidebar-template=\\\"listWithIcons\\\" {{on \\\"click\\\" (perform this.onTemplateClick 'listWithIcons')}}>\\n            <Carousel::Sidebar::Layouts::ListIcons />\\n          </div>\\n          <div class=\\\"flex flex-col flex-1 carousel__sidebar__layout\\\" data-test-carousel-editor-sidebar-template=\\\"permissionsRequest\\\" {{on \\\"click\\\" (perform this.onTemplateClick 'permissionsRequest')}}>\\n            <Carousel::Sidebar::Layouts::PermissionsRequest />\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"flex flex-col gap-8 carousel__sidebar__section\\\">\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling=\\\"label\\\" data-test-carousel-editor-sidebar-screen-editor-button-actions>Button Action</Text>\\n      <Common::ButtonGroup\\n        @app={{this.app}}\\n        @content={{this.actionTypes}}\\n        @selected={{this.selectedActionType}}\\n        @onSelected={{this.onChangeActionType}}\\n      />\\n\\n      {{#if (eq this.selectedActionType -1)}}\\n        <Text @styling=\\\"label\\\" class=\\\"u__mt__10\\\" data-test-carousel-editor-sidebar-screen-editor-permissions>Request access to</Text>\\n        <Common::ButtonGroup\\n          @app={{this.app}}\\n          @content={{this.permissionTypes}}\\n          @selected={{this.selectedPermission}}\\n          @onSelected={{this.onChangePermission}}\\n        />\\n      {{/if}}\\n    </div>\\n    {{#if (eq this.selectedActionType 'link')}}\\n      <div class=\\\"flex flex-col gap-1\\\">\\n        <Form as |form|>\\n          <form.Item\\n            @label=\\\"URL\\\"\\n            as |item|\\n          >\\n            <item.Input data-test-carousel-editor-sidebar-screen-editor-button-action-link {{on \\\"input\\\" this.setUris }} @placeholder=\\\"address...\\\" @value={{this.selectedAction.androidUri}} />\\n          </form.Item>\\n        </Form>\\n      </div>\\n    {{/if}}\\n    {{#if (eq this.selectedActionType 'deep_link')}}\\n      <div class=\\\"flex flex-col gap-1\\\">\\n        <Form as |form|>\\n          {{#if @carousel.hasIosAsPreferredDevice}}\\n            <form.Item\\n              @label=\\\"iOS\\\"\\n              as |item|\\n            >\\n              <item.Input data-test-carousel-editor-sidebar-screen-editor-button-action-ios-uri @placeholder=\\\"Deep link URI\\\" {{on \\\"input\\\" this.setIosUri }} @value={{this.selectedAction.iosUri}} />\\n            </form.Item>\\n          {{/if}}\\n          {{#if @carousel.hasAndroidAsPreferredDevice}}\\n            <form.Item\\n              @label=\\\"Android\\\"\\n              as |item|\\n            >\\n              <item.Input data-test-carousel-editor-sidebar-screen-editor-button-action-android-uri @placeholder=\\\"Deep link URI\\\" {{on \\\"input\\\" this.setAndroidUri }} @value={{this.selectedAction.androidUri}} />\\n            </form.Item>\\n          {{/if}}\\n        </Form>\\n      </div>\\n    {{/if}}\\n\\n    {{#if this.hasPermissionBeenSelected}}\\n      <Pulse::HelpContent::Tour\\n        @title=\\\"How it works\\\"\\n        @tourId={{125008}}\\n        data-test-carousel-editor-sidebar-screen-editor-helper-modal\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col flex-1 gap-6 content-editor__sidebar carousel__sidebar\\\" data-test-carousel-editor-sidebar-screen-editor {{did-update this.setupCurrentModel @screen}}>\\n  <div class=\\\"flex flex-col gap-2 carousel__sidebar__section mt-4\\\">\\n    <Text @styling=\\\"label\\\" @linkStyling=\\\"subtle\\\" {{on \\\"click\\\" @onBack}}>All screens{{ic-interface-icon \\\"small-thin-right-arrow\\\"}}</Text>\\n    <Heading @size='2'>Screen settings</Heading>\\n    <div class=\\\"flex flex-col gap-1 mt-4\\\">\\n      <Text @styling=\\\"label\\\">Layouts</Text>\\n      <div class=\\\"flex flex-col gap-2\\\">\\n        <div class=\\\"flex flex-row gap-2\\\">\\n          <div class=\\\"flex flex-col flex-1 carousel__sidebar__layout\\\" data-test-carousel-editor-sidebar-template=\\\"titleTextImage\\\" {{on \\\"click\\\" (perform this.onTemplateClick 'titleTextImage')}}>\\n            <Carousel::Sidebar::Layouts::TitleTextImage />\\n          </div>\\n          <div class=\\\"flex flex-col items-center flex-1 carousel__sidebar__layout\\\" data-test-carousel-editor-sidebar-template=\\\"imageTitleText\\\" {{on \\\"click\\\" (perform this.onTemplateClick 'imageTitleText')}}>\\n            <Carousel::Sidebar::Layouts::ImageTitleText />\\n          </div>\\n        </div>\\n        <div class=\\\"flex flex-row gap-2\\\">\\n          <div class=\\\"flex flex-col flex-1 carousel__sidebar__layout\\\" data-test-carousel-editor-sidebar-template=\\\"listWithIcons\\\" {{on \\\"click\\\" (perform this.onTemplateClick 'listWithIcons')}}>\\n            <Carousel::Sidebar::Layouts::ListIcons />\\n          </div>\\n          <div class=\\\"flex flex-col flex-1 carousel__sidebar__layout\\\" data-test-carousel-editor-sidebar-template=\\\"permissionsRequest\\\" {{on \\\"click\\\" (perform this.onTemplateClick 'permissionsRequest')}}>\\n            <Carousel::Sidebar::Layouts::PermissionsRequest />\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"flex flex-col gap-8 carousel__sidebar__section\\\">\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling=\\\"label\\\" data-test-carousel-editor-sidebar-screen-editor-button-actions>Button Action</Text>\\n      <Common::ButtonGroup\\n        @app={{this.app}}\\n        @content={{this.actionTypes}}\\n        @selected={{this.selectedActionType}}\\n        @onSelected={{this.onChangeActionType}}\\n      />\\n\\n      {{#if (eq this.selectedActionType -1)}}\\n        <Text @styling=\\\"label\\\" class=\\\"u__mt__10\\\" data-test-carousel-editor-sidebar-screen-editor-permissions>Request access to</Text>\\n        <Common::ButtonGroup\\n          @app={{this.app}}\\n          @content={{this.permissionTypes}}\\n          @selected={{this.selectedPermission}}\\n          @onSelected={{this.onChangePermission}}\\n        />\\n      {{/if}}\\n    </div>\\n    {{#if (eq this.selectedActionType 'link')}}\\n      <div class=\\\"flex flex-col gap-1\\\">\\n        <Form as |form|>\\n          <form.Item\\n            @label=\\\"URL\\\"\\n            as |item|\\n          >\\n            <item.Input data-test-carousel-editor-sidebar-screen-editor-button-action-link {{on \\\"input\\\" this.setUris }} @placeholder=\\\"address...\\\" @value={{this.selectedAction.androidUri}} />\\n          </form.Item>\\n        </Form>\\n      </div>\\n    {{/if}}\\n    {{#if (eq this.selectedActionType 'deep_link')}}\\n      <div class=\\\"flex flex-col gap-1\\\">\\n        <Form as |form|>\\n          {{#if @carousel.hasIosAsPreferredDevice}}\\n            <form.Item\\n              @label=\\\"iOS\\\"\\n              as |item|\\n            >\\n              <item.Input data-test-carousel-editor-sidebar-screen-editor-button-action-ios-uri @placeholder=\\\"Deep link URI\\\" {{on \\\"input\\\" this.setIosUri }} @value={{this.selectedAction.iosUri}} />\\n            </form.Item>\\n          {{/if}}\\n          {{#if @carousel.hasAndroidAsPreferredDevice}}\\n            <form.Item\\n              @label=\\\"Android\\\"\\n              as |item|\\n            >\\n              <item.Input data-test-carousel-editor-sidebar-screen-editor-button-action-android-uri @placeholder=\\\"Deep link URI\\\" {{on \\\"input\\\" this.setAndroidUri }} @value={{this.selectedAction.androidUri}} />\\n            </form.Item>\\n          {{/if}}\\n        </Form>\\n      </div>\\n    {{/if}}\\n\\n    {{#if this.hasPermissionBeenSelected}}\\n      <Pulse::HelpContent::Tour\\n        @title=\\\"How it works\\\"\\n        @tourId={{125008}}\\n        data-test-carousel-editor-sidebar-screen-editor-helper-modal\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/carousel/sidebar/screen-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/sidebar/screen-editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport {\n  actionToTypeMap,\n  permissionsLabelIconMap,\n  actionTypes,\n  typeToActionMap,\n  lastScreenOptions,\n  nonPermissionTypes,\n  permissionTypeValues,\n} from 'embercom/models/data/carousel/action-constants';\nimport createFragmentFromBlock from 'embercom/lib/blocks/create-fragment-from-block';\nimport { screenTemplates } from 'embercom/models/data/carousel/screen-templates';\nimport { task } from 'ember-concurrency-decorators';\nimport { intercomPromiseConfirm } from 'embercom/lib/intercom-confirm';\n\nexport default class ScreenEditorSidebar extends Component {\n  @service appService;\n  @service store;\n  @service intercomEventService;\n  @service contentEditorService;\n\n  get ruleset() {\n    return this.contentEditorService.ruleset;\n  }\n\n  app = this.appService.app;\n\n  @tracked selectedActionType = actionToTypeMap.continue;\n  @tracked selectedPermission = actionToTypeMap.cameraPermission;\n  @tracked selectedAction = null;\n\n  constructor() {\n    super(...arguments);\n    this.setupCurrentModel();\n  }\n\n  @action setupCurrentModel() {\n    this.selectedAction = this.args.screen.primaryAction;\n    // if there are more than one screen it means that\n    // a permission based action was selected.\n    if (this.args.screen.carouselActions.length === 2) {\n      this.selectedActionType = -1;\n      this.selectedPermission = this.selectedAction.type;\n    } else {\n      this.selectedActionType = this.selectedAction.type;\n    }\n  }\n\n  get hasPermissionBeenSelected() {\n    return permissionTypeValues.includes(this.args.screen.primaryAction.type);\n  }\n\n  buildActions() {\n    this.args.screen.clearActions();\n    if (nonPermissionTypes.includes(this.selectedActionType)) {\n      let action = typeToActionMap[this.selectedActionType];\n      this.selectedAction = this.args.screen.createPrimaryAction(action);\n    } else {\n      let action = typeToActionMap[this.selectedPermission];\n      this.args.screen.createSecondaryAction('skip');\n      this.selectedAction = this.args.screen.createPrimaryAction(action);\n    }\n  }\n\n  applyTemplateBlocks(screenTemplate) {\n    let blockFragments = screenTemplate.blocks.map(block =>\n      createFragmentFromBlock(this.store, block),\n    );\n    this.args.screen.set('blocks', blockFragments);\n  }\n\n  applyTemplateActions(screenTemplate) {\n    if (screenTemplate.actions) {\n      this.args.screen.clearActions();\n      screenTemplate.actions.forEach(action => {\n        if (action.order === 'primary') {\n          this.args.screen.createPrimaryAction(action.actionType);\n          this.showRelevantSidebarOptions(action.actionType);\n        } else {\n          this.args.screen.createSecondaryAction(action.actionType);\n        }\n      });\n    }\n  }\n\n  showRelevantSidebarOptions(actionType) {\n    if (permissionsLabelIconMap.map(p => p.value).includes(actionToTypeMap[actionType])) {\n      this.selectedActionType = -1;\n      this.selectedPermission = actionToTypeMap[actionType];\n    } else {\n      this.selectedActionType = actionToTypeMap[actionType];\n    }\n  }\n\n  applyTemplate(type) {\n    let screenTemplate = screenTemplates[type];\n    this.applyTemplateBlocks(screenTemplate);\n    this.args.screen.templateId = type;\n    this.applyTemplateActions(screenTemplate);\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'mobile_carousel_screen_template_clicked',\n      object: `carousel_screen_template_${type}`,\n      owner: 'team-mobile',\n      place: 'carousel_editor_screen',\n      metadata: { ruleset_id: this.ruleset.id },\n    });\n  }\n\n  @action\n  onChangeActionType(option) {\n    this.selectedActionType = option;\n    this.buildActions();\n  }\n\n  @action onChangePermission(option) {\n    this.selectedActionType = -1;\n    this.selectedPermission = option;\n    this.buildActions();\n  }\n\n  @action setUris(e) {\n    this.setAndroidUri(e);\n    this.setIosUri(e);\n  }\n\n  @action setAndroidUri(e) {\n    this.args.screen.carouselActions.firstObject.set('androidUri', e.target.value);\n  }\n\n  @action setIosUri(e) {\n    this.args.screen.carouselActions.firstObject.set('iosUri', e.target.value);\n  }\n\n  @action onBack() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'mobile_carousel_full_preview_nav_clicked',\n      object: `carousel_breadcrumb`,\n      owner: 'team-mobile',\n      place: 'carousel_editor_screen',\n      metadata: { ruleset_id: this.ruleset.id },\n    });\n    this.args.onBack();\n  }\n\n  @task *onTemplateClick(type) {\n    if (this.args.screen.blocks) {\n      let confirmation = yield intercomPromiseConfirm(this, {\n        title: 'Choose a new layout?',\n        body: `Choosing a new layout template will erase any edits you have already made to this screen.`,\n        confirmButtonText: 'Confirm',\n      });\n      if (!confirmation) {\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'mobile_carousel_screen_template_clicked_rejected_confirmation',\n          object: `carousel_screen_template_${type}`,\n          owner: 'team-mobile',\n          place: 'carousel_editor_screen',\n          metadata: { ruleset_id: this.ruleset.id },\n        });\n        return;\n      }\n    }\n    this.applyTemplate(type);\n  }\n\n  get actionTypes() {\n    if (this.args.screen.isLastScreen) {\n      return lastScreenOptions;\n    } else {\n      return actionTypes;\n    }\n  }\n\n  get permissionTypes() {\n    return permissionsLabelIconMap;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"carousel__thumbnail-controls p-2\\\">\\n  <div class=\\\"flex flex-row justify-center gap-3\\\" data-test-carousel-editor-thumbnail-controls>\\n    <div class=\\\"carousel__thumbnail-controls__control u__truncated-inline-block\\n      pl-2 pr-2\\n      {{unless @currentScreen \\\"o__selected\\\"}}\\\"\\n      {{on \\\"click\\\" @onBack}}\\n      data-test-carousel-editor-thumbnail-controls-back-button\\n    >\\n      All screens\\n    </div>\\n    {{#each @screens as |screen index|}}\\n      <div class=\\\"carousel__thumbnail-controls__control carousel__animation__thumbnail-control o__fixed-width {{if (eq this.currentScreenIndex index) \\\"o__selected\\\"}}\\\"\\n        {{on \\\"click\\\" (fn @setCurrentCarouselContent index) }}\\n        data-test-carousel-editor-thumbnail-controls-screen-switcher\\n       />\\n    {{/each}}\\n    <IcTooltip @isDisabled={{lt @screens.length 10}} @willHideOverlayOnClick={{false}} as |t|>\\n      <t.opener>\\n        <div class=\\\"carousel__thumbnail-controls__control\\n          carousel__animation__thumbnail-new-screen\\n          o__fixed-width\\n          {{if (gte @screens.length 10) \\\"u__disable-pointer-events\\\"}}\\\"\\n          {{on \\\"click\\\" @addScreen}}\\n          data-test-carousel-editor-thumbnail-controls-add-screen\\n        >\\n          <div class=\\\"u__center-item\\\">{{ic-interface-icon 'new' solo=true}}</div>\\n        </div>\\n      </t.opener>\\n      <t.content>\\n        You can add upto 10 screens.\\n      </t.content>\\n    </IcTooltip>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"carousel__thumbnail-controls p-2\\\">\\n  <div class=\\\"flex flex-row justify-center gap-3\\\" data-test-carousel-editor-thumbnail-controls>\\n    <div class=\\\"carousel__thumbnail-controls__control u__truncated-inline-block\\n      pl-2 pr-2\\n      {{unless @currentScreen \\\"o__selected\\\"}}\\\"\\n      {{on \\\"click\\\" @onBack}}\\n      data-test-carousel-editor-thumbnail-controls-back-button\\n    >\\n      All screens\\n    </div>\\n    {{#each @screens as |screen index|}}\\n      <div class=\\\"carousel__thumbnail-controls__control carousel__animation__thumbnail-control o__fixed-width {{if (eq this.currentScreenIndex index) \\\"o__selected\\\"}}\\\"\\n        {{on \\\"click\\\" (fn @setCurrentCarouselContent index) }}\\n        data-test-carousel-editor-thumbnail-controls-screen-switcher\\n       />\\n    {{/each}}\\n    <IcTooltip @isDisabled={{lt @screens.length 10}} @willHideOverlayOnClick={{false}} as |t|>\\n      <t.opener>\\n        <div class=\\\"carousel__thumbnail-controls__control\\n          carousel__animation__thumbnail-new-screen\\n          o__fixed-width\\n          {{if (gte @screens.length 10) \\\"u__disable-pointer-events\\\"}}\\\"\\n          {{on \\\"click\\\" @addScreen}}\\n          data-test-carousel-editor-thumbnail-controls-add-screen\\n        >\\n          <div class=\\\"u__center-item\\\">{{ic-interface-icon 'new' solo=true}}</div>\\n        </div>\\n      </t.opener>\\n      <t.content>\\n        You can add upto 10 screens.\\n      </t.content>\\n    </IcTooltip>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/carousel/thumbnail-controls/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/thumbnail-controls/main.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class ThumbnailControls extends Component {\n  get currentScreenIndex() {\n    if (this.args.currentScreen) {\n      return this.args.currentScreen.order;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"carousel__timeline__screens__sortable-item\\\">\\n  <div class=\\\"carousel__timeline__screens__scaled-container u__mt__50 u__ml__10 {{if @isDisabled \\\"carousel__editor__add-new-screen-disabled\\\"}}\\\">\\n    <div class=\\\"carousel__animation__add-new-screen carousel__editor__add-new-screen {{if @isDisabled \\\"carousel__editor__add-new-screen-disabled\\\"}}\\\" data-test-carousel-add-screen  {{on \\\"click\\\" @addScreen}}>\\n      <div class=\\\"carousel__editor__add-new-screen__helper-text\\\">\\n        {{#if @isDisabled}}\\n          <Paragraph @styling='small'>You can add up to 10 screens</Paragraph>\\n        {{else}}\\n          <Paragraph @styling='small'>Add new screen</Paragraph>\\n        {{/if}}\\n      </div>\\n      {{inline-svg 'carousels/new'}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"carousel__timeline__screens__sortable-item\\\">\\n  <div class=\\\"carousel__timeline__screens__scaled-container u__mt__50 u__ml__10 {{if @isDisabled \\\"carousel__editor__add-new-screen-disabled\\\"}}\\\">\\n    <div class=\\\"carousel__animation__add-new-screen carousel__editor__add-new-screen {{if @isDisabled \\\"carousel__editor__add-new-screen-disabled\\\"}}\\\" data-test-carousel-add-screen  {{on \\\"click\\\" @addScreen}}>\\n      <div class=\\\"carousel__editor__add-new-screen__helper-text\\\">\\n        {{#if @isDisabled}}\\n          <Paragraph @styling='small'>You can add up to 10 screens</Paragraph>\\n        {{else}}\\n          <Paragraph @styling='small'>Add new screen</Paragraph>\\n        {{/if}}\\n      </div>\\n      {{inline-svg 'carousels/new'}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/carousel/timeline/add-screen.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/timeline/add-screen.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<SortableGroup\\n  @direction=\\\"x\\\"\\n  @groupModel={{@localizedCarouselContent}}\\n  @class=\\\"carousel__timeline__screens {{if @isEditMode \\\"carousel__timeline__screens__edit\\\"}}\\\"\\n  data-test-carousel-editor-screen-previews\\n  @onChange={{@onReorderScreens}} as |group|\\n>\\n  {{#each @screens as |screen index|}}\\n    <group.item\\n      data-test-tour-steps-sortable-item={{index}}\\n      @model={{screen}}\\n      @group={{group}}\\n      @tagName=\\\"div\\\"\\n      class=\\\"carousel__timeline__screens__sortable-item {{if (not @isEditMode) \\\"o__view-mode\\\" \\\"o__edit-mode\\\"}} carousel__animation__screen\\\"\\n      @handle=\\\".carousel__timeline__screens__screen__reorder\\\"\\n    >\\n      <div class={{if (and @isEditMode (gt @screens.length 1)) \\\"carousel__timeline__screens__actions\\\" \\\"carousel__timeline__screens__actions-disabled\\\"}}>\\n        <div class=\\\"carousel__timeline__screens__screen__reorder\\\"\\n          data-test-carousel-editor-screen-preview-reorder\\n        >\\n          {{ic-interface-icon \\\"drag\\\"}}\\n        </div>\\n        <div class=\\\"carousel__timeline__screens__screen__delete\\\"\\n          data-test-carousel-editor-screen-preview-delete\\n          {{on \\\"click\\\" (perform @onScreenDelete index) }}\\n        >\\n          {{ic-interface-icon \\\"trash\\\"}}\\n        </div>\\n      </div>\\n      <div class=\\\"carousel__timeline__screens__scaled-container {{if @isEditMode \\\"u__mt__50\\\"}}\\\" {{on \\\"click\\\" (fn @setCurrentCarouselContent index) }} data-test-carousel-editor-screen-preview>\\n        <Carousel::ScreenView::Main @carousel={{@carousel}} @currentDevice={{@currentDevice}} @screen={{screen}} @isEditing={{false}} />\\n      </div>\\n\\n      {{#if (not @hideStats)}}\\n        {{#if this.shouldRenderScreenStats }}\\n          <div data-test-carousel-screen-stats>\\n            <Carousel::Timeline::ScreenStats\\n              @carouselUpdatedAt={{@carousel.updatedAt}}\\n              @screenId={{screen.id}}\\n              @requestsPermission={{screen.requestsPermission}}\\n              @isFirst={{eq screen @screens.firstObject}}\\n              @isLast={{eq screen @screens.lastObject}}\\n              @stats={{this.screenViewStats}}\\n            />\\n          </div>\\n        {{/if}}\\n      {{/if}}\\n    </group.item>\\n  {{/each}}\\n\\n  {{#if @isEditMode}}\\n    <Carousel::Timeline::AddScreen @addScreen={{@addScreen}} @isDisabled={{eq @localizedCarouselContent.carouselScreens.length 10}} />\\n    <div class='carousel__timeline__screens__shadow-container'>\\n      {{#each @screens as |_ index|}}\\n        {{#if (lt index (add @screens.length -1)) }}\\n          <div class='carousel__timeline__screens__screen-shadow-container mb-2' />\\n        {{/if}}\\n      {{/each}}\\n    </div>\\n  {{/if}}\\n</SortableGroup>\\n\\n{{#if (not @hideStats) }}\\n  {{#if this.shouldRenderVersionPrompt }}\\n    <div data-test-carousel-versions-prompt class='mb-10 w-full'>\\n      <Text @styling=\\\"muted\\\">Select a <a {{on \\\"click\\\" this.contentEditorService.showVersionSidebar}}>version</a> to see stats per screen.</Text>\\n    </div>\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"<SortableGroup\\n  @direction=\\\"x\\\"\\n  @groupModel={{@localizedCarouselContent}}\\n  @class=\\\"carousel__timeline__screens {{if @isEditMode \\\"carousel__timeline__screens__edit\\\"}}\\\"\\n  data-test-carousel-editor-screen-previews\\n  @onChange={{@onReorderScreens}} as |group|\\n>\\n  {{#each @screens as |screen index|}}\\n    <group.item\\n      data-test-tour-steps-sortable-item={{index}}\\n      @model={{screen}}\\n      @group={{group}}\\n      @tagName=\\\"div\\\"\\n      class=\\\"carousel__timeline__screens__sortable-item {{if (not @isEditMode) \\\"o__view-mode\\\" \\\"o__edit-mode\\\"}} carousel__animation__screen\\\"\\n      @handle=\\\".carousel__timeline__screens__screen__reorder\\\"\\n    >\\n      <div class={{if (and @isEditMode (gt @screens.length 1)) \\\"carousel__timeline__screens__actions\\\" \\\"carousel__timeline__screens__actions-disabled\\\"}}>\\n        <div class=\\\"carousel__timeline__screens__screen__reorder\\\"\\n          data-test-carousel-editor-screen-preview-reorder\\n        >\\n          {{ic-interface-icon \\\"drag\\\"}}\\n        </div>\\n        <div class=\\\"carousel__timeline__screens__screen__delete\\\"\\n          data-test-carousel-editor-screen-preview-delete\\n          {{on \\\"click\\\" (perform @onScreenDelete index) }}\\n        >\\n          {{ic-interface-icon \\\"trash\\\"}}\\n        </div>\\n      </div>\\n      <div class=\\\"carousel__timeline__screens__scaled-container {{if @isEditMode \\\"u__mt__50\\\"}}\\\" {{on \\\"click\\\" (fn @setCurrentCarouselContent index) }} data-test-carousel-editor-screen-preview>\\n        <Carousel::ScreenView::Main @carousel={{@carousel}} @currentDevice={{@currentDevice}} @screen={{screen}} @isEditing={{false}} />\\n      </div>\\n\\n      {{#if (not @hideStats)}}\\n        {{#if this.shouldRenderScreenStats }}\\n          <div data-test-carousel-screen-stats>\\n            <Carousel::Timeline::ScreenStats\\n              @carouselUpdatedAt={{@carousel.updatedAt}}\\n              @screenId={{screen.id}}\\n              @requestsPermission={{screen.requestsPermission}}\\n              @isFirst={{eq screen @screens.firstObject}}\\n              @isLast={{eq screen @screens.lastObject}}\\n              @stats={{this.screenViewStats}}\\n            />\\n          </div>\\n        {{/if}}\\n      {{/if}}\\n    </group.item>\\n  {{/each}}\\n\\n  {{#if @isEditMode}}\\n    <Carousel::Timeline::AddScreen @addScreen={{@addScreen}} @isDisabled={{eq @localizedCarouselContent.carouselScreens.length 10}} />\\n    <div class='carousel__timeline__screens__shadow-container'>\\n      {{#each @screens as |_ index|}}\\n        {{#if (lt index (add @screens.length -1)) }}\\n          <div class='carousel__timeline__screens__screen-shadow-container mb-2' />\\n        {{/if}}\\n      {{/each}}\\n    </div>\\n  {{/if}}\\n</SortableGroup>\\n\\n{{#if (not @hideStats) }}\\n  {{#if this.shouldRenderVersionPrompt }}\\n    <div data-test-carousel-versions-prompt class='mb-10 w-full'>\\n      <Text @styling=\\\"muted\\\">Select a <a {{on \\\"click\\\" this.contentEditorService.showVersionSidebar}}>version</a> to see stats per screen.</Text>\\n    </div>\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/carousel/timeline/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/timeline/main.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport Range from 'embercom/models/reporting/range';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport { extractUnversionedId } from 'embercom/helpers/content-versioning';\n\nconst CAROUSEL_SCREEN_VIEWS_SIGNAL_CONFIG = {\n  name: 'default_query',\n  debug_name: 'carousel_screen_views',\n  document_type: 'events',\n  range_field: 'event.created_at',\n  aggregation_type: 'value_count',\n  aggregation_field: 'stat_screen_view.id',\n};\n\nconst CAROUSEL_BUTTON_TAP_SIGNAL_CONFIG = {\n  name: 'default_query',\n  debug_name: 'carousel_button_action_tapped',\n  document_type: 'events',\n  range_field: 'event.created_at',\n  aggregation_type: 'value_count',\n  aggregation_field: 'stat_button_tap.id',\n};\n\nconst CAROUSEL_PERMISSION_GRANT_SIGNAL_CONFIG = {\n  name: 'default_query',\n  debug_name: 'carousel_permission_granted',\n  document_type: 'events',\n  range_field: 'event.created_at',\n  aggregation_type: 'value_count',\n  aggregation_field: 'stat_permission_grant.id',\n};\n\nexport default class Main extends Component {\n  @service appService;\n  @service reportingService;\n  @service contentEditorService;\n  @tracked screenViewStats = {};\n\n  constructor() {\n    super(...arguments);\n\n    if (!this.appService.app.canUseCarouselStats) {\n      return;\n    }\n    this.updateScreenViewStats.perform();\n  }\n\n  @task\n  *updateScreenViewStats() {\n    let stats = yield this.fetchReportingServiceStats.perform();\n    this.buildScreenViewStats(stats);\n  }\n\n  @task\n  *fetchReportingServiceStats() {\n    let selectedVersion = this.contentEditorService.selectedVersion;\n    let filters;\n    let rangeStart;\n    if (selectedVersion) {\n      let carouselId = extractUnversionedId(this.args.carousel.id);\n      filters = { 'carousel.id': carouselId, 'ruleset_version.id': selectedVersion.id };\n      rangeStart = new Date(selectedVersion.createdAt);\n    } else {\n      filters = { 'carousel.id': this.args.carousel.id };\n      rangeStart = new Date(this.args.carousel.updatedAt);\n    }\n    let range = Range.createFromParams(rangeStart, null, null);\n    let aggregations = [{ grouping: 'carousel_screen.id', interval: 1 }];\n    let viewData = yield this.reportingService.fetchNumericSignal(\n      CAROUSEL_SCREEN_VIEWS_SIGNAL_CONFIG,\n      'views',\n      range,\n      aggregations,\n      filters,\n    );\n    let buttonData = yield this.reportingService.fetchNumericSignal(\n      CAROUSEL_BUTTON_TAP_SIGNAL_CONFIG,\n      'views',\n      range,\n      aggregations,\n      filters,\n    );\n    let permissionData = yield this.reportingService.fetchNumericSignal(\n      CAROUSEL_PERMISSION_GRANT_SIGNAL_CONFIG,\n      'views',\n      range,\n      aggregations,\n      filters,\n    );\n    let stats = {};\n    viewData.context.forEach(({ key, value }) => {\n      stats[key] = { viewCount: value };\n    });\n    buttonData.context.forEach(({ key, value }) => {\n      stats[key] = Object.assign({ buttonCount: value }, stats[key] || {});\n    });\n    permissionData.context.forEach(({ key, value }) => {\n      stats[key] = Object.assign({ permissionCount: value }, stats[key] || {});\n    });\n    return stats;\n  }\n\n  buildScreenViewStats(reportingServiceStats) {\n    let screenViewStats = {};\n    let firstScreenId = this.getScreenId(this.args.screens.firstObject);\n    let firstScreen = reportingServiceStats[firstScreenId];\n    let firstCount = firstScreen ? firstScreen.viewCount : undefined;\n    this.args.screens.forEach(screen => {\n      let screenId = this.getScreenId(screen);\n      let { viewCount, buttonCount, permissionCount } = reportingServiceStats[screenId] || {\n        viewCount: 0,\n        buttonCount: 0,\n        permissionCount: 0,\n      };\n      let percentage = firstCount ? (100 * viewCount) / firstCount : undefined;\n      let buttonPercentage = firstCount ? (100 * buttonCount) / firstCount : undefined;\n      let permissionPercentage = firstCount ? (100 * permissionCount) / firstCount : undefined;\n      screenViewStats[screenId] = {\n        viewCount,\n        buttonCount,\n        permissionCount,\n        percentage,\n        buttonPercentage,\n        permissionPercentage,\n      };\n    });\n    this.screenViewStats = screenViewStats;\n  }\n\n  getScreenId(screen) {\n    if (this.contentEditorService.selectedVersion) {\n      return extractUnversionedId(screen.id);\n    }\n    return screen.id;\n  }\n\n  get shouldRenderScreenStats() {\n    if (\n      this.appService.app.hasVersioningBillingFeature &&\n      this.contentEditorService.selectedVersion\n    ) {\n      return true;\n    }\n    if (!this.appService.app.hasVersioningBillingFeature) {\n      return true;\n    }\n    return false;\n  }\n\n  get shouldRenderVersionPrompt() {\n    return (\n      this.appService.app.hasVersioningBillingFeature && !this.contentEditorService.selectedVersion\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"t__light-text u__padt__5 u__padr__5 carousel__timeline__stats__container\\\"\\n  data-test-carousel-screen-views\\n>\\n  <IcTooltip data-test-carousel-screen-views-tooltip-opener as |t|>\\n    <t.opener>\\n      {{numeric-formatter-helper this.stats.viewCount}} {{pluralize this.stats.viewCount \\\"view\\\" without-count=true}}\\n      {{#if (not @isFirst)}}\\n        ({{format-percentage this.stats.percentage}})\\n      {{/if}}\\n\\n      {{#if @requestsPermission }}\\n        <div>\\n          {{numeric-formatter-helper this.stats.permissionCount}}\\n          granted access\\n        </div>\\n      {{else if @isLast}}\\n        <div>\\n          {{numeric-formatter-helper this.stats.buttonCount}} {{pluralize this.stats.buttonCount \\\"button tap\\\" without-count=true}}\\n        </div>\\n      {{/if}}\\n\\n      {{#if (and @isFirst (not this.contentEditorService.selectedVersion)) }}\\n        <div>since last update</div>\\n      {{/if}}\\n    </t.opener>\\n    <t.content data-test-carousel-screen-views-tooltip>\\n      {{numeric-formatter-helper this.stats.viewCount}} {{pluralize this.stats.viewCount \\\"person\\\" without-count=true}}\\n      {{#unless @isFirst}}\\n        ({{format-percentage this.stats.percentage}} of total)\\n      {{/unless}}\\n      viewed this screen\\n      {{#if @requestsPermission }}\\n        <div>\\n          {{numeric-formatter-helper this.stats.permissionCount}}\\n          {{pluralize this.stats.permissionCount \\\"person\\\" without-count=true}}\\n          ({{format-percentage this.stats.permissionPercentage}} of total)\\n          granted access\\n        </div>\\n      {{else if @isLast}}\\n        <div>\\n          {{numeric-formatter-helper this.stats.buttonCount}}\\n          {{pluralize this.stats.buttonCount \\\"person\\\" without-count=true}}\\n          ({{format-percentage this.stats.buttonPercentage}} of total)\\n          tapped the button\\n        </div>\\n      {{/if}}\\n      {{#unless this.contentEditorService.selectedVersion}}\\n        <div>\\n          since last update\\n          {{full-relative-time-ago-helper @carouselUpdatedAt}}\\n        </div>\\n      {{/unless}}\\n    </t.content>\\n  </IcTooltip>\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"t__light-text u__padt__5 u__padr__5 carousel__timeline__stats__container\\\"\\n  data-test-carousel-screen-views\\n>\\n  <IcTooltip data-test-carousel-screen-views-tooltip-opener as |t|>\\n    <t.opener>\\n      {{numeric-formatter-helper this.stats.viewCount}} {{pluralize this.stats.viewCount \\\"view\\\" without-count=true}}\\n      {{#if (not @isFirst)}}\\n        ({{format-percentage this.stats.percentage}})\\n      {{/if}}\\n\\n      {{#if @requestsPermission }}\\n        <div>\\n          {{numeric-formatter-helper this.stats.permissionCount}}\\n          granted access\\n        </div>\\n      {{else if @isLast}}\\n        <div>\\n          {{numeric-formatter-helper this.stats.buttonCount}} {{pluralize this.stats.buttonCount \\\"button tap\\\" without-count=true}}\\n        </div>\\n      {{/if}}\\n\\n      {{#if (and @isFirst (not this.contentEditorService.selectedVersion)) }}\\n        <div>since last update</div>\\n      {{/if}}\\n    </t.opener>\\n    <t.content data-test-carousel-screen-views-tooltip>\\n      {{numeric-formatter-helper this.stats.viewCount}} {{pluralize this.stats.viewCount \\\"person\\\" without-count=true}}\\n      {{#unless @isFirst}}\\n        ({{format-percentage this.stats.percentage}} of total)\\n      {{/unless}}\\n      viewed this screen\\n      {{#if @requestsPermission }}\\n        <div>\\n          {{numeric-formatter-helper this.stats.permissionCount}}\\n          {{pluralize this.stats.permissionCount \\\"person\\\" without-count=true}}\\n          ({{format-percentage this.stats.permissionPercentage}} of total)\\n          granted access\\n        </div>\\n      {{else if @isLast}}\\n        <div>\\n          {{numeric-formatter-helper this.stats.buttonCount}}\\n          {{pluralize this.stats.buttonCount \\\"person\\\" without-count=true}}\\n          ({{format-percentage this.stats.buttonPercentage}} of total)\\n          tapped the button\\n        </div>\\n      {{/if}}\\n      {{#unless this.contentEditorService.selectedVersion}}\\n        <div>\\n          since last update\\n          {{full-relative-time-ago-helper @carouselUpdatedAt}}\\n        </div>\\n      {{/unless}}\\n    </t.content>\\n  </IcTooltip>\\n</div>\\n\",\"moduleName\":\"embercom/components/carousel/timeline/screen-stats.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/carousel/timeline/screen-stats.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { extractUnversionedId } from 'embercom/helpers/content-versioning';\n\nexport default class ScreenStats extends Component {\n  @service contentEditorService;\n\n  getUnversionedScreenId(screenId) {\n    if (this.contentEditorService.selectedVersion) {\n      return extractUnversionedId(screenId);\n    }\n    return screenId;\n  }\n\n  get stats() {\n    let id = this.getUnversionedScreenId(this.args.screenId);\n    return this.args.stats[id];\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<td class='cda__onboarding__cda-list__cell o__display o__name'>\\n  {{name}}\\n</td>\\n<td class='cda__onboarding__cda-list__cell o__display o__description'>\\n  {{description}}\\n</td>\\n<td class='cda__onboarding__cda-list__cell o__display o__type'>\\n  {{type}}\\n</td>\\n<td class='cda__onboarding__cda-list__cell o__display o__add'>\\n  {{#if added}}\\n    {{ic-interface-icon 'rounded-check'}} Added &nbsp;<a class='cda__onboarding__view-sample' {{action 'viewAttributes'}}>view</a>\\n  {{else}}\\n    <a class='cda__onboarding__add-sample' {{action 'addSample'}}>\\n      + Add to my list\\n    </a>\\n  {{/if}}\\n</td>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<td class='cda__onboarding__cda-list__cell o__display o__name'>\\n  {{name}}\\n</td>\\n<td class='cda__onboarding__cda-list__cell o__display o__description'>\\n  {{description}}\\n</td>\\n<td class='cda__onboarding__cda-list__cell o__display o__type'>\\n  {{type}}\\n</td>\\n<td class='cda__onboarding__cda-list__cell o__display o__add'>\\n  {{#if added}}\\n    {{ic-interface-icon 'rounded-check'}} Added &nbsp;<a class='cda__onboarding__view-sample' {{action 'viewAttributes'}}>view</a>\\n  {{else}}\\n    <a class='cda__onboarding__add-sample' {{action 'addSample'}}>\\n      + Add to my list\\n    </a>\\n  {{/if}}\\n</td>\\n\",\"moduleName\":\"embercom/components/cda-onboarding-display-row-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/cda-onboarding-display-row-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  intercomEventService: service(),\n  tagName: 'tr',\n\n  actions: {\n    addSample() {\n      this.set('added', true);\n      this.cdaList.unshiftObject({\n        name: this.name,\n        description: this.description,\n        type: this.type,\n      });\n\n      this.intercomEventService.trackEvent('sample-cda-added', {\n        action: 'added',\n        object: this.name,\n        place: 'cda_tool',\n        owner: 'growth',\n      });\n    },\n\n    viewAttributes() {\n      this.set('selectedTab', 'cda');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"cda__onboarding__cda-list__header text-gray\\\">\\n  Not sure what data to track? Do a walkthrough of your product to identify\\n  key features and elements — or check out our sample attributes for inspiration.\\n  Remember, names are case-sensitive!\\n</div>\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table class=\\\"tbl o__fit\\\">\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <thead>\\n    <tr>\\n      <th class=\\\"cda__onboarding__cda-list__header__cell t__label\\\">\\n        Name\\n        <IcTooltipIcon @content=\\\"This is how the attribute will appear in Intercom.\\\" />\\n      </th>\\n      <th class=\\\"cda__onboarding__cda-list__header__cell t__label\\\">\\n        Description\\n        <span class=\\\"t__lowercase\\\">\\n          (optional)\\n        </span>\\n        <IcTooltipIcon @content=\\\"Add a text description to explain what this attribute means. This will show in a tooltip everywhere it appears in Intercom.\\\" />\\n      </th>\\n      <th class=\\\"cda__onboarding__cda-list__header__cell t__label\\\">\\n        Type\\n        <IcTooltipIcon @content=\\\"You can define each custom attribute as a string, number, boolean, or date.\\\" />\\n      </th>\\n    </tr>\\n  </thead>\\n  <tbody class=\\\"tbl__body\\\">\\n    {{#each cdaList as |cda index|}}\\n      <CdaOnboardingInputRowComponent\\n        @name={{cda.name}}\\n        @description={{cda.description}}\\n        @type={{cda.type}}\\n        @showPlaceholderText={{eq index 0}}\\n        @erroredCdas={{erroredCdas}}\\n      />\\n    {{/each}}\\n  </tbody>\\n</table>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"cda__onboarding__cda-list__header text-gray\\\">\\n  Not sure what data to track? Do a walkthrough of your product to identify\\n  key features and elements — or check out our sample attributes for inspiration.\\n  Remember, names are case-sensitive!\\n</div>\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table class=\\\"tbl o__fit\\\">\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <thead>\\n    <tr>\\n      <th class=\\\"cda__onboarding__cda-list__header__cell t__label\\\">\\n        Name\\n        <IcTooltipIcon @content=\\\"This is how the attribute will appear in Intercom.\\\" />\\n      </th>\\n      <th class=\\\"cda__onboarding__cda-list__header__cell t__label\\\">\\n        Description\\n        <span class=\\\"t__lowercase\\\">\\n          (optional)\\n        </span>\\n        <IcTooltipIcon @content=\\\"Add a text description to explain what this attribute means. This will show in a tooltip everywhere it appears in Intercom.\\\" />\\n      </th>\\n      <th class=\\\"cda__onboarding__cda-list__header__cell t__label\\\">\\n        Type\\n        <IcTooltipIcon @content=\\\"You can define each custom attribute as a string, number, boolean, or date.\\\" />\\n      </th>\\n    </tr>\\n  </thead>\\n  <tbody class=\\\"tbl__body\\\">\\n    {{#each cdaList as |cda index|}}\\n      <CdaOnboardingInputRowComponent\\n        @name={{cda.name}}\\n        @description={{cda.description}}\\n        @type={{cda.type}}\\n        @showPlaceholderText={{eq index 0}}\\n        @erroredCdas={{erroredCdas}}\\n      />\\n    {{/each}}\\n  </tbody>\\n</table>\\n\",\"moduleName\":\"embercom/components/cda-onboarding-input-list-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/cda-onboarding-input-list-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  cdaList: [],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<td class=\\\"cda__onboarding__cda-list__cell o__name\\\">\\n  <Input\\n    @type=\\\"text\\\"\\n    class=\\\"f__text {{if hasError 'o__error'}}\\\"\\n    placeholder={{if showPlaceholderText namePlaceholder}}\\n    @value={{name}}\\n  />\\n</td>\\n<td class=\\\"cda__onboarding__cda-list__cell o__description\\\">\\n  <Input\\n    @type=\\\"text\\\"\\n    class=\\\"f__text\\\"\\n    placeholder={{if showPlaceholderText descriptionPlaceholder}}\\n    @value={{description}}\\n  />\\n</td>\\n<td class=\\\"cda__onboarding__cda-list__cell o__type\\\">\\n  <SelectComponent\\n    @options={{typeOptions}}\\n    @selectedValue={{type}}\\n    @fit={{true}}\\n  />\\n</td>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<td class=\\\"cda__onboarding__cda-list__cell o__name\\\">\\n  <Input\\n    @type=\\\"text\\\"\\n    class=\\\"f__text {{if hasError 'o__error'}}\\\"\\n    placeholder={{if showPlaceholderText namePlaceholder}}\\n    @value={{name}}\\n  />\\n</td>\\n<td class=\\\"cda__onboarding__cda-list__cell o__description\\\">\\n  <Input\\n    @type=\\\"text\\\"\\n    class=\\\"f__text\\\"\\n    placeholder={{if showPlaceholderText descriptionPlaceholder}}\\n    @value={{description}}\\n  />\\n</td>\\n<td class=\\\"cda__onboarding__cda-list__cell o__type\\\">\\n  <SelectComponent\\n    @options={{typeOptions}}\\n    @selectedValue={{type}}\\n    @fit={{true}}\\n  />\\n</td>\\n\",\"moduleName\":\"embercom/components/cda-onboarding-input-row-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/cda-onboarding-input-row-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nexport default Component.extend({\n  hasError: computed('erroredCdas', 'erroredCdas.length', 'name', function() {\n    if (this.erroredCdas.length > 0) {\n      return this.erroredCdas.find(cda => {\n        return cda === this.name;\n      });\n    }\n  }),\n\n  tagName: 'tr',\n\n  name: '',\n  description: '',\n  type: '',\n  showPlaceholderText: false,\n\n  namePlaceholder: 'example: plan_type',\n  descriptionPlaceholder: 'name of the plan type the user is on',\n\n  typeOptions: [\n    { label: 'String', value: 'String' },\n    { label: 'Number', value: 'Number' },\n    { label: 'Boolean', value: 'Boolean' },\n    { label: 'Date', value: 'Date' },\n  ],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__scrolls\\\">\\n  <section class=\\\"container\\\">\\n    <div class=\\\"card\\\">\\n      <div class=\\\"card__inner\\\">\\n        <div class=\\\"text-gray\\\">\\n          Need help? Copy this link and send it to a developer or technical teammate\\n          so they can help you start sending your attributes.\\n        </div>\\n        <div class=\\\"h-2\\\"></div>\\n        <div\\n          class=\\\"cda__onboarding__invite-link__wrapper flex items-start\\\"\\n          onclick={{action \\\"highlightLink\\\"}}\\n        >\\n          <a class=\\\"flex-auto min-w-0 cda__onboarding__invite-link\\\">\\n            <Input\\n              @value={{inviteLink}}\\n              @classNames=\\\"cda__onboarding__invite-link__text-field\\\"\\n              @readonly={{true}}\\n            />\\n          </a>\\n          <div class=\\\"cda__onboarding__invite-link__copy-button\\\">\\n            <IcTooltip\\n              @placement=\\\"bottom\\\"\\n              @hideOnClick={{false}}\\n              @isDisabled={{hideManualCopyTooltip}}\\n              as |t|\\n            >\\n              <t.opener>\\n                <IcButton\\n                  @label=\\\"Copy\\\"\\n                  @type=\\\"primary\\\"\\n                  @onClick={{action \\\"recordEvent\\\"}}\\n                />\\n              </t.opener>\\n              <t.content>\\n                Press ⌘-C to copy\\n              </t.content>\\n            </IcTooltip>\\n          </div>\\n        </div>\\n        <div class=\\\"h-5\\\"></div>\\n        <div class=\\\"text-gray\\\">\\n          You’ll get an email within 24 hours of detecting the attribute in Intercom. Add or change attributes in App Settings.\\n        </div>\\n      </div>\\n    </div>\\n  </section>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__scrolls\\\">\\n  <section class=\\\"container\\\">\\n    <div class=\\\"card\\\">\\n      <div class=\\\"card__inner\\\">\\n        <div class=\\\"text-gray\\\">\\n          Need help? Copy this link and send it to a developer or technical teammate\\n          so they can help you start sending your attributes.\\n        </div>\\n        <div class=\\\"h-2\\\"></div>\\n        <div\\n          class=\\\"cda__onboarding__invite-link__wrapper flex items-start\\\"\\n          onclick={{action \\\"highlightLink\\\"}}\\n        >\\n          <a class=\\\"flex-auto min-w-0 cda__onboarding__invite-link\\\">\\n            <Input\\n              @value={{inviteLink}}\\n              @classNames=\\\"cda__onboarding__invite-link__text-field\\\"\\n              @readonly={{true}}\\n            />\\n          </a>\\n          <div class=\\\"cda__onboarding__invite-link__copy-button\\\">\\n            <IcTooltip\\n              @placement=\\\"bottom\\\"\\n              @hideOnClick={{false}}\\n              @isDisabled={{hideManualCopyTooltip}}\\n              as |t|\\n            >\\n              <t.opener>\\n                <IcButton\\n                  @label=\\\"Copy\\\"\\n                  @type=\\\"primary\\\"\\n                  @onClick={{action \\\"recordEvent\\\"}}\\n                />\\n              </t.opener>\\n              <t.content>\\n                Press ⌘-C to copy\\n              </t.content>\\n            </IcTooltip>\\n          </div>\\n        </div>\\n        <div class=\\\"h-5\\\"></div>\\n        <div class=\\\"text-gray\\\">\\n          You’ll get an email within 24 hours of detecting the attribute in Intercom. Add or change attributes in App Settings.\\n        </div>\\n      </div>\\n    </div>\\n  </section>\\n</div>\\n\",\"moduleName\":\"embercom/components/cda-onboarding-invite-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/cda-onboarding-invite-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport $ from 'jquery';\nimport { not } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport Clipboard from 'clipboard';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  inviteLink: null,\n  clipboard: null,\n  showManualCopyTooltip: false,\n  hideManualCopyTooltip: not('showManualCopyTooltip'),\n\n  didRender() {\n    this._super(...arguments);\n    let $link = $('.cda__onboarding__invite-link__text-field')[0];\n    let $copyToClipboardButton = $('.cda__onboarding__invite-link__copy-button');\n    $copyToClipboardButton.attr('data-clipboard-text', $link.value);\n\n    this.clipboard = new Clipboard('.cda__onboarding__invite-link__copy-button');\n\n    // For browsers that don't support the clipboard API ( < Safari 10 )\n    this.clipboard.on('error', () => {\n      $('.cda__onboarding__invite-link__text-field').select();\n      this.set('showManualCopyTooltip', true);\n    });\n  },\n\n  willDestroyElement() {\n    this.clipboard.destroy();\n    this._super(...arguments);\n  },\n\n  actions: {\n    highlightLink() {\n      $('.cda__onboarding__invite-link__text-field').select();\n    },\n\n    recordEvent() {\n      this.intercomEventService.trackEvent('invite-link-copied', {\n        action: 'copied',\n        object: 'invite_link_copy_button',\n        place: 'cda_tool',\n        owner: 'growth',\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"cda__onboarding__sample__selector tabs__discrete-tab__container u__cf u__centered-text-block\\\"\\n>\\n  {{#each cdas as |cda|}}\\n    <a\\n      class=\\\"cda__onboarding__sample__tab tabs__discrete-tab {{if (eq cda.key selectedCategory) \\\"o__selected\\\"}}\\\"\\n      onclick={{action \\\"setCda\\\" cda.key}}\\n    >\\n      {{cda.displayName}}\\n    </a>\\n  {{/each}}\\n</div>\\n<div class=\\\"h-2\\\"></div>\\n<div class=\\\"cda__onboarding__cda-list__header text-gray\\\">\\n  Add any of these attributes to your list, where you can edit and customize them.\\n</div>\\n<div class=\\\"cda__onboarding__sample-list\\\">\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <table class=\\\"cda__onboarding__sample-list__table tbl o__fit\\\">\\n    {{!-- template-lint-enable intercom/no-custom-table --}}\\n    <thead>\\n      <tr>\\n        <th class=\\\"cda__onboarding__sample-list__header__cell t__label\\\">\\n          Name\\n          <IcTooltipIcon @content=\\\"This is how the attribute will appear in Intercom.\\\" />\\n        </th>\\n        <th class=\\\"cda__onboarding__sample-list__header__cell t__label\\\">\\n          Description\\n          <IcTooltipIcon @content=\\\"Add a text description to explain what this attribute means. This will show in a tooltip everywhere it appears in Intercom\\\" />\\n        </th>\\n        <th class=\\\"cda__onboarding__sample-list__header__cell t__label\\\">\\n          Type\\n          <span class=\\\"t__lowercase\\\"></span>\\n          <IcTooltipIcon @content=\\\"You can define each custom attribute as a string, number, boolean, or date.\\\" />\\n        </th>\\n        <th class=\\\"cda__onboarding__sample-list__header__cell t__label\\\"></th>\\n      </tr>\\n    </thead>\\n    <tbody class=\\\"tbl__body\\\">\\n      {{#each cdaSampleList as |cda|}}\\n        <CdaOnboardingDisplayRowComponent\\n          @name={{cda.name}}\\n          @description={{cda.description}}\\n          @type={{cda.type}}\\n          @added={{cda.added}}\\n          @selectedTab={{selectedTab}}\\n          @cdaList={{cdaList}}\\n        />\\n      {{/each}}\\n    </tbody>\\n  </table>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"cda__onboarding__sample__selector tabs__discrete-tab__container u__cf u__centered-text-block\\\"\\n>\\n  {{#each cdas as |cda|}}\\n    <a\\n      class=\\\"cda__onboarding__sample__tab tabs__discrete-tab {{if (eq cda.key selectedCategory) \\\"o__selected\\\"}}\\\"\\n      onclick={{action \\\"setCda\\\" cda.key}}\\n    >\\n      {{cda.displayName}}\\n    </a>\\n  {{/each}}\\n</div>\\n<div class=\\\"h-2\\\"></div>\\n<div class=\\\"cda__onboarding__cda-list__header text-gray\\\">\\n  Add any of these attributes to your list, where you can edit and customize them.\\n</div>\\n<div class=\\\"cda__onboarding__sample-list\\\">\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <table class=\\\"cda__onboarding__sample-list__table tbl o__fit\\\">\\n    {{!-- template-lint-enable intercom/no-custom-table --}}\\n    <thead>\\n      <tr>\\n        <th class=\\\"cda__onboarding__sample-list__header__cell t__label\\\">\\n          Name\\n          <IcTooltipIcon @content=\\\"This is how the attribute will appear in Intercom.\\\" />\\n        </th>\\n        <th class=\\\"cda__onboarding__sample-list__header__cell t__label\\\">\\n          Description\\n          <IcTooltipIcon @content=\\\"Add a text description to explain what this attribute means. This will show in a tooltip everywhere it appears in Intercom\\\" />\\n        </th>\\n        <th class=\\\"cda__onboarding__sample-list__header__cell t__label\\\">\\n          Type\\n          <span class=\\\"t__lowercase\\\"></span>\\n          <IcTooltipIcon @content=\\\"You can define each custom attribute as a string, number, boolean, or date.\\\" />\\n        </th>\\n        <th class=\\\"cda__onboarding__sample-list__header__cell t__label\\\"></th>\\n      </tr>\\n    </thead>\\n    <tbody class=\\\"tbl__body\\\">\\n      {{#each cdaSampleList as |cda|}}\\n        <CdaOnboardingDisplayRowComponent\\n          @name={{cda.name}}\\n          @description={{cda.description}}\\n          @type={{cda.type}}\\n          @added={{cda.added}}\\n          @selectedTab={{selectedTab}}\\n          @cdaList={{cdaList}}\\n        />\\n      {{/each}}\\n    </tbody>\\n  </table>\\n</div>\\n\",\"moduleName\":\"embercom/components/cda-onboarding-sample-list-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/cda-onboarding-sample-list-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport CdaSamples from 'embercom/models/data/cda-samples';\n\nexport default Component.extend({\n  cdas: CdaSamples,\n  selectedCategory: 'b2b',\n\n  cdaSampleList: computed('cdas', 'selectedCategory', function() {\n    let cda = this.cdas.find(cda => {\n      return cda.key === this.selectedCategory;\n    });\n\n    return cda ? cda.samples : [];\n  }),\n\n  actions: {\n    setCda(sample) {\n      this.set('selectedCategory', sample);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasPermission}}\\n  {{#if canUseVisualEventsCreator}}\\n    <div\\n      data-test-add-new-user-data-button\\n      class=\\\"layout__box o__centers-horizontally test__add-new-user-data\\\"\\n    >\\n      <IcButton\\n        @label=\\\"Add new user data\\\"\\n        @type=\\\"secondary\\\"\\n        @fit={{true}}\\n        @onClick={{action \\\"openNewDataModal\\\"}}\\n      />\\n    </div>\\n  {{else}}\\n    <div\\n      data-test-add-new-user-attribute-button\\n      class=\\\"layout__box o__centers-horizontally test__add-new-user-custom-data-attribute\\\"\\n    >\\n      <IcButton\\n        @label=\\\"Add new user attribute\\\"\\n        @type=\\\"secondary\\\"\\n        @fit={{true}}\\n        @onClick={{toggleInContextCdaCreator}}\\n      />\\n    </div>\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasPermission}}\\n  {{#if canUseVisualEventsCreator}}\\n    <div\\n      data-test-add-new-user-data-button\\n      class=\\\"layout__box o__centers-horizontally test__add-new-user-data\\\"\\n    >\\n      <IcButton\\n        @label=\\\"Add new user data\\\"\\n        @type=\\\"secondary\\\"\\n        @fit={{true}}\\n        @onClick={{action \\\"openNewDataModal\\\"}}\\n      />\\n    </div>\\n  {{else}}\\n    <div\\n      data-test-add-new-user-attribute-button\\n      class=\\\"layout__box o__centers-horizontally test__add-new-user-custom-data-attribute\\\"\\n    >\\n      <IcButton\\n        @label=\\\"Add new user attribute\\\"\\n        @type=\\\"secondary\\\"\\n        @fit={{true}}\\n        @onClick={{toggleInContextCdaCreator}}\\n      />\\n    </div>\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/cda-onboarding/in-context-attribute-creator-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/cda-onboarding/in-context-attribute-creator-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  intercomEventService: service(),\n  appService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  permissionsService: service(),\n\n  hasPermission: computed('permissionsService', function() {\n    return this.permissionsService.currentAdminCan('can_access_product_settings');\n  }),\n  canUseVisualEventsCreator: readOnly('appService.app.canUseVisualEventsCreator'),\n\n  actions: {\n    openNewDataModal() {\n      this.modalService.openModal('apps/app/modals/create-new-data');\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'opened',\n        object: 'new_data_modal',\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"t__em-link t__solo-link__outer t__light-text u__right\\\"\\n  {{action \\\"openCDAToolWindow\\\"}}\\n>\\n  Add multiple attributes\\n</div>\\n<div class=\\\"h-5\\\"></div>\\n<div class=\\\"t__label\\\">\\n  Name\\n  <IcTooltipIcon @content=\\\"This is how the attribute will appear in Intercom.\\\" />\\n</div>\\n<Input\\n  @type=\\\"text\\\"\\n  class=\\\"f__text test__in-context-cda-creator-name {{if hasError \\\"o__error\\\"}}\\\"\\n  placeholder={{namePlaceholder}}\\n  @value={{cdaName}}\\n/>\\n<div class=\\\"t__label u__mt__5\\\">\\n  Description\\n  <IcTooltipIcon @content=\\\"Add a text description to explain what this attribute means. This will show in a tooltip everywhere it appears in Intercom.\\\" />\\n</div>\\n<Input\\n  @type=\\\"text\\\"\\n  class=\\\"f__text test__in-context-cda-creator-description\\\"\\n  placeholder={{descriptionPlaceholder}}\\n  @value={{cdaDescription}}\\n/>\\n<div class=\\\"t__label u__mt__5\\\">\\n  Type\\n  <IcTooltipIcon @content=\\\"You can define each custom attribute as a string, number, boolean, or date.\\\" />\\n</div>\\n<SelectComponent\\n  @options={{typeOptions}}\\n  @selectedValue={{cdaType}}\\n  @fit={{true}}\\n/>\\n<div class=\\\"layout__box o__has-columns u__mt__10  test__create-in-context-cda\\\">\\n  <IcButton\\n    @label=\\\"Cancel\\\"\\n    @type=\\\"secondary\\\"\\n    @fit={{true}}\\n    @onClick={{action \\\"finishCdaCreation\\\"}}\\n  />\\n  <div class=\\\"u__ml__5 u__mr__5\\\"></div>\\n  <IcButton\\n    @label={{if cdaAdded \\\"Done\\\" \\\"Next\\\"}}\\n    @type=\\\"primary\\\"\\n    @fit={{true}}\\n    @disabled={{disableNext}}\\n    @onClick={{perform createCda}}\\n  >\\n    {{#if createCda.isIdle}}\\n      {{if cdaAdded \\\"Done\\\" \\\"Next\\\"}}\\n    {{else if createCda.isRunning}}\\n      <IcLoadingIndicator @size=\\\"tiny\\\" />\\n    {{/if}}\\n  </IcButton>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"t__em-link t__solo-link__outer t__light-text u__right\\\"\\n  {{action \\\"openCDAToolWindow\\\"}}\\n>\\n  Add multiple attributes\\n</div>\\n<div class=\\\"h-5\\\"></div>\\n<div class=\\\"t__label\\\">\\n  Name\\n  <IcTooltipIcon @content=\\\"This is how the attribute will appear in Intercom.\\\" />\\n</div>\\n<Input\\n  @type=\\\"text\\\"\\n  class=\\\"f__text test__in-context-cda-creator-name {{if hasError \\\"o__error\\\"}}\\\"\\n  placeholder={{namePlaceholder}}\\n  @value={{cdaName}}\\n/>\\n<div class=\\\"t__label u__mt__5\\\">\\n  Description\\n  <IcTooltipIcon @content=\\\"Add a text description to explain what this attribute means. This will show in a tooltip everywhere it appears in Intercom.\\\" />\\n</div>\\n<Input\\n  @type=\\\"text\\\"\\n  class=\\\"f__text test__in-context-cda-creator-description\\\"\\n  placeholder={{descriptionPlaceholder}}\\n  @value={{cdaDescription}}\\n/>\\n<div class=\\\"t__label u__mt__5\\\">\\n  Type\\n  <IcTooltipIcon @content=\\\"You can define each custom attribute as a string, number, boolean, or date.\\\" />\\n</div>\\n<SelectComponent\\n  @options={{typeOptions}}\\n  @selectedValue={{cdaType}}\\n  @fit={{true}}\\n/>\\n<div class=\\\"layout__box o__has-columns u__mt__10  test__create-in-context-cda\\\">\\n  <IcButton\\n    @label=\\\"Cancel\\\"\\n    @type=\\\"secondary\\\"\\n    @fit={{true}}\\n    @onClick={{action \\\"finishCdaCreation\\\"}}\\n  />\\n  <div class=\\\"u__ml__5 u__mr__5\\\"></div>\\n  <IcButton\\n    @label={{if cdaAdded \\\"Done\\\" \\\"Next\\\"}}\\n    @type=\\\"primary\\\"\\n    @fit={{true}}\\n    @disabled={{disableNext}}\\n    @onClick={{perform createCda}}\\n  >\\n    {{#if createCda.isIdle}}\\n      {{if cdaAdded \\\"Done\\\" \\\"Next\\\"}}\\n    {{else if createCda.isRunning}}\\n      <IcLoadingIndicator @size=\\\"tiny\\\" />\\n    {{/if}}\\n  </IcButton>\\n</div>\\n\",\"moduleName\":\"embercom/components/cda-onboarding/in-context-attribute-creator-editor-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/cda-onboarding/in-context-attribute-creator-editor-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { computed } from '@ember/object';\nimport { empty, or, readOnly, alias } from '@ember/object/computed';\nimport { A } from '@ember/array';\nimport { inject as service } from '@ember/service';\nimport CdaOnboardingInputRowComponent from 'embercom/components/cda-onboarding-input-row-component';\nimport validation from 'embercom/lib/cda-onboarding/validation';\nimport ajax from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\nimport { openCDAToolMainWindow } from 'embercom/lib/cda-onboarding/cda-tool-opener';\n\nexport default CdaOnboardingInputRowComponent.extend({\n  store: service(),\n  intercomEventService: service(),\n  notificationsService: service(),\n  tagName: 'div',\n  classNames: ['card', 'u__mt__20', 'cda__onboarding__in-context-editor'],\n  attributeService: service(),\n\n  erroredCdas: A(),\n  cdaEmpty: empty('cda.name'),\n  disableNext: or('cdaAdded', 'cdaEmpty', 'createCda.isRunning'),\n\n  filterSearchTerm: '',\n  name: readOnly('cdaName'),\n  cdaName: alias('filterSearchTerm'),\n  cdaDescription: '',\n  cdaType: 'String',\n\n  openCDAToolWindow() {\n    openCDAToolMainWindow(this);\n  },\n\n  cda: computed('cdaName', 'cdaDescription', 'cdaType', function() {\n    return {\n      name: this.cdaName,\n      description: this.cdaDescription,\n      type: this.cdaType,\n    };\n  }),\n\n  cdaCreationSuccess(response) {\n    let data = response[0];\n    let identifier = `custom_data.${this.cdaName}`;\n    this.store.pushPayload({\n      attribute: {\n        archived: data.archived,\n        description: this.cdaDescription,\n        displayable: true,\n        filterable: true,\n        identifier,\n        name: data.name,\n        sortable: true,\n        templatable: true,\n        templatable_identifier: `custom_data.${this.cdaName}`,\n        tracked: false,\n        type: data.data_type.toLowerCase(),\n        usable_in_message_goal: false,\n      },\n    });\n    let attribute = this.store.peekRecord('attribute', identifier);\n\n    this.get('attributeService.attributes').pushObject(attribute);\n    this.set('attribute', attribute);\n    this.set('cdaAdded', true);\n    this.send('finishCdaCreation');\n  },\n\n  cdaCreationFailure(error) {\n    let response = error.jqXHR.responseJSON;\n    if (response && response.errors.type === 'duplicate') {\n      let erroredCdas = response.errors.cdas;\n\n      this.set('erroredCdas', erroredCdas);\n      this.notificationsService.notifyError(validation.getAlreadyExistsErrorMessage(erroredCdas));\n    } else {\n      this.notificationsService.notifyError(error.jqXHR.statusText);\n    }\n  },\n\n  createCda: task(function*() {\n    let invalidCdas = validation.getInvalidNames([this.cda]);\n    this.set('erroredCdas', invalidCdas);\n\n    if (invalidCdas.length > 0) {\n      this.notificationsService.notifyError(validation.getInvalidErrorMessage(invalidCdas));\n    } else {\n      yield ajax({\n        url: '/ember/untracked_custom_data_attributes',\n        type: 'POST',\n        data: JSON.stringify({\n          app_id: this.appId,\n          custom_data_attributes: [this.cda],\n        }),\n      })\n        .then(response => {\n          this.cdaCreationSuccess(response);\n        })\n        .catch(error => {\n          this.cdaCreationFailure(error);\n        });\n    }\n  }).drop(),\n\n  actions: {\n    finishCdaCreation() {\n      if (this.attribute) {\n        this.addAttribute(this.attribute);\n      }\n\n      this.intercomEventService.trackEvent('untracked-attribute-added', {\n        action: 'added',\n        object: [this.cdaName],\n        place: 'in_context_cda_creator',\n        owner: 'growth',\n      });\n\n      this.toggleInContextCdaCreator();\n    },\n\n    openCDAToolWindow() {\n      this.openCDAToolWindow();\n      this.toggleInContextCdaCreator();\n      this.intercomEventService.trackEvent('cda-tool-opened', {\n        action: 'opened',\n        object: 'cda_tool',\n        place: 'in_context_cda_creator',\n        owner: 'growth',\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if superHeading}}\\n  <p class=\\\"text-gray u__mb__5\\\">{{superHeading}}</p>\\n{{else if addSpacingAboveTitle}}\\n    <div class=\\\"h-5 u__mb__5\\\"></div>\\n{{/if}}\\n\\n<h2 class=\\\"t__h1 {{if (and higherPlan selected) 'text-blue'}} {{if subHeading 'u__mb__10' 'u__mb__15'}}\\\">\\n  {{#if showSelector}}\\n    <span class=\\\"u__display-inline-block u__m__5\\\"><input type=\\\"radio\\\" class=\\\"change-plan-modal__info__plan-selector\\\" checked={{selected}} onclick={{toggleAction}}></span>\\n  {{/if}}\\n  {{title}}\\n</h2>\\n\\n{{#if subHeading}}\\n  <p class=\\\"t__light-text u__mb__5\\\">{{subHeading}}</p>\\n{{else if addSpacingBelowTitle}}\\n  <div class=\\\"h-5\\\"></div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if superHeading}}\\n  <p class=\\\"text-gray u__mb__5\\\">{{superHeading}}</p>\\n{{else if addSpacingAboveTitle}}\\n    <div class=\\\"h-5 u__mb__5\\\"></div>\\n{{/if}}\\n\\n<h2 class=\\\"t__h1 {{if (and higherPlan selected) 'text-blue'}} {{if subHeading 'u__mb__10' 'u__mb__15'}}\\\">\\n  {{#if showSelector}}\\n    <span class=\\\"u__display-inline-block u__m__5\\\"><input type=\\\"radio\\\" class=\\\"change-plan-modal__info__plan-selector\\\" checked={{selected}} onclick={{toggleAction}}></span>\\n  {{/if}}\\n  {{title}}\\n</h2>\\n\\n{{#if subHeading}}\\n  <p class=\\\"t__light-text u__mb__5\\\">{{subHeading}}</p>\\n{{else if addSpacingBelowTitle}}\\n  <div class=\\\"h-5\\\"></div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/change-plan-modal/column-title-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/change-plan-modal/column-title-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nexport default Component.extend();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col gap-1\\\">\\n  <label class=\\\"change-plan-modal__cta__form-field__caption\\\">{{@label}}</label>\\n\\n  {{yield}}\\n\\n  {{#if @error}}\\n    <div\\n      class=\\\"signup__new__form__no-pad signup__new__form__caption-card o__error\\\"\\n      data-test-error={{@label}}\\n    >\\n      {{@error}}\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col gap-1\\\">\\n  <label class=\\\"change-plan-modal__cta__form-field__caption\\\">{{@label}}</label>\\n\\n  {{yield}}\\n\\n  {{#if @error}}\\n    <div\\n      class=\\\"signup__new__form__no-pad signup__new__form__caption-card o__error\\\"\\n      data-test-error={{@label}}\\n    >\\n      {{@error}}\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/change-plan-modal/form-field-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/change-plan-modal/form-field-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col change-plan-modal__info__pricing\\\">\\n  {{#each @sections as |section|}}\\n    <div class=\\\"flex flex-col gap-2 change-plan-modal__info__pricing-section\\\">\\n      <div class=\\\"flex flex-col pb-1\\\">\\n        <Text @styling=\\\"strong\\\">{{section.label}}</Text>\\n      </div>\\n      {{#each section.metrics as |metric|}}\\n        <div class=\\\"flex flex-row justify-between change-plan-modal__info__pricing-line\\\">\\n          <div class=\\\"flex flex-col change-plan-modal__info__pricing-text-box u__force-breaks\\\">\\n            <div class=\\\"change-plan-modal__info__pricing-text-box o__limit-size\\\">\\n              <Text @styling={{if metric.small \\\"small\\\"}}>{{metric.label}}</Text>\\n            </div>\\n          </div>\\n          <div class=\\\"flex flex-col change-plan-modal__info__pricing-text-box o__right\\\">\\n            <Text @styling={{if metric.small \\\"small\\\"}}>{{metric.value}}</Text>\\n          </div>\\n        </div>\\n      {{/each}}\\n    </div>\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col change-plan-modal__info__pricing\\\">\\n  {{#each @sections as |section|}}\\n    <div class=\\\"flex flex-col gap-2 change-plan-modal__info__pricing-section\\\">\\n      <div class=\\\"flex flex-col pb-1\\\">\\n        <Text @styling=\\\"strong\\\">{{section.label}}</Text>\\n      </div>\\n      {{#each section.metrics as |metric|}}\\n        <div class=\\\"flex flex-row justify-between change-plan-modal__info__pricing-line\\\">\\n          <div class=\\\"flex flex-col change-plan-modal__info__pricing-text-box u__force-breaks\\\">\\n            <div class=\\\"change-plan-modal__info__pricing-text-box o__limit-size\\\">\\n              <Text @styling={{if metric.small \\\"small\\\"}}>{{metric.label}}</Text>\\n            </div>\\n          </div>\\n          <div class=\\\"flex flex-col change-plan-modal__info__pricing-text-box o__right\\\">\\n            <Text @styling={{if metric.small \\\"small\\\"}}>{{metric.value}}</Text>\\n          </div>\\n        </div>\\n      {{/each}}\\n    </div>\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/change-plan-modal/price-breakdown-display.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/change-plan-modal/price-breakdown-display.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.shouldDisplayTooltip}}\\n  <IcTooltipIcon\\n    @isInteractive={{true}}\\n    class=\\\"change-plan-modal__breakdown-icon ml-1\\\"\\n  >\\n    <div class=\\\"flex flex-col p-2\\\">\\n      <ChangePlanModal::PriceBreakdownDisplay @sections={{this.sections}} />\\n    </div>\\n  </IcTooltipIcon>\\n{{/if}}\\n\\n\", {\"contents\":\"{{#if this.shouldDisplayTooltip}}\\n  <IcTooltipIcon\\n    @isInteractive={{true}}\\n    class=\\\"change-plan-modal__breakdown-icon ml-1\\\"\\n  >\\n    <div class=\\\"flex flex-col p-2\\\">\\n      <ChangePlanModal::PriceBreakdownDisplay @sections={{this.sections}} />\\n    </div>\\n  </IcTooltipIcon>\\n{{/if}}\\n\\n\",\"moduleName\":\"embercom/components/change-plan-modal/pricing-tooltip-core.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/change-plan-modal/pricing-tooltip-core.hbs\"}});\nimport Component from '@glimmer/component';\nimport numberFormatter from 'embercom/lib/number-formatter';\nimport numericFormatter from 'embercom/lib/numeric-formatter';\nimport PricingMetric from 'embercom/lib/purchase/pricing-metric';\n\nexport default class PricingCore extends Component {\n  product = this.args.product;\n\n  get shouldDisplayTooltip() {\n    return this.args.price && !this.args.hideBreakdown;\n  }\n\n  get sections() {\n    return [this.planSection];\n  }\n\n  get planSection() {\n    return {\n      label: this.args.label,\n      metrics: this.generateMetrics(this.args.price),\n    };\n  }\n\n  getDiscountInfo({\n    hasPercentOffCoupon,\n    hasFixedPriceCoupon,\n    couponPercentOff,\n    couponFixedAmountOff,\n    couponDiscountAmount,\n    appliedCoupon,\n  }) {\n    if (!appliedCoupon) {\n      return {};\n    }\n\n    let discountText = '';\n\n    if (hasPercentOffCoupon) {\n      discountText = `${couponPercentOff}% off`;\n    } else if (hasFixedPriceCoupon) {\n      discountText = `${this.formatPrice(couponFixedAmountOff)} off`;\n    }\n\n    return {\n      label: `Discount: ${discountText}`,\n      value: `-$${numericFormatter(couponDiscountAmount / 100, 2, true)}`,\n    };\n  }\n\n  generateMetrics(price) {\n    let { charges } = price.breakdown.firstObject;\n    let summaryRows = charges.flatMap(charge => new PricingMetric(charge).tooltipSummary);\n    let discountRow = this.getDiscountInfo(price);\n\n    return [\n      {\n        label: 'Plan starting price',\n        value: `$${numberFormatter(price.planStartingPrice / 100)}`,\n      },\n      ...summaryRows,\n      discountRow,\n      {\n        label: 'Total price per month',\n        value: `$${price.amountToTwoDecimals}`,\n      },\n    ];\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"change-plan-modal__header__icon\\\">\\n  {{inline-svg productImage class=\\\"u__center-item change-plan-modal__header__icon__icon\\\"}}\\n</div>\\n<div class=\\\"flex-auto min-w-0 change-plan-modal__header__content\\\">\\n  <div class=\\\"layout__box o__centers-vertically\\\">\\n    <h1 class=\\\"t__h1 u__mb__10\\\">{{productName}}</h1>\\n  </div>\\n  <p data-test-app-package-short-description>{{productDescription}}</p>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"change-plan-modal__header__icon\\\">\\n  {{inline-svg productImage class=\\\"u__center-item change-plan-modal__header__icon__icon\\\"}}\\n</div>\\n<div class=\\\"flex-auto min-w-0 change-plan-modal__header__content\\\">\\n  <div class=\\\"layout__box o__centers-vertically\\\">\\n    <h1 class=\\\"t__h1 u__mb__10\\\">{{productName}}</h1>\\n  </div>\\n  <p data-test-app-package-short-description>{{productDescription}}</p>\\n</div>\\n\",\"moduleName\":\"embercom/components/change-plan-modal/product-header-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/change-plan-modal/product-header-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { MODAL_UPGRADE_PLAN_INFO, MODAL_ADD_PLAN_INFO } from 'embercom/lib/billing';\nimport { findBy } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  classNames: ['flex', 'items-center'],\n  product: null,\n  selectingProduct: false,\n  activePlan: findBy('product.plans', 'active'),\n  productName: computed('product.name', 'product.upgrading', 'activePlan', function() {\n    let productName = this.get('product.name');\n    let suffix =\n      !this.get('product.hasEssentialPlan') &&\n      !this.get('product.hasOnePlan') &&\n      !this.selectingProduct\n        ? this.get('activePlan.name')\n        : '';\n    return this.get('product.upgrading')\n      ? `Upgrade to ${productName} ${suffix}`\n      : `Try ${productName} ${suffix}`;\n  }),\n\n  productDescription: computed('activePlan.id', function() {\n    return this.get('product.upgrading')\n      ? MODAL_UPGRADE_PLAN_INFO[this.get('activePlan.id')].description\n      : MODAL_ADD_PLAN_INFO[this.get('activePlan.id')].description;\n  }),\n\n  productImage: computed('product.id', function() {\n    return `products/id-${this.get('product.id')}-brand-refresh-product-card`;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"layout__box change-plan-modal__info__column\\\">\\n  <ChangePlanModal::ColumnTitleComponent\\n    @superHeading={{this.lowerPlanSuperHeading}}\\n    @title={{this.lowerPlanTitle}}\\n    @showSelector={{this.showSelector}}\\n    @toggleAction={{action \\\"togglePlan\\\" this.lowerPlan.id}}\\n    @selected={{this.lowerSelected}}\\n    @higherPlan={{this.higherPlan}}\\n    @addSpacingAboveTitle={{this.higherPlanSuperHeading}}\\n    @addSpacingBelowTitle={{this.higherPlanSubHeading}}\\n  />\\n  <ul class=\\\"change-plan-modal__info__feature-list\\\">\\n    {{#each this.lowerPlanFeatures as |feature|}}\\n      <li\\n        class=\\\"change-plan-modal__info__feature {{if this.lowerSelected \\\"o__selected\\\"}}\\\"\\n      >\\n        <span class=\\\"{{if (eq feature.key this.highlightedFeatureKey) \\\"change-plan-modal__info__feature-highlight\\\"}}\\\">\\n          {{if this.higherPlan feature.name feature.displayDescription}}\\n        </span>\\n      </li>\\n    {{/each}}\\n  </ul>\\n</div>\\n{{#if this.higherPlan}}\\n  <div class=\\\"layout__box change-plan-modal__info__column u__ml__30\\\">\\n    <ChangePlanModal::ColumnTitleComponent\\n      @superHeading={{this.higherPlanSuperHeading}}\\n      @title={{this.higherPlanTitle}}\\n      @subHeading={{this.higherPlanSubHeading}}\\n      @showSelector={{this.showSelector}}\\n      @toggleAction={{action \\\"togglePlan\\\" this.higherPlan.id}}\\n      @selected={{this.higherSelected}}\\n      @higherPlan={{this.higherPlan}}\\n      @addSpacingAboveTitle={{this.higherPlanSuperHeading}}\\n      @addSpacingBelowTitle={{this.higherPlanSubHeading}}\\n    />\\n    <ul class=\\\"change-plan-modal__info__feature-list\\\">\\n      {{#each this.higherPlanFeatures as |feature|}}\\n        <li\\n          class=\\\"change-plan-modal__info__feature {{if this.higherSelected \\\"o__selected\\\"}}\\\"\\n        >\\n          <span class=\\\"{{if (eq feature.key this.highlightedFeatureKey) \\\"change-plan-modal__info__feature-highlight\\\"}}\\\">\\n            {{feature.name}}\\n          </span>\\n        </li>\\n      {{/each}}\\n    </ul>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"layout__box change-plan-modal__info__column\\\">\\n  <ChangePlanModal::ColumnTitleComponent\\n    @superHeading={{this.lowerPlanSuperHeading}}\\n    @title={{this.lowerPlanTitle}}\\n    @showSelector={{this.showSelector}}\\n    @toggleAction={{action \\\"togglePlan\\\" this.lowerPlan.id}}\\n    @selected={{this.lowerSelected}}\\n    @higherPlan={{this.higherPlan}}\\n    @addSpacingAboveTitle={{this.higherPlanSuperHeading}}\\n    @addSpacingBelowTitle={{this.higherPlanSubHeading}}\\n  />\\n  <ul class=\\\"change-plan-modal__info__feature-list\\\">\\n    {{#each this.lowerPlanFeatures as |feature|}}\\n      <li\\n        class=\\\"change-plan-modal__info__feature {{if this.lowerSelected \\\"o__selected\\\"}}\\\"\\n      >\\n        <span class=\\\"{{if (eq feature.key this.highlightedFeatureKey) \\\"change-plan-modal__info__feature-highlight\\\"}}\\\">\\n          {{if this.higherPlan feature.name feature.displayDescription}}\\n        </span>\\n      </li>\\n    {{/each}}\\n  </ul>\\n</div>\\n{{#if this.higherPlan}}\\n  <div class=\\\"layout__box change-plan-modal__info__column u__ml__30\\\">\\n    <ChangePlanModal::ColumnTitleComponent\\n      @superHeading={{this.higherPlanSuperHeading}}\\n      @title={{this.higherPlanTitle}}\\n      @subHeading={{this.higherPlanSubHeading}}\\n      @showSelector={{this.showSelector}}\\n      @toggleAction={{action \\\"togglePlan\\\" this.higherPlan.id}}\\n      @selected={{this.higherSelected}}\\n      @higherPlan={{this.higherPlan}}\\n      @addSpacingAboveTitle={{this.higherPlanSuperHeading}}\\n      @addSpacingBelowTitle={{this.higherPlanSubHeading}}\\n    />\\n    <ul class=\\\"change-plan-modal__info__feature-list\\\">\\n      {{#each this.higherPlanFeatures as |feature|}}\\n        <li\\n          class=\\\"change-plan-modal__info__feature {{if this.higherSelected \\\"o__selected\\\"}}\\\"\\n        >\\n          <span class=\\\"{{if (eq feature.key this.highlightedFeatureKey) \\\"change-plan-modal__info__feature-highlight\\\"}}\\\">\\n            {{feature.name}}\\n          </span>\\n        </li>\\n      {{/each}}\\n    </ul>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/change-plan-modal/product-info-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/change-plan-modal/product-info-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { alias, uniqBy } from '@ember/object/computed';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  classNames: 'layout__box o__has-columns',\n  product: null,\n  activePlan: ternaryToProperty('lowerPlan.active', 'lowerPlan', 'higherPlan'),\n  higherPlan: null,\n  lowerPlan: null,\n  showSelector: false,\n  highlightedFeatureKey: null,\n\n  lowerPlanTitle: computed('product.adding', 'product.upgrading', function() {\n    if (this.higherPlan) {\n      return this.get('lowerPlan.name');\n    } else {\n      let suffix =\n        this.get('product.hasProPlan') && !this.get('product.hasOnePlan')\n          ? this.get('activePlan.name')\n          : '';\n      return `${this.get('product.name')} ${suffix}`;\n    }\n  }),\n\n  lowerPlanSuperHeading: computed('product.adding', function() {\n    if (this.showSelector) {\n      return '';\n    } else {\n      return this.get('product.adding') ? 'What you get' : 'Your current plan';\n    }\n  }),\n\n  lowerSelected: alias('lowerPlan.active'),\n  lowerPlanFeatures: uniqBy('lowerPlan.features', 'name'),\n\n  // eslint-disable-next-line ember/require-computed-macros\n  higherPlanTitle: computed('product.adding', 'product.upgrading', function() {\n    return this.get('higherPlan.name');\n  }),\n\n  higherPlanSuperHeading: computed('product.adding', function() {\n    if (this.showSelector) {\n      return this.get('higherPlan.tierId') === 2 ? '68% of customers' : null;\n    } else {\n      return this.get('product.upgrading') ? 'What you get' : 'Your current plan';\n    }\n  }),\n  higherPlanSubHeading: computed('product.adding', function() {\n    return this.get('product.upgrading') || this.showSelector\n      ? `All of ${this.get('lowerPlan.name')}, plus`\n      : null;\n  }),\n  higherSelected: alias('higherPlan.active'),\n  higherPlanFeatures: uniqBy('combinedFeatures', 'name'),\n\n  combinedFeatures: computed('middleFeatures', 'higherPlan', function() {\n    let features = this.get('higherPlan.features').toArray();\n\n    let middleFeatures = this.middleFeatures;\n\n    return [...features, ...middleFeatures];\n  }),\n  middleFeatures: computed('product.plans', function() {\n    let higherPlanTier = this.get('higherPlan.tierId');\n    let lowerPlanTier = this.get('lowerPlan.tierId');\n    let middlePlans = this.get('product.plans').filter(\n      plan => plan.get('tierId') > lowerPlanTier && plan.get('tierId') < higherPlanTier,\n    );\n    let features = [].concat(...middlePlans.map(plan => plan.get('features').toArray()));\n    return features;\n  }),\n\n  didInsertElement() {\n    this._super(...arguments);\n  },\n  actions: {\n    togglePlan(planId) {\n      if (this.get('activePlan.id') !== planId) {\n        this.get('product.plans').forEach(plan => plan.set('active', plan.get('id') === planId));\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"{{if this.isWeb \\\"chat__chrome__web-wrapper\\\"}}\\\" data-test-chat-chrome>\\n  <MessageEditor::Content::InApp::Styles @appColor={{this.appColor}} />\\n  <div id=\\\"embedded_messenger\\\">\\n    {{#if this.isWeb}}\\n      <div class=\\\"chat__chrome__browser-top\\\" data-test-chat-chrome-top></div>\\n    {{/if}}\\n    <div\\n      class=\\\"flex flex-col justify-end {{if this.isWeb 'items-end' 'items-center'}} chat__chrome__main-shell o__{{@deviceType}}\\\"\\n      data-test-chat-chrome-shell\\n    >\\n      <div class=\\\"flex flex-row items-end chat__chrome__expanding-content-container o__{{@deviceType}}\\\">\\n        {{#let @chat.localizedChatContents.firstObject as |content|}}\\n          <ContentEditor::Panels::Content::Chrome::Avatar @chatContent={{content}} class=\\\"intercom-chat-avatar chat__chrome__avatar-wrapper o__{{@deviceType}}\\\" />\\n          <div class=\\\"chat__chrome__chat-bubble o__{{@deviceType}}\\\" data-test-chat-chrome-chat-bubble>\\n            <div class=\\\"intercom-chat-card\\\">\\n              <div class=\\\"intercom-chat-author\\\">\\n                <ContentEditor::Panels::Content::Chrome::SenderSummary\\n                  @sender={{content.sender}}\\n                  @senderName={{content.senderName}}\\n                  @showLastActive={{false}}\\n                />\\n              </div>\\n              <div class=\\\"intercom-chat-body\\\">\\n                <div id=\\\"intercom-embed-container\\\" class=\\\"intercom-blocks intercom-embed-chat\\\">\\n                  {{yield}}\\n                </div>\\n              </div>\\n            </div>\\n            {{#if this.isWeb }}\\n              {{#if @chat.isTextReply}}\\n                <Chat::Chrome::TextReply @chatContent={{content}} />\\n              {{else if @chat.isEmailCollectorReply}}\\n                <Chat::Chrome::EmailCollectorReply />\\n              {{/if}}\\n            {{/if}}\\n          </div>\\n        {{/let}}\\n      </div>\\n      {{#if this.isWeb}}\\n        <ContentEditor::Panels::Content::Chrome::Bottom data-test-chat-chrome-bottom/>\\n      {{/if}}\\n    </div>\\n\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"{{if this.isWeb \\\"chat__chrome__web-wrapper\\\"}}\\\" data-test-chat-chrome>\\n  <MessageEditor::Content::InApp::Styles @appColor={{this.appColor}} />\\n  <div id=\\\"embedded_messenger\\\">\\n    {{#if this.isWeb}}\\n      <div class=\\\"chat__chrome__browser-top\\\" data-test-chat-chrome-top></div>\\n    {{/if}}\\n    <div\\n      class=\\\"flex flex-col justify-end {{if this.isWeb 'items-end' 'items-center'}} chat__chrome__main-shell o__{{@deviceType}}\\\"\\n      data-test-chat-chrome-shell\\n    >\\n      <div class=\\\"flex flex-row items-end chat__chrome__expanding-content-container o__{{@deviceType}}\\\">\\n        {{#let @chat.localizedChatContents.firstObject as |content|}}\\n          <ContentEditor::Panels::Content::Chrome::Avatar @chatContent={{content}} class=\\\"intercom-chat-avatar chat__chrome__avatar-wrapper o__{{@deviceType}}\\\" />\\n          <div class=\\\"chat__chrome__chat-bubble o__{{@deviceType}}\\\" data-test-chat-chrome-chat-bubble>\\n            <div class=\\\"intercom-chat-card\\\">\\n              <div class=\\\"intercom-chat-author\\\">\\n                <ContentEditor::Panels::Content::Chrome::SenderSummary\\n                  @sender={{content.sender}}\\n                  @senderName={{content.senderName}}\\n                  @showLastActive={{false}}\\n                />\\n              </div>\\n              <div class=\\\"intercom-chat-body\\\">\\n                <div id=\\\"intercom-embed-container\\\" class=\\\"intercom-blocks intercom-embed-chat\\\">\\n                  {{yield}}\\n                </div>\\n              </div>\\n            </div>\\n            {{#if this.isWeb }}\\n              {{#if @chat.isTextReply}}\\n                <Chat::Chrome::TextReply @chatContent={{content}} />\\n              {{else if @chat.isEmailCollectorReply}}\\n                <Chat::Chrome::EmailCollectorReply />\\n              {{/if}}\\n            {{/if}}\\n          </div>\\n        {{/let}}\\n      </div>\\n      {{#if this.isWeb}}\\n        <ContentEditor::Panels::Content::Chrome::Bottom data-test-chat-chrome-bottom/>\\n      {{/if}}\\n    </div>\\n\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/chat/chrome.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/chat/chrome.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class ChatChromeComponent extends Component {\n  @service appService;\n\n  get appColor() {\n    return this.appService.app.base_color;\n  }\n\n  get isWeb() {\n    return this.args.deviceType === 'web';\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"intercom-attribute-collector-card chat__chrome__email-collector\\\" data-test-chat-email-collector-reply>\\n  <div class=\\\"intercom-attribute-collector-card-body\\\">\\n    <div class=\\\"intercom-attribute-collector-card-attribute\\\">\\n      <div class=\\\"intercom-text-input\\\">\\n        <input type=\\\"text\\\" value=\\\"email@example.com\\\" disabled>\\n        <button class=\\\"intercom-text-input-submit-button\\\"/>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"intercom-attribute-collector-card chat__chrome__email-collector\\\" data-test-chat-email-collector-reply>\\n  <div class=\\\"intercom-attribute-collector-card-body\\\">\\n    <div class=\\\"intercom-attribute-collector-card-attribute\\\">\\n      <div class=\\\"intercom-text-input\\\">\\n        <input type=\\\"text\\\" value=\\\"email@example.com\\\" disabled>\\n        <button class=\\\"intercom-text-input-submit-button\\\"/>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/chat/chrome/email-collector-reply.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/chat/chrome/email-collector-reply.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"intercom-chat-composer chat__chrome__reply-composer__container\\\" data-test-chat-reply-composer>\\n  <span class=\\\"intercom-composer-placeholder\\\" data-test-chat-reply-sender-name>\\n    Reply to {{@chatContent.senderName}}...\\n  </span>\\n  <span class=\\\"chat__chrome__reply-composer__gif-button\\\"></span>\\n  <span class=\\\"intercom-composer-emoji-button\\\"></span>\\n  <span class=\\\"intercom-composer-upload-button\\\"></span>\\n</div>\\n\", {\"contents\":\"<div class=\\\"intercom-chat-composer chat__chrome__reply-composer__container\\\" data-test-chat-reply-composer>\\n  <span class=\\\"intercom-composer-placeholder\\\" data-test-chat-reply-sender-name>\\n    Reply to {{@chatContent.senderName}}...\\n  </span>\\n  <span class=\\\"chat__chrome__reply-composer__gif-button\\\"></span>\\n  <span class=\\\"intercom-composer-emoji-button\\\"></span>\\n  <span class=\\\"intercom-composer-upload-button\\\"></span>\\n</div>\\n\",\"moduleName\":\"embercom/components/chat/chrome/text-reply.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/chat/chrome/text-reply.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Chat::Chrome @chat={{@chat}} @deviceType={{@deviceType}}>\\n  <div id=\\\"intercom_composer\\\" {{did-update this.setupCurrentModel @chat}} data-test-chat-composer>\\n    <ComposerV2\\n      @app={{this.app}}\\n      @attributes={{this.attributeService.userEditorAttributes}}\\n      @preset={{@preset}}\\n      @isReadOnly={{not @isEditing}}\\n      @blocks={{@blocks}}\\n      @actionReceiver={{this.composer}}\\n      @onChange={{this.updateBlocks}}\\n      @editorClass=\\\"chat__editor__composer o__{{@deviceType}}\\\"\\n      @startedUploading={{this.contentEditorService.uploadImageStarted}}\\n      @finishedUploading={{this.contentEditorService.uploadImageFinished}}\\n      @viewportSelector=\\\".content-editor__main\\\"\\n      @inserters={{array\\n        (component\\n          \\\"composer-inserter\\\"\\n          data-test-composer-inserter=\\\"emoji\\\"\\n          data=(hash\\n            icon=\\\"lwr-happy\\\"\\n            title=\\\"Insert emoji\\\"\\n            configurator=(component \\\"message-editor/content/emoji-inserter\\\")\\n          )\\n        )\\n        (component\\n          \\\"composer-inserter\\\"\\n          data-test-composer-inserter=\\\"messenger-app\\\"\\n          data=(hash\\n            icon=\\\"app-store\\\"\\n            title=\\\"Insert app\\\"\\n            configurator=(component\\n              \\\"content-editor/panels/content/inserters/app\\\"\\n              messengerApps=this.messengerApps\\n              objectId=@chat.id\\n              objectType=this.objectType\\n              inserterTitle=\\\"Insert into chat\\\"\\n              capability=\\\"messages\\\"\\n            )\\n          )\\n        )\\n        (if\\n          this.toursMessengerApp\\n          (component\\n            \\\"composer-inserter\\\"\\n            data-test-composer-inserter=\\\"tour\\\"\\n            data=(hash\\n              icon=\\\"product-tours\\\"\\n              title=\\\"Insert tour\\\"\\n              configurator=(component\\n                \\\"tours/tour-inserter\\\"\\n                toursMessengerApp=this.toursMessengerApp\\n                contextualData=this.tourInserterContext\\n              )\\n            )\\n          )\\n        )\\n      }}\\n      data-test-chat-composer\\n      data-test-chat-composer-preset={{@preset}}\\n    />\\n  </div>\\n</Chat::Chrome>\\n\", {\"contents\":\"<Chat::Chrome @chat={{@chat}} @deviceType={{@deviceType}}>\\n  <div id=\\\"intercom_composer\\\" {{did-update this.setupCurrentModel @chat}} data-test-chat-composer>\\n    <ComposerV2\\n      @app={{this.app}}\\n      @attributes={{this.attributeService.userEditorAttributes}}\\n      @preset={{@preset}}\\n      @isReadOnly={{not @isEditing}}\\n      @blocks={{@blocks}}\\n      @actionReceiver={{this.composer}}\\n      @onChange={{this.updateBlocks}}\\n      @editorClass=\\\"chat__editor__composer o__{{@deviceType}}\\\"\\n      @startedUploading={{this.contentEditorService.uploadImageStarted}}\\n      @finishedUploading={{this.contentEditorService.uploadImageFinished}}\\n      @viewportSelector=\\\".content-editor__main\\\"\\n      @inserters={{array\\n        (component\\n          \\\"composer-inserter\\\"\\n          data-test-composer-inserter=\\\"emoji\\\"\\n          data=(hash\\n            icon=\\\"lwr-happy\\\"\\n            title=\\\"Insert emoji\\\"\\n            configurator=(component \\\"message-editor/content/emoji-inserter\\\")\\n          )\\n        )\\n        (component\\n          \\\"composer-inserter\\\"\\n          data-test-composer-inserter=\\\"messenger-app\\\"\\n          data=(hash\\n            icon=\\\"app-store\\\"\\n            title=\\\"Insert app\\\"\\n            configurator=(component\\n              \\\"content-editor/panels/content/inserters/app\\\"\\n              messengerApps=this.messengerApps\\n              objectId=@chat.id\\n              objectType=this.objectType\\n              inserterTitle=\\\"Insert into chat\\\"\\n              capability=\\\"messages\\\"\\n            )\\n          )\\n        )\\n        (if\\n          this.toursMessengerApp\\n          (component\\n            \\\"composer-inserter\\\"\\n            data-test-composer-inserter=\\\"tour\\\"\\n            data=(hash\\n              icon=\\\"product-tours\\\"\\n              title=\\\"Insert tour\\\"\\n              configurator=(component\\n                \\\"tours/tour-inserter\\\"\\n                toursMessengerApp=this.toursMessengerApp\\n                contextualData=this.tourInserterContext\\n              )\\n            )\\n          )\\n        )\\n      }}\\n      data-test-chat-composer\\n      data-test-chat-composer-preset={{@preset}}\\n    />\\n  </div>\\n</Chat::Chrome>\\n\",\"moduleName\":\"embercom/components/chat/composer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/chat/composer.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { schedule } from '@ember/runloop';\nimport createFragmentFromBlock from 'embercom/lib/blocks/create-fragment-from-block';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport { compareBlocks } from 'embercom/lib/developer-hub/diff-calculator';\n\nconst intercomToursPackageId = 'intercom-tours';\n\nexport default class Composer extends Component {\n  @service attributeService;\n  @service contentEditorService;\n  @service appService;\n  @service store;\n  @tracked serializedBlocks = [];\n  @tracked messengerApps = [];\n  @tracked currentChatContent;\n\n  constructor() {\n    super(...arguments);\n    this.setupCurrentModel();\n    this.fetchMessengerApps.perform();\n  }\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get toursMessengerApp() {\n    return this.messengerApps.find(app => app.app_package_id === intercomToursPackageId);\n  }\n\n  get objectType() {\n    return objectTypes.chat;\n  }\n\n  get tourInserterContext() {\n    return {\n      object_type: this.objectType,\n      object_id: this.args.chat.id,\n      location: 'message',\n    };\n  }\n\n  @task({ drop: true })\n  *fetchMessengerApps() {\n    let messengerApps = yield this.store.query('messenger-app', { restrict_to: 'messages' });\n    this.messengerApps = messengerApps;\n  }\n\n  @action\n  setupCurrentModel() {\n    this.currentChatContent = this.args.chat.localizedChatContents.firstObject;\n    schedule('afterRender', () => {\n      this.serializedBlocks = this.currentChatContent.blocks.serialize();\n      if (this.composer) {\n        this.composer.send('load', this.serializedBlocks);\n      }\n    });\n  }\n\n  @action\n  updateBlocks() {\n    if (!this.composer) {\n      return;\n    }\n    let blocks = this.composer.getBlocks();\n    if (compareBlocks(blocks, this.currentChatContent.blocks.serialize()).hasDifference) {\n      let blockFragments = blocks.map(block => createFragmentFromBlock(this.store, block));\n      this.currentChatContent.set('blocks', blockFragments);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row\\\" data-test-chat-editor ...attributes>\\n  <div class=\\\"flex flex-col\\\">\\n    {{#liquid-if @isEditing class=\\\"content-editor__animated-sidebar\\\"}}\\n      <Chat::Sidebar @chat={{@chat}} />\\n    {{/liquid-if}}\\n  </div>\\n  <div class=\\\"flex flex-col flex-1 gap-4\\\">\\n    <div class=\\\"flex flex-col chat__editor__content-container pt-0 {{if (not @isEditing) \\\"u__mt__0\\\"}}\\\" data-test-chat-content-container>\\n      {{#if (and @isEditing this.contentEditorService.isUploadingImage )}}\\n        <span class=\\\"message__editor__content__upload-indicator\\\">\\n          <IcLoadingIndicator @size=\\\"tiny\\\" />\\n          <span class=\\\"t__light-text\\\">\\n            Uploading...\\n          </span>\\n        </span>\\n      {{/if}}\\n      <div class=\\\"flex flex-col flex-1 {{if this.isWeb \\\"chat__editor__chrome-container\\\"}}\\\" data-test-chat-chrome-container>\\n        <Chat::Composer\\n          @chat={{@chat}}\\n          @preset={{this.composerPreset}}\\n          @isEditing={{@isEditing}}\\n          @deviceType={{this.currentDevice}}\\n        />\\n      </div>\\n      <ContentEditor::Panels::Content::PreferredDevices::PreviewSwitcher\\n        @preferredDevices={{@chat.preferredDevices}}\\n        @updateCurrentDevice={{this.updateCurrentPreviewDevice}}\\n        @currentDevice={{this.currentDevice}}  \\n      />\\n      {{#if (not @isEditing)}}\\n        <div class=\\\"flex flex-col p-8\\\" data-test-chat-follow-up-actions>\\n          <ContentEditor::Panels::Content::FollowUpActions::Editor\\n            @followUpActions={{@chat.localizedChatContents.firstObject.followUpActions}}\\n            @isEmailCollectorReply={{this.isEmailCollectorReply}}\\n            @isDisabled={{true}}\\n          />\\n        </div>\\n      {{/if}}\\n    </div>\\n\\n    {{#if @isEditing}}\\n      <div class=\\\"flex flex-col chat__editor__follow-up-actions p-8\\\" data-test-chat-follow-up-actions>\\n        <ContentEditor::Panels::Content::FollowUpActions::Editor\\n          @followUpActions={{@chat.localizedChatContents.firstObject.followUpActions}}\\n          @isEmailCollectorReply={{this.isEmailCollectorReply}}\\n        />\\n      </div>\\n    {{/if}}\\n\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row\\\" data-test-chat-editor ...attributes>\\n  <div class=\\\"flex flex-col\\\">\\n    {{#liquid-if @isEditing class=\\\"content-editor__animated-sidebar\\\"}}\\n      <Chat::Sidebar @chat={{@chat}} />\\n    {{/liquid-if}}\\n  </div>\\n  <div class=\\\"flex flex-col flex-1 gap-4\\\">\\n    <div class=\\\"flex flex-col chat__editor__content-container pt-0 {{if (not @isEditing) \\\"u__mt__0\\\"}}\\\" data-test-chat-content-container>\\n      {{#if (and @isEditing this.contentEditorService.isUploadingImage )}}\\n        <span class=\\\"message__editor__content__upload-indicator\\\">\\n          <IcLoadingIndicator @size=\\\"tiny\\\" />\\n          <span class=\\\"t__light-text\\\">\\n            Uploading...\\n          </span>\\n        </span>\\n      {{/if}}\\n      <div class=\\\"flex flex-col flex-1 {{if this.isWeb \\\"chat__editor__chrome-container\\\"}}\\\" data-test-chat-chrome-container>\\n        <Chat::Composer\\n          @chat={{@chat}}\\n          @preset={{this.composerPreset}}\\n          @isEditing={{@isEditing}}\\n          @deviceType={{this.currentDevice}}\\n        />\\n      </div>\\n      <ContentEditor::Panels::Content::PreferredDevices::PreviewSwitcher\\n        @preferredDevices={{@chat.preferredDevices}}\\n        @updateCurrentDevice={{this.updateCurrentPreviewDevice}}\\n        @currentDevice={{this.currentDevice}}  \\n      />\\n      {{#if (not @isEditing)}}\\n        <div class=\\\"flex flex-col p-8\\\" data-test-chat-follow-up-actions>\\n          <ContentEditor::Panels::Content::FollowUpActions::Editor\\n            @followUpActions={{@chat.localizedChatContents.firstObject.followUpActions}}\\n            @isEmailCollectorReply={{this.isEmailCollectorReply}}\\n            @isDisabled={{true}}\\n          />\\n        </div>\\n      {{/if}}\\n    </div>\\n\\n    {{#if @isEditing}}\\n      <div class=\\\"flex flex-col chat__editor__follow-up-actions p-8\\\" data-test-chat-follow-up-actions>\\n        <ContentEditor::Panels::Content::FollowUpActions::Editor\\n          @followUpActions={{@chat.localizedChatContents.firstObject.followUpActions}}\\n          @isEmailCollectorReply={{this.isEmailCollectorReply}}\\n        />\\n      </div>\\n    {{/if}}\\n\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/chat/editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/chat/editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport { replyTypeOptions } from 'embercom/models/chats/chat';\nimport { preferredDevices } from 'embercom/models/data/outbound/constants';\n\nexport default class ChatEditorComponent extends Component {\n  @service appService;\n  @service store;\n  @service contentEditorService;\n\n  @tracked currentDevice = this._firstPreferredDevice();\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get composerPreset() {\n    if (!this.args.isEditing) {\n      return 'readOnlyChat';\n    } else if (this.isIos || this.isAndroid) {\n      return 'inAppChatMobile';\n    }\n    return 'inAppChatVideo';\n  }\n\n  get isWeb() {\n    return this.currentDevice === 'web';\n  }\n\n  get isIos() {\n    return this.currentDevice === 'ios';\n  }\n\n  get isAndroid() {\n    return this.currentDevice === 'android';\n  }\n\n  get isEmailCollectorReply() {\n    return this.args.chat.replyType === replyTypeOptions.emailCollector;\n  }\n\n  get objectType() {\n    return objectTypes.chat;\n  }\n\n  _firstPreferredDevice() {\n    let contentPlatform = this.args.chat.preferredDevices.firstObject;\n    switch (contentPlatform) {\n      case preferredDevices.ios:\n        return 'ios';\n      case preferredDevices.android:\n        return 'android';\n      default:\n        return 'web';\n    }\n  }\n\n  @action\n  updateCurrentPreviewDevice(device) {\n    this.currentDevice = device;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col content-editor__sidebar-container\\\" data-test-chat-editor-sidebar>\\n  <div class=\\\"flex flex-col flex-1 gap-6 content-editor__sidebar p-8\\\">\\n    <ContentEditor::Panels::Content::AssigneeDropdownWithFallback\\n      @label=\\\"From\\\"\\n      @selectedValueId={{@chat.localizedChatContents.firstObject.senderId}}\\n      @selectedValueType={{@chat.localizedChatContents.firstObject.senderType}}\\n      @onChangeId={{set @chat.localizedChatContents.firstObject.senderId}}\\n      @onChangeType={{set @chat.localizedChatContents.firstObject.senderType}}\\n      @isEmailMode={{false}}\\n      @filterPlaceholder=\\\"Search teammates and teams...\\\"\\n      data-test-from-dropdown\\n    />\\n\\n    {{#let (service 'app-service.app') as |app|}}\\n      {{#if app.inboxIsActive}}\\n        <ContentEditor::Panels::Content::AssigneeDropdownWithFallback\\n          @label=\\\"Assign replies to\\\"\\n          @selectedValueId={{@chat.localizedChatContents.firstObject.assignToId}}\\n          @selectedValueType={{@chat.localizedChatContents.firstObject.assignToType}}\\n          @onChangeId={{set @chat.localizedChatContents.firstObject.assignToId}}\\n          @onChangeType={{set @chat.localizedChatContents.firstObject.assignToType}}\\n          @allowUnassigned={{true}}\\n          @isEmailMode={{false}}\\n          @filterPlaceholder=\\\"Search teammates and teams...\\\"\\n          data-test-assign-to-dropdown\\n        />\\n      {{/if}}\\n    {{/let}}\\n\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling=\\\"label\\\">Reply type</Text>\\n      <PulseCandidate::VerticalRadioButtonGroup\\n        @onChange={{this.updateReplyType}}\\n        @selected={{@chat.replyType}}\\n        data-test-reply-type-selector as |group|>\\n        <group.Button @icon=\\\"chat-bubble-line\\\" @label=\\\"Text\\\" @value={{this.replyTypeOptions.text}} />\\n        <group.Button @icon=\\\"email\\\" @label=\\\"Email collector\\\" @tooltipContent=\\\"These messages are only sent when you don’t have a customer’s email address.\\\" @value={{this.replyTypeOptions.emailCollector}} />\\n      </PulseCandidate::VerticalRadioButtonGroup>\\n    </div>\\n\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling=\\\"label\\\">Sent as</Text>\\n      <PulseCandidate::VerticalRadioButtonGroup\\n        @onChange={{set @chat.sentAs}}\\n        @selected={{@chat.sentAs}}\\n        data-test-sent-as-selector as |group|>\\n        <group.Button @icon=\\\"inapp-badge\\\" @label=\\\"Badge\\\" @value={{this.sentAsOptions.badge}} />\\n        <group.Button @icon=\\\"inapp-snippet\\\" @label=\\\"Snippet\\\" @value={{this.sentAsOptions.snippet}} />\\n        <group.Button @icon=\\\"inapp-full\\\" @label=\\\"Show the full message\\\" @value={{this.sentAsOptions.full}} />\\n      </PulseCandidate::VerticalRadioButtonGroup>\\n    </div>\\n\\n    <ContentEditor::Panels::Content::PreferredDevices::Switcher @label={{\\\"Show first on\\\"}} @content={{@chat}} />\\n\\n    {{#if this.showPushMessageToggle}}\\n      <div class=\\\"flex flex-col gap-1\\\">\\n        <ContentEditor::Panels::Content::PushNotificationToggle\\n          @sendPushNotification={{@chat.sendPushNotification}}\\n          @togglePushNotification={{this.changePushNotificationOption}}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col content-editor__sidebar-container\\\" data-test-chat-editor-sidebar>\\n  <div class=\\\"flex flex-col flex-1 gap-6 content-editor__sidebar p-8\\\">\\n    <ContentEditor::Panels::Content::AssigneeDropdownWithFallback\\n      @label=\\\"From\\\"\\n      @selectedValueId={{@chat.localizedChatContents.firstObject.senderId}}\\n      @selectedValueType={{@chat.localizedChatContents.firstObject.senderType}}\\n      @onChangeId={{set @chat.localizedChatContents.firstObject.senderId}}\\n      @onChangeType={{set @chat.localizedChatContents.firstObject.senderType}}\\n      @isEmailMode={{false}}\\n      @filterPlaceholder=\\\"Search teammates and teams...\\\"\\n      data-test-from-dropdown\\n    />\\n\\n    {{#let (service 'app-service.app') as |app|}}\\n      {{#if app.inboxIsActive}}\\n        <ContentEditor::Panels::Content::AssigneeDropdownWithFallback\\n          @label=\\\"Assign replies to\\\"\\n          @selectedValueId={{@chat.localizedChatContents.firstObject.assignToId}}\\n          @selectedValueType={{@chat.localizedChatContents.firstObject.assignToType}}\\n          @onChangeId={{set @chat.localizedChatContents.firstObject.assignToId}}\\n          @onChangeType={{set @chat.localizedChatContents.firstObject.assignToType}}\\n          @allowUnassigned={{true}}\\n          @isEmailMode={{false}}\\n          @filterPlaceholder=\\\"Search teammates and teams...\\\"\\n          data-test-assign-to-dropdown\\n        />\\n      {{/if}}\\n    {{/let}}\\n\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling=\\\"label\\\">Reply type</Text>\\n      <PulseCandidate::VerticalRadioButtonGroup\\n        @onChange={{this.updateReplyType}}\\n        @selected={{@chat.replyType}}\\n        data-test-reply-type-selector as |group|>\\n        <group.Button @icon=\\\"chat-bubble-line\\\" @label=\\\"Text\\\" @value={{this.replyTypeOptions.text}} />\\n        <group.Button @icon=\\\"email\\\" @label=\\\"Email collector\\\" @tooltipContent=\\\"These messages are only sent when you don’t have a customer’s email address.\\\" @value={{this.replyTypeOptions.emailCollector}} />\\n      </PulseCandidate::VerticalRadioButtonGroup>\\n    </div>\\n\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling=\\\"label\\\">Sent as</Text>\\n      <PulseCandidate::VerticalRadioButtonGroup\\n        @onChange={{set @chat.sentAs}}\\n        @selected={{@chat.sentAs}}\\n        data-test-sent-as-selector as |group|>\\n        <group.Button @icon=\\\"inapp-badge\\\" @label=\\\"Badge\\\" @value={{this.sentAsOptions.badge}} />\\n        <group.Button @icon=\\\"inapp-snippet\\\" @label=\\\"Snippet\\\" @value={{this.sentAsOptions.snippet}} />\\n        <group.Button @icon=\\\"inapp-full\\\" @label=\\\"Show the full message\\\" @value={{this.sentAsOptions.full}} />\\n      </PulseCandidate::VerticalRadioButtonGroup>\\n    </div>\\n\\n    <ContentEditor::Panels::Content::PreferredDevices::Switcher @label={{\\\"Show first on\\\"}} @content={{@chat}} />\\n\\n    {{#if this.showPushMessageToggle}}\\n      <div class=\\\"flex flex-col gap-1\\\">\\n        <ContentEditor::Panels::Content::PushNotificationToggle\\n          @sendPushNotification={{@chat.sendPushNotification}}\\n          @togglePushNotification={{this.changePushNotificationOption}}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/chat/sidebar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/chat/sidebar.hbs\"}});\nimport Component from '@glimmer/component';\nimport { replyTypeOptions } from 'embercom/models/chats/chat';\nimport { sentAsOptions } from 'embercom/models/data/outbound/constants';\nimport { action } from '@ember/object';\nimport { preferredDevices } from 'embercom/models/data/outbound/constants';\n\nexport default class Sidebar extends Component {\n  replyTypeOptions = replyTypeOptions;\n  sentAsOptions = sentAsOptions;\n\n  get showPushMessageToggle() {\n    return (\n      this.args.chat.preferredDevices.includes(preferredDevices.ios) ||\n      this.args.chat.preferredDevices.includes(preferredDevices.android)\n    );\n  }\n\n  @action\n  updateReplyType(replyOption) {\n    this.args.chat.replyType = replyOption;\n\n    let followUpActions = this.args.chat.localizedChatContents.firstObject.followUpActions;\n    followUpActions.answerBotEnabled = false;\n    followUpActions.followUpReply = null;\n    followUpActions.leadQualificationEnabled = false;\n  }\n\n  @action\n  changePushNotificationOption() {\n    this.args.chat.sendPushNotification = !this.args.chat.sendPushNotification;\n  }\n}\n","import TextField from '@ember/component/text-field';\nimport ColPickMixin from 'ember-colpick/mixins/col-pick';\n\nexport default TextField.extend(ColPickMixin, {\n  flat: false\n});\n","import Component from '@ember/component';\nimport ColPickMixin from 'ember-colpick/mixins/col-pick';\n\nexport default Component.extend(ColPickMixin);\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<OneWaySelect\\n  @classNames=\\\"test__absolute-date-month\\\"\\n  data-test-date-month=\\\"absolute\\\"\\n  @options={{this.arrayOfMonths}}\\n  @value={{this.selectedMonth}}\\n  @optionTargetPath=\\\"value\\\"\\n  @optionLabelPath=\\\"label\\\"\\n  @update={{action \\\"updateSelectedMonth\\\"}}\\n/>\\n<OneWaySelect\\n  data-test-date-day=\\\"absolute\\\"\\n  @classNames=\\\"test__absolute-date-day\\\"\\n  @options={{this.arrayOfDaysInSelectedMonth}}\\n  @value={{this.selectedDay}}\\n  @update={{this.updateSelectedDay}}\\n/>\\n<OneWaySelect\\n  data-test-date-year=\\\"absolute\\\"\\n  @classNames=\\\"test__absolute-date-year\\\"\\n  @options={{this.arrayOfYears}}\\n  @value={{this.selectedYear}}\\n  @update={{action \\\"updateSelectedYear\\\"}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<OneWaySelect\\n  @classNames=\\\"test__absolute-date-month\\\"\\n  data-test-date-month=\\\"absolute\\\"\\n  @options={{this.arrayOfMonths}}\\n  @value={{this.selectedMonth}}\\n  @optionTargetPath=\\\"value\\\"\\n  @optionLabelPath=\\\"label\\\"\\n  @update={{action \\\"updateSelectedMonth\\\"}}\\n/>\\n<OneWaySelect\\n  data-test-date-day=\\\"absolute\\\"\\n  @classNames=\\\"test__absolute-date-day\\\"\\n  @options={{this.arrayOfDaysInSelectedMonth}}\\n  @value={{this.selectedDay}}\\n  @update={{this.updateSelectedDay}}\\n/>\\n<OneWaySelect\\n  data-test-date-year=\\\"absolute\\\"\\n  @classNames=\\\"test__absolute-date-year\\\"\\n  @options={{this.arrayOfYears}}\\n  @value={{this.selectedYear}}\\n  @update={{action \\\"updateSelectedYear\\\"}}\\n/>\\n\",\"moduleName\":\"embercom/components/common/absolute-date-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/absolute-date-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { action } from '@ember/object';\nimport Component from '@ember/component';\n\nconst DAYS = {\n  29: [\n    1,\n    2,\n    3,\n    4,\n    5,\n    6,\n    7,\n    8,\n    9,\n    10,\n    11,\n    12,\n    13,\n    14,\n    15,\n    16,\n    17,\n    18,\n    19,\n    20,\n    21,\n    22,\n    23,\n    24,\n    25,\n    26,\n    27,\n    28,\n    29,\n  ],\n  30: [\n    1,\n    2,\n    3,\n    4,\n    5,\n    6,\n    7,\n    8,\n    9,\n    10,\n    11,\n    12,\n    13,\n    14,\n    15,\n    16,\n    17,\n    18,\n    19,\n    20,\n    21,\n    22,\n    23,\n    24,\n    25,\n    26,\n    27,\n    28,\n    29,\n    30,\n  ],\n  31: [\n    1,\n    2,\n    3,\n    4,\n    5,\n    6,\n    7,\n    8,\n    9,\n    10,\n    11,\n    12,\n    13,\n    14,\n    15,\n    16,\n    17,\n    18,\n    19,\n    20,\n    21,\n    22,\n    23,\n    24,\n    25,\n    26,\n    27,\n    28,\n    29,\n    30,\n    31,\n  ],\n};\n\nconst MONTHS = [\n  { label: 'Jan', days: 31, value: 1 },\n  { label: 'Feb', days: 29, value: 2 }, // Leap years in 2016, 2020, 2024, 2028, 2032.\n  { label: 'Mar', days: 31, value: 3 },\n  { label: 'Apr', days: 30, value: 4 },\n  { label: 'May', days: 31, value: 5 },\n  { label: 'Jun', days: 30, value: 6 },\n  { label: 'Jul', days: 31, value: 7 },\n  { label: 'Aug', days: 31, value: 8 },\n  { label: 'Sep', days: 30, value: 9 },\n  { label: 'Oct', days: 31, value: 10 },\n  { label: 'Nov', days: 30, value: 11 },\n  { label: 'Dec', days: 31, value: 12 },\n];\nconst YEARS = [\n  2000,\n  2001,\n  2002,\n  2003,\n  2004,\n  2005,\n  2006,\n  2007,\n  2008,\n  2009,\n  2010,\n  2011,\n  2012,\n  2013,\n  2014,\n  2015,\n  2016,\n  2017,\n  2018,\n  2019,\n  2020,\n  2021,\n  2022,\n  2023,\n  2024,\n  2025,\n];\n\nfunction getNumberOfDaysInMonth(month) {\n  return MONTHS[month - 1].days;\n}\n\nexport default Component.extend({\n  tagName: '',\n\n  selectedDay: readOnly('value.day'),\n  selectedMonth: readOnly('value.month'),\n  selectedYear: readOnly('value.year'),\n\n  arrayOfDaysInSelectedMonth: computed('selectedMonth', function() {\n    return DAYS[getNumberOfDaysInMonth(this.selectedMonth)];\n  }),\n\n  arrayOfMonths: MONTHS,\n  arrayOfYears: YEARS,\n\n  updateSelectedDay: action(function(day) {\n    this.update({\n      day,\n      month: this.selectedMonth,\n      year: this.selectedYear,\n    });\n  }),\n\n  updateSelectedMonth: action(function(month) {\n    let day = this.selectedDay;\n    if (getNumberOfDaysInMonth(month) < this.selectedDay) {\n      day = 1;\n    }\n    this.update({\n      day,\n      month,\n      year: this.selectedYear,\n    });\n  }),\n\n  updateSelectedYear: action(function(year) {\n    this.update({\n      day: this.selectedDay,\n      month: this.selectedMonth,\n      year,\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<CpPanels @accordion={{true}} @group={{groupName}} as |accordion|>\\n  {{yield\\n    (hash\\n      section=(component\\n        \\\"common/accordion-component/section\\\"\\n        accordion=accordion\\n        publicAPI=(readonly publicAPI)\\n        privateAPI=(readonly privateAPI)\\n      )\\n      section-link=(component \\\"common/accordion-component/section-link\\\")\\n      publicAPI=publicAPI\\n    )\\n  }}\\n</CpPanels>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<CpPanels @accordion={{true}} @group={{groupName}} as |accordion|>\\n  {{yield\\n    (hash\\n      section=(component\\n        \\\"common/accordion-component/section\\\"\\n        accordion=accordion\\n        publicAPI=(readonly publicAPI)\\n        privateAPI=(readonly privateAPI)\\n      )\\n      section-link=(component \\\"common/accordion-component/section-link\\\")\\n      publicAPI=publicAPI\\n    )\\n  }}\\n</CpPanels>\\n\",\"moduleName\":\"embercom/components/common/accordion-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/accordion-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\n/* eslint-disable ember/no-side-effects */\nimport { isPresent } from '@ember/utils';\nimport EmberObject, { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport { task } from 'ember-concurrency';\nimport { later } from '@ember/runloop';\n\nexport default Component.extend({\n  panelActions: service(),\n  groupName: templateString('accordion-component-${elementId}'),\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    if (!isPresent(this.openSectionName)) {\n      this.set('openSectionName', this.initiallyOpenSectionName);\n    }\n  },\n\n  allSections: {},\n  openSectionName: null,\n  initiallyOpenSectionName: null,\n  parentViewportClassName: null,\n  isDisabled: false,\n\n  sectionCanOpen: () => true,\n  sectionCanClose: () => true,\n  sectionDidOpen: () => {},\n  sectionDidClose: () => {},\n\n  publicAPI: computed('openSectionName', function() {\n    return EmberObject.create({\n      openSectionName: this.openSectionName,\n      openSection: (...args) => this.send('openSection', ...args),\n      closeSection: (...args) => this.send('closeSection', ...args),\n      toggleSection: (...args) => this.send('toggleSection', ...args),\n      toggleFullscreen: (...args) => this.send('toggleFullscreen', ...args),\n      renameSection: (...args) => this.send('renameSection', ...args),\n      removeSectionByName: (...args) => this.send('removeSectionByName', ...args),\n    });\n  }),\n\n  privateAPI: computed('openSectionName', 'groupName', 'isDisabled', function() {\n    return EmberObject.create({\n      isDisabled: this.isDisabled,\n      groupName: this.groupName,\n      openSectionName: this.openSectionName,\n      initiallyOpenSectionName: this.initiallyOpenSectionName,\n      toggleSection: (...args) => this.send('toggleSection', ...args),\n      registerSection: section => {\n        this.allSections[section.get('externalName')] = section;\n      },\n      unregisterSection: section => {\n        delete this.allSections[section.get('externalName')];\n      },\n    });\n  }),\n\n  _currentSectionCanClose() {\n    let openSectionName = this.openSectionName;\n    if (isPresent(openSectionName)) {\n      return this.sectionCanClose(openSectionName);\n    } else {\n      return true;\n    }\n  },\n\n  _currentSectionDidClose() {\n    let openSectionName = this.openSectionName;\n    if (isPresent(openSectionName)) {\n      this.sectionDidClose(openSectionName);\n    }\n  },\n\n  _openSection: task(function*(section) {\n    let currentSectionCanClose = yield this._currentSectionCanClose();\n    if (currentSectionCanClose && !this.isDisabled) {\n      let sectionCanOpen = yield this.sectionCanOpen(section.get('externalName'));\n      if (sectionCanOpen) {\n        this._handleParentViewportHeightShifting();\n        this._currentSectionDidClose();\n        section.set('isFullscreenToggled', false);\n        this.panelActions.open(section.get('internalName'));\n        this.set('openSectionName', section.get('externalName'));\n        this.sectionDidOpen(section.get('externalName'));\n      }\n    }\n  }),\n\n  _closeSection: task(function*(section) {\n    let canCloseSection = yield this.sectionCanClose(section.get('externalName'));\n    if (canCloseSection) {\n      this._handleParentViewportHeightShifting();\n      this.panelActions.close(section.get('internalName'));\n      this.set('openSectionName', null);\n      this.sectionDidClose(section.get('externalName'));\n      section.set('isFullscreenToggled', false);\n    }\n  }),\n\n  // The following is a hack to account for situations where changing height of the viewport\n  // causes the scroll position to jerk  This issue occurs within liquid-fire.\n  // as different DOM states are computed, the scroll position is not preserved,\n  // causing the scroll position to jump unexpectedly up and down. By setting an arbitrarily\n  // large height on the parent viewport before the transition, scroll position is preserved\n  // as the child elements animate.\n  _handleParentViewportHeightShifting() {\n    if (!this.parentViewportClassName) {\n      return;\n    }\n\n    let viewportElement = document.querySelector(`.${this.parentViewportClassName}`);\n    viewportElement.style.height = `${viewportElement.clientHeight * 3}px`;\n    later(() => {\n      viewportElement.style.height = '';\n    });\n  },\n\n  _sectionForName(sectionExternalName) {\n    return this.get(`allSections.${sectionExternalName}`);\n  },\n\n  actions: {\n    openSection(sectionExternalName) {\n      let section = this._sectionForName(sectionExternalName);\n      if (!section.get('isCurrentOpenSection')) {\n        this._openSection.perform(section);\n      }\n    },\n\n    closeSection(sectionExternalName) {\n      let section = this._sectionForName(sectionExternalName);\n      if (section.get('isCurrentOpenSection')) {\n        this._closeSection.perform(section);\n      }\n    },\n\n    toggleSection(sectionExternalName) {\n      let section = this._sectionForName(sectionExternalName);\n      if (section.get('isCurrentOpenSection')) {\n        this._closeSection.perform(section);\n      } else {\n        this._openSection.perform(section);\n      }\n    },\n\n    toggleFullscreen() {\n      let section = this._sectionForName(this.openSectionName);\n      section.toggleProperty('isFullscreenToggled');\n    },\n\n    renameSection(oldSectionName, newSectionName) {\n      let section = this.allSections[oldSectionName];\n      section.set('name', newSectionName);\n\n      delete this.allSections[oldSectionName];\n      this.allSections[newSectionName] = section;\n      if (this.openSectionName === oldSectionName) {\n        this.set('openSectionName', newSectionName);\n        this.sectionDidOpen(section.get('externalName'));\n      }\n    },\n\n    removeSectionByName(sectionName) {\n      delete this.allSections[sectionName];\n      if (this.openSectionName === sectionName) {\n        this.set('openSectionName', null);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex {{if @stackVertically \\\"flex-col\\\" \\\"flex-row\\\"}}\\\">\\n  <div class=\\\"flex flex-row\\n    {{if @alignTop 'items-start pt-2' 'items-center'}}\\n  \\\">\\n    <span\\n      data-test-blue-header-title-circle={{@number}}\\n      class=\\\"symbol__circle o__by-text content-editor__animated-index-color\\n             {{if @isOpen\\n                \\\"o__maximized\\\"\\n                (if @isComplete\\n                  \\\"o__green mt-1\\\"\\n                  (if (gt @errors.length 0)\\n                    \\\"accordion__blue-header-title__animated-index-error-color\\\"\\n                    \\\"o__inert mt-1\\\"))}}\\n             u__ml__15\\\"\\n    >\\n      {{#if (and @isComplete (not @isOpen))}}\\n        <span data-test-blue-header-checkmark>\\n          {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n        </span>\\n      {{else if (and (gt  @errors.length 0) (not @isOpen))}}\\n        <span data-test-blue-header-error-icon>\\n          {{ic-interface-icon \\\"alert\\\" solo=true}}\\n        </span>\\n      {{else}}\\n        {{@number}}\\n      {{/if}}\\n    </span>\\n    <span class=\\\"t__h2 u__ml__10 accordion__blue-header-title {{if @isOpen \\\"o__open\\\"}}\\\" data-test-blue-header-title>\\n      <div class=\\\"flex flex-row gap-8\\\">\\n        <div class=\\\"flex flex-col justify-center\\\">\\n          <span class=\\\"accordion__blue-header-title__body\\\">{{@title}}</span>\\n        </div>\\n        {{#if (and (not @isOpen) (not @errors))}}\\n          <span class=\\\"t__light-text\\\">\\n            {{@description}}\\n          </span>\\n        {{/if}}\\n        {{#if (and (not @isOpen) @errors)}}\\n          <div class=\\\"flex flex-col justify-end\\\">\\n            <div data-test-blue-header-errors-container>\\n              {{#each @errors as |error index|}}\\n                <div>\\n                  <span class=\\\"t__light-text\\\" data-test-blue-header-error-message={{index}}>\\n                    {{error.message}}\\n                  </span>\\n                </div>\\n              {{/each}}\\n            </div>\\n          </div>\\n        {{/if}}\\n      </div>\\n    </span>\\n  </div>\\n  {{#unless @isOpen}}\\n    {{yield}}\\n  {{/unless}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex {{if @stackVertically \\\"flex-col\\\" \\\"flex-row\\\"}}\\\">\\n  <div class=\\\"flex flex-row\\n    {{if @alignTop 'items-start pt-2' 'items-center'}}\\n  \\\">\\n    <span\\n      data-test-blue-header-title-circle={{@number}}\\n      class=\\\"symbol__circle o__by-text content-editor__animated-index-color\\n             {{if @isOpen\\n                \\\"o__maximized\\\"\\n                (if @isComplete\\n                  \\\"o__green mt-1\\\"\\n                  (if (gt @errors.length 0)\\n                    \\\"accordion__blue-header-title__animated-index-error-color\\\"\\n                    \\\"o__inert mt-1\\\"))}}\\n             u__ml__15\\\"\\n    >\\n      {{#if (and @isComplete (not @isOpen))}}\\n        <span data-test-blue-header-checkmark>\\n          {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n        </span>\\n      {{else if (and (gt  @errors.length 0) (not @isOpen))}}\\n        <span data-test-blue-header-error-icon>\\n          {{ic-interface-icon \\\"alert\\\" solo=true}}\\n        </span>\\n      {{else}}\\n        {{@number}}\\n      {{/if}}\\n    </span>\\n    <span class=\\\"t__h2 u__ml__10 accordion__blue-header-title {{if @isOpen \\\"o__open\\\"}}\\\" data-test-blue-header-title>\\n      <div class=\\\"flex flex-row gap-8\\\">\\n        <div class=\\\"flex flex-col justify-center\\\">\\n          <span class=\\\"accordion__blue-header-title__body\\\">{{@title}}</span>\\n        </div>\\n        {{#if (and (not @isOpen) (not @errors))}}\\n          <span class=\\\"t__light-text\\\">\\n            {{@description}}\\n          </span>\\n        {{/if}}\\n        {{#if (and (not @isOpen) @errors)}}\\n          <div class=\\\"flex flex-col justify-end\\\">\\n            <div data-test-blue-header-errors-container>\\n              {{#each @errors as |error index|}}\\n                <div>\\n                  <span class=\\\"t__light-text\\\" data-test-blue-header-error-message={{index}}>\\n                    {{error.message}}\\n                  </span>\\n                </div>\\n              {{/each}}\\n            </div>\\n          </div>\\n        {{/if}}\\n      </div>\\n    </span>\\n  </div>\\n  {{#unless @isOpen}}\\n    {{yield}}\\n  {{/unless}}\\n</div>\\n\",\"moduleName\":\"embercom/components/common/accordion-component/blue-header-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/accordion-component/blue-header-title.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcButtonList as |list|>\\n  {{#if showSaveCancelButtons}}\\n    {{#if paywallFeature}}\\n      <Paywall\\n        @featureKey={{paywallFeature}}\\n        as |paywall|\\n      >\\n        <paywall.Hover>\\n          <div class=\\\"accordion__body-button__feature-flagged\\\">\\n            <list.button\\n              @processingLabel=\\\"Saving…\\\"\\n              @isDisabled={{or paywall.isActive (not model.isValid) @isDisabled}}\\n              @type={{saveButtonType}}\\n              @onClick={{or customSaveAction (perform save)}}\\n              data-test-accordion-body-button-save={{true}}\\n            >\\n              {{if saveLabel saveLabel \\\"Save and set live\\\"}}\\n            </list.button>\\n          </div>\\n        </paywall.Hover>\\n      </Paywall>\\n    {{else}}\\n      <list.button\\n        @label={{if saveLabel saveLabel \\\"Save and set live\\\"}}\\n        @processingLabel=\\\"Saving…\\\"\\n        @isDisabled={{or (not model.isValid) @isDisabled}}\\n        @type={{saveButtonType}}\\n        @onClick={{or customSaveAction (perform save)}}\\n        data-test-accordion-body-button-save={{true}}\\n      />\\n    {{/if}}\\n    <list.button\\n      @label=\\\"Cancel\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{or customDiscardAction (action \\\"discard\\\")}}\\n      data-test-accordion-body-button-cancel={{true}}\\n    />\\n  {{else}}\\n    <list.button\\n      @label=\\\"Close\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action \\\"closeSection\\\"}}\\n      data-test-accordion-body-button-done={{true}}\\n    />\\n  {{/if}}\\n</IcButtonList>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcButtonList as |list|>\\n  {{#if showSaveCancelButtons}}\\n    {{#if paywallFeature}}\\n      <Paywall\\n        @featureKey={{paywallFeature}}\\n        as |paywall|\\n      >\\n        <paywall.Hover>\\n          <div class=\\\"accordion__body-button__feature-flagged\\\">\\n            <list.button\\n              @processingLabel=\\\"Saving…\\\"\\n              @isDisabled={{or paywall.isActive (not model.isValid) @isDisabled}}\\n              @type={{saveButtonType}}\\n              @onClick={{or customSaveAction (perform save)}}\\n              data-test-accordion-body-button-save={{true}}\\n            >\\n              {{if saveLabel saveLabel \\\"Save and set live\\\"}}\\n            </list.button>\\n          </div>\\n        </paywall.Hover>\\n      </Paywall>\\n    {{else}}\\n      <list.button\\n        @label={{if saveLabel saveLabel \\\"Save and set live\\\"}}\\n        @processingLabel=\\\"Saving…\\\"\\n        @isDisabled={{or (not model.isValid) @isDisabled}}\\n        @type={{saveButtonType}}\\n        @onClick={{or customSaveAction (perform save)}}\\n        data-test-accordion-body-button-save={{true}}\\n      />\\n    {{/if}}\\n    <list.button\\n      @label=\\\"Cancel\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{or customDiscardAction (action \\\"discard\\\")}}\\n      data-test-accordion-body-button-cancel={{true}}\\n    />\\n  {{else}}\\n    <list.button\\n      @label=\\\"Close\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action \\\"closeSection\\\"}}\\n      data-test-accordion-body-button-done={{true}}\\n    />\\n  {{/if}}\\n</IcButtonList>\\n\",\"moduleName\":\"embercom/components/common/accordion-component/body-button-action.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/accordion-component/body-button-action.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { or } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport defaultTo from '@intercom/embercom-core/lib/default-to';\n\nexport default Component.extend({\n  notificationsService: service(),\n  beforeSave: defaultTo(() => {}),\n  afterSave: defaultTo(() => {}),\n\n  classNames: ['layout__box', 'u__mt__20'],\n  'data-test-accordion-body-button': true,\n\n  save: task(function*() {\n    try {\n      this.beforeSave();\n      let data = yield this.model.save();\n      this.notificationsService.notifyConfirmation(`Your ${this.context} have been updated`);\n      this.afterSave(data);\n    } catch (error) {\n      this.notificationsService.notifyResponseError(error, {\n        default: `Your ${this.context} have not been updated. Please try later`,\n      });\n    }\n  }),\n\n  isCancelling: false,\n  showSaveCancelButtons: or('allowSaving', 'isCancelling'),\n\n  close() {\n    let body = this.body;\n    if (body) {\n      body.accordionAPI.closeSection();\n    }\n  },\n\n  actions: {\n    discard() {\n      try {\n        this.set('isCancelling', true);\n        this.model.refresh();\n      } catch (e) {\n        this.model.rollbackAttributes();\n      } finally {\n        this.set('isCancelling', false);\n        this.close();\n      }\n    },\n\n    closeSection() {\n      this.close();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield (hash isOpen=(readonly isOpen) isFullscreen=(readonly isFullscreen) accordionAPI=(readonly accordionAPI))}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield (hash isOpen=(readonly isOpen) isFullscreen=(readonly isFullscreen) accordionAPI=(readonly accordionAPI))}}\\n\",\"moduleName\":\"embercom/components/common/accordion-component/body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/accordion-component/body.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasBlock}}\\n  {{yield (hash isHovering=isHovering isOpen=isOpen isFullscreen=isFullscreen API=publicAPI)}}\\n{{else}}\\n  <div class=\\\"accordion__toggle-button {{if isOpen \\\"o__open\\\" \\\"o__closed\\\"}} {{if isHovering \\\"o__hover\\\"}}\\\">\\n    {{inline-svg \\\"accordion/chevron-right.svg\\\"}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasBlock}}\\n  {{yield (hash isHovering=isHovering isOpen=isOpen isFullscreen=isFullscreen API=publicAPI)}}\\n{{else}}\\n  <div class=\\\"accordion__toggle-button {{if isOpen \\\"o__open\\\" \\\"o__closed\\\"}} {{if isHovering \\\"o__hover\\\"}}\\\">\\n    {{inline-svg \\\"accordion/chevron-right.svg\\\"}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/common/accordion-component/header-action.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/accordion-component/header-action.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasBlock}}\\n  {{yield (hash API=publicAPI)}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasBlock}}\\n  {{yield (hash API=publicAPI)}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/common/accordion-component/header-after.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/accordion-component/header-after.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield (hash isOpen=(readonly isOpen) isFullscreen=(readonly isFullscreen))}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield (hash isOpen=(readonly isOpen) isFullscreen=(readonly isFullscreen))}}\\n\",\"moduleName\":\"embercom/components/common/accordion-component/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/accordion-component/header.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col flex-1 u__overflow-x-auto\\\">\\n  <div class=\\\"flex pr-8 pl-8 pt-4 pb-4 {{if @stackVertically \\\"flex-col\\\" \\\"flex-row\\\"}}\\n    {{if @stackVertically \\\"items-start\\\" \\\"justify-start\\\"}}\\n    {{if @alignTop\\n      (if @stackVertically \\\"justify-start\\\" \\\"items-start\\\")\\n      (if @stackVertically \\\"justify-center\\\")\\n    }}\\n  \\\">\\n    <span class=\\\"accordion__white-header-title pt-2 pb-2\\\" data-test-lightweight-header-title>\\n      <div class=\\\"flex flex-row items-center gap-8\\\">\\n        <div class=\\\"flex flex-row items-center gap-1\\\">\\n          <Heading @size='2' class=\\\"accordion__blue-header-title__body\\\">\\n            {{@title}}\\n          </Heading>\\n          <span>{{ic-interface-icon (if @isOpen 'small-thin-down-arrow' 'small-thin-right-arrow') solo=true}}</span>\\n        </div>\\n        {{#if (and (not @isOpen) (not @errors))}}\\n          <span class=\\\"t__light-text\\\">\\n            {{@description}}\\n          </span>\\n        {{/if}}\\n        {{#if (and (not @isOpen) @errors)}}\\n          <span class=\\\"accordion__section__error-badge\\\" data-test-lightweight-header-error-icon>\\n            {{ic-interface-icon \\\"alert-circle\\\" color=\\\"red\\\"}}\\n            Fix issues\\n          </span>\\n          <div class=\\\"flex flex-col justify-end\\\">\\n            <div data-test-blue-header-errors-container>\\n              {{#each @errors as |error index|}}\\n                <div>\\n                  <span class=\\\"t__light-text\\\" data-test-blue-header-error-message={{index}}>\\n                    {{error.message}}\\n                  </span>\\n                </div>\\n              {{/each}}\\n            </div>\\n          </div>\\n        {{/if}}\\n      </div>\\n    </span>\\n\\n    <div class=\\\"flex flex-col flex-1 accordion__lightweight-header__yield-container\\\">\\n      {{#unless @isOpen}}\\n        {{yield}}\\n      {{/unless}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col flex-1 u__overflow-x-auto\\\">\\n  <div class=\\\"flex pr-8 pl-8 pt-4 pb-4 {{if @stackVertically \\\"flex-col\\\" \\\"flex-row\\\"}}\\n    {{if @stackVertically \\\"items-start\\\" \\\"justify-start\\\"}}\\n    {{if @alignTop\\n      (if @stackVertically \\\"justify-start\\\" \\\"items-start\\\")\\n      (if @stackVertically \\\"justify-center\\\")\\n    }}\\n  \\\">\\n    <span class=\\\"accordion__white-header-title pt-2 pb-2\\\" data-test-lightweight-header-title>\\n      <div class=\\\"flex flex-row items-center gap-8\\\">\\n        <div class=\\\"flex flex-row items-center gap-1\\\">\\n          <Heading @size='2' class=\\\"accordion__blue-header-title__body\\\">\\n            {{@title}}\\n          </Heading>\\n          <span>{{ic-interface-icon (if @isOpen 'small-thin-down-arrow' 'small-thin-right-arrow') solo=true}}</span>\\n        </div>\\n        {{#if (and (not @isOpen) (not @errors))}}\\n          <span class=\\\"t__light-text\\\">\\n            {{@description}}\\n          </span>\\n        {{/if}}\\n        {{#if (and (not @isOpen) @errors)}}\\n          <span class=\\\"accordion__section__error-badge\\\" data-test-lightweight-header-error-icon>\\n            {{ic-interface-icon \\\"alert-circle\\\" color=\\\"red\\\"}}\\n            Fix issues\\n          </span>\\n          <div class=\\\"flex flex-col justify-end\\\">\\n            <div data-test-blue-header-errors-container>\\n              {{#each @errors as |error index|}}\\n                <div>\\n                  <span class=\\\"t__light-text\\\" data-test-blue-header-error-message={{index}}>\\n                    {{error.message}}\\n                  </span>\\n                </div>\\n              {{/each}}\\n            </div>\\n          </div>\\n        {{/if}}\\n      </div>\\n    </span>\\n\\n    <div class=\\\"flex flex-col flex-1 accordion__lightweight-header__yield-container\\\">\\n      {{#unless @isOpen}}\\n        {{yield}}\\n      {{/unless}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/common/accordion-component/lightweight-header-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/accordion-component/lightweight-header-title.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"accordion__section__link u__relative\\\"></div>\\n\", {\"contents\":\"<div class=\\\"accordion__section__link u__relative\\\"></div>\\n\",\"moduleName\":\"embercom/components/common/accordion-component/section-link.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/accordion-component/section-link.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<@accordion.panel\\n  @name={{internalName}}\\n  @open={{eq name privateAPI.initiallyOpenSectionName}}\\n  @animate={{animate}} as |panel|\\n>\\n  {{#let\\n    (hash\\n      isOpen=panel.isOpen\\n      isHovering=isHovering\\n      isFullscreen=isFullscreen\\n      internalName=internalName\\n      externalName=externalName\\n    ) as |section|\\n  }}\\n    <div\\n      class=\\\"accordion__section\\n        {{if section.isOpen \\\"o__open\\\" \\\"o__closed\\\"}}\\n        {{if section.isFullscreen \\\"o__fullscreen\\\"}}\\n        {{if privateAPI.isDisabled \\\"o__disabled\\\"}}\\n        {{if @lightweight \\\"o__lightweight\\\"}}\\n        {{if (and showErrors (not section.isOpen)) \\\"accordion__section-error\\\"}}\\\"\\n      data-intercom-target=\\\"{{externalName}}\\\"\\n      data-test-accordion-section={{externalName}}\\n      data-accordion-section={{externalName}}\\n    >\\n      {{section.headerClass}} <div\\n        class=\\\"accordion__header {{if headerClass headerClass}} layout__box o__has-columns js__ghostinspector__message-editor-{{externalName}}-panel {{if section.isOpen \\\"o__open\\\" \\\"o__closed\\\"}} {{if isNotFocusedSection \\\"o__faded\\\"}}\\\"\\n        data-test-accordion-header={{externalName}}\\n        {{action publicAPI.toggleSection externalName}}\\n      >\\n        <div\\n          class=\\\"accordion__header__opener layout__box o__flexes-to-1\\\"\\n          data-test-accordion-header-opener={{name}}\\n          data-intercom-target={{name}}\\n        >\\n          {{yield\\n            (hash\\n              header=(component\\n                \\\"common/accordion-component/header\\\" isOpen=section.isOpen isFullscreen=section.isFullscreen\\n              )\\n              publicAPI=publicAPI\\n            )\\n          }}\\n        </div>\\n        <span\\n          data-test-accordion-toggle\\n          class=\\\"layout__box o__centers-vertically\\\"\\n        >\\n          {{yield\\n            (hash\\n              header-action=(component\\n                \\\"common/accordion-component/header-action\\\"\\n                isHovering=section.isHovering\\n                isOpen=section.isOpen\\n                isFullscreen=section.isFullscreen\\n                publicAPI=publicAPI\\n              )\\n            )\\n          }}\\n        </span>\\n      </div>\\n      {{yield\\n        (hash\\n          header-after=(component\\n            \\\"common/accordion-component/header-after\\\" publicAPI=publicAPI\\n          )\\n        )\\n      }}\\n      <panel.body>\\n        <div\\n          class=\\\"layout__box {{unless shouldNotAddPaddingToBody \\\"u__pad__10\\\"}}\\\"\\n          data-test-accordion-body\\n        >\\n          {{yield\\n            (hash\\n              body=(component\\n                \\\"common/accordion-component/body\\\"\\n                isOpen=section.isOpen\\n                isFullscreen=section.isFullscreen\\n                accordionAPI=(hash\\n                  closeSection=(action publicAPI.closeSection externalName)\\n                  openSection=(action publicAPI.openSection)\\n                  sectionName=externalName\\n                )\\n              )\\n            )\\n          }}\\n        </div>\\n      </panel.body>\\n    </div>\\n  {{/let}}\\n</@accordion.panel>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<@accordion.panel\\n  @name={{internalName}}\\n  @open={{eq name privateAPI.initiallyOpenSectionName}}\\n  @animate={{animate}} as |panel|\\n>\\n  {{#let\\n    (hash\\n      isOpen=panel.isOpen\\n      isHovering=isHovering\\n      isFullscreen=isFullscreen\\n      internalName=internalName\\n      externalName=externalName\\n    ) as |section|\\n  }}\\n    <div\\n      class=\\\"accordion__section\\n        {{if section.isOpen \\\"o__open\\\" \\\"o__closed\\\"}}\\n        {{if section.isFullscreen \\\"o__fullscreen\\\"}}\\n        {{if privateAPI.isDisabled \\\"o__disabled\\\"}}\\n        {{if @lightweight \\\"o__lightweight\\\"}}\\n        {{if (and showErrors (not section.isOpen)) \\\"accordion__section-error\\\"}}\\\"\\n      data-intercom-target=\\\"{{externalName}}\\\"\\n      data-test-accordion-section={{externalName}}\\n      data-accordion-section={{externalName}}\\n    >\\n      {{section.headerClass}} <div\\n        class=\\\"accordion__header {{if headerClass headerClass}} layout__box o__has-columns js__ghostinspector__message-editor-{{externalName}}-panel {{if section.isOpen \\\"o__open\\\" \\\"o__closed\\\"}} {{if isNotFocusedSection \\\"o__faded\\\"}}\\\"\\n        data-test-accordion-header={{externalName}}\\n        {{action publicAPI.toggleSection externalName}}\\n      >\\n        <div\\n          class=\\\"accordion__header__opener layout__box o__flexes-to-1\\\"\\n          data-test-accordion-header-opener={{name}}\\n          data-intercom-target={{name}}\\n        >\\n          {{yield\\n            (hash\\n              header=(component\\n                \\\"common/accordion-component/header\\\" isOpen=section.isOpen isFullscreen=section.isFullscreen\\n              )\\n              publicAPI=publicAPI\\n            )\\n          }}\\n        </div>\\n        <span\\n          data-test-accordion-toggle\\n          class=\\\"layout__box o__centers-vertically\\\"\\n        >\\n          {{yield\\n            (hash\\n              header-action=(component\\n                \\\"common/accordion-component/header-action\\\"\\n                isHovering=section.isHovering\\n                isOpen=section.isOpen\\n                isFullscreen=section.isFullscreen\\n                publicAPI=publicAPI\\n              )\\n            )\\n          }}\\n        </span>\\n      </div>\\n      {{yield\\n        (hash\\n          header-after=(component\\n            \\\"common/accordion-component/header-after\\\" publicAPI=publicAPI\\n          )\\n        )\\n      }}\\n      <panel.body>\\n        <div\\n          class=\\\"layout__box {{unless shouldNotAddPaddingToBody \\\"u__pad__10\\\"}}\\\"\\n          data-test-accordion-body\\n        >\\n          {{yield\\n            (hash\\n              body=(component\\n                \\\"common/accordion-component/body\\\"\\n                isOpen=section.isOpen\\n                isFullscreen=section.isFullscreen\\n                accordionAPI=(hash\\n                  closeSection=(action publicAPI.closeSection externalName)\\n                  openSection=(action publicAPI.openSection)\\n                  sectionName=externalName\\n                )\\n              )\\n            )\\n          }}\\n        </div>\\n      </panel.body>\\n    </div>\\n  {{/let}}\\n</@accordion.panel>\\n\",\"moduleName\":\"embercom/components/common/accordion-component/section.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/accordion-component/section.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { notEmpty, and, readOnly, not } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport {\n  notEqualToProperty,\n  templateString,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport defaultTo from '@intercom/embercom-core/lib/default-to';\n\nexport default Component.extend({\n  animate: defaultTo(true),\n  isNotCurrentOpenSection: notEqualToProperty('name', 'privateAPI.openSectionName'),\n  isCurrentOpenSection: not('isNotCurrentOpenSection'),\n  accordionHasOpenSection: notEmpty('privateAPI.openSectionName'),\n  isNotFocusedSection: and('accordionHasOpenSection', 'isNotCurrentOpenSection'),\n\n  canGoFullscreen: defaultTo(false),\n  isFullscreenToggled: defaultTo(false),\n  isFullscreen: and('isCurrentOpenSection', 'isFullscreenToggled', 'canGoFullscreen'),\n\n  shouldNotAddPaddingToBody: false,\n  internalName: templateString('${privateAPI.groupName}${name}'),\n  externalName: readOnly('name'),\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.privateAPI.registerSection(this);\n  },\n\n  willDestroyElement() {\n    this._super(...arguments);\n    this.privateAPI.unregisterSection(this);\n  },\n\n  mouseEnter() {\n    this.set('isHovering', true);\n  },\n\n  mouseLeave() {\n    this.set('isHovering', false);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__has-columns o__flexes-to-1\\\">\\n  <div\\n    class=\\\"u__pad__15 layout__box o__flexes-to-1 o__centers-vertically accordion__white-header-title__container {{if @tileClass @tileClass}}\\\"\\n  >\\n    {{#if hasBlock}}\\n      {{yield}}\\n    {{else}}\\n      {{#if @icon}}\\n        <div class=\\\"u__mr__5\\\">\\n          <IcIllustrativeIcon @name={{@icon}} />\\n        </div>\\n      {{/if}}\\n    {{/if}}\\n    <div class=\\\"u__ml__15 layout__box o__flexes-to-1\\\">\\n      <div class=\\\"accordion__white-header-title {{if @isOpen \\\"o__open\\\"}}\\\">\\n        <h3 class=\\\"accordion__white-header-title-text t__h3 u__display-inline-block\\\">\\n          {{@heading}}\\n        </h3>\\n        {{#if @showNewLabel}}\\n          {{ic-stamp \\\"New\\\" \\\"u__ml__10\\\"}}\\n        {{/if}}\\n        {{#if @showAlwaysOnLabel}}\\n          {{ic-stamp \\\"Always on\\\" \\\"u__ml__10\\\"}}\\n        {{/if}}\\n        {{#if @showBetaLabel}}\\n          {{ic-stamp \\\"Beta\\\" \\\"ml-2\\\"}}\\n        {{/if}}\\n        {{#if @showEnabledLabel}}\\n          {{ic-stamp (if @enabled \\\"On\\\" \\\"Off\\\") \\\"u__ml__10\\\"}}\\n        {{/if}}\\n        {{#if @showAuthenticated}}\\n          {{ic-stamp (if @enabled 'Verified' 'Unverified')}}\\n        {{/if}}\\n      </div>\\n      {{#if @subheading}}\\n        <div class=\\\"t__body text-gray\\\">\\n          <TruncatedTextComponent @lines={{1}}>\\n            {{@subheading}}\\n          </TruncatedTextComponent>\\n        </div>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__has-columns o__flexes-to-1\\\">\\n  <div\\n    class=\\\"u__pad__15 layout__box o__flexes-to-1 o__centers-vertically accordion__white-header-title__container {{if @tileClass @tileClass}}\\\"\\n  >\\n    {{#if hasBlock}}\\n      {{yield}}\\n    {{else}}\\n      {{#if @icon}}\\n        <div class=\\\"u__mr__5\\\">\\n          <IcIllustrativeIcon @name={{@icon}} />\\n        </div>\\n      {{/if}}\\n    {{/if}}\\n    <div class=\\\"u__ml__15 layout__box o__flexes-to-1\\\">\\n      <div class=\\\"accordion__white-header-title {{if @isOpen \\\"o__open\\\"}}\\\">\\n        <h3 class=\\\"accordion__white-header-title-text t__h3 u__display-inline-block\\\">\\n          {{@heading}}\\n        </h3>\\n        {{#if @showNewLabel}}\\n          {{ic-stamp \\\"New\\\" \\\"u__ml__10\\\"}}\\n        {{/if}}\\n        {{#if @showAlwaysOnLabel}}\\n          {{ic-stamp \\\"Always on\\\" \\\"u__ml__10\\\"}}\\n        {{/if}}\\n        {{#if @showBetaLabel}}\\n          {{ic-stamp \\\"Beta\\\" \\\"ml-2\\\"}}\\n        {{/if}}\\n        {{#if @showEnabledLabel}}\\n          {{ic-stamp (if @enabled \\\"On\\\" \\\"Off\\\") \\\"u__ml__10\\\"}}\\n        {{/if}}\\n        {{#if @showAuthenticated}}\\n          {{ic-stamp (if @enabled 'Verified' 'Unverified')}}\\n        {{/if}}\\n      </div>\\n      {{#if @subheading}}\\n        <div class=\\\"t__body text-gray\\\">\\n          <TruncatedTextComponent @lines={{1}}>\\n            {{@subheading}}\\n          </TruncatedTextComponent>\\n        </div>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/common/accordion-component/white-header-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/accordion-component/white-header-title.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{yield (hash showArticle=this.showArticle)}}\\n<IcModal\\n  @onModalClose={{this.closeArticleModal}}\\n  @width=\\\"xl\\\"\\n  @isOpen={{this.isOpen}}\\n  @focusElement=\\\"body\\\" as |modal|\\n>\\n  <modal.body\\n    @internalScroll={{true}}\\n    class=\\\"article-modal__body\\\"\\n    data-test-article-modal-body={{true}}\\n  >\\n    {{#if this.showError}}\\n      <div class=\\\"article-modal__error\\\">\\n        <p>\\n          There was an error loading this article, please try again.\\n        </p>\\n      </div>\\n    {{else if this.article}}\\n      <div class=\\\"article-modal__wrapper\\\" data-test-article-wrapper>\\n        <div class=\\\"article-modal__container\\\" data-test-article>\\n          <div class=\\\"article-modal__view__title\\\">\\n            <div data-test-article-view-title>\\n              {{this.article.title}}\\n            </div>\\n          </div>\\n          {{#if this.article.summary}}\\n            <div\\n              class=\\\"article-modal__view__summary\\\"\\n              data-test-article-view-summary\\n            >\\n              {{this.article.summary}}\\n            </div>\\n          {{/if}}\\n          <div class=\\\"pt-3 pb-6\\\">\\n            <span class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n              <div class=\\\"u__mr__10\\\">\\n                <div class=\\\"avatar o__m\\\">\\n                  <img\\n                    src={{this.article.author_avatar}}\\n                    alt={{concat this.article.author_name \\\" avatar\\\"}}\\n                    class=\\\"avatar__media\\\"\\n                  />\\n                </div>\\n              </div>\\n              <div class=\\\"educate__article__list__item__author\\\">\\n                Written by <span class=\\\"text-black\\\" data-test-article-author>\\n                  {{this.article.author_name}}\\n                </span>\\n                {{#if this.article.updated_at}}\\n                  <div class=\\\"t__smaller\\\">\\n                    <span>\\n                      {{article-timeago-helper this.article.updated_at}}\\n                    </span>\\n                  </div>\\n                {{/if}}\\n              </div>\\n            </span>\\n          </div>\\n          <div class=\\\"educate__article-composer\\\">\\n            {{#if this.article.json_blocks}}\\n              {{render-blocks this.article.json_blocks}}\\n            {{/if}}\\n          </div>\\n        </div>\\n      </div>\\n    {{else}}\\n      <div class=\\\"u__center-item\\\">\\n        <IcLoadingIndicator @size=\\\"small\\\" />\\n      </div>\\n    {{/if}}\\n  </modal.body>\\n</IcModal>\\n\", {\"contents\":\"{{yield (hash showArticle=this.showArticle)}}\\n<IcModal\\n  @onModalClose={{this.closeArticleModal}}\\n  @width=\\\"xl\\\"\\n  @isOpen={{this.isOpen}}\\n  @focusElement=\\\"body\\\" as |modal|\\n>\\n  <modal.body\\n    @internalScroll={{true}}\\n    class=\\\"article-modal__body\\\"\\n    data-test-article-modal-body={{true}}\\n  >\\n    {{#if this.showError}}\\n      <div class=\\\"article-modal__error\\\">\\n        <p>\\n          There was an error loading this article, please try again.\\n        </p>\\n      </div>\\n    {{else if this.article}}\\n      <div class=\\\"article-modal__wrapper\\\" data-test-article-wrapper>\\n        <div class=\\\"article-modal__container\\\" data-test-article>\\n          <div class=\\\"article-modal__view__title\\\">\\n            <div data-test-article-view-title>\\n              {{this.article.title}}\\n            </div>\\n          </div>\\n          {{#if this.article.summary}}\\n            <div\\n              class=\\\"article-modal__view__summary\\\"\\n              data-test-article-view-summary\\n            >\\n              {{this.article.summary}}\\n            </div>\\n          {{/if}}\\n          <div class=\\\"pt-3 pb-6\\\">\\n            <span class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n              <div class=\\\"u__mr__10\\\">\\n                <div class=\\\"avatar o__m\\\">\\n                  <img\\n                    src={{this.article.author_avatar}}\\n                    alt={{concat this.article.author_name \\\" avatar\\\"}}\\n                    class=\\\"avatar__media\\\"\\n                  />\\n                </div>\\n              </div>\\n              <div class=\\\"educate__article__list__item__author\\\">\\n                Written by <span class=\\\"text-black\\\" data-test-article-author>\\n                  {{this.article.author_name}}\\n                </span>\\n                {{#if this.article.updated_at}}\\n                  <div class=\\\"t__smaller\\\">\\n                    <span>\\n                      {{article-timeago-helper this.article.updated_at}}\\n                    </span>\\n                  </div>\\n                {{/if}}\\n              </div>\\n            </span>\\n          </div>\\n          <div class=\\\"educate__article-composer\\\">\\n            {{#if this.article.json_blocks}}\\n              {{render-blocks this.article.json_blocks}}\\n            {{/if}}\\n          </div>\\n        </div>\\n      </div>\\n    {{else}}\\n      <div class=\\\"u__center-item\\\">\\n        <IcLoadingIndicator @size=\\\"small\\\" />\\n      </div>\\n    {{/if}}\\n  </modal.body>\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/common/article-modal/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/article-modal/main.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\nimport ajax from 'embercom/lib/ajax';\n\nexport default class ArticleModal extends Component {\n  @service store;\n  @service appService;\n  @service intercomEventService;\n\n  @tracked isOpen = false;\n  @tracked showError = false;\n  @tracked article = null;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  @action showArticle() {\n    this.isOpen = true;\n    this.getArticle.perform();\n  }\n\n  @action closeArticleModal() {\n    this.isOpen = false;\n  }\n\n  @task *getArticle() {\n    let article;\n    try {\n      article = yield ajax({\n        url: `/ember/intercom_articles/${this.args.articleId}`,\n        type: 'GET',\n        data: {\n          app_id: this.app.id,\n        },\n      });\n      console.log(article);\n      this.article = article;\n    } catch (error) {\n      this.showError = true;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#let\\n  (component\\n    \\\"ic-select\\\"\\n    tagName=selectTagName\\n    defaultLabel=label\\n    items=mappedItems\\n    onSelectItem=(action \\\"addAttribute\\\")\\n    mode=dropdownDisplayMode\\n    buttonIsSubtle=buttonIsSubtle\\n    hasFilter=shouldShowFilter\\n    filterPlaceholder=filterPlaceholder\\n    buttonType=buttonType\\n    footerActions=footerActions\\n    isDisabled=isDisabled\\n    initiallyOpened=initiallyOpened\\n    minWidthOfOverlay=270\\n    hasError=hasError\\n  ) as |ic-select|\\n}}\\n  {{#if hasBlock}}\\n    {{#component ic-select as |select|}}\\n      <select.opener as |opener|>\\n        {{yield opener}}\\n      </select.opener>\\n    {{/component}}\\n  {{else}}\\n    {{component ic-select}}\\n  {{/if}}\\n{{/let}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#let\\n  (component\\n    \\\"ic-select\\\"\\n    tagName=selectTagName\\n    defaultLabel=label\\n    items=mappedItems\\n    onSelectItem=(action \\\"addAttribute\\\")\\n    mode=dropdownDisplayMode\\n    buttonIsSubtle=buttonIsSubtle\\n    hasFilter=shouldShowFilter\\n    filterPlaceholder=filterPlaceholder\\n    buttonType=buttonType\\n    footerActions=footerActions\\n    isDisabled=isDisabled\\n    initiallyOpened=initiallyOpened\\n    minWidthOfOverlay=270\\n    hasError=hasError\\n  ) as |ic-select|\\n}}\\n  {{#if hasBlock}}\\n    {{#component ic-select as |select|}}\\n      <select.opener as |opener|>\\n        {{yield opener}}\\n      </select.opener>\\n    {{/component}}\\n  {{else}}\\n    {{component ic-select}}\\n  {{/if}}\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/common/attribute-select.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/attribute-select.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { A } from '@ember/array';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { isEmpty } from '@ember/utils';\nimport { findByProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport defaultTo from '@intercom/embercom-core/lib/default-to';\n\nexport default Component.extend({\n  tagName: 'span',\n  filterPlaceholder: defaultTo('Search data'),\n  dropdownDisplayMode: defaultTo('inline'),\n  selectTagName: computed('dropdownDisplayMode', function() {\n    return this.dropdownDisplayMode === 'block' ? 'div' : 'span';\n  }),\n  buttonType: 'secondary',\n  //this can also be passed in from the consuming component\n  selectedAttribute: findByProperty('allAttributes', 'identifier', 'selectedAttributeIdentifier'),\n  shouldShowFilter: computed('hasFilter', function() {\n    if (isEmpty(this.hasFilter)) {\n      return true;\n    }\n    return this.hasFilter;\n  }),\n  allAttributes: computed('attributeGroupList.[]', function() {\n    let groupList = this.attributeGroupList;\n    let attributes = A();\n\n    groupList.forEach(group => {\n      if (group.attributes) {\n        //not all groups have attributes\n        attributes.pushObjects(group.attributes);\n      }\n    });\n\n    return attributes;\n  }),\n  mappedItems: computed(\n    'selectedAttributeIdentifier',\n    'attributeGroupList.[]',\n    'selectedAttribute',\n    'disabledAttributeIdentifiers.[]',\n    function() {\n      let selectedAttribute;\n      if (this.selectedAttributeIdentifier) {\n        selectedAttribute = this.selectedAttribute;\n      }\n\n      let items = [];\n      let disabledIdentifierToReasonLookup = {};\n      if (Array.isArray(this.disabledAttributeIdentifiers)) {\n        // convert from an array of identifiers to a mapping from identifier => an undefined reason\n        this.disabledAttributeIdentifiers.forEach(\n          identifier => (disabledIdentifierToReasonLookup[identifier] = undefined),\n        );\n      } else if (this.disabledAttributeIdentifiers) {\n        disabledIdentifierToReasonLookup = this.disabledAttributeIdentifiers;\n      }\n\n      this.attributeGroupList.forEach(group => {\n        let itemGroup = {\n          heading: group.heading,\n          items: [],\n        };\n\n        if (group.attributes) {\n          group.attributes.forEach(attribute => {\n            if (attribute) {\n              let isSelected = attribute === selectedAttribute;\n              let isDisabled = disabledIdentifierToReasonLookup.hasOwnProperty(\n                attribute.identifier,\n              );\n              let item = {\n                text: attribute.name,\n                icon: attribute.icon,\n                value: attribute.identifier,\n                descriptionForTooltip: isDisabled ? undefined : attribute.description,\n                component: attribute.component || this.attributeItemComponent,\n                componentShouldReplaceItem: true,\n                isDisabled,\n                isSelected,\n                paywallOpenUpgradeModal: attribute.paywallOpenUpgradeModal,\n                paywallAnalyticsEventData: attribute.paywallAnalyticsEventData,\n                tooltipText: disabledIdentifierToReasonLookup[attribute.identifier],\n              };\n              itemGroup.items.push(item);\n            }\n          });\n        }\n\n        items.push(itemGroup);\n      });\n      return items;\n    },\n  ),\n  _findAttribute(identifier) {\n    let attribute;\n    for (let i = 0, length = this.get('attributeGroupList.length'); i < length; i++) {\n      attribute = this.attributeGroupList.objectAt(i).attributes.findBy('identifier', identifier);\n      if (attribute) {\n        break;\n      }\n    }\n    return attribute;\n  },\n  actions: {\n    addAttribute(attributeOrIdentifier) {\n      let attribute =\n        typeof attributeOrIdentifier === 'string'\n          ? this._findAttribute(attributeOrIdentifier)\n          : attributeOrIdentifier;\n      this.onSelectAttribute(attribute);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__centers-vertically\\\">\\n  <div class=\\\"u__mr__10\\\">\\n    {{ic-avatar model=componentAttrs.model size=componentAttrs.avatarSize}}\\n  </div>\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <div class=\\\"u__one-truncated-line\\\">{{componentAttrs.modelDisplayName}}</div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__centers-vertically\\\">\\n  <div class=\\\"u__mr__10\\\">\\n    {{ic-avatar model=componentAttrs.model size=componentAttrs.avatarSize}}\\n  </div>\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <div class=\\\"u__one-truncated-line\\\">{{componentAttrs.modelDisplayName}}</div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/common/avatar-and-name-dropdown-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/avatar-and-name-dropdown-item.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-breadcrumbs class=\\\"breadcrumb__container text-gray\\\">\\n  {{#each breadcrumbs as |breadcrumb|}}\\n    <span class=\\\"breadcrumb\\\">\\n      {{#if breadcrumb.model}}\\n        <a class=\\\"t__label t__no-decoration\\\" href=\\\"{{href-to breadcrumb.route breadcrumb.model}}\\\">\\n          {{breadcrumb.text}}\\n        </a>\\n      {{else}}\\n        <a class=\\\"t__label t__no-decoration\\\" href=\\\"{{href-to breadcrumb.route}}\\\">\\n          {{breadcrumb.text}}\\n        </a>\\n      {{/if}}\\n      {{ic-interface-icon 'small-thin-right-arrow'}}\\n    </span>\\n  {{/each}}\\n</div>\\n{{yield}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-breadcrumbs class=\\\"breadcrumb__container text-gray\\\">\\n  {{#each breadcrumbs as |breadcrumb|}}\\n    <span class=\\\"breadcrumb\\\">\\n      {{#if breadcrumb.model}}\\n        <a class=\\\"t__label t__no-decoration\\\" href=\\\"{{href-to breadcrumb.route breadcrumb.model}}\\\">\\n          {{breadcrumb.text}}\\n        </a>\\n      {{else}}\\n        <a class=\\\"t__label t__no-decoration\\\" href=\\\"{{href-to breadcrumb.route}}\\\">\\n          {{breadcrumb.text}}\\n        </a>\\n      {{/if}}\\n      {{ic-interface-icon 'small-thin-right-arrow'}}\\n    </span>\\n  {{/each}}\\n</div>\\n{{yield}}\\n\",\"moduleName\":\"embercom/components/common/breadcrumbs-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/breadcrumbs-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"f__expanded-select o__fit\\\">\\n  {{#each buttons as |button index|}}\\n    <div class=\\\"f__expanded-select__item-container {{if button.selected \\\"o__selected\\\"}} {{if button.disabled \\\"o__disabled\\\"}}\\\">\\n      {{#if button.feature}}\\n        <Paywall @featureKey={{button.feature}} as |paywall|>\\n          <paywall.Hover>\\n            <div\\n              class=\\\"f__expanded-select__item {{if button.selected \\\"o__selected\\\"}} {{if (or button.disabled paywall.isActive) \\\"o__disabled\\\"}} {{unless index \\\"o__first\\\"}} test__button-group__item test__button-group__{{button.value}}\\\"\\n              data-test-button-group-item={{button.value}}\\n              data-test-button-group-item-label={{button.label}}\\n              {{action \\\"select\\\" button.value}}\\n            >\\n              {{#if button.description}}\\n                <div class=\\\"flex items-start\\\">\\n                  <span class=\\\"u__mr__10\\\">\\n                    {{ic-interface-icon button.icon solo=true}}\\n                  </span>\\n                  <div class=\\\"flex-auto min-w-0\\\">\\n                    <span class=\\\"test__button-group__item-label\\\">\\n                      {{button.label}}\\n                      {{#if (and button.tooltip paywall.isInactive)}}\\n                        <IcTooltipIcon @content={{button.tooltip.content}} @placement=\\\"right\\\" data-test-tooltip class=\\\"u__right\\\" />\\n                      {{/if}}\\n                    </span>\\n                    <br />\\n                    <span class=\\\"test__button-group__item-description t__light-text\\\">\\n                      {{button.description}}\\n                    </span>\\n                  </div>\\n                </div>\\n              {{else}}\\n                <span class=\\\"test__button-group__item-icon\\\">\\n                  {{ic-interface-icon button.icon}}\\n                </span>\\n                <span class=\\\"test__button-group__item-label\\\">\\n                  {{button.label}}\\n                </span>\\n                {{#if (and button.tooltip paywall.isInactive)}}\\n                  <IcTooltipIcon @content={{button.tooltip.content}} @placement=\\\"right\\\" data-test-tooltip class=\\\"u__right\\\" />\\n                {{/if}}\\n              {{/if}}\\n            </div>\\n          </paywall.Hover>\\n        </Paywall>\\n      {{else}}\\n        <div\\n          class=\\\"f__expanded-select__item {{if button.selected \\\"o__selected\\\"}} {{if button.disabled \\\"o__disabled\\\"}} {{button.additionalClasses}} test__button-group__item test__button-group__{{button.value}}\\\"\\n          data-test-button-group-item={{button.value}}\\n          data-test-button-group-item-label={{button.label}}\\n          {{action \\\"select\\\" button.value}}\\n        >\\n          {{#if button.description}}\\n            <div class=\\\"flex items-start\\\">\\n              <span class=\\\"test__button-group__item-icon u__mr__10\\\">\\n                {{ic-interface-icon button.icon solo=true}}\\n              </span>\\n              <div class=\\\"flex-auto min-w-0\\\">\\n                <span class=\\\"test__button-group__item-label\\\">\\n                  {{button.label}}\\n                  {{#if button.tooltip}}\\n                    <IcTooltipIcon @content={{button.tooltip.content}} @placement=\\\"right\\\" data-test-tooltip class=\\\"u__right\\\" />\\n                  {{/if}}\\n                </span>\\n                <br />\\n                <span class=\\\"test__button-group__item-description t__light-text\\\">\\n                  {{button.description}}\\n                </span>\\n              </div>\\n            </div>\\n          {{else}}\\n            <span class=\\\"test__button-group__item-icon\\\">\\n              {{ic-interface-icon button.icon}}\\n            </span>\\n            <span class=\\\"test__button-group__item-label\\\">\\n              {{button.label}}\\n            </span>\\n            {{#if button.tooltip}}\\n              <IcTooltipIcon @content={{button.tooltip.content}} @placement=\\\"right\\\" data-test-tooltip class=\\\"u__right\\\" />\\n            {{/if}}\\n          {{/if}}\\n        </div>\\n      {{/if}}\\n    </div>\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"f__expanded-select o__fit\\\">\\n  {{#each buttons as |button index|}}\\n    <div class=\\\"f__expanded-select__item-container {{if button.selected \\\"o__selected\\\"}} {{if button.disabled \\\"o__disabled\\\"}}\\\">\\n      {{#if button.feature}}\\n        <Paywall @featureKey={{button.feature}} as |paywall|>\\n          <paywall.Hover>\\n            <div\\n              class=\\\"f__expanded-select__item {{if button.selected \\\"o__selected\\\"}} {{if (or button.disabled paywall.isActive) \\\"o__disabled\\\"}} {{unless index \\\"o__first\\\"}} test__button-group__item test__button-group__{{button.value}}\\\"\\n              data-test-button-group-item={{button.value}}\\n              data-test-button-group-item-label={{button.label}}\\n              {{action \\\"select\\\" button.value}}\\n            >\\n              {{#if button.description}}\\n                <div class=\\\"flex items-start\\\">\\n                  <span class=\\\"u__mr__10\\\">\\n                    {{ic-interface-icon button.icon solo=true}}\\n                  </span>\\n                  <div class=\\\"flex-auto min-w-0\\\">\\n                    <span class=\\\"test__button-group__item-label\\\">\\n                      {{button.label}}\\n                      {{#if (and button.tooltip paywall.isInactive)}}\\n                        <IcTooltipIcon @content={{button.tooltip.content}} @placement=\\\"right\\\" data-test-tooltip class=\\\"u__right\\\" />\\n                      {{/if}}\\n                    </span>\\n                    <br />\\n                    <span class=\\\"test__button-group__item-description t__light-text\\\">\\n                      {{button.description}}\\n                    </span>\\n                  </div>\\n                </div>\\n              {{else}}\\n                <span class=\\\"test__button-group__item-icon\\\">\\n                  {{ic-interface-icon button.icon}}\\n                </span>\\n                <span class=\\\"test__button-group__item-label\\\">\\n                  {{button.label}}\\n                </span>\\n                {{#if (and button.tooltip paywall.isInactive)}}\\n                  <IcTooltipIcon @content={{button.tooltip.content}} @placement=\\\"right\\\" data-test-tooltip class=\\\"u__right\\\" />\\n                {{/if}}\\n              {{/if}}\\n            </div>\\n          </paywall.Hover>\\n        </Paywall>\\n      {{else}}\\n        <div\\n          class=\\\"f__expanded-select__item {{if button.selected \\\"o__selected\\\"}} {{if button.disabled \\\"o__disabled\\\"}} {{button.additionalClasses}} test__button-group__item test__button-group__{{button.value}}\\\"\\n          data-test-button-group-item={{button.value}}\\n          data-test-button-group-item-label={{button.label}}\\n          {{action \\\"select\\\" button.value}}\\n        >\\n          {{#if button.description}}\\n            <div class=\\\"flex items-start\\\">\\n              <span class=\\\"test__button-group__item-icon u__mr__10\\\">\\n                {{ic-interface-icon button.icon solo=true}}\\n              </span>\\n              <div class=\\\"flex-auto min-w-0\\\">\\n                <span class=\\\"test__button-group__item-label\\\">\\n                  {{button.label}}\\n                  {{#if button.tooltip}}\\n                    <IcTooltipIcon @content={{button.tooltip.content}} @placement=\\\"right\\\" data-test-tooltip class=\\\"u__right\\\" />\\n                  {{/if}}\\n                </span>\\n                <br />\\n                <span class=\\\"test__button-group__item-description t__light-text\\\">\\n                  {{button.description}}\\n                </span>\\n              </div>\\n            </div>\\n          {{else}}\\n            <span class=\\\"test__button-group__item-icon\\\">\\n              {{ic-interface-icon button.icon}}\\n            </span>\\n            <span class=\\\"test__button-group__item-label\\\">\\n              {{button.label}}\\n            </span>\\n            {{#if button.tooltip}}\\n              <IcTooltipIcon @content={{button.tooltip.content}} @placement=\\\"right\\\" data-test-tooltip class=\\\"u__right\\\" />\\n            {{/if}}\\n          {{/if}}\\n        </div>\\n      {{/if}}\\n    </div>\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/common/button-group.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/button-group.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { set } from '@ember/object';\nimport { copy } from 'ember-copy';\nimport { map } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\n\n// Example content:\n// [{\n//   value: 'chat',\n//   label: 'Chat',\n//   icon: 'chat-bubble',\n//   feature: 'some-feature-name'\n// },\n// {\n//   value: 'small-announcement',\n//   label: 'Note',\n//   description: 'Send a quick update',\n//   icon: 'inapp-note',\n//   tooltip: {\n//     component: 'tooltips/some-component',\n//     content: 'something',\n//     interactive: 'true',\n//     location: 'right'\n//   }\n// }]\n\nexport default Component.extend({\n  app: null,\n  selected: null,\n  paywallService: service(),\n  content: notImplemented('common/button-group: You must override the `content` property'),\n  buttons: map('content', function(item) {\n    return copy(item, true);\n  }),\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.updateSelectedItem();\n  },\n  updateSelectedItem() {\n    let buttons = this.buttons;\n    let button = buttons.findBy('value', this.selected);\n    buttons.setEach('selected', false);\n    if (button) {\n      set(button, 'selected', true);\n    }\n  },\n  actions: {\n    select(value) {\n      if (value === this.selected) {\n        return;\n      }\n      if (this.buttons.findBy('value', value).disabled) {\n        return;\n      }\n      let feature = this.buttons.findBy('value', value).feature;\n      if (feature) {\n        this.paywallService\n          .paywall({ featureName: feature })\n          .then(() => this.onSelected(value))\n          .catch(this.paywallService.handleError);\n      } else {\n        this.onSelected(value);\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { bind } from '@ember/runloop';\nimport $ from 'jquery';\nimport { typeOf } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport promiseGetScript from 'embercom/lib/promise-get-script';\nimport ENV from 'embercom/config/environment';\n\nexport default Component.extend({\n  classNames: ['layout__box', 'o__flexes-to-1'],\n  'data-test-code-text-area': true,\n\n  assetPrefix: computed(function() {\n    return ENV.environment === 'development' ? '/ember-dev' : '';\n  }),\n\n  mode: 'htmlmixed',\n  theme: 'monokai',\n  lint: false,\n  gutters: [],\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.loadCodeMirrorTask.perform();\n  },\n\n  willDestroyElement() {\n    $('script', this.element).off('load');\n    $('.CodeMirror', this.element).off('change');\n    if (this.codeMirrorEditor) {\n      this.codeMirrorEditor.toTextArea();\n    }\n    this._super(...arguments);\n  },\n\n  _sendUpdateAction() {\n    let sendUpdate = this.update;\n    if (typeOf(sendUpdate) === 'function') {\n      let currentValue = this.codeMirrorEditor.getValue();\n      sendUpdate(currentValue);\n    }\n  },\n\n  loadCodeMirrorTask: task(function*() {\n    try {\n      yield promiseGetScript(`${this.assetPrefix}/codemirror.js`);\n      this._initializeCodeMirror();\n    } catch (error) {\n      this.set('hasErrored', true);\n      console.error(error);\n    }\n  }),\n\n  _initializeCodeMirror() {\n    let codeMirrorEditor = CodeMirror.fromTextArea($('textarea', this.element).get(0), {\n      lineNumbers: true,\n      tabSize: 2,\n      mode: this.mode,\n      theme: this.theme,\n      gutters: this.gutters,\n      lint: this.lint,\n      lineWrapping: true,\n    });\n    codeMirrorEditor.setSize('100%', '100%');\n\n    codeMirrorEditor.setValue(this.value);\n    this.set('codeMirrorEditor', codeMirrorEditor);\n    codeMirrorEditor.on('change', bind(this, this._sendUpdateAction));\n    $(this.element).trigger('codemirrorloaded');\n  },\n\n  actions: {\n    onObjectChange() {\n      this.codeMirrorEditor.setValue(this.value);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span data-test-conditional-link-to>\\n  {{#if @linkEnabled}}\\n    <LinkTo\\n      @params={{@params}}\\n      @classNames={{@linkToClasses}}\\n      @activeClass={{@activeClass}}\\n    >\\n      {{yield}}\\n    </LinkTo>\\n  {{else}}\\n    {{yield}}\\n  {{/if}}\\n</span>\\n\", {\"contents\":\"<span data-test-conditional-link-to>\\n  {{#if @linkEnabled}}\\n    <LinkTo\\n      @params={{@params}}\\n      @classNames={{@linkToClasses}}\\n      @activeClass={{@activeClass}}\\n    >\\n      {{yield}}\\n    </LinkTo>\\n  {{else}}\\n    {{yield}}\\n  {{/if}}\\n</span>\\n\",\"moduleName\":\"embercom/components/common/conditional-link-to.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/conditional-link-to.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row gap-2\\\" data-test-scheduled-date-and-time-picker>\\n  <IcDropdownAndOpenerPair as |pair|>\\n    <pair.opener>\\n      <IcButton data-test-open-datepicker=\\\"true\\\" class=\\\"secondary\\\">\\n        {{ic-interface-icon \\\"calendar\\\"}} {{moment-format @selectedDate 'MMM D, YYYY' timeZone=this.timezone}}\\n      </IcButton>\\n    </pair.opener>\\n    <pair.dropdown as |dropdown|>\\n      <IcDatepicker\\n        @selected={{this.changeAt}}\\n        @onSelect={{this.setChangeAtDate}}\\n      />\\n    </pair.dropdown>\\n  </IcDropdownAndOpenerPair>\\n  <IcSelect\\n    data-test-open-timepicker=\\\"true\\\"\\n    @items={{array\\n      (hash text=\\\"12:00AM\\\" value=\\\"0\\\")\\n      (hash text=\\\"1:00AM\\\" value=\\\"1\\\")\\n      (hash text=\\\"2:00AM\\\" value=\\\"2\\\")\\n      (hash text=\\\"3:00AM\\\" value=\\\"3\\\")\\n      (hash text=\\\"4:00AM\\\" value=\\\"4\\\")\\n      (hash text=\\\"5:00AM\\\" value=\\\"5\\\")\\n      (hash text=\\\"6:00AM\\\" value=\\\"6\\\")\\n      (hash text=\\\"7:00AM\\\" value=\\\"7\\\")\\n      (hash text=\\\"8:00AM\\\" value=\\\"8\\\")\\n      (hash text=\\\"9:00AM\\\" value=\\\"9\\\")\\n      (hash text=\\\"10:00AM\\\" value=\\\"10\\\")\\n      (hash text=\\\"11:00AM\\\" value=\\\"11\\\")\\n      (hash text=\\\"12:00PM\\\" value=\\\"12\\\")\\n      (hash text=\\\"1:00PM\\\" value=\\\"13\\\")\\n      (hash text=\\\"2:00PM\\\" value=\\\"14\\\")\\n      (hash text=\\\"3:00PM\\\" value=\\\"15\\\")\\n      (hash text=\\\"4:00PM\\\" value=\\\"16\\\")\\n      (hash text=\\\"5:00PM\\\" value=\\\"17\\\")\\n      (hash text=\\\"6:00PM\\\" value=\\\"18\\\")\\n      (hash text=\\\"7:00PM\\\" value=\\\"19\\\")\\n      (hash text=\\\"8:00PM\\\" value=\\\"20\\\")\\n      (hash text=\\\"9:00PM\\\" value=\\\"21\\\")\\n      (hash text=\\\"10:00PM\\\" value=\\\"22\\\")\\n      (hash text=\\\"11:00PM\\\" value=\\\"23\\\")\\n    }}\\n    @onSelectItem={{this.setChangeAtHours}}\\n    @selectedValue={{moment-format @selectedDate 'H' timeZone=this.timezone}}\\n    @filterPlaceholder=\\\"Filter times\\\"\\n  />\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row gap-2\\\" data-test-scheduled-date-and-time-picker>\\n  <IcDropdownAndOpenerPair as |pair|>\\n    <pair.opener>\\n      <IcButton data-test-open-datepicker=\\\"true\\\" class=\\\"secondary\\\">\\n        {{ic-interface-icon \\\"calendar\\\"}} {{moment-format @selectedDate 'MMM D, YYYY' timeZone=this.timezone}}\\n      </IcButton>\\n    </pair.opener>\\n    <pair.dropdown as |dropdown|>\\n      <IcDatepicker\\n        @selected={{this.changeAt}}\\n        @onSelect={{this.setChangeAtDate}}\\n      />\\n    </pair.dropdown>\\n  </IcDropdownAndOpenerPair>\\n  <IcSelect\\n    data-test-open-timepicker=\\\"true\\\"\\n    @items={{array\\n      (hash text=\\\"12:00AM\\\" value=\\\"0\\\")\\n      (hash text=\\\"1:00AM\\\" value=\\\"1\\\")\\n      (hash text=\\\"2:00AM\\\" value=\\\"2\\\")\\n      (hash text=\\\"3:00AM\\\" value=\\\"3\\\")\\n      (hash text=\\\"4:00AM\\\" value=\\\"4\\\")\\n      (hash text=\\\"5:00AM\\\" value=\\\"5\\\")\\n      (hash text=\\\"6:00AM\\\" value=\\\"6\\\")\\n      (hash text=\\\"7:00AM\\\" value=\\\"7\\\")\\n      (hash text=\\\"8:00AM\\\" value=\\\"8\\\")\\n      (hash text=\\\"9:00AM\\\" value=\\\"9\\\")\\n      (hash text=\\\"10:00AM\\\" value=\\\"10\\\")\\n      (hash text=\\\"11:00AM\\\" value=\\\"11\\\")\\n      (hash text=\\\"12:00PM\\\" value=\\\"12\\\")\\n      (hash text=\\\"1:00PM\\\" value=\\\"13\\\")\\n      (hash text=\\\"2:00PM\\\" value=\\\"14\\\")\\n      (hash text=\\\"3:00PM\\\" value=\\\"15\\\")\\n      (hash text=\\\"4:00PM\\\" value=\\\"16\\\")\\n      (hash text=\\\"5:00PM\\\" value=\\\"17\\\")\\n      (hash text=\\\"6:00PM\\\" value=\\\"18\\\")\\n      (hash text=\\\"7:00PM\\\" value=\\\"19\\\")\\n      (hash text=\\\"8:00PM\\\" value=\\\"20\\\")\\n      (hash text=\\\"9:00PM\\\" value=\\\"21\\\")\\n      (hash text=\\\"10:00PM\\\" value=\\\"22\\\")\\n      (hash text=\\\"11:00PM\\\" value=\\\"23\\\")\\n    }}\\n    @onSelectItem={{this.setChangeAtHours}}\\n    @selectedValue={{moment-format @selectedDate 'H' timeZone=this.timezone}}\\n    @filterPlaceholder=\\\"Filter times\\\"\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/common/date-and-time-picker.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/date-and-time-picker.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport moment from 'moment';\nimport { action } from '@ember/object';\n\nexport default class ScheduleDateAndTimePicker extends Component {\n  @service appService;\n\n  get changeAt() {\n    return this._changeAtInTimezone();\n  }\n\n  get timezone() {\n    return this.appService.app.timezone;\n  }\n\n  _changeAtInTimezone() {\n    return moment(this.args.selectedDate).tz(this.timezone);\n  }\n\n  @action\n  setChangeAtHours(hours) {\n    let changeAtCopy = this._changeAtInTimezone();\n    changeAtCopy.set('hour', hours);\n    this.args.onChange(changeAtCopy.toDate());\n  }\n\n  @action\n  setChangeAtDate(date) {\n    let changeAtCopy = this._changeAtInTimezone();\n    changeAtCopy.set({\n      date: date.moment.date(),\n      month: date.moment.month(),\n      year: date.moment.year(),\n    });\n    this.args.onChange(changeAtCopy.toDate());\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcButton\\n  @type=\\\"secondary\\\"\\n  @onClick={{action \\\"toggleOpenState\\\"}}\\n  @disabled={{disabled}}\\n  data-test-date-dropdown-toggle={{true}}\\n  @forcedActive={{isOpen}}\\n>\\n  {{ic-interface-icon \\\"calendar\\\"}} {{formattedSelectedDate}} {{ic-interface-icon\\n    \\\"small-down-arrow\\\"\\n  }}\\n</IcButton>\\n{{#if isOpen}}\\n  <div\\n    class=\\\"dropdown o__opened f__custom-select__dropdown z__2 test__date-dropdown__opened\\\"\\n  >\\n    {{!-- template-lint-disable intercom/no-legacy-datepicker --}}\\n    <PowerCalendar\\n      @center={{centerDate}}\\n      @selected={{selectedDate}}\\n      @onCenterChange={{action (mut centerDate) value=\\\"date\\\"}}\\n      @onSelect={{action \\\"selectedDateChanged\\\" value=\\\"moment\\\"}} as |calendar|\\n    >\\n      {{calendar.nav}} <calendar.days\\n        @minDate={{minDate}}\\n        @maxDate={{maxDate}}\\n      />\\n    </PowerCalendar>\\n    {{!-- template-lint-enable intercom/no-legacy-datepicker --}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcButton\\n  @type=\\\"secondary\\\"\\n  @onClick={{action \\\"toggleOpenState\\\"}}\\n  @disabled={{disabled}}\\n  data-test-date-dropdown-toggle={{true}}\\n  @forcedActive={{isOpen}}\\n>\\n  {{ic-interface-icon \\\"calendar\\\"}} {{formattedSelectedDate}} {{ic-interface-icon\\n    \\\"small-down-arrow\\\"\\n  }}\\n</IcButton>\\n{{#if isOpen}}\\n  <div\\n    class=\\\"dropdown o__opened f__custom-select__dropdown z__2 test__date-dropdown__opened\\\"\\n  >\\n    {{!-- template-lint-disable intercom/no-legacy-datepicker --}}\\n    <PowerCalendar\\n      @center={{centerDate}}\\n      @selected={{selectedDate}}\\n      @onCenterChange={{action (mut centerDate) value=\\\"date\\\"}}\\n      @onSelect={{action \\\"selectedDateChanged\\\" value=\\\"moment\\\"}} as |calendar|\\n    >\\n      {{calendar.nav}} <calendar.days\\n        @minDate={{minDate}}\\n        @maxDate={{maxDate}}\\n      />\\n    </PowerCalendar>\\n    {{!-- template-lint-enable intercom/no-legacy-datepicker --}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/common/date-picker-dropdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/date-picker-dropdown.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { computed } from '@ember/object';\nimport IntercomDropdownComponent from 'embercom/components/intercom-dropdown-component';\nimport moment from 'moment';\n\nexport default IntercomDropdownComponent.extend({\n  tagName: 'span',\n  formattedSelectedDate: computed('selectedDate', function() {\n    return moment(this.selectedDate).format('MMM D, YYYY');\n  }),\n  actions: {\n    selectedDateChanged(date) {\n      let timezone = this.selectedDate.tz();\n      date = moment.tz(moment(date).format('YYYY-MM-DDTHH:mm:ss'), timezone);\n      this.set('isOpen', false);\n      this.trigger('changeSelectedDate', date);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showHeader}}\\n  <Common::DateRangePicker::Header\\n    @rangeEndSelected={{rangeEndSelected}}\\n    @range={{this.range}}\\n  />\\n{{/if}}\\n<div class=\\\"u__cf\\\">\\n  <PowerCalendarRange\\n    data-test-date-range-picker-header-first-month\\n    @classNames=\\\"u__left u__padl__20\\\"\\n    @center={{firstMonth}}\\n    @selected={{rangeWithoutZone}}\\n    @minRange={{0}}\\n    @onCenterChange={{action (mut secondMonth) value=\\\"moment\\\"}}\\n    @onSelect={{action (mut this.range) value=\\\"moment\\\"}} as |calendar|\\n  >\\n    <nav class=\\\"ember-power-calendar-nav u__centered-text-block u__padb__10\\\">\\n      <a\\n        class=\\\"ember-power-calendar-nav-control u__padr__10\\\"\\n        onclick={{action calendar.actions.moveCenter 0 \\\"month\\\"}}\\n        data-test-date-range-picker-previous\\n      >\\n        &laquo;\\n      </a>\\n      <span\\n        class=\\\"t__h4 date-range-picker__picker-month-title u__padr__60 u__padl__50\\\"\\n        data-test-date-range-picker-header-first-month-title\\n      >\\n        {{moment-format calendar.center \\\"MMMM YYYY\\\"}}\\n      </span>\\n    </nav>\\n    <calendar.days\\n      @weekdayFormat=\\\"min\\\"\\n      @minDate={{minDate}}\\n      @maxDate={{maxDate}}\\n    />\\n  </PowerCalendarRange>\\n  <PowerCalendarRange\\n    data-test-date-range-picker-header-second-month\\n    @classNames=\\\"u__right u__padr__20\\\"\\n    @center={{secondMonth}}\\n    @selected={{rangeWithoutZone}}\\n    @minRange={{0}}\\n    @onCenterChange={{action (mut secondMonth) value=\\\"moment\\\"}}\\n    @onSelect={{action (mut this.range) value=\\\"moment\\\"}} as |calendar|\\n  >\\n    <nav class=\\\"ember-power-calendar-nav u__centered-text-block u__padb__10\\\">\\n      <span\\n        class=\\\"t__h4 date-range-picker__picker-month-title u__padl__60 u__padr__50\\\"\\n        data-test-date-range-picker-header-second-month-title\\n      >\\n        {{moment-format calendar.center \\\"MMMM YYYY\\\"}}\\n      </span>\\n      <a\\n        class=\\\"ember-power-calendar-nav-control u__padl__10\\\"\\n        onclick={{action calendar.actions.moveCenter 1 \\\"month\\\"}}\\n        data-test-date-range-picker-next\\n      >\\n        &raquo;\\n      </a>\\n    </nav>\\n    <calendar.days\\n      @weekdayFormat=\\\"min\\\"\\n      @minDate={{minDate}}\\n      @maxDate={{maxDate}}\\n    />\\n  </PowerCalendarRange>\\n</div>\\n{{#if showFooter}}\\n  <Common::DateRangePicker::Footer\\n    @rangeEndSelected={{rangeEndSelected}}\\n    @range={{this.range}}\\n    @setRange={{setRange}}\\n    @cancel={{cancel}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showHeader}}\\n  <Common::DateRangePicker::Header\\n    @rangeEndSelected={{rangeEndSelected}}\\n    @range={{this.range}}\\n  />\\n{{/if}}\\n<div class=\\\"u__cf\\\">\\n  <PowerCalendarRange\\n    data-test-date-range-picker-header-first-month\\n    @classNames=\\\"u__left u__padl__20\\\"\\n    @center={{firstMonth}}\\n    @selected={{rangeWithoutZone}}\\n    @minRange={{0}}\\n    @onCenterChange={{action (mut secondMonth) value=\\\"moment\\\"}}\\n    @onSelect={{action (mut this.range) value=\\\"moment\\\"}} as |calendar|\\n  >\\n    <nav class=\\\"ember-power-calendar-nav u__centered-text-block u__padb__10\\\">\\n      <a\\n        class=\\\"ember-power-calendar-nav-control u__padr__10\\\"\\n        onclick={{action calendar.actions.moveCenter 0 \\\"month\\\"}}\\n        data-test-date-range-picker-previous\\n      >\\n        &laquo;\\n      </a>\\n      <span\\n        class=\\\"t__h4 date-range-picker__picker-month-title u__padr__60 u__padl__50\\\"\\n        data-test-date-range-picker-header-first-month-title\\n      >\\n        {{moment-format calendar.center \\\"MMMM YYYY\\\"}}\\n      </span>\\n    </nav>\\n    <calendar.days\\n      @weekdayFormat=\\\"min\\\"\\n      @minDate={{minDate}}\\n      @maxDate={{maxDate}}\\n    />\\n  </PowerCalendarRange>\\n  <PowerCalendarRange\\n    data-test-date-range-picker-header-second-month\\n    @classNames=\\\"u__right u__padr__20\\\"\\n    @center={{secondMonth}}\\n    @selected={{rangeWithoutZone}}\\n    @minRange={{0}}\\n    @onCenterChange={{action (mut secondMonth) value=\\\"moment\\\"}}\\n    @onSelect={{action (mut this.range) value=\\\"moment\\\"}} as |calendar|\\n  >\\n    <nav class=\\\"ember-power-calendar-nav u__centered-text-block u__padb__10\\\">\\n      <span\\n        class=\\\"t__h4 date-range-picker__picker-month-title u__padl__60 u__padr__50\\\"\\n        data-test-date-range-picker-header-second-month-title\\n      >\\n        {{moment-format calendar.center \\\"MMMM YYYY\\\"}}\\n      </span>\\n      <a\\n        class=\\\"ember-power-calendar-nav-control u__padl__10\\\"\\n        onclick={{action calendar.actions.moveCenter 1 \\\"month\\\"}}\\n        data-test-date-range-picker-next\\n      >\\n        &raquo;\\n      </a>\\n    </nav>\\n    <calendar.days\\n      @weekdayFormat=\\\"min\\\"\\n      @minDate={{minDate}}\\n      @maxDate={{maxDate}}\\n    />\\n  </PowerCalendarRange>\\n</div>\\n{{#if showFooter}}\\n  <Common::DateRangePicker::Footer\\n    @rangeEndSelected={{rangeEndSelected}}\\n    @range={{this.range}}\\n    @setRange={{setRange}}\\n    @cancel={{cancel}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/common/date-range-picker.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/date-range-picker.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly, notEmpty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport moment from 'moment';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nconst ISO_FORMAT_WITHOUT_TZ = 'YYYY-MM-DDTHH:mm:ss';\n\n// after we strip the app's zone we need to convert it back into a moment for ember-power-calendar\nlet stripAppTimezone = date => (date ? moment(moment(date).format(ISO_FORMAT_WITHOUT_TZ)) : null);\n\nexport default Component.extend({\n  classNames: ['date-range-picker__picker'],\n  appService: service(),\n  app: readOnly('appService.app'),\n  maxDate: ternaryToProperty(\n    'maximumSelectionWindowInYears',\n    'maxDateWithMaximumSelectionWindow',\n    'simpleMaxDate',\n  ),\n  showHeader: true,\n  showFooter: true,\n  simpleMaxDate: null,\n  canCustomizeMinDate: computed.or('maximumSelectionWindowInYears', 'canSelectAppCreationDate'),\n  maxDateWithMaximumSelectionWindow: computed(\n    'rangeWithoutZone.{start,end}',\n    'maximumSelectionWindowInYears',\n    function() {\n      let now = moment();\n      if (!this.get('rangeWithoutZone.end')) {\n        let rangeStartPlusMaxWindow = moment(this.get('rangeWithoutZone.start')).add(\n          this.maximumSelectionWindowInYears,\n          'years',\n        );\n        if (rangeStartPlusMaxWindow.isBefore(now)) {\n          return rangeStartPlusMaxWindow;\n        }\n      }\n      return now;\n    },\n  ),\n  minDate: ternaryToProperty(\n    'canCustomizeMinDate',\n    'minDateWithMaximumSelectionWindow',\n    'simpleMinDate',\n  ),\n  simpleMinDate: computed('maxDate', 'app.created_at', function() {\n    let appCreationDate = moment(this.get('app.created_at'));\n    if (appCreationDate.isAfter(moment().subtract(2, 'years'))) {\n      return appCreationDate;\n    }\n    return this.maxDate.clone().subtract(2, 'years');\n  }),\n  minDateWithMaximumSelectionWindow: computed(\n    'rangeWithoutZone.{start,end}',\n    'app.created_at',\n    'maxDate',\n    'canSelectAppCreationDate',\n    'maximumSelectionWindowInYears',\n    function() {\n      let appCreationDate = moment(this.get('app.created_at'));\n      if (this.canSelectAppCreationDate) {\n        return appCreationDate;\n      }\n      if (!this.get('rangeWithoutZone.end')) {\n        let rangeStartMinusMaxWindow = moment(this.get('rangeWithoutZone.start')).subtract(\n          this.maximumSelectionWindowInYears,\n          'years',\n        );\n        if (appCreationDate.isAfter(rangeStartMinusMaxWindow)) {\n          return appCreationDate;\n        }\n        return rangeStartMinusMaxWindow;\n      }\n      return this.maxDate.clone().subtract(2, 'years');\n    },\n  ),\n  secondMonth: null,\n  firstMonth: computed('secondMonth', function() {\n    return this.secondMonth.clone().subtract(1, 'months');\n  }),\n\n  range: {\n    start: null,\n    end: null,\n  },\n\n  rangeEndSelected: notEmpty('rangeWithoutZone.end'),\n\n  // because we pass a range as moment dates formatted in the app's zone,\n  // we need to strip the app's zone so that ember-power-calendar\n  // doesn't try to convert it to the computer's timezone if they are different\n  rangeWithoutZone: computed('range.{start,end}', function() {\n    return {\n      start: stripAppTimezone(this.get('range.start')),\n      end: stripAppTimezone(this.get('range.end')),\n    };\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.set('simpleMaxDate', moment());\n    this.set('secondMonth', moment());\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<hr class=\\\"sp__hr u__mb__20\\\" />\\n<div class=\\\"u__cf u__padr__20 u__padb__20\\\">\\n  <div class=\\\"u__right\\\">\\n    <IcButton\\n      data-test-date-range-picker-cancel\\n      @type=\\\"secondary\\\"\\n      @label=\\\"Cancel\\\"\\n      @onClick={{action @cancel}}\\n    />\\n    <IcButton\\n      data-test-date-range-picker-apply\\n      @type=\\\"primary\\\"\\n      @label=\\\"Apply\\\"\\n      @disabled={{not @rangeEndSelected}}\\n      @onClick={{action @setRange @range.start @range.end}}\\n    />\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<hr class=\\\"sp__hr u__mb__20\\\" />\\n<div class=\\\"u__cf u__padr__20 u__padb__20\\\">\\n  <div class=\\\"u__right\\\">\\n    <IcButton\\n      data-test-date-range-picker-cancel\\n      @type=\\\"secondary\\\"\\n      @label=\\\"Cancel\\\"\\n      @onClick={{action @cancel}}\\n    />\\n    <IcButton\\n      data-test-date-range-picker-apply\\n      @type=\\\"primary\\\"\\n      @label=\\\"Apply\\\"\\n      @disabled={{not @rangeEndSelected}}\\n      @onClick={{action @setRange @range.start @range.end}}\\n    />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/common/date-range-picker/footer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/date-range-picker/footer.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__cf u__padl__20 u__padt__10 date-range-picker__header\\\" data-test-date-range-picker-header>\\n  <div class=\\\"u__left u__padb__10 {{if (not rangeEndSelected) 'date-range-picker__header-date-highlight'}}\\\">\\n    <div class=\\\"t__label\\\">From</div>\\n    <span data-test-date-range-picker-header-from>{{if rangeWithoutZone.start (moment-format rangeWithoutZone.start 'MMM D, YYYY') ''}}</span>\\n  </div>\\n  <div class=\\\"u__right  u__padb__10 {{if rangeEndSelected 'date-range-picker__header-date-highlight'}}\\\">\\n    <div class=\\\"t__label\\\">To</div>\\n    <span class=\\\"{{unless range.end 'date-range-picker__header-end-unselected'}}\\\" data-test-date-range-picker-header-to>{{if rangeWithoutZone.end (moment-format rangeWithoutZone.end 'MMM D, YYYY') (moment-format now 'MMM D, YYYY')}}</span>\\n  </div>\\n</div>\\n<hr class=\\\"sp__hr u__mt__0\\\">\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__cf u__padl__20 u__padt__10 date-range-picker__header\\\" data-test-date-range-picker-header>\\n  <div class=\\\"u__left u__padb__10 {{if (not rangeEndSelected) 'date-range-picker__header-date-highlight'}}\\\">\\n    <div class=\\\"t__label\\\">From</div>\\n    <span data-test-date-range-picker-header-from>{{if rangeWithoutZone.start (moment-format rangeWithoutZone.start 'MMM D, YYYY') ''}}</span>\\n  </div>\\n  <div class=\\\"u__right  u__padb__10 {{if rangeEndSelected 'date-range-picker__header-date-highlight'}}\\\">\\n    <div class=\\\"t__label\\\">To</div>\\n    <span class=\\\"{{unless range.end 'date-range-picker__header-end-unselected'}}\\\" data-test-date-range-picker-header-to>{{if rangeWithoutZone.end (moment-format rangeWithoutZone.end 'MMM D, YYYY') (moment-format now 'MMM D, YYYY')}}</span>\\n  </div>\\n</div>\\n<hr class=\\\"sp__hr u__mt__0\\\">\\n\",\"moduleName\":\"embercom/components/common/date-range-picker/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/date-range-picker/header.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport moment from 'moment';\n\nconst ISO_FORMAT_WITHOUT_TZ = 'YYYY-MM-DDTHH:mm:ss';\n\n// after we strip the app's zone we need to convert it back into a moment for ember-power-calendar\nlet stripAppTimezone = date => (date ? moment(moment(date).format(ISO_FORMAT_WITHOUT_TZ)) : null);\n\nexport default Component.extend({\n  // because we pass a range as moment dates formatted in the app's zone,\n  // we need to strip the app's zone so that ember-power-calendar\n  // doesn't try to convert it to the computer's timezone if they are different\n  rangeWithoutZone: computed('range.{start,end}', function() {\n    return {\n      start: stripAppTimezone(this.get('range.start')),\n      end: stripAppTimezone(this.get('range.end')),\n    };\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Form data-test-day-hour-minute-input ...attributes as |form|>\\n  <div class=\\\"flex flex-row gap-4\\\">\\n    <form.Item data-test-days as |item| >\\n      <div class=\\\"flex flex-row gap-2\\\">\\n        <item.Input class=\\\"dhm-input__number\\\" @type=\\\"number\\\" @value={{this.durations.days}} disabled={{@isDisabled}} onChange={{this.onUpdate}} min=\\\"0\\\" />\\n        <label class=\\\"pt-2\\\">d</label>\\n      </div>\\n    </form.Item>\\n\\n    <form.Item data-test-hours as |item| >\\n      <div class=\\\"flex flex-row gap-2\\\">\\n        <item.Input class=\\\"dhm-input__number\\\" @type=\\\"number\\\" @value={{this.durations.hours}} disabled={{@isDisabled}} onChange={{this.onUpdate}} min=\\\"0\\\" />\\n        <label class=\\\"pt-2\\\">h</label>\\n      </div>\\n    </form.Item>\\n\\n    <form.Item data-test-minutes as |item| >\\n      <div class=\\\"flex flex-row gap-2\\\">\\n        <item.Input class=\\\"dhm-input__number\\\" @type=\\\"number\\\" @value={{this.durations.minutes}} disabled={{@isDisabled}} onChange={{this.onUpdate}} min=\\\"0\\\" />\\n        <label class=\\\"pt-2\\\">m</label>\\n      </div>\\n    </form.Item>\\n  </div>\\n</Form>\\n\", {\"contents\":\"<Form data-test-day-hour-minute-input ...attributes as |form|>\\n  <div class=\\\"flex flex-row gap-4\\\">\\n    <form.Item data-test-days as |item| >\\n      <div class=\\\"flex flex-row gap-2\\\">\\n        <item.Input class=\\\"dhm-input__number\\\" @type=\\\"number\\\" @value={{this.durations.days}} disabled={{@isDisabled}} onChange={{this.onUpdate}} min=\\\"0\\\" />\\n        <label class=\\\"pt-2\\\">d</label>\\n      </div>\\n    </form.Item>\\n\\n    <form.Item data-test-hours as |item| >\\n      <div class=\\\"flex flex-row gap-2\\\">\\n        <item.Input class=\\\"dhm-input__number\\\" @type=\\\"number\\\" @value={{this.durations.hours}} disabled={{@isDisabled}} onChange={{this.onUpdate}} min=\\\"0\\\" />\\n        <label class=\\\"pt-2\\\">h</label>\\n      </div>\\n    </form.Item>\\n\\n    <form.Item data-test-minutes as |item| >\\n      <div class=\\\"flex flex-row gap-2\\\">\\n        <item.Input class=\\\"dhm-input__number\\\" @type=\\\"number\\\" @value={{this.durations.minutes}} disabled={{@isDisabled}} onChange={{this.onUpdate}} min=\\\"0\\\" />\\n        <label class=\\\"pt-2\\\">m</label>\\n      </div>\\n    </form.Item>\\n  </div>\\n</Form>\\n\",\"moduleName\":\"embercom/components/common/day-hour-minute-input.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/day-hour-minute-input.hbs\"}});\nimport Component from '@glimmer/component';\nimport moment from 'moment';\nimport { action } from '@ember/object';\n\nexport default class CommonDayHourMinuteInputComponent extends Component {\n  durations = undefined;\n\n  constructor() {\n    super(...arguments);\n    let milliseconds = this.args.duration;\n    let duration = moment.duration(milliseconds);\n    this.durations = {\n      days: Math.floor(duration.asDays()),\n      hours: Math.floor(duration.asHours()) % 24,\n      minutes: Math.floor(duration.asMinutes()) % 60,\n    };\n  }\n\n  @action onUpdate() {\n    let time =\n      moment.duration(Number(this.durations.days), 'days').asMilliseconds() +\n      moment.duration(Number(this.durations.hours), 'hours').asMilliseconds() +\n      moment.duration(Number(this.durations.minutes), 'minutes').asMilliseconds();\n    if (this.args.onUpdate) {\n      this.args.onUpdate(time);\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/no-on-calls-in-components */\nimport { schedule } from '@ember/runloop';\nimport { on } from '@ember/object/evented';\nimport OneWayInput from 'ember-one-way-controls/components/one-way-input';\n\nexport default OneWayInput.extend({\n  classNames: ['f__expanding-one-way-input'],\n  setupOnInsert: on('didInsertElement', function() {\n    this.resizeToFit();\n  }),\n  _oldValue: null,\n  _oldPlaceholder: null,\n  attrsUpdated: on('didUpdateAttrs', function() {\n    let newValue = this.value;\n    let newPlaceholder = this.placeholder;\n    if (this._oldValue !== newValue || this._oldPlaceholder !== newPlaceholder) {\n      this.resizeToFit();\n    }\n    this.setProperties({\n      _oldValue: newValue,\n      _oldPlaceholder: newPlaceholder,\n    });\n  }),\n\n  resizeToFit() {\n    // we need to run the following once the value has been copied\n    // to the element\n    schedule('actions', () => {\n      let element = this.element;\n      let elementType = element.type;\n      let valueIsEmpty = element.value === '';\n\n      if (valueIsEmpty) {\n        // temporarily set the element's value to the placeholder value\n        // so that the element will be wide enough to display it\n        // clear the element's type attribute, so the placeholder can contain\n        // a value that's not actually valid\n        // (e.g. type='number' placeholder='123...')\n        element.type = '';\n        element.value = element.placeholder;\n      }\n\n      element.style.width = 0;\n      // we need 1 pixel extra 'padding' for the cursor - see issue #35333\n      element.style.width = `${element.scrollWidth + 1}px`;\n\n      if (valueIsEmpty) {\n        // revert our temporary swap-in of the placeholder\n        element.type = elementType;\n        element.value = '';\n      }\n    });\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (service 'navbar-collapsing-service') as |navbarCollapsingService|}}\\n  <div class=\\\"flex flex-row items-center {{if this.includePadding 'p-6 pl-8 pr-8'}}\\\" ...attributes>\\n    <a\\n      data-test-submenu-collapse-icon\\n      class=\\\"submenu__collapse-toggle__icon u__mr__15 layout__box\\\"\\n      {{on 'click' navbarCollapsingService.toggleNavbarCollapsed}}\\n    >\\n      <IcTooltipIcon @icon=\\\"hamburger\\\" @content={{if navbarCollapsingService.navbarCollapsed \\\"Expand menu\\\" \\\"Collapse menu\\\"}} />\\n    </a>\\n    {{#if hasBlock}}\\n      <div class=\\\"flex flex-row items-center flex-1 submenu__heading-block\\\">\\n        {{yield}}\\n      </div>\\n    {{else}}\\n      <Heading @size=\\\"1\\\" class=\\\"u__one-truncated-line\\\">\\n        {{@title}}\\n      </Heading>\\n    {{/if}}\\n  </div>\\n{{/let}}\\n\", {\"contents\":\"{{#let (service 'navbar-collapsing-service') as |navbarCollapsingService|}}\\n  <div class=\\\"flex flex-row items-center {{if this.includePadding 'p-6 pl-8 pr-8'}}\\\" ...attributes>\\n    <a\\n      data-test-submenu-collapse-icon\\n      class=\\\"submenu__collapse-toggle__icon u__mr__15 layout__box\\\"\\n      {{on 'click' navbarCollapsingService.toggleNavbarCollapsed}}\\n    >\\n      <IcTooltipIcon @icon=\\\"hamburger\\\" @content={{if navbarCollapsingService.navbarCollapsed \\\"Expand menu\\\" \\\"Collapse menu\\\"}} />\\n    </a>\\n    {{#if hasBlock}}\\n      <div class=\\\"flex flex-row items-center flex-1 submenu__heading-block\\\">\\n        {{yield}}\\n      </div>\\n    {{else}}\\n      <Heading @size=\\\"1\\\" class=\\\"u__one-truncated-line\\\">\\n        {{@title}}\\n      </Heading>\\n    {{/if}}\\n  </div>\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/common/hamburger-menu.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/hamburger-menu.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class extends Component {\n  get includePadding() {\n    if (typeof this.args.includePadding === 'undefined') {\n      return true;\n    } else {\n      return this.args.includePadding;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"btn__toggle-list u__cf o__fit layout__box o__has-columns\\\">\\n  {{#each buttons as |button index|}}\\n    <span data-test-button-group-item-label={{button.label}} class=\\\"btn o__toggle layout__box o__flexes-to-1 test__button-group__item {{if isDisabled 'o__disabled'}} {{if button.selected 'o__selected'}}\\\" {{action 'select' button.value}}>\\n      <span class=\\\"test__button-group__item-icon\\\">\\n        {{#if button.icon}}\\n          {{ic-interface-icon button.icon}}\\n        {{/if}}\\n      </span>\\n      <span class=\\\"test__button-group__item-label\\\">\\n        {{button.label}}\\n      </span>\\n    </span>\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"btn__toggle-list u__cf o__fit layout__box o__has-columns\\\">\\n  {{#each buttons as |button index|}}\\n    <span data-test-button-group-item-label={{button.label}} class=\\\"btn o__toggle layout__box o__flexes-to-1 test__button-group__item {{if isDisabled 'o__disabled'}} {{if button.selected 'o__selected'}}\\\" {{action 'select' button.value}}>\\n      <span class=\\\"test__button-group__item-icon\\\">\\n        {{#if button.icon}}\\n          {{ic-interface-icon button.icon}}\\n        {{/if}}\\n      </span>\\n      <span class=\\\"test__button-group__item-label\\\">\\n        {{button.label}}\\n      </span>\\n    </span>\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/common/horizontal-button-group.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/horizontal-button-group.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport ButtonGroup from 'embercom/components/common/button-group';\n\n// Example content:\n// [{\n//   value: 'chat',\n//   label: 'Chat',\n//   icon: 'chat-bubble',\n// },\n// {\n//   value: 'small-announcement',\n//   label: 'Note',\n//   icon: 'inapp-note'\n// }]\n\nexport default ButtonGroup.extend();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if selected}}\\n  <span class=\\\"f__horizontal-select-selected-icon\\\">\\n    {{ic-interface-icon \\\"small-check\\\"}}\\n  </span>\\n{{/if}}\\n<IcTooltip\\n  @isDisabled={{not (and disabled disabledTooltipMessagePresent)}}\\n  as |t|\\n>\\n  <t.opener>\\n    <div class=\\\"f__horizontal-select-inner u__center-item t__centered\\\">\\n      {{yield deselected}}\\n    </div>\\n  </t.opener>\\n  <t.content>\\n    {{disabledTooltipMessage}}\\n  </t.content>\\n</IcTooltip>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if selected}}\\n  <span class=\\\"f__horizontal-select-selected-icon\\\">\\n    {{ic-interface-icon \\\"small-check\\\"}}\\n  </span>\\n{{/if}}\\n<IcTooltip\\n  @isDisabled={{not (and disabled disabledTooltipMessagePresent)}}\\n  as |t|\\n>\\n  <t.opener>\\n    <div class=\\\"f__horizontal-select-inner u__center-item t__centered\\\">\\n      {{yield deselected}}\\n    </div>\\n  </t.opener>\\n  <t.content>\\n    {{disabledTooltipMessage}}\\n  </t.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/common/horizontal-select-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/horizontal-select-item.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { not, notEmpty } from '@ember/object/computed';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  classNames: ['f__horizontal-select', 'layout__box', 'o__flexes-to-1'],\n  classNameBindings: [\n    'disabled:o__disabled',\n    'selected:o__selected',\n    'jsBindingClass',\n    'testBindingClasses',\n  ],\n  disabled: false,\n  disabledTooltipMessagePresent: notEmpty('disabledTooltipMessage'),\n  deselected: not('selected'),\n  onClick: notImplemented('onClick action is required'),\n\n  mouseEnterHandler: () => {},\n  mouseExitHandler: () => {},\n\n  click() {\n    if (this.disabled) {\n      return;\n    }\n    this.onClick();\n  },\n\n  mouseEnter() {\n    this.mouseEnterHandler();\n  },\n\n  mouseLeave() {\n    this.mouseExitHandler();\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Text\\n  @size=\\\"small\\\"\\n  class=\\\"mr-4\\\"\\n  data-test-item={{@item.testName}}\\n  data-test-icon-and-text\\n  {{tooltip content=@item.tooltip isDisabled=(not @item.tooltip)}}\\n  ...attributes\\n>\\n  {{#if @item.icon}}{{ic-interface-icon @item.icon color='gray'}}{{/if}}\\n  {{#if @item.sentenceCase}}\\n    {{sentence-case @item.text}}\\n  {{else}}\\n    {{@item.text}}\\n  {{/if}}\\n</Text>\\n\", {\"contents\":\"<Text\\n  @size=\\\"small\\\"\\n  class=\\\"mr-4\\\"\\n  data-test-item={{@item.testName}}\\n  data-test-icon-and-text\\n  {{tooltip content=@item.tooltip isDisabled=(not @item.tooltip)}}\\n  ...attributes\\n>\\n  {{#if @item.icon}}{{ic-interface-icon @item.icon color='gray'}}{{/if}}\\n  {{#if @item.sentenceCase}}\\n    {{sentence-case @item.text}}\\n  {{else}}\\n    {{@item.text}}\\n  {{/if}}\\n</Text>\\n\",\"moduleName\":\"embercom/components/common/icon-and-text.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/icon-and-text.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{yield\\n  (hash\\n    PillsList=(component\\n      \\\"common/input-with-pills/pills-list\\\"\\n      pills=@pills\\n      removePill=(optional @removePill)\\n    )\\n    InputField=(component\\n      \\\"common/input-with-pills/input-field\\\" inputValue=@inputValue\\n    )\\n  )\\n}}\\n\", {\"contents\":\"{{yield\\n  (hash\\n    PillsList=(component\\n      \\\"common/input-with-pills/pills-list\\\"\\n      pills=@pills\\n      removePill=(optional @removePill)\\n    )\\n    InputField=(component\\n      \\\"common/input-with-pills/input-field\\\" inputValue=@inputValue\\n    )\\n  )\\n}}\\n\",\"moduleName\":\"embercom/components/common/input-with-pills.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/input-with-pills.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nconst BACKSPACE = 8;\n\nexport default Component.extend({\n  pills: null,\n\n  onFocus: undefined,\n  onBlur: undefined,\n  onKeyDown: undefined,\n\n  keyDown(e) {\n    let cursorPosition = e.target.selectionStart;\n    let lastPill = this.pills.lastObject;\n\n    if (e.which === BACKSPACE) {\n      if (cursorPosition === 0 && this.pills.length > 0) {\n        if (lastPill.selected) {\n          this.removePill(lastPill);\n        }\n        this._markLastPillForDeletionIfAvailable();\n      }\n    } else if (lastPill) {\n      lastPill.set('selected', false);\n    }\n    if (this.onKeyDown) {\n      this.onKeyDown();\n    }\n  },\n\n  mouseDown(e) {\n    let inContainer = this.element.contains(e.target);\n    this.set('activeClickInContainer', inContainer);\n  },\n\n  mouseUp() {\n    if (this.activeClickInContainer) {\n      this.element.querySelector('input').focus();\n    }\n    this.set('activeClickInContainer', undefined);\n  },\n\n  focusOut() {\n    if (!this.activeClickInContainer && this.onBlur) {\n      this.onBlur();\n    }\n  },\n\n  focusIn() {\n    if (this.onFocus) {\n      this.onFocus();\n    }\n  },\n\n  _markLastPillForDeletionIfAvailable() {\n    let lastPill = this.pills.lastObject;\n    if (lastPill) {\n      lastPill.set('selected', true);\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Input\\n  @class=\\\"js__input-with-pills__input\\\"\\n  @autocomplete=\\\"off\\\"\\n  @spellcheck=\\\"false\\\"\\n  @value={{@inputValue}}\\n  @placeholder={{@placeholder}}\\n  {{auto-focus-element}}\\n  data-test-input-with-pills-input\\n  ...attributes\\n/>\\n\", {\"contents\":\"<Input\\n  @class=\\\"js__input-with-pills__input\\\"\\n  @autocomplete=\\\"off\\\"\\n  @spellcheck=\\\"false\\\"\\n  @value={{@inputValue}}\\n  @placeholder={{@placeholder}}\\n  {{auto-focus-element}}\\n  data-test-input-with-pills-input\\n  ...attributes\\n/>\\n\",\"moduleName\":\"embercom/components/common/input-with-pills/input-field.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/input-with-pills/input-field.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- template-lint-disable no-inline-styles --}}\\n<Popover\\n  @showOn={{array \\\"click\\\"}}\\n  @hideOn={{array \\\"clickout\\\"}}\\n  @placement=\\\"bottom-start\\\"\\n  @fallbackPlacements={{array \\\"top-start\\\"}}\\n  @hideDelay={{200}}\\n  @offsetDistance={{0}}\\n  @repositionOnOpenerResize={{true}}\\n  @modifiers={{\\n    array\\n    (hash\\n      name='dropdown-opener-measuring-modifier'\\n      enabled=true\\n      phase='main'\\n      fn=this.measureOpener\\n    )\\n    (hash\\n      name='dropdown-max-height-measuring-modifier'\\n      enabled=true\\n      phase='write'\\n      requiresIfExists=(array 'offset' 'preventOverflow' 'flip')\\n      fn=this.calculateMaxHeight\\n    )\\n  }}\\n  ...attributes\\n  as |popover|\\n>\\n  <popover.Opener>\\n    <Common::InputWithPills\\n      @pills={{this.selectedItems}}\\n      @inputValue={{this.searchText}}\\n      @removePill={{this.removePill}}\\n      @onKeyDown={{fn this.onInputKeyDown popover}}\\n      @onFocus={{fn this.onFocus popover}}\\n      @onBlur={{fn this.offFocus popover}}\\n      as |inputWithPills|\\n    >\\n      <div class=\\\"flex flex-row flex-wrap gap-1 input-with-dropdown form__input ember-text-field overflow-y-scroll u__overflow-x-auto {{if this.inputHasFocus 'o__focus'}}\\\">\\n        <inputWithPills.PillsList class=\\\"mt-1 input-with-dropdown__pill-item\\\" as |option|>\\n          <PulseCandidate::Pill\\n            @type=\\\"user\\\"\\n            @model={{hash name=option.text avatar=option.avatar avatarData=option.avatarData}}\\n            @selected={{option.selected}}\\n            @readonly={{option.readonly}}\\n            @onDelete={{fn this.removePill option}}\\n          />\\n        </inputWithPills.PillsList>\\n        <inputWithPills.InputField\\n          class=\\\"input-with-pills__input\\\"\\n          @placeholder={{unless this.selectedItems @searchPlaceholder}}\\n        />\\n      </div>\\n    </Common::InputWithPills>\\n  </popover.Opener>\\n  <popover.Content @fullBleed={{true}} class=\\\"pt-2 pb-2\\\">\\n    <div style={{this.popoverStyle}} class=\\\"dropdown__list\\\">\\n      {{#each this.displayedItems as |item index|}}\\n        <div\\n          class=\\\"dropdown__list-item  {{if (eq index this.hoveredItemIndex) 'o__selected'}}\\\"\\n          {{on \\\"click\\\" (fn this.onSelectItem item)}}\\n          {{on \\\"mouseenter\\\" (fn this.itemMouseFocused index)}}\\n          {{on \\\"mouseleave\\\" (set this.mouseFocused false)}}\\n          data-test-input-with-dropdown-item={{item.value}}\\n          tabindex=\\\"0\\\"\\n        >\\n          {{item.text}}\\n        </div>\\n      {{else}}\\n        <div data-test-no-items-message class=\\\"dropdown__list-item\\\">{{this.noItemMessage}}</div>\\n      {{/each}}\\n    </div>\\n  </popover.Content>\\n</Popover>\\n\", {\"contents\":\"{{!-- template-lint-disable no-inline-styles --}}\\n<Popover\\n  @showOn={{array \\\"click\\\"}}\\n  @hideOn={{array \\\"clickout\\\"}}\\n  @placement=\\\"bottom-start\\\"\\n  @fallbackPlacements={{array \\\"top-start\\\"}}\\n  @hideDelay={{200}}\\n  @offsetDistance={{0}}\\n  @repositionOnOpenerResize={{true}}\\n  @modifiers={{\\n    array\\n    (hash\\n      name='dropdown-opener-measuring-modifier'\\n      enabled=true\\n      phase='main'\\n      fn=this.measureOpener\\n    )\\n    (hash\\n      name='dropdown-max-height-measuring-modifier'\\n      enabled=true\\n      phase='write'\\n      requiresIfExists=(array 'offset' 'preventOverflow' 'flip')\\n      fn=this.calculateMaxHeight\\n    )\\n  }}\\n  ...attributes\\n  as |popover|\\n>\\n  <popover.Opener>\\n    <Common::InputWithPills\\n      @pills={{this.selectedItems}}\\n      @inputValue={{this.searchText}}\\n      @removePill={{this.removePill}}\\n      @onKeyDown={{fn this.onInputKeyDown popover}}\\n      @onFocus={{fn this.onFocus popover}}\\n      @onBlur={{fn this.offFocus popover}}\\n      as |inputWithPills|\\n    >\\n      <div class=\\\"flex flex-row flex-wrap gap-1 input-with-dropdown form__input ember-text-field overflow-y-scroll u__overflow-x-auto {{if this.inputHasFocus 'o__focus'}}\\\">\\n        <inputWithPills.PillsList class=\\\"mt-1 input-with-dropdown__pill-item\\\" as |option|>\\n          <PulseCandidate::Pill\\n            @type=\\\"user\\\"\\n            @model={{hash name=option.text avatar=option.avatar avatarData=option.avatarData}}\\n            @selected={{option.selected}}\\n            @readonly={{option.readonly}}\\n            @onDelete={{fn this.removePill option}}\\n          />\\n        </inputWithPills.PillsList>\\n        <inputWithPills.InputField\\n          class=\\\"input-with-pills__input\\\"\\n          @placeholder={{unless this.selectedItems @searchPlaceholder}}\\n        />\\n      </div>\\n    </Common::InputWithPills>\\n  </popover.Opener>\\n  <popover.Content @fullBleed={{true}} class=\\\"pt-2 pb-2\\\">\\n    <div style={{this.popoverStyle}} class=\\\"dropdown__list\\\">\\n      {{#each this.displayedItems as |item index|}}\\n        <div\\n          class=\\\"dropdown__list-item  {{if (eq index this.hoveredItemIndex) 'o__selected'}}\\\"\\n          {{on \\\"click\\\" (fn this.onSelectItem item)}}\\n          {{on \\\"mouseenter\\\" (fn this.itemMouseFocused index)}}\\n          {{on \\\"mouseleave\\\" (set this.mouseFocused false)}}\\n          data-test-input-with-dropdown-item={{item.value}}\\n          tabindex=\\\"0\\\"\\n        >\\n          {{item.text}}\\n        </div>\\n      {{else}}\\n        <div data-test-no-items-message class=\\\"dropdown__list-item\\\">{{this.noItemMessage}}</div>\\n      {{/each}}\\n    </div>\\n  </popover.Content>\\n</Popover>\\n\",\"moduleName\":\"embercom/components/common/input-with-pills/input-with-dropdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/input-with-pills/input-with-dropdown.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { next } from '@ember/runloop';\nimport { calculateMaxHeight } from '@intercom/embercom-core/lib/dropdown-utils';\nimport trustedStyle from '@intercom/embercom-core/lib/trusted-style';\nimport { isPresent } from '@ember/utils';\n\nexport default class InputWithDropdown extends Component {\n  @tracked searchText;\n  @tracked inputHasFocus = false;\n  @tracked openerWidth;\n  @tracked maxOverlayHeight;\n  @tracked hoveredItemIndex = 0;\n  @tracked mouseFocused = false;\n  @tracked selectedItems = this.args.options.filter(o => o.isSelected);\n  isFirstLoad = true;\n  keyDownHandlers = {\n    Escape: this.onEscape.bind(this),\n    ArrowDown: this.onArrowDown.bind(this),\n    ArrowUp: this.onArrowUp.bind(this),\n    Enter: this.onEnter.bind(this),\n  };\n\n  get nonSelectedItems() {\n    let selectedValues = this.selectedItems.map(s => s.value);\n    return this.args.options.filter(t => !selectedValues.includes(t.value));\n  }\n\n  get displayedItems() {\n    if (this.searchText) {\n      return this.nonSelectedItems.filter(t =>\n        t.text.toLowerCase().includes(this.searchText.toLowerCase()),\n      );\n    } else {\n      return this.nonSelectedItems;\n    }\n  }\n\n  get popoverStyle() {\n    return trustedStyle`width: ${this.openerWidth}px; max-height: ${this.maxOverlayHeight}px; overflow: scroll;`;\n  }\n\n  get noItemMessage() {\n    return isPresent(this.args.noItemPlaceholder)\n      ? this.args.noItemPlaceholder\n      : 'No matching items';\n  }\n\n  @action\n  removePill(selectedOption) {\n    if (selectedOption.readonly) {\n      return;\n    }\n    this.selectedItems.removeObject(selectedOption);\n    if (this.args.onChange) {\n      this.args.onChange(this.selectedItems.map(s => s.value));\n    }\n  }\n\n  @action\n  onFocus(popover) {\n    this.inputHasFocus = true;\n    if (!this.isFirstLoad) {\n      popover.show();\n    }\n    this.isFirstLoad = false;\n  }\n\n  @action\n  offFocus(popover) {\n    this.inputHasFocus = false;\n    this.hoveredItemIndex = 0;\n    popover.hide();\n  }\n\n  @action\n  itemMouseFocused(index) {\n    this.mouseFocused = true;\n    this.hoveredItemIndex = index;\n  }\n\n  onEscape(event, popover) {\n    popover.hide();\n    event.stopPropagation();\n    this.hoveredItemIndex = 0;\n  }\n\n  onArrowUp(event, popover) {\n    this.mouseFocused = false;\n    this.hoveredItemIndex = Math.max(this.hoveredItemIndex - 1, 0);\n    this.scrollToItem(-this.itemHeight);\n  }\n\n  onArrowDown(event, popover) {\n    if (!popover.isVisible) {\n      popover.show();\n    } else {\n      this.mouseFocused = false;\n      this.hoveredItemIndex = Math.min(this.hoveredItemIndex + 1, this.displayedItems.length - 1);\n      this.scrollToItem(this.itemHeight);\n    }\n  }\n\n  get itemHeight() {\n    let item = document.querySelector('.dropdown__list-item');\n    return item.offsetHeight;\n  }\n\n  scrollToItem(offset) {\n    let container = document.querySelector('.dropdown__list');\n    container.scrollTop += offset;\n  }\n\n  onEnter(event, popover) {\n    this.onSelectItem(this.displayedItems[this.hoveredItemIndex]);\n  }\n\n  @action\n  onInputKeyDown(popover) {\n    let key = event.key;\n    if (this.keyDownHandlers[key]) {\n      this.keyDownHandlers[key](event, popover);\n      return;\n    }\n    if (popover.isVisible) {\n      this.hoveredItemIndex = 0;\n    } else {\n      popover.show();\n    }\n  }\n\n  @action\n  measureOpener(data) {\n    if (!this.isDestroying) {\n      this.openerWidth = data.state.elements.reference.offsetWidth;\n    }\n  }\n  @action\n  calculateMaxHeight(popperModifierData) {\n    if (!this.isDestroying) {\n      this.maxOverlayHeight = calculateMaxHeight(popperModifierData);\n    }\n  }\n  @action\n  onSelectItem(item) {\n    this.selectedItems.pushObject(item);\n    if (this.args.onChange) {\n      this.args.onChange(this.selectedItems.map(s => s.value));\n    }\n    this.searchText = '';\n    next(() => {\n      let container = document.querySelector('.input-with-dropdown');\n      container.scrollTo({ top: container.scrollHeight });\n      document.querySelector('.js__input-with-pills__input').focus();\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#each @pills as |pill index|}}\\n  <span data-test-pill-list-pill=\\\"{{index}}\\\" ...attributes>\\n    {{yield pill}}\\n  </span>\\n{{/each}}\\n\", {\"contents\":\"{{#each @pills as |pill index|}}\\n  <span data-test-pill-list-pill=\\\"{{index}}\\\" ...attributes>\\n    {{yield pill}}\\n  </span>\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/common/input-with-pills/pills-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/input-with-pills/pills-list.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex-auto min-w-0\\\">\\n  {{locale.name}}\\n</div>\\n{{#unless isDefaultLocale}}\\n  <div class=\\\"u__ml__10\\\">\\n    <a {{action 'makeDefaultLanguage' locale.localeId}} class=\\\"btn__tertiary\\\" data-test-make-permitted-locale-default>Make default</a>\\n  </div>\\n  <div class=\\\"u__ml__10\\\">\\n    <a {{action 'deleteLanguage' locale.localeId}} class=\\\"btn__tertiary o__destructive\\\" data-test-delete-permitted-locale>Delete</a>\\n  </div>\\n{{/unless}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex-auto min-w-0\\\">\\n  {{locale.name}}\\n</div>\\n{{#unless isDefaultLocale}}\\n  <div class=\\\"u__ml__10\\\">\\n    <a {{action 'makeDefaultLanguage' locale.localeId}} class=\\\"btn__tertiary\\\" data-test-make-permitted-locale-default>Make default</a>\\n  </div>\\n  <div class=\\\"u__ml__10\\\">\\n    <a {{action 'deleteLanguage' locale.localeId}} class=\\\"btn__tertiary o__destructive\\\" data-test-delete-permitted-locale>Delete</a>\\n  </div>\\n{{/unless}}\\n\",\"moduleName\":\"embercom/components/common/language/permitted-locale-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/language/permitted-locale-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { equalToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  'data-test-permitted-locale': true,\n  classNames: ['flex', 'items-start'],\n  isDefaultLocale: equalToProperty('locale.localeId', 'defaultLocale.localeId'),\n\n  actions: {\n    makeDefaultLanguage(localeId) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('makeDefaultLanguage', localeId);\n    },\n    deleteLanguage(localeId) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('deleteLanguage', localeId);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__pad__40 layout__box o__has-columns legacy-hero-banner__container\\\" ...attributes>\\n  {{#if @title}}\\n    <Common::LegacyHeroBanner::TitleSection @svg={{@svg}}>\\n      <h1 class=\\\"t__hero-title\\\">\\n        {{@title}}\\n      </h1>\\n    </Common::LegacyHeroBanner::TitleSection>\\n    <Common::LegacyHeroBanner::Description @wide={{@wide}} @fullWidth={{@fullWidth}}>\\n      {{yield}}\\n    </Common::LegacyHeroBanner::Description>\\n  {{else}}\\n    {{yield\\n      (hash\\n        title-section=(component \\\"common/legacy-hero-banner/title-section\\\" svg=@svg)\\n        description=(component \\\"common/legacy-hero-banner/description\\\")\\n      )\\n    }}\\n  {{/if}}\\n</div>\", {\"contents\":\"<div class=\\\"u__pad__40 layout__box o__has-columns legacy-hero-banner__container\\\" ...attributes>\\n  {{#if @title}}\\n    <Common::LegacyHeroBanner::TitleSection @svg={{@svg}}>\\n      <h1 class=\\\"t__hero-title\\\">\\n        {{@title}}\\n      </h1>\\n    </Common::LegacyHeroBanner::TitleSection>\\n    <Common::LegacyHeroBanner::Description @wide={{@wide}} @fullWidth={{@fullWidth}}>\\n      {{yield}}\\n    </Common::LegacyHeroBanner::Description>\\n  {{else}}\\n    {{yield\\n      (hash\\n        title-section=(component \\\"common/legacy-hero-banner/title-section\\\" svg=@svg)\\n        description=(component \\\"common/legacy-hero-banner/description\\\")\\n      )\\n    }}\\n  {{/if}}\\n</div>\",\"moduleName\":\"embercom/components/common/legacy-hero-banner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/legacy-hero-banner.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__flexes-to-1\\\">\\n  <div class=\\\"legacy-hero-banner__description {{if @wide 'o__wide'}} {{if @fullWidth 'o__full-width'}}\\\">\\n    {{yield}}\\n  </div>\\n</div>\", {\"contents\":\"<div class=\\\"layout__box o__flexes-to-1\\\">\\n  <div class=\\\"legacy-hero-banner__description {{if @wide 'o__wide'}} {{if @fullWidth 'o__full-width'}}\\\">\\n    {{yield}}\\n  </div>\\n</div>\",\"moduleName\":\"embercom/components/common/legacy-hero-banner/description.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/legacy-hero-banner/description.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__has-columns u__mr__35 legacy-hero-banner__logo\\\">\\n  <div class=\\\"layout__box o__centers-all o__has-columns\\\">\\n    <div data-test-hero-banner-svg class=\\\"layout__box u__mr__15 legacy-hero-banner__icon\\\">\\n      {{inline-svg @svg}}\\n    </div>\\n    <div data-test-hero-banner-title class=\\\"layout__box u__mr__35\\\">\\n      {{yield}}\\n    </div>\\n  </div>\\n</div>\", {\"contents\":\"<div class=\\\"layout__box o__has-columns u__mr__35 legacy-hero-banner__logo\\\">\\n  <div class=\\\"layout__box o__centers-all o__has-columns\\\">\\n    <div data-test-hero-banner-svg class=\\\"layout__box u__mr__15 legacy-hero-banner__icon\\\">\\n      {{inline-svg @svg}}\\n    </div>\\n    <div data-test-hero-banner-title class=\\\"layout__box u__mr__35\\\">\\n      {{yield}}\\n    </div>\\n  </div>\\n</div>\",\"moduleName\":\"embercom/components/common/legacy-hero-banner/title-section.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/legacy-hero-banner/title-section.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"lightbox__opener\\\"\\n  data-test-lightbox-opener-for={{@item.src}}\\n  {{on 'click' (fn @handleClick @item)}}\\n>\\n  {{yield}}\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"lightbox__opener\\\"\\n  data-test-lightbox-opener-for={{@item.src}}\\n  {{on 'click' (fn @handleClick @item)}}\\n>\\n  {{yield}}\\n</div>\\n\",\"moduleName\":\"embercom/components/common/lightbox-image-opener.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/lightbox-image-opener.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{yield\\n  (hash\\n    opener=(component\\n      \\\"common/lightbox-image-opener\\\"\\n      handleClick=this.showLightbox\\n    )\\n    items=this.items\\n  )\\n}}\\n\\n{{#if this.isVisible}}\\n  <div class=\\\"flex flex-col justify-center items-center lightbox\\\" data-popover-content data-test-lightbox-overlay {{on 'click' this.hideLightbox}}>\\n    <button\\n      class=\\\"lightbox__close-icon u__pointer-cursor\\\"\\n      data-test-lightbox-close-button\\n      {{on 'click' this.hideLightbox}}\\n    >\\n      {{ic-interface-icon \\\"close\\\" size=24 solo=true}}\\n    </button>\\n    <img\\n      src=\\\"{{this.currentImage}}\\\"\\n      class=\\\"lightbox__image\\\"\\n      data-test-lightbox-image\\n    />\\n    <div class=\\\"lightbox__loading-indicator\\\">\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{yield\\n  (hash\\n    opener=(component\\n      \\\"common/lightbox-image-opener\\\"\\n      handleClick=this.showLightbox\\n    )\\n    items=this.items\\n  )\\n}}\\n\\n{{#if this.isVisible}}\\n  <div class=\\\"flex flex-col justify-center items-center lightbox\\\" data-popover-content data-test-lightbox-overlay {{on 'click' this.hideLightbox}}>\\n    <button\\n      class=\\\"lightbox__close-icon u__pointer-cursor\\\"\\n      data-test-lightbox-close-button\\n      {{on 'click' this.hideLightbox}}\\n    >\\n      {{ic-interface-icon \\\"close\\\" size=24 solo=true}}\\n    </button>\\n    <img\\n      src=\\\"{{this.currentImage}}\\\"\\n      class=\\\"lightbox__image\\\"\\n      data-test-lightbox-image\\n    />\\n    <div class=\\\"lightbox__loading-indicator\\\">\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/common/lightbox-image.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/lightbox-image.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { action, computed } from '@ember/object';\nimport { map } from '@ember/object/computed';\n\nconst RIGHT_CHAR_CODE = 39;\nconst LEFT_CHAR_CODE = 37;\nconst ESCAPE_CHAR_CODE = 27;\n\nexport default Component.extend({\n  intercomEventService: service(),\n  eventListenerStack: service(),\n\n  tagName: '',\n\n  isVisible: false,\n  currentIndex: 0,\n  currentImage: computed('imageUrls', 'currentIndex', function() {\n    return this.imageUrls[this.currentIndex];\n  }),\n  items: map('imageUrls', (src, index) => ({\n    src,\n    index,\n  })),\n\n  _handleKeypress(event) {\n    let keyCode = event.which;\n    let maxIncrement = this.get('imageUrls.length') - 1;\n    let currentIndex = this.currentIndex;\n\n    if (keyCode === LEFT_CHAR_CODE && currentIndex > 0) {\n      this.decrementProperty('currentIndex');\n      this._trackAnalyticsEvent('pressed_left_key');\n    } else if (keyCode === RIGHT_CHAR_CODE && currentIndex < maxIncrement) {\n      this.incrementProperty('currentIndex');\n      this._trackAnalyticsEvent('pressed_right_key');\n    } else if (keyCode === ESCAPE_CHAR_CODE) {\n      this._hideLightbox();\n      this._trackAnalyticsEvent('closed_with_key');\n    }\n  },\n\n  _hideLightbox() {\n    if (!(this.isDestroyed || this.isDestroying)) {\n      this.eventListenerStack.runDisposables(this);\n      this.set('isVisible', false);\n    }\n  },\n\n  _trackAnalyticsEvent(action) {\n    if (this.analyticsObject) {\n      this.intercomEventService.trackAnalyticsEvent({\n        object: this.analyticsObject,\n        action,\n        place: 'lightbox_image',\n        lightbox_index: this.currentIndex,\n      });\n    }\n  },\n\n  willDestroy() {\n    this._super(...arguments);\n    this.eventListenerStack.runDisposables(this);\n  },\n\n  hideLightbox: action(function() {\n    this._hideLightbox();\n    this._trackAnalyticsEvent('closed_with_click');\n  }),\n\n  showLightbox: action(function(item = {}) {\n    this.eventListenerStack.pushEventListener(this, 'keydown', this._handleKeypress);\n    this.setProperties({\n      isVisible: true,\n      currentIndex: item.index || 0,\n    });\n    this._trackAnalyticsEvent('viewed');\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!\\n  TODO: @22a ~ this is a quick hack to remove the ember-overlay backing this\\n        common component. We should migrate all invocations of this to core\\n        component invocations instead\\n}}\\n<IcModal\\n  @isOpen={{true}}\\n  @onModalClose={{@closeModal}}\\n  @width={{or @width \\\"m\\\"}}\\n  @showCloseIcon={{false}}\\n  @internalScroll={{false}}\\n  @closeOnEscape={{eq @closeOnEscape true}}\\n  data-test-modal\\n  data-test-common-modal\\n  ...attributes\\n  as |modal|\\n>\\n  {{yield\\n    (hash\\n      components=(hash\\n        header=(component \\\"ic-legacy-modal-header\\\" closeModal=@closeModal)\\n        body=(component \\\"ic-legacy-modal-body\\\")\\n        footer=(component \\\"ic-legacy-modal-footer\\\")\\n      )\\n    )\\n  }}\\n</IcModal>\\n\", {\"contents\":\"{{!\\n  TODO: @22a ~ this is a quick hack to remove the ember-overlay backing this\\n        common component. We should migrate all invocations of this to core\\n        component invocations instead\\n}}\\n<IcModal\\n  @isOpen={{true}}\\n  @onModalClose={{@closeModal}}\\n  @width={{or @width \\\"m\\\"}}\\n  @showCloseIcon={{false}}\\n  @internalScroll={{false}}\\n  @closeOnEscape={{eq @closeOnEscape true}}\\n  data-test-modal\\n  data-test-common-modal\\n  ...attributes\\n  as |modal|\\n>\\n  {{yield\\n    (hash\\n      components=(hash\\n        header=(component \\\"ic-legacy-modal-header\\\" closeModal=@closeModal)\\n        body=(component \\\"ic-legacy-modal-body\\\")\\n        footer=(component \\\"ic-legacy-modal-footer\\\")\\n      )\\n    )\\n  }}\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/common/modal-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/modal-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{yield this.collapsed}}\\n\", {\"contents\":\"{{yield this.collapsed}}\\n\",\"moduleName\":\"embercom/components/common/navbar-collapsed.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/navbar-collapsed.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  navbarCollapsingService: service(),\n  contentEditorService: service(),\n  navbarCollapsed: readOnly('navbarCollapsingService.collapsed'),\n  collapsed: or('navbarCollapsed', 'contentEditorService.versionSidebarOpen'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureKey={{@feature}} as |paywall|>\\n  <div class=\\\"w-1/2 u__mr__20 z-10\\\">\\n    <p class=\\\"paywall__tier\\\" data-test-paywall-tier>\\n      {{#unless hideTier}}\\n        {{tier}}\\n      {{/unless}}\\n    </p>\\n    <div class=\\\"h-2\\\"></div>\\n    <h1 class=\\\"paywall__marketing-text paywall__h1\\\" data-test-paywall-title>\\n      {{title}}\\n    </h1>\\n    <div class=\\\"h-5\\\"></div>\\n    {{#if description}}\\n      <p class=\\\"paywall__description-text\\\" data-test-paywall-description>\\n        {{if description.text description.text description}} {{#if\\n          (and description.linkLabel description.linkHref)\\n        }}\\n          <a\\n            class=\\\"t__em-link\\\"\\n            href={{description.linkHref}}\\n            target=\\\"_blank\\\"\\n            rel=\\\"noopener noreferrer\\\"\\n          >\\n            {{description.linkLabel}}\\n          </a>\\n        {{/if}}\\n      </p>\\n      {{#if description.subText}}\\n        <div class=\\\"h-2\\\"></div>\\n        <p class=\\\"t__light-text\\\">\\n          {{description.subText}}\\n        </p>\\n      {{/if}}\\n      <div class=\\\"h-5\\\"></div>\\n    {{/if}}\\n    {{#if (and requirements (gt requirements.length 0))}}\\n      <div data-test-paywall-requirements>\\n        <p class=\\\"u__mb__5 t__light-text\\\">\\n          Available when you have all of the following:\\n        </p>\\n        {{#each requirements as |requirement|}}\\n          <div>\\n            {{ic-interface-icon \\\"small-check\\\" color=\\\"gray\\\"}} {{requirement}}\\n          </div>\\n        {{/each}}\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n    {{/if}}\\n    {{#if callToAction}}\\n      <div class=\\\"layout__box o__centers-vertically\\\" data-test-paywall-cta>\\n        <IcButton\\n          data-test-paywall-cta-button\\n          @type=\\\"primary\\\"\\n          @label={{callToAction}}\\n          @onClick={{if onClick onClick (action paywall.openUpgradeModal)}}\\n        />\\n        {{#if upgradePrice}}\\n          <p class=\\\"t__light-text u__ml__15\\\">\\n            from {{upgradePrice}} /mo\\n          </p>\\n        {{/if}}\\n      </div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"w-1/2 u__ml__20 u__relative\\\">\\n    {{yield}}\\n  </div>\\n</Paywall>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureKey={{@feature}} as |paywall|>\\n  <div class=\\\"w-1/2 u__mr__20 z-10\\\">\\n    <p class=\\\"paywall__tier\\\" data-test-paywall-tier>\\n      {{#unless hideTier}}\\n        {{tier}}\\n      {{/unless}}\\n    </p>\\n    <div class=\\\"h-2\\\"></div>\\n    <h1 class=\\\"paywall__marketing-text paywall__h1\\\" data-test-paywall-title>\\n      {{title}}\\n    </h1>\\n    <div class=\\\"h-5\\\"></div>\\n    {{#if description}}\\n      <p class=\\\"paywall__description-text\\\" data-test-paywall-description>\\n        {{if description.text description.text description}} {{#if\\n          (and description.linkLabel description.linkHref)\\n        }}\\n          <a\\n            class=\\\"t__em-link\\\"\\n            href={{description.linkHref}}\\n            target=\\\"_blank\\\"\\n            rel=\\\"noopener noreferrer\\\"\\n          >\\n            {{description.linkLabel}}\\n          </a>\\n        {{/if}}\\n      </p>\\n      {{#if description.subText}}\\n        <div class=\\\"h-2\\\"></div>\\n        <p class=\\\"t__light-text\\\">\\n          {{description.subText}}\\n        </p>\\n      {{/if}}\\n      <div class=\\\"h-5\\\"></div>\\n    {{/if}}\\n    {{#if (and requirements (gt requirements.length 0))}}\\n      <div data-test-paywall-requirements>\\n        <p class=\\\"u__mb__5 t__light-text\\\">\\n          Available when you have all of the following:\\n        </p>\\n        {{#each requirements as |requirement|}}\\n          <div>\\n            {{ic-interface-icon \\\"small-check\\\" color=\\\"gray\\\"}} {{requirement}}\\n          </div>\\n        {{/each}}\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n    {{/if}}\\n    {{#if callToAction}}\\n      <div class=\\\"layout__box o__centers-vertically\\\" data-test-paywall-cta>\\n        <IcButton\\n          data-test-paywall-cta-button\\n          @type=\\\"primary\\\"\\n          @label={{callToAction}}\\n          @onClick={{if onClick onClick (action paywall.openUpgradeModal)}}\\n        />\\n        {{#if upgradePrice}}\\n          <p class=\\\"t__light-text u__ml__15\\\">\\n            from {{upgradePrice}} /mo\\n          </p>\\n        {{/if}}\\n      </div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"w-1/2 u__ml__20 u__relative\\\">\\n    {{yield}}\\n  </div>\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/common/paywall-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/paywall-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  ['data-test-paywall']: true,\n  classNames: ['paywall__container', 'o__flexes-to-1', 'layout__box', 'o__centers-vertically'],\n  hideTier: false,\n  callToAction: notImplemented('common/paywall-component: You must pass a callToAction label'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport ENV from 'embercom/config/environment';\nimport abbreviatedRelativeTime from 'embercom/lib/abbreviated-relative-time';\nimport RunMixin from 'ember-lifeline/mixins/run';\n\nexport default Component.extend(RunMixin, {\n  tagName: 'time',\n  attributeBindings: ['datetime'],\n  didInsertElement() {\n    this._super(...arguments);\n    this.pollTask('update', `updatingTime#${this.elementId}`);\n  },\n  update(next) {\n    this.notifyPropertyChange('formatted');\n    this.runTask(next, ENV.APP._3000MS);\n  },\n  formatted: computed('datetime', function() {\n    return abbreviatedRelativeTime(this.datetime);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield (hash\\n  selectedCount=selectedCount\\n  updateSelection=(action 'updateSelection')\\n)}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield (hash\\n  selectedCount=selectedCount\\n  updateSelection=(action 'updateSelection')\\n)}}\\n\",\"moduleName\":\"embercom/components/common/selectable-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/selectable-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { filterBy, readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  list: notImplemented('selectable-list: You must set the \"list\" property on the component'),\n  selectedItems: filterBy('list', 'selected', true),\n  selectedCount: readOnly('selectedItems.length'),\n\n  actions: {\n    updateSelection(selectedItem, value) {\n      selectedItem.set('selected', value);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Common::TaggingModalHeader\\n  @title={{title}}\\n  @closeModalAction={{closeModalAction}}\\n/>\\n<div class=\\\"modal__body o__simple-frame\\\" data-test-tagging-modal>\\n  <div class=\\\"u__left tagger__search-icon\\\">\\n    {{ic-interface-icon \\\"search\\\" solo=true}}\\n  </div>\\n  <div class=\\\"tagger__holder u__cf\\\">\\n    {{#each selectedTags as |tag|}}\\n      <span data-test-tag-pill class=\\\"pill o__has-delete tagger__holder__pill\\\">\\n        <span class=\\\"pill__icon\\\">\\n          {{ic-interface-icon \\\"tag\\\" set=\\\"tiny\\\" color=\\\"gray\\\" solo=true}}\\n        </span>\\n        {{tag.name}}\\n        <a\\n          data-test-delete-tag\\n          class=\\\"pill__delete\\\"\\n          title=\\\"Remove {{tag.name}} tag\\\"\\n          {{action \\\"removeTag\\\" tag}}\\n        >\\n          {{ic-interface-icon \\\"delete\\\" set=\\\"tiny\\\" color=\\\"gray\\\" solo=true}}\\n        </a>\\n      </span>\\n    {{/each}}\\n    <input\\n      value={{query}}\\n      class=\\\"tagger__search-input u__left\\\"\\n      placeholder={{if this.allowTagManagement 'Type to search or create a new tag…' 'Type to search…'}}\\n      oninput={{action \\\"updateQuery\\\" value=\\\"target.value\\\"}}\\n      {{auto-focus-element}}\\n      data-test-tag-search\\n    />\\n  </div>\\n  <div class=\\\"tagger__list\\\" data-test-tag-list>\\n    <div>\\n      <VerticalCollection\\n        @items={{matchingTags}}\\n        @estimateHeight={{30}}\\n        @staticHeight={{true}}\\n        @containerSelector=\\\".tagger__list\\\"\\n        as |tag index|\\n      >\\n        <div\\n          data-test-tag-list-item={{index}}\\n          data-test-tag-list-item-tag-id={{tag.id}}\\n          class=\\\"dropdown__list-item {{if (eq highlightIndex index) \\\"o__selected\\\"}}\\\"\\n          onmouseenter={{action (mut highlightIndex) index}}\\n          {{action \\\"addTag\\\" tag}}\\n        >\\n          <div class=\\\"u__one-truncated-line\\\">\\n            {{tag.name}}\\n          </div>\\n        </div>\\n      </VerticalCollection>\\n    </div>\\n    {{#if isCreateNewVisible}}\\n      {{#if isRestrictedIntercomradeOnInboxRoute}}\\n        <IcBanner\\n          @type=\\\"help\\\"\\n          @text=\\\"Restricted Admins cannot create tags in the inbox\\\"\\n          data-test-restricted-tag-banner={{true}}\\n        />\\n      {{else}}\\n        <div\\n          data-test-new-tag-list-item\\n          class=\\\"dropdown__list-item {{if (eq highlightIndex matchingTags.length) \\\"o__selected\\\"}}\\\"\\n          onmouseenter={{action (mut highlightIndex) matchingTags.length}}\\n          {{action \\\"createTagAndAdd\\\" query}}\\n        >\\n          <div class=\\\"u__one-truncated-line\\\">\\n            {{ic-interface-icon \\\"tag\\\"}} Create new tag: '{{query}}'\\n          </div>\\n        </div>\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n  {{#if hasErrored}}\\n    <div class=\\\"u__pad__10\\\">\\n      <IcBanner\\n        @type=\\\"error\\\"\\n        @text=\\\"An error occurred while saving this tag, please try again.\\\"\\n      />\\n    </div>\\n  {{/if}}\\n</div>\\n<IcLegacyModalFooter\\n  data-test-modal-footer={{true}}\\n  @processings={{saveTask.isRunning}} as |footer|\\n>\\n  <footer.mainButtons as |list|>\\n    <list.button\\n      @label={{saveLabel}}\\n      @type=\\\"primary\\\"\\n      @processingLabel=\\\"Saving…\\\"\\n      @onClick={{perform saveTask}}\\n      @disabled={{or saveTask.isRunning (not canSave)}}\\n      data-test-modal-save-btn={{true}}\\n    />\\n  </footer.mainButtons>\\n  <footer.secondaryButtons>\\n    <span class=\\\"modal__footer__tertiary-button btn__associated-content\\\">\\n      {{#if this.shouldRedirectToTagsSection}}\\n         <LinkTo\\n           @route=\\\"apps.app.settings.tags\\\"\\n           class=\\\"btn__tertiary\\\"\\n           target=\\\"_blank\\\"\\n           @tabindex=\\\"-1\\\"\\n           data-test-manage-tags-link\\n         >\\n          Manage tags ↗\\n        </LinkTo>\\n      {{else}}\\n        <Text onClick={{action 'showPermissionCheckModal'}}\\n          @linkStyling=\\\"standalone\\\"\\n          data-test-manage-tags-permission-modal-link\\n        >\\n          Manage Tags ↗\\n        </Text>\\n      {{/if}}\\n    </span>\\n  </footer.secondaryButtons>\\n</IcLegacyModalFooter>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Common::TaggingModalHeader\\n  @title={{title}}\\n  @closeModalAction={{closeModalAction}}\\n/>\\n<div class=\\\"modal__body o__simple-frame\\\" data-test-tagging-modal>\\n  <div class=\\\"u__left tagger__search-icon\\\">\\n    {{ic-interface-icon \\\"search\\\" solo=true}}\\n  </div>\\n  <div class=\\\"tagger__holder u__cf\\\">\\n    {{#each selectedTags as |tag|}}\\n      <span data-test-tag-pill class=\\\"pill o__has-delete tagger__holder__pill\\\">\\n        <span class=\\\"pill__icon\\\">\\n          {{ic-interface-icon \\\"tag\\\" set=\\\"tiny\\\" color=\\\"gray\\\" solo=true}}\\n        </span>\\n        {{tag.name}}\\n        <a\\n          data-test-delete-tag\\n          class=\\\"pill__delete\\\"\\n          title=\\\"Remove {{tag.name}} tag\\\"\\n          {{action \\\"removeTag\\\" tag}}\\n        >\\n          {{ic-interface-icon \\\"delete\\\" set=\\\"tiny\\\" color=\\\"gray\\\" solo=true}}\\n        </a>\\n      </span>\\n    {{/each}}\\n    <input\\n      value={{query}}\\n      class=\\\"tagger__search-input u__left\\\"\\n      placeholder={{if this.allowTagManagement 'Type to search or create a new tag…' 'Type to search…'}}\\n      oninput={{action \\\"updateQuery\\\" value=\\\"target.value\\\"}}\\n      {{auto-focus-element}}\\n      data-test-tag-search\\n    />\\n  </div>\\n  <div class=\\\"tagger__list\\\" data-test-tag-list>\\n    <div>\\n      <VerticalCollection\\n        @items={{matchingTags}}\\n        @estimateHeight={{30}}\\n        @staticHeight={{true}}\\n        @containerSelector=\\\".tagger__list\\\"\\n        as |tag index|\\n      >\\n        <div\\n          data-test-tag-list-item={{index}}\\n          data-test-tag-list-item-tag-id={{tag.id}}\\n          class=\\\"dropdown__list-item {{if (eq highlightIndex index) \\\"o__selected\\\"}}\\\"\\n          onmouseenter={{action (mut highlightIndex) index}}\\n          {{action \\\"addTag\\\" tag}}\\n        >\\n          <div class=\\\"u__one-truncated-line\\\">\\n            {{tag.name}}\\n          </div>\\n        </div>\\n      </VerticalCollection>\\n    </div>\\n    {{#if isCreateNewVisible}}\\n      {{#if isRestrictedIntercomradeOnInboxRoute}}\\n        <IcBanner\\n          @type=\\\"help\\\"\\n          @text=\\\"Restricted Admins cannot create tags in the inbox\\\"\\n          data-test-restricted-tag-banner={{true}}\\n        />\\n      {{else}}\\n        <div\\n          data-test-new-tag-list-item\\n          class=\\\"dropdown__list-item {{if (eq highlightIndex matchingTags.length) \\\"o__selected\\\"}}\\\"\\n          onmouseenter={{action (mut highlightIndex) matchingTags.length}}\\n          {{action \\\"createTagAndAdd\\\" query}}\\n        >\\n          <div class=\\\"u__one-truncated-line\\\">\\n            {{ic-interface-icon \\\"tag\\\"}} Create new tag: '{{query}}'\\n          </div>\\n        </div>\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n  {{#if hasErrored}}\\n    <div class=\\\"u__pad__10\\\">\\n      <IcBanner\\n        @type=\\\"error\\\"\\n        @text=\\\"An error occurred while saving this tag, please try again.\\\"\\n      />\\n    </div>\\n  {{/if}}\\n</div>\\n<IcLegacyModalFooter\\n  data-test-modal-footer={{true}}\\n  @processings={{saveTask.isRunning}} as |footer|\\n>\\n  <footer.mainButtons as |list|>\\n    <list.button\\n      @label={{saveLabel}}\\n      @type=\\\"primary\\\"\\n      @processingLabel=\\\"Saving…\\\"\\n      @onClick={{perform saveTask}}\\n      @disabled={{or saveTask.isRunning (not canSave)}}\\n      data-test-modal-save-btn={{true}}\\n    />\\n  </footer.mainButtons>\\n  <footer.secondaryButtons>\\n    <span class=\\\"modal__footer__tertiary-button btn__associated-content\\\">\\n      {{#if this.shouldRedirectToTagsSection}}\\n         <LinkTo\\n           @route=\\\"apps.app.settings.tags\\\"\\n           class=\\\"btn__tertiary\\\"\\n           target=\\\"_blank\\\"\\n           @tabindex=\\\"-1\\\"\\n           data-test-manage-tags-link\\n         >\\n          Manage tags ↗\\n        </LinkTo>\\n      {{else}}\\n        <Text onClick={{action 'showPermissionCheckModal'}}\\n          @linkStyling=\\\"standalone\\\"\\n          data-test-manage-tags-permission-modal-link\\n        >\\n          Manage Tags ↗\\n        </Text>\\n      {{/if}}\\n    </span>\\n  </footer.secondaryButtons>\\n</IcLegacyModalFooter>\\n\",\"moduleName\":\"embercom/components/common/tagging-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/tagging-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { resolve, all } from 'rsvp';\nimport $ from 'jquery';\nimport { computed } from '@ember/object';\nimport { schedule } from '@ember/runloop';\nimport { notEmpty, readOnly, map, match, or, not, union, filter } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport escapeRegExp from 'embercom/lib/escape-regular-expression';\nimport { inject as service } from '@ember/service';\nimport RouteRegexes from 'embercom/lib/route-regexes';\nimport { isBlank } from '@ember/utils';\n\nexport default Component.extend({\n  store: service(),\n  appService: service(),\n  intercomEventService: service(),\n  notificationsService: service(),\n  permissionsService: service(),\n  router: service(),\n\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n\n  highlightIndex: 0,\n  query: null,\n  addedTags: null,\n  removedTags: null,\n  maxHeight: 337,\n  trackEvents: true,\n  initialTagsIncludingPossibleUndefined: map('taggable.taggings', function(tagging) {\n    let tagId = tagging.belongsTo('tag').id();\n    return this.store.peekRecord('tag', tagId);\n  }),\n  initialTags: computed('initialTagsIncludingPossibleUndefined.[]', function() {\n    return this.initialTagsIncludingPossibleUndefined.compact();\n  }),\n\n  shouldRedirectToTagsSection: readOnly('allowTagManagement'),\n\n  isOnInboxRoute: match('router.currentRouteName', RouteRegexes.inbox),\n  doesNotHaveFullAccessForCurrentApp: not('admin.hasProductAccessForCurrentApp'),\n\n  isRestrictedIntercomradeOnInboxRoute: computed(\n    'app.{currentAdmin.canManageTags,isIntercom,canUseTagManagement}',\n    'isOnInboxRoute',\n    'doesNotHaveFullAccessForCurrentApp',\n    function() {\n      if (!this.app.isIntercom || !this.isOnInboxRoute) {\n        return false;\n      }\n      if (this.app.canUseTagManagement) {\n        return !this.app.currentAdmin.canManageTags;\n      } else {\n        return this.doesNotHaveFullAccessForCurrentApp;\n      }\n    },\n  ),\n\n  hasAddedTags: notEmpty('addedTags'),\n  hasRemovedTags: notEmpty('removedTags'),\n  canSave: or('hasAddedTags', 'hasRemovedTags'),\n\n  saveLabel: 'Save',\n\n  allowTagManagement: computed('app.{currentAdmin.canManageTags,canUseTagManagement}', function() {\n    if (this.app.canUseTagManagement) {\n      return this.app.currentAdmin.canManageTags;\n    }\n    return true;\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.setProperties({\n      query: '',\n      addedTags: [],\n      removedTags: [],\n    });\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.setHeightsAndWidths();\n  },\n\n  setHeightsAndWidths() {\n    schedule('afterRender', this, function() {\n      if (!this.isDestroying) {\n        $('input', this.element).css({\n          'max-width': this._calculateInputMaxWidth(),\n        });\n        $('.tagger__list', this.element).css({\n          height: this._calculateTagListHeight(),\n        });\n      }\n    });\n  },\n\n  keyDown(e) {\n    switch (e.which) {\n      case 40: // arrow down\n        this.send('highlightNext');\n        e.preventDefault();\n        break;\n      case 38: // arrow up\n        this.send('highlightPrevious');\n        e.preventDefault();\n        break;\n      case 13: // return\n        if (e.metaKey || e.ctrlKey || $('button', this.element).is(':focus')) {\n          this.saveTask.perform();\n        } else {\n          this.send('selectHighlighted');\n        }\n        break;\n      case 8: // backspace\n        if (this.query.length === 0) {\n          this.send('removeLastTag');\n        }\n        break;\n    }\n  },\n\n  selectedTags: union('initialTagsWithoutRemovedTags', 'addedTags'),\n  allTags: union('app.tags', 'addedTags'),\n\n  initialTagsWithoutRemovedTags: computed('initialTags.[]', 'removedTags.[]', function() {\n    return this.initialTags.filter(tag => {\n      return !this.removedTags.includes(tag);\n    });\n  }),\n\n  isCreateNewVisible: computed('allowTagManagement', 'query', 'app.tags.[]', function() {\n    if (!this.allowTagManagement) {\n      return false;\n    }\n    let query = this.query.toLowerCase();\n    if (!query) {\n      return false;\n    }\n    return !this.get('app.tags').any(tag => {\n      return query === tag.get('name').toLowerCase();\n    });\n  }),\n\n  unusedTags: computed('app.tags.[]', 'selectedTags.[]', 'app.canUseArchivedTags', function() {\n    let selectedTagIds = this.selectedTags.map(tag => parseInt(tag.get('id'), 10));\n    let filteredTags = this.get('app.tags').filter(\n      tag => selectedTagIds.includes(parseInt(tag.get('id'), 10)) === false,\n    );\n\n    if (this.app.canUseArchivedTags) {\n      filteredTags = filteredTags.reject(tag => tag.archived);\n    }\n\n    return filteredTags;\n  }),\n\n  matchingTags: computed('unusedTags.[]', 'query', function() {\n    let query = this.query.trim();\n    let escaped = escapeRegExp(query);\n    let regex = new RegExp(escaped, 'i');\n    return this.unusedTags.filter(tag => {\n      return regex.test(tag.get('name'));\n    });\n  }),\n\n  newTags: filter('addedTags', function(tag) {\n    return !tag.get('id');\n  }),\n\n  saveTask: task(function*() {\n    try {\n      yield this._saveNewTags();\n      this._addNewTagsToTheApp();\n      this._makeNewTagsVisibleToAdmin();\n      yield this.taggable.updateTaggings(\n        this.admin,\n        this.addedTags,\n        this.removedTags,\n        this.initialTags,\n      );\n      this._trackEvents();\n      this._doAfterSave();\n      this.setProperties({\n        addedTags: [],\n        removedTags: [],\n      });\n    } catch (e) {\n      console.error(e);\n      this.notificationsService.notifyResponseError(e, {\n        default: 'There was a problem saving your changes',\n      });\n    }\n  }).drop(),\n\n  _saveNewTags() {\n    if (!this.get('newTags.length')) {\n      return resolve();\n    }\n\n    let promises = this.newTags.map(tag => {\n      return tag.save();\n    });\n    return all(promises);\n  },\n\n  _doAfterSave() {\n    if (this.afterSave) {\n      this.afterSave(this.addedTags, this.removedTags);\n    }\n  },\n\n  _addNewTagsToTheApp() {\n    let newTags = this.newTags;\n    this.get('app.tags').pushObjects(newTags);\n  },\n\n  _makeNewTagsVisibleToAdmin() {\n    let newTagIds = this.newTags.map(tag => {\n      return tag.get('id');\n    });\n    this.admin.addTagIdsToAdminsVisibleTagIds(newTagIds);\n  },\n\n  _trackEvents() {\n    if (this.trackEvents) {\n      let hasUserCompanyId = this.location === 'importer' || this.type === 'conversation';\n      let hasMessageId = this.location !== 'importer' && this.type === 'conversation';\n\n      this.intercomEventService.trackEvent(`${this.type}-tagged`, {\n        action: 'tagged',\n        object: this.type === 'conversation' ? 'message' : this.type,\n        place: this.location,\n        owner: 'growth',\n        user_company_id: hasUserCompanyId ? null : this.get('taggable.id'),\n        message_id: hasMessageId ? this.get('taggable.id') : null,\n      });\n\n      if (this.get('taggable.typeLabel') === 'User') {\n        this.intercomEventService.trackEvent('tagged-user', {\n          screen: 'user profile',\n          userId: this.get('taggable.id'),\n        });\n      }\n    }\n  },\n\n  _isInInitialTags(tag) {\n    return this.initialTags.includes(tag);\n  },\n\n  _isInRemovedTags(tag) {\n    return this.removedTags.includes(tag);\n  },\n\n  _calculateInputMaxWidth() {\n    if (this.get('selectedTags.length') === 0) {\n      return '100%';\n    }\n\n    let $tagHolder = $('.tagger__holder', this.element);\n    let $lastTag = $('.pill:last', this.element);\n    let spacingAfterTag = 10;\n    let tagHolderLeft = $tagHolder.position().left;\n    let lastTagLeft = $lastTag.position().left;\n    let lastTagPosLeft = lastTagLeft - tagHolderLeft;\n\n    let positionLeft = lastTagPosLeft + $lastTag.outerWidth() + spacingAfterTag;\n    let inputWidth = $tagHolder.width() - positionLeft;\n\n    let inputMinWidth = 100;\n    let $input = $('input', this.element);\n    if ($input.length !== 0) {\n      inputMinWidth = parseInt($input.css('min-width'), 10);\n    }\n    return inputWidth < inputMinWidth ? '100%' : inputWidth;\n  },\n\n  _calculateTagListHeight() {\n    return this.maxHeight - $('.tagger__holder', this.element).height();\n  },\n\n  resetQuery() {\n    this.setProperties({\n      query: '',\n      highlightIndex: 0,\n    });\n    this.setHeightsAndWidths();\n  },\n\n  actions: {\n    showPermissionCheckModal() {\n      this.permissionsService.loadAllAdminsAndShowPermissionRequestModal('can_manage_tags');\n    },\n\n    addTag(tag) {\n      if (this._isInRemovedTags(tag)) {\n        this.removedTags.removeObject(tag);\n      } else {\n        this.addedTags.pushObject(tag);\n      }\n      this.resetQuery();\n    },\n\n    createTagAndAdd(name) {\n      name = name.trim();\n      if (isBlank(name)) {\n        return;\n      }\n\n      let matchesExisting = this.allTags.any(\n        tag => tag.name.localeCompare(name, undefined, { sensitivity: 'accent' }) === 0,\n      );\n      if (matchesExisting) {\n        this.resetQuery();\n        return;\n      }\n\n      let tag = this.store.createRecord('tag', {\n        name,\n        app_id: this.app.id,\n      });\n      this.send('addTag', tag);\n    },\n\n    removeTag(tag) {\n      if (this._isInInitialTags(tag)) {\n        this.removedTags.pushObject(tag);\n      } else {\n        this.addedTags.removeObject(tag);\n      }\n      this.setHeightsAndWidths();\n    },\n\n    selectHighlighted() {\n      let highlightIndex = this.highlightIndex;\n      if (\n        highlightIndex >= this.get('matchingTags.length') &&\n        !this.isRestrictedIntercomradeOnInboxRoute\n      ) {\n        this.send('createTagAndAdd', this.query);\n      } else {\n        let highlightedTag = this.matchingTags.objectAt(highlightIndex);\n        if (highlightedTag) {\n          this.send('addTag', highlightedTag);\n        }\n      }\n    },\n\n    removeLastTag() {\n      let lastTag = this.get('selectedTags.lastObject');\n      if (lastTag) {\n        this.send('removeTag', lastTag);\n      }\n    },\n\n    highlightNext() {\n      let items = this.matchingTags;\n      let highlightIndex = this.highlightIndex;\n      if (highlightIndex < items.length) {\n        this.incrementProperty('highlightIndex');\n      }\n    },\n\n    highlightPrevious() {\n      let highlightIndex = this.highlightIndex;\n      if (highlightIndex > 0) {\n        this.decrementProperty('highlightIndex');\n      }\n    },\n\n    updateQuery(query) {\n      this.set('highlightIndex', 0);\n      this.set('query', query);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"modal__header flex items-start\\\">\\n  <div class=\\\"modal__header__title flex-auto min-w-0\\\" data-test-tagging-modal-header={{true}}>\\n    <h2 class=\\\"t__h2\\\">{{@title}}</h2>\\n  </div>\\n  <div class=\\\"modal__header__close u__cf\\\">\\n    <a {{action 'closeModalAction'}} class=\\\"modal__header__close__link u__right\\\" data-test-tagging-modal-close-link={{true}}>\\n      {{ic-interface-icon 'close' solo=true}}\\n    </a>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"modal__header flex items-start\\\">\\n  <div class=\\\"modal__header__title flex-auto min-w-0\\\" data-test-tagging-modal-header={{true}}>\\n    <h2 class=\\\"t__h2\\\">{{@title}}</h2>\\n  </div>\\n  <div class=\\\"modal__header__close u__cf\\\">\\n    <a {{action 'closeModalAction'}} class=\\\"modal__header__close__link u__right\\\" data-test-tagging-modal-close-link={{true}}>\\n      {{ic-interface-icon 'close' solo=true}}\\n    </a>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/common/tagging-modal-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/tagging-modal-header.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n\n  actions: {\n    closeModalAction() {\n      if (this.closeModalAction) {\n        this.closeModalAction();\n      } else {\n        this.modalService.closeModal();\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\nimport { on } from '@ember/object/evented';\nimport TextArea from '@ember/component/text-area';\nconst ENTER = 13;\n\nexport default TextArea.extend({\n  keyDown(e) {\n    if (e.keyCode === ENTER) {\n      e.preventDefault();\n    }\n  },\n\n  input() {\n    this.resizeInput();\n  },\n\n  resizeInput: on('didInsertElement', 'didUpdate', function() {\n    let e = this.element;\n    e.style.height = '0px';\n    e.style.height = `${e.scrollHeight + 1}px`;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IntercomSelectComponent\\n  data-test-time-select-component={{true}}\\n  @content={{timeMapping}}\\n  @optionValuePath=\\\"secondsFromMidnight\\\"\\n  @optionLabelPath=\\\"text\\\"\\n  @value={{defaultValue}}\\n  @disabled={{disabled}}\\n  @scrollParentSelector={{scrollParentSelector}}\\n  @dropdownMaxWidth={{205}}\\n  @selectionChanged=\\\"update\\\"\\n  @handleSelectionExternally={{true}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IntercomSelectComponent\\n  data-test-time-select-component={{true}}\\n  @content={{timeMapping}}\\n  @optionValuePath=\\\"secondsFromMidnight\\\"\\n  @optionLabelPath=\\\"text\\\"\\n  @value={{defaultValue}}\\n  @disabled={{disabled}}\\n  @scrollParentSelector={{scrollParentSelector}}\\n  @dropdownMaxWidth={{205}}\\n  @selectionChanged=\\\"update\\\"\\n  @handleSelectionExternally={{true}}\\n/>\\n\",\"moduleName\":\"embercom/components/common/time-select-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/time-select-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-attrs-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { notEmpty } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { slice, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport HoursOfDayMap from 'embercom/models/data/hours-of-day-map';\n\nexport default Component.extend({\n  hoursOfDayMap: computed(function() {\n    return HoursOfDayMap;\n  }),\n  timeMapping: slice('hoursOfDayMap', 0, 24),\n\n  value: null,\n  isValueSet: notEmpty('value'),\n\n  defaultTimeValue: 32400, //9am\n  defaultValue: ternaryToProperty('isValueSet', 'value', 'defaultTimeValue'),\n\n  actions: {\n    update(newValue) {\n      this.attrs.updateValue(newValue);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip\\n  @fullBleed={{true}}\\n  @isDelayed={{true}}\\n  @isInteractive={{true}}\\n  as |t|\\n>\\n  <t.opener><span ...attributes>{{yield}}</span></t.opener>\\n  <t.content class=\\\"user__hovercard__popover\\\">\\n    <div class=\\\"user__hovercard__row\\\" {{did-insert (perform this.fetchUser)}}>\\n      <div class=\\\"flex items-center\\\">\\n        <LinkTo\\n          @route=\\\"apps.app.users.user\\\"\\n          @model={{this.user.id}}\\n          class=\\\"u__all-pointer-events user__hovercard__avatar-link\\\"\\n        >\\n          <IcAvatarComponent @model={{this.user}} @size=\\\"l\\\" />\\n        </LinkTo>\\n        <div class=\\\"flex-auto min-w-0\\\">\\n          {{#if this.user}}\\n            <LinkTo\\n              @route=\\\"apps.app.users.user\\\"\\n              @model={{this.user.id}}\\n              class=\\\"u__all-pointer-events t__solo-link t__h3\\\"\\n            >\\n              <span class=\\\"u__one-truncated-line\\\">\\n                {{this.user.displayAs}}\\n              </span>\\n            </LinkTo>\\n            <Heading @size=\\\"4\\\">\\n              {{#if this.user.is_anonymous}}\\n                {{ic-interface-icon \\\"location\\\"}}\\n                <AttributeStringComponent\\n                  @showTooltip={{false}}\\n                  @attribute={{this.cityNameAttribute}}\\n                  @userOrCompany={{this.user}}\\n                />\\n              {{else}}\\n                {{#if this.user.mostRecentCompany.id}}\\n                  {{ic-interface-icon \\\"company\\\" set=\\\"tiny\\\"}}\\n                  <LinkTo\\n                    @route=\\\"apps.app.companies.company\\\"\\n                    @model={{this.user.mostRecentCompany.id}}\\n                  >\\n                    {{this.user.mostRecentCompany.name}}\\n                  </LinkTo>\\n                {{/if}}\\n              {{/if}}\\n            </Heading>\\n          {{else}}\\n            <IcLoadingIndicator @size=\\\"small\\\" />\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n    <div class=\\\"user__hovercard__row o__bottom\\\">\\n      <div class=\\\"layout__box o__has-columns\\\">\\n        {{#each this.userCardDisplayedUserAttributes as |attribute|}}\\n          <div class=\\\"layout__box o__flexes-to-1\\\">\\n            <p class=\\\"t__label\\\">\\n              {{attribute.name}}\\n            </p>\\n            <p class=\\\"user__hovercard__row__data u__one-truncated-line\\\">\\n              {{ic-interface-icon attribute.icon}}\\n              <Users::Profile::UserCardAttributeComponent\\n                @tagName=\\\"span\\\"\\n                @attribute={{attribute}}\\n                @userOrCompany={{this.user}}\\n              />\\n            </p>\\n          </div>\\n        {{/each}}\\n      </div>\\n    </div>\\n  </t.content>\\n</IcTooltip>\\n\", {\"contents\":\"<IcTooltip\\n  @fullBleed={{true}}\\n  @isDelayed={{true}}\\n  @isInteractive={{true}}\\n  as |t|\\n>\\n  <t.opener><span ...attributes>{{yield}}</span></t.opener>\\n  <t.content class=\\\"user__hovercard__popover\\\">\\n    <div class=\\\"user__hovercard__row\\\" {{did-insert (perform this.fetchUser)}}>\\n      <div class=\\\"flex items-center\\\">\\n        <LinkTo\\n          @route=\\\"apps.app.users.user\\\"\\n          @model={{this.user.id}}\\n          class=\\\"u__all-pointer-events user__hovercard__avatar-link\\\"\\n        >\\n          <IcAvatarComponent @model={{this.user}} @size=\\\"l\\\" />\\n        </LinkTo>\\n        <div class=\\\"flex-auto min-w-0\\\">\\n          {{#if this.user}}\\n            <LinkTo\\n              @route=\\\"apps.app.users.user\\\"\\n              @model={{this.user.id}}\\n              class=\\\"u__all-pointer-events t__solo-link t__h3\\\"\\n            >\\n              <span class=\\\"u__one-truncated-line\\\">\\n                {{this.user.displayAs}}\\n              </span>\\n            </LinkTo>\\n            <Heading @size=\\\"4\\\">\\n              {{#if this.user.is_anonymous}}\\n                {{ic-interface-icon \\\"location\\\"}}\\n                <AttributeStringComponent\\n                  @showTooltip={{false}}\\n                  @attribute={{this.cityNameAttribute}}\\n                  @userOrCompany={{this.user}}\\n                />\\n              {{else}}\\n                {{#if this.user.mostRecentCompany.id}}\\n                  {{ic-interface-icon \\\"company\\\" set=\\\"tiny\\\"}}\\n                  <LinkTo\\n                    @route=\\\"apps.app.companies.company\\\"\\n                    @model={{this.user.mostRecentCompany.id}}\\n                  >\\n                    {{this.user.mostRecentCompany.name}}\\n                  </LinkTo>\\n                {{/if}}\\n              {{/if}}\\n            </Heading>\\n          {{else}}\\n            <IcLoadingIndicator @size=\\\"small\\\" />\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n    <div class=\\\"user__hovercard__row o__bottom\\\">\\n      <div class=\\\"layout__box o__has-columns\\\">\\n        {{#each this.userCardDisplayedUserAttributes as |attribute|}}\\n          <div class=\\\"layout__box o__flexes-to-1\\\">\\n            <p class=\\\"t__label\\\">\\n              {{attribute.name}}\\n            </p>\\n            <p class=\\\"user__hovercard__row__data u__one-truncated-line\\\">\\n              {{ic-interface-icon attribute.icon}}\\n              <Users::Profile::UserCardAttributeComponent\\n                @tagName=\\\"span\\\"\\n                @attribute={{attribute}}\\n                @userOrCompany={{this.user}}\\n              />\\n            </p>\\n          </div>\\n        {{/each}}\\n      </div>\\n    </div>\\n  </t.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/common/tooltips/user.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/common/tooltips/user.hbs\"}});\nimport { tracked } from '@glimmer/tracking';\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\n\nconst ANONYMOUS_ATTRIBUTE_IDENTIFIERS = ['created_at', 'last_request_at', 'last_contacted_at'];\nconst USER_ATTRIBUTE_IDENTIFIERS = ['remote_created_at', 'last_request_at', 'session_count'];\n\nexport default class CommonTooltipsUser extends Component {\n  @service store;\n  @service attributeService;\n  @tracked user = null;\n\n  get displayableAttributes() {\n    return this.attributeService.displayableAttributes.map(a => a.attribute);\n  }\n\n  get userCardDisplayedUserAttributeIdentifiers() {\n    return this.user?.is_anonymous ? ANONYMOUS_ATTRIBUTE_IDENTIFIERS : USER_ATTRIBUTE_IDENTIFIERS;\n  }\n\n  get userCardDisplayedUserAttributes() {\n    return this.userCardDisplayedUserAttributeIdentifiers.map(identifier => {\n      return this.displayableAttributes.find(a => a.identifier === identifier);\n    });\n  }\n\n  get cityNameAttribute() {\n    return this.displayableAttributes.find(\n      attribute => attribute.identifier === 'geoip_data.city_name',\n    );\n  }\n\n  @task\n  *fetchUser() {\n    try {\n      let user = yield this.store.findRecord('user', this.args.userId, {\n        backgroundReload: false,\n      });\n      this.user = user;\n    } catch (e) {\n      console.warn('<Common::Tooltips::User>: User not loaded');\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"layout__box o__has-columns o__flexes-to-1 u__center-layout o__centers-vertically\\\"\\n>\\n  <h1\\n    class=\\\"profile__sidebar__name t__h1 u__centered-text-block\\\"\\n    data-test-company-name\\n  >\\n    <EditableTextComponent\\n      @text={{company.name}}\\n      @actionReceiver={{editableTextComponent}}\\n      @saveAction=\\\"saveChanges\\\"\\n    />\\n  </h1>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"layout__box o__has-columns o__flexes-to-1 u__center-layout o__centers-vertically\\\"\\n>\\n  <h1\\n    class=\\\"profile__sidebar__name t__h1 u__centered-text-block\\\"\\n    data-test-company-name\\n  >\\n    <EditableTextComponent\\n      @text={{company.name}}\\n      @actionReceiver={{editableTextComponent}}\\n      @saveAction=\\\"saveChanges\\\"\\n    />\\n  </h1>\\n</div>\\n\",\"moduleName\":\"embercom/components/companies/profile/editable-name.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/companies/profile/editable-name.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport ajax from 'embercom/lib/ajax';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  notificationsService: service(),\n  updateName: task(function*() {\n    try {\n      yield ajax({\n        url: `/ember/company_name/${this.get('company.id')}`,\n        data: JSON.stringify({\n          new_name: this.newName,\n          admin_id: this.get('app.currentAdmin.id'),\n          app_id: this.get('app.id'),\n        }),\n        type: 'PUT',\n      });\n      this.notificationsService.notifyConfirmation('Company name updated successfully.');\n    } catch (error) {\n      this.notificationsService.notifyError(error.jqXHR.responseJSON.errors[0].message);\n    }\n  }).drop(),\n\n  actions: {\n    saveChanges(newValue) {\n      if (newValue !== this.get('company.name')) {\n        this.set('newName', newValue);\n        this.updateName.perform();\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Inbox::ConversationSidebar::Cards::CompanyDetails\\n  @app={{@app}}\\n  @userCompanies={{array @company}}\\n  @hideCompanyName={{true}}\\n/>\\n<div class=\\\"inbox__conversation-sidebar__space\\\"></div>\\n<Inbox::ConversationSidebar::Cards::CompanySegments\\n  @app={{@app}}\\n  @userCompanies={{array @company}}\\n/>\\n<div class=\\\"inbox__conversation-sidebar__space\\\"></div>\\n<Inbox::ConversationSidebar::Cards::CompanyTags\\n  @app={{@app}}\\n  @userCompanies={{array @company}}\\n/>\\n<div class=\\\"inbox__conversation-sidebar__space\\\"></div>\\n<Inbox::ConversationSidebar::Cards::CompanyNotes\\n  @app={{@app}}\\n  @userCompanies={{array @company}}\\n/>\\n\", {\"contents\":\"<Inbox::ConversationSidebar::Cards::CompanyDetails\\n  @app={{@app}}\\n  @userCompanies={{array @company}}\\n  @hideCompanyName={{true}}\\n/>\\n<div class=\\\"inbox__conversation-sidebar__space\\\"></div>\\n<Inbox::ConversationSidebar::Cards::CompanySegments\\n  @app={{@app}}\\n  @userCompanies={{array @company}}\\n/>\\n<div class=\\\"inbox__conversation-sidebar__space\\\"></div>\\n<Inbox::ConversationSidebar::Cards::CompanyTags\\n  @app={{@app}}\\n  @userCompanies={{array @company}}\\n/>\\n<div class=\\\"inbox__conversation-sidebar__space\\\"></div>\\n<Inbox::ConversationSidebar::Cards::CompanyNotes\\n  @app={{@app}}\\n  @userCompanies={{array @company}}\\n/>\\n\",\"moduleName\":\"embercom/components/companies/profile/sidebar-sections.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/companies/profile/sidebar-sections.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{#if this.isLoading}}\\n  {{#if this.hasErrored}}\\n    <div class=\\\"u__center-item u__centered-text-block\\\">\\n      <h1 class=\\\"t__h1\\\">\\n        {{ic-interface-icon \\\"error\\\" size=24}} An error occurred while loading your companies.\\n      </h1>\\n      <div class=\\\"h-5\\\"></div>\\n      <IcButton @label=\\\"Try again…\\\" @type=\\\"primary\\\" @action=\\\"reload\\\" />\\n    </div>\\n  {{else}}\\n    <div class=\\\"u__center-item\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    </div>\\n  {{/if}}\\n{{else}}\\n  <header\\n    class=\\\"user-list__header o__without-select-all u__cf layout__box {{unless this.hasSelectedUsers \\\"o__without-selected-users\\\"}} {{if this.searchController.searchActive \\\"o__searching u__padt__0\\\"}}\\\"\\n  >\\n    <div class=\\\"layout__box\\\">\\n      <div class=\\\"u__left user-list__heading-and-selected-count js__user-list__filter-and-select-details\\\">\\n        <h1 class=\\\"t__h2 u__left\\\">\\n          {{#if this.hasSelectedUsers}}\\n            <span class=\\\"test__user-list-selected-count\\\">{{number-formatter-helper this.selectedCount}}</span>\\n            {{inflector-helper 'company' this.selectedCount}} selected\\n            <span class=\\\"t__h2__deem\\\">\\n              of {{partial 'apps/app/users-and-companies/filter-count-summary'}}\\n            </span>\\n          {{else}}\\n            {{#if this.hasPeopleOrCompaniesToShow}}\\n              {{partial 'apps/app/users-and-companies/filter-count-summary'}}\\n              {{inflector-helper 'company' this.totalCount}}\\n              {{#unless this.isShowingAll~}}\\n                {{inflector-helper 'matches' this.totalCount}}\\n                <span class=\\\"t__h2__deem\\\">\\n                  of {{number-formatter-helper this.app.company_count}}\\n                </span>\\n              {{/unless}}\\n            {{else}}\\n              No companies match\\n            {{/if}}\\n          {{/if}}\\n        </h1>\\n      </div>\\n      {{partial \\\"apps/app/users/segments/segment/bulk-actions\\\"}}\\n      <div class=\\\"u__right\\\">\\n        <DisplayedAttributesDropdownComponent\\n          @isCompany={{@segment.isCompany}}\\n          @app={{this.app}}\\n        />\\n      </div>\\n    </div>\\n  </header>\\n  <div class=\\\"tbl__fixed__wrapper layout__box\\\">\\n    {{#if this.model}}\\n      <UsersAndCompanies::ListTable @actionReceiver={{this.listTable}}>\\n        <PaginationComponent\\n          @viewportSelector=\\\".tbl__fixed__portal\\\"\\n          @scrollingContentSelector=\\\".js__user-list-table\\\"\\n          @onPageRequested={{action \\\"nextPage\\\"}}\\n        >\\n          {{!-- template-lint-disable intercom/no-custom-table --}}\\n          <table class=\\\"tbl o__fit o__fixed test__company_list js__user-list-table keyboard_accessible\\\">\\n            {{!-- template-lint-enable intercom/no-custom-table --}}\\n            <thead>\\n              <tr class=\\\"o__fixed-header\\\">\\n                <th class=\\\"tbl__cell t__label name o__fixed-header\\\" colspan=\\\"2\\\">\\n                  <span\\n                    class=\\\"tbl__fixed-header__text u__prevent-breaks twk__user-list-name-column o__with-combined-avatar-checkbox\\\"\\n                  >\\n                    <IcTooltipIcon @content=\\\"Looking for the select-all checkbox? Just use the buttons above to message or tag these companies.\\\" />\\n                    <span class=\\\"twk__user-list-name-header-text\\\">\\n                      Name\\n                    </span>\\n                  </span>\\n                </th>\\n                {{#each this.displayedAttributes as |displayedAttribute|}}\\n                  <th class=\\\"{{displayedAttribute.attribute.unspacedSanitizedIdentifier}} tbl__cell o__fixed-header t__label\\\">\\n                    <span class=\\\"tbl__header-width-el\\\">\\n                      {{ic-interface-icon displayedAttribute.attribute.icon}}\\n                      {{displayedAttribute.attribute.name}}\\n                      {{#if displayedAttribute.companyAttributeSetting.isSorted}}\\n                        {{sort-icon-pattern descending=displayedAttribute.companyAttributeSetting.isSortedDescending}}\\n                      {{/if}}\\n                    </span>\\n                    {{#if displayedAttribute.attribute.isCompanySortable}}\\n                      <span class=\\\"tbl__fixed-header__text u__prevent-breaks\\\">\\n                        {{ic-interface-icon displayedAttribute.attribute.icon}}\\n                        <a {{action \\\"sort\\\" displayedAttribute}}>\\n                          <People::AttributeAndEventDescriptionTooltip\\n                            @attribute={{displayedAttribute.attribute}}\\n                            @hideIcon={{true}}\\n                          />\\n                          {{#if displayedAttribute.companyAttributeSetting.isSorted}}\\n                            {{sort-icon-pattern descending=displayedAttribute.companyAttributeSetting.isSortedDescending}}\\n                          {{/if}}\\n                        </a>\\n                      </span>\\n                    {{else}}\\n                      <span class=\\\"tbl__fixed-header__text u__prevent-breaks\\\">\\n                        {{ic-interface-icon displayedAttribute.attribute.icon}}\\n                        <People::AttributeAndEventDescriptionTooltip\\n                          @attribute={{displayedAttribute.attribute}}\\n                          @hideIcon={{true}}\\n                        />\\n                        {{#if displayedAttribute.companyAttributeSetting.isSorted}}\\n                          {{sort-icon-pattern descending=displayedAttribute.companyAttributeSetting.isSortedDescending}}\\n                        {{/if}}\\n                      </span>\\n                    {{/if}}\\n                  </th>\\n                {{/each}}\\n              </tr>\\n            </thead>\\n            <tbody\\n              tbody\\n              data-sensitive=\\\"true\\\"\\n              class=\\\"tbl__body js__users-table__body shim__users-table__body\\\"\\n            >\\n              {{#each this.model as |company|}}\\n                <Performance::MeasureRenderTime @subject=\\\"component:company-table-row-component\\\">\\n                  <CompanyTableRowComponent\\n                    @app={{this.app}}\\n                    @company={{company}}\\n                    @segment={{@segment}}\\n                    @displayedAttributes={{this.displayedAttributes}}\\n                    @isCompany={{true}}\\n                    @createCompanyMessage={{action \\\"createCompanyMessage\\\"}}\\n                    @hasSelectedUsers={{this.hasSelectedUsers}}\\n                  />\\n                </Performance::MeasureRenderTime>\\n              {{/each}}\\n            </tbody>\\n          </table>\\n        </PaginationComponent>\\n        <div class=\\\"pagination__for-user-table o__white\\\">\\n          {{#if this.isPaginating}}\\n            {{#if this.hasErrored}}\\n              <IcBanner\\n                @type=\\\"error\\\"\\n                @text=\\\"An error occurred while loading more companies.\\\"\\n                @buttonLabel=\\\"Try again…\\\"\\n                @onButtonClick={{action \\\"reloadCurrentPage\\\"}}\\n              />\\n            {{else}}\\n              <IcLoadingIndicator @size=\\\"small\\\" />\\n            {{/if}}\\n          {{/if}}\\n        </div>\\n      </UsersAndCompanies::ListTable>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{#if this.isLoading}}\\n  {{#if this.hasErrored}}\\n    <div class=\\\"u__center-item u__centered-text-block\\\">\\n      <h1 class=\\\"t__h1\\\">\\n        {{ic-interface-icon \\\"error\\\" size=24}} An error occurred while loading your companies.\\n      </h1>\\n      <div class=\\\"h-5\\\"></div>\\n      <IcButton @label=\\\"Try again…\\\" @type=\\\"primary\\\" @action=\\\"reload\\\" />\\n    </div>\\n  {{else}}\\n    <div class=\\\"u__center-item\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    </div>\\n  {{/if}}\\n{{else}}\\n  <header\\n    class=\\\"user-list__header o__without-select-all u__cf layout__box {{unless this.hasSelectedUsers \\\"o__without-selected-users\\\"}} {{if this.searchController.searchActive \\\"o__searching u__padt__0\\\"}}\\\"\\n  >\\n    <div class=\\\"layout__box\\\">\\n      <div class=\\\"u__left user-list__heading-and-selected-count js__user-list__filter-and-select-details\\\">\\n        <h1 class=\\\"t__h2 u__left\\\">\\n          {{#if this.hasSelectedUsers}}\\n            <span class=\\\"test__user-list-selected-count\\\">{{number-formatter-helper this.selectedCount}}</span>\\n            {{inflector-helper 'company' this.selectedCount}} selected\\n            <span class=\\\"t__h2__deem\\\">\\n              of {{partial 'apps/app/users-and-companies/filter-count-summary'}}\\n            </span>\\n          {{else}}\\n            {{#if this.hasPeopleOrCompaniesToShow}}\\n              {{partial 'apps/app/users-and-companies/filter-count-summary'}}\\n              {{inflector-helper 'company' this.totalCount}}\\n              {{#unless this.isShowingAll~}}\\n                {{inflector-helper 'matches' this.totalCount}}\\n                <span class=\\\"t__h2__deem\\\">\\n                  of {{number-formatter-helper this.app.company_count}}\\n                </span>\\n              {{/unless}}\\n            {{else}}\\n              No companies match\\n            {{/if}}\\n          {{/if}}\\n        </h1>\\n      </div>\\n      {{partial \\\"apps/app/users/segments/segment/bulk-actions\\\"}}\\n      <div class=\\\"u__right\\\">\\n        <DisplayedAttributesDropdownComponent\\n          @isCompany={{@segment.isCompany}}\\n          @app={{this.app}}\\n        />\\n      </div>\\n    </div>\\n  </header>\\n  <div class=\\\"tbl__fixed__wrapper layout__box\\\">\\n    {{#if this.model}}\\n      <UsersAndCompanies::ListTable @actionReceiver={{this.listTable}}>\\n        <PaginationComponent\\n          @viewportSelector=\\\".tbl__fixed__portal\\\"\\n          @scrollingContentSelector=\\\".js__user-list-table\\\"\\n          @onPageRequested={{action \\\"nextPage\\\"}}\\n        >\\n          {{!-- template-lint-disable intercom/no-custom-table --}}\\n          <table class=\\\"tbl o__fit o__fixed test__company_list js__user-list-table keyboard_accessible\\\">\\n            {{!-- template-lint-enable intercom/no-custom-table --}}\\n            <thead>\\n              <tr class=\\\"o__fixed-header\\\">\\n                <th class=\\\"tbl__cell t__label name o__fixed-header\\\" colspan=\\\"2\\\">\\n                  <span\\n                    class=\\\"tbl__fixed-header__text u__prevent-breaks twk__user-list-name-column o__with-combined-avatar-checkbox\\\"\\n                  >\\n                    <IcTooltipIcon @content=\\\"Looking for the select-all checkbox? Just use the buttons above to message or tag these companies.\\\" />\\n                    <span class=\\\"twk__user-list-name-header-text\\\">\\n                      Name\\n                    </span>\\n                  </span>\\n                </th>\\n                {{#each this.displayedAttributes as |displayedAttribute|}}\\n                  <th class=\\\"{{displayedAttribute.attribute.unspacedSanitizedIdentifier}} tbl__cell o__fixed-header t__label\\\">\\n                    <span class=\\\"tbl__header-width-el\\\">\\n                      {{ic-interface-icon displayedAttribute.attribute.icon}}\\n                      {{displayedAttribute.attribute.name}}\\n                      {{#if displayedAttribute.companyAttributeSetting.isSorted}}\\n                        {{sort-icon-pattern descending=displayedAttribute.companyAttributeSetting.isSortedDescending}}\\n                      {{/if}}\\n                    </span>\\n                    {{#if displayedAttribute.attribute.isCompanySortable}}\\n                      <span class=\\\"tbl__fixed-header__text u__prevent-breaks\\\">\\n                        {{ic-interface-icon displayedAttribute.attribute.icon}}\\n                        <a {{action \\\"sort\\\" displayedAttribute}}>\\n                          <People::AttributeAndEventDescriptionTooltip\\n                            @attribute={{displayedAttribute.attribute}}\\n                            @hideIcon={{true}}\\n                          />\\n                          {{#if displayedAttribute.companyAttributeSetting.isSorted}}\\n                            {{sort-icon-pattern descending=displayedAttribute.companyAttributeSetting.isSortedDescending}}\\n                          {{/if}}\\n                        </a>\\n                      </span>\\n                    {{else}}\\n                      <span class=\\\"tbl__fixed-header__text u__prevent-breaks\\\">\\n                        {{ic-interface-icon displayedAttribute.attribute.icon}}\\n                        <People::AttributeAndEventDescriptionTooltip\\n                          @attribute={{displayedAttribute.attribute}}\\n                          @hideIcon={{true}}\\n                        />\\n                        {{#if displayedAttribute.companyAttributeSetting.isSorted}}\\n                          {{sort-icon-pattern descending=displayedAttribute.companyAttributeSetting.isSortedDescending}}\\n                        {{/if}}\\n                      </span>\\n                    {{/if}}\\n                  </th>\\n                {{/each}}\\n              </tr>\\n            </thead>\\n            <tbody\\n              tbody\\n              data-sensitive=\\\"true\\\"\\n              class=\\\"tbl__body js__users-table__body shim__users-table__body\\\"\\n            >\\n              {{#each this.model as |company|}}\\n                <Performance::MeasureRenderTime @subject=\\\"component:company-table-row-component\\\">\\n                  <CompanyTableRowComponent\\n                    @app={{this.app}}\\n                    @company={{company}}\\n                    @segment={{@segment}}\\n                    @displayedAttributes={{this.displayedAttributes}}\\n                    @isCompany={{true}}\\n                    @createCompanyMessage={{action \\\"createCompanyMessage\\\"}}\\n                    @hasSelectedUsers={{this.hasSelectedUsers}}\\n                  />\\n                </Performance::MeasureRenderTime>\\n              {{/each}}\\n            </tbody>\\n          </table>\\n        </PaginationComponent>\\n        <div class=\\\"pagination__for-user-table o__white\\\">\\n          {{#if this.isPaginating}}\\n            {{#if this.hasErrored}}\\n              <IcBanner\\n                @type=\\\"error\\\"\\n                @text=\\\"An error occurred while loading more companies.\\\"\\n                @buttonLabel=\\\"Try again…\\\"\\n                @onButtonClick={{action \\\"reloadCurrentPage\\\"}}\\n              />\\n            {{else}}\\n              <IcLoadingIndicator @size=\\\"small\\\" />\\n            {{/if}}\\n          {{/if}}\\n        </div>\\n      </UsersAndCompanies::ListTable>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/company-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/company-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { reads } from '@ember/object/computed';\nimport { equalToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport UserOrCompaniesListComponent from 'embercom/components/base/user-or-companies-list';\nimport Company from 'embercom/models/company';\n\nexport default UserOrCompaniesListComponent.extend({\n  displayedAttributes: reads('attributeService.displayedCompanyAttributes'),\n  isShowingAll: equalToProperty('totalCount', 'app.company_count'),\n\n  loadPage(page) {\n    return this.executeSearch(Company, 'companies', { page });\n  },\n\n  tagTypeLabel: 'company',\n  tagEndpoint: '/ember/companies/bulk_tag.json',\n\n  actions: {\n    showUserOrCompany(company) {\n      this.router.transitionTo('apps.app.companies.company', company.id);\n    },\n    import() {},\n    showCreateUserModal() {},\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n <OneWaySelect\\n  @value={{this.companySize}}\\n  @options={{this.companySizes}}\\n  @optionLabelPath=\\\"label\\\"\\n  @optionTargetPath=\\\"value\\\"\\n  class={{this.classesForSelect}}\\n  @update={{action \\\"selectCompanySize\\\"}}\\n  name=\\\"companySize\\\"\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n <OneWaySelect\\n  @value={{this.companySize}}\\n  @options={{this.companySizes}}\\n  @optionLabelPath=\\\"label\\\"\\n  @optionTargetPath=\\\"value\\\"\\n  class={{this.classesForSelect}}\\n  @update={{action \\\"selectCompanySize\\\"}}\\n  name=\\\"companySize\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/company-size-select-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/company-size-select-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nexport default Component.extend({\n  translationsService: service('translations-service'),\n\n  classesForSelect: null,\n  companySize: 'Unknown',\n  required: false,\n  companySizes: computed('required', function() {\n    let localizedEmployeesText = this.translationsService.localize(\n      'shared.company_size_dropdown.employees',\n    );\n    let sizes = [\n      {\n        label: `1 - 4 ${localizedEmployeesText}`,\n        value: '1-4',\n      },\n      {\n        label: `5 - 9 ${localizedEmployeesText}`,\n        value: '5-9',\n      },\n      {\n        label: `10 - 49 ${localizedEmployeesText}`,\n        value: '10-49',\n      },\n      {\n        label: `50 - 199 ${localizedEmployeesText}`,\n        value: '50-199',\n      },\n      {\n        label: `200 - 499 ${localizedEmployeesText}`,\n        value: '200-499',\n      },\n      {\n        label: `500 - 999 ${localizedEmployeesText}`,\n        value: '500-999',\n      },\n      {\n        label: `1,000+ ${localizedEmployeesText}`,\n        value: '1,000+',\n      },\n    ];\n\n    if (!this.required) {\n      sizes.unshift({\n        label: this.translationsService.localize('shared.company_size_dropdown.placeholder'),\n        value: 'Unknown',\n      });\n    }\n\n    return sizes;\n  }),\n  actions: {\n    selectCompanySize(size) {\n      this.set('companySize', size);\n      if (this.onSelect) {\n        this.onSelect('company_size');\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<td class=\\\"tbl__cell {{if @company.isHighlighted \\\"o__kbd-selected\\\"}}\\\">\\n  <span class=\\\"avatar__container o__s\\\">\\n    <label\\n      class=\\\"tbl__user-list-avatar-checkbox-label {{unless this.shouldHaveVisibleCheckbox \\\"u__hidden\\\"}}\\\"\\n    >\\n      <Input\\n        @type=\\\"checkbox\\\"\\n        @checked={{@company.selected}}\\n        @classNames=\\\"tbl__user-list-avatar-checkbox\\\"\\n      />\\n    </label>\\n    <div\\n      class=\\\"tbl__user-list-avatar {{if this.shouldHaveVisibleCheckbox \\\"u__hidden\\\"}}\\\"\\n    >\\n      {{ic-avatar model=@company size=\\\"s\\\" contained=true}}\\n    </div>\\n    <LinkTo\\n      @route=\\\"apps.app.companies.company.users\\\"\\n      @model={{@company.id}}\\n      @query={{hash searchTerm=\\\"\\\"}}\\n    >\\n      {{@company.displayAs}}\\n    </LinkTo>\\n  </span>\\n</td>\\n<td class=\\\"tbl__cell o__contains-button shim__force-cell-button-width\\\">\\n  <IcButton\\n    @icon=\\\"manual-message\\\"\\n    @type=\\\"secondary\\\"\\n    @subtle={{true}}\\n    @inCell={{false}}\\n    @onClick={{@createCompanyMessage}}\\n    {{tooltip content=(concat \\\"Message every user in \\\" @company.name)}}\\n  />\\n</td>\\n{{#each @displayedAttributes as |displayedAttribute|}}\\n  <Users::Table::Cell\\n    @user={{@company}}\\n    @attribute={{displayedAttribute.attribute}}\\n    @isCompany={{true}}\\n    @renderCellTag={{true}}\\n  />\\n{{/each}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<td class=\\\"tbl__cell {{if @company.isHighlighted \\\"o__kbd-selected\\\"}}\\\">\\n  <span class=\\\"avatar__container o__s\\\">\\n    <label\\n      class=\\\"tbl__user-list-avatar-checkbox-label {{unless this.shouldHaveVisibleCheckbox \\\"u__hidden\\\"}}\\\"\\n    >\\n      <Input\\n        @type=\\\"checkbox\\\"\\n        @checked={{@company.selected}}\\n        @classNames=\\\"tbl__user-list-avatar-checkbox\\\"\\n      />\\n    </label>\\n    <div\\n      class=\\\"tbl__user-list-avatar {{if this.shouldHaveVisibleCheckbox \\\"u__hidden\\\"}}\\\"\\n    >\\n      {{ic-avatar model=@company size=\\\"s\\\" contained=true}}\\n    </div>\\n    <LinkTo\\n      @route=\\\"apps.app.companies.company.users\\\"\\n      @model={{@company.id}}\\n      @query={{hash searchTerm=\\\"\\\"}}\\n    >\\n      {{@company.displayAs}}\\n    </LinkTo>\\n  </span>\\n</td>\\n<td class=\\\"tbl__cell o__contains-button shim__force-cell-button-width\\\">\\n  <IcButton\\n    @icon=\\\"manual-message\\\"\\n    @type=\\\"secondary\\\"\\n    @subtle={{true}}\\n    @inCell={{false}}\\n    @onClick={{@createCompanyMessage}}\\n    {{tooltip content=(concat \\\"Message every user in \\\" @company.name)}}\\n  />\\n</td>\\n{{#each @displayedAttributes as |displayedAttribute|}}\\n  <Users::Table::Cell\\n    @user={{@company}}\\n    @attribute={{displayedAttribute.attribute}}\\n    @isCompany={{true}}\\n    @renderCellTag={{true}}\\n  />\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/company-table-row-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/company-table-row-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport LegacySelectionState from 'embercom/models/legacy-selection-state';\nimport { or } from '@ember/object/computed';\n\nexport default Component.extend({\n  tagName: 'tr',\n  classNames: ['tbl__user-list-row'],\n  classNameBindings: [\n    'company.selected:shim__checkbox-selected',\n    'company.isHighlighted:kbd_item_selected',\n  ],\n  selectionState: computed('model', function() {\n    return LegacySelectionState.create({\n      isSelectAllMode: false,\n      selected: [this.company],\n      unselected: [],\n      predicates: [],\n      count: 1,\n      search: '',\n    });\n  }),\n  shouldHaveVisibleCheckbox: or('isHovered', 'hasSelectedUsers'),\n  actions: {\n    createCompanyMessage() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('createCompanyMessage', this.selectionState);\n    },\n  },\n  mouseEnter() {\n    this.set('isHovered', true);\n  },\n  mouseLeave() {\n    this.set('isHovered', false);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"flex items-start\\\">\\n  <label class=\\\"w-5 mt-2\\\">\\n    <Input\\n      @type=\\\"checkbox\\\"\\n      @name=\\\"selected\\\"\\n      @checked={{@userOrCompany.selected}}\\n    />\\n  </label>\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <div class=\\\"card o__in-list\\\">\\n      <div class=\\\"card__inner\\\">\\n        <div class=\\\"avatar__container o__l\\\">\\n          <LinkTo @route=\\\"apps.app.users.user\\\" @model={{@userOrCompany.id}} @classNames=\\\"avatar o__contained o__l\\\">\\n            <IcAvatarComponent @size=\\\"l\\\" @model={{@userOrCompany}} />\\n          </LinkTo>\\n          <h3 class=\\\"t__h3\\\" data-test-user-or-company-display-name>\\n            <LinkTo @route=\\\"apps.app.users.user\\\" @model={{@userOrCompany.id}} class=\\\"t__solo-link\\\">{{@userOrCompany.displayAs}}</LinkTo>\\n          </h3>\\n          {{#if @userOrCompany.hasNameAndEmail}}\\n            <LinkTo @route=\\\"apps.app.users.user\\\" @model={{@userOrCompany.id}} class=\\\"t__solo-link text-gray\\\">{{@userOrCompany.email}}</LinkTo>\\n          {{/if}}\\n        </div>\\n        {{!-- template-lint-disable intercom/no-custom-table --}}\\n        <table class=\\\"w-full mt-4\\\">\\n          {{!-- template-lint-enable intercom/no-custom-table --}}\\n          <tr>\\n            {{#each @profileDisplayedUserAttributes as |attribute|}}\\n              <th class=\\\"t__light-text t__label text-left\\\">\\n                <People::AttributeAndEventDescriptionTooltip\\n                  @attribute={{attribute}}\\n                  @hideIcon={{true}}\\n                />\\n              </th>\\n            {{/each}}\\n          </tr>\\n          <tr>\\n            {{#each @profileDisplayedUserAttributes as |attribute|}}\\n              <td>\\n                {{ic-interface-icon attribute.icon}}\\n                <Users::Profile::UserCardAttributeComponent\\n                  @tagName=\\\"span\\\"\\n                  @attribute={{attribute}}\\n                  @userOrCompany={{@userOrCompany}}\\n                />\\n              </td>\\n            {{/each}}\\n          </tr>\\n        </table>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"flex items-start\\\">\\n  <label class=\\\"w-5 mt-2\\\">\\n    <Input\\n      @type=\\\"checkbox\\\"\\n      @name=\\\"selected\\\"\\n      @checked={{@userOrCompany.selected}}\\n    />\\n  </label>\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <div class=\\\"card o__in-list\\\">\\n      <div class=\\\"card__inner\\\">\\n        <div class=\\\"avatar__container o__l\\\">\\n          <LinkTo @route=\\\"apps.app.users.user\\\" @model={{@userOrCompany.id}} @classNames=\\\"avatar o__contained o__l\\\">\\n            <IcAvatarComponent @size=\\\"l\\\" @model={{@userOrCompany}} />\\n          </LinkTo>\\n          <h3 class=\\\"t__h3\\\" data-test-user-or-company-display-name>\\n            <LinkTo @route=\\\"apps.app.users.user\\\" @model={{@userOrCompany.id}} class=\\\"t__solo-link\\\">{{@userOrCompany.displayAs}}</LinkTo>\\n          </h3>\\n          {{#if @userOrCompany.hasNameAndEmail}}\\n            <LinkTo @route=\\\"apps.app.users.user\\\" @model={{@userOrCompany.id}} class=\\\"t__solo-link text-gray\\\">{{@userOrCompany.email}}</LinkTo>\\n          {{/if}}\\n        </div>\\n        {{!-- template-lint-disable intercom/no-custom-table --}}\\n        <table class=\\\"w-full mt-4\\\">\\n          {{!-- template-lint-enable intercom/no-custom-table --}}\\n          <tr>\\n            {{#each @profileDisplayedUserAttributes as |attribute|}}\\n              <th class=\\\"t__light-text t__label text-left\\\">\\n                <People::AttributeAndEventDescriptionTooltip\\n                  @attribute={{attribute}}\\n                  @hideIcon={{true}}\\n                />\\n              </th>\\n            {{/each}}\\n          </tr>\\n          <tr>\\n            {{#each @profileDisplayedUserAttributes as |attribute|}}\\n              <td>\\n                {{ic-interface-icon attribute.icon}}\\n                <Users::Profile::UserCardAttributeComponent\\n                  @tagName=\\\"span\\\"\\n                  @attribute={{attribute}}\\n                  @userOrCompany={{@userOrCompany}}\\n                />\\n              </td>\\n            {{/each}}\\n          </tr>\\n        </table>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/company-user-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/company-user-card.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import ComposerDebug from '@intercom/embercom-composer/components/composer-debug';\nexport default ComposerDebug;\n","import ComposerInserter from '@intercom/embercom-composer/components/composer-inserter';\nexport default ComposerInserter;\n","import Composer from '@intercom/embercom-composer/components/composer-v2';\nexport default Composer;\n","define(\"embercom/components/composer\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/composer\"], function (_exports, _composer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _composer.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasMessageTypePopover}}\\n  <Composer::Controls::MessageTypeQuickActionComponent\\n    class=\\\"u__left\\\"\\n    @messageType={{messageType}}\\n    @isMessageTypePopoverOpen={{isMessageTypePopoverOpen}}\\n    @toggleMessageTypePopover={{action \\\"toggleMessageTypePopover\\\"}}\\n  />\\n  {{#if isEmail}}\\n    <Composer::Controls::MessageStyleQuickActionComponent\\n      @defaultEmailTemplate={{app.default_email_template}}\\n      class=\\\"message-quick-action__container u__left\\\"\\n      @messageType={{messageType}}\\n      @emailTemplate={{emailTemplate}}\\n      @isMessageStylePopoverOpen={{isMessageStylePopoverOpen}}\\n      @toggleMessageStylePopover={{action \\\"toggleMessageStylePopover\\\"}}\\n    />\\n  {{/if}}\\n{{/if}}\\n{{#if hasEmoji}}\\n  <Popover\\n    @showOn={{array 'click'}}\\n    @hideOn={{array 'click' 'clickout'}}\\n    @showArrow={{true}}\\n    @placement=\\\"top\\\"\\n    @fallbackPlacements={{array 'bottom' 'left' 'right' 'auto'}}\\n    class=\\\"u__left\\\"\\n    as |popover|\\n  >\\n    <popover.Opener>\\n      <IcTooltipIcon\\n        @icon=\\\"lwr-happy\\\"\\n        @content=\\\"Insert an emoji\\\"\\n        @isDisabled={{popover.isVisible}}\\n        class=\\\"{{quickActionBaseClasses}} {{if popover.isVisible 'o__depressed'}} js__popover-opener js__popover-opener__emoji\\\"\\n        data-test-emoji-inserter\\n      />\\n    </popover.Opener>\\n    <popover.Content @fullBleed={{true}} class=\\\"emoji__popover\\\">\\n      <EmojiComponent @selectEmoji={{queue @insertEmoji popover.hide}} />\\n    </popover.Content>\\n  </Popover>\\n{{/if}}\\n{{#if hasComposerImageUploads}}\\n  <IcTooltipIcon\\n    @icon=\\\"picture\\\"\\n    @content=\\\"Insert an image\\\"\\n    class={{quickActionBaseClasses}}\\n    data-test-image-inserter\\n    {{action \\\"uploadComposerImage\\\"}}\\n  />\\n  <Input\\n    @type=\\\"file\\\"\\n    class=\\\"js__simple-composer__image-input u__hidden\\\"\\n    @accept=\\\"image/*\\\"\\n  />\\n{{/if}}\\n{{#if showComposerVideo}}\\n  <IcTooltipIcon\\n    @icon=\\\"video\\\"\\n    @content=\\\"Insert embedded video\\\"\\n    @isDisabled={{isComposerVideoPopoverOpen}}\\n    class=\\\"{{quickActionBaseClasses}} {{if isComposerVideoPopoverOpen \\\"o__depressed\\\"}} js__popover-opener__video\\\"\\n    data-test-video-inserter\\n    {{action \\\"toggleComposerVideoPopover\\\"}}\\n  />\\n{{/if}}\\n{{#if hasSavedContentFeature}}\\n  <IcTooltipIcon\\n    @icon=\\\"saved-reply\\\"\\n    @content=\\\"Insert saved content\\\"\\n    @isDisabled={{isSavedContentPopoverOpen}}\\n    class=\\\"{{quickActionBaseClasses}} {{if isSavedContentPopoverOpen \\\"o__depressed\\\"}} js__popover-opener__saved-content\\\"\\n    data-test-saved-content-inserter\\n    {{action \\\"toggleSavedContentPopover\\\"}}\\n  />\\n{{/if}}\\n{{#if hasComposerAttachments}}\\n  <IcTooltipIcon\\n    @icon=\\\"attachment\\\"\\n    @content=\\\"Upload an attachment\\\"\\n    data-test-attachment-inserter\\n    class={{quickActionBaseClasses}}\\n    {{action \\\"uploadComposerAttachment\\\"}}\\n  />\\n  <Input @type=\\\"file\\\" class=\\\"js__simple-composer__attachment-input u__hidden\\\" />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasMessageTypePopover}}\\n  <Composer::Controls::MessageTypeQuickActionComponent\\n    class=\\\"u__left\\\"\\n    @messageType={{messageType}}\\n    @isMessageTypePopoverOpen={{isMessageTypePopoverOpen}}\\n    @toggleMessageTypePopover={{action \\\"toggleMessageTypePopover\\\"}}\\n  />\\n  {{#if isEmail}}\\n    <Composer::Controls::MessageStyleQuickActionComponent\\n      @defaultEmailTemplate={{app.default_email_template}}\\n      class=\\\"message-quick-action__container u__left\\\"\\n      @messageType={{messageType}}\\n      @emailTemplate={{emailTemplate}}\\n      @isMessageStylePopoverOpen={{isMessageStylePopoverOpen}}\\n      @toggleMessageStylePopover={{action \\\"toggleMessageStylePopover\\\"}}\\n    />\\n  {{/if}}\\n{{/if}}\\n{{#if hasEmoji}}\\n  <Popover\\n    @showOn={{array 'click'}}\\n    @hideOn={{array 'click' 'clickout'}}\\n    @showArrow={{true}}\\n    @placement=\\\"top\\\"\\n    @fallbackPlacements={{array 'bottom' 'left' 'right' 'auto'}}\\n    class=\\\"u__left\\\"\\n    as |popover|\\n  >\\n    <popover.Opener>\\n      <IcTooltipIcon\\n        @icon=\\\"lwr-happy\\\"\\n        @content=\\\"Insert an emoji\\\"\\n        @isDisabled={{popover.isVisible}}\\n        class=\\\"{{quickActionBaseClasses}} {{if popover.isVisible 'o__depressed'}} js__popover-opener js__popover-opener__emoji\\\"\\n        data-test-emoji-inserter\\n      />\\n    </popover.Opener>\\n    <popover.Content @fullBleed={{true}} class=\\\"emoji__popover\\\">\\n      <EmojiComponent @selectEmoji={{queue @insertEmoji popover.hide}} />\\n    </popover.Content>\\n  </Popover>\\n{{/if}}\\n{{#if hasComposerImageUploads}}\\n  <IcTooltipIcon\\n    @icon=\\\"picture\\\"\\n    @content=\\\"Insert an image\\\"\\n    class={{quickActionBaseClasses}}\\n    data-test-image-inserter\\n    {{action \\\"uploadComposerImage\\\"}}\\n  />\\n  <Input\\n    @type=\\\"file\\\"\\n    class=\\\"js__simple-composer__image-input u__hidden\\\"\\n    @accept=\\\"image/*\\\"\\n  />\\n{{/if}}\\n{{#if showComposerVideo}}\\n  <IcTooltipIcon\\n    @icon=\\\"video\\\"\\n    @content=\\\"Insert embedded video\\\"\\n    @isDisabled={{isComposerVideoPopoverOpen}}\\n    class=\\\"{{quickActionBaseClasses}} {{if isComposerVideoPopoverOpen \\\"o__depressed\\\"}} js__popover-opener__video\\\"\\n    data-test-video-inserter\\n    {{action \\\"toggleComposerVideoPopover\\\"}}\\n  />\\n{{/if}}\\n{{#if hasSavedContentFeature}}\\n  <IcTooltipIcon\\n    @icon=\\\"saved-reply\\\"\\n    @content=\\\"Insert saved content\\\"\\n    @isDisabled={{isSavedContentPopoverOpen}}\\n    class=\\\"{{quickActionBaseClasses}} {{if isSavedContentPopoverOpen \\\"o__depressed\\\"}} js__popover-opener__saved-content\\\"\\n    data-test-saved-content-inserter\\n    {{action \\\"toggleSavedContentPopover\\\"}}\\n  />\\n{{/if}}\\n{{#if hasComposerAttachments}}\\n  <IcTooltipIcon\\n    @icon=\\\"attachment\\\"\\n    @content=\\\"Upload an attachment\\\"\\n    data-test-attachment-inserter\\n    class={{quickActionBaseClasses}}\\n    {{action \\\"uploadComposerAttachment\\\"}}\\n  />\\n  <Input @type=\\\"file\\\" class=\\\"js__simple-composer__attachment-input u__hidden\\\" />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/composer/controls/actions-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/composer/controls/actions-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { and, equal, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport $ from 'jquery';\nlet ComposerControlsActionsComponent = Component.extend({\n  notificationsService: service(),\n  quickActionBaseClasses: 'quick-action o__overflow-hidden u__left u__relative',\n\n  isEmail: equal('messageType', 'email'),\n  isInApp: computed('messageType', function() {\n    return ['chat', 'small-announcement', 'announcement', 'video'].includes(this.messageType);\n  }),\n  isMobilePush: equal('messageType', 'push_only'),\n  showComposerVideo: and('hasComposerVideo', 'isInApp'),\n  hasSavedContentFeature: readOnly('app.hasSavedContentFeature'),\n  maximumAllowedFileSize: 41943040,\n\n  change(e) {\n    let $target = $(e.target);\n    if ($target.is('.js__simple-composer__attachment-input, .js__simple-composer__image-input')) {\n      let action = $target.is('.js__simple-composer__attachment-input') ? 'Attachment' : 'Image';\n\n      let files = $.makeArray(e.target.files);\n      let fileSizesAreValid = files.every(file => file.size < this.maximumAllowedFileSize);\n      if (fileSizesAreValid) {\n        this.get(`upload${action}`)(files);\n      } else {\n        this.notificationsService.notifyError('File exceeded maximum file size of 40MB');\n      }\n    }\n  },\n  _openFileInputDialog(selector) {\n    let $fileInput = $(selector);\n    $fileInput.val(null);\n    $fileInput.trigger('click');\n  },\n  actions: {\n    uploadComposerImage() {\n      this._openFileInputDialog('.js__simple-composer__image-input');\n    },\n    uploadComposerAttachment() {\n      this._openFileInputDialog('.js__simple-composer__attachment-input');\n    },\n    toggleComposerVideoPopover() {\n      this.toggleComposerVideoPopover();\n    },\n    toggleMessageTypePopover() {\n      this.toggleMessageTypePopover();\n    },\n    toggleMessageStylePopover() {\n      this.toggleMessageStylePopover();\n    },\n    toggleSavedContentPopover() {\n      this.toggleSavedContentPopover();\n    },\n  },\n});\nexport default ComposerControlsActionsComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<svg width=\\\"8px\\\" height=\\\"11px\\\" viewBox=\\\"0 0 8 11\\\" version=\\\"1.1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"overlay__popover-caret o__bottom\\\" style={{caretStyle}}>>\\n  <g stroke=\\\"none\\\" stroke-width=\\\"1\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\">\\n    <path d=\\\"M4.4408921e-16,-0.5 L7,6 L4.4408921e-16,11.5 L-3,11 L-3,0 L4.4408921e-16,-0.5 Z\\\" class=\\\"overlay__popover-caret__vector\\\" stroke=\\\"#979797\\\" fill=\\\"#F6A623\\\"></path>\\n  </g>\\n</svg>\\n<div class=\\\"message-popover {{if isEmail \\\"o__email\\\" \\\"o__in-app\\\"}}\\\">\\n  <div class=\\\"message-popover__content\\\">\\n    <div class=\\\"message-popover__list\\\" data-test-message-template-list>\\n      <h2 class=\\\"message-popover__title t__label\\\">\\n        {{channelType}}\\n      </h2>\\n      {{#if isEmail}}\\n        {{#each emailTemplates as |template|}}\\n          <a\\n            class=\\\"overlay__list-item u__one-truncated-line o__hoverable u__prevent-breaks {{if template.isSelected \\\"js__message-popover__dropdown__list-item-selected\\\"}}\\\"\\n            href=\\\"#\\\"\\n            {{action \\\"setEmailTemplate\\\" template.id}}\\n          >\\n            <div class=\\\"flex items-start\\\">\\n              <div class=\\\"flex-auto min-w-0 u__one-truncated-line\\\">\\n                {{ic-interface-icon \\\"brush\\\"}} {{template.name}}\\n              </div>\\n              {{#if template.isDefault}}\\n                <IcTooltip\\n                  @isInteractive={{true}}\\n                  class=\\\"text-gray\\\"\\n                  as |t|\\n                >\\n                  <t.opener>\\n                    (default)\\n                  </t.opener>\\n                  <t.content>\\n                    You can set the default template for your app in\\n                    <LinkTo @route=\\\"apps.app.settings.email-templates\\\" target=\\\"_blank\\\">settings</LinkTo>.\\n                  </t.content>\\n                </IcTooltip>\\n              {{/if}}\\n              {{#if template.isSelected}}\\n                <span class=\\\"f__custom-select__check\\\">\\n                  {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n                </span>\\n              {{/if}}\\n            </div>\\n          </a>\\n        {{/each}}\\n      {{else}}\\n        <a\\n          class=\\\"overlay__list-item o__hoverable u__prevent-breaks u__cf\\\"\\n          href=\\\"#\\\"\\n          {{action \\\"setInAppStyle\\\" \\\"chat\\\"}}\\n        >\\n          <span class=\\\"u__left\\\">\\n            {{ic-interface-icon chatIcon}} Chat\\n          </span>\\n          {{#if isChat}}\\n            <span class=\\\"message-popover__check u__right\\\">\\n              {{ic-interface-icon \\\"check\\\"}}\\n            </span>\\n          {{/if}}\\n        </a>\\n        <a\\n          class=\\\"overlay__list-item o__hoverable u__prevent-breaks u__cf\\\"\\n          href=\\\"#\\\"\\n          {{action \\\"setInAppStyle\\\" \\\"small-announcement\\\"}}\\n        >\\n          <span class=\\\"u__left\\\">\\n            {{ic-interface-icon smallAnnouncementIcon}} {{smallAnnouncementLabel}}\\n          </span>\\n          {{#if isSmallAnnouncement}}\\n            <span class=\\\"message-popover__check u__right\\\">\\n              {{ic-interface-icon \\\"check\\\"}}\\n            </span>\\n          {{/if}}\\n        </a>\\n        <a\\n          class=\\\"overlay__list-item o__hoverable u__prevent-breaks u__cf\\\"\\n          href=\\\"#\\\"\\n          {{action \\\"setInAppStyle\\\" \\\"announcement\\\"}}\\n        >\\n          <span class=\\\"u__left\\\">\\n            {{ic-interface-icon bigAnnouncementIcon}} {{bigAnnouncementLabel}}\\n          </span>\\n          {{#if isBigAnnouncement}}\\n            <span class=\\\"message-popover__check u__right\\\">\\n              {{ic-interface-icon \\\"check\\\"}}\\n            </span>\\n          {{/if}}\\n        </a>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<svg width=\\\"8px\\\" height=\\\"11px\\\" viewBox=\\\"0 0 8 11\\\" version=\\\"1.1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"overlay__popover-caret o__bottom\\\" style={{caretStyle}}>>\\n  <g stroke=\\\"none\\\" stroke-width=\\\"1\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\">\\n    <path d=\\\"M4.4408921e-16,-0.5 L7,6 L4.4408921e-16,11.5 L-3,11 L-3,0 L4.4408921e-16,-0.5 Z\\\" class=\\\"overlay__popover-caret__vector\\\" stroke=\\\"#979797\\\" fill=\\\"#F6A623\\\"></path>\\n  </g>\\n</svg>\\n<div class=\\\"message-popover {{if isEmail \\\"o__email\\\" \\\"o__in-app\\\"}}\\\">\\n  <div class=\\\"message-popover__content\\\">\\n    <div class=\\\"message-popover__list\\\" data-test-message-template-list>\\n      <h2 class=\\\"message-popover__title t__label\\\">\\n        {{channelType}}\\n      </h2>\\n      {{#if isEmail}}\\n        {{#each emailTemplates as |template|}}\\n          <a\\n            class=\\\"overlay__list-item u__one-truncated-line o__hoverable u__prevent-breaks {{if template.isSelected \\\"js__message-popover__dropdown__list-item-selected\\\"}}\\\"\\n            href=\\\"#\\\"\\n            {{action \\\"setEmailTemplate\\\" template.id}}\\n          >\\n            <div class=\\\"flex items-start\\\">\\n              <div class=\\\"flex-auto min-w-0 u__one-truncated-line\\\">\\n                {{ic-interface-icon \\\"brush\\\"}} {{template.name}}\\n              </div>\\n              {{#if template.isDefault}}\\n                <IcTooltip\\n                  @isInteractive={{true}}\\n                  class=\\\"text-gray\\\"\\n                  as |t|\\n                >\\n                  <t.opener>\\n                    (default)\\n                  </t.opener>\\n                  <t.content>\\n                    You can set the default template for your app in\\n                    <LinkTo @route=\\\"apps.app.settings.email-templates\\\" target=\\\"_blank\\\">settings</LinkTo>.\\n                  </t.content>\\n                </IcTooltip>\\n              {{/if}}\\n              {{#if template.isSelected}}\\n                <span class=\\\"f__custom-select__check\\\">\\n                  {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n                </span>\\n              {{/if}}\\n            </div>\\n          </a>\\n        {{/each}}\\n      {{else}}\\n        <a\\n          class=\\\"overlay__list-item o__hoverable u__prevent-breaks u__cf\\\"\\n          href=\\\"#\\\"\\n          {{action \\\"setInAppStyle\\\" \\\"chat\\\"}}\\n        >\\n          <span class=\\\"u__left\\\">\\n            {{ic-interface-icon chatIcon}} Chat\\n          </span>\\n          {{#if isChat}}\\n            <span class=\\\"message-popover__check u__right\\\">\\n              {{ic-interface-icon \\\"check\\\"}}\\n            </span>\\n          {{/if}}\\n        </a>\\n        <a\\n          class=\\\"overlay__list-item o__hoverable u__prevent-breaks u__cf\\\"\\n          href=\\\"#\\\"\\n          {{action \\\"setInAppStyle\\\" \\\"small-announcement\\\"}}\\n        >\\n          <span class=\\\"u__left\\\">\\n            {{ic-interface-icon smallAnnouncementIcon}} {{smallAnnouncementLabel}}\\n          </span>\\n          {{#if isSmallAnnouncement}}\\n            <span class=\\\"message-popover__check u__right\\\">\\n              {{ic-interface-icon \\\"check\\\"}}\\n            </span>\\n          {{/if}}\\n        </a>\\n        <a\\n          class=\\\"overlay__list-item o__hoverable u__prevent-breaks u__cf\\\"\\n          href=\\\"#\\\"\\n          {{action \\\"setInAppStyle\\\" \\\"announcement\\\"}}\\n        >\\n          <span class=\\\"u__left\\\">\\n            {{ic-interface-icon bigAnnouncementIcon}} {{bigAnnouncementLabel}}\\n          </span>\\n          {{#if isBigAnnouncement}}\\n            <span class=\\\"message-popover__check u__right\\\">\\n              {{ic-interface-icon \\\"check\\\"}}\\n            </span>\\n          {{/if}}\\n        </a>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/composer/controls/message-style-popover-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/composer/controls/message-style-popover-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-jquery */\nimport { schedule } from '@ember/runloop';\nimport $ from 'jquery';\nimport { on } from '@ember/object/evented';\nimport EmberObject, { computed, observer } from '@ember/object';\nimport { equal } from '@ember/object/computed';\nimport LegacyOverlayBaseComponent from 'embercom/components/legacy-overlay-base-component';\nimport { templateString, ternary } from '@intercom/embercom-core/lib/computed-properties';\n\nconst EXCLUDED_TEMPLATE_IDS = ['html-block-template', 'official'];\nconst FALLBACK_TEMPLATE_ID = 'plain';\n\nlet MessageStylePopover = LegacyOverlayBaseComponent.extend({\n  extraClassNames: ['message-popover__container', 'o__fixed', 'js__popover__message-style'],\n  caretOffset: 10,\n  showCaret: true,\n  isOpen: false,\n  smallAnnouncementLabel: 'Note',\n  bigAnnouncementLabel: 'Post',\n\n  chatIcon: 'chat-bubble-line',\n  smallAnnouncementIcon: 'inapp-note',\n  bigAnnouncementIcon: 'inapp-post',\n\n  channelType: ternary('isEmail', 'Email Template', 'Message Type'),\n  isEmail: equal('messageStyle', 'email'),\n  isChat: equal('messageStyle', 'chat'),\n  isSmallAnnouncement: equal('messageStyle', 'small-announcement'),\n  isBigAnnouncement: equal('messageStyle', 'announcement'),\n  openerElementSelector: templateString('#${parentElementId} .js__popover-opener__message-style'),\n  popoverElementSelector: templateString(\n    '#${parentElementId} .js__popover__message-style.js__popover',\n  ),\n  filteredEmailTemplates: computed('app.email_templates.[]', function() {\n    return this.app.email_templates.filter(template => this._keepEmailTemplate(template.get('id')));\n  }),\n  defaultEmailTemplateId: computed('app.default_email_template_id', function() {\n    let defaultTemplate = this.app.default_email_template_id;\n\n    if (EXCLUDED_TEMPLATE_IDS.includes(defaultTemplate)) {\n      return FALLBACK_TEMPLATE_ID;\n    }\n\n    return defaultTemplate;\n  }),\n  emailTemplates: computed('emailTemplateId', 'filteredEmailTemplates.[]', function() {\n    return this.filteredEmailTemplates.map(template => {\n      return EmberObject.create({\n        id: template.get('id'),\n        name: template.get('name'),\n        isSelected: template.get('id') === this.emailTemplateId,\n        isDefault: template.get('id') === this.defaultEmailTemplateId,\n      });\n    });\n  }),\n  resetEmailTemplateId: on('didInsertElement', function() {\n    this.set('emailTemplateId', this.defaultEmailTemplateId);\n  }),\n  closePopover() {\n    this.set('isOpen', false);\n  },\n  _keepEmailTemplate(templateId) {\n    return !EXCLUDED_TEMPLATE_IDS.includes(templateId);\n  },\n  _scrollToSelectedItem() {\n    schedule('afterRender', this, function() {\n      let $popoverList = $('.message-popover__list', this.element);\n      let $selectedItem = $popoverList.find('.js__message-popover__dropdown__list-item-selected');\n      if ($selectedItem.length) {\n        let position = $selectedItem.position().top;\n        let reasonableScrollLimit = $popoverList.height() - $selectedItem.height();\n        if (position > reasonableScrollLimit) {\n          $popoverList.scrollTop(position);\n        }\n      }\n    });\n  },\n  setupInitialScrollPosition: observer({\n    dependentKeys: ['isOpen'],\n\n    fn() {\n      if (this.isOpen) {\n        this._scrollToSelectedItem();\n      }\n    },\n\n    sync: true,\n  }),\n  actions: {\n    setEmailTemplate(emailTemplateId) {\n      this.setEmailTemplate(emailTemplateId);\n      this.closePopover();\n    },\n    setInAppStyle(inAppStyle) {\n      this.setMessageType(inAppStyle);\n      this.closePopover();\n    },\n  },\n});\n\nexport default MessageStylePopover;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span\\n  class=\\\"f__custom-select js__popover-opener__message-style\\\"\\n  {{action \\\"toggleMessageStylePopover\\\"}}\\n  data-test-message-style-quick-action\\n  {{tooltip content=tooltipText isDisabled=isMessageStylePopoverOpen}}\\n>\\n  <span\\n    class=\\\"f__custom-select__box o__subtle message-quick-action o__message-style {{if isMessageStylePopoverOpen \\\"o__depressed\\\"}}\\\"\\n  >\\n    {{ic-interface-icon messageStyleIcon}}\\n    <span class=\\\"f__custom-select__caret\\\">\\n      {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n    </span>\\n  </span>\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span\\n  class=\\\"f__custom-select js__popover-opener__message-style\\\"\\n  {{action \\\"toggleMessageStylePopover\\\"}}\\n  data-test-message-style-quick-action\\n  {{tooltip content=tooltipText isDisabled=isMessageStylePopoverOpen}}\\n>\\n  <span\\n    class=\\\"f__custom-select__box o__subtle message-quick-action o__message-style {{if isMessageStylePopoverOpen \\\"o__depressed\\\"}}\\\"\\n  >\\n    {{ic-interface-icon messageStyleIcon}}\\n    <span class=\\\"f__custom-select__caret\\\">\\n      {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n    </span>\\n  </span>\\n</span>\\n\",\"moduleName\":\"embercom/components/composer/controls/message-style-quick-action-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/composer/controls/message-style-quick-action-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { equal } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport {\n  selectFromObject,\n  templateString,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  isMessageStylePopoverOpen: false,\n  emailTemplateName: ternaryToProperty(\n    'emailTemplate',\n    'emailTemplate.name',\n    'defaultEmailTemplate',\n  ),\n  tooltipText: ternaryToProperty('isEmail', 'tooltipTextForEmailTemplates', 'tooltipTextForInapps'),\n  tooltipTextForEmailTemplates: templateString('Change template (${emailTemplateName})'),\n  tooltipTextForInapps: templateString('Change message type'),\n  isEmail: equal('messageType', 'email'),\n  messageStyleIcon: selectFromObject('styleIconSet', 'messageType'),\n\n  styleIconSet: {\n    email: 'brush',\n    chat: 'chat-bubble-line',\n    'small-announcement': 'inapp-note',\n    announcement: 'inapp-post',\n  },\n  actions: {\n    toggleMessageStylePopover() {\n      this.toggleMessageStylePopover();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n<svg width=\\\"8px\\\" height=\\\"11px\\\" viewBox=\\\"0 0 8 11\\\" version=\\\"1.1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"overlay__popover-caret o__bottom\\\" style={{this.caretStyle}}>>\\n  <g stroke=\\\"none\\\" stroke-width=\\\"1\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\">\\n    <path d=\\\"M4.4408921e-16,-0.5 L7,6 L4.4408921e-16,11.5 L-3,11 L-3,0 L4.4408921e-16,-0.5 Z\\\" class=\\\"overlay__popover-caret__vector\\\" stroke=\\\"#979797\\\" fill=\\\"#F6A623\\\"></path>\\n  </g>\\n</svg>\\n\\n<div class=\\\"message-popover {{if @app.isDeveloperWorkspace 'o__developer-workspace'}}\\\">\\n  <div class=\\\"message-popover__content\\\">\\n    <h2 class=\\\"message-popover__title t__label\\\">Channel</h2>\\n    <a {{action 'setMessageType' 'chat'}} data-test-message-type=\\\"in-app\\\" class=\\\"overlay__list-item o__hoverable u__prevent-breaks u__cf\\\" href=\\\"#\\\">\\n      <span class=\\\"u__left\\\">Chat</span>\\n      {{#if this.isInApp}}\\n        <span class=\\\"message-popover__check u__right\\\">{{ic-interface-icon 'check'}}</span>\\n      {{/if}}\\n    </a>\\n    {{#if @app.isNotDeveloperWorkspace}}\\n      {{#if this.emailDisabled}}\\n        <IcTooltip as |t|>\\n          <t.opener>\\n            <span data-test-message-type-disabled=\\\"email\\\" class=\\\"overlay__list-item o__disabled u__prevent-breaks u__cf\\\">\\n              <span class=\\\"u__left\\\">Email</span>\\n            </span>\\n          </t.opener>\\n          <t.content>\\n            Can't switch to email: their email is unknown, they\\n            {{#if (gt @users.length 1)}}\\n              unsubscribed from your emails,\\n            {{/if}}\\n            marked your email as spam or have bounced from previous messages.\\n          </t.content>\\n        </IcTooltip>\\n      {{else}}\\n        <a {{action 'setMessageType' 'email'}} data-test-message-type=\\\"email\\\" class=\\\"overlay__list-item o__hoverable u__prevent-breaks u__cf\\\" href=\\\"#\\\">\\n          <span class=\\\"u__left\\\">Email</span>\\n          {{#if this.isEmail}}\\n            <span class=\\\"message-popover__check u__right\\\">{{ic-interface-icon 'check'}}</span>\\n          {{/if}}\\n        </a>\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n<svg width=\\\"8px\\\" height=\\\"11px\\\" viewBox=\\\"0 0 8 11\\\" version=\\\"1.1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"overlay__popover-caret o__bottom\\\" style={{this.caretStyle}}>>\\n  <g stroke=\\\"none\\\" stroke-width=\\\"1\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\">\\n    <path d=\\\"M4.4408921e-16,-0.5 L7,6 L4.4408921e-16,11.5 L-3,11 L-3,0 L4.4408921e-16,-0.5 Z\\\" class=\\\"overlay__popover-caret__vector\\\" stroke=\\\"#979797\\\" fill=\\\"#F6A623\\\"></path>\\n  </g>\\n</svg>\\n\\n<div class=\\\"message-popover {{if @app.isDeveloperWorkspace 'o__developer-workspace'}}\\\">\\n  <div class=\\\"message-popover__content\\\">\\n    <h2 class=\\\"message-popover__title t__label\\\">Channel</h2>\\n    <a {{action 'setMessageType' 'chat'}} data-test-message-type=\\\"in-app\\\" class=\\\"overlay__list-item o__hoverable u__prevent-breaks u__cf\\\" href=\\\"#\\\">\\n      <span class=\\\"u__left\\\">Chat</span>\\n      {{#if this.isInApp}}\\n        <span class=\\\"message-popover__check u__right\\\">{{ic-interface-icon 'check'}}</span>\\n      {{/if}}\\n    </a>\\n    {{#if @app.isNotDeveloperWorkspace}}\\n      {{#if this.emailDisabled}}\\n        <IcTooltip as |t|>\\n          <t.opener>\\n            <span data-test-message-type-disabled=\\\"email\\\" class=\\\"overlay__list-item o__disabled u__prevent-breaks u__cf\\\">\\n              <span class=\\\"u__left\\\">Email</span>\\n            </span>\\n          </t.opener>\\n          <t.content>\\n            Can't switch to email: their email is unknown, they\\n            {{#if (gt @users.length 1)}}\\n              unsubscribed from your emails,\\n            {{/if}}\\n            marked your email as spam or have bounced from previous messages.\\n          </t.content>\\n        </IcTooltip>\\n      {{else}}\\n        <a {{action 'setMessageType' 'email'}} data-test-message-type=\\\"email\\\" class=\\\"overlay__list-item o__hoverable u__prevent-breaks u__cf\\\" href=\\\"#\\\">\\n          <span class=\\\"u__left\\\">Email</span>\\n          {{#if this.isEmail}}\\n            <span class=\\\"message-popover__check u__right\\\">{{ic-interface-icon 'check'}}</span>\\n          {{/if}}\\n        </a>\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/composer/controls/message-type-popover-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/composer/controls/message-type-popover-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/no-on-calls-in-components */\nimport { on } from '@ember/object/evented';\nimport { equal, not } from '@ember/object/computed';\nimport LegacyOverlayBaseComponent from 'embercom/components/legacy-overlay-base-component';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport { computed } from '@ember/object';\n\nlet MessageTypePopover = LegacyOverlayBaseComponent.extend({\n  caretOffset: 10,\n  showCaret: true,\n  isOpen: false,\n  isEmail: equal('messageType', 'email'),\n  isInApp: not('isEmail'),\n  openerElementSelector: templateString('#${parentElementId} .js__popover-opener__message-type'),\n  popoverElementSelector: templateString(\n    '#${parentElementId} .js__popover__message-type.js__popover',\n  ),\n  extraClassNames: ['message-popover__container', 'o__fixed', 'js__popover__message-type'],\n  resetMessageType: on('didInsertElement', function() {\n    if (this.get('app.importedUsersAndIsNotActivated')) {\n      this.setMessageType('email');\n    } else {\n      this.setMessageType('chat');\n    }\n  }),\n  emailDisabled: computed('users.@each.{unsubscribed_from_emails,canNotBeEmailed}', function() {\n    if (this.users.length === 0) {\n      // For group emails, we don't have the user objects straight away, so this will always be 0\n      // so this check isn't useful in this case\n      return false;\n    } else if (this.users.length === 1) {\n      // For 1:1s, we allow sending messages to unsubscribed users.\n      return this.users[0].canNotBeEmailed;\n    }\n    return this.users.every(user => user.unsubscribed_from_emails || user.canNotBeEmailed);\n  }),\n  closePopover() {\n    this.set('isOpen', false);\n  },\n  actions: {\n    setMessageType(messageType) {\n      this.setMessageType(messageType);\n      this.closePopover();\n    },\n  },\n});\n\nexport default MessageTypePopover;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__left\\\">\\n  <span\\n    class=\\\"f__custom-select js__popover-opener__message-type\\\"\\n    {{on \\\"click\\\" @toggleMessageTypePopover}}\\n    {{tooltip content=\\\"Change channel\\\" isDisabled=@isMessageTypePopoverOpen}}\\n  >\\n    <span\\n      class=\\\"f__custom-select__box o__subtle message-quick-action o__message-type {{if @isMessageTypePopoverOpen \\\"o__depressed\\\"}}\\\"\\n      data-test-message-type-quick-action\\n    >\\n      {{#if (eq @messageType 'email')}}\\n        Email\\n      {{else}}\\n        Chat\\n      {{/if}}\\n      <span class=\\\"f__custom-select__caret\\\">\\n        {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n      </span>\\n    </span>\\n  </span>\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__left\\\">\\n  <span\\n    class=\\\"f__custom-select js__popover-opener__message-type\\\"\\n    {{on \\\"click\\\" @toggleMessageTypePopover}}\\n    {{tooltip content=\\\"Change channel\\\" isDisabled=@isMessageTypePopoverOpen}}\\n  >\\n    <span\\n      class=\\\"f__custom-select__box o__subtle message-quick-action o__message-type {{if @isMessageTypePopoverOpen \\\"o__depressed\\\"}}\\\"\\n      data-test-message-type-quick-action\\n    >\\n      {{#if (eq @messageType 'email')}}\\n        Email\\n      {{else}}\\n        Chat\\n      {{/if}}\\n      <span class=\\\"f__custom-select__caret\\\">\\n        {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n      </span>\\n    </span>\\n  </span>\\n</div>\\n\",\"moduleName\":\"embercom/components/composer/controls/message-type-quick-action-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/composer/controls/message-type-quick-action-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isOpen}}\\n  {{#if isModalOpen}}\\n    <Messages::SavedContentsModal\\n      @savedContents={{savedContents}}\\n      @insertSavedContent={{insertSavedContent}}\\n      @mode={{mode}}\\n      @closeModal={{action (mut isModalOpen) false}}\\n    />\\n  {{/if}}\\n    <svg width=\\\"8px\\\" height=\\\"11px\\\" viewBox=\\\"0 0 8 11\\\" version=\\\"1.1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"overlay__popover-caret o__bottom\\\" style={{caretStyle}}>>\\n    <g stroke=\\\"none\\\" stroke-width=\\\"1\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\">\\n      <path d=\\\"M4.4408921e-16,-0.5 L7,6 L4.4408921e-16,11.5 L-3,11 L-3,0 L4.4408921e-16,-0.5 Z\\\" class=\\\"overlay__popover-caret__vector\\\" stroke=\\\"#979797\\\" fill=\\\"#F6A623\\\"></path>\\n    </g>\\n  </svg>\\n  <div class=\\\"flex flex-row gap-4 mt-4\\\">\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <div class=\\\"pl-3\\\">\\n        <IcButton\\n          @type=\\\"secondary\\\"\\n          @label=\\\"Create\\\"\\n          @onClick={{action \\\"createSavedContent\\\"}}\\n          @disabled={{isLoading}}\\n          data-test-saved-content-create-button={{true}}\\n        />\\n      </div>\\n    </div>\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <div class=\\\"u__center-layout m-2\\\">\\n        <b data-test-saved-content-popover-title>\\n          Saved Content\\n        </b>\\n      </div>\\n    </div>\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <div class=\\\"pr-3 u__right\\\">\\n        <IcButton\\n          @type=\\\"secondary\\\"\\n          @label=\\\"Manage\\\"\\n          @onClick={{action (mut isModalOpen) true}}\\n          @disabled={{isLoading}}\\n          data-test-saved-content-manage-button={{true}}\\n        />\\n      </div>\\n    </div>\\n  </div>\\n  <hr />\\n  {{#if isLoading}}\\n    <div class=\\\"layout__box o__flexes-to-1 o__centers-all\\\">\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    </div>\\n  {{else}}\\n    {{#if hasSavedContents}}\\n      <div\\n        class=\\\"layout__box o__flexes-to-1 saved-contents__popover__panel\\\"\\n        data-test-saved-content-list\\n      >\\n        <VerticalCollection\\n          @items={{savedContents}}\\n          @estimateHeight={{36}}\\n          @staticHeight={{true}} as |content index|\\n        >\\n          <div\\n            class=\\\"saved-contents__list-item {{if (eq index highlightIndex) \\\"o__selected\\\"}} flex items-start\\\"\\n            onmouseenter={{action (mut highlightIndex) index}}\\n            {{action \\\"selectItem\\\" content}}\\n          >\\n            <IcTooltip as |t|>\\n              <t.opener>\\n                <IcAvatarComponent\\n                  @model={{content.admin}}\\n                  @size=\\\"xs\\\"\\n                  data-test-saved-content-avatar={{true}}\\n                />\\n              </t.opener>\\n              <t.content>\\n                Created by {{display-admin-as-firstname\\n                  content.admin\\n                  content.admin\\n                }} <time>\\n                  {{abbreviated-relative-time-ago-helper content.createdAt}}\\n                </time>\\n              </t.content>\\n            </IcTooltip>\\n            <a\\n              class=\\\"saved-contents__list-item__content\\\"\\n              data-test-saved-content\\n              title=\\\"{{content.summary}}\\\"\\n            >\\n              <div class=\\\"layout__box o__has-columns\\\">\\n                <div\\n                  class=\\\"saved-contents__list-item__name layout__box o__flexes-to-1\\\"\\n                  data-test-saved-content-name\\n                >\\n                  <span class=\\\"u__truncated-inline-block\\\">\\n                    {{content.name}}\\n                  </span>\\n                </div>\\n                <div\\n                  class=\\\"saved-contents__list-item__summary layout__box o__flexes-to-1\\\"\\n                  data-test-saved-content-summary\\n                >\\n                  <span class=\\\"u__truncated-inline-block\\\">\\n                    {{content.summary}}\\n                  </span>\\n                </div>\\n              </div>\\n            </a>\\n          </div>\\n        </VerticalCollection>\\n      </div>\\n    {{else}}\\n      <div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n        <IcEmptyState\\n          @icon=\\\"saved-reply\\\"\\n          @title=\\\"Looks like you have no saved content\\\"\\n          data-test-no-saved-content={{true}}\\n        />\\n      </div>\\n    {{/if}}\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isOpen}}\\n  {{#if isModalOpen}}\\n    <Messages::SavedContentsModal\\n      @savedContents={{savedContents}}\\n      @insertSavedContent={{insertSavedContent}}\\n      @mode={{mode}}\\n      @closeModal={{action (mut isModalOpen) false}}\\n    />\\n  {{/if}}\\n    <svg width=\\\"8px\\\" height=\\\"11px\\\" viewBox=\\\"0 0 8 11\\\" version=\\\"1.1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"overlay__popover-caret o__bottom\\\" style={{caretStyle}}>>\\n    <g stroke=\\\"none\\\" stroke-width=\\\"1\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\">\\n      <path d=\\\"M4.4408921e-16,-0.5 L7,6 L4.4408921e-16,11.5 L-3,11 L-3,0 L4.4408921e-16,-0.5 Z\\\" class=\\\"overlay__popover-caret__vector\\\" stroke=\\\"#979797\\\" fill=\\\"#F6A623\\\"></path>\\n    </g>\\n  </svg>\\n  <div class=\\\"flex flex-row gap-4 mt-4\\\">\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <div class=\\\"pl-3\\\">\\n        <IcButton\\n          @type=\\\"secondary\\\"\\n          @label=\\\"Create\\\"\\n          @onClick={{action \\\"createSavedContent\\\"}}\\n          @disabled={{isLoading}}\\n          data-test-saved-content-create-button={{true}}\\n        />\\n      </div>\\n    </div>\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <div class=\\\"u__center-layout m-2\\\">\\n        <b data-test-saved-content-popover-title>\\n          Saved Content\\n        </b>\\n      </div>\\n    </div>\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <div class=\\\"pr-3 u__right\\\">\\n        <IcButton\\n          @type=\\\"secondary\\\"\\n          @label=\\\"Manage\\\"\\n          @onClick={{action (mut isModalOpen) true}}\\n          @disabled={{isLoading}}\\n          data-test-saved-content-manage-button={{true}}\\n        />\\n      </div>\\n    </div>\\n  </div>\\n  <hr />\\n  {{#if isLoading}}\\n    <div class=\\\"layout__box o__flexes-to-1 o__centers-all\\\">\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    </div>\\n  {{else}}\\n    {{#if hasSavedContents}}\\n      <div\\n        class=\\\"layout__box o__flexes-to-1 saved-contents__popover__panel\\\"\\n        data-test-saved-content-list\\n      >\\n        <VerticalCollection\\n          @items={{savedContents}}\\n          @estimateHeight={{36}}\\n          @staticHeight={{true}} as |content index|\\n        >\\n          <div\\n            class=\\\"saved-contents__list-item {{if (eq index highlightIndex) \\\"o__selected\\\"}} flex items-start\\\"\\n            onmouseenter={{action (mut highlightIndex) index}}\\n            {{action \\\"selectItem\\\" content}}\\n          >\\n            <IcTooltip as |t|>\\n              <t.opener>\\n                <IcAvatarComponent\\n                  @model={{content.admin}}\\n                  @size=\\\"xs\\\"\\n                  data-test-saved-content-avatar={{true}}\\n                />\\n              </t.opener>\\n              <t.content>\\n                Created by {{display-admin-as-firstname\\n                  content.admin\\n                  content.admin\\n                }} <time>\\n                  {{abbreviated-relative-time-ago-helper content.createdAt}}\\n                </time>\\n              </t.content>\\n            </IcTooltip>\\n            <a\\n              class=\\\"saved-contents__list-item__content\\\"\\n              data-test-saved-content\\n              title=\\\"{{content.summary}}\\\"\\n            >\\n              <div class=\\\"layout__box o__has-columns\\\">\\n                <div\\n                  class=\\\"saved-contents__list-item__name layout__box o__flexes-to-1\\\"\\n                  data-test-saved-content-name\\n                >\\n                  <span class=\\\"u__truncated-inline-block\\\">\\n                    {{content.name}}\\n                  </span>\\n                </div>\\n                <div\\n                  class=\\\"saved-contents__list-item__summary layout__box o__flexes-to-1\\\"\\n                  data-test-saved-content-summary\\n                >\\n                  <span class=\\\"u__truncated-inline-block\\\">\\n                    {{content.summary}}\\n                  </span>\\n                </div>\\n              </div>\\n            </a>\\n          </div>\\n        </VerticalCollection>\\n      </div>\\n    {{else}}\\n      <div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n        <IcEmptyState\\n          @icon=\\\"saved-reply\\\"\\n          @title=\\\"Looks like you have no saved content\\\"\\n          data-test-no-saved-content={{true}}\\n        />\\n      </div>\\n    {{/if}}\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/composer/controls/saved-content-popover-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/composer/controls/saved-content-popover-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport LegacyOverlayBaseComponent from 'embercom/components/legacy-overlay-base-component';\nimport { gt, not } from '@ember/object/computed';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nlet SavedContentPopover = LegacyOverlayBaseComponent.extend({\n  appService: service(),\n  intercomEventService: service(),\n  app: readOnly('appService.app'),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  'data-test-saved-content-picker': true,\n  classNames: ['saved-contents__popover'],\n  allowAutoClose: not('isModalOpen'),\n  isModalOpen: false,\n  model: '',\n\n  isLoading: readOnly('savedContents.isPending'),\n  hasSavedContents: gt('savedContents.length', 0),\n  savedContents: readOnly('app.savedContents'),\n\n  openerElementSelector: templateString('#${parentElementId} .js__popover-opener__saved-content'),\n  popoverElementSelector: templateString(\n    '#${parentElementId} .saved-contents__popover.js__popover',\n  ),\n\n  actions: {\n    selectItem(savedContent) {\n      this.insertSavedContent(savedContent);\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'inserted_from_popover',\n        object: 'saved_content',\n      });\n    },\n    createSavedContent() {\n      this.set('mode', 'create');\n      this.set('isModalOpen', true);\n    },\n  },\n});\n\nexport default SavedContentPopover;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<svg width=\\\"8px\\\" height=\\\"11px\\\" viewBox=\\\"0 0 8 11\\\" version=\\\"1.1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"overlay__popover-caret o__bottom\\\" style={{caretStyle}}>>\\n  <g stroke=\\\"none\\\" stroke-width=\\\"1\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\">\\n    <path d=\\\"M4.4408921e-16,-0.5 L7,6 L4.4408921e-16,11.5 L-3,11 L-3,0 L4.4408921e-16,-0.5 Z\\\" class=\\\"overlay__popover-caret__vector message-popover__caret {{if hasError \\\"o__has-error\\\"}}\\\" stroke=\\\"#979797\\\" fill=\\\"#F6A623\\\"></path>\\n  </g>\\n</svg>\\n<div class=\\\"message-popover o__input\\\">\\n  <div class=\\\"message-popover__content message-popover__row\\\">\\n    <label\\n      class=\\\"message-popover__cell message-popover__label {{if hasError \\\"o__has-error\\\"}} t__label\\\"\\n    >\\n      Enter Video URL\\n\\n      <IcTooltipIcon\\n        @content=\\\"YouTube, Vimeo, Wistia, Loom or Vidyard\\\"\\n        class=\\\"t__light-text {{if hasError \\\"o__has-error\\\"}}\\\"\\n      />\\n    </label>\\n    <div class=\\\"message-popover__cell message-popover__divider\\\"></div>\\n    <div class=\\\"message-popover__cell\\\">\\n      <Input\\n        class=\\\"message-popover__input js__popover__input {{if hasError \\\"o__has-error\\\"}}\\\"\\n        placeholder=\\\"Enter video URL\\\"\\n        @type=\\\"text\\\"\\n        @value={{videoUrl}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<svg width=\\\"8px\\\" height=\\\"11px\\\" viewBox=\\\"0 0 8 11\\\" version=\\\"1.1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"overlay__popover-caret o__bottom\\\" style={{caretStyle}}>>\\n  <g stroke=\\\"none\\\" stroke-width=\\\"1\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\">\\n    <path d=\\\"M4.4408921e-16,-0.5 L7,6 L4.4408921e-16,11.5 L-3,11 L-3,0 L4.4408921e-16,-0.5 Z\\\" class=\\\"overlay__popover-caret__vector message-popover__caret {{if hasError \\\"o__has-error\\\"}}\\\" stroke=\\\"#979797\\\" fill=\\\"#F6A623\\\"></path>\\n  </g>\\n</svg>\\n<div class=\\\"message-popover o__input\\\">\\n  <div class=\\\"message-popover__content message-popover__row\\\">\\n    <label\\n      class=\\\"message-popover__cell message-popover__label {{if hasError \\\"o__has-error\\\"}} t__label\\\"\\n    >\\n      Enter Video URL\\n\\n      <IcTooltipIcon\\n        @content=\\\"YouTube, Vimeo, Wistia, Loom or Vidyard\\\"\\n        class=\\\"t__light-text {{if hasError \\\"o__has-error\\\"}}\\\"\\n      />\\n    </label>\\n    <div class=\\\"message-popover__cell message-popover__divider\\\"></div>\\n    <div class=\\\"message-popover__cell\\\">\\n      <Input\\n        class=\\\"message-popover__input js__popover__input {{if hasError \\\"o__has-error\\\"}}\\\"\\n        placeholder=\\\"Enter video URL\\\"\\n        @type=\\\"text\\\"\\n        @value={{videoUrl}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/composer/controls/video-popover-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/composer/controls/video-popover-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { computed } from '@ember/object';\nimport LegacyOverlayBaseComponent from 'embercom/components/legacy-overlay-base-component';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport VideoUrlParser from '@intercom/embercom-composer/lib/video-url-parser';\n\nconst ENTER = 13;\n\nlet VideoPopover = LegacyOverlayBaseComponent.extend({\n  extraClassNames: ['message-popover__container', 'o__input', 'o__fixed', 'js__popover__video'],\n  classNameBindings: ['hasError:o__has-error'],\n  hasError: false,\n  caretOffset: 10,\n  showCaret: true,\n  openerElementSelector: templateString('#${parentElementId} .js__popover-opener__video'),\n  popoverElementSelector: templateString('#${parentElementId} .js__popover__video.js__popover'),\n  closePopover() {\n    this.setProperties({\n      isOpen: false,\n      hasError: false,\n      videoUrl: '',\n    });\n  },\n  isVideoUrlValid: computed('videoUrl', function() {\n    return VideoUrlParser.parse(this.videoUrl).isValid;\n  }),\n  keyDown(e) {\n    let keyCode = e.which;\n    if (keyCode === ENTER) {\n      e.preventDefault();\n      if (!this.isVideoUrlValid) {\n        this.set('hasError', true);\n      } else {\n        this.insertVideo(this.videoUrl);\n        this.closePopover();\n      }\n    }\n  },\n});\n\nexport default VideoPopover;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each confetti as |confetto|}}\\n  {{#if useSnowflakes}}\\n    <span class=\\\"confetti-item o__snowflake\\\" style=\\\"animation-delay: {{confetto.animationDuration}}; left: {{confetto.left}};\\\">{{confetto.flake}}</span>\\n  {{else}}\\n    <svg class=\\\"confetti-item\\\" width=\\\"17\\\" height=\\\"21\\\" viewBox=\\\"0 0 6.6 8.4\\\" style=\\\"animation-duration: {{confetto.animationDuration}}; color: {{confetto.color}}; left: {{confetto.left}};\\\">\\n      <path fill=\\\"currentColor\\\" d=\\\"M-.017 6.91L4.035.012l2.587 1.52L2.57 8.43z\\\" transform=\\\"rotate(89, 3.3, 4.2)\\\"></path>\\n    </svg>\\n  {{/if}}\\n{{/each}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each confetti as |confetto|}}\\n  {{#if useSnowflakes}}\\n    <span class=\\\"confetti-item o__snowflake\\\" style=\\\"animation-delay: {{confetto.animationDuration}}; left: {{confetto.left}};\\\">{{confetto.flake}}</span>\\n  {{else}}\\n    <svg class=\\\"confetti-item\\\" width=\\\"17\\\" height=\\\"21\\\" viewBox=\\\"0 0 6.6 8.4\\\" style=\\\"animation-duration: {{confetto.animationDuration}}; color: {{confetto.color}}; left: {{confetto.left}};\\\">\\n      <path fill=\\\"currentColor\\\" d=\\\"M-.017 6.91L4.035.012l2.587 1.52L2.57 8.43z\\\" transform=\\\"rotate(89, 3.3, 4.2)\\\"></path>\\n    </svg>\\n  {{/if}}\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/confetti-rain.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/confetti-rain.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { A } from '@ember/array';\nimport Component from '@ember/component';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport { readOnly, and, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  forceUseConfetti: false,\n  forceUseConfettiDisabled: not('forceUseConfetti'),\n  useSnowflakes: and('app.canSeeSnowfall', 'forceUseConfettiDisabled'),\n\n  animationBaseDuration: 500,\n\n  colors: A([\n    '#e6525a',\n    '#ff4081',\n    '#f26c73',\n    '#b3a3ed',\n    '#ba68c8',\n    '#7e61ea',\n    '#1271c4',\n    '#1f8ceb',\n    '#b9dcfa',\n    '#4dd0e1',\n    '#26a69a',\n    '#66bb6a',\n    '#6ce4b3',\n    '#b8f150',\n    '#ffe645',\n    '#ffd37a',\n    '#ffab7a',\n  ]),\n  snowflakes: A(['❄', '❅', '❆']),\n  confettiCount: ternary('useSnowflakes', 20, 40),\n\n  confetti: computed('confettiCount', 'colors.[]', 'useSnowflakes', function() {\n    let useSnowflakes = this.useSnowflakes;\n    let confettiCount = this.confettiCount;\n\n    let confetti = A();\n    for (let i = 0; i < confettiCount; i++) {\n      let confetto = {\n        animationDuration: `${this.animationBaseDuration + Math.random() * 1500}ms`,\n        color: this._randomColor(),\n        left: `${(100 / confettiCount) * i}vw`,\n      };\n      if (useSnowflakes) {\n        confetto.flake = this._randomSnowflake();\n      }\n      confetti.pushObject(confetto);\n    }\n    return confetti;\n  }),\n\n  _randomSnowflake() {\n    let snowflakes = this.snowflakes;\n    let randomIndex = Math.floor(Math.random() * snowflakes.get('length'));\n    return snowflakes.objectAt(randomIndex);\n  },\n\n  _randomColor() {\n    let colors = this.colors;\n    let randomIndex = Math.floor(Math.random() * colors.get('length'));\n    return colors.objectAt(randomIndex);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if hasBlock}}\\n  {{yield\\n    (hash\\n      Editor=(component 'content-editor/body'\\n        ruleset=this.ruleset\\n        duplicateRuleset=this.duplicateRuleset\\n        contentEditorService=this.contentEditorService\\n        onRulesetChange=this.onRulesetChange\\n        registerRuleset=this.registerRuleset\\n        unregisterRuleset=this.unregisterRuleset\\n      )\\n    )\\n  }}\\n{{else}}\\n  <ContentEditor::Body\\n    @ruleset={{this.ruleset}}\\n    @duplicateRuleset={{this.duplicateRuleset}}\\n    @contentEditorService={{this.contentEditorService}}\\n    @onRulesetChange={{this.onRulesetChange}}\\n    @registerRuleset={{this.registerRuleset}}\\n    @unregisterRuleset={{this.unregisterRuleset}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{#if hasBlock}}\\n  {{yield\\n    (hash\\n      Editor=(component 'content-editor/body'\\n        ruleset=this.ruleset\\n        duplicateRuleset=this.duplicateRuleset\\n        contentEditorService=this.contentEditorService\\n        onRulesetChange=this.onRulesetChange\\n        registerRuleset=this.registerRuleset\\n        unregisterRuleset=this.unregisterRuleset\\n      )\\n    )\\n  }}\\n{{else}}\\n  <ContentEditor::Body\\n    @ruleset={{this.ruleset}}\\n    @duplicateRuleset={{this.duplicateRuleset}}\\n    @contentEditorService={{this.contentEditorService}}\\n    @onRulesetChange={{this.onRulesetChange}}\\n    @registerRuleset={{this.registerRuleset}}\\n    @unregisterRuleset={{this.unregisterRuleset}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/content-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class ContentEditor extends Component {\n  @service contentEditorService;\n\n  get ruleset() {\n    return this.args.ruleset;\n  }\n\n  @action\n  onRulesetChange() {\n    if (this.contentEditorService.ruleset.id !== this.args.ruleset.id) {\n      // the ruleset passed as an argument will change when a ruleset is duplicated\n      this.contentEditorService.unregister(this.contentEditorService.ruleset);\n      this.registerRuleset();\n    }\n  }\n\n  @action\n  duplicateRuleset(type = null) {\n    this.contentEditorService.duplicateRuleset.perform(type);\n  }\n\n  @action\n  unregisterRuleset() {\n    this.contentEditorService.unregister(this.args.ruleset);\n  }\n\n  @action\n  registerRuleset() {\n    this.contentEditorService.register({\n      ruleset: this.args.ruleset,\n      rulesetLink: this.args.rulesetLink,\n      filter: this.args.filter,\n      mode: this.args.mode,\n      view: this.args.view,\n      onChangeFilter: this.args.onChangeFilter,\n      onChangeMode: this.args.onChangeMode,\n      onChangeView: this.args.onChangeView,\n      onChangeActiveRulesetLink: this.args.onChangeActiveRulesetLink,\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<MatchingSystem::Content::Carousel::AudienceSelector::Preview\\n  @ruleset={{@ruleset}}\\n  @tooltipText={{@config.tooltipText}}\\n  @audiencePreviewText={{@config.audiencePreviewText}}\\n  @emptyStateDescription={{@config.emptyStateDescription}}\\n  @useLegacyList={{@config.useLegacyPreviewList}}\\n  @visitorsWithRulesDescription=\\\"Improve the targeting by adding rules\\\"\\n  @visitorsWithoutRulesDescription=\\\"Improve the targeting by adding rules\\\"\\n/>\\n\", {\"contents\":\"<MatchingSystem::Content::Carousel::AudienceSelector::Preview\\n  @ruleset={{@ruleset}}\\n  @tooltipText={{@config.tooltipText}}\\n  @audiencePreviewText={{@config.audiencePreviewText}}\\n  @emptyStateDescription={{@config.emptyStateDescription}}\\n  @useLegacyList={{@config.useLegacyPreviewList}}\\n  @visitorsWithRulesDescription=\\\"Improve the targeting by adding rules\\\"\\n  @visitorsWithoutRulesDescription=\\\"Improve the targeting by adding rules\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/content-editor/audience-wrappers/content/carousel/audience-preview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/audience-wrappers/content/carousel/audience-preview.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col\\\">\\n  <Heading @size='4' data-test-audience-selector-audience-heading>Who will receive this</Heading>\\n  <div>\\n    <MatchingSystem::Content::Carousel::AudienceSelector::AudienceRulesEditor\\n      @allowedUserRoles={{@config.allowedUserRoles}}\\n      @predicateGroup={{@ruleset.predicateGroup}}\\n      @rolePredicateGroup={{@ruleset.rolePredicateGroup}}\\n      @onUpdatePredicates={{action \\\"onUpdatePredicates\\\"}}\\n      @onUpdateRolePredicates={{action \\\"onUpdateRolePredicates\\\"}}\\n      @useRolePredicateGroup={{@config.useRolePredicateGroup}}\\n      @showSeriesContentEvents={{@ruleset.isMemberOfSeries}}\\n      @contentEventsDisabled={{and @ruleset.isMemberOfSeries @ruleset.node.isStarting}}\\n      @ruleset={{@ruleset}}\\n    />\\n  </div>\\n</div>\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col\\\">\\n  <Heading @size='4' data-test-audience-selector-audience-heading>Who will receive this</Heading>\\n  <div>\\n    <MatchingSystem::Content::Carousel::AudienceSelector::AudienceRulesEditor\\n      @allowedUserRoles={{@config.allowedUserRoles}}\\n      @predicateGroup={{@ruleset.predicateGroup}}\\n      @rolePredicateGroup={{@ruleset.rolePredicateGroup}}\\n      @onUpdatePredicates={{action \\\"onUpdatePredicates\\\"}}\\n      @onUpdateRolePredicates={{action \\\"onUpdateRolePredicates\\\"}}\\n      @useRolePredicateGroup={{@config.useRolePredicateGroup}}\\n      @showSeriesContentEvents={{@ruleset.isMemberOfSeries}}\\n      @contentEventsDisabled={{and @ruleset.isMemberOfSeries @ruleset.node.isStarting}}\\n      @ruleset={{@ruleset}}\\n    />\\n  </div>\\n</div>\",\"moduleName\":\"embercom/components/content-editor/audience-wrappers/content/carousel/audience-rules-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/audience-wrappers/content/carousel/audience-rules-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport StandardAudienceRulesEditor from 'embercom/components/content-editor/audience-wrappers/standard/audience-rules-editor';\nexport default class AudienceRulesEditor extends StandardAudienceRulesEditor {}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"pl-6 pt-4\\\">\\n  <Heading @size='4' data-test-audience-selector-internal-node-series-preview>\\n    Audience preview unavailable\\n  </Heading>\\n  <Text @styling=\\\"label\\\">\\n    You'll only see an audience preview on entry rules blocks.\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/en/articles/4425207-orchestrate-your-customer-messaging-with-series\\\"\\n      @linkStyling=\\\"inline\\\"\\n      class=\\\"o__label\\\"\\n      @title=\\\"Learn more\\\"\\n      @type=\\\"article\\\"\\n    />\\n  </Text>\\n</div>\\n\", {\"contents\":\"<div class=\\\"pl-6 pt-4\\\">\\n  <Heading @size='4' data-test-audience-selector-internal-node-series-preview>\\n    Audience preview unavailable\\n  </Heading>\\n  <Text @styling=\\\"label\\\">\\n    You'll only see an audience preview on entry rules blocks.\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/en/articles/4425207-orchestrate-your-customer-messaging-with-series\\\"\\n      @linkStyling=\\\"inline\\\"\\n      class=\\\"o__label\\\"\\n      @title=\\\"Learn more\\\"\\n      @type=\\\"article\\\"\\n    />\\n  </Text>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/audience-wrappers/content/series/audience-preview-non-starting-node.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/audience-wrappers/content/series/audience-preview-non-starting-node.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col\\\">\\n  <Heading @size='4' data-test-audience-selector-audience-heading>\\n    Who will {{if this.node.isStarting \\\"enter\\\" \\\"proceed\\\"}}\\n  </Heading>\\n  <div>\\n    <MatchingSystem::Content::Series::AudienceSelector::AudienceRulesEditor\\n      @allowedUserRoles={{@config.allowedUserRoles}}\\n      @predicateGroup={{@ruleset.predicateGroup}}\\n      @rolePredicateGroup={{@ruleset.rolePredicateGroup}}\\n      @onUpdatePredicates={{action \\\"onUpdatePredicates\\\"}}\\n      @onUpdateRolePredicates={{action \\\"onUpdateRolePredicates\\\"}}\\n      @useRolePredicateGroup={{true}}\\n      @showSeriesContentEvents={{@ruleset.isMemberOfSeries}}\\n      @contentEventsDisabled={{and @ruleset.isMemberOfSeries @ruleset.node.isStarting}}\\n      @hideAddFilterGroupButton={{@config.hideAddFilterGroupButton}}\\n      @hideAddRule={{@config.hideAddRule}}\\n      @isDisabled={{@config.isDisabled}}\\n    />\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col\\\">\\n  <Heading @size='4' data-test-audience-selector-audience-heading>\\n    Who will {{if this.node.isStarting \\\"enter\\\" \\\"proceed\\\"}}\\n  </Heading>\\n  <div>\\n    <MatchingSystem::Content::Series::AudienceSelector::AudienceRulesEditor\\n      @allowedUserRoles={{@config.allowedUserRoles}}\\n      @predicateGroup={{@ruleset.predicateGroup}}\\n      @rolePredicateGroup={{@ruleset.rolePredicateGroup}}\\n      @onUpdatePredicates={{action \\\"onUpdatePredicates\\\"}}\\n      @onUpdateRolePredicates={{action \\\"onUpdateRolePredicates\\\"}}\\n      @useRolePredicateGroup={{true}}\\n      @showSeriesContentEvents={{@ruleset.isMemberOfSeries}}\\n      @contentEventsDisabled={{and @ruleset.isMemberOfSeries @ruleset.node.isStarting}}\\n      @hideAddFilterGroupButton={{@config.hideAddFilterGroupButton}}\\n      @hideAddRule={{@config.hideAddRule}}\\n      @isDisabled={{@config.isDisabled}}\\n    />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/audience-wrappers/content/series/audience-rules-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/audience-wrappers/content/series/audience-rules-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport AudienceRulesEditor from '../../standard/audience-rules-editor';\nimport { action } from '@ember/object';\nimport { copy } from 'ember-copy';\nexport default class SeriesAudienceRulesEditor extends AudienceRulesEditor {\n  get node() {\n    return this.args.ruleset.node;\n  }\n\n  @action\n  onUpdatePredicates(predicates) {\n    this.args.ruleset.set('predicateGroup.predicates', copy(predicates));\n    if (this.node.isStarting) {\n      this.args.ruleset.get('fetchAudiencePreviewTask').perform();\n    }\n  }\n\n  @action\n  onUpdateRolePredicates(rolePredicates) {\n    this.args.ruleset.set('rolePredicateGroup.predicates', copy(rolePredicates));\n    if (this.node.isStarting) {\n      this.args.ruleset.get('fetchAudiencePreviewTask').perform();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<MatchingSystem::AudienceSelector::Preview\\n  @ruleset={{@ruleset}}\\n  @tooltipText={{@config.tooltipText}}\\n  @audiencePreviewText={{@config.audiencePreviewText}}\\n  @emptyStateDescription={{@config.emptyStateDescription}}\\n  @useLegacyList={{@config.useLegacyPreviewList}}\\n  @visitorsWithRulesDescription=\\\"Improve the targeting by adding rules\\\"\\n  @visitorsWithoutRulesDescription=\\\"Improve the targeting by adding rules\\\"\\n/>\\n\", {\"contents\":\"<MatchingSystem::AudienceSelector::Preview\\n  @ruleset={{@ruleset}}\\n  @tooltipText={{@config.tooltipText}}\\n  @audiencePreviewText={{@config.audiencePreviewText}}\\n  @emptyStateDescription={{@config.emptyStateDescription}}\\n  @useLegacyList={{@config.useLegacyPreviewList}}\\n  @visitorsWithRulesDescription=\\\"Improve the targeting by adding rules\\\"\\n  @visitorsWithoutRulesDescription=\\\"Improve the targeting by adding rules\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/content-editor/audience-wrappers/standard/audience-preview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/audience-wrappers/standard/audience-preview.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col\\\">\\n  <Heading @size='4' data-test-audience-selector-audience-heading>Who will receive this</Heading>\\n  <div>\\n    <MatchingSystem::AudienceSelector::AudienceRulesEditor\\n      @allowedUserRoles={{@config.allowedUserRoles}}\\n      @predicateGroup={{@ruleset.predicateGroup}}\\n      @rolePredicateGroup={{@ruleset.rolePredicateGroup}}\\n      @onUpdatePredicates={{action \\\"onUpdatePredicates\\\"}}\\n      @onUpdateRolePredicates={{action \\\"onUpdateRolePredicates\\\"}}\\n      @useRolePredicateGroup={{@config.useRolePredicateGroup}}\\n      @showSeriesContentEvents={{@ruleset.isMemberOfSeries}}\\n      @contentEventsDisabled={{and @ruleset.isMemberOfSeries @ruleset.node.isStarting}}\\n      @hideAddFilterGroupButton={{@config.hideAddFilterGroupButton}}\\n      @hideAddRule={{@config.hideAddRule}}\\n      @isDisabled={{@config.isDisabled}}\\n    />\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col\\\">\\n  <Heading @size='4' data-test-audience-selector-audience-heading>Who will receive this</Heading>\\n  <div>\\n    <MatchingSystem::AudienceSelector::AudienceRulesEditor\\n      @allowedUserRoles={{@config.allowedUserRoles}}\\n      @predicateGroup={{@ruleset.predicateGroup}}\\n      @rolePredicateGroup={{@ruleset.rolePredicateGroup}}\\n      @onUpdatePredicates={{action \\\"onUpdatePredicates\\\"}}\\n      @onUpdateRolePredicates={{action \\\"onUpdateRolePredicates\\\"}}\\n      @useRolePredicateGroup={{@config.useRolePredicateGroup}}\\n      @showSeriesContentEvents={{@ruleset.isMemberOfSeries}}\\n      @contentEventsDisabled={{and @ruleset.isMemberOfSeries @ruleset.node.isStarting}}\\n      @hideAddFilterGroupButton={{@config.hideAddFilterGroupButton}}\\n      @hideAddRule={{@config.hideAddRule}}\\n      @isDisabled={{@config.isDisabled}}\\n    />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/audience-wrappers/standard/audience-rules-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/audience-wrappers/standard/audience-rules-editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { copy } from 'ember-copy';\n\nexport default class AudienceRulesEditor extends Component {\n  @action\n  onUpdatePredicates(predicates) {\n    this.args.ruleset.set('predicateGroup.predicates', copy(predicates));\n    this.args.ruleset.get('fetchAudiencePreviewTask').perform();\n  }\n\n  @action\n  onUpdateRolePredicates(rolePredicates) {\n    this.args.ruleset.set('rolePredicateGroup.predicates', copy(rolePredicates));\n    this.args.ruleset.get('fetchAudiencePreviewTask').perform();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col\\\">\\n  <Heading @size='4' data-test-audience-selector-where-to-send-this-heading>\\n    {{#let (service 'content-editor-service') as |contentEditorService|}}\\n        When to\\n          {{#if (not contentEditorService.isSeriesMode)}}\\n            send this\\n          {{else if @ruleset.node.isStarting}}\\n            enter\\n          {{else}}\\n            proceed\\n          {{/if}}\\n    {{/let}}\\n  </Heading>\\n  <div class=\\\"flex flex-row\\\">\\n    <MatchingSystem::AudienceSelector::PageTarget::RulesEditor\\n      @predicateGroup={{@ruleset.clientPredicateGroup}}\\n      @onUpdate={{action \\\"onUpdateClientPredicates\\\"}}\\n      @isDisabled={{@config.isDisabled}}\\n      @hideAddRule={{@config.hideAddRule}}\\n    />\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col\\\">\\n  <Heading @size='4' data-test-audience-selector-where-to-send-this-heading>\\n    {{#let (service 'content-editor-service') as |contentEditorService|}}\\n        When to\\n          {{#if (not contentEditorService.isSeriesMode)}}\\n            send this\\n          {{else if @ruleset.node.isStarting}}\\n            enter\\n          {{else}}\\n            proceed\\n          {{/if}}\\n    {{/let}}\\n  </Heading>\\n  <div class=\\\"flex flex-row\\\">\\n    <MatchingSystem::AudienceSelector::PageTarget::RulesEditor\\n      @predicateGroup={{@ruleset.clientPredicateGroup}}\\n      @onUpdate={{action \\\"onUpdateClientPredicates\\\"}}\\n      @isDisabled={{@config.isDisabled}}\\n      @hideAddRule={{@config.hideAddRule}}\\n    />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/audience-wrappers/standard/client-predicates-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/audience-wrappers/standard/client-predicates-editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { copy } from 'ember-copy';\n\nexport default class ClientPredicatesEditor extends Component {\n  @action onUpdateClientPredicates(predicates) {\n    this.args.ruleset.get('clientPredicateGroup.predicates', copy(predicates));\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col\\\">\\n  <Heading @size=\\\"4\\\" data-test-audience-selector-match-behavior-heading>How to send this</Heading>\\n  <MatchingSystem::AudienceSelector::MatchBehavior::Switcher @ruleset={{@ruleset}} />\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col\\\">\\n  <Heading @size=\\\"4\\\" data-test-audience-selector-match-behavior-heading>How to send this</Heading>\\n  <MatchingSystem::AudienceSelector::MatchBehavior::Switcher @ruleset={{@ruleset}} />\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/audience-wrappers/standard/match-behavior-switcher.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/audience-wrappers/standard/match-behavior-switcher.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class MatchBehavior extends Component {\n  @service contentEditorService;\n\n  get ruleset() {\n    return this.contentEditorService.ruleset;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col flex-1\\\" data-test-content-editor {{did-update @onRulesetChange @ruleset}} {{did-insert @registerRuleset}} {{will-destroy @unregisterRuleset}}>\\n  {{#if @contentEditorService.ruleset}}\\n    {{#if (and @contentEditorService.isSeriesMode @contentEditorService.activeRulesetLink.isSeriesOnlyObjectType)}}\\n      <ContentEditor::SeriesMode />\\n    {{else if @contentEditorService.isViewMode}}\\n      <ContentEditor::ViewMode />\\n    {{else}}\\n      <ContentEditor::EditMode />\\n    {{/if}}\\n\\n    {{#if @contentEditorService.duplicateModalOpen}}\\n      <Messages::MessageCreationModal\\n        @isTargetingLeads={{false}}\\n        @createNewMessage={{@duplicateRuleset}}\\n        @closeModal={{@contentEditorService.hideDuplicateModal}}\\n        @skipTemplatesModal={{true}}\\n        @isDuplicatingRuleset={{true}}\\n      />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col flex-1\\\" data-test-content-editor {{did-update @onRulesetChange @ruleset}} {{did-insert @registerRuleset}} {{will-destroy @unregisterRuleset}}>\\n  {{#if @contentEditorService.ruleset}}\\n    {{#if (and @contentEditorService.isSeriesMode @contentEditorService.activeRulesetLink.isSeriesOnlyObjectType)}}\\n      <ContentEditor::SeriesMode />\\n    {{else if @contentEditorService.isViewMode}}\\n      <ContentEditor::ViewMode />\\n    {{else}}\\n      <ContentEditor::EditMode />\\n    {{/if}}\\n\\n    {{#if @contentEditorService.duplicateModalOpen}}\\n      <Messages::MessageCreationModal\\n        @isTargetingLeads={{false}}\\n        @createNewMessage={{@duplicateRuleset}}\\n        @closeModal={{@contentEditorService.hideDuplicateModal}}\\n        @skipTemplatesModal={{true}}\\n        @isDuplicatingRuleset={{true}}\\n      />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/body.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (service 'content-editor-service') as |contentEditorService|}}\\n  <div class=\\\"flex flex-col flex-1\\\" data-test-content-editor-edit-mode {{did-insert this.markClientDataAsOpened}}>\\n    {{#if contentEditorService.isSeriesMode}}\\n      {{#let contentEditorService.editorConfiguration.editMode.seriesHeaderComponentConfig as |config|}}\\n        {{component config.component\\n          config=config\\n        }}\\n      {{/let}}\\n    {{else}}\\n      {{#each contentEditorService.editorConfiguration.editMode.headerComponentConfigs as |config|}}\\n        {{component config.component\\n          config=config\\n        }}\\n      {{/each}}\\n    {{/if}}\\n    <div class={{if contentEditorService.isSeriesMode \\\"m-4 mr-6\\\"}}>\\n      <Common::AccordionComponent\\n        @initiallyOpenSectionName={{contentEditorService.initiallyOpenSectionName}}\\n        @sectionDidOpen={{contentEditorService.sectionDidOpen}}\\n        @sectionDidClose={{contentEditorService.sectionDidClose}}\\n      as |accordion|>\\n        {{#let (if contentEditorService.isSeriesMode contentEditorService.editorConfiguration.editMode.seriesEditorPanelConfigs contentEditorService.editorConfiguration.editMode.standaloneEditorPanelConfigs) as |panelConfigs|}}\\n          {{#each panelConfigs as |config index|}}\\n            <accordion.section\\n              @shouldNotAddPaddingToBody={{true}}\\n              @headerClass=\\\"accordion__lightweight-header\\\"\\n              @name={{config.name}}\\n              @showErrors={{if config.header.hasBeenOpened config.header.errors}}\\n              @canGoFullscreen={{config.header.fullScreenEnabled}}\\n              @lightweight={{true}}\\n              data-test-editor-panel={{config.name}}\\n            as |section|>\\n                {{component config.header.component\\n                  section=section\\n                  index=(inc index)\\n                  config=config.header\\n                }}\\n\\n              <section.body as |body|>\\n                {{component config.body.component\\n                  config=config.body\\n                  isFullscreen=body.isFullscreen\\n                }}\\n              </section.body>\\n            </accordion.section>\\n          {{/each}}\\n        {{/let}}\\n      </Common::AccordionComponent>\\n    </div>\\n    {{#each contentEditorService.editorConfiguration.editMode.footerComponentConfigs as |config|}}\\n      {{component config.component\\n        config=config\\n      }}\\n    {{/each}}\\n  </div>\\n{{/let}}\\n\", {\"contents\":\"{{#let (service 'content-editor-service') as |contentEditorService|}}\\n  <div class=\\\"flex flex-col flex-1\\\" data-test-content-editor-edit-mode {{did-insert this.markClientDataAsOpened}}>\\n    {{#if contentEditorService.isSeriesMode}}\\n      {{#let contentEditorService.editorConfiguration.editMode.seriesHeaderComponentConfig as |config|}}\\n        {{component config.component\\n          config=config\\n        }}\\n      {{/let}}\\n    {{else}}\\n      {{#each contentEditorService.editorConfiguration.editMode.headerComponentConfigs as |config|}}\\n        {{component config.component\\n          config=config\\n        }}\\n      {{/each}}\\n    {{/if}}\\n    <div class={{if contentEditorService.isSeriesMode \\\"m-4 mr-6\\\"}}>\\n      <Common::AccordionComponent\\n        @initiallyOpenSectionName={{contentEditorService.initiallyOpenSectionName}}\\n        @sectionDidOpen={{contentEditorService.sectionDidOpen}}\\n        @sectionDidClose={{contentEditorService.sectionDidClose}}\\n      as |accordion|>\\n        {{#let (if contentEditorService.isSeriesMode contentEditorService.editorConfiguration.editMode.seriesEditorPanelConfigs contentEditorService.editorConfiguration.editMode.standaloneEditorPanelConfigs) as |panelConfigs|}}\\n          {{#each panelConfigs as |config index|}}\\n            <accordion.section\\n              @shouldNotAddPaddingToBody={{true}}\\n              @headerClass=\\\"accordion__lightweight-header\\\"\\n              @name={{config.name}}\\n              @showErrors={{if config.header.hasBeenOpened config.header.errors}}\\n              @canGoFullscreen={{config.header.fullScreenEnabled}}\\n              @lightweight={{true}}\\n              data-test-editor-panel={{config.name}}\\n            as |section|>\\n                {{component config.header.component\\n                  section=section\\n                  index=(inc index)\\n                  config=config.header\\n                }}\\n\\n              <section.body as |body|>\\n                {{component config.body.component\\n                  config=config.body\\n                  isFullscreen=body.isFullscreen\\n                }}\\n              </section.body>\\n            </accordion.section>\\n          {{/each}}\\n        {{/let}}\\n      </Common::AccordionComponent>\\n    </div>\\n    {{#each contentEditorService.editorConfiguration.editMode.footerComponentConfigs as |config|}}\\n      {{component config.component\\n        config=config\\n      }}\\n    {{/each}}\\n  </div>\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/content-editor/edit-mode.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/edit-mode.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class EditMode extends Component {\n  @service contentEditorService;\n\n  @action markClientDataAsOpened() {\n    if (!this.contentEditorService.ruleset.isMemberOfSeries) {\n      return;\n    }\n    this.contentEditorService.ruleset.clientData.openedSeriesEditor = true;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (service 'content-editor-service') as |contentEditorService|}}\\n  {{#let (get (service 'contentEditorService') 'activeObject') as |customBot|}}\\n    <IcTooltip data-test-custom-bots-preview-tooltip @isDisabled={{customBot.canPreview}} as |t|>\\n      <t.opener>\\n        <IcButton\\n          @label=\\\"Preview\\\"\\n          @icon={{if (not contentEditorService.isSeriesMode) 'put-live'}}\\n          @onClick={{this.togglePreviewModal}}\\n          @isDisabled={{not customBot.canPreview}}\\n          data-test-custom-bots-preview-button\\n        />\\n      </t.opener>\\n      <t.content data-test-custom-bots-preview-tooltip-content>\\n        {{customBot.previewDisabledMessage}}\\n      </t.content>\\n    </IcTooltip>\\n    <CustomBots::Preview::PreviewSelector\\n      @closeModal={{this.togglePreviewModal}}\\n      @customBot={{customBot}}\\n      @visible={{this.showPreviewModal}}\\n      @title={{\\\"Preview your Custom Bot\\\"}}\\n      data-test-custom-bots-preview-selector\\n    />\\n  {{/let}}\\n{{/let}}\\n\", {\"contents\":\"{{#let (service 'content-editor-service') as |contentEditorService|}}\\n  {{#let (get (service 'contentEditorService') 'activeObject') as |customBot|}}\\n    <IcTooltip data-test-custom-bots-preview-tooltip @isDisabled={{customBot.canPreview}} as |t|>\\n      <t.opener>\\n        <IcButton\\n          @label=\\\"Preview\\\"\\n          @icon={{if (not contentEditorService.isSeriesMode) 'put-live'}}\\n          @onClick={{this.togglePreviewModal}}\\n          @isDisabled={{not customBot.canPreview}}\\n          data-test-custom-bots-preview-button\\n        />\\n      </t.opener>\\n      <t.content data-test-custom-bots-preview-tooltip-content>\\n        {{customBot.previewDisabledMessage}}\\n      </t.content>\\n    </IcTooltip>\\n    <CustomBots::Preview::PreviewSelector\\n      @closeModal={{this.togglePreviewModal}}\\n      @customBot={{customBot}}\\n      @visible={{this.showPreviewModal}}\\n      @title={{\\\"Preview your Custom Bot\\\"}}\\n      data-test-custom-bots-preview-selector\\n    />\\n  {{/let}}\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/content-editor/headers/custom-bots/preview-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/headers/custom-bots/preview-button.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\n\nexport default class PreviewButton extends Component {\n  @tracked showPreviewModal = false;\n\n  @action\n  togglePreviewModal() {\n    this.showPreviewModal = !this.showPreviewModal;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row justify-between mb-4\\\" data-test-standard-edit-mode-header>\\n  <div class=\\\"flex flex-row items-center gap-2\\\">\\n    <Common::HamburgerMenu @includePadding={{false}}>\\n      <Pulse::ExpandingInput\\n        @value={{this.contentEditorService.ruleset.clientData.title}}\\n        @onUpdate={{set this.contentEditorService.ruleset.clientData.title}}\\n        @onFocusOut={{this.trimContentTitle}}\\n        placeholder=\\\"Enter a title\\\"\\n        class=\\\"t__h1 min-w-4 max-w-128 pr-2\\\"\\n        data-test-standard-header-title-input\\n      />\\n    </Common::HamburgerMenu>\\n    <div data-test-state-stamp>\\n      {{ic-stamp\\n        (state-name\\n          state=this.contentEditorService.ruleset.state\\n          objectType=this.contentEditorService.activeRulesetLink.objectType\\n          matchBehavior=this.contentEditorService.ruleset.matchBehavior\\n        )\\n      }}\\n    </div>\\n  </div>\\n  <div class=\\\"flex flex-row items-center gap-1\\\">\\n    <div class=\\\"flex flex-col u__mr__10\\\">\\n      <ContentEditor::Headers::MoreDropdown @config={{@config.moreDropdownConfig}} />\\n    </div>\\n    <IcButtonList @align=\\\"right\\\" as |list|>\\n      {{component @config.previewConfig.component config=@config.previewConfig}}\\n      {{#if (or this.contentEditorService.ruleset.isLive this.contentEditorService.ruleset.isScheduled)}}\\n        <list.button\\n          @label=\\\"Cancel\\\"\\n          @type=\\\"secondary\\\"\\n          @icon=\\\"close\\\"\\n          @onClick={{this.cancel}}\\n          data-test-cancel-button\\n        />\\n        <ContentEditor::Headers::ValidationTooltip\\n          @content=\\\"Fix issues with your {{this.contentEditorService.configRulesetLink.humanReadableObjectName}} before saving it.\\\"\\n          @disabled={{this.contentEditorService.ruleset.validations.isValid}}>\\n            <list.button\\n              @label=\\\"Save and close\\\"\\n              @type=\\\"primary\\\"\\n              @icon=\\\"check\\\"\\n              @disabled={{or this.contentEditorService.isUploadingImage (not this.contentEditorService.ruleset.validations.isValid)}}\\n              @onClick={{this.save}}\\n              data-test-save-and-close-button\\n            />\\n        </ContentEditor::Headers::ValidationTooltip>\\n      {{else}}\\n        <list.button\\n          @label=\\\"Save and close\\\"\\n          @disabled={{this.contentEditorService.isUploadingImage}}\\n          @type=\\\"secondary\\\"\\n          @icon=\\\"check\\\"\\n          @onClick={{this.save}}\\n          data-test-save-and-close-button\\n        />\\n        {{#if this.contentEditorService.ruleset.isDraft}}\\n          <ContentEditor::Headers::ScheduleOrSetLiveButton @list={{list}} />\\n        {{/if}}\\n      {{/if}}\\n    </IcButtonList>\\n  </div>\\n</div>\\n<ContentEditor::Headers::StandardTagsTab\\n  @ruleset={{this.contentEditorService.ruleset}}\\n/>\\n\", {\"contents\":\"<div class=\\\"flex flex-row justify-between mb-4\\\" data-test-standard-edit-mode-header>\\n  <div class=\\\"flex flex-row items-center gap-2\\\">\\n    <Common::HamburgerMenu @includePadding={{false}}>\\n      <Pulse::ExpandingInput\\n        @value={{this.contentEditorService.ruleset.clientData.title}}\\n        @onUpdate={{set this.contentEditorService.ruleset.clientData.title}}\\n        @onFocusOut={{this.trimContentTitle}}\\n        placeholder=\\\"Enter a title\\\"\\n        class=\\\"t__h1 min-w-4 max-w-128 pr-2\\\"\\n        data-test-standard-header-title-input\\n      />\\n    </Common::HamburgerMenu>\\n    <div data-test-state-stamp>\\n      {{ic-stamp\\n        (state-name\\n          state=this.contentEditorService.ruleset.state\\n          objectType=this.contentEditorService.activeRulesetLink.objectType\\n          matchBehavior=this.contentEditorService.ruleset.matchBehavior\\n        )\\n      }}\\n    </div>\\n  </div>\\n  <div class=\\\"flex flex-row items-center gap-1\\\">\\n    <div class=\\\"flex flex-col u__mr__10\\\">\\n      <ContentEditor::Headers::MoreDropdown @config={{@config.moreDropdownConfig}} />\\n    </div>\\n    <IcButtonList @align=\\\"right\\\" as |list|>\\n      {{component @config.previewConfig.component config=@config.previewConfig}}\\n      {{#if (or this.contentEditorService.ruleset.isLive this.contentEditorService.ruleset.isScheduled)}}\\n        <list.button\\n          @label=\\\"Cancel\\\"\\n          @type=\\\"secondary\\\"\\n          @icon=\\\"close\\\"\\n          @onClick={{this.cancel}}\\n          data-test-cancel-button\\n        />\\n        <ContentEditor::Headers::ValidationTooltip\\n          @content=\\\"Fix issues with your {{this.contentEditorService.configRulesetLink.humanReadableObjectName}} before saving it.\\\"\\n          @disabled={{this.contentEditorService.ruleset.validations.isValid}}>\\n            <list.button\\n              @label=\\\"Save and close\\\"\\n              @type=\\\"primary\\\"\\n              @icon=\\\"check\\\"\\n              @disabled={{or this.contentEditorService.isUploadingImage (not this.contentEditorService.ruleset.validations.isValid)}}\\n              @onClick={{this.save}}\\n              data-test-save-and-close-button\\n            />\\n        </ContentEditor::Headers::ValidationTooltip>\\n      {{else}}\\n        <list.button\\n          @label=\\\"Save and close\\\"\\n          @disabled={{this.contentEditorService.isUploadingImage}}\\n          @type=\\\"secondary\\\"\\n          @icon=\\\"check\\\"\\n          @onClick={{this.save}}\\n          data-test-save-and-close-button\\n        />\\n        {{#if this.contentEditorService.ruleset.isDraft}}\\n          <ContentEditor::Headers::ScheduleOrSetLiveButton @list={{list}} />\\n        {{/if}}\\n      {{/if}}\\n    </IcButtonList>\\n  </div>\\n</div>\\n<ContentEditor::Headers::StandardTagsTab\\n  @ruleset={{this.contentEditorService.ruleset}}\\n/>\\n\",\"moduleName\":\"embercom/components/content-editor/headers/edit-mode/standard-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/headers/edit-mode/standard-header.hbs\"}});\nimport { action } from '@ember/object';\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class StandardHeader extends Component {\n  @service contentEditorService;\n\n  @action\n  async save() {\n    let result = await this.contentEditorService.saveRuleset.perform();\n    if (result?.success) {\n      this.contentEditorService.changeToViewMode();\n    }\n  }\n\n  @action\n  async cancel() {\n    await this.contentEditorService.cancelRulesetChanges.perform();\n    this.contentEditorService.changeToViewMode();\n  }\n\n  @action\n  trimContentTitle() {\n    this.contentEditorService.ruleset.clientData.title = this.contentEditorService.ruleset.clientData.title.trim();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#let (service 'content-editor-service') as |contentEditorService|}}\\n  <IcDropdownOpener\\n    @groupList={{array\\n    (hash items=(compact (array\\n      (hash text=\\\"Duplicate\\\" icon=\\\"duplicate\\\" onSelectItem=this.onClickDuplicate)\\n      (unless @config.hideCsvExportOption (hash text=\\\"Export CSV\\\" isDisabled=this.isCsvExportDisabled icon=\\\"filled-cloud-download\\\" onSelectItem=(queue\\n        (set this.showCsvExportModal true)\\n        (track-analytics-event\\n          action='dropdown-clicked'\\n          object='csv_export'\\n          ruleset_id=contentEditorService.ruleset.id\\n        ))))\\n      (if (and this.app.canUseMatchingSystemVersioning contentEditorService.ruleset.hasContentWithVersions) (hash text=\\\"Show history\\\" icon=\\\"clock\\\" onSelectItem=(queue \\n        contentEditorService.showVersionSidebar\\n        (track-analytics-event\\n          action='dropdown-clicked'\\n          object='show_history'\\n          ruleset_id=contentEditorService.ruleset.id\\n        ))))\\n      (unless @config.hideTagOption (hash text=\\\"Tag\\\" icon=\\\"tag\\\" onSelectItem=(set this.showTagModal true)))\\n      (hash text=\\\"Delete\\\" icon=\\\"delete\\\" onSelectItem=(perform contentEditorService.deleteRuleset))\\n    )))\\n  }}\\n    @label=\\\"More\\\"\\n    data-test-more-button\\n  />\\n  {{component @config.duplicateModalComponent\\n    ruleset=contentEditorService.ruleset\\n    isOpen=this.showDuplicateModal\\n    onModalClose=(action (mut this.showDuplicateModal) false)\\n  }}\\n  <StatsSystem::CsvExport::Modal\\n    @objectType={{contentEditorService.configRulesetLink.objectType}}\\n    @ruleset={{contentEditorService.ruleset}}\\n    @isOpen={{this.showCsvExportModal}}\\n    @hideCsvExportModal={{set this.showCsvExportModal false}}\\n  />\\n  <IcModal\\n    @width=\\\"m\\\"\\n    @onModalClose={{action (mut this.showTagModal) false}}\\n    @showCloseIcon={{false}}\\n    @isOpen={{this.showTagModal}}\\n  >\\n    <Common::TaggingComponent\\n      @title=\\\"Tag this message\\\"\\n      @taggable={{contentEditorService.ruleset.taggable}}\\n      @type=\\\"content\\\"\\n      @location=\\\"message-editor\\\"\\n      @afterSave={{this.afterTagSave}}\\n      @closeModalAction={{action (mut this.showTagModal) false}}\\n    />\\n  </IcModal>\\n{{/let}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#let (service 'content-editor-service') as |contentEditorService|}}\\n  <IcDropdownOpener\\n    @groupList={{array\\n    (hash items=(compact (array\\n      (hash text=\\\"Duplicate\\\" icon=\\\"duplicate\\\" onSelectItem=this.onClickDuplicate)\\n      (unless @config.hideCsvExportOption (hash text=\\\"Export CSV\\\" isDisabled=this.isCsvExportDisabled icon=\\\"filled-cloud-download\\\" onSelectItem=(queue\\n        (set this.showCsvExportModal true)\\n        (track-analytics-event\\n          action='dropdown-clicked'\\n          object='csv_export'\\n          ruleset_id=contentEditorService.ruleset.id\\n        ))))\\n      (if (and this.app.canUseMatchingSystemVersioning contentEditorService.ruleset.hasContentWithVersions) (hash text=\\\"Show history\\\" icon=\\\"clock\\\" onSelectItem=(queue \\n        contentEditorService.showVersionSidebar\\n        (track-analytics-event\\n          action='dropdown-clicked'\\n          object='show_history'\\n          ruleset_id=contentEditorService.ruleset.id\\n        ))))\\n      (unless @config.hideTagOption (hash text=\\\"Tag\\\" icon=\\\"tag\\\" onSelectItem=(set this.showTagModal true)))\\n      (hash text=\\\"Delete\\\" icon=\\\"delete\\\" onSelectItem=(perform contentEditorService.deleteRuleset))\\n    )))\\n  }}\\n    @label=\\\"More\\\"\\n    data-test-more-button\\n  />\\n  {{component @config.duplicateModalComponent\\n    ruleset=contentEditorService.ruleset\\n    isOpen=this.showDuplicateModal\\n    onModalClose=(action (mut this.showDuplicateModal) false)\\n  }}\\n  <StatsSystem::CsvExport::Modal\\n    @objectType={{contentEditorService.configRulesetLink.objectType}}\\n    @ruleset={{contentEditorService.ruleset}}\\n    @isOpen={{this.showCsvExportModal}}\\n    @hideCsvExportModal={{set this.showCsvExportModal false}}\\n  />\\n  <IcModal\\n    @width=\\\"m\\\"\\n    @onModalClose={{action (mut this.showTagModal) false}}\\n    @showCloseIcon={{false}}\\n    @isOpen={{this.showTagModal}}\\n  >\\n    <Common::TaggingComponent\\n      @title=\\\"Tag this message\\\"\\n      @taggable={{contentEditorService.ruleset.taggable}}\\n      @type=\\\"content\\\"\\n      @location=\\\"message-editor\\\"\\n      @afterSave={{this.afterTagSave}}\\n      @closeModalAction={{action (mut this.showTagModal) false}}\\n    />\\n  </IcModal>\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/content-editor/headers/more-dropdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/headers/more-dropdown.hbs\"}});\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { isPresent } from '@ember/utils';\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport { statisticKeys } from 'embercom/models/data/outbound/constants';\n\nexport default class MoreDropdown extends Component {\n  @service appService;\n  @service contentEditorService;\n  @service notificationsService;\n\n  @tracked showDuplicateModal = false;\n  @tracked showCsvExportModal = false;\n  @tracked showTagModal = false;\n\n  get hasDuplicateModalComponent() {\n    let { config } = this.args;\n    return isPresent(config) && isPresent(config.duplicateModalComponent);\n  }\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get isCsvExportDisabled() {\n    let contentReceiptStats = this.contentEditorService.activeRulesetLink.objectStats.findBy(\n      'key',\n      statisticKeys.receipts,\n    );\n    return !(contentReceiptStats && contentReceiptStats.value);\n  }\n\n  @action\n  afterTagSave() {\n    this.notificationsService.notifyConfirmation('Message tagged!');\n    this.contentEditorService.ruleset.reload();\n    this.showTagModal = false;\n  }\n\n  @action\n  onClickDuplicate() {\n    let { objectType } = this.contentEditorService.configRulesetLink;\n    let { hasTests } = this.contentEditorService.ruleset;\n\n    if (objectType === objectTypes.chat || objectType === objectTypes.post) {\n      this.contentEditorService.showDuplicateModal();\n    } else if (objectType === objectTypes.customBot && hasTests) {\n      this.contentEditorService.duplicateRuleset.perform();\n    } else if (this.hasDuplicateModalComponent) {\n      this.showDuplicateModal = true;\n    } else {\n      this.contentEditorService.duplicateRuleset.perform();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Paywall @featureKey={{this.contentEditorService.editorConfiguration.requiredFeature}} as |paywall|>\\n  {{#if this.contentEditorService.ruleset.scheduledActivation}}\\n    <ContentEditor::Headers::ValidationTooltip\\n      @content=\\\"Finish creating your {{this.contentEditorService.configRulesetLink.humanReadableObjectName}} before scheduling it.\\\"\\n      @disabled={{or paywall.isActive this.canSetLive}}>\\n      <paywall.Hover>\\n        <@list.button\\n          @type=\\\"primary-live\\\"\\n          @disabled={{or paywall.isActive (not this.canSetLive)}}\\n          @onClick={{this.scheduleRuleset}}\\n          data-test-schedule-button\\n        >\\n          {{ic-interface-icon 'put-live'}} Schedule to set live\\n        </@list.button>\\n      </paywall.Hover>\\n    </ContentEditor::Headers::ValidationTooltip>\\n  {{else if (not this.contentEditorService.ruleset.isLive)}}\\n    <ContentEditor::Headers::ValidationTooltip\\n      @content=\\\"Finish creating your {{this.contentEditorService.configRulesetLink.humanReadableObjectName}} before setting it live.\\\"\\n      @disabled={{or paywall.isActive this.canSetLive}}>\\n      <paywall.Hover>\\n        <@list.button\\n          @type=\\\"primary-live\\\"\\n          @disabled={{or paywall.isActive (not this.canSetLive)}}\\n          @onClick={{this.setLive}}\\n          @jsBindingClass=\\\"js__ghostinspector__set-live-button\\\"\\n          data-test-set-live-button\\n        >\\n          {{#if this.contentEditorService.ruleset.isMatchBehaviorStatic}}\\n            {{ic-interface-icon 'manual-message'}} Send now\\n          {{else}}\\n            {{ic-interface-icon 'put-live'}} Set live\\n          {{/if}}\\n        </@list.button>\\n      </paywall.Hover>\\n    </ContentEditor::Headers::ValidationTooltip>\\n  {{/if}}\\n</Paywall>\\n\", {\"contents\":\"<Paywall @featureKey={{this.contentEditorService.editorConfiguration.requiredFeature}} as |paywall|>\\n  {{#if this.contentEditorService.ruleset.scheduledActivation}}\\n    <ContentEditor::Headers::ValidationTooltip\\n      @content=\\\"Finish creating your {{this.contentEditorService.configRulesetLink.humanReadableObjectName}} before scheduling it.\\\"\\n      @disabled={{or paywall.isActive this.canSetLive}}>\\n      <paywall.Hover>\\n        <@list.button\\n          @type=\\\"primary-live\\\"\\n          @disabled={{or paywall.isActive (not this.canSetLive)}}\\n          @onClick={{this.scheduleRuleset}}\\n          data-test-schedule-button\\n        >\\n          {{ic-interface-icon 'put-live'}} Schedule to set live\\n        </@list.button>\\n      </paywall.Hover>\\n    </ContentEditor::Headers::ValidationTooltip>\\n  {{else if (not this.contentEditorService.ruleset.isLive)}}\\n    <ContentEditor::Headers::ValidationTooltip\\n      @content=\\\"Finish creating your {{this.contentEditorService.configRulesetLink.humanReadableObjectName}} before setting it live.\\\"\\n      @disabled={{or paywall.isActive this.canSetLive}}>\\n      <paywall.Hover>\\n        <@list.button\\n          @type=\\\"primary-live\\\"\\n          @disabled={{or paywall.isActive (not this.canSetLive)}}\\n          @onClick={{this.setLive}}\\n          @jsBindingClass=\\\"js__ghostinspector__set-live-button\\\"\\n          data-test-set-live-button\\n        >\\n          {{#if this.contentEditorService.ruleset.isMatchBehaviorStatic}}\\n            {{ic-interface-icon 'manual-message'}} Send now\\n          {{else}}\\n            {{ic-interface-icon 'put-live'}} Set live\\n          {{/if}}\\n        </@list.button>\\n      </paywall.Hover>\\n    </ContentEditor::Headers::ValidationTooltip>\\n  {{/if}}\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/content-editor/headers/schedule-or-set-live-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/headers/schedule-or-set-live-button.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class ScheduleOrSetLiveButton extends Component {\n  @service contentEditorService;\n\n  get canSetLive() {\n    return this.contentEditorService.get('ruleset.validations.isValid');\n  }\n\n  @action\n  async scheduleRuleset() {\n    await this.contentEditorService.scheduleRuleset.perform();\n  }\n\n  @action\n  async setLive() {\n    await this.contentEditorService.saveAndActivateRuleset.perform();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row justify-between series__editor__header pt-4 pb-4 pr-6 {{if this.contentEditorService.activeRulesetLink.isSeriesOnlyObjectType 'pl-6' 'pl-12'}}\\\" data-test-standard-series-editor-header>\\n  <div class=\\\"flex flex-row items-center gap-4 {{if this.contentEditorService.activeRulesetLink.isSeriesOnlyObjectType 'max-w-7/12' 'max-w-128'}}\\\">\\n    <Pulse::ExpandingInput\\n      @value={{this.contentEditorService.ruleset.clientData.title}}\\n      @onUpdate={{this.setTitle}}\\n      @autoFocus={{true}}\\n      placeholder=\\\"Enter a title\\\"\\n      class=\\\"t__h1 min-w-3 pr-2 pt-px\\\"\\n      data-test-series-editor-header-title-input\\n    />\\n  </div>\\n  <div class=\\\"flex flex-row items-center\\\">\\n    {{#if (and (not this.contentEditorService.activeRulesetLink.isSeriesOnlyObjectType) this.contentEditorService.ruleset.isDraft)}}\\n      <IcTooltipIcon class=\\\"text-gray mr-1\\\" @isInteractive={{true}}>\\n        <p>You can copy existing messages into series from the More button in series header.</p>\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/en/articles/4425224-copy-existing-messages-into-series\\\"\\n          @linkStyling=\\\"inline\\\"\\n          @title=\\\"Learn more\\\"\\n          @type=\\\"article\\\"\\n        />\\n      </IcTooltipIcon>\\n      <Text class=\\\"text-gray mr-4\\\" @styling='muted'>Copy existing message</Text>\\n    {{/if}}\\n    <IcButtonList @align=\\\"right\\\" as |list|>\\n      {{#if @config.previewConfig}}\\n        {{component @config.previewConfig.component config=@config.previewConfig}}\\n      {{/if}}\\n      {{#if this.contentEditorService.ruleset.hasUnsavedChanges}}\\n        <list.button data-test-series-editor-header-cancel-button\\n          {{on 'click' (toggle \\\"showCancelChangesConfirmation\\\" this)}}\\n          @type=\\\"secondary\\\"\\n          @label=\\\"Cancel\\\"\\n        />\\n      {{else}}\\n        <list.button data-test-series-editor-header-cancel-button\\n          @onClick={{this.cancelChanges}}\\n          @type=\\\"secondary\\\"\\n          @label=\\\"Cancel\\\"\\n        />\\n      {{/if}}\\n      <ContentEditor::Headers::ValidationTooltip\\n        @content={{this.errorMessage}}\\n        @disabled={{not this.isSaveButtonDisabled}}\\n      >\\n        <list.button\\n          @disabled={{this.isSaveButtonDisabled}}\\n          @onClick={{this.saveChanges}}\\n          @type=\\\"primary\\\"\\n          @label=\\\"Save {{this.objectName}}\\\"\\n          data-test-series-editor-header-done-button\\n        />\\n      </ContentEditor::Headers::ValidationTooltip>\\n    </IcButtonList>\\n\\n    <IcConfirmModal\\n      @title=\\\"Close without saving?\\\"\\n      @onModalClose={{toggle \\\"showCancelChangesConfirmation\\\" this}}\\n      @type=\\\"destructive\\\"\\n      @confirmLabel=\\\"Close without saving\\\"\\n      @confirmAction={{this.cancelChanges}}\\n      @isOpen={{this.showCancelChangesConfirmation}}\\n    >\\n      <p>\\n        You'll lose your changes to this {{this.objectName}} if you don't save first.\\n      </p>\\n    </IcConfirmModal>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row justify-between series__editor__header pt-4 pb-4 pr-6 {{if this.contentEditorService.activeRulesetLink.isSeriesOnlyObjectType 'pl-6' 'pl-12'}}\\\" data-test-standard-series-editor-header>\\n  <div class=\\\"flex flex-row items-center gap-4 {{if this.contentEditorService.activeRulesetLink.isSeriesOnlyObjectType 'max-w-7/12' 'max-w-128'}}\\\">\\n    <Pulse::ExpandingInput\\n      @value={{this.contentEditorService.ruleset.clientData.title}}\\n      @onUpdate={{this.setTitle}}\\n      @autoFocus={{true}}\\n      placeholder=\\\"Enter a title\\\"\\n      class=\\\"t__h1 min-w-3 pr-2 pt-px\\\"\\n      data-test-series-editor-header-title-input\\n    />\\n  </div>\\n  <div class=\\\"flex flex-row items-center\\\">\\n    {{#if (and (not this.contentEditorService.activeRulesetLink.isSeriesOnlyObjectType) this.contentEditorService.ruleset.isDraft)}}\\n      <IcTooltipIcon class=\\\"text-gray mr-1\\\" @isInteractive={{true}}>\\n        <p>You can copy existing messages into series from the More button in series header.</p>\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/en/articles/4425224-copy-existing-messages-into-series\\\"\\n          @linkStyling=\\\"inline\\\"\\n          @title=\\\"Learn more\\\"\\n          @type=\\\"article\\\"\\n        />\\n      </IcTooltipIcon>\\n      <Text class=\\\"text-gray mr-4\\\" @styling='muted'>Copy existing message</Text>\\n    {{/if}}\\n    <IcButtonList @align=\\\"right\\\" as |list|>\\n      {{#if @config.previewConfig}}\\n        {{component @config.previewConfig.component config=@config.previewConfig}}\\n      {{/if}}\\n      {{#if this.contentEditorService.ruleset.hasUnsavedChanges}}\\n        <list.button data-test-series-editor-header-cancel-button\\n          {{on 'click' (toggle \\\"showCancelChangesConfirmation\\\" this)}}\\n          @type=\\\"secondary\\\"\\n          @label=\\\"Cancel\\\"\\n        />\\n      {{else}}\\n        <list.button data-test-series-editor-header-cancel-button\\n          @onClick={{this.cancelChanges}}\\n          @type=\\\"secondary\\\"\\n          @label=\\\"Cancel\\\"\\n        />\\n      {{/if}}\\n      <ContentEditor::Headers::ValidationTooltip\\n        @content={{this.errorMessage}}\\n        @disabled={{not this.isSaveButtonDisabled}}\\n      >\\n        <list.button\\n          @disabled={{this.isSaveButtonDisabled}}\\n          @onClick={{this.saveChanges}}\\n          @type=\\\"primary\\\"\\n          @label=\\\"Save {{this.objectName}}\\\"\\n          data-test-series-editor-header-done-button\\n        />\\n      </ContentEditor::Headers::ValidationTooltip>\\n    </IcButtonList>\\n\\n    <IcConfirmModal\\n      @title=\\\"Close without saving?\\\"\\n      @onModalClose={{toggle \\\"showCancelChangesConfirmation\\\" this}}\\n      @type=\\\"destructive\\\"\\n      @confirmLabel=\\\"Close without saving\\\"\\n      @confirmAction={{this.cancelChanges}}\\n      @isOpen={{this.showCancelChangesConfirmation}}\\n    >\\n      <p>\\n        You'll lose your changes to this {{this.objectName}} if you don't save first.\\n      </p>\\n    </IcConfirmModal>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/headers/series-mode/standard-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/headers/series-mode/standard-header.hbs\"}});\nimport { action } from '@ember/object';\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { dependentKeyCompat } from '@ember/object/compat';\n\nexport default class StandardHeader extends Component {\n  @service contentEditorService;\n  @service seriesEditorService;\n  @tracked showConfirmModal = false;\n\n  @dependentKeyCompat\n  get isSaveButtonDisabled() {\n    if (this.args.config.isValid !== undefined) {\n      return !this.args.config.isValid;\n    }\n    if (this.contentEditorService.ruleset.isLive) {\n      return (\n        this.contentEditorService.isUploadingImage ||\n        !this.contentEditorService.ruleset.validations.isValid\n      );\n    } else {\n      return this.contentEditorService.isUploadingImage;\n    }\n  }\n\n  get objectName() {\n    return this.contentEditorService.activeRulesetLink.humanReadableObjectName;\n  }\n\n  @dependentKeyCompat\n  get errorMessage() {\n    if (this.args.config.errorMessage) {\n      return this.args.config.errorMessage;\n    }\n    return this.contentEditorService.ruleset.validations.errors?.firstObject?.message;\n  }\n\n  @action\n  async saveChanges() {\n    await this.contentEditorService.saveRuleset.perform();\n    this.seriesEditorService.closeRulesetEditor();\n  }\n\n  @action\n  async cancelChanges() {\n    await this.contentEditorService.cancelRulesetChanges.perform();\n    this.seriesEditorService.closeRulesetEditor();\n  }\n\n  @action\n  setTitle(text) {\n    this.contentEditorService.ruleset.clientData.title = text;\n    if (this.contentEditorService.activeRulesetLink.object.title !== undefined) {\n      this.contentEditorService.activeRulesetLink.object.title = text;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @ruleset.tags}}\\n  <div class=\\\"flex flex-row flex-wrap gap-2 content-editor__headers__tags-container mb-4\\\">\\n    {{#each @ruleset.tags as |tag|}}\\n      <span class=\\\"pill o__has-delete mt-1 mb-1\\\" data-test-content-editor-tag-pill={{tag.id}}>\\n        <span class=\\\"pill__icon\\\">\\n          {{ic-interface-icon 'tag' set='tiny' color='gray' solo=true}}\\n        </span>\\n        <a data-test-content-editor-tag-link {{on \\\"click\\\" (fn this.transitionToOutboundHome tag)}}>\\n          <Text @linkStyling=\\\"subtle\\\" @styling=\\\"small\\\">{{tag.name}}</Text>\\n        </a>\\n        <a\\n          class=\\\"pill__delete\\\"\\n          title=\\\"Remove {{tag.name}} tag\\\"\\n          data-test-remove-tag-link={{tag.id}}\\n          {{on \\\"click\\\" (fn this.removeTag tag)}}\\n        >\\n          {{ic-interface-icon 'delete' set='tiny' color='gray' solo=true}}\\n        </a>\\n      </span>\\n    {{/each}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if @ruleset.tags}}\\n  <div class=\\\"flex flex-row flex-wrap gap-2 content-editor__headers__tags-container mb-4\\\">\\n    {{#each @ruleset.tags as |tag|}}\\n      <span class=\\\"pill o__has-delete mt-1 mb-1\\\" data-test-content-editor-tag-pill={{tag.id}}>\\n        <span class=\\\"pill__icon\\\">\\n          {{ic-interface-icon 'tag' set='tiny' color='gray' solo=true}}\\n        </span>\\n        <a data-test-content-editor-tag-link {{on \\\"click\\\" (fn this.transitionToOutboundHome tag)}}>\\n          <Text @linkStyling=\\\"subtle\\\" @styling=\\\"small\\\">{{tag.name}}</Text>\\n        </a>\\n        <a\\n          class=\\\"pill__delete\\\"\\n          title=\\\"Remove {{tag.name}} tag\\\"\\n          data-test-remove-tag-link={{tag.id}}\\n          {{on \\\"click\\\" (fn this.removeTag tag)}}\\n        >\\n          {{ic-interface-icon 'delete' set='tiny' color='gray' solo=true}}\\n        </a>\\n      </span>\\n    {{/each}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/content-editor/headers/standard-tags-tab.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/headers/standard-tags-tab.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class StandardTagsTab extends Component {\n  @service outboundHomeService;\n  @service router;\n\n  @action\n  async removeTag(tag) {\n    await this.args.ruleset.updateTaggingsTask.perform([], [tag]);\n    this.args.ruleset.reload();\n  }\n\n  @action\n  transitionToOutboundHome(tag) {\n    this.outboundHomeService.resetFilters();\n    this.outboundHomeService.selectedTagValues = [tag.id];\n    this.router.transitionTo('apps.app.outbound.all');\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IntersectionLauncher @intersectionMode=\\\"tour-preview\\\" as |launcher|>\\n  <IcButton\\n    @label=\\\"Preview\\\"\\n    @icon={{if (not this.contentEditorService.isSeriesMode) 'put-live'}}\\n    @disabled={{not this.previewEnabled}}\\n    @onClick={{fn launcher.openTourPreview this.tour.url}}\\n    data-test-tours-preview-button={{true}}\\n  />\\n</IntersectionLauncher>\", {\"contents\":\"<IntersectionLauncher @intersectionMode=\\\"tour-preview\\\" as |launcher|>\\n  <IcButton\\n    @label=\\\"Preview\\\"\\n    @icon={{if (not this.contentEditorService.isSeriesMode) 'put-live'}}\\n    @disabled={{not this.previewEnabled}}\\n    @onClick={{fn launcher.openTourPreview this.tour.url}}\\n    data-test-tours-preview-button={{true}}\\n  />\\n</IntersectionLauncher>\",\"moduleName\":\"embercom/components/content-editor/headers/tours/preview-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/headers/tours/preview-button.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class PreviewButton extends Component {\n  @service contentEditorService;\n\n  get tour() {\n    return this.contentEditorService.activeObject;\n  }\n\n  get previewEnabled() {\n    return this.tour.url && this.tour.hasSteps;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip @isDisabled={{@disabled}} as |t|>\\n  <t.opener>\\n    {{yield}}\\n  </t.opener>\\n  <t.content>\\n    {{@content}}\\n  </t.content>\\n</IcTooltip>\", {\"contents\":\"<IcTooltip @isDisabled={{@disabled}} as |t|>\\n  <t.opener>\\n    {{yield}}\\n  </t.opener>\\n  <t.content>\\n    {{@content}}\\n  </t.content>\\n</IcTooltip>\",\"moduleName\":\"embercom/components/content-editor/headers/validation-tooltip.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/headers/validation-tooltip.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (service \\\"content-editor-service\\\") as |contentEditorService|}}\\n  {{#let (and (or contentEditorService.ruleset.isLive contentEditorService.ruleset.isPaused) contentEditorService.ruleset.isMatchBehaviorStatic) as |notEditable|}}\\n    <ContentEditor::Headers::ValidationTooltip\\n      @content=\\\"As this one-off message has already been sent, it is no longer editable.\\\"\\n      @disabled={{not notEditable}}>\\n      <@list.button\\n        @label=\\\"Edit\\\"\\n        @type=\\\"primary\\\"\\n        @icon=\\\"edit\\\"\\n        @onClick={{contentEditorService.changeToEditMode}}\\n        @disabled={{notEditable}}\\n        data-test-edit-button\\n        data-intercom-target=\\\"edit-button\\\"\\n      />\\n    </ContentEditor::Headers::ValidationTooltip>\\n  {{/let}}\\n{{/let}}\\n\", {\"contents\":\"{{#let (service \\\"content-editor-service\\\") as |contentEditorService|}}\\n  {{#let (and (or contentEditorService.ruleset.isLive contentEditorService.ruleset.isPaused) contentEditorService.ruleset.isMatchBehaviorStatic) as |notEditable|}}\\n    <ContentEditor::Headers::ValidationTooltip\\n      @content=\\\"As this one-off message has already been sent, it is no longer editable.\\\"\\n      @disabled={{not notEditable}}>\\n      <@list.button\\n        @label=\\\"Edit\\\"\\n        @type=\\\"primary\\\"\\n        @icon=\\\"edit\\\"\\n        @onClick={{contentEditorService.changeToEditMode}}\\n        @disabled={{notEditable}}\\n        data-test-edit-button\\n        data-intercom-target=\\\"edit-button\\\"\\n      />\\n    </ContentEditor::Headers::ValidationTooltip>\\n  {{/let}}\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/content-editor/headers/view-mode/edit-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/headers/view-mode/edit-button.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (service \\\"content-editor-service\\\") as |contentEditorService|}}\\n  <div class=\\\"flex flex-row justify-between gap-4 mb-4\\\" data-test-standard-view-mode-header>\\n    <div class=\\\"flex flex-row items-center flex-1 content-editor__headers__view-mode__standard-header__title\\\">\\n      <Common::HamburgerMenu @includePadding={{false}}></Common::HamburgerMenu>\\n        <div class=\\\"flex flex-row items-center flex-1 gap-2 max-w-full\\\">\\n          <Heading @size='1' class=\\\"u__one-truncated-line\\\" data-test-standard-header-read-only-title>\\n            {{or contentEditorService.ruleset.clientData.title \\\"Untitled\\\"}}\\n          </Heading>\\n          {{#if (not contentEditorService.isViewingVersionSnapshot)}}\\n            <div data-test-state-stamp>\\n              {{ic-stamp\\n                (state-name\\n                  state=contentEditorService.ruleset.state\\n                  objectType=contentEditorService.activeRulesetLink.objectType\\n                  matchBehavior=contentEditorService.ruleset.matchBehavior\\n                )\\n              }}\\n            </div>\\n          {{/if}}\\n      </div>\\n    </div>\\n    {{#unless contentEditorService.versionSidebarOpen}}\\n      <div class=\\\"flex flex-row items-center gap-2 flex-shrink-0\\\" data-test-standard-header-actions>\\n        <ContentEditor::Headers::MoreDropdown @config={{@config.moreDropdownConfig}} />\\n        <IcButtonList @align=\\\"right\\\" as |list|>\\n          {{component @config.previewConfig.component config=@config.previewConfig}}\\n          {{#if contentEditorService.ruleset.isLive}}\\n            <list.button\\n              @label=\\\"Pause\\\"\\n              @type=\\\"secondary\\\"\\n              @icon=\\\"pause\\\"\\n              @onClick={{perform contentEditorService.deactivateRuleset}}\\n              data-test-pause-button\\n            />\\n          {{else if contentEditorService.ruleset.isScheduled}}\\n            <list.button\\n              @label=\\\"Unschedule\\\"\\n              @type=\\\"secondary\\\"\\n              @icon=\\\"calendar\\\"\\n              @onClick={{perform contentEditorService.unscheduleRuleset}}\\n              data-test-unschedule-button\\n            />\\n          {{else}}\\n            <ContentEditor::Headers::ScheduleOrSetLiveButton @list={{list}} />\\n          {{/if}}\\n          <ContentEditor::Headers::ViewMode::EditButton @list={{list}} />\\n        </IcButtonList>\\n      </div>\\n    {{/unless}}\\n  </div>\\n  <ContentEditor::Headers::StandardTagsTab\\n    @ruleset={{contentEditorService.ruleset}}\\n  />\\n{{/let}}\\n\", {\"contents\":\"{{#let (service \\\"content-editor-service\\\") as |contentEditorService|}}\\n  <div class=\\\"flex flex-row justify-between gap-4 mb-4\\\" data-test-standard-view-mode-header>\\n    <div class=\\\"flex flex-row items-center flex-1 content-editor__headers__view-mode__standard-header__title\\\">\\n      <Common::HamburgerMenu @includePadding={{false}}></Common::HamburgerMenu>\\n        <div class=\\\"flex flex-row items-center flex-1 gap-2 max-w-full\\\">\\n          <Heading @size='1' class=\\\"u__one-truncated-line\\\" data-test-standard-header-read-only-title>\\n            {{or contentEditorService.ruleset.clientData.title \\\"Untitled\\\"}}\\n          </Heading>\\n          {{#if (not contentEditorService.isViewingVersionSnapshot)}}\\n            <div data-test-state-stamp>\\n              {{ic-stamp\\n                (state-name\\n                  state=contentEditorService.ruleset.state\\n                  objectType=contentEditorService.activeRulesetLink.objectType\\n                  matchBehavior=contentEditorService.ruleset.matchBehavior\\n                )\\n              }}\\n            </div>\\n          {{/if}}\\n      </div>\\n    </div>\\n    {{#unless contentEditorService.versionSidebarOpen}}\\n      <div class=\\\"flex flex-row items-center gap-2 flex-shrink-0\\\" data-test-standard-header-actions>\\n        <ContentEditor::Headers::MoreDropdown @config={{@config.moreDropdownConfig}} />\\n        <IcButtonList @align=\\\"right\\\" as |list|>\\n          {{component @config.previewConfig.component config=@config.previewConfig}}\\n          {{#if contentEditorService.ruleset.isLive}}\\n            <list.button\\n              @label=\\\"Pause\\\"\\n              @type=\\\"secondary\\\"\\n              @icon=\\\"pause\\\"\\n              @onClick={{perform contentEditorService.deactivateRuleset}}\\n              data-test-pause-button\\n            />\\n          {{else if contentEditorService.ruleset.isScheduled}}\\n            <list.button\\n              @label=\\\"Unschedule\\\"\\n              @type=\\\"secondary\\\"\\n              @icon=\\\"calendar\\\"\\n              @onClick={{perform contentEditorService.unscheduleRuleset}}\\n              data-test-unschedule-button\\n            />\\n          {{else}}\\n            <ContentEditor::Headers::ScheduleOrSetLiveButton @list={{list}} />\\n          {{/if}}\\n          <ContentEditor::Headers::ViewMode::EditButton @list={{list}} />\\n        </IcButtonList>\\n      </div>\\n    {{/unless}}\\n  </div>\\n  <ContentEditor::Headers::StandardTagsTab\\n    @ruleset={{contentEditorService.ruleset}}\\n  />\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/content-editor/headers/view-mode/standard-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/headers/view-mode/standard-header.hbs\"}});\nimport { action } from '@ember/object';\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class StandardHeader extends Component {\n  @service contentEditorService;\n\n  @action\n  async removeTag(tag) {\n    await this.contentEditorService.ruleset.updateTaggingsTask.perform([], [tag]);\n    this.contentEditorService.ruleset.reload();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"    <div class=\\\"flex flex-row justify-between gap-4 p-4 series__editor__header pr-6 {{if this.contentEditorService.activeRulesetLink.isSeriesOnlyObjectType 'pl-6' 'pl-12'}}\\\" data-test-standard-series-view-mode-header>\\n      <div class=\\\"flex flex-row items-center flex-1 content-editor__headers__view-mode__standard-header__title\\\">\\n          <div class=\\\"flex flex-row items-center flex-1 gap-2 max-w-full\\\">\\n            <Heading @size='1' class=\\\"u__one-truncated-line\\\" data-test-standard-series-header-read-only-title>\\n              {{or this.contentEditorService.ruleset.clientData.title \\\"Untitled\\\"}}\\n            </Heading>\\n            <div data-test-state-stamp>\\n              {{ic-stamp\\n                (state-name\\n                  state=this.contentEditorService.ruleset.state\\n                  objectType=this.contentEditorService.activeRulesetLink.objectType\\n                  matchBehavior=this.contentEditorService.ruleset.matchBehavior\\n                )\\n              }}\\n            </div>\\n        </div>\\n      </div>\\n      <div class=\\\"flex flex-row items-center gap-2 flex-shrink-0\\\" data-test-standard-header-actions>\\n        <IcButtonList @align=\\\"right\\\" as |list|>\\n          {{component @config.previewConfig.component config=@config.previewConfig}}\\n          <list.button @type=\\\"primary\\\" @label=\\\"Edit\\\" @onClick={{this.openEditMode}} data-test-edit-button/>\\n          <list.button @type=\\\"secondary\\\" @icon=\\\"small-close\\\" @onClick={{this.closeRulesetEditor}} data-test-close-button/>\\n        </IcButtonList>\\n      </div>\\n    </div>\\n\\n\", {\"contents\":\"    <div class=\\\"flex flex-row justify-between gap-4 p-4 series__editor__header pr-6 {{if this.contentEditorService.activeRulesetLink.isSeriesOnlyObjectType 'pl-6' 'pl-12'}}\\\" data-test-standard-series-view-mode-header>\\n      <div class=\\\"flex flex-row items-center flex-1 content-editor__headers__view-mode__standard-header__title\\\">\\n          <div class=\\\"flex flex-row items-center flex-1 gap-2 max-w-full\\\">\\n            <Heading @size='1' class=\\\"u__one-truncated-line\\\" data-test-standard-series-header-read-only-title>\\n              {{or this.contentEditorService.ruleset.clientData.title \\\"Untitled\\\"}}\\n            </Heading>\\n            <div data-test-state-stamp>\\n              {{ic-stamp\\n                (state-name\\n                  state=this.contentEditorService.ruleset.state\\n                  objectType=this.contentEditorService.activeRulesetLink.objectType\\n                  matchBehavior=this.contentEditorService.ruleset.matchBehavior\\n                )\\n              }}\\n            </div>\\n        </div>\\n      </div>\\n      <div class=\\\"flex flex-row items-center gap-2 flex-shrink-0\\\" data-test-standard-header-actions>\\n        <IcButtonList @align=\\\"right\\\" as |list|>\\n          {{component @config.previewConfig.component config=@config.previewConfig}}\\n          <list.button @type=\\\"primary\\\" @label=\\\"Edit\\\" @onClick={{this.openEditMode}} data-test-edit-button/>\\n          <list.button @type=\\\"secondary\\\" @icon=\\\"small-close\\\" @onClick={{this.closeRulesetEditor}} data-test-close-button/>\\n        </IcButtonList>\\n      </div>\\n    </div>\\n\\n\",\"moduleName\":\"embercom/components/content-editor/headers/view-mode/standard-series-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/headers/view-mode/standard-series-header.hbs\"}});\nimport { action } from '@ember/object';\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class StandardSeriesHeader extends Component {\n  @service seriesEditorService;\n  @service contentEditorService;\n\n  @action\n  openEditMode() {\n    let node = this.seriesEditorService.activeSeriesNode;\n    this.seriesEditorService.closeRulesetEditor();\n    this.seriesEditorService.changeMode('edit');\n    this.seriesEditorService.registerActiveSeriesNode(node);\n  }\n\n  @action\n  closeRulesetEditor() {\n    this.seriesEditorService.closeRulesetEditor();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-content-editor-audience-body>\\n  <MatchingSystem::AudienceSelector::Main\\n    @audienceEditorConfiguration={{@config.audienceEditorConfiguration}}\\n    @isDisabled={{@config.audienceEditorConfiguration.isDisabled}}\\n    @ruleset={{this.ruleset}}\\n  />\\n</div>\\n\\n\", {\"contents\":\"<div data-test-content-editor-audience-body>\\n  <MatchingSystem::AudienceSelector::Main\\n    @audienceEditorConfiguration={{@config.audienceEditorConfiguration}}\\n    @isDisabled={{@config.audienceEditorConfiguration.isDisabled}}\\n    @ruleset={{this.ruleset}}\\n  />\\n</div>\\n\\n\",\"moduleName\":\"embercom/components/content-editor/panels/audience/body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/audience/body.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class Body extends Component {\n  @service contentEditorService;\n\n  get ruleset() {\n    return this.contentEditorService.ruleset;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"border-t h-16\\\">\\n  <div class=\\\"mx-6 my-4 flex justify-end\\\">\\n    {{#if @config.isDisabled}}\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @label=\\\"Turn this back on\\\"\\n        @onClick={{fn this.setShowAutomatically true}}\\n        data-test-show-automatically-on-button\\n      />\\n    {{else}}\\n      <IcButton\\n        @label=\\\"Turn this off\\\"\\n        @onClick={{fn this.setShowAutomatically false}}\\n        data-test-show-automatically-off-button\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"border-t h-16\\\">\\n  <div class=\\\"mx-6 my-4 flex justify-end\\\">\\n    {{#if @config.isDisabled}}\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @label=\\\"Turn this back on\\\"\\n        @onClick={{fn this.setShowAutomatically true}}\\n        data-test-show-automatically-on-button\\n      />\\n    {{else}}\\n      <IcButton\\n        @label=\\\"Turn this off\\\"\\n        @onClick={{fn this.setShowAutomatically false}}\\n        data-test-show-automatically-off-button\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/audience/content/carousel/footer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/audience/content/carousel/footer.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { matchingLocations } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class Footer extends Component {\n  get ruleset() {\n    return this.args.ruleset;\n  }\n\n  @action\n  setShowAutomatically(showAutomaticallyEnabled) {\n    let newMatchingLocations;\n    if (showAutomaticallyEnabled) {\n      newMatchingLocations = [];\n    } else {\n      newMatchingLocations = [matchingLocations.triggerFromCode];\n    }\n    this.ruleset.rulesetLinks.forEach(rl => (rl.matchingLocations = newMatchingLocations));\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n  @isMultiline={{true}}\\n  as |header|>\\n  {{#if (and @config.hasBeenOpened @config.isComplete)}}\\n    {{#if (and this.isDisabled (has-feature \\\"team-mobile-programmatic-carousels\\\"))}}\\n      <Text @styling=\\\"muted\\\" data-test-warning>\\n        Turned off\\n      </Text>\\n    {{else if @config.isComplete}}\\n      <div class=\\\"flex flex-row flex-0 flex-wrap\\\">\\n        <MatchingSystem::Content::Carousel::AudienceSummary\\n          @ruleset={{this.ruleset}}\\n          @hideMatchBehavior={{@config.hideMatchBehavior}}\\n          @hideClientPredicates={{@config.hideClientPredicates}}\\n          @allowedUserRoles={{@config.allowedUserRoles}}\\n          @useRolePredicateGroup={{true}}\\n        />\\n      </div>\\n    {{/if}}\\n  {{/if}}\\n</ContentEditor::Panels::StandardHeader>\\n\", {\"contents\":\"<ContentEditor::Panels::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n  @isMultiline={{true}}\\n  as |header|>\\n  {{#if (and @config.hasBeenOpened @config.isComplete)}}\\n    {{#if (and this.isDisabled (has-feature \\\"team-mobile-programmatic-carousels\\\"))}}\\n      <Text @styling=\\\"muted\\\" data-test-warning>\\n        Turned off\\n      </Text>\\n    {{else if @config.isComplete}}\\n      <div class=\\\"flex flex-row flex-0 flex-wrap\\\">\\n        <MatchingSystem::Content::Carousel::AudienceSummary\\n          @ruleset={{this.ruleset}}\\n          @hideMatchBehavior={{@config.hideMatchBehavior}}\\n          @hideClientPredicates={{@config.hideClientPredicates}}\\n          @allowedUserRoles={{@config.allowedUserRoles}}\\n          @useRolePredicateGroup={{true}}\\n        />\\n      </div>\\n    {{/if}}\\n  {{/if}}\\n</ContentEditor::Panels::StandardHeader>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/audience/content/carousel/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/audience/content/carousel/header.hbs\"}});\nimport Component from '@glimmer/component';\nimport { matchingLocations } from 'embercom/models/data/matching-system/matching-constants';\nimport { inject as service } from '@ember/service';\n\nexport default class Header extends Component {\n  @service contentEditorService;\n\n  get ruleset() {\n    return this.contentEditorService.ruleset;\n  }\n\n  get isDisabled() {\n    return this.ruleset.rulesetLinks.any(rulesetLink =>\n      rulesetLink.matchingLocations.includes(matchingLocations.triggerFromCode),\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n  @isMultiline={{false}}\\n  as |header|>\\n  {{#if (not (and @config.hasBeenOpened @config.errors.length))}}\\n    <div class=\\\"flex flex-row flex-0 flex-wrap\\\">\\n      {{#let (service 'content-editor-service.ruleset') as |ruleset|}}\\n        <MatchingSystem::AudienceSummary\\n          @ruleset={{ruleset}}\\n          @hideMatchBehavior={{@config.hideMatchBehavior}}\\n          @hideClientPredicates={{@config.hideClientPredicates}}\\n          @allowedUserRoles={{@config.allowedUserRoles}}\\n          @useRolePredicateGroup={{true}}\\n        />\\n      {{/let}}\\n    </div>\\n  {{/if}}\\n</ContentEditor::Panels::StandardHeader>\\n\", {\"contents\":\"<ContentEditor::Panels::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n  @isMultiline={{false}}\\n  as |header|>\\n  {{#if (not (and @config.hasBeenOpened @config.errors.length))}}\\n    <div class=\\\"flex flex-row flex-0 flex-wrap\\\">\\n      {{#let (service 'content-editor-service.ruleset') as |ruleset|}}\\n        <MatchingSystem::AudienceSummary\\n          @ruleset={{ruleset}}\\n          @hideMatchBehavior={{@config.hideMatchBehavior}}\\n          @hideClientPredicates={{@config.hideClientPredicates}}\\n          @allowedUserRoles={{@config.allowedUserRoles}}\\n          @useRolePredicateGroup={{true}}\\n        />\\n      {{/let}}\\n    </div>\\n  {{/if}}\\n</ContentEditor::Panels::StandardHeader>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/audience/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/audience/header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col gap-2\\\" ...attributes>\\n  <div class=\\\"flex flex-col gap-1\\\">\\n    <label class=\\\"t__label\\\">\\n      {{@label}}\\n    </label>\\n\\n    <ContentEditor::Panels::Content::AssigneeDropdown\\n      @selectedValue={{this.selectedValue}}\\n      @onSelectItem={{this.onSelectItem}}\\n      @allowUnassigned={{@allowUnassigned}}\\n      @isEmailMode={{@isEmailMode}}\\n      @filterPlaceholder={{@filterPlaceholder}}\\n    />\\n  </div>\\n\\n  {{#if this.isOwnerSelected}}\\n    <div class=\\\"flex flex-col gap-1 pl-4 content-editor__panels__content__sidebar__fallback\\\">\\n      <label class=\\\"t__label\\\">\\n        Fallback to\\n      </label>\\n\\n      <ContentEditor::Panels::Content::AssigneeDropdown\\n        @selectedValue={{this.selectedFallbackValue}}\\n        @onSelectItem={{this.onSelectFallbackItem}}\\n        @hideOwner={{true}}\\n        @isEmailMode={{@isEmailMode}}\\n        @filterPlaceholder={{@filterPlaceholder}}\\n        data-test-fallback-dropdown\\n      />\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col gap-2\\\" ...attributes>\\n  <div class=\\\"flex flex-col gap-1\\\">\\n    <label class=\\\"t__label\\\">\\n      {{@label}}\\n    </label>\\n\\n    <ContentEditor::Panels::Content::AssigneeDropdown\\n      @selectedValue={{this.selectedValue}}\\n      @onSelectItem={{this.onSelectItem}}\\n      @allowUnassigned={{@allowUnassigned}}\\n      @isEmailMode={{@isEmailMode}}\\n      @filterPlaceholder={{@filterPlaceholder}}\\n    />\\n  </div>\\n\\n  {{#if this.isOwnerSelected}}\\n    <div class=\\\"flex flex-col gap-1 pl-4 content-editor__panels__content__sidebar__fallback\\\">\\n      <label class=\\\"t__label\\\">\\n        Fallback to\\n      </label>\\n\\n      <ContentEditor::Panels::Content::AssigneeDropdown\\n        @selectedValue={{this.selectedFallbackValue}}\\n        @onSelectItem={{this.onSelectFallbackItem}}\\n        @hideOwner={{true}}\\n        @isEmailMode={{@isEmailMode}}\\n        @filterPlaceholder={{@filterPlaceholder}}\\n        data-test-fallback-dropdown\\n      />\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/assignee-dropdown-with-fallback.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/assignee-dropdown-with-fallback.hbs\"}});\nimport { action } from '@ember/object';\nimport Component from '@glimmer/component';\nimport { senderTypes } from 'embercom/models/data/outbound/constants';\n\nexport default class AssigneeDropdownWithFallback extends Component {\n  get isOwnerSelected() {\n    return this.isOwnerWithAssigneeFallback || this.isOwnerWithCustomEmailAddressFallback;\n  }\n\n  get isOwnerWithAssigneeFallback() {\n    return this.args.selectedValueType === senderTypes.owner;\n  }\n\n  get isOwnerWithCustomEmailAddressFallback() {\n    return this.args.selectedValueType === senderTypes.ownerWithCustomEmailAddressFallback;\n  }\n\n  get selectedValue() {\n    if (this.isOwnerSelected) {\n      return '-1';\n    } else if (this.args.selectedValueId) {\n      return `${this.args.selectedValueId}:${this.args.selectedValueType}`;\n    } else {\n      return undefined;\n    }\n  }\n\n  get selectedFallbackValue() {\n    if (this.isOwnerSelected && this.args.selectedValueId) {\n      let fallbackValueType = this.isOwnerWithAssigneeFallback\n        ? senderTypes.admin\n        : senderTypes.customEmailAddress;\n      return `${this.args.selectedValueId}:${fallbackValueType}`;\n    } else {\n      return undefined;\n    }\n  }\n\n  @action onSelectItem(newValue) {\n    let [senderId, senderType] = newValue.split(':', 2);\n    if (newValue === '-1') {\n      if (this.args.selectedValueType === senderTypes.customEmailAddress) {\n        this.args.onChangeType(senderTypes.ownerWithCustomEmailAddressFallback);\n      } else {\n        this.args.onChangeType(senderTypes.owner);\n      }\n    } else if (this.args.supportOldEditor) {\n      this.args.onChangeId(newValue);\n      this.args.onChangeType(Number(senderType));\n    } else {\n      this.args.onChangeId(Number(senderId));\n      this.args.onChangeType(Number(senderType));\n    }\n  }\n\n  @action onSelectFallbackItem(newValue) {\n    let [senderId, senderType] = newValue.split(':', 2);\n    if (this.args.supportOldEditor) {\n      this.args.onChangeId(newValue);\n      this.args.onChangeType(Number(senderType));\n    } else {\n      this.args.onChangeId(Number(senderId));\n    }\n    if (Number(senderType) === senderTypes.customEmailAddress) {\n      this.args.onChangeType(senderTypes.ownerWithCustomEmailAddressFallback);\n    } else {\n      this.args.onChangeType(senderTypes.owner);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @isEmailMode}}\\n  <IcSelect\\n    @mode=\\\"block\\\"\\n    @onSelectItem={{@onSelectItem}}\\n    @items={{this.entities}}\\n    @selectedValue={{this.selectedValue}}\\n    @hasFilter={{true}}\\n    @filterPlaceholder={{@filterPlaceholder}}\\n    ...attributes\\n    @footerActions={{hash\\n      text= \\\"Add custom address\\\"\\n      icon=\\\"new\\\"\\n      action=this.toggleDisplayCustomSenderModal\\n      isDisabled=false\\n    }}\\n  />\\n  <Settings::Senders::Modals::CreateSenderEmailAddress\\n    @showAddCustomSenderModal={{this.showAddCustomSenderModal}}\\n    @toggleDisplayCustomSenderModal={{this.toggleDisplayCustomSenderModal}}\\n  />\\n{{else}}\\n  <IcSelect\\n    @mode=\\\"block\\\"\\n    @onSelectItem={{@onSelectItem}}\\n    @items={{this.entities}}\\n    @selectedValue={{this.selectedValue}}\\n    @hasFilter={{true}}\\n    @filterPlaceholder={{@filterPlaceholder}}\\n    ...attributes\\n  />\\n{{/if}}\\n\\n\", {\"contents\":\"{{#if @isEmailMode}}\\n  <IcSelect\\n    @mode=\\\"block\\\"\\n    @onSelectItem={{@onSelectItem}}\\n    @items={{this.entities}}\\n    @selectedValue={{this.selectedValue}}\\n    @hasFilter={{true}}\\n    @filterPlaceholder={{@filterPlaceholder}}\\n    ...attributes\\n    @footerActions={{hash\\n      text= \\\"Add custom address\\\"\\n      icon=\\\"new\\\"\\n      action=this.toggleDisplayCustomSenderModal\\n      isDisabled=false\\n    }}\\n  />\\n  <Settings::Senders::Modals::CreateSenderEmailAddress\\n    @showAddCustomSenderModal={{this.showAddCustomSenderModal}}\\n    @toggleDisplayCustomSenderModal={{this.toggleDisplayCustomSenderModal}}\\n  />\\n{{else}}\\n  <IcSelect\\n    @mode=\\\"block\\\"\\n    @onSelectItem={{@onSelectItem}}\\n    @items={{this.entities}}\\n    @selectedValue={{this.selectedValue}}\\n    @hasFilter={{true}}\\n    @filterPlaceholder={{@filterPlaceholder}}\\n    ...attributes\\n  />\\n{{/if}}\\n\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/assignee-dropdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/assignee-dropdown.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { senderTypes } from 'embercom/models/data/outbound/constants';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\n\n// This is constructed using sender_id:sender_type\n// The id of the unassigned admin is 0 and the id of teammate sender type is also 0\nconst UNASSIGNED = '0:0';\n\nexport default class AssigneeDropdown extends Component {\n  @service appService;\n  @service intercomEventService;\n\n  @tracked showAddCustomSenderModal = false;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get selectedValue() {\n    let selectedValueExists = this.entities.any(entity =>\n      entity.items.find(item => item.value === this.args.selectedValue),\n    );\n\n    if (!selectedValueExists && this.args.allowUnassigned) {\n      return UNASSIGNED;\n    }\n\n    return this.args.selectedValue;\n  }\n\n  get entities() {\n    let assignees = [];\n    if (!this.args.hideOwner) {\n      assignees.push({\n        heading: 'Dynamic',\n        items: this._ownerItem(),\n      });\n    }\n\n    let displayableTeammates = this.args.allowUnassigned\n      ? this.app.assignableAdmins.filter(admin => !admin.isTeam)\n      : this.app.humanAdmins;\n\n    assignees = assignees.concat({\n      heading: 'Teammates',\n      items: this._mapAssigneesToDropdownItems(displayableTeammates),\n    });\n\n    if (!this.args.isEmailMode) {\n      assignees = assignees.concat({\n        heading: 'Teams',\n        items: this._mapAssigneesToDropdownItems(this.app.get('teams')),\n      });\n    } else {\n      assignees = assignees.concat({\n        heading: 'Custom addresses',\n        items: this._mapAssigneesToDropdownItems(this.app.get('customEmailAddresses')),\n      });\n    }\n    return assignees;\n  }\n\n  @action\n  toggleDisplayCustomSenderModal() {\n    this.showAddCustomSenderModal = !this.showAddCustomSenderModal;\n    if (this.showAddCustomSenderModal) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'create_custom_sender_address',\n        context: 'from_messages_page',\n      });\n    }\n  }\n\n  _ownerItem() {\n    return [\n      {\n        text: 'Owner',\n        value: '-1',\n        component: 'content-editor/panels/content/owner-assignee-dropdown',\n        isDisabled: !this.app.hasDynamicAccountMessagesBillingFeature,\n      },\n    ];\n  }\n\n  _mapAssigneesToDropdownItems(assignees) {\n    return assignees.map(assignee => {\n      let isDisabled =\n        assignee.outboundType === senderTypes.customEmailAddress ? !assignee.verified : false;\n      let modelDisplayEmail =\n        assignee.outboundType === senderTypes.customEmailAddress ? assignee.email : null;\n\n      return {\n        text: assignee.name,\n        value: `${assignee.id}:${assignee.outboundType}`,\n        avatarData: assignee.avatarData,\n        isDisabled,\n        component: 'content-editor/panels/content/assignee-sender-item',\n        componentAttrs: {\n          model: assignee,\n          modelDisplayName: assignee.name,\n          modelDisplayEmail,\n          avatarSize: 'xs',\n          isDisabled,\n        },\n      };\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__centers-vertically\\\">\\n  <div class=\\\"u__mr__10\\\">\\n    {{ic-avatar model=@componentAttrs.model size=@componentAttrs.avatarSize}}\\n  </div>\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <div class=\\\"u__one-truncated-line u__Cf\\\">\\n      {{@componentAttrs.modelDisplayName}}\\n      {{#if @componentAttrs.isDisabled}}\\n        {{ic-stamp 'Unverified' 'u__right'}}\\n      {{/if}}\\n    </div>\\n\\n    {{#if @componentAttrs.modelDisplayEmail }}\\n      <div class=\\\"u__one-truncated-line t__light-text\\\">\\n        {{@componentAttrs.modelDisplayEmail}}\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__centers-vertically\\\">\\n  <div class=\\\"u__mr__10\\\">\\n    {{ic-avatar model=@componentAttrs.model size=@componentAttrs.avatarSize}}\\n  </div>\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <div class=\\\"u__one-truncated-line u__Cf\\\">\\n      {{@componentAttrs.modelDisplayName}}\\n      {{#if @componentAttrs.isDisabled}}\\n        {{ic-stamp 'Unverified' 'u__right'}}\\n      {{/if}}\\n    </div>\\n\\n    {{#if @componentAttrs.modelDisplayEmail }}\\n      <div class=\\\"u__one-truncated-line t__light-text\\\">\\n        {{@componentAttrs.modelDisplayEmail}}\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/assignee-sender-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/assignee-sender-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::Content::StandardBody>\\n  <div class=\\\"flex flex-col\\\" data-test-content-editor-banner-content-body>\\n    <Banners::Editor::Content::Panel @banner={{service 'contentEditorService.activeObject'}} />\\n  </div>\\n</ContentEditor::Panels::Content::StandardBody>\\n\", {\"contents\":\"<ContentEditor::Panels::Content::StandardBody>\\n  <div class=\\\"flex flex-col\\\" data-test-content-editor-banner-content-body>\\n    <Banners::Editor::Content::Panel @banner={{service 'contentEditorService.activeObject'}} />\\n  </div>\\n</ContentEditor::Panels::Content::StandardBody>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/banner/body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/banner/body.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::Content::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n as |header|>\\n  <div data-test-content-editor-banner-header-summary>\\n    {{!-- Banner content summary here --}}\\n  </div>\\n</ContentEditor::Panels::Content::StandardHeader>\", {\"contents\":\"<ContentEditor::Panels::Content::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n as |header|>\\n  <div data-test-content-editor-banner-header-summary>\\n    {{!-- Banner content summary here --}}\\n  </div>\\n</ContentEditor::Panels::Content::StandardHeader>\",\"moduleName\":\"embercom/components/content-editor/panels/content/banner/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/banner/header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (service 'contentEditorService') as |contentService|}}\\n  <div class=\\\"flex flex-col\\\" data-test-content-editor-custom-bot-content-body>\\n    <CustomBots::Editor\\n      @customBot={{contentService.activeObject}}\\n      @shouldShowValidations={{or contentService.ruleset.isLive contentService.hasPreviouslyOpenedCurrentPanel}}\\n      @isFullscreen={{@isFullscreen}}\\n    />\\n  </div>\\n{{/let}}\\n\", {\"contents\":\"{{#let (service 'contentEditorService') as |contentService|}}\\n  <div class=\\\"flex flex-col\\\" data-test-content-editor-custom-bot-content-body>\\n    <CustomBots::Editor\\n      @customBot={{contentService.activeObject}}\\n      @shouldShowValidations={{or contentService.ruleset.isLive contentService.hasPreviouslyOpenedCurrentPanel}}\\n      @isFullscreen={{@isFullscreen}}\\n    />\\n  </div>\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/button-custom-bot/body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/button-custom-bot/body.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::Content::StandardBody>\\n  <div class=\\\"flex flex-col\\\" data-test-content-editor-carousel-content-body>\\n    <Carousel::Editor\\n      @carousel={{service 'contentEditorService.activeObject'}}\\n      @isEditing={{true}}\\n      @hideStats={{true}}\\n    />\\n  </div>\\n</ContentEditor::Panels::Content::StandardBody>\\n\\n\", {\"contents\":\"<ContentEditor::Panels::Content::StandardBody>\\n  <div class=\\\"flex flex-col\\\" data-test-content-editor-carousel-content-body>\\n    <Carousel::Editor\\n      @carousel={{service 'contentEditorService.activeObject'}}\\n      @isEditing={{true}}\\n      @hideStats={{true}}\\n    />\\n  </div>\\n</ContentEditor::Panels::Content::StandardBody>\\n\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/carousel/body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/carousel/body.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::Content::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n as |header|>\\n  <div data-test-content-editor-carousel-header-summary>\\n    <Carousel::Editor\\n      @carousel={{service 'contentEditorService.activeObject'}}\\n      @isEditing={{false}}\\n      @hideStats={{true}}\\n    />\\n  </div>\\n</ContentEditor::Panels::Content::StandardHeader>\\n\", {\"contents\":\"<ContentEditor::Panels::Content::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n as |header|>\\n  <div data-test-content-editor-carousel-header-summary>\\n    <Carousel::Editor\\n      @carousel={{service 'contentEditorService.activeObject'}}\\n      @isEditing={{false}}\\n      @hideStats={{true}}\\n    />\\n  </div>\\n</ContentEditor::Panels::Content::StandardHeader>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/carousel/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/carousel/header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::Content::StandardBody>\\n  <div class=\\\"flex flex-col\\\" data-test-content-editor-chat-content-body>\\n    <Chat::Editor\\n      @chat={{service 'contentEditorService.activeObject'}}\\n      @isEditing={{true}}\\n    />\\n  </div>\\n</ContentEditor::Panels::Content::StandardBody>\\n\\n\", {\"contents\":\"<ContentEditor::Panels::Content::StandardBody>\\n  <div class=\\\"flex flex-col\\\" data-test-content-editor-chat-content-body>\\n    <Chat::Editor\\n      @chat={{service 'contentEditorService.activeObject'}}\\n      @isEditing={{true}}\\n    />\\n  </div>\\n</ContentEditor::Panels::Content::StandardBody>\\n\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/chat/body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/chat/body.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::Content::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n as |header|>\\n  <div data-test-content-editor-chat-header-summary>\\n    {{#if (and @config.hasBeenOpened @config.isComplete)}}\\n      <Chat::Editor @chat={{service 'contentEditorService.activeObject'}} @isEditing={{false}} />\\n    {{/if}}\\n  </div>\\n</ContentEditor::Panels::Content::StandardHeader>\\n\", {\"contents\":\"<ContentEditor::Panels::Content::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n as |header|>\\n  <div data-test-content-editor-chat-header-summary>\\n    {{#if (and @config.hasBeenOpened @config.isComplete)}}\\n      <Chat::Editor @chat={{service 'contentEditorService.activeObject'}} @isEditing={{false}} />\\n    {{/if}}\\n  </div>\\n</ContentEditor::Panels::Content::StandardHeader>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/chat/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/chat/header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-chat-chrome-avatar ...attributes>\\n  {{#if this.isFromTeam}}\\n    <MessageEditor::Content::InApp::TeamAvatar\\n      @team={{this.team}}\\n      @appColor={{this.appColor}}\\n      data-test-chat-chrome-team-avatar\\n    />\\n  {{else if @chatContent.isSenderOwner}}\\n    <div class=\\\"intercom-avatar\\\" data-test-chat-chrome-owner-avatar>\\n      <IcAvatarComponent @size=\\\"m\\\" />\\n    </div>\\n  {{else if this.hasAvatar}}\\n    <div class=\\\"intercom-avatar\\\" data-test-chat-chrome-admin-avatar>\\n      <IcAvatarComponent @size=\\\"m\\\" @model={{@chatContent.sender}}/>\\n    </div>\\n  {{else}}\\n    <div class=\\\"intercom-avatar intercom-avatar-initial intercom-team-avatar-large\\\" data-test-chat-chrome-admin-initial>\\n      {{this.senderInitial}}\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div data-test-chat-chrome-avatar ...attributes>\\n  {{#if this.isFromTeam}}\\n    <MessageEditor::Content::InApp::TeamAvatar\\n      @team={{this.team}}\\n      @appColor={{this.appColor}}\\n      data-test-chat-chrome-team-avatar\\n    />\\n  {{else if @chatContent.isSenderOwner}}\\n    <div class=\\\"intercom-avatar\\\" data-test-chat-chrome-owner-avatar>\\n      <IcAvatarComponent @size=\\\"m\\\" />\\n    </div>\\n  {{else if this.hasAvatar}}\\n    <div class=\\\"intercom-avatar\\\" data-test-chat-chrome-admin-avatar>\\n      <IcAvatarComponent @size=\\\"m\\\" @model={{@chatContent.sender}}/>\\n    </div>\\n  {{else}}\\n    <div class=\\\"intercom-avatar intercom-avatar-initial intercom-team-avatar-large\\\" data-test-chat-chrome-admin-initial>\\n      {{this.senderInitial}}\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/chrome/avatar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/chrome/avatar.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class ChatChromeAvatarComponent extends Component {\n  @service appService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get appColor() {\n    return this.app.base_color;\n  }\n\n  get sender() {\n    return this.args.chatContent.sender;\n  }\n\n  get senderInitial() {\n    return this.args.chatContent.senderName.slice(0, 1);\n  }\n\n  get isFromTeam() {\n    return this.sender.isTeam;\n  }\n\n  get hasAvatar() {\n    return this.sender?.avatar?.image_urls?.square_50 && this.sender.has_photo_avatar;\n  }\n\n  get teamMembers() {\n    this.sender.teamMembers.slice(0, 3);\n  }\n\n  get team() {\n    let team = [];\n    if (this.isFromTeam) {\n      let adminIds = this.sender.member_ids.slice(0, 3);\n      team = adminIds.map(adminId => {\n        let admin = this.app.admins.findBy('id', adminId.toString());\n        if (!admin) {\n          return null;\n        }\n\n        let url = admin?.avatar?.image_urls?.square_50 || '';\n\n        return {\n          url: url.includes('default-avatars') ? '' : url,\n          first_name: admin.first_name,\n        };\n      });\n    }\n    return team.compact();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"chat__chrome__browser-bottom\\\" ...attributes>\\n  <div class=\\\"chat__chrome__launcher-wrapper mr-4\\\">\\n    <div class=\\\"intercom-launcher\\\" data-test-chat-chrome-launcher>\\n      <div class=\\\"intercom-launcher-open-icon\\\"></div>\\n      <div class=\\\"intercom-launcher-close-icon\\\"></div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"chat__chrome__browser-bottom\\\" ...attributes>\\n  <div class=\\\"chat__chrome__launcher-wrapper mr-4\\\">\\n    <div class=\\\"intercom-launcher\\\" data-test-chat-chrome-launcher>\\n      <div class=\\\"intercom-launcher-open-icon\\\"></div>\\n      <div class=\\\"intercom-launcher-close-icon\\\"></div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/chrome/bottom.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/chrome/bottom.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"intercom-author-summary\\\">\\n  <div class=\\\"intercom-author-summary-name-from\\\">\\n    <span class=\\\"intercom-author-summary-name\\\" data-test-chat-sender-name>\\n      {{@senderName}}\\n    </span>\\n    {{#unless @sender.isTeam}}\\n      {{#let (service 'app-service.app') as |app|}}\\n        <span class=\\\"intercom-author-summary-from-clause\\\" data-test-chat-sender-app-name>\\n          from {{app.name}}\\n        </span>\\n      {{/let}}\\n    {{/unless}}\\n  </div>\\n  {{#if @showLastActive}}\\n    <div class=\\\"intercom-author-last-active\\\" data-test-sender-last-active>Active</div>\\n  {{/if}}\\n</div>\\n\\n\", {\"contents\":\"<div class=\\\"intercom-author-summary\\\">\\n  <div class=\\\"intercom-author-summary-name-from\\\">\\n    <span class=\\\"intercom-author-summary-name\\\" data-test-chat-sender-name>\\n      {{@senderName}}\\n    </span>\\n    {{#unless @sender.isTeam}}\\n      {{#let (service 'app-service.app') as |app|}}\\n        <span class=\\\"intercom-author-summary-from-clause\\\" data-test-chat-sender-app-name>\\n          from {{app.name}}\\n        </span>\\n      {{/let}}\\n    {{/unless}}\\n  </div>\\n  {{#if @showLastActive}}\\n    <div class=\\\"intercom-author-last-active\\\" data-test-sender-last-active>Active</div>\\n  {{/if}}\\n</div>\\n\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/chrome/sender-summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/chrome/sender-summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (service 'contentEditorService') as |contentService|}}\\n  {{#let (service 'app-service.app') as |app|}}\\n    <ContentEditor::Panels::Content::StandardBody>\\n      <div class=\\\"flex flex-col\\\" data-test-content-editor-custom-bot-content-body>\\n        <CustomBots::Editor\\n          @customBot={{contentService.activeObject}}\\n          @shouldShowValidations={{or contentService.ruleset.isLive contentService.hasPreviouslyOpenedCurrentPanel}}\\n          @isFullscreen={{@isFullscreen}}\\n        />\\n      </div>\\n    </ContentEditor::Panels::Content::StandardBody>\\n  {{/let}}\\n{{/let}}\\n\", {\"contents\":\"{{#let (service 'contentEditorService') as |contentService|}}\\n  {{#let (service 'app-service.app') as |app|}}\\n    <ContentEditor::Panels::Content::StandardBody>\\n      <div class=\\\"flex flex-col\\\" data-test-content-editor-custom-bot-content-body>\\n        <CustomBots::Editor\\n          @customBot={{contentService.activeObject}}\\n          @shouldShowValidations={{or contentService.ruleset.isLive contentService.hasPreviouslyOpenedCurrentPanel}}\\n          @isFullscreen={{@isFullscreen}}\\n        />\\n      </div>\\n    </ContentEditor::Panels::Content::StandardBody>\\n  {{/let}}\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/custom-bot/body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/custom-bot/body.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::Content::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n/>\\n\", {\"contents\":\"<ContentEditor::Panels::Content::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n/>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/custom-bot/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/custom-bot/header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::Content::StandardBody>\\n  <div class=\\\"flex flex-col\\\" data-test-content-editor-email-content-body>\\n    <Email::Editor\\n      @email={{service 'contentEditorService.activeObject'}}\\n      @isEditing={{true}}\\n    />\\n  </div>\\n</ContentEditor::Panels::Content::StandardBody>\", {\"contents\":\"<ContentEditor::Panels::Content::StandardBody>\\n  <div class=\\\"flex flex-col\\\" data-test-content-editor-email-content-body>\\n    <Email::Editor\\n      @email={{service 'contentEditorService.activeObject'}}\\n      @isEditing={{true}}\\n    />\\n  </div>\\n</ContentEditor::Panels::Content::StandardBody>\",\"moduleName\":\"embercom/components/content-editor/panels/content/email/body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/email/body.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::Content::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n as |header|>\\n  <div data-test-content-editor-email-header-summary>\\n    <Email::Editor @email={{service 'contentEditorService.activeObject'}} @isEditing={{false}} />\\n  </div>\\n</ContentEditor::Panels::Content::StandardHeader>\\n\", {\"contents\":\"<ContentEditor::Panels::Content::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n as |header|>\\n  <div data-test-content-editor-email-header-summary>\\n    <Email::Editor @email={{service 'contentEditorService.activeObject'}} @isEditing={{false}} />\\n  </div>\\n</ContentEditor::Panels::Content::StandardHeader>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/email/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/email/header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @followUpActions.answerBotEnabled}}\\n  <div>\\n    <IcFilterBlock\\n      @name=\\\"Let Resolution Bot respond\\\"\\n      @icon=\\\"operator\\\"\\n      @isOneLine={{true}}\\n      @showDelete={{@showDelete}}\\n      @appearance=\\\"action\\\"\\n      @onDelete={{set @followUpActions.answerBotEnabled false}}\\n      data-test-follow-up-actions-answer-bot\\n    />\\n  </div>\\n{{/if}}\", {\"contents\":\"{{#if @followUpActions.answerBotEnabled}}\\n  <div>\\n    <IcFilterBlock\\n      @name=\\\"Let Resolution Bot respond\\\"\\n      @icon=\\\"operator\\\"\\n      @isOneLine={{true}}\\n      @showDelete={{@showDelete}}\\n      @appearance=\\\"action\\\"\\n      @onDelete={{set @followUpActions.answerBotEnabled false}}\\n      data-test-follow-up-actions-answer-bot\\n    />\\n  </div>\\n{{/if}}\",\"moduleName\":\"embercom/components/content-editor/panels/content/follow-up-actions/answer-bot.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/follow-up-actions/answer-bot.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Paywall @featureKey={{@item.feature}} as |paywall|>\\n  <IcTooltip @isInteractive={{true}} as |t|>\\n    <t.opener>\\n      <div class=\\\"flex flex-row items-center justify-between gap-2 pd__gallery__container\\\" data-test-disabled-item-opener>\\n        <div class=\\\"flex flex-row items-start flex-1\\\">\\n          {{#if @item.icon}}\\n            <div class=\\\"mr-2\\\">\\n              {{ic-interface-icon @item.icon solo=true}}\\n            </div>\\n          {{/if}}\\n          <div\\n            class=\\\"u__one-truncated-line\\\"\\n            {{tooltip\\n              content=@item.text\\n              showOnlyWhenTruncated=true\\n            }}\\n          >\\n            {{@item.text}}\\n          </div>\\n        </div>\\n        <paywall.Badge />\\n      </div>\\n    </t.opener>\\n    {{#if (and @item.operatorQualificationPanelIsDisabled (not @item.isEmailCollectorReply))}}\\n      <t.content>\\n        <span data-test-disabled-item-content>\\n          To turn on qualification, first enable the Operator qualification Task Bot in\\n          <a href=\\\"{{href-to 'apps.app.operator.task-bots.leads' (query-params section='qualify-leads')}}\\\" data-test-operator-lead-qualification-link>\\n            Operator settings\\n          </a>\\n        </span>\\n      </t.content>\\n    {{/if}}\\n  </IcTooltip>\\n</Paywall>\\n\\n\", {\"contents\":\"<Paywall @featureKey={{@item.feature}} as |paywall|>\\n  <IcTooltip @isInteractive={{true}} as |t|>\\n    <t.opener>\\n      <div class=\\\"flex flex-row items-center justify-between gap-2 pd__gallery__container\\\" data-test-disabled-item-opener>\\n        <div class=\\\"flex flex-row items-start flex-1\\\">\\n          {{#if @item.icon}}\\n            <div class=\\\"mr-2\\\">\\n              {{ic-interface-icon @item.icon solo=true}}\\n            </div>\\n          {{/if}}\\n          <div\\n            class=\\\"u__one-truncated-line\\\"\\n            {{tooltip\\n              content=@item.text\\n              showOnlyWhenTruncated=true\\n            }}\\n          >\\n            {{@item.text}}\\n          </div>\\n        </div>\\n        <paywall.Badge />\\n      </div>\\n    </t.opener>\\n    {{#if (and @item.operatorQualificationPanelIsDisabled (not @item.isEmailCollectorReply))}}\\n      <t.content>\\n        <span data-test-disabled-item-content>\\n          To turn on qualification, first enable the Operator qualification Task Bot in\\n          <a href=\\\"{{href-to 'apps.app.operator.task-bots.leads' (query-params section='qualify-leads')}}\\\" data-test-operator-lead-qualification-link>\\n            Operator settings\\n          </a>\\n        </span>\\n      </t.content>\\n    {{/if}}\\n  </IcTooltip>\\n</Paywall>\\n\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/follow-up-actions/dropdown-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/follow-up-actions/dropdown-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row gap-2\\\">\\n  {{#if (or @followUpActions.leadQualificationEnabled @followUpActions.answerBotEnabled @followUpActions.followUpReply)}}\\n    <ContentEditor::Panels::Content::FollowUpActions::IfBlock @isEmailCollectorReply={{@isEmailCollectorReply}} />\\n  {{/if}}\\n  <div class=\\\"flex flex-col justify-center gap-2\\\">\\n    <ContentEditor::Panels::Content::FollowUpActions::FollowUpReply @isReplyPopUpOpen={{this.isReplyPopUpOpen}} @isDisabled={{@isDisabled}} @followUpActions={{@followUpActions}} />\\n    <ContentEditor::Panels::Content::FollowUpActions::LeadQualification  @showDelete={{not @isDisabled}} @followUpActions={{@followUpActions}} />\\n    <ContentEditor::Panels::Content::FollowUpActions::AnswerBot  @showDelete={{not @isDisabled}} @followUpActions={{@followUpActions}} />\\n    <div>\\n      {{#unless this.shouldHideDropdownOpener}}\\n        <IcDropdownOpener\\n          @groupList={{array (hash items=(array this.followUpReplyFollowUpAction\\n                                                this.leadQualificationFollowUpAction\\n                                                this.answerBotFollowUpAction))}}\\n          @onSelectItem={{this.selectFollowUpAction}}\\n        >\\n          <a class=\\\"btn__tertiary\\\" data-test-follow-up-actions-add-action>\\n            {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add follow up action\\n          </a>\\n        </IcDropdownOpener>\\n      {{/unless}}\\n    </div>\\n  </div>\\n</div>\\n\\n\", {\"contents\":\"<div class=\\\"flex flex-row gap-2\\\">\\n  {{#if (or @followUpActions.leadQualificationEnabled @followUpActions.answerBotEnabled @followUpActions.followUpReply)}}\\n    <ContentEditor::Panels::Content::FollowUpActions::IfBlock @isEmailCollectorReply={{@isEmailCollectorReply}} />\\n  {{/if}}\\n  <div class=\\\"flex flex-col justify-center gap-2\\\">\\n    <ContentEditor::Panels::Content::FollowUpActions::FollowUpReply @isReplyPopUpOpen={{this.isReplyPopUpOpen}} @isDisabled={{@isDisabled}} @followUpActions={{@followUpActions}} />\\n    <ContentEditor::Panels::Content::FollowUpActions::LeadQualification  @showDelete={{not @isDisabled}} @followUpActions={{@followUpActions}} />\\n    <ContentEditor::Panels::Content::FollowUpActions::AnswerBot  @showDelete={{not @isDisabled}} @followUpActions={{@followUpActions}} />\\n    <div>\\n      {{#unless this.shouldHideDropdownOpener}}\\n        <IcDropdownOpener\\n          @groupList={{array (hash items=(array this.followUpReplyFollowUpAction\\n                                                this.leadQualificationFollowUpAction\\n                                                this.answerBotFollowUpAction))}}\\n          @onSelectItem={{this.selectFollowUpAction}}\\n        >\\n          <a class=\\\"btn__tertiary\\\" data-test-follow-up-actions-add-action>\\n            {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add follow up action\\n          </a>\\n        </IcDropdownOpener>\\n      {{/unless}}\\n    </div>\\n  </div>\\n</div>\\n\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/follow-up-actions/editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/follow-up-actions/editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class Editor extends Component {\n  @service appService;\n  @service store;\n\n  @tracked operatorQualificationPanelIsEnabled = false;\n  @tracked isReplyPopUpOpen = false;\n\n  constructor() {\n    super(...arguments);\n    this.fetchWhetherLeadQualificationPanelEnabled.perform();\n  }\n\n  @task({ drop: true })\n  *fetchWhetherLeadQualificationPanelEnabled() {\n    let settings = yield this.store.findRecord('operator-settings/task-bots', this.app.get('id'));\n    this.operatorQualificationPanelIsEnabled = settings.get('qualifyLeads.enabled');\n  }\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get shouldHideDropdownOpener() {\n    return (\n      (this.args.isEmailCollectorReply && this.args.followUpActions.followUpReply) ||\n      this.args.isDisabled\n    );\n  }\n\n  get answerBotFollowUpAction() {\n    return {\n      text: `Let Resolution Bot respond`,\n      icon: 'operator',\n      value: 'answer-bot',\n      isDisabled:\n        this.args.isEmailCollectorReply ||\n        this.args.followUpActions.answerBotEnabled ||\n        !this.app.hasAnswerBot,\n      feature: 'answer_workflows',\n      component: 'content-editor/panels/content/follow-up-actions/dropdown-item',\n    };\n  }\n\n  get followUpReplyFollowUpAction() {\n    return {\n      text: 'Send auto reply',\n      icon: 'chat-bubble',\n      value: 'send-follow-up-reply',\n      isDisabled: !this.args.isEmailCollectorReply || this.args.followUpActions.followUpReply,\n    };\n  }\n\n  get leadQualificationFollowUpAction() {\n    return {\n      text: \"Trigger Operator's qualification task bot\",\n      icon: 'operator',\n      value: 'lead-qualification',\n      isDisabled:\n        this.args.isEmailCollectorReply ||\n        this.args.followUpActions.leadQualificationEnabled ||\n        !this.app.canUseOperatorQualifications ||\n        !this.operatorQualificationPanelIsEnabled,\n      feature: 'operator_qualification',\n      component: 'content-editor/panels/content/follow-up-actions/dropdown-item',\n      operatorQualificationPanelIsDisabled: !this.operatorQualificationPanelIsEnabled,\n      isEmailCollectorReply: this.args.isEmailCollectorReply,\n    };\n  }\n\n  @action\n  selectFollowUpAction(followUpAction) {\n    switch (followUpAction) {\n      case 'answer-bot':\n        this.args.followUpActions.answerBotEnabled = true;\n        break;\n      case 'send-follow-up-reply':\n        this.args.followUpActions.followUpReply = 'Thanks';\n        this.isReplyPopUpOpen = true;\n        break;\n      case 'lead-qualification':\n        this.args.followUpActions.leadQualificationEnabled = true;\n        break;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<FilterBlock::FilterBlockPopoverHousing\\n  @completeEditingFilterBlock={{this.completeEditingFilterBlock}}\\n>\\n  <Form as |form|>\\n    <form.Item as |item|>\\n      <item.Textarea\\n        @value={{@componentAttrs.reply}}\\n        @rows=\\\"3\\\"\\n        @placeholder=\\\"Your follow up message...\\\"\\n        {{on \\\"input\\\" this.onInput}}\\n        {{auto-focus-element}}\\n      />\\n    </form.Item>\\n  </Form>\\n</FilterBlock::FilterBlockPopoverHousing>\\n\\n<div class=\\\"u__centered-text-block layout__box filter-block__popover__done\\\">\\n  <a class=\\\"btn__tertiary\\\" data-test-filter-block-done {{on \\\"click\\\" this.hideDropdownOverlay}}>Done</a>\\n</div>\\n\", {\"contents\":\"<FilterBlock::FilterBlockPopoverHousing\\n  @completeEditingFilterBlock={{this.completeEditingFilterBlock}}\\n>\\n  <Form as |form|>\\n    <form.Item as |item|>\\n      <item.Textarea\\n        @value={{@componentAttrs.reply}}\\n        @rows=\\\"3\\\"\\n        @placeholder=\\\"Your follow up message...\\\"\\n        {{on \\\"input\\\" this.onInput}}\\n        {{auto-focus-element}}\\n      />\\n    </form.Item>\\n  </Form>\\n</FilterBlock::FilterBlockPopoverHousing>\\n\\n<div class=\\\"u__centered-text-block layout__box filter-block__popover__done\\\">\\n  <a class=\\\"btn__tertiary\\\" data-test-filter-block-done {{on \\\"click\\\" this.hideDropdownOverlay}}>Done</a>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/follow-up-actions/follow-up-reply-overlay.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/follow-up-actions/follow-up-reply-overlay.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseFilterBlockPopover from 'predicates/components/filter-block/base-filter-block-popover';\nimport { action } from '@ember/object';\n\nexport default class FollowUpReplyOverlay extends BaseFilterBlockPopover {\n  @action\n  onInput(event) {\n    if (event.target.value) {\n      this.componentAttrs.onChange(event.target.value);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @followUpActions.followUpReply}}\\n  <FilterBlock::FilterBlockEditor\\n    @name=\\\"Send auto reply\\\"\\n    @details={{concat ' \\\"' @followUpActions.followUpReply '\\\"'}}\\n    @icon=\\\"chat-bubble\\\"\\n    @isOneLine={{true}}\\n    @justAdded={{@isReplyPopUpOpen}}\\n    @appearance=\\\"action\\\"\\n    @isDisabled={{@isDisabled}}\\n    @attributeDescription=\\\"Send a custom reply to customers who provide their email after reading your message.\\\"\\n    @isInvalid={{not @followUpActions.followUpReply}}\\n    @onDelete={{set @followUpActions.followUpReply null}}\\n    @overlayComponent=\\\"content-editor/panels/content/follow-up-actions/follow-up-reply-overlay\\\"\\n    @componentAttrs={{hash reply=@followUpActions.followUpReply onChange=(fn (set @followUpActions.followUpReply))}}\\n    data-test-follow-up-actions-follow-up-reply\\n  />\\n{{/if}}\", {\"contents\":\"{{#if @followUpActions.followUpReply}}\\n  <FilterBlock::FilterBlockEditor\\n    @name=\\\"Send auto reply\\\"\\n    @details={{concat ' \\\"' @followUpActions.followUpReply '\\\"'}}\\n    @icon=\\\"chat-bubble\\\"\\n    @isOneLine={{true}}\\n    @justAdded={{@isReplyPopUpOpen}}\\n    @appearance=\\\"action\\\"\\n    @isDisabled={{@isDisabled}}\\n    @attributeDescription=\\\"Send a custom reply to customers who provide their email after reading your message.\\\"\\n    @isInvalid={{not @followUpActions.followUpReply}}\\n    @onDelete={{set @followUpActions.followUpReply null}}\\n    @overlayComponent=\\\"content-editor/panels/content/follow-up-actions/follow-up-reply-overlay\\\"\\n    @componentAttrs={{hash reply=@followUpActions.followUpReply onChange=(fn (set @followUpActions.followUpReply))}}\\n    data-test-follow-up-actions-follow-up-reply\\n  />\\n{{/if}}\",\"moduleName\":\"embercom/components/content-editor/panels/content/follow-up-actions/follow-up-reply.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/follow-up-actions/follow-up-reply.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"mr-4\\\" data-test-follow-up-action-if-block>\\n  <div class=\\\"flex items-start\\\">\\n    <div class=\\\"flex-auto min-w-0 if-this-then-that__main twk__message__editor__content__follow-up-actions__if-this-then-that o__one-line u__one-truncated-line\\\">\\n      {{#if @isEmailCollectorReply}}\\n        If email is collected\\n      {{else}}\\n        If customer replies\\n      {{/if}}\\n    </div>\\n    <div class=\\\"if-this-then-that__caret\\\">\\n      <svg xmlns=\\\"http://www.w3.org/2000/svg\\\" height=\\\"38\\\" viewBox=\\\"0 0 8 38\\\">\\n        <path class=\\\"if-this-then-that__caret__whiteout\\\"\\n              d=\\\"M0 0h.3c.4 0 .8.3.9.7l6.7 18c.1.2.1.5 0 .7l-6.7 18c-.1.3-.5.6-.9.6H0V0z\\\"/>\\n        <path class=\\\"if-this-then-that__caret__stroke\\\"\\n              d=\\\"M.3 38H0v-1h.3L7 19 .3 1H0V0h.3c.4 0 .8.3.9.7l6.7 18c.1.2.1.5 0 .7l-6.7 18c-.1.3-.5.6-.9.6z\\\"/>\\n      </svg>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"mr-4\\\" data-test-follow-up-action-if-block>\\n  <div class=\\\"flex items-start\\\">\\n    <div class=\\\"flex-auto min-w-0 if-this-then-that__main twk__message__editor__content__follow-up-actions__if-this-then-that o__one-line u__one-truncated-line\\\">\\n      {{#if @isEmailCollectorReply}}\\n        If email is collected\\n      {{else}}\\n        If customer replies\\n      {{/if}}\\n    </div>\\n    <div class=\\\"if-this-then-that__caret\\\">\\n      <svg xmlns=\\\"http://www.w3.org/2000/svg\\\" height=\\\"38\\\" viewBox=\\\"0 0 8 38\\\">\\n        <path class=\\\"if-this-then-that__caret__whiteout\\\"\\n              d=\\\"M0 0h.3c.4 0 .8.3.9.7l6.7 18c.1.2.1.5 0 .7l-6.7 18c-.1.3-.5.6-.9.6H0V0z\\\"/>\\n        <path class=\\\"if-this-then-that__caret__stroke\\\"\\n              d=\\\"M.3 38H0v-1h.3L7 19 .3 1H0V0h.3c.4 0 .8.3.9.7l6.7 18c.1.2.1.5 0 .7l-6.7 18c-.1.3-.5.6-.9.6z\\\"/>\\n      </svg>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/follow-up-actions/if-block.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/follow-up-actions/if-block.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @followUpActions.leadQualificationEnabled}}\\n  <div class=\\\"content-editor__follow-up-actions__lead-qualification-container\\\">\\n    <IcFilterBlock\\n      @name=\\\"Trigger Operator's qualification task bot\\\"\\n      @icon=\\\"operator\\\"\\n      @isOneLine={{true}}\\n      @showDelete={{@showDelete}}\\n      @appearance=\\\"action\\\"\\n      @onDelete={{fn (set @followUpActions.leadQualificationEnabled (not @followUpActions.leadQualificationEnabled))}}\\n      data-test-follow-up-actions-lead-qualification\\n    >\\n      <IcTooltipIcon\\n        class='pr-6'\\n        @isInteractive={{true}}\\n        data-test-operator-lead-qualification-tooltip-icon\\n      >\\n        <div data-test-tooltip-text>\\n          <p>\\n            This task bot only triggers for leads.\\n          </p>\\n          <p>\\n            You can control this task bot in\\n            <a href=\\\"{{href-to 'apps.app.operator.task-bots.leads' (query-params section='qualify-leads')}}\\\"\\n              data-test-operator-lead-qualification-link>Operator settings.</a>\\n          </p>\\n        </div>\\n      </IcTooltipIcon>\\n    </IcFilterBlock>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if @followUpActions.leadQualificationEnabled}}\\n  <div class=\\\"content-editor__follow-up-actions__lead-qualification-container\\\">\\n    <IcFilterBlock\\n      @name=\\\"Trigger Operator's qualification task bot\\\"\\n      @icon=\\\"operator\\\"\\n      @isOneLine={{true}}\\n      @showDelete={{@showDelete}}\\n      @appearance=\\\"action\\\"\\n      @onDelete={{fn (set @followUpActions.leadQualificationEnabled (not @followUpActions.leadQualificationEnabled))}}\\n      data-test-follow-up-actions-lead-qualification\\n    >\\n      <IcTooltipIcon\\n        class='pr-6'\\n        @isInteractive={{true}}\\n        data-test-operator-lead-qualification-tooltip-icon\\n      >\\n        <div data-test-tooltip-text>\\n          <p>\\n            This task bot only triggers for leads.\\n          </p>\\n          <p>\\n            You can control this task bot in\\n            <a href=\\\"{{href-to 'apps.app.operator.task-bots.leads' (query-params section='qualify-leads')}}\\\"\\n              data-test-operator-lead-qualification-link>Operator settings.</a>\\n          </p>\\n        </div>\\n      </IcTooltipIcon>\\n    </IcFilterBlock>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/follow-up-actions/lead-qualification.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/follow-up-actions/lead-qualification.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (service 'contentEditorService') as |contentService|}}\\n  <div class=\\\"flex flex-col\\\" data-test-content-editor-custom-bot-content-body>\\n    <CustomBots::Editor\\n      @customBot={{contentService.activeObject}}\\n      @shouldShowValidations={{or contentService.ruleset.isLive contentService.hasPreviouslyOpenedCurrentPanel}}\\n      @isFullscreen={{@isFullscreen}}\\n    />\\n  </div>\\n{{/let}}\\n\", {\"contents\":\"{{#let (service 'contentEditorService') as |contentService|}}\\n  <div class=\\\"flex flex-col\\\" data-test-content-editor-custom-bot-content-body>\\n    <CustomBots::Editor\\n      @customBot={{contentService.activeObject}}\\n      @shouldShowValidations={{or contentService.ruleset.isLive contentService.hasPreviouslyOpenedCurrentPanel}}\\n      @isFullscreen={{@isFullscreen}}\\n    />\\n  </div>\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/inbound-custom-bot/body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/inbound-custom-bot/body.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<AppFramework::MessengerApps::Inserter::AppConfigurator\\n  @messengerApps={{@messengerApps}}\\n  @initializeType=\\\"card\\\"\\n  @contextualData={{this.contextualData}}\\n  @insertAction={{this.insertMessengerCard}}\\n  @inserterTitle={{@inserterTitle}}\\n  @capability=\\\"messages\\\"\\n  {{did-insert this.dismissNotificationAndTrackEvent}}\\n/>\\n\", {\"contents\":\"<AppFramework::MessengerApps::Inserter::AppConfigurator\\n  @messengerApps={{@messengerApps}}\\n  @initializeType=\\\"card\\\"\\n  @contextualData={{this.contextualData}}\\n  @insertAction={{this.insertMessengerCard}}\\n  @inserterTitle={{@inserterTitle}}\\n  @capability=\\\"messages\\\"\\n  {{did-insert this.dismissNotificationAndTrackEvent}}\\n/>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/inserters/app.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/inserters/app.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { underscore } from '@ember/string';\nimport { objectNames } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class ContentEditorAppInserter extends Component {\n  @service intercomEventService;\n  @service appstoreService;\n\n  get contextualData() {\n    return {\n      object_type: this.args.objectType,\n      object_id: this.args.objectId,\n      location: 'message',\n    };\n  }\n\n  get objectName() {\n    return objectNames[this.args.objectType];\n  }\n\n  @action\n  dismissNotificationAndTrackEvent() {\n    this.appstoreService.dismissAppInstallNotifications.perform('messages');\n    let analyticsEvent = {\n      action: 'opened',\n      object: 'messenger_app_inserter',\n      object_type: this.objectName,\n    };\n    analyticsEvent[`${underscore(this.objectName)}_id`] = this.args.objectId;\n    this.intercomEventService.trackAnalyticsEvent(analyticsEvent);\n  }\n\n  @action\n  insertMessengerCard(cardJSON) {\n    this.args.inserterApi.createBlock('messengerCard', cardJSON);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Paywall @featureKey=\\\"dynamic_account_messages\\\" as |paywall|>\\n  <span class=\\\"mr-2\\\">\\n    {{ic-interface-icon \\\"owner\\\" solo=true}}\\n  </span>\\n  Owner\\n  <paywall.Badge />\\n</Paywall>\\n\", {\"contents\":\"<Paywall @featureKey=\\\"dynamic_account_messages\\\" as |paywall|>\\n  <span class=\\\"mr-2\\\">\\n    {{ic-interface-icon \\\"owner\\\" solo=true}}\\n  </span>\\n  Owner\\n  <paywall.Badge />\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/owner-assignee-dropdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/owner-assignee-dropdown.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::Content::StandardBody>\\n  <div class=\\\"flex flex-col\\\" data-test-content-editor-post-content-body>\\n    <Post::Editor\\n      @post={{service 'contentEditorService.activeObject'}}\\n      @isEditing={{true}}\\n    />\\n  </div>\\n</ContentEditor::Panels::Content::StandardBody>\", {\"contents\":\"<ContentEditor::Panels::Content::StandardBody>\\n  <div class=\\\"flex flex-col\\\" data-test-content-editor-post-content-body>\\n    <Post::Editor\\n      @post={{service 'contentEditorService.activeObject'}}\\n      @isEditing={{true}}\\n    />\\n  </div>\\n</ContentEditor::Panels::Content::StandardBody>\",\"moduleName\":\"embercom/components/content-editor/panels/content/post/body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/post/body.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::Content::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n as |header|>\\n  <div data-test-content-editor-post-header-summary>\\n    {{#if (and @config.hasBeenOpened @config.isComplete)}}\\n      <Post::Editor @post={{service 'contentEditorService.activeObject'}} @isEditing={{false}} />\\n    {{/if}}\\n  </div>\\n</ContentEditor::Panels::Content::StandardHeader>\\n\", {\"contents\":\"<ContentEditor::Panels::Content::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n as |header|>\\n  <div data-test-content-editor-post-header-summary>\\n    {{#if (and @config.hasBeenOpened @config.isComplete)}}\\n      <Post::Editor @post={{service 'contentEditorService.activeObject'}} @isEditing={{false}} />\\n    {{/if}}\\n  </div>\\n</ContentEditor::Panels::Content::StandardHeader>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/post/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/post/header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col items-center\\\" data-test-preferred-devices-preview-switcher-container {{did-update this.updatePreferredDeviceOptions @preferredDevices}}>\\n  {{#if this.shouldShowDeviceSwitcher}}\\n    <div class=\\\"flex flex-col items-center mt-6\\\" data-test-content-editor-device-switcher>\\n      <IcRadioButtonGroup\\n        @selectedValue={{this.selectedDevice}}\\n        @onSelectionChange={{@updateCurrentDevice}} as |group|\\n      >\\n        {{#each this.preferredDeviceSwitcherOptions as |option|}}\\n          <group.button \\n            @icon={{option.icon}} \\n            @value={{option.device}} \\n            data-test-device-switcher={{option.device}}/>\\n        {{/each}}\\n      </IcRadioButtonGroup>\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col items-center\\\" data-test-preferred-devices-preview-switcher-container {{did-update this.updatePreferredDeviceOptions @preferredDevices}}>\\n  {{#if this.shouldShowDeviceSwitcher}}\\n    <div class=\\\"flex flex-col items-center mt-6\\\" data-test-content-editor-device-switcher>\\n      <IcRadioButtonGroup\\n        @selectedValue={{this.selectedDevice}}\\n        @onSelectionChange={{@updateCurrentDevice}} as |group|\\n      >\\n        {{#each this.preferredDeviceSwitcherOptions as |option|}}\\n          <group.button \\n            @icon={{option.icon}} \\n            @value={{option.device}} \\n            data-test-device-switcher={{option.device}}/>\\n        {{/each}}\\n      </IcRadioButtonGroup>\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/preferred-devices/preview-switcher.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/preferred-devices/preview-switcher.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { preferredDevices } from 'embercom/models/data/outbound/constants';\n\nexport default class PreviewSwitcher extends Component {\n  get shouldShowDeviceSwitcher() {\n    return this.args.preferredDevices.length > 1;\n  }\n\n  get preferredDeviceSwitcherOptions() {\n    let selectedPreferredDevices = this.args.preferredDevices;\n    let availableOptions = selectedPreferredDevices.map(option => {\n      switch (option) {\n        case preferredDevices.web:\n          return { device: 'web', icon: 'computer' };\n        case preferredDevices.ios:\n          return { device: 'ios', icon: 'apple' };\n        case preferredDevices.android:\n          return { device: 'android', icon: 'android' };\n      }\n    });\n    return availableOptions;\n  }\n\n  get selectedDevice() {\n    let selectedPreferredDevice;\n    let currentDevice = this.args.currentDevice;\n    if (\n      preferredDevices[currentDevice] &&\n      this.args.preferredDevices.includes(preferredDevices[currentDevice])\n    ) {\n      selectedPreferredDevice = preferredDevices[currentDevice];\n    } else {\n      selectedPreferredDevice = this.args.preferredDevices.firstObject;\n    }\n    switch (selectedPreferredDevice) {\n      case preferredDevices.ios:\n        return 'ios';\n      case preferredDevices.android:\n        return 'android';\n      default:\n        return 'web';\n    }\n  }\n\n  @action\n  updatePreferredDeviceOptions() {\n    this.args.updateCurrentDevice(this.selectedDevice);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.appHasMultiplePlatforms}}\\n  <div class=\\\"flex flex-col gap-1\\\">\\n    <Text @styling=\\\"label\\\" data-test-content-editor-label>{{@label}}</Text>\\n    <IcMultiselect\\n      @label={{this.currentSelectionLabel}}\\n      @items={{this.items}}\\n      @isDisabled={{this.isDisabled}}\\n      @onSelectionChange={{set this.newlySelected}}\\n      @onClose={{this.updatePreferedDevice}}\\n      @mode='block'\\n      data-intercom-target=\\\"Preferred devices switcher\\\"\\n      data-test-preferred-devices-switcher-content-editor={{true}}\\n    />\\n  </div>\\n{{/if}}\", {\"contents\":\"{{#if this.appHasMultiplePlatforms}}\\n  <div class=\\\"flex flex-col gap-1\\\">\\n    <Text @styling=\\\"label\\\" data-test-content-editor-label>{{@label}}</Text>\\n    <IcMultiselect\\n      @label={{this.currentSelectionLabel}}\\n      @items={{this.items}}\\n      @isDisabled={{this.isDisabled}}\\n      @onSelectionChange={{set this.newlySelected}}\\n      @onClose={{this.updatePreferedDevice}}\\n      @mode='block'\\n      data-intercom-target=\\\"Preferred devices switcher\\\"\\n      data-test-preferred-devices-switcher-content-editor={{true}}\\n    />\\n  </div>\\n{{/if}}\",\"moduleName\":\"embercom/components/content-editor/panels/content/preferred-devices/switcher.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/preferred-devices/switcher.hbs\"}});\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { isPresent } from '@ember/utils';\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport toSentence from 'embercom/lib/to-sentence';\nimport { preferredDevices } from 'embercom/models/data/outbound/constants';\n\nexport default class Switcher extends Component {\n  _allPossibleItems = [\n    {\n      text: 'Web',\n      value: preferredDevices.web,\n    },\n    {\n      text: 'iOS',\n      value: preferredDevices.ios,\n    },\n    {\n      text: 'Android',\n      value: preferredDevices.android,\n    },\n  ];\n\n  @service appService;\n  @tracked currentSelectionLabel = this._updateCurrentSelectionDescription();\n  @tracked newlySelected = this._selected;\n\n  previouslySelectedValue = this.args.content.preferredDevices;\n\n  get _app() {\n    return this.appService.app;\n  }\n\n  get _selected() {\n    return this.args.content?.preferredDevices || [0];\n  }\n\n  get items() {\n    let items = this._allPossibleItems;\n    if (this.args.optionsToHide) {\n      items = items.filter(item => !this.args.optionsToHide.includes(item.value));\n    }\n    items = items.filter(\n      item =>\n        item.value === preferredDevices.web ||\n        (item.value === preferredDevices.android && this._app.hasAndroidSdk) ||\n        (item.value === preferredDevices.ios && this._app.hasIOSSdk),\n    );\n    items = items.map(item => ({\n      ...item,\n      isSelected: this._selected ? this._selected.includes(item.value) : false,\n    }));\n    return items;\n  }\n\n  get appHasMultiplePlatforms() {\n    return this._app.hasAndroidSdk || this._app.hasIOSSdk;\n  }\n  get isDisabled() {\n    if (this.args.isDisabled) {\n      return true;\n    }\n\n    if (this.items.length === 1 && this._selected?.length === 1) {\n      return this.items.firstObject.value === this._selected.firstObject;\n    }\n\n    return false;\n  }\n\n  @action\n  updatePreferedDevice() {\n    if (this.isDestroying) {\n      return;\n    }\n    let previousValue = this._selected;\n    // Set to empty array first to force a recalculation of the items getter to sync selected state.\n    this._updateObjects([]);\n    if (isPresent(this.newlySelected)) {\n      this._updateObjects(this.newlySelected);\n    } else {\n      // You must have at least one preferred device so we ignore the newly selected value if\n      // the user has deselected all of the options.\n      this._updateObjects(previousValue);\n    }\n    this.currentSelectionLabel = this._updateCurrentSelectionDescription();\n  }\n\n  _updateCurrentSelectionDescription() {\n    if (isPresent(this._selected)) {\n      let selected = this._selected;\n      return toSentence(\n        selected.map(value => this._allPossibleItems[value].text),\n        this.args.conjuction || 'and',\n      );\n    } else {\n      return 'Preferred Devices';\n    }\n  }\n  _preferredDevicesIsWebOnly() {\n    return !(\n      this.args.content.preferredDevices.includes(preferredDevices.ios) ||\n      this.args.content.preferredDevices.includes(preferredDevices.android)\n    );\n  }\n\n  _updateObjects(value) {\n    this.args.content.preferredDevices = value;\n    this.previouslySelectedValue = value;\n    if (this._preferredDevicesIsWebOnly()) {\n      this.args.content.sendPushNotification = false;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-row gap-3\\\" data-test-push-notificatin-toggle-container>\\n  <IcOnOffToggle @isOn={{@sendPushNotification}} @onClick={{action @togglePushNotification}} data-test-push-notificatin-toggle/>\\n  <Text @styling=\\\"label\\\" data-test-push-notificatin-toggle-label>Add push notification on mobile</Text>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-row gap-3\\\" data-test-push-notificatin-toggle-container>\\n  <IcOnOffToggle @isOn={{@sendPushNotification}} @onClick={{action @togglePushNotification}} data-test-push-notificatin-toggle/>\\n  <Text @styling=\\\"label\\\" data-test-push-notificatin-toggle-label>Add push notification on mobile</Text>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/push-notification-toggle.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/push-notification-toggle.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::Content::StandardBody>\\n  <div class=\\\"flex flex-col\\\" data-test-content-editor-push-content-body>\\n    <MobilePush::Editor\\n      @push={{service 'contentEditorService.activeObject'}}\\n      @isEditing={{true}}\\n    />\\n  </div>\\n</ContentEditor::Panels::Content::StandardBody>\\n\\n\", {\"contents\":\"<ContentEditor::Panels::Content::StandardBody>\\n  <div class=\\\"flex flex-col\\\" data-test-content-editor-push-content-body>\\n    <MobilePush::Editor\\n      @push={{service 'contentEditorService.activeObject'}}\\n      @isEditing={{true}}\\n    />\\n  </div>\\n</ContentEditor::Panels::Content::StandardBody>\\n\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/push/body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/push/body.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::Content::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n as |header|>\\n  <div data-test-content-editor-push-header-summary>\\n    {{#if (and @config.hasBeenOpened @config.isComplete)}}\\n      <MobilePush::Editor\\n        @push={{service 'contentEditorService.configRulesetLink.object'}}\\n        @hideDeviceSwitcher={{true}}\\n        @isEditing={{false}}\\n      />\\n    {{/if}}\\n  </div>\\n</ContentEditor::Panels::Content::StandardHeader>\", {\"contents\":\"<ContentEditor::Panels::Content::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n as |header|>\\n  <div data-test-content-editor-push-header-summary>\\n    {{#if (and @config.hasBeenOpened @config.isComplete)}}\\n      <MobilePush::Editor\\n        @push={{service 'contentEditorService.configRulesetLink.object'}}\\n        @hideDeviceSwitcher={{true}}\\n        @isEditing={{false}}\\n      />\\n    {{/if}}\\n  </div>\\n</ContentEditor::Panels::Content::StandardHeader>\",\"moduleName\":\"embercom/components/content-editor/panels/content/push/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/push/header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Popover\\n  @placement=\\\"top\\\"\\n  @fallbackPlacements={{array 'bottom' 'right' 'left'}}\\n  @showArrow={{true}}\\n  @isDisabled={{@isDisabled}}\\n  @preventOverflow={{true}}\\n  class=\\\"inline\\\"\\n  ...attributes\\n  as |popover|\\n>\\n  <popover.Opener>\\n    {{yield}}\\n  </popover.Opener>\\n  <popover.Content @fullBleed={{true}} data-reaction-picker-popover>\\n    <div class=\\\"emoji__popover u__relative\\\">\\n      <div class=\\\"reaction-picker-popover__mask reaction-picker-popover__mask__top\\\"></div>\\n      <div class=\\\"reaction-picker-popover__panel\\\">\\n        <div class=\\\"reaction-picker-popover__header layout__box o__has-columns\\\">\\n          <div class=\\\"t__light-text layout__box o__flexes-to-1\\\">\\n            <div class=\\\"t__light-text u__left\\\">Frequently used</div>\\n            {{#if @canDelete}}\\n              <span\\n                class=\\\"reaction-picker-popover__remove-emoji t__light-text\\\"\\n                data-test-remove-emoji\\n                {{on 'click' (queue (fn @deleteReaction this.reactionIndex) popover.hide)}}\\n              >\\n                Remove emoji\\n              </span>\\n            {{/if}}\\n          </div>\\n        </div>\\n        <div class=\\\"reaction-picker-popover__icons\\\">\\n          {{#each this.defaultAndFavouriteEmoji as |emoji|}}\\n            <span\\n              class=\\\"reaction-picker-popover__icon\\\"\\n              title=\\\"{{emoji.title}}\\\"\\n              data-test-reaction-picker-item={{emoji.identifier}}\\n              {{on 'click' (queue (fn this.selectEmoji emoji.identifier) popover.hide)}}\\n            >\\n              {{emoji.display}}\\n            </span>\\n          {{/each}}\\n        </div>\\n\\n        {{#each this.groups as |group|}}\\n          <div class=\\\"reaction-picker-popover__header\\\">\\n            <div class=\\\"t__light-text\\\">{{group.name}}</div>\\n          </div>\\n          <div class='reaction-picker-popover__icons'>\\n            {{#each group.emojis as |emoji|}}\\n              <span\\n                class=\\\"reaction-picker-popover__icon\\\"\\n                title=\\\"{{emoji.title}}\\\"\\n                data-test-reaction-picker-item={{emoji.identifier}}\\n                {{on 'click' (queue (fn this.selectEmoji emoji.identifier) popover.hide)}}\\n              >\\n                {{emoji.display}}\\n              </span>\\n            {{/each}}\\n          </div>\\n        {{/each}}\\n      </div>\\n      <div class=\\\"reaction-picker-popover__mask reaction-picker-popover__mask__bottom\\\"></div>\\n    </div>\\n  </popover.Content>\\n</Popover>\\n\", {\"contents\":\"<Popover\\n  @placement=\\\"top\\\"\\n  @fallbackPlacements={{array 'bottom' 'right' 'left'}}\\n  @showArrow={{true}}\\n  @isDisabled={{@isDisabled}}\\n  @preventOverflow={{true}}\\n  class=\\\"inline\\\"\\n  ...attributes\\n  as |popover|\\n>\\n  <popover.Opener>\\n    {{yield}}\\n  </popover.Opener>\\n  <popover.Content @fullBleed={{true}} data-reaction-picker-popover>\\n    <div class=\\\"emoji__popover u__relative\\\">\\n      <div class=\\\"reaction-picker-popover__mask reaction-picker-popover__mask__top\\\"></div>\\n      <div class=\\\"reaction-picker-popover__panel\\\">\\n        <div class=\\\"reaction-picker-popover__header layout__box o__has-columns\\\">\\n          <div class=\\\"t__light-text layout__box o__flexes-to-1\\\">\\n            <div class=\\\"t__light-text u__left\\\">Frequently used</div>\\n            {{#if @canDelete}}\\n              <span\\n                class=\\\"reaction-picker-popover__remove-emoji t__light-text\\\"\\n                data-test-remove-emoji\\n                {{on 'click' (queue (fn @deleteReaction this.reactionIndex) popover.hide)}}\\n              >\\n                Remove emoji\\n              </span>\\n            {{/if}}\\n          </div>\\n        </div>\\n        <div class=\\\"reaction-picker-popover__icons\\\">\\n          {{#each this.defaultAndFavouriteEmoji as |emoji|}}\\n            <span\\n              class=\\\"reaction-picker-popover__icon\\\"\\n              title=\\\"{{emoji.title}}\\\"\\n              data-test-reaction-picker-item={{emoji.identifier}}\\n              {{on 'click' (queue (fn this.selectEmoji emoji.identifier) popover.hide)}}\\n            >\\n              {{emoji.display}}\\n            </span>\\n          {{/each}}\\n        </div>\\n\\n        {{#each this.groups as |group|}}\\n          <div class=\\\"reaction-picker-popover__header\\\">\\n            <div class=\\\"t__light-text\\\">{{group.name}}</div>\\n          </div>\\n          <div class='reaction-picker-popover__icons'>\\n            {{#each group.emojis as |emoji|}}\\n              <span\\n                class=\\\"reaction-picker-popover__icon\\\"\\n                title=\\\"{{emoji.title}}\\\"\\n                data-test-reaction-picker-item={{emoji.identifier}}\\n                {{on 'click' (queue (fn this.selectEmoji emoji.identifier) popover.hide)}}\\n              >\\n                {{emoji.display}}\\n              </span>\\n            {{/each}}\\n          </div>\\n        {{/each}}\\n      </div>\\n      <div class=\\\"reaction-picker-popover__mask reaction-picker-popover__mask__bottom\\\"></div>\\n    </div>\\n  </popover.Content>\\n</Popover>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/reactions/picker-opener.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/reactions/picker-opener.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { htmlSafe } from '@ember/string';\nimport { computed, action } from '@ember/object';\nimport { union, map } from '@ember/object/computed';\nimport { A } from '@ember/array';\nimport intermoji from '@intercom/intermoji';\nimport EmojiFavourites from 'embercom/components/mixins/emoji-favourites';\n\nexport default Component.extend(EmojiFavourites, {\n  tagName: '',\n\n  emojiSize: 16,\n  emojiImageClass: 'reaction-picker-popover__image',\n\n  reactionIndex: undefined,\n\n  defaultEmoji: A(['thumbs_up', '-1', 'sob', 'confused', 'neutral_face', 'blush', 'heart_eyes']),\n  favouriteEmojiStorageKey: 'favouriteReactions',\n  defaultAndFavouriteEmojiIdentifiers: union('favouriteEmoji', 'defaultEmoji'),\n  defaultAndFavouriteEmoji: map('defaultAndFavouriteEmojiIdentifiers', function(identifier) {\n    return this._generateEmoji(identifier, intermoji.unicodeFromIdentifier(identifier));\n  }),\n\n  groups: computed(function() {\n    let representatives = intermoji.getGroupRepresentatives();\n    return intermoji.prettyEmoticonsUnicodeGroups().map((unicodeEmoji, index) => ({\n      name: representatives[index][1],\n      emojis: unicodeEmoji.reduce((acc, unicodeEmoticon) => {\n        if (intermoji.isEmojiBaseUnicode(unicodeEmoticon)) {\n          return [\n            ...acc,\n            this._generateEmoji(intermoji.identifierFromUnicode(unicodeEmoticon), unicodeEmoticon),\n          ];\n        } else {\n          return acc;\n        }\n      }, []),\n    }));\n  }),\n\n  _generateEmoji(identifier, unicodeEmoticon) {\n    return {\n      display: this._getSafeDisplayableEmoji(unicodeEmoticon),\n      identifier,\n      title: `:${identifier}:`,\n    };\n  },\n\n  _getSafeDisplayableEmoji(unicodeEmoticon) {\n    let emoji = this.hasNativeSupport\n      ? unicodeEmoticon\n      : intermoji.fallbackImage(this.emojiSize, unicodeEmoticon, this.emojiImageClass);\n    return htmlSafe(emoji);\n  },\n\n  hasNativeSupport: computed(function() {\n    return intermoji.hasNativeSupport(document);\n  }),\n\n  selectEmoji: action(function(emojiIdentifier) {\n    let updatedReaction = {\n      index: this.reactionIndex,\n      unicodeEmoticon: intermoji.unicodeFromIdentifier(emojiIdentifier),\n    };\n    this.updateReaction(updatedReaction);\n    this.recordEmojiSelection(emojiIdentifier);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"intercom-reaction-picker o__{{@deviceType}} o__{{@contentType}}\\\" data-test-content-reaction-picker>\\n  {{#each this.reactions as |reaction|}}\\n    <ContentEditor::Panels::Content::Reactions::PickerOpener\\n      @reactionIndex={{reaction.index}}\\n      @isDisabled={{not @isEditing}}\\n      @canDelete={{gt this.reactions.length 2}}\\n      @updateReaction={{this.updateReaction}}\\n      @deleteReaction={{this.deleteReaction}}\\n    >\\n      <span\\n        data-test-reaction-index={{reaction.index}}\\n        class=\\\"intercom-reaction {{if @isEditing \\\"o__editable\\\"}} o__{{@deviceType}}\\\"\\n      >\\n        {{reaction.display}}\\n      </span>\\n    </ContentEditor::Panels::Content::Reactions::PickerOpener>\\n  {{/each}}\\n  \\n  {{#if (and (lt this.reactions.length 5) @isEditing)}}\\n    <ContentEditor::Panels::Content::Reactions::PickerOpener\\n      @isDisabled={{false}}\\n      @canDelete={{false}}\\n      @deleteReaction={{this.deleteReaction}}\\n      @updateReaction={{this.updateReaction}}\\n      class=\\\"intercom-reaction-picker-add-reaction\\\"\\n      data-test-add-reaction={{true}}\\n    >\\n      <span class=\\\"intercom-reaction o__insert o__editable o__{{@deviceType}} o__{{@contentType}}\\\">\\n        <span class=\\\"intercom-reaction-picker-plus\\\">\\n          {{ic-interface-icon \\\"new\\\" size=24 color=\\\"gray\\\" solo=true}}\\n        </span>\\n      </span>\\n    </ContentEditor::Panels::Content::Reactions::PickerOpener>\\n  {{/if}}\\n</div>\", {\"contents\":\"<div class=\\\"intercom-reaction-picker o__{{@deviceType}} o__{{@contentType}}\\\" data-test-content-reaction-picker>\\n  {{#each this.reactions as |reaction|}}\\n    <ContentEditor::Panels::Content::Reactions::PickerOpener\\n      @reactionIndex={{reaction.index}}\\n      @isDisabled={{not @isEditing}}\\n      @canDelete={{gt this.reactions.length 2}}\\n      @updateReaction={{this.updateReaction}}\\n      @deleteReaction={{this.deleteReaction}}\\n    >\\n      <span\\n        data-test-reaction-index={{reaction.index}}\\n        class=\\\"intercom-reaction {{if @isEditing \\\"o__editable\\\"}} o__{{@deviceType}}\\\"\\n      >\\n        {{reaction.display}}\\n      </span>\\n    </ContentEditor::Panels::Content::Reactions::PickerOpener>\\n  {{/each}}\\n  \\n  {{#if (and (lt this.reactions.length 5) @isEditing)}}\\n    <ContentEditor::Panels::Content::Reactions::PickerOpener\\n      @isDisabled={{false}}\\n      @canDelete={{false}}\\n      @deleteReaction={{this.deleteReaction}}\\n      @updateReaction={{this.updateReaction}}\\n      class=\\\"intercom-reaction-picker-add-reaction\\\"\\n      data-test-add-reaction={{true}}\\n    >\\n      <span class=\\\"intercom-reaction o__insert o__editable o__{{@deviceType}} o__{{@contentType}}\\\">\\n        <span class=\\\"intercom-reaction-picker-plus\\\">\\n          {{ic-interface-icon \\\"new\\\" size=24 color=\\\"gray\\\" solo=true}}\\n        </span>\\n      </span>\\n    </ContentEditor::Panels::Content::Reactions::PickerOpener>\\n  {{/if}}\\n</div>\",\"moduleName\":\"embercom/components/content-editor/panels/content/reactions/reaction-picker.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/reactions/reaction-picker.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { htmlSafe } from '@ember/string';\nimport intermoji from '@intercom/intermoji';\n\nexport default class ReactionPickerComponent extends Component {\n  get reactions() {\n    return this.args.content.reactionSet.map(reaction => ({\n      index: reaction.index,\n      unicodeEmoticon: reaction.unicodeEmoticon,\n      display: htmlSafe(\n        intermoji.wrapUnicodeEmojiInTitledSpans(\n          32,\n          reaction.unicodeEmoticon,\n          'reaction-picker-popover__image o__large',\n        ),\n      ),\n    }));\n  }\n\n  @action\n  updateReaction(newReaction) {\n    let reactionSet = this.args.content.reactionSet;\n    let updatedReactions = reactionSet.map((reaction, index) => {\n      return index === newReaction.index ? newReaction : reaction;\n    });\n    if (newReaction.index === undefined) {\n      newReaction.index = reactionSet.length;\n      updatedReactions.pushObject(newReaction);\n    }\n    this.args.content.reactionSet = updatedReactions;\n  }\n\n  @action\n  deleteReaction(reactionIndex) {\n    let reactionSet = this.args.content.reactionSet;\n\n    let previousReaction = reactionSet.findBy('index', reactionIndex);\n    reactionSet.removeObject(previousReaction);\n    reactionSet.forEach((reaction, index) => (reaction.index = index));\n    this.args.content.reactionSet = reactionSet;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::Content::StandardBody>\\n  <div class=\\\"flex flex-col\\\" data-test-content-editor-sms-content-body>\\n    <Sms::Editor\\n      @sms={{service 'contentEditorService.activeObject'}}\\n      @isEditing={{true}}\\n    />\\n  </div>\\n</ContentEditor::Panels::Content::StandardBody>\\n\", {\"contents\":\"<ContentEditor::Panels::Content::StandardBody>\\n  <div class=\\\"flex flex-col\\\" data-test-content-editor-sms-content-body>\\n    <Sms::Editor\\n      @sms={{service 'contentEditorService.activeObject'}}\\n      @isEditing={{true}}\\n    />\\n  </div>\\n</ContentEditor::Panels::Content::StandardBody>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/sms/body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/sms/body.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::Content::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n as |header|>\\n  <div data-test-content-editor-sms-header-summary>\\n    {{!-- SMS content summary here --}}\\n  </div>\\n</ContentEditor::Panels::Content::StandardHeader>\", {\"contents\":\"<ContentEditor::Panels::Content::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n as |header|>\\n  <div data-test-content-editor-sms-header-summary>\\n    {{!-- SMS content summary here --}}\\n  </div>\\n</ContentEditor::Panels::Content::StandardHeader>\",\"moduleName\":\"embercom/components/content-editor/panels/content/sms/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/sms/header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col\\\" data-test-content-editor-standard-body>\\n  {{#let (service 'content-editor-service') as |contentEditorService|}}\\n    {{#if (and contentEditorService.ruleset.canCreateTest (not contentEditorService.ruleset.hasTests))}}\\n      <div class=\\\"flex flex-row items-center justify-start gap-4 content-editor__panels__content__run-experiment__container\\\">\\n        <IcDropdownAndOpenerPair class=\\\"pl-8 pt-2 pb-2\\\" as |pair|>\\n          <pair.opener @minWidthOfOverlay={{360}}>\\n            <Text @linkStyling=\\\"standalone\\\" @styling='strong' data-test-create-new-test-button>\\n              {{ic-interface-icon 'ab-test'}}\\n              Run a new test\\n            </Text>\\n          </pair.opener>\\n\\n          <pair.dropdown as |dropdown|>\\n            <dropdown.group\\n              class=\\\"message__editor__panel__ab-dropdown pt-2 pb-2\\\"\\n              @isMain={{true}} as |group|\\n            >\\n              <group.item>\\n                <Paywall @featureKey=\\\"ab_testing\\\" as |paywall|>\\n                  <div\\n                    class=\\\"content__editor__panel__start-ab-test-paywall o__standalone u__display-inline-block\\\"\\n                    data-test-start-ab-test-paywall\\n                  >\\n                    <a\\n                      class=\\\"dropdown__list-item {{if paywall.isActive \\\"o__disabled\\\"}}\\\"\\n                      {{on 'click' contentEditorService.createNewTest}}\\n                      data-test-start-ab-test\\n                    >\\n                      <div class=\\\"flex flex-row items-start gap-4\\\">\\n                        <div class=\\\"flex flex-col mt-1\\\">\\n                          {{ic-interface-icon \\\"share\\\" solo=true}}\\n                        </div>\\n                        <div class=\\\"flex flex-col\\\">\\n                          <p>A/B test</p>\\n                          <span class=\\\"t__light-text\\\">\\n                            Create two options and send each to half your audience to see which works best.\\n                          </span>\\n                          <p>\\n                            <paywall.Badge />\\n                          </p>\\n                        </div>\\n                      </div>\\n                    </a>\\n                  </div>\\n                </Paywall>\\n              </group.item>\\n              <group.item>\\n                <Paywall @featureKey=\\\"advanced_ab\\\" as |paywall|>\\n                  <div\\n                    class=\\\"message__editor__panel__start-ab-test-paywall o__standalone u__display-inline-block\\\"\\n                    data-test-control-group-paywall\\n                  >\\n                    <IcTooltip\\n                      @isDisabled={{and contentEditorService.ruleset.isDraft (not contentEditorService.isSeriesMode)}}\\n                      as |tooltip|\\n                    >\\n                      <tooltip.opener>\\n                        <a\\n                          class=\\\"dropdown__list-item {{if (or paywall.isActive (or contentEditorService.isSeriesMode (not contentEditorService.ruleset.isDraft))) \\\"o__disabled\\\"}}\\\"\\n                          {{on 'click' contentEditorService.createNewControlGroup}}\\n                          data-test-create-control-group\\n                        >\\n                          <div class=\\\"flex flex-row gap-4\\\">\\n                            <div class=\\\"flex flex-col mt-1\\\">\\n                              {{ic-interface-icon \\\"multiple-people\\\" solo=true}}\\n                            </div>\\n                            <div class=\\\"flex flex-col\\\">\\n                              <p>Control group</p>\\n                              <span class=\\\"t__light-text\\\">\\n                                Send a message to half your audience to see if it helps you reach your goal.\\n                              </span>\\n                              <p>\\n                                <paywall.Badge />\\n                              </p>\\n                            </div>\\n                          </div>\\n                        </a>\\n                      </tooltip.opener>\\n                      <tooltip.content>\\n                        {{#if contentEditorService.isSeriesMode}}\\n                          Control groups are not available in series\\n                        {{else}}\\n                          Control groups are only available in draft mode\\n                        {{/if}}\\n                      </tooltip.content>\\n                    </IcTooltip>\\n                  </div>\\n                </Paywall>\\n              </group.item>\\n            </dropdown.group>\\n          </pair.dropdown>\\n        </IcDropdownAndOpenerPair>\\n      </div>\\n    {{/if}}\\n    <ContentEditor::Tabs::StandardRulesetLinkSwitcher\\n      class=\\\"content-editor__panels__content__ruleset-link-switcher__container pl-8 pr-6 pt-2\\\"\\n    />\\n    {{#if contentEditorService.activeRulesetLink.isControlGroup }}\\n      <div class=\\\"m-6\\\">\\n        <ContentEditor::Summaries::Content::ControlGroup::Preview\\n          @humanReadableObjectName={{contentEditorService.configRulesetLink.humanReadableObjectName}}\\n          @rulesetLink={{contentEditorService.activeRulesetLink}}\\n        />\\n      </div>\\n    {{else}}\\n      {{yield}}\\n    {{/if}}\\n  {{/let}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col\\\" data-test-content-editor-standard-body>\\n  {{#let (service 'content-editor-service') as |contentEditorService|}}\\n    {{#if (and contentEditorService.ruleset.canCreateTest (not contentEditorService.ruleset.hasTests))}}\\n      <div class=\\\"flex flex-row items-center justify-start gap-4 content-editor__panels__content__run-experiment__container\\\">\\n        <IcDropdownAndOpenerPair class=\\\"pl-8 pt-2 pb-2\\\" as |pair|>\\n          <pair.opener @minWidthOfOverlay={{360}}>\\n            <Text @linkStyling=\\\"standalone\\\" @styling='strong' data-test-create-new-test-button>\\n              {{ic-interface-icon 'ab-test'}}\\n              Run a new test\\n            </Text>\\n          </pair.opener>\\n\\n          <pair.dropdown as |dropdown|>\\n            <dropdown.group\\n              class=\\\"message__editor__panel__ab-dropdown pt-2 pb-2\\\"\\n              @isMain={{true}} as |group|\\n            >\\n              <group.item>\\n                <Paywall @featureKey=\\\"ab_testing\\\" as |paywall|>\\n                  <div\\n                    class=\\\"content__editor__panel__start-ab-test-paywall o__standalone u__display-inline-block\\\"\\n                    data-test-start-ab-test-paywall\\n                  >\\n                    <a\\n                      class=\\\"dropdown__list-item {{if paywall.isActive \\\"o__disabled\\\"}}\\\"\\n                      {{on 'click' contentEditorService.createNewTest}}\\n                      data-test-start-ab-test\\n                    >\\n                      <div class=\\\"flex flex-row items-start gap-4\\\">\\n                        <div class=\\\"flex flex-col mt-1\\\">\\n                          {{ic-interface-icon \\\"share\\\" solo=true}}\\n                        </div>\\n                        <div class=\\\"flex flex-col\\\">\\n                          <p>A/B test</p>\\n                          <span class=\\\"t__light-text\\\">\\n                            Create two options and send each to half your audience to see which works best.\\n                          </span>\\n                          <p>\\n                            <paywall.Badge />\\n                          </p>\\n                        </div>\\n                      </div>\\n                    </a>\\n                  </div>\\n                </Paywall>\\n              </group.item>\\n              <group.item>\\n                <Paywall @featureKey=\\\"advanced_ab\\\" as |paywall|>\\n                  <div\\n                    class=\\\"message__editor__panel__start-ab-test-paywall o__standalone u__display-inline-block\\\"\\n                    data-test-control-group-paywall\\n                  >\\n                    <IcTooltip\\n                      @isDisabled={{and contentEditorService.ruleset.isDraft (not contentEditorService.isSeriesMode)}}\\n                      as |tooltip|\\n                    >\\n                      <tooltip.opener>\\n                        <a\\n                          class=\\\"dropdown__list-item {{if (or paywall.isActive (or contentEditorService.isSeriesMode (not contentEditorService.ruleset.isDraft))) \\\"o__disabled\\\"}}\\\"\\n                          {{on 'click' contentEditorService.createNewControlGroup}}\\n                          data-test-create-control-group\\n                        >\\n                          <div class=\\\"flex flex-row gap-4\\\">\\n                            <div class=\\\"flex flex-col mt-1\\\">\\n                              {{ic-interface-icon \\\"multiple-people\\\" solo=true}}\\n                            </div>\\n                            <div class=\\\"flex flex-col\\\">\\n                              <p>Control group</p>\\n                              <span class=\\\"t__light-text\\\">\\n                                Send a message to half your audience to see if it helps you reach your goal.\\n                              </span>\\n                              <p>\\n                                <paywall.Badge />\\n                              </p>\\n                            </div>\\n                          </div>\\n                        </a>\\n                      </tooltip.opener>\\n                      <tooltip.content>\\n                        {{#if contentEditorService.isSeriesMode}}\\n                          Control groups are not available in series\\n                        {{else}}\\n                          Control groups are only available in draft mode\\n                        {{/if}}\\n                      </tooltip.content>\\n                    </IcTooltip>\\n                  </div>\\n                </Paywall>\\n              </group.item>\\n            </dropdown.group>\\n          </pair.dropdown>\\n        </IcDropdownAndOpenerPair>\\n      </div>\\n    {{/if}}\\n    <ContentEditor::Tabs::StandardRulesetLinkSwitcher\\n      class=\\\"content-editor__panels__content__ruleset-link-switcher__container pl-8 pr-6 pt-2\\\"\\n    />\\n    {{#if contentEditorService.activeRulesetLink.isControlGroup }}\\n      <div class=\\\"m-6\\\">\\n        <ContentEditor::Summaries::Content::ControlGroup::Preview\\n          @humanReadableObjectName={{contentEditorService.configRulesetLink.humanReadableObjectName}}\\n          @rulesetLink={{contentEditorService.activeRulesetLink}}\\n        />\\n      </div>\\n    {{else}}\\n      {{yield}}\\n    {{/if}}\\n  {{/let}}\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/standard-body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/standard-body.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<@section.header as |header|>\\n  <div class=\\\"flex flex-row gap-4\\\">\\n    <Common::AccordionComponent::LightweightHeaderTitle\\n      @isOpen={{header.isOpen}}\\n      @errors={{if @config.hasBeenOpened @config.errors}}\\n      @isComplete={{if @config.hasBeenOpened @config.isComplete}}\\n      @number={{@index}}\\n      @title={{@config.title}}\\n      @alignTop={{true}}\\n      @stackVertically={{not header.isOpen}}\\n      @showPreview={{has-block}}\\n    >\\n      <div data-test-content-editor-standard-content-header>\\n        {{yield}}\\n      </div>\\n    </Common::AccordionComponent::LightweightHeaderTitle>\\n  </div>\\n</@section.header>\\n\\n<@section.header-action as |ha|>\\n  {{#if ha.isOpen}}\\n    {{#if @config.fullScreenEnabled}}\\n      <IcButton\\n        @icon={{if ha.isFullscreen \\\"collapse\\\" \\\"expand\\\"}}\\n        @type=\\\"secondary\\\"\\n        @onClick={{stop-propagation (queue ha.API.toggleFullscreen)}}\\n        class=\\\"mr-2\\\"\\n        data-test-full-screen-toggle\\n      />\\n    {{/if}}\\n  {{/if}}\\n</@section.header-action>\\n\", {\"contents\":\"<@section.header as |header|>\\n  <div class=\\\"flex flex-row gap-4\\\">\\n    <Common::AccordionComponent::LightweightHeaderTitle\\n      @isOpen={{header.isOpen}}\\n      @errors={{if @config.hasBeenOpened @config.errors}}\\n      @isComplete={{if @config.hasBeenOpened @config.isComplete}}\\n      @number={{@index}}\\n      @title={{@config.title}}\\n      @alignTop={{true}}\\n      @stackVertically={{not header.isOpen}}\\n      @showPreview={{has-block}}\\n    >\\n      <div data-test-content-editor-standard-content-header>\\n        {{yield}}\\n      </div>\\n    </Common::AccordionComponent::LightweightHeaderTitle>\\n  </div>\\n</@section.header>\\n\\n<@section.header-action as |ha|>\\n  {{#if ha.isOpen}}\\n    {{#if @config.fullScreenEnabled}}\\n      <IcButton\\n        @icon={{if ha.isFullscreen \\\"collapse\\\" \\\"expand\\\"}}\\n        @type=\\\"secondary\\\"\\n        @onClick={{stop-propagation (queue ha.API.toggleFullscreen)}}\\n        class=\\\"mr-2\\\"\\n        data-test-full-screen-toggle\\n      />\\n    {{/if}}\\n  {{/if}}\\n</@section.header-action>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/standard-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/standard-header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col\\\" data-test-content-editor-tagger-content-body>\\n  <Tagger::Editor\\n    @tagger={{service 'contentEditorService.activeObject'}}\\n  />\\n</div>\", {\"contents\":\"<div class=\\\"flex flex-col\\\" data-test-content-editor-tagger-content-body>\\n  <Tagger::Editor\\n    @tagger={{service 'contentEditorService.activeObject'}}\\n  />\\n</div>\",\"moduleName\":\"embercom/components/content-editor/panels/content/tagger/body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/tagger/body.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col\\\" data-test-content-editor-tour-content-body>\\n  <Tours::Editor::ContentPanel\\n    @tour={{service 'contentEditorService.activeObject'}}\\n  />\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col\\\" data-test-content-editor-tour-content-body>\\n  <Tours::Editor::ContentPanel\\n    @tour={{service 'contentEditorService.activeObject'}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/tour/body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/tour/body.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { isBlank, isEmpty } from '@ember/utils';\nimport PredicateGroup from 'predicates/models/predicate-group';\n\nexport default class ProductTourComponent extends Component {\n  @service contentEditorService;\n  @service intersectionService;\n  @service store;\n  temporaryTour = null;\n\n  constructor() {\n    super(...arguments);\n    this.intersectionService.registerEventHandler('getTourId', () => this.tour.id);\n    this.intersectionService.registerEventHandler('getTemporaryTour', () =>\n      this._onGetTemporaryTour(),\n    );\n    this.intersectionService.registerEventHandler('tour-updated', () => this._onTourUpdated());\n    this.intersectionService.registerEventHandler('tour-build-url-updated', data => {\n      this.temporaryTour = data;\n      let url = new URL(JSON.parse(data).url);\n      this.intersectionService.updateTargetDomain(url);\n    });\n  }\n\n  get tour() {\n    return this.contentEditorService.activeObject;\n  }\n\n  get ruleset() {\n    return this.contentEditorService.ruleset;\n  }\n\n  _onGetTemporaryTour() {\n    if (!this.temporaryTour) {\n      return this.temporaryTour;\n    }\n    let tempTour = this.temporaryTour;\n    this.temporaryTour = null;\n    return tempTour;\n  }\n\n  _onTourUpdated() {\n    let tourUrlWasEmptyBeforeUpdate = isEmpty(this.tour.url);\n    this.ruleset.reload().then(() => {\n      if (tourUrlWasEmptyBeforeUpdate) {\n        this._initializeClientPredicatesWithLastVisitedUrl();\n        this._initializeInsertableUrl();\n      }\n    });\n    return true;\n  }\n\n  _initializeClientPredicatesWithLastVisitedUrl() {\n    let ruleset = this.ruleset;\n    if (!ruleset.isMemberOfSeries && isEmpty(ruleset.clientPredicateGroup.predicates)) {\n      ruleset.clientPredicateGroup = this.store.createFragment('predicates/predicate-group', {\n        predicates: PredicateGroup.convertRawPredicates(this.store, [\n          {\n            type: 'string',\n            attribute: 'client_attributes.last_visited_url',\n            comparison: 'eq',\n            value: this.tour.url,\n          },\n        ]),\n      });\n    }\n  }\n\n  _initializeInsertableUrl() {\n    if (isBlank(this.tour.insertableUrl)) {\n      this.tour.insertableUrl = this.tour.url;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::Content::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n/>\", {\"contents\":\"<ContentEditor::Panels::Content::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n/>\",\"moduleName\":\"embercom/components/content-editor/panels/content/tour/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/tour/header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col p-6\\\" data-test-content-editor-wait-content-body>\\n  <IcRadioButtonGroup\\n    class=\\\"wait-radio-button\\\"\\n    @selectedValue={{this.wait.type}}\\n    @onSelectionChange={{this.onSelectionChange}} as |group|\\n  >\\n    <group.button @label=\\\"Wait for a period of time\\\" @value={{this.relative}} data-test-wait-type-relative />\\n    <group.button @label=\\\"Wait until a specific date\\\" @value={{this.absolute}} data-test-wait-type-absolute />\\n  </IcRadioButtonGroup>\\n  {{#if (eq this.wait.type this.relative)}}\\n    <Form class=\\\"pt-6\\\" data-test-relative-form as |form|>\\n      <form.SectionDescription>Choose how long people should wait for</form.SectionDescription>\\n      <div class=\\\"flex flex-row gap-8 wait__relative-container\\\">\\n\\n        <form.Item data-test-relative-days as |item| >\\n          <div class=\\\"flex flex-row gap-2\\\">\\n            <item.Input @type=\\\"number\\\" @value={{this.days}} onChange={{this.updateTimeDelay}} min=\\\"0\\\" />\\n            <label class=\\\"pt-2\\\">d</label>\\n          </div>\\n        </form.Item>\\n\\n        <form.Item data-test-relative-hours as |item| >\\n          <div class=\\\"flex flex-row gap-2\\\">\\n            <item.Input @type=\\\"number\\\" @value={{this.hours}} onChange={{this.updateTimeDelay}} min=\\\"0\\\" />\\n            <label class=\\\"pt-2\\\">h</label>\\n          </div>\\n        </form.Item>\\n\\n        <form.Item data-test-relative-minutes as |item| >\\n          <div class=\\\"flex flex-row gap-2\\\">\\n            <item.Input @type=\\\"number\\\" @value={{this.minutes}} onChange={{this.updateTimeDelay}} min=\\\"0\\\" />\\n            <label class=\\\"pt-2\\\">m</label>\\n          </div>\\n        </form.Item>\\n      </div>\\n    </Form>\\n  {{else}}\\n    <Form class=\\\"pt-6\\\" data-test-absolute-form as |form|>\\n      <form.SectionDescription>Choose a specific date and time for people to wait until</form.SectionDescription>\\n      <Common::DateAndTimePicker\\n        @selectedDate={{this.selectedDate}}\\n        @onChange={{this.onDateChange}}\\n      />\\n    </Form>\\n    <Paragraph @styling=\\\"muted\\\" class=\\\"pt-2\\\" data-test-absolute-timezone>\\n      {{format-timezone this.appService.app.timezone}}\\n      <IcTooltipIcon\\n        @content=\\\"Based on your workspace timezone\\\"\\n      />\\n    </Paragraph>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col p-6\\\" data-test-content-editor-wait-content-body>\\n  <IcRadioButtonGroup\\n    class=\\\"wait-radio-button\\\"\\n    @selectedValue={{this.wait.type}}\\n    @onSelectionChange={{this.onSelectionChange}} as |group|\\n  >\\n    <group.button @label=\\\"Wait for a period of time\\\" @value={{this.relative}} data-test-wait-type-relative />\\n    <group.button @label=\\\"Wait until a specific date\\\" @value={{this.absolute}} data-test-wait-type-absolute />\\n  </IcRadioButtonGroup>\\n  {{#if (eq this.wait.type this.relative)}}\\n    <Form class=\\\"pt-6\\\" data-test-relative-form as |form|>\\n      <form.SectionDescription>Choose how long people should wait for</form.SectionDescription>\\n      <div class=\\\"flex flex-row gap-8 wait__relative-container\\\">\\n\\n        <form.Item data-test-relative-days as |item| >\\n          <div class=\\\"flex flex-row gap-2\\\">\\n            <item.Input @type=\\\"number\\\" @value={{this.days}} onChange={{this.updateTimeDelay}} min=\\\"0\\\" />\\n            <label class=\\\"pt-2\\\">d</label>\\n          </div>\\n        </form.Item>\\n\\n        <form.Item data-test-relative-hours as |item| >\\n          <div class=\\\"flex flex-row gap-2\\\">\\n            <item.Input @type=\\\"number\\\" @value={{this.hours}} onChange={{this.updateTimeDelay}} min=\\\"0\\\" />\\n            <label class=\\\"pt-2\\\">h</label>\\n          </div>\\n        </form.Item>\\n\\n        <form.Item data-test-relative-minutes as |item| >\\n          <div class=\\\"flex flex-row gap-2\\\">\\n            <item.Input @type=\\\"number\\\" @value={{this.minutes}} onChange={{this.updateTimeDelay}} min=\\\"0\\\" />\\n            <label class=\\\"pt-2\\\">m</label>\\n          </div>\\n        </form.Item>\\n      </div>\\n    </Form>\\n  {{else}}\\n    <Form class=\\\"pt-6\\\" data-test-absolute-form as |form|>\\n      <form.SectionDescription>Choose a specific date and time for people to wait until</form.SectionDescription>\\n      <Common::DateAndTimePicker\\n        @selectedDate={{this.selectedDate}}\\n        @onChange={{this.onDateChange}}\\n      />\\n    </Form>\\n    <Paragraph @styling=\\\"muted\\\" class=\\\"pt-2\\\" data-test-absolute-timezone>\\n      {{format-timezone this.appService.app.timezone}}\\n      <IcTooltipIcon\\n        @content=\\\"Based on your workspace timezone\\\"\\n      />\\n    </Paragraph>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/content/wait/body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/content/wait/body.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { seriesWaitTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport moment from 'moment';\n\nexport default class WaitComponent extends Component {\n  @service store;\n  @service appService;\n  @service contentEditorService;\n  @tracked selectedValue = seriesWaitTypes.relative;\n  @tracked selectedDate;\n  @tracked days;\n  @tracked hours;\n  @tracked minutes;\n\n  relative = seriesWaitTypes.relative;\n  absolute = seriesWaitTypes.absolute;\n\n  constructor(...args) {\n    super(...args);\n    this.selectedDate = this._startOfNextHour()\n      .add(1, 'day')\n      .toDate();\n    this._populatePanel();\n  }\n\n  _populatePanel() {\n    if (this.wait.type === seriesWaitTypes.relative) {\n      [this.days, this.hours, this.minutes] = this.toDaysHoursMinutes(this.wait.timeDelay);\n    } else if (this.wait.type === seriesWaitTypes.absolute) {\n      if (this.wait.timeDelay > 0) {\n        this.selectedDate = new Date();\n        this.selectedDate.setTime(this.wait.timeDelay * 1000);\n      }\n    }\n  }\n\n  toDaysHoursMinutes(seconds) {\n    let days = Math.floor(seconds / (3600 * 24));\n    let hours = Math.floor((seconds % (3600 * 24)) / 3600);\n    let minutes = Math.floor((seconds % 3600) / 60);\n    return [days, hours, minutes];\n  }\n\n  get todayInAppTimezone() {\n    return moment.tz(this.appService.app.timezone);\n  }\n\n  _startOfNextHour() {\n    return this.todayInAppTimezone.add(1, 'hour').startOf('hour');\n  }\n\n  @action\n  updateTimeDelay() {\n    if (this.wait.type === seriesWaitTypes.relative) {\n      this.wait.timeDelay = this.relativeTime;\n    } else if (this.wait.type === seriesWaitTypes.absolute) {\n      this.wait.timeDelay = this.absoluteTime(this.selectedDate);\n    }\n  }\n\n  @action\n  onSelectionChange(value) {\n    this.wait.type = value;\n    this.updateTimeDelay();\n  }\n\n  get wait() {\n    return this.contentEditorService.activeObject;\n  }\n\n  absoluteTime(date) {\n    return Math.floor(date.getTime() / 1000);\n  }\n\n  @action\n  onDateChange(date) {\n    this.selectedDate = date;\n    this.wait.timeDelay = this.absoluteTime(date);\n  }\n\n  get relativeTime() {\n    let days = this.days || 0;\n    let hours = this.hours || 0;\n    let minutes = this.minutes || 0;\n    let days_to_seconds = days * 24 * 60 * 60;\n    let hours_to_seconds = hours * 60 * 60;\n    let minutes_to_seconds = minutes * 60;\n    return days_to_seconds + hours_to_seconds + minutes_to_seconds;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (service 'content-editor-service') as |contentEditorService|}}\\n  <CustomBots::Editor::ElementSelector\\n    @customBot={{contentEditorService.activeObject}}\\n    @ruleset={{contentEditorService.ruleset}}\\n  />\\n{{/let}}\", {\"contents\":\"{{#let (service 'content-editor-service') as |contentEditorService|}}\\n  <CustomBots::Editor::ElementSelector\\n    @customBot={{contentEditorService.activeObject}}\\n    @ruleset={{contentEditorService.ruleset}}\\n  />\\n{{/let}}\",\"moduleName\":\"embercom/components/content-editor/panels/element-selector/custom-bot/body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/element-selector/custom-bot/body.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n/>\", {\"contents\":\"<ContentEditor::Panels::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n/>\",\"moduleName\":\"embercom/components/content-editor/panels/element-selector/custom-bot/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/element-selector/custom-bot/header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row justify-start gap-2\\\" data-test-content-editor-goal-body>\\n  <StatsSystem::Goals::GoalEditor\\n    @introText={{@config.introText}}\\n    @entity={{get (service 'content-editor-service') 'ruleset'}}\\n    @entityName={{get (service 'content-editor-service') 'activeHumanReadableObjectName'}}\\n    @entityType={{this.rulesetType}}\\n  />\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row justify-start gap-2\\\" data-test-content-editor-goal-body>\\n  <StatsSystem::Goals::GoalEditor\\n    @introText={{@config.introText}}\\n    @entity={{get (service 'content-editor-service') 'ruleset'}}\\n    @entityName={{get (service 'content-editor-service') 'activeHumanReadableObjectName'}}\\n    @entityType={{this.rulesetType}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/goal/body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/goal/body.hbs\"}});\nimport Component from '@glimmer/component';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class ContentEditorPanelsGoalBodyComponent extends Component {\n  rulesetType = objectTypes.ruleset;\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n as |header|>\\n  <div class=\\\"text o__muted\\\" data-test-content-editor-goal-header-summary>\\n    {{#let (service 'content-editor-service.ruleset') as |ruleset|}}\\n      <StatsSystem::Goals::GoalSummary @goal={{ruleset.goal}} @hideIcons={{true}} />\\n    {{/let}}\\n  </div>\\n</ContentEditor::Panels::StandardHeader>\\n\", {\"contents\":\"<ContentEditor::Panels::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n as |header|>\\n  <div class=\\\"text o__muted\\\" data-test-content-editor-goal-header-summary>\\n    {{#let (service 'content-editor-service.ruleset') as |ruleset|}}\\n      <StatsSystem::Goals::GoalSummary @goal={{ruleset.goal}} @hideIcons={{true}} />\\n    {{/let}}\\n  </div>\\n</ContentEditor::Panels::StandardHeader>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/goal/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/goal/header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col justify-center items-start\\\">\\n  <div class=\\\"flex flex-row gap-6 p-6 pl-8\\\" data-test-content-editor-schedule-body>\\n    <div class=\\\"flex flex-col gap-4 content-editor__scheduling-container\\\">\\n      {{#let (service 'content-editor-service.ruleset') as |ruleset|}}\\n        <div class=\\\"flex flex-col\\\">\\n          <ContentEditor::Panels::Schedule::ScheduledStateChangeEditor @ruleset={{ruleset}} />\\n        </div>\\n        {{#unless ruleset.isMatchBehaviorStatic}}\\n          <ContentEditor::Panels::Schedule::MatchingTimetable @timezoneType={{@config.timezoneType}} />\\n        {{/unless}}\\n      {{/let}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col justify-center items-start\\\">\\n  <div class=\\\"flex flex-row gap-6 p-6 pl-8\\\" data-test-content-editor-schedule-body>\\n    <div class=\\\"flex flex-col gap-4 content-editor__scheduling-container\\\">\\n      {{#let (service 'content-editor-service.ruleset') as |ruleset|}}\\n        <div class=\\\"flex flex-col\\\">\\n          <ContentEditor::Panels::Schedule::ScheduledStateChangeEditor @ruleset={{ruleset}} />\\n        </div>\\n        {{#unless ruleset.isMatchBehaviorStatic}}\\n          <ContentEditor::Panels::Schedule::MatchingTimetable @timezoneType={{@config.timezoneType}} />\\n        {{/unless}}\\n      {{/let}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/schedule/body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/schedule/body.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n  @isMultiline={{false}}\\n  as |header|\\n>\\n  {{#if (not (and @config.hasBeenOpened @config.errors.length))}}\\n    <div data-test-content-editor-schedule-header-summary>\\n      <ContentEditor::Summaries::Schedule::SummaryComponent/>\\n    </div>\\n  {{/if}}\\n</ContentEditor::Panels::StandardHeader>\\n\", {\"contents\":\"<ContentEditor::Panels::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n  @isMultiline={{false}}\\n  as |header|\\n>\\n  {{#if (not (and @config.hasBeenOpened @config.errors.length))}}\\n    <div data-test-content-editor-schedule-header-summary>\\n      <ContentEditor::Summaries::Schedule::SummaryComponent/>\\n    </div>\\n  {{/if}}\\n</ContentEditor::Panels::StandardHeader>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/schedule/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/schedule/header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col\\\" data-test-content-editor-schedule-matching-timetable>\\n  <Paywall @featureKey=\\\"scheduled_messages\\\" as |paywall|>\\n    {{#let (service 'content-editor-service.ruleset') as |ruleset|}}\\n      <Heading @size=\\\"4\\\" class=\\\"pb-1\\\" data-test-content-editor-schedule-matching-timetable-heading>\\n        Set days and times this {{ruleset.rulesetLinks.firstObject.humanReadableObjectName}} can send <paywall.Badge/>\\n      </Heading>\\n      <MatchingSystem::MatchingTimetableEditor\\n        @ruleset={{ruleset}}\\n        @timezoneType={{@timezoneType}}\\n        @disabled={{paywall.isActive}}\\n      />\\n    {{/let}}\\n  </Paywall>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col\\\" data-test-content-editor-schedule-matching-timetable>\\n  <Paywall @featureKey=\\\"scheduled_messages\\\" as |paywall|>\\n    {{#let (service 'content-editor-service.ruleset') as |ruleset|}}\\n      <Heading @size=\\\"4\\\" class=\\\"pb-1\\\" data-test-content-editor-schedule-matching-timetable-heading>\\n        Set days and times this {{ruleset.rulesetLinks.firstObject.humanReadableObjectName}} can send <paywall.Badge/>\\n      </Heading>\\n      <MatchingSystem::MatchingTimetableEditor\\n        @ruleset={{ruleset}}\\n        @timezoneType={{@timezoneType}}\\n        @disabled={{paywall.isActive}}\\n      />\\n    {{/let}}\\n  </Paywall>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/schedule/matching-timetable.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/schedule/matching-timetable.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Form as |form|>\\n  <Heading @size=\\\"4\\\">Start sending</Heading>\\n  <form.Item\\n    as |item|>\\n    <item.RadioGroup @selected={{this.activationEnabled}} as |group|>\\n      {{#let (or @ruleset.isLive @ruleset.isPaused) as |scheduledActivationDisabled|}}\\n        <group.RadioButton data-test-remove-activation=\\\"true\\\"  @value={{false}} @label=\\\"Immediately\\\" {{on \\\"click\\\" this.removeScheduledActivation}}/>\\n        <group.RadioButton\\n          data-test-add-activation=\\\"true\\\"\\n          @value={{true}}\\n          @disabled={{scheduledActivationDisabled}}\\n          @tooltip={{if scheduledActivationDisabled \\\"You cannot schedule a live or paused message\\\"}}\\n          @label=\\\"Custom date\\\" {{on \\\"click\\\" this.setScheduledActivation}}\\n        />\\n      {{/let}}\\n    </item.RadioGroup>\\n    {{#if this.hasScheduledActivation}}\\n      <div data-test-scheduled-state-change-editor={{@ruleset.scheduledActivation.changeType}}>\\n        <Common::DateAndTimePicker\\n          @selectedDate={{@ruleset.scheduledActivation.changeAt}}\\n          @onChange={{this.onScheduledActivationChange}}\\n        />\\n      </div>\\n    {{/if}}\\n  </form.Item>\\n  {{#unless @ruleset.isMatchBehaviorStatic}}\\n    <Heading @size=\\\"4\\\">Stop sending</Heading>\\n    <form.Item as |item|>\\n      <item.RadioGroup @selected={{this.deactivationEnabled}} as |group|>\\n        <group.RadioButton data-test-remove-deactivation=\\\"true\\\"\\n                           @value={{false}} @label=\\\"Never\\\" {{on \\\"click\\\" this.removeScheduledDeactivation}}/>\\n        <group.RadioButton data-test-add-deactivation=\\\"true\\\"\\n                           class=\\\"js__ghostinspector__custom-stop-date\\\"\\n                           @value={{true}} @label=\\\"Custom date\\\" {{on \\\"click\\\" this.setScheduledDeactivation}}/>\\n      </item.RadioGroup>\\n      {{#if this.hasScheduledDeactivation}}\\n        <div data-test-scheduled-state-change-editor={{@ruleset.scheduledDeactivation.changeType}}>\\n          <Common::DateAndTimePicker\\n            @selectedDate={{@ruleset.scheduledDeactivation.changeAt}}\\n            @onChange={{this.onScheduledDeactivationChange}}\\n          />\\n        </div>\\n      {{/if}}\\n    </form.Item>\\n  {{/unless}}\\n</Form>\\n\", {\"contents\":\"<Form as |form|>\\n  <Heading @size=\\\"4\\\">Start sending</Heading>\\n  <form.Item\\n    as |item|>\\n    <item.RadioGroup @selected={{this.activationEnabled}} as |group|>\\n      {{#let (or @ruleset.isLive @ruleset.isPaused) as |scheduledActivationDisabled|}}\\n        <group.RadioButton data-test-remove-activation=\\\"true\\\"  @value={{false}} @label=\\\"Immediately\\\" {{on \\\"click\\\" this.removeScheduledActivation}}/>\\n        <group.RadioButton\\n          data-test-add-activation=\\\"true\\\"\\n          @value={{true}}\\n          @disabled={{scheduledActivationDisabled}}\\n          @tooltip={{if scheduledActivationDisabled \\\"You cannot schedule a live or paused message\\\"}}\\n          @label=\\\"Custom date\\\" {{on \\\"click\\\" this.setScheduledActivation}}\\n        />\\n      {{/let}}\\n    </item.RadioGroup>\\n    {{#if this.hasScheduledActivation}}\\n      <div data-test-scheduled-state-change-editor={{@ruleset.scheduledActivation.changeType}}>\\n        <Common::DateAndTimePicker\\n          @selectedDate={{@ruleset.scheduledActivation.changeAt}}\\n          @onChange={{this.onScheduledActivationChange}}\\n        />\\n      </div>\\n    {{/if}}\\n  </form.Item>\\n  {{#unless @ruleset.isMatchBehaviorStatic}}\\n    <Heading @size=\\\"4\\\">Stop sending</Heading>\\n    <form.Item as |item|>\\n      <item.RadioGroup @selected={{this.deactivationEnabled}} as |group|>\\n        <group.RadioButton data-test-remove-deactivation=\\\"true\\\"\\n                           @value={{false}} @label=\\\"Never\\\" {{on \\\"click\\\" this.removeScheduledDeactivation}}/>\\n        <group.RadioButton data-test-add-deactivation=\\\"true\\\"\\n                           class=\\\"js__ghostinspector__custom-stop-date\\\"\\n                           @value={{true}} @label=\\\"Custom date\\\" {{on \\\"click\\\" this.setScheduledDeactivation}}/>\\n      </item.RadioGroup>\\n      {{#if this.hasScheduledDeactivation}}\\n        <div data-test-scheduled-state-change-editor={{@ruleset.scheduledDeactivation.changeType}}>\\n          <Common::DateAndTimePicker\\n            @selectedDate={{@ruleset.scheduledDeactivation.changeAt}}\\n            @onChange={{this.onScheduledDeactivationChange}}\\n          />\\n        </div>\\n      {{/if}}\\n    </form.Item>\\n  {{/unless}}\\n</Form>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/schedule/scheduled-state-change-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/schedule/scheduled-state-change-editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport {\n  scheduledStateChangeStatuses,\n  scheduledStateChangeTypes,\n  timezoneTypes,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { inject as service } from '@ember/service';\nimport moment from 'moment';\nimport { action } from '@ember/object';\nimport { isPresent } from '@ember/utils';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class ScheduledStateChangeEditor extends Component {\n  @service store;\n  @service appService;\n  @tracked activationEnabled = isPresent(this.args.ruleset.scheduledActivation);\n  @tracked deactivationEnabled = isPresent(this.args.ruleset.scheduledDeactivation);\n\n  get hasScheduledActivation() {\n    return isPresent(this.args.ruleset.scheduledActivation);\n  }\n\n  get hasScheduledDeactivation() {\n    return isPresent(this.args.ruleset.scheduledDeactivation);\n  }\n\n  _todayInAppTimezone() {\n    return moment.tz(this.appService.app.timezone);\n  }\n\n  _startOfNextHour() {\n    return this._todayInAppTimezone()\n      .add(1, 'hour')\n      .startOf('hour');\n  }\n\n  _setScheduledStateChange(options) {\n    options = {\n      ...options,\n      timezoneType: timezoneTypes.basedOnAppTimezone,\n      changeStatus: scheduledStateChangeStatuses.scheduled,\n    };\n    let scheduledChange = this.store.createFragment(\n      'matching-system/scheduledStateChange',\n      options,\n    );\n    if (options.changeType === scheduledStateChangeTypes.activate) {\n      this.args.ruleset.scheduledActivation = scheduledChange;\n    } else {\n      this.args.ruleset.scheduledDeactivation = scheduledChange;\n    }\n  }\n\n  @action onScheduledActivationChange(newDate) {\n    this.args.ruleset.scheduledActivation.changeAt = newDate;\n  }\n\n  @action onScheduledDeactivationChange(newDate) {\n    this.args.ruleset.scheduledDeactivation.changeAt = newDate;\n  }\n\n  @action removeScheduledActivation() {\n    if (this.hasScheduledActivation) {\n      this.args.ruleset.scheduledActivation = null;\n    }\n  }\n\n  @action removeScheduledDeactivation() {\n    if (this.hasScheduledDeactivation) {\n      this.args.ruleset.scheduledDeactivation = null;\n    }\n  }\n\n  @action setScheduledActivation() {\n    let date = this._startOfNextHour().toDate();\n    this._setScheduledStateChange({\n      changeType: scheduledStateChangeTypes.activate,\n      changeAt: date,\n    });\n  }\n\n  @action setScheduledDeactivation() {\n    let date = this._startOfNextHour()\n      .add(1, 'week')\n      .toDate();\n    this._setScheduledStateChange({\n      changeType: scheduledStateChangeTypes.deactivate,\n      changeAt: date,\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (service 'content-editor-service.ruleset') as |ruleset|}}\\n  <div class=\\\"flex flex-col justify-center items-start\\\">\\n    <div class=\\\"flex flex-row gap-6 p-6 pl-8\\\" data-test-content-editor-schedule-series-body>\\n      <div class=\\\"flex flex-col gap-4 content-editor__scheduling-container\\\">\\n        {{#unless ruleset.isMatchBehaviorStatic}}\\n          <ContentEditor::Panels::Schedule::MatchingTimetable @timezoneType={{@config.timezoneType}} />\\n        {{/unless}}\\n      </div>\\n    </div>\\n  </div>\\n{{/let}}\\n\", {\"contents\":\"{{#let (service 'content-editor-service.ruleset') as |ruleset|}}\\n  <div class=\\\"flex flex-col justify-center items-start\\\">\\n    <div class=\\\"flex flex-row gap-6 p-6 pl-8\\\" data-test-content-editor-schedule-series-body>\\n      <div class=\\\"flex flex-col gap-4 content-editor__scheduling-container\\\">\\n        {{#unless ruleset.isMatchBehaviorStatic}}\\n          <ContentEditor::Panels::Schedule::MatchingTimetable @timezoneType={{@config.timezoneType}} />\\n        {{/unless}}\\n      </div>\\n    </div>\\n  </div>\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/content-editor/panels/schedule/series-body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/schedule/series-body.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n  @isMultiline={{false}}\\n  as |header|\\n>\\n  {{#if (not (and @config.hasBeenOpened @config.errors.length))}}\\n    <div data-test-content-editor-schedule-series-header-summary>\\n      <ContentEditor::Summaries::Schedule::SeriesSummaryComponent/>\\n    </div>\\n  {{/if}}\\n</ContentEditor::Panels::StandardHeader>\\n\", {\"contents\":\"<ContentEditor::Panels::StandardHeader\\n  @section={{@section}}\\n  @index={{@index}}\\n  @config={{@config}}\\n  @isMultiline={{false}}\\n  as |header|\\n>\\n  {{#if (not (and @config.hasBeenOpened @config.errors.length))}}\\n    <div data-test-content-editor-schedule-series-header-summary>\\n      <ContentEditor::Summaries::Schedule::SeriesSummaryComponent/>\\n    </div>\\n  {{/if}}\\n</ContentEditor::Panels::StandardHeader>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/schedule/series-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/schedule/series-header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<@section.header as |header|>\\n  <Common::AccordionComponent::LightweightHeaderTitle\\n    @isOpen={{header.isOpen}}\\n    @errors={{if @config.hasBeenOpened @config.errors}}\\n    @isComplete={{if @config.hasBeenOpened @config.isComplete}}\\n    @number={{@index}}\\n    @title={{@config.title}}\\n    @alignTop={{or @isMultiline header.isOpen}}\\n  >\\n    <div data-test-content-editor-standard-header>\\n      {{yield}}\\n    </div>\\n  </Common::AccordionComponent::LightweightHeaderTitle>\\n</@section.header>\\n\", {\"contents\":\"<@section.header as |header|>\\n  <Common::AccordionComponent::LightweightHeaderTitle\\n    @isOpen={{header.isOpen}}\\n    @errors={{if @config.hasBeenOpened @config.errors}}\\n    @isComplete={{if @config.hasBeenOpened @config.isComplete}}\\n    @number={{@index}}\\n    @title={{@config.title}}\\n    @alignTop={{or @isMultiline header.isOpen}}\\n  >\\n    <div data-test-content-editor-standard-header>\\n      {{yield}}\\n    </div>\\n  </Common::AccordionComponent::LightweightHeaderTitle>\\n</@section.header>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/standard-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/standard-header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row justify-start gap-2\\\" data-test-trigger-programmatically-selector>\\n  <div class=\\\"flex flex-col gap-4 p-6 pl-8\\\">\\n    {{#let (service 'contentEditorService.ruleset') as |ruleset|}}\\n      {{#if ruleset.hasControlGroup}}\\n        <Paragraph data-test-paragraph-warning>\\n          <span class=\\\"c__warning\\\">{{ic-interface-icon \\\"alert-circle\\\"}}</span>\\n          You can’t use the carousel programmatically while a control group is enabled.\\n        </Paragraph>\\n      {{else}}\\n        <Paragraph data-test-paragraph-text>\\n          You can trigger this carousel from a button in your mobile app.\\n        </Paragraph>\\n\\n        <a\\n          {{copy-to-clipboard\\n            text=ruleset.id\\n            confirmationMessage=\\\"ID for your carousel has been copied to your clipboard\\\"\\n          }}\\n            data-test-copy-id-btn\\n        >\\n          <Text @styling=\\\"muted\\\">\\n            {{ic-interface-icon \\\"duplicate\\\"}} Copy carousel ID {{ruleset.id}}\\n          </Text>\\n        </a>\\n      {{/if}}\\n    {{/let}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row justify-start gap-2\\\" data-test-trigger-programmatically-selector>\\n  <div class=\\\"flex flex-col gap-4 p-6 pl-8\\\">\\n    {{#let (service 'contentEditorService.ruleset') as |ruleset|}}\\n      {{#if ruleset.hasControlGroup}}\\n        <Paragraph data-test-paragraph-warning>\\n          <span class=\\\"c__warning\\\">{{ic-interface-icon \\\"alert-circle\\\"}}</span>\\n          You can’t use the carousel programmatically while a control group is enabled.\\n        </Paragraph>\\n      {{else}}\\n        <Paragraph data-test-paragraph-text>\\n          You can trigger this carousel from a button in your mobile app.\\n        </Paragraph>\\n\\n        <a\\n          {{copy-to-clipboard\\n            text=ruleset.id\\n            confirmationMessage=\\\"ID for your carousel has been copied to your clipboard\\\"\\n          }}\\n            data-test-copy-id-btn\\n        >\\n          <Text @styling=\\\"muted\\\">\\n            {{ic-interface-icon \\\"duplicate\\\"}} Copy carousel ID {{ruleset.id}}\\n          </Text>\\n        </a>\\n      {{/if}}\\n    {{/let}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/trigger-programmatically/carousel/body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/trigger-programmatically/carousel/body.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Panels::StandardHeader\\n        @section={{@section}}\\n        @index={{@index}}\\n        @config={{@config}}\\n        @isMultiline={{false}} >\\n  {{#if (service 'contentEditorService.ruleset.hasControlGroup')}}\\n    <Paragraph @styling=\\\"muted\\\" data-test-warning>\\n      Not available\\n    </Paragraph>\\n  {{/if}}\\n</ContentEditor::Panels::StandardHeader>\\n\", {\"contents\":\"<ContentEditor::Panels::StandardHeader\\n        @section={{@section}}\\n        @index={{@index}}\\n        @config={{@config}}\\n        @isMultiline={{false}} >\\n  {{#if (service 'contentEditorService.ruleset.hasControlGroup')}}\\n    <Paragraph @styling=\\\"muted\\\" data-test-warning>\\n      Not available\\n    </Paragraph>\\n  {{/if}}\\n</ContentEditor::Panels::StandardHeader>\\n\",\"moduleName\":\"embercom/components/content-editor/panels/trigger-programmatically/carousel/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/panels/trigger-programmatically/carousel/header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (service 'content-editor-service') as |contentEditorService|}}\\n  <div class=\\\"flex flex-col flex-1\\\" data-test-content-editor-series-mode {{did-insert this.markClientDataAsOpened}}>\\n    {{#if contentEditorService.isViewMode}}\\n      {{#let contentEditorService.editorConfiguration.seriesMode.viewModeHeaderConfig as |config|}}\\n          {{component config.component\\n            config=config\\n          }}\\n      {{/let}}\\n      {{#let contentEditorService.editorConfiguration.seriesMode.viewModeSummaryConfig as |config|}}\\n        {{component config.component\\n          config=config\\n        }}\\n      {{/let}}\\n    {{else}}\\n      {{#let contentEditorService.editorConfiguration.seriesMode.headerComponentConfig as |config|}}\\n        {{component config.component\\n          config=config\\n        }}\\n      {{/let}}\\n      {{#each contentEditorService.editorConfiguration.seriesMode.editorComponentConfigs as |config|}}\\n        {{component config.component\\n          config=config\\n        }}\\n      {{/each}}\\n    {{/if}}\\n  </div>\\n{{/let}}\\n\", {\"contents\":\"{{#let (service 'content-editor-service') as |contentEditorService|}}\\n  <div class=\\\"flex flex-col flex-1\\\" data-test-content-editor-series-mode {{did-insert this.markClientDataAsOpened}}>\\n    {{#if contentEditorService.isViewMode}}\\n      {{#let contentEditorService.editorConfiguration.seriesMode.viewModeHeaderConfig as |config|}}\\n          {{component config.component\\n            config=config\\n          }}\\n      {{/let}}\\n      {{#let contentEditorService.editorConfiguration.seriesMode.viewModeSummaryConfig as |config|}}\\n        {{component config.component\\n          config=config\\n        }}\\n      {{/let}}\\n    {{else}}\\n      {{#let contentEditorService.editorConfiguration.seriesMode.headerComponentConfig as |config|}}\\n        {{component config.component\\n          config=config\\n        }}\\n      {{/let}}\\n      {{#each contentEditorService.editorConfiguration.seriesMode.editorComponentConfigs as |config|}}\\n        {{component config.component\\n          config=config\\n        }}\\n      {{/each}}\\n    {{/if}}\\n  </div>\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/content-editor/series-mode.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/series-mode.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class SeriesMode extends Component {\n  @service contentEditorService;\n\n  @action markClientDataAsOpened() {\n    this.contentEditorService.ruleset.clientData.openedSeriesEditor = true;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#unless this.contentEditorService.ruleset.isMemberOfSeries}}\\n  <div class=\\\"p-5\\\" data-test-show-until>\\n    <hr />\\n    <div class=\\\"pb-1\\\">\\n      <Paragraph @styling='label' data-test-label>Show {{this.contentEditorService.configRulesetLink.humanReadableObjectName}} until</Paragraph>\\n    </div>\\n    <IcSelect\\n      {{on \\\"click\\\" (track-analytics-event action=\\\"clicked\\\" object=\\\"custom_bot_show_until\\\")}}\\n      @mode=\\\"block\\\"\\n      @items={{this.groupList}}\\n      @selectedValue={{this.selectedValue}}\\n      @onSelectItem={{this.onSelectItem}}\\n      data-test-show-until-select\\n    />\\n  </div>\\n{{/unless}}\\n\", {\"contents\":\"{{#unless this.contentEditorService.ruleset.isMemberOfSeries}}\\n  <div class=\\\"p-5\\\" data-test-show-until>\\n    <hr />\\n    <div class=\\\"pb-1\\\">\\n      <Paragraph @styling='label' data-test-label>Show {{this.contentEditorService.configRulesetLink.humanReadableObjectName}} until</Paragraph>\\n    </div>\\n    <IcSelect\\n      {{on \\\"click\\\" (track-analytics-event action=\\\"clicked\\\" object=\\\"custom_bot_show_until\\\")}}\\n      @mode=\\\"block\\\"\\n      @items={{this.groupList}}\\n      @selectedValue={{this.selectedValue}}\\n      @onSelectItem={{this.onSelectItem}}\\n      data-test-show-until-select\\n    />\\n  </div>\\n{{/unless}}\\n\",\"moduleName\":\"embercom/components/content-editor/show-until.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/show-until.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport {\n  matchBehaviors,\n  objectNotificationPreferences,\n} from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class ShowUntil extends Component {\n  @service contentEditorService;\n\n  groupList = [\n    {\n      items: [\n        {\n          text: 'Seen',\n          icon: 'visible',\n          description: 'Show once, then not again.',\n          value: objectNotificationPreferences.seen,\n        },\n        {\n          text: 'Any interaction happens',\n          icon: 'cursor',\n          description: 'Show until engaged with, opened or dismissed.',\n          value: objectNotificationPreferences.interactedWith,\n        },\n        {\n          text: 'Engaged with',\n          icon: 'button-pill',\n          description: 'Show until engaged with. If dismissed, show again the next visit.',\n          value: objectNotificationPreferences.engagedWith,\n        },\n      ],\n    },\n  ];\n\n  get selectedValue() {\n    return this.contentEditorService.activeObject?.showUntil;\n  }\n\n  @action\n  onSelectItem(value) {\n    this.contentEditorService.activeObject.showUntil = value;\n    this.contentEditorService.ruleset.matchBehavior = this.matchBehavior();\n  }\n\n  matchBehavior() {\n    let useMultiMatchBehavior = this.contentEditorService.ruleset.rulesetLinks.any(\n      rulesetLink =>\n        rulesetLink.object.showUntil === objectNotificationPreferences.interactedWith ||\n        rulesetLink.object.showUntil === objectNotificationPreferences.engagedWith,\n    );\n\n    if (useMultiMatchBehavior) {\n      return matchBehaviors.multi;\n    }\n\n    return matchBehaviors.single;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Summaries::StandardSummary @config={{@config}}>\\n  {{#let (service 'content-editor-service.ruleset') as |ruleset|}}\\n    {{#if (and ruleset.isTriggeredByCode (has-feature \\\"team-mobile-programmatic-carousels\\\"))}}\\n      <Text @styling=\\\"muted\\\" data-test-warning>\\n        Turned off\\n      </Text>\\n    {{else}}\\n        <MatchingSystem::Content::Carousel::AudienceSummary\\n          @ruleset={{ruleset}}\\n          @hideMatchBehavior={{@config.hideMatchBehavior}}\\n          @hideClientPredicates={{@config.hideClientPredicates}}\\n          @allowedUserRoles={{@config.allowedUserRoles}}\\n          @useRolePredicateGroup={{true}}\\n        />\\n    {{/if}}\\n  {{/let}}\\n</ContentEditor::Summaries::StandardSummary>\\n\", {\"contents\":\"<ContentEditor::Summaries::StandardSummary @config={{@config}}>\\n  {{#let (service 'content-editor-service.ruleset') as |ruleset|}}\\n    {{#if (and ruleset.isTriggeredByCode (has-feature \\\"team-mobile-programmatic-carousels\\\"))}}\\n      <Text @styling=\\\"muted\\\" data-test-warning>\\n        Turned off\\n      </Text>\\n    {{else}}\\n        <MatchingSystem::Content::Carousel::AudienceSummary\\n          @ruleset={{ruleset}}\\n          @hideMatchBehavior={{@config.hideMatchBehavior}}\\n          @hideClientPredicates={{@config.hideClientPredicates}}\\n          @allowedUserRoles={{@config.allowedUserRoles}}\\n          @useRolePredicateGroup={{true}}\\n        />\\n    {{/if}}\\n  {{/let}}\\n</ContentEditor::Summaries::StandardSummary>\\n\",\"moduleName\":\"embercom/components/content-editor/summaries/audience/content/carousel/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/audience/content/carousel/summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Summaries::StandardSummary @config={{@config}}>\\n  {{#let (service 'content-editor-service.ruleset') as |ruleset|}}\\n    <MatchingSystem::AudienceSummary\\n      @ruleset={{ruleset}}\\n      @hideMatchBehavior={{@config.hideMatchBehavior}}\\n      @hideClientPredicates={{@config.hideClientPredicates}}\\n      @allowedUserRoles={{@config.allowedUserRoles}}\\n      @useRolePredicateGroup={{true}}\\n    />\\n  {{/let}}\\n</ContentEditor::Summaries::StandardSummary>\\n\", {\"contents\":\"<ContentEditor::Summaries::StandardSummary @config={{@config}}>\\n  {{#let (service 'content-editor-service.ruleset') as |ruleset|}}\\n    <MatchingSystem::AudienceSummary\\n      @ruleset={{ruleset}}\\n      @hideMatchBehavior={{@config.hideMatchBehavior}}\\n      @hideClientPredicates={{@config.hideClientPredicates}}\\n      @allowedUserRoles={{@config.allowedUserRoles}}\\n      @useRolePredicateGroup={{true}}\\n    />\\n  {{/let}}\\n</ContentEditor::Summaries::StandardSummary>\\n\",\"moduleName\":\"embercom/components/content-editor/summaries/audience/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/audience/summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Summaries::StandardSummary @config={{@config}}>\\n  {{#let (service 'content-editor-service.activeObject') as |activeObject|}}\\n    <Paragraph data-test-channel-summary-label class=\\\"pt-1\\\" @styling='muted'>{{activeObject.deliveryChannel.label}}</Paragraph>\\n  {{/let}}\\n</ContentEditor::Summaries::StandardSummary>\\n\", {\"contents\":\"<ContentEditor::Summaries::StandardSummary @config={{@config}}>\\n  {{#let (service 'content-editor-service.activeObject') as |activeObject|}}\\n    <Paragraph data-test-channel-summary-label class=\\\"pt-1\\\" @styling='muted'>{{activeObject.deliveryChannel.label}}</Paragraph>\\n  {{/let}}\\n</ContentEditor::Summaries::StandardSummary>\\n\",\"moduleName\":\"embercom/components/content-editor/summaries/channel/custom-bot/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/channel/custom-bot/summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-content-editor-banner-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n  {{#let (service \\\"content-editor-service.activeObject\\\") as |banner|}}\\n    <Banners::Editor::Content::BannerWebChrome\\n      @localizedBannerContent={{banner.localizedBannerContents.firstObject}}\\n      @banner={{banner}}\\n      @isEditing={{false}}\\n    />\\n  {{/let}}\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\", {\"contents\":\"<div data-test-content-editor-banner-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n  {{#let (service \\\"content-editor-service.activeObject\\\") as |banner|}}\\n    <Banners::Editor::Content::BannerWebChrome\\n      @localizedBannerContent={{banner.localizedBannerContents.firstObject}}\\n      @banner={{banner}}\\n      @isEditing={{false}}\\n    />\\n  {{/let}}\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\",\"moduleName\":\"embercom/components/content-editor/summaries/content/banner/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/content/banner/summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-content-editor-carousel-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    <Carousel::Editor @carousel={{service 'contentEditorService.activeObject'}}\\n    @isEditing={{false}}\\n    @hideStats={{false}}\\n />\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\\n\", {\"contents\":\"<div data-test-content-editor-carousel-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    <Carousel::Editor @carousel={{service 'contentEditorService.activeObject'}}\\n    @isEditing={{false}}\\n    @hideStats={{false}}\\n />\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/summaries/content/carousel/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/content/carousel/summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-content-editor-chat-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    <Chat::Editor @chat={{service 'contentEditorService.activeObject'}} @isEditing={{false}} />\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\\n\", {\"contents\":\"<div data-test-content-editor-chat-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    <Chat::Editor @chat={{service 'contentEditorService.activeObject'}} @isEditing={{false}} />\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/summaries/content/chat/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/content/chat/summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"ml-10 mt-2\\\" data-test-content-editor-condition-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    <p class=\\\"content-editor__summaries__content__condition\\\">\\n      <MatchingSystem::AudienceSelector::Main\\n        @ruleset={{this.contentEditorService.ruleset}}\\n        @audienceEditorConfiguration={{this.audienceEditorConfiguration}}\\n      />\\n    </p>\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\\n\", {\"contents\":\"<div class=\\\"ml-10 mt-2\\\" data-test-content-editor-condition-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    <p class=\\\"content-editor__summaries__content__condition\\\">\\n      <MatchingSystem::AudienceSelector::Main\\n        @ruleset={{this.contentEditorService.ruleset}}\\n        @audienceEditorConfiguration={{this.audienceEditorConfiguration}}\\n      />\\n    </p>\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/summaries/content/condition/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/content/condition/summary.hbs\"}});\nimport Component from '@glimmer/component';\nimport StandardAudienceEditorConfiguration from 'embercom/objects/content-editor/panels/audience/standard-audience-editor-configuration';\nimport { getOwner } from '@ember/application';\nimport { inject as service } from '@ember/service';\n\nexport default class Summary extends Component {\n  @service contentEditorService;\n\n  get showClientPredicates() {\n    return this.contentEditorService.ruleset.clientPredicateGroup.hasPredicates;\n  }\n\n  get audienceEditorConfiguration() {\n    let container = getOwner(this);\n\n    return new StandardAudienceEditorConfiguration({\n      showClientPredicates: this.showClientPredicates,\n      showAudiencePreview: false,\n      showMatchBehavior: false,\n      hideAddFilterGroupButton: true,\n      hideAddRule: true,\n      isDisabled: true,\n      container,\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col items-center gap-6\\\" data-test-control-group-preview={{true}}>\\n  <img src=\\\"assets/images/message-editor/control-group.png\\\" width=\\\"250px\\\" />\\n  {{#if @rulesetLink.isEnded}}\\n    <Heading @size=\\\"3\\\" data-test-control-group-summary-heading>Your control group test is ended</Heading>\\n    <Paragraph @styling=\\\"muted\\\" data-test-control-group-summary-description>\\n      Your {{@humanReadableObjectName}} was sent to only 50% of your audience to see if it helps you reach your goal.\\n    </Paragraph>\\n  {{else}}\\n    <Heading @size=\\\"3\\\" data-test-control-group-summary-heading>Your control group won't get the {{@humanReadableObjectName}}</Heading>\\n    <Paragraph @styling=\\\"muted\\\" data-test-control-group-summary-description>\\n      Your {{@humanReadableObjectName}} will be sent to only 50% of your audience to see if it helps you reach your goal.\\n    </Paragraph>\\n  {{/if}}\\n</div>\", {\"contents\":\"<div class=\\\"flex flex-col items-center gap-6\\\" data-test-control-group-preview={{true}}>\\n  <img src=\\\"assets/images/message-editor/control-group.png\\\" width=\\\"250px\\\" />\\n  {{#if @rulesetLink.isEnded}}\\n    <Heading @size=\\\"3\\\" data-test-control-group-summary-heading>Your control group test is ended</Heading>\\n    <Paragraph @styling=\\\"muted\\\" data-test-control-group-summary-description>\\n      Your {{@humanReadableObjectName}} was sent to only 50% of your audience to see if it helps you reach your goal.\\n    </Paragraph>\\n  {{else}}\\n    <Heading @size=\\\"3\\\" data-test-control-group-summary-heading>Your control group won't get the {{@humanReadableObjectName}}</Heading>\\n    <Paragraph @styling=\\\"muted\\\" data-test-control-group-summary-description>\\n      Your {{@humanReadableObjectName}} will be sent to only 50% of your audience to see if it helps you reach your goal.\\n    </Paragraph>\\n  {{/if}}\\n</div>\",\"moduleName\":\"embercom/components/content-editor/summaries/content/control-group/preview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/content/control-group/preview.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-content-editor-control-group-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    <div class=\\\"flex flex-col items-center gap-6\\\" data-test-control-group-summary={{true}}>\\n      {{#let (service 'content-editor-service') as |contentEditorService|}}\\n        <ContentEditor::Summaries::Content::ControlGroup::Preview\\n          @humanReadableObjectName={{contentEditorService.configRulesetLink.humanReadableObjectName}}\\n          @rulesetLink={{contentEditorService.activeRulesetLink}}\\n        />\\n      {{/let}}\\n    </div>\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\", {\"contents\":\"<div data-test-content-editor-control-group-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    <div class=\\\"flex flex-col items-center gap-6\\\" data-test-control-group-summary={{true}}>\\n      {{#let (service 'content-editor-service') as |contentEditorService|}}\\n        <ContentEditor::Summaries::Content::ControlGroup::Preview\\n          @humanReadableObjectName={{contentEditorService.configRulesetLink.humanReadableObjectName}}\\n          @rulesetLink={{contentEditorService.activeRulesetLink}}\\n        />\\n      {{/let}}\\n    </div>\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\",\"moduleName\":\"embercom/components/content-editor/summaries/content/control-group/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/content/control-group/summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-content-editor-custom-bot-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    {{#if this.customBot.hasBotAutoMessage}}\\n      <div data-test-custom-bots-preview>\\n        {{#if (has-feature 'lead-gen-interactive-custom-bot-preview-experiment')}}\\n          {{on-window \\\"message\\\" this.handleHostedMessengerWindowMessage}}\\n          <iframe\\n            id=\\\"hosted-messenger-sandbox\\\"\\n            src=\\\"{{this.iframeUrl}}\\\"\\n            sandbox=\\\"allow-scripts allow-same-origin allow-popups allow-forms\\\"\\n            scrolling=\\\"no\\\"\\n            width=\\\"900\\\"\\n            height=\\\"500\\\"\\n          />\\n        {{else}}\\n          <MessageEditor::Content::InApp::Editor\\n            @variation={{this.customBot.messageVariationForMessengerPreview}}\\n            @isMaximized={{true}}\\n            @isEditing={{false}}\\n            @deliveryPreviewEnabled={{true}}\\n            @dataPreviewEnabled={{true}}\\n            @currentDevice={{this.previewDeviceType}}\\n          />\\n        {{/if}}\\n      </div>\\n    {{else}}\\n      <CustomBots::Preview data-test-custom-bots-preview @customBot={{this.customBot}} />\\n    {{/if}}\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\\n\", {\"contents\":\"<div data-test-content-editor-custom-bot-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    {{#if this.customBot.hasBotAutoMessage}}\\n      <div data-test-custom-bots-preview>\\n        {{#if (has-feature 'lead-gen-interactive-custom-bot-preview-experiment')}}\\n          {{on-window \\\"message\\\" this.handleHostedMessengerWindowMessage}}\\n          <iframe\\n            id=\\\"hosted-messenger-sandbox\\\"\\n            src=\\\"{{this.iframeUrl}}\\\"\\n            sandbox=\\\"allow-scripts allow-same-origin allow-popups allow-forms\\\"\\n            scrolling=\\\"no\\\"\\n            width=\\\"900\\\"\\n            height=\\\"500\\\"\\n          />\\n        {{else}}\\n          <MessageEditor::Content::InApp::Editor\\n            @variation={{this.customBot.messageVariationForMessengerPreview}}\\n            @isMaximized={{true}}\\n            @isEditing={{false}}\\n            @deliveryPreviewEnabled={{true}}\\n            @dataPreviewEnabled={{true}}\\n            @currentDevice={{this.previewDeviceType}}\\n          />\\n        {{/if}}\\n      </div>\\n    {{else}}\\n      <CustomBots::Preview data-test-custom-bots-preview @customBot={{this.customBot}} />\\n    {{/if}}\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/summaries/content/custom-bot/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/content/custom-bot/summary.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\n\nexport default class Summary extends Component {\n  @service appService;\n  @service contentEditorService;\n\n  @tracked customBot = this.contentEditorService.activeObject;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get iframeUrl() {\n    return `${window.location.origin}/hosted_messenger/${this.app.id}`;\n  }\n\n  get hostedMessengerWindow() {\n    return window.frames['hosted-messenger-sandbox'].contentWindow;\n  }\n\n  @action\n  handleHostedMessengerWindowMessage(event) {\n    if (!this.app.canUseFeature('lead-gen-interactive-custom-bot-preview-experiment')) {\n      return;\n    }\n    switch (event.data.key) {\n      case 'hosted-messenger-opened':\n        this.hostedMessengerWindow.Intercom?.('hide');\n        this.hostedMessengerWindow.Intercom?.(\n          'private:previewOutboundCustomBot',\n          this.customBot.id,\n        );\n        break;\n      default:\n        console.log('Unhandled message', event);\n    }\n  }\n\n  get previewDeviceType() {\n    if (['android', 'ios'].includes(this.customBot.deliveryChannel.type)) {\n      return this.customBot.deliveryChannel.type;\n    }\n\n    if (['mobile'].includes(this.customBot.deliveryChannel.type)) {\n      return 'ios';\n    }\n\n    return 'web';\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-content-editor-email-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    <Email::Editor @email={{service 'contentEditorService.activeObject'}} @isEditing={{false}} />\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\\n\", {\"contents\":\"<div data-test-content-editor-email-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    <Email::Editor @email={{service 'contentEditorService.activeObject'}} @isEditing={{false}} />\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/summaries/content/email/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/content/email/summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-content-editor-post-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    <Post::Editor @post={{service 'contentEditorService.activeObject'}} @isEditing={{false}} />\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\\n\", {\"contents\":\"<div data-test-content-editor-post-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    <Post::Editor @post={{service 'contentEditorService.activeObject'}} @isEditing={{false}} />\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/summaries/content/post/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/content/post/summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-content-editor-push-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    <MobilePush::Editor\\n      @push={{service 'contentEditorService.activeObject'}}\\n      @isEditing={{false}}\\n    />\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\", {\"contents\":\"<div data-test-content-editor-push-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    <MobilePush::Editor\\n      @push={{service 'contentEditorService.activeObject'}}\\n      @isEditing={{false}}\\n    />\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\",\"moduleName\":\"embercom/components/content-editor/summaries/content/push/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/content/push/summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-content-editor-sms-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    <Sms::Editor\\n      @sms={{service 'contentEditorService.activeObject'}}\\n      @isEditing={{false}}\\n    />\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\", {\"contents\":\"<div data-test-content-editor-sms-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    <Sms::Editor\\n      @sms={{service 'contentEditorService.activeObject'}}\\n      @isEditing={{false}}\\n    />\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\",\"moduleName\":\"embercom/components/content-editor/summaries/content/sms/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/content/sms/summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (service 'content-editor-service') as |contentEditorService|}}\\n  <div class=\\\"flex flex-col\\\" data-test-summary-body>\\n    <div class=\\\"flex flex-row items-center justify-between gap-2 content-editor__summaries__standard-summary\\\" data-test-summary-body-header>\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <ContentEditor::Summaries::StateChangeSummary />\\n      </div>\\n      {{#if (and contentEditorService.ruleset.hasTests (not contentEditorService.isViewingVersionSnapshot))}}\\n        {{#if contentEditorService.activeRulesetLink.isLive}}\\n          {{#if contentEditorService.activeRulesetLink.isControlGroup}}\\n            <IcButton @type=\\\"secondary\\\" @onClick={{perform contentEditorService.endRulesetLink}}\\n                      data-test-end-control-group-button>\\n              {{ic-interface-icon \\\"stop\\\"}} End control group\\n            </IcButton>\\n          {{else if (not contentEditorService.ruleset.hasControlGroup)}}\\n            <ContentEditor::Headers::ValidationTooltip\\n              @content={{\\\"It's not possible to pause both versions of the message\\\"}}\\n              @disabled={{not this.disabledPauseRulesetLink}}\\n            >\\n              <IcButton\\n                @type=\\\"secondary\\\"\\n                @onClick={{perform contentEditorService.deactivateRulesetLink}}\\n                @disabled={{this.disabledPauseRulesetLink}}\\n                data-test-pause-test-button\\n              >\\n                {{ic-interface-icon \\\"pause\\\"}} Pause\\n                {{#if contentEditorService.ruleset.hasDifferentRulesetLinkTypes}}\\n                  {{contentEditorService.activeRulesetLink.humanReadableObjectName}}\\n                {{else}}\\n                  test {{character-index contentEditorService.activeRulesetLinkIndex}}\\n                {{/if}}\\n              </IcButton>\\n            </ContentEditor::Headers::ValidationTooltip>\\n          {{/if}}\\n        {{else if (not contentEditorService.activeRulesetLink.isControlGroup) }}\\n          <ContentEditor::Headers::ValidationTooltip\\n            @content={{this.disabledActivateRulesetLinkMessage}}\\n            @disabled={{not this.disabledActivateRulesetLink}}\\n          >\\n            <IcButton\\n              @type=\\\"secondary-live\\\"\\n              @onClick={{perform contentEditorService.activateRulesetLink}}\\n              @disabled={{this.disabledActivateRulesetLink}}\\n              data-test-set-test-live-button\\n            >\\n              {{ic-interface-icon \\\"put-live\\\"}} Set\\n              {{#if contentEditorService.ruleset.hasDifferentRulesetLinkTypes}}\\n                {{contentEditorService.activeRulesetLink.humanReadableObjectName}}\\n              {{else}}\\n                test {{character-index contentEditorService.activeRulesetLinkIndex}}\\n              {{/if}} live\\n            </IcButton>\\n          </ContentEditor::Headers::ValidationTooltip>\\n        {{/if}}\\n        {{#if (or contentEditorService.activeRulesetLink.isControlGroup (not contentEditorService.ruleset.hasControlGroup))}}\\n          <IcButton\\n            @type=\\\"secondary-destructive\\\"\\n            @onClick={{contentEditorService.deleteTest}}\\n            @iconOnly={{true}}\\n            data-test-delete-ab-test-button\\n          >\\n            {{ic-interface-icon \\\"trash\\\" solo=true}}\\n          </IcButton>\\n        {{/if}}\\n      {{/if}}\\n    </div>\\n\\n    <div class=\\\"flex flex-col gap-2\\\">\\n      {{#if @config.title}}\\n        <Heading @size=\\\"2\\\" data-test-summary-title>{{@config.title}}</Heading>\\n      {{/if}}\\n      <div class=\\\"flex flex-col flex-1 content-editor__summaries__standard-summary__yield-container\\\">\\n        {{yield}}\\n      </div>\\n    </div>\\n  </div>\\n{{/let}}\\n\", {\"contents\":\"{{#let (service 'content-editor-service') as |contentEditorService|}}\\n  <div class=\\\"flex flex-col\\\" data-test-summary-body>\\n    <div class=\\\"flex flex-row items-center justify-between gap-2 content-editor__summaries__standard-summary\\\" data-test-summary-body-header>\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <ContentEditor::Summaries::StateChangeSummary />\\n      </div>\\n      {{#if (and contentEditorService.ruleset.hasTests (not contentEditorService.isViewingVersionSnapshot))}}\\n        {{#if contentEditorService.activeRulesetLink.isLive}}\\n          {{#if contentEditorService.activeRulesetLink.isControlGroup}}\\n            <IcButton @type=\\\"secondary\\\" @onClick={{perform contentEditorService.endRulesetLink}}\\n                      data-test-end-control-group-button>\\n              {{ic-interface-icon \\\"stop\\\"}} End control group\\n            </IcButton>\\n          {{else if (not contentEditorService.ruleset.hasControlGroup)}}\\n            <ContentEditor::Headers::ValidationTooltip\\n              @content={{\\\"It's not possible to pause both versions of the message\\\"}}\\n              @disabled={{not this.disabledPauseRulesetLink}}\\n            >\\n              <IcButton\\n                @type=\\\"secondary\\\"\\n                @onClick={{perform contentEditorService.deactivateRulesetLink}}\\n                @disabled={{this.disabledPauseRulesetLink}}\\n                data-test-pause-test-button\\n              >\\n                {{ic-interface-icon \\\"pause\\\"}} Pause\\n                {{#if contentEditorService.ruleset.hasDifferentRulesetLinkTypes}}\\n                  {{contentEditorService.activeRulesetLink.humanReadableObjectName}}\\n                {{else}}\\n                  test {{character-index contentEditorService.activeRulesetLinkIndex}}\\n                {{/if}}\\n              </IcButton>\\n            </ContentEditor::Headers::ValidationTooltip>\\n          {{/if}}\\n        {{else if (not contentEditorService.activeRulesetLink.isControlGroup) }}\\n          <ContentEditor::Headers::ValidationTooltip\\n            @content={{this.disabledActivateRulesetLinkMessage}}\\n            @disabled={{not this.disabledActivateRulesetLink}}\\n          >\\n            <IcButton\\n              @type=\\\"secondary-live\\\"\\n              @onClick={{perform contentEditorService.activateRulesetLink}}\\n              @disabled={{this.disabledActivateRulesetLink}}\\n              data-test-set-test-live-button\\n            >\\n              {{ic-interface-icon \\\"put-live\\\"}} Set\\n              {{#if contentEditorService.ruleset.hasDifferentRulesetLinkTypes}}\\n                {{contentEditorService.activeRulesetLink.humanReadableObjectName}}\\n              {{else}}\\n                test {{character-index contentEditorService.activeRulesetLinkIndex}}\\n              {{/if}} live\\n            </IcButton>\\n          </ContentEditor::Headers::ValidationTooltip>\\n        {{/if}}\\n        {{#if (or contentEditorService.activeRulesetLink.isControlGroup (not contentEditorService.ruleset.hasControlGroup))}}\\n          <IcButton\\n            @type=\\\"secondary-destructive\\\"\\n            @onClick={{contentEditorService.deleteTest}}\\n            @iconOnly={{true}}\\n            data-test-delete-ab-test-button\\n          >\\n            {{ic-interface-icon \\\"trash\\\" solo=true}}\\n          </IcButton>\\n        {{/if}}\\n      {{/if}}\\n    </div>\\n\\n    <div class=\\\"flex flex-col gap-2\\\">\\n      {{#if @config.title}}\\n        <Heading @size=\\\"2\\\" data-test-summary-title>{{@config.title}}</Heading>\\n      {{/if}}\\n      <div class=\\\"flex flex-col flex-1 content-editor__summaries__standard-summary__yield-container\\\">\\n        {{yield}}\\n      </div>\\n    </div>\\n  </div>\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/content-editor/summaries/content/standard-body-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/content/standard-body-header.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class StandardBodyHeader extends Component {\n  @service contentEditorService;\n\n  get disabledPauseRulesetLink() {\n    let ruleset = this.contentEditorService.ruleset;\n    if (!ruleset.isMemberOfSeries) {\n      return false;\n    }\n    let liveRulesetLinks = ruleset.rulesetLinks.filter(rulesetLink => rulesetLink.isLive).length;\n    return liveRulesetLinks <= 1;\n  }\n\n  get disabledActivateRulesetLinkMessage() {\n    let message = '';\n    let ruleset = this.contentEditorService.ruleset;\n    let activeRulesetLink = this.contentEditorService.activeRulesetLink;\n    if (ruleset.isMemberOfSeries && ruleset.isPaused) {\n      message = \"It's not possible to set a version live when the Series is not live\";\n    }\n    if (!activeRulesetLink.isValid) {\n      message = activeRulesetLink.object.validations.errors.firstObject.message;\n    }\n    return message;\n  }\n\n  get disabledActivateRulesetLink() {\n    return Boolean(this.disabledActivateRulesetLinkMessage);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"ml-6 mt-2\\\" data-test-content-editor-tagger-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    <Tagger::Summary @tagger={{service 'contentEditorService.activeObject'}} />\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\\n\\n\", {\"contents\":\"<div class=\\\"ml-6 mt-2\\\" data-test-content-editor-tagger-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    <Tagger::Summary @tagger={{service 'contentEditorService.activeObject'}} />\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\\n\\n\",\"moduleName\":\"embercom/components/content-editor/summaries/content/tagger/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/content/tagger/summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-content-editor-tour-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    <Tours::Editor::TimelineComponent\\n      @tour={{service 'contentEditorService.activeObject'}}\\n      @isEditing={{false}}\\n    />\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\\n\", {\"contents\":\"<div data-test-content-editor-tour-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    <Tours::Editor::TimelineComponent\\n      @tour={{service 'contentEditorService.activeObject'}}\\n      @isEditing={{false}}\\n    />\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/summaries/content/tour/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/content/tour/summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"ml-6 mt-2\\\" data-test-content-editor-wait-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    {{#if this.wait.isAbsolute}}\\n      <Paragraph @styling=\\\"muted\\\">\\n        {{ic-interface-icon 'clock' color='gray'}} People will wait until {{moment-format this.wait.timeDelayAsMoment \\\"MMM D, YYYY, HH:mm\\\"}} ({{format-timezone (get (service 'appService') 'app.timezone')}})\\n      </Paragraph>\\n    {{else}}\\n      <Paragraph @styling=\\\"muted\\\">\\n        {{ic-interface-icon 'clock' color='gray'}} People will wait for {{this.formattedTimeDelay}}\\n      </Paragraph>\\n    {{/if}}\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\\n\", {\"contents\":\"<div class=\\\"ml-6 mt-2\\\" data-test-content-editor-wait-content-summary>\\n  <ContentEditor::Summaries::Content::StandardBodyHeader @config={{@config}}>\\n    {{#if this.wait.isAbsolute}}\\n      <Paragraph @styling=\\\"muted\\\">\\n        {{ic-interface-icon 'clock' color='gray'}} People will wait until {{moment-format this.wait.timeDelayAsMoment \\\"MMM D, YYYY, HH:mm\\\"}} ({{format-timezone (get (service 'appService') 'app.timezone')}})\\n      </Paragraph>\\n    {{else}}\\n      <Paragraph @styling=\\\"muted\\\">\\n        {{ic-interface-icon 'clock' color='gray'}} People will wait for {{this.formattedTimeDelay}}\\n      </Paragraph>\\n    {{/if}}\\n  </ContentEditor::Summaries::Content::StandardBodyHeader>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/summaries/content/wait/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/content/wait/summary.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport moment from 'moment';\n\nexport default class VersionSummary extends Component {\n  @service contentEditorService;\n\n  get wait() {\n    return this.contentEditorService.activeObject;\n  }\n\n  get formattedTimeDelay() {\n    let delayDuration = moment.duration(this.wait.timeDelay, 'seconds');\n    return delayDuration.format('d [days], h [hours], m [minutes]', { trim: 'all', minValue: 1 });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Summaries::StandardSummary @config={{@config}}>\\n  <div class=\\\"text o__muted\\\" data-test-content-editor-goal-summary>\\n    <StatsSystem::Goals::GoalSummary @goal={{this.ruleset.goal}} />\\n  </div>\\n</ContentEditor::Summaries::StandardSummary>\\n\", {\"contents\":\"<ContentEditor::Summaries::StandardSummary @config={{@config}}>\\n  <div class=\\\"text o__muted\\\" data-test-content-editor-goal-summary>\\n    <StatsSystem::Goals::GoalSummary @goal={{this.ruleset.goal}} />\\n  </div>\\n</ContentEditor::Summaries::StandardSummary>\\n\",\"moduleName\":\"embercom/components/content-editor/summaries/goal/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/goal/summary.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  tagName: '',\n  contentEditorService: service(),\n  ruleset: readOnly('contentEditorService.ruleset'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"pb-1\\\">{{ic-interface-icon \\\"clock\\\" color=\\\"gray\\\"}} Send on:</div>\\n<div data-test-custom-times class=\\\"pl-6\\\">\\n  {{#each this.timeStringsByDay as |timeString|}}\\n    <div class=\\\"pb-1\\\">{{timeString}}</div>\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"pb-1\\\">{{ic-interface-icon \\\"clock\\\" color=\\\"gray\\\"}} Send on:</div>\\n<div data-test-custom-times class=\\\"pl-6\\\">\\n  {{#each this.timeStringsByDay as |timeString|}}\\n    <div class=\\\"pb-1\\\">{{timeString}}</div>\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/summaries/schedule/custom-times-summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/schedule/custom-times-summary.hbs\"}});\nimport Component from '@glimmer/component';\nimport moment from 'moment';\n\nexport default class CustomTimesSummary extends Component {\n  get intervalsByDay() {\n    return [0, 1, 2, 3, 4, 5, 6].map(day => this.args.matchingTimetable.timeIntervalsForDay(day));\n  }\n\n  get timeStringsByDay() {\n    return this.intervalsByDay\n      .map((intervals, day) => this._generateMessageForDay(intervals, day))\n      .filter(string => string.length > 0);\n  }\n\n  _generateMessageForDay(intervals, day) {\n    if (intervals.length === 0) {\n      return '';\n    }\n    let dayString = this._dayIntToName(day);\n    let intervalMessages = intervals.map(interval => this._generateIntervalMessage(interval, day));\n    return `${dayString} ${intervalMessages.join(' and ')}`;\n  }\n\n  _generateIntervalMessage(interval, day) {\n    let startTime = this._adjustedMinutesToString(interval.adjustedStartMinute);\n    let endTime = this._adjustedMinutesToString(interval.adjustedEndMinute);\n\n    if (interval.startDay < day) {\n      startTime = '12:00AM';\n    }\n    if (interval.endDay > day) {\n      endTime = '12:00AM';\n    }\n    return `from ${startTime} to ${endTime}`;\n  }\n\n  _adjustedMinutesToString(minutes) {\n    return moment\n      .utc()\n      .startOf('day')\n      .add(minutes, 'minutes')\n      .format('h:mmA');\n  }\n\n  _dayIntToName(dayInt) {\n    return moment()\n      .day(dayInt + 1)\n      .format('dddd');\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-center\\\">\\n  <div class=\\\"pb-1 u__center-layout\\\">Send on:</div>\\n  <div class=\\\"flex flex-row\\\">\\n    {{#each this.timeStringsByDay as |timeString|}}\\n      <div data-test-custom-times class=\\\"pl-6\\\">\\n        <div class=\\\"pb-1\\\">{{timeString}}</div>\\n      </div>\\n    {{/each}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row items-center\\\">\\n  <div class=\\\"pb-1 u__center-layout\\\">Send on:</div>\\n  <div class=\\\"flex flex-row\\\">\\n    {{#each this.timeStringsByDay as |timeString|}}\\n      <div data-test-custom-times class=\\\"pl-6\\\">\\n        <div class=\\\"pb-1\\\">{{timeString}}</div>\\n      </div>\\n    {{/each}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/summaries/schedule/series-custom-times-summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/schedule/series-custom-times-summary.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport CustomTimesSummary from './custom-times-summary';\n\nexport default class SeriesCustomTimesSummary extends CustomTimesSummary {}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row gap-6\\\" data-test-content-editor-schedule-summary>\\n  <Paragraph @styling=\\\"muted\\\" data-test-schedule-timetable-message>\\n    {{#if this.contentEditorService.ruleset.matchingTimetable.isCustomTimesType}}\\n      <ContentEditor::Summaries::Schedule::SeriesCustomTimesSummary\\n        @matchingTimetable={{this.contentEditorService.ruleset.matchingTimetable}}\\n      />\\n    {{else}}\\n      {{this.timetableMessage}}\\n    {{/if}}\\n  </Paragraph>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row gap-6\\\" data-test-content-editor-schedule-summary>\\n  <Paragraph @styling=\\\"muted\\\" data-test-schedule-timetable-message>\\n    {{#if this.contentEditorService.ruleset.matchingTimetable.isCustomTimesType}}\\n      <ContentEditor::Summaries::Schedule::SeriesCustomTimesSummary\\n        @matchingTimetable={{this.contentEditorService.ruleset.matchingTimetable}}\\n      />\\n    {{else}}\\n      {{this.timetableMessage}}\\n    {{/if}}\\n  </Paragraph>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/summaries/schedule/series-summary-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/schedule/series-summary-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport SummaryComponent from './summary-component';\n\nexport default class SeriesSummaryComponent extends SummaryComponent {}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row gap-6\\\" data-test-content-editor-schedule-summary>\\n  <Paragraph @styling=\\\"muted\\\" data-test-schedule-activation-message>\\n    {{this.activationMessage}}\\n  </Paragraph>\\n  <Paragraph @styling=\\\"muted\\\" data-test-schedule-deactivation-message>\\n    {{this.deactivationMessage}}\\n  </Paragraph>\\n  <Paragraph @styling=\\\"muted\\\" data-test-schedule-timetable-message>\\n    {{#if this.contentEditorService.ruleset.matchingTimetable.isCustomTimesType}}\\n      <ContentEditor::Summaries::Schedule::CustomTimesSummary\\n        @matchingTimetable={{this.contentEditorService.ruleset.matchingTimetable}}\\n      />\\n    {{else}}\\n      {{this.timetableMessage}}\\n    {{/if}}\\n  </Paragraph>\\n</div>\\n\\n\", {\"contents\":\"<div class=\\\"flex flex-row gap-6\\\" data-test-content-editor-schedule-summary>\\n  <Paragraph @styling=\\\"muted\\\" data-test-schedule-activation-message>\\n    {{this.activationMessage}}\\n  </Paragraph>\\n  <Paragraph @styling=\\\"muted\\\" data-test-schedule-deactivation-message>\\n    {{this.deactivationMessage}}\\n  </Paragraph>\\n  <Paragraph @styling=\\\"muted\\\" data-test-schedule-timetable-message>\\n    {{#if this.contentEditorService.ruleset.matchingTimetable.isCustomTimesType}}\\n      <ContentEditor::Summaries::Schedule::CustomTimesSummary\\n        @matchingTimetable={{this.contentEditorService.ruleset.matchingTimetable}}\\n      />\\n    {{else}}\\n      {{this.timetableMessage}}\\n    {{/if}}\\n  </Paragraph>\\n</div>\\n\\n\",\"moduleName\":\"embercom/components/content-editor/summaries/schedule/summary-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/schedule/summary-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport moment from 'moment';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\n\nexport default class SummaryComponent extends Component {\n  @service contentEditorService;\n  @service appService;\n\n  get activationMessage() {\n    if (!this.contentEditorService.ruleset.scheduledActivation) {\n      return 'Start sending immediately';\n    } else {\n      return `Start sending on ${this.formattedDate(\n        this.contentEditorService.ruleset.scheduledActivation.changeAt,\n      )}`;\n    }\n  }\n\n  get deactivationMessage() {\n    if (!this.contentEditorService.ruleset.scheduledDeactivation) {\n      return 'Never stop sending';\n    } else {\n      return `Stop sending on ${this.formattedDate(\n        this.contentEditorService.ruleset.scheduledDeactivation.changeAt,\n      )}`;\n    }\n  }\n\n  get timetableMessage() {\n    let matchingTimetable = this.contentEditorService.ruleset.matchingTimetable;\n    if (!matchingTimetable) {\n      return 'Any day, any time';\n    } else if (matchingTimetable.isInsideOfficeHoursType) {\n      return 'During office hours';\n    } else if (matchingTimetable.isOutsideOfficeHoursType) {\n      return 'Outside office hours';\n    } else {\n      return 'Custom times';\n    }\n  }\n\n  formattedDate(date) {\n    let timezone = this.appService.app.timezone;\n    let dayTime = moment(date)\n      .tz(timezone)\n      .format(dateAndTimeFormats.fullDateAndTimeWithoutTimezoneWithDayName);\n    let timezoneName = this.formattedTimezoneName(timezone);\n    let timezoneOffset = this.formattedUtcOffset(timezone);\n    return `${dayTime} ${timezoneName} time (${timezoneOffset})`;\n  }\n\n  formattedTimezoneName(timezone) {\n    return timezone.slice(timezone.lastIndexOf('/') + 1).replace(/_/g, ' ');\n  }\n\n  formattedUtcOffset(timezone) {\n    return moment\n      .tz(timezone)\n      .format('[GMT]Z')\n      .replace(/0(\\d:)/, '$1')\n      .replace(':00', '');\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Summaries::StandardSummary @config={{@config}}>\\n  <ContentEditor::Summaries::Schedule::SummaryComponent/>\\n</ContentEditor::Summaries::StandardSummary>\\n\", {\"contents\":\"<ContentEditor::Summaries::StandardSummary @config={{@config}}>\\n  <ContentEditor::Summaries::Schedule::SummaryComponent/>\\n</ContentEditor::Summaries::StandardSummary>\\n\",\"moduleName\":\"embercom/components/content-editor/summaries/schedule/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/schedule/summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @config.isVisible}}\\n  <div class=\\\"flex flex-col\\\">\\n    <div class=\\\"flex flex-row gap-8 content-editor__summaries__standard-summary\\\">\\n      <Heading @size=\\\"2\\\" class=\\\"pt-2 pb-2\\\" data-test-summary-title>{{@config.title}}</Heading>\\n      <div class=\\\"flex flex-col flex-1 m-auto content-editor__summaries__standard-summary__body\\\" data-test-summary-body>\\n        {{yield}}\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\", {\"contents\":\"{{#if @config.isVisible}}\\n  <div class=\\\"flex flex-col\\\">\\n    <div class=\\\"flex flex-row gap-8 content-editor__summaries__standard-summary\\\">\\n      <Heading @size=\\\"2\\\" class=\\\"pt-2 pb-2\\\" data-test-summary-title>{{@config.title}}</Heading>\\n      <div class=\\\"flex flex-col flex-1 m-auto content-editor__summaries__standard-summary__body\\\" data-test-summary-body>\\n        {{yield}}\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\",\"moduleName\":\"embercom/components/content-editor/summaries/standard-summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/standard-summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (and (not this.rulesetLink.isDraft) (not (and this.app.canUseMatchingSystemVersioning this.contentEditorService.ruleset.hasContentWithVersions)))}}\\n  <div class=\\\"flex flex-row items-center gap-2\\\" data-test-state-change-text>\\n    <Text @styling=\\\"muted\\\">{{this.stateChangeText}}</Text>\\n    <IcAvatarComponent @model={{this.stateChangeAdmin}} @size=\\\"xs\\\" />\\n    <Text @styling=\\\"muted\\\">{{this.stateChangeAdmin.firstNameOrNameOrEmail}}</Text>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if (and (not this.rulesetLink.isDraft) (not (and this.app.canUseMatchingSystemVersioning this.contentEditorService.ruleset.hasContentWithVersions)))}}\\n  <div class=\\\"flex flex-row items-center gap-2\\\" data-test-state-change-text>\\n    <Text @styling=\\\"muted\\\">{{this.stateChangeText}}</Text>\\n    <IcAvatarComponent @model={{this.stateChangeAdmin}} @size=\\\"xs\\\" />\\n    <Text @styling=\\\"muted\\\">{{this.stateChangeAdmin.firstNameOrNameOrEmail}}</Text>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/content-editor/summaries/state-change-summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/state-change-summary.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport fullRelativeTimeAgo from 'embercom/lib/full-relative-time-ago';\nimport Admin from 'embercom/models/admin';\nimport { states } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default Component.extend({\n  tagName: '',\n  store: service(),\n  contentEditorService: service(),\n  appService: service(),\n  rulesetLink: readOnly('contentEditorService.activeRulesetLink'),\n  stateChangeAdmin: computed('rulesetLink.lastStateChange.changedById', function() {\n    return Admin.peekAndMaybeLoad(this.store, this.rulesetLink.lastStateChange.get('changedById'));\n  }),\n  app: readOnly('appService.app'),\n  stateChangeText: computed('rulesetLink.state', function() {\n    switch (this.rulesetLink.state) {\n      case states.live:\n        return `Set live ${fullRelativeTimeAgo(\n          this.rulesetLink.lastStateChange.get('createdAt'),\n        ).toLowerCase()} by`;\n      case states.paused:\n        return `Paused ${fullRelativeTimeAgo(\n          this.rulesetLink.lastStateChange.get('createdAt'),\n        ).toLowerCase()} by`;\n      case states.scheduled:\n        return 'Scheduled by';\n      default:\n        return 'Changed by';\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Summaries::StandardSummary @config={{@config}}>\\n  {{#let (service 'contentEditorService.ruleset') as |ruleset|}}\\n    <a\\n      {{copy-to-clipboard\\n        text=ruleset.id\\n        confirmationMessage=\\\"ID for your carousel has been copied to your clipboard\\\"\\n      }}\\n      data-test-copy-id-btn\\n    >\\n      <Text @styling=\\\"muted\\\">\\n        {{ic-interface-icon \\\"duplicate\\\"}} Copy carousel ID\\n      </Text>\\n    </a>\\n  {{/let}}\\n</ContentEditor::Summaries::StandardSummary>\\n\", {\"contents\":\"<ContentEditor::Summaries::StandardSummary @config={{@config}}>\\n  {{#let (service 'contentEditorService.ruleset') as |ruleset|}}\\n    <a\\n      {{copy-to-clipboard\\n        text=ruleset.id\\n        confirmationMessage=\\\"ID for your carousel has been copied to your clipboard\\\"\\n      }}\\n      data-test-copy-id-btn\\n    >\\n      <Text @styling=\\\"muted\\\">\\n        {{ic-interface-icon \\\"duplicate\\\"}} Copy carousel ID\\n      </Text>\\n    </a>\\n  {{/let}}\\n</ContentEditor::Summaries::StandardSummary>\\n\",\"moduleName\":\"embercom/components/content-editor/summaries/trigger-programmatically/carousel/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/summaries/trigger-programmatically/carousel/summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Tabs::StandardTab @config={{@config}}>\\n  <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\" class=\\\"text-gray content-editor__tabs__tab-label\\\">\\n    <span data-test-stats-tab-icon={{@config.icon}}>{{ic-interface-icon @config.icon}}</span>\\n  </Heading>\\n  <p class=\\\"t__label content-editor__tabs__tab-label\\\" data-test-tab-label=\\\"{{@config.label}}\\\">\\n    {{@config.label}}\\n  </p>\\n</ContentEditor::Tabs::StandardTab>\\n\", {\"contents\":\"<ContentEditor::Tabs::StandardTab @config={{@config}}>\\n  <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\" class=\\\"text-gray content-editor__tabs__tab-label\\\">\\n    <span data-test-stats-tab-icon={{@config.icon}}>{{ic-interface-icon @config.icon}}</span>\\n  </Heading>\\n  <p class=\\\"t__label content-editor__tabs__tab-label\\\" data-test-tab-label=\\\"{{@config.label}}\\\">\\n    {{@config.label}}\\n  </p>\\n</ContentEditor::Tabs::StandardTab>\\n\",\"moduleName\":\"embercom/components/content-editor/tabs/custom-bot/path-analysis-tab.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/tabs/custom-bot/path-analysis-tab.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Tabs::StandardTab @config={{@config}}>\\n  {{#if this.contentEditorService.isViewingVersionSnapshot}}\\n    <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\" class=\\\"content-editor__tabs__tab-label\\\" data-test-version-reaction-stats>\\n      {{or (format-percentage this.selectedVersionStats.denominator this.selectedVersionStats.value) \\\"—\\\"}}\\n    </Heading>\\n  {{else}}\\n    {{#if (not @config.statistic.subaggregations.length)}}\\n      <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\" class=\\\"content-editor__tabs__tab-label\\\" data-test-empty-reaction>\\n          —\\n      </Heading>\\n    {{else}}\\n    <div class=\\\"flex flex-row\\\">\\n        {{#each this.reactionStats as |reaction|}}\\n          <div class=\\\"flex flex-row mr-2\\\" data-test-reaction-stat=\\\"{{reaction.unicodeEmoticon}}\\\">\\n            <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\" class=\\\"mr-4\\\" data-test-reaction=\\\"{{reaction.unicodeEmoticon}}\\\">\\n              {{reaction.unicodeEmoticon}}\\n            </Heading>\\n            <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\"  class=\\\"content-editor__tabs__tab-label\\\" data-test-reaction-stat-value=\\\"{{reaction.unicodeEmoticon}}\\\">\\n              {{or (format-percentage @config.statistic.denominator reaction.count)}}\\n            </Heading>\\n          </div>\\n        {{/each}}\\n      </div>\\n    {{/if}}\\n  {{/if}}\\n\\n  <p class=\\\"t__label content-editor__tabs__tab-label\\\" data-test-tab-label=\\\"{{@config.label}}\\\">\\n    {{@config.label}}\\n  </p>\\n</ContentEditor::Tabs::StandardTab>\\n\", {\"contents\":\"<ContentEditor::Tabs::StandardTab @config={{@config}}>\\n  {{#if this.contentEditorService.isViewingVersionSnapshot}}\\n    <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\" class=\\\"content-editor__tabs__tab-label\\\" data-test-version-reaction-stats>\\n      {{or (format-percentage this.selectedVersionStats.denominator this.selectedVersionStats.value) \\\"—\\\"}}\\n    </Heading>\\n  {{else}}\\n    {{#if (not @config.statistic.subaggregations.length)}}\\n      <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\" class=\\\"content-editor__tabs__tab-label\\\" data-test-empty-reaction>\\n          —\\n      </Heading>\\n    {{else}}\\n    <div class=\\\"flex flex-row\\\">\\n        {{#each this.reactionStats as |reaction|}}\\n          <div class=\\\"flex flex-row mr-2\\\" data-test-reaction-stat=\\\"{{reaction.unicodeEmoticon}}\\\">\\n            <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\" class=\\\"mr-4\\\" data-test-reaction=\\\"{{reaction.unicodeEmoticon}}\\\">\\n              {{reaction.unicodeEmoticon}}\\n            </Heading>\\n            <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\"  class=\\\"content-editor__tabs__tab-label\\\" data-test-reaction-stat-value=\\\"{{reaction.unicodeEmoticon}}\\\">\\n              {{or (format-percentage @config.statistic.denominator reaction.count)}}\\n            </Heading>\\n          </div>\\n        {{/each}}\\n      </div>\\n    {{/if}}\\n  {{/if}}\\n\\n  <p class=\\\"t__label content-editor__tabs__tab-label\\\" data-test-tab-label=\\\"{{@config.label}}\\\">\\n    {{@config.label}}\\n  </p>\\n</ContentEditor::Tabs::StandardTab>\\n\",\"moduleName\":\"embercom/components/content-editor/tabs/reactions/stat-tab.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/tabs/reactions/stat-tab.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class StatTab extends Component {\n  @service contentEditorService;\n\n  get reactionStats() {\n    let ruleset = this.contentEditorService.ruleset;\n    let rulesetReactions = ruleset.rulesetLinks.firstObject.object.reactionSet;\n    let aggregatedReactionStats = this.args.config.statistic.subaggregations;\n\n    let stats = rulesetReactions.map(function(reaction) {\n      let reactionStat = aggregatedReactionStats.filterBy('value', reaction.unicodeEmoticon);\n      let reactionCount = reactionStat.firstObject ? reactionStat.firstObject.count : 0;\n      return {\n        unicodeEmoticon: reaction.unicodeEmoticon,\n        count: reactionCount,\n      };\n    });\n    return stats.sortBy('count').reverse();\n  }\n\n  get selectedVersionStats() {\n    let contentStats = this.contentEditorService.selectedVersion.contentStats.filter(\n      object => object.content_id === this.contentEditorService.activeObjectId,\n    ).firstObject.stats;\n    return contentStats.findBy('key', this.args.config.statisticKey);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Tabs::StandardTab @config={{@config}}>\\n  <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\" class=\\\"content-editor__tabs__tab-label\\\" data-test-tab-label=\\\"{{@config.label}}\\\">\\n    {{@config.label}}\\n  </Heading>\\n  <p class=\\\"t__label content-editor__tabs__tab-label\\\">\\n    <span>Overview</span>\\n  </p>\\n</ContentEditor::Tabs::StandardTab>\\n\", {\"contents\":\"<ContentEditor::Tabs::StandardTab @config={{@config}}>\\n  <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\" class=\\\"content-editor__tabs__tab-label\\\" data-test-tab-label=\\\"{{@config.label}}\\\">\\n    {{@config.label}}\\n  </Heading>\\n  <p class=\\\"t__label content-editor__tabs__tab-label\\\">\\n    <span>Overview</span>\\n  </p>\\n</ContentEditor::Tabs::StandardTab>\\n\",\"moduleName\":\"embercom/components/content-editor/tabs/standard-content-tab.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/tabs/standard-content-tab.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.contentEditorService.ruleset.hasTests}}\\n  <div class=\\\"flex flex-row items-center justify-between\\\" ...attributes>\\n    <IcTabControl\\n      @onSelectionChange={{this.contentEditorService.changeActiveRulesetLink}}\\n      @selectedTab={{this.contentEditorService.activeRulesetLink}}\\n      data-test-ab-test-switcher\\n      as |control|\\n    >\\n      {{#each this.contentEditorService.ruleset.rulesetLinks as |rulesetLink index|}}\\n        <control.tab @label=\\\"\\\" @value={{rulesetLink}}>\\n          <div class=\\\"flex flex-row items-center gap-3\\\" data-test-ab-test-tab={{index}}>\\n            <div class=\\\"flex flex-col\\\" data-test-ab-test-label={{index}}>\\n              {{#if this.contentEditorService.ruleset.hasDifferentRulesetLinkTypes}}\\n                {{capitalize rulesetLink.humanReadableObjectName}}\\n              {{else}}\\n                Test {{character-index index}}\\n              {{/if}}\\n            </div>\\n            <div class=\\\"flex flex-col\\\" data-test-ab-test-label-state={{index}}>\\n              {{ic-stamp (state-name state=rulesetLink.state objectType=rulesetLink.objectType matchBehavior=this.contentEditorService.ruleset.matchBehavior)}}\\n            </div>\\n          </div>\\n        </control.tab>\\n      {{/each}}\\n    </IcTabControl>\\n    {{#if this.contentEditorService.isEditMode}}\\n      <div class=\\\"flex flex-row items-center gap-2\\\">\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/onboard-and-engage-customers/see-how-your-messages-are-doing/measure-message-effectiveness-with-goals-and-ab-testing\\\"\\n          @title={{concat 'Learn more about ' (if this.contentEditorService.activeRulesetLink.isControlGroup 'control groups' 'A/B')}}\\n          @type=\\\"article\\\"\\n          {{on 'click' this.clickLearnMoreAboutAB}}\\n          data-test-learn-more-about-ab\\n        />\\n        {{#if (or (not this.contentEditorService.ruleset.hasDifferentRulesetLinkTypes) this.contentEditorService.activeRulesetLink.isControlGroup) }}\\n          <IcButton\\n            @subtle={{true}}\\n            @type=\\\"secondary-destructive\\\"\\n            @onClick={{this.contentEditorService.deleteTest}}\\n            data-test-delete-ab-test-button\\n          >\\n            {{ic-interface-icon \\\"trash\\\"}} Delete\\n            {{#if this.contentEditorService.activeRulesetLink.isControlGroup}}\\n              control group\\n            {{else}}\\n              test {{character-index this.contentEditorService.activeRulesetLinkIndex}}\\n            {{/if}}\\n          </IcButton>\\n        {{/if}}\\n      </div>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if this.contentEditorService.ruleset.hasTests}}\\n  <div class=\\\"flex flex-row items-center justify-between\\\" ...attributes>\\n    <IcTabControl\\n      @onSelectionChange={{this.contentEditorService.changeActiveRulesetLink}}\\n      @selectedTab={{this.contentEditorService.activeRulesetLink}}\\n      data-test-ab-test-switcher\\n      as |control|\\n    >\\n      {{#each this.contentEditorService.ruleset.rulesetLinks as |rulesetLink index|}}\\n        <control.tab @label=\\\"\\\" @value={{rulesetLink}}>\\n          <div class=\\\"flex flex-row items-center gap-3\\\" data-test-ab-test-tab={{index}}>\\n            <div class=\\\"flex flex-col\\\" data-test-ab-test-label={{index}}>\\n              {{#if this.contentEditorService.ruleset.hasDifferentRulesetLinkTypes}}\\n                {{capitalize rulesetLink.humanReadableObjectName}}\\n              {{else}}\\n                Test {{character-index index}}\\n              {{/if}}\\n            </div>\\n            <div class=\\\"flex flex-col\\\" data-test-ab-test-label-state={{index}}>\\n              {{ic-stamp (state-name state=rulesetLink.state objectType=rulesetLink.objectType matchBehavior=this.contentEditorService.ruleset.matchBehavior)}}\\n            </div>\\n          </div>\\n        </control.tab>\\n      {{/each}}\\n    </IcTabControl>\\n    {{#if this.contentEditorService.isEditMode}}\\n      <div class=\\\"flex flex-row items-center gap-2\\\">\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/onboard-and-engage-customers/see-how-your-messages-are-doing/measure-message-effectiveness-with-goals-and-ab-testing\\\"\\n          @title={{concat 'Learn more about ' (if this.contentEditorService.activeRulesetLink.isControlGroup 'control groups' 'A/B')}}\\n          @type=\\\"article\\\"\\n          {{on 'click' this.clickLearnMoreAboutAB}}\\n          data-test-learn-more-about-ab\\n        />\\n        {{#if (or (not this.contentEditorService.ruleset.hasDifferentRulesetLinkTypes) this.contentEditorService.activeRulesetLink.isControlGroup) }}\\n          <IcButton\\n            @subtle={{true}}\\n            @type=\\\"secondary-destructive\\\"\\n            @onClick={{this.contentEditorService.deleteTest}}\\n            data-test-delete-ab-test-button\\n          >\\n            {{ic-interface-icon \\\"trash\\\"}} Delete\\n            {{#if this.contentEditorService.activeRulesetLink.isControlGroup}}\\n              control group\\n            {{else}}\\n              test {{character-index this.contentEditorService.activeRulesetLinkIndex}}\\n            {{/if}}\\n          </IcButton>\\n        {{/if}}\\n      </div>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/content-editor/tabs/standard-ruleset-link-switcher.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/tabs/standard-ruleset-link-switcher.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class StandardRulesetLinkSwitcher extends Component {\n  @service intercomEventService;\n  @service contentEditorService;\n\n  @action clickLearnMoreAboutAB() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'learn-more-about-ab-link',\n      ruleset_id: this.contentEditorService.ruleset.id,\n      ruleset_link_id: this.contentEditorService.activeRulesetLink.id,\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ContentEditor::Tabs::StandardTab @config={{@config}}>\\n  <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\" class=\\\"content-editor__tabs__tab-label\\\" data-test-stat-tab-value>\\n    {{#if (eq this.statistic.type this.statisticTypes.percentage)}}\\n      {{or (format-percentage this.statistic.denominator this.statistic.value) \\\"—\\\"}}\\n    {{else if (eq this.statistic.type this.statisticTypes.integer)}}\\n      {{or (number-formatter-helper this.statistic.value) \\\"—\\\"}}\\n    {{else}}\\n      &mdash;\\n    {{/if}}\\n  </Heading>\\n\\n  <p class=\\\"t__label content-editor__tabs__tab-label\\\" data-test-tab-label=\\\"{{@config.label}}\\\">\\n    {{@config.label}}\\n  </p>\\n</ContentEditor::Tabs::StandardTab>\\n\", {\"contents\":\"<ContentEditor::Tabs::StandardTab @config={{@config}}>\\n  <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\" class=\\\"content-editor__tabs__tab-label\\\" data-test-stat-tab-value>\\n    {{#if (eq this.statistic.type this.statisticTypes.percentage)}}\\n      {{or (format-percentage this.statistic.denominator this.statistic.value) \\\"—\\\"}}\\n    {{else if (eq this.statistic.type this.statisticTypes.integer)}}\\n      {{or (number-formatter-helper this.statistic.value) \\\"—\\\"}}\\n    {{else}}\\n      &mdash;\\n    {{/if}}\\n  </Heading>\\n\\n  <p class=\\\"t__label content-editor__tabs__tab-label\\\" data-test-tab-label=\\\"{{@config.label}}\\\">\\n    {{@config.label}}\\n  </p>\\n</ContentEditor::Tabs::StandardTab>\\n\",\"moduleName\":\"embercom/components/content-editor/tabs/standard-stat-tab.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/tabs/standard-stat-tab.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { statisticKeys, statisticTypes } from 'embercom/models/data/outbound/constants';\nimport { selectFromObject } from '@intercom/embercom-core/lib/computed-properties';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  tagName: '',\n  contentEditorService: service(),\n  statisticTypes,\n  colorMap: {\n    [statisticKeys.receipts]: 'outbound__recipients-stat',\n    [statisticKeys.clicks]: 'outbound__clicks-stat',\n    [statisticKeys.goals]: 'outbound__goal-stat',\n    [statisticKeys.replies]: 'outbound__replies-stat',\n    [statisticKeys.opens]: 'outbound__opens-stat',\n    [statisticKeys.completions]: 'outbound__opens-stat',\n  },\n\n  colorClass: selectFromObject('colorMap', 'config.statistic.key'),\n  selectedVersion: readOnly('contentEditorService.selectedVersion'),\n  selectedVersionStats: computed('selectedVersion.id', function() {\n    let versionStats =\n      this.selectedVersion.contentStats.filter(\n        object => object.content_id === this.contentEditorService.activeObjectId,\n      ).firstObject || {};\n    let { stats: contentStats = [] } = versionStats;\n\n    return contentStats.findBy('key', this.config.statisticKey);\n  }),\n\n  statistic: computed('selectedVersion', function() {\n    if (this.selectedVersion) {\n      return this.selectedVersionStats;\n    } else {\n      return this.config.statistic;\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @config.isVisible}}\\n  <div class=\\\"content-editor__tabs__tab {{if this.isActive 'o__active'}}\\\" {{on \\\"click\\\" this.changeView}} data-test-tab-wrapper={{@config.view}}>\\n    {{yield}}\\n  </div>\\n{{/if}}\", {\"contents\":\"{{#if @config.isVisible}}\\n  <div class=\\\"content-editor__tabs__tab {{if this.isActive 'o__active'}}\\\" {{on \\\"click\\\" this.changeView}} data-test-tab-wrapper={{@config.view}}>\\n    {{yield}}\\n  </div>\\n{{/if}}\",\"moduleName\":\"embercom/components/content-editor/tabs/standard-tab.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/tabs/standard-tab.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { equalToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport { action } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  tagName: '',\n  contentEditorService: service(),\n  intercomEventService: service(),\n  isActive: equalToProperty('config.view', 'contentEditorService.activeView'),\n  _ruleset: readOnly('contentEditorService.ruleset'),\n\n  changeView: action(function() {\n    if (!this.isActive) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: `${this.config.view}_tab`,\n        ruleset_id: this._ruleset.id,\n      });\n      this.contentEditorService.changeActiveViewTo(this.config.view);\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (service 'content-editor-service') as |contentEditorService|}}\\n  <div class=\\\"flex flex-row justify-between pb-1 u__pointer-cursor\\\" data-test-all-version-container {{on \\\"click\\\" contentEditorService.showAllVersions}}>\\n    <div class=\\\"flex flex-col flex-1 content-editor__versioning__version-label-container\\\" data-test-all-version-label>\\n      <Text @styling=\\\"strong\\\" class=\\\"content-editor__versioning__version-label {{if @isSelected \\\"o__active\\\"}}\\\" >\\n        All versions\\n      </Text>\\n        {{#let contentEditorService.parentRulesetLinks.length as |numberOfContents|}}\\n          {{#each contentEditorService.parentRulesetLinks as |rulesetLink index|}}\\n            <div class=\\\"flex flex-row flex-1 flex-wrap\\\">\\n              {{#if (gt numberOfContents 1)}}\\n                <Text @styling=\\\"small\\\" class=\\\"content-editor__versioning__version-test-content-label\\\" data-test-content-text-label={{index}}>\\n                  {{#if rulesetLink.isControlGroup}}\\n                    Control Group:\\n                  {{else}}\\n                    Test {{character-index index}}:\\n                  {{/if}}\\n                </Text>\\n              {{/if}}\\n              {{#each @statsViewModeConfig as |config|}}\\n                <ContentEditor::Versioning::StatsTile\\n                  @config={{config}}\\n                  @stats={{rulesetLink.objectStats}}\\n                />\\n              {{/each}}\\n            </div>\\n          {{/each}}\\n        {{/let}}\\n    </div>\\n    {{#if @isSelected}}\\n      <span data-test-all-version-selected-checkmark>\\n        {{ic-interface-icon \\\"check\\\" color=\\\"blue\\\"}}\\n      </span>\\n    {{/if}}\\n  </div>\\n{{/let}}\\n\", {\"contents\":\"{{#let (service 'content-editor-service') as |contentEditorService|}}\\n  <div class=\\\"flex flex-row justify-between pb-1 u__pointer-cursor\\\" data-test-all-version-container {{on \\\"click\\\" contentEditorService.showAllVersions}}>\\n    <div class=\\\"flex flex-col flex-1 content-editor__versioning__version-label-container\\\" data-test-all-version-label>\\n      <Text @styling=\\\"strong\\\" class=\\\"content-editor__versioning__version-label {{if @isSelected \\\"o__active\\\"}}\\\" >\\n        All versions\\n      </Text>\\n        {{#let contentEditorService.parentRulesetLinks.length as |numberOfContents|}}\\n          {{#each contentEditorService.parentRulesetLinks as |rulesetLink index|}}\\n            <div class=\\\"flex flex-row flex-1 flex-wrap\\\">\\n              {{#if (gt numberOfContents 1)}}\\n                <Text @styling=\\\"small\\\" class=\\\"content-editor__versioning__version-test-content-label\\\" data-test-content-text-label={{index}}>\\n                  {{#if rulesetLink.isControlGroup}}\\n                    Control Group:\\n                  {{else}}\\n                    Test {{character-index index}}:\\n                  {{/if}}\\n                </Text>\\n              {{/if}}\\n              {{#each @statsViewModeConfig as |config|}}\\n                <ContentEditor::Versioning::StatsTile\\n                  @config={{config}}\\n                  @stats={{rulesetLink.objectStats}}\\n                />\\n              {{/each}}\\n            </div>\\n          {{/each}}\\n        {{/let}}\\n    </div>\\n    {{#if @isSelected}}\\n      <span data-test-all-version-selected-checkmark>\\n        {{ic-interface-icon \\\"check\\\" color=\\\"blue\\\"}}\\n      </span>\\n    {{/if}}\\n  </div>\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/content-editor/versioning/all-versions-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/versioning/all-versions-card.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col flex-1 gap-2\\\" data-test-empty-version-container>\\n  {{#if this.allRulesetLinksAreDraft}}\\n    <div class=\\\"flex flex-row justify-between pb-1\\\">\\n      <div class=\\\"flex flex-col flex-1 content-editor__versioning__version-label-container\\\">\\n        <Text @styling=\\\"strong\\\" class=\\\"content-editor__versioning__version-label o__active\\\" data-test-version-label>\\n          Version 1\\n        </Text>\\n      </div>\\n      <span data-test-selected-version-checkmark>\\n        {{ic-interface-icon \\\"check\\\" color=\\\"blue\\\"}}\\n      </span>\\n    </div>\\n\\n    <Text @styling='muted'>\\n      Waiting to be set live\\n    </Text>\\n  {{else}}\\n    <img\\n      src=\\\"/assets/images/content-editor/versioning/empty-state-illustration.png\\\"\\n      srcset=\\\"/assets/images/content-editor/versioning/empty-state-illustration@2x.png 2x\\\"\\n      class=\\\"content-editor__versioning__empty-state-illustration\\\"\\n      alt=\\\"Message history feature logo\\\"\\n    />\\n    <Heading @size=\\\"3\\\">No history yet</Heading>\\n    <Text>Your message versions will be shown here once you start setting some changes live.</Text>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col flex-1 gap-2\\\" data-test-empty-version-container>\\n  {{#if this.allRulesetLinksAreDraft}}\\n    <div class=\\\"flex flex-row justify-between pb-1\\\">\\n      <div class=\\\"flex flex-col flex-1 content-editor__versioning__version-label-container\\\">\\n        <Text @styling=\\\"strong\\\" class=\\\"content-editor__versioning__version-label o__active\\\" data-test-version-label>\\n          Version 1\\n        </Text>\\n      </div>\\n      <span data-test-selected-version-checkmark>\\n        {{ic-interface-icon \\\"check\\\" color=\\\"blue\\\"}}\\n      </span>\\n    </div>\\n\\n    <Text @styling='muted'>\\n      Waiting to be set live\\n    </Text>\\n  {{else}}\\n    <img\\n      src=\\\"/assets/images/content-editor/versioning/empty-state-illustration.png\\\"\\n      srcset=\\\"/assets/images/content-editor/versioning/empty-state-illustration@2x.png 2x\\\"\\n      class=\\\"content-editor__versioning__empty-state-illustration\\\"\\n      alt=\\\"Message history feature logo\\\"\\n    />\\n    <Heading @size=\\\"3\\\">No history yet</Heading>\\n    <Text>Your message versions will be shown here once you start setting some changes live.</Text>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/versioning/empty-versions-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/versioning/empty-versions-card.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\n\nexport default class EmptyVersionsCard extends Component {\n  @service contentEditorService;\n\n  get allRulesetLinksAreDraft() {\n    return this.contentEditorService.parentRulesetLinks.every(rulesetLink => rulesetLink.isDraft);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col flex-1 gap-2\\\" data-test-versioning-paywall-container>\\n  <img\\n    src=\\\"/assets/images/content-editor/versioning/empty-state-illustration.png\\\"\\n    srcset=\\\"/assets/images/content-editor/versioning/empty-state-illustration@2x.png 2x\\\"\\n    class=\\\"content-editor__versioning__empty-state-illustration\\\"\\n    alt=\\\"Message history feature logo\\\"\\n  />\\n  <Heading @size='2'>Audit and optimise with message history</Heading>\\n  <Text>Review past versions of your messages and compare their performance at a glance.</Text>\\n\\n  <div class=\\\"flex flex-col mt-4\\\">\\n    <Paywall @featureKey=\\\"ruleset_versioning\\\" as |paywall|>\\n      <paywall.UpgradeButton @label=\\\"Get feature\\\" />\\n    </Paywall>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col flex-1 gap-2\\\" data-test-versioning-paywall-container>\\n  <img\\n    src=\\\"/assets/images/content-editor/versioning/empty-state-illustration.png\\\"\\n    srcset=\\\"/assets/images/content-editor/versioning/empty-state-illustration@2x.png 2x\\\"\\n    class=\\\"content-editor__versioning__empty-state-illustration\\\"\\n    alt=\\\"Message history feature logo\\\"\\n  />\\n  <Heading @size='2'>Audit and optimise with message history</Heading>\\n  <Text>Review past versions of your messages and compare their performance at a glance.</Text>\\n\\n  <div class=\\\"flex flex-col mt-4\\\">\\n    <Paywall @featureKey=\\\"ruleset_versioning\\\" as |paywall|>\\n      <paywall.UpgradeButton @label=\\\"Get feature\\\" />\\n    </Paywall>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/versioning/paywall.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/versioning/paywall.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (service \\\"content-editor-service\\\") as |contentEditorService|}}\\n  <div class=\\\"flex flex-col flex-1 gap-8 content-editor__versioning__sidebar pl-4\\\" data-test-versioning-sidebar>\\n    <div class=\\\"flex flex-row justify-between\\\" data-test-versioning-sidebar-header>\\n      <div class=\\\"flex flex-col\\\">\\n        <Heading @size=\\\"3\\\">Message history</Heading>\\n      </div>\\n      <div class=\\\"flex flex-col\\\">\\n        <Paragraph\\n          @styling='label'\\n          {{on \\\"click\\\" contentEditorService.hideVersionSidebar}}\\n          class=\\\"u__pointer-cursor\\\"\\n          data-test-hide-versioning-sidebar>\\n          Hide\\n        </Paragraph>\\n      </div>\\n    </div>\\n    {{#if (has-feature \\\"hasVersioningBillingFeature\\\")}}\\n      {{#if contentEditorService.rulesetHasVersions}}\\n        <ContentEditor::Versioning::VersionList\\n          @rulesetVersions={{this.rulesetVersions}}\\n          @config={{@config}}\\n        />\\n      {{else}}\\n        <ContentEditor::Versioning::EmptyVersionsCard />\\n      {{/if}}\\n    {{else}}\\n      <ContentEditor::Versioning::Paywall />\\n    {{/if}}\\n  </div>\\n{{/let}}\\n\", {\"contents\":\"{{#let (service \\\"content-editor-service\\\") as |contentEditorService|}}\\n  <div class=\\\"flex flex-col flex-1 gap-8 content-editor__versioning__sidebar pl-4\\\" data-test-versioning-sidebar>\\n    <div class=\\\"flex flex-row justify-between\\\" data-test-versioning-sidebar-header>\\n      <div class=\\\"flex flex-col\\\">\\n        <Heading @size=\\\"3\\\">Message history</Heading>\\n      </div>\\n      <div class=\\\"flex flex-col\\\">\\n        <Paragraph\\n          @styling='label'\\n          {{on \\\"click\\\" contentEditorService.hideVersionSidebar}}\\n          class=\\\"u__pointer-cursor\\\"\\n          data-test-hide-versioning-sidebar>\\n          Hide\\n        </Paragraph>\\n      </div>\\n    </div>\\n    {{#if (has-feature \\\"hasVersioningBillingFeature\\\")}}\\n      {{#if contentEditorService.rulesetHasVersions}}\\n        <ContentEditor::Versioning::VersionList\\n          @rulesetVersions={{this.rulesetVersions}}\\n          @config={{@config}}\\n        />\\n      {{else}}\\n        <ContentEditor::Versioning::EmptyVersionsCard />\\n      {{/if}}\\n    {{else}}\\n      <ContentEditor::Versioning::Paywall />\\n    {{/if}}\\n  </div>\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/content-editor/versioning/sidebar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/versioning/sidebar.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row content-editor__versioning__version-stats-tile\\\" data-test-stats-tile-container>\\n  <Text @styling=\\\"small\\\" data-test-stats-text={{@config.label}}>\\n    {{#if (eq @config.statistic.type this.statisticTypes.percentage)}}\\n      {{#if (gt this.statsValue.value 0)}}\\n        {{format-percentage this.statsValue.denominator this.statsValue.value}}\\n      {{else}}\\n          0%\\n      {{/if}}\\n    {{else}}\\n      {{or (number-formatter-helper this.statsValue.value) \\\"0\\\"}}\\n    {{/if}}\\n    {{@config.label}}{{unless @hideDelimiter \\\", \\\"}}\\n  </Text>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row content-editor__versioning__version-stats-tile\\\" data-test-stats-tile-container>\\n  <Text @styling=\\\"small\\\" data-test-stats-text={{@config.label}}>\\n    {{#if (eq @config.statistic.type this.statisticTypes.percentage)}}\\n      {{#if (gt this.statsValue.value 0)}}\\n        {{format-percentage this.statsValue.denominator this.statsValue.value}}\\n      {{else}}\\n          0%\\n      {{/if}}\\n    {{else}}\\n      {{or (number-formatter-helper this.statsValue.value) \\\"0\\\"}}\\n    {{/if}}\\n    {{@config.label}}{{unless @hideDelimiter \\\", \\\"}}\\n  </Text>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/versioning/stats-tile.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/versioning/stats-tile.hbs\"}});\nimport Component from '@glimmer/component';\nimport { statisticTypes } from 'embercom/models/data/outbound/constants';\n\nexport default class Stat extends Component {\n  get statsValue() {\n    let stat;\n    if (this.args.stats) {\n      let statsKey = this.args.config.statistic.key;\n      stat = this.args.stats.filter(function(stat) {\n        if (stat.key === statsKey) {\n          return stat;\n        }\n      }).firstObject;\n    }\n    return stat;\n  }\n\n  get statisticTypes() {\n    return statisticTypes;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col u__pointer-cursor content-editor__versioning__version-container\\\" data-test-version-card={{@rulesetVersion.id}} ...attributes>\\n  <div class=\\\"flex flex-row justify-between pb-1\\\">\\n    <div class=\\\"flex flex-col flex-1 content-editor__versioning__version-label-container\\\">\\n      <Text @styling=\\\"strong\\\" class=\\\"content-editor__versioning__version-label {{if @isSelected \\\"o__active\\\"}}\\\" data-test-version-label>\\n        Version {{@rulesetVersion.uiIndex}}: {{format-date date=@rulesetVersion.createdAt format=\\\"fullDateAndTimeWithoutTimezoneAndYear\\\"}}\\n      </Text>\\n    </div>\\n    {{#if @isSelected}}\\n      <span data-test-selected-version-checkmark>\\n        {{ic-interface-icon \\\"check\\\" color=\\\"blue\\\"}}\\n      </span>\\n    {{/if}}\\n  </div>\\n  {{#let @rulesetVersion.contentStats.length as |numberOfContents|}}\\n    {{#each @rulesetVersion.contentStats as |contentStats index|}}\\n      <div class=\\\"flex flex-row flex-1 flex-wrap\\\">\\n        {{#if (gt numberOfContents 1)}}\\n          <Text @styling=\\\"small\\\" class=\\\"content-editor__versioning__version-test-content-label\\\" data-test-content-text-label={{index}}>\\n            {{#if (eq contentStats.content_type \\\"control_group\\\")}}\\n              Control Group:\\n            {{else}}\\n              Test {{character-index index}}:\\n            {{/if}}\\n          </Text>\\n        {{/if}}\\n        {{#each @statsViewModeConfig as |config index|}}\\n          <ContentEditor::Versioning::StatsTile\\n            @config={{config}}\\n            @stats={{contentStats.stats}}\\n            @hideDelimiter={{eq index (add @statsViewModeConfig.length -1)}}\\n          />\\n        {{/each}}\\n      </div>\\n    {{/each}}\\n  {{/let}}\\n  <div class=\\\"flex flex-col content-editor__versioning__version-author\\\">\\n    <div class=\\\"avatar__container o__s\\\" data-test-version-creator>\\n      {{ic-avatar model=@rulesetVersion.creator size=\\\"s\\\" contained=true}}\\n      <Text @styling=\\\"muted\\\">\\n        {{@rulesetVersion.creator.nameOrEmail}}\\n      </Text>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col u__pointer-cursor content-editor__versioning__version-container\\\" data-test-version-card={{@rulesetVersion.id}} ...attributes>\\n  <div class=\\\"flex flex-row justify-between pb-1\\\">\\n    <div class=\\\"flex flex-col flex-1 content-editor__versioning__version-label-container\\\">\\n      <Text @styling=\\\"strong\\\" class=\\\"content-editor__versioning__version-label {{if @isSelected \\\"o__active\\\"}}\\\" data-test-version-label>\\n        Version {{@rulesetVersion.uiIndex}}: {{format-date date=@rulesetVersion.createdAt format=\\\"fullDateAndTimeWithoutTimezoneAndYear\\\"}}\\n      </Text>\\n    </div>\\n    {{#if @isSelected}}\\n      <span data-test-selected-version-checkmark>\\n        {{ic-interface-icon \\\"check\\\" color=\\\"blue\\\"}}\\n      </span>\\n    {{/if}}\\n  </div>\\n  {{#let @rulesetVersion.contentStats.length as |numberOfContents|}}\\n    {{#each @rulesetVersion.contentStats as |contentStats index|}}\\n      <div class=\\\"flex flex-row flex-1 flex-wrap\\\">\\n        {{#if (gt numberOfContents 1)}}\\n          <Text @styling=\\\"small\\\" class=\\\"content-editor__versioning__version-test-content-label\\\" data-test-content-text-label={{index}}>\\n            {{#if (eq contentStats.content_type \\\"control_group\\\")}}\\n              Control Group:\\n            {{else}}\\n              Test {{character-index index}}:\\n            {{/if}}\\n          </Text>\\n        {{/if}}\\n        {{#each @statsViewModeConfig as |config index|}}\\n          <ContentEditor::Versioning::StatsTile\\n            @config={{config}}\\n            @stats={{contentStats.stats}}\\n            @hideDelimiter={{eq index (add @statsViewModeConfig.length -1)}}\\n          />\\n        {{/each}}\\n      </div>\\n    {{/each}}\\n  {{/let}}\\n  <div class=\\\"flex flex-col content-editor__versioning__version-author\\\">\\n    <div class=\\\"avatar__container o__s\\\" data-test-version-creator>\\n      {{ic-avatar model=@rulesetVersion.creator size=\\\"s\\\" contained=true}}\\n      <Text @styling=\\\"muted\\\">\\n        {{@rulesetVersion.creator.nameOrEmail}}\\n      </Text>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/versioning/version-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/versioning/version-card.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"\\n{{#if this.rulesetVersions}}\\n  <div class=\\\"flex flex-col gap-6\\\" data-test-versioning-version-list>\\n     <ContentEditor::Versioning::AllVersionsCard\\n        @statsViewModeConfig={{this.statsViewModeConfig}}\\n        @isSelected={{not this.contentEditorService.selectedVersion}}\\n     />\\n    {{#each (sort-by \\\"createdAt:desc\\\" this.rulesetVersions) as |rulesetVersion|}}\\n      <ContentEditor::Versioning::VersionCard\\n        @rulesetVersion={{rulesetVersion}}\\n        @statsViewModeConfig={{this.statsViewModeConfig}}\\n        @isSelected={{eq this.contentEditorService.selectedVersion.id rulesetVersion.id}}\\n        {{on \\\"click\\\" (fn this.selectVersion rulesetVersion)}}\\n      />\\n    {{/each}}\\n    {{#if this.untrackedVersionsPresent}}\\n      <div class=\\\"flex flex-col\\\" data-test-untracked-versions-hint>\\n        <Text @styling='muted'>Older versions haven’t been tracked</Text>\\n      </div>\\n    {{/if}}\\n  </div>\\n{{else}}\\n  <IcLoadingIndicator @size=\\\"small\\\" />\\n{{/if}}\\n\", {\"contents\":\"\\n{{#if this.rulesetVersions}}\\n  <div class=\\\"flex flex-col gap-6\\\" data-test-versioning-version-list>\\n     <ContentEditor::Versioning::AllVersionsCard\\n        @statsViewModeConfig={{this.statsViewModeConfig}}\\n        @isSelected={{not this.contentEditorService.selectedVersion}}\\n     />\\n    {{#each (sort-by \\\"createdAt:desc\\\" this.rulesetVersions) as |rulesetVersion|}}\\n      <ContentEditor::Versioning::VersionCard\\n        @rulesetVersion={{rulesetVersion}}\\n        @statsViewModeConfig={{this.statsViewModeConfig}}\\n        @isSelected={{eq this.contentEditorService.selectedVersion.id rulesetVersion.id}}\\n        {{on \\\"click\\\" (fn this.selectVersion rulesetVersion)}}\\n      />\\n    {{/each}}\\n    {{#if this.untrackedVersionsPresent}}\\n      <div class=\\\"flex flex-col\\\" data-test-untracked-versions-hint>\\n        <Text @styling='muted'>Older versions haven’t been tracked</Text>\\n      </div>\\n    {{/if}}\\n  </div>\\n{{else}}\\n  <IcLoadingIndicator @size=\\\"small\\\" />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/content-editor/versioning/version-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/versioning/version-list.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\nimport { action } from '@ember/object';\n\nexport default class VersioningSidebar extends Component {\n  @service contentEditorService;\n  @service store;\n  @service intercomEventService;\n  @tracked rulesetVersions;\n\n  constructor() {\n    super(...arguments);\n    this.fetchRulesetVersions.perform();\n  }\n\n  @task *fetchRulesetVersions() {\n    let queryParams = { ruleset_id: this.ruleset.id };\n    this.rulesetVersions = yield this.store.query('matching-system/ruleset-version', queryParams);\n  }\n\n  get statsViewModeConfig() {\n    if (this.args.config.tabComponentConfigs) {\n      return this.args.config.tabComponentConfigs.filter(\n        config => config.view !== 'content' && config.isVisible,\n      );\n    } else {\n      return [];\n    }\n  }\n\n  get untrackedVersionsPresent() {\n    let firstSetLiveAt = Math.min(...this.parentRulesetLinks.map(rl => rl.wentLiveAt));\n    let oldestVersionCreatedAt = Math.min(...this.rulesetVersions.map(r => r.createdAt));\n    let diff = Math.abs(firstSetLiveAt - oldestVersionCreatedAt);\n    // since there can always be a race condition between when a version is created vs when\n    // it was set live we use threshold of 1 min to determine if there are untracked versions\n    // or not.\n    let minutes = Math.floor(diff / 1000 / 60);\n    return minutes > 1;\n  }\n\n  get ruleset() {\n    return this.contentEditorService.ruleset;\n  }\n\n  get parentRulesetLinks() {\n    return this.contentEditorService.parentRulesetLinks;\n  }\n\n  @action selectVersion(rulesetVersion) {\n    this.contentEditorService.selectVersion(rulesetVersion);\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'version_label',\n      context: 'version_sidebar',\n      place: 'content_editor',\n      ruleset_id: this.contentEditorService.parentRulesetId,\n      ruleset_version_id: rulesetVersion.id,\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row flex-wrap content-editor__headers__version_summary ml-8 mb-4\\\" data-test-version-summary>\\n  <Text @styling=\\\"muted\\\" class=\\\"content-editor__headers__version-number\\\">\\n    <a {{on \\\"click\\\" this.onClickVersionList}} data-test-version-link>{{this.versionNumber}}</a> {{this.stateChangeText}}\\n  </Text>\\n  {{#if this.creator}}\\n    <div class=\\\"avatar__container o__s\\\" data-test-version-creator>\\n      {{ic-avatar model=this.creator size=\\\"s\\\" contained=true}}\\n      <Text @styling='muted'>\\n        {{this.creator.nameOrEmail}}\\n      </Text>\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row flex-wrap content-editor__headers__version_summary ml-8 mb-4\\\" data-test-version-summary>\\n  <Text @styling=\\\"muted\\\" class=\\\"content-editor__headers__version-number\\\">\\n    <a {{on \\\"click\\\" this.onClickVersionList}} data-test-version-link>{{this.versionNumber}}</a> {{this.stateChangeText}}\\n  </Text>\\n  {{#if this.creator}}\\n    <div class=\\\"avatar__container o__s\\\" data-test-version-creator>\\n      {{ic-avatar model=this.creator size=\\\"s\\\" contained=true}}\\n      <Text @styling='muted'>\\n        {{this.creator.nameOrEmail}}\\n      </Text>\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/versioning/version-summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/versioning/version-summary.hbs\"}});\nimport Component from '@glimmer/component';\nimport Admin from 'embercom/models/admin';\nimport { inject as service } from '@ember/service';\nimport fullRelativeTimeAgo from 'embercom/lib/full-relative-time-ago';\nimport { states } from 'embercom/models/data/matching-system/matching-constants';\nimport { action } from '@ember/object';\nexport default class VersionSummary extends Component {\n  @service store;\n  @service contentEditorService;\n  @service intercomEventService;\n\n  get versionNumber() {\n    if (this._rulesetVersion.get('uiIndex')) {\n      return `Version ${this._rulesetVersion.get('uiIndex')}`;\n    } else if (this._allRulesetLinksAreInDraftState) {\n      return 'Version 1';\n    } else {\n      return 'Latest Version';\n    }\n  }\n\n  get stateChangeText() {\n    if (this.contentEditorService.isViewingVersionSnapshot || this._hasAnyLiveRulesetLink) {\n      return `set live ${fullRelativeTimeAgo(this._createdAt).toLowerCase()} by `;\n    } else if (this._hasAnyPausedRulesetLink) {\n      return `paused ${fullRelativeTimeAgo(this._rulesetLastUpdated).toLowerCase()} by `;\n    } else if (this._allRulesetLinksAreInDraftState) {\n      return 'waiting to be set live';\n    } else {\n      return 'changed';\n    }\n  }\n\n  get creator() {\n    if (this._allRulesetLinksAreInDraftState) {\n      return;\n    }\n\n    if (\n      this._hasAnyPausedRulesetLink &&\n      !this.contentEditorService.isViewingVersionSnapshot &&\n      this._rulesetVersion.get('lastStateChangeAdmin')\n    ) {\n      return this._rulesetVersion.get('lastStateChangeAdmin');\n    }\n\n    return this._rulesetVersion.get('creator') || this._rulesetLastUpdatedBy;\n  }\n\n  get _rulesetVersion() {\n    return (\n      this.contentEditorService.selectedVersion || this.contentEditorService.ruleset.currentVersion\n    );\n  }\n\n  get _createdAt() {\n    if (this._rulesetVersion.get('createdAt')) {\n      return this._rulesetVersion.get('createdAt');\n    } else {\n      return this._rulesetLastUpdated;\n    }\n  }\n\n  get _rulesetLastUpdated() {\n    return this.contentEditorService.activeRulesetLink.lastStateChange.get('createdAt');\n  }\n\n  get _rulesetLinksState() {\n    return this.contentEditorService.parentRulesetLinks.map(link => link.state).uniq();\n  }\n\n  get _allRulesetLinksAreInDraftState() {\n    return (\n      this._rulesetLinksState.indexOf(states.draft) > -1 && this._rulesetLinksState.length === 1\n    );\n  }\n\n  get _hasAnyLiveRulesetLink() {\n    return this._rulesetLinksState.indexOf(states.live) > -1;\n  }\n\n  get _hasAnyPausedRulesetLink() {\n    return this._rulesetLinksState.indexOf(states.paused) > -1;\n  }\n\n  get _rulesetLastUpdatedBy() {\n    return Admin.peekAndMaybeLoad(\n      this.store,\n      this.contentEditorService.activeRulesetLink.lastStateChange.get('changedById'),\n    );\n  }\n\n  @action onClickVersionList() {\n    this.args.showVersionList();\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'version_label',\n      context: 'version_summary',\n      place: 'content_editor',\n      ruleset_id: this.contentEditorService.parentRulesetId,\n      ruleset_version_id: this._rulesetVersion.get('id'),\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row gap-4\\\">\\n  <div class=\\\"flex flex-col flex-3  {{if this.contentEditorService.versionSidebarOpen 'overflow-x-auto'}}\\\" data-test-content-editor-view-mode>\\n    {{#if this.contentEditorService.isSeriesMode}}\\n      {{#let this.viewModeConfig.seriesHeaderComponentConfig as |config|}}\\n        {{component config.component\\n          config=config\\n        }}\\n      {{/let}}\\n    {{else}}\\n      {{#each this.viewModeConfig.headerComponentConfigs as |config|}}\\n        {{component config.component\\n          config=config\\n        }}\\n      {{/each}}\\n    {{/if}}\\n\\n    <div class=\\\"{{if this.contentEditorService.isSeriesMode 'm-4'}} mt-4\\\">\\n      {{#if (and this.app.canUseMatchingSystemVersioning this.contentEditorService.ruleset.hasContentWithVersions)}}\\n        <ContentEditor::Versioning::VersionSummary\\n          @showVersionList={{this.contentEditorService.showVersionSidebar}}\\n        />\\n      {{/if}}\\n\\n      <ContentEditor::Tabs::StandardRulesetLinkSwitcher\\n        class=\\\"content-editor__panels__content__ruleset-link-switcher__container ml-8\\\"\\n      />\\n\\n      <ContentEditor::ViewMode::Tabs @config={{this.viewModeConfig.tabsConfiguration}} />\\n\\n      <ContentEditor::ViewMode::ActiveView @config={{this.viewModeConfig.activeViewConfiguration}} />\\n\\n      {{#each this.viewModeConfig.footerComponentConfigs as |config|}}\\n        {{component config.component\\n          config=config\\n        }}\\n      {{/each}}\\n    </div>\\n  </div>\\n  {{#if (and this.contentEditorService.versionSidebarOpen this.app.canUseMatchingSystemVersioning)}}\\n    <ContentEditor::Versioning::Sidebar @config={{this.viewModeConfig.tabsConfiguration}} />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row gap-4\\\">\\n  <div class=\\\"flex flex-col flex-3  {{if this.contentEditorService.versionSidebarOpen 'overflow-x-auto'}}\\\" data-test-content-editor-view-mode>\\n    {{#if this.contentEditorService.isSeriesMode}}\\n      {{#let this.viewModeConfig.seriesHeaderComponentConfig as |config|}}\\n        {{component config.component\\n          config=config\\n        }}\\n      {{/let}}\\n    {{else}}\\n      {{#each this.viewModeConfig.headerComponentConfigs as |config|}}\\n        {{component config.component\\n          config=config\\n        }}\\n      {{/each}}\\n    {{/if}}\\n\\n    <div class=\\\"{{if this.contentEditorService.isSeriesMode 'm-4'}} mt-4\\\">\\n      {{#if (and this.app.canUseMatchingSystemVersioning this.contentEditorService.ruleset.hasContentWithVersions)}}\\n        <ContentEditor::Versioning::VersionSummary\\n          @showVersionList={{this.contentEditorService.showVersionSidebar}}\\n        />\\n      {{/if}}\\n\\n      <ContentEditor::Tabs::StandardRulesetLinkSwitcher\\n        class=\\\"content-editor__panels__content__ruleset-link-switcher__container ml-8\\\"\\n      />\\n\\n      <ContentEditor::ViewMode::Tabs @config={{this.viewModeConfig.tabsConfiguration}} />\\n\\n      <ContentEditor::ViewMode::ActiveView @config={{this.viewModeConfig.activeViewConfiguration}} />\\n\\n      {{#each this.viewModeConfig.footerComponentConfigs as |config|}}\\n        {{component config.component\\n          config=config\\n        }}\\n      {{/each}}\\n    </div>\\n  </div>\\n  {{#if (and this.contentEditorService.versionSidebarOpen this.app.canUseMatchingSystemVersioning)}}\\n    <ContentEditor::Versioning::Sidebar @config={{this.viewModeConfig.tabsConfiguration}} />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/view-mode.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/view-mode.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class ViewMode extends Component {\n  @service contentEditorService;\n  @service appService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get viewModeConfig() {\n    let baseConfig = this.contentEditorService.editorConfiguration;\n    if (this.contentEditorService.activeRulesetLink.isControlGroup) {\n      return this.contentEditorService.activeObject.editorConfig(baseConfig).viewMode;\n    } else {\n      return baseConfig.viewMode;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col ml-8\\\" data-test-content-editor-active-view=\\\"{{this.contentEditorService.activeView}}\\\">\\n\\n  {{#each this.activeConfig as |config index|}}\\n    {{component config.component\\n                config=config\\n    }}\\n  {{/each}}\\n\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col ml-8\\\" data-test-content-editor-active-view=\\\"{{this.contentEditorService.activeView}}\\\">\\n\\n  {{#each this.activeConfig as |config index|}}\\n    {{component config.component\\n                config=config\\n    }}\\n  {{/each}}\\n\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/view-mode/active-view.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/view-mode/active-view.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport { isNone } from '@ember/utils';\n\nexport default Component.extend({\n  tagName: '',\n  contentEditorService: service(),\n  activeConfig: computed('config', 'contentEditorService.activeView', function() {\n    let config = this.config[this.contentEditorService.activeView];\n    if (isNone(config)) {\n      throw new Error(\n        `No configuration found to render a view for ${this.contentEditorService.activeView}`,\n      );\n    }\n    return config;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col pt-4 relative\\\" data-test-path-analysis>\\n  <CustomBots::PathAnalysis::Root @customBot={{service 'contentEditorService.activeObject'}} @absolutePositioning={{true}} />\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col pt-4 relative\\\" data-test-path-analysis>\\n  <CustomBots::PathAnalysis::Root @customBot={{service 'contentEditorService.activeObject'}} @absolutePositioning={{true}} />\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/view-mode/custom-bot/path-analysis.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/view-mode/custom-bot/path-analysis.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col pt-4\\\" data-test-standard-stat-list>\\n  {{component\\n    (concat \\\"stats-system/list/\\\" (dasherize @config.stat) \\\"-list\\\")\\n    changeView=this.changeFilter\\n    filter=this.contentEditorService.activeFilter\\n    filterConfig=@config.filters\\n    statsParameters=this.statsParameters\\n    hideCreatedVia=@config.hideCreatedVia\\n    overrideNoun=@config.noun\\n    overrideVerb=@config.verb\\n    overrideEmptyStateTitle=@config.emptyStateTitle\\n    overrideEmptyStateDescription=@config.emptyStateDescription\\n  }}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col pt-4\\\" data-test-standard-stat-list>\\n  {{component\\n    (concat \\\"stats-system/list/\\\" (dasherize @config.stat) \\\"-list\\\")\\n    changeView=this.changeFilter\\n    filter=this.contentEditorService.activeFilter\\n    filterConfig=@config.filters\\n    statsParameters=this.statsParameters\\n    hideCreatedVia=@config.hideCreatedVia\\n    overrideNoun=@config.noun\\n    overrideVerb=@config.verb\\n    overrideEmptyStateTitle=@config.emptyStateTitle\\n    overrideEmptyStateDescription=@config.emptyStateDescription\\n  }}\\n</div>\\n\",\"moduleName\":\"embercom/components/content-editor/view-mode/standard-stat-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/view-mode/standard-stat-list.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { makeStatsParametersForRulesetLink } from 'embercom/helpers/stats-system/stats-parameters';\n\nexport default class StandardStatList extends Component {\n  @service contentEditorService;\n\n  @action\n  changeFilter(_, filter) {\n    this.contentEditorService.changeActiveFilterTo(filter);\n  }\n\n  get statsParameters() {\n    let ruleset = this.contentEditorService.ruleset;\n    let rulesetLink = this.contentEditorService.activeRulesetLink;\n    return makeStatsParametersForRulesetLink(ruleset, rulesetLink);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row content-editor__tabs__wrapper gap-4 ml-8\\\" data-test-tabs-component ...attributes>\\n  {{#let (service 'content-editor-service.activeRulesetLink') as |activeRulesetLink|}}\\n    {{#each @config.tabComponentConfigs as |tabConfig|}}\\n      {{component tabConfig.component\\n                  config=tabConfig\\n      }}\\n    {{/each}}\\n    {{#if @config.fallbackComponentConfig}}\\n      <div data-test-tab-fallback-component>\\n        {{component @config.fallbackComponentConfig.component\\n          config=@config.fallbackComponentConfig\\n        }}\\n      </div>\\n    {{/if}}\\n  {{/let}}\\n</div>\", {\"contents\":\"<div class=\\\"flex flex-row content-editor__tabs__wrapper gap-4 ml-8\\\" data-test-tabs-component ...attributes>\\n  {{#let (service 'content-editor-service.activeRulesetLink') as |activeRulesetLink|}}\\n    {{#each @config.tabComponentConfigs as |tabConfig|}}\\n      {{component tabConfig.component\\n                  config=tabConfig\\n      }}\\n    {{/each}}\\n    {{#if @config.fallbackComponentConfig}}\\n      <div data-test-tab-fallback-component>\\n        {{component @config.fallbackComponentConfig.component\\n          config=@config.fallbackComponentConfig\\n        }}\\n      </div>\\n    {{/if}}\\n  {{/let}}\\n</div>\",\"moduleName\":\"embercom/components/content-editor/view-mode/tabs.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/content-editor/view-mode/tabs.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import ConversationComposer from '@intercom/embercom-composer/components/conversation-composer';\nexport default ConversationComposer;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"f__custom-select\\\">\\n  <span class=\\\"f__custom-select__box {{unless outline 'o__subtle'}} {{if isOpen 'o__opened'}}\\\">\\n    <div class=\\\"flex items-start\\\">\\n      {{#if showStatusIcon}}\\n        <div class=\\\"layout__box u__mr__10\\\">\\n          {{ic-interface-icon statusIcon solo=true}}\\n        </div>\\n      {{/if}}\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <div class=\\\"flex items-start\\\">\\n          <div class=\\\"layout__box\\\">\\n            {{#unless hideTitle}}\\n              <div\\n                class=\\\"u__one-truncated-line\\\"\\n                {{tooltip\\n                  content=title\\n                  showOnlyWhenTruncated=true\\n                }}\\n              >\\n                {{title}}\\n              </div>\\n            {{/unless}}\\n          </div>\\n          {{#unless hideCount}}\\n            {{#if formattedTotalCount}}\\n              <span class=\\\"flex-auto min-w-0 u__normal-weight text-gray u__ml__5\\\">{{formattedTotalCount}}</span>\\n            {{/if}}\\n          {{/unless}}\\n        </div>\\n      </div>\\n    </div>\\n    <span class=\\\"f__custom-select__caret\\\">{{ic-interface-icon 'small-down-arrow' solo=true}}</span>\\n  </span>\\n{{#if isOpen}}\\n  <div class=\\\"overlay o__dropdown z__2 {{dropdownClass}}\\\">\\n    {{#if displayAllState}}\\n      <div class=\\\"dropdown__list-item o__hoverable u__prevent-breaks\\\" {{action 'changeStatus' 'all'}}>\\n        All\\n      </div>\\n    {{/if}}\\n    {{#if displayOpenState}}\\n      <div data-test-state-open class=\\\"dropdown__list-item inbox__conversation-state__dropdown-list-item o__hoverable u__prevent-breaks {{if (eq status 'opened') 'o__item-selected'}}\\\" {{action 'changeStatus' 'opened'}}>\\n        <span>{{ic-interface-icon 'inbox'}}  Open</span> {{#if (eq status 'opened')}}{{ic-interface-icon 'check' color='blue' solo=true}}{{/if}}\\n      </div>\\n    {{/if}}\\n    {{#if displaySnoozedState}}\\n      <div data-test-state-snoozed class=\\\"dropdown__list-item inbox__conversation-state__dropdown-list-item o__hoverable u__prevent-breaks {{if (eq status 'snoozed') 'o__item-selected'}}\\\" {{action 'changeStatus' 'snoozed'}}>\\n        <span>{{ic-interface-icon 'clock'}}  Snoozed</span> {{#if (eq status 'snoozed')}}{{ic-interface-icon 'check' color='blue' solo=true}}{{/if}}\\n      </div>\\n    {{/if}}\\n    {{#if displayClosedState}}\\n      <div data-test-state-closed class=\\\"dropdown__list-item inbox__conversation-state__dropdown-list-item o__hoverable u__prevent-breaks {{if (eq status 'closed') 'o__item-selected'}}\\\" {{action 'changeStatus' 'closed'}}>\\n        <span>{{ic-interface-icon 'check'}}  Closed</span> {{#if (eq status 'closed')}}{{ic-interface-icon 'check' color='blue' solo=true}}{{/if}}\\n      </div>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"f__custom-select\\\">\\n  <span class=\\\"f__custom-select__box {{unless outline 'o__subtle'}} {{if isOpen 'o__opened'}}\\\">\\n    <div class=\\\"flex items-start\\\">\\n      {{#if showStatusIcon}}\\n        <div class=\\\"layout__box u__mr__10\\\">\\n          {{ic-interface-icon statusIcon solo=true}}\\n        </div>\\n      {{/if}}\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <div class=\\\"flex items-start\\\">\\n          <div class=\\\"layout__box\\\">\\n            {{#unless hideTitle}}\\n              <div\\n                class=\\\"u__one-truncated-line\\\"\\n                {{tooltip\\n                  content=title\\n                  showOnlyWhenTruncated=true\\n                }}\\n              >\\n                {{title}}\\n              </div>\\n            {{/unless}}\\n          </div>\\n          {{#unless hideCount}}\\n            {{#if formattedTotalCount}}\\n              <span class=\\\"flex-auto min-w-0 u__normal-weight text-gray u__ml__5\\\">{{formattedTotalCount}}</span>\\n            {{/if}}\\n          {{/unless}}\\n        </div>\\n      </div>\\n    </div>\\n    <span class=\\\"f__custom-select__caret\\\">{{ic-interface-icon 'small-down-arrow' solo=true}}</span>\\n  </span>\\n{{#if isOpen}}\\n  <div class=\\\"overlay o__dropdown z__2 {{dropdownClass}}\\\">\\n    {{#if displayAllState}}\\n      <div class=\\\"dropdown__list-item o__hoverable u__prevent-breaks\\\" {{action 'changeStatus' 'all'}}>\\n        All\\n      </div>\\n    {{/if}}\\n    {{#if displayOpenState}}\\n      <div data-test-state-open class=\\\"dropdown__list-item inbox__conversation-state__dropdown-list-item o__hoverable u__prevent-breaks {{if (eq status 'opened') 'o__item-selected'}}\\\" {{action 'changeStatus' 'opened'}}>\\n        <span>{{ic-interface-icon 'inbox'}}  Open</span> {{#if (eq status 'opened')}}{{ic-interface-icon 'check' color='blue' solo=true}}{{/if}}\\n      </div>\\n    {{/if}}\\n    {{#if displaySnoozedState}}\\n      <div data-test-state-snoozed class=\\\"dropdown__list-item inbox__conversation-state__dropdown-list-item o__hoverable u__prevent-breaks {{if (eq status 'snoozed') 'o__item-selected'}}\\\" {{action 'changeStatus' 'snoozed'}}>\\n        <span>{{ic-interface-icon 'clock'}}  Snoozed</span> {{#if (eq status 'snoozed')}}{{ic-interface-icon 'check' color='blue' solo=true}}{{/if}}\\n      </div>\\n    {{/if}}\\n    {{#if displayClosedState}}\\n      <div data-test-state-closed class=\\\"dropdown__list-item inbox__conversation-state__dropdown-list-item o__hoverable u__prevent-breaks {{if (eq status 'closed') 'o__item-selected'}}\\\" {{action 'changeStatus' 'closed'}}>\\n        <span>{{ic-interface-icon 'check'}}  Closed</span> {{#if (eq status 'closed')}}{{ic-interface-icon 'check' color='blue' solo=true}}{{/if}}\\n      </div>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n</span>\\n\",\"moduleName\":\"embercom/components/conversation-state-dropdown-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation-state-dropdown-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly, not, equal, and } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\n// eslint-disable-next-line @intercom/intercom/no-legacy-dropdown\nimport ComponentDropdownToggler from 'embercom/components/mixins/component-dropdown-toggler';\n\nlet statusToIconMap = {\n  closed: 'check',\n  snoozed: 'clock',\n  opened: 'inbox',\n};\n\nexport default Component.extend(ComponentDropdownToggler, {\n  tagName: 'span',\n  classNames: ['u__relative'],\n\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  title: null,\n  outline: false,\n  dropdownClass: 'o__down-left',\n  displayAllState: false,\n  displayOpenState: true,\n  displayClosedState: true,\n  displaySnoozedState: true,\n  attributeBindings: ['data-test-state-dropdown'],\n  'data-test-state-dropdown': true,\n  statusIcon: computed('status', function() {\n    return statusToIconMap[this.status];\n  }),\n  containerIsNotWide: not('isWide'),\n  statusIsUndefined: equal('status', undefined),\n  showStatusIcon: not('statusIsUndefined'),\n  hideTitle: and('showStatusIcon', 'containerIsNotWide'),\n  hideCount: false,\n  formattedTotalCount: computed('totalCount', function() {\n    if (this.totalCount) {\n      return `${this.totalCount}`;\n    }\n  }),\n  actions: {\n    changeStatus(status) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('changeStatus', status);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"\", {\"contents\":\"\",\"moduleName\":\"embercom/components/conversation/-conversation-card-component-expanded-inner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/-conversation-card-component-expanded-inner.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- TODO refactor this to reduce complexity something like {{component lastPart.componentPath}} --}}\\n<div class=\\\"truncate\\\">\\n  {{#if (or this.lastPart.hasLightweightResponse this.lastPart.hasReaction)}}\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    responded to this\\n    <a\\n      href={{href-to this.lastPart.messageShowPageRoute this.lastPart.message_id}}\\n      class=\\\"t__em-link\\\"\\n    ><b>message</b></a>\\n    from\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b>\\n    with\\n    <span style=\\\"margin-left: 4px\\\">\\n      {{#if this.lastPart.hasLightweightResponse}}\\n        {{ic-interface-icon this.lastPart.lightweightReplyResponseIcon solo=true}}\\n      {{else}}\\n        {{this.lastPart.selectedReactionEmoji}}\\n      {{/if}}\\n    </span>\\n  {{else if (or this.lastPart.isInitialPartByAdmin this.lastPart.isInitialPartStartedByCustomBot)}}\\n    {{#if @conversation.isOneToOneConversation}}\\n      <b class=\\\"text-black\\\">{{this.authorName}}</b> started a\\n      <a\\n        href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n        class=\\\"t__em-link\\\"\\n      ><b>conversation</b></a>\\n      with\\n      <a\\n        href={{href-to \\\"apps.app.users.user\\\" @conversation.main_participant.user_id}}\\n        class=\\\"t__em-link\\\"\\n      ><b>{{this.userName}}</b></a>\\n    {{else}}\\n      <b class=\\\"text-black\\\">{{this.authorName}}</b> sent a\\n      <Common::Tooltips::User @userId={{@conversation.main_participant.id}}>\\n        {{#if this.lastPart.deleted}}\\n          <b>message</b>\\n        {{else if this.lastPart.isInitialPartStartedByCustomBot}}\\n          <b>custom bot</b>\\n        {{else}}\\n          <LinkTo\\n            @route={{this.lastPart.messageShowPageRoute}}\\n            @model={{this.lastPart.message_id}}\\n            @classNames=\\\"t__em-link\\\"\\n          ><b>{{if @conversation.isInitialChannelPush \\\"push message\\\" \\\"message\\\"}}</b></LinkTo>\\n        {{/if}}\\n        to\\n        <a\\n          href={{href-to \\\"apps.app.users.user\\\" @conversation.main_participant.user_id}}\\n          class=\\\"t__em-link\\\"\\n        ><b>{{this.userName}}</b></a>\\n        {{#if @conversation.isPending}}\\n          to deliver next time they sign in\\n        {{/if}}\\n      </Common::Tooltips::User>\\n    {{/if}}\\n  {{else if this.lastPart.isComment}}\\n    {{#if this.lastPart.isUserPart}}\\n      <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n      replied to this\\n      <a\\n        href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n        class=\\\"t__em-link\\\"\\n      ><b>conversation</b></a>\\n      {{#if @conversation.hasAssignee}}with <b class=\\\"text-black\\\">{{this.adminName}}</b>{{/if}}\\n    {{else}}\\n      <b class=\\\"text-black\\\">{{this.adminName}}</b> replied to this\\n      <a\\n        href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n        class=\\\"t__em-link\\\"\\n      ><b>conversation</b></a>\\n      with\\n      <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    {{/if}}\\n    {{!-- Rule assignment should behave like a user message and display the same statement --}}\\n  {{else if (or this.lastPart.isRuleAssignment this.lastPart.isPriorityRuleEvent)}}\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    sent a\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>message</b></a>\\n  {{else if this.lastPart.isExplicitAssignment}}\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b> assigned this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    with\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    to <b class=\\\"text-black\\\">{{this.assigneeName}}</b>\\n  {{else if this.lastPart.isBulkReassignment}}\\n    This\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    with\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    was reassigned because the previous assignee no longer has Inbox access\\n  {{else if this.lastPart.isNote}}\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b> added a note to this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    with\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n  {{else if (or this.lastPart.isReopener this.lastPart.isUnsnoozer)}}\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b> {{if this.app.inboxIsNotActive \\\"replied to\\\" \\\"reopened\\\"}} this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    with\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n  {{else if this.lastPart.isCloser}}\\n    {{#if this.app.inboxIsNotActive}}\\n      <b class=\\\"text-black\\\">{{this.adminName}}</b> replied to this\\n      <a\\n        href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n        class=\\\"t__em-link\\\"\\n      ><b>conversation</b></a>\\n      with\\n      <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    {{else if this.lastPart.isCloserWithBody}}\\n      <b class=\\\"text-black\\\">{{this.adminName}}</b> replied and closed this\\n      <a\\n        href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n        class=\\\"t__em-link\\\"\\n      ><b>conversation</b></a>\\n      with\\n      <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    {{else}}\\n      <b class=\\\"text-black\\\">{{this.adminName}}</b> closed this\\n      <a\\n        href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n        class=\\\"t__em-link\\\"\\n      ><b>conversation</b></a>\\n      with\\n      <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    {{/if}}\\n  {{else if this.lastPart.isSnoozer}}\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b> snoozed this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    {{this.lastPart.event_data.event_references.snoozed_until.label}}\\n  {{else if this.lastPart.isParticipantAdded}}\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b> added {{this.lastPart.event_data.event_references.participant.label}} to this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n  {{else if this.lastPart.isParticipantRemoved}}\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b> removed {{this.lastPart.event_data.event_references.participant.label}} from this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n  {{else if this.lastPart.isAwayModeAssignment}}\\n    This\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    was assigned to <b class=\\\"text-black\\\">{{this.lastPart.event_data.event_references.assignee.label}}</b> because\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b> turned on away mode and reassignment\\n  {{else if this.lastPart.isPriorityChanger}}\\n    {{#if (eq this.lastPart.event_data.event_references.priority.value this.PRIORITY_VALUE)}}\\n      <b class=\\\"text-black\\\">{{this.adminName}}</b> marked this\\n      <a\\n        href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n        class=\\\"t__em-link\\\"\\n      ><b>conversation</b></a>\\n      with\\n      <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n      as priority\\n    {{else}}\\n      <b class=\\\"text-black\\\">{{this.adminName}}</b> removed priority from this\\n      <a\\n        href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n        class=\\\"t__em-link\\\"\\n      ><b>conversation</b></a>\\n      with\\n      <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    {{/if}}\\n  {{else if this.lastPart.isConversationSlaRemover}}\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b> removed SLA \\\"{{this.lastPart.event_data.event_references.conversation_sla.label}}\\\" from this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    with\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n  {{else if this.lastPart.isConversationSlaApplier}}\\n    Applied SLA \\\"{{this.lastPart.event_data.event_references.conversation_sla.label}}\\\" via rule \\\"{{this.lastPart.event_data.event_references.rule.label}}\\\" to this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    with\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n  {{else if this.lastPart.isConversationSlaTargetMisser}}\\n    Missed response target for SLA \\\"{{this.lastPart.event_data.event_references.conversation_sla.label}}\\\" for this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    with\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n  {{else if this.lastPart.isInitialPartByUser}}\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    started a\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n  {{else if this.lastPart.isTagEvent}}\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b>\\n    changed tags on this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    with\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n  {{else if this.lastPart.isTitleChanger}}\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b>\\n    set the title on this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    with\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    to\\n    {{this.lastPart.event_data.event_references.title.value}}\\n  {{else if this.lastPart.isConversationAttributeUpdatedByAdmin}}\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b>\\n    set the\\n    {{this.lastPart.event_data.event_references.attribute.label}}\\n    on this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    with\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    to\\n    “{{this.lastPart.event_data.event_references.value.label}}”\\n  {{else if this.lastPart.isConversationAttributeUpdatedByUser}}\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    set the\\n    {{this.lastPart.event_data.event_references.attribute.label}}\\n    on this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    with\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b>\\n    to\\n    “{{this.lastPart.event_data.event_references.value.label}}”\\n  {{else if this.lastPart.isConversationAttributeUpdatedByWorkflow}}\\n    Set the\\n    {{this.lastPart.event_data.event_references.attribute.label}}\\n    for this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    between\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b>\\n    and\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    to\\n    “{{this.lastPart.event_data.event_references.value.label}}”\\n    via rule\\n    {{#if this.app.canUseWorkflows}}\\n      <a\\n        href={{href-to \\\"apps.app.inbox.automation.workflows.edit\\\" this.lastPart.event_data.event_references.workflow.id}}\\n        class=\\\"t__em-link\\\"\\n      >{{this.lastPart.event_data.event_references.workflow.label}}</a>\\n    {{else}}\\n      {{this.lastPart.event_data.event_references.workflow.label}}\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- TODO refactor this to reduce complexity something like {{component lastPart.componentPath}} --}}\\n<div class=\\\"truncate\\\">\\n  {{#if (or this.lastPart.hasLightweightResponse this.lastPart.hasReaction)}}\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    responded to this\\n    <a\\n      href={{href-to this.lastPart.messageShowPageRoute this.lastPart.message_id}}\\n      class=\\\"t__em-link\\\"\\n    ><b>message</b></a>\\n    from\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b>\\n    with\\n    <span style=\\\"margin-left: 4px\\\">\\n      {{#if this.lastPart.hasLightweightResponse}}\\n        {{ic-interface-icon this.lastPart.lightweightReplyResponseIcon solo=true}}\\n      {{else}}\\n        {{this.lastPart.selectedReactionEmoji}}\\n      {{/if}}\\n    </span>\\n  {{else if (or this.lastPart.isInitialPartByAdmin this.lastPart.isInitialPartStartedByCustomBot)}}\\n    {{#if @conversation.isOneToOneConversation}}\\n      <b class=\\\"text-black\\\">{{this.authorName}}</b> started a\\n      <a\\n        href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n        class=\\\"t__em-link\\\"\\n      ><b>conversation</b></a>\\n      with\\n      <a\\n        href={{href-to \\\"apps.app.users.user\\\" @conversation.main_participant.user_id}}\\n        class=\\\"t__em-link\\\"\\n      ><b>{{this.userName}}</b></a>\\n    {{else}}\\n      <b class=\\\"text-black\\\">{{this.authorName}}</b> sent a\\n      <Common::Tooltips::User @userId={{@conversation.main_participant.id}}>\\n        {{#if this.lastPart.deleted}}\\n          <b>message</b>\\n        {{else if this.lastPart.isInitialPartStartedByCustomBot}}\\n          <b>custom bot</b>\\n        {{else}}\\n          <LinkTo\\n            @route={{this.lastPart.messageShowPageRoute}}\\n            @model={{this.lastPart.message_id}}\\n            @classNames=\\\"t__em-link\\\"\\n          ><b>{{if @conversation.isInitialChannelPush \\\"push message\\\" \\\"message\\\"}}</b></LinkTo>\\n        {{/if}}\\n        to\\n        <a\\n          href={{href-to \\\"apps.app.users.user\\\" @conversation.main_participant.user_id}}\\n          class=\\\"t__em-link\\\"\\n        ><b>{{this.userName}}</b></a>\\n        {{#if @conversation.isPending}}\\n          to deliver next time they sign in\\n        {{/if}}\\n      </Common::Tooltips::User>\\n    {{/if}}\\n  {{else if this.lastPart.isComment}}\\n    {{#if this.lastPart.isUserPart}}\\n      <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n      replied to this\\n      <a\\n        href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n        class=\\\"t__em-link\\\"\\n      ><b>conversation</b></a>\\n      {{#if @conversation.hasAssignee}}with <b class=\\\"text-black\\\">{{this.adminName}}</b>{{/if}}\\n    {{else}}\\n      <b class=\\\"text-black\\\">{{this.adminName}}</b> replied to this\\n      <a\\n        href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n        class=\\\"t__em-link\\\"\\n      ><b>conversation</b></a>\\n      with\\n      <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    {{/if}}\\n    {{!-- Rule assignment should behave like a user message and display the same statement --}}\\n  {{else if (or this.lastPart.isRuleAssignment this.lastPart.isPriorityRuleEvent)}}\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    sent a\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>message</b></a>\\n  {{else if this.lastPart.isExplicitAssignment}}\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b> assigned this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    with\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    to <b class=\\\"text-black\\\">{{this.assigneeName}}</b>\\n  {{else if this.lastPart.isBulkReassignment}}\\n    This\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    with\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    was reassigned because the previous assignee no longer has Inbox access\\n  {{else if this.lastPart.isNote}}\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b> added a note to this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    with\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n  {{else if (or this.lastPart.isReopener this.lastPart.isUnsnoozer)}}\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b> {{if this.app.inboxIsNotActive \\\"replied to\\\" \\\"reopened\\\"}} this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    with\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n  {{else if this.lastPart.isCloser}}\\n    {{#if this.app.inboxIsNotActive}}\\n      <b class=\\\"text-black\\\">{{this.adminName}}</b> replied to this\\n      <a\\n        href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n        class=\\\"t__em-link\\\"\\n      ><b>conversation</b></a>\\n      with\\n      <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    {{else if this.lastPart.isCloserWithBody}}\\n      <b class=\\\"text-black\\\">{{this.adminName}}</b> replied and closed this\\n      <a\\n        href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n        class=\\\"t__em-link\\\"\\n      ><b>conversation</b></a>\\n      with\\n      <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    {{else}}\\n      <b class=\\\"text-black\\\">{{this.adminName}}</b> closed this\\n      <a\\n        href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n        class=\\\"t__em-link\\\"\\n      ><b>conversation</b></a>\\n      with\\n      <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    {{/if}}\\n  {{else if this.lastPart.isSnoozer}}\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b> snoozed this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    {{this.lastPart.event_data.event_references.snoozed_until.label}}\\n  {{else if this.lastPart.isParticipantAdded}}\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b> added {{this.lastPart.event_data.event_references.participant.label}} to this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n  {{else if this.lastPart.isParticipantRemoved}}\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b> removed {{this.lastPart.event_data.event_references.participant.label}} from this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n  {{else if this.lastPart.isAwayModeAssignment}}\\n    This\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    was assigned to <b class=\\\"text-black\\\">{{this.lastPart.event_data.event_references.assignee.label}}</b> because\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b> turned on away mode and reassignment\\n  {{else if this.lastPart.isPriorityChanger}}\\n    {{#if (eq this.lastPart.event_data.event_references.priority.value this.PRIORITY_VALUE)}}\\n      <b class=\\\"text-black\\\">{{this.adminName}}</b> marked this\\n      <a\\n        href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n        class=\\\"t__em-link\\\"\\n      ><b>conversation</b></a>\\n      with\\n      <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n      as priority\\n    {{else}}\\n      <b class=\\\"text-black\\\">{{this.adminName}}</b> removed priority from this\\n      <a\\n        href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n        class=\\\"t__em-link\\\"\\n      ><b>conversation</b></a>\\n      with\\n      <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    {{/if}}\\n  {{else if this.lastPart.isConversationSlaRemover}}\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b> removed SLA \\\"{{this.lastPart.event_data.event_references.conversation_sla.label}}\\\" from this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    with\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n  {{else if this.lastPart.isConversationSlaApplier}}\\n    Applied SLA \\\"{{this.lastPart.event_data.event_references.conversation_sla.label}}\\\" via rule \\\"{{this.lastPart.event_data.event_references.rule.label}}\\\" to this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    with\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n  {{else if this.lastPart.isConversationSlaTargetMisser}}\\n    Missed response target for SLA \\\"{{this.lastPart.event_data.event_references.conversation_sla.label}}\\\" for this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    with\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n  {{else if this.lastPart.isInitialPartByUser}}\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    started a\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n  {{else if this.lastPart.isTagEvent}}\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b>\\n    changed tags on this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    with\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n  {{else if this.lastPart.isTitleChanger}}\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b>\\n    set the title on this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    with\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    to\\n    {{this.lastPart.event_data.event_references.title.value}}\\n  {{else if this.lastPart.isConversationAttributeUpdatedByAdmin}}\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b>\\n    set the\\n    {{this.lastPart.event_data.event_references.attribute.label}}\\n    on this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    with\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    to\\n    “{{this.lastPart.event_data.event_references.value.label}}”\\n  {{else if this.lastPart.isConversationAttributeUpdatedByUser}}\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    set the\\n    {{this.lastPart.event_data.event_references.attribute.label}}\\n    on this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    with\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b>\\n    to\\n    “{{this.lastPart.event_data.event_references.value.label}}”\\n  {{else if this.lastPart.isConversationAttributeUpdatedByWorkflow}}\\n    Set the\\n    {{this.lastPart.event_data.event_references.attribute.label}}\\n    for this\\n    <a\\n      href={{href-to this.app.conversationRedirectRoute @conversation (query-params redirectTo=@conversationRedirectTo)}}\\n      class=\\\"t__em-link\\\"\\n    ><b>conversation</b></a>\\n    between\\n    <b class=\\\"text-black\\\">{{this.adminName}}</b>\\n    and\\n    <Conversation::MainParticipantTooltip @userName={{this.userName}} @conversation={{@conversation}} />\\n    to\\n    “{{this.lastPart.event_data.event_references.value.label}}”\\n    via rule\\n    {{#if this.app.canUseWorkflows}}\\n      <a\\n        href={{href-to \\\"apps.app.inbox.automation.workflows.edit\\\" this.lastPart.event_data.event_references.workflow.id}}\\n        class=\\\"t__em-link\\\"\\n      >{{this.lastPart.event_data.event_references.workflow.label}}</a>\\n    {{else}}\\n      {{this.lastPart.event_data.event_references.workflow.label}}\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/conversation/card-action-statement-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/card-action-statement-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport displayAdminAs from 'embercom/lib/inbox/display-admin-as';\nimport { CONVERSATION_PRIORITIES } from 'embercom/lib/inbox/constants';\nimport { inject as service } from '@ember/service';\n\nexport default class CardActionStatementComponent extends Component {\n  PRIORITY_VALUE = CONVERSATION_PRIORITIES.priority;\n\n  @service appService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get lastPart() {\n    return this.args.conversation.lastPartExcludingOperator;\n  }\n\n  get userName() {\n    return this.args.conversation.main_participant?.display_as;\n  }\n\n  get adminName() {\n    let currentAdmin = this.app.currentAdmin;\n    let actionStatementAdmin = this.lastPart?.isAdminPart\n      ? this.lastPart.admin\n      : this.args.conversation.assignee;\n\n    if (actionStatementAdmin?.is_unknown) {\n      return displayAdminAs(currentAdmin, actionStatementAdmin, false, false, false);\n    }\n\n    return displayAdminAs(currentAdmin, actionStatementAdmin, false, false, true);\n  }\n\n  get authorName() {\n    if (!this.lastPart) {\n      return null;\n    }\n\n    if (this.lastPart.shouldOverrideAdminAvatar) {\n      return this.lastPart.from_address.name;\n    }\n\n    return this.lastPart.admin.firstNameOrNameOrEmail;\n  }\n\n  get assigneeName() {\n    if (this.args.conversation.unassigned) {\n      return 'Unassigned';\n    }\n\n    if (!this.args.conversation.assignee) {\n      return `${this.app.name} Teammate`;\n    }\n\n    return displayAdminAs(\n      this.app.currentAdmin,\n      this.args.conversation.assignee,\n      this.lastPart?.isReflexiveAssignment,\n      false,\n      true,\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isInbox}}\\n  <div class=\\\"layout__box o__has-rows inbox__full-height\\\">\\n    {{#unless @isHeaderHidden}}\\n      <Inbox::CardHeaderComponent\\n        @admin={{admin}}\\n        @conversation={{conversation}}\\n        @streamAndControls={{streamAndControls}}\\n        @showConversationLink={{false}}\\n        @isInbox={{true}}\\n        @changeToNotePane={{action \\\"changeToNotePane\\\"}}\\n        @readOnly={{conversation.fromDeletedUser}}\\n        @collapse=\\\"collapse\\\"\\n        @openModal={{action \\\"openModal\\\"}}\\n      />\\n    {{/unless}}\\n    <Conversation::StreamAndControls\\n      @tagName=\\\"\\\"\\n      @actionReceiver={{streamAndControls}}\\n      @conversation={{conversation}}\\n      @isInbox={{isInbox}}\\n      @openAppsPopover={{openAppsPopover}}\\n    />\\n  </div>\\n{{else if (and (has-feature \\\"restrict-conversation-access\\\") conversation.redacted)}}\\n  <div class=\\\"text-gray h-full flex justify-between p-4\\\">\\n    <Conversation::Restricted class=\\\"flex-grow\\\" data-test-restricted-conversation-message />\\n    <div class=\\\"flex-initial card__timestamp t__light-text text-gray\\\">\\n      <time class=\\\"js__relative-time\\\" data-formatter=\\\"abbreviated-relative-time-ago-helper\\\" datetime={{conversation.sorting_updated_at}} {{tooltip content=formattedToolTipDate}}>\\n        {{abbreviated-relative-time-ago-helper conversation.sorting_updated_at}}\\n      </time>\\n    </div>\\n  </div>\\n{{else}}\\n  <div class=\\\"inbox__card__header-wrapper\\\">\\n    <div\\n      class=\\\"inbox__card__header-collapsed test__card__conversation__body {{if isExpanded \\\"o__expand\\\" \\\"o__collapse\\\"}}\\\"\\n      {{on \\\"click\\\" (unless-event-target-decends-from \\\"a\\\" (action \\\"expand\\\"))}}\\n    >\\n      <div class=\\\"flex items-start\\\">\\n        <div class=\\\"flex-auto min-w-0 flex items-center\\\">\\n          <div class=\\\"u__display-inline-block u__mr__10\\\">\\n            {{#if conversation.isLastPartARuleAssignment}}\\n              <IcAvatarComponent\\n                @model={{conversation.main_participant}}\\n                @size=\\\"m\\\"\\n              />\\n            {{else if conversation.lastPart.isAdminPart}}\\n              {{#if conversation.lastPart.shouldOverrideAdminAvatar}}\\n                <IcAvatarComponent\\n                  @model={{conversation.lastPart.fromAddressModel}}\\n                  @size=\\\"m\\\"\\n                />\\n              {{else if conversation.lastPart.hasLightweightResponse}}\\n                <IcAvatarComponent\\n                  @model={{conversation.main_participant}}\\n                  @size=\\\"m\\\"\\n                />\\n              {{else}}\\n                <IcAvatarComponent\\n                  @model={{conversation.lastPart.admin}}\\n                  @size=\\\"m\\\"\\n                />\\n              {{/if}}\\n            {{else}}\\n              <IcAvatarComponent\\n                @model={{conversation.main_participant}}\\n                @size=\\\"m\\\"\\n              />\\n            {{/if}}\\n          </div>\\n          <div\\n            class=\\\"flex-auto min-w-0 conversation__card__description text-gray m__conversation-card__action-statement test__feed__conversation-card-header\\\"\\n          >\\n            <Conversation::CardActionStatementComponent\\n              @conversation={{conversation}}\\n              @conversationRedirectTo={{conversationRedirectTo}}\\n            />\\n          </div>\\n        </div>\\n        <div class=\\\"card__timestamp t__light-text text-gray flex-shrink-0\\\">\\n          <time class=\\\"js__relative-time\\\" data-formatter=\\\"abbreviated-relative-time-ago-helper\\\" datetime={{conversation.sorting_updated_at}} {{tooltip content=formattedToolTipDate}}>\\n            {{abbreviated-relative-time-ago-helper conversation.sorting_updated_at}}\\n          </time>{{!--\\n          --}}{{#if conversation.lastPart.shouldDisplaySeenState}}{{!--\\n            --}}{{#if isNotInitialChannelPush}}{{!--\\n              --}}. {{conversation.conversationSeenStatus}}\\n            {{/if}}\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n    <div\\n      class=\\\"inbox__card__header-expanded {{if isExpanded \\\"o__expand\\\" \\\"o__collapse\\\"}}\\\"\\n    >\\n      <Inbox::CardHeaderComponent\\n        @admin={{admin}}\\n        @conversation={{conversation}}\\n        @streamAndControls={{streamAndControls}}\\n        @showConversationLink={{true}}\\n        @isInbox={{false}}\\n        @conversationRedirectTo={{conversationRedirectTo}}\\n        @changeToNotePane={{action \\\"changeToNotePane\\\"}}\\n        @collapse=\\\"collapse\\\"\\n        @openModal={{action \\\"openModal\\\"}}\\n        @onConversationClosed={{action \\\"onConversationClosed\\\"}}\\n        @onConversationReopened={{action \\\"onConversationReopened\\\"}}\\n        @onConversationSnoozed={{action \\\"onConversationSnoozed\\\"}}\\n        @readOnly={{this.readOnly}}\\n      />\\n    </div>\\n  </div>\\n  <div\\n    class=\\\"conversation__card__content-wrapper {{unless inList \\\"layout__box o__has-rows o__flexes-to-1\\\"}}\\\"\\n  >\\n    <div\\n      class=\\\"conversation__card__content-collapsed {{if @app.canUseEmberConversationTitle 'conversation__card__content-collapsed-with-title'}} {{if isExpanded \\\"o__expand\\\" \\\"o__collapse\\\"}} {{if (and isReducedHeightCard (not @app.canUseEmberConversationTitle)) \\\"o__reduced-height\\\"}}\\\"\\n      {{on \\\"click\\\" (unless-event-target-decends-from \\\"a\\\" (action \\\"expand\\\"))}}\\n    >\\n      <div\\n        class=\\\"conversation__card__content-collapsed-inner {{if isExpanded \\\"o__expand\\\" \\\"o__collapse\\\"}}\\\"\\n      >\\n        {{#if conversation.has_uploads}}\\n          <div class=\\\"m__conversation-card__attachments\\\">\\n            {{ic-interface-icon \\\"attachment\\\" solo=true}}\\n          </div>\\n        {{/if}}\\n        {{#if this.app.canUseEmberConversationTitle~}}\\n          <div class=\\\"conversation__list__item__title__text u__one-truncated-line\\\" data-test-conversation-title>\\n            {{~@conversation.title~}}\\n          </div>\\n        {{~/if}}\\n        <div class=\\\"flex items-center\\\">\\n          {{#if conversation.someoneIsTyping}}\\n            <div class=\\\"flex-auto min-w-0\\\">\\n              <Conversation::IsTypingComponent @conversation={{conversation}} />\\n            </div>\\n          {{else}}\\n            {{#if\\n              (and\\n                conversation.isLastPartAdminAction\\n                (not conversation.isLastPartARuleAssignment)\\n              )\\n            }}\\n              <div\\n                class=\\\"u__display-inline-block u__mr__10 m__conversation-card__summary__avatar {{if this.app.canUseEmberConversationTitle 'o__ml__0'}}\\\"\\n              >\\n                {{#if conversation.firstUserPart}}\\n                  <IcAvatarComponent\\n                    @model={{conversation.main_participant}}\\n                    @size={{if this.app.canUseEmberConversationTitle \\\"xs\\\" \\\"s\\\"}}\\n                  />\\n                {{else}}\\n                  <IcAvatarComponent\\n                    @model={{conversation.lastPartWithContentExcludingOperator.admin}}\\n                    @size={{if this.app.canUseEmberConversationTitle \\\"xs\\\" \\\"s\\\"}}\\n                  />\\n                {{/if}}\\n              </div>\\n              <div\\n                class=\\\"flex-auto min-w-0 t__conversation-summary conversation__card__description test__feed__conversation-card-summary\\\"\\n              >\\n                <TruncatedTextComponent>\\n                  {{#if conversation.firstUserPart}}\\n                    {{conversation.firstUserPart.parsedSummary}}\\n                  {{else}}\\n                    {{conversation.lastPartWithContentExcludingOperator.parsedSummary\\n                    }}\\n                  {{/if}}\\n                </TruncatedTextComponent>\\n              </div>\\n            {{else}}\\n              <div class=\\\"flex-auto min-w-0\\\">\\n                <Conversation::SummaryComponent\\n                  @app={{app}}\\n                  @admin={{admin}}\\n                  @conversation={{conversation}}\\n                  @isInbox={{false}}\\n                />\\n              </div>\\n            {{/if}}\\n          {{/if}}\\n          {{#if conversation.display_item_reply_count}}\\n            <div\\n              class=\\\"conversation__card__comment-count m__conversation-card__comment-count {{if conversation.has_uploads \\\"o__has-uploads\\\"}}\\\"\\n            >\\n              {{conversation.message_and_replies_count}}\\n            </div>\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n    <div\\n      class=\\\"conversation__card__content-expanded layout__box o__has-rows u__relative {{if isExpanded \\\"o__expand\\\" \\\"o__collapse\\\"}} {{if isReducedHeightCard \\\"o__reduced-height\\\"}} {{unless inList \\\"o__flexes-to-1\\\"}}\\\"\\n    >\\n      {{#if isExpanded}}\\n        <Conversation::StreamAndControls\\n          @tagName=\\\"\\\"\\n          @actionReceiver={{streamAndControls}}\\n          @conversation={{conversation}}\\n          @isInbox={{isInbox}}\\n          @readOnly={{readOnly}}\\n        />\\n      {{/if}}\\n    </div>\\n  </div>\\n{{/if}}\\n{{#if shouldDisplayTransitionInformation}}\\n  <Conversation::TransitionInformation\\n    @conversation={{conversation}}\\n    @admin={{admin}}\\n    @transitionInformation={{transitionInformation}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isInbox}}\\n  <div class=\\\"layout__box o__has-rows inbox__full-height\\\">\\n    {{#unless @isHeaderHidden}}\\n      <Inbox::CardHeaderComponent\\n        @admin={{admin}}\\n        @conversation={{conversation}}\\n        @streamAndControls={{streamAndControls}}\\n        @showConversationLink={{false}}\\n        @isInbox={{true}}\\n        @changeToNotePane={{action \\\"changeToNotePane\\\"}}\\n        @readOnly={{conversation.fromDeletedUser}}\\n        @collapse=\\\"collapse\\\"\\n        @openModal={{action \\\"openModal\\\"}}\\n      />\\n    {{/unless}}\\n    <Conversation::StreamAndControls\\n      @tagName=\\\"\\\"\\n      @actionReceiver={{streamAndControls}}\\n      @conversation={{conversation}}\\n      @isInbox={{isInbox}}\\n      @openAppsPopover={{openAppsPopover}}\\n    />\\n  </div>\\n{{else if (and (has-feature \\\"restrict-conversation-access\\\") conversation.redacted)}}\\n  <div class=\\\"text-gray h-full flex justify-between p-4\\\">\\n    <Conversation::Restricted class=\\\"flex-grow\\\" data-test-restricted-conversation-message />\\n    <div class=\\\"flex-initial card__timestamp t__light-text text-gray\\\">\\n      <time class=\\\"js__relative-time\\\" data-formatter=\\\"abbreviated-relative-time-ago-helper\\\" datetime={{conversation.sorting_updated_at}} {{tooltip content=formattedToolTipDate}}>\\n        {{abbreviated-relative-time-ago-helper conversation.sorting_updated_at}}\\n      </time>\\n    </div>\\n  </div>\\n{{else}}\\n  <div class=\\\"inbox__card__header-wrapper\\\">\\n    <div\\n      class=\\\"inbox__card__header-collapsed test__card__conversation__body {{if isExpanded \\\"o__expand\\\" \\\"o__collapse\\\"}}\\\"\\n      {{on \\\"click\\\" (unless-event-target-decends-from \\\"a\\\" (action \\\"expand\\\"))}}\\n    >\\n      <div class=\\\"flex items-start\\\">\\n        <div class=\\\"flex-auto min-w-0 flex items-center\\\">\\n          <div class=\\\"u__display-inline-block u__mr__10\\\">\\n            {{#if conversation.isLastPartARuleAssignment}}\\n              <IcAvatarComponent\\n                @model={{conversation.main_participant}}\\n                @size=\\\"m\\\"\\n              />\\n            {{else if conversation.lastPart.isAdminPart}}\\n              {{#if conversation.lastPart.shouldOverrideAdminAvatar}}\\n                <IcAvatarComponent\\n                  @model={{conversation.lastPart.fromAddressModel}}\\n                  @size=\\\"m\\\"\\n                />\\n              {{else if conversation.lastPart.hasLightweightResponse}}\\n                <IcAvatarComponent\\n                  @model={{conversation.main_participant}}\\n                  @size=\\\"m\\\"\\n                />\\n              {{else}}\\n                <IcAvatarComponent\\n                  @model={{conversation.lastPart.admin}}\\n                  @size=\\\"m\\\"\\n                />\\n              {{/if}}\\n            {{else}}\\n              <IcAvatarComponent\\n                @model={{conversation.main_participant}}\\n                @size=\\\"m\\\"\\n              />\\n            {{/if}}\\n          </div>\\n          <div\\n            class=\\\"flex-auto min-w-0 conversation__card__description text-gray m__conversation-card__action-statement test__feed__conversation-card-header\\\"\\n          >\\n            <Conversation::CardActionStatementComponent\\n              @conversation={{conversation}}\\n              @conversationRedirectTo={{conversationRedirectTo}}\\n            />\\n          </div>\\n        </div>\\n        <div class=\\\"card__timestamp t__light-text text-gray flex-shrink-0\\\">\\n          <time class=\\\"js__relative-time\\\" data-formatter=\\\"abbreviated-relative-time-ago-helper\\\" datetime={{conversation.sorting_updated_at}} {{tooltip content=formattedToolTipDate}}>\\n            {{abbreviated-relative-time-ago-helper conversation.sorting_updated_at}}\\n          </time>{{!--\\n          --}}{{#if conversation.lastPart.shouldDisplaySeenState}}{{!--\\n            --}}{{#if isNotInitialChannelPush}}{{!--\\n              --}}. {{conversation.conversationSeenStatus}}\\n            {{/if}}\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n    <div\\n      class=\\\"inbox__card__header-expanded {{if isExpanded \\\"o__expand\\\" \\\"o__collapse\\\"}}\\\"\\n    >\\n      <Inbox::CardHeaderComponent\\n        @admin={{admin}}\\n        @conversation={{conversation}}\\n        @streamAndControls={{streamAndControls}}\\n        @showConversationLink={{true}}\\n        @isInbox={{false}}\\n        @conversationRedirectTo={{conversationRedirectTo}}\\n        @changeToNotePane={{action \\\"changeToNotePane\\\"}}\\n        @collapse=\\\"collapse\\\"\\n        @openModal={{action \\\"openModal\\\"}}\\n        @onConversationClosed={{action \\\"onConversationClosed\\\"}}\\n        @onConversationReopened={{action \\\"onConversationReopened\\\"}}\\n        @onConversationSnoozed={{action \\\"onConversationSnoozed\\\"}}\\n        @readOnly={{this.readOnly}}\\n      />\\n    </div>\\n  </div>\\n  <div\\n    class=\\\"conversation__card__content-wrapper {{unless inList \\\"layout__box o__has-rows o__flexes-to-1\\\"}}\\\"\\n  >\\n    <div\\n      class=\\\"conversation__card__content-collapsed {{if @app.canUseEmberConversationTitle 'conversation__card__content-collapsed-with-title'}} {{if isExpanded \\\"o__expand\\\" \\\"o__collapse\\\"}} {{if (and isReducedHeightCard (not @app.canUseEmberConversationTitle)) \\\"o__reduced-height\\\"}}\\\"\\n      {{on \\\"click\\\" (unless-event-target-decends-from \\\"a\\\" (action \\\"expand\\\"))}}\\n    >\\n      <div\\n        class=\\\"conversation__card__content-collapsed-inner {{if isExpanded \\\"o__expand\\\" \\\"o__collapse\\\"}}\\\"\\n      >\\n        {{#if conversation.has_uploads}}\\n          <div class=\\\"m__conversation-card__attachments\\\">\\n            {{ic-interface-icon \\\"attachment\\\" solo=true}}\\n          </div>\\n        {{/if}}\\n        {{#if this.app.canUseEmberConversationTitle~}}\\n          <div class=\\\"conversation__list__item__title__text u__one-truncated-line\\\" data-test-conversation-title>\\n            {{~@conversation.title~}}\\n          </div>\\n        {{~/if}}\\n        <div class=\\\"flex items-center\\\">\\n          {{#if conversation.someoneIsTyping}}\\n            <div class=\\\"flex-auto min-w-0\\\">\\n              <Conversation::IsTypingComponent @conversation={{conversation}} />\\n            </div>\\n          {{else}}\\n            {{#if\\n              (and\\n                conversation.isLastPartAdminAction\\n                (not conversation.isLastPartARuleAssignment)\\n              )\\n            }}\\n              <div\\n                class=\\\"u__display-inline-block u__mr__10 m__conversation-card__summary__avatar {{if this.app.canUseEmberConversationTitle 'o__ml__0'}}\\\"\\n              >\\n                {{#if conversation.firstUserPart}}\\n                  <IcAvatarComponent\\n                    @model={{conversation.main_participant}}\\n                    @size={{if this.app.canUseEmberConversationTitle \\\"xs\\\" \\\"s\\\"}}\\n                  />\\n                {{else}}\\n                  <IcAvatarComponent\\n                    @model={{conversation.lastPartWithContentExcludingOperator.admin}}\\n                    @size={{if this.app.canUseEmberConversationTitle \\\"xs\\\" \\\"s\\\"}}\\n                  />\\n                {{/if}}\\n              </div>\\n              <div\\n                class=\\\"flex-auto min-w-0 t__conversation-summary conversation__card__description test__feed__conversation-card-summary\\\"\\n              >\\n                <TruncatedTextComponent>\\n                  {{#if conversation.firstUserPart}}\\n                    {{conversation.firstUserPart.parsedSummary}}\\n                  {{else}}\\n                    {{conversation.lastPartWithContentExcludingOperator.parsedSummary\\n                    }}\\n                  {{/if}}\\n                </TruncatedTextComponent>\\n              </div>\\n            {{else}}\\n              <div class=\\\"flex-auto min-w-0\\\">\\n                <Conversation::SummaryComponent\\n                  @app={{app}}\\n                  @admin={{admin}}\\n                  @conversation={{conversation}}\\n                  @isInbox={{false}}\\n                />\\n              </div>\\n            {{/if}}\\n          {{/if}}\\n          {{#if conversation.display_item_reply_count}}\\n            <div\\n              class=\\\"conversation__card__comment-count m__conversation-card__comment-count {{if conversation.has_uploads \\\"o__has-uploads\\\"}}\\\"\\n            >\\n              {{conversation.message_and_replies_count}}\\n            </div>\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n    <div\\n      class=\\\"conversation__card__content-expanded layout__box o__has-rows u__relative {{if isExpanded \\\"o__expand\\\" \\\"o__collapse\\\"}} {{if isReducedHeightCard \\\"o__reduced-height\\\"}} {{unless inList \\\"o__flexes-to-1\\\"}}\\\"\\n    >\\n      {{#if isExpanded}}\\n        <Conversation::StreamAndControls\\n          @tagName=\\\"\\\"\\n          @actionReceiver={{streamAndControls}}\\n          @conversation={{conversation}}\\n          @isInbox={{isInbox}}\\n          @readOnly={{readOnly}}\\n        />\\n      {{/if}}\\n    </div>\\n  </div>\\n{{/if}}\\n{{#if shouldDisplayTransitionInformation}}\\n  <Conversation::TransitionInformation\\n    @conversation={{conversation}}\\n    @admin={{admin}}\\n    @transitionInformation={{transitionInformation}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/card-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/card-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-attrs-in-components */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport $ from 'jquery';\nimport { later, schedule, scheduleOnce } from '@ember/runloop';\nimport { computed, observer } from '@ember/object';\nimport { readOnly, not, and } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { getOwner } from '@ember/application';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport DidChangeAttrs from 'ember-did-change-attrs';\nimport InboundActions from 'ember-component-inbound-actions/inbound-actions';\nimport ENV from 'embercom/config/environment';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport moment from 'moment';\nimport RunMixin from 'ember-lifeline/mixins/run';\nimport TransitionInformation from 'embercom/lib/inbox/transition-information';\n\nexport default Component.extend(DidChangeAttrs, RunMixin, InboundActions, {\n  notificationsService: service(),\n  conversationsService: service(),\n  attributeBindings: ['data-conversation-id', 'data-intercom-target'],\n  'data-conversation-id': readOnly('conversation.id'),\n  'data-intercom-target': ternary('isInbox', 'conversation-stream-wrapper', ''),\n  classNameBindings: [\n    'notInbox:card',\n    'isHoverable:o__hoverable',\n    'isInbox:conversation__view__stream-wrapper',\n    'isInbox:conversation__inbox__current-conversation',\n    'notInbox:conversation__card',\n    'notInboxInList:mb-6',\n    'notInboxInList:conversation__card__in-list',\n    'new:a__new-activity-feed-conversation',\n  ],\n  didChangeAttrsConfig: {\n    attrs: ['conversation'],\n  },\n  cardAnimationTime: 1500,\n  inList: true,\n  new: false,\n  isInbox: false,\n  isFeed: false,\n  isExpanded: false,\n  isCollapsable: true,\n  readOnly: false,\n  canBeMessage: false,\n  notReadOnly: not('readOnly'),\n  isCollapsed: not('isExpanded'),\n  notInbox: not('isInbox'),\n  notInboxInList: and('notInbox', 'inList'),\n  viewportSelector: '.pl_profile_outer_container',\n  shouldReduceCardHeight: not('conversation.isLastPartARuleAssignment'),\n  isReducedHeightCard: and('conversation.isLastPartAdminAction', 'shouldReduceCardHeight'),\n  shouldBeHere: not('shouldntBeHere'),\n  isHoverable: and('isCollapsed', 'isNotInitialChannelPush', 'shouldBeHere'),\n  isNotInitialChannelPush: not('conversation.isInitialChannelPush'),\n  conversationRedirectTo: ternary('isFeed', 'feed', 'inbox'),\n  shouldDisplayTransitionInformation: and('transitionInformation', 'isCollapsed', 'shouldntBeHere'),\n\n  formattedToolTipDate: computed('conversation.sorting_updated_at', function() {\n    return moment(this.conversation.sorting_updated_at).format(\n      dateAndTimeFormats.fullDateAndTimeWithoutTimezone,\n    );\n  }),\n\n  conversation: null,\n\n  init() {\n    this._super(...arguments);\n\n    this.subscribeRealtime(this.conversation);\n  },\n\n  didChangeAttrs(changes) {\n    this._super(...arguments);\n\n    if (changes.conversation) {\n      this.set('transitionInformation', null);\n      this.unsubscribeRealtime(changes.conversation.previous);\n      this.subscribeRealtime(changes.conversation.current);\n    }\n  },\n\n  subscribeRealtime(conversation) {\n    this.conversationsService.subscribeRealtime(conversation);\n  },\n\n  unsubscribeRealtime(conversation) {\n    this.conversationsService.unsubscribeRealtime(conversation);\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    if (!this['new']) {\n      this.runTask(() => {\n        this.set('new', false);\n      }, ENV.APP._400MS);\n    }\n  },\n\n  willDestroyElement() {\n    this.unsubscribeRealtime(this.conversation);\n    this._super(...arguments);\n  },\n\n  isExpandedChanged: observer({\n    dependentKeys: ['isExpanded'],\n\n    fn() {\n      if (this.isExpanded) {\n        later(this, this.hideCollapsedHeader, this.cardAnimationTime);\n      } else {\n        schedule('afterRender', this, function() {\n          $('.inbox__card__header-collapsed', this.element).css('zIndex', 1);\n        });\n      }\n    },\n\n    sync: false,\n  }),\n\n  isClosedOrExpandedChanged: observer({\n    dependentKeys: ['shouldntBeHere', 'isExpanded'],\n\n    fn() {\n      if (this.shouldntBeHere) {\n        this.set('transitionInformation', new TransitionInformation(this.conversation));\n\n        if (!this.isExpanded) {\n          this.runTask(() => {\n            this.send('remove');\n          }, ENV.APP.auto_transition_timeout);\n        }\n      }\n    },\n\n    sync: false,\n  }),\n\n  shouldntBeHere: computed(\n    'parentStateContext',\n    'conversation.isOpen',\n    'conversation.isSnoozed',\n    'conversation.isNotClosed',\n    function() {\n      if (this.parentStateContext === 'opened') {\n        return !this.get('conversation.isOpen');\n      } else if (this.parentStateContext === 'snoozed') {\n        return !this.get('conversation.isSnoozed');\n      } else if (this.parentStateContext === 'closed') {\n        return this.get('conversation.isNotClosed');\n      }\n\n      return false;\n    },\n  ),\n\n  hideCollapsedHeader() {\n    if (this.isDestroying || this.isDestroyed) {\n      return;\n    }\n    scheduleOnce('afterRender', this, this._hideCollapsedHeader);\n  },\n\n  _hideCollapsedHeader() {\n    if (this.isExpanded && !(this.isDestroying || this.isDestroyed)) {\n      $('.inbox__card__header-collapsed', this.element).css('zIndex', -1);\n    }\n  },\n\n  actions: {\n    expand() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('expand', this.get('conversation.id'));\n      this.conversation.markMentionsAsRead();\n      if (!this.get('conversation.isInitialChannelPush')) {\n        this.setProperties({\n          'conversation.isCurrentlyActive': true,\n          isLoading: true,\n        });\n      }\n      if (typeof this.attrs.trackEventDetails === 'function') {\n        this.attrs.trackEventDetails(this.conversation);\n      }\n    },\n    collapse() {\n      if (this.isCollapsable && this.notInbox) {\n        this.setProperties({\n          'conversation.isCurrentlyActive': false,\n        });\n      }\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('collapse');\n    },\n    onConversationReopened() {\n      if (this.shouldntBeHere) {\n        this.send('collapse');\n      }\n    },\n    onConversationClosed() {\n      this.send('collapse');\n    },\n    onConversationSnoozed() {\n      this.send('collapse');\n    },\n    openModal(path, params) {\n      let applicationRoute = getOwner(this).lookup('route:application');\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      applicationRoute.send('openModal', path, params);\n    },\n    reload() {\n      this.set('isLoading', true);\n    },\n    changeToNotePane() {\n      this.streamAndControls.send('changeToNotePane');\n    },\n    focusComposerTab(tab) {\n      this.streamAndControls.send('focusComposerTab', tab);\n    },\n    notifyError(message) {\n      this.notificationsService.notifyError(message);\n    },\n    remove() {\n      if (this.isDestroying || this.isDestroyed) {\n        return;\n      }\n      let duration = ENV.APP._300MS;\n      let height = $(this.element).outerHeight();\n      let scale = 0.92;\n\n      this.runTask(() => {\n        let $card = $('.conversation__card:has(.o__expand)');\n        let $viewport = $(this.viewportSelector);\n        let offset = $card.length ? $card.offset().top - $viewport.offset().top : 0;\n\n        $(this.element).velocity(\n          { marginBottom: -height },\n          {\n            duration: (duration * 2) / 3,\n            delay: (duration * 1) / 3,\n            queue: false,\n            progress: () => {\n              if ($card.length) {\n                $card[0].scrollIntoView();\n                $viewport[0].scrollTop -= offset;\n              }\n            },\n          },\n        );\n\n        $(this.element).velocity(\n          { scaleX: scale, scaleY: scale },\n          {\n            duration,\n            queue: false,\n            easing: 'easeIn',\n          },\n        );\n\n        let dateAgoSelector = '.js__feed__date-ago-header';\n        let $dateAgoHeader = $(this.element).prev(dateAgoSelector);\n        let daysAgo = $dateAgoHeader.attr('data-days-ago');\n        if (\n          $dateAgoHeader.is(':visible') &&\n          $(`${dateAgoSelector}[data-days-ago='${daysAgo}']`).length === 1\n        ) {\n          $dateAgoHeader.velocity('slideUp', { duration });\n        }\n\n        this.runTask(() => {\n          // eslint-disable-next-line ember/closure-actions\n          this.sendAction('remove', this.get('conversation.id'));\n        }, duration);\n      }, ENV.APP._2000MS);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div id=\\\"js-velocity-dummy\\\"></div>\\n<PaginationComponent\\n  @viewportSelector={{viewportSelector}}\\n  @scrollingContentSelector=\\\".js-card-list-scrolling-selector\\\"\\n  @onPageRequested={{requestPage}}\\n>\\n  <div class=\\\"js-card-list-scrolling-selector\\\">\\n    {{#each conversations as |conversation index|}}\\n      <div class=\\\"feed__conversation-entry layout__box o__has-columns\\\">\\n        {{#if showDates}}\\n          <div class=\\\"feed__date-ago-header__container\\\">\\n            <div\\n              class=\\\"feed__date-ago-header js__feed__date-ago-header\\\"\\n              data-days-ago=\\\"{{conversation.feedDaysAgo}}\\\"\\n            >\\n              {{#if (eq conversation.feedDaysAgo 0)}}\\n                <h2 class=\\\"feed__date-ago-header__day\\\">\\n                  Today\\n                </h2>\\n              {{else if (eq conversation.feedDaysAgo 1)}}\\n                <h2 class=\\\"feed__date-ago-header__day\\\">\\n                  Yesterday\\n                </h2>\\n              {{/if}}\\n              <h4 class=\\\"feed__date-ago-header__date\\\">\\n                {{conversation.feedFormattedDate}}\\n              </h4>\\n            </div>\\n          </div>\\n        {{/if}}\\n        <div class=\\\"feed__date-ago-card__container\\\">\\n          <Conversation::CardComponent\\n            @app={{app}}\\n            @admin={{admin}}\\n            @conversation={{conversation}}\\n            @isExpanded={{eq expandedCardId conversation.id}}\\n            @openModal={{openModal}}\\n            @isFeed={{not app.currentAdminHasInboxAccess}}\\n            @canBeMessage={{showsConversationsAndMessages}}\\n            class=\\\"u__cf\\\"\\n            @new={{conversation.new}}\\n            @viewportSelector={{viewportSelector}}\\n            @parentStateContext={{parentStateContext}}\\n            @trackEventDetails={{trackEventDetails}}\\n            @expand={{action \\\"expand\\\"}}\\n            @collapse={{action \\\"collapse\\\"}}\\n            @remove={{action \\\"remove\\\"}}\\n            @readOnly={{@readOnly}}\\n          />\\n        </div>\\n      </div>\\n    {{/each}}\\n  </div>\\n</PaginationComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div id=\\\"js-velocity-dummy\\\"></div>\\n<PaginationComponent\\n  @viewportSelector={{viewportSelector}}\\n  @scrollingContentSelector=\\\".js-card-list-scrolling-selector\\\"\\n  @onPageRequested={{requestPage}}\\n>\\n  <div class=\\\"js-card-list-scrolling-selector\\\">\\n    {{#each conversations as |conversation index|}}\\n      <div class=\\\"feed__conversation-entry layout__box o__has-columns\\\">\\n        {{#if showDates}}\\n          <div class=\\\"feed__date-ago-header__container\\\">\\n            <div\\n              class=\\\"feed__date-ago-header js__feed__date-ago-header\\\"\\n              data-days-ago=\\\"{{conversation.feedDaysAgo}}\\\"\\n            >\\n              {{#if (eq conversation.feedDaysAgo 0)}}\\n                <h2 class=\\\"feed__date-ago-header__day\\\">\\n                  Today\\n                </h2>\\n              {{else if (eq conversation.feedDaysAgo 1)}}\\n                <h2 class=\\\"feed__date-ago-header__day\\\">\\n                  Yesterday\\n                </h2>\\n              {{/if}}\\n              <h4 class=\\\"feed__date-ago-header__date\\\">\\n                {{conversation.feedFormattedDate}}\\n              </h4>\\n            </div>\\n          </div>\\n        {{/if}}\\n        <div class=\\\"feed__date-ago-card__container\\\">\\n          <Conversation::CardComponent\\n            @app={{app}}\\n            @admin={{admin}}\\n            @conversation={{conversation}}\\n            @isExpanded={{eq expandedCardId conversation.id}}\\n            @openModal={{openModal}}\\n            @isFeed={{not app.currentAdminHasInboxAccess}}\\n            @canBeMessage={{showsConversationsAndMessages}}\\n            class=\\\"u__cf\\\"\\n            @new={{conversation.new}}\\n            @viewportSelector={{viewportSelector}}\\n            @parentStateContext={{parentStateContext}}\\n            @trackEventDetails={{trackEventDetails}}\\n            @expand={{action \\\"expand\\\"}}\\n            @collapse={{action \\\"collapse\\\"}}\\n            @remove={{action \\\"remove\\\"}}\\n            @readOnly={{@readOnly}}\\n          />\\n        </div>\\n      </div>\\n    {{/each}}\\n  </div>\\n</PaginationComponent>\\n\",\"moduleName\":\"embercom/components/conversation/card-list-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/card-list-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport $ from 'jquery';\nimport { Promise as EmberPromise } from 'rsvp';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { task, taskGroup } from 'ember-concurrency';\nimport { addEventListener, runDisposables } from 'ember-lifeline';\nimport Velocity from 'velocity';\n\nconst CARD_BUFFER = 200;\nconst CARD_HEADER_HEIGHT = 88;\nconst DEFAULT_CARD_HEIGHT = 412;\nconst MAX_CARD_HEIGHT = 560;\nconst MIN_CARD_HEIGHT = 450;\nconst SCROLL_OFFSET = -50;\n\nexport default Component.extend({\n  scrollOffset: SCROLL_OFFSET,\n  expandAndScrollGroup: taskGroup().enqueue(),\n  showsConversationsAndMessages: false,\n  expandedCardId: null,\n\n  // A bug in velocity means that some conversation cards should not be auto-scrolled\n  // Right now that is ones in insights and in educate responses. https://github.com/julianshapiro/velocity/pull/564\n  enableAutoScroll: false,\n\n  collapsedHeight: 62,\n\n  didInsertElement() {\n    this._super(...arguments);\n    Velocity(document.getElementById('js-velocity-dummy'), { opacity: 0.5 }, { duration: 1000 });\n    this.setViewportHeight();\n    addEventListener(this, window, 'resize', () => this.setViewportHeight());\n    addEventListener(this, this.getViewportElement(), 'scroll', () => {\n      if (this.get('expandCardTask.isRunning')) {\n        this.scrollToCardTask.cancelAll();\n      }\n    });\n  },\n\n  destroy() {\n    this._super(...arguments);\n    runDisposables(this);\n  },\n\n  setViewportHeight() {\n    let viewportHeight = DEFAULT_CARD_HEIGHT + CARD_HEADER_HEIGHT + CARD_BUFFER;\n    let viewport = this.getViewportElement();\n    if (viewport) {\n      viewportHeight = viewport.getBoundingClientRect().height;\n    }\n    this.set('viewportHeight', viewportHeight);\n  },\n\n  cardContentHeight: computed('viewportHeight', function() {\n    let idealCardHeight = this.viewportHeight - CARD_BUFFER;\n    let cardHeight = Math.min(MAX_CARD_HEIGHT, Math.max(MIN_CARD_HEIGHT, idealCardHeight));\n    return cardHeight;\n  }),\n\n  getViewportElement() {\n    return document.querySelector(this.viewportSelector);\n  },\n\n  getCardElement(conversationId) {\n    return $(`[data-conversation-id='${conversationId}']`, this.element);\n  },\n\n  getExpandingArea(conversationId) {\n    return $(\n      `[data-conversation-id='${conversationId}'] .conversation__card__content-expanded`,\n      this.element,\n    );\n  },\n\n  expandCard(conversationId) {\n    return new EmberPromise((resolve, reject) => {\n      let $contentElement = this.getExpandingArea(conversationId);\n      let cardContentHeight = this.cardContentHeight;\n      $contentElement.velocity(\n        {\n          height: cardContentHeight,\n        },\n        {\n          complete: resolve,\n        },\n      );\n    });\n  },\n\n  scrollToCard(conversationId) {\n    return new EmberPromise((resolve, reject) => {\n      let viewportElement = this.getViewportElement();\n      let $card = this.getCardElement(conversationId);\n      $card.velocity('scroll', {\n        offset: this.scrollOffset,\n        container: viewportElement,\n        complete: resolve,\n      });\n    });\n  },\n\n  expandCardTask: task(function*(conversationId) {\n    try {\n      yield this.expandCard(conversationId);\n    } finally {\n      let $contentElement = this.getExpandingArea(conversationId);\n      $contentElement.velocity('finish');\n    }\n  }).group('expandAndScrollGroup'),\n\n  scrollToCardTask: task(function*(conversationId) {\n    try {\n      yield this.scrollToCard(conversationId);\n    } finally {\n      let $card = $(this.getCardElement(conversationId));\n      $card.velocity('stop');\n    }\n  }).group('expandAndScrollGroup'),\n\n  cancelRunningTasks() {\n    this.expandAndScrollGroup.cancelAll();\n    this.expandCardTask.cancelAll();\n    this.scrollToCardTask.cancelAll();\n  },\n\n  actions: {\n    expand(conversationId) {\n      this.cancelRunningTasks();\n      let expandedCardId = this.expandedCardId;\n      if (expandedCardId) {\n        let expandedElement = this.getExpandingArea(expandedCardId);\n        expandedElement.velocity({ height: this.collapsedHeight });\n      }\n      this.set('expandedCardId', conversationId);\n      this.expandCardTask.perform(conversationId);\n      if (this.enableAutoScroll) {\n        this.scrollToCardTask.perform(conversationId);\n      }\n    },\n\n    collapse() {\n      this.cancelRunningTasks();\n      let expandedCardId = this.expandedCardId;\n      if (expandedCardId) {\n        let expandedElement = this.getExpandingArea(expandedCardId);\n        expandedElement.velocity({ height: this.collapsedHeight });\n      }\n      this.set('expandedCardId', null);\n    },\n\n    remove(conversationId) {\n      this.cancelRunningTasks();\n      let conversation = this.conversations.findBy('id', conversationId);\n      this.conversations.removeObject(conversation);\n      if (this.hideRepeatedDays) {\n        this.hideRepeatedDays();\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (gt this.filteredAdmins.length 0)}}\\n  <EditorApi::Typeahead\\n    @items={{this.filteredAdmins}}\\n    @onSelect={{this.insertMention}}\\n    @composer={{@composer}}\\n    @matchResult={{@matchResult}}\\n    @registerDelegate={{@registerDelegate}}\\n    @deregisterDelegate={{@deregisterDelegate}}\\n   as |admin|>\\n    <div class=\\\"avatar__container o__s\\\">\\n      {{ic-avatar model=admin size='s' contained=true}}\\n      {{admin.display_as_assignee}}\\n    </div>\\n  </EditorApi::Typeahead>\\n{{/if}}\", {\"contents\":\"{{#if (gt this.filteredAdmins.length 0)}}\\n  <EditorApi::Typeahead\\n    @items={{this.filteredAdmins}}\\n    @onSelect={{this.insertMention}}\\n    @composer={{@composer}}\\n    @matchResult={{@matchResult}}\\n    @registerDelegate={{@registerDelegate}}\\n    @deregisterDelegate={{@deregisterDelegate}}\\n   as |admin|>\\n    <div class=\\\"avatar__container o__s\\\">\\n      {{ic-avatar model=admin size='s' contained=true}}\\n      {{admin.display_as_assignee}}\\n    </div>\\n  </EditorApi::Typeahead>\\n{{/if}}\",\"moduleName\":\"embercom/components/conversation/composer/mention-typeahead.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/composer/mention-typeahead.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { TypeaheadMatchResult } from '@intercom/embercom-prosemirror-composer';\nimport { computed } from '@ember/object';\nimport { MENTION_HOST } from '../../../lib/replace-mentions';\nimport Composer from '@intercom/embercom-prosemirror-composer/lib/composer';\n\ninterface Args {\n  composer: Composer;\n  matchResult: TypeaheadMatchResult | null;\n  registerDelegate(f: Function): void;\n  deregisterDelegate(f: Function): void;\n}\n\nexport default class EmojiInserter extends Component<Args> {\n  @service appService: any;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  @computed('args.matchResult.text')\n  get filteredAdmins(): Array<any> {\n    if (!this.args.matchResult) {\n      return [];\n    }\n    if (this.args.matchResult.text.length === 1) {\n      return this.app.humanAdmins;\n    }\n    let matchWithoutTrigger = this.args.matchResult.text.replace('@', '');\n    let escapedMatch = this.escapeRegex(matchWithoutTrigger);\n    let regexp = new RegExp(`^${escapedMatch}`, 'i');\n    return this.app.humanAdmins.filter((item: any) => regexp.test(item.name));\n  }\n\n  private escapeRegex(string: string) {\n    return string.replace(/[.*+\\-?^${}()|[\\]\\\\]/g, '\\\\$&');\n  }\n\n  @action\n  insertMention(selectedItem: any) {\n    if (!this.args.matchResult) {\n      return;\n    }\n    let prosemirrorState = this.args.composer.state.prosemirrorState;\n    if (prosemirrorState) {\n      let uri = `//${MENTION_HOST}/apps/${this.appService.app.id}/admin/${selectedItem.get('id')}`;\n      let mentionSpec = prosemirrorState.schema.nodes.mention;\n      let tr = prosemirrorState.tr;\n      let node = mentionSpec.createAndFill({ name: selectedItem.get('name'), uri });\n      tr.delete(this.args.matchResult.range.from, this.args.matchResult.range.to);\n      tr.insert(this.args.matchResult.range.from, node);\n      this.args.composer.commands.dispatch(tr);\n      this.args.composer.commands.focus();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (gt this.filteredReplies.length 0)}}\\n  <EditorApi::Typeahead\\n    @items={{this.filteredReplies}}\\n    @onSelect={{perform this.insertSavedReply}}\\n    @composer={{@composer}}\\n    @matchResult={{@matchResult}}\\n    @registerDelegate={{@registerDelegate}}\\n    @deregisterDelegate={{@deregisterDelegate}}\\n    @itemHeight={{44}}\\n   as |savedReply|>\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n      <div class=\\\"m__inbox__saved-reply-dropdown-name u__truncated-inline-block layout__box o__flexes-to-1\\\">{{savedReply.name}}</div>\\n      <div class=\\\"m__inbox__saved-reply-dropdown-summary u__truncated-inline-block text-gray layout__box o__flexes-to-1 u__normal-weight\\\">{{savedReply.summary}}</div>\\n    </div>\\n  </EditorApi::Typeahead>\\n{{/if}}\\n\", {\"contents\":\"{{#if (gt this.filteredReplies.length 0)}}\\n  <EditorApi::Typeahead\\n    @items={{this.filteredReplies}}\\n    @onSelect={{perform this.insertSavedReply}}\\n    @composer={{@composer}}\\n    @matchResult={{@matchResult}}\\n    @registerDelegate={{@registerDelegate}}\\n    @deregisterDelegate={{@deregisterDelegate}}\\n    @itemHeight={{44}}\\n   as |savedReply|>\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n      <div class=\\\"m__inbox__saved-reply-dropdown-name u__truncated-inline-block layout__box o__flexes-to-1\\\">{{savedReply.name}}</div>\\n      <div class=\\\"m__inbox__saved-reply-dropdown-summary u__truncated-inline-block text-gray layout__box o__flexes-to-1 u__normal-weight\\\">{{savedReply.summary}}</div>\\n    </div>\\n  </EditorApi::Typeahead>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/composer/saved-reply-typeahead.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/composer/saved-reply-typeahead.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport { inject as service } from '@ember/service';\nimport { TypeaheadMatchResult } from '@intercom/embercom-prosemirror-composer';\nimport { computed } from '@ember/object';\nimport Composer from '@intercom/embercom-prosemirror-composer/lib/composer';\nimport SavedReply from '../../../models/saved-reply';\n\ninterface Args {\n  composer: Composer;\n  matchResult: TypeaheadMatchResult | null;\n  registerDelegate(f: Function): void;\n  deregisterDelegate(f: Function): void;\n  attrs: { conversationId: string };\n}\n\nexport default class SavedReplyInserter extends Component<Args> {\n  @service appService: any;\n  @service savedReplySearchService: any;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  @computed('args.matchResult.text')\n  get filteredReplies(): Array<any> {\n    if (!this.args.matchResult) {\n      return [];\n    }\n    if (this.args.matchResult.text.length === 1) {\n      return this.app.savedReplies.map((s: any) => s);\n    }\n    let matchWithoutTrigger = this.args.matchResult.text.replace('#', '');\n    return this.savedReplySearchService.searchUsingRegex(\n      this.app.savedReplies,\n      matchWithoutTrigger,\n    );\n  }\n\n  @task\n  *insertSavedReply(savedReply: any) {\n    if (!this.args.matchResult) {\n      return;\n    }\n    let prosemirrorState = this.args.composer.state.prosemirrorState;\n    let tr = prosemirrorState.tr;\n    tr.delete(this.args.matchResult.range.from, this.args.matchResult.range.to);\n    this.args.composer.commands.dispatch(tr);\n    let marker = this.args.composer.commands.insertMarker();\n    let conversationId = this.args.attrs.conversationId;\n    let savedReplyId = savedReply.id;\n    let rendered = yield SavedReply.getRendered(savedReplyId, this.app.id, conversationId);\n    this.args.composer.commands.insertAtMarker(marker, rendered.blocks);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span class=\\\"inbox__conversation-controls__inserter\\\">\\n  <Popover\\n    @showOn={{array 'click'}}\\n    @hideOn={{array 'click' 'clickout'}}\\n    @showArrow={{true}}\\n    @onHide={{this.clearSelectedAdditionalInserter}}\\n    @placement=\\\"top\\\"\\n    @fallbackPlacements={{compact (array (if this.selectedAdditionalInserter 'bottom'))}}\\n    data-intercom-target=\\\"additional-inserters-opener\\\"\\n    data-test-additional-inserters-opener\\n    class=\\\"inbox__conversation-controls__inserter-opener\\\"\\n    as |popover|\\n  >\\n    <popover.Opener>\\n      <IcTooltip @isDisabled={{popover.isVisible}} as |t|>\\n        <t.opener>\\n          {{ic-interface-icon 'vertical-ellipsis' solo=true}}\\n        </t.opener>\\n        <t.content>\\n          More actions\\n        </t.content>\\n      </IcTooltip>\\n    </popover.Opener>\\n\\n    <popover.Content\\n      @fullBleed={{this.selectedAdditionalInserter}}\\n      data-test-inserter-popover={{this.selectedAdditionalInserter}}\\n      data-test-additional-inserters\\n    >\\n      {{#if this.selectedAdditionalInserter}}\\n        {{component\\n          (concat\\n            \\\"conversation/controls/inserters/\\\"\\n            this.selectedAdditionalInserter\\n            \\\"-popover-content\\\"\\n          )\\n          controlsAPI=@controlsAPI\\n          inserterAPI=(hash actions=(hash close=popover.hide))\\n        }}\\n      {{else}}\\n        {{#each @hiddenInserters as |hiddenInserter|}}\\n          {{#if hiddenInserter.hasPopoverContentComponent}}\\n            <div\\n              {{on 'click' (fn this.updateSelectedAdditionalInserter hiddenInserter)}}\\n              class=\\\"p-1 u__pointer-cursor\\\"\\n            >\\n              {{ic-interface-icon hiddenInserter.icon}}\\n              {{hiddenInserter.descriptor}}\\n            </div>\\n          {{else}}\\n            <div class=\\\"p-1 u__pointer-cursor\\\">\\n              {{component\\n                (concat\\n                  \\\"conversation/controls/inserters/\\\"\\n                  hiddenInserter.name\\n                  \\\"-opener\\\"\\n                )\\n                inserter=hiddenInserter\\n                controlsAPI=@controlsAPI\\n                inserterAPI=(hash actions=(hash close=popover.hide))\\n                inAdditionalInsertersPopover=true\\n              }}\\n            </div>\\n          {{/if}}\\n        {{/each}}\\n      {{/if}}\\n    </popover.Content>\\n  </Popover>\\n</span>\\n\", {\"contents\":\"<span class=\\\"inbox__conversation-controls__inserter\\\">\\n  <Popover\\n    @showOn={{array 'click'}}\\n    @hideOn={{array 'click' 'clickout'}}\\n    @showArrow={{true}}\\n    @onHide={{this.clearSelectedAdditionalInserter}}\\n    @placement=\\\"top\\\"\\n    @fallbackPlacements={{compact (array (if this.selectedAdditionalInserter 'bottom'))}}\\n    data-intercom-target=\\\"additional-inserters-opener\\\"\\n    data-test-additional-inserters-opener\\n    class=\\\"inbox__conversation-controls__inserter-opener\\\"\\n    as |popover|\\n  >\\n    <popover.Opener>\\n      <IcTooltip @isDisabled={{popover.isVisible}} as |t|>\\n        <t.opener>\\n          {{ic-interface-icon 'vertical-ellipsis' solo=true}}\\n        </t.opener>\\n        <t.content>\\n          More actions\\n        </t.content>\\n      </IcTooltip>\\n    </popover.Opener>\\n\\n    <popover.Content\\n      @fullBleed={{this.selectedAdditionalInserter}}\\n      data-test-inserter-popover={{this.selectedAdditionalInserter}}\\n      data-test-additional-inserters\\n    >\\n      {{#if this.selectedAdditionalInserter}}\\n        {{component\\n          (concat\\n            \\\"conversation/controls/inserters/\\\"\\n            this.selectedAdditionalInserter\\n            \\\"-popover-content\\\"\\n          )\\n          controlsAPI=@controlsAPI\\n          inserterAPI=(hash actions=(hash close=popover.hide))\\n        }}\\n      {{else}}\\n        {{#each @hiddenInserters as |hiddenInserter|}}\\n          {{#if hiddenInserter.hasPopoverContentComponent}}\\n            <div\\n              {{on 'click' (fn this.updateSelectedAdditionalInserter hiddenInserter)}}\\n              class=\\\"p-1 u__pointer-cursor\\\"\\n            >\\n              {{ic-interface-icon hiddenInserter.icon}}\\n              {{hiddenInserter.descriptor}}\\n            </div>\\n          {{else}}\\n            <div class=\\\"p-1 u__pointer-cursor\\\">\\n              {{component\\n                (concat\\n                  \\\"conversation/controls/inserters/\\\"\\n                  hiddenInserter.name\\n                  \\\"-opener\\\"\\n                )\\n                inserter=hiddenInserter\\n                controlsAPI=@controlsAPI\\n                inserterAPI=(hash actions=(hash close=popover.hide))\\n                inAdditionalInsertersPopover=true\\n              }}\\n            </div>\\n          {{/if}}\\n        {{/each}}\\n      {{/if}}\\n    </popover.Content>\\n  </Popover>\\n</span>\\n\",\"moduleName\":\"embercom/components/conversation/controls/additional-inserters.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/additional-inserters.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\n\nexport default class ConversationControlsAdditionalInserters extends Component {\n  @tracked selectedAdditionalInserter = null;\n\n  @action\n  updateSelectedAdditionalInserter(newSelection) {\n    this.selectedAdditionalInserter = newSelection.name;\n  }\n\n  @action\n  clearSelectedAdditionalInserter() {\n    this.selectedAdditionalInserter = null;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{@onModalClose}}\\n  @isOpen={{@isOpen}}\\n  @width=\\\"l\\\"\\n  @internalScroll={{false}}\\n  as |modal|\\n>\\n  <modal.body @fullBleed={{true}} data-test-article-preview-modal>\\n    <div\\n      class=\\\"educate__article__dialog\\\"\\n      {{did-insert this.onDidInsert}}\\n      ...attributes\\n    >\\n      {{#if this.fullyLoadedArticle}}\\n        <Articles::Show::DeprecatedSuggestedArticleViewer\\n          @app={{@app}}\\n          @article={{this.fullyLoadedArticle}}\\n          @lightbox={{true}}\\n          @placeholderText=\\\"\\\"\\n        />\\n      {{else}}\\n        <div class=\\\"u__center-item\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\" />\\n        </div>\\n      {{/if}}\\n    </div>\\n\\n    <div\\n      class=\\\"educate__article__dialog__footer p-4 u__center-layout\\\"\\n      data-test-article-preview-model-upgrade-prompt\\n    >\\n      <Paywall @featureKey=\\\"embedded_articles\\\" as |paywall|>\\n        <paywall.Hover>\\n          <IcButton\\n            @type=\\\"primary\\\"\\n            @onClick={{queue @insertArticle @onModalClose}}\\n            @disabled={{paywall.isActive}}\\n            data-test-article-preview-modal-insert-article-button\\n          >\\n            {{#if paywall.isActive}}\\n              {{ic-interface-icon \\\"locked\\\"}} Add\\n            {{else}}\\n              Add\\n            {{/if}}\\n          </IcButton>\\n        </paywall.Hover>\\n      </Paywall>\\n    </div>\\n  </modal.body>\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{@onModalClose}}\\n  @isOpen={{@isOpen}}\\n  @width=\\\"l\\\"\\n  @internalScroll={{false}}\\n  as |modal|\\n>\\n  <modal.body @fullBleed={{true}} data-test-article-preview-modal>\\n    <div\\n      class=\\\"educate__article__dialog\\\"\\n      {{did-insert this.onDidInsert}}\\n      ...attributes\\n    >\\n      {{#if this.fullyLoadedArticle}}\\n        <Articles::Show::DeprecatedSuggestedArticleViewer\\n          @app={{@app}}\\n          @article={{this.fullyLoadedArticle}}\\n          @lightbox={{true}}\\n          @placeholderText=\\\"\\\"\\n        />\\n      {{else}}\\n        <div class=\\\"u__center-item\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\" />\\n        </div>\\n      {{/if}}\\n    </div>\\n\\n    <div\\n      class=\\\"educate__article__dialog__footer p-4 u__center-layout\\\"\\n      data-test-article-preview-model-upgrade-prompt\\n    >\\n      <Paywall @featureKey=\\\"embedded_articles\\\" as |paywall|>\\n        <paywall.Hover>\\n          <IcButton\\n            @type=\\\"primary\\\"\\n            @onClick={{queue @insertArticle @onModalClose}}\\n            @disabled={{paywall.isActive}}\\n            data-test-article-preview-modal-insert-article-button\\n          >\\n            {{#if paywall.isActive}}\\n              {{ic-interface-icon \\\"locked\\\"}} Add\\n            {{else}}\\n              Add\\n            {{/if}}\\n          </IcButton>\\n        </paywall.Hover>\\n      </Paywall>\\n    </div>\\n  </modal.body>\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/conversation/controls/article-suggestion-preview-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/article-suggestion-preview-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { task } from 'ember-concurrency-decorators';\nimport { inject as service } from '@ember/service';\n\nexport default class ArticleSuggestionPreviewModal extends Component {\n  @service intercomEventService;\n  @service store;\n  @tracked fullyLoadedArticle = null;\n\n  @action\n  onDidInsert() {\n    this.fetchFullArticle.perform();\n    this.intercomEventService.trackEvent('educate-event', {\n      action: 'previewed',\n      object: 'article',\n      place: 'conversation',\n      owner: 'educate',\n      url: this.args.article.publicUrl,\n      article_id: this.args.article.id,\n      state: this.args.article.public ? 'in_collection' : 'in_default',\n      source: 'recommendation',\n    });\n  }\n\n  @task({ drop: true })\n  *fetchFullArticle() {\n    if (this.args.article.notFullyLoaded) {\n      this.fullyLoadedArticle = yield this.store.findRecord('article', this.args.article.id, {\n        reload: true,\n      });\n    } else {\n      this.fullyLoadedArticle = this.args.article;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  {{on 'mouseenter' (set this.isExpanded true)}}\\n  {{on 'mouseleave' (set this.isExpanded false)}}\\n>\\n  <div\\n    class=\\\"article-suggestion-card__content {{if this.isExpanded \\\"o__expanded opacity-100\\\"}}\\\"\\n    {{on 'click' (set this.showModal true)}}\\n  >\\n    <div\\n      class=\\\"article-suggestion-card__title {{if this.isExpanded \\\"o__expanded\\\"}}\\\"\\n    >\\n      <TruncatedTextComponent @lines={{2}}>\\n        {{@article.title}}\\n      </TruncatedTextComponent>\\n    </div>\\n    <div\\n      class=\\\"article-suggestion-card__body {{if this.isExpanded \\\"o__expanded\\\"}}\\\"\\n    >\\n      <div class=\\\"article-suggestion-card__summary t__light-text\\\">\\n        {{#if @article.hasSummary}}\\n          <TruncatedTextComponent @lines={{2}}>\\n            {{@article.summary}}\\n          </TruncatedTextComponent>\\n        {{/if}}\\n      </div>\\n      <div class=\\\"t__light-text article-suggestion-card__author\\\">\\n        <span class=\\\"article-suggestion-card__author-avatar\\\">\\n          {{ic-avatar direct=@article.author.avatarData size=\\\"xs\\\"}}\\n        </span>\\n        {{@article.author.first_name}}\\n      </div>\\n    </div>\\n  </div>\\n\\n  {{#if (not @isPaywalled)}}\\n    <div\\n      class=\\\"u__center-layout article-suggestion-card__button\\\"\\n      data-test-article-suggestion-card-button\\n      {{on 'click' this.insert}}\\n    >\\n      {{#if @article.hasRestrictedAudience}}\\n        {{ic-interface-icon \\\"locked\\\"}}\\n      {{/if}}\\n      Add\\n    </div>\\n  {{/if}}\\n</div>\\n\\n<Conversation::Controls::ArticleSuggestionPreviewModal\\n  @onModalClose={{set this.showModal false}}\\n  @isOpen={{this.showModal}}\\n  @article={{@article}}\\n  @insertArticle={{this.insert}}\\n/>\\n\", {\"contents\":\"<div\\n  {{on 'mouseenter' (set this.isExpanded true)}}\\n  {{on 'mouseleave' (set this.isExpanded false)}}\\n>\\n  <div\\n    class=\\\"article-suggestion-card__content {{if this.isExpanded \\\"o__expanded opacity-100\\\"}}\\\"\\n    {{on 'click' (set this.showModal true)}}\\n  >\\n    <div\\n      class=\\\"article-suggestion-card__title {{if this.isExpanded \\\"o__expanded\\\"}}\\\"\\n    >\\n      <TruncatedTextComponent @lines={{2}}>\\n        {{@article.title}}\\n      </TruncatedTextComponent>\\n    </div>\\n    <div\\n      class=\\\"article-suggestion-card__body {{if this.isExpanded \\\"o__expanded\\\"}}\\\"\\n    >\\n      <div class=\\\"article-suggestion-card__summary t__light-text\\\">\\n        {{#if @article.hasSummary}}\\n          <TruncatedTextComponent @lines={{2}}>\\n            {{@article.summary}}\\n          </TruncatedTextComponent>\\n        {{/if}}\\n      </div>\\n      <div class=\\\"t__light-text article-suggestion-card__author\\\">\\n        <span class=\\\"article-suggestion-card__author-avatar\\\">\\n          {{ic-avatar direct=@article.author.avatarData size=\\\"xs\\\"}}\\n        </span>\\n        {{@article.author.first_name}}\\n      </div>\\n    </div>\\n  </div>\\n\\n  {{#if (not @isPaywalled)}}\\n    <div\\n      class=\\\"u__center-layout article-suggestion-card__button\\\"\\n      data-test-article-suggestion-card-button\\n      {{on 'click' this.insert}}\\n    >\\n      {{#if @article.hasRestrictedAudience}}\\n        {{ic-interface-icon \\\"locked\\\"}}\\n      {{/if}}\\n      Add\\n    </div>\\n  {{/if}}\\n</div>\\n\\n<Conversation::Controls::ArticleSuggestionPreviewModal\\n  @onModalClose={{set this.showModal false}}\\n  @isOpen={{this.showModal}}\\n  @article={{@article}}\\n  @insertArticle={{this.insert}}\\n/>\\n\",\"moduleName\":\"embercom/components/conversation/controls/article-suggestion.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/article-suggestion.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport { bool, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport $ from 'jquery';\nimport { fmtStyle, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  conversationsService: service(),\n  paywallService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  classNameBindings: [\n    ':card',\n    ':article-suggestion-card',\n    'isExpanded:o__expanded:o__collapsed',\n    'isPaywalled:o__paywalled',\n  ],\n\n  attributeBindings: ['style'],\n\n  isExpanded: true,\n  collapsedHeight: 50,\n\n  isConversation: bool('conversation'),\n\n  init() {\n    this._super(...arguments);\n    this.setupAsCollapsable();\n  },\n\n  setupAsCollapsable() {\n    this.set('isExpanded', false);\n    this.didRender = () => {\n      this.setFullHeight();\n      this.setExpandTopOffset();\n    };\n  },\n\n  style: ternaryToProperty('isExpanded', 'expandedStyle', 'emptyStyle'),\n  expandedStyle: fmtStyle('margin-top: %@px; height: %@px', 'expandedTopOffset', 'fullHeight'),\n  emptyStyle: '',\n\n  setFullHeight() {\n    let height = 0;\n    $(this.element)\n      .children()\n      .each((_, e) => {\n        height += $(e).outerHeight(true);\n      });\n\n    this.set('fullHeight', height);\n  },\n\n  setExpandTopOffset() {\n    this.set('expandedTopOffset', this.fullHeight * -1 + this.collapsedHeight);\n  },\n\n  _trackEvents() {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: this.article,\n      action: 'added_to_reply',\n      is_suggestion: true,\n      target_user_type: this.get('article.targetUserType'),\n      conversation_id: this.get('conversation.id'),\n    });\n\n    this.intercomEventService.trackEvent('sent_article_in_conversation', {\n      action: 'sent',\n      object: 'article',\n      place: 'comment',\n      owner: 'growth-sp',\n    });\n  },\n\n  _doInsertion() {\n    this._trackEvents();\n    this.insertArticleIntoComposer.perform(this.article);\n    this.clearSuggestions();\n  },\n\n  insert: action(function() {\n    this.paywallService\n      .paywall({ featureName: 'embedded_articles' })\n      .then(() => {\n        this._doInsertion();\n      })\n      .catch(this.paywallService.handleError);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (and hasEducate suggestions)}}\\n  <div class=\\\"mx-4 mb-1\\\">\\n    <h3 class=\\\"t__label\\\">\\n      Suggested by Operator\\n    </h3>\\n  </div>\\n  <div class=\\\"u__cf inbox__conversation-controls__article-suggestions\\\">\\n    {{#each suggestions as |article|~}}\\n      <Conversation::Controls::ArticleSuggestion\\n        class=\\\"o__above-controls\\\"\\n        @article={{article}}\\n        @conversation={{conversation}}\\n        @clearSuggestions={{action controlsAPI.actions.clearSuggestions}}\\n        @insertArticleIntoComposer={{insertArticleIntoComposerTask}}\\n        @isPaywalled={{isEducatePaywalled}}\\n      />\\n    {{~/each}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (and hasEducate suggestions)}}\\n  <div class=\\\"mx-4 mb-1\\\">\\n    <h3 class=\\\"t__label\\\">\\n      Suggested by Operator\\n    </h3>\\n  </div>\\n  <div class=\\\"u__cf inbox__conversation-controls__article-suggestions\\\">\\n    {{#each suggestions as |article|~}}\\n      <Conversation::Controls::ArticleSuggestion\\n        class=\\\"o__above-controls\\\"\\n        @article={{article}}\\n        @conversation={{conversation}}\\n        @clearSuggestions={{action controlsAPI.actions.clearSuggestions}}\\n        @insertArticleIntoComposer={{insertArticleIntoComposerTask}}\\n        @isPaywalled={{isEducatePaywalled}}\\n      />\\n    {{~/each}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/controls/article-suggestions.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/article-suggestions.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, and, gt, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport InboundActions from 'ember-component-inbound-actions/inbound-actions';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend(InboundActions, {\n  intercomEventService: service(),\n  appService: service(),\n  store: service(),\n\n  app: readOnly('appService.app'),\n  isKnowledgebaseSupported: and('replySelected', 'conversation.isNotFacebookOrTwitter'),\n  hasKnowledgebaseArticles: gt('app.articleCount', 0),\n  hasEducate: readOnly('app.hasEmbeddedArticles'),\n  hasNoEducate: not('hasEducate'),\n\n  isEducatePaywalled: and('isKnowledgebaseSupported', 'hasKnowledgebaseArticles', 'hasNoEducate'),\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    let conversation = this.conversation;\n    if (conversation !== this.previousConversation) {\n      this.set('previousConversation', conversation);\n      this.retrieveSuggestions.perform();\n    }\n  },\n\n  retrieveSuggestions: task(function*() {\n    this.get('controlsAPI.actions.clearSuggestions')();\n    let response = yield this.conversation.fetchSuggestions();\n    let store = this.store;\n    let suggestions = response.suggestions.map(s => {\n      return store.push(store.normalize('article', s));\n    });\n    this.set('suggestions', suggestions);\n\n    let ids = suggestions.map(s => s.id);\n    if (ids.length > 0) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'received',\n        object: 'operator_reply',\n        place: 'conversation',\n        conversation_id: this.get('conversation.id'),\n        article_ids: ids,\n      });\n    }\n  }).restartable(),\n\n  insertCardTask: task(function*(article) {\n    return yield article.createMessengerCard('en', this.get('controlsAPI.conversation.id'));\n  }).drop(),\n\n  insertArticleIntoComposerTask: task(function*(article) {\n    let card = yield this.insertCardTask.perform(article);\n    this.get('controlsAPI.actions.insertBlock')('messengerCard', card);\n  }).drop(),\n\n  actions: {\n    clearSuggestions() {\n      this.set('suggestions', []);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{on-window \\\"resize\\\" this.resize}}\\n<div\\n  class=\\\"u__cf inbox__conversation-controls__info-area js__conversation-controls__info-area\\\"\\n  {{did-insert this.scheduleCalculateLayout}}\\n  {{did-update this.scheduleCalculateLayout\\n      @controlsAPI.activePaneIdentifier\\n      @controlsAPI.conversation.isOpen\\n      @controlsAPI.composerHasContent\\n      @controlsAPI.shouldShowDisplayActionInfo\\n  }}\\n>\\n  <div class=\\\"u__left u__padt__5\\\">\\n    <div class=\\\"u__cf\\\">\\n      <div class=\\\"u__left\\\" data-intercom-target=\\\"conversation-controls-inserters\\\">\\n        {{#each this.shownInserters as |shownInserter|}}\\n          <Conversation::Controls::Inserter\\n            @inserter={{shownInserter}}\\n            @controlsAPI={{@controlsAPI}}\\n          />\\n        {{/each}}\\n\\n        {{#if this.shouldAllowMessengerApps}}\\n          <Conversation::Controls::Inserters::TourInserter\\n            @controlsAPI={{@controlsAPI}}\\n          />\\n\\n          <Conversation::Controls::Inserters::PinnedApps\\n            @controlsAPI={{@controlsAPI}}\\n            @isAppsPopoverOpenByDefault={{@openAppsPopover}}\\n            data-test-pinned-apps\\n          />\\n        {{/if}}\\n\\n        {{#if this.displayInserterOverflow}}\\n          <Conversation::Controls::AdditionalInserters\\n            @hiddenInserters={{this.hiddenInserters}}\\n            @controlsAPI={{@controlsAPI}}\\n          />\\n        {{/if}}\\n      </div>\\n    </div>\\n  </div>\\n\\n  <div class=\\\"u__right\\\">\\n    <div class=\\\"u__left u__hidden\\\">\\n      <Conversation::Controls::DraftComponent\\n        @actionReceiver={{@draftComponent}}\\n        @controlsAPI={{@controlsAPI}}\\n      />\\n    </div>\\n    <Conversation::Controls::ButtonsComponent\\n      @classNames=\\\"u__right js__conversation-controls-buttons u__padr__5 u__padb__5\\\"\\n      @controlsAPI={{@controlsAPI}}\\n    />\\n  </div>\\n</div>\\n\", {\"contents\":\"{{on-window \\\"resize\\\" this.resize}}\\n<div\\n  class=\\\"u__cf inbox__conversation-controls__info-area js__conversation-controls__info-area\\\"\\n  {{did-insert this.scheduleCalculateLayout}}\\n  {{did-update this.scheduleCalculateLayout\\n      @controlsAPI.activePaneIdentifier\\n      @controlsAPI.conversation.isOpen\\n      @controlsAPI.composerHasContent\\n      @controlsAPI.shouldShowDisplayActionInfo\\n  }}\\n>\\n  <div class=\\\"u__left u__padt__5\\\">\\n    <div class=\\\"u__cf\\\">\\n      <div class=\\\"u__left\\\" data-intercom-target=\\\"conversation-controls-inserters\\\">\\n        {{#each this.shownInserters as |shownInserter|}}\\n          <Conversation::Controls::Inserter\\n            @inserter={{shownInserter}}\\n            @controlsAPI={{@controlsAPI}}\\n          />\\n        {{/each}}\\n\\n        {{#if this.shouldAllowMessengerApps}}\\n          <Conversation::Controls::Inserters::TourInserter\\n            @controlsAPI={{@controlsAPI}}\\n          />\\n\\n          <Conversation::Controls::Inserters::PinnedApps\\n            @controlsAPI={{@controlsAPI}}\\n            @isAppsPopoverOpenByDefault={{@openAppsPopover}}\\n            data-test-pinned-apps\\n          />\\n        {{/if}}\\n\\n        {{#if this.displayInserterOverflow}}\\n          <Conversation::Controls::AdditionalInserters\\n            @hiddenInserters={{this.hiddenInserters}}\\n            @controlsAPI={{@controlsAPI}}\\n          />\\n        {{/if}}\\n      </div>\\n    </div>\\n  </div>\\n\\n  <div class=\\\"u__right\\\">\\n    <div class=\\\"u__left u__hidden\\\">\\n      <Conversation::Controls::DraftComponent\\n        @actionReceiver={{@draftComponent}}\\n        @controlsAPI={{@controlsAPI}}\\n      />\\n    </div>\\n    <Conversation::Controls::ButtonsComponent\\n      @classNames=\\\"u__right js__conversation-controls-buttons u__padr__5 u__padb__5\\\"\\n      @controlsAPI={{@controlsAPI}}\\n    />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/conversation/controls/button-bar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/button-bar.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-jquery */\nimport Component from '@glimmer/component';\nimport $ from 'jquery';\nimport { debounce, scheduleOnce } from '@ember/runloop';\nimport { tracked } from '@glimmer/tracking';\nimport { classify } from '@ember/string';\nimport { inject as service } from '@ember/service';\nimport ENV from 'embercom/config/environment';\nimport { action } from '@ember/object';\n\nconst inserters = [\n  {\n    name: 'article',\n    icon: 'article',\n    descriptor: 'Add an article',\n    hasPopoverContentComponent: true,\n  },\n  {\n    name: 'saved-reply',\n    icon: 'saved-reply',\n    descriptor: 'Add a saved reply',\n    hasPopoverContentComponent: true,\n  },\n  {\n    name: 'emoji',\n    icon: 'lwr-happy',\n    descriptor: 'Add an emoji',\n    hasPopoverContentComponent: true,\n  },\n  {\n    name: 'gif',\n    icon: 'gif',\n    descriptor: 'Add a GIF',\n    hasPopoverContentComponent: true,\n  },\n  {\n    name: 'image',\n    icon: 'picture',\n    descriptor: 'Add an image',\n    hasPopoverContentComponent: false,\n  },\n  {\n    name: 'attachment',\n    icon: 'attachment',\n    descriptor: 'Attach a file',\n    hasPopoverContentComponent: false,\n  },\n];\n\nexport default class ButtonBarComponent extends Component {\n  @service appService;\n\n  @tracked displayInserterOverflow = false;\n  @tracked displayableInserterCount = 0;\n  visibleButtonEmoji = true;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get inConversationCard() {\n    return !this.args.controlsAPI.isInbox;\n  }\n\n  get replySelected() {\n    return this.args.controlsAPI.activePaneIdentifier === 'comment';\n  }\n\n  get noteSelected() {\n    return this.args.controlsAPI.activePaneIdentifier === 'note';\n  }\n\n  get visibleInserters() {\n    return inserters.filter(inserter => this[`visibleButton${classify(inserter.name)}`]);\n  }\n\n  get shownInserters() {\n    return this.visibleInserters.slice(0, this.displayableInserterCount);\n  }\n\n  get hiddenInserters() {\n    return this.visibleInserters.slice(this.displayableInserterCount);\n  }\n\n  get isNotFacebookOrTwitter() {\n    return this.args.controlsAPI.conversation.isNotFacebookOrTwitter;\n  }\n\n  get visibleButtonArticle() {\n    return this.visibleButtonReplyConditions && this.isNotFacebookOrTwitter;\n  }\n\n  get visibleButtonSavedReply() {\n    return this.visibleButtonReplyConditions;\n  }\n\n  get noteOrNonFacebookTwitterReply() {\n    return this.noteSelected || this.isNotFacebookOrTwitter;\n  }\n\n  get visibleButtonImage() {\n    return this.app.teammateConversationAttachmentsEnabled && this.noteOrNonFacebookTwitterReply;\n  }\n\n  get visibleButtonAttachment() {\n    return this.app.teammateConversationAttachmentsEnabled && this.isNotFacebookOrTwitter;\n  }\n\n  get visibleButtonGif() {\n    return this.app.teammateConversationGifsEnabled && this.noteOrNonFacebookTwitterReply;\n  }\n\n  get visibleButtonReplyConditions() {\n    return this.replySelected && this.app.inboxIsActive && this.app.currentAdminHasInboxAccess;\n  }\n\n  get shouldAllowMessengerApps() {\n    if (this.args.controlsAPI.conversation.created_via_api) {\n      return false;\n    }\n    return (\n      this.visibleButtonReplyConditions &&\n      this.args.controlsAPI.conversation.isInitialChannelMessengerOrEmail\n    );\n  }\n\n  calculateLayout() {\n    let totalWidth = $('.js__conversation-controls__info-area').width();\n    let buttonsWidth = $('.js__conversation-controls-buttons').outerWidth(true);\n    let inserterWidth = $('.inbox__conversation-controls__inserter').outerWidth(true);\n    let visibleInserterWidth = this.visibleInserters.length * inserterWidth;\n    let availableWidth = totalWidth - buttonsWidth - 2;\n\n    if (availableWidth < visibleInserterWidth) {\n      availableWidth -= inserterWidth;\n      let displayableInserterCount = Math.floor(availableWidth / inserterWidth);\n      this.displayInserterOverflow = true;\n      this.displayableInserterCount = displayableInserterCount;\n    } else {\n      this.displayInserterOverflow = false;\n      this.displayableInserterCount = this.visibleInserters.length;\n    }\n  }\n\n  @action\n  scheduleCalculateLayout() {\n    scheduleOnce('afterRender', this, this.calculateLayout);\n  }\n\n  @action\n  resize() {\n    debounce(this, this.calculateLayout, ENV.APP._200MS);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showSecondary}}\\n  <Conversation::Controls::SendAndChangeState\\n    @app={{app}}\\n    @sendAndClose={{action \\\"submit\\\" \\\"close\\\"}}\\n    @sendAndSnooze={{controlsAPI.actions.createPartAndSnoozeWithPresetTimer}}\\n    @sendAndCustomSnooze={{controlsAPI.actions.createPartAndSnoozeWithCustomTimer}}\\n    @disabled={{secondaryIsDisabled}}\\n  />\\n{{/if}}\\n<Paywall\\n  @featureKey=\\\"messenger\\\"\\n  @isActiveOverride={{not this.app.canUseMessenger}}\\n  as |paywall|\\n>\\n  <paywall.Hover>\\n    <IcTooltip\\n      @isDelayed={{true}}\\n      @isDisabled={{or primaryIsDisabled paywall.isActive}}\\n      class=\\\"u__ml__10 u__display-inline-block\\\"\\n      data-test-send-button\\n      data-intercom-target=\\\"conversation-controls-primary-button\\\"\\n    as |t|>\\n      <t.opener>\\n        <IcButton\\n          @type=\\\"primary\\\"\\n          @onClick={{action \\\"submit\\\" controlsAPI.activePaneIdentifier}}\\n          @disabled={{or primaryIsDisabled paywall.isActive}}\\n        >\\n          {{primaryText}}\\n        </IcButton>\\n      </t.opener>\\n      <t.content>{{primaryTooltip}}</t.content>\\n    </IcTooltip>\\n  </paywall.Hover>\\n</Paywall>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showSecondary}}\\n  <Conversation::Controls::SendAndChangeState\\n    @app={{app}}\\n    @sendAndClose={{action \\\"submit\\\" \\\"close\\\"}}\\n    @sendAndSnooze={{controlsAPI.actions.createPartAndSnoozeWithPresetTimer}}\\n    @sendAndCustomSnooze={{controlsAPI.actions.createPartAndSnoozeWithCustomTimer}}\\n    @disabled={{secondaryIsDisabled}}\\n  />\\n{{/if}}\\n<Paywall\\n  @featureKey=\\\"messenger\\\"\\n  @isActiveOverride={{not this.app.canUseMessenger}}\\n  as |paywall|\\n>\\n  <paywall.Hover>\\n    <IcTooltip\\n      @isDelayed={{true}}\\n      @isDisabled={{or primaryIsDisabled paywall.isActive}}\\n      class=\\\"u__ml__10 u__display-inline-block\\\"\\n      data-test-send-button\\n      data-intercom-target=\\\"conversation-controls-primary-button\\\"\\n    as |t|>\\n      <t.opener>\\n        <IcButton\\n          @type=\\\"primary\\\"\\n          @onClick={{action \\\"submit\\\" controlsAPI.activePaneIdentifier}}\\n          @disabled={{or primaryIsDisabled paywall.isActive}}\\n        >\\n          {{primaryText}}\\n        </IcButton>\\n      </t.opener>\\n      <t.content>{{primaryTooltip}}</t.content>\\n    </IcTooltip>\\n  </paywall.Hover>\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/conversation/controls/buttons-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/buttons-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { typeOf } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport { readOnly, not, alias, equal, and, or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport platform from 'embercom/lib/browser-platform';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n  conversation: readOnly('controlsAPI.conversation'),\n  bodyEmpty: not('controlsAPI.composerHasContent'),\n  classNames: ['u__3dfix', 'flex'],\n  isOpen: alias('conversation.isOpen'),\n\n  replySelected: equal('controlsAPI.activePaneIdentifier', 'comment'),\n  replyNotSelected: not('replySelected'),\n  shouldPreventSending: or('controlsAPI.composerIsUploading', 'controlsAPI.isFetchingSavedReply'),\n\n  primaryIsDisabled: or('bodyEmpty', 'shouldPreventSending'),\n  buttonNameForSnoozed: computed('admin', 'conversation', function() {\n    if (this.conversation.isAssignedTo(this.admin)) {\n      return 'Send';\n    } else {\n      return 'Send and reopen';\n    }\n  }),\n  showSecondary: and('replySelected', 'controlsAPI.composerHasContent', 'isOpen'),\n  secondaryIsDisabled: computed(\n    'controlsAPI.composerHasContent',\n    'shouldPreventSending',\n    function() {\n      if (this.shouldPreventSending) {\n        return true;\n      }\n\n      return !this.get('controlsAPI.composerHasContent');\n    },\n  ),\n\n  primaryText: computed('primaryButtonTextSet', 'controlsAPI.activePaneIdentifier', function() {\n    let textSet = this.primaryButtonTextSet;\n    return textSet[this.get('controlsAPI.activePaneIdentifier')];\n  }),\n\n  primaryTooltip: computed(function() {\n    return platform.isMac ? '⌘+Enter' : 'CTRL+Enter';\n  }),\n\n  primaryButtonTextSet: computed(\n    'conversation.state',\n    'isOpen',\n    'buttonNameForSnoozed',\n    function() {\n      let open = { comment: 'Send', note: 'Add note' };\n      let closed = { comment: 'Send and reopen', note: 'Add note' };\n      let snoozed = { comment: this.buttonNameForSnoozed, note: 'Add note' };\n\n      let conversationState = this.get('conversation.state');\n\n      if (typeOf(conversationState) === 'number') {\n        return { 0: open, 1: closed, 2: snoozed }[conversationState];\n      } else {\n        return open;\n      }\n    },\n  ),\n\n  submit(type) {\n    this.get('controlsAPI.actions.createPart')(type, true);\n    this.get('controlsAPI.actions.scrollStreamToBottom')();\n  },\n\n  actions: {\n    submit(type) {\n      if (this.get('app.canUseMessenger')) {\n        let submitWithType = this.submit.bind(this, type);\n        submitWithType();\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  {{action (queue\\n    (action controlsAPI.actions.expandComposer)\\n    (action controlsAPI.actions.scrollStreamToBottom)\\n    (action controlsAPI.actions.focusComposer)\\n  )\\n  }}\\n  class=\\\"layout__box o__flexes-to-1 {{if inConversationCard 'u__pad__15'}}\\\"\\n  data-test-collapsed-composer\\n>\\n  <a\\n    {{action\\n      (queue\\n        (action controlsAPI.actions.selectPane 'comment')\\n        (action controlsAPI.actions.scrollStreamToBottom)\\n      )\\n    }}\\n    class=\\\"btn__tertiary\\\"\\n  >Reply</a>\\n  {{#if app.inboxIsActive}}\\n    or\\n    <a\\n      {{action\\n        (queue\\n          (action controlsAPI.actions.selectPane 'note')\\n          (action controlsAPI.actions.scrollStreamToBottom)\\n        )\\n      }}\\n      class=\\\"btn__tertiary\\\"\\n    >add a note</a>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  {{action (queue\\n    (action controlsAPI.actions.expandComposer)\\n    (action controlsAPI.actions.scrollStreamToBottom)\\n    (action controlsAPI.actions.focusComposer)\\n  )\\n  }}\\n  class=\\\"layout__box o__flexes-to-1 {{if inConversationCard 'u__pad__15'}}\\\"\\n  data-test-collapsed-composer\\n>\\n  <a\\n    {{action\\n      (queue\\n        (action controlsAPI.actions.selectPane 'comment')\\n        (action controlsAPI.actions.scrollStreamToBottom)\\n      )\\n    }}\\n    class=\\\"btn__tertiary\\\"\\n  >Reply</a>\\n  {{#if app.inboxIsActive}}\\n    or\\n    <a\\n      {{action\\n        (queue\\n          (action controlsAPI.actions.selectPane 'note')\\n          (action controlsAPI.actions.scrollStreamToBottom)\\n        )\\n      }}\\n      class=\\\"btn__tertiary\\\"\\n    >add a note</a>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/conversation/controls/composer-opener.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/composer-opener.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  classNames: ['layout__box', 'inbox__conversation-controls__composer-opener', 'u__pointer-cursor'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable no-action --}}\\n\\n{{on-key \\\"Escape\\\" this.escapePressed priority=@keyboardPriority}}\\n{{on-key \\\"cmd+Enter\\\" this.cmdEnterPressed  priority=@keyboardPriority}}\\n{{on-key \\\"cmd+shift+Enter\\\" this.cmdShiftEnterPressed priority=@keyboardPriority}}\\n{{on-key \\\"cmd+alt+Enter\\\" this.cmdAltEnterPressed priority=@keyboardPriority}}\\n\\n{{#if (and isInbox notInExternalTaskMode)}}\\n  <AppFramework::InboxApps::MessengerAppInserter\\n    @conversation={{conversation}}\\n    @controlsAPI={{publicAPI}}\\n  />\\n  <Conversation::Controls::ArticleSuggestions\\n    @actionReceiver={{articleSuggestionsComponent}}\\n    @conversation={{conversation}}\\n    @controlsAPI={{publicAPI}}\\n  />\\n{{/if}}\\n<div\\n  class=\\\"skiptranslate\\n    notranslate\\n    card {{if inConversationCard \\\"inbox__conversation-controls\\\" \\\"js__inbox_composer inbox__conversation-controls\\\"}} {{if publicAPI.isFocused \\\"o__selected\\\"}}\\\"\\n>\\n  {{#if isComposerCollapsed}}\\n    <Conversation::Controls::ComposerOpener\\n      @controlsAPI={{publicAPI}}\\n      @resetFixedState={{resetFixedState}}\\n      @inConversationCard={{inConversationCard}}\\n    />\\n  {{/if}}\\n  <div\\n    class=\\\"{{if isComposerCollapsed \\\"inbox__conversation-controls__invisible-composer\\\"}}\\\"\\n    data-test-reply-composer\\n  >\\n    <Conversation::Controls::PaneSelectorComponent @controlsAPI={{publicAPI}} />\\n    <div\\n      class=\\\"js_conversation_control_form {{unless replySelected \\\"inbox__conversation-controls__internal-part\\\"}}\\\"\\n    >\\n      <Conversation::Controls::PaneComponent\\n        @controlsAPI={{publicAPI}}\\n        @composerComponent={{composerComponent}}\\n        @composerHasContent={{composerHasContent}}\\n        @composerIsUploading={{composerIsUploading}}\\n        @isFetchingSavedReply={{isFetchingSavedReply}}\\n      />\\n      <Conversation::Controls::ButtonBar\\n        @controlsAPI={{publicAPI}}\\n        @draftComponent={{draftComponent}}\\n        @openAppsPopover={{openAppsPopover}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\\n{{#if this.savedReplyBeingCreated}}\\n  <Inbox::CreateSavedReplyModal\\n    @onClose={{action \\\"createSavedReplyFinished\\\"}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable no-action --}}\\n\\n{{on-key \\\"Escape\\\" this.escapePressed priority=@keyboardPriority}}\\n{{on-key \\\"cmd+Enter\\\" this.cmdEnterPressed  priority=@keyboardPriority}}\\n{{on-key \\\"cmd+shift+Enter\\\" this.cmdShiftEnterPressed priority=@keyboardPriority}}\\n{{on-key \\\"cmd+alt+Enter\\\" this.cmdAltEnterPressed priority=@keyboardPriority}}\\n\\n{{#if (and isInbox notInExternalTaskMode)}}\\n  <AppFramework::InboxApps::MessengerAppInserter\\n    @conversation={{conversation}}\\n    @controlsAPI={{publicAPI}}\\n  />\\n  <Conversation::Controls::ArticleSuggestions\\n    @actionReceiver={{articleSuggestionsComponent}}\\n    @conversation={{conversation}}\\n    @controlsAPI={{publicAPI}}\\n  />\\n{{/if}}\\n<div\\n  class=\\\"skiptranslate\\n    notranslate\\n    card {{if inConversationCard \\\"inbox__conversation-controls\\\" \\\"js__inbox_composer inbox__conversation-controls\\\"}} {{if publicAPI.isFocused \\\"o__selected\\\"}}\\\"\\n>\\n  {{#if isComposerCollapsed}}\\n    <Conversation::Controls::ComposerOpener\\n      @controlsAPI={{publicAPI}}\\n      @resetFixedState={{resetFixedState}}\\n      @inConversationCard={{inConversationCard}}\\n    />\\n  {{/if}}\\n  <div\\n    class=\\\"{{if isComposerCollapsed \\\"inbox__conversation-controls__invisible-composer\\\"}}\\\"\\n    data-test-reply-composer\\n  >\\n    <Conversation::Controls::PaneSelectorComponent @controlsAPI={{publicAPI}} />\\n    <div\\n      class=\\\"js_conversation_control_form {{unless replySelected \\\"inbox__conversation-controls__internal-part\\\"}}\\\"\\n    >\\n      <Conversation::Controls::PaneComponent\\n        @controlsAPI={{publicAPI}}\\n        @composerComponent={{composerComponent}}\\n        @composerHasContent={{composerHasContent}}\\n        @composerIsUploading={{composerIsUploading}}\\n        @isFetchingSavedReply={{isFetchingSavedReply}}\\n      />\\n      <Conversation::Controls::ButtonBar\\n        @controlsAPI={{publicAPI}}\\n        @draftComponent={{draftComponent}}\\n        @openAppsPopover={{openAppsPopover}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\\n{{#if this.savedReplyBeingCreated}}\\n  <Inbox::CreateSavedReplyModal\\n    @onClose={{action \\\"createSavedReplyFinished\\\"}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/controls/controls-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/controls-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-side-effects */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { isEmpty, isNone } from '@ember/utils';\nimport $ from 'jquery';\nimport { A } from '@ember/array';\nimport { next, schedule, run, scheduleOnce } from '@ember/runloop';\nimport EmberObject, { computed, action } from '@ember/object';\nimport { readOnly, not, notEmpty, gt, equal, or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport InboundActions from 'ember-component-inbound-actions/inbound-actions';\nimport SavedReply from 'embercom/models/saved-reply';\nimport UserContentSeenState from 'embercom/lib/user-content-seen-state';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\nimport { queryCache } from 'embercom/components/conversation/controls/inserters/article-popover-content';\nimport { SNOOZED_UNTIL_MAP } from 'embercom/lib/inbox/constants';\n\nexport default Component.extend(InboundActions, EventTracking, {\n  intercomEventService: service(),\n  notificationsService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n  publicAPI: computed(\n    'conversation',\n    'activePaneIdentifier',\n    'isInbox',\n    'isFocused',\n    'composerComponent',\n    'composerHasContent',\n    'composerIsUploading',\n    'isFetchingSavedReply',\n    'hasOpenInserters',\n    function() {\n      return {\n        app: this.app,\n        admin: this.admin,\n        conversation: this.conversation,\n        activePaneIdentifier: this.activePaneIdentifier,\n        isInbox: this.isInbox,\n        isFocused: this.isFocused,\n        composerComponent: this.composerComponent,\n        composerHasContent: this.composerHasContent,\n        composerIsUploading: this.composerIsUploading,\n        isFetchingSavedReply: this.isFetchingSavedReply,\n        hasOpenInserters: this.hasOpenInserters,\n        actions: {\n          insertBlock: (...args) => this.send('insertBlock', ...args),\n          insertBlockInCommentPane: (...args) => this.send('insertBlockInCommentPane', ...args),\n          insertSavedReply: (...args) => this.send('insertSavedReply', ...args),\n          uploadImage: (...args) => this.send('uploadImage', ...args),\n          annotateImage: (...args) => this.send('annotateImage', ...args),\n          uploadAttachment: (...args) => this.send('uploadAttachment', ...args),\n          paste: (...args) => this.send('paste', ...args),\n          clearSuggestions: (...args) => this.send('clearSuggestions', ...args),\n          openSavedRepliesModal: (...args) => this.send('openSavedRepliesModal', ...args),\n          createSavedReply: (...args) => this.send('createSavedReply', ...args),\n          registerOpenInserter: (...args) => this.send('registerOpenInserter', ...args),\n          clearOpenInserter: (...args) =>\n            !this.isDestroying && this.send('clearOpenInserter', ...args),\n          scrollStreamToBottom: (...args) => this.send('scrollStreamToBottom', ...args),\n          selectPane: (...args) => this.send('changeActivePaneAndShowComposer', ...args),\n          onComposerChange: (...args) => this.send('onComposerChange', ...args),\n          onComposerKeyDown: (...args) => this.send('onComposerKeyDown', ...args),\n          createPart: (...args) => this.send('createPart', ...args),\n          createPartAndSnoozeWithPresetTimer: (...args) =>\n            this.send('createPartAndSnoozeWithPresetTimer', ...args),\n          createPartAndSnoozeWithCustomTimer: (...args) =>\n            this.send('createPartAndSnoozeWithCustomTimer', ...args),\n          expandComposer: (...args) => this.send('expandComposer', ...args),\n          focusComposer: (...args) => this.send('focusComposer', ...args),\n        },\n      };\n    },\n  ),\n  realTimeEventService: service('realTimeEventService'),\n  conversationsService: service(),\n\n  onboardingHomeExternalStepService: service(),\n  notInExternalTaskMode: readOnly('onboardingHomeExternalStepService.externalStepModeDisabled'),\n\n  classNames: ['conversation__card__content-expanded__controls', 'o__vertical-nav'],\n  attributeBindings: ['data-intercom-target'],\n  'data-intercom-target': 'conversation-controls',\n\n  activePaneIdentifier: 'comment',\n  composerHasContent: false, // Two way bound into composer component\n  isNotFocused: not('isFocused'),\n  composerHasNoContent: not('composerHasContent'),\n  hasOpenInserters: notEmpty('openInserters'),\n\n  hasArticleSuggestions: gt('conversation.articleSuggestionCount', 0),\n\n  replySelected: equal('activePaneIdentifier', 'comment'),\n  noteSelected: equal('activePaneIdentifier', 'note'),\n\n  isUploadingOrFetchingSavedReply: or('composerIsUploading', 'isFetchingSavedReply'),\n\n  isFocused: false,\n\n  savedReplyBeingCreated: false,\n\n  init() {\n    this._super(...arguments);\n    this.set('openInserters', []);\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.onConversationChange();\n  },\n\n  escapePressed: action(function(_event) {\n    this.send('removeFocus');\n  }),\n\n  cmdEnterPressed: action(function(_event) {\n    if (this.isUploadingOrFetchingSavedReply || !this.get('app.canUseMessenger')) {\n      return;\n    }\n    let action = this.activePaneIdentifier;\n    if (action === 'comment' && this.get('conversation.isClosed')) {\n      action = 'open';\n    }\n    this.handleKeyDown(action);\n    this.addAnalyticsEvent('sent', this.get('conversation.lastPart'), 'with_keyboard_shortcut', [\n      this.conversation,\n    ]);\n    this.createPartFromShortcut(action);\n  }),\n\n  cmdShiftEnterPressed: action(function(_event) {\n    if (\n      this.isUploadingOrFetchingSavedReply ||\n      this.get('conversation.isClosed') ||\n      this.get('conversation.isSnoozed') ||\n      !this.get('app.canUseMessenger')\n    ) {\n      return;\n    }\n\n    this.handleCloseEvent(this.activePaneIdentifier);\n  }),\n\n  cmdAltEnterPressed: action(function(_event) {\n    if (\n      this.isUploadingOrFetchingSavedReply ||\n      this.get('conversation.isClosed') ||\n      this.get('conversation.isSnoozed')\n    ) {\n      return;\n    }\n    this.handleSnoozeEvent();\n  }),\n\n  createPartFromShortcut(action) {\n    if (this.isComposerFocused() && this.composerHasContent) {\n      this.send('createPart', action, false);\n      this.send('scrollStreamToBottom');\n    }\n  },\n\n  createEventPartFromShortcut(action) {\n    if (this.isComposerFocused() && this.composerHasContent) {\n      this.send('createPartAndSnoozeWithPresetTimer', action, 1, false);\n    }\n  },\n\n  handleKeyDown(action) {\n    this.intercomEventService.trackEvent(`keyboard-shortcut-reply-${action}`);\n  },\n\n  keyPress(event) {\n    this.maybeUpdateUserContentSeenState();\n  },\n\n  handleSnoozeEvent() {\n    let action = this.activePaneIdentifier;\n    this.handleKeyDown('snoozed');\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'snoozed',\n      object: this.conversation,\n      context: 'with_send_keyboard_shortcut',\n      snoozed_until: this.get('conversationsService.snoozedUntilDefaultText'),\n    });\n    if (action === 'comment') {\n      this.createEventPartFromShortcut(action);\n    } else {\n      this.createPartFromShortcut(action);\n    }\n  },\n\n  handleCloseEvent(action) {\n    if (action === 'comment') {\n      action = 'close';\n    }\n    this.handleKeyDown(action);\n    this.addAnalyticsEvent('closed', this.conversation, 'with_send_keyboard_shortcut');\n    this.createPartFromShortcut(action);\n  },\n\n  focusIn() {\n    next(this, function() {\n      if (!this.isDestroying) {\n        this.set('isFocused', true);\n      }\n    });\n  },\n\n  focusOut() {\n    next(this, function() {\n      if (!this.isDestroying) {\n        this.set('isFocused', false);\n      }\n    });\n  },\n\n  willDestroyElement() {\n    // clear up the article inserters cache\n    queryCache.filteredContent = [];\n    this.cancelTimers();\n    this.set('openInserters', []);\n    this._super(...arguments);\n  },\n\n  didUpdateAttrs() {\n    this._super(...arguments);\n    if (this.conversation && this.conversation !== this.lastConversation) {\n      this.onConversationChange();\n    }\n  },\n\n  onConversationChange() {\n    this.cancelTimers();\n    this.set('lastConversation', this.conversation);\n    let collapseComposer = this.get('conversation.hasNoDrafts') && !this.isInbox;\n    this.set('isComposerCollapsed', collapseComposer);\n    this.setup();\n  },\n\n  setup(focusComposer) {\n    this.initPaneCache();\n    if (\n      this.get('conversation.lastPartWithContentExcludingOperator.isNote') &&\n      this.get('app.inboxIsActive')\n    ) {\n      this.set('activePaneIdentifier', 'note');\n    } else {\n      this.set('activePaneIdentifier', 'comment');\n    }\n    this.syncDraftClassAndActivePane();\n    this.copyDraftToPaneCache();\n    if (focusComposer) {\n      this.loadPaneCacheIntoComposerAndFocus();\n    } else {\n      this.loadPaneCacheIntoComposerWithoutFocusing();\n    }\n  },\n\n  setupAndFocus() {\n    this.setup(true);\n  },\n\n  initPaneCache() {\n    this.set(\n      'paneCache',\n      EmberObject.create({\n        comment: EmberObject.create({ blocks: [], uploads: A() }),\n        note: EmberObject.create({ blocks: [], uploads: A() }),\n        send: EmberObject.create({ blocks: [], uploads: A() }),\n      }),\n    );\n  },\n\n  activePane: computed('activePaneIdentifier', 'conversation', 'paneCache', function() {\n    let panesPath = `paneCache.${this.activePaneIdentifier}`;\n    return this.get(panesPath);\n  }),\n\n  loadPaneCacheIntoComposerAndFocusAndInsertBlock(type, block) {\n    // Schedule after render so we definitely have a live composer\n    schedule('afterRender', this, this._loadAndFocusAndInsertBlock, type, block);\n  },\n\n  loadPaneCacheIntoComposerAndFocus() {\n    // Schedule after render so we definitely have a live composer\n    schedule('afterRender', this, this._loadAndFocus);\n  },\n\n  loadPaneCacheIntoComposerWithoutFocusing() {\n    // Schedule after render so we definitely have a live composer\n    schedule('afterRender', this, this._load);\n  },\n\n  _loadAndFocusAndInsertBlock(type, block) {\n    run(() => {\n      let composerComponent = this.composerComponent;\n      if (composerComponent) {\n        composerComponent.send('loadAndFocus', this.get('activePane.blocks'));\n        composerComponent.send('createBlock', type, block);\n        this.send('focusComposer');\n        this.doScroll();\n      }\n    });\n  },\n\n  _loadAndFocus() {\n    run(() => {\n      let composerComponent = this.composerComponent;\n      if (composerComponent) {\n        composerComponent.send('loadAndFocus', this.get('activePane.blocks'));\n      }\n    });\n  },\n\n  _load() {\n    run(() => {\n      let composerComponent = this.composerComponent;\n      if (composerComponent) {\n        composerComponent.send('load', this.get('activePane.blocks'));\n      }\n    });\n  },\n\n  isComposerFocused() {\n    return (\n      $(':focus').hasClass('embercom-composer-editor') ||\n      $(':focus').hasClass('embercom-prosemirror-composer-editor')\n    );\n  },\n\n  maybeUpdateUserContentSeenState() {\n    if (this.isComposerFocused() && !this.composerHasContent && this.replySelected) {\n      UserContentSeenState.updateConversationForAdmin(this.conversation, this.realTimeEventService);\n    }\n  },\n\n  doScroll() {\n    next(this, function() {\n      if (this.isComposerFocused()) {\n        this.send('scrollStreamToBottom');\n      }\n    });\n  },\n\n  cancelTimers() {\n    if (this.draftComponent) {\n      this.draftComponent.send('cancelTimers');\n    }\n  },\n\n  loadDraft() {\n    return this.conversationsService.getDraft(this.conversation);\n  },\n\n  syncDraftClassAndActivePane() {\n    let draft = this.loadDraft();\n    if (draft.get('isEmpty')) {\n      draft.set('subclass', this.activePaneIdentifier);\n    } else {\n      this.set('activePaneIdentifier', draft.get('subclass'));\n    }\n  },\n\n  copyDraftToPaneCache() {\n    let draft = this.loadDraft();\n    this.set('activePane.blocks', draft.get('blocks'));\n    if (this.forceActivePaneToNote) {\n      this.set('forceActivePaneToNote', false);\n      this.send('focusComposer');\n    }\n  },\n\n  handleArticleSend(blocks) {\n    if (!blocks) {\n      return;\n    }\n    let linkBlocks = blocks.filterBy('type', 'link');\n    if (linkBlocks.length > 0) {\n      this.trackArticleSend(linkBlocks);\n    }\n  },\n\n  trackArticleSend(articleBlocks) {\n    this.intercomEventService.trackEvent('educate-event', {\n      action: 'sent_in_conversation',\n      object: 'article',\n      place: 'conversation',\n      owner: 'educate',\n      conversation_id: this.get('conversation.id'),\n      article_ids: articleBlocks.mapBy('articleId'),\n    });\n  },\n\n  trackRepliedFromLocation() {\n    if (this.isInbox) {\n      this.intercomEventService.trackEvent('replied-from-inbox', {\n        action: 'replied',\n        object: 'conversation',\n        place: 'inbox',\n        owner: 'growth',\n        conversation_id: this.conversation.id,\n        isNote: this.get('conversation.lastPart.isNote') || false,\n        hasArticle: this.get('conversation.lastPart.hasArticle'),\n      });\n    } else {\n      this.intercomEventService.trackEvent('replied-from-conversations-list', {\n        action: 'replied',\n        object: 'conversation',\n        place: 'conversations_list',\n        owner: 'growth',\n      });\n    }\n  },\n\n  notifyNexus() {\n    // never send a notification if the composer is empty\n    if (!this.composerHasContent) {\n      return;\n    }\n    let admin = this.admin;\n    let conversation = this.conversation;\n    if (this.replySelected) {\n      this.realTimeEventService.sendAdminIsTypingEvent(admin, conversation);\n    } else {\n      this.realTimeEventService.sendAdminIsTypingANoteEvent(admin, conversation);\n    }\n  },\n\n  fetchBlocksFromComposer() {\n    return this.composerComponent.getBlocks();\n  },\n\n  afterPartCreate(blocks) {\n    this.handleArticleSend(blocks);\n    this.setupAndFocus();\n  },\n\n  beforePartCreate(conversation) {\n    this.cancelTimers();\n    this.conversationsService.clearDraft(conversation);\n  },\n\n  addAnalyticsEvent(action, object, context, models) {\n    let data = {\n      action,\n      object,\n      context,\n    };\n    if (models) {\n      data.models = models;\n    }\n    this.intercomEventService.trackAnalyticsEvent(data);\n  },\n\n  _createPartAndSnooze(type, snoozeOptions, trackEvents = true) {\n    let convo = this.conversation;\n    let blocks = this.fetchBlocksFromComposer();\n    let uploads = this.get('activePane.uploads');\n\n    this.beforePartCreate(convo);\n    this.conversationsService.addPartAndSnooze(convo, type, blocks, uploads, null, snoozeOptions);\n    if (trackEvents) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'snoozed',\n        object: convo,\n        context: 'with_send',\n        snoozed_until: this.get('conversationsService.snoozedUntilDefaultText'),\n      });\n    }\n    this.trackRepliedFromLocation();\n    this.afterPartCreate(blocks);\n  },\n\n  focusComposerCallback() {\n    this.composerComponent.send('focus');\n  },\n\n  actions: {\n    insertBlock(type, block) {\n      this.composerComponent.send('createBlock', type, block);\n      this.send('focusComposer');\n      this.doScroll();\n    },\n\n    insertBlockInCommentPane(type, block) {\n      this.set('activePane.blocks', this.fetchBlocksFromComposer());\n      this.set('activePaneIdentifier', 'comment');\n      this.set('isComposerCollapsed', false);\n      this.loadPaneCacheIntoComposerAndFocusAndInsertBlock(type, block);\n    },\n\n    paste(text) {\n      this.composerComponent.send('paste', text, 'plain');\n      this.doScroll();\n    },\n\n    removeFocus() {\n      this.composerComponent.send('removeFocus');\n    },\n\n    uploadImage(files) {\n      this.intercomEventService.trackEvent('inbox-image-inserted');\n      this.composerComponent.send('uploadImage', files);\n    },\n\n    uploadAttachment(files) {\n      this.intercomEventService.trackEvent('inbox-attachment-added');\n      this.composerComponent.send('uploadAttachment', files);\n    },\n\n    focusComposer() {\n      scheduleOnce('afterRender', this, this.focusComposerCallback);\n    },\n\n    focusComposerTab(tab) {\n      if (!isEmpty(tab)) {\n        this.send('changeActivePaneAndShowComposer', tab);\n        this.send('focusComposer');\n      }\n    },\n\n    openSavedRepliesModal(options) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('openSavedRepliesModal', {\n        activePane: this.activePane,\n        filterQuery: options.filterQuery,\n        mode: options.mode,\n        part: options.part,\n      });\n    },\n\n    createSavedReply() {\n      this.set('savedReplyBeingCreated', true);\n    },\n\n    createSavedReplyFinished() {\n      this.set('savedReplyBeingCreated', false);\n    },\n\n    createPart(type, trackEvents = true) {\n      let convo = this.conversation;\n      let blocks = this.fetchBlocksFromComposer();\n      let uploads = this.get('activePane.uploads');\n\n      this.beforePartCreate(convo);\n      this.conversationsService.addPartAndSave(convo, type, blocks, uploads);\n      if (trackEvents) {\n        if (type === 'close') {\n          this.addAnalyticsEvent('closed', convo, 'with_send');\n        } else if (this.conversation.isAssignedTo(this.admin)) {\n          this.addAnalyticsEvent('sent', convo.get('lastPart'), 'from_composer_button', [convo]);\n        } else {\n          this.addAnalyticsEvent('opened', convo, 'with_send');\n        }\n      }\n      this.trackRepliedFromLocation();\n      this.afterPartCreate(blocks);\n    },\n\n    createPartAndSnoozeWithPresetTimer(type, snoozedUntil, trackEvents = true) {\n      let snoozeOptions = {\n        snoozedUntil,\n        customSnoozedUntil: SNOOZED_UNTIL_MAP[snoozedUntil].absoluteUnsnoozeTime,\n      };\n      this._createPartAndSnooze(type, snoozeOptions, trackEvents);\n    },\n\n    createPartAndSnoozeWithCustomTimer(type, customSnoozedUntil, trackEvents = true) {\n      this._createPartAndSnooze(\n        type,\n        { snoozedUntil: 'custom_timer', customSnoozedUntil },\n        trackEvents,\n      );\n    },\n\n    onComposerChange() {\n      if (this.draftComponent) {\n        this.draftComponent.send('updateDraft');\n      }\n    },\n\n    onComposerKeyDown() {\n      scheduleOnce('afterRender', this, this.notifyNexus);\n    },\n\n    changeToNotePane() {\n      if (!this.composerHasContent) {\n        this.set('isComposerCollapsed', false);\n        this.set('forceActivePaneToNote', true);\n        this.set('activePaneIdentifier', 'note');\n      }\n      this.send('focusComposer');\n    },\n\n    changeActivePaneAndShowComposer(newPaneIdentifier) {\n      this.set('activePane.blocks', this.fetchBlocksFromComposer());\n      this.set('activePaneIdentifier', newPaneIdentifier);\n      this.set('isComposerCollapsed', false);\n      this.loadPaneCacheIntoComposerAndFocus();\n    },\n\n    scrollStreamToBottom() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('scrollStreamToBottom');\n    },\n\n    insertSavedReply(savedReply) {\n      if (isNone(savedReply)) {\n        return;\n      }\n      let conversationId = this.get('conversation.id');\n      let savedReplyId = savedReply.get('id');\n      SavedReply.getRendered(savedReplyId, this.get('app.id'), conversationId).then(data => {\n        this.composerComponent.send('insertBlocks', data.blocks);\n        this.set('isSavedRepliesPopoverOpen', false);\n        this.intercomEventService.trackEvent('saved-reply-popover-inserted-saved-reply', {\n          id: savedReplyId,\n          conversation_id: conversationId,\n        });\n        this.doScroll();\n      });\n    },\n\n    clearSuggestions() {\n      let articleSuggestionsComponent = this.articleSuggestionsComponent;\n      if (articleSuggestionsComponent) {\n        articleSuggestionsComponent.send('clearSuggestions');\n      }\n    },\n\n    registerOpenInserter(inserterName) {\n      this.openInserters.pushObject(inserterName);\n    },\n\n    clearOpenInserter(inserterName) {\n      if (!this.isDestroying) {\n        this.openInserters.removeObject(inserterName);\n      }\n    },\n\n    expandComposer() {\n      this.set('isComposerCollapsed', false);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span\\n  class=\\\"{{selectClass}} {{if discreetMode \\\"o__subtle\\\"}} {{if lightInvisibleSelect \\\"o__light\\\"}} {{if isOpen \\\"o__opened\\\"}} {{if disabled \\\"o__disabled u__disable-pointer-events\\\"}} {{if showError \\\"o__error\\\"}}\\\"\\n  {{action \\\"toggleOpenState\\\"}}\\n>\\n  <span\\n    class=\\\"{{unless isInvisibleSelect \\\"t__select-group-label\\\"}} u__one-truncated-line\\\"\\n  >\\n    {{#if _mappedValue.icon}}\\n      {{ic-interface-icon _mappedValue.icon}}\\n    {{/if}}\\n    {{_mappedValue.label}}\\n    {{#if _mappedValue.tooltip}}\\n      <IcTooltip as |t|>\\n        <t.opener>\\n          {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\" solo=true}}\\n        </t.opener>\\n        <t.content>\\n          {{_mappedValue.tooltip}}\\n        </t.content>\\n      </IcTooltip>\\n    {{/if}}\\n  </span>\\n  <span class=\\\"{{caretClass}} {{if discreetMode \\\"o__subtle\\\"}}\\\">\\n    {{ic-interface-icon \\\"small-up-arrow\\\" solo=true}}\\n  </span>\\n</span>\\n{{partial \\\"components/partials/intercom-select-dropdown\\\"}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span\\n  class=\\\"{{selectClass}} {{if discreetMode \\\"o__subtle\\\"}} {{if lightInvisibleSelect \\\"o__light\\\"}} {{if isOpen \\\"o__opened\\\"}} {{if disabled \\\"o__disabled u__disable-pointer-events\\\"}} {{if showError \\\"o__error\\\"}}\\\"\\n  {{action \\\"toggleOpenState\\\"}}\\n>\\n  <span\\n    class=\\\"{{unless isInvisibleSelect \\\"t__select-group-label\\\"}} u__one-truncated-line\\\"\\n  >\\n    {{#if _mappedValue.icon}}\\n      {{ic-interface-icon _mappedValue.icon}}\\n    {{/if}}\\n    {{_mappedValue.label}}\\n    {{#if _mappedValue.tooltip}}\\n      <IcTooltip as |t|>\\n        <t.opener>\\n          {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\" solo=true}}\\n        </t.opener>\\n        <t.content>\\n          {{_mappedValue.tooltip}}\\n        </t.content>\\n      </IcTooltip>\\n    {{/if}}\\n  </span>\\n  <span class=\\\"{{caretClass}} {{if discreetMode \\\"o__subtle\\\"}}\\\">\\n    {{ic-interface-icon \\\"small-up-arrow\\\" solo=true}}\\n  </span>\\n</span>\\n{{partial \\\"components/partials/intercom-select-dropdown\\\"}}\\n\",\"moduleName\":\"embercom/components/conversation/controls/custom-snooze-times-select-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/custom-snooze-times-select-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport IntercomSelectComponent from 'embercom/components/intercom-select-component';\n\n/* Temporary hack that makes sure intercom-select-component is positioned exactly where it's supposed to be and not repositioned\n   using its _calculateDropdownPositioning(). This hack will probably not be needed anymore once\n   https://github.com/intercom/embercom-core/pull/326#issuecomment-316684311 is merged. */\nexport default IntercomSelectComponent.extend({\n  _calculateDropdownPositioning() {\n    // Empty.\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{statusMessage}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{statusMessage}}\\n\",\"moduleName\":\"embercom/components/conversation/controls/draft-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/draft-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { isEmpty } from '@ember/utils';\nimport { throttle, later, cancel } from '@ember/runloop';\nimport { computed } from '@ember/object';\nimport { alias, notEmpty, not, and } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { fmtStyle, ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport InboundActions from 'ember-component-inbound-actions/inbound-actions';\nimport ENV from 'embercom/config/environment';\n\nexport default Component.extend(InboundActions, {\n  tagName: 'span',\n  classNames: ['a__slow-fade-in'],\n  'data-test-draft-component': true,\n  attributeBindings: ['style'],\n  conversationsService: service(),\n  updateTask: alias('controlsAPI.conversation.updateDraft'),\n  hasStatusMessage: notEmpty('statusMessage'),\n  hasChanged: false,\n  hasNotChanged: not('hasChanged'),\n  hasStatusAndHasNotChanged: and('hasStatusMessage', 'hasNotChanged'),\n  timers: {},\n\n  styleOpacity: ternary('hasStatusAndHasNotChanged', 1, 0),\n  style: fmtStyle('opacity: %@', 'styleOpacity'),\n\n  willDestroyElement() {\n    this.send('cancelTimers');\n    this._super(...arguments);\n  },\n\n  statusMessage: computed(\n    'controlsAPI.composerHasContent',\n    'controlsAPI.isUploading',\n    'updateTask.isRunning',\n    'updateTask.error',\n    'updateTask.last.isFinished',\n    function() {\n      if (this.get('controlsAPI.isUploading')) {\n        return 'Uploading…';\n      }\n      if (!this.get('controlsAPI.composerHasContent')) {\n        return '';\n      }\n      if (this.get('updateTask.isRunning')) {\n        return 'Saving…';\n      }\n      if (this.get('updateTask.last.error')) {\n        return 'Failed!';\n      }\n      if (this.get('updateTask.last.isFinished')) {\n        return 'Saved';\n      }\n    },\n  ),\n\n  updateDraft() {\n    this.markAsChanged();\n    if (this.get('controlsAPI.composerHasContent')) {\n      this.timers.throttle = throttle(\n        this,\n        this.saveComposerAsDraft,\n        ENV.APP._5000MS,\n        false, // Execute on the trailing edge\n      );\n    }\n    if (this._shouldDeleteDraft) {\n      this.conversationsService.deleteDraft(this.get('controlsAPI.conversation'));\n    }\n  },\n\n  saveComposerAsDraft() {\n    let blocks = this.get('controlsAPI.composerComponent').getBlocks();\n    if (isEmpty(blocks)) {\n      return;\n    }\n    this.conversationsService.updateDraft(\n      this.get('controlsAPI.conversation'),\n      this.get('controlsAPI.activePaneIdentifier'),\n      blocks,\n    );\n    this.clearChangedStatus();\n  },\n\n  _shouldDeleteDraft: computed(\n    'controlsAPI.conversation',\n    'controlsAPI.composerComponent',\n    'controlsAPI.composerHasContent',\n    'controlsAPI.activePaneIdentifier',\n    function() {\n      let draft = this.conversationsService.getDraft(this.get('controlsAPI.conversation'));\n      return (\n        this.get('controlsAPI.composerComponent') &&\n        !this.get('controlsAPI.composerHasContent') &&\n        draft.get('subclass') === this.get('controlsAPI.activePaneIdentifier')\n      );\n    },\n  ),\n\n  markAsChanged() {\n    if (!this.timers.markAsChanged && this.hasChanged === false) {\n      this.timers.markAsChanged = later(\n        this,\n        function() {\n          this.set('hasChanged', true);\n        },\n        ENV.APP._2000MS,\n      );\n    }\n  },\n\n  clearChangedStatus() {\n    cancel(this.timers.markAsChanged);\n    this.timers.markAsChanged = null;\n    this.set('hasChanged', false);\n  },\n\n  actions: {\n    updateDraft() {\n      this.updateDraft();\n    },\n\n    cancelTimers() {\n      cancel(this.timers.throttle);\n      cancel(this.timers.markAsChanged);\n      this.timers.markAsChanged = null;\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span class=\\\"inbox__conversation-controls__inserter\\\">\\n  <Popover\\n    @showOn={{array 'click'}}\\n    @hideOn={{array 'click' 'clickout'}}\\n    @isDisabled={{not @inserter.hasPopoverContentComponent}}\\n    @showArrow={{true}}\\n    @placement=\\\"top\\\"\\n    @fallbackPlacements={{array 'bottom' 'left' 'right' 'auto'}}\\n    @onShow={{fn (or @controlsAPI.actions.registerOpenInserter noop) @inserter.name}}\\n    @onHide={{fn (or @controlsAPI.actions.clearOpenInserter noop) @inserter.name}}\\n    data-inserter={{@inserter.name}}\\n    data-test-inserter={{@inserter.name}}\\n    data-intercom-target=\\\"{{@inserter.name}}-inserter-opener\\\"\\n    class=\\\"inbox__conversation-controls__inserter-opener\\\"\\n    as |popover|\\n  >\\n    <popover.Opener>\\n      <IcTooltip @isDisabled={{popover.isVisible}} as |t|>\\n        <t.opener>\\n          {{#if @inserter.hasPopoverContentComponent}}\\n            {{!--\\n              We wrap this SVG in a span with `pointer-events: none` so that\\n              clicks on this inserter are actually dispatched from the Popover\\n              opener above, this is so that the event target is not the <path>\\n              inside the inline svg created by the ic-interface-icon helper.\\n\\n              We needed to do this because, when this inserter is rendered\\n              inside an {{each}} loop, the svg was getting torn down and\\n              re-appended to the DOM every time the list of inserters\\n              recalculated. This meant that the document click handlers used\\n              to decide if an open Popover should close based on a click\\n              somewhere in the DOM did not have enough information to decide to\\n              dismiss the Popover because the event target was no longer\\n              attached to the DOM - ergo, we couldn't compute lineage.\\n            --}}\\n            <span class=\\\"u__disable-pointer-events\\\">\\n              {{ic-interface-icon @inserter.icon solo=true}}\\n            </span>\\n          {{else}}\\n            {{component\\n              (concat\\n                \\\"conversation/controls/inserters/\\\"\\n                @inserter.name\\n                \\\"-opener\\\"\\n              )\\n              inserter=@inserter\\n              controlsAPI=@controlsAPI\\n              inserterAPI=(hash actions=(hash close=popover.hide))\\n            }}\\n          {{/if}}\\n        </t.opener>\\n        <t.content>\\n          {{@inserter.descriptor}}\\n        </t.content>\\n      </IcTooltip>\\n    </popover.Opener>\\n\\n    {{#if @inserter.hasPopoverContentComponent}}\\n      <popover.Content\\n        @fullBleed={{true}}\\n        data-test-inserter-popover={{@inserter.name}}\\n      >\\n        {{component\\n          (concat\\n            \\\"conversation/controls/inserters/\\\"\\n            @inserter.name\\n            \\\"-popover-content\\\"\\n          )\\n          controlsAPI=@controlsAPI\\n          inserterAPI=(hash actions=(hash close=popover.hide))\\n        }}\\n      </popover.Content>\\n    {{/if}}\\n  </Popover>\\n</span>\\n\", {\"contents\":\"<span class=\\\"inbox__conversation-controls__inserter\\\">\\n  <Popover\\n    @showOn={{array 'click'}}\\n    @hideOn={{array 'click' 'clickout'}}\\n    @isDisabled={{not @inserter.hasPopoverContentComponent}}\\n    @showArrow={{true}}\\n    @placement=\\\"top\\\"\\n    @fallbackPlacements={{array 'bottom' 'left' 'right' 'auto'}}\\n    @onShow={{fn (or @controlsAPI.actions.registerOpenInserter noop) @inserter.name}}\\n    @onHide={{fn (or @controlsAPI.actions.clearOpenInserter noop) @inserter.name}}\\n    data-inserter={{@inserter.name}}\\n    data-test-inserter={{@inserter.name}}\\n    data-intercom-target=\\\"{{@inserter.name}}-inserter-opener\\\"\\n    class=\\\"inbox__conversation-controls__inserter-opener\\\"\\n    as |popover|\\n  >\\n    <popover.Opener>\\n      <IcTooltip @isDisabled={{popover.isVisible}} as |t|>\\n        <t.opener>\\n          {{#if @inserter.hasPopoverContentComponent}}\\n            {{!--\\n              We wrap this SVG in a span with `pointer-events: none` so that\\n              clicks on this inserter are actually dispatched from the Popover\\n              opener above, this is so that the event target is not the <path>\\n              inside the inline svg created by the ic-interface-icon helper.\\n\\n              We needed to do this because, when this inserter is rendered\\n              inside an {{each}} loop, the svg was getting torn down and\\n              re-appended to the DOM every time the list of inserters\\n              recalculated. This meant that the document click handlers used\\n              to decide if an open Popover should close based on a click\\n              somewhere in the DOM did not have enough information to decide to\\n              dismiss the Popover because the event target was no longer\\n              attached to the DOM - ergo, we couldn't compute lineage.\\n            --}}\\n            <span class=\\\"u__disable-pointer-events\\\">\\n              {{ic-interface-icon @inserter.icon solo=true}}\\n            </span>\\n          {{else}}\\n            {{component\\n              (concat\\n                \\\"conversation/controls/inserters/\\\"\\n                @inserter.name\\n                \\\"-opener\\\"\\n              )\\n              inserter=@inserter\\n              controlsAPI=@controlsAPI\\n              inserterAPI=(hash actions=(hash close=popover.hide))\\n            }}\\n          {{/if}}\\n        </t.opener>\\n        <t.content>\\n          {{@inserter.descriptor}}\\n        </t.content>\\n      </IcTooltip>\\n    </popover.Opener>\\n\\n    {{#if @inserter.hasPopoverContentComponent}}\\n      <popover.Content\\n        @fullBleed={{true}}\\n        data-test-inserter-popover={{@inserter.name}}\\n      >\\n        {{component\\n          (concat\\n            \\\"conversation/controls/inserters/\\\"\\n            @inserter.name\\n            \\\"-popover-content\\\"\\n          )\\n          controlsAPI=@controlsAPI\\n          inserterAPI=(hash actions=(hash close=popover.hide))\\n        }}\\n      </popover.Content>\\n    {{/if}}\\n  </Popover>\\n</span>\\n\",\"moduleName\":\"embercom/components/conversation/controls/inserter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/inserter.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{ic-interface-icon inserterAPI.icon solo=true}}\\n<input\\n  type=\\\"file\\\"\\n  accept=\\\"image/*\\\"\\n  class=\\\"inbox__conversation-controls__inserter-file\\\"\\n  tabindex=\\\"-1\\\"\\n  onchange={{action changed}}\\n>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{ic-interface-icon inserterAPI.icon solo=true}}\\n<input\\n  type=\\\"file\\\"\\n  accept=\\\"image/*\\\"\\n  class=\\\"inbox__conversation-controls__inserter-file\\\"\\n  tabindex=\\\"-1\\\"\\n  onchange={{action changed}}\\n>\\n\",\"moduleName\":\"embercom/components/conversation/controls/inserters/annotation-opener.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/inserters/annotation-opener.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureKey=\\\"integrated_workflows\\\" @useExternalModal={{true}} as |paywall|>\\n  <paywall.MiniSplash>\\n    {{#if (or checkInserterInstalledTask.isRunning fetchFullArticle.isRunning)}}\\n      <div class=\\\"u__center-layout\\\">\\n        <div class=\\\"u__center-item\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\" />\\n        </div>\\n      </div>\\n    {{else if (not inserterIsInstalled)}}\\n      <IcEmptyState\\n        @icon=\\\"article\\\"\\n        @title=\\\"Article Inserter app is not installed\\\"\\n        @description=\\\"Install the Article Inserter app from the App Store to add articles to conversations\\\"\\n        @buttonLabel=\\\"Go to the App Store\\\"\\n        @onButtonClick={{action \\\"goToAppStore\\\"}}\\n        data-test-inserter-app-not-installed={{true}}\\n      />\\n    {{else if (not hasArticles)}}\\n      <IcEmptyState\\n        @icon=\\\"article\\\"\\n        @title=\\\"No articles yet\\\"\\n        @description=\\\"Write your first article to answer questions faster\\\"\\n        @buttonLabel=\\\"Go to articles\\\"\\n        @onButtonClick={{action \\\"goToArticleList\\\"}}\\n      />\\n    {{else}}\\n      {{#if previewArticle}}\\n        <div class=\\\"flex flex-row items-center article-inserter__panel__header\\\">\\n          <div class=\\\"flex flex-col items-start flex-1\\\">\\n            <a\\n              class=\\\"ml-4 article-inserter__panel__header-back-button\\\"\\n              {{action (mut previewArticle) null bubbles=false}}\\n            >\\n              {{ic-interface-icon \\\"thin-left-arrow\\\" solo=true}}\\n            </a>\\n          </div>\\n          <div class=\\\"flex flex-col items-center flex-1\\\">\\n            <p class=\\\"body text-gray\\\">\\n              Preview\\n            </p>\\n          </div>\\n          <div class=\\\"flex flex-col items-end flex-1\\\">\\n            {{#if (gt previewDropdownItems.length 1)}}\\n              <IcSelect\\n                @items={{previewDropdownItems}}\\n                @onSelectItem={{action \\\"switchLocale\\\"}}\\n                @selectedValue={{selectedLocaleId}}\\n                class=\\\"mr-3\\\"\\n                data-test-article-inserter-language-dropdown={{true}}\\n              />\\n            {{/if}}\\n          </div>\\n        </div>\\n      {{else}}\\n        <div class=\\\"article-inserter__search u__relative\\\">\\n          <AutoFocusComponent>\\n            <OneWayInput\\n              placeholder=\\\"Search articles…\\\"\\n              @update={{action \\\"updateResults\\\"}}\\n              @value={{displayQuery}}\\n              class=\\\"f__text article-inserter__search__input\\\"\\n            />\\n          </AutoFocusComponent>\\n          <span class=\\\"article-inserter__search__icon text-gray\\\">\\n            {{ic-interface-icon \\\"search\\\" solo=true}}\\n          </span>\\n        </div>\\n      {{/if}}\\n      {{#if searchTask.isRunning}}\\n        <div class=\\\"u__center-layout\\\">\\n          <div class=\\\"u__center-item\\\">\\n            <IcLoadingIndicator @size=\\\"small\\\" />\\n          </div>\\n        </div>\\n      {{else}}\\n        {{#if (not hasFilteredContent)}}\\n          <div class=\\\"u__center-item\\\">\\n            <IcEmptyState @icon=\\\"article\\\" @title=\\\"No articles found\\\" />\\n          </div>\\n        {{else}}\\n          <div\\n            class=\\\"article-inserter__panel o__use-article-suggestion-cards js__has_content__visible\\\"\\n          >\\n            {{#if previewArticle}}\\n              <Articles::InboxInserter::ArticlePreview\\n                @app={{app}}\\n                @article={{previewArticle}}\\n                @restrictedForUser={{restrictedForUser}}\\n                @selectedLocaleId={{selectedLocaleId}}\\n                @selectedLocaleName={{selectedLocaleName}}\\n                @controlsAPI={{controlsAPI}}\\n                @inserterAPI={{inserterAPI}}\\n                @hasMultipleLanguages={{gt previewDropdownItems.length 1}}\\n              />\\n            {{else}}\\n              {{#if (and (not this.app.articlesProduct.hasProPlan) this.app.currentAdmin.canAccessProductSettings)}}\\n                <Pulse::DiscoveryBanner\\n                  @heading=\\\"Give fast, consistent answers for every customer\\\"\\n                  @description=\\\"Easily add multilingual or private articles to conversations, without leaving your Inbox\\\"\\n                  @size=\\\"small\\\"\\n                  @dismissalType=\\\"close-icon\\\"\\n                  @dismissalKey=\\\"{{this.articlesProPromoKey}}\\\"\\n                  @dismissalService={{service 'banner-dismissal-service'}}\\n                  class=\\\"m-4\\\"\\n                  data-test-discovery-banner-articles-pro\\n                  as |banner|\\n                >\\n                  <banner.Link\\n                    @icon=\\\"article\\\"\\n                    @title=\\\"Try Articles Pro\\\"\\n                    data-test-discovery-banner-articles-pro-upgrade-link\\n                    {{on 'click' this.openArticlesProUpgradeModal}}\\n                  />\\n                </Pulse::DiscoveryBanner>\\n              {{/if}}\\n              <div class=\\\"flex flex-col article-inserter__list-label pl-4 pt-3 pb-2\\\">\\n                <p class=\\\"t__light-text article-inserter__list-label-text\\\">\\n                  {{#if\\n                    (and hasQuery hasFilteredContent (not searchTask.isRunning))\\n                  }}\\n                    {{uppercase (pluralize filteredContent.length \\\"result\\\")}}\\n                  {{else}}\\n                    {{uppercase \\\"recently added\\\"}}\\n                  {{/if}}\\n                </p>\\n              </div>\\n              <Articles::InboxInserter::List\\n                @articles={{filteredContent}}\\n                @setPreviewArticle={{perform fetchFullArticle}}\\n              />\\n              <div class=\\\"popover-fade__mask popover-fade__mask__bottom\\\"></div>\\n            {{/if}}\\n          </div>\\n        {{/if}}\\n      {{/if}}\\n    {{/if}}\\n  </paywall.MiniSplash>\\n</Paywall>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureKey=\\\"integrated_workflows\\\" @useExternalModal={{true}} as |paywall|>\\n  <paywall.MiniSplash>\\n    {{#if (or checkInserterInstalledTask.isRunning fetchFullArticle.isRunning)}}\\n      <div class=\\\"u__center-layout\\\">\\n        <div class=\\\"u__center-item\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\" />\\n        </div>\\n      </div>\\n    {{else if (not inserterIsInstalled)}}\\n      <IcEmptyState\\n        @icon=\\\"article\\\"\\n        @title=\\\"Article Inserter app is not installed\\\"\\n        @description=\\\"Install the Article Inserter app from the App Store to add articles to conversations\\\"\\n        @buttonLabel=\\\"Go to the App Store\\\"\\n        @onButtonClick={{action \\\"goToAppStore\\\"}}\\n        data-test-inserter-app-not-installed={{true}}\\n      />\\n    {{else if (not hasArticles)}}\\n      <IcEmptyState\\n        @icon=\\\"article\\\"\\n        @title=\\\"No articles yet\\\"\\n        @description=\\\"Write your first article to answer questions faster\\\"\\n        @buttonLabel=\\\"Go to articles\\\"\\n        @onButtonClick={{action \\\"goToArticleList\\\"}}\\n      />\\n    {{else}}\\n      {{#if previewArticle}}\\n        <div class=\\\"flex flex-row items-center article-inserter__panel__header\\\">\\n          <div class=\\\"flex flex-col items-start flex-1\\\">\\n            <a\\n              class=\\\"ml-4 article-inserter__panel__header-back-button\\\"\\n              {{action (mut previewArticle) null bubbles=false}}\\n            >\\n              {{ic-interface-icon \\\"thin-left-arrow\\\" solo=true}}\\n            </a>\\n          </div>\\n          <div class=\\\"flex flex-col items-center flex-1\\\">\\n            <p class=\\\"body text-gray\\\">\\n              Preview\\n            </p>\\n          </div>\\n          <div class=\\\"flex flex-col items-end flex-1\\\">\\n            {{#if (gt previewDropdownItems.length 1)}}\\n              <IcSelect\\n                @items={{previewDropdownItems}}\\n                @onSelectItem={{action \\\"switchLocale\\\"}}\\n                @selectedValue={{selectedLocaleId}}\\n                class=\\\"mr-3\\\"\\n                data-test-article-inserter-language-dropdown={{true}}\\n              />\\n            {{/if}}\\n          </div>\\n        </div>\\n      {{else}}\\n        <div class=\\\"article-inserter__search u__relative\\\">\\n          <AutoFocusComponent>\\n            <OneWayInput\\n              placeholder=\\\"Search articles…\\\"\\n              @update={{action \\\"updateResults\\\"}}\\n              @value={{displayQuery}}\\n              class=\\\"f__text article-inserter__search__input\\\"\\n            />\\n          </AutoFocusComponent>\\n          <span class=\\\"article-inserter__search__icon text-gray\\\">\\n            {{ic-interface-icon \\\"search\\\" solo=true}}\\n          </span>\\n        </div>\\n      {{/if}}\\n      {{#if searchTask.isRunning}}\\n        <div class=\\\"u__center-layout\\\">\\n          <div class=\\\"u__center-item\\\">\\n            <IcLoadingIndicator @size=\\\"small\\\" />\\n          </div>\\n        </div>\\n      {{else}}\\n        {{#if (not hasFilteredContent)}}\\n          <div class=\\\"u__center-item\\\">\\n            <IcEmptyState @icon=\\\"article\\\" @title=\\\"No articles found\\\" />\\n          </div>\\n        {{else}}\\n          <div\\n            class=\\\"article-inserter__panel o__use-article-suggestion-cards js__has_content__visible\\\"\\n          >\\n            {{#if previewArticle}}\\n              <Articles::InboxInserter::ArticlePreview\\n                @app={{app}}\\n                @article={{previewArticle}}\\n                @restrictedForUser={{restrictedForUser}}\\n                @selectedLocaleId={{selectedLocaleId}}\\n                @selectedLocaleName={{selectedLocaleName}}\\n                @controlsAPI={{controlsAPI}}\\n                @inserterAPI={{inserterAPI}}\\n                @hasMultipleLanguages={{gt previewDropdownItems.length 1}}\\n              />\\n            {{else}}\\n              {{#if (and (not this.app.articlesProduct.hasProPlan) this.app.currentAdmin.canAccessProductSettings)}}\\n                <Pulse::DiscoveryBanner\\n                  @heading=\\\"Give fast, consistent answers for every customer\\\"\\n                  @description=\\\"Easily add multilingual or private articles to conversations, without leaving your Inbox\\\"\\n                  @size=\\\"small\\\"\\n                  @dismissalType=\\\"close-icon\\\"\\n                  @dismissalKey=\\\"{{this.articlesProPromoKey}}\\\"\\n                  @dismissalService={{service 'banner-dismissal-service'}}\\n                  class=\\\"m-4\\\"\\n                  data-test-discovery-banner-articles-pro\\n                  as |banner|\\n                >\\n                  <banner.Link\\n                    @icon=\\\"article\\\"\\n                    @title=\\\"Try Articles Pro\\\"\\n                    data-test-discovery-banner-articles-pro-upgrade-link\\n                    {{on 'click' this.openArticlesProUpgradeModal}}\\n                  />\\n                </Pulse::DiscoveryBanner>\\n              {{/if}}\\n              <div class=\\\"flex flex-col article-inserter__list-label pl-4 pt-3 pb-2\\\">\\n                <p class=\\\"t__light-text article-inserter__list-label-text\\\">\\n                  {{#if\\n                    (and hasQuery hasFilteredContent (not searchTask.isRunning))\\n                  }}\\n                    {{uppercase (pluralize filteredContent.length \\\"result\\\")}}\\n                  {{else}}\\n                    {{uppercase \\\"recently added\\\"}}\\n                  {{/if}}\\n                </p>\\n              </div>\\n              <Articles::InboxInserter::List\\n                @articles={{filteredContent}}\\n                @setPreviewArticle={{perform fetchFullArticle}}\\n              />\\n              <div class=\\\"popover-fade__mask popover-fade__mask__bottom\\\"></div>\\n            {{/if}}\\n          </div>\\n        {{/if}}\\n      {{/if}}\\n    {{/if}}\\n  </paywall.MiniSplash>\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/conversation/controls/inserters/article-popover-content.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/inserters/article-popover-content.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { debounce } from '@ember/runloop';\nimport { readOnly, notEmpty, not, gt, reads, oneWay } from '@ember/object/computed';\nimport { action, computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport KeyboardSelectable from 'embercom/components/mixins/keyboard-selectable-dropdown';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\nimport { task } from 'ember-concurrency';\nimport ajax from 'embercom/lib/ajax';\nimport { ARTICLES_ID } from 'embercom/lib/billing';\nimport defaultTo from '@intercom/embercom-core/lib/default-to';\nimport { ARTICLES_PRO_ID } from 'embercom/lib/billing';\n\nlet queryCache = {\n  query: '',\n  filteredContent: [],\n  conversationId: null,\n};\n\nexport { queryCache };\n\nexport default Component.extend(KeyboardSelectable, EventTracking, {\n  intercomEventService: service(),\n  paywallService: service(),\n  appService: service(),\n  helpCenterService: service(),\n  router: service(),\n  store: service(),\n\n  classNames: ['article-inserter'],\n  app: readOnly('appService.app'),\n  hasArticlesProduct: readOnly('app.articlesProduct.active'),\n  content: [],\n  hasArticles: true,\n  filteredContent: defaultTo([]),\n  query: '',\n  articlesProPromoKey: 'articles-pro-inserter-upgrade',\n  inserterIsInstalled: false,\n\n  hasQuery: notEmpty('query'),\n  hasNoQuery: not('hasQuery'),\n  hasFilteredContent: gt('filteredContent.length', 0),\n  selectableItems: reads('filteredContent'),\n  selectedLocaleId: oneWay('previewDropdownItems.firstObject.value'),\n  previewDropdownItems: computed(\n    'site.selectedLocalesOrdered',\n    'previewArticle.publishedContentsLocaleIds',\n    function() {\n      let items = this.site.selectedLocalesOrdered.map(locale => {\n        let hasPublishedArticle =\n          this.previewArticle.publishedContentsLocaleIds.find(\n            localeId => localeId === locale.localeId,\n          ) !== undefined;\n\n        return {\n          text: hasPublishedArticle ? locale.name : `${locale.name} (Not translated)`,\n          value: locale.localeId,\n          component: 'articles/inbox-inserter/locale-dropdown-item',\n          id: locale.localeId,\n          isDisabled: !hasPublishedArticle,\n        };\n      });\n\n      items.sort((a, b) => {\n        if (a.isDisabled && !b.isDisabled) {\n          return 1;\n        }\n        if (!a.isDisabled && b.isDisabled) {\n          return -1;\n        }\n        return 0;\n      });\n\n      return items;\n    },\n  ),\n  site: computed(function() {\n    return this.store.peekAll('help-center-site').firstObject;\n  }),\n  supportedLocales: readOnly('site.supportedLocales'),\n  selectedLocaleName: computed('supportedLocales', 'selectedLocaleId', function() {\n    return this._getLocaleName(this.selectedLocaleId);\n  }),\n\n  _getLocaleName(localeId) {\n    return this.supportedLocales.findBy('localeId', localeId).name;\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.checkInserterInstalledTask.perform();\n    this.loadResultsFromCache();\n    this.intercomEventService.trackEvent('knowledgebase-popover-opened');\n    this.trackEducateEvent({\n      action: 'clicked',\n      object: 'article_inserter',\n      place: 'inbox',\n      context: 'article_inserter',\n    });\n    if (this.hasFilteredContent) {\n      this.set('displayQuery', this.query);\n    } else {\n      this.runSearchTask('');\n    }\n  },\n\n  loadResultsFromCache() {\n    let conversationId = this.get('controlsAPI.conversation.id');\n    if (queryCache.conversationId === conversationId) {\n      this.setProperties({\n        filteredContent: queryCache.filteredContent.slice(0),\n        query: queryCache.query,\n      });\n    } else {\n      queryCache.conversationId = conversationId;\n    }\n  },\n\n  checkInserterInstalledTask: task(function*() {\n    let record = yield this.store.findRecord('appstore/app-package', 'article-inserter', {\n      reload: true,\n    });\n    if (record && record.isInstalled) {\n      this.set('inserterIsInstalled', true);\n    } else {\n      this.set('inserterIsInstalled', false);\n    }\n  }),\n\n  search(query) {\n    return this.helpCenterService\n      .maybeFetchSite()\n      .then(() => {\n        let url = '/ember/articles/inserter_search';\n        return ajax({\n          url,\n          data: {\n            phrase: query,\n            app_id: this.get('controlsAPI.app.id'),\n            conversation_id: this.get('controlsAPI.conversation.id'),\n          },\n        });\n      })\n      .catch(() => {\n        return { articles: [] };\n      });\n  },\n\n  searchTask: task(function*(query) {\n    this.set('query', query);\n    queryCache.query = query;\n    let response = yield this.search(query);\n    this.trackEducateEvent({\n      action: 'searched',\n      object: 'article_inserter',\n      place: 'inbox',\n      context: 'article_inserter',\n    });\n    this.setFilteredContent(response);\n  }).drop(),\n\n  setFilteredContent(response) {\n    let records = response.articles;\n\n    if (this.hasNoQuery && records.length === 0) {\n      this.set('hasArticles', false);\n    }\n    this.set('filteredContent', records);\n    queryCache.filteredContent = records;\n  },\n\n  runSearchTask(query) {\n    this.searchTask.perform(query);\n  },\n\n  fetchFullArticle: task(function*(article) {\n    let previewArticle = article;\n    if (!article.fullyLoaded) {\n      previewArticle = yield this.store.findRecord('article-multilingual', article.id, {\n        reload: true,\n      });\n    }\n    this.trackEducateEvent({\n      action: 'clicked',\n      object: 'article',\n      place: 'inbox',\n      context: 'article_inserter',\n      article_id: previewArticle.id,\n      locale_id: previewArticle.selectedLocaleId,\n    });\n    this.set('previewArticle', previewArticle);\n    this.set('restrictedForUser', !article.visible_to_user);\n  }).drop(),\n\n  openArticlesProUpgradeModal: action(function() {\n    this.paywallService\n      .open({ planId: ARTICLES_PRO_ID, place: this.articlesProPromoKey })\n      .catch(this.paywallService.handleError);\n  }),\n\n  actions: {\n    insertArticleIntoComposer(article) {\n      this.get('controlsAPI.actions.insertBlock')('link', article.get('articleCard'));\n      this.get('inserterAPI.actions.close')();\n    },\n    startArticlesTrial() {\n      this.paywallService\n        .open({ productIds: [ARTICLES_ID], place: 'inbox_inserter' })\n        .catch(this.paywallService.handleError);\n    },\n    updateResults(query) {\n      if (query !== this.query) {\n        this.setProperties({\n          displayQuery: query,\n          isLoading: true,\n        });\n        debounce(this, this.runSearchTask, query, 500);\n      }\n    },\n    goToArticleList() {\n      this.trackEducateEvent({\n        action: 'clicked',\n        object: 'articles',\n        place: 'inbox',\n        context: 'article_inserter',\n      });\n      this.router.transitionTo('apps.app.articles.articles');\n    },\n    goToAppStore() {\n      this.router.transitionTo('apps.app.appstore', {\n        queryParams: { app_package_code: 'article-inserter' },\n      });\n    },\n    close() {\n      this.close();\n    },\n    switchLocale(locale) {\n      this.trackEducateEvent({\n        action: 'clicked',\n        object: 'locale_picker',\n        place: 'inbox',\n        context: 'article_inserter',\n        article_id: this.previewArticle.id,\n        locale_id: locale,\n      });\n      this.set('selectedLocaleId', locale);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<label\\n  class=\\\"u__pointer-cursor\\\"\\n  {{on 'click' this.handleClick}}\\n>\\n  <input\\n    type=\\\"file\\\"\\n    accept=\\\"*\\\"\\n    multiple=\\\"multiple\\\"\\n    class=\\\"inbox__conversation-controls__inserter-file\\\"\\n    tabindex=\\\"-1\\\"\\n    {{ref this 'inputElement'}}\\n    {{on 'change' this.handleChange}}\\n  >\\n  {{ic-interface-icon @inserter.icon solo=(not @inAdditionalInsertersPopover)}}\\n  {{#if @inAdditionalInsertersPopover}}\\n    {{@inserter.descriptor}}\\n  {{/if}}\\n</label>\\n\", {\"contents\":\"<label\\n  class=\\\"u__pointer-cursor\\\"\\n  {{on 'click' this.handleClick}}\\n>\\n  <input\\n    type=\\\"file\\\"\\n    accept=\\\"*\\\"\\n    multiple=\\\"multiple\\\"\\n    class=\\\"inbox__conversation-controls__inserter-file\\\"\\n    tabindex=\\\"-1\\\"\\n    {{ref this 'inputElement'}}\\n    {{on 'change' this.handleChange}}\\n  >\\n  {{ic-interface-icon @inserter.icon solo=(not @inAdditionalInsertersPopover)}}\\n  {{#if @inAdditionalInsertersPopover}}\\n    {{@inserter.descriptor}}\\n  {{/if}}\\n</label>\\n\",\"moduleName\":\"embercom/components/conversation/controls/inserters/attachment-opener.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/inserters/attachment-opener.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class ConversationControlInserterAttachmentOpener extends Component {\n  @service intercomEventService;\n\n  analyticsName = 'attachment_inserter';\n\n  @action\n  handleClick(event) {\n    this.intercomEventService.trackEvent('analytics-event', {\n      owner: 'inbox',\n      action: 'clicked',\n      object: this.analyticsName,\n      place: 'inbox',\n      context: this.analyticsName,\n    });\n  }\n\n  @action\n  handleChange(event) {\n    let files = Array.from(event.target.files);\n    if (files.length > 0) {\n      this.inputElement.value = '';\n      this.args.controlsAPI?.actions.uploadAttachment(files);\n      this.args.inserterAPI?.actions.close();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<EmojiComponent @selectEmoji={{this.selectEmoji}} />\\n\", {\"contents\":\"<EmojiComponent @selectEmoji={{this.selectEmoji}} />\\n\",\"moduleName\":\"embercom/components/conversation/controls/inserters/emoji-popover-content.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/inserters/emoji-popover-content.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport intermoji from '@intercom/intermoji';\n\nexport default Component.extend({\n  classNames: ['emoji__popover'],\n\n  intercomEventService: service(),\n\n  didInsertElement() {\n    this._super(...arguments);\n\n    this.intercomEventService.trackEvent('analytics-event', {\n      owner: 'inbox',\n      action: 'clicked',\n      object: 'emoji_inserter',\n      place: 'inbox',\n      context: 'emoji_inserter',\n    });\n  },\n\n  selectEmoji: action(function(emojiIdentifier) {\n    let unicode = intermoji.unicodeFromIdentifier(emojiIdentifier);\n    this.get('controlsAPI.actions.paste')(unicode);\n    this.get('inserterAPI.actions.close')();\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"gif__list-item gif__list-item__search u__relative\\\">\\n  <AutoFocusComponent>\\n    <input\\n      type=\\\"text\\\"\\n      value={{this.query}}\\n      placeholder=\\\"Search GIFs…\\\"\\n      class=\\\"f__text gif__list-item__search-input\\\"\\n      {{on 'input' this.updateResults}}\\n    />\\n  </AutoFocusComponent>\\n  <span class=\\\"gif__list-item__search-icon\\\">\\n    {{ic-interface-icon \\\"search\\\" solo=true}}\\n  </span>\\n  {{#if this.query}}\\n    <a\\n      class=\\\"gif__list-item__search-clear\\\"\\n      {{on 'click' this.clearSearch}}\\n    >\\n      {{ic-interface-icon \\\"small-close\\\"}}\\n    </a>\\n  {{/if}}\\n</div>\\n{{#if this.isLoading}}\\n  <div class=\\\"u__center-layout\\\">\\n    <div class=\\\"u__center-item\\\">\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    </div>\\n  </div>\\n{{else}}\\n  <div\\n    class=\\\"gif__popover__panel\\\"\\n    data-intercom-target=\\\"gif-inserter-results\\\"\\n  >\\n    {{#each this.results as |image|}}\\n      <div\\n        class=\\\"gif__popover__image o__in-panel\\\"\\n        {{on 'click' (fn this.selectImage image)}}\\n      >\\n        <img src=\\\"{{image.url}}\\\" class=\\\"gif__popover__image__gif\\\" />\\n      </div>\\n    {{else if this.query}}\\n      <div class=\\\"gif__popover__panel__no__results text-gray\\\">\\n        No results found.\\n      </div>\\n    {{/each}}\\n  </div>\\n  <div class=\\\"gif__popover__mask gif__popover__mask__bottom\\\"></div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"gif__list-item gif__list-item__search u__relative\\\">\\n  <AutoFocusComponent>\\n    <input\\n      type=\\\"text\\\"\\n      value={{this.query}}\\n      placeholder=\\\"Search GIFs…\\\"\\n      class=\\\"f__text gif__list-item__search-input\\\"\\n      {{on 'input' this.updateResults}}\\n    />\\n  </AutoFocusComponent>\\n  <span class=\\\"gif__list-item__search-icon\\\">\\n    {{ic-interface-icon \\\"search\\\" solo=true}}\\n  </span>\\n  {{#if this.query}}\\n    <a\\n      class=\\\"gif__list-item__search-clear\\\"\\n      {{on 'click' this.clearSearch}}\\n    >\\n      {{ic-interface-icon \\\"small-close\\\"}}\\n    </a>\\n  {{/if}}\\n</div>\\n{{#if this.isLoading}}\\n  <div class=\\\"u__center-layout\\\">\\n    <div class=\\\"u__center-item\\\">\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    </div>\\n  </div>\\n{{else}}\\n  <div\\n    class=\\\"gif__popover__panel\\\"\\n    data-intercom-target=\\\"gif-inserter-results\\\"\\n  >\\n    {{#each this.results as |image|}}\\n      <div\\n        class=\\\"gif__popover__image o__in-panel\\\"\\n        {{on 'click' (fn this.selectImage image)}}\\n      >\\n        <img src=\\\"{{image.url}}\\\" class=\\\"gif__popover__image__gif\\\" />\\n      </div>\\n    {{else if this.query}}\\n      <div class=\\\"gif__popover__panel__no__results text-gray\\\">\\n        No results found.\\n      </div>\\n    {{/each}}\\n  </div>\\n  <div class=\\\"gif__popover__mask gif__popover__mask__bottom\\\"></div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/controls/inserters/gif-popover-content.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/inserters/gif-popover-content.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport { debounce } from '@ember/runloop';\nimport ajax from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  classNames: ['gif__popover'],\n  query: '',\n\n  intercomEventService: service(),\n  onboardingHomeExternalStepService: service(),\n\n  didInsertElement() {\n    this._super(...arguments);\n\n    if (this.onboardingHomeExternalStepService.isExternalStepRunning('resolve_a_conversation')) {\n      this.runSearchTask('Great');\n    } else {\n      this.runSearchTask('');\n    }\n\n    this.intercomEventService.trackEvent('analytics-event', {\n      owner: 'inbox',\n      action: 'clicked',\n      object: 'gif_inserter',\n      place: 'inbox',\n      context: 'gif_inserter',\n    });\n  },\n\n  search(query) {\n    let appId = this.get('controlsAPI.app.id');\n    return ajax({\n      url: '/ember/gifs',\n      data: {\n        query,\n        app_id: appId,\n      },\n    }).catch(() => {\n      return { results: [] };\n    });\n  },\n\n  searchTask: task(function*(query) {\n    this.set('query', query);\n    let response = yield this.search(query);\n    this.set('results', response.results);\n    this.set('isLoading', false);\n  }).drop(),\n\n  runSearchTask(query) {\n    this.searchTask.perform(query);\n  },\n\n  selectImage: action(function(image) {\n    this.get('controlsAPI.actions.insertBlock')('image', image);\n    this.get('inserterAPI.actions.close')();\n  }),\n\n  updateResults: action(function(event) {\n    let query = event.target.value;\n    this.set('isLoading', true);\n    debounce(this, this.runSearchTask, query, 1000);\n  }),\n\n  clearSearch: action(function() {\n    this.set('query', '');\n    this.set('isLoading', true);\n    debounce(this, this.runSearchTask, '', 1000);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<label\\n  class=\\\"u__pointer-cursor\\\"\\n  {{on 'click' this.handleClick}}\\n>\\n  <input\\n    type=\\\"file\\\"\\n    accept=\\\"image/*\\\"\\n    multiple=\\\"multiple\\\"\\n    class=\\\"inbox__conversation-controls__inserter-file\\\"\\n    tabindex=\\\"-1\\\"\\n    {{ref this 'inputElement'}}\\n    {{on 'change' this.handleChange}}\\n  >\\n  {{ic-interface-icon @inserter.icon solo=(not @inAdditionalInsertersPopover)}}\\n  {{#if @inAdditionalInsertersPopover}}\\n    {{@inserter.descriptor}}\\n  {{/if}}\\n</label>\\n\", {\"contents\":\"<label\\n  class=\\\"u__pointer-cursor\\\"\\n  {{on 'click' this.handleClick}}\\n>\\n  <input\\n    type=\\\"file\\\"\\n    accept=\\\"image/*\\\"\\n    multiple=\\\"multiple\\\"\\n    class=\\\"inbox__conversation-controls__inserter-file\\\"\\n    tabindex=\\\"-1\\\"\\n    {{ref this 'inputElement'}}\\n    {{on 'change' this.handleChange}}\\n  >\\n  {{ic-interface-icon @inserter.icon solo=(not @inAdditionalInsertersPopover)}}\\n  {{#if @inAdditionalInsertersPopover}}\\n    {{@inserter.descriptor}}\\n  {{/if}}\\n</label>\\n\",\"moduleName\":\"embercom/components/conversation/controls/inserters/image-opener.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/inserters/image-opener.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class ConversationControlInserterImageOpener extends Component {\n  @service intercomEventService;\n\n  analyticsName = 'image_inserter';\n\n  @action\n  handleClick(event) {\n    this.intercomEventService.trackEvent('analytics-event', {\n      owner: 'inbox',\n      action: 'clicked',\n      object: this.analyticsName,\n      place: 'inbox',\n      context: this.analyticsName,\n    });\n  }\n\n  @action\n  handleChange(event) {\n    let files = Array.from(event.target.files);\n    if (files.length > 0) {\n      this.inputElement.value = '';\n      this.args.controlsAPI?.actions.uploadImage(files);\n      this.args.inserterAPI?.actions.close();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Popover\\n  @showOn={{array 'click'}}\\n  @hideOn={{array 'click' 'clickout'}}\\n  @isInteractive={{true}}\\n  @placement=\\\"top\\\"\\n  @fallbackPlacements={{array 'bottom' 'left' 'right' 'auto'}}\\n  @showArrow={{true}}\\n  @onShow={{action \\\"onPopoverOpen\\\"}}\\n  data-test-pinned-app-opener={{app.app_package_id}}\\n  data-test-pinned-app-id={{app.id}}\\n  class=\\\"inbox__conversation-controls__inserter-opener {{@class}}\\\"\\n  as |popover|\\n>\\n  <popover.Opener>\\n    <IcTooltip\\n      @isDisabled={{popover.isVisible}}\\n      as |t|\\n    >\\n      <t.opener>\\n        {{#if @interfaceIcon}}\\n          <span data-test-app-icon={{@interfaceIcon}}>\\n            {{ic-interface-icon @interfaceIcon solo=true}}\\n          </span>\\n        {{else}}\\n          <img\\n            class=\\\"inbox__conversation-controls__inserter-opener__icon\\\"\\n            src=\\\"{{app.icon_url}}\\\"\\n          />\\n        {{/if}}\\n      </t.opener>\\n      <t.content>\\n        {{app.name}}\\n      </t.content>\\n    </IcTooltip>\\n  </popover.Opener>\\n  <popover.Content @fullBleed={{true}}>\\n    <AppFramework::MessengerApps::Inserter::AppConfigurator\\n      @selectedApp={{app}}\\n      @preventBackToAppsClick={{true}}\\n      @initializeType=\\\"card\\\"\\n      @contextualData={{hash conversation_id=controlsAPI.conversation.id}}\\n      @insertAction={{action \\\"insertMessengerCard\\\"}}\\n      @showAppStoreModal={{false}}\\n      @closePopover={{popover.hide}}\\n    />\\n  </popover.Content>\\n</Popover>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Popover\\n  @showOn={{array 'click'}}\\n  @hideOn={{array 'click' 'clickout'}}\\n  @isInteractive={{true}}\\n  @placement=\\\"top\\\"\\n  @fallbackPlacements={{array 'bottom' 'left' 'right' 'auto'}}\\n  @showArrow={{true}}\\n  @onShow={{action \\\"onPopoverOpen\\\"}}\\n  data-test-pinned-app-opener={{app.app_package_id}}\\n  data-test-pinned-app-id={{app.id}}\\n  class=\\\"inbox__conversation-controls__inserter-opener {{@class}}\\\"\\n  as |popover|\\n>\\n  <popover.Opener>\\n    <IcTooltip\\n      @isDisabled={{popover.isVisible}}\\n      as |t|\\n    >\\n      <t.opener>\\n        {{#if @interfaceIcon}}\\n          <span data-test-app-icon={{@interfaceIcon}}>\\n            {{ic-interface-icon @interfaceIcon solo=true}}\\n          </span>\\n        {{else}}\\n          <img\\n            class=\\\"inbox__conversation-controls__inserter-opener__icon\\\"\\n            src=\\\"{{app.icon_url}}\\\"\\n          />\\n        {{/if}}\\n      </t.opener>\\n      <t.content>\\n        {{app.name}}\\n      </t.content>\\n    </IcTooltip>\\n  </popover.Opener>\\n  <popover.Content @fullBleed={{true}}>\\n    <AppFramework::MessengerApps::Inserter::AppConfigurator\\n      @selectedApp={{app}}\\n      @preventBackToAppsClick={{true}}\\n      @initializeType=\\\"card\\\"\\n      @contextualData={{hash conversation_id=controlsAPI.conversation.id}}\\n      @insertAction={{action \\\"insertMessengerCard\\\"}}\\n      @showAppStoreModal={{false}}\\n      @closePopover={{popover.hide}}\\n    />\\n  </popover.Content>\\n</Popover>\\n\",\"moduleName\":\"embercom/components/conversation/controls/inserters/insert-app-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/inserters/insert-app-button.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  classNames: ['inbox__conversation-controls__inserter'],\n\n  actions: {\n    insertMessengerCard(cardJSON) {\n      this.get('controlsAPI.actions.insertBlock')('messengerCard', cardJSON);\n    },\n    onPopoverOpen(opener) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: this.analyticsObject,\n        conversation_id: this.get('controlsAPI.conversation.id'),\n        app_package_id: this.get('app.app_package_id'),\n        messenger_app_id: this.get('app.id'),\n      });\n    },\n    closePopover() {},\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<AppFramework::MessengerApps::Inserter::AppInserter\\n  @messengerApps={{messengerApps}}\\n  @contextualData={{hash conversation_id=controlsAPI.conversation.id}}\\n  class=\\\"inbox__conversation-controls__inserter-opener\\\"\\n  data-test-inserter=\\\"messenger-app\\\"\\n  @restrictTo={{if restrictTo restrictTo \\\"conversations\\\"}}\\n  @insertApp={{action \\\"insertMessengerCard\\\"}}\\n  @onPopoverOpen={{action \\\"onOpen\\\"}}\\n  @inserterTitle=\\\"Insert into conversation\\\"\\n  @capability=\\\"inbox\\\"\\n  @inboxCapability=\\\"conversations\\\"\\n  @callerId={{callerId}}\\n  as |inserterPopover|\\n>\\n  <IcTooltip @isDisabled={{inserterPopover.isOpen}} as |t|>\\n    <t.opener>\\n      {{ic-interface-icon @inserter.icon solo=true}}\\n    </t.opener>\\n    <t.content>\\n      {{@inserter.descriptor}}\\n    </t.content>\\n  </IcTooltip>\\n</AppFramework::MessengerApps::Inserter::AppInserter>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<AppFramework::MessengerApps::Inserter::AppInserter\\n  @messengerApps={{messengerApps}}\\n  @contextualData={{hash conversation_id=controlsAPI.conversation.id}}\\n  class=\\\"inbox__conversation-controls__inserter-opener\\\"\\n  data-test-inserter=\\\"messenger-app\\\"\\n  @restrictTo={{if restrictTo restrictTo \\\"conversations\\\"}}\\n  @insertApp={{action \\\"insertMessengerCard\\\"}}\\n  @onPopoverOpen={{action \\\"onOpen\\\"}}\\n  @inserterTitle=\\\"Insert into conversation\\\"\\n  @capability=\\\"inbox\\\"\\n  @inboxCapability=\\\"conversations\\\"\\n  @callerId={{callerId}}\\n  as |inserterPopover|\\n>\\n  <IcTooltip @isDisabled={{inserterPopover.isOpen}} as |t|>\\n    <t.opener>\\n      {{ic-interface-icon @inserter.icon solo=true}}\\n    </t.opener>\\n    <t.content>\\n      {{@inserter.descriptor}}\\n    </t.content>\\n  </IcTooltip>\\n</AppFramework::MessengerApps::Inserter::AppInserter>\\n\",\"moduleName\":\"embercom/components/conversation/controls/inserters/messenger-app-inserter-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/inserters/messenger-app-inserter-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  appService: service(),\n  onboardingHomeExternalStepService: service(),\n  app: readOnly('appService.app'),\n  classNames: ['inbox__conversation-controls__inserter'],\n\n  id: computed('partId', function() {\n    let partId = this.partId;\n    if (partId >= 0) {\n      return `messenger-app-popover-${partId}`;\n    }\n    return null;\n  }),\n\n  actions: {\n    insertMessengerCard(cardJSON) {\n      this.get('controlsAPI.actions.insertBlock')('messengerCard', cardJSON);\n    },\n    onOpen(opener) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'messenger_app_inserter',\n        conversation_id: this.get('controlsAPI.conversation.id'),\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Conversation::Controls::Inserters::MessengerAppInserterComponent\\n  @isOpenByDefault={{@isAppsPopoverOpenByDefault}}\\n  @inserter={{hash name=\\\"messenger-app\\\" icon=\\\"app-store\\\" descriptor=\\\"Add an app\\\"}}\\n  @controlsAPI={{@controlsAPI}}\\n/>\\n\\n{{#each this.pinnedApps as |pinnedApp index|}}\\n  <Conversation::Controls::Inserters::InsertAppButton\\n    data-test-pinned-app={{pinnedApp.app_package_id}}\\n    data-test-pinned-app-index={{index}}\\n    @app={{pinnedApp}}\\n    @analyticsObject=\\\"pinned_app_inserter\\\"\\n    @controlsAPI={{@controlsAPI}}\\n  />\\n{{/each}}\\n\", {\"contents\":\"<Conversation::Controls::Inserters::MessengerAppInserterComponent\\n  @isOpenByDefault={{@isAppsPopoverOpenByDefault}}\\n  @inserter={{hash name=\\\"messenger-app\\\" icon=\\\"app-store\\\" descriptor=\\\"Add an app\\\"}}\\n  @controlsAPI={{@controlsAPI}}\\n/>\\n\\n{{#each this.pinnedApps as |pinnedApp index|}}\\n  <Conversation::Controls::Inserters::InsertAppButton\\n    data-test-pinned-app={{pinnedApp.app_package_id}}\\n    data-test-pinned-app-index={{index}}\\n    @app={{pinnedApp}}\\n    @analyticsObject=\\\"pinned_app_inserter\\\"\\n    @controlsAPI={{@controlsAPI}}\\n  />\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/conversation/controls/inserters/pinned-apps.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/inserters/pinned-apps.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  store: service(),\n  classNames: ['u__left'],\n\n  init() {\n    this._super(...arguments);\n    this.fetchPinnedApps.perform();\n  },\n\n  fetchPinnedApps: task(function*() {\n    let pinnedApps = yield this.store.query('messenger-app', { pinned: true });\n    pinnedApps = pinnedApps.sortBy('name');\n    this.set('pinnedApps', pinnedApps);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureKey=\\\"saved_content\\\" @useExternalModal={{true}} as |paywall|>\\n  <paywall.MiniSplash>\\n    <div class=\\\"saved-replies__popover__header layout__box u__cf u__relative text-gray\\\">\\n      <div class=\\\"u__left\\\">\\n        {{#if (not (has-feature \\\"team-inbox-saved-replies-management\\\"))}}\\n          <IcButton\\n            @label=\\\"Create\\\"\\n            @type=\\\"secondary\\\"\\n            @onClick={{action \\\"openSavedRepliesModal\\\" \\\"create\\\"}}\\n            data-test-saved-replies-popover-header={{true}}\\n          />\\n        {{/if}}\\n        {{#if (and (has-feature \\\"team-inbox-create-saved-reply-modal\\\") hasSavedReplies)}}\\n          <Tooltips::RestrictedAccess\\n            @isDisabled={{not readOnly}}\\n            @permission=\\\"can_manage_saved_replies\\\"\\n            @intent=\\\"create new saved reply\\\"\\n            @object=\\\"conversation_assignment\\\"\\n            class=\\\"u__left js__assignment-admin-dropdown\\\"\\n          >\\n            <IcButton\\n              @label=\\\"Create\\\"\\n              @type=\\\"secondary\\\"\\n              @onClick={{action \\\"createSavedReply\\\"}}\\n              @disabled={{this.readOnly}}\\n              data-test-open-create-saved-reply-new-modal\\n            />\\n          </Tooltips::RestrictedAccess>\\n        {{/if}}\\n      </div>\\n      <div class=\\\"saved-replies__popover__header-title u__center-item\\\">\\n        <b>\\n          Saved Replies\\n        </b>\\n      </div>\\n      <div class=\\\"u__right text-gray\\\">\\n        <Tooltips::RestrictedAccess\\n          @isDisabled={{not readOnly}}\\n          @permission={{if (has-feature \\\"team-inbox-create-saved-reply-modal\\\") \\\"can_manage_saved_replies\\\" \\\"can_access_product_settings\\\"}}\\n          @intent=\\\"manage saved replies\\\"\\n          @object=\\\"conversation_assignment\\\"\\n          class=\\\"u__left js__assignment-admin-dropdown\\\"\\n        >\\n          <IcButton\\n            @label=\\\"Manage ↗\\\"\\n            @type=\\\"secondary\\\"\\n            @disabled={{this.readOnly}}\\n            @onClick={{if (has-feature \\\"canUseSavedRepliesManagement\\\") (action \\\"openManageSavedReplies\\\") (action \\\"openSavedRepliesModal\\\")}}\\n            data-test-saved-replies-manage-button\\n          />\\n        </Tooltips::RestrictedAccess>\\n      </div>\\n    </div>\\n    {{#if hasSavedReplies}}\\n      <div\\n        class=\\\"\\n          layout__box\\n          m__saved-replies__list-item\\n          {{if appService.app.canUseSavedRepliesManagement\\n            \\\"m__saved-replies__list-item-beta\\\"\\n          }}\\n          m__saved-replies__list-item__search\\n          u__relative\\\"\\n      >\\n        <input\\n          type=\\\"text\\\"\\n          placeholder=\\\"{{searchPlaceHolderText}}\\\"\\n          class=\\\"f__text m__saved-replies__list-item__search-input js__saved-replies__search\\\"\\n          oninput={{action \\\"updateSearch\\\" value=\\\"target.value\\\"}}\\n          {{auto-focus-element}}\\n        />\\n        <span class=\\\"m__saved-replies__list-item__search-icon text-gray\\\">\\n          {{ic-interface-icon \\\"search\\\" solo=true}}\\n        </span>\\n        {{#if somethingTyped}}\\n          <span\\n            class=\\\"m__saved-replies__list-item__search-clear text-gray\\\"\\n            {{action \\\"clearSearch\\\" bubbles=false}}\\n          >\\n            {{ic-interface-icon \\\"close\\\" solo=true}}\\n          </span>\\n        {{/if}}\\n      </div>\\n    {{/if}}\\n    {{#if isLoading}}\\n      <div class=\\\"layout__box o__flexes-to-1 o__centers-all\\\">\\n        <IcLoadingIndicator @size=\\\"small\\\" />\\n      </div>\\n    {{else}}\\n      {{#if hasSavedReplies}}\\n        <div class=\\\"saved-replies__content layout__box o__flexes-to-1\\\">\\n          {{#if appService.app.currentAdmin.canAccessProductSettings}}\\n            <Pulse::DiscoveryBanner\\n              @heading=\\\"Improve your customer response time by 44%\\\"\\n              @description=\\\"Automate instant resolutions to common questions with Resolution Bot.\\\"\\n              @size=\\\"small\\\"\\n              @dismissalType=\\\"close-icon\\\"\\n              @dismissalKey=\\\"answer_bot_saved_reply_discovery_banner\\\"\\n              @dismissalService={{service 'banner-dismissal-service'}}\\n              class=\\\"m-4\\\"\\n              as |banner|\\n            >\\n              <banner.Link\\n                @icon=\\\"operator\\\"\\n                @title=\\\"Try Resolution Bot\\\"\\n                {{on 'click' (transition-to 'apps.app.operator.resolution-bot')}}\\n              />\\n            </Pulse::DiscoveryBanner>\\n          {{/if}}\\n\\n          {{#if appService.app.canUseSavedRepliesManagement}}\\n            <div class=\\\"flex flex-row\\\">\\n              <div class=\\\"flex flex-col flex-1 saved-replies__popover__list-content\\\">\\n                <div class=\\\"saved-replies__popover__list layout__box o__flexes-to-1\\\">\\n                  <VerticalCollection\\n                    @items={{filteredReplies}}\\n                    @estimateHeight={{36}}\\n                    @staticHeight={{true}} as |reply index|\\n                  >\\n                    <div\\n                      class=\\\"\\n                        m__saved-replies__list-item\\n                        {{if (eq index highlightIndex) \\\"o__selected\\\"}}\\n                        m__saved-replies__list-item-beta\\n                        flex items-start\\\"\\n                      onmouseenter={{action (mut highlightIndex) index}}\\n                      data-intercom-target=\\\"{{if (eq index 0) \\\"first-saved-reply\\\"}}\\\"\\n                      {{action \\\"selectItem\\\" reply}}\\n                    >\\n                      <div>\\n                        <Tooltips::SavedReplies\\n                          @admin={{admin}}\\n                          @reply={{reply}}\\n                          @createdAt={{reply.created_at}}\\n                        >\\n                          <IcAvatarComponent @model={{reply.admin}} @size=\\\"xs\\\" />\\n                        </Tooltips::SavedReplies>\\n                      </div>\\n                      <a\\n                        class=\\\"m__saved-replies__list-item__content\\\"\\n                        title=\\\"{{reply.name}}\\\"\\n                      >\\n                        <div class=\\\"layout__box o__has-columns\\\">\\n                          <div\\n                            class=\\\"\\n                              m__saved-replies__list-item__name\\n                              m__saved-replies__list-item__name-beta\\n                              layout__box o__flexes-to-1\\\"\\n                          >\\n                            <span class=\\\"u__truncated-inline-block\\\">\\n                              {{reply.name}}\\n                            </span>\\n                          </div>\\n                        </div>\\n                      </a>\\n                    </div>\\n                  </VerticalCollection>\\n\\n                  {{#unless hasFilteredSavedReplies}}\\n                    <div class=\\\"m__saved-replies__no-results-found text-gray\\\">\\n                      No saved replies found\\n                    </div>\\n                  {{/unless}}\\n                </div>\\n              </div>\\n\\n              <div class=\\\"flex flex-col flex-1 saved-replies__popover__content\\\" {{did-insert (action \\\"setComposerContents\\\") this.highlightedReply}} {{did-update (action \\\"setComposerContents\\\") this.highlightedReply}}>\\n                <div class=\\\"p-4 conversation__text\\\">\\n                  <ComposerV2\\n                    @preset=\\\"readOnly\\\"\\n                    @actionReceiver={{this.savedReplyReadOnlyComposer}}\\n                    @blocks={{this.highlightedReply.blocks}}\\n                    @app={{this.appService.app}}\\n                    @attributes={{this.appService.app.attributes}}\\n                    @class=\\\"saved-replies__popover__preview\\\"\\n                    @viewportSelector=\\\".saved-replies__popover\\\"\\n                    @isReadOnly={{true}}\\n                    @isPreviewMode={{true}}\\n                  />\\n                </div>\\n              </div>\\n            </div>\\n          {{else}}\\n            <VerticalCollection\\n              @items={{filteredReplies}}\\n              @estimateHeight={{36}}\\n              @staticHeight={{true}} as |reply index|\\n            >\\n              <div\\n                class=\\\"\\n                  m__saved-replies__list-item\\n                  {{if (eq index highlightIndex) \\\"o__selected\\\"}}\\n                  flex items-start\\n                \\\"\\n                onmouseenter={{action (mut highlightIndex) index}}\\n                data-intercom-target=\\\"{{if (eq index 0) \\\"first-saved-reply\\\"}}\\\"\\n                {{action \\\"selectItem\\\" reply}}\\n              >\\n                <div>\\n                  <Tooltips::SavedReplies\\n                    @admin={{admin}}\\n                    @reply={{reply}}\\n                    @createdAt={{reply.created_at}}\\n                  >\\n                    <IcAvatarComponent @model={{reply.admin}} @size=\\\"xs\\\" />\\n                  </Tooltips::SavedReplies>\\n                </div>\\n                <a\\n                  class=\\\"m__saved-replies__list-item__content\\\"\\n                  title=\\\"{{reply.summary}}\\\"\\n                >\\n                  <div class=\\\"layout__box o__has-columns\\\">\\n                    <div\\n                      class=\\\"\\n                        m__saved-replies__list-item__name\\n                        m__saved-replies__list-item__name-no-beta\\n                        layout__box\\n                        o__flexes-to-1\\\"\\n                    >\\n                      <span class=\\\"u__truncated-inline-block\\\">\\n                        {{reply.name}}\\n                      </span>\\n                    </div>\\n                    <div\\n                      class=\\\"m__saved-replies__list-item__summary layout__box o__flexes-to-1\\\"\\n                    >\\n                      <span class=\\\"u__truncated-inline-block\\\">\\n                        {{reply.summary}}\\n                      </span>\\n                    </div>\\n                  </div>\\n                </a>\\n              </div>\\n            </VerticalCollection>\\n          {{/if}}\\n          {{#if (not (has-feature \\\"canUseSavedRepliesManagement\\\"))}}\\n            {{#unless hasFilteredSavedReplies}}\\n              <div class=\\\"m__saved-replies__no-results-found text-gray\\\">\\n                No saved replies found\\n              </div>\\n            {{/unless}}\\n          {{/if}}\\n        </div>\\n      {{else}}\\n        <div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n          {{#if this.readOnly}}\\n          <IcEmptyState\\n            @title=\\\"No saved replies yet\\\"\\n            @icon=\\\"saved-reply\\\"\\n            @description=\\\"Create saved replies to speed up and standardize your team's responses\\\"\\n          />\\n          {{else}}\\n          <IcEmptyState\\n            @title=\\\"No saved replies yet\\\"\\n            @icon=\\\"saved-reply\\\"\\n            @buttonLabel=\\\"+ Create one\\\"\\n            @onButtonClick={{if (has-feature \\\"canUseSavedRepliesManagement\\\")\\n              (if (has-feature \\\"team-inbox-create-saved-reply-modal\\\")\\n                (action \\\"createSavedReply\\\")\\n                (action \\\"openManageSavedReplies\\\" \\\"create\\\")\\n              )\\n              (action \\\"openSavedRepliesModal\\\" \\\"create\\\")\\n            }}\\n            data-test-no-saved-content={{true}}\\n          >\\n            <div class=\\\"empty-state__description\\\" data-test-empty-state-description-block>\\n              Create saved replies to speed up and standardize your<br />team's responses\\n            </div>\\n          </IcEmptyState>\\n          {{/if}}\\n        </div>\\n      {{/if}}\\n    {{/if}}\\n  </paywall.MiniSplash>\\n</Paywall>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureKey=\\\"saved_content\\\" @useExternalModal={{true}} as |paywall|>\\n  <paywall.MiniSplash>\\n    <div class=\\\"saved-replies__popover__header layout__box u__cf u__relative text-gray\\\">\\n      <div class=\\\"u__left\\\">\\n        {{#if (not (has-feature \\\"team-inbox-saved-replies-management\\\"))}}\\n          <IcButton\\n            @label=\\\"Create\\\"\\n            @type=\\\"secondary\\\"\\n            @onClick={{action \\\"openSavedRepliesModal\\\" \\\"create\\\"}}\\n            data-test-saved-replies-popover-header={{true}}\\n          />\\n        {{/if}}\\n        {{#if (and (has-feature \\\"team-inbox-create-saved-reply-modal\\\") hasSavedReplies)}}\\n          <Tooltips::RestrictedAccess\\n            @isDisabled={{not readOnly}}\\n            @permission=\\\"can_manage_saved_replies\\\"\\n            @intent=\\\"create new saved reply\\\"\\n            @object=\\\"conversation_assignment\\\"\\n            class=\\\"u__left js__assignment-admin-dropdown\\\"\\n          >\\n            <IcButton\\n              @label=\\\"Create\\\"\\n              @type=\\\"secondary\\\"\\n              @onClick={{action \\\"createSavedReply\\\"}}\\n              @disabled={{this.readOnly}}\\n              data-test-open-create-saved-reply-new-modal\\n            />\\n          </Tooltips::RestrictedAccess>\\n        {{/if}}\\n      </div>\\n      <div class=\\\"saved-replies__popover__header-title u__center-item\\\">\\n        <b>\\n          Saved Replies\\n        </b>\\n      </div>\\n      <div class=\\\"u__right text-gray\\\">\\n        <Tooltips::RestrictedAccess\\n          @isDisabled={{not readOnly}}\\n          @permission={{if (has-feature \\\"team-inbox-create-saved-reply-modal\\\") \\\"can_manage_saved_replies\\\" \\\"can_access_product_settings\\\"}}\\n          @intent=\\\"manage saved replies\\\"\\n          @object=\\\"conversation_assignment\\\"\\n          class=\\\"u__left js__assignment-admin-dropdown\\\"\\n        >\\n          <IcButton\\n            @label=\\\"Manage ↗\\\"\\n            @type=\\\"secondary\\\"\\n            @disabled={{this.readOnly}}\\n            @onClick={{if (has-feature \\\"canUseSavedRepliesManagement\\\") (action \\\"openManageSavedReplies\\\") (action \\\"openSavedRepliesModal\\\")}}\\n            data-test-saved-replies-manage-button\\n          />\\n        </Tooltips::RestrictedAccess>\\n      </div>\\n    </div>\\n    {{#if hasSavedReplies}}\\n      <div\\n        class=\\\"\\n          layout__box\\n          m__saved-replies__list-item\\n          {{if appService.app.canUseSavedRepliesManagement\\n            \\\"m__saved-replies__list-item-beta\\\"\\n          }}\\n          m__saved-replies__list-item__search\\n          u__relative\\\"\\n      >\\n        <input\\n          type=\\\"text\\\"\\n          placeholder=\\\"{{searchPlaceHolderText}}\\\"\\n          class=\\\"f__text m__saved-replies__list-item__search-input js__saved-replies__search\\\"\\n          oninput={{action \\\"updateSearch\\\" value=\\\"target.value\\\"}}\\n          {{auto-focus-element}}\\n        />\\n        <span class=\\\"m__saved-replies__list-item__search-icon text-gray\\\">\\n          {{ic-interface-icon \\\"search\\\" solo=true}}\\n        </span>\\n        {{#if somethingTyped}}\\n          <span\\n            class=\\\"m__saved-replies__list-item__search-clear text-gray\\\"\\n            {{action \\\"clearSearch\\\" bubbles=false}}\\n          >\\n            {{ic-interface-icon \\\"close\\\" solo=true}}\\n          </span>\\n        {{/if}}\\n      </div>\\n    {{/if}}\\n    {{#if isLoading}}\\n      <div class=\\\"layout__box o__flexes-to-1 o__centers-all\\\">\\n        <IcLoadingIndicator @size=\\\"small\\\" />\\n      </div>\\n    {{else}}\\n      {{#if hasSavedReplies}}\\n        <div class=\\\"saved-replies__content layout__box o__flexes-to-1\\\">\\n          {{#if appService.app.currentAdmin.canAccessProductSettings}}\\n            <Pulse::DiscoveryBanner\\n              @heading=\\\"Improve your customer response time by 44%\\\"\\n              @description=\\\"Automate instant resolutions to common questions with Resolution Bot.\\\"\\n              @size=\\\"small\\\"\\n              @dismissalType=\\\"close-icon\\\"\\n              @dismissalKey=\\\"answer_bot_saved_reply_discovery_banner\\\"\\n              @dismissalService={{service 'banner-dismissal-service'}}\\n              class=\\\"m-4\\\"\\n              as |banner|\\n            >\\n              <banner.Link\\n                @icon=\\\"operator\\\"\\n                @title=\\\"Try Resolution Bot\\\"\\n                {{on 'click' (transition-to 'apps.app.operator.resolution-bot')}}\\n              />\\n            </Pulse::DiscoveryBanner>\\n          {{/if}}\\n\\n          {{#if appService.app.canUseSavedRepliesManagement}}\\n            <div class=\\\"flex flex-row\\\">\\n              <div class=\\\"flex flex-col flex-1 saved-replies__popover__list-content\\\">\\n                <div class=\\\"saved-replies__popover__list layout__box o__flexes-to-1\\\">\\n                  <VerticalCollection\\n                    @items={{filteredReplies}}\\n                    @estimateHeight={{36}}\\n                    @staticHeight={{true}} as |reply index|\\n                  >\\n                    <div\\n                      class=\\\"\\n                        m__saved-replies__list-item\\n                        {{if (eq index highlightIndex) \\\"o__selected\\\"}}\\n                        m__saved-replies__list-item-beta\\n                        flex items-start\\\"\\n                      onmouseenter={{action (mut highlightIndex) index}}\\n                      data-intercom-target=\\\"{{if (eq index 0) \\\"first-saved-reply\\\"}}\\\"\\n                      {{action \\\"selectItem\\\" reply}}\\n                    >\\n                      <div>\\n                        <Tooltips::SavedReplies\\n                          @admin={{admin}}\\n                          @reply={{reply}}\\n                          @createdAt={{reply.created_at}}\\n                        >\\n                          <IcAvatarComponent @model={{reply.admin}} @size=\\\"xs\\\" />\\n                        </Tooltips::SavedReplies>\\n                      </div>\\n                      <a\\n                        class=\\\"m__saved-replies__list-item__content\\\"\\n                        title=\\\"{{reply.name}}\\\"\\n                      >\\n                        <div class=\\\"layout__box o__has-columns\\\">\\n                          <div\\n                            class=\\\"\\n                              m__saved-replies__list-item__name\\n                              m__saved-replies__list-item__name-beta\\n                              layout__box o__flexes-to-1\\\"\\n                          >\\n                            <span class=\\\"u__truncated-inline-block\\\">\\n                              {{reply.name}}\\n                            </span>\\n                          </div>\\n                        </div>\\n                      </a>\\n                    </div>\\n                  </VerticalCollection>\\n\\n                  {{#unless hasFilteredSavedReplies}}\\n                    <div class=\\\"m__saved-replies__no-results-found text-gray\\\">\\n                      No saved replies found\\n                    </div>\\n                  {{/unless}}\\n                </div>\\n              </div>\\n\\n              <div class=\\\"flex flex-col flex-1 saved-replies__popover__content\\\" {{did-insert (action \\\"setComposerContents\\\") this.highlightedReply}} {{did-update (action \\\"setComposerContents\\\") this.highlightedReply}}>\\n                <div class=\\\"p-4 conversation__text\\\">\\n                  <ComposerV2\\n                    @preset=\\\"readOnly\\\"\\n                    @actionReceiver={{this.savedReplyReadOnlyComposer}}\\n                    @blocks={{this.highlightedReply.blocks}}\\n                    @app={{this.appService.app}}\\n                    @attributes={{this.appService.app.attributes}}\\n                    @class=\\\"saved-replies__popover__preview\\\"\\n                    @viewportSelector=\\\".saved-replies__popover\\\"\\n                    @isReadOnly={{true}}\\n                    @isPreviewMode={{true}}\\n                  />\\n                </div>\\n              </div>\\n            </div>\\n          {{else}}\\n            <VerticalCollection\\n              @items={{filteredReplies}}\\n              @estimateHeight={{36}}\\n              @staticHeight={{true}} as |reply index|\\n            >\\n              <div\\n                class=\\\"\\n                  m__saved-replies__list-item\\n                  {{if (eq index highlightIndex) \\\"o__selected\\\"}}\\n                  flex items-start\\n                \\\"\\n                onmouseenter={{action (mut highlightIndex) index}}\\n                data-intercom-target=\\\"{{if (eq index 0) \\\"first-saved-reply\\\"}}\\\"\\n                {{action \\\"selectItem\\\" reply}}\\n              >\\n                <div>\\n                  <Tooltips::SavedReplies\\n                    @admin={{admin}}\\n                    @reply={{reply}}\\n                    @createdAt={{reply.created_at}}\\n                  >\\n                    <IcAvatarComponent @model={{reply.admin}} @size=\\\"xs\\\" />\\n                  </Tooltips::SavedReplies>\\n                </div>\\n                <a\\n                  class=\\\"m__saved-replies__list-item__content\\\"\\n                  title=\\\"{{reply.summary}}\\\"\\n                >\\n                  <div class=\\\"layout__box o__has-columns\\\">\\n                    <div\\n                      class=\\\"\\n                        m__saved-replies__list-item__name\\n                        m__saved-replies__list-item__name-no-beta\\n                        layout__box\\n                        o__flexes-to-1\\\"\\n                    >\\n                      <span class=\\\"u__truncated-inline-block\\\">\\n                        {{reply.name}}\\n                      </span>\\n                    </div>\\n                    <div\\n                      class=\\\"m__saved-replies__list-item__summary layout__box o__flexes-to-1\\\"\\n                    >\\n                      <span class=\\\"u__truncated-inline-block\\\">\\n                        {{reply.summary}}\\n                      </span>\\n                    </div>\\n                  </div>\\n                </a>\\n              </div>\\n            </VerticalCollection>\\n          {{/if}}\\n          {{#if (not (has-feature \\\"canUseSavedRepliesManagement\\\"))}}\\n            {{#unless hasFilteredSavedReplies}}\\n              <div class=\\\"m__saved-replies__no-results-found text-gray\\\">\\n                No saved replies found\\n              </div>\\n            {{/unless}}\\n          {{/if}}\\n        </div>\\n      {{else}}\\n        <div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n          {{#if this.readOnly}}\\n          <IcEmptyState\\n            @title=\\\"No saved replies yet\\\"\\n            @icon=\\\"saved-reply\\\"\\n            @description=\\\"Create saved replies to speed up and standardize your team's responses\\\"\\n          />\\n          {{else}}\\n          <IcEmptyState\\n            @title=\\\"No saved replies yet\\\"\\n            @icon=\\\"saved-reply\\\"\\n            @buttonLabel=\\\"+ Create one\\\"\\n            @onButtonClick={{if (has-feature \\\"canUseSavedRepliesManagement\\\")\\n              (if (has-feature \\\"team-inbox-create-saved-reply-modal\\\")\\n                (action \\\"createSavedReply\\\")\\n                (action \\\"openManageSavedReplies\\\" \\\"create\\\")\\n              )\\n              (action \\\"openSavedRepliesModal\\\" \\\"create\\\")\\n            }}\\n            data-test-no-saved-content={{true}}\\n          >\\n            <div class=\\\"empty-state__description\\\" data-test-empty-state-description-block>\\n              Create saved replies to speed up and standardize your<br />team's responses\\n            </div>\\n          </IcEmptyState>\\n          {{/if}}\\n        </div>\\n      {{/if}}\\n    {{/if}}\\n  </paywall.MiniSplash>\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/conversation/controls/inserters/saved-reply-popover-content.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/inserters/saved-reply-popover-content.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { isNone } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport { reads, gt, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport SavedReplySearch from 'embercom/controllers/mixins/conversations/saved-reply-search';\nimport safeWindowOpen from 'embercom/lib/safe-window-open';\n\nexport default Component.extend(SavedReplySearch, {\n  appService: service(),\n  intercomEventService: service(),\n  router: service(),\n  permissionsService: service(),\n  classNames: ['saved-replies__popover'],\n\n  isLoading: reads('replies.isPending'),\n  savedReplies: reads('controlsAPI.app.savedReplies'),\n  replies: readOnly('savedReplies'),\n  hasSavedReplies: gt('replies.length', 0),\n  selectableItems: reads('filteredReplies'),\n  highlightIndex: 0,\n  analyticsContext: 'saved_reply_inserter',\n  highlightedReply: computed('highlightIndex', function() {\n    return this.selectableItems.objectAt(this.highlightIndex);\n  }),\n  readOnly: computed(\n    'appService.app.canUseCreateSavedReplyModal',\n    'appService.app.currentAdmin.currentAppPermissions.{can_manage_saved_replies,can_access_product_settings}',\n    function() {\n      let permissions = this.appService.app?.currentAdmin?.currentAppPermissions;\n      if (!permissions) {\n        return true;\n      }\n\n      if (this.appService.app.canUseCreateSavedReplyModal) {\n        return !permissions.can_manage_saved_replies;\n      } else {\n        return !permissions.can_access_product_settings;\n      }\n    },\n  ),\n\n  keyDown(e) {\n    switch (e.which) {\n      case 40: // arrow down\n        this.send('highlightNext');\n        e.preventDefault();\n        break;\n      case 38: // arrow up\n        this.send('highlightPrevious');\n        e.preventDefault();\n        break;\n      case 13: // return\n        this.send('selectHighlightedItem');\n        break;\n      case 27: // esc\n        this.get('inserterAPI.actions.close')();\n        break;\n    }\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.intercomEventService.trackEvent('analytics-event', {\n      owner: 'inbox',\n      action: 'clicked',\n      object: 'saved_reply_inserter',\n      place: 'inbox',\n      context: 'saved_reply_inserter',\n      has_saved_replies: this.hasSavedReplies,\n    });\n  },\n\n  actions: {\n    openManageSavedReplies(mode) {\n      let url = this.router.urlFor('apps.app.settings.saved-replies');\n\n      if (typeof mode === 'string') {\n        url = `${url}?mode=${mode}`;\n      }\n\n      safeWindowOpen(url, '_blank');\n    },\n    openSavedRepliesModal(mode) {\n      this.get('controlsAPI.actions.openSavedRepliesModal')({\n        mode,\n        filterQuery: this.savedReplyFilterQuery,\n      });\n      this.intercomEventService.trackEvent('saved-reply-popover-launched-modal');\n      this.intercomEventService.trackEvent('analytics-event', {\n        owner: 'inbox',\n        action: 'clicked',\n        object: 'saved_reply_modal',\n        place: 'inbox',\n        context: 'saved_reply_inserter',\n        has_saved_replies: this.hasSavedReplies,\n      });\n      this.get('inserterAPI.actions.close')();\n    },\n    createSavedReply() {\n      this.get('controlsAPI.actions.createSavedReply')();\n      this.get('inserterAPI.actions.close')();\n    },\n    selectItem(savedReply) {\n      this.intercomEventService.trackEvent('analytics-event', {\n        owner: 'inbox',\n        action: 'added_to_reply',\n        object: 'saved_reply',\n        place: 'inbox',\n        context: 'saved_reply_inserter',\n        saved_reply_id: savedReply.id,\n        inserted_from: 'saved_reply_inserter',\n      });\n      this.get('controlsAPI.actions.insertSavedReply')(savedReply);\n      this.get('inserterAPI.actions.close')();\n    },\n    highlightNext() {\n      let items = this.selectableItems;\n      let highlightIndex = this.highlightIndex;\n      if (highlightIndex < items.length - 1) {\n        this.incrementProperty('highlightIndex');\n      }\n    },\n    highlightPrevious() {\n      let highlightIndex = this.highlightIndex;\n      if (highlightIndex > 0) {\n        this.decrementProperty('highlightIndex');\n      }\n    },\n    selectHighlightedItem() {\n      let highlightIndex = this.highlightIndex;\n      let highlightedItem = this.selectableItems.objectAt(highlightIndex);\n      if (isNone(highlightedItem)) {\n        return;\n      }\n      this.send('selectItem', highlightedItem);\n    },\n    setComposerContents() {\n      this.savedReplyReadOnlyComposer.send('load', this.highlightedReply.blocks);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.tourInserterAppInstalled}}\\n  <Conversation::Controls::Inserters::InsertAppButton\\n    @app={{this.tourInserterApp}}\\n    @controlsAPI={{@controlsAPI}}\\n    @analyticsObject=\\\"tour_inserter\\\"\\n    @interfaceIcon=\\\"product-tours\\\"\\n    data-test-inserter=\\\"tour\\\"\\n  />\\n{{else}}\\n  <div\\n    class=\\\"inbox__conversation-controls__inserter inbox__conversation-controls__inserter-opener\\\"\\n    data-test-tour-inserter-not-installed\\n    data-test-inserter=\\\"tour-not-installed\\\"\\n  >\\n    <IcTooltip @isInteractive={{true}} as |t|>\\n      <t.opener>\\n        {{ic-interface-icon \\\"product-tours\\\" solo=true}}\\n      </t.opener>\\n      <t.content>\\n        Want to add a tour? Visit <LinkTo @route=\\\"apps.app.tours\\\">Product Tours</LinkTo>, select a tour, and add a URL for it to begin on.\\n      </t.content>\\n    </IcTooltip>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if this.tourInserterAppInstalled}}\\n  <Conversation::Controls::Inserters::InsertAppButton\\n    @app={{this.tourInserterApp}}\\n    @controlsAPI={{@controlsAPI}}\\n    @analyticsObject=\\\"tour_inserter\\\"\\n    @interfaceIcon=\\\"product-tours\\\"\\n    data-test-inserter=\\\"tour\\\"\\n  />\\n{{else}}\\n  <div\\n    class=\\\"inbox__conversation-controls__inserter inbox__conversation-controls__inserter-opener\\\"\\n    data-test-tour-inserter-not-installed\\n    data-test-inserter=\\\"tour-not-installed\\\"\\n  >\\n    <IcTooltip @isInteractive={{true}} as |t|>\\n      <t.opener>\\n        {{ic-interface-icon \\\"product-tours\\\" solo=true}}\\n      </t.opener>\\n      <t.content>\\n        Want to add a tour? Visit <LinkTo @route=\\\"apps.app.tours\\\">Product Tours</LinkTo>, select a tour, and add a URL for it to begin on.\\n      </t.content>\\n    </IcTooltip>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/controls/inserters/tour-inserter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/inserters/tour-inserter.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { readOnly } from '@ember/object/computed';\nimport { notEmpty } from '@ember/object/computed';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  store: service(),\n  classNames: ['u__left'],\n  tourInserterAppInstalled: notEmpty('tourInserterApp'),\n\n  init() {\n    this._super(...arguments);\n    this.fetchTourInserterApp.perform();\n  },\n\n  fetchTourInserterApp: task(function*() {\n    let tourInserterApps = yield this.store.query('messenger-app', {\n      app_package_id: 'intercom-tours',\n    });\n    this.set('tourInserterApp', tourInserterApps.firstObject);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Popover\\n  @disabled={{this.hasDismissedBanner}}\\n  @placement=\\\"top\\\"\\n  @fallbackPlacements={{array 'auto'}}\\n  @showArrow={{true}}\\n  @onHide={{this.dismissBanner}}\\n  @showDelay={{200}}\\n  @animation={{hash class=\\\"a__tooltip\\\"}}\\n  as |popover|\\n>\\n  <popover.Opener>\\n    <label\\n      class=\\\"u__pointer-cursor\\\"\\n      {{on 'click' this.handleClick}}\\n      {{did-insert (fn this.showBannerIfNecessary popover.show)}}\\n    >\\n      <input\\n        type=\\\"file\\\"\\n        accept=\\\"video/mp4\\\"\\n        class=\\\"inbox__conversation-controls__inserter-file\\\"\\n        tabindex=\\\"-1\\\"\\n        {{ref this 'inputElement'}}\\n        {{on 'change' this.handleChange}}\\n      />\\n      {{ic-interface-icon @inserter.icon solo=(not @inAdditionalInsertersPopover)}}\\n      {{#if @inAdditionalInsertersPopover}}\\n        {{@inserter.descriptor}}\\n      {{/if}}\\n    </label>\\n  </popover.Opener>\\n  <popover.Content class=\\\"custom-bots__video-bots__popover-tooltip p-4\\\">\\n    <a\\n      class=\\\"custom-bots__video-bots__popover__close-button\\\"\\n      {{on 'click' this.dismissBanner}}\\n    >\\n      {{ic-interface-icon 'close' color='grey' solo=true}}\\n    </a>\\n\\n    <div class=\\\"flex flex-row gap-4\\\">\\n      <img\\n        class=\\\"custom-bots__video-bots__popover-image\\\"\\n        src=\\\"https://downloads.intercomcdn.com/i/o/81056161/a2fd0c1dc3c8cc6566d09f49/45296774-05afd300-b4fb-11e8-92a9-457c0cc6d631.gif\\\"\\n      >\\n      <IcContent>\\n        <Text @styling='strong'>\\n          Make your bot personal with video\\n        </Text>\\n        <Paragraph>\\n          Start with a 10 second video clip to engage your leads\\n        </Paragraph>\\n      </IcContent>\\n    </div>\\n  </popover.Content>\\n</Popover>\\n\", {\"contents\":\"<Popover\\n  @disabled={{this.hasDismissedBanner}}\\n  @placement=\\\"top\\\"\\n  @fallbackPlacements={{array 'auto'}}\\n  @showArrow={{true}}\\n  @onHide={{this.dismissBanner}}\\n  @showDelay={{200}}\\n  @animation={{hash class=\\\"a__tooltip\\\"}}\\n  as |popover|\\n>\\n  <popover.Opener>\\n    <label\\n      class=\\\"u__pointer-cursor\\\"\\n      {{on 'click' this.handleClick}}\\n      {{did-insert (fn this.showBannerIfNecessary popover.show)}}\\n    >\\n      <input\\n        type=\\\"file\\\"\\n        accept=\\\"video/mp4\\\"\\n        class=\\\"inbox__conversation-controls__inserter-file\\\"\\n        tabindex=\\\"-1\\\"\\n        {{ref this 'inputElement'}}\\n        {{on 'change' this.handleChange}}\\n      />\\n      {{ic-interface-icon @inserter.icon solo=(not @inAdditionalInsertersPopover)}}\\n      {{#if @inAdditionalInsertersPopover}}\\n        {{@inserter.descriptor}}\\n      {{/if}}\\n    </label>\\n  </popover.Opener>\\n  <popover.Content class=\\\"custom-bots__video-bots__popover-tooltip p-4\\\">\\n    <a\\n      class=\\\"custom-bots__video-bots__popover__close-button\\\"\\n      {{on 'click' this.dismissBanner}}\\n    >\\n      {{ic-interface-icon 'close' color='grey' solo=true}}\\n    </a>\\n\\n    <div class=\\\"flex flex-row gap-4\\\">\\n      <img\\n        class=\\\"custom-bots__video-bots__popover-image\\\"\\n        src=\\\"https://downloads.intercomcdn.com/i/o/81056161/a2fd0c1dc3c8cc6566d09f49/45296774-05afd300-b4fb-11e8-92a9-457c0cc6d631.gif\\\"\\n      >\\n      <IcContent>\\n        <Text @styling='strong'>\\n          Make your bot personal with video\\n        </Text>\\n        <Paragraph>\\n          Start with a 10 second video clip to engage your leads\\n        </Paragraph>\\n      </IcContent>\\n    </div>\\n  </popover.Content>\\n</Popover>\\n\",\"moduleName\":\"embercom/components/conversation/controls/inserters/video-opener.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/inserters/video-opener.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { adminHasSeen, markViewAsSeen } from 'embercom/lib/admin-view-tracking';\n\nconst VIDEO_BANNER_KEY = 'video_file_prompt_banner';\n\nexport default class ConversationControlInserterVideoOpener extends Component {\n  @service intercomEventService;\n  @service store;\n\n  @tracked hasDismissedBanner = true;\n  analyticsName = 'video_inserter';\n\n  @action\n  handleClick(event) {\n    this.intercomEventService.trackEvent('analytics-event', {\n      owner: 'inbox',\n      action: 'clicked',\n      object: this.analyticsName,\n      place: 'inbox',\n      context: this.analyticsName,\n    });\n  }\n\n  @action\n  handleChange(event) {\n    let files = Array.from(event.target.files);\n    if (files.length > 0) {\n      this.inputElement.value = '';\n      this.args.controlsAPI?.actions.uploadVideo(files);\n      this.args.inserterAPI?.actions.close();\n    }\n  }\n\n  @action\n  showBannerIfNecessary(showPopover) {\n    adminHasSeen(this.store, VIDEO_BANNER_KEY, seen => {\n      if (!this.isDestroying && !seen) {\n        this.hasDismissedBanner = false;\n        showPopover();\n      }\n    });\n  }\n\n  @action\n  dismissBanner() {\n    if (!this.hasDismissedBanner) {\n      markViewAsSeen(this.store, VIDEO_BANNER_KEY);\n      this.hasDismissedBanner = true;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div>\\n  {{#if this.app.canUseNewInboxComposer}}\\n    <div\\n      {{did-insert (action this.setupProsemirrorComposerWrapper)}}\\n      {{did-update this.prosemirrorComposerWrapper.uploadingStateChanged this.composerComponent.api.composer.state.isUploading}}\\n      {{did-update this.prosemirrorComposerWrapper.setConfig this.controlsAPI}}\\n    ></div>\\n    <Composer\\n      class={{classesForComposer}}\\n      @config={{this.prosemirrorComposerWrapper.config}}\\n      @blocksDoc={{this.prosemirrorComposerWrapper.blocksDoc}}\\n      @onReady={{this.prosemirrorComposerWrapper.onReady}}\\n      @onChange={{this.prosemirrorComposerWrapper.onChange}}\\n    />\\n  {{else}}\\n    <ConversationComposer\\n      @preset={{composerPreset}}\\n      @app={{app}}\\n      @actionReceiver={{composerComponent}}\\n      @hasSubstantialContent={{composerHasContent}}\\n      @editorClass={{classesForComposer}}\\n      @startedUploading={{action \\\"updateComposerIsUploading\\\" true}}\\n      @finishedUploading={{action \\\"updateComposerIsUploading\\\" false}}\\n      @hasMarkers={{isFetchingSavedReply}}\\n      @placeholder={{composerPlaceholder}}\\n      @pseudonym={{controlsAPI.conversation.mainParticipant.pseudonymWithoutLocation}}\\n      @savedReplies={{app.savedReplies}}\\n      @onError=\\\"onComposerError\\\"\\n      @errorUploading={{action 'onErrorUploading'}}\\n      @onChange={{action controlsAPI.actions.onComposerChange}}\\n      @onKeyDown={{action controlsAPI.actions.onComposerKeyDown}}\\n      @onTypeAheadInserted=\\\"onTypeAheadInserted\\\"\\n    />\\n  {{/if}}\\n  \\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div>\\n  {{#if this.app.canUseNewInboxComposer}}\\n    <div\\n      {{did-insert (action this.setupProsemirrorComposerWrapper)}}\\n      {{did-update this.prosemirrorComposerWrapper.uploadingStateChanged this.composerComponent.api.composer.state.isUploading}}\\n      {{did-update this.prosemirrorComposerWrapper.setConfig this.controlsAPI}}\\n    ></div>\\n    <Composer\\n      class={{classesForComposer}}\\n      @config={{this.prosemirrorComposerWrapper.config}}\\n      @blocksDoc={{this.prosemirrorComposerWrapper.blocksDoc}}\\n      @onReady={{this.prosemirrorComposerWrapper.onReady}}\\n      @onChange={{this.prosemirrorComposerWrapper.onChange}}\\n    />\\n  {{else}}\\n    <ConversationComposer\\n      @preset={{composerPreset}}\\n      @app={{app}}\\n      @actionReceiver={{composerComponent}}\\n      @hasSubstantialContent={{composerHasContent}}\\n      @editorClass={{classesForComposer}}\\n      @startedUploading={{action \\\"updateComposerIsUploading\\\" true}}\\n      @finishedUploading={{action \\\"updateComposerIsUploading\\\" false}}\\n      @hasMarkers={{isFetchingSavedReply}}\\n      @placeholder={{composerPlaceholder}}\\n      @pseudonym={{controlsAPI.conversation.mainParticipant.pseudonymWithoutLocation}}\\n      @savedReplies={{app.savedReplies}}\\n      @onError=\\\"onComposerError\\\"\\n      @errorUploading={{action 'onErrorUploading'}}\\n      @onChange={{action controlsAPI.actions.onComposerChange}}\\n      @onKeyDown={{action controlsAPI.actions.onComposerKeyDown}}\\n      @onTypeAheadInserted=\\\"onTypeAheadInserted\\\"\\n    />\\n  {{/if}}\\n  \\n</div>\\n\",\"moduleName\":\"embercom/components/conversation/controls/pane-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/pane-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { alias, and, equal, not, or, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport logComposerError from 'embercom/lib/log-composer-v2-error';\nimport Metrics from 'embercom/models/metrics';\nimport SavedReply from 'embercom/models/saved-reply';\nimport { ProsemirrorComposerWrapper } from 'embercom/lib/inbox/prosemirror-composer-wrapper';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  onboardingHomeExternalStepService: service(),\n  appService: service(),\n  store: service(),\n  app: readOnly('appService.app'),\n  classNames: ['u__relative', 'inbox__conversation-composer__wrapper'],\n  classesForComposer: computed('replySelected', 'app.canUseNewInboxComposer', function() {\n    let composerClasses = 'composer-inbox composer-style-basic o__fit conversation__text';\n    if (!this.app.canUseNewInboxComposer) {\n      composerClasses += ' shim__composer-max';\n    }\n    if (!this.replySelected) {\n      composerClasses += ' o__note';\n    }\n    return composerClasses;\n  }),\n\n  baseComposerPresetName: ternary('controlsAPI.isInbox', 'inbox', 'conversation_card'),\n  composerPresetType: ternary('noteSelected', 'note', 'reply'),\n  composerAllowUploadsType: ternary(\n    'app.teammateConversationAttachmentsEnabled',\n    '',\n    'disable-uploads',\n  ),\n  isFacebookConversation: readOnly('controlsAPI.conversation.isFacebook'),\n  isTwitterConversation: readOnly('controlsAPI.conversation.isTwitter'),\n  composerPreset: computed(\n    'baseComposerPresetName',\n    'composerPresetType',\n    'composerAllowUploadsType',\n    'isFacebookConversation',\n    'isTwitterConversation',\n    'noteSelected',\n    function() {\n      if (this.isFacebookConversation && !this.noteSelected) {\n        return 'facebookMessage';\n      }\n      if (this.isTwitterConversation && !this.noteSelected) {\n        return 'twitterDirectMessage';\n      }\n      return [this.baseComposerPresetName, this.composerPresetType, this.composerAllowUploadsType]\n        .join('_')\n        .camelize();\n    },\n  ),\n\n  replySelected: equal('controlsAPI.activePaneIdentifier', 'comment'),\n  replyNotSelected: not('replySelected'),\n  noteSelected: equal('controlsAPI.activePaneIdentifier', 'note'),\n  isDisabled: alias('controlsAPI.conversation.sortedParts.lastObject.isSaving'),\n  pastedImage: null,\n  isFacebookConversationReply: and('isFacebookConversation', 'replySelected'),\n  isTwitterConversationReply: and('isTwitterConversation', 'replySelected'),\n  shouldHideConversationControlsActions: or(\n    'isFacebookConversationReply',\n    'isTwitterConversationReply',\n  ),\n  shouldDisplayConversationControlsActions: not('shouldHideConversationControlsActions'),\n  savedRepliesAreAvailable: and(\n    'app.savedReplies.length',\n    'shouldDisplayConversationControlsActions',\n  ),\n\n  canInsertArticle: and(\n    'replySelected',\n    'app.inboxIsActive',\n    'controlsAPI.conversation.isNotFacebookOrTwitter',\n  ),\n\n  composerPlaceholder: computed(\n    'savedRepliesAreAvailable',\n    'noteSelected',\n    'isTwitterConversationReply',\n    'canInsertArticle',\n    function() {\n      if (!this.get('controlsAPI.isInbox') && !this.get('app.inboxIsActive')) {\n        return 'Type your response here.';\n      }\n      if (this.noteSelected) {\n        return \"Type @ to mention a teammate and they'll be notified.\";\n      }\n      if (this.isTwitterConversationReply) {\n        return 'Replying by Twitter DM';\n      }\n      if (this.isFacebookConversationReply) {\n        return 'Replying by Facebook Message';\n      }\n      if (this.savedRepliesAreAvailable) {\n        if (this.canInsertArticle) {\n          return 'Type # to add a saved reply or try sending an article';\n        } else {\n          return 'Type # to add a saved reply';\n        }\n      }\n      if (this.canInsertArticle) {\n        return 'Try adding an article';\n      }\n      return '';\n    },\n  ),\n\n  insertSavedReply(savedReplyId, markerId) {\n    let conversationId = this.get('controlsAPI.conversation.id');\n    SavedReply.getRendered(savedReplyId, this.get('app.id'), conversationId).then(data => {\n      this.intercomEventService.trackEvent('saved-reply-typeahead-inserted', {\n        id: savedReplyId,\n        conversation_id: conversationId,\n      });\n      this.intercomEventService.trackEvent('analytics-event', {\n        owner: 'inbox',\n        action: 'added_to_reply',\n        object: 'saved_reply',\n        place: 'inbox',\n        context: 'saved_reply_typeahead',\n        saved_reply_id: savedReplyId,\n        inserted_from: 'saved_reply_typeahead',\n      });\n      this.get('controlsAPI.composerComponent').send('insertBlocksAtMarker', data.blocks, markerId);\n    });\n  },\n\n  setupProsemirrorComposerWrapper() {\n    if (this.app.canUseNewInboxComposer) {\n      this.set('prosemirrorComposerWrapper', new ProsemirrorComposerWrapper(this));\n      this.set('composerComponent', this.prosemirrorComposerWrapper);\n    }\n  },\n\n  actions: {\n    updateComposerIsUploading(value) {\n      if (this.isDestroying) {\n        return;\n      }\n      this.set('composerIsUploading', value);\n    },\n    onComposerError(error) {\n      if (!error.recovered) {\n        this.notificationsService.notifyError(\n          'Hmm, it looks like something went wrong with the composer.',\n          -1,\n        );\n      }\n      logComposerError('Inbox', error);\n      Metrics.capture({ increment: ['errors_composer_inbox'] });\n    },\n    onErrorUploading(error) {\n      this.notificationsService.notifyError(error.message);\n      logComposerError('Inbox', error);\n    },\n\n    onTypeAheadInserted(params) {\n      if (params.type === 'savedReply') {\n        this.insertSavedReply(params.value.id, params.markerId);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"js__external-step-pointer__pane-selector\\\"></div>\\n{{#if allowNotes}}\\n  <a\\n    class=\\\"tabs__tab\\n      o__in-pane-selector {{if replySelected \\\"o__selected\\\"}} {{if controlsAPI.isFocused \\\"o__focused\\\" \\\"o__unfocused\\\"}}\\\"\\n    data-test-reply-pane\\n    {{action \\\"selectPane\\\" \\\"comment\\\"}}\\n  >\\n    Reply\\n  </a>\\n  <a\\n    data-test-note-pane\\n    data-intercom-target=\\\"note-tab\\\"\\n    class=\\\"tabs__tab\\n      o__in-pane-selector\\n      {{if noteSelected \\\"o__selected\\\"}} {{if controlsAPI.isFocused \\\"o__focused\\\" \\\"o__unfocused\\\"}}\\\"\\n    {{action \\\"selectPane\\\" \\\"note\\\"}}\\n  >\\n    Note\\n  </a>\\n{{/if}}\\n<div class=\\\"u__right\\\">\\n  {{#if controlsAPI.isInbox}}\\n    <Inbox::ComposerHelpModal />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"js__external-step-pointer__pane-selector\\\"></div>\\n{{#if allowNotes}}\\n  <a\\n    class=\\\"tabs__tab\\n      o__in-pane-selector {{if replySelected \\\"o__selected\\\"}} {{if controlsAPI.isFocused \\\"o__focused\\\" \\\"o__unfocused\\\"}}\\\"\\n    data-test-reply-pane\\n    {{action \\\"selectPane\\\" \\\"comment\\\"}}\\n  >\\n    Reply\\n  </a>\\n  <a\\n    data-test-note-pane\\n    data-intercom-target=\\\"note-tab\\\"\\n    class=\\\"tabs__tab\\n      o__in-pane-selector\\n      {{if noteSelected \\\"o__selected\\\"}} {{if controlsAPI.isFocused \\\"o__focused\\\" \\\"o__unfocused\\\"}}\\\"\\n    {{action \\\"selectPane\\\" \\\"note\\\"}}\\n  >\\n    Note\\n  </a>\\n{{/if}}\\n<div class=\\\"u__right\\\">\\n  {{#if controlsAPI.isInbox}}\\n    <Inbox::ComposerHelpModal />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/conversation/controls/pane-selector-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/pane-selector-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, or, equal } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  allowNotes: or('app.inboxIsActive', 'app.requiresInboxSeatAccess'),\n  classNames: ['inbox__conversation-controls__pane-selector', 'tabs', 'u__padl__15', 'u__padb__10'],\n  classNameBindings: ['noteSelected:o__note-selected'],\n\n  replySelected: equal('controlsAPI.activePaneIdentifier', 'comment'),\n  noteSelected: equal('controlsAPI.activePaneIdentifier', 'note'),\n\n  actions: {\n    selectPane(paneIdentifier) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('controlsAPI.actions.selectPane', paneIdentifier);\n    },\n  },\n  'data-test-pane-selector': true,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall\\n  @featureKey=\\\"messenger\\\"\\n  @isActiveOverride={{not this.app.canUseMessenger}}\\n  as |paywall|\\n>\\n  <paywall.Hover>\\n    <button\\n      onclick={{if (and (not disabled) paywall.isInactive) (action sendAndClose)}}\\n      data-test-primary-action\\n      class=\\\"inbox__send-and-change-state__primary-action btn {{if isOpen \\\"o__opened\\\"}} flex items-center\\\"\\n    >\\n      Send and close\\n    </button>\\n    {{#if paywall.isInactive}}\\n      <span class=\\\"inbox__send-and-change-state__divider\\\"></span>\\n      <span\\n        data-test-dropdown-opener\\n        class=\\\"inbox__send-and-change-state__opener flex items-center js__inbox__send-and-change-state__opener\\\"\\n      >\\n        {{ic-interface-icon\\n          (if isOpen \\\"small-up-arrow\\\" \\\"small-down-arrow\\\")\\n          solo=true\\n        }}\\n      </span>\\n    {{/if}}\\n  </paywall.Hover>\\n</Paywall>\\n{{#if isOpen}}\\n  <div\\n    class=\\\"overlay o__dropdown z__2 inbox__send-and-change-state__dropdown js__inbox__send-and-change-state__dropdown\\\"\\n  >\\n    <div\\n      class=\\\"inbox__send-and-change-state__dropdown__header flex items-center\\\"\\n    >\\n      <span>\\n        Send and snooze\\n      </span>\\n    </div>\\n    {{#each options as |option index|}}\\n      <a\\n        data-test-snooze-dropdown-item={{index}}\\n        class=\\\"inbox__snooze-until__item__link\\\"\\n        {{action sendAndSnooze type index}}\\n      >\\n        <div\\n          class=\\\"dropdown__list-item o__hoverable inbox__snooze-until__item__div inbox__dropdown__item\\\"\\n          {{tooltip content=option.shortcut isDisabled=(not option.shortcut) placement=\\\"right\\\"}}\\n        >\\n          <div class=\\\"inbox__snooze-until__dropdown__item-meta\\\">\\n            <span class=\\\"inbox__snooze-until__dropdown__item-name\\\">\\n              {{option.value}}\\n            </span>\\n            <span\\n              data-test-dropdown-item-meta\\n              class=\\\"inbox__snooze-until__dropdown__item-meta-name\\\"\\n            >\\n              {{option.metaLabel}}\\n            </span>\\n          </div>\\n        </div>\\n      </a>\\n    {{/each}}\\n    <a\\n      data-test-custom-snooze-dropdown-item\\n      class=\\\"inbox__snooze-until__item__link\\\"\\n      onclick={{action \\\"openOrCloseSubcontentImmediatelyOnClick\\\"}}\\n      onmouseenter={{action \\\"openSubcontentOnMouseEnter\\\"}}\\n      onmouseleave={{action \\\"closeSubcontentOnMouseLeave\\\"}}\\n    >\\n      <div\\n        class=\\\"dropdown__list-item o__hoverable inbox__snooze-until__item__div inbox__custom-snooze-until__item__div js__subcontent-opener\\\"\\n      >\\n        <div class=\\\"inbox__snooze-until__dropdown__item-meta\\\">\\n          <span class=\\\"inbox__snooze-until__dropdown__item-name\\\">\\n            Custom\\n          </span>\\n        </div>\\n      </div>\\n    </a>\\n    {{#if showingSubcontent}}\\n      <div\\n        class=\\\"js__popover-component-subcontent overlay inbox__custom-snooze-until__subcontent\\\"\\n        onmouseenter={{action \\\"openSubcontentOnMouseEnter\\\"}}\\n        onmouseleave={{action \\\"closeSubcontentOnMouseLeave\\\"}}\\n      >\\n        <svg width=\\\"8px\\\" height=\\\"11px\\\" viewBox=\\\"0 0 8 11\\\" version=\\\"1.1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"inbox__custom-snooze-until__subcontent-caret\\\">\\n          <g stroke=\\\"none\\\" stroke-width=\\\"1\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\">\\n            <path d=\\\"M4.4408921e-16,-0.5 L7,6 L4.4408921e-16,11.5 L-3,11 L-3,0 L4.4408921e-16,-0.5 Z\\\" class=\\\"inbox__custom-snooze-until__subcontent-caret__vector\\\" stroke=\\\"#979797\\\" fill=\\\"#F6A623\\\"></path>\\n          </g>\\n        </svg>\\n        <IcDatepicker\\n          @selected={{selectedDayMoment}}\\n          @disableDatesBefore={{yesterday}}\\n          @onSelect={{action (mut selectedDayMoment) value=\\\"moment\\\"}}\\n        />\\n        {{#if hasHourOptionsForSelectedDay}}\\n          <Conversation::Controls::CustomSnoozeTimesSelectComponent\\n            @value={{selectedTimeInSecondsSinceMidnight}}\\n            @content={{hoursWith30MinsInterval}}\\n            @optionValuePath=\\\"secondsFromMidnight\\\"\\n            @optionLabelPath=\\\"label\\\"\\n            @classNames=\\\"inbox__custom-snooze-until__time-dropdown\\\"\\n          />\\n        {{/if}}\\n        <span\\n          class=\\\"btn__tertiary u__right inbox__custom-snooze-until__button {{if disableSnoozeButton \\\"o__disabled\\\"}}\\\"\\n          onclick={{action \\\"customSnoozeConversationAndCloseDropdown\\\" type}}\\n        >\\n          Snooze\\n        </span>\\n      </div>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall\\n  @featureKey=\\\"messenger\\\"\\n  @isActiveOverride={{not this.app.canUseMessenger}}\\n  as |paywall|\\n>\\n  <paywall.Hover>\\n    <button\\n      onclick={{if (and (not disabled) paywall.isInactive) (action sendAndClose)}}\\n      data-test-primary-action\\n      class=\\\"inbox__send-and-change-state__primary-action btn {{if isOpen \\\"o__opened\\\"}} flex items-center\\\"\\n    >\\n      Send and close\\n    </button>\\n    {{#if paywall.isInactive}}\\n      <span class=\\\"inbox__send-and-change-state__divider\\\"></span>\\n      <span\\n        data-test-dropdown-opener\\n        class=\\\"inbox__send-and-change-state__opener flex items-center js__inbox__send-and-change-state__opener\\\"\\n      >\\n        {{ic-interface-icon\\n          (if isOpen \\\"small-up-arrow\\\" \\\"small-down-arrow\\\")\\n          solo=true\\n        }}\\n      </span>\\n    {{/if}}\\n  </paywall.Hover>\\n</Paywall>\\n{{#if isOpen}}\\n  <div\\n    class=\\\"overlay o__dropdown z__2 inbox__send-and-change-state__dropdown js__inbox__send-and-change-state__dropdown\\\"\\n  >\\n    <div\\n      class=\\\"inbox__send-and-change-state__dropdown__header flex items-center\\\"\\n    >\\n      <span>\\n        Send and snooze\\n      </span>\\n    </div>\\n    {{#each options as |option index|}}\\n      <a\\n        data-test-snooze-dropdown-item={{index}}\\n        class=\\\"inbox__snooze-until__item__link\\\"\\n        {{action sendAndSnooze type index}}\\n      >\\n        <div\\n          class=\\\"dropdown__list-item o__hoverable inbox__snooze-until__item__div inbox__dropdown__item\\\"\\n          {{tooltip content=option.shortcut isDisabled=(not option.shortcut) placement=\\\"right\\\"}}\\n        >\\n          <div class=\\\"inbox__snooze-until__dropdown__item-meta\\\">\\n            <span class=\\\"inbox__snooze-until__dropdown__item-name\\\">\\n              {{option.value}}\\n            </span>\\n            <span\\n              data-test-dropdown-item-meta\\n              class=\\\"inbox__snooze-until__dropdown__item-meta-name\\\"\\n            >\\n              {{option.metaLabel}}\\n            </span>\\n          </div>\\n        </div>\\n      </a>\\n    {{/each}}\\n    <a\\n      data-test-custom-snooze-dropdown-item\\n      class=\\\"inbox__snooze-until__item__link\\\"\\n      onclick={{action \\\"openOrCloseSubcontentImmediatelyOnClick\\\"}}\\n      onmouseenter={{action \\\"openSubcontentOnMouseEnter\\\"}}\\n      onmouseleave={{action \\\"closeSubcontentOnMouseLeave\\\"}}\\n    >\\n      <div\\n        class=\\\"dropdown__list-item o__hoverable inbox__snooze-until__item__div inbox__custom-snooze-until__item__div js__subcontent-opener\\\"\\n      >\\n        <div class=\\\"inbox__snooze-until__dropdown__item-meta\\\">\\n          <span class=\\\"inbox__snooze-until__dropdown__item-name\\\">\\n            Custom\\n          </span>\\n        </div>\\n      </div>\\n    </a>\\n    {{#if showingSubcontent}}\\n      <div\\n        class=\\\"js__popover-component-subcontent overlay inbox__custom-snooze-until__subcontent\\\"\\n        onmouseenter={{action \\\"openSubcontentOnMouseEnter\\\"}}\\n        onmouseleave={{action \\\"closeSubcontentOnMouseLeave\\\"}}\\n      >\\n        <svg width=\\\"8px\\\" height=\\\"11px\\\" viewBox=\\\"0 0 8 11\\\" version=\\\"1.1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"inbox__custom-snooze-until__subcontent-caret\\\">\\n          <g stroke=\\\"none\\\" stroke-width=\\\"1\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\">\\n            <path d=\\\"M4.4408921e-16,-0.5 L7,6 L4.4408921e-16,11.5 L-3,11 L-3,0 L4.4408921e-16,-0.5 Z\\\" class=\\\"inbox__custom-snooze-until__subcontent-caret__vector\\\" stroke=\\\"#979797\\\" fill=\\\"#F6A623\\\"></path>\\n          </g>\\n        </svg>\\n        <IcDatepicker\\n          @selected={{selectedDayMoment}}\\n          @disableDatesBefore={{yesterday}}\\n          @onSelect={{action (mut selectedDayMoment) value=\\\"moment\\\"}}\\n        />\\n        {{#if hasHourOptionsForSelectedDay}}\\n          <Conversation::Controls::CustomSnoozeTimesSelectComponent\\n            @value={{selectedTimeInSecondsSinceMidnight}}\\n            @content={{hoursWith30MinsInterval}}\\n            @optionValuePath=\\\"secondsFromMidnight\\\"\\n            @optionLabelPath=\\\"label\\\"\\n            @classNames=\\\"inbox__custom-snooze-until__time-dropdown\\\"\\n          />\\n        {{/if}}\\n        <span\\n          class=\\\"btn__tertiary u__right inbox__custom-snooze-until__button {{if disableSnoozeButton \\\"o__disabled\\\"}}\\\"\\n          onclick={{action \\\"customSnoozeConversationAndCloseDropdown\\\" type}}\\n        >\\n          Snooze\\n        </span>\\n      </div>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/controls/send-and-change-state.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/controls/send-and-change-state.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport $ from 'jquery';\nimport { on } from '@ember/object/evented';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\n// eslint-disable-next-line @intercom/intercom/no-legacy-dropdown\nimport ComponentDropdownToggler from 'embercom/components/mixins/component-dropdown-toggler';\nimport SnoozeOptions from 'embercom/components/mixins/snooze-options';\nimport platform from 'embercom/lib/browser-platform';\nimport { SNOOZED_UNTIL_MAP } from 'embercom/lib/inbox/constants';\nimport { BROWSER_SUPPORTS_TOUCH } from 'embercom/lib/screen-awareness';\nimport { task, timeout } from 'ember-concurrency';\nimport ENV from 'embercom/config/environment';\nimport moment from 'moment';\n\nexport default Component.extend(ComponentDropdownToggler, SnoozeOptions, {\n  tagName: 'span',\n  dropDownTogglerSelectors:\n    '.js__inbox__send-and-change-state__opener,.js__inbox__send-and-change-state__opener *,.js__inbox__send-and-change-state__dropdown,.js__inbox__send-and-change-state__dropdown *',\n  dropDownItemSelectors:\n    '.js__inbox__send-and-change-state__opener,.js__inbox__send-and-change-state__opener *,.inbox__dropdown__item dropdown__list-item,.inbox__dropdown__item dropdown__list-item *',\n  classNames: ['inbox__send-and-change-state'],\n  classNameBindings: ['disabled:o__disabled'],\n  closeShortcut: computed(function() {\n    return platform.isMac ? '⌘+Shift+Enter' : 'CTRL+Shift+Enter';\n  }),\n  options: SNOOZED_UNTIL_MAP,\n  type: 'comment',\n\n  init() {\n    this._super(...arguments);\n    this.initSnoozeProperties();\n    this.set('yesterday', moment().subtract(1, 'days'));\n  },\n  _click: on('click', function(event) {\n    if (this.disabled || this.get('upgradePrompt.isActive')) {\n      return;\n    }\n    if ($(event.target).is(this.dropDownTogglerSelectors)) {\n      if (!$(event.target).is(this.dropDownItemSelectors)) {\n        return;\n      }\n      this._super(event);\n    } else {\n      this.send('closeDropdown');\n    }\n  }),\n  openSubcontent() {\n    this.set('showingSubcontent', true);\n    this.closeSubcontentAfter1sec.cancelAll();\n  },\n  closeSubcontentImmediately() {\n    this.set('showingSubcontent', false);\n  },\n  closeSubcontent() {\n    this.closeSubcontentAfter1sec.perform();\n  },\n  closeSubcontentAfter1sec: task(function*() {\n    yield timeout(ENV.APP._1000MS);\n    this.set('showingSubcontent', false);\n  }),\n  actions: {\n    openSubcontentOnMouseEnter() {\n      if (BROWSER_SUPPORTS_TOUCH) {\n        return;\n      }\n      this.openSubcontent();\n    },\n    closeSubcontentOnMouseLeave() {\n      if (BROWSER_SUPPORTS_TOUCH) {\n        return;\n      }\n      this.closeSubcontent();\n    },\n    openOrCloseSubcontentImmediatelyOnClick() {\n      if (!BROWSER_SUPPORTS_TOUCH) {\n        return;\n      }\n\n      if (this.showingSubcontent) {\n        this.closeSubcontentImmediately();\n      } else {\n        this.openSubcontent();\n      }\n    },\n    customSnoozeConversationAndCloseDropdown(type) {\n      if (this.disableSnoozeButton) {\n        return;\n      }\n\n      let selectedDayMoment = this.selectedDayMoment;\n      let selectedTimeInSecondsSinceMidnight = this.selectedTimeInSecondsSinceMidnight;\n      let customSnoozedUntilTime = selectedDayMoment\n        .startOf('day')\n        .add(selectedTimeInSecondsSinceMidnight, 'seconds')\n        .toISOString();\n      this.sendAndCustomSnooze(type, customSnoozedUntilTime);\n\n      this.closeSubcontentImmediately();\n      this.send('closeDropdown');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  data-test-mini-card\\n  {{on 'click' (queue\\n    (set this.showModal true)\\n    (track-analytics-event\\n      action='clicked'\\n      object=(or @analyticsObject 'past_conversation_card')\\n      models=(array @conversation)\\n    )\\n  )}}\\n>\\n  <span class=\\\"u__one-truncated-line\\\">\\n    <IcAvatarComponent\\n      @model={{this.actionSubject}}\\n      @size=\\\"s\\\"\\n      @canAnimate={{true}}\\n    />\\n    <span data-test-mini-card-statement class=\\\"t__body u__ml__5\\\">\\n      {{@conversation.stateLabel}}\\n      {{this.statePreposition}}\\n      {{#if this.actionSubject}}\\n        {{display-admin-as-firstname this.admin this.actionSubject}}\\n      {{else}}\\n        Unassigned\\n      {{/if}}\\n    </span>\\n  </span>\\n  <div class=\\\"flex items-center\\\">\\n    {{#if this.partToBeDisplayed.isAdminPart}}\\n      <div class=\\\"layout__box\\\">\\n        <div\\n          class=\\\"conversation__mini-card__summary-bar {{if this.partToBeDisplayed.isNote \\\"o__admin-note\\\"}}\\\"\\n        ></div>\\n      </div>\\n    {{/if}}\\n    <div\\n      class=\\\"text-gray u__one-truncated-line conversation__mini-card__link\\\"\\n    >\\n      <div data-test-mini-card-metadata class=\\\"u__right\\\">\\n        {{#if @conversation.rating_index}}\\n          <span\\n            class=\\\"conversation-rating__rating-{{@conversation.rating_index}} conversation__mini-card__rating\\\"\\n          ></span>\\n        {{/if}}\\n        <span {{tooltip content=this.formattedToolTipDate}}>\\n          <time\\n            class=\\\"js__relative-time\\\"\\n            data-formatter=\\\"abbreviated-relative-time-helper\\\"\\n            datetime={{@conversation.latest_update_at}}\\n          >\\n            {{abbreviated-relative-time-helper @conversation.latest_update_at}}\\n          </time>\\n        </span>\\n      </div>\\n      {{this.partToBeDisplayed.parsedSummary}}\\n    </div>\\n  </div>\\n</div>\\n\\n{{#if (has-feature \\\"ember-inbox-conversations-side-drawer\\\")}}\\n  <Conversation::SideDrawerConversation\\n    @onClose={{set this.showModal false}}\\n    @isOpen={{this.showModal}}\\n    @header={{@title}}\\n    @conversation={{@conversation}}\\n    @admin={{this.admin}}\\n    @readOnly={{false}}\\n  />\\n{{else}}\\n  <Inbox::ReadOnlyConversationModal\\n    @onModalClose={{set this.showModal false}}\\n    @isOpen={{this.showModal}}\\n    @conversation={{@conversation}}\\n    @admin={{this.admin}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"<div\\n  data-test-mini-card\\n  {{on 'click' (queue\\n    (set this.showModal true)\\n    (track-analytics-event\\n      action='clicked'\\n      object=(or @analyticsObject 'past_conversation_card')\\n      models=(array @conversation)\\n    )\\n  )}}\\n>\\n  <span class=\\\"u__one-truncated-line\\\">\\n    <IcAvatarComponent\\n      @model={{this.actionSubject}}\\n      @size=\\\"s\\\"\\n      @canAnimate={{true}}\\n    />\\n    <span data-test-mini-card-statement class=\\\"t__body u__ml__5\\\">\\n      {{@conversation.stateLabel}}\\n      {{this.statePreposition}}\\n      {{#if this.actionSubject}}\\n        {{display-admin-as-firstname this.admin this.actionSubject}}\\n      {{else}}\\n        Unassigned\\n      {{/if}}\\n    </span>\\n  </span>\\n  <div class=\\\"flex items-center\\\">\\n    {{#if this.partToBeDisplayed.isAdminPart}}\\n      <div class=\\\"layout__box\\\">\\n        <div\\n          class=\\\"conversation__mini-card__summary-bar {{if this.partToBeDisplayed.isNote \\\"o__admin-note\\\"}}\\\"\\n        ></div>\\n      </div>\\n    {{/if}}\\n    <div\\n      class=\\\"text-gray u__one-truncated-line conversation__mini-card__link\\\"\\n    >\\n      <div data-test-mini-card-metadata class=\\\"u__right\\\">\\n        {{#if @conversation.rating_index}}\\n          <span\\n            class=\\\"conversation-rating__rating-{{@conversation.rating_index}} conversation__mini-card__rating\\\"\\n          ></span>\\n        {{/if}}\\n        <span {{tooltip content=this.formattedToolTipDate}}>\\n          <time\\n            class=\\\"js__relative-time\\\"\\n            data-formatter=\\\"abbreviated-relative-time-helper\\\"\\n            datetime={{@conversation.latest_update_at}}\\n          >\\n            {{abbreviated-relative-time-helper @conversation.latest_update_at}}\\n          </time>\\n        </span>\\n      </div>\\n      {{this.partToBeDisplayed.parsedSummary}}\\n    </div>\\n  </div>\\n</div>\\n\\n{{#if (has-feature \\\"ember-inbox-conversations-side-drawer\\\")}}\\n  <Conversation::SideDrawerConversation\\n    @onClose={{set this.showModal false}}\\n    @isOpen={{this.showModal}}\\n    @header={{@title}}\\n    @conversation={{@conversation}}\\n    @admin={{this.admin}}\\n    @readOnly={{false}}\\n  />\\n{{else}}\\n  <Inbox::ReadOnlyConversationModal\\n    @onModalClose={{set this.showModal false}}\\n    @isOpen={{this.showModal}}\\n    @conversation={{@conversation}}\\n    @admin={{this.admin}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/conversation-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/conversation-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { CONVERSATION_STATES } from 'embercom/lib/inbox/constants';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport moment from 'moment';\n\nexport default Component.extend({\n  classNames: ['conversation__mini-card__app-sidebar'],\n  appService: service(),\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n\n  formattedToolTipDate: computed('conversation.latest_update_at', function() {\n    return moment(this.get('conversation.latest_update_at')).format(\n      dateAndTimeFormats.fullDateAndTimeWithoutTimezone,\n    );\n  }),\n  actionSubject: computed('conversation.lastActionPart', 'conversation.assignee', function() {\n    if (\n      this.get('conversation.lastActionPart.isCloser') ||\n      this.get('conversation.lastActionPart.isSnoozer')\n    ) {\n      return this.get('conversation.lastActionPart.admin');\n    } else {\n      return this.get('conversation.assignee');\n    }\n  }),\n  statePreposition: computed('conversation.state', function() {\n    if (this.get('conversation.state') === CONVERSATION_STATES.open) {\n      return 'with';\n    } else {\n      return 'by';\n    }\n  }),\n  partToBeDisplayed: computed(\n    'conversation.isClosed',\n    'conversation.firstUserPart',\n    'conversation.lastPartWithContentExcludingOperator',\n    function() {\n      if (this.conversation.isClosed && this.conversation.firstUserPart) {\n        return this.conversation.firstUserPart;\n      } else {\n        return this.conversation.lastPartWithContentExcludingOperator;\n      }\n    },\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @isFetchingConversations}}\\n  <div class=\\\"inbox__conversations__blank-content__app-section\\\">\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n  </div>\\n{{else}}\\n  {{#if @conversations}}\\n    <Conversation::Retain @conversations={{@conversations}} />\\n\\n    {{#each @conversations as |conversation index|}}\\n      {{#if (and (has-feature \\\"restrict-conversation-access\\\") conversation.redacted)}}\\n        <Conversation::Restricted class=\\\"py-1\\\"/>\\n      {{else}}\\n        <Conversation::ConversationComponent\\n          @conversation={{conversation}}\\n          @title={{@title}}\\n          @analyticsObject={{@analyticsObject}}\\n        />\\n      {{/if}}\\n      {{#if (not-eq index (sub @conversations.length 1))}}\\n        <div class=\\\"inbox__conversation-sidebar__separator\\\"></div>\\n      {{/if}}\\n    {{/each}}\\n  {{else}}\\n    <div\\n      class=\\\"text-gray inbox__conversations__blank-content__app-section\\\"\\n    >\\n      No other conversations\\n    </div>\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{#if @isFetchingConversations}}\\n  <div class=\\\"inbox__conversations__blank-content__app-section\\\">\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n  </div>\\n{{else}}\\n  {{#if @conversations}}\\n    <Conversation::Retain @conversations={{@conversations}} />\\n\\n    {{#each @conversations as |conversation index|}}\\n      {{#if (and (has-feature \\\"restrict-conversation-access\\\") conversation.redacted)}}\\n        <Conversation::Restricted class=\\\"py-1\\\"/>\\n      {{else}}\\n        <Conversation::ConversationComponent\\n          @conversation={{conversation}}\\n          @title={{@title}}\\n          @analyticsObject={{@analyticsObject}}\\n        />\\n      {{/if}}\\n      {{#if (not-eq index (sub @conversations.length 1))}}\\n        <div class=\\\"inbox__conversation-sidebar__separator\\\"></div>\\n      {{/if}}\\n    {{/each}}\\n  {{else}}\\n    <div\\n      class=\\\"text-gray inbox__conversations__blank-content__app-section\\\"\\n    >\\n      No other conversations\\n    </div>\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/conversations-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/conversations-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  classNames: ['inbox__conversation-sidebar__body-custom-padding'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-deleted-card-stream class=\\\"u__center-item\\\">\\n  <div\\n    class=\\\"conversation__deleted-stream__empty-state layout__box o__has-rows\\\"\\n  >\\n    <IcEmptyState\\n      @icon=\\\"stop-automatically\\\"\\n      @title=\\\"Deleting…\\\"\\n      @description=\\\"This user was recently deleted, so their conversations are now being deleted. This can take a few minutes to a few hours.\\\"\\n    />\\n  </div>\\n</div>\\n\", {\"contents\":\"<div data-test-deleted-card-stream class=\\\"u__center-item\\\">\\n  <div\\n    class=\\\"conversation__deleted-stream__empty-state layout__box o__has-rows\\\"\\n  >\\n    <IcEmptyState\\n      @icon=\\\"stop-automatically\\\"\\n      @title=\\\"Deleting…\\\"\\n      @description=\\\"This user was recently deleted, so their conversations are now being deleted. This can take a few minutes to a few hours.\\\"\\n    />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/conversation/deleted-stream-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/deleted-stream-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isAdmin}}\\n  <div\\n    class=\\\"u__mr__10 avatar o__s m__conversation-card__is-typing__avatar {{unless shouldNotAnimateAvatar \\\"o__is-typing-on\\\"}}\\\"\\n  >\\n    <IcAvatarComponent @model={{conversation.typingAdmin}} @size=\\\"s\\\" />\\n  </div>\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <div\\n      class=\\\"conversation__bubble u__left o__in-card-with-avatar o__is-typing-on {{if isAdminComment \\\"o__admin-comment\\\"}} {{if isAdminNote \\\"o__admin-note\\\"}}\\\"\\n    >\\n      <div class=\\\"conversation__bubble__inner o__thin\\\">\\n        <div\\n          class=\\\"conversation__is-typing-animation {{if isAdminComment \\\"o__admin-comment\\\"}} {{if isAdminNote \\\"o__admin-note\\\"}}\\\"\\n        >\\n          <div class=\\\"conversation__is-typing-animation__dot-01\\\"></div>\\n          <div class=\\\"conversation__is-typing-animation__dot-02\\\"></div>\\n          <div class=\\\"conversation__is-typing-animation__dot-03\\\"></div>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n{{else}}\\n  {{#if shouldDisplayAvatar}}\\n    <div\\n      class=\\\"u__mr__10 m__conversation-card__is-typing__avatar o__is-typing-on\\\"\\n    >\\n      <IcAvatarComponent @model={{conversation.main_participant}} @size=\\\"s\\\" />\\n    </div>\\n  {{/if}}\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <div\\n      class=\\\"conversation__bubble u__left o__is-typing-on {{if shouldDisplayAvatar \\\"o__in-card-with-avatar\\\" \\\"o__without-avatar\\\"}} o__user-comment\\\"\\n    >\\n      <div class=\\\"conversation__bubble__inner o__thin\\\">\\n        <div class=\\\"conversation__is-typing-animation o__user-comment\\\">\\n          <div class=\\\"conversation__is-typing-animation__dot-01\\\"></div>\\n          <div class=\\\"conversation__is-typing-animation__dot-02\\\"></div>\\n          <div class=\\\"conversation__is-typing-animation__dot-03\\\"></div>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isAdmin}}\\n  <div\\n    class=\\\"u__mr__10 avatar o__s m__conversation-card__is-typing__avatar {{unless shouldNotAnimateAvatar \\\"o__is-typing-on\\\"}}\\\"\\n  >\\n    <IcAvatarComponent @model={{conversation.typingAdmin}} @size=\\\"s\\\" />\\n  </div>\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <div\\n      class=\\\"conversation__bubble u__left o__in-card-with-avatar o__is-typing-on {{if isAdminComment \\\"o__admin-comment\\\"}} {{if isAdminNote \\\"o__admin-note\\\"}}\\\"\\n    >\\n      <div class=\\\"conversation__bubble__inner o__thin\\\">\\n        <div\\n          class=\\\"conversation__is-typing-animation {{if isAdminComment \\\"o__admin-comment\\\"}} {{if isAdminNote \\\"o__admin-note\\\"}}\\\"\\n        >\\n          <div class=\\\"conversation__is-typing-animation__dot-01\\\"></div>\\n          <div class=\\\"conversation__is-typing-animation__dot-02\\\"></div>\\n          <div class=\\\"conversation__is-typing-animation__dot-03\\\"></div>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n{{else}}\\n  {{#if shouldDisplayAvatar}}\\n    <div\\n      class=\\\"u__mr__10 m__conversation-card__is-typing__avatar o__is-typing-on\\\"\\n    >\\n      <IcAvatarComponent @model={{conversation.main_participant}} @size=\\\"s\\\" />\\n    </div>\\n  {{/if}}\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <div\\n      class=\\\"conversation__bubble u__left o__is-typing-on {{if shouldDisplayAvatar \\\"o__in-card-with-avatar\\\" \\\"o__without-avatar\\\"}} o__user-comment\\\"\\n    >\\n      <div class=\\\"conversation__bubble__inner o__thin\\\">\\n        <div class=\\\"conversation__is-typing-animation o__user-comment\\\">\\n          <div class=\\\"conversation__is-typing-animation__dot-01\\\"></div>\\n          <div class=\\\"conversation__is-typing-animation__dot-02\\\"></div>\\n          <div class=\\\"conversation__is-typing-animation__dot-03\\\"></div>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/is-typing-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/is-typing-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly, reads, or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nlet ConversationIsTypingComponent = Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  classNames: ['flex', 'items-center', 'relative'],\n  isInbox: false,\n  isUser: reads('conversation.userIsTyping'),\n  isAdmin: or('isAdminComment', 'isAdminNote'),\n  isAdminComment: reads('conversation.anotherAdminIsTypingAComment'),\n  isAdminNote: reads('conversation.anotherAdminIsTypingANote'),\n  shouldDisplayAvatar: computed('isUser', 'conversation.lastPart', function() {\n    if (this.isUser) {\n      return (\n        !this.isInbox &&\n        (this.get('conversation.lastPart.isAdminPart') ||\n          this.get('conversation.lastPart.hasLightweightResponse'))\n      );\n    }\n    return true;\n  }),\n});\n\nexport default ConversationIsTypingComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Conversation::ConversationsComponent\\n  @conversations={{latestConversations}}\\n  @isFetchingConversations={{fetchAndSetLatestConversations.isRunning}}\\n  @analyticsObject=\\\"latest_conversations\\\"\\n  @title=\\\"Latest conversations\\\"\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Conversation::ConversationsComponent\\n  @conversations={{latestConversations}}\\n  @isFetchingConversations={{fetchAndSetLatestConversations.isRunning}}\\n  @analyticsObject=\\\"latest_conversations\\\"\\n  @title=\\\"Latest conversations\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/conversation/latest-conversations-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/latest-conversations-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport Conversation from 'embercom/models/conversation';\nimport DidChangeAttrs from 'ember-did-change-attrs';\n\nexport default Component.extend(DidChangeAttrs, {\n  'data-test-latest-conversations': true,\n  appService: service(),\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n  store: service(),\n  conversation: null,\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.fetchAndSetLatestConversations.perform();\n  },\n\n  didChangeAttrsConfig: {\n    attrs: ['userId', 'conversation'],\n  },\n\n  didChangeAttrs(changes) {\n    this._super(...arguments);\n\n    if (changes.userId) {\n      this.fetchAndSetLatestConversations.perform();\n    }\n  },\n\n  fetchAndSetLatestConversations: task(function*() {\n    this.set('latestConversations', null);\n    let response = yield Conversation.newSearch({\n      app_id: this.get('app.id'),\n      user_id: this.userId,\n      assignee_identifier: this.get('admin.id'),\n      ignorable_conversation_id: this.ignorableConversationId,\n      scope: 'latest_conversations',\n    });\n\n    let responseConversations = response.conversations.map(({ conversation }) => conversation);\n    this.store.pushPayload({ conversations: responseConversations });\n\n    this.set(\n      'latestConversations',\n      responseConversations.map(({ id }) => this.store.peekRecord('conversation', id)),\n    );\n  }).restartable(),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Common::Tooltips::User @userId={{@conversation.main_participant.id}}>\\n  <a\\n    href={{href-to \\\"apps.app.users.user\\\" @conversation.main_participant.user_id}}\\n    class=\\\"t__em-link\\\"\\n  ><b>{{@userName}}</b></a>\\n</Common::Tooltips::User>\", {\"contents\":\"<Common::Tooltips::User @userId={{@conversation.main_participant.id}}>\\n  <a\\n    href={{href-to \\\"apps.app.users.user\\\" @conversation.main_participant.user_id}}\\n    class=\\\"t__em-link\\\"\\n  ><b>{{@userName}}</b></a>\\n</Common::Tooltips::User>\",\"moduleName\":\"embercom/components/conversation/main-participant-tooltip.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/main-participant-tooltip.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-away-mode-warning-modal class=\\\"modal__header flex items-start\\\">\\n  <div class=\\\"modal__header__title flex-auto min-w-0\\\">\\n    <h2 class=\\\"t__h2\\\">\\n      Turn off away mode?\\n    </h2>\\n  </div>\\n  <div class=\\\"modal__header__close u__cf\\\">\\n    <a class=\\\"modal__header__close__link u__right\\\" {{action \\\"close\\\"}}>\\n      {{ic-interface-icon \\\"close\\\" solo=true}}\\n    </a>\\n  </div>\\n</div>\\n<div class=\\\"modal__body\\\">\\n  <p>\\n    You’re currently in away mode and appear away to your users.\\n  </p>\\n  <div class=\\\"h-5\\\"></div>\\n  <div>\\n    <label data-test-away-mode-ignore-when-reply>\\n      <span class=\\\"f__checkbox-wrapper\\\">\\n        <OneWayCheckbox @update={{action (mut dontAskAgain)}} />\\n      </span>\\n      <span class=\\\"f__checkbox-content\\\">\\n        Don't ask again\\n      </span>\\n    </label>\\n  </div>\\n</div>\\n<IcLegacyModalFooter as |footer|>\\n  <footer.mainButtons as |list|>\\n    <list.button\\n      @label=\\\"Ignore\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action \\\"close\\\"}}\\n    />\\n    <list.button\\n      @label=\\\"Turn off away mode\\\"\\n      @type=\\\"primary\\\"\\n      @onClick={{action \\\"disableAwayMode\\\"}}\\n      data-test-disable-away-mode={{true}}\\n    />\\n  </footer.mainButtons>\\n</IcLegacyModalFooter>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-away-mode-warning-modal class=\\\"modal__header flex items-start\\\">\\n  <div class=\\\"modal__header__title flex-auto min-w-0\\\">\\n    <h2 class=\\\"t__h2\\\">\\n      Turn off away mode?\\n    </h2>\\n  </div>\\n  <div class=\\\"modal__header__close u__cf\\\">\\n    <a class=\\\"modal__header__close__link u__right\\\" {{action \\\"close\\\"}}>\\n      {{ic-interface-icon \\\"close\\\" solo=true}}\\n    </a>\\n  </div>\\n</div>\\n<div class=\\\"modal__body\\\">\\n  <p>\\n    You’re currently in away mode and appear away to your users.\\n  </p>\\n  <div class=\\\"h-5\\\"></div>\\n  <div>\\n    <label data-test-away-mode-ignore-when-reply>\\n      <span class=\\\"f__checkbox-wrapper\\\">\\n        <OneWayCheckbox @update={{action (mut dontAskAgain)}} />\\n      </span>\\n      <span class=\\\"f__checkbox-content\\\">\\n        Don't ask again\\n      </span>\\n    </label>\\n  </div>\\n</div>\\n<IcLegacyModalFooter as |footer|>\\n  <footer.mainButtons as |list|>\\n    <list.button\\n      @label=\\\"Ignore\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action \\\"close\\\"}}\\n    />\\n    <list.button\\n      @label=\\\"Turn off away mode\\\"\\n      @type=\\\"primary\\\"\\n      @onClick={{action \\\"disableAwayMode\\\"}}\\n      data-test-disable-away-mode={{true}}\\n    />\\n  </footer.mainButtons>\\n</IcLegacyModalFooter>\\n\",\"moduleName\":\"embercom/components/conversation/modals/away-mode-warning.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/modals/away-mode-warning.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport storage from 'embercom/vendor/intercom/storage';\n\nexport default Component.extend(IntercomModal, {\n  intercomEventService: service(),\n  notificationsService: service(),\n  conversationsService: service(),\n  dontAskAgain: false,\n\n  persistDontAskAgain() {\n    let value = this.dontAskAgain;\n    let storageKey = this.get('conversationsService.SILENCE_AWAY_WARNING_KEY');\n    if (value) {\n      storage.set(storageKey, value);\n    } else {\n      storage.remove(storageKey);\n    }\n  },\n\n  actions: {\n    close() {\n      this.persistDontAskAgain();\n      this.closeModal();\n    },\n    disableAwayMode() {\n      let admin = this.admin;\n      let initialValues = admin.getProperties(['away_mode_enabled', 'reassign_conversations']);\n      admin.setProperties({\n        away_mode_enabled: false,\n        reassign_conversations: false,\n      });\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'disabled',\n        object: 'reassign_conversation_setting',\n        context: 'by_replying',\n      });\n      admin\n        .save()\n        .then(() => {\n          this.notificationsService.notifyConfirmation('You’re active again!');\n          this.send('close');\n        })\n        .catch(() => {\n          this.notificationsService.notifyError('There was a problem turning off away mode');\n          admin.setProperties(initialValues);\n        });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"text-gray h-full flex justify-center items-center\\\" ...attributes>\\n  <div data-test-conversation-restricted-message>\\n    {{#if (eq @size \\\"large\\\")}}\\n      <IcEmptyState\\n        @title=\\\"You don't have access to this conversation\\\"\\n        @description=\\\"Ask a teammate to give you permission\\\"\\n        @icon=\\\"conversation\\\"\\n      />\\n    {{else}}\\n      <p class=\\\"text-center text-sm\\\">\\n        You don't have access to this conversation\\n      </p>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"text-gray h-full flex justify-center items-center\\\" ...attributes>\\n  <div data-test-conversation-restricted-message>\\n    {{#if (eq @size \\\"large\\\")}}\\n      <IcEmptyState\\n        @title=\\\"You don't have access to this conversation\\\"\\n        @description=\\\"Ask a teammate to give you permission\\\"\\n        @icon=\\\"conversation\\\"\\n      />\\n    {{else}}\\n      <p class=\\\"text-center text-sm\\\">\\n        You don't have access to this conversation\\n      </p>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/conversation/restricted.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/restricted.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  tagName: '',\n  conversationCleaner: service(),\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    if (this._previousConversations) {\n      this.conversationCleaner.releaseMulti(this._previousConversations, 'retain component');\n    }\n    this._previousConversations = this.conversations;\n    this.conversationCleaner.retainMulti(this.conversations, 'retain component');\n  },\n\n  willDestroyElement() {\n    this._super(...arguments);\n    this.conversationCleaner.releaseMulti(this.conversations, 'retain component');\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"conversation__card__centered-row u__right\\\">\\n  {{#if shouldShowPriorityAction}}\\n    <span {{tooltip content=(if conversation.isPrioritised \\\"Remove priority\\\" \\\"Mark as priority\\\")}}>\\n      <button\\n        data-test-toggle-priority-button=\\\"{{conversation.isPrioritised}}\\\"\\n        onmouseenter={{action (mut isHoveringPriorityButton) true}}\\n        onmouseleave={{action (mut isHoveringPriorityButton) false}}\\n        class=\\\"btn o__secondary o__subtle o__icon js__change-priority-button\\\"\\n        {{action toggleConversationPriority bubbles=false}}\\n      >\\n        {{#if conversation.isPrioritised}}\\n          {{ic-interface-icon\\n            \\\"star\\\"\\n            color=(if isHoveringPriorityButton \\\"blue\\\" \\\"yellow\\\")\\n            solo=true\\n          }}\\n        {{else}}\\n          {{ic-interface-icon \\\"star-outlined\\\" solo=true}}\\n        {{/if}}\\n      </button>\\n    </span>\\n  {{/if}}\\n  {{#if shouldShowSnoozeAction}}\\n    <Inbox::SnoozeButtonComponent\\n      @conversation={{conversation}}\\n      @snoozeConversation={{snoozeConversation}}\\n      @unsnoozeConversation={{unsnoozeConversation}}\\n      @customSnoozeConversation={{customSnoozeConversation}}\\n    />\\n  {{/if}}\\n  {{#if conversation.isNotClosed}}\\n    <div class=\\\"u__relative\\\">\\n      <div\\n        class=\\\"inbox__card__header__actions\\\"\\n        data-intercom-target=\\\"close-conversaton\\\"\\n        {{tooltip content=\\\"Close conversation\\\"}}\\n      >\\n        <button\\n          data-test-close-convo-button\\n          class=\\\"btn o__secondary o__subtle o__icon\\\"\\n          {{action closeConversation bubbles=false}}\\n        >\\n          {{ic-interface-icon \\\"check\\\" solo=true}}\\n        </button>\\n      </div>\\n      {{#if isInbox}}\\n        <Inbox::ConversationRatingFeaturePointer />\\n      {{/if}}\\n    </div>\\n  {{else}}\\n    <div\\n      class=\\\"inbox__card__header__actions\\\"\\n      {{tooltip content=\\\"Reopen conversation\\\"}}\\n    >\\n      <button\\n        data-test-reopen-convo-button\\n        class=\\\"btn o__secondary o__subtle o__icon\\\"\\n        {{action reopenConversation bubbles=false}}\\n      >\\n        {{ic-interface-icon \\\"inbox\\\" solo=true}}\\n      </button>\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"conversation__card__centered-row u__right\\\">\\n  {{#if shouldShowPriorityAction}}\\n    <span {{tooltip content=(if conversation.isPrioritised \\\"Remove priority\\\" \\\"Mark as priority\\\")}}>\\n      <button\\n        data-test-toggle-priority-button=\\\"{{conversation.isPrioritised}}\\\"\\n        onmouseenter={{action (mut isHoveringPriorityButton) true}}\\n        onmouseleave={{action (mut isHoveringPriorityButton) false}}\\n        class=\\\"btn o__secondary o__subtle o__icon js__change-priority-button\\\"\\n        {{action toggleConversationPriority bubbles=false}}\\n      >\\n        {{#if conversation.isPrioritised}}\\n          {{ic-interface-icon\\n            \\\"star\\\"\\n            color=(if isHoveringPriorityButton \\\"blue\\\" \\\"yellow\\\")\\n            solo=true\\n          }}\\n        {{else}}\\n          {{ic-interface-icon \\\"star-outlined\\\" solo=true}}\\n        {{/if}}\\n      </button>\\n    </span>\\n  {{/if}}\\n  {{#if shouldShowSnoozeAction}}\\n    <Inbox::SnoozeButtonComponent\\n      @conversation={{conversation}}\\n      @snoozeConversation={{snoozeConversation}}\\n      @unsnoozeConversation={{unsnoozeConversation}}\\n      @customSnoozeConversation={{customSnoozeConversation}}\\n    />\\n  {{/if}}\\n  {{#if conversation.isNotClosed}}\\n    <div class=\\\"u__relative\\\">\\n      <div\\n        class=\\\"inbox__card__header__actions\\\"\\n        data-intercom-target=\\\"close-conversaton\\\"\\n        {{tooltip content=\\\"Close conversation\\\"}}\\n      >\\n        <button\\n          data-test-close-convo-button\\n          class=\\\"btn o__secondary o__subtle o__icon\\\"\\n          {{action closeConversation bubbles=false}}\\n        >\\n          {{ic-interface-icon \\\"check\\\" solo=true}}\\n        </button>\\n      </div>\\n      {{#if isInbox}}\\n        <Inbox::ConversationRatingFeaturePointer />\\n      {{/if}}\\n    </div>\\n  {{else}}\\n    <div\\n      class=\\\"inbox__card__header__actions\\\"\\n      {{tooltip content=\\\"Reopen conversation\\\"}}\\n    >\\n      <button\\n        data-test-reopen-convo-button\\n        class=\\\"btn o__secondary o__subtle o__icon\\\"\\n        {{action reopenConversation bubbles=false}}\\n      >\\n        {{ic-interface-icon \\\"inbox\\\" solo=true}}\\n      </button>\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/conversation/shared/card-header/actions.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/shared/card-header/actions.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nexport default Component.extend({\n  tagName: '',\n  isInbox: false,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Tooltips::RestrictedAccess\\n  @isDisabled={{not readOnly}}\\n  @permission=\\\"can_reassign_conversations\\\"\\n  @intent=\\\"re-assign this conversation\\\"\\n  @object=\\\"conversation_assignment\\\"\\n  class=\\\"u__left js__assignment-admin-dropdown\\\"\\n  data-test-assignment-overlay-opener\\n>\\n  {{#if this.app.canAssignToTeamAndTeammate}}\\n    <Assignee::Selector\\n      @assignees={{this.availableAdmins}}\\n      @readOnly={{this.readOnly}}\\n      @currentAdmin={{this.admin}}\\n      @onSelectItem={{action \\\"assignConversation\\\"}}\\n      @selectedAdminId={{this.adminAssigneeValue}}\\n      @selectedTeamId={{this.teamAssigneeValue}}\\n      @clearAdminWhenTeamChanges={{true}}\\n    />\\n  {{else}}\\n    <Admin::NewSelector\\n      @assignees={{this.availableAdmins}}\\n      @selectedValue={{this.assigneeValue}}\\n      @onSelectItem={{action \\\"assignConversation\\\"}}\\n      @showTeams={{true}}\\n      @buttonIsSubtle={{true}}\\n      @readOnly={{this.readOnly}}\\n      @mode=\\\"block\\\"\\n      data-test-assignment-admin-dropdown={{true}}\\n    />\\n  {{/if}}\\n</Tooltips::RestrictedAccess>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Tooltips::RestrictedAccess\\n  @isDisabled={{not readOnly}}\\n  @permission=\\\"can_reassign_conversations\\\"\\n  @intent=\\\"re-assign this conversation\\\"\\n  @object=\\\"conversation_assignment\\\"\\n  class=\\\"u__left js__assignment-admin-dropdown\\\"\\n  data-test-assignment-overlay-opener\\n>\\n  {{#if this.app.canAssignToTeamAndTeammate}}\\n    <Assignee::Selector\\n      @assignees={{this.availableAdmins}}\\n      @readOnly={{this.readOnly}}\\n      @currentAdmin={{this.admin}}\\n      @onSelectItem={{action \\\"assignConversation\\\"}}\\n      @selectedAdminId={{this.adminAssigneeValue}}\\n      @selectedTeamId={{this.teamAssigneeValue}}\\n      @clearAdminWhenTeamChanges={{true}}\\n    />\\n  {{else}}\\n    <Admin::NewSelector\\n      @assignees={{this.availableAdmins}}\\n      @selectedValue={{this.assigneeValue}}\\n      @onSelectItem={{action \\\"assignConversation\\\"}}\\n      @showTeams={{true}}\\n      @buttonIsSubtle={{true}}\\n      @readOnly={{this.readOnly}}\\n      @mode=\\\"block\\\"\\n      data-test-assignment-admin-dropdown={{true}}\\n    />\\n  {{/if}}\\n</Tooltips::RestrictedAccess>\\n\",\"moduleName\":\"embercom/components/conversation/shared/card-header/assignment.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/shared/card-header/assignment.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { isNone } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport { readOnly, not, or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { equalToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport DefaultAvatars from '@intercom/embercom-core/lib/default-avatars';\nimport Admin from 'embercom/models/admin';\n\nexport default Component.extend({\n  tagName: '',\n\n  conversationsService: service(),\n  intercomEventService: service(),\n  appService: service(),\n  store: service(),\n\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n\n  availableAdmins: computed(\n    'app.assignableAdmins.[]',\n    'app.assignableAdminsAndOperator.[]',\n    'conversation.assignedToOperator',\n    function() {\n      return this.conversation.assignedToOperator\n        ? this.app.assignableAdminsAndOperator\n        : this.app.assignableAdmins;\n    },\n  ),\n\n  isAdminAssignedToCurrentConversation: equalToProperty('conversation.assignee', 'admin'),\n  canAdminReassignCurrentConversation: or(\n    // Can reassign if they have reassign permission\n    'conversation.assignee.isTeam', // Can reassign if a team is assigned to a conversation\n    'conversation.unassigned', // Can reassign if the conversation is unassigned\n    'isAdminAssignedToCurrentConversation', // Can reassign if they're assigned\n    'admin.currentAppPermissions.can_reassign_conversations',\n  ),\n  readOnly: not('canAdminReassignCurrentConversation'),\n\n  defaultTeammateAvatar: DefaultAvatars.admins[128],\n\n  assigneeValue: computed('conversation.assignee_id', function() {\n    let id = this.get('conversation.assignee_id');\n    if (isNone(id) || id === '') {\n      return '0';\n    } else {\n      return id;\n    }\n  }),\n\n  adminAssigneeValue: computed('conversation.admin_assignee_id', function() {\n    let id = this.get('conversation.admin_assignee_id');\n    if (isNone(id) || id === '') {\n      return '0';\n    } else {\n      return id;\n    }\n  }),\n\n  teamAssigneeValue: computed('conversation.team_assignee_id', function() {\n    let id = this.get('conversation.team_assignee_id');\n    if (isNone(id) || id === '') {\n      return '0';\n    } else {\n      return id;\n    }\n  }),\n\n  trackAssignment({ assigneeId, adminId, teamId }) {\n    this.intercomEventService.trackAnalyticsEvent({\n      assignee_id: assigneeId,\n      admin_assignee_id: adminId,\n      team_assignee_id: teamId,\n      assignee_changed: assigneeId && assigneeId !== this.get('conversation.assignee_id'),\n      admin_assignee_changed: adminId && adminId !== this.get('conversation.admin_assignee_id'),\n      team_assignee_changed: teamId && teamId !== this.get('conversation.team_assignee_id'),\n      action: 'assigned_conversation',\n      object: 'inbox_conversation_header',\n      place: 'inbox',\n      has_mcc: this.app.canAssignToTeamAndTeammate,\n    });\n  },\n\n  actions: {\n    assignConversation(assignment) {\n      if (this.app.canAssignToTeamAndTeammate) {\n        let shouldCreatePart =\n          assignment.adminId !== this.get('conversation.admin_assignee_id') ||\n          assignment.teamId !== this.get('conversation.team_assignee_id');\n        if (shouldCreatePart) {\n          this.trackAssignment(assignment);\n          this.conversationsService.addPartAndSave(\n            this.conversation,\n            'assignment',\n            [],\n            null,\n            assignment,\n          );\n          if (this.admin.id !== assignment.adminId) {\n            this.changeToNotePane();\n          }\n        }\n      } else if (assignment !== this.get('conversation.assignee_id')) {\n        let assignee = Admin.peekAndMaybeLoad(this.store, assignment);\n        this.trackAssignment({ assigneeId: assignment });\n        this.conversationsService.addPartAndSave(\n          this.conversation,\n          'assignment',\n          [],\n          null,\n          assignee,\n        );\n        if (this.admin !== assignee) {\n          this.changeToNotePane();\n        }\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcButton\\n  class=\\\"u__left\\\"\\n  @icon=\\\"tag\\\"\\n  @type=\\\"secondary\\\"\\n  @subtle={{true}}\\n  @onClick={{action this.openTaggingModal}}\\n  @label={{or this.conversation.taggings.length ''}}\\n  @disabled={{this.tagsAreLoading}}\\n  data-test-tag-conversation-button\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcButton\\n  class=\\\"u__left\\\"\\n  @icon=\\\"tag\\\"\\n  @type=\\\"secondary\\\"\\n  @subtle={{true}}\\n  @onClick={{action this.openTaggingModal}}\\n  @label={{or this.conversation.taggings.length ''}}\\n  @disabled={{this.tagsAreLoading}}\\n  data-test-tag-conversation-button\\n/>\\n\",\"moduleName\":\"embercom/components/conversation/shared/card-header/tags.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/shared/card-header/tags.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  tagName: '',\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.conversation.taggings.reload();\n  },\n\n  tagsAreLoading: computed('conversation.taggings.isPending', function() {\n    return (\n      this.conversation.taggings.isPending && this.conversation.hasMany('taggings').value() === null\n    );\n  }),\n\n  openTaggingModal: action(function(part) {\n    this.modalService.openModal('apps/app/inbox/inbox/conversations/modals/tagging', {\n      taggable: this.conversation,\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"conversation__card__title__text u__one-truncated-line\\\" ...attributes>\\n  {{#if @conversation.shouldDisplayMessageOnHeader}}\\n    {{#if @conversation.lastPart.deleted}}\\n      {{if @conversation.isOneToOneConversation \\\"Conversation\\\" \\\"Message\\\"}}\\n    {{else}}\\n      {{#if @conversation.isOneToOneConversation}}\\n        <LinkTo\\n          @route={{this.app.conversationRedirectRoute}}\\n          @models={{array this.app @conversation}}\\n          @query={{hash redirectTo=@conversationRedirectTo}}\\n          class={{'conversation__card__title__em-link'}}\\n        >\\n          Conversation\\n        </LinkTo>\\n      {{else}}\\n        <LinkTo\\n          @route={{@conversation.lastPart.messageShowPageRoute}}\\n          @model={{@conversation.lastPart.message_id}}\\n          class={{'conversation__card__title__em-link'}}\\n        >\\n          Message\\n        </LinkTo>\\n      {{/if}}\\n    {{/if}}\\n    {{if @conversation.isOneToOneConversation \\\"with\\\" \\\"to\\\"}}\\n    <LinkTo\\n      @route=\\\"apps.app.users.user\\\"\\n      @model={{@conversation.main_participant.id}}\\n      class={{'conversation__card__title__em-link'}}\\n    >\\n      {{@conversation.main_participant.display_as}}\\n    </LinkTo>\\n  {{else}}\\n    {{~#if this.canUseEmberConversationTitle}}\\n      <div class=\\\"user-info\\\">\\n        {{~#if @showConversationLink~}}\\n          <LinkTo\\n            @route={{this.app.conversationRedirectRoute}}\\n            @models={{array this.app @conversation}}\\n            @query={{hash redirectTo=@conversationRedirectTo}}\\n            class='conversation__card__title__em-link'\\n          >Conversation</LinkTo>\\n          with\\n        {{~/if}}\\n        <Common::Tooltips::User @userId={{@conversation.main_participant.id}}>\\n          <LinkTo @route=\\\"apps.app.users.user\\\" @model={{@conversation.main_participant.user_id}} class={{'conversation__card__title__em-link'}}>\\n            <span class=\\\"{{if @conversation.main_participant.displayAsDidUpdate \\\"a__fade-in\\\"}}\\\">{{this.mainParticipantName}}</span>\\n          </LinkTo>\\n        </Common::Tooltips::User>\\n        {{~#if @conversation.isGroupConversation~}}\\n          and\\n          <IcTooltip\\n            @isInteractive={{true}}\\n            @isDelayed={{true}}\\n            @placement=\\\"bottom\\\"\\n            as |t|\\n          >\\n            <t.opener>\\n              <a class=\\\"conversation__card__title__em-link u__mr__5\\\">\\n                {{@conversation.other_participant_count}} {{inflector-helper \\\"other\\\" @conversation.other_participant_count}}\\n              </a>\\n            </t.opener>\\n            <t.content class=\\\"inbox__conversation-header__participants-list\\\">\\n              <div class=\\\"flex flex-col gap-2 pt-1 pb-1\\\">\\n                {{#each @conversation.otherParticipants as |participant|}}\\n                  <div class=\\\"avatar__container o__s\\\">\\n                    <IcAvatarComponent @model={{participant}} @size=\\\"s\\\" @contained={{true}} />\\n                    <LinkTo @route=\\\"apps.app.users.user\\\" @model={{participant.user_id}}>\\n                      <Text @linkStyling=\\\"subtle\\\">\\n                        {{participant.display_as}}\\n                      </Text>\\n                    </LinkTo>\\n                  </div>\\n                {{/each}}\\n              </div>\\n            </t.content>\\n          </IcTooltip>\\n        {{~/if~}}\\n      </div>\\n      <div\\n        {{on \\\"mouseenter\\\" (fn (set this.isHovering true))}}\\n        {{on \\\"mouseleave\\\" (fn (set this.isHovering false))}}\\n        data-test-conversation-title-edit-container\\n      >\\n        <Pulse::ExpandingInput\\n          @value={{this.titleValue}}\\n          @onUpdate={{set this.titleValue}}\\n          @onFocusIn={{set this.isFocused true}}\\n          @onFocusOut={{this.updateConversationTitle}}\\n          @isReadOnly={{@readOnly}}\\n          @blurOnEnterKey={{true}}\\n          {{on \\\"wheel\\\" this.handleWheel}}\\n          maxlength={{255}}\\n          placeholder=\\\"Add conversation title\\\"\\n          class=\\\"text-sm min-w-12 max-w-full text-gray pb-px cursor-pointer conversation__card__title__attribute__editor\\\"\\n          data-test-conversation-title-edit\\n        />\\n        {{#if this.isHovering }}\\n          <IcTooltipIcon class=\\\"text-gray\\\" @isInteractive={{true}} data-test-title-tooltip>\\n          {{#if this.titleValue }}\\n            <p>\\n              Changes to the title are only visible to teammates\\n            </p>\\n          {{else}}\\n            <p>\\n              This is only visible to teammates\\n            </p>\\n          {{/if}}\\n          </IcTooltipIcon>\\n        {{/if}}\\n      </div>\\n    {{else}}\\n      {{#if @showConversationLink~}}\\n        <LinkTo\\n          @route={{this.app.conversationRedirectRoute}}\\n          @models={{array this.app @conversation}}\\n          @query={{hash redirectTo=@conversationRedirectTo}}\\n          class='conversation__card__title__em-link'\\n        >Conversation</LinkTo>\\n        with\\n      {{~/if}}\\n      <Common::Tooltips::User @userId={{@conversation.main_participant.id}}>\\n        <LinkTo @route=\\\"apps.app.users.user\\\" @model={{@conversation.main_participant.user_id}} class={{'conversation__card__title__em-link'}}>\\n          <span class=\\\"{{if @conversation.main_participant.displayAsDidUpdate \\\"a__fade-in\\\"}}\\\">{{this.mainParticipantName}}</span>\\n        </LinkTo>\\n      </Common::Tooltips::User>\\n      {{#if @conversation.isGroupConversation~}}\\n        and\\n        <IcTooltip\\n          @isInteractive={{true}}\\n          @isDelayed={{true}}\\n          @placement=\\\"bottom\\\"\\n          as |t|\\n        >\\n          <t.opener>\\n            <a class=\\\"conversation__card__title__em-link u__mr__5\\\">\\n              {{@conversation.other_participant_count}} {{inflector-helper \\\"other\\\" @conversation.other_participant_count}}\\n            </a>\\n          </t.opener>\\n          <t.content class=\\\"inbox__conversation-header__participants-list\\\">\\n            <div class=\\\"flex flex-col gap-2 pt-1 pb-1\\\">\\n              {{#each @conversation.otherParticipants as |participant|}}\\n                <div class=\\\"avatar__container o__s\\\">\\n                  <IcAvatarComponent @model={{participant}} @size=\\\"s\\\" @contained={{true}} />\\n                  <LinkTo @route=\\\"apps.app.users.user\\\" @model={{participant.user_id}}>\\n                    <Text @linkStyling=\\\"subtle\\\">\\n                      {{participant.display_as}}\\n                    </Text>\\n                  </LinkTo>\\n                </div>\\n              {{/each}}\\n            </div>\\n          </t.content>\\n        </IcTooltip>\\n      {{~/if~}}\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"conversation__card__title__text u__one-truncated-line\\\" ...attributes>\\n  {{#if @conversation.shouldDisplayMessageOnHeader}}\\n    {{#if @conversation.lastPart.deleted}}\\n      {{if @conversation.isOneToOneConversation \\\"Conversation\\\" \\\"Message\\\"}}\\n    {{else}}\\n      {{#if @conversation.isOneToOneConversation}}\\n        <LinkTo\\n          @route={{this.app.conversationRedirectRoute}}\\n          @models={{array this.app @conversation}}\\n          @query={{hash redirectTo=@conversationRedirectTo}}\\n          class={{'conversation__card__title__em-link'}}\\n        >\\n          Conversation\\n        </LinkTo>\\n      {{else}}\\n        <LinkTo\\n          @route={{@conversation.lastPart.messageShowPageRoute}}\\n          @model={{@conversation.lastPart.message_id}}\\n          class={{'conversation__card__title__em-link'}}\\n        >\\n          Message\\n        </LinkTo>\\n      {{/if}}\\n    {{/if}}\\n    {{if @conversation.isOneToOneConversation \\\"with\\\" \\\"to\\\"}}\\n    <LinkTo\\n      @route=\\\"apps.app.users.user\\\"\\n      @model={{@conversation.main_participant.id}}\\n      class={{'conversation__card__title__em-link'}}\\n    >\\n      {{@conversation.main_participant.display_as}}\\n    </LinkTo>\\n  {{else}}\\n    {{~#if this.canUseEmberConversationTitle}}\\n      <div class=\\\"user-info\\\">\\n        {{~#if @showConversationLink~}}\\n          <LinkTo\\n            @route={{this.app.conversationRedirectRoute}}\\n            @models={{array this.app @conversation}}\\n            @query={{hash redirectTo=@conversationRedirectTo}}\\n            class='conversation__card__title__em-link'\\n          >Conversation</LinkTo>\\n          with\\n        {{~/if}}\\n        <Common::Tooltips::User @userId={{@conversation.main_participant.id}}>\\n          <LinkTo @route=\\\"apps.app.users.user\\\" @model={{@conversation.main_participant.user_id}} class={{'conversation__card__title__em-link'}}>\\n            <span class=\\\"{{if @conversation.main_participant.displayAsDidUpdate \\\"a__fade-in\\\"}}\\\">{{this.mainParticipantName}}</span>\\n          </LinkTo>\\n        </Common::Tooltips::User>\\n        {{~#if @conversation.isGroupConversation~}}\\n          and\\n          <IcTooltip\\n            @isInteractive={{true}}\\n            @isDelayed={{true}}\\n            @placement=\\\"bottom\\\"\\n            as |t|\\n          >\\n            <t.opener>\\n              <a class=\\\"conversation__card__title__em-link u__mr__5\\\">\\n                {{@conversation.other_participant_count}} {{inflector-helper \\\"other\\\" @conversation.other_participant_count}}\\n              </a>\\n            </t.opener>\\n            <t.content class=\\\"inbox__conversation-header__participants-list\\\">\\n              <div class=\\\"flex flex-col gap-2 pt-1 pb-1\\\">\\n                {{#each @conversation.otherParticipants as |participant|}}\\n                  <div class=\\\"avatar__container o__s\\\">\\n                    <IcAvatarComponent @model={{participant}} @size=\\\"s\\\" @contained={{true}} />\\n                    <LinkTo @route=\\\"apps.app.users.user\\\" @model={{participant.user_id}}>\\n                      <Text @linkStyling=\\\"subtle\\\">\\n                        {{participant.display_as}}\\n                      </Text>\\n                    </LinkTo>\\n                  </div>\\n                {{/each}}\\n              </div>\\n            </t.content>\\n          </IcTooltip>\\n        {{~/if~}}\\n      </div>\\n      <div\\n        {{on \\\"mouseenter\\\" (fn (set this.isHovering true))}}\\n        {{on \\\"mouseleave\\\" (fn (set this.isHovering false))}}\\n        data-test-conversation-title-edit-container\\n      >\\n        <Pulse::ExpandingInput\\n          @value={{this.titleValue}}\\n          @onUpdate={{set this.titleValue}}\\n          @onFocusIn={{set this.isFocused true}}\\n          @onFocusOut={{this.updateConversationTitle}}\\n          @isReadOnly={{@readOnly}}\\n          @blurOnEnterKey={{true}}\\n          {{on \\\"wheel\\\" this.handleWheel}}\\n          maxlength={{255}}\\n          placeholder=\\\"Add conversation title\\\"\\n          class=\\\"text-sm min-w-12 max-w-full text-gray pb-px cursor-pointer conversation__card__title__attribute__editor\\\"\\n          data-test-conversation-title-edit\\n        />\\n        {{#if this.isHovering }}\\n          <IcTooltipIcon class=\\\"text-gray\\\" @isInteractive={{true}} data-test-title-tooltip>\\n          {{#if this.titleValue }}\\n            <p>\\n              Changes to the title are only visible to teammates\\n            </p>\\n          {{else}}\\n            <p>\\n              This is only visible to teammates\\n            </p>\\n          {{/if}}\\n          </IcTooltipIcon>\\n        {{/if}}\\n      </div>\\n    {{else}}\\n      {{#if @showConversationLink~}}\\n        <LinkTo\\n          @route={{this.app.conversationRedirectRoute}}\\n          @models={{array this.app @conversation}}\\n          @query={{hash redirectTo=@conversationRedirectTo}}\\n          class='conversation__card__title__em-link'\\n        >Conversation</LinkTo>\\n        with\\n      {{~/if}}\\n      <Common::Tooltips::User @userId={{@conversation.main_participant.id}}>\\n        <LinkTo @route=\\\"apps.app.users.user\\\" @model={{@conversation.main_participant.user_id}} class={{'conversation__card__title__em-link'}}>\\n          <span class=\\\"{{if @conversation.main_participant.displayAsDidUpdate \\\"a__fade-in\\\"}}\\\">{{this.mainParticipantName}}</span>\\n        </LinkTo>\\n      </Common::Tooltips::User>\\n      {{#if @conversation.isGroupConversation~}}\\n        and\\n        <IcTooltip\\n          @isInteractive={{true}}\\n          @isDelayed={{true}}\\n          @placement=\\\"bottom\\\"\\n          as |t|\\n        >\\n          <t.opener>\\n            <a class=\\\"conversation__card__title__em-link u__mr__5\\\">\\n              {{@conversation.other_participant_count}} {{inflector-helper \\\"other\\\" @conversation.other_participant_count}}\\n            </a>\\n          </t.opener>\\n          <t.content class=\\\"inbox__conversation-header__participants-list\\\">\\n            <div class=\\\"flex flex-col gap-2 pt-1 pb-1\\\">\\n              {{#each @conversation.otherParticipants as |participant|}}\\n                <div class=\\\"avatar__container o__s\\\">\\n                  <IcAvatarComponent @model={{participant}} @size=\\\"s\\\" @contained={{true}} />\\n                  <LinkTo @route=\\\"apps.app.users.user\\\" @model={{participant.user_id}}>\\n                    <Text @linkStyling=\\\"subtle\\\">\\n                      {{participant.display_as}}\\n                    </Text>\\n                  </LinkTo>\\n                </div>\\n              {{/each}}\\n            </div>\\n          </t.content>\\n        </IcTooltip>\\n      {{~/if~}}\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/conversation/shared/card-header/title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/shared/card-header/title.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class Title extends Component {\n  @service appService;\n  @service conversationsService;\n  @service notificationsService;\n\n  @tracked isEditing = false;\n  @tracked isFocused = false;\n  @tracked isHovering = false;\n\n  get canUseEmberConversationTitle() {\n    return this.appService.app.canUseEmberConversationTitle;\n  }\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get mainParticipantName() {\n    if (this.args.conversation?.isGroupConversation) {\n      return this.args.conversation?.main_participant?.firstName;\n    } else {\n      return this.args.conversation?.main_participant?.displayAs;\n    }\n  }\n\n  get titleValue() {\n    if (this.isEditing) {\n      return this.titleInput;\n    }\n    return this.args.conversation?.title;\n  }\n\n  set titleValue(value) {\n    this.isEditing = true;\n    this.titleInput = value;\n  }\n\n  @action\n  updateConversationTitle() {\n    let previousTitle = this.args.conversation?.title === null ? '' : this.args.conversation?.title;\n    this.titleValue = this.titleValue?.trim();\n    if (this.titleValue === previousTitle) {\n      this.isEditing = false;\n      this.isFocused = false;\n      return;\n    }\n    this.conversationsService\n      .addEventPartAndSave(this.args.conversation, 'title_changed', {\n        title: this.titleInput,\n      })\n      .catch(() =>\n        this.notificationsService.notifyError(\n          'An error occurred while trying to change title. Please try again.',\n        ),\n      );\n    this.isEditing = false;\n    this.isFocused = false;\n  }\n\n  @action\n  handleWheel(event) {\n    if (!this.isFocused) {\n      event.preventDefault();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<PulseCandidate::SideDrawer\\n  @onClose={{@onClose}}\\n  @isOpen={{@isOpen}}\\n  as |drawer|\\n>\\n  <drawer.Header>\\n    {{@header}}\\n  </drawer.Header>\\n  <drawer.Body class=\\\"inbox__conversation-side-drawer__body\\\">\\n    <IcCard @padding=\\\"none\\\" class=\\\"inbox__conversation-side-drawer__card\\\">\\n      {{#if (and (has-feature \\\"restrict-conversation-access\\\") @conversation.redacted)}}\\n        <Conversation::Restricted @size=\\\"large\\\" />\\n      {{else}}\\n        <Inbox::CardHeaderComponent\\n          class=\\\"inbox__conversation-side-drawer__header\\\"\\n          @admin={{@admin}}\\n          @conversation={{@conversation}}\\n          @streamAndControls={{this.streamAndControls}}\\n          @isInbox={{false}}\\n          @readOnly={{@readOnly}}\\n          @hideExportButton={{true}}\\n          @showConversationLink={{true}}\\n          @inModal={{false}}\\n          @changeToNotePane={{this.changeToNotePane}}\\n        />\\n\\n        <Conversation::StreamAndControls\\n          class=\\\"inbox__conversation-side-drawer__stream-container\\\"\\n          @streamClass=\\\"inbox__conversation-side-drawer__stream\\\"\\n          @actionReceiver={{this.streamAndControls}}\\n          @conversation={{@conversation}}\\n          @isInbox={{false}}\\n          @readOnly={{@readOnly}}\\n          @hideControls={{@readOnly}}\\n          @keyboardPriority={{1}}\\n        />\\n      {{/if}}\\n    </IcCard>\\n  </drawer.Body>\\n</PulseCandidate::SideDrawer>\\n\", {\"contents\":\"<PulseCandidate::SideDrawer\\n  @onClose={{@onClose}}\\n  @isOpen={{@isOpen}}\\n  as |drawer|\\n>\\n  <drawer.Header>\\n    {{@header}}\\n  </drawer.Header>\\n  <drawer.Body class=\\\"inbox__conversation-side-drawer__body\\\">\\n    <IcCard @padding=\\\"none\\\" class=\\\"inbox__conversation-side-drawer__card\\\">\\n      {{#if (and (has-feature \\\"restrict-conversation-access\\\") @conversation.redacted)}}\\n        <Conversation::Restricted @size=\\\"large\\\" />\\n      {{else}}\\n        <Inbox::CardHeaderComponent\\n          class=\\\"inbox__conversation-side-drawer__header\\\"\\n          @admin={{@admin}}\\n          @conversation={{@conversation}}\\n          @streamAndControls={{this.streamAndControls}}\\n          @isInbox={{false}}\\n          @readOnly={{@readOnly}}\\n          @hideExportButton={{true}}\\n          @showConversationLink={{true}}\\n          @inModal={{false}}\\n          @changeToNotePane={{this.changeToNotePane}}\\n        />\\n\\n        <Conversation::StreamAndControls\\n          class=\\\"inbox__conversation-side-drawer__stream-container\\\"\\n          @streamClass=\\\"inbox__conversation-side-drawer__stream\\\"\\n          @actionReceiver={{this.streamAndControls}}\\n          @conversation={{@conversation}}\\n          @isInbox={{false}}\\n          @readOnly={{@readOnly}}\\n          @hideControls={{@readOnly}}\\n          @keyboardPriority={{1}}\\n        />\\n      {{/if}}\\n    </IcCard>\\n  </drawer.Body>\\n</PulseCandidate::SideDrawer>\\n\",\"moduleName\":\"embercom/components/conversation/side-drawer-conversation.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/side-drawer-conversation.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class SideDrawerConversation extends Component {\n  @action\n  changeToNotePane() {\n    this.streamAndControls.send('changeToNotePane');\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Conversation::ConversationsComponent\\n  @conversations={{similarConversations}}\\n  @isFetchingConversations={{fetchAndSetSimilarConversations.isRunning}}\\n  @analyticsObject=\\\"similar_conversations\\\"\\n  @title=\\\"Similar conversations\\\"\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Conversation::ConversationsComponent\\n  @conversations={{similarConversations}}\\n  @isFetchingConversations={{fetchAndSetSimilarConversations.isRunning}}\\n  @analyticsObject=\\\"similar_conversations\\\"\\n  @title=\\\"Similar conversations\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/conversation/similar-conversations-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/similar-conversations-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport ajax from 'embercom/lib/ajax';\nimport DidChangeAttrs from 'ember-did-change-attrs';\n\nexport default Component.extend(DidChangeAttrs, {\n  'data-test-similar-conversations': true,\n  store: service(),\n  appService: service(),\n  intercomEventService: service(),\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.fetchAndSetSimilarConversations.perform();\n  },\n\n  didChangeAttrsConfig: {\n    attrs: ['conversationId'],\n  },\n\n  didChangeAttrs(changes) {\n    this._super(...arguments);\n\n    if (changes.conversationId) {\n      this.fetchAndSetSimilarConversations.perform();\n    }\n  },\n\n  fetchAndSetSimilarConversations: task(function*() {\n    this.set('similarConversations', null);\n\n    let conversations = yield ajax({\n      url: `/ember/conversations/similar_conversations`,\n      type: 'GET',\n      data: {\n        conversation_id: this.conversationId,\n        app_id: this.get('appService.app.id'),\n      },\n    });\n\n    this.store.pushPayload({ conversations });\n    this.set(\n      'similarConversations',\n      conversations.map(({ id }) => this.store.peekRecord('conversation', id)),\n    );\n\n    this.trackSimilarConversationsLoad(conversations.map(c => c.id));\n  }).restartable(),\n\n  trackSimilarConversationsLoad(conversation_ids) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: 'similar_conversations',\n      place: 'inbox',\n      conversation_ids,\n    });\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Conversation::Stream::BackgroundComponent @background={{background}} />\\n\\n  {{#if conversation.showFacebookWarningBanner}}\\n    <IcBanner\\n      @type=\\\"warning\\\"\\n    >\\n      You may not be able to reply to this conversation. Facebook does not allow sending messages more than {{#if (has-feature \\\"facebook_send_as_human_agent\\\")}}7 days{{else}}24 hours{{/if}} after the user interacted with your page. More details available\\n      <a href=\\\"https://developers.facebook.com/docs/facebook-login/permissions/#reference-pages_messaging\\\" rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\">here</a>\\n    </IcBanner>\\n  {{else if (and conversation.assignedToOperator (not hideOperatorBanner))}}\\n    <div class=\\\"conversation__stream__operator-warning\\\" data-test-operator-warning-banner>\\n      <IcBanner\\n        @text={{concat conversation.assignee.displayAs \\\" is handling this conversation. Sending a reply will \\\" this.operatorInboxInterruptionAction \\\".\\\"}}\\n        @type=\\\"warning\\\"\\n        @floating={{true}}\\n        @onHideClick={{action (mut hideOperatorBanner) true }}\\n      />\\n    </div>\\n  {{/if}}\\n  <Conversation::StreamComponent\\n    @actionReceiver={{conversationStream}}\\n    @conversation={{conversation}}\\n    class=\\\"conversation__stream u__relative u__3dfix {{if streamClass streamClass \\\"flex-1\\\"}} {{if notInbox \\\"card__expanded-content o__visible\\\"}}\\\"\\n    @isInbox={{isInbox}}\\n    @readOnly={{readOnly}}\\n    @openSavedRepliesModal={{action \\\"openSavedRepliesModal\\\"}}\\n  />\\n  {{#unless this.hideControls}}\\n    <Conversation::Controls::ControlsComponent\\n      @actionReceiver={{conversationControls}}\\n      @conversation={{conversation}}\\n      @openSavedRepliesModal={{action \\\"openSavedRepliesModal\\\"}}\\n      @scrollStreamToBottom={{action \\\"scrollStreamToBottom\\\"}}\\n      @inConversationCard={{notInbox}}\\n      @composerComponent={{composerComponent}}\\n      @isInbox={{isInbox}}\\n      @openAppsPopover={{openAppsPopover}}\\n      @keyboardPriority={{@keyboardPriority}}\\n    />\\n  {{/unless}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Conversation::Stream::BackgroundComponent @background={{background}} />\\n\\n  {{#if conversation.showFacebookWarningBanner}}\\n    <IcBanner\\n      @type=\\\"warning\\\"\\n    >\\n      You may not be able to reply to this conversation. Facebook does not allow sending messages more than {{#if (has-feature \\\"facebook_send_as_human_agent\\\")}}7 days{{else}}24 hours{{/if}} after the user interacted with your page. More details available\\n      <a href=\\\"https://developers.facebook.com/docs/facebook-login/permissions/#reference-pages_messaging\\\" rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\">here</a>\\n    </IcBanner>\\n  {{else if (and conversation.assignedToOperator (not hideOperatorBanner))}}\\n    <div class=\\\"conversation__stream__operator-warning\\\" data-test-operator-warning-banner>\\n      <IcBanner\\n        @text={{concat conversation.assignee.displayAs \\\" is handling this conversation. Sending a reply will \\\" this.operatorInboxInterruptionAction \\\".\\\"}}\\n        @type=\\\"warning\\\"\\n        @floating={{true}}\\n        @onHideClick={{action (mut hideOperatorBanner) true }}\\n      />\\n    </div>\\n  {{/if}}\\n  <Conversation::StreamComponent\\n    @actionReceiver={{conversationStream}}\\n    @conversation={{conversation}}\\n    class=\\\"conversation__stream u__relative u__3dfix {{if streamClass streamClass \\\"flex-1\\\"}} {{if notInbox \\\"card__expanded-content o__visible\\\"}}\\\"\\n    @isInbox={{isInbox}}\\n    @readOnly={{readOnly}}\\n    @openSavedRepliesModal={{action \\\"openSavedRepliesModal\\\"}}\\n  />\\n  {{#unless this.hideControls}}\\n    <Conversation::Controls::ControlsComponent\\n      @actionReceiver={{conversationControls}}\\n      @conversation={{conversation}}\\n      @openSavedRepliesModal={{action \\\"openSavedRepliesModal\\\"}}\\n      @scrollStreamToBottom={{action \\\"scrollStreamToBottom\\\"}}\\n      @inConversationCard={{notInbox}}\\n      @composerComponent={{composerComponent}}\\n      @isInbox={{isInbox}}\\n      @openAppsPopover={{openAppsPopover}}\\n      @keyboardPriority={{@keyboardPriority}}\\n    />\\n  {{/unless}}\\n\",\"moduleName\":\"embercom/components/conversation/stream-and-controls.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream-and-controls.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly, not, or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport InboundActions from 'ember-component-inbound-actions/inbound-actions';\n\nexport default Component.extend(InboundActions, {\n  appService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n\n  notReadOnly: not('readOnly'),\n  notInbox: not('isInbox'),\n  hideControls: or('readOnly', 'conversation.fromDeletedUser'),\n\n  operatorInboxInterruptionAction: computed('admin.assign_conversations_on_reply', function() {\n    if (this.admin?.assign_conversations_on_reply) {\n      return 'assign it to you';\n    } else {\n      return 'unassign it';\n    }\n  }),\n\n  actions: {\n    openSavedRepliesModal(options) {\n      this.modalService.openModal('apps/app/inbox/inbox/conversations/modals/saved-replies', {\n        selectedDraftPart: options.activePane,\n        conversation: this.conversation,\n        composerComponent: this.composerComponent,\n        admin: this.admin,\n        mode: options.mode,\n        part: options.part,\n        filterQuery: options.filterQuery,\n      });\n    },\n\n    changeToNotePane() {\n      this.conversationControls.send('changeToNotePane');\n    },\n\n    focusComposerTab(tab) {\n      this.conversationControls.send('focusComposerTab', tab);\n    },\n\n    scrollStreamToBottom() {\n      if (!this.conversationStream) {\n        return;\n      }\n      this.conversationStream.send('scrollToBottom');\n    },\n    resetTypingIndicators() {\n      if (!this.conversationStream) {\n        return;\n      }\n      this.conversationStream.send('resetTypingIndicators');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if conversation.syncedPartList.isLoadingUntilPart}}\\n  <div class=\\\"u__center-item\\\">\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n  </div>\\n{{else}}\\n  {{#if canLoadMoreParts}}\\n    {{#if conversation.syncedPartList.isLoadingMore}}\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    {{/if}}\\n    <div class=\\\"h-8\\\"></div>\\n  {{/if}}\\n  {{#if conversation.fromDeletedUser}}\\n    <Conversation::DeletedStreamComponent />\\n  {{else}}\\n    {{#each displayableParts as |part index|}}\\n      <Conversation::Stream::ConversationPartComponent\\n        @conversation={{conversation}}\\n        @part={{part}}\\n        @app={{app}}\\n        @admin={{admin}}\\n        @openModal={{action \\\"openModal\\\"}}\\n        @readOnly={{readOnly}}\\n        @canUseSavedReplies={{app.inboxIsActive}}\\n        @openSavedRepliesModal={{action \\\"openSavedRepliesModal\\\"}}\\n        @createSavedReply={{action \\\"createSavedReply\\\"}}\\n        @isLastAdminItemWithSeenMetadata={{eq part lastAdminItemWithSeenMetadata}}\\n        @highlightedConversationPartId={{highlightedConversationPartId}}\\n        @scrollToConversationPart={{action \\\"scrollToConversationPart\\\"}}\\n      />\\n      {{#if (not-eq index (sub displayableParts.length 1))}}\\n        <div class=\\\"h-8\\\"></div>\\n      {{/if}}\\n    {{/each}}\\n    {{#if displayableParts}}\\n      {{performance/capture-render-end subject=\\\"interaction:inbox/switch-conversation\\\" id=conversation.id sampleRate=1}}\\n    {{/if}}\\n  {{/if}}\\n  {{#each isTypingParts as |isTypingPart|}}\\n    <div\\n      class=\\\"h-8 o__{{isTypingPart.for}}-is-typing-spacer js__{{isTypingPart.partType}}\\\"\\n    ></div>\\n    <div\\n      class=\\\"conversation__part o__{{isTypingPart.for}}-is-typing-part js__{{isTypingPart.partType}}\\\"\\n    >\\n      <span\\n        class=\\\"avatar o__m conversation__part__avatar o__for-{{isTypingPart.for}}\\\"\\n      >\\n        {{#if (eq isTypingPart.for \\\"admin\\\")}}\\n          <span\\n            class=\\\"avatar o__m\\\"\\n            {{tooltip\\n              content=this.conversation.typingAdmin.display_as\\n              isDisabled=(not showAdminTypingTooltip)\\n            }}\\n          >\\n            <img class=\\\"avatar__media\\\" />\\n          </span>\\n        {{else}}\\n          <IcAvatarComponent\\n            @model={{conversation.main_participant}}\\n            @size=\\\"m\\\"\\n            @canAnimate={{true}}\\n          />\\n        {{/if}}\\n      </span>\\n      <div class=\\\"u__cf conversation__part-wrapper o__{{isTypingPart.for}}\\\">\\n        <div\\n          class=\\\"conversation__bubble o__{{isTypingPart.partType}} u__{{isTypingPart.side}}\\\"\\n        >\\n          <div class=\\\"conversation__bubble__inner\\\">\\n            <div\\n              class=\\\"conversation__is-typing-animation o__{{isTypingPart.partType}}\\\"\\n            >\\n              <div class=\\\"conversation__is-typing-animation__dot-01\\\"></div>\\n              <div class=\\\"conversation__is-typing-animation__dot-02\\\"></div>\\n              <div class=\\\"conversation__is-typing-animation__dot-03\\\"></div>\\n            </div>\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  {{/each}}\\n  <div class=\\\"h-5\\\"></div>\\n{{/if}}\\n\\n{{#if this.savedReplyBeingCreated}}\\n  <Inbox::CreateSavedReplyModal\\n    @onClose={{action \\\"createSavedReplyFinished\\\"}}\\n    @blocks={{this.savedReplyInitialBlocks}}\\n    @focusTitle={{true}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if conversation.syncedPartList.isLoadingUntilPart}}\\n  <div class=\\\"u__center-item\\\">\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n  </div>\\n{{else}}\\n  {{#if canLoadMoreParts}}\\n    {{#if conversation.syncedPartList.isLoadingMore}}\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    {{/if}}\\n    <div class=\\\"h-8\\\"></div>\\n  {{/if}}\\n  {{#if conversation.fromDeletedUser}}\\n    <Conversation::DeletedStreamComponent />\\n  {{else}}\\n    {{#each displayableParts as |part index|}}\\n      <Conversation::Stream::ConversationPartComponent\\n        @conversation={{conversation}}\\n        @part={{part}}\\n        @app={{app}}\\n        @admin={{admin}}\\n        @openModal={{action \\\"openModal\\\"}}\\n        @readOnly={{readOnly}}\\n        @canUseSavedReplies={{app.inboxIsActive}}\\n        @openSavedRepliesModal={{action \\\"openSavedRepliesModal\\\"}}\\n        @createSavedReply={{action \\\"createSavedReply\\\"}}\\n        @isLastAdminItemWithSeenMetadata={{eq part lastAdminItemWithSeenMetadata}}\\n        @highlightedConversationPartId={{highlightedConversationPartId}}\\n        @scrollToConversationPart={{action \\\"scrollToConversationPart\\\"}}\\n      />\\n      {{#if (not-eq index (sub displayableParts.length 1))}}\\n        <div class=\\\"h-8\\\"></div>\\n      {{/if}}\\n    {{/each}}\\n    {{#if displayableParts}}\\n      {{performance/capture-render-end subject=\\\"interaction:inbox/switch-conversation\\\" id=conversation.id sampleRate=1}}\\n    {{/if}}\\n  {{/if}}\\n  {{#each isTypingParts as |isTypingPart|}}\\n    <div\\n      class=\\\"h-8 o__{{isTypingPart.for}}-is-typing-spacer js__{{isTypingPart.partType}}\\\"\\n    ></div>\\n    <div\\n      class=\\\"conversation__part o__{{isTypingPart.for}}-is-typing-part js__{{isTypingPart.partType}}\\\"\\n    >\\n      <span\\n        class=\\\"avatar o__m conversation__part__avatar o__for-{{isTypingPart.for}}\\\"\\n      >\\n        {{#if (eq isTypingPart.for \\\"admin\\\")}}\\n          <span\\n            class=\\\"avatar o__m\\\"\\n            {{tooltip\\n              content=this.conversation.typingAdmin.display_as\\n              isDisabled=(not showAdminTypingTooltip)\\n            }}\\n          >\\n            <img class=\\\"avatar__media\\\" />\\n          </span>\\n        {{else}}\\n          <IcAvatarComponent\\n            @model={{conversation.main_participant}}\\n            @size=\\\"m\\\"\\n            @canAnimate={{true}}\\n          />\\n        {{/if}}\\n      </span>\\n      <div class=\\\"u__cf conversation__part-wrapper o__{{isTypingPart.for}}\\\">\\n        <div\\n          class=\\\"conversation__bubble o__{{isTypingPart.partType}} u__{{isTypingPart.side}}\\\"\\n        >\\n          <div class=\\\"conversation__bubble__inner\\\">\\n            <div\\n              class=\\\"conversation__is-typing-animation o__{{isTypingPart.partType}}\\\"\\n            >\\n              <div class=\\\"conversation__is-typing-animation__dot-01\\\"></div>\\n              <div class=\\\"conversation__is-typing-animation__dot-02\\\"></div>\\n              <div class=\\\"conversation__is-typing-animation__dot-03\\\"></div>\\n            </div>\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  {{/each}}\\n  <div class=\\\"h-5\\\"></div>\\n{{/if}}\\n\\n{{#if this.savedReplyBeingCreated}}\\n  <Inbox::CreateSavedReplyModal\\n    @onClose={{action \\\"createSavedReplyFinished\\\"}}\\n    @blocks={{this.savedReplyInitialBlocks}}\\n    @focusTitle={{true}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/stream-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { scheduleOnce, later } from '@ember/runloop';\nimport $ from 'jquery';\nimport { computed, observer } from '@ember/object';\nimport { readOnly, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport InboundActions from 'ember-component-inbound-actions/inbound-actions';\nimport ENV from 'embercom/config/environment';\nimport DefaultAvatars from '@intercom/embercom-core/lib/default-avatars';\nimport RunMixin from 'ember-lifeline/mixins/run';\nimport { addEventListener, runDisposables } from 'ember-lifeline';\nimport DidChangeAttrs from 'ember-did-change-attrs';\nimport UserContentSeenState from 'embercom/lib/user-content-seen-state';\nimport { task, timeout } from 'ember-concurrency';\nimport { copy } from 'ember-copy';\n\nconst HIGHLIGHTED_CONVERSATION_PART_SCROLL_OFFSET = 30;\n\nexport default Component.extend(InboundActions, RunMixin, DidChangeAttrs, {\n  intercomEventService: service(),\n  notificationsService: service(),\n  appService: service(),\n\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n\n  realTimeEventService: service(),\n  frontendStatsService: service(),\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n  autoScroll: true,\n\n  shouldScroll: computed('isInbox', 'autoScroll', 'highlightedConversationPartId', function() {\n    if (this.highlightedConversationPartId) {\n      return false;\n    } else {\n      return this.isInbox || this.autoScroll;\n    }\n  }),\n\n  midThreadScrollAmount: 78,\n  autoScrollThreshold: 200,\n  paginationThresholdPercentage: 10,\n  highlightedConversationPartId: null,\n  canLoadMoreParts: not('conversation.hasInitialMessagePart'),\n\n  didChangeAttrsConfig: {\n    attrs: ['conversation'],\n  },\n\n  'data-test-conversation-stream': true,\n\n  savedReplyBeingCreated: false,\n  savedReplyInitialBlocks: null,\n\n  init() {\n    this._super(...arguments);\n\n    if (window.location.hash) {\n      this.handleUrlFragment(window.location.hash);\n    }\n  },\n\n  destroy() {\n    this._super(...arguments);\n    runDisposables(this);\n  },\n\n  handleUrlFragment(urlFragmentStr) {\n    if (urlFragmentStr.startsWith('#')) {\n      urlFragmentStr = urlFragmentStr.substring(1);\n    }\n    let fragments = urlFragmentStr.split('&');\n    for (let fragment of fragments) {\n      let keyValuePair = fragment.split('=');\n      let key = keyValuePair[0];\n\n      if (keyValuePair.length === 2 && key === 'part_id') {\n        let value = keyValuePair[1];\n        this.set('highlightedConversationPartId', value);\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'loaded',\n          object: 'permalink',\n          place: 'inbox',\n        });\n      }\n    }\n  },\n\n  didChangeAttrs(changes) {\n    this._super(...arguments);\n\n    if (changes.conversation) {\n      this.conversationChanged.perform(changes.conversation.previous);\n    }\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    let $scrollContainer = this.findScrollContainer();\n\n    if (!$scrollContainer.length) {\n      console.error('No scrollContainer found');\n      return;\n    }\n    this.set('$scrollContainer', $scrollContainer);\n    addEventListener(this, $scrollContainer.get(0), 'scroll', this.handleScrollChange.bind(this));\n    addEventListener(this, document, 'visibilitychange', () => {\n      let task = this.setConversationSeen;\n      this.lastMouseMoveTime = Date.now();\n      if (document.visibilityState === 'visible') {\n        task.perform();\n      } else {\n        task.cancelAll();\n      }\n    });\n\n    this.conversationChanged.perform();\n  },\n\n  mouseMove() {\n    this.lastMouseMoveTime = Date.now();\n    if (\n      !this.get('conversation.lastUserPart.isSeenByCurrentAdmin') &&\n      !this.get('setConversationSeen.isRunning')\n    ) {\n      this.setConversationSeen.perform();\n    }\n  },\n\n  willDestroyElement() {\n    if (this.$scrollContainer) {\n      this.set('$scrollContainer', null);\n    }\n\n    if (ENV.environment !== 'test') {\n      this.get('conversation.syncedPartList').stopPoll();\n    }\n\n    this._super(...arguments);\n  },\n\n  willClearRender() {\n    this._super(...arguments);\n    let $el = $('.conversation__text img', this.element);\n    if ($el) {\n      $el.off('load');\n    }\n  },\n\n  conversationChanged: task(function*(previousConversation) {\n    this.frontendStatsService.start('ember_ux_conversationStreamRenderTime_syncing');\n\n    this.resetTypingIndicators();\n\n    this.setConversationSeen.cancelAll();\n\n    try {\n      if (previousConversation && ENV.environment !== 'test') {\n        previousConversation.get('syncedPartList').stopPoll();\n      }\n\n      if (this.conversation.disableFetchParts) {\n        return;\n      }\n\n      if (this.highlightedConversationPartId) {\n        yield this.get('conversation.syncedPartList').loadMoreUntilPart(\n          this.highlightedConversationPartId,\n        );\n      } else {\n        yield this.get('conversation.syncedPartList').sync();\n      }\n\n      if (ENV.environment !== 'test') {\n        this.get('conversation.syncedPartList').startPoll();\n      }\n\n      this.setConversationSeen.perform();\n      this.scrollToBottom();\n    } catch (e) {\n      this.notificationsService.notifyError('There was a problem loading this conversation');\n    }\n  }).restartable(),\n\n  displayableParts: readOnly('conversation.sortedParts'),\n\n  lastAdminItemWithSeenMetadata: computed('displayableParts', function(part) {\n    return copy(this.displayableParts)\n      .reverse()\n      .findBy('hasSeenMetadata');\n  }),\n\n  setConversationSeen: task(function*() {\n    yield timeout(ENV.APP.userContentSeenStateDelay);\n\n    this.frontendStatsService.stop('ember_ux_conversationStreamRenderTime_syncing', 5);\n\n    let conversation = this.conversation;\n    let tabIsActive = Date.now() - this.lastMouseMoveTime < ENV.APP.userContentSeenStateDelay;\n    if (conversation.get('hasAdminCommentOrMessage') && !document.hidden && tabIsActive) {\n      UserContentSeenState.updateConversationForAdmin(conversation, this.realTimeEventService);\n    }\n  }).drop(),\n\n  conversationPartsDidChange: observer({\n    dependentKeys: ['conversation.parts.@each.isPersisted'],\n\n    fn() {\n      this.setConversationSeen.perform();\n    },\n\n    sync: false,\n  }),\n\n  findScrollContainer() {\n    return $(this.element).closest('.conversation__stream');\n  },\n\n  handleScrollChange() {\n    if (this.isDestroying) {\n      return;\n    }\n    this.debounceTask('_handleScrollChange', ENV.APP._50MS);\n  },\n\n  _handleScrollChange() {\n    let $scrollContainer = this.$scrollContainer;\n    if (!$scrollContainer || $scrollContainer.length === 0) {\n      return;\n    }\n\n    let scrollContainer = $scrollContainer.get(0);\n    if (!scrollContainer) {\n      return;\n    }\n    let scrollTop = scrollContainer.scrollTop;\n    let scrollHeight = scrollContainer.scrollHeight;\n    let distanceFromBottom = scrollHeight - (scrollTop + scrollContainer.offsetHeight);\n    this.set('autoScroll', distanceFromBottom <= this.autoScrollThreshold);\n\n    if (this._shouldFetchEarlierParts(scrollHeight, scrollTop)) {\n      this._savePreviousScrollPosition();\n      this.get('conversation.syncedPartList')\n        .loadMore()\n        .then(() => {\n          scheduleOnce('afterRender', this, this._restoreScrollPositionAndScrollAfterImages);\n        });\n    }\n  },\n\n  _shouldFetchEarlierParts(scrollHeight, scrollTop) {\n    let isWithinPaginationArea = scrollTop <= scrollHeight / this.paginationThresholdPercentage;\n\n    let isLoadingMore = this.get('conversation.syncedPartList.isLoadingMore');\n    return isWithinPaginationArea && this.canLoadMoreParts && !isLoadingMore;\n  },\n\n  scrollToBottom() {\n    if (this.shouldScroll) {\n      scheduleOnce('afterRender', this, this._scrollToBottom);\n      scheduleOnce('afterRender', this, this._scrollAfterImages, this._scrollToBottom);\n    }\n  },\n\n  _scrollToBottom() {\n    let scrollContainer = this.$scrollContainer;\n    if (scrollContainer && scrollContainer.length) {\n      let scrollHeight = scrollContainer.get(0).scrollHeight;\n      scrollContainer.scrollTop(scrollHeight);\n    }\n  },\n\n  _animateScrollChange(scrollHeight) {\n    let scrollContainer = this.$scrollContainer;\n    if (!scrollContainer) {\n      return;\n    }\n    scrollContainer.animate(\n      {\n        scrollTop: scrollHeight,\n      },\n      500,\n    );\n    this.set('autoScroll', true);\n  },\n\n  _scrollAfterImages(callback) {\n    if (this.element) {\n      let image = this.element.querySelector('.conversation__text img');\n      if (image) {\n        addEventListener(this, image, 'load', callback.bind(this));\n      }\n    }\n  },\n\n  anotherAdminIsTypingACommentChanged: observer({\n    dependentKeys: ['conversation.anotherAdminIsTypingAComment', 'showingParts'],\n\n    fn() {\n      scheduleOnce(\n        'afterRender',\n        this,\n        this._anotherAdminIsTypingACommentChanged,\n        this.conversation,\n      );\n    },\n\n    sync: true,\n  }),\n\n  anotherAdminIsTypingANoteChanged: observer({\n    dependentKeys: ['conversation.anotherAdminIsTypingANote', 'showingParts'],\n\n    fn() {\n      scheduleOnce('afterRender', this, this._anotherAdminIsTypingANoteChanged, this.conversation);\n    },\n\n    sync: true,\n  }),\n\n  userIsTypingChanged: observer({\n    dependentKeys: ['conversation.userIsTyping', 'showingParts'],\n\n    fn() {\n      scheduleOnce(\n        'afterRender',\n        this,\n        this._userIsTypingChanged,\n        this.get('conversation.userIsTyping'),\n      );\n    },\n\n    sync: true,\n  }),\n\n  showAdminTypingTooltip: computed(\n    'conversation.{typingAdmin,anotherAdminIsTypingAComment,anotherAdminIsTypingANote}',\n    function() {\n      return (\n        this.conversation.typingAdmin &&\n        (this.conversation.anotherAdminIsTypingAComment ||\n          this.conversation.anotherAdminIsTypingANote)\n      );\n    },\n  ),\n\n  _userIsTypingChanged(userIsTyping) {\n    let $spacer = $('.o__user-is-typing-spacer', this.element);\n    let $part = $('.o__user-is-typing-part', this.element);\n    this._hideOrShowSpacerAndPart(userIsTyping, $spacer, $part);\n  },\n\n  _anotherAdminIsTypingACommentChanged(conversation) {\n    let $spacer = $('.o__admin-is-typing-spacer.js__admin-comment', this.element);\n    let $part = $('.o__admin-is-typing-part.js__admin-comment', this.element);\n    if ($part) {\n      this._setAdminAvatar($part.find('img.avatar__media'), conversation);\n    }\n    this._hideOrShowSpacerAndPart(conversation.get('anotherAdminIsTypingAComment'), $spacer, $part);\n  },\n\n  _anotherAdminIsTypingANoteChanged(conversation) {\n    let $spacer = $('.o__admin-is-typing-spacer.js__admin-note', this.element);\n    let $part = $('.o__admin-is-typing-part.js__admin-note', this.element);\n    if ($part) {\n      this._setAdminAvatar($part.find('img.avatar__media'), conversation);\n    }\n    this._hideOrShowSpacerAndPart(conversation.get('anotherAdminIsTypingANote'), $spacer, $part);\n  },\n\n  _hideOrShowSpacerAndPart(isTyping, $spacer, $part) {\n    if ($spacer && $part) {\n      if (isTyping) {\n        this._showSpacerAndPart($spacer, $part);\n      } else if ($spacer.is(':visible') && $part.is(':visible')) {\n        this._hideSpacerAndPart($spacer, $part);\n      }\n    }\n  },\n\n  _showSpacerAndPart($spacer, $part) {\n    $spacer.show();\n    $part.show();\n    $part\n      .find('.conversation__part__avatar, .conversation__bubble')\n      .removeClass('o__is-typing-off')\n      .addClass('o__is-typing-on');\n    if (this.isScrolledNearBottom()) {\n      this.scrollToBottom();\n    }\n  },\n\n  _hideSpacerAndPart($spacer, $part) {\n    $part\n      .find('.conversation__part__avatar, .conversation__bubble')\n      .removeClass('o__is-typing-on')\n      .addClass('o__is-typing-off');\n    this.runTask(() => {\n      $spacer.slideUp(150);\n      $part.slideUp(150);\n      if (this.isScrolledNearBottom()) {\n        this.scrollToBottom();\n      }\n    }, 150);\n  },\n\n  isScrolledNearBottom() {\n    let scrollContainer = this.$scrollContainer;\n    if (scrollContainer && scrollContainer.length) {\n      let scrollHeight = scrollContainer.get(0).scrollHeight;\n      let scrollTop = scrollContainer.scrollTop();\n      let containerHeight = scrollContainer.outerHeight();\n      return scrollHeight - scrollTop - containerHeight < this.autoScrollThreshold;\n    }\n    return false;\n  },\n\n  _setAdminAvatar($avatarImage, conversation) {\n    if (conversation.get('typingAdmin')) {\n      let typingAdminAvatarURL = conversation.get('typingAdmin.avatar.image_urls.square_50');\n      if (typingAdminAvatarURL) {\n        $avatarImage.attr('src', typingAdminAvatarURL);\n      } else {\n        $avatarImage.attr('src', DefaultAvatars.admins[128]);\n      }\n    }\n  },\n\n  _hideAllTypingIndicatorsImmediately() {\n    let selectors =\n      '.o__user-is-typing-spacer, .o__admin-is-typing-spacer, .o__user-is-typing-part, .o__admin-is-typing-part';\n    let $selectors = $(selectors, this.element);\n    if ($selectors && $selectors.length !== 0) {\n      $selectors.hide();\n    }\n  },\n\n  _showTypingIndicatorsIfAnyoneIsTyping() {\n    let conversation = this.conversation;\n    if (!conversation) {\n      return;\n    }\n    if (conversation.get('userIsTyping')) {\n      this._userIsTypingChanged(true);\n    }\n    if (conversation.get('anotherAdminIsTypingAComment')) {\n      this._anotherAdminIsTypingACommentChanged(conversation);\n    }\n    if (conversation.get('anotherAdminIsTypingANote')) {\n      this._anotherAdminIsTypingANoteChanged(conversation);\n    }\n  },\n\n  resetTypingIndicators() {\n    scheduleOnce('afterRender', this, this._resetTypingIndicators);\n  },\n\n  _resetTypingIndicators() {\n    this._hideAllTypingIndicatorsImmediately();\n    this._showTypingIndicatorsIfAnyoneIsTyping();\n  },\n\n  _savePreviousScrollPosition() {\n    let scrollContainer = this.$scrollContainer.get(0);\n    this.set('previousScrollPosition', scrollContainer.scrollHeight - scrollContainer.scrollTop);\n  },\n\n  _restoreScrollPosition() {\n    let scrollContainer = this.$scrollContainer.get(0);\n    this.$scrollContainer.scrollTop(scrollContainer.scrollHeight - this.previousScrollPosition);\n  },\n\n  _restoreScrollPositionAndScrollAfterImages() {\n    this._restoreScrollPosition();\n    this._scrollAfterImages(this._restoreScrollPosition);\n  },\n\n  clearConversationPartHighlight: task(function*() {\n    yield timeout(ENV.APP._5000MS);\n    this.set('highlightedConversationPartId', null);\n  }),\n\n  _scrollToConversationPart($conversationPart) {\n    if (this.hasScrolledToConversationPart || this.isDestroyed) {\n      return;\n    }\n    let $scrollContainer = this.$scrollContainer || this.findScrollContainer();\n    let scrollTo =\n      $conversationPart.offset().top -\n      $scrollContainer.offset().top +\n      $scrollContainer.scrollTop() -\n      HIGHLIGHTED_CONVERSATION_PART_SCROLL_OFFSET;\n    this._animateScrollChange(scrollTo);\n    this.set('hasScrolledToConversationPart', true);\n  },\n\n  isTypingParts: [\n    {\n      for: 'user',\n      partType: 'user-comment',\n      side: 'left',\n    },\n    {\n      for: 'admin',\n      partType: 'admin-comment',\n      side: 'right',\n    },\n    {\n      for: 'admin',\n      partType: 'admin-note',\n      side: 'right',\n    },\n  ],\n\n  _conversationPartCallback($conversationPart) {\n    later(() => this._scrollToConversationPart($conversationPart), 500);\n  },\n\n  actions: {\n    scrollToBottom() {\n      this.scrollToBottom();\n    },\n    resetTypingIndicators() {\n      this.resetTypingIndicators();\n    },\n    toggleSharing(part) {\n      part.toggleSharing();\n    },\n    openSavedRepliesModal(options) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('openSavedRepliesModal', options);\n    },\n\n    createSavedReply(blocks) {\n      this.set('savedReplyInitialBlocks', blocks);\n      this.set('savedReplyBeingCreated', true);\n    },\n\n    createSavedReplyFinished() {\n      this.set('savedReplyInitialBlocks', null);\n      this.set('savedReplyBeingCreated', false);\n    },\n\n    openModal() {\n      this.modalService.openModal(...arguments);\n    },\n    scrollToConversationPart($conversationPart) {\n      scheduleOnce(\n        'afterRender',\n        this._scrollAfterImages,\n        this._conversationPartCallback.bind(this, $conversationPart),\n      );\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"conversation__action {{if part.isImmediateSend \\\"o__immediate-send\\\"}} {{if part.shouldFadeInAction \\\"a__fade-in\\\"}} {{if part.shouldFadeIn \\\"a__part-fade-in\\\"}}\\\"\\n>\\n  <div class=\\\"t__light-text text-gray conversation__action__text\\\">\\n    {{#if part.isRuleAssignment}}\\n      Assigned to\\n      {{#if part.hasHumanAssignee}}\\n        <a\\n          href=\\\"{{href-to \\\"apps.app.admins.admin\\\" part.assignee.id}}\\\"\\n          class=\\\"js__href-to text-gray t__solo-link\\\"\\n        >{{!--\\n       --}}{{display-admin-as admin part.assignee false isActionTargetNameLowercase}}{{!--\\n     --}}</a>\\n      {{else}}\\n        {{display-admin-as admin part.assignee false isActionTargetNameLowercase}}\\n      {{/if}}\\n      {{#if part.rule.isOperatorLeadQualificationRule}}\\n        by Operator via the\\n        <LinkTo @route=\\\"apps.app.operator.task-bots\\\" @classNames=\\\"text-gray t__solo-link\\\">qualification Task Bot</LinkTo>\\n      {{else if part.rule.isOperatorUpfrontCollectionRule}}\\n        by Operator via the\\n        <LinkTo @route=\\\"apps.app.operator.task-bots.users\\\" @query={{hash section=\\\"upfront-collection-users\\\"}} @classNames=\\\"text-gray t__solo-link\\\">upfront collection Task Bot</LinkTo>\\n      {{else if part.rule.isDefaultInboxAssignmentRule}}\\n        by\\n        <LinkTo @route=\\\"apps.app.inbox.rules\\\" @query={{hash id=part.rule.id}} @classNames=\\\"text-gray t__solo-link\\\">the lowest priority rule</LinkTo>\\n      {{else if part.rule.isCustomBotRule}}\\n        by Operator via\\n        <LinkTo @route=\\\"apps.app.operator.custom-bots.index\\\" @classNames=\\\"text-gray t__solo-link\\\">Custom Bots</LinkTo>\\n      {{else}}\\n        by rule\\n        {{#if part.rule.deleted}}\\n          \\\"{{part.rule.name}}(deleted)\\\"\\n        {{else}}\\n          {{#if @app.canUseWorkflows}}\\n            \\\"{{part.rule.name}}\\\"\\n          {{else}}\\n            <LinkTo @route=\\\"apps.app.inbox.rules\\\" @query={{hash id=part.rule.id}} @classNames=\\\"text-gray t__solo-link\\\">\\\"{{part.rule.name}}\\\"</LinkTo>\\n          {{/if}}\\n        {{/if}}\\n      {{/if}}\\n    {{else}}\\n      {{#if part.admin.is_unknown}}\\n        {{authorName}}\\n      {{else}}\\n        <a\\n          href=\\\"{{href-to \\\"apps.app.admins.admin\\\" part.admin.id}}\\\"\\n          class=\\\"js__href-to text-gray t__solo-link\\\"\\n        >\\n          {{authorName}}\\n        </a>\\n      {{/if}}\\n      {{part.actionStatement}}\\n      {{#if (and part.isAssignment (not part.isCloser))}}\\n        {{#if part.assignee.is_unknown}}\\n          {{part.assignee.display_as}}\\n        {{else if part.hasHumanAssignee}}\\n          <a\\n            href=\\\"{{href-to \\\"apps.app.admins.admin\\\" part.assignee.id}}\\\"\\n            class=\\\"js__href-to text-gray t__solo-link\\\"\\n          >{{!--\\n         --}}{{display-admin-as admin part.assignee part.isReflexiveAssignment isActionTargetNameLowercase}}{{!--\\n       --}}</a>\\n        {{else if part.hasAssignee}}\\n          {{#if part.assignee.isTeam}}\\n            <a\\n              href=\\\"{{href-to \\\"apps.app.settings.teams\\\"}}#{{part.assignee.id}}\\\"\\n              class=\\\"js__href-to text-gray t__solo-link\\\"\\n            >{{!--\\n            --}}{{part.assignee.display_as}}{{!--\\n            --}}</a>\\n          {{else}}\\n            {{display-admin-as\\n              admin\\n              part.assignee\\n              part.isReflexiveAssignment\\n              isActionTargetNameLowercase\\n            }}\\n          {{/if}}\\n        {{/if}}\\n      {{/if}}\\n    {{/if}}\\n    <CreatedAtWithTooltip @datetime={{part.created_at}}/>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"conversation__action {{if part.isImmediateSend \\\"o__immediate-send\\\"}} {{if part.shouldFadeInAction \\\"a__fade-in\\\"}} {{if part.shouldFadeIn \\\"a__part-fade-in\\\"}}\\\"\\n>\\n  <div class=\\\"t__light-text text-gray conversation__action__text\\\">\\n    {{#if part.isRuleAssignment}}\\n      Assigned to\\n      {{#if part.hasHumanAssignee}}\\n        <a\\n          href=\\\"{{href-to \\\"apps.app.admins.admin\\\" part.assignee.id}}\\\"\\n          class=\\\"js__href-to text-gray t__solo-link\\\"\\n        >{{!--\\n       --}}{{display-admin-as admin part.assignee false isActionTargetNameLowercase}}{{!--\\n     --}}</a>\\n      {{else}}\\n        {{display-admin-as admin part.assignee false isActionTargetNameLowercase}}\\n      {{/if}}\\n      {{#if part.rule.isOperatorLeadQualificationRule}}\\n        by Operator via the\\n        <LinkTo @route=\\\"apps.app.operator.task-bots\\\" @classNames=\\\"text-gray t__solo-link\\\">qualification Task Bot</LinkTo>\\n      {{else if part.rule.isOperatorUpfrontCollectionRule}}\\n        by Operator via the\\n        <LinkTo @route=\\\"apps.app.operator.task-bots.users\\\" @query={{hash section=\\\"upfront-collection-users\\\"}} @classNames=\\\"text-gray t__solo-link\\\">upfront collection Task Bot</LinkTo>\\n      {{else if part.rule.isDefaultInboxAssignmentRule}}\\n        by\\n        <LinkTo @route=\\\"apps.app.inbox.rules\\\" @query={{hash id=part.rule.id}} @classNames=\\\"text-gray t__solo-link\\\">the lowest priority rule</LinkTo>\\n      {{else if part.rule.isCustomBotRule}}\\n        by Operator via\\n        <LinkTo @route=\\\"apps.app.operator.custom-bots.index\\\" @classNames=\\\"text-gray t__solo-link\\\">Custom Bots</LinkTo>\\n      {{else}}\\n        by rule\\n        {{#if part.rule.deleted}}\\n          \\\"{{part.rule.name}}(deleted)\\\"\\n        {{else}}\\n          {{#if @app.canUseWorkflows}}\\n            \\\"{{part.rule.name}}\\\"\\n          {{else}}\\n            <LinkTo @route=\\\"apps.app.inbox.rules\\\" @query={{hash id=part.rule.id}} @classNames=\\\"text-gray t__solo-link\\\">\\\"{{part.rule.name}}\\\"</LinkTo>\\n          {{/if}}\\n        {{/if}}\\n      {{/if}}\\n    {{else}}\\n      {{#if part.admin.is_unknown}}\\n        {{authorName}}\\n      {{else}}\\n        <a\\n          href=\\\"{{href-to \\\"apps.app.admins.admin\\\" part.admin.id}}\\\"\\n          class=\\\"js__href-to text-gray t__solo-link\\\"\\n        >\\n          {{authorName}}\\n        </a>\\n      {{/if}}\\n      {{part.actionStatement}}\\n      {{#if (and part.isAssignment (not part.isCloser))}}\\n        {{#if part.assignee.is_unknown}}\\n          {{part.assignee.display_as}}\\n        {{else if part.hasHumanAssignee}}\\n          <a\\n            href=\\\"{{href-to \\\"apps.app.admins.admin\\\" part.assignee.id}}\\\"\\n            class=\\\"js__href-to text-gray t__solo-link\\\"\\n          >{{!--\\n         --}}{{display-admin-as admin part.assignee part.isReflexiveAssignment isActionTargetNameLowercase}}{{!--\\n       --}}</a>\\n        {{else if part.hasAssignee}}\\n          {{#if part.assignee.isTeam}}\\n            <a\\n              href=\\\"{{href-to \\\"apps.app.settings.teams\\\"}}#{{part.assignee.id}}\\\"\\n              class=\\\"js__href-to text-gray t__solo-link\\\"\\n            >{{!--\\n            --}}{{part.assignee.display_as}}{{!--\\n            --}}</a>\\n          {{else}}\\n            {{display-admin-as\\n              admin\\n              part.assignee\\n              part.isReflexiveAssignment\\n              isActionTargetNameLowercase\\n            }}\\n          {{/if}}\\n        {{/if}}\\n      {{/if}}\\n    {{/if}}\\n    <CreatedAtWithTooltip @datetime={{part.created_at}}/>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/conversation/stream/admin-action-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/admin-action-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-on-calls-in-components */\nimport { computed } from '@ember/object';\nimport { later } from '@ember/runloop';\nimport { on } from '@ember/object/evented';\nimport ConversationPartComponentBase from 'embercom/components/conversation/stream/conversation-part-component-base';\nimport ENV from 'embercom/config/environment';\nimport displayAdminAs from 'embercom/lib/inbox/display-admin-as';\n\nlet AdminActionComponent = ConversationPartComponentBase.extend({\n  // Set shouldFadeInAction to false after the animation has run - prevents the\n  // animation from running again when you go back into the conversation\n  resetShouldFadeInAction: on('didInsertElement', function() {\n    if (this.get('part.shouldFadeInAction')) {\n      later(this, this._resetShouldFadeInAction, ENV.APP._400MS);\n    }\n  }),\n\n  _resetShouldFadeInAction() {\n    let part = this.part;\n    if (part) {\n      if (!(part.isDestroyed || part.isDestroying)) {\n        part.set('shouldFadeInAction', false);\n      }\n    }\n  },\n\n  isActionTargetNameLowercase: computed('admin', 'part.assignee', function() {\n    if (this.get('part.hasAssignee')) {\n      return this.admin === this.get('part.assignee');\n    }\n    return false;\n  }),\n\n  authorName: computed('part.admin', 'admin', function() {\n    if (this.get('part.admin.is_unknown')) {\n      return displayAdminAs(this.admin, this.get('part.admin'), false, false, false);\n    }\n\n    return displayAdminAs(this.admin, this.get('part.admin'), false, false, true);\n  }),\n});\n\nexport default AdminActionComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"conversation__part {{if part.isImmediateSend \\\"o__immediate-send\\\"}} {{if part.shouldFadeIn \\\"a__part-fade-in\\\"}}\\\"\\n>\\n  {{#unless part.shouldHideAvatar}}\\n    <span\\n      class=\\\"avatar o__m conversation__part__avatar o__for-admin {{unless part.isPersisted \\\"o__not-persisted\\\"}}\\\"\\n    >\\n      <a\\n        href=\\\"{{href-to \\\"apps.app.admins.admin\\\" part.creator.id}}\\\"\\n        {{tooltip content=creatorDisplayAs}}\\n      >\\n        <AdminAvatar @admin={{part.creator}}/>\\n      </a>\\n    </span>\\n  {{/unless}}\\n  <div class=\\\"conversation__part-wrapper o__admin\\\">\\n    <div class=\\\"conversation__bubble-container o__admin-comment\\\">\\n      <div class=\\\"conversation__group-bubbles o__admin\\\">\\n        {{#each bubbleGroups as |bubbleGroup index|}}\\n          {{#if bubbleGroup.isMessengerCardOnly}}\\n            <Conversation::Stream::InterblocksComponent\\n              @bubbleGroup={{bubbleGroup}}\\n              @conversationId={{part.conversation_id}}\\n            />\\n          {{else}}\\n            <Conversation::Stream::BubbleComponent\\n              @bubbleGroup={{bubbleGroup}}\\n              @isLastNonMessengerCardOnlyBubbleGroup={{eq index lastNonMessengerCardOnlyBubbleGroupIndex}}\\n            >\\n              <Conversation::Stream::InterblocksComponent\\n                @bubbleGroup={{bubbleGroup}}\\n                @conversationId={{part.conversation_id}}\\n              />\\n            </Conversation::Stream::BubbleComponent>\\n          {{/if}}\\n          {{#unless (eq bubbleGroup bubbleGroups.lastObject)}}\\n            <div class=\\\"h-1\\\"></div>\\n          {{/unless}}\\n        {{/each}}\\n      </div>\\n      {{#if\\n        (and\\n          part.shouldDisplayTools\\n          app.currentAdminCanViewInbox\\n          (not readOnly)\\n        )\\n      }}\\n        <div class=\\\"conversation__bubble__spacer\\\"></div>\\n        <Conversation::Stream::CommentQuickActionsComponent\\n          class=\\\"o__admin-comment\\\"\\n          @openModal={{openModal}}\\n          @openSavedRepliesModal={{action \\\"openSavedRepliesModal\\\"}}\\n          @createSavedReply={{action \\\"createSavedReply\\\"}}\\n          @conversation={{conversation}}\\n          @part={{part}}\\n          @canUseSavedReplies={{canUseSavedReplies}}\\n          @showOnlyWhenHoveringInsideContext={{app.appLoadedOnNormalScreenDevice}}\\n          @app={{app}}\\n        />\\n      {{/if}}\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n    {{#unless part.shouldHideMeta}}\\n      {{partial \\\"components/conversation/stream/partials/admin-meta\\\"}}\\n    {{/unless}}\\n  </div>\\n</div>\\n{{#if part.isAdminAction}}\\n  <div class=\\\"h-8\\\"></div>\\n  <Conversation::Stream::AdminActionComponent\\n    @part={{part}}\\n    @app={{app}}\\n    @admin={{admin}}\\n    @openModal=\\\"openModal\\\"\\n  />\\n{{/if}}\\n{{#if part.is_event}}\\n  <div class=\\\"h-8\\\"></div>\\n  <Conversation::Stream::GenericEventComponent\\n    @part={{part}}\\n    @app={{app}}\\n    @admin={{admin}}\\n    @openModal=\\\"openModal\\\"\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"conversation__part {{if part.isImmediateSend \\\"o__immediate-send\\\"}} {{if part.shouldFadeIn \\\"a__part-fade-in\\\"}}\\\"\\n>\\n  {{#unless part.shouldHideAvatar}}\\n    <span\\n      class=\\\"avatar o__m conversation__part__avatar o__for-admin {{unless part.isPersisted \\\"o__not-persisted\\\"}}\\\"\\n    >\\n      <a\\n        href=\\\"{{href-to \\\"apps.app.admins.admin\\\" part.creator.id}}\\\"\\n        {{tooltip content=creatorDisplayAs}}\\n      >\\n        <AdminAvatar @admin={{part.creator}}/>\\n      </a>\\n    </span>\\n  {{/unless}}\\n  <div class=\\\"conversation__part-wrapper o__admin\\\">\\n    <div class=\\\"conversation__bubble-container o__admin-comment\\\">\\n      <div class=\\\"conversation__group-bubbles o__admin\\\">\\n        {{#each bubbleGroups as |bubbleGroup index|}}\\n          {{#if bubbleGroup.isMessengerCardOnly}}\\n            <Conversation::Stream::InterblocksComponent\\n              @bubbleGroup={{bubbleGroup}}\\n              @conversationId={{part.conversation_id}}\\n            />\\n          {{else}}\\n            <Conversation::Stream::BubbleComponent\\n              @bubbleGroup={{bubbleGroup}}\\n              @isLastNonMessengerCardOnlyBubbleGroup={{eq index lastNonMessengerCardOnlyBubbleGroupIndex}}\\n            >\\n              <Conversation::Stream::InterblocksComponent\\n                @bubbleGroup={{bubbleGroup}}\\n                @conversationId={{part.conversation_id}}\\n              />\\n            </Conversation::Stream::BubbleComponent>\\n          {{/if}}\\n          {{#unless (eq bubbleGroup bubbleGroups.lastObject)}}\\n            <div class=\\\"h-1\\\"></div>\\n          {{/unless}}\\n        {{/each}}\\n      </div>\\n      {{#if\\n        (and\\n          part.shouldDisplayTools\\n          app.currentAdminCanViewInbox\\n          (not readOnly)\\n        )\\n      }}\\n        <div class=\\\"conversation__bubble__spacer\\\"></div>\\n        <Conversation::Stream::CommentQuickActionsComponent\\n          class=\\\"o__admin-comment\\\"\\n          @openModal={{openModal}}\\n          @openSavedRepliesModal={{action \\\"openSavedRepliesModal\\\"}}\\n          @createSavedReply={{action \\\"createSavedReply\\\"}}\\n          @conversation={{conversation}}\\n          @part={{part}}\\n          @canUseSavedReplies={{canUseSavedReplies}}\\n          @showOnlyWhenHoveringInsideContext={{app.appLoadedOnNormalScreenDevice}}\\n          @app={{app}}\\n        />\\n      {{/if}}\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n    {{#unless part.shouldHideMeta}}\\n      {{partial \\\"components/conversation/stream/partials/admin-meta\\\"}}\\n    {{/unless}}\\n  </div>\\n</div>\\n{{#if part.isAdminAction}}\\n  <div class=\\\"h-8\\\"></div>\\n  <Conversation::Stream::AdminActionComponent\\n    @part={{part}}\\n    @app={{app}}\\n    @admin={{admin}}\\n    @openModal=\\\"openModal\\\"\\n  />\\n{{/if}}\\n{{#if part.is_event}}\\n  <div class=\\\"h-8\\\"></div>\\n  <Conversation::Stream::GenericEventComponent\\n    @part={{part}}\\n    @app={{app}}\\n    @admin={{admin}}\\n    @openModal=\\\"openModal\\\"\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/admin-comment-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/admin-comment-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport ConversationPartComponentBase from 'embercom/components/conversation/stream/conversation-part-component-base';\n\nexport default ConversationPartComponentBase.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-partial --}}\\n<div class=\\\"conversation__part\\\">\\n  <span class=\\\"avatar o__m conversation__part__avatar o__for-admin\\\">\\n    <a\\n      href=\\\"{{href-to \\\"apps.app.admins.admin\\\" @app.operatorBot.id}}\\\"\\n      {{tooltip content=this.creatorDisplayAs}}\\n    >\\n      <AdminAvatar @admin={{@app.operatorBot}}/>\\n    </a>\\n  </span>\\n\\n  <div class=\\\"conversation__part-wrapper o__admin\\\">\\n    <div class=\\\"conversation__bubble-container o__admin-note\\\">\\n      <div\\n        class=\\\"conversation__bubble u__right o__admin-note o__operator-note\\\"\\n      >\\n        <div class=\\\"conversation__bubble__inner\\\">\\n          {{#if @part.event_data}}\\n            <div class=\\\"flex flex-col gap-4\\\">\\n              <Paragraph>\\n                🚩 This could be a duplicate conversation.\\n              </Paragraph>\\n\\n              <Paragraph>\\n                {{@conversation.main_participant.display_as}}\\n                has\\n                <Text @styling='strong'>{{pluralize @part.event_data.conversations.length 'other conversation'}}</Text>\\n                with activity in the last 10 hours:\\n              </Paragraph>\\n\\n              <div>\\n                {{#if this.loadConversations.isRunning}}\\n                  {{!-- Display placeholder whilst we fetch the conversations so that the height doesn't change after the fact --}}\\n                  {{#each @part.event_data.conversations as |id|}}\\n                    <div>💬&nbsp;#{{id}}</div>\\n                  {{/each}}\\n                {{else}}\\n                  {{#each this.conversations as |conversation|}}\\n                    <div>\\n                      💬&nbsp;\\n                      <a href={{href-to @app.conversationRedirectRoute conversation}} {{on 'click' (prevent-default (set this.selectedConversation conversation))}} data-href-to-ignore>\\n                        {{~#if (and @app.canUseEmberConversationTitle conversation.title)~}}\\n                          <Text @linkStyling=\\\"standalone\\\">{{conversation.title}}</Text>\\n                        {{~else~}}\\n                          <Text @linkStyling=\\\"standalone\\\">#{{conversation.id}}</Text>\\n                        {{~/if~}}\\n                      </a>\\n\\n                      <Conversation::Stream::AssigneeComponent @conversation={{conversation}} @app={{@app}} />\\n\\n                      - updated {{abbreviated-relative-time-ago-helper conversation.sorting_updated_at}}\\n                    </div>\\n                  {{/each}}\\n                {{/if}}\\n              </div>\\n            </div>\\n\\n            <Conversation::SideDrawerConversation\\n              @onClose={{set this.selectedConversation null}}\\n              @isOpen={{this.selectedConversation}}\\n              @header=\\\"Possible duplicate conversation\\\"\\n              @conversation={{this.selectedConversation}}\\n              @admin={{@admin}}\\n              @readOnly={{false}}\\n            />\\n\\n          {{else}}\\n            <div\\n              dir=\\\"{{@part.text_direction}}\\\"\\n              class=\\\"conversation__text o__admin-note\\\"\\n            >\\n              {{#each this.bubbleGroups as |bubbleGroup|}}\\n                <Conversation::Stream::InterblocksComponent\\n                  @bubbleGroup={{bubbleGroup}}\\n                  @conversationId={{@part.conversation_id}}\\n                />\\n              {{/each}}\\n            </div>\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n    {{partial \\\"components/conversation/stream/partials/admin-meta\\\"}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-partial --}}\\n<div class=\\\"conversation__part\\\">\\n  <span class=\\\"avatar o__m conversation__part__avatar o__for-admin\\\">\\n    <a\\n      href=\\\"{{href-to \\\"apps.app.admins.admin\\\" @app.operatorBot.id}}\\\"\\n      {{tooltip content=this.creatorDisplayAs}}\\n    >\\n      <AdminAvatar @admin={{@app.operatorBot}}/>\\n    </a>\\n  </span>\\n\\n  <div class=\\\"conversation__part-wrapper o__admin\\\">\\n    <div class=\\\"conversation__bubble-container o__admin-note\\\">\\n      <div\\n        class=\\\"conversation__bubble u__right o__admin-note o__operator-note\\\"\\n      >\\n        <div class=\\\"conversation__bubble__inner\\\">\\n          {{#if @part.event_data}}\\n            <div class=\\\"flex flex-col gap-4\\\">\\n              <Paragraph>\\n                🚩 This could be a duplicate conversation.\\n              </Paragraph>\\n\\n              <Paragraph>\\n                {{@conversation.main_participant.display_as}}\\n                has\\n                <Text @styling='strong'>{{pluralize @part.event_data.conversations.length 'other conversation'}}</Text>\\n                with activity in the last 10 hours:\\n              </Paragraph>\\n\\n              <div>\\n                {{#if this.loadConversations.isRunning}}\\n                  {{!-- Display placeholder whilst we fetch the conversations so that the height doesn't change after the fact --}}\\n                  {{#each @part.event_data.conversations as |id|}}\\n                    <div>💬&nbsp;#{{id}}</div>\\n                  {{/each}}\\n                {{else}}\\n                  {{#each this.conversations as |conversation|}}\\n                    <div>\\n                      💬&nbsp;\\n                      <a href={{href-to @app.conversationRedirectRoute conversation}} {{on 'click' (prevent-default (set this.selectedConversation conversation))}} data-href-to-ignore>\\n                        {{~#if (and @app.canUseEmberConversationTitle conversation.title)~}}\\n                          <Text @linkStyling=\\\"standalone\\\">{{conversation.title}}</Text>\\n                        {{~else~}}\\n                          <Text @linkStyling=\\\"standalone\\\">#{{conversation.id}}</Text>\\n                        {{~/if~}}\\n                      </a>\\n\\n                      <Conversation::Stream::AssigneeComponent @conversation={{conversation}} @app={{@app}} />\\n\\n                      - updated {{abbreviated-relative-time-ago-helper conversation.sorting_updated_at}}\\n                    </div>\\n                  {{/each}}\\n                {{/if}}\\n              </div>\\n            </div>\\n\\n            <Conversation::SideDrawerConversation\\n              @onClose={{set this.selectedConversation null}}\\n              @isOpen={{this.selectedConversation}}\\n              @header=\\\"Possible duplicate conversation\\\"\\n              @conversation={{this.selectedConversation}}\\n              @admin={{@admin}}\\n              @readOnly={{false}}\\n            />\\n\\n          {{else}}\\n            <div\\n              dir=\\\"{{@part.text_direction}}\\\"\\n              class=\\\"conversation__text o__admin-note\\\"\\n            >\\n              {{#each this.bubbleGroups as |bubbleGroup|}}\\n                <Conversation::Stream::InterblocksComponent\\n                  @bubbleGroup={{bubbleGroup}}\\n                  @conversationId={{@part.conversation_id}}\\n                />\\n              {{/each}}\\n            </div>\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n    {{partial \\\"components/conversation/stream/partials/admin-meta\\\"}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/conversation/stream/admin-duplicate-conversation-note-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/admin-duplicate-conversation-note-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport ConversationPartComponentBase from 'embercom/components/conversation/stream/conversation-part-component-base';\nimport { task } from 'ember-concurrency';\nimport { allSettled } from 'rsvp';\nimport { readOnly } from '@ember/object/computed';\n\nexport default ConversationPartComponentBase.extend({\n  didInsertElement() {\n    this._super(...arguments);\n    this.loadConversations.perform();\n  },\n\n  conversations: readOnly('loadConversations.lastSuccessful.value'),\n\n  loadConversations: task(function*() {\n    let ids = this.part.event_data.conversations || [];\n    let promises = ids.map(\n      id =>\n        this.store.peekRecord('conversation', id) ||\n        this.store.findRecord('conversation', id, { backgroundReload: false }),\n    );\n\n    let records = yield allSettled(promises);\n\n    return records.map(result => (result.state === 'fulfilled' ? result.value : null));\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"conversation__part {{if part.isImmediateSend 'o__immediate-send'}} {{if part.shouldFadeIn 'a__part-fade-in'}}\\\">\\n  {{#if part.isInitialMessage}}\\n    <div class=\\\"conversation__link__caption t__light-text text-gray\\\">Asked about</div>\\n  {{else}}\\n    {{#unless part.shouldHideAvatar}}\\n      <span class=\\\"avatar o__m conversation__part__avatar o__for-admin {{unless part.isPersisted 'o__not-persisted'}}\\\">\\n        <a href=\\\"{{href-to 'apps.app.admins.admin' part.creator.id}}\\\" {{tooltip content=creatorDisplayAs}}>\\n          <AdminAvatar @admin={{part.creator}}/>\\n        </a>\\n      </span>\\n    {{/unless}}\\n  {{/if}}\\n  <div class=\\\"conversation__part-wrapper {{unless part.isInitialMessage 'o__admin'}}\\\">\\n    <div class=\\\"u__cf\\\">\\n      <div class=\\\"conversation__link {{if part.isInitialMessage 'o__message' 'u__right'}}\\\">\\n        {{render-blocks part.blocks}}\\n      </div>\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n    {{#unless (or part.isInitialMessage part.shouldHideMeta)}}\\n      {{partial 'components/conversation/stream/partials/admin-meta'}}\\n    {{/unless}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"conversation__part {{if part.isImmediateSend 'o__immediate-send'}} {{if part.shouldFadeIn 'a__part-fade-in'}}\\\">\\n  {{#if part.isInitialMessage}}\\n    <div class=\\\"conversation__link__caption t__light-text text-gray\\\">Asked about</div>\\n  {{else}}\\n    {{#unless part.shouldHideAvatar}}\\n      <span class=\\\"avatar o__m conversation__part__avatar o__for-admin {{unless part.isPersisted 'o__not-persisted'}}\\\">\\n        <a href=\\\"{{href-to 'apps.app.admins.admin' part.creator.id}}\\\" {{tooltip content=creatorDisplayAs}}>\\n          <AdminAvatar @admin={{part.creator}}/>\\n        </a>\\n      </span>\\n    {{/unless}}\\n  {{/if}}\\n  <div class=\\\"conversation__part-wrapper {{unless part.isInitialMessage 'o__admin'}}\\\">\\n    <div class=\\\"u__cf\\\">\\n      <div class=\\\"conversation__link {{if part.isInitialMessage 'o__message' 'u__right'}}\\\">\\n        {{render-blocks part.blocks}}\\n      </div>\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n    {{#unless (or part.isInitialMessage part.shouldHideMeta)}}\\n      {{partial 'components/conversation/stream/partials/admin-meta'}}\\n    {{/unless}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/conversation/stream/admin-link-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/admin-link-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport ConversationPartComponentBase from 'embercom/components/conversation/stream/conversation-part-component-base';\n\nexport default ConversationPartComponentBase.extend();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable no-partial --}}\\n<div class=\\\"conversation__part {{if part.shouldFadeIn \\\"a__part-fade-in\\\"}}\\\">\\n  <span class=\\\"avatar o__m conversation__part__avatar o__for-admin\\\">\\n    {{#if part.shouldOverrideAdminAvatar}}\\n      <span {{tooltip content=part.fromAddress.name}}>\\n        <span>\\n          <img class=\\\"avatar__media\\\" src=\\\"{{part.fromAddress.avatar}}\\\" />\\n        </span>\\n      </span>\\n    {{else}}\\n      {{#if part.creator.is_team}}\\n        <a\\n          href=\\\"{{href-to \\\"apps.app.settings.teams\\\"}}\\\"\\n          class=\\\"inbox__team-avatar__link\\\"\\n          {{tooltip content=creatorDisplayAs}}\\n        >\\n          <Inbox::TeamAvatarComponent @app={{app}} @admin={{part.creator}} />\\n        </a>\\n      {{else}}\\n        <a\\n          href=\\\"{{href-to \\\"apps.app.admins.admin\\\" part.creator.id}}\\\"\\n          {{tooltip content=creatorDisplayAs}}\\n        >\\n          <AdminAvatar @admin={{part.creator}}/>\\n        </a>\\n      {{/if}}\\n    {{/if}}\\n  </span>\\n  <div class=\\\"conversation__part-wrapper o__admin\\\">\\n    <div class=\\\"conversation__bubble-container o__admin-comment\\\">\\n      <div class=\\\"conversation__group-bubbles o__admin\\\">\\n        {{#each bubbleGroups as |bubbleGroup index|}}\\n          {{#if bubbleGroup.isMessengerCardOnly}}\\n            <Conversation::Stream::InterblocksComponent\\n              @bubbleGroup={{bubbleGroup}}\\n              @conversationId={{part.conversation_id}}\\n              @isAdminComment={{true}}\\n            />\\n          {{else}}\\n            <Conversation::Stream::BubbleComponent\\n              @bubbleGroup={{bubbleGroup}}\\n              @isLastNonMessengerCardOnlyBubbleGroup={{eq index this.lastNonMessengerCardOnlyBubbleGroupIndex}}\\n            >\\n              <Conversation::Stream::InterblocksComponent\\n                @bubbleGroup={{bubbleGroup}}\\n                @conversationId={{part.conversation_id}}\\n                @isAdminComment={{true}}\\n              />\\n            </Conversation::Stream::BubbleComponent>\\n          {{/if}}\\n          {{#unless (eq bubbleGroup bubbleGroups.lastObject)}}\\n            <div class=\\\"h-1\\\"></div>\\n          {{/unless}}\\n        {{/each}}\\n      </div>\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n    <div class=\\\"u__cf\\\">\\n      {{#unless part.shouldHideMeta}}\\n        {{partial \\\"components/conversation/stream/partials/admin-meta\\\"}}\\n      {{/unless}}\\n    </div>\\n  </div>\\n</div>\\n{{#if part.hasLightweightResponse}}\\n  <div class=\\\"h-8\\\"></div>\\n  <div class=\\\"conversation__part\\\">\\n    <span class=\\\"avatar o__m conversation__part__avatar o__for-user\\\">\\n      <Common::Tooltips::User @userId={{conversation.main_participant.id}}>\\n        {{#if conversation.main_participant.isUnknown}}\\n          {{ic-avatar direct=conversation.main_participant.avatarData size='m' contained=true}}\\n        {{else}}\\n          <a href=\\\"{{href-to 'apps.app.users.user' conversation.main_participant.id}}\\\">\\n            {{ic-avatar direct=conversation.main_participant.avatarData size='m' contained=true}}\\n          </a>\\n        {{/if}}\\n      </Common::Tooltips::User>\\n    </span>\\n    <div class=\\\"conversation__lwr\\\">\\n      {{ic-interface-icon part.lightweightReplyResponseIcon solo=true}}\\n    </div>\\n    <div class=\\\"t__light-text text-gray\\\">\\n      {{part.lightweightReplyStatement}}\\n      sent\\n      <CreatedAtWithTooltip @datetime={{part.lightweight_reply_created_at}}/>\\n    </div>\\n  </div>\\n{{else if part.reactions_reply}}\\n  <div class=\\\"h-8\\\"></div>\\n  <div class=\\\"conversation__action\\\">\\n    <div class=\\\"t__light-text text-gray conversation__action__text\\\">\\n      {{conversation.main_participant.display_as}} reacted with\\n      {{#if hasNativeEmojiSupport}}\\n        {{part.selectedReaction.unicode_emoticon}}\\n      {{else}}\\n        <img src=\\\"{{part.selectedReaction.image_url}}\\\" width=\\\"16\\\" height=\\\"16\\\" />\\n      {{/if}}\\n      <CreatedAtWithTooltip @datetime={{part.reactions_reply.created_at}}/>\\n    </div>\\n  </div>\\n{{/if}}\\n{{#if part.is_event}}\\n  <div class=\\\"h-8\\\"></div>\\n  <Conversation::Stream::GenericEventComponent\\n    @part={{part}}\\n    @app={{app}}\\n    @admin={{admin}}\\n    @openModal=\\\"openModal\\\"\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable no-partial --}}\\n<div class=\\\"conversation__part {{if part.shouldFadeIn \\\"a__part-fade-in\\\"}}\\\">\\n  <span class=\\\"avatar o__m conversation__part__avatar o__for-admin\\\">\\n    {{#if part.shouldOverrideAdminAvatar}}\\n      <span {{tooltip content=part.fromAddress.name}}>\\n        <span>\\n          <img class=\\\"avatar__media\\\" src=\\\"{{part.fromAddress.avatar}}\\\" />\\n        </span>\\n      </span>\\n    {{else}}\\n      {{#if part.creator.is_team}}\\n        <a\\n          href=\\\"{{href-to \\\"apps.app.settings.teams\\\"}}\\\"\\n          class=\\\"inbox__team-avatar__link\\\"\\n          {{tooltip content=creatorDisplayAs}}\\n        >\\n          <Inbox::TeamAvatarComponent @app={{app}} @admin={{part.creator}} />\\n        </a>\\n      {{else}}\\n        <a\\n          href=\\\"{{href-to \\\"apps.app.admins.admin\\\" part.creator.id}}\\\"\\n          {{tooltip content=creatorDisplayAs}}\\n        >\\n          <AdminAvatar @admin={{part.creator}}/>\\n        </a>\\n      {{/if}}\\n    {{/if}}\\n  </span>\\n  <div class=\\\"conversation__part-wrapper o__admin\\\">\\n    <div class=\\\"conversation__bubble-container o__admin-comment\\\">\\n      <div class=\\\"conversation__group-bubbles o__admin\\\">\\n        {{#each bubbleGroups as |bubbleGroup index|}}\\n          {{#if bubbleGroup.isMessengerCardOnly}}\\n            <Conversation::Stream::InterblocksComponent\\n              @bubbleGroup={{bubbleGroup}}\\n              @conversationId={{part.conversation_id}}\\n              @isAdminComment={{true}}\\n            />\\n          {{else}}\\n            <Conversation::Stream::BubbleComponent\\n              @bubbleGroup={{bubbleGroup}}\\n              @isLastNonMessengerCardOnlyBubbleGroup={{eq index this.lastNonMessengerCardOnlyBubbleGroupIndex}}\\n            >\\n              <Conversation::Stream::InterblocksComponent\\n                @bubbleGroup={{bubbleGroup}}\\n                @conversationId={{part.conversation_id}}\\n                @isAdminComment={{true}}\\n              />\\n            </Conversation::Stream::BubbleComponent>\\n          {{/if}}\\n          {{#unless (eq bubbleGroup bubbleGroups.lastObject)}}\\n            <div class=\\\"h-1\\\"></div>\\n          {{/unless}}\\n        {{/each}}\\n      </div>\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n    <div class=\\\"u__cf\\\">\\n      {{#unless part.shouldHideMeta}}\\n        {{partial \\\"components/conversation/stream/partials/admin-meta\\\"}}\\n      {{/unless}}\\n    </div>\\n  </div>\\n</div>\\n{{#if part.hasLightweightResponse}}\\n  <div class=\\\"h-8\\\"></div>\\n  <div class=\\\"conversation__part\\\">\\n    <span class=\\\"avatar o__m conversation__part__avatar o__for-user\\\">\\n      <Common::Tooltips::User @userId={{conversation.main_participant.id}}>\\n        {{#if conversation.main_participant.isUnknown}}\\n          {{ic-avatar direct=conversation.main_participant.avatarData size='m' contained=true}}\\n        {{else}}\\n          <a href=\\\"{{href-to 'apps.app.users.user' conversation.main_participant.id}}\\\">\\n            {{ic-avatar direct=conversation.main_participant.avatarData size='m' contained=true}}\\n          </a>\\n        {{/if}}\\n      </Common::Tooltips::User>\\n    </span>\\n    <div class=\\\"conversation__lwr\\\">\\n      {{ic-interface-icon part.lightweightReplyResponseIcon solo=true}}\\n    </div>\\n    <div class=\\\"t__light-text text-gray\\\">\\n      {{part.lightweightReplyStatement}}\\n      sent\\n      <CreatedAtWithTooltip @datetime={{part.lightweight_reply_created_at}}/>\\n    </div>\\n  </div>\\n{{else if part.reactions_reply}}\\n  <div class=\\\"h-8\\\"></div>\\n  <div class=\\\"conversation__action\\\">\\n    <div class=\\\"t__light-text text-gray conversation__action__text\\\">\\n      {{conversation.main_participant.display_as}} reacted with\\n      {{#if hasNativeEmojiSupport}}\\n        {{part.selectedReaction.unicode_emoticon}}\\n      {{else}}\\n        <img src=\\\"{{part.selectedReaction.image_url}}\\\" width=\\\"16\\\" height=\\\"16\\\" />\\n      {{/if}}\\n      <CreatedAtWithTooltip @datetime={{part.reactions_reply.created_at}}/>\\n    </div>\\n  </div>\\n{{/if}}\\n{{#if part.is_event}}\\n  <div class=\\\"h-8\\\"></div>\\n  <Conversation::Stream::GenericEventComponent\\n    @part={{part}}\\n    @app={{app}}\\n    @admin={{admin}}\\n    @openModal=\\\"openModal\\\"\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/admin-message-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/admin-message-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport ConversationPartComponentBase from 'embercom/components/conversation/stream/conversation-part-component-base';\n\nlet AdminMessageComponent = ConversationPartComponentBase.extend();\n\nexport default AdminMessageComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"conversation__part {{if part.isImmediateSend 'o__immediate-send'}} {{if part.shouldFadeIn 'a__part-fade-in'}}\\\">\\n  {{#unless part.shouldHideAvatar}}\\n    <span class=\\\"avatar o__m conversation__part__avatar o__for-admin {{unless part.isPersisted 'o__not-persisted'}}\\\">\\n      <a\\n        href=\\\"{{href-to 'apps.app.admins.admin' part.creator.id}}\\\" \\n        {{tooltip content=creatorDisplayAs}}\\n      >\\n        <AdminAvatar @admin={{part.creator}}/>\\n      </a>\\n    </span>\\n  {{/unless}}\\n  <div class=\\\"conversation__part-wrapper o__admin\\\">\\n    <div class=\\\"u__cf\\\">\\n      <div class=\\\"conversation__link__container {{if part.isInitialMessage 'o__message' 'u__right'}}\\\">\\n        {{render-blocks part.blocks}}\\n      </div>\\n    </div>\\n    {{#unless (or part.isInitialMessage part.shouldHideMeta)}}\\n      <div class=\\\"h-1\\\"></div>\\n      {{partial 'components/conversation/stream/partials/admin-meta'}}\\n    {{/unless}}\\n  </div>\\n  <div class=\\\"h-8\\\"></div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"conversation__part {{if part.isImmediateSend 'o__immediate-send'}} {{if part.shouldFadeIn 'a__part-fade-in'}}\\\">\\n  {{#unless part.shouldHideAvatar}}\\n    <span class=\\\"avatar o__m conversation__part__avatar o__for-admin {{unless part.isPersisted 'o__not-persisted'}}\\\">\\n      <a\\n        href=\\\"{{href-to 'apps.app.admins.admin' part.creator.id}}\\\" \\n        {{tooltip content=creatorDisplayAs}}\\n      >\\n        <AdminAvatar @admin={{part.creator}}/>\\n      </a>\\n    </span>\\n  {{/unless}}\\n  <div class=\\\"conversation__part-wrapper o__admin\\\">\\n    <div class=\\\"u__cf\\\">\\n      <div class=\\\"conversation__link__container {{if part.isInitialMessage 'o__message' 'u__right'}}\\\">\\n        {{render-blocks part.blocks}}\\n      </div>\\n    </div>\\n    {{#unless (or part.isInitialMessage part.shouldHideMeta)}}\\n      <div class=\\\"h-1\\\"></div>\\n      {{partial 'components/conversation/stream/partials/admin-meta'}}\\n    {{/unless}}\\n  </div>\\n  <div class=\\\"h-8\\\"></div>\\n</div>\\n\",\"moduleName\":\"embercom/components/conversation/stream/admin-multi-link-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/admin-multi-link-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport ConversationPartComponentBase from 'embercom/components/conversation/stream/conversation-part-component-base';\n\nexport default ConversationPartComponentBase.extend();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"conversation__part {{if part.isImmediateSend \\\"o__immediate-send\\\"}} {{if part.shouldFadeIn \\\"a__part-fade-in\\\"}}\\\"\\n>\\n  <span\\n    class=\\\"avatar o__m conversation__part__avatar o__for-admin {{unless part.isPersisted \\\"o__not-persisted\\\"}}\\\"\\n  >\\n    {{#if part.creator.isBot}}\\n      <a\\n        href=\\\"{{href-to \\\"apps.app.admins.admin\\\" app.operatorBot.id}}\\\"\\n        {{tooltip content=creatorDisplayAs}}\\n      >\\n        <AdminAvatar @admin={{app.operatorBot}}/>\\n      </a>\\n    {{else}}\\n      <a\\n        href=\\\"{{href-to \\\"apps.app.admins.admin\\\" part.creator.id}}\\\"\\n        {{tooltip content=creatorDisplayAs}}\\n      >\\n        <AdminAvatar @admin={{part.creator}}/>\\n      </a>\\n    {{/if}}\\n  </span>\\n  <div class=\\\"conversation__part-wrapper o__admin\\\">\\n    <div class=\\\"conversation__bubble-container o__admin-note\\\">\\n      <div\\n        class=\\\"conversation__bubble u__right o__admin-note {{if part.isOperatorNotePart \\\"o__operator-note\\\"}} {{unless part.isPersisted \\\"o__not-persisted\\\"}} {{if isHighlighted \\\"o__highlighted\\\"}}\\\"\\n      >\\n        <div class=\\\"conversation__bubble__inner\\\">\\n          <div\\n            dir=\\\"{{part.text_direction}}\\\"\\n            class=\\\"conversation__text o__admin-note\\\"\\n          >\\n            {{#each bubbleGroups as |bubbleGroup|}}\\n              <Conversation::Stream::InterblocksComponent\\n                @bubbleGroup={{bubbleGroup}}\\n                @conversationId={{part.conversation_id}}\\n              />\\n            {{/each}}\\n          </div>\\n          {{#if part.hasUploads}}\\n            <div class=\\\"h-5\\\"></div>\\n            {{#each part.uploads as |upload|}}\\n              <div class=\\\"flex items-start\\\">\\n                <span class=\\\"u__mr__10\\\">\\n                  {{ic-interface-icon \\\"attachment\\\" solo=true}}\\n                </span>\\n                <div class=\\\"flex-auto min-w-0 u__force-breaks\\\">\\n                  <a href={{upload.url}} target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">\\n                    {{upload.name}}\\n                  </a>\\n                </div>\\n              </div>\\n            {{/each}}\\n          {{/if}}\\n        </div>\\n      </div>\\n      {{#if\\n        (and\\n          part.shouldDisplayTools\\n          app.currentAdminCanViewInbox\\n          (not readOnly)\\n        )\\n      }}\\n        <div class=\\\"conversation__bubble__spacer\\\"></div>\\n        <Conversation::Stream::CommentQuickActionsComponent\\n          class=\\\"o__admin-note\\\"\\n          @openModal={{openModal}}\\n          @conversation={{conversation}}\\n          @part={{part}}\\n          @canUseSavedReplies={{false}}\\n          @showOnlyWhenHoveringInsideContext={{app.appLoadedOnNormalScreenDevice}}\\n          @app={{app}}\\n        />\\n      {{/if}}\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n    {{#unless part.shouldHideMeta}}\\n      {{partial \\\"components/conversation/stream/partials/admin-meta\\\"}}\\n    {{/unless}}\\n  </div>\\n</div>\\n{{#if part.isAdminAction}}\\n  <div class=\\\"h-8\\\"></div>\\n  <Conversation::Stream::AdminActionComponent\\n    @part={{part}}\\n    @app={{app}}\\n    @admin={{admin}}\\n    @openModal=\\\"openModal\\\"\\n  />\\n{{/if}}\\n{{#if part.is_event}}\\n  <div class=\\\"h-8\\\"></div>\\n  <Conversation::Stream::GenericEventComponent\\n    @part={{part}}\\n    @app={{app}}\\n    @admin={{admin}}\\n    @openModal=\\\"openModal\\\"\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"conversation__part {{if part.isImmediateSend \\\"o__immediate-send\\\"}} {{if part.shouldFadeIn \\\"a__part-fade-in\\\"}}\\\"\\n>\\n  <span\\n    class=\\\"avatar o__m conversation__part__avatar o__for-admin {{unless part.isPersisted \\\"o__not-persisted\\\"}}\\\"\\n  >\\n    {{#if part.creator.isBot}}\\n      <a\\n        href=\\\"{{href-to \\\"apps.app.admins.admin\\\" app.operatorBot.id}}\\\"\\n        {{tooltip content=creatorDisplayAs}}\\n      >\\n        <AdminAvatar @admin={{app.operatorBot}}/>\\n      </a>\\n    {{else}}\\n      <a\\n        href=\\\"{{href-to \\\"apps.app.admins.admin\\\" part.creator.id}}\\\"\\n        {{tooltip content=creatorDisplayAs}}\\n      >\\n        <AdminAvatar @admin={{part.creator}}/>\\n      </a>\\n    {{/if}}\\n  </span>\\n  <div class=\\\"conversation__part-wrapper o__admin\\\">\\n    <div class=\\\"conversation__bubble-container o__admin-note\\\">\\n      <div\\n        class=\\\"conversation__bubble u__right o__admin-note {{if part.isOperatorNotePart \\\"o__operator-note\\\"}} {{unless part.isPersisted \\\"o__not-persisted\\\"}} {{if isHighlighted \\\"o__highlighted\\\"}}\\\"\\n      >\\n        <div class=\\\"conversation__bubble__inner\\\">\\n          <div\\n            dir=\\\"{{part.text_direction}}\\\"\\n            class=\\\"conversation__text o__admin-note\\\"\\n          >\\n            {{#each bubbleGroups as |bubbleGroup|}}\\n              <Conversation::Stream::InterblocksComponent\\n                @bubbleGroup={{bubbleGroup}}\\n                @conversationId={{part.conversation_id}}\\n              />\\n            {{/each}}\\n          </div>\\n          {{#if part.hasUploads}}\\n            <div class=\\\"h-5\\\"></div>\\n            {{#each part.uploads as |upload|}}\\n              <div class=\\\"flex items-start\\\">\\n                <span class=\\\"u__mr__10\\\">\\n                  {{ic-interface-icon \\\"attachment\\\" solo=true}}\\n                </span>\\n                <div class=\\\"flex-auto min-w-0 u__force-breaks\\\">\\n                  <a href={{upload.url}} target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">\\n                    {{upload.name}}\\n                  </a>\\n                </div>\\n              </div>\\n            {{/each}}\\n          {{/if}}\\n        </div>\\n      </div>\\n      {{#if\\n        (and\\n          part.shouldDisplayTools\\n          app.currentAdminCanViewInbox\\n          (not readOnly)\\n        )\\n      }}\\n        <div class=\\\"conversation__bubble__spacer\\\"></div>\\n        <Conversation::Stream::CommentQuickActionsComponent\\n          class=\\\"o__admin-note\\\"\\n          @openModal={{openModal}}\\n          @conversation={{conversation}}\\n          @part={{part}}\\n          @canUseSavedReplies={{false}}\\n          @showOnlyWhenHoveringInsideContext={{app.appLoadedOnNormalScreenDevice}}\\n          @app={{app}}\\n        />\\n      {{/if}}\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n    {{#unless part.shouldHideMeta}}\\n      {{partial \\\"components/conversation/stream/partials/admin-meta\\\"}}\\n    {{/unless}}\\n  </div>\\n</div>\\n{{#if part.isAdminAction}}\\n  <div class=\\\"h-8\\\"></div>\\n  <Conversation::Stream::AdminActionComponent\\n    @part={{part}}\\n    @app={{app}}\\n    @admin={{admin}}\\n    @openModal=\\\"openModal\\\"\\n  />\\n{{/if}}\\n{{#if part.is_event}}\\n  <div class=\\\"h-8\\\"></div>\\n  <Conversation::Stream::GenericEventComponent\\n    @part={{part}}\\n    @app={{app}}\\n    @admin={{admin}}\\n    @openModal=\\\"openModal\\\"\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/admin-note-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/admin-note-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-jquery */\nimport { on } from '@ember/object/evented';\nimport $ from 'jquery';\nimport ConversationPartComponentBase from 'embercom/components/conversation/stream/conversation-part-component-base';\n\nlet AdminNoteComponent = ConversationPartComponentBase.extend({\n  setCorrectHrefForMentions: on('didInsertElement', function() {\n    let mentions = $('.entity_mention', this.element);\n    let self = this;\n    mentions.each(function() {\n      let mention = self.$(this);\n      let originalHref = mention.attr('href');\n      if (originalHref) {\n        let mentionedAdminId = originalHref.split('/').pop();\n        mention.attr('href', `/a/apps/${self.get('app.id')}/admins/${mentionedAdminId}`);\n      }\n    });\n  }),\n});\n\nexport default AdminNoteComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"conversation__part {{if part.shouldFadeIn 'a__part-fade-in'}}\\\">\\n  {{#unless part.shouldHideAvatar}}\\n    <span class=\\\"avatar o__m conversation__part__avatar o__for-admin {{unless part.isPersisted 'o__not-persisted'}}\\\">\\n      <a\\n        href=\\\"{{href-to 'apps.app.admins.admin' part.creator.id}}\\\"\\n        {{tooltip content=creatorDisplayAs}}\\n      >\\n        <AdminAvatar @admin={{part.creator}}/>\\n      </a>\\n    </span>\\n  {{/unless}}\\n  <div class=\\\"conversation__part-wrapper o__admin\\\">\\n    <div class=\\\"u__cf\\\">\\n      <div class=\\\"conversation__notification-channels__card {{if hasReplyChannel 'o__success'}} u__right\\\">\\n        <div data-test-notification-channel-title class=\\\"conversation__notification-channels__title\\\">{{title}}</div>\\n        {{#if hasReplyChannel}}\\n          <span data-test-notification-existing-value class=\\\"conversation__notification-channels__existing-value u__one-truncated-line\\\">{{channelValue}}</span>\\n        {{else}}\\n          {{#if moreThanOneChannel}}\\n            <div data-test-notification-option-container class=\\\"conversation__notification-channels__option-container\\\">\\n              {{#each channels as |channel index|}}\\n                <span class=\\\"conversation__notification-channels__option {{if (eq index 0) 'o__selected'}}\\\">{{channel.label}}</span>\\n              {{/each}}\\n            </div>\\n          {{/if}}\\n\\n          <div data-test-notification-channel-input-container class=\\\"conversation__notification-channels__input-container\\\">\\n            <input type=\\\"email\\\" disabled=\\\"true\\\" placeholder=\\\"email@example.com\\\">\\n            <button disabled=\\\"true\\\"></button>\\n          </div>\\n        {{/if}}\\n      </div>\\n    </div>\\n    {{#unless (or part.isInitialMessage part.shouldHideMeta)}}\\n      <div class=\\\"h-1\\\"></div>\\n      {{partial 'components/conversation/stream/partials/admin-meta'}}\\n    {{/unless}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"conversation__part {{if part.shouldFadeIn 'a__part-fade-in'}}\\\">\\n  {{#unless part.shouldHideAvatar}}\\n    <span class=\\\"avatar o__m conversation__part__avatar o__for-admin {{unless part.isPersisted 'o__not-persisted'}}\\\">\\n      <a\\n        href=\\\"{{href-to 'apps.app.admins.admin' part.creator.id}}\\\"\\n        {{tooltip content=creatorDisplayAs}}\\n      >\\n        <AdminAvatar @admin={{part.creator}}/>\\n      </a>\\n    </span>\\n  {{/unless}}\\n  <div class=\\\"conversation__part-wrapper o__admin\\\">\\n    <div class=\\\"u__cf\\\">\\n      <div class=\\\"conversation__notification-channels__card {{if hasReplyChannel 'o__success'}} u__right\\\">\\n        <div data-test-notification-channel-title class=\\\"conversation__notification-channels__title\\\">{{title}}</div>\\n        {{#if hasReplyChannel}}\\n          <span data-test-notification-existing-value class=\\\"conversation__notification-channels__existing-value u__one-truncated-line\\\">{{channelValue}}</span>\\n        {{else}}\\n          {{#if moreThanOneChannel}}\\n            <div data-test-notification-option-container class=\\\"conversation__notification-channels__option-container\\\">\\n              {{#each channels as |channel index|}}\\n                <span class=\\\"conversation__notification-channels__option {{if (eq index 0) 'o__selected'}}\\\">{{channel.label}}</span>\\n              {{/each}}\\n            </div>\\n          {{/if}}\\n\\n          <div data-test-notification-channel-input-container class=\\\"conversation__notification-channels__input-container\\\">\\n            <input type=\\\"email\\\" disabled=\\\"true\\\" placeholder=\\\"email@example.com\\\">\\n            <button disabled=\\\"true\\\"></button>\\n          </div>\\n        {{/if}}\\n      </div>\\n    </div>\\n    {{#unless (or part.isInitialMessage part.shouldHideMeta)}}\\n      <div class=\\\"h-1\\\"></div>\\n      {{partial 'components/conversation/stream/partials/admin-meta'}}\\n    {{/unless}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/conversation/stream/admin-notification-channels-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/admin-notification-channels-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { isEmpty, isPresent } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport { alias, reads, gt, mapBy, notEmpty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport ConversationPartComponentBase from 'embercom/components/conversation/stream/conversation-part-component-base';\n\nexport default ConversationPartComponentBase.extend({\n  realTimeEventService: service(),\n  init() {\n    this._super(...arguments);\n    if (this.get('participant.userDetailsDidUpdate')) {\n      this.part.reload();\n      this.set('participant.userDetailsDidUpdate', false);\n    }\n    this.realTimeEventService.on('UserDetails', this, 'handleUserDetailsEvent');\n  },\n  willDestroyElement() {\n    this.realTimeEventService.off('UserDetails', this, 'handleUserDetailsEvent');\n    this._super(...arguments);\n  },\n  participant: alias('conversation.main_participant'),\n  blocks: reads('part.blocks'),\n  block: reads('blocks.firstObject'),\n  channels: reads('block.channels'),\n  title: reads('block.title'),\n  moreThanOneChannel: gt('channels.length', 1),\n  channelValues: mapBy('channels', 'value'),\n  channelValue: computed('channelValues', function() {\n    return this.channelValues.find(value => !isEmpty(value));\n  }),\n  hasReplyChannel: notEmpty('channelValue'),\n\n  handleUserDetailsEvent(event) {\n    let isParticipant = this.get('participant.id') === event.id;\n    let hasEmail = isPresent(event.email) && event.email !== this.get('participant.email');\n    let hasPhoneNumber =\n      isPresent(event.user_phone_number) &&\n      event.user_phone_number !== this.get('participant.phone');\n    let channelAdded = hasEmail || hasPhoneNumber;\n    if (isParticipant && channelAdded) {\n      this.part.reload();\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"conversation__action a__part-fade-in\\\">\\n  <div class=\\\"t__light-text text-gray conversation__action__text\\\">\\n      <a href=\\\"{{href-to 'apps.app.admins.admin' part.admin.id}}\\\" class=\\\"js__href-to text-gray t__solo-link\\\">{{!--\\n     --}}{{display-admin-as admin part.admin}}{{!--\\n   --}}</a>\\n      asked\\n      <a href=\\\"{{href-to 'apps.app.users.user' user.user_id}}\\\" class=\\\"js__href-to text-gray t__solo-link\\\">{{!--\\n     --}}{{user.display_as}}{{!--\\n   --}}</a>\\n      to rate this conversation\\n    <CreatedAtWithTooltip @datetime={{part.created_at}}/>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"conversation__action a__part-fade-in\\\">\\n  <div class=\\\"t__light-text text-gray conversation__action__text\\\">\\n      <a href=\\\"{{href-to 'apps.app.admins.admin' part.admin.id}}\\\" class=\\\"js__href-to text-gray t__solo-link\\\">{{!--\\n     --}}{{display-admin-as admin part.admin}}{{!--\\n   --}}</a>\\n      asked\\n      <a href=\\\"{{href-to 'apps.app.users.user' user.user_id}}\\\" class=\\\"js__href-to text-gray t__solo-link\\\">{{!--\\n     --}}{{user.display_as}}{{!--\\n   --}}</a>\\n      to rate this conversation\\n    <CreatedAtWithTooltip @datetime={{part.created_at}}/>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/conversation/stream/admin-rating-request-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/admin-rating-request-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { reads } from '@ember/object/computed';\nimport ConversationPartComponentBase from 'embercom/components/conversation/stream/conversation-part-component-base';\n\nexport default ConversationPartComponentBase.extend({\n  user: reads('conversation.main_participant'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"conversation__part {{if part.isImmediateSend \\\"o__immediate-send\\\"}} {{if part.shouldFadeIn \\\"a__part-fade-in\\\"}}\\\"\\n>\\n  {{#unless part.shouldHideAvatar}}\\n    <span\\n      class=\\\"avatar o__m conversation__part__avatar o__for-admin {{unless part.isPersisted \\\"o__not-persisted\\\"}}\\\"\\n    >\\n      <a\\n        href=\\\"{{href-to \\\"apps.app.admins.admin\\\" part.creator.id}}\\\"\\n        {{tooltip content=part.creator.display_as}}\\n      >\\n        <AdminAvatar @admin={{part.creator}}/>\\n      </a>\\n    </span>\\n  {{/unless}}\\n  <div class=\\\"conversation__part-wrapper o__admin\\\">\\n    <div class=\\\"u__cf\\\">\\n      <div class=\\\"inbox__sticker u__right\\\">\\n        {{#if shouldShowImageSticker}}\\n          <img src={{part.stickerUri}} class=\\\"inbox__sticker-image\\\" />\\n        {{else}}\\n          <div class=\\\"emoji__wrapper\\\">\\n            {{render-blocks part.blocks}}\\n          </div>\\n        {{/if}}\\n      </div>\\n    </div>\\n    {{#unless part.shouldHideMeta}}\\n      {{partial \\\"components/conversation/stream/partials/admin-meta\\\"}}\\n    {{/unless}}\\n  </div>\\n</div>\\n{{#if part.isAdminAction}}\\n  <div class=\\\"h-8\\\"></div>\\n  <Conversation::Stream::AdminActionComponent\\n    @part={{part}}\\n    @app={{app}}\\n    @admin={{admin}}\\n    @openModal=\\\"openModal\\\"\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"conversation__part {{if part.isImmediateSend \\\"o__immediate-send\\\"}} {{if part.shouldFadeIn \\\"a__part-fade-in\\\"}}\\\"\\n>\\n  {{#unless part.shouldHideAvatar}}\\n    <span\\n      class=\\\"avatar o__m conversation__part__avatar o__for-admin {{unless part.isPersisted \\\"o__not-persisted\\\"}}\\\"\\n    >\\n      <a\\n        href=\\\"{{href-to \\\"apps.app.admins.admin\\\" part.creator.id}}\\\"\\n        {{tooltip content=part.creator.display_as}}\\n      >\\n        <AdminAvatar @admin={{part.creator}}/>\\n      </a>\\n    </span>\\n  {{/unless}}\\n  <div class=\\\"conversation__part-wrapper o__admin\\\">\\n    <div class=\\\"u__cf\\\">\\n      <div class=\\\"inbox__sticker u__right\\\">\\n        {{#if shouldShowImageSticker}}\\n          <img src={{part.stickerUri}} class=\\\"inbox__sticker-image\\\" />\\n        {{else}}\\n          <div class=\\\"emoji__wrapper\\\">\\n            {{render-blocks part.blocks}}\\n          </div>\\n        {{/if}}\\n      </div>\\n    </div>\\n    {{#unless part.shouldHideMeta}}\\n      {{partial \\\"components/conversation/stream/partials/admin-meta\\\"}}\\n    {{/unless}}\\n  </div>\\n</div>\\n{{#if part.isAdminAction}}\\n  <div class=\\\"h-8\\\"></div>\\n  <Conversation::Stream::AdminActionComponent\\n    @part={{part}}\\n    @app={{app}}\\n    @admin={{admin}}\\n    @openModal=\\\"openModal\\\"\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/admin-sticker-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/admin-sticker-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport ConversationPartComponentBase from 'embercom/components/conversation/stream/conversation-part-component-base';\n\nexport default ConversationPartComponentBase.extend();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-partial --}}\\n<div class=\\\"conversation__part\\\">\\n  <span class=\\\"avatar o__m conversation__part__avatar o__for-admin\\\">\\n    <a\\n      href=\\\"{{href-to \\\"apps.app.admins.admin\\\" @app.operatorBot.id}}\\\"\\n      {{tooltip content=this.creatorDisplayAs}}\\n    >\\n      <AdminAvatar @admin={{@app.operatorBot}}/>\\n    </a>\\n  </span>\\n\\n  <div class=\\\"conversation__part-wrapper o__admin\\\">\\n    <div class=\\\"conversation__bubble-container o__admin-note\\\">\\n      <div class=\\\"conversation__bubble u__right o__admin-note o__operator-note\\\">\\n        <div class=\\\"conversation__bubble__inner\\\">\\n          <div class=\\\"flex flex-col gap-4\\\">\\n\\n            <Paragraph>\\n              ✉️  This conversation is likely related to an existing email conversation:\\n            </Paragraph>\\n\\n            <div>\\n              {{#if this.loadConversation.isRunning}}\\n                {{!-- Display placeholder whilst we fetch the conversations so that the height doesn't change after the fact --}}\\n                <div>💬&nbsp;#{{@part.event_data.conversation_id}}</div>\\n              {{else}}\\n                <div>\\n                  💬&nbsp;\\n                  <a href={{href-to @app.conversationRedirectRoute (hash conversation_id=this.originalConversation.id)}} {{on 'click' (prevent-default (set this.selectedConversation this.originalConversation))}} data-href-to-ignore>\\n                    {{~#if (and @app.canUseEmberConversationTitle this.originalConversation.title)~}}\\n                    <Text @linkStyling=\\\"standalone\\\">{{this.originalConversation.title}}</Text>\\n                    {{~else~}}\\n                    <Text @linkStyling=\\\"standalone\\\">#{{this.originalConversation.id}}</Text>\\n                    {{~/if~}}\\n                  </a>\\n\\n                  <Conversation::Stream::AssigneeComponent @conversation={{this.originalConversation}} @app={{@app}} />\\n\\n                  - updated {{abbreviated-relative-time-ago-helper this.originalConversation.sorting_updated_at}}\\n                </div>\\n              {{/if}}\\n            </div>\\n\\n            <Paragraph>\\n              A new conversation is created when a customer replies to an existing email conversation they're not a participant of.\\n              <span class=\\\"block\\\">\\n                <Pulse::HelpContent::Link\\n                  @href=\\\"https://www.intercom.com/help/en/articles/174-forward-your-email-to-your-team-inbox#important-note-regarding-bccs\\\"\\n                  @title=\\\"Learn more here.\\\"\\n                  @type=\\\"article\\\"\\n                  @linkStyling=\\\"inline\\\"\\n                />\\n              </span>\\n            </Paragraph>\\n          </div>\\n\\n          <Conversation::SideDrawerConversation\\n            @onClose={{set this.selectedConversation null}}\\n            @isOpen={{this.selectedConversation}}\\n            @header=\\\"Possible existing email conversation reply\\\"\\n            @conversation={{this.selectedConversation}}\\n            @admin={{@admin}}\\n            @readOnly={{false}}\\n          />\\n        </div>\\n      </div>\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n    {{partial \\\"components/conversation/stream/partials/admin-meta\\\"}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-partial --}}\\n<div class=\\\"conversation__part\\\">\\n  <span class=\\\"avatar o__m conversation__part__avatar o__for-admin\\\">\\n    <a\\n      href=\\\"{{href-to \\\"apps.app.admins.admin\\\" @app.operatorBot.id}}\\\"\\n      {{tooltip content=this.creatorDisplayAs}}\\n    >\\n      <AdminAvatar @admin={{@app.operatorBot}}/>\\n    </a>\\n  </span>\\n\\n  <div class=\\\"conversation__part-wrapper o__admin\\\">\\n    <div class=\\\"conversation__bubble-container o__admin-note\\\">\\n      <div class=\\\"conversation__bubble u__right o__admin-note o__operator-note\\\">\\n        <div class=\\\"conversation__bubble__inner\\\">\\n          <div class=\\\"flex flex-col gap-4\\\">\\n\\n            <Paragraph>\\n              ✉️  This conversation is likely related to an existing email conversation:\\n            </Paragraph>\\n\\n            <div>\\n              {{#if this.loadConversation.isRunning}}\\n                {{!-- Display placeholder whilst we fetch the conversations so that the height doesn't change after the fact --}}\\n                <div>💬&nbsp;#{{@part.event_data.conversation_id}}</div>\\n              {{else}}\\n                <div>\\n                  💬&nbsp;\\n                  <a href={{href-to @app.conversationRedirectRoute (hash conversation_id=this.originalConversation.id)}} {{on 'click' (prevent-default (set this.selectedConversation this.originalConversation))}} data-href-to-ignore>\\n                    {{~#if (and @app.canUseEmberConversationTitle this.originalConversation.title)~}}\\n                    <Text @linkStyling=\\\"standalone\\\">{{this.originalConversation.title}}</Text>\\n                    {{~else~}}\\n                    <Text @linkStyling=\\\"standalone\\\">#{{this.originalConversation.id}}</Text>\\n                    {{~/if~}}\\n                  </a>\\n\\n                  <Conversation::Stream::AssigneeComponent @conversation={{this.originalConversation}} @app={{@app}} />\\n\\n                  - updated {{abbreviated-relative-time-ago-helper this.originalConversation.sorting_updated_at}}\\n                </div>\\n              {{/if}}\\n            </div>\\n\\n            <Paragraph>\\n              A new conversation is created when a customer replies to an existing email conversation they're not a participant of.\\n              <span class=\\\"block\\\">\\n                <Pulse::HelpContent::Link\\n                  @href=\\\"https://www.intercom.com/help/en/articles/174-forward-your-email-to-your-team-inbox#important-note-regarding-bccs\\\"\\n                  @title=\\\"Learn more here.\\\"\\n                  @type=\\\"article\\\"\\n                  @linkStyling=\\\"inline\\\"\\n                />\\n              </span>\\n            </Paragraph>\\n          </div>\\n\\n          <Conversation::SideDrawerConversation\\n            @onClose={{set this.selectedConversation null}}\\n            @isOpen={{this.selectedConversation}}\\n            @header=\\\"Possible existing email conversation reply\\\"\\n            @conversation={{this.selectedConversation}}\\n            @admin={{@admin}}\\n            @readOnly={{false}}\\n          />\\n        </div>\\n      </div>\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n    {{partial \\\"components/conversation/stream/partials/admin-meta\\\"}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/conversation/stream/admin-unknown-participant-for-email-conversation-note-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/admin-unknown-participant-for-email-conversation-note-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n\nimport ConversationPartComponentBase from 'embercom/components/conversation/stream/conversation-part-component-base';\nimport { task } from 'ember-concurrency';\nimport { readOnly } from '@ember/object/computed';\n\nexport default ConversationPartComponentBase.extend({\n  didInsertElement() {\n    this._super(...arguments);\n    this.loadConversation.perform();\n  },\n\n  originalConversation: readOnly('loadConversation.lastSuccessful.value'),\n\n  loadConversation: task(function*() {\n    let id = this.part.event_data.conversation_id;\n    let promise =\n      this.store.peekRecord('conversation', id) ||\n      this.store.findRecord('conversation', id, { backgroundReload: false });\n\n    return yield promise;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @app.canAssignToTeamAndTeammate}}\\n  {{#if (or @conversation.hasAdminAssignee @conversation.hasTeamAssignee)}}\\n    assigned to\\n    <Text @styling='strong'>\\n      {{#if @conversation.hasAdminAssignee}}\\n        {{@conversation.adminAssignee.name}}\\n        {{#if @conversation.hasTeamAssignee}}\\n          ({{@conversation.teamAssignee.name}})\\n        {{/if}}\\n      {{else if @conversation.hasTeamAssignee}}\\n        {{@conversation.teamAssignee.name}}\\n      {{/if}}\\n    </Text>\\n  {{else}}\\n    unassigned\\n  {{/if}}\\n{{else}}\\n  {{#if @conversation.hasAssignee}}\\n    assigned to <Text @styling='strong'>{{@conversation.assignee.name}}</Text>\\n  {{else}}\\n    unassigned\\n  {{/if}}\\n{{/if}}\", {\"contents\":\"{{#if @app.canAssignToTeamAndTeammate}}\\n  {{#if (or @conversation.hasAdminAssignee @conversation.hasTeamAssignee)}}\\n    assigned to\\n    <Text @styling='strong'>\\n      {{#if @conversation.hasAdminAssignee}}\\n        {{@conversation.adminAssignee.name}}\\n        {{#if @conversation.hasTeamAssignee}}\\n          ({{@conversation.teamAssignee.name}})\\n        {{/if}}\\n      {{else if @conversation.hasTeamAssignee}}\\n        {{@conversation.teamAssignee.name}}\\n      {{/if}}\\n    </Text>\\n  {{else}}\\n    unassigned\\n  {{/if}}\\n{{else}}\\n  {{#if @conversation.hasAssignee}}\\n    assigned to <Text @styling='strong'>{{@conversation.assignee.name}}</Text>\\n  {{else}}\\n    unassigned\\n  {{/if}}\\n{{/if}}\",\"moduleName\":\"embercom/components/conversation/stream/assignee-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/assignee-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { isNone } from '@ember/utils';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n  store: service(),\n\n  classNameBindings: ['backgroundClass'],\n\n  didInsertElement() {\n    this._super(...arguments);\n    if (this.get('app.currentAdminHasInboxAccess') && isNone(this.background)) {\n      this.loadBackgroundFromTeammateAppSettings.perform();\n    }\n  },\n\n  backgroundClass: computed('background', 'app.currentAdminHasInboxAccess', function() {\n    if (this.get('app.currentAdminHasInboxAccess') && this.background) {\n      return `conversation__outlet__inner__background o__${this.background}`;\n    }\n    return '';\n  }),\n\n  loadBackgroundFromTeammateAppSettings: task(function*() {\n    let teammateAppSetting = yield this.store.findRecord(\n      'admin-teammate-app-settings',\n      this.get('admin.id'),\n      { backgroundReload: false },\n    );\n    this.set('background', teammateAppSetting.get('adminMessengerBackground'));\n  }).drop(),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable no-bare-strings no-triple-curlies --}}\\n{{!-- NOTE: please don't add additional uses of triple curlies in embercom --}}\\n{{!--       see https://github.com/intercom/embercom/wiki/Avoiding-XSS-in-Embercom --}}\\n<div class=\\\"conversation__bubble__inner\\\">\\n  <div\\n    dir=\\\"{{part.text_direction}}\\\"\\n    class=\\\"conversation__text {{if part.isOperatorCommentPart \\\"o__operator-comment\\\"}} {{if part.hasOneImageUpload \\\"o__with-image\\\"}} {{if part.displaysAsAdminComment \\\"o__admin-comment\\\"}} {{if displaysAsUserComment \\\"o__user-comment\\\"}} {{if part.isRedacted \\\"o__redacted\\\"}}\\\"\\n  >\\n    {{#if shouldDisplaySubject}}\\n      <h2\\n        data-test-conversation-part-subject\\n        class=\\\"js_conversation_part_subject\\\"\\n      >\\n        {{{part.subject}}}\\n      </h2>\\n    {{/if}}\\n    {{yield}}\\n  </div>\\n  {{#if shouldDisplayTagging}}\\n    {{#if part.hasBodyOrSubject}}\\n      <div class=\\\"h-1\\\"></div>\\n    {{/if}}\\n    {{#unless app.canUseConversationLevelTagging}}\\n      <div data-test-conversation-part-tagging class=\\\"u__cf\\\">\\n        {{#each part.uniqueTaggings as |tagging|}}\\n          <Conversation::Stream::CommentTag\\n            @app={{app}}\\n            @admin={{admin}}\\n            @tagging={{tagging}}\\n            @taggable={{part}}\\n          />\\n        {{/each}}\\n      </div>\\n    {{/unless}}\\n  {{/if}}\\n  {{#if shouldDisplayUpload}}\\n    <div data-test-conversation-part-upload class=\\\"conversation__text\\\">\\n      {{#if part.hasOneImageUpload}}\\n        {{#each part.uploads as |upload|}}\\n          <a href=\\\"{{upload.url}}\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\"><img src=\\\"{{upload.url}}\\\" alt=\\\"{{upload.name}}\\\"></a>\\n        {{/each}}\\n      {{else if part.hasUploads}}\\n        {{#each part.uploads as |upload|}}\\n          <div class=\\\"flex items-start\\\">\\n            <span class=\\\"u__mr__10\\\">{{ic-interface-icon 'attachment' solo=true}}</span>\\n            <div class=\\\"flex-auto min-w-0 u__force-breaks\\\">\\n              <a href={{upload.url}} target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" class=\\\"u__force-breaks\\\">{{upload.name}}</a>\\n            </div>\\n          </div>\\n        {{/each}}\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n  {{#if part.isLightweightReply}}\\n    <div class=\\\"conversation__bubble__lwr u__prevent-breaks\\\">\\n      {{#if part.isThumbsLightweightReply}}\\n        {{ic-interface-icon \\\"lwr-thumbs-up\\\" solo=true}}\\n        {{ic-interface-icon \\\"lwr-thumbs-down\\\" solo=true}}\\n      {{/if}}\\n      {{#if part.isEmotionsLightweightReply}}\\n        {{ic-interface-icon \\\"lwr-happy\\\" solo=true}}\\n        {{ic-interface-icon \\\"lwr-neutral\\\" solo=true}}\\n        {{ic-interface-icon \\\"lwr-sad\\\" solo=true}}\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable no-bare-strings no-triple-curlies --}}\\n{{!-- NOTE: please don't add additional uses of triple curlies in embercom --}}\\n{{!--       see https://github.com/intercom/embercom/wiki/Avoiding-XSS-in-Embercom --}}\\n<div class=\\\"conversation__bubble__inner\\\">\\n  <div\\n    dir=\\\"{{part.text_direction}}\\\"\\n    class=\\\"conversation__text {{if part.isOperatorCommentPart \\\"o__operator-comment\\\"}} {{if part.hasOneImageUpload \\\"o__with-image\\\"}} {{if part.displaysAsAdminComment \\\"o__admin-comment\\\"}} {{if displaysAsUserComment \\\"o__user-comment\\\"}} {{if part.isRedacted \\\"o__redacted\\\"}}\\\"\\n  >\\n    {{#if shouldDisplaySubject}}\\n      <h2\\n        data-test-conversation-part-subject\\n        class=\\\"js_conversation_part_subject\\\"\\n      >\\n        {{{part.subject}}}\\n      </h2>\\n    {{/if}}\\n    {{yield}}\\n  </div>\\n  {{#if shouldDisplayTagging}}\\n    {{#if part.hasBodyOrSubject}}\\n      <div class=\\\"h-1\\\"></div>\\n    {{/if}}\\n    {{#unless app.canUseConversationLevelTagging}}\\n      <div data-test-conversation-part-tagging class=\\\"u__cf\\\">\\n        {{#each part.uniqueTaggings as |tagging|}}\\n          <Conversation::Stream::CommentTag\\n            @app={{app}}\\n            @admin={{admin}}\\n            @tagging={{tagging}}\\n            @taggable={{part}}\\n          />\\n        {{/each}}\\n      </div>\\n    {{/unless}}\\n  {{/if}}\\n  {{#if shouldDisplayUpload}}\\n    <div data-test-conversation-part-upload class=\\\"conversation__text\\\">\\n      {{#if part.hasOneImageUpload}}\\n        {{#each part.uploads as |upload|}}\\n          <a href=\\\"{{upload.url}}\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\"><img src=\\\"{{upload.url}}\\\" alt=\\\"{{upload.name}}\\\"></a>\\n        {{/each}}\\n      {{else if part.hasUploads}}\\n        {{#each part.uploads as |upload|}}\\n          <div class=\\\"flex items-start\\\">\\n            <span class=\\\"u__mr__10\\\">{{ic-interface-icon 'attachment' solo=true}}</span>\\n            <div class=\\\"flex-auto min-w-0 u__force-breaks\\\">\\n              <a href={{upload.url}} target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" class=\\\"u__force-breaks\\\">{{upload.name}}</a>\\n            </div>\\n          </div>\\n        {{/each}}\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n  {{#if part.isLightweightReply}}\\n    <div class=\\\"conversation__bubble__lwr u__prevent-breaks\\\">\\n      {{#if part.isThumbsLightweightReply}}\\n        {{ic-interface-icon \\\"lwr-thumbs-up\\\" solo=true}}\\n        {{ic-interface-icon \\\"lwr-thumbs-down\\\" solo=true}}\\n      {{/if}}\\n      {{#if part.isEmotionsLightweightReply}}\\n        {{ic-interface-icon \\\"lwr-happy\\\" solo=true}}\\n        {{ic-interface-icon \\\"lwr-neutral\\\" solo=true}}\\n        {{ic-interface-icon \\\"lwr-sad\\\" solo=true}}\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/conversation/stream/bubble-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/bubble-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { and, readOnly, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  classNames: ['conversation__bubble'],\n  'data-test-conversation-bubble': true,\n  classNameBindings: [\n    'displaysAsUserComment:o__user-comment',\n    'isOperatorComment:o__operator-comment',\n    'isAdminComment:o__admin-comment',\n    'isNotPersisted:o__not-persisted',\n    'isRedacted:o__redacted',\n    'isHighlighted:o__highlighted',\n  ],\n\n  appService: service(),\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n\n  part: readOnly('bubbleGroup.part'),\n  isAdminComment: readOnly('part.displaysAsAdminComment'),\n  isOperatorComment: readOnly('part.isOperatorCommentPart'),\n  isHighlighted: readOnly('bubbleGroup.isHighlighted'),\n  isPersisted: readOnly('part.isPersisted'),\n  isNotPersisted: not('isPersisted'),\n  isRedacted: readOnly('part.isRedacted'),\n  partDoesNotHaveMessengerCards: not('part.hasMessengerCards'),\n  shouldDisplayTagging: and('isLastNonMessengerCardOnlyBubbleGroup', 'part.hasTaggings'),\n  shouldDisplayUpload: and('isLastNonMessengerCardOnlyBubbleGroup', 'part.hasUploads'),\n  shouldDisplaySubject: and('partDoesNotHaveMessengerCards', 'part.hasSubject'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each componentAttrs.quickActionsAvailable as |quickAction|}}\\n  {{#component quickAction\\n    openModal=componentAttrs.openModal\\n    openSavedRepliesModal=componentAttrs.openSavedRepliesModal\\n    createSavedReply=componentAttrs.createSavedReply\\n    conversation=componentAttrs.conversation\\n    part=componentAttrs.part\\n    as |icon message act classes|\\n  }}\\n    <a\\n      data-test-extra-quick-action\\n      class=\\\"dropdown__list-item o__hoverable u__prevent-breaks {{classes}}\\\"\\n      {{on 'click' (fn this.performQuickAction act @hideDropdownOverlay)}}\\n    >\\n      {{ic-interface-icon icon}} {{message}}\\n    </a>\\n  {{/component}}\\n{{/each}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each componentAttrs.quickActionsAvailable as |quickAction|}}\\n  {{#component quickAction\\n    openModal=componentAttrs.openModal\\n    openSavedRepliesModal=componentAttrs.openSavedRepliesModal\\n    createSavedReply=componentAttrs.createSavedReply\\n    conversation=componentAttrs.conversation\\n    part=componentAttrs.part\\n    as |icon message act classes|\\n  }}\\n    <a\\n      data-test-extra-quick-action\\n      class=\\\"dropdown__list-item o__hoverable u__prevent-breaks {{classes}}\\\"\\n      {{on 'click' (fn this.performQuickAction act @hideDropdownOverlay)}}\\n    >\\n      {{ic-interface-icon icon}} {{message}}\\n    </a>\\n  {{/component}}\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/comment-extra-quick-actions-dropdown-overlay.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/comment-extra-quick-actions-dropdown-overlay.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\n\nexport default Component.extend({\n  classNames: ['overlay'],\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.get('componentAttrs.dropdownOverlayVisibilityChanged')(true);\n  },\n\n  willDestroyElement() {\n    this.get('componentAttrs.dropdownOverlayVisibilityChanged')(false);\n    this._super(...arguments);\n  },\n\n  performQuickAction: action(async function(action, hideDropdownOverlay) {\n    if (action) {\n      await action();\n    }\n    hideDropdownOverlay();\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (gte @quickActionsAvailable.length 1)}}\\n  <IcDropdownOpener\\n    @label=\\\"More\\\"\\n    @dropdownComponent=\\\"conversation/stream/comment-extra-quick-actions-dropdown-overlay\\\"\\n    @placement={{if @part.isAdminPart 'bottom-end' 'bottom-start'}}\\n    @fallbackPlacements={{if @part.isAdminPart (array 'top-end') (array 'top-start')}}\\n    @hideDelay={{200}}\\n    @dropdownComponentAttrs={{hash\\n      part=@part\\n      quickActionsAvailable=@quickActionsAvailable\\n      openModal=@openModal\\n      openSavedRepliesModal=@openSavedRepliesModal\\n      createSavedReply=@createSavedReply\\n      conversation=@conversation\\n      dropdownOverlayVisibilityChanged=@dropdownOverlayVisibilityChanged\\n    }}\\n  >\\n    <span\\n      class=\\\"quick-action conversation__bubble__tools__item o__flipped text-gray {{if @isOpen \\\"o__depressed\\\"}}\\\"\\n    >\\n      {{ic-interface-icon \\\"expander-dots\\\" solo=true}}\\n    </span>\\n  </IcDropdownOpener>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (gte @quickActionsAvailable.length 1)}}\\n  <IcDropdownOpener\\n    @label=\\\"More\\\"\\n    @dropdownComponent=\\\"conversation/stream/comment-extra-quick-actions-dropdown-overlay\\\"\\n    @placement={{if @part.isAdminPart 'bottom-end' 'bottom-start'}}\\n    @fallbackPlacements={{if @part.isAdminPart (array 'top-end') (array 'top-start')}}\\n    @hideDelay={{200}}\\n    @dropdownComponentAttrs={{hash\\n      part=@part\\n      quickActionsAvailable=@quickActionsAvailable\\n      openModal=@openModal\\n      openSavedRepliesModal=@openSavedRepliesModal\\n      createSavedReply=@createSavedReply\\n      conversation=@conversation\\n      dropdownOverlayVisibilityChanged=@dropdownOverlayVisibilityChanged\\n    }}\\n  >\\n    <span\\n      class=\\\"quick-action conversation__bubble__tools__item o__flipped text-gray {{if @isOpen \\\"o__depressed\\\"}}\\\"\\n    >\\n      {{ic-interface-icon \\\"expander-dots\\\" solo=true}}\\n    </span>\\n  </IcDropdownOpener>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/comment-extra-quick-actions.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/comment-extra-quick-actions.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasTagAction}}\\n  {{#component\\n    tagAction\\n    conversation=conversation\\n    openModal=openModal\\n    openSavedRepliesModal=openSavedRepliesModal\\n    createSavedReply=createSavedReply\\n    part=part as |icon message act classes|\\n  }}\\n    <a\\n      href=\\\"#\\\"\\n      class=\\\"quick-action conversation__bubble__tools__item text-gray {{classes}}\\\"\\n      data-test-tag-action\\n      {{action act}}\\n      {{tooltip content=message}}\\n    >\\n      {{ic-interface-icon icon solo=true}}\\n    </a>\\n  {{/component}}\\n{{/if}}\\n<Conversation::Stream::CommentExtraQuickActions\\n  @canUseSavedReplies={{canUseSavedReplies}}\\n  @conversation={{conversation}}\\n  @openModal={{openModal}}\\n  @openSavedRepliesModal={{openSavedRepliesModal}}\\n  @createSavedReply={{createSavedReply}}\\n  @part={{part}}\\n  @quickActionsAvailable={{extraQuickActions}}\\n  @dropdownOverlayVisibilityChanged={{action \\\"dropdownOverlayVisibilityChanged\\\"}}\\n  @showOnlyWhenHoveringInsideContext={{app.appLoadedOnNormalScreenDevice}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasTagAction}}\\n  {{#component\\n    tagAction\\n    conversation=conversation\\n    openModal=openModal\\n    openSavedRepliesModal=openSavedRepliesModal\\n    createSavedReply=createSavedReply\\n    part=part as |icon message act classes|\\n  }}\\n    <a\\n      href=\\\"#\\\"\\n      class=\\\"quick-action conversation__bubble__tools__item text-gray {{classes}}\\\"\\n      data-test-tag-action\\n      {{action act}}\\n      {{tooltip content=message}}\\n    >\\n      {{ic-interface-icon icon solo=true}}\\n    </a>\\n  {{/component}}\\n{{/if}}\\n<Conversation::Stream::CommentExtraQuickActions\\n  @canUseSavedReplies={{canUseSavedReplies}}\\n  @conversation={{conversation}}\\n  @openModal={{openModal}}\\n  @openSavedRepliesModal={{openSavedRepliesModal}}\\n  @createSavedReply={{createSavedReply}}\\n  @part={{part}}\\n  @quickActionsAvailable={{extraQuickActions}}\\n  @dropdownOverlayVisibilityChanged={{action \\\"dropdownOverlayVisibilityChanged\\\"}}\\n  @showOnlyWhenHoveringInsideContext={{app.appLoadedOnNormalScreenDevice}}\\n/>\\n\",\"moduleName\":\"embercom/components/conversation/stream/comment-quick-actions-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/comment-quick-actions-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { bind } from '@ember/runloop';\nimport $ from 'jquery';\nimport { computed } from '@ember/object';\nimport { notEmpty, readOnly, not, and, or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { BROWSER_SUPPORTS_TOUCH } from 'embercom/lib/screen-awareness';\n\nexport default Component.extend({\n  appService: service(),\n  hasContext: true,\n  enterContextElementSelector: '.conversation__bubble-container',\n  exitContextElementSelector: '.conversation__bubble-container',\n  showOnlyWhenHoveringInsideContext: true,\n  classNames: ['conversation__bubble__tools', 'u__relative'],\n  classNameBindings: ['showOnlyWhenHoveringInsideContext:u__hidden'],\n\n  mainParticipantHasEmail: notEmpty('conversation.main_participant.email'),\n\n  hasTagAction: readOnly('part.isUserPartOrReply'),\n  partHasOnlyMessengerCard: readOnly('part.hasOnlyMessengerCard'),\n  partDoesNotHaveMessengerCards: not('part.hasMessengerCards'),\n  canUseSavedRepliesManagement: not('appService.app.canUseSavedRepliesManagement'),\n  canSaveFromReply: or(\n    'canUseSavedRepliesManagement',\n    'appService.app.canUseCreateSavedReplyModal',\n  ),\n  hasSaveReplyAction: and(\n    'canUseSavedReplies',\n    'part.isAdminPart',\n    'partDoesNotHaveMessengerCards',\n    'canSaveFromReply',\n  ),\n  hasGithubAction: readOnly('appService.app.hasActiveGithubIntegration'),\n  hasSalesforceAction: and('appService.app.hasSalesforceIntegration', 'mainParticipantHasEmail'),\n\n  tagAction: computed('hasTagAction', 'partHasOnlyMessengerCard', function() {\n    if (this.hasTagAction && !this.partHasOnlyMessengerCard) {\n      return 'conversation/stream/quick-actions/tag-reply-quick-action';\n    }\n\n    return null;\n  }),\n\n  extraQuickActions: computed(\n    'hasSaveReplyAction',\n    'part.canBeRedacted',\n    'hasGithubAction',\n    'hasSalesforceAction',\n    function() {\n      let actions = [];\n\n      if (this.hasGithubAction) {\n        actions.push('integrations/github/conversation-parts-quick-action-item');\n      }\n      if (this.hasSalesforceAction) {\n        actions.push('integrations/salesforce/conversation-parts-quick-action-item');\n      }\n      if (this.get('part.canBeRedacted')) {\n        actions.push('conversation/stream/quick-actions/redact-reply-quick-action');\n      }\n\n      actions.push('conversation/stream/quick-actions/copy-permalink-quick-action');\n\n      if (\n        this.hasSaveReplyAction &&\n        this.appService.app.canUseFeature('team-inbox-create-saved-reply-modal')\n      ) {\n        actions.push('conversation/stream/quick-actions/save-reply-quick-action');\n      }\n\n      return actions;\n    },\n  ),\n\n  didInsertElement() {\n    this._super(...arguments);\n    let enterContextElement;\n    let exitContextElement;\n    let toggleElementDisplay = this.showOnlyWhenHoveringInsideContext && !BROWSER_SUPPORTS_TOUCH;\n    if (this.hasContext) {\n      enterContextElement = $(this.element)\n        .parents(this.enterContextElementSelector)\n        .eq(0);\n      exitContextElement = $(this.element)\n        .parents(this.exitContextElementSelector)\n        .eq(0);\n      if (enterContextElement.length === 0 || exitContextElement.length === 0) {\n        this.set('hasContext', false);\n      } else {\n        this.set('enterContextElement', enterContextElement);\n        this.set('exitContextElement', exitContextElement);\n        exitContextElement.on(\n          `mouseleave.${this.elementId}`,\n          bind(this, function() {\n            if (toggleElementDisplay) {\n              if (this.dropdownOverlayVisible) {\n                this.mouseLeftWhileOpen = true;\n              } else {\n                $(this.element).addClass('u__hidden');\n              }\n            }\n          }),\n        );\n        if (toggleElementDisplay) {\n          enterContextElement.on(\n            `mouseenter.${this.elementId}`,\n            bind(this, function() {\n              this.mouseLeftWhileOpen = false;\n              $(this.element).removeClass('u__hidden');\n            }),\n          );\n        }\n      }\n    }\n  },\n\n  willDestroyElement() {\n    if (this.hasContext && this.enterContextElement && this.exitContextElement) {\n      this.exitContextElement.off(`mouseleave.${this.elementId}`);\n      this.enterContextElement.off(`mouseenter.${this.elementId}`);\n    }\n    this.set('enterContextElement', null);\n    this.set('exitContextElement', null);\n    this._super(...arguments);\n  },\n\n  actions: {\n    dropdownOverlayVisibilityChanged(visible) {\n      this.set('dropdownOverlayVisible', visible);\n      if (!visible && $(this.element) && this.mouseLeftWhileOpen) {\n        this.mouseLeftWhileOpen = false;\n        $(this.element).addClass('u__hidden');\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip\\n  class=\\\"pill {{if @app.currentAdminHasInboxAccess 'o__has-delete'}}\\\"\\n  data-test-comment-tag-tooltip-opener\\n  as |t|\\n>\\n  <t.opener>\\n    <span class=\\\"pill__icon\\\">\\n      {{ic-interface-icon \\\"tag\\\" set=\\\"tiny\\\" color=\\\"gray\\\" solo=true}}\\n    </span>\\n    <Common::ConditionalLinkTo\\n      @params={{array\\n        @app.inboxConversationsRoute\\n        @app\\n        \\\"search\\\"\\n        (query-params q=null tagIds=(array @tagging.tag.id))\\n      }}\\n      @classNames=\\\"t__solo-link\\\"\\n      @linkEnabled={{@app.inboxIsActive}}\\n    >\\n      {{@tagging.tag.name}}\\n    </Common::ConditionalLinkTo>\\n    {{#if @app.currentAdminHasInboxAccess}}\\n      <a\\n        class=\\\"pill__delete\\\"\\n        title=\\\"Remove {{@tagging.tag.name}} tag\\\"\\n        {{on 'click' (fn @taggable.removeTagging @tagging.tag)}}\\n      >\\n        {{ic-interface-icon \\\"delete\\\" set=\\\"tiny\\\" color=\\\"gray\\\" solo=true}}\\n      </a>\\n    {{/if}}\\n  </t.opener>\\n\\n  <t.content data-test-comment-tag-tooltip-content>\\n    {{#if @tagging.hasWorkflow}}\\n      Tagged by \\\"{{@tagging.workflowName}}\\\" rule\\n    {{else}}\\n      Tagged by\\n      <IcAvatarComponent @model={{@tagging.admin}} @size=\\\"xs\\\" />\\n      {{display-admin-as @admin @tagging.admin false false true}}\\n    {{/if}}\\n    <time\\n      class=\\\"js__relative-time\\\"\\n      data-formatter=\\\"full-relative-time-ago-helper\\\"\\n      datetime=\\\"{{@tagging.tagged_at}}\\\"\\n    >\\n      {{full-relative-time-ago-helper @tagging.tagged_at}}\\n    </time>\\n  </t.content>\\n</IcTooltip>\\n\", {\"contents\":\"<IcTooltip\\n  class=\\\"pill {{if @app.currentAdminHasInboxAccess 'o__has-delete'}}\\\"\\n  data-test-comment-tag-tooltip-opener\\n  as |t|\\n>\\n  <t.opener>\\n    <span class=\\\"pill__icon\\\">\\n      {{ic-interface-icon \\\"tag\\\" set=\\\"tiny\\\" color=\\\"gray\\\" solo=true}}\\n    </span>\\n    <Common::ConditionalLinkTo\\n      @params={{array\\n        @app.inboxConversationsRoute\\n        @app\\n        \\\"search\\\"\\n        (query-params q=null tagIds=(array @tagging.tag.id))\\n      }}\\n      @classNames=\\\"t__solo-link\\\"\\n      @linkEnabled={{@app.inboxIsActive}}\\n    >\\n      {{@tagging.tag.name}}\\n    </Common::ConditionalLinkTo>\\n    {{#if @app.currentAdminHasInboxAccess}}\\n      <a\\n        class=\\\"pill__delete\\\"\\n        title=\\\"Remove {{@tagging.tag.name}} tag\\\"\\n        {{on 'click' (fn @taggable.removeTagging @tagging.tag)}}\\n      >\\n        {{ic-interface-icon \\\"delete\\\" set=\\\"tiny\\\" color=\\\"gray\\\" solo=true}}\\n      </a>\\n    {{/if}}\\n  </t.opener>\\n\\n  <t.content data-test-comment-tag-tooltip-content>\\n    {{#if @tagging.hasWorkflow}}\\n      Tagged by \\\"{{@tagging.workflowName}}\\\" rule\\n    {{else}}\\n      Tagged by\\n      <IcAvatarComponent @model={{@tagging.admin}} @size=\\\"xs\\\" />\\n      {{display-admin-as @admin @tagging.admin false false true}}\\n    {{/if}}\\n    <time\\n      class=\\\"js__relative-time\\\"\\n      data-formatter=\\\"full-relative-time-ago-helper\\\"\\n      datetime=\\\"{{@tagging.tagged_at}}\\\"\\n    >\\n      {{full-relative-time-ago-helper @tagging.tagged_at}}\\n    </time>\\n  </t.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/conversation/stream/comment-tag.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/comment-tag.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { debounce } from '@ember/runloop';\nimport $ from 'jquery';\nimport { isPresent } from '@ember/utils';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { not, and, or, equal, reads, empty, mapBy, alias } from '@ember/object/computed';\nimport EmberObject, { computed } from '@ember/object';\nimport emoji from 'embercom/lib/emoji';\nimport { EXTERNAL_REPLY_SEND_STATES } from 'embercom/lib/conversation-part/external-reply-send-states';\n\nfunction isMessengerCardBlock(block) {\n  return block.type === 'messengerCard';\n}\n\nexport const BubbleGroup = EmberObject.extend({\n  blocks: null,\n  isMessengerCardOnly: computed('blocks', function() {\n    let blocks = this.blocks;\n    return blocks.every(isMessengerCardBlock) && blocks.length > 0;\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.set('blocks', []);\n  },\n\n  addBlock(block) {\n    this.blocks.pushObject(block);\n    if (isMessengerCardBlock(block)) {\n      this.setupCanvasModel();\n    }\n  },\n\n  setupCanvasModel() {\n    let canvasJSON = this.get('blocks.lastObject.canvas');\n    let canvas = this.store.push({\n      data: {\n        id: canvasJSON.id,\n        type: 'app-framework/canvas',\n        attributes: {\n          content: null,\n          ...canvasJSON,\n        },\n      },\n    });\n    this.set('canvas', canvas);\n  },\n});\n\nexport default Component.extend({\n  tagName: 'span',\n  classNameBindings: [\n    'part.compact:m__conversation-stream__compact',\n    'part.isFirstCompactedPart:m__conversation-stream__compact-first',\n    'part.isLastCompactedPart:m__conversation-stream__compact-last',\n  ],\n  'data-test-conversation-part-component-base': true,\n  realTimeEventService: service(),\n  store: service(),\n  hasNativeEmojiSupport: computed(function() {\n    return emoji.hasNativeSupport();\n  }),\n  creatorDisplayAs: computed('part.creator.display_as', 'part.github_metadata_name', function() {\n    if (this.get('part.github_metadata_name')) {\n      if (this.get('part.isOperatorPart')) {\n        return 'Operator';\n      }\n      return `${this.get('part.github_metadata_name')} via GitHub`;\n    }\n    return this.get('part.creator.display_as');\n  }),\n  channelText: computed(\n    'part.conversation.initiator.label',\n    'part.isInitialPartByAdmin',\n    'part.isChannelEmail',\n    'part.isGithubBotPart',\n    'part.isNote',\n    'part.isOperatorPart',\n    function() {\n      if (this.get('part.isInitialPartByAdmin')) {\n        if (this.get('part.conversation.initiator.label')) {\n          return this.get('part.conversation.initiator.label');\n        } else if (this.get('part.isChannelEmail')) {\n          return 'Email';\n        } else {\n          return 'In-app';\n        }\n      } else if (this.get('part.isChannelEmail')) {\n        return 'Email';\n      } else if (this.get('part.isGithubBotPart')) {\n        return 'Operator';\n      } else if (this.get('part.isNote')) {\n        return 'Note';\n      } else if (this.get('part.isInitialPartStartedByCustomBot')) {\n        return 'Custom Bot';\n      } else if (this.get('part.isOperatorPart')) {\n        return 'Auto reply';\n      } else {\n        return '';\n      }\n    },\n  ),\n  isHighlighted: computed('highlightedConversationPartId', 'part.id', function() {\n    let partId = this.get('part.id');\n    return isPresent(partId) && this.highlightedConversationPartId === partId;\n  }),\n  isExternalChannel: and('part.external_reply_send_state', 'part.isNotNote'),\n  isNotExternalChannel: not('isExternalChannel'),\n  isExternalChannelDeliveryInProgress: equal(\n    'part.external_reply_send_state.send_state',\n    EXTERNAL_REPLY_SEND_STATES.pending,\n  ),\n  isExternalChannelDeliverySuccessful: equal(\n    'part.external_reply_send_state.send_state',\n    EXTERNAL_REPLY_SEND_STATES.success,\n  ),\n  hasExternalChannelDeliveryFailed: equal(\n    'part.external_reply_send_state.send_state',\n    EXTERNAL_REPLY_SEND_STATES.error,\n  ),\n  doesNotHaveNativeEmojiSupport: not('hasNativeEmojiSupport'),\n  shouldShowSticker: reads('part.isSticker'),\n  shouldNotShowChannel: empty('channelText'),\n  shouldShowImageSticker: and('shouldShowSticker', 'doesNotHaveNativeEmojiSupport'),\n  partNotEmail: not('part.isChannelEmail'),\n  firstPart: equal('part.type', 'message'),\n  firstPartSentViaEmail: and('part.isChannelEmail', 'firstPart'),\n  firstPartSentViaEmailOrNotEmail: or('firstPartSentViaEmail', 'partNotEmail'),\n  leadSharesEmailWithUserWarningOn: reads('conversation.lead_shares_email_with_user'),\n  leadIdentifiedViaEmailWarningOn: alias('conversation.lead_identified_via_email'),\n  hasImpersonationWarning: or('leadSharesEmailWithUserWarningOn', 'part.unauthenticated'),\n  showImpersonationWarning: and('hasImpersonationWarning', 'firstPartSentViaEmailOrNotEmail'),\n\n  bubbleGroups: computed('part.blocks', function() {\n    let bubbleGroups = [this._createBubbleGroup()];\n    let blocks = this.get('part.blocks');\n\n    blocks &&\n      blocks.forEach((block, i) => {\n        let lastGroup = bubbleGroups[bubbleGroups.length - 1];\n\n        if (this._shouldDiscardBlock(block, lastGroup)) {\n          return;\n        }\n\n        if (this._shouldSplitBlockIntoNewBubble(block, lastGroup)) {\n          lastGroup = this._createBubbleGroup();\n          bubbleGroups.push(lastGroup);\n        }\n\n        lastGroup.addBlock(block);\n      });\n\n    return bubbleGroups;\n  }),\n  lastNonMessengerCardOnlyBubbleGroupIndex: computed(\n    'bubbleGroups.@each.isMessengerCardOnly',\n    function() {\n      for (let index = this.bubbleGroups.length - 1; index >= 0; index--) {\n        if (!this.bubbleGroups.objectAt(index).isMessengerCardOnly) {\n          return index;\n        }\n      }\n    },\n  ),\n\n  messengerCardTopics: mapBy('part.messengerCardBlocks', 'uri'),\n\n  didInsertElement() {\n    this._super(...arguments);\n    if (this.isHighlighted) {\n      this.scrollToConversationPart($(this.element));\n    }\n    if (this.get('part.hasMessengerCards') && this.get('part.isPersisted')) {\n      this.subscribeMessengerCardRealtime();\n      this.part.reload();\n    }\n  },\n\n  willDestroyElement() {\n    this._super(...arguments);\n    if (this.get('part.hasMessengerCards')) {\n      this.unsubscribeMessengerCardRealtime();\n    }\n  },\n\n  handleMessengerCardUpdate(realtimeEventData) {\n    let cardUri = realtimeEventData.cardUri;\n    let part = this.part;\n    if (part.hasMessengerCard(cardUri)) {\n      part.reload();\n    }\n  },\n\n  subscribeMessengerCardRealtime() {\n    this.realTimeEventService.subscribeTopics(this.messengerCardTopics);\n    this.realTimeEventService.on('MessengerCardUpdated', this, 'handleMessengerCardUpdate');\n  },\n\n  unsubscribeMessengerCardRealtime() {\n    this.realTimeEventService.unsubscribeTopics(this.messengerCardTopics);\n    this.realTimeEventService.off('MessengerCardUpdated', this, 'handleMessengerCardUpdate');\n  },\n\n  _shouldDiscardBlock(block, currentBubbleGroup) {\n    return block.type === 'paragraph' && block.text === '';\n  },\n\n  _shouldSplitBlockIntoNewBubble(currentBlock, currentBubbleGroup) {\n    if (currentBubbleGroup.blocks.length === 0) {\n      return false;\n    }\n    if (this.get('part.isPostStyleAutoMessage') || this.get('part.isNoteStyleAutoMessage')) {\n      return false;\n    }\n\n    let previousBlock = currentBubbleGroup.blocks[currentBubbleGroup.blocks.length - 1];\n    return isMessengerCardBlock(currentBlock) || isMessengerCardBlock(previousBlock);\n  },\n\n  _createBubbleGroup() {\n    return BubbleGroup.create({\n      store: this.store,\n      part: this.part,\n      isHighlighted: this.isHighlighted,\n    });\n  },\n\n  partSaveCallback() {\n    this.part.save().catch(error => {\n      this.part.updateError(error);\n    });\n  },\n\n  actions: {\n    openModal(controllerPath, model, options) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('openModal', controllerPath, model, options);\n    },\n    toggleSharing() {\n      this.part.toggleSharing();\n    },\n    openSavedRepliesModal(options) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('openSavedRepliesModal', options);\n    },\n\n    createSavedReply(blocks) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('createSavedReply', blocks);\n    },\n\n    retry() {\n      if (!this.get('part.isRetriable')) {\n        return;\n      }\n      this.set('part.hasErrored', false);\n      debounce(this, this.partSaveCallback, 500);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{component this.componentPath\\n  conversation=@conversation\\n  part=@part\\n  app=@app\\n  admin=@admin\\n  openModal=@openModal\\n  readOnly=@readOnly\\n  canUseSavedReplies=@canUseSavedReplies\\n  openSavedRepliesModal=@openSavedRepliesModal\\n  createSavedReply=@createSavedReply\\n  isLastAdminItemWithSeenMetadata=@isLastAdminItemWithSeenMetadata\\n  highlightedConversationPartId=@highlightedConversationPartId\\n  scrollToConversationPart=@scrollToConversationPart\\n  data-test-conversation-part=true\\n}}\\n\\n\", {\"contents\":\"{{component this.componentPath\\n  conversation=@conversation\\n  part=@part\\n  app=@app\\n  admin=@admin\\n  openModal=@openModal\\n  readOnly=@readOnly\\n  canUseSavedReplies=@canUseSavedReplies\\n  openSavedRepliesModal=@openSavedRepliesModal\\n  createSavedReply=@createSavedReply\\n  isLastAdminItemWithSeenMetadata=@isLastAdminItemWithSeenMetadata\\n  highlightedConversationPartId=@highlightedConversationPartId\\n  scrollToConversationPart=@scrollToConversationPart\\n  data-test-conversation-part=true\\n}}\\n\\n\",\"moduleName\":\"embercom/components/conversation/stream/conversation-part-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/conversation-part-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  tagName: '',\n\n  supportStickers: computed('conversation.{isTwitter,isFacebook}', function() {\n    return !this.get('conversation.isTwitter') && !this.get('conversation.isFacebook');\n  }),\n\n  componentPath: computed('part.{isUserPart,partType}', 'supportStickers', function() {\n    let renderedPartType = this.get('part.partType');\n\n    if (\n      this.app?.canAssignToTeamAndTeammate &&\n      this.part.partType === 'action' &&\n      this.part.sub_type === 'assignment' &&\n      this.part.event_data?.template\n    ) {\n      return 'conversation/stream/generic-event-component';\n    }\n\n    if (renderedPartType === 'eventWithoutBody') {\n      return 'conversation/stream/generic-event-component';\n    }\n\n    if (renderedPartType === 'sticker' && !this.supportStickers) {\n      renderedPartType = 'comment';\n    }\n\n    let ownerType = this.get('part.isUserPart') ? 'user' : 'admin';\n    return `conversation/stream/${ownerType}-${renderedPartType}-component`;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{~#if this.hasAdmin ~}}\\n  <a href=\\\"{{href-to 'apps.app.admins.admin' token.id}}\\\" class=\\\"text-gray t__solo-link\\\">{{value}}</a>\\n{{~else~}}\\n  {{~#if (has-feature \\\"canAssignToTeamAndTeammate\\\") ~}}\\n    No Teammate\\n  {{~else~}}\\n    Unassigned\\n  {{~/if~}}\\n{{~/if~}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{~#if this.hasAdmin ~}}\\n  <a href=\\\"{{href-to 'apps.app.admins.admin' token.id}}\\\" class=\\\"text-gray t__solo-link\\\">{{value}}</a>\\n{{~else~}}\\n  {{~#if (has-feature \\\"canAssignToTeamAndTeammate\\\") ~}}\\n    No Teammate\\n  {{~else~}}\\n    Unassigned\\n  {{~/if~}}\\n{{~/if~}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/event-part-admin-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/event-part-admin-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport EmberObject from '@ember/object';\nimport displayAdminAs from 'embercom/lib/inbox/display-admin-as';\n\nexport default Component.extend({\n  tagName: 'span',\n\n  hasAdmin: computed('token.id', function() {\n    return this.token.id && this.token.id.toString() !== '0';\n  }),\n\n  value: computed('admin', 'token', 'tokens', 'part', function() {\n    let currentAdmin = this.admin;\n\n    let tokenAdmin = EmberObject.create({\n      id: this.token.id.toString(),\n      display_as: this.token.value,\n    });\n\n    let isAssignee = /assignee/.test(this.token.reference);\n    let hasAdminInTokens = this.tokens && this.tokens.any(token => token.reference === 'admin');\n\n    let isReflexive =\n      this.part.hasHumanAssignee &&\n      this.part.isReflexiveAssignment &&\n      isAssignee &&\n      hasAdminInTokens;\n\n    return displayAdminAs(\n      currentAdmin,\n      tokenAdmin,\n      isReflexive, // reflexive\n      isReflexive, // lowercase\n      false,\n    );\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @app.canUseWorkflows}}\\n  {{@token.value}}\\n{{else}}\\n  <LinkTo\\n    @route=\\\"apps.app.inbox.rules\\\"\\n    @query={{hash id=@token.id}}\\n    @classNames=\\\"text-gray t__solo-link\\\"\\n  >\\n    {{@token.value}}\\n  </LinkTo>\\n{{/if}}\\n\", {\"contents\":\"{{#if @app.canUseWorkflows}}\\n  {{@token.value}}\\n{{else}}\\n  <LinkTo\\n    @route=\\\"apps.app.inbox.rules\\\"\\n    @query={{hash id=@token.id}}\\n    @classNames=\\\"text-gray t__solo-link\\\"\\n  >\\n    {{@token.value}}\\n  </LinkTo>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/event-part-assignment-rule-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/event-part-assignment-rule-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @app.canUseWorkflows}}\\n  {{@token.value}}\\n{{else}}\\n  <LinkTo\\n    @route=\\\"apps.app.inbox.automation.assignment\\\"\\n    @classNames=\\\"text-gray t__solo-link\\\"\\n  >\\n    {{@token.value}}\\n  </LinkTo>\\n{{/if}}\\n\", {\"contents\":\"{{#if @app.canUseWorkflows}}\\n  {{@token.value}}\\n{{else}}\\n  <LinkTo\\n    @route=\\\"apps.app.inbox.automation.assignment\\\"\\n    @classNames=\\\"text-gray t__solo-link\\\"\\n  >\\n    {{@token.value}}\\n  </LinkTo>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/event-part-assignment-rules-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/event-part-assignment-rules-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span\\n  {{tooltip content=\\\"Turn on away mode to opt out of round robin\\\" isDisabled=(not-eq @token.id \\\"round_robin\\\")}}\\n>\\n  {{~@token.value~}}\\n</span>\", {\"contents\":\"<span\\n  {{tooltip content=\\\"Turn on away mode to opt out of round robin\\\" isDisabled=(not-eq @token.id \\\"round_robin\\\")}}\\n>\\n  {{~@token.value~}}\\n</span>\",\"moduleName\":\"embercom/components/conversation/stream/event-part-assignment-strategy-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/event-part-assignment-strategy-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @app.canUseWorkflows}}\\n  {{@token.value}}\\n{{else}}\\n  <LinkTo\\n    @route=\\\"apps.app.inbox.automation.sla\\\"\\n    @query={{hash id=@token.id}}\\n    @classNames=\\\"text-gray t__solo-link\\\"\\n  >\\n    {{@token.value}}\\n  </LinkTo>\\n{{/if}}\\n\", {\"contents\":\"{{#if @app.canUseWorkflows}}\\n  {{@token.value}}\\n{{else}}\\n  <LinkTo\\n    @route=\\\"apps.app.inbox.automation.sla\\\"\\n    @query={{hash id=@token.id}}\\n    @classNames=\\\"text-gray t__solo-link\\\"\\n  >\\n    {{@token.value}}\\n  </LinkTo>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/event-part-conversation-sla-rule-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/event-part-conversation-sla-rule-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span>\\n  <span class=\\\"attribute__completion o__complete o__event-part\\\">\\n    {{ic-interface-icon 'small-check' solo=true}}\\n  </span>\\n  {{~@token.value~}}\\n</span>\", {\"contents\":\"<span>\\n  <span class=\\\"attribute__completion o__complete o__event-part\\\">\\n    {{ic-interface-icon 'small-check' solo=true}}\\n  </span>\\n  {{~@token.value~}}\\n</span>\",\"moduleName\":\"embercom/components/conversation/stream/event-part-identifier-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/event-part-identifier-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @part.conversation.initiator.deleted}}\\n  <span data-test-event-part-delete-message-label>{{@part.conversation.initiator.label}}</span>\\n{{else}}\\n  <LinkTo\\n    @route={{or @part.messageShowPageRoute \\\"apps.app.outbound.message\\\"}}\\n    @model={{or @part.messageShowPageId @token.id}}\\n    @classNames=\\\"text-gray t__solo-link\\\"\\n    data-test-event-part-message-link={{true}}\\n  >\\n    {{or @part.conversation.initiator.title @token.value}}\\n  </LinkTo>\\n{{/if}}\\n\", {\"contents\":\"{{#if @part.conversation.initiator.deleted}}\\n  <span data-test-event-part-delete-message-label>{{@part.conversation.initiator.label}}</span>\\n{{else}}\\n  <LinkTo\\n    @route={{or @part.messageShowPageRoute \\\"apps.app.outbound.message\\\"}}\\n    @model={{or @part.messageShowPageId @token.id}}\\n    @classNames=\\\"text-gray t__solo-link\\\"\\n    data-test-event-part-message-link={{true}}\\n  >\\n    {{or @part.conversation.initiator.title @token.value}}\\n  </LinkTo>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/event-part-message-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/event-part-message-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @app.canUseWorkflows}}\\n  {{@token.value}}\\n{{else}}\\n  <LinkTo\\n    @route=\\\"apps.app.inbox.automation.priority\\\"\\n    @query={{hash id=@token.id}}\\n    @classNames=\\\"text-gray t__solo-link\\\"\\n  >\\n    {{@token.value}}\\n  </LinkTo>\\n{{/if}}\\n\", {\"contents\":\"{{#if @app.canUseWorkflows}}\\n  {{@token.value}}\\n{{else}}\\n  <LinkTo\\n    @route=\\\"apps.app.inbox.automation.priority\\\"\\n    @query={{hash id=@token.id}}\\n    @classNames=\\\"text-gray t__solo-link\\\"\\n  >\\n    {{@token.value}}\\n  </LinkTo>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/event-part-priority-rule-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/event-part-priority-rule-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{value}}\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{value}}\",\"moduleName\":\"embercom/components/conversation/stream/event-part-snoozed-until-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/event-part-snoozed-until-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport moment from 'moment';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\n\nexport default Component.extend({\n  tagName: 'span',\n  value: computed('token.{id,value,custom_snoozed_until_time}', function() {\n    if (this.get('token.id') === 'custom_timer') {\n      let customSnoozedUntilTime = moment(this.get('token.custom_snoozed_until_time'));\n      if (customSnoozedUntilTime.isValid()) {\n        return `until ${customSnoozedUntilTime.format(dateAndTimeFormats.timeOnDay)}`;\n      }\n    }\n    return this.get('token.value');\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{ic-interface-icon \\\"tag\\\" color=\\\"gray\\\" set=\\\"tiny\\\"}}\\n{{~#if this.tag~}}\\n  <a href=\\\"{{this.tagURL}}\\\" class=\\\"t__solo-link\\\" data-test-event-part-tag-link>{{this.tag.name}}</a>\\n{{~else~}}\\n  <span data-test-event-part-tag-label>{{@token.label}}</span>\\n{{~/if~}}\\n\", {\"contents\":\"{{ic-interface-icon \\\"tag\\\" color=\\\"gray\\\" set=\\\"tiny\\\"}}\\n{{~#if this.tag~}}\\n  <a href=\\\"{{this.tagURL}}\\\" class=\\\"t__solo-link\\\" data-test-event-part-tag-link>{{this.tag.name}}</a>\\n{{~else~}}\\n  <span data-test-event-part-tag-label>{{@token.label}}</span>\\n{{~/if~}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/event-part-tag-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/event-part-tag-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tagFilterUrl } from 'embercom/vendor/intercom/tag-filter-url';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  tagName: '',\n  store: service(),\n\n  tag: computed('token', function() {\n    return this.store.peekRecord('tag', this.token.id);\n  }),\n\n  tagURL: computed('tag', function() {\n    return tagFilterUrl(this.tag, 'conversation');\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<a \\n  href={{href-to \\\"apps.app.inbox.automation.tag\\\" (query-params id=@token.id)}}\\n  target=\\\"_blank\\\"\\n  class=\\\"t__solo-link\\\" \\n  rel=\\\"noopener noreferrer\\\"\\n  data-test-event-part-tag-rule-link\\n>\\n {{~@token.label~}}\\n</a>\\n\", {\"contents\":\"<a \\n  href={{href-to \\\"apps.app.inbox.automation.tag\\\" (query-params id=@token.id)}}\\n  target=\\\"_blank\\\"\\n  class=\\\"t__solo-link\\\" \\n  rel=\\\"noopener noreferrer\\\"\\n  data-test-event-part-tag-rule-link\\n>\\n {{~@token.label~}}\\n</a>\\n\",\"moduleName\":\"embercom/components/conversation/stream/event-part-tag-rule-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/event-part-tag-rule-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{~#if (eq @token.id 0)~}}\\n  <span ...attributes>No Team</span>\\n{{~else~}}\\n  <a\\n    ...attributes\\n    class=\\\"text-gray t__solo-link\\\"\\n    href=\\\"{{href-to \\\"apps.app.settings.teams\\\"}}#{{@token.id}}\\\"\\n  >\\n    {{~@token.value~}}\\n  </a>\\n{{~/if~}}\\n\", {\"contents\":\"{{~#if (eq @token.id 0)~}}\\n  <span ...attributes>No Team</span>\\n{{~else~}}\\n  <a\\n    ...attributes\\n    class=\\\"text-gray t__solo-link\\\"\\n    href=\\\"{{href-to \\\"apps.app.settings.teams\\\"}}#{{@token.id}}\\\"\\n  >\\n    {{~@token.value~}}\\n  </a>\\n{{~/if~}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/event-part-team-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/event-part-team-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span>{{~@token.value~}}</span>\", {\"contents\":\"<span>{{~@token.value~}}</span>\",\"moduleName\":\"embercom/components/conversation/stream/event-part-text-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/event-part-text-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @token.value~}}\\n  <span ...attributes>\\n    {{~@token.value~}}\\n  </span>\\n{{~/if}}\\n\", {\"contents\":\"{{#if @token.value~}}\\n  <span ...attributes>\\n    {{~@token.value~}}\\n  </span>\\n{{~/if}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/event-part-title-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/event-part-title-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<LinkTo\\n  @route=\\\"apps.app.operator.custom-bots.custom-bot.show\\\"\\n  @model={{@token.id}}\\n  @classNames=\\\"text-gray t__solo-link\\\"\\n>\\n  \\\"{{@token.value}}\\\"\\n</LinkTo>\\n\", {\"contents\":\"<LinkTo\\n  @route=\\\"apps.app.operator.custom-bots.custom-bot.show\\\"\\n  @model={{@token.id}}\\n  @classNames=\\\"text-gray t__solo-link\\\"\\n>\\n  \\\"{{@token.value}}\\\"\\n</LinkTo>\\n\",\"moduleName\":\"embercom/components/conversation/stream/event-part-unengaged-inbound-bot-introduction-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/event-part-unengaged-inbound-bot-introduction-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{~displayText~}}\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{~displayText~}}\",\"moduleName\":\"embercom/components/conversation/stream/event-part-unknown-entity-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/event-part-unknown-entity-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { or } from '@ember/object/computed';\n\nexport default Component.extend({\n  tagName: 'span',\n  classNames: ['text-gray'],\n\n  displayText: or('token.label', 'token.value'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Common::Tooltips::User @userId={{user.id}}>\\n  {{#if userHasLoaded}}\\n    <a href=\\\"{{href-to 'apps.app.users.user' user.id}}\\\" class=\\\"text-gray t__solo-link\\\">{{user.display_as}}</a>\\n  {{~else~}}\\n    <span class=\\\"text-gray\\\">{{token.value}}</span>\\n  {{~/if~}}\\n</Common::Tooltips::User>{{! Do not add a newline at the end of this file!}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Common::Tooltips::User @userId={{user.id}}>\\n  {{#if userHasLoaded}}\\n    <a href=\\\"{{href-to 'apps.app.users.user' user.id}}\\\" class=\\\"text-gray t__solo-link\\\">{{user.display_as}}</a>\\n  {{~else~}}\\n    <span class=\\\"text-gray\\\">{{token.value}}</span>\\n  {{~/if~}}\\n</Common::Tooltips::User>{{! Do not add a newline at the end of this file!}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/event-part-user-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/event-part-user-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { isPresent } from '@ember/utils';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  userCacheService: service(),\n  tagName: 'span',\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.fetchAndSetUser.perform();\n  },\n\n  fetchAndSetUser: task(function*() {\n    let userId = this.get('token.id');\n    let user = yield this.userCacheService.getUser(userId);\n\n    if (isPresent(user)) {\n      this.setProperties({\n        userHasLoaded: true,\n        user,\n      });\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"conversation__action\\\">\\n  <div class=\\\"t__light-text text-gray conversation__action__text\\\">\\n    {{~#each this.mappedComponentsToTokens as |mappedToken| ~}}\\n      {{component mappedToken.component token=mappedToken.token admin=@admin app=@app part=@part tokens=this.tokens}}\\n    {{~/each~}}\\n    <CreatedAtWithTooltip @datetime={{@part.created_at}}/>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"conversation__action\\\">\\n  <div class=\\\"t__light-text text-gray conversation__action__text\\\">\\n    {{~#each this.mappedComponentsToTokens as |mappedToken| ~}}\\n      {{component mappedToken.component token=mappedToken.token admin=@admin app=@app part=@part tokens=this.tokens}}\\n    {{~/each~}}\\n    <CreatedAtWithTooltip @datetime={{@part.created_at}}/>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/conversation/stream/generic-event-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/generic-event-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { map } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport EventTokenizer from 'embercom/lib/events/event-tokenizer';\n\nconst SUPPORTED_TYPES = [\n  'text',\n  'admin',\n  'user',\n  'snoozed_until',\n  'identifier',\n  'assignment_rule',\n  'assignment_strategy',\n  'priority_rule',\n  'conversation_sla_rule',\n  'message',\n  'assignment_rules',\n  'unengaged_inbound_bot_introduction',\n  'tag',\n  'tag_rule',\n  'team',\n  'title',\n];\n\nexport default Component.extend({\n  tokens: computed('part.event_data.template', 'part.event_data.event_references', function() {\n    let tokenizer = new EventTokenizer(\n      this.get('part.event_data.template'),\n      this.get('part.event_data.event_references'),\n    );\n    return tokenizer.tokenize();\n  }),\n  mappedComponentsToTokens: map('tokens', function(token) {\n    let componentName;\n\n    if (SUPPORTED_TYPES.includes(token.type)) {\n      let typeWithDashes = token.type.replace(/_/g, '-');\n      componentName = `conversation/stream/event-part-${typeWithDashes}-component`;\n    } else {\n      componentName = 'conversation/stream/event-part-unknown-entity-component';\n    }\n\n    return { token, component: componentName };\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if bubbleGroup.isMessengerCardOnly}}\\n  <AppFramework::Canvas\\n    @canvas={{bubbleGroup.canvas}}\\n    @isBorderless={{false}}\\n    @disableInputs={{true}}\\n    @conversationId={{conversationId}}\\n    @location=\\\"conversation\\\"\\n  />\\n{{else}}\\n  {{#each partitionedBlocks as |blocks|}}\\n    {{#if (eq blocks.firstObject.type \\\"html\\\")}}\\n      {{render-html blocks.firstObject.content}}\\n    {{else}}\\n      {{render-blocks blocks}}\\n    {{/if}}\\n  {{/each}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if bubbleGroup.isMessengerCardOnly}}\\n  <AppFramework::Canvas\\n    @canvas={{bubbleGroup.canvas}}\\n    @isBorderless={{false}}\\n    @disableInputs={{true}}\\n    @conversationId={{conversationId}}\\n    @location=\\\"conversation\\\"\\n  />\\n{{else}}\\n  {{#each partitionedBlocks as |blocks|}}\\n    {{#if (eq blocks.firstObject.type \\\"html\\\")}}\\n      {{render-html blocks.firstObject.content}}\\n    {{else}}\\n      {{render-blocks blocks}}\\n    {{/if}}\\n  {{/each}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/interblocks-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/interblocks-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { isPresent } from '@ember/utils';\n\nexport default Component.extend({\n  part: readOnly('bubbleGroup.part'),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  partitionedBlocks: computed('bubbleGroup.blocks', 'app.hasSecureUploads', function() {\n    let partitionedBlocks = this.get('bubbleGroup.blocks')\n      .reduce(this._partitionHtmlBlocks, [[]])\n      .filter(blockList => isPresent(blockList));\n\n    if (this.app.hasSecureUploads) {\n      partitionedBlocks.forEach(blockList => {\n        blockList.forEach(block => {\n          if (block.type === 'image') {\n            block.url = block.url.replace('downloads.intercomcdn.com', 'app.intercom.com');\n          }\n        });\n      });\n    }\n\n    return partitionedBlocks;\n  }),\n\n  _partitionHtmlBlocks(accumulator, block) {\n    if (block.type === 'html') {\n      accumulator.push([block], []);\n    } else {\n      accumulator.get('lastObject').push(block);\n    }\n    return accumulator;\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (concat (href-to 'apps.app.inbox.inbox.conversation' @part) \\\"#part_id=\\\" @part.id) as |relativeUrl|}}\\n  <span\\n    {{copy-to-clipboard\\n      text=(absolute-url relativeUrl)\\n      errorMessage=\\\"Failed to copy link\\\"\\n      onSuccess=(track-analytics-event action=\\\"copied\\\" object=\\\"permalink\\\" place=\\\"inbox\\\")\\n      onError=(track-analytics-event action=\\\"copy_failed\\\" object=\\\"permalink\\\" place=\\\"inbox\\\")\\n    }}\\n  >\\n    {{#let (hash icon='link' message='Copy link') as |quickAction|}}\\n      {{yield quickAction.icon quickAction.message}}\\n    {{/let}}\\n  </span>\\n{{/let}}\\n\", {\"contents\":\"{{#let (concat (href-to 'apps.app.inbox.inbox.conversation' @part) \\\"#part_id=\\\" @part.id) as |relativeUrl|}}\\n  <span\\n    {{copy-to-clipboard\\n      text=(absolute-url relativeUrl)\\n      errorMessage=\\\"Failed to copy link\\\"\\n      onSuccess=(track-analytics-event action=\\\"copied\\\" object=\\\"permalink\\\" place=\\\"inbox\\\")\\n      onError=(track-analytics-event action=\\\"copy_failed\\\" object=\\\"permalink\\\" place=\\\"inbox\\\")\\n    }}\\n  >\\n    {{#let (hash icon='link' message='Copy link') as |quickAction|}}\\n      {{yield quickAction.icon quickAction.message}}\\n    {{/let}}\\n  </span>\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/quick-actions/copy-permalink-quick-action.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/quick-actions/copy-permalink-quick-action.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nexport default Component.extend({\n  tagName: '',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield icon (action 'openTaggingModal' part) message}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield icon (action 'openTaggingModal' part) message}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/quick-actions/quick-action-base-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/quick-actions/quick-action-base-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nexport default Component.extend({\n  appService: service(),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield icon message (action 'openRedactPartModal' part)}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield icon message (action 'openRedactPartModal' part)}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/quick-actions/redact-reply-quick-action.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/quick-actions/redact-reply-quick-action.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable promise/prefer-await-to-then */\nimport QuickActionBaseComponent from './quick-action-base-component';\n\nexport default QuickActionBaseComponent.extend({\n  icon: 'delete',\n  message: 'Delete',\n\n  actions: {\n    openRedactPartModal(part) {\n      this.permissionsService.checkPermission('can_redact_conversation_parts').then(() => {\n        this.openModal('apps/app/inbox/inbox/conversations/modals/redact-part', {\n          part,\n        });\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield icon message (action 'saveThisReply' part)}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield icon message (action 'saveThisReply' part)}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/quick-actions/save-reply-quick-action.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/quick-actions/save-reply-quick-action.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport QuickActionBaseComponent from './quick-action-base-component';\n\nexport default QuickActionBaseComponent.extend({\n  icon: 'saved-reply',\n  message: 'Save this reply',\n\n  actions: {\n    saveThisReply(part) {\n      if (this.appService.app.canUseCreateSavedReplyModal) {\n        if (this.appService.app.currentAdmin.currentAppPermissions.can_manage_saved_replies) {\n          this.createSavedReply(part.blocks);\n        } else {\n          this.permissionsService.loadAllAdminsAndShowPermissionRequestModal(\n            'can_manage_saved_replies',\n          );\n        }\n      } else {\n        this.openSavedRepliesModal({\n          mode: 'create',\n          part,\n        });\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless app.canUseConversationLevelTagging}}\\n  {{yield icon message (action 'openTaggingModal' part)}}\\n{{/unless}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless app.canUseConversationLevelTagging}}\\n  {{yield icon message (action 'openTaggingModal' part)}}\\n{{/unless}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/quick-actions/tag-reply-quick-action.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/quick-actions/tag-reply-quick-action.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport QuickActionBaseComponent from './quick-action-base-component';\n\nexport default QuickActionBaseComponent.extend({\n  icon: 'tag',\n  app: readOnly('appService.app'),\n\n  message: computed('part.is_initial_part', function() {\n    return `Tag this ${this.part.is_initial_part ? 'message' : 'reply'}`;\n  }),\n\n  actions: {\n    openTaggingModal(part) {\n      this.openModal('apps/app/inbox/inbox/conversations/modals/tagging', {\n        taggable: part,\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-user-action-component={{part.id}} class=\\\"conversation__action {{if part.isImmediateSend 'o__immediate-send'}} {{if part.shouldFadeInAction 'a__fade-in'}} {{if part.shouldFadeIn 'a__part-fade-in'}}\\\">\\n  <div class=\\\"t__light-text text-gray conversation__action__text\\\">\\n    <a href=\\\"{{href-to 'apps.app.users.user' part.participant.user_id}}\\\" class=\\\"js__href-to text-gray t__solo-link\\\">{{!--\\n     --}}{{part.participant.display_as}}{{!--\\n   --}}</a>\\n    {{part.actionStatement}}\\n    <CreatedAtWithTooltip @datetime={{part.created_at}}/>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-user-action-component={{part.id}} class=\\\"conversation__action {{if part.isImmediateSend 'o__immediate-send'}} {{if part.shouldFadeInAction 'a__fade-in'}} {{if part.shouldFadeIn 'a__part-fade-in'}}\\\">\\n  <div class=\\\"t__light-text text-gray conversation__action__text\\\">\\n    <a href=\\\"{{href-to 'apps.app.users.user' part.participant.user_id}}\\\" class=\\\"js__href-to text-gray t__solo-link\\\">{{!--\\n     --}}{{part.participant.display_as}}{{!--\\n   --}}</a>\\n    {{part.actionStatement}}\\n    <CreatedAtWithTooltip @datetime={{part.created_at}}/>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/conversation/stream/user-action-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/user-action-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport ConversationPartComponentBase from 'embercom/components/conversation/stream/conversation-part-component-base';\n\nexport default ConversationPartComponentBase.extend();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"conversation__part {{if part.shouldFadeIn \\\"a__part-fade-in\\\"}}\\\">\\n  {{#unless part.shouldHideAvatar}}\\n    <span class=\\\"avatar o__m conversation__part__avatar o__for-user\\\">\\n      {{#if part.shouldDisableAvatarLinkAndTooltip}}\\n        {{ic-avatar direct=part.creator.avatarData size=\\\"m\\\" contained=true}}\\n      {{else}}\\n        <Common::Tooltips::User @userId={{part.creator.id}}>\\n          {{#if part.creator.isUnknown}}\\n            {{ic-avatar direct=part.creator.avatarData size=\\\"m\\\" contained=true}}\\n          {{else}}\\n            {{#if part.creator.id}}\\n              <a href=\\\"{{href-to \\\"apps.app.users.user\\\" part.creator.id}}\\\">\\n                {{ic-avatar direct=part.creator.avatarData size=\\\"m\\\" contained=true}}\\n              </a>\\n            {{/if}}\\n          {{/if}}\\n        </Common::Tooltips::User>\\n      {{/if}}\\n    </span>\\n  {{/unless}}\\n  <div class=\\\"conversation__part-wrapper o__user\\\">\\n    <div\\n      data-test-user-comment-conversation-container\\n      class=\\\"conversation__bubble-container o__user-comment\\\"\\n    >\\n      <div class=\\\"conversation__group-bubbles o__user\\\">\\n        {{#each bubbleGroups as |bubbleGroup index|}}\\n          <Conversation::Stream::BubbleComponent\\n            @bubbleGroup={{bubbleGroup}}\\n            @displaysAsUserComment={{true}}\\n            @isLastNonMessengerCardOnlyBubbleGroup={{eq index this.lastNonMessengerCardOnlyBubbleGroupIndex}}\\n          >\\n            <Conversation::Stream::InterblocksComponent\\n              @bubbleGroup={{bubbleGroup}}\\n              @conversationId={{part.conversation_id}}\\n            />\\n          </Conversation::Stream::BubbleComponent>\\n          {{#unless (eq bubbleGroup bubbleGroups.lastObject)}}\\n            <div class=\\\"h-1\\\"></div>\\n          {{/unless}}\\n        {{/each}}\\n      </div>\\n      {{#if\\n        (and\\n          part.shouldDisplayTools\\n          app.currentAdminCanViewInbox\\n          (not readOnly)\\n        )\\n      }}\\n        <div class=\\\"conversation__bubble__spacer\\\"></div>\\n        <Conversation::Stream::CommentQuickActionsComponent\\n          class=\\\"o__user-comment\\\"\\n          @openModal={{openModal}}\\n          @conversation={{conversation}}\\n          @part={{part}}\\n          @showOnlyWhenHoveringInsideContext={{app.appLoadedOnNormalScreenDevice}}\\n          @app={{app}}\\n        />\\n      {{/if}}\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n    {{#unless part.shouldHideMeta}}\\n      <Conversation::Stream::UserPartMetadata\\n        @part={{part}}\\n        @showImpersonationWarning={{this.showImpersonationWarning}}\\n        @leadIdentifiedViaEmailWarningOn={{this.leadIdentifiedViaEmailWarningOn}}\\n      />\\n    {{/unless}}\\n  </div>\\n</div>\\n{{#if part.isUserReopenerWithBody}}\\n  <div class=\\\"h-8\\\"></div>\\n  <Conversation::Stream::UserActionComponent\\n    @part={{part}}\\n    @app={{app}}\\n    @openModal=\\\"openModal\\\"\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"conversation__part {{if part.shouldFadeIn \\\"a__part-fade-in\\\"}}\\\">\\n  {{#unless part.shouldHideAvatar}}\\n    <span class=\\\"avatar o__m conversation__part__avatar o__for-user\\\">\\n      {{#if part.shouldDisableAvatarLinkAndTooltip}}\\n        {{ic-avatar direct=part.creator.avatarData size=\\\"m\\\" contained=true}}\\n      {{else}}\\n        <Common::Tooltips::User @userId={{part.creator.id}}>\\n          {{#if part.creator.isUnknown}}\\n            {{ic-avatar direct=part.creator.avatarData size=\\\"m\\\" contained=true}}\\n          {{else}}\\n            {{#if part.creator.id}}\\n              <a href=\\\"{{href-to \\\"apps.app.users.user\\\" part.creator.id}}\\\">\\n                {{ic-avatar direct=part.creator.avatarData size=\\\"m\\\" contained=true}}\\n              </a>\\n            {{/if}}\\n          {{/if}}\\n        </Common::Tooltips::User>\\n      {{/if}}\\n    </span>\\n  {{/unless}}\\n  <div class=\\\"conversation__part-wrapper o__user\\\">\\n    <div\\n      data-test-user-comment-conversation-container\\n      class=\\\"conversation__bubble-container o__user-comment\\\"\\n    >\\n      <div class=\\\"conversation__group-bubbles o__user\\\">\\n        {{#each bubbleGroups as |bubbleGroup index|}}\\n          <Conversation::Stream::BubbleComponent\\n            @bubbleGroup={{bubbleGroup}}\\n            @displaysAsUserComment={{true}}\\n            @isLastNonMessengerCardOnlyBubbleGroup={{eq index this.lastNonMessengerCardOnlyBubbleGroupIndex}}\\n          >\\n            <Conversation::Stream::InterblocksComponent\\n              @bubbleGroup={{bubbleGroup}}\\n              @conversationId={{part.conversation_id}}\\n            />\\n          </Conversation::Stream::BubbleComponent>\\n          {{#unless (eq bubbleGroup bubbleGroups.lastObject)}}\\n            <div class=\\\"h-1\\\"></div>\\n          {{/unless}}\\n        {{/each}}\\n      </div>\\n      {{#if\\n        (and\\n          part.shouldDisplayTools\\n          app.currentAdminCanViewInbox\\n          (not readOnly)\\n        )\\n      }}\\n        <div class=\\\"conversation__bubble__spacer\\\"></div>\\n        <Conversation::Stream::CommentQuickActionsComponent\\n          class=\\\"o__user-comment\\\"\\n          @openModal={{openModal}}\\n          @conversation={{conversation}}\\n          @part={{part}}\\n          @showOnlyWhenHoveringInsideContext={{app.appLoadedOnNormalScreenDevice}}\\n          @app={{app}}\\n        />\\n      {{/if}}\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n    {{#unless part.shouldHideMeta}}\\n      <Conversation::Stream::UserPartMetadata\\n        @part={{part}}\\n        @showImpersonationWarning={{this.showImpersonationWarning}}\\n        @leadIdentifiedViaEmailWarningOn={{this.leadIdentifiedViaEmailWarningOn}}\\n      />\\n    {{/unless}}\\n  </div>\\n</div>\\n{{#if part.isUserReopenerWithBody}}\\n  <div class=\\\"h-8\\\"></div>\\n  <Conversation::Stream::UserActionComponent\\n    @part={{part}}\\n    @app={{app}}\\n    @openModal=\\\"openModal\\\"\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/user-comment-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/user-comment-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-jquery */\nimport { computed } from '@ember/object';\nimport $ from 'jquery';\nimport { inject as service } from '@ember/service';\nimport { reads } from '@ember/object/computed';\nimport { on } from '@ember/object/evented';\nimport { ternary, equalToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport ConversationPartComponentBase from 'embercom/components/conversation/stream/conversation-part-component-base';\nimport { addEventListener, runDisposables } from 'ember-lifeline';\n\nexport default ConversationPartComponentBase.extend({\n  intercomEventService: service(),\n  store: service(),\n  attributeBindings: ['data-intercom-target'],\n  'data-intercom-target': ternary('isLastUserComment', 'last-user-comment', false),\n  isLastUserComment: equalToProperty('conversation.lastUserPartWithBody', 'part'),\n  addUnauthenticatedAlertHoverListener: on('didInsertElement', function() {\n    if ($('.js__impersonation-warning', this.element).length) {\n      addEventListener(\n        this,\n        this.element.querySelector('.js__impersonation-warning'),\n        'mouseover',\n        () => {\n          this.intercomEventService.trackEvent('unauthenticated-warning-hovered', {\n            conversation_id: this.get('part.conversation_id'),\n          });\n        },\n      );\n    }\n  }),\n  userId: reads('part.participant.user_id'),\n  user: computed('userId', function() {\n    return this.store.peekRecord('user', this.userId);\n  }),\n  destroy() {\n    this._super(...arguments);\n    runDisposables(this);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span {{tooltip content=(full-date-and-time-helper part.created_at timezone=timezone)}}>\\n  <Common::RelativeDatetime @datetime={{part.created_at}} />\\n</span>\\n{{#if part.redactedBy}}\\n  <span class=\\\"text-gray\\\">\\n    ·\\n  </span>\\n  <DeletedAtWithTooltip @datetime={{part.redacted_at}} @by={{part.redactedBy}}/>\\n{{/if}}\\n{{#if part.hasChannelType}}\\n  <span class=\\\"text-gray\\\">\\n    ·\\n  </span>\\n  {{#if part.isChannelInApp}}\\n    {{#if part.hasUrl}}\\n      <IcTooltip @isInteractive={{true}} as |context|>\\n        <context.opener>\\n          <a\\n            data-test-user-additional-meta-data\\n            href={{part.url}}\\n            class=\\\"text-gray no-underline\\\"\\n            target=\\\"_blank\\\"\\n            rel=\\\"noopener noreferrer\\\"\\n          >\\n            {{ic-interface-icon part.channelIcon set=\\\"tiny\\\" solo=true}}\\n          </a>\\n        </context.opener>\\n        <context.content>\\n          <a href={{part.url}} target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">\\n            {{part.url}}\\n          </a>\\n          <div class=\\\"t__light-text\\\">\\n            {{part.user_agent}}\\n          </div>\\n        </context.content>\\n      </IcTooltip>\\n    {{else}}\\n      <span data-test-user-additional-meta-data>\\n        {{ic-interface-icon part.channelIcon set=\\\"tiny\\\" solo=true}}\\n      </span>\\n    {{/if}}\\n  {{else if part.isChannelEmail}}\\n    {{#if part.shouldHideViewRawEmailLink}}\\n      {{ic-interface-icon part.channelIcon set=\\\"tiny\\\" solo=true}}\\n    {{else}}\\n      <IcTooltip @isInteractive={{true}} as |context|>\\n        <context.opener>\\n          <a\\n            class=\\\"text-gray t__solo-link\\\"\\n            data-test-view-email-icon\\n            {{action \\\"viewEmailAndTrackEvent\\\"}}\\n          >\\n            {{ic-interface-icon part.channelIcon set=\\\"tiny\\\" solo=true}}\\n          </a>\\n        </context.opener>\\n        <context.content>\\n          <a {{action \\\"viewEmailAndTrackEvent\\\"}}>\\n            View raw email\\n          </a>\\n        </context.content>\\n      </IcTooltip>\\n    {{/if}}\\n    {{#if part.participantReplyToAddressDiffers}}\\n      <IcTooltip\\n        @isInteractive={{true}}\\n        data-test-reply-to-differs-warning\\n        as |context|\\n      >\\n        <context.opener>\\n          {{ic-interface-icon \\\"alert-circle\\\" color=\\\"red\\\" set=\\\"tiny\\\" solo=true}}\\n        </context.opener>\\n        <context.content>\\n          The <strong>Reply to</strong> email address is not the same as the <strong>From</strong> email address.<br>\\n          Your reply will go to <strong>{{part.participant_reply_to_address}}</strong>\\n        </context.content>\\n      </IcTooltip>\\n    {{/if}}\\n  {{else if part.isChannelTwitter}}\\n    {{#if part.hasUrl}}\\n      <IcTooltip\\n        @isInteractive={{true}}\\n        data-test-user-additional-meta-data\\n      as |t|>\\n        <t.opener>\\n          <a\\n            href={{part.url}}\\n            class=\\\"text-gray no-underline\\\"\\n            target=\\\"_blank\\\"\\n            rel=\\\"noopener noreferrer\\\"\\n          >\\n            {{ic-interface-icon part.channelIcon set=\\\"tiny\\\" solo=true}}\\n          </a>\\n        </t.opener>\\n        <t.content>\\n          From <a href={{part.url}} target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">@{{part.twitterUsername}}</a> on Twitter\\n        </t.content>\\n      </IcTooltip>\\n    {{else}}\\n      <span\\n        data-test-user-additional-meta-data\\n        {{tooltip content=\\\"As a Twitter DM\\\"}}\\n      >\\n        {{ic-interface-icon part.channelIcon set=\\\"tiny\\\" solo=true}}\\n      </span>\\n    {{/if}}\\n  {{else if part.isChannelFacebookOrFacebookMessenger}}\\n    {{#if part.hasUrl}}\\n      <IcTooltip\\n        @isInteractive={{true}}\\n        data-test-user-additional-meta-data\\n      as |t|>\\n        <t.opener>\\n          <a\\n            href={{part.url}}\\n            class=\\\"text-gray no-underline\\\"\\n            target=\\\"_blank\\\"\\n            rel=\\\"noopener noreferrer\\\"\\n          >\\n            {{ic-interface-icon part.channelIcon set=\\\"tiny\\\" solo=true}}\\n          </a>\\n        </t.opener>\\n        <t.content>\\n          <a href={{part.url}} target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">{{part.url}}</a>\\n        </t.content>\\n      </IcTooltip>\\n    {{else}}\\n      <span\\n        data-test-user-additional-meta-data\\n        {{tooltip content=\\\"Via Facebook\\\"}}\\n      >\\n        {{ic-interface-icon part.channelIcon set=\\\"tiny\\\" solo=true}}\\n      </span>\\n    {{/if}}\\n  {{else}}\\n    <span\\n      data-test-user-additional-meta-data\\n      {{tooltip content=part.user_agent isDisabled=part.hasNoUserAgent}}\\n    >\\n      {{ic-interface-icon part.channelIcon set=\\\"tiny\\\" solo=true}}\\n    </span>\\n  {{/if}}\\n{{/if}}\\n{{#if part.created_from_quick_reply}}\\n  <span class=\\\"u__default-cursor\\\" data-test-from-quick-reply-metadata>\\n    · Quick reply\\n  </span>\\n{{/if}}\\n{{#if showImpersonationWarning}}\\n  <span class=\\\"text-gray\\\">\\n    ·\\n  </span>\\n  <IcTooltip\\n    @isInteractive={{true}}\\n    data-test-impersonation-warning\\n    class=\\\"js__impersonation-warning {{if leadSharesEmailWithUserWarningOn \\\"text-yellow\\\"}}\\\"\\n  as |t|>\\n    <t.opener>\\n      {{ic-interface-icon \\\"alert\\\" set=\\\"tiny\\\" solo=true}}\\n    </t.opener>\\n    <t.content>\\n      {{if part.compact 'These messages' 'This message'}} may not have been sent\\n      <br>\\n      by {{part.participant.email}}\\n      <br>\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/impersonation-warning\\\"\\n        @title=\\\"Learn more\\\"\\n        @type=\\\"article\\\"\\n        @linkStyling=\\\"inline\\\"\\n      />\\n    </t.content>\\n  </IcTooltip>\\n{{/if}}\\n{{#if (and leadIdentifiedViaEmailWarningOn (not showImpersonationWarning))}}\\n  <span class=\\\"text-gray\\\">\\n    ·\\n  </span>\\n  <IcTooltip\\n    @isInteractive={{true}}\\n    class=\\\"js__impersonation-warning text-gray\\\"\\n    data-test-lead-identification-email-warning\\n  as |t|>\\n    <t.opener>\\n      {{ic-interface-icon \\\"alert-circle\\\" set=\\\"tiny\\\" solo=true}}\\n    </t.opener>\\n    <t.content>\\n      {{if part.compact 'These messages' 'This message'}} may not have been sent\\n      <br>\\n      by {{part.participant.email}}\\n      <br>\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/impersonation-warning\\\"\\n        @title=\\\"Learn more\\\"\\n        @type=\\\"article\\\"\\n        @linkStyling=\\\"inline\\\"\\n      />\\n    </t.content>\\n  </IcTooltip>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span {{tooltip content=(full-date-and-time-helper part.created_at timezone=timezone)}}>\\n  <Common::RelativeDatetime @datetime={{part.created_at}} />\\n</span>\\n{{#if part.redactedBy}}\\n  <span class=\\\"text-gray\\\">\\n    ·\\n  </span>\\n  <DeletedAtWithTooltip @datetime={{part.redacted_at}} @by={{part.redactedBy}}/>\\n{{/if}}\\n{{#if part.hasChannelType}}\\n  <span class=\\\"text-gray\\\">\\n    ·\\n  </span>\\n  {{#if part.isChannelInApp}}\\n    {{#if part.hasUrl}}\\n      <IcTooltip @isInteractive={{true}} as |context|>\\n        <context.opener>\\n          <a\\n            data-test-user-additional-meta-data\\n            href={{part.url}}\\n            class=\\\"text-gray no-underline\\\"\\n            target=\\\"_blank\\\"\\n            rel=\\\"noopener noreferrer\\\"\\n          >\\n            {{ic-interface-icon part.channelIcon set=\\\"tiny\\\" solo=true}}\\n          </a>\\n        </context.opener>\\n        <context.content>\\n          <a href={{part.url}} target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">\\n            {{part.url}}\\n          </a>\\n          <div class=\\\"t__light-text\\\">\\n            {{part.user_agent}}\\n          </div>\\n        </context.content>\\n      </IcTooltip>\\n    {{else}}\\n      <span data-test-user-additional-meta-data>\\n        {{ic-interface-icon part.channelIcon set=\\\"tiny\\\" solo=true}}\\n      </span>\\n    {{/if}}\\n  {{else if part.isChannelEmail}}\\n    {{#if part.shouldHideViewRawEmailLink}}\\n      {{ic-interface-icon part.channelIcon set=\\\"tiny\\\" solo=true}}\\n    {{else}}\\n      <IcTooltip @isInteractive={{true}} as |context|>\\n        <context.opener>\\n          <a\\n            class=\\\"text-gray t__solo-link\\\"\\n            data-test-view-email-icon\\n            {{action \\\"viewEmailAndTrackEvent\\\"}}\\n          >\\n            {{ic-interface-icon part.channelIcon set=\\\"tiny\\\" solo=true}}\\n          </a>\\n        </context.opener>\\n        <context.content>\\n          <a {{action \\\"viewEmailAndTrackEvent\\\"}}>\\n            View raw email\\n          </a>\\n        </context.content>\\n      </IcTooltip>\\n    {{/if}}\\n    {{#if part.participantReplyToAddressDiffers}}\\n      <IcTooltip\\n        @isInteractive={{true}}\\n        data-test-reply-to-differs-warning\\n        as |context|\\n      >\\n        <context.opener>\\n          {{ic-interface-icon \\\"alert-circle\\\" color=\\\"red\\\" set=\\\"tiny\\\" solo=true}}\\n        </context.opener>\\n        <context.content>\\n          The <strong>Reply to</strong> email address is not the same as the <strong>From</strong> email address.<br>\\n          Your reply will go to <strong>{{part.participant_reply_to_address}}</strong>\\n        </context.content>\\n      </IcTooltip>\\n    {{/if}}\\n  {{else if part.isChannelTwitter}}\\n    {{#if part.hasUrl}}\\n      <IcTooltip\\n        @isInteractive={{true}}\\n        data-test-user-additional-meta-data\\n      as |t|>\\n        <t.opener>\\n          <a\\n            href={{part.url}}\\n            class=\\\"text-gray no-underline\\\"\\n            target=\\\"_blank\\\"\\n            rel=\\\"noopener noreferrer\\\"\\n          >\\n            {{ic-interface-icon part.channelIcon set=\\\"tiny\\\" solo=true}}\\n          </a>\\n        </t.opener>\\n        <t.content>\\n          From <a href={{part.url}} target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">@{{part.twitterUsername}}</a> on Twitter\\n        </t.content>\\n      </IcTooltip>\\n    {{else}}\\n      <span\\n        data-test-user-additional-meta-data\\n        {{tooltip content=\\\"As a Twitter DM\\\"}}\\n      >\\n        {{ic-interface-icon part.channelIcon set=\\\"tiny\\\" solo=true}}\\n      </span>\\n    {{/if}}\\n  {{else if part.isChannelFacebookOrFacebookMessenger}}\\n    {{#if part.hasUrl}}\\n      <IcTooltip\\n        @isInteractive={{true}}\\n        data-test-user-additional-meta-data\\n      as |t|>\\n        <t.opener>\\n          <a\\n            href={{part.url}}\\n            class=\\\"text-gray no-underline\\\"\\n            target=\\\"_blank\\\"\\n            rel=\\\"noopener noreferrer\\\"\\n          >\\n            {{ic-interface-icon part.channelIcon set=\\\"tiny\\\" solo=true}}\\n          </a>\\n        </t.opener>\\n        <t.content>\\n          <a href={{part.url}} target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">{{part.url}}</a>\\n        </t.content>\\n      </IcTooltip>\\n    {{else}}\\n      <span\\n        data-test-user-additional-meta-data\\n        {{tooltip content=\\\"Via Facebook\\\"}}\\n      >\\n        {{ic-interface-icon part.channelIcon set=\\\"tiny\\\" solo=true}}\\n      </span>\\n    {{/if}}\\n  {{else}}\\n    <span\\n      data-test-user-additional-meta-data\\n      {{tooltip content=part.user_agent isDisabled=part.hasNoUserAgent}}\\n    >\\n      {{ic-interface-icon part.channelIcon set=\\\"tiny\\\" solo=true}}\\n    </span>\\n  {{/if}}\\n{{/if}}\\n{{#if part.created_from_quick_reply}}\\n  <span class=\\\"u__default-cursor\\\" data-test-from-quick-reply-metadata>\\n    · Quick reply\\n  </span>\\n{{/if}}\\n{{#if showImpersonationWarning}}\\n  <span class=\\\"text-gray\\\">\\n    ·\\n  </span>\\n  <IcTooltip\\n    @isInteractive={{true}}\\n    data-test-impersonation-warning\\n    class=\\\"js__impersonation-warning {{if leadSharesEmailWithUserWarningOn \\\"text-yellow\\\"}}\\\"\\n  as |t|>\\n    <t.opener>\\n      {{ic-interface-icon \\\"alert\\\" set=\\\"tiny\\\" solo=true}}\\n    </t.opener>\\n    <t.content>\\n      {{if part.compact 'These messages' 'This message'}} may not have been sent\\n      <br>\\n      by {{part.participant.email}}\\n      <br>\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/impersonation-warning\\\"\\n        @title=\\\"Learn more\\\"\\n        @type=\\\"article\\\"\\n        @linkStyling=\\\"inline\\\"\\n      />\\n    </t.content>\\n  </IcTooltip>\\n{{/if}}\\n{{#if (and leadIdentifiedViaEmailWarningOn (not showImpersonationWarning))}}\\n  <span class=\\\"text-gray\\\">\\n    ·\\n  </span>\\n  <IcTooltip\\n    @isInteractive={{true}}\\n    class=\\\"js__impersonation-warning text-gray\\\"\\n    data-test-lead-identification-email-warning\\n  as |t|>\\n    <t.opener>\\n      {{ic-interface-icon \\\"alert-circle\\\" set=\\\"tiny\\\" solo=true}}\\n    </t.opener>\\n    <t.content>\\n      {{if part.compact 'These messages' 'This message'}} may not have been sent\\n      <br>\\n      by {{part.participant.email}}\\n      <br>\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/impersonation-warning\\\"\\n        @title=\\\"Learn more\\\"\\n        @type=\\\"article\\\"\\n        @linkStyling=\\\"inline\\\"\\n      />\\n    </t.content>\\n  </IcTooltip>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversation/stream/user-part-metadata.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/user-part-metadata.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  classNames: ['conversation__bubble__meta', 't__light-text', 'u__cf', 'u__left'],\n  'data-test-user-meta-data': true,\n  router: service(),\n  appService: service(),\n\n  actions: {\n    viewEmailAndTrackEvent() {\n      let inboundEmailRoute = 'apps.app.inbound-email';\n      let inboundEmailId = this.get('part.inbound_email_id');\n      let appId = this.get('part.app_id');\n      let conversationId = this.get('part.conversation_id');\n      let partId = this.get('part.partId');\n      let queryParams = { queryParams: { conversationId } };\n      let event = {\n        action: 'clicked',\n        object: 'respond_view_raw_email_link',\n        conversation_id: conversationId,\n        inbound_email_id: inboundEmailId,\n      };\n      if (this.get('part.isInitialMessage')) {\n        event.user_message_id = partId;\n      } else {\n        event.part_id = partId;\n      }\n      this.intercomEventService.trackAnalyticsEvent(event);\n      this.router.transitionTo(inboundEmailRoute, appId, inboundEmailId, queryParams);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"conversation__part {{if part.shouldFadeIn \\\"a__part-fade-in\\\"}}\\\">\\n  {{#unless part.shouldHideAvatar}}\\n    <span class=\\\"avatar o__m conversation__part__avatar o__for-user\\\">\\n      <Common::Tooltips::User @userId={{part.creator.id}}>\\n        {{#if part.creator.isUnknown}}\\n          {{ic-avatar direct=part.creator.avatarData size=\\\"m\\\" contained=true}}\\n        {{else}}\\n          <a href=\\\"{{href-to \\\"apps.app.users.user\\\" part.creator.id}}\\\">\\n            {{ic-avatar direct=part.creator.avatarData size=\\\"m\\\" contained=true}}\\n          </a>\\n        {{/if}}\\n      </Common::Tooltips::User>\\n    </span>\\n  {{/unless}}\\n  <div class=\\\"conversation__part-wrapper o__user\\\">\\n    <div class=\\\"u__cf\\\">\\n      <div class=\\\"inbox__sticker\\\">\\n        {{#if shouldShowImageSticker}}\\n          <img src={{part.stickerUri}} class=\\\"inbox__sticker-image\\\" />\\n        {{else}}\\n          <div class=\\\"emoji__wrapper\\\">\\n            {{render-blocks part.blocks}}\\n          </div>\\n        {{/if}}\\n      </div>\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n    {{#unless part.shouldHideMeta}}\\n      <Conversation::Stream::UserPartMetadata\\n        @part={{part}}\\n        @showImpersonationWarning={{showImpersonationWarning}}\\n      />\\n    {{/unless}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"conversation__part {{if part.shouldFadeIn \\\"a__part-fade-in\\\"}}\\\">\\n  {{#unless part.shouldHideAvatar}}\\n    <span class=\\\"avatar o__m conversation__part__avatar o__for-user\\\">\\n      <Common::Tooltips::User @userId={{part.creator.id}}>\\n        {{#if part.creator.isUnknown}}\\n          {{ic-avatar direct=part.creator.avatarData size=\\\"m\\\" contained=true}}\\n        {{else}}\\n          <a href=\\\"{{href-to \\\"apps.app.users.user\\\" part.creator.id}}\\\">\\n            {{ic-avatar direct=part.creator.avatarData size=\\\"m\\\" contained=true}}\\n          </a>\\n        {{/if}}\\n      </Common::Tooltips::User>\\n    </span>\\n  {{/unless}}\\n  <div class=\\\"conversation__part-wrapper o__user\\\">\\n    <div class=\\\"u__cf\\\">\\n      <div class=\\\"inbox__sticker\\\">\\n        {{#if shouldShowImageSticker}}\\n          <img src={{part.stickerUri}} class=\\\"inbox__sticker-image\\\" />\\n        {{else}}\\n          <div class=\\\"emoji__wrapper\\\">\\n            {{render-blocks part.blocks}}\\n          </div>\\n        {{/if}}\\n      </div>\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n    {{#unless part.shouldHideMeta}}\\n      <Conversation::Stream::UserPartMetadata\\n        @part={{part}}\\n        @showImpersonationWarning={{showImpersonationWarning}}\\n      />\\n    {{/unless}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/conversation/stream/user-sticker-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/stream/user-sticker-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport ConversationPartComponentBase from 'embercom/components/conversation/stream/conversation-part-component-base';\nlet UserStickerComponent = ConversationPartComponentBase.extend();\n\nexport default UserStickerComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-end\\\">\\n  <div\\n    dir=\\\"{{summaryPart.text_direction}}\\\"\\n    class=\\\"flex-auto min-w-0 conversation__list__item__summary__content {{if (and isInbox this.app.canUseEmberConversationTitle) 'conversation__list__item__summary__content__with__title'}}\\\"\\n    data-test-conversation-list-item-summary-content\\n  >\\n    {{#if (and isInbox this.app.canUseEmberConversationTitle)~}}\\n      <div class=\\\"conversation__list__item__title__text u__one-truncated-line\\\" data-test-conversation-title>\\n        {{~@conversation.title~}}\\n      </div>\\n    {{~/if}}\\n    {{#if conversation.fromDeletedUser}}\\n      <span\\n        data-test-conversation-list-item-deleted\\n        class=\\\"conversation__list__deleted-item u__one-truncated-line\\\"\\n      >\\n        This conversation is being deleted\\n      </span>\\n    {{else}}\\n      <div class=\\\"flex items-center\\\">\\n        {{#if summaryIsForOperator}}\\n          <div\\n            class=\\\"layout__box conversation__list__item__summary__avatar\\\"\\n            data-test-operator-avatar\\n          >\\n          {{ic-avatar model=conversation.assignee size=\\\"xs\\\"}}\\n          </div>\\n        {{else if summaryIsForAdmin}}\\n          <div\\n            class=\\\"layout__box conversation__list__item__summary__avatar\\\"\\n            data-test-admin-avatar\\n          >\\n            {{ic-avatar model=adminToDisplay size=\\\"xs\\\"}}\\n          </div>\\n        {{/if}}\\n        <div class=\\\"flex-auto min-w-0\\\">\\n          <div\\n            class=\\\"conversation__list__item__summary__text u__one-truncated-line\\\"\\n            data-test-summary-text\\n          >\\n            {{#if conversation.someoneIsTyping}}\\n              <div\\n                class=\\\"conversation__list__item__summary__is-typing u__relative\\\"\\n              >\\n                <div class=\\\"conversation__is-typing-animation__dot-01\\\"></div>\\n                <div class=\\\"conversation__is-typing-animation__dot-02\\\"></div>\\n                <div class=\\\"conversation__is-typing-animation__dot-03\\\"></div>\\n              </div>\\n            {{else}}\\n              {{#if summaryIsForOperator}}\\n                {{conversation.assignee.displayAs}} is handling the conversation\\n              {{else}}\\n                {{#if summaryPart.isNote}}\\n                  <div class=\\\"conversation__list__item__note-summary-bar u__left\\\"></div>\\n                {{/if}}\\n                  <span>{{displayedSummaryText}}</span>\\n              {{/if}}\\n            {{/if}}\\n          </div>\\n        </div>\\n      </div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"js__external-step-pointer__conversation-header\\\"></div>\\n  {{#if (and hasBadge isInbox)}}\\n    <div\\n      class=\\\"conversation__list__badge-wrapper__list {{if (and isInbox this.app.canUseEmberConversationTitle)'conversation__list__badge-wrapper__list-with-title'}} layout__box o__has-rows\\\"\\n    >\\n      {{#if (not this.app.canUseEmberConversationTitle) }}\\n        <div class=\\\"conversation__list__badge-wrapper\\\">\\n          {{#if showConversationPriority}}\\n            <span\\n              data-test-conversation-priority-badge-old\\n              {{tooltip content=\\\"Priority\\\"}}\\n            >\\n              {{ic-interface-icon \\\"star\\\" color=\\\"yellow\\\" set=\\\"tiny\\\" solo=true}}\\n            </span>\\n          {{/if}}\\n        </div>\\n      {{/if}}\\n      <div class=\\\"conversation__list__badge-wrapper flex items-center\\\">\\n        {{#if hasActiveTimeTarget}}\\n          {{~#if this.app.canUseEmberConversationTitle ~}}\\n            <Inbox::Slas::NewNextBreachTime\\n              @nextBreachTime={{conversation.next_breach_time}}\\n              @hasActiveTimeTarget={{conversation.hasActiveTimeTarget}}\\n              data-test-new-next-breach-time\\n            />\\n          {{~else~}}\\n            <Inbox::Slas::NextBreachTime\\n              class=\\\"inbox__next-breach-time\\\"\\n              @nextBreachTime={{conversation.next_breach_time}}\\n              @hasActiveTimeTarget={{conversation.hasActiveTimeTarget}}\\n              @showLongFormatTimeTarget={{true}}\\n              @showMediumFormatTimeTarget={{true}}\\n              data-test-next-breach-time\\n            />\\n          {{~/if~}}\\n        {{/if}}\\n        {{#if (and this.app.canUseEmberConversationTitle showConversationPriority)}}\\n          <span\\n            class=\\\"conversation__list__badge-wrapper-priority-badge\\\"\\n            data-test-conversation-priority-badge-new\\n            {{tooltip content=\\\"Priority\\\"}}\\n          >\\n            {{ic-interface-icon \\\"star\\\" color=\\\"yellow\\\" solo=true}}\\n          </span>\\n        {{/if}}\\n        {{#if conversation.last_snoozed_at}}\\n          <span\\n            data-test-conversation-snooze-badge\\n            class=\\\"conversation__list__badge-wrapper o__secondary u__center-layout\\\"\\n            {{tooltip content=\\\"Snooze ended\\\"}}\\n          >\\n            <span class=\\\"conversation__list__badge o__unsnoozed\\\"></span>\\n          </span>\\n        {{else if (and isUnread (not this.app.canUseEmberConversationTitle))}}\\n          <span\\n            data-test-conversation-unread-badge\\n            class=\\\"conversation__list__badge-wrapper o__secondary u__center-layout\\\"\\n            {{tooltip content=\\\"Unread\\\"}}\\n          >\\n            <span class=\\\"conversation__list__badge o__unread\\\"></span>\\n          </span>\\n        {{/if}}\\n      </div>\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-end\\\">\\n  <div\\n    dir=\\\"{{summaryPart.text_direction}}\\\"\\n    class=\\\"flex-auto min-w-0 conversation__list__item__summary__content {{if (and isInbox this.app.canUseEmberConversationTitle) 'conversation__list__item__summary__content__with__title'}}\\\"\\n    data-test-conversation-list-item-summary-content\\n  >\\n    {{#if (and isInbox this.app.canUseEmberConversationTitle)~}}\\n      <div class=\\\"conversation__list__item__title__text u__one-truncated-line\\\" data-test-conversation-title>\\n        {{~@conversation.title~}}\\n      </div>\\n    {{~/if}}\\n    {{#if conversation.fromDeletedUser}}\\n      <span\\n        data-test-conversation-list-item-deleted\\n        class=\\\"conversation__list__deleted-item u__one-truncated-line\\\"\\n      >\\n        This conversation is being deleted\\n      </span>\\n    {{else}}\\n      <div class=\\\"flex items-center\\\">\\n        {{#if summaryIsForOperator}}\\n          <div\\n            class=\\\"layout__box conversation__list__item__summary__avatar\\\"\\n            data-test-operator-avatar\\n          >\\n          {{ic-avatar model=conversation.assignee size=\\\"xs\\\"}}\\n          </div>\\n        {{else if summaryIsForAdmin}}\\n          <div\\n            class=\\\"layout__box conversation__list__item__summary__avatar\\\"\\n            data-test-admin-avatar\\n          >\\n            {{ic-avatar model=adminToDisplay size=\\\"xs\\\"}}\\n          </div>\\n        {{/if}}\\n        <div class=\\\"flex-auto min-w-0\\\">\\n          <div\\n            class=\\\"conversation__list__item__summary__text u__one-truncated-line\\\"\\n            data-test-summary-text\\n          >\\n            {{#if conversation.someoneIsTyping}}\\n              <div\\n                class=\\\"conversation__list__item__summary__is-typing u__relative\\\"\\n              >\\n                <div class=\\\"conversation__is-typing-animation__dot-01\\\"></div>\\n                <div class=\\\"conversation__is-typing-animation__dot-02\\\"></div>\\n                <div class=\\\"conversation__is-typing-animation__dot-03\\\"></div>\\n              </div>\\n            {{else}}\\n              {{#if summaryIsForOperator}}\\n                {{conversation.assignee.displayAs}} is handling the conversation\\n              {{else}}\\n                {{#if summaryPart.isNote}}\\n                  <div class=\\\"conversation__list__item__note-summary-bar u__left\\\"></div>\\n                {{/if}}\\n                  <span>{{displayedSummaryText}}</span>\\n              {{/if}}\\n            {{/if}}\\n          </div>\\n        </div>\\n      </div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"js__external-step-pointer__conversation-header\\\"></div>\\n  {{#if (and hasBadge isInbox)}}\\n    <div\\n      class=\\\"conversation__list__badge-wrapper__list {{if (and isInbox this.app.canUseEmberConversationTitle)'conversation__list__badge-wrapper__list-with-title'}} layout__box o__has-rows\\\"\\n    >\\n      {{#if (not this.app.canUseEmberConversationTitle) }}\\n        <div class=\\\"conversation__list__badge-wrapper\\\">\\n          {{#if showConversationPriority}}\\n            <span\\n              data-test-conversation-priority-badge-old\\n              {{tooltip content=\\\"Priority\\\"}}\\n            >\\n              {{ic-interface-icon \\\"star\\\" color=\\\"yellow\\\" set=\\\"tiny\\\" solo=true}}\\n            </span>\\n          {{/if}}\\n        </div>\\n      {{/if}}\\n      <div class=\\\"conversation__list__badge-wrapper flex items-center\\\">\\n        {{#if hasActiveTimeTarget}}\\n          {{~#if this.app.canUseEmberConversationTitle ~}}\\n            <Inbox::Slas::NewNextBreachTime\\n              @nextBreachTime={{conversation.next_breach_time}}\\n              @hasActiveTimeTarget={{conversation.hasActiveTimeTarget}}\\n              data-test-new-next-breach-time\\n            />\\n          {{~else~}}\\n            <Inbox::Slas::NextBreachTime\\n              class=\\\"inbox__next-breach-time\\\"\\n              @nextBreachTime={{conversation.next_breach_time}}\\n              @hasActiveTimeTarget={{conversation.hasActiveTimeTarget}}\\n              @showLongFormatTimeTarget={{true}}\\n              @showMediumFormatTimeTarget={{true}}\\n              data-test-next-breach-time\\n            />\\n          {{~/if~}}\\n        {{/if}}\\n        {{#if (and this.app.canUseEmberConversationTitle showConversationPriority)}}\\n          <span\\n            class=\\\"conversation__list__badge-wrapper-priority-badge\\\"\\n            data-test-conversation-priority-badge-new\\n            {{tooltip content=\\\"Priority\\\"}}\\n          >\\n            {{ic-interface-icon \\\"star\\\" color=\\\"yellow\\\" solo=true}}\\n          </span>\\n        {{/if}}\\n        {{#if conversation.last_snoozed_at}}\\n          <span\\n            data-test-conversation-snooze-badge\\n            class=\\\"conversation__list__badge-wrapper o__secondary u__center-layout\\\"\\n            {{tooltip content=\\\"Snooze ended\\\"}}\\n          >\\n            <span class=\\\"conversation__list__badge o__unsnoozed\\\"></span>\\n          </span>\\n        {{else if (and isUnread (not this.app.canUseEmberConversationTitle))}}\\n          <span\\n            data-test-conversation-unread-badge\\n            class=\\\"conversation__list__badge-wrapper o__secondary u__center-layout\\\"\\n            {{tooltip content=\\\"Unread\\\"}}\\n          >\\n            <span class=\\\"conversation__list__badge o__unread\\\"></span>\\n          </span>\\n        {{/if}}\\n      </div>\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/conversation/summary-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/summary-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { not, and, notEmpty, or, reads } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  isInbox: true,\n  isNotInbox: not('isInbox'),\n  classNameBindings: [\n    ':conversation__list__item__summary',\n    ':o__clamped',\n    'isNotInbox:o__in-card',\n    ':t__conversation-summary',\n  ],\n\n  isLastMentionedPartAvailable: notEmpty('conversation.lastPartWhereCurrentAdminIsMentioned'),\n  showLastMentionedPart: and('isMentionsInbox', 'isLastMentionedPartAvailable'),\n  showConversationPriority: and('conversation.isPrioritised', 'app.isNotOnFree'),\n  hasActiveTimeTarget: and('conversation.hasActiveTimeTarget', 'app.canUseInboxSlas'),\n  hasBadge: or(\n    'showConversationPriority',\n    'conversation.last_snoozed_at',\n    'isUnread',\n    'hasActiveTimeTarget',\n  ),\n\n  summaryPart: ternaryToProperty(\n    'showLastMentionedPart',\n    'conversation.lastPartWhereCurrentAdminIsMentioned',\n    'conversation.lastPartWithContentExcludingOperator',\n  ),\n\n  anotherAdminIsTyping: or(\n    'conversation.anotherAdminIsTypingAComment',\n    'conversation.anotherAdminIsTypingANote',\n  ),\n  summaryIsNote: ternaryToProperty(\n    'conversation.someoneIsTyping',\n    'conversation.anotherAdminIsTypingANote',\n    'summaryPart.isNote',\n  ),\n  summaryIsForAdmin: ternaryToProperty(\n    'conversation.someoneIsTyping',\n    'anotherAdminIsTyping',\n    'summaryPart.isAdminPart',\n  ),\n  adminToDisplay: or('conversation.typingAdmin', 'summaryPart.admin'),\n\n  noOneIsTyping: not('conversation.someoneIsTyping'),\n  summaryIsForOperator: and('noOneIsTyping', 'conversation.assignedToOperator', 'isAllInbox'),\n\n  displayedSummaryText: reads('summaryPart.parsedSummary'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-lock-overlay class=\\\"lock__overlay\\\">\\n  <div class=\\\"u__center-item lock__overlay-inner\\\">\\n    {{#if (not @inbox.isInboxView)}}\\n      {{#if @transitionInformation.by.isAdmin}}\\n        <IcAvatarComponent @model={{@transitionInformation.by}} @size=\\\"m\\\" />\\n        {{#if @transitionInformation.target}}\\n          <span class=\\\"lock__overlay-icon\\\">\\n            {{ic-interface-icon @transitionInformation.icon solo=true}}\\n          </span>\\n          <IcAvatarComponent @model={{@transitionInformation.target}} @size=\\\"m\\\" />\\n        {{/if}}\\n      {{else}}\\n        <IcAvatarComponent @model={{@transitionInformation.by}} @size=\\\"m\\\" />\\n      {{/if}}\\n      <div class=\\\"h-2\\\"></div>\\n    {{/if}}\\n    <div data-test-lock-overlay-text class=\\\"t__light-text\\\">\\n      {{#if @inbox.isInboxView}}\\n        Conversation no longer matches the filters\\n      {{else if @transitionInformation.byRule}}\\n        <span>\\n          {{@transitionInformation.statement}}\\n          {{#if @transitionInformation.target}}\\n            {{display-admin-as-reflexive @admin @transitionInformation.target}}\\n          {{/if}}\\n        </span>\\n      {{else if @transitionInformation.by.isAdmin}}\\n        <span>\\n          {{display-admin-as @admin @transitionInformation.by}}\\n          {{@transitionInformation.statement}}\\n          {{#if @transitionInformation.target}}\\n            {{display-admin-as\\n              @admin\\n              @transitionInformation.target\\n              @conversation.lastPart.isReflexiveAssignment\\n            }}\\n          {{/if}}\\n        </span>\\n      {{else}}\\n        <span>\\n          {{@transitionInformation.lockerStatement}}\\n        </span>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\\n\", {\"contents\":\"<div data-test-lock-overlay class=\\\"lock__overlay\\\">\\n  <div class=\\\"u__center-item lock__overlay-inner\\\">\\n    {{#if (not @inbox.isInboxView)}}\\n      {{#if @transitionInformation.by.isAdmin}}\\n        <IcAvatarComponent @model={{@transitionInformation.by}} @size=\\\"m\\\" />\\n        {{#if @transitionInformation.target}}\\n          <span class=\\\"lock__overlay-icon\\\">\\n            {{ic-interface-icon @transitionInformation.icon solo=true}}\\n          </span>\\n          <IcAvatarComponent @model={{@transitionInformation.target}} @size=\\\"m\\\" />\\n        {{/if}}\\n      {{else}}\\n        <IcAvatarComponent @model={{@transitionInformation.by}} @size=\\\"m\\\" />\\n      {{/if}}\\n      <div class=\\\"h-2\\\"></div>\\n    {{/if}}\\n    <div data-test-lock-overlay-text class=\\\"t__light-text\\\">\\n      {{#if @inbox.isInboxView}}\\n        Conversation no longer matches the filters\\n      {{else if @transitionInformation.byRule}}\\n        <span>\\n          {{@transitionInformation.statement}}\\n          {{#if @transitionInformation.target}}\\n            {{display-admin-as-reflexive @admin @transitionInformation.target}}\\n          {{/if}}\\n        </span>\\n      {{else if @transitionInformation.by.isAdmin}}\\n        <span>\\n          {{display-admin-as @admin @transitionInformation.by}}\\n          {{@transitionInformation.statement}}\\n          {{#if @transitionInformation.target}}\\n            {{display-admin-as\\n              @admin\\n              @transitionInformation.target\\n              @conversation.lastPart.isReflexiveAssignment\\n            }}\\n          {{/if}}\\n        </span>\\n      {{else}}\\n        <span>\\n          {{@transitionInformation.lockerStatement}}\\n        </span>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\\n\",\"moduleName\":\"embercom/components/conversation/transition-information.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversation/transition-information.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcCard @isInteractive={{true}} {{on \\\"click\\\" this.toggle}} class=\\\"mb-2\\\" data-test-conversation-card={{@conversation.id}}>\\n  <div class=\\\"flex flex-row items-center gap-2\\\">\\n    <div class=\\\"flex flex-col\\\">{{ic-interface-icon \\\"conversation\\\"}}</div>\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <Text @size=\\\"4\\\">\\n        {{render-html @conversation.highlights.firstObject}}\\n      </Text>\\n    </div>\\n    <div class=\\\"flex flex-col\\\">\\n      <Heading @size=\\\"4\\\">\\n        {{full-relative-time-ago-helper @conversation.source.created_at}}\\n      </Heading>\\n    </div>\\n  </div>\\n\\n  {{#if @isExpanded}}\\n    <div\\n    {{on \\\"click\\\" (stop-propagation noop)}}\\n    class=\\\"answers__past-conversations__expanded-card-container mt-4 p-2\\\"\\n    data-test-conversation-card-expanded={{@conversation.id}}\\n    >\\n    {{#if this.isTruncatedAtStart}}\\n      <LinkTo @route=\\\"apps.app.conversation\\\" @model={{@conversation.id}}>See full conversation</LinkTo>\\n    {{/if}}\\n    {{#each this.significantConversationBubbles as |bubble index|}}\\n        {{#if bubble.isUserPart}}\\n            <div class=\\\"conversation__bubble-container o__user-comment m-2 answers__past-conversations__user-bubble\\\">\\n            <div class=\\\"conversation__group-bubbles\\\">\\n                <div class=\\\"conversation__bubble o__user-comment {{if bubble.highlighted \\\"o__highlighted__persisted\\\"}}\\\">\\n                <div class=\\\"conversation__bubble__inner\\\">\\n                    <div dir=\\\"ltr\\\" class=\\\"conversation__text o__user-comment\\\">\\n                    {{render-html bubble.text}}\\n                    </div>\\n                </div>\\n                </div>\\n            </div>\\n            </div>\\n        {{else}}\\n            <div class=\\\"conversation__bubble-container o__admin-comment m-2\\\">\\n            <div class=\\\"conversation__group-bubbles\\\">\\n                <div\\n                    class=\\\"answers__past-conversations__admin-bubble o__admin-comment conversation__bubble {{if bubble.highlighted \\\"o__highlighted__persisted\\\"}}\\\"\\n                    data-select-admin-bubble={{index}}\\n                >\\n                    <div class=\\\"conversation__bubble__inner\\\">\\n                    <div class=\\\"flex flex-row items-start gap-4\\\">\\n                        <div class=\\\"flex flex-col flex-1 conversation__text\\\">\\n                            {{render-html bubble.text}}\\n                        </div>\\n                    </div>\\n                    </div>\\n                </div>\\n            </div>\\n            </div>\\n        {{/if}}\\n    {{/each}}\\n    {{#if this.isTruncatedAtEnd}}\\n      <LinkTo @route=\\\"apps.app.conversation\\\" @model={{@conversation.id}}>See full conversation</LinkTo>\\n    {{else}}\\n      <LinkTo @route=\\\"apps.app.conversation\\\" @model={{@conversation.id}}>See conversation in Inbox</LinkTo>\\n    {{/if}}\\n    </div>\\n{{/if}}\\n</IcCard>\\n\", {\"contents\":\"<IcCard @isInteractive={{true}} {{on \\\"click\\\" this.toggle}} class=\\\"mb-2\\\" data-test-conversation-card={{@conversation.id}}>\\n  <div class=\\\"flex flex-row items-center gap-2\\\">\\n    <div class=\\\"flex flex-col\\\">{{ic-interface-icon \\\"conversation\\\"}}</div>\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <Text @size=\\\"4\\\">\\n        {{render-html @conversation.highlights.firstObject}}\\n      </Text>\\n    </div>\\n    <div class=\\\"flex flex-col\\\">\\n      <Heading @size=\\\"4\\\">\\n        {{full-relative-time-ago-helper @conversation.source.created_at}}\\n      </Heading>\\n    </div>\\n  </div>\\n\\n  {{#if @isExpanded}}\\n    <div\\n    {{on \\\"click\\\" (stop-propagation noop)}}\\n    class=\\\"answers__past-conversations__expanded-card-container mt-4 p-2\\\"\\n    data-test-conversation-card-expanded={{@conversation.id}}\\n    >\\n    {{#if this.isTruncatedAtStart}}\\n      <LinkTo @route=\\\"apps.app.conversation\\\" @model={{@conversation.id}}>See full conversation</LinkTo>\\n    {{/if}}\\n    {{#each this.significantConversationBubbles as |bubble index|}}\\n        {{#if bubble.isUserPart}}\\n            <div class=\\\"conversation__bubble-container o__user-comment m-2 answers__past-conversations__user-bubble\\\">\\n            <div class=\\\"conversation__group-bubbles\\\">\\n                <div class=\\\"conversation__bubble o__user-comment {{if bubble.highlighted \\\"o__highlighted__persisted\\\"}}\\\">\\n                <div class=\\\"conversation__bubble__inner\\\">\\n                    <div dir=\\\"ltr\\\" class=\\\"conversation__text o__user-comment\\\">\\n                    {{render-html bubble.text}}\\n                    </div>\\n                </div>\\n                </div>\\n            </div>\\n            </div>\\n        {{else}}\\n            <div class=\\\"conversation__bubble-container o__admin-comment m-2\\\">\\n            <div class=\\\"conversation__group-bubbles\\\">\\n                <div\\n                    class=\\\"answers__past-conversations__admin-bubble o__admin-comment conversation__bubble {{if bubble.highlighted \\\"o__highlighted__persisted\\\"}}\\\"\\n                    data-select-admin-bubble={{index}}\\n                >\\n                    <div class=\\\"conversation__bubble__inner\\\">\\n                    <div class=\\\"flex flex-row items-start gap-4\\\">\\n                        <div class=\\\"flex flex-col flex-1 conversation__text\\\">\\n                            {{render-html bubble.text}}\\n                        </div>\\n                    </div>\\n                    </div>\\n                </div>\\n            </div>\\n            </div>\\n        {{/if}}\\n    {{/each}}\\n    {{#if this.isTruncatedAtEnd}}\\n      <LinkTo @route=\\\"apps.app.conversation\\\" @model={{@conversation.id}}>See full conversation</LinkTo>\\n    {{else}}\\n      <LinkTo @route=\\\"apps.app.conversation\\\" @model={{@conversation.id}}>See conversation in Inbox</LinkTo>\\n    {{/if}}\\n    </div>\\n{{/if}}\\n</IcCard>\\n\",\"moduleName\":\"embercom/components/conversational-insights/conversation-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversational-insights/conversation-card.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nclass ConversationBubble {\n  blocks = [];\n  part;\n\n  constructor(part, conversation) {\n    this.part = part;\n    this.conversation = conversation;\n  }\n\n  get isUserPart() {\n    return !!this.part.user_id;\n  }\n\n  get text() {\n    return this.part.body;\n  }\n\n  get highlighted() {\n    return this.conversation.highlightedIds.includes(this.uniqueId);\n  }\n\n  get uniqueId() {\n    let conversationId = this.conversation.id;\n    if (this.part === this.conversation.source.parts[0]) {\n      return `initial-part-${conversationId}-${this.part.id}`;\n    }\n    return `comment-${conversationId}-${this.part.id}`;\n  }\n}\n\nexport default class ConversationCard extends Component {\n  @service store;\n  maxBubbles = 20;\n\n  get visibleParts() {\n    return this.args.conversation.source.parts.filter(this._isPartVisible);\n  }\n\n  get allBubbles() {\n    return this.visibleParts.map(visiblePart => {\n      return new ConversationBubble(visiblePart, this.args.conversation);\n    });\n  }\n\n  get significantConversationBubbles() {\n    let bubbles = this.allBubbles;\n\n    if (bubbles.length > this.maxBubbles) {\n      let firstHighlightedPart = bubbles.find(bubble => bubble.highlighted);\n      let idx = bubbles.indexOf(firstHighlightedPart);\n      let before = Math.max(1, Math.ceil(this.maxBubbles / 4));\n      let lo = Math.max(0, idx - before);\n      bubbles = bubbles.slice(lo, this.maxBubbles);\n    }\n\n    return bubbles;\n  }\n\n  get isTruncatedAtStart() {\n    return this.significantConversationBubbles[0].uniqueId !== this.allBubbles[0].uniqueId;\n  }\n\n  get isTruncatedAtEnd() {\n    let len1 = this.significantConversationBubbles.length;\n    let len2 = this.allBubbles.length;\n    return (\n      this.significantConversationBubbles[len1 - 1].uniqueId !== this.allBubbles[len2 - 1].uniqueId\n    );\n  }\n\n  @action\n  toggle(_e) {\n    this.args.onToggle();\n  }\n\n  _isPartVisible(part) {\n    if (!part.body.length) {\n      return false;\n    }\n\n    return true;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n    {{did-update (perform this.resetComponent) @datasetId}}\\n    {{did-update (perform this.resetComponent) this.conversationalInsights.currentDateRange}}\\n    ...attributes\\n    >\\n    {{#if\\n        (and this.haveFetchedConversationContent (eq this.conversations.length 0))\\n    }}\\n        <IcEmptyState data-test-empty-state-no-convos @title=\\\"No conversations for this topic\\\" @icon=\\\"tag\\\" />\\n    {{else}}\\n\\n        {{#each this.conversations as |conversation index|}}\\n        <ConversationalInsights::ConversationCard\\n            @conversation={{conversation}}\\n            @cardIndex={{index}}\\n            @isExpanded={{eq conversation this.expandedConversation}}\\n            @onToggle={{fn this.toggleConversationCard conversation}}\\n        />\\n        {{/each}}\\n\\n        {{#if (not this.exhaustedConversationIds)}}\\n        <a {{on 'click' this.loadConversationsPage}}>Load more conversations</a>\\n        {{/if}}\\n    {{/if}}\\n    <div\\n        class=\\\"u__center-layout p-3 {{if\\n        (not this.fetchConversationsData.isRunning)\\n        'u__invisible'\\n        }}\\\"\\n    >\\n        <IcLoadingIndicator @size=\\\"large\\\" />\\n    </div>\\n</div>\\n\", {\"contents\":\"<div\\n    {{did-update (perform this.resetComponent) @datasetId}}\\n    {{did-update (perform this.resetComponent) this.conversationalInsights.currentDateRange}}\\n    ...attributes\\n    >\\n    {{#if\\n        (and this.haveFetchedConversationContent (eq this.conversations.length 0))\\n    }}\\n        <IcEmptyState data-test-empty-state-no-convos @title=\\\"No conversations for this topic\\\" @icon=\\\"tag\\\" />\\n    {{else}}\\n\\n        {{#each this.conversations as |conversation index|}}\\n        <ConversationalInsights::ConversationCard\\n            @conversation={{conversation}}\\n            @cardIndex={{index}}\\n            @isExpanded={{eq conversation this.expandedConversation}}\\n            @onToggle={{fn this.toggleConversationCard conversation}}\\n        />\\n        {{/each}}\\n\\n        {{#if (not this.exhaustedConversationIds)}}\\n        <a {{on 'click' this.loadConversationsPage}}>Load more conversations</a>\\n        {{/if}}\\n    {{/if}}\\n    <div\\n        class=\\\"u__center-layout p-3 {{if\\n        (not this.fetchConversationsData.isRunning)\\n        'u__invisible'\\n        }}\\\"\\n    >\\n        <IcLoadingIndicator @size=\\\"large\\\" />\\n    </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/conversational-insights/conversation-cards-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversational-insights/conversation-cards-list.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class ConversationalInsightsConversationCardsListComponent extends Component {\n  @service store;\n  @service conversationalInsights;\n  @service appService;\n\n  @tracked conversations;\n  @tracked haveFetchedConversationContent;\n  @tracked expandedConversation;\n  @tracked exhaustedConversationIds;\n\n  @tracked page = 1;\n  @tracked pageSize = 10;\n\n  constructor() {\n    super(...arguments);\n    this.resetComponent.perform();\n  }\n\n  @task({ restartable: true })\n  *resetComponent() {\n    this.conversations = [];\n    this.haveFetchedConversationContent = false;\n    this.expandedConversation = null;\n    this.exhaustedConversationIds = false;\n    this.page = 1;\n    yield this.loadConversationsPage();\n  }\n\n  @action\n  loadConversationsPage() {\n    this.fetchConversationsData.perform();\n  }\n\n  @task\n  *fetchConversationsData() {\n    if (this.exhaustedConversationIds) {\n      return;\n    }\n\n    let start = (this.page - 1) * this.pageSize;\n    let conversationResults = yield this.args.fetchConversationResults(start, this.pageSize);\n    let highlightedIds = conversationResults.reduce((byId, { id, highlightedIds }) => {\n      byId[id] = highlightedIds;\n      return byId;\n    }, {});\n    let highlightedTexts = conversationResults.reduce((byId, { id, highlights }) => {\n      byId[id] = highlights;\n      return byId;\n    }, {});\n    this.exhaustedConversationIds = conversationResults.length < this.pageSize;\n\n    if (conversationResults.length === 0) {\n      return;\n    }\n\n    conversationResults.forEach(c => {\n      c.highlightedIds = highlightedIds[c.id];\n      c.highlightedTexts = highlightedTexts[c.id];\n    });\n    this.conversations = this.conversations.concat(conversationResults);\n\n    this.page += 1;\n    this.haveFetchedConversationContent = true;\n  }\n\n  @action\n  toggleConversationCard(conversation) {\n    if (this.expandedConversation === conversation) {\n      this.expandedConversation = null;\n    } else {\n      this.expandedConversation = conversation;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n    {{did-update (perform this.loadDataTask) this.conversationalInsights.currentDateRange @topic}}\\n  >\\n\\n  {{#if this.loadDataTask.isRunning}}\\n    Loading the data...\\n  {{else}}\\n    <div>\\n      <h3 class=\\\"t__h3\\\">Conversation count over time</h3>\\n      <Reporting::LineChart @signal={{this.topicConversationCounts}} @width={{1000}} @height={{400}} />\\n    </div>\\n    <div>\\n      <h3 class=\\\"t__h3\\\">Percentage of all conversations in inbox</h3>\\n      <Reporting::LineChart\\n        @signal={{this.allConversationCounts}}\\n        @width={{1000}}\\n        @height={{400}}\\n        @formatYAxis=\\\"percent\\\"\\n        />\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div\\n    {{did-update (perform this.loadDataTask) this.conversationalInsights.currentDateRange @topic}}\\n  >\\n\\n  {{#if this.loadDataTask.isRunning}}\\n    Loading the data...\\n  {{else}}\\n    <div>\\n      <h3 class=\\\"t__h3\\\">Conversation count over time</h3>\\n      <Reporting::LineChart @signal={{this.topicConversationCounts}} @width={{1000}} @height={{400}} />\\n    </div>\\n    <div>\\n      <h3 class=\\\"t__h3\\\">Percentage of all conversations in inbox</h3>\\n      <Reporting::LineChart\\n        @signal={{this.allConversationCounts}}\\n        @width={{1000}}\\n        @height={{400}}\\n        @formatYAxis=\\\"percent\\\"\\n        />\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/conversational-insights/conversation-count-over-time.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversational-insights/conversation-count-over-time.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport setupLineChartSignal from 'embercom/lib/inbox/reporting/setup-line-chart-signal';\nimport moment from 'moment';\nimport Signal from 'embercom/models/reporting/signal';\n\nexport default class ConversationalInsightsConversationCountOverTimeComponent extends Component {\n  @service conversationalInsights;\n  @service appService;\n\n  @tracked topicConversationCounts;\n  @tracked allConversationCounts;\n\n  constructor() {\n    super(...arguments);\n    this.loadDataTask.perform();\n  }\n\n  @task({ restartable: true })\n  *loadDataTask() {\n    let topic = this.args.topic;\n    if (!topic.keyphrases) {\n      return;\n    }\n    let rawAllConverastionCounts = yield this.conversationalInsights.getCounts({});\n    let rawTopicConversationCounts = yield this.conversationalInsights.getCounts({ topic });\n    this.topicConversationCounts = this.signal(\n      this.extractCounts({ buckets: rawTopicConversationCounts.countsByMonth }),\n    );\n    this.allConversationCounts = this.signal(\n      this.extractCounts({\n        buckets: rawTopicConversationCounts.countsByMonth,\n        relativeTo: rawAllConverastionCounts.countsByMonth,\n      }),\n      'percent',\n    );\n  }\n\n  signal(items, valueUnit = 'conversation') {\n    let timezone = this.appService.app.timezone;\n    let yearAgo = moment\n      .tz(timezone)\n      .subtract(1, 'year')\n      .startOf('day');\n    let today = moment.tz(timezone).endOf('day');\n    let signal = Signal.create({\n      timezone,\n      valueUnit,\n      datePickerRangeStart: yearAgo,\n      datePickerRangeEnd: today,\n      key: 0,\n      originalContext: items,\n    });\n    return setupLineChartSignal([signal]);\n  }\n\n  extractCounts({ buckets, relativeTo }) {\n    return buckets.map(item => {\n      let value = item.doc_count;\n      if (relativeTo) {\n        let comparisonBucket = relativeTo.find(b => b.key_as_string === item.key_as_string);\n        value = (100 * value) / comparisonBucket.doc_count;\n      }\n      return {\n        key: moment(item.key_as_string).toISOString(),\n        count: item.doc_count,\n        value,\n      };\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n    {{did-update (perform this.loadDataTask) this.conversationalInsights.currentDateRange @topic}}\\n  >\\n    <h3 class=\\\"t__h3\\\">Conversation rating over time</h3>\\n    {{#if this.loadDataTask.isRunning}}\\n        Loading the data...\\n    {{else}}\\n        {{format-number this.totalRatings}} ratings received for this topic\\n        <div>\\n            <Reporting::Chart::StackedBar\\n                @signal={{this.csatRatings}}\\n                @keys={{array 5 4 3 2 1}}\\n                @tooltipComponent={{component \\\"reporting/tooltip/horizontal-bar-ratings\\\"}}\\n                @keyColorHash={{hash\\n                    5='vis-green-40'\\n                    4='vis-green-60'\\n                    3='vis-yellow-70'\\n                    2='vis-yellow-50'\\n                    1='vis-salmon-40'\\n                }}\\n            />\\n        </div>\\n    {{/if}}\\n</div>\\n\", {\"contents\":\"<div\\n    {{did-update (perform this.loadDataTask) this.conversationalInsights.currentDateRange @topic}}\\n  >\\n    <h3 class=\\\"t__h3\\\">Conversation rating over time</h3>\\n    {{#if this.loadDataTask.isRunning}}\\n        Loading the data...\\n    {{else}}\\n        {{format-number this.totalRatings}} ratings received for this topic\\n        <div>\\n            <Reporting::Chart::StackedBar\\n                @signal={{this.csatRatings}}\\n                @keys={{array 5 4 3 2 1}}\\n                @tooltipComponent={{component \\\"reporting/tooltip/horizontal-bar-ratings\\\"}}\\n                @keyColorHash={{hash\\n                    5='vis-green-40'\\n                    4='vis-green-60'\\n                    3='vis-yellow-70'\\n                    2='vis-yellow-50'\\n                    1='vis-salmon-40'\\n                }}\\n            />\\n        </div>\\n    {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/conversational-insights/conversation-rating-over-time.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversational-insights/conversation-rating-over-time.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport moment from 'moment';\nimport Signal from 'embercom/models/reporting/signal';\n\nexport default class ConversationalInsightsConversationRatingOverTimeComponent extends Component {\n  @service conversationalInsights;\n  @service appService;\n\n  @tracked csatRatings;\n  @tracked totalRatings;\n\n  constructor() {\n    super(...arguments);\n    this.loadDataTask.perform();\n  }\n\n  @task({ restartable: true })\n  *loadDataTask() {\n    let topic = this.args.topic;\n    if (!topic.keyphrases) {\n      return;\n    }\n    let results = yield this.conversationalInsights.getConversationRatings({ topic });\n    this.totalRatings = results.total;\n    this.csatRatings = this.signal(results.buckets);\n  }\n\n  signal(buckets) {\n    let timezone = this.appService.app.timezone;\n    let yearAgo = moment\n      .tz(timezone)\n      .subtract(1, 'years')\n      .startOf('day');\n    let today = moment.tz(timezone).endOf('day');\n\n    let items = buckets.map(item => {\n      return {\n        key: moment(item.key_as_string).toISOString(),\n        value: item.conversation_rating.buckets.map(bucket => {\n          return {\n            key: bucket.key,\n            count: bucket.doc_count,\n            value: (100 * bucket.doc_count) / item.doc_count,\n          };\n        }),\n        count: item.doc_count,\n      };\n    });\n    let signal = Signal.create({\n      name: 'ratings',\n      interval: 'month',\n      datePickerRangeStart: yearAgo,\n      datePickerRangeEnd: today,\n      timezone,\n      valueUnit: 'percent',\n      nestedKeysAreDates: false,\n      originalContext: items,\n    });\n    return signal;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<PulseCandidate::SideDrawer\\n  @onClose={{@onClose}}\\n  @isOpen={{@showSideDrawer}}\\n  as |drawer|\\n>\\n  <drawer.Header>\\n    {{#if @title}}\\n      {{@title}}\\n    {{else}}\\n      Conversations belonging to this topic\\n    {{/if}}\\n  </drawer.Header>\\n  <drawer.Body>\\n    <ConversationalInsights::ConversationCardsList\\n      @fetchConversationResults={{@fetchConversationResults}}\\n    />\\n  </drawer.Body>\\n</PulseCandidate::SideDrawer>\\n\", {\"contents\":\"<PulseCandidate::SideDrawer\\n  @onClose={{@onClose}}\\n  @isOpen={{@showSideDrawer}}\\n  as |drawer|\\n>\\n  <drawer.Header>\\n    {{#if @title}}\\n      {{@title}}\\n    {{else}}\\n      Conversations belonging to this topic\\n    {{/if}}\\n  </drawer.Header>\\n  <drawer.Body>\\n    <ConversationalInsights::ConversationCardsList\\n      @fetchConversationResults={{@fetchConversationResults}}\\n    />\\n  </drawer.Body>\\n</PulseCandidate::SideDrawer>\\n\",\"moduleName\":\"embercom/components/conversational-insights/conversations-side-drawer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversational-insights/conversations-side-drawer.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n    {{did-update (perform this.loadDataTask) this.conversationalInsights.currentDateRange @topic}}\\n  >\\n    <h3 class=\\\"t__h3\\\">Median response time</h3>\\n    {{#if this.loadDataTask.isRunning}}\\n        Loading...\\n    {{else}}\\n        <Reporting::Chart::StackedBar\\n            @signal={{this.medianResponseTime}}\\n            @keys={{array 'median_response_time'}}\\n            @tooltipComponent={{component \\\"reporting/tooltip/horizontal-bar-ratings\\\"}}\\n        />\\n    {{/if}}\\n</div>\\n\", {\"contents\":\"<div\\n    {{did-update (perform this.loadDataTask) this.conversationalInsights.currentDateRange @topic}}\\n  >\\n    <h3 class=\\\"t__h3\\\">Median response time</h3>\\n    {{#if this.loadDataTask.isRunning}}\\n        Loading...\\n    {{else}}\\n        <Reporting::Chart::StackedBar\\n            @signal={{this.medianResponseTime}}\\n            @keys={{array 'median_response_time'}}\\n            @tooltipComponent={{component \\\"reporting/tooltip/horizontal-bar-ratings\\\"}}\\n        />\\n    {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/conversational-insights/median-first-response-time.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversational-insights/median-first-response-time.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport moment from 'moment';\nimport Signal from 'embercom/models/reporting/signal';\n\nexport default class ConversationalInsightsMedianFirstResponseTimeComponent extends Component {\n  @service appService;\n  @service conversationalInsights;\n\n  @tracked medianResponseTime;\n\n  constructor() {\n    super(...arguments);\n    this.loadDataTask.perform();\n  }\n\n  @task({ restartable: true })\n  *loadDataTask() {\n    let topic = this.args.topic;\n    if (!topic.keyphrases) {\n      return;\n    }\n    let percentiles = yield this.conversationalInsights.getResponseTimePercentiles({ topic });\n    this.medianResponseTime = this.signal(percentiles.buckets);\n  }\n\n  signal(buckets) {\n    let timezone = this.appService.app.timezone;\n    let yearAgo = moment\n      .tz(timezone)\n      .subtract(1, 'years')\n      .startOf('day');\n    let today = moment.tz(timezone).endOf('day');\n\n    let items = buckets.map(bucket => {\n      return {\n        key: moment(bucket.key_as_string).toISOString(),\n        value: [\n          {\n            key: 'median_response_time',\n            count: bucket.doc_count,\n            value: bucket.response_time_percentiles.values['50.0'],\n          },\n        ],\n        count: bucket.doc_count,\n      };\n    });\n    let signal = Signal.create({\n      name: 'ratings',\n      interval: 'month',\n      datePickerRangeStart: yearAgo,\n      datePickerRangeEnd: today,\n      timezone,\n      valueUnit: 'minute',\n      nestedKeysAreDates: false,\n      originalContext: items,\n    });\n    return signal;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n    {{did-update (perform this.loadDataTask) this.conversationalInsights.currentDateRange @topic}}\\n  >\\n    <h3 class=\\\"t__h3\\\">Median resolution time</h3>\\n    {{#if this.loadDataTask.isRunning}}\\n        Loading...\\n    {{else}}\\n        <Reporting::Chart::StackedBar\\n            @signal={{this.medianResolutionTime}}\\n            @keys={{array 'median_resolution_time'}}\\n            @tooltipComponent={{component \\\"reporting/tooltip/horizontal-bar-ratings\\\"}}\\n        />\\n    {{/if}}\\n</div>\\n\", {\"contents\":\"<div\\n    {{did-update (perform this.loadDataTask) this.conversationalInsights.currentDateRange @topic}}\\n  >\\n    <h3 class=\\\"t__h3\\\">Median resolution time</h3>\\n    {{#if this.loadDataTask.isRunning}}\\n        Loading...\\n    {{else}}\\n        <Reporting::Chart::StackedBar\\n            @signal={{this.medianResolutionTime}}\\n            @keys={{array 'median_resolution_time'}}\\n            @tooltipComponent={{component \\\"reporting/tooltip/horizontal-bar-ratings\\\"}}\\n        />\\n    {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/conversational-insights/median-resolution-time.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversational-insights/median-resolution-time.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport moment from 'moment';\nimport Signal from 'embercom/models/reporting/signal';\n\nexport default class ConversationalInsightsMedianResolutionTimeComponent extends Component {\n  @service appService;\n  @service conversationalInsights;\n\n  @tracked medianResolutionTime;\n\n  constructor() {\n    super(...arguments);\n    this.loadDataTask.perform();\n  }\n\n  @task({ restartable: true })\n  *loadDataTask() {\n    let topic = this.args.topic;\n    if (!topic.keyphrases) {\n      return;\n    }\n    let percentiles = yield this.conversationalInsights.getResolutionTimePercentiles({ topic });\n    this.medianResolutionTime = this.signal(percentiles.buckets);\n  }\n\n  signal(buckets) {\n    let timezone = this.appService.app.timezone;\n    let yearAgo = moment\n      .tz(timezone)\n      .subtract(1, 'years')\n      .startOf('day');\n    let today = moment.tz(timezone).endOf('day');\n\n    let items = buckets.map(bucket => {\n      return {\n        key: moment(bucket.key_as_string).toISOString(),\n        value: [\n          {\n            key: 'median_resolution_time',\n            count: bucket.doc_count,\n            value: bucket.resolution_time_percentiles.values['50.0'],\n          },\n        ],\n        count: bucket.doc_count,\n      };\n    });\n    let signal = Signal.create({\n      name: 'ratings',\n      interval: 'month',\n      datePickerRangeStart: yearAgo,\n      datePickerRangeEnd: today,\n      timezone,\n      valueUnit: 'minute',\n      nestedKeysAreDates: false,\n      originalContext: items,\n    });\n    return signal;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<h3 class=\\\"t__h3\\\">Subtopics</h3>\\n{{#if @topic.subTopics}}\\n  <IcTable \\n    {{did-insert (perform this.fetchConversationsCounts)}}\\n    {{did-update (perform this.fetchConversationsCounts) @topic.subTopics @range}}\\n    class=\\\"mb-4\\\"\\n    @data={{@topic.subTopics}}\\n    @columns={{array\\n      (hash label=\\\"Subtopic\\\" valuePath=\\\"title\\\" width=\\\"30%\\\")\\n      (hash label=\\\"Conversation count\\\" valuePath=\\\"counts.currentCount\\\")\\n      (hash label=\\\"Trend\\\" valuePath=\\\"counts.countChange\\\")\\n      (hash label=\\\"Overlap with parent topic\\\" valuePath=\\\"overlap\\\")\\n      (hash label=\\\"\\\" valuePath=\\\"actions\\\")\\n    }} as |table|>\\n      <table.rows as |row|>\\n        {{#let (get this.conversationCounts row.data.id) as |counts|}}\\n          {{#let (div counts.currentCount @conversationsCount) as |percentOverlap|}}\\n            <row.cell @valuePath=\\\"title\\\">\\n              <a\\n                class=\\\"t__solo-link\\\"\\n                href={{href-to \\\"apps.app.conversational-insights.topics.topic.show\\\" row.data}}\\n              >\\n                {{row.data.title}}\\n              </a>\\n            </row.cell>\\n            <row.cell @valuePath=\\\"counts.currentCount\\\">\\n              {{counts.currentCount}}\\n            </row.cell>\\n            <row.cell @valuePath=\\\"counts.countChange\\\">\\n              <ConversationalInsights::SummaryComparison \\n                @currentCount={{counts.currentCount}} \\n                @previousCount={{counts.previousCount}}\\n                @range={{@range}}/>\\n            </row.cell>\\n            <row.cell @valuePath=\\\"overlap\\\">\\n              {{#if (or this.fetchConversationsCounts.isRunning (lt percentOverlap 0))}}\\n                Loading...\\n              {{else}}\\n                <Reporting::Element::Bar\\n                  @start={{0}}\\n                  @rounded={{true}}\\n                  @size=\\\"small\\\"\\n                  @scale={{percentOverlap}}\\n                  @color=\\\"answer-bot-green\\\"\\n                  @tooltip={{concat (format-percentage (multiply 100 percentOverlap)) \\\" overlap with the parent topic (\\\" @topic.title \\\")\\\"}}\\n                  @tooltipComponent={{component\\n                    \\\"reporting/tooltip/simple-percentage\\\"\\n                    percent=(multiply 100 percentOverlap)\\n                    value=counts.currentCount\\n                    total=@conversationsCount\\n                    text=(concat \\\"overlap with the parent topic (\\\" @topic.title \\\")\\\")\\n                  }}\\n                />\\n              {{/if}}\\n            </row.cell>\\n            <row.cell @valuePath=\\\"actions\\\">\\n              <a\\n                class=\\\"t__solo-link\\\"\\n                href={{href-to \\\"apps.app.conversational-insights.topics.topic.edit\\\" row.data}}\\n              >\\n                Edit\\n              </a>\\n            </row.cell>\\n          {{/let}}\\n        {{/let}}\\n      </table.rows>\\n  </IcTable>\\n{{else}}\\n  <p class=\\\"mt-4 mb-4\\\">\\n    No subtopics have been created\\n  </p>\\n{{/if}}\\n\\n<IcButton\\n  @icon=\\\"article\\\"\\n  @label=\\\"New subtopic\\\"\\n  @onClick={{transition-to 'apps.app.conversational-insights.topics.new' (query-params parentId=@topic.id)}}\\n  @type=\\\"primary\\\"\\n  data-test-topics-index-create-topic={{true}}\\n/>\\n\", {\"contents\":\"<h3 class=\\\"t__h3\\\">Subtopics</h3>\\n{{#if @topic.subTopics}}\\n  <IcTable \\n    {{did-insert (perform this.fetchConversationsCounts)}}\\n    {{did-update (perform this.fetchConversationsCounts) @topic.subTopics @range}}\\n    class=\\\"mb-4\\\"\\n    @data={{@topic.subTopics}}\\n    @columns={{array\\n      (hash label=\\\"Subtopic\\\" valuePath=\\\"title\\\" width=\\\"30%\\\")\\n      (hash label=\\\"Conversation count\\\" valuePath=\\\"counts.currentCount\\\")\\n      (hash label=\\\"Trend\\\" valuePath=\\\"counts.countChange\\\")\\n      (hash label=\\\"Overlap with parent topic\\\" valuePath=\\\"overlap\\\")\\n      (hash label=\\\"\\\" valuePath=\\\"actions\\\")\\n    }} as |table|>\\n      <table.rows as |row|>\\n        {{#let (get this.conversationCounts row.data.id) as |counts|}}\\n          {{#let (div counts.currentCount @conversationsCount) as |percentOverlap|}}\\n            <row.cell @valuePath=\\\"title\\\">\\n              <a\\n                class=\\\"t__solo-link\\\"\\n                href={{href-to \\\"apps.app.conversational-insights.topics.topic.show\\\" row.data}}\\n              >\\n                {{row.data.title}}\\n              </a>\\n            </row.cell>\\n            <row.cell @valuePath=\\\"counts.currentCount\\\">\\n              {{counts.currentCount}}\\n            </row.cell>\\n            <row.cell @valuePath=\\\"counts.countChange\\\">\\n              <ConversationalInsights::SummaryComparison \\n                @currentCount={{counts.currentCount}} \\n                @previousCount={{counts.previousCount}}\\n                @range={{@range}}/>\\n            </row.cell>\\n            <row.cell @valuePath=\\\"overlap\\\">\\n              {{#if (or this.fetchConversationsCounts.isRunning (lt percentOverlap 0))}}\\n                Loading...\\n              {{else}}\\n                <Reporting::Element::Bar\\n                  @start={{0}}\\n                  @rounded={{true}}\\n                  @size=\\\"small\\\"\\n                  @scale={{percentOverlap}}\\n                  @color=\\\"answer-bot-green\\\"\\n                  @tooltip={{concat (format-percentage (multiply 100 percentOverlap)) \\\" overlap with the parent topic (\\\" @topic.title \\\")\\\"}}\\n                  @tooltipComponent={{component\\n                    \\\"reporting/tooltip/simple-percentage\\\"\\n                    percent=(multiply 100 percentOverlap)\\n                    value=counts.currentCount\\n                    total=@conversationsCount\\n                    text=(concat \\\"overlap with the parent topic (\\\" @topic.title \\\")\\\")\\n                  }}\\n                />\\n              {{/if}}\\n            </row.cell>\\n            <row.cell @valuePath=\\\"actions\\\">\\n              <a\\n                class=\\\"t__solo-link\\\"\\n                href={{href-to \\\"apps.app.conversational-insights.topics.topic.edit\\\" row.data}}\\n              >\\n                Edit\\n              </a>\\n            </row.cell>\\n          {{/let}}\\n        {{/let}}\\n      </table.rows>\\n  </IcTable>\\n{{else}}\\n  <p class=\\\"mt-4 mb-4\\\">\\n    No subtopics have been created\\n  </p>\\n{{/if}}\\n\\n<IcButton\\n  @icon=\\\"article\\\"\\n  @label=\\\"New subtopic\\\"\\n  @onClick={{transition-to 'apps.app.conversational-insights.topics.new' (query-params parentId=@topic.id)}}\\n  @type=\\\"primary\\\"\\n  data-test-topics-index-create-topic={{true}}\\n/>\\n\",\"moduleName\":\"embercom/components/conversational-insights/sub-topics.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversational-insights/sub-topics.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\n\nexport default class SubTopics extends Component {\n  @service appService;\n  @service conversationalInsights;\n\n  @tracked conversationCounts = {};\n\n  @task\n  *fetchConversationsCounts() {\n    let updatedCounts = {};\n    let topics = this.args.topic.subTopics;\n\n    let results = yield this.conversationalInsights.getMultipleCounts({\n      topics,\n      comparePreviousRange: true,\n    });\n\n    topics.forEach((subTopic, index) => {\n      let { currentCount, previousCount } = results[index];\n      updatedCounts[subTopic.id] = {\n        currentCount,\n        previousCount,\n        countChange: currentCount - previousCount,\n      };\n    });\n\n    this.conversationCounts = updatedCounts;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.loadCountsTask.isRunning}}\\n  Loading data...\\n{{else}}\\n  {{#each this.rows as |row|}}\\n    <div class=\\\"flex flex-row gap-6 u__mb__20\\\">\\n      {{#each row as |item|}}\\n        <div class=\\\"flex flex-col flex-1\\\">\\n          <IcCard @padding=\\\"none\\\" as |card|>\\n            <card.section>\\n              <Heading @size=\\\"2\\\">\\n                {{item.suggestion.title}}\\n              </Heading>\\n\\n              <Paragraph>\\n                Keywords: {{item.suggestion.keyphrasesText}}\\n              </Paragraph>\\n            </card.section>\\n            <card.section>\\n              <Reporting::LineChart\\n                @signal={{item.signal}}\\n              />\\n            </card.section>\\n            <card.section>\\n              <IcButtonList as |list|>\\n                <list.button\\n                  @label=\\\"Create topic\\\"\\n                  @onClick={{fn this.createTopic item.suggestion}}\\n                  @type=\\\"primary\\\"\\n                  @icon=\\\"check\\\" />\\n                <list.button\\n                  @label=\\\"Dismiss\\\"\\n                  @onClick={{fn this.dismissTopic item.suggestion}}\\n                  @type=\\\"secondary-destructive\\\"\\n                  @icon=\\\"close\\\" />\\n              </IcButtonList>\\n            </card.section>\\n          </IcCard>\\n        </div>\\n      {{/each}}\\n    </div>\\n  {{/each}}\\n{{/if}}\\n\", {\"contents\":\"{{#if this.loadCountsTask.isRunning}}\\n  Loading data...\\n{{else}}\\n  {{#each this.rows as |row|}}\\n    <div class=\\\"flex flex-row gap-6 u__mb__20\\\">\\n      {{#each row as |item|}}\\n        <div class=\\\"flex flex-col flex-1\\\">\\n          <IcCard @padding=\\\"none\\\" as |card|>\\n            <card.section>\\n              <Heading @size=\\\"2\\\">\\n                {{item.suggestion.title}}\\n              </Heading>\\n\\n              <Paragraph>\\n                Keywords: {{item.suggestion.keyphrasesText}}\\n              </Paragraph>\\n            </card.section>\\n            <card.section>\\n              <Reporting::LineChart\\n                @signal={{item.signal}}\\n              />\\n            </card.section>\\n            <card.section>\\n              <IcButtonList as |list|>\\n                <list.button\\n                  @label=\\\"Create topic\\\"\\n                  @onClick={{fn this.createTopic item.suggestion}}\\n                  @type=\\\"primary\\\"\\n                  @icon=\\\"check\\\" />\\n                <list.button\\n                  @label=\\\"Dismiss\\\"\\n                  @onClick={{fn this.dismissTopic item.suggestion}}\\n                  @type=\\\"secondary-destructive\\\"\\n                  @icon=\\\"close\\\" />\\n              </IcButtonList>\\n            </card.section>\\n          </IcCard>\\n        </div>\\n      {{/each}}\\n    </div>\\n  {{/each}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversational-insights/suggestions-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversational-insights/suggestions-list.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\nimport { chunk } from 'underscore';\nimport setupLineChartSignal from 'embercom/lib/inbox/reporting/setup-line-chart-signal';\nimport moment from 'moment';\nimport Signal from 'embercom/models/reporting/signal';\n\nexport default class SuggestionsList extends Component {\n  @service conversationalInsights;\n  @service appService;\n  @service store;\n  @service router;\n\n  @tracked suggestions = [];\n  @tracked countSignals = {};\n\n  constructor() {\n    super(...arguments);\n    this.suggestions = this.args.suggestions.toArray();\n    this.loadCountsTask.perform();\n  }\n\n  @action\n  async createTopic(suggestion) {\n    let topic = this.store.createRecord('conversationalInsights/topic', {\n      title: suggestion.title,\n      keyphrases: suggestion.keyphrases,\n    });\n    await topic.save();\n    suggestion.status = 'accepted';\n    await suggestion.save();\n    this.removeFromView(suggestion);\n    this.router.transitionTo('apps.app.conversational-insights.topics.topic.show', topic.id);\n  }\n\n  @action\n  dismissTopic(suggestion) {\n    this.removeFromView(suggestion);\n    suggestion.status = 'dismissed';\n    suggestion.save();\n  }\n\n  removeFromView(suggestion) {\n    let idx = this.suggestions.indexOf(suggestion);\n    if (idx < 0) {\n      throw new Error(`${suggestion.id} can't be found`);\n    }\n    this.suggestions.splice(idx, 1);\n    this.suggestions = this.suggestions.slice(0);\n  }\n\n  get rows() {\n    let items = this.suggestions.map(suggestion => {\n      return {\n        suggestion,\n        signal: this.countSignals[suggestion.id],\n      };\n    });\n    return chunk(items, 2);\n  }\n\n  @task\n  *loadCountsTask() {\n    let topics = this.suggestions;\n    let counts = yield this.conversationalInsights.getMultipleCounts({\n      topics,\n      byMonth: true,\n    });\n    this.countSignals = this.suggestions.reduce((signals, suggestion, i) => {\n      let signal = this.signal(this.extractCounts({ buckets: counts[i].countsByMonth }));\n      signals[suggestion.id] = signal;\n      return signals;\n    }, {});\n  }\n\n  signal(items, valueUnit = 'conversation') {\n    let timezone = this.appService.app.timezone;\n    let yearAgo = moment\n      .tz(timezone)\n      .subtract(1, 'year')\n      .startOf('day');\n    let today = moment.tz(timezone).endOf('day');\n    let signal = Signal.create({\n      timezone,\n      valueUnit,\n      datePickerRangeStart: yearAgo,\n      datePickerRangeEnd: today,\n      key: 0,\n      originalContext: items,\n    });\n    return setupLineChartSignal([signal]);\n  }\n\n  extractCounts({ buckets, relativeTo }) {\n    return buckets.map(item => {\n      let value = item.doc_count;\n      if (relativeTo) {\n        let comparisonBucket = relativeTo.find(b => b.key_as_string === item.key_as_string);\n        value = (100 * value) / comparisonBucket.doc_count;\n      }\n      return {\n        key: moment(item.key_as_string).toISOString(),\n        count: item.doc_count,\n        value,\n      };\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @previousCount}}\\n  <Reporting::Element::SummaryComparison\\n    @currentValue={{sub @currentCount @previousCount}}\\n    @previousValue={{0}}\\n    @improvementDirection=\\\"decreasing\\\"\\n    @notChangedText=\\\"No change\\\"\\n    @showRangeText={{false}}\\n    @range={{@range}}\\n  />\\n{{else if (gt @currentCount 0)}}\\n  {{ic-stamp \\\"New\\\"}}\\n{{/if}}\\n\", {\"contents\":\"{{#if @previousCount}}\\n  <Reporting::Element::SummaryComparison\\n    @currentValue={{sub @currentCount @previousCount}}\\n    @previousValue={{0}}\\n    @improvementDirection=\\\"decreasing\\\"\\n    @notChangedText=\\\"No change\\\"\\n    @showRangeText={{false}}\\n    @range={{@range}}\\n  />\\n{{else if (gt @currentCount 0)}}\\n  {{ic-stamp \\\"New\\\"}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversational-insights/summary-comparison.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversational-insights/summary-comparison.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @topic.parent}}\\n  <ConversationalInsights::TopicAncestorKeywords @topic={{@topic.parent}}/>\\n  <p>\\n    <strong>{{@topic.parent.title}}</strong>: {{@topic.parent.keyphrases}}\\n  </p>\\n{{/if}}\\n\", {\"contents\":\"{{#if @topic.parent}}\\n  <ConversationalInsights::TopicAncestorKeywords @topic={{@topic.parent}}/>\\n  <p>\\n    <strong>{{@topic.parent.title}}</strong>: {{@topic.parent.keyphrases}}\\n  </p>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversational-insights/topic-ancestor-keywords.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversational-insights/topic-ancestor-keywords.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @topic.parent}}\\n  <ConversationalInsights::TopicAncestors @topic={{@topic.parent}}/>\\n  {{ic-interface-icon 'regular-path'}} \\n  <a\\n    class=\\\"t__solo-link\\\"\\n    href={{href-to \\\"apps.app.conversational-insights.topics.topic.show\\\" @topic.parent}}\\n  >\\n    {{@topic.parent.title}}\\n  </a>\\n{{/if}}\\n\", {\"contents\":\"{{#if @topic.parent}}\\n  <ConversationalInsights::TopicAncestors @topic={{@topic.parent}}/>\\n  {{ic-interface-icon 'regular-path'}} \\n  <a\\n    class=\\\"t__solo-link\\\"\\n    href={{href-to \\\"apps.app.conversational-insights.topics.topic.show\\\" @topic.parent}}\\n  >\\n    {{@topic.parent.title}}\\n  </a>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/conversational-insights/topic-ancestors.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversational-insights/topic-ancestors.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<h3 class=\\\"t__h3\\\">Conversations</h3>\\nFound {{format-number this.totalConversations}} conversations in selected timespan\\n\\n<Reporting::DateRangeFilter\\n    class=\\\"pl-6\\\"\\n    @scrollParentSelector=\\\".js__main-container\\\"\\n    @disabled={{false}}\\n    @range={{this.conversationalInsights.currentDateRange}}\\n    @timezone={{this.appService.app.timezone}}\\n    @updateRange={{set this.conversationalInsights.currentDateRange}}\\n/>\\n\\n{{#if @topic.keyphrases}}\\n    <ConversationalInsights::ConversationCardsList\\n        @fetchConversationResults={{this.fetchConversations}}\\n        @datasetId={{@topic.definitionHash}}\\n        class=\\\"u__mt__20\\\"\\n    />\\n{{/if}}\\n\\n\", {\"contents\":\"<h3 class=\\\"t__h3\\\">Conversations</h3>\\nFound {{format-number this.totalConversations}} conversations in selected timespan\\n\\n<Reporting::DateRangeFilter\\n    class=\\\"pl-6\\\"\\n    @scrollParentSelector=\\\".js__main-container\\\"\\n    @disabled={{false}}\\n    @range={{this.conversationalInsights.currentDateRange}}\\n    @timezone={{this.appService.app.timezone}}\\n    @updateRange={{set this.conversationalInsights.currentDateRange}}\\n/>\\n\\n{{#if @topic.keyphrases}}\\n    <ConversationalInsights::ConversationCardsList\\n        @fetchConversationResults={{this.fetchConversations}}\\n        @datasetId={{@topic.definitionHash}}\\n        class=\\\"u__mt__20\\\"\\n    />\\n{{/if}}\\n\\n\",\"moduleName\":\"embercom/components/conversational-insights/topic-conversations.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversational-insights/topic-conversations.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { task } from 'ember-concurrency-decorators';\nimport { timeout } from 'ember-concurrency';\n\nexport default class ConversationalInsightsTopicConversationsComponent extends Component {\n  @service conversationalInsights;\n  @service appService;\n  @tracked totalConversations = 0;\n\n  @tracked results = [];\n\n  @task({ restartable: true })\n  *fetchData({ topic, from, size }) {\n    yield timeout(300);\n    return yield this.conversationalInsights.getConversations({\n      topic,\n      from,\n      size,\n    });\n  }\n\n  @action\n  async fetchConversations(start, size) {\n    let results = await this.fetchData.perform({\n      topic: this.args.topic,\n      from: start,\n      size,\n    });\n    this.totalConversations = results.total;\n    return results.conversations.map(c => {\n      return {\n        id: c._source.conversation_id,\n        source: c._source,\n        highlightedIds: c.highlightedIds,\n        highlights: c.highlights,\n      };\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"u__ml__40 u__mr__40 u__mb__40 u__mt__40\\\">\\n\\n  <ConversationalInsights::TopicAncestors @topic={{@topic}}/>\\n  <div class=\\\"layout__box o__has-columns o__flexes-to-1\\\">\\n    <div class=\\\"layout__box o__has-columns o__flexes-to-1\\\">\\n      <Pulse::ExpandingInput\\n        @value={{@topic.title}}\\n        @onUpdate={{this.setTopic}}\\n        placeholder=\\\"What is the topic about?\\\"\\n        class=\\\"t__h1 min-w-3 max-w-128\\\"\\n      />\\n    </div>\\n    <div class=\\\"layout__box o__has-columns\\\" data-test-buttons>\\n      <div class=\\\"layout__box\\\">\\n        <IcButton\\n          data-test-answer-editor-save-button\\n          {{on \\\"click\\\" (track-analytics-event action='clicked' object='save-and-see-new-topic' place='topic' section='conv-prototype')}}\\n          @icon=\\\"check\\\"\\n          @label={{if this.saveTask.isRunning \\\"Saving...\\\" (concat \\\"Save and see \\\" this.topicOrSubtopic)}}\\n          @type=\\\"primary\\\"\\n          @inRightList={{true}}\\n          @isDisabled={{not @topic.canBeSaved}}\\n          @onClick={{perform this.saveTask}}\\n        />\\n      </div>\\n    </div>\\n  </div>\\n\\n  <hr>\\n\\n  {{#if @topic.parent}}\\n    <div class=\\\"mt-2\\\">\\n      <h3 class=\\\"t__h3 mb-3\\\">Parent topic keywords</h3>\\n      <div class=\\\"ml-2\\\">\\n        <ConversationalInsights::TopicAncestorKeywords @topic={{@topic}}/>\\n      </div>\\n    </div>\\n  {{/if}}\\n  <hr>\\n\\n  <h3 class=\\\"t__h3\\\">\\n    Define {{this.topicOrSubtopic}} criteria\\n  </h3>\\n  <div class=\\\"u__mb__20 u__mt__20\\\">\\n    <div class=\\\"flex items-start\\\">\\n      <div class=\\\"mr-4\\\">\\n        <IcIfThisThenThat @type='if' />\\n      </div>\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        text matches\\n        <input type=\\\"text\\\" placeholder=\\\"remove tag, delete tag\\\" class=\\\"ember-text-field f__text u__padr__25\\\"\\n          value={{this.keyphrasesText}} oninput={{this.setKeyphrasesText}} />\\n        <Paragraph @styling='small'>\\n          Type in phrases, separated by comma.\\n\\n          Example: 'delete tag, remove tag' will target all conversations where you can find phrases 'remove tag' OR 'delete tag'.\\n        </Paragraph>\\n      </div>\\n    </div>\\n\\n    <div class=\\\"flex items-start pt-4\\\">\\n      <div class=\\\"mr-4\\\">\\n        <IcIfThisThenThat @type='and' />\\n      </div>\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        text doesn't match\\n        <input type=\\\"text\\\" placeholder=\\\"remove tag, delete tag\\\" class=\\\"ember-text-field f__text u__padr__25\\\"\\n          value={{this.excludedKeyphrasesText}} oninput={{this.setExcludedKeyphrasesText}} />\\n        <Paragraph @styling='small'>\\n          Type in phrases, separated by comma.\\n\\n          Example: 'delete tag, remove tag' will exclude all conversations where you can find phrases 'remove tag' OR 'delete tag'.\\n        </Paragraph>\\n      </div>\\n    </div>\\n\\n    <div class=\\\"flex items-start pt-4\\\">\\n      <div class=\\\"mr-4\\\">\\n        <IcIfThisThenThat @type='and' />\\n      </div>\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        part type is\\n        <IcMultiselect\\n          @label={{this.partTypeLabel}}\\n          @limit={{5}}\\n          @items={{this.partTypes}}\\n          @onSelectionChange={{fn (mut @topic.partTypes)}}\\n          @hasFilter={{false}}\\n        />\\n      </div>\\n    </div>\\n\\n    <div class=\\\"flex items-start pt-4\\\">\\n      <div class=\\\"mr-4\\\">\\n        <IcIfThisThenThat @type='and' />\\n      </div>\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        author type is\\n        <IcMultiselect\\n          @label={{this.authorTypeLabel}}\\n          @limit={{5}}\\n          @items={{this.authorTypes}}\\n          @onSelectionChange={{fn (mut @topic.authorTypes)}}\\n          @hasFilter={{false}}\\n        />\\n      </div>\\n    </div>\\n\\n    <div class=\\\"flex flex-row gap-4 mt-4\\\">\\n      <IcIfThisThenThat @type='and' />\\n      <Reporting::Flexible::FilterBar::TagFilter\\n        @selected={{@topic.tagIds}}\\n        @setSelected={{set @topic.tagIds}}\\n        @analyticsObject='topic_editor'\\n      />\\n    </div>\\n  </div>\\n\\n  <ConversationalInsights::TopicConversations\\n    @topic={{@topic}}\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"u__ml__40 u__mr__40 u__mb__40 u__mt__40\\\">\\n\\n  <ConversationalInsights::TopicAncestors @topic={{@topic}}/>\\n  <div class=\\\"layout__box o__has-columns o__flexes-to-1\\\">\\n    <div class=\\\"layout__box o__has-columns o__flexes-to-1\\\">\\n      <Pulse::ExpandingInput\\n        @value={{@topic.title}}\\n        @onUpdate={{this.setTopic}}\\n        placeholder=\\\"What is the topic about?\\\"\\n        class=\\\"t__h1 min-w-3 max-w-128\\\"\\n      />\\n    </div>\\n    <div class=\\\"layout__box o__has-columns\\\" data-test-buttons>\\n      <div class=\\\"layout__box\\\">\\n        <IcButton\\n          data-test-answer-editor-save-button\\n          {{on \\\"click\\\" (track-analytics-event action='clicked' object='save-and-see-new-topic' place='topic' section='conv-prototype')}}\\n          @icon=\\\"check\\\"\\n          @label={{if this.saveTask.isRunning \\\"Saving...\\\" (concat \\\"Save and see \\\" this.topicOrSubtopic)}}\\n          @type=\\\"primary\\\"\\n          @inRightList={{true}}\\n          @isDisabled={{not @topic.canBeSaved}}\\n          @onClick={{perform this.saveTask}}\\n        />\\n      </div>\\n    </div>\\n  </div>\\n\\n  <hr>\\n\\n  {{#if @topic.parent}}\\n    <div class=\\\"mt-2\\\">\\n      <h3 class=\\\"t__h3 mb-3\\\">Parent topic keywords</h3>\\n      <div class=\\\"ml-2\\\">\\n        <ConversationalInsights::TopicAncestorKeywords @topic={{@topic}}/>\\n      </div>\\n    </div>\\n  {{/if}}\\n  <hr>\\n\\n  <h3 class=\\\"t__h3\\\">\\n    Define {{this.topicOrSubtopic}} criteria\\n  </h3>\\n  <div class=\\\"u__mb__20 u__mt__20\\\">\\n    <div class=\\\"flex items-start\\\">\\n      <div class=\\\"mr-4\\\">\\n        <IcIfThisThenThat @type='if' />\\n      </div>\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        text matches\\n        <input type=\\\"text\\\" placeholder=\\\"remove tag, delete tag\\\" class=\\\"ember-text-field f__text u__padr__25\\\"\\n          value={{this.keyphrasesText}} oninput={{this.setKeyphrasesText}} />\\n        <Paragraph @styling='small'>\\n          Type in phrases, separated by comma.\\n\\n          Example: 'delete tag, remove tag' will target all conversations where you can find phrases 'remove tag' OR 'delete tag'.\\n        </Paragraph>\\n      </div>\\n    </div>\\n\\n    <div class=\\\"flex items-start pt-4\\\">\\n      <div class=\\\"mr-4\\\">\\n        <IcIfThisThenThat @type='and' />\\n      </div>\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        text doesn't match\\n        <input type=\\\"text\\\" placeholder=\\\"remove tag, delete tag\\\" class=\\\"ember-text-field f__text u__padr__25\\\"\\n          value={{this.excludedKeyphrasesText}} oninput={{this.setExcludedKeyphrasesText}} />\\n        <Paragraph @styling='small'>\\n          Type in phrases, separated by comma.\\n\\n          Example: 'delete tag, remove tag' will exclude all conversations where you can find phrases 'remove tag' OR 'delete tag'.\\n        </Paragraph>\\n      </div>\\n    </div>\\n\\n    <div class=\\\"flex items-start pt-4\\\">\\n      <div class=\\\"mr-4\\\">\\n        <IcIfThisThenThat @type='and' />\\n      </div>\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        part type is\\n        <IcMultiselect\\n          @label={{this.partTypeLabel}}\\n          @limit={{5}}\\n          @items={{this.partTypes}}\\n          @onSelectionChange={{fn (mut @topic.partTypes)}}\\n          @hasFilter={{false}}\\n        />\\n      </div>\\n    </div>\\n\\n    <div class=\\\"flex items-start pt-4\\\">\\n      <div class=\\\"mr-4\\\">\\n        <IcIfThisThenThat @type='and' />\\n      </div>\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        author type is\\n        <IcMultiselect\\n          @label={{this.authorTypeLabel}}\\n          @limit={{5}}\\n          @items={{this.authorTypes}}\\n          @onSelectionChange={{fn (mut @topic.authorTypes)}}\\n          @hasFilter={{false}}\\n        />\\n      </div>\\n    </div>\\n\\n    <div class=\\\"flex flex-row gap-4 mt-4\\\">\\n      <IcIfThisThenThat @type='and' />\\n      <Reporting::Flexible::FilterBar::TagFilter\\n        @selected={{@topic.tagIds}}\\n        @setSelected={{set @topic.tagIds}}\\n        @analyticsObject='topic_editor'\\n      />\\n    </div>\\n  </div>\\n\\n  <ConversationalInsights::TopicConversations\\n    @topic={{@topic}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/conversational-insights/topic-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversational-insights/topic-editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class TopicEditor extends Component {\n  @service store;\n  @service router;\n\n  @tracked keyphrasesText = '';\n  @tracked excludedKeyphrasesText = '';\n\n  constructor() {\n    super(...arguments);\n    this.keyphrasesText = this.args.topic.keyphrasesText;\n    this.excludedKeyphrasesText = this.args.topic.excludedKeyphrasesText;\n    this.inheritTopicFromKeyphrases = !this.args.topic.title;\n  }\n\n  get topic() {\n    return this.args.topic;\n  }\n\n  get partTypes() {\n    let items = [\n      { text: 'Message', value: 'message' },\n      { text: 'Comment', value: 'comment' },\n      { text: 'Note', value: 'note' },\n    ];\n    items.forEach(item => (item.isSelected = this.args.topic.partTypes.includes(item.value)));\n    return items;\n  }\n\n  get partTypeLabel() {\n    if (this.topic.partTypes.length === 0) {\n      return 'Select part types';\n    } else if (this.topic.partTypes.length === 3) {\n      return 'Any part type';\n    }\n\n    return this.topic.partTypes.join(' + ');\n  }\n\n  get authorTypes() {\n    let items = [\n      {\n        text: 'User',\n        value: 'user',\n      },\n      { text: 'Teammate', value: 'teammate' },\n      { text: 'Bot', value: 'bot' },\n    ];\n    items.forEach(item => (item.isSelected = this.args.topic.authorTypes.includes(item.value)));\n    return items;\n  }\n\n  get authorTypeLabel() {\n    if (this.topic.authorTypes.length === 0) {\n      return 'Select author types';\n    }\n\n    return this.topic.authorTypes.join(' + ');\n  }\n\n  get topicOrSubtopic() {\n    return this.topic.isSubTopic ? 'subtopic' : 'topic';\n  }\n\n  @task\n  *saveTask() {\n    yield this.topic.save();\n    // ensure the parent has the correct subtopics\n    this.topic.parent?.reload();\n    this.router.transitionTo('apps.app.conversational-insights.topics.topic.show', this.topic.id);\n  }\n\n  @action\n  setTopic(text) {\n    this.topic.title = text;\n    this.inheritTopicFromKeyphrases = !this.topic.title;\n  }\n\n  @action\n  async setKeyphrasesText(e) {\n    let text = e.target.value;\n    this.topic.setKeyphrasesFromText(text);\n    this.keyphrasesText = text;\n    if (this.inheritTopicFromKeyphrases) {\n      this.topic.title = text;\n    }\n  }\n\n  @action\n  async setExcludedKeyphrasesText(event) {\n    let { value } = event.target;\n    this.topic.setExcludedKeyphrasesText(value);\n    this.excludedKeyphrasesText = value;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n    {{did-update (perform this.loadOverlapsTask) this.conversationalInsights.currentDateRange @topic}}\\n  >\\n  <h3 class=\\\"t__h3 u__mb__15\\\">Overlaps with other topics</h3>\\n  {{#if this.loadOverlapsTask.isRunning}}\\n      Loading data...\\n  {{else}}\\n      <div class=\\\"flex flex-col\\\">\\n        <div class=\\\"flex flex-col gap-6\\\">\\n          {{#each this.overlapRows as |overlaps|}}\\n            <div class=\\\"flex flex-row gap-6\\\">\\n              {{#each overlaps as |overlap|}}\\n                <div class=\\\"flex flex-col flex-1\\\">\\n                  <Reporting::Layout::ViewCard>\\n                    {{overlap.topic.title}}<br>\\n                    <Text @styling=\\\"muted\\\">\\n                      <Text @styling=\\\"small\\\">\\n                        {{format-percentage overlap.report.percentagesByKey.both}} of conversations in ({{@topic.title}}) are in topic ({{overlap.topic.title}}), too\\n                      </Text>\\n                      <a {{on 'click' (fn (set this.activeSidebarTopicId overlap.topic.id))}}>See conversations</a>\\n                      <ConversationalInsights::ConversationsSideDrawer\\n                        @app={{this.app}}\\n                        @showSideDrawer={{eq this.activeSidebarTopicId overlap.topic.id}}\\n                        @onClose={{set this.activeSidebarTopicId ''}}\\n                        @fetchConversationResults={{fn this.fetchConversationResults overlap.topic}}\\n                        @title={{concat \\\"Conversations in topics \\\" @topic.title \\\" and \\\" overlap.topic.title}}\\n                      />\\n                    </Text>\\n                    <Reporting::Element::ChartHorizontalBarWithRule\\n                        @report={{overlap.report}}\\n                        @keys={{array\\n                            \\\"both\\\"\\n                            \\\"left\\\"\\n                        }}\\n                        @tooltips={{overlap.tooltips}}\\n                        @rule={{hash key=\\\"both\\\" color=\\\"green\\\"}}\\n                        @keyColorHash={{hash\\n                            both=\\\"answer-bot-green\\\"\\n                            left=\\\"gray-light\\\"\\n                        }}\\n                        @unit=\\\"conversations\\\"\\n                        @forceEmpty={{not @showData}}\\n                    />\\n                    <Reporting::LineChart\\n                      @signal={{overlap.relativeOverlapOverTime}}\\n                      @width={{600}}\\n                      @formatYAxis=\\\"percent\\\"\\n                    />\\n                  </Reporting::Layout::ViewCard>\\n                </div>\\n              {{/each}}\\n            </div>\\n          {{/each}}\\n        </div>\\n      </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div\\n    {{did-update (perform this.loadOverlapsTask) this.conversationalInsights.currentDateRange @topic}}\\n  >\\n  <h3 class=\\\"t__h3 u__mb__15\\\">Overlaps with other topics</h3>\\n  {{#if this.loadOverlapsTask.isRunning}}\\n      Loading data...\\n  {{else}}\\n      <div class=\\\"flex flex-col\\\">\\n        <div class=\\\"flex flex-col gap-6\\\">\\n          {{#each this.overlapRows as |overlaps|}}\\n            <div class=\\\"flex flex-row gap-6\\\">\\n              {{#each overlaps as |overlap|}}\\n                <div class=\\\"flex flex-col flex-1\\\">\\n                  <Reporting::Layout::ViewCard>\\n                    {{overlap.topic.title}}<br>\\n                    <Text @styling=\\\"muted\\\">\\n                      <Text @styling=\\\"small\\\">\\n                        {{format-percentage overlap.report.percentagesByKey.both}} of conversations in ({{@topic.title}}) are in topic ({{overlap.topic.title}}), too\\n                      </Text>\\n                      <a {{on 'click' (fn (set this.activeSidebarTopicId overlap.topic.id))}}>See conversations</a>\\n                      <ConversationalInsights::ConversationsSideDrawer\\n                        @app={{this.app}}\\n                        @showSideDrawer={{eq this.activeSidebarTopicId overlap.topic.id}}\\n                        @onClose={{set this.activeSidebarTopicId ''}}\\n                        @fetchConversationResults={{fn this.fetchConversationResults overlap.topic}}\\n                        @title={{concat \\\"Conversations in topics \\\" @topic.title \\\" and \\\" overlap.topic.title}}\\n                      />\\n                    </Text>\\n                    <Reporting::Element::ChartHorizontalBarWithRule\\n                        @report={{overlap.report}}\\n                        @keys={{array\\n                            \\\"both\\\"\\n                            \\\"left\\\"\\n                        }}\\n                        @tooltips={{overlap.tooltips}}\\n                        @rule={{hash key=\\\"both\\\" color=\\\"green\\\"}}\\n                        @keyColorHash={{hash\\n                            both=\\\"answer-bot-green\\\"\\n                            left=\\\"gray-light\\\"\\n                        }}\\n                        @unit=\\\"conversations\\\"\\n                        @forceEmpty={{not @showData}}\\n                    />\\n                    <Reporting::LineChart\\n                      @signal={{overlap.relativeOverlapOverTime}}\\n                      @width={{600}}\\n                      @formatYAxis=\\\"percent\\\"\\n                    />\\n                  </Reporting::Layout::ViewCard>\\n                </div>\\n              {{/each}}\\n            </div>\\n          {{/each}}\\n        </div>\\n      </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/conversational-insights/topic-overlaps-overview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversational-insights/topic-overlaps-overview.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { chunk } from 'underscore';\nimport setupLineChartSignal from 'embercom/lib/inbox/reporting/setup-line-chart-signal';\nimport moment from 'moment';\nimport Signal from 'embercom/models/reporting/signal';\n\nexport default class ConversationalInsightsTopicOverlapsOverviewComponent extends Component {\n  @service conversationalInsights;\n  @service appService;\n  @service store;\n  @service modalService;\n\n  @tracked overlapRows = [];\n  @tracked activeSidebarTopicId;\n\n  constructor() {\n    super(...arguments);\n    this.loadOverlapsTask.perform();\n  }\n\n  relativeSignal({ buckets, relativeTo }) {\n    let timezone = this.appService.app.timezone;\n    let yearAgo = moment\n      .tz(timezone)\n      .subtract(1, 'year')\n      .startOf('day');\n    let today = moment.tz(timezone).endOf('day');\n\n    let items = relativeTo.map(comparisonBucket => {\n      let item = buckets.find(b => b.key_as_string === comparisonBucket.key_as_string);\n      let key = comparisonBucket.key_as_string;\n      let count = item ? item.doc_count : 0;\n      let value = (100 * count) / comparisonBucket.doc_count;\n      return {\n        key: moment(key).toISOString(),\n        count,\n        value,\n      };\n    });\n\n    let signal = Signal.create({\n      timezone,\n      valueUnit: 'percent',\n      datePickerRangeStart: yearAgo,\n      datePickerRangeEnd: today,\n      key: 0,\n      originalContext: items,\n    });\n    return setupLineChartSignal([signal]);\n  }\n\n  extractCounts({ buckets, relativeTo }) {}\n\n  @task({ restartable: true })\n  *loadOverlapsTask() {\n    let topic = this.args.topic;\n    let mainTopicCounts = yield this.conversationalInsights.getCounts({\n      topic,\n    });\n    let topicsIdsToOmit = [\n      this.args.topic.id,\n      ...this.args.topic.ancestorTopicIds,\n      ...this.args.topic.descendentTopicIds,\n    ];\n    let topicsToOverlap = this.store\n      .peekAll('conversational-insights/topic')\n      .filter(t => !topicsIdsToOmit.includes(t.id));\n    let overlapStats = yield this.conversationalInsights.getOverlapCounts({\n      topic,\n      topicsToOverlap,\n    });\n    this.overlaps = topicsToOverlap.map((topic, i) => {\n      let overlapCounts = overlapStats[i];\n      let intersectionCount = overlapStats[i].total;\n      let total = mainTopicCounts.total;\n      let report = {\n        percentagesByKey: {\n          left: (100 * (total - intersectionCount)) / total,\n          both: (100 * intersectionCount) / total,\n        },\n        totalsPerKey: {\n          left: total - intersectionCount,\n          both: intersectionCount,\n        },\n        total,\n      };\n      let tooltips = {\n        both: 'both topics',\n        left: `(${topic.title}) topic only`,\n      };\n      let relativeOverlapOverTime = this.relativeSignal({\n        buckets: overlapCounts.countsByMonth,\n        relativeTo: mainTopicCounts.countsByMonth,\n      });\n      return {\n        topic,\n        report,\n        tooltips,\n        relativeOverlapOverTime,\n      };\n    });\n    this.overlaps.sort((a, b) => b.report.percentagesByKey.both - a.report.percentagesByKey.both);\n    this.overlaps = this.overlaps.slice(0, 6);\n    this.overlapRows = chunk(this.overlaps, 2);\n  }\n\n  @action\n  async fetchConversationResults(topic, start, size) {\n    let results = await this.conversationalInsights.getConversations({\n      topicToOverlap: this.args.topic,\n      topic,\n      from: start,\n      size,\n    });\n    return results.conversations.map(c => {\n      return {\n        id: c._source.conversation_id,\n        source: c._source,\n        highlightedIds: c.highlightedIds,\n        highlights: c.highlights,\n      };\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n    {{did-update (perform this.loadOverlapsTask) this.conversationalInsights.currentDateRange @topic}}\\n  >\\n  <h3 class=\\\"t__h3 u__mb__15\\\">Overlaps with tags</h3>\\n  {{#if this.loadOverlapsTask.isRunning}}\\n      Loading data...\\n  {{else}}\\n      <div class=\\\"flex flex-col\\\">\\n        <div class=\\\"flex flex-col gap-6\\\">\\n          {{#each this.overlapRows as |overlaps|}}\\n            <div class=\\\"flex flex-row gap-6\\\">\\n              {{#each overlaps as |overlap|}}\\n                <div class=\\\"flex flex-col flex-1\\\">\\n                  <Reporting::Layout::ViewCard>\\n                    {{overlap.tag.name}}<br>\\n                    <Text @styling=\\\"muted\\\">\\n                      <Text @styling=\\\"small\\\">\\n                        {{format-percentage overlap.report.percentagesByKey.both}} of conversations in ({{@topic.title}}) are tagged with ({{overlap.tag.name}}), too.\\n                      </Text>\\n                      <a {{on 'click' (fn (set this.activeSidebarTagId overlap.tag.id))}}>See conversations</a>\\n                      <ConversationalInsights::ConversationsSideDrawer\\n                        @app={{this.app}}\\n                        @showSideDrawer={{eq this.activeSidebarTagId overlap.tag.id}}\\n                        @onClose={{set this.activeSidebarTagId ''}}\\n                        @fetchConversationResults={{fn this.fetchConversationResults overlap.tag.id}}\\n                        @title={{concat \\\"Conversations in topic \\\" @topic.title \\\" tagged with \\\" overlap.tag.name}}\\n                      />\\n                    </Text>\\n                    <Reporting::Element::ChartHorizontalBarWithRule\\n                        @report={{overlap.report}}\\n                        @keys={{array\\n                            \\\"both\\\"\\n                            \\\"left\\\"\\n                        }}\\n                        @tooltips={{overlap.tooltips}}\\n                        @rule={{hash key=\\\"both\\\" color=\\\"green\\\"}}\\n                        @keyColorHash={{hash\\n                            both=\\\"answer-bot-green\\\"\\n                            left=\\\"gray-light\\\"\\n                        }}\\n                        @unit=\\\"conversations\\\"\\n                        @forceEmpty={{not @showData}}\\n                    />\\n                      <Reporting::LineChart\\n                        @signal={{overlap.signal}}\\n                        @width={{600}}\\n                        @formatYAxis=\\\"percent\\\"\\n                        />\\n                  </Reporting::Layout::ViewCard>\\n                </div>\\n              {{/each}}\\n            </div>\\n          {{/each}}\\n        </div>\\n      </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div\\n    {{did-update (perform this.loadOverlapsTask) this.conversationalInsights.currentDateRange @topic}}\\n  >\\n  <h3 class=\\\"t__h3 u__mb__15\\\">Overlaps with tags</h3>\\n  {{#if this.loadOverlapsTask.isRunning}}\\n      Loading data...\\n  {{else}}\\n      <div class=\\\"flex flex-col\\\">\\n        <div class=\\\"flex flex-col gap-6\\\">\\n          {{#each this.overlapRows as |overlaps|}}\\n            <div class=\\\"flex flex-row gap-6\\\">\\n              {{#each overlaps as |overlap|}}\\n                <div class=\\\"flex flex-col flex-1\\\">\\n                  <Reporting::Layout::ViewCard>\\n                    {{overlap.tag.name}}<br>\\n                    <Text @styling=\\\"muted\\\">\\n                      <Text @styling=\\\"small\\\">\\n                        {{format-percentage overlap.report.percentagesByKey.both}} of conversations in ({{@topic.title}}) are tagged with ({{overlap.tag.name}}), too.\\n                      </Text>\\n                      <a {{on 'click' (fn (set this.activeSidebarTagId overlap.tag.id))}}>See conversations</a>\\n                      <ConversationalInsights::ConversationsSideDrawer\\n                        @app={{this.app}}\\n                        @showSideDrawer={{eq this.activeSidebarTagId overlap.tag.id}}\\n                        @onClose={{set this.activeSidebarTagId ''}}\\n                        @fetchConversationResults={{fn this.fetchConversationResults overlap.tag.id}}\\n                        @title={{concat \\\"Conversations in topic \\\" @topic.title \\\" tagged with \\\" overlap.tag.name}}\\n                      />\\n                    </Text>\\n                    <Reporting::Element::ChartHorizontalBarWithRule\\n                        @report={{overlap.report}}\\n                        @keys={{array\\n                            \\\"both\\\"\\n                            \\\"left\\\"\\n                        }}\\n                        @tooltips={{overlap.tooltips}}\\n                        @rule={{hash key=\\\"both\\\" color=\\\"green\\\"}}\\n                        @keyColorHash={{hash\\n                            both=\\\"answer-bot-green\\\"\\n                            left=\\\"gray-light\\\"\\n                        }}\\n                        @unit=\\\"conversations\\\"\\n                        @forceEmpty={{not @showData}}\\n                    />\\n                      <Reporting::LineChart\\n                        @signal={{overlap.signal}}\\n                        @width={{600}}\\n                        @formatYAxis=\\\"percent\\\"\\n                        />\\n                  </Reporting::Layout::ViewCard>\\n                </div>\\n              {{/each}}\\n            </div>\\n          {{/each}}\\n        </div>\\n      </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/conversational-insights/topic-tags-overlaps.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversational-insights/topic-tags-overlaps.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { chunk } from 'underscore';\nimport setupLineChartSignal from 'embercom/lib/inbox/reporting/setup-line-chart-signal';\nimport moment from 'moment';\nimport Signal from 'embercom/models/reporting/signal';\n\nexport default class ConversationalInsightsTopicTagsOverlapsComponent extends Component {\n  @service conversationalInsights;\n  @service appService;\n  @service store;\n  @tracked activeSidebarTagId;\n  @tracked overlapRows = [];\n\n  constructor() {\n    super(...arguments);\n    this.loadOverlapsTask.perform();\n  }\n\n  get app() {\n    return this.appService.app;\n  }\n\n  @task\n  *loadOverlapsTask() {\n    let topic = this.args.topic;\n    let topicTagCounts = yield this.conversationalInsights.getCountsSplitByTag({\n      topic,\n    });\n    let tagMonthBuckets = topicTagCounts.countsByMonth.reduce((buckets, byMonth) => {\n      byMonth.tag_id.buckets.forEach(({ key, doc_count }) => {\n        if (!buckets[key]) {\n          buckets[key] = [];\n        }\n        buckets[key].push({ key_as_string: byMonth.key_as_string, doc_count });\n      });\n      return buckets;\n    }, {});\n    let sumByTagWithinTopic = topicTagCounts.countsByMonth.reduce((counts, byMonth) => {\n      byMonth.tag_id.buckets.forEach(({ key, doc_count }) => {\n        if (!counts[key]) {\n          counts[key] = 0;\n        }\n        counts[key] += doc_count;\n      });\n      return counts;\n    }, {});\n    let topOverlappingTagIDs = Object.entries(sumByTagWithinTopic)\n      .sort((a, b) => b[1] - a[1])\n      .slice(0, 6)\n      .map(id => id[0]);\n    yield this.store.findAll('tag');\n    this.overlaps = topOverlappingTagIDs.map(tagId => {\n      let tag = this.store.peekRecord('tag', tagId);\n      let intersectionCount = sumByTagWithinTopic[tagId];\n      let total = topicTagCounts.total;\n      let report = {\n        percentagesByKey: {\n          left: (100 * (total - intersectionCount)) / total,\n          both: (100 * intersectionCount) / total,\n        },\n        totalsPerKey: {\n          left: total - intersectionCount,\n          both: intersectionCount,\n        },\n        total,\n      };\n      let topicTitle = this.args.topic.title;\n      let tooltips = {\n        both: `conversations in (${topicTitle}) and tag (${tag.name})`,\n        left: `(${topicTitle}) topic only`,\n      };\n      let overlapOverTimeItems = this.extractCounts({\n        buckets: tagMonthBuckets[tagId],\n        relativeTo: topicTagCounts.countsByMonth,\n      });\n      let signal = this.signal(overlapOverTimeItems, 'percent');\n      return {\n        tag,\n        report,\n        tooltips,\n        signal,\n      };\n    });\n    this.overlapRows = chunk(this.overlaps, 2);\n  }\n\n  signal(items, valueUnit = 'conversation') {\n    let timezone = this.appService.app.timezone;\n    let yearAgo = moment\n      .tz(timezone)\n      .subtract(1, 'year')\n      .startOf('day');\n    let today = moment.tz(timezone).endOf('day');\n    let signal = Signal.create({\n      timezone,\n      valueUnit,\n      datePickerRangeStart: yearAgo,\n      datePickerRangeEnd: today,\n      key: 0,\n      originalContext: items,\n    });\n    return setupLineChartSignal([signal]);\n  }\n  extractCounts({ buckets, relativeTo }) {\n    return relativeTo.map(comparisonBucket => {\n      let item = buckets.find(b => b.key_as_string === comparisonBucket.key_as_string);\n      let key = comparisonBucket.key_as_string;\n      let count = item ? item.doc_count : 0;\n      let value = (100 * count) / comparisonBucket.doc_count;\n      return {\n        key: moment(key).toISOString(),\n        count,\n        value,\n      };\n    });\n  }\n\n  @action\n  async fetchConversationResults(tagId, start, size) {\n    let results = await this.conversationalInsights.getConversations({\n      topic: this.args.topic,\n      tagIds: [tagId],\n      from: start,\n      size,\n    });\n    return results.conversations.map(c => {\n      return {\n        id: c._source.conversation_id,\n        source: c._source,\n        highlightedIds: c.highlightedIds,\n        highlights: c.highlights,\n      };\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  {{did-update (perform this.loadStatsTask) this.conversationalInsights.currentDateRange}}\\n>\\n  <Reporting::DateRangeFilter\\n    class=\\\"pl-6\\\"\\n    {{on \\\"click\\\" (track-analytics-event action='clicked' object='topics-list-filter-button' place='topic-list' section='conv-prototype')}}\\n    @scrollParentSelector=\\\".js__main-container\\\"\\n    @disabled={{false}}\\n    @range={{this.conversationalInsights.currentDateRange}}\\n    @timezone={{this.appService.app.timezone}}\\n    @updateRange={{set this.conversationalInsights.currentDateRange}}\\n  />\\n    {{#if this.loadStatsTask.isRunning}}\\n        Loading data...\\n    {{else}}\\n        <IcLightTable\\n            @data={{this.rows}}\\n            @sortState={{this.sortState}}\\n            @columns={{array\\n                (hash label=\\\"Title\\\" valuePath=\\\"topic.title\\\" isSortable=true)\\n                (hash label=\\\"Keywords\\\" valuePath=\\\"topic.keyphrasesText\\\" isSortable=true)\\n                (hash label=\\\"Keywords to exclude\\\" valuePath=\\\"topic.excludedKeyphrasesText\\\" isSortable=true)\\n                (hash label=\\\"Conversations\\\" valuePath=\\\"stats.currentCount\\\" isSortable=true)\\n                (hash label=\\\"Trend\\\" valuePath=\\\"stats.countChange\\\" isSortable=true)\\n                (hash label=\\\"Median response time\\\" valuePath=\\\"stats.medianResponseTime\\\" isSortable=true)\\n                (hash label=\\\"Median resolution time\\\" valuePath=\\\"stats.medianResolutionTime\\\" isSortable=true)\\n            }} as |table|\\n            >\\n            <table.rows as |row|>\\n                <row.cell @valuePath=\\\"topic.title\\\">\\n                    <h3 class=\\\"t__h3 u__one-truncated-line\\\">\\n                        <a\\n                            class=\\\"t__solo-link\\\"\\n                            href={{href-to \\\"apps.app.conversational-insights.topics.topic.show\\\" row.data.topic}}\\n                        >\\n                            {{row.data.topic.title}}\\n                        </a>\\n                    </h3>\\n                </row.cell>\\n                <row.cell @valuePath=\\\"topic.keyphrasesText\\\">\\n                    {{row.data.topic.keyphrasesText}}\\n                </row.cell>\\n                <row.cell @valuePath=\\\"topic.excludedKeyphrasesText\\\">\\n                    {{row.data.topic.excludedKeyphrasesText}}\\n                </row.cell>\\n                <row.cell @valuePath=\\\"stats.currentCount\\\">\\n                    {{format-number row.data.stats.currentCount}} ({{format-percentage row.data.stats.relativeCount}})\\n                </row.cell>\\n                <row.cell @valuePath=\\\"stats.countChange\\\">\\n                    <ConversationalInsights::SummaryComparison\\n                        @currentCount={{row.data.stats.currentCount}}\\n                        @previousCount={{row.data.stats.previousCount}}\\n                        @range={{this.conversationalInsights.currentDateRange}}/>\\n                </row.cell>\\n                <row.cell @valuePath=\\\"stats.medianResponseTime\\\">\\n                    {{#if (gt row.data.stats.medianResponseTime 0)}}\\n                        {{unit-formatter row.data.stats.medianResponseTime \\\"minute\\\"}}\\n                    {{else}}\\n                        --\\n                    {{/if}}\\n                </row.cell>\\n                <row.cell @valuePath=\\\"stats.medianResolutionTime\\\">\\n                    {{#if (gt row.data.stats.medianResolutionTime 0)}}\\n                        {{unit-formatter row.data.stats.medianResolutionTime \\\"minute\\\"}}\\n                    {{else}}\\n                        --\\n                    {{/if}}\\n                </row.cell>\\n            </table.rows>\\n        </IcLightTable>\\n    {{/if}}\\n</div>\\n\", {\"contents\":\"<div\\n  {{did-update (perform this.loadStatsTask) this.conversationalInsights.currentDateRange}}\\n>\\n  <Reporting::DateRangeFilter\\n    class=\\\"pl-6\\\"\\n    {{on \\\"click\\\" (track-analytics-event action='clicked' object='topics-list-filter-button' place='topic-list' section='conv-prototype')}}\\n    @scrollParentSelector=\\\".js__main-container\\\"\\n    @disabled={{false}}\\n    @range={{this.conversationalInsights.currentDateRange}}\\n    @timezone={{this.appService.app.timezone}}\\n    @updateRange={{set this.conversationalInsights.currentDateRange}}\\n  />\\n    {{#if this.loadStatsTask.isRunning}}\\n        Loading data...\\n    {{else}}\\n        <IcLightTable\\n            @data={{this.rows}}\\n            @sortState={{this.sortState}}\\n            @columns={{array\\n                (hash label=\\\"Title\\\" valuePath=\\\"topic.title\\\" isSortable=true)\\n                (hash label=\\\"Keywords\\\" valuePath=\\\"topic.keyphrasesText\\\" isSortable=true)\\n                (hash label=\\\"Keywords to exclude\\\" valuePath=\\\"topic.excludedKeyphrasesText\\\" isSortable=true)\\n                (hash label=\\\"Conversations\\\" valuePath=\\\"stats.currentCount\\\" isSortable=true)\\n                (hash label=\\\"Trend\\\" valuePath=\\\"stats.countChange\\\" isSortable=true)\\n                (hash label=\\\"Median response time\\\" valuePath=\\\"stats.medianResponseTime\\\" isSortable=true)\\n                (hash label=\\\"Median resolution time\\\" valuePath=\\\"stats.medianResolutionTime\\\" isSortable=true)\\n            }} as |table|\\n            >\\n            <table.rows as |row|>\\n                <row.cell @valuePath=\\\"topic.title\\\">\\n                    <h3 class=\\\"t__h3 u__one-truncated-line\\\">\\n                        <a\\n                            class=\\\"t__solo-link\\\"\\n                            href={{href-to \\\"apps.app.conversational-insights.topics.topic.show\\\" row.data.topic}}\\n                        >\\n                            {{row.data.topic.title}}\\n                        </a>\\n                    </h3>\\n                </row.cell>\\n                <row.cell @valuePath=\\\"topic.keyphrasesText\\\">\\n                    {{row.data.topic.keyphrasesText}}\\n                </row.cell>\\n                <row.cell @valuePath=\\\"topic.excludedKeyphrasesText\\\">\\n                    {{row.data.topic.excludedKeyphrasesText}}\\n                </row.cell>\\n                <row.cell @valuePath=\\\"stats.currentCount\\\">\\n                    {{format-number row.data.stats.currentCount}} ({{format-percentage row.data.stats.relativeCount}})\\n                </row.cell>\\n                <row.cell @valuePath=\\\"stats.countChange\\\">\\n                    <ConversationalInsights::SummaryComparison\\n                        @currentCount={{row.data.stats.currentCount}}\\n                        @previousCount={{row.data.stats.previousCount}}\\n                        @range={{this.conversationalInsights.currentDateRange}}/>\\n                </row.cell>\\n                <row.cell @valuePath=\\\"stats.medianResponseTime\\\">\\n                    {{#if (gt row.data.stats.medianResponseTime 0)}}\\n                        {{unit-formatter row.data.stats.medianResponseTime \\\"minute\\\"}}\\n                    {{else}}\\n                        --\\n                    {{/if}}\\n                </row.cell>\\n                <row.cell @valuePath=\\\"stats.medianResolutionTime\\\">\\n                    {{#if (gt row.data.stats.medianResolutionTime 0)}}\\n                        {{unit-formatter row.data.stats.medianResolutionTime \\\"minute\\\"}}\\n                    {{else}}\\n                        --\\n                    {{/if}}\\n                </row.cell>\\n            </table.rows>\\n        </IcLightTable>\\n    {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/conversational-insights/topics-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/conversational-insights/topics-list.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport { hash } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\n\nfunction minutes(secondsOrNaN) {\n  if (secondsOrNaN > 0) {\n    return secondsOrNaN / 60;\n  }\n  return secondsOrNaN;\n}\n\nexport default class ConversationalInsightsTopicsListComponent extends Component {\n  @service conversationalInsights;\n  @service appService;\n  @service intercomEventService;\n\n  @tracked rows;\n  @tracked sortState = { valuePath: 'stats.currentCount', direction: 'desc' };\n\n  constructor() {\n    super(...arguments);\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: 'topics-list',\n      place: 'topic-list',\n      section: 'conv-prototype',\n    });\n    this.loadStatsTask.perform();\n  }\n\n  @task\n  *loadStatsTask() {\n    let topics = this.args.topics;\n    let promiseHash = hash({\n      countByTopic: this.conversationalInsights.getMultipleCounts({\n        topics,\n        comparePreviousRange: true,\n      }),\n      allConversationsCount: this.conversationalInsights.getCounts({}),\n      medianResponseTimePerTopic: this.conversationalInsights.getMultipleMedianResponseTime({\n        topics,\n      }),\n      medianResolutionTimePerTopic: this.conversationalInsights.getMultipleMedianResolutionTime({\n        topics,\n      }),\n    });\n\n    let {\n      countByTopic,\n      allConversationsCount,\n      medianResponseTimePerTopic,\n      medianResolutionTimePerTopic,\n    } = yield promiseHash;\n\n    let rows = this.args.topics.map((t, i) => {\n      let medianResponseTime = minutes(medianResponseTimePerTopic[i].buckets['50.0']);\n      let medianResolutionTime = minutes(medianResolutionTimePerTopic[i].buckets['50.0']);\n      let { currentCount, previousCount } = countByTopic[i];\n      let stats = {\n        medianResponseTime,\n        medianResolutionTime,\n        currentCount,\n        previousCount,\n        countChange: currentCount - previousCount,\n        relativeCount: (100 * currentCount) / allConversationsCount.total,\n      };\n      return { topic: t, stats };\n    });\n\n    rows = rows.sort((a, b) => b.stats.currentCount - a.stats.currentCount);\n    this.rows = rows;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"copy-text-component\\\">\\n  <span class=\\\"t__medium\\\">{{@text}}</span>\\n  <div {{copy-to-clipboard text=@text}} class=\\\"btn__tertiary u__right\\\">\\n    Copy\\n  </div>\\n</div>\", {\"contents\":\"<div class=\\\"copy-text-component\\\">\\n  <span class=\\\"t__medium\\\">{{@text}}</span>\\n  <div {{copy-to-clipboard text=@text}} class=\\\"btn__tertiary u__right\\\">\\n    Copy\\n  </div>\\n</div>\",\"moduleName\":\"embercom/components/copy-text-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/copy-text-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","define(\"embercom/components/cp-panel-body\", [\"exports\", \"ember-collapsible-panel/components/cp-panel-body/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _component.default;\n    }\n  });\n});\n","define(\"embercom/components/cp-panel-toggle\", [\"exports\", \"ember-collapsible-panel/components/cp-panel-toggle/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _component.default;\n    }\n  });\n});\n","define(\"embercom/components/cp-panel\", [\"exports\", \"ember-collapsible-panel/components/cp-panel/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _component.default;\n    }\n  });\n});\n","define(\"embercom/components/cp-panels\", [\"exports\", \"ember-collapsible-panel/components/cp-panels/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _component.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span\\n  class={{unless @notInInbox \\\"text-gray\\\"}}\\n  {{tooltip content=(full-date-and-time-helper @datetime)}}\\n>\\n  <time\\n    class=\\\"inline-block js__relative-time {{unless @capitalizeFirstLetter \\\"m__conversation-stream__time-ago\\\"}}\\\"\\n    data-formatter=\\\"abbreviated-relative-time-ago-helper\\\"\\n    datetime={{@datetime}}>\\n    {{abbreviated-relative-time-ago-helper @datetime}}\\n  </time>\\n</span>\\n\", {\"contents\":\"<span\\n  class={{unless @notInInbox \\\"text-gray\\\"}}\\n  {{tooltip content=(full-date-and-time-helper @datetime)}}\\n>\\n  <time\\n    class=\\\"inline-block js__relative-time {{unless @capitalizeFirstLetter \\\"m__conversation-stream__time-ago\\\"}}\\\"\\n    data-formatter=\\\"abbreviated-relative-time-ago-helper\\\"\\n    datetime={{@datetime}}>\\n    {{abbreviated-relative-time-ago-helper @datetime}}\\n  </time>\\n</span>\\n\",\"moduleName\":\"embercom/components/created-at-with-tooltip.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/created-at-with-tooltip.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcSelect\\n  data-test-new-custom-bot-dropdown\\n  @defaultLabel=\\\"New from template\\\"\\n  @items={{newBotDropdownItems}}\\n  @onSelectItem={{action \\\"transitionToNewCustomBot\\\"}} as |select|\\n>\\n  <select.opener as |opener|>\\n    <IcButton\\n      data-test-custom-bot-dropdown-button={{@label}}\\n      @label={{label}}\\n      @type=\\\"primary\\\"\\n      @isDropdownOpener={{true}}\\n      @isForcedActive={{opener.dropdownIsOpen}}\\n    />\\n  </select.opener>\\n</IcSelect>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcSelect\\n  data-test-new-custom-bot-dropdown\\n  @defaultLabel=\\\"New from template\\\"\\n  @items={{newBotDropdownItems}}\\n  @onSelectItem={{action \\\"transitionToNewCustomBot\\\"}} as |select|\\n>\\n  <select.opener as |opener|>\\n    <IcButton\\n      data-test-custom-bot-dropdown-button={{@label}}\\n      @label={{label}}\\n      @type=\\\"primary\\\"\\n      @isDropdownOpener={{true}}\\n      @isForcedActive={{opener.dropdownIsOpen}}\\n    />\\n  </select.opener>\\n</IcSelect>\\n\",\"moduleName\":\"embercom/components/custom-bots/bot-auto-message/new-buttons/dropdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/bot-auto-message/new-buttons/dropdown.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { map } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport { matchBehaviors } from 'embercom/models/data/matching-system/matching-constants';\nimport {\n  OUTBOUND_TARGET,\n  EVERYONE_TARGET,\n  EVERYONE_PREDICATE,\n  NON_USER_ROLE_PREDICATE,\n  NEW_CONVERSATION_TARGET,\n  OUTBOUND_PREDICATE,\n  USER_ROLE_PREDICATE,\n  INBOUND_BOT_TYPE,\n  BUTTON_BOT_TYPE,\n} from 'embercom/lib/operator/custom-bots/constants';\n\nconst BLANK_TEMPLATE = {\n  value: null,\n  icon: 'draft',\n  text: 'Blank',\n  description: 'Build your Custom Bot from scratch',\n};\n\nexport default Component.extend({\n  router: service(),\n  appService: service(),\n  store: service(),\n  templateDropdownItems: map('templates', function(template) {\n    return {\n      value: template.get('id'),\n      icon: template.get('interfaceIcon'),\n      text: template.get('title'),\n      description: template.get('description'),\n    };\n  }),\n  outboundServiceTargets: [OUTBOUND_TARGET],\n  newBotDropdownItems: computed('templateDropdownItems.[]', function() {\n    return [BLANK_TEMPLATE].concat(this.templateDropdownItems);\n  }),\n  _rolePredicateGroup(target, templateId) {\n    if (target === OUTBOUND_TARGET) {\n      if (templateId) {\n        let selectedTemplate = this.templates.find(template => template.id === templateId);\n        return selectedTemplate.rolePredicates.firstObject;\n      }\n      return OUTBOUND_PREDICATE;\n    }\n    if (target === EVERYONE_TARGET) {\n      return EVERYONE_PREDICATE;\n    }\n    if (target === NEW_CONVERSATION_TARGET) {\n      return USER_ROLE_PREDICATE;\n    }\n    return NON_USER_ROLE_PREDICATE;\n  },\n  _rulesetParams(target, templateId) {\n    let rolePredicateGroup = this._rolePredicateGroup(target, templateId);\n    let objectType = this._objectType(target);\n    let objectData = this._objectData(target, templateId);\n    let matchBehavior = this._matchBehavior(target);\n    return {\n      object_type: objectType,\n      app_id: this.appService.app.id,\n      object_data: objectData,\n      match_behavior: matchBehavior,\n      role_predicate_group: { predicates: [rolePredicateGroup] },\n    };\n  },\n  _objectType(target) {\n    switch (target) {\n      case NEW_CONVERSATION_TARGET:\n        return objectTypes.inboundCustomBot;\n      case EVERYONE_TARGET:\n        return objectTypes.buttonCustomBot;\n      default:\n        return objectTypes.customBot;\n    }\n  },\n  _matchBehavior(target) {\n    switch (target) {\n      case NEW_CONVERSATION_TARGET:\n      case EVERYONE_TARGET:\n        return matchBehaviors.transient;\n      default:\n        return matchBehaviors.single;\n    }\n  },\n  _objectData(target, templateId) {\n    switch (target) {\n      case NEW_CONVERSATION_TARGET:\n        return {\n          template_id: templateId,\n          type: INBOUND_BOT_TYPE,\n        };\n      case EVERYONE_TARGET:\n        return {\n          template_id: templateId,\n          type: BUTTON_BOT_TYPE,\n        };\n      default:\n        return {\n          template_id: templateId,\n          initiators: [{ target, type: 'BotAutoMessage' }],\n        };\n    }\n  },\n  _isOutboundBot(target) {\n    return this.outboundServiceTargets.includes(target);\n  },\n  _inboundBotCanUseNewContentEditor(target) {\n    return target === NEW_CONVERSATION_TARGET;\n  },\n  _buttonBotCanUseNewContentEditor(target) {\n    return target === EVERYONE_TARGET;\n  },\n  actions: {\n    transitionToNewCustomBot(templateId) {\n      let { target, createdFrom } = this;\n      if (\n        this._isOutboundBot(target) ||\n        this._inboundBotCanUseNewContentEditor(target) ||\n        this._buttonBotCanUseNewContentEditor(target)\n      ) {\n        this.router.transitionTo('apps.app.content.new', this._rulesetParams(target, templateId));\n      } else {\n        this.router.transitionTo('apps.app.operator.custom-bots.new', {\n          queryParams: { templateId, createdFrom, target },\n        });\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcButton\\n  @type=\\\"secondary\\\"\\n  class=\\\"custom-bots__empty-state__template-tile u__ml__10 u__mr__10\\\"\\n  @onClick={{action \\\"transitionToNewCustomBot\\\" template.id}}\\n  data-test-new-buttons-title-button={{template.id}}\\n>\\n  <IcIllustrativeIcon @name={{template.illustrativeIcon}} @appearance={{\\\"standard\\\"}} />\\n  <div class=\\\"h-2\\\" />\\n  <p data-test-new-buttons-tile-title>\\n    {{template.title}}\\n  </p>\\n  <p data-test-new-buttons-tile-description class=\\\"t__light-text whitespace-normal ph-2\\\">\\n    {{template.description}}\\n  </p>\\n</IcButton>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcButton\\n  @type=\\\"secondary\\\"\\n  class=\\\"custom-bots__empty-state__template-tile u__ml__10 u__mr__10\\\"\\n  @onClick={{action \\\"transitionToNewCustomBot\\\" template.id}}\\n  data-test-new-buttons-title-button={{template.id}}\\n>\\n  <IcIllustrativeIcon @name={{template.illustrativeIcon}} @appearance={{\\\"standard\\\"}} />\\n  <div class=\\\"h-2\\\" />\\n  <p data-test-new-buttons-tile-title>\\n    {{template.title}}\\n  </p>\\n  <p data-test-new-buttons-tile-description class=\\\"t__light-text whitespace-normal ph-2\\\">\\n    {{template.description}}\\n  </p>\\n</IcButton>\\n\",\"moduleName\":\"embercom/components/custom-bots/bot-auto-message/new-buttons/tile.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/bot-auto-message/new-buttons/tile.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport {\n  NEW_CONVERSATION_TARGET,\n  INBOUND_BOT_TYPE,\n  BUTTON_BOT_TYPE,\n  EVERYONE_TARGET,\n  EVERYONE_PREDICATE,\n  NON_USER_ROLE_PREDICATE,\n  USER_ROLE_PREDICATE,\n  OUTBOUND_TARGET,\n  OUTBOUND_PREDICATE,\n} from 'embercom/lib/operator/custom-bots/constants';\nimport { matchBehaviors } from 'embercom/models/data/matching-system/matching-constants';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default Component.extend({\n  router: service(),\n  appService: service(),\n  outboundCustomBotTargets: [OUTBOUND_TARGET],\n  _rolePredicateGroup(target, templateId) {\n    if (target === OUTBOUND_TARGET) {\n      if (templateId) {\n        return this.template.rolePredicates.firstObject;\n      }\n      return OUTBOUND_PREDICATE;\n    }\n    if (target === EVERYONE_TARGET) {\n      return EVERYONE_PREDICATE;\n    }\n    if (target === NEW_CONVERSATION_TARGET) {\n      return USER_ROLE_PREDICATE;\n    }\n    return NON_USER_ROLE_PREDICATE;\n  },\n  _rulesetParams(target, templateId) {\n    let rolePredicateGroup = this._rolePredicateGroup(target, templateId);\n    let objectType = this._objectType(target);\n    let objectData = this._objectData(target, templateId);\n    let matchBehavior = this._matchBehavior(target);\n    return {\n      object_type: objectType,\n      app_id: this.appService.app.id,\n      object_data: objectData,\n      match_behavior: matchBehavior,\n      role_predicate_group: { predicates: [rolePredicateGroup] },\n    };\n  },\n  _objectType(target) {\n    switch (target) {\n      case NEW_CONVERSATION_TARGET:\n        return objectTypes.inboundCustomBot;\n      case EVERYONE_TARGET:\n        return objectTypes.buttonCustomBot;\n      default:\n        return objectTypes.customBot;\n    }\n  },\n  _matchBehavior(target) {\n    switch (target) {\n      case NEW_CONVERSATION_TARGET:\n      case EVERYONE_TARGET:\n        return matchBehaviors.transient;\n      default:\n        return matchBehaviors.single;\n    }\n  },\n  _objectData(target, templateId) {\n    switch (target) {\n      case NEW_CONVERSATION_TARGET:\n        return {\n          template_id: templateId,\n          type: INBOUND_BOT_TYPE,\n        };\n      case EVERYONE_TARGET:\n        return {\n          template_id: templateId,\n          type: BUTTON_BOT_TYPE,\n        };\n      default:\n        return {\n          template_id: templateId,\n          initiators: [{ target, type: 'BotAutoMessage' }],\n        };\n    }\n  },\n\n  _isOutboundBot(target) {\n    return this.outboundCustomBotTargets.includes(target);\n  },\n  _inboundBotCanUseNewContentEditor(target) {\n    return target === NEW_CONVERSATION_TARGET;\n  },\n  _buttonBotCanUseNewContentEditor(target) {\n    return target === EVERYONE_TARGET;\n  },\n\n  actions: {\n    transitionToNewCustomBot(templateId) {\n      let createdFrom = 'list-empty-state';\n      let { target } = this;\n\n      if (\n        this._isOutboundBot(target) ||\n        this._inboundBotCanUseNewContentEditor(target) ||\n        this._buttonBotCanUseNewContentEditor(target)\n      ) {\n        this.router.transitionTo('apps.app.content.new', this._rulesetParams(target, templateId));\n      } else {\n        this.router.transitionTo('apps.app.operator.custom-bots.new', {\n          queryParams: { templateId, createdFrom, target },\n        });\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box u__padl__20 u__padr__20\\\">\\n  <div class=\\\"layout__box o__flexes-to-1\\\" data-test-custom-bots-list-heading>\\n    <h1 class=\\\"t__h1 u__left\\\">\\n      {{@labels.heading}}\\n    </h1>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box u__padl__20 u__padr__20\\\">\\n  <div class=\\\"layout__box o__flexes-to-1\\\" data-test-custom-bots-list-heading>\\n    <h1 class=\\\"t__h1 u__left\\\">\\n      {{@labels.heading}}\\n    </h1>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/custom-bot-type-heading.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/custom-bot-type-heading.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Pulse::HeroBanner\\n  @svg=\\\"bot-filled\\\"\\n  @title=\\\"Custom Bots\\\"\\n  @description={{\\n    if (has-feature \\\"hasOsa2OnboardingHome\\\")\\n    \\\"Custom Bots are always available. Qualify leads, book meetings, proactively support customers and triage conversations automatically.\\\"\\n    \\\"Your Custom Bots are always available. Qualify leads, book meetings, and triage conversations – all without raising a finger.\\\"\\n  }}\\n  data-test-custom-bots-heading\\n  as |banner|\\n>\\n  <banner.Links as |links|>\\n    <links.Video\\n      @title=\\\"How to build a bot\\\"\\n      @wistiaId={{if (eq @target \\\"new-conversation\\\") \\\"qt1pa3d7z2\\\" \\\"o46b1pfczt\\\"}}\\n      {{on \\\"click\\\" (track-analytics-event action=\\\"clicked\\\" object=\\\"custom_bots_video\\\")}}\\n      data-test-custom-bots-heading-video\\n    />\\n    <links.Link\\n      @title=\\\"How bots work\\\"\\n      @href=\\\"https://www.intercom.com/help/operator/custom-bots/crush-your-number-with-custom-bots\\\"\\n      @type=\\\"article\\\"\\n      {{on \\\"click\\\" this.openHowBotsWorkDoc}}\\n      data-test-custom-bots-heading-how-bots-work-doc\\n    />\\n    <links.Link\\n      @title=\\\"Step-by-step guides\\\"\\n      @type=\\\"article\\\"\\n      @href=\\\"https://www.intercom.com/help/en/collections/2094721-automating-interactions-with-custom-bots#custom-bot-examples-and-best-practices\\\"\\n      {{on \\\"click\\\" this.openStepByStepGuidesDoc}}\\n      data-test-custom-bots-heading-step-by-step-doc\\n    />\\n  </banner.Links>\\n  <banner.Action>\\n    {{#if @showAction}}\\n      <div data-tour-target=\\\"new-custom-bot\\\">\\n        {{#if (has-feature 'canUseOperatorTemplateModal')}}\\n          <IcButton @type=\\\"primary\\\" @label=\\\"New Custom Bot\\\" {{on \\\"click\\\" @launchModal}} data-bot-creation-modal-launcher/>\\n        {{else}}\\n          <CustomBots::BotAutoMessage::NewButtons::Dropdown\\n            @label=\\\"New Custom Bot\\\"\\n            @templates={{@templates}}\\n            @target={{@target}}\\n            @createdFrom=\\\"list-header\\\"\\n          />\\n        {{/if}}\\n      </div>\\n    {{/if}}\\n  </banner.Action>\\n</Pulse::HeroBanner>\\n\", {\"contents\":\"<Pulse::HeroBanner\\n  @svg=\\\"bot-filled\\\"\\n  @title=\\\"Custom Bots\\\"\\n  @description={{\\n    if (has-feature \\\"hasOsa2OnboardingHome\\\")\\n    \\\"Custom Bots are always available. Qualify leads, book meetings, proactively support customers and triage conversations automatically.\\\"\\n    \\\"Your Custom Bots are always available. Qualify leads, book meetings, and triage conversations – all without raising a finger.\\\"\\n  }}\\n  data-test-custom-bots-heading\\n  as |banner|\\n>\\n  <banner.Links as |links|>\\n    <links.Video\\n      @title=\\\"How to build a bot\\\"\\n      @wistiaId={{if (eq @target \\\"new-conversation\\\") \\\"qt1pa3d7z2\\\" \\\"o46b1pfczt\\\"}}\\n      {{on \\\"click\\\" (track-analytics-event action=\\\"clicked\\\" object=\\\"custom_bots_video\\\")}}\\n      data-test-custom-bots-heading-video\\n    />\\n    <links.Link\\n      @title=\\\"How bots work\\\"\\n      @href=\\\"https://www.intercom.com/help/operator/custom-bots/crush-your-number-with-custom-bots\\\"\\n      @type=\\\"article\\\"\\n      {{on \\\"click\\\" this.openHowBotsWorkDoc}}\\n      data-test-custom-bots-heading-how-bots-work-doc\\n    />\\n    <links.Link\\n      @title=\\\"Step-by-step guides\\\"\\n      @type=\\\"article\\\"\\n      @href=\\\"https://www.intercom.com/help/en/collections/2094721-automating-interactions-with-custom-bots#custom-bot-examples-and-best-practices\\\"\\n      {{on \\\"click\\\" this.openStepByStepGuidesDoc}}\\n      data-test-custom-bots-heading-step-by-step-doc\\n    />\\n  </banner.Links>\\n  <banner.Action>\\n    {{#if @showAction}}\\n      <div data-tour-target=\\\"new-custom-bot\\\">\\n        {{#if (has-feature 'canUseOperatorTemplateModal')}}\\n          <IcButton @type=\\\"primary\\\" @label=\\\"New Custom Bot\\\" {{on \\\"click\\\" @launchModal}} data-bot-creation-modal-launcher/>\\n        {{else}}\\n          <CustomBots::BotAutoMessage::NewButtons::Dropdown\\n            @label=\\\"New Custom Bot\\\"\\n            @templates={{@templates}}\\n            @target={{@target}}\\n            @createdFrom=\\\"list-header\\\"\\n          />\\n        {{/if}}\\n      </div>\\n    {{/if}}\\n  </banner.Action>\\n</Pulse::HeroBanner>\\n\",\"moduleName\":\"embercom/components/custom-bots/custom-bots-heading.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/custom-bots-heading.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport safeWindowOpen from 'embercom/lib/safe-window-open';\nimport ENV from 'embercom/config/environment';\n\nexport default class CustomBotsHeading extends Component {\n  @service intercomEventService;\n\n  _openUrlInSeparateTabWhenNotInTest(url) {\n    // Prevent links from being opened in tests so that we don't skew help centre metrics\n    if (ENV.environment === 'test') {\n      return;\n    }\n    safeWindowOpen(url, '_blank');\n  }\n\n  @action\n  openHowBotsWorkDoc() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'how_to_use_doc',\n    });\n  }\n\n  @action\n  openStepByStepGuidesDoc() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'learn_more_doc',\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{@onModalClose}}\\n  @isOpen={{@isOpen}}\\n  data-test-custom-bot-duplicate-modal\\n  @width=\\\"s\\\" as |modal|\\n>\\n  <modal.header @title=\\\"Duplicate this custom bot\\\" />\\n  <modal.body>\\n    <p class=\\\"u__mb__10\\\">Choose which type of custom bot:</p>\\n    <IcSelect\\n      @mode=\\\"block\\\"\\n      @items={{this.duplicationOptions}}\\n      @selectedValue={{this.selectedTarget}}\\n      @onSelectItem={{this.updateSelectedTarget}}\\n    />\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Duplicate\\\"\\n      disabled=this.duplicateCustomBot.isRunning\\n      action=(perform this.duplicateCustomBot)\\n    }}\\n  />\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{@onModalClose}}\\n  @isOpen={{@isOpen}}\\n  data-test-custom-bot-duplicate-modal\\n  @width=\\\"s\\\" as |modal|\\n>\\n  <modal.header @title=\\\"Duplicate this custom bot\\\" />\\n  <modal.body>\\n    <p class=\\\"u__mb__10\\\">Choose which type of custom bot:</p>\\n    <IcSelect\\n      @mode=\\\"block\\\"\\n      @items={{this.duplicationOptions}}\\n      @selectedValue={{this.selectedTarget}}\\n      @onSelectItem={{this.updateSelectedTarget}}\\n    />\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Duplicate\\\"\\n      disabled=this.duplicateCustomBot.isRunning\\n      action=(perform this.duplicateCustomBot)\\n    }}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/custom-bots/duplicate-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/duplicate-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport {\n  EVERYONE_TARGET,\n  NEW_CONVERSATION_TARGET,\n  OUTBOUND_TARGET,\n} from 'embercom/lib/operator/custom-bots/constants';\n\nexport default class DuplicateModal extends Component {\n  @service contentEditorService;\n  @service notificationsService;\n  @service router;\n\n  get duplicationOptions() {\n    return [\n      { text: 'Outbound', value: OUTBOUND_TARGET },\n      { text: 'From a button', value: EVERYONE_TARGET },\n      { text: 'From new conversations', value: NEW_CONVERSATION_TARGET },\n    ];\n  }\n  outboundCustomBotTargets = [OUTBOUND_TARGET];\n\n  @tracked customBot = this.contentEditorService.activeObject;\n  @tracked selectedTarget = this.customBot.target;\n\n  get humanReadableObjectName() {\n    return this.contentEditorService.activeRulesetLink.humanReadableObjectName;\n  }\n\n  @action\n  updateSelectedTarget(value) {\n    this.selectedTarget = value;\n  }\n\n  @task\n  *duplicateCustomBot() {\n    try {\n      let duplicatedBot = yield this.customBot.duplicate(this.selectedTarget);\n      this.notificationsService.notifyConfirmation(`Your custom bot was successfully duplicated`);\n      this.args.onModalClose();\n      if (this.outboundCustomBotTargets.includes(this.selectedTarget)) {\n        this.router.transitionTo(\n          'apps.app.operator.custom-bots.outbound.edit',\n          duplicatedBot.rulesetId,\n        );\n      } else if (this.selectedTarget === NEW_CONVERSATION_TARGET) {\n        this.router.transitionTo(\n          'apps.app.operator.custom-bots.inbound-custom-bot.edit',\n          duplicatedBot.rulesetId,\n        );\n      } else if (this.selectedTarget === EVERYONE_TARGET) {\n        this.router.transitionTo(\n          'apps.app.operator.custom-bots.button-custom-bot.edit',\n          duplicatedBot.rulesetId,\n        );\n      } else {\n        this.router.transitionTo('apps.app.operator.custom-bots.custom-bot.edit', duplicatedBot.id);\n      }\n    } catch (e) {\n      this.notificationsService.notifyError(`Could not duplicate custom bot.`);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"custom-bots__editor layout__box o__flexes-to-1 o__has-columns {{if @isFullscreen 'o__fullscreen'}}\\\" data-test-custom-bot-editor>\\n  <div class=\\\"custom-bots__editor__sidebar flex flex-col o__new\\\">\\n    <div class=\\\"flex-1\\\">\\n      <CustomBots::Editor::PathList\\n        @paths={{customBot.paths}}\\n        @selectedPath={{selectedPath}}\\n        @publicAPI={{publicAPI}}\\n        @maxPathTitleLength={{maxPathTitleLength}}\\n        @isFullscreen={{@isFullscreen}}\\n      />\\n    </div>\\n    {{#if this.isOutboundBot}}\\n      <ContentEditor::ShowUntil />\\n    {{/if}}\\n    {{#if (or this.isOutboundBot this.isInboundBot)}}\\n      <div class=\\\"p-5 pt-0\\\" data-test-show-on={{this.isOutboundBot}} data-test-channel-selector={{this.isInboundBot}}>\\n        <ContentEditor::Panels::Content::PreferredDevices::Switcher @label={{if this.isOutboundBot \\\"Show first on\\\" \\\"Channel\\\"}} @content={{@customBot}} />\\n      </div>\\n    {{/if}}\\n  </div>\\n  <CustomBots::Editor::Layout\\n    @customBot={{customBot}}\\n    @isFirstPath={{isFirstPathSelected}}\\n    @publicAPI={{publicAPI}}\\n    @allPaths={{customBot.paths}}\\n    @selectedPath={{selectedPath}}\\n    @editorLayout={{editorLayout}}\\n    @maxPathTitleLength={{maxPathTitleLength}}\\n    @isFullscreen={{@isFullscreen}}\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"custom-bots__editor layout__box o__flexes-to-1 o__has-columns {{if @isFullscreen 'o__fullscreen'}}\\\" data-test-custom-bot-editor>\\n  <div class=\\\"custom-bots__editor__sidebar flex flex-col o__new\\\">\\n    <div class=\\\"flex-1\\\">\\n      <CustomBots::Editor::PathList\\n        @paths={{customBot.paths}}\\n        @selectedPath={{selectedPath}}\\n        @publicAPI={{publicAPI}}\\n        @maxPathTitleLength={{maxPathTitleLength}}\\n        @isFullscreen={{@isFullscreen}}\\n      />\\n    </div>\\n    {{#if this.isOutboundBot}}\\n      <ContentEditor::ShowUntil />\\n    {{/if}}\\n    {{#if (or this.isOutboundBot this.isInboundBot)}}\\n      <div class=\\\"p-5 pt-0\\\" data-test-show-on={{this.isOutboundBot}} data-test-channel-selector={{this.isInboundBot}}>\\n        <ContentEditor::Panels::Content::PreferredDevices::Switcher @label={{if this.isOutboundBot \\\"Show first on\\\" \\\"Channel\\\"}} @content={{@customBot}} />\\n      </div>\\n    {{/if}}\\n  </div>\\n  <CustomBots::Editor::Layout\\n    @customBot={{customBot}}\\n    @isFirstPath={{isFirstPathSelected}}\\n    @publicAPI={{publicAPI}}\\n    @allPaths={{customBot.paths}}\\n    @selectedPath={{selectedPath}}\\n    @editorLayout={{editorLayout}}\\n    @maxPathTitleLength={{maxPathTitleLength}}\\n    @isFullscreen={{@isFullscreen}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-side-effects */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { isNone } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport { reads } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { equalToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport { OUTBOUND_BOT_TYPE, INBOUND_BOT_TYPE } from 'embercom/lib/operator/custom-bots/constants';\n\nexport const COMPOSER_SUGGESTION_LAYOUT = 'composerSuggestionLayout';\nexport const CONVERSATION_LAYOUT = 'conversationLayout';\n\nconst STEP_TYPE_CHAT_MESSAGE = 'chat_message';\nconst STEP_TYPE_TERMINAL = 'terminal';\nconst STEP_TYPE_FOLLOW_UP_RULES = 'follow_up_rules';\nconst STEP_TYPE_REPLY_BUTTONS = 'reply_buttons';\nconst STEP_TYPE_ATTRIBUTE_COLLECTOR = 'attribute_collector';\nconst STEP_TYPE_FREE_INPUT = 'free_input';\nconst STEP_TYPE_MID_PATH_ACTIONS = 'mid_path_actions';\nconst STEP_TYPE_ANSWER_BOT = 'answer_bot';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  confirmService: service(),\n  store: service(),\n  selectedPath: reads('customBot.paths.firstObject'),\n  editorLayout: computed('customBot.type', function() {\n    if (this.customBot.canUseInboundContentEditor) {\n      return COMPOSER_SUGGESTION_LAYOUT;\n    } else {\n      return CONVERSATION_LAYOUT;\n    }\n  }),\n  isFirstPathSelected: equalToProperty('customBot.paths.firstObject', 'selectedPath'),\n  maxPathTitleLength: 255,\n  isOutboundBot: computed('customBot.type', function() {\n    return this.customBot.type === OUTBOUND_BOT_TYPE;\n  }),\n  isInboundBot: computed('customBot.type', function() {\n    return this.customBot.type === INBOUND_BOT_TYPE;\n  }),\n  publicAPI: computed('shouldShowValidations', 'targetingContext', function() {\n    return {\n      shouldShowValidations: this.shouldShowValidations,\n      actionsType: STEP_TYPE_FOLLOW_UP_RULES,\n      buttonsType: STEP_TYPE_REPLY_BUTTONS,\n      chatMessageType: STEP_TYPE_CHAT_MESSAGE,\n      dataFieldType: STEP_TYPE_ATTRIBUTE_COLLECTOR,\n      freeInputType: STEP_TYPE_FREE_INPUT,\n      midFlowActionType: STEP_TYPE_MID_PATH_ACTIONS,\n      answerBotType: STEP_TYPE_ANSWER_BOT,\n      targetingContext: this.targetingContext,\n      customBot: this.customBot,\n      actions: {\n        addPath: (...args) => this.send('addPath', ...args),\n        addPathAndLinkToControl: (...args) => this.send('addPathAndLinkToControl', ...args),\n        deletePath: (...args) => this.send('deletePath', ...args),\n        endPathWith: (...args) => this.send('endPathWith', ...args),\n        selectPath: (...args) => this.send('selectPath', ...args),\n        addStepToSelectedPath: (...args) => this.send('addStepToSelectedPath', ...args),\n        addMidFlowActionStepToSelectedPath: (...args) =>\n          this.send('addMidFlowActionStepToSelectedPath', ...args),\n        deleteStepFromSelectedPath: (...args) => this.send('deleteStepFromSelectedPath', ...args),\n        reorderSteps: (...args) => this.send('reorderSteps', ...args),\n        reorderPaths: (...args) => this.send('reorderPaths', ...args),\n        resetEndState: (...args) => this.send('resetEndState', ...args),\n        linkPathToControl: (...args) => this.send('linkPathToControl', ...args),\n        addQuickReply: (...args) => this.send('addQuickReply', ...args),\n        deleteQuickReply: (...args) => this.send('deleteQuickReply', ...args),\n        reorderQuickReplies: (...args) => this.send('reorderQuickReplies', ...args),\n      },\n    };\n  }),\n\n  _createNewStep(type) {\n    return this.store.createFragment('operator/custom-bots/step', {\n      type,\n      blocks: this._buildBlocksForStep(type),\n      controls: this._buildControlsForStep(type),\n      simpleActionRule: this._buildSimpleActionRuleForStep(type),\n    });\n  },\n\n  _buildBlocksForStep(type) {\n    if (![STEP_TYPE_CHAT_MESSAGE, STEP_TYPE_ANSWER_BOT].includes(type)) {\n      return [];\n    }\n    return [this.store.createFragment('common/blocks/paragraph', { type: 'paragraph', text: '' })];\n  },\n\n  _buildControlsForStep(type) {\n    if ([STEP_TYPE_TERMINAL, STEP_TYPE_FOLLOW_UP_RULES, STEP_TYPE_ANSWER_BOT].includes(type)) {\n      return [];\n    }\n\n    let control = this.store.createFragment('operator/custom-bots/control', {\n      path: this.selectedPath,\n    });\n\n    return [control];\n  },\n\n  _buildSimpleActionRuleForStep(type) {\n    if (\n      ![STEP_TYPE_FOLLOW_UP_RULES, STEP_TYPE_MID_PATH_ACTIONS, STEP_TYPE_ANSWER_BOT].includes(type)\n    ) {\n      return null;\n    }\n    return this.store.createFragment('rules/rule');\n  },\n\n  _ensureNewStepIsReachable(path, index) {\n    let previousStep = path.get('steps').objectAt(index - 1);\n    if (!previousStep || previousStep.get('controls.length') > 0) {\n      return;\n    }\n\n    previousStep.get('controls').createFragment();\n  },\n\n  _createStepAndAddToPath(index, type) {\n    let newStep = this._createNewStep(type);\n    let selectedPath = this.selectedPath;\n    this._addStepToPath(selectedPath, index, newStep);\n    this._ensureNewStepIsReachable(selectedPath, index);\n    return newStep;\n  },\n\n  _addStepToPath(path, index, step) {\n    if (isNone(path)) {\n      return;\n    }\n    path.get('steps').insertAt(index, step);\n  },\n\n  _buildDeleteOptionsForPath(path) {\n    return {\n      body: `When the path \"${path.get(\n        'title',\n      )}\" is deleted any buttons that go to it will no longer go anywhere.`,\n      cancelButtonText: 'Cancel',\n      confirmButtonText: 'Delete',\n      primaryButtonType: 'primary-destructive',\n      title: 'Delete this path?',\n    };\n  },\n  _addPath(newPathIndex) {\n    let newStep = this._createNewStep(STEP_TYPE_CHAT_MESSAGE);\n    let finalPathStep = this._createNewStep(STEP_TYPE_TERMINAL);\n    let newPath = this.store.createFragment('operator/custom-bots/path', {\n      steps: [newStep, finalPathStep],\n    });\n    this.customBot.addPath(newPath, newPathIndex);\n    this._trackChangedEvent('add-path');\n    return newPath;\n  },\n  _removeDeletedPathFromAnyControls(deletedPath) {\n    deletedPath.get('incomingControls').forEach(control => {\n      control.set('nextPath', undefined);\n    });\n  },\n  _removeDeletedPathFromIncomingControls(deletedPath) {\n    deletedPath.endStateStep?.replyButtons?.forEach(control => {\n      control.nextPath?.incomingControls?.removeObject(control);\n    });\n  },\n  _addStepToSelectedPath(type) {\n    let stepsWithoutFinalStep = this.get('selectedPath.steps').filter(\n      step => !step.get('isEndStateStep'),\n    );\n    let indexToAddStepTo = stepsWithoutFinalStep.length;\n    let newStep = this._createStepAndAddToPath(indexToAddStepTo, type);\n    this._trackChangedEvent(`add-${type}-step`);\n    return newStep;\n  },\n  _addMidFlowActionToStep(step, identifier, actionData = {}) {\n    step.simpleActionRule.actions.createFragment({\n      type: identifier,\n      actionData,\n      justAdded: true,\n    });\n  },\n  _getNextPathsForPath(path) {\n    let lastStep = path.endStateStep;\n    return lastStep.replyButtons\n      .map(replyButton => replyButton.nextPath)\n      .filter(path => path !== undefined);\n  },\n  _updateIncomingPathLinks(step) {\n    step.controls.forEach(control => control.nextPath?.incomingControls?.removeObject(control));\n  },\n\n  actions: {\n    addPath(...args) {\n      this._addPath(...args);\n    },\n    addPathAndLinkToControl(control) {\n      let indexAfterCurrentPath = this.customBot.paths.indexOf(this.selectedPath) + 1;\n      let newPathIndex = this._getNextPathsForPath(this.selectedPath).reduce(\n        (currentLatestIndex, path) => {\n          let potentialIndex = this.customBot.paths.indexOf(path) + 1;\n          if (potentialIndex > currentLatestIndex) {\n            return potentialIndex;\n          }\n          return currentLatestIndex;\n        },\n        indexAfterCurrentPath,\n      );\n      let newPath = this._addPath(newPathIndex);\n      control.linkToPath(newPath);\n    },\n    deletePath(path) {\n      let pathIndex = path.get('index');\n      let customBot = this.customBot;\n      this.confirmService.show(this, this._buildDeleteOptionsForPath(path)).then(confirmed => {\n        if (!confirmed) {\n          return;\n        }\n        customBot.removePath(path);\n        this._trackChangedEvent('remove-path');\n        this._removeDeletedPathFromAnyControls(path);\n        this._removeDeletedPathFromIncomingControls(path);\n        if (path !== this.selectedPath) {\n          return;\n        }\n        let paths = customBot.get('paths');\n        let pathToSelect = paths.objectAt(pathIndex) || paths.objectAt(pathIndex - 1);\n        this.set('selectedPath', pathToSelect);\n      });\n    },\n    endPathWith(type) {\n      this.send('removeLastPlaceholderStep');\n      let indexForLastStep = this.get('selectedPath.steps.length');\n      this._createStepAndAddToPath(indexForLastStep, type);\n      this._trackChangedEvent(`end-path-with-${type}`);\n    },\n    removeLastPlaceholderStep() {\n      let lastStep = this.get('selectedPath.steps.lastObject');\n      this.send('deleteStepFromSelectedPath', lastStep);\n    },\n    selectPath(path) {\n      if (this.customBot.isUploading) {\n        this.confirmService\n          .show(this, {\n            body:\n              'The image or video you added is still uploading. Changing path before the upload finishes will discard it.',\n            cancelButtonText: 'Cancel',\n            confirmButtonText: 'Discard changes',\n            primaryButtonType: 'primary-destructive',\n            title: 'Wait for upload to finish?',\n          })\n          .then(confirmed => {\n            if (confirmed) {\n              this.set('selectedPath', path);\n            }\n          });\n      } else {\n        this.set('selectedPath', path);\n      }\n    },\n    addMidFlowActionStepToSelectedPath(identifier, actionData) {\n      let newStep = this._addStepToSelectedPath(STEP_TYPE_MID_PATH_ACTIONS);\n      this._addMidFlowActionToStep(newStep, identifier, actionData);\n    },\n    addStepToSelectedPath(type) {\n      this._addStepToSelectedPath(type);\n    },\n    deleteStepFromSelectedPath(step) {\n      this.get('selectedPath.steps').removeObject(step);\n      this._trackChangedEvent('delete-step');\n    },\n    reorderSteps(reorderedSteps) {\n      let endStateStep = this.get('selectedPath.endStateStep');\n      if (endStateStep) {\n        reorderedSteps = reorderedSteps.concat([endStateStep]);\n      }\n      this.set('selectedPath.steps', reorderedSteps);\n      this._trackChangedEvent('reorder-steps');\n    },\n    reorderPaths(reorderedPaths) {\n      this.customBot.reorderPaths(reorderedPaths);\n      this._trackChangedEvent('reorder-paths');\n    },\n    resetEndState() {\n      let lastStep = this.get('selectedPath.steps.lastObject');\n      if (lastStep.type === STEP_TYPE_REPLY_BUTTONS) {\n        this._updateIncomingPathLinks(lastStep);\n      }\n      this.send('deleteStepFromSelectedPath', lastStep);\n      this.send('addStepToSelectedPath', STEP_TYPE_TERMINAL);\n      this._trackChangedEvent('remove-end-step');\n    },\n    linkPathToControl(control, path) {\n      control.linkToPath(path);\n    },\n    addQuickReply(step) {\n      let store = this.store;\n      let newControl = store.createFragment('operator/custom-bots/control', {\n        type: 'button',\n        attributeIdentifier: step.attributeIdentifier,\n        path: this.selectedPath,\n      });\n      step.controls.pushObject(newControl);\n      this._trackChangedEvent('add-quick-reply');\n    },\n    deleteQuickReply(step, control) {\n      control.nextPath?.incomingControls?.removeObject(control);\n      step.controls.removeObject(control);\n      if (step.hasNoControls && (this.selectedPath.index > 0 || this.customBot.isButton)) {\n        step.type = 'terminal';\n      }\n      this._trackChangedEvent('delete-quick-reply');\n    },\n    reorderQuickReplies(step, reorderedQuickReplies) {\n      step.set('controls', reorderedQuickReplies);\n      this._trackChangedEvent('reorder-quick-replies');\n    },\n  },\n  _trackChangedEvent(changeType) {\n    let target = this.customBot.get('target');\n    let initiatorType = this.customBot.get('initiators.firstObject.type');\n    let state = this.customBot.get('state');\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'change',\n      object: 'custom-bot',\n      place: 'custom-bots',\n      models: [this.customBot],\n      change_type: changeType,\n      initiator_type: initiatorType,\n      target,\n      state,\n    });\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col flex-1\\\" data-custom-bots-answer-bot-editor>\\n  <CustomBots::Editor::EndState::Header\\n    @type=\\\"answer-bot\\\"\\n    @publicAPI={{@publicAPI}}\\n  />\\n  <div class=\\\"flex flex-col custom-bots__editor__answer-bot-editor__wrapper p-5 pl-8\\\">\\n    <div class=\\\"flex flex-row items-center gap-8\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        <div class=\\\"custom-bots__editor__answer-bot-editor__messenger\\\" data-test-custom-bots-answer-bot-editor-messenger-preview>\\n          <MessengerPreview::TranslationLoaderWrapper @locale=\\\"en\\\">\\n            <div class=\\\"flex flex-row pb-5\\\">\\n              <div class=\\\"flex flex-col justify-end\\\">\\n                <div class=\\\"relative\\\">\\n                  <div class=\\\"messenger-preview__stream__avatar messenger-preview__stream__operator-avatar\\\">\\n                    {{inline-svg \\\"interface-icons/standard/operator\\\"}}\\n                  </div>\\n                </div>\\n              </div>\\n              <CustomBots::Editor::PathEditor::StepTextEditor\\n                @step={{@step}}\\n                @placeholder=\\\"Enter a message that prompts people to ask a question...\\\"\\n                @hideInserters={{true}}\\n                @isInvalid={{and\\n                  @publicAPI.shouldShowValidations\\n                  (not @step.validations.attrs.serializedBlocks.isValid)\\n                }}\\n              />\\n            </div>\\n            <div class=\\\"flex flex-row\\\" data-test-custom-bots-answer-bot-editor-conversation-preview>\\n              {{#unless this.resolutionBotLoopingSettings.enabled}}\\n                <div class=\\\"custom-bots__editor__answer-bot-editor__line-container\\\"></div>\\n              {{/unless}}\\n              <div class=\\\"flex flex-col flex-1\\\">\\n                <div class=\\\"flex flex-row justify-end mb-6 mr-4\\\">\\n                  <div class=\\\"custom-bots__editor__answer-bot-editor__user-message\\\">\\n                    <span>Customer sends a message.</span>\\n                  </div>\\n                </div>\\n                {{#if this.resolutionBotLoopingSettings.enabled}}\\n                  <div class=\\\"flex flex-col justify-center items-center mb-4\\\">\\n                    <div class=\\\"custom-bots__editor__answer-bot-editor__horizontal-rule\\\"></div>\\n                    <Text @styling=\\\"small\\\" class=\\\"italic\\\">\\n                      Resolution Bot tries to answer the question\\n                    </Text>\\n                    <div class=\\\"custom-bots__editor__answer-bot-editor__horizontal-rule\\\"></div>\\n                  </div>\\n                  <div class=\\\"flex flex-row justify-end mr-4\\\">\\n                    <div class=\\\"custom-bots__editor__answer-bot-editor__reply-buttons-preview\\\">\\n                      <div class=\\\"custom-bots__editor__answer-bot-editor__reply-buttons-preview__button w-24\\\" data-test-custom-bots-answer-bot-editor-quick-reply>​</div>\\n                      <div class=\\\"custom-bots__editor__answer-bot-editor__reply-buttons-preview__button w-32\\\" data-test-custom-bots-answer-bot-editor-quick-reply>​</div>\\n                      <div class=\\\"custom-bots__editor__answer-bot-editor__reply-buttons-preview__button w-40\\\" data-test-custom-bots-answer-bot-editor-quick-reply>​</div>\\n                      <div class=\\\"custom-bots__editor__answer-bot-editor__reply-buttons-preview__button {{if this.resolutionBotLoopingSettings.accessToTeammateEnabled \\\"custom-bots__editor__answer-bot-editor__handoff-to-fallback\\\"}}\\\" data-test-custom-bots-answer-bot-editor-quick-reply>\\n                        {{t (if this.resolutionBotLoopingSettings.accessToTeammateEnabled \\\"answer_bot_wait_for_the_team\\\" \\\"answer_bot_get_more_help\\\")}}\\n                      </div>\\n                    </div>\\n                  </div>\\n                {{else}}\\n                  <div class=\\\"flex flex-row mb-4\\\">\\n                    <div class=\\\"custom-bots__editor__answer-bot-editor__fallback-heading__standard\\\">\\n                      <span>If Resolution Bot has an answer</span>\\n                    </div>\\n                  </div>\\n                  <div class=\\\"flex flex-row mb-4\\\">\\n                    <div class=\\\"custom-bots__editor__answer-bot-editor__bot-message o__italic\\\">\\n                      <span>Relevant answers, followed by <span class=\\\"custom-bots__editor__answer-bot-editor__bot-message__arrow\\\">{{ic-interface-icon \\\"arrow\\\" solo=true}}</span></span>\\n                    </div>\\n                  </div>\\n                  <div class=\\\"flex flex-row mb-6\\\">\\n                    <div class=\\\"custom-bots__editor__answer-bot-editor__bot-message\\\">\\n                      <span>Did that answer help, or are you looking for something else?</span>\\n                    </div>\\n                  </div>\\n                  <div class=\\\"flex flex-row justify-end mr-4\\\">\\n                    <div class=\\\"custom-bots__editor__answer-bot-editor__reply-buttons-preview\\\" data-test-quick-replies>\\n                      <div class=\\\"custom-bots__editor__answer-bot-editor__reply-buttons-preview__button\\\" data-test-custom-bots-answer-bot-editor-quick-reply>{{t \\\"answer_bot_all_done\\\"}}</div>\\n                      <div class=\\\"custom-bots__editor__answer-bot-editor__reply-buttons-preview__button\\\" data-test-custom-bots-answer-bot-editor-quick-reply>{{t \\\"answer_bot_more_answers\\\"}}</div>\\n                      <div class=\\\"custom-bots__editor__answer-bot-editor__reply-buttons-preview__button\\\" data-test-custom-bots-answer-bot-editor-quick-reply>{{t \\\"answer_bot_wait_for_the_team\\\"}}</div>\\n                    </div>\\n                  </div>\\n                {{/if}}\\n              </div>\\n            </div>\\n            {{#if (and this.resolutionBotLoopingSettings.enabled (not this.resolutionBotLoopingSettings.accessToTeammateEnabled))}}\\n              <div class=\\\"flex flex-col justify-center items-center mt-8 mb-2\\\" data-test-custom-bots-answer-bot-editor-get-more-help-selected>\\n                <Text @styling=\\\"small\\\" class=\\\"custom-bots__editor__answer-bot-editor__horizontal-rule-with-text\\\">\\n                If the customer selects {{this.getMoreHelpSuggestion}}\\n                </Text>\\n              </div>\\n              <div data-test-custom-bots-answer-bot-editor-get-more-help-followup>\\n                <MessengerPreview::Stream as |stream|>\\n                  <stream.operatorPart @removePadding={{true}} as |operatorPart|>\\n                    <operatorPart.comment>\\n                      {{t \\\"answer_bot_get_more_help_followup\\\"}}\\n                    </operatorPart.comment>\\n                    <operatorPart.comment>\\n                      <div class=\\\"text-blue\\\">\\n                        {{this.resolutionBotLoopingSettings.supportLink}}\\n                      </div>\\n                    </operatorPart.comment>\\n                  </stream.operatorPart>\\n                </MessengerPreview::Stream>\\n              </div>\\n            {{/if}}\\n          </MessengerPreview::TranslationLoaderWrapper>\\n        </div>\\n        <div class=\\\"mt-11 {{if (not this.resolutionBotLoopingSettings.enabled) \\\"ml-15\\\"}}\\\" data-test-custom-bots-answer-bot-editor-fallback-header>\\n          {{#if this.resolutionBotLoopingSettings.enabled}}\\n            <div class=\\\"custom-bots__editor__answer-bot-editor__fallback-heading__looping{{if this.resolutionBotLoopingSettings.accessToTeammateEnabled \\\"-with-teammate\\\" \\\"-with-no-teammate\\\"}}\\\">\\n              <Text @styling=\\\"strong\\\">When the conversation leaves the bot</Text>\\n            </div>\\n          {{else}}\\n            <div class=\\\"custom-bots__editor__answer-bot-editor__fallback-heading__standard\\\">\\n              <span>If Resolution Bot doesn’t have an answer</span>\\n            </div>\\n          {{/if}}\\n        </div>\\n      </div>\\n      {{#if (has-feature \\\"canUseLoopingBot\\\")}}\\n        <div class=\\\"flex flex-row gap-1\\\" data-test-custom-bots-answer-bot-editor-looping-settings-link>\\n          <Text @styling=\\\"muted\\\">\\n            {{ic-interface-icon \\\"settings\\\"}}\\n          </Text>\\n          <Text @styling=\\\"muted\\\" class=\\\"flex-grow w-48\\\">\\n            You can view your current Resolution Bot setup in <LinkTo @route=\\\"apps.app.operator.settings\\\" @query={{hash section=\\\"resolution-bot-looping\\\"}}>Operator settings</LinkTo>\\n          </Text>\\n        </div>\\n      {{/if}}\\n    </div>\\n    <div class={{if this.resolutionBotLoopingSettings.enabled \\\"-ml-2\\\" \\\"ml-12\\\"}}>\\n      <CustomBots::Editor::RulesEditor\\n        @step={{@step}}\\n        @isConvoTaggingDisabled={{@isConvoTaggingDisabled}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col flex-1\\\" data-custom-bots-answer-bot-editor>\\n  <CustomBots::Editor::EndState::Header\\n    @type=\\\"answer-bot\\\"\\n    @publicAPI={{@publicAPI}}\\n  />\\n  <div class=\\\"flex flex-col custom-bots__editor__answer-bot-editor__wrapper p-5 pl-8\\\">\\n    <div class=\\\"flex flex-row items-center gap-8\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        <div class=\\\"custom-bots__editor__answer-bot-editor__messenger\\\" data-test-custom-bots-answer-bot-editor-messenger-preview>\\n          <MessengerPreview::TranslationLoaderWrapper @locale=\\\"en\\\">\\n            <div class=\\\"flex flex-row pb-5\\\">\\n              <div class=\\\"flex flex-col justify-end\\\">\\n                <div class=\\\"relative\\\">\\n                  <div class=\\\"messenger-preview__stream__avatar messenger-preview__stream__operator-avatar\\\">\\n                    {{inline-svg \\\"interface-icons/standard/operator\\\"}}\\n                  </div>\\n                </div>\\n              </div>\\n              <CustomBots::Editor::PathEditor::StepTextEditor\\n                @step={{@step}}\\n                @placeholder=\\\"Enter a message that prompts people to ask a question...\\\"\\n                @hideInserters={{true}}\\n                @isInvalid={{and\\n                  @publicAPI.shouldShowValidations\\n                  (not @step.validations.attrs.serializedBlocks.isValid)\\n                }}\\n              />\\n            </div>\\n            <div class=\\\"flex flex-row\\\" data-test-custom-bots-answer-bot-editor-conversation-preview>\\n              {{#unless this.resolutionBotLoopingSettings.enabled}}\\n                <div class=\\\"custom-bots__editor__answer-bot-editor__line-container\\\"></div>\\n              {{/unless}}\\n              <div class=\\\"flex flex-col flex-1\\\">\\n                <div class=\\\"flex flex-row justify-end mb-6 mr-4\\\">\\n                  <div class=\\\"custom-bots__editor__answer-bot-editor__user-message\\\">\\n                    <span>Customer sends a message.</span>\\n                  </div>\\n                </div>\\n                {{#if this.resolutionBotLoopingSettings.enabled}}\\n                  <div class=\\\"flex flex-col justify-center items-center mb-4\\\">\\n                    <div class=\\\"custom-bots__editor__answer-bot-editor__horizontal-rule\\\"></div>\\n                    <Text @styling=\\\"small\\\" class=\\\"italic\\\">\\n                      Resolution Bot tries to answer the question\\n                    </Text>\\n                    <div class=\\\"custom-bots__editor__answer-bot-editor__horizontal-rule\\\"></div>\\n                  </div>\\n                  <div class=\\\"flex flex-row justify-end mr-4\\\">\\n                    <div class=\\\"custom-bots__editor__answer-bot-editor__reply-buttons-preview\\\">\\n                      <div class=\\\"custom-bots__editor__answer-bot-editor__reply-buttons-preview__button w-24\\\" data-test-custom-bots-answer-bot-editor-quick-reply>​</div>\\n                      <div class=\\\"custom-bots__editor__answer-bot-editor__reply-buttons-preview__button w-32\\\" data-test-custom-bots-answer-bot-editor-quick-reply>​</div>\\n                      <div class=\\\"custom-bots__editor__answer-bot-editor__reply-buttons-preview__button w-40\\\" data-test-custom-bots-answer-bot-editor-quick-reply>​</div>\\n                      <div class=\\\"custom-bots__editor__answer-bot-editor__reply-buttons-preview__button {{if this.resolutionBotLoopingSettings.accessToTeammateEnabled \\\"custom-bots__editor__answer-bot-editor__handoff-to-fallback\\\"}}\\\" data-test-custom-bots-answer-bot-editor-quick-reply>\\n                        {{t (if this.resolutionBotLoopingSettings.accessToTeammateEnabled \\\"answer_bot_wait_for_the_team\\\" \\\"answer_bot_get_more_help\\\")}}\\n                      </div>\\n                    </div>\\n                  </div>\\n                {{else}}\\n                  <div class=\\\"flex flex-row mb-4\\\">\\n                    <div class=\\\"custom-bots__editor__answer-bot-editor__fallback-heading__standard\\\">\\n                      <span>If Resolution Bot has an answer</span>\\n                    </div>\\n                  </div>\\n                  <div class=\\\"flex flex-row mb-4\\\">\\n                    <div class=\\\"custom-bots__editor__answer-bot-editor__bot-message o__italic\\\">\\n                      <span>Relevant answers, followed by <span class=\\\"custom-bots__editor__answer-bot-editor__bot-message__arrow\\\">{{ic-interface-icon \\\"arrow\\\" solo=true}}</span></span>\\n                    </div>\\n                  </div>\\n                  <div class=\\\"flex flex-row mb-6\\\">\\n                    <div class=\\\"custom-bots__editor__answer-bot-editor__bot-message\\\">\\n                      <span>Did that answer help, or are you looking for something else?</span>\\n                    </div>\\n                  </div>\\n                  <div class=\\\"flex flex-row justify-end mr-4\\\">\\n                    <div class=\\\"custom-bots__editor__answer-bot-editor__reply-buttons-preview\\\" data-test-quick-replies>\\n                      <div class=\\\"custom-bots__editor__answer-bot-editor__reply-buttons-preview__button\\\" data-test-custom-bots-answer-bot-editor-quick-reply>{{t \\\"answer_bot_all_done\\\"}}</div>\\n                      <div class=\\\"custom-bots__editor__answer-bot-editor__reply-buttons-preview__button\\\" data-test-custom-bots-answer-bot-editor-quick-reply>{{t \\\"answer_bot_more_answers\\\"}}</div>\\n                      <div class=\\\"custom-bots__editor__answer-bot-editor__reply-buttons-preview__button\\\" data-test-custom-bots-answer-bot-editor-quick-reply>{{t \\\"answer_bot_wait_for_the_team\\\"}}</div>\\n                    </div>\\n                  </div>\\n                {{/if}}\\n              </div>\\n            </div>\\n            {{#if (and this.resolutionBotLoopingSettings.enabled (not this.resolutionBotLoopingSettings.accessToTeammateEnabled))}}\\n              <div class=\\\"flex flex-col justify-center items-center mt-8 mb-2\\\" data-test-custom-bots-answer-bot-editor-get-more-help-selected>\\n                <Text @styling=\\\"small\\\" class=\\\"custom-bots__editor__answer-bot-editor__horizontal-rule-with-text\\\">\\n                If the customer selects {{this.getMoreHelpSuggestion}}\\n                </Text>\\n              </div>\\n              <div data-test-custom-bots-answer-bot-editor-get-more-help-followup>\\n                <MessengerPreview::Stream as |stream|>\\n                  <stream.operatorPart @removePadding={{true}} as |operatorPart|>\\n                    <operatorPart.comment>\\n                      {{t \\\"answer_bot_get_more_help_followup\\\"}}\\n                    </operatorPart.comment>\\n                    <operatorPart.comment>\\n                      <div class=\\\"text-blue\\\">\\n                        {{this.resolutionBotLoopingSettings.supportLink}}\\n                      </div>\\n                    </operatorPart.comment>\\n                  </stream.operatorPart>\\n                </MessengerPreview::Stream>\\n              </div>\\n            {{/if}}\\n          </MessengerPreview::TranslationLoaderWrapper>\\n        </div>\\n        <div class=\\\"mt-11 {{if (not this.resolutionBotLoopingSettings.enabled) \\\"ml-15\\\"}}\\\" data-test-custom-bots-answer-bot-editor-fallback-header>\\n          {{#if this.resolutionBotLoopingSettings.enabled}}\\n            <div class=\\\"custom-bots__editor__answer-bot-editor__fallback-heading__looping{{if this.resolutionBotLoopingSettings.accessToTeammateEnabled \\\"-with-teammate\\\" \\\"-with-no-teammate\\\"}}\\\">\\n              <Text @styling=\\\"strong\\\">When the conversation leaves the bot</Text>\\n            </div>\\n          {{else}}\\n            <div class=\\\"custom-bots__editor__answer-bot-editor__fallback-heading__standard\\\">\\n              <span>If Resolution Bot doesn’t have an answer</span>\\n            </div>\\n          {{/if}}\\n        </div>\\n      </div>\\n      {{#if (has-feature \\\"canUseLoopingBot\\\")}}\\n        <div class=\\\"flex flex-row gap-1\\\" data-test-custom-bots-answer-bot-editor-looping-settings-link>\\n          <Text @styling=\\\"muted\\\">\\n            {{ic-interface-icon \\\"settings\\\"}}\\n          </Text>\\n          <Text @styling=\\\"muted\\\" class=\\\"flex-grow w-48\\\">\\n            You can view your current Resolution Bot setup in <LinkTo @route=\\\"apps.app.operator.settings\\\" @query={{hash section=\\\"resolution-bot-looping\\\"}}>Operator settings</LinkTo>\\n          </Text>\\n        </div>\\n      {{/if}}\\n    </div>\\n    <div class={{if this.resolutionBotLoopingSettings.enabled \\\"-ml-2\\\" \\\"ml-12\\\"}}>\\n      <CustomBots::Editor::RulesEditor\\n        @step={{@step}}\\n        @isConvoTaggingDisabled={{@isConvoTaggingDisabled}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/answer-bot-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/answer-bot-editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class AnswerBotEditor extends Component {\n  @service intl;\n  @service store;\n  @service appService;\n\n  @tracked resolutionBotLoopingSettings;\n\n  constructor() {\n    super(...arguments);\n    this.getResolutionBotLoopingSettings.perform();\n  }\n\n  get getMoreHelpSuggestion() {\n    return this.intl.t('answer_bot_get_more_help');\n  }\n\n  @task\n  *getResolutionBotLoopingSettings() {\n    let resolutionBotLoopingSettings = yield this.store.findRecord(\n      'operator/resolution-bot-looping-settings',\n      this.appService.app.id,\n    );\n    this.resolutionBotLoopingSettings = resolutionBotLoopingSettings;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__centers-vertically\\\" data-test-reply-button-attribute>\\n  <label>\\n    <input\\n      type=\\\"checkbox\\\"\\n      checked={{step.shouldCollectAttribute}}\\n      onchange={{action \\\"toggleCollectAttribute\\\" value=\\\"target.checked\\\"}}\\n      data-test-reply-button-toggle\\n    />\\n    <span class=\\\"t__label u__ml__5 u__mr__5\\\">\\n      Save reply values to data attribute\\n    </span>\\n  </label>\\n  <IcTooltipIcon @isInteractive={{true}}>\\n    <p>\\n      You can only save reply values to <br />\\n      text attributes\\n    </p>\\n    <LinkTo @route=\\\"apps.app.settings.qualification-settings\\\">\\n      Manage your qualification data\\n    </LinkTo>\\n  </IcTooltipIcon>\\n</div>\\n{{#if step.shouldCollectAttribute}}\\n  <div\\n    class=\\\"u__mt__10 u__ml__20 layout__box o__centers-vertically\\\"\\n    data-test-reply-button-attribute-dropdown\\n  >\\n    <Operator::AttributeSelector\\n      @label=\\\"Choose attribute...\\\"\\n      @hasError={{hasInvalidAttribute}}\\n      @availableTypes={{this.availableTypes}}\\n      @attributeGroupList={{attributeGroupList}}\\n      @disabledAttributeIdentifiers={{disabledAttributeIdentifiers}}\\n      @selectedAttributeIdentifier={{step.attributeIdentifier}}\\n      @onSelectAttribute={{action \\\"selectAttribute\\\"}}\\n      @buttonIsSubtle={{false}}\\n    />\\n    {{#if hasInvalidAttribute}}\\n      <span class=\\\"ml-1\\\">\\n        <IcTooltip as |context|>\\n          <context.opener>\\n            {{ic-interface-icon \\\"alert\\\" color=\\\"red\\\"}}\\n          </context.opener>\\n          <context.content>\\n            Reply values can only be saved to <strong>\\n              text\\n            </strong>\\n            attributes.\\n          </context.content>\\n        </IcTooltip>\\n      </span>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__centers-vertically\\\" data-test-reply-button-attribute>\\n  <label>\\n    <input\\n      type=\\\"checkbox\\\"\\n      checked={{step.shouldCollectAttribute}}\\n      onchange={{action \\\"toggleCollectAttribute\\\" value=\\\"target.checked\\\"}}\\n      data-test-reply-button-toggle\\n    />\\n    <span class=\\\"t__label u__ml__5 u__mr__5\\\">\\n      Save reply values to data attribute\\n    </span>\\n  </label>\\n  <IcTooltipIcon @isInteractive={{true}}>\\n    <p>\\n      You can only save reply values to <br />\\n      text attributes\\n    </p>\\n    <LinkTo @route=\\\"apps.app.settings.qualification-settings\\\">\\n      Manage your qualification data\\n    </LinkTo>\\n  </IcTooltipIcon>\\n</div>\\n{{#if step.shouldCollectAttribute}}\\n  <div\\n    class=\\\"u__mt__10 u__ml__20 layout__box o__centers-vertically\\\"\\n    data-test-reply-button-attribute-dropdown\\n  >\\n    <Operator::AttributeSelector\\n      @label=\\\"Choose attribute...\\\"\\n      @hasError={{hasInvalidAttribute}}\\n      @availableTypes={{this.availableTypes}}\\n      @attributeGroupList={{attributeGroupList}}\\n      @disabledAttributeIdentifiers={{disabledAttributeIdentifiers}}\\n      @selectedAttributeIdentifier={{step.attributeIdentifier}}\\n      @onSelectAttribute={{action \\\"selectAttribute\\\"}}\\n      @buttonIsSubtle={{false}}\\n    />\\n    {{#if hasInvalidAttribute}}\\n      <span class=\\\"ml-1\\\">\\n        <IcTooltip as |context|>\\n          <context.opener>\\n            {{ic-interface-icon \\\"alert\\\" color=\\\"red\\\"}}\\n          </context.opener>\\n          <context.content>\\n            Reply values can only be saved to <strong>\\n              text\\n            </strong>\\n            attributes.\\n          </context.content>\\n        </IcTooltip>\\n      </span>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/branch-on-data-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/branch-on-data-selector.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\n\nconst blockedAttributes = ['email', 'phone', 'company.website'];\n\nexport default Component.extend({\n  classNames: 'layout__box o__has-rows u__padl__30',\n  store: service(),\n  appService: service(),\n  attributeService: service(),\n\n  attributeGroupList: readOnly('attributeService.botAutoMessageCollectableAttributeGroupList'),\n  collectableAttributes: readOnly('attributeService.botAutoMessageCollectableAttributes'),\n\n  availableTypes: computed(function() {\n    return [{ text: 'Text', value: 'string' }];\n  }),\n\n  disabledAttributeIdentifiers: computed(\n    'collectableAttributes.@each.type',\n    'collectableAttributes.@each.identifier',\n    function() {\n      return this.collectableAttributes\n        .reject(attr => this._shouldEnableAttribute(attr))\n        .mapBy('identifier');\n    },\n  ),\n\n  hasInvalidAttribute: computed(\n    'disabledAttributeIdentifiers',\n    'step.attributeIdentifier',\n    function() {\n      return this.disabledAttributeIdentifiers.indexOf(this.step.attributeIdentifier) !== -1;\n    },\n  ),\n\n  _shouldEnableAttribute(attr) {\n    let isNotList = attr.get('options.length') === 0;\n    let isString = attr.get('type') === 'string';\n    let isBlocked = blockedAttributes.includes(attr.get('identifier'));\n    return isNotList && isString && !isBlocked;\n  },\n\n  _selectAttribute(attribute) {\n    let attributeIdentifier = attribute.get('identifier');\n    this.get('step.controls').forEach(control =>\n      control.set('attributeIdentifier', attributeIdentifier),\n    );\n  },\n\n  actions: {\n    selectAttribute(attribute) {\n      this._selectAttribute(attribute);\n    },\n    removeAttribute() {\n      this.get('step.controls').forEach(control => control.set('attributeIdentifier', null));\n    },\n    toggleCollectAttribute(checked) {\n      if (!checked) {\n        this.send('removeAttribute');\n      }\n      this.set('step.shouldCollectAttribute', checked);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"layout__box o__has-rows u__padl__30\\\">\\n  <div class=\\\"layout__box o__centers-vertically\\\">\\n    <label>\\n      <Input\\n        @type=\\\"checkbox\\\"\\n        @checked={{this.composerDisabled}}\\n        @disabled={{@disabled}}\\n        @change={{action this.onChange}}\\n        data-test-composer-disabled-toggle\\n      />\\n      <span class=\\\"t__label u__ml__5 u__mr__5 {{if @disabled 'custom-bots__editor__composer-suggestion-editor__composer-disabled-selector__invalid-channel'}}\\\">\\n        Disable the composer\\n      </span>\\n    </label>\\n    <IcTooltipIcon @isInteractive={{true}} class=\\\"{{if @disabled 'custom-bots__editor__composer-suggestion-editor__composer-disabled-selector__invalid-channel'}}\\\">\\n      <p>\\n        When the composer is disabled, people will need to pick a suggested reply to start a conversation\\n      </p>\\n    </IcTooltipIcon>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"layout__box o__has-rows u__padl__30\\\">\\n  <div class=\\\"layout__box o__centers-vertically\\\">\\n    <label>\\n      <Input\\n        @type=\\\"checkbox\\\"\\n        @checked={{this.composerDisabled}}\\n        @disabled={{@disabled}}\\n        @change={{action this.onChange}}\\n        data-test-composer-disabled-toggle\\n      />\\n      <span class=\\\"t__label u__ml__5 u__mr__5 {{if @disabled 'custom-bots__editor__composer-suggestion-editor__composer-disabled-selector__invalid-channel'}}\\\">\\n        Disable the composer\\n      </span>\\n    </label>\\n    <IcTooltipIcon @isInteractive={{true}} class=\\\"{{if @disabled 'custom-bots__editor__composer-suggestion-editor__composer-disabled-selector__invalid-channel'}}\\\">\\n      <p>\\n        When the composer is disabled, people will need to pick a suggested reply to start a conversation\\n      </p>\\n    </IcTooltipIcon>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/composer-disabled-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/composer-disabled-selector.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class ComposerDisabledSelector extends Component {\n  get composerDisabled() {\n    if (this.args.inboundTrigger) {\n      return this.args.inboundTrigger.composerDisabled;\n    }\n    return this.args.botData.composerDisabled;\n  }\n\n  @action\n  onChange() {\n    if (this.args.inboundTrigger) {\n      let currentValue = this.args.inboundTrigger.composerDisabled;\n      this.args.inboundTrigger.set('composerDisabled', !currentValue);\n      this.args.botData.composerDisabled = !currentValue;\n    } else {\n      this.args.botData.composerDisabled = !this.args.botData.composerDisabled;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__flexes-to-1 u__ml__30\\\">\\n  <div class=\\\"layout__box o__has-rows\\\" data-test-end-state-reply-buttons-editor>\\n    <div class=\\\"layout__box o__has-columns o__flexes-to-1\\\">\\n      <div class=\\\"custom-bots__editor__composer-suggestion-editor__suggestions\\\">\\n        <SortableGroup\\n          @tagName=\\\"div\\\"\\n          class=\\\"layout__box o__has-rows custom-bots__editor__composer-suggestion-editor__options-wrapper\\\"\\n          @onChange={{action publicAPI.actions.reorderQuickReplies step}} as |group|\\n        >\\n          {{#each step.controls as |control index|}}\\n            <group.item\\n              @tagName=\\\"div\\\"\\n              data-test-reply-button={{index}}\\n              class=\\\"layout__box o__has-columns o__centers-vertically u__mb__10 custom-bots__editor__hover-actions-wrapper\\\"\\n              @model={{control}}\\n              @group={{group}}\\n              @handle=\\\".js__reply-button-drag-handle\\\"\\n            >\\n              <div\\n                class=\\\"layout__box o__centers-vertically custom-bots__editor__hover-actions\\\"\\n              >\\n                <span\\n                  class=\\\"js__reply-button-drag-handle cursor-pointer pt-1\\\"\\n                  data-test-reply-button-drag-handle={{index}}\\n                >\\n                  {{ic-interface-icon 'vertical-order' color='gray'}}\\n                </span>\\n                <a\\n                  href=\\\"#\\\"\\n                  class=\\\"quick-action o__destructive\\\"\\n                  data-test-delete-quick-reply\\n                  {{action publicAPI.actions.deleteQuickReply step control}}\\n                >\\n                  {{ic-interface-icon \\\"trash\\\" solo=true}}\\n                </a>\\n              </div>\\n              {{#let (and publicAPI.shouldShowValidations (not control.validations.attrs.buttonLabel.isValid)) as |hasError|}}\\n                <Pulse::ExpandingInput\\n                  @value={{control.buttonLabel}}\\n                  @onUpdate={{set control.buttonLabel}}\\n                  @isUnstyled={{true}}\\n                  placeholder=\\\"Type a suggested reply\\\"\\n                  maxlength={{maxQuickReplyLength}}\\n                  class=\\\"\\n                    min-w-12 max-w-64\\n                    custom-bots__editor__quick-replies-input\\n                    {{if this.isSafari \\\"o__safari\\\"}}\\n                    {{if hasError \\\"o__error\\\"}}\\n                  \\\"\\n                  data-test-reply-option-input\\n                />\\n              {{/let}}\\n            </group.item>\\n          {{/each}}\\n          <a\\n            class=\\\"btn__tertiary\\\"\\n            data-test-add-reply-option\\n            {{action publicAPI.actions.addQuickReply step}}\\n          >\\n            {{ic-interface-icon \\\"new\\\"}} Add\\n          </a>\\n        </SortableGroup>\\n        {{#unless publicAPI.customBot.botData.composerDisabled}}\\n          <MessengerPreview::Composer @composerText=\\\"Send a message...\\\" />\\n        {{/unless}}\\n      </div>\\n      <div\\n        class=\\\"u__ml__25 layout__box o__has-rows custom-bots__editor__composer-suggestion-editor__reply-button-go-to\\\"\\n      >\\n        <p class=\\\"t__light-text mb-2\\\">\\n          Next paths:\\n        </p>\\n        {{#each step.controls as |control|}}\\n          <CustomBots::Editor::ReplyButtonEditor::OptionPathSelector\\n            @control={{control}}\\n            @availablePaths={{availablePaths}}\\n            @publicAPI={{publicAPI}}\\n          />\\n        {{/each}}\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n<div class=\\\"pt-6 pb-3\\\">\\n  <div class=\\\"pb-2\\\">\\n    <CustomBots::Editor::ComposerDisabledSelector\\n      @botData={{publicAPI.customBot.botData}}\\n      @inboundTrigger={{inboundTrigger}}\\n      />\\n    </div>\\n  <CustomBots::Editor::BranchOnDataSelector @step={{step}} />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__flexes-to-1 u__ml__30\\\">\\n  <div class=\\\"layout__box o__has-rows\\\" data-test-end-state-reply-buttons-editor>\\n    <div class=\\\"layout__box o__has-columns o__flexes-to-1\\\">\\n      <div class=\\\"custom-bots__editor__composer-suggestion-editor__suggestions\\\">\\n        <SortableGroup\\n          @tagName=\\\"div\\\"\\n          class=\\\"layout__box o__has-rows custom-bots__editor__composer-suggestion-editor__options-wrapper\\\"\\n          @onChange={{action publicAPI.actions.reorderQuickReplies step}} as |group|\\n        >\\n          {{#each step.controls as |control index|}}\\n            <group.item\\n              @tagName=\\\"div\\\"\\n              data-test-reply-button={{index}}\\n              class=\\\"layout__box o__has-columns o__centers-vertically u__mb__10 custom-bots__editor__hover-actions-wrapper\\\"\\n              @model={{control}}\\n              @group={{group}}\\n              @handle=\\\".js__reply-button-drag-handle\\\"\\n            >\\n              <div\\n                class=\\\"layout__box o__centers-vertically custom-bots__editor__hover-actions\\\"\\n              >\\n                <span\\n                  class=\\\"js__reply-button-drag-handle cursor-pointer pt-1\\\"\\n                  data-test-reply-button-drag-handle={{index}}\\n                >\\n                  {{ic-interface-icon 'vertical-order' color='gray'}}\\n                </span>\\n                <a\\n                  href=\\\"#\\\"\\n                  class=\\\"quick-action o__destructive\\\"\\n                  data-test-delete-quick-reply\\n                  {{action publicAPI.actions.deleteQuickReply step control}}\\n                >\\n                  {{ic-interface-icon \\\"trash\\\" solo=true}}\\n                </a>\\n              </div>\\n              {{#let (and publicAPI.shouldShowValidations (not control.validations.attrs.buttonLabel.isValid)) as |hasError|}}\\n                <Pulse::ExpandingInput\\n                  @value={{control.buttonLabel}}\\n                  @onUpdate={{set control.buttonLabel}}\\n                  @isUnstyled={{true}}\\n                  placeholder=\\\"Type a suggested reply\\\"\\n                  maxlength={{maxQuickReplyLength}}\\n                  class=\\\"\\n                    min-w-12 max-w-64\\n                    custom-bots__editor__quick-replies-input\\n                    {{if this.isSafari \\\"o__safari\\\"}}\\n                    {{if hasError \\\"o__error\\\"}}\\n                  \\\"\\n                  data-test-reply-option-input\\n                />\\n              {{/let}}\\n            </group.item>\\n          {{/each}}\\n          <a\\n            class=\\\"btn__tertiary\\\"\\n            data-test-add-reply-option\\n            {{action publicAPI.actions.addQuickReply step}}\\n          >\\n            {{ic-interface-icon \\\"new\\\"}} Add\\n          </a>\\n        </SortableGroup>\\n        {{#unless publicAPI.customBot.botData.composerDisabled}}\\n          <MessengerPreview::Composer @composerText=\\\"Send a message...\\\" />\\n        {{/unless}}\\n      </div>\\n      <div\\n        class=\\\"u__ml__25 layout__box o__has-rows custom-bots__editor__composer-suggestion-editor__reply-button-go-to\\\"\\n      >\\n        <p class=\\\"t__light-text mb-2\\\">\\n          Next paths:\\n        </p>\\n        {{#each step.controls as |control|}}\\n          <CustomBots::Editor::ReplyButtonEditor::OptionPathSelector\\n            @control={{control}}\\n            @availablePaths={{availablePaths}}\\n            @publicAPI={{publicAPI}}\\n          />\\n        {{/each}}\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n<div class=\\\"pt-6 pb-3\\\">\\n  <div class=\\\"pb-2\\\">\\n    <CustomBots::Editor::ComposerDisabledSelector\\n      @botData={{publicAPI.customBot.botData}}\\n      @inboundTrigger={{inboundTrigger}}\\n      />\\n    </div>\\n  <CustomBots::Editor::BranchOnDataSelector @step={{step}} />\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/composer-suggestion-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/composer-suggestion-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport UserAgentDetector from '@intercom/embercom-core/lib/user-agent-detector';\n\nexport default Component.extend({\n  tagName: '',\n  isSafari: UserAgentDetector.isSafari(),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<CustomBots::Editor::ComposerSuggestionEditor\\n  @inboundTrigger={{inboundTrigger}}\\n  @step={{selectedPath.steps.lastObject}}\\n  @availablePaths={{availablePaths}}\\n  @publicAPI={{publicAPI}}\\n  @maxQuickReplyLength={{maxQuickReplyLength}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<CustomBots::Editor::ComposerSuggestionEditor\\n  @inboundTrigger={{inboundTrigger}}\\n  @step={{selectedPath.steps.lastObject}}\\n  @availablePaths={{availablePaths}}\\n  @publicAPI={{publicAPI}}\\n  @maxQuickReplyLength={{maxQuickReplyLength}}\\n/>\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/composer-suggestion-layout/end-state.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/composer-suggestion-layout/end-state.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  classNames: ['custom-bots__editor__composer-suggestion-layout__end-state__component'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"u__pad__15 u__ml__30  layout__box o__has-rows custom-bots__editor__composer-suggestion-layout__path-editor__container\\\"\\n>\\n  {{#let (reject-by \\\"isEndStateStep\\\" true selectedPath.steps) as |stepsWithoutFinalStep|}}\\n    <div class=\\\"custom-bots__editor__composer-suggestion-layout__path-editor__horizontal-rule u__mb__20\\\">\\n      <span class=\\\"custom-bots__editor__composer-suggestion-layout__path-editor__horizontal-rule-text t__light-text u__ml__10 u__mr__10\\\">\\n        This is what people will see when they start a new conversation\\n      </span>\\n    </div>\\n    <div class=\\\"custom-bots__editor__composer-suggestion-layout__path-editor__prompt\\\">\\n      {{#if (has-feature 'composer-ib-prompt')}}\\n        {{#let (and publicAPI.shouldShowValidations (not step.validations.attrs.serializedBlocks.isValid)) as |error|}}\\n          <Composer\\n            class=\\\"custom-bots__editor__composer-suggestion-layout__path-editor__prompt-composer {{if error 'o__error'}}\\\"\\n            @config={{this.composerConfig}}\\n            @blocksDoc={{this.promptBlocksDocument}}\\n            @onReady={{action \\\"composerReady\\\"}}\\n            @onChange={{action \\\"composerChanged\\\"}}\\n          />\\n        {{/let}}\\n      {{else}}\\n        {{!--  We need to reuse the block spec here  --}}\\n        <Pulse::ExpandingInput\\n          @value={{this.stepContent}}\\n          @onUpdate={{set this.stepContent}}\\n          @hasError={{and\\n            publicAPI.shouldShowValidations\\n            (not step.validations.attrs.serializedBlocks.isValid)\\n          }}\\n          @autoFocus={{true}}\\n          placeholder=\\\"Write a prompt\\\"\\n          class=\\\"min-w-0 max-w-64 z-10 text-gray placeholder-gray placeholder-opacity-75\\\"\\n          data-test-composer-suggestion-prompt\\n        />\\n      {{/if}}\\n    </div>\\n  {{/let}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"u__pad__15 u__ml__30  layout__box o__has-rows custom-bots__editor__composer-suggestion-layout__path-editor__container\\\"\\n>\\n  {{#let (reject-by \\\"isEndStateStep\\\" true selectedPath.steps) as |stepsWithoutFinalStep|}}\\n    <div class=\\\"custom-bots__editor__composer-suggestion-layout__path-editor__horizontal-rule u__mb__20\\\">\\n      <span class=\\\"custom-bots__editor__composer-suggestion-layout__path-editor__horizontal-rule-text t__light-text u__ml__10 u__mr__10\\\">\\n        This is what people will see when they start a new conversation\\n      </span>\\n    </div>\\n    <div class=\\\"custom-bots__editor__composer-suggestion-layout__path-editor__prompt\\\">\\n      {{#if (has-feature 'composer-ib-prompt')}}\\n        {{#let (and publicAPI.shouldShowValidations (not step.validations.attrs.serializedBlocks.isValid)) as |error|}}\\n          <Composer\\n            class=\\\"custom-bots__editor__composer-suggestion-layout__path-editor__prompt-composer {{if error 'o__error'}}\\\"\\n            @config={{this.composerConfig}}\\n            @blocksDoc={{this.promptBlocksDocument}}\\n            @onReady={{action \\\"composerReady\\\"}}\\n            @onChange={{action \\\"composerChanged\\\"}}\\n          />\\n        {{/let}}\\n      {{else}}\\n        {{!--  We need to reuse the block spec here  --}}\\n        <Pulse::ExpandingInput\\n          @value={{this.stepContent}}\\n          @onUpdate={{set this.stepContent}}\\n          @hasError={{and\\n            publicAPI.shouldShowValidations\\n            (not step.validations.attrs.serializedBlocks.isValid)\\n          }}\\n          @autoFocus={{true}}\\n          placeholder=\\\"Write a prompt\\\"\\n          class=\\\"min-w-0 max-w-64 z-10 text-gray placeholder-gray placeholder-opacity-75\\\"\\n          data-test-composer-suggestion-prompt\\n        />\\n      {{/if}}\\n    </div>\\n  {{/let}}\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/composer-suggestion-layout/path-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/composer-suggestion-layout/path-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly, alias, not, and } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport PromptComposerConfig from 'embercom/lib/operator/custom-bots/prompt-composer-config';\nimport { BlocksDocument } from '@intercom/embercom-prosemirror-composer';\n\nconst PROMPT_CONFIG = new PromptComposerConfig();\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  classNames: ['u__padt__20 custom-bots__editor__composer-suggestion-layout__path-editor'],\n  step: readOnly('selectedPath.steps.firstObject'),\n  promptBlocks: alias('step.blocks'),\n  stepContent: alias('step.blocks.firstObject.text'),\n\n  isStepValid: not('step.validations.isValid'),\n  hasError: and('publicAPI.shouldShowValidations', 'isStepValid'),\n\n  composerConfig: PROMPT_CONFIG,\n\n  promptBlocksDocument: computed('promptBlocks', function() {\n    return new BlocksDocument(this.promptBlocks);\n  }),\n\n  actions: {\n    composerReady(composer) {\n      this.set('composer', composer);\n    },\n\n    composerChanged(newBlocksDocument) {\n      this.set('promptBlocks', newBlocksDocument.blocks);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (or isFirstPathAndNotButtonBot buttonsChosen)}}\\n  <CustomBots::Editor::ReplyButtonEditor\\n    @step={{selectedPath.endStateStep}}\\n    @availablePaths={{availablePaths}}\\n    @hideDeleteAllQuickReplies={{isFirstPathAndNotButtonBot}}\\n    @publicAPI={{publicAPI}}\\n    @maxQuickReplyLength={{maxQuickReplyLength}}\\n  />\\n{{else if actionsChosen}}\\n  <CustomBots::Editor::FollowUpRulesEditor\\n    @step={{selectedPath.endStateStep}}\\n    @publicAPI={{publicAPI}}\\n    @isConvoTaggingDisabled={{isFirstPathAndButtonBot}}\\n    data-test-end-state-rules-editor={{true}}\\n  />\\n{{else if answerBotChosen}}\\n  <CustomBots::Editor::AnswerBotEditor\\n    @step={{selectedPath.endStateStep}}\\n    @publicAPI={{publicAPI}}\\n    @isConvoTaggingDisabled={{isFirstPathAndButtonBot}}\\n    data-test-end-state-answer-bot-editor={{true}}\\n  />\\n{{else}}\\n  <div class=\\\"flex flex-row gap-3 pt-2\\\">\\n    <div class=\\\"flex flex-row items-start gap-2 ml-1\\\">\\n      <Text>{{ic-interface-icon \\\"arrow\\\" solo=true}}</Text>\\n      <div class=\\\"flex flex-col\\\">\\n        <div>\\n          <Text @styling=\\\"strong\\\">Continue bot</Text>\\n          <Text @styling=\\\"muted\\\">with</Text>\\n        </div>\\n        <a class=\\\"btn__tertiary\\\" {{action publicAPI.actions.endPathWith publicAPI.buttonsType}} data-test-end-state-buttons-option>\\n          Reply buttons\\n        </a>\\n      </div>\\n    </div>\\n    <div class=\\\"custom-bots__editor__conversation-layout__end-state__divider ml-6\\\"></div>\\n    <div class=\\\"flex flex-row items-start gap-2 ml-1\\\">\\n      <Text>{{ic-interface-icon \\\"auto-message\\\" solo=true}}</Text>\\n      <div class=\\\"flex flex-col\\\">\\n        <div>\\n          <Text @styling=\\\"strong\\\">End bot</Text>\\n          <Text @styling=\\\"muted\\\">with</Text>\\n        </div>\\n        <div class=\\\"flex flex-row gap-3\\\">\\n          <a class=\\\"btn__tertiary\\\" {{action publicAPI.actions.endPathWith publicAPI.actionsType}} data-test-end-state-actions-option>\\n            Follow up actions\\n          </a>\\n          <div class=\\\"custom-bots__editor__conversation-layout__end-state__divider\\\"></div>\\n          <Paywall @featureKey=\\\"answer_workflows\\\" as |paywall|>\\n            <paywall.Hover>\\n              <a class=\\\"btn__tertiary\\\" {{on \\\"click\\\" (optional (if paywall.isInactive (fn publicAPI.actions.endPathWith publicAPI.answerBotType)))}} data-test-end-state-answer-bot-option>\\n                Resolution Bot and follow up actions\\n              </a>\\n            </paywall.Hover>\\n          </Paywall>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (or isFirstPathAndNotButtonBot buttonsChosen)}}\\n  <CustomBots::Editor::ReplyButtonEditor\\n    @step={{selectedPath.endStateStep}}\\n    @availablePaths={{availablePaths}}\\n    @hideDeleteAllQuickReplies={{isFirstPathAndNotButtonBot}}\\n    @publicAPI={{publicAPI}}\\n    @maxQuickReplyLength={{maxQuickReplyLength}}\\n  />\\n{{else if actionsChosen}}\\n  <CustomBots::Editor::FollowUpRulesEditor\\n    @step={{selectedPath.endStateStep}}\\n    @publicAPI={{publicAPI}}\\n    @isConvoTaggingDisabled={{isFirstPathAndButtonBot}}\\n    data-test-end-state-rules-editor={{true}}\\n  />\\n{{else if answerBotChosen}}\\n  <CustomBots::Editor::AnswerBotEditor\\n    @step={{selectedPath.endStateStep}}\\n    @publicAPI={{publicAPI}}\\n    @isConvoTaggingDisabled={{isFirstPathAndButtonBot}}\\n    data-test-end-state-answer-bot-editor={{true}}\\n  />\\n{{else}}\\n  <div class=\\\"flex flex-row gap-3 pt-2\\\">\\n    <div class=\\\"flex flex-row items-start gap-2 ml-1\\\">\\n      <Text>{{ic-interface-icon \\\"arrow\\\" solo=true}}</Text>\\n      <div class=\\\"flex flex-col\\\">\\n        <div>\\n          <Text @styling=\\\"strong\\\">Continue bot</Text>\\n          <Text @styling=\\\"muted\\\">with</Text>\\n        </div>\\n        <a class=\\\"btn__tertiary\\\" {{action publicAPI.actions.endPathWith publicAPI.buttonsType}} data-test-end-state-buttons-option>\\n          Reply buttons\\n        </a>\\n      </div>\\n    </div>\\n    <div class=\\\"custom-bots__editor__conversation-layout__end-state__divider ml-6\\\"></div>\\n    <div class=\\\"flex flex-row items-start gap-2 ml-1\\\">\\n      <Text>{{ic-interface-icon \\\"auto-message\\\" solo=true}}</Text>\\n      <div class=\\\"flex flex-col\\\">\\n        <div>\\n          <Text @styling=\\\"strong\\\">End bot</Text>\\n          <Text @styling=\\\"muted\\\">with</Text>\\n        </div>\\n        <div class=\\\"flex flex-row gap-3\\\">\\n          <a class=\\\"btn__tertiary\\\" {{action publicAPI.actions.endPathWith publicAPI.actionsType}} data-test-end-state-actions-option>\\n            Follow up actions\\n          </a>\\n          <div class=\\\"custom-bots__editor__conversation-layout__end-state__divider\\\"></div>\\n          <Paywall @featureKey=\\\"answer_workflows\\\" as |paywall|>\\n            <paywall.Hover>\\n              <a class=\\\"btn__tertiary\\\" {{on \\\"click\\\" (optional (if paywall.isInactive (fn publicAPI.actions.endPathWith publicAPI.answerBotType)))}} data-test-end-state-answer-bot-option>\\n                Resolution Bot and follow up actions\\n              </a>\\n            </paywall.Hover>\\n          </Paywall>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/conversation-layout/end-state.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/conversation-layout/end-state.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  classNames: ['layout__box o__has-columns u__mb__10'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{! template-lint-disable no-implicit-this }}\\n<div\\n  class=\\\"u__pad__15 u__ml__30 custom-bots__editor__conversation-layout__path-editor__container u__mb__20\\\"\\n>\\n  <SortableGroup @tagName=\\\"div\\\" @onChange={{action publicAPI.actions.reorderSteps}} as |group|>\\n    {{#each renderableSteps as |step index|}}\\n      <group.item @tagName=\\\"div\\\" @model={{step}} @group={{group}} @handle=\\\".js__bot-step-drag-handle\\\">\\n        <div\\n          class=\\\"layout__box o__has-columns u__ml__50 u__mb__20 custom-bots__editor__hover-actions-wrapper\\\"\\n          data-test-step-wrapper={{index}}\\n        >\\n          {{#unless step.isFreeInput}}\\n            {{#let (reject-by 'isFreeInput' true renderableSteps) as |stepsWithoutFinalStepWithoutFreeInputs|}}\\n              {{#unless (has-next step stepsWithoutFinalStepWithoutFreeInputs)}}\\n                <div class=\\\"u__relative\\\">\\n                  <div class=\\\"messenger-preview__stream__avatar messenger-preview__stream__operator-avatar custom-bots__editor__conversation-layout__path-editor__avatar\\\">\\n                    {{inline-svg 'interface-icons/standard/operator'}}\\n                  </div>\\n                </div>\\n              {{/unless}}\\n            {{/let}}\\n          {{/unless}}\\n          {{#if step.isChatMessage}}\\n            <CustomBots::Editor::PathEditor::StepTextEditor\\n              @step={{step}}\\n              @isInvalid={{and\\n                publicAPI.shouldShowValidations\\n                (not step.validations.attrs.serializedBlocks.isValid)\\n              }}\\n              @canShowVideoBot={{and (eq index 0) isFirstPath}}\\n             />\\n\\n          {{else if step.isAttributeCollector}}\\n            <div class=\\\"flex flex-col custom-bots__editor__conversation-layout__path-editor__data-field-editor-container\\\">\\n              <div class=\\\"messenger-preview__stream__form u__mt__0 u__display-block\\\">\\n                <CustomBots::Editor::PathEditor::DataFieldEditor\\n                  @attributeGroupList={{attributeGroupList}}\\n                  @step={{step}}\\n                  @publicAPI={{publicAPI}}\\n                />\\n              </div>\\n              <div class=\\\"t__light-text mt-2\\\">\\n                Pause for reply\\n              </div>\\n            </div>\\n          {{else if step.isFreeInput}}\\n            <CustomBots::Editor::PathEditor::FreeInputEditor\\n              @path={{selectedPath}}\\n              @step={{step}}\\n              @publicAPI={{publicAPI}}\\n              @availablePaths={{availablePaths}}\\n             />\\n\\n          {{else if step.isMidPathActions}}\\n            <div class=\\\"flex flex-col\\\">\\n              {{component\\n                step.simpleActionRule.actions.firstObject.componentPath\\n                allRuleActions=allRuleActions\\n                action=step.simpleActionRule.actions.firstObject\\n                actionEditorContext=(hash allowUnassignedAdminForAssign=true)\\n                isDisabled=false\\n              }}\\n              <div class=\\\"t__light-text mt-2\\\">\\n                Only visible to you\\n              </div>\\n            </div>\\n          {{/if}}\\n          {{#unless isFirstPathAndNotButtonBot}}\\n            <div class=\\\"layout__box o__has-rows u__ml__5 custom-bots__editor__hover-actions\\\">\\n              <div\\n                data-test-drag-handle\\n                class=\\\"layout__box o__centers-all js__bot-step-drag-handle u__pointer-cursor u__mt__5\\\"\\n              >\\n                {{ic-interface-icon 'vertical-order' color='gray'}}\\n              </div>\\n              <a\\n                class=\\\"layout__box o__centers-all quick-action o__destructive u__mt__5\\\"\\n                data-test-delete-step\\n                {{action publicAPI.actions.deleteStepFromSelectedPath step}}\\n              >\\n                {{ic-interface-icon 'trash' solo=true}}\\n              </a>\\n            </div>\\n          {{else}}\\n            <span data-test-drag-handle class=\\\"js__bot-step-drag-handle\\\"></span>\\n          {{/unless}}\\n        </div>\\n      </group.item>\\n    {{/each}}\\n  </SortableGroup>\\n  <CustomBots::Editor::PathEditor::StepInserter\\n    @publicAPI={{publicAPI}}\\n    @isDropDownDisabled={{isFirstPathAndNotButtonBot}}\\n    @isConvoTaggingDisabled={{isFirstPathAndButtonBot}}\\n    @path={{selectedPath}}\\n   />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{! template-lint-disable no-implicit-this }}\\n<div\\n  class=\\\"u__pad__15 u__ml__30 custom-bots__editor__conversation-layout__path-editor__container u__mb__20\\\"\\n>\\n  <SortableGroup @tagName=\\\"div\\\" @onChange={{action publicAPI.actions.reorderSteps}} as |group|>\\n    {{#each renderableSteps as |step index|}}\\n      <group.item @tagName=\\\"div\\\" @model={{step}} @group={{group}} @handle=\\\".js__bot-step-drag-handle\\\">\\n        <div\\n          class=\\\"layout__box o__has-columns u__ml__50 u__mb__20 custom-bots__editor__hover-actions-wrapper\\\"\\n          data-test-step-wrapper={{index}}\\n        >\\n          {{#unless step.isFreeInput}}\\n            {{#let (reject-by 'isFreeInput' true renderableSteps) as |stepsWithoutFinalStepWithoutFreeInputs|}}\\n              {{#unless (has-next step stepsWithoutFinalStepWithoutFreeInputs)}}\\n                <div class=\\\"u__relative\\\">\\n                  <div class=\\\"messenger-preview__stream__avatar messenger-preview__stream__operator-avatar custom-bots__editor__conversation-layout__path-editor__avatar\\\">\\n                    {{inline-svg 'interface-icons/standard/operator'}}\\n                  </div>\\n                </div>\\n              {{/unless}}\\n            {{/let}}\\n          {{/unless}}\\n          {{#if step.isChatMessage}}\\n            <CustomBots::Editor::PathEditor::StepTextEditor\\n              @step={{step}}\\n              @isInvalid={{and\\n                publicAPI.shouldShowValidations\\n                (not step.validations.attrs.serializedBlocks.isValid)\\n              }}\\n              @canShowVideoBot={{and (eq index 0) isFirstPath}}\\n             />\\n\\n          {{else if step.isAttributeCollector}}\\n            <div class=\\\"flex flex-col custom-bots__editor__conversation-layout__path-editor__data-field-editor-container\\\">\\n              <div class=\\\"messenger-preview__stream__form u__mt__0 u__display-block\\\">\\n                <CustomBots::Editor::PathEditor::DataFieldEditor\\n                  @attributeGroupList={{attributeGroupList}}\\n                  @step={{step}}\\n                  @publicAPI={{publicAPI}}\\n                />\\n              </div>\\n              <div class=\\\"t__light-text mt-2\\\">\\n                Pause for reply\\n              </div>\\n            </div>\\n          {{else if step.isFreeInput}}\\n            <CustomBots::Editor::PathEditor::FreeInputEditor\\n              @path={{selectedPath}}\\n              @step={{step}}\\n              @publicAPI={{publicAPI}}\\n              @availablePaths={{availablePaths}}\\n             />\\n\\n          {{else if step.isMidPathActions}}\\n            <div class=\\\"flex flex-col\\\">\\n              {{component\\n                step.simpleActionRule.actions.firstObject.componentPath\\n                allRuleActions=allRuleActions\\n                action=step.simpleActionRule.actions.firstObject\\n                actionEditorContext=(hash allowUnassignedAdminForAssign=true)\\n                isDisabled=false\\n              }}\\n              <div class=\\\"t__light-text mt-2\\\">\\n                Only visible to you\\n              </div>\\n            </div>\\n          {{/if}}\\n          {{#unless isFirstPathAndNotButtonBot}}\\n            <div class=\\\"layout__box o__has-rows u__ml__5 custom-bots__editor__hover-actions\\\">\\n              <div\\n                data-test-drag-handle\\n                class=\\\"layout__box o__centers-all js__bot-step-drag-handle u__pointer-cursor u__mt__5\\\"\\n              >\\n                {{ic-interface-icon 'vertical-order' color='gray'}}\\n              </div>\\n              <a\\n                class=\\\"layout__box o__centers-all quick-action o__destructive u__mt__5\\\"\\n                data-test-delete-step\\n                {{action publicAPI.actions.deleteStepFromSelectedPath step}}\\n              >\\n                {{ic-interface-icon 'trash' solo=true}}\\n              </a>\\n            </div>\\n          {{else}}\\n            <span data-test-drag-handle class=\\\"js__bot-step-drag-handle\\\"></span>\\n          {{/unless}}\\n        </div>\\n      </group.item>\\n    {{/each}}\\n  </SortableGroup>\\n  <CustomBots::Editor::PathEditor::StepInserter\\n    @publicAPI={{publicAPI}}\\n    @isDropDownDisabled={{isFirstPathAndNotButtonBot}}\\n    @isConvoTaggingDisabled={{isFirstPathAndButtonBot}}\\n    @path={{selectedPath}}\\n   />\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/conversation-layout/path-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/conversation-layout/path-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-deeply-nested-dependent-keys-with-each */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly, not, and } from '@ember/object/computed';\n\nexport default Component.extend({\n  init() {\n    this._super(...arguments);\n    let qualificationAttributes = this.store\n      .peekAll('people/qualification-attribute')\n      .rejectBy('dataAttribute.type', 'date')\n      .mapBy('dataAttribute');\n    this.set('qualificationAttributes', qualificationAttributes);\n  },\n  store: service(),\n  attributeService: service(),\n  appService: service(),\n\n  allRuleActions: computed(\n    'selectedPath.steps.@each.simpleActionRule.actions.firstObject',\n    function() {\n      return this.selectedPath.steps\n        .mapBy('simpleActionRule.actions.firstObject')\n        .reject(action => !action);\n    },\n  ),\n  isPathTitleNotValid: not('selectedPath.validations.attrs.title.isValid'),\n  hasError: and('publicAPI.shouldShowValidations', 'isPathTitleNotValid'),\n  attributeGroupList: readOnly('attributeService.botAutoMessageCollectableAttributeGroupList'),\n  renderableSteps: computed('selectedPath.steps.[]', function() {\n    return this.selectedPath.steps.reject(step => step.isEndStateStep);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex items-center p-10 justify-center\\\" data-test-element-selector>\\n  <div class=\\\"w-128\\\">\\n    <h1 class=\\\"t__h1\\\">\\n      Website element\\n    </h1>\\n    <div class=\\\"text-gray mt-2\\\">\\n      <p>\\n        Choose a button or a link on your website that people can click on to launch this bot.\\n      </p>\\n    </div>\\n    <div class=\\\"flex-0 mt-4\\\">\\n      <div class=\\\"t__light-text mb-2 mt-4\\\">\\n        Launch from\\n      </div>\\n      {{#if this.isEmptySelector}}\\n        <IcButton\\n          @onClick={{perform this.fetchDomainsAndOpenModal}}\\n          @icon=\\\"crosshair\\\"\\n          @label=\\\"Select element on your site\\\"\\n          data-test-open-modal-button\\n        />\\n      {{else}}\\n        <div class=\\\"flex flex-row\\\">\\n          <IcTooltip as |t|>\\n            <t.opener>\\n              <div class=\\\"mr-2\\\">\\n                <IcButton\\n                  @onClick={{perform this.fetchDomainsAndOpenModal}}\\n                  data-test-open-modal-button\\n                >\\n                  {{ic-interface-icon \\\"check\\\"}} Element on your website\\n                </IcButton>\\n              </div>\\n            </t.opener>\\n            <t.content>\\n              <span class=\\\"break-words\\\">\\n                {{@customBot.botData.selector}}\\n              </span>\\n            </t.content>\\n          </IcTooltip>\\n          <div>\\n            <IcButton\\n              @onClick={{this.clearClientPredicatesAndSelector}}\\n              @icon=\\\"trash\\\"\\n              @showIconOnly={{true}}\\n              data-test-clear-selector\\n            />\\n          </div>\\n        </div>  \\n      {{/if}}\\n    </div>\\n    {{#unless this.isEmptySelector}}\\n      <div class=\\\"mt-4\\\">\\n        <div class=\\\"t__light-text mb-2\\\">\\n          Page targeting\\n        </div>\\n        <div class=\\\"u__cf\\\" data-test-url-editor>\\n          <MatchingSystem::AudienceSelector::PageTarget::RulesEditor\\n            @predicateGroup={{@ruleset.clientPredicateGroup}}\\n          />\\n        </div>\\n      </div>\\n    {{/unless}}\\n  </div>\\n</div>\\n{{#if this.isDomainModalOpen}}\\n  <IcModal\\n    @onModalClose={{this.closeChooseDomainModal}}\\n    data-test-open-domain-modal\\n    as |modal|\\n  >\\n    <modal.header @title=\\\"Select website for your Custom Bot\\\" />\\n    <modal.body>\\n      <div>\\n        Choose a website where you have installed the Messenger. Next, you’ll select which element customers can click on to launch the bot.\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <label class=\\\"t__label\\\">\\n        Website\\n      </label>\\n      {{#if this.isManuallySelectingDomain}}\\n        <Form as |form|>\\n          <form.Item as |item|>\\n            <item.Input \\n              @value={{this.selectedDomain}} \\n              placeholder=\\\"http://www.example.com\\\" \\n              class=\\\"f__text o__fit\\\"\\n              data-test-domain-input\\n              {{auto-focus-element}}\\n            />\\n          </form.Item>\\n        </Form>\\n      {{else}}\\n        <div class=\\\"container\\\">\\n          <IcSelect\\n            @onSelectItem={{set this.selectedDomain}}\\n            @items={{this.pingDomainOptions}}\\n            @mode=\\\"block\\\"\\n            data-test-select-domain-dropdown\\n            @selectedValue={{this.selectedDomain}}\\n            @footerActions={{hash\\n              text=\\\"Enter a new website URL\\\"\\n              icon=\\\"new\\\"\\n              description=\\\"The website needs to have Intercom installed\\\"\\n              action=(set this.isManuallySelectingDomain true)\\n            }}\\n          />\\n        </div>\\n      {{/if}}\\n      <div class=\\\"h-2\\\"></div>\\n    </modal.body>\\n    <modal.footer\\n      @primaryButton={{hash\\n        label=\\\"Open website\\\"\\n        action=this.openSite\\n      }}\\n      @secondaryButton={{hash\\n        label=\\\"Cancel\\\"\\n        disabled=(not this.isValidDomain)\\n        action=this.closeChooseDomainModal\\n      }}\\n    />\\n  </IcModal>\\n{{/if}}\", {\"contents\":\"<div class=\\\"flex items-center p-10 justify-center\\\" data-test-element-selector>\\n  <div class=\\\"w-128\\\">\\n    <h1 class=\\\"t__h1\\\">\\n      Website element\\n    </h1>\\n    <div class=\\\"text-gray mt-2\\\">\\n      <p>\\n        Choose a button or a link on your website that people can click on to launch this bot.\\n      </p>\\n    </div>\\n    <div class=\\\"flex-0 mt-4\\\">\\n      <div class=\\\"t__light-text mb-2 mt-4\\\">\\n        Launch from\\n      </div>\\n      {{#if this.isEmptySelector}}\\n        <IcButton\\n          @onClick={{perform this.fetchDomainsAndOpenModal}}\\n          @icon=\\\"crosshair\\\"\\n          @label=\\\"Select element on your site\\\"\\n          data-test-open-modal-button\\n        />\\n      {{else}}\\n        <div class=\\\"flex flex-row\\\">\\n          <IcTooltip as |t|>\\n            <t.opener>\\n              <div class=\\\"mr-2\\\">\\n                <IcButton\\n                  @onClick={{perform this.fetchDomainsAndOpenModal}}\\n                  data-test-open-modal-button\\n                >\\n                  {{ic-interface-icon \\\"check\\\"}} Element on your website\\n                </IcButton>\\n              </div>\\n            </t.opener>\\n            <t.content>\\n              <span class=\\\"break-words\\\">\\n                {{@customBot.botData.selector}}\\n              </span>\\n            </t.content>\\n          </IcTooltip>\\n          <div>\\n            <IcButton\\n              @onClick={{this.clearClientPredicatesAndSelector}}\\n              @icon=\\\"trash\\\"\\n              @showIconOnly={{true}}\\n              data-test-clear-selector\\n            />\\n          </div>\\n        </div>  \\n      {{/if}}\\n    </div>\\n    {{#unless this.isEmptySelector}}\\n      <div class=\\\"mt-4\\\">\\n        <div class=\\\"t__light-text mb-2\\\">\\n          Page targeting\\n        </div>\\n        <div class=\\\"u__cf\\\" data-test-url-editor>\\n          <MatchingSystem::AudienceSelector::PageTarget::RulesEditor\\n            @predicateGroup={{@ruleset.clientPredicateGroup}}\\n          />\\n        </div>\\n      </div>\\n    {{/unless}}\\n  </div>\\n</div>\\n{{#if this.isDomainModalOpen}}\\n  <IcModal\\n    @onModalClose={{this.closeChooseDomainModal}}\\n    data-test-open-domain-modal\\n    as |modal|\\n  >\\n    <modal.header @title=\\\"Select website for your Custom Bot\\\" />\\n    <modal.body>\\n      <div>\\n        Choose a website where you have installed the Messenger. Next, you’ll select which element customers can click on to launch the bot.\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <label class=\\\"t__label\\\">\\n        Website\\n      </label>\\n      {{#if this.isManuallySelectingDomain}}\\n        <Form as |form|>\\n          <form.Item as |item|>\\n            <item.Input \\n              @value={{this.selectedDomain}} \\n              placeholder=\\\"http://www.example.com\\\" \\n              class=\\\"f__text o__fit\\\"\\n              data-test-domain-input\\n              {{auto-focus-element}}\\n            />\\n          </form.Item>\\n        </Form>\\n      {{else}}\\n        <div class=\\\"container\\\">\\n          <IcSelect\\n            @onSelectItem={{set this.selectedDomain}}\\n            @items={{this.pingDomainOptions}}\\n            @mode=\\\"block\\\"\\n            data-test-select-domain-dropdown\\n            @selectedValue={{this.selectedDomain}}\\n            @footerActions={{hash\\n              text=\\\"Enter a new website URL\\\"\\n              icon=\\\"new\\\"\\n              description=\\\"The website needs to have Intercom installed\\\"\\n              action=(set this.isManuallySelectingDomain true)\\n            }}\\n          />\\n        </div>\\n      {{/if}}\\n      <div class=\\\"h-2\\\"></div>\\n    </modal.body>\\n    <modal.footer\\n      @primaryButton={{hash\\n        label=\\\"Open website\\\"\\n        action=this.openSite\\n      }}\\n      @secondaryButton={{hash\\n        label=\\\"Cancel\\\"\\n        disabled=(not this.isValidDomain)\\n        action=this.closeChooseDomainModal\\n      }}\\n    />\\n  </IcModal>\\n{{/if}}\",\"moduleName\":\"embercom/components/custom-bots/editor/element-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/element-selector.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport { isEmpty } from '@ember/utils';\nimport ENV from 'embercom/config/environment';\nimport isValidUrl from 'embercom/lib/url-validator';\n\nexport default class ElementSelector extends Component {\n  @service appService;\n  @service store;\n  @service intersectionService;\n\n  @tracked isManuallySelectingDomain = false;\n  @tracked isDomainModalOpen = false;\n  @tracked selectedDomain = null;\n  @tracked pingDomains;\n\n  constructor() {\n    super(...arguments);\n    this.intersectionService.registerEventHandler('selector-chosen', data => {\n      this.setClientPredicatesAndSelector(data);\n      return true;\n    });\n  }\n\n  willDestroy() {\n    super.willDestroy(...arguments);\n    this.intersectionService.unregisterEventHandler('selector-chosen');\n  }\n\n  get pingDomainOptions() {\n    return this.pingDomains.map(function(domain) {\n      return { text: domain, value: domain };\n    });\n  }\n\n  get isValidDomain() {\n    return isValidUrl(this.selectedDomain);\n  }\n\n  get isEmptySelector() {\n    return isEmpty(this.args.customBot.botData.selector);\n  }\n\n  @task *fetchDomainsAndOpenModal() {\n    if (isEmpty(this.pingDomains)) {\n      let pingDomains = yield this.store.query('ping-domain', { include_subdomains: true });\n      this.pingDomains = pingDomains.mapBy('domain').uniq();\n      if (ENV.environment === 'development') {\n        this.pingDomains.pushObjects(['http://intercom.test', 'http://intercom-js.test']);\n      }\n    }\n    this.selectedDomain = this.pingDomains.firstObject;\n    this.isDomainModalOpen = true;\n  }\n\n  @action\n  closeChooseDomainModal() {\n    this.isManuallySelectingDomain = false;\n    this.isDomainModalOpen = false;\n  }\n\n  @action\n  clearClientPredicatesAndSelector() {\n    this.setClientPredicatesAndSelector({ selector: null, url: null });\n    this.isManuallySelectingDomain = false;\n  }\n\n  @action\n  openSite() {\n    this.openIntersection(this.selectedDomain);\n    this.isDomainModalOpen = false;\n  }\n\n  @action\n  setClientPredicatesAndSelector(data) {\n    this.args.ruleset.clientPredicateGroup.removeAll(() => true);\n\n    if (data.url) {\n      this.args.ruleset.clientPredicateGroup.add({\n        attribute: 'client_attributes.last_visited_url',\n        comparison: 'contains',\n        type: 'string',\n        value: this.cleanUrl(data.url),\n      });\n    }\n    this.args.customBot.botData.selector = data.selector;\n  }\n\n  @action\n  cleanUrl(url) {\n    return url\n      .replace(/^http.?:/, '')\n      .replace(/#+$/, '')\n      .replace(/\\?*$/, '')\n      .replace(/\\/*$/, '');\n  }\n\n  @action\n  openIntersection(url) {\n    return this.intersectionService.openWindow(url, 'custom-bot-element-selector');\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row justify-between gap-3 pt-2\\\">\\n  <div class=\\\"flex flex-row items-start gap-2 ml-1\\\">\\n    <Text>{{ic-interface-icon this.icon solo=true}}</Text>\\n    <div class=\\\"flex flex-col\\\">\\n      <div>\\n        <Text @styling=\\\"strong\\\">{{this.title}}</Text>\\n        <Text @styling=\\\"muted\\\">with</Text>\\n      </div>\\n      <Text @styling=\\\"muted\\\" data-test-end-state-header-subtitle>{{this.subtitle}}</Text>\\n    </div>\\n  </div>\\n  {{#unless @hideDelete}}\\n    <div class=\\\"flex flex-col justify-start\\\">\\n      <IcTooltip as |context|>\\n        <context.opener>\\n          <a class=\\\"quick-action o__destructive p-0\\\" data-test-delete={{@type}} {{on \\\"click\\\" @publicAPI.actions.resetEndState}}>\\n            {{ic-interface-icon \\\"trash\\\" solo=true}}\\n          </a>\\n        </context.opener>\\n        <context.content>\\n          Delete {{lowercase this.subtitle}}\\n        </context.content>\\n      </IcTooltip>\\n    </div>\\n  {{/unless}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row justify-between gap-3 pt-2\\\">\\n  <div class=\\\"flex flex-row items-start gap-2 ml-1\\\">\\n    <Text>{{ic-interface-icon this.icon solo=true}}</Text>\\n    <div class=\\\"flex flex-col\\\">\\n      <div>\\n        <Text @styling=\\\"strong\\\">{{this.title}}</Text>\\n        <Text @styling=\\\"muted\\\">with</Text>\\n      </div>\\n      <Text @styling=\\\"muted\\\" data-test-end-state-header-subtitle>{{this.subtitle}}</Text>\\n    </div>\\n  </div>\\n  {{#unless @hideDelete}}\\n    <div class=\\\"flex flex-col justify-start\\\">\\n      <IcTooltip as |context|>\\n        <context.opener>\\n          <a class=\\\"quick-action o__destructive p-0\\\" data-test-delete={{@type}} {{on \\\"click\\\" @publicAPI.actions.resetEndState}}>\\n            {{ic-interface-icon \\\"trash\\\" solo=true}}\\n          </a>\\n        </context.opener>\\n        <context.content>\\n          Delete {{lowercase this.subtitle}}\\n        </context.content>\\n      </IcTooltip>\\n    </div>\\n  {{/unless}}\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/end-state/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/end-state/header.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class Header extends Component {\n  get title() {\n    return this.typeMap[0];\n  }\n\n  get subtitle() {\n    return this.typeMap[1];\n  }\n\n  get icon() {\n    return this.typeMap[2];\n  }\n\n  get typeMap() {\n    switch (this.args.type) {\n      case 'reply-button':\n        return ['Continue bot', 'Reply buttons', 'arrow'];\n      case 'answer-bot':\n        return ['End bot', `Resolution Bot and follow up actions`, 'auto-message'];\n      case 'follow-up':\n        return ['End bot', 'Follow up actions', 'auto-message'];\n      default:\n        throw new Error(`Unknown end state type '${this.args.type}'`);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<div class=\\\"flex flex-col flex-1\\\" data-custom-bots-follow-up-rules-editor>\\n  <CustomBots::Editor::EndState::Header\\n    @type=\\\"follow-up\\\"\\n    @publicAPI={{@publicAPI}}\\n  />\\n  <div class=\\\"u__mr__30 u__ml__20\\\">\\n    <CustomBots::Editor::RulesEditor\\n      @step={{@step}}\\n      @isConvoTaggingDisabled={{@isConvoTaggingDisabled}}\\n    />\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<div class=\\\"flex flex-col flex-1\\\" data-custom-bots-follow-up-rules-editor>\\n  <CustomBots::Editor::EndState::Header\\n    @type=\\\"follow-up\\\"\\n    @publicAPI={{@publicAPI}}\\n  />\\n  <div class=\\\"u__mr__30 u__ml__20\\\">\\n    <CustomBots::Editor::RulesEditor\\n      @step={{@step}}\\n      @isConvoTaggingDisabled={{@isConvoTaggingDisabled}}\\n    />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/follow-up-rules-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/follow-up-rules-editor.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.hasIncomingPaths}}\\n  <div class='custom-bots__editor__incoming-paths u__ml__30 mb-10' data-test-editor-incoming-paths-container>\\n    <div class='custom-bots__editor__incoming-paths__title text-gray mb-2'>Previous paths:</div>\\n    <div class='custom-bots__editor__incoming-paths__buttons'>\\n      {{#each this.paths as |path|}}\\n        <IcButton\\n          @type=\\\"secondary\\\"\\n          @label={{path.titleWithLabel}}\\n          @onClick={{queue\\n            (fn @publicAPI.actions.selectPath path)\\n            (track-analytics-event\\n              action='clicked'\\n              object='incoming_path'\\n              models=(array this.customBot)\\n            )\\n          }}\\n          class='mr-1 mb-2'\\n          data-test-editor-incoming-path\\n        />\\n      {{/each}}\\n    </div>\\n  </div>\\n{{else}}\\n  <div class='mb-6' />\\n{{/if}}\\n\", {\"contents\":\"{{#if this.hasIncomingPaths}}\\n  <div class='custom-bots__editor__incoming-paths u__ml__30 mb-10' data-test-editor-incoming-paths-container>\\n    <div class='custom-bots__editor__incoming-paths__title text-gray mb-2'>Previous paths:</div>\\n    <div class='custom-bots__editor__incoming-paths__buttons'>\\n      {{#each this.paths as |path|}}\\n        <IcButton\\n          @type=\\\"secondary\\\"\\n          @label={{path.titleWithLabel}}\\n          @onClick={{queue\\n            (fn @publicAPI.actions.selectPath path)\\n            (track-analytics-event\\n              action='clicked'\\n              object='incoming_path'\\n              models=(array this.customBot)\\n            )\\n          }}\\n          class='mr-1 mb-2'\\n          data-test-editor-incoming-path\\n        />\\n      {{/each}}\\n    </div>\\n  </div>\\n{{else}}\\n  <div class='mb-6' />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/incoming-paths.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/incoming-paths.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class IncomingPaths extends Component {\n  get paths() {\n    return this.args.selectedPath.incomingControls\n      .map(control => control.path)\n      .filter(Boolean)\n      .uniqBy('_id');\n  }\n\n  get hasIncomingPaths() {\n    return this.paths.length > 0;\n  }\n\n  get customBot() {\n    return this.args.publicAPI.customBot;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class='layout__box o__flexes-to-1 o__has-rows custom-bots__editor'>\\n  <CustomBots::Editor::Styles />\\n  <div class=\\\"flex flex-row gap-1 p-6 pb-2 t__h2\\\">\\n    <span class='text-gray'>{{selectedPath.labelWithSeparator}}</span>\\n    <div class=\\\"flex-1\\\">\\n      <Pulse::ExpandingInput\\n        @value={{selectedPath.title}}\\n        @onUpdate={{set selectedPath.title}}\\n        @hasError={{hasError}}\\n        placeholder=\\\"New path\\\"\\n        maxlength={{this.maxQuickReplyLength}}\\n        class=\\\"min-w-2 max-w-3/5\\\"\\n        data-test-path-title\\n      />\\n    </div>\\n  </div>\\n\\n  <div class='custom-bots__editor__layout__path p-4 {{if @isFullscreen 'o__fullscreen'}}'>\\n    <CustomBots::Editor::IncomingPaths\\n      @selectedPath={{selectedPath}}\\n      @publicAPI={{publicAPI}}\\n    />\\n    {{#if (and composerSuggestionLayout isFirstPath)}}\\n      <CustomBots::Editor::ComposerSuggestionLayout::PathEditor\\n        @selectedPath={{selectedPath}}\\n        @publicAPI={{publicAPI}}\\n      />\\n      <CustomBots::Editor::ComposerSuggestionLayout::EndState\\n        @inboundTrigger={{customBot.inboundTrigger}}\\n        @selectedPath={{selectedPath}}\\n        @publicAPI={{publicAPI}}\\n        @availablePaths={{availablePaths}}\\n        @maxQuickReplyLength={{maxQuickReplyLength}}\\n      />\\n    {{else}}\\n      <CustomBots::Editor::ConversationLayout::PathEditor\\n        @selectedPath={{selectedPath}}\\n        @publicAPI={{publicAPI}}\\n        @isFirstPath={{isFirstPath}}\\n        @isFirstPathAndButtonBot={{isFirstPathAndButtonBot}}\\n        @isFirstPathAndNotButtonBot={{isFirstPathAndNotButtonBot}}\\n        @availablePaths={{availablePaths}}\\n      />\\n      <hr class=\\\"custom-bots__editor__layout__end-state__separator\\\">\\n      <CustomBots::Editor::ConversationLayout::EndState\\n        @selectedPath={{selectedPath}}\\n        @publicAPI={{publicAPI}}\\n        @isFirstPath={{isFirstPath}}\\n        @isFirstPathAndButtonBot={{isFirstPathAndButtonBot}}\\n        @isFirstPathAndNotButtonBot={{isFirstPathAndNotButtonBot}}\\n        @buttonsChosen={{buttonsChosen}}\\n        @actionsChosen={{actionsChosen}}\\n        @answerBotChosen={{answerBotChosen}}\\n        @availablePaths={{availablePaths}}\\n        @maxQuickReplyLength={{maxQuickReplyLength}}\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class='layout__box o__flexes-to-1 o__has-rows custom-bots__editor'>\\n  <CustomBots::Editor::Styles />\\n  <div class=\\\"flex flex-row gap-1 p-6 pb-2 t__h2\\\">\\n    <span class='text-gray'>{{selectedPath.labelWithSeparator}}</span>\\n    <div class=\\\"flex-1\\\">\\n      <Pulse::ExpandingInput\\n        @value={{selectedPath.title}}\\n        @onUpdate={{set selectedPath.title}}\\n        @hasError={{hasError}}\\n        placeholder=\\\"New path\\\"\\n        maxlength={{this.maxQuickReplyLength}}\\n        class=\\\"min-w-2 max-w-3/5\\\"\\n        data-test-path-title\\n      />\\n    </div>\\n  </div>\\n\\n  <div class='custom-bots__editor__layout__path p-4 {{if @isFullscreen 'o__fullscreen'}}'>\\n    <CustomBots::Editor::IncomingPaths\\n      @selectedPath={{selectedPath}}\\n      @publicAPI={{publicAPI}}\\n    />\\n    {{#if (and composerSuggestionLayout isFirstPath)}}\\n      <CustomBots::Editor::ComposerSuggestionLayout::PathEditor\\n        @selectedPath={{selectedPath}}\\n        @publicAPI={{publicAPI}}\\n      />\\n      <CustomBots::Editor::ComposerSuggestionLayout::EndState\\n        @inboundTrigger={{customBot.inboundTrigger}}\\n        @selectedPath={{selectedPath}}\\n        @publicAPI={{publicAPI}}\\n        @availablePaths={{availablePaths}}\\n        @maxQuickReplyLength={{maxQuickReplyLength}}\\n      />\\n    {{else}}\\n      <CustomBots::Editor::ConversationLayout::PathEditor\\n        @selectedPath={{selectedPath}}\\n        @publicAPI={{publicAPI}}\\n        @isFirstPath={{isFirstPath}}\\n        @isFirstPathAndButtonBot={{isFirstPathAndButtonBot}}\\n        @isFirstPathAndNotButtonBot={{isFirstPathAndNotButtonBot}}\\n        @availablePaths={{availablePaths}}\\n      />\\n      <hr class=\\\"custom-bots__editor__layout__end-state__separator\\\">\\n      <CustomBots::Editor::ConversationLayout::EndState\\n        @selectedPath={{selectedPath}}\\n        @publicAPI={{publicAPI}}\\n        @isFirstPath={{isFirstPath}}\\n        @isFirstPathAndButtonBot={{isFirstPathAndButtonBot}}\\n        @isFirstPathAndNotButtonBot={{isFirstPathAndNotButtonBot}}\\n        @buttonsChosen={{buttonsChosen}}\\n        @actionsChosen={{actionsChosen}}\\n        @answerBotChosen={{answerBotChosen}}\\n        @availablePaths={{availablePaths}}\\n        @maxQuickReplyLength={{maxQuickReplyLength}}\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/layout.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/layout.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { and, not, equal, readOnly } from '@ember/object/computed';\nimport { computed } from '@ember/object';\n\nimport {\n  COMPOSER_SUGGESTION_LAYOUT,\n  CONVERSATION_LAYOUT,\n} from 'embercom/components/custom-bots/editor';\n\nexport default Component.extend({\n  tagName: '',\n  composerSuggestionLayout: equal('editorLayout', COMPOSER_SUGGESTION_LAYOUT),\n  conversationLayout: equal('editorLayout', CONVERSATION_LAYOUT),\n  isButton: readOnly('publicAPI.customBot.isButton'),\n  notButton: not('isButton'),\n\n  isFirstPathAndButtonBot: and('isFirstPath', 'isButton'),\n  isFirstPathAndNotButtonBot: and('isFirstPath', 'notButton'),\n\n  availablePaths: computed('allPaths.[]', 'selectedPath', function() {\n    return this.allPaths.slice().removeObject(this.selectedPath);\n  }),\n  answerBotChosen: readOnly('selectedPath.steps.lastObject.isAnswerBot'),\n  buttonsChosen: readOnly('selectedPath.steps.lastObject.isReplyButtons'),\n  actionsChosen: readOnly('selectedPath.steps.lastObject.isFollowUpRules'),\n  maxQuickReplyLength: 255,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<CustomBots::Editor::PathEditor::DataFieldEditor::DataFieldDropdown\\n  @attributeGroupList={{@attributeGroupList}}\\n  @dataField={{@step.controls.firstObject}}\\n  @publicAPI={{@publicAPI}}\\n  class=\\\"custom-bots__editor__conversation-layout__path-editor__data-field-editor-dropdown\\\"\\n/>\\n\", {\"contents\":\"<CustomBots::Editor::PathEditor::DataFieldEditor::DataFieldDropdown\\n  @attributeGroupList={{@attributeGroupList}}\\n  @dataField={{@step.controls.firstObject}}\\n  @publicAPI={{@publicAPI}}\\n  class=\\\"custom-bots__editor__conversation-layout__path-editor__data-field-editor-dropdown\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/path-editor/data-field-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/path-editor/data-field-editor.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Operator::AttributeSelector\\n  @label=\\\"Add an attribute\\\"\\n  @hasError={{and\\n    @publicAPI.shouldShowValidations\\n    (not @dataField.validations.isValid)\\n  }}\\n  @attributeGroupList={{@attributeGroupList}}\\n  @selectedAttributeIdentifier={{@dataField.attributeIdentifier}}\\n  @onSelectAttribute={{this.selectAttribute}}\\n  @buttonIsSubtle={{false}}\\n  @dropdownDisplayMode=\\\"block\\\"\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Operator::AttributeSelector\\n  @label=\\\"Add an attribute\\\"\\n  @hasError={{and\\n    @publicAPI.shouldShowValidations\\n    (not @dataField.validations.isValid)\\n  }}\\n  @attributeGroupList={{@attributeGroupList}}\\n  @selectedAttributeIdentifier={{@dataField.attributeIdentifier}}\\n  @onSelectAttribute={{this.selectAttribute}}\\n  @buttonIsSubtle={{false}}\\n  @dropdownDisplayMode=\\\"block\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/path-editor/data-field-editor/data-field-dropdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/path-editor/data-field-editor/data-field-dropdown.hbs\"}});\nimport { action } from '@ember/object';\nimport Component from '@glimmer/component';\n\nexport default class DataFieldDropdown extends Component {\n  @action\n  selectAttribute(attribute) {\n    this.args.dataField.setProperties({\n      attributeIdentifier: attribute.get('identifier'),\n      buttonLabel: attribute.get('name'),\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col items-end flex-1\\\">\\n  <div class=\\\"custom-bots__editor__layout__path-editor__free-text\\\">\\n    <span>\\n      Customer sends a text reply or an image...\\n    </span>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col items-end flex-1\\\">\\n  <div class=\\\"custom-bots__editor__layout__path-editor__free-text\\\">\\n    <span>\\n      Customer sends a text reply or an image...\\n    </span>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/path-editor/free-input-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/path-editor/free-input-editor.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__ml__50\\\">\\n  <IcDropdownOpener\\n    @groupList={{stepInsertOptions}}\\n    @isDisabled={{isDropDownDisabled}}\\n  >\\n    <IcTooltip @isDisabled={{not isTooltipEnabled}} as |context|>\\n        <context.opener>\\n          <a\\n            class=\\\"btn__tertiary {{if isDropDownDisabled \\\"o__disabled\\\"}}\\\"\\n            data-test-add-step\\n          >\\n            {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add\\n          </a>\\n        </context.opener>\\n        <context.content>\\n          {{tooltipMessage}}\\n        </context.content>\\n    </IcTooltip>\\n  </IcDropdownOpener>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__ml__50\\\">\\n  <IcDropdownOpener\\n    @groupList={{stepInsertOptions}}\\n    @isDisabled={{isDropDownDisabled}}\\n  >\\n    <IcTooltip @isDisabled={{not isTooltipEnabled}} as |context|>\\n        <context.opener>\\n          <a\\n            class=\\\"btn__tertiary {{if isDropDownDisabled \\\"o__disabled\\\"}}\\\"\\n            data-test-add-step\\n          >\\n            {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add\\n          </a>\\n        </context.opener>\\n        <context.content>\\n          {{tooltipMessage}}\\n        </context.content>\\n    </IcTooltip>\\n  </IcDropdownOpener>\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/path-editor/step-inserter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/path-editor/step-inserter.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { or, readOnly, not } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { inject } from '@ember/service';\nimport {\n  RULE_ACTION_MAP,\n  createConversationDataAttributeItems,\n} from 'embercom/lib/inbox/constants';\nimport { copy } from 'ember-copy';\n\nexport default Component.extend({\n  appService: inject(),\n  attributeService: inject(),\n  app: readOnly('appService.app'),\n  isDropDownEnabled: not('isDropDownDisabled'),\n  isTooltipEnabled: or('isDropDownDisabled', 'path.hasReachedAutoFollowSoftLimit'),\n  tooltipMessage: computed('path.hasReachedAutoFollowSoftLimit', function() {\n    if (this.get('path.hasReachedAutoFollowSoftLimit')) {\n      return 'You cannot have more than 10 consecutive bot messages';\n    }\n    return 'Start by asking a single question with reply buttons. Continue the bot dialogue with new paths';\n  }),\n  stepInsertOptions: computed(\n    'path.hasReachedAutoFollowSoftLimit',\n    'allowedMidFlowActionsGroupList.[]',\n    function() {\n      let simpleItems = [\n        {\n          identifier: 'add-data-field',\n          text: 'Add data field',\n          icon: 'attribute-titles',\n          onSelectItem: () => this._addDataField(),\n        },\n        {\n          identifier: 'add-free-input',\n          text: 'Add customer reply',\n          icon: 'keyboard',\n          onSelectItem: () => this._addFreeInput(),\n        },\n      ];\n\n      if (!this.get('path.hasReachedAutoFollowSoftLimit')) {\n        simpleItems.unshiftObject({\n          identifier: 'add-bot-message',\n          text: 'Add bot message',\n          icon: 'chat-bubble-line',\n          onSelectItem: () => this._addBotMessage(),\n        });\n      }\n\n      let allItems = [{ items: simpleItems }];\n\n      let actionItems = this.allowedMidFlowActionsGroupList;\n      actionItems.forEach(item => {\n        item.onSelectItem = () => this._addMidFlowAction(item.identifier);\n      });\n      if (this.app.canUseConversationAttributeData) {\n        actionItems = actionItems.concat(\n          this.conversationCustomAttributeItems.map(item => ({\n            ...item,\n            onSelectItem: () =>\n              this._addMidFlowAction(item.identifier, {\n                attribute_identifier: item.attribute_identifier,\n              }),\n          })),\n        );\n      }\n      allItems.addObject({ heading: 'Actions', items: actionItems });\n\n      return allItems;\n    },\n  ),\n\n  conversationCustomAttributes: readOnly(\n    'attributeService.nonArchivedConversationCustomAttributes',\n  ),\n\n  conversationCustomAttributeItems: computed('conversationCustomAttributes.[]', function() {\n    return createConversationDataAttributeItems(this.conversationCustomAttributes);\n  }),\n\n  allowedMidFlowActionsGroupList: computed('allowedMidFlowActionIdentifiers.[]', function() {\n    let map = copy(RULE_ACTION_MAP, true);\n    let items = this.allowedMidFlowActionIdentifiers\n      .map(ruleAction => map[ruleAction])\n      .sortBy('order');\n    return items;\n  }),\n\n  allowedMidFlowActionIdentifiers: computed(\n    'isConvoTaggingDisabled',\n    'app.hasMarketoEnrichmentIntegration',\n    'app.hasSalesforceIntegration',\n    'app.hasHubSpotIntegration',\n    'app.canUsePriorityRules',\n    function() {\n      let allowedActions = ['assign-conversation', 'tag-user'];\n\n      if (!this.isConvoTaggingDisabled) {\n        allowedActions.push('add-tag-to-conversation');\n      }\n\n      if (this.get('app.hasSalesforceIntegration')) {\n        allowedActions.push('send-to-salesforce');\n      }\n\n      if (this.get('app.hasHubSpotIntegration')) {\n        allowedActions.push('send-to-hubspot');\n      }\n\n      if (this.get('app.hasMarketoEnrichmentIntegration')) {\n        allowedActions.push('send-to-marketo');\n        if (this.get('app.canUseMarketoTriggerCampaigns')) {\n          allowedActions.push('trigger-marketo-campaign');\n        }\n      }\n\n      if (this.get('app.canUsePriorityRules')) {\n        allowedActions.push('change-conversation-priority');\n      }\n      return allowedActions;\n    },\n  ),\n\n  _addBotMessage() {\n    this.get('publicAPI.actions.addStepToSelectedPath')(this.get('publicAPI.chatMessageType'));\n  },\n  _addDataField() {\n    this.get('publicAPI.actions.addStepToSelectedPath')(this.get('publicAPI.dataFieldType'));\n  },\n  _addFreeInput() {\n    this.get('publicAPI.actions.addStepToSelectedPath')(this.get('publicAPI.freeInputType'));\n  },\n  _addMidFlowAction(identifier, actionData) {\n    this.get('publicAPI.actions.addMidFlowActionStepToSelectedPath')(identifier, actionData);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class='custom-bots__editor__conversation-layout__path-editor__step-text-editor {{if isInvalid 'o__error'}}'\\n  {{did-update this.pushBlocksUpdate @step}}\\n>\\n  <ComposerV2\\n    @app={{app}}\\n    @preset=\\\"botBuilderWithAttributeInserter\\\"\\n    @attributes={{app.allowedAttributes}}\\n    @editorClass=\\\"composer-style-basic custom-bots__editor__conversation-layout__path-editor__step-composer {{if @hideInserters 'o__no-inserters'}}\\\"\\n    @blocks={{this.serializedBlocks}}\\n    @actionReceiver={{composerComponent}}\\n    @startedUploading={{action \\\"startedUploading\\\"}}\\n    @finishedUploading={{action \\\"finishedUploading\\\"}}\\n    @errorUploading={{action \\\"errorUploading\\\"}}\\n    @placeholder={{if @placeholder @placeholder \\\"Enter text here…\\\"}}\\n    @onChange={{action \\\"updateBlocks\\\"}}\\n    @onError={{composer-error-logger \\\"Custom Bots\\\"}}\\n  />\\n  {{#unless @hideInserters}}\\n    <div class={{insertersClass}}>\\n      {{#each inserters as |inserter|}}\\n        <Conversation::Controls::Inserter\\n          @inserter={{inserter}}\\n          @controlsAPI={{controlsAPI}}\\n        />\\n      {{/each}}\\n      <Conversation::Controls::Inserters::TourInserter\\n        @controlsAPI={{controlsAPI}}\\n      />\\n      <Conversation::Controls::Inserters::MessengerAppInserterComponent\\n        @inserter={{hash\\n          name=\\\"messenger-app\\\"\\n          icon=\\\"app-store\\\"\\n          descriptor=\\\"Add a messenger app\\\"\\n        }}\\n        @controlsAPI={{controlsAPI}}\\n        @callerId={{step.uuid}}\\n        @restrictTo=\\\"operator\\\"\\n        @preferredPositionNameOrder={{array \\\"top\\\" \\\"bottom\\\"}}\\n      />\\n    </div>\\n  {{/unless}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class='custom-bots__editor__conversation-layout__path-editor__step-text-editor {{if isInvalid 'o__error'}}'\\n  {{did-update this.pushBlocksUpdate @step}}\\n>\\n  <ComposerV2\\n    @app={{app}}\\n    @preset=\\\"botBuilderWithAttributeInserter\\\"\\n    @attributes={{app.allowedAttributes}}\\n    @editorClass=\\\"composer-style-basic custom-bots__editor__conversation-layout__path-editor__step-composer {{if @hideInserters 'o__no-inserters'}}\\\"\\n    @blocks={{this.serializedBlocks}}\\n    @actionReceiver={{composerComponent}}\\n    @startedUploading={{action \\\"startedUploading\\\"}}\\n    @finishedUploading={{action \\\"finishedUploading\\\"}}\\n    @errorUploading={{action \\\"errorUploading\\\"}}\\n    @placeholder={{if @placeholder @placeholder \\\"Enter text here…\\\"}}\\n    @onChange={{action \\\"updateBlocks\\\"}}\\n    @onError={{composer-error-logger \\\"Custom Bots\\\"}}\\n  />\\n  {{#unless @hideInserters}}\\n    <div class={{insertersClass}}>\\n      {{#each inserters as |inserter|}}\\n        <Conversation::Controls::Inserter\\n          @inserter={{inserter}}\\n          @controlsAPI={{controlsAPI}}\\n        />\\n      {{/each}}\\n      <Conversation::Controls::Inserters::TourInserter\\n        @controlsAPI={{controlsAPI}}\\n      />\\n      <Conversation::Controls::Inserters::MessengerAppInserterComponent\\n        @inserter={{hash\\n          name=\\\"messenger-app\\\"\\n          icon=\\\"app-store\\\"\\n          descriptor=\\\"Add a messenger app\\\"\\n        }}\\n        @controlsAPI={{controlsAPI}}\\n        @callerId={{step.uuid}}\\n        @restrictTo=\\\"operator\\\"\\n        @preferredPositionNameOrder={{array \\\"top\\\" \\\"bottom\\\"}}\\n      />\\n    </div>\\n  {{/unless}}\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/path-editor/step-text-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/path-editor/step-text-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport createFragmentFromBlock from 'embercom/lib/blocks/create-fragment-from-block';\nimport ENV from 'embercom/config/environment';\nimport { throttle, schedule } from '@ember/runloop';\nimport { copy } from 'ember-copy';\nimport { action } from '@ember/object';\nimport { compareBlocks } from 'embercom/lib/developer-hub/diff-calculator';\n\nconst INSERTERS = [\n  {\n    name: 'emoji',\n    icon: 'lwr-happy',\n    descriptor: 'Add an emoji',\n    hasPopoverContentComponent: true,\n  },\n  {\n    name: 'article',\n    icon: 'article',\n    descriptor: 'Add an article',\n    hasPopoverContentComponent: true,\n  },\n];\n\nexport default Component.extend({\n  intercomEventService: service(),\n  tagName: '',\n  appService: service(),\n  store: service(),\n  app: readOnly('appService.app'),\n  inserters: computed(\n    'app.{canCreateVideoBAMs,teammateConversationGifsEnabled,teammateConversationAttachmentsEnabled}',\n    function() {\n      let inserters = copy(INSERTERS);\n      if (this.get('app.teammateConversationGifsEnabled')) {\n        inserters.insertAt(1, {\n          name: 'gif',\n          icon: 'gif',\n          descriptor: 'Add a GIF',\n          hasPopoverContentComponent: true,\n        });\n      }\n      if (this.get('app.teammateConversationAttachmentsEnabled')) {\n        inserters.push({\n          name: 'image',\n          icon: 'picture',\n          descriptor: 'Add an image',\n          hasPopoverContentComponent: false,\n        });\n      }\n      if (this.get('app.canCreateVideoBAMs') && this.canShowVideoBot) {\n        inserters.push({\n          name: 'video',\n          icon: 'video-camera',\n          descriptor: 'Add a video clip (40mb max)',\n          hasPopoverContentComponent: false,\n        });\n      }\n      return inserters;\n    },\n  ),\n  openInserters: undefined,\n\n  insertersBaseClass:\n    'custom-bots__editor__conversation-layout__path-editor__step-text-editor__inserters',\n  insertersActiveClass:\n    'custom-bots__editor__conversation-layout__path-editor__step-text-editor__inserters__active',\n  insertersClass: computed('openInserters.[]', function() {\n    return this.openInserters.length > 0 ? this.insertersActiveClass : this.insertersBaseClass;\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.set('openInserters', []);\n  },\n\n  serializedBlocks: computed('step.blocks.[]', function() {\n    return this.get('step.blocks').serialize();\n  }),\n\n  pushBlocksUpdate: action(function() {\n    schedule('afterRender', () => {\n      if (this.composerComponent) {\n        this.composerComponent.send('load', this.serializedBlocks);\n      }\n    });\n  }),\n\n  controlsAPI: computed(function() {\n    return {\n      app: this.app,\n      actions: {\n        registerOpenInserter: inserterName => {\n          this.openInserters.pushObject(inserterName);\n        },\n        clearOpenInserter: inserterName => {\n          if (!this.isDestroying) {\n            this.openInserters.removeObject(inserterName);\n          }\n        },\n        paste: text => {\n          this.composerComponent.send('paste', text, 'plain');\n        },\n        insertBlock: (type, block) => {\n          this.composerComponent.send('createBlock', type, block);\n        },\n        uploadVideo: files => {\n          let file = files && files.length > 0 && files[0];\n          this.trackUploadEvent('upload_started', file.type, file.size);\n          this.composerComponent.send('uploadVideo', file);\n        },\n        uploadImage: files => {\n          this.composerComponent.send('uploadImage', files);\n        },\n      },\n    };\n  }),\n\n  trackUploadEvent(action, file_type, file_size, message) {\n    let place = 'custom_bot_editor';\n    let object = 'path';\n    this.intercomEventService.trackAnalyticsEvent({\n      action,\n      place,\n      object,\n      file_size,\n      file_type,\n      message,\n    });\n  },\n\n  performFinishedUploading() {\n    this.set('step.isUploading', false);\n  },\n\n  actions: {\n    updateBlocks() {\n      if (this.isDestroying || this.step.isDestroying) {\n        return;\n      }\n      let composerComponent = this.composerComponent;\n      if (!composerComponent) {\n        return;\n      }\n      let blocks = composerComponent.getBlocks();\n      let store = this.store;\n      if (compareBlocks(blocks, this.serializedBlocks).hasDifference) {\n        let blockFragments = blocks.map(block => createFragmentFromBlock(store, block));\n        this.set('step.blocks', blockFragments);\n      }\n    },\n    startedUploading() {\n      this.set('step.isUploading', true);\n    },\n    finishedUploading() {\n      throttle(this.performFinishedUploading.bind(this), ENV.APP._50MS, false);\n    },\n    errorUploading(error) {\n      this.trackUploadEvent('upload_failed', error.fileType, error.fileSize, error.message);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"custom-bots__editor__hover-actions-wrapper pb-2\\\"\\n  data-test-path-list-item\\n>\\n  <div\\n    class=\\\"card u__pointer-cursor custom-bots__editor__path-list__path-item__card pr-1 {{if (eq @path @selectedPath) \\\"o__selected\\\"}}\\\"\\n    data-test-path-list-item-card\\n  >\\n    <div class=\\\"flex flex-row items-center\\\">\\n      <div class=\\\"flex flex-col justify-center custom-bots__editor__path-list__path-item__handle\\\" data-test-path-list-item-select={{@index}} {{on \\\"click\\\" this.selectPath}}>\\n        {{#if this.isFirstPath}}\\n          <IcTooltipIcon @content=\\\"The first path cannot be re-ordered or deleted\\\" />\\n        {{else}}\\n          {{ic-interface-icon \\\"vertical-order\\\" solo=true}}\\n        {{/if}}\\n      </div>\\n      <div class=\\\"flex flex-col 'u__one-truncated-line custom-bots__editor__path-list__path-item__title pr-1 {{if (eq @path.title '') 'o__nameless'}}'\\\" {{on \\\"click\\\" this.selectPath}}>\\n        {{if (eq @path.title '') 'New path' @path.title}}\\n      </div>\\n      {{#if (and (not this.isValid) @publicAPI.shouldShowValidations)}}\\n        <div class=\\\"flex flex-col\\\" data-test-path-list-item-error={{@index}} {{on \\\"click\\\" this.selectPath}}>\\n          <IcTooltip as |context|>\\n            <context.opener>\\n              {{ic-interface-icon\\n                \\\"alert\\\"\\n                color=\\\"red\\\"\\n                data-test-path-list-item-error=@index\\n              }}\\n            </context.opener>\\n            <context.content>\\n              {{this.validationErrorMessages}}\\n            </context.content>\\n          </IcTooltip>\\n        </div>\\n      {{/if}}\\n      <div class=\\\"flex flex-col flex-1 custom-bots__editor__path-list__path-item__spacer\\\" {{on \\\"click\\\" this.selectPath}}></div>\\n      <div class=\\\"custom-bots__editor__path-list__path-item__options\\\">\\n        <IcDropdownOpener @groupList={{this.contextMenuOptions}}>\\n          <span data-test-context-menu={{@index}}>{{ic-interface-icon \\\"vertical-ellipsis\\\" size=\\\"12\\\" solo=true}}</span>\\n        </IcDropdownOpener>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"custom-bots__editor__hover-actions-wrapper pb-2\\\"\\n  data-test-path-list-item\\n>\\n  <div\\n    class=\\\"card u__pointer-cursor custom-bots__editor__path-list__path-item__card pr-1 {{if (eq @path @selectedPath) \\\"o__selected\\\"}}\\\"\\n    data-test-path-list-item-card\\n  >\\n    <div class=\\\"flex flex-row items-center\\\">\\n      <div class=\\\"flex flex-col justify-center custom-bots__editor__path-list__path-item__handle\\\" data-test-path-list-item-select={{@index}} {{on \\\"click\\\" this.selectPath}}>\\n        {{#if this.isFirstPath}}\\n          <IcTooltipIcon @content=\\\"The first path cannot be re-ordered or deleted\\\" />\\n        {{else}}\\n          {{ic-interface-icon \\\"vertical-order\\\" solo=true}}\\n        {{/if}}\\n      </div>\\n      <div class=\\\"flex flex-col 'u__one-truncated-line custom-bots__editor__path-list__path-item__title pr-1 {{if (eq @path.title '') 'o__nameless'}}'\\\" {{on \\\"click\\\" this.selectPath}}>\\n        {{if (eq @path.title '') 'New path' @path.title}}\\n      </div>\\n      {{#if (and (not this.isValid) @publicAPI.shouldShowValidations)}}\\n        <div class=\\\"flex flex-col\\\" data-test-path-list-item-error={{@index}} {{on \\\"click\\\" this.selectPath}}>\\n          <IcTooltip as |context|>\\n            <context.opener>\\n              {{ic-interface-icon\\n                \\\"alert\\\"\\n                color=\\\"red\\\"\\n                data-test-path-list-item-error=@index\\n              }}\\n            </context.opener>\\n            <context.content>\\n              {{this.validationErrorMessages}}\\n            </context.content>\\n          </IcTooltip>\\n        </div>\\n      {{/if}}\\n      <div class=\\\"flex flex-col flex-1 custom-bots__editor__path-list__path-item__spacer\\\" {{on \\\"click\\\" this.selectPath}}></div>\\n      <div class=\\\"custom-bots__editor__path-list__path-item__options\\\">\\n        <IcDropdownOpener @groupList={{this.contextMenuOptions}}>\\n          <span data-test-context-menu={{@index}}>{{ic-interface-icon \\\"vertical-ellipsis\\\" size=\\\"12\\\" solo=true}}</span>\\n        </IcDropdownOpener>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/path-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/path-item.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class PathItem extends Component {\n  @service appService;\n  @service intercomEventService;\n\n  get contextMenuOptions() {\n    let items = [\n      {\n        icon: 'new',\n        text: 'Add path below',\n        onSelectItem: () => this.args.publicAPI.actions.addPath(this.args.index + 1),\n      },\n    ];\n\n    if (!this.isFirstPath) {\n      items.push({\n        icon: 'trash',\n        text: 'Delete',\n        onSelectItem: () => this.args.publicAPI.actions.deletePath(this.args.path),\n      });\n    }\n\n    return [\n      {\n        items,\n      },\n    ];\n  }\n\n  get isFirstPath() {\n    return this.args.index === 0;\n  }\n\n  get isFirstPathConstraintValid() {\n    return (\n      this.isFirstPath &&\n      this.args.publicAPI.customBot.validations.attrs.firstPathConstraints.isValid\n    );\n  }\n\n  get isPathValid() {\n    return (\n      this.args.path.validations.attrs.incomingControls.isValid &&\n      this.args.path.validations.attrs.title.isValid &&\n      this.args.path.validations.attrs.autoFollowHardLimit.isValid &&\n      this.isPathContentsValid\n    );\n  }\n\n  get isPathContentsValid() {\n    return this.args.path.validations.attrs.steps.isValid;\n  }\n\n  get isFirstPathValid() {\n    return this.isFirstPathConstraintValid && this.isPathValid;\n  }\n\n  get isValid() {\n    return this.isFirstPath ? this.isFirstPathValid : this.isPathValid;\n  }\n\n  get validationErrorMessages() {\n    return [\n      ...this.args.path.validations.attrs.incomingControls.messages,\n      ...this.args.path.validations.attrs.title.messages,\n      ...this.args.path.validations.attrs.steps.messages,\n      ...this.args.path.validations.attrs.autoFollowHardLimit.messages,\n      ...(this.isFirstPath\n        ? this.args.publicAPI.customBot.validations.attrs.firstPathConstraints.messages\n        : []),\n    ]\n      .uniq()\n      .join(', ');\n  }\n\n  get customBot() {\n    return this.args.publicAPI.customBot;\n  }\n\n  @action\n  selectPath() {\n    this.args.publicAPI.actions.selectPath(this.args.path);\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'path',\n      models: [this.customBot],\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"o__new h-full\\\">\\n  <div class='custom-bots__editor__path-list__paths u__padt__20 flex-1 {{if @isFullscreen 'o__fullscreen u__padb__15' }}'>\\n    <div class=\\\"flex flex-row flex-1 gap-2 u__padl__20 u__padr__20\\\">\\n      <div class=\\\"flex flex-col space-y-2\\\">\\n        {{#each this.pathLabels as |label|}}\\n          <div class='custom-bots__editor__path-list__path-index'>{{label}}</div>\\n        {{/each}}\\n      </div>\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <SortableGroup @tagName=\\\"div\\\" class='custom-bots__editor__path-list__sortable-group' @onChange={{this.reorderPaths}} as |group|>\\n          <div class='custom-bots__editor__path-list__path-item__unsortable-item' data-test-path-list-unsortable-path>\\n            <CustomBots::Editor::PathItem\\n              @publicAPI={{@publicAPI}}\\n              @path={{@paths.firstObject}}\\n              @selectedPath={{@selectedPath}}\\n              @index={{0}}\\n              @maxPathTitleLength={{@maxPathTitleLength}}\\n            />\\n          </div>\\n          {{#each this.orderablePaths as |path index|}}\\n            <group.item\\n              @tagName=\\\"div\\\"\\n              @model={{path}}\\n              @group={{group}}\\n              @handle='.custom-bots__editor__path-list__path-item__handle'\\n              class='custom-bots__editor__path-list__path-item__sortable-item'\\n              data-test-path-list-sortable-path\\n            >\\n              <CustomBots::Editor::PathItem\\n                @publicAPI={{@publicAPI}}\\n                @path={{path}}\\n                @selectedPath={{@selectedPath}}\\n                @index={{add index 1}}\\n                @maxPathTitleLength={{@maxPathTitleLength}}\\n              />\\n            </group.item>\\n          {{/each}}\\n          <div class='custom-bots__editor__path-list__path-shadow-container'>\\n            {{#each @paths as |_ index|}}\\n              <div class='custom-bots__editor__path-list__path-shadow-container__shadow mb-2' />\\n            {{/each}}\\n          </div>\\n        </SortableGroup>\\n      </div>\\n    </div>\\n    <div class='u__pad__20 custom-bots__editor__path-list__add-new {{if @isFullscreen 'o__fullscreen' 'pt-3'}}'>\\n      <IcButton\\n        @label=\\\"Add new path\\\"\\n        @type=\\\"secondary\\\"\\n        @fit={{true}}\\n        @onClick={{this.addPath}}\\n        data-test-path-list-add-path={{true}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"o__new h-full\\\">\\n  <div class='custom-bots__editor__path-list__paths u__padt__20 flex-1 {{if @isFullscreen 'o__fullscreen u__padb__15' }}'>\\n    <div class=\\\"flex flex-row flex-1 gap-2 u__padl__20 u__padr__20\\\">\\n      <div class=\\\"flex flex-col space-y-2\\\">\\n        {{#each this.pathLabels as |label|}}\\n          <div class='custom-bots__editor__path-list__path-index'>{{label}}</div>\\n        {{/each}}\\n      </div>\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <SortableGroup @tagName=\\\"div\\\" class='custom-bots__editor__path-list__sortable-group' @onChange={{this.reorderPaths}} as |group|>\\n          <div class='custom-bots__editor__path-list__path-item__unsortable-item' data-test-path-list-unsortable-path>\\n            <CustomBots::Editor::PathItem\\n              @publicAPI={{@publicAPI}}\\n              @path={{@paths.firstObject}}\\n              @selectedPath={{@selectedPath}}\\n              @index={{0}}\\n              @maxPathTitleLength={{@maxPathTitleLength}}\\n            />\\n          </div>\\n          {{#each this.orderablePaths as |path index|}}\\n            <group.item\\n              @tagName=\\\"div\\\"\\n              @model={{path}}\\n              @group={{group}}\\n              @handle='.custom-bots__editor__path-list__path-item__handle'\\n              class='custom-bots__editor__path-list__path-item__sortable-item'\\n              data-test-path-list-sortable-path\\n            >\\n              <CustomBots::Editor::PathItem\\n                @publicAPI={{@publicAPI}}\\n                @path={{path}}\\n                @selectedPath={{@selectedPath}}\\n                @index={{add index 1}}\\n                @maxPathTitleLength={{@maxPathTitleLength}}\\n              />\\n            </group.item>\\n          {{/each}}\\n          <div class='custom-bots__editor__path-list__path-shadow-container'>\\n            {{#each @paths as |_ index|}}\\n              <div class='custom-bots__editor__path-list__path-shadow-container__shadow mb-2' />\\n            {{/each}}\\n          </div>\\n        </SortableGroup>\\n      </div>\\n    </div>\\n    <div class='u__pad__20 custom-bots__editor__path-list__add-new {{if @isFullscreen 'o__fullscreen' 'pt-3'}}'>\\n      <IcButton\\n        @label=\\\"Add new path\\\"\\n        @type=\\\"secondary\\\"\\n        @fit={{true}}\\n        @onClick={{this.addPath}}\\n        data-test-path-list-add-path={{true}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/path-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/path-list.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class PathList extends Component {\n  @service intercomEventService;\n\n  get orderablePaths() {\n    return this.args.paths.slice(1);\n  }\n\n  get customBot() {\n    return this.args.publicAPI.customBot;\n  }\n\n  get pathLabels() {\n    return this.args.paths.map(path => path.labelWithSeparator);\n  }\n\n  @action\n  addPath() {\n    this.args.publicAPI.actions.addPath();\n  }\n\n  @action\n  reorderPaths(paths) {\n    this.args.publicAPI.actions.reorderPaths([this.args.paths.firstObject, ...paths]);\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'reordered',\n      object: 'path',\n      models: [this.customBot],\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__flexes-to-1\\\">\\n  <CustomBots::Editor::EndState::Header\\n    @type=\\\"reply-button\\\"\\n    @hideDelete={{hideDeleteAllQuickReplies}}\\n    @publicAPI={{publicAPI}}\\n  />\\n  <div class=\\\"layout__box o__has-rows\\\" data-test-end-state-reply-buttons-editor>\\n    <div class=\\\"layout__box o__has-columns o__flexes-to-1 u__pad__20 u__padl__30 mt-3\\\">\\n      <SortableGroup\\n        @tagName=\\\"div\\\"\\n        class=\\\"layout__box o__has-rows custom-bots__editor__reply-button-editor__options-wrapper\\\"\\n        @onChange={{action publicAPI.actions.reorderQuickReplies step}} as |group|\\n      >\\n        {{#each step.controls as |control index|}}\\n          <group.item\\n            @tagName=\\\"div\\\"\\n            data-test-reply-button={{index}}\\n            class=\\\"layout__box o__has-columns o__centers-vertically u__mb__10 custom-bots__editor__hover-actions-wrapper\\\"\\n            @model={{control}}\\n            @group={{group}}\\n            @handle=\\\".js__reply-button-drag-handle\\\"\\n          >\\n            <div\\n              class=\\\"layout__box o__centers-vertically custom-bots__editor__hover-actions\\\"\\n            >\\n              <span\\n                class=\\\"js__reply-button-drag-handle cursor-pointer pt-1\\\"\\n                data-test-reply-button-drag-handle={{index}}\\n              >\\n                {{ic-interface-icon 'vertical-order' color='gray'}}\\n              </span>\\n              <a\\n                href=\\\"#\\\"\\n                class=\\\"quick-action o__destructive\\\"\\n                data-test-delete-quick-reply\\n                {{action publicAPI.actions.deleteQuickReply step control}}\\n              >\\n                {{ic-interface-icon \\\"trash\\\" solo=true}}\\n              </a>\\n            </div>\\n            {{#let (and publicAPI.shouldShowValidations (not control.validations.attrs.buttonLabel.isValid)) as |hasError|}}\\n              <Pulse::ExpandingInput\\n                @value={{control.buttonLabel}}\\n                @onUpdate={{set control.buttonLabel}}\\n                @isUnstyled={{true}}\\n                placeholder=\\\"Reply button\\\"\\n                maxlength={{maxQuickReplyLength}}\\n                class=\\\"\\n                  min-w-12 max-w-64\\n                  custom-bots__editor__quick-replies-input\\n                  {{if this.isSafari \\\"o__safari\\\"}}\\n                  {{if hasError \\\"o__error\\\"}}\\n                \\\"\\n                data-test-reply-option-input\\n              />\\n            {{/let}}\\n          </group.item>\\n        {{/each}}\\n        <a\\n          class=\\\"btn__tertiary\\\"\\n          data-test-add-reply-option\\n          {{action publicAPI.actions.addQuickReply step}}\\n        >\\n          {{ic-interface-icon \\\"new\\\"}} Add\\n        </a>\\n      </SortableGroup>\\n      <div\\n        class=\\\"u__ml__25 layout__box o__has-rows custom-bots__editor__reply-button-editor__goto\\\"\\n      >\\n        <p class=\\\"t__light-text mb-2\\\">\\n          Next paths:\\n        </p>\\n        {{#each step.controls as |control|}}\\n          <CustomBots::Editor::ReplyButtonEditor::OptionPathSelector\\n            @control={{control}}\\n            @availablePaths={{availablePaths}}\\n            @publicAPI={{publicAPI}}\\n          />\\n        {{/each}}\\n      </div>\\n    </div>\\n  </div>\\n  <CustomBots::Editor::BranchOnDataSelector @step={{step}} />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__flexes-to-1\\\">\\n  <CustomBots::Editor::EndState::Header\\n    @type=\\\"reply-button\\\"\\n    @hideDelete={{hideDeleteAllQuickReplies}}\\n    @publicAPI={{publicAPI}}\\n  />\\n  <div class=\\\"layout__box o__has-rows\\\" data-test-end-state-reply-buttons-editor>\\n    <div class=\\\"layout__box o__has-columns o__flexes-to-1 u__pad__20 u__padl__30 mt-3\\\">\\n      <SortableGroup\\n        @tagName=\\\"div\\\"\\n        class=\\\"layout__box o__has-rows custom-bots__editor__reply-button-editor__options-wrapper\\\"\\n        @onChange={{action publicAPI.actions.reorderQuickReplies step}} as |group|\\n      >\\n        {{#each step.controls as |control index|}}\\n          <group.item\\n            @tagName=\\\"div\\\"\\n            data-test-reply-button={{index}}\\n            class=\\\"layout__box o__has-columns o__centers-vertically u__mb__10 custom-bots__editor__hover-actions-wrapper\\\"\\n            @model={{control}}\\n            @group={{group}}\\n            @handle=\\\".js__reply-button-drag-handle\\\"\\n          >\\n            <div\\n              class=\\\"layout__box o__centers-vertically custom-bots__editor__hover-actions\\\"\\n            >\\n              <span\\n                class=\\\"js__reply-button-drag-handle cursor-pointer pt-1\\\"\\n                data-test-reply-button-drag-handle={{index}}\\n              >\\n                {{ic-interface-icon 'vertical-order' color='gray'}}\\n              </span>\\n              <a\\n                href=\\\"#\\\"\\n                class=\\\"quick-action o__destructive\\\"\\n                data-test-delete-quick-reply\\n                {{action publicAPI.actions.deleteQuickReply step control}}\\n              >\\n                {{ic-interface-icon \\\"trash\\\" solo=true}}\\n              </a>\\n            </div>\\n            {{#let (and publicAPI.shouldShowValidations (not control.validations.attrs.buttonLabel.isValid)) as |hasError|}}\\n              <Pulse::ExpandingInput\\n                @value={{control.buttonLabel}}\\n                @onUpdate={{set control.buttonLabel}}\\n                @isUnstyled={{true}}\\n                placeholder=\\\"Reply button\\\"\\n                maxlength={{maxQuickReplyLength}}\\n                class=\\\"\\n                  min-w-12 max-w-64\\n                  custom-bots__editor__quick-replies-input\\n                  {{if this.isSafari \\\"o__safari\\\"}}\\n                  {{if hasError \\\"o__error\\\"}}\\n                \\\"\\n                data-test-reply-option-input\\n              />\\n            {{/let}}\\n          </group.item>\\n        {{/each}}\\n        <a\\n          class=\\\"btn__tertiary\\\"\\n          data-test-add-reply-option\\n          {{action publicAPI.actions.addQuickReply step}}\\n        >\\n          {{ic-interface-icon \\\"new\\\"}} Add\\n        </a>\\n      </SortableGroup>\\n      <div\\n        class=\\\"u__ml__25 layout__box o__has-rows custom-bots__editor__reply-button-editor__goto\\\"\\n      >\\n        <p class=\\\"t__light-text mb-2\\\">\\n          Next paths:\\n        </p>\\n        {{#each step.controls as |control|}}\\n          <CustomBots::Editor::ReplyButtonEditor::OptionPathSelector\\n            @control={{control}}\\n            @availablePaths={{availablePaths}}\\n            @publicAPI={{publicAPI}}\\n          />\\n        {{/each}}\\n      </div>\\n    </div>\\n  </div>\\n  <CustomBots::Editor::BranchOnDataSelector @step={{step}} />\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/reply-button-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/reply-button-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport UserAgentDetector from '@intercom/embercom-core/lib/user-agent-detector';\n\nexport default Component.extend({\n  tagName: '',\n  isSafari: UserAgentDetector.isSafari(),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class='u__mb__10 custom-bots__editor__reply-button-editor__goto__row' ...attributes>\\n  <IcSelect\\n    @defaultLabel=\\\"Choose a path…\\\"\\n    @filterPlaceholder=\\\"Search paths\\\"\\n    @items={{this.availablePathsDropdownItems}}\\n    @onSelectItem={{this.selectPath}}\\n    @selectedValue={{@control.nextPath}}\\n    @hasError={{and\\n      @publicAPI.shouldShowValidations\\n      (not @control.validations.attrs.nextPath.isValid)\\n    }}\\n    @footerActions={{hash text=\\\"Add path\\\" action=(fn @publicAPI.actions.addPathAndLinkToControl @control)}}\\n    @mode=\\\"block\\\"\\n  />\\n  {{#if @control.nextPath}}\\n    <IcButton\\n      @icon=\\\"regular-path\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{queue\\n        (fn @publicAPI.actions.selectPath @control.nextPath)\\n        (track-analytics-event\\n          action='clicked'\\n          object='outgoing_path'\\n          models=(array this.customBot)\\n        )\\n      }}\\n      class='custom-bots__editor__reply-button-editor__goto__jump'\\n      data-test-option-path-selector-jump\\n    />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class='u__mb__10 custom-bots__editor__reply-button-editor__goto__row' ...attributes>\\n  <IcSelect\\n    @defaultLabel=\\\"Choose a path…\\\"\\n    @filterPlaceholder=\\\"Search paths\\\"\\n    @items={{this.availablePathsDropdownItems}}\\n    @onSelectItem={{this.selectPath}}\\n    @selectedValue={{@control.nextPath}}\\n    @hasError={{and\\n      @publicAPI.shouldShowValidations\\n      (not @control.validations.attrs.nextPath.isValid)\\n    }}\\n    @footerActions={{hash text=\\\"Add path\\\" action=(fn @publicAPI.actions.addPathAndLinkToControl @control)}}\\n    @mode=\\\"block\\\"\\n  />\\n  {{#if @control.nextPath}}\\n    <IcButton\\n      @icon=\\\"regular-path\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{queue\\n        (fn @publicAPI.actions.selectPath @control.nextPath)\\n        (track-analytics-event\\n          action='clicked'\\n          object='outgoing_path'\\n          models=(array this.customBot)\\n        )\\n      }}\\n      class='custom-bots__editor__reply-button-editor__goto__jump'\\n      data-test-option-path-selector-jump\\n    />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/reply-button-editor/option-path-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/reply-button-editor/option-path-selector.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class OptionPathSelector extends Component {\n  get availablePathsDropdownItems() {\n    return this.args.availablePaths.map(path => {\n      return {\n        text: path.titleWithLabel,\n        value: path,\n      };\n    });\n  }\n\n  get customBot() {\n    return this.args.publicAPI.customBot;\n  }\n\n  @action selectPath(path) {\n    this.args.publicAPI.actions.linkPathToControl(this.args.control, path);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__mt__20 u__mb__30 u__ml__10\\\">\\n  <Rules::Actions::ActionsEditor\\n    @rule={{@step.simpleActionRule}}\\n    @allowConversationAttributes={{this.app.canUseConversationAttributeData}}\\n    @allowedRuleActions={{this.allowedSimpleActions}}\\n    @actionEditorContext={{hash\\n      allowUnassignedAdminForAssign=true\\n      canRemoveAssignee=true\\n    }}\\n    @isDisabled={{false}}\\n    @actionsType=\\\"always\\\"\\n  />\\n</div>\\n<div class=\\\"u__ml__10\\\">\\n  <hr />\\n  <div class=\\\"layout__box o__flexes-to-1 u__mt__15 u__mb__15 t__light-text\\\">\\n    Add rules based on information you've collected <IcTooltipIcon\\n      @isInteractive={{true}}\\n    >\\n      <p>\\n        We'll apply the first rule that matches.\\n      </p>\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/live-chat-for-sales/how-do-i-set-up-follow-up-rules-for-my-leads\\\"\\n        @title=\\\"How follow up rules work\\\"\\n        @type=\\\"article\\\"\\n        @linkStyling=\\\"inline\\\"\\n      />\\n    </IcTooltipIcon>\\n  </div>\\n  <Paywall @featureKey=\\\"bot_rules\\\" as |paywall| >\\n    <paywall.Hover>\\n      <div class=\\\"layout__box {{if paywall.isActive \\\"o__has-columns\\\"}}\\\">\\n        <Rules::RulesEditor\\n          @rules={{if paywall.isActive this.emptyRules @step.followUpRules}}\\n          @allowedRuleActions={{this.allowedRuleActions}}\\n          @allowConversationAttributes={{this.app.canUseConversationAttributeData}}\\n          @allowedRuleConditionalAttributes={{this.allowedRuleConditionalAttributes}}\\n          @actionEditorContext={{hash\\n            allowUnassignedAdminForAssign=true\\n            canRemoveAssignee=true\\n          }}\\n          @isDisabled={{paywall.isActive}}\\n        />\\n      </div>\\n    </paywall.Hover>\\n  </Paywall>\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__mt__20 u__mb__30 u__ml__10\\\">\\n  <Rules::Actions::ActionsEditor\\n    @rule={{@step.simpleActionRule}}\\n    @allowConversationAttributes={{this.app.canUseConversationAttributeData}}\\n    @allowedRuleActions={{this.allowedSimpleActions}}\\n    @actionEditorContext={{hash\\n      allowUnassignedAdminForAssign=true\\n      canRemoveAssignee=true\\n    }}\\n    @isDisabled={{false}}\\n    @actionsType=\\\"always\\\"\\n  />\\n</div>\\n<div class=\\\"u__ml__10\\\">\\n  <hr />\\n  <div class=\\\"layout__box o__flexes-to-1 u__mt__15 u__mb__15 t__light-text\\\">\\n    Add rules based on information you've collected <IcTooltipIcon\\n      @isInteractive={{true}}\\n    >\\n      <p>\\n        We'll apply the first rule that matches.\\n      </p>\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/live-chat-for-sales/how-do-i-set-up-follow-up-rules-for-my-leads\\\"\\n        @title=\\\"How follow up rules work\\\"\\n        @type=\\\"article\\\"\\n        @linkStyling=\\\"inline\\\"\\n      />\\n    </IcTooltipIcon>\\n  </div>\\n  <Paywall @featureKey=\\\"bot_rules\\\" as |paywall| >\\n    <paywall.Hover>\\n      <div class=\\\"layout__box {{if paywall.isActive \\\"o__has-columns\\\"}}\\\">\\n        <Rules::RulesEditor\\n          @rules={{if paywall.isActive this.emptyRules @step.followUpRules}}\\n          @allowedRuleActions={{this.allowedRuleActions}}\\n          @allowConversationAttributes={{this.app.canUseConversationAttributeData}}\\n          @allowedRuleConditionalAttributes={{this.allowedRuleConditionalAttributes}}\\n          @actionEditorContext={{hash\\n            allowUnassignedAdminForAssign=true\\n            canRemoveAssignee=true\\n          }}\\n          @isDisabled={{paywall.isActive}}\\n        />\\n      </div>\\n    </paywall.Hover>\\n  </Paywall>\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/rules-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/rules-editor.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\n\nexport default class CustomBotsEditorRulesEditor extends Component {\n  @service appService;\n  @service attributeService;\n  @service store;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get sharedActions() {\n    let allowedActions = ['assign-conversation', 'tag-user'];\n\n    if (!this.args.isConvoTaggingDisabled) {\n      allowedActions.push('add-tag-to-conversation');\n    }\n\n    if (this.app.hasSalesforceIntegration) {\n      allowedActions.push('send-to-salesforce');\n    }\n\n    if (this.app.hasHubSpotIntegration) {\n      allowedActions.push('send-to-hubspot');\n    }\n\n    if (this.app.hasMarketoEnrichmentIntegration) {\n      allowedActions.push('send-to-marketo');\n      if (this.app.canUseMarketoTriggerCampaigns) {\n        allowedActions.push('trigger-marketo-campaign');\n      }\n    }\n\n    if (this.app.canUsePriorityRules) {\n      allowedActions.push('change-conversation-priority');\n    }\n\n    return allowedActions;\n  }\n\n  get allowedSimpleActions() {\n    let allowedActions = ['send-app-without-introduction', 'close-conversation'];\n    let sharedActions = this.sharedActions;\n    return sharedActions.concat(allowedActions);\n  }\n\n  get allowedRuleActions() {\n    let allowedActions = [\n      'send-app-with-introduction',\n      'close-conversation',\n      'send-follow-up-reply',\n    ];\n\n    let sharedActions = this.sharedActions;\n\n    return sharedActions.concat(allowedActions);\n  }\n\n  get allowedRuleConditionalAttributes() {\n    return this.attributeService.customBotFollowupActionAttributes;\n  }\n\n  get emptyRules() {\n    return [];\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<style>\\n  .custom-bots__editor {\\n    --suggestion_text_color: {{suggestionColor.text_color}};\\n    --suggestion_background_color: {{suggestionColor.background_color}};\\n    --suggestion_error_text_color: {{suggestionErrorColor.text_color}};\\n    --suggestion_error_background_color: {{suggestionErrorColor.background_color}};\\n  }\\n</style>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<style>\\n  .custom-bots__editor {\\n    --suggestion_text_color: {{suggestionColor.text_color}};\\n    --suggestion_background_color: {{suggestionColor.background_color}};\\n    --suggestion_error_text_color: {{suggestionErrorColor.text_color}};\\n    --suggestion_error_background_color: {{suggestionErrorColor.background_color}};\\n  }\\n</style>\\n\",\"moduleName\":\"embercom/components/custom-bots/editor/styles.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/editor/styles.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport intercomMessengerColors from '@intercom/intercom-messenger-colors';\n\nconst conversationBaseColor = '#334BFA';\nconst conversationErrorColor = '#fd3a57';\nconst conversationColors = intercomMessengerColors({\n  primaryColor: conversationBaseColor,\n  secondaryColor: conversationBaseColor, // Doesn't influence the QR colors\n  darkenAmount: 10,\n});\n\nconst conversationErrorColors = intercomMessengerColors({\n  primaryColor: conversationErrorColor,\n  secondaryColor: conversationErrorColor, // Doesn't influence the QR colors\n  darkenAmount: 10,\n});\n\nexport default Component.extend({\n  suggestionColor: {\n    text_color: conversationColors.quick_reply_text_color,\n    background_color: conversationColors.quick_reply_background_color,\n  },\n  suggestionErrorColor: {\n    text_color: conversationErrorColors.quick_reply_text_color,\n    background_color: conversationErrorColors.quick_reply_background_color,\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row flex-1 u__relative\\\" data-test-path-analysis-completion-node>\\n  {{#if @dropoffNodeVisible}}\\n    <div class=\\\"path-analysis__children-left-line\\\"></div>\\n  {{/if}}\\n  <div class=\\\"flex flex-col items-end\\\">\\n    <div class=\\\"flex flex-row items-center path-analysis__card-completion\\\">\\n      <span class=\\\"path-analysis__card-icon-completion\\\">{{ic-interface-icon \\\"final-path\\\"}}</span>\\n      <div class=\\\"path-analysis__card-line-left-first\\\" />\\n      <span class=\\\"u__one-truncated-line path-analysis__card-title\\\">{{pluralize @completions \\\"completion\\\"}} ({{this.roundCompletionPercentage}}%)</span>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row flex-1 u__relative\\\" data-test-path-analysis-completion-node>\\n  {{#if @dropoffNodeVisible}}\\n    <div class=\\\"path-analysis__children-left-line\\\"></div>\\n  {{/if}}\\n  <div class=\\\"flex flex-col items-end\\\">\\n    <div class=\\\"flex flex-row items-center path-analysis__card-completion\\\">\\n      <span class=\\\"path-analysis__card-icon-completion\\\">{{ic-interface-icon \\\"final-path\\\"}}</span>\\n      <div class=\\\"path-analysis__card-line-left-first\\\" />\\n      <span class=\\\"u__one-truncated-line path-analysis__card-title\\\">{{pluralize @completions \\\"completion\\\"}} ({{this.roundCompletionPercentage}}%)</span>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/path-analysis/completion-node.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/path-analysis/completion-node.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class CompletionNode extends Component {\n  get completionPercentage() {\n    return (this.args.completions / this.args.views) * 100;\n  }\n\n  get roundCompletionPercentage() {\n    return Math.round(this.completionPercentage) || 0;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row flex-1 u__relative\\\" data-test-path-analysis-dropoff-node>\\n  <div class=\\\"flex flex-col items-end\\\">\\n    <div class=\\\"flex flex-row items-center path-analysis__card-dropoff\\\">\\n      <span class=\\\"path-analysis__card-icon-dropoff\\\">{{ic-interface-icon \\\"drop-off\\\"}}</span>\\n      <div class=\\\"path-analysis__card-line-left\\\" />\\n      <span class=\\\"u__one-truncated-line path-analysis__card-title\\\">{{pluralize @dropoff \\\"drop-off\\\"}} ({{this.roundDropoffPercentage}}%)</span>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row flex-1 u__relative\\\" data-test-path-analysis-dropoff-node>\\n  <div class=\\\"flex flex-col items-end\\\">\\n    <div class=\\\"flex flex-row items-center path-analysis__card-dropoff\\\">\\n      <span class=\\\"path-analysis__card-icon-dropoff\\\">{{ic-interface-icon \\\"drop-off\\\"}}</span>\\n      <div class=\\\"path-analysis__card-line-left\\\" />\\n      <span class=\\\"u__one-truncated-line path-analysis__card-title\\\">{{pluralize @dropoff \\\"drop-off\\\"}} ({{this.roundDropoffPercentage}}%)</span>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/path-analysis/dropoff-node.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/path-analysis/dropoff-node.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class DropoffNode extends Component {\n  get dropoffPercentage() {\n    return (this.args.dropoff / this.args.views) * 100;\n  }\n\n  get roundDropoffPercentage() {\n    return Math.round(this.dropoffPercentage) || 0;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row flex-1 u__relative\\\" data-test-path-analysis-node>\\n  {{#unless @isLastChild}}\\n    <div class=\\\"path-analysis__children-left-line\\\"></div>\\n  {{/unless}}\\n  <div class=\\\"flex flex-col\\\">\\n    <div class=\\\"flex flex-col items-end\\\">\\n      <div class=\\\"flex flex-row items-center z-10 path-analysis__card{{if this.isZeroViewNode '-noviews'}}\\\" data-test-path-analysis-node-card {{on \\\"click\\\" this.toggleExpanded}}>\\n        {{#unless this.isRootNode}}\\n          <div class=\\\"path-analysis__card-line-left{{if (eq @index 0) '-first'}}\\\" />\\n        {{/unless}}\\n        <div class=\\\"flex flex-col\\\">\\n          <div class=\\\"flex flex-row path-analysis__card-main\\\">\\n            {{#if this.isZeroViewNode}}\\n              <span class=\\\"path-analysis__card-icon-noviews\\\">{{ic-interface-icon \\\"not-seen-path\\\"}}</span>\\n            {{else}}\\n              <span class=\\\"path-analysis__card-icon-regular\\\">{{ic-interface-icon \\\"regular-path\\\"}}</span>\\n            {{/if}}\\n            <span class=\\\"u__one-truncated-line path-analysis__card-title\\\">\\n              {{@currentPath.labelWithSeparator}} {{@currentPath.title}}\\n            </span>\\n            <span class=\\\"path-analysis__card-info-icon\\\">{{ic-interface-icon \\\"info\\\"}}</span>\\n          </div>\\n          {{#liquid-if this.expanded class=\\\"animation__flex-grow\\\"}}\\n            <CustomBots::PathAnalysis::Node::DetailedView\\n              @steps={{@currentPath.steps}}\\n              @executionsForCurrentJourney={{this.executionsForCurrentJourney}}\\n            />\\n          {{/liquid-if}}\\n        </div>\\n      </div>\\n      <span class=\\\"path-analysis__node-stats text-gray u__mt__5\\\" data-test-path-analysis-node-view-count>\\n        {{pluralize this.viewsForCurrentJourney \\\"view\\\"}} {{unless this.isRootNode (concat \\\"(\\\" this.viewsPercentage \\\"%)\\\")}}\\n      </span>\\n    </div>\\n  </div>\\n  {{#if (and this.isFinalPath (not this.isZeroViewNode))}}\\n    <div class=\\\"flex flex-col flex-1 gap-4 path-analysis__children\\\" data-test-path-analysis-node-children>\\n      <CustomBots::PathAnalysis::CompletionNode @completions={{this.completions}} @views={{this.viewsForCurrentJourney}} @dropoffNodeVisible={{this.displayDropoffNode}}/>\\n      {{#if this.displayDropoffNode}}\\n        <CustomBots::PathAnalysis::DropoffNode @dropoff={{this.dropoff}} @views={{this.viewsForCurrentJourney}} />\\n      {{/if}}\\n    </div>\\n  {{else}}\\n    {{#liquid-if (and this.hasChildren this.showChildren) class=\\\"animation__flex-grow\\\"}}\\n      <a class=\\\"path-analysis__collapse-children z-20\\\" {{on \\\"click\\\" this.toggleChildren}} data-test-path-analysis-node-child-hide />\\n      <div class=\\\"flex flex-col flex-1 gap-4 path-analysis__children\\\" data-test-path-analysis-node-children>\\n        {{#each this.children as |child index|}}\\n          <CustomBots::PathAnalysis::Node\\n            @customBot={{@customBot}}\\n            @journeyMap={{@journeyMap}}\\n            @currentJourney={{append @currentJourney child._id}}\\n            @currentPath={{child}}\\n            @previousPath={{@currentPath}}\\n            @index={{index}}\\n            @isLastChild={{and (eq index this.childFinalIndex) (not this.displayDropoffNode)}}\\n            @viewsForParentNode={{this.viewsForCurrentJourney}}\\n          />\\n        {{/each}}\\n        {{#if this.displayDropoffNode}}\\n          <CustomBots::PathAnalysis::DropoffNode @dropoff={{this.dropoff}} @views={{this.viewsForCurrentJourney}} />\\n        {{/if}}\\n      </div>\\n    {{else}}\\n      {{#if (gt this.children.length 0)}}\\n        <div class=\\\"path-analysis__hidden-count\\\" {{on \\\"click\\\" this.toggleChildren}} data-test-path-analysis-node-child-show>{{this.children.length}} more</div>\\n      {{/if}}\\n    {{/liquid-if}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row flex-1 u__relative\\\" data-test-path-analysis-node>\\n  {{#unless @isLastChild}}\\n    <div class=\\\"path-analysis__children-left-line\\\"></div>\\n  {{/unless}}\\n  <div class=\\\"flex flex-col\\\">\\n    <div class=\\\"flex flex-col items-end\\\">\\n      <div class=\\\"flex flex-row items-center z-10 path-analysis__card{{if this.isZeroViewNode '-noviews'}}\\\" data-test-path-analysis-node-card {{on \\\"click\\\" this.toggleExpanded}}>\\n        {{#unless this.isRootNode}}\\n          <div class=\\\"path-analysis__card-line-left{{if (eq @index 0) '-first'}}\\\" />\\n        {{/unless}}\\n        <div class=\\\"flex flex-col\\\">\\n          <div class=\\\"flex flex-row path-analysis__card-main\\\">\\n            {{#if this.isZeroViewNode}}\\n              <span class=\\\"path-analysis__card-icon-noviews\\\">{{ic-interface-icon \\\"not-seen-path\\\"}}</span>\\n            {{else}}\\n              <span class=\\\"path-analysis__card-icon-regular\\\">{{ic-interface-icon \\\"regular-path\\\"}}</span>\\n            {{/if}}\\n            <span class=\\\"u__one-truncated-line path-analysis__card-title\\\">\\n              {{@currentPath.labelWithSeparator}} {{@currentPath.title}}\\n            </span>\\n            <span class=\\\"path-analysis__card-info-icon\\\">{{ic-interface-icon \\\"info\\\"}}</span>\\n          </div>\\n          {{#liquid-if this.expanded class=\\\"animation__flex-grow\\\"}}\\n            <CustomBots::PathAnalysis::Node::DetailedView\\n              @steps={{@currentPath.steps}}\\n              @executionsForCurrentJourney={{this.executionsForCurrentJourney}}\\n            />\\n          {{/liquid-if}}\\n        </div>\\n      </div>\\n      <span class=\\\"path-analysis__node-stats text-gray u__mt__5\\\" data-test-path-analysis-node-view-count>\\n        {{pluralize this.viewsForCurrentJourney \\\"view\\\"}} {{unless this.isRootNode (concat \\\"(\\\" this.viewsPercentage \\\"%)\\\")}}\\n      </span>\\n    </div>\\n  </div>\\n  {{#if (and this.isFinalPath (not this.isZeroViewNode))}}\\n    <div class=\\\"flex flex-col flex-1 gap-4 path-analysis__children\\\" data-test-path-analysis-node-children>\\n      <CustomBots::PathAnalysis::CompletionNode @completions={{this.completions}} @views={{this.viewsForCurrentJourney}} @dropoffNodeVisible={{this.displayDropoffNode}}/>\\n      {{#if this.displayDropoffNode}}\\n        <CustomBots::PathAnalysis::DropoffNode @dropoff={{this.dropoff}} @views={{this.viewsForCurrentJourney}} />\\n      {{/if}}\\n    </div>\\n  {{else}}\\n    {{#liquid-if (and this.hasChildren this.showChildren) class=\\\"animation__flex-grow\\\"}}\\n      <a class=\\\"path-analysis__collapse-children z-20\\\" {{on \\\"click\\\" this.toggleChildren}} data-test-path-analysis-node-child-hide />\\n      <div class=\\\"flex flex-col flex-1 gap-4 path-analysis__children\\\" data-test-path-analysis-node-children>\\n        {{#each this.children as |child index|}}\\n          <CustomBots::PathAnalysis::Node\\n            @customBot={{@customBot}}\\n            @journeyMap={{@journeyMap}}\\n            @currentJourney={{append @currentJourney child._id}}\\n            @currentPath={{child}}\\n            @previousPath={{@currentPath}}\\n            @index={{index}}\\n            @isLastChild={{and (eq index this.childFinalIndex) (not this.displayDropoffNode)}}\\n            @viewsForParentNode={{this.viewsForCurrentJourney}}\\n          />\\n        {{/each}}\\n        {{#if this.displayDropoffNode}}\\n          <CustomBots::PathAnalysis::DropoffNode @dropoff={{this.dropoff}} @views={{this.viewsForCurrentJourney}} />\\n        {{/if}}\\n      </div>\\n    {{else}}\\n      {{#if (gt this.children.length 0)}}\\n        <div class=\\\"path-analysis__hidden-count\\\" {{on \\\"click\\\" this.toggleChildren}} data-test-path-analysis-node-child-show>{{this.children.length}} more</div>\\n      {{/if}}\\n    {{/liquid-if}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/path-analysis/node.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/path-analysis/node.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class Node extends Component {\n  @service intercomEventService;\n  @tracked showChildren = this.args.currentJourney.length <= 1;\n  @tracked expanded = false;\n\n  get showRightLine() {\n    return this.hasChildren && this.showChildren;\n  }\n\n  get childFinalIndex() {\n    return this.children.length - 1;\n  }\n\n  get hasChildren() {\n    return this.children.length > 0;\n  }\n\n  get isRootNode() {\n    return this.args.currentJourney.length <= 1;\n  }\n\n  get isZeroViewNode() {\n    return this.viewsForCurrentJourney === 0;\n  }\n\n  get isFinalPath() {\n    return this.children.length === 0;\n  }\n\n  get isInstantFinishPath() {\n    return this.args.currentPath.steps.length === 1;\n  }\n\n  get executionsForCurrentJourney() {\n    return this.executionsForJourney(this.args.currentJourney);\n  }\n\n  executionsForJourney(journey) {\n    return this.args.journeyMap.get(journey.join(','));\n  }\n\n  get viewsForCurrentJourney() {\n    return this.viewsForJourney(\n      this.args.currentJourney,\n      this.args.previousPath,\n      this.args.currentPath._id,\n    );\n  }\n\n  viewsForRootNode(journey) {\n    let executions = this.executionsForJourney(journey);\n    if (!executions) {\n      return 0;\n    }\n    return Math.max(...Object.values(executions)) || 0;\n  }\n\n  viewsForNonRootNode(previousJourney, previousPath, currentPathId) {\n    let executions = this.executionsForJourney(previousJourney);\n    if (!executions) {\n      return 0;\n    }\n\n    let controlsLeadingToCurrentPath = previousPath.steps.lastObject.controls.filter(\n      control => control.nextPath._id === currentPathId,\n    );\n    let views = 0;\n    controlsLeadingToCurrentPath.forEach(control => (views += executions[control.uuid] || 0));\n    return views;\n  }\n\n  viewsForJourney(journey, previousPath, currentPathId) {\n    if (journey.length === 1) {\n      return this.viewsForRootNode(journey);\n    }\n\n    let previousJourney = journey.slice(0, -1);\n    return this.viewsForNonRootNode(previousJourney, previousPath, currentPathId);\n  }\n\n  get viewsPercentage() {\n    let percentage = (this.viewsForCurrentJourney / this.args.viewsForParentNode) * 100;\n    return Math.round(percentage) || 0;\n  }\n\n  get completions() {\n    if (!this.isFinalPath) {\n      throw Error('Path is not a final path');\n    }\n\n    if (this.isInstantFinishPath) {\n      return this.viewsForCurrentJourney;\n    }\n\n    let executions = this.executionsForCurrentJourney;\n    if (!executions) {\n      return 0;\n    }\n\n    let stepsWithControls = this.args.currentPath.steps.filter(step => step.hasControls);\n    let lastControl = stepsWithControls.lastObject.controls.firstObject;\n    return executions[lastControl.uuid] || 0;\n  }\n\n  get dropoff() {\n    if (this.isFinalPath) {\n      return this.viewsForCurrentJourney - this.completions;\n    }\n\n    if (this.isInstantFinishPath) {\n      return 0;\n    }\n\n    let childViews = this.children.map(child => {\n      let childPathId = child._id;\n      return this.viewsForJourney(\n        [...this.args.currentJourney, childPathId],\n        this.args.currentPath,\n        childPathId,\n      );\n    });\n    let sumChildViews = childViews.reduce((a, b) => a + b, 0);\n\n    return this.viewsForCurrentJourney - sumChildViews;\n  }\n\n  get displayDropoffNode() {\n    return this.dropoff > 0;\n  }\n\n  get children() {\n    return this.args.currentPath.steps.lastObject.replyButtons\n      .map(button => button.nextPath)\n      .uniq();\n  }\n\n  @action toggleChildren() {\n    if (this.args.depth === 0 || !this.hasChildren) {\n      return;\n    }\n\n    this.showChildren = !this.showChildren;\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'toggled',\n      object: 'path-analysis-show-children',\n      show_children: this.showChildren,\n      path_id: this.args.currentPath._id,\n      custom_bot_id: this.args.customBot.id,\n      custom_bot_target: this.args.customBot.target,\n    });\n  }\n\n  @action toggleExpanded() {\n    this.expanded = !this.expanded;\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'toggled',\n      object: 'path-analysis-expand-path',\n      expanded: this.expanded,\n      path_id: this.args.currentPath._id,\n      custom_bot_id: this.args.customBot.id,\n      custom_bot_target: this.args.customBot.target,\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip @isDisabled={{not @hoverText}} as |t|>\\n  <t.opener>\\n    <div class=\\\"flex flex-row path-analysis__card-expanded__item\\\" data-test-path-analysis-node-detailed-view-item>\\n      <div class=\\\"flex flex-col flex-1 u__one-truncated-line pr-2\\\" data-test-path-analysis-node-detailed-view-item-text>{{@text}}</div>\\n      <div class=\\\"flex flex-col\\\" data-test-path-analysis-node-detailed-view-item-executions>{{@executions}}</div>\\n    </div>\\n  </t.opener>\\n  <t.content>\\n    {{@executions}} {{pluralize @executions \\\"people\\\" without-count=true}} {{@hoverText}}\\n  </t.content>\\n</IcTooltip>\\n\", {\"contents\":\"<IcTooltip @isDisabled={{not @hoverText}} as |t|>\\n  <t.opener>\\n    <div class=\\\"flex flex-row path-analysis__card-expanded__item\\\" data-test-path-analysis-node-detailed-view-item>\\n      <div class=\\\"flex flex-col flex-1 u__one-truncated-line pr-2\\\" data-test-path-analysis-node-detailed-view-item-text>{{@text}}</div>\\n      <div class=\\\"flex flex-col\\\" data-test-path-analysis-node-detailed-view-item-executions>{{@executions}}</div>\\n    </div>\\n  </t.opener>\\n  <t.content>\\n    {{@executions}} {{pluralize @executions \\\"people\\\" without-count=true}} {{@hoverText}}\\n  </t.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/custom-bots/path-analysis/node/detailed-view-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/path-analysis/node/detailed-view-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col path-analysis__card-expanded\\\" data-test-path-analysis-node-detailed-view>\\n  <div class=\\\"mt-3\\\">\\n    {{#each this.singleControlSteps as |step|}}\\n      <CustomBots::PathAnalysis::Node::DetailedViewItem\\n        @text={{step.text}}\\n        @executions={{step.executions}}\\n        @hoverText={{step.hoverText}}\\n      />\\n    {{/each}}\\n\\n    {{#if this.buttonControls.length}}\\n      <div class=\\\"mt-2 path-analysis__card-expanded__separator\\\">\\n        <div class=\\\"mt-2\\\">\\n          {{#each this.buttonControls as |button|}}\\n            <CustomBots::PathAnalysis::Node::DetailedViewItem\\n              @text={{button.text}}\\n              @executions={{button.executions}}\\n              @hoverText={{button.hoverText}}\\n            />\\n          {{/each}}\\n        </div>\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col path-analysis__card-expanded\\\" data-test-path-analysis-node-detailed-view>\\n  <div class=\\\"mt-3\\\">\\n    {{#each this.singleControlSteps as |step|}}\\n      <CustomBots::PathAnalysis::Node::DetailedViewItem\\n        @text={{step.text}}\\n        @executions={{step.executions}}\\n        @hoverText={{step.hoverText}}\\n      />\\n    {{/each}}\\n\\n    {{#if this.buttonControls.length}}\\n      <div class=\\\"mt-2 path-analysis__card-expanded__separator\\\">\\n        <div class=\\\"mt-2\\\">\\n          {{#each this.buttonControls as |button|}}\\n            <CustomBots::PathAnalysis::Node::DetailedViewItem\\n              @text={{button.text}}\\n              @executions={{button.executions}}\\n              @hoverText={{button.hoverText}}\\n            />\\n          {{/each}}\\n        </div>\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/path-analysis/node/detailed-view.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/path-analysis/node/detailed-view.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class DetailedView extends Component {\n  get controlExecutions() {\n    return this.args.executionsForCurrentJourney || {};\n  }\n\n  contentForSingleControlStep(step) {\n    if (step.isChatMessage || step.isAnswerBot) {\n      return step.oneLineSummary;\n    } else if (step.isAttributeCollector) {\n      return step.controls.firstObject.buttonLabel;\n    } else if (step.isFreeInput) {\n      return 'Customer reply';\n    }\n  }\n\n  hoverTextForStep(step) {\n    if (step.isChatMessage || step.isAnswerBot) {\n      return null;\n    } else if (step.isFreeInput) {\n      return 'typed in a reply';\n    } else if (step.isAttributeCollector) {\n      return 'filled in the data field';\n    } else if (step.isReplyButtons) {\n      return 'clicked this button';\n    }\n  }\n\n  executionsForSingleControlStep(step) {\n    if (step.isChatMessage || step.isAnswerBot) {\n      return null;\n    }\n\n    return this.controlExecutions[step.controls.firstObject.uuid] || 0;\n  }\n\n  get singleControlSteps() {\n    let visibleSingleControlSteps = this.args.steps.filter(\n      step =>\n        ((step.hasControls && step.hasNoActions) || step.isAnswerBot) &&\n        !step.isMidPathActions &&\n        !step.isTerminal &&\n        !step.isReplyButtons,\n    );\n    return visibleSingleControlSteps.map(step => ({\n      text: this.contentForSingleControlStep(step),\n      executions: this.executionsForSingleControlStep(step),\n      hoverText: this.hoverTextForStep(step),\n    }));\n  }\n\n  get buttonControls() {\n    let lastStep = this.args.steps.lastObject;\n    return lastStep.replyButtons.map(button => ({\n      text: button.buttonLabel,\n      executions: this.controlExecutions[button.uuid] || 0,\n      hoverText: this.hoverTextForStep(lastStep),\n    }));\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if this.headerDataHasLoaded}}\\n  <div class=\\\"flex flex-row items-center justify-end gap-2 mb-3\\\">\\n    <Text @styling=\\\"muted\\\">\\n      Showing data for the version saved on:\\n    </Text>\\n    <IcSelect @items={{this.dropdownItems}} @selectedValue={{this.selectedSnapshotId}} @onSelectItem={{action this.updateSelectedSnapshotId}} />\\n  </div>\\n  {{#if this.bodyDataHasLoaded}}\\n    <div class=\\\"path-analysis__container bg-gray-lightest overflow-x-scroll {{if @absolutePositioning \\\"absolute\\\"}} inset-x-0 mb-16 pl-1 pt-10 pb-10 pr-8\\\" data-test-path-analysis-container>\\n      <div class=\\\"path-analysis__canvas\\\">\\n        <div class=\\\"flex flex-col justify-center flex-1\\\">\\n          <CustomBots::PathAnalysis::Node\\n            @customBot={{@customBot}}\\n            @journeyMap={{this.journeyMap}}\\n            @currentJourney={{this.startingJourney}}\\n            @currentPath={{this.startingPath}}\\n            @index={{0}}\\n            @isLastChild={{true}}\\n          />\\n        </div>\\n      </div>\\n    </div>\\n  {{else}}\\n    <div class=\\\"layout__box o__centers-all p-16\\\" data-test-path-analysis-container-loader>\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    </div>\\n  {{/if}}\\n{{else}}\\n  <div class=\\\"layout__box o__centers-all p-16\\\" data-test-path-analysis-loader>\\n    <IcLoadingIndicator @size=\\\"large\\\" />\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if this.headerDataHasLoaded}}\\n  <div class=\\\"flex flex-row items-center justify-end gap-2 mb-3\\\">\\n    <Text @styling=\\\"muted\\\">\\n      Showing data for the version saved on:\\n    </Text>\\n    <IcSelect @items={{this.dropdownItems}} @selectedValue={{this.selectedSnapshotId}} @onSelectItem={{action this.updateSelectedSnapshotId}} />\\n  </div>\\n  {{#if this.bodyDataHasLoaded}}\\n    <div class=\\\"path-analysis__container bg-gray-lightest overflow-x-scroll {{if @absolutePositioning \\\"absolute\\\"}} inset-x-0 mb-16 pl-1 pt-10 pb-10 pr-8\\\" data-test-path-analysis-container>\\n      <div class=\\\"path-analysis__canvas\\\">\\n        <div class=\\\"flex flex-col justify-center flex-1\\\">\\n          <CustomBots::PathAnalysis::Node\\n            @customBot={{@customBot}}\\n            @journeyMap={{this.journeyMap}}\\n            @currentJourney={{this.startingJourney}}\\n            @currentPath={{this.startingPath}}\\n            @index={{0}}\\n            @isLastChild={{true}}\\n          />\\n        </div>\\n      </div>\\n    </div>\\n  {{else}}\\n    <div class=\\\"layout__box o__centers-all p-16\\\" data-test-path-analysis-container-loader>\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    </div>\\n  {{/if}}\\n{{else}}\\n  <div class=\\\"layout__box o__centers-all p-16\\\" data-test-path-analysis-loader>\\n    <IcLoadingIndicator @size=\\\"large\\\" />\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/custom-bots/path-analysis/root.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/path-analysis/root.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport { action } from '@ember/object';\nimport ajax from 'embercom/lib/ajax';\nimport { waitForProperty } from 'ember-concurrency';\n\nexport default class Root extends Component {\n  @service appService;\n  @service notificationsService;\n  @service store;\n  @service intercomEventService;\n\n  @tracked dropdownItems;\n  @tracked selectedSnapshotId;\n  @tracked selectedSnapshot;\n  @tracked journeyMap;\n\n  constructor() {\n    super(...arguments);\n    this.loadJourneysForCurrentSnapshot.perform();\n  }\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get startingJourney() {\n    return [this.startingPath._id];\n  }\n\n  get startingPath() {\n    return this.selectedSnapshot.paths.firstObject;\n  }\n\n  get hasDropdownItems() {\n    return this.dropdownItems !== undefined;\n  }\n\n  get hasJourneyMap() {\n    return this.journeyMap !== undefined;\n  }\n\n  get hasSelectedSnapshotId() {\n    return this.selectedSnapshotId !== undefined;\n  }\n\n  get headerDataHasLoaded() {\n    return this.hasSelectedSnapshotId && this.hasDropdownItems;\n  }\n\n  get bodyDataHasLoaded() {\n    return this.hasJourneyMap;\n  }\n\n  buildJourneyMap(journeys) {\n    let map = new Map();\n\n    journeys.map(journey => {\n      map.set(journey.paths.join(','), journey.control_executions);\n    });\n\n    return map;\n  }\n\n  buildVersionDropdownItems(summaries) {\n    let dropdownItems = [];\n    let initialDataTimestamp = new Date('October 2, 2019');\n\n    summaries.forEach(summary => {\n      dropdownItems.push({\n        text: summary.created_at,\n        value: summary.id,\n        component: 'custom-bots/path-analysis/root/version-dropdown-item',\n      });\n    });\n\n    // Add a note at the bottom of the dropdown if we are showind a snapshot prior to\n    // October 2nd 2019 (the first full day of Path analysis data in ElasticSearch)\n    if (new Date(summaries.lastObject.created_at) < initialDataTimestamp) {\n      dropdownItems.push({\n        text: 'Data collection began Oct 2, 2019',\n        value: '0',\n        component: 'custom-bots/path-analysis/root/version-dropdown-data-note',\n        isDisabled: true,\n      });\n    }\n\n    return [{ items: dropdownItems }];\n  }\n\n  @action updateSelectedSnapshotId(snapshotId) {\n    this.journeyMap = undefined;\n    this.selectedSnapshotId = snapshotId;\n    this.fetchSnapshot.perform();\n    this.loadJourneysForSelectedSnapshot.perform();\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'path-analysis-version-dropdown',\n      custom_bot_id: this.args.customBot.id,\n      custom_bot_target: this.args.customBot.target,\n      custom_bot_snapshot_id: snapshotId,\n    });\n  }\n\n  @task\n  *loadJourneysForCurrentSnapshot() {\n    this.loadSnapshotSummaries.perform();\n    yield waitForProperty(this.loadSnapshotSummaries, 'isIdle');\n    this.loadJourneysForSelectedSnapshot.perform();\n  }\n\n  @task\n  *loadSnapshotSummaries() {\n    try {\n      let data = {\n        custom_bot_id: this.args.customBot.id,\n        app_id: this.app.id,\n      };\n      let summaries = yield ajax({\n        data,\n        type: 'GET',\n        noRedirectOn401: true,\n        url: `/ember/operator_custom_bots/${this.args.customBot.id}/path_analysis_versions`,\n      });\n      this.selectedSnapshotId = summaries.firstObject.id.toString();\n      this.dropdownItems = this.buildVersionDropdownItems(summaries);\n      this.fetchSnapshot.perform();\n    } catch (error) {\n      this.notificationsService.notifyError(\n        'Unable to fetch Path analysis data, please try again later.',\n      );\n    }\n  }\n\n  @task\n  *loadJourneysForSelectedSnapshot() {\n    try {\n      let data = {\n        snapshot_id: this.selectedSnapshotId,\n        app_id: this.app.id,\n      };\n      let journeys = yield ajax({\n        data,\n        type: 'GET',\n        noRedirectOn401: true,\n        url: `/ember/operator_custom_bots/${this.args.customBot.id}/path_analysis`,\n      });\n      this.journeyMap = this.buildJourneyMap(journeys);\n    } catch (error) {\n      this.notificationsService.notifyError(\n        'Unable to fetch Path analysis data, please try again later.',\n      );\n    }\n  }\n\n  @task\n  *fetchSnapshot() {\n    let snapshot = yield this.store.findRecord(\n      'operator/custom-bot-snapshot',\n      this.selectedSnapshotId,\n    );\n    this.selectedSnapshot = snapshot;\n    this.selectedSnapshot.setInverseRelationships();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Text @styling=\\\"muted\\\">\\n  {{@item.text}}\\n</Text>\\n\", {\"contents\":\"<Text @styling=\\\"muted\\\">\\n  {{@item.text}}\\n</Text>\\n\",\"moduleName\":\"embercom/components/custom-bots/path-analysis/root/version-dropdown-data-note.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/path-analysis/root/version-dropdown-data-note.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{full-date-and-time-helper @item.text}}\\n\", {\"contents\":\"{{full-date-and-time-helper @item.text}}\\n\",\"moduleName\":\"embercom/components/custom-bots/path-analysis/root/version-dropdown-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/path-analysis/root/version-dropdown-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if previewConfiguration}}\\n  {{#component wrapperComponent previewConfiguration=previewConfiguration}}\\n    <MessengerPreview::Styles @configuration={{previewConfiguration}} />\\n    <AppFramework::MessengerApps::Styles\\n      @containerSelector=\\\".messenger-preview__conversation\\\"\\n      @baseColor={{previewConfiguration.appColors.link_color}}\\n    />\\n    <MessengerPreview::Conversation::Header\\n      @configuration={{previewConfiguration}}\\n      @admin={{operator}}\\n      @newConversation={{false}}\\n      @collapsed={{true}}\\n    />\\n    {{#if composerSuggestionLayout}}\\n      <CustomBots::Preview::ComposerSuggestions\\n        @showComposer={{not hasDisabledComposer}}\\n        @isMobile={{isMobile}}\\n        @operator={{operator}}\\n        @firstSteps={{firstSteps}}\\n        @app={{app}}\\n      />\\n    {{else}}\\n      <CustomBots::Preview::ConversationStream\\n        @operator={{operator}}\\n        @firstSteps={{firstSteps}}\\n        @app={{app}}\\n      />\\n    {{/if}}\\n    {{#if showComposer}}\\n      <div data-test-composer-preview>\\n        <MessengerPreview::Composer />\\n      </div>\\n    {{/if}}\\n  {{/component}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if previewConfiguration}}\\n  {{#component wrapperComponent previewConfiguration=previewConfiguration}}\\n    <MessengerPreview::Styles @configuration={{previewConfiguration}} />\\n    <AppFramework::MessengerApps::Styles\\n      @containerSelector=\\\".messenger-preview__conversation\\\"\\n      @baseColor={{previewConfiguration.appColors.link_color}}\\n    />\\n    <MessengerPreview::Conversation::Header\\n      @configuration={{previewConfiguration}}\\n      @admin={{operator}}\\n      @newConversation={{false}}\\n      @collapsed={{true}}\\n    />\\n    {{#if composerSuggestionLayout}}\\n      <CustomBots::Preview::ComposerSuggestions\\n        @showComposer={{not hasDisabledComposer}}\\n        @isMobile={{isMobile}}\\n        @operator={{operator}}\\n        @firstSteps={{firstSteps}}\\n        @app={{app}}\\n      />\\n    {{else}}\\n      <CustomBots::Preview::ConversationStream\\n        @operator={{operator}}\\n        @firstSteps={{firstSteps}}\\n        @app={{app}}\\n      />\\n    {{/if}}\\n    {{#if showComposer}}\\n      <div data-test-composer-preview>\\n        <MessengerPreview::Composer />\\n      </div>\\n    {{/if}}\\n  {{/component}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/custom-bots/preview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/preview.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly, equal, or } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { task, waitForProperty } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\n\nimport {\n  COMPOSER_SUGGESTION_LAYOUT,\n  CONVERSATION_LAYOUT,\n} from 'embercom/components/custom-bots/editor';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  store: service(),\n\n  init() {\n    this._super(...arguments);\n    this.getPreviewConfiguration.perform();\n  },\n\n  deliveryChannel: computed('isInbound', 'customBot.deliveryChannel', function() {\n    if (this.isInbound) {\n      return this.customBot.deliveryChannel.type;\n    }\n\n    return 'web'; // Default to showing web\n  }),\n\n  wrapperComponent: computed('isIos', 'isAndroid', function() {\n    if (this.isIos) {\n      return 'custom-bots/preview/wrappers/ios';\n    } else if (this.isAndroid) {\n      return 'custom-bots/preview/wrappers/android';\n    } else {\n      return 'custom-bots/preview/wrappers/web';\n    }\n  }),\n\n  isIos: equal('deliveryChannel', 'ios'),\n  isAndroid: equal('deliveryChannel', 'android'),\n\n  isMobile: or('isIos', 'isAndroid'),\n\n  operator: readOnly('app.operatorBot'),\n\n  isButton: readOnly('customBot.isButton'),\n  isInbound: readOnly('customBot.isInbound'),\n  previewLayout: computed('isButton', function() {\n    return this.isButton ? CONVERSATION_LAYOUT : COMPOSER_SUGGESTION_LAYOUT;\n  }),\n  hasDisabledComposer: readOnly('customBot.data.composerDisabled'),\n\n  composerSuggestionLayout: equal('previewLayout', COMPOSER_SUGGESTION_LAYOUT),\n  conversationLayout: equal('previewLayout', CONVERSATION_LAYOUT),\n\n  firstSteps: computed('customBot.paths.firstObject.steps.[]', function() {\n    let parts = [];\n    let firstPathSteps = this.get('customBot.paths.firstObject.steps');\n\n    for (let i = 0; i < firstPathSteps.get('length'); i++) {\n      let part = firstPathSteps.objectAt(i);\n      parts.push(part);\n\n      if (part.hasControls && !part.isChatMessage) {\n        break;\n      }\n    }\n\n    return parts;\n  }),\n\n  showComposer: computed('customBot.paths.firstObject.steps.[]', 'hasDisabledComposer', function() {\n    if (this.hasDisabledComposer) {\n      return false;\n    }\n\n    for (let step of this.firstSteps) {\n      if (step.isAttributeCollector) {\n        return false;\n      }\n      if (step.isFreeInput) {\n        return true;\n      }\n    }\n    return false;\n  }),\n\n  previewConfiguration: null,\n  getPreviewConfiguration: task(function*() {\n    yield waitForProperty(this, 'app.id');\n    let settings = yield this.store.findRecord('messenger-settings/all', this.get('app.id'));\n    let previewConfiguration = settings.get('previewConfiguration');\n    this.set('previewConfiguration', previewConfiguration);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showComposer}}\\n  <MessengerPreview::Composer\\n    @isMobile={{isMobile}}\\n    @composerText=\\\"Send a message...\\\"\\n  />\\n{{/if}}\\n{{#if isMobile}}\\n  <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n{{/if}}\\n<MessengerPreview::ComposerSuggestions\\n  @isMobile={{isMobile}}\\n  @prompt={{prompt}}\\n  @suggestions={{suggestions}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showComposer}}\\n  <MessengerPreview::Composer\\n    @isMobile={{isMobile}}\\n    @composerText=\\\"Send a message...\\\"\\n  />\\n{{/if}}\\n{{#if isMobile}}\\n  <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n{{/if}}\\n<MessengerPreview::ComposerSuggestions\\n  @isMobile={{isMobile}}\\n  @prompt={{prompt}}\\n  @suggestions={{suggestions}}\\n/>\\n\",\"moduleName\":\"embercom/components/custom-bots/preview/composer-suggestions.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/preview/composer-suggestions.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport renderPreview from '@intercom/embercom-composer/lib/render-preview';\nimport { htmlToTextContent } from 'embercom/lib/html-unescape';\n\nexport default Component.extend({\n  classNames: [\n    'messenger-preview__home__scrolling-area layout__box o__flexes-to-1 custom-bots__preview__composer-suggestions__container',\n  ],\n  prompt: computed('firstSteps', function() {\n    let blockText = this.firstSteps.get('firstObject.serializedBlocks.firstObject.text') || '';\n    let previewHtml = renderPreview(blockText, {});\n    return htmlToTextContent(previewHtml);\n  }),\n  suggestions: computed('firstSteps', function() {\n    return this.firstSteps.get('lastObject.controls').mapBy('buttonLabel');\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessengerPreview::Stream as |stream|>\\n  {{#each firstSteps as |step|}}\\n    {{#if step.serializedBlocks}}\\n      <stream.operatorPart data-test-preview-comment as |operatorPart|>\\n        <operatorPart.comment>\\n          <ComposerV2\\n            @app={{app}}\\n            @attributes={{app.allowedAttributes}}\\n            @editorClass=\\\"custom-bots__preview__read-only-composer\\\"\\n            @isReadOnly={{true}}\\n            @preset=\\\"inAppChat\\\"\\n            @blocks={{step.serializedBlocks}}\\n            @isPreviewMode={{true}}\\n            @onError={{composer-error-logger \\\"Custom Bots\\\"}}\\n          />\\n        </operatorPart.comment>\\n      </stream.operatorPart>\\n    {{else if (and step.isAttributeCollector step.attributeIdentifiers)}}\\n      <stream.operatorPart as |operatorPart|>\\n        <operatorPart.form\\n          data-test-preview-form\\n          @attributeIdentifiers={{step.attributeIdentifiers}}\\n        />\\n      </stream.operatorPart>\\n    {{else if (and step.isReplyButtons step.replyOptions)}}\\n      <stream.quickReplies\\n        data-test-preview-quick-replies\\n        @replies={{step.replyOptions}}\\n      />\\n    {{/if}}\\n  {{/each}}\\n</MessengerPreview::Stream>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessengerPreview::Stream as |stream|>\\n  {{#each firstSteps as |step|}}\\n    {{#if step.serializedBlocks}}\\n      <stream.operatorPart data-test-preview-comment as |operatorPart|>\\n        <operatorPart.comment>\\n          <ComposerV2\\n            @app={{app}}\\n            @attributes={{app.allowedAttributes}}\\n            @editorClass=\\\"custom-bots__preview__read-only-composer\\\"\\n            @isReadOnly={{true}}\\n            @preset=\\\"inAppChat\\\"\\n            @blocks={{step.serializedBlocks}}\\n            @isPreviewMode={{true}}\\n            @onError={{composer-error-logger \\\"Custom Bots\\\"}}\\n          />\\n        </operatorPart.comment>\\n      </stream.operatorPart>\\n    {{else if (and step.isAttributeCollector step.attributeIdentifiers)}}\\n      <stream.operatorPart as |operatorPart|>\\n        <operatorPart.form\\n          data-test-preview-form\\n          @attributeIdentifiers={{step.attributeIdentifiers}}\\n        />\\n      </stream.operatorPart>\\n    {{else if (and step.isReplyButtons step.replyOptions)}}\\n      <stream.quickReplies\\n        data-test-preview-quick-replies\\n        @replies={{step.replyOptions}}\\n      />\\n    {{/if}}\\n  {{/each}}\\n</MessengerPreview::Stream>\\n\",\"moduleName\":\"embercom/components/custom-bots/preview/conversation-stream.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/preview/conversation-stream.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  classNames: ['messenger-preview__home__scrolling-area layout__box o__has-rows o__flexes-to-1'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if visible}}\\n  {{!-- template-lint-disable intercom/no-legacy-modal --}}\\n  <Common::ModalComponent\\n    @closeModal={{closeModal}}\\n    data-test-open-domain-modal\\n    as |modal|\\n  >\\n    <modal.components.header @title={{this.modalTitle}} />\\n    <modal.components.body>\\n      {{#unless loading}}\\n        <div>\\n          Choose a website where you have installed the Messenger.\\n        </div>\\n        <div class=\\\"h-5\\\"></div>\\n        <label class=\\\"t__label\\\">\\n          Website\\n        </label>\\n        {{#if isManuallySelectingDomain}}\\n          <Input\\n            @value={{selectedDomain}}\\n            placeholder=\\\"http://www.example.com\\\"\\n            class=\\\"f__text o__fit messenger_trigger__editor__element_selector__input\\\"\\n            data-test-domain-input={{true}}\\n          />\\n        {{else}}\\n          <div\\n            class=\\\"message__editor__content__sidebar__css-picker-domain-select\\\"\\n          >\\n            <IcSelect\\n              @onSelectItem={{action \\\"selectDomain\\\"}}\\n              @items={{pingDomainOptions}}\\n              @mode=\\\"block\\\"\\n              data-test-select-domain-dropdown={{true}}\\n              @selectedValue={{selectedDomain}}\\n              @footerActions={{hash\\n                text=\\\"Enter a new website URL\\\"\\n                icon=\\\"new\\\"\\n                description=\\\"The website needs to have Intercom installed\\\"\\n                action=(action \\\"enableManualDomainSelection\\\")\\n              }}\\n            />\\n          </div>\\n        {{/if}}\\n      {{/unless}}\\n    </modal.components.body>\\n    <modal.components.footer as |footer|>\\n      <footer.mainButtons as |list|>\\n        <list.button\\n          @label=\\\"Cancel\\\"\\n          @onClick={{closeModal}}\\n          data-test-cancel-open-button={{true}}\\n        />\\n        <IcTooltip @isDisabled={{isValidSelectedDomain}} as |context|>\\n          <context.opener>\\n            <list.button\\n              @type=\\\"primary\\\"\\n              @label=\\\"Open website\\\"\\n              @onClick={{action \\\"openSite\\\"}}\\n              @isDisabled={{not isValidSelectedDomain}}\\n              data-test-open-website-button={{true}}\\n            />\\n          </context.opener>\\n          <context.content>\\n            The website you entered doesn’t seem to be valid.\\n          </context.content>\\n        </IcTooltip>\\n      </footer.mainButtons>\\n    </modal.components.footer>\\n  </Common::ModalComponent>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if visible}}\\n  {{!-- template-lint-disable intercom/no-legacy-modal --}}\\n  <Common::ModalComponent\\n    @closeModal={{closeModal}}\\n    data-test-open-domain-modal\\n    as |modal|\\n  >\\n    <modal.components.header @title={{this.modalTitle}} />\\n    <modal.components.body>\\n      {{#unless loading}}\\n        <div>\\n          Choose a website where you have installed the Messenger.\\n        </div>\\n        <div class=\\\"h-5\\\"></div>\\n        <label class=\\\"t__label\\\">\\n          Website\\n        </label>\\n        {{#if isManuallySelectingDomain}}\\n          <Input\\n            @value={{selectedDomain}}\\n            placeholder=\\\"http://www.example.com\\\"\\n            class=\\\"f__text o__fit messenger_trigger__editor__element_selector__input\\\"\\n            data-test-domain-input={{true}}\\n          />\\n        {{else}}\\n          <div\\n            class=\\\"message__editor__content__sidebar__css-picker-domain-select\\\"\\n          >\\n            <IcSelect\\n              @onSelectItem={{action \\\"selectDomain\\\"}}\\n              @items={{pingDomainOptions}}\\n              @mode=\\\"block\\\"\\n              data-test-select-domain-dropdown={{true}}\\n              @selectedValue={{selectedDomain}}\\n              @footerActions={{hash\\n                text=\\\"Enter a new website URL\\\"\\n                icon=\\\"new\\\"\\n                description=\\\"The website needs to have Intercom installed\\\"\\n                action=(action \\\"enableManualDomainSelection\\\")\\n              }}\\n            />\\n          </div>\\n        {{/if}}\\n      {{/unless}}\\n    </modal.components.body>\\n    <modal.components.footer as |footer|>\\n      <footer.mainButtons as |list|>\\n        <list.button\\n          @label=\\\"Cancel\\\"\\n          @onClick={{closeModal}}\\n          data-test-cancel-open-button={{true}}\\n        />\\n        <IcTooltip @isDisabled={{isValidSelectedDomain}} as |context|>\\n          <context.opener>\\n            <list.button\\n              @type=\\\"primary\\\"\\n              @label=\\\"Open website\\\"\\n              @onClick={{action \\\"openSite\\\"}}\\n              @isDisabled={{not isValidSelectedDomain}}\\n              data-test-open-website-button={{true}}\\n            />\\n          </context.opener>\\n          <context.content>\\n            The website you entered doesn’t seem to be valid.\\n          </context.content>\\n        </IcTooltip>\\n      </footer.mainButtons>\\n    </modal.components.footer>\\n  </Common::ModalComponent>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/custom-bots/preview/preview-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/preview/preview-selector.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport $ from 'jquery';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { isEmpty } from '@ember/utils';\nimport ENV from 'embercom/config/environment';\nimport { inject as service } from '@ember/service';\nimport { map } from '@ember/object/computed';\nimport { applyFunction } from '@intercom/embercom-core/lib/computed-properties';\nimport { schedule } from '@ember/runloop';\nimport isValidUrl from 'embercom/lib/url-validator';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  store: service(),\n  intersectionService: service(),\n  intercomEventService: service(),\n  init() {\n    this._super(...arguments);\n    this.fetchDomains.perform();\n    this.intersectionService.registerEventHandler('getCustomBot', data => {\n      return {\n        id: this.customBot.id,\n        composerSuggestions: this.customBot.getComposerSuggestions(),\n        title: this.customBot.title,\n      };\n    });\n  },\n  isValidSelectedDomain: applyFunction(isValidUrl, 'selectedDomain'),\n  modalTitle: computed('title', function() {\n    return this.title || 'Select a website to preview your Custom Bot (beta)';\n  }),\n  loading: true,\n  pingDomainOptions: map('pingDomains', function(domain) {\n    return { text: domain, value: domain };\n  }),\n  focusInput() {\n    schedule('afterRender', this, () => {\n      $('.messenger_trigger__editor__element_selector__input').focus();\n    });\n  },\n  fetchDomains: task(function*() {\n    if (isEmpty(this.pingDomains)) {\n      let pingDomains = yield this.store.query('ping-domain', { include_subdomains: true });\n      this.set('pingDomains', pingDomains.mapBy('domain').uniq());\n      if (ENV.environment === 'development') {\n        this.pingDomains.pushObjects(['http://intercom.test', 'http://intercom-js.test']);\n      }\n      this.set('selectedDomain', this.get('pingDomains.firstObject'));\n    } else {\n      this.set('selectedDomain', this.get('pingDomains.firstObject'));\n    }\n    this.set('loading', false);\n  }),\n  actions: {\n    selectDomain(domain) {\n      this.set('selectedDomain', domain);\n    },\n    enableManualDomainSelection() {\n      this.set('isManuallySelectingDomain', true);\n      this.focusInput();\n    },\n    openSite() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'preview_started',\n        object: this.customBot.analyticsEventObjectLabel,\n        models: [this.customBot],\n      });\n\n      if (this.customBot.isOutbound) {\n        this.intersectionService.openWindow(this.selectedDomain, 'outbound-custom-bot-preview');\n      }\n      if (this.customBot.isInbound) {\n        this.intersectionService.openWindow(this.selectedDomain, 'inbound-custom-bot-preview');\n      }\n      this.closeModal();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div id=\\\"embedded_messenger\\\" data-test-custom-bots-preview-android>\\n  <div class=\\\"mobile__messenger__device-shell o__android\\\">\\n    <div class=\\\"mobile__messenger__device-shell-container o__visible\\\">\\n      {{inline-svg \\\"mobile/android/shell\\\"}}\\n    </div>\\n    <div class=\\\"mobile__messenger__device-screen o__android o__preview\\\">\\n      <img\\n        class=\\\"mobile__messenger__device-header\\\"\\n        src=\\\"/assets/images/message-editor/mobile/android/android-header@2x.png\\\"\\n        width=\\\"360px\\\"\\n        height=\\\"80px\\\"\\n      />\\n      <div class=\\\"mobile__messenger__device-body o__android\\\"></div>\\n      <img\\n        class=\\\"mobile__messenger__device-footer\\\"\\n        src=\\\"/assets/images/message-editor/mobile/android/android-footer@2x.png\\\"\\n        width=\\\"360px\\\"\\n        height=\\\"48px\\\"\\n      />\\n      <div\\n        class=\\\"mobile__messenger__content-viewport u__hidden-scrollbar o__preview o__android\\\"\\n      >\\n        <MessengerPreview::TranslationLoaderWrapper\\n          @locale={{@previewConfiguration.locale}}\\n        >\\n          <div\\n            class=\\\"messenger-preview__home__container messenger-preview__home__container-android layout__box o__has-rows o__flexes-to-1\\\"\\n          >\\n            {{yield}}\\n          </div>\\n        </MessengerPreview::TranslationLoaderWrapper>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div id=\\\"embedded_messenger\\\" data-test-custom-bots-preview-android>\\n  <div class=\\\"mobile__messenger__device-shell o__android\\\">\\n    <div class=\\\"mobile__messenger__device-shell-container o__visible\\\">\\n      {{inline-svg \\\"mobile/android/shell\\\"}}\\n    </div>\\n    <div class=\\\"mobile__messenger__device-screen o__android o__preview\\\">\\n      <img\\n        class=\\\"mobile__messenger__device-header\\\"\\n        src=\\\"/assets/images/message-editor/mobile/android/android-header@2x.png\\\"\\n        width=\\\"360px\\\"\\n        height=\\\"80px\\\"\\n      />\\n      <div class=\\\"mobile__messenger__device-body o__android\\\"></div>\\n      <img\\n        class=\\\"mobile__messenger__device-footer\\\"\\n        src=\\\"/assets/images/message-editor/mobile/android/android-footer@2x.png\\\"\\n        width=\\\"360px\\\"\\n        height=\\\"48px\\\"\\n      />\\n      <div\\n        class=\\\"mobile__messenger__content-viewport u__hidden-scrollbar o__preview o__android\\\"\\n      >\\n        <MessengerPreview::TranslationLoaderWrapper\\n          @locale={{@previewConfiguration.locale}}\\n        >\\n          <div\\n            class=\\\"messenger-preview__home__container messenger-preview__home__container-android layout__box o__has-rows o__flexes-to-1\\\"\\n          >\\n            {{yield}}\\n          </div>\\n        </MessengerPreview::TranslationLoaderWrapper>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/preview/wrappers/android.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/preview/wrappers/android.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div id=\\\"embedded_messenger\\\" data-test-custom-bots-preview-ios>\\n  <div class=\\\"mobile__messenger__device-shell o__ios\\\">\\n    <div class=\\\"mobile__messenger__device-shell-container o__visible\\\">\\n      {{inline-svg \\\"mobile/ios/shell\\\"}}\\n    </div>\\n    <div class=\\\"mobile__messenger__device-screen o__ios o__preview\\\">\\n      <img\\n        class=\\\"mobile__messenger__device-header\\\"\\n        src=\\\"/assets/images/message-editor/mobile/ios/ios-header@2x.png\\\"\\n        width=\\\"375px\\\"\\n        height=\\\"64px\\\"\\n      />\\n      <div class=\\\"mobile__messenger__device-body o__ios\\\"></div>\\n      <img\\n        class=\\\"mobile__messenger__device-footer\\\"\\n        src=\\\"/assets/images/message-editor/mobile/ios/ios-footer@2x.png\\\"\\n        width=\\\"375px\\\"\\n        height=\\\"49px\\\"\\n      />\\n      <div class=\\\"mobile__chat-ios__app-overlay\\\">\\n        <div class=\\\"mobile__chat-ios__app-background\\\"></div>\\n      </div>\\n      <div\\n        class=\\\"mobile__messenger__content-viewport u__hidden-scrollbar o__preview o__ios\\\"\\n      >\\n        <MessengerPreview::TranslationLoaderWrapper\\n          @locale={{@previewConfiguration.locale}}\\n        >\\n          <div\\n            class=\\\"messenger-preview__home__container messenger-preview__home__container-ios layout__box o__has-rows o__flexes-to-1 pt-1\\\"\\n          >\\n            {{yield}}\\n          </div>\\n        </MessengerPreview::TranslationLoaderWrapper>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div id=\\\"embedded_messenger\\\" data-test-custom-bots-preview-ios>\\n  <div class=\\\"mobile__messenger__device-shell o__ios\\\">\\n    <div class=\\\"mobile__messenger__device-shell-container o__visible\\\">\\n      {{inline-svg \\\"mobile/ios/shell\\\"}}\\n    </div>\\n    <div class=\\\"mobile__messenger__device-screen o__ios o__preview\\\">\\n      <img\\n        class=\\\"mobile__messenger__device-header\\\"\\n        src=\\\"/assets/images/message-editor/mobile/ios/ios-header@2x.png\\\"\\n        width=\\\"375px\\\"\\n        height=\\\"64px\\\"\\n      />\\n      <div class=\\\"mobile__messenger__device-body o__ios\\\"></div>\\n      <img\\n        class=\\\"mobile__messenger__device-footer\\\"\\n        src=\\\"/assets/images/message-editor/mobile/ios/ios-footer@2x.png\\\"\\n        width=\\\"375px\\\"\\n        height=\\\"49px\\\"\\n      />\\n      <div class=\\\"mobile__chat-ios__app-overlay\\\">\\n        <div class=\\\"mobile__chat-ios__app-background\\\"></div>\\n      </div>\\n      <div\\n        class=\\\"mobile__messenger__content-viewport u__hidden-scrollbar o__preview o__ios\\\"\\n      >\\n        <MessengerPreview::TranslationLoaderWrapper\\n          @locale={{@previewConfiguration.locale}}\\n        >\\n          <div\\n            class=\\\"messenger-preview__home__container messenger-preview__home__container-ios layout__box o__has-rows o__flexes-to-1 pt-1\\\"\\n          >\\n            {{yield}}\\n          </div>\\n        </MessengerPreview::TranslationLoaderWrapper>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/preview/wrappers/ios.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/preview/wrappers/ios.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-custom-bots-preview-web class=\\\"custom-bots__preview__row\\\">\\n  <div class=\\\"layout__box o__flexes-to-1 u__pad__50\\\">\\n    <div id=\\\"embedded_messenger\\\">\\n      <div\\n        class=\\\"message__editor__chrome__container web-chrome__container o__chat\\\"\\n      >\\n        <div class=\\\"web-chrome__browser-header layout__box o__has-columns\\\">\\n          <img\\n            src=\\\"/assets/images/message-editor/chrome-browser-header-left@2x.png\\\"\\n            height=\\\"74px\\\"\\n            width=\\\"357px\\\"\\n          />\\n          <img\\n            class=\\\"layout__box o__flexes-to-1\\\"\\n            src=\\\"/assets/images/message-editor/chrome-browser-header-middle@2x.png\\\"\\n            height=\\\"74px\\\"\\n          />\\n          <img\\n            src=\\\"/assets/images/message-editor/chrome-browser-header-right@2x.png\\\"\\n            height=\\\"74px\\\"\\n          />\\n        </div>\\n        <div class=\\\"u__relative\\\">\\n          <div class=\\\"web-chrome__app-body\\\"></div>\\n          <div class=\\\"web-chrome__messenger-container u__padt__50\\\">\\n            <div\\n              class=\\\"messenger-preview__conversation u__padb__20 u__padr__20 u__right\\\"\\n            >\\n              <MessengerPreview::TranslationLoaderWrapper\\n                @locale={{@previewConfiguration.locale}}\\n              >\\n                <div\\n                  class=\\\"messenger-preview__home__container layout__box o__has-rows o__flexes-to-1\\\"\\n                >\\n                  {{yield}}\\n                </div>\\n                <MessengerPreview::Launcher\\n                  @configuration={{@previewConfiguration}}\\n                  @messengerIsOpen={{true}}\\n                />\\n              </MessengerPreview::TranslationLoaderWrapper>\\n            </div>\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div data-test-custom-bots-preview-web class=\\\"custom-bots__preview__row\\\">\\n  <div class=\\\"layout__box o__flexes-to-1 u__pad__50\\\">\\n    <div id=\\\"embedded_messenger\\\">\\n      <div\\n        class=\\\"message__editor__chrome__container web-chrome__container o__chat\\\"\\n      >\\n        <div class=\\\"web-chrome__browser-header layout__box o__has-columns\\\">\\n          <img\\n            src=\\\"/assets/images/message-editor/chrome-browser-header-left@2x.png\\\"\\n            height=\\\"74px\\\"\\n            width=\\\"357px\\\"\\n          />\\n          <img\\n            class=\\\"layout__box o__flexes-to-1\\\"\\n            src=\\\"/assets/images/message-editor/chrome-browser-header-middle@2x.png\\\"\\n            height=\\\"74px\\\"\\n          />\\n          <img\\n            src=\\\"/assets/images/message-editor/chrome-browser-header-right@2x.png\\\"\\n            height=\\\"74px\\\"\\n          />\\n        </div>\\n        <div class=\\\"u__relative\\\">\\n          <div class=\\\"web-chrome__app-body\\\"></div>\\n          <div class=\\\"web-chrome__messenger-container u__padt__50\\\">\\n            <div\\n              class=\\\"messenger-preview__conversation u__padb__20 u__padr__20 u__right\\\"\\n            >\\n              <MessengerPreview::TranslationLoaderWrapper\\n                @locale={{@previewConfiguration.locale}}\\n              >\\n                <div\\n                  class=\\\"messenger-preview__home__container layout__box o__has-rows o__flexes-to-1\\\"\\n                >\\n                  {{yield}}\\n                </div>\\n                <MessengerPreview::Launcher\\n                  @configuration={{@previewConfiguration}}\\n                  @messengerIsOpen={{true}}\\n                />\\n              </MessengerPreview::TranslationLoaderWrapper>\\n            </div>\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-bots/preview/wrappers/web.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/preview/wrappers/web.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if customBot.isLive}}\\n  <IcButton\\n    @type=\\\"secondary\\\"\\n    @icon=\\\"pause\\\"\\n    @label=\\\"Pause\\\"\\n    @onClick={{perform deactivate}}\\n    class=\\\"u__mr__10\\\"\\n    data-test-custom-bot-deactivate-button=\\\"true\\\"\\n  />\\n{{else}}\\n  <Paywall\\n    @featureKey=\\\"bot_workflows\\\" as |paywall|\\n  >\\n    <paywall.Hover>\\n      <div\\n        data-test-activate-disabled-tooltip\\n        {{tooltip content=customBot.validationFailureMessage isDisabled=(or paywall.isActive customBot.canActivate)}}\\n      >\\n        <IcButton\\n          @type=\\\"primary-live\\\"\\n          @onClick={{perform activate}}\\n          data-test-custom-bot-activate-button=\\\"true\\\"\\n          class=\\\"u__mr__10\\\"\\n          @disabled={{or paywall.isActive (not customBot.canActivate)}}\\n        >\\n          {{ic-interface-icon \\\"put-live\\\"}} Set live\\n        </IcButton>\\n      </div>\\n    </paywall.Hover>\\n  </Paywall>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if customBot.isLive}}\\n  <IcButton\\n    @type=\\\"secondary\\\"\\n    @icon=\\\"pause\\\"\\n    @label=\\\"Pause\\\"\\n    @onClick={{perform deactivate}}\\n    class=\\\"u__mr__10\\\"\\n    data-test-custom-bot-deactivate-button=\\\"true\\\"\\n  />\\n{{else}}\\n  <Paywall\\n    @featureKey=\\\"bot_workflows\\\" as |paywall|\\n  >\\n    <paywall.Hover>\\n      <div\\n        data-test-activate-disabled-tooltip\\n        {{tooltip content=customBot.validationFailureMessage isDisabled=(or paywall.isActive customBot.canActivate)}}\\n      >\\n        <IcButton\\n          @type=\\\"primary-live\\\"\\n          @onClick={{perform activate}}\\n          data-test-custom-bot-activate-button=\\\"true\\\"\\n          class=\\\"u__mr__10\\\"\\n          @disabled={{or paywall.isActive (not customBot.canActivate)}}\\n        >\\n          {{ic-interface-icon \\\"put-live\\\"}} Set live\\n        </IcButton>\\n      </div>\\n    </paywall.Hover>\\n  </Paywall>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/custom-bots/toggle-activate-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-bots/toggle-activate-button.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport { CUSTOM_BOT_REQUIRED_PERMISSION } from 'embercom/lib/operator/custom-bots/constants';\n\nconst SHOW_ROUTE = 'apps.app.operator.custom-bots.custom-bot.show';\nconst EDIT_ROUTE = 'apps.app.operator.custom-bots.custom-bot.edit';\nconst CONFIRM_FOR_ACTIVATE_CONTENT = {\n  title: 'Setting the bot live',\n  body:\n    'You are about to make this bot live. It will interact with anybody who matches the audience. Do you wish to continue?',\n  confirmButtonText: 'Set this bot live',\n};\n\nexport default Component.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  router: service(),\n  confirmService: service(),\n\n  handleError(error) {\n    console.error(error);\n    let errors = error?.jqXHR?.responseJSON?.errors;\n    let specificError = errors ? errors[0].message : undefined;\n    this.notificationsService.notifyError(specificError || 'Oops! Something went wrong.');\n  },\n\n  activate: task(function*() {\n    yield this.permissionsService.checkPermission(CUSTOM_BOT_REQUIRED_PERMISSION);\n\n    let target = this.customBot.get('target');\n    let initiatorType = this.customBot.get('initiators.firstObject.type');\n    let state = this.customBot.get('state');\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'set-live',\n      models: [this.customBot],\n      initiator_type: initiatorType,\n      target,\n      state,\n    });\n\n    try {\n      yield this.customBot.save();\n\n      let confirmActivate = yield this.confirmService.show(this, CONFIRM_FOR_ACTIVATE_CONTENT);\n      if (!confirmActivate) {\n        return;\n      }\n\n      yield this.customBot.activate();\n      if (this.get('router.currentRouteName') === EDIT_ROUTE) {\n        this.router.transitionTo(SHOW_ROUTE);\n      }\n      this.notificationsService.notifyConfirmation('Your custom bot is now live.');\n    } catch (error) {\n      this.handleError(error);\n    }\n  }),\n\n  deactivate: task(function*() {\n    yield this.permissionsService.checkPermission(CUSTOM_BOT_REQUIRED_PERMISSION);\n\n    let target = this.customBot.get('target');\n    let initiatorType = this.customBot.get('initiators.firstObject.type');\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'pause',\n      models: [this.customBot],\n      initiator_type: initiatorType,\n      target,\n    });\n\n    try {\n      yield this.customBot.deactivate();\n      this.notificationsService.notifyConfirmation('Your custom bot is now paused.');\n    } catch (error) {\n      this.handleError(error);\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"cda__tool__wrapper\\\">\\n  <div\\n    class=\\\"cda__tool__platform-selector tabs__discrete-tab__container u__cf u__centered-text-block\\\"\\n  >\\n    {{#each platforms as |platform|}}\\n      <a\\n        class=\\\"tabs__discrete-tab {{if (eq platform.key clickedPlatform) \\\"o__selected\\\"}}\\\"\\n        onclick={{action \\\"setUserSource\\\" platform.key}}\\n      >{{platform.displayName}}</a>\\n    {{/each}}\\n  </div>\\n  {{#if selectedUserSource}}\\n    <div class=\\\"h-2\\\"></div>\\n    <div class=\\\"cda__tool__snippet\\\">\\n      <div class=\\\"cda__tool__instructions text-gray\\\">\\n        {{object-at 0 snippetInstructions}} <code>{{snippetInstructionsCode}}</code> {{object-at 1 snippetInstructions}}\\n        {{#if isUserSourceSelectedIos}}\\n          <div class=\\\"test__ios-code-snippet-dropdown\\\">\\n            <div class=\\\"h-5\\\"></div>\\n            <InstallationInstructions::IosInstallationSnippetSelectComponent\\n              @selectedValue={{language}}\\n            />\\n          </div>\\n        {{/if}}\\n        <div class=\\\"h-5\\\"></div>\\n      </div>\\n      {{component\\n        contentPath\\n        cdas=untrackedCdas\\n        splitCodeSnippet=splitCodeSnippet\\n      }}\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"cda__tool__wrapper\\\">\\n  <div\\n    class=\\\"cda__tool__platform-selector tabs__discrete-tab__container u__cf u__centered-text-block\\\"\\n  >\\n    {{#each platforms as |platform|}}\\n      <a\\n        class=\\\"tabs__discrete-tab {{if (eq platform.key clickedPlatform) \\\"o__selected\\\"}}\\\"\\n        onclick={{action \\\"setUserSource\\\" platform.key}}\\n      >{{platform.displayName}}</a>\\n    {{/each}}\\n  </div>\\n  {{#if selectedUserSource}}\\n    <div class=\\\"h-2\\\"></div>\\n    <div class=\\\"cda__tool__snippet\\\">\\n      <div class=\\\"cda__tool__instructions text-gray\\\">\\n        {{object-at 0 snippetInstructions}} <code>{{snippetInstructionsCode}}</code> {{object-at 1 snippetInstructions}}\\n        {{#if isUserSourceSelectedIos}}\\n          <div class=\\\"test__ios-code-snippet-dropdown\\\">\\n            <div class=\\\"h-5\\\"></div>\\n            <InstallationInstructions::IosInstallationSnippetSelectComponent\\n              @selectedValue={{language}}\\n            />\\n          </div>\\n        {{/if}}\\n        <div class=\\\"h-5\\\"></div>\\n      </div>\\n      {{component\\n        contentPath\\n        cdas=untrackedCdas\\n        splitCodeSnippet=splitCodeSnippet\\n      }}\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/custom-data-attributes-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/custom-data-attributes-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { equal, or, not, and } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport CdaPlatforms from 'embercom/models/data/cda-platforms';\nimport { ternaryToProperty, applyFunction } from '@intercom/embercom-core/lib/computed-properties';\nimport { dasherize } from '@ember/string';\n\nexport default Component.extend({\n  language: 'swift',\n\n  clickedPlatform: computed(\n    'isIosGuideStep',\n    'isAndroidGuideStep',\n    'isCordovaGuideStep',\n    function() {\n      if (this.isIosGuideStep) {\n        return 'ios';\n      } else if (this.isAndroidGuideStep) {\n        return 'android';\n      } else if (this.isCordovaGuideStep) {\n        return 'cordova';\n      } else {\n        return 'javascript';\n      }\n    },\n  ),\n\n  platforms: computed(function() {\n    return CdaPlatforms;\n  }),\n\n  snippetInstructions: computed('platforms', 'clickedPlatform', function() {\n    return this.platforms\n      .find(platform => {\n        return platform.key === this.clickedPlatform;\n      })\n      .instructions.split('${code}');\n  }),\n\n  snippetInstructionsCode: computed('snippetInstructions', function() {\n    return this.platforms.find(platform => {\n      return platform.key === this.clickedPlatform;\n    }).code;\n  }),\n\n  selectedPlatform: computed(\n    'isIosGuideStep',\n    'isUserSourceSelectedIos',\n    'isAndroidGuideStep',\n    'isUserSourceSelectedAndroid',\n    'isCordovaGuideStep',\n    'isUserSourceSelectedCordova',\n    function() {\n      if (this.isUserSourceSelectedMobile) {\n        if (this.isUserSourceSelectedIos || this.isIosGuideStep) {\n          return 'ios';\n        } else if (this.isUserSourceSelectedAndroid || this.isAndroidGuideStep) {\n          return 'android';\n        } else if (this.isUserSourceSelectedCordova || this.isCordovaGuideStep) {\n          return 'cordova';\n        }\n      } else {\n        return 'web';\n      }\n    },\n  ),\n  defaultUserSource: 'javascript',\n  selectedUserSource: ternaryToProperty('platform', 'platform', 'defaultUserSource'),\n  dasherizedSelectedUserSource: applyFunction(dasherize, 'selectedUserSource'),\n\n  isUserSourceSelectedJavascript: equal('selectedUserSource', 'javascript'),\n  isUserSourceSelectedSinglePage: equal('selectedUserSource', 'single_page'),\n  isUserSourceSelectedRails: equal('selectedUserSource', 'rails'),\n  isUserSourceSelectedIos: equal('selectedUserSource', 'ios'),\n  isUserSourceSelectedAndroid: equal('selectedUserSource', 'android'),\n  isUserSourceSelectedCordova: equal('selectedUserSource', 'cordova'),\n  isUserSourceSelectedMobile: or(\n    'isUserSourceSelectedIos',\n    'isUserSourceSelectedAndroid',\n    'isUserSourceSelectedCordova',\n  ),\n  isNotUserSourceSelectedMobile: not('isUserSourceSelectedMobile'),\n\n  isIosGuideStep: equal('platform', 'ios'),\n  isAndroidGuideStep: equal('platform', 'android'),\n  isCordovaGuideStep: equal('platform', 'cordova'),\n  isMobileGuideStep: or('isIosGuideStep', 'isAndroidGuideStep', 'isCordovaGuideStep'),\n  isNotMobileGuideStep: not('isMobileGuideStep'),\n\n  hasLanguageSelector: and(\n    'isNotMobileGuideStep',\n    'isNotUserSourceSelectedMobile',\n    'isUserSourceSelectedJavascript',\n  ),\n\n  contentPath: computed(\n    'selectedPlatform',\n    'dasherizedSelectedUserSource',\n    'isMobileGuideStep',\n    'language',\n    function() {\n      let basePath = `installation-instructions/${this.selectedPlatform}`;\n\n      if (this.isUserSourceSelectedIos) {\n        basePath = `${basePath}-${this.language}`;\n      }\n      basePath = `${basePath}-installation`;\n\n      if (!this.isMobileGuideStep && !this.isUserSourceSelectedMobile) {\n        basePath = `${basePath}-${this.dasherizedSelectedUserSource}`;\n      }\n\n      return `${basePath}-custom-data-snippet-component`;\n    },\n  ),\n\n  actions: {\n    setUserSource(source) {\n      this.set('selectedUserSource', source);\n      this.set('clickedPlatform', source);\n      if (source !== 'ios' && source !== 'android') {\n        this.set('platform', 'javascript');\n      }\n    },\n  },\n});\n","import CustomisableWidgetEditorSocial from '@intercom/embercom-composer/components/customisable-widget-editor-social';\nexport default CustomisableWidgetEditorSocial;\n","import CustomisableWidgetEditorText from '@intercom/embercom-composer/components/customisable-widget-editor-text';\nexport default CustomisableWidgetEditorText;\n","import CustomisableWidgetPopover from '@intercom/embercom-composer/components/customisable-widget-popover';\nexport default CustomisableWidgetPopover;\n","import CustomisableWidget from '@intercom/embercom-composer/components/customisable-widget';\nexport default CustomisableWidget;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span data-test-formatted-timezone {{tooltip content=this.formattedTimezone isDisabled=this.tooltipDisabled}}>\\n  {{this.formattedDate}}\\n</span>\\n\", {\"contents\":\"<span data-test-formatted-timezone {{tooltip content=this.formattedTimezone isDisabled=this.tooltipDisabled}}>\\n  {{this.formattedDate}}\\n</span>\\n\",\"moduleName\":\"embercom/components/date-with-timezone-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/date-with-timezone-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { not, notEmpty, or } from '@ember/object/computed';\nimport { templateString, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport moment from 'moment';\n\nexport default Component.extend({\n  tagName: '',\n\n  date: null,\n  timezone: 'America/Los_Angeles',\n  disableTooltip: false,\n\n  _sameRelativeUtcOffset: computed(function() {\n    // Exposed for testing\n    return moment.tz(this.timezone).utcOffset() === moment().utcOffset();\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.set('sameRelativeUtcOffset', this._sameRelativeUtcOffset);\n  },\n\n  tooltipDisabled: or('notSameRelativeUtcOffset', 'disableTooltip'),\n\n  sameRelativeUtcOffset: false,\n  notSameRelativeUtcOffset: not('sameRelativeUtcOffset'),\n\n  formattedDateOnly: computed('hasDate', 'date', function() {\n    return moment(this.date)\n      .tz(this.timezone)\n      .format(dateAndTimeFormats.fullDateAndTimeWithoutTimezoneWithDayName);\n  }),\n\n  formattedTimezoneName: computed('timezone', function() {\n    return this.timezone.slice(this.timezone.lastIndexOf('/') + 1).replace(/_/g, ' ');\n  }),\n  formattedUtcOffset: computed('timezone', function() {\n    return moment\n      .tz(this.timezone)\n      .format('[GMT]Z')\n      .replace(/0(\\d:)/, '$1')\n      .replace(':00', ''); //Should look like GMT+1 or GMT+5:30\n  }),\n  formattedTimezone: templateString('${formattedTimezoneName} time (${formattedUtcOffset})'),\n\n  formattedDateWithTimezone: templateString('${formattedDateOnly} ${formattedTimezone}'),\n  formattedValidDate: ternaryToProperty(\n    'sameRelativeUtcOffset',\n    'formattedDateOnly',\n    'formattedDateWithTimezone',\n  ),\n\n  hasDate: notEmpty('date'),\n  missingDateString: 'Unknown time',\n  formattedDate: ternaryToProperty('hasDate', 'formattedValidDate', 'missingDateString'),\n});\n","define(\"embercom/components/debug/info\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/debug/info\"], function (_exports, _info) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _info.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip class=\\\"text-gray\\\" as |t|>\\n  <t.opener>\\n    Deleted\\n    <time\\n      class=\\\"inline-block js__relative-time m__conversation-stream__time-ago\\\"\\n      data-formatter=\\\"abbreviated-relative-time-ago-helper\\\"\\n      datetime={{@datetime}}\\n    >\\n      {{abbreviated-relative-time-ago-helper @datetime}}\\n    </time>\\n  </t.opener>\\n\\n  <t.content>\\n    <Paragraph @styling=\\\"strong\\\">\\n      {{full-date-and-time-helper @datetime}}\\n    </Paragraph>\\n    <Paragraph>\\n      By\\n      <IcAvatarComponent @model={{@by}} @size=\\\"xs\\\" />\\n      {{@by.name}}\\n    </Paragraph>\\n  </t.content>\\n</IcTooltip>\\n\", {\"contents\":\"<IcTooltip class=\\\"text-gray\\\" as |t|>\\n  <t.opener>\\n    Deleted\\n    <time\\n      class=\\\"inline-block js__relative-time m__conversation-stream__time-ago\\\"\\n      data-formatter=\\\"abbreviated-relative-time-ago-helper\\\"\\n      datetime={{@datetime}}\\n    >\\n      {{abbreviated-relative-time-ago-helper @datetime}}\\n    </time>\\n  </t.opener>\\n\\n  <t.content>\\n    <Paragraph @styling=\\\"strong\\\">\\n      {{full-date-and-time-helper @datetime}}\\n    </Paragraph>\\n    <Paragraph>\\n      By\\n      <IcAvatarComponent @model={{@by}} @size=\\\"xs\\\" />\\n      {{@by.name}}\\n    </Paragraph>\\n  </t.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/deleted-at-with-tooltip.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/deleted-at-with-tooltip.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","// PLEASE DON'T USE THIS COMPONENT\n// use https://pulse.internal.intercom.io/components/expanding-input instead\n\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { schedule } from '@ember/runloop';\nimport { empty } from '@ember/object/computed';\nimport TextField from '@ember/component/text-field';\nimport DidChangeAttrs from 'ember-did-change-attrs';\nimport UserAgentDetector from '@intercom/embercom-core/lib/user-agent-detector';\n\nexport default TextField.extend(DidChangeAttrs, {\n  classNameBindings: ['hasError:o__error'],\n  additionalWidth: 0,\n  minWidth: 165,\n  maxWidth: 250,\n\n  // I'd like to deprecate minWidth and maxWidth\n  // since min and max width can and should be achieved through CSS rules\n\n  didInsertElement() {\n    this._super(...arguments);\n\n    this.resizeToFit();\n    this.applyBounds();\n    if (this.shouldFocusNoSelect) {\n      $(this.element).focus();\n    }\n    if (this.shouldFocus) {\n      $(this.element)\n        .focus()\n        .select();\n    }\n  },\n\n  didChangeAttrsConfig: {\n    attrs: ['maxWidth', 'minWidth', 'additionalWidth', 'value'],\n  },\n\n  didChangeAttrs(changes) {\n    if (changes.maxWidth || changes.minWidth) {\n      this.applyBounds();\n    }\n    if (changes.additionalWidth || changes.value) {\n      this.resizeToFit();\n    }\n  },\n\n  isEmpty: empty('value'),\n\n  applyBounds() {\n    let element = this.element;\n    element.style.minWidth = `${this.minWidth}px`;\n    element.style.maxWidth = `${this.maxWidth}px`;\n  },\n\n  resizeToFit() {\n    // we need to run the following once the value has been copied\n    // to the element\n    schedule('actions', () => {\n      let element = this.element;\n      let elementType = element.type;\n      let valueIsEmpty = element.value === '';\n\n      if (valueIsEmpty) {\n        // temporarily set the element's value to the placeholder value\n        // so that the element will be wide enough to display it\n        // clear the element's type attribute, so the placeholder can contain\n        // a value that's not actually valid\n        // (e.g. type='number' placeholder='123...')\n        element.type = '';\n        element.value = element.placeholder;\n      }\n\n      element.style.width = 0;\n      // we need 1 pixel extra 'padding' for the cursor - see issue #35333\n\n      let scrollWidth = element.scrollWidth;\n      if (UserAgentDetector.isEdge()) {\n        // Non-ideal quick fix for https://github.com/intercom/intercom/issues/138542 in Microsoft Edge.\n        scrollWidth = 200;\n      }\n\n      element.style.width = `${scrollWidth + this.additionalWidth + 1}px`;\n\n      if (valueIsEmpty) {\n        // revert our temporary swap-in of the placeholder\n        element.type = elementType;\n        element.value = '';\n      }\n    });\n  },\n\n  change(event) {\n    this._super(...arguments);\n    // eslint-disable-next-line ember/closure-actions\n    this.sendAction('change-value', this, event);\n  },\n  click(event) {\n    if (event !== undefined) {\n      event.stopPropagation();\n    }\n  },\n\n  focusIn() {\n    if (this.onFocus) {\n      this.onFocus();\n    }\n  },\n\n  focusOut() {\n    if (this.onBlur) {\n      this.onBlur();\n    }\n  },\n\n  // I think everything below here possibly belongs in something more specific\n  // e.g. remove the `this.get('integer')` and extend the whole component\n  // as an expanding-integer-input-component\n\n  keyPress(event) {\n    if (this.integer) {\n      let enteredChar = String.fromCharCode(event.charCode);\n      if (!$.isNumeric(enteredChar)) {\n        event.preventDefault();\n      }\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcButton\\n  data-test-new-app-package-open-modal\\n  @label=\\\"New app\\\"\\n  @type=\\\"primary\\\"\\n  @fill={{false}}\\n  @onClick={{action \\\"newAppPackage\\\"}}\\n  @inLeftList={{true}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcButton\\n  data-test-new-app-package-open-modal\\n  @label=\\\"New app\\\"\\n  @type=\\\"primary\\\"\\n  @fill={{false}}\\n  @onClick={{action \\\"newAppPackage\\\"}}\\n  @inLeftList={{true}}\\n/>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package-new.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package-new.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n\n  actions: {\n    newAppPackage() {\n      this.intercomEventService.trackAnalyticsEvent({\n        object: 'new_app',\n        action: 'clicked',\n      });\n      this.modalService.openModal('apps/app/developer-hub/app-packages/app-package/new', {\n        apps: this.apps,\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::ImageUploadComponent\\n  @addImageUrl={{action (mut imageUrl)}}\\n  @maxFileSizeInBytes={{22020096}}\\n  @uploadType=\\\"app_icon_url\\\" as |uploader|\\n>\\n  {{#if imageUrl}}\\n    {{#if uploader.isLoading}}\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    {{else}}\\n      <div\\n        class=\\\"developer-hub__app-store-listing__upload-icon\\\"\\n        {{action uploader.showFilePicker}}\\n      >\\n        <a href={{imageUrl}} target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">\\n          <img width=\\\"64px\\\" height=\\\"64px\\\" src=\\\"{{imageUrl}}\\\" alt />\\n        </a>\\n      </div>\\n    {{/if}}\\n  {{else}}\\n    {{#if uploader.isLoading}}\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    {{else}}\\n      <div\\n        class=\\\"developer-hub__upload\\\"\\n        data-test-app-icon-upload-picker\\n        {{action uploader.showFilePicker}}\\n      >\\n        <span class=\\\"developer-hub__upload__icon\\\">\\n          {{ic-interface-icon \\\"filled-cloud-upload\\\" solo=true}}\\n        </span>\\n        {{label}}\\n      </div>\\n    {{/if}}\\n  {{/if}}\\n</DeveloperHub::AppPackage::ImageUploadComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::ImageUploadComponent\\n  @addImageUrl={{action (mut imageUrl)}}\\n  @maxFileSizeInBytes={{22020096}}\\n  @uploadType=\\\"app_icon_url\\\" as |uploader|\\n>\\n  {{#if imageUrl}}\\n    {{#if uploader.isLoading}}\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    {{else}}\\n      <div\\n        class=\\\"developer-hub__app-store-listing__upload-icon\\\"\\n        {{action uploader.showFilePicker}}\\n      >\\n        <a href={{imageUrl}} target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">\\n          <img width=\\\"64px\\\" height=\\\"64px\\\" src=\\\"{{imageUrl}}\\\" alt />\\n        </a>\\n      </div>\\n    {{/if}}\\n  {{else}}\\n    {{#if uploader.isLoading}}\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    {{else}}\\n      <div\\n        class=\\\"developer-hub__upload\\\"\\n        data-test-app-icon-upload-picker\\n        {{action uploader.showFilePicker}}\\n      >\\n        <span class=\\\"developer-hub__upload__icon\\\">\\n          {{ic-interface-icon \\\"filled-cloud-upload\\\" solo=true}}\\n        </span>\\n        {{label}}\\n      </div>\\n    {{/if}}\\n  {{/if}}\\n</DeveloperHub::AppPackage::ImageUploadComponent>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/app-icon-upload-picker.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/app-icon-upload-picker.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if shouldShowTabs}}\\n  <div\\n    class=\\\"tabs__discrete-tab__container u__mb__20 u__padl__0 u__padr__0 u__padb__30\\\"\\n    data-test-app-package-view-tabs\\n  >\\n    <a\\n      class=\\\"tabs__discrete-tab u__padt__0 {{if showPending \\\"o__selected\\\"}}\\\"\\n      onclick={{action (mut showPending) true}}\\n      data-test-app-package-tab=\\\"pending\\\"\\n    >\\n      Pending configuration\\n    </a>\\n    <a\\n      class=\\\"tabs__discrete-tab u__padt__0 {{unless showPending \\\"o__selected\\\"}}\\\"\\n      onclick={{action (mut showPending) false}}\\n      data-test-app-package-tab=\\\"active\\\"\\n    >\\n      Approved configuration\\n    </a>\\n  </div>\\n{{/if}}\\n{{#if (and shouldShowTabs showPending)}}\\n  <div data-test-app-package-show-pending>\\n    {{yield\\n      (hash appPackage=appPackage.changeRequest.appPackageConfig params=params)\\n    }}\\n  </div>\\n{{else}}\\n  <div data-test-app-package-show-active>\\n    {{yield (hash appPackage=appPackage params=params)}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if shouldShowTabs}}\\n  <div\\n    class=\\\"tabs__discrete-tab__container u__mb__20 u__padl__0 u__padr__0 u__padb__30\\\"\\n    data-test-app-package-view-tabs\\n  >\\n    <a\\n      class=\\\"tabs__discrete-tab u__padt__0 {{if showPending \\\"o__selected\\\"}}\\\"\\n      onclick={{action (mut showPending) true}}\\n      data-test-app-package-tab=\\\"pending\\\"\\n    >\\n      Pending configuration\\n    </a>\\n    <a\\n      class=\\\"tabs__discrete-tab u__padt__0 {{unless showPending \\\"o__selected\\\"}}\\\"\\n      onclick={{action (mut showPending) false}}\\n      data-test-app-package-tab=\\\"active\\\"\\n    >\\n      Approved configuration\\n    </a>\\n  </div>\\n{{/if}}\\n{{#if (and shouldShowTabs showPending)}}\\n  <div data-test-app-package-show-pending>\\n    {{yield\\n      (hash appPackage=appPackage.changeRequest.appPackageConfig params=params)\\n    }}\\n  </div>\\n{{else}}\\n  <div data-test-app-package-show-active>\\n    {{yield (hash appPackage=appPackage params=params)}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/app-package-changes.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/app-package-changes.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly, not, equal, and, or } from '@ember/object/computed';\n\nexport default Component.extend({\n  appService: service(),\n  developerHub: service(),\n  app: readOnly('appService.app'),\n  approved: equal('appPackage.changeRequest.state', 'approved'),\n  closed: equal('appPackage.changeRequest.state', 'closed'),\n  inTerminalState: or('closed', 'approved'),\n  notInTerminalState: not('inTerminalState'),\n  shouldShowTabs: and('hasChanges', 'notInTerminalState'),\n  showPending: true,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"developer-hub__app-store-listing__upload-icon\\\">\\n  <img width=\\\"64px\\\" height=\\\"64px\\\" src=\\\"{{iconUrl}}\\\" />\\n</div>\\n<div class=\\\"h-2\\\"></div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"developer-hub__app-store-listing__upload-icon\\\">\\n  <img width=\\\"64px\\\" height=\\\"64px\\\" src=\\\"{{iconUrl}}\\\" />\\n</div>\\n<div class=\\\"h-2\\\"></div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/app-store-listing/edit/app-icon.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/app-store-listing/edit/app-icon.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Form as |form|>\\n  <MultiselectCheckboxes\\n    @options={{this.publicAppStoreCategories}}\\n    data-test-categories-list-container={{true}}\\n    class=\\\"u__padl__0 u__mt__0\\\"\\n    @onchange={{action \\\"updateCategories\\\"}}\\n    @selection={{this.appStoreListing.appStoreCategories}} as |category isSelected|\\n  >\\n    <form.Item as |item|>\\n        <item.Checkbox\\n          data-test-categories-list-item={{category.slug}}\\n          @label={{category.name}}\\n          @checked={{isSelected}}\\n        />\\n    </form.Item>\\n  </MultiselectCheckboxes>\\n</Form>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Form as |form|>\\n  <MultiselectCheckboxes\\n    @options={{this.publicAppStoreCategories}}\\n    data-test-categories-list-container={{true}}\\n    class=\\\"u__padl__0 u__mt__0\\\"\\n    @onchange={{action \\\"updateCategories\\\"}}\\n    @selection={{this.appStoreListing.appStoreCategories}} as |category isSelected|\\n  >\\n    <form.Item as |item|>\\n        <item.Checkbox\\n          data-test-categories-list-item={{category.slug}}\\n          @label={{category.name}}\\n          @checked={{isSelected}}\\n        />\\n    </form.Item>\\n  </MultiselectCheckboxes>\\n</Form>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/app-store-listing/edit/categories-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/app-store-listing/edit/categories-list.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class CategoriesList extends Component {\n  appStoreListing = this.args.appPackage.appStoreListing;\n  publicAppStoreCategories = this.args.categories.filter(cat => cat.publiclyVisible);\n\n  @action\n  updateCategories(newSelection, value, operation) {\n    let selectedSlugs = newSelection.map(category => category.get('slug'));\n    this.appStoreListing.set('categories', selectedSlugs);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<DeveloperHub::AppPackage::ReviewWarning />\\n<DeveloperHub::AppPackage::FormLayout as |layout|>\\n  <div class=\\\"flex flex-row gap-2\\\">\\n    <div class=\\\"pr-16\\\">\\n      <layout.description class=\\\"u__mb__10\\\">\\n        Reach 30,000 Intercom customers by publishing your app in the\\n        <a\\n          href=\\\"https://www.intercom.com/app-store\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n          {{on \\\"click\\\" (track-analytics-event action='clicked' object='intercom_app_store_link')}}\\n        >\\n          Intercom App Store\\n        </a>.\\n        Here’s some\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://developers.intercom.com/building-apps/docs/listing-your-app\\\"\\n          @title=\\\"tips on writing a great listing\\\"\\n          @type=\\\"developer\\\"\\n          @linkStyling=\\\"inline\\\"\\n          {{on \\\"click\\\" (track-analytics-event action='clicked' object='tips_app_listing_link')}}\\n        />.\\n        Make sure your app follows our\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://developers.intercom.com/building-apps/docs/building-successful-apps\\\"\\n          @title=\\\"app guidelines\\\"\\n          @type=\\\"developer\\\"\\n          @linkStyling=\\\"inline\\\"\\n          {{on \\\"click\\\" (track-analytics-event action='clicked' object='app_guidelines_link')}}\\n        />.\\n        before you submit it for review.\\n      </layout.description>\\n      <layout.group\\n        data-test-app-store-listing-icon\\n        @label=\\\"App icon\\\"\\n        @description=\\\"Keep it bold and simple. Must be 512 x 512px and PNG format.\\\"\\n        @errors={{@appPackage.appIconErrors}}\\n      >\\n        <DeveloperHub::AppPackage::AppIconUploadPicker\\n          data-test-app-store-listing-edit-app-package-icon\\n          @imageUrl={{@appPackage.iconUrl}}\\n        />\\n      </layout.group>\\n      <layout.inputGroup\\n        data-test-app-store-listing-edit-app-package-name\\n        @label=\\\"App name\\\"\\n        @description=\\\"Give your app a unique, memorable name. Max. 3 words.\\\"\\n        @value={{@appPackage.name}}\\n        @errors={{@appPackage.nameErrors}}\\n      />\\n      <layout.inputGroup\\n        data-test-app-store-listing-edit-app-package-short-description\\n        @label=\\\"Short description\\\"\\n        @description=\\\"Describe your app in one short, punchy line. Max. 70 characters.\\\"\\n        @value={{@appPackage.description}}\\n        @errors={{@appPackage.descriptionErrors}}\\n      />\\n      <layout.inputGroup\\n        data-test-app-store-listing-edit-app-package-built-by\\n        @label=\\\"Built by\\\"\\n        @description=\\\"Your company name\\\"\\n        @value={{@appPackage.builtBy}}\\n        @errors={{@appPackage.builtByErrors}}\\n      />\\n      <layout.inputGroup\\n        data-test-terms-of-service-url-input\\n        @label=\\\"Terms of service URL\\\"\\n        @description=\\\"URL where customers can read your terms of service.\\\"\\n        @value={{@appPackage.termsOfServiceUrl}}\\n        @errors={{@appPackage.termsOfServiceUrlErrors}}\\n      />\\n      <layout.inputGroup\\n        data-test-privacy-policy-url-input\\n        @label=\\\"Privacy policy URL\\\"\\n        @description=\\\"URL where customers can read your privacy policy.\\\"\\n        @value={{@appPackage.privacyPolicyUrl}}\\n        @errors={{@appPackage.privacyPolicyUrlErrors}}\\n      />\\n      <DeveloperHub::AppPackage::AppStoreListing::Edit::PricingModelSelector\\n        @appPackage={{@appPackage}}\\n        @errors={{@appPackage.pricingModelErrors}}\\n      />\\n      <Form\\n        class=\\\"developer-hub__app-package-listing__form\\\"\\n        as |form|>\\n        <form.Item\\n          class=\\\"developer-hub__app-package-listing__form-legacy-item\\\"\\n          @isInvalid={{@appPackage.documentationUrlErrors}}\\n          @errorMessage={{@appPackage.documentationUrlErrors.[0].message}}\\n          data-test-app-store-listing-documentation-url-input\\n          @label=\\\"Documentation URL\\\" as |item|>\\n          <item.Hint>URL where customers can go to read more documentation and get support (feature is hidden if empty)</item.Hint>\\n          <item.Input @value={{@appPackage.documentationUrl}} />\\n        </form.Item>\\n        <form.Item\\n          class=\\\"developer-hub__app-package-listing__form-legacy-item\\\"\\n          @isInvalid={{@appPackage.supportEmailErrors}}\\n          @errorMessage={{@appPackage.supportEmailErrors.[0].message}}\\n          data-test-app-store-listing-support-email-input\\n          @label=\\\"Support email address\\\" as |item|>\\n          <item.Hint>Email address that a customer can contact to receive support\\n            (Using Intercom for support? Why not using your forwarding address created <a href=\\\"https://app.intercom.com/a/apps/_/home?step=forward_emails\\\">here</a>)</item.Hint>\\n          <item.Input @value={{@appPackage.supportEmail}} />\\n        </form.Item>\\n        <form.Item\\n          class=\\\"developer-hub__app-package-listing__form-legacy-item\\\"\\n          @isInvalid={{@appPackage.avatarWorkspaceErrors}}\\n          @errorMessage={{@appPackage.avatarWorkspaceErrors.[0].message}}\\n          data-test-app-store-listing-avatar-workspace-input\\n          @label=\\\"Workspace avatars\\\" as |item|>\\n          <item.Hint>The id for the workspace from which teammate avatars will be fetched. Avatars will be displayed on your app listing above your support email address.</item.Hint>\\n          <item.Input @value={{@appPackage.avatarWorkspaceIdCode}} />\\n        </form.Item>\\n      </Form>\\n      <layout.inputGroup\\n        data-test-developer-homepage-url-input\\n        @label=\\\"Website URL\\\"\\n        @description=\\\"URL where customers can access your site and learn more.\\\"\\n        @value={{@appPackage.developerHomepageUrl}}\\n        @errors={{@appPackage.developerHomepageUrlErrors}}\\n      />\\n      <layout.group\\n        @label=\\\"Long description\\\"\\n        @description=\\\"Highlight the benefits and capabilities of your app in 2-3 paragraphs. You can highlight text to format it.\\\"\\n        @errors={{@appPackage.longDescriptionErrors}}\\n      >\\n        <DeveloperHub::AppPackage::AppStoreListing::Edit::LongDescription\\n          @appPackage={{@appPackage}}\\n          @errors={{@appPackage.longDescriptionErrors}}\\n        />\\n      </layout.group>\\n      <layout.inputGroup\\n        data-test-app-store-listing-promo-video\\n        @label=\\\"Promotional video (Optional)\\\"\\n        @description=\\\"A video showcasing your app. Must be an embed link from YouTube, Vimeo, Wistia or Loom\\\"\\n        @value={{@appPackage.appStoreListing.videoUrl}}\\n        @errors={{@appPackage.videoErrors}}\\n      />\\n      <layout.group\\n        data-test-app-store-listing-screenshots\\n        @label=\\\"App images\\\"\\n        @description=\\\"Showcase your app’s key features in 3-5 images. Must be 1600px by 1000px and PNG format.\\\"\\n        @errors={{@appPackage.imageUrlsErrors}}\\n      >\\n        <DeveloperHub::AppPackage::AppStoreListing::Edit::ScreenshotUploadPicker\\n          data-test-edit-screenshot-upload\\n          @appStoreListing={{@appPackage.appStoreListing}}\\n        />\\n      </layout.group>\\n      <layout.group\\n        data-test-app-store-listing-categories\\n        @label=\\\"Categories\\\"\\n        @description=\\\"Choose the 1 or 2 categories your app best fits into\\\"\\n        @errors={{@appPackage.categoriesErrors}}\\n      >\\n        <DeveloperHub::AppPackage::AppStoreListing::Edit::CategoriesList\\n          data-test-app-store-listing-edit-app-package-categories\\n          @appPackage={{@appPackage}}\\n          @categories={{@categories}}\\n        />\\n      </layout.group>\\n\\n      <layout.divider />\\n      <layout.description class=\\\"u__mb__10\\\">\\n        Ready to go? Hit proceed and then submit your app for review. Once it’s approved, you can publish your app in the store whenever you’re ready.\\n      </layout.description>\\n    </div>\\n    <div class=\\\"pl-16 mt-16 developer-hub__app-package-form__item__preview__app-card-container\\\" data-test-app-store-listing-edit-preview-card-feature>\\n      <div class=\\\"developer-hub__app-package-form__item__preview__app-card-wrapper\\\">\\n        <DeveloperHub::AppPackage::AppStoreListing::Edit::PreviewCard @appPackage={{@appPackage}} />\\n        <IcButton\\n          @fit={{true}}\\n          @label=\\\"Open preview\\\"\\n          @icon=\\\"new-window\\\"\\n          @onClick={{this.togglePreview}}\\n          class=\\\"mt-2\\\"\\n        data-test-app-store-listing-edit-show-preview-button\\n        />\\n      </div>\\n    </div>\\n  </div>\\n  {{#if this.showPreview}}\\n    <DeveloperHub::AppPackage::AppStoreListing::Edit::Preview\\n      @appPackage={{@appPackage}}\\n      @togglePreview={{this.togglePreview}}\\n      @showInstalledPreview={{this.showInstalledPreview}}\\n      @toggleInstalledPreview={{action (toggle 'showInstalledPreview' this)}}\\n      />\\n  {{/if}}\\n</DeveloperHub::AppPackage::FormLayout>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<DeveloperHub::AppPackage::ReviewWarning />\\n<DeveloperHub::AppPackage::FormLayout as |layout|>\\n  <div class=\\\"flex flex-row gap-2\\\">\\n    <div class=\\\"pr-16\\\">\\n      <layout.description class=\\\"u__mb__10\\\">\\n        Reach 30,000 Intercom customers by publishing your app in the\\n        <a\\n          href=\\\"https://www.intercom.com/app-store\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n          {{on \\\"click\\\" (track-analytics-event action='clicked' object='intercom_app_store_link')}}\\n        >\\n          Intercom App Store\\n        </a>.\\n        Here’s some\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://developers.intercom.com/building-apps/docs/listing-your-app\\\"\\n          @title=\\\"tips on writing a great listing\\\"\\n          @type=\\\"developer\\\"\\n          @linkStyling=\\\"inline\\\"\\n          {{on \\\"click\\\" (track-analytics-event action='clicked' object='tips_app_listing_link')}}\\n        />.\\n        Make sure your app follows our\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://developers.intercom.com/building-apps/docs/building-successful-apps\\\"\\n          @title=\\\"app guidelines\\\"\\n          @type=\\\"developer\\\"\\n          @linkStyling=\\\"inline\\\"\\n          {{on \\\"click\\\" (track-analytics-event action='clicked' object='app_guidelines_link')}}\\n        />.\\n        before you submit it for review.\\n      </layout.description>\\n      <layout.group\\n        data-test-app-store-listing-icon\\n        @label=\\\"App icon\\\"\\n        @description=\\\"Keep it bold and simple. Must be 512 x 512px and PNG format.\\\"\\n        @errors={{@appPackage.appIconErrors}}\\n      >\\n        <DeveloperHub::AppPackage::AppIconUploadPicker\\n          data-test-app-store-listing-edit-app-package-icon\\n          @imageUrl={{@appPackage.iconUrl}}\\n        />\\n      </layout.group>\\n      <layout.inputGroup\\n        data-test-app-store-listing-edit-app-package-name\\n        @label=\\\"App name\\\"\\n        @description=\\\"Give your app a unique, memorable name. Max. 3 words.\\\"\\n        @value={{@appPackage.name}}\\n        @errors={{@appPackage.nameErrors}}\\n      />\\n      <layout.inputGroup\\n        data-test-app-store-listing-edit-app-package-short-description\\n        @label=\\\"Short description\\\"\\n        @description=\\\"Describe your app in one short, punchy line. Max. 70 characters.\\\"\\n        @value={{@appPackage.description}}\\n        @errors={{@appPackage.descriptionErrors}}\\n      />\\n      <layout.inputGroup\\n        data-test-app-store-listing-edit-app-package-built-by\\n        @label=\\\"Built by\\\"\\n        @description=\\\"Your company name\\\"\\n        @value={{@appPackage.builtBy}}\\n        @errors={{@appPackage.builtByErrors}}\\n      />\\n      <layout.inputGroup\\n        data-test-terms-of-service-url-input\\n        @label=\\\"Terms of service URL\\\"\\n        @description=\\\"URL where customers can read your terms of service.\\\"\\n        @value={{@appPackage.termsOfServiceUrl}}\\n        @errors={{@appPackage.termsOfServiceUrlErrors}}\\n      />\\n      <layout.inputGroup\\n        data-test-privacy-policy-url-input\\n        @label=\\\"Privacy policy URL\\\"\\n        @description=\\\"URL where customers can read your privacy policy.\\\"\\n        @value={{@appPackage.privacyPolicyUrl}}\\n        @errors={{@appPackage.privacyPolicyUrlErrors}}\\n      />\\n      <DeveloperHub::AppPackage::AppStoreListing::Edit::PricingModelSelector\\n        @appPackage={{@appPackage}}\\n        @errors={{@appPackage.pricingModelErrors}}\\n      />\\n      <Form\\n        class=\\\"developer-hub__app-package-listing__form\\\"\\n        as |form|>\\n        <form.Item\\n          class=\\\"developer-hub__app-package-listing__form-legacy-item\\\"\\n          @isInvalid={{@appPackage.documentationUrlErrors}}\\n          @errorMessage={{@appPackage.documentationUrlErrors.[0].message}}\\n          data-test-app-store-listing-documentation-url-input\\n          @label=\\\"Documentation URL\\\" as |item|>\\n          <item.Hint>URL where customers can go to read more documentation and get support (feature is hidden if empty)</item.Hint>\\n          <item.Input @value={{@appPackage.documentationUrl}} />\\n        </form.Item>\\n        <form.Item\\n          class=\\\"developer-hub__app-package-listing__form-legacy-item\\\"\\n          @isInvalid={{@appPackage.supportEmailErrors}}\\n          @errorMessage={{@appPackage.supportEmailErrors.[0].message}}\\n          data-test-app-store-listing-support-email-input\\n          @label=\\\"Support email address\\\" as |item|>\\n          <item.Hint>Email address that a customer can contact to receive support\\n            (Using Intercom for support? Why not using your forwarding address created <a href=\\\"https://app.intercom.com/a/apps/_/home?step=forward_emails\\\">here</a>)</item.Hint>\\n          <item.Input @value={{@appPackage.supportEmail}} />\\n        </form.Item>\\n        <form.Item\\n          class=\\\"developer-hub__app-package-listing__form-legacy-item\\\"\\n          @isInvalid={{@appPackage.avatarWorkspaceErrors}}\\n          @errorMessage={{@appPackage.avatarWorkspaceErrors.[0].message}}\\n          data-test-app-store-listing-avatar-workspace-input\\n          @label=\\\"Workspace avatars\\\" as |item|>\\n          <item.Hint>The id for the workspace from which teammate avatars will be fetched. Avatars will be displayed on your app listing above your support email address.</item.Hint>\\n          <item.Input @value={{@appPackage.avatarWorkspaceIdCode}} />\\n        </form.Item>\\n      </Form>\\n      <layout.inputGroup\\n        data-test-developer-homepage-url-input\\n        @label=\\\"Website URL\\\"\\n        @description=\\\"URL where customers can access your site and learn more.\\\"\\n        @value={{@appPackage.developerHomepageUrl}}\\n        @errors={{@appPackage.developerHomepageUrlErrors}}\\n      />\\n      <layout.group\\n        @label=\\\"Long description\\\"\\n        @description=\\\"Highlight the benefits and capabilities of your app in 2-3 paragraphs. You can highlight text to format it.\\\"\\n        @errors={{@appPackage.longDescriptionErrors}}\\n      >\\n        <DeveloperHub::AppPackage::AppStoreListing::Edit::LongDescription\\n          @appPackage={{@appPackage}}\\n          @errors={{@appPackage.longDescriptionErrors}}\\n        />\\n      </layout.group>\\n      <layout.inputGroup\\n        data-test-app-store-listing-promo-video\\n        @label=\\\"Promotional video (Optional)\\\"\\n        @description=\\\"A video showcasing your app. Must be an embed link from YouTube, Vimeo, Wistia or Loom\\\"\\n        @value={{@appPackage.appStoreListing.videoUrl}}\\n        @errors={{@appPackage.videoErrors}}\\n      />\\n      <layout.group\\n        data-test-app-store-listing-screenshots\\n        @label=\\\"App images\\\"\\n        @description=\\\"Showcase your app’s key features in 3-5 images. Must be 1600px by 1000px and PNG format.\\\"\\n        @errors={{@appPackage.imageUrlsErrors}}\\n      >\\n        <DeveloperHub::AppPackage::AppStoreListing::Edit::ScreenshotUploadPicker\\n          data-test-edit-screenshot-upload\\n          @appStoreListing={{@appPackage.appStoreListing}}\\n        />\\n      </layout.group>\\n      <layout.group\\n        data-test-app-store-listing-categories\\n        @label=\\\"Categories\\\"\\n        @description=\\\"Choose the 1 or 2 categories your app best fits into\\\"\\n        @errors={{@appPackage.categoriesErrors}}\\n      >\\n        <DeveloperHub::AppPackage::AppStoreListing::Edit::CategoriesList\\n          data-test-app-store-listing-edit-app-package-categories\\n          @appPackage={{@appPackage}}\\n          @categories={{@categories}}\\n        />\\n      </layout.group>\\n\\n      <layout.divider />\\n      <layout.description class=\\\"u__mb__10\\\">\\n        Ready to go? Hit proceed and then submit your app for review. Once it’s approved, you can publish your app in the store whenever you’re ready.\\n      </layout.description>\\n    </div>\\n    <div class=\\\"pl-16 mt-16 developer-hub__app-package-form__item__preview__app-card-container\\\" data-test-app-store-listing-edit-preview-card-feature>\\n      <div class=\\\"developer-hub__app-package-form__item__preview__app-card-wrapper\\\">\\n        <DeveloperHub::AppPackage::AppStoreListing::Edit::PreviewCard @appPackage={{@appPackage}} />\\n        <IcButton\\n          @fit={{true}}\\n          @label=\\\"Open preview\\\"\\n          @icon=\\\"new-window\\\"\\n          @onClick={{this.togglePreview}}\\n          class=\\\"mt-2\\\"\\n        data-test-app-store-listing-edit-show-preview-button\\n        />\\n      </div>\\n    </div>\\n  </div>\\n  {{#if this.showPreview}}\\n    <DeveloperHub::AppPackage::AppStoreListing::Edit::Preview\\n      @appPackage={{@appPackage}}\\n      @togglePreview={{this.togglePreview}}\\n      @showInstalledPreview={{this.showInstalledPreview}}\\n      @toggleInstalledPreview={{action (toggle 'showInstalledPreview' this)}}\\n      />\\n  {{/if}}\\n</DeveloperHub::AppPackage::FormLayout>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/app-store-listing/edit/edit-base.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/app-store-listing/edit/edit-base.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\n\nexport default class EditBase extends Component {\n  @service intercomEventService;\n\n  @tracked\n  showPreview = false;\n  showInstalledPreview = false;\n\n  @action\n  togglePreview() {\n    this.showPreview = !this.showPreview;\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'preview',\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ComposerV2\\n  @app={{app}}\\n  @preset=\\\"appStore\\\"\\n  @blocks={{appPackage.appStoreListing.longDescription}}\\n  class=\\\"developer-hub__app-package-form__long-description {{if errors 'f__text o__error' 'f__text'}}\\\"\\n  @viewportSelector=\\\".developer-hub__description-composer\\\"\\n  @placeholder=\\\"Add an app description\\\"\\n  @actionReceiver={{composerComponent}}\\n  @onChange={{action \\\"updateBlocks\\\"}}\\n  data-test-long-description-composer={{true}}\\n  @onError={{composer-error-logger \\\"App Store\\\"}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ComposerV2\\n  @app={{app}}\\n  @preset=\\\"appStore\\\"\\n  @blocks={{appPackage.appStoreListing.longDescription}}\\n  class=\\\"developer-hub__app-package-form__long-description {{if errors 'f__text o__error' 'f__text'}}\\\"\\n  @viewportSelector=\\\".developer-hub__description-composer\\\"\\n  @placeholder=\\\"Add an app description\\\"\\n  @actionReceiver={{composerComponent}}\\n  @onChange={{action \\\"updateBlocks\\\"}}\\n  data-test-long-description-composer={{true}}\\n  @onError={{composer-error-logger \\\"App Store\\\"}}\\n/>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/app-store-listing/edit/long-description.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/app-store-listing/edit/long-description.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { compareBlocks } from 'embercom/lib/developer-hub/diff-calculator';\n\nexport default Component.extend({\n  valid: readOnly('appPackage.hasValidLongDescription'),\n  actions: {\n    updateBlocks() {\n      let composerComponent = this.composerComponent;\n      if (!composerComponent) {\n        return;\n      }\n      let blocks = composerComponent.getBlocks();\n      let currentBlocks = this.get('appPackage.appStoreListing.longDescription');\n      if (compareBlocks(blocks, currentBlocks).hasDifference) {\n        this.set('appPackage.appStoreListing.longDescription', blocks);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcCard>\\n  <div class=\\\"flex flex-col developer-hub__app-package-form__item__preview__app-card\\\">\\n    <Appstore::AppCard::Content\\n      data-test-app-store-listing-edit-preview-card\\n      @iconUrl={{unless this.iconUrlIsEmpty @appPackage.iconUrl}}\\n      @name={{if this.nameIsEmpty \\\"No name yet\\\" @appPackage.name}}\\n      @description={{if this.descriptionIsEmpty \\\"No description yet\\\" @appPackage.description}}\\n    />\\n  </div>\\n</IcCard>\\n\", {\"contents\":\"<IcCard>\\n  <div class=\\\"flex flex-col developer-hub__app-package-form__item__preview__app-card\\\">\\n    <Appstore::AppCard::Content\\n      data-test-app-store-listing-edit-preview-card\\n      @iconUrl={{unless this.iconUrlIsEmpty @appPackage.iconUrl}}\\n      @name={{if this.nameIsEmpty \\\"No name yet\\\" @appPackage.name}}\\n      @description={{if this.descriptionIsEmpty \\\"No description yet\\\" @appPackage.description}}\\n    />\\n  </div>\\n</IcCard>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/app-store-listing/edit/preview-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/app-store-listing/edit/preview-card.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { empty } from '@ember/object/computed';\n\nexport default Component.extend({\n  iconUrlIsEmpty: empty('appPackage.iconUrl'),\n  nameIsEmpty: empty('appPackage.name'),\n  descriptionIsEmpty: empty('appPackage.description'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  data-test-app-store-listing-edit-preview-modal-component\\n  @onModalClose={{@togglePreview}}\\n  @isOpen={{true}}\\n  @width='xl'\\n  @internalScroll={{false}}\\n  class=\\\"appstore__modal\\\" as |modal|>\\n  <div class=\\\"modal__overlay developer-hub__app-package-form__item__preview__topbar\\\">\\n    <div class=\\\"flex flex-row items-center justify-center developer-hub__app-package-form__item__preview__top-bar__content pt-2\\\">\\n      <p class=\\\"pr-4\\\">Preview your listing when installed</p>\\n      <IcOnOffToggle\\n        data-test-app-store-listing-edit-preview-modal-installed-preview-toggle\\n        @isOn={{@showInstalledPreview}}\\n        @onClick={{@toggleInstalledPreview}}\\n      />\\n    </div>\\n  </div>\\n  <modal.body @fullBleed={{true}}>\\n    <Appstore::AppPackage::Details::DetailsHeaderComponent\\n      @name={{if this.nameIsEmpty \\\"No name yet\\\" @appPackage.name}}\\n      @shortDescription={{if this.descriptionIsEmpty \\\"No description yet\\\" @appPackage.description}}\\n      @logo={{@appPackage.iconUrl}}\\n      @builtBy={{@appPackage.builtBy}}\\n      @developerHomepageUrl={{@appPackage.appStoreListing.developerHomepageUrl}}\\n      @pricingModel={{@appPackage.pricingModel}}\\n      @pricingPageUrl={{@appPackage.pricingPageUrl}}\\n    />\\n      <div class=\\\"flex flex-row\\\">\\n        <div class=\\\"appstore__app-details__main developer-hub__preview__app-details p-8\\\">\\n          <div class=\\\"flex flex-col appstore__app-details__long-description u__disable-pointer-events\\\" data-test-app-store-listing-edit-preview-modal-app-description>\\n            {{render-blocks @appPackage.appStoreListing.longDescription}}\\n          </div>\\n          {{#if @appPackage.appStoreListing.videoUrl}}\\n            <Appstore::AppPackage::Details::VideoEmbed\\n              class=\\\"u__mt__20\\\"\\n              @videoEmbedUrl={{@appPackage.appStoreListing.videoUrl}}\\n              @handleVideoClick={{@handleVideoClick}}\\n              />\\n          {{/if}}\\n          <div class=\\\"layout__box o__flexes-to-1 o__scrolls pt-2\\\">\\n            <Common::LightboxImage\\n              @analyticsObject={{@appPackage}}\\n              @imageUrls={{@appPackage.appStoreListing.imageUrls}}\\n              as |lightbox|\\n            >\\n              {{#each lightbox.items as |item|}}\\n                <lightbox.opener @item={{item}}>\\n                  <img\\n                    data-test-app-store-listing-edit-preview-modal-details-images\\n                    src=\\\"{{item.src}}\\\"\\n                    class=\\\"appstore__app-details__images mt-6\\\"\\n                    />\\n                </lightbox.opener>\\n              {{/each}}\\n            </Common::LightboxImage>\\n          </div>\\n        </div>\\n        <div>\\n          <div class=\\\"flex flex-col appstore__app-details__side-component-layout\\\">\\n            <div class=\\\"appstore__app-details__side-component-content pt-6 pr-4 pl-4\\\">\\n              {{#if @showInstalledPreview}}\\n                <IcTooltip\\n                  class=\\\"w-full\\\" as |t|>\\n                  <t.opener\\n                    @isInteractive={{true}}\\n                    class=\\\"w-full\\\">\\n                    <IcButton\\n                      @type=\\\"secondary\\\"\\n                      @label=\\\"Get app help\\\"\\n                      @icon=\\\"new-window\\\"\\n                      @fit={{true}}\\n                      class=\\\"mb-4 w-full\\\"\\n                      data-test-app-store-listing-edit-preview-modal-get-help\\n                      />\\n                  </t.opener>\\n                  <t.content>\\n                    {{#if @appPackage.documentationUrl}}\\n                      This will be a link to <a target=\\\"_blank\\\" href=\\\"{{@appPackage.documentationUrl}}\\\" rel=\\\"noopener noreferrer\\\">{{@appPackage.documentationUrl}}</a>\\n                    {{else}}\\n                      Provide a URL for Help\\n                    {{/if }}\\n                  </t.content>\\n                </IcTooltip>\\n                <div class=\\\"flex flex-row gap-1 mb-6\\\">\\n                  <div class=\\\"flex flex-col text-green\\\">\\n                    {{ic-interface-icon 'rounded-check'}}\\n                  </div>\\n                  <div class=\\\"flex flex-col flex-1\\\">\\n                    <span class=\\\"appstore__app-details__installed-badge\\\">\\n                      Installed\\n                      <span>by You</span>\\n                    </span>\\n                    <div class=\\\"t__light-text t__lowercase\\\">Just Now</div>\\n                  </div>\\n                </div>\\n              {{else}}\\n                <IcTooltip\\n                  class=\\\"w-full\\\" as |t|>\\n                  <t.opener\\n                    @isInteractive={{true}}\\n                    class=\\\"w-full\\\">\\n                    <IcButton\\n                      @type=\\\"primary-live\\\"\\n                      @label=\\\"Install Now\\\"\\n                      @fit={{true}}\\n                      class=\\\"mb-6\\\"\\n                      data-test-app-store-listing-edit-preview-modal-install-button\\n                      />\\n                  </t.opener>\\n                  <t.content>\\n                    {{#if @appPackage.installUrl}}\\n                      This will be a link to <a target=\\\"_blank\\\" href=\\\"{{@appPackage.installUrl}}\\\" rel=\\\"noopener noreferrer\\\">{{@appPackage.installUrl}}</a>\\n                    {{else}}\\n                      Provide a URL for Installation\\n                    {{/if }}\\n                    </t.content>\\n                </IcTooltip>\\n              {{/if}}\\n              {{#if this.hasCapabilities}}\\n                <Appstore::AppPackage::Details::UseInComponent\\n                  @appPackage={{@appPackage}}\\n                  @worksWithInboxConversations={{@appPackage.messengerApp.availableInConversations}}\\n                  @worksWithInboxSidebar={{@appPackage.inboxApp.enabled}}\\n                  @worksWithMessages={{@appPackage.messengerApp.availableInMessages}}\\n                  @worksWithMessenger={{@appPackage.messengerApp.availableInMessengerHome}}\\n                  @worksWithOperator={{@appPackage.messengerApp.availableInOperator}}\\n                  class=\\\"appstore__app-details__label-container u__disable-pointer-events pt-4 mb-4\\\"\\n                  />\\n              {{/if}}\\n              <div class=\\\"appstore__app-details__label-container mb-4\\\">\\n                {{#if @appPackage.appStoreListing.categories}}\\n                  <h4\\n                    class=\\\"text-gray appstore__app-details__label{{if (media \\\"isMobile\\\") \\\" u__mt__30\\\" \\\" u__padt__15\\\"}}\\\"\\n                    data-test-app-package-preview-category-list-header\\n                    >\\n                    Categories\\n                  </h4>\\n                  {{#each @appPackage.appStoreListing.appStoreCategories as |category|}}\\n                    <div class=\\\"u__display-inline-block\\\">\\n                      <span class=\\\"pill appstore__app-details__category-pill u__pointer-cursor\\\">\\n                        {{category.name}}\\n                      </span>\\n                    </div>\\n                  {{/each}}\\n                {{/if}}\\n              </div>\\n              {{#if (or @appPackage.termsOfServiceUrl @appPackage.privacyPolicyUrl)}}\\n                <div class=\\\"mb-4\\\">\\n                  {{#if @appPackage.termsOfServiceUrl}}\\n                    <IcTooltip @isInteractive={{true}} as |t|>\\n                      <t.opener>\\n                        <div class=\\\"ember-view appstore__app-details__tos-privacy-link\\\">\\n                          <a data-test-app-package-preview-terms-of-service-url>Terms of service</a>\\n                        </div>\\n                      </t.opener>\\n                      <t.content>\\n                        This will be a link to <a target=\\\"_blank\\\" href=\\\"{{@appPackage.termsOfServiceUrl}}\\\" rel=\\\"noopener noreferrer\\\">{{@appPackage.termsOfServiceUrl}}</a>\\n                      </t.content>\\n                    </IcTooltip>\\n                  {{/if}}\\n                  {{#if @appPackage.privacyPolicyUrl}}\\n                    <IcTooltip @isInteractive={{true}} as |t|>\\n                      <t.opener>\\n                        <div class=\\\"ember-view appstore__app-details__tos-privacy-link\\\">\\n                          <a data-test-app-package-preview-privacy-policy-url>Privacy policy</a>\\n                        </div>\\n                      </t.opener>\\n                      <t.content>\\n                        This will be a link to <a target=\\\"_blank\\\" href=\\\"{{@appPackage.privacyPolicyUrl}}\\\" rel=\\\"noopener noreferrer\\\">{{@appPackage.privacyPolicyUrl}}</a>\\n                      </t.content>\\n                    </IcTooltip>\\n                  {{/if}}\\n                </div>\\n              {{/if}}\\n              {{#if @showInstalledPreview}}\\n                <IcTooltip as |t|>\\n                  <t.opener\\n                    @isInteractive={{true}}\\n                    >\\n                    <IcButton\\n                      @type=\\\"secondary-destructive\\\"\\n                      @label=\\\"Uninstall\\\"\\n                      class=\\\"mt-2 mb-6\\\"\\n                      data-test-app-store-listing-edit-preview-modal-uninstall-button\\n                      />\\n                  </t.opener>\\n                  <t.content>\\n                    {{#if @appPackage.uninstallUrl}}\\n                      When a user clicks this your app will be uninstalled from their workspace and we’ll send a POST request with details to <a target=\\\"_blank\\\" href=\\\"{{@appPackage.uninstallUrl}}\\\" rel=\\\"noopener noreferrer\\\">{{@appPackage.uninstallUrl}}</a>\\n                    {{else}}\\n                      When a user clicks this your app will be uninstalled from their workspace\\n                    {{/if }}\\n                  </t.content>\\n                </IcTooltip>\\n              {{/if}}\\n            </div>\\n          </div>\\n        </div>\\n      </div>\\n  </modal.body>\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  data-test-app-store-listing-edit-preview-modal-component\\n  @onModalClose={{@togglePreview}}\\n  @isOpen={{true}}\\n  @width='xl'\\n  @internalScroll={{false}}\\n  class=\\\"appstore__modal\\\" as |modal|>\\n  <div class=\\\"modal__overlay developer-hub__app-package-form__item__preview__topbar\\\">\\n    <div class=\\\"flex flex-row items-center justify-center developer-hub__app-package-form__item__preview__top-bar__content pt-2\\\">\\n      <p class=\\\"pr-4\\\">Preview your listing when installed</p>\\n      <IcOnOffToggle\\n        data-test-app-store-listing-edit-preview-modal-installed-preview-toggle\\n        @isOn={{@showInstalledPreview}}\\n        @onClick={{@toggleInstalledPreview}}\\n      />\\n    </div>\\n  </div>\\n  <modal.body @fullBleed={{true}}>\\n    <Appstore::AppPackage::Details::DetailsHeaderComponent\\n      @name={{if this.nameIsEmpty \\\"No name yet\\\" @appPackage.name}}\\n      @shortDescription={{if this.descriptionIsEmpty \\\"No description yet\\\" @appPackage.description}}\\n      @logo={{@appPackage.iconUrl}}\\n      @builtBy={{@appPackage.builtBy}}\\n      @developerHomepageUrl={{@appPackage.appStoreListing.developerHomepageUrl}}\\n      @pricingModel={{@appPackage.pricingModel}}\\n      @pricingPageUrl={{@appPackage.pricingPageUrl}}\\n    />\\n      <div class=\\\"flex flex-row\\\">\\n        <div class=\\\"appstore__app-details__main developer-hub__preview__app-details p-8\\\">\\n          <div class=\\\"flex flex-col appstore__app-details__long-description u__disable-pointer-events\\\" data-test-app-store-listing-edit-preview-modal-app-description>\\n            {{render-blocks @appPackage.appStoreListing.longDescription}}\\n          </div>\\n          {{#if @appPackage.appStoreListing.videoUrl}}\\n            <Appstore::AppPackage::Details::VideoEmbed\\n              class=\\\"u__mt__20\\\"\\n              @videoEmbedUrl={{@appPackage.appStoreListing.videoUrl}}\\n              @handleVideoClick={{@handleVideoClick}}\\n              />\\n          {{/if}}\\n          <div class=\\\"layout__box o__flexes-to-1 o__scrolls pt-2\\\">\\n            <Common::LightboxImage\\n              @analyticsObject={{@appPackage}}\\n              @imageUrls={{@appPackage.appStoreListing.imageUrls}}\\n              as |lightbox|\\n            >\\n              {{#each lightbox.items as |item|}}\\n                <lightbox.opener @item={{item}}>\\n                  <img\\n                    data-test-app-store-listing-edit-preview-modal-details-images\\n                    src=\\\"{{item.src}}\\\"\\n                    class=\\\"appstore__app-details__images mt-6\\\"\\n                    />\\n                </lightbox.opener>\\n              {{/each}}\\n            </Common::LightboxImage>\\n          </div>\\n        </div>\\n        <div>\\n          <div class=\\\"flex flex-col appstore__app-details__side-component-layout\\\">\\n            <div class=\\\"appstore__app-details__side-component-content pt-6 pr-4 pl-4\\\">\\n              {{#if @showInstalledPreview}}\\n                <IcTooltip\\n                  class=\\\"w-full\\\" as |t|>\\n                  <t.opener\\n                    @isInteractive={{true}}\\n                    class=\\\"w-full\\\">\\n                    <IcButton\\n                      @type=\\\"secondary\\\"\\n                      @label=\\\"Get app help\\\"\\n                      @icon=\\\"new-window\\\"\\n                      @fit={{true}}\\n                      class=\\\"mb-4 w-full\\\"\\n                      data-test-app-store-listing-edit-preview-modal-get-help\\n                      />\\n                  </t.opener>\\n                  <t.content>\\n                    {{#if @appPackage.documentationUrl}}\\n                      This will be a link to <a target=\\\"_blank\\\" href=\\\"{{@appPackage.documentationUrl}}\\\" rel=\\\"noopener noreferrer\\\">{{@appPackage.documentationUrl}}</a>\\n                    {{else}}\\n                      Provide a URL for Help\\n                    {{/if }}\\n                  </t.content>\\n                </IcTooltip>\\n                <div class=\\\"flex flex-row gap-1 mb-6\\\">\\n                  <div class=\\\"flex flex-col text-green\\\">\\n                    {{ic-interface-icon 'rounded-check'}}\\n                  </div>\\n                  <div class=\\\"flex flex-col flex-1\\\">\\n                    <span class=\\\"appstore__app-details__installed-badge\\\">\\n                      Installed\\n                      <span>by You</span>\\n                    </span>\\n                    <div class=\\\"t__light-text t__lowercase\\\">Just Now</div>\\n                  </div>\\n                </div>\\n              {{else}}\\n                <IcTooltip\\n                  class=\\\"w-full\\\" as |t|>\\n                  <t.opener\\n                    @isInteractive={{true}}\\n                    class=\\\"w-full\\\">\\n                    <IcButton\\n                      @type=\\\"primary-live\\\"\\n                      @label=\\\"Install Now\\\"\\n                      @fit={{true}}\\n                      class=\\\"mb-6\\\"\\n                      data-test-app-store-listing-edit-preview-modal-install-button\\n                      />\\n                  </t.opener>\\n                  <t.content>\\n                    {{#if @appPackage.installUrl}}\\n                      This will be a link to <a target=\\\"_blank\\\" href=\\\"{{@appPackage.installUrl}}\\\" rel=\\\"noopener noreferrer\\\">{{@appPackage.installUrl}}</a>\\n                    {{else}}\\n                      Provide a URL for Installation\\n                    {{/if }}\\n                    </t.content>\\n                </IcTooltip>\\n              {{/if}}\\n              {{#if this.hasCapabilities}}\\n                <Appstore::AppPackage::Details::UseInComponent\\n                  @appPackage={{@appPackage}}\\n                  @worksWithInboxConversations={{@appPackage.messengerApp.availableInConversations}}\\n                  @worksWithInboxSidebar={{@appPackage.inboxApp.enabled}}\\n                  @worksWithMessages={{@appPackage.messengerApp.availableInMessages}}\\n                  @worksWithMessenger={{@appPackage.messengerApp.availableInMessengerHome}}\\n                  @worksWithOperator={{@appPackage.messengerApp.availableInOperator}}\\n                  class=\\\"appstore__app-details__label-container u__disable-pointer-events pt-4 mb-4\\\"\\n                  />\\n              {{/if}}\\n              <div class=\\\"appstore__app-details__label-container mb-4\\\">\\n                {{#if @appPackage.appStoreListing.categories}}\\n                  <h4\\n                    class=\\\"text-gray appstore__app-details__label{{if (media \\\"isMobile\\\") \\\" u__mt__30\\\" \\\" u__padt__15\\\"}}\\\"\\n                    data-test-app-package-preview-category-list-header\\n                    >\\n                    Categories\\n                  </h4>\\n                  {{#each @appPackage.appStoreListing.appStoreCategories as |category|}}\\n                    <div class=\\\"u__display-inline-block\\\">\\n                      <span class=\\\"pill appstore__app-details__category-pill u__pointer-cursor\\\">\\n                        {{category.name}}\\n                      </span>\\n                    </div>\\n                  {{/each}}\\n                {{/if}}\\n              </div>\\n              {{#if (or @appPackage.termsOfServiceUrl @appPackage.privacyPolicyUrl)}}\\n                <div class=\\\"mb-4\\\">\\n                  {{#if @appPackage.termsOfServiceUrl}}\\n                    <IcTooltip @isInteractive={{true}} as |t|>\\n                      <t.opener>\\n                        <div class=\\\"ember-view appstore__app-details__tos-privacy-link\\\">\\n                          <a data-test-app-package-preview-terms-of-service-url>Terms of service</a>\\n                        </div>\\n                      </t.opener>\\n                      <t.content>\\n                        This will be a link to <a target=\\\"_blank\\\" href=\\\"{{@appPackage.termsOfServiceUrl}}\\\" rel=\\\"noopener noreferrer\\\">{{@appPackage.termsOfServiceUrl}}</a>\\n                      </t.content>\\n                    </IcTooltip>\\n                  {{/if}}\\n                  {{#if @appPackage.privacyPolicyUrl}}\\n                    <IcTooltip @isInteractive={{true}} as |t|>\\n                      <t.opener>\\n                        <div class=\\\"ember-view appstore__app-details__tos-privacy-link\\\">\\n                          <a data-test-app-package-preview-privacy-policy-url>Privacy policy</a>\\n                        </div>\\n                      </t.opener>\\n                      <t.content>\\n                        This will be a link to <a target=\\\"_blank\\\" href=\\\"{{@appPackage.privacyPolicyUrl}}\\\" rel=\\\"noopener noreferrer\\\">{{@appPackage.privacyPolicyUrl}}</a>\\n                      </t.content>\\n                    </IcTooltip>\\n                  {{/if}}\\n                </div>\\n              {{/if}}\\n              {{#if @showInstalledPreview}}\\n                <IcTooltip as |t|>\\n                  <t.opener\\n                    @isInteractive={{true}}\\n                    >\\n                    <IcButton\\n                      @type=\\\"secondary-destructive\\\"\\n                      @label=\\\"Uninstall\\\"\\n                      class=\\\"mt-2 mb-6\\\"\\n                      data-test-app-store-listing-edit-preview-modal-uninstall-button\\n                      />\\n                  </t.opener>\\n                  <t.content>\\n                    {{#if @appPackage.uninstallUrl}}\\n                      When a user clicks this your app will be uninstalled from their workspace and we’ll send a POST request with details to <a target=\\\"_blank\\\" href=\\\"{{@appPackage.uninstallUrl}}\\\" rel=\\\"noopener noreferrer\\\">{{@appPackage.uninstallUrl}}</a>\\n                    {{else}}\\n                      When a user clicks this your app will be uninstalled from their workspace\\n                    {{/if }}\\n                  </t.content>\\n                </IcTooltip>\\n              {{/if}}\\n            </div>\\n          </div>\\n        </div>\\n      </div>\\n  </modal.body>\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/app-store-listing/edit/preview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/app-store-listing/edit/preview.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { empty, or } from '@ember/object/computed';\n\nexport default Component.extend({\n  nameIsEmpty: empty('appPackage.name'),\n  descriptionIsEmpty: empty('appPackage.description'),\n  hasCapabilities: or(\n    'appPackage.inboxApp.enabled',\n    'appPackage.messengerApp.availableInMessages',\n    'appPackage.messengerApp.availableInConversations',\n    'appPackage.messengerApp.availableInOperator',\n    'appPackage.messengerApp.availableInMessengerHome',\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::FormLayout as |layout|>\\n  <layout.group\\n    data-test-app-store-listing-edit-pricing-model-selector\\n    @label=\\\"Tell us how you sell your app\\\"\\n    @description=\\\"Please select the option that best describes how your app is sold. We’ll show this information on your app store listing to set better expectations to customers.\\\"\\n    @errors={{errors}}\\n  >\\n    {{#each pricingModels as |pricingModel|}}\\n      <layout.radio\\n        data-test-app-store-listing-edit-pricing-model-selector-item={{pricingModel.value\\n        }}\\n        @label={{pricingModel.name}}\\n        @value={{pricingModel.value}}\\n        @selected={{appPackage.pricingModel}}\\n      >\\n        <div class=\\\"u__ml__20\\\">\\n          <span class=\\\"t__light-text\\\">\\n            {{pricingModel.description}}\\n          </span>\\n          {{#if (and pricingModel.pricingPageRequired (eq appPackage.pricingModel pricingModel.value))}}\\n            <div class=\\\"h-2\\\"></div>\\n            <layout.inputGroup\\n              data-test-app-store-listing-edit-pricing-model-selector-item-pricing-url\\n              @label=\\\"Pricing page URL\\\"\\n              @value={{appPackage.pricingPageUrl}}\\n              @errors={{appPackage.pricingPageUrlErrors}}\\n            />\\n          {{/if}}\\n        </div>\\n      </layout.radio>\\n    {{/each}}\\n  </layout.group>\\n</DeveloperHub::AppPackage::FormLayout>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::FormLayout as |layout|>\\n  <layout.group\\n    data-test-app-store-listing-edit-pricing-model-selector\\n    @label=\\\"Tell us how you sell your app\\\"\\n    @description=\\\"Please select the option that best describes how your app is sold. We’ll show this information on your app store listing to set better expectations to customers.\\\"\\n    @errors={{errors}}\\n  >\\n    {{#each pricingModels as |pricingModel|}}\\n      <layout.radio\\n        data-test-app-store-listing-edit-pricing-model-selector-item={{pricingModel.value\\n        }}\\n        @label={{pricingModel.name}}\\n        @value={{pricingModel.value}}\\n        @selected={{appPackage.pricingModel}}\\n      >\\n        <div class=\\\"u__ml__20\\\">\\n          <span class=\\\"t__light-text\\\">\\n            {{pricingModel.description}}\\n          </span>\\n          {{#if (and pricingModel.pricingPageRequired (eq appPackage.pricingModel pricingModel.value))}}\\n            <div class=\\\"h-2\\\"></div>\\n            <layout.inputGroup\\n              data-test-app-store-listing-edit-pricing-model-selector-item-pricing-url\\n              @label=\\\"Pricing page URL\\\"\\n              @value={{appPackage.pricingPageUrl}}\\n              @errors={{appPackage.pricingPageUrlErrors}}\\n            />\\n          {{/if}}\\n        </div>\\n      </layout.radio>\\n    {{/each}}\\n  </layout.group>\\n</DeveloperHub::AppPackage::FormLayout>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/app-store-listing/edit/pricing-model-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/app-store-listing/edit/pricing-model-selector.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { getPricingModels } from 'embercom/lib/developer-hub/pricing-models';\n\nexport default Component.extend({\n  pricingModels: getPricingModels(),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-center\\\">\\n  <div class=\\\"developer-hub__screenshot-upload-row\\\">\\n    {{ic-interface-icon \\\"attachment\\\" color=\\\"gray\\\"}}\\n    <a\\n      data-test-screenshot-row-url\\n      href=\\\"{{imageUrl}}\\\"\\n      target=\\\"_blank\\\"\\n      rel=\\\"noopener noreferrer\\\"\\n      class=\\\"t__no-decoration\\\"\\n    >\\n      {{imageName}}\\n    </a>\\n    <a\\n      data-test-screenshot-row-remove\\n      class=\\\"u__right\\\"\\n      {{action removeImageUrl imageUrl}}\\n    >\\n      {{ic-interface-icon \\\"small-close\\\" color=\\\"gray\\\"}}\\n    </a>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-center\\\">\\n  <div class=\\\"developer-hub__screenshot-upload-row\\\">\\n    {{ic-interface-icon \\\"attachment\\\" color=\\\"gray\\\"}}\\n    <a\\n      data-test-screenshot-row-url\\n      href=\\\"{{imageUrl}}\\\"\\n      target=\\\"_blank\\\"\\n      rel=\\\"noopener noreferrer\\\"\\n      class=\\\"t__no-decoration\\\"\\n    >\\n      {{imageName}}\\n    </a>\\n    <a\\n      data-test-screenshot-row-remove\\n      class=\\\"u__right\\\"\\n      {{action removeImageUrl imageUrl}}\\n    >\\n      {{ic-interface-icon \\\"small-close\\\" color=\\\"gray\\\"}}\\n    </a>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/app-store-listing/edit/screenshot-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/app-store-listing/edit/screenshot-row.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nconst SCREENSHOT_ROW_URL_LENGTH = 35;\n\nexport default Component.extend({\n  imageName: computed('imageUrl', function() {\n    let imageUrl = this.imageUrl;\n    if (!imageUrl) {\n      return;\n    }\n\n    let imageUrlParts = this.imageUrl.split('/');\n    if (imageUrlParts.length < 1) {\n      return;\n    }\n\n    let imageName = imageUrlParts.pop();\n    let trimmedImageName =\n      imageName.length > SCREENSHOT_ROW_URL_LENGTH\n        ? `${imageName.substring(0, SCREENSHOT_ROW_URL_LENGTH - 3)}...`\n        : imageName;\n\n    return trimmedImageName;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::ImageUploadComponent\\n  @addImageUrl={{action \\\"addImageUrl\\\"}}\\n  @maxFileSizeInBytes={{22020096}}\\n  @mode=\\\"multi-file-upload\\\"\\n  @uploadType=\\\"listing_screenshot_url\\\" as |uploader|\\n>\\n  <div class=\\\"u__mb__5\\\">\\n    <IcButton\\n      class=\\\"u__mb__5\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action uploader.showFilePicker}}\\n      data-test-pick-screenshots={{true}}\\n    >\\n      {{#if uploader.isLoading}}\\n        <IcLoadingIndicator @size=\\\"tiny\\\" />\\n      {{else}}\\n        Choose file(s)\\n      {{/if}}\\n    </IcButton>\\n  </div>\\n  <div class=\\\"u__mb__5\\\">\\n    {{#each appStoreListing.imageUrls as |imageUrl|}}\\n      <div class=\\\"u__mb__5\\\">\\n        <DeveloperHub::AppPackage::AppStoreListing::Edit::ScreenshotRow\\n          data-test-edit-screenshot-row\\n          @removeImageUrl={{action \\\"removeImageUrl\\\"}}\\n          @imageUrl={{imageUrl}}\\n        />\\n      </div>\\n    {{/each}}\\n  </div>\\n</DeveloperHub::AppPackage::ImageUploadComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::ImageUploadComponent\\n  @addImageUrl={{action \\\"addImageUrl\\\"}}\\n  @maxFileSizeInBytes={{22020096}}\\n  @mode=\\\"multi-file-upload\\\"\\n  @uploadType=\\\"listing_screenshot_url\\\" as |uploader|\\n>\\n  <div class=\\\"u__mb__5\\\">\\n    <IcButton\\n      class=\\\"u__mb__5\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action uploader.showFilePicker}}\\n      data-test-pick-screenshots={{true}}\\n    >\\n      {{#if uploader.isLoading}}\\n        <IcLoadingIndicator @size=\\\"tiny\\\" />\\n      {{else}}\\n        Choose file(s)\\n      {{/if}}\\n    </IcButton>\\n  </div>\\n  <div class=\\\"u__mb__5\\\">\\n    {{#each appStoreListing.imageUrls as |imageUrl|}}\\n      <div class=\\\"u__mb__5\\\">\\n        <DeveloperHub::AppPackage::AppStoreListing::Edit::ScreenshotRow\\n          data-test-edit-screenshot-row\\n          @removeImageUrl={{action \\\"removeImageUrl\\\"}}\\n          @imageUrl={{imageUrl}}\\n        />\\n      </div>\\n    {{/each}}\\n  </div>\\n</DeveloperHub::AppPackage::ImageUploadComponent>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/app-store-listing/edit/screenshot-upload-picker.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/app-store-listing/edit/screenshot-upload-picker.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  actions: {\n    removeImageUrl(imageUrl) {\n      let newImageUrls = this.get('appStoreListing.imageUrls').slice();\n      newImageUrls.removeObject(imageUrl);\n      this.set('appStoreListing.imageUrls', newImageUrls);\n    },\n    addImageUrl(imageUrl) {\n      let newImageUrls = this.get('appStoreListing.imageUrls').slice();\n      newImageUrls.pushObject(imageUrl);\n      this.set('appStoreListing.imageUrls', newImageUrls);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcSelect\\n  data-test-select-supported-languages\\n  @selectedValue={{value}}\\n  @items={{localeDropdownItems}}\\n  @defaultLabel=\\\"Select a language\\\"\\n/>\\n<a class=\\\"btn__tertiary\\\">\\n  {{ic-interface-icon \\\"new\\\"}} Add supported language\\n</a>\\n<div class=\\\"h-2\\\"></div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcSelect\\n  data-test-select-supported-languages\\n  @selectedValue={{value}}\\n  @items={{localeDropdownItems}}\\n  @defaultLabel=\\\"Select a language\\\"\\n/>\\n<a class=\\\"btn__tertiary\\\">\\n  {{ic-interface-icon \\\"new\\\"}} Add supported language\\n</a>\\n<div class=\\\"h-2\\\"></div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/app-store-listing/edit/supported-language.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/app-store-listing/edit/supported-language.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { map } from '@ember/object/computed';\n\nexport default Component.extend({\n  localeDropdownItems: map('languages.supportedLocales', locale => ({\n    value: locale.get('localeId'),\n    text: locale.get('name'),\n  })),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::BasicInfo::Show::BasicInfo\\n  @appPackage={{appPackage}}\\n/>\\n<DeveloperHub::AppPackage::FormLayout as |layout|>\\n  <layout.group\\n    data-test-app-package-built-by\\n    @label=\\\"Built by\\\"\\n    @item={{appPackage.builtBy}}\\n  />\\n  <layout.group\\n    data-test-terms-of-service-url\\n    @label=\\\"Terms of service URL\\\"\\n    @item={{appPackage.termsOfServiceUrl}}\\n  />\\n  <layout.group\\n    data-test-privacy-policy-url\\n    @label=\\\"Privacy policy URL\\\"\\n    @item={{appPackage.privacyPolicyUrl}}\\n  />\\n  <layout.group\\n    data-test-pricing-model\\n    @label=\\\"Pricing model\\\"\\n    @item={{pricingModel.name}}\\n  />\\n  {{#if showPricingPageUrl}}\\n    <layout.group\\n      data-test-pricing-page-url\\n      @label=\\\"Pricing page URL\\\"\\n      @item={{appPackage.pricingPageUrl}}\\n    />\\n  {{/if}}\\n  <layout.group\\n    data-test-support-email\\n    @label=\\\"Support email address\\\"\\n    @item={{appPackage.supportEmail}}\\n  />\\n  <layout.group\\n    data-test-documentation-url\\n    @label=\\\"Documentation URL\\\"\\n    @item={{appPackage.documentationUrl}}\\n  />\\n  <layout.group\\n    data-test-developer-homepage-url\\n    @label=\\\"Website URL\\\"\\n    @item={{appPackage.developerHomepageUrl}}\\n  />\\n  <layout.group @label=\\\"Long description\\\">\\n    <div data-test-render-blocks class=\\\"developer-hub__description-composer\\\">\\n      {{render-blocks appPackage.appStoreListing.longDescription}}\\n    </div>\\n  </layout.group>\\n  <layout.group @label=\\\"App images\\\">\\n    <DeveloperHub::AppPackage::AppStoreListing::Show::ScreenshotsList\\n      @appStoreListing={{appPackage.appStoreListing}}\\n    />\\n  </layout.group>\\n  <layout.group\\n    data-test-app-store-listing-promo-video\\n    @label=\\\"Promotional video\\\"\\n  >\\n    <DeveloperHub::AppPackage::AppStoreListing::Show::VideoEmbed\\n      @videoEmbedUrl={{appPackage.appStoreListing.videoEmbedUrl}}\\n    />\\n  </layout.group>\\n  <layout.group @label=\\\"Categories\\\">\\n    <DeveloperHub::AppPackage::AppStoreListing::Show::CategoriesList\\n      @categories={{appPackage.appStoreListing.appStoreCategories}}\\n    />\\n  </layout.group>\\n</DeveloperHub::AppPackage::FormLayout>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::BasicInfo::Show::BasicInfo\\n  @appPackage={{appPackage}}\\n/>\\n<DeveloperHub::AppPackage::FormLayout as |layout|>\\n  <layout.group\\n    data-test-app-package-built-by\\n    @label=\\\"Built by\\\"\\n    @item={{appPackage.builtBy}}\\n  />\\n  <layout.group\\n    data-test-terms-of-service-url\\n    @label=\\\"Terms of service URL\\\"\\n    @item={{appPackage.termsOfServiceUrl}}\\n  />\\n  <layout.group\\n    data-test-privacy-policy-url\\n    @label=\\\"Privacy policy URL\\\"\\n    @item={{appPackage.privacyPolicyUrl}}\\n  />\\n  <layout.group\\n    data-test-pricing-model\\n    @label=\\\"Pricing model\\\"\\n    @item={{pricingModel.name}}\\n  />\\n  {{#if showPricingPageUrl}}\\n    <layout.group\\n      data-test-pricing-page-url\\n      @label=\\\"Pricing page URL\\\"\\n      @item={{appPackage.pricingPageUrl}}\\n    />\\n  {{/if}}\\n  <layout.group\\n    data-test-support-email\\n    @label=\\\"Support email address\\\"\\n    @item={{appPackage.supportEmail}}\\n  />\\n  <layout.group\\n    data-test-documentation-url\\n    @label=\\\"Documentation URL\\\"\\n    @item={{appPackage.documentationUrl}}\\n  />\\n  <layout.group\\n    data-test-developer-homepage-url\\n    @label=\\\"Website URL\\\"\\n    @item={{appPackage.developerHomepageUrl}}\\n  />\\n  <layout.group @label=\\\"Long description\\\">\\n    <div data-test-render-blocks class=\\\"developer-hub__description-composer\\\">\\n      {{render-blocks appPackage.appStoreListing.longDescription}}\\n    </div>\\n  </layout.group>\\n  <layout.group @label=\\\"App images\\\">\\n    <DeveloperHub::AppPackage::AppStoreListing::Show::ScreenshotsList\\n      @appStoreListing={{appPackage.appStoreListing}}\\n    />\\n  </layout.group>\\n  <layout.group\\n    data-test-app-store-listing-promo-video\\n    @label=\\\"Promotional video\\\"\\n  >\\n    <DeveloperHub::AppPackage::AppStoreListing::Show::VideoEmbed\\n      @videoEmbedUrl={{appPackage.appStoreListing.videoEmbedUrl}}\\n    />\\n  </layout.group>\\n  <layout.group @label=\\\"Categories\\\">\\n    <DeveloperHub::AppPackage::AppStoreListing::Show::CategoriesList\\n      @categories={{appPackage.appStoreListing.appStoreCategories}}\\n    />\\n  </layout.group>\\n</DeveloperHub::AppPackage::FormLayout>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/app-store-listing/show.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/app-store-listing/show.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport { and, readOnly } from '@ember/object/computed';\nimport { getPricingModelData } from 'embercom/lib/developer-hub/pricing-models';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  showPricingPageUrl: and('pricingModel', 'pricingModel.pricingPageRequired'),\n  pricingModel: computed('appPackage.pricingModel', function() {\n    return getPricingModelData(this.appPackage.pricingModel);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ul data-test-categories-list-container class=\\\"developer-hub__categories-list\\\">\\n  {{#each publicAppStoreCategories as |category|}}\\n    <li data-test-categories-list-item>\\n      {{category.name}}\\n    </li>\\n  {{/each}}\\n</ul>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ul data-test-categories-list-container class=\\\"developer-hub__categories-list\\\">\\n  {{#each publicAppStoreCategories as |category|}}\\n    <li data-test-categories-list-item>\\n      {{category.name}}\\n    </li>\\n  {{/each}}\\n</ul>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/app-store-listing/show/categories-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/app-store-listing/show/categories-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { filterBy } from '@ember/object/computed';\n\nexport default Component.extend({\n  publicAppStoreCategories: filterBy('categories', 'publiclyVisible', true),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"developer-hub__app-package-grid__container u__pad__20\\\"\\n  data-test-screenshots-grid-container\\n>\\n  {{#each appStoreListing.imageUrls as |imageUrl|}}\\n    <div\\n      class=\\\"developer-hub__app-package-grid__item\\\"\\n      data-test-screenshots-grid-item\\n    >\\n      <img src=\\\"{{imageUrl}}\\\" alt />\\n    </div>\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"developer-hub__app-package-grid__container u__pad__20\\\"\\n  data-test-screenshots-grid-container\\n>\\n  {{#each appStoreListing.imageUrls as |imageUrl|}}\\n    <div\\n      class=\\\"developer-hub__app-package-grid__item\\\"\\n      data-test-screenshots-grid-item\\n    >\\n      <img src=\\\"{{imageUrl}}\\\" alt />\\n    </div>\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/app-store-listing/show/screenshots-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/app-store-listing/show/screenshots-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if videoEmbedUrl}}\\n  <div class=\\\"developer-hub__video-embed__container u__mt__10\\\">\\n    <iframe\\n      data-test-developer-hub-video-embed-iframe\\n      class=\\\"developer-hub__video-embed__iframe\\\"\\n      src=\\\"{{videoEmbedUrl}}\\\"\\n      frameborder=\\\"0\\\"\\n      allowfullscreen\\n    ></iframe>\\n  </div>\\n{{else}}\\n  <p class=\\\"t__light-text\\\">\\n    (Empty)\\n  </p>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if videoEmbedUrl}}\\n  <div class=\\\"developer-hub__video-embed__container u__mt__10\\\">\\n    <iframe\\n      data-test-developer-hub-video-embed-iframe\\n      class=\\\"developer-hub__video-embed__iframe\\\"\\n      src=\\\"{{videoEmbedUrl}}\\\"\\n      frameborder=\\\"0\\\"\\n      allowfullscreen\\n    ></iframe>\\n  </div>\\n{{else}}\\n  <p class=\\\"t__light-text\\\">\\n    (Empty)\\n  </p>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/app-store-listing/show/video-embed.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/app-store-listing/show/video-embed.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::ReviewWarning />\\n{{#let appPackage.changeRequest.appPackageConfig as |appPackageConfig|}}\\n  <DeveloperHub::AppPackage::FormLayout as |layout|>\\n    <layout.group\\n      @label=\\\"App icon\\\"\\n      @description=\\\"Must be 512 x 512 and in PNG format\\\"\\n    >\\n      <DeveloperHub::AppPackage::AppIconUploadPicker\\n        @label=\\\"Upload an app icon\\\"\\n        @imageUrl={{appPackage.changeRequest.appPackageConfig.iconUrl}}\\n      />\\n    </layout.group>\\n    <layout.inputGroup\\n      data-test-app-name-input\\n      @label=\\\"App name\\\"\\n      @description=\\\"Try to keep to 3 words or under, must not include the word Intercom\\\"\\n      @value={{appPackageConfig.name}}\\n      @errors={{appPackageConfig.nameErrors}}\\n    />\\n    <layout.inputGroup\\n      data-test-app-description-input\\n      @label=\\\"Short description\\\"\\n      @description=\\\"A catchy subheading describing your app. Max 70 characters.\\\"\\n      @value={{appPackageConfig.basicInfoDescription}}\\n      @errors={{appPackageConfig.basicInfoDescriptionErrors}}\\n    />\\n    <hr />\\n    <layout.group\\n      @label=\\\"Client ID\\\"\\n      @item={{appPackage.oauthClient.clientId}}\\n    />\\n    <layout.group\\n      @label=\\\"Client Secret\\\"\\n      @item={{appPackage.oauthClient.clientSecret}}\\n    />\\n  </DeveloperHub::AppPackage::FormLayout>\\n{{/let}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::ReviewWarning />\\n{{#let appPackage.changeRequest.appPackageConfig as |appPackageConfig|}}\\n  <DeveloperHub::AppPackage::FormLayout as |layout|>\\n    <layout.group\\n      @label=\\\"App icon\\\"\\n      @description=\\\"Must be 512 x 512 and in PNG format\\\"\\n    >\\n      <DeveloperHub::AppPackage::AppIconUploadPicker\\n        @label=\\\"Upload an app icon\\\"\\n        @imageUrl={{appPackage.changeRequest.appPackageConfig.iconUrl}}\\n      />\\n    </layout.group>\\n    <layout.inputGroup\\n      data-test-app-name-input\\n      @label=\\\"App name\\\"\\n      @description=\\\"Try to keep to 3 words or under, must not include the word Intercom\\\"\\n      @value={{appPackageConfig.name}}\\n      @errors={{appPackageConfig.nameErrors}}\\n    />\\n    <layout.inputGroup\\n      data-test-app-description-input\\n      @label=\\\"Short description\\\"\\n      @description=\\\"A catchy subheading describing your app. Max 70 characters.\\\"\\n      @value={{appPackageConfig.basicInfoDescription}}\\n      @errors={{appPackageConfig.basicInfoDescriptionErrors}}\\n    />\\n    <hr />\\n    <layout.group\\n      @label=\\\"Client ID\\\"\\n      @item={{appPackage.oauthClient.clientId}}\\n    />\\n    <layout.group\\n      @label=\\\"Client Secret\\\"\\n      @item={{appPackage.oauthClient.clientSecret}}\\n    />\\n  </DeveloperHub::AppPackage::FormLayout>\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/basic-info/edit.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/basic-info/edit.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::BasicInfo::Show::BasicInfo\\n  @appPackage={{appPackage}}\\n/>\\n<DeveloperHub::AppPackage::FormLayout as |layout|>\\n  {{#if hasAppStoreListing}}\\n    <layout.group>\\n      <layout.description data-test-basic-info-help-message>\\n        {{ic-interface-icon \\\"info\\\"}} You can change your app icon, name and description in <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.app-store-listing\\\">App Store listing</LinkTo>.\\n      </layout.description>\\n    </layout.group>\\n  {{/if}}\\n  <layout.divider />\\n  <layout.group\\n    data-test-client-id\\n    @label=\\\"Client ID\\\"\\n    @item={{appPackage.oauthClient.clientId}}\\n  />\\n  <layout.group\\n    data-test-client-secret\\n    @label=\\\"Client secret\\\"\\n    @item={{appPackage.oauthClient.clientSecret}}\\n  />\\n  <DeveloperHub::AppPackage::BasicInfo::Show::ApiVersion\\n    @appPackage={{appPackage}}\\n    @allApiVersions={{allApiVersions}}\\n    @updateApiVersion={{updateApiVersion}}\\n  />\\n  {{#if appPackage.adminId}}\\n    <hr />\\n    <layout.group @label=\\\"Created by\\\">\\n      {{ic-avatar direct=admin.avatarData size=\\\"s\\\"}} <span data-test-admin-avatar>{{admin.name}} on {{moment-format appPackage.createdAt \\\"MMMM DD YYYY\\\"}}</span>\\n    </layout.group>\\n  {{/if}}\\n</DeveloperHub::AppPackage::FormLayout>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::BasicInfo::Show::BasicInfo\\n  @appPackage={{appPackage}}\\n/>\\n<DeveloperHub::AppPackage::FormLayout as |layout|>\\n  {{#if hasAppStoreListing}}\\n    <layout.group>\\n      <layout.description data-test-basic-info-help-message>\\n        {{ic-interface-icon \\\"info\\\"}} You can change your app icon, name and description in <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.app-store-listing\\\">App Store listing</LinkTo>.\\n      </layout.description>\\n    </layout.group>\\n  {{/if}}\\n  <layout.divider />\\n  <layout.group\\n    data-test-client-id\\n    @label=\\\"Client ID\\\"\\n    @item={{appPackage.oauthClient.clientId}}\\n  />\\n  <layout.group\\n    data-test-client-secret\\n    @label=\\\"Client secret\\\"\\n    @item={{appPackage.oauthClient.clientSecret}}\\n  />\\n  <DeveloperHub::AppPackage::BasicInfo::Show::ApiVersion\\n    @appPackage={{appPackage}}\\n    @allApiVersions={{allApiVersions}}\\n    @updateApiVersion={{updateApiVersion}}\\n  />\\n  {{#if appPackage.adminId}}\\n    <hr />\\n    <layout.group @label=\\\"Created by\\\">\\n      {{ic-avatar direct=admin.avatarData size=\\\"s\\\"}} <span data-test-admin-avatar>{{admin.name}} on {{moment-format appPackage.createdAt \\\"MMMM DD YYYY\\\"}}</span>\\n    </layout.group>\\n  {{/if}}\\n</DeveloperHub::AppPackage::FormLayout>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/basic-info/show.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/basic-info/show.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { notEmpty } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Admin from 'embercom/models/admin';\n\nexport default Component.extend({\n  store: service(),\n  hasAppStoreListing: notEmpty('appPackage.appStoreListing'),\n  admin: computed('appPackage.adminId', function() {\n    return Admin.peekAndMaybeLoad(this.store, this.get('appPackage.adminId'));\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-app-package-version>\\n  <div class=\\\"u__mb__5\\\">\\n    <h4 class=\\\"t__light-text t__label\\\">\\n      {{this.text}}\\n    </h4>\\n  </div>\\n  <div data-test-app-package-api-version-value>\\n    <div class=\\\"u__mb__5\\\">\\n      {{apiVersion.name}}\\n\\n      {{#unless apiVersion.isUnstable}}\\n        <span class=\\\"t__light-text\\\">\\n          ({{moment-format apiVersion.date \\\"YYYY-MM-DD\\\"}})\\n        </span>\\n      {{/unless}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-app-package-version>\\n  <div class=\\\"u__mb__5\\\">\\n    <h4 class=\\\"t__light-text t__label\\\">\\n      {{this.text}}\\n    </h4>\\n  </div>\\n  <div data-test-app-package-api-version-value>\\n    <div class=\\\"u__mb__5\\\">\\n      {{apiVersion.name}}\\n\\n      {{#unless apiVersion.isUnstable}}\\n        <span class=\\\"t__light-text\\\">\\n          ({{moment-format apiVersion.date \\\"YYYY-MM-DD\\\"}})\\n        </span>\\n      {{/unless}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/basic-info/show/api-version-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/basic-info/show/api-version-title.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if appPackage.apiVersion}}\\n  <hr />\\n  <DeveloperHub::AppPackage::BasicInfo::Show::ApiVersionTitle\\n    @apiVersion={{appPackage.apiVersion}}\\n    @text=\\\"API version\\\"\\n  />\\n  {{#if (gt numberOfPublicVersionsBehind 0)}}\\n    <div data-test-number-of-versions-behind>\\n      <span class=\\\"text-red\\\">\\n        {{ic-interface-icon \\\"alert\\\"}}\\n      </span>\\n      <span class=\\\"t__light-text\\\">\\n        {{pluralize numberOfPublicVersionsBehind \\\"version\\\" }} behind, view the\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://developers.intercom.com/building-apps/docs/api-changelog\\\"\\n          @title=\\\"changelog\\\"\\n          @type=\\\"developer\\\"\\n          @linkStyling=\\\"inline\\\"\\n          {{on \\\"click\\\" (track-analytics-event action='clicked' object='changelog')}}\\n        />.\\n      </span>\\n    </div>\\n  {{/if}}\\n  <br />\\n  {{#if showUpdateVersionButton}}\\n    <IcButton\\n      data-test-update-api-version-open-modal\\n      @label=\\\"Change version\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action \\\"openVersionPickerModal\\\"}}\\n    />\\n    {{#if showApiVersionPicker}}\\n      {{!-- template-lint-disable intercom/no-legacy-modal --}}\\n      <Common::ModalComponent\\n        @closeModal={{action \\\"close\\\"}}\\n        @width=\\\"s\\\"\\n        as |modal|\\n      >\\n        <modal.components.header\\n          @title=\\\"Change version\\\"\\n          data-test-update-api-version-modal-header\\n        />\\n        <modal.components.body>\\n          <div class=\\\"u__mb__10\\\">\\n            Changing your API version may break your implementation. We recommend following the\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://developers.intercom.com/building-apps/docs/api-versioning\\\"\\n              @title=\\\"changing API versions guide\\\"\\n              @type=\\\"developer\\\"\\n              @linkStyling=\\\"inline\\\"\\n              {{on \\\"click\\\" (track-analytics-event action='clicked' object='api_versions_guide')}}\\n            />\\n            to test your app and review the\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://developers.intercom.com/building-apps/docs/api-changelog\\\"\\n              @title=\\\"changelog\\\"\\n              @type=\\\"developer\\\"\\n              @linkStyling=\\\"inline\\\"\\n              {{on \\\"click\\\" (track-analytics-event action='clicked' object='changelog')}}\\n            />\\n            before changing your version.\\n          </div>\\n          <DeveloperHub::AppPackage::BasicInfo::Show::ApiVersionTitle\\n            @apiVersion={{appPackage.apiVersion}}\\n            @text=\\\"Your API version\\\"\\n          />\\n          <div class=\\\"u__mb__5 u__mt__10\\\">\\n            <h4 class=\\\"t__light-text t__label\\\">\\n              Change to\\n            </h4>\\n          </div>\\n          <IcSelect\\n            data-test-new-app-package-modal-api-version={{true}}\\n            @items={{apiVersionsDropdown}}\\n            @onSelectItem={{action (mut selectedApiVersionId)}}\\n          />\\n        </modal.components.body>\\n        <modal.components.footer as |footer|>\\n          <footer.mainButtons as |list|>\\n            <list.button\\n              data-test-modal-close-button\\n              @label=\\\"Cancel\\\"\\n              @onClick={{action \\\"close\\\"}}\\n            />\\n            <list.button\\n              data-test-update-api-version-modal-ok-button\\n              @type=\\\"primary\\\"\\n              @label=\\\"Change version\\\"\\n              @onClick={{perform updateAndCloseModal}}\\n            />\\n          </footer.mainButtons>\\n        </modal.components.footer>\\n      </Common::ModalComponent>\\n    {{/if}}\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if appPackage.apiVersion}}\\n  <hr />\\n  <DeveloperHub::AppPackage::BasicInfo::Show::ApiVersionTitle\\n    @apiVersion={{appPackage.apiVersion}}\\n    @text=\\\"API version\\\"\\n  />\\n  {{#if (gt numberOfPublicVersionsBehind 0)}}\\n    <div data-test-number-of-versions-behind>\\n      <span class=\\\"text-red\\\">\\n        {{ic-interface-icon \\\"alert\\\"}}\\n      </span>\\n      <span class=\\\"t__light-text\\\">\\n        {{pluralize numberOfPublicVersionsBehind \\\"version\\\" }} behind, view the\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://developers.intercom.com/building-apps/docs/api-changelog\\\"\\n          @title=\\\"changelog\\\"\\n          @type=\\\"developer\\\"\\n          @linkStyling=\\\"inline\\\"\\n          {{on \\\"click\\\" (track-analytics-event action='clicked' object='changelog')}}\\n        />.\\n      </span>\\n    </div>\\n  {{/if}}\\n  <br />\\n  {{#if showUpdateVersionButton}}\\n    <IcButton\\n      data-test-update-api-version-open-modal\\n      @label=\\\"Change version\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action \\\"openVersionPickerModal\\\"}}\\n    />\\n    {{#if showApiVersionPicker}}\\n      {{!-- template-lint-disable intercom/no-legacy-modal --}}\\n      <Common::ModalComponent\\n        @closeModal={{action \\\"close\\\"}}\\n        @width=\\\"s\\\"\\n        as |modal|\\n      >\\n        <modal.components.header\\n          @title=\\\"Change version\\\"\\n          data-test-update-api-version-modal-header\\n        />\\n        <modal.components.body>\\n          <div class=\\\"u__mb__10\\\">\\n            Changing your API version may break your implementation. We recommend following the\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://developers.intercom.com/building-apps/docs/api-versioning\\\"\\n              @title=\\\"changing API versions guide\\\"\\n              @type=\\\"developer\\\"\\n              @linkStyling=\\\"inline\\\"\\n              {{on \\\"click\\\" (track-analytics-event action='clicked' object='api_versions_guide')}}\\n            />\\n            to test your app and review the\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://developers.intercom.com/building-apps/docs/api-changelog\\\"\\n              @title=\\\"changelog\\\"\\n              @type=\\\"developer\\\"\\n              @linkStyling=\\\"inline\\\"\\n              {{on \\\"click\\\" (track-analytics-event action='clicked' object='changelog')}}\\n            />\\n            before changing your version.\\n          </div>\\n          <DeveloperHub::AppPackage::BasicInfo::Show::ApiVersionTitle\\n            @apiVersion={{appPackage.apiVersion}}\\n            @text=\\\"Your API version\\\"\\n          />\\n          <div class=\\\"u__mb__5 u__mt__10\\\">\\n            <h4 class=\\\"t__light-text t__label\\\">\\n              Change to\\n            </h4>\\n          </div>\\n          <IcSelect\\n            data-test-new-app-package-modal-api-version={{true}}\\n            @items={{apiVersionsDropdown}}\\n            @onSelectItem={{action (mut selectedApiVersionId)}}\\n          />\\n        </modal.components.body>\\n        <modal.components.footer as |footer|>\\n          <footer.mainButtons as |list|>\\n            <list.button\\n              data-test-modal-close-button\\n              @label=\\\"Cancel\\\"\\n              @onClick={{action \\\"close\\\"}}\\n            />\\n            <list.button\\n              data-test-update-api-version-modal-ok-button\\n              @type=\\\"primary\\\"\\n              @label=\\\"Change version\\\"\\n              @onClick={{perform updateAndCloseModal}}\\n            />\\n          </footer.mainButtons>\\n        </modal.components.footer>\\n      </Common::ModalComponent>\\n    {{/if}}\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/basic-info/show/api-version.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/basic-info/show/api-version.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly, oneWay, filter } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { task } from 'ember-concurrency';\nimport { gt } from '@ember/object/computed';\nimport moment from 'moment';\nimport compareVersions from 'embercom/lib/compare-versions';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  showApiVersionPicker: false,\n  developerHub: service(),\n  appPackageVersion: readOnly('developerHub.appPackage.apiVersion'),\n  selectedApiVersionId: oneWay('appPackageVersion.id'),\n  selectedApiVersion: computed('selectedApiVersionId', function() {\n    return this.allVersions.filterBy('id', this.selectedApiVersionId)[0];\n  }),\n  newerPublicVersions: filter('allVersions', function(version) {\n    return !version.experimental && !version.isUnstable && version.id > this.selectedApiVersionId;\n  }),\n  numberOfPublicVersionsBehind: readOnly('newerPublicVersions.length'),\n  allVersions: computed('allApiVersions', function() {\n    let allVersions = (this.allApiVersions || []).toArray();\n    return allVersions.sort((a, b) => compareVersions(b.get('id'), a.get('id')));\n  }),\n  apiVersionsDropdown: computed('allVersions', 'selectedApiVersionId', function() {\n    return this.allVersions.map((version, index) => ({\n      isSelected: version.get('id') === this.selectedApiVersionId,\n      text: this.calculateDropdownItemText(version),\n      value: version.get('name'),\n    }));\n  }),\n  showUpdateVersionButton: gt('apiVersionsDropdown.length', 1),\n  actions: {\n    close() {\n      this.set('showApiVersionPicker', false);\n      this.set('selectedApiVersionId', this.get('appPackage.apiVersion.id'));\n      this.intercomEventService.trackAnalyticsEvent({\n        object: 'cancel_change_api_version_button',\n        action: 'clicked',\n      });\n    },\n    openVersionPickerModal() {\n      this.set('showApiVersionPicker', true);\n      this.intercomEventService.trackAnalyticsEvent({\n        object: 'change_api_version_button',\n        action: 'clicked',\n      });\n    },\n  },\n  updateAndCloseModal: task(function*(selectedApiVersion) {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'perform_api_version_change_button',\n      action: 'clicked',\n    });\n    yield this.updateApiVersion.perform(this.selectedApiVersion);\n    this.set('showApiVersionPicker', false);\n  }),\n  calculateDropdownItemText(version) {\n    let name = version.name;\n    if (version.latest_public === true) {\n      return `${name} (latest)`;\n    } else if (version.experimental === true) {\n      return `${name} (experimental)`;\n    } else if (version.isUnstable) {\n      return name;\n    } else {\n      return `${name} (${moment(version.date).format('YYYY-MM-DD')})`;\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::FormLayout as |layout|>\\n  <layout.group @label=\\\"App Icon\\\">\\n    {{#if appPackage.iconUrl}}\\n      <img\\n        data-test-developer-hub-icon=\\\"app\\\"\\n        width=\\\"64\\\"\\n        height=\\\"64\\\"\\n        src=\\\"{{appPackage.iconUrl}}\\\"\\n        alt\\n      />\\n    {{else}}\\n      <div data-test-developer-hub-icon=\\\"generic\\\">\\n        {{inline-svg\\n          \\\"developer-hub/app-package\\\"\\n          class=\\\"developer-hub__app-package-basic-info__icon\\\"\\n        }}\\n      </div>\\n    {{/if}}\\n  </layout.group>\\n  <layout.group\\n    data-test-app-package-name\\n    @label=\\\"App name\\\"\\n    @item={{appPackage.name}}\\n  />\\n  <layout.group\\n    data-test-app-package-description\\n    @label=\\\"Short Description\\\"\\n    @item={{appPackage.description}}\\n  />\\n</DeveloperHub::AppPackage::FormLayout>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::FormLayout as |layout|>\\n  <layout.group @label=\\\"App Icon\\\">\\n    {{#if appPackage.iconUrl}}\\n      <img\\n        data-test-developer-hub-icon=\\\"app\\\"\\n        width=\\\"64\\\"\\n        height=\\\"64\\\"\\n        src=\\\"{{appPackage.iconUrl}}\\\"\\n        alt\\n      />\\n    {{else}}\\n      <div data-test-developer-hub-icon=\\\"generic\\\">\\n        {{inline-svg\\n          \\\"developer-hub/app-package\\\"\\n          class=\\\"developer-hub__app-package-basic-info__icon\\\"\\n        }}\\n      </div>\\n    {{/if}}\\n  </layout.group>\\n  <layout.group\\n    data-test-app-package-name\\n    @label=\\\"App name\\\"\\n    @item={{appPackage.name}}\\n  />\\n  <layout.group\\n    data-test-app-package-description\\n    @label=\\\"Short Description\\\"\\n    @item={{appPackage.description}}\\n  />\\n</DeveloperHub::AppPackage::FormLayout>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/basic-info/show/basic-info.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/basic-info/show/basic-info.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<p>\\n  The Canvas Kit allows you to build apps that extend the workspaces of Intercom customers who have installed your app.\\n</p>\\n<br />\\n<p>\\n  You can use the Canvas Kit to streamline workflows for users, leads and visitors or to improve the efficiency of Intercom teammates.\\n</p>\\n<br />\\n<h2 class=\\\"u__mb__5 t__h2\\\">\\n  Configure app capabilities\\n</h2>\\n<p class=\\\"u__mt__10\\\">\\n  To use the Canvas Kit, select the capabilities you want to enable for your app.\\n</p>\\n<br />\\n<div data-test-dev-hub-accordion class=\\\"layout__box o__has-columns\\\">\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <Pulse::SettingsAccordion\\n      @openSectionId={{this.openSectionId}}\\n      @onOpenSectionChange={{perform this.onOpenSectionChange}}\\n      as |accordion|\\n    >\\n      <accordion.Section @id=\\\"leads\\\" as |section|>\\n        <section.Header\\n          @heading=\\\"For users, leads and visitors\\\"\\n          @subheading=\\\"Enables your app to be sent and received in the Messenger, in auto-messages, Operator bots and conversation replies\\\"\\n          @icon=\\\"lead-qualification\\\"\\n          @stamp={{if this.enabledMessengerApps \\\"On\\\" \\\"Off\\\"}}\\n          {{on \\\"click\\\" (track-analytics-event action='clicked' app_package_code=appPackage.id object='end_users_accordion')}}\\n        />\\n        <section.Body as |body|>\\n          <DeveloperHub::AppPackage::CanvasKit::UsersAccordion\\n            @messengerApp={{messengerAppConfig}}\\n            class=\\\"u__padl__20 u__padr__20\\\"\\n            @saveMessengerAppTask={{saveMessengerAppTask}}\\n            @cancelEdit={{fn this.cancelEdit body.sectionAPI}}\\n            @showReviewBanner={{developerHub.messengerAppHasChanges}}\\n          />\\n        </section.Body>\\n      </accordion.Section>\\n      <accordion.Section @id=\\\"teammates\\\" as |section|>\\n        <section.Header\\n          @heading=\\\"For teammates\\\"\\n          @subheading=\\\"Enables your app to be used in the inbox by Intercom teammates\\\"\\n          @icon=\\\"team\\\"\\n          @stamp={{if this.enabledInboxApps \\\"On\\\" \\\"Off\\\"}}\\n          {{on \\\"click\\\" (track-analytics-event action='clicked' app_package_code=appPackage.id object='teammates_accordion')}}\\n        />\\n        <section.Body as |body|>\\n          <DeveloperHub::AppPackage::CanvasKit::TeammateAccordion\\n            @inboxApp={{inboxAppConfig}}\\n            class=\\\"u__padl__20 u__padr__20\\\"\\n            @saveInboxAppTask={{saveInboxAppTask}}\\n            @appPackageCannotUseInboxApps={{appPackageCannotUseInboxApps}}\\n            @cancelEdit={{fn this.cancelEdit body.sectionAPI}}\\n            @showReviewBanner={{developerHub.inboxAppHasChanges}}\\n          />\\n        </section.Body>\\n      </accordion.Section>\\n    </Pulse::SettingsAccordion>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<p>\\n  The Canvas Kit allows you to build apps that extend the workspaces of Intercom customers who have installed your app.\\n</p>\\n<br />\\n<p>\\n  You can use the Canvas Kit to streamline workflows for users, leads and visitors or to improve the efficiency of Intercom teammates.\\n</p>\\n<br />\\n<h2 class=\\\"u__mb__5 t__h2\\\">\\n  Configure app capabilities\\n</h2>\\n<p class=\\\"u__mt__10\\\">\\n  To use the Canvas Kit, select the capabilities you want to enable for your app.\\n</p>\\n<br />\\n<div data-test-dev-hub-accordion class=\\\"layout__box o__has-columns\\\">\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <Pulse::SettingsAccordion\\n      @openSectionId={{this.openSectionId}}\\n      @onOpenSectionChange={{perform this.onOpenSectionChange}}\\n      as |accordion|\\n    >\\n      <accordion.Section @id=\\\"leads\\\" as |section|>\\n        <section.Header\\n          @heading=\\\"For users, leads and visitors\\\"\\n          @subheading=\\\"Enables your app to be sent and received in the Messenger, in auto-messages, Operator bots and conversation replies\\\"\\n          @icon=\\\"lead-qualification\\\"\\n          @stamp={{if this.enabledMessengerApps \\\"On\\\" \\\"Off\\\"}}\\n          {{on \\\"click\\\" (track-analytics-event action='clicked' app_package_code=appPackage.id object='end_users_accordion')}}\\n        />\\n        <section.Body as |body|>\\n          <DeveloperHub::AppPackage::CanvasKit::UsersAccordion\\n            @messengerApp={{messengerAppConfig}}\\n            class=\\\"u__padl__20 u__padr__20\\\"\\n            @saveMessengerAppTask={{saveMessengerAppTask}}\\n            @cancelEdit={{fn this.cancelEdit body.sectionAPI}}\\n            @showReviewBanner={{developerHub.messengerAppHasChanges}}\\n          />\\n        </section.Body>\\n      </accordion.Section>\\n      <accordion.Section @id=\\\"teammates\\\" as |section|>\\n        <section.Header\\n          @heading=\\\"For teammates\\\"\\n          @subheading=\\\"Enables your app to be used in the inbox by Intercom teammates\\\"\\n          @icon=\\\"team\\\"\\n          @stamp={{if this.enabledInboxApps \\\"On\\\" \\\"Off\\\"}}\\n          {{on \\\"click\\\" (track-analytics-event action='clicked' app_package_code=appPackage.id object='teammates_accordion')}}\\n        />\\n        <section.Body as |body|>\\n          <DeveloperHub::AppPackage::CanvasKit::TeammateAccordion\\n            @inboxApp={{inboxAppConfig}}\\n            class=\\\"u__padl__20 u__padr__20\\\"\\n            @saveInboxAppTask={{saveInboxAppTask}}\\n            @appPackageCannotUseInboxApps={{appPackageCannotUseInboxApps}}\\n            @cancelEdit={{fn this.cancelEdit body.sectionAPI}}\\n            @showReviewBanner={{developerHub.inboxAppHasChanges}}\\n          />\\n        </section.Body>\\n      </accordion.Section>\\n    </Pulse::SettingsAccordion>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/canvas-kit.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/canvas-kit.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { isPresent } from '@ember/utils';\nimport compareVersions from 'embercom/lib/compare-versions';\n\nconst INBOX_APPS_VERSION = '1.3';\n\nexport default Component.extend({\n  developerHub: service(),\n  store: service(),\n  notificationsService: service(),\n  confirmService: service(),\n  intercomEventService: service(),\n  messengerApp: readOnly('appPackage.messengerApp'),\n  changeRequestConfig: readOnly('appPackage.changeRequest.appPackageConfig'),\n  enabledInboxApps: readOnly('appPackage.inboxApp.enabled'),\n  enabledMessengerApps: readOnly('messengerApp.enabledMessengerApps'),\n  appPackageVersion: readOnly('appPackage.apiVersion'),\n\n  // Validations need to fire on change request data\n  shouldValidateInboxApp: readOnly('changeRequestConfig.inboxApp'),\n  shouldValidateMessengerApps: readOnly('changeRequestConfig.messengerApp'),\n\n  init() {\n    this._super(...arguments);\n\n    let inboxAppConfig =\n      this.appPackage.changeRequest.appPackageConfig.inboxApp ||\n      this.store.createFragment('developer-hub/inbox-app');\n    let messengerAppConfig =\n      this.appPackage.changeRequest.appPackageConfig.messengerApp ||\n      this.store.createFragment('developer-hub/messenger-app');\n    let invalidApiVersionForInboxApp =\n      compareVersions(this.appPackageVersion.get('id'), INBOX_APPS_VERSION) < 0;\n    let appPackageCannotUseInboxApps =\n      invalidApiVersionForInboxApp && this.appPackage.inboxApp === null;\n\n    this.setProperties({\n      inboxAppConfig,\n      messengerAppConfig,\n      invalidApiVersionForInboxApp,\n      appPackageCannotUseInboxApps,\n    });\n  },\n\n  saveInboxAppTask: task(function*() {\n    let { validations } = yield this.inboxAppConfig.validate();\n    if (validations.isInvalid) {\n      return;\n    }\n    this.set('appPackage.changeRequest.appPackageConfig.inboxApp', this.inboxAppConfig);\n    yield this.saveAppPackageTask.perform();\n  }),\n\n  saveMessengerAppTask: task(function*() {\n    let { validations } = yield this.messengerAppConfig.validate();\n    if (validations.isInvalid) {\n      return;\n    }\n    this.set('appPackage.changeRequest.appPackageConfig.messengerApp', this.messengerAppConfig);\n    yield this.saveAppPackageTask.perform();\n  }),\n\n  saveAppPackageTask: task(function*() {\n    try {\n      yield this.appPackage.save();\n      this.intercomEventService.trackAnalyticsEvent({\n        object: 'app_package',\n        app_package_id: this.get('appPackage.id'),\n        app_metadata: this.get('appPackage.changeRequest'),\n        enabled_inbox_app: this.enabledInboxApps,\n        enabled_messenger_app: this.enabledMessengerApps,\n        action: 'saved',\n      });\n      this.notificationsService.notifyConfirmation('Your app saved succesfully');\n    } catch (e) {\n      this.notificationsService.notifyError(\n        'An error occurred while saving the app. Please try again.',\n      );\n    }\n  }),\n\n  onOpenSectionChange: task(function*(sectionId) {\n    let canSectionClose = yield this.sectionCanClose.perform();\n    if (canSectionClose) {\n      this.set('openSectionId', sectionId);\n    }\n  }),\n\n  hasCanvasKitChanges() {\n    let inboxAppHasDiff = isPresent(Object.keys(this.inboxAppConfig.changedAttributes()));\n    let messengerAppHasDiff = isPresent(Object.keys(this.messengerAppConfig.changedAttributes()));\n    return inboxAppHasDiff || messengerAppHasDiff;\n  },\n\n  sectionCanClose: task(function*() {\n    if (!this.hasCanvasKitChanges()) {\n      return true;\n    }\n\n    let confirmed = yield this.confirmService.show(this, {\n      title: 'Unsaved Changes',\n      body: 'You have unsaved changes. Do you want to discard them?',\n      confirmButtonText: 'Discard',\n      center: true,\n    });\n\n    if (confirmed) {\n      this.rollbackChanges();\n      return true;\n    } else {\n      return false;\n    }\n  }),\n\n  rollbackChanges() {\n    this.inboxAppConfig.rollbackAttributes();\n    this.messengerAppConfig.rollbackAttributes();\n  },\n\n  cancelEdit: action(function(sectionAPI) {\n    this.rollbackChanges();\n    if (sectionAPI) {\n      sectionAPI.close();\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"layout__box o__has-columns o__centers-vertically mb-4\\\">\\n  {{inline-svg this.iconPath class=\\\"developer-hub__canvas-kit__capability-icon\\\"}}<span class=\\\"t__h4 ml-2\\\">{{this.capabilityName}}</span>\\n</div>\\n<label class=\\\"mb-6 layout__box o__has-columns\\\">\\n  <div\\n    class=\\\"developer-hub__canvas-kit__capability-checkbox u__centered-text-block\\\"\\n  >\\n    <Input\\n      data-test-capability-checkbox\\n      @type=\\\"checkbox\\\"\\n      @checked={{this.checked}}\\n    />\\n  </div>\\n  <div class=\\\"layout__box o__flexes-to-1 ml-2\\\">\\n    {{this.label}}\\n    <p class=\\\"t__light-text\\\">\\n      {{this.description}}\\n    </p>\\n  </div>\\n</label>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"layout__box o__has-columns o__centers-vertically mb-4\\\">\\n  {{inline-svg this.iconPath class=\\\"developer-hub__canvas-kit__capability-icon\\\"}}<span class=\\\"t__h4 ml-2\\\">{{this.capabilityName}}</span>\\n</div>\\n<label class=\\\"mb-6 layout__box o__has-columns\\\">\\n  <div\\n    class=\\\"developer-hub__canvas-kit__capability-checkbox u__centered-text-block\\\"\\n  >\\n    <Input\\n      data-test-capability-checkbox\\n      @type=\\\"checkbox\\\"\\n      @checked={{this.checked}}\\n    />\\n  </div>\\n  <div class=\\\"layout__box o__flexes-to-1 ml-2\\\">\\n    {{this.label}}\\n    <p class=\\\"t__light-text\\\">\\n      {{this.description}}\\n    </p>\\n  </div>\\n</label>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/canvas-kit/capability-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/canvas-kit/capability-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::FormLayout\\n  class=\\\"u__padr__20 u__padl__50\\\" as |layout|\\n>\\n  {{#if showReviewBanner}}\\n    <div class=\\\"u__mb__15\\\">\\n      <IcBanner data-test-app-package-review-warning @type=\\\"warning\\\">\\n        These changes will need to be <a href=\\\"{{href-to \\\"apps.app.developer-hub.app-packages.app-package.review\\\"}}\\\">reviewed by Intercom</a> before they get applied\\n      </IcBanner>\\n    </div>\\n  {{/if}}\\n  {{#if appPackageCannotUseInboxApps}}\\n    <div class=\\\"u__mb__15\\\">\\n      <IcBanner data-test-api-version-invalid @type=\\\"warning\\\">\\n        Apps for teammates are only available with API version 1.3 or higher. <a href=\\\"{{href-to \\\"apps.app.developer-hub.app-packages.app-package.basic-info\\\"}}\\\">Upgrade your version here</a>\\n      </IcBanner>\\n    </div>\\n  {{else}}\\n    <layout.group\\n      data-test-inbox-app-capabilites\\n      @errors={{inboxApp.enabledErrors}}\\n    >\\n      <DeveloperHub::AppPackage::CanvasKit::CapabilityComponent\\n        data-test-available-in-inbox-apps\\n        @iconPath=\\\"products/inbox-24px\\\"\\n        @capabilityName=\\\"Inbox\\\"\\n        @label=\\\"Add to conversation details\\\"\\n        @checked={{inboxApp.enabled}}\\n        @description=\\\"Allows teammates to add your app into their conversation details within the Inbox.\\\"\\n      />\\n    </layout.group>\\n    {{#if inboxApp.enabled}}\\n      <layout.divider />\\n      <layout.inputGroup\\n        data-test-inbox-app-initialize-url\\n        @label=\\\"Initialize flow webhook URL\\\"\\n        @description=\\\"Sent when a teammate loads a conversation. Will only be sent for teammates who have added your app to their conversational details.\\\"\\n        @placeholder=\\\"e.g. https://yourdomain.com/initialize-url/\\\"\\n        @value={{inboxApp.initializeUrl}}\\n        @errors={{inboxApp.initializeUrlErrors}}\\n        class=\\\"developer-hub__canvas-kit__webhook-input\\\"\\n      />\\n      <layout.inputGroup\\n        data-test-inbox-app-submit-url\\n        @label=\\\"Submit flow webhook URL\\\"\\n        @description=\\\"Sent when an end-user interacts with your app, via a button, link, or text input. This flow can occur multiple times as an end-user interacts with your app.\\\"\\n        @placeholder=\\\"e.g. https://yourdomain.com/submit-url/\\\"\\n        @value={{inboxApp.submitUrl}}\\n        @errors={{inboxApp.submitUrlErrors}}\\n        class=\\\"developer-hub__canvas-kit__webhook-input\\\"\\n      />\\n    {{/if}}\\n    <IcButtonList class=\\\"u__padt__10 u__padb__10\\\" as |list|>\\n      <list.button\\n        data-test-save-button={{true}}\\n        @label=\\\"Save\\\"\\n        @onClick={{perform saveInboxAppTask}}\\n        @disabled={{not saveButtonEnabled}}\\n        @type=\\\"primary\\\"\\n        @fit={{false}}\\n      />\\n      <list.button\\n        @label=\\\"Cancel\\\"\\n        @onClick={{cancelEdit}}\\n        @type=\\\"secondary\\\"\\n        data-test-cancel-button={{true}}\\n        @fit={{false}}\\n      />\\n    </IcButtonList>\\n  {{/if}}\\n</DeveloperHub::AppPackage::FormLayout>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::FormLayout\\n  class=\\\"u__padr__20 u__padl__50\\\" as |layout|\\n>\\n  {{#if showReviewBanner}}\\n    <div class=\\\"u__mb__15\\\">\\n      <IcBanner data-test-app-package-review-warning @type=\\\"warning\\\">\\n        These changes will need to be <a href=\\\"{{href-to \\\"apps.app.developer-hub.app-packages.app-package.review\\\"}}\\\">reviewed by Intercom</a> before they get applied\\n      </IcBanner>\\n    </div>\\n  {{/if}}\\n  {{#if appPackageCannotUseInboxApps}}\\n    <div class=\\\"u__mb__15\\\">\\n      <IcBanner data-test-api-version-invalid @type=\\\"warning\\\">\\n        Apps for teammates are only available with API version 1.3 or higher. <a href=\\\"{{href-to \\\"apps.app.developer-hub.app-packages.app-package.basic-info\\\"}}\\\">Upgrade your version here</a>\\n      </IcBanner>\\n    </div>\\n  {{else}}\\n    <layout.group\\n      data-test-inbox-app-capabilites\\n      @errors={{inboxApp.enabledErrors}}\\n    >\\n      <DeveloperHub::AppPackage::CanvasKit::CapabilityComponent\\n        data-test-available-in-inbox-apps\\n        @iconPath=\\\"products/inbox-24px\\\"\\n        @capabilityName=\\\"Inbox\\\"\\n        @label=\\\"Add to conversation details\\\"\\n        @checked={{inboxApp.enabled}}\\n        @description=\\\"Allows teammates to add your app into their conversation details within the Inbox.\\\"\\n      />\\n    </layout.group>\\n    {{#if inboxApp.enabled}}\\n      <layout.divider />\\n      <layout.inputGroup\\n        data-test-inbox-app-initialize-url\\n        @label=\\\"Initialize flow webhook URL\\\"\\n        @description=\\\"Sent when a teammate loads a conversation. Will only be sent for teammates who have added your app to their conversational details.\\\"\\n        @placeholder=\\\"e.g. https://yourdomain.com/initialize-url/\\\"\\n        @value={{inboxApp.initializeUrl}}\\n        @errors={{inboxApp.initializeUrlErrors}}\\n        class=\\\"developer-hub__canvas-kit__webhook-input\\\"\\n      />\\n      <layout.inputGroup\\n        data-test-inbox-app-submit-url\\n        @label=\\\"Submit flow webhook URL\\\"\\n        @description=\\\"Sent when an end-user interacts with your app, via a button, link, or text input. This flow can occur multiple times as an end-user interacts with your app.\\\"\\n        @placeholder=\\\"e.g. https://yourdomain.com/submit-url/\\\"\\n        @value={{inboxApp.submitUrl}}\\n        @errors={{inboxApp.submitUrlErrors}}\\n        class=\\\"developer-hub__canvas-kit__webhook-input\\\"\\n      />\\n    {{/if}}\\n    <IcButtonList class=\\\"u__padt__10 u__padb__10\\\" as |list|>\\n      <list.button\\n        data-test-save-button={{true}}\\n        @label=\\\"Save\\\"\\n        @onClick={{perform saveInboxAppTask}}\\n        @disabled={{not saveButtonEnabled}}\\n        @type=\\\"primary\\\"\\n        @fit={{false}}\\n      />\\n      <list.button\\n        @label=\\\"Cancel\\\"\\n        @onClick={{cancelEdit}}\\n        @type=\\\"secondary\\\"\\n        data-test-cancel-button={{true}}\\n        @fit={{false}}\\n      />\\n    </IcButtonList>\\n  {{/if}}\\n</DeveloperHub::AppPackage::FormLayout>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/canvas-kit/teammate-accordion.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/canvas-kit/teammate-accordion.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { and, or } from '@ember/object/computed';\n\nexport default Component.extend({\n  hasNonEmptyValues: or('inboxApp.enabled', 'inboxApp.initializeUrl', 'inboxApp.submitUrl'),\n  saveButtonEnabled: and('inboxApp.hasDirtyAttributes', 'hasNonEmptyValues'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::FormLayout\\n  class=\\\"u__padr__20 u__padl__50\\\" as |layout|\\n>\\n  {{#if showReviewBanner}}\\n    <div class=\\\"u__mb__15\\\">\\n      <IcBanner data-test-app-package-review-warning @type=\\\"warning\\\">\\n        These changes will need to be <a href=\\\"{{href-to \\\"apps.app.developer-hub.app-packages.app-package.review\\\"}}\\\">reviewed by Intercom</a> before they get applied\\n      </IcBanner>\\n    </div>\\n  {{/if}}\\n  <layout.group\\n    data-test-messenger-framework-capabilites\\n    @errors={{messengerApp.capabilitesErrors}}\\n  >\\n    <DeveloperHub::AppPackage::CanvasKit::CapabilityComponent\\n      data-test-available-in-messages\\n      @iconPath=\\\"products/messages-24px\\\"\\n      @capabilityName=\\\"Messages\\\"\\n      @label=\\\"Insert into in-app messages\\\"\\n      @checked={{messengerApp.availableInMessages}}\\n      @description=\\\"Allows teammates to insert your app within in-app auto messages. These messages are delivered to users and leads through the Messenger.\\\"\\n    />\\n    <DeveloperHub::AppPackage::CanvasKit::CapabilityComponent\\n      data-test-available-in-conversations\\n      @iconPath=\\\"products/inbox-24px\\\"\\n      @capabilityName=\\\"Inbox\\\"\\n      @label=\\\"Insert into conversations with customers\\\"\\n      @checked={{messengerApp.availableInConversations}}\\n      @description=\\\"Allows teammates to insert your app into conversation replies within the inbox. Replies are sent in the Messenger and Email.\\\"\\n    />\\n    <DeveloperHub::AppPackage::CanvasKit::CapabilityComponent\\n      data-test-available-in-messenger-home\\n      @iconPath=\\\"products/messenger-24px\\\"\\n      @capabilityName=\\\"Messenger\\\"\\n      @label=\\\"Place on the Messenger home screen\\\"\\n      @checked={{messengerApp.availableInMessengerHome}}\\n      @description=\\\"Allows temmates to add your app to the home screen when the Messenger is opened.\\\"\\n    />\\n    <DeveloperHub::AppPackage::CanvasKit::CapabilityComponent\\n      data-test-available-in-operator\\n      @iconPath=\\\"products/operator-24px\\\"\\n      @capabilityName=\\\"Operator\\\"\\n      @label=\\\"Use as a follow-up action for Operatorʼs qualification Task Bot and Custom Bots\\\"\\n      @checked={{messengerApp.availableInOperator}}\\n      @description=\\\"Allows teammates to send your app as a follow up action in Operator bots\\\"\\n    />\\n  </layout.group>\\n  {{#if shouldDisplayInputs}}\\n    <layout.divider />\\n    <layout.inputGroup\\n      data-test-initialize-url\\n      @label=\\\"Initialize flow webhook URL\\\"\\n      @description=\\\"Sent when an app has been inserted into a conversation, message or the home screen, so that you can render the app.\\\"\\n      @placeholder=\\\"e.g. https://yourdomain.com/initialize-url/\\\"\\n      @value={{messengerApp.initializeUrl}}\\n      @errors={{messengerApp.initializeUrlErrors}}\\n      class=\\\"developer-hub__canvas-kit__webhook-input\\\"\\n    />\\n    <layout.inputGroup\\n      data-test-submit-url\\n      @label=\\\"Submit flow webhook URL\\\"\\n      @description=\\\"Sent when an end-user interacts with your app, via a button, link, or text input. This flow can occur multiple times as an end-user interacts with your app.\\\"\\n      @placeholder=\\\"e.g. https://yourdomain.com/submit-url/\\\"\\n      @value={{messengerApp.submitUrl}}\\n      @errors={{messengerApp.submitUrlErrors}}\\n      class=\\\"developer-hub__canvas-kit__webhook-input\\\"\\n    />\\n    <layout.inputGroup\\n      data-test-configure-url\\n      @label=\\\"Configure flow webhook URL (optional)\\\"\\n      @description=\\\"Sent when a teammate wants to use your app, so that you can show them configuration options before it’s inserted. Leaving this option blank will skip configuration.\\\"\\n      @placeholder=\\\"e.g. https://yourdomain.com/configure-url/\\\"\\n      @value={{messengerApp.configureUrl}}\\n      @errors={{messengerApp.configureUrlErrors}}\\n      class=\\\"developer-hub__canvas-kit__webhook-input\\\"\\n    />\\n    <layout.inputGroup\\n      data-test-submit-sheet-url\\n      @label=\\\"Submit Sheet flow webhook URL (optional)\\\"\\n      @description=\\\"Sent when a sheet has been submitted. A sheet is an iframe you’ve loaded in the Messenger that is closed and submitted when the Submit Sheets JS method is called.\\\"\\n      @placeholder=\\\"e.g. https://yourdomain.com/submit-sheet-url/\\\"\\n      @value={{messengerApp.submitSheetUrl}}\\n      @errors={{messengerApp.submitSheetsUrlErrors}}\\n      class=\\\"developer-hub__canvas-kit__webhook-input\\\"\\n    />\\n  {{/if}}\\n  <IcButtonList class=\\\"u__padt__10 u__padb__10\\\" as |list|>\\n    <list.button\\n      data-test-save-button={{true}}\\n      @label=\\\"Save\\\"\\n      @onClick={{perform saveMessengerAppTask}}\\n      @disabled={{not saveButtonEnabled}}\\n      @type=\\\"primary\\\"\\n      @fit={{false}}\\n    />\\n    <list.button\\n      @label=\\\"Cancel\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{cancelEdit}}\\n      data-test-cancel-button={{true}}\\n      @fit={{false}}\\n    />\\n  </IcButtonList>\\n</DeveloperHub::AppPackage::FormLayout>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::FormLayout\\n  class=\\\"u__padr__20 u__padl__50\\\" as |layout|\\n>\\n  {{#if showReviewBanner}}\\n    <div class=\\\"u__mb__15\\\">\\n      <IcBanner data-test-app-package-review-warning @type=\\\"warning\\\">\\n        These changes will need to be <a href=\\\"{{href-to \\\"apps.app.developer-hub.app-packages.app-package.review\\\"}}\\\">reviewed by Intercom</a> before they get applied\\n      </IcBanner>\\n    </div>\\n  {{/if}}\\n  <layout.group\\n    data-test-messenger-framework-capabilites\\n    @errors={{messengerApp.capabilitesErrors}}\\n  >\\n    <DeveloperHub::AppPackage::CanvasKit::CapabilityComponent\\n      data-test-available-in-messages\\n      @iconPath=\\\"products/messages-24px\\\"\\n      @capabilityName=\\\"Messages\\\"\\n      @label=\\\"Insert into in-app messages\\\"\\n      @checked={{messengerApp.availableInMessages}}\\n      @description=\\\"Allows teammates to insert your app within in-app auto messages. These messages are delivered to users and leads through the Messenger.\\\"\\n    />\\n    <DeveloperHub::AppPackage::CanvasKit::CapabilityComponent\\n      data-test-available-in-conversations\\n      @iconPath=\\\"products/inbox-24px\\\"\\n      @capabilityName=\\\"Inbox\\\"\\n      @label=\\\"Insert into conversations with customers\\\"\\n      @checked={{messengerApp.availableInConversations}}\\n      @description=\\\"Allows teammates to insert your app into conversation replies within the inbox. Replies are sent in the Messenger and Email.\\\"\\n    />\\n    <DeveloperHub::AppPackage::CanvasKit::CapabilityComponent\\n      data-test-available-in-messenger-home\\n      @iconPath=\\\"products/messenger-24px\\\"\\n      @capabilityName=\\\"Messenger\\\"\\n      @label=\\\"Place on the Messenger home screen\\\"\\n      @checked={{messengerApp.availableInMessengerHome}}\\n      @description=\\\"Allows temmates to add your app to the home screen when the Messenger is opened.\\\"\\n    />\\n    <DeveloperHub::AppPackage::CanvasKit::CapabilityComponent\\n      data-test-available-in-operator\\n      @iconPath=\\\"products/operator-24px\\\"\\n      @capabilityName=\\\"Operator\\\"\\n      @label=\\\"Use as a follow-up action for Operatorʼs qualification Task Bot and Custom Bots\\\"\\n      @checked={{messengerApp.availableInOperator}}\\n      @description=\\\"Allows teammates to send your app as a follow up action in Operator bots\\\"\\n    />\\n  </layout.group>\\n  {{#if shouldDisplayInputs}}\\n    <layout.divider />\\n    <layout.inputGroup\\n      data-test-initialize-url\\n      @label=\\\"Initialize flow webhook URL\\\"\\n      @description=\\\"Sent when an app has been inserted into a conversation, message or the home screen, so that you can render the app.\\\"\\n      @placeholder=\\\"e.g. https://yourdomain.com/initialize-url/\\\"\\n      @value={{messengerApp.initializeUrl}}\\n      @errors={{messengerApp.initializeUrlErrors}}\\n      class=\\\"developer-hub__canvas-kit__webhook-input\\\"\\n    />\\n    <layout.inputGroup\\n      data-test-submit-url\\n      @label=\\\"Submit flow webhook URL\\\"\\n      @description=\\\"Sent when an end-user interacts with your app, via a button, link, or text input. This flow can occur multiple times as an end-user interacts with your app.\\\"\\n      @placeholder=\\\"e.g. https://yourdomain.com/submit-url/\\\"\\n      @value={{messengerApp.submitUrl}}\\n      @errors={{messengerApp.submitUrlErrors}}\\n      class=\\\"developer-hub__canvas-kit__webhook-input\\\"\\n    />\\n    <layout.inputGroup\\n      data-test-configure-url\\n      @label=\\\"Configure flow webhook URL (optional)\\\"\\n      @description=\\\"Sent when a teammate wants to use your app, so that you can show them configuration options before it’s inserted. Leaving this option blank will skip configuration.\\\"\\n      @placeholder=\\\"e.g. https://yourdomain.com/configure-url/\\\"\\n      @value={{messengerApp.configureUrl}}\\n      @errors={{messengerApp.configureUrlErrors}}\\n      class=\\\"developer-hub__canvas-kit__webhook-input\\\"\\n    />\\n    <layout.inputGroup\\n      data-test-submit-sheet-url\\n      @label=\\\"Submit Sheet flow webhook URL (optional)\\\"\\n      @description=\\\"Sent when a sheet has been submitted. A sheet is an iframe you’ve loaded in the Messenger that is closed and submitted when the Submit Sheets JS method is called.\\\"\\n      @placeholder=\\\"e.g. https://yourdomain.com/submit-sheet-url/\\\"\\n      @value={{messengerApp.submitSheetUrl}}\\n      @errors={{messengerApp.submitSheetsUrlErrors}}\\n      class=\\\"developer-hub__canvas-kit__webhook-input\\\"\\n    />\\n  {{/if}}\\n  <IcButtonList class=\\\"u__padt__10 u__padb__10\\\" as |list|>\\n    <list.button\\n      data-test-save-button={{true}}\\n      @label=\\\"Save\\\"\\n      @onClick={{perform saveMessengerAppTask}}\\n      @disabled={{not saveButtonEnabled}}\\n      @type=\\\"primary\\\"\\n      @fit={{false}}\\n    />\\n    <list.button\\n      @label=\\\"Cancel\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{cancelEdit}}\\n      data-test-cancel-button={{true}}\\n      @fit={{false}}\\n    />\\n  </IcButtonList>\\n</DeveloperHub::AppPackage::FormLayout>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/canvas-kit/users-accordion.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/canvas-kit/users-accordion.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { and, or } from '@ember/object/computed';\n\nexport default Component.extend({\n  shouldDisplayInputs: or(\n    'messengerApp.availableInConversations',\n    'messengerApp.availableInMessengerHome',\n    'messengerApp.availableInOperator',\n    'messengerApp.availableInMessages',\n  ),\n\n  hasNonEmptyValues: or(\n    'shouldDisplayInputs',\n    'messengerApp.initializeUrl',\n    'messengerApp.submitUrl',\n    'messengerApp.configureUrl',\n    'messengerApp.submitSheetUrl',\n  ),\n\n  saveButtonEnabled: and('messengerApp.hasDirtyAttributes', 'hasNonEmptyValues'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Common::AccordionComponent as |accordion|>\\n\\n  <accordion.section @name=\\\"install\\\" as |section|>\\n    <section.header as |header|>\\n      <Common::AccordionComponent::WhiteHeaderTitle\\n        @heading=\\\"Installation\\\"\\n        @subheading=\\\"Enable customers to install your app\\\"\\n        @icon=\\\"live\\\"\\n      />\\n    </section.header>\\n    <section.header-action />\\n    <section.body as |body|>\\n      <DeveloperHub::AppPackage::CustomerWorkspaces::Installation\\n        @appPackage={{this.appPackage}}\\n        @showReviewBanner={{this.showReviewBanner}}\\n        @accordionBody={{body}}\\n      />\\n    </section.body>\\n  </accordion.section>\\n\\n  <accordion.section @name=\\\"uninstall\\\" as |section|>\\n    <section.header as |header|>\\n      <Common::AccordionComponent::WhiteHeaderTitle\\n        @heading=\\\"Uninstallation\\\"\\n        @subheading=\\\"Get notified when your app is uninstalled\\\"\\n        @icon=\\\"error\\\"\\n      />\\n    </section.header>\\n    <section.header-action />\\n    <section.body as |body|>\\n      <DeveloperHub::AppPackage::CustomerWorkspaces::Uninstallation\\n        @appPackage={{this.appPackage}}\\n        @showReviewBanner={{this.showReviewBanner}}\\n        @accordionBody={{body}}\\n      />\\n    </section.body>\\n  </accordion.section>\\n\\n  <accordion.section @name=\\\"health_check\\\" as |section|>\\n    <section.header as |header|>\\n      <Common::AccordionComponent::WhiteHeaderTitle\\n        @heading=\\\"Health check\\\"\\n        @subheading=\\\"Let your users know if their app is healthy\\\"\\n        @icon=\\\"activity\\\"\\n        @showBetaLabel={{true}}\\n      />\\n    </section.header>\\n    <section.header-action />\\n    <section.body as |body|>\\n      <DeveloperHub::AppPackage::CustomerWorkspaces::HealthCheck\\n        @appPackage={{this.appPackage}}\\n        @showReviewBanner={{this.showReviewBanner}}\\n        @accordionBody={{body}}\\n      />\\n    </section.body>\\n  </accordion.section>\\n\\n</Common::AccordionComponent>\\n\", {\"contents\":\"<Common::AccordionComponent as |accordion|>\\n\\n  <accordion.section @name=\\\"install\\\" as |section|>\\n    <section.header as |header|>\\n      <Common::AccordionComponent::WhiteHeaderTitle\\n        @heading=\\\"Installation\\\"\\n        @subheading=\\\"Enable customers to install your app\\\"\\n        @icon=\\\"live\\\"\\n      />\\n    </section.header>\\n    <section.header-action />\\n    <section.body as |body|>\\n      <DeveloperHub::AppPackage::CustomerWorkspaces::Installation\\n        @appPackage={{this.appPackage}}\\n        @showReviewBanner={{this.showReviewBanner}}\\n        @accordionBody={{body}}\\n      />\\n    </section.body>\\n  </accordion.section>\\n\\n  <accordion.section @name=\\\"uninstall\\\" as |section|>\\n    <section.header as |header|>\\n      <Common::AccordionComponent::WhiteHeaderTitle\\n        @heading=\\\"Uninstallation\\\"\\n        @subheading=\\\"Get notified when your app is uninstalled\\\"\\n        @icon=\\\"error\\\"\\n      />\\n    </section.header>\\n    <section.header-action />\\n    <section.body as |body|>\\n      <DeveloperHub::AppPackage::CustomerWorkspaces::Uninstallation\\n        @appPackage={{this.appPackage}}\\n        @showReviewBanner={{this.showReviewBanner}}\\n        @accordionBody={{body}}\\n      />\\n    </section.body>\\n  </accordion.section>\\n\\n  <accordion.section @name=\\\"health_check\\\" as |section|>\\n    <section.header as |header|>\\n      <Common::AccordionComponent::WhiteHeaderTitle\\n        @heading=\\\"Health check\\\"\\n        @subheading=\\\"Let your users know if their app is healthy\\\"\\n        @icon=\\\"activity\\\"\\n        @showBetaLabel={{true}}\\n      />\\n    </section.header>\\n    <section.header-action />\\n    <section.body as |body|>\\n      <DeveloperHub::AppPackage::CustomerWorkspaces::HealthCheck\\n        @appPackage={{this.appPackage}}\\n        @showReviewBanner={{this.showReviewBanner}}\\n        @accordionBody={{body}}\\n      />\\n    </section.body>\\n  </accordion.section>\\n\\n</Common::AccordionComponent>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/customer-workspaces.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/customer-workspaces.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class CustomerWorkspaces extends Component {\n  @service developerHub;\n\n  get appPackage() {\n    return this.developerHub.appPackage;\n  }\n\n  get showReviewBanner() {\n    return this.developerHub.appPackageHasChanges;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<DeveloperHub::AppPackage::FormLayout class=\\\"pr-6 pl-16\\\" as |layout|>\\n\\n  {{#if @showReviewBanner}}\\n    <div class=\\\"mb-4\\\">\\n      <IcBanner data-test-app-package-review-warning @type=\\\"warning\\\">\\n        These changes will need to be\\n        <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.review\\\">reviewed by Intercom</LinkTo>\\n        before they get applied\\n      </IcBanner>\\n    </div>\\n  {{/if}}\\n\\n  {{yield (hash\\n    layout=layout\\n    appPackageConfig=this.appPackageConfig\\n    appStoreListingConfig=this.appStoreListingConfig\\n  )}}\\n\\n  <IcButtonList class=\\\"pt-2 pb-2\\\" as |list|>\\n    <list.button\\n      data-test-save-button\\n      @label=\\\"Save\\\"\\n      @onClick={{perform this.save}}\\n      @disabled={{not this.saveButtonEnabled}}\\n      @type=\\\"primary\\\"\\n      @fit={{false}}\\n    />\\n    <list.button\\n      data-test-cancel-button\\n      @label=\\\"Cancel\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{fn this.cancel @accordionBody}}\\n      @fit={{false}}\\n    />\\n  </IcButtonList>\\n\\n</DeveloperHub::AppPackage::FormLayout>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<DeveloperHub::AppPackage::FormLayout class=\\\"pr-6 pl-16\\\" as |layout|>\\n\\n  {{#if @showReviewBanner}}\\n    <div class=\\\"mb-4\\\">\\n      <IcBanner data-test-app-package-review-warning @type=\\\"warning\\\">\\n        These changes will need to be\\n        <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.review\\\">reviewed by Intercom</LinkTo>\\n        before they get applied\\n      </IcBanner>\\n    </div>\\n  {{/if}}\\n\\n  {{yield (hash\\n    layout=layout\\n    appPackageConfig=this.appPackageConfig\\n    appStoreListingConfig=this.appStoreListingConfig\\n  )}}\\n\\n  <IcButtonList class=\\\"pt-2 pb-2\\\" as |list|>\\n    <list.button\\n      data-test-save-button\\n      @label=\\\"Save\\\"\\n      @onClick={{perform this.save}}\\n      @disabled={{not this.saveButtonEnabled}}\\n      @type=\\\"primary\\\"\\n      @fit={{false}}\\n    />\\n    <list.button\\n      data-test-cancel-button\\n      @label=\\\"Cancel\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{fn this.cancel @accordionBody}}\\n      @fit={{false}}\\n    />\\n  </IcButtonList>\\n\\n</DeveloperHub::AppPackage::FormLayout>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/customer-workspaces/base-form.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/customer-workspaces/base-form.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport { action } from '@ember/object';\n\nexport default class BaseForm extends Component {\n  @service store;\n  @service intercomEventService;\n  @service notificationsService;\n\n  @tracked appStoreListingConfig =\n    this.appPackage.changeRequest.appPackageConfig.appStoreListing ||\n    this.store.createFragment('developer-hub/app-store-listing');\n\n  get appPackage() {\n    return this.args.appPackage;\n  }\n\n  get appStoreListing() {\n    return this.appPackage.appStoreListing;\n  }\n\n  get appPackageConfig() {\n    return this.appPackage.changeRequest.appPackageConfig;\n  }\n\n  get saveButtonEnabled() {\n    return this.appPackage.hasDirtyAttributes || this.appStoreListingConfig?.hasDirtyAttributes;\n  }\n\n  @task *save() {\n    this._cleanupHiddenFields();\n\n    let { validations } = yield this.appPackageConfig.validate();\n    if (this._isInvalid(validations)) {\n      return;\n    }\n\n    this._saveAppPackage.perform();\n  }\n\n  _cleanupHiddenFields() {\n    if (this.appPackageConfig.installationMode === 'direct') {\n      this.appStoreListingConfig.learnMoreUrl = null;\n    }\n    if (this.appPackageConfig.installationMode === 'website') {\n      this.appPackageConfig.installUrl = null;\n    }\n  }\n\n  _appStoreListingIsPresent() {\n    return (\n      this.appPackage.changeRequest.appPackageConfig.appStoreListing ||\n      this.appStoreListingConfig.learnMoreUrl\n    );\n  }\n\n  _isInvalid(validations) {\n    let { isInvalid, errors } = validations;\n    return isInvalid && errors.some(e => this.args.trackedAttributes.includes(e.attribute));\n  }\n\n  @task *_saveAppPackage() {\n    try {\n      if (this._appStoreListingIsPresent()) {\n        this.appPackage.changeRequest.appPackageConfig.appStoreListing = this.appStoreListingConfig;\n      }\n\n      yield this.appPackage.save();\n      this._trackAnalyticsEvent('saved');\n      this.notificationsService.notifyConfirmation('Your app was saved succesfully');\n    } catch (e) {\n      this.notificationsService.notifyError(\n        'An error occurred while saving your changes. Please try again.',\n      );\n    }\n  }\n\n  _trackAnalyticsEvent(eventAction) {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'app_package',\n      section: `customer_workspaces_${this.args.section}`,\n      app_package_id: this.appPackage.id,\n      app_metadata: this.appPackage.changeRequest,\n      action: eventAction,\n    });\n  }\n\n  @action cancel(accordionBody) {\n    this.appPackage.rollbackAttributes();\n\n    if (accordionBody) {\n      accordionBody.accordionAPI.closeSection();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<DeveloperHub::AppPackage::CustomerWorkspaces::BaseForm\\n  @appPackage={{@appPackage}}\\n  @showReviewBanner={{@showReviewBanner}}\\n  @accordionBody={{@accordionBody}}\\n  @trackedAttributes={{array 'healthCheckUrl'}}\\n  @section='health_check'\\n  as |form|\\n>\\n  <form.layout.inputGroup\\n    data-test-health-check-url-input\\n    @label=\\\"Health Check URL (Optional)\\\"\\n    @value={{form.appPackageConfig.healthCheckUrl}}\\n    @errors={{form.appPackageConfig.healthCheckUrlErrors}}\\n  />\\n\\n  <form.layout.description class=\\\"mb-1\\\">\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://developers.intercom.com/building-apps/docs/installation-health-check\\\"\\n      @title=\\\"Learn more\\\"\\n      @type=\\\"developer\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />\\n    about Health Checks.\\n  </form.layout.description>\\n\\n</DeveloperHub::AppPackage::CustomerWorkspaces::BaseForm>\\n\", {\"contents\":\"<DeveloperHub::AppPackage::CustomerWorkspaces::BaseForm\\n  @appPackage={{@appPackage}}\\n  @showReviewBanner={{@showReviewBanner}}\\n  @accordionBody={{@accordionBody}}\\n  @trackedAttributes={{array 'healthCheckUrl'}}\\n  @section='health_check'\\n  as |form|\\n>\\n  <form.layout.inputGroup\\n    data-test-health-check-url-input\\n    @label=\\\"Health Check URL (Optional)\\\"\\n    @value={{form.appPackageConfig.healthCheckUrl}}\\n    @errors={{form.appPackageConfig.healthCheckUrlErrors}}\\n  />\\n\\n  <form.layout.description class=\\\"mb-1\\\">\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://developers.intercom.com/building-apps/docs/installation-health-check\\\"\\n      @title=\\\"Learn more\\\"\\n      @type=\\\"developer\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />\\n    about Health Checks.\\n  </form.layout.description>\\n\\n</DeveloperHub::AppPackage::CustomerWorkspaces::BaseForm>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/customer-workspaces/health-check.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/customer-workspaces/health-check.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<DeveloperHub::AppPackage::CustomerWorkspaces::BaseForm\\n  @appPackage={{@appPackage}}\\n  @showReviewBanner={{@showReviewBanner}}\\n  @accordionBody={{@accordionBody}}\\n  @trackedAttributes={{array 'installationMode' 'installUrl' 'appStoreListing.learnMoreUrl'}}\\n  @section='installation'\\n  as |form|\\n>\\n\\n  <form.layout.group\\n    @label=\\\"Where will users install your app?\\\"\\n  >\\n    <form.layout.radio\\n      @label=\\\"Directly from the Intercom App Store\\\"\\n      @value=\\\"direct\\\"\\n      @selected={{form.appPackageConfig.installationMode}}\\n      data-test-install-options-radio=\\\"direct\\\"\\n    />\\n    <form.layout.radio\\n      @label=\\\"Through your own product or website\\\"\\n      @value=\\\"website\\\"\\n      @selected={{form.appPackageConfig.installationMode}}\\n      data-test-install-options-radio=\\\"website\\\"\\n    />\\n  </form.layout.group>\\n\\n  {{#if form.appPackageConfig.isDirectInstallation}}\\n    <form.layout.inputGroup\\n      data-test-install-url-input\\n      @label=\\\"Direct installation URL\\\"\\n      @value={{form.appPackageConfig.installUrl}}\\n      @errors={{form.appPackageConfig.installUrlErrors}}\\n    />\\n    <form.layout.description class=\\\"mb-1\\\">\\n      Learn more about installation URLs\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/building-apps/docs/listing-your-app#section-installation\\\"\\n        @title=\\\"here\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n      />\\n    </form.layout.description>\\n  {{else}}\\n    <form.layout.inputGroup\\n      data-test-learn-more-url-input\\n      @label=\\\"Learn more URL\\\"\\n      @description=\\\"Link to a public page where users can learn more about installing and using your app\\\"\\n      @value={{form.appStoreListingConfig.learnMoreUrl}}\\n      @errors={{form.appPackageConfig.learnMoreUrlErrors}}\\n    />\\n  {{/if}}\\n\\n</DeveloperHub::AppPackage::CustomerWorkspaces::BaseForm>\\n\", {\"contents\":\"<DeveloperHub::AppPackage::CustomerWorkspaces::BaseForm\\n  @appPackage={{@appPackage}}\\n  @showReviewBanner={{@showReviewBanner}}\\n  @accordionBody={{@accordionBody}}\\n  @trackedAttributes={{array 'installationMode' 'installUrl' 'appStoreListing.learnMoreUrl'}}\\n  @section='installation'\\n  as |form|\\n>\\n\\n  <form.layout.group\\n    @label=\\\"Where will users install your app?\\\"\\n  >\\n    <form.layout.radio\\n      @label=\\\"Directly from the Intercom App Store\\\"\\n      @value=\\\"direct\\\"\\n      @selected={{form.appPackageConfig.installationMode}}\\n      data-test-install-options-radio=\\\"direct\\\"\\n    />\\n    <form.layout.radio\\n      @label=\\\"Through your own product or website\\\"\\n      @value=\\\"website\\\"\\n      @selected={{form.appPackageConfig.installationMode}}\\n      data-test-install-options-radio=\\\"website\\\"\\n    />\\n  </form.layout.group>\\n\\n  {{#if form.appPackageConfig.isDirectInstallation}}\\n    <form.layout.inputGroup\\n      data-test-install-url-input\\n      @label=\\\"Direct installation URL\\\"\\n      @value={{form.appPackageConfig.installUrl}}\\n      @errors={{form.appPackageConfig.installUrlErrors}}\\n    />\\n    <form.layout.description class=\\\"mb-1\\\">\\n      Learn more about installation URLs\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/building-apps/docs/listing-your-app#section-installation\\\"\\n        @title=\\\"here\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n      />\\n    </form.layout.description>\\n  {{else}}\\n    <form.layout.inputGroup\\n      data-test-learn-more-url-input\\n      @label=\\\"Learn more URL\\\"\\n      @description=\\\"Link to a public page where users can learn more about installing and using your app\\\"\\n      @value={{form.appStoreListingConfig.learnMoreUrl}}\\n      @errors={{form.appPackageConfig.learnMoreUrlErrors}}\\n    />\\n  {{/if}}\\n\\n</DeveloperHub::AppPackage::CustomerWorkspaces::BaseForm>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/customer-workspaces/installation.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/customer-workspaces/installation.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<DeveloperHub::AppPackage::CustomerWorkspaces::BaseForm\\n  @appPackage={{@appPackage}}\\n  @showReviewBanner={{@showReviewBanner}}\\n  @accordionBody={{@accordionBody}}\\n  @trackedAttributes={{array 'uninstallUrl'}}\\n  @section='uninstallation'\\n  as |form|\\n>\\n  <form.layout.inputGroup\\n    data-test-uninstall-url-input\\n    @label=\\\"Uninstall URL (Optional)\\\"\\n    @value={{form.appPackageConfig.uninstallUrl}}\\n    @errors={{form.appPackageConfig.uninstallUrlErrors}}\\n  />\\n</DeveloperHub::AppPackage::CustomerWorkspaces::BaseForm>\\n\", {\"contents\":\"<DeveloperHub::AppPackage::CustomerWorkspaces::BaseForm\\n  @appPackage={{@appPackage}}\\n  @showReviewBanner={{@showReviewBanner}}\\n  @accordionBody={{@accordionBody}}\\n  @trackedAttributes={{array 'uninstallUrl'}}\\n  @section='uninstallation'\\n  as |form|\\n>\\n  <form.layout.inputGroup\\n    data-test-uninstall-url-input\\n    @label=\\\"Uninstall URL (Optional)\\\"\\n    @value={{form.appPackageConfig.uninstallUrl}}\\n    @errors={{form.appPackageConfig.uninstallUrlErrors}}\\n  />\\n</DeveloperHub::AppPackage::CustomerWorkspaces::BaseForm>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/customer-workspaces/uninstallation.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/customer-workspaces/uninstallation.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"f__group\\\">\\n  <h4 class=\\\"t__light-text t__label\\\">\\n    {{title}}\\n  </h4>\\n  {{#if description}}\\n    <p class=\\\"t__light-text\\\">\\n      {{description}}\\n    </p>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"f__group\\\">\\n  <h4 class=\\\"t__light-text t__label\\\">\\n    {{title}}\\n  </h4>\\n  {{#if description}}\\n    <p class=\\\"t__light-text\\\">\\n      {{description}}\\n    </p>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/descriptor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/descriptor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield\\n  (hash\\n    title=(component \\\"developer-hub/app-package/form-layout/title\\\")\\n    label=(component \\\"developer-hub/app-package/form-layout/label\\\")\\n    description=(component \\\"developer-hub/app-package/form-layout/description\\\")\\n    item=(component \\\"developer-hub/app-package/form-layout/item\\\")\\n    input=(component \\\"developer-hub/app-package/form-layout/input\\\")\\n    group=(component \\\"developer-hub/app-package/form-layout/group\\\")\\n    inputGroup=(component \\\"developer-hub/app-package/form-layout/input-group\\\")\\n    checkbox=(component \\\"developer-hub/app-package/form-layout/checkbox\\\")\\n    radio=(component \\\"developer-hub/app-package/form-layout/radio\\\")\\n    divider=(component \\\"developer-hub/app-package/form-layout/divider\\\")\\n  )\\n  hasError\\n}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield\\n  (hash\\n    title=(component \\\"developer-hub/app-package/form-layout/title\\\")\\n    label=(component \\\"developer-hub/app-package/form-layout/label\\\")\\n    description=(component \\\"developer-hub/app-package/form-layout/description\\\")\\n    item=(component \\\"developer-hub/app-package/form-layout/item\\\")\\n    input=(component \\\"developer-hub/app-package/form-layout/input\\\")\\n    group=(component \\\"developer-hub/app-package/form-layout/group\\\")\\n    inputGroup=(component \\\"developer-hub/app-package/form-layout/input-group\\\")\\n    checkbox=(component \\\"developer-hub/app-package/form-layout/checkbox\\\")\\n    radio=(component \\\"developer-hub/app-package/form-layout/radio\\\")\\n    divider=(component \\\"developer-hub/app-package/form-layout/divider\\\")\\n  )\\n  hasError\\n}}\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/form-layout.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/form-layout.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<label class=\\\"f__checkbox-label u__cf u__mt__5 u__mb__5\\\">\\n  <span class=\\\"f__checkbox-wrapper\\\">\\n    <Input data-test-dp-form-checkbox @type=\\\"checkbox\\\" @checked={{checked}} />\\n  </span>\\n  <span class=\\\"f__checkbox-content\\\">\\n    {{label}}\\n  </span>\\n  {{#if description}}\\n    <DeveloperHub::AppPackage::FormLayout::Description\\n      class=\\\"f__checkbox-content\\\"\\n      @text={{description}}\\n    />\\n  {{/if}}\\n</label>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<label class=\\\"f__checkbox-label u__cf u__mt__5 u__mb__5\\\">\\n  <span class=\\\"f__checkbox-wrapper\\\">\\n    <Input data-test-dp-form-checkbox @type=\\\"checkbox\\\" @checked={{checked}} />\\n  </span>\\n  <span class=\\\"f__checkbox-content\\\">\\n    {{label}}\\n  </span>\\n  {{#if description}}\\n    <DeveloperHub::AppPackage::FormLayout::Description\\n      class=\\\"f__checkbox-content\\\"\\n      @text={{description}}\\n    />\\n  {{/if}}\\n</label>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/form-layout/checkbox.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/form-layout/checkbox.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<p class=\\\"t__light-text\\\">\\n  {{#if (has-block)}}\\n    {{yield}}\\n  {{else}}\\n    {{this.text}}\\n  {{/if}}\\n</p>\\n\", {\"contents\":\"<p class=\\\"t__light-text\\\">\\n  {{#if (has-block)}}\\n    {{yield}}\\n  {{else}}\\n    {{this.text}}\\n  {{/if}}\\n</p>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/form-layout/description.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/form-layout/description.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<hr class=\\\"sp__hr\\\" />\\n\", {\"contents\":\"<hr class=\\\"sp__hr\\\" />\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/form-layout/divider.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/form-layout/divider.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__mb__15\\\">\\n  {{#if (or label description)}}\\n    <div class=\\\"u__mb__5\\\">\\n      {{#if label}}\\n        <DeveloperHub::AppPackage::FormLayout::Label @text={{label}} />\\n      {{/if}}\\n      {{#if description}}\\n        <DeveloperHub::AppPackage::FormLayout::Description\\n          @text={{description}}\\n        />\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n  {{#if errors}}\\n    <p data-test-dp-form-error class=\\\"text-red u__mb__5\\\">\\n      {{errors.firstObject.message}}\\n    </p>\\n  {{/if}}\\n  {{#if (has-block)}}\\n    {{yield}}\\n  {{else}}\\n    <DeveloperHub::AppPackage::FormLayout::Item @content={{item}} />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__mb__15\\\">\\n  {{#if (or label description)}}\\n    <div class=\\\"u__mb__5\\\">\\n      {{#if label}}\\n        <DeveloperHub::AppPackage::FormLayout::Label @text={{label}} />\\n      {{/if}}\\n      {{#if description}}\\n        <DeveloperHub::AppPackage::FormLayout::Description\\n          @text={{description}}\\n        />\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n  {{#if errors}}\\n    <p data-test-dp-form-error class=\\\"text-red u__mb__5\\\">\\n      {{errors.firstObject.message}}\\n    </p>\\n  {{/if}}\\n  {{#if (has-block)}}\\n    {{yield}}\\n  {{else}}\\n    <DeveloperHub::AppPackage::FormLayout::Item @content={{item}} />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/form-layout/group.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/form-layout/group.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::FormLayout::Group\\n  @label={{label}}\\n  @description={{description}}\\n  @errors={{errors}}\\n>\\n  <DeveloperHub::AppPackage::FormLayout::Input\\n    @value={{value}}\\n    @maxLength={{maxLength}}\\n    @placeholder={{placeholder}}\\n    @errors={{errors}}\\n  />\\n</DeveloperHub::AppPackage::FormLayout::Group>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::FormLayout::Group\\n  @label={{label}}\\n  @description={{description}}\\n  @errors={{errors}}\\n>\\n  <DeveloperHub::AppPackage::FormLayout::Input\\n    @value={{value}}\\n    @maxLength={{maxLength}}\\n    @placeholder={{placeholder}}\\n    @errors={{errors}}\\n  />\\n</DeveloperHub::AppPackage::FormLayout::Group>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/form-layout/input-group.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/form-layout/input-group.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Input\\n  data-test-dp-form-input\\n  class=\\\"f__text {{if errors 'o__error'}}\\\"\\n  placeholder={{placeholder}}\\n  @value={{value}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Input\\n  data-test-dp-form-input\\n  class=\\\"f__text {{if errors 'o__error'}}\\\"\\n  placeholder={{placeholder}}\\n  @value={{value}}\\n/>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/form-layout/input.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/form-layout/input.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (and content content.length)}}\\n  <p data-test-dp-form-item>\\n    {{content}}\\n  </p>\\n{{else}}\\n  <p class=\\\"t__light-text\\\">\\n    (Empty)\\n  </p>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (and content content.length)}}\\n  <p data-test-dp-form-item>\\n    {{content}}\\n  </p>\\n{{else}}\\n  <p class=\\\"t__light-text\\\">\\n    (Empty)\\n  </p>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/form-layout/item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/form-layout/item.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<h4 class=\\\"t__light-text t__label\\\">\\n  {{#if (has-block)}}\\n    {{yield}}\\n  {{else}}\\n    {{this.text}}\\n  {{/if}}\\n</h4>\\n\", {\"contents\":\"<h4 class=\\\"t__light-text t__label\\\">\\n  {{#if (has-block)}}\\n    {{yield}}\\n  {{else}}\\n    {{this.text}}\\n  {{/if}}\\n</h4>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/form-layout/label.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/form-layout/label.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<label class=\\\"f__radio-label u__cf\\\">\\n  <span class=\\\"f__radio-wrapper\\\">\\n    <RadioButton\\n      data-test-dp-form-radio\\n      @selection={{selected}}\\n      @value={{value}}\\n    />\\n  </span>\\n  <span class=\\\"f__radio-content\\\">\\n    {{label}}\\n  </span>\\n  {{yield}}\\n</label>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<label class=\\\"f__radio-label u__cf\\\">\\n  <span class=\\\"f__radio-wrapper\\\">\\n    <RadioButton\\n      data-test-dp-form-radio\\n      @selection={{selected}}\\n      @value={{value}}\\n    />\\n  </span>\\n  <span class=\\\"f__radio-content\\\">\\n    {{label}}\\n  </span>\\n  {{yield}}\\n</label>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/form-layout/radio.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/form-layout/radio.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__mb__15\\\">\\n  <h2 class=\\\"t__h2\\\">\\n    {{this.text}}\\n  </h2>\\n  {{#if (has-block)}}\\n    <div class=\\\"u__mt__5\\\">\\n      {{yield}}\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__mb__15\\\">\\n  <h2 class=\\\"t__h2\\\">\\n    {{this.text}}\\n  </h2>\\n  {{#if (has-block)}}\\n    <div class=\\\"u__mt__5\\\">\\n      {{yield}}\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/form-layout/title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/form-layout/title.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"developer-hub__getting-started-guide__form\\\" data-test-starting-guide-form>\\n  <ComposerV2\\n    @actionReceiver={{this.composerComponent}}\\n    @blocks={{this.startingGuideConfig.content}}\\n    @preset=\\\"developerHub\\\"\\n    class=\\\"developer-hub__getting-started-guide__composer\\\"\\n    @outerContainerSelector=\\\".developer-hub__getting-started-guide__form\\\"\\n    @viewportSelector=\\\".developer-hub__getting-started-guide__form\\\"\\n    @placeholder=\\\"Start writing…\\\"\\n    @onError={{composer-error-logger \\\"Developer Hub Start Guide\\\"}}\\n    @onChange={{this.update}}\\n    @app={{this.app}}\\n    data-test-starting-guide-composer\\n  />\\n</div>\\n\", {\"contents\":\"<div class=\\\"developer-hub__getting-started-guide__form\\\" data-test-starting-guide-form>\\n  <ComposerV2\\n    @actionReceiver={{this.composerComponent}}\\n    @blocks={{this.startingGuideConfig.content}}\\n    @preset=\\\"developerHub\\\"\\n    class=\\\"developer-hub__getting-started-guide__composer\\\"\\n    @outerContainerSelector=\\\".developer-hub__getting-started-guide__form\\\"\\n    @viewportSelector=\\\".developer-hub__getting-started-guide__form\\\"\\n    @placeholder=\\\"Start writing…\\\"\\n    @onError={{composer-error-logger \\\"Developer Hub Start Guide\\\"}}\\n    @onChange={{this.update}}\\n    @app={{this.app}}\\n    data-test-starting-guide-composer\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/getting-started-guide.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/getting-started-guide.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { compareBlocks } from 'embercom/lib/developer-hub/diff-calculator';\n\nexport default class GettingStartedGuide extends Component {\n  @service developerHub;\n  @service appService;\n  @service store;\n\n  @tracked composerComponent;\n  @tracked startingGuideConfig =\n    this.appPackage.changeRequest.appPackageConfig.startingGuide ||\n    this.store.createFragment('developer-hub/starting-guide');\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get appPackage() {\n    return this.developerHub.appPackage;\n  }\n\n  @action update() {\n    let blocks = this.composerComponent.getBlocks();\n    let { hasDifference } = compareBlocks(blocks, this.startingGuideConfig.content);\n    if (hasDifference) {\n      this.startingGuideConfig.content = blocks;\n      this.args.onUpdate(this.startingGuideConfig);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield\\n  (hash\\n    imageUrl=imageUrl\\n    imageUrls=imageUrls\\n    uploadType=uploadType\\n    isLoading=uploadScreenshotImageTask.isRunning\\n    showFilePicker=(action \\\"showFilePicker\\\")\\n  )\\n}}\\n<input\\n  data-test-image-upload-hidden-input\\n  type=\\\"file\\\"\\n  accept=\\\"image/jpeg, image/jpg, image/png\\\"\\n  class=\\\"u__hidden\\\"\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield\\n  (hash\\n    imageUrl=imageUrl\\n    imageUrls=imageUrls\\n    uploadType=uploadType\\n    isLoading=uploadScreenshotImageTask.isRunning\\n    showFilePicker=(action \\\"showFilePicker\\\")\\n  )\\n}}\\n<input\\n  data-test-image-upload-hidden-input\\n  type=\\\"file\\\"\\n  accept=\\\"image/jpeg, image/jpg, image/png\\\"\\n  class=\\\"u__hidden\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/image-upload-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/image-upload-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { isEmpty } from '@ember/utils';\nimport { task } from 'ember-concurrency';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport $ from 'jquery';\nimport Component from '@ember/component';\nimport ImageUploadComponent from 'embercom/components/mixins/image-upload-component';\n\nexport default Component.extend(ImageUploadComponent, {\n  notificationsService: service(),\n  developerHub: service(),\n  imageUrl: null,\n  imageUrls: null,\n  maxFileSizeInBytes: 10485760,\n  maxFileSize: computed('maxFileSizeInBytes', function() {\n    return `${Math.floor(this.maxFileSizeInBytes / 1024 / 1024)}MB`;\n  }),\n  fileIsTooLarge: computed('file', function() {\n    let file = this.file;\n    return !file || file.size > this.maxFileSizeInBytes;\n  }),\n  change(e) {\n    this._super(...arguments);\n    this._uploadImage();\n  },\n  setFile(file) {\n    if (!this.file) {\n      this.setProperties({\n        isDragging: false,\n        file,\n        hasFile: true,\n        saving: false,\n      });\n    }\n  },\n  resetFile() {\n    this.set('file', null);\n    $('input:file').val('');\n  },\n  _uploadImage() {\n    if (isEmpty(this.file)) {\n      return;\n    }\n\n    let error = this.message;\n    if (!isEmpty(error)) {\n      this.notificationsService.notifyError(error);\n      return;\n    }\n\n    let file = this.file;\n    let uploadType = this.uploadType;\n    this.uploadScreenshotImageTask.perform(file, uploadType);\n    this.resetFile();\n  },\n  uploadScreenshotImageTask: task(function*(image, uploadType) {\n    try {\n      let result = yield this.get('developerHub.appPackage').uploadImage(image, uploadType);\n      this.addImageUrl(result.url);\n      this.notificationsService.notifyConfirmation('Your image has been uploaded.');\n    } catch (e) {\n      if (!isEmpty(e.jqXHR.responseJSON) && !isEmpty(e.jqXHR.responseJSON.errors)) {\n        this.notificationsService.notifyError(e.jqXHR.responseJSON.errors);\n      } else {\n        this.notificationsService.notifyError('There was a problem uploading your image.');\n      }\n    }\n  }),\n  actions: {\n    showFilePicker() {\n      $('input:file', this.element).click();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if label}}\\n  <p>\\n    {{label}}\\n  </p>\\n{{else}}\\n  <p class=\\\"t__light-text\\\">\\n    (Empty)\\n  </p>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if label}}\\n  <p>\\n    {{label}}\\n  </p>\\n{{else}}\\n  <p class=\\\"t__light-text\\\">\\n    (Empty)\\n  </p>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/label.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/label.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip\\n  @isInteractive={{true}}\\n  class={{if @inlineBlock \\\"u__display-inline-block\\\"}}\\n  as |tooltip|\\n>\\n  <tooltip.opener>\\n    <div\\n      data-test-access-token-display\\n      class=\\\"flex-initial truncate attribute__value-label\\\"\\n    >\\n      {{@accessToken}}\\n    </div>\\n  </tooltip.opener>\\n  <tooltip.content>\\n    <span data-test-access-token-tooltip class=\\\"attribute__info-tooltip__value t__light-text u__force-breaks\\\">\\n      {{@accessToken}}\\n      <span\\n        class=\\\"tooltips__email-link__copy-icon\\\"\\n        {{copy-to-clipboard text=@accessToken onSuccess=(track-analytics-event action=\\\"copied_token\\\" object=\\\"app_package\\\" app_package_id=this.appPackage.id)}}\\n        {{on \\\"click\\\" tooltip.hide}}\\n      >\\n        {{ic-interface-icon 'duplicate'}}\\n      </span>\\n    </span>\\n  </tooltip.content>\\n</IcTooltip>\\n\", {\"contents\":\"<IcTooltip\\n  @isInteractive={{true}}\\n  class={{if @inlineBlock \\\"u__display-inline-block\\\"}}\\n  as |tooltip|\\n>\\n  <tooltip.opener>\\n    <div\\n      data-test-access-token-display\\n      class=\\\"flex-initial truncate attribute__value-label\\\"\\n    >\\n      {{@accessToken}}\\n    </div>\\n  </tooltip.opener>\\n  <tooltip.content>\\n    <span data-test-access-token-tooltip class=\\\"attribute__info-tooltip__value t__light-text u__force-breaks\\\">\\n      {{@accessToken}}\\n      <span\\n        class=\\\"tooltips__email-link__copy-icon\\\"\\n        {{copy-to-clipboard text=@accessToken onSuccess=(track-analytics-event action=\\\"copied_token\\\" object=\\\"app_package\\\" app_package_id=this.appPackage.id)}}\\n        {{on \\\"click\\\" tooltip.hide}}\\n      >\\n        {{ic-interface-icon 'duplicate'}}\\n      </span>\\n    </span>\\n  </tooltip.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/oauth/access-token/access-token-display.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/oauth/access-token/access-token-display.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class AccessTokenDisplay extends Component {\n  @service developerHub;\n\n  get appPackage() {\n    return this.developerHub.appPackage;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::FormLayout\\n  data-test-developer-hub-access-token as |layout|\\n>\\n  <layout.title @text=\\\"Access token\\\">\\n    <layout.description>\\n      Access tokens are used to access your workspace's data via API. \\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/docs/authentication\\\"\\n        @title=\\\"Learn more\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        {{on \\\"click\\\" (track-analytics-event action='clicked' object='learn_more_link')}}\\n      />.\\n    </layout.description>\\n  </layout.title>\\n  <IcBanner\\n    @type=\\\"warning\\\"\\n    @text=\\\"Never share your access token with any third parties. If you spot anyone asking for your token let us know.\\\"\\n    @class=\\\"u__mb__15\\\"\\n  />\\n  <layout.group\\n    data-test-app-package-install-app-name\\n    @label={{appPackageInstall.app.name}}\\n  >\\n    <div data-test-app-package-install-access-token>\\n      {{#if appPackageInstall.hasOutdatedScopes}}\\n        <DeveloperHub::AppPackage::Oauth::AccessToken::InvalidAccessTokenWarningNontruncatable\\n          data-test-invalid-access-token={{true}}\\n          @accessToken={{appPackageInstall.accessToken}}\\n        />\\n      {{else}}\\n        {{#if appPackageInstall.installState}}\\n          <DeveloperHub::AppPackage::Oauth::AccessToken::AccessTokenDisplay\\n            @accessToken={{appPackageInstall.accessToken}}\\n            @inlineBlock={{true}}\\n          />\\n        {{else}}\\n          <DeveloperHub::AppPackage::Oauth::AccessToken::EmptyState />\\n        {{/if}}\\n      {{/if}}\\n    </div>\\n  </layout.group>\\n  <layout.divider />\\n</DeveloperHub::AppPackage::FormLayout>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::FormLayout\\n  data-test-developer-hub-access-token as |layout|\\n>\\n  <layout.title @text=\\\"Access token\\\">\\n    <layout.description>\\n      Access tokens are used to access your workspace's data via API. \\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/docs/authentication\\\"\\n        @title=\\\"Learn more\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        {{on \\\"click\\\" (track-analytics-event action='clicked' object='learn_more_link')}}\\n      />.\\n    </layout.description>\\n  </layout.title>\\n  <IcBanner\\n    @type=\\\"warning\\\"\\n    @text=\\\"Never share your access token with any third parties. If you spot anyone asking for your token let us know.\\\"\\n    @class=\\\"u__mb__15\\\"\\n  />\\n  <layout.group\\n    data-test-app-package-install-app-name\\n    @label={{appPackageInstall.app.name}}\\n  >\\n    <div data-test-app-package-install-access-token>\\n      {{#if appPackageInstall.hasOutdatedScopes}}\\n        <DeveloperHub::AppPackage::Oauth::AccessToken::InvalidAccessTokenWarningNontruncatable\\n          data-test-invalid-access-token={{true}}\\n          @accessToken={{appPackageInstall.accessToken}}\\n        />\\n      {{else}}\\n        {{#if appPackageInstall.installState}}\\n          <DeveloperHub::AppPackage::Oauth::AccessToken::AccessTokenDisplay\\n            @accessToken={{appPackageInstall.accessToken}}\\n            @inlineBlock={{true}}\\n          />\\n        {{else}}\\n          <DeveloperHub::AppPackage::Oauth::AccessToken::EmptyState />\\n        {{/if}}\\n      {{/if}}\\n    </div>\\n  </layout.group>\\n  <layout.divider />\\n</DeveloperHub::AppPackage::FormLayout>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/oauth/access-token/access-token.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/oauth/access-token/access-token.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<p data-test-empty-state-access-token>\\n  You haven't installed this app. <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.workspaces\\\">Install it here.</LinkTo>\\n</p>\\n\", {\"contents\":\"<p data-test-empty-state-access-token>\\n  You haven't installed this app. <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.workspaces\\\">Install it here.</LinkTo>\\n</p>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/oauth/access-token/empty-state.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/oauth/access-token/empty-state.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip\\n  @isInteractive={{true}}\\n  class=\\\"developer-hub__workspace-list__access-token flex-auto flex-shrink-0 whitespace-no-wrap developer-hub__app-package-review__change\\\"\\n  data-test-access-token-warning-nontruncatable-tooltip\\n  as |context|\\n>\\n  <context.opener>\\n    {{ic-interface-icon \\\"alert\\\"}} {{@accessToken}}\\n  </context.opener>\\n  <context.content data-test-access-token-warning-nontruncatable>\\n    This access token has outdated permissions, to update you'll need to\\n    <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.workspaces\\\">regenerate the token</LinkTo>.\\n  </context.content>\\n</IcTooltip>\\n\", {\"contents\":\"<IcTooltip\\n  @isInteractive={{true}}\\n  class=\\\"developer-hub__workspace-list__access-token flex-auto flex-shrink-0 whitespace-no-wrap developer-hub__app-package-review__change\\\"\\n  data-test-access-token-warning-nontruncatable-tooltip\\n  as |context|\\n>\\n  <context.opener>\\n    {{ic-interface-icon \\\"alert\\\"}} {{@accessToken}}\\n  </context.opener>\\n  <context.content data-test-access-token-warning-nontruncatable>\\n    This access token has outdated permissions, to update you'll need to\\n    <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.workspaces\\\">regenerate the token</LinkTo>.\\n  </context.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/oauth/access-token/invalid-access-token-warning-nontruncatable.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/oauth/access-token/invalid-access-token-warning-nontruncatable.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip\\n  @isInteractive={{true}}\\n  class=\\\"developer-hub__workspace-list__access-token flex-initial truncate developer-hub__app-package-review__change\\\"\\n  data-test-access-token-warning-tooltip\\n  as |context|\\n>\\n  <context.opener>\\n    {{ic-interface-icon \\\"alert\\\"}} {{@accessToken}}\\n  </context.opener>\\n  <context.content data-test-access-token-warning>\\n    This access token has outdated permissions, to update you'll need to\\n    <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.workspaces\\\">regenerate the token</LinkTo>.\\n  </context.content>\\n</IcTooltip>\\n\", {\"contents\":\"<IcTooltip\\n  @isInteractive={{true}}\\n  class=\\\"developer-hub__workspace-list__access-token flex-initial truncate developer-hub__app-package-review__change\\\"\\n  data-test-access-token-warning-tooltip\\n  as |context|\\n>\\n  <context.opener>\\n    {{ic-interface-icon \\\"alert\\\"}} {{@accessToken}}\\n  </context.opener>\\n  <context.content data-test-access-token-warning>\\n    This access token has outdated permissions, to update you'll need to\\n    <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.workspaces\\\">regenerate the token</LinkTo>.\\n  </context.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/oauth/access-token/invalid-access-token-warning.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/oauth/access-token/invalid-access-token-warning.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::ReviewWarning />\\n<DeveloperHub::AppPackage::FormLayout as |layout|>\\n  <DeveloperHub::AppPackage::Oauth::AccessToken::AccessToken\\n    @appPackageInstall={{appPackageInstall}}\\n  />\\n  <layout.title\\n    data-test-developer-hub-oauth-client-redirect-urls\\n    @text=\\\"OAuth\\\"\\n  >\\n    <layout.description>\\n      OAuth is used for publicly-available apps that access other people's Intercom data. \\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/docs/setting-up-oauth\\\"\\n        @title=\\\"Learn more\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        {{on \\\"click\\\" (track-analytics-event action='clicked' object='learn_more_link')}}\\n      />.\\n    </layout.description>\\n  </layout.title>\\n  <layout.group>\\n    <layout.checkbox\\n      data-test-oauth-client-used\\n      @label=\\\"Use OAuth\\\"\\n      @checked={{useOAuthFlow}}\\n    />\\n  </layout.group>\\n  {{#if useOAuthFlow}}\\n    <DeveloperHub::AppPackage::Oauth::RedirectUrls::EditUrls\\n      @appPackage={{appPackage}}\\n    />\\n  {{/if}}\\n  <layout.divider />\\n  <DeveloperHub::AppPackage::Oauth::Permissions::EditPermissions\\n    @appPackage={{appPackage}}\\n    @oauthScopes={{oauthScopes}}\\n  />\\n</DeveloperHub::AppPackage::FormLayout>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::ReviewWarning />\\n<DeveloperHub::AppPackage::FormLayout as |layout|>\\n  <DeveloperHub::AppPackage::Oauth::AccessToken::AccessToken\\n    @appPackageInstall={{appPackageInstall}}\\n  />\\n  <layout.title\\n    data-test-developer-hub-oauth-client-redirect-urls\\n    @text=\\\"OAuth\\\"\\n  >\\n    <layout.description>\\n      OAuth is used for publicly-available apps that access other people's Intercom data. \\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/docs/setting-up-oauth\\\"\\n        @title=\\\"Learn more\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        {{on \\\"click\\\" (track-analytics-event action='clicked' object='learn_more_link')}}\\n      />.\\n    </layout.description>\\n  </layout.title>\\n  <layout.group>\\n    <layout.checkbox\\n      data-test-oauth-client-used\\n      @label=\\\"Use OAuth\\\"\\n      @checked={{useOAuthFlow}}\\n    />\\n  </layout.group>\\n  {{#if useOAuthFlow}}\\n    <DeveloperHub::AppPackage::Oauth::RedirectUrls::EditUrls\\n      @appPackage={{appPackage}}\\n    />\\n  {{/if}}\\n  <layout.divider />\\n  <DeveloperHub::AppPackage::Oauth::Permissions::EditPermissions\\n    @appPackage={{appPackage}}\\n    @oauthScopes={{oauthScopes}}\\n  />\\n</DeveloperHub::AppPackage::FormLayout>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/oauth/client-edit.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/oauth/client-edit.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { alias } from '@ember/object/computed';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  useOAuthFlow: alias('appPackage.changeRequest.appPackageConfig.oauthClient.useOAuthFlow'),\n  actions: {\n    toggleOauthClient() {\n      this.toggleProperty('useOAuthFlow');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::FormLayout as |layout|>\\n  <layout.title @text=\\\"Permissions\\\">\\n    <layout.description>\\n      Permissions define how your app will use our API\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/building-apps/docs/setting-up-oauth#section-permissions\\\"\\n        @title=\\\"Learn more\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n      />.\\n    </layout.description>\\n  </layout.title>\\n  {{#if oauthClient.scopesErrors}}\\n    <layout.group>\\n      <p data-test-invalid-scopes-warning class=\\\"text-red\\\">\\n        {{oauthClient.scopesErrors.firstObject.message}}\\n      </p>\\n    </layout.group>\\n  {{/if}}\\n  <layout.group @label=\\\"People and conversation data\\\">\\n    <div class=\\\"developer-hub__app-package-permissions__container\\\">\\n      {{#each sortedPeopleAndConversationData as |oauthScope|}}\\n        <DeveloperHub::AppPackage::Oauth::Permissions::EditScopes\\n          @scope={{oauthScope}}\\n          @appPackage={{appPackage}}\\n        />\\n      {{/each}}\\n    </div>\\n  </layout.group>\\n  <layout.group @label=\\\"Workspace data\\\">\\n    <div class=\\\"developer-hub__app-package-permissions__container\\\">\\n      {{#each sortedWorkspaceData as |oauthScope|}}\\n        <DeveloperHub::AppPackage::Oauth::Permissions::EditScopes\\n          @scope={{oauthScope}}\\n          @appPackage={{appPackage}}\\n        />\\n      {{/each}}\\n    </div>\\n  </layout.group>\\n</DeveloperHub::AppPackage::FormLayout>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::FormLayout as |layout|>\\n  <layout.title @text=\\\"Permissions\\\">\\n    <layout.description>\\n      Permissions define how your app will use our API\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/building-apps/docs/setting-up-oauth#section-permissions\\\"\\n        @title=\\\"Learn more\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n      />.\\n    </layout.description>\\n  </layout.title>\\n  {{#if oauthClient.scopesErrors}}\\n    <layout.group>\\n      <p data-test-invalid-scopes-warning class=\\\"text-red\\\">\\n        {{oauthClient.scopesErrors.firstObject.message}}\\n      </p>\\n    </layout.group>\\n  {{/if}}\\n  <layout.group @label=\\\"People and conversation data\\\">\\n    <div class=\\\"developer-hub__app-package-permissions__container\\\">\\n      {{#each sortedPeopleAndConversationData as |oauthScope|}}\\n        <DeveloperHub::AppPackage::Oauth::Permissions::EditScopes\\n          @scope={{oauthScope}}\\n          @appPackage={{appPackage}}\\n        />\\n      {{/each}}\\n    </div>\\n  </layout.group>\\n  <layout.group @label=\\\"Workspace data\\\">\\n    <div class=\\\"developer-hub__app-package-permissions__container\\\">\\n      {{#each sortedWorkspaceData as |oauthScope|}}\\n        <DeveloperHub::AppPackage::Oauth::Permissions::EditScopes\\n          @scope={{oauthScope}}\\n          @appPackage={{appPackage}}\\n        />\\n      {{/each}}\\n    </div>\\n  </layout.group>\\n</DeveloperHub::AppPackage::FormLayout>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/oauth/permissions/edit-permissions.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/oauth/permissions/edit-permissions.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { alias, filter, filterBy, readOnly, sort } from '@ember/object/computed';\n\nlet manageWebhooks = 'manage_webhooks';\n\nexport default Component.extend({\n  appService: service(),\n  developerHub: service(),\n  app: readOnly('appService.app'),\n  sortingOrder: Object.freeze(['orderId']),\n  workspaceData: filterBy('oauthScopes', 'scopeType', 'workspace_data'),\n  workspaceDataWithoutWebhooks: filter('workspaceData', function(workspacePermission) {\n    return (\n      workspacePermission.id !== manageWebhooks ||\n      this.get('developerHub.appPackage.oauthClient.scopes').includes(manageWebhooks)\n    );\n  }),\n  sortedWorkspaceData: sort('workspaceDataWithoutWebhooks', 'sortingOrder'),\n  peopleAndConversationData: filterBy('oauthScopes', 'scopeType', 'people_and_conversation_data'),\n  sortedPeopleAndConversationData: sort('peopleAndConversationData', 'sortingOrder'),\n  oauthClient: alias('appPackage.changeRequest.appPackageConfig.oauthClient'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-start\\\">\\n  <Input\\n    data-test-developer-hub-app-package-scope-edit={{scope.id}}\\n    class=\\\"u__mr__10 u__mt__5\\\"\\n    @type=\\\"checkbox\\\"\\n    @checked={{appPackageHasScope}}\\n    @change={{action \\\"toggleScopeValue\\\" scope.id}}\\n    @disabled={{disabled}}\\n  />\\n  <div class=\\\"layout__box\\\">\\n    <p>\\n      {{scope.name}}\\n    </p>\\n    <p class=\\\"t__light-text\\\">\\n      {{scope.description}}\\n    </p>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-start\\\">\\n  <Input\\n    data-test-developer-hub-app-package-scope-edit={{scope.id}}\\n    class=\\\"u__mr__10 u__mt__5\\\"\\n    @type=\\\"checkbox\\\"\\n    @checked={{appPackageHasScope}}\\n    @change={{action \\\"toggleScopeValue\\\" scope.id}}\\n    @disabled={{disabled}}\\n  />\\n  <div class=\\\"layout__box\\\">\\n    <p>\\n      {{scope.name}}\\n    </p>\\n    <p class=\\\"t__light-text\\\">\\n      {{scope.description}}\\n    </p>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/oauth/permissions/edit-scopes.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/oauth/permissions/edit-scopes.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { containsByProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { readOnly, bool } from '@ember/object/computed';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  classNames: ['developer-hub__app-package-permissions__item'],\n  attributeBindings: ['test-developer-hub-app-package-scope-edit-container', 'disabled'],\n  'test-developer-hub-app-package-scope-edit-container': true,\n\n  messengerEnabled: bool('appPackage.changeRequest.appPackageConfig.messengerApp'),\n  inboxEnabled: bool('appPackage.changeRequest.appPackageConfig.inboxApp'),\n\n  disabled: computed(\n    'app.canUseManagedScopes',\n    'messengerEnabled',\n    'inboxEnabled',\n    'scope.id',\n    function() {\n      return this.get('app.canUseManagedScopes') && this.isManagedScope(this.scope);\n    },\n  ),\n\n  /**\n   * Return whether *scope* is managed by the backend.\n   *\n   * A managed scope should be one whose value is enforced by the backend and should not be presented to the user as\n   * being editable. Whether a scope is managed or not can be determined by other application configuration values.\n   *\n   * For example, a 'read_conversations' scope might be considered managed when any messenger capability is also\n   * enabled in the configuration. This helps prevent the application being configured by the user in a manner that is\n   * technically valid, but not practically usable.\n   */\n  isManagedScope(scope) {\n    // Ideally the business logic for determining a managed scope would be performed solely on the backend and\n    // communicated via the data model to avoid the potential for drifting logic. For now, determine based on a\n    // hardcoded set of source configuration keys and their affected scopes. Note that only `changeRequest` is checked\n    // as it is guaranteed to contain all the relevant values, even for those that are unchanged.\n    let managedScopes = new Set([\n      'read_users_companies',\n      'read_conversations',\n      'read_admins',\n      'gather_app_data',\n    ]);\n    return (this.messengerEnabled || this.inboxEnabled) && managedScopes.has(scope.id);\n  },\n\n  appPackageHasScope: containsByProperty(\n    'appPackage.changeRequest.appPackageConfig.oauthClient.scopes',\n    'scope.id',\n  ),\n  actions: {\n    toggleScopeValue(scopeValue) {\n      let appPackageScopes = this.get(\n        'appPackage.changeRequest.appPackageConfig.oauthClient.scopes',\n      ).slice();\n      if (appPackageScopes.includes(scopeValue)) {\n        appPackageScopes.removeObject(scopeValue);\n      } else {\n        appPackageScopes.pushObject(scopeValue);\n      }\n      this.set('appPackage.changeRequest.appPackageConfig.oauthClient.scopes', appPackageScopes);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::FormLayout\\n  data-test-developer-hub-access-token as |layout|\\n>\\n  <layout.title @text=\\\"Permissions\\\">\\n    <layout.description>\\n      Permissions define how your app will use our API.\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/building-apps/docs/setting-up-oauth#section-permissions\\\"\\n        @title=\\\"Learn more\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n      />.\\n    </layout.description>\\n  </layout.title>\\n  <layout.group @label=\\\"People and conversation data\\\">\\n    <div class=\\\"developer-hub__app-package-permissions__container u__padt__5\\\">\\n      {{#each sortedPeopleAndConversationData as |oauthScope|}}\\n        <div class=\\\"developer-hub__app-package-permissions__item\\\">\\n          <DeveloperHub::AppPackage::Oauth::Permissions::Scope\\n            @scope={{oauthScope}}\\n            @appPackageScopes={{appPackage.oauthClient.scopes}}\\n          />\\n        </div>\\n      {{/each}}\\n    </div>\\n  </layout.group>\\n  <layout.group @label=\\\"Workspace data\\\">\\n    <div class=\\\"developer-hub__app-package-permissions__container u__padt__5\\\">\\n      {{#each sortedWorkspaceData as |oauthScope|}}\\n        <div class=\\\"developer-hub__app-package-permissions__item\\\">\\n          <DeveloperHub::AppPackage::Oauth::Permissions::Scope\\n            @scope={{oauthScope}}\\n            @appPackageScopes={{appPackage.oauthClient.scopes}}\\n          />\\n        </div>\\n      {{/each}}\\n    </div>\\n  </layout.group>\\n</DeveloperHub::AppPackage::FormLayout>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::FormLayout\\n  data-test-developer-hub-access-token as |layout|\\n>\\n  <layout.title @text=\\\"Permissions\\\">\\n    <layout.description>\\n      Permissions define how your app will use our API.\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/building-apps/docs/setting-up-oauth#section-permissions\\\"\\n        @title=\\\"Learn more\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n      />.\\n    </layout.description>\\n  </layout.title>\\n  <layout.group @label=\\\"People and conversation data\\\">\\n    <div class=\\\"developer-hub__app-package-permissions__container u__padt__5\\\">\\n      {{#each sortedPeopleAndConversationData as |oauthScope|}}\\n        <div class=\\\"developer-hub__app-package-permissions__item\\\">\\n          <DeveloperHub::AppPackage::Oauth::Permissions::Scope\\n            @scope={{oauthScope}}\\n            @appPackageScopes={{appPackage.oauthClient.scopes}}\\n          />\\n        </div>\\n      {{/each}}\\n    </div>\\n  </layout.group>\\n  <layout.group @label=\\\"Workspace data\\\">\\n    <div class=\\\"developer-hub__app-package-permissions__container u__padt__5\\\">\\n      {{#each sortedWorkspaceData as |oauthScope|}}\\n        <div class=\\\"developer-hub__app-package-permissions__item\\\">\\n          <DeveloperHub::AppPackage::Oauth::Permissions::Scope\\n            @scope={{oauthScope}}\\n            @appPackageScopes={{appPackage.oauthClient.scopes}}\\n          />\\n        </div>\\n      {{/each}}\\n    </div>\\n  </layout.group>\\n</DeveloperHub::AppPackage::FormLayout>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/oauth/permissions/permissions.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/oauth/permissions/permissions.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { filter, filterBy, readOnly, sort } from '@ember/object/computed';\n\nlet manageWebhooks = 'manage_webhooks';\n\nexport default Component.extend({\n  appService: service(),\n  developerHub: service(),\n  app: readOnly('appService.app'),\n  sortingOrder: Object.freeze(['orderId']),\n  workspaceData: filterBy('scopes', 'scopeType', 'workspace_data'),\n  workspaceDataWithoutWebhooks: filter('workspaceData', function(workspacePermission) {\n    return (\n      workspacePermission.id !== manageWebhooks ||\n      this.get('developerHub.appPackage.oauthClient.scopes').includes(manageWebhooks)\n    );\n  }),\n  sortedWorkspaceData: sort('workspaceDataWithoutWebhooks', 'sortingOrder'),\n  peopleAndConversationData: filterBy('scopes', 'scopeType', 'people_and_conversation_data'),\n  sortedPeopleAndConversationData: sort('peopleAndConversationData', 'sortingOrder'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-start\\\" data-test-developer-hub-app-package-scope>\\n  <div class=\\\"u__mr__10\\\">\\n    {{#if appPackageHasScope}}\\n      <div class=\\\"text-green\\\" data-test-developer-hub-app-scope-exists>\\n        {{ic-interface-icon \\\"check\\\" solo=true}}\\n      </div>\\n    {{else}}\\n      <div class=\\\"text-red\\\" data-test-developer-hub-app-scope-doesnt-exist>\\n        {{ic-interface-icon \\\"x\\\" solo=true}}\\n      </div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"layout__box\\\">\\n    <p>\\n      {{scope.name}}\\n    </p>\\n    <p class=\\\"t__light-text\\\">\\n      {{scope.description}}\\n    </p>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-start\\\" data-test-developer-hub-app-package-scope>\\n  <div class=\\\"u__mr__10\\\">\\n    {{#if appPackageHasScope}}\\n      <div class=\\\"text-green\\\" data-test-developer-hub-app-scope-exists>\\n        {{ic-interface-icon \\\"check\\\" solo=true}}\\n      </div>\\n    {{else}}\\n      <div class=\\\"text-red\\\" data-test-developer-hub-app-scope-doesnt-exist>\\n        {{ic-interface-icon \\\"x\\\" solo=true}}\\n      </div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"layout__box\\\">\\n    <p>\\n      {{scope.name}}\\n    </p>\\n    <p class=\\\"t__light-text\\\">\\n      {{scope.description}}\\n    </p>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/oauth/permissions/scope.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/oauth/permissions/scope.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { containsByProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  appPackageHasScope: containsByProperty('appPackageScopes', 'scope.id'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::FormLayout\\n  data-test-developer-hub-oauth-client-add-redirect-urls as |layout|\\n>\\n  <layout.group\\n    data-test-developer-hub-oauth-client-add-redirect-urls\\n    @label=\\\"Redirect URLs\\\"\\n    @description=\\\"The first URL will be the default\\\"\\n  >\\n    {{#each redirectUrls as |row index|}}\\n      <DeveloperHub::AppPackage::Oauth::RedirectUrls::Row\\n        @row={{row}}\\n        @shouldHideClose={{shouldHideClose}}\\n        @onDelete={{action \\\"removeRow\\\" index}}\\n      />\\n    {{/each}}\\n    <a\\n      data-test-developer-hub-oauth-client-add-redirect-url-button\\n      class=\\\"btn__tertiary\\\"\\n      onClick={{action \\\"addRow\\\"}}\\n    >\\n      {{ic-interface-icon \\\"new\\\" color=\\\"blue\\\"}}\\n      <span class=\\\"twk__time-period__add-another-row-button\\\">\\n        Add redirect URL\\n      </span>\\n    </a>\\n  </layout.group>\\n</DeveloperHub::AppPackage::FormLayout>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::FormLayout\\n  data-test-developer-hub-oauth-client-add-redirect-urls as |layout|\\n>\\n  <layout.group\\n    data-test-developer-hub-oauth-client-add-redirect-urls\\n    @label=\\\"Redirect URLs\\\"\\n    @description=\\\"The first URL will be the default\\\"\\n  >\\n    {{#each redirectUrls as |row index|}}\\n      <DeveloperHub::AppPackage::Oauth::RedirectUrls::Row\\n        @row={{row}}\\n        @shouldHideClose={{shouldHideClose}}\\n        @onDelete={{action \\\"removeRow\\\" index}}\\n      />\\n    {{/each}}\\n    <a\\n      data-test-developer-hub-oauth-client-add-redirect-url-button\\n      class=\\\"btn__tertiary\\\"\\n      onClick={{action \\\"addRow\\\"}}\\n    >\\n      {{ic-interface-icon \\\"new\\\" color=\\\"blue\\\"}}\\n      <span class=\\\"twk__time-period__add-another-row-button\\\">\\n        Add redirect URL\\n      </span>\\n    </a>\\n  </layout.group>\\n</DeveloperHub::AppPackage::FormLayout>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/oauth/redirect-urls/edit-urls.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/oauth/redirect-urls/edit-urls.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { alias, equal } from '@ember/object/computed';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  redirectUrls: alias('appPackage.changeRequest.appPackageConfig.oauthClient.redirectUrls'),\n  shouldHideClose: equal('redirectUrls.length', 1),\n\n  addAnalyticsEvent(action) {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'redirect_url',\n      action,\n    });\n  },\n\n  actions: {\n    addRow() {\n      this.addAnalyticsEvent('added');\n      this.redirectUrls.createFragment('developer-hub/redirect-url', { url: '' });\n    },\n\n    removeRow(index) {\n      this.addAnalyticsEvent('deleted');\n      this.redirectUrls.removeAt(index);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-empty-state-redirect-urls>\\n  <p>\\n    OAuth is not configured\\n  </p>\\n</div>\\n\", {\"contents\":\"<div data-test-empty-state-redirect-urls>\\n  <p>\\n    OAuth is not configured\\n  </p>\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/oauth/redirect-urls/empty-state.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/oauth/redirect-urls/empty-state.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::FormLayout\\n  data-test-developer-hub-oauth-client-redirect-urls as |layout|\\n>\\n  <layout.title @text=\\\"OAuth\\\">\\n    <layout.description>\\n      OAuth is used for publicly-available apps that access other people's Intercom data. \\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/docs/setting-up-oauth\\\"\\n        @title=\\\"Learn more\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        {{on \\\"click\\\" (track-analytics-event action='clicked' object='learn_more_link')}}\\n      />.\\n    </layout.description>\\n  </layout.title>\\n  <layout.group @label=\\\"Redirect URLs\\\">\\n    {{#if redirectUrls}}\\n      {{#each redirectUrls as |redirectUrl|}}\\n        <p data-test-developer-hub-oauth-client-redirect-url>\\n          {{redirectUrl.url}}\\n        </p>\\n      {{/each}}\\n    {{else}}\\n      <DeveloperHub::AppPackage::Oauth::RedirectUrls::EmptyState\\n        data-test-empty-state-wrapper\\n      />\\n    {{/if}}\\n  </layout.group>\\n  <layout.divider />\\n</DeveloperHub::AppPackage::FormLayout>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::FormLayout\\n  data-test-developer-hub-oauth-client-redirect-urls as |layout|\\n>\\n  <layout.title @text=\\\"OAuth\\\">\\n    <layout.description>\\n      OAuth is used for publicly-available apps that access other people's Intercom data. \\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/docs/setting-up-oauth\\\"\\n        @title=\\\"Learn more\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        {{on \\\"click\\\" (track-analytics-event action='clicked' object='learn_more_link')}}\\n      />.\\n    </layout.description>\\n  </layout.title>\\n  <layout.group @label=\\\"Redirect URLs\\\">\\n    {{#if redirectUrls}}\\n      {{#each redirectUrls as |redirectUrl|}}\\n        <p data-test-developer-hub-oauth-client-redirect-url>\\n          {{redirectUrl.url}}\\n        </p>\\n      {{/each}}\\n    {{else}}\\n      <DeveloperHub::AppPackage::Oauth::RedirectUrls::EmptyState\\n        data-test-empty-state-wrapper\\n      />\\n    {{/if}}\\n  </layout.group>\\n  <layout.divider />\\n</DeveloperHub::AppPackage::FormLayout>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/oauth/redirect-urls/redirect-urls.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/oauth/redirect-urls/redirect-urls.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"f__group\\\" data-test-developer-hub-oauth-client-redirect-url-row>\\n  {{#if row.validations.errors}}\\n    <p class=\\\"text-red u__mb__5\\\">\\n      {{row.validations.errors.firstObject.message}}\\n    </p>\\n  {{/if}}\\n  <Input\\n    data-test-developer-hub-redirect-url-input\\n    class=\\\"f__text {{if row.validations.errors 'o__error'}}\\\"\\n    placeholder=\\\"https://example.com/callback\\\"\\n    @type=\\\"text\\\"\\n    @value={{row.url}}\\n  />\\n  {{#if (not shouldHideClose)}}\\n    <a\\n      class=\\\"twk__redirect-url-row-divider quick-action\\\"\\n      data-test-developer-hub-oauth-client-remove-redirect-url-row\\n      {{action onDelete}}\\n    >\\n      {{ic-interface-icon \\\"close\\\"}}\\n    </a>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"f__group\\\" data-test-developer-hub-oauth-client-redirect-url-row>\\n  {{#if row.validations.errors}}\\n    <p class=\\\"text-red u__mb__5\\\">\\n      {{row.validations.errors.firstObject.message}}\\n    </p>\\n  {{/if}}\\n  <Input\\n    data-test-developer-hub-redirect-url-input\\n    class=\\\"f__text {{if row.validations.errors 'o__error'}}\\\"\\n    placeholder=\\\"https://example.com/callback\\\"\\n    @type=\\\"text\\\"\\n    @value={{row.url}}\\n  />\\n  {{#if (not shouldHideClose)}}\\n    <a\\n      class=\\\"twk__redirect-url-row-divider quick-action\\\"\\n      data-test-developer-hub-oauth-client-remove-redirect-url-row\\n      {{action onDelete}}\\n    >\\n      {{ic-interface-icon \\\"close\\\"}}\\n    </a>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/oauth/redirect-urls/row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/oauth/redirect-urls/row.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::Oauth::AccessToken::AccessToken\\n  @appPackageInstall={{appPackageInstall}}\\n/>\\n<DeveloperHub::AppPackage::Oauth::RedirectUrls::RedirectUrls\\n  @redirectUrls={{appPackage.oauthClient.redirectUrls}}\\n/>\\n<DeveloperHub::AppPackage::Oauth::Permissions::Permissions\\n  @appPackage={{appPackage}}\\n  @scopes={{scopes}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::Oauth::AccessToken::AccessToken\\n  @appPackageInstall={{appPackageInstall}}\\n/>\\n<DeveloperHub::AppPackage::Oauth::RedirectUrls::RedirectUrls\\n  @redirectUrls={{appPackage.oauthClient.redirectUrls}}\\n/>\\n<DeveloperHub::AppPackage::Oauth::Permissions::Permissions\\n  @appPackage={{appPackage}}\\n  @scopes={{scopes}}\\n/>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/oauth/show.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/oauth/show.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showProtectedAppPackageWarning}}\\n  <IcBanner data-test-protected-app-package-warning @type=\\\"error\\\">\\n    <b>\\n      This is a protected app. It is being used internally by Intercom teams. Changing anything here could have a detrimental affect on internal apps. Please be careful!\\n    </b>\\n  </IcBanner>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showProtectedAppPackageWarning}}\\n  <IcBanner data-test-protected-app-package-warning @type=\\\"error\\\">\\n    <b>\\n      This is a protected app. It is being used internally by Intercom teams. Changing anything here could have a detrimental affect on internal apps. Please be careful!\\n    </b>\\n  </IcBanner>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/protected-app-package-warning.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/protected-app-package-warning.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  developerHub: service(),\n  appPackage: readOnly('developerHub.appPackage'),\n  showProtectedAppPackageWarning: readOnly('appPackage.isProtectedAppPackage'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-developer-hub-reports-installation-events>\\n  {{#if this.displayInstallationEvents}}\\n    <div class=\\\"flex flex-col pt-4\\\">\\n      <Heading @size=\\\"2\\\">Installation Events</Heading>\\n    </div>\\n\\n    <IcTable\\n      @data={{this.eventsData}}\\n      @canLoadMore={{this.canLoadMore}}\\n      @onLoadMore={{this.onLoadMore}}\\n      @columns={{array\\n        (hash label='Workspace ID' valuePath='app_id_code')\\n        (hash label='Event type' valuePath='state')\\n        (hash label='Occurred At' valuePath='created_at')\\n      }}\\n      data-test-developer-hub-reports-installation-events\\n      as |table|\\n    >\\n      <table.rows as |row|>\\n        <row.cell @valuePath=\\\"app_id_code\\\">\\n          {{row.data.app_id_code}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"state\\\">\\n          {{capitalize (lowercase row.data.state)}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"created_at\\\">\\n          {{moment-format row.data.created_at \\\"MMM D, YYYY, HH:mm:ss\\\"}}\\n        </row.cell>\\n      </table.rows>\\n    </IcTable>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div data-test-developer-hub-reports-installation-events>\\n  {{#if this.displayInstallationEvents}}\\n    <div class=\\\"flex flex-col pt-4\\\">\\n      <Heading @size=\\\"2\\\">Installation Events</Heading>\\n    </div>\\n\\n    <IcTable\\n      @data={{this.eventsData}}\\n      @canLoadMore={{this.canLoadMore}}\\n      @onLoadMore={{this.onLoadMore}}\\n      @columns={{array\\n        (hash label='Workspace ID' valuePath='app_id_code')\\n        (hash label='Event type' valuePath='state')\\n        (hash label='Occurred At' valuePath='created_at')\\n      }}\\n      data-test-developer-hub-reports-installation-events\\n      as |table|\\n    >\\n      <table.rows as |row|>\\n        <row.cell @valuePath=\\\"app_id_code\\\">\\n          {{row.data.app_id_code}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"state\\\">\\n          {{capitalize (lowercase row.data.state)}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"created_at\\\">\\n          {{moment-format row.data.created_at \\\"MMM D, YYYY, HH:mm:ss\\\"}}\\n        </row.cell>\\n      </table.rows>\\n    </IcTable>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/reports/installation-events.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/reports/installation-events.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport { action } from '@ember/object';\n\nexport default class InstallationEvents extends Component {\n  @service developerHub;\n  @service store;\n  @tracked report = [];\n  currentPage = 1;\n  perPage = 10;\n  @tracked canLoadMore = true;\n\n  constructor() {\n    super(...arguments);\n    this.fetchReport.perform();\n  }\n\n  get displayInstallationEvents() {\n    if (!this.report) {\n      return false;\n    }\n    return this.report.length > 0;\n  }\n\n  get eventsData() {\n    return this.report;\n  }\n\n  @action\n  onLoadMore() {\n    this.fetchReport.perform();\n  }\n\n  @task\n  *fetchReport(page) {\n    let { id: appPackageId } = this.developerHub.appPackage;\n    let response = yield this.store.queryRecord(\n      'developer-hub/app-package/reports/installation-events',\n      {\n        appPackageId,\n        page: this.currentPage,\n        per_page: this.perPage,\n      },\n    );\n    this.report = [...this.report, ...response.report];\n    this.currentPage++;\n    if (response.report.length < this.perPage) {\n      this.canLoadMore = false;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col flex-1 gap-2\\\" data-test-developer-hub-reports-installs-chart>\\n  <Reporting::FetchReport\\n    @query={{this.query}}\\n    @debugName={{this.query.debug_name}}\\n    @range={{@range}}\\n    @filters={{this.filters}}\\n    as |report|\\n  >\\n    <Reporting::Chart::Bar\\n      @title=\\\"Installs\\\"\\n      @range={{@range}}\\n      @signal={{report}}\\n      @size=\\\"small\\\"\\n      @improvementDirection=\\\"increasing\\\"\\n      @color=\\\"vis-green-40\\\"\\n    />\\n  </Reporting::FetchReport>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col flex-1 gap-2\\\" data-test-developer-hub-reports-installs-chart>\\n  <Reporting::FetchReport\\n    @query={{this.query}}\\n    @debugName={{this.query.debug_name}}\\n    @range={{@range}}\\n    @filters={{this.filters}}\\n    as |report|\\n  >\\n    <Reporting::Chart::Bar\\n      @title=\\\"Installs\\\"\\n      @range={{@range}}\\n      @signal={{report}}\\n      @size=\\\"small\\\"\\n      @improvementDirection=\\\"increasing\\\"\\n      @color=\\\"vis-green-40\\\"\\n    />\\n  </Reporting::FetchReport>\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/reports/installs-chart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/reports/installs-chart.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { APP_PACKAGE_INSTALL_STATUS_CHANGED_EVENTS } from 'embercom/lib/reporting/queries';\n\nexport default class InstallsChart extends Component {\n  @service developerHub;\n  query = APP_PACKAGE_INSTALL_STATUS_CHANGED_EVENTS;\n\n  get filters() {\n    return {\n      'app_package.id': this.developerHub.appPackage.id,\n      'state.id': ['INSTALLED', 'REINSTALLED'],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::ChartContainer\\n  @isLoading={{not (and this.cumulativeTotalInstalls.signal this.previousCumulativeTotalInstalls.signal)}}\\n  data-test-developer-hub-reports-total-installs-chart\\n  {{did-update this.getTotalInstalls @range}}\\n>\\n  <Reporting::Element::Summary\\n    @title=\\\"Total installations\\\"\\n    @currentValue={{this.cumulativeTotalInstalls.signal.value}}\\n    @previousValue={{this.previousCumulativeTotalInstalls.signal.value}}\\n    @range={{@range}}\\n  />\\n  <Reporting::Chart::Line\\n    @signal={{this.cumulativeTotalInstalls.signal}}\\n    @range={{@range}}\\n    @keys={{array \\\"total_cumulative_metric\\\"}}\\n  />\\n</Reporting::ChartContainer>\\n\", {\"contents\":\"<Reporting::ChartContainer\\n  @isLoading={{not (and this.cumulativeTotalInstalls.signal this.previousCumulativeTotalInstalls.signal)}}\\n  data-test-developer-hub-reports-total-installs-chart\\n  {{did-update this.getTotalInstalls @range}}\\n>\\n  <Reporting::Element::Summary\\n    @title=\\\"Total installations\\\"\\n    @currentValue={{this.cumulativeTotalInstalls.signal.value}}\\n    @previousValue={{this.previousCumulativeTotalInstalls.signal.value}}\\n    @range={{@range}}\\n  />\\n  <Reporting::Chart::Line\\n    @signal={{this.cumulativeTotalInstalls.signal}}\\n    @range={{@range}}\\n    @keys={{array \\\"total_cumulative_metric\\\"}}\\n  />\\n</Reporting::ChartContainer>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/reports/total-installs-chart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/reports/total-installs-chart.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class TotalInstallsChart extends Component {\n  @service developerHub;\n  @service store;\n  @tracked cumulativeTotalInstalls;\n  @tracked previousCumulativeTotalInstalls;\n\n  constructor() {\n    super(...arguments);\n    this.getTotalInstalls();\n  }\n\n  @action\n  getTotalInstalls() {\n    this.getCumulativeTotalInstalls().then(response => {\n      this.cumulativeTotalInstalls = response;\n    });\n    this.getPreviousCumulativeTotalInstalls().then(response => {\n      this.previousCumulativeTotalInstalls = response;\n    });\n  }\n\n  getCumulativeTotalInstalls() {\n    let { start, end } = this.args.range;\n\n    return this.store.queryRecord('developer-hub/app-package/reports/cumulative-total-installs', {\n      appPackageId: this.developerHub.appPackage.id,\n      start,\n      end,\n    });\n  }\n\n  getPreviousCumulativeTotalInstalls() {\n    let { comparisonStartMoment, comparisonEndMoment } = this.args.range;\n    return this.store.queryRecord('developer-hub/app-package/reports/cumulative-total-installs', {\n      appPackageId: this.developerHub.appPackage.id,\n      start: comparisonStartMoment.toISOString(),\n      end: comparisonEndMoment.toISOString(),\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  {{did-update (perform this.fetchReport) @range}}\\n  class=\\\"developer-hub__reports__uninstall-feedbacks__table\\\"\\n  data-test-developer-hub-reports-uninstall-feedback\\n>\\n  <div class=\\\"flex flex-col pt-4\\\">\\n    <Heading @size=\\\"2\\\">Typical reasons for uninstall</Heading>\\n    {{#if (not this.displayFeedback)}}\\n      <hr/>\\n      <Paragraph data-test-developer-hub-reports-uninstall-feedback-no-reasons-provided>\\n        <Text @styling=\\\"muted\\\">No reasons provided</Text>\\n      </Paragraph>\\n    {{/if}}\\n  </div>\\n\\n  {{#if this.displayFeedback}}\\n    <IcTable\\n      @data={{this.distributionData}}\\n      @columns={{array\\n        (hash label='' valuePath='name')\\n        (hash label='' valuePath='value')\\n      }}\\n      data-test-developer-hub-reports-uninstall-feedback-distribution\\n      as |table|\\n    >\\n      <table.rows as |row|>\\n        <row.cell @valuePath=\\\"name\\\">\\n          {{row.data.name}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"value\\\">\\n          {{row.data.value}}\\n        </row.cell>\\n      </table.rows>\\n    </IcTable>\\n\\n    {{#if (gt this.commentCount 0)}}\\n      <a {{on 'click' this.openModal}}>\\n        <Text\\n          @linkStyling=\\\"standalone\\\"\\n          class=\\\"pt-4 pl-1\\\"\\n          data-test-developer-hub-reports-uninstall-feedback-comments-link\\n        >\\n          See other {{this.commentCount}}\\n        </Text>\\n      </a>\\n    {{/if}}\\n  {{/if}}\\n\\n  <IcModal\\n    @onModalClose={{this.closeModal}}\\n    @width=\\\"m\\\"\\n    @isOpen={{this.showModal}} as |modal|\\n  >\\n    <modal.header\\n      @title=\\\"Other reasons for uninstall\\\"\\n      data-test-developer-hub-reports-uninstall-feedback-comments\\n    />\\n    <modal.body>\\n      <IcTable\\n        @data={{this.report.report.comments}}\\n        @columns={{array\\n          (hash label=\\\"User comment\\\" valuePath=\\\"comment\\\" width=\\\"60%\\\")\\n          (hash label=\\\"Workspace id\\\" valuePath=\\\"worskpace\\\")\\n          (hash label=\\\"Date\\\" valuePath=\\\"date\\\")\\n        }} as |table|\\n      >\\n      <table.rows as |row|>\\n        <row.cell @valuePath=\\\"comment\\\">\\n          {{row.data.comment}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"worskpace\\\">\\n          {{row.data.workspace_id}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"date\\\">\\n          {{moment-format row.data.date \\\"MMM D, YYYY\\\"}}\\n        </row.cell>\\n      </table.rows>\\n      </IcTable>\\n    </modal.body>\\n    <modal.footer\\n      @primaryButton={{hash label=\\\"Close\\\" action=this.closeModal}}\\n    />\\n  </IcModal>\\n\\n</div>\\n\", {\"contents\":\"<div\\n  {{did-update (perform this.fetchReport) @range}}\\n  class=\\\"developer-hub__reports__uninstall-feedbacks__table\\\"\\n  data-test-developer-hub-reports-uninstall-feedback\\n>\\n  <div class=\\\"flex flex-col pt-4\\\">\\n    <Heading @size=\\\"2\\\">Typical reasons for uninstall</Heading>\\n    {{#if (not this.displayFeedback)}}\\n      <hr/>\\n      <Paragraph data-test-developer-hub-reports-uninstall-feedback-no-reasons-provided>\\n        <Text @styling=\\\"muted\\\">No reasons provided</Text>\\n      </Paragraph>\\n    {{/if}}\\n  </div>\\n\\n  {{#if this.displayFeedback}}\\n    <IcTable\\n      @data={{this.distributionData}}\\n      @columns={{array\\n        (hash label='' valuePath='name')\\n        (hash label='' valuePath='value')\\n      }}\\n      data-test-developer-hub-reports-uninstall-feedback-distribution\\n      as |table|\\n    >\\n      <table.rows as |row|>\\n        <row.cell @valuePath=\\\"name\\\">\\n          {{row.data.name}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"value\\\">\\n          {{row.data.value}}\\n        </row.cell>\\n      </table.rows>\\n    </IcTable>\\n\\n    {{#if (gt this.commentCount 0)}}\\n      <a {{on 'click' this.openModal}}>\\n        <Text\\n          @linkStyling=\\\"standalone\\\"\\n          class=\\\"pt-4 pl-1\\\"\\n          data-test-developer-hub-reports-uninstall-feedback-comments-link\\n        >\\n          See other {{this.commentCount}}\\n        </Text>\\n      </a>\\n    {{/if}}\\n  {{/if}}\\n\\n  <IcModal\\n    @onModalClose={{this.closeModal}}\\n    @width=\\\"m\\\"\\n    @isOpen={{this.showModal}} as |modal|\\n  >\\n    <modal.header\\n      @title=\\\"Other reasons for uninstall\\\"\\n      data-test-developer-hub-reports-uninstall-feedback-comments\\n    />\\n    <modal.body>\\n      <IcTable\\n        @data={{this.report.report.comments}}\\n        @columns={{array\\n          (hash label=\\\"User comment\\\" valuePath=\\\"comment\\\" width=\\\"60%\\\")\\n          (hash label=\\\"Workspace id\\\" valuePath=\\\"worskpace\\\")\\n          (hash label=\\\"Date\\\" valuePath=\\\"date\\\")\\n        }} as |table|\\n      >\\n      <table.rows as |row|>\\n        <row.cell @valuePath=\\\"comment\\\">\\n          {{row.data.comment}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"worskpace\\\">\\n          {{row.data.workspace_id}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"date\\\">\\n          {{moment-format row.data.date \\\"MMM D, YYYY\\\"}}\\n        </row.cell>\\n      </table.rows>\\n      </IcTable>\\n    </modal.body>\\n    <modal.footer\\n      @primaryButton={{hash label=\\\"Close\\\" action=this.closeModal}}\\n    />\\n  </IcModal>\\n\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/reports/uninstall-feedback.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/reports/uninstall-feedback.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { task } from 'ember-concurrency-decorators';\nimport { APP_PACKAGE_UNINSTALL_REASONS } from 'embercom/models/developer-hub/app-package/reports/uninstall-feedback';\n\nexport default class UninstallFeedback extends Component {\n  @service developerHub;\n  @service store;\n  @service intercomEventService;\n\n  @tracked report;\n  @tracked showModal = false;\n\n  constructor() {\n    super(...arguments);\n    this.fetchReport.perform();\n  }\n\n  get commentCount() {\n    if (!this.report) {\n      return false;\n    }\n    return this.report.report.comments.length;\n  }\n\n  get displayFeedback() {\n    if (!this.report) {\n      return false;\n    }\n\n    let eventsCount = Object.values(this.report.report.distribution).reduce(\n      (total, value) => total + value,\n    );\n\n    return eventsCount > 0;\n  }\n\n  get orderedKeys() {\n    return Object.keys(this.report.report.distribution)\n      .filter(key => key !== 'other')\n      .sort();\n  }\n\n  get distributionData() {\n    if (!this.report) {\n      return null;\n    }\n    let { distribution } = this.report.report;\n\n    return this.orderedKeys.map(function(key) {\n      return {\n        name: APP_PACKAGE_UNINSTALL_REASONS[key],\n        value: distribution[key],\n      };\n    });\n  }\n\n  @task\n  *fetchReport() {\n    let { id: appPackageId } = this.developerHub.appPackage;\n    let { start, end } = this.args.range;\n    this.report = yield this.store.queryRecord(\n      'developer-hub/app-package/reports/uninstall-feedback',\n      {\n        appPackageId,\n        start,\n        end,\n      },\n    );\n  }\n\n  @action\n  openModal() {\n    this.showModal = true;\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'detailed_feedback_modal',\n      action: 'opened',\n    });\n  }\n\n  @action\n  closeModal() {\n    this.showModal = false;\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'detailed_feedback_modal',\n      action: 'closed',\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col flex-1 gap-2\\\" data-test-developer-hub-reports-uninstalls-chart>\\n  <Reporting::FetchReport\\n    @query={{this.query}}\\n    @debugName={{this.query.debug_name}}\\n    @range={{@range}}\\n    @filters={{this.filters}}\\n    as |report|\\n  >\\n    <Reporting::Chart::Bar\\n      @title=\\\"Uninstalls\\\"\\n      @range={{@range}}\\n      @signal={{report}}\\n      @size=\\\"small\\\"\\n      @improvementDirection=\\\"decreasing\\\"\\n      @color=\\\"vis-salmon-40\\\"\\n    />\\n  </Reporting::FetchReport>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col flex-1 gap-2\\\" data-test-developer-hub-reports-uninstalls-chart>\\n  <Reporting::FetchReport\\n    @query={{this.query}}\\n    @debugName={{this.query.debug_name}}\\n    @range={{@range}}\\n    @filters={{this.filters}}\\n    as |report|\\n  >\\n    <Reporting::Chart::Bar\\n      @title=\\\"Uninstalls\\\"\\n      @range={{@range}}\\n      @signal={{report}}\\n      @size=\\\"small\\\"\\n      @improvementDirection=\\\"decreasing\\\"\\n      @color=\\\"vis-salmon-40\\\"\\n    />\\n  </Reporting::FetchReport>\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/reports/uninstalls-chart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/reports/uninstalls-chart.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { APP_PACKAGE_INSTALL_STATUS_CHANGED_EVENTS } from 'embercom/lib/reporting/queries';\n\nexport default class UninstallsChart extends Component {\n  @service developerHub;\n  query = APP_PACKAGE_INSTALL_STATUS_CHANGED_EVENTS;\n\n  get filters() {\n    return {\n      'app_package.id': this.developerHub.appPackage.id,\n      'state.id': 'UNINSTALLED',\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{ic-interface-icon icon solo=true}}\\n{{#if privateAppWithDraftPendingListing}}\\n  <span data-test-app-package-review-private-app-with-draft-pending-listing>\\n    To list your app in the App Store you'll need to <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.review\\\">submit it for a review</LinkTo>.\\n  </span>\\n{{else if inDraftWithPendingChanges}}\\n  <span data-test-app-package-review-state-draft-pending-changes>\\n    You’ve made changes to your app. You’ll need to <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.review\\\">submit your app for a review</LinkTo> to get them applied.\\n  </span>\\n{{else if privateAppWithDraftUsingOauth}}\\n  <span data-test-app-package-review-state-private-app-with-oauth>\\n    To access other people's Intercom data by using OAuth you’ll need to <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.review\\\">submit your app for a review </LinkTo>.\\n  </span>\\n{{else if inReviewState}}\\n  <span data-test-app-package-review-state-in-review>\\n    Your application is being <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.review\\\">reviewed by Intercom</LinkTo>. We'll get back to you within 14 days.\\n  </span>\\n{{else if actionRequiredState}}\\n  <span data-test-app-package-review-state-action-required>\\n    There is an issue with <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.review\\\">{{appPackage.name}} application</LinkTo>. Please fix it and submit for review again.\\n  </span>\\n{{else if approvedPrivateListingState}}\\n  <span data-test-app-package-review-state-approved-private>\\n    Your app is approved and <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.app-store-listing\\\">ready to be listed</LinkTo>.\\n  </span>\\n{{else if approvedState}}\\n  <span data-test-app-package-review-state-approved>\\n    Your app has been approved.\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{ic-interface-icon icon solo=true}}\\n{{#if privateAppWithDraftPendingListing}}\\n  <span data-test-app-package-review-private-app-with-draft-pending-listing>\\n    To list your app in the App Store you'll need to <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.review\\\">submit it for a review</LinkTo>.\\n  </span>\\n{{else if inDraftWithPendingChanges}}\\n  <span data-test-app-package-review-state-draft-pending-changes>\\n    You’ve made changes to your app. You’ll need to <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.review\\\">submit your app for a review</LinkTo> to get them applied.\\n  </span>\\n{{else if privateAppWithDraftUsingOauth}}\\n  <span data-test-app-package-review-state-private-app-with-oauth>\\n    To access other people's Intercom data by using OAuth you’ll need to <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.review\\\">submit your app for a review </LinkTo>.\\n  </span>\\n{{else if inReviewState}}\\n  <span data-test-app-package-review-state-in-review>\\n    Your application is being <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.review\\\">reviewed by Intercom</LinkTo>. We'll get back to you within 14 days.\\n  </span>\\n{{else if actionRequiredState}}\\n  <span data-test-app-package-review-state-action-required>\\n    There is an issue with <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.review\\\">{{appPackage.name}} application</LinkTo>. Please fix it and submit for review again.\\n  </span>\\n{{else if approvedPrivateListingState}}\\n  <span data-test-app-package-review-state-approved-private>\\n    Your app is approved and <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.app-store-listing\\\">ready to be listed</LinkTo>.\\n  </span>\\n{{else if approvedState}}\\n  <span data-test-app-package-review-state-approved>\\n    Your app has been approved.\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/review-state.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/review-state.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { and, equal, readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  developerHub: service(),\n  appPackage: readOnly('developerHub.appPackage'),\n  draftState: equal('appPackage.changeRequest.state', 'draft'),\n  inReviewState: equal('appPackage.changeRequest.state', 'in_review'),\n  actionRequiredState: equal('appPackage.changeRequest.state', 'action_required'),\n  approvedState: equal('appPackage.changeRequest.state', 'approved'),\n  privateListingApp: equal('appPackage.appStoreListing.publiclyAvailable', false),\n  approvedPrivateListingState: and('approvedState', 'privateListingApp'),\n  privateAppWithDraftPendingListing: and(\n    'appPackage.isPrivateApp',\n    'draftState',\n    'developerHub.appStoreListingHasChanges',\n  ),\n  inDraftWithPendingChanges: and('draftState', 'developerHub.appPackageHasChanges'),\n  privateAppWithDraftUsingOauth: and(\n    'appPackage.isPrivateApp',\n    'draftState',\n    'appPackage.oauthClient.useOAuthFlow',\n  ),\n\n  classNames: ['u__centered-text-block', 'banner'],\n\n  classNameBindings: ['bannerOptionClass'],\n\n  bannerOptionClass: computed(\n    'inDraftWithPendingChanges',\n    'privateAppWithDraftPendingListing',\n    'inReviewState',\n    'actionRequiredState',\n    'approvedPrivateListingState',\n    'approvedState',\n    function() {\n      if (\n        this.inDraftWithPendingChanges ||\n        this.privateAppWithDraftPendingListing ||\n        this.inReviewState ||\n        this.privateAppWithDraftUsingOauth\n      ) {\n        return 'o__warning';\n      } else if (this.actionRequiredState) {\n        return 'o__error';\n      } else if (this.approvedPrivateListingState || this.approvedState) {\n        return 'o__confirmation';\n      }\n      return '';\n    },\n  ),\n\n  icon: computed(\n    'inDraftWithPendingChanges',\n    'privateAppWithDraftPendingListing',\n    'inReviewState',\n    'actionRequiredState',\n    'approvedPrivateListingState',\n    'approvedState',\n    function() {\n      if (\n        this.inDraftWithPendingChanges ||\n        this.privateAppWithDraftPendingListing ||\n        this.inReviewState ||\n        this.privateAppWithDraftUsingOauth\n      ) {\n        return 'alert';\n      } else if (this.actionRequiredState) {\n        return 'error';\n      } else if (this.approvedPrivateListingState || this.approvedState) {\n        return 'check';\n      }\n      return '';\n    },\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if publicAppWithoutPendingChanges}}\\n  <IcBanner data-test-app-package-review-warning @type=\\\"warning\\\">\\n    <b>\\n      If you make any changes they'll need to be reviewed by Intercom before they get applied.\\n    </b>\\n  </IcBanner>\\n  <div class=\\\"h-2\\\"></div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if publicAppWithoutPendingChanges}}\\n  <IcBanner data-test-app-package-review-warning @type=\\\"warning\\\">\\n    <b>\\n      If you make any changes they'll need to be reviewed by Intercom before they get applied.\\n    </b>\\n  </IcBanner>\\n  <div class=\\\"h-2\\\"></div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/review-warning.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/review-warning.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { and, not, readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  developerHub: service(),\n  appPackage: readOnly('developerHub.appPackage'),\n  noPendingChanges: not('developerHub.appPackageHasChanges'),\n  publicAppWithoutPendingChanges: and('appPackage.isPublicApp', 'noPendingChanges'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n\\n{{#if this.showHealthCheckUrlBanner}}\\n  <div class=\\\"mb-4\\\">\\n    <IcBanner data-test-app-package-health-check-warning @type=\\\"warning\\\">\\n      Your app does not have a\\n      <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.customer-workspaces\\\">Health check URL</LinkTo>\\n      in place. Add one to avoid teammates to churn from using your app.\\n    </IcBanner>\\n  </div>\\n{{/if}}\\n\\n{{#if this.actionRequired}}\\n  <DeveloperHub::AppPackage::Review::Feedback\\n    @notes={{@appPackage.changeRequest.feedbackNotes}}\\n  />\\n{{/if}}\\n\\n{{#if this.shouldShowTabs}}\\n  <div\\n    class=\\\"tabs__discrete-tab__container u__mb__20 u__padl__0 u__padr__0 u__padb__30\\\"\\n    data-test-app-package-view-tabs\\n  >\\n    <a\\n      class=\\\"tabs__discrete-tab u__padt__0 {{if this.showApplication \\\"o__selected\\\"}}\\\"\\n      data-test-review-changes-tab=\\\"application\\\"\\n      {{on 'click' (set this.showApplication true)}}\\n    >\\n      Submit for review\\n    </a>\\n    <a\\n      class=\\\"tabs__discrete-tab u__padt__0 {{unless this.showApplication \\\"o__selected\\\"}}\\\"\\n      data-test-review-changes-tab=\\\"changes\\\"\\n      {{on 'click' (set this.showApplication false)}}\\n    >\\n      Review changes\\n    </a>\\n  </div>\\n{{/if}}\\n{{#if this.showApplication}}\\n  <DeveloperHub::AppPackage::FormLayout\\n    data-test-review-changes-details-tab as |layout|\\n  >\\n    <layout.description>\\n      You will need to submit your public Intercom app for review by our team before you can make changes that will impact other Intercom customers. It usually takes a couple of working days to review your changes.\\n    </layout.description>\\n    <layout.divider />\\n    <layout.group\\n      data-test-app-package-description\\n      @label=\\\"App description\\\"\\n      @description=\\\"Tell us about your app and how it will work with Intercom\\\"\\n      @errors={{@appPackage.changeRequest.descriptionErrors}}\\n    >\\n      <Textarea\\n        @type=\\\"text\\\"\\n        @attribute={{true}}\\n        @value={{@appPackage.changeRequest.description}}\\n        class=\\\"f__text {{if @appPackage.changeRequest.descriptionErrors 'o__error'}}\\\"\\n        placeholder=\\\"Short description of your app\\\"\\n        data-test-review-description-input={{true}}\\n      />\\n    </layout.group>\\n    <layout.inputGroup\\n      data-test-review-video-input={{true}}\\n      @valid={{@appPackage.changeRequest.hasValidVideoUrl}}\\n      @label=\\\"End to end video\\\"\\n      @description=\\\"To help us understand how your app works, add a link to a video showing the end to end experience from integrating to usage.\\\"\\n      @placeholder=\\\"www.video.com\\\"\\n      @value={{@appPackage.changeRequest.videoUrl}}\\n      @errors={{this.videoUrlError}}\\n    />\\n  </DeveloperHub::AppPackage::FormLayout>\\n{{else}}\\n  <div data-test-review-changes-diff-tab>\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"Basic info\\\"\\n      @appPackageCapability={{@appPackage}}\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig}}\\n    />\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"Authentication\\\"\\n      @appPackageCapability={{@appPackage.oauthClient}}\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig.oauthClient}}\\n    />\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"Canvas Kit – For users, leads and visitors\\\"\\n      @appPackageCapability={{@appPackage.messengerApp}}\\n      @appPackageCapabilityClass=\\\"developer-hub/messenger-app\\\"\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig.messengerApp}}\\n    />\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"Canvas Kit – For teammates\\\"\\n      @appPackageCapability={{@appPackage.inboxApp}}\\n      @appPackageCapabilityClass=\\\"developer-hub/inbox-app\\\"\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig.inboxApp}}\\n    />\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"App Store\\\"\\n      @appPackageCapability={{@appPackage.appStoreListing}}\\n      @appPackageCapabilityClass=\\\"developer-hub/app-store-listing\\\"\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig.appStoreListing}}\\n    />\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"Start guide\\\"\\n      @appPackageCapability={{@appPackage.startingGuide}}\\n      @appPackageCapabilityClass=\\\"developer-hub/starting-guide\\\"\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig.startingGuide}}\\n    />\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n\\n{{#if this.showHealthCheckUrlBanner}}\\n  <div class=\\\"mb-4\\\">\\n    <IcBanner data-test-app-package-health-check-warning @type=\\\"warning\\\">\\n      Your app does not have a\\n      <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.customer-workspaces\\\">Health check URL</LinkTo>\\n      in place. Add one to avoid teammates to churn from using your app.\\n    </IcBanner>\\n  </div>\\n{{/if}}\\n\\n{{#if this.actionRequired}}\\n  <DeveloperHub::AppPackage::Review::Feedback\\n    @notes={{@appPackage.changeRequest.feedbackNotes}}\\n  />\\n{{/if}}\\n\\n{{#if this.shouldShowTabs}}\\n  <div\\n    class=\\\"tabs__discrete-tab__container u__mb__20 u__padl__0 u__padr__0 u__padb__30\\\"\\n    data-test-app-package-view-tabs\\n  >\\n    <a\\n      class=\\\"tabs__discrete-tab u__padt__0 {{if this.showApplication \\\"o__selected\\\"}}\\\"\\n      data-test-review-changes-tab=\\\"application\\\"\\n      {{on 'click' (set this.showApplication true)}}\\n    >\\n      Submit for review\\n    </a>\\n    <a\\n      class=\\\"tabs__discrete-tab u__padt__0 {{unless this.showApplication \\\"o__selected\\\"}}\\\"\\n      data-test-review-changes-tab=\\\"changes\\\"\\n      {{on 'click' (set this.showApplication false)}}\\n    >\\n      Review changes\\n    </a>\\n  </div>\\n{{/if}}\\n{{#if this.showApplication}}\\n  <DeveloperHub::AppPackage::FormLayout\\n    data-test-review-changes-details-tab as |layout|\\n  >\\n    <layout.description>\\n      You will need to submit your public Intercom app for review by our team before you can make changes that will impact other Intercom customers. It usually takes a couple of working days to review your changes.\\n    </layout.description>\\n    <layout.divider />\\n    <layout.group\\n      data-test-app-package-description\\n      @label=\\\"App description\\\"\\n      @description=\\\"Tell us about your app and how it will work with Intercom\\\"\\n      @errors={{@appPackage.changeRequest.descriptionErrors}}\\n    >\\n      <Textarea\\n        @type=\\\"text\\\"\\n        @attribute={{true}}\\n        @value={{@appPackage.changeRequest.description}}\\n        class=\\\"f__text {{if @appPackage.changeRequest.descriptionErrors 'o__error'}}\\\"\\n        placeholder=\\\"Short description of your app\\\"\\n        data-test-review-description-input={{true}}\\n      />\\n    </layout.group>\\n    <layout.inputGroup\\n      data-test-review-video-input={{true}}\\n      @valid={{@appPackage.changeRequest.hasValidVideoUrl}}\\n      @label=\\\"End to end video\\\"\\n      @description=\\\"To help us understand how your app works, add a link to a video showing the end to end experience from integrating to usage.\\\"\\n      @placeholder=\\\"www.video.com\\\"\\n      @value={{@appPackage.changeRequest.videoUrl}}\\n      @errors={{this.videoUrlError}}\\n    />\\n  </DeveloperHub::AppPackage::FormLayout>\\n{{else}}\\n  <div data-test-review-changes-diff-tab>\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"Basic info\\\"\\n      @appPackageCapability={{@appPackage}}\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig}}\\n    />\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"Authentication\\\"\\n      @appPackageCapability={{@appPackage.oauthClient}}\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig.oauthClient}}\\n    />\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"Canvas Kit – For users, leads and visitors\\\"\\n      @appPackageCapability={{@appPackage.messengerApp}}\\n      @appPackageCapabilityClass=\\\"developer-hub/messenger-app\\\"\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig.messengerApp}}\\n    />\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"Canvas Kit – For teammates\\\"\\n      @appPackageCapability={{@appPackage.inboxApp}}\\n      @appPackageCapabilityClass=\\\"developer-hub/inbox-app\\\"\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig.inboxApp}}\\n    />\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"App Store\\\"\\n      @appPackageCapability={{@appPackage.appStoreListing}}\\n      @appPackageCapabilityClass=\\\"developer-hub/app-store-listing\\\"\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig.appStoreListing}}\\n    />\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"Start guide\\\"\\n      @appPackageCapability={{@appPackage.startingGuide}}\\n      @appPackageCapabilityClass=\\\"developer-hub/starting-guide\\\"\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig.startingGuide}}\\n    />\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/review/edit.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/review/edit.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport reviewStateMachine from 'embercom/lib/developer-hub/review-state-machine';\nimport { isBlank } from '@ember/utils';\n\nexport default class Edit extends Component {\n  @service developerHub;\n  @service appService;\n  @tracked showApplication = true;\n\n  get videoUrlError() {\n    if (this.developerHub.isPublicApp && !this.developerHub.oauthClientHasChanges) {\n      return '';\n    } else {\n      return this.args.appPackage.changeRequest.videoUrlErrors;\n    }\n  }\n\n  get shouldShowTabs() {\n    let { displayChangeDiff } = reviewStateMachine(this.args.appPackage);\n    return displayChangeDiff;\n  }\n\n  get actionRequired() {\n    return this.args.appPackage.changeRequest.state === 'action_required';\n  }\n\n  get showHealthCheckUrlBanner() {\n    return isBlank(this.args.appPackage.changeRequest.appPackageConfig.healthCheckUrl);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if notes}}\\n  <div class=\\\"developer-hub__feedback-notes\\\" data-test-developer-feedback-notes>\\n    <div class=\\\"developer-hub__feedback-notes__error u__padb__5\\\">\\n      Feedback from Intercom\\n    </div>\\n    Please fix this issue and submit for review again:\\n    <ul class=\\\"developer-hub__feedback-notes__list\\\">\\n      <li data-test-developer-hub-feedback-note>\\n        {{lastNote}}\\n      </li>\\n    </ul>\\n  </div>\\n  <layout.divider />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if notes}}\\n  <div class=\\\"developer-hub__feedback-notes\\\" data-test-developer-feedback-notes>\\n    <div class=\\\"developer-hub__feedback-notes__error u__padb__5\\\">\\n      Feedback from Intercom\\n    </div>\\n    Please fix this issue and submit for review again:\\n    <ul class=\\\"developer-hub__feedback-notes__list\\\">\\n      <li data-test-developer-hub-feedback-note>\\n        {{lastNote}}\\n      </li>\\n    </ul>\\n  </div>\\n  <layout.divider />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/review/feedback.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/review/feedback.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  lastNote: readOnly('notes.lastObject'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcBanner @type=\\\"help\\\">\\n  <p data-test-review-no-oauth-help-banner>\\n    You'll need to submit your app for review by us before your app can be installed on workspaces outside of your own. Get started by <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.oauth\\\">configuring OAuth</LinkTo>.\\n  </p>\\n</IcBanner>\\n\", {\"contents\":\"<IcBanner @type=\\\"help\\\">\\n  <p data-test-review-no-oauth-help-banner>\\n    You'll need to submit your app for review by us before your app can be installed on workspaces outside of your own. Get started by <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.oauth\\\">configuring OAuth</LinkTo>.\\n  </p>\\n</IcBanner>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/review/no-oauth.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/review/no-oauth.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasChanges}}\\n  <div class=\\\"u__mb__30\\\">\\n    <h3 class=\\\"t__h2\\\" data-test-review-changes-list-cabability-name>\\n      {{appPackageCapabilityName}}\\n    </h3>\\n    {{!-- template-lint-disable intercom/no-custom-table --}}\\n    <IcLegacyTable\\n      data-test-review-changes-list-table\\n      @columns={{columns}}\\n      @rows={{rows}}\\n      @inline={{true}}\\n      @height=\\\"auto\\\"\\n    />\\n    {{!-- template-lint-enable intercom/no-custom-table --}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasChanges}}\\n  <div class=\\\"u__mb__30\\\">\\n    <h3 class=\\\"t__h2\\\" data-test-review-changes-list-cabability-name>\\n      {{appPackageCapabilityName}}\\n    </h3>\\n    {{!-- template-lint-disable intercom/no-custom-table --}}\\n    <IcLegacyTable\\n      data-test-review-changes-list-table\\n      @columns={{columns}}\\n      @rows={{rows}}\\n      @inline={{true}}\\n      @height=\\\"auto\\\"\\n    />\\n    {{!-- template-lint-enable intercom/no-custom-table --}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/review/review-changes-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/review/review-changes-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { notEmpty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  store: service(),\n  columns: [\n    {\n      label: 'Change',\n      valueComponent: 'developer-hub/app-package/review/review-changes/change',\n    },\n    {\n      label: 'Setting',\n      valueComponent: 'developer-hub/app-package/review/review-changes/setting',\n    },\n    {\n      label: 'Value',\n      valueComponent: 'developer-hub/app-package/review/review-changes/value',\n    },\n  ],\n  rows: computed('appPackageCapability', function() {\n    let apCapability = this.appPackageCapability;\n    let apCapabilityConfig = this.appPackageCapabilityConfig;\n\n    if (!apCapability && apCapabilityConfig) {\n      apCapability = this.store.createFragment(this.appPackageCapabilityClass);\n    } else if (!apCapability && !apCapabilityConfig) {\n      return;\n    }\n\n    return apCapability.compareWith(apCapabilityConfig);\n  }),\n  hasChanges: notEmpty('rows'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"developer-hub__app-package-grid__container\\\"\\n  data-test-screenshots-grid-container\\n>\\n  <div\\n    class=\\\"developer-hub__app-package-grid__item__review__icon\\\"\\n    data-test-screenshots-grid-item\\n  >\\n    <a href={{newValue}} target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">\\n      <img src=\\\"{{newValue}}\\\" alt />\\n    </a>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"developer-hub__app-package-grid__container\\\"\\n  data-test-screenshots-grid-container\\n>\\n  <div\\n    class=\\\"developer-hub__app-package-grid__item__review__icon\\\"\\n    data-test-screenshots-grid-item\\n  >\\n    <a href={{newValue}} target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">\\n      <img src=\\\"{{newValue}}\\\" alt />\\n    </a>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/review/review-changes/app-icon-value.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/review/review-changes/app-icon-value.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-review-changes-list-table-change>\\n  {{#if row.isAdded}}\\n    <span class=\\\"developer-hub__app-package-review__add\\\">\\n      {{ic-interface-icon \\\"follow\\\" color=\\\"green\\\"}} Added\\n    </span>\\n  {{else if row.isRemoved}}\\n    <span class=\\\"developer-hub__app-package-review__remove\\\">\\n      {{ic-interface-icon \\\"remove\\\" color=\\\"red\\\"}} Removed\\n    </span>\\n  {{else}}\\n    <span class=\\\"developer-hub__app-package-review__change\\\">\\n      {{ic-interface-icon \\\"edit\\\" color=\\\"yellow-dark\\\"}} Changed\\n    </span>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-review-changes-list-table-change>\\n  {{#if row.isAdded}}\\n    <span class=\\\"developer-hub__app-package-review__add\\\">\\n      {{ic-interface-icon \\\"follow\\\" color=\\\"green\\\"}} Added\\n    </span>\\n  {{else if row.isRemoved}}\\n    <span class=\\\"developer-hub__app-package-review__remove\\\">\\n      {{ic-interface-icon \\\"remove\\\" color=\\\"red\\\"}} Removed\\n    </span>\\n  {{else}}\\n    <span class=\\\"developer-hub__app-package-review__change\\\">\\n      {{ic-interface-icon \\\"edit\\\" color=\\\"yellow-dark\\\"}} Changed\\n    </span>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/review/review-changes/change.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/review/review-changes/change.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each newValue as |redirectUrl|}}\\n  <p>\\n    {{redirectUrl}}\\n  </p>\\n{{/each}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each newValue as |redirectUrl|}}\\n  <p>\\n    {{redirectUrl}}\\n  </p>\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/review/review-changes/oauth-redirect-urls.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/review/review-changes/oauth-redirect-urls.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each changedOauthScopes as |oauthScope|}}\\n  <div\\n    class=\\\"flex items-start developer-hub__app-package-permissions__item\\\"\\n    data-test-developer-hub-app-package-scope\\n  >\\n    <div class=\\\"u__mr__10\\\">\\n      <div class=\\\"text-green\\\" data-test-developer-hub-app-scope-exists>\\n        {{ic-interface-icon \\\"check\\\" solo=true}}\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box\\\">\\n      <p>\\n        {{oauthScope.name}}\\n      </p>\\n      <p class=\\\"t__light-text\\\">\\n        {{oauthScope.description}}\\n      </p>\\n    </div>\\n  </div>\\n{{/each}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each changedOauthScopes as |oauthScope|}}\\n  <div\\n    class=\\\"flex items-start developer-hub__app-package-permissions__item\\\"\\n    data-test-developer-hub-app-package-scope\\n  >\\n    <div class=\\\"u__mr__10\\\">\\n      <div class=\\\"text-green\\\" data-test-developer-hub-app-scope-exists>\\n        {{ic-interface-icon \\\"check\\\" solo=true}}\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box\\\">\\n      <p>\\n        {{oauthScope.name}}\\n      </p>\\n      <p class=\\\"t__light-text\\\">\\n        {{oauthScope.description}}\\n      </p>\\n    </div>\\n  </div>\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/review/review-changes/oauth-scopes.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/review/review-changes/oauth-scopes.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { alias } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  developerHub: service(),\n  oauthScopes: alias('developerHub.oauthScopes'),\n  changedOauthScopes: computed('newValue', 'oauthScopes', function() {\n    return this.newValue.map(oauthScope => {\n      return this.oauthScopes.findBy('id', oauthScope);\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"u__restore-breaks\\\"\\n  data-test-review-changes-list-table-pricing-model\\n>\\n  {{pricingModelName}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"u__restore-breaks\\\"\\n  data-test-review-changes-list-table-pricing-model\\n>\\n  {{pricingModelName}}\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/review/review-changes/pricing-model.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/review/review-changes/pricing-model.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport { getPricingModelData } from 'embercom/lib/developer-hub/pricing-models';\n\nexport default Component.extend({\n  pricingModel: computed('newValue', function() {\n    return getPricingModelData(this.newValue);\n  }),\n  pricingModelName: ternaryToProperty('pricingModel', 'pricingModel.name', 'newValue'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"u__restore-breaks\\\"\\n  data-test-review-changes-list-table-value-renderable-block\\n>\\n  {{render-blocks newValue}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"u__restore-breaks\\\"\\n  data-test-review-changes-list-table-value-renderable-block\\n>\\n  {{render-blocks newValue}}\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/review/review-changes/renderable-blocks-value.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/review/review-changes/renderable-blocks-value.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"developer-hub__review__starting-guide-renderer\\\">\\n  <DeveloperHub::AppPackage::Review::ReviewChanges::RenderableBlocksValue\\n    @newValue={{@newValue}}\\n  />\\n</div>\\n\", {\"contents\":\"<div class=\\\"developer-hub__review__starting-guide-renderer\\\">\\n  <DeveloperHub::AppPackage::Review::ReviewChanges::RenderableBlocksValue\\n    @newValue={{@newValue}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/review/review-changes/renderable-starting-guide-blocks-value.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/review/review-changes/renderable-starting-guide-blocks-value.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"developer-hub__app-package-grid__container\\\"\\n  data-test-screenshots-grid-container\\n>\\n  {{#each newValue as |imageUrl|}}\\n    <div\\n      class=\\\"developer-hub__app-package-grid__item__review\\\"\\n      data-test-screenshots-grid-item\\n    >\\n      <a href={{imageUrl}} target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">\\n        <img src=\\\"{{imageUrl}}\\\" alt />\\n      </a>\\n    </div>\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"developer-hub__app-package-grid__container\\\"\\n  data-test-screenshots-grid-container\\n>\\n  {{#each newValue as |imageUrl|}}\\n    <div\\n      class=\\\"developer-hub__app-package-grid__item__review\\\"\\n      data-test-screenshots-grid-item\\n    >\\n      <a href={{imageUrl}} target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">\\n        <img src=\\\"{{imageUrl}}\\\" alt />\\n      </a>\\n    </div>\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/review/review-changes/screenshots-list-value.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/review/review-changes/screenshots-list-value.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-review-changes-list-table-setting>\\n  {{#if row.humanisedName}}\\n    {{row.humanisedName}}\\n  {{else}}\\n    {{capitalize row.name}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-review-changes-list-table-setting>\\n  {{#if row.humanisedName}}\\n    {{row.humanisedName}}\\n  {{else}}\\n    {{capitalize row.name}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/review/review-changes/setting.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/review/review-changes/setting.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__restore-breaks\\\" data-test-review-changes-list-table-value>\\n  {{#if (eq row.type \\\"array\\\")}}\\n    {{#if row.renderingComponentPath}}\\n      {{component row.renderingComponentPath newValue=row.newValue details=row}}\\n    {{else}}\\n      <div>\\n        {{#each row.newValue as |newValue|}}\\n          <div data-test-review-changes-list-table-array-value>\\n            {{newValue}}\\n          </div>\\n        {{/each}}\\n      </div>\\n    {{/if}}\\n  {{else}}\\n    {{#if row.renderingComponentPath}}\\n      {{component row.renderingComponentPath newValue=row.newValue details=row}}\\n    {{else}}\\n      {{row.newValue}}\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__restore-breaks\\\" data-test-review-changes-list-table-value>\\n  {{#if (eq row.type \\\"array\\\")}}\\n    {{#if row.renderingComponentPath}}\\n      {{component row.renderingComponentPath newValue=row.newValue details=row}}\\n    {{else}}\\n      <div>\\n        {{#each row.newValue as |newValue|}}\\n          <div data-test-review-changes-list-table-array-value>\\n            {{newValue}}\\n          </div>\\n        {{/each}}\\n      </div>\\n    {{/if}}\\n  {{else}}\\n    {{#if row.renderingComponentPath}}\\n      {{component row.renderingComponentPath newValue=row.newValue details=row}}\\n    {{else}}\\n      {{row.newValue}}\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/review/review-changes/value.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/review/review-changes/value.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if details.isRemoved}}\\n  <DeveloperHub::AppPackage::AppStoreListing::Show::VideoEmbed\\n    data-test-review-changes-removed-video={{details.oldModel.videoEmbedUrl}}\\n    @videoEmbedUrl={{details.oldModel.videoEmbedUrl}}\\n  />\\n{{else}}\\n  <DeveloperHub::AppPackage::AppStoreListing::Show::VideoEmbed\\n    data-test-review-changes-added-video={{details.newModel.videoEmbedUrl}}\\n    @videoEmbedUrl={{details.newModel.videoEmbedUrl}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if details.isRemoved}}\\n  <DeveloperHub::AppPackage::AppStoreListing::Show::VideoEmbed\\n    data-test-review-changes-removed-video={{details.oldModel.videoEmbedUrl}}\\n    @videoEmbedUrl={{details.oldModel.videoEmbedUrl}}\\n  />\\n{{else}}\\n  <DeveloperHub::AppPackage::AppStoreListing::Show::VideoEmbed\\n    data-test-review-changes-added-video={{details.newModel.videoEmbedUrl}}\\n    @videoEmbedUrl={{details.newModel.videoEmbedUrl}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/review/review-changes/video-id-value.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/review/review-changes/video-id-value.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{#if this.shouldShowTabs}}\\n  <div\\n    class=\\\"tabs__discrete-tab__container u__mb__20 u__padl__0 u__padr__0 u__padb__30\\\"\\n    data-test-app-package-view-tabs\\n  >\\n    <a\\n      class=\\\"tabs__discrete-tab u__padt__0 {{if this.showApplication \\\"o__selected\\\"}}\\\"\\n      data-test-review-changes-tab=\\\"application\\\"\\n      {{on 'click' (set this.showApplication true)}}\\n    >\\n      Submit for review\\n    </a>\\n    <a\\n      class=\\\"tabs__discrete-tab u__padt__0 {{unless this.showApplication \\\"o__selected\\\"}}\\\"\\n      data-test-review-changes-tab=\\\"changes\\\"\\n      {{on 'click' (set this.showApplication false)}}\\n    >\\n      Review changes\\n    </a>\\n  </div>\\n{{/if}}\\n{{#if this.showApplication}}\\n  <DeveloperHub::AppPackage::FormLayout\\n    data-test-review-changes-details-tab as |layout|\\n  >\\n    <layout.group\\n      data-test-app-package-description\\n      @label=\\\"App description\\\"\\n      @item={{@appPackage.changeRequest.description}}\\n    />\\n    {{#if @appPackage.changeRequest.videoUrl}}\\n      <layout.group\\n        data-test-app-package-video\\n        @label=\\\"End to end video\\\"\\n        @item={{@appPackage.changeRequest.videoUrl}}\\n      />\\n    {{/if}}\\n  </DeveloperHub::AppPackage::FormLayout>\\n{{else}}\\n  <div data-test-review-changes-diff-tab>\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"Basic info\\\"\\n      @appPackageCapability={{@appPackage}}\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig}}\\n    />\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"Authentication\\\"\\n      @appPackageCapability={{@appPackage.oauthClient}}\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig.oauthClient\\n      }}\\n    />\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"Messenger\\\"\\n      @appPackageCapability={{@appPackage.messengerApp}}\\n      @appPackageCapabilityClass=\\\"developer-hub/messenger-app\\\"\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig.messengerApp\\n      }}\\n    />\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"Inbox\\\"\\n      @appPackageCapability={{@appPackage.inboxApp}}\\n      @appPackageCapabilityClass=\\\"developer-hub/inbox-app\\\"\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig.inboxApp\\n      }}\\n    />\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"App Store\\\"\\n      @appPackageCapability={{@appPackage.appStoreListing}}\\n      @appPackageCapabilityClass=\\\"developer-hub/app-store-listing\\\"\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig.appStoreListing\\n      }}\\n    />\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"Start guide\\\"\\n      @appPackageCapability={{@appPackage.startingGuide}}\\n      @appPackageCapabilityClass=\\\"developer-hub/starting-guide\\\"\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig.startingGuide}}\\n    />\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{#if this.shouldShowTabs}}\\n  <div\\n    class=\\\"tabs__discrete-tab__container u__mb__20 u__padl__0 u__padr__0 u__padb__30\\\"\\n    data-test-app-package-view-tabs\\n  >\\n    <a\\n      class=\\\"tabs__discrete-tab u__padt__0 {{if this.showApplication \\\"o__selected\\\"}}\\\"\\n      data-test-review-changes-tab=\\\"application\\\"\\n      {{on 'click' (set this.showApplication true)}}\\n    >\\n      Submit for review\\n    </a>\\n    <a\\n      class=\\\"tabs__discrete-tab u__padt__0 {{unless this.showApplication \\\"o__selected\\\"}}\\\"\\n      data-test-review-changes-tab=\\\"changes\\\"\\n      {{on 'click' (set this.showApplication false)}}\\n    >\\n      Review changes\\n    </a>\\n  </div>\\n{{/if}}\\n{{#if this.showApplication}}\\n  <DeveloperHub::AppPackage::FormLayout\\n    data-test-review-changes-details-tab as |layout|\\n  >\\n    <layout.group\\n      data-test-app-package-description\\n      @label=\\\"App description\\\"\\n      @item={{@appPackage.changeRequest.description}}\\n    />\\n    {{#if @appPackage.changeRequest.videoUrl}}\\n      <layout.group\\n        data-test-app-package-video\\n        @label=\\\"End to end video\\\"\\n        @item={{@appPackage.changeRequest.videoUrl}}\\n      />\\n    {{/if}}\\n  </DeveloperHub::AppPackage::FormLayout>\\n{{else}}\\n  <div data-test-review-changes-diff-tab>\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"Basic info\\\"\\n      @appPackageCapability={{@appPackage}}\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig}}\\n    />\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"Authentication\\\"\\n      @appPackageCapability={{@appPackage.oauthClient}}\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig.oauthClient\\n      }}\\n    />\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"Messenger\\\"\\n      @appPackageCapability={{@appPackage.messengerApp}}\\n      @appPackageCapabilityClass=\\\"developer-hub/messenger-app\\\"\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig.messengerApp\\n      }}\\n    />\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"Inbox\\\"\\n      @appPackageCapability={{@appPackage.inboxApp}}\\n      @appPackageCapabilityClass=\\\"developer-hub/inbox-app\\\"\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig.inboxApp\\n      }}\\n    />\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"App Store\\\"\\n      @appPackageCapability={{@appPackage.appStoreListing}}\\n      @appPackageCapabilityClass=\\\"developer-hub/app-store-listing\\\"\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig.appStoreListing\\n      }}\\n    />\\n    <DeveloperHub::AppPackage::Review::ReviewChangesList\\n      @appPackageCapabilityName=\\\"Start guide\\\"\\n      @appPackageCapability={{@appPackage.startingGuide}}\\n      @appPackageCapabilityClass=\\\"developer-hub/starting-guide\\\"\\n      @appPackageCapabilityConfig={{@appPackage.changeRequest.appPackageConfig.startingGuide}}\\n    />\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/review/show.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/review/show.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport reviewStateMachine from 'embercom/lib/developer-hub/review-state-machine';\n\nexport default class Show extends Component {\n  @tracked showApplication = true;\n\n  get shouldShowTabs() {\n    let { displayChangeDiff } = reviewStateMachine(this.args.appPackage);\n    return displayChangeDiff;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"submenu__header flex items-center\\\">\\n  {{#if appPackage.iconUrl}}\\n    <img\\n      src=\\\"{{appPackage.iconUrl}}\\\"\\n      class=\\\"developer-hub__app-package__header-icon u__mr__10\\\"\\n      data-test-developer-hub-app-package-icon\\n    />\\n  {{else}}\\n    <div data-test-developer-hub-appstore-icon>\\n      {{inline-svg\\n        \\\"developer-hub/app-package\\\"\\n        class=\\\"developer-hub__app-package__header-icon u__mr__10\\\"\\n      }}\\n    </div>\\n  {{/if}}\\n  <div\\n    class=\\\"flex-auto min-w-0 flex-initial truncate submenu__header__title\\\"\\n    data-test-developer-hub-app-package-name\\n    title=\\\"{{appPackage.name}}\\\"\\n  >\\n    {{appPackage.name}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"submenu__header flex items-center\\\">\\n  {{#if appPackage.iconUrl}}\\n    <img\\n      src=\\\"{{appPackage.iconUrl}}\\\"\\n      class=\\\"developer-hub__app-package__header-icon u__mr__10\\\"\\n      data-test-developer-hub-app-package-icon\\n    />\\n  {{else}}\\n    <div data-test-developer-hub-appstore-icon>\\n      {{inline-svg\\n        \\\"developer-hub/app-package\\\"\\n        class=\\\"developer-hub__app-package__header-icon u__mr__10\\\"\\n      }}\\n    </div>\\n  {{/if}}\\n  <div\\n    class=\\\"flex-auto min-w-0 flex-initial truncate submenu__header__title\\\"\\n    data-test-developer-hub-app-package-name\\n    title=\\\"{{appPackage.name}}\\\"\\n  >\\n    {{appPackage.name}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/submenu-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/submenu-header.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<SubmenuComponent as |submenu|>\\n  <DeveloperHub::AppPackage::SubmenuHeader @appPackage={{@appPackage}} />\\n  <submenu.sections as |sections|>\\n    <sections.section @isOpen={{this.isOnConfigure}} as |section|>\\n      <section.title\\n        @title=\\\"Configure\\\"\\n        @onClick={{fn this.transitionToRoute \\\"apps.app.developer-hub.app-packages.app-package.basic-info\\\"}}\\n        data-test-submenu-section-configure\\n      />\\n      <section.items data-test-section-items-configure={{true}}>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.basic-info\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Basic information\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.oauth\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Authentication\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.canvas-kit\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Canvas Kit\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.webhooks\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Webhooks\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    <sections.section @isOpen={{this.isOnPublish}} as |section|>\\n      <section.title\\n        @title=\\\"Test and publish\\\"\\n        @onClick={{fn this.transitionToRoute \\\"apps.app.developer-hub.app-packages.app-package.workspaces\\\"}}\\n        data-test-submenu-section-publish\\n      />\\n      <section.items data-test-section-items-publish={{true}}>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.workspaces\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Your workspaces\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.app-store-listing\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          App Store listing\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.getting-started-guide\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-section-items-getting-started-guide\\n        >\\n          Start guide\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.customer-workspaces\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-section-items-customer-workspaces\\n        >\\n          Installation status\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.review\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Submit for a review\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n\\n    <sections.section @isOpen={{this.isOnReports}} as |section|>\\n      <section.title data-test-submenu-section-reports>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.reports.installs-and-uninstalls\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n        >\\n          Reports\\n          <SubmenuSectionsSectionTitleArrow @isOpen={{this.isOnReports}}/>\\n        </LinkTo>\\n      </section.title>\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.reports.installs-and-uninstalls\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-submenu-section-items-installs-uninstalls\\n        >\\n          Installs and uninstalls\\n        </LinkTo>\\n        <LinkTo data-test-submenu-section-items-installation-events\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.reports.history-of-events\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          History of events\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n  </submenu.sections>\\n</SubmenuComponent>\\n\", {\"contents\":\"<SubmenuComponent as |submenu|>\\n  <DeveloperHub::AppPackage::SubmenuHeader @appPackage={{@appPackage}} />\\n  <submenu.sections as |sections|>\\n    <sections.section @isOpen={{this.isOnConfigure}} as |section|>\\n      <section.title\\n        @title=\\\"Configure\\\"\\n        @onClick={{fn this.transitionToRoute \\\"apps.app.developer-hub.app-packages.app-package.basic-info\\\"}}\\n        data-test-submenu-section-configure\\n      />\\n      <section.items data-test-section-items-configure={{true}}>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.basic-info\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Basic information\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.oauth\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Authentication\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.canvas-kit\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Canvas Kit\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.webhooks\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Webhooks\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    <sections.section @isOpen={{this.isOnPublish}} as |section|>\\n      <section.title\\n        @title=\\\"Test and publish\\\"\\n        @onClick={{fn this.transitionToRoute \\\"apps.app.developer-hub.app-packages.app-package.workspaces\\\"}}\\n        data-test-submenu-section-publish\\n      />\\n      <section.items data-test-section-items-publish={{true}}>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.workspaces\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Your workspaces\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.app-store-listing\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          App Store listing\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.getting-started-guide\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-section-items-getting-started-guide\\n        >\\n          Start guide\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.customer-workspaces\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-section-items-customer-workspaces\\n        >\\n          Installation status\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.review\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Submit for a review\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n\\n    <sections.section @isOpen={{this.isOnReports}} as |section|>\\n      <section.title data-test-submenu-section-reports>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.reports.installs-and-uninstalls\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n        >\\n          Reports\\n          <SubmenuSectionsSectionTitleArrow @isOpen={{this.isOnReports}}/>\\n        </LinkTo>\\n      </section.title>\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.reports.installs-and-uninstalls\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-submenu-section-items-installs-uninstalls\\n        >\\n          Installs and uninstalls\\n        </LinkTo>\\n        <LinkTo data-test-submenu-section-items-installation-events\\n          @route=\\\"apps.app.developer-hub.app-packages.app-package.reports.history-of-events\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          History of events\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n  </submenu.sections>\\n</SubmenuComponent>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/submenu.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/submenu.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class Submenu extends Component {\n  @service developerHub;\n  @service appService;\n  @service router;\n\n  get isOnConfigure() {\n    let { isOnBasicInfo, isOnAuthentication, isOnCanvasKit, isOnWebhooks } = this.developerHub;\n    return isOnBasicInfo || isOnAuthentication || isOnCanvasKit || isOnWebhooks;\n  }\n\n  get isOnPublish() {\n    let {\n      isOnReview,\n      isOnWorkspaces,\n      isOnAppStoreListing,\n      isOnGettingStartedGuide,\n      isOnCustomerWorkspaces,\n    } = this.developerHub;\n\n    return (\n      isOnReview ||\n      isOnWorkspaces ||\n      isOnAppStoreListing ||\n      isOnGettingStartedGuide ||\n      isOnCustomerWorkspaces\n    );\n  }\n\n  get isOnReports() {\n    return this.developerHub.isOnReports;\n  }\n\n  @action transitionToRoute(route) {\n    this.router.transitionTo(route);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"f__group\\\">\\n  <h2 class=\\\"t__h2\\\">\\n    {{title}}\\n  </h2>\\n  <p class=\\\"t__light-text\\\">\\n    {{yield}}\\n  </p>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"f__group\\\">\\n  <h2 class=\\\"t__h2\\\">\\n    {{title}}\\n  </h2>\\n  <p class=\\\"t__light-text\\\">\\n    {{yield}}\\n  </p>\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/subtitle-descriptor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/subtitle-descriptor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::FormLayout as |layout|>\\n  <layout.group>\\n    <layout.description>\\n      <p class=\\\"u__mb__10\\\">\\n        Your app can be notified of real time events happening in Intercom workspaces where your app is installed.\\n      </p>\\n      <p>\\n        For example, your app can be notified when a conversation is created, opened or closed.\\n      </p>\\n      <p>\\n        App webhook subscriptions are managed by Intercom and will be automatically added/removed as your app is installed/uninstalled on a workspace.\\n      </p>\\n    </layout.description>\\n  </layout.group>\\n  <layout.divider />\\n  {{#if isInEditMode}}\\n    <layout.inputGroup\\n      @label=\\\"Your request endpoint URL\\\"\\n      @description=\\\"A HTTP POST request will be sent to this URL for every topic that you set up.\\\"\\n      @placeholder=\\\"https://\\\"\\n      @value={{webhookDefinition.url}}\\n      @errors={{webhookDefinition.urlErrors}}\\n      data-test-webhook-url-edit={{true}}\\n    />\\n  {{else}}\\n    <layout.group\\n      @label=\\\"Your request endpoint URL\\\"\\n      @description=\\\"A HTTP POST request will be sent to this URL for every topic that you set up.\\\"\\n      @item={{webhookDefinition.url}}\\n      data-test-webhook-url={{true}}\\n    />\\n    <IcButton\\n      @label=\\\"Send a test request\\\"\\n      @onClick={{perform sendPing}}\\n      @type=\\\"secondary\\\"\\n      data-test-ping-webhook-button={{true}}\\n    />\\n  {{/if}}\\n  <layout.divider />\\n  <layout.title @text=\\\"Webhook topics\\\">\\n    <layout.description>\\n      <p>\\n        Topics are types of notifications that your app can subscribe to.\\n      </p>\\n      <br />\\n      <p>\\n        Your app can subscribe to topics corresponding to\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://developers.intercom.com/building-apps/docs/setting-up-oauth#section-permissions\\\"\\n          @title=\\\"permissions\\\"\\n          @type=\\\"developer\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n        you selected.\\n      </p>\\n      <p>\\n        If your app is public, users will have to authorize the required\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://developers.intercom.com/building-apps/docs/setting-up-oauth#section-permissions\\\"\\n          @title=\\\"permissions\\\"\\n          @type=\\\"developer\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n        when they install your app before you will start receiving notifications from them.</p>\\n      <p>\\n        When you change your topics Intercom will automatically update subscriptions on all workspaces that installed your app.\\n      </p>\\n    </layout.description>\\n  </layout.title>\\n  <layout.group>\\n    <DeveloperHub::AppPackage::Webhooks::TableDropdownContainer\\n      @topics={{topics}}\\n      @webhookDefinition={{webhookDefinition}}\\n      @isInEditMode={{isInEditMode}}\\n    />\\n  </layout.group>\\n</DeveloperHub::AppPackage::FormLayout>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<DeveloperHub::AppPackage::FormLayout as |layout|>\\n  <layout.group>\\n    <layout.description>\\n      <p class=\\\"u__mb__10\\\">\\n        Your app can be notified of real time events happening in Intercom workspaces where your app is installed.\\n      </p>\\n      <p>\\n        For example, your app can be notified when a conversation is created, opened or closed.\\n      </p>\\n      <p>\\n        App webhook subscriptions are managed by Intercom and will be automatically added/removed as your app is installed/uninstalled on a workspace.\\n      </p>\\n    </layout.description>\\n  </layout.group>\\n  <layout.divider />\\n  {{#if isInEditMode}}\\n    <layout.inputGroup\\n      @label=\\\"Your request endpoint URL\\\"\\n      @description=\\\"A HTTP POST request will be sent to this URL for every topic that you set up.\\\"\\n      @placeholder=\\\"https://\\\"\\n      @value={{webhookDefinition.url}}\\n      @errors={{webhookDefinition.urlErrors}}\\n      data-test-webhook-url-edit={{true}}\\n    />\\n  {{else}}\\n    <layout.group\\n      @label=\\\"Your request endpoint URL\\\"\\n      @description=\\\"A HTTP POST request will be sent to this URL for every topic that you set up.\\\"\\n      @item={{webhookDefinition.url}}\\n      data-test-webhook-url={{true}}\\n    />\\n    <IcButton\\n      @label=\\\"Send a test request\\\"\\n      @onClick={{perform sendPing}}\\n      @type=\\\"secondary\\\"\\n      data-test-ping-webhook-button={{true}}\\n    />\\n  {{/if}}\\n  <layout.divider />\\n  <layout.title @text=\\\"Webhook topics\\\">\\n    <layout.description>\\n      <p>\\n        Topics are types of notifications that your app can subscribe to.\\n      </p>\\n      <br />\\n      <p>\\n        Your app can subscribe to topics corresponding to\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://developers.intercom.com/building-apps/docs/setting-up-oauth#section-permissions\\\"\\n          @title=\\\"permissions\\\"\\n          @type=\\\"developer\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n        you selected.\\n      </p>\\n      <p>\\n        If your app is public, users will have to authorize the required\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://developers.intercom.com/building-apps/docs/setting-up-oauth#section-permissions\\\"\\n          @title=\\\"permissions\\\"\\n          @type=\\\"developer\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n        when they install your app before you will start receiving notifications from them.</p>\\n      <p>\\n        When you change your topics Intercom will automatically update subscriptions on all workspaces that installed your app.\\n      </p>\\n    </layout.description>\\n  </layout.title>\\n  <layout.group>\\n    <DeveloperHub::AppPackage::Webhooks::TableDropdownContainer\\n      @topics={{topics}}\\n      @webhookDefinition={{webhookDefinition}}\\n      @isInEditMode={{isInEditMode}}\\n    />\\n  </layout.group>\\n</DeveloperHub::AppPackage::FormLayout>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/webhooks.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/webhooks.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  isInEditMode: false,\n  webhookDefinition: null,\n  topics: null,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isInEditMode}}\\n  <DeveloperHub::AppPackage::Webhooks::TopicsDropdown\\n    @dropdownTopics={{dropdownTopics}}\\n    @selectDropdownValue={{action \\\"selectDropdownValue\\\"}}\\n  />\\n{{/if}}\\n<br />\\n{{#if webhookDefinition.topics}}\\n  <DeveloperHub::AppPackage::Webhooks::TopicsTable\\n    @webhookDefinition={{webhookDefinition}}\\n    @rows={{activeTopics}}\\n    @removeTopic={{action \\\"removeTopic\\\"}}\\n    @isInEditMode={{isInEditMode}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isInEditMode}}\\n  <DeveloperHub::AppPackage::Webhooks::TopicsDropdown\\n    @dropdownTopics={{dropdownTopics}}\\n    @selectDropdownValue={{action \\\"selectDropdownValue\\\"}}\\n  />\\n{{/if}}\\n<br />\\n{{#if webhookDefinition.topics}}\\n  <DeveloperHub::AppPackage::Webhooks::TopicsTable\\n    @webhookDefinition={{webhookDefinition}}\\n    @rows={{activeTopics}}\\n    @removeTopic={{action \\\"removeTopic\\\"}}\\n    @isInEditMode={{isInEditMode}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/webhooks/table-dropdown-container.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/webhooks/table-dropdown-container.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport { alias, readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  store: service(),\n  activeTopics: alias('webhookDefinition.topicObjects'),\n  developerHub: service(),\n  appPackage: readOnly('developerHub.appPackage'),\n  addAnalyticsEvent(topic) {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'app_package',\n      app_package_id: this.appPackage.id,\n      action: 'selected_topic',\n      topic,\n    });\n  },\n\n  dropdownTopics: computed('topics.[]', 'webhookDefinition.topics.[]', function() {\n    let processedTopic = this.topics.map(topic => {\n      let isTopicSelected = this.get('webhookDefinition.topics').includes(topic.get('id'));\n      return {\n        text: topic.get('id'),\n        description: topic.get('name'),\n        isDisabled: isTopicSelected,\n        isSelected: isTopicSelected,\n      };\n    });\n    return [{ hasItemsMarkableAsSelected: true, isFilterable: true, items: processedTopic }];\n  }),\n\n  actions: {\n    selectDropdownValue(topic) {\n      let oldTopicArray = this.get('webhookDefinition.topics');\n      this.set('webhookDefinition.topics', [...oldTopicArray, topic.text]);\n      this.addAnalyticsEvent(topic.text);\n    },\n\n    removeTopic(tableTopic) {\n      let oldTopicArray = this.get('webhookDefinition.topics').reject(topic => {\n        return topic === tableTopic.get('id');\n      });\n      this.set('webhookDefinition.topics', oldTopicArray);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcButton\\n  @subtle={{true}}\\n  @icon=\\\"close\\\"\\n  @type=\\\"secondary-destructive\\\"\\n  @onClick={{action tableActions.delete row}}\\n  data-test-webhook-topic-delete={{true}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcButton\\n  @subtle={{true}}\\n  @icon=\\\"close\\\"\\n  @type=\\\"secondary-destructive\\\"\\n  @onClick={{action tableActions.delete row}}\\n  data-test-webhook-topic-delete={{true}}\\n/>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/webhooks/table/delete-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/webhooks/table/delete-row.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"t__light-text\\\">\\n  {{row.name}}\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"t__light-text\\\">\\n  {{row.name}}\\n</span>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/webhooks/table/description.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/webhooks/table/description.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip @isInteractive={{true}} as |context|>\\n  <context.opener>\\n    <div class=\\\"developer-hub__workspace-list__access-token flex-initial truncate developer-hub__app-package-review__change\\\">\\n      {{ic-interface-icon \\\"alert\\\" color=\\\"red\\\"}}\\n    </div>\\n  </context.opener>\\n  <context.content>\\n    <span>\\n      These permissions haven't been configured in your app's <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.oauth\\\">authentication</LinkTo> settings.\\n    </span>\\n  </context.content>\\n</IcTooltip>\\n\", {\"contents\":\"<IcTooltip @isInteractive={{true}} as |context|>\\n  <context.opener>\\n    <div class=\\\"developer-hub__workspace-list__access-token flex-initial truncate developer-hub__app-package-review__change\\\">\\n      {{ic-interface-icon \\\"alert\\\" color=\\\"red\\\"}}\\n    </div>\\n  </context.opener>\\n  <context.content>\\n    <span>\\n      These permissions haven't been configured in your app's <LinkTo @route=\\\"apps.app.developer-hub.app-packages.app-package.oauth\\\">authentication</LinkTo> settings.\\n    </span>\\n  </context.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/webhooks/table/missing-permissions-warning.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/webhooks/table/missing-permissions-warning.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  tagName: 'span',\n  classNames: ['o__centers-vertically', 'layout__box'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns\\\">\\n  {{#if row.missingRequiredScopes}}\\n    <DeveloperHub::AppPackage::Webhooks::Table::MissingPermissionsWarning\\n      data-test-webhooks-missing-permissions={{true}}\\n    />\\n  {{/if}}\\n  <span>\\n    {{#each row.requiredScopes as |scope|}}\\n      <span class=\\\"t__light-text\\\">\\n        {{scope.name}}\\n      </span>\\n      <br />\\n    {{/each}}\\n  </span>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns\\\">\\n  {{#if row.missingRequiredScopes}}\\n    <DeveloperHub::AppPackage::Webhooks::Table::MissingPermissionsWarning\\n      data-test-webhooks-missing-permissions={{true}}\\n    />\\n  {{/if}}\\n  <span>\\n    {{#each row.requiredScopes as |scope|}}\\n      <span class=\\\"t__light-text\\\">\\n        {{scope.name}}\\n      </span>\\n      <br />\\n    {{/each}}\\n  </span>\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/webhooks/table/permissions.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/webhooks/table/permissions.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<b>\\n  {{row.id}}\\n</b>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<b>\\n  {{row.id}}\\n</b>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/webhooks/table/topic.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/webhooks/table/topic.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcDropdownOpener\\n  @groupList={{@dropdownTopics}}\\n  class=\\\"developer-hub__webhooks-topic-picker\\\"\\n  @mode=\\\"block\\\"\\n  @hasFilter={{true}}\\n  @filterPlaceholder=\\\"Search...\\\"\\n  @onSelectItem={{@selectDropdownValue}}\\n  @label=\\\"Select a topic...\\\"\\n  data-test-webhooks-dropdown={{true}}\\n/>\\n\", {\"contents\":\"<IcDropdownOpener\\n  @groupList={{@dropdownTopics}}\\n  class=\\\"developer-hub__webhooks-topic-picker\\\"\\n  @mode=\\\"block\\\"\\n  @hasFilter={{true}}\\n  @filterPlaceholder=\\\"Search...\\\"\\n  @onSelectItem={{@selectDropdownValue}}\\n  @label=\\\"Select a topic...\\\"\\n  data-test-webhooks-dropdown={{true}}\\n/>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/webhooks/topics-dropdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/webhooks/topics-dropdown.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<IcLegacyTable\\n  @columns={{columns}}\\n  @rows={{rows}}\\n  @height=\\\"auto\\\"\\n  @inline={{true}}\\n  @tableActions={{hash delete=removeTopic}}\\n  @isInEditMode={{isInEditMode}}\\n  data-test-webhooks-topic-legacy-table={{true}}\\n/>\\n{{!-- template-lint-enable intercom/no-custom-table --}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<IcLegacyTable\\n  @columns={{columns}}\\n  @rows={{rows}}\\n  @height=\\\"auto\\\"\\n  @inline={{true}}\\n  @tableActions={{hash delete=removeTopic}}\\n  @isInEditMode={{isInEditMode}}\\n  data-test-webhooks-topic-legacy-table={{true}}\\n/>\\n{{!-- template-lint-enable intercom/no-custom-table --}}\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/webhooks/topics-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/webhooks/topics-table.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  init() {\n    if (this.isInEditMode) {\n      let deleteButton = this.columns.find(item => {\n        return item.id === 'deleteButton';\n      });\n      if (deleteButton === undefined) {\n        this.columns.pushObject(this.deleteButton);\n      }\n    } else {\n      this.columns.removeObject(this.deleteButton);\n    }\n    this._super(...arguments);\n  },\n  columns: [\n    {\n      label: 'Topic',\n      canExpandToFit: true,\n      valueComponent: 'developer-hub/app-package/webhooks/table/topic',\n    },\n    {\n      label: 'Description',\n      canExpandToFit: true,\n      valueComponent: 'developer-hub/app-package/webhooks/table/description',\n    },\n    {\n      label: 'Works with permissions',\n      canExpandToFit: true,\n      valueComponent: 'developer-hub/app-package/webhooks/table/permissions',\n    },\n  ],\n  deleteButton: {\n    id: 'deleteButton',\n    canExpandToFit: false,\n    valueComponent: 'developer-hub/app-package/webhooks/table/delete-row',\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  data-test-developer-hub-workspace-access-token\\n  class=\\\"developer-hub__workspace-list__access-token\\\"\\n>\\n  {{#if (and row.installState row.accessToken)}}\\n    {{#if row.hasOutdatedScopes}}\\n      <DeveloperHub::AppPackage::Oauth::AccessToken::InvalidAccessTokenWarning\\n        data-test-invalid-access-token={{true}}\\n        @accessToken={{row.accessToken}}\\n      />\\n    {{else}}\\n      <DeveloperHub::AppPackage::Oauth::AccessToken::AccessTokenDisplay\\n        @accessToken={{row.accessToken}}\\n      />\\n    {{/if}}\\n  {{else}}\\n    -\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  data-test-developer-hub-workspace-access-token\\n  class=\\\"developer-hub__workspace-list__access-token\\\"\\n>\\n  {{#if (and row.installState row.accessToken)}}\\n    {{#if row.hasOutdatedScopes}}\\n      <DeveloperHub::AppPackage::Oauth::AccessToken::InvalidAccessTokenWarning\\n        data-test-invalid-access-token={{true}}\\n        @accessToken={{row.accessToken}}\\n      />\\n    {{else}}\\n      <DeveloperHub::AppPackage::Oauth::AccessToken::AccessTokenDisplay\\n        @accessToken={{row.accessToken}}\\n      />\\n    {{/if}}\\n  {{else}}\\n    -\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/workspaces/access-token.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/workspaces/access-token.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\">\\n  <div class=\\\"table__cell__measure__element layout__box o__has-columns u__right\\\">\\n    {{#if row.installState}}\\n      <DeveloperHub::AppPackage::Workspaces::RegenerateButton\\n        data-test-workspaces-uninstall-regenerate-button\\n        @row={{row}}\\n        @classNames=\\\"u__mr__20\\\"\\n      />\\n    {{/if}}\\n    <DeveloperHub::AppPackage::Workspaces::InstallButtons @row={{row}} />\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\">\\n  <div class=\\\"table__cell__measure__element layout__box o__has-columns u__right\\\">\\n    {{#if row.installState}}\\n      <DeveloperHub::AppPackage::Workspaces::RegenerateButton\\n        data-test-workspaces-uninstall-regenerate-button\\n        @row={{row}}\\n        @classNames=\\\"u__mr__20\\\"\\n      />\\n    {{/if}}\\n    <DeveloperHub::AppPackage::Workspaces::InstallButtons @row={{row}} />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/workspaces/action-buttons.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/workspaces/action-buttons.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if row.installState}}\\n  <div data-test-workspaces-uninstall-regenerate-button>\\n    <IcButton\\n      @type=\\\"secondary-destructive\\\"\\n      @label=\\\"Uninstall app\\\"\\n      @onClick={{action (mut showUninstallModal) true}}\\n      data-test-uninstall-app-package-button={{true}}\\n    />\\n  </div>\\n  {{#if showUninstallModal}}\\n    <Appstore::AppPackage::UninstallModal\\n      @app={{row.app}}\\n      @appPackage={{appPackage}}\\n      @isDevHub={{true}}\\n      @closeModal={{action (mut showUninstallModal) false}}\\n      @uninstall={{uninstallAppPackageTask}}\\n      data-test-app-package-uninstall-modal={{true}}\\n    />\\n  {{/if}}\\n{{else}}\\n  <div data-test-workspaces-install-button>\\n    <IcButton\\n      @type=\\\"secondary\\\"\\n      @label=\\\"Install app\\\"\\n      @onClick={{perform installAppPackageTask}}\\n      data-test-install-app-package-button={{true}}\\n    />\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if row.installState}}\\n  <div data-test-workspaces-uninstall-regenerate-button>\\n    <IcButton\\n      @type=\\\"secondary-destructive\\\"\\n      @label=\\\"Uninstall app\\\"\\n      @onClick={{action (mut showUninstallModal) true}}\\n      data-test-uninstall-app-package-button={{true}}\\n    />\\n  </div>\\n  {{#if showUninstallModal}}\\n    <Appstore::AppPackage::UninstallModal\\n      @app={{row.app}}\\n      @appPackage={{appPackage}}\\n      @isDevHub={{true}}\\n      @closeModal={{action (mut showUninstallModal) false}}\\n      @uninstall={{uninstallAppPackageTask}}\\n      data-test-app-package-uninstall-modal={{true}}\\n    />\\n  {{/if}}\\n{{else}}\\n  <div data-test-workspaces-install-button>\\n    <IcButton\\n      @type=\\\"secondary\\\"\\n      @label=\\\"Install app\\\"\\n      @onClick={{perform installAppPackageTask}}\\n      data-test-install-app-package-button={{true}}\\n    />\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/workspaces/install-buttons.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/workspaces/install-buttons.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  developerHub: service(),\n  appPackage: readOnly('developerHub.appPackage'),\n  appPackageInstall: readOnly('row'),\n  addAnalyticsEvent(action) {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'app_package',\n      target_workspace: this.get('appPackageInstall.appId'),\n      app_package_id: this.get('appPackage.id'),\n      app_metadata: this.get('appPackage.changeRequest'),\n      action,\n    });\n  },\n\n  installAppPackageTask: task(function*() {\n    try {\n      yield this.appPackageInstall.install();\n      this.addAnalyticsEvent('installed');\n      this.notificationsService.notifyConfirmation(\n        `${this.get('appPackage.name')} was successfully installed.`,\n      );\n    } catch (e) {\n      this.notificationsService.notifyError(\n        `There was a problem installing ${this.get('appPackage.name')}`,\n      );\n    }\n  }),\n  uninstallAppPackageTask: task(function*() {\n    try {\n      yield this.appPackageInstall.uninstall();\n      this.addAnalyticsEvent('uninstalled');\n      this.set('showUninstallModal', false);\n      this.notificationsService.notifyConfirmation(\n        `You have successfully uninstalled ${this.get('appPackage.name')}.`,\n      );\n    } catch (e) {\n      this.notificationsService.notifyError(\n        `There was a problem uninstalling ${this.get('appPackage.name')}`,\n      );\n    }\n  }).drop(),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcButton\\n  @type=\\\"secondary-destructive\\\"\\n  @label=\\\"Regenerate token\\\"\\n  @onClick={{perform regenerateAccessTokenTask}}\\n  data-test-regenerate-token-button={{true}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcButton\\n  @type=\\\"secondary-destructive\\\"\\n  @label=\\\"Regenerate token\\\"\\n  @onClick={{perform regenerateAccessTokenTask}}\\n  data-test-regenerate-token-button={{true}}\\n/>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/workspaces/regenerate-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/workspaces/regenerate-button.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { task } from 'ember-concurrency';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  developerHub: service(),\n  appPackage: readOnly('developerHub.appPackage'),\n  appPackageInstall: readOnly('row'),\n\n  addAnalyticsEvent(action) {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'app_package',\n      app_package_id: this.get('appPackage.id'),\n      app_metadata: this.get('appPackage.changeRequest'),\n      action,\n    });\n  },\n\n  regenerateAccessTokenTask: task(function*() {\n    let body = `Your existing token will be deleted. You’ll need to update your code with the new token.`;\n    if (this.get('appPackage.isProtectedAppPackage')) {\n      body = body.concat(\n        ' This is a protected app package. Regenerating the token could have unintended side effects',\n      );\n    }\n    yield intercomConfirm(this, {\n      title: 'Regenerate your token?',\n      confirmButtonText: 'Regenerate',\n      cancleButtonText: 'Cancel',\n      body,\n      primaryButtonType: 'primary-destructive',\n    });\n    try {\n      yield this.appPackageInstall.regenerateToken();\n      this.addAnalyticsEvent('regenerated');\n      this.notificationsService.notifyConfirmation(\n        'Your access token was successfully regenerated.',\n      );\n    } catch (e) {\n      this.notificationsService.notifyError('There was a problem regenerating your access token.');\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-start\\\" data-test-developer-hub-workspace-name>\\n  <a href=\\\"{{href-to \\\"apps.app\\\" row.app.id}}\\\" class=\\\"t__em-link__outer\\\">\\n    {{row.app.name}}\\n  </a>\\n  {{#if isOwner}}\\n    <div\\n      class=\\\"flex-auto min-w-0 u__padl__10\\\"\\n      data-test-developer-hub-workspace-owner-app\\n    >\\n      {{ic-stamp \\\"App owner\\\"}}\\n    </div>\\n  {{/if}}\\n  {{#if isProtectedWorkspace}}\\n    <div\\n      class=\\\"flex-initial truncate u__padl__10 text-red\\\"\\n      data-test-developer-hub-workspace-protected-app\\n    >\\n      Protected workspace be careful!\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-start\\\" data-test-developer-hub-workspace-name>\\n  <a href=\\\"{{href-to \\\"apps.app\\\" row.app.id}}\\\" class=\\\"t__em-link__outer\\\">\\n    {{row.app.name}}\\n  </a>\\n  {{#if isOwner}}\\n    <div\\n      class=\\\"flex-auto min-w-0 u__padl__10\\\"\\n      data-test-developer-hub-workspace-owner-app\\n    >\\n      {{ic-stamp \\\"App owner\\\"}}\\n    </div>\\n  {{/if}}\\n  {{#if isProtectedWorkspace}}\\n    <div\\n      class=\\\"flex-initial truncate u__padl__10 text-red\\\"\\n      data-test-developer-hub-workspace-protected-app\\n    >\\n      Protected workspace be careful!\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/workspaces/workspace.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/workspaces/workspace.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { containsByProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport { alias } from '@ember/object/computed';\nimport { computed } from '@ember/object';\n\nconst PROTECTED_WORKSPACE_IDS = ['cw4dqqot', 'tx2p130c'];\n\nexport default Component.extend({\n  appId: alias('row.app.id'),\n  ownerAppId: alias('row.appPackage.ownerAppId'),\n  appPackageId: alias('row.appPackage.id'),\n  protectedAppIds: PROTECTED_WORKSPACE_IDS,\n  isOwner: computed('appId', 'ownerAppId', function() {\n    return this.appId === this.ownerAppId;\n  }),\n  isInstalled: alias('row.installState'),\n  isProtectedWorkspace: containsByProperty('protectedAppIds', 'appId'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-developer-hub-workspaces-table>\\n  <IcLightTable\\n    @columns={{array\\n      (hash label=\\\"Workspace\\\" valuePath=\\\"app\\\")\\n      (hash label=\\\"Access token\\\" valuePath=\\\"accessToken\\\")\\n      (hash label=\\\"\\\" type=\\\"number\\\" valuePath=\\\"appPackage\\\")\\n    }}\\n    @data={{@appPackageInstalls}} as |table|\\n  >\\n    <table.rows as |row index|>\\n      <row.cell @valuePath=\\\"app\\\">\\n        <DeveloperHub::AppPackage::Workspaces::Workspace @row={{row.data}} />\\n      </row.cell>\\n      <row.cell @valuePath=\\\"accessToken\\\">\\n        <DeveloperHub::AppPackage::Workspaces::AccessToken @row={{row.data}} />\\n      </row.cell>\\n      <row.cell @valuePath=\\\"appPackage\\\">\\n        <DeveloperHub::AppPackage::Workspaces::ActionButtons\\n          @row={{row.data}}\\n        />\\n      </row.cell>\\n    </table.rows>\\n  </IcLightTable>\\n</div>\\n\", {\"contents\":\"<div data-test-developer-hub-workspaces-table>\\n  <IcLightTable\\n    @columns={{array\\n      (hash label=\\\"Workspace\\\" valuePath=\\\"app\\\")\\n      (hash label=\\\"Access token\\\" valuePath=\\\"accessToken\\\")\\n      (hash label=\\\"\\\" type=\\\"number\\\" valuePath=\\\"appPackage\\\")\\n    }}\\n    @data={{@appPackageInstalls}} as |table|\\n  >\\n    <table.rows as |row index|>\\n      <row.cell @valuePath=\\\"app\\\">\\n        <DeveloperHub::AppPackage::Workspaces::Workspace @row={{row.data}} />\\n      </row.cell>\\n      <row.cell @valuePath=\\\"accessToken\\\">\\n        <DeveloperHub::AppPackage::Workspaces::AccessToken @row={{row.data}} />\\n      </row.cell>\\n      <row.cell @valuePath=\\\"appPackage\\\">\\n        <DeveloperHub::AppPackage::Workspaces::ActionButtons\\n          @row={{row.data}}\\n        />\\n      </row.cell>\\n    </table.rows>\\n  </IcLightTable>\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/app-package/workspaces/workspaces-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/app-package/workspaces/workspaces-list.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showModal}}\\n  {{!-- template-lint-disable intercom/no-legacy-modal --}}\\n  <Common::ModalComponent\\n    @closeModal={{action \\\"rejectGuidelines\\\"}}\\n    as |modal|\\n  >\\n    <modal.components.header @title=\\\"Developer Guidelines\\\" />\\n    <modal.components.body data-test-developer-guidelines-modal={{true}}>\\n      <div class=\\\"t__light-text\\\">\\n        <div class=\\\"mb-1\\\">Before continuing {{appName}} must accept the following:</div>\\n        <ul>\\n          <li>\\n            <a\\n              class=\\\"t__em-link\\\"\\n              target=\\\"_blank\\\"\\n              rel=\\\"noopener noreferrer\\\"\\n              href=\\\"https://developers.intercom.com/page/intercom-developer-platform-guidelines\\\"\\n            >\\n              Intercom's Developer Guidelines\\n            </a>\\n          </li>\\n          <li>\\n            <a\\n              class=\\\"t__em-link\\\"\\n              target=\\\"_blank\\\"\\n              rel=\\\"noopener noreferrer\\\"\\n              href=\\\"https://www.intercom.com/terms-and-policies\\\"\\n            >\\n              Intercom's Terms of Service\\n            </a>\\n          </li>\\n          <li>\\n            <a\\n              class=\\\"t__em-link\\\"\\n              target=\\\"_blank\\\"\\n              rel=\\\"noopener noreferrer\\\"\\n              href=\\\"https://www.intercom.com/privacy\\\"\\n            >\\n              Intercom's Privacy Policy\\n            </a>\\n          </li>\\n        </ul>\\n        <div class=\\\"h-5\\\"></div>\\n      </div>\\n    </modal.components.body>\\n    <modal.components.footer as |footer|>\\n      <footer.mainButtons as |buttons|>\\n        <buttons.button\\n          @type=\\\"primary\\\"\\n          @label=\\\"Accept and Continue\\\"\\n          data-test-accept-button={{true}}\\n          @onClick={{perform acceptTermsTask}}\\n        />\\n      </footer.mainButtons>\\n    </modal.components.footer>\\n  </Common::ModalComponent>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showModal}}\\n  {{!-- template-lint-disable intercom/no-legacy-modal --}}\\n  <Common::ModalComponent\\n    @closeModal={{action \\\"rejectGuidelines\\\"}}\\n    as |modal|\\n  >\\n    <modal.components.header @title=\\\"Developer Guidelines\\\" />\\n    <modal.components.body data-test-developer-guidelines-modal={{true}}>\\n      <div class=\\\"t__light-text\\\">\\n        <div class=\\\"mb-1\\\">Before continuing {{appName}} must accept the following:</div>\\n        <ul>\\n          <li>\\n            <a\\n              class=\\\"t__em-link\\\"\\n              target=\\\"_blank\\\"\\n              rel=\\\"noopener noreferrer\\\"\\n              href=\\\"https://developers.intercom.com/page/intercom-developer-platform-guidelines\\\"\\n            >\\n              Intercom's Developer Guidelines\\n            </a>\\n          </li>\\n          <li>\\n            <a\\n              class=\\\"t__em-link\\\"\\n              target=\\\"_blank\\\"\\n              rel=\\\"noopener noreferrer\\\"\\n              href=\\\"https://www.intercom.com/terms-and-policies\\\"\\n            >\\n              Intercom's Terms of Service\\n            </a>\\n          </li>\\n          <li>\\n            <a\\n              class=\\\"t__em-link\\\"\\n              target=\\\"_blank\\\"\\n              rel=\\\"noopener noreferrer\\\"\\n              href=\\\"https://www.intercom.com/privacy\\\"\\n            >\\n              Intercom's Privacy Policy\\n            </a>\\n          </li>\\n        </ul>\\n        <div class=\\\"h-5\\\"></div>\\n      </div>\\n    </modal.components.body>\\n    <modal.components.footer as |footer|>\\n      <footer.mainButtons as |buttons|>\\n        <buttons.button\\n          @type=\\\"primary\\\"\\n          @label=\\\"Accept and Continue\\\"\\n          data-test-accept-button={{true}}\\n          @onClick={{perform acceptTermsTask}}\\n        />\\n      </footer.mainButtons>\\n    </modal.components.footer>\\n  </Common::ModalComponent>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/developer-hub/developer-guidelines.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/developer-guidelines.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport developerGuidelines from 'embercom/lib/developer-guidelines';\n\nexport default Component.extend({\n  notificationsService: service(),\n  appService: service(),\n  router: service(),\n  showModal: false,\n\n  app: readOnly('appService.app'),\n  appName: readOnly('app.name'),\n\n  init() {\n    this._super(...arguments);\n    this.needsAcceptanceTask.perform(task);\n  },\n\n  needsAcceptanceTask: task(function*() {\n    try {\n      yield developerGuidelines.needsAcceptance(this.get('app.id'));\n    } catch (e) {\n      if (e.jqXHR.status === 404) {\n        this.set('showModal', true);\n      }\n    }\n  }),\n\n  acceptTermsTask: task(function*() {\n    yield developerGuidelines.acceptGuidelines(this.get('app.id'));\n    this.set('showModal', false);\n  }),\n\n  actions: {\n    rejectGuidelines() {\n      this.router.transitionTo('apps.app');\n      this.set('showModal', false); // without this line the modal flickers when transitioning\n      this.notificationsService.notifyError(\n        'You need to accept the Developer Guidelines to continue',\n      );\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex items-start\\\">\\n  <div class=\\\"u__mr__10\\\" data-test-developer-hub-app-package-details>\\n    {{#if @row.iconUrl}}\\n      <img\\n        src=\\\"{{@row.iconUrl}}\\\"\\n        class=\\\"developer-hub__app-package-details__icon\\\"\\n        data-test-developer-hub-app-package-icon\\n      />\\n    {{else}}\\n      <div data-test-developer-hub-appstore-icon>\\n        {{inline-svg\\n          \\\"developer-hub/app-package\\\"\\n          class=\\\"developer-hub__app-package-details__icon\\\"\\n        }}\\n      </div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"layout__box developer-hub__workspace-list__access-token\\\">\\n    <a onclick={{this.redirectToApp}} class=\\\"t__em-link__outer\\\">\\n      {{@row.name}}\\n    </a>\\n    <p class=\\\"text-gray flex-initial truncate\\\">\\n      {{@row.description}}\\n    </p>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex items-start\\\">\\n  <div class=\\\"u__mr__10\\\" data-test-developer-hub-app-package-details>\\n    {{#if @row.iconUrl}}\\n      <img\\n        src=\\\"{{@row.iconUrl}}\\\"\\n        class=\\\"developer-hub__app-package-details__icon\\\"\\n        data-test-developer-hub-app-package-icon\\n      />\\n    {{else}}\\n      <div data-test-developer-hub-appstore-icon>\\n        {{inline-svg\\n          \\\"developer-hub/app-package\\\"\\n          class=\\\"developer-hub__app-package-details__icon\\\"\\n        }}\\n      </div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"layout__box developer-hub__workspace-list__access-token\\\">\\n    <a onclick={{this.redirectToApp}} class=\\\"t__em-link__outer\\\">\\n      {{@row.name}}\\n    </a>\\n    <p class=\\\"text-gray flex-initial truncate\\\">\\n      {{@row.description}}\\n    </p>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/listing/app-package-details.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/listing/app-package-details.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class AppPackageDetails extends Component {\n  @action\n  redirectToApp() {\n    let { id, ownerAppId } = this.args.row;\n    window.location.href = `/a/apps/${ownerAppId}/developer-hub/app-packages/${id}`;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if appPackages}}\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <IcLegacyTable\\n    data-test-developer-hub-apps-table\\n    @columns={{columns}}\\n    @rows={{rows}}\\n    @inline={{true}}\\n    @height=\\\"auto\\\"\\n    class=\\\"u__mb__20\\\"\\n  />\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <DeveloperHub::AppPackageNew @apps={{apps}} />\\n{{else}}\\n  <IcEmptyState\\n    data-test-empty-state\\n    @title=\\\"Get started building apps\\\"\\n    @description=\\\"Once you create an app you 'll be able to get an access token to use the API.\\\"\\n    @icon=\\\"app-store\\\"\\n  />\\n  <DeveloperHub::AppPackageNew\\n    class=\\\"layout__box o__has-rows u__center-layout\\\"\\n    @apps={{apps}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if appPackages}}\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <IcLegacyTable\\n    data-test-developer-hub-apps-table\\n    @columns={{columns}}\\n    @rows={{rows}}\\n    @inline={{true}}\\n    @height=\\\"auto\\\"\\n    class=\\\"u__mb__20\\\"\\n  />\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <DeveloperHub::AppPackageNew @apps={{apps}} />\\n{{else}}\\n  <IcEmptyState\\n    data-test-empty-state\\n    @title=\\\"Get started building apps\\\"\\n    @description=\\\"Once you create an app you 'll be able to get an access token to use the API.\\\"\\n    @icon=\\\"app-store\\\"\\n  />\\n  <DeveloperHub::AppPackageNew\\n    class=\\\"layout__box o__has-rows u__center-layout\\\"\\n    @apps={{apps}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/developer-hub/listing/app-package-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/listing/app-package-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  columns: [\n    {\n      label: 'App',\n      canExpandToFit: true,\n      valueComponent: 'developer-hub/listing/app-package-details',\n    },\n    {\n      label: 'Status',\n      canExpandToFit: true,\n      valueComponent: 'developer-hub/listing/app-package-state',\n    },\n    {\n      label: 'Workspace',\n      canExpandToFit: true,\n      valueComponent: 'developer-hub/listing/app-package-owner-app',\n    },\n  ],\n  rows: readOnly('appPackages'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-developer-hub-app-package-owner-app>\\n  <a href=\\\"{{href-to \\\"apps.app\\\" @row.ownerApp.id}}\\\" class=\\\"t__em-link__outer\\\">\\n    {{@row.ownerApp.name}}\\n  </a>\\n</div>\\n\", {\"contents\":\"<div data-test-developer-hub-app-package-owner-app>\\n  <a href=\\\"{{href-to \\\"apps.app\\\" @row.ownerApp.id}}\\\" class=\\\"t__em-link__outer\\\">\\n    {{@row.ownerApp.name}}\\n  </a>\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/listing/app-package-owner-app.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/listing/app-package-owner-app.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip\\n  @isInteractive={{true}}\\n  data-test-app-package-state-tooltip\\n  as |context|\\n>\\n  <context.opener>\\n    {{#if this.private}}\\n      <span data-test-app-package-state=\\\"private\\\">\\n        {{ic-stamp \\\"Private\\\"}}\\n      </span>\\n    {{else if this.published}}\\n      <span data-test-app-package-state=\\\"published\\\">\\n        {{ic-stamp \\\"Listed on App Store\\\"}}\\n      </span>\\n    {{else if this.public}}\\n      <span data-test-app-package-state=\\\"public\\\">\\n        {{ic-stamp \\\"Public, unlisted\\\"}}\\n      </span>\\n    {{/if}}\\n  </context.opener>\\n  <context.content data-test-app-package-state-tooltip-content>\\n    {{this.tooltipText}}\\n  </context.content>\\n</IcTooltip>\\n\", {\"contents\":\"<IcTooltip\\n  @isInteractive={{true}}\\n  data-test-app-package-state-tooltip\\n  as |context|\\n>\\n  <context.opener>\\n    {{#if this.private}}\\n      <span data-test-app-package-state=\\\"private\\\">\\n        {{ic-stamp \\\"Private\\\"}}\\n      </span>\\n    {{else if this.published}}\\n      <span data-test-app-package-state=\\\"published\\\">\\n        {{ic-stamp \\\"Listed on App Store\\\"}}\\n      </span>\\n    {{else if this.public}}\\n      <span data-test-app-package-state=\\\"public\\\">\\n        {{ic-stamp \\\"Public, unlisted\\\"}}\\n      </span>\\n    {{/if}}\\n  </context.opener>\\n  <context.content data-test-app-package-state-tooltip-content>\\n    {{this.tooltipText}}\\n  </context.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/developer-hub/listing/app-package-state.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/listing/app-package-state.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { and, equal, not, readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  publiclyAvailableListing: equal('row.appStoreListing.publiclyAvailable', true),\n  notPubliclyAvailableListing: not('publiclyAvailableListing'),\n\n  publicState: readOnly('row.isPublicApp'),\n\n  private: readOnly('row.isPrivateApp'),\n  public: and('publicState', 'notPubliclyAvailableListing'),\n  published: and('publicState', 'publiclyAvailableListing'),\n\n  publicTooltipText:\n    'This app can be installed by anyone via your OAuth flow, but it’s not listed on the App Store',\n  privateTooltipText: 'This app can only be used by your team on workspaces you own',\n  publishedTooltilText: 'This app is listed on the App Store and anyone can install it',\n  tooltipText: computed('public', 'private', 'published', function() {\n    if (this['public']) {\n      return this.publicTooltipText;\n    } else if (this.published) {\n      return this.publishedTooltilText;\n    } else if (this['private']) {\n      return this.privateTooltipText;\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Common::LegacyHeroBanner\\n  @title=\\\"Your apps\\\"\\n  @svg=\\\"developer-hub/app-package\\\"\\n  class=\\\"u__mb__20\\\"\\n>\\n  <p class=\\\"u__mb__15\\\">\\n    Build on the Intercom platform by creating apps. Apps can be just for your own team, or can be listed in the App Store for others to use too.\\n  </p>\\n</Common::LegacyHeroBanner>\\n\", {\"contents\":\"<Common::LegacyHeroBanner\\n  @title=\\\"Your apps\\\"\\n  @svg=\\\"developer-hub/app-package\\\"\\n  class=\\\"u__mb__20\\\"\\n>\\n  <p class=\\\"u__mb__15\\\">\\n    Build on the Intercom platform by creating apps. Apps can be just for your own team, or can be listed in the App Store for others to use too.\\n  </p>\\n</Common::LegacyHeroBanner>\\n\",\"moduleName\":\"embercom/components/developer-hub/listing/page-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/listing/page-header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"layout__box o__has-columns developer-hub__top-navigation-header__container\\\"\\n>\\n  <LinkTo\\n    @route=\\\"apps.app.developer-hub\\\"\\n    class=\\\"layout__box o__flexes-to-1 o__centers-vertically\\\"\\n  >\\n    <div class=\\\"developer-hub__top-navigation-header__icon\\\">\\n      {{inline-svg \\\"developer-hub/header-logo\\\"}}\\n    </div>\\n    <div\\n      class=\\\"developer-hub__top-navigation-header__text\\\"\\n      data-test-developer-hub-logo\\n    >\\n      Developer Hub\\n    </div>\\n  </LinkTo>\\n  <div class=\\\"layout__box o__has-columns u__right o__centers-all\\\">\\n    <a\\n      href=\\\"https://developers.intercom.com/building-apps/docs\\\"\\n      class=\\\"flex items-start developer-hub__top-navigation-header__link u__mr__40\\\"\\n    >\\n      Docs\\n    </a>\\n    <a\\n      href=\\\"https://www.intercom.com/app-store\\\"\\n      class=\\\"flex items-start developer-hub__top-navigation-header__link u__mr__40\\\"\\n    >\\n      App Store\\n    </a>\\n    <a\\n      href=\\\"https://community.intercom.com\\\"\\n      class=\\\"flex items-start developer-hub__top-navigation-header__link u__mr__40\\\"\\n    >\\n      Forum\\n    </a>\\n    <a\\n      href=\\\"https://medium.com/intercom-developers\\\"\\n      class=\\\"flex items-start developer-hub__top-navigation-header__link u__mr__40\\\"\\n    >\\n      Blog\\n    </a>\\n    <LinkTo\\n      @route=\\\"apps.app.developer-hub\\\"\\n      class=\\\"flex items-start developer-hub__top-navigation-header__link o__selected\\\"\\n    >\\n      Your apps\\n    </LinkTo>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"layout__box o__has-columns developer-hub__top-navigation-header__container\\\"\\n>\\n  <LinkTo\\n    @route=\\\"apps.app.developer-hub\\\"\\n    class=\\\"layout__box o__flexes-to-1 o__centers-vertically\\\"\\n  >\\n    <div class=\\\"developer-hub__top-navigation-header__icon\\\">\\n      {{inline-svg \\\"developer-hub/header-logo\\\"}}\\n    </div>\\n    <div\\n      class=\\\"developer-hub__top-navigation-header__text\\\"\\n      data-test-developer-hub-logo\\n    >\\n      Developer Hub\\n    </div>\\n  </LinkTo>\\n  <div class=\\\"layout__box o__has-columns u__right o__centers-all\\\">\\n    <a\\n      href=\\\"https://developers.intercom.com/building-apps/docs\\\"\\n      class=\\\"flex items-start developer-hub__top-navigation-header__link u__mr__40\\\"\\n    >\\n      Docs\\n    </a>\\n    <a\\n      href=\\\"https://www.intercom.com/app-store\\\"\\n      class=\\\"flex items-start developer-hub__top-navigation-header__link u__mr__40\\\"\\n    >\\n      App Store\\n    </a>\\n    <a\\n      href=\\\"https://community.intercom.com\\\"\\n      class=\\\"flex items-start developer-hub__top-navigation-header__link u__mr__40\\\"\\n    >\\n      Forum\\n    </a>\\n    <a\\n      href=\\\"https://medium.com/intercom-developers\\\"\\n      class=\\\"flex items-start developer-hub__top-navigation-header__link u__mr__40\\\"\\n    >\\n      Blog\\n    </a>\\n    <LinkTo\\n      @route=\\\"apps.app.developer-hub\\\"\\n      class=\\\"flex items-start developer-hub__top-navigation-header__link o__selected\\\"\\n    >\\n      Your apps\\n    </LinkTo>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/developer-hub/top-navigation-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/developer-hub/top-navigation-header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcButton\\n  @type=\\\"secondary\\\"\\n  @iconOnly={{true}}\\n  @inRightList={{true}}\\n  @jsBindingClass=\\\"js__displayed-attributes-toggle\\\"\\n  @forcedActive={{isOpen}}\\n>\\n  {{ic-interface-icon \\\"columns\\\" solo=true}}\\n  {{ic-interface-icon\\n    \\\"small-down-arrow\\\"\\n    solo=true\\n  }}\\n</IcButton>\\n{{#if isOpen}}\\n  <div class=\\\"overlay o__dropdown o__opened z__2 displayed_attribute_dropdown\\\">\\n    {{#each groupedDisplayableAttributes as |displayableAttributesGroup|}}\\n      <div class=\\\"dropdown__list-item\\\">\\n        <h3 class=\\\"t__label\\\">\\n          Displayed {{displayableAttributesGroup.type}} attributes\\n        </h3>\\n      </div>\\n      {{#each displayableAttributesGroup.list as |displayableAttribute|}}\\n        {{#if displayableAttribute.attribute.filterable}}\\n          {{#if displayableAttribute.attribute.requiredFilter}}\\n            <label class=\\\"dropdown__list-item t__light-text u__prevent-breaks\\\">\\n              <input type=\\\"checkbox\\\" checked disabled />\\n              {{ic-interface-icon displayableAttribute.attribute.icon}}\\n              <span class=\\\"m__display-attribute-selector__attribute-name\\\">\\n                <People::AttributeAndEventDescriptionTooltip\\n                  @attribute={{displayableAttribute.attribute}}\\n                  @hideIcon={{true}}\\n                />\\n              </span>\\n            </label>\\n          {{else}}\\n            <label\\n              class=\\\"dropdown__list-item o__hoverable u__prevent-breaks\\\"\\n              {{action \\\"toggleDisplayed\\\" displayableAttribute}}\\n            >\\n              {{#if isCompany}}\\n                <input\\n                  type=\\\"checkbox\\\"\\n                  checked={{displayableAttribute.isDisplayedOnCompanies}}\\n                />\\n              {{else}}\\n                <input\\n                  type=\\\"checkbox\\\"\\n                  checked={{displayableAttribute.isDisplayedOnUsers}}\\n                  {{action \\\"toggleDisplayed\\\" displayableAttribute}}\\n                />\\n              {{/if}}\\n              {{ic-interface-icon displayableAttribute.attribute.icon}}\\n              <span class=\\\"m__display-attribute-selector__attribute-name\\\">\\n                <People::AttributeAndEventDescriptionTooltip\\n                  @attribute={{displayableAttribute.attribute}}\\n                  @hideIcon={{true}}\\n                />\\n              </span>\\n            </label>\\n          {{/if}}\\n        {{/if}}\\n      {{/each}}\\n    {{/each}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcButton\\n  @type=\\\"secondary\\\"\\n  @iconOnly={{true}}\\n  @inRightList={{true}}\\n  @jsBindingClass=\\\"js__displayed-attributes-toggle\\\"\\n  @forcedActive={{isOpen}}\\n>\\n  {{ic-interface-icon \\\"columns\\\" solo=true}}\\n  {{ic-interface-icon\\n    \\\"small-down-arrow\\\"\\n    solo=true\\n  }}\\n</IcButton>\\n{{#if isOpen}}\\n  <div class=\\\"overlay o__dropdown o__opened z__2 displayed_attribute_dropdown\\\">\\n    {{#each groupedDisplayableAttributes as |displayableAttributesGroup|}}\\n      <div class=\\\"dropdown__list-item\\\">\\n        <h3 class=\\\"t__label\\\">\\n          Displayed {{displayableAttributesGroup.type}} attributes\\n        </h3>\\n      </div>\\n      {{#each displayableAttributesGroup.list as |displayableAttribute|}}\\n        {{#if displayableAttribute.attribute.filterable}}\\n          {{#if displayableAttribute.attribute.requiredFilter}}\\n            <label class=\\\"dropdown__list-item t__light-text u__prevent-breaks\\\">\\n              <input type=\\\"checkbox\\\" checked disabled />\\n              {{ic-interface-icon displayableAttribute.attribute.icon}}\\n              <span class=\\\"m__display-attribute-selector__attribute-name\\\">\\n                <People::AttributeAndEventDescriptionTooltip\\n                  @attribute={{displayableAttribute.attribute}}\\n                  @hideIcon={{true}}\\n                />\\n              </span>\\n            </label>\\n          {{else}}\\n            <label\\n              class=\\\"dropdown__list-item o__hoverable u__prevent-breaks\\\"\\n              {{action \\\"toggleDisplayed\\\" displayableAttribute}}\\n            >\\n              {{#if isCompany}}\\n                <input\\n                  type=\\\"checkbox\\\"\\n                  checked={{displayableAttribute.isDisplayedOnCompanies}}\\n                />\\n              {{else}}\\n                <input\\n                  type=\\\"checkbox\\\"\\n                  checked={{displayableAttribute.isDisplayedOnUsers}}\\n                  {{action \\\"toggleDisplayed\\\" displayableAttribute}}\\n                />\\n              {{/if}}\\n              {{ic-interface-icon displayableAttribute.attribute.icon}}\\n              <span class=\\\"m__display-attribute-selector__attribute-name\\\">\\n                <People::AttributeAndEventDescriptionTooltip\\n                  @attribute={{displayableAttribute.attribute}}\\n                  @hideIcon={{true}}\\n                />\\n              </span>\\n            </label>\\n          {{/if}}\\n        {{/if}}\\n      {{/each}}\\n    {{/each}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/displayed-attributes-dropdown-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/displayed-attributes-dropdown-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\n// eslint-disable-next-line @intercom/intercom/no-legacy-dropdown\nimport ComponentDropdownToggler from 'embercom/components/mixins/component-dropdown-toggler';\nimport { findBy, ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\n\nlet DisplayedAttributesDropdownComponent = Component.extend(ComponentDropdownToggler, {\n  store: service(),\n  tagName: 'span',\n  toggleSelector: '.js__displayed-attributes-toggle',\n  classNameBindings: [':u__relative', ':u__left'],\n  preventDropdownToggleFromWithin: true,\n  attributeSettings: readOnly('attributeService.attributeSettings'),\n  displayableUserAttributes: readOnly('attributeService.allUserAttributes'),\n  displayableCompanyAttributes: readOnly('attributeService.allCompanyAttributes'),\n  showCompanyAttributes: readOnly('app.companiesActive'),\n\n  lastRequestAtAttribute: findBy('displayableUserAttributes', 'identifier', 'last_request_at'),\n  userIdAttribute: findBy('displayableUserAttributes', 'identifier', 'user_id'),\n  currentDisplayOn: ternary('isCompany', 'companies', 'users'),\n\n  // For user presence we want to display the last_request_at attribute closer to the avatar so we adjust the order here\n  adjustedDisplayableUserAttributes: computed('displayableUserAttributes.[]', function() {\n    let attributes = this.displayableUserAttributes.rejectBy('attribute.type', 'role');\n    let lastRequestAtIndex = attributes.indexOf(this.lastRequestAtAttribute);\n    let newIndex = attributes.indexOf(this.userIdAttribute) + 1;\n    attributes.splice(newIndex, 0, attributes.splice(lastRequestAtIndex, 1)[0]);\n    return attributes;\n  }),\n\n  groupedDisplayableAttributes: computed(\n    'adjustedDisplayableUserAttributes',\n    'displayableCompanyAttributes',\n    function() {\n      let userAttributes = {\n        type: 'User',\n        list: this.adjustedDisplayableUserAttributes,\n      };\n      let companyAttributes = {\n        type: 'Company',\n        list: this.displayableCompanyAttributes,\n      };\n      if (this.isCompany) {\n        return [companyAttributes];\n      } else if (this.showCompanyAttributes) {\n        return [userAttributes, companyAttributes];\n      } else {\n        return [userAttributes];\n      }\n    },\n  ),\n  actions: {\n    toggleDisplayed(displayableAttribute) {\n      let attributeSettings = this.attributeSettings;\n      let attributeSetting = displayableAttribute.getAttributeSettingByDisplayOn(\n        this.currentDisplayOn,\n      );\n      if (attributeSetting) {\n        attributeSettings.removeObject(attributeSetting);\n        attributeSetting.destroyRecord();\n      } else {\n        let newAttributeSetting = this.store.createRecord('display-attribute-setting', {\n          app_id: this.get('app.id'),\n          attribute: displayableAttribute.attribute.get('identifier'),\n          display_on: this.currentDisplayOn,\n        });\n        attributeSettings.pushObject(newAttributeSetting);\n        newAttributeSetting.save();\n      }\n    },\n  },\n});\n\nexport default DisplayedAttributesDropdownComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class={{@class}} ...attributes>{{yield}}</div>\\n\", {\"contents\":\"<div class={{@class}} ...attributes>{{yield}}</div>\\n\",\"moduleName\":\"embercom/components/div-with-splattributes.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/div-with-splattributes.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcButton @type=\\\"secondary\\\" @forcedActive={{isOpen}}>\\n  {{title}} {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n</IcButton>\\n{{#if isOpen}}\\n  <div class=\\\"overlay o__dropdown o__down-right z__2\\\">\\n    {{yield}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcButton @type=\\\"secondary\\\" @forcedActive={{isOpen}}>\\n  {{title}} {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n</IcButton>\\n{{#if isOpen}}\\n  <div class=\\\"overlay o__dropdown o__down-right z__2\\\">\\n    {{yield}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/dropdown-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/dropdown-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n// eslint-disable-next-line @intercom/intercom/no-legacy-dropdown\nimport ComponentDropdownToggler from 'embercom/components/mixins/component-dropdown-toggler';\n\nlet DropdownComponent = Component.extend(ComponentDropdownToggler, {\n  title: 'title missing',\n  tagName: 'span',\n  classNames: ['u__relative', 'u__left', 'test__dropdown-component'],\n});\n\nexport default DropdownComponent;\n","define(\"embercom/components/ea-list-element\", [\"exports\", \"ember-animated/components/ea-list-element\"], function (_exports, _eaListElement) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _eaListElement.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if displayMode}}\\n  <div class=\\\"flex items-center o__normal-spaced\\\">\\n    <label\\n      class=\\\"flex-auto min-w-0 editable-text__text-itself\\\"\\n      data-test-display-text\\n    >\\n      {{#if textToDisplayIsNotBlank}}\\n        {{textToDisplay}}\\n      {{else}}\\n        <span class=\\\"t__light-text\\\">\\n          {{placeholderText}}\\n        </span>\\n      {{/if}}\\n    </label>\\n    <div>\\n      <IcButton\\n        @type=\\\"secondary\\\"\\n        @onClick={{action \\\"enterEditMode\\\"}}\\n        @iconOnly={{true}}\\n        @subtle={{true}}\\n        data-test-edit-text-button={{true}}\\n      >\\n        {{ic-interface-icon \\\"edit\\\" solo=true}}\\n      </IcButton>\\n    </div>\\n  </div>\\n{{else}}\\n  <div class=\\\"flex items-center\\\">\\n    {{#if textareaMode}}\\n      <SimpleExpandingTextareaComponent\\n        @value={{editableText}}\\n        class={{textareaClasses}}\\n        @maxlength=\\\"65535\\\"\\n        @disabled={{isDisabled}}\\n        placeholder={{placeholderText}}\\n        @escape-press={{action \\\"exitEditMode\\\"}}\\n      />\\n    {{else}}\\n      <Input\\n        data-test-editable-input={{true}}\\n        class=\\\"flex items-start_ext f__text editable-text__text-input\\\"\\n        placeholder={{placeholderText}}\\n        @value={{editableText}}\\n        @enter={{action \\\"saveChanges\\\"}}\\n        @escape-press={{action \\\"exitEditMode\\\"}}\\n        @maxlength=\\\"255\\\"\\n      />\\n    {{/if}}\\n    <div class=\\\"editable-text__button-wrapper\\\">\\n      <IcButton\\n        @type=\\\"secondary\\\"\\n        @onClick={{action \\\"saveChanges\\\"}}\\n        @iconOnly={{true}}\\n        @subtle={{true}}\\n        data-test-save-button={{true}}\\n      >\\n        {{ic-interface-icon \\\"check\\\" solo=true}}\\n      </IcButton>\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if displayMode}}\\n  <div class=\\\"flex items-center o__normal-spaced\\\">\\n    <label\\n      class=\\\"flex-auto min-w-0 editable-text__text-itself\\\"\\n      data-test-display-text\\n    >\\n      {{#if textToDisplayIsNotBlank}}\\n        {{textToDisplay}}\\n      {{else}}\\n        <span class=\\\"t__light-text\\\">\\n          {{placeholderText}}\\n        </span>\\n      {{/if}}\\n    </label>\\n    <div>\\n      <IcButton\\n        @type=\\\"secondary\\\"\\n        @onClick={{action \\\"enterEditMode\\\"}}\\n        @iconOnly={{true}}\\n        @subtle={{true}}\\n        data-test-edit-text-button={{true}}\\n      >\\n        {{ic-interface-icon \\\"edit\\\" solo=true}}\\n      </IcButton>\\n    </div>\\n  </div>\\n{{else}}\\n  <div class=\\\"flex items-center\\\">\\n    {{#if textareaMode}}\\n      <SimpleExpandingTextareaComponent\\n        @value={{editableText}}\\n        class={{textareaClasses}}\\n        @maxlength=\\\"65535\\\"\\n        @disabled={{isDisabled}}\\n        placeholder={{placeholderText}}\\n        @escape-press={{action \\\"exitEditMode\\\"}}\\n      />\\n    {{else}}\\n      <Input\\n        data-test-editable-input={{true}}\\n        class=\\\"flex items-start_ext f__text editable-text__text-input\\\"\\n        placeholder={{placeholderText}}\\n        @value={{editableText}}\\n        @enter={{action \\\"saveChanges\\\"}}\\n        @escape-press={{action \\\"exitEditMode\\\"}}\\n        @maxlength=\\\"255\\\"\\n      />\\n    {{/if}}\\n    <div class=\\\"editable-text__button-wrapper\\\">\\n      <IcButton\\n        @type=\\\"secondary\\\"\\n        @onClick={{action \\\"saveChanges\\\"}}\\n        @iconOnly={{true}}\\n        @subtle={{true}}\\n        data-test-save-button={{true}}\\n      >\\n        {{ic-interface-icon \\\"check\\\" solo=true}}\\n      </IcButton>\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/editable-text-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/editable-text-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { schedule } from '@ember/runloop';\nimport $ from 'jquery';\nimport { equal, empty, not } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport InboundActions from 'ember-component-inbound-actions/inbound-actions';\nimport { ternaryToProperty, trim } from '@intercom/embercom-core/lib/computed-properties';\n\nlet EditableTextComponent = Component.extend(InboundActions, {\n  displayMode: true,\n  originalText: '',\n  placeholderText: '',\n  text: '',\n  emptyString: '',\n  editableTextBlank: equal('editableText', undefined),\n  originalTextEmpty: empty('originalText'),\n  textToDisplay: ternaryToProperty('editableTextBlank', 'text', 'editableText'),\n  textToDisplayIsBlank: empty('textToDisplay'),\n  textToDisplayIsNotBlank: not('textToDisplayIsBlank'),\n  editableTextForTrimmer: ternaryToProperty('editableTextBlank', 'emptyString', 'editableText'),\n  trimmedOriginalText: trim('originalText'),\n  trimmedEditableText: trim('editableTextForTrimmer'),\n  setTexts(text) {\n    this.set('editableText', text);\n    this.set('originalText', text);\n  },\n  exitEditModeFunc() {\n    this.set('displayMode', true);\n  },\n  actions: {\n    enterEditMode() {\n      if (this.originalTextEmpty) {\n        this.setTexts(this.text || '');\n      }\n      this.set('displayMode', false);\n      schedule('afterRender', this, function() {\n        if (this.textareaMode) {\n          $('textarea', this.element).focus();\n        } else {\n          $('input', this.element).focus();\n        }\n      });\n    },\n    exitEditMode() {\n      this.exitEditModeFunc();\n    },\n    saveChanges() {\n      this.exitEditModeFunc();\n      let editedText = this.trimmedEditableText;\n      if (editedText !== this.trimmedOriginalText) {\n        // eslint-disable-next-line ember/closure-actions\n        this.sendAction('saveAction', editedText, this.trimmedOriginalText === '');\n      }\n      let texts = editedText || this.trimmedOriginalText;\n      this.setTexts(texts);\n    },\n  },\n});\n\nexport default EditableTextComponent;\n","define(\"embercom/components/editor-api/attachment-list\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/editor-api/attachment-list\"], function (_exports, _attachmentList) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _attachmentList.default;\n    }\n  });\n});\n","define(\"embercom/components/editor-api/editor\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/editor-api/editor\"], function (_exports, _editor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _editor.default;\n    }\n  });\n});\n","define(\"embercom/components/editor-api/file-picker\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/editor-api/file-picker\"], function (_exports, _filePicker) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _filePicker.default;\n    }\n  });\n});\n","define(\"embercom/components/editor-api/inline-insertion-pointer\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/editor-api/inline-insertion-pointer\"], function (_exports, _inlineInsertionPointer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _inlineInsertionPointer.default;\n    }\n  });\n});\n","define(\"embercom/components/editor-api/insertion-pointer\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/editor-api/insertion-pointer\"], function (_exports, _insertionPointer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _insertionPointer.default;\n    }\n  });\n});\n","define(\"embercom/components/editor-api/range-pointer\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/editor-api/range-pointer\"], function (_exports, _rangePointer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _rangePointer.default;\n    }\n  });\n});\n","define(\"embercom/components/editor-api/typeahead\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/editor-api/typeahead\"], function (_exports, _typeahead) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _typeahead.default;\n    }\n  });\n});\n","import EditorComponent from '@intercom/embercom-composer/components/editor-component';\nexport default EditorComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (service 'app-service.app') as |app|}}\\n  <MessageEditor::Content::InApp::Styles @appColor={{app.base_color}} />\\n{{/let}}\\n\\n<div class=\\\"flex flex-col email__chrome\\\" data-test-email-chrome>\\n  {{#if (not (and @localizedEmailContent.isHtmlMode @isEditing))}}\\n    <div class=\\\"flex flex-row items-center email__chrome__toolbar\\\">\\n      <div class=\\\"email__chrome__toolbar-circle\\\"></div>\\n      <div class=\\\"email__chrome__toolbar-circle\\\"></div>\\n      <div class=\\\"email__chrome__toolbar-circle\\\"></div>\\n    </div>\\n  {{/if}}\\n  <div class=\\\"flex flex-col flex-1 email__chrome__main\\\">\\n    {{yield}}\\n  </div>\\n</div>\", {\"contents\":\"{{#let (service 'app-service.app') as |app|}}\\n  <MessageEditor::Content::InApp::Styles @appColor={{app.base_color}} />\\n{{/let}}\\n\\n<div class=\\\"flex flex-col email__chrome\\\" data-test-email-chrome>\\n  {{#if (not (and @localizedEmailContent.isHtmlMode @isEditing))}}\\n    <div class=\\\"flex flex-row items-center email__chrome__toolbar\\\">\\n      <div class=\\\"email__chrome__toolbar-circle\\\"></div>\\n      <div class=\\\"email__chrome__toolbar-circle\\\"></div>\\n      <div class=\\\"email__chrome__toolbar-circle\\\"></div>\\n    </div>\\n  {{/if}}\\n  <div class=\\\"flex flex-col flex-1 email__chrome__main\\\">\\n    {{yield}}\\n  </div>\\n</div>\",\"moduleName\":\"embercom/components/email/chrome.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/email/chrome.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  {{did-update this.setupEmailTemplate @localizedEmailContent.emailTemplateId @localizedEmailContent.emailTemplateType}}\\n  {{did-update this.setupBlocks @localizedEmailContent}}\\n  data-test-email-composer\\n>\\n  {{#if this.loadEmailTemplate.isRunning}}\\n    <div class=\\\"flex flex-col justify-center items-center email__loading-spinner\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    </div>\\n  {{else}}\\n    <ComposerV2\\n      @editorClass=\\\"email__main-composer\\\"\\n      @app={{this.appService.app}}\\n      @attributes={{this.attributeService.userEditorAttributes}}\\n      @preset={{this.preset}}\\n      @isReadOnly={{not @isEditing}}\\n      @blocks={{this.serializedBlocks}}\\n      @actionReceiver={{this.composer}}\\n      @onChange={{this.updateBlocks}}\\n      @templateInfo={{this.templateInfo}}\\n      @widgetInfo={{this.widgetInfo}}\\n      @emailTemplateData={{this.templateInfo.emailTemplateData}}\\n      @outerContainerSelector=\\\".ic-custom-body\\\"\\n      @emailTemplateDataDidChange={{this.emailTemplateDataDidChange}}\\n      @viewportSelector=\\\".content-editor__main\\\"\\n      @inserters={{array\\n        (component\\n          \\\"composer-inserter\\\"\\n          data-test-composer-inserter=\\\"emoji\\\"\\n          data=(hash\\n            icon=\\\"lwr-happy\\\"\\n            title=\\\"Insert emoji\\\"\\n            configurator=(component \\\"message-editor/content/emoji-inserter\\\")\\n          )\\n        )\\n      }}\\n      data-test-composer-preset={{this.preset}}\\n    />\\n  {{/if}}\\n</div>\\n\\n\", {\"contents\":\"<div\\n  {{did-update this.setupEmailTemplate @localizedEmailContent.emailTemplateId @localizedEmailContent.emailTemplateType}}\\n  {{did-update this.setupBlocks @localizedEmailContent}}\\n  data-test-email-composer\\n>\\n  {{#if this.loadEmailTemplate.isRunning}}\\n    <div class=\\\"flex flex-col justify-center items-center email__loading-spinner\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    </div>\\n  {{else}}\\n    <ComposerV2\\n      @editorClass=\\\"email__main-composer\\\"\\n      @app={{this.appService.app}}\\n      @attributes={{this.attributeService.userEditorAttributes}}\\n      @preset={{this.preset}}\\n      @isReadOnly={{not @isEditing}}\\n      @blocks={{this.serializedBlocks}}\\n      @actionReceiver={{this.composer}}\\n      @onChange={{this.updateBlocks}}\\n      @templateInfo={{this.templateInfo}}\\n      @widgetInfo={{this.widgetInfo}}\\n      @emailTemplateData={{this.templateInfo.emailTemplateData}}\\n      @outerContainerSelector=\\\".ic-custom-body\\\"\\n      @emailTemplateDataDidChange={{this.emailTemplateDataDidChange}}\\n      @viewportSelector=\\\".content-editor__main\\\"\\n      @inserters={{array\\n        (component\\n          \\\"composer-inserter\\\"\\n          data-test-composer-inserter=\\\"emoji\\\"\\n          data=(hash\\n            icon=\\\"lwr-happy\\\"\\n            title=\\\"Insert emoji\\\"\\n            configurator=(component \\\"message-editor/content/emoji-inserter\\\")\\n          )\\n        )\\n      }}\\n      data-test-composer-preset={{this.preset}}\\n    />\\n  {{/if}}\\n</div>\\n\\n\",\"moduleName\":\"embercom/components/email/composer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/email/composer.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\n// eslint-disable-next-line ember/no-computed-properties-in-native-classes\nimport { action, computed } from '@ember/object';\nimport { isEmpty, isPresent } from '@ember/utils';\nimport { WIDGETS } from 'embercom/models/email-template';\nimport { compareBlocks } from 'embercom/lib/developer-hub/diff-calculator';\nimport createFragmentFromBlock from 'embercom/lib/blocks/create-fragment-from-block';\nimport { scheduleOnce } from '@ember/runloop';\nimport { task } from 'ember-concurrency-decorators';\nimport TemplateInfo from 'embercom/models/emails/template-info';\n\nexport default class EmailComposerComponent extends Component {\n  @service attributeService;\n  @service appService;\n  @service store;\n  @tracked emailTemplate;\n\n  constructor() {\n    super(...arguments);\n    this.setupBlocks();\n    this.setupEmailTemplate();\n  }\n\n  get serializedBlocks() {\n    return this.args.localizedEmailContent.blocks.serialize();\n  }\n\n  get preset() {\n    if (!this.args.isEditing) {\n      return `readOnlyEmail`;\n    } else if (this.emailTemplate?.isPlain) {\n      return `emailPlain`;\n    } else {\n      return `email`;\n    }\n  }\n\n  // We must cache this as returning a new object on every call causes\n  // the composer to re render itself.\n  @computed(\n    'emailTemplate',\n    'args.localizedEmailContent.{senderId,senderType}',\n    'args.showUnsubscribeLink',\n  )\n  get templateInfo() {\n    return new TemplateInfo({\n      emailTemplate: this.emailTemplate,\n      store: this.store,\n      senderName: this.args.localizedEmailContent.senderName,\n      avatar: this.args.localizedEmailContent.senderAvatar,\n      showUnsubscribeLink: this.args.showUnsubscribeLink,\n    }).composerHash;\n  }\n\n  get widgetInfo() {\n    return WIDGETS.map(widget => Object.assign({}, widget));\n  }\n\n  @action setupEmailTemplate() {\n    this.loadEmailTemplate.perform();\n  }\n\n  @task *loadEmailTemplate() {\n    let template = yield this.args.localizedEmailContent.emailTemplate;\n    if (isEmpty(template)) {\n      throw new Error(\n        `Email template ID: ${this.args.localizedEmailContent.emailTemplateId}, type: ${this.args.localizedEmailContent.emailTemplateType} not found.`,\n      );\n    }\n    this.emailTemplate = template;\n  }\n\n  @action\n  setupBlocks() {\n    scheduleOnce('afterRender', this, this.loadBlocks);\n  }\n\n  loadBlocks() {\n    if (this.composer) {\n      this.composer.send('load', this.serializedBlocks);\n    }\n  }\n\n  @action\n  async emailTemplateDataDidChange(identifier, value) {\n    let templateData = this.store.peekAll('email-template-data').findBy('identifier', identifier);\n\n    if (isEmpty(templateData) && isEmpty(value)) {\n      // Direct port from old Email editor. Unsure when or why this case occurs.\n      return;\n    }\n\n    if (isEmpty(value)) {\n      await templateData.destroyRecord();\n    } else if (isPresent(templateData)) {\n      templateData.value = value;\n    } else {\n      templateData = this.store.createRecord('email-template-data', { identifier, value });\n    }\n    await templateData.save();\n  }\n\n  @action\n  updateBlocks() {\n    if (isEmpty(this.composer)) {\n      return;\n    }\n    let blocks = this.composer.getBlocks();\n    if (compareBlocks(blocks, this.args.localizedEmailContent.blocks.serialize()).hasDifference) {\n      let blockFragments = blocks.map(block => createFragmentFromBlock(this.store, block));\n      this.args.localizedEmailContent.set('blocks', blockFragments);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Form::Item>\\n  <div class=\\\"email__subject\\\" {{did-update this.setupBlocks @localizedEmailContent}} data-test-subject-composer>\\n    <ComposerV2\\n      @app={{this.appService.app}}\\n      @isReadOnly={{not @isEditing}}\\n      @actionReceiver={{this.composer}}\\n      @attributes={{this.attributeService.userEditorAttributes}}\\n      @hoverAreaPadding={{this.hoverAreaPadding}}\\n      @editorClass=\\\"form__input email__subject-composer\\\"\\n      @viewportSelector='.content-editor__main'\\n      @preset={{this.preset}}\\n      @blocks={{this.serializedBlocks}}\\n      @placeholder=\\\"Your subject...\\\"\\n      @onChange={{this.updateBlocks}}\\n      data-test-composer-preset={{this.preset}}\\n    />\\n  </div>\\n</Form::Item>\\n\", {\"contents\":\"<Form::Item>\\n  <div class=\\\"email__subject\\\" {{did-update this.setupBlocks @localizedEmailContent}} data-test-subject-composer>\\n    <ComposerV2\\n      @app={{this.appService.app}}\\n      @isReadOnly={{not @isEditing}}\\n      @actionReceiver={{this.composer}}\\n      @attributes={{this.attributeService.userEditorAttributes}}\\n      @hoverAreaPadding={{this.hoverAreaPadding}}\\n      @editorClass=\\\"form__input email__subject-composer\\\"\\n      @viewportSelector='.content-editor__main'\\n      @preset={{this.preset}}\\n      @blocks={{this.serializedBlocks}}\\n      @placeholder=\\\"Your subject...\\\"\\n      @onChange={{this.updateBlocks}}\\n      data-test-composer-preset={{this.preset}}\\n    />\\n  </div>\\n</Form::Item>\\n\",\"moduleName\":\"embercom/components/email/composer/subject.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/email/composer/subject.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { isEmpty } from '@ember/utils';\nimport { compareBlocks } from 'embercom/lib/developer-hub/diff-calculator';\nimport { inject as service } from '@ember/service';\nimport { htmlToTextContent } from 'embercom/lib/html-unescape';\n\nexport default class EmailComposerSubjectComponent extends Component {\n  @service attributeService;\n  @service appService;\n\n  get preset() {\n    if (this.args.isEditing) {\n      return 'pushOnly';\n    } else {\n      return 'pushOnlyReadOnly';\n    }\n  }\n\n  hoverAreaPadding = {\n    top: 10,\n    left: 5,\n    right: 50,\n    bottom: 10,\n  };\n\n  get serializedBlocks() {\n    return [\n      {\n        type: 'paragraph',\n        text: this.args.localizedEmailContent.subject,\n      },\n    ];\n  }\n\n  @action setupBlocks() {\n    if (this.composer) {\n      this.composer.send('load', this.serializedBlocks);\n    }\n  }\n\n  @action updateBlocks() {\n    if (isEmpty(this.composer)) {\n      return;\n    }\n    let blocks = this.composer.getBlocks();\n    if (compareBlocks(blocks, this.serializedBlocks).hasDifference) {\n      let blocks = this.composer.getBlocks();\n      let blockText = blocks.get('firstObject.text') || '';\n      let textContent = htmlToTextContent(blockText);\n      blockText = textContent.trim();\n      this.args.localizedEmailContent.set('subject', blockText);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row\\\" data-test-email-editor>\\n  <div class=\\\"flex flex-col\\\">\\n    {{#liquid-if @isEditing class=\\\"content-editor__animated-sidebar\\\"}}\\n      <Email::Sidebar @localizedEmailContent={{this.localizedEmailContent}} @email={{@email}} />\\n    {{/liquid-if}}\\n  </div>\\n  <div class=\\\"flex flex-col flex-1 w-full\\\">\\n    <div class=\\\"flex flex-col flex-1 p-6\\\">\\n      {{#if (and @isEditing (not this.localizedEmailContent.isSenderCustomEmail))}}\\n        <div class=\\\"mb-2\\\">\\n          <IcBanner @type=\\\"help\\\" data-test-use-custom-domain-banner>\\n            Use a custom address to help prevent this email from getting caught in spam filters.\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://www.intercom.com/help/en/articles/182-a-guide-to-sending-email-from-your-own-address\\\"\\n              @title=\\\"Learn more\\\"\\n              @type=\\\"article\\\"\\n              @linkStyling=\\\"inline\\\"\\n              data-test-custom-domain-banner-link\\n            />\\n          </IcBanner>\\n        </div>\\n      {{/if}}\\n      {{#if (and @isEditing this.usingUnauthenticatedCustomEmailAddress)}}\\n        <IcBanner @type=\\\"warning\\\" data-test-use-custom-address-banner>\\n          Give Intercom permission to send on your behalf to improve this email's deliverability.\\n          <Pulse::HelpContent::Link\\n            @href=\\\"https://www.intercom.com/help/en/articles/182-a-guide-to-sending-email-from-your-own-address\\\"\\n            @title=\\\"Learn more\\\"\\n            @type=\\\"article\\\"\\n            @linkStyling=\\\"inline\\\"\\n          />\\n        </IcBanner>\\n      {{/if}}\\n\\n      <Email::Chrome @localizedEmailContent={{this.localizedEmailContent}} @isEditing={{@isEditing}}>\\n        <Email::Composer::Subject\\n          @localizedEmailContent={{this.localizedEmailContent}}\\n          @isEditing={{@isEditing}}\\n        />\\n        <Email::SenderAndDatePreview\\n          @localizedEmailContent={{this.localizedEmailContent}}\\n        />\\n\\n        {{#if this.localizedEmailContent.isHtmlMode}}\\n          <Email::HtmlComposer\\n            @localizedEmailContent={{this.localizedEmailContent}}\\n            @isEditing={{@isEditing}}\\n          />\\n        {{else}}\\n          <Email::Composer\\n            @localizedEmailContent={{this.localizedEmailContent}}\\n            @showUnsubscribeLink={{@email.showUnsubscribeLink}}\\n            @isEditing={{@isEditing}}\\n          />\\n        {{/if}}\\n      </Email::Chrome>\\n    </div>\\n\\n    {{#if @isEditing}}\\n      <div class=\\\"flex flex-row flex-1 mt-2 mb-4\\\">\\n        <Email::HtmlModeSwitcher\\n          @localizedEmailContent={{this.localizedEmailContent}}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row\\\" data-test-email-editor>\\n  <div class=\\\"flex flex-col\\\">\\n    {{#liquid-if @isEditing class=\\\"content-editor__animated-sidebar\\\"}}\\n      <Email::Sidebar @localizedEmailContent={{this.localizedEmailContent}} @email={{@email}} />\\n    {{/liquid-if}}\\n  </div>\\n  <div class=\\\"flex flex-col flex-1 w-full\\\">\\n    <div class=\\\"flex flex-col flex-1 p-6\\\">\\n      {{#if (and @isEditing (not this.localizedEmailContent.isSenderCustomEmail))}}\\n        <div class=\\\"mb-2\\\">\\n          <IcBanner @type=\\\"help\\\" data-test-use-custom-domain-banner>\\n            Use a custom address to help prevent this email from getting caught in spam filters.\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://www.intercom.com/help/en/articles/182-a-guide-to-sending-email-from-your-own-address\\\"\\n              @title=\\\"Learn more\\\"\\n              @type=\\\"article\\\"\\n              @linkStyling=\\\"inline\\\"\\n              data-test-custom-domain-banner-link\\n            />\\n          </IcBanner>\\n        </div>\\n      {{/if}}\\n      {{#if (and @isEditing this.usingUnauthenticatedCustomEmailAddress)}}\\n        <IcBanner @type=\\\"warning\\\" data-test-use-custom-address-banner>\\n          Give Intercom permission to send on your behalf to improve this email's deliverability.\\n          <Pulse::HelpContent::Link\\n            @href=\\\"https://www.intercom.com/help/en/articles/182-a-guide-to-sending-email-from-your-own-address\\\"\\n            @title=\\\"Learn more\\\"\\n            @type=\\\"article\\\"\\n            @linkStyling=\\\"inline\\\"\\n          />\\n        </IcBanner>\\n      {{/if}}\\n\\n      <Email::Chrome @localizedEmailContent={{this.localizedEmailContent}} @isEditing={{@isEditing}}>\\n        <Email::Composer::Subject\\n          @localizedEmailContent={{this.localizedEmailContent}}\\n          @isEditing={{@isEditing}}\\n        />\\n        <Email::SenderAndDatePreview\\n          @localizedEmailContent={{this.localizedEmailContent}}\\n        />\\n\\n        {{#if this.localizedEmailContent.isHtmlMode}}\\n          <Email::HtmlComposer\\n            @localizedEmailContent={{this.localizedEmailContent}}\\n            @isEditing={{@isEditing}}\\n          />\\n        {{else}}\\n          <Email::Composer\\n            @localizedEmailContent={{this.localizedEmailContent}}\\n            @showUnsubscribeLink={{@email.showUnsubscribeLink}}\\n            @isEditing={{@isEditing}}\\n          />\\n        {{/if}}\\n      </Email::Chrome>\\n    </div>\\n\\n    {{#if @isEditing}}\\n      <div class=\\\"flex flex-row flex-1 mt-2 mb-4\\\">\\n        <Email::HtmlModeSwitcher\\n          @localizedEmailContent={{this.localizedEmailContent}}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/email/editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/email/editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class EmailEditorComponent extends Component {\n  @service intercomEventService;\n  @service appService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get localizedEmailContent() {\n    // the question mark here is needed due to an ember.js framework bug\n    // https://github.com/emberjs/ember.js/issues/18969\n    return this.args.email?.localizedEmailContents.firstObject;\n  }\n\n  get usingUnauthenticatedCustomEmailAddress() {\n    let fromAddress = this.localizedEmailContent.customFromAddress;\n    if (fromAddress) {\n      return fromAddress.status === 'Unverified domain';\n    }\n    return false;\n  }\n\n  @action\n  trackClick() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'create_custom_sender_address',\n      context: 'learn_more_banner_link',\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @isEditing}}\\n  <div class=\\\"flex flex-col flex-1 email__html-composer\\\" data-test-email-html-composer>\\n    <MessageEditor::Content::HtmlMode::TextArea\\n      @contentObject={{@localizedEmailContent}}\\n      @value={{this.html}}\\n      @update={{this.updateHtml}}\\n      @attributes={{this.attributeService.userEditorAttributes}}\\n    />\\n    <div class=\\\"flex flex-row email__html-composer__unsub-reminder\\\" data-test-email-html-composer-reminder>\\n      <div class=\\\"email__html-composer__unsub-reminder-wrapper t__light-text\\\">\\n         Add an\\n        <code class=\\\"email__html-composer__unsub-reminder-code\\\">\\\\{{unsubscribe_link}}</code> or\\n        <code class=\\\"email__html-composer__unsub-reminder-code\\\">\\\\{{unsubscribe_url}}</code> to the body of your HTML\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/engaging-your-users-and-visitors/send-emails-that-work/a-guide-to-creating-html-emails\\\"\\n          @title=\\\"Learn more\\\"\\n          @type=\\\"article\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n      </div>\\n    </div>\\n  </div>\\n{{else}}\\n  <Email::HtmlComposer::Preview\\n    @html={{this.html}}\\n  />\\n{{/if}}\", {\"contents\":\"{{#if @isEditing}}\\n  <div class=\\\"flex flex-col flex-1 email__html-composer\\\" data-test-email-html-composer>\\n    <MessageEditor::Content::HtmlMode::TextArea\\n      @contentObject={{@localizedEmailContent}}\\n      @value={{this.html}}\\n      @update={{this.updateHtml}}\\n      @attributes={{this.attributeService.userEditorAttributes}}\\n    />\\n    <div class=\\\"flex flex-row email__html-composer__unsub-reminder\\\" data-test-email-html-composer-reminder>\\n      <div class=\\\"email__html-composer__unsub-reminder-wrapper t__light-text\\\">\\n         Add an\\n        <code class=\\\"email__html-composer__unsub-reminder-code\\\">\\\\{{unsubscribe_link}}</code> or\\n        <code class=\\\"email__html-composer__unsub-reminder-code\\\">\\\\{{unsubscribe_url}}</code> to the body of your HTML\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/engaging-your-users-and-visitors/send-emails-that-work/a-guide-to-creating-html-emails\\\"\\n          @title=\\\"Learn more\\\"\\n          @type=\\\"article\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n      </div>\\n    </div>\\n  </div>\\n{{else}}\\n  <Email::HtmlComposer::Preview\\n    @html={{this.html}}\\n  />\\n{{/if}}\",\"moduleName\":\"embercom/components/email/html-composer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/email/html-composer.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { isNone } from '@ember/utils';\nimport splitHtml from '@intercom/embercom-composer/lib/split-html';\nimport { encodeUriAttributes } from '@intercom/embercom-composer/lib/attribute-encoding';\nimport createFragmentFromBlock from 'embercom/lib/blocks/create-fragment-from-block';\n\nexport default class EmailHtmlComposerComponent extends Component {\n  @service attributeService;\n  @service store;\n\n  get html() {\n    let htmlBlock = this.args.localizedEmailContent.blocks.findBy('type', 'html');\n    if (isNone(htmlBlock)) {\n      throw new Error(`The HTML composer must receive a HTML block`);\n    }\n    return htmlBlock.combinedHtml;\n  }\n\n  @action updateHtml(value) {\n    encodeUriAttributes(value);\n    let splitTemplate = splitHtml(value);\n    let htmlBlock = {\n      type: 'html',\n      content: splitTemplate.content,\n      footer: splitTemplate.footer,\n      header: splitTemplate.header,\n    };\n    this.args.localizedEmailContent.set('blocks', [createFragmentFromBlock(this.store, htmlBlock)]);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<iframe\\n  class=\\\"email__html-preview-iframe\\\"\\n  sandbox=\\\"allow-same-origin\\\"\\n  frameborder=\\\"0\\\"\\n  {{did-insert this.loadHtml}}\\n  data-test-email-preview-frame\\n/>\", {\"contents\":\"<iframe\\n  class=\\\"email__html-preview-iframe\\\"\\n  sandbox=\\\"allow-same-origin\\\"\\n  frameborder=\\\"0\\\"\\n  {{did-insert this.loadHtml}}\\n  data-test-email-preview-frame\\n/>\",\"moduleName\":\"embercom/components/email/html-composer/preview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/email/html-composer/preview.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class EmailHtmlComposerPreviewComponent extends Component {\n  @action loadHtml(iframe) {\n    iframe.contentDocument.open();\n    iframe.contentDocument.write(this.args.html);\n    iframe.contentDocument.close();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<a\\n  class=\\\"email__html-switch\\\"\\n  {{on \\\"click\\\" this.switchToHtmlMode}}\\n  data-test-html-mode-switcher\\n>\\n  Edit HTML\\n</a>\", {\"contents\":\"<a\\n  class=\\\"email__html-switch\\\"\\n  {{on \\\"click\\\" this.switchToHtmlMode}}\\n  data-test-html-mode-switcher\\n>\\n  Edit HTML\\n</a>\",\"moduleName\":\"embercom/components/email/html-mode-switcher.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/email/html-mode-switcher.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { intercomPromiseConfirm } from 'embercom/lib/intercom-confirm';\nimport createFragmentFromBlock from 'embercom/lib/blocks/create-fragment-from-block';\nimport splitHtml from '@intercom/embercom-composer/lib/split-html';\nimport { emailTemplateTypes } from 'embercom/models/data/outbound/constants';\nimport { inject as service } from '@ember/service';\nconst DEFAULT_HTML_CONTENT = `\n  <p>Hi there</p>\n  {{! -- Remember to add an '{{unsubscribe_link}}' to your HMTL --}}\n`;\n\nexport default class EmailHtmlModeSwitcherComponent extends Component {\n  @service store;\n\n  @action switchToHtmlMode() {\n    this.switch();\n  }\n\n  async switch() {\n    let options = {\n      title: 'Switch to HTML editor?',\n      body: 'This action can’t be undone and will override existing message content.',\n      confirmButtonText: 'Switch to HTML editor',\n    };\n\n    let confirmed = await intercomPromiseConfirm(this, options);\n\n    if (confirmed) {\n      let emailTemplate = this.store.peekRecord('email-template', 'html-block-template');\n      let splitTemplate = splitHtml(emailTemplate.get('template'));\n      let rawBlocks = [\n        {\n          type: 'html',\n          content: DEFAULT_HTML_CONTENT,\n          header: splitTemplate.header,\n          footer: splitTemplate.footer,\n        },\n      ];\n\n      let blocks = rawBlocks.map(block => createFragmentFromBlock(this.store, block));\n      this.args.localizedEmailContent.set('blocks', blocks);\n      this.args.localizedEmailContent.emailTemplateType = emailTemplateTypes.htmlMode;\n      this.args.localizedEmailContent.emailTemplateId = -1;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-start pb-1 pl-3 pr-3\\\">\\n  <div class=\\\"flex flex-col flex-1\\\" data-test-email-sender>\\n    <Text @styling=\\\"strong\\\" class=\\\"text-green-dark\\\">{{@localizedEmailContent.senderName}}</Text>\\n  </div>\\n  <div class=\\\"flex flex-col\\\">\\n    <Text @styling=\\\"strong\\\" class=\\\"text-gray\\\">{{format-date format=\\\"date\\\"}}</Text>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row items-start pb-1 pl-3 pr-3\\\">\\n  <div class=\\\"flex flex-col flex-1\\\" data-test-email-sender>\\n    <Text @styling=\\\"strong\\\" class=\\\"text-green-dark\\\">{{@localizedEmailContent.senderName}}</Text>\\n  </div>\\n  <div class=\\\"flex flex-col\\\">\\n    <Text @styling=\\\"strong\\\" class=\\\"text-gray\\\">{{format-date format=\\\"date\\\"}}</Text>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/email/sender-and-date-preview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/email/sender-and-date-preview.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col content-editor__sidebar-container\\\" data-test-email-editor-sidebar>\\n  <div class=\\\"flex flex-col flex-1 gap-6 content-editor__sidebar p-8\\\">\\n    <ContentEditor::Panels::Content::AssigneeDropdownWithFallback\\n      @label=\\\"From\\\"\\n      @selectedValueId={{@localizedEmailContent.senderId}}\\n      @selectedValueType={{@localizedEmailContent.senderType}}\\n      @onChangeId={{this.setSenderId}}\\n      @onChangeType={{this.setSenderType}}\\n      @filterPlaceholder=\\\"Search teammates and custom addresses...\\\"\\n      @isEmailMode={{true}}\\n      data-test-from-dropdown\\n    />\\n\\n    {{#if this.replyToDropdownVisible}}\\n      <ContentEditor::Panels::Content::AssigneeDropdownWithFallback\\n        @label=\\\"Reply to\\\"\\n        @selectedValueId={{@localizedEmailContent.replyToId}}\\n        @selectedValueType={{@localizedEmailContent.replyToType}}\\n        @onChangeId={{set @localizedEmailContent.replyToId}}\\n        @onChangeType={{set @localizedEmailContent.replyToType}}\\n        @filterPlaceholder=\\\"Search teammates and custom addresses...\\\"\\n        @allowUnassigned={{true}}\\n        @isEmailMode={{true}}\\n        data-test-reply-to-dropdown\\n      />\\n    {{/if}}\\n\\n    {{#let (service 'app-service.app') as |app|}}\\n      {{#if (and app.inboxIsActive (not @localizedEmailContent.isReplyToCustomEmail))}}\\n        <ContentEditor::Panels::Content::AssigneeDropdownWithFallback\\n          @label=\\\"Assign replies to\\\"\\n          @selectedValueId={{@localizedEmailContent.assignToId}}\\n          @selectedValueType={{@localizedEmailContent.assignToType}}\\n          @onChangeId={{set @localizedEmailContent.assignToId}}\\n          @onChangeType={{set @localizedEmailContent.assignToType}}\\n          @filterPlaceholder=\\\"Search teammates and teams...\\\"\\n          @allowUnassigned={{true}}\\n          data-test-assign-to-dropdown\\n        />\\n      {{/if}}\\n    {{/let}}\\n\\n    {{#unless @localizedEmailContent.isHtmlMode}}\\n      <Email::Sidebar::TemplateSwitcher\\n        @localizedEmailContent={{@localizedEmailContent}}\\n      />\\n    {{/unless}}\\n\\n    <Email::Sidebar::PreviewEmail />\\n\\n    <Email::Sidebar::Unsubscribe\\n      @email={{@email}}\\n    />\\n    {{#if this.contentEditorService.isSeriesMode}}\\n      <Text @styling=\\\"label\\\" class=\\\"series-content-implicit-rule-banner\\\" data-test-audience-selector-internal-node-series-preview>\\n        This email would only send to eligible recepients\\n        <IcTooltipIcon @content=\\\"People who don't have an email, who unsubscribed or who marked your previous emails as spam would be excluded.\\\" />\\n      </Text>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col content-editor__sidebar-container\\\" data-test-email-editor-sidebar>\\n  <div class=\\\"flex flex-col flex-1 gap-6 content-editor__sidebar p-8\\\">\\n    <ContentEditor::Panels::Content::AssigneeDropdownWithFallback\\n      @label=\\\"From\\\"\\n      @selectedValueId={{@localizedEmailContent.senderId}}\\n      @selectedValueType={{@localizedEmailContent.senderType}}\\n      @onChangeId={{this.setSenderId}}\\n      @onChangeType={{this.setSenderType}}\\n      @filterPlaceholder=\\\"Search teammates and custom addresses...\\\"\\n      @isEmailMode={{true}}\\n      data-test-from-dropdown\\n    />\\n\\n    {{#if this.replyToDropdownVisible}}\\n      <ContentEditor::Panels::Content::AssigneeDropdownWithFallback\\n        @label=\\\"Reply to\\\"\\n        @selectedValueId={{@localizedEmailContent.replyToId}}\\n        @selectedValueType={{@localizedEmailContent.replyToType}}\\n        @onChangeId={{set @localizedEmailContent.replyToId}}\\n        @onChangeType={{set @localizedEmailContent.replyToType}}\\n        @filterPlaceholder=\\\"Search teammates and custom addresses...\\\"\\n        @allowUnassigned={{true}}\\n        @isEmailMode={{true}}\\n        data-test-reply-to-dropdown\\n      />\\n    {{/if}}\\n\\n    {{#let (service 'app-service.app') as |app|}}\\n      {{#if (and app.inboxIsActive (not @localizedEmailContent.isReplyToCustomEmail))}}\\n        <ContentEditor::Panels::Content::AssigneeDropdownWithFallback\\n          @label=\\\"Assign replies to\\\"\\n          @selectedValueId={{@localizedEmailContent.assignToId}}\\n          @selectedValueType={{@localizedEmailContent.assignToType}}\\n          @onChangeId={{set @localizedEmailContent.assignToId}}\\n          @onChangeType={{set @localizedEmailContent.assignToType}}\\n          @filterPlaceholder=\\\"Search teammates and teams...\\\"\\n          @allowUnassigned={{true}}\\n          data-test-assign-to-dropdown\\n        />\\n      {{/if}}\\n    {{/let}}\\n\\n    {{#unless @localizedEmailContent.isHtmlMode}}\\n      <Email::Sidebar::TemplateSwitcher\\n        @localizedEmailContent={{@localizedEmailContent}}\\n      />\\n    {{/unless}}\\n\\n    <Email::Sidebar::PreviewEmail />\\n\\n    <Email::Sidebar::Unsubscribe\\n      @email={{@email}}\\n    />\\n    {{#if this.contentEditorService.isSeriesMode}}\\n      <Text @styling=\\\"label\\\" class=\\\"series-content-implicit-rule-banner\\\" data-test-audience-selector-internal-node-series-preview>\\n        This email would only send to eligible recepients\\n        <IcTooltipIcon @content=\\\"People who don't have an email, who unsubscribed or who marked your previous emails as spam would be excluded.\\\" />\\n      </Text>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/email/sidebar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/email/sidebar.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class EmailSidebar extends Component {\n  @service contentEditorService;\n\n  get replyToDropdownVisible() {\n    return this.args.localizedEmailContent.isSenderCustomEmail;\n  }\n\n  @action setSenderId(value) {\n    this.args.localizedEmailContent.senderId = value;\n    this.args.localizedEmailContent.replyToId = value;\n  }\n\n  @action setSenderType(value) {\n    this.args.localizedEmailContent.senderType = value;\n    this.args.localizedEmailContent.replyToType = value;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip @isDisabled={{this.email.validations.isValid}} as |t|>\\n  <t.opener>\\n    <IcButton\\n      @label=\\\"Preview\\\"\\n      @fit={{true}}\\n      @icon={{if (not this.contentEditorService.isSeriesMode) 'put-live'}}\\n      @onClick={{toggle-action 'showPreviewModal' this}}\\n      @isDisabled={{not this.email.validations.isValid}}\\n      data-test-email-preview-button\\n    />\\n  </t.opener>\\n  <t.content>\\n    Finish creating your {{this.contentEditorService.activeHumanReadableObjectName}} before previewing it.\\n  </t.content>\\n</IcTooltip>\\n\\n<IcModal\\n  @width=\\\"m\\\"\\n  @onModalClose={{fn (set this.showPreviewModal) false}}\\n  @showCloseIcon={{false}}\\n  @isOpen={{this.showPreviewModal}}\\n  as |modal|\\n>\\n  <modal.header @title=\\\"Send a preview email\\\" />\\n\\n  <modal.body>\\n    <Form as |form|>\\n      <form.Item @label=\\\"To\\\" as |item|>\\n        <item.Input @value={{this.emailAddresses}} @placeholder=\\\"Enter email addresses...\\\" data-test-email-addresses-input/>\\n      </form.Item>\\n    </Form>\\n  </modal.body>\\n\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=(if this.sendPreviewEmail.isRunning \\\"Sending...\\\" \\\"Send\\\")\\n      action=(perform this.sendPreviewEmail)\\n      disabled=(or (eq this.outboundEmailAddresses.length 0) this.sendPreviewEmail.isRunning)\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=(set this.showPreviewModal false)\\n    }}\\n  />\\n</IcModal>\\n\", {\"contents\":\"<IcTooltip @isDisabled={{this.email.validations.isValid}} as |t|>\\n  <t.opener>\\n    <IcButton\\n      @label=\\\"Preview\\\"\\n      @fit={{true}}\\n      @icon={{if (not this.contentEditorService.isSeriesMode) 'put-live'}}\\n      @onClick={{toggle-action 'showPreviewModal' this}}\\n      @isDisabled={{not this.email.validations.isValid}}\\n      data-test-email-preview-button\\n    />\\n  </t.opener>\\n  <t.content>\\n    Finish creating your {{this.contentEditorService.activeHumanReadableObjectName}} before previewing it.\\n  </t.content>\\n</IcTooltip>\\n\\n<IcModal\\n  @width=\\\"m\\\"\\n  @onModalClose={{fn (set this.showPreviewModal) false}}\\n  @showCloseIcon={{false}}\\n  @isOpen={{this.showPreviewModal}}\\n  as |modal|\\n>\\n  <modal.header @title=\\\"Send a preview email\\\" />\\n\\n  <modal.body>\\n    <Form as |form|>\\n      <form.Item @label=\\\"To\\\" as |item|>\\n        <item.Input @value={{this.emailAddresses}} @placeholder=\\\"Enter email addresses...\\\" data-test-email-addresses-input/>\\n      </form.Item>\\n    </Form>\\n  </modal.body>\\n\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=(if this.sendPreviewEmail.isRunning \\\"Sending...\\\" \\\"Send\\\")\\n      action=(perform this.sendPreviewEmail)\\n      disabled=(or (eq this.outboundEmailAddresses.length 0) this.sendPreviewEmail.isRunning)\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=(set this.showPreviewModal false)\\n    }}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/email/sidebar/preview-email.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/email/sidebar/preview-email.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport { isBlank, isEmpty } from '@ember/utils';\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\nimport { isValidEmail } from 'embercom/lib/email';\nimport nonconcurrentAjax from 'embercom/lib/nonconcurrent-ajax';\n\nexport default class PreviewButton extends Component {\n  @tracked showPreviewModal = false;\n  @tracked emailAddresses = '';\n\n  @service appService;\n  @service contentEditorService;\n  @service notificationsService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get email() {\n    return this.contentEditorService.activeObject;\n  }\n\n  get outboundEmailAddresses() {\n    return this.emailAddresses.split(/,|\\s+/).filter(emailAddress => !isBlank(emailAddress));\n  }\n\n  get invalidEmailAddresses() {\n    return this.outboundEmailAddresses.filter(emailAddress => !isValidEmail(emailAddress));\n  }\n\n  @task\n  *sendPreviewEmail() {\n    try {\n      if (isEmpty(this.invalidEmailAddresses)) {\n        yield this.sendPreviewEmails();\n        this.notificationsService.notifyConfirmation(`Your preview email has been sent`);\n        this.showPreviewModal = false;\n      } else {\n        this.notificationsService.notifyError(\n          `Some of your emails are invalid: ${this.invalidEmailAddresses.join(', ')}`,\n        );\n      }\n    } catch (error) {\n      console.error(error);\n      this.notificationsService.notifyResponseError(error, {\n        default: `We couldn't send your preview email. Send us a message and we'll do our best to help out`,\n      });\n    }\n  }\n\n  sendPreviewEmails() {\n    let payload = Object.assign(this.email.localizedEmailContents.firstObject.serialize(), {\n      app_id: this.app.id,\n      admin_id: this.app.currentAdmin.id,\n      outbound_addresses: this.outboundEmailAddresses,\n      email_id: this.email.id,\n      show_unsubscribe_link: this.email.showUnsubscribeLink,\n    });\n\n    return nonconcurrentAjax(this, {\n      url: '/ember/preview_emails',\n      type: 'POST',\n      data: JSON.stringify(payload),\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col gap-1\\\" data-test-template-switcher>\\n  <label class=\\\"t__label\\\">\\n    Email template\\n  </label>\\n\\n  {{#if this.loadTemplates.isRunning}}\\n    <IcButton\\n      @type=\\\"secondary\\\"\\n      @disabled={{true}}\\n    >\\n      <IcLoadingIndicator @size=\\\"tiny\\\" @inline={{true}} data-test-loading-spinner/>\\n      Loading...\\n    </IcButton>\\n  {{else}}\\n    <IcSelect\\n      @items={{this.items}}\\n      @mode=\\\"block\\\"\\n      @hasFilter={{true}}\\n      @filterPlaceholder=\\\"Search email templates..\\\"\\n      @onSelectItem={{this.changeTemplate}}\\n      @selectedValue={{this.selectedTemplate}}\\n      @defaultLabel=\\\"Select a template\\\"\\n      @footerActions={{hash\\n        text=\\\"New email template\\\"\\n        icon=\\\"new\\\"\\n        action=this.openTemplatesPage\\n      }}\\n      data-test-template-switcher-dropdown\\n    />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col gap-1\\\" data-test-template-switcher>\\n  <label class=\\\"t__label\\\">\\n    Email template\\n  </label>\\n\\n  {{#if this.loadTemplates.isRunning}}\\n    <IcButton\\n      @type=\\\"secondary\\\"\\n      @disabled={{true}}\\n    >\\n      <IcLoadingIndicator @size=\\\"tiny\\\" @inline={{true}} data-test-loading-spinner/>\\n      Loading...\\n    </IcButton>\\n  {{else}}\\n    <IcSelect\\n      @items={{this.items}}\\n      @mode=\\\"block\\\"\\n      @hasFilter={{true}}\\n      @filterPlaceholder=\\\"Search email templates..\\\"\\n      @onSelectItem={{this.changeTemplate}}\\n      @selectedValue={{this.selectedTemplate}}\\n      @defaultLabel=\\\"Select a template\\\"\\n      @footerActions={{hash\\n        text=\\\"New email template\\\"\\n        icon=\\\"new\\\"\\n        action=this.openTemplatesPage\\n      }}\\n      data-test-template-switcher-dropdown\\n    />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/email/sidebar/template-switcher.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/email/sidebar/template-switcher.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class EmailSidebarTemplateSwitcherComponent extends Component {\n  @service appService;\n  @service store;\n  @service router;\n  @tracked items = [];\n  @tracked selectedTemplate;\n\n  constructor() {\n    super(...arguments);\n    this.loadTemplates.perform();\n  }\n\n  @task *loadTemplates() {\n    let emailTemplate = yield this.args.localizedEmailContent.emailTemplate;\n    this.selectedTemplate = this.toStringValue(emailTemplate);\n\n    let templates = yield this.appService.app.emailTemplates;\n    templates = templates.filter(template => template.isCustom || template.isPremade);\n    if (!emailTemplate.isOfficial) {\n      // The official template is deprecated so should only be shown in the list if it is already selected.\n      templates = templates.filter(template => !template.isOfficial);\n    }\n    this.items = templates.map(template => {\n      return {\n        text: template.name,\n        value: this.toStringValue(template),\n      };\n    });\n  }\n\n  toStringValue(template) {\n    return `${template.outboundTemplateType}:${template.outboundTemplateId}`;\n  }\n\n  @action changeTemplate(identifier) {\n    let [templateType, templateId] = identifier.split(':');\n    this.args.localizedEmailContent.emailTemplateId = Number(templateId);\n    this.args.localizedEmailContent.emailTemplateType = Number(templateType);\n    this.selectedTemplate = identifier;\n  }\n\n  @action openTemplatesPage() {\n    this.router.transitionTo('apps.app.settings.email-templates');\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col gap-1\\\" data-test-email-editor>\\n  <Text @styling=\\\"label\\\">\\n    Unsubscribe link\\n  </Text>\\n  <div class=\\\"flex flex-row items-center gap-2\\\">\\n    <IcOnOffToggle\\n      @isOn={{this.showUnsubscribeLink}}\\n      @onClick={{this.toggleUnsubscribe}}\\n      data-test-unsubscribe-toggle\\n    />\\n    <Text>\\n      Show unsubscribe link\\n    </Text>\\n  </div>\\n  {{#if (not this.showUnsubscribeLink)}}\\n    <div class=\\\"flex flex-row items-center mt-1\\\" data-test-unsubscribe-text>\\n      <Paragraph @styling='small'>\\n        We recommend always showing an unsubscribe link to avoid spam folders.\\n      </Paragraph>\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col gap-1\\\" data-test-email-editor>\\n  <Text @styling=\\\"label\\\">\\n    Unsubscribe link\\n  </Text>\\n  <div class=\\\"flex flex-row items-center gap-2\\\">\\n    <IcOnOffToggle\\n      @isOn={{this.showUnsubscribeLink}}\\n      @onClick={{this.toggleUnsubscribe}}\\n      data-test-unsubscribe-toggle\\n    />\\n    <Text>\\n      Show unsubscribe link\\n    </Text>\\n  </div>\\n  {{#if (not this.showUnsubscribeLink)}}\\n    <div class=\\\"flex flex-row items-center mt-1\\\" data-test-unsubscribe-text>\\n      <Paragraph @styling='small'>\\n        We recommend always showing an unsubscribe link to avoid spam folders.\\n      </Paragraph>\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/email/sidebar/unsubscribe.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/email/sidebar/unsubscribe.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class UnsubscribeComponent extends Component {\n  @service appService;\n\n  get showUnsubscribeLink() {\n    return this.args.email.showUnsubscribeLink;\n  }\n\n  @action toggleUnsubscribe() {\n    this.args.email.showUnsubscribeLink = !this.showUnsubscribeLink;\n  }\n}\n","define(\"embercom/components/ember-collection\", [\"exports\", \"ember-collection/components/ember-collection\"], function (_exports, _emberCollection) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _emberCollection.default;\n    }\n  });\n});\n","define(\"embercom/components/ember-native-scrollable\", [\"exports\", \"ember-collection/components/ember-native-scrollable\"], function (_exports, _emberNativeScrollable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _emberNativeScrollable.default;\n    }\n  });\n});\n","define(\"embercom/components/ember-popover\", [\"exports\", \"ember-tooltips/components/ember-popover\"], function (_exports, _emberPopover) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _emberPopover.default;\n    }\n  });\n});\n","define(\"embercom/components/ember-tooltip\", [\"exports\", \"ember-tooltips/components/ember-tooltip\"], function (_exports, _emberTooltip) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _emberTooltip.default;\n    }\n  });\n});\n","define(\"embercom/components/ember-wormhole\", [\"exports\", \"ember-wormhole/components/ember-wormhole\"], function (_exports, _emberWormhole) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _emberWormhole.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-custom-template>\\n  <div class=\\\"a\\\">{{@item.componentAttrs.a}}</div>\\n  <div class=\\\"b\\\">{{@item.componentAttrs.b}}</div>\\n</div>\\n\", {\"contents\":\"<div data-test-custom-template>\\n  <div class=\\\"a\\\">{{@item.componentAttrs.a}}</div>\\n  <div class=\\\"b\\\">{{@item.componentAttrs.b}}</div>\\n</div>\\n\",\"moduleName\":\"embercom/components/embercom-core-testing-for-ic-dropdown-standard-component-attrs-for-heading-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/embercom-core-testing-for-ic-dropdown-standard-component-attrs-for-heading-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-dropdown-item=\\\"Badger\\\" tabindex=\\\"-1\\\" role=\\\"menuitem\\\" class=\\\"ds-new__dropdown__block__item flex items-start\\\">\\n  <div class=\\\"flex-auto min-w-0 ds-new__dropdown__block__item__object\\\">\\n    <div class=\\\"u__one-truncated-line\\\">\\n      <div class=\\\"flex items-start\\\">\\n        <div class=\\\"flex-auto min-w-0\\\">\\n          <div>Badger</div>\\n          <div class=\\\"a\\\">{{@item.componentAttrs.a}}</div>\\n          <div class=\\\"b\\\">{{@item.componentAttrs.b}}</div>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div data-test-dropdown-item=\\\"Badger\\\" tabindex=\\\"-1\\\" role=\\\"menuitem\\\" class=\\\"ds-new__dropdown__block__item flex items-start\\\">\\n  <div class=\\\"flex-auto min-w-0 ds-new__dropdown__block__item__object\\\">\\n    <div class=\\\"u__one-truncated-line\\\">\\n      <div class=\\\"flex items-start\\\">\\n        <div class=\\\"flex-auto min-w-0\\\">\\n          <div>Badger</div>\\n          <div class=\\\"a\\\">{{@item.componentAttrs.a}}</div>\\n          <div class=\\\"b\\\">{{@item.componentAttrs.b}}</div>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/embercom-core-testing-for-ic-dropdown-standard-component-attrs-full.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/embercom-core-testing-for-ic-dropdown-standard-component-attrs-full.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-custom-template>\\n  <div class=\\\"a\\\">{{@componentAttrs.a}}</div>\\n  <div class=\\\"b\\\">{{@componentAttrs.b}}</div>\\n</div>\\n\", {\"contents\":\"<div data-test-custom-template>\\n  <div class=\\\"a\\\">{{@componentAttrs.a}}</div>\\n  <div class=\\\"b\\\">{{@componentAttrs.b}}</div>\\n</div>\\n\",\"moduleName\":\"embercom/components/embercom-core-testing-for-ic-dropdown-standard-component-attrs.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/embercom-core-testing-for-ic-dropdown-standard-component-attrs.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-embercom-revision-banner>\\n  <IcBanner\\n    @type={{this.bannerType}}\\n    data-ghost-inspector-embercom-revision-banner={{this.bannerType}}\\n   >\\n    {{#if this.isValidRevision}}\\n      <span data-test-valid-revision>\\n        You are currently viewing an {{if this.isExperimentalBuild \\\"experimental\\\" \\\"old\\\"}} build of Embercom. The version for this build is \\n        <a\\n          href={{concat \\\"https://github.com/intercom/embercom/commit/\\\" this.embercomRevisionProcessed}}\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n        >\\n          {{this.embercomRevisionProcessed}}\\n        </a>\\n      </span>\\n    {{else}}\\n      <span data-test-invalid-revision>\\n        It looks like your requested Embercom revision does not currently exist. You should: 1) Check that {{@embercomRevision}} is the correct revision number 2) Make sure the build has reached production by checking\\n        <a\\n          href=\\\"https://muster.intercom.io/apps/embercom{{if this.isExperimentalBuild \\\"-experimental\\\"}}\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n        >\\n          Muster\\n        </a>.\\n      </span>\\n    {{/if}}\\n  </IcBanner>\\n</div>\\n\", {\"contents\":\"<div data-test-embercom-revision-banner>\\n  <IcBanner\\n    @type={{this.bannerType}}\\n    data-ghost-inspector-embercom-revision-banner={{this.bannerType}}\\n   >\\n    {{#if this.isValidRevision}}\\n      <span data-test-valid-revision>\\n        You are currently viewing an {{if this.isExperimentalBuild \\\"experimental\\\" \\\"old\\\"}} build of Embercom. The version for this build is \\n        <a\\n          href={{concat \\\"https://github.com/intercom/embercom/commit/\\\" this.embercomRevisionProcessed}}\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n        >\\n          {{this.embercomRevisionProcessed}}\\n        </a>\\n      </span>\\n    {{else}}\\n      <span data-test-invalid-revision>\\n        It looks like your requested Embercom revision does not currently exist. You should: 1) Check that {{@embercomRevision}} is the correct revision number 2) Make sure the build has reached production by checking\\n        <a\\n          href=\\\"https://muster.intercom.io/apps/embercom{{if this.isExperimentalBuild \\\"-experimental\\\"}}\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n        >\\n          Muster\\n        </a>.\\n      </span>\\n    {{/if}}\\n  </IcBanner>\\n</div>\\n\",\"moduleName\":\"embercom/components/embercom-revision-banner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/embercom-revision-banner.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class EmbercomRevisionBanner extends Component {\n  get isValidRevision() {\n    let currentlyLoadedRevision = Ember.libraries._registry\n      .find(library => library.name === 'Embercom')\n      .version.replace('0.0.0+', '');\n    return this.args.embercomRevision.startsWith(currentlyLoadedRevision);\n  }\n  get isExperimentalBuild() {\n    return this.args.embercomRevision.includes('-experimental');\n  }\n  get embercomRevisionProcessed() {\n    return this.args.embercomRevision.replace('-experimental', '');\n  }\n  get bannerType() {\n    return this.isValidRevision ? 'warning' : 'error';\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable no-bare-strings no-triple-curlies --}}\\n{{!-- NOTE: please don't add additional uses of triple curlies in embercom --}}\\n{{!--       see https://github.com/intercom/embercom/wiki/Avoiding-XSS-in-Embercom --}}\\n{{!--estimated-height/width only have an impact in testing, in prod the dimensions are inferred from the parent--}}\\n<div class=\\\"layout__box u__relative gif__list-item gif__list-item__search\\\">\\n  <span class=\\\"gif__list-item__search-icon\\\">\\n    {{ic-interface-icon \\\"search\\\"}}\\n  </span>\\n  {{#if emojiFilter}}\\n    <a class=\\\"gif__list-item__search-clear\\\" {{action (mut emojiFilter) \\\"\\\" bubbles=false}}>\\n      {{ic-interface-icon \\\"small-close\\\"}}\\n    </a>\\n  {{/if}}\\n  <AutoFocusComponent>\\n    <input\\n      type=\\\"text\\\"\\n      class=\\\"f__text gif__list-item__search-input\\\"\\n      value={{emojiFilter}}\\n      placeholder=\\\"Search emoji…\\\"\\n      oninput={{action (mut emojiFilter) value=\\\"target.value\\\"}}\\n      data-test-emoji-filter-input\\n    />\\n  </AutoFocusComponent>\\n</div>\\n<div class=\\\"layout__box o__flexes-to-1 u__relative u__ml__15\\\">\\n  <EmberCollection\\n    @items={{collectionItems}}\\n    @buffer={{0}}\\n    @estimated-height={{253}}\\n    @estimated-width={{338}}\\n    @cell-layout={{mixed-grid-layout collectionItems}} as |item index|\\n  >\\n    {{#if item.isTitle}}\\n      <div class=\\\"emoji__popover__header\\\">\\n        <div class=\\\"t__light-text\\\">\\n          {{item.title}}\\n        </div>\\n      </div>\\n    {{else}}\\n      <span\\n        class=\\\"emoji__popover__icon o__in-panel\\\"\\n        title=\\\"{{item.emoji.title}}\\\"\\n        data-test-emoji-in-list\\n        {{action \\\"selected\\\" item.emoji.identifier}}\\n      >\\n        {{{item.emoji.display}}}\\n      </span>\\n    {{/if}}\\n  </EmberCollection>\\n</div>\\n<div class=\\\"popover-fade__mask popover-fade__mask__bottom\\\"></div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable no-bare-strings no-triple-curlies --}}\\n{{!-- NOTE: please don't add additional uses of triple curlies in embercom --}}\\n{{!--       see https://github.com/intercom/embercom/wiki/Avoiding-XSS-in-Embercom --}}\\n{{!--estimated-height/width only have an impact in testing, in prod the dimensions are inferred from the parent--}}\\n<div class=\\\"layout__box u__relative gif__list-item gif__list-item__search\\\">\\n  <span class=\\\"gif__list-item__search-icon\\\">\\n    {{ic-interface-icon \\\"search\\\"}}\\n  </span>\\n  {{#if emojiFilter}}\\n    <a class=\\\"gif__list-item__search-clear\\\" {{action (mut emojiFilter) \\\"\\\" bubbles=false}}>\\n      {{ic-interface-icon \\\"small-close\\\"}}\\n    </a>\\n  {{/if}}\\n  <AutoFocusComponent>\\n    <input\\n      type=\\\"text\\\"\\n      class=\\\"f__text gif__list-item__search-input\\\"\\n      value={{emojiFilter}}\\n      placeholder=\\\"Search emoji…\\\"\\n      oninput={{action (mut emojiFilter) value=\\\"target.value\\\"}}\\n      data-test-emoji-filter-input\\n    />\\n  </AutoFocusComponent>\\n</div>\\n<div class=\\\"layout__box o__flexes-to-1 u__relative u__ml__15\\\">\\n  <EmberCollection\\n    @items={{collectionItems}}\\n    @buffer={{0}}\\n    @estimated-height={{253}}\\n    @estimated-width={{338}}\\n    @cell-layout={{mixed-grid-layout collectionItems}} as |item index|\\n  >\\n    {{#if item.isTitle}}\\n      <div class=\\\"emoji__popover__header\\\">\\n        <div class=\\\"t__light-text\\\">\\n          {{item.title}}\\n        </div>\\n      </div>\\n    {{else}}\\n      <span\\n        class=\\\"emoji__popover__icon o__in-panel\\\"\\n        title=\\\"{{item.emoji.title}}\\\"\\n        data-test-emoji-in-list\\n        {{action \\\"selected\\\" item.emoji.identifier}}\\n      >\\n        {{{item.emoji.display}}}\\n      </span>\\n    {{/if}}\\n  </EmberCollection>\\n</div>\\n<div class=\\\"popover-fade__mask popover-fade__mask__bottom\\\"></div>\\n\",\"moduleName\":\"embercom/components/emoji-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/emoji-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { A } from '@ember/array';\nimport Component from '@ember/component';\nimport EmberObject, { computed } from '@ember/object';\nimport { notEmpty } from '@ember/object/computed';\nimport storage from 'embercom/vendor/intercom/storage';\nimport intermoji from '@intercom/intermoji';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nconst titleItem = function(title) {\n  return EmberObject.create({\n    isTitle: true,\n    title,\n    width: 283,\n    height: 40,\n  });\n};\n\nconst spacerItem = function() {\n  return EmberObject.create({\n    isTitle: true,\n    width: 283,\n    height: 40,\n  });\n};\n\nconst emojiItem = function(emoji) {\n  return EmberObject.create({\n    width: 44,\n    height: 40,\n    emoji,\n  });\n};\n\nexport default Component.extend({\n  classNames: ['layout__box', 'o__has-rows', 'o__flexes-to-1', 'emoji-component-wrapper'],\n  emoji: intermoji,\n  emojiSize: 16,\n  spaced: false,\n  maxUserEmoji: 10,\n  emojiImageClass: 'emoji__image',\n  defaultEmojis: ['thumbs_up', '-1', 'sob', 'confused', 'neutral_face', 'blush', 'heart_eyes'],\n  emojiFilter: '',\n  hasFilter: notEmpty('emojiFilter'),\n  filteredEmojis: computed('emojiFilter', function() {\n    let regexp = new RegExp(this.emojiFilter, 'i');\n    return intermoji.allEmoticonsIdentifierList\n      .filter(identifier => regexp.test(identifier))\n      .reduce((acc, identifier) => {\n        let unicodeIcon = this.emoji.unicodeFromIdentifier(identifier);\n        if (this.emoji.isEmojiBaseUnicode(unicodeIcon)) {\n          return [...acc, this._buildEmojiItem({ identifier })];\n        } else {\n          return acc;\n        }\n      }, []);\n  }),\n\n  init() {\n    this._super(...arguments);\n    let userEmojis = storage.get('userEmojis') || [];\n    let userEmojiIdentifiersUnsupported = userEmojis.some(\n      userEmoji => !this.emoji.isSupportedIdentifier(userEmoji),\n    );\n\n    if (userEmojiIdentifiersUnsupported) {\n      storage.set('userEmojis', userEmojis);\n      this.set('userEmojis', []);\n    } else {\n      this.set('userEmojis', userEmojis);\n    }\n  },\n\n  selectEmoji() {},\n\n  hasNativeSupport: computed(function() {\n    if (this.forceTwemojis) {\n      return false;\n    }\n    return this.emoji.hasNativeSupport(document);\n  }),\n\n  _addUserEmoji(emojiIdentifier) {\n    if (this.defaultEmojis.includes(emojiIdentifier)) {\n      return;\n    }\n    let userEmojis = this.userEmojis;\n    if (userEmojis.length > this.maxUserEmoji) {\n      userEmojis.popObject();\n    }\n    if (userEmojis.includes(emojiIdentifier)) {\n      userEmojis.removeObject(emojiIdentifier);\n    }\n    userEmojis.unshiftObject(emojiIdentifier);\n    storage.set('userEmojis', userEmojis);\n  },\n\n  lastUsedEmojis: computed('userEmojis.[]', function() {\n    let identifiers = this.userEmojis.concat(this.defaultEmojis);\n\n    return identifiers.map(identifier => this._buildEmojiItem({ identifier }));\n  }),\n\n  groups: computed(function() {\n    let groups = A();\n    let representatives = this.emoji.getGroupRepresentatives();\n\n    this.emoji.prettyEmoticonsUnicodeGroups().forEach((unicodeIcons, index) => {\n      let emojis = A();\n      unicodeIcons.forEach(unicodeIcon => {\n        if (this.emoji.isEmojiBaseUnicode(unicodeIcon)) {\n          emojis.pushObject(this._buildEmojiItem({ unicodeIcon }));\n        }\n      });\n\n      groups.pushObject({\n        name: representatives[index][1],\n        emojis,\n      });\n    });\n\n    return groups;\n  }),\n\n  allEmojiItems: computed('lastUsedEmojis.[]', 'groups.{name,emojis.[]}', function() {\n    let items = [];\n    items.push(titleItem('Frequently used'));\n    items.pushObjects(this.lastUsedEmojis);\n\n    this.groups.forEach(group => {\n      items.push(titleItem(group.name));\n      items.pushObjects(group.emojis);\n    });\n\n    items.push(spacerItem());\n    return items;\n  }),\n  collectionItems: ternaryToProperty('hasFilter', 'filteredEmojis', 'allEmojiItems'),\n\n  _buildEmojiItem({ unicodeIcon, identifier }) {\n    if (!identifier && !unicodeIcon) {\n      throw new Error('You must provide one of `identifier` or `unicodeIcon`');\n    }\n    if (!identifier) {\n      identifier = this.emoji.identifierFromUnicode(unicodeIcon);\n    } else if (!unicodeIcon) {\n      unicodeIcon = this.emoji.unicodeFromIdentifier(identifier);\n    }\n    return emojiItem({\n      display: this._getDisplayableEmoji(unicodeIcon),\n      identifier,\n      title: `:${identifier}:`,\n    });\n  },\n\n  _getDisplayableEmoji(unicodeIcon) {\n    let display = unicodeIcon;\n    if (!this.hasNativeSupport) {\n      display = this.emoji.fallbackImage(this.emojiSize, display, this.emojiImageClass);\n    }\n    return display;\n  },\n\n  actions: {\n    selected(emojiIdentifier) {\n      this._addUserEmoji(emojiIdentifier);\n      this.selectEmoji(emojiIdentifier);\n    },\n  },\n});\n","import EmojiInserterComponent from '@intercom/embercom-composer/components/emoji-inserter';\nexport default EmojiInserterComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isOpen}}\\n  {{#if showCaret}}\\n    <svg width=\\\"8px\\\" height=\\\"11px\\\" viewBox=\\\"0 0 8 11\\\" version=\\\"1.1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"overlay__popover-caret {{if isCaretBelow \\\"o__bottom\\\"}} {{if isCaretAbove \\\"o__top\\\"}}\\\" style={{caretStyle}}>\\n      <g stroke=\\\"none\\\" stroke-width=\\\"1\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\">\\n        <path d=\\\"M4.4408921e-16,-0.5 L7,6 L4.4408921e-16,11.5 L-3,11 L-3,0 L4.4408921e-16,-0.5 Z\\\" class=\\\"overlay__popover-caret__vector\\\" stroke=\\\"#979797\\\" fill=\\\"#F6A623\\\"></path>\\n      </g>\\n    </svg>\\n  {{/if}}\\n  <EmojiComponent @selectEmoji={{action \\\"selectEmoji\\\"}} />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isOpen}}\\n  {{#if showCaret}}\\n    <svg width=\\\"8px\\\" height=\\\"11px\\\" viewBox=\\\"0 0 8 11\\\" version=\\\"1.1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"overlay__popover-caret {{if isCaretBelow \\\"o__bottom\\\"}} {{if isCaretAbove \\\"o__top\\\"}}\\\" style={{caretStyle}}>\\n      <g stroke=\\\"none\\\" stroke-width=\\\"1\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\">\\n        <path d=\\\"M4.4408921e-16,-0.5 L7,6 L4.4408921e-16,11.5 L-3,11 L-3,0 L4.4408921e-16,-0.5 Z\\\" class=\\\"overlay__popover-caret__vector\\\" stroke=\\\"#979797\\\" fill=\\\"#F6A623\\\"></path>\\n      </g>\\n    </svg>\\n  {{/if}}\\n  <EmojiComponent @selectEmoji={{action \\\"selectEmoji\\\"}} />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/emoji-popover-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/emoji-popover-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/no-on-calls-in-components */\nimport { later } from '@ember/runloop';\nimport { on } from '@ember/object/evented';\nimport { equal } from '@ember/object/computed';\nimport Conversation from 'embercom/models/conversation';\nimport PointerPositioner from 'embercom/lib/pointer-position';\nimport LegacyOverlayBaseComponent from 'embercom/components/legacy-overlay-base-component';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default LegacyOverlayBaseComponent.extend({\n  classNames: ['layout__box', 'o__flexes-to-1', 'o__has-rows', 'emoji__popover'],\n  classNameBindings: ['spaced:o__spaced'],\n  caretOffset: 10,\n  showCaret: true,\n  inConversationCard: false,\n  isCaretAbove: equal('popoverPosition', 'below'),\n  isCaretBelow: equal('popoverPosition', 'above'),\n  openerElementSelector: templateString('#${parentElementId} .js__popover-opener__emoji'),\n  popoverElementSelector: templateString('#${parentElementId} .emoji__popover.js__popover'),\n  forceTwemojis: false,\n\n  onDidInsertElement: on('didInsertElement', function() {\n    this.set('pointerPositioner', new PointerPositioner(this.caretOffset));\n    if (this.inConversationCard) {\n      later(this, this.updatePopoverPosition, Conversation.CARD_ANIMATION_TIME);\n    } else {\n      this.updatePopoverPosition();\n    }\n    if (this.isOpen) {\n      this._isOpenChanged();\n    }\n  }),\n\n  actions: {\n    selectEmoji(emojiIdentifier) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('selectEmoji', emojiIdentifier);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<OneWayInput\\n  @classNames=\\\"f__text text-blue {{if invalidUrl 'o__error'}}\\\"\\n  @value={{url}}\\n  placeholder=\\\"yourwebsite.com/pricing\\\"\\n  @update={{action \\\"updateUrl\\\"}}\\n  @keyEvents={{hash 13=(action onEnterPressed)}}\\n  data-test-event-url={{true}}\\n/>\\n{{#if (and isOpen uniqueDomainSuggestionsNotEmpty)}}\\n  <div class=\\\"u__relative\\\">\\n    <div class=\\\"events-creator-url__suggestions__container\\\">\\n      <div class=\\\"events-creator-url__suggestions__list\\\">\\n        {{#each uniqueDomainSuggestions as |domain|}}\\n          <a class=\\\"dropdown__list-item o__hoverable u__one-truncated-line\\\" {{action \\\"updateUrl\\\" domain}}>\\n            {{domain}}\\n          </a>\\n        {{/each}}\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<OneWayInput\\n  @classNames=\\\"f__text text-blue {{if invalidUrl 'o__error'}}\\\"\\n  @value={{url}}\\n  placeholder=\\\"yourwebsite.com/pricing\\\"\\n  @update={{action \\\"updateUrl\\\"}}\\n  @keyEvents={{hash 13=(action onEnterPressed)}}\\n  data-test-event-url={{true}}\\n/>\\n{{#if (and isOpen uniqueDomainSuggestionsNotEmpty)}}\\n  <div class=\\\"u__relative\\\">\\n    <div class=\\\"events-creator-url__suggestions__container\\\">\\n      <div class=\\\"events-creator-url__suggestions__list\\\">\\n        {{#each uniqueDomainSuggestions as |domain|}}\\n          <a class=\\\"dropdown__list-item o__hoverable u__one-truncated-line\\\" {{action \\\"updateUrl\\\" domain}}>\\n            {{domain}}\\n          </a>\\n        {{/each}}\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/events-creator-url-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/events-creator-url-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { mapBy, uniq, gt } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\n// eslint-disable-next-line @intercom/intercom/no-legacy-dropdown\nimport ComponentDropdownToggler from 'embercom/components/mixins/component-dropdown-toggler';\n\nexport default Component.extend(ComponentDropdownToggler, {\n  url: '',\n  urlHost: computed('url', function() {\n    return this.url.toLowerCase().replace(/^http(?:s?):\\/\\//, '');\n  }),\n  domainNames: mapBy('pingDomains', 'domain'),\n  uniqueDomainNames: uniq('domainNames'),\n  uniqueDomainSuggestions: computed('uniqueDomainNames', 'urlHost', function() {\n    return this.uniqueDomainNames.filter(domainName => domainName.includes(this.urlHost));\n  }),\n  uniqueDomainSuggestionsNotEmpty: gt('uniqueDomainSuggestions.length', 0),\n\n  actions: {\n    updateUrl(url) {\n      this.set('url', url);\n      this.onUrlChanged(this.url);\n    },\n  },\n});\n","import ExpandableListComponent from '@intercom/embercom-composer/components/expandable-list';\nexport default ExpandableListComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<pre class=\\\"f__expanding-textarea-spacer\\\"><span>{{preCursorContent}}<span class=\\\"js_cursor_position\\\"></span>{{postCursorContent}}</span><br></pre>\\n<Textarea\\n  data-test-expanding-textarea\\n  @value={{textareaContent}}\\n  class={{textareaClasses}}\\n  @maxlength={{maxLength}}\\n  @disabled={{isDisabled}}\\n  placeholder={{textareaPlaceholder}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<pre class=\\\"f__expanding-textarea-spacer\\\"><span>{{preCursorContent}}<span class=\\\"js_cursor_position\\\"></span>{{postCursorContent}}</span><br></pre>\\n<Textarea\\n  data-test-expanding-textarea\\n  @value={{textareaContent}}\\n  class={{textareaClasses}}\\n  @maxlength={{maxLength}}\\n  @disabled={{isDisabled}}\\n  placeholder={{textareaPlaceholder}}\\n/>\\n\",\"moduleName\":\"embercom/components/expanding-textarea-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/expanding-textarea-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport $ from 'jquery';\nimport Component from '@ember/component';\nimport { addEventListener, runDisposables } from 'ember-lifeline';\n\nconst ENTER = 13;\n\nlet ExpandingTextareaComponent = Component.extend({\n  classNames: ['f__expanding-textarea-wrapper', 'o__fit'],\n\n  defaultTextareaClasses:\n    'm__conversation-expanding-textarea f__expanding-textarea-field o__fit f__text',\n\n  minHeight: 70,\n  maxHeight: 200,\n  maxLength: '65535',\n  inConversationCard: false,\n  useNoteStyle: false,\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.set('inConversationCard', $(this.element).parents('.conversation__card').length !== 0);\n    this.styleTextarea();\n    this.stylePre(false);\n    this.set('textareaDimensions', this._getCurrentDimensions());\n    this.set('textareaElement', $('textarea', this.element)[0]);\n    addEventListener(this, window, 'resize', () => this.setMaxHeight());\n  },\n\n  destroy() {\n    this._super(...arguments);\n    runDisposables(this);\n  },\n\n  willDestroyElement() {\n    this.set('textareaElement', null);\n    this._super(...arguments);\n  },\n\n  setMaxHeight() {\n    let scrollHeight = $('.conversation__view__stream-wrapper').height();\n    let maxHeight = `${(scrollHeight / 100) * 25}px`;\n    this.set('maxHeight', maxHeight);\n    this.stylePre();\n    this.styleTextarea();\n  },\n\n  textareaClasses: computed('useNoteStyle', function() {\n    let defaultClasses = this.defaultTextareaClasses;\n    if (this.useNoteStyle) {\n      return `${defaultClasses} o__note`;\n    } else {\n      return defaultClasses;\n    }\n  }),\n\n  preCursorContent: computed('textareaContent', 'textareaElement', function() {\n    let properties = this.getProperties('textareaContent', 'textareaElement');\n    if (!properties.textareaContent || !properties.textareaElement) {\n      return '';\n    }\n    let cursorPosition = properties.textareaElement.selectionStart;\n    return properties.textareaContent.substr(0, cursorPosition);\n  }),\n\n  postCursorContent: computed('textareaContent', 'textareaElement', function() {\n    let properties = this.getProperties('textareaContent', 'textareaElement');\n    if (!properties.textareaContent || !properties.textareaElement) {\n      return '';\n    }\n    let cursorPosition = properties.textareaElement.selectionStart;\n    return properties.textareaContent.substr(cursorPosition);\n  }),\n\n  focusIn() {\n    this.set(\n      'minHeight',\n      parseInt($('textarea', this.element).css('paddingTop'), 10) +\n        parseInt($('textarea', this.element).css('paddingBottom'), 10) +\n        parseInt($('textarea', this.element).css('lineHeight'), 10) * 3,\n    );\n    this.stylePre(true);\n    if (this.onFocusIn) {\n      this.onFocusIn();\n    }\n  },\n\n  focusOut() {\n    if ($.trim($('textarea', this.element).val()) === '') {\n      this.stylePre(false);\n    }\n    this._changeOrInput();\n    if (this.onFocusOut) {\n      this.onFocusOut();\n    }\n  },\n\n  input() {\n    this._changeOrInput();\n  },\n\n  change() {\n    this._changeOrInput();\n  },\n\n  keyDown(e) {\n    if (e.keyCode === ENTER && this.onEnter) {\n      this.onEnter();\n    }\n  },\n\n  _changeOrInput() {\n    this.set('textareaDimensions', this._getCurrentDimensions());\n    this.set('cursorPosition', this._getCursorPosition());\n  },\n\n  _getCurrentDimensions() {\n    let $textarea = $('textarea', this.element);\n    return {\n      width: $textarea.width(),\n      height: $textarea.height(),\n      scrollbarWidth: this.getScrollbarWidth($textarea),\n      scrollbarHeight: this.getScrollbarHeight($textarea),\n    };\n  },\n\n  _getCursorPosition() {\n    let textarea = $('.js_cursor_position', this.element)[0];\n    let top = textarea ? textarea.offsetTop : 0;\n    let left = textarea ? textarea.offsetLeft : 0;\n    return {\n      top,\n      left,\n    };\n  },\n\n  getScrollbarWidth($textarea) {\n    return $textarea[0].offsetWidth - $textarea[0].clientWidth;\n  },\n\n  getScrollbarHeight($textarea) {\n    return $textarea[0].offsetHeight - $textarea[0].clientHeight;\n  },\n\n  styleTextarea() {\n    let textarea = $('textarea', this.element);\n    textarea.css({\n      minHeight: this.minHeight,\n      maxHeight: this.maxHeight,\n    });\n  },\n\n  stylePre(focused) {\n    let textarea = $('textarea', this.element);\n    let pre = $('pre', this.element);\n    if (typeof focused !== 'undefined') {\n      if (focused) {\n        pre.addClass('focused');\n      } else {\n        pre.removeClass('focused');\n      }\n    }\n    pre.css({\n      padding: textarea.css('padding'),\n      fontSize: textarea.css('fontSize'),\n      lineHeight: textarea.css('lineHeight'),\n      font: textarea.css('font'),\n      border: textarea.css('border'),\n      minHeight: this.minHeight,\n      overflow: 'hidden',\n      boxSizing: textarea.css('box-sizing'),\n      maxHeight: this.maxHeight,\n      marginBottom: textarea.css('marginBottom'),\n    });\n  },\n});\n\nexport default ExpandingTextareaComponent;\n","import FacebookLikeButtonEditor from '@intercom/embercom-composer/components/facebook-like-button-editor';\nexport default FacebookLikeButtonEditor;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span\\n  id={{@id}}\\n  class='upgrade__arrow {{if @isBullet 'o__bullet'}} {{if @isInactive  'u__hidden' 'test__upgrade__arrow'}}'\\n  ...attributes\\n>\\n  {{inline-svg 'paywall-up-arrow'}}\\n</span>\\n\", {\"contents\":\"<span\\n  id={{@id}}\\n  class='upgrade__arrow {{if @isBullet 'o__bullet'}} {{if @isInactive  'u__hidden' 'test__upgrade__arrow'}}'\\n  ...attributes\\n>\\n  {{inline-svg 'paywall-up-arrow'}}\\n</span>\\n\",\"moduleName\":\"embercom/components/feature-upgrade-arrow-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/feature-upgrade-arrow-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if this.isShown}}\\n  <div class=\\\"upgrade__prompt__body\\\">\\n    <p class=\\\"upgrade__feature-availability t__label\\\">\\n      {{#if this.customCTA}}\\n        {{this.customCTA}}:\\n      {{else}}\\n        Get {{this.featureName}} with:\\n      {{/if}}\\n    </p>\\n    <ul class=\\\"upgrade__prompt__product-list\\\">\\n      {{#each this.availablePlans as |plan|}}\\n        {{#if this.paywallComplete}}\\n          <div class=\\\"upgrade__prompt__postupgrade\\\">\\n            <div class=\\\"upgrade__prompt__upgraded\\\">\\n              <div>\\n                <img src=\\\"/assets/images/upgrade/high-five.png\\\" class=\\\"upgrade__prompt__image\\\" />\\n              </div>\\n              Product Upgraded!\\n            </div>\\n            <div class=\\\"upgrade__prompt__completed-product-icon\\\">\\n              <div class=\\\"upgrade__prompt__product-icon\\\">\\n                <ProductIconComponent @product={{plan.product}} />\\n              </div>\\n            </div>\\n            <div class=\\\"upgrade__prompt__upgraded-message\\\">\\n              You now have {{plan.product.name}} {{plan.name}}\\n            </div>\\n          </div>\\n        {{else}}\\n          <li class=\\\"package upgrade__prompt__product-list-item\\\">\\n            <div\\n              class=\\\"{{if this.showLightweightUpgrade \\\"upgrade__prompt__lightweight-product-icon\\\" \\\"upgrade__prompt__product-icon\\\"}}\\\"\\n            >\\n              <ProductIconComponent\\n                @product={{plan.product}}\\n                @useSmallScale={{true}}\\n              />\\n            </div>\\n            <div class=\\\"upgrade__prompt__product-name\\\">\\n              <div>\\n                {{plan.product.name}} <span>{{unless plan.product.hasOnePlan plan.name}}</span>\\n              </div>\\n            </div>\\n          </li>\\n        {{/if}}\\n      {{/each}}\\n    </ul>\\n  </div>\\n  {{#unless this.paywallComplete}}\\n    <div class=\\\"upgrade__prompt__footer border-t\\\">\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @fit={{true}}\\n        @size=\\\"call-to-action\\\"\\n        @onClick={{action \\\"loadAndShowModal\\\"}}\\n      >\\n        {{#if this.customUpgradeButton}}\\n          {{this.customUpgradeButton}}\\n        {{else}}\\n          Learn more\\n        {{/if}}\\n      </IcButton>\\n    </div>\\n  {{/unless}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if this.isShown}}\\n  <div class=\\\"upgrade__prompt__body\\\">\\n    <p class=\\\"upgrade__feature-availability t__label\\\">\\n      {{#if this.customCTA}}\\n        {{this.customCTA}}:\\n      {{else}}\\n        Get {{this.featureName}} with:\\n      {{/if}}\\n    </p>\\n    <ul class=\\\"upgrade__prompt__product-list\\\">\\n      {{#each this.availablePlans as |plan|}}\\n        {{#if this.paywallComplete}}\\n          <div class=\\\"upgrade__prompt__postupgrade\\\">\\n            <div class=\\\"upgrade__prompt__upgraded\\\">\\n              <div>\\n                <img src=\\\"/assets/images/upgrade/high-five.png\\\" class=\\\"upgrade__prompt__image\\\" />\\n              </div>\\n              Product Upgraded!\\n            </div>\\n            <div class=\\\"upgrade__prompt__completed-product-icon\\\">\\n              <div class=\\\"upgrade__prompt__product-icon\\\">\\n                <ProductIconComponent @product={{plan.product}} />\\n              </div>\\n            </div>\\n            <div class=\\\"upgrade__prompt__upgraded-message\\\">\\n              You now have {{plan.product.name}} {{plan.name}}\\n            </div>\\n          </div>\\n        {{else}}\\n          <li class=\\\"package upgrade__prompt__product-list-item\\\">\\n            <div\\n              class=\\\"{{if this.showLightweightUpgrade \\\"upgrade__prompt__lightweight-product-icon\\\" \\\"upgrade__prompt__product-icon\\\"}}\\\"\\n            >\\n              <ProductIconComponent\\n                @product={{plan.product}}\\n                @useSmallScale={{true}}\\n              />\\n            </div>\\n            <div class=\\\"upgrade__prompt__product-name\\\">\\n              <div>\\n                {{plan.product.name}} <span>{{unless plan.product.hasOnePlan plan.name}}</span>\\n              </div>\\n            </div>\\n          </li>\\n        {{/if}}\\n      {{/each}}\\n    </ul>\\n  </div>\\n  {{#unless this.paywallComplete}}\\n    <div class=\\\"upgrade__prompt__footer border-t\\\">\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @fit={{true}}\\n        @size=\\\"call-to-action\\\"\\n        @onClick={{action \\\"loadAndShowModal\\\"}}\\n      >\\n        {{#if this.customUpgradeButton}}\\n          {{this.customUpgradeButton}}\\n        {{else}}\\n          Learn more\\n        {{/if}}\\n      </IcButton>\\n    </div>\\n  {{/unless}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/feature-upgrade-prompt-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/feature-upgrade-prompt-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { cancel, bind, debounce, later } from '@ember/runloop';\nimport $ from 'jquery';\nimport { not } from '@ember/object/computed';\nimport EmberObject, { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport InboundActions from 'ember-component-inbound-actions/inbound-actions';\nimport {\n  fmtStyle,\n  greaterThanProperty,\n  half,\n  ternary,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend(InboundActions, {\n  intercomEventService: service(),\n  classNames: ['upgrade__prompt'],\n  classNameBindings: [\n    'verticalCaretClass',\n    'horizontalCaretClass',\n    'showCaret::o__hide-caret',\n    'isShown::u__hidden',\n  ],\n  attributeBindings: ['style'],\n  jqueryElement: computed('elementId', function() {\n    return $(`#${this.elementId}`);\n  }),\n  feature: null,\n  planId: null,\n  customCTA: null,\n  customUpgradeButton: null,\n  customerService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  verticalCaretClass: ternaryToProperty('showCaret', 'verticalPosition', ''),\n  horizontalCaretClass: ternaryToProperty('showCaret', 'horizontalPosition', ''),\n\n  verticalPosition: ternary('caretIsTop', 'o__caret-top', 'o__caret-bottom'),\n  horizontalPosition: ternary('caretIsLeft', 'o__caret-left', 'o__caret-right'),\n\n  hideTimeout: 150,\n  // Workaround/equivalent of isVisible. Using isVisible is inconsistent and\n  // does not update correctly when hovering over adjacent targets\n  isShown: false,\n  showCaret: true,\n\n  featureName: computed('feature', 'app.products', function() {\n    let products = this.get('app.products');\n    let featureKey = this.feature;\n\n    let plans = products.reduce((plans, product) => {\n      return plans.concat(product.get('plans').toArray());\n    }, []);\n\n    let features = plans.reduce((features, plan) => {\n      return features.concat(plan.get('features').toArray());\n    }, []);\n\n    let feature = features.find(feature => feature.get('key') === featureKey);\n\n    return feature.get('name');\n  }),\n\n  plansWithFeature: computed('feature', 'app.products', function() {\n    let products = this.get('app.products');\n    let featureKey = this.feature;\n\n    return products\n      .map(product => {\n        let planWithFeature = product.get('plans').find(plan => {\n          let featureKeys = plan.get('features').mapBy('key');\n          return featureKeys.includes(featureKey);\n        });\n\n        if (!planWithFeature) {\n          return;\n        }\n\n        return EmberObject.create({\n          product,\n          id: planWithFeature.get('id'),\n          name: product.get('hasOnePlan') ? '' : planWithFeature.get('name'),\n        });\n      })\n      .compact();\n  }),\n\n  plansFromId: computed('planId', 'app.products', function() {\n    let products = this.get('app.products');\n    let planId = this.planId;\n\n    return products\n      .map(product => {\n        let plan = product.get('plans').findBy('id', planId);\n\n        if (!plan) {\n          return;\n        }\n\n        return EmberObject.create({\n          product,\n          id: plan.get('id'),\n          name: product.get('hasOnePlan') ? '' : plan.get('name'),\n        });\n      })\n      .compact();\n  }),\n\n  availablePlans: ternaryToProperty('feature', 'plansWithFeature', 'plansFromId'),\n\n  componentWidth: computed('jqueryElement', function() {\n    return this.jqueryElement.width();\n  }),\n\n  windowHeight: computed(function() {\n    return window.innerHeight;\n  }),\n\n  windowWidth: computed(function() {\n    return window.innerWidth;\n  }),\n\n  halfWindowHeight: half('windowHeight'),\n  halfWindowWidth: half('windowWidth'),\n  belowVerticalMidPoint: greaterThanProperty('targetBounds.top', 'halfWindowHeight'),\n  beyondHorizontalMidPoint: greaterThanProperty('targetBounds.left', 'halfWindowWidth'),\n  caretIsTop: not('belowVerticalMidPoint'),\n\n  caretIsLeft: computed('windowWidth', 'targetBounds', 'componentWidth', function() {\n    if (this.targetBounds) {\n      return this.windowWidth - this.targetBounds.left > this.componentWidth;\n    }\n  }),\n\n  topOrBottomStyle: ternary('caretIsTop', 'top', 'bottom'),\n  leftOrRightStyle: ternary('caretIsLeft', 'left', 'right'),\n  topOrBottomOffset: ternaryToProperty('caretIsTop', 'targetBounds.top', 'targetBounds.bottom'),\n  leftOrRightOffset: ternaryToProperty('caretIsLeft', 'targetBounds.left', 'targetBounds.right'),\n  style: fmtStyle(\n    '%@: %@px; %@: %@px;',\n    'topOrBottomStyle',\n    'topOrBottomOffset',\n    'leftOrRightStyle',\n    'leftOrRightOffset',\n  ),\n\n  targetBounds: computed('targetSelector', 'windowWidth', 'windowHeight', 'isShown', function() {\n    let $target = $(this.targetSelector);\n\n    if (!$target.length) {\n      return;\n    }\n\n    let clientRect = $target[0].getBoundingClientRect();\n\n    return {\n      top: clientRect.top + clientRect.height,\n      bottom: this.windowHeight - clientRect.bottom + clientRect.height,\n      left: clientRect.left,\n      right: this.windowWidth - clientRect.right,\n    };\n  }),\n\n  cancelHide() {\n    cancel(this.scheduledHide);\n  },\n\n  isInsideUi(target) {\n    let $hoverEl = $(this.hoverSelector);\n    return (\n      this.jqueryElement.find(target).length ||\n      $hoverEl.find(target).length ||\n      $hoverEl[0] === target\n    );\n  },\n\n  handleIsShownChanged() {\n    this.cancelHide();\n\n    if (this.isShown) {\n      this.addHideListeners();\n    } else {\n      this.removeHideListeners();\n    }\n  },\n\n  addHideListeners() {\n    let elementId = this.elementId;\n    $('body').on(`mousemove.${elementId}`, bind(this, this.bodyMouseMove));\n    $('div').on(`scroll.${elementId}`, bind(this, this.containerScroll));\n  },\n\n  removeHideListeners() {\n    let elementId = this.elementId;\n    $('body').off(`mousemove.${elementId}`);\n    $('div').off(`scroll.${elementId}`);\n  },\n\n  _resetWindowWidthAndHeight() {\n    this.notifyPropertyChange('windowHeight');\n    this.notifyPropertyChange('windowWidth');\n  },\n\n  resetWindowWidthAndHeight() {\n    this.set('debounceTimer', debounce(this, this._resetWindowWidthAndHeight, 150));\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    //eslint-disable-next-line @intercom/intercom/no-jquery-window-on\n    $(window).on(\n      `resize.feature-upgrade-prompt-component-${this.elementId}`,\n      bind(this, this.resetWindowWidthAndHeight),\n    );\n  },\n\n  willDestroyElement() {\n    this.cancelHide();\n    cancel(this.debounceTimer);\n    this.removeHideListeners();\n    $(window).off(`resize.feature-upgrade-prompt-component-${this.elementId}`);\n    this._super(...arguments);\n  },\n\n  containerScroll() {\n    this.send('hide');\n  },\n\n  bodyMouseMove(e) {\n    this.cancelHide();\n    let timeout = this.hideTimeout;\n\n    if (!this.isInsideUi(e.target)) {\n      this.set(\n        'scheduledHide',\n        later(\n          this,\n          () => {\n            this.send('hide');\n          },\n          timeout,\n        ),\n      );\n    }\n  },\n\n  actions: {\n    async loadAndShowModal() {\n      let onCustomUpgradeButtonClick = this.onCustomUpgradeButtonClick;\n\n      if (onCustomUpgradeButtonClick) {\n        await onCustomUpgradeButtonClick();\n      }\n\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('paywall', this.feature, this.planId);\n      this.send('hide');\n    },\n\n    show(\n      feature,\n      planId,\n      targetSelector,\n      hoverSelector,\n      customCTA,\n      customUpgradeButton,\n      onCustomUpgradeButtonClick,\n      analyticsMetadata,\n    ) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'viewed',\n        object: 'paywall',\n        feature,\n        planId,\n        ...analyticsMetadata,\n      });\n\n      this.setProperties({\n        feature,\n        planId,\n        targetSelector,\n        hoverSelector,\n        customCTA,\n        customUpgradeButton,\n        onCustomUpgradeButtonClick,\n      });\n      this.set('isShown', true);\n      this.handleIsShownChanged();\n    },\n\n    hide() {\n      this.set('isShown', false);\n      this.handleIsShownChanged();\n      this.set('paywallComplete', false);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<input\\n  type=\\\"file\\\"\\n  name=\\\"files[]\\\"\\n  accept=\\\"{{accept}}\\\"\\n  data-url={{uploadsUrl}}\\n  multiple\\n  class=\\\"f__hidden-fileupload\\\"\\n  tabindex=\\\"-1\\\"\\n>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<input\\n  type=\\\"file\\\"\\n  name=\\\"files[]\\\"\\n  accept=\\\"{{accept}}\\\"\\n  data-url={{uploadsUrl}}\\n  multiple\\n  class=\\\"f__hidden-fileupload\\\"\\n  tabindex=\\\"-1\\\"\\n>\\n\",\"moduleName\":\"embercom/components/file-upload-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/file-upload-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport $ from 'jquery';\nimport { on } from '@ember/object/evented';\nimport Component from '@ember/component';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\n\nlet FileUploadComponent = Component.extend({\n  uploadsUrl: templateString('/ember/uploads/?app_id=${appId}'),\n  maximumAllowedFileSize: 41943040,\n\n  initializeFileUpload: on('didInsertElement', function() {\n    let self = this;\n    let uploadInput = $('input', this.element);\n    uploadInput.fileupload({\n      dropZone: $('.js_conversation_control_form .f__expanding-textarea-wrapper'),\n      pasteZone: $('.js_conversation_control_form .f__expanding-textarea-wrapper'),\n      dataType: 'json',\n      add(e, data) {\n        let isSubmitAllowed = true;\n        data.originalFiles.forEach(function(file) {\n          if (file.size > self.get('maximumAllowedFileSize')) {\n            isSubmitAllowed = false;\n            // eslint-disable-next-line ember/closure-actions\n            self.sendAction('displayFileSizeError');\n          }\n        });\n        if (isSubmitAllowed) {\n          if (\n            data.autoUpload ||\n            (data.autoUpload !== false && $(this).fileupload('option', 'autoUpload'))\n          ) {\n            data.process().done(function() {\n              data.submit();\n            });\n          }\n        }\n      },\n      done(e, data) {\n        let uploads = [];\n        data.result.files.forEach(function(file) {\n          uploads.push({\n            id: file.id,\n            name: file.name,\n            url: file.url,\n            contentType: file.content_type,\n            isImage: file.is_image,\n          });\n        });\n        // eslint-disable-next-line ember/closure-actions\n        self.sendAction('uploadsAdded', uploads);\n      },\n      always() {\n        self.set('started', false);\n        self.set('progress', 0);\n        // eslint-disable-next-line ember/closure-actions\n        self.sendAction('endUploading');\n      },\n      start() {\n        self.set('started', true);\n        self.set('progress', 0);\n        // eslint-disable-next-line ember/closure-actions\n        self.sendAction('startUploading');\n      },\n      progressall(e, data) {\n        let progress = data.total > 0 ? data.loaded / data.total : 0;\n        progress = parseInt(progress * 100, 10);\n        self.set('started', true);\n        self.set('progress', progress);\n      },\n    });\n  }),\n\n  destroyFileUpload: on('willDestroyElement', function() {\n    $('input', this.element).fileupload('destroy');\n  }),\n});\n\nexport default FileUploadComponent;\n","import Component from '@ember/component';\n\nexport default Component.extend({\n  tagName: 'span',\n});\n","define(\"embercom/components/filter-block/base-filter-block-popover\", [\"exports\", \"predicates/components/filter-block/base-filter-block-popover\"], function (_exports, _baseFilterBlockPopover) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _baseFilterBlockPopover.default;\n    }\n  });\n});\n","define(\"embercom/components/filter-block/filter-block-editor\", [\"exports\", \"predicates/components/filter-block/filter-block-editor\"], function (_exports, _filterBlockEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _filterBlockEditor.default;\n    }\n  });\n});\n","define(\"embercom/components/filter-block/filter-block-options\", [\"exports\", \"predicates/components/filter-block/filter-block-options\"], function (_exports, _filterBlockOptions) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _filterBlockOptions.default;\n    }\n  });\n});\n","define(\"embercom/components/filter-block/filter-block-popover-housing\", [\"exports\", \"predicates/components/filter-block/filter-block-popover-housing\"], function (_exports, _filterBlockPopoverHousing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _filterBlockPopoverHousing.default;\n    }\n  });\n});\n","define(\"embercom/components/filter-group-editor\", [\"exports\", \"predicates/components/filter-group-editor\"], function (_exports, _filterGroupEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _filterGroupEditor.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { empty } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  objectFilter: '',\n  objectFilterKey: 'name',\n  objectWrapperHeight: computed('objectsToDisplay.length', 'objectHeight', function() {\n    let height = this.get('objectsToDisplay.length') * this.objectHeight;\n    return `height: ${height}px`;\n  }),\n  objectsAreUnfiltered: empty('objectFilter'),\n  objectsToDisplay: ternaryToProperty('objectsAreUnfiltered', 'objects', 'filteredObjects'),\n  filteredObjects: computed('objectFilter', 'objects.[]', 'objectFilterKey', function() {\n    let lowerCaseObjectFilter = this.objectFilter.toLowerCase();\n    let objects = this.objects;\n    let objectFilterKey = this.objectFilterKey;\n    return objects.filter(object =>\n      object\n        .get(objectFilterKey)\n        .toLowerCase()\n        .includes(lowerCaseObjectFilter),\n    );\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  isFocussed: false,\n  disabled: false,\n  classNameBindings: ['isFocussed:is-focussed'],\n\n  focusIn() {\n    if (!this.disabled) {\n      this.set('isFocussed', true);\n    }\n  },\n\n  focusOut() {\n    if (!this.disabled) {\n      this.set('isFocussed', false);\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport $ from 'jquery';\nimport { or } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { templateString, ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport AttributeInputInserter from 'embercom/components/mixins/attribute-input-inserter';\n\nexport default Component.extend(AttributeInputInserter, {\n  value: '',\n  placeholder: '',\n  isDisabled: false,\n  caretPosition: 0,\n  canInsertAttributes: true,\n  isFocused: false,\n  attributePopoverIsShown: false,\n  showAttributeSelector: or('isFocused', 'attributePopoverIsShown'),\n  formClasses: '',\n  selectorClasses: '',\n  selectorIsOpenClass: ternary('attributePopoverIsShown', 'o__open', ''),\n  combinedSelectorClasses: templateString('${selectorClasses} ${selectorIsOpenClass}'),\n  errorClass: ternary('error', 'o__error', ''),\n  combinedFormClasses: templateString('js__form-with-attributes ${formClasses} ${errorClass}'),\n  didInsertElement() {\n    this._super(...arguments);\n    this.storeCaretPosition();\n  },\n  focusIn(e) {\n    if ($(e.target).is('.js__form-with-attributes')) {\n      this.setProperties({\n        attributePopoverIsShown: false,\n        isFocused: true,\n      });\n    }\n  },\n  focusOut() {\n    if ($('.js__input-attribute-selector.o__hover', this.element).length) {\n      this.setProperties({\n        attributePopoverIsShown: true,\n        isFocused: false,\n      });\n      return;\n    }\n    this.set('isFocused', false);\n  },\n  actions: {\n    addAttribute(attributeData) {\n      this.addAttributeAndFocus(attributeData, 'value');\n    },\n  },\n});\n","define(\"embercom/components/form\", [\"exports\", \"@intercom/embercom-core/components/form\"], function (_exports, _form) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _form.default;\n    }\n  });\n});\n","define(\"embercom/components/form/checkbox\", [\"exports\", \"@intercom/embercom-core/components/form/checkbox\"], function (_exports, _checkbox) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _checkbox.default;\n    }\n  });\n});\n","define(\"embercom/components/form/divider\", [\"exports\", \"@intercom/embercom-core/components/form/divider\"], function (_exports, _divider) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _divider.default;\n    }\n  });\n});\n","define(\"embercom/components/form/hint\", [\"exports\", \"@intercom/embercom-core/components/form/hint\"], function (_exports, _hint) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _hint.default;\n    }\n  });\n});\n","define(\"embercom/components/form/input\", [\"exports\", \"@intercom/embercom-core/components/form/input\"], function (_exports, _input) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _input.default;\n    }\n  });\n});\n","define(\"embercom/components/form/item\", [\"exports\", \"@intercom/embercom-core/components/form/item\"], function (_exports, _item) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _item.default;\n    }\n  });\n});\n","define(\"embercom/components/form/label\", [\"exports\", \"@intercom/embercom-core/components/form/label\"], function (_exports, _label) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _label.default;\n    }\n  });\n});\n","define(\"embercom/components/form/radio-button\", [\"exports\", \"@intercom/embercom-core/components/form/radio-button\"], function (_exports, _radioButton) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _radioButton.default;\n    }\n  });\n});\n","define(\"embercom/components/form/radio-group\", [\"exports\", \"@intercom/embercom-core/components/form/radio-group\"], function (_exports, _radioGroup) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _radioGroup.default;\n    }\n  });\n});\n","define(\"embercom/components/form/section-description\", [\"exports\", \"@intercom/embercom-core/components/form/section-description\"], function (_exports, _sectionDescription) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _sectionDescription.default;\n    }\n  });\n});\n","define(\"embercom/components/form/section-heading\", [\"exports\", \"@intercom/embercom-core/components/form/section-heading\"], function (_exports, _sectionHeading) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _sectionHeading.default;\n    }\n  });\n});\n","define(\"embercom/components/form/textarea\", [\"exports\", \"@intercom/embercom-core/components/form/textarea\"], function (_exports, _textarea) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _textarea.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"flex flex-row gap-2\\\">\\n  {{#if this.showTable}}\\n    {{#if this.notEditing}}\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <Input\\n          @type=\\\"text\\\"\\n          @disabled={{true}}\\n          @value={{this.gcmKey}}\\n          class=\\\"f__text settings__android__push-key\\\"\\n        />\\n      </div>\\n\\n      <IcButton\\n        @type=\\\"secondary\\\"\\n        @icon=\\\"edit\\\"\\n        @subtle={{true}}\\n        @onClick={{action \\\"edit\\\"}}\\n      />\\n\\n      {{#if this.savedKey}}\\n        <IcButton\\n          @type=\\\"secondary-destructive\\\"\\n          @icon=\\\"delete\\\"\\n          @subtle={{true}}\\n          @onClick={{action \\\"deleteGcmKey\\\"}}\\n        />\\n      {{/if}}\\n    {{else}}\\n      <Input\\n        @type=\\\"text\\\"\\n        @value={{this.gcmKey}}\\n        class=\\\"f__text settings__android__push-key\\\"\\n        placeholder=\\\"Enter GCM or FCM API key…\\\"\\n      />\\n\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @icon=\\\"rounded-check\\\"\\n        @iconOnly={{true}}\\n        @onClick={{action \\\"saveGcmKey\\\"}}\\n      />\\n    {{/if}}\\n  {{else}}\\n    <IcButton\\n      @label=\\\"Enable push notifications\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action \\\"enablePush\\\"}}\\n    />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"flex flex-row gap-2\\\">\\n  {{#if this.showTable}}\\n    {{#if this.notEditing}}\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <Input\\n          @type=\\\"text\\\"\\n          @disabled={{true}}\\n          @value={{this.gcmKey}}\\n          class=\\\"f__text settings__android__push-key\\\"\\n        />\\n      </div>\\n\\n      <IcButton\\n        @type=\\\"secondary\\\"\\n        @icon=\\\"edit\\\"\\n        @subtle={{true}}\\n        @onClick={{action \\\"edit\\\"}}\\n      />\\n\\n      {{#if this.savedKey}}\\n        <IcButton\\n          @type=\\\"secondary-destructive\\\"\\n          @icon=\\\"delete\\\"\\n          @subtle={{true}}\\n          @onClick={{action \\\"deleteGcmKey\\\"}}\\n        />\\n      {{/if}}\\n    {{else}}\\n      <Input\\n        @type=\\\"text\\\"\\n        @value={{this.gcmKey}}\\n        class=\\\"f__text settings__android__push-key\\\"\\n        placeholder=\\\"Enter GCM or FCM API key…\\\"\\n      />\\n\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @icon=\\\"rounded-check\\\"\\n        @iconOnly={{true}}\\n        @onClick={{action \\\"saveGcmKey\\\"}}\\n      />\\n    {{/if}}\\n  {{else}}\\n    <IcButton\\n      @label=\\\"Enable push notifications\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action \\\"enablePush\\\"}}\\n    />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/gcm-key-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/gcm-key-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { or, alias, empty, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nlet GcmKeyComponent = Component.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n\n  tagName: '',\n\n  notEditing: true,\n  gcmActive: false,\n  savedKey: true,\n  showTable: or('hasGcmKey', 'gcmActive'),\n  gcmKey: alias('sdkApp.gcm_key'),\n  isEmptyGcmKey: empty('gcmKey'),\n  hasGcmKey: not('isEmptyGcmKey'),\n\n  updateGcmKey() {\n    this.sdkApp.setProperties({\n      has_certificate: this.hasGcmKey,\n      gcm_key: this.hasGcmKey ? this.gcmKey : null,\n    });\n\n    return this.sdkApp.save();\n  },\n\n  actions: {\n    edit() {\n      this.set('notEditing', false);\n    },\n    enablePush() {\n      this.setProperties({\n        gcmActive: true,\n        savedKey: false,\n        notEditing: false,\n      });\n    },\n    saveGcmKey() {\n      if (this.gcmKey !== '') {\n        this.updateGcmKey()\n          .then(() => {\n            this.notificationsService.notifyConfirmation(\n              'Your API key has been successfully updated.',\n            );\n            this.intercomEventService.trackEvent('mobile-push-credential-updated', {\n              platform: 'Android',\n              owner: 'messenger',\n            });\n            this.setProperties({\n              savedKey: true,\n              notEditing: true,\n            });\n          })\n          .catch(() => {\n            this.notificationsService.notifyError('Hmm, something went wrong saving your API key.');\n            this.setProperties({\n              savedKey: false,\n              notEditing: false,\n            });\n          });\n      } else {\n        this.setProperties({\n          gcmKey: null,\n          gcmActive: false,\n          savedKey: false,\n        });\n      }\n    },\n    deleteGcmKey() {\n      this.setProperties({\n        gcmKey: null,\n        gcmActive: false,\n        savedKey: false,\n      });\n      this.updateGcmKey().then(() => {\n        this.notificationsService.notifyConfirmation('Your API key has been successfully deleted.');\n      });\n    },\n  },\n});\n\nexport default GcmKeyComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span class=\\\"ghost__avatar\\\">\\n  {{ic-interface-icon 'person' color='gray-light' solo=true}}\\n</span>\", {\"contents\":\"<span class=\\\"ghost__avatar\\\">\\n  {{ic-interface-icon 'person' color='gray-light' solo=true}}\\n</span>\",\"moduleName\":\"embercom/components/ghost-avatar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/ghost-avatar.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-forbidden-elements --}}\\n<script {{did-insert this.defineOnLoadCallback}} src=\\\"https://www.google.com/recaptcha/api.js?render=explicit&onload={{this.onLoadCallbackName}}\\\"></script>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-forbidden-elements --}}\\n<script {{did-insert this.defineOnLoadCallback}} src=\\\"https://www.google.com/recaptcha/api.js?render=explicit&onload={{this.onLoadCallbackName}}\\\"></script>\\n\",\"moduleName\":\"embercom/components/google-recaptcha-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/google-recaptcha-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport ENV from 'embercom/config/environment';\n\nexport default class GoogleRecaptchaComponent extends Component {\n  onLoadCallbackName = '__recaptcha_onload_callback';\n  badgePosition = 'bottomleft';\n\n  get recaptchaSiteKey() {\n    return ENV.recaptchaSiteKey;\n  }\n\n  @action defineOnLoadCallback() {\n    window[this.onLoadCallbackName] = () => {\n      this.renderRecaptcha();\n    };\n  }\n\n  renderRecaptcha() {\n    // Rendering without a site key (e.g. in test) throws an error, so exit in that case\n    if (!this.recaptchaSiteKey) {\n      return;\n    }\n\n    window.grecaptcha.render({\n      sitekey: this.recaptchaSiteKey,\n      badge: this.badgePosition,\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<iframe\\n  id=\\\"google-tag-manager-sandbox\\\"\\n  class=\\\"hidden\\\"\\n  src=\\\"https://gtm.intercom-marketing.com\\\"\\n  sandbox=\\\"allow-scripts allow-same-origin\\\"\\n  referrerpolicy=\\\"unsafe-url\\\"\\n>\\n</iframe>\\n\", {\"contents\":\"<iframe\\n  id=\\\"google-tag-manager-sandbox\\\"\\n  class=\\\"hidden\\\"\\n  src=\\\"https://gtm.intercom-marketing.com\\\"\\n  sandbox=\\\"allow-scripts allow-same-origin\\\"\\n  referrerpolicy=\\\"unsafe-url\\\"\\n>\\n</iframe>\\n\",\"moduleName\":\"embercom/components/google-tag-manager-frame-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/google-tag-manager-frame-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport $ from 'jquery';\nimport { inject as service } from '@ember/service';\nimport { addEventListener, runDisposables } from 'ember-lifeline';\n\nexport default Component.extend({\n  googleTagManagerService: service(),\n  didInsertElement() {\n    this._super(...arguments);\n    this.promises = {};\n    this.googleTagManagerService.on('gtm-event', this, '_postMessageToGoogleTagManager');\n    addEventListener(this, window, 'message', event => {\n      if (event.origin.match(/https:\\/\\/gtm\\.intercom-marketing\\.com/)) {\n        this.promises[event.data]();\n      }\n    });\n  },\n\n  // the willDestroyElement hook is necessary because this component doesn't get torn\n  // down in the route transition and results in the gtm-event being sent twice, which\n  // breaks on the second call.\n  willDestroyElement() {\n    this._super(...arguments);\n    this.googleTagManagerService.off('gtm-event', this, '_postMessageToGoogleTagManager');\n    runDisposables(this);\n  },\n\n  _postMessageToGoogleTagManager({ resolve, reject, event }) {\n    let frame = $(this.element).find('iframe')[0];\n    let messageId = event.messageId;\n    if (frame) {\n      this.promises[messageId] = () => {\n        resolve(messageId);\n      };\n      frame.contentWindow.postMessage(event, 'https://gtm.intercom-marketing.com/');\n    } else {\n      reject('no frame available to post message to');\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"\\n{{!-- template-lint-disable --}}\\n<div class=\\\"graph-demo__node\\\" style=\\\"background: #{{@node.dataObject.color}}\\\">\\n  <p>X: {{@node.position.x}}</p>\\n  <p>Y: {{@node.position.y}}</p>\\n</div>\\n\", {\"contents\":\"\\n{{!-- template-lint-disable --}}\\n<div class=\\\"graph-demo__node\\\" style=\\\"background: #{{@node.dataObject.color}}\\\">\\n  <p>X: {{@node.position.x}}</p>\\n  <p>Y: {{@node.position.y}}</p>\\n</div>\\n\",\"moduleName\":\"embercom/components/graph-demo/node.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/graph-demo/node.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","define(\"embercom/components/graph-editor\", [\"exports\", \"graph-editor/components/graph-editor\"], function (_exports, _graphEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _graphEditor.default;\n    }\n  });\n});\n","define(\"embercom/components/graph-editor/bounds-area\", [\"exports\", \"graph-editor/components/graph-editor/bounds-area\"], function (_exports, _boundsArea) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _boundsArea.default;\n    }\n  });\n});\n","define(\"embercom/components/graph-editor/controls\", [\"exports\", \"graph-editor/components/graph-editor/controls\"], function (_exports, _controls) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _controls.default;\n    }\n  });\n});\n","define(\"embercom/components/graph-editor/controls/panning-toggle\", [\"exports\", \"graph-editor/components/graph-editor/controls/panning-toggle\"], function (_exports, _panningToggle) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _panningToggle.default;\n    }\n  });\n});\n","define(\"embercom/components/graph-editor/controls/refocus-nodes\", [\"exports\", \"graph-editor/components/graph-editor/controls/refocus-nodes\"], function (_exports, _refocusNodes) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _refocusNodes.default;\n    }\n  });\n});\n","define(\"embercom/components/graph-editor/controls/zoom-button\", [\"exports\", \"graph-editor/components/graph-editor/controls/zoom-button\"], function (_exports, _zoomButton) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _zoomButton.default;\n    }\n  });\n});\n","define(\"embercom/components/graph-editor/controls/zoom-percentage\", [\"exports\", \"graph-editor/components/graph-editor/controls/zoom-percentage\"], function (_exports, _zoomPercentage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _zoomPercentage.default;\n    }\n  });\n});\n","define(\"embercom/components/graph-editor/edge\", [\"exports\", \"graph-editor/components/graph-editor/edge\"], function (_exports, _edge) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _edge.default;\n    }\n  });\n});\n","define(\"embercom/components/graph-editor/edge/click-point\", [\"exports\", \"graph-editor/components/graph-editor/edge/click-point\"], function (_exports, _clickPoint) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _clickPoint.default;\n    }\n  });\n});\n","define(\"embercom/components/graph-editor/edge/draggable-connector\", [\"exports\", \"graph-editor/components/graph-editor/edge/draggable-connector\"], function (_exports, _draggableConnector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _draggableConnector.default;\n    }\n  });\n});\n","define(\"embercom/components/graph-editor/edge/yield-location\", [\"exports\", \"graph-editor/components/graph-editor/edge/yield-location\"], function (_exports, _yieldLocation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _yieldLocation.default;\n    }\n  });\n});\n","define(\"embercom/components/graph-editor/node\", [\"exports\", \"graph-editor/components/graph-editor/node\"], function (_exports, _node) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _node.default;\n    }\n  });\n});\n","define(\"embercom/components/graph-editor/node/connection-point\", [\"exports\", \"graph-editor/components/graph-editor/node/connection-point\"], function (_exports, _connectionPoint) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _connectionPoint.default;\n    }\n  });\n});\n","define(\"embercom/components/graph-editor/node/draggable-area\", [\"exports\", \"graph-editor/components/graph-editor/node/draggable-area\"], function (_exports, _draggableArea) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _draggableArea.default;\n    }\n  });\n});\n","define(\"embercom/components/graph-editor/node/inserter\", [\"exports\", \"graph-editor/components/graph-editor/node/inserter\"], function (_exports, _inserter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _inserter.default;\n    }\n  });\n});\n","define(\"embercom/components/graph-editor/node/successor-inserter\", [\"exports\", \"graph-editor/components/graph-editor/node/successor-inserter\"], function (_exports, _successorInserter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _successorInserter.default;\n    }\n  });\n});\n","define(\"embercom/components/graph-editor/yield-area\", [\"exports\", \"graph-editor/components/graph-editor/yield-area\"], function (_exports, _yieldArea) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _yieldArea.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if styledForModal}}\\n  <div class=\\\"modal__header flex items-start\\\">\\n    <div class=\\\"modal__header__title flex-auto min-w-0\\\">\\n      <h2 class=\\\"t__h2\\\">\\n        Import data into Intercom\\n      </h2>\\n    </div>\\n    <div class=\\\"modal__header__close u__cf\\\">\\n      <a class=\\\"modal__header__close__link u__right\\\" {{action \\\"closeModal\\\"}}>\\n        {{ic-interface-icon \\\"close\\\" solo=true}}\\n      </a>\\n    </div>\\n  </div>\\n  {{#if csvImportWindowCurrenlyOpen}}\\n    <IcBanner class=\\\"u__ml__20 u__mr__20\\\" @type=\\\"warning\\\">\\n      Import currently in progress in another window\\n    </IcBanner>\\n  {{/if}}\\n{{/if}}\\n<div class=\\\"{{if styledForModal \\\"modal__body\\\"}}\\\">\\n  <div class=\\\"h-2\\\"></div>\\n  <p>\\n    See and talk to your users and leads immediately by importing your data into the Intercom platform.\\n  </p>\\n  <div class=\\\"h-5\\\"></div>\\n  <p>\\n    <strong>\\n      Import people from:\\n    </strong>\\n  </p>\\n  <hr class=\\\"sp__hr\\\" />\\n  {{#unless app.isOnCsvBlockedList}}\\n    <div class=\\\"layout__box o__centers-all o__has-columns\\\">\\n      <div class=\\\"layout__box o__centers-all o__has-columns\\\">\\n        <div class=\\\"layout__box import-modal__import-icon o__csv\\\">\\n          {{inline-svg \\\"start/import\\\"}}\\n        </div>\\n        <div class=\\\"layout__box  o__flexes-to-1 o__has-rows\\\">\\n          <div class=\\\"layout__box\\\">\\n            <strong>\\n              CSV\\n            </strong>\\n          </div>\\n          <div class=\\\"layout__box t__smaller text-gray\\\">\\n            Users or leads\\n          </div>\\n        </div>\\n      </div>\\n      <div class=\\\"layout__box  o__flexes-to-1\\\">\\n        <div class=\\\"u__right\\\">\\n          <IcButton\\n            @type=\\\"primary\\\"\\n            @onClick={{action \\\"openCsvImportInNewWindow\\\"}}\\n            @disabled={{csvImportWindowCurrenlyOpen}}\\n          >\\n            {{ic-interface-icon \\\"new-window\\\"}} Launch Importer\\n          </IcButton>\\n        </div>\\n      </div>\\n    </div>\\n    <hr class=\\\"sp__hr\\\" />\\n  {{/unless}}\\n  <div class=\\\"layout__box o__centers-all o__has-columns\\\">\\n    <div class=\\\"layout__box import-modal__import-icon o__mailchimp\\\"></div>\\n    <div class=\\\"layout__box  o__flexes-to-1 o__has-rows\\\">\\n      <div class=\\\"layout__box\\\">\\n        <strong>\\n          Mailchimp\\n        </strong>\\n      </div>\\n      <div class=\\\"layout__box t__smaller text-gray\\\">\\n        Users\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box  o__flexes-to-1\\\">\\n      <div class=\\\"u__right\\\">\\n        <IcButton\\n          @type=\\\"primary\\\"\\n          @onClick={{action \\\"openMailchimpImportInNewWindow\\\"}}\\n          @disabled={{csvImportWindowCurrenlyOpen}}\\n        >\\n          {{ic-interface-icon \\\"new-window\\\"}} Launch Importer\\n        </IcButton>\\n      </div>\\n    </div>\\n  </div>\\n  <hr class=\\\"sp__hr\\\" />\\n  <div class=\\\"layout__box o__centers-all o__has-columns\\\">\\n    <div class=\\\"layout__box import-modal__import-icon o__mixpanel\\\"></div>\\n    <div class=\\\"layout__box  o__flexes-to-1 o__has-rows\\\">\\n      <div class=\\\"layout__box\\\">\\n        <strong>\\n          Mixpanel\\n        </strong>\\n      </div>\\n      <div class=\\\"layout__box t__smaller text-gray\\\">\\n        Users\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box  o__flexes-to-1\\\">\\n      <div class=\\\"u__right\\\">\\n        <IcButton\\n          @type=\\\"primary\\\"\\n          @onClick={{action \\\"openMixpanelImportInNewWindow\\\"}}\\n          @disabled={{csvImportWindowCurrenlyOpen}}\\n        >\\n          {{ic-interface-icon \\\"new-window\\\"}} Launch Importer\\n        </IcButton>\\n      </div>\\n    </div>\\n  </div>\\n  <hr class=\\\"sp__hr\\\" />\\n  {{#if styledForModal}}\\n    <p class=\\\"t__light-text\\\" {{action \\\"closeModal\\\"}}>\\n      Or you can\\n      <LinkTo @route=\\\"apps.app.appstore\\\">sync data to Intercom</LinkTo>\\n      to ensure your data is always up-to-date.\\n    </p>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if styledForModal}}\\n  <div class=\\\"modal__header flex items-start\\\">\\n    <div class=\\\"modal__header__title flex-auto min-w-0\\\">\\n      <h2 class=\\\"t__h2\\\">\\n        Import data into Intercom\\n      </h2>\\n    </div>\\n    <div class=\\\"modal__header__close u__cf\\\">\\n      <a class=\\\"modal__header__close__link u__right\\\" {{action \\\"closeModal\\\"}}>\\n        {{ic-interface-icon \\\"close\\\" solo=true}}\\n      </a>\\n    </div>\\n  </div>\\n  {{#if csvImportWindowCurrenlyOpen}}\\n    <IcBanner class=\\\"u__ml__20 u__mr__20\\\" @type=\\\"warning\\\">\\n      Import currently in progress in another window\\n    </IcBanner>\\n  {{/if}}\\n{{/if}}\\n<div class=\\\"{{if styledForModal \\\"modal__body\\\"}}\\\">\\n  <div class=\\\"h-2\\\"></div>\\n  <p>\\n    See and talk to your users and leads immediately by importing your data into the Intercom platform.\\n  </p>\\n  <div class=\\\"h-5\\\"></div>\\n  <p>\\n    <strong>\\n      Import people from:\\n    </strong>\\n  </p>\\n  <hr class=\\\"sp__hr\\\" />\\n  {{#unless app.isOnCsvBlockedList}}\\n    <div class=\\\"layout__box o__centers-all o__has-columns\\\">\\n      <div class=\\\"layout__box o__centers-all o__has-columns\\\">\\n        <div class=\\\"layout__box import-modal__import-icon o__csv\\\">\\n          {{inline-svg \\\"start/import\\\"}}\\n        </div>\\n        <div class=\\\"layout__box  o__flexes-to-1 o__has-rows\\\">\\n          <div class=\\\"layout__box\\\">\\n            <strong>\\n              CSV\\n            </strong>\\n          </div>\\n          <div class=\\\"layout__box t__smaller text-gray\\\">\\n            Users or leads\\n          </div>\\n        </div>\\n      </div>\\n      <div class=\\\"layout__box  o__flexes-to-1\\\">\\n        <div class=\\\"u__right\\\">\\n          <IcButton\\n            @type=\\\"primary\\\"\\n            @onClick={{action \\\"openCsvImportInNewWindow\\\"}}\\n            @disabled={{csvImportWindowCurrenlyOpen}}\\n          >\\n            {{ic-interface-icon \\\"new-window\\\"}} Launch Importer\\n          </IcButton>\\n        </div>\\n      </div>\\n    </div>\\n    <hr class=\\\"sp__hr\\\" />\\n  {{/unless}}\\n  <div class=\\\"layout__box o__centers-all o__has-columns\\\">\\n    <div class=\\\"layout__box import-modal__import-icon o__mailchimp\\\"></div>\\n    <div class=\\\"layout__box  o__flexes-to-1 o__has-rows\\\">\\n      <div class=\\\"layout__box\\\">\\n        <strong>\\n          Mailchimp\\n        </strong>\\n      </div>\\n      <div class=\\\"layout__box t__smaller text-gray\\\">\\n        Users\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box  o__flexes-to-1\\\">\\n      <div class=\\\"u__right\\\">\\n        <IcButton\\n          @type=\\\"primary\\\"\\n          @onClick={{action \\\"openMailchimpImportInNewWindow\\\"}}\\n          @disabled={{csvImportWindowCurrenlyOpen}}\\n        >\\n          {{ic-interface-icon \\\"new-window\\\"}} Launch Importer\\n        </IcButton>\\n      </div>\\n    </div>\\n  </div>\\n  <hr class=\\\"sp__hr\\\" />\\n  <div class=\\\"layout__box o__centers-all o__has-columns\\\">\\n    <div class=\\\"layout__box import-modal__import-icon o__mixpanel\\\"></div>\\n    <div class=\\\"layout__box  o__flexes-to-1 o__has-rows\\\">\\n      <div class=\\\"layout__box\\\">\\n        <strong>\\n          Mixpanel\\n        </strong>\\n      </div>\\n      <div class=\\\"layout__box t__smaller text-gray\\\">\\n        Users\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box  o__flexes-to-1\\\">\\n      <div class=\\\"u__right\\\">\\n        <IcButton\\n          @type=\\\"primary\\\"\\n          @onClick={{action \\\"openMixpanelImportInNewWindow\\\"}}\\n          @disabled={{csvImportWindowCurrenlyOpen}}\\n        >\\n          {{ic-interface-icon \\\"new-window\\\"}} Launch Importer\\n        </IcButton>\\n      </div>\\n    </div>\\n  </div>\\n  <hr class=\\\"sp__hr\\\" />\\n  {{#if styledForModal}}\\n    <p class=\\\"t__light-text\\\" {{action \\\"closeModal\\\"}}>\\n      Or you can\\n      <LinkTo @route=\\\"apps.app.appstore\\\">sync data to Intercom</LinkTo>\\n      to ensure your data is always up-to-date.\\n    </p>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/guide/import-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/import-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { next, later } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport openCenteredWindow from 'embercom/lib/open-centered-window';\n\nexport default Component.extend({\n  pubsub: service(),\n  permissionsService: service(),\n  router: service(),\n  styledForModal: true,\n  app: null,\n\n  openImportWindow(type) {\n    let url = this.router.urlFor(`apps.app.import.${type}`);\n    let window = openCenteredWindow(url, 800, 1280, 'Import');\n\n    this.waitForChildWindow(window);\n    window.focus();\n    this.set('csvImportWindowCurrenlyOpen', true);\n  },\n\n  reloadUserList(shouldTransitionToSummary) {\n    this.app.reload().then(() => {\n      let hasSettingsPermission = this.permissionsService.currentAdminCan(\n        'can_access_product_settings',\n      );\n      if (shouldTransitionToSummary && hasSettingsPermission) {\n        this.router.transitionTo('apps.app.settings.imports');\n      } else {\n        this.router.transitionTo('apps.app.users.segments.segment', 'all');\n      }\n      next(this, function() {\n        this.pubsub.publish('reloadUserOrCompanyList');\n      });\n    });\n  },\n\n  waitForChildWindow(childWindow) {\n    if (childWindow.closed) {\n      if (window.importSuccessful) {\n        this.reloadUserList(window.shouldTransitionToSummary);\n        // eslint-disable-next-line ember/closure-actions\n        this.sendAction('closeModal');\n      }\n      this.set('csvImportWindowCurrenlyOpen', false);\n    } else {\n      later(this.waitForChildWindow.bind(this, childWindow), 1000);\n    }\n  },\n\n  actions: {\n    closeModal() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('closeModal');\n    },\n\n    openCsvImportInNewWindow() {\n      this.openImportWindow('csv');\n    },\n\n    openMailchimpImportInNewWindow() {\n      this.openImportWindow('mailchimp');\n    },\n\n    openMixpanelImportInNewWindow() {\n      this.openImportWindow('mixpanel');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable no-unbound --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!--\\n  value should be unbound otherwise if readonly isn’t respected the value\\n  could be intentionally or unintentionally edited, changing the value elsewhere\\n  and causing odd behavior and/or failures.\\n--}}\\n<Input @value={{unbound value}} class=\\\"v2-guide__todo-list__input-readonly\\\" @readonly={{true}} />\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable no-unbound --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!--\\n  value should be unbound otherwise if readonly isn’t respected the value\\n  could be intentionally or unintentionally edited, changing the value elsewhere\\n  and causing odd behavior and/or failures.\\n--}}\\n<Input @value={{unbound value}} class=\\\"v2-guide__todo-list__input-readonly\\\" @readonly={{true}} />\\n\",\"moduleName\":\"embercom/components/guide/input-copy-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/input-copy-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport $ from 'jquery';\nexport default Component.extend({\n  tagName: 'span',\n\n  value: null,\n\n  click() {\n    $('input', this.element).select();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.showInboxUpgradeBanner}}\\n  <Paywall @featureKey=\\\"inbox\\\" @disableFeatureHighlighting={{true}} as |paywall|>\\n    <paywall.Banner @content=\\\"Upgrade to use the Inbox\\\" />\\n  </Paywall>\\n{{/if}}\\n\\n<Common::HamburgerMenu>\\n  <div class=\\\"flex-auto min-w-0 t__h1\\\">\\n    {{if @primarySection @toolbarHeading}} About\\n  </div>\\n  <div>\\n    <Guide::StartScreen::ToolbarActionComponent />\\n  </div>\\n</Common::HamburgerMenu>\\n\", {\"contents\":\"{{#if this.showInboxUpgradeBanner}}\\n  <Paywall @featureKey=\\\"inbox\\\" @disableFeatureHighlighting={{true}} as |paywall|>\\n    <paywall.Banner @content=\\\"Upgrade to use the Inbox\\\" />\\n  </Paywall>\\n{{/if}}\\n\\n<Common::HamburgerMenu>\\n  <div class=\\\"flex-auto min-w-0 t__h1\\\">\\n    {{if @primarySection @toolbarHeading}} About\\n  </div>\\n  <div>\\n    <Guide::StartScreen::ToolbarActionComponent />\\n  </div>\\n</Common::HamburgerMenu>\\n\",\"moduleName\":\"embercom/components/guide/start-guide-header-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/start-guide-header-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, match, and } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  router: service(),\n  isOnInboxRoute: match('router.currentRouteName', /^apps\\.app\\.inbox/),\n\n  primarySection: null,\n  toolbarHeading: null,\n\n  showInboxUpgradeBanner: and('app.usesVbp', 'isOnInboxRoute'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-about class=\\\"start-screen__section u__mb__40 o__product-refresh\\\">\\n  <div class=\\\"layout__box o__has-columns start-screen__subsection\\\">\\n    <div class=\\\"start-screen__section__title o__product-refresh\\\">\\n      <h1 class=\\\"t__h2 start-screen__section__title-text\\\">\\n        <span class=\\\"start-screen__section__title-icon\\\">\\n          {{#if isPlatform}}\\n            <img\\n              src=\\\"/assets/images/start_screen/platform-icon-brand-refresh.png\\\"\\n              class=\\\"start-screen__section__title-icon-image\\\"\\n            />\\n          {{else}}\\n            <ProductIconComponent\\n              @product={{product}}\\n              @optionClass=\\\"start-screen__section__title-product-icon\\\"\\n            />\\n          {{/if}}\\n        </span>\\n        {{title}}\\n      </h1>\\n      <p>\\n        {{description}}\\n      </p>\\n    </div>\\n    <div class=\\\"start-screen__section__content start-screen__about__screenshot\\\">\\n      <img\\n        src={{screenshotUrl}}\\n        srcset={{srcsetValue}}\\n        class=\\\"start-screen__about__screenshot-image\\\"\\n      />\\n    </div>\\n  </div>\\n  {{#if isArticles}}\\n    <Guide::StartScreen::About::TutorialContainerComponent\\n      @productName={{productName}}\\n      @productId={{productId}}\\n    />\\n  {{/if}}\\n  {{#if showCreateMessageModal}}\\n    <Messages::MessageCreationModal\\n      @isTargetingLeads={{false}}\\n      @createNewMessage={{action \\\"goToFeature\\\"}}\\n      @closeModal={{action (mut showCreateMessageModal) false}}\\n    />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-about class=\\\"start-screen__section u__mb__40 o__product-refresh\\\">\\n  <div class=\\\"layout__box o__has-columns start-screen__subsection\\\">\\n    <div class=\\\"start-screen__section__title o__product-refresh\\\">\\n      <h1 class=\\\"t__h2 start-screen__section__title-text\\\">\\n        <span class=\\\"start-screen__section__title-icon\\\">\\n          {{#if isPlatform}}\\n            <img\\n              src=\\\"/assets/images/start_screen/platform-icon-brand-refresh.png\\\"\\n              class=\\\"start-screen__section__title-icon-image\\\"\\n            />\\n          {{else}}\\n            <ProductIconComponent\\n              @product={{product}}\\n              @optionClass=\\\"start-screen__section__title-product-icon\\\"\\n            />\\n          {{/if}}\\n        </span>\\n        {{title}}\\n      </h1>\\n      <p>\\n        {{description}}\\n      </p>\\n    </div>\\n    <div class=\\\"start-screen__section__content start-screen__about__screenshot\\\">\\n      <img\\n        src={{screenshotUrl}}\\n        srcset={{srcsetValue}}\\n        class=\\\"start-screen__about__screenshot-image\\\"\\n      />\\n    </div>\\n  </div>\\n  {{#if isArticles}}\\n    <Guide::StartScreen::About::TutorialContainerComponent\\n      @productName={{productName}}\\n      @productId={{productId}}\\n    />\\n  {{/if}}\\n  {{#if showCreateMessageModal}}\\n    <Messages::MessageCreationModal\\n      @isTargetingLeads={{false}}\\n      @createNewMessage={{action \\\"goToFeature\\\"}}\\n      @closeModal={{action (mut showCreateMessageModal) false}}\\n    />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/guide/start-screen/about-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/start-screen/about-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly, equal } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { valueOrDefault } from '@intercom/embercom-core/lib/computed-properties';\nimport { getRouter } from 'embercom/lib/container-lookup';\n\nconst SCREENSHOT_URLS = {\n  platform: '/assets/images/start_screen/screenshots/platform_preview.png',\n  1: '/assets/images/start_screen/screenshots/inbox_preview.png',\n  2: '/assets/images/start_screen/screenshots/messages_preview.png',\n  5: '/assets/images/start_screen/screenshots/articles_preview.png',\n};\n\nconst SCREENSHOT_2X_URLS = {\n  platform: '/assets/images/start_screen/screenshots/platform_preview@2x.png',\n  1: '/assets/images/start_screen/screenshots/inbox_preview@2x.png',\n  2: '/assets/images/start_screen/screenshots/messages_preview@2x.png',\n  5: '/assets/images/start_screen/screenshots/articles_preview@2x.png',\n};\n\nconst PRODUCT_FEATURE_CTAS = {\n  platform: 'See your audience',\n  1: 'Check out your inbox',\n  2: 'Write a message',\n  5: 'Write an article',\n};\n\nconst PRODUCT_FEATURE_LOCATIONS = {\n  platform: 'apps.app.users.segments',\n  1: 'apps.app.inbox.inbox',\n  2: 'apps.app.outbound.messages.auto.new',\n  5: 'apps.app.articles.articles.new',\n};\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  product: null,\n  productId: valueOrDefault('product.id', null),\n  productName: valueOrDefault('product.name', 'Platform'),\n  description: null,\n  messagesProductId: '2',\n\n  productFeatureCta: computed('productId', function() {\n    let productId = this.productId || 'platform';\n    return PRODUCT_FEATURE_CTAS[productId];\n  }),\n\n  productFeatureLocation: computed('productId', function() {\n    let productId = this.productId || 'platform';\n    return PRODUCT_FEATURE_LOCATIONS[productId];\n  }),\n\n  isPlatform: equal('productName', 'Platform'),\n  isArticles: readOnly('product.isArticles'),\n\n  title: computed('productName', function() {\n    return this.isPlatform ? 'What is the Intercom Platform?' : `What is ${this.productName}?`;\n  }),\n\n  screenshotUrl: computed('productId', function() {\n    let productId = this.productId || 'platform';\n    return SCREENSHOT_URLS[productId];\n  }),\n\n  srcsetValue: computed('screenshotUrl', function() {\n    let productId = this.productId || 'platform';\n    return `${SCREENSHOT_URLS[productId]}, ${SCREENSHOT_2X_URLS[productId]} 2x`;\n  }),\n\n  actions: {\n    goToFeature(type = null, deliveryChannel = null) {\n      this.set('showCreateMessageModal', false);\n      let router = getRouter();\n      router.transitionTo(this.productFeatureLocation, {\n        queryParams: { type, deliveryChannel },\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (and imgSrc (not imgInHeader))}}\\n  <div class=\\\"u__relative\\\">\\n    <div class=\\\"onboarding__home__steps__video-opener-icon u__center-item u__pointer-cursor o__black\\\" {{on \\\"click\\\" this.onImageClick}}>\\n      {{inline-svg \\\"arrow-right-thick\\\" class=\\\"onboarding__home__steps__video-opener-icon-arrow u__center-item\\\"}}\\n    </div>\\n    {{#if imgWidth}}\\n      <img\\n        class={{if this.onImageClick \\\"u__pointer-cursor\\\"}}\\n        src={{imgSrc}}\\n        srcset={{srcsetValue}}\\n        width={{imgWidth}}\\n        {{on \\\"click\\\" this.onImageClick}}\\n      >\\n    {{else}}\\n      <img\\n        class={{if this.onImageClick \\\"u__pointer-cursor\\\"}}\\n        src={{imgSrc}}\\n        srcset={{srcsetValue}}\\n        {{on \\\"click\\\" this.onImageClick}}\\n      >\\n    {{/if}}\\n  </div>\\n{{/if}}\\n<div class={{concat \\\"start-screen__about__block-content\\\" (if isFullWidth \\\" o__full-width\\\") (if horizontal \\\" o__horizontal\\\") (if tight \\\" o__tight\\\") (if imgInHeader \\\" o__img-in-header\\\")}}>\\n  {{#if (and imgSrc (not horizontal) (not imgInHeader))}}\\n    <div class=\\\"h-5\\\"></div>\\n  {{/if}}\\n  <div class=\\\"start-screen__about__block__header layout__box o__has-columns\\\">\\n    {{#if (and imgSrc imgInHeader)}}\\n      <div class=\\\"start-screen__about__block__header-img\\\">\\n        {{#if imgWidth}}\\n          <img\\n            class={{if this.onImageClick \\\"u__pointer-cursor\\\"}}\\n            src={{imgSrc}}\\n            srcset={{srcsetValue}}\\n            width={{imgWidth}}\\n            {{on \\\"click\\\" this.onImageClick}}\\n          >\\n        {{else}}\\n          <img\\n            class={{if onImageClick \\\"u__pointer-cursor\\\"}}\\n            src={{imgSrc}}\\n            srcset={{srcsetValue}}\\n            {{on \\\"click\\\" this.onImageClick}}\\n          >\\n        {{/if}}\\n      </div>\\n    {{/if}}\\n    <h2 class=\\\"t__h2 o__flexes-to-1\\\">\\n      {{title}}\\n    </h2>\\n  </div>\\n  {{#if description}}\\n    <div class=\\\"h-2\\\"></div>\\n    <p>\\n      {{description}}\\n    </p>\\n  {{/if}}\\n  {{yield}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (and imgSrc (not imgInHeader))}}\\n  <div class=\\\"u__relative\\\">\\n    <div class=\\\"onboarding__home__steps__video-opener-icon u__center-item u__pointer-cursor o__black\\\" {{on \\\"click\\\" this.onImageClick}}>\\n      {{inline-svg \\\"arrow-right-thick\\\" class=\\\"onboarding__home__steps__video-opener-icon-arrow u__center-item\\\"}}\\n    </div>\\n    {{#if imgWidth}}\\n      <img\\n        class={{if this.onImageClick \\\"u__pointer-cursor\\\"}}\\n        src={{imgSrc}}\\n        srcset={{srcsetValue}}\\n        width={{imgWidth}}\\n        {{on \\\"click\\\" this.onImageClick}}\\n      >\\n    {{else}}\\n      <img\\n        class={{if this.onImageClick \\\"u__pointer-cursor\\\"}}\\n        src={{imgSrc}}\\n        srcset={{srcsetValue}}\\n        {{on \\\"click\\\" this.onImageClick}}\\n      >\\n    {{/if}}\\n  </div>\\n{{/if}}\\n<div class={{concat \\\"start-screen__about__block-content\\\" (if isFullWidth \\\" o__full-width\\\") (if horizontal \\\" o__horizontal\\\") (if tight \\\" o__tight\\\") (if imgInHeader \\\" o__img-in-header\\\")}}>\\n  {{#if (and imgSrc (not horizontal) (not imgInHeader))}}\\n    <div class=\\\"h-5\\\"></div>\\n  {{/if}}\\n  <div class=\\\"start-screen__about__block__header layout__box o__has-columns\\\">\\n    {{#if (and imgSrc imgInHeader)}}\\n      <div class=\\\"start-screen__about__block__header-img\\\">\\n        {{#if imgWidth}}\\n          <img\\n            class={{if this.onImageClick \\\"u__pointer-cursor\\\"}}\\n            src={{imgSrc}}\\n            srcset={{srcsetValue}}\\n            width={{imgWidth}}\\n            {{on \\\"click\\\" this.onImageClick}}\\n          >\\n        {{else}}\\n          <img\\n            class={{if onImageClick \\\"u__pointer-cursor\\\"}}\\n            src={{imgSrc}}\\n            srcset={{srcsetValue}}\\n            {{on \\\"click\\\" this.onImageClick}}\\n          >\\n        {{/if}}\\n      </div>\\n    {{/if}}\\n    <h2 class=\\\"t__h2 o__flexes-to-1\\\">\\n      {{title}}\\n    </h2>\\n  </div>\\n  {{#if description}}\\n    <div class=\\\"h-2\\\"></div>\\n    <p>\\n      {{description}}\\n    </p>\\n  {{/if}}\\n  {{yield}}\\n</div>\\n\",\"moduleName\":\"embercom/components/guide/start-screen/about/block-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/start-screen/about/block-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nexport default Component.extend({\n  classNames: ['start-screen__about__block'],\n  classNameBindings: [\n    'isFullWidth:o__full-width',\n    'horizontal:o__horizontal',\n    'description::o__no-description',\n  ],\n\n  title: null,\n  description: null,\n  imgSrc: null,\n  imgSrc2x: null,\n  videoSrc: null,\n  onImageClick: null,\n  isFullWidth: false,\n  horizontal: false,\n  tight: false,\n\n  srcsetValue: computed('imgSrc', 'imgSrc2x', function() {\n    let imgSrc = this.imgSrc;\n    let imgSrc2x = this.imgSrc2x;\n\n    if (!imgSrc2x) {\n      return null;\n    }\n\n    return `${imgSrc}, ${imgSrc2x} 2x`;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Guide::StartScreen::About::BlockComponent\\n  @isFullWidth={{isFullWidth}}\\n  @horizontal={{horizontal}}\\n  @imgSrc={{imgSrc}}\\n  @imgWidth={{imgWidth}}\\n  @onImageClick={{action \\\"openVideoModal\\\"}}\\n  @title={{title}}\\n  @description={{description}}\\n>\\n  {{#if hasBlock}}\\n    <div class=\\\"h-2\\\"></div>{{yield}}\\n  {{/if}}\\n  <div class=\\\"h-5\\\"></div>\\n  <IcButton\\n    @label={{buttonLabel}}\\n    @type=\\\"secondary\\\"\\n    @onClick={{buttonAction}}\\n  />\\n</Guide::StartScreen::About::BlockComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Guide::StartScreen::About::BlockComponent\\n  @isFullWidth={{isFullWidth}}\\n  @horizontal={{horizontal}}\\n  @imgSrc={{imgSrc}}\\n  @imgWidth={{imgWidth}}\\n  @onImageClick={{action \\\"openVideoModal\\\"}}\\n  @title={{title}}\\n  @description={{description}}\\n>\\n  {{#if hasBlock}}\\n    <div class=\\\"h-2\\\"></div>{{yield}}\\n  {{/if}}\\n  <div class=\\\"h-5\\\"></div>\\n  <IcButton\\n    @label={{buttonLabel}}\\n    @type=\\\"secondary\\\"\\n    @onClick={{buttonAction}}\\n  />\\n</Guide::StartScreen::About::BlockComponent>\\n\",\"moduleName\":\"embercom/components/guide/start-screen/about/feature-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/start-screen/about/feature-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport VideoThumbnailMixin from 'embercom/components/mixins/video-thumbnail';\n\nexport default Component.extend(VideoThumbnailMixin, {\n  description: null,\n\n  buttonLabel: null,\n  buttonAction: null,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns start-screen__subsection u__padt__0\\\">\\n  <div class=\\\"start-screen__section__title o__product-refresh\\\">\\n    <h1 class=\\\"t__h2 start-screen__section__title-text\\\">\\n      <span class=\\\"start-screen__section__title-icon\\\">\\n        <img\\n          src=\\\"/assets/images/start_screen/video-icon-brand-refresh.png\\\"\\n          class=\\\"start-screen__section__title-icon-image\\\"\\n        />\\n      </span>\\n      What can you do with {{productName}}?\\n    </h1>\\n  </div>\\n  <div class=\\\"start-screen__section__content\\\">\\n    {{#each productVideoSet.videos as |video|}}\\n      <Guide::StartScreen::About::FeatureComponent\\n        @title={{video.title}}\\n        @description={{video.description}}\\n        @isFullWidth={{true}}\\n        @horizontal={{true}}\\n        @videoId={{video.videoId}}\\n        @imgSrc={{video.imgSrc}}\\n        @imgWidth={{324}}\\n        @place=\\\"setup_guide\\\"\\n        @buttonLabel=\\\"Take the tour\\\"\\n        @buttonAction={{action \\\"openArticlesTour\\\" video.tourRoute video.tourId}}\\n      />\\n    {{/each}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns start-screen__subsection u__padt__0\\\">\\n  <div class=\\\"start-screen__section__title o__product-refresh\\\">\\n    <h1 class=\\\"t__h2 start-screen__section__title-text\\\">\\n      <span class=\\\"start-screen__section__title-icon\\\">\\n        <img\\n          src=\\\"/assets/images/start_screen/video-icon-brand-refresh.png\\\"\\n          class=\\\"start-screen__section__title-icon-image\\\"\\n        />\\n      </span>\\n      What can you do with {{productName}}?\\n    </h1>\\n  </div>\\n  <div class=\\\"start-screen__section__content\\\">\\n    {{#each productVideoSet.videos as |video|}}\\n      <Guide::StartScreen::About::FeatureComponent\\n        @title={{video.title}}\\n        @description={{video.description}}\\n        @isFullWidth={{true}}\\n        @horizontal={{true}}\\n        @videoId={{video.videoId}}\\n        @imgSrc={{video.imgSrc}}\\n        @imgWidth={{324}}\\n        @place=\\\"setup_guide\\\"\\n        @buttonLabel=\\\"Take the tour\\\"\\n        @buttonAction={{action \\\"openArticlesTour\\\" video.tourRoute video.tourId}}\\n      />\\n    {{/each}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/guide/start-screen/about/tutorial-container-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/start-screen/about/tutorial-container-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { startTour } from 'embercom/lib/intercom-widget-helper';\nimport { ARTICLES_ID } from 'embercom/lib/billing';\n\nconst VIDEO_DATA = [\n  {\n    productId: ARTICLES_ID,\n    isFullWidth: true,\n    videos: [\n      {\n        title: 'Create a short article',\n        description:\n          'Take a quick tour through the article creation process. Then create a short article.',\n        tutorialKey: 'articlesCreateArticle',\n        videoId: 'ohw90yqxim',\n        imgSrc: 'assets/images/onboarding/home/steps/watch-how-to-use-articles-video@2x.jpg',\n        tourId: 51309,\n        tourRoute: 'apps.app.articles.articles',\n      },\n    ],\n  },\n];\n\nexport default Component.extend({\n  tagName: '',\n  intercomEventService: service(),\n  onboardingHomeExternalStepService: service(),\n  appService: service(),\n  router: service(),\n\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n\n  productName: null,\n  productId: null,\n\n  videoData: VIDEO_DATA,\n\n  productVideoSet: computed('productId', function() {\n    return this.videoData.findBy('productId', this.productId);\n  }),\n\n  async _ensureArticlesExist() {\n    await this.onboardingHomeExternalStepService.generateExampleDataForStep('create_short_article');\n  },\n\n  actions: {\n    async openArticlesTour(route, tourId) {\n      await this._ensureArticlesExist();\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'tour',\n        context: 'about',\n        tour_id: tourId,\n      });\n\n      let step = await this.onboardingHomeExternalStepService.loadStep('create_short_article');\n\n      if (step) {\n        // If the step exists in the workspace guide, start the external step tour\n        this.onboardingHomeExternalStepService.startAfterTransition('create_short_article', {\n          source: 'tutorial-container-component openArticlesTour',\n          method: 'startAfterTransition',\n        });\n      } else {\n        // Step does not exist, just run the tour\n        startTour(tourId);\n      }\n\n      this.router.transitionTo(route);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasBlock}}\\n  <IcButton\\n    data-test-task-complete-button={{1}}\\n    @type=\\\"primary\\\"\\n    @label={{label}}\\n    @onClick={{completeAction}}\\n    @disabled={{disabled}} as |button|\\n  >\\n    {{yield button}}\\n  </IcButton>\\n{{else}}\\n  <IcButton\\n    data-test-task-complete-button={{1}}\\n    @type=\\\"primary\\\"\\n    @label={{label}}\\n    @onClick={{completeAction}}\\n    @disabled={{disabled}}\\n    @processingLabel={{processingLabel}}\\n  />\\n{{/if}}\\n{{#if errorMessage}}\\n  <div class=\\\"h-2\\\"></div>\\n  <p class=\\\"text-red\\\" data-test-task-error-message>\\n    {{errorMessage}}\\n  </p>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasBlock}}\\n  <IcButton\\n    data-test-task-complete-button={{1}}\\n    @type=\\\"primary\\\"\\n    @label={{label}}\\n    @onClick={{completeAction}}\\n    @disabled={{disabled}} as |button|\\n  >\\n    {{yield button}}\\n  </IcButton>\\n{{else}}\\n  <IcButton\\n    data-test-task-complete-button={{1}}\\n    @type=\\\"primary\\\"\\n    @label={{label}}\\n    @onClick={{completeAction}}\\n    @disabled={{disabled}}\\n    @processingLabel={{processingLabel}}\\n  />\\n{{/if}}\\n{{#if errorMessage}}\\n  <div class=\\\"h-2\\\"></div>\\n  <p class=\\\"text-red\\\" data-test-task-error-message>\\n    {{errorMessage}}\\n  </p>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/guide/start-screen/complete-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/start-screen/complete-button.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  didReceiveAttrs() {\n    this._super(...arguments);\n    if (!this.completeAction) {\n      throw new Error('Must pass completeAction to complete-button');\n    }\n  },\n  label: null,\n  processingLabel: null,\n  completeAction: null,\n  errorMessage: null,\n  disabled: false,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"\\n<Guide::StartScreen::AboutComponent\\n  @product={{@product}}\\n  @description={{this.description}}\\n/>\\n\", {\"contents\":\"\\n<Guide::StartScreen::AboutComponent\\n  @product={{@product}}\\n  @description={{this.description}}\\n/>\\n\",\"moduleName\":\"embercom/components/guide/start-screen/guide-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/start-screen/guide-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { equal } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { valueOrDefault } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  app: null,\n  product: null,\n  refreshRoute: null,\n\n  productId: valueOrDefault('product.id', null),\n  productName: valueOrDefault('product.name', 'Platform'),\n  isPlatform: equal('productId', null),\n  description: valueOrDefault(\n    'product.longDescription',\n    'See your customers, what they do in your app, and have conversations with them.',\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<p>\\n  Log into your web app or site as a user, and then refresh any page with the Intercom Messenger installed. Then check that your identity verification installation is successful.\\n</p>\\n<div class=\\\"h-5\\\"></div>\\n<Guide::StartScreen::CompleteButton\\n  @label=\\\"Check installation\\\"\\n  @processingLabel=\\\"Checking …\\\"\\n  @disabled={{taskComplete}}\\n  @completeAction={{perform checkPings}}\\n  @errorMessage={{errorMessage}}\\n/>\\n{{#if showPingDomains}}\\n  <div class=\\\"h-2\\\"></div>\\n  <h4 class=\\\"t__h4\\\">\\n    Active integrations with logged-in users\\n  </h4>\\n  <div class=\\\"h-2\\\"></div>\\n  <Settings::IdentityVerification::PingDomainsTable\\n    @pingDomains={{this.pingDomains}}\\n    @openUserHashChecker={{action \\\"openUserHashChecker\\\"}}\\n  />\\n  {{#if showUserHashCheckerModal}}\\n    <UserHashCheckerComponent\\n      @secret={{secret}}\\n      @closeModal={{action \\\"closeUserHashChecker\\\"}}\\n    />\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<p>\\n  Log into your web app or site as a user, and then refresh any page with the Intercom Messenger installed. Then check that your identity verification installation is successful.\\n</p>\\n<div class=\\\"h-5\\\"></div>\\n<Guide::StartScreen::CompleteButton\\n  @label=\\\"Check installation\\\"\\n  @processingLabel=\\\"Checking …\\\"\\n  @disabled={{taskComplete}}\\n  @completeAction={{perform checkPings}}\\n  @errorMessage={{errorMessage}}\\n/>\\n{{#if showPingDomains}}\\n  <div class=\\\"h-2\\\"></div>\\n  <h4 class=\\\"t__h4\\\">\\n    Active integrations with logged-in users\\n  </h4>\\n  <div class=\\\"h-2\\\"></div>\\n  <Settings::IdentityVerification::PingDomainsTable\\n    @pingDomains={{this.pingDomains}}\\n    @openUserHashChecker={{action \\\"openUserHashChecker\\\"}}\\n  />\\n  {{#if showUserHashCheckerModal}}\\n    <UserHashCheckerComponent\\n      @secret={{secret}}\\n      @closeModal={{action \\\"closeUserHashChecker\\\"}}\\n    />\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/guide/start-screen/identity-verification-ping-domains.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/start-screen/identity-verification-ping-domains.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly, not, gt, none } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  store: service(),\n  appService: service(),\n  pingDomains: null,\n  errorMessage: null,\n  secret: readOnly('appService.app.api_secret'),\n\n  noDomainsHaveErrors: computed('pingDomains.@each.errorCode', function() {\n    return this.pingDomains.isEvery('errorCode', null);\n  }),\n  domainsHaveErrors: not('noDomainsHaveErrors'),\n  showPingDomains: gt('pingDomains.length', 0),\n  showNoDataWarning: computed('pingDomains.@each.errorCode', function() {\n    return this.pingDomains !== null && this.get('pingDomains.length') === 0;\n  }),\n\n  disableToggle: none('pingDomains'),\n\n  checkPings: task(function*() {\n    this.set('errorMessage', null);\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'check_identity_installation',\n      context: this.language,\n      place: 'start_guide',\n    });\n    try {\n      let pingDomains = yield this.store.query('ping-domain', { ignore_anonymous: true });\n      this.set('pingDomains', pingDomains);\n\n      if (this.showNoDataWarning) {\n        this.set(\n          'errorMessage',\n          'We haven’t received verified data from your installation. Please check the instructions and try again.',\n        );\n      }\n    } catch (error) {\n      this.set(\n        'errorMessage',\n        'There was a problem checking your installation. Try again or send us a message.',\n      );\n    }\n  }),\n\n  actions: {\n    openUserHashChecker() {\n      this.set('showUserHashCheckerModal', true);\n    },\n\n    closeUserHashChecker() {\n      this.set('showUserHashCheckerModal', false);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { mapBy, not, equal, gt } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { intercomPromiseConfirm } from 'embercom/lib/intercom-confirm';\nimport ajax from 'embercom/lib/ajax';\nimport {\n  containsByProperty,\n  notImplemented,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\nimport installOptions from 'embercom/lib/guide/start-screen/installation-options';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  tagName: 'span',\n  attributeBindings: ['data-content'],\n  userSource: null,\n  mobileSources: installOptions['mobile'],\n  mobileSourceKeys: mapBy('mobileSources', 'key'),\n\n  appOrSdkApp: notImplemented(),\n  isMobile: containsByProperty('mobileSourceKeys', 'userSource'),\n  isNotMobile: not('isMobile'),\n\n  identityVerified: equal('appOrSdkApp.identityVerified', true),\n\n  disabled: false,\n  pingDomains: null,\n  noDomainsHaveErrors: computed('pingDomains.@each.errorCode', function() {\n    return this.pingDomains.isEvery('errorCode', null);\n  }),\n  domainsHaveErrors: not('noDomainsHaveErrors'),\n  showPingDomains: gt('pingDomains.length', 0),\n\n  onState: computed('identityVerified', 'toggleIdentityVerificationTask.isIdle', function() {\n    // while the task is running we want the state to appear like it has bee flipped\n    // as ic-on-off-toggle does not have a loading state.\n    let identityVerified = this.identityVerified;\n    return this.get('toggleIdentityVerificationTask.isIdle') ? identityVerified : !identityVerified;\n  }),\n\n  confirmAndToggleIdentityVerification: task(function*() {\n    let confirmed = true;\n    this.set('errorMessage', null);\n    if (this.isNotMobile) {\n      confirmed = yield this._confirmIdentityVerificationTask.perform();\n    }\n\n    yield this.toggleIdentityVerificationTask.perform(this.identityVerified, confirmed);\n  }),\n\n  _confirmIdentityVerificationTask: task(function*() {\n    let originalState = this.identityVerified;\n    if (!originalState) {\n      if (this.get('pingDomains.length') === 0) {\n        return yield intercomPromiseConfirm(\n          this,\n          this._identityVerificationWithoutPingsConfirmationOptions(),\n        );\n      } else if (this.domainsHaveErrors) {\n        return yield intercomPromiseConfirm(\n          this,\n          this._identityVerificationWithErrorsConfirmationOptions(),\n        );\n      }\n    }\n    return true;\n  }),\n\n  toggleIdentityVerificationTask: task(function*(originalState, confirmed) {\n    if (confirmed) {\n      let newState = !this.identityVerified;\n\n      try {\n        if (this.isNotMobile) {\n          yield this._updateWebIdentityVerification(newState);\n          yield this.appOrSdkApp.reload();\n        } else {\n          yield this._updateMobileIdentityVerification(newState);\n        }\n\n        this._notifyUpdateIdentityVerificationResult(newState);\n        this._trackIdentityVerificationToggleEvent(newState);\n\n        if (this.identityVerified) {\n          // eslint-disable-next-line ember/closure-actions\n          this.sendAction('completeTask');\n        }\n      } catch (e) {\n        this.set('identityVerified', originalState);\n        this.set(\n          'errorMessage',\n          'There was a problem updating your identity verification setting.',\n        );\n      }\n    }\n  }),\n\n  _trackIdentityVerificationToggleEvent(enabled) {\n    let stateString = enabled ? 'enabled' : 'disabled';\n    this.intercomEventService.trackEvent(`secure-mode-${stateString}`, {\n      action: stateString,\n      object: 'secure_mode',\n      place: `${this.userSource}_start_screen`,\n      owner: 'growth',\n    });\n  },\n\n  _updateWebIdentityVerification(newState) {\n    return ajax({\n      url: `/ember/apps/${this.get('appOrSdkApp.id')}/update_identity_verification`,\n      type: 'post',\n      contentType: 'application/json',\n      data: JSON.stringify({\n        identity_verified: newState,\n      }),\n    });\n  },\n\n  _updateMobileIdentityVerification(newState) {\n    this.set('appOrSdkApp.identityVerified', newState);\n    return this.appOrSdkApp.save();\n  },\n\n  _identityVerificationWithErrorsConfirmationOptions() {\n    return {\n      title: 'Review domains with errors',\n      body:\n        'The Intercom Messenger will not load for logged-in users on domains with identity verification errors',\n      confirmButtonText: 'Ignore errors and enforce',\n      cancelButtonText: 'Go back and review',\n      secondaryButtonType: 'primary-destructive',\n      invertButtonTypes: true,\n      center: true,\n    };\n  },\n\n  _identityVerificationWithoutPingsConfirmationOptions() {\n    return {\n      title: 'No Intercom Messenger data was received',\n      body:\n        'Make sure to log into your web app or site as a user, and then refresh any page with the Intercom Messenger installed',\n      confirmButtonText: 'Ignore and enforce',\n      cancelButtonText: 'Go back and review',\n      secondaryButtonType: 'primary-destructive',\n      invertButtonTypes: true,\n      center: true,\n    };\n  },\n\n  _notifyUpdateIdentityVerificationResult(enabled) {\n    if (enabled) {\n      this.notificationsService.notifyConfirmation('Identity verification has been enabled.');\n    } else {\n      this.notificationsService.notifyWarning('Identity verification has been disabled.');\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isIntegration}}\\n\\n  <div class=\\\"start-screen__task__content-block card\\\" {{action choose}}>\\n    <div class=\\\"flex items-center\\\">\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <h3 class=\\\"t__h3\\\">{{name}}</h3>\\n        <p class=\\\"t__h4\\\">\\n          <div class=\\\"h-1\\\"></div>\\n          {{#if installed}}\\n            <span class=\\\"start-screen__success-text u__mr__5\\\">{{ic-interface-icon 'check'}} Connected</span>\\n            <span class=\\\"t__em-link\\\">View</span>\\n          {{else}}\\n            <span class=\\\"t__em-link\\\">Connect</span>\\n          {{/if}}\\n        </p>\\n      </div>\\n      <img src=\\\"{{iconURL}}\\\" class=\\\"u__ml__10 u__display-block\\\" width=\\\"32\\\" height=\\\"32\\\">\\n    </div>\\n    <div class=\\\"h-2\\\"></div>\\n    <p>{{description}}</p>\\n  </div>\\n\\n  {{else if showDescription}}\\n\\n  <div class=\\\"start-screen__task__content-block card\\\" {{action choose}}>\\n    <div class=\\\"flex items-center\\\">\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <h3 class=\\\"t__h3\\\">{{name}}</h3>\\n        <p class=\\\"t__h4\\\">\\n          <div class=\\\"h-1\\\"></div>\\n          {{#if installed}}\\n            <span class=\\\"start-screen__success-text\\\">{{ic-interface-icon 'check'}} Installed</span>\\n            <span class=\\\"t__em-link\\\">View</span>\\n          {{else}}\\n\\n            <span class=\\\"t__em-link\\\">View Instructions</span>\\n          {{/if}}\\n        </p>\\n      </div>\\n      <img src=\\\"{{iconURL}}\\\" class=\\\"u__ml__10 u__display-block\\\" width=\\\"32\\\" height=\\\"32\\\">\\n    </div>\\n    <div class=\\\"h-2\\\"></div>\\n    <p>{{description}}</p>\\n  </div>\\n\\n{{else}}\\n\\n  <div class=\\\"start-screen__task__content-block card\\\" {{action choose}}>\\n    <div class=\\\"flex items-center\\\">\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <h3 class=\\\"t__h3\\\">{{name}}</h3>\\n        <p class=\\\"t__h4\\\"><span class=\\\"t__em-link\\\">View instructions</span></p>\\n      </div>\\n      <img src= {{iconURL}} class=\\\"u__ml__10 u__display-block\\\" width=\\\"32\\\" height=\\\"32\\\">\\n    </div>\\n  </div>\\n\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isIntegration}}\\n\\n  <div class=\\\"start-screen__task__content-block card\\\" {{action choose}}>\\n    <div class=\\\"flex items-center\\\">\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <h3 class=\\\"t__h3\\\">{{name}}</h3>\\n        <p class=\\\"t__h4\\\">\\n          <div class=\\\"h-1\\\"></div>\\n          {{#if installed}}\\n            <span class=\\\"start-screen__success-text u__mr__5\\\">{{ic-interface-icon 'check'}} Connected</span>\\n            <span class=\\\"t__em-link\\\">View</span>\\n          {{else}}\\n            <span class=\\\"t__em-link\\\">Connect</span>\\n          {{/if}}\\n        </p>\\n      </div>\\n      <img src=\\\"{{iconURL}}\\\" class=\\\"u__ml__10 u__display-block\\\" width=\\\"32\\\" height=\\\"32\\\">\\n    </div>\\n    <div class=\\\"h-2\\\"></div>\\n    <p>{{description}}</p>\\n  </div>\\n\\n  {{else if showDescription}}\\n\\n  <div class=\\\"start-screen__task__content-block card\\\" {{action choose}}>\\n    <div class=\\\"flex items-center\\\">\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <h3 class=\\\"t__h3\\\">{{name}}</h3>\\n        <p class=\\\"t__h4\\\">\\n          <div class=\\\"h-1\\\"></div>\\n          {{#if installed}}\\n            <span class=\\\"start-screen__success-text\\\">{{ic-interface-icon 'check'}} Installed</span>\\n            <span class=\\\"t__em-link\\\">View</span>\\n          {{else}}\\n\\n            <span class=\\\"t__em-link\\\">View Instructions</span>\\n          {{/if}}\\n        </p>\\n      </div>\\n      <img src=\\\"{{iconURL}}\\\" class=\\\"u__ml__10 u__display-block\\\" width=\\\"32\\\" height=\\\"32\\\">\\n    </div>\\n    <div class=\\\"h-2\\\"></div>\\n    <p>{{description}}</p>\\n  </div>\\n\\n{{else}}\\n\\n  <div class=\\\"start-screen__task__content-block card\\\" {{action choose}}>\\n    <div class=\\\"flex items-center\\\">\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <h3 class=\\\"t__h3\\\">{{name}}</h3>\\n        <p class=\\\"t__h4\\\"><span class=\\\"t__em-link\\\">View instructions</span></p>\\n      </div>\\n      <img src= {{iconURL}} class=\\\"u__ml__10 u__display-block\\\" width=\\\"32\\\" height=\\\"32\\\">\\n    </div>\\n  </div>\\n\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/guide/start-screen/install-option-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/start-screen/install-option-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly, equal } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nlet iconUrls = {\n  android: '/assets/svgs/guide/start-screen/android.svg',\n  cordova: '/assets/svgs/guide/start-screen/cordova.svg',\n  ios: '/assets/svgs/guide/start-screen/ios.svg',\n  javascript: '/assets/svgs/guide/start-screen/javascript.svg',\n  node: '/assets/svgs/guide/start-screen/javascript.svg',\n  single_page: '/assets/svgs/guide/start-screen/javascript.svg',\n  rails: '/assets/svgs/guide/start-screen/rails.svg',\n  segment: '/assets/svgs/guide/start-screen/segment.svg',\n  shopify: '/assets/svgs/guide/start-screen/shopify.svg',\n  wordpress: '/assets/svgs/guide/start-screen/wordpress.svg',\n  'mailchimp-sync': '/assets/svgs/guide/start-screen/mailchimp.svg',\n  stripe: '/assets/svgs/guide/start-screen/stripe.svg',\n  facebook: '/assets/svgs/guide/start-screen/facebook.svg',\n  twitter: '/assets/svgs/guide/start-screen/twitter.svg',\n};\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  key: null,\n  name: null,\n  description: null,\n  type: null,\n  installed: null,\n  iconURL: computed('key', function() {\n    return iconUrls[this.key];\n  }),\n  isIntegration: equal('type', 'integration'),\n  showDescription: null,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isSegment}}\\n  Add a new\\n  <code class=\\\"start__inline-code\\\">\\n    user_hash\\n  </code>\\n  attribute to your\\n  <code class=\\\"start__inline-code\\\">\\n    analytics.identity\\n  </code>\\n  function in your Segment JavaScript snippet with an HMAC code that you generate on your server.\\n{{else}}\\n  To set up identity verification, you'll need to generate an\\n  <a\\n    href=\\\"https://en.wikipedia.org/wiki/Hash-based_message_authentication_code\\\"\\n    target=\\\"_blank\\\"\\n    rel=\\\"noopener noreferrer\\\"\\n  >\\n    HMAC\\n  </a>\\n  on your server for each logged-in user and send it to Intercom.\\n{{/if}}\\n<div class=\\\"h-5\\\"></div>\\n{{#unless isSegment}}\\n  First, choose how you want to uniquely identify your users.\\n  Note that if you choose to send both to Intercom, the User ID will take preference.\\n  <div class=\\\"h-5\\\"></div>\\n  <label for=\\\"user-id-user-hash\\\">\\n    <RadioButton\\n      @selection={{userHashBasedOn}}\\n      @value=\\\"user_id\\\"\\n      @name=\\\"user-id-user-hash\\\"\\n      @onSelectionChanged={{onChangeHMACGenerator}}\\n    />\\n    <span class=\\\"u__ml__5\\\" {{action \\\"changeHash\\\" \\\"user_id\\\"}}>\\n      User ID\\n    </span>\\n  </label>\\n  <div class=\\\"h-2\\\"></div>\\n  <label for=\\\"user-id-user-hash\\\">\\n    <RadioButton\\n      @selection={{userHashBasedOn}}\\n      @value=\\\"email\\\"\\n      @name=\\\"email-user-hash\\\"\\n      @onSelectionChanged={{onChangeHMACGenerator}}\\n    />\\n    <span class=\\\"u__ml__5\\\" {{action \\\"changeHash\\\" \\\"email\\\"}}>\\n      Email\\n    </span>\\n  </label>\\n  <div class=\\\"h-5\\\"></div>\\n{{/unless}}\\n<InstallationInstructions::WebInstallationSnippetSelectComponent\\n  @description={{if\\n    isSegment\\n    \\\"Choose the server-side language or framework you are using:\\\"\\n    \\\"Then, choose the server-side language or framework you are using:\\\"\\n  }}\\n  @selectedValue={{language}}\\n  @options={{codeOptions}}\\n  @leftAlign={{true}}\\n  @isStartScreen={{true}}\\n/>\\n<div class=\\\"h-5\\\"></div>\\n{{#if languageIsOther}}\\n  Generate an HMAC with SHA256 whenever a user logs into your app. Most web frameworks will have a method or library to help you do this.\\n  You'll need your app’s secret key and the\\n  <code class=\\\"start__inline-code\\\">\\n    email\\n  </code>\\n  or\\n  <code class=\\\"start__inline-code\\\">\\n    user_id\\n  </code>\\n  of the currently logged-in user.\\n  <div class=\\\"h-5\\\"></div>\\n  <div class=\\\"f__group\\\">\\n    {{#each apiSecrets as |apiSecret index|}}\\n      {{#if multipleApiSecrets}}\\n        {{#if (gt index 0)}}\\n          <div class=\\\"h-5\\\"></div>\\n        {{/if}}\\n        <h3 class=\\\"t__label\\\">\\n          {{apiSecret.userSource}} Secret Key\\n        </h3>\\n      {{else}}\\n        <h3 class=\\\"t__label\\\">\\n          Secret Key\\n        </h3>\\n      {{/if}}\\n      {{apiSecret.key}}\\n    {{/each}}\\n  </div>\\n  <div class=\\\"h-2\\\"></div>\\n  <p>\\n    For example, in Ruby on Rails we can generate our HMAC using a method called\\n    <code class=\\\"start__inline-code\\\">\\n      OpenSSL::HMAC.hexdigest\\n    </code>,\\n    where the first parameter is the name of a hash function (we use SHA256), the second is your secret key,\\n    and the third is your user’s {{if isUserHashBasedOnEmail \\\"email\\\" \\\"user_id\\\"}}.\\n  </p>\\n{{else}}\\n  Your code to generate an HMAC for your app is:\\n{{/if}}\\n<div class=\\\"h-5\\\"></div>\\n{{#each apiSecrets as |apiSecret index|}}\\n  {{#if multipleApiSecrets}}\\n    {{#if (gt index 0)}}\\n      <div class=\\\"h-5\\\"></div>\\n    {{/if}}\\n    <h3>\\n      {{apiSecret.userSource}}\\n    </h3>\\n    <div class=\\\"h-2\\\"></div>\\n  {{/if}}\\n  <InstallationInstructions::HmacSnippetComponent\\n    @apiSecret={{apiSecret.key}}\\n    @language={{if languageIsOther \\\"rails\\\" language}}\\n    @userIdentifier={{userHashBasedOn}}\\n    @isSegment={{isSegment}}\\n  />\\n{{/each}}\\n<div class=\\\"h-5\\\"></div>\\n<IcBanner @type=\\\"warning\\\">\\n  <strong>\\n    Keep your {{if multipleApiSecrets \\\"secret keys\\\" \\\"secret key\\\"}} safe!\\n  </strong>\\n  Never commit {{if multipleApiSecrets \\\"them\\\" \\\"it\\\"}} directly to your repository,\\n  client-side code, or anywhere a third party can find {{if multipleApiSecrets \\\"them\\\" \\\"it\\\"}}.\\n</IcBanner>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isSegment}}\\n  Add a new\\n  <code class=\\\"start__inline-code\\\">\\n    user_hash\\n  </code>\\n  attribute to your\\n  <code class=\\\"start__inline-code\\\">\\n    analytics.identity\\n  </code>\\n  function in your Segment JavaScript snippet with an HMAC code that you generate on your server.\\n{{else}}\\n  To set up identity verification, you'll need to generate an\\n  <a\\n    href=\\\"https://en.wikipedia.org/wiki/Hash-based_message_authentication_code\\\"\\n    target=\\\"_blank\\\"\\n    rel=\\\"noopener noreferrer\\\"\\n  >\\n    HMAC\\n  </a>\\n  on your server for each logged-in user and send it to Intercom.\\n{{/if}}\\n<div class=\\\"h-5\\\"></div>\\n{{#unless isSegment}}\\n  First, choose how you want to uniquely identify your users.\\n  Note that if you choose to send both to Intercom, the User ID will take preference.\\n  <div class=\\\"h-5\\\"></div>\\n  <label for=\\\"user-id-user-hash\\\">\\n    <RadioButton\\n      @selection={{userHashBasedOn}}\\n      @value=\\\"user_id\\\"\\n      @name=\\\"user-id-user-hash\\\"\\n      @onSelectionChanged={{onChangeHMACGenerator}}\\n    />\\n    <span class=\\\"u__ml__5\\\" {{action \\\"changeHash\\\" \\\"user_id\\\"}}>\\n      User ID\\n    </span>\\n  </label>\\n  <div class=\\\"h-2\\\"></div>\\n  <label for=\\\"user-id-user-hash\\\">\\n    <RadioButton\\n      @selection={{userHashBasedOn}}\\n      @value=\\\"email\\\"\\n      @name=\\\"email-user-hash\\\"\\n      @onSelectionChanged={{onChangeHMACGenerator}}\\n    />\\n    <span class=\\\"u__ml__5\\\" {{action \\\"changeHash\\\" \\\"email\\\"}}>\\n      Email\\n    </span>\\n  </label>\\n  <div class=\\\"h-5\\\"></div>\\n{{/unless}}\\n<InstallationInstructions::WebInstallationSnippetSelectComponent\\n  @description={{if\\n    isSegment\\n    \\\"Choose the server-side language or framework you are using:\\\"\\n    \\\"Then, choose the server-side language or framework you are using:\\\"\\n  }}\\n  @selectedValue={{language}}\\n  @options={{codeOptions}}\\n  @leftAlign={{true}}\\n  @isStartScreen={{true}}\\n/>\\n<div class=\\\"h-5\\\"></div>\\n{{#if languageIsOther}}\\n  Generate an HMAC with SHA256 whenever a user logs into your app. Most web frameworks will have a method or library to help you do this.\\n  You'll need your app’s secret key and the\\n  <code class=\\\"start__inline-code\\\">\\n    email\\n  </code>\\n  or\\n  <code class=\\\"start__inline-code\\\">\\n    user_id\\n  </code>\\n  of the currently logged-in user.\\n  <div class=\\\"h-5\\\"></div>\\n  <div class=\\\"f__group\\\">\\n    {{#each apiSecrets as |apiSecret index|}}\\n      {{#if multipleApiSecrets}}\\n        {{#if (gt index 0)}}\\n          <div class=\\\"h-5\\\"></div>\\n        {{/if}}\\n        <h3 class=\\\"t__label\\\">\\n          {{apiSecret.userSource}} Secret Key\\n        </h3>\\n      {{else}}\\n        <h3 class=\\\"t__label\\\">\\n          Secret Key\\n        </h3>\\n      {{/if}}\\n      {{apiSecret.key}}\\n    {{/each}}\\n  </div>\\n  <div class=\\\"h-2\\\"></div>\\n  <p>\\n    For example, in Ruby on Rails we can generate our HMAC using a method called\\n    <code class=\\\"start__inline-code\\\">\\n      OpenSSL::HMAC.hexdigest\\n    </code>,\\n    where the first parameter is the name of a hash function (we use SHA256), the second is your secret key,\\n    and the third is your user’s {{if isUserHashBasedOnEmail \\\"email\\\" \\\"user_id\\\"}}.\\n  </p>\\n{{else}}\\n  Your code to generate an HMAC for your app is:\\n{{/if}}\\n<div class=\\\"h-5\\\"></div>\\n{{#each apiSecrets as |apiSecret index|}}\\n  {{#if multipleApiSecrets}}\\n    {{#if (gt index 0)}}\\n      <div class=\\\"h-5\\\"></div>\\n    {{/if}}\\n    <h3>\\n      {{apiSecret.userSource}}\\n    </h3>\\n    <div class=\\\"h-2\\\"></div>\\n  {{/if}}\\n  <InstallationInstructions::HmacSnippetComponent\\n    @apiSecret={{apiSecret.key}}\\n    @language={{if languageIsOther \\\"rails\\\" language}}\\n    @userIdentifier={{userHashBasedOn}}\\n    @isSegment={{isSegment}}\\n  />\\n{{/each}}\\n<div class=\\\"h-5\\\"></div>\\n<IcBanner @type=\\\"warning\\\">\\n  <strong>\\n    Keep your {{if multipleApiSecrets \\\"secret keys\\\" \\\"secret key\\\"}} safe!\\n  </strong>\\n  Never commit {{if multipleApiSecrets \\\"them\\\" \\\"it\\\"}} directly to your repository,\\n  client-side code, or anywhere a third party can find {{if multipleApiSecrets \\\"them\\\" \\\"it\\\"}}.\\n</IcBanner>\\n\",\"moduleName\":\"embercom/components/guide/start-screen/server-side-hmac-generation-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/start-screen/server-side-hmac-generation-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { equal, gt } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  userSource: null,\n  isSegment: equal('apiSecrets.firstObject.userSource', 'segment'),\n\n  onChangeHMACGenerator: () => {},\n\n  apiSecrets: null,\n  multipleApiSecrets: gt('apiSecrets.length', 1),\n\n  codeOptions: [\n    { label: 'Rails (Ruby)', value: 'rails' },\n    { label: 'Django (Python 3)', value: 'django' },\n    { label: 'PHP', value: 'php' },\n    { label: 'Other', value: 'other' },\n  ],\n  segmentCodeOptions: [\n    { label: 'Rails (Ruby)', value: 'rails' },\n    { label: 'Django (Python 3)', value: 'django' },\n    { label: 'PHP', value: 'php' },\n  ],\n  language: 'rails',\n  languageIsOther: equal('language', 'other'),\n\n  userHashBasedOn: 'user_id',\n  isUserHashBasedOnEmail: equal('userHashBasedOn', 'email'),\n  isUserHashBasedOnUserId: equal('userHashBasedOn', 'user_id'),\n\n  actions: {\n    changeHash(identifier) {\n      this.set('userHashBasedOn', identifier);\n      this.onChangeHMACGenerator(identifier);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">Android</h3>\\n<div class=\\\"h-5\\\"></div>\\n\\n<ol class=\\\"start-screen__task__list\\\">\\n  <li>\\n    <Guide::StartScreen::ServerSideHmacGenerationComponent\\n      @apiSecrets={{secretKeys}}\\n    />\\n  </li>\\n\\n  <li>\\n    Call the following method in your Android app with the HMAC after you have initialized Intercom and before registering an identified user:\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"java\\\">\\n      Intercom.client().setUserHash(\\\"your_hmac_of_user_id_or_email\\\");\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <li>\\n    Turn on identity verification for all users on Android. This means Intercom on Android won’t accept any user data that hasn’t been verified.\\n\\n    <div class='h-5'></div>\\n\\n    <Guide::StartScreen::IdentityVerificationToggleComponent\\n      @appOrSdkApp={{sdkApp}}\\n      @completeTask={{action \\\"completeTask\\\"}}\\n      @userSource=\\\"android\\\"\\n    />\\n  </li>\\n</ol>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">Android</h3>\\n<div class=\\\"h-5\\\"></div>\\n\\n<ol class=\\\"start-screen__task__list\\\">\\n  <li>\\n    <Guide::StartScreen::ServerSideHmacGenerationComponent\\n      @apiSecrets={{secretKeys}}\\n    />\\n  </li>\\n\\n  <li>\\n    Call the following method in your Android app with the HMAC after you have initialized Intercom and before registering an identified user:\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"java\\\">\\n      Intercom.client().setUserHash(\\\"your_hmac_of_user_id_or_email\\\");\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <li>\\n    Turn on identity verification for all users on Android. This means Intercom on Android won’t accept any user data that hasn’t been verified.\\n\\n    <div class='h-5'></div>\\n\\n    <Guide::StartScreen::IdentityVerificationToggleComponent\\n      @appOrSdkApp={{sdkApp}}\\n      @completeTask={{action \\\"completeTask\\\"}}\\n      @userSource=\\\"android\\\"\\n    />\\n  </li>\\n</ol>\\n\",\"moduleName\":\"embercom/components/guide/start-screen/tasks/identity-verification/android-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/start-screen/tasks/identity-verification/android-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { A } from '@ember/array';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport SdkApp from 'embercom/models/sdk-app';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  app: null,\n  sdkApp: null,\n  secretKeys: computed('sdkApp.api_secret', function() {\n    return A([{ userSource: 'Android', key: this.get('sdkApp.api_secret') }]);\n  }),\n\n  setSdkApp: task(function*() {\n    let sdkApp = yield SdkApp.findOrCreateForPlatform('Android');\n    this.set('sdkApp', sdkApp);\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.setSdkApp.perform();\n  },\n\n  actions: {\n    completeTask() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('completeTask');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">Cordova/PhoneGap</h3>\\n<div class=\\\"h-5\\\"></div>\\n\\n<ol class=\\\"start-screen__task__list\\\">\\n  <li>\\n    <Guide::StartScreen::ServerSideHmacGenerationComponent\\n      @apiSecrets={{secretKeys}}\\n    />\\n  </li>\\n\\n  <li>\\n    Call the following method in your Cordova or PhoneGap app with the HMAC after you have initialized Intercom and before registering an identified user:\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n      intercom.setUserHash(\\\"your_hmac_of_user_id_or_email\\\");\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <li>\\n    Turn on identity verification for all users on iOS and/or Android. This means Intercom on iOS and/or Android won’t accept any user data that hasn’t been verified.\\n\\n    <div class='h-5'></div>\\n\\n    <h3 class='t__label'>iOS</h3>\\n    <Guide::StartScreen::IdentityVerificationToggleComponent\\n      @appOrSdkApp={{iosSdkApp}}\\n      @completeTask={{action \\\"completeTask\\\"}}\\n      @userSource=\\\"ios\\\"\\n    />\\n\\n    <div class='h-5'></div>\\n\\n    <h3 class='t__label'>Android</h3>\\n    <Guide::StartScreen::IdentityVerificationToggleComponent\\n      @appOrSdkApp={{androidSdkApp}}\\n      @completeTask={{action \\\"completeTask\\\"}}\\n      @userSource=\\\"android\\\"\\n    />\\n  </li>\\n</ol>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">Cordova/PhoneGap</h3>\\n<div class=\\\"h-5\\\"></div>\\n\\n<ol class=\\\"start-screen__task__list\\\">\\n  <li>\\n    <Guide::StartScreen::ServerSideHmacGenerationComponent\\n      @apiSecrets={{secretKeys}}\\n    />\\n  </li>\\n\\n  <li>\\n    Call the following method in your Cordova or PhoneGap app with the HMAC after you have initialized Intercom and before registering an identified user:\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n      intercom.setUserHash(\\\"your_hmac_of_user_id_or_email\\\");\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <li>\\n    Turn on identity verification for all users on iOS and/or Android. This means Intercom on iOS and/or Android won’t accept any user data that hasn’t been verified.\\n\\n    <div class='h-5'></div>\\n\\n    <h3 class='t__label'>iOS</h3>\\n    <Guide::StartScreen::IdentityVerificationToggleComponent\\n      @appOrSdkApp={{iosSdkApp}}\\n      @completeTask={{action \\\"completeTask\\\"}}\\n      @userSource=\\\"ios\\\"\\n    />\\n\\n    <div class='h-5'></div>\\n\\n    <h3 class='t__label'>Android</h3>\\n    <Guide::StartScreen::IdentityVerificationToggleComponent\\n      @appOrSdkApp={{androidSdkApp}}\\n      @completeTask={{action \\\"completeTask\\\"}}\\n      @userSource=\\\"android\\\"\\n    />\\n  </li>\\n</ol>\\n\",\"moduleName\":\"embercom/components/guide/start-screen/tasks/identity-verification/cordova-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/start-screen/tasks/identity-verification/cordova-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { A } from '@ember/array';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport SdkApp from 'embercom/models/sdk-app';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  app: null,\n  androidSdkApp: null,\n  iosSdkApp: null,\n\n  secretKeys: computed('iosSdkApp.api_secret', 'androidSdkApp.api_secret', function() {\n    return A([\n      { userSource: 'iOS', key: this.get('iosSdkApp.api_secret') },\n      { userSource: 'Android', key: this.get('androidSdkApp.api_secret') },\n    ]);\n  }),\n\n  setSdkApps: task(function*() {\n    let iOSSdkApp = yield SdkApp.findOrCreateForPlatform('iOS');\n    let androidSdkApp = yield SdkApp.findOrCreateForPlatform('Android');\n    this.set('iosSdkApp', iOSSdkApp);\n    this.set('androidSdkApp', androidSdkApp);\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.setSdkApps.perform();\n  },\n\n  actions: {\n    completeTask() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('completeTask');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">iOS</h3>\\n<div class=\\\"h-5\\\"></div>\\n\\n<ol class=\\\"start-screen__task__list\\\">\\n  <li>\\n    <Guide::StartScreen::ServerSideHmacGenerationComponent\\n      @apiSecrets={{secretKeys}}\\n    />\\n  </li>\\n\\n  <li>\\n    Call the following method in your iOS app with the HMAC after you have initialized Intercom and before registering an identified user:\\n    <div class=\\\"h-2\\\"></div>\\n    <InstallationInstructions::IosInstallationSnippetSelectComponent @selectedValue={{language}} />\\n    <div class=\\\"h-2\\\"></div>\\n\\n    {{#if exampleIsSwift}}\\n      <InstallationInstructions::CodeComponent @language={{language}}>\\n        Intercom.setUserHash(\\\"your_hmac_of_user_id_or_email\\\")\\n      </InstallationInstructions::CodeComponent>\\n    {{else}}\\n      <InstallationInstructions::CodeComponent @language={{language}}>\\n        [Intercom setUserHash:\\\"your_hmac_of_user_id_or_email\\\"];\\n      </InstallationInstructions::CodeComponent>\\n    {{/if}}\\n  </li>\\n\\n  <li>\\n    Turn on identity verification for all users on iOS. This means Intercom on iOS won’t accept any user data that hasn’t been verified.\\n\\n    <div class='h-5'></div>\\n\\n    <Guide::StartScreen::IdentityVerificationToggleComponent\\n      @appOrSdkApp={{sdkApp}}\\n      @completeTask={{action \\\"completeTask\\\"}}\\n      @userSource=\\\"ios\\\"\\n    />\\n  </li>\\n</ol>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">iOS</h3>\\n<div class=\\\"h-5\\\"></div>\\n\\n<ol class=\\\"start-screen__task__list\\\">\\n  <li>\\n    <Guide::StartScreen::ServerSideHmacGenerationComponent\\n      @apiSecrets={{secretKeys}}\\n    />\\n  </li>\\n\\n  <li>\\n    Call the following method in your iOS app with the HMAC after you have initialized Intercom and before registering an identified user:\\n    <div class=\\\"h-2\\\"></div>\\n    <InstallationInstructions::IosInstallationSnippetSelectComponent @selectedValue={{language}} />\\n    <div class=\\\"h-2\\\"></div>\\n\\n    {{#if exampleIsSwift}}\\n      <InstallationInstructions::CodeComponent @language={{language}}>\\n        Intercom.setUserHash(\\\"your_hmac_of_user_id_or_email\\\")\\n      </InstallationInstructions::CodeComponent>\\n    {{else}}\\n      <InstallationInstructions::CodeComponent @language={{language}}>\\n        [Intercom setUserHash:\\\"your_hmac_of_user_id_or_email\\\"];\\n      </InstallationInstructions::CodeComponent>\\n    {{/if}}\\n  </li>\\n\\n  <li>\\n    Turn on identity verification for all users on iOS. This means Intercom on iOS won’t accept any user data that hasn’t been verified.\\n\\n    <div class='h-5'></div>\\n\\n    <Guide::StartScreen::IdentityVerificationToggleComponent\\n      @appOrSdkApp={{sdkApp}}\\n      @completeTask={{action \\\"completeTask\\\"}}\\n      @userSource=\\\"ios\\\"\\n    />\\n  </li>\\n</ol>\\n\",\"moduleName\":\"embercom/components/guide/start-screen/tasks/identity-verification/ios-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/start-screen/tasks/identity-verification/ios-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { A } from '@ember/array';\nimport { computed } from '@ember/object';\nimport { equal } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport SdkApp from 'embercom/models/sdk-app';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  app: null,\n  sdkApp: null,\n  secretKeys: computed('sdkApp.api_secret', function() {\n    return A([{ userSource: 'iOS', key: this.get('sdkApp.api_secret') }]);\n  }),\n\n  exampleIsSwift: equal('language', 'swift'),\n  language: 'swift',\n\n  setSdkApp: task(function*() {\n    let sdkApp = yield SdkApp.findOrCreateForPlatform('iOS');\n    this.set('sdkApp', sdkApp);\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.setSdkApp.perform();\n  },\n\n  actions: {\n    completeTask() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('completeTask');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">Basic JavaScript</h3>\\n<div class=\\\"h-5\\\"></div>\\n\\n<ol class='start-screen__task__list'>\\n  <li>\\n    <Guide::StartScreen::ServerSideHmacGenerationComponent\\n      @apiSecrets={{secretKeys}}\\n      @onChangeHMACGenerator={{action \\\"changeHMACGenerator\\\"}}\\n    />\\n  </li>\\n  <li>\\n    Everywhere that you load user data and have a <code class=\\\"start__inline-code\\\">window.intercomSettings</code> code snippet, add a new attribute called <code class=\\\"start__inline-code\\\">user_hash</code> and assign the HMAC code for the logged-in user to it:\\n\\n    <div class='h-2'></div>\\n\\n    {{#if languageIsOther}}\\n      <p>For Ruby on Rails, this would look like:</p>\\n      <div class='h-2'></div>\\n    {{/if}}\\n\\n    <InstallationInstructions::CodeComponent\\n      @rerenderOnChange={{language}}\\n      @rerenderOnOtherChange={{isUserHashBasedOnUserId}}\\n      @language=\\\"html\\\"\\n    >\\n      <InstallationInstructions::WebInstallationSnippetComponent\\n        @installationIsAnonymous={{false}}\\n        @installationHasIdentityVerified={{true}}\\n        @installationHasIdentityVerifiedByUserID={{eq identificationHMACGenerator \\\"user_id\\\"}}\\n        @language={{if languageIsOther \\\"rails\\\" language}}\\n        @appIdCode={{app.id}}\\n        @appApiSecret={{app.api_secret}}\\n        @escapedHTML={{false}}\\n      />\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n  <li>\\n    <Guide::StartScreen::IdentityVerificationPingDomains\\n      @app={{app}}\\n      @pingDomains={{pingDomains}}\\n      @taskComplete={{this.task.completed}}\\n      @language=\\\"javascript\\\"\\n    />\\n  </li>\\n\\n  <li>\\n    Turn on identity verification for all users on web. This means Intercom on web won’t accept any user data that hasn’t been verified.\\n\\n    <div class='h-5'></div>\\n\\n    <Guide::StartScreen::IdentityVerificationToggleComponent\\n      @appOrSdkApp={{app}}\\n      @completeTask={{action \\\"completeTask\\\"}}\\n      @userSource=\\\"javascript\\\"\\n      @pingDomains={{pingDomains}}\\n      @disabled={{disableToggle}}\\n    />\\n  </li>\\n</ol>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">Basic JavaScript</h3>\\n<div class=\\\"h-5\\\"></div>\\n\\n<ol class='start-screen__task__list'>\\n  <li>\\n    <Guide::StartScreen::ServerSideHmacGenerationComponent\\n      @apiSecrets={{secretKeys}}\\n      @onChangeHMACGenerator={{action \\\"changeHMACGenerator\\\"}}\\n    />\\n  </li>\\n  <li>\\n    Everywhere that you load user data and have a <code class=\\\"start__inline-code\\\">window.intercomSettings</code> code snippet, add a new attribute called <code class=\\\"start__inline-code\\\">user_hash</code> and assign the HMAC code for the logged-in user to it:\\n\\n    <div class='h-2'></div>\\n\\n    {{#if languageIsOther}}\\n      <p>For Ruby on Rails, this would look like:</p>\\n      <div class='h-2'></div>\\n    {{/if}}\\n\\n    <InstallationInstructions::CodeComponent\\n      @rerenderOnChange={{language}}\\n      @rerenderOnOtherChange={{isUserHashBasedOnUserId}}\\n      @language=\\\"html\\\"\\n    >\\n      <InstallationInstructions::WebInstallationSnippetComponent\\n        @installationIsAnonymous={{false}}\\n        @installationHasIdentityVerified={{true}}\\n        @installationHasIdentityVerifiedByUserID={{eq identificationHMACGenerator \\\"user_id\\\"}}\\n        @language={{if languageIsOther \\\"rails\\\" language}}\\n        @appIdCode={{app.id}}\\n        @appApiSecret={{app.api_secret}}\\n        @escapedHTML={{false}}\\n      />\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n  <li>\\n    <Guide::StartScreen::IdentityVerificationPingDomains\\n      @app={{app}}\\n      @pingDomains={{pingDomains}}\\n      @taskComplete={{this.task.completed}}\\n      @language=\\\"javascript\\\"\\n    />\\n  </li>\\n\\n  <li>\\n    Turn on identity verification for all users on web. This means Intercom on web won’t accept any user data that hasn’t been verified.\\n\\n    <div class='h-5'></div>\\n\\n    <Guide::StartScreen::IdentityVerificationToggleComponent\\n      @appOrSdkApp={{app}}\\n      @completeTask={{action \\\"completeTask\\\"}}\\n      @userSource=\\\"javascript\\\"\\n      @pingDomains={{pingDomains}}\\n      @disabled={{disableToggle}}\\n    />\\n  </li>\\n</ol>\\n\",\"moduleName\":\"embercom/components/guide/start-screen/tasks/identity-verification/javascript-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/start-screen/tasks/identity-verification/javascript-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { A } from '@ember/array';\nimport { computed } from '@ember/object';\nimport { none } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  app: null,\n  pingDomains: null,\n  disableToggle: none('pingDomains'),\n  secretKeys: computed('app.api_secret', function() {\n    return A([{ userSource: 'web', key: this.get('app.api_secret') }]);\n  }),\n\n  identificationHMACGenerator: 'user_id',\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: 'install_option_viewed',\n      context: 'javascript',\n      place: 'start_guide',\n    });\n  },\n\n  actions: {\n    completeTask() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('completeTask');\n    },\n\n    changeHMACGenerator(identifier) {\n      this.set('identificationHMACGenerator', identifier);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">Rails</h3>\\n<div class=\\\"h-5\\\"></div>\\n\\n<ol class='start-screen__task__list'>\\n  <li>\\n    Add the following line to <code>config/initializers/intercom.rb</code>:\\n\\n    <div class='h-2'></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"ruby\\\">\\n      config.api_secret = Rails.application.secrets.intercom_secure_mode_secret_key\\n    </InstallationInstructions::CodeComponent>\\n\\n    <div class='h-2'></div>\\n\\n    Then, in your secrets file, add the identity verification secret key to the appropriate environment.\\n\\n    <div class='h-2'></div>\\n\\n    Here’s an example:\\n\\n    <div class='h-2'></div>\\n\\n    <InstallationInstructions::CodeComponent>\\n      production: intercom_secure_mode_secret_key: '{{app.api_secret}}'\\n    </InstallationInstructions::CodeComponent>\\n\\n    <div class='h-2'></div>\\n\\n    <IcBanner @type=\\\"warning\\\">\\n      <strong>Keep your secret key safe!</strong> Never commit it directly to your repository, client-side code, or anywhere a third party can find it.\\n    </IcBanner>\\n  </li>\\n\\n  <li>\\n    <Guide::StartScreen::IdentityVerificationPingDomains\\n      @app={{app}}\\n      @pingDomains={{pingDomains}}\\n      @taskComplete={{this.task.completed}}\\n    />\\n  </li>\\n\\n  <li>\\n    Turn on identity verification for all users on web. This means Intercom on web won’t accept any user data that hasn’t been verified.\\n\\n    <div class='h-5'></div>\\n\\n    <Guide::StartScreen::IdentityVerificationToggleComponent\\n      @appOrSdkApp={{app}}\\n      @completeTask={{action \\\"completeTask\\\"}}\\n      @userSource=\\\"rails\\\"\\n      @pingDomains={{pingDomains}}\\n      @disabled={{disableToggle}}\\n    />\\n  </li>\\n</ol>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">Rails</h3>\\n<div class=\\\"h-5\\\"></div>\\n\\n<ol class='start-screen__task__list'>\\n  <li>\\n    Add the following line to <code>config/initializers/intercom.rb</code>:\\n\\n    <div class='h-2'></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"ruby\\\">\\n      config.api_secret = Rails.application.secrets.intercom_secure_mode_secret_key\\n    </InstallationInstructions::CodeComponent>\\n\\n    <div class='h-2'></div>\\n\\n    Then, in your secrets file, add the identity verification secret key to the appropriate environment.\\n\\n    <div class='h-2'></div>\\n\\n    Here’s an example:\\n\\n    <div class='h-2'></div>\\n\\n    <InstallationInstructions::CodeComponent>\\n      production: intercom_secure_mode_secret_key: '{{app.api_secret}}'\\n    </InstallationInstructions::CodeComponent>\\n\\n    <div class='h-2'></div>\\n\\n    <IcBanner @type=\\\"warning\\\">\\n      <strong>Keep your secret key safe!</strong> Never commit it directly to your repository, client-side code, or anywhere a third party can find it.\\n    </IcBanner>\\n  </li>\\n\\n  <li>\\n    <Guide::StartScreen::IdentityVerificationPingDomains\\n      @app={{app}}\\n      @pingDomains={{pingDomains}}\\n      @taskComplete={{this.task.completed}}\\n    />\\n  </li>\\n\\n  <li>\\n    Turn on identity verification for all users on web. This means Intercom on web won’t accept any user data that hasn’t been verified.\\n\\n    <div class='h-5'></div>\\n\\n    <Guide::StartScreen::IdentityVerificationToggleComponent\\n      @appOrSdkApp={{app}}\\n      @completeTask={{action \\\"completeTask\\\"}}\\n      @userSource=\\\"rails\\\"\\n      @pingDomains={{pingDomains}}\\n      @disabled={{disableToggle}}\\n    />\\n  </li>\\n</ol>\\n\",\"moduleName\":\"embercom/components/guide/start-screen/tasks/identity-verification/rails-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/start-screen/tasks/identity-verification/rails-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { none } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  app: null,\n  pingDomains: null,\n  disableToggle: none('pingDomains'),\n\n  actions: {\n    completeTask() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('completeTask');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">\\n  Segment\\n</h3>\\n<div class=\\\"h-5\\\"></div>\\n<ol class=\\\"start-screen__task__list\\\">\\n  <li>\\n    <Guide::StartScreen::ServerSideHmacGenerationComponent @apiSecrets={{secretKeys}} />\\n  </li>\\n  <li>\\n    <Guide::StartScreen::IdentityVerificationPingDomains\\n      @app={{app}}\\n      @pingDomains={{pingDomains}}\\n      @taskComplete={{this.task.completed}}\\n    />\\n  </li>\\n  <li>\\n    Turn on identity verification for all users on web. This means Intercom on web won’t accept any user data that hasn’t been verified.\\n    <div class=\\\"h-5\\\"></div>\\n    <Guide::StartScreen::IdentityVerificationToggleComponent\\n      @appOrSdkApp={{app}}\\n      @completeTask={{action \\\"completeTask\\\"}}\\n      @userSource=\\\"segment\\\"\\n      @pingDomains={{pingDomains}}\\n      @disabled={{disableToggle}}\\n    />\\n  </li>\\n</ol>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">\\n  Segment\\n</h3>\\n<div class=\\\"h-5\\\"></div>\\n<ol class=\\\"start-screen__task__list\\\">\\n  <li>\\n    <Guide::StartScreen::ServerSideHmacGenerationComponent @apiSecrets={{secretKeys}} />\\n  </li>\\n  <li>\\n    <Guide::StartScreen::IdentityVerificationPingDomains\\n      @app={{app}}\\n      @pingDomains={{pingDomains}}\\n      @taskComplete={{this.task.completed}}\\n    />\\n  </li>\\n  <li>\\n    Turn on identity verification for all users on web. This means Intercom on web won’t accept any user data that hasn’t been verified.\\n    <div class=\\\"h-5\\\"></div>\\n    <Guide::StartScreen::IdentityVerificationToggleComponent\\n      @appOrSdkApp={{app}}\\n      @completeTask={{action \\\"completeTask\\\"}}\\n      @userSource=\\\"segment\\\"\\n      @pingDomains={{pingDomains}}\\n      @disabled={{disableToggle}}\\n    />\\n  </li>\\n</ol>\\n\",\"moduleName\":\"embercom/components/guide/start-screen/tasks/identity-verification/segment-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/start-screen/tasks/identity-verification/segment-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { A } from '@ember/array';\nimport { computed } from '@ember/object';\nimport { none } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  app: null,\n  pingDomains: null,\n  disableToggle: none('pingDomains'),\n  secretKeys: computed('app.api_secret', function() {\n    return A([{ userSource: 'segment', key: this.get('app.api_secret') }]);\n  }),\n\n  actions: {\n    completeTask() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('completeTask');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">\\n  Shopify\\n</h3>\\n<div class=\\\"h-5\\\"></div>\\n<p>\\n  Shopify automatically sets up identity verification for your site.\\n</p>\\n<div class=\\\"h-5\\\"></div>\\n<ol class=\\\"start-screen__task__list\\\">\\n  <li>\\n    <Guide::StartScreen::IdentityVerificationPingDomains\\n      @app={{app}}\\n      @pingDomains={{pingDomains}}\\n      @taskComplete={{this.task.completed}}\\n    />\\n  </li>\\n  <li>\\n    Turn on identity verification for all users on web. This means Intercom on web won’t accept any user data that hasn’t been verified.\\n    <div class=\\\"h-5\\\"></div>\\n    <Guide::StartScreen::IdentityVerificationToggleComponent\\n      @appOrSdkApp={{app}}\\n      @completeTask={{action \\\"completeTask\\\"}}\\n      @userSource=\\\"javascript\\\"\\n      @pingDomains={{pingDomains}}\\n      @disabled={{disableToggle}}\\n    />\\n  </li>\\n</ol>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">\\n  Shopify\\n</h3>\\n<div class=\\\"h-5\\\"></div>\\n<p>\\n  Shopify automatically sets up identity verification for your site.\\n</p>\\n<div class=\\\"h-5\\\"></div>\\n<ol class=\\\"start-screen__task__list\\\">\\n  <li>\\n    <Guide::StartScreen::IdentityVerificationPingDomains\\n      @app={{app}}\\n      @pingDomains={{pingDomains}}\\n      @taskComplete={{this.task.completed}}\\n    />\\n  </li>\\n  <li>\\n    Turn on identity verification for all users on web. This means Intercom on web won’t accept any user data that hasn’t been verified.\\n    <div class=\\\"h-5\\\"></div>\\n    <Guide::StartScreen::IdentityVerificationToggleComponent\\n      @appOrSdkApp={{app}}\\n      @completeTask={{action \\\"completeTask\\\"}}\\n      @userSource=\\\"javascript\\\"\\n      @pingDomains={{pingDomains}}\\n      @disabled={{disableToggle}}\\n    />\\n  </li>\\n</ol>\\n\",\"moduleName\":\"embercom/components/guide/start-screen/tasks/identity-verification/shopify-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/start-screen/tasks/identity-verification/shopify-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { none } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  app: null,\n  pingDomains: null,\n  disableToggle: none('pingDomains'),\n\n  actions: {\n    completeTask() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('completeTask');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">Single-page web app</h3>\\n<div class=\\\"h-5\\\"></div>\\n\\n<ol class='start-screen__task__list'>\\n  <li>\\n    <Guide::StartScreen::ServerSideHmacGenerationComponent\\n      @apiSecrets={{secretKeys}}\\n      @onChangeHMACGenerator={{action \\\"changeHMACGenerator\\\"}}\\n    />\\n  </li>\\n\\n  <li>\\n    Everywhere that you load user data and have a <code class=\\\"start__inline-code\\\">window.Intercom(\\\"boot\\\")</code> code snippet, add a new attribute called <code class=\\\"start__inline-code\\\">user_hash</code> and assign the HMAC code for the logged-in user to it:\\n\\n    <div class='h-2'></div>\\n\\n    {{#if languageIsOther}}\\n      <p>For Ruby on Rails, this would look like:</p>\\n\\n      <div class='h-2'></div>\\n    {{/if}}\\n\\n    <InstallationInstructions::CodeComponent\\n      @rerenderOnChange={{language}}\\n      @rerenderOnOtherChange={{isUserHashBasedOnUserId}}\\n      @language=\\\"javascript\\\"\\n    >\\n      <InstallationInstructions::WebInstallationSnippetComponent\\n        @installationIsAnonymous={{false}}\\n        @installationHasIdentityVerified={{true}}\\n        @installationIsSinglePageApp={{true}}\\n        @installationHasIdentityVerifiedByUserID={{eq identificationHMACGenerator \\\"user_id\\\"}}\\n        @language={{if languageIsOther \\\"rails\\\" language}}\\n        @appIdCode={{app.id}}\\n        @appApiSecret={{app.api_secret}}\\n        @escapedHTML={{false}}\\n      />\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <li>\\n    <Guide::StartScreen::IdentityVerificationPingDomains\\n      @app={{app}}\\n      @pingDomains={{pingDomains}}\\n      @taskComplete={{this.task.completed}}\\n    />\\n  </li>\\n\\n  <li>\\n    Turn on identity verification for all users on web. This means Intercom on web won’t accept any user data that hasn’t been verified.\\n\\n    <div class='h-5'></div>\\n\\n    <Guide::StartScreen::IdentityVerificationToggleComponent\\n      @appOrSdkApp={{app}}\\n      @completeTask={{action \\\"completeTask\\\"}}\\n      @userSource=\\\"single-page\\\"\\n      @pingDomains={{pingDomains}}\\n      @disabled={{disableToggle}}\\n    />\\n  </li>\\n</ol>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">Single-page web app</h3>\\n<div class=\\\"h-5\\\"></div>\\n\\n<ol class='start-screen__task__list'>\\n  <li>\\n    <Guide::StartScreen::ServerSideHmacGenerationComponent\\n      @apiSecrets={{secretKeys}}\\n      @onChangeHMACGenerator={{action \\\"changeHMACGenerator\\\"}}\\n    />\\n  </li>\\n\\n  <li>\\n    Everywhere that you load user data and have a <code class=\\\"start__inline-code\\\">window.Intercom(\\\"boot\\\")</code> code snippet, add a new attribute called <code class=\\\"start__inline-code\\\">user_hash</code> and assign the HMAC code for the logged-in user to it:\\n\\n    <div class='h-2'></div>\\n\\n    {{#if languageIsOther}}\\n      <p>For Ruby on Rails, this would look like:</p>\\n\\n      <div class='h-2'></div>\\n    {{/if}}\\n\\n    <InstallationInstructions::CodeComponent\\n      @rerenderOnChange={{language}}\\n      @rerenderOnOtherChange={{isUserHashBasedOnUserId}}\\n      @language=\\\"javascript\\\"\\n    >\\n      <InstallationInstructions::WebInstallationSnippetComponent\\n        @installationIsAnonymous={{false}}\\n        @installationHasIdentityVerified={{true}}\\n        @installationIsSinglePageApp={{true}}\\n        @installationHasIdentityVerifiedByUserID={{eq identificationHMACGenerator \\\"user_id\\\"}}\\n        @language={{if languageIsOther \\\"rails\\\" language}}\\n        @appIdCode={{app.id}}\\n        @appApiSecret={{app.api_secret}}\\n        @escapedHTML={{false}}\\n      />\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <li>\\n    <Guide::StartScreen::IdentityVerificationPingDomains\\n      @app={{app}}\\n      @pingDomains={{pingDomains}}\\n      @taskComplete={{this.task.completed}}\\n    />\\n  </li>\\n\\n  <li>\\n    Turn on identity verification for all users on web. This means Intercom on web won’t accept any user data that hasn’t been verified.\\n\\n    <div class='h-5'></div>\\n\\n    <Guide::StartScreen::IdentityVerificationToggleComponent\\n      @appOrSdkApp={{app}}\\n      @completeTask={{action \\\"completeTask\\\"}}\\n      @userSource=\\\"single-page\\\"\\n      @pingDomains={{pingDomains}}\\n      @disabled={{disableToggle}}\\n    />\\n  </li>\\n</ol>\\n\",\"moduleName\":\"embercom/components/guide/start-screen/tasks/identity-verification/single-page-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/start-screen/tasks/identity-verification/single-page-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { A } from '@ember/array';\nimport { computed } from '@ember/object';\nimport { none } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  app: null,\n  pingDomains: null,\n  disableToggle: none('pingDomains'),\n  secretKeys: computed('app.api_secret', function() {\n    return A([{ userSource: 'web', key: this.get('app.api_secret') }]);\n  }),\n\n  identificationHMACGenerator: 'user_id',\n\n  actions: {\n    completeTask() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('completeTask');\n    },\n\n    changeHMACGenerator(identifier) {\n      this.set('identificationHMACGenerator', identifier);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">\\n  Wordpress\\n</h3>\\n<div class=\\\"h-5\\\"></div>\\n<p>\\n  Wordpress automatically sets up identity verification for your site.\\n</p>\\n<div class=\\\"h-5\\\"></div>\\n<ol class=\\\"start-screen__task__list\\\">\\n  <li>\\n    <Guide::StartScreen::IdentityVerificationPingDomains\\n      @app={{app}}\\n      @pingDomains={{pingDomains}}\\n      @taskComplete={{this.task.completed}}\\n    />\\n  </li>\\n  <li>\\n    Turn on identity verification for all users on web. This means Intercom on web won’t accept any user data that hasn’t been verified.\\n    <div class=\\\"h-5\\\"></div>\\n    <Guide::StartScreen::IdentityVerificationToggleComponent\\n      @appOrSdkApp={{app}}\\n      @completeTask={{action \\\"completeTask\\\"}}\\n      @userSource=\\\"javascript\\\"\\n      @pingDomains={{pingDomains}}\\n      @disabled={{disableToggle}}\\n    />\\n  </li>\\n</ol>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">\\n  Wordpress\\n</h3>\\n<div class=\\\"h-5\\\"></div>\\n<p>\\n  Wordpress automatically sets up identity verification for your site.\\n</p>\\n<div class=\\\"h-5\\\"></div>\\n<ol class=\\\"start-screen__task__list\\\">\\n  <li>\\n    <Guide::StartScreen::IdentityVerificationPingDomains\\n      @app={{app}}\\n      @pingDomains={{pingDomains}}\\n      @taskComplete={{this.task.completed}}\\n    />\\n  </li>\\n  <li>\\n    Turn on identity verification for all users on web. This means Intercom on web won’t accept any user data that hasn’t been verified.\\n    <div class=\\\"h-5\\\"></div>\\n    <Guide::StartScreen::IdentityVerificationToggleComponent\\n      @appOrSdkApp={{app}}\\n      @completeTask={{action \\\"completeTask\\\"}}\\n      @userSource=\\\"javascript\\\"\\n      @pingDomains={{pingDomains}}\\n      @disabled={{disableToggle}}\\n    />\\n  </li>\\n</ol>\\n\",\"moduleName\":\"embercom/components/guide/start-screen/tasks/identity-verification/wordpress-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/start-screen/tasks/identity-verification/wordpress-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { none } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  app: null,\n  pingDomains: null,\n  disableToggle: none('pingDomains'),\n\n  actions: {\n    completeTask() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('completeTask');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"f__custom-select\\\">\\n  <span class=\\\"f__custom-select__box o__secondary {{if isOpen 'o__opened'}}\\\">\\n    More resources\\n    <span class=\\\"f__custom-select__caret\\\">{{ic-interface-icon 'small-down-arrow' solo=true}}</span>\\n  </span>\\n  {{#if isOpen}}\\n    <div class=\\\"overlay o__dropdown o__down-right z__2\\\">\\n      {{#each options as |option|}}\\n          <a href=\\\"{{option.url}}\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" class=\\\"dropdown__list-item o__hoverable u__prevent-breaks\\\" {{action \\\"trackClick\\\" option.analyticsId preventDefault=false}}>\\n            {{ic-interface-icon option.icon}}\\n            <span>{{option.text}}</span>\\n          </a>\\n      {{/each}}\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"f__custom-select\\\">\\n  <span class=\\\"f__custom-select__box o__secondary {{if isOpen 'o__opened'}}\\\">\\n    More resources\\n    <span class=\\\"f__custom-select__caret\\\">{{ic-interface-icon 'small-down-arrow' solo=true}}</span>\\n  </span>\\n  {{#if isOpen}}\\n    <div class=\\\"overlay o__dropdown o__down-right z__2\\\">\\n      {{#each options as |option|}}\\n          <a href=\\\"{{option.url}}\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" class=\\\"dropdown__list-item o__hoverable u__prevent-breaks\\\" {{action \\\"trackClick\\\" option.analyticsId preventDefault=false}}>\\n            {{ic-interface-icon option.icon}}\\n            <span>{{option.text}}</span>\\n          </a>\\n      {{/each}}\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/guide/start-screen/toolbar-action-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/start-screen/toolbar-action-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { inject as service } from '@ember/service';\nimport DropdownComponent from 'embercom/components/dropdown-component';\n\nexport default DropdownComponent.extend({\n  intercomEventService: service(),\n  options: [\n    {\n      url: 'https://www.intercom.com/help/',\n      icon: 'book',\n      text: 'Visit the Help Center',\n      analyticsId: 'help_center',\n    },\n    {\n      url: 'https://www.intercom.com/watch-a-demo ',\n      icon: 'video',\n      text: 'Watch demos',\n      analyticsId: 'demos',\n    },\n    {\n      url: 'https://developers.intercom.com/',\n      icon: 'code',\n      text: 'Read API docs',\n      analyticsId: 'api_docs',\n    },\n  ],\n  actions: {\n    trackClick(objectName) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: objectName,\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<p>\\n  {{taskDescription}}\\n</p>\\n<div class=\\\"mb-6\\\"></div>\\n<hr class=\\\"start-screen__hr\\\" />\\n<div class=\\\"mb-6\\\"></div>\\n{{#if userSource}}\\n  <a\\n    class=\\\"t__breadcrumb t__solo-link\\\"\\n    onclick={{action \\\"chooseUserSource\\\" \\\"\\\"}}\\n  >\\n    Methods\\n    <span>\\n      {{ic-interface-icon \\\"small-thin-right-arrow\\\"}}\\n    </span>\\n  </a>\\n  {{component\\n    installationComponentPath\\n    userSource=userSource\\n    app=app\\n    task=task\\n    taskData=taskData\\n    installed=userSourceInstalled\\n    errorMessage=errorMessage\\n    installOtherOption=(action \\\"chooseUserSource\\\" \\\"\\\")\\n    completeTask=(action \\\"verifyUserSource\\\")\\n  }}\\n{{else}}\\n  <p>\\n    Choose a method:\\n  </p>\\n  <div class=\\\"mb-4\\\"></div>\\n  {{#if displayWebSources.length}}\\n    <IcContent>\\n      <h3 class=\\\"t__label\\\">\\n        Web\\n      </h3>\\n      <div class=\\\"flex flex-row\\\">\\n        {{#each displayWebSources as |source|}}\\n          <Guide::StartScreen::InstallOptionComponent\\n            @key={{source.key}}\\n            @name={{source.name}}\\n            @description={{source.description}}\\n            @showDescription={{showDescription}}\\n            @installed={{and\\n              showSourceInstalled\\n              (includes userSourceKeys source.key)\\n            }}\\n            @choose={{action \\\"chooseUserSource\\\" source.key}}\\n          />\\n        {{/each}}\\n      </div>\\n    </IcContent>\\n    <div class=\\\"mb-8\\\"></div>\\n  {{/if}}\\n  {{#if displayMobileSources.length}}\\n    {{#unless hideMobile}}\\n      <IcContent>\\n        <h3 class=\\\"t__label\\\">\\n          Mobile\\n        </h3>\\n        <div class=\\\"flex flex-row\\\">\\n          {{#each displayMobileSources as |source|}}\\n            <Guide::StartScreen::InstallOptionComponent\\n              @key={{source.key}}\\n              @name={{source.name}}\\n              @description={{source.description}}\\n              @showDescription={{showDescription}}\\n              @installed={{and\\n                showSourceInstalled\\n                (includes userSourceKeys source.key)\\n              }}\\n              @choose={{action \\\"chooseUserSource\\\" source.key}}\\n            />\\n          {{/each}}\\n        </div>\\n      </IcContent>\\n      <div class=\\\"mb-8\\\"></div>\\n    {{/unless}}\\n  {{/if}}\\n  {{#if displayThirdPartySources.length}}\\n    <IcContent>\\n      <h3 class=\\\"t__label\\\">\\n        Third-party integrations\\n      </h3>\\n      <div class=\\\"flex flex-row\\\">\\n        {{#each displayThirdPartySources as |source|}}\\n          <Guide::StartScreen::InstallOptionComponent\\n            @key={{source.key}}\\n            @name={{source.name}}\\n            @description={{source.description}}\\n            @showDescription={{showDescription}}\\n            @installed={{and\\n              showSourceInstalled\\n              (includes userSourceKeys source.key)\\n            }}\\n            @choose={{action \\\"chooseUserSource\\\" source.key}}\\n          />\\n        {{/each}}\\n      </div>\\n    </IcContent>\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<p>\\n  {{taskDescription}}\\n</p>\\n<div class=\\\"mb-6\\\"></div>\\n<hr class=\\\"start-screen__hr\\\" />\\n<div class=\\\"mb-6\\\"></div>\\n{{#if userSource}}\\n  <a\\n    class=\\\"t__breadcrumb t__solo-link\\\"\\n    onclick={{action \\\"chooseUserSource\\\" \\\"\\\"}}\\n  >\\n    Methods\\n    <span>\\n      {{ic-interface-icon \\\"small-thin-right-arrow\\\"}}\\n    </span>\\n  </a>\\n  {{component\\n    installationComponentPath\\n    userSource=userSource\\n    app=app\\n    task=task\\n    taskData=taskData\\n    installed=userSourceInstalled\\n    errorMessage=errorMessage\\n    installOtherOption=(action \\\"chooseUserSource\\\" \\\"\\\")\\n    completeTask=(action \\\"verifyUserSource\\\")\\n  }}\\n{{else}}\\n  <p>\\n    Choose a method:\\n  </p>\\n  <div class=\\\"mb-4\\\"></div>\\n  {{#if displayWebSources.length}}\\n    <IcContent>\\n      <h3 class=\\\"t__label\\\">\\n        Web\\n      </h3>\\n      <div class=\\\"flex flex-row\\\">\\n        {{#each displayWebSources as |source|}}\\n          <Guide::StartScreen::InstallOptionComponent\\n            @key={{source.key}}\\n            @name={{source.name}}\\n            @description={{source.description}}\\n            @showDescription={{showDescription}}\\n            @installed={{and\\n              showSourceInstalled\\n              (includes userSourceKeys source.key)\\n            }}\\n            @choose={{action \\\"chooseUserSource\\\" source.key}}\\n          />\\n        {{/each}}\\n      </div>\\n    </IcContent>\\n    <div class=\\\"mb-8\\\"></div>\\n  {{/if}}\\n  {{#if displayMobileSources.length}}\\n    {{#unless hideMobile}}\\n      <IcContent>\\n        <h3 class=\\\"t__label\\\">\\n          Mobile\\n        </h3>\\n        <div class=\\\"flex flex-row\\\">\\n          {{#each displayMobileSources as |source|}}\\n            <Guide::StartScreen::InstallOptionComponent\\n              @key={{source.key}}\\n              @name={{source.name}}\\n              @description={{source.description}}\\n              @showDescription={{showDescription}}\\n              @installed={{and\\n                showSourceInstalled\\n                (includes userSourceKeys source.key)\\n              }}\\n              @choose={{action \\\"chooseUserSource\\\" source.key}}\\n            />\\n          {{/each}}\\n        </div>\\n      </IcContent>\\n      <div class=\\\"mb-8\\\"></div>\\n    {{/unless}}\\n  {{/if}}\\n  {{#if displayThirdPartySources.length}}\\n    <IcContent>\\n      <h3 class=\\\"t__label\\\">\\n        Third-party integrations\\n      </h3>\\n      <div class=\\\"flex flex-row\\\">\\n        {{#each displayThirdPartySources as |source|}}\\n          <Guide::StartScreen::InstallOptionComponent\\n            @key={{source.key}}\\n            @name={{source.name}}\\n            @description={{source.description}}\\n            @showDescription={{showDescription}}\\n            @installed={{and\\n              showSourceInstalled\\n              (includes userSourceKeys source.key)\\n            }}\\n            @choose={{action \\\"chooseUserSource\\\" source.key}}\\n          />\\n        {{/each}}\\n      </div>\\n    </IcContent>\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/guide/start-screen/user-source-selector-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/guide/start-screen/user-source-selector-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { dasherize } from '@ember/string';\nimport { computed } from '@ember/object';\nimport { not, readOnly, and, mapBy, union } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport {\n  containsByProperty,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport INSTALL_OPTIONS from 'embercom/lib/guide/start-screen/installation-options';\n\nexport default Component.extend({\n  showDescription: null,\n  showAllOptions: false,\n  showlimitedOptions: not('showAllOptions'),\n  showSourceInstalled: readOnly('showAllOptions'),\n  showExistingSources: and('webMobileThirdPartyUserSources.length', 'showlimitedOptions'),\n\n  userSource: null,\n  userSources: null,\n  userSourceKeys: mapBy('userSources', 'name'),\n  userSourceInstalled: containsByProperty('userSourceKeys', 'userSource'),\n  webMobileThirdPartyUserSources: union('webSources', 'mobileSources', 'thirdPartySources'),\n  displayWebSources: ternaryToProperty('showExistingSources', 'webSources', 'webOptions'),\n  displayMobileSources: ternaryToProperty('showExistingSources', 'mobileSources', 'mobileOptions'),\n  displayThirdPartySources: ternaryToProperty(\n    'showExistingSources',\n    'thirdPartySources',\n    'thirdPartyOptions',\n  ),\n  webOptions: INSTALL_OPTIONS['web'],\n  mobileOptions: INSTALL_OPTIONS['mobile'],\n  thirdPartyOptions: INSTALL_OPTIONS['thirdParty'],\n\n  webSources: computed('webOptions.[]', 'userSourceKeys.[]', function() {\n    return this.webOptions.filter(option => {\n      return this.userSourceKeys.includes(option.key);\n    });\n  }),\n\n  mobileSources: computed('mobileOptions.[]', 'userSourceKeys.[]', function() {\n    return this.mobileOptions.filter(option => {\n      return this.userSourceKeys.includes(option.key);\n    });\n  }),\n\n  thirdPartySources: computed('thirdPartyOptions.[]', 'userSourceKeys.[]', function() {\n    return this.thirdPartyOptions.filter(option => {\n      return this.userSourceKeys.includes(option.key);\n    });\n  }),\n\n  userSourceComponentName: computed('userSource', function() {\n    return `${dasherize(this.userSource)}-component`;\n  }),\n\n  init() {\n    this._super(...arguments);\n    if (this.showAllOptions) {\n      return;\n    }\n    if (this.get('webMobileThirdPartyUserSources.length') === 1) {\n      //if there is only one userSource object render the component directly\n      this.set('userSource', this.get('webMobileThirdPartyUserSources.firstObject.key'));\n    }\n  },\n\n  actions: {\n    chooseUserSource(option) {\n      this.set('userSource', option);\n      this.set('errorMessage', null);\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'install_option_chosen',\n        context: option,\n        place: 'start_guide',\n      });\n      if (this.chooseUserSourceAction) {\n        this.chooseUserSourceAction(option);\n      }\n    },\n\n    verifyUserSource(userSource) {\n      this.completeAction(userSource);\n    },\n  },\n});\n","import { inject } from '@ember/service';\nimport Component from '@ember/component';\nimport layout from '../templates/head';\n\nexport default Component.extend({\n  tagName: '',\n  model: inject('head-data'),\n  layout\n});\n","define(\"embercom/components/head-layout\", [\"exports\", \"ember-cli-head/components/head-layout\"], function (_exports, _headLayout) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _headLayout.default;\n    }\n  });\n});\n","define(\"embercom/components/head-tag\", [\"exports\", \"ember-cli-meta-tags/components/head-tag\"], function (_exports, _headTag) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _headTag.default;\n    }\n  });\n});\n","define(\"embercom/components/head-tags\", [\"exports\", \"ember-cli-meta-tags/components/head-tags\"], function (_exports, _headTags) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _headTags.default;\n    }\n  });\n});\n","define(\"embercom/components/heading\", [\"exports\", \"@intercom/embercom-core/components/heading\"], function (_exports, _heading) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _heading.default;\n    }\n  });\n});\n","import HelpGuide from '@intercom/embercom-composer/components/help-guide';\nexport default HelpGuide;\n","import HtmlEditorTextarea from '@intercom/embercom-composer/components/html-editor-textarea';\nexport default HtmlEditorTextarea;\n","import HtmlEditor from '@intercom/embercom-composer/components/html-editor';\nexport default HtmlEditor;\n","define(\"embercom/components/ic-attribute-item-with-user-event\", [\"exports\", \"predicates/components/attributes/ic-attribute-item-with-user-event\"], function (_exports, _icAttributeItemWithUserEvent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icAttributeItemWithUserEvent.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-avatar-component\", [\"exports\", \"@intercom/embercom-core/components/ic-avatar-component\"], function (_exports, _icAvatarComponent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icAvatarComponent.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-banner\", [\"exports\", \"@intercom/embercom-core/components/ic-banner\"], function (_exports, _icBanner) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icBanner.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-button-list\", [\"exports\", \"@intercom/embercom-core/components/ic-button-list\"], function (_exports, _icButtonList) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icButtonList.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-button\", [\"exports\", \"@intercom/embercom-core/components/ic-button\"], function (_exports, _icButton) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icButton.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-card-section\", [\"exports\", \"@intercom/embercom-core/components/ic-card-section\"], function (_exports, _icCardSection) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icCardSection.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-card\", [\"exports\", \"@intercom/embercom-core/components/ic-card\"], function (_exports, _icCard) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icCard.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-confirm-modal\", [\"exports\", \"@intercom/embercom-core/components/ic-confirm-modal\"], function (_exports, _icConfirmModal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icConfirmModal.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-content\", [\"exports\", \"@intercom/embercom-core/components/ic-content\"], function (_exports, _icContent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icContent.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-datepicker-nav\", [\"exports\", \"@intercom/embercom-core/components/ic-datepicker-nav\"], function (_exports, _icDatepickerNav) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icDatepickerNav.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-datepicker\", [\"exports\", \"@intercom/embercom-core/components/ic-datepicker\"], function (_exports, _icDatepicker) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icDatepicker.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-dropdown-and-opener-pair\", [\"exports\", \"@intercom/embercom-core/components/ic-dropdown-and-opener-pair\"], function (_exports, _icDropdownAndOpenerPair) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icDropdownAndOpenerPair.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-dropdown-group-component\", [\"exports\", \"@intercom/embercom-core/components/ic-dropdown-group-component\"], function (_exports, _icDropdownGroupComponent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icDropdownGroupComponent.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-dropdown-group-item-contents\", [\"exports\", \"@intercom/embercom-core/components/ic-dropdown-group-item-contents\"], function (_exports, _icDropdownGroupItemContents) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icDropdownGroupItemContents.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-dropdown-group-item\", [\"exports\", \"@intercom/embercom-core/components/ic-dropdown-group-item\"], function (_exports, _icDropdownGroupItem) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icDropdownGroupItem.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-dropdown-group\", [\"exports\", \"@intercom/embercom-core/components/ic-dropdown-group\"], function (_exports, _icDropdownGroup) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icDropdownGroup.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-dropdown-heading\", [\"exports\", \"@intercom/embercom-core/components/ic-dropdown-heading\"], function (_exports, _icDropdownHeading) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icDropdownHeading.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-dropdown-item\", [\"exports\", \"@intercom/embercom-core/components/ic-dropdown-item\"], function (_exports, _icDropdownItem) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icDropdownItem.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-dropdown-opener-content\", [\"exports\", \"@intercom/embercom-core/components/ic-dropdown-opener-content\"], function (_exports, _icDropdownOpenerContent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icDropdownOpenerContent.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-dropdown-opener\", [\"exports\", \"@intercom/embercom-core/components/ic-dropdown-opener\"], function (_exports, _icDropdownOpener) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icDropdownOpener.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-dropdown-standard\", [\"exports\", \"@intercom/embercom-core/components/ic-dropdown-standard\"], function (_exports, _icDropdownStandard) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icDropdownStandard.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-dropdown\", [\"exports\", \"@intercom/embercom-core/components/ic-dropdown\"], function (_exports, _icDropdown) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icDropdown.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-empty-state\", [\"exports\", \"@intercom/embercom-core/components/ic-empty-state\"], function (_exports, _icEmptyState) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icEmptyState.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-empty-state/with-description\", [\"exports\", \"@intercom/embercom-core/components/ic-empty-state/with-description\"], function (_exports, _withDescription) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _withDescription.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-filter-block\", [\"exports\", \"@intercom/embercom-core/components/ic-filter-block\"], function (_exports, _icFilterBlock) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icFilterBlock.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-goal-attribute-item\", [\"exports\", \"predicates/components/attributes/ic-goal-attribute-item\"], function (_exports, _icGoalAttributeItem) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icGoalAttributeItem.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-if-this-then-that\", [\"exports\", \"@intercom/embercom-core/components/ic-if-this-then-that\"], function (_exports, _icIfThisThenThat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icIfThisThenThat.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-illustrative-icon\", [\"exports\", \"@intercom/embercom-core/components/ic-illustrative-icon\"], function (_exports, _icIllustrativeIcon) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icIllustrativeIcon.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ILLUSTRATIVE_ICON_LIST\", {\n    enumerable: true,\n    get: function get() {\n      return _icIllustrativeIcon.ILLUSTRATIVE_ICON_LIST;\n    }\n  });\n  Object.defineProperty(_exports, \"ACCEPTABLE_APPEARANCES\", {\n    enumerable: true,\n    get: function get() {\n      return _icIllustrativeIcon.ACCEPTABLE_APPEARANCES;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"modal__body\\\"\\n  data-test-modal-body\\n  ...attributes\\n>\\n  {{yield}}\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"modal__body\\\"\\n  data-test-modal-body\\n  ...attributes\\n>\\n  {{yield}}\\n</div>\\n\",\"moduleName\":\"embercom/components/ic-legacy-modal-body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/ic-legacy-modal-body.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"modal__footer\\\"\\n  data-test-modal-footer\\n  ...attributes\\n>\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      {{yield (hash secondaryButtons=(component 'ic-button-list' processing=@processing))}}\\n    </div>\\n    <div class=\\\"layout__box\\\">\\n      {{yield (hash mainButtons=(component 'ic-button-list' processing=@processing))}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"modal__footer\\\"\\n  data-test-modal-footer\\n  ...attributes\\n>\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      {{yield (hash secondaryButtons=(component 'ic-button-list' processing=@processing))}}\\n    </div>\\n    <div class=\\\"layout__box\\\">\\n      {{yield (hash mainButtons=(component 'ic-button-list' processing=@processing))}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/ic-legacy-modal-footer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/ic-legacy-modal-footer.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"modal__header flex items-start\\\" data-test-modal-footer\\n  ...attributes\\n>\\n  {{#if @title}}\\n    <div class=\\\"modal__header__title flex-auto min-w-0\\\">\\n      <h2 class=\\\"t__h2\\\" data-test-modal-title>\\n        {{@title}}\\n      </h2>\\n    </div>\\n  {{else}}\\n    {{yield}}\\n  {{/if}}\\n\\n  <div class=\\\"modal__header__close u__cf\\\">\\n    <a\\n      onclick={{action @closeModal}}\\n      class=\\\"modal__header__close__link u__right js__modal-close\\\"\\n      data-test-modal-close-button\\n    >\\n      {{ic-interface-icon 'close' solo=true}}\\n    </a>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"modal__header flex items-start\\\" data-test-modal-footer\\n  ...attributes\\n>\\n  {{#if @title}}\\n    <div class=\\\"modal__header__title flex-auto min-w-0\\\">\\n      <h2 class=\\\"t__h2\\\" data-test-modal-title>\\n        {{@title}}\\n      </h2>\\n    </div>\\n  {{else}}\\n    {{yield}}\\n  {{/if}}\\n\\n  <div class=\\\"modal__header__close u__cf\\\">\\n    <a\\n      onclick={{action @closeModal}}\\n      class=\\\"modal__header__close__link u__right js__modal-close\\\"\\n      data-test-modal-close-button\\n    >\\n      {{ic-interface-icon 'close' solo=true}}\\n    </a>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/ic-legacy-modal-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/ic-legacy-modal-header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","define(\"embercom/components/ic-legacy-table-cell-button\", [\"exports\", \"@intercom/embercom-core/components/ic-legacy-table-cell-button\"], function (_exports, _icLegacyTableCellButton) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icLegacyTableCellButton.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-legacy-table-header-cell\", [\"exports\", \"@intercom/embercom-core/components/ic-legacy-table-header-cell\"], function (_exports, _icLegacyTableHeaderCell) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icLegacyTableHeaderCell.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-legacy-table-header\", [\"exports\", \"@intercom/embercom-core/components/ic-legacy-table-header\"], function (_exports, _icLegacyTableHeader) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icLegacyTableHeader.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-legacy-table-row\", [\"exports\", \"@intercom/embercom-core/components/ic-legacy-table-row\"], function (_exports, _icLegacyTableRow) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icLegacyTableRow.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-legacy-table\", [\"exports\", \"@intercom/embercom-core/components/ic-legacy-table\"], function (_exports, _icLegacyTable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icLegacyTable.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-light-table\", [\"exports\", \"@intercom/embercom-core/components/ic-light-table\"], function (_exports, _icLightTable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icLightTable.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-loading-indicator\", [\"exports\", \"@intercom/embercom-core/components/ic-loading-indicator\"], function (_exports, _icLoadingIndicator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icLoadingIndicator.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-main-content\", [\"exports\", \"@intercom/embercom-core/components/ic-main-content\"], function (_exports, _icMainContent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icMainContent.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-main-toolbar-description\", [\"exports\", \"@intercom/embercom-core/components/ic-main-toolbar-description\"], function (_exports, _icMainToolbarDescription) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icMainToolbarDescription.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-main-toolbar\", [\"exports\", \"@intercom/embercom-core/components/ic-main-toolbar\"], function (_exports, _icMainToolbar) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icMainToolbar.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-main\", [\"exports\", \"@intercom/embercom-core/components/ic-main\"], function (_exports, _icMain) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icMain.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-modal-body\", [\"exports\", \"@intercom/embercom-core/components/ic-modal-body\"], function (_exports, _icModalBody) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icModalBody.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-modal-container\", [\"exports\", \"@intercom/embercom-core/components/ic-modal-container\"], function (_exports, _icModalContainer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icModalContainer.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-modal-footer\", [\"exports\", \"@intercom/embercom-core/components/ic-modal-footer\"], function (_exports, _icModalFooter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icModalFooter.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-modal-header-heading\", [\"exports\", \"@intercom/embercom-core/components/ic-modal-header-heading\"], function (_exports, _icModalHeaderHeading) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icModalHeaderHeading.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-modal-header\", [\"exports\", \"@intercom/embercom-core/components/ic-modal-header\"], function (_exports, _icModalHeader) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icModalHeader.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-modal\", [\"exports\", \"@intercom/embercom-core/components/ic-modal\"], function (_exports, _icModal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icModal.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-multiselect\", [\"exports\", \"@intercom/embercom-core/components/ic-multiselect\"], function (_exports, _icMultiselect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icMultiselect.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-on-off-toggle\", [\"exports\", \"@intercom/embercom-core/components/ic-on-off-toggle\"], function (_exports, _icOnOffToggle) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icOnOffToggle.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-radio-button-group-button\", [\"exports\", \"@intercom/embercom-core/components/ic-radio-button-group-button\"], function (_exports, _icRadioButtonGroupButton) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icRadioButtonGroupButton.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-radio-button-group-ic-button-extension\", [\"exports\", \"@intercom/embercom-core/components/ic-radio-button-group-ic-button-extension\"], function (_exports, _icRadioButtonGroupIcButtonExtension) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icRadioButtonGroupIcButtonExtension.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-radio-button-group\", [\"exports\", \"@intercom/embercom-core/components/ic-radio-button-group\"], function (_exports, _icRadioButtonGroup) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icRadioButtonGroup.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-select\", [\"exports\", \"@intercom/embercom-core/components/ic-select\"], function (_exports, _icSelect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icSelect.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-sidebar-content-section\", [\"exports\", \"@intercom/embercom-core/components/ic-sidebar-content-section\"], function (_exports, _icSidebarContentSection) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icSidebarContentSection.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-sidebar-content\", [\"exports\", \"@intercom/embercom-core/components/ic-sidebar-content\"], function (_exports, _icSidebarContent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icSidebarContent.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-sidebar-toolbar\", [\"exports\", \"@intercom/embercom-core/components/ic-sidebar-toolbar\"], function (_exports, _icSidebarToolbar) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icSidebarToolbar.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-sidebar\", [\"exports\", \"@intercom/embercom-core/components/ic-sidebar\"], function (_exports, _icSidebar) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icSidebar.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-tab-control-tab\", [\"exports\", \"@intercom/embercom-core/components/ic-tab-control-tab\"], function (_exports, _icTabControlTab) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icTabControlTab.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-tab-control\", [\"exports\", \"@intercom/embercom-core/components/ic-tab-control\"], function (_exports, _icTabControl) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icTabControl.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-table-action-button\", [\"exports\", \"@intercom/embercom-core/components/ic-table-action-button\"], function (_exports, _icTableActionButton) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icTableActionButton.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-table-action-cell\", [\"exports\", \"@intercom/embercom-core/components/ic-table-action-cell\"], function (_exports, _icTableActionCell) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icTableActionCell.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-table-actions\", [\"exports\", \"@intercom/embercom-core/components/ic-table-actions\"], function (_exports, _icTableActions) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icTableActions.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-table-cell\", [\"exports\", \"@intercom/embercom-core/components/ic-table-cell\"], function (_exports, _icTableCell) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icTableCell.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-table-column\", [\"exports\", \"@intercom/embercom-core/components/ic-table-column\"], function (_exports, _icTableColumn) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icTableColumn.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-table-row\", [\"exports\", \"@intercom/embercom-core/components/ic-table-row\"], function (_exports, _icTableRow) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icTableRow.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-table-skeleton-cell\", [\"exports\", \"@intercom/embercom-core/components/ic-table-skeleton-cell\"], function (_exports, _icTableSkeletonCell) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icTableSkeletonCell.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-table-skeleton\", [\"exports\", \"@intercom/embercom-core/components/ic-table-skeleton\"], function (_exports, _icTableSkeleton) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icTableSkeleton.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-table\", [\"exports\", \"@intercom/embercom-core/components/ic-table\"], function (_exports, _icTable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icTable.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-tooltip-icon\", [\"exports\", \"@intercom/embercom-core/components/ic-tooltip-icon\"], function (_exports, _icTooltipIcon) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icTooltipIcon.default;\n    }\n  });\n});\n","define(\"embercom/components/ic-tooltip\", [\"exports\", \"@intercom/embercom-core/components/ic-tooltip\"], function (_exports, _icTooltip) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icTooltip.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"email_preview {{if isMobilePreview 'ic_ios_preview'}} {{if usingCustomTemplate 'custom_email_template'}}\\\">\\n  <div class=\\\"ic_message_wrapper\\\">\\n    {{#if isWebPreview}}\\n      <div class=\\\"osx_style_controls\\\"><ul><li></li><li></li><li></li></ul></div>\\n    {{/if}}\\n    <div class=\\\"wizard_email_subject\\\">\\n      <span>{{message.subject}}</span>\\n    </div>\\n    <div class=\\\"layout__box o__has-columns wizard_email_sender_and_date\\\">\\n      <div class=\\\"layout__box o__flexes-to-1 wizard_email_sender\\\">{{message.fromName}}</div>\\n      <div class=\\\"layout__box wizard_email_date\\\">{{formattedDate}}</div>\\n    </div>\\n    {{#if message.hasReplyTo}}\\n    <div class=\\\"wizard_email_reply_to\\\">\\n      <div><strong>Reply to:</strong> {{message.replyToName}}</div>\\n    </div>\\n    {{/if}}\\n    <div class=\\\"email_template m__html-editor__template {{if isMobilePreview 'o__mobile'}}\\\">\\n      <div class='m__iframe-container js__iframe-container'>{{!-- IFRAME INSERTED HERE --}}</div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"email_preview {{if isMobilePreview 'ic_ios_preview'}} {{if usingCustomTemplate 'custom_email_template'}}\\\">\\n  <div class=\\\"ic_message_wrapper\\\">\\n    {{#if isWebPreview}}\\n      <div class=\\\"osx_style_controls\\\"><ul><li></li><li></li><li></li></ul></div>\\n    {{/if}}\\n    <div class=\\\"wizard_email_subject\\\">\\n      <span>{{message.subject}}</span>\\n    </div>\\n    <div class=\\\"layout__box o__has-columns wizard_email_sender_and_date\\\">\\n      <div class=\\\"layout__box o__flexes-to-1 wizard_email_sender\\\">{{message.fromName}}</div>\\n      <div class=\\\"layout__box wizard_email_date\\\">{{formattedDate}}</div>\\n    </div>\\n    {{#if message.hasReplyTo}}\\n    <div class=\\\"wizard_email_reply_to\\\">\\n      <div><strong>Reply to:</strong> {{message.replyToName}}</div>\\n    </div>\\n    {{/if}}\\n    <div class=\\\"email_template m__html-editor__template {{if isMobilePreview 'o__mobile'}}\\\">\\n      <div class='m__iframe-container js__iframe-container'>{{!-- IFRAME INSERTED HERE --}}</div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/iframe-preview-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/iframe-preview-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport $ from 'jquery';\nimport { debounce, bind } from '@ember/runloop';\nimport { computed, observer } from '@ember/object';\nimport { on } from '@ember/object/evented';\nimport { readOnly, lte } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport {\n  templateString,\n  ternary,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport renderTemplate from '@intercom/embercom-core/lib/render-template';\nimport ENV from 'embercom/config/environment';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport moment from 'moment';\nimport DOMPurify from 'dompurify';\n\nlet IframePreviewComponent = Component.extend({\n  $iframe: null,\n  MIN_IFRAME_HEIGHT: 437,\n  htmlBlock: readOnly('blocks.firstObject'),\n  usingCustomTemplate: readOnly('message.email_template.isCustom'),\n  safeIframeContent: '',\n  iframeContent: templateString('${htmlBlock.header}${htmlBlock.content}${htmlBlock.footer}'),\n  unsubscribeText: ternary(\n    'message.show_unsubscribe_link',\n    '<a href=\"#\" class=\"ic-unsubscribe-link\">Unsubscribe from our emails</a>',\n    '',\n  ),\n  iframeIsLTEMinHeight: lte('currentIframeHeight', 437),\n  iframeHeight: ternaryToProperty(\n    'iframeIsLTEMinHeight',\n    'MIN_IFRAME_HEIGHT',\n    'currentIframeHeight',\n  ),\n  iframeHeightStyle: templateString('height: ${iframeHeight}px;'),\n  mobileClassName: ternary('isMobilePreview', 'o__mobile', ''),\n  iframeClassNames: templateString('m__html-editor__preview${mobileClassName}'),\n\n  initPreview: on('init', function() {\n    this.iframeContent;\n    this.setProperties({\n      cachedHeight: this.MIN_IFRAME_HEIGHT,\n    });\n    this.sanitizeContent();\n  }),\n\n  willDestroyElement() {\n    this.$iframe[0].removeEventListener('load', this.iframeLoadFunction);\n    this.set('$iframe', null);\n    this._super(...arguments);\n  },\n\n  formattedDate: computed(function() {\n    return moment().format(dateAndTimeFormats.date);\n  }),\n\n  addIframeHeightToDom: observer({\n    dependentKeys: ['iframeHeightStyle'],\n\n    fn() {\n      this.$iframe.attr('style', this.iframeHeightStyle);\n    },\n\n    sync: true,\n  }),\n\n  setSafeIframeContent: observer({\n    dependentKeys: ['iframeContent'],\n\n    fn() {\n      debounce(this, this.sanitizeContent, ENV.APP._250MS);\n    },\n\n    sync: true,\n  }),\n\n  sanitizeContent() {\n    if (!this.isDestroying) {\n      let content = renderTemplate(this.iframeContent, {\n        unsubscribe_link: this.unsubscribeText,\n        unsubscribe_url: '',\n      });\n      this.set('safeIframeContent', DOMPurify.sanitize(content, { WHOLE_DOCUMENT: true }));\n    }\n  },\n\n  createAndAddIframe: on(\n    'didInsertElement',\n    observer({\n      dependentKeys: ['safeIframeContent', 'isMobilePreview'],\n\n      fn() {\n        if ($(this.element)) {\n          this.createIframe();\n          this.set('$iframe', $('iframe', this.element));\n        }\n      },\n\n      sync: true,\n    }),\n  ),\n\n  calculateHeightAndAddToDom() {\n    let iframeHtmlElement = this.$iframe[0].contentDocument.documentElement;\n    this.set('currentIframeHeight', $(iframeHtmlElement).height());\n    this.$iframe.css('height', this.iframeHeight);\n    this.set('cachedHeight', this.iframeHeight);\n    this.addIframeHeightToDom();\n    this.afterCreateIframe();\n  },\n\n  addIframeToDom(iframe) {\n    $('.js__iframe-container', this.element).html(iframe);\n  },\n\n  //TODO: Pat Pull this `srcdoc` polyfill out to its own lib https://github.com/intercom/intercom/issues/29043\n  createIframe() {\n    let iframe = document.createElement('iframe');\n    iframe.style.cssText = this.iframeHeightStyle;\n    iframe.className = this.iframeClassNames;\n    iframe.style.height = `${this.cachedHeight}px`;\n    iframe.style.minHeight = `${this.cachedHeight}px`;\n    let iframeLoadFunction = bind(this, this.calculateHeightAndAddToDom);\n    this.set('iframeLoadFunction', iframeLoadFunction);\n    iframe.addEventListener('load', iframeLoadFunction);\n    this.addContentToIframe(iframe);\n    return iframe;\n  },\n\n  afterCreateIframe: $.noop,\n\n  addContentToIframe(iframe) {\n    if ('srcdoc' in iframe) {\n      iframe.srcdoc = this.safeIframeContent;\n      this.addIframeToDom(iframe);\n    } else {\n      iframe.id = 'js__iframe-preview';\n      this.addIframeToDom(iframe);\n      let iframeDocument = document.querySelector('#js__iframe-preview').contentWindow.document;\n      iframeDocument.open('text/html', 'replace');\n      iframeDocument.write(this.safeIframeContent);\n      iframeDocument.close();\n    }\n    return iframe;\n  },\n});\n\nexport default IframePreviewComponent;\n","define(\"embercom/components/illiquid-model\", [\"exports\", \"liquid-fire/components/illiquid-model\"], function (_exports, _illiquidModel) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _illiquidModel.default;\n    }\n  });\n});\n","import ImageEditor from '@intercom/embercom-composer/components/image-editor';\nexport default ImageEditor;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if imageLoadingFailed}}\\n  {{#if displayFallback}}\\n    <span class=\\\"{{fallbackClasses}}\\\">{{src}}</span>\\n  {{/if}}\\n{{else}}\\n  <a href=\\\"{{src}}\\\" rel=\\\"noopener noreferrer nofollow\\\" target=\\\"_blank\\\">\\n    <img src=\\\"{{src}}\\\" class=\\\"m__image-loader {{extraClasses}}\\\" alt=\\\"{{src}}\\\">\\n  </a>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if imageLoadingFailed}}\\n  {{#if displayFallback}}\\n    <span class=\\\"{{fallbackClasses}}\\\">{{src}}</span>\\n  {{/if}}\\n{{else}}\\n  <a href=\\\"{{src}}\\\" rel=\\\"noopener noreferrer nofollow\\\" target=\\\"_blank\\\">\\n    <img src=\\\"{{src}}\\\" class=\\\"m__image-loader {{extraClasses}}\\\" alt=\\\"{{src}}\\\">\\n  </a>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/image-loader-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/image-loader-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { run } from '@ember/runloop';\nimport $ from 'jquery';\nimport Component from '@ember/component';\nlet ImageLoaderComponent = Component.extend({\n  src: '',\n  imageLoadingFailed: false,\n  init() {\n    this._super(...arguments);\n    this.set(\n      'markAsLoadingFailed',\n      function() {\n        run(() => {\n          this.set('imageLoadingFailed', true);\n        });\n      }.bind(this),\n    );\n  },\n  didInsertElement() {\n    this._super(...arguments);\n    $(this.element)[0].addEventListener('error', this.markAsLoadingFailed, true);\n  },\n  willDestroyElement() {\n    $(this.element)[0].removeEventListener('error', this.markAsLoadingFailed, true);\n    this._super(...arguments);\n  },\n});\n\nexport default ImageLoaderComponent;\n","import ImageTextComposer from '@intercom/embercom-composer/components/image-text-composer';\nexport default ImageTextComposer;\n","import ImageTextEditor from '@intercom/embercom-composer/components/image-text-editor';\nexport default ImageTextEditor;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-rows\\\">\\n  <div class=\\\"layout__box\\\">\\n    <div class=\\\"importer__tag__summary\\\">\\n      Tags let you group a set of {{usersOrLeads}} together. For example, they're\\n      great for highlighting VIP customers or potential beta testers. For more\\n      information about tags, \\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/intercom-s-key-features-explained/grouping-users/group-your-users-by-tags\\\"\\n        @title=\\\"visit our help doc\\\"\\n        @type=\\\"article\\\"\\n        @linkStyling=\\\"inline\\\"\\n      />.\\n    </div>\\n    <div class=\\\"layout__box h-10\\\"></div>\\n    <div>\\n      Each import gets a unique tag to help you find the {{usersOrLeads}} you've created\\n      and updated. You can also add more tags to identify these {{usersOrLeads}}.\\n    </div>\\n    <div class=\\\"layout__box h-10\\\"></div>\\n  </div>\\n  <div class=\\\"layout__box\\\">\\n    <Importers::AddedTagsComponent @addedTags={{addedTags}} />\\n  </div>\\n  <div class=\\\"layout__box\\\">\\n    <div class=\\\"u__cf\\\">\\n      <a\\n        class=\\\"pill js__shortcuts_trigger_tag_user t__solo-link__outer\\\"\\n        title=\\\"Add more tags…\\\"\\n        {{action \\\"openTaggingModalFromImportSetTagComponent\\\"}}\\n      >\\n        <span class=\\\"pill__icon\\\">\\n          {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\" color=\\\"gray\\\" solo=true}}\\n        </span>\\n        <span class=\\\"t__group-label t__solo-link__inner\\\">\\n          Add another tag\\n        </span>\\n      </a>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-rows\\\">\\n  <div class=\\\"layout__box\\\">\\n    <div class=\\\"importer__tag__summary\\\">\\n      Tags let you group a set of {{usersOrLeads}} together. For example, they're\\n      great for highlighting VIP customers or potential beta testers. For more\\n      information about tags, \\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/intercom-s-key-features-explained/grouping-users/group-your-users-by-tags\\\"\\n        @title=\\\"visit our help doc\\\"\\n        @type=\\\"article\\\"\\n        @linkStyling=\\\"inline\\\"\\n      />.\\n    </div>\\n    <div class=\\\"layout__box h-10\\\"></div>\\n    <div>\\n      Each import gets a unique tag to help you find the {{usersOrLeads}} you've created\\n      and updated. You can also add more tags to identify these {{usersOrLeads}}.\\n    </div>\\n    <div class=\\\"layout__box h-10\\\"></div>\\n  </div>\\n  <div class=\\\"layout__box\\\">\\n    <Importers::AddedTagsComponent @addedTags={{addedTags}} />\\n  </div>\\n  <div class=\\\"layout__box\\\">\\n    <div class=\\\"u__cf\\\">\\n      <a\\n        class=\\\"pill js__shortcuts_trigger_tag_user t__solo-link__outer\\\"\\n        title=\\\"Add more tags…\\\"\\n        {{action \\\"openTaggingModalFromImportSetTagComponent\\\"}}\\n      >\\n        <span class=\\\"pill__icon\\\">\\n          {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\" color=\\\"gray\\\" solo=true}}\\n        </span>\\n        <span class=\\\"t__group-label t__solo-link__inner\\\">\\n          Add another tag\\n        </span>\\n      </a>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/import-set-tag-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/import-set-tag-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { reads } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  taggableId: null,\n  model: null,\n  taggedWith: null,\n  hasErrored: false,\n  errorMessage: null,\n  importType: null,\n  usersOrLeads: null,\n  hasNoCustomTag: null,\n  currentSelection: null,\n  tags: null,\n\n  addedTags: computed('appController.addedTags', 'model.manualTagName', function() {\n    if (this.get('appController.addedTags')) {\n      return this.get('appController.addedTags');\n    } else {\n      return [this.get('model.manualTagName')];\n    }\n  }),\n\n  defaultTagName: reads('model.manualTagName'),\n\n  actions: {\n    openTaggingModalFromImportSetTagComponent() {\n      let modalController = 'apps/app/import/tagging-modal';\n      let importModel = this.model;\n      let options = {\n        importType: this.importType,\n        defaultTagName: this.defaultTagName,\n      };\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('openTaggingModal', modalController, importModel, options);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (and notificationComponent (not disabled))}}\\n  {{component notificationComponent notification=notification acknowledge=(action 'acknowledge')}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (and notificationComponent (not disabled))}}\\n  {{component notificationComponent notification=notification acknowledge=(action 'acknowledge')}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/important-admin-notification-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/important-admin-notification-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { getOwner } from '@ember/application';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport { alias, readOnly } from '@ember/object/computed';\nimport { dasherize } from '@ember/string';\nimport Component from '@ember/component';\nimport ajax from 'embercom/lib/ajax';\nimport { captureException } from 'embercom/lib/sentry';\n\nexport default Component.extend({\n  notifications: [],\n  disabled: false,\n\n  appService: service(),\n  modelDataCacheService: service(),\n\n  app: readOnly('appService.app'),\n  notification: alias('notifications.firstObject'),\n\n  notificationComponent: computed('notification.notification_type', function() {\n    if (!this.get('notification.notification_type')) {\n      return null;\n    }\n\n    let type = dasherize(this.get('notification.notification_type'));\n    let componentName = `important-admin-notifications/${type}-notification-component`;\n    let componentExists = getOwner(this).hasRegistration(`component:${componentName}`);\n\n    if (!componentExists) {\n      try {\n        captureException(new Error(`Invalid notification componentName: ${componentName}`), {\n          fingerprint: ['important-admin-notifications', 'invalid-type'],\n          extra: {\n            componentName,\n            type,\n            notification: this.notification,\n          },\n        });\n        console.error(\n          `important-admin-notification-component: Invalid notification componentName: ${componentName}`,\n        );\n      } catch (e) {\n        // noop\n      }\n\n      return null;\n    }\n\n    return `important-admin-notifications/${type}-notification-component`;\n  }),\n\n  actions: {\n    acknowledge() {\n      // We should remove the notification so they can dismiss it regardless of success\n      let notification = this.notification;\n      this.notifications.removeObject(this.notification);\n\n      return ajax({\n        url: '/ember/important_admin_notifications/acknowledge',\n        type: 'POST',\n        data: JSON.stringify({\n          app_id: this.app.id,\n          id: notification.id,\n        }),\n      })\n        .then(() => {\n          this.modelDataCacheService.clear();\n        })\n        .catch(error => {\n          captureException(error, {\n            fingerprint: ['important-admin-notifications', 'failed-to-acknowledge'],\n            extra: {\n              notification,\n            },\n          });\n          console.error('failed to acknowledge notification');\n        });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  notification: null,\n  didDisplay: false,\n  acknowledge: null,\n\n  didRender() {\n    this._super(...arguments);\n    if (this.didDisplay) {\n      return;\n    }\n\n    if (this.showNotification) {\n      this.set('didDisplay', true);\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'displayed',\n        object: 'important-admin-notification',\n        context: this.notification && this.notification.notification_type,\n      });\n    }\n  },\n\n  intercomEventService: service(),\n  router: service(),\n\n  notificationData: readOnly('notification.notification_data'),\n  impersonationSession: readOnly('app.impersonation_session'),\n\n  showNotification: computed('impersonationSession', 'notification.acknowledged_at', function() {\n    return (\n      !this.impersonationSession && this.notification && !this.get('notification.acknowledged_at')\n    );\n  }),\n\n  actions: {\n    acknowledge() {\n      return this.acknowledge();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcModal\\n  @onModalClose={{action \\\"acknowledge\\\"}}\\n  @width=\\\"m\\\"\\n  @isOpen={{showNotification}}\\n  @closeOnBlanketClick={{false}}\\n  @closeOnEscape={{false}}\\n  @focusElement=\\\"body\\\" as |modal|\\n>\\n  <modal.header @title=\\\"Your recent payment failed\\\" />\\n  <modal.body>\\n    <IcContent>\\n      <p>\\n        Please update your payment method or contact your card issuer.\\n      </p>\\n      <p>\\n        You will lose access to your Intercom products if we cannot collect payment\\n        {{#if finalPaymentAttemptAt}}\\n          by {{moment-format finalPaymentAttemptAt \\\"LL\\\"}}\\n        {{~/if}}.\\n        We will try to charge your card again {{moment-from-now nextPaymentAttemptAt}}.\\n      </p>\\n    </IcContent>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Update card\\\"\\n      action=(action \\\"updatePaymentCard\\\")\\n    }}\\n    @secondaryButton={{hash label=\\\"Cancel\\\" action=(action \\\"acknowledge\\\")}}\\n  />\\n</IcModal>\\n{{#if this.cardModalIsOpen}}\\n  <Billing::CreditCardModal @closeModal={{set this.cardModalIsOpen false}} />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcModal\\n  @onModalClose={{action \\\"acknowledge\\\"}}\\n  @width=\\\"m\\\"\\n  @isOpen={{showNotification}}\\n  @closeOnBlanketClick={{false}}\\n  @closeOnEscape={{false}}\\n  @focusElement=\\\"body\\\" as |modal|\\n>\\n  <modal.header @title=\\\"Your recent payment failed\\\" />\\n  <modal.body>\\n    <IcContent>\\n      <p>\\n        Please update your payment method or contact your card issuer.\\n      </p>\\n      <p>\\n        You will lose access to your Intercom products if we cannot collect payment\\n        {{#if finalPaymentAttemptAt}}\\n          by {{moment-format finalPaymentAttemptAt \\\"LL\\\"}}\\n        {{~/if}}.\\n        We will try to charge your card again {{moment-from-now nextPaymentAttemptAt}}.\\n      </p>\\n    </IcContent>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Update card\\\"\\n      action=(action \\\"updatePaymentCard\\\")\\n    }}\\n    @secondaryButton={{hash label=\\\"Cancel\\\" action=(action \\\"acknowledge\\\")}}\\n  />\\n</IcModal>\\n{{#if this.cardModalIsOpen}}\\n  <Billing::CreditCardModal @closeModal={{set this.cardModalIsOpen false}} />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/important-admin-notifications/payment-failure-notification-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/important-admin-notifications/payment-failure-notification-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable promise/prefer-await-to-then */\nimport { computed } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Base from './base';\nimport moment from 'moment';\n\nexport default Base.extend({\n  permissionsService: service(),\n  customerService: service(),\n  stripev3: service(),\n  customer: alias('customerService.customer'),\n  cardModalIsOpen: false,\n\n  finalPaymentAttemptAt: computed('notificationData.final_attempt_at', function() {\n    let finalPaymentAttemptAt = this.get('notificationData.final_attempt_at');\n\n    if (!finalPaymentAttemptAt) {\n      return null;\n    }\n    return moment(finalPaymentAttemptAt)\n      .startOf('day')\n      .toDate();\n  }),\n\n  nextPaymentAttemptAt: computed('notificationData.next_attempt_at', function() {\n    let nextAttemptAt = this.get('notificationData.next_attempt_at');\n\n    if (!nextAttemptAt) {\n      return null;\n    }\n    return moment(nextAttemptAt)\n      .startOf('day')\n      .toDate();\n  }),\n\n  actions: {\n    updatePaymentCard() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'update-card-button',\n        context: 'payment-failure-notification',\n      });\n      this.send('acknowledge');\n\n      let hasPermission = this.permissionsService.currentAdminCan('can_access_billing_settings');\n\n      if (!hasPermission) {\n        return this.permissionsService.loadAllAdminsAndShowPermissionRequestModal(\n          'can_access_billing_settings',\n        );\n      }\n\n      return this.stripev3\n        .load()\n        .then(() => {\n          return this.customerService.refreshCustomer();\n        })\n        .then(() => {\n          this.set('cardModalIsOpen', true);\n          this.intercomEventService.trackAnalyticsEvent({\n            action: 'viewed',\n            object: 'update-card-modal',\n            context: 'payment-failure-notification',\n          });\n        });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each tags as |tag|}}\\n  <div class=\\\"u__cf\\\">\\n    <div class=\\\"pill\\\" title=\\\"Tag\\\">\\n      <span class=\\\"pill__icon\\\">{{ic-interface-icon 'tag' set='tiny' color='gray' solo=true}}</span>\\n      <span class=\\\"t__group-label t__solo-link__inner\\\">{{tag}}</span>\\n    </div>\\n  </div>\\n{{/each}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each tags as |tag|}}\\n  <div class=\\\"u__cf\\\">\\n    <div class=\\\"pill\\\" title=\\\"Tag\\\">\\n      <span class=\\\"pill__icon\\\">{{ic-interface-icon 'tag' set='tiny' color='gray' solo=true}}</span>\\n      <span class=\\\"t__group-label t__solo-link__inner\\\">{{tag}}</span>\\n    </div>\\n  </div>\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/importers/added-tags-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/importers/added-tags-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nexport default Component.extend({\n  tags: computed('addedTags', 'addedTag', function() {\n    let tags = [];\n    if (this.addedTag) {\n      tags = [this.addedTag];\n    } else {\n      tags = this.addedTags;\n    }\n    return tags;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"importer__mapping__column card {{if (and isNotMapped isClosed) \\\"o__hoverable\\\"}} {{if isOpen \\\"o__selected\\\"}} {{if isOpen \\\"o__open\\\"}} {{if isMapped \\\"o__mapped\\\"}}\\\"\\n  data-test-csv-import-column={{columnClass}}\\n>\\n  <div class=\\\"importer__mapping__column__left-pane\\\">\\n    <div class=\\\"layout__box o__has-rows\\\">\\n      {{#if isMapped}}\\n        <div class=\\\"u__cf\\\">\\n          <div class=\\\"u__left\\\">\\n            <div class=\\\"t__h4 importer__mapping__column__heading\\\">\\n              Column mapped to\\n            </div>\\n            <div class=\\\"t__h2 importer__mapping__column__label\\\">\\n              {{ic-interface-icon attributeIcon}} {{attributeMapping.label}}\\n            </div>\\n          </div>\\n          <div class=\\\"u__right u__mr__10 u__mt__10\\\">\\n            <div class=\\\"symbol__circle o__by-text o__green\\\">\\n              <span>\\n                {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n              </span>\\n            </div>\\n          </div>\\n        </div>\\n      {{else}}\\n        <div class=\\\"t__h2 importer__mapping__column__number\\\">\\n          Column {{columnNumber}}\\n        </div>\\n      {{/if}}\\n      <div class=\\\"h-2\\\"></div>\\n    </div>\\n    {{#if hasHeader}}\\n      <div class=\\\"layout__box o__flexes-to-1 importer__mapping__header-row {{if isMapped \\\"o__mapped\\\"}}\\\">\\n        <TruncatedTextComponent>\\n          {{headerRow}}\\n        </TruncatedTextComponent>\\n      </div>\\n    {{/if}}\\n    <ol class=\\\"layout__box o__has-rows o__flexes-to-1 importer__mapping__rows\\\">\\n      {{#each bodyRows as |row|}}\\n        <li class=\\\"layout__box o__flexes-to-1 importer__mapping__row\\\">\\n          <TruncatedTextComponent>\\n            {{row}}\\n          </TruncatedTextComponent>\\n        </li>\\n      {{/each}}\\n      <li class=\\\"layout__box o__flexes-to-1 importer__mapping__row\\\">\\n        +{{rowsLeftCount}} more\\n      </li>\\n    </ol>\\n  </div>\\n  <div class=\\\"layout__box o__has-rows importer__mapping__column__right-pane importer__mapping__card__inner\\\">\\n    <div>\\n      Map <b>Column {{columnNumber}}</b> to\\n    </div>\\n    <div class=\\\"h-2\\\"></div>\\n    {{#if isPredefinedAttributeMapping}}\\n      <div class=\\\"t__h1\\\">\\n        {{attributeLabel}}\\n      </div>\\n    {{else}}\\n      {{#if isSettingCustomAttribute}}\\n        <div class=\\\"f__undoable_text_field\\\">\\n          <Input\\n            class=\\\"f__text f__attribute_name_field importer__mapping__f-undoable-text-field\\\"\\n            @value={{attributeName}}\\n            placeholder=\\\"Custom Attribute Name\\\"\\n            @focus-out={{action \\\"removeErrorState\\\"}}\\n          />\\n          <a\\n            class=\\\"t__em-link f__undo\\\"\\n            {{action \\\"resetCustomAttribute\\\" bubbles=false}}\\n          >\\n            Undo\\n          </a>\\n        </div>\\n        <div class=\\\"h-2\\\"></div>\\n        <span>\\n          With the <b>data type</b> of\\n        </span>\\n        <div class=\\\"h-2\\\"></div>\\n        {{#each attributeTypes as |attributeType|}}\\n          <div\\n            class=\\\"f__group o__radio-group\\\"\\n            {{action \\\"setSelectedAttributeType\\\" attributeType.value}}\\n          >\\n            <span class=\\\"f__radio-wrapper u__disable-pointer-events\\\">\\n              <RadioButton\\n                @selection={{selectedAttributeType}}\\n                @value={{attributeType.value}}\\n                @disabled={{isAttributeTypeDisabled}}\\n              />\\n            </span>\\n            <span\\n              class=\\\"f__radio-content {{if isAttributeTypeDisabled \\\"text-gray\\\"}}\\\"\\n            >\\n              {{attributeType.label}}\\n              <IcTooltipIcon @content={{attributeType.tooltip}} />\\n            </span>\\n          </div>\\n        {{/each}}\\n      {{else}}\\n        <Importers::GroupedSelectComponent\\n          @content={{customAttributeGroups}}\\n          @shouldSelectFirstItemOnCreate={{true}}\\n          @optionLabelPath=\\\"label\\\"\\n          @action={{action \\\"changedCustomAttribute\\\"}}\\n          @shouldClear={{shouldClearDropdown}}\\n          @dropdownMinWidth={{220}}\\n        />\\n        <div class=\\\"h-2\\\"></div>\\n      {{/if}}\\n    {{/if}}\\n    <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n    <div class=\\\"u__cf\\\">\\n      <span class=\\\"importer__mapping__btn__container o__left u__left\\\">\\n        <IcButton\\n          @label=\\\"Cancel\\\"\\n          @type=\\\"secondary\\\"\\n          @fit={{true}}\\n          @onClick={{action \\\"cancel\\\"}}\\n        />\\n      </span>\\n      <span class=\\\"importer__mapping__btn__container o__right u__right\\\">\\n        <IcButton\\n          @label=\\\"Confirm\\\"\\n          @type=\\\"primary\\\"\\n          @fit={{true}}\\n          @disabled={{attributeNameAndAttributeTypeAreInvalid}}\\n          @onClick={{action \\\"confirm\\\"}}\\n          data-test-csv-import-column-assignment-confirm={{isOpen}}\\n        />\\n      </span>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"importer__mapping__column card {{if (and isNotMapped isClosed) \\\"o__hoverable\\\"}} {{if isOpen \\\"o__selected\\\"}} {{if isOpen \\\"o__open\\\"}} {{if isMapped \\\"o__mapped\\\"}}\\\"\\n  data-test-csv-import-column={{columnClass}}\\n>\\n  <div class=\\\"importer__mapping__column__left-pane\\\">\\n    <div class=\\\"layout__box o__has-rows\\\">\\n      {{#if isMapped}}\\n        <div class=\\\"u__cf\\\">\\n          <div class=\\\"u__left\\\">\\n            <div class=\\\"t__h4 importer__mapping__column__heading\\\">\\n              Column mapped to\\n            </div>\\n            <div class=\\\"t__h2 importer__mapping__column__label\\\">\\n              {{ic-interface-icon attributeIcon}} {{attributeMapping.label}}\\n            </div>\\n          </div>\\n          <div class=\\\"u__right u__mr__10 u__mt__10\\\">\\n            <div class=\\\"symbol__circle o__by-text o__green\\\">\\n              <span>\\n                {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n              </span>\\n            </div>\\n          </div>\\n        </div>\\n      {{else}}\\n        <div class=\\\"t__h2 importer__mapping__column__number\\\">\\n          Column {{columnNumber}}\\n        </div>\\n      {{/if}}\\n      <div class=\\\"h-2\\\"></div>\\n    </div>\\n    {{#if hasHeader}}\\n      <div class=\\\"layout__box o__flexes-to-1 importer__mapping__header-row {{if isMapped \\\"o__mapped\\\"}}\\\">\\n        <TruncatedTextComponent>\\n          {{headerRow}}\\n        </TruncatedTextComponent>\\n      </div>\\n    {{/if}}\\n    <ol class=\\\"layout__box o__has-rows o__flexes-to-1 importer__mapping__rows\\\">\\n      {{#each bodyRows as |row|}}\\n        <li class=\\\"layout__box o__flexes-to-1 importer__mapping__row\\\">\\n          <TruncatedTextComponent>\\n            {{row}}\\n          </TruncatedTextComponent>\\n        </li>\\n      {{/each}}\\n      <li class=\\\"layout__box o__flexes-to-1 importer__mapping__row\\\">\\n        +{{rowsLeftCount}} more\\n      </li>\\n    </ol>\\n  </div>\\n  <div class=\\\"layout__box o__has-rows importer__mapping__column__right-pane importer__mapping__card__inner\\\">\\n    <div>\\n      Map <b>Column {{columnNumber}}</b> to\\n    </div>\\n    <div class=\\\"h-2\\\"></div>\\n    {{#if isPredefinedAttributeMapping}}\\n      <div class=\\\"t__h1\\\">\\n        {{attributeLabel}}\\n      </div>\\n    {{else}}\\n      {{#if isSettingCustomAttribute}}\\n        <div class=\\\"f__undoable_text_field\\\">\\n          <Input\\n            class=\\\"f__text f__attribute_name_field importer__mapping__f-undoable-text-field\\\"\\n            @value={{attributeName}}\\n            placeholder=\\\"Custom Attribute Name\\\"\\n            @focus-out={{action \\\"removeErrorState\\\"}}\\n          />\\n          <a\\n            class=\\\"t__em-link f__undo\\\"\\n            {{action \\\"resetCustomAttribute\\\" bubbles=false}}\\n          >\\n            Undo\\n          </a>\\n        </div>\\n        <div class=\\\"h-2\\\"></div>\\n        <span>\\n          With the <b>data type</b> of\\n        </span>\\n        <div class=\\\"h-2\\\"></div>\\n        {{#each attributeTypes as |attributeType|}}\\n          <div\\n            class=\\\"f__group o__radio-group\\\"\\n            {{action \\\"setSelectedAttributeType\\\" attributeType.value}}\\n          >\\n            <span class=\\\"f__radio-wrapper u__disable-pointer-events\\\">\\n              <RadioButton\\n                @selection={{selectedAttributeType}}\\n                @value={{attributeType.value}}\\n                @disabled={{isAttributeTypeDisabled}}\\n              />\\n            </span>\\n            <span\\n              class=\\\"f__radio-content {{if isAttributeTypeDisabled \\\"text-gray\\\"}}\\\"\\n            >\\n              {{attributeType.label}}\\n              <IcTooltipIcon @content={{attributeType.tooltip}} />\\n            </span>\\n          </div>\\n        {{/each}}\\n      {{else}}\\n        <Importers::GroupedSelectComponent\\n          @content={{customAttributeGroups}}\\n          @shouldSelectFirstItemOnCreate={{true}}\\n          @optionLabelPath=\\\"label\\\"\\n          @action={{action \\\"changedCustomAttribute\\\"}}\\n          @shouldClear={{shouldClearDropdown}}\\n          @dropdownMinWidth={{220}}\\n        />\\n        <div class=\\\"h-2\\\"></div>\\n      {{/if}}\\n    {{/if}}\\n    <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n    <div class=\\\"u__cf\\\">\\n      <span class=\\\"importer__mapping__btn__container o__left u__left\\\">\\n        <IcButton\\n          @label=\\\"Cancel\\\"\\n          @type=\\\"secondary\\\"\\n          @fit={{true}}\\n          @onClick={{action \\\"cancel\\\"}}\\n        />\\n      </span>\\n      <span class=\\\"importer__mapping__btn__container o__right u__right\\\">\\n        <IcButton\\n          @label=\\\"Confirm\\\"\\n          @type=\\\"primary\\\"\\n          @fit={{true}}\\n          @disabled={{attributeNameAndAttributeTypeAreInvalid}}\\n          @onClick={{action \\\"confirm\\\"}}\\n          data-test-csv-import-column-assignment-confirm={{isOpen}}\\n        />\\n      </span>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/importers/csv-column-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/importers/csv-column-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { later } from '@ember/runloop';\nimport $ from 'jquery';\nimport { isPresent, isNone } from '@ember/utils';\nimport { not, notEmpty, bool, equal, and, reads, readOnly } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { valueOrDefault } from '@intercom/embercom-core/lib/computed-properties';\nexport default Component.extend({\n  customAttributes: null,\n  classNames: ['importer__mapping__column-placeholder'],\n  classNameBindings: ['isMapped:o__mapped'],\n  notificationsService: service(),\n  rows: null,\n  index: null,\n  rowCount: null,\n  previewRowCount: 6,\n  columnsExceedingMaxLength: null,\n  rowsLeftCount: computed('rowCount', 'previewRowCount', function() {\n    return Math.max(0, this.rowCount - this.previewRowCount);\n  }),\n\n  isOpen: false,\n  isClosed: not('isOpen'),\n\n  anyOpen: false,\n  noneOpen: not('anyOpen'),\n\n  originalLeft: null,\n  originalTop: null,\n\n  currentAttributeMapping: null,\n  attributeMappings: null,\n  shouldNotifyLengthWarning: computed(\n    'columnsExceedingMaxLength',\n    'isPredefinedAttributeMapping',\n    function() {\n      return (\n        this.columnsExceedingMaxLength &&\n        this.columnsExceedingMaxLength.indexOf(this.index) >= 0 &&\n        !this.isPredefinedAttributeMapping\n      );\n    },\n  ),\n\n  hasRows: notEmpty('rows'),\n\n  attributeIcon: valueOrDefault('attributeMapping.icon', 'transfer'),\n\n  normalizeAttributeNameWithType(newType, oldType) {\n    // Confusingly named, we leave existing custom attributes names alone.\n    // We don't try to append _at to existing custom attributes\n    if (!this.isSettingCustomAttribute) {\n      return;\n    }\n\n    let name = this.attributeName;\n\n    if (!isPresent(name)) {\n      return;\n    }\n\n    if (newType === 'Date') {\n      if (!name.match(/_at$/)) {\n        name = `${name}_at`;\n      }\n    } else if (oldType && oldType === 'Date' && newType !== 'Date') {\n      if (name.match(/_at$/)) {\n        name = name.substr(0, name.length - 3);\n      }\n    }\n\n    this.set('attributeName', name);\n  },\n\n  columnNumber: computed('index', function() {\n    return this.index + 1;\n  }),\n\n  hasHeader: false,\n\n  headerRow: computed('hasHeader', 'rows', function() {\n    return this.hasHeader ? this.rows[0] : null;\n  }),\n\n  bodyRows: computed('hasHeader', 'rows', function() {\n    return this.hasHeader ? this.rows.slice(1) : this.rows;\n  }),\n\n  attributeMapping: computed('attributeMappings.@each.columnIndex', 'index', function() {\n    let attributeMappings = this.attributeMappings;\n    let index = this.index;\n\n    return attributeMappings.find(function(attributeMapping) {\n      return attributeMapping.columnIndex === index;\n    });\n  }),\n\n  isMapped: bool('attributeMapping'),\n  isNotMapped: equal('isMapped', false),\n  isSettingCustomAttribute: false,\n\n  attributeTypes: [\n    {\n      label: 'Text',\n      value: 'String',\n      tooltip:\n        'String values like \"test@example.com\", \"John Doe\", \"a8s7d8f7a\". Available filters include exact match, starts with, contains.',\n    },\n    {\n      label: 'Number',\n      value: 'Fixnum',\n      tooltip:\n        'Integer values like 24, 48,000, 1, 0, -16. Available filters include equals, greater than, less than.',\n    },\n    {\n      label: 'Float',\n      value: 'Float',\n      tooltip:\n        'Floating-point values like 2.5, 8.172, -3.6666. Available filters include equals, greater than, less than.',\n    },\n    {\n      label: 'Date',\n      value: 'Date',\n      tooltip:\n        'Date+time values like \"2015-07-10 10:21:18 UTC\", 1436523678. Available filters include exact match, date range, days ago.',\n    },\n    {\n      label: 'Boolean',\n      value: 'Boolean',\n      tooltip: 'True or false values. Available filters include exact match, not set.',\n    },\n  ],\n\n  selectedAttributeType: null,\n\n  attributeNameAndAttributeTypeAreValid: and(\n    'attributeNameIsValid',\n    'selectedAttributeTypeIsValid',\n  ),\n  attributeNameAndAttributeTypeAreInvalid: not('attributeNameAndAttributeTypeAreValid'),\n\n  attributeNameIsValid: computed('attributeName', function() {\n    let attributeName = this.attributeName;\n    return typeof attributeName === 'string' && attributeName.length > 0;\n  }),\n\n  selectedAttributeTypeIsValid: computed('selectedAttributeType', function() {\n    let selectedAttributeType = this.selectedAttributeType;\n    return typeof selectedAttributeType === 'string' && selectedAttributeType.length > 1;\n  }),\n\n  isPredefinedAttributeMapping: reads('currentAttributeMapping'),\n  numberOfPredefinedAttributes: readOnly('predefinedAttributeMappings.length'),\n  attributeName: null,\n\n  click() {\n    if (this.isClosed && this.noneOpen) {\n      this.open(() => {\n        $(document).on('click.csv-column', event => {\n          if (!this.isDestroying) {\n            if (!$(event.target).closest('.importer__mapping__column.o__open').length) {\n              this.close();\n            }\n          }\n        });\n      });\n    }\n  },\n\n  // The attribute 'type' as defined in the Attribute model is different than\n  // the 'type' used in the CSV column groups\n  // This returns the type used in CSV column groups\n  attributeTypeMapping: {\n    integer: 'Fixnum',\n    date: 'Date',\n    boolean: 'Boolean',\n    string: 'String',\n    float: 'Float',\n  },\n\n  _attributeToRow(attr) {\n    return {\n      label: attr.get('name'),\n      type: this.attributeTypeMapping[attr.get('type')],\n      value: attr.get('name'),\n    };\n  },\n\n  matchingCustomAttributes: computed('rows', 'customAttributes', 'hasRows', function() {\n    let rows = [];\n\n    if (this.hasRows) {\n      let header = this.rows[0];\n      if (isPresent(header) && header.length > 1) {\n        header = header.dasherize().capitalize();\n        this.customAttributes.forEach(attr => {\n          let title = attr\n            .get('name')\n            .dasherize()\n            .capitalize();\n\n          if (title.indexOf(header) > -1) {\n            let row = this._attributeToRow(attr);\n            rows.push(row);\n          }\n        });\n      }\n    }\n    return {\n      title: 'Matching Custom Attributes',\n      rows,\n    };\n  }),\n\n  isAttributeTypeDisabled: computed(\n    'isPredefinedAttributeMapping',\n    'disabledAttributeSelection',\n    'isSettingCustomAttribute',\n    function() {\n      if (this.isPredefinedAttributeMapping) {\n        return true;\n      }\n\n      return this.disabledAttributeSelection;\n    },\n  ),\n\n  otherCustomAttributes: computed(\n    'customAttributes',\n    'matchingCustomAttributes',\n    'alreadyUsedAttributes',\n    'attributeMappings',\n    function() {\n      let ignoredList = this.matchingCustomAttributes.rows;\n      let hasMatching = ignoredList.length > 0;\n      ignoredList = ignoredList.concat(this.alreadyUsedAttributes.rows);\n      ignoredList = ignoredList.mapBy('label');\n\n      let rows = this.customAttributes\n        .map(attr => {\n          return this._attributeToRow(attr);\n        })\n        .reject(function(row) {\n          return ignoredList.indexOf(row.label) > -1;\n        });\n\n      rows = rows.sortBy('label');\n\n      return {\n        title: hasMatching ? 'Other Custom Attributes' : 'Existing Custom Attributes',\n        rows,\n      };\n    },\n  ),\n\n  alreadyUsedAttributes: computed(\n    'attributeMappings.[]',\n    'numberOfPredefinedAttributes',\n    function() {\n      let rows = [];\n      let startIndex = this.numberOfPredefinedAttributes - 1;\n\n      this.attributeMappings.forEach(function(attribute, index) {\n        if (index > startIndex) {\n          let row = {\n            label: attribute.label,\n            value: attribute.label,\n            disabled: true,\n            type: attribute.type,\n          };\n          rows.push(row);\n        }\n      });\n\n      rows = rows.sortBy('label');\n\n      return {\n        title: 'Already Mapped Attributes',\n        rows,\n      };\n    },\n  ),\n\n  customAttributeGroups: computed(\n    'matchingCustomAttributes',\n    'otherCustomAttributes',\n    'alreadyUsedAttributes',\n    function() {\n      let placeholderGroup = {\n        rows: [\n          {\n            label: 'Select attribute',\n            value: '',\n          },\n        ],\n      };\n\n      let createNewGroup = {\n        rows: [\n          {\n            label: '+ New attribute',\n            value: null,\n          },\n        ],\n      };\n\n      let sections = [\n        placeholderGroup,\n        this.matchingCustomAttributes,\n        this.otherCustomAttributes,\n        this.alreadyUsedAttributes,\n        createNewGroup,\n      ];\n\n      // Hide empty sections\n      sections = sections.reject(section => {\n        return section.rows.length === 0;\n      });\n\n      return sections;\n    },\n  ),\n\n  open(callback) {\n    if (this.isMapped) {\n      return;\n    }\n\n    if (this.shouldNotifyLengthWarning) {\n      this.notificationsService.notifyWarning(\n        'Some of the fields in this column are longer than 255 characters. These rows will be skipped.',\n        5000,\n      );\n    }\n\n    this.set('isOpen', true);\n    this.set('anyOpen', true);\n    this.set('shouldClearDropdown', false);\n\n    this.set('attributeName', this.get('currentAttributeMapping.name'));\n    this.set('attributeLabel', this.get('currentAttributeMapping.label'));\n    this.set('selectedAttributeType', this.get('currentAttributeMapping.type'));\n\n    let $column = $('.importer__mapping__column', this.element);\n\n    let viewportCenterLeft = $(window).width() / 2;\n    let viewportCenterTop = $(window).height() / 2;\n\n    let columnLeft = $column.offset().left;\n    let columnTop = $column.offset().top;\n\n    let columnWidthOffset = $column.width() / 2;\n    let columnHeightOffset = $column.height() / 2;\n\n    $column.animate(\n      {\n        left: viewportCenterLeft - columnLeft - columnWidthOffset - 140,\n        top: viewportCenterTop - columnTop - columnHeightOffset,\n        width: '560px',\n      },\n      {\n        duration: 250,\n        done: callback,\n      },\n    );\n\n    this.bindKeyListeners();\n  },\n\n  columnClass: computed('columnNumber', 'anyOpen', function() {\n    let anyOpen = this.anyOpen ? 'open' : 'closed';\n    return `${this.columnNumber}:${anyOpen}`;\n  }),\n\n  close() {\n    $(document).off('click.csv-column');\n\n    // Don't leave the text field as red\n    if ($('.f__attribute_name_field', this.element)) {\n      $('.f__attribute_name_field', this.element).removeClass('o__error');\n    }\n\n    let $column = $('.importer__mapping__column', this.element);\n\n    $column.animate(\n      {\n        left: null,\n        top: null,\n        width: '280px',\n      },\n      {\n        duration: 250,\n        done: function() {\n          if (this.isDestroyed) {\n            return;\n          }\n          this.set('isOpen', false);\n          this.set('anyOpen', false);\n          this.set('shouldClearDropdown', true);\n          this.resetCustomAttribute();\n        }.bind(this),\n      },\n    );\n\n    this.unbindKeyListeners();\n  },\n\n  confirm() {\n    let index = this.index;\n\n    if (this.isPredefinedAttributeMapping) {\n      this.setAttributeMapping({\n        columnIndex: index,\n      });\n    } else {\n      let type = this.selectedAttributeType;\n      this.normalizeAttributeNameWithType(type);\n\n      let name = this.attributeName;\n\n      let nameAlreadyExists = !!this.attributeMappings.find(attr => attr.name === name);\n\n      if (nameAlreadyExists) {\n        let errorText = `The name \"${name}\" is already an existing attribute.`;\n        this.notificationsService.notifyError(errorText);\n\n        // Highlight the text field in an error state\n        if ($('.f__attribute_name_field', this.element)) {\n          $('.f__attribute_name_field', this.element).addClass('o__error');\n        }\n\n        return;\n      } else {\n        this.setAttributeMapping({\n          columnIndex: index,\n          label: name,\n          name,\n          type,\n        });\n      }\n    }\n\n    this.close();\n  },\n\n  bindKeyListeners() {\n    let enterKeyCode = 13;\n    let escapeKeyCode = 27;\n\n    $(document).on('keydown.csv-column', event => {\n      if (!this.isDestroying) {\n        if (event.keyCode === enterKeyCode) {\n          if (this.attributeNameAndAttributeTypeAreValid) {\n            this.confirm();\n          }\n        } else if (event.keyCode === escapeKeyCode) {\n          this.close();\n        }\n      }\n    });\n  },\n\n  unbindKeyListeners() {\n    $(document).off('keydown.csv-column');\n  },\n\n  resetCustomAttribute() {\n    this.set('attributeName', '');\n    this.set('disabledAttributeSelection', true);\n    this.set('selectedAttributeType', null);\n    this.set('isSettingCustomAttribute', false);\n  },\n\n  actions: {\n    removeErrorState() {\n      $('.f__attribute_name_field', this.element).removeClass('o__error');\n    },\n\n    setSelectedAttributeType(attributeTypeValue) {\n      if (this.isPredefinedAttributeMapping || !this.isSettingCustomAttribute) {\n        return;\n      }\n      this.normalizeAttributeNameWithType(attributeTypeValue, this.selectedAttributeType);\n      this.set('selectedAttributeType', attributeTypeValue);\n    },\n\n    resetCustomAttribute() {\n      this.resetCustomAttribute();\n    },\n\n    cancel() {\n      this.close();\n    },\n\n    confirm() {\n      this.confirm();\n    },\n    changedCustomAttribute(row) {\n      if (isPresent(row)) {\n        this.set('disabledAttributeSelection', false);\n        this.set('selectedAttributeType', '');\n\n        // 'Select Custom Attribute'\n        if (row.value === '') {\n          this.set('attributeName', '');\n\n          // Attribute selection is disabled when nothing selected\n          this.set('disabledAttributeSelection', true);\n          return;\n          // 'Create a new custom attribute'\n        } else if (isNone(row.value)) {\n          this.set('attributeName', '');\n          this.set('isSettingCustomAttribute', true);\n\n          // You can set attributes manually\n          this.set('disabledAttributeSelection', false);\n\n          if (this.hasHeader) {\n            let rows = this.rows;\n            if (rows.length) {\n              this.set('attributeName', rows[0]);\n            }\n          }\n\n          // FOCUS\n          if ($('.f__attribute_name_field', this.element)) {\n            later(\n              this,\n              function() {\n                $('.f__attribute_name_field', this.element).focus();\n              },\n              100,\n            );\n          }\n        } else {\n          this.set('attributeName', row.value);\n          if (isPresent(row.type)) {\n            this.set('selectedAttributeType', row.type);\n            this.set('disabledAttributeSelection', true);\n          } else {\n            this.set('disabledAttributeSelection', false);\n          }\n        }\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport FileUploadComponent from 'embercom/components/importers/file-upload-component';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default FileUploadComponent.extend({\n  layoutName: 'components/importers/file-upload-component',\n\n  instructions: 'Drag and drop your CSV file here',\n  additionalInstructions:\n    'Your CSV must have an email address for each person. User IDs, full names, and signup dates can be automatically imported, as well as any custom fields you like.',\n  fileExtension: 'csv',\n  fileMimeType: 'text/csv',\n  fileSizeLimitInMegabytes: 20,\n  uploadErrorMessage: 'Sorry, we couldn’t parse this CSV file.',\n  fileHasInvalidExtensionErrorMessage: templateString(\n    'Please upload a .${fileExtension} file. If you have a spreadsheet, save it as a CSV file before uploading.',\n  ),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport $ from 'jquery';\nimport { not } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport {\n  greaterThanProperty,\n  templateString,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport ENV from 'embercom/config/environment';\n\nexport default Component.extend({\n  optionClass: null,\n  instructions: 'Drag and drop your file here',\n  additionalInstructions: null,\n  file: null,\n  noFile: not('file'),\n  fileExtension: '',\n  fileMimeType: null,\n  fileSizeLimitInMegabytes: null,\n  showPreview: false,\n  previewURL: null,\n  fileFailedToUpload: false,\n  fileIsValid: false,\n\n  fileHasInvalidExtensionErrorMessage: templateString('Please upload a .${fileExtension} file.'),\n  fileIsTooLargeErrorMessage: templateString(\n    'This file is too large. The maximum size is ${fileSizeLimitInMegabytes} MB.',\n  ),\n  uploadErrorMessage: null,\n\n  fileSizeLimitInBytes: computed('fileSizeLimitInMegabytes', function() {\n    return this.fileSizeLimitInMegabytes * 1000000;\n  }),\n\n  errorMessage: computed(\n    'file',\n    'fileHasInvalidExtension',\n    'fileHasInvalidExtensionErrorMessage',\n    'fileIsTooLarge',\n    'fileIsTooLargeErrorMessage',\n    'fileFailedToUpload',\n    'uploadErrorMessage',\n    function() {\n      if (!this.file) {\n        return;\n      }\n\n      if (this.fileHasInvalidExtension) {\n        return this.fileHasInvalidExtensionErrorMessage;\n      } else if (this.fileIsTooLarge) {\n        return this.fileIsTooLargeErrorMessage;\n      } else if (this.fileFailedToUpload) {\n        return this.uploadErrorMessage;\n      }\n    },\n  ),\n\n  fileHasInvalidExtension: not('fileHasValidExtension'),\n\n  fileHasValidExtension: computed('file.name', 'fileExtension', function() {\n    let fileName = this.get('file.name');\n    if (!fileName) {\n      return false;\n    }\n\n    let fileExtensions = this.fileExtension.split(',');\n    if (!fileExtensions) {\n      return false;\n    }\n\n    return fileExtensions.some(fileExtension => {\n      let regexp = new RegExp(`\\.${fileExtension}$`, 'i');\n      return fileName.match(regexp);\n    });\n  }),\n\n  fileIsTooLarge: greaterThanProperty('file.size', 'fileSizeLimitInBytes'),\n\n  dragEnter(event) {\n    event.preventDefault();\n    if (!this.isDisabled) {\n      this.set('isDragging', true);\n    }\n  },\n\n  dragOver(event) {\n    this.dragEnter(event);\n  },\n\n  dragLeave(event) {\n    event.preventDefault();\n    this.set('isDragging', false);\n  },\n\n  drop(event) {\n    event.preventDefault();\n    if (!this.isDisabled) {\n      this._setFile(event.dataTransfer.files[0]);\n    }\n  },\n\n  change(event) {\n    if ($(event.target).is('input:file')) {\n      this._setFile(event.target.files[0]);\n    }\n  },\n\n  _setFile(file) {\n    this.set('uploadErrorMessage', '');\n    this.set('file', file);\n    this.set('fileIsValid', file && !this.errorMessage);\n\n    if (this.showPreview && file) {\n      let reader = new FileReader();\n\n      reader.onload = event => {\n        this.set('previewURL', event.target.result);\n      };\n\n      reader.readAsDataURL(file);\n    }\n  },\n\n  actions: {\n    pickFile() {\n      if (ENV.environment === 'test') {\n        return this._setFile({ name: 'test.csv' });\n      }\n\n      $('input:file', this.element).click();\n    },\n\n    removeFile() {\n      this._setFile(null);\n      this.set('previewURL', null);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable no-bare-strings no-triple-curlies --}}\\n{{!-- NOTE: please don't add additional uses of triple curlies in embercom --}}\\n{{!--       see https://github.com/intercom/embercom/wiki/Avoiding-XSS-in-Embercom --}}\\n<div class=\\\"f__horizontal-select-container o__large layout__box o__has-columns\\\">\\n  <div\\n    class=\\\"f__horizontal-select layout__box o__flexes-to-1 {{if recordTypeIsUsers \\\"o__selected\\\"}}\\\"\\n    onclick={{action (mut recordType) \\\"users\\\"}}\\n  >\\n    {{#if recordTypeIsUsers}}\\n      <span class=\\\"f__horizontal-select-selected-icon\\\">\\n        {{ic-interface-icon \\\"small-check\\\"}}\\n      </span>\\n    {{/if}}\\n    <div class=\\\"f__horizontal-select-inner u__center-item t__centered\\\">\\n      {{#if includeImages}}\\n        <div>\\n          {{#if recordTypeIsLeads}}\\n            <IcIllustrativeIcon\\n              @name=\\\"lead-qualification\\\"\\n              @appearance=\\\"empty\\\"\\n            />\\n          {{else}}\\n            <IcIllustrativeIcon @name=\\\"lead-qualification\\\" />\\n          {{/if}}\\n        </div>\\n      {{/if}}\\n      <div class=\\\"h-2\\\"></div>\\n      <div class=\\\"t__h3 {{if recordTypeIsLeads \\\"text-gray\\\"}}\\\">\\n        {{usersTitle}}\\n      </div>\\n      <div class=\\\"t__centered importer__step__record-text {{if recordTypeIsLeads \\\"text-gray\\\"}}\\\">\\n        {{{usersText}}}\\n      </div>\\n    </div>\\n  </div>\\n  <div\\n    class=\\\"f__horizontal-select layout__box o__flexes-to-1 {{if recordTypeIsLeads \\\"o__selected\\\"}}\\\"\\n    onclick={{action (mut recordType) \\\"leads\\\"}}\\n  >\\n    {{#if recordTypeIsLeads}}\\n      <span class=\\\"f__horizontal-select-selected-icon\\\">\\n        {{ic-interface-icon \\\"small-check\\\"}}\\n      </span>\\n    {{/if}}\\n    <div class=\\\"f__horizontal-select-inner u__center-item t__centered\\\">\\n      {{#if includeImages}}\\n        <div>\\n          {{#if recordTypeIsLeads}}\\n            <IcIllustrativeIcon @name=\\\"people\\\" />\\n          {{else}}\\n            <IcIllustrativeIcon @name=\\\"people\\\" @appearance=\\\"empty\\\" />\\n          {{/if}}\\n        </div>\\n      {{/if}}\\n      <div class=\\\"h-2\\\"></div>\\n      <div class=\\\"t__h3 {{if recordTypeIsUsers \\\"text-gray\\\"}}\\\">\\n        {{leadsTitle}}\\n      </div>\\n      <div class=\\\"t__centered importer__step__record-text {{if recordTypeIsUsers \\\"text-gray\\\"}}\\\">\\n        {{{leadsText}}}\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable no-bare-strings no-triple-curlies --}}\\n{{!-- NOTE: please don't add additional uses of triple curlies in embercom --}}\\n{{!--       see https://github.com/intercom/embercom/wiki/Avoiding-XSS-in-Embercom --}}\\n<div class=\\\"f__horizontal-select-container o__large layout__box o__has-columns\\\">\\n  <div\\n    class=\\\"f__horizontal-select layout__box o__flexes-to-1 {{if recordTypeIsUsers \\\"o__selected\\\"}}\\\"\\n    onclick={{action (mut recordType) \\\"users\\\"}}\\n  >\\n    {{#if recordTypeIsUsers}}\\n      <span class=\\\"f__horizontal-select-selected-icon\\\">\\n        {{ic-interface-icon \\\"small-check\\\"}}\\n      </span>\\n    {{/if}}\\n    <div class=\\\"f__horizontal-select-inner u__center-item t__centered\\\">\\n      {{#if includeImages}}\\n        <div>\\n          {{#if recordTypeIsLeads}}\\n            <IcIllustrativeIcon\\n              @name=\\\"lead-qualification\\\"\\n              @appearance=\\\"empty\\\"\\n            />\\n          {{else}}\\n            <IcIllustrativeIcon @name=\\\"lead-qualification\\\" />\\n          {{/if}}\\n        </div>\\n      {{/if}}\\n      <div class=\\\"h-2\\\"></div>\\n      <div class=\\\"t__h3 {{if recordTypeIsLeads \\\"text-gray\\\"}}\\\">\\n        {{usersTitle}}\\n      </div>\\n      <div class=\\\"t__centered importer__step__record-text {{if recordTypeIsLeads \\\"text-gray\\\"}}\\\">\\n        {{{usersText}}}\\n      </div>\\n    </div>\\n  </div>\\n  <div\\n    class=\\\"f__horizontal-select layout__box o__flexes-to-1 {{if recordTypeIsLeads \\\"o__selected\\\"}}\\\"\\n    onclick={{action (mut recordType) \\\"leads\\\"}}\\n  >\\n    {{#if recordTypeIsLeads}}\\n      <span class=\\\"f__horizontal-select-selected-icon\\\">\\n        {{ic-interface-icon \\\"small-check\\\"}}\\n      </span>\\n    {{/if}}\\n    <div class=\\\"f__horizontal-select-inner u__center-item t__centered\\\">\\n      {{#if includeImages}}\\n        <div>\\n          {{#if recordTypeIsLeads}}\\n            <IcIllustrativeIcon @name=\\\"people\\\" />\\n          {{else}}\\n            <IcIllustrativeIcon @name=\\\"people\\\" @appearance=\\\"empty\\\" />\\n          {{/if}}\\n        </div>\\n      {{/if}}\\n      <div class=\\\"h-2\\\"></div>\\n      <div class=\\\"t__h3 {{if recordTypeIsUsers \\\"text-gray\\\"}}\\\">\\n        {{leadsTitle}}\\n      </div>\\n      <div class=\\\"t__centered importer__step__record-text {{if recordTypeIsUsers \\\"text-gray\\\"}}\\\">\\n        {{{leadsText}}}\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/importers/generic-record-type-selector-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/importers/generic-record-type-selector-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { equal } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  recordType: null,\n\n  recordTypeIsUsers: equal('recordType', 'users'),\n  recordTypeIsLeads: equal('recordType', 'leads'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span\\n  class=\\\"f__custom-select__box o__grouped {{if discreetMode \\\"o__subtle\\\"}} {{if isOpen \\\"o__opened\\\"}} {{if disabled \\\"o__disabled\\\"}} {{if disabled \\\"u__disable-pointer-events\\\"}} {{if showError \\\"o__error\\\"}}\\\"\\n  {{action \\\"toggleOpenState\\\"}}\\n>\\n  <span class=\\\"t__select-group-label u__one-truncated-line\\\">\\n    {{#if _mappedValue.icon}}\\n      {{ic-interface-icon _mappedValue.icon}}\\n    {{/if}}\\n    {{_mappedValue.label}}\\n    {{#if _mappedValue.tooltip}}\\n      <IcTooltip @isInteractive={{true}} as |t|>\\n        <t.opener>\\n          {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\" solo=true}}\\n        </t.opener>\\n        <t.content>\\n          {{_mappedValue.tooltip}}\\n        </t.content>\\n      </IcTooltip>\\n    {{/if}}\\n  </span>\\n  <span class=\\\"f__custom-select__caret\\\">\\n    {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n  </span>\\n  {{#if isOpen}}\\n    <div class=\\\"dropdown o__opened f__custom-select__dropdown z__2 f__custom-select__dropdown-grouped\\\">\\n      {{#each groups as |group|}}\\n        <div class=\\\"f__custom-select__dropdown-separator\\\"></div>\\n        {{#if group.title}}\\n          <div class=\\\"dropdown__list-item u__one-truncuated-line u__prevent-breaks\\\">\\n            <div class=\\\"u_media t__label\\\">\\n              {{group.title}}\\n            </div>\\n          </div>\\n        {{/if}}\\n        <div class=\\\"dropdown-group-rows\\\">\\n          {{#each group.rows as |row|}}\\n            <Importers::GroupedSelectRowComponent\\n              @row={{row}}\\n              @currentCoords={{currentCoords}}\\n              @action=\\\"setSelectedOption\\\"\\n            />\\n          {{/each}}\\n        </div>\\n      {{/each}}\\n    </div>\\n  {{/if}}\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span\\n  class=\\\"f__custom-select__box o__grouped {{if discreetMode \\\"o__subtle\\\"}} {{if isOpen \\\"o__opened\\\"}} {{if disabled \\\"o__disabled\\\"}} {{if disabled \\\"u__disable-pointer-events\\\"}} {{if showError \\\"o__error\\\"}}\\\"\\n  {{action \\\"toggleOpenState\\\"}}\\n>\\n  <span class=\\\"t__select-group-label u__one-truncated-line\\\">\\n    {{#if _mappedValue.icon}}\\n      {{ic-interface-icon _mappedValue.icon}}\\n    {{/if}}\\n    {{_mappedValue.label}}\\n    {{#if _mappedValue.tooltip}}\\n      <IcTooltip @isInteractive={{true}} as |t|>\\n        <t.opener>\\n          {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\" solo=true}}\\n        </t.opener>\\n        <t.content>\\n          {{_mappedValue.tooltip}}\\n        </t.content>\\n      </IcTooltip>\\n    {{/if}}\\n  </span>\\n  <span class=\\\"f__custom-select__caret\\\">\\n    {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n  </span>\\n  {{#if isOpen}}\\n    <div class=\\\"dropdown o__opened f__custom-select__dropdown z__2 f__custom-select__dropdown-grouped\\\">\\n      {{#each groups as |group|}}\\n        <div class=\\\"f__custom-select__dropdown-separator\\\"></div>\\n        {{#if group.title}}\\n          <div class=\\\"dropdown__list-item u__one-truncuated-line u__prevent-breaks\\\">\\n            <div class=\\\"u_media t__label\\\">\\n              {{group.title}}\\n            </div>\\n          </div>\\n        {{/if}}\\n        <div class=\\\"dropdown-group-rows\\\">\\n          {{#each group.rows as |row|}}\\n            <Importers::GroupedSelectRowComponent\\n              @row={{row}}\\n              @currentCoords={{currentCoords}}\\n              @action=\\\"setSelectedOption\\\"\\n            />\\n          {{/each}}\\n        </div>\\n      {{/each}}\\n    </div>\\n  {{/if}}\\n</span>\\n\",\"moduleName\":\"embercom/components/importers/grouped-select-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/importers/grouped-select-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { computed, observer } from '@ember/object';\nimport { schedule, later } from '@ember/runloop';\nimport { isPresent, isNone } from '@ember/utils';\nimport IntercomSelectComponent from 'embercom/components/intercom-select-component';\nimport ENV from 'embercom/config/environment';\nimport { readOnly } from '@ember/object/computed';\n\nexport default IntercomSelectComponent.extend({\n  content: null,\n  currentCoords: null,\n  groups: computed('content', function() {\n    return this.content.map(\n      function(group, index) {\n        group.isFirst = index === 0;\n        this.setCoordinatesForRow(group, index);\n        return group;\n      }.bind(this),\n    );\n  }),\n\n  setCoordinatesForRow(group, groupIndex) {\n    if (isPresent(group.rows)) {\n      for (let i = group.rows.length - 1; i >= 0; i--) {\n        let row = group.rows[i];\n\n        row.coords = {\n          group: groupIndex,\n          row: i,\n        };\n      }\n    }\n  },\n\n  _maybeSetValueToFirstItem() {\n    if (this.shouldSelectFirstItemOnCreate && this.get('content.length') && isNone(this.value)) {\n      this.send('setSelectedOption', {\n        group: 0,\n        row: 0,\n      });\n    }\n  },\n\n  selectedValue: readOnly('value'),\n\n  _createMappedValueForItem(item) {\n    return {\n      coords: item.coords,\n      label: item.label,\n      value: item.value,\n      icon: item.icon,\n      description: item.description,\n      tooltip: item.tooltip,\n      isSelected: true,\n    };\n  },\n\n  _calculateDropdownPositioning() {\n    if (this.isOpen && !this.isDestroying) {\n      schedule('afterRender', this, function() {\n        let $dropdown = $('.dropdown', this.element);\n        let $titleBox = $('.f__custom-select__box');\n\n        let dropdownHeight = Math.max(\n          this.dropdownMinHeight,\n          Math.min(this.dropdownMaxHeight, $dropdown.outerHeight()),\n        );\n        let dropdownWidth = Math.max(\n          this.dropdownMinWidth,\n          Math.min(this.dropdownMaxWidth, $dropdown.outerWidth()),\n        );\n        let top = $titleBox.outerHeight();\n\n        $dropdown.css({\n          position: 'absolute',\n          top: `${top - 1}px`,\n          left: '0',\n          height: `${dropdownHeight}px`,\n          width: `${dropdownWidth}px`,\n          overflow: 'auto',\n        });\n      });\n    }\n  },\n\n  shouldClear: false,\n  shouldClearObserver: observer({\n    dependentKeys: ['shouldClear'],\n\n    fn() {\n      if (this.shouldClear) {\n        let row = this.groups[0].rows[0];\n        this.set('value', row);\n        this.set('currentCoords', row.coords);\n      }\n    },\n\n    sync: true,\n  }),\n\n  actions: {\n    setSelectedOption(index) {\n      let groups = this.groups;\n      let group = groups[index.group];\n      let row = group.rows[index.row];\n\n      this.set('value', row);\n      this.set('currentCoords', index);\n      this.set('isOpen', false);\n      later(this, this._calculateDropdownPositioning, ENV.APP._25MS); //Recalculate positioning when transform contexts have been removed\n\n      this.action(row);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<a\\n  class=\\\"dropdown__list-item u__one-truncated-line o__hoverable u__prevent-breaks {{if row.isSelected \\\"dropdown__list-item-selected\\\"}} {{if row.disabled \\\"o__disabled\\\"}}\\\"\\n  title={{row.label}}\\n  {{action \\\"select\\\" row.coords bubbles=false}}\\n>\\n  <div class=\\\"flex items-start\\\">\\n    <div class=\\\"flex-auto min-w-0 u__one-truncated-line\\\">\\n      {{#if row.icon}}\\n        {{ic-interface-icon row.icon}}\\n      {{/if}}\\n      {{row.label}}\\n      {{#if row.tooltip}}\\n        <IcTooltip @isInteractive={{true}} as |t|>\\n          <t.opener>\\n            {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\" solo=true}}\\n          </t.opener>\\n          <t.content>\\n            {{row.tooltip}}\\n          </t.content>\\n        </IcTooltip>\\n      {{/if}}\\n    </div>\\n    {{#if isSelected}}\\n      <span class=\\\"f__custom-select__check\\\">\\n        {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n      </span>\\n    {{/if}}\\n  </div>\\n</a>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<a\\n  class=\\\"dropdown__list-item u__one-truncated-line o__hoverable u__prevent-breaks {{if row.isSelected \\\"dropdown__list-item-selected\\\"}} {{if row.disabled \\\"o__disabled\\\"}}\\\"\\n  title={{row.label}}\\n  {{action \\\"select\\\" row.coords bubbles=false}}\\n>\\n  <div class=\\\"flex items-start\\\">\\n    <div class=\\\"flex-auto min-w-0 u__one-truncated-line\\\">\\n      {{#if row.icon}}\\n        {{ic-interface-icon row.icon}}\\n      {{/if}}\\n      {{row.label}}\\n      {{#if row.tooltip}}\\n        <IcTooltip @isInteractive={{true}} as |t|>\\n          <t.opener>\\n            {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\" solo=true}}\\n          </t.opener>\\n          <t.content>\\n            {{row.tooltip}}\\n          </t.content>\\n        </IcTooltip>\\n      {{/if}}\\n    </div>\\n    {{#if isSelected}}\\n      <span class=\\\"f__custom-select__check\\\">\\n        {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n      </span>\\n    {{/if}}\\n  </div>\\n</a>\\n\",\"moduleName\":\"embercom/components/importers/grouped-select-row-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/importers/grouped-select-row-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nexport default Component.extend({\n  row: null,\n  currentCoords: null,\n  isSelected: computed('row', 'currentCoords', function() {\n    let currentCoords = this.currentCoords;\n    let rowCoords = this.get('row.coords');\n\n    return currentCoords.row === rowCoords.row && currentCoords.group === rowCoords.group;\n  }),\n\n  actions: {\n    select(coords) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('action', coords);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box\\\">\\n  <div class=\\\"layout__box\\\">\\n    <div class=\\\"importer__finish__main__wrapper\\\">\\n      Your data is processing and will be available shortly. In a few minutes, you can browse the created and updated {{usersOrLeads}} with the tag:\\n      <Importers::AddedTagsComponent @addedTags={{addedTags}} class=\\\"my-5\\\"/>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box\\\">\\n  <div class=\\\"layout__box\\\">\\n    <div class=\\\"importer__finish__main__wrapper\\\">\\n      Your data is processing and will be available shortly. In a few minutes, you can browse the created and updated {{usersOrLeads}} with the tag:\\n      <Importers::AddedTagsComponent @addedTags={{addedTags}} class=\\\"my-5\\\"/>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/importers/import-complete-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/importers/import-complete-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nexport default Component.extend({\n  usersOrLeads: null,\n  addedTags: computed('appController.addedTags', 'model.manualTagName', function() {\n    if (this.get('appController.addedTags')) {\n      return this.get('appController.addedTags');\n    } else {\n      return [this.get('model.manualTagName')];\n    }\n  }),\n  actions: {\n    finish(goToTagView) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('finish', goToTagView);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcBanner @type=\\\"warning\\\">\\n  Your import has {{model.importedRowFailureCount}} {{model.pluralisedError}}.\\n</IcBanner>\\n<div class=\\\"h-2\\\"></div>\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table class=\\\"tbl o__fit o__fixed\\\" data-test-error-summary-table>\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <thead>\\n    <tr>\\n      <th class=\\\"tbl__cell t__label\\\">\\n        Row\\n      </th>\\n      <th class=\\\"tbl__cell t__label\\\">\\n        Column Name\\n      </th>\\n      <th class=\\\"tbl__cell t__label\\\">\\n        Error Type\\n      </th>\\n    </tr>\\n  </thead>\\n  <tbody class=\\\"tbl__body\\\">\\n    {{#each model.failedRecords as |failedRecord|}}\\n      <tr>\\n        <td class=\\\"tbl__cell\\\">\\n          {{if failedRecord.row_number failedRecord.row_number failedRecord.record_identifier}}\\n        </td>\\n        <td class=\\\"tbl__cell\\\">\\n          {{if failedRecord.column_name failedRecord.column_name failedRecord.field_name}}\\n        </td>\\n        <td class=\\\"tbl__cell\\\">\\n          {{failedRecord.display_error_message}}\\n          <IcTooltipIcon @content={{failedRecord.tooltip_error_message}} />\\n        </td>\\n      </tr>\\n    {{/each}}\\n  </tbody>\\n</table>\\n{{#if model.columnsWithTooManyFailingRows}}\\n  <div class=\\\"h-2\\\"></div>\\n  <p>\\n    <strong>\\n      + {{model.remainingErrorCount}} more errors:\\n    </strong>\\n  </p>\\n  <ul>\\n    {{#each model.columnsWithTooManyFailingRows as |columnWithTooManyFailingRows|}}\\n      <li>\\n        {{columnWithTooManyFailingRows}}\\n      </li>\\n    {{/each}}\\n  </ul>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcBanner @type=\\\"warning\\\">\\n  Your import has {{model.importedRowFailureCount}} {{model.pluralisedError}}.\\n</IcBanner>\\n<div class=\\\"h-2\\\"></div>\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table class=\\\"tbl o__fit o__fixed\\\" data-test-error-summary-table>\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <thead>\\n    <tr>\\n      <th class=\\\"tbl__cell t__label\\\">\\n        Row\\n      </th>\\n      <th class=\\\"tbl__cell t__label\\\">\\n        Column Name\\n      </th>\\n      <th class=\\\"tbl__cell t__label\\\">\\n        Error Type\\n      </th>\\n    </tr>\\n  </thead>\\n  <tbody class=\\\"tbl__body\\\">\\n    {{#each model.failedRecords as |failedRecord|}}\\n      <tr>\\n        <td class=\\\"tbl__cell\\\">\\n          {{if failedRecord.row_number failedRecord.row_number failedRecord.record_identifier}}\\n        </td>\\n        <td class=\\\"tbl__cell\\\">\\n          {{if failedRecord.column_name failedRecord.column_name failedRecord.field_name}}\\n        </td>\\n        <td class=\\\"tbl__cell\\\">\\n          {{failedRecord.display_error_message}}\\n          <IcTooltipIcon @content={{failedRecord.tooltip_error_message}} />\\n        </td>\\n      </tr>\\n    {{/each}}\\n  </tbody>\\n</table>\\n{{#if model.columnsWithTooManyFailingRows}}\\n  <div class=\\\"h-2\\\"></div>\\n  <p>\\n    <strong>\\n      + {{model.remainingErrorCount}} more errors:\\n    </strong>\\n  </p>\\n  <ul>\\n    {{#each model.columnsWithTooManyFailingRows as |columnWithTooManyFailingRows|}}\\n      <li>\\n        {{columnWithTooManyFailingRows}}\\n      </li>\\n    {{/each}}\\n  </ul>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/importers/import-summary-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/importers/import-summary-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { gt } from '@ember/object/computed';\n\nexport default Component.extend({\n  fromSummaryPage: false,\n  shouldShowRemainingErrors: gt('remainingErrors', 0),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns\\\">\\n  {{#if step1Active}}\\n    <div>\\n      <div class=\\\"layout__box t__h1\\\">\\n        1 of 3: Go to \\\"Account Information\\\"\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__left layout__box\\\">\\n        Log into your Mixpanel account and choose \\\"Account Information.\\\"\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"u__cf\\\">\\n        <div class=\\\"u__right importer__step__btn-container\\\">\\n          <IcButton\\n            @label=\\\"Next\\\"\\n            @type=\\\"primary\\\"\\n            @fit={{true}}\\n            @onClick={{action \\\"nextStep\\\"}}\\n            data-test-mixpanel-import-instructions-step-one={{true}}\\n          />\\n        </div>\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__right importer__step__screenshot__container\\\">\\n        <img\\n          class=\\\"importer__step__screenshot\\\"\\n          src=\\\"/assets/images/import/mixpanel-step-1.png\\\"\\n        />\\n      </div>\\n    </div>\\n  {{/if}}\\n  {{#if step2Active}}\\n    <div class=\\\"layout__box\\\">\\n      <div class=\\\"layout__box t__h1\\\">\\n        2 of 3: Go to \\\"Projects\\\"\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__left layout__box\\\">\\n        Choose the \\\"Projects\\\" tab.\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"u__cf\\\">\\n        <div class=\\\"layout__box o__has-columns u__right\\\">\\n          <div class=\\\"layout__box o__centers-vertically\\\">\\n            <a\\n              class=\\\"btn__tertiary__deemphasized u__mr__20\\\"\\n              {{action \\\"previousStep\\\"}}\\n            >\\n              Previous step\\n            </a>\\n          </div>\\n          <div class=\\\"importer__step__btn-container\\\">\\n            <IcButton\\n              @label=\\\"Next\\\"\\n              @type=\\\"primary\\\"\\n              @fit={{true}}\\n              @onClick={{action \\\"nextStep\\\"}}\\n              data-test-mixpanel-import-instructions-step-two={{true}}\\n            />\\n          </div>\\n        </div>\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__right importer__step__screenshot__container\\\">\\n        <img\\n          class=\\\"importer__step__screenshot\\\"\\n          src=\\\"/assets/images/import/mixpanel-step-2.png\\\"\\n        />\\n      </div>\\n    </div>\\n  {{/if}}\\n  {{#if step3Active}}\\n    <div class=\\\"layout__box\\\">\\n      <div class=\\\"layout__box t__h1\\\">\\n        3 of 3: Enter API credentials\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"layout__box importer__step__instruction\\\">\\n        Copy your API Key and API Secret and paste them into the fields below.\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <div class=\\\"importer__step__import__mixpanel\\\">\\n        <label class=\\\"importer__step__label\\\">\\n          API Key\\n        </label>\\n        <Input\\n          @value={{mixpanelApiKey}}\\n          @id=\\\"mixpanel_api_key\\\"\\n          @type=\\\"text\\\"\\n          placeholder=\\\"32 character string goes here\\\"\\n          class=\\\"f__text\\\"\\n          data-test-mixpanel-import-api-key={{true}}\\n        />\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <div class=\\\"importer__step__import__mixpanel\\\">\\n        <label class=\\\"importer__step__label\\\">\\n          API Secret\\n        </label>\\n        <Input\\n          @value={{mixpanelApiSecret}}\\n          @id=\\\"mixpanel_api_secret\\\"\\n          @type=\\\"text\\\"\\n          placeholder=\\\"32 character string goes here\\\"\\n          class=\\\"f__text\\\"\\n          data-test-mixpanel-import-api-secret={{true}}\\n        />\\n      </div>\\n      <div class=\\\"h-2\\\"></div>\\n      <span class=\\\"mixpanel-error\\\">\\n        {{mixpanelError}}\\n      </span>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"u__cf\\\">\\n        <div class=\\\"layout__box o__has-columns u__right\\\">\\n          <div class=\\\"layout__box o__centers-vertically\\\">\\n            <a\\n              class=\\\"btn__tertiary__deemphasized u__mr__20\\\"\\n              {{action \\\"previousStep\\\"}}\\n            >\\n              Previous step\\n            </a>\\n          </div>\\n          <div class=\\\"importer__step__btn-container o__large\\\">\\n            <IcButton\\n              @label=\\\"Tag list\\\"\\n              @processingLabel=\\\"Checking API Key…\\\"\\n              @type=\\\"primary\\\"\\n              @fit={{true}}\\n              @onClick={{perform checkCredentials}}\\n              data-test-mixpanel-import-instructions-step-three={{true}}\\n              @disabled={{not hasEnteredCredentials}}\\n            />\\n          </div>\\n        </div>\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__right importer__step__screenshot__container\\\">\\n        <img\\n          class=\\\"importer__step__screenshot\\\"\\n          src=\\\"/assets/images/import/mixpanel-step-3.png\\\"\\n        />\\n      </div>\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns\\\">\\n  {{#if step1Active}}\\n    <div>\\n      <div class=\\\"layout__box t__h1\\\">\\n        1 of 3: Go to \\\"Account Information\\\"\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__left layout__box\\\">\\n        Log into your Mixpanel account and choose \\\"Account Information.\\\"\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"u__cf\\\">\\n        <div class=\\\"u__right importer__step__btn-container\\\">\\n          <IcButton\\n            @label=\\\"Next\\\"\\n            @type=\\\"primary\\\"\\n            @fit={{true}}\\n            @onClick={{action \\\"nextStep\\\"}}\\n            data-test-mixpanel-import-instructions-step-one={{true}}\\n          />\\n        </div>\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__right importer__step__screenshot__container\\\">\\n        <img\\n          class=\\\"importer__step__screenshot\\\"\\n          src=\\\"/assets/images/import/mixpanel-step-1.png\\\"\\n        />\\n      </div>\\n    </div>\\n  {{/if}}\\n  {{#if step2Active}}\\n    <div class=\\\"layout__box\\\">\\n      <div class=\\\"layout__box t__h1\\\">\\n        2 of 3: Go to \\\"Projects\\\"\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__left layout__box\\\">\\n        Choose the \\\"Projects\\\" tab.\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"u__cf\\\">\\n        <div class=\\\"layout__box o__has-columns u__right\\\">\\n          <div class=\\\"layout__box o__centers-vertically\\\">\\n            <a\\n              class=\\\"btn__tertiary__deemphasized u__mr__20\\\"\\n              {{action \\\"previousStep\\\"}}\\n            >\\n              Previous step\\n            </a>\\n          </div>\\n          <div class=\\\"importer__step__btn-container\\\">\\n            <IcButton\\n              @label=\\\"Next\\\"\\n              @type=\\\"primary\\\"\\n              @fit={{true}}\\n              @onClick={{action \\\"nextStep\\\"}}\\n              data-test-mixpanel-import-instructions-step-two={{true}}\\n            />\\n          </div>\\n        </div>\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__right importer__step__screenshot__container\\\">\\n        <img\\n          class=\\\"importer__step__screenshot\\\"\\n          src=\\\"/assets/images/import/mixpanel-step-2.png\\\"\\n        />\\n      </div>\\n    </div>\\n  {{/if}}\\n  {{#if step3Active}}\\n    <div class=\\\"layout__box\\\">\\n      <div class=\\\"layout__box t__h1\\\">\\n        3 of 3: Enter API credentials\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"layout__box importer__step__instruction\\\">\\n        Copy your API Key and API Secret and paste them into the fields below.\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <div class=\\\"importer__step__import__mixpanel\\\">\\n        <label class=\\\"importer__step__label\\\">\\n          API Key\\n        </label>\\n        <Input\\n          @value={{mixpanelApiKey}}\\n          @id=\\\"mixpanel_api_key\\\"\\n          @type=\\\"text\\\"\\n          placeholder=\\\"32 character string goes here\\\"\\n          class=\\\"f__text\\\"\\n          data-test-mixpanel-import-api-key={{true}}\\n        />\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <div class=\\\"importer__step__import__mixpanel\\\">\\n        <label class=\\\"importer__step__label\\\">\\n          API Secret\\n        </label>\\n        <Input\\n          @value={{mixpanelApiSecret}}\\n          @id=\\\"mixpanel_api_secret\\\"\\n          @type=\\\"text\\\"\\n          placeholder=\\\"32 character string goes here\\\"\\n          class=\\\"f__text\\\"\\n          data-test-mixpanel-import-api-secret={{true}}\\n        />\\n      </div>\\n      <div class=\\\"h-2\\\"></div>\\n      <span class=\\\"mixpanel-error\\\">\\n        {{mixpanelError}}\\n      </span>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"u__cf\\\">\\n        <div class=\\\"layout__box o__has-columns u__right\\\">\\n          <div class=\\\"layout__box o__centers-vertically\\\">\\n            <a\\n              class=\\\"btn__tertiary__deemphasized u__mr__20\\\"\\n              {{action \\\"previousStep\\\"}}\\n            >\\n              Previous step\\n            </a>\\n          </div>\\n          <div class=\\\"importer__step__btn-container o__large\\\">\\n            <IcButton\\n              @label=\\\"Tag list\\\"\\n              @processingLabel=\\\"Checking API Key…\\\"\\n              @type=\\\"primary\\\"\\n              @fit={{true}}\\n              @onClick={{perform checkCredentials}}\\n              data-test-mixpanel-import-instructions-step-three={{true}}\\n              @disabled={{not hasEnteredCredentials}}\\n            />\\n          </div>\\n        </div>\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__right importer__step__screenshot__container\\\">\\n        <img\\n          class=\\\"importer__step__screenshot\\\"\\n          src=\\\"/assets/images/import/mixpanel-step-3.png\\\"\\n        />\\n      </div>\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/importers/mixpanel-import-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/importers/mixpanel-import-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport { equal, notEmpty, and, not, or } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  store: service(),\n\n  step1Active: equal('currentStep', 1),\n  step2Active: equal('currentStep', 2),\n  step3Active: equal('currentStep', 3),\n\n  currentStep: 1,\n\n  mixpanelApiKey: '',\n  mixpanelApiSecret: '',\n\n  hasEnteredApiKey: notEmpty('mixpanelApiKey'),\n  hasEnteredApiSecret: notEmpty('mixpanelApiSecret'),\n  hasEnteredCredentials: and('hasEnteredApiKey', 'hasEnteredApiSecret'),\n  hasNotEnteredCredentials: not('hasEnteredCredentials'),\n\n  mixpanelError: '',\n\n  isCheckingCredentials: false,\n  cannotFinish: or('isCheckingCredentials', 'hasNotEnteredCredentials'),\n  checkCredentials: task(function*() {\n    try {\n      let mixpanelResponse = yield this.store\n        .createRecord('mixpanel-import', {\n          apiKey: this.mixpanelApiKey,\n          apiSecret: this.mixpanelApiSecret,\n          appIdCode: this.appId,\n        })\n        .save();\n      if (mixpanelResponse) {\n        this.set('model', mixpanelResponse);\n      }\n      window.mixpanel_import_id = mixpanelResponse.id;\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction();\n    } catch (error) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'mailchimp-import-authentication-failed',\n        object: 'mailchimp-import',\n      });\n      this.set('mixpanelError', \"Couldn't authenticate with Mixpanel with those credentials\");\n    }\n  }),\n\n  actions: {\n    previousStep() {\n      this.decrementProperty('currentStep');\n    },\n    nextStep() {\n      this.incrementProperty('currentStep');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__flexes-to-1 o__has-columns u__right\\\">\\n  {{#each steps as |step|}}\\n    <div class=\\\"layout__box o__has-columns importer__header__step__wrapper\\\">\\n    {{#if (gt currentStep step.number)}}\\n      <div class=\\\"symbol__circle o__by-text o__green\\\" data-test-complete-step={{step.number}}>\\n        <span>{{ic-interface-icon 'small-check' solo=true}}</span>\\n      </div>\\n    {{else}}\\n      <div class=\\\"symbol__circle o__by-text importer__header__step {{if (eq currentStep step.number) 'o__current' 'o__remaining'}}\\\" data-test-incomplete-step={{step.number}}>\\n        <span>{{step.number}}</span>\\n      </div>\\n    {{/if}}\\n      <div class=\\\"layout__box importer__header__step__copy {{if (eq currentStep step.number) 'o__current'}} {{if (lt currentStep step.number) 'o__remaining'}}\\\" data-test-step-name={{step.number}}>\\n        {{step.name}}\\n      </div>\\n    </div>\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__flexes-to-1 o__has-columns u__right\\\">\\n  {{#each steps as |step|}}\\n    <div class=\\\"layout__box o__has-columns importer__header__step__wrapper\\\">\\n    {{#if (gt currentStep step.number)}}\\n      <div class=\\\"symbol__circle o__by-text o__green\\\" data-test-complete-step={{step.number}}>\\n        <span>{{ic-interface-icon 'small-check' solo=true}}</span>\\n      </div>\\n    {{else}}\\n      <div class=\\\"symbol__circle o__by-text importer__header__step {{if (eq currentStep step.number) 'o__current' 'o__remaining'}}\\\" data-test-incomplete-step={{step.number}}>\\n        <span>{{step.number}}</span>\\n      </div>\\n    {{/if}}\\n      <div class=\\\"layout__box importer__header__step__copy {{if (eq currentStep step.number) 'o__current'}} {{if (lt currentStep step.number) 'o__remaining'}}\\\" data-test-step-name={{step.number}}>\\n        {{step.name}}\\n      </div>\\n    </div>\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/importers/steps-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/importers/steps-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  currentStep: null,\n  steps: [],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col flex-1 importer__step__file-upload {{this.optionClass}} {{if this.isDragging \\\"o__dragging\\\"}} {{if @isDisabled \\\"o__disabled\\\"}}\\\" data-test-teammate-upload-component>\\n  {{#if @file}}\\n    {{#if this.errorMessage}}\\n      <div class=\\\"flex flex-col text-red\\\">\\n        {{this.errorMessage}}\\n      </div>\\n    {{else}}\\n      <div class=\\\"flex flex-row justify-center\\\">\\n        {{#if this.previewURL}}\\n          <img class=\\\"file-upload__preview-image\\\" src=\\\"{{this.previewURL}}\\\" />\\n        {{/if}}\\n        {{ic-interface-icon \\\"opened-message\\\"}} <b data-test-csv-import-file-name>{{@file.name}}</b>\\n      </div>\\n    {{/if}}\\n    <div class=\\\"flex flex-col\\\">\\n      <Text @style=\\\"muted\\\" @linkStyling=\\\"inline\\\" {{action \\\"removeFile\\\"}}>\\n        Remove\\n      </Text>\\n    </div>\\n  {{else}}\\n    <Heading @size=\\\"2\\\" class=\\\"mb-1\\\">{{this.instructions}}</Heading>\\n    <Text @linkStyling=\\\"standalone\\\" class=\\\"u__u\\\" {{action \\\"pickFile\\\"}}>Or select a file from your computer…</Text>\\n    <div class=\\\"flex flex-col\\\">\\n      <input type=\\\"file\\\" accept={{this.fileMimeType}} class=\\\"hidden\\\" />\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col flex-1 importer__step__file-upload {{this.optionClass}} {{if this.isDragging \\\"o__dragging\\\"}} {{if @isDisabled \\\"o__disabled\\\"}}\\\" data-test-teammate-upload-component>\\n  {{#if @file}}\\n    {{#if this.errorMessage}}\\n      <div class=\\\"flex flex-col text-red\\\">\\n        {{this.errorMessage}}\\n      </div>\\n    {{else}}\\n      <div class=\\\"flex flex-row justify-center\\\">\\n        {{#if this.previewURL}}\\n          <img class=\\\"file-upload__preview-image\\\" src=\\\"{{this.previewURL}}\\\" />\\n        {{/if}}\\n        {{ic-interface-icon \\\"opened-message\\\"}} <b data-test-csv-import-file-name>{{@file.name}}</b>\\n      </div>\\n    {{/if}}\\n    <div class=\\\"flex flex-col\\\">\\n      <Text @style=\\\"muted\\\" @linkStyling=\\\"inline\\\" {{action \\\"removeFile\\\"}}>\\n        Remove\\n      </Text>\\n    </div>\\n  {{else}}\\n    <Heading @size=\\\"2\\\" class=\\\"mb-1\\\">{{this.instructions}}</Heading>\\n    <Text @linkStyling=\\\"standalone\\\" class=\\\"u__u\\\" {{action \\\"pickFile\\\"}}>Or select a file from your computer…</Text>\\n    <div class=\\\"flex flex-col\\\">\\n      <input type=\\\"file\\\" accept={{this.fileMimeType}} class=\\\"hidden\\\" />\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/importers/teammate-upload-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/importers/teammate-upload-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport CsvFileUploadComponent from 'embercom/components/importers/csv-file-upload-component';\nexport default CsvFileUploadComponent.extend({\n  additionalInstructions: '',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if importStarted}}\\n  <div class=\\\"importer__step__container layout__box o__flexes-to-1 o__has-columns\\\">\\n    <div class=\\\"importer__step__summary layout__box\\\">\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"layout__box\\\">\\n        <span\\n          class=\\\"importer__step__zendesk__loading-text t__h1\\\"\\n          data-test-confirm-import-in-progress-header=\\\"true\\\"\\n        >\\n          Your {{@importerConfiguration.name}} import has started\\n        </span>\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div>\\n        Congratulations! We’re working on importing your conversation history.\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <div>\\n        It may take up to a few hours to finish, depending on the volume and complexity of your team’s conversations.\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <div>\\n        We’ll send you an email at <span class=\\\"importer__step__email\\\" data-test-import-admin-email=\\\"true\\\">{{currentAdminEmail}}</span>\\n        when the import is complete, so that you can continue setting up Resolution Bot. You can close this window in the\\n        meantime.\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"importer__step__btn-container o__large u__right\\\">\\n        <IcButton\\n          @label=\\\"Close\\\"\\n          @type=\\\"primary\\\"\\n          @fit={{true}}\\n          data-test-close-import-window-button={{true}}\\n          @onClick={{action \\\"finish\\\"}}\\n        />\\n      </div>\\n    </div>\\n  </div>\\n{{else}}\\n  <div\\n    class=\\\"importer__step__container layout__box o__flexes-to-1 o__has-columns\\\"\\n  >\\n    <div class=\\\"importer__step__summary layout__box\\\">\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"t__h1\\\" data-test-confirm-import-header=\\\"true\\\">\\n        Confirm import\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div>\\n        By confirming this import, you give Intercom permission to read and process your Zendesk Chat history.\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"importer__step__btn-container o__wide u__right\\\">\\n        <IcButton\\n          @label=\\\"Import conversation history\\\"\\n          @type=\\\"primary\\\"\\n          @fit={{true}}\\n          data-test-import-conversations-button={{true}}\\n          @onClick={{action importConversations}}\\n        />\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if importStarted}}\\n  <div class=\\\"importer__step__container layout__box o__flexes-to-1 o__has-columns\\\">\\n    <div class=\\\"importer__step__summary layout__box\\\">\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"layout__box\\\">\\n        <span\\n          class=\\\"importer__step__zendesk__loading-text t__h1\\\"\\n          data-test-confirm-import-in-progress-header=\\\"true\\\"\\n        >\\n          Your {{@importerConfiguration.name}} import has started\\n        </span>\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div>\\n        Congratulations! We’re working on importing your conversation history.\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <div>\\n        It may take up to a few hours to finish, depending on the volume and complexity of your team’s conversations.\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <div>\\n        We’ll send you an email at <span class=\\\"importer__step__email\\\" data-test-import-admin-email=\\\"true\\\">{{currentAdminEmail}}</span>\\n        when the import is complete, so that you can continue setting up Resolution Bot. You can close this window in the\\n        meantime.\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"importer__step__btn-container o__large u__right\\\">\\n        <IcButton\\n          @label=\\\"Close\\\"\\n          @type=\\\"primary\\\"\\n          @fit={{true}}\\n          data-test-close-import-window-button={{true}}\\n          @onClick={{action \\\"finish\\\"}}\\n        />\\n      </div>\\n    </div>\\n  </div>\\n{{else}}\\n  <div\\n    class=\\\"importer__step__container layout__box o__flexes-to-1 o__has-columns\\\"\\n  >\\n    <div class=\\\"importer__step__summary layout__box\\\">\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"t__h1\\\" data-test-confirm-import-header=\\\"true\\\">\\n        Confirm import\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div>\\n        By confirming this import, you give Intercom permission to read and process your Zendesk Chat history.\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"importer__step__btn-container o__wide u__right\\\">\\n        <IcButton\\n          @label=\\\"Import conversation history\\\"\\n          @type=\\\"primary\\\"\\n          @fit={{true}}\\n          data-test-import-conversations-button={{true}}\\n          @onClick={{action importConversations}}\\n        />\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/importers/zendesk-chat/confirm-import-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/importers/zendesk-chat/confirm-import-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  actions: {\n    finish() {\n      window.close();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns\\\">\\n  {{#if (eq this.currentStep 1)}}\\n    <div>\\n      <div class=\\\"layout__box t__h1\\\">\\n        1 of 3: Add API Client\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__left layout__box\\\">\\n        <p class=\\\"importer__step__instruction\\\">\\n          <a href=\\\"https://dashboard.zopim.com/\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">Log in</a>\\n          to your Zendesk Chat account.\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n        <p class=\\\"importer__step__instruction\\\">\\n          Go to <strong>Settings</strong>, then Account.\\n        </p>\\n        <p class=\\\"importer__step__instruction\\\">\\n          Choose the <strong>API &amp; SDKs</strong> tab.\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n        <p class=\\\"importer__step__instruction\\\">\\n          Click <strong>Add API Client</strong>.\\n        </p>\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"u__cf\\\">\\n        <div class=\\\"u__right importer__step__btn-container\\\">\\n          <IcButton\\n            @label=\\\"Next\\\"\\n            @type=\\\"primary\\\"\\n            @fit={{true}}\\n            @onClick={{this.nextStep}}\\n            data-test-instructions-step-one-next-button={{true}}\\n          />\\n        </div>\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__right importer__step__screenshot__container\\\">\\n        <img\\n          class=\\\"importer__step__screenshot\\\"\\n          src=\\\"/assets/images/import/zendesk/add-api-client.png\\\"\\n          width=\\\"778\\\"\\n        />\\n      </div>\\n    </div>\\n  {{/if}}\\n  {{#if (eq this.currentStep 2)}}\\n    <div class=\\\"layout__box\\\">\\n      <div class=\\\"layout__box t__h1\\\">\\n        2 of 3: Create API Client\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__left layout__box\\\">\\n        <p class=\\\"importer__step__instruction\\\">\\n          Choose a client name (e.g. “Intercom”) and a company name (optional).\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n        <p class=\\\"importer__step__instruction\\\">\\n          In the Redirect URLs field, enter:\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n        <CopyTextComponent @text={{this.redirectUrl}} />\\n        <div class=\\\"h-5\\\"></div>\\n        <p class=\\\"importer__step__instruction\\\">\\n          Click <strong>Create API Client</strong>.\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"u__cf\\\">\\n        <div class=\\\"layout__box o__has-columns u__right\\\">\\n          <div class=\\\"layout__box o__centers-vertically\\\">\\n            <a\\n              class=\\\"btn__tertiary__deemphasized u__mr__20\\\"\\n              {{on \\\"click\\\" this.previousStep}}\\n            >\\n              Previous step\\n            </a>\\n          </div>\\n          <div class=\\\"importer__step__btn-container\\\">\\n            <IcButton\\n              @label=\\\"Next\\\"\\n              @type=\\\"primary\\\"\\n              @fit={{true}}\\n              @onClick={{this.nextStep}}\\n              data-test-instructions-step-two-next-button={{true}}\\n            />\\n          </div>\\n        </div>\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__right importer__step__screenshot__container\\\">\\n        <img\\n          class=\\\"importer__step__screenshot\\\"\\n          src=\\\"/assets/images/import/zendesk/create-api-client.png\\\"\\n          width=\\\"778\\\"\\n        />\\n      </div>\\n    </div>\\n  {{/if}}\\n  {{#if (eq this.currentStep 3)}}\\n    <div class=\\\"layout__box\\\">\\n      <div class=\\\"layout__box t__h1\\\">\\n        3 of 3: Enter client credentials\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"layout__box importer__step__instruction\\\">\\n        Copy your client ID and your client secret and paste them into the fields below.\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <div class=\\\"importer__step__instruction\\\">\\n        <label class=\\\"importer__step__input__label {{if @showErrorMessage \\\"o__error\\\"}}\\\">\\n          Client ID\\n        </label>\\n        <Input\\n          @value={{this.clientId}}\\n          @id=\\\"zendesk_chat_client_id\\\"\\n          @type=\\\"text\\\"\\n          class=\\\"f__text importer__step__input {{if @showErrorMessage \\\"o__error\\\"}}\\\"\\n          placeholder=\\\"Enter client ID\\\"\\n          data-test-client-id-input={{true}}\\n        />\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <div class=\\\"importer__step__instruction\\\">\\n        <label class=\\\"importer__step__input__label {{if @showErrorMessage \\\"o__error\\\"}}\\\">\\n          Client secret\\n        </label>\\n        <Input\\n          @value={{this.clientSecret}}\\n          @id=\\\"zendesk_chat_client_secret\\\"\\n          @type=\\\"text\\\"\\n          class=\\\"f__text importer__step__input {{if @showErrorMessage \\\"o__error\\\"}}\\\"\\n          placeholder=\\\"Enter client secret\\\"\\n          data-test-client-secret-input={{true}}\\n        />\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <div class=\\\"importer__step__instruction\\\">\\n        <label class=\\\"importer__step__input__label {{if @showErrorMessage \\\"o__error\\\"}}\\\">\\n          Subdomain (optional)\\n        </label>\\n        <div class=\\\"layout__box o__has-columns\\\">\\n          <div class=\\\"layout__box o__flexes-to-2\\\">\\n            <Input\\n              @value={{this.subdomain}}\\n              @id=\\\"zendesk_chat_subdomain\\\"\\n              @type=\\\"text\\\"\\n              class=\\\"f__text importer__step__input\\\"\\n              placeholder=\\\"Enter subdomain\\\"\\n              data-test-subdomain-input={{true}}\\n            />\\n          </div>\\n          <div class=\\\"u__ml__5 layout__box o__flexes-to-1 importer__step__zendesk__domain-label\\\">\\n            .zendesk.com\\n          </div>\\n        </div>\\n        <div class=\\\"h-2\\\"></div>\\n        <div class=\\\"text-gray\\\">\\n          Fill this in if you access Zendesk Chat from a Zendesk Support subdomain (like https://<strong>example</strong>.zendesk.com)\\n        </div>\\n        <div class=\\\"h-2\\\"></div>\\n        <div class=\\\"t__light-text\\\">\\n          <a href=\\\"https://support.zendesk.com/hc/en-us/articles/221682747-Where-can-I-find-my-Zendesk-subdomain-\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">\\n            How can I find my subdomain? {{ic-interface-icon \\\"new-window\\\" solo=true}}\\n          </a>\\n        </div>\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      {{#if @showErrorMessage}}\\n        <div data-test-importer-error-message=\\\"true\\\">\\n          <div class=\\\"importer__step__error-message\\\">\\n            We could not authorize your client credentials.\\n          </div>\\n          <div class=\\\"importer__step__error-message\\\">\\n            Please check your ID and secret and try again.\\n          </div>\\n        </div>\\n      {{/if}}\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"u__cf\\\">\\n        <div class=\\\"layout__box o__has-columns u__right\\\">\\n          <div class=\\\"layout__box o__centers-vertically\\\">\\n            <a\\n              class=\\\"btn__tertiary__deemphasized u__mr__20\\\"\\n              {{on \\\"click\\\" this.previousStep}}\\n            >\\n              Previous step\\n            </a>\\n          </div>\\n          <div class=\\\"importer__step__btn-container o__large\\\">\\n            <IcButton\\n              @label=\\\"Save credentials\\\"\\n              @type=\\\"primary\\\"\\n              @disabled={{this.hasNotEnteredCredentials}}\\n              @fit={{true}}\\n              data-test-save-credentials-button={{true}}\\n              @onClick={{perform @authorize this.clientId this.clientSecret this.subdomain}}\\n            />\\n          </div>\\n        </div>\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__right importer__step__screenshot__container\\\">\\n        <img\\n          class=\\\"importer__step__screenshot\\\"\\n          width=\\\"777\\\"\\n          src=\\\"/assets/images/import/zendesk/enter-client-credentials.png\\\"\\n        />\\n      </div>\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns\\\">\\n  {{#if (eq this.currentStep 1)}}\\n    <div>\\n      <div class=\\\"layout__box t__h1\\\">\\n        1 of 3: Add API Client\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__left layout__box\\\">\\n        <p class=\\\"importer__step__instruction\\\">\\n          <a href=\\\"https://dashboard.zopim.com/\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">Log in</a>\\n          to your Zendesk Chat account.\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n        <p class=\\\"importer__step__instruction\\\">\\n          Go to <strong>Settings</strong>, then Account.\\n        </p>\\n        <p class=\\\"importer__step__instruction\\\">\\n          Choose the <strong>API &amp; SDKs</strong> tab.\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n        <p class=\\\"importer__step__instruction\\\">\\n          Click <strong>Add API Client</strong>.\\n        </p>\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"u__cf\\\">\\n        <div class=\\\"u__right importer__step__btn-container\\\">\\n          <IcButton\\n            @label=\\\"Next\\\"\\n            @type=\\\"primary\\\"\\n            @fit={{true}}\\n            @onClick={{this.nextStep}}\\n            data-test-instructions-step-one-next-button={{true}}\\n          />\\n        </div>\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__right importer__step__screenshot__container\\\">\\n        <img\\n          class=\\\"importer__step__screenshot\\\"\\n          src=\\\"/assets/images/import/zendesk/add-api-client.png\\\"\\n          width=\\\"778\\\"\\n        />\\n      </div>\\n    </div>\\n  {{/if}}\\n  {{#if (eq this.currentStep 2)}}\\n    <div class=\\\"layout__box\\\">\\n      <div class=\\\"layout__box t__h1\\\">\\n        2 of 3: Create API Client\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__left layout__box\\\">\\n        <p class=\\\"importer__step__instruction\\\">\\n          Choose a client name (e.g. “Intercom”) and a company name (optional).\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n        <p class=\\\"importer__step__instruction\\\">\\n          In the Redirect URLs field, enter:\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n        <CopyTextComponent @text={{this.redirectUrl}} />\\n        <div class=\\\"h-5\\\"></div>\\n        <p class=\\\"importer__step__instruction\\\">\\n          Click <strong>Create API Client</strong>.\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"u__cf\\\">\\n        <div class=\\\"layout__box o__has-columns u__right\\\">\\n          <div class=\\\"layout__box o__centers-vertically\\\">\\n            <a\\n              class=\\\"btn__tertiary__deemphasized u__mr__20\\\"\\n              {{on \\\"click\\\" this.previousStep}}\\n            >\\n              Previous step\\n            </a>\\n          </div>\\n          <div class=\\\"importer__step__btn-container\\\">\\n            <IcButton\\n              @label=\\\"Next\\\"\\n              @type=\\\"primary\\\"\\n              @fit={{true}}\\n              @onClick={{this.nextStep}}\\n              data-test-instructions-step-two-next-button={{true}}\\n            />\\n          </div>\\n        </div>\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__right importer__step__screenshot__container\\\">\\n        <img\\n          class=\\\"importer__step__screenshot\\\"\\n          src=\\\"/assets/images/import/zendesk/create-api-client.png\\\"\\n          width=\\\"778\\\"\\n        />\\n      </div>\\n    </div>\\n  {{/if}}\\n  {{#if (eq this.currentStep 3)}}\\n    <div class=\\\"layout__box\\\">\\n      <div class=\\\"layout__box t__h1\\\">\\n        3 of 3: Enter client credentials\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"layout__box importer__step__instruction\\\">\\n        Copy your client ID and your client secret and paste them into the fields below.\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <div class=\\\"importer__step__instruction\\\">\\n        <label class=\\\"importer__step__input__label {{if @showErrorMessage \\\"o__error\\\"}}\\\">\\n          Client ID\\n        </label>\\n        <Input\\n          @value={{this.clientId}}\\n          @id=\\\"zendesk_chat_client_id\\\"\\n          @type=\\\"text\\\"\\n          class=\\\"f__text importer__step__input {{if @showErrorMessage \\\"o__error\\\"}}\\\"\\n          placeholder=\\\"Enter client ID\\\"\\n          data-test-client-id-input={{true}}\\n        />\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <div class=\\\"importer__step__instruction\\\">\\n        <label class=\\\"importer__step__input__label {{if @showErrorMessage \\\"o__error\\\"}}\\\">\\n          Client secret\\n        </label>\\n        <Input\\n          @value={{this.clientSecret}}\\n          @id=\\\"zendesk_chat_client_secret\\\"\\n          @type=\\\"text\\\"\\n          class=\\\"f__text importer__step__input {{if @showErrorMessage \\\"o__error\\\"}}\\\"\\n          placeholder=\\\"Enter client secret\\\"\\n          data-test-client-secret-input={{true}}\\n        />\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <div class=\\\"importer__step__instruction\\\">\\n        <label class=\\\"importer__step__input__label {{if @showErrorMessage \\\"o__error\\\"}}\\\">\\n          Subdomain (optional)\\n        </label>\\n        <div class=\\\"layout__box o__has-columns\\\">\\n          <div class=\\\"layout__box o__flexes-to-2\\\">\\n            <Input\\n              @value={{this.subdomain}}\\n              @id=\\\"zendesk_chat_subdomain\\\"\\n              @type=\\\"text\\\"\\n              class=\\\"f__text importer__step__input\\\"\\n              placeholder=\\\"Enter subdomain\\\"\\n              data-test-subdomain-input={{true}}\\n            />\\n          </div>\\n          <div class=\\\"u__ml__5 layout__box o__flexes-to-1 importer__step__zendesk__domain-label\\\">\\n            .zendesk.com\\n          </div>\\n        </div>\\n        <div class=\\\"h-2\\\"></div>\\n        <div class=\\\"text-gray\\\">\\n          Fill this in if you access Zendesk Chat from a Zendesk Support subdomain (like https://<strong>example</strong>.zendesk.com)\\n        </div>\\n        <div class=\\\"h-2\\\"></div>\\n        <div class=\\\"t__light-text\\\">\\n          <a href=\\\"https://support.zendesk.com/hc/en-us/articles/221682747-Where-can-I-find-my-Zendesk-subdomain-\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">\\n            How can I find my subdomain? {{ic-interface-icon \\\"new-window\\\" solo=true}}\\n          </a>\\n        </div>\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      {{#if @showErrorMessage}}\\n        <div data-test-importer-error-message=\\\"true\\\">\\n          <div class=\\\"importer__step__error-message\\\">\\n            We could not authorize your client credentials.\\n          </div>\\n          <div class=\\\"importer__step__error-message\\\">\\n            Please check your ID and secret and try again.\\n          </div>\\n        </div>\\n      {{/if}}\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"u__cf\\\">\\n        <div class=\\\"layout__box o__has-columns u__right\\\">\\n          <div class=\\\"layout__box o__centers-vertically\\\">\\n            <a\\n              class=\\\"btn__tertiary__deemphasized u__mr__20\\\"\\n              {{on \\\"click\\\" this.previousStep}}\\n            >\\n              Previous step\\n            </a>\\n          </div>\\n          <div class=\\\"importer__step__btn-container o__large\\\">\\n            <IcButton\\n              @label=\\\"Save credentials\\\"\\n              @type=\\\"primary\\\"\\n              @disabled={{this.hasNotEnteredCredentials}}\\n              @fit={{true}}\\n              data-test-save-credentials-button={{true}}\\n              @onClick={{perform @authorize this.clientId this.clientSecret this.subdomain}}\\n            />\\n          </div>\\n        </div>\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__right importer__step__screenshot__container\\\">\\n        <img\\n          class=\\\"importer__step__screenshot\\\"\\n          width=\\\"777\\\"\\n          src=\\\"/assets/images/import/zendesk/enter-client-credentials.png\\\"\\n        />\\n      </div>\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/importers/zendesk-chat/zendesk-chat-import-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/importers/zendesk-chat/zendesk-chat-import-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport OAuthProviders from 'embercom/lib/import/oauth-providers';\n\nexport default class ZendeskChatImportComponent extends Component {\n  redirectUrl = OAuthProviders.zendesk_chat.redirectUrl;\n\n  @service intercomEventService;\n  @service store;\n\n  @tracked currentStep = 1;\n  @tracked clientId = '';\n  @tracked clientSecret = '';\n  @tracked subdomain = '';\n\n  get hasNotEnteredCredentials() {\n    return !this.clientId || !this.clientSecret;\n  }\n\n  constructor() {\n    super(...arguments);\n    this._trackPageView();\n  }\n\n  _trackPageView() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: `instructions_page_${this.currentStep}`,\n      context: 'zendesk_chat_import',\n    });\n  }\n\n  @action\n  previousStep() {\n    this.currentStep--;\n    this._trackPageView();\n  }\n\n  @action\n  nextStep() {\n    this.currentStep++;\n    this._trackPageView();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"layout__box o__has-columns\\\">\\n  {{#if (eq this.currentStep 1)}}\\n    <div>\\n      <div class=\\\"layout__box t__h1\\\">\\n        1 of 3: Add OAuth client\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__left layout__box\\\">\\n        <p class=\\\"importer__step__instruction\\\">\\n          <a href=\\\"https://www.zendesk.com/login/\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">Log in</a>\\n          to your {{@importerConfiguration.name}} account.\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n        <p class=\\\"importer__step__instruction\\\">\\n          Go to <strong>Settings</strong>, then API (under Channels).\\n        </p>\\n        <p class=\\\"importer__step__instruction\\\">\\n          Choose the <strong>OAuth clients</strong> tab.\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n        <p class=\\\"importer__step__instruction\\\">\\n          Click <strong>the plus button</strong>.\\n        </p>\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"u__cf\\\">\\n        <div class=\\\"u__right importer__step__btn-container\\\">\\n          <IcButton\\n            @label=\\\"Next\\\"\\n            @type=\\\"primary\\\"\\n            @fit={{true}}\\n            @onClick={{this.nextStep}}\\n            data-test-instructions-step-one-next-button={{true}}\\n          />\\n        </div>\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__right importer__step__screenshot__container\\\">\\n        <img\\n          class=\\\"importer__step__screenshot\\\"\\n          src=\\\"/assets/images/import/zendesk/zendesk-tickets-step1.png\\\"\\n          width=\\\"778\\\"\\n        />\\n      </div>\\n    </div>\\n  {{else if (eq this.currentStep 2)}}\\n    <div class=\\\"layout__box\\\">\\n      <div class=\\\"layout__box t__h1\\\">\\n        2 of 3: Create OAuth client\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__left layout__box\\\">\\n        <p class=\\\"importer__step__instruction\\\">\\n          Choose a client name (e.g. “Intercom”) and a company name (optional).\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n        <p class=\\\"importer__step__instruction\\\">\\n          In the Redirect URLs field, enter:\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n        <CopyTextComponent @text={{this.redirectUrl}} />\\n        <div class=\\\"h-5\\\"></div>\\n        <p class=\\\"importer__step__instruction\\\">\\n          Click <strong>Save</strong>.\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"u__cf\\\">\\n        <div class=\\\"layout__box o__has-columns u__right\\\">\\n          <div class=\\\"layout__box o__centers-vertically\\\">\\n            <a\\n              class=\\\"btn__tertiary__deemphasized u__mr__20\\\"\\n              {{on \\\"click\\\" this.previousStep}}\\n            >\\n              Previous step\\n            </a>\\n          </div>\\n          <div class=\\\"importer__step__btn-container\\\">\\n            <IcButton\\n              @label=\\\"Next\\\"\\n              @type=\\\"primary\\\"\\n              @fit={{true}}\\n              @onClick={{this.nextStep}}\\n              data-test-instructions-step-two-next-button={{true}}\\n            />\\n          </div>\\n        </div>\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__right importer__step__screenshot__container\\\">\\n        <img\\n          class=\\\"importer__step__screenshot\\\"\\n          src=\\\"/assets/images/import/zendesk/zendesk-tickets-step2.png\\\"\\n          width=\\\"778\\\"\\n        />\\n      </div>\\n    </div>\\n  {{/if}}\\n  {{#if (eq this.currentStep 3)}}\\n    <div class=\\\"layout__box\\\">\\n      <div class=\\\"layout__box t__h1\\\">\\n        3 of 3: Enter client credentials\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"layout__box importer__step__instruction\\\">\\n        Copy your client ID and your client secret and paste them into the fields below.\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <div class=\\\"importer__step__instruction\\\">\\n        <label class=\\\"importer__step__input__label {{if @showErrorMessage \\\"o__error\\\"}}\\\">\\n          Client ID (Unique identifier)\\n        </label>\\n        <Input\\n          @value={{this.clientId}}\\n          @id=\\\"zendesk_chat_client_id\\\"\\n          @type=\\\"text\\\"\\n          class=\\\"f__text importer__step__input {{if @showErrorMessage \\\"o__error\\\"}}\\\"\\n          placeholder=\\\"Enter client ID\\\"\\n          data-test-client-id-input={{true}}\\n        />\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <div class=\\\"importer__step__instruction\\\">\\n        <label class=\\\"importer__step__input__label {{if @showErrorMessage \\\"o__error\\\"}}\\\">\\n          Client secret\\n        </label>\\n        <Input\\n          @value={{this.clientSecret}}\\n          @id=\\\"zendesk_chat_client_secret\\\"\\n          @type=\\\"text\\\"\\n          class=\\\"f__text importer__step__input {{if @showErrorMessage \\\"o__error\\\"}}\\\"\\n          placeholder=\\\"Enter client secret\\\"\\n          data-test-client-secret-input={{true}}\\n        />\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <div class=\\\"importer__step__instruction\\\">\\n        <label class=\\\"importer__step__input__label {{if @showErrorMessage \\\"o__error\\\"}}\\\">\\n          Subdomain\\n        </label>\\n        <div class=\\\"layout__box o__has-columns\\\">\\n          <div class=\\\"layout__box o__flexes-to-2\\\">\\n            <Input\\n              @value={{this.subdomain}}\\n              @id=\\\"zendesk_chat_subdomain\\\"\\n              @type=\\\"text\\\"\\n              class=\\\"f__text importer__step__input\\\"\\n              placeholder=\\\"Enter subdomain\\\"\\n              data-test-subdomain-input={{true}}\\n            />\\n          </div>\\n          <div class=\\\"u__ml__5 layout__box o__flexes-to-1 importer__step__zendesk__domain-label\\\">\\n            .zendesk.com\\n          </div>\\n        </div>\\n        <div class=\\\"h-2\\\"></div>\\n        <div class=\\\"t__light-text\\\">\\n          <a href=\\\"https://support.zendesk.com/hc/en-us/articles/221682747-Where-can-I-find-my-Zendesk-subdomain-\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">\\n            How can I find my subdomain? {{ic-interface-icon \\\"new-window\\\" solo=true}}\\n          </a>\\n        </div>\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      {{#if @showErrorMessage}}\\n        <div data-test-importer-error-message=\\\"true\\\">\\n          <div class=\\\"importer__step__error-message\\\">\\n            We could not authorize your client credentials.\\n          </div>\\n          <div class=\\\"importer__step__error-message\\\">\\n            Please check your ID and secret and try again.\\n          </div>\\n        </div>\\n      {{/if}}\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"u__cf\\\">\\n        <div class=\\\"layout__box o__has-columns u__right\\\">\\n          <div class=\\\"layout__box o__centers-vertically\\\">\\n            <a\\n              class=\\\"btn__tertiary__deemphasized u__mr__20\\\"\\n              {{on \\\"click\\\" this.previousStep}}\\n            >\\n              Previous step\\n            </a>\\n          </div>\\n          <div class=\\\"importer__step__btn-container o__large\\\">\\n            <IcButton\\n              @label=\\\"Save credentials\\\"\\n              @type=\\\"primary\\\"\\n              @disabled={{this.hasNotEnteredCredentials}}\\n              @fit={{true}}\\n              data-test-save-credentials-button={{true}}\\n              @onClick={{perform @authorize this.clientId this.clientSecret this.subdomain}}\\n            />\\n          </div>\\n        </div>\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__right importer__step__screenshot__container\\\">\\n        <img\\n          class=\\\"importer__step__screenshot\\\"\\n          width=\\\"777\\\"\\n          src=\\\"/assets/images/import/zendesk/zendesk-tickets-step3.png\\\"\\n        />\\n      </div>\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"layout__box o__has-columns\\\">\\n  {{#if (eq this.currentStep 1)}}\\n    <div>\\n      <div class=\\\"layout__box t__h1\\\">\\n        1 of 3: Add OAuth client\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__left layout__box\\\">\\n        <p class=\\\"importer__step__instruction\\\">\\n          <a href=\\\"https://www.zendesk.com/login/\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">Log in</a>\\n          to your {{@importerConfiguration.name}} account.\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n        <p class=\\\"importer__step__instruction\\\">\\n          Go to <strong>Settings</strong>, then API (under Channels).\\n        </p>\\n        <p class=\\\"importer__step__instruction\\\">\\n          Choose the <strong>OAuth clients</strong> tab.\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n        <p class=\\\"importer__step__instruction\\\">\\n          Click <strong>the plus button</strong>.\\n        </p>\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"u__cf\\\">\\n        <div class=\\\"u__right importer__step__btn-container\\\">\\n          <IcButton\\n            @label=\\\"Next\\\"\\n            @type=\\\"primary\\\"\\n            @fit={{true}}\\n            @onClick={{this.nextStep}}\\n            data-test-instructions-step-one-next-button={{true}}\\n          />\\n        </div>\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__right importer__step__screenshot__container\\\">\\n        <img\\n          class=\\\"importer__step__screenshot\\\"\\n          src=\\\"/assets/images/import/zendesk/zendesk-tickets-step1.png\\\"\\n          width=\\\"778\\\"\\n        />\\n      </div>\\n    </div>\\n  {{else if (eq this.currentStep 2)}}\\n    <div class=\\\"layout__box\\\">\\n      <div class=\\\"layout__box t__h1\\\">\\n        2 of 3: Create OAuth client\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__left layout__box\\\">\\n        <p class=\\\"importer__step__instruction\\\">\\n          Choose a client name (e.g. “Intercom”) and a company name (optional).\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n        <p class=\\\"importer__step__instruction\\\">\\n          In the Redirect URLs field, enter:\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n        <CopyTextComponent @text={{this.redirectUrl}} />\\n        <div class=\\\"h-5\\\"></div>\\n        <p class=\\\"importer__step__instruction\\\">\\n          Click <strong>Save</strong>.\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"u__cf\\\">\\n        <div class=\\\"layout__box o__has-columns u__right\\\">\\n          <div class=\\\"layout__box o__centers-vertically\\\">\\n            <a\\n              class=\\\"btn__tertiary__deemphasized u__mr__20\\\"\\n              {{on \\\"click\\\" this.previousStep}}\\n            >\\n              Previous step\\n            </a>\\n          </div>\\n          <div class=\\\"importer__step__btn-container\\\">\\n            <IcButton\\n              @label=\\\"Next\\\"\\n              @type=\\\"primary\\\"\\n              @fit={{true}}\\n              @onClick={{this.nextStep}}\\n              data-test-instructions-step-two-next-button={{true}}\\n            />\\n          </div>\\n        </div>\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__right importer__step__screenshot__container\\\">\\n        <img\\n          class=\\\"importer__step__screenshot\\\"\\n          src=\\\"/assets/images/import/zendesk/zendesk-tickets-step2.png\\\"\\n          width=\\\"778\\\"\\n        />\\n      </div>\\n    </div>\\n  {{/if}}\\n  {{#if (eq this.currentStep 3)}}\\n    <div class=\\\"layout__box\\\">\\n      <div class=\\\"layout__box t__h1\\\">\\n        3 of 3: Enter client credentials\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"layout__box importer__step__instruction\\\">\\n        Copy your client ID and your client secret and paste them into the fields below.\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <div class=\\\"importer__step__instruction\\\">\\n        <label class=\\\"importer__step__input__label {{if @showErrorMessage \\\"o__error\\\"}}\\\">\\n          Client ID (Unique identifier)\\n        </label>\\n        <Input\\n          @value={{this.clientId}}\\n          @id=\\\"zendesk_chat_client_id\\\"\\n          @type=\\\"text\\\"\\n          class=\\\"f__text importer__step__input {{if @showErrorMessage \\\"o__error\\\"}}\\\"\\n          placeholder=\\\"Enter client ID\\\"\\n          data-test-client-id-input={{true}}\\n        />\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <div class=\\\"importer__step__instruction\\\">\\n        <label class=\\\"importer__step__input__label {{if @showErrorMessage \\\"o__error\\\"}}\\\">\\n          Client secret\\n        </label>\\n        <Input\\n          @value={{this.clientSecret}}\\n          @id=\\\"zendesk_chat_client_secret\\\"\\n          @type=\\\"text\\\"\\n          class=\\\"f__text importer__step__input {{if @showErrorMessage \\\"o__error\\\"}}\\\"\\n          placeholder=\\\"Enter client secret\\\"\\n          data-test-client-secret-input={{true}}\\n        />\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <div class=\\\"importer__step__instruction\\\">\\n        <label class=\\\"importer__step__input__label {{if @showErrorMessage \\\"o__error\\\"}}\\\">\\n          Subdomain\\n        </label>\\n        <div class=\\\"layout__box o__has-columns\\\">\\n          <div class=\\\"layout__box o__flexes-to-2\\\">\\n            <Input\\n              @value={{this.subdomain}}\\n              @id=\\\"zendesk_chat_subdomain\\\"\\n              @type=\\\"text\\\"\\n              class=\\\"f__text importer__step__input\\\"\\n              placeholder=\\\"Enter subdomain\\\"\\n              data-test-subdomain-input={{true}}\\n            />\\n          </div>\\n          <div class=\\\"u__ml__5 layout__box o__flexes-to-1 importer__step__zendesk__domain-label\\\">\\n            .zendesk.com\\n          </div>\\n        </div>\\n        <div class=\\\"h-2\\\"></div>\\n        <div class=\\\"t__light-text\\\">\\n          <a href=\\\"https://support.zendesk.com/hc/en-us/articles/221682747-Where-can-I-find-my-Zendesk-subdomain-\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">\\n            How can I find my subdomain? {{ic-interface-icon \\\"new-window\\\" solo=true}}\\n          </a>\\n        </div>\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      {{#if @showErrorMessage}}\\n        <div data-test-importer-error-message=\\\"true\\\">\\n          <div class=\\\"importer__step__error-message\\\">\\n            We could not authorize your client credentials.\\n          </div>\\n          <div class=\\\"importer__step__error-message\\\">\\n            Please check your ID and secret and try again.\\n          </div>\\n        </div>\\n      {{/if}}\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"u__cf\\\">\\n        <div class=\\\"layout__box o__has-columns u__right\\\">\\n          <div class=\\\"layout__box o__centers-vertically\\\">\\n            <a\\n              class=\\\"btn__tertiary__deemphasized u__mr__20\\\"\\n              {{on \\\"click\\\" this.previousStep}}\\n            >\\n              Previous step\\n            </a>\\n          </div>\\n          <div class=\\\"importer__step__btn-container o__large\\\">\\n            <IcButton\\n              @label=\\\"Save credentials\\\"\\n              @type=\\\"primary\\\"\\n              @disabled={{this.hasNotEnteredCredentials}}\\n              @fit={{true}}\\n              data-test-save-credentials-button={{true}}\\n              @onClick={{perform @authorize this.clientId this.clientSecret this.subdomain}}\\n            />\\n          </div>\\n        </div>\\n      </div>\\n      <div class=\\\"h-10\\\"></div>\\n      <div class=\\\"u__right importer__step__screenshot__container\\\">\\n        <img\\n          class=\\\"importer__step__screenshot\\\"\\n          width=\\\"777\\\"\\n          src=\\\"/assets/images/import/zendesk/zendesk-tickets-step3.png\\\"\\n        />\\n      </div>\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/importers/zendesk-tickets/import-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/importers/zendesk-tickets/import-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport OAuthProviders from 'embercom/lib/import/oauth-providers';\n\nexport default class ImportComponent extends Component {\n  @service intercomEventService;\n  @service store;\n\n  redirectUrl = OAuthProviders.zendesk_tickets.redirectUrl;\n\n  @tracked currentStep = 1;\n\n  @tracked clientId = '';\n  @tracked clientSecret = '';\n  @tracked subdomain = '';\n\n  get hasNotEnteredCredentials() {\n    return !this.clientId || !this.clientSecret || !this.subdomain;\n  }\n\n  constructor() {\n    super(...arguments);\n    this._trackPageView();\n  }\n\n  _trackPageView() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: `instructions_page_${this.currentStep}`,\n      context: 'zendesk_tickets_import',\n    });\n  }\n\n  @action\n  previousStep() {\n    this.currentStep--;\n    this._trackPageView();\n  }\n\n  @action\n  nextStep() {\n    this.currentStep++;\n    this._trackPageView();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!--\\n  Hide add-participant-popover on mouseLeave except if the addParticipantInput is focused\\n  Related issue: https://github.com/intercom/intercom/issues/132337\\n--}}\\n<Popover\\n  @showOn={{array 'mouseenter'}}\\n  @hideOn={{compact (array (unless this.inputHasFocus 'mouseleave') 'clickout')}}\\n  @showArrow={{true}}\\n  @placement=\\\"left\\\"\\n  @fallbackPlacements={{array 'right'}}\\n  @animation={{hash class=\\\"a__tooltip\\\"}}\\n  @isDisabled={{this.addParticipantButtonDisabled}}\\n  @onShow={{track-analytics-event\\n    action='hovered'\\n    object='add_participant'\\n    models=(array @conversation)\\n  }}\\n  class=\\\"u__display-block\\\"\\n  as |popover|\\n>\\n  <popover.Opener>\\n    {{#if this.securityAppSettingsService.ensureDataIsLoaded.isRunning}}\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    {{else}}\\n      <IcTooltip\\n        @isDisabled={{not this.addParticipantButtonDisabled}}\\n        @placement=\\\"left\\\"\\n        @fallbackPlacements={{array 'right'}}\\n        class=\\\"u__display-block\\\"\\n        as |t|\\n      >\\n        <t.opener>\\n          <a\\n            class={{join ' ' (compact (array\\n              'dropdown__list-item'\\n              'layout__box'\\n              'o__centers-vertically'\\n              (if this.addParticipantButtonDisabled 'o__faded' 'o__hoverable')\\n            ))}}\\n            data-test-card-header-action=\\\"add-participant\\\"\\n          >\\n            {{ic-interface-icon 'add-participant' solo=true}}\\n            <span class=\\\"layout__box o__flexes-to-1 u__ml__10\\\">\\n              Add person\\n            </span>\\n          </a>\\n        </t.opener>\\n        <t.content>\\n          {{this.disabledToolTipText}}\\n        </t.content>\\n      </IcTooltip>\\n    {{/if}}\\n  </popover.Opener>\\n  <popover.Content\\n    class=\\\"inbox__conversation-header__add-participants-popover-content\\\"\\n    data-test-add-participant-popover\\n  >\\n    <div class=\\\"t__label mb-2\\\">\\n      Add to conversation\\n      <IcTooltipIcon\\n        @content=\\\"When you add someone to a conversation they will be notified by email and receive a copy of the conversation.\\\"\\n        @neverRenderInPlace={{true}}\\n      />\\n    </div>\\n    <Inbox::ParticipantInputComponent\\n      @addParticipantTask={{this.addParticipantTask}}\\n      @hidePopover={{@hideConversationHeaderDropdown}}\\n      @inputError={{this.inputError}}\\n      @onInputFocus={{fn (set this.inputHasFocus) true}}\\n      @onInputBlur={{fn (set this.inputHasFocus) false}}\\n    />\\n  </popover.Content>\\n</Popover>\\n\", {\"contents\":\"{{!--\\n  Hide add-participant-popover on mouseLeave except if the addParticipantInput is focused\\n  Related issue: https://github.com/intercom/intercom/issues/132337\\n--}}\\n<Popover\\n  @showOn={{array 'mouseenter'}}\\n  @hideOn={{compact (array (unless this.inputHasFocus 'mouseleave') 'clickout')}}\\n  @showArrow={{true}}\\n  @placement=\\\"left\\\"\\n  @fallbackPlacements={{array 'right'}}\\n  @animation={{hash class=\\\"a__tooltip\\\"}}\\n  @isDisabled={{this.addParticipantButtonDisabled}}\\n  @onShow={{track-analytics-event\\n    action='hovered'\\n    object='add_participant'\\n    models=(array @conversation)\\n  }}\\n  class=\\\"u__display-block\\\"\\n  as |popover|\\n>\\n  <popover.Opener>\\n    {{#if this.securityAppSettingsService.ensureDataIsLoaded.isRunning}}\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    {{else}}\\n      <IcTooltip\\n        @isDisabled={{not this.addParticipantButtonDisabled}}\\n        @placement=\\\"left\\\"\\n        @fallbackPlacements={{array 'right'}}\\n        class=\\\"u__display-block\\\"\\n        as |t|\\n      >\\n        <t.opener>\\n          <a\\n            class={{join ' ' (compact (array\\n              'dropdown__list-item'\\n              'layout__box'\\n              'o__centers-vertically'\\n              (if this.addParticipantButtonDisabled 'o__faded' 'o__hoverable')\\n            ))}}\\n            data-test-card-header-action=\\\"add-participant\\\"\\n          >\\n            {{ic-interface-icon 'add-participant' solo=true}}\\n            <span class=\\\"layout__box o__flexes-to-1 u__ml__10\\\">\\n              Add person\\n            </span>\\n          </a>\\n        </t.opener>\\n        <t.content>\\n          {{this.disabledToolTipText}}\\n        </t.content>\\n      </IcTooltip>\\n    {{/if}}\\n  </popover.Opener>\\n  <popover.Content\\n    class=\\\"inbox__conversation-header__add-participants-popover-content\\\"\\n    data-test-add-participant-popover\\n  >\\n    <div class=\\\"t__label mb-2\\\">\\n      Add to conversation\\n      <IcTooltipIcon\\n        @content=\\\"When you add someone to a conversation they will be notified by email and receive a copy of the conversation.\\\"\\n        @neverRenderInPlace={{true}}\\n      />\\n    </div>\\n    <Inbox::ParticipantInputComponent\\n      @addParticipantTask={{this.addParticipantTask}}\\n      @hidePopover={{@hideConversationHeaderDropdown}}\\n      @inputError={{this.inputError}}\\n      @onInputFocus={{fn (set this.inputHasFocus) true}}\\n      @onInputBlur={{fn (set this.inputHasFocus) false}}\\n    />\\n  </popover.Content>\\n</Popover>\\n\",\"moduleName\":\"embercom/components/inbox/add-participant-dropdown-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/add-participant-dropdown-item.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { not, and, or } from '@ember/object/computed';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  securityAppSettingsService: service(),\n  appService: service(),\n\n  emailContentDisabled: and(\n    'appService.app.canSetEmailNotificationContent',\n    'conversation.isInitialChannelMessenger',\n    'emailContentSettingsDisabled',\n  ),\n  emailContentSettingsDisabled: not(\n    'securityAppSettingsService.settings.notificationEmailsWithContentEnabled',\n  ),\n\n  init() {\n    this._super(...arguments);\n    if (this.appService.app.canSetEmailNotificationContent) {\n      this.securityAppSettingsService.ensureDataIsLoaded.perform();\n    }\n  },\n\n  inputError: false,\n  addParticipantButtonDisabled: or(\n    'conversation.main_participant.leadWithoutEmail',\n    'conversation.main_participant.is_mobile_unidentified',\n    'conversation.has50ParticipantsOrMore',\n    'emailContentDisabled',\n  ),\n  tooltipForLeads: \"To add more customers to this conversation, you need this lead's email address\",\n  tooltipForUnidentifiedUsers:\n    \"You can't add more customers to conversations with unidentified users\",\n  tooltipForCannotAddMoreThan50Customers: 'You can only add up to 50 customers in a conversation',\n  tooltipForEmailContentDisabled:\n    'When conversation content in email notifications is disabled, people cannot be added to Messenger conversations',\n  disabledToolTipText: computed(\n    'conversation.{main_participant.leadWithoutEmail,has50ParticipantsOrMore}',\n    'tooltipForCannotAddMoreThan50Customers',\n    'tooltipForLeads',\n    'tooltipForUnidentifiedUsers',\n    'tooltipForEmailContentDisabled',\n    function() {\n      if (this.get('conversation.has50ParticipantsOrMore')) {\n        return this.tooltipForCannotAddMoreThan50Customers;\n      } else if (this.get('conversation.main_participant.leadWithoutEmail')) {\n        return this.tooltipForLeads;\n      } else if (this.emailContentDisabled) {\n        return this.tooltipForEmailContentDisabled;\n      } else {\n        return this.tooltipForUnidentifiedUsers;\n      }\n    },\n  ),\n\n  addParticipantTask: task(function*(email, hidePopover) {\n    let conversation = this.conversation;\n    let dataForAnalyticsEvent = {\n      action: 'added',\n      object: 'user',\n      owner: 'respond',\n      place: 'inbox',\n      email,\n      models: [conversation],\n      success: true,\n    };\n    try {\n      yield conversation.addParticipant(email);\n      hidePopover();\n      this.notificationsService.notifyConfirmation(`${email} has been added to the conversation`);\n    } catch (error) {\n      dataForAnalyticsEvent.success = false;\n      if (error.jqXHR.status === 422) {\n        this.notificationsService.notifyWarning(error.jqXHR.responseJSON.errors);\n        this.set('inputError', true);\n      } else if (error.jqXHR.status === 403) {\n        this.notificationsService.notifyError('Failed to add a participant');\n      } else {\n        this.notificationsService.notifyWarning(error.jqXHR.responseJSON.errors);\n      }\n    } finally {\n      this.intercomEventService.trackAnalyticsEvent(dataForAnalyticsEvent);\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div style=\\\"{{computedDropdownStyle}}\\\">\\n  <IcSelect\\n    @items={{sourceOptions}}\\n    @selectedValue={{selectedSourceValue}}\\n    @onSelectItem={{action \\\"selectSourceOption\\\"}}\\n  />\\n</div>\\n<span\\n  class=\\\"js__assign-next-conversation u__right\\\"\\n  {{tooltip content=\\\"Assign next conversation to your inbox\\\"}}\\n>\\n  <IcButton\\n    @icon=\\\"put-live\\\"\\n    @type=\\\"primary\\\"\\n    @onClick={{perform assignNextConversationTask}}\\n    data-test-assign-next-button={{true}}\\n  />\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div style=\\\"{{computedDropdownStyle}}\\\">\\n  <IcSelect\\n    @items={{sourceOptions}}\\n    @selectedValue={{selectedSourceValue}}\\n    @onSelectItem={{action \\\"selectSourceOption\\\"}}\\n  />\\n</div>\\n<span\\n  class=\\\"js__assign-next-conversation u__right\\\"\\n  {{tooltip content=\\\"Assign next conversation to your inbox\\\"}}\\n>\\n  <IcButton\\n    @icon=\\\"put-live\\\"\\n    @type=\\\"primary\\\"\\n    @onClick={{perform assignNextConversationTask}}\\n    data-test-assign-next-button={{true}}\\n  />\\n</span>\\n\",\"moduleName\":\"embercom/components/inbox/assign-next-conversation-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/assign-next-conversation-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { findByProperty, ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport { post } from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\nimport storage from 'embercom/vendor/intercom/storage';\n\nconst STORAGE_KEY = 'selected-source-option';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  classNames: ['flex', 'items-start'],\n\n  sourceOptions: [\n    {\n      text: 'UA',\n      value: '0',\n    },\n    {\n      text: 'Premium',\n      value: '108604',\n    },\n    {\n      text: 'CSS2',\n      value: '1916086',\n    },\n    {\n      text: 'CSE',\n      value: '534597',\n    },\n    {\n      text: 'TY4W',\n      value: '1954914',\n    },\n    {\n      text: 'RTI',\n      value: '1239191',\n    },\n  ],\n\n  selectedSourceValue: '0',\n  selectedSourceOption: findByProperty('sourceOptions', 'value', 'selectedSourceValue'),\n  computedDropdownStyle: ternary('isVeryNarrow', 'width: 80px', ''),\n\n  init() {\n    this._super(...arguments);\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    let storedSourceValue = storage.get(STORAGE_KEY);\n    if (storedSourceValue) {\n      this._selectSourceOption(storedSourceValue);\n    }\n  },\n\n  _selectSourceOption(sourceOptionValue) {\n    this.set('selectedSourceValue', sourceOptionValue);\n    storage.set(STORAGE_KEY, this.get('selectedSourceOption.value'));\n  },\n\n  assignNextConversationTask: task(function*() {\n    yield post('/ember/conversations/assign_next', {\n      app_id: this.get('app.id'),\n      admin_id: this.get('app.currentAdmin.id'),\n      assignee_id: this.get('selectedSourceOption.value'),\n    });\n  }),\n\n  actions: {\n    selectSourceOption(sourceOptionValue) {\n      this._selectSourceOption(sourceOptionValue);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{on-window-throttled-resize this.onWindowResize}}\\n<div\\n  class=\\\"inbox__card__header flex items-center {{if (and this.app.canAssignToTeamAndTeammate (not isInbox)) 'o__hide-assignee-name'}} {{if this.app.canUseEmberConversationTitle 'o__with-title'}} {{if this.isNotInbox \\\"o__no-border o__collapsable\\\"}} {{if @inModal 'o__in-modal'}}\\\"\\n  {{on \\\"click\\\" (unless-event-target-decends-from \\\"a\\\" this.maybeCollapse)}}\\n  data-intercom-target=\\\"conversation-card-header\\\"\\n  ...attributes\\n>\\n  {{#if conversation.fromDeletedUser}}\\n    <div\\n      data-test-conversation-deleted-user\\n      class=\\\"conversation__card__deleted-title\\\"\\n    >\\n      Deleted user\\n    </div>\\n  {{else}}\\n    <div\\n      class=\\\"flex-auto min-w-0 conversation__card__centered-row inbox__card__header__title\\\"\\n    >\\n      <Conversation::Shared::CardHeader::Title\\n        @readOnly={{readOnly}}\\n        @conversation={{conversation}}\\n        @conversationRedirectTo={{conversationRedirectTo}}\\n        @showConversationLink={{showConversationLink}}\\n        class=\\\"inbox__card__header__title__name {{unless isInbox \\\"heading o__size-3\\\"}} {{if this.app.canUseEmberConversationTitle 'inbox__card__header__title__name__with__convo__title'}}\\\"\\n      />\\n      {{#if (and (not this.app.canUseEmberConversationTitle) conversation.brand_name)}}\\n        <div class=\\\"inbox__card__header__title__brand\\\" data-test-brand-name>\\n          <IcTooltip as |t|>\\n            <t.opener>\\n              <Text @styling=\\\"small\\\">To <strong>{{conversation.brand_name}}</strong></Text>\\n            </t.opener>\\n            <t.content>\\n              You're representing {{conversation.brand_name}} in this conversation.\\n            </t.content>\\n          </IcTooltip>\\n        </div>\\n      {{/if}}\\n    </div>\\n    {{#if notReadOnly}}\\n      <div\\n        data-test-conversation-actions\\n        class=\\\"conversation__card__actions-wrapper u__ml__10 u__cf\\\"\\n      >\\n        <div class=\\\"u__left layout__box o__centers-vertically\\\">\\n          {{#if showSla}}\\n            <IcTooltip\\n              @isInteractive={{true}}\\n              class=\\\"u__left mr-2\\\"\\n              data-test-next-breach-time-hover-opener\\n              as |t|\\n            >\\n              <t.opener>\\n                {{~#if this.app.canUseEmberConversationTitle ~}}\\n                  <Inbox::Slas::NewNextBreachTime\\n                    @nextBreachTime={{conversation.next_breach_time}}\\n                    @hasActiveTimeTarget={{conversation.hasActiveTimeTarget}}\\n                    @showLongFormatTimeTarget={{isWideHeader}}\\n                    @showMediumFormatTimeTarget={{isMediumHeader}}\\n                    data-test-new-next-breach-time\\n                    @active={{context.overlayIsOpen}}\\n                    class=\\\"inbox__next-breach-time\\\"\\n                  />\\n                {{~else~}}\\n                  <Inbox::Slas::NextBreachTime\\n                    class=\\\"inbox__next-breach-time\\\"\\n                    @active={{context.overlayIsOpen}}\\n                    @nextBreachTime={{conversation.next_breach_time}}\\n                    @hasActiveTimeTarget={{conversation.hasActiveTimeTarget}}\\n                    @showLongFormatTimeTarget={{isWideHeader}}\\n                    @showMediumFormatTimeTarget={{isMediumHeader}}\\n                    data-test-next-breach-time\\n                  />\\n                {{/if}}\\n              </t.opener>\\n              <t.content>\\n                <Inbox::Slas::SlaDetailsTooltip\\n                  @conversationSlaId={{conversation.conversation_sla_id}}\\n                  @conversationNextBreachTime={{conversation.next_breach_time}}\\n                  @hasActiveTimeTarget={{conversation.hasActiveTimeTarget}}\\n                  @removeSlaTask={{removeSlaTask}}\\n                />\\n              </t.content>\\n            </IcTooltip>\\n          {{/if}}\\n          <Inbox::ConversationHeaderDropdown\\n            @isInbox={{isInbox}}\\n            @readOnly={{readOnly}}\\n            @conversation={{conversation}}\\n            @downloadTranscript={{this.downloadTranscript}}\\n            @removeParticipant={{action \\\"removeParticipant\\\"}}\\n          />\\n        </div>\\n        {{#if showTags}}\\n          <Conversation::Shared::CardHeader::Tags @conversation={{conversation}} />\\n        {{/if}}\\n        {{#if showAssignment}}\\n          <Conversation::Shared::CardHeader::Assignment\\n            @assignee={{conversation.assignee}}\\n            @conversation={{conversation}}\\n            @changeToNotePane={{changeToNotePane}}\\n          />\\n        {{/if}}\\n        <Conversation::Shared::CardHeader::Actions\\n          @conversation={{conversation}}\\n          @isInbox={{isInbox}}\\n          @shouldShowSnoozeAction={{shouldShowSnoozeAction}}\\n          @shouldShowPriorityAction={{showPriorityAction}}\\n          @toggleConversationPriority={{action \\\"toggleConversationPriority\\\"}}\\n          @closeConversation={{action \\\"closeConversation\\\"}}\\n          @reopenConversation={{action \\\"reopenConversation\\\"}}\\n          @snoozeConversation={{action \\\"snoozeConversation\\\"}}\\n          @unsnoozeConversation={{action \\\"unsnoozeConversation\\\"}}\\n          @customSnoozeConversation={{action \\\"customSnoozeConversation\\\"}}\\n        />\\n      </div>\\n    {{else}}\\n      {{#unless @hideExportButton}}\\n        <IcButton\\n          @icon=\\\"download-conversation\\\"\\n          @type=\\\"secondary\\\"\\n          @label=\\\"Export as text\\\"\\n          @onClick={{this.downloadTranscript}}\\n          data-test-card-header-read-only-download\\n        />\\n      {{/unless}}\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{on-window-throttled-resize this.onWindowResize}}\\n<div\\n  class=\\\"inbox__card__header flex items-center {{if (and this.app.canAssignToTeamAndTeammate (not isInbox)) 'o__hide-assignee-name'}} {{if this.app.canUseEmberConversationTitle 'o__with-title'}} {{if this.isNotInbox \\\"o__no-border o__collapsable\\\"}} {{if @inModal 'o__in-modal'}}\\\"\\n  {{on \\\"click\\\" (unless-event-target-decends-from \\\"a\\\" this.maybeCollapse)}}\\n  data-intercom-target=\\\"conversation-card-header\\\"\\n  ...attributes\\n>\\n  {{#if conversation.fromDeletedUser}}\\n    <div\\n      data-test-conversation-deleted-user\\n      class=\\\"conversation__card__deleted-title\\\"\\n    >\\n      Deleted user\\n    </div>\\n  {{else}}\\n    <div\\n      class=\\\"flex-auto min-w-0 conversation__card__centered-row inbox__card__header__title\\\"\\n    >\\n      <Conversation::Shared::CardHeader::Title\\n        @readOnly={{readOnly}}\\n        @conversation={{conversation}}\\n        @conversationRedirectTo={{conversationRedirectTo}}\\n        @showConversationLink={{showConversationLink}}\\n        class=\\\"inbox__card__header__title__name {{unless isInbox \\\"heading o__size-3\\\"}} {{if this.app.canUseEmberConversationTitle 'inbox__card__header__title__name__with__convo__title'}}\\\"\\n      />\\n      {{#if (and (not this.app.canUseEmberConversationTitle) conversation.brand_name)}}\\n        <div class=\\\"inbox__card__header__title__brand\\\" data-test-brand-name>\\n          <IcTooltip as |t|>\\n            <t.opener>\\n              <Text @styling=\\\"small\\\">To <strong>{{conversation.brand_name}}</strong></Text>\\n            </t.opener>\\n            <t.content>\\n              You're representing {{conversation.brand_name}} in this conversation.\\n            </t.content>\\n          </IcTooltip>\\n        </div>\\n      {{/if}}\\n    </div>\\n    {{#if notReadOnly}}\\n      <div\\n        data-test-conversation-actions\\n        class=\\\"conversation__card__actions-wrapper u__ml__10 u__cf\\\"\\n      >\\n        <div class=\\\"u__left layout__box o__centers-vertically\\\">\\n          {{#if showSla}}\\n            <IcTooltip\\n              @isInteractive={{true}}\\n              class=\\\"u__left mr-2\\\"\\n              data-test-next-breach-time-hover-opener\\n              as |t|\\n            >\\n              <t.opener>\\n                {{~#if this.app.canUseEmberConversationTitle ~}}\\n                  <Inbox::Slas::NewNextBreachTime\\n                    @nextBreachTime={{conversation.next_breach_time}}\\n                    @hasActiveTimeTarget={{conversation.hasActiveTimeTarget}}\\n                    @showLongFormatTimeTarget={{isWideHeader}}\\n                    @showMediumFormatTimeTarget={{isMediumHeader}}\\n                    data-test-new-next-breach-time\\n                    @active={{context.overlayIsOpen}}\\n                    class=\\\"inbox__next-breach-time\\\"\\n                  />\\n                {{~else~}}\\n                  <Inbox::Slas::NextBreachTime\\n                    class=\\\"inbox__next-breach-time\\\"\\n                    @active={{context.overlayIsOpen}}\\n                    @nextBreachTime={{conversation.next_breach_time}}\\n                    @hasActiveTimeTarget={{conversation.hasActiveTimeTarget}}\\n                    @showLongFormatTimeTarget={{isWideHeader}}\\n                    @showMediumFormatTimeTarget={{isMediumHeader}}\\n                    data-test-next-breach-time\\n                  />\\n                {{/if}}\\n              </t.opener>\\n              <t.content>\\n                <Inbox::Slas::SlaDetailsTooltip\\n                  @conversationSlaId={{conversation.conversation_sla_id}}\\n                  @conversationNextBreachTime={{conversation.next_breach_time}}\\n                  @hasActiveTimeTarget={{conversation.hasActiveTimeTarget}}\\n                  @removeSlaTask={{removeSlaTask}}\\n                />\\n              </t.content>\\n            </IcTooltip>\\n          {{/if}}\\n          <Inbox::ConversationHeaderDropdown\\n            @isInbox={{isInbox}}\\n            @readOnly={{readOnly}}\\n            @conversation={{conversation}}\\n            @downloadTranscript={{this.downloadTranscript}}\\n            @removeParticipant={{action \\\"removeParticipant\\\"}}\\n          />\\n        </div>\\n        {{#if showTags}}\\n          <Conversation::Shared::CardHeader::Tags @conversation={{conversation}} />\\n        {{/if}}\\n        {{#if showAssignment}}\\n          <Conversation::Shared::CardHeader::Assignment\\n            @assignee={{conversation.assignee}}\\n            @conversation={{conversation}}\\n            @changeToNotePane={{changeToNotePane}}\\n          />\\n        {{/if}}\\n        <Conversation::Shared::CardHeader::Actions\\n          @conversation={{conversation}}\\n          @isInbox={{isInbox}}\\n          @shouldShowSnoozeAction={{shouldShowSnoozeAction}}\\n          @shouldShowPriorityAction={{showPriorityAction}}\\n          @toggleConversationPriority={{action \\\"toggleConversationPriority\\\"}}\\n          @closeConversation={{action \\\"closeConversation\\\"}}\\n          @reopenConversation={{action \\\"reopenConversation\\\"}}\\n          @snoozeConversation={{action \\\"snoozeConversation\\\"}}\\n          @unsnoozeConversation={{action \\\"unsnoozeConversation\\\"}}\\n          @customSnoozeConversation={{action \\\"customSnoozeConversation\\\"}}\\n        />\\n      </div>\\n    {{else}}\\n      {{#unless @hideExportButton}}\\n        <IcButton\\n          @icon=\\\"download-conversation\\\"\\n          @type=\\\"secondary\\\"\\n          @label=\\\"Export as text\\\"\\n          @onClick={{this.downloadTranscript}}\\n          data-test-card-header-read-only-download\\n        />\\n      {{/unless}}\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/card-header-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/card-header-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { action } from '@ember/object';\nimport { not, readOnly, and } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { greaterThanProperty, ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport DefaultAvatars from '@intercom/embercom-core/lib/default-avatars';\nimport { CONVERSATION_PRIORITIES, SNOOZED_UNTIL_MAP } from 'embercom/lib/inbox/constants';\nimport { postNewTab } from 'embercom/lib/form-for-download';\nimport ajax from 'embercom/lib/ajax';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  tagName: '',\n\n  intercomEventService: service(),\n  notificationsService: service(),\n  conversationsService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  width: 960,\n  defaultTeammateAvatar: DefaultAvatars.admins[128],\n  isInbox: false,\n\n  notReadOnly: not('readOnly'),\n  isNotInbox: not('isInbox'),\n\n  mediumWidth: 539,\n  wideWidth: 1700,\n\n  isMediumHeader: greaterThanProperty('width', 'mediumWidth'),\n  isWideHeader: greaterThanProperty('width', 'wideWidth'),\n  shouldShowSnoozeAction: readOnly('conversation.isNotClosed'),\n\n  hasInboxProductAndAccess: and('app.inboxIsActive', 'app.currentAdminHasInboxAccess'),\n  showAssignment: readOnly('hasInboxProductAndAccess'),\n  showTags: readOnly('app.canUseConversationLevelTagging'),\n  showPriorityAction: and('hasInboxProductAndAccess', 'app.isNotOnFree'),\n  canShowSla: and('app.canUseInboxSlas', 'conversation.hasSla'),\n  showSla: and('isInbox', 'canShowSla'),\n\n  place: ternary('isInbox', 'inbox', 'platform'),\n\n  onWindowResize: action(function({ width }) {\n    this.set('width', width);\n  }),\n\n  maybeCollapse: action(function(event) {\n    if (event.metaKey !== true && event.ctrlKey !== true) {\n      event.preventDefault();\n    }\n    let $target = $(event.target);\n    if (\n      this.isNotInbox &&\n      ($target.hasClass('inbox__card__header__title') || $target.hasClass('inbox__card__header'))\n    ) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('collapse');\n    }\n  }),\n\n  downloadTranscript: action(function() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'downloaded',\n      object: 'transcript',\n      conversation_id: this.get('conversation.id'),\n    });\n    let url = `ember/conversations/download_transcript?v=${Math.floor(Math.random() * 1e8)}`;\n    postNewTab(url, {\n      app_id: this.get('app.id'),\n      conversation_id: this.get('conversation.id'),\n    });\n  }),\n\n  removeSlaTask: task(function*() {\n    yield intercomConfirm(this, {\n      title: 'Remove SLA from this conversation?',\n      confirmButtonText: 'Remove',\n      cancelButtonText: 'Cancel',\n      body: 'Are you sure you want to remove the SLA from this conversation? This is permanent.',\n      primaryButtonType: 'primary-destructive',\n      center: true,\n    });\n\n    // Warning: Removing an SLA is asynchronous. A 204 does not mean the SLA was removed, only queued to be removed.\n    return yield ajax({\n      url: `/ember/conversations/${this.get('conversation.id')}/sla`,\n      type: 'DELETE',\n      data: JSON.stringify({\n        app_id: this.get('app.id'),\n      }),\n    }).catch(err => {\n      console.error('Unable to remove sla', err);\n    });\n  }),\n\n  removeParticipantFromConversation: task(function*(participant) {\n    let conversation = this.conversation;\n    try {\n      yield conversation.removeParticipant(participant);\n      this.notificationsService.notifyConfirmation(\n        `${participant.display_as} has been removed from the conversation`,\n      );\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'removed_from_conversation',\n        object: participant,\n        models: [conversation],\n      });\n    } catch (e) {\n      this.notificationsService.notifyError('Failed to remove user from conversation');\n    }\n  }),\n\n  actions: {\n    closeConversation() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'closed',\n        object: 'conversation',\n        place: this.place,\n        context: 'from_conversation_header',\n      });\n      this.conversationsService.closeConversation(this.conversation);\n      if (this.onConversationClosed) {\n        this.onConversationClosed();\n      }\n    },\n\n    reopenConversation() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'opened',\n        object: 'conversation',\n        place: this.place,\n        context: 'from_conversation_header',\n      });\n      this.conversationsService.reopenConversation(this.conversation);\n      if (this.onConversationReopened) {\n        this.onConversationReopened();\n      }\n    },\n\n    snoozeConversation(until) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'snoozed',\n        object: this.conversation,\n        context: 'from_conversation',\n        snoozed_until: SNOOZED_UNTIL_MAP[until].key,\n      });\n\n      let customSnoozedUntil = SNOOZED_UNTIL_MAP[until].absoluteUnsnoozeTime;\n      this.conversationsService.addEventPartAndSave(this.conversation, 'snoozed', {\n        snoozedUntil: until,\n        customSnoozedUntil,\n      });\n\n      if (this.onConversationSnoozed) {\n        this.onConversationSnoozed();\n      }\n    },\n\n    customSnoozeConversation(customSnoozedUntil) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'snoozed',\n        object: this.conversation,\n        context: 'from_conversation',\n        snoozed_until: 'custom_timer',\n      });\n\n      this.conversationsService.addEventPartAndSave(this.conversation, 'snoozed', {\n        snoozedUntil: 'custom_timer',\n        customSnoozedUntil,\n      });\n\n      if (this.onConversationSnoozed) {\n        this.onConversationSnoozed();\n      }\n    },\n\n    unsnoozeConversation() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'opened',\n        object: this.conversation,\n        context: 'from_conversation',\n      });\n      this.conversationsService.addEventPartAndSave(this.conversation, 'unsnoozed');\n      if (this.onConversationReopened) {\n        this.onConversationReopened();\n      }\n    },\n\n    toggleConversationPriority() {\n      $('.js__change-priority-button').trigger('blur');\n\n      let priority =\n        this.get('conversation.priority') === CONVERSATION_PRIORITIES.priority\n          ? CONVERSATION_PRIORITIES.not_priority\n          : CONVERSATION_PRIORITIES.priority;\n\n      this.conversationsService\n        .addEventPartAndSave(this.conversation, 'priority_changed', { priority })\n        .catch(() =>\n          this.notificationsService.notifyError(\n            'An error occurred while trying to change priority. Please try again.',\n          ),\n        );\n\n      this.streamAndControls.send('scrollStreamToBottom');\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'changed_priority',\n        object: this.conversation,\n        context: 'from_conversation',\n        owner: 'respond',\n        place: this.place,\n        priority,\n      });\n    },\n\n    removeParticipant(participant) {\n      this.removeParticipantFromConversation.perform(participant);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<a\\n  class=\\\"quick-action o__inbox-composer-help-opener\\\"\\n  data-test-composer-help-modal-opener\\n  {{on \\\"click\\\" (set this.showModal true)}}\\n>\\n  {{ic-interface-icon \\\"tooltip\\\" solo=true}}\\n</a>\\n{{#if this.showModal}}\\n  <IcModal\\n    @onModalClose={{set this.showModal false}}\\n    @width=\\\"xl\\\"\\n    @focusElement=\\\"body\\\" as |modal|\\n  >\\n    <modal.header @title=\\\"Help\\\" />\\n    <modal.body data-test-composer-help-modal>\\n      <div class=\\\"flex flex-row gap-4 mb-6\\\">\\n        <div class=\\\"flex-1 flex flex-row gap-3\\\">\\n          {{inline-svg \\\"inbox/help-guide-format-text\\\" class=\\\"flex-none h-20\\\"}}\\n          <div class=\\\"flex-auto\\\">\\n            <strong class=\\\"t__h3 mt-2\\\">\\n              Format text\\n            </strong>\\n            <p>\\n              Select text to make it bold, italic or add a link\\n            </p>\\n          </div>\\n        </div>\\n\\n        <div class=\\\"flex-1 flex flex-row gap-3\\\">\\n          {{inline-svg \\\"inbox/help-guide-create-lists\\\" class=\\\"flex-none h-20\\\"}}\\n          <div class=\\\"flex-auto\\\">\\n            <strong class=\\\"t__h3 mt-2\\\">\\n              Create lists\\n            </strong>\\n            <p>\\n              Type <code class=\\\"m__composer-help__code\\\">*</code> or <code class=\\\"m__composer-help__code\\\">1)</code> and <code class=\\\"m__composer-help__code\\\">space</code> to create a list\\n            </p>\\n          </div>\\n        </div>\\n      </div>\\n\\n      <div class=\\\"flex flex-row gap-4 mb-6\\\">\\n        <div class=\\\"flex-1 flex flex-row gap-3\\\">\\n          {{inline-svg \\\"inbox/help-guide-code\\\" class=\\\"flex-none h-20\\\"}}\\n          <div class=\\\"flex-auto\\\">\\n            <strong class=\\\"t__h3 mt-2\\\">\\n              Add code blocks\\n            </strong>\\n            <p>\\n              Type <code class=\\\"m__composer-help__code\\\">```</code> at the start of a line to open a new code block in your reply\\n            </p>\\n          </div>\\n        </div>\\n\\n        <div class=\\\"flex-1 flex flex-row gap-3\\\">\\n          {{inline-svg \\\"inbox/help-guide-quick-actions\\\" class=\\\"flex-none h-20\\\"}}\\n          <div class=\\\"flex-auto\\\">\\n            <strong class=\\\"t__h3 mt-2\\\">\\n              Articles, emoji and more\\n            </strong>\\n            <p>\\n              Icons below the composer allow you to add external content into your reply\\n            </p>\\n          </div>\\n        </div>\\n      </div>\\n\\n      <hr class=\\\"sp__hr\\\" />\\n\\n      <div class=\\\"t__h3 mb-5\\\">\\n        Keyboard shortcuts\\n      </div>\\n\\n      {{#let (service 'app-service.app') as |app|}}\\n        <Inbox::KeyboardShortcutComponent @app={{app}} @admin={{app.currentAdmin}} />\\n      {{/let}}\\n    </modal.body>\\n  </IcModal>\\n{{/if}}\\n\", {\"contents\":\"<a\\n  class=\\\"quick-action o__inbox-composer-help-opener\\\"\\n  data-test-composer-help-modal-opener\\n  {{on \\\"click\\\" (set this.showModal true)}}\\n>\\n  {{ic-interface-icon \\\"tooltip\\\" solo=true}}\\n</a>\\n{{#if this.showModal}}\\n  <IcModal\\n    @onModalClose={{set this.showModal false}}\\n    @width=\\\"xl\\\"\\n    @focusElement=\\\"body\\\" as |modal|\\n  >\\n    <modal.header @title=\\\"Help\\\" />\\n    <modal.body data-test-composer-help-modal>\\n      <div class=\\\"flex flex-row gap-4 mb-6\\\">\\n        <div class=\\\"flex-1 flex flex-row gap-3\\\">\\n          {{inline-svg \\\"inbox/help-guide-format-text\\\" class=\\\"flex-none h-20\\\"}}\\n          <div class=\\\"flex-auto\\\">\\n            <strong class=\\\"t__h3 mt-2\\\">\\n              Format text\\n            </strong>\\n            <p>\\n              Select text to make it bold, italic or add a link\\n            </p>\\n          </div>\\n        </div>\\n\\n        <div class=\\\"flex-1 flex flex-row gap-3\\\">\\n          {{inline-svg \\\"inbox/help-guide-create-lists\\\" class=\\\"flex-none h-20\\\"}}\\n          <div class=\\\"flex-auto\\\">\\n            <strong class=\\\"t__h3 mt-2\\\">\\n              Create lists\\n            </strong>\\n            <p>\\n              Type <code class=\\\"m__composer-help__code\\\">*</code> or <code class=\\\"m__composer-help__code\\\">1)</code> and <code class=\\\"m__composer-help__code\\\">space</code> to create a list\\n            </p>\\n          </div>\\n        </div>\\n      </div>\\n\\n      <div class=\\\"flex flex-row gap-4 mb-6\\\">\\n        <div class=\\\"flex-1 flex flex-row gap-3\\\">\\n          {{inline-svg \\\"inbox/help-guide-code\\\" class=\\\"flex-none h-20\\\"}}\\n          <div class=\\\"flex-auto\\\">\\n            <strong class=\\\"t__h3 mt-2\\\">\\n              Add code blocks\\n            </strong>\\n            <p>\\n              Type <code class=\\\"m__composer-help__code\\\">```</code> at the start of a line to open a new code block in your reply\\n            </p>\\n          </div>\\n        </div>\\n\\n        <div class=\\\"flex-1 flex flex-row gap-3\\\">\\n          {{inline-svg \\\"inbox/help-guide-quick-actions\\\" class=\\\"flex-none h-20\\\"}}\\n          <div class=\\\"flex-auto\\\">\\n            <strong class=\\\"t__h3 mt-2\\\">\\n              Articles, emoji and more\\n            </strong>\\n            <p>\\n              Icons below the composer allow you to add external content into your reply\\n            </p>\\n          </div>\\n        </div>\\n      </div>\\n\\n      <hr class=\\\"sp__hr\\\" />\\n\\n      <div class=\\\"t__h3 mb-5\\\">\\n        Keyboard shortcuts\\n      </div>\\n\\n      {{#let (service 'app-service.app') as |app|}}\\n        <Inbox::KeyboardShortcutComponent @app={{app}} @admin={{app.currentAdmin}} />\\n      {{/let}}\\n    </modal.body>\\n  </IcModal>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/composer-help-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/composer-help-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class extends Component {\n  @tracked showModal = false;\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col conversation__inbox__current-context\\\" data-intercom-target=\\\"conversation-sidebar\\\">\\n  {{#if @showConversationAttributes}}\\n    <Inbox::ConversationSidebar::ConversationAttributes\\n      @conversation={{@conversation}}\\n    />\\n  {{/if}}\\n  <Inbox::UserProfileContainerComponent\\n    @conversation={{@conversation}}\\n    @numberOfParticipants={{@conversation.participants.length}}\\n  />\\n</div>\", {\"contents\":\"<div class=\\\"flex flex-col conversation__inbox__current-context\\\" data-intercom-target=\\\"conversation-sidebar\\\">\\n  {{#if @showConversationAttributes}}\\n    <Inbox::ConversationSidebar::ConversationAttributes\\n      @conversation={{@conversation}}\\n    />\\n  {{/if}}\\n  <Inbox::UserProfileContainerComponent\\n    @conversation={{@conversation}}\\n    @numberOfParticipants={{@conversation.participants.length}}\\n  />\\n</div>\",\"moduleName\":\"embercom/components/inbox/contextual-conversation-sidebar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/contextual-conversation-sidebar.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Popover\\n  @showOn={{array 'click'}}\\n  @hideOn={{array 'click' 'clickout'}}\\n  @placement=\\\"bottom-start\\\"\\n  @fallbackPlacements={{array \\\"bottom-end\\\"}}\\n  as |popover|\\n>\\n  <popover.Opener>\\n    <IcButton\\n      @icon=\\\"vertical-ellipsis\\\"\\n      @subtle={{true}}\\n      @isForcedActive={{popover.isVisible}}\\n      data-test-inbox-header-dropdown-opener={{true}}\\n    />\\n  </popover.Opener>\\n  <popover.Content @fullBleed={{true}}>\\n    <div class=\\\"ds-new__dropdown__group o__main o__standard\\\">\\n      <a\\n        data-test-card-header-action=\\\"download-transcript\\\"\\n        class=\\\"dropdown__list-item o__hoverable layout__box o__centers-vertically\\\"\\n        {{on 'click' (queue @downloadTranscript popover.hide)}}\\n      >\\n        {{ic-interface-icon \\\"download-conversation\\\" solo=true}}\\n        <span class=\\\"layout__box o__flexes-to-1 pl-2\\\">\\n          Export conversation as text\\n        </span>\\n      </a>\\n      {{#if this.showAddParticipant}}\\n        <Inbox::AddParticipantDropdownItem\\n          @conversation={{@conversation}}\\n          @hideConversationHeaderDropdown={{popover.hide}}\\n        />\\n      {{/if}}\\n      {{#if this.showRemoveParticipant}}\\n        <Inbox::RemoveParticipantDropdownItem\\n          @conversation={{@conversation}}\\n          @removeParticipant={{@removeParticipant}}\\n          @hideConversationHeaderDropdown={{popover.hide}}\\n        />\\n      {{/if}}\\n    </div>\\n  </popover.Content>\\n</Popover>\\n\", {\"contents\":\"<Popover\\n  @showOn={{array 'click'}}\\n  @hideOn={{array 'click' 'clickout'}}\\n  @placement=\\\"bottom-start\\\"\\n  @fallbackPlacements={{array \\\"bottom-end\\\"}}\\n  as |popover|\\n>\\n  <popover.Opener>\\n    <IcButton\\n      @icon=\\\"vertical-ellipsis\\\"\\n      @subtle={{true}}\\n      @isForcedActive={{popover.isVisible}}\\n      data-test-inbox-header-dropdown-opener={{true}}\\n    />\\n  </popover.Opener>\\n  <popover.Content @fullBleed={{true}}>\\n    <div class=\\\"ds-new__dropdown__group o__main o__standard\\\">\\n      <a\\n        data-test-card-header-action=\\\"download-transcript\\\"\\n        class=\\\"dropdown__list-item o__hoverable layout__box o__centers-vertically\\\"\\n        {{on 'click' (queue @downloadTranscript popover.hide)}}\\n      >\\n        {{ic-interface-icon \\\"download-conversation\\\" solo=true}}\\n        <span class=\\\"layout__box o__flexes-to-1 pl-2\\\">\\n          Export conversation as text\\n        </span>\\n      </a>\\n      {{#if this.showAddParticipant}}\\n        <Inbox::AddParticipantDropdownItem\\n          @conversation={{@conversation}}\\n          @hideConversationHeaderDropdown={{popover.hide}}\\n        />\\n      {{/if}}\\n      {{#if this.showRemoveParticipant}}\\n        <Inbox::RemoveParticipantDropdownItem\\n          @conversation={{@conversation}}\\n          @removeParticipant={{@removeParticipant}}\\n          @hideConversationHeaderDropdown={{popover.hide}}\\n        />\\n      {{/if}}\\n    </div>\\n  </popover.Content>\\n</Popover>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-header-dropdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-header-dropdown.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { and, not, readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  classNames: ['u__left'],\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  notReadOnly: not('readOnly'),\n\n  showAddParticipant: and('isInbox', 'notReadOnly', 'app.currentAdminHasInboxAccess'),\n  showRemoveParticipant: and(\n    'isInbox',\n    'notReadOnly',\n    'conversation.isGroupConversation',\n    'app.currentAdminHasInboxAccess',\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isOpen}}\\n  <svg width=\\\"8px\\\" height=\\\"11px\\\" viewBox=\\\"0 0 8 11\\\" version=\\\"1.1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"overlay__popover-caret o__top\\\">\\n    <g stroke=\\\"none\\\" stroke-width=\\\"1\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\">\\n      <path d=\\\"M4.4408921e-16,-0.5 L7,6 L4.4408921e-16,11.5 L-3,11 L-3,0 L4.4408921e-16,-0.5 Z\\\" class=\\\"overlay__popover-caret__vector\\\"></path>\\n    </g>\\n  </svg>\\n  <div class=\\\"conversation-rating-feature-pointer__header\\\" data-test-feature-pointer-popover>\\n    <div class=\\\"t__h3\\\">Conversation ratings</div>\\n    <a onClick={{action 'closeAndDismiss'}} data-test-close-feature-pointer>\\n      {{ic-interface-icon 'close' color='gray' solo=true}}\\n    </a>\\n  </div>\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"conversation-rating-feature-pointer__content\\\">\\n      <p>Whenever a conversation is closed, Operator will ask how it went (ratings apply to the teammate who last replied).</p>\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/responding-to-users-and-visitors/see-your-team-s-progress/measure-customer-satisfaction-with-conversation-ratings\\\"\\n        @title=\\\"Learn more\\\"\\n        @linkStyling=\\\"inline\\\"\\n        @type=\\\"article\\\"\\n      />.\\n    </div>\\n    <div class=\\\"conversation-rating-feature-pointer__image\\\">\\n      <img src=\\\"/assets/images/feature-pointers/conversation-rating-card.png\\\" alt=\\\"conversation ratings\\\" width=\\\"185\\\">\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isOpen}}\\n  <svg width=\\\"8px\\\" height=\\\"11px\\\" viewBox=\\\"0 0 8 11\\\" version=\\\"1.1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"overlay__popover-caret o__top\\\">\\n    <g stroke=\\\"none\\\" stroke-width=\\\"1\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\">\\n      <path d=\\\"M4.4408921e-16,-0.5 L7,6 L4.4408921e-16,11.5 L-3,11 L-3,0 L4.4408921e-16,-0.5 Z\\\" class=\\\"overlay__popover-caret__vector\\\"></path>\\n    </g>\\n  </svg>\\n  <div class=\\\"conversation-rating-feature-pointer__header\\\" data-test-feature-pointer-popover>\\n    <div class=\\\"t__h3\\\">Conversation ratings</div>\\n    <a onClick={{action 'closeAndDismiss'}} data-test-close-feature-pointer>\\n      {{ic-interface-icon 'close' color='gray' solo=true}}\\n    </a>\\n  </div>\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"conversation-rating-feature-pointer__content\\\">\\n      <p>Whenever a conversation is closed, Operator will ask how it went (ratings apply to the teammate who last replied).</p>\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/responding-to-users-and-visitors/see-your-team-s-progress/measure-customer-satisfaction-with-conversation-ratings\\\"\\n        @title=\\\"Learn more\\\"\\n        @linkStyling=\\\"inline\\\"\\n        @type=\\\"article\\\"\\n      />.\\n    </div>\\n    <div class=\\\"conversation-rating-feature-pointer__image\\\">\\n      <img src=\\\"/assets/images/feature-pointers/conversation-rating-card.png\\\" alt=\\\"conversation ratings\\\" width=\\\"185\\\">\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/conversation-rating-feature-pointer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-rating-feature-pointer.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { computed } from '@ember/object';\nimport { and } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { task, timeout } from 'ember-concurrency';\nimport ConversationRatingSettings from 'embercom/models/conversation-ratings-settings';\nimport LegacyOverlayBaseComponent from 'embercom/components/legacy-overlay-base-component';\nimport ENV from 'embercom/config/environment';\nimport storage from 'embercom/vendor/intercom/storage';\n\nexport default LegacyOverlayBaseComponent.extend({\n  appService: service(),\n  store: service(),\n  onboardingHomeExternalStepService: service(),\n  extraClassNames: ['conversation-rating-feature-pointer'],\n  pageviewKey: 'respond-conversation-rating-feature-pointer',\n  notDismissed: computed('pageviewKey', function() {\n    return !storage.get(this.pageviewKey);\n  }),\n  shouldShow: and(\n    'notDismissed',\n    'conversationRatingSettings.canCreateConversationRatings',\n    'onboardingHomeExternalStepService.externalStepModeDisabled',\n  ),\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.delayedOpen.perform();\n  },\n\n  willDestroyElement() {\n    this._dismissFeaturePointer();\n    this._super(...arguments);\n  },\n\n  //disable the default event listeners\n  setUpEvents() {},\n  tearDownEvents() {},\n\n  _openPointerIfNecessary() {\n    let open = this.shouldShow;\n    this.set('isOpen', open);\n    if (open) {\n      if (this.opened) {\n        this.opened();\n      }\n    }\n  },\n\n  delayedOpen: task(function*() {\n    let conversationRatingSettings;\n    try {\n      conversationRatingSettings = yield ConversationRatingSettings.fetch(\n        this.get('appService.app.id'),\n      );\n    } catch (e) {\n      return;\n    }\n    this.set('conversationRatingSettings', conversationRatingSettings);\n    yield timeout(ENV.APP._5000MS);\n    this._openPointerIfNecessary();\n  }).drop(),\n\n  _dismissFeaturePointer() {\n    if (!this.isOpen) {\n      return;\n    }\n    storage.set(this.pageviewKey, new Date());\n    this.store\n      .createRecord('admin-pageview', {\n        pageKey: this.pageviewKey,\n      })\n      .save();\n    this.set('notDismissed', false);\n    this._openPointerIfNecessary();\n  },\n\n  actions: {\n    closeAndDismiss() {\n      this._dismissFeaturePointer();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.shouldShowEmptyState}}\\n  <div\\n    class=\\\"u__center-item-vertically inbox__conversation-sidebar__app-inserter__empty-state\\\"\\n    data-test-inbox-app-inserter-empty-state\\n  >\\n    <IcEmptyState\\n      @icon=\\\"app-store\\\"\\n      @title=\\\"No apps available\\\"\\n      @description=\\\"You've added all your apps, find more in the App Store\\\"\\n      @buttonLabel=\\\"Explore the App Store\\\"\\n      @onButtonClick={{this.exploreAppStore}}\\n    />\\n  </div>\\n{{else}}\\n  <div class=\\\"layout__box o__scrolls inbox__conversation-sidebar__app-inserter__item-list\\\">\\n    {{#each this.inserterSectionsNotInSidebar as |section|}}\\n      <Inbox::ConversationSidebar::AppInserter::Item\\n        @addSection={{fn this.addSection @hidePopover section}}\\n        @section={{section}}\\n      />\\n    {{/each}}\\n    {{#if this.itemsOverflowAppInserter}}\\n      <div class=\\\"inbox__conversation-sidebar__app-inserter__space-to-avoid-mask\\\"></div>\\n    {{/if}}\\n  </div>\\n  <Inbox::ConversationSidebar::AppInserter::Cta\\n    @exploreAppStore={{this.exploreAppStore}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{#if this.shouldShowEmptyState}}\\n  <div\\n    class=\\\"u__center-item-vertically inbox__conversation-sidebar__app-inserter__empty-state\\\"\\n    data-test-inbox-app-inserter-empty-state\\n  >\\n    <IcEmptyState\\n      @icon=\\\"app-store\\\"\\n      @title=\\\"No apps available\\\"\\n      @description=\\\"You've added all your apps, find more in the App Store\\\"\\n      @buttonLabel=\\\"Explore the App Store\\\"\\n      @onButtonClick={{this.exploreAppStore}}\\n    />\\n  </div>\\n{{else}}\\n  <div class=\\\"layout__box o__scrolls inbox__conversation-sidebar__app-inserter__item-list\\\">\\n    {{#each this.inserterSectionsNotInSidebar as |section|}}\\n      <Inbox::ConversationSidebar::AppInserter::Item\\n        @addSection={{fn this.addSection @hidePopover section}}\\n        @section={{section}}\\n      />\\n    {{/each}}\\n    {{#if this.itemsOverflowAppInserter}}\\n      <div class=\\\"inbox__conversation-sidebar__app-inserter__space-to-avoid-mask\\\"></div>\\n    {{/if}}\\n  </div>\\n  <Inbox::ConversationSidebar::AppInserter::Cta\\n    @exploreAppStore={{this.exploreAppStore}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/app-inserter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/app-inserter.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed, action } from '@ember/object';\nimport { equal, gt, readOnly, sort } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport safeWindowOpen from 'embercom/lib/safe-window-open';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  router: service(),\n  appService: service(),\n  appstoreService: service(),\n  app: readOnly('appService.app'),\n\n  classNames: ['inbox__conversation-sidebar__app-inserter'],\n  'data-test-inbox-sidebar-app-inserter': true,\n\n  shouldShowEmptyState: equal('sectionsNotInSidebar.length', 0),\n  itemsOverflowAppInserter: gt('sectionsNotInSidebar.length', 8),\n\n  willRender() {\n    this._super(...arguments);\n    this.deleteNotifications && this.deleteNotifications();\n  },\n\n  inserterSectionsNotInSidebar: sort('renamedSectionsNotInSidebar', 'inserterSectionSortKey'),\n  inserterSectionSortKey: [\n    'notifiable:desc',\n    'isApp:desc',\n    'isUserModule:desc',\n    'isCompanyModule:desc',\n    'name:asc',\n  ],\n  renamedSectionsNotInSidebar: computed('sectionsNotInSidebar.[]', function() {\n    return this.sectionsNotInSidebar.map(section => {\n      let lowerCasedSectionName = section.name.toLowerCase();\n      if (\n        lowerCasedSectionName === 'notes' ||\n        lowerCasedSectionName === 'segments' ||\n        lowerCasedSectionName === 'tags'\n      ) {\n        section.set('name', `User ${lowerCasedSectionName}`);\n      }\n      if (lowerCasedSectionName === 'events') {\n        section.set('name', 'Total events');\n      }\n      return section;\n    });\n  }),\n\n  addSection: action(function(hidePopover, section) {\n    this.sectionsList.addSection(section);\n    if (section.isApp) {\n      this.intercomEventService.trackEvent('added-conversation-details-app-section', {\n        inbox_app_id: section.inboxAppId,\n        app_name: section.name,\n      });\n    }\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'add_section',\n      object: 'inbox_sidebar',\n      is_app: section.isApp,\n      section_name: section.name,\n      section_id: section.uniqueIdentifier,\n    });\n    hidePopover();\n  }),\n\n  exploreAppStore: action(function() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'explore_app_store',\n      location: 'inbox_sidebar',\n    });\n    let url = this.router.urlFor('apps.app.appstore', {\n      queryParams: { capability: 'inbox', inbox_capability: 'sidebar' },\n    });\n    safeWindowOpen(url);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"inbox__conversation-sidebar__app-inserter__mask-bottom\\\"></div>\\n<a\\n  class=\\\"layout__box o__has-columns o__centers-vertically inbox__conversation-sidebar__app-inserter__app-store-cta\\\"\\n  href=\\\"{{href-to 'apps.app.appstore' (query-params capability='inbox' inbox_capability='sidebar')}}\\\"\\n  {{action @exploreAppStore}}\\n  data-test-appstore-link\\n>\\n  {{inline-svg 'app-store/more-apps-cta-icon'}}\\n  <div class=\\\"layout__box ml-2\\\">\\n    <div class=\\\"inbox__conversation-sidebar__app-inserter__app-store-cta-text\\\">\\n      Get more in the App Store →\\n    </div>\\n    <div class=\\\"t__light-text\\\">\\n      Connect your apps or find new ones\\n    </div>\\n  </div>\\n</a>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"inbox__conversation-sidebar__app-inserter__mask-bottom\\\"></div>\\n<a\\n  class=\\\"layout__box o__has-columns o__centers-vertically inbox__conversation-sidebar__app-inserter__app-store-cta\\\"\\n  href=\\\"{{href-to 'apps.app.appstore' (query-params capability='inbox' inbox_capability='sidebar')}}\\\"\\n  {{action @exploreAppStore}}\\n  data-test-appstore-link\\n>\\n  {{inline-svg 'app-store/more-apps-cta-icon'}}\\n  <div class=\\\"layout__box ml-2\\\">\\n    <div class=\\\"inbox__conversation-sidebar__app-inserter__app-store-cta-text\\\">\\n      Get more in the App Store →\\n    </div>\\n    <div class=\\\"t__light-text\\\">\\n      Connect your apps or find new ones\\n    </div>\\n  </div>\\n</a>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/app-inserter/cta.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/app-inserter/cta.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"inbox__conversation-sidebar__app-inserter__item layout__box o__centers-vertically o__has-columns\\\"\\n  data-test-inbox-sidebar-app-inserter-item={{@section.name}}\\n  {{action @addSection}}\\n>\\n  <div class=\\\"inbox__conversation-sidebar__app-inserter__item-icon\\\">\\n    {{#if @section.notifiable}}\\n      <span class=\\\"unread__small\\\" data-test-notification-dot></span>\\n    {{/if}}\\n    <Inbox::ConversationSidebar::Section::CardIcon @section={{@section}} />\\n  </div>\\n  <span class=\\\"inbox__conversation-sidebar__app-inserter__item-text layout__box o__flexes-to-1\\\">\\n    {{@section.name}}\\n  </span>\\n  <span class=\\\"mr-2\\\">\\n    {{ic-interface-icon \\\"follow\\\" color=\\\"green\\\" solo=\\\"true\\\"}}\\n  </span>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"inbox__conversation-sidebar__app-inserter__item layout__box o__centers-vertically o__has-columns\\\"\\n  data-test-inbox-sidebar-app-inserter-item={{@section.name}}\\n  {{action @addSection}}\\n>\\n  <div class=\\\"inbox__conversation-sidebar__app-inserter__item-icon\\\">\\n    {{#if @section.notifiable}}\\n      <span class=\\\"unread__small\\\" data-test-notification-dot></span>\\n    {{/if}}\\n    <Inbox::ConversationSidebar::Section::CardIcon @section={{@section}} />\\n  </div>\\n  <span class=\\\"inbox__conversation-sidebar__app-inserter__item-text layout__box o__flexes-to-1\\\">\\n    {{@section.name}}\\n  </span>\\n  <span class=\\\"mr-2\\\">\\n    {{ic-interface-icon \\\"follow\\\" color=\\\"green\\\" solo=\\\"true\\\"}}\\n  </span>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/app-inserter/item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/app-inserter/item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"inbox__conversation-sidebar__section\\\">\\n  <Popover\\n    @showOn={{array 'click'}}\\n    @hideOn={{array 'click' 'clickout'}}\\n    @placement=\\\"left\\\"\\n    @showArrow={{true}}\\n    @preventOverflow={{true}}\\n    class=\\\"u__display-block\\\"\\n    as |popover|\\n  >\\n    <popover.Opener>\\n      <IcCard class=\\\"inbox__conversation-sidebar__add-card-ghost u__pointer-cursor\\\">\\n        <div\\n          data-test-sidebar-add-card-button\\n          {{on 'click' this.trackAddAppButtonClick}}\\n        >\\n          <div class=\\\"inbox__conversation-sidebar__add-card-ghost-text\\\">\\n            {{ic-interface-icon \\\"follow\\\" color=\\\"green\\\"}} Show more\\n          </div>\\n          <div\\n            class=\\\"inbox__conversation-sidebar__add-card-subtext\\\"\\n            data-test-add-card-subtext\\n          >\\n            {{#if this.notificationCount}}\\n              <span class=\\\"inbox__conversation-sidebar__add-card-notification-dot\\\"></span>\\n              {{this.notificationCount}} new available\\n            {{else if (gt @sectionsNotInSidebar.length 0)}}\\n              {{@sectionsNotInSidebar.length}} available\\n            {{else}}\\n              Get more in the App Store\\n            {{/if}}\\n          </div>\\n        </div>\\n      </IcCard>\\n    </popover.Opener>\\n    <popover.Content @fullBleed={{true}}>\\n      <Inbox::ConversationSidebar::AppInserter\\n        @sectionsNotInSidebar={{@sectionsNotInSidebar}}\\n        @sectionsList={{@sectionsList}}\\n        @deleteNotifications={{@deleteNotifications}}\\n        @hidePopover={{popover.hide}}\\n      />\\n    </popover.Content>\\n  </Popover>\\n</div>\\n\", {\"contents\":\"<div class=\\\"inbox__conversation-sidebar__section\\\">\\n  <Popover\\n    @showOn={{array 'click'}}\\n    @hideOn={{array 'click' 'clickout'}}\\n    @placement=\\\"left\\\"\\n    @showArrow={{true}}\\n    @preventOverflow={{true}}\\n    class=\\\"u__display-block\\\"\\n    as |popover|\\n  >\\n    <popover.Opener>\\n      <IcCard class=\\\"inbox__conversation-sidebar__add-card-ghost u__pointer-cursor\\\">\\n        <div\\n          data-test-sidebar-add-card-button\\n          {{on 'click' this.trackAddAppButtonClick}}\\n        >\\n          <div class=\\\"inbox__conversation-sidebar__add-card-ghost-text\\\">\\n            {{ic-interface-icon \\\"follow\\\" color=\\\"green\\\"}} Show more\\n          </div>\\n          <div\\n            class=\\\"inbox__conversation-sidebar__add-card-subtext\\\"\\n            data-test-add-card-subtext\\n          >\\n            {{#if this.notificationCount}}\\n              <span class=\\\"inbox__conversation-sidebar__add-card-notification-dot\\\"></span>\\n              {{this.notificationCount}} new available\\n            {{else if (gt @sectionsNotInSidebar.length 0)}}\\n              {{@sectionsNotInSidebar.length}} available\\n            {{else}}\\n              Get more in the App Store\\n            {{/if}}\\n          </div>\\n        </div>\\n      </IcCard>\\n    </popover.Opener>\\n    <popover.Content @fullBleed={{true}}>\\n      <Inbox::ConversationSidebar::AppInserter\\n        @sectionsNotInSidebar={{@sectionsNotInSidebar}}\\n        @sectionsList={{@sectionsList}}\\n        @deleteNotifications={{@deleteNotifications}}\\n        @hidePopover={{popover.hide}}\\n      />\\n    </popover.Content>\\n  </Popover>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/card-inserter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/card-inserter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class InboxConversationSidebarCardInserter extends Component {\n  @service intercomEventService;\n\n  get notificationCount() {\n    return this.args.sectionsNotInSidebar.filter(section => section.notifiable).length;\n  }\n\n  @action\n  trackAddAppButtonClick() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'open_app_inserter',\n      object: 'inbox_sidebar',\n      section: 'respond',\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}} as |sidebarSection|\\n>\\n  <sidebarSection.title>\\n    <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n      <Inbox::ConversationSidebar::Section::CardIcon @section={{@section}} />\\n      <div class=\\\"layout__box o__flexes-to-1 t__h4 u__padl__10 u__one-truncated-line\\\">\\n        {{@section.name}}\\n      </div>\\n    </div>\\n  </sidebarSection.title>\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      <AppFramework::InboxApps::Frame\\n        class=\\\"app-framework__inbox-apps__frame\\\"\\n        @inboxAppId={{@section.inboxAppId}}\\n        @conversation={{@conversation}}\\n        @user={{@user}}\\n      />\\n    </body.content>\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\", {\"contents\":\"<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}} as |sidebarSection|\\n>\\n  <sidebarSection.title>\\n    <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n      <Inbox::ConversationSidebar::Section::CardIcon @section={{@section}} />\\n      <div class=\\\"layout__box o__flexes-to-1 t__h4 u__padl__10 u__one-truncated-line\\\">\\n        {{@section.name}}\\n      </div>\\n    </div>\\n  </sidebarSection.title>\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      <AppFramework::InboxApps::Frame\\n        class=\\\"app-framework__inbox-apps__frame\\\"\\n        @inboxAppId={{@section.inboxAppId}}\\n        @conversation={{@conversation}}\\n        @user={{@user}}\\n      />\\n    </body.content>\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/app-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/app-card.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  @hideSpaceBetweenTitleAndBody={{gt @user.campaigns.length 0}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Campaigns\\\" />\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      {{#each @user.campaigns as |campaign|}}\\n        <UserCampaignComponent @app={{@app}} @campaign={{campaign}} />\\n      {{else}}\\n        <span class=\\\"text-gray\\\">\\n          No campaigns\\n        </span>\\n      {{/each}}\\n    </body.content>\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\", {\"contents\":\"<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  @hideSpaceBetweenTitleAndBody={{gt @user.campaigns.length 0}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Campaigns\\\" />\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      {{#each @user.campaigns as |campaign|}}\\n        <UserCampaignComponent @app={{@app}} @campaign={{campaign}} />\\n      {{else}}\\n        <span class=\\\"text-gray\\\">\\n          No campaigns\\n        </span>\\n      {{/each}}\\n    </body.content>\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/campaigns.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/campaigns.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  @hideSpaceBetweenTitleAndBody={{gt this.companies.length 0}}\\n  as |sidebarSection|\\n>\\n  {{#if this.companies}}\\n    <sidebarSection.title>\\n      {{#unless hideCompanyName}}\\n        {{#let this.companies.firstObject as |firstCompany|}}\\n          <Inbox::ConversationSidebar::CompanyDetailsTitle\\n            @company={{firstCompany}}\\n          />\\n        {{/let}}\\n      {{/unless}}\\n    </sidebarSection.title>\\n    {{#if this.companies.isPending}}\\n      <sidebarSection.body as |body|>\\n        <body.content>\\n          <div class=\\\"mt-2\\\">\\n            <IcLoadingIndicator @size=\\\"small\\\"/>\\n          </div>\\n        </body.content>\\n      </sidebarSection.body>\\n    {{else}}\\n\\n      {{#each this.companies as |company index|}}\\n        <sidebarSection.body as |body|>\\n          <body.content>\\n            {{#unless hideCompanyName}}\\n              {{#unless (eq index 0)}}\\n                <Inbox::ConversationSidebar::CompanyDetailsTitle\\n                  @company={{company}}\\n                />\\n              {{/unless}}\\n            {{/unless}}\\n            {{#if this.attributeService.visibleCompanyAttributes}}\\n              <Inbox::UserProfile::AttributeList\\n                @objects={{this.attributeService.visibleCompanyAttributes}}\\n                @editVisibilityMode={{editVisibilityMode}}\\n                @attributesVisible={{true}}\\n                @onCompany={{true}}\\n                @userOrCompany={{company}}\\n                @app={{@app}}\\n                @isHidden={{false}}\\n              />\\n            {{else}}\\n              <div class=\\\"u__mb__10 u__mt__10\\\">\\n              <span class=\\\"text-gray\\\">\\n                No visible details\\n              </span>\\n              </div>\\n            {{/if}}\\n          </body.content>\\n          <div class=\\\"u__padt__5 layout__box flex items-start\\\">\\n            <div class=\\\"flex-auto min-w-0\\\">\\n              {{#if this.attributeService.hiddenCompanyAttributes}}\\n                <body.expand-button @hiddenCount={{this.attributeService.hiddenCompanyAttributes.length}}/>\\n              {{/if}}\\n            </div>\\n            <Inbox::ConversationSidebar::SectionEditVisibilityButton\\n              @editVisibilityMode={{editVisibilityMode}}\\n              @sectionName=\\\"company_details\\\"\\n              @expandedContentVisibility={{body.expandedContentVisibility}}\\n            />\\n          </div>\\n          <body.expanded-content>\\n            <Inbox::UserProfile::AttributeList\\n              @objects={{this.attributeService.hiddenCompanyAttributes}}\\n              @editVisibilityMode={{this.editVisibilityMode}}\\n              @attributesVisible={{false}}\\n              @onCompany={{true}}\\n              @userOrCompany={{company}}\\n              @app={{@app}}\\n            />\\n          </body.expanded-content>\\n          <body.content>\\n            {{#if (not-eq index (sub this.companies.length 1))}}\\n              <div class=\\\"inbox__conversation-sidebar__separator o__with-vertical-spacing\\\"></div>\\n            {{/if}}\\n          </body.content>\\n        </sidebarSection.body>\\n      {{/each}}\\n    {{/if}}\\n  {{else}}\\n    <sidebarSection.title @title=\\\"Company details\\\"/>\\n    <sidebarSection.body as |body|>\\n      <body.content>\\n        <span class=\\\"text-gray\\\">\\n          No company\\n        </span>\\n      </body.content>\\n    </sidebarSection.body>\\n  {{/if}}\\n</Inbox::ConversationSidebar::Section>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  @hideSpaceBetweenTitleAndBody={{gt this.companies.length 0}}\\n  as |sidebarSection|\\n>\\n  {{#if this.companies}}\\n    <sidebarSection.title>\\n      {{#unless hideCompanyName}}\\n        {{#let this.companies.firstObject as |firstCompany|}}\\n          <Inbox::ConversationSidebar::CompanyDetailsTitle\\n            @company={{firstCompany}}\\n          />\\n        {{/let}}\\n      {{/unless}}\\n    </sidebarSection.title>\\n    {{#if this.companies.isPending}}\\n      <sidebarSection.body as |body|>\\n        <body.content>\\n          <div class=\\\"mt-2\\\">\\n            <IcLoadingIndicator @size=\\\"small\\\"/>\\n          </div>\\n        </body.content>\\n      </sidebarSection.body>\\n    {{else}}\\n\\n      {{#each this.companies as |company index|}}\\n        <sidebarSection.body as |body|>\\n          <body.content>\\n            {{#unless hideCompanyName}}\\n              {{#unless (eq index 0)}}\\n                <Inbox::ConversationSidebar::CompanyDetailsTitle\\n                  @company={{company}}\\n                />\\n              {{/unless}}\\n            {{/unless}}\\n            {{#if this.attributeService.visibleCompanyAttributes}}\\n              <Inbox::UserProfile::AttributeList\\n                @objects={{this.attributeService.visibleCompanyAttributes}}\\n                @editVisibilityMode={{editVisibilityMode}}\\n                @attributesVisible={{true}}\\n                @onCompany={{true}}\\n                @userOrCompany={{company}}\\n                @app={{@app}}\\n                @isHidden={{false}}\\n              />\\n            {{else}}\\n              <div class=\\\"u__mb__10 u__mt__10\\\">\\n              <span class=\\\"text-gray\\\">\\n                No visible details\\n              </span>\\n              </div>\\n            {{/if}}\\n          </body.content>\\n          <div class=\\\"u__padt__5 layout__box flex items-start\\\">\\n            <div class=\\\"flex-auto min-w-0\\\">\\n              {{#if this.attributeService.hiddenCompanyAttributes}}\\n                <body.expand-button @hiddenCount={{this.attributeService.hiddenCompanyAttributes.length}}/>\\n              {{/if}}\\n            </div>\\n            <Inbox::ConversationSidebar::SectionEditVisibilityButton\\n              @editVisibilityMode={{editVisibilityMode}}\\n              @sectionName=\\\"company_details\\\"\\n              @expandedContentVisibility={{body.expandedContentVisibility}}\\n            />\\n          </div>\\n          <body.expanded-content>\\n            <Inbox::UserProfile::AttributeList\\n              @objects={{this.attributeService.hiddenCompanyAttributes}}\\n              @editVisibilityMode={{this.editVisibilityMode}}\\n              @attributesVisible={{false}}\\n              @onCompany={{true}}\\n              @userOrCompany={{company}}\\n              @app={{@app}}\\n            />\\n          </body.expanded-content>\\n          <body.content>\\n            {{#if (not-eq index (sub this.companies.length 1))}}\\n              <div class=\\\"inbox__conversation-sidebar__separator o__with-vertical-spacing\\\"></div>\\n            {{/if}}\\n          </body.content>\\n        </sidebarSection.body>\\n      {{/each}}\\n    {{/if}}\\n  {{else}}\\n    <sidebarSection.title @title=\\\"Company details\\\"/>\\n    <sidebarSection.body as |body|>\\n      <body.content>\\n        <span class=\\\"text-gray\\\">\\n          No company\\n        </span>\\n      </body.content>\\n    </sidebarSection.body>\\n  {{/if}}\\n</Inbox::ConversationSidebar::Section>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/company-details.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/company-details.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  tagName: '',\n  attributeService: service(),\n  editVisibilityMode: false,\n  companies: or('userCompanies', 'user.companies'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  @hideSpaceBetweenTitleAndBody={{eq @userCompanies.length 1}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Company notes\\\" />\\n  {{#if this.companies.isPending}}\\n    <sidebarSection.body as |body|>\\n      <body.content>\\n        <div class=\\\"h-5\\\"></div>\\n        <div class=\\\"inbox__conversations__blank-content\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\" />\\n        </div>\\n      </body.content>\\n    </sidebarSection.body>\\n  {{else}}\\n    {{#if @userCompanies}}\\n      {{#each @userCompanies as |company index|}}\\n        <sidebarSection.body as |body|>\\n          <body.content>\\n            {{#if (gt @userCompanies.length 1)}}\\n              <LinkTo\\n                @route=\\\"apps.app.companies.company\\\"\\n                @model={{company.id}}\\n                class=\\\"profile-sidebar-section__section-title t__solo-link\\\"\\n                data-test-company-title={{company.name}}\\n              >\\n                {{company.name}}\\n              </LinkTo>\\n            {{/if}}\\n            <div class=\\\"u__padt__10 profile-sidebar-section__overflow-auto\\\">\\n              <div class=\\\"profile-sidebar-section__overflow-auto\\\">\\n                <Users::Profile::NoteComposerComponent\\n                  @notable={{company}}\\n                  @isCompany={{true}}\\n                />\\n                {{#if company.notes}}\\n                  <div>\\n                    {{#each (slice 0 2 company.notes) as |note|}}\\n                      <UserProfileNoteComponent\\n                        @note={{note}}\\n                        @notable={{company}}\\n                      />\\n                    {{/each}}\\n                  </div>\\n                {{/if}}\\n              </div>\\n            </div>\\n          </body.content>\\n          {{#liquid-if (gt company.notes.length 2) class=\\\"animation__flex-grow\\\"}}\\n            <div class=\\\"u__padt__5 layout__box flex items-start\\\">\\n              <div class=\\\"flex-auto min-w-0\\\">\\n                <body.expand-button @hiddenCount={{sub company.notes.length 2}}/>\\n              </div>\\n            </div>\\n          {{/liquid-if}}\\n          <body.expanded-content>\\n            {{#if (gt company.notes.length 2)}}\\n              <div class=\\\"h-2\\\"></div>\\n              {{#each (slice 2 company.notes.length company.notes) as |note|}}\\n                <UserProfileNoteComponent\\n                  @app={{@app}}\\n                  @note={{note}}\\n                  @notable={{company}}\\n                  @currentAdmin={{@app.currentAdmin}}\\n                  @appTimezone={{this.appTimezone}}\\n                />\\n              {{/each}}\\n            {{/if}}\\n          </body.expanded-content>\\n          <body.content>\\n            {{#if (not-eq index (sub @userCompanies.length 1))}}\\n              <div class=\\\"inbox__conversation-sidebar__separator o__with-vertical-spacing\\\"></div>\\n            {{/if}}\\n          </body.content>\\n        </sidebarSection.body>\\n      {{/each}}\\n    {{else}}\\n      <sidebarSection.body as |body|>\\n        <body.content>\\n          <span class=\\\"text-gray\\\">\\n            No company\\n          </span>\\n        </body.content>\\n      </sidebarSection.body>\\n    {{/if}}\\n  {{/if}}\\n</Inbox::ConversationSidebar::Section>\\n\", {\"contents\":\"<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  @hideSpaceBetweenTitleAndBody={{eq @userCompanies.length 1}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Company notes\\\" />\\n  {{#if this.companies.isPending}}\\n    <sidebarSection.body as |body|>\\n      <body.content>\\n        <div class=\\\"h-5\\\"></div>\\n        <div class=\\\"inbox__conversations__blank-content\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\" />\\n        </div>\\n      </body.content>\\n    </sidebarSection.body>\\n  {{else}}\\n    {{#if @userCompanies}}\\n      {{#each @userCompanies as |company index|}}\\n        <sidebarSection.body as |body|>\\n          <body.content>\\n            {{#if (gt @userCompanies.length 1)}}\\n              <LinkTo\\n                @route=\\\"apps.app.companies.company\\\"\\n                @model={{company.id}}\\n                class=\\\"profile-sidebar-section__section-title t__solo-link\\\"\\n                data-test-company-title={{company.name}}\\n              >\\n                {{company.name}}\\n              </LinkTo>\\n            {{/if}}\\n            <div class=\\\"u__padt__10 profile-sidebar-section__overflow-auto\\\">\\n              <div class=\\\"profile-sidebar-section__overflow-auto\\\">\\n                <Users::Profile::NoteComposerComponent\\n                  @notable={{company}}\\n                  @isCompany={{true}}\\n                />\\n                {{#if company.notes}}\\n                  <div>\\n                    {{#each (slice 0 2 company.notes) as |note|}}\\n                      <UserProfileNoteComponent\\n                        @note={{note}}\\n                        @notable={{company}}\\n                      />\\n                    {{/each}}\\n                  </div>\\n                {{/if}}\\n              </div>\\n            </div>\\n          </body.content>\\n          {{#liquid-if (gt company.notes.length 2) class=\\\"animation__flex-grow\\\"}}\\n            <div class=\\\"u__padt__5 layout__box flex items-start\\\">\\n              <div class=\\\"flex-auto min-w-0\\\">\\n                <body.expand-button @hiddenCount={{sub company.notes.length 2}}/>\\n              </div>\\n            </div>\\n          {{/liquid-if}}\\n          <body.expanded-content>\\n            {{#if (gt company.notes.length 2)}}\\n              <div class=\\\"h-2\\\"></div>\\n              {{#each (slice 2 company.notes.length company.notes) as |note|}}\\n                <UserProfileNoteComponent\\n                  @app={{@app}}\\n                  @note={{note}}\\n                  @notable={{company}}\\n                  @currentAdmin={{@app.currentAdmin}}\\n                  @appTimezone={{this.appTimezone}}\\n                />\\n              {{/each}}\\n            {{/if}}\\n          </body.expanded-content>\\n          <body.content>\\n            {{#if (not-eq index (sub @userCompanies.length 1))}}\\n              <div class=\\\"inbox__conversation-sidebar__separator o__with-vertical-spacing\\\"></div>\\n            {{/if}}\\n          </body.content>\\n        </sidebarSection.body>\\n      {{/each}}\\n    {{else}}\\n      <sidebarSection.body as |body|>\\n        <body.content>\\n          <span class=\\\"text-gray\\\">\\n            No company\\n          </span>\\n        </body.content>\\n      </sidebarSection.body>\\n    {{/if}}\\n  {{/if}}\\n</Inbox::ConversationSidebar::Section>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/company-notes.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/company-notes.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  @hideSpaceBetweenTitleAndBody={{eq @userCompanies.length 1}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Company segments\\\" />\\n  {{#if this.companies.isPending}}\\n    <sidebarSection.body as |body|>\\n      <body.content>\\n        <div class=\\\"h-5\\\"></div>\\n        <div class=\\\"inbox__conversations__blank-content\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\" />\\n        </div>\\n      </body.content>\\n    </sidebarSection.body>\\n  {{else}}\\n    {{#if @userCompanies}}\\n      {{#each @userCompanies as |company index|}}\\n        <sidebarSection.body as |body|>\\n          <body.content>\\n            {{#if (not-eq index 0)}}\\n              <div class=\\\"inbox__conversation-sidebar__separator o__with-vertical-spacing\\\"></div>\\n            {{/if}}\\n            {{#if (gt @userCompanies.length 1)}}\\n              <div class=\\\"profile-sidebar-section__section-title\\\">\\n                <LinkTo\\n                  @route=\\\"apps.app.companies.company\\\"\\n                  @model={{company.id}}\\n                  class=\\\"profile-sidebar-section__section-title t__solo-link\\\"\\n                  data-test-company-title={{company.name}}\\n                >\\n                  {{company.name}}\\n                </LinkTo>\\n              </div>\\n            {{/if}}\\n            {{#if company.segments}}\\n              <div class=\\\"profile-sidebar-section__overflow-auto\\\">\\n                {{#let (visibility/visible-segments (get company.segments \\\"[]\\\")) as |visibleSegments|}}\\n                  {{#if visibleSegments}}\\n                    <SegmentsList\\n                      @app={{@app}}\\n                      @admin={{@app.currentAdmin}}\\n                      @segments={{visibleSegments}}\\n                      @taggable={{company}}\\n                    />\\n                  {{else}}\\n                    <div class=\\\"inbox__conversation-sidebar__space\\\"></div>\\n                    <span class=\\\"text-gray\\\">\\n                      No visible segments\\n                    </span>\\n                  {{/if}}\\n                {{/let}}\\n              </div>\\n            {{else}}\\n              <div class=\\\"inbox__conversation-sidebar__space\\\"></div>\\n              <span class=\\\"text-gray\\\">\\n                No segments\\n              </span>\\n            {{/if}}\\n          </body.content>\\n          {{#let (visibility/hidden-segments (get company.segments \\\"[]\\\")) as |hiddenSegments|}}\\n            {{#if company.segments}}\\n              <div class=\\\"flex items-start inbox__conversation-sidebar__default-top-margin\\\">\\n                <div class=\\\"flex-auto min-w-0\\\">\\n                  {{#if hiddenSegments}}\\n                    <body.expand-button @hiddenCount={{hiddenSegments.length}}/>\\n                  {{/if}}\\n                </div>\\n                <div class=\\\"u__ml__10\\\">\\n                  <a\\n                    class=\\\"btn__tertiary__deemphasized\\\"\\n                    href=\\\"{{href-to \\\"apps.app.account.visibility.company-segments\\\"}}\\\"\\n                    {{on \\\"click\\\" (track-analytics-event action=\\\"clicked\\\" object=\\\"company_segments_visibility_button\\\")}}\\n                    data-test-edit-segments-visibility\\n                  >\\n                    Edit\\n                  </a>\\n                </div>\\n              </div>\\n            {{/if}}\\n            <div class=\\\"profile-sidebar-section__overflow-auto\\\">\\n              <body.expanded-content>\\n                <SegmentsList\\n                  @app={{@app}}\\n                  @admin={{@app.currentAdmin}}\\n                  @segments={{hiddenSegments}}\\n                  @taggable={{company}}\\n                />\\n              </body.expanded-content>\\n            </div>\\n          {{/let}}\\n        </sidebarSection.body>\\n      {{/each}}\\n    {{else}}\\n      <sidebarSection.body as |body|>\\n        <body.content>\\n          <span class=\\\"text-gray\\\">\\n            No company\\n          </span>\\n        </body.content>\\n      </sidebarSection.body>\\n    {{/if}}\\n  {{/if}}\\n</Inbox::ConversationSidebar::Section>\\n\", {\"contents\":\"<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  @hideSpaceBetweenTitleAndBody={{eq @userCompanies.length 1}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Company segments\\\" />\\n  {{#if this.companies.isPending}}\\n    <sidebarSection.body as |body|>\\n      <body.content>\\n        <div class=\\\"h-5\\\"></div>\\n        <div class=\\\"inbox__conversations__blank-content\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\" />\\n        </div>\\n      </body.content>\\n    </sidebarSection.body>\\n  {{else}}\\n    {{#if @userCompanies}}\\n      {{#each @userCompanies as |company index|}}\\n        <sidebarSection.body as |body|>\\n          <body.content>\\n            {{#if (not-eq index 0)}}\\n              <div class=\\\"inbox__conversation-sidebar__separator o__with-vertical-spacing\\\"></div>\\n            {{/if}}\\n            {{#if (gt @userCompanies.length 1)}}\\n              <div class=\\\"profile-sidebar-section__section-title\\\">\\n                <LinkTo\\n                  @route=\\\"apps.app.companies.company\\\"\\n                  @model={{company.id}}\\n                  class=\\\"profile-sidebar-section__section-title t__solo-link\\\"\\n                  data-test-company-title={{company.name}}\\n                >\\n                  {{company.name}}\\n                </LinkTo>\\n              </div>\\n            {{/if}}\\n            {{#if company.segments}}\\n              <div class=\\\"profile-sidebar-section__overflow-auto\\\">\\n                {{#let (visibility/visible-segments (get company.segments \\\"[]\\\")) as |visibleSegments|}}\\n                  {{#if visibleSegments}}\\n                    <SegmentsList\\n                      @app={{@app}}\\n                      @admin={{@app.currentAdmin}}\\n                      @segments={{visibleSegments}}\\n                      @taggable={{company}}\\n                    />\\n                  {{else}}\\n                    <div class=\\\"inbox__conversation-sidebar__space\\\"></div>\\n                    <span class=\\\"text-gray\\\">\\n                      No visible segments\\n                    </span>\\n                  {{/if}}\\n                {{/let}}\\n              </div>\\n            {{else}}\\n              <div class=\\\"inbox__conversation-sidebar__space\\\"></div>\\n              <span class=\\\"text-gray\\\">\\n                No segments\\n              </span>\\n            {{/if}}\\n          </body.content>\\n          {{#let (visibility/hidden-segments (get company.segments \\\"[]\\\")) as |hiddenSegments|}}\\n            {{#if company.segments}}\\n              <div class=\\\"flex items-start inbox__conversation-sidebar__default-top-margin\\\">\\n                <div class=\\\"flex-auto min-w-0\\\">\\n                  {{#if hiddenSegments}}\\n                    <body.expand-button @hiddenCount={{hiddenSegments.length}}/>\\n                  {{/if}}\\n                </div>\\n                <div class=\\\"u__ml__10\\\">\\n                  <a\\n                    class=\\\"btn__tertiary__deemphasized\\\"\\n                    href=\\\"{{href-to \\\"apps.app.account.visibility.company-segments\\\"}}\\\"\\n                    {{on \\\"click\\\" (track-analytics-event action=\\\"clicked\\\" object=\\\"company_segments_visibility_button\\\")}}\\n                    data-test-edit-segments-visibility\\n                  >\\n                    Edit\\n                  </a>\\n                </div>\\n              </div>\\n            {{/if}}\\n            <div class=\\\"profile-sidebar-section__overflow-auto\\\">\\n              <body.expanded-content>\\n                <SegmentsList\\n                  @app={{@app}}\\n                  @admin={{@app.currentAdmin}}\\n                  @segments={{hiddenSegments}}\\n                  @taggable={{company}}\\n                />\\n              </body.expanded-content>\\n            </div>\\n          {{/let}}\\n        </sidebarSection.body>\\n      {{/each}}\\n    {{else}}\\n      <sidebarSection.body as |body|>\\n        <body.content>\\n          <span class=\\\"text-gray\\\">\\n            No company\\n          </span>\\n        </body.content>\\n      </sidebarSection.body>\\n    {{/if}}\\n  {{/if}}\\n</Inbox::ConversationSidebar::Section>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/company-segments.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/company-segments.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class CompanySegments extends Component {\n  constructor() {\n    super(...arguments);\n    this.args.userCompanies.forEach(company => {\n      company.loadSegments.perform();\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  @hideSpaceBetweenTitleAndBody={{eq @userCompanies.length 1}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Company tags\\\" />\\n  {{#if this.companies.isPending}}\\n    <sidebarSection.body as |body|>\\n      <body.content>\\n        <div class=\\\"h-5\\\"></div>\\n        <div class=\\\"inbox__conversations__blank-content\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\" />\\n        </div>\\n      </body.content>\\n    </sidebarSection.body>\\n  {{else}}\\n    {{#if @userCompanies}}\\n      {{#each @userCompanies as |company index|}}\\n        <sidebarSection.body as |body|>\\n          <body.content>\\n            {{#if (not-eq index 0)}}\\n              <div class=\\\"inbox__conversation-sidebar__separator o__with-vertical-spacing\\\"></div>\\n            {{/if}}\\n            {{#if (gt @userCompanies.length 1)}}\\n              <LinkTo\\n                @route=\\\"apps.app.companies.company\\\"\\n                @model={{company.id}}\\n                class=\\\"profile-sidebar-section__section-title t__solo-link\\\"\\n                data-test-company-title={{company.name}}\\n              >\\n                {{company.name}}\\n              </LinkTo>\\n            {{/if}}\\n            <div class=\\\"profile-sidebar-section__overflow-auto\\\">\\n              <TagsList\\n                @app={{@app}}\\n                @admin={{@app.currentAdmin}}\\n                @taggings={{visibility/visible-tags (get company.taggings \\\"[]\\\")}}\\n                @taggable={{company}}\\n                @taggingModalAction={{action \\\"openModalFromCompanyTags\\\"}}\\n              />\\n            </div>\\n          </body.content>\\n          {{#let (visibility/hidden-tags (get company.taggings \\\"[]\\\")) as |hiddenTaggings|}}\\n            {{#if company.taggings}}\\n              <div class=\\\"flex items-start inbox__conversation-sidebar__default-top-margin\\\">\\n                <div class=\\\"flex-auto min-w-0\\\">\\n                  {{#if hiddenTaggings}}\\n                    <body.expand-button @hiddenCount={{hiddenTaggings.length}}/>\\n                  {{/if}}\\n                </div>\\n                <div class=\\\"u__ml__10\\\">\\n                  <a\\n                    class=\\\"btn__tertiary__deemphasized\\\"\\n                    href=\\\"{{href-to \\\"apps.app.account.visibility.tags\\\"}}\\\"\\n                    data-test-edit-tags-visibility\\n                    {{action \\\"navigateToVisibilitySettings\\\"}}\\n                  >\\n                    Edit\\n                  </a>\\n                </div>\\n              </div>\\n            {{/if}}\\n            <div class=\\\"profile-sidebar-section__overflow-auto\\\">\\n              <body.expanded-content>\\n                <TagsList\\n                  @app={{@app}}\\n                  @admin={{@app.currentAdmin}}\\n                  @taggings={{hiddenTaggings}}\\n                  @taggable={{company}}\\n                  @hideAddTagButton={{true}}\\n                />\\n              </body.expanded-content>\\n            </div>\\n          {{/let}}\\n        </sidebarSection.body>\\n      {{/each}}\\n    {{else}}\\n      <sidebarSection.body as |body|>\\n        <body.content>\\n          <span class=\\\"text-gray\\\">\\n            No company\\n          </span>\\n        </body.content>\\n      </sidebarSection.body>\\n    {{/if}}\\n  {{/if}}\\n</Inbox::ConversationSidebar::Section>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  @hideSpaceBetweenTitleAndBody={{eq @userCompanies.length 1}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Company tags\\\" />\\n  {{#if this.companies.isPending}}\\n    <sidebarSection.body as |body|>\\n      <body.content>\\n        <div class=\\\"h-5\\\"></div>\\n        <div class=\\\"inbox__conversations__blank-content\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\" />\\n        </div>\\n      </body.content>\\n    </sidebarSection.body>\\n  {{else}}\\n    {{#if @userCompanies}}\\n      {{#each @userCompanies as |company index|}}\\n        <sidebarSection.body as |body|>\\n          <body.content>\\n            {{#if (not-eq index 0)}}\\n              <div class=\\\"inbox__conversation-sidebar__separator o__with-vertical-spacing\\\"></div>\\n            {{/if}}\\n            {{#if (gt @userCompanies.length 1)}}\\n              <LinkTo\\n                @route=\\\"apps.app.companies.company\\\"\\n                @model={{company.id}}\\n                class=\\\"profile-sidebar-section__section-title t__solo-link\\\"\\n                data-test-company-title={{company.name}}\\n              >\\n                {{company.name}}\\n              </LinkTo>\\n            {{/if}}\\n            <div class=\\\"profile-sidebar-section__overflow-auto\\\">\\n              <TagsList\\n                @app={{@app}}\\n                @admin={{@app.currentAdmin}}\\n                @taggings={{visibility/visible-tags (get company.taggings \\\"[]\\\")}}\\n                @taggable={{company}}\\n                @taggingModalAction={{action \\\"openModalFromCompanyTags\\\"}}\\n              />\\n            </div>\\n          </body.content>\\n          {{#let (visibility/hidden-tags (get company.taggings \\\"[]\\\")) as |hiddenTaggings|}}\\n            {{#if company.taggings}}\\n              <div class=\\\"flex items-start inbox__conversation-sidebar__default-top-margin\\\">\\n                <div class=\\\"flex-auto min-w-0\\\">\\n                  {{#if hiddenTaggings}}\\n                    <body.expand-button @hiddenCount={{hiddenTaggings.length}}/>\\n                  {{/if}}\\n                </div>\\n                <div class=\\\"u__ml__10\\\">\\n                  <a\\n                    class=\\\"btn__tertiary__deemphasized\\\"\\n                    href=\\\"{{href-to \\\"apps.app.account.visibility.tags\\\"}}\\\"\\n                    data-test-edit-tags-visibility\\n                    {{action \\\"navigateToVisibilitySettings\\\"}}\\n                  >\\n                    Edit\\n                  </a>\\n                </div>\\n              </div>\\n            {{/if}}\\n            <div class=\\\"profile-sidebar-section__overflow-auto\\\">\\n              <body.expanded-content>\\n                <TagsList\\n                  @app={{@app}}\\n                  @admin={{@app.currentAdmin}}\\n                  @taggings={{hiddenTaggings}}\\n                  @taggable={{company}}\\n                  @hideAddTagButton={{true}}\\n                />\\n              </body.expanded-content>\\n            </div>\\n          {{/let}}\\n        </sidebarSection.body>\\n      {{/each}}\\n    {{else}}\\n      <sidebarSection.body as |body|>\\n        <body.content>\\n          <span class=\\\"text-gray\\\">\\n            No company\\n          </span>\\n        </body.content>\\n      </sidebarSection.body>\\n    {{/if}}\\n  {{/if}}\\n</Inbox::ConversationSidebar::Section>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/company-tags.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/company-tags.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  router: service(),\n  intercomEventService: service(),\n\n  actions: {\n    openModalFromCompanyTags(controller, company) {\n      this.modalService.openModal('apps/app/companies/company/modals/tagging', company, null, {\n        taggable: company,\n      });\n    },\n\n    navigateToVisibilitySettings() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'company_tags_visibility_button',\n      });\n      this.router.transitionTo('apps.app.account.visibility.tags');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Customer support\\\" />\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      <Inbox::UserProfileCustomerSupportComponent @user={{@user}} />\\n    </body.content>\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\", {\"contents\":\"<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Customer support\\\" />\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      <Inbox::UserProfileCustomerSupportComponent @user={{@user}} />\\n    </body.content>\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/customer-support.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/customer-support.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  @hideSpaceBetweenTitleAndBody={{this.hasAdminVisibleEventSummaries}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Total events\\\" />\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      {{#if this.hasAdminVisibleEventSummaries}}\\n        <Inbox::UserProfile::EventSummaryList\\n          @objects={{this.visibleEventSummaries}}\\n          @editVisibilityMode={{editVisibilityMode}}\\n          @attributesVisible={{true}}\\n          @onCompany={{false}}\\n          @userOrCompany={{@user}}\\n          @app={{@app}}\\n          @isHidden={{false}}\\n        />\\n        <div class=\\\"u__padt__5 layout__box flex items-start\\\">\\n          <div class=\\\"flex-auto min-w-0\\\">\\n            {{#if this.hiddenEventSummaries}}\\n              <body.expand-button @hiddenCount={{this.hiddenEventSummaries.length}}/>\\n            {{/if}}\\n          </div>\\n          <Inbox::ConversationSidebar::SectionEditVisibilityButton\\n            @editVisibilityMode={{editVisibilityMode}}\\n            @sectionName=\\\"editable-events\\\"\\n            @expandedContentVisibility={{body.expandedContentVisibility}}\\n          />\\n        </div>\\n      {{else}}\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/configure-intercom/customize-intercom-to-be-about-your-users/set-up-event-tracking-in-intercom\\\"\\n          @title=\\\"Set up event tracking\\\"\\n          @type=\\\"article\\\"\\n        />\\n      {{/if}}\\n    </body.content>\\n    <body.expanded-content>\\n      <Inbox::UserProfile::EventSummaryList\\n        @objects={{this.hiddenEventSummaries}}\\n        @editVisibilityMode={{editVisibilityMode}}\\n        @attributesVisible={{false}}\\n        @onCompany={{false}}\\n        @userOrCompany={{@user}}\\n        @app={{@app}}\\n        @user={{@user}}\\n        @scrollContainerSelector={{@scrollContainerSelector}}\\n      />\\n    </body.expanded-content>\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  @hideSpaceBetweenTitleAndBody={{this.hasAdminVisibleEventSummaries}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Total events\\\" />\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      {{#if this.hasAdminVisibleEventSummaries}}\\n        <Inbox::UserProfile::EventSummaryList\\n          @objects={{this.visibleEventSummaries}}\\n          @editVisibilityMode={{editVisibilityMode}}\\n          @attributesVisible={{true}}\\n          @onCompany={{false}}\\n          @userOrCompany={{@user}}\\n          @app={{@app}}\\n          @isHidden={{false}}\\n        />\\n        <div class=\\\"u__padt__5 layout__box flex items-start\\\">\\n          <div class=\\\"flex-auto min-w-0\\\">\\n            {{#if this.hiddenEventSummaries}}\\n              <body.expand-button @hiddenCount={{this.hiddenEventSummaries.length}}/>\\n            {{/if}}\\n          </div>\\n          <Inbox::ConversationSidebar::SectionEditVisibilityButton\\n            @editVisibilityMode={{editVisibilityMode}}\\n            @sectionName=\\\"editable-events\\\"\\n            @expandedContentVisibility={{body.expandedContentVisibility}}\\n          />\\n        </div>\\n      {{else}}\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/configure-intercom/customize-intercom-to-be-about-your-users/set-up-event-tracking-in-intercom\\\"\\n          @title=\\\"Set up event tracking\\\"\\n          @type=\\\"article\\\"\\n        />\\n      {{/if}}\\n    </body.content>\\n    <body.expanded-content>\\n      <Inbox::UserProfile::EventSummaryList\\n        @objects={{this.hiddenEventSummaries}}\\n        @editVisibilityMode={{editVisibilityMode}}\\n        @attributesVisible={{false}}\\n        @onCompany={{false}}\\n        @userOrCompany={{@user}}\\n        @app={{@app}}\\n        @user={{@user}}\\n        @scrollContainerSelector={{@scrollContainerSelector}}\\n      />\\n    </body.expanded-content>\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/events.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/events.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, sort } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  store: service(),\n  attributeService: service(),\n  editVisibilityMode: false,\n  eventSummariesSortKey: ['name'],\n  allEventSummaries: readOnly('user.event_summaries'),\n  sortedEventSummaries: sort('allEventSummaries', 'eventSummariesSortKey'),\n  visibleEventSummaries: computed(\n    'sortedEventSummaries.[]',\n    'attributeService.visibleEventNames.[]',\n    function() {\n      return this._findOrCreateEventSummaries(this.get('attributeService.visibleEventNames'));\n    },\n  ),\n  hiddenEventSummaries: computed(\n    'sortedEventSummaries.[]',\n    'attributeService.hiddenEventNames.[]',\n    function() {\n      return this._findOrCreateEventSummaries(this.get('attributeService.hiddenEventNames'));\n    },\n  ),\n  hasAdminVisibleEventSummaries: readOnly('attributeService.hasEvents'),\n  _findOrCreateEventSummaries(eventSet) {\n    let eventSummaries = [];\n    eventSet.forEach(eventName => {\n      let eventSummary = this.sortedEventSummaries.findBy('identifier', eventName);\n      if (eventSummary) {\n        eventSummaries.push(eventSummary);\n      } else {\n        eventSummaries.push(this._createDefaultSummary(eventName));\n      }\n    });\n    return eventSummaries;\n  },\n  _createDefaultSummary(eventName) {\n    let replacedName = eventName.replace(/user_event_summaries./, '');\n    return this.store.createFragment('event-summary', {\n      name: replacedName,\n      first: null,\n      last: null,\n      count: 0,\n      description: '',\n    });\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  as |sidebarSection|\\n>\\n  <div>\\n    <sidebarSection.title @title=\\\"External profiles\\\" />\\n    <sidebarSection.body as |body|>\\n      <body.content>\\n        {{#if (or @user.hasSocialAccounts activeProfiles)}}\\n          <Users::Profile::SocialDataDisplayComponent\\n            @socialData={{@user.displayableSocialAccounts}}\\n          />\\n          <Users::Profile::ExternalProfilesDisplayComponent\\n            @conversation={{@conversation}}\\n            @user={{@user}}\\n            @crm_profiles={{activeProfiles}}\\n          />\\n        {{else}}\\n          <span class=\\\"text-gray\\\">\\n            No external profiles\\n          </span>\\n        {{/if}}\\n      </body.content>\\n    </sidebarSection.body>\\n  </div>\\n</Inbox::ConversationSidebar::Section>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  as |sidebarSection|\\n>\\n  <div>\\n    <sidebarSection.title @title=\\\"External profiles\\\" />\\n    <sidebarSection.body as |body|>\\n      <body.content>\\n        {{#if (or @user.hasSocialAccounts activeProfiles)}}\\n          <Users::Profile::SocialDataDisplayComponent\\n            @socialData={{@user.displayableSocialAccounts}}\\n          />\\n          <Users::Profile::ExternalProfilesDisplayComponent\\n            @conversation={{@conversation}}\\n            @user={{@user}}\\n            @crm_profiles={{activeProfiles}}\\n          />\\n        {{else}}\\n          <span class=\\\"text-gray\\\">\\n            No external profiles\\n          </span>\\n        {{/if}}\\n      </body.content>\\n    </sidebarSection.body>\\n  </div>\\n</Inbox::ConversationSidebar::Section>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/external-profiles.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/external-profiles.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { match, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport RouteRegexes from 'embercom/lib/route-regexes';\n\nexport default Component.extend({\n  store: service(),\n  router: service(),\n\n  isOnUserRoute: match('router.currentRouteName', RouteRegexes.userRoute),\n  profiles: computed('app.crm_profiles', function() {\n    return this.app.crm_profiles.filter(profile => {\n      if (!this.app.canUseMarketoExternalProfile && profile === 'marketo_enrichment') {\n        return false;\n      }\n      return true;\n    });\n  }),\n  admin: readOnly('app.currentAdmin'),\n\n  hasSalesforceInboxApp: false,\n  hasHubSpotInboxApp: false,\n\n  loadHasCrmInboxApps: task(function*() {\n    if (this.isOnUserRoute) {\n      return;\n    }\n    let sidebarSectionsList = this.store.peekRecord(\n      'inbox/admin-app-sidebar-section-list',\n      `${this.get('app.id')}-${this.get('admin.id')}`,\n    );\n\n    if (sidebarSectionsList === null) {\n      sidebarSectionsList = yield this.store.queryRecord('inbox/admin-app-sidebar-section-list', {\n        filter: {\n          appId: this.get('app.id'),\n          adminId: this.get('admin.id'),\n        },\n      });\n    }\n\n    this.setProperties({\n      hasSalesforceInboxApp: sidebarSectionsList.sections.any(\n        section => section.name === 'Salesforce',\n      ),\n      hasHubSpotInboxApp: sidebarSectionsList.sections.any(section => section.name === 'HubSpot'),\n    });\n  }).drop(),\n\n  activeProfiles: ternaryToProperty('isOnUserRoute', 'profiles', 'filteredProfiles'),\n\n  filteredProfiles: computed('profiles', 'hasSalesforceInboxApp', 'hasHubSpotInboxApp', function() {\n    return this.profiles.filter(profile => {\n      if (this.hasSalesforceInboxApp && profile === 'salesforce') {\n        return false;\n      }\n      if (this.hasHubSpotInboxApp && profile === 'hubspot') {\n        return false;\n      }\n      return true;\n    });\n  }),\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.loadHasCrmInboxApps.perform();\n  },\n\n  didUpdateAttrs() {\n    this._super(...arguments);\n    this.loadHasCrmInboxApps.perform();\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  @padding=\\\"none\\\"\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title>\\n    <span\\n      class=\\\"t__h4 inbox__conversation-sidebar__padding-none-title\\\"\\n    >\\n      Latest conversations\\n    </span>\\n  </sidebarSection.title>\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      <Conversation::LatestConversationsComponent\\n        @userId={{@user.id}}\\n        @ignorableConversationId={{@conversation.id}}\\n        @conversation={{@conversation}}\\n      />\\n    </body.content>\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\", {\"contents\":\"<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  @padding=\\\"none\\\"\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title>\\n    <span\\n      class=\\\"t__h4 inbox__conversation-sidebar__padding-none-title\\\"\\n    >\\n      Latest conversations\\n    </span>\\n  </sidebarSection.title>\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      <Conversation::LatestConversationsComponent\\n        @userId={{@user.id}}\\n        @ignorableConversationId={{@conversation.id}}\\n        @conversation={{@conversation}}\\n      />\\n    </body.content>\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/latest-conversations.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/latest-conversations.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Notes\\\" @prefix={{@user.typeLabel}} />\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      <Users::Profile::NoteComposerComponent\\n        @notable={{@user}}\\n        @isCompany={{false}}\\n      />\\n      {{#each (take 2 @user.notes) as |note|}}\\n        <UserProfileNoteComponent @note={{note}} @notable={{@user}} />\\n      {{/each}}\\n    </body.content>\\n\\n    {{#let (drop 2 @user.notes) as |hiddenNotes|}}\\n      <body.expanded-content>\\n        {{#each hiddenNotes as |note|}}\\n          <UserProfileNoteComponent @note={{note}} @notable={{@user}} />\\n        {{/each}}\\n      </body.expanded-content>\\n      <body.expand-button @hiddenCount={{hiddenNotes.length}} />\\n    {{/let}}\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\", {\"contents\":\"<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Notes\\\" @prefix={{@user.typeLabel}} />\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      <Users::Profile::NoteComposerComponent\\n        @notable={{@user}}\\n        @isCompany={{false}}\\n      />\\n      {{#each (take 2 @user.notes) as |note|}}\\n        <UserProfileNoteComponent @note={{note}} @notable={{@user}} />\\n      {{/each}}\\n    </body.content>\\n\\n    {{#let (drop 2 @user.notes) as |hiddenNotes|}}\\n      <body.expanded-content>\\n        {{#each hiddenNotes as |note|}}\\n          <UserProfileNoteComponent @note={{note}} @notable={{@user}} />\\n        {{/each}}\\n      </body.expanded-content>\\n      <body.expand-button @hiddenCount={{hiddenNotes.length}} />\\n    {{/let}}\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/notes.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/notes.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Qualification\\\"/>\\n  {{#if @user.companies.isPending}}\\n    <sidebarSection.body as |body|>\\n      <body.content>\\n        <div class=\\\"h-5\\\"></div>\\n        <div class=\\\"inbox__conversations__blank-content\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\"/>\\n        </div>\\n      </body.content>\\n    </sidebarSection.body>\\n  {{else}}\\n    <sidebarSection.body as |body|>\\n      <body.content>\\n        {{#if this.showQualificationAttributeList}}\\n          <People::Attributes::QualificationAttributeList\\n            @qualificationAttributes={{this.qualificationAttributes}}\\n            @person={{@user}}\\n          />\\n        {{else}}\\n          <span class=\\\"t__light-text\\\">\\n          No qualification\\n        </span>\\n        {{/if}}\\n      </body.content>\\n    </sidebarSection.body>\\n  {{/if}}\\n</Inbox::ConversationSidebar::Section>\\n\", {\"contents\":\"<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Qualification\\\"/>\\n  {{#if @user.companies.isPending}}\\n    <sidebarSection.body as |body|>\\n      <body.content>\\n        <div class=\\\"h-5\\\"></div>\\n        <div class=\\\"inbox__conversations__blank-content\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\"/>\\n        </div>\\n      </body.content>\\n    </sidebarSection.body>\\n  {{else}}\\n    <sidebarSection.body as |body|>\\n      <body.content>\\n        {{#if this.showQualificationAttributeList}}\\n          <People::Attributes::QualificationAttributeList\\n            @qualificationAttributes={{this.qualificationAttributes}}\\n            @person={{@user}}\\n          />\\n        {{else}}\\n          <span class=\\\"t__light-text\\\">\\n          No qualification\\n        </span>\\n        {{/if}}\\n      </body.content>\\n    </sidebarSection.body>\\n  {{/if}}\\n</Inbox::ConversationSidebar::Section>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/qualification.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/qualification.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { notEmpty, readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  qualificationAttributes: readOnly('app.qualification_attributes'),\n  showQualificationAttributeList: notEmpty('qualificationAttributes'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Recent events\\\" />\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      {{#if showInitSpinner}}\\n        <div class=\\\"inbox__conversations__blank-content__app-section\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\" />\\n        </div>\\n      {{else}}\\n        {{#if hasActivities}}\\n          <ul class=\\\"inbox__recent-page-views__list\\\">\\n            {{#each visibleEvents as |item|}}\\n              <li data-test-list-item>\\n                <Inbox::EventListItem\\n                  @name={{item.event_name}}\\n                  @timestamp={{item.created_at}}\\n                  @metadata={{item.metadata}}\\n                  @isEvent={{true}}\\n                />\\n              </li>\\n            {{/each}}\\n          </ul>\\n          {{#if (or isLoadMoreVisible isShowLessVisible)}}\\n            <div class=\\\"u__padt__5 flex items-start\\\">\\n              <div class=\\\"flex-auto min-w-0\\\">\\n                {{#if isLoadMoreVisible}}\\n                  <a\\n                    class=\\\"btn__tertiary__deemphasized\\\"\\n                    data-test-load-more\\n                    {{action \\\"loadMore\\\"}}\\n                  >\\n                    Load more\\n                  </a>\\n                {{/if}}\\n              </div>\\n              {{#if isShowLessVisible}}\\n                <div>\\n                  <a\\n                    class=\\\"btn__tertiary__deemphasized\\\"\\n                    data-test-show-less\\n                    {{action \\\"loadLess\\\"}}\\n                  >\\n                    Show less\\n                  </a>\\n                </div>\\n              {{/if}}\\n            </div>\\n          {{/if}}\\n        {{else}}\\n          <span class=\\\"text-gray\\\" data-test-no-items>\\n            No recent events\\n          </span>\\n        {{/if}}\\n      {{/if}}\\n    </body.content>\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Recent events\\\" />\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      {{#if showInitSpinner}}\\n        <div class=\\\"inbox__conversations__blank-content__app-section\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\" />\\n        </div>\\n      {{else}}\\n        {{#if hasActivities}}\\n          <ul class=\\\"inbox__recent-page-views__list\\\">\\n            {{#each visibleEvents as |item|}}\\n              <li data-test-list-item>\\n                <Inbox::EventListItem\\n                  @name={{item.event_name}}\\n                  @timestamp={{item.created_at}}\\n                  @metadata={{item.metadata}}\\n                  @isEvent={{true}}\\n                />\\n              </li>\\n            {{/each}}\\n          </ul>\\n          {{#if (or isLoadMoreVisible isShowLessVisible)}}\\n            <div class=\\\"u__padt__5 flex items-start\\\">\\n              <div class=\\\"flex-auto min-w-0\\\">\\n                {{#if isLoadMoreVisible}}\\n                  <a\\n                    class=\\\"btn__tertiary__deemphasized\\\"\\n                    data-test-load-more\\n                    {{action \\\"loadMore\\\"}}\\n                  >\\n                    Load more\\n                  </a>\\n                {{/if}}\\n              </div>\\n              {{#if isShowLessVisible}}\\n                <div>\\n                  <a\\n                    class=\\\"btn__tertiary__deemphasized\\\"\\n                    data-test-show-less\\n                    {{action \\\"loadLess\\\"}}\\n                  >\\n                    Show less\\n                  </a>\\n                </div>\\n              {{/if}}\\n            </div>\\n          {{/if}}\\n        {{else}}\\n          <span class=\\\"text-gray\\\" data-test-no-items>\\n            No recent events\\n          </span>\\n        {{/if}}\\n      {{/if}}\\n    </body.content>\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/recent-events.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/recent-events.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport ActivityFeedItem from 'embercom/models/activity-feed-item';\nimport { task } from 'ember-concurrency';\nimport { computed } from '@ember/object';\nimport { readOnly, notEmpty, gt, or, and } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport DidChangeAttrs from 'ember-did-change-attrs';\n\nconst DEFAULT_VISIBLE_EVENT_COUNT = 5;\nconst EVENT_PAGE_SIZE = 10;\n\nexport default Component.extend(DidChangeAttrs, {\n  store: service(),\n  didChangeAttrsConfig: {\n    attrs: ['user'],\n  },\n  firstLoad: true,\n  canLoadMore: true,\n  init() {\n    this._super(...arguments);\n    this.set('eventItems', []);\n    this.fetchEventStream.perform();\n  },\n\n  didChangeAttrs(changes) {\n    this._super(...arguments);\n    if (changes.user) {\n      this.set('eventItems', []);\n      this.set('firstLoad', true);\n      this.set('canLoadMore', true);\n      this.fetchEventStream.perform();\n    }\n  },\n  showInitSpinner: and('isFetchingActivities', 'firstLoad'),\n  isFetchingActivities: readOnly('fetchEventStream.isRunning'),\n  hasActivities: notEmpty('eventItems'),\n  numberToDisplay: DEFAULT_VISIBLE_EVENT_COUNT,\n  visibleEvents: computed('eventItems.[]', 'numberToDisplay', function() {\n    return this.eventItems.slice(0, this.numberToDisplay);\n  }),\n  canShowMore: computed('eventItems.length', 'numberToDisplay', function() {\n    return this.eventItems.length - this.numberToDisplay > 0;\n  }),\n  isLoadMoreVisible: or('canShowMore', 'canLoadMore'),\n  isShowLessVisible: gt('visibleEvents.length', DEFAULT_VISIBLE_EVENT_COUNT),\n  options: computed('app', 'user', function() {\n    let options = {\n      app_id: this.get('app.id'),\n      timeline_type: 'event',\n      followed_user_events: false,\n      aggregate: false,\n      profileType: 'user',\n      intercom_user_id: this.get('user.id'),\n    };\n    return options;\n  }),\n  shouldUseNewEventPipeline: readOnly('app.canUseNewEventsPipeline'),\n\n  fetchEventStream: task(function*(beforeDate, timestampEventId) {\n    let queryOptions = this.options;\n    if (beforeDate) {\n      queryOptions.before = beforeDate;\n    }\n    if (this.shouldUseNewEventPipeline && timestampEventId) {\n      queryOptions.timestamp_event_id = timestampEventId;\n    }\n    let result = yield ActivityFeedItem.getFeedItems(queryOptions);\n    if (result) {\n      this.eventItems.pushObjects(result.items);\n      this.set('firstLoad', false);\n      this.set('canLoadMore', result.totalCount === result.pageSize);\n    }\n  }),\n\n  actions: {\n    loadMore() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'load_more_clicked',\n        object: 'events_feed',\n        context: 'the_user_loaded_more_events',\n      });\n      this.set('numberToDisplay', this.numberToDisplay + EVENT_PAGE_SIZE);\n\n      if (!this.canShowMore) {\n        let beforeDate = this.eventItems.lastObject.created_at;\n        let timestampEventId = this.eventItems.lastObject.id;\n        this.fetchEventStream.perform(beforeDate, timestampEventId);\n      }\n    },\n    loadLess() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'show_less_clicked',\n        object: 'events_feed',\n        context: 'the_user_loaded_more_events',\n      });\n      this.set('numberToDisplay', DEFAULT_VISIBLE_EVENT_COUNT);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Recent page views\\\" />\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      {{#if shownPageViews}}\\n        <ul class=\\\"inbox__recent-page-views__list\\\">\\n          {{#each shownPageViews as |pageView|}}\\n            <li data-test-list-item>\\n              <Inbox::EventListItem\\n                @name={{pageView.page_title}}\\n                @tooltip={{pageView.url}}\\n                @url={{pageView.url}}\\n                @timestamp={{pageView.created_at}}\\n              />\\n            </li>\\n          {{/each}}\\n        </ul>\\n      {{else}}\\n        <span class=\\\"text-gray\\\" data-test-no-items>\\n          No page views\\n        </span>\\n      {{/if}}\\n    </body.content>\\n    {{#if (or shouldShowLoadMore shouldShowLess)}}\\n      <div class=\\\"u__padt__5 flex items-start\\\">\\n        <div class=\\\"flex-auto min-w-0\\\">\\n          {{#if shouldShowLoadMore}}\\n            <a\\n              class=\\\"btn__tertiary__deemphasized\\\"\\n              data-test-load-more\\n              {{action \\\"showMore\\\"}}\\n            >\\n              Load more\\n            </a>\\n          {{/if}}\\n        </div>\\n        {{#if shouldShowLess}}\\n          <div>\\n            <a\\n              class=\\\"btn__tertiary__deemphasized\\\"\\n              data-test-show-less\\n              {{action \\\"showLess\\\"}}\\n            >\\n              Show less\\n            </a>\\n          </div>\\n        {{/if}}\\n      </div>\\n    {{/if}}\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Recent page views\\\" />\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      {{#if shownPageViews}}\\n        <ul class=\\\"inbox__recent-page-views__list\\\">\\n          {{#each shownPageViews as |pageView|}}\\n            <li data-test-list-item>\\n              <Inbox::EventListItem\\n                @name={{pageView.page_title}}\\n                @tooltip={{pageView.url}}\\n                @url={{pageView.url}}\\n                @timestamp={{pageView.created_at}}\\n              />\\n            </li>\\n          {{/each}}\\n        </ul>\\n      {{else}}\\n        <span class=\\\"text-gray\\\" data-test-no-items>\\n          No page views\\n        </span>\\n      {{/if}}\\n    </body.content>\\n    {{#if (or shouldShowLoadMore shouldShowLess)}}\\n      <div class=\\\"u__padt__5 flex items-start\\\">\\n        <div class=\\\"flex-auto min-w-0\\\">\\n          {{#if shouldShowLoadMore}}\\n            <a\\n              class=\\\"btn__tertiary__deemphasized\\\"\\n              data-test-load-more\\n              {{action \\\"showMore\\\"}}\\n            >\\n              Load more\\n            </a>\\n          {{/if}}\\n        </div>\\n        {{#if shouldShowLess}}\\n          <div>\\n            <a\\n              class=\\\"btn__tertiary__deemphasized\\\"\\n              data-test-show-less\\n              {{action \\\"showLess\\\"}}\\n            >\\n              Show less\\n            </a>\\n          </div>\\n        {{/if}}\\n      </div>\\n    {{/if}}\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/recent-page-views.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/recent-page-views.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { gt } from '@ember/object/computed';\nimport { greaterThanProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  recentPageViews: computed('user.recent_page_views.[]', function() {\n    return this.get('user.recent_page_views') || [];\n  }),\n  shownPageViews: computed('recentPageViews.[]', 'numberToDisplay', function() {\n    return this.recentPageViews.slice(0, this.numberToDisplay);\n  }),\n  numberToDisplay: 5,\n  shouldShowLoadMore: greaterThanProperty('recentPageViews.length', 'numberToDisplay'),\n  shouldShowLess: gt('numberToDisplay', 5),\n  actions: {\n    showLess() {\n      this.set('numberToDisplay', 5);\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'show_less_clicked',\n        object: 'recent_page_views',\n        context: 'the_user_loaded_more_page_views',\n      });\n    },\n    showMore() {\n      this.set('numberToDisplay', this.numberToDisplay + 5);\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'load_more_clicked',\n        object: 'recent_page_views',\n        context: 'the_user_loaded_more_page_views',\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  @hideSpaceBetweenTitleAndBody={{gt @user.existingSegments.length 0}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Segments\\\" @prefix={{@user.typeLabel}} />\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      {{#if this.showLoadingIndicator}}\\n        <IcLoadingIndicator @size=\\\"small\\\" />\\n      {{else if @user.existingSegments}}\\n        <div class=\\\"profile-sidebar-section__overflow-auto\\\">\\n          <div class=\\\"profile-sidebar-section__overflow-auto\\\">\\n            {{#let (visibility/visible-segments (get @user.existingSegments \\\"[]\\\")) as |visibleSegments|}}\\n              {{#if visibleSegments}}\\n                <body.content>\\n                  <SegmentsList\\n                    @app={{@app}}\\n                    @admin={{@app.currentAdmin}}\\n                    @segments={{visibility/visible-segments (get @user.existingSegments \\\"[]\\\")}}\\n                    @taggable={{@user}}\\n                  />\\n                </body.content>\\n              {{else}}\\n                <div class=\\\"u__mb__10 u__mt__10\\\">\\n                  <span class=\\\"text-gray\\\">\\n                    No visible segments\\n                  </span>\\n                </div>\\n              {{/if}}\\n            {{/let}}\\n          </div>\\n          {{#let (visibility/hidden-segments (get @user.existingSegments \\\"[]\\\")) as |hiddenSegments|}}\\n            {{#if @user.existingSegments}}\\n              <div class=\\\"u__padt__5 layout__box flex items-start\\\">\\n                <div class=\\\"flex-auto min-w-0\\\">\\n                  {{#if hiddenSegments}}\\n                    <body.expand-button @hiddenCount={{hiddenSegments.length}}/>\\n                  {{/if}}\\n                </div>\\n                <div class=\\\"u__ml__10\\\">\\n                  <a\\n                    class=\\\"btn__tertiary__deemphasized\\\"\\n                    href=\\\"{{href-to \\\"apps.app.account.visibility.user-segments\\\"}}\\\"\\n                    {{on \\\"click\\\" (track-analytics-event action=\\\"clicked\\\" object=\\\"user_segments_visibility_button\\\")}}\\n                    data-test-edit-segments-visibility\\n                  >\\n                    Edit\\n                  </a>\\n                </div>\\n              </div>\\n            {{/if}}\\n            <div class=\\\"profile-sidebar-section__overflow-auto\\\">\\n              <body.expanded-content>\\n                <SegmentsList\\n                  @app={{@app}}\\n                  @admin={{@app.currentAdmin}}\\n                  @segments={{hiddenSegments}}\\n                  @taggable={{@user}}\\n                />\\n              </body.expanded-content>\\n            </div>\\n          {{/let}}\\n        </div>\\n      {{else if this.showErrorMessage}}\\n        <span class=\\\"inbox__conversation-sidebar__error-text\\\">\\n          Error loading segments\\n        </span>\\n      {{else}}\\n        <span class=\\\"text-gray\\\">\\n          No segments\\n        </span>\\n      {{/if}}\\n    </body.content>\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\", {\"contents\":\"<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  @hideSpaceBetweenTitleAndBody={{gt @user.existingSegments.length 0}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Segments\\\" @prefix={{@user.typeLabel}} />\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      {{#if this.showLoadingIndicator}}\\n        <IcLoadingIndicator @size=\\\"small\\\" />\\n      {{else if @user.existingSegments}}\\n        <div class=\\\"profile-sidebar-section__overflow-auto\\\">\\n          <div class=\\\"profile-sidebar-section__overflow-auto\\\">\\n            {{#let (visibility/visible-segments (get @user.existingSegments \\\"[]\\\")) as |visibleSegments|}}\\n              {{#if visibleSegments}}\\n                <body.content>\\n                  <SegmentsList\\n                    @app={{@app}}\\n                    @admin={{@app.currentAdmin}}\\n                    @segments={{visibility/visible-segments (get @user.existingSegments \\\"[]\\\")}}\\n                    @taggable={{@user}}\\n                  />\\n                </body.content>\\n              {{else}}\\n                <div class=\\\"u__mb__10 u__mt__10\\\">\\n                  <span class=\\\"text-gray\\\">\\n                    No visible segments\\n                  </span>\\n                </div>\\n              {{/if}}\\n            {{/let}}\\n          </div>\\n          {{#let (visibility/hidden-segments (get @user.existingSegments \\\"[]\\\")) as |hiddenSegments|}}\\n            {{#if @user.existingSegments}}\\n              <div class=\\\"u__padt__5 layout__box flex items-start\\\">\\n                <div class=\\\"flex-auto min-w-0\\\">\\n                  {{#if hiddenSegments}}\\n                    <body.expand-button @hiddenCount={{hiddenSegments.length}}/>\\n                  {{/if}}\\n                </div>\\n                <div class=\\\"u__ml__10\\\">\\n                  <a\\n                    class=\\\"btn__tertiary__deemphasized\\\"\\n                    href=\\\"{{href-to \\\"apps.app.account.visibility.user-segments\\\"}}\\\"\\n                    {{on \\\"click\\\" (track-analytics-event action=\\\"clicked\\\" object=\\\"user_segments_visibility_button\\\")}}\\n                    data-test-edit-segments-visibility\\n                  >\\n                    Edit\\n                  </a>\\n                </div>\\n              </div>\\n            {{/if}}\\n            <div class=\\\"profile-sidebar-section__overflow-auto\\\">\\n              <body.expanded-content>\\n                <SegmentsList\\n                  @app={{@app}}\\n                  @admin={{@app.currentAdmin}}\\n                  @segments={{hiddenSegments}}\\n                  @taggable={{@user}}\\n                />\\n              </body.expanded-content>\\n            </div>\\n          {{/let}}\\n        </div>\\n      {{else if this.showErrorMessage}}\\n        <span class=\\\"inbox__conversation-sidebar__error-text\\\">\\n          Error loading segments\\n        </span>\\n      {{else}}\\n        <span class=\\\"text-gray\\\">\\n          No segments\\n        </span>\\n      {{/if}}\\n    </body.content>\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/segments.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/segments.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { and, not, alias } from '@ember/object/computed';\n\nexport default Component.extend({\n  tagName: '',\n  init() {\n    this._super(...arguments);\n    this.user.loadSegments.perform();\n  },\n  didUpdateAttrs() {\n    this._super(...arguments);\n    this.user.loadSegments.perform();\n  },\n  showLoadingIndicator: alias('user.loadSegments.isRunning'),\n  isLoadingSegmentsDone: not('user.loadSegments.isRunning'),\n  showErrorMessage: and('user.segmentsError', 'isLoadingSegmentsDone'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{queue this.resetAllModalData @onModalClose}}\\n  @isOpen={{@isOpen}}\\n  @width=\\\"l\\\"\\n  @internalScroll={{false}}\\n  as |modal|\\n>\\n  <modal.body>\\n    <Heading @size=\\\"1\\\">Create order</Heading>\\n\\n    {{#if @shouldRequestMoreScopes}}\\n      <Inbox::ConversationSidebar::Cards::Shopify::ReconnectShopify\\n        @toBeAbleTo=\\\"create orders\\\"\\n        @context=\\\"create-order-modal\\\"\\n      />\\n    {{else}}\\n      {{!-- SEARCH INPUT + SUGGESTIONS --}}\\n      <VerticalNavigationSearch\\n        @placeholderText=\\\"Search for a product…\\\"\\n        @searchString={{this.productSearchQuery}}\\n        @doSearch={{this.selectItem}}\\n        @resetSearch={{this.resetSearch}}\\n        @onSearchStringChanged={{this.onSearchStringChanged}}\\n        @items={{this.searchSuggestions}}\\n        @updatedSearch={{true}}\\n        @showSearchIcon={{true}}\\n        @showLoadingIconInsteadOfSearchIcon={{this.searchShopifyForProductTask.isRunning}}\\n        @shouldFilterSelectableItems={{false}}\\n        @avoidCreateAdditionalSearchItem={{true}}\\n        @preventFocusOnElementInsertion={{true}}\\n        class=\\\"mt-3 mb-2\\\"\\n        as |searchSuggestion index|\\n      >\\n        <div class=\\\"flex flex-row justify-start gap-4\\\" data-test-product-search-result={{index}}>\\n          <img src={{searchSuggestion.productVariant.image_src}} class=\\\"inbox__conversation-sidebar__shopify__product-image\\\" >\\n          <div>\\n            <Text @styling=\\\"strong\\\" class=\\\"inbox__conversation-sidebar__shopify__product-title\\\">\\n              {{searchSuggestion.productVariant.display_name}}\\n            </Text>\\n            <br>\\n            {{#if searchSuggestion.productVariant.sku}}\\n              <Text @styling=\\\"small\\\" class=\\\"inbox__conversation-sidebar__shopify__product-subtitle\\\">\\n                SKU: {{searchSuggestion.productVariant.sku}}\\n              </Text>\\n              <br>\\n            {{/if}}\\n            <Text @styling=\\\"small\\\" class=\\\"inbox__conversation-sidebar__shopify__product-subtitle\\\">\\n              {{searchSuggestion.productVariant.price}}\\n            </Text>\\n          </div>\\n        </div>\\n      </VerticalNavigationSearch>\\n\\n      {{!-- ORDER ITEMS --}}\\n      <div class=\\\"mt-3\\\">\\n        {{#each this.order.lineItems as |orderItem index|}}\\n          <div class=\\\"flex flex-row justify-start gap-4 pt-2 pb-2\\\">\\n            <div class=\\\"flex flex-row justify-start flex-1 gap-4 pr-3\\\">\\n              <img src={{orderItem.productVariant.image_src}} class=\\\"inbox__conversation-sidebar__shopify__product-image\\\" >\\n              <div>\\n                <Text data-test-product-display-name={{index}} @styling=\\\"strong\\\">{{orderItem.productVariant.display_name}}</Text>\\n                <br>\\n                {{#if orderItem.productVariant.sku}}\\n                  <Text @styling=\\\"small\\\">SKU: {{orderItem.productVariant.sku}}</Text>\\n                  <br>\\n                {{/if}}\\n              </div>\\n            </div>\\n\\n            <div class=\\\"u__center-layout\\\">\\n              <span class=\\\"u__prevent-breaks\\\" data-test-item-price={{index}}>\\n                {{concat orderItem.productVariant.price \\\" x \\\"}}\\n              </span>\\n              <Input\\n                @type=\\\"number\\\"\\n                @value={{orderItem.quantity}}\\n                @min={{0}}\\n                @max={{10000}}\\n                @change={{this.onOrderUpdated}}\\n                class=\\\"inbox__conversation-sidebar__shopify__modal-input o__super-narrow ml-3\\\"\\n                data-test-quantity-input={{index}}\\n              />\\n\\n              <a\\n                class=\\\"ml-3\\\"\\n                {{on \\\"click\\\" (fn this.removeLineItem index)}}\\n              >\\n                {{ic-interface-icon \\\"small-close\\\" color=\\\"gray\\\"}}\\n              </a>\\n            </div>\\n          </div>\\n        {{/each}}\\n      </div>\\n\\n      {{!-- ORDER NOTE + SUMMARY + BUTTONS--}}\\n      <div class=\\\"flex flex-col mt-3\\\">\\n        {{!-- ORDER NOTE + SUMMARY --}}\\n        <div class=\\\"flex flex-row justify-between\\\">\\n          {{!-- ORDER NOTE --}}\\n          <div class=\\\"flex flex-col justify-start mb-6 mt-3\\\">\\n            Note\\n            <Input\\n              @type=\\\"text\\\"\\n              @placeholder=\\\"Add a note…\\\"\\n              @value={{this.note}}\\n              @change={{this.onOrderUpdated}}\\n              class=\\\"inbox__conversation-sidebar__shopify__modal-input o__wide mt-1\\\"\\n            />\\n          </div>\\n\\n          {{!-- ORDER SUMMARY --}}\\n          <div class=\\\"flex flex-col justify-start mb-6 mt-3 inbox__conversation-sidebar__shopify__create-order-price-summary-section\\\">\\n            {{!-- DISCOUNT --}}\\n            <div class=\\\"flex flex-row flex-1\\\">\\n              <div class=\\\"flex flex-col flex-1\\\">\\n                <Popover\\n                  @showOn={{array 'click'}}\\n                  @hideOn={{array 'clickout'}}\\n                  @showArrow={{true}}\\n                  as |popover|\\n                >\\n                  <popover.Opener>\\n                    <div\\n                      class=\\\"btn__tertiary__deemphasized u__display-inline-block\\\"\\n                    >\\n                      Add discount\\n                    </div>\\n                  </popover.Opener>\\n                  <popover.Content>\\n                    <div class=\\\"inbox__conversation-sidebar__shopify__create-order-popover\\\">\\n                      <div class=\\\"mb-2\\\">Discount this order by</div>\\n\\n                      <IcRadioButtonGroup\\n                        @selectedValue={{this.discountTypeInputValue}}\\n                        @onSelectionChange={{set this.discountTypeInputValue}}\\n                        as |group|\\n                      >\\n                        <group.button @label=\\\"{{@currencySymbol}}\\\" @value=\\\"fixed_amount\\\" />\\n                        <group.button @label=\\\"%\\\" @value=\\\"percentage\\\" />\\n                      </IcRadioButtonGroup>\\n\\n                      <Input\\n                        @type=\\\"number\\\"\\n                        @placeholder={{if (eq this.discountTypeInputValue \\\"percentage\\\") \\\"%\\\" @currencySymbol}}\\n                        @min={{0}}\\n                        @max={{if (eq this.discountTypeInputValue \\\"percentage\\\") 100 undefined}}\\n                        @value={{this.discountAmountInputValue}}\\n                        class=\\\"inbox__conversation-sidebar__shopify__modal-input ml-2 o__narrow\\\"\\n                      />\\n\\n                      <div class=\\\"mt-4\\\">Reason (optional)</div>\\n\\n                      <Input\\n                        @type=\\\"text\\\"\\n                        @placeholder=\\\"Damaged item, loyalty discount\\\"\\n                        @value={{this.discountReasonInputValue}}\\n                        class=\\\"inbox__conversation-sidebar__shopify__modal-input mt-1\\\"\\n                      />\\n\\n                      <div class=\\\"flex flex-row justify-between flex-1 mt-4\\\">\\n                        <IcButton\\n                          @type=\\\"secondary-destructive\\\"\\n                          @label=\\\"Remove\\\"\\n                          @onClick={{queue this.removeDiscount popover.hide}}\\n                        />\\n                        <IcButton\\n                          @type=\\\"secondary\\\"\\n                          @label=\\\"Apply\\\"\\n                          @onClick={{queue this.applyDiscount popover.hide}}\\n                        />\\n                      </div>\\n                    </div>\\n                  </popover.Content>\\n                </Popover>\\n                <Text @styling=\\\"muted\\\">{{this.order.discount.reason}}</Text>\\n              </div>\\n\\n              <div class=\\\"flex flex-col justify-center flex-1 {{if this.createOrUpdateDraftOrderTask.isRunning \\\"text-gray\\\"}}\\\">\\n                {{or this.order.discount.formattedAmount \\\"-\\\"}}\\n              </div>\\n            </div>\\n\\n            {{!-- SUBTOTAL PRICE --}}\\n            <div class=\\\"flex flex-row flex-1 mt-2\\\">\\n              <div class=\\\"flex flex-col flex-1\\\" data-test-subtotal-title>Subtotal</div>\\n              <div class=\\\"flex flex-col flex-1 {{if this.createOrUpdateDraftOrderTask.isRunning \\\"text-gray\\\"}}\\\" data-test-subtotal-price>\\n                {{or this.lastDraftOrderReponse.subtotal_price \\\"-\\\"}}\\n              </div>\\n            </div>\\n\\n            {{!-- SHIPPING --}}\\n            <div class=\\\"flex flex-row flex-1 mt-2\\\">\\n              <div class=\\\"flex flex-col flex-1\\\">\\n                <Popover\\n                  @showOn={{array 'click'}}\\n                  @hideOn={{array 'clickout'}}\\n                  @showArrow={{true}}\\n                  as |popover|\\n                >\\n                  <popover.Opener>\\n                    <div\\n                      class=\\\"btn__tertiary__deemphasized u__display-inline-block\\\"\\n                    >\\n                      Add shipping\\n                    </div>\\n                  </popover.Opener>\\n                  <popover.Content>\\n                    <div class=\\\"inbox__conversation-sidebar__shopify__create-order-popover\\\">\\n                      <div class=\\\"mb-3\\\">Add shipping</div>\\n\\n                      <IcRadioButtonGroup\\n                        @selectedValue={{this.shippingRateTypeInputValue}}\\n                        @onSelectionChange={{set this.shippingRateTypeInputValue}}\\n                        as |group|\\n                      >\\n                        <group.button @label=\\\"Free\\\" @value=\\\"free\\\" />\\n                        <group.button @label=\\\"Custom rate\\\" @value=\\\"custom\\\" />\\n                      </IcRadioButtonGroup>\\n\\n                      {{#if (eq this.shippingRateTypeInputValue \\\"custom\\\")}}\\n                        <div class=\\\"mt-4\\\">\\n                          <Input\\n                            @type=\\\"number\\\"\\n                            @placeholder={{@currencySymbol}}\\n                            @min={{0}}\\n                            @value={{this.customShippingRateAmountInputValue}}\\n                            class=\\\"inbox__conversation-sidebar__shopify__modal-input o__narrow\\\"\\n                          />\\n\\n                          <Input\\n                            @type=\\\"text\\\"\\n                            @placeholder=\\\"Custom rate name (optional)\\\"\\n                            @value={{this.customShippingRateNameInputValue}}\\n                            class=\\\"inbox__conversation-sidebar__shopify__modal-input mt-2\\\"\\n                          />\\n                        </div>\\n                      {{/if}}\\n                      <div class=\\\"flex flex-row justify-between flex-1 mt-4\\\">\\n                        <IcButton\\n                          @type=\\\"secondary-destructive\\\"\\n                          @label=\\\"Remove\\\"\\n                          @onClick={{queue this.removeShipping popover.hide}}\\n                        />\\n                        <IcButton\\n                          @type=\\\"secondary\\\"\\n                          @label=\\\"Apply\\\"\\n                          @onClick={{queue this.applyShipping popover.hide}}\\n                        />\\n                      </div>\\n                    </div>\\n                  </popover.Content>\\n                </Popover>\\n                <Text @styling=\\\"muted\\\">{{this.order.shipping.name}}</Text>\\n              </div>\\n\\n              <div class=\\\"flex flex-col justify-center flex-1 {{if this.createOrUpdateDraftOrderTask.isRunning \\\"text-gray\\\"}}\\\">\\n                {{or this.order.shipping.formattedAmount \\\"-\\\"}}\\n              </div>\\n            </div>\\n\\n            {{!-- TAXES --}}\\n            <div class=\\\"flex flex-row flex-1 mt-2\\\">\\n              <div class=\\\"flex flex-col flex-1\\\" data-test-taxes-title>\\n                Taxes\\n                {{#if this.lastDraftOrderReponse.taxes_included}}\\n                  (included)\\n                {{/if}}\\n              </div>\\n              <div class=\\\"flex flex-col flex-1 {{if this.createOrUpdateDraftOrderTask.isRunning \\\"text-gray\\\"}}\\\" data-test-taxes-price>\\n                {{or this.lastDraftOrderReponse.total_tax \\\"-\\\"}}\\n              </div>\\n            </div>\\n\\n            {{!-- TOTAL PRICE --}}\\n            <div class=\\\"flex flex-row flex-1 mt-2\\\">\\n              <div class=\\\"flex flex-col flex-1\\\" data-test-total-title>Total price</div>\\n              <div class=\\\"flex flex-col flex-1 {{if this.createOrUpdateDraftOrderTask.isRunning \\\"text-gray\\\"}}\\\" data-test-total-price>\\n                {{or this.lastDraftOrderReponse.total_price \\\"-\\\"}}\\n              </div>\\n            </div>\\n          </div>\\n        </div>\\n\\n        {{!-- ORDER CREATION BUTTONS + CALCULATING LOADING SPINNER --}}\\n        <div class=\\\"flex flex-row items-center justify-end flex-1 mt-2\\\">\\n          {{#if this.createOrUpdateDraftOrderTask.isRunning}}\\n            Updating<IcLoadingIndicator @size=\\\"tiny\\\" class=\\\"ml-3 mr-3\\\" />\\n          {{/if}}\\n          <IcButton\\n            @type=\\\"secondary\\\"\\n            @label=\\\"Save order as draft\\\"\\n            @processingLabel=\\\"Saving order…\\\"\\n            @onClick={{perform this.saveDraftOrderTask}}\\n            @disabled={{or this.saveDraftOrderTask.isRunning this.completeDraftOrderTask.isRunning this.createOrUpdateDraftOrderTask.isRunning}}\\n          />\\n          <IcButton\\n            @type=\\\"primary\\\"\\n            @label=\\\"Create order as pending\\\"\\n            @processingLabel=\\\"Creating order…\\\"\\n            @onClick={{perform this.completeDraftOrderTask false}}\\n            @disabled={{or this.saveDraftOrderTask.isRunning this.completeDraftOrderTask.isRunning this.createOrUpdateDraftOrderTask.isRunning}}\\n            class=\\\"ml-3\\\"\\n          />\\n          <IcButton\\n            @type=\\\"primary\\\"\\n            @label=\\\"Create order as paid\\\"\\n            @processingLabel=\\\"Creating order…\\\"\\n            @onClick={{perform this.completeDraftOrderTask true}}\\n            @disabled={{or this.saveDraftOrderTask.isRunning this.completeDraftOrderTask.isRunning this.createOrUpdateDraftOrderTask.isRunning}}\\n            class=\\\"ml-3\\\"\\n            data-test-create-order-button\\n          />\\n        </div>\\n      </div>\\n    {{/if}}\\n  </modal.body>\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{queue this.resetAllModalData @onModalClose}}\\n  @isOpen={{@isOpen}}\\n  @width=\\\"l\\\"\\n  @internalScroll={{false}}\\n  as |modal|\\n>\\n  <modal.body>\\n    <Heading @size=\\\"1\\\">Create order</Heading>\\n\\n    {{#if @shouldRequestMoreScopes}}\\n      <Inbox::ConversationSidebar::Cards::Shopify::ReconnectShopify\\n        @toBeAbleTo=\\\"create orders\\\"\\n        @context=\\\"create-order-modal\\\"\\n      />\\n    {{else}}\\n      {{!-- SEARCH INPUT + SUGGESTIONS --}}\\n      <VerticalNavigationSearch\\n        @placeholderText=\\\"Search for a product…\\\"\\n        @searchString={{this.productSearchQuery}}\\n        @doSearch={{this.selectItem}}\\n        @resetSearch={{this.resetSearch}}\\n        @onSearchStringChanged={{this.onSearchStringChanged}}\\n        @items={{this.searchSuggestions}}\\n        @updatedSearch={{true}}\\n        @showSearchIcon={{true}}\\n        @showLoadingIconInsteadOfSearchIcon={{this.searchShopifyForProductTask.isRunning}}\\n        @shouldFilterSelectableItems={{false}}\\n        @avoidCreateAdditionalSearchItem={{true}}\\n        @preventFocusOnElementInsertion={{true}}\\n        class=\\\"mt-3 mb-2\\\"\\n        as |searchSuggestion index|\\n      >\\n        <div class=\\\"flex flex-row justify-start gap-4\\\" data-test-product-search-result={{index}}>\\n          <img src={{searchSuggestion.productVariant.image_src}} class=\\\"inbox__conversation-sidebar__shopify__product-image\\\" >\\n          <div>\\n            <Text @styling=\\\"strong\\\" class=\\\"inbox__conversation-sidebar__shopify__product-title\\\">\\n              {{searchSuggestion.productVariant.display_name}}\\n            </Text>\\n            <br>\\n            {{#if searchSuggestion.productVariant.sku}}\\n              <Text @styling=\\\"small\\\" class=\\\"inbox__conversation-sidebar__shopify__product-subtitle\\\">\\n                SKU: {{searchSuggestion.productVariant.sku}}\\n              </Text>\\n              <br>\\n            {{/if}}\\n            <Text @styling=\\\"small\\\" class=\\\"inbox__conversation-sidebar__shopify__product-subtitle\\\">\\n              {{searchSuggestion.productVariant.price}}\\n            </Text>\\n          </div>\\n        </div>\\n      </VerticalNavigationSearch>\\n\\n      {{!-- ORDER ITEMS --}}\\n      <div class=\\\"mt-3\\\">\\n        {{#each this.order.lineItems as |orderItem index|}}\\n          <div class=\\\"flex flex-row justify-start gap-4 pt-2 pb-2\\\">\\n            <div class=\\\"flex flex-row justify-start flex-1 gap-4 pr-3\\\">\\n              <img src={{orderItem.productVariant.image_src}} class=\\\"inbox__conversation-sidebar__shopify__product-image\\\" >\\n              <div>\\n                <Text data-test-product-display-name={{index}} @styling=\\\"strong\\\">{{orderItem.productVariant.display_name}}</Text>\\n                <br>\\n                {{#if orderItem.productVariant.sku}}\\n                  <Text @styling=\\\"small\\\">SKU: {{orderItem.productVariant.sku}}</Text>\\n                  <br>\\n                {{/if}}\\n              </div>\\n            </div>\\n\\n            <div class=\\\"u__center-layout\\\">\\n              <span class=\\\"u__prevent-breaks\\\" data-test-item-price={{index}}>\\n                {{concat orderItem.productVariant.price \\\" x \\\"}}\\n              </span>\\n              <Input\\n                @type=\\\"number\\\"\\n                @value={{orderItem.quantity}}\\n                @min={{0}}\\n                @max={{10000}}\\n                @change={{this.onOrderUpdated}}\\n                class=\\\"inbox__conversation-sidebar__shopify__modal-input o__super-narrow ml-3\\\"\\n                data-test-quantity-input={{index}}\\n              />\\n\\n              <a\\n                class=\\\"ml-3\\\"\\n                {{on \\\"click\\\" (fn this.removeLineItem index)}}\\n              >\\n                {{ic-interface-icon \\\"small-close\\\" color=\\\"gray\\\"}}\\n              </a>\\n            </div>\\n          </div>\\n        {{/each}}\\n      </div>\\n\\n      {{!-- ORDER NOTE + SUMMARY + BUTTONS--}}\\n      <div class=\\\"flex flex-col mt-3\\\">\\n        {{!-- ORDER NOTE + SUMMARY --}}\\n        <div class=\\\"flex flex-row justify-between\\\">\\n          {{!-- ORDER NOTE --}}\\n          <div class=\\\"flex flex-col justify-start mb-6 mt-3\\\">\\n            Note\\n            <Input\\n              @type=\\\"text\\\"\\n              @placeholder=\\\"Add a note…\\\"\\n              @value={{this.note}}\\n              @change={{this.onOrderUpdated}}\\n              class=\\\"inbox__conversation-sidebar__shopify__modal-input o__wide mt-1\\\"\\n            />\\n          </div>\\n\\n          {{!-- ORDER SUMMARY --}}\\n          <div class=\\\"flex flex-col justify-start mb-6 mt-3 inbox__conversation-sidebar__shopify__create-order-price-summary-section\\\">\\n            {{!-- DISCOUNT --}}\\n            <div class=\\\"flex flex-row flex-1\\\">\\n              <div class=\\\"flex flex-col flex-1\\\">\\n                <Popover\\n                  @showOn={{array 'click'}}\\n                  @hideOn={{array 'clickout'}}\\n                  @showArrow={{true}}\\n                  as |popover|\\n                >\\n                  <popover.Opener>\\n                    <div\\n                      class=\\\"btn__tertiary__deemphasized u__display-inline-block\\\"\\n                    >\\n                      Add discount\\n                    </div>\\n                  </popover.Opener>\\n                  <popover.Content>\\n                    <div class=\\\"inbox__conversation-sidebar__shopify__create-order-popover\\\">\\n                      <div class=\\\"mb-2\\\">Discount this order by</div>\\n\\n                      <IcRadioButtonGroup\\n                        @selectedValue={{this.discountTypeInputValue}}\\n                        @onSelectionChange={{set this.discountTypeInputValue}}\\n                        as |group|\\n                      >\\n                        <group.button @label=\\\"{{@currencySymbol}}\\\" @value=\\\"fixed_amount\\\" />\\n                        <group.button @label=\\\"%\\\" @value=\\\"percentage\\\" />\\n                      </IcRadioButtonGroup>\\n\\n                      <Input\\n                        @type=\\\"number\\\"\\n                        @placeholder={{if (eq this.discountTypeInputValue \\\"percentage\\\") \\\"%\\\" @currencySymbol}}\\n                        @min={{0}}\\n                        @max={{if (eq this.discountTypeInputValue \\\"percentage\\\") 100 undefined}}\\n                        @value={{this.discountAmountInputValue}}\\n                        class=\\\"inbox__conversation-sidebar__shopify__modal-input ml-2 o__narrow\\\"\\n                      />\\n\\n                      <div class=\\\"mt-4\\\">Reason (optional)</div>\\n\\n                      <Input\\n                        @type=\\\"text\\\"\\n                        @placeholder=\\\"Damaged item, loyalty discount\\\"\\n                        @value={{this.discountReasonInputValue}}\\n                        class=\\\"inbox__conversation-sidebar__shopify__modal-input mt-1\\\"\\n                      />\\n\\n                      <div class=\\\"flex flex-row justify-between flex-1 mt-4\\\">\\n                        <IcButton\\n                          @type=\\\"secondary-destructive\\\"\\n                          @label=\\\"Remove\\\"\\n                          @onClick={{queue this.removeDiscount popover.hide}}\\n                        />\\n                        <IcButton\\n                          @type=\\\"secondary\\\"\\n                          @label=\\\"Apply\\\"\\n                          @onClick={{queue this.applyDiscount popover.hide}}\\n                        />\\n                      </div>\\n                    </div>\\n                  </popover.Content>\\n                </Popover>\\n                <Text @styling=\\\"muted\\\">{{this.order.discount.reason}}</Text>\\n              </div>\\n\\n              <div class=\\\"flex flex-col justify-center flex-1 {{if this.createOrUpdateDraftOrderTask.isRunning \\\"text-gray\\\"}}\\\">\\n                {{or this.order.discount.formattedAmount \\\"-\\\"}}\\n              </div>\\n            </div>\\n\\n            {{!-- SUBTOTAL PRICE --}}\\n            <div class=\\\"flex flex-row flex-1 mt-2\\\">\\n              <div class=\\\"flex flex-col flex-1\\\" data-test-subtotal-title>Subtotal</div>\\n              <div class=\\\"flex flex-col flex-1 {{if this.createOrUpdateDraftOrderTask.isRunning \\\"text-gray\\\"}}\\\" data-test-subtotal-price>\\n                {{or this.lastDraftOrderReponse.subtotal_price \\\"-\\\"}}\\n              </div>\\n            </div>\\n\\n            {{!-- SHIPPING --}}\\n            <div class=\\\"flex flex-row flex-1 mt-2\\\">\\n              <div class=\\\"flex flex-col flex-1\\\">\\n                <Popover\\n                  @showOn={{array 'click'}}\\n                  @hideOn={{array 'clickout'}}\\n                  @showArrow={{true}}\\n                  as |popover|\\n                >\\n                  <popover.Opener>\\n                    <div\\n                      class=\\\"btn__tertiary__deemphasized u__display-inline-block\\\"\\n                    >\\n                      Add shipping\\n                    </div>\\n                  </popover.Opener>\\n                  <popover.Content>\\n                    <div class=\\\"inbox__conversation-sidebar__shopify__create-order-popover\\\">\\n                      <div class=\\\"mb-3\\\">Add shipping</div>\\n\\n                      <IcRadioButtonGroup\\n                        @selectedValue={{this.shippingRateTypeInputValue}}\\n                        @onSelectionChange={{set this.shippingRateTypeInputValue}}\\n                        as |group|\\n                      >\\n                        <group.button @label=\\\"Free\\\" @value=\\\"free\\\" />\\n                        <group.button @label=\\\"Custom rate\\\" @value=\\\"custom\\\" />\\n                      </IcRadioButtonGroup>\\n\\n                      {{#if (eq this.shippingRateTypeInputValue \\\"custom\\\")}}\\n                        <div class=\\\"mt-4\\\">\\n                          <Input\\n                            @type=\\\"number\\\"\\n                            @placeholder={{@currencySymbol}}\\n                            @min={{0}}\\n                            @value={{this.customShippingRateAmountInputValue}}\\n                            class=\\\"inbox__conversation-sidebar__shopify__modal-input o__narrow\\\"\\n                          />\\n\\n                          <Input\\n                            @type=\\\"text\\\"\\n                            @placeholder=\\\"Custom rate name (optional)\\\"\\n                            @value={{this.customShippingRateNameInputValue}}\\n                            class=\\\"inbox__conversation-sidebar__shopify__modal-input mt-2\\\"\\n                          />\\n                        </div>\\n                      {{/if}}\\n                      <div class=\\\"flex flex-row justify-between flex-1 mt-4\\\">\\n                        <IcButton\\n                          @type=\\\"secondary-destructive\\\"\\n                          @label=\\\"Remove\\\"\\n                          @onClick={{queue this.removeShipping popover.hide}}\\n                        />\\n                        <IcButton\\n                          @type=\\\"secondary\\\"\\n                          @label=\\\"Apply\\\"\\n                          @onClick={{queue this.applyShipping popover.hide}}\\n                        />\\n                      </div>\\n                    </div>\\n                  </popover.Content>\\n                </Popover>\\n                <Text @styling=\\\"muted\\\">{{this.order.shipping.name}}</Text>\\n              </div>\\n\\n              <div class=\\\"flex flex-col justify-center flex-1 {{if this.createOrUpdateDraftOrderTask.isRunning \\\"text-gray\\\"}}\\\">\\n                {{or this.order.shipping.formattedAmount \\\"-\\\"}}\\n              </div>\\n            </div>\\n\\n            {{!-- TAXES --}}\\n            <div class=\\\"flex flex-row flex-1 mt-2\\\">\\n              <div class=\\\"flex flex-col flex-1\\\" data-test-taxes-title>\\n                Taxes\\n                {{#if this.lastDraftOrderReponse.taxes_included}}\\n                  (included)\\n                {{/if}}\\n              </div>\\n              <div class=\\\"flex flex-col flex-1 {{if this.createOrUpdateDraftOrderTask.isRunning \\\"text-gray\\\"}}\\\" data-test-taxes-price>\\n                {{or this.lastDraftOrderReponse.total_tax \\\"-\\\"}}\\n              </div>\\n            </div>\\n\\n            {{!-- TOTAL PRICE --}}\\n            <div class=\\\"flex flex-row flex-1 mt-2\\\">\\n              <div class=\\\"flex flex-col flex-1\\\" data-test-total-title>Total price</div>\\n              <div class=\\\"flex flex-col flex-1 {{if this.createOrUpdateDraftOrderTask.isRunning \\\"text-gray\\\"}}\\\" data-test-total-price>\\n                {{or this.lastDraftOrderReponse.total_price \\\"-\\\"}}\\n              </div>\\n            </div>\\n          </div>\\n        </div>\\n\\n        {{!-- ORDER CREATION BUTTONS + CALCULATING LOADING SPINNER --}}\\n        <div class=\\\"flex flex-row items-center justify-end flex-1 mt-2\\\">\\n          {{#if this.createOrUpdateDraftOrderTask.isRunning}}\\n            Updating<IcLoadingIndicator @size=\\\"tiny\\\" class=\\\"ml-3 mr-3\\\" />\\n          {{/if}}\\n          <IcButton\\n            @type=\\\"secondary\\\"\\n            @label=\\\"Save order as draft\\\"\\n            @processingLabel=\\\"Saving order…\\\"\\n            @onClick={{perform this.saveDraftOrderTask}}\\n            @disabled={{or this.saveDraftOrderTask.isRunning this.completeDraftOrderTask.isRunning this.createOrUpdateDraftOrderTask.isRunning}}\\n          />\\n          <IcButton\\n            @type=\\\"primary\\\"\\n            @label=\\\"Create order as pending\\\"\\n            @processingLabel=\\\"Creating order…\\\"\\n            @onClick={{perform this.completeDraftOrderTask false}}\\n            @disabled={{or this.saveDraftOrderTask.isRunning this.completeDraftOrderTask.isRunning this.createOrUpdateDraftOrderTask.isRunning}}\\n            class=\\\"ml-3\\\"\\n          />\\n          <IcButton\\n            @type=\\\"primary\\\"\\n            @label=\\\"Create order as paid\\\"\\n            @processingLabel=\\\"Creating order…\\\"\\n            @onClick={{perform this.completeDraftOrderTask true}}\\n            @disabled={{or this.saveDraftOrderTask.isRunning this.completeDraftOrderTask.isRunning this.createOrUpdateDraftOrderTask.isRunning}}\\n            class=\\\"ml-3\\\"\\n            data-test-create-order-button\\n          />\\n        </div>\\n      </div>\\n    {{/if}}\\n  </modal.body>\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/shopify/create-order-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/shopify/create-order-modal.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\nimport ajax from 'embercom/lib/ajax';\nimport { action } from '@ember/object';\nimport ENV from 'embercom/config/environment';\n\nclass ProductVariant {\n  @tracked display_name;\n  @tracked image_src;\n  @tracked price;\n  @tracked sku;\n  @tracked variant_id;\n\n  constructor(display_name, image_src, price, sku, variant_id) {\n    this.display_name = display_name;\n    this.image_src = image_src;\n    this.price = price;\n    this.sku = sku;\n    this.variant_id = variant_id;\n  }\n\n  static fromHash(hash) {\n    return new ProductVariant(\n      hash.display_name,\n      hash.image_src,\n      hash.price,\n      hash.sku,\n      hash.variant_id,\n    );\n  }\n}\n\nclass SearchSuggestion {\n  @tracked productVariant;\n  @tracked isHighlighted;\n\n  constructor(productVariant, isHighlighted = false) {\n    this.productVariant = productVariant;\n    this.isHighlighted = isHighlighted;\n  }\n\n  static fromProduct(productHash) {\n    return new SearchSuggestion(ProductVariant.fromHash(productHash));\n  }\n\n  get name() {\n    return this.productVariant.display_name;\n  }\n}\n\nclass LineItem {\n  @tracked productVariant;\n  @tracked quantity;\n\n  constructor(productVariant, quantity) {\n    this.productVariant = productVariant;\n    this.quantity = quantity;\n  }\n\n  static fromProductVariant(productVariant, quantity = 1) {\n    return new LineItem(productVariant, quantity);\n  }\n\n  incrementQuantity() {\n    this.quantity++;\n  }\n}\n\nclass OrderDiscount {\n  @tracked amount;\n  @tracked type;\n  @tracked reason;\n  @tracked currencySymbol;\n\n  constructor(amount, type, reason, currencySymbol) {\n    this.amount = amount;\n    this.type = type;\n    this.reason = reason;\n    this.currencySymbol = currencySymbol;\n  }\n\n  get formattedAmount() {\n    if (this.amount) {\n      if (this.type === 'fixed_amount') {\n        return `-${this.currencySymbol}${Number.parseFloat(this.amount).toFixed(2)}`;\n      }\n      return `-%${Number.parseFloat(this.amount).toFixed(2)}`;\n    }\n  }\n}\n\nclass OrderShipping {\n  @tracked type;\n  @tracked amount;\n  @tracked name;\n  @tracked currencySymbol;\n\n  constructor(type, amount, name, currencySymbol) {\n    this.type = type;\n    this.amount = amount;\n    this.name = name;\n    this.currencySymbol = currencySymbol;\n  }\n\n  get formattedAmount() {\n    if (this.type === 'free') {\n      return 'Free';\n    } else if (this.amount) {\n      return this.currencySymbol + Number.parseFloat(this.amount).toFixed(2);\n    }\n  }\n}\n\nclass Order {\n  @tracked lineItems = [];\n  @tracked discount;\n  @tracked shipping;\n\n  onSearchSuggestionSelected(searchSuggestion) {\n    let lineItem = this.lineItems.find(\n      lineItem => lineItem.productVariant.variant_id === searchSuggestion.productVariant.variant_id,\n    );\n    if (lineItem) {\n      lineItem.incrementQuantity();\n    } else {\n      this.lineItems.push(LineItem.fromProductVariant(searchSuggestion.productVariant, 1));\n    }\n    this.lineItems = this.lineItems;\n  }\n\n  toLineItemsParams() {\n    return this.lineItems.map(lineItem => {\n      return {\n        variant_id: lineItem.productVariant.variant_id,\n        quantity: lineItem.quantity,\n      };\n    });\n  }\n\n  toDiscountParams() {\n    return {\n      discount: this.discount.amount,\n      discount_reason: this.discount.reason,\n      discount_type: this.discount.type,\n    };\n  }\n\n  toShippingParams() {\n    return {\n      shipping: this.shipping.type,\n      shipping_price: this.shipping.amount,\n      shipping_title: this.shipping.name,\n    };\n  }\n}\n\nexport default class CreateOrderModal extends Component {\n  @service appService;\n  @service notificationsService;\n\n  @tracked order;\n  @tracked lastDraftOrderReponse;\n\n  @tracked searchSuggestions;\n  @tracked productSearchQuery;\n\n  @tracked discountTypeInputValue;\n  @tracked discountReasonInputValue;\n  @tracked discountAmountInputValue;\n  @tracked shippingRateTypeInputValue;\n  @tracked customShippingRateNameInputValue;\n  @tracked customShippingRateAmountInputValue;\n  @tracked note;\n\n  constructor() {\n    super(...arguments);\n    this.resetAllModalData();\n  }\n\n  @action\n  resetSearch() {\n    this.searchSuggestions = [];\n  }\n\n  @action\n  resetAllModalData() {\n    this.searchSuggestions = [];\n    this.order = new Order();\n    this.productSearchQuery = '';\n    this.lastDraftOrderReponse = undefined;\n\n    this.discountTypeInputValue = 'fixed_amount';\n    this.discountReasonInputValue = '';\n    this.discountAmountInputValue = undefined;\n\n    this.shippingRateTypeInputValue = 'free';\n    this.customShippingRateNameInputValue = '';\n    this.customShippingRateAmountInputValue = undefined;\n\n    this.note = '';\n\n    this.searchShopifyForProductTask.cancelAll();\n    this.createOrUpdateDraftOrderTask.cancelAll();\n  }\n\n  @action\n  onSearchStringChanged(searchTerm) {\n    this.productSearchQuery = searchTerm;\n\n    if (this.productSearchQuery && this.productSearchQuery.length >= 2) {\n      this.searchShopifyForProductTask.perform();\n    } else {\n      this.searchSuggestions = [];\n    }\n  }\n\n  @action\n  selectItem(searchSuggestion) {\n    this.order.onSearchSuggestionSelected(searchSuggestion);\n    this.onOrderUpdated();\n  }\n\n  @action\n  removeLineItem(index) {\n    this.order.lineItems.splice(index, 1);\n    this.order.lineItems = this.order.lineItems;\n    this.onOrderUpdated();\n  }\n\n  @action\n  applyDiscount() {\n    this.order.discount = new OrderDiscount(\n      this.discountAmountInputValue,\n      this.discountTypeInputValue,\n      this.discountReasonInputValue,\n      this.args.currencySymbol,\n    );\n    this.onOrderUpdated();\n  }\n\n  @action\n  removeDiscount() {\n    this.order.discount = null;\n    this.onOrderUpdated();\n  }\n\n  @action\n  applyShipping() {\n    this.order.shipping = new OrderShipping(\n      this.shippingRateTypeInputValue,\n      this.customShippingRateAmountInputValue,\n      this.customShippingRateNameInputValue,\n      this.args.currencySymbol,\n    );\n    this.onOrderUpdated();\n  }\n\n  @action\n  removeShipping() {\n    this.order.shipping = null;\n    this.onOrderUpdated();\n  }\n\n  @action\n  onOrderUpdated() {\n    this.createOrUpdateDraftOrderTask.perform();\n  }\n\n  @task({ restartable: true })\n  *searchShopifyForProductTask() {\n    if (!this.productSearchQuery) {\n      return;\n    }\n\n    try {\n      let productResponse = yield ajax({\n        url: '/ember/inbox/shopify/search_products',\n        type: 'GET',\n        data: {\n          app_id: this.appService.app.id,\n          query: this.productSearchQuery,\n        },\n      });\n\n      this.searchSuggestions = productResponse.products.map(productHash =>\n        SearchSuggestion.fromProduct(productHash),\n      );\n    } catch (error) {\n      console.log(error);\n    }\n  }\n\n  @task({ restartable: true })\n  *createOrUpdateDraftOrderTask() {\n    try {\n      let endpoint = '/ember/inbox/shopify/create_draft_order';\n\n      let params = {\n        app_id: this.appService.app.id,\n        customer_id: this.args.shopifyCustomerId,\n        line_items: this.order.toLineItemsParams(),\n        paid: true,\n        shipping: 'free',\n      };\n\n      if (this.lastDraftOrderReponse) {\n        params['draft_order_id'] = this.lastDraftOrderReponse.id;\n        endpoint = '/ember/inbox/shopify/update_draft_order';\n      }\n\n      if (this.order.discount) {\n        Object.assign(params, this.order.toDiscountParams());\n      }\n\n      if (this.order.shipping) {\n        Object.assign(params, this.order.toShippingParams());\n      }\n\n      if (this.note) {\n        params['note'] = this.note;\n      }\n\n      this.lastDraftOrderReponse = yield ajax({\n        url: endpoint,\n        type: 'POST',\n        data: JSON.stringify(params),\n      });\n    } catch (error) {\n      console.log(error);\n    }\n  }\n\n  @task({ restartable: true })\n  *saveDraftOrderTask() {\n    try {\n      yield this.notificationsService.notifyConfirmationWithModelAndPartial(\n        {\n          url: this.lastDraftOrderReponse.url,\n        },\n        'apps/app/respond/inbox/partials/shopify-saved-draft-order',\n        ENV.APP.default_notification_timeout,\n      );\n      this.args.onModalClose();\n      this.resetAllModalData();\n    } catch (error) {\n      this.notificationsService.notifyError(`Error: ${error}`);\n      console.log(error);\n    }\n  }\n\n  @task({ restartable: true })\n  *completeDraftOrderTask(asPaid) {\n    try {\n      let params = {\n        app_id: this.appService.app.id,\n        draft_order_id: this.lastDraftOrderReponse.id,\n        paid: asPaid,\n      };\n\n      yield ajax({\n        url: '/ember/inbox/shopify/complete_draft_order',\n        type: 'POST',\n        data: JSON.stringify(params),\n      });\n\n      yield this.notificationsService.notifyConfirmation('Order created');\n      this.args.onModalClose();\n      this.args.fetchShopifyDataTask.perform();\n      this.resetAllModalData();\n    } catch (error) {\n      this.notificationsService.notifyError(`Error: ${error}`);\n      console.log(error);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-center gap-4 inbox__conversation-sidebar__shopify__hoverable\\\" data-test-customer-box {{on \\\"click\\\" this.collapseOrExpand}}>\\n  <img src=\\\"https://shopify.intercom.io/images/customer.png\\\" width=\\\"20\\\" height=\\\"20\\\">\\n  <div class=\\\"u__one-truncated-line\\\">\\n    <div class=\\\"u__one-truncated-line\\\" data-test-customer-name>{{@shopifyCustomer.name}}</div>\\n    {{#unless this.isExpanded}}\\n      <Text @styling='small' class=\\\"u__one-truncated-line\\\" data-test-customer-created-at>\\n        Created {{date-helper @shopifyCustomer.created_at}}\\n      </Text>\\n    {{/unless}}\\n  </div>\\n</div>\\n\\n{{#if this.isExpanded}}\\n  <div class=\\\"inbox__conversation-sidebar__body-custom-padding\\\">\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Created\\\" @value={{full-date-and-time-helper @shopifyCustomer.created_at}} />\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Email\\\" @value={{@shopifyCustomer.email}} />\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Phone\\\" @value={{or @shopifyCustomer.phone \\\"No phone number\\\"}} />\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Lifetime spent\\\" @value={{@shopifyCustomer.lifetime_spent}} />\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair\\n      @key=\\\"Last order\\\"\\n      @value={{if @shopifyCustomer.last_order (full-date-and-time-helper @shopifyCustomer.last_order) \\\"No orders yet\\\"}}\\n    />\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"<div class=\\\"flex flex-row items-center gap-4 inbox__conversation-sidebar__shopify__hoverable\\\" data-test-customer-box {{on \\\"click\\\" this.collapseOrExpand}}>\\n  <img src=\\\"https://shopify.intercom.io/images/customer.png\\\" width=\\\"20\\\" height=\\\"20\\\">\\n  <div class=\\\"u__one-truncated-line\\\">\\n    <div class=\\\"u__one-truncated-line\\\" data-test-customer-name>{{@shopifyCustomer.name}}</div>\\n    {{#unless this.isExpanded}}\\n      <Text @styling='small' class=\\\"u__one-truncated-line\\\" data-test-customer-created-at>\\n        Created {{date-helper @shopifyCustomer.created_at}}\\n      </Text>\\n    {{/unless}}\\n  </div>\\n</div>\\n\\n{{#if this.isExpanded}}\\n  <div class=\\\"inbox__conversation-sidebar__body-custom-padding\\\">\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Created\\\" @value={{full-date-and-time-helper @shopifyCustomer.created_at}} />\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Email\\\" @value={{@shopifyCustomer.email}} />\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Phone\\\" @value={{or @shopifyCustomer.phone \\\"No phone number\\\"}} />\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Lifetime spent\\\" @value={{@shopifyCustomer.lifetime_spent}} />\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair\\n      @key=\\\"Last order\\\"\\n      @value={{if @shopifyCustomer.last_order (full-date-and-time-helper @shopifyCustomer.last_order) \\\"No orders yet\\\"}}\\n    />\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/shopify/customer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/shopify/customer.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class Order extends Component {\n  @tracked isExpanded = false;\n\n  @action\n  collapseOrExpand(order) {\n    this.isExpanded = !this.isExpanded;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"kv__pair u__cf o__in-list\\\">\\n  <span class=\\\"kv__key text-gray\\\">{{@key}}</span>\\n  <span data-test-key-value-pair-value-for-key={{@key}} class=\\\"kv__value\\\">{{@value}}</span>\\n</div>\\n\", {\"contents\":\"<div class=\\\"kv__pair u__cf o__in-list\\\">\\n  <span class=\\\"kv__key text-gray\\\">{{@key}}</span>\\n  <span data-test-key-value-pair-value-for-key={{@key}} class=\\\"kv__value\\\">{{@value}}</span>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/shopify/key-value-pair.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/shopify/key-value-pair.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-center gap-4 inbox__conversation-sidebar__shopify__hoverable\\\" data-test-order-box {{on \\\"click\\\" this.collapseOrExpand}}>\\n  <img src={{@order.image_url}} width=\\\"20\\\" height=\\\"20\\\">\\n  <div class=\\\"u__one-truncated-line\\\">\\n    <div data-test-order-name>Order {{@order.name}}</div>\\n    {{#unless this.isExpanded}}\\n      <Text @styling='small' data-test-order-subtitle>\\n        {{date-helper @order.created_at}}\\n        •\\n        <span>{{@order.financial_status_text}}</span>\\n        •\\n        <span>{{@order.fulfillment_status_text}}</span>\\n      </Text>\\n    {{/unless}}\\n  </div>\\n</div>\\n\\n{{#if this.isExpanded}}\\n  <div class=\\\"inbox__conversation-sidebar__body-custom-padding\\\">\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Order id\\\" @value={{@order.id}} />\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Payment status\\\" @value={{@order.financial_status_text}} />\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Fulfillment status\\\" @value={{@order.fulfillment_status_text}} />\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Date\\\" @value={{date-helper @order.created_at}} />\\n\\n    <div class=\\\"mt-4\\\"><b>Summary</b></div>\\n    <hr>\\n    {{#each @order.line_items as |lineItem|}}\\n      <div data-test-line-item-title>{{lineItem.title}}</div>\\n      <Text @styling=\\\"small\\\">\\n        {{#if lineItem.sku}}<div data-test-line-item-sku>SKU: {{lineItem.sku}}</div>{{/if}}\\n        <div data-test-line-item-subtitle>{{lineItem.subtitle}} • {{lineItem.tertiary_text}}</div>\\n\\n        {{#if lineItem.tracking_number}}\\n          <div data-test-line-item-tracking-number class=\\\"pt-3\\\">Tracking number: {{lineItem.tracking_number}}</div>\\n          <a\\n            data-test-line-item-tracking-url\\n            class=\\\"btn__tertiary__deemphasized u__display-inline-block inbox__conversation-sidebar__shopify__small-text\\\"\\n            href={{lineItem.tracking_url}}\\n            rel=\\\"noopener noreferrer\\\"\\n            target=\\\"_blank\\\"\\n          >\\n            Track item ↗\\n          </a>\\n        {{/if}}\\n      </Text>\\n      <hr>\\n    {{/each}}\\n\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Subtotal\\\" @value={{@order.subtotal}} />\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Shipping\\\" @value={{@order.shipping}} />\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Tax\\\" @value={{@order.tax}} />\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Total price\\\" @value={{@order.total}} />\\n    <div\\n      data-test-copy-order-confirmation-link\\n      class=\\\"btn__tertiary__deemphasized pt-3 u__display-inline-block\\\"\\n      {{copy-to-clipboard\\n        text=@order.order_status_url\\n        onSuccess=(track-analytics-event action=\\\"copied\\\" object=\\\"shopify_order_confirmation\\\")\\n      }}\\n    >\\n      Copy order confirmation {{ic-interface-icon 'duplicate'}}\\n    </div>\\n    <br>\\n    <a\\n      data-test-open-order-in-shopify-link\\n      class=\\\"btn__tertiary__deemphasized pt-3 pb-3 u__display-inline-block\\\"\\n      href={{@order.order_url}}\\n      rel=\\\"noopener noreferrer\\\"\\n      target=\\\"_blank\\\"\\n    >\\n      View order in Shopify ↗\\n    </a>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"<div class=\\\"flex flex-row items-center gap-4 inbox__conversation-sidebar__shopify__hoverable\\\" data-test-order-box {{on \\\"click\\\" this.collapseOrExpand}}>\\n  <img src={{@order.image_url}} width=\\\"20\\\" height=\\\"20\\\">\\n  <div class=\\\"u__one-truncated-line\\\">\\n    <div data-test-order-name>Order {{@order.name}}</div>\\n    {{#unless this.isExpanded}}\\n      <Text @styling='small' data-test-order-subtitle>\\n        {{date-helper @order.created_at}}\\n        •\\n        <span>{{@order.financial_status_text}}</span>\\n        •\\n        <span>{{@order.fulfillment_status_text}}</span>\\n      </Text>\\n    {{/unless}}\\n  </div>\\n</div>\\n\\n{{#if this.isExpanded}}\\n  <div class=\\\"inbox__conversation-sidebar__body-custom-padding\\\">\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Order id\\\" @value={{@order.id}} />\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Payment status\\\" @value={{@order.financial_status_text}} />\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Fulfillment status\\\" @value={{@order.fulfillment_status_text}} />\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Date\\\" @value={{date-helper @order.created_at}} />\\n\\n    <div class=\\\"mt-4\\\"><b>Summary</b></div>\\n    <hr>\\n    {{#each @order.line_items as |lineItem|}}\\n      <div data-test-line-item-title>{{lineItem.title}}</div>\\n      <Text @styling=\\\"small\\\">\\n        {{#if lineItem.sku}}<div data-test-line-item-sku>SKU: {{lineItem.sku}}</div>{{/if}}\\n        <div data-test-line-item-subtitle>{{lineItem.subtitle}} • {{lineItem.tertiary_text}}</div>\\n\\n        {{#if lineItem.tracking_number}}\\n          <div data-test-line-item-tracking-number class=\\\"pt-3\\\">Tracking number: {{lineItem.tracking_number}}</div>\\n          <a\\n            data-test-line-item-tracking-url\\n            class=\\\"btn__tertiary__deemphasized u__display-inline-block inbox__conversation-sidebar__shopify__small-text\\\"\\n            href={{lineItem.tracking_url}}\\n            rel=\\\"noopener noreferrer\\\"\\n            target=\\\"_blank\\\"\\n          >\\n            Track item ↗\\n          </a>\\n        {{/if}}\\n      </Text>\\n      <hr>\\n    {{/each}}\\n\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Subtotal\\\" @value={{@order.subtotal}} />\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Shipping\\\" @value={{@order.shipping}} />\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Tax\\\" @value={{@order.tax}} />\\n    <Inbox::ConversationSidebar::Cards::Shopify::KeyValuePair @key=\\\"Total price\\\" @value={{@order.total}} />\\n    <div\\n      data-test-copy-order-confirmation-link\\n      class=\\\"btn__tertiary__deemphasized pt-3 u__display-inline-block\\\"\\n      {{copy-to-clipboard\\n        text=@order.order_status_url\\n        onSuccess=(track-analytics-event action=\\\"copied\\\" object=\\\"shopify_order_confirmation\\\")\\n      }}\\n    >\\n      Copy order confirmation {{ic-interface-icon 'duplicate'}}\\n    </div>\\n    <br>\\n    <a\\n      data-test-open-order-in-shopify-link\\n      class=\\\"btn__tertiary__deemphasized pt-3 pb-3 u__display-inline-block\\\"\\n      href={{@order.order_url}}\\n      rel=\\\"noopener noreferrer\\\"\\n      target=\\\"_blank\\\"\\n    >\\n      View order in Shopify ↗\\n    </a>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/shopify/order.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/shopify/order.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class Order extends Component {\n  @tracked isExpanded = false;\n\n  @action\n  collapseOrExpand(order) {\n    this.isExpanded = !this.isExpanded;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div data-test-products-tab-content>\\n  <div class=\\\"p-3\\\">\\n    <IcTooltip @placement=\\\"left\\\" as |t|>\\n      <t.opener>\\n        <span\\n          data-test-product-search-icon\\n          class=\\\"u__pointer-cursor\\\"\\n          {{on \\\"click\\\" this.focusOnProductSearchInput}}\\n        >\\n          {{ic-interface-icon 'search'}}\\n        </span>\\n      </t.opener>\\n      <t.content>\\n        Lookup any published product on your Shopify store\\n        by typing its name or SKU.\\n      </t.content>\\n    </IcTooltip>\\n\\n    <Input\\n      data-test-product-search-input\\n      class=\\\"f__text ml-1 inbox__conversation-sidebar__shopify__inbox-app-search-input js__shopify-product-search-input\\\"\\n      @value={{this.productSearchQuery}}\\n      @placeholder=\\\"Product name\\\"\\n      @disabled={{@shouldRequestMoreScopes}}\\n      {{on \\\"change\\\" (perform this.searchShopifyForProduct)}}\\n    />\\n  </div>\\n  <hr class=\\\"u__mt__0 u__mb__0\\\">\\n\\n  {{#if @shouldRequestMoreScopes}}\\n    <Inbox::ConversationSidebar::Cards::Shopify::ReconnectShopify\\n      @toBeAbleTo=\\\"search for products\\\"\\n      @context=\\\"products-tab\\\"\\n    />\\n  {{else if this.searchShopifyForProduct.isRunning}}\\n    <div class=\\\"p-6\\\">\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    </div>\\n  {{else}}\\n    {{#if this.products}}\\n      <div class=\\\"pt-3 pb-3\\\">\\n        {{#each this.products as |product index|}}\\n          {{#if (not-eq index 0)}}\\n            <hr>\\n          {{/if}}\\n\\n          <div class=\\\"flex flex-row justify-start gap-4 pl-3 pr-3\\\" data-test-product-search-result={{index}}>\\n            <img data-test-product-image src={{product.image_src}} class=\\\"inbox__conversation-sidebar__shopify__product-image\\\" >\\n            <div>\\n              <Text data-test-product-display-name @styling=\\\"strong\\\">{{product.display_name}}</Text>\\n              <IcTooltip @isInteractive={{true}} as |t|>\\n                <t.opener>\\n                  <span class=\\\"u__pointer-cursor\\\">{{ic-interface-icon 'visible'}}</span>\\n                </t.opener>\\n                <t.content>\\n                  <a\\n                    href={{product.online_store_url}}\\n                    rel=\\\"noopener noreferrer\\\"\\n                    target=\\\"_blank\\\"\\n                  >\\n                    {{product.online_store_url}}\\n                  </a>\\n                  <span\\n                    data-test-copy-product-online-store-link\\n                    class=\\\"btn__tertiary__deemphasized u__display-inline-block\\\"\\n                    {{copy-to-clipboard\\n                      text=product.online_store_url\\n                      onSuccess=(track-analytics-event action=\\\"copied\\\" object=\\\"shopify_product_store_url\\\")\\n                    }}\\n                  >\\n                    {{ic-interface-icon 'duplicate'}}\\n                  </span>\\n                </t.content>\\n              </IcTooltip>\\n\\n              <br>\\n              {{#if product.sku}}\\n                <Text data-test-product-sku @styling=\\\"small\\\">SKU: {{product.sku}}</Text>\\n                <br>\\n              {{/if}}\\n              <Text data-test-product-subtitle @styling=\\\"small\\\">{{product.price}} • {{product.inventory_quantity}} left</Text>\\n            </div>\\n          </div>\\n        {{/each}}\\n      </div>\\n    {{else}}\\n      <IcEmptyState\\n        @title={{if this.noResultsFound \\\"No results found\\\" \\\"Search for a product\\\"}}\\n        @icon=\\\"pencil\\\"\\n      />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div data-test-products-tab-content>\\n  <div class=\\\"p-3\\\">\\n    <IcTooltip @placement=\\\"left\\\" as |t|>\\n      <t.opener>\\n        <span\\n          data-test-product-search-icon\\n          class=\\\"u__pointer-cursor\\\"\\n          {{on \\\"click\\\" this.focusOnProductSearchInput}}\\n        >\\n          {{ic-interface-icon 'search'}}\\n        </span>\\n      </t.opener>\\n      <t.content>\\n        Lookup any published product on your Shopify store\\n        by typing its name or SKU.\\n      </t.content>\\n    </IcTooltip>\\n\\n    <Input\\n      data-test-product-search-input\\n      class=\\\"f__text ml-1 inbox__conversation-sidebar__shopify__inbox-app-search-input js__shopify-product-search-input\\\"\\n      @value={{this.productSearchQuery}}\\n      @placeholder=\\\"Product name\\\"\\n      @disabled={{@shouldRequestMoreScopes}}\\n      {{on \\\"change\\\" (perform this.searchShopifyForProduct)}}\\n    />\\n  </div>\\n  <hr class=\\\"u__mt__0 u__mb__0\\\">\\n\\n  {{#if @shouldRequestMoreScopes}}\\n    <Inbox::ConversationSidebar::Cards::Shopify::ReconnectShopify\\n      @toBeAbleTo=\\\"search for products\\\"\\n      @context=\\\"products-tab\\\"\\n    />\\n  {{else if this.searchShopifyForProduct.isRunning}}\\n    <div class=\\\"p-6\\\">\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    </div>\\n  {{else}}\\n    {{#if this.products}}\\n      <div class=\\\"pt-3 pb-3\\\">\\n        {{#each this.products as |product index|}}\\n          {{#if (not-eq index 0)}}\\n            <hr>\\n          {{/if}}\\n\\n          <div class=\\\"flex flex-row justify-start gap-4 pl-3 pr-3\\\" data-test-product-search-result={{index}}>\\n            <img data-test-product-image src={{product.image_src}} class=\\\"inbox__conversation-sidebar__shopify__product-image\\\" >\\n            <div>\\n              <Text data-test-product-display-name @styling=\\\"strong\\\">{{product.display_name}}</Text>\\n              <IcTooltip @isInteractive={{true}} as |t|>\\n                <t.opener>\\n                  <span class=\\\"u__pointer-cursor\\\">{{ic-interface-icon 'visible'}}</span>\\n                </t.opener>\\n                <t.content>\\n                  <a\\n                    href={{product.online_store_url}}\\n                    rel=\\\"noopener noreferrer\\\"\\n                    target=\\\"_blank\\\"\\n                  >\\n                    {{product.online_store_url}}\\n                  </a>\\n                  <span\\n                    data-test-copy-product-online-store-link\\n                    class=\\\"btn__tertiary__deemphasized u__display-inline-block\\\"\\n                    {{copy-to-clipboard\\n                      text=product.online_store_url\\n                      onSuccess=(track-analytics-event action=\\\"copied\\\" object=\\\"shopify_product_store_url\\\")\\n                    }}\\n                  >\\n                    {{ic-interface-icon 'duplicate'}}\\n                  </span>\\n                </t.content>\\n              </IcTooltip>\\n\\n              <br>\\n              {{#if product.sku}}\\n                <Text data-test-product-sku @styling=\\\"small\\\">SKU: {{product.sku}}</Text>\\n                <br>\\n              {{/if}}\\n              <Text data-test-product-subtitle @styling=\\\"small\\\">{{product.price}} • {{product.inventory_quantity}} left</Text>\\n            </div>\\n          </div>\\n        {{/each}}\\n      </div>\\n    {{else}}\\n      <IcEmptyState\\n        @title={{if this.noResultsFound \\\"No results found\\\" \\\"Search for a product\\\"}}\\n        @icon=\\\"pencil\\\"\\n      />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/shopify/products.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/shopify/products.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\nimport ajax from 'embercom/lib/ajax';\nimport { isEmpty } from '@ember/utils';\n\nexport default class Order extends Component {\n  @service appService;\n\n  @tracked products = [];\n  @tracked productSearchQuery = '';\n  @tracked lastProductSearchQuery = null;\n\n  get noResultsFound() {\n    return (\n      isEmpty(this.products) &&\n      !isEmpty(this.productSearchQuery) &&\n      this.lastProductSearchQuery === this.productSearchQuery\n    );\n  }\n\n  @action\n  focusOnProductSearchInput() {\n    let productSearchInput = document.querySelector('.js__shopify-product-search-input');\n    productSearchInput.focus();\n  }\n\n  @task({ restartable: true })\n  *searchShopifyForProduct() {\n    this.products = [];\n\n    if (!this.productSearchQuery) {\n      return;\n    }\n\n    this.lastProductSearchQuery = this.productSearchQuery;\n    try {\n      let productResponse = yield ajax({\n        url: '/ember/inbox/shopify/search_products',\n        type: 'GET',\n        data: {\n          app_id: this.appService.app.id,\n          query: this.productSearchQuery,\n        },\n      });\n\n      this.products = productResponse.products;\n    } catch (error) {\n      console.log(error);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<hr class=\\\"u__mt__0 mb-2\\\">\\n<span class=\\\"inbox__conversation-sidebar__body-custom-padding\\\">Recent orders</span>\\n<hr class=\\\"mt-2 u__mb__0\\\">\\n{{#if @shopifyOrders}}\\n  {{#each @shopifyOrders as |order index|}}\\n    {{#if (gt index 0)}}\\n      <hr class=\\\"mt-0 u__mb__0\\\">\\n    {{/if}}\\n    <Inbox::ConversationSidebar::Cards::Shopify::Order @order={{order}} />\\n  {{/each}}\\n{{else}}\\n  <div data-test-no-orders-yet class=\\\"p-3\\\">\\n    No orders yet\\n  </div>\\n{{/if}}\\n<hr class=\\\"u__mt__0 u__mb__0\\\">\\n\", {\"contents\":\"<hr class=\\\"u__mt__0 mb-2\\\">\\n<span class=\\\"inbox__conversation-sidebar__body-custom-padding\\\">Recent orders</span>\\n<hr class=\\\"mt-2 u__mb__0\\\">\\n{{#if @shopifyOrders}}\\n  {{#each @shopifyOrders as |order index|}}\\n    {{#if (gt index 0)}}\\n      <hr class=\\\"mt-0 u__mb__0\\\">\\n    {{/if}}\\n    <Inbox::ConversationSidebar::Cards::Shopify::Order @order={{order}} />\\n  {{/each}}\\n{{else}}\\n  <div data-test-no-orders-yet class=\\\"p-3\\\">\\n    No orders yet\\n  </div>\\n{{/if}}\\n<hr class=\\\"u__mt__0 u__mb__0\\\">\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/shopify/recent-orders.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/shopify/recent-orders.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__centered-text-block p-3\\\">\\n  <div class=\\\"mb-3\\\">\\n    To be able to {{@toBeAbleTo}} on your\\n    Shopify store inside Intercom, you will have to\\n    reconnect Shopify to Intercom and reload\\n    your current Intercom tab afterwards\\n  </div>\\n  <IcButton\\n    @type=\\\"primary\\\"\\n    @label=\\\"Reconnect Shopify to Intercom\\\"\\n    @onClick={{this.openShopifyScopeRequestUrl}}\\n  />\\n  <div class=\\\"mt-3\\\">\\n    <Text @styling=\\\"small\\\">\\n      You (or one of your teammates) will need to have\\n      enough permissions in the Shopify admin dashboard\\n      to be able to perform this action\\n    </Text>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__centered-text-block p-3\\\">\\n  <div class=\\\"mb-3\\\">\\n    To be able to {{@toBeAbleTo}} on your\\n    Shopify store inside Intercom, you will have to\\n    reconnect Shopify to Intercom and reload\\n    your current Intercom tab afterwards\\n  </div>\\n  <IcButton\\n    @type=\\\"primary\\\"\\n    @label=\\\"Reconnect Shopify to Intercom\\\"\\n    @onClick={{this.openShopifyScopeRequestUrl}}\\n  />\\n  <div class=\\\"mt-3\\\">\\n    <Text @styling=\\\"small\\\">\\n      You (or one of your teammates) will need to have\\n      enough permissions in the Shopify admin dashboard\\n      to be able to perform this action\\n    </Text>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/shopify/reconnect-shopify.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/shopify/reconnect-shopify.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { postNewTab } from 'embercom/lib/form-for-download';\n\nexport default class Order extends Component {\n  @service intercomEventService;\n\n  @action\n  openShopifyScopeRequestUrl() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'reconnect-shopify-to-intercom-button',\n      context: this.args.context,\n    });\n    postNewTab('https://shopify.intercom.io/login');\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<hr class=\\\"u__m__0\\\">\\n<div>\\n  <div class=\\\"flex flex-row u__pointer-cursor\\\">\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <div\\n        data-test-customer-tab\\n        class=\\\"inbox__conversation-sidebar__shopify__tab o__with-right-border {{if (eq @selectedTab \\\"customer\\\") \\\"o__selected\\\"}}\\\"\\n        {{on \\\"click\\\" (queue\\n          (fn @onSelectTab \\\"customer\\\")\\n          (track-analytics-event action=\\\"clicked\\\" object=\\\"shopify-customer-tab\\\")\\n        )}}\\n      >\\n        Customer\\n      </div>\\n    </div>\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <div\\n        data-test-products-tab\\n        class=\\\"inbox__conversation-sidebar__shopify__tab {{if (eq @selectedTab \\\"products\\\") \\\"o__selected\\\"}}\\\"\\n        {{on \\\"click\\\" (queue\\n          (fn @onSelectTab \\\"products\\\")\\n          (track-analytics-event action=\\\"clicked\\\" object=\\\"shopify-products-tab\\\")\\n        )}}\\n      >\\n        Products\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<hr class=\\\"u__m__0\\\">\\n<div>\\n  <div class=\\\"flex flex-row u__pointer-cursor\\\">\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <div\\n        data-test-customer-tab\\n        class=\\\"inbox__conversation-sidebar__shopify__tab o__with-right-border {{if (eq @selectedTab \\\"customer\\\") \\\"o__selected\\\"}}\\\"\\n        {{on \\\"click\\\" (queue\\n          (fn @onSelectTab \\\"customer\\\")\\n          (track-analytics-event action=\\\"clicked\\\" object=\\\"shopify-customer-tab\\\")\\n        )}}\\n      >\\n        Customer\\n      </div>\\n    </div>\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <div\\n        data-test-products-tab\\n        class=\\\"inbox__conversation-sidebar__shopify__tab {{if (eq @selectedTab \\\"products\\\") \\\"o__selected\\\"}}\\\"\\n        {{on \\\"click\\\" (queue\\n          (fn @onSelectTab \\\"products\\\")\\n          (track-analytics-event action=\\\"clicked\\\" object=\\\"shopify-products-tab\\\")\\n        )}}\\n      >\\n        Products\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/shopify/tabs.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/shopify/tabs.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  @padding=\\\"none\\\"\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title>\\n    <div class=\\\"layout__box o__has-columns o__centers-vertically inbox__conversation-sidebar__padding-none-title\\\">\\n      <Inbox::ConversationSidebar::Section::CardIcon @section={{@section}} />\\n      <div data-test-section-title class=\\\"layout__box o__flexes-to-1 t__h4 u__padl__10 u__one-truncated-line\\\">\\n        Shopify\\n      </div>\\n    </div>\\n  </sidebarSection.title>\\n\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      <div {{did-update this.intercomUserChanged @user}}>\\n        {{#if this.fetchShopifyDataTask.isRunning}}\\n          <div class=\\\"p-3\\\">\\n            <IcLoadingIndicator @size=\\\"small\\\" />\\n          </div>\\n        {{else}}\\n          {{#if (eq this.shopifyError.key \\\"embercom_shopify_store_not_connected\\\")}}\\n            <div data-test-error-content class=\\\"p-3 pt-0\\\">\\n              Looks like your Intercom workspace is not connected to a Shopify store.\\n            </div>\\n          {{else}}\\n            <Inbox::ConversationSidebar::Cards::Shopify::Tabs @onSelectTab={{set this.selectedTab}} @selectedTab={{this.selectedTab}} />\\n\\n            <div class={{if (eq this.selectedTab \\\"customer\\\") \\\"u__visible\\\" \\\"u__hidden\\\"}}>\\n              <hr class=\\\"u__m__0\\\">\\n              <div class=\\\"p-3\\\">\\n                <IcTooltip @placement=\\\"left\\\" as |t|>\\n                  <t.opener>\\n                    <span\\n                      data-test-email-or-order-search-icon\\n                      class=\\\"u__pointer-cursor\\\"\\n                      {{on \\\"click\\\" this.focusOnEmailSearchInput}}\\n                    >\\n                      {{ic-interface-icon 'search'}}\\n                    </span>\\n                  </t.opener>\\n                  <t.content>\\n                    Lookup a customer on your Shopify store\\n                    by typing their order's number (e.g. #1000)\\n                    or the email address they used on Shopify.\\n                  </t.content>\\n                </IcTooltip>\\n\\n                <Input\\n                  data-test-email-or-order-search-input\\n                  class=\\\"f__text ml-1 inbox__conversation-sidebar__shopify__inbox-app-search-input js__shopify-email-or-order-search-input\\\"\\n                  @value={{this.shopifyEmailOrOrderName}}\\n                  @placeholder=\\\"Email or order number\\\"\\n                  {{on \\\"change\\\" (perform this.fetchShopifyDataTask)}}\\n                />\\n              </div>\\n              <hr class=\\\"u__mt__0 u__mb__0\\\">\\n\\n              {{#if this.shopifyCustomer}}\\n                <Inbox::ConversationSidebar::Cards::Shopify::Customer @shopifyCustomer={{this.shopifyCustomer}} />\\n                <Inbox::ConversationSidebar::Cards::Shopify::RecentOrders @shopifyOrders={{this.orders}} />\\n                <div\\n                  data-test-create-order\\n                  class=\\\"btn__tertiary__deemphasized p-3 pb-0 u__display-inline-block\\\"\\n                  {{on \\\"click\\\" (queue\\n                    (set this.showCreateOrderModal true)\\n                    (track-analytics-event action=\\\"clicked\\\" object=\\\"create-order-modal-opener\\\" shouldRequestMoreScopes=this.shouldRequestMoreScopes)\\n                  )}}\\n                >\\n                  Create order {{ic-interface-icon 'compose'}}\\n                </div>\\n                <div><a\\n                  data-test-open-in-shopify-link\\n                  class=\\\"btn__tertiary__deemphasized p-3 u__display-inline-block\\\"\\n                  href={{this.shopifyCustomerOrdersUrl}}\\n                  rel=\\\"noopener noreferrer\\\"\\n                  target=\\\"_blank\\\"\\n                  {{on \\\"click\\\" (track-analytics-event action=\\\"clicked\\\" object=\\\"view-customer-in-shopify\\\")}}\\n                >\\n                  View customer in Shopify ↗\\n                </a></div>\\n              {{else if (eq this.shopifyError.key \\\"embercom_shopify_user_email_not_in_shopify\\\")}}\\n                <div data-test-error-content class=\\\"p-3\\\">\\n                  {{#if this.emailIsValid}}\\n                    This email doesn't match any customer record on your Shopify store.\\n                  {{else}}\\n                    The order name you entered doesn't match any order placed on your Shopify store.\\n                  {{/if}}\\n                </div>\\n              {{else if (is-empty\\t@user.email)}}\\n                <div data-test-error-content class=\\\"p-3\\\">\\n                  This user has no email, and as a result cannot be automatically matched with a customer in your Shopify store.\\n                </div>\\n              {{else if (eq this.shopifyError.key \\\"invalid_email_or_order_name\\\")}}\\n                <div data-test-error-content class=\\\"p-3\\\">\\n                  Please enter a valid email address or order name.\\n                </div>\\n              {{else}}\\n                <div data-test-error-content class=\\\"p-3\\\">\\n                  An unknown error has occurred. Please try again.\\n                </div>\\n              {{/if}}\\n            </div>\\n            <div class={{if (eq this.selectedTab \\\"products\\\") \\\"u__visible\\\" \\\"u__hidden\\\"}}>\\n              <hr class=\\\"u__m__0\\\">\\n              <Inbox::ConversationSidebar::Cards::Shopify::Products\\n                @shouldRequestMoreScopes={{this.shouldRequestMoreScopes}}\\n              />\\n            </div>\\n          {{/if}}\\n        {{/if}}\\n      </div>\\n    </body.content>\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\\n<Inbox::ConversationSidebar::Cards::Shopify::CreateOrderModal\\n  @onModalClose={{set this.showCreateOrderModal false}}\\n  @isOpen={{this.showCreateOrderModal}}\\n  @shopifyCustomerId={{this.shopifyCustomer.id}}\\n  @currencySymbol={{this.shopifyCustomer.currency_symbol}}\\n  @fetchShopifyDataTask={{this.fetchShopifyDataTask}}\\n  @shouldRequestMoreScopes={{this.shouldRequestMoreScopes}}\\n/>\\n\", {\"contents\":\"{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  @padding=\\\"none\\\"\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title>\\n    <div class=\\\"layout__box o__has-columns o__centers-vertically inbox__conversation-sidebar__padding-none-title\\\">\\n      <Inbox::ConversationSidebar::Section::CardIcon @section={{@section}} />\\n      <div data-test-section-title class=\\\"layout__box o__flexes-to-1 t__h4 u__padl__10 u__one-truncated-line\\\">\\n        Shopify\\n      </div>\\n    </div>\\n  </sidebarSection.title>\\n\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      <div {{did-update this.intercomUserChanged @user}}>\\n        {{#if this.fetchShopifyDataTask.isRunning}}\\n          <div class=\\\"p-3\\\">\\n            <IcLoadingIndicator @size=\\\"small\\\" />\\n          </div>\\n        {{else}}\\n          {{#if (eq this.shopifyError.key \\\"embercom_shopify_store_not_connected\\\")}}\\n            <div data-test-error-content class=\\\"p-3 pt-0\\\">\\n              Looks like your Intercom workspace is not connected to a Shopify store.\\n            </div>\\n          {{else}}\\n            <Inbox::ConversationSidebar::Cards::Shopify::Tabs @onSelectTab={{set this.selectedTab}} @selectedTab={{this.selectedTab}} />\\n\\n            <div class={{if (eq this.selectedTab \\\"customer\\\") \\\"u__visible\\\" \\\"u__hidden\\\"}}>\\n              <hr class=\\\"u__m__0\\\">\\n              <div class=\\\"p-3\\\">\\n                <IcTooltip @placement=\\\"left\\\" as |t|>\\n                  <t.opener>\\n                    <span\\n                      data-test-email-or-order-search-icon\\n                      class=\\\"u__pointer-cursor\\\"\\n                      {{on \\\"click\\\" this.focusOnEmailSearchInput}}\\n                    >\\n                      {{ic-interface-icon 'search'}}\\n                    </span>\\n                  </t.opener>\\n                  <t.content>\\n                    Lookup a customer on your Shopify store\\n                    by typing their order's number (e.g. #1000)\\n                    or the email address they used on Shopify.\\n                  </t.content>\\n                </IcTooltip>\\n\\n                <Input\\n                  data-test-email-or-order-search-input\\n                  class=\\\"f__text ml-1 inbox__conversation-sidebar__shopify__inbox-app-search-input js__shopify-email-or-order-search-input\\\"\\n                  @value={{this.shopifyEmailOrOrderName}}\\n                  @placeholder=\\\"Email or order number\\\"\\n                  {{on \\\"change\\\" (perform this.fetchShopifyDataTask)}}\\n                />\\n              </div>\\n              <hr class=\\\"u__mt__0 u__mb__0\\\">\\n\\n              {{#if this.shopifyCustomer}}\\n                <Inbox::ConversationSidebar::Cards::Shopify::Customer @shopifyCustomer={{this.shopifyCustomer}} />\\n                <Inbox::ConversationSidebar::Cards::Shopify::RecentOrders @shopifyOrders={{this.orders}} />\\n                <div\\n                  data-test-create-order\\n                  class=\\\"btn__tertiary__deemphasized p-3 pb-0 u__display-inline-block\\\"\\n                  {{on \\\"click\\\" (queue\\n                    (set this.showCreateOrderModal true)\\n                    (track-analytics-event action=\\\"clicked\\\" object=\\\"create-order-modal-opener\\\" shouldRequestMoreScopes=this.shouldRequestMoreScopes)\\n                  )}}\\n                >\\n                  Create order {{ic-interface-icon 'compose'}}\\n                </div>\\n                <div><a\\n                  data-test-open-in-shopify-link\\n                  class=\\\"btn__tertiary__deemphasized p-3 u__display-inline-block\\\"\\n                  href={{this.shopifyCustomerOrdersUrl}}\\n                  rel=\\\"noopener noreferrer\\\"\\n                  target=\\\"_blank\\\"\\n                  {{on \\\"click\\\" (track-analytics-event action=\\\"clicked\\\" object=\\\"view-customer-in-shopify\\\")}}\\n                >\\n                  View customer in Shopify ↗\\n                </a></div>\\n              {{else if (eq this.shopifyError.key \\\"embercom_shopify_user_email_not_in_shopify\\\")}}\\n                <div data-test-error-content class=\\\"p-3\\\">\\n                  {{#if this.emailIsValid}}\\n                    This email doesn't match any customer record on your Shopify store.\\n                  {{else}}\\n                    The order name you entered doesn't match any order placed on your Shopify store.\\n                  {{/if}}\\n                </div>\\n              {{else if (is-empty\\t@user.email)}}\\n                <div data-test-error-content class=\\\"p-3\\\">\\n                  This user has no email, and as a result cannot be automatically matched with a customer in your Shopify store.\\n                </div>\\n              {{else if (eq this.shopifyError.key \\\"invalid_email_or_order_name\\\")}}\\n                <div data-test-error-content class=\\\"p-3\\\">\\n                  Please enter a valid email address or order name.\\n                </div>\\n              {{else}}\\n                <div data-test-error-content class=\\\"p-3\\\">\\n                  An unknown error has occurred. Please try again.\\n                </div>\\n              {{/if}}\\n            </div>\\n            <div class={{if (eq this.selectedTab \\\"products\\\") \\\"u__visible\\\" \\\"u__hidden\\\"}}>\\n              <hr class=\\\"u__m__0\\\">\\n              <Inbox::ConversationSidebar::Cards::Shopify::Products\\n                @shouldRequestMoreScopes={{this.shouldRequestMoreScopes}}\\n              />\\n            </div>\\n          {{/if}}\\n        {{/if}}\\n      </div>\\n    </body.content>\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\\n<Inbox::ConversationSidebar::Cards::Shopify::CreateOrderModal\\n  @onModalClose={{set this.showCreateOrderModal false}}\\n  @isOpen={{this.showCreateOrderModal}}\\n  @shopifyCustomerId={{this.shopifyCustomer.id}}\\n  @currencySymbol={{this.shopifyCustomer.currency_symbol}}\\n  @fetchShopifyDataTask={{this.fetchShopifyDataTask}}\\n  @shouldRequestMoreScopes={{this.shouldRequestMoreScopes}}\\n/>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/shopify2.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/shopify2.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport ajax from 'embercom/lib/ajax';\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { isValidEmail } from 'embercom/lib/email';\nimport { isValidOrderName } from 'embercom/lib/inbox/shopify/order';\n\nexport default class Shopify extends Component {\n  @service appService;\n  @service store;\n\n  @tracked shopifyCustomer;\n  @tracked shopifyCustomerOrdersUrl;\n  @tracked orders;\n\n  @tracked shopifyError;\n  @tracked shouldRequestMoreScopes;\n\n  @tracked shopifyEmailOrOrderName = this.args.user.email;\n\n  @tracked selectedTab = 'customer';\n  @tracked showCreateOrderModal = false;\n\n  constructor() {\n    super(...arguments);\n\n    this.fetchShopifyDataTask.perform();\n    this.checkAccessScope.perform();\n  }\n\n  get emailIsValid() {\n    return isValidEmail(this.shopifyEmailOrOrderName);\n  }\n\n  @task({ restartable: true })\n  *fetchShopifyDataTask() {\n    this.shopifyCustomer = null;\n    this.shopifyError = null;\n\n    if (\n      !isValidEmail(this.shopifyEmailOrOrderName) &&\n      !isValidOrderName(this.shopifyEmailOrOrderName)\n    ) {\n      this.shopifyError = { key: 'invalid_email_or_order_name' };\n      return;\n    }\n\n    let data = {\n      app_id: this.appService.app.id,\n    };\n\n    if (this.emailIsValid) {\n      data['user_email'] = this.shopifyEmailOrOrderName;\n    } else {\n      data['order_name'] = this.shopifyEmailOrOrderName;\n    }\n\n    try {\n      let shopifyResponse = yield ajax({\n        url: '/ember/inbox/shopify/shopify_customer_data',\n        type: 'GET',\n        data,\n      });\n\n      this.shopifyCustomer = shopifyResponse.customer;\n      this.orders = shopifyResponse.customer_orders;\n      this.shopifyCustomerOrdersUrl = shopifyResponse.all_customer_orders_url;\n    } catch (error) {\n      console.log(error.jqXHR.responseJSON.error);\n      this.shopifyError = error.jqXHR.responseJSON.error;\n    }\n  }\n\n  @task({ restartable: true })\n  *checkAccessScope() {\n    try {\n      let accessScopeResponse = yield ajax({\n        url: '/ember/inbox/shopify/access_scope_check',\n        type: 'GET',\n        data: {\n          app_id: this.appService.app.id,\n        },\n      });\n\n      this.shouldRequestMoreScopes = accessScopeResponse.should_request_more_scopes;\n    } catch (error) {\n      console.log(error);\n    }\n  }\n\n  @action\n  intercomUserChanged() {\n    this.shopifyEmailOrOrderName = this.args.user.email;\n    this.fetchShopifyDataTask.perform();\n  }\n\n  @action\n  focusOnEmailSearchInput() {\n    let emailOrOrderSearchInput = document.querySelector(\n      '.js__shopify-email-or-order-search-input',\n    );\n    emailOrOrderSearchInput.focus();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  @padding=\\\"none\\\"\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title>\\n    <span\\n      class=\\\"t__h4 inbox__conversation-sidebar__padding-none-title\\\"\\n    >\\n      Similar conversations\\n    </span>\\n  </sidebarSection.title>\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      <Conversation::SimilarConversationsComponent\\n        @conversationId={{@conversation.id}}\\n      />\\n    </body.content>\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\", {\"contents\":\"<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  @padding=\\\"none\\\"\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title>\\n    <span\\n      class=\\\"t__h4 inbox__conversation-sidebar__padding-none-title\\\"\\n    >\\n      Similar conversations\\n    </span>\\n  </sidebarSection.title>\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      <Conversation::SimilarConversationsComponent\\n        @conversationId={{@conversation.id}}\\n      />\\n    </body.content>\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/similar-conversations.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/similar-conversations.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Tags\\\" @prefix={{user.typeLabel}} />\\n  <sidebarSection.body\\n    class=\\\"inbox__conversation-sidebar__tags__top-offset\\\" as |body|\\n  >\\n    <div class=\\\"profile-sidebar-section__overflow-auto\\\">\\n      <body.content>\\n        <TagsList\\n          @app={{@app}}\\n          @admin={{@app.currentAdmin}}\\n          @taggings={{visibility/visible-tags (get @user.taggings \\\"[]\\\")}}\\n          @taggable={{@user}}\\n          @taggingModalAction={{action \\\"openTaggingModalFromVisibilityComponent\\\"}}\\n          @untaggingAction={{untaggingAction}}\\n        />\\n      </body.content>\\n    </div>\\n    {{#let\\n      (visibility/hidden-tags (get @user.taggings \\\"[]\\\")) as |hiddenTaggings|\\n    }}\\n      {{#if @user.taggings}}\\n        <div class=\\\"flex items-start inbox__conversation-sidebar__default-top-margin\\\">\\n          <div class=\\\"flex-auto min-w-0\\\">\\n            {{#if hiddenTaggings}}\\n              <body.expand-button @hiddenCount={{hiddenTaggings.length}}/>\\n            {{/if}}\\n          </div>\\n          <div class=\\\"u__ml__10\\\">\\n            <a\\n              class=\\\"btn__tertiary__deemphasized\\\"\\n              href=\\\"{{href-to \\\"apps.app.account.visibility.tags\\\"}}\\\"\\n              {{on \\\"click\\\" (track-analytics-event action=\\\"clicked\\\" object=\\\"user_tags_visibility_button\\\")}}\\n              data-test-edit-tags-visibility\\n            >\\n              Edit\\n            </a>\\n          </div>\\n        </div>\\n      {{/if}}\\n      <div class=\\\"profile-sidebar-section__overflow-auto\\\">\\n        <body.expanded-content>\\n          <TagsList\\n            @app={{@app}}\\n            @admin={{@app.currentAdmin}}\\n            @taggings={{hiddenTaggings}}\\n            @taggable={{@user}}\\n            @hideAddTagButton={{true}}\\n          />\\n        </body.expanded-content>\\n      </div>\\n    {{/let}}\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title @title=\\\"Tags\\\" @prefix={{user.typeLabel}} />\\n  <sidebarSection.body\\n    class=\\\"inbox__conversation-sidebar__tags__top-offset\\\" as |body|\\n  >\\n    <div class=\\\"profile-sidebar-section__overflow-auto\\\">\\n      <body.content>\\n        <TagsList\\n          @app={{@app}}\\n          @admin={{@app.currentAdmin}}\\n          @taggings={{visibility/visible-tags (get @user.taggings \\\"[]\\\")}}\\n          @taggable={{@user}}\\n          @taggingModalAction={{action \\\"openTaggingModalFromVisibilityComponent\\\"}}\\n          @untaggingAction={{untaggingAction}}\\n        />\\n      </body.content>\\n    </div>\\n    {{#let\\n      (visibility/hidden-tags (get @user.taggings \\\"[]\\\")) as |hiddenTaggings|\\n    }}\\n      {{#if @user.taggings}}\\n        <div class=\\\"flex items-start inbox__conversation-sidebar__default-top-margin\\\">\\n          <div class=\\\"flex-auto min-w-0\\\">\\n            {{#if hiddenTaggings}}\\n              <body.expand-button @hiddenCount={{hiddenTaggings.length}}/>\\n            {{/if}}\\n          </div>\\n          <div class=\\\"u__ml__10\\\">\\n            <a\\n              class=\\\"btn__tertiary__deemphasized\\\"\\n              href=\\\"{{href-to \\\"apps.app.account.visibility.tags\\\"}}\\\"\\n              {{on \\\"click\\\" (track-analytics-event action=\\\"clicked\\\" object=\\\"user_tags_visibility_button\\\")}}\\n              data-test-edit-tags-visibility\\n            >\\n              Edit\\n            </a>\\n          </div>\\n        </div>\\n      {{/if}}\\n      <div class=\\\"profile-sidebar-section__overflow-auto\\\">\\n        <body.expanded-content>\\n          <TagsList\\n            @app={{@app}}\\n            @admin={{@app.currentAdmin}}\\n            @taggings={{hiddenTaggings}}\\n            @taggable={{@user}}\\n            @hideAddTagButton={{true}}\\n          />\\n        </body.expanded-content>\\n      </div>\\n    {{/let}}\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/tags.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/tags.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  tagName: '',\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n\n  actions: {\n    openTaggingModalFromVisibilityComponent(controller, user) {\n      this.modalService.openModal('apps/app/users/segments/segment/modals/tagging', user, null, {\n        taggable: user,\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  @hideSpaceBetweenTitleAndBody={{true}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title>\\n    <Inbox::ConversationSidebar::UserDetailsTitle\\n      @app={{@app}}\\n      @user={{@user}}\\n      @conversation={{@conversation}}\\n      @inEditMode={{@inEditMode}}\\n    />\\n  </sidebarSection.title>\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      <div class=\\\"mt-2\\\">\\n        <div class=\\\"kv__pair u__cf o__in-list ember-view\\\">\\n          <span class=\\\"text-gray kv__key u__default-cursor\\\">\\n            <span>\\n              {{ic-interface-icon \\\"person\\\" color=\\\"gray\\\"}}\\n            </span>\\n            {{@user.typeLabel}}\\n          </span>\\n        </div>\\n        <Users::Profile::LocalTimeAndLocationComponent @person={{@user}} />\\n      </div>\\n      {{#if this.attributeService.inboxSidebarVisibleAttributes}}\\n        <Inbox::UserProfile::AttributeList\\n          @objects={{this.attributeService.inboxSidebarVisibleAttributes}}\\n          @editVisibilityMode={{editVisibilityMode}}\\n          @attributesVisible={{true}}\\n          @onCompany={{false}}\\n          @userOrCompany={{@user}}\\n          @app={{@app}}\\n          @isHidden={{false}}\\n        />\\n      {{/if}}\\n    </body.content>\\n    <div class=\\\"u__padt__5 layout__box flex items-start\\\">\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        {{#if this.attributeService.inboxSidebarHiddenAttributes}}\\n          <body.expand-button @hiddenCount={{this.attributeService.inboxSidebarHiddenAttributes.length}}\\n          />\\n        {{/if}}\\n      </div>\\n      <Inbox::ConversationSidebar::SectionEditVisibilityButton\\n        @editVisibilityMode={{editVisibilityMode}}\\n        @sectionName=\\\"user_details\\\"\\n        @expandedContentVisibility={{body.expandedContentVisibility}}\\n        @afterDoneClicked={{action \\\"afterVisibilitySettingsDoneClicked\\\"}}\\n      />\\n    </div>\\n    <body.expanded-content>\\n      <Inbox::UserProfile::AttributeList\\n        @objects={{this.attributeService.inboxSidebarHiddenAttributes}}\\n        @editVisibilityMode={{editVisibilityMode}}\\n        @attributesVisible={{false}}\\n        @onCompany={{false}}\\n        @userOrCompany={{@user}}\\n        @app={{@app}}\\n      />\\n    </body.expanded-content>\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Inbox::ConversationSidebar::Section\\n  @inEditMode={{@inEditMode}}\\n  @removeSection={{@removeSection}}\\n  @hideSpaceBetweenTitleAndBody={{true}}\\n  as |sidebarSection|\\n>\\n  <sidebarSection.title>\\n    <Inbox::ConversationSidebar::UserDetailsTitle\\n      @app={{@app}}\\n      @user={{@user}}\\n      @conversation={{@conversation}}\\n      @inEditMode={{@inEditMode}}\\n    />\\n  </sidebarSection.title>\\n  <sidebarSection.body as |body|>\\n    <body.content>\\n      <div class=\\\"mt-2\\\">\\n        <div class=\\\"kv__pair u__cf o__in-list ember-view\\\">\\n          <span class=\\\"text-gray kv__key u__default-cursor\\\">\\n            <span>\\n              {{ic-interface-icon \\\"person\\\" color=\\\"gray\\\"}}\\n            </span>\\n            {{@user.typeLabel}}\\n          </span>\\n        </div>\\n        <Users::Profile::LocalTimeAndLocationComponent @person={{@user}} />\\n      </div>\\n      {{#if this.attributeService.inboxSidebarVisibleAttributes}}\\n        <Inbox::UserProfile::AttributeList\\n          @objects={{this.attributeService.inboxSidebarVisibleAttributes}}\\n          @editVisibilityMode={{editVisibilityMode}}\\n          @attributesVisible={{true}}\\n          @onCompany={{false}}\\n          @userOrCompany={{@user}}\\n          @app={{@app}}\\n          @isHidden={{false}}\\n        />\\n      {{/if}}\\n    </body.content>\\n    <div class=\\\"u__padt__5 layout__box flex items-start\\\">\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        {{#if this.attributeService.inboxSidebarHiddenAttributes}}\\n          <body.expand-button @hiddenCount={{this.attributeService.inboxSidebarHiddenAttributes.length}}\\n          />\\n        {{/if}}\\n      </div>\\n      <Inbox::ConversationSidebar::SectionEditVisibilityButton\\n        @editVisibilityMode={{editVisibilityMode}}\\n        @sectionName=\\\"user_details\\\"\\n        @expandedContentVisibility={{body.expandedContentVisibility}}\\n        @afterDoneClicked={{action \\\"afterVisibilitySettingsDoneClicked\\\"}}\\n      />\\n    </div>\\n    <body.expanded-content>\\n      <Inbox::UserProfile::AttributeList\\n        @objects={{this.attributeService.inboxSidebarHiddenAttributes}}\\n        @editVisibilityMode={{editVisibilityMode}}\\n        @attributesVisible={{false}}\\n        @onCompany={{false}}\\n        @userOrCompany={{@user}}\\n        @app={{@app}}\\n      />\\n    </body.expanded-content>\\n  </sidebarSection.body>\\n</Inbox::ConversationSidebar::Section>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/cards/user-details.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/cards/user-details.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport safeWindowOpen from 'embercom/lib/safe-window-open';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  attributeService: service(),\n  modelDataCacheService: service(),\n\n  editVisibilityMode: false,\n\n  lookupAdminByEmail() {\n    let userEmail = this.get('user.email');\n    safeWindowOpen(`https://intercomrades.intercom.com/admin/admins?admin_email=${userEmail}`);\n  },\n\n  actions: {\n    lookupAdminEmail() {\n      this.lookupAdminByEmail();\n    },\n\n    afterVisibilitySettingsDoneClicked() {\n      this.app.updateLocalCache(this.modelDataCacheService);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<h4\\n  data-test-company-name\\n  class=\\\"t__h4 o__centers-vertically inbox__conversation-sidebar__company-details-title layout__box\\\"\\n>\\n  {{ic-avatar model=@company size=\\\"m\\\"}} <LinkTo\\n    @route=\\\"apps.app.companies.company\\\"\\n    @model={{@company.id}}\\n    class=\\\"u__ml__10 t__solo-link\\\"\\n  >\\n    {{@company.name}}\\n  </LinkTo>\\n</h4>\\n\", {\"contents\":\"<h4\\n  data-test-company-name\\n  class=\\\"t__h4 o__centers-vertically inbox__conversation-sidebar__company-details-title layout__box\\\"\\n>\\n  {{ic-avatar model=@company size=\\\"m\\\"}} <LinkTo\\n    @route=\\\"apps.app.companies.company\\\"\\n    @model={{@company.id}}\\n    class=\\\"u__ml__10 t__solo-link\\\"\\n  >\\n    {{@company.name}}\\n  </LinkTo>\\n</h4>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/company-details-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/company-details-title.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"inbox__conversation-sidebar__conversation-attributes u__pad__10 pb-3 pt-2\\\"\\n  {{did-insert (perform this.loadAttributeDescriptors)}}\\n  data-test-inbox-conversation-attributes\\n>\\n  <div class=\\\"flex flex-row u__pad__5 pb-2\\\">\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <h4 class=\\\"t__h4\\\">\\n        Conversation details\\n      </h4>\\n    </div>\\n    <div class=\\\"inbox__conversation-sidebar__conversation-attributes__settings\\\">\\n      <IcTooltip as |t|>\\n        <t.opener>\\n          <a\\n            href=\\\"{{href-to \\\"apps.app.settings.conversation-data\\\"}}\\\"\\n            target=\\\"_blank\\\"\\n            rel=\\\"noopener noreferrer\\\"\\n          >\\n            {{ic-interface-icon \\\"settings\\\"}}\\n          </a>\\n        </t.opener>\\n        <t.content>\\n          Settings\\n        </t.content>\\n      </IcTooltip>\\n    </div>\\n  </div>\\n  {{#if this.showLoadingState}}\\n    <div class='p-4'>\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    </div>\\n  {{else if this.hasAttributeDescriptors}}\\n    {{#each this.visibleAttributeDescriptors as |attr|}}\\n      <Inbox::ConversationSidebar::ConversationAttributes::AttributeRow\\n        @descriptor={{attr}}\\n        @conversation={{@conversation}}\\n      />\\n    {{/each}}\\n    {{#each this.fixedAttributes as |attr|}}\\n      <Inbox::ConversationSidebar::ConversationAttributes::FixedAttributeRow\\n        @label={{attr.label}}\\n        @value={{attr.value}}\\n      />\\n    {{/each}}\\n  {{else}}\\n    <span\\n      class=\\\"inbox__conversation-sidebar__conversation-attributes__error-text p-2\\\"\\n      data-test-inbox-conversation-attributes-error\\n    >\\n      Error loading attributes\\n    </span>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"inbox__conversation-sidebar__conversation-attributes u__pad__10 pb-3 pt-2\\\"\\n  {{did-insert (perform this.loadAttributeDescriptors)}}\\n  data-test-inbox-conversation-attributes\\n>\\n  <div class=\\\"flex flex-row u__pad__5 pb-2\\\">\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <h4 class=\\\"t__h4\\\">\\n        Conversation details\\n      </h4>\\n    </div>\\n    <div class=\\\"inbox__conversation-sidebar__conversation-attributes__settings\\\">\\n      <IcTooltip as |t|>\\n        <t.opener>\\n          <a\\n            href=\\\"{{href-to \\\"apps.app.settings.conversation-data\\\"}}\\\"\\n            target=\\\"_blank\\\"\\n            rel=\\\"noopener noreferrer\\\"\\n          >\\n            {{ic-interface-icon \\\"settings\\\"}}\\n          </a>\\n        </t.opener>\\n        <t.content>\\n          Settings\\n        </t.content>\\n      </IcTooltip>\\n    </div>\\n  </div>\\n  {{#if this.showLoadingState}}\\n    <div class='p-4'>\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    </div>\\n  {{else if this.hasAttributeDescriptors}}\\n    {{#each this.visibleAttributeDescriptors as |attr|}}\\n      <Inbox::ConversationSidebar::ConversationAttributes::AttributeRow\\n        @descriptor={{attr}}\\n        @conversation={{@conversation}}\\n      />\\n    {{/each}}\\n    {{#each this.fixedAttributes as |attr|}}\\n      <Inbox::ConversationSidebar::ConversationAttributes::FixedAttributeRow\\n        @label={{attr.label}}\\n        @value={{attr.value}}\\n      />\\n    {{/each}}\\n  {{else}}\\n    <span\\n      class=\\\"inbox__conversation-sidebar__conversation-attributes__error-text p-2\\\"\\n      data-test-inbox-conversation-attributes-error\\n    >\\n      Error loading attributes\\n    </span>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/conversation-attributes.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/conversation-attributes.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\n\nexport default class ConversationAttributes extends Component {\n  @service appService;\n  @service store;\n  @tracked attributeDescriptors;\n  @tracked failedToLoad;\n\n  get fixedAttributes() {\n    let attributes = [];\n\n    if (this.args.conversation.brandName) {\n      attributes.push({\n        label: 'Brand',\n        value: this.args.conversation.brandName,\n      });\n    }\n\n    attributes.push({\n      label: 'ID',\n      value: this.args.conversation.id,\n    });\n\n    if (\n      this.appService.app.canSeeConversationalInsights &&\n      this.appService.app.canSeeConversationalInsightsInInbox &&\n      this.args.conversation.topics?.length\n    ) {\n      attributes.push({\n        label: 'Topic',\n        value: this.args.conversation.topics.map(t => t.name).join(', '),\n      });\n    }\n\n    return attributes;\n  }\n\n  get conversationAttributes() {\n    return this.args.conversation.conversationAttributes;\n  }\n\n  get attributesWithValue() {\n    return this.conversationAttributes.map(attr => attr.attributeId);\n  }\n\n  get showLoadingState() {\n    return this.loadAttributeDescriptors.isRunning;\n  }\n\n  get showErrorState() {\n    return !this.loadAttributeDescriptors.isRunning && this.failedToLoad;\n  }\n\n  get hasAttributeDescriptors() {\n    return !!this.attributeDescriptors;\n  }\n\n  get visibleAttributeDescriptors() {\n    return this.attributeDescriptors.filter(\n      descriptor => !descriptor.archived || this.attributesWithValue.includes(descriptor.id),\n    );\n  }\n\n  @task *loadAttributeDescriptors() {\n    try {\n      this.attributeDescriptors = yield this.store.findAll('conversation-attributes/descriptor');\n    } catch (e) {\n      this.failedToLoad = true;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row inbox__conversation-sidebar__conversation-attributes__attribute-row\\\" data-test-inbox-conversation-attribute-row={{@descriptor.id}} {{did-insert this.initRow}} {{did-update this.initRow @conversation.id}} {{will-destroy this.cleanupRow}}>\\n  <IcTooltip\\n    class='inbox__conversation-sidebar__conversation-attributes__attribute-row__name'\\n    @isDelayed={{true}}\\n    @isInteractive={{true}}\\n  as |tooltip|>\\n    <tooltip.opener>\\n      <div\\n        class='text-gray mr-2 u__one-truncated-line'\\n        data-test-inbox-conversation-attribute-row-name\\n      >\\n        {{@descriptor.name}}\\n      </div>\\n    </tooltip.opener>\\n\\n    <tooltip.content>\\n      <Paragraph>\\n        <Text @styling=\\\"strong\\\">{{@descriptor.name}}</Text>\\n      </Paragraph>\\n\\n      {{#if @descriptor.description}}\\n        <Paragraph>{{@descriptor.description}}</Paragraph>\\n      {{else}}\\n        <LinkTo\\n          @route=\\\"apps.app.settings.conversation-data\\\"\\n        >\\n          Add a description\\n        </LinkTo>\\n      {{/if}}\\n    </tooltip.content>\\n  </IcTooltip>\\n\\n  <div\\n    class=\\\"min-w-0 {{if this.isEditing 'flex-1'}}\\\"\\n    data-test-inbox-conversation-attribute-row-value\\n  >\\n    {{#if this.isEditing}}\\n      {{component\\n        this.componentEditorPath\\n        descriptor=@descriptor\\n        attributeValue=this.attributeValue\\n        onFinishEditing=this.finishEditing\\n      }}\\n    {{else}}\\n      <div class=\\\"flex flex-row inbox__conversation-sidebar__conversation-attributes__attribute-row__value pl-2 pr-2\\\" data-test-inbox-conversation-attribute-row-edit-button {{on \\\"click\\\" this.enterEditMode}}>\\n        {{#if this.hasValue}}\\n          <span\\n            class=\\\"u__one-truncated-line\\\"\\n            {{tooltip content=this.formattedValue}}\\n            data-test-inbox-conversation-attribute-row-value-tooltip\\n          >\\n            {{this.formattedValue}}\\n          </span>\\n        {{else}}\\n          <span class='text-gray'>Add</span>\\n        {{/if}}\\n        {{#if @descriptor.isSelectionType}}\\n          <span class=\\\"inbox__conversation-sidebar__conversation-attributes__attribute-row__caret ml-1\\\">{{ic-interface-icon 'small-down-arrow' solo=true color='blue'}}</span>\\n        {{/if}}\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row inbox__conversation-sidebar__conversation-attributes__attribute-row\\\" data-test-inbox-conversation-attribute-row={{@descriptor.id}} {{did-insert this.initRow}} {{did-update this.initRow @conversation.id}} {{will-destroy this.cleanupRow}}>\\n  <IcTooltip\\n    class='inbox__conversation-sidebar__conversation-attributes__attribute-row__name'\\n    @isDelayed={{true}}\\n    @isInteractive={{true}}\\n  as |tooltip|>\\n    <tooltip.opener>\\n      <div\\n        class='text-gray mr-2 u__one-truncated-line'\\n        data-test-inbox-conversation-attribute-row-name\\n      >\\n        {{@descriptor.name}}\\n      </div>\\n    </tooltip.opener>\\n\\n    <tooltip.content>\\n      <Paragraph>\\n        <Text @styling=\\\"strong\\\">{{@descriptor.name}}</Text>\\n      </Paragraph>\\n\\n      {{#if @descriptor.description}}\\n        <Paragraph>{{@descriptor.description}}</Paragraph>\\n      {{else}}\\n        <LinkTo\\n          @route=\\\"apps.app.settings.conversation-data\\\"\\n        >\\n          Add a description\\n        </LinkTo>\\n      {{/if}}\\n    </tooltip.content>\\n  </IcTooltip>\\n\\n  <div\\n    class=\\\"min-w-0 {{if this.isEditing 'flex-1'}}\\\"\\n    data-test-inbox-conversation-attribute-row-value\\n  >\\n    {{#if this.isEditing}}\\n      {{component\\n        this.componentEditorPath\\n        descriptor=@descriptor\\n        attributeValue=this.attributeValue\\n        onFinishEditing=this.finishEditing\\n      }}\\n    {{else}}\\n      <div class=\\\"flex flex-row inbox__conversation-sidebar__conversation-attributes__attribute-row__value pl-2 pr-2\\\" data-test-inbox-conversation-attribute-row-edit-button {{on \\\"click\\\" this.enterEditMode}}>\\n        {{#if this.hasValue}}\\n          <span\\n            class=\\\"u__one-truncated-line\\\"\\n            {{tooltip content=this.formattedValue}}\\n            data-test-inbox-conversation-attribute-row-value-tooltip\\n          >\\n            {{this.formattedValue}}\\n          </span>\\n        {{else}}\\n          <span class='text-gray'>Add</span>\\n        {{/if}}\\n        {{#if @descriptor.isSelectionType}}\\n          <span class=\\\"inbox__conversation-sidebar__conversation-attributes__attribute-row__caret ml-1\\\">{{ic-interface-icon 'small-down-arrow' solo=true color='blue'}}</span>\\n        {{/if}}\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/conversation-attributes/attribute-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/conversation-attributes/attribute-row.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class AttributeRow extends Component {\n  @service store;\n  @service notificationsService;\n  @tracked isEditing = false;\n  @tracked attributeValue;\n\n  get attributeKey() {\n    return `${this.args.conversation.id}-${this.args.descriptor.id}`;\n  }\n\n  get hasValue() {\n    return this.attributeValue && !this.attributeValue.isEmpty(this.args.descriptor);\n  }\n\n  get formattedValue() {\n    return this.attributeValue?.formatValue(this.args.descriptor);\n  }\n\n  get componentEditorPath() {\n    return `inbox/conversation-sidebar/conversation-attributes/editor/${this.args.descriptor.dataType}`;\n  }\n\n  @action\n  initRow() {\n    if (this.attributeValue) {\n      this.cleanupRow();\n    }\n\n    let exisitingValue = this.store.peekRecord(\n      'conversation-attributes/conversation-attribute-value',\n      this.attributeKey,\n    );\n\n    if (exisitingValue) {\n      this.attributeValue = exisitingValue;\n    } else {\n      this.attributeValue = this.args.conversation.conversationAttributes.createRecord({\n        id: this.attributeKey,\n        value: '',\n      });\n    }\n\n    this.isEditing = false;\n  }\n\n  @action\n  cleanupRow() {\n    if (this.attributeValue.isNew && this.attributeValue.isEmpty(this.args.descriptor)) {\n      this.attributeValue.unloadRecord();\n    }\n  }\n\n  @action\n  enterEditMode() {\n    this.isEditing = true;\n  }\n\n  @task *finishEditing(event) {\n    if (!this.isEditing) {\n      return;\n    }\n\n    this.isEditing = false;\n    if (!this.attributeValue.isValueValid(this.args.descriptor, event)) {\n      this.notificationsService.notifyError(\n        `The value for ${this.args.descriptor.name} is invalid`,\n      );\n      this.attributeValue.rollbackAttributes();\n      return;\n    }\n\n    this.attributeValue.normalizeValue(this.args.descriptor);\n    if (\n      this.attributeValue.hasDirtyAttributes &&\n      !(this.attributeValue.isNew && this.attributeValue.isEmpty(this.args.descriptor))\n    ) {\n      try {\n        yield this.attributeValue.save();\n      } catch (e) {\n        this.notificationsService.notifyError('An error occurred while saving this attribute');\n        this.attributeValue.rollbackAttributes();\n      }\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcSelect\\n  @items={{this.options}}\\n  @onSelectItem={{this.itemSelected}}\\n  @selectedValue={{this.selectedValue}}\\n  @onClose={{perform @onFinishEditing}}\\n  @initiallyOpened={{true}}\\n  @footerActions={{if (not (eq this.selectedValue undefined)) (hash\\n    text=\\\"Clear\\\"\\n    action=(fn this.itemSelected null)\\n    component=\\\"inbox/conversation-sidebar/conversation-attributes/editor/list/clear\\\"\\n    componentClasses=\\\"text-blue focus:text-blue py-0 focus:bg-transparent\\\"\\n  )}}\\n  @defaultLabel=\\\"Add\\\" as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <div class=\\\"flex flex-row inbox__conversation-sidebar__conversation-attributes__editor__dropdown o__open pl-2 pr-2\\\">\\n      {{#if select.selectedItem}}\\n        <span class='u__one-truncated-line'>\\n          {{select.selectedItem.text}}\\n        </span>\\n      {{else}}\\n        <span>Add</span>\\n      {{/if}}\\n      <span class=\\\"inbox__conversation-sidebar__conversation-attributes__attribute-row__caret ml-1\\\">{{ic-interface-icon 'small-down-arrow' solo=true color='blue'}}</span>\\n    </div>\\n  </select.opener>\\n</IcSelect>\\n\", {\"contents\":\"<IcSelect\\n  @items={{this.options}}\\n  @onSelectItem={{this.itemSelected}}\\n  @selectedValue={{this.selectedValue}}\\n  @onClose={{perform @onFinishEditing}}\\n  @initiallyOpened={{true}}\\n  @footerActions={{if (not (eq this.selectedValue undefined)) (hash\\n    text=\\\"Clear\\\"\\n    action=(fn this.itemSelected null)\\n    component=\\\"inbox/conversation-sidebar/conversation-attributes/editor/list/clear\\\"\\n    componentClasses=\\\"text-blue focus:text-blue py-0 focus:bg-transparent\\\"\\n  )}}\\n  @defaultLabel=\\\"Add\\\" as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <div class=\\\"flex flex-row inbox__conversation-sidebar__conversation-attributes__editor__dropdown o__open pl-2 pr-2\\\">\\n      {{#if select.selectedItem}}\\n        <span class='u__one-truncated-line'>\\n          {{select.selectedItem.text}}\\n        </span>\\n      {{else}}\\n        <span>Add</span>\\n      {{/if}}\\n      <span class=\\\"inbox__conversation-sidebar__conversation-attributes__attribute-row__caret ml-1\\\">{{ic-interface-icon 'small-down-arrow' solo=true color='blue'}}</span>\\n    </div>\\n  </select.opener>\\n</IcSelect>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/conversation-attributes/editor/boolean.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/conversation-attributes/editor/boolean.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class Boolean extends Component {\n  get selectedValue() {\n    let value = this.args.attributeValue.value;\n    if (value === '' || value === null) {\n      return undefined;\n    }\n    return value;\n  }\n\n  get options() {\n    return [\n      { text: 'True', value: true },\n      { text: 'False', value: false },\n    ];\n  }\n\n  @action\n  itemSelected(newValue) {\n    this.args.attributeValue.value = newValue;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Form as |form|>\\n  <form.Item as |item|>\\n    <item.Input\\n      class='inbox__conversation-sidebar__conversation-attributes__editor__simple-input pl-2 pr-2'\\n      data-test-inbox-conversation-attribute-row-decimal-editor\\n      @type='number'\\n      step=\\\"any\\\"\\n      @placeholder={{concat \\\"Add \\\" @descriptor.name}}\\n      @value={{@attributeValue.value}}\\n      {{on 'blur' (perform @onFinishEditing)}}\\n      {{on 'keydown' this.onKeyDown}}\\n      {{auto-focus-element}}\\n    />\\n  </form.Item>\\n</Form>\\n\", {\"contents\":\"<Form as |form|>\\n  <form.Item as |item|>\\n    <item.Input\\n      class='inbox__conversation-sidebar__conversation-attributes__editor__simple-input pl-2 pr-2'\\n      data-test-inbox-conversation-attribute-row-decimal-editor\\n      @type='number'\\n      step=\\\"any\\\"\\n      @placeholder={{concat \\\"Add \\\" @descriptor.name}}\\n      @value={{@attributeValue.value}}\\n      {{on 'blur' (perform @onFinishEditing)}}\\n      {{on 'keydown' this.onKeyDown}}\\n      {{auto-focus-element}}\\n    />\\n  </form.Item>\\n</Form>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/conversation-attributes/editor/decimal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/conversation-attributes/editor/decimal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class Decimal extends Component {\n  @action\n  onKeyDown(e) {\n    if (e.key === 'Enter') {\n      e.target.blur();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Form as |form|>\\n  <form.Item as |item|>\\n    <item.Input\\n      class='inbox__conversation-sidebar__conversation-attributes__editor__simple-input pl-2 pr-2'\\n      data-test-inbox-conversation-attribute-row-integer-editor\\n      @type='number'\\n      @placeholder={{concat \\\"Add \\\" @descriptor.name}}\\n      @value={{@attributeValue.value}}\\n      {{on 'blur' (perform @onFinishEditing)}}\\n      {{on 'keydown' this.onKeyDown}}\\n      {{auto-focus-element}}\\n    />\\n  </form.Item>\\n</Form>\\n\", {\"contents\":\"<Form as |form|>\\n  <form.Item as |item|>\\n    <item.Input\\n      class='inbox__conversation-sidebar__conversation-attributes__editor__simple-input pl-2 pr-2'\\n      data-test-inbox-conversation-attribute-row-integer-editor\\n      @type='number'\\n      @placeholder={{concat \\\"Add \\\" @descriptor.name}}\\n      @value={{@attributeValue.value}}\\n      {{on 'blur' (perform @onFinishEditing)}}\\n      {{on 'keydown' this.onKeyDown}}\\n      {{auto-focus-element}}\\n    />\\n  </form.Item>\\n</Form>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/conversation-attributes/editor/integer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/conversation-attributes/editor/integer.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class Integer extends Component {\n  @action\n  onKeyDown(e) {\n    if (e.key === 'Enter') {\n      e.target.blur();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcSelect\\n  @items={{this.options}}\\n  @onSelectItem={{this.itemSelected}}\\n  @selectedValue={{this.selectedValue}}\\n  @onClose={{perform @onFinishEditing}}\\n  @initiallyOpened={{true}}\\n  @filterPlaceholder=\\\"Search...\\\"\\n  @footerActions={{if this.selectedValue (hash\\n    text=\\\"Clear\\\"\\n    action=(fn this.itemSelected null)\\n    component=\\\"inbox/conversation-sidebar/conversation-attributes/editor/list/clear\\\"\\n    componentClasses=\\\"text-blue focus:text-blue py-0 focus:bg-transparent\\\"\\n  )}}\\n  @defaultLabel=\\\"Add\\\" as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <div class=\\\"flex flex-row inbox__conversation-sidebar__conversation-attributes__editor__dropdown o__open pl-2 pr-2\\\">\\n      {{#if select.selectedItem}}\\n        <span class='u__one-truncated-line'>\\n          {{select.selectedItem.text}}\\n        </span>\\n      {{else}}\\n        <span>Add</span>\\n      {{/if}}\\n      <span class=\\\"inbox__conversation-sidebar__conversation-attributes__attribute-row__caret ml-1\\\">{{ic-interface-icon 'small-down-arrow' solo=true color='blue'}}</span>\\n    </div>\\n  </select.opener>\\n</IcSelect>\\n\", {\"contents\":\"<IcSelect\\n  @items={{this.options}}\\n  @onSelectItem={{this.itemSelected}}\\n  @selectedValue={{this.selectedValue}}\\n  @onClose={{perform @onFinishEditing}}\\n  @initiallyOpened={{true}}\\n  @filterPlaceholder=\\\"Search...\\\"\\n  @footerActions={{if this.selectedValue (hash\\n    text=\\\"Clear\\\"\\n    action=(fn this.itemSelected null)\\n    component=\\\"inbox/conversation-sidebar/conversation-attributes/editor/list/clear\\\"\\n    componentClasses=\\\"text-blue focus:text-blue py-0 focus:bg-transparent\\\"\\n  )}}\\n  @defaultLabel=\\\"Add\\\" as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <div class=\\\"flex flex-row inbox__conversation-sidebar__conversation-attributes__editor__dropdown o__open pl-2 pr-2\\\">\\n      {{#if select.selectedItem}}\\n        <span class='u__one-truncated-line'>\\n          {{select.selectedItem.text}}\\n        </span>\\n      {{else}}\\n        <span>Add</span>\\n      {{/if}}\\n      <span class=\\\"inbox__conversation-sidebar__conversation-attributes__attribute-row__caret ml-1\\\">{{ic-interface-icon 'small-down-arrow' solo=true color='blue'}}</span>\\n    </div>\\n  </select.opener>\\n</IcSelect>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/conversation-attributes/editor/list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/conversation-attributes/editor/list.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class List extends Component {\n  get selectedValue() {\n    let value = this.args.attributeValue.value;\n    if (value === '' || value === null) {\n      return undefined;\n    }\n    return value;\n  }\n\n  get options() {\n    return this.args.descriptor.listOptions\n      .filter(option => !option.archived || option.id === this.args.attributeValue.value)\n      .map(option => ({\n        text: option.label,\n        value: option.id,\n      }));\n  }\n\n  @action\n  itemSelected(newValue) {\n    this.args.attributeValue.value = newValue;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"text-center hover:text-blue-dark\\\">{{@item.text}}</div>\", {\"contents\":\"<div class=\\\"text-center hover:text-blue-dark\\\">{{@item.text}}</div>\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/conversation-attributes/editor/list/clear.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/conversation-attributes/editor/list/clear.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Form as |form|>\\n  <form.Item as |item|>\\n    <item.Input\\n      class='inbox__conversation-sidebar__conversation-attributes__editor__simple-input pl-2 pr-2'\\n      data-test-inbox-conversation-attribute-row-string-editor\\n      @value={{@attributeValue.value}}\\n      @placeholder={{concat \\\"Add \\\" @descriptor.name}}\\n      {{on 'blur' (perform @onFinishEditing)}}\\n      {{on 'keydown' this.onKeyDown}}\\n      {{auto-focus-element}}\\n    />\\n  </form.Item>\\n</Form>\\n\", {\"contents\":\"<Form as |form|>\\n  <form.Item as |item|>\\n    <item.Input\\n      class='inbox__conversation-sidebar__conversation-attributes__editor__simple-input pl-2 pr-2'\\n      data-test-inbox-conversation-attribute-row-string-editor\\n      @value={{@attributeValue.value}}\\n      @placeholder={{concat \\\"Add \\\" @descriptor.name}}\\n      {{on 'blur' (perform @onFinishEditing)}}\\n      {{on 'keydown' this.onKeyDown}}\\n      {{auto-focus-element}}\\n    />\\n  </form.Item>\\n</Form>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/conversation-attributes/editor/string.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/conversation-attributes/editor/string.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class String extends Component {\n  @action\n  onKeyDown(e) {\n    if (e.key === 'Enter') {\n      e.target.blur();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row inbox__conversation-sidebar__conversation-attributes__attribute-row\\\" data-test-inbox-conversation-fixed-attribute-row={{@label}}>\\n  <div class='text-gray mr-3 inbox__conversation-sidebar__conversation-attributes__attribute-row__name'>{{@label}}</div>\\n  <div class='u__one-truncated-line'>{{@value}}</div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row inbox__conversation-sidebar__conversation-attributes__attribute-row\\\" data-test-inbox-conversation-fixed-attribute-row={{@label}}>\\n  <div class='text-gray mr-3 inbox__conversation-sidebar__conversation-attributes__attribute-row__name'>{{@label}}</div>\\n  <div class='u__one-truncated-line'>{{@value}}</div>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/conversation-attributes/fixed-attribute-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/conversation-attributes/fixed-attribute-row.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-volatile-computed-properties */\nimport SortableGroup from 'ember-sortable/components/sortable-group';\nimport { A } from '@ember/array';\nimport { computed } from '@ember/object';\n\nexport default SortableGroup.extend({\n  sortedItems: computed(function() {\n    let direction = this.direction;\n    let dimension = direction === 'x' ? 'width' : 'height';\n\n    return A(\n      this.items.slice().sort((a, b) => {\n        return sortByCenterPoint(a[direction], a[dimension], b[direction], b[dimension]);\n      }),\n    );\n  }).volatile(),\n});\n\nfunction sortByCenterPoint(ay1, ah, by1, bh) {\n  return ay1 + ah / 2 - (by1 + bh / 2);\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if @app.canUseSidebarViews}}\\n  <span\\n    class=\\\"btn__secondary__deemphasized u__pad__5 ml-1\\\"\\n    {{action @turnOnEditMode}}\\n    data-test-sidebar-customize-button\\n  >\\n    {{ic-interface-icon 'settings'}}\\n  </span>\\n{{else}}\\n  <span\\n    class=\\\"btn__tertiary__deemphasized u__pad__5\\\"\\n    {{action @turnOnEditMode}}\\n    data-test-sidebar-customize-button\\n  >\\n    Customize\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if @app.canUseSidebarViews}}\\n  <span\\n    class=\\\"btn__secondary__deemphasized u__pad__5 ml-1\\\"\\n    {{action @turnOnEditMode}}\\n    data-test-sidebar-customize-button\\n  >\\n    {{ic-interface-icon 'settings'}}\\n  </span>\\n{{else}}\\n  <span\\n    class=\\\"btn__tertiary__deemphasized u__pad__5\\\"\\n    {{action @turnOnEditMode}}\\n    data-test-sidebar-customize-button\\n  >\\n    Customize\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/edit-sidebar-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/edit-sidebar-button.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"attribute__editor-row layout__box o__has-columns o__flexes-to-1\\\">\\n  {{#if isEditing}}\\n    <div\\n      class=\\\"layout__box o__has-columns o__flexes-to-1 o__centers-vertically u__pad__5\\\"\\n    >\\n      <People::Attributes::StringEditor\\n        @attribute={{this.attribute}}\\n        @value={{this.currentAttributeValue}}\\n        @isEditing={{@isEditing}}\\n        @completeEditing={{action \\\"completeEditing\\\"}}\\n        @cancelEditing={{action \\\"cancelEditing\\\"}}\\n      />\\n    </div>\\n  {{else}}\\n    <div\\n      data-test-section-user-name\\n      class=\\\"layout__box o__has-columns o__flexes-to-1 o__centers-vertically attribute__fit-content\\\"\\n    >\\n      <LinkTo\\n        @route=\\\"apps.app.users.user\\\"\\n        @model={{@person.id}}\\n        class=\\\"attribute__label-wrapper u__one-truncated-line t__solo-link t__h4\\\"\\n      >\\n        {{@person.displayAs}}\\n      </LinkTo>\\n      <div\\n        class=\\\"layout__box u__pointer-cursor quick-action attribute__edit-icon\\\"\\n        data-test-attribute-edit-icon\\n        {{action \\\"beginEditing\\\"}}\\n      >\\n        {{ic-interface-icon \\\"edit\\\" solo=true}}\\n      </div>\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"attribute__editor-row layout__box o__has-columns o__flexes-to-1\\\">\\n  {{#if isEditing}}\\n    <div\\n      class=\\\"layout__box o__has-columns o__flexes-to-1 o__centers-vertically u__pad__5\\\"\\n    >\\n      <People::Attributes::StringEditor\\n        @attribute={{this.attribute}}\\n        @value={{this.currentAttributeValue}}\\n        @isEditing={{@isEditing}}\\n        @completeEditing={{action \\\"completeEditing\\\"}}\\n        @cancelEditing={{action \\\"cancelEditing\\\"}}\\n      />\\n    </div>\\n  {{else}}\\n    <div\\n      data-test-section-user-name\\n      class=\\\"layout__box o__has-columns o__flexes-to-1 o__centers-vertically attribute__fit-content\\\"\\n    >\\n      <LinkTo\\n        @route=\\\"apps.app.users.user\\\"\\n        @model={{@person.id}}\\n        class=\\\"attribute__label-wrapper u__one-truncated-line t__solo-link t__h4\\\"\\n      >\\n        {{@person.displayAs}}\\n      </LinkTo>\\n      <div\\n        class=\\\"layout__box u__pointer-cursor quick-action attribute__edit-icon\\\"\\n        data-test-attribute-edit-icon\\n        {{action \\\"beginEditing\\\"}}\\n      >\\n        {{ic-interface-icon \\\"edit\\\" solo=true}}\\n      </div>\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/editable-user-name.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/editable-user-name.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable promise/prefer-await-to-then */\nimport { inject as service } from '@ember/service';\nimport { findBy } from '@intercom/embercom-core/lib/computed-properties';\nimport EditableAttribute from 'embercom/components/people/attributes/editable-attribute';\n\nexport default EditableAttribute.extend({\n  userUpdaterService: service(),\n  classNameBindings: ['isNotEditing:inbox__user-profile__name-editor'],\n  attribute: findBy('app.attributes', 'identifier', 'name'),\n  'data-test-section-editable-name': true,\n  _updateDisplayName() {\n    let mainParticipant = this.get('displayedConversation.main_participant');\n    if (mainParticipant && mainParticipant.get('user_id') === this.get('person.id')) {\n      this.userUpdaterService.updateData(mainParticipant, {\n        display_as: this.currentAttributeValue,\n      });\n    }\n    this.person.updateLeadName(this.currentAttributeValue);\n  },\n  actions: {\n    completeEditing(value) {\n      if (value !== this.currentAttributeValue) {\n        this.updateAttributeValue.perform(value).then(() => this._updateDisplayName());\n      }\n      this.set('isEditing', false);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"layout__box o__has-columns u__center-layout inbox__conversation-sidebar__header {{this.headerAdditionalClasses}}\\\"\\n>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    {{#if @showGroupConversationTab}}\\n      <Inbox::GroupConversationTabComponent\\n        @inEditMode={{@inEditMode}}\\n        @conversation={{@conversation}}\\n        @currentActiveParticipantId={{@activeParticipantId}}\\n        @toggleActiveParticipant={{@toggleActiveParticipant}}\\n      />\\n    {{else}}\\n      {{#if this.app.canUseConversationAttributeData}}\\n        <h4 class=\\\"t__h4 u__pad__5\\\">\\n          Related\\n        </h4>\\n      {{else}}\\n        <h3 class=\\\"t__h3 u__pad__5\\\">\\n          Details\\n        </h3>\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n  <div class=\\\"u__cf\\\">\\n    <div class=\\\"u__right\\\">\\n      {{#if @inEditMode}}\\n        {{#if (and @app.canUseSidebarViews @sidebarViewId)}}\\n            <IcButtonList as |list|>\\n              <list.button\\n                @type=\\\"secondary-destructive\\\"\\n                @icon=\\\"trash\\\"\\n                @label=\\\"\\\"\\n                @processingLabel=\\\"Deleting…\\\"\\n                @onClick={{@deleteSidebarView}}\\n              />\\n              <list.button @type=\\\"primary\\\"\\n                @label=\\\"Done\\\"\\n                @processingLabel=\\\"Saving…\\\"\\n                @onClick={{@saveSectionsList}}\\n                data-test-sidebar-save-button={{true}}\\n              />\\n            </IcButtonList>\\n          {{else}}\\n            <IcButton\\n              @type=\\\"primary\\\"\\n              @label=\\\"Done\\\"\\n              @processingLabel=\\\"Saving…\\\"\\n              @onClick={{@saveSectionsList}}\\n              data-test-sidebar-save-button={{true}}\\n            />\\n          {{/if}}\\n      {{else}}\\n        <Popover\\n          @initiallyOpen={{@showNotificationTooltip}}\\n          @isDisabled={{not @showNotificationTooltip}}\\n          @hideOn={{array}}\\n          @showOn={{array}}\\n          @placement=\\\"bottom-end\\\"\\n          @showArrow={{true}}\\n          as |popover|\\n        >\\n          <popover.Opener>\\n            {{#if @app.canUseSidebarViews}}\\n              <div class=\\\"flex flex-row justify-start\\\">\\n                <Inbox::ConversationSidebar::ViewSelect\\n                  @turnOnEditMode={{@turnOnEditMode}}\\n                  @sidebarViewId={{@sidebarViewId}}\\n                  @setSidebarViewId={{@setSidebarViewId}}\\n                  @reloadSidebar={{@reloadSidebar}}\\n                />\\n\\n                <Inbox::ConversationSidebar::EditSidebarButton\\n                  @app={{@app}}\\n                  @turnOnEditMode={{@turnOnEditMode}}\\n                />\\n              </div>\\n            {{else}}\\n              <Inbox::ConversationSidebar::EditSidebarButton\\n                @app={{@app}}\\n                @turnOnEditMode={{@turnOnEditMode}}\\n              />\\n            {{/if}}\\n          </popover.Opener>\\n\\n          <popover.Content>\\n            <div class=\\\"flex flex-row gap-2 pt-2 pb-2\\\" data-test-install-notification>\\n              {{#if (eq @sectionsListFromAdminAppSidebarSections.notification.icon 'all-companies')}}\\n                <div\\n                  class=\\\"inbox__conversation-sidebar__notification-svg-wrapper\\\"\\n                  data-test-company-icon\\n                >\\n                  {{ic-interface-icon 'all-companies' color='blue'}}\\n                </div>\\n              {{else}}\\n                <img\\n                  data-test-app-icon\\n                  class=\\\"inbox__conversation-sidebar__notification-icon\\\"\\n                  src=\\\"{{@sectionsListFromAdminAppSidebarSections.notification.icon}}\\\"\\n                >\\n              {{/if}}\\n\\n              <div>\\n                <span\\n                  class=\\\"t__h4 u__one-truncated-line\\\"\\n                  data-test-notification-text\\n                >\\n                  {{@sectionsListFromAdminAppSidebarSections.notification.text}}\\n                </span>\\n                <span\\n                  class=\\\"t__light-text u__one-truncated-line\\\"\\n                  data-test-notification-subtext\\n                >\\n                  {{@sectionsListFromAdminAppSidebarSections.notification.subtext}}\\n                </span>\\n              </div>\\n\\n              <span\\n                class='u__pointer-cursor inbox__conversation-sidebar__dismiss-notification'\\n                data-test-dismiss-notification\\n                {{on 'click' @dismissNotificationTooltip}}\\n              >\\n                {{ic-interface-icon 'close' solo=true}}\\n              </span>\\n            </div>\\n          </popover.Content>\\n        </Popover>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"layout__box o__has-columns u__center-layout inbox__conversation-sidebar__header {{this.headerAdditionalClasses}}\\\"\\n>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    {{#if @showGroupConversationTab}}\\n      <Inbox::GroupConversationTabComponent\\n        @inEditMode={{@inEditMode}}\\n        @conversation={{@conversation}}\\n        @currentActiveParticipantId={{@activeParticipantId}}\\n        @toggleActiveParticipant={{@toggleActiveParticipant}}\\n      />\\n    {{else}}\\n      {{#if this.app.canUseConversationAttributeData}}\\n        <h4 class=\\\"t__h4 u__pad__5\\\">\\n          Related\\n        </h4>\\n      {{else}}\\n        <h3 class=\\\"t__h3 u__pad__5\\\">\\n          Details\\n        </h3>\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n  <div class=\\\"u__cf\\\">\\n    <div class=\\\"u__right\\\">\\n      {{#if @inEditMode}}\\n        {{#if (and @app.canUseSidebarViews @sidebarViewId)}}\\n            <IcButtonList as |list|>\\n              <list.button\\n                @type=\\\"secondary-destructive\\\"\\n                @icon=\\\"trash\\\"\\n                @label=\\\"\\\"\\n                @processingLabel=\\\"Deleting…\\\"\\n                @onClick={{@deleteSidebarView}}\\n              />\\n              <list.button @type=\\\"primary\\\"\\n                @label=\\\"Done\\\"\\n                @processingLabel=\\\"Saving…\\\"\\n                @onClick={{@saveSectionsList}}\\n                data-test-sidebar-save-button={{true}}\\n              />\\n            </IcButtonList>\\n          {{else}}\\n            <IcButton\\n              @type=\\\"primary\\\"\\n              @label=\\\"Done\\\"\\n              @processingLabel=\\\"Saving…\\\"\\n              @onClick={{@saveSectionsList}}\\n              data-test-sidebar-save-button={{true}}\\n            />\\n          {{/if}}\\n      {{else}}\\n        <Popover\\n          @initiallyOpen={{@showNotificationTooltip}}\\n          @isDisabled={{not @showNotificationTooltip}}\\n          @hideOn={{array}}\\n          @showOn={{array}}\\n          @placement=\\\"bottom-end\\\"\\n          @showArrow={{true}}\\n          as |popover|\\n        >\\n          <popover.Opener>\\n            {{#if @app.canUseSidebarViews}}\\n              <div class=\\\"flex flex-row justify-start\\\">\\n                <Inbox::ConversationSidebar::ViewSelect\\n                  @turnOnEditMode={{@turnOnEditMode}}\\n                  @sidebarViewId={{@sidebarViewId}}\\n                  @setSidebarViewId={{@setSidebarViewId}}\\n                  @reloadSidebar={{@reloadSidebar}}\\n                />\\n\\n                <Inbox::ConversationSidebar::EditSidebarButton\\n                  @app={{@app}}\\n                  @turnOnEditMode={{@turnOnEditMode}}\\n                />\\n              </div>\\n            {{else}}\\n              <Inbox::ConversationSidebar::EditSidebarButton\\n                @app={{@app}}\\n                @turnOnEditMode={{@turnOnEditMode}}\\n              />\\n            {{/if}}\\n          </popover.Opener>\\n\\n          <popover.Content>\\n            <div class=\\\"flex flex-row gap-2 pt-2 pb-2\\\" data-test-install-notification>\\n              {{#if (eq @sectionsListFromAdminAppSidebarSections.notification.icon 'all-companies')}}\\n                <div\\n                  class=\\\"inbox__conversation-sidebar__notification-svg-wrapper\\\"\\n                  data-test-company-icon\\n                >\\n                  {{ic-interface-icon 'all-companies' color='blue'}}\\n                </div>\\n              {{else}}\\n                <img\\n                  data-test-app-icon\\n                  class=\\\"inbox__conversation-sidebar__notification-icon\\\"\\n                  src=\\\"{{@sectionsListFromAdminAppSidebarSections.notification.icon}}\\\"\\n                >\\n              {{/if}}\\n\\n              <div>\\n                <span\\n                  class=\\\"t__h4 u__one-truncated-line\\\"\\n                  data-test-notification-text\\n                >\\n                  {{@sectionsListFromAdminAppSidebarSections.notification.text}}\\n                </span>\\n                <span\\n                  class=\\\"t__light-text u__one-truncated-line\\\"\\n                  data-test-notification-subtext\\n                >\\n                  {{@sectionsListFromAdminAppSidebarSections.notification.subtext}}\\n                </span>\\n              </div>\\n\\n              <span\\n                class='u__pointer-cursor inbox__conversation-sidebar__dismiss-notification'\\n                data-test-dismiss-notification\\n                {{on 'click' @dismissNotificationTooltip}}\\n              >\\n                {{ic-interface-icon 'close' solo=true}}\\n              </span>\\n            </div>\\n          </popover.Content>\\n        </Popover>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/header.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class Header extends Component {\n  @service appService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get headerAdditionalClasses() {\n    let classes = [];\n\n    if (this.args.showGroupConversationTab) {\n      classes.push('u__padr__10');\n    } else {\n      classes.push('u__pad__10');\n    }\n\n    if (this.app.canUseConversationAttributeData) {\n      classes.push('o__cdas-visible');\n      classes.push('pb-2 pt-2');\n    }\n\n    return classes.join(' ');\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-inbox-sidebar-section-body-content>\\n  {{yield}}\\n</div>\\n\", {\"contents\":\"<div data-test-inbox-sidebar-section-body-content>\\n  {{yield}}\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/section-body-content.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/section-body-content.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#liquid-if\\n  this.showExpandedContent\\n  class=\\\"animation__flex-grow-and-then-focus\\\"\\n}}\\n  <div data-test-inbox-sidebar-section-body-expanded-content>\\n    {{yield}}\\n  </div>\\n{{/liquid-if}}\\n\", {\"contents\":\"{{#liquid-if\\n  this.showExpandedContent\\n  class=\\\"animation__flex-grow-and-then-focus\\\"\\n}}\\n  <div data-test-inbox-sidebar-section-body-expanded-content>\\n    {{yield}}\\n  </div>\\n{{/liquid-if}}\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/section-body-expanded-content.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/section-body-expanded-content.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { SIDEBAR_EXPANDED_CONTENT_VISIBILITY } from 'embercom/lib/inbox/constants';\nimport { equal, or } from '@ember/object/computed';\n\nexport default Component.extend({\n  expandedContentVisibility: SIDEBAR_EXPANDED_CONTENT_VISIBILITY.collapsed,\n\n  expandedContent: equal('expandedContentVisibility', SIDEBAR_EXPANDED_CONTENT_VISIBILITY.expanded),\n  expandedContentWithHiddenLabel: equal(\n    'expandedContentVisibility',\n    SIDEBAR_EXPANDED_CONTENT_VISIBILITY.expandedWithHiddenLabel,\n  ),\n\n  showExpandedContent: or('expandedContent', 'expandedContentWithHiddenLabel'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield\\n  (\\n    hash\\n    content = (component 'inbox/conversation-sidebar/section-body-content')\\n    expanded-content = (component 'inbox/conversation-sidebar/section-body-expanded-content' expandedContentVisibility=expandedContentVisibility)\\n    expand-button = (component 'inbox/conversation-sidebar/section-expand-button' expandedContentVisibility=expandedContentVisibility hiddenCount=@hiddenCount)\\n    expandedContentVisibility = expandedContentVisibility\\n  )\\n}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield\\n  (\\n    hash\\n    content = (component 'inbox/conversation-sidebar/section-body-content')\\n    expanded-content = (component 'inbox/conversation-sidebar/section-body-expanded-content' expandedContentVisibility=expandedContentVisibility)\\n    expand-button = (component 'inbox/conversation-sidebar/section-expand-button' expandedContentVisibility=expandedContentVisibility hiddenCount=@hiddenCount)\\n    expandedContentVisibility = expandedContentVisibility\\n  )\\n}}\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/section-body.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/section-body.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { SIDEBAR_EXPANDED_CONTENT_VISIBILITY } from 'embercom/lib/inbox/constants';\n\nexport default Component.extend({\n  classNames: ['inbox__conversation-sidebar__section__body'],\n  expandedContentVisibility: SIDEBAR_EXPANDED_CONTENT_VISIBILITY.collapsed,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-inbox-sidebar-section-edit-visibility-button {{action 'toggleVisibility'}} class=\\\"btn__tertiary__deemphasized\\\">\\n  <span>\\n    {{label}}\\n  </span>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-inbox-sidebar-section-edit-visibility-button {{action 'toggleVisibility'}} class=\\\"btn__tertiary__deemphasized\\\">\\n  <span>\\n    {{label}}\\n  </span>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/section-edit-visibility-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/section-edit-visibility-button.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport { SIDEBAR_EXPANDED_CONTENT_VISIBILITY } from 'embercom/lib/inbox/constants';\n\nexport default Component.extend({\n  intercomEventService: service(),\n\n  expandedContentVisibility: SIDEBAR_EXPANDED_CONTENT_VISIBILITY.collapsed,\n\n  label: ternary('editVisibilityMode', 'Done', 'Edit'),\n\n  actions: {\n    toggleVisibility() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'edit',\n        object: `inbox_sidebar_${this.sectionName}`,\n        context: this.editVisibilityMode ? 'exit_edit_mode' : 'enter_edit_mode',\n      });\n\n      this.toggleProperty('editVisibilityMode');\n\n      if (this.editVisibilityMode) {\n        this.set(\n          'expandedContentVisibility',\n          SIDEBAR_EXPANDED_CONTENT_VISIBILITY.expandedWithHiddenLabel,\n        );\n      } else {\n        this.set('expandedContentVisibility', SIDEBAR_EXPANDED_CONTENT_VISIBILITY.collapsed);\n\n        if (this.afterDoneClicked) {\n          this.afterDoneClicked();\n        }\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if (and (gt @hiddenCount 0) (not this.showExpandedContentWithoutLabel))}}\\n  <div data-test-inbox-sidebar-section-expand-button {{action 'toggleExpandedContentVisibility'}} class=\\\"btn__tertiary__deemphasized\\\">\\n    <span>\\n      {{#if this.showExpandedContent}}\\n        See less\\n      {{else if this.hideExpandedContent}}\\n        See {{@hiddenCount}} more\\n      {{/if}}\\n    </span>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if (and (gt @hiddenCount 0) (not this.showExpandedContentWithoutLabel))}}\\n  <div data-test-inbox-sidebar-section-expand-button {{action 'toggleExpandedContentVisibility'}} class=\\\"btn__tertiary__deemphasized\\\">\\n    <span>\\n      {{#if this.showExpandedContent}}\\n        See less\\n      {{else if this.hideExpandedContent}}\\n        See {{@hiddenCount}} more\\n      {{/if}}\\n    </span>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/section-expand-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/section-expand-button.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { SIDEBAR_EXPANDED_CONTENT_VISIBILITY } from 'embercom/lib/inbox/constants';\nimport { equal } from '@ember/object/computed';\n\nexport default Component.extend({\n  expandedContentVisibility: SIDEBAR_EXPANDED_CONTENT_VISIBILITY.collapsed,\n\n  showExpandedContent: equal(\n    'expandedContentVisibility',\n    SIDEBAR_EXPANDED_CONTENT_VISIBILITY.expanded,\n  ),\n  hideExpandedContent: equal(\n    'expandedContentVisibility',\n    SIDEBAR_EXPANDED_CONTENT_VISIBILITY.collapsed,\n  ),\n  showExpandedContentWithoutLabel: equal(\n    'expandedContentVisibility',\n    SIDEBAR_EXPANDED_CONTENT_VISIBILITY.expandedWithHiddenLabel,\n  ),\n\n  actions: {\n    toggleExpandedContentVisibility() {\n      if (this.expandedContentVisibility === SIDEBAR_EXPANDED_CONTENT_VISIBILITY.collapsed) {\n        this.set('expandedContentVisibility', SIDEBAR_EXPANDED_CONTENT_VISIBILITY.expanded);\n      } else {\n        this.set('expandedContentVisibility', SIDEBAR_EXPANDED_CONTENT_VISIBILITY.collapsed);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasBlock}}\\n  {{yield}}\\n{{else}}\\n  <span data-test-section-title class=\\\"t__h4\\\">\\n    {{#if prefix}}\\n      {{concat prefix ' ' (lowercase title)}}\\n    {{else}}\\n      {{title}}\\n    {{/if}}\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasBlock}}\\n  {{yield}}\\n{{else}}\\n  <span data-test-section-title class=\\\"t__h4\\\">\\n    {{#if prefix}}\\n      {{concat prefix ' ' (lowercase title)}}\\n    {{else}}\\n      {{title}}\\n    {{/if}}\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/section-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/section-title.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  'data-test-inbox-sidebar-section-title': true,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcCard\\n  class={{if\\n    @inEditMode\\n    \\\"inbox__conversation-sidebar__section__edit-mode sidebar-card__drag-handle u__overflow-hidden\\\"\\n  }}\\n  @padding={{padding}} as |card|\\n>\\n  {{#unless @inEditMode}}\\n    <span class=\\\"sidebar-card__drag-handle\\\"></span>\\n  {{/unless}}\\n  <div class=\\\"layout__box o__has-columns u__overflow-hidden\\\">\\n    <card.section\\n      @padding=\\\"none\\\"\\n      class=\\\"layout__box o__flexes-to-1\\\"\\n      data-test-inbox-sidebar-section-header={{true}}\\n    >\\n      <div\\n        class={{if\\n          @inEditMode\\n          \\\"inbox__conversation-sidebar__section__disabled-content\\\"\\n        }}\\n      >\\n        {{yield\\n          (hash title=(component \\\"inbox/conversation-sidebar/section-title\\\"))\\n        }}\\n      </div>\\n    </card.section>\\n    {{#liquid-if @inEditMode class=\\\"animation__flex-grow\\\"}}\\n      <div\\n        class=\\\"layout__box o__has-columns inbox__conversation-sidebar__edit-mode {{if usesNonePadding \\\"o__with-padding\\\"}}\\\"\\n      >\\n        <div\\n          class=\\\"layout__box o__centers-vertically u__padl__5\\\"\\n          data-test-inbox-sidebar-section-drag-handle\\n        >\\n          {{ic-interface-icon 'vertical-order' color='gray'}}\\n        </div>\\n        <div\\n          class=\\\"u__ml__20 u__pointer-cursor\\\"\\n          data-test-inbox-sidebar-section-delete\\n          {{action @removeSection}}\\n          {{tooltip content=\\\"Hide\\\"}}\\n        >\\n          {{ic-interface-icon \\\"remove\\\" color=\\\"red\\\" solo=\\\"true\\\"}}\\n        </div>\\n      </div>\\n    {{/liquid-if}}\\n  </div>\\n  {{#unless @hideSpaceBetweenTitleAndBody}}\\n    <div\\n      data-test-space-between-title-and-body\\n      class=\\\"inbox__conversation-sidebar__space\\\"\\n    ></div>\\n  {{/unless}}\\n  <card.section @padding=\\\"none\\\" data-test-inbox-sidebar-section-body={{true}}>\\n    <div\\n      class=\\\"u__cf {{if @inEditMode \\\"inbox__conversation-sidebar__section__disabled-content\\\"}}\\\"\\n    >\\n      {{yield (hash body=(component \\\"inbox/conversation-sidebar/section-body\\\"))\\n      }}\\n    </div>\\n  </card.section>\\n  {{#if @inEditMode}}\\n    <div class=\\\"inbox__conversation-sidebar__section__mask-bottom\\\"></div>\\n  {{/if}}\\n</IcCard>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcCard\\n  class={{if\\n    @inEditMode\\n    \\\"inbox__conversation-sidebar__section__edit-mode sidebar-card__drag-handle u__overflow-hidden\\\"\\n  }}\\n  @padding={{padding}} as |card|\\n>\\n  {{#unless @inEditMode}}\\n    <span class=\\\"sidebar-card__drag-handle\\\"></span>\\n  {{/unless}}\\n  <div class=\\\"layout__box o__has-columns u__overflow-hidden\\\">\\n    <card.section\\n      @padding=\\\"none\\\"\\n      class=\\\"layout__box o__flexes-to-1\\\"\\n      data-test-inbox-sidebar-section-header={{true}}\\n    >\\n      <div\\n        class={{if\\n          @inEditMode\\n          \\\"inbox__conversation-sidebar__section__disabled-content\\\"\\n        }}\\n      >\\n        {{yield\\n          (hash title=(component \\\"inbox/conversation-sidebar/section-title\\\"))\\n        }}\\n      </div>\\n    </card.section>\\n    {{#liquid-if @inEditMode class=\\\"animation__flex-grow\\\"}}\\n      <div\\n        class=\\\"layout__box o__has-columns inbox__conversation-sidebar__edit-mode {{if usesNonePadding \\\"o__with-padding\\\"}}\\\"\\n      >\\n        <div\\n          class=\\\"layout__box o__centers-vertically u__padl__5\\\"\\n          data-test-inbox-sidebar-section-drag-handle\\n        >\\n          {{ic-interface-icon 'vertical-order' color='gray'}}\\n        </div>\\n        <div\\n          class=\\\"u__ml__20 u__pointer-cursor\\\"\\n          data-test-inbox-sidebar-section-delete\\n          {{action @removeSection}}\\n          {{tooltip content=\\\"Hide\\\"}}\\n        >\\n          {{ic-interface-icon \\\"remove\\\" color=\\\"red\\\" solo=\\\"true\\\"}}\\n        </div>\\n      </div>\\n    {{/liquid-if}}\\n  </div>\\n  {{#unless @hideSpaceBetweenTitleAndBody}}\\n    <div\\n      data-test-space-between-title-and-body\\n      class=\\\"inbox__conversation-sidebar__space\\\"\\n    ></div>\\n  {{/unless}}\\n  <card.section @padding=\\\"none\\\" data-test-inbox-sidebar-section-body={{true}}>\\n    <div\\n      class=\\\"u__cf {{if @inEditMode \\\"inbox__conversation-sidebar__section__disabled-content\\\"}}\\\"\\n    >\\n      {{yield (hash body=(component \\\"inbox/conversation-sidebar/section-body\\\"))\\n      }}\\n    </div>\\n  </card.section>\\n  {{#if @inEditMode}}\\n    <div class=\\\"inbox__conversation-sidebar__section__mask-bottom\\\"></div>\\n  {{/if}}\\n</IcCard>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/section.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/section.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { equal } from '@ember/object/computed';\n\nexport default Component.extend({\n  tagName: '',\n  padding: 'compact',\n  usesNonePadding: equal('padding', 'none'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @section.iconUrl}}\\n  <img src=\\\"{{@section.iconUrl}}\\\" height=\\\"20\\\" width=\\\"20\\\">\\n{{else if @section.isShopify}}\\n  <img data-test-shopify-icon src=\\\"https://static.intercomassets.com/appstore/images/icons/shopify.png\\\" height=\\\"20\\\" width=\\\"20\\\">\\n{{else if @section.isApp}}\\n  {{ic-interface-icon 'app-store' solo=true}}\\n{{else if @section.isUserModule}}\\n  {{ic-interface-icon 'person' solo=true}}\\n{{else if @section.isCompanyModule}}\\n  {{ic-interface-icon 'company' solo=true}}\\n{{else if @section.isConversationModule}}\\n  {{ic-interface-icon 'chat-bubble' solo=true}}\\n{{else}}\\n  {{ic-interface-icon 'intercom' solo=true}}\\n{{/if}}\\n\", {\"contents\":\"{{#if @section.iconUrl}}\\n  <img src=\\\"{{@section.iconUrl}}\\\" height=\\\"20\\\" width=\\\"20\\\">\\n{{else if @section.isShopify}}\\n  <img data-test-shopify-icon src=\\\"https://static.intercomassets.com/appstore/images/icons/shopify.png\\\" height=\\\"20\\\" width=\\\"20\\\">\\n{{else if @section.isApp}}\\n  {{ic-interface-icon 'app-store' solo=true}}\\n{{else if @section.isUserModule}}\\n  {{ic-interface-icon 'person' solo=true}}\\n{{else if @section.isCompanyModule}}\\n  {{ic-interface-icon 'company' solo=true}}\\n{{else if @section.isConversationModule}}\\n  {{ic-interface-icon 'chat-bubble' solo=true}}\\n{{else}}\\n  {{ic-interface-icon 'intercom' solo=true}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/section/card-icon.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/section/card-icon.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-if @inEditMode class=\\\"animation__flex-grow-and-then-focus\\\"}}\\n  <Inbox::ConversationSidebar::CardInserter\\n    @sectionsNotInSidebar={{this.sectionsNotInSidebar}}\\n    @sectionsList={{this.sectionsList}}\\n    @deleteNotifications={{deleteNotifications}}\\n  />\\n{{/liquid-if}}\\n<AnimatedContainer>\\n  <Inbox::ConversationSidebar::CustomSortableGroup\\n    @tagName=\\\"div\\\"\\n    @onChange={{action \\\"updateSectionOrder\\\"}} as |group|\\n  >\\n    {{#animated-each\\n      displayedSections\\n      use=listTransition\\n      duration=180 as |section index|\\n    }}\\n      <group.item\\n        @group={{group}}\\n        @model={{section}}\\n        @tagName=\\\"div\\\"\\n        @handle=\\\".sidebar-card__drag-handle\\\"\\n        @onDragStart={{action \\\"handleDragStart\\\"}}\\n        @onDragStop={{action \\\"handleDragStop\\\"}}\\n      >\\n        <div\\n          class=\\\"inbox__conversation-sidebar__section js__external-step-pointer__sidebar-section\\\"\\n          data-test-inbox-sidebar-section={{index}}\\n        >\\n          {{component (concat 'inbox/conversation-sidebar/cards/' section.componentIdentifier)\\n            tagName=''\\n            app=this.app\\n            section=section\\n            conversation=@conversation\\n            user=@user\\n            userCompanies=@user.companies\\n            inEditMode=@inEditMode\\n            removeSection=(action \\\"removeSection\\\" section)\\n            scrollContainerSelector=@scrollContainerSelector\\n          }}\\n        </div>\\n      </group.item>\\n    {{/animated-each}}\\n  </Inbox::ConversationSidebar::CustomSortableGroup>\\n</AnimatedContainer>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-if @inEditMode class=\\\"animation__flex-grow-and-then-focus\\\"}}\\n  <Inbox::ConversationSidebar::CardInserter\\n    @sectionsNotInSidebar={{this.sectionsNotInSidebar}}\\n    @sectionsList={{this.sectionsList}}\\n    @deleteNotifications={{deleteNotifications}}\\n  />\\n{{/liquid-if}}\\n<AnimatedContainer>\\n  <Inbox::ConversationSidebar::CustomSortableGroup\\n    @tagName=\\\"div\\\"\\n    @onChange={{action \\\"updateSectionOrder\\\"}} as |group|\\n  >\\n    {{#animated-each\\n      displayedSections\\n      use=listTransition\\n      duration=180 as |section index|\\n    }}\\n      <group.item\\n        @group={{group}}\\n        @model={{section}}\\n        @tagName=\\\"div\\\"\\n        @handle=\\\".sidebar-card__drag-handle\\\"\\n        @onDragStart={{action \\\"handleDragStart\\\"}}\\n        @onDragStop={{action \\\"handleDragStop\\\"}}\\n      >\\n        <div\\n          class=\\\"inbox__conversation-sidebar__section js__external-step-pointer__sidebar-section\\\"\\n          data-test-inbox-sidebar-section={{index}}\\n        >\\n          {{component (concat 'inbox/conversation-sidebar/cards/' section.componentIdentifier)\\n            tagName=''\\n            app=this.app\\n            section=section\\n            conversation=@conversation\\n            user=@user\\n            userCompanies=@user.companies\\n            inEditMode=@inEditMode\\n            removeSection=(action \\\"removeSection\\\" section)\\n            scrollContainerSelector=@scrollContainerSelector\\n          }}\\n        </div>\\n      </group.item>\\n    {{/animated-each}}\\n  </Inbox::ConversationSidebar::CustomSortableGroup>\\n</AnimatedContainer>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/sidebar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/sidebar.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { mapBy, readOnly, and } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport move from 'ember-animated/motions/move';\nimport { fadeIn, fadeOut } from 'ember-animated/motions/opacity';\nimport { task } from 'ember-concurrency';\nimport DidChangeAttrs from 'ember-did-change-attrs';\n\nexport default Component.extend(DidChangeAttrs, {\n  appService: service(),\n  store: service(),\n  intercomEventService: service(),\n\n  'data-test-inbox-sidebar': true,\n  classNames: ['layout__box', 'o__has-rows', 'inbox__conversation-sidebar', 'o__flexes-to-1'],\n  classNameBindings: ['isReordering:o__is-reordering'],\n\n  compactPadding: and('conversation.isGroupConversation', 'app.canUseFullWidthHeader'),\n\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n\n  sectionsList: null,\n  displayedSections: computed('sectionsList.sections.[]', function() {\n    // Fix for Ember Data/Ember Animation bug where accessing `this.sectionsList.sections[i]` returns `undefined` for all `i`\n    return this.sectionsList.sections.slice();\n  }),\n  allSectionsForWorkspace: null,\n\n  currentCardIdentifiers: mapBy('sectionsList.sections', 'uniqueIdentifier'),\n  sectionsNotInSidebar: computed(\n    'allSectionsForWorkspace.@each.uniqueIdentifier',\n    'currentCardIdentifiers.[]',\n    function() {\n      if (!this.allSectionsForWorkspace) {\n        return [];\n      }\n      return this.allSectionsForWorkspace\n        .uniqBy('uniqueIdentifier')\n        .reject(section => this.currentCardIdentifiers.includes(section.uniqueIdentifier))\n        .sortBy('name');\n    },\n  ),\n\n  loadAllSidebarSectionsForWorkspace: task(function*() {\n    let allSectionsForWorkspace = yield this.store.findAll('inbox/admin-app-sidebar-section');\n    allSectionsForWorkspace.forEach(section => section.set('sidebarViewId', this.sidebarViewId));\n    this.set('allSectionsForWorkspace', allSectionsForWorkspace);\n  }).drop(),\n\n  didChangeAttrsConfig: {\n    attrs: ['user', 'inEditMode'],\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.loadAllSidebarSectionsForWorkspace.perform();\n  },\n\n  didChangeAttrs(changes) {\n    this._super(...arguments);\n\n    if (changes.inEditMode) {\n      this.loadAllSidebarSectionsForWorkspace.perform();\n    }\n  },\n\n  // eslint-disable-next-line require-yield\n  *listTransition({ insertedSprites, keptSprites, removedSprites }) {\n    keptSprites.forEach(move);\n    insertedSprites.forEach(fadeIn);\n    removedSprites.forEach(fadeOut);\n  },\n\n  actions: {\n    handleDragStart(item) {\n      this.set('isReordering', true);\n    },\n\n    handleDragStop() {\n      this.set('isReordering', false);\n    },\n\n    updateSectionOrder(newSectionOrder, draggedSection) {\n      this.set('sectionsList.sections', newSectionOrder);\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'reorder_sections',\n        object: 'inbox_sidebar',\n        is_app: draggedSection.isApp,\n        section_name: draggedSection.name,\n        section_id: draggedSection.uniqueIdentifier,\n        order: newSectionOrder.indexOf(draggedSection),\n      });\n    },\n\n    removeSection(section) {\n      this.sectionsList.removeSection(section);\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'remove_section',\n        object: 'inbox_sidebar',\n        is_app: section.isApp,\n        section_name: section.name,\n        section_id: section.uniqueIdentifier,\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcDropdownOpener\\n  @groupList={{array (hash items=(array\\n    (hash\\n      text='Block'\\n      icon='error'\\n      value='block'\\n      description='Blocks them so you won’t get their replies'\\n      onSelectItem=this.blockUser\\n    )\\n    (if this.userUnsubscribedFromEmails\\n      (hash\\n        text='Resubscribe'\\n        icon='message'\\n        value='resubscribe'\\n        description='Adds them to your email list'\\n        onSelectItem=this.resubscribeUser\\n      )\\n      (hash\\n        text='Unsubscribe'\\n        icon='unsubscribed'\\n        value='unsubscribe'\\n        description='Removes them from your email list'\\n        onSelectItem=this.unsubscribeUser\\n      )\\n    )\\n  ))}}\\n  as |opener|\\n>\\n  <IcButton\\n    @icon=\\\"vertical-ellipsis\\\"\\n    @iconOnly={{true}}\\n    @subtle={{true}}\\n    @isForcedActive={{opener.dropdownIsOpen}}\\n    data-test-user-details-title-dropdown-opener\\n  />\\n</IcDropdownOpener>\\n\", {\"contents\":\"<IcDropdownOpener\\n  @groupList={{array (hash items=(array\\n    (hash\\n      text='Block'\\n      icon='error'\\n      value='block'\\n      description='Blocks them so you won’t get their replies'\\n      onSelectItem=this.blockUser\\n    )\\n    (if this.userUnsubscribedFromEmails\\n      (hash\\n        text='Resubscribe'\\n        icon='message'\\n        value='resubscribe'\\n        description='Adds them to your email list'\\n        onSelectItem=this.resubscribeUser\\n      )\\n      (hash\\n        text='Unsubscribe'\\n        icon='unsubscribed'\\n        value='unsubscribe'\\n        description='Removes them from your email list'\\n        onSelectItem=this.unsubscribeUser\\n      )\\n    )\\n  ))}}\\n  as |opener|\\n>\\n  <IcButton\\n    @icon=\\\"vertical-ellipsis\\\"\\n    @iconOnly={{true}}\\n    @subtle={{true}}\\n    @isForcedActive={{opener.dropdownIsOpen}}\\n    data-test-user-details-title-dropdown-opener\\n  />\\n</IcDropdownOpener>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/user-details-title-dropdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/user-details-title-dropdown.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class InboxConversationSidebarUserDetailsTitleDropdown extends Component {\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  @service modalService;\n\n  get userUnsubscribedFromEmails() {\n    return this.args.user?.unsubscribed_from_emails;\n  }\n\n  _manageSubscription() {\n    let controller = 'apps/app/users/user/modals/subscription';\n    this.modalService.openModal(controller, this.args.user);\n  }\n\n  @action\n  blockUser() {\n    let controller = 'apps/app/modals/block-user';\n    this.modalService.openModal(controller, this.args.user, {\n      conversation: this.args.conversation,\n    });\n  }\n\n  @action\n  unsubscribeUser() {\n    this._manageSubscription();\n  }\n\n  @action\n  resubscribeUser() {\n    this._manageSubscription();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__centers-vertically o__has-columns\\\">\\n  <div\\n    class=\\\"layout__box o__centers-vertically o__flexes-to-1 inbox__user-profile__user-details-title\\\"\\n  >\\n    <IcAvatarComponent @model={{@user}} @size=\\\"m\\\" @canAnimate={{true}} />\\n    <div class=\\\"u__ml__10 u__one-truncated-line\\\">\\n      <Inbox::ConversationSidebar::EditableUserName\\n        @app={{@app}}\\n        @person={{@user}}\\n        @displayedConversation={{@conversation}}\\n        @centered={{false}}\\n        @isEditing={{this.isEditing}}\\n      />\\n      {{#if (and (not this.isEditing) (gt @user.companies.length 0))}}\\n        <div data-test-section-user-companies class=\\\"text-gray\\\">\\n          <UsersCompaniesWithIconPattern @user={{@user}} @hideIcon={{true}} />\\n        </div>\\n      {{/if}}\\n    </div>\\n  </div>\\n  {{#unless @inEditMode}}\\n    <div class=\\\"inbox__conversation-sidebar__user-details-title-dropdown-component\\\">\\n      <Inbox::ConversationSidebar::UserDetailsTitleDropdown\\n        @user={{@user}}\\n        @conversation={{@conversation}}\\n      />\\n    </div>\\n  {{/unless}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__centers-vertically o__has-columns\\\">\\n  <div\\n    class=\\\"layout__box o__centers-vertically o__flexes-to-1 inbox__user-profile__user-details-title\\\"\\n  >\\n    <IcAvatarComponent @model={{@user}} @size=\\\"m\\\" @canAnimate={{true}} />\\n    <div class=\\\"u__ml__10 u__one-truncated-line\\\">\\n      <Inbox::ConversationSidebar::EditableUserName\\n        @app={{@app}}\\n        @person={{@user}}\\n        @displayedConversation={{@conversation}}\\n        @centered={{false}}\\n        @isEditing={{this.isEditing}}\\n      />\\n      {{#if (and (not this.isEditing) (gt @user.companies.length 0))}}\\n        <div data-test-section-user-companies class=\\\"text-gray\\\">\\n          <UsersCompaniesWithIconPattern @user={{@user}} @hideIcon={{true}} />\\n        </div>\\n      {{/if}}\\n    </div>\\n  </div>\\n  {{#unless @inEditMode}}\\n    <div class=\\\"inbox__conversation-sidebar__user-details-title-dropdown-component\\\">\\n      <Inbox::ConversationSidebar::UserDetailsTitleDropdown\\n        @user={{@user}}\\n        @conversation={{@conversation}}\\n      />\\n    </div>\\n  {{/unless}}\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/user-details-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/user-details-title.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\n// This is required to pass isEditing to the editable-user-name\n// and have the two way binding so we can hide the company name in edit mode.\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"layout__box o__has-columns o__centers-vertically\\\"\\n  data-test-sidebar-view-select-dropdown\\n  >\\n  <IcSelect\\n    @items={{this.selectViews}}\\n    @selectedValue={{this.selectedView}}\\n    @onSelectItem={{action \\\"changeSelection\\\"}}\\n    @minWidthOfOverlay={{200}}\\n    @footerActions={{if this.canCreateShareViews (hash\\n              text=\\\"New shared view\\\"\\n              icon=\\\"new\\\"\\n              action=(action \\\"openNewViewModal\\\")\\n            )}}\\n    as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\" as |opener|>\\n\\n      <IcButton\\n        @type=\\\"secondary\\\"\\n        @isDropdownOpener={{true}}\\n        @isForcedActive={{opener.dropdownIsOpen}}\\n      >\\n\\n        <div class=\\\"u__m__xs\\\">\\n          {{ic-interface-icon 'campaign'}}\\n          {{ic-interface-icon \\\"small-down-arrow\\\"}}\\n        </div>\\n      </IcButton>\\n    </select.opener>\\n  </IcSelect>\\n\\n  <IcModal\\n    @onModalClose={{action (toggle \\\"newViewModalOpen\\\" this)}}\\n    @isOpen={{this.newViewModalOpen}} as |modal|\\n  >\\n    <modal.header @title=\\\"Create a new shared view\\\" />\\n    <modal.body @fullBleed={{@fullBleed}}>\\n      <div >\\n        <p class=\\\" pb-3\\\">\\n          Shared views will be visible to all your teammates. Any customizations to this view will be visible to them too.\\n        </p>\\n      </div>\\n      <Form as |form|>\\n        <form.Item as |item|>\\n          <item.Input @value={{this.newViewName}} />\\n        </form.Item>\\n      </Form>\\n    </modal.body>\\n    <modal.footer\\n      @primaryButton={{hash\\n        label=\\\"Save\\\"\\n        action=(action 'createView' this.newViewName)\\n      }}\\n      @secondaryButton={{hash\\n        label=\\\"Cancel\\\"\\n        action=(action (toggle \\\"newViewModalOpen\\\" this))\\n      }}\\n    />\\n  </IcModal>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"layout__box o__has-columns o__centers-vertically\\\"\\n  data-test-sidebar-view-select-dropdown\\n  >\\n  <IcSelect\\n    @items={{this.selectViews}}\\n    @selectedValue={{this.selectedView}}\\n    @onSelectItem={{action \\\"changeSelection\\\"}}\\n    @minWidthOfOverlay={{200}}\\n    @footerActions={{if this.canCreateShareViews (hash\\n              text=\\\"New shared view\\\"\\n              icon=\\\"new\\\"\\n              action=(action \\\"openNewViewModal\\\")\\n            )}}\\n    as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\" as |opener|>\\n\\n      <IcButton\\n        @type=\\\"secondary\\\"\\n        @isDropdownOpener={{true}}\\n        @isForcedActive={{opener.dropdownIsOpen}}\\n      >\\n\\n        <div class=\\\"u__m__xs\\\">\\n          {{ic-interface-icon 'campaign'}}\\n          {{ic-interface-icon \\\"small-down-arrow\\\"}}\\n        </div>\\n      </IcButton>\\n    </select.opener>\\n  </IcSelect>\\n\\n  <IcModal\\n    @onModalClose={{action (toggle \\\"newViewModalOpen\\\" this)}}\\n    @isOpen={{this.newViewModalOpen}} as |modal|\\n  >\\n    <modal.header @title=\\\"Create a new shared view\\\" />\\n    <modal.body @fullBleed={{@fullBleed}}>\\n      <div >\\n        <p class=\\\" pb-3\\\">\\n          Shared views will be visible to all your teammates. Any customizations to this view will be visible to them too.\\n        </p>\\n      </div>\\n      <Form as |form|>\\n        <form.Item as |item|>\\n          <item.Input @value={{this.newViewName}} />\\n        </form.Item>\\n      </Form>\\n    </modal.body>\\n    <modal.footer\\n      @primaryButton={{hash\\n        label=\\\"Save\\\"\\n        action=(action 'createView' this.newViewName)\\n      }}\\n      @secondaryButton={{hash\\n        label=\\\"Cancel\\\"\\n        action=(action (toggle \\\"newViewModalOpen\\\" this))\\n      }}\\n    />\\n  </IcModal>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/conversation-sidebar/view-select.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/conversation-sidebar/view-select.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-side-effects */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  tagName: '',\n  store: service(),\n  intercomEventService: service(),\n\n  init() {\n    this._super(...arguments);\n    this.fetchExistingViews.perform();\n  },\n\n  fetchExistingViews: task(function*() {\n    let existingViews = yield this.store.findAll('inbox/sidebar-view');\n    this.set('existingViews', existingViews);\n  }).drop(),\n\n  newViewModalOpen: false,\n  newViewName: '',\n  selectedView: null,\n  canCreateShareViews: readOnly('app.currentAdmin.hasFullAccessForCurrentApp'),\n\n  selectViews: computed('sharedViews', function() {\n    let default_view = [\n      {\n        items: [{ text: 'My view', value: null }],\n      },\n    ];\n    return [...default_view, ...this.sharedViews];\n  }),\n\n  sharedViews: computed('existingViews', function() {\n    if (!this.existingViews || !this.existingViews.length) {\n      return [\n        {\n          heading: 'Shared views',\n          items: [],\n        },\n        {\n          heading: 'No shared views yet',\n          items: [],\n        },\n      ];\n    }\n    let views = this.existingViews.map(view => {\n      return {\n        text: view.get('name'),\n        value: view.get('id'),\n        description: `created by ${view.get('author')}`,\n      };\n    });\n    this.set('selectedView', this.sidebarViewId);\n    return [\n      {\n        heading: 'Shared views',\n        items: views,\n      },\n    ];\n  }),\n\n  actions: {\n    changeSelection(selectedViewId) {\n      this.setSidebarViewId(selectedViewId);\n      this.reloadSidebar();\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'view_changed',\n        object: 'sidebar_view',\n        sidebar_view_id: selectedViewId,\n      });\n    },\n    openNewViewModal() {\n      this.set('newViewModalOpen', true);\n    },\n    createView(viewName) {\n      let sidebarView = this.store.createRecord('inbox/sidebar-view', { name: viewName });\n      sidebarView.save().then(\n        () => {\n          this.notificationsService.notifyConfirmation(\n            `Your new ${viewName} Sidebar View was created successfully`,\n          );\n          this.set('viewName', '');\n          this.set('newViewModalOpen', false);\n          this.reloadSidebar();\n          this.intercomEventService.trackAnalyticsEvent({\n            action: 'view_created',\n            object: 'sidebar_view',\n          });\n        },\n        () => {\n          this.notificationsService.notifyError('Your Sidebar view was not saved');\n        },\n      );\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{this.cancel}}\\n  @isOpen={{true}}\\n  @width=\\\"m\\\"\\n  @internalScroll={{false}}\\n  data-test-create-saved-reply-new-modal\\n  @focusElement=\\\"body\\\" as |modal|\\n  >\\n  <modal.header @title=\\\"New saved reply\\\" />\\n  <modal.body>\\n    <div class=\\\"flex flex-col gap-4\\\">\\n      <Form class=\\\"saved-replies__saved-replies-new-modal__form\\\" as |form|>\\n        <form.Item @label=\\\"Name\\\" as |item|>\\n          <item.Input\\n            @value={{this.name}}\\n            @placeholder=\\\"Untitled saved reply...\\\"\\n            class=\\\"settings__saved-replies__composer-header\\\"\\n            {{auto-focus-element this.focusTitle}}\\n            />\\n        </form.Item>\\n        <div class=\\\"conversation__text saved-replies__saved-replies-new-modal__editor f__text\\\">\\n          <ComposerV2\\n            @preset=\\\"savedReply\\\"\\n            @actionReceiver={{this.savedReplyComposer}}\\n            @blocks={{@blocks}}\\n            @app={{this.appService.app}}\\n            @attributes={{this.appService.app.allowedAttributes}}\\n            @editorClass=\\\"saved-replies__saved-replies-new-modal__composer-edit\\\"\\n            @outerContainerSelector=\\\".conversation__text saved-replies__saved-replies-new-modal__editor f__text\\\"\\n            @placeholder=\\\"Write your saved reply...\\\"\\n            class=\\\"saved-replies__saved-replies-new-modal__preview__editor\\\"\\n          />\\n\\n          <div class=\\\"settings__saved-replies__inserters\\\">\\n            {{#each this.editorInserters as |inserter|}}\\n              <Conversation::Controls::Inserter\\n                @inserter={{inserter}}\\n                @controlsAPI={{this.publicAPI}}\\n              />\\n            {{/each}}\\n          </div>\\n        </div>\\n      </Form>\\n    </div>\\n  </modal.body>\\n\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Save\\\"\\n      action=(perform this.saveSavedReply)\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=this.cancel\\n    }}\\n    @tertiaryButton={{hash\\n      label=\\\"Manage saved replies ↗\\\"\\n      action=this.openManageSavedReplies\\n    }}\\n  />\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{this.cancel}}\\n  @isOpen={{true}}\\n  @width=\\\"m\\\"\\n  @internalScroll={{false}}\\n  data-test-create-saved-reply-new-modal\\n  @focusElement=\\\"body\\\" as |modal|\\n  >\\n  <modal.header @title=\\\"New saved reply\\\" />\\n  <modal.body>\\n    <div class=\\\"flex flex-col gap-4\\\">\\n      <Form class=\\\"saved-replies__saved-replies-new-modal__form\\\" as |form|>\\n        <form.Item @label=\\\"Name\\\" as |item|>\\n          <item.Input\\n            @value={{this.name}}\\n            @placeholder=\\\"Untitled saved reply...\\\"\\n            class=\\\"settings__saved-replies__composer-header\\\"\\n            {{auto-focus-element this.focusTitle}}\\n            />\\n        </form.Item>\\n        <div class=\\\"conversation__text saved-replies__saved-replies-new-modal__editor f__text\\\">\\n          <ComposerV2\\n            @preset=\\\"savedReply\\\"\\n            @actionReceiver={{this.savedReplyComposer}}\\n            @blocks={{@blocks}}\\n            @app={{this.appService.app}}\\n            @attributes={{this.appService.app.allowedAttributes}}\\n            @editorClass=\\\"saved-replies__saved-replies-new-modal__composer-edit\\\"\\n            @outerContainerSelector=\\\".conversation__text saved-replies__saved-replies-new-modal__editor f__text\\\"\\n            @placeholder=\\\"Write your saved reply...\\\"\\n            class=\\\"saved-replies__saved-replies-new-modal__preview__editor\\\"\\n          />\\n\\n          <div class=\\\"settings__saved-replies__inserters\\\">\\n            {{#each this.editorInserters as |inserter|}}\\n              <Conversation::Controls::Inserter\\n                @inserter={{inserter}}\\n                @controlsAPI={{this.publicAPI}}\\n              />\\n            {{/each}}\\n          </div>\\n        </div>\\n      </Form>\\n    </div>\\n  </modal.body>\\n\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Save\\\"\\n      action=(perform this.saveSavedReply)\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=this.cancel\\n    }}\\n    @tertiaryButton={{hash\\n      label=\\\"Manage saved replies ↗\\\"\\n      action=this.openManageSavedReplies\\n    }}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/inbox/create-saved-reply-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/create-saved-reply-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport safeWindowOpen from 'embercom/lib/safe-window-open';\n\nexport default class CreateSavedReplyModal extends Component {\n  @service store;\n\n  @service notificationsService;\n\n  @service inboxService;\n\n  @service appService;\n\n  @service router;\n\n  @tracked name = '';\n\n  @tracked openInserters = [];\n\n  editorInserters = [\n    {\n      name: 'article',\n      icon: 'article',\n      descriptor: 'Add an article',\n      hasPopoverContentComponent: true,\n    },\n    {\n      name: 'emoji',\n      icon: 'lwr-happy',\n      descriptor: 'Add an emoji',\n      hasPopoverContentComponent: true,\n    },\n    {\n      name: 'gif',\n      icon: 'gif',\n      descriptor: 'Add a GIF',\n      hasPopoverContentComponent: true,\n    },\n    {\n      name: 'image',\n      icon: 'picture',\n      descriptor: 'Add an image',\n      hasPopoverContentComponent: false,\n    },\n    {\n      name: 'attachment',\n      icon: 'attachment',\n      descriptor: 'Add an attachment',\n      hasPopoverContentComponent: false,\n    },\n  ];\n\n  get publicAPI() {\n    return {\n      app: this.appService.app,\n      actions: {\n        registerOpenInserter: (...args) => this.registerOpenInserter(...args),\n        clearOpenInserter: (...args) => this.clearOpenInserter(...args),\n        paste: (...args) => this.paste(...args),\n        uploadImage: (...args) => this.uploadImage(...args),\n        uploadAttachment: (...args) => this.uploadAttachment(...args),\n        insertBlock: (...args) => this.insertBlock(...args),\n      },\n    };\n  }\n\n  get focusTitle() {\n    return this.args.focusTitle || false;\n  }\n\n  @action cancel() {\n    this.args.onClose({ success: false });\n  }\n\n  @action openManageSavedReplies() {\n    safeWindowOpen(this.router.urlFor('apps.app.settings.saved-replies'), '_blank');\n  }\n\n  registerOpenInserter(inserterName) {\n    this.openInserters.pushObject(inserterName);\n  }\n\n  clearOpenInserter(inserterName) {\n    if (!this.isDestroying) {\n      this.openInserters.removeObject(inserterName);\n    }\n  }\n\n  paste(text) {\n    this.savedReplyComposer.send('paste', text, 'plain');\n  }\n\n  uploadImage(files) {\n    this.savedReplyComposer.send('uploadImage', files);\n  }\n\n  uploadAttachment(files) {\n    this.savedReplyComposer.send('uploadAttachment', files);\n  }\n\n  insertBlock(type, block) {\n    this.savedReplyComposer.send('createBlock', type, block);\n  }\n\n  @task({ restartable: true }) *saveSavedReply() {\n    let reply = this.store.createRecord('saved-reply', {\n      app_id: this.appService.app.id,\n      name: this.name,\n      blocks: this.savedReplyComposer.getBlocks(),\n    });\n\n    if (!reply.isNameLengthValid) {\n      this.notificationsService.notifyError(\n        'Saved Reply name exceeds maximum length of 140 characters',\n      );\n      return;\n    }\n\n    if (!reply.isValid) {\n      this.notificationsService.notifyError('Saved Reply name is required');\n      return;\n    }\n\n    try {\n      yield reply.save();\n    } catch (error) {\n      console.error(error);\n\n      if (error.jqXHR && error.jqXHR.status === 422) {\n        if (error.jqXHR.responseJSON.errors.name[0] === 'has already been taken') {\n          this.notificationsService.notifyError('Name has already been taken');\n          return;\n        }\n      }\n\n      this.notificationsService.notifyError(`Failed to create saved reply, please try again.`);\n\n      return;\n    }\n\n    this.args.onClose({ success: true });\n\n    this.notificationsService.notifyConfirmation('Reply saved');\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  data-test-inbox-deleted-user-profile\\n  class=\\\"profile-sidebar-section__regular-padding u__mb__20\\\"\\n>\\n  <div class=\\\"layout__box o__centers-horizontally\\\">\\n    <div>\\n      <div class=\\\"avatar__container o__l flex-auto min-w-0\\\">\\n        <IcAvatarComponent @model={{null}} @size=\\\"l\\\" @contained={{true}} />\\n      </div>\\n    </div>\\n  </div>\\n  <h3\\n    data-test-inbox-user-profile-name\\n    class=\\\"u__centered-text-block t__h3 u__one-truncated-line mt-4\\\"\\n  >\\n    Deleted user\\n  </h3>\\n  <div class=\\\"inbox__user-profile__deleted-content mt-4\\\"></div>\\n  <div class=\\\"inbox__user-profile__deleted-secondary-content mt-4\\\"></div>\\n</div>\\n\", {\"contents\":\"<div\\n  data-test-inbox-deleted-user-profile\\n  class=\\\"profile-sidebar-section__regular-padding u__mb__20\\\"\\n>\\n  <div class=\\\"layout__box o__centers-horizontally\\\">\\n    <div>\\n      <div class=\\\"avatar__container o__l flex-auto min-w-0\\\">\\n        <IcAvatarComponent @model={{null}} @size=\\\"l\\\" @contained={{true}} />\\n      </div>\\n    </div>\\n  </div>\\n  <h3\\n    data-test-inbox-user-profile-name\\n    class=\\\"u__centered-text-block t__h3 u__one-truncated-line mt-4\\\"\\n  >\\n    Deleted user\\n  </h3>\\n  <div class=\\\"inbox__user-profile__deleted-content mt-4\\\"></div>\\n  <div class=\\\"inbox__user-profile__deleted-secondary-content mt-4\\\"></div>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/deleted-user-profile-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/deleted-user-profile-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @inbox.fetchPageTask.isIdle}}\\n  {{#if @inbox.isSearch}}\\n    <IcEmptyState @icon=\\\"conversation\\\" @title=\\\"No conversations found\\\" />\\n  {{else if @inbox.isMentionsInbox}}\\n    {{#if this.showEmptyState}}\\n      <IcEmptyState\\n        @icon=\\\"mention\\\"\\n        @title=\\\"Talk to your customers here!\\\"\\n        as |emptyState|\\n      >\\n        <emptyState.description>\\n          Inbox is where you can respond to your customers’ questions, comments, and requests &mdash; across chat, email, and social.\\n        </emptyState.description>\\n\\n        <emptyState.description>\\n          Want to try it out?\\n        </emptyState.description>\\n\\n        <div class=\\\"empty-state__button\\\">\\n          <Onboarding::Home::HostedMessengerOpener\\n            @onHostedMessengerOpen={{this.trackAnalyticsFirstImpression}}\\n          >\\n            {{ic-interface-icon \\\"new-window\\\"}} {{this.emptyStateText}}\\n          </Onboarding::Home::HostedMessengerOpener>\\n        </div>\\n      </IcEmptyState>\\n    {{else}}\\n      <IcEmptyState\\n        @icon=\\\"mention\\\"\\n        @title={{this.emptyMentionsInboxTitle}}\\n        @description={{this.emptyMentionsInboxDescription}}\\n      />\\n    {{/if}}\\n  {{else if this.isFilteredByOpenedConversations}}\\n    {{#if @inbox.isMeInbox}}\\n      {{#if this.showEmptyState}}\\n        <div class=\\\"empty-state layout__box o__flexes-to-1 o__centers-all\\\">\\n          <div class=\\\"u__centered-text-block\\\">\\n            <div class=\\\"empty-state__icon\\\">\\n              <IcAvatarComponent\\n                @model={{@inbox.admin}}\\n                @size=\\\"l\\\"\\n              />\\n            </div>\\n\\n            <h2 class=\\\"t__h2 empty-state__title\\\">Talk to your customers here!</h2>\\n\\n            <IcEmptyState::WithDescription>\\n              Inbox is where you can respond to your customers’ questions, comments, and requests &mdash; across chat, email, and social.\\n            </IcEmptyState::WithDescription>\\n            <IcEmptyState::WithDescription>\\n               Want to try it out?\\n            </IcEmptyState::WithDescription>\\n\\n            <div class=\\\"empty-state__button\\\">\\n              <Onboarding::Home::HostedMessengerOpener\\n                @onHostedMessengerOpen={{this.trackAnalyticsFirstImpression}}\\n              >\\n                {{ic-interface-icon \\\"new-window\\\"}} {{this.emptyStateText}}\\n              </Onboarding::Home::HostedMessengerOpener>\\n            </div>\\n          </div>\\n        </div>\\n      {{else}}\\n        <IcEmptyState\\n          @icon=\\\"people\\\"\\n          @title=\\\"No open conversations assigned to you\\\"\\n          @description=\\\"You can assign conversations to yourself from Unassigned.\\\"\\n          @buttonLabel=\\\"Go to Unassigned\\\"\\n          @onButtonClick={{this.transitionToUnassigned}}\\n        />\\n      {{/if}}\\n    {{else if this.isUnassignedOrAllInbox}}\\n      {{#if this.showEmptyState}}\\n        <IcEmptyState\\n          @icon=\\\"people\\\"\\n          @title=\\\"Talk to your customers here!\\\"\\n          as |emptyState|\\n        >\\n          <emptyState.description>\\n            Inbox is where you can respond to your customers’ questions, comments, and requests &mdash; across chat, email, and social.\\n          </emptyState.description>\\n\\n          <emptyState.description>\\n            Want to try it out?\\n          </emptyState.description>\\n\\n          <div class=\\\"empty-state__button\\\">\\n            <Onboarding::Home::HostedMessengerOpener\\n              @onHostedMessengerOpen={{this.trackAnalyticsFirstImpression}}\\n            >\\n              {{ic-interface-icon \\\"new-window\\\"}} {{this.emptyStateText}}\\n            </Onboarding::Home::HostedMessengerOpener>\\n          </div>\\n        </IcEmptyState>\\n      {{else}}\\n        <IcEmptyState\\n          @icon=\\\"people\\\"\\n          @title={{this.emptyUnassignedAndAllInboxTitle}}\\n        />\\n      {{/if}}\\n    {{else}}\\n      <IcEmptyState @icon=\\\"people\\\" @title={{this.emptyInboxTitle}} />\\n    {{/if}}\\n  {{else}}\\n    <IcEmptyState @icon=\\\"people\\\" @title={{this.emptyInboxTitle}} />\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{#if @inbox.fetchPageTask.isIdle}}\\n  {{#if @inbox.isSearch}}\\n    <IcEmptyState @icon=\\\"conversation\\\" @title=\\\"No conversations found\\\" />\\n  {{else if @inbox.isMentionsInbox}}\\n    {{#if this.showEmptyState}}\\n      <IcEmptyState\\n        @icon=\\\"mention\\\"\\n        @title=\\\"Talk to your customers here!\\\"\\n        as |emptyState|\\n      >\\n        <emptyState.description>\\n          Inbox is where you can respond to your customers’ questions, comments, and requests &mdash; across chat, email, and social.\\n        </emptyState.description>\\n\\n        <emptyState.description>\\n          Want to try it out?\\n        </emptyState.description>\\n\\n        <div class=\\\"empty-state__button\\\">\\n          <Onboarding::Home::HostedMessengerOpener\\n            @onHostedMessengerOpen={{this.trackAnalyticsFirstImpression}}\\n          >\\n            {{ic-interface-icon \\\"new-window\\\"}} {{this.emptyStateText}}\\n          </Onboarding::Home::HostedMessengerOpener>\\n        </div>\\n      </IcEmptyState>\\n    {{else}}\\n      <IcEmptyState\\n        @icon=\\\"mention\\\"\\n        @title={{this.emptyMentionsInboxTitle}}\\n        @description={{this.emptyMentionsInboxDescription}}\\n      />\\n    {{/if}}\\n  {{else if this.isFilteredByOpenedConversations}}\\n    {{#if @inbox.isMeInbox}}\\n      {{#if this.showEmptyState}}\\n        <div class=\\\"empty-state layout__box o__flexes-to-1 o__centers-all\\\">\\n          <div class=\\\"u__centered-text-block\\\">\\n            <div class=\\\"empty-state__icon\\\">\\n              <IcAvatarComponent\\n                @model={{@inbox.admin}}\\n                @size=\\\"l\\\"\\n              />\\n            </div>\\n\\n            <h2 class=\\\"t__h2 empty-state__title\\\">Talk to your customers here!</h2>\\n\\n            <IcEmptyState::WithDescription>\\n              Inbox is where you can respond to your customers’ questions, comments, and requests &mdash; across chat, email, and social.\\n            </IcEmptyState::WithDescription>\\n            <IcEmptyState::WithDescription>\\n               Want to try it out?\\n            </IcEmptyState::WithDescription>\\n\\n            <div class=\\\"empty-state__button\\\">\\n              <Onboarding::Home::HostedMessengerOpener\\n                @onHostedMessengerOpen={{this.trackAnalyticsFirstImpression}}\\n              >\\n                {{ic-interface-icon \\\"new-window\\\"}} {{this.emptyStateText}}\\n              </Onboarding::Home::HostedMessengerOpener>\\n            </div>\\n          </div>\\n        </div>\\n      {{else}}\\n        <IcEmptyState\\n          @icon=\\\"people\\\"\\n          @title=\\\"No open conversations assigned to you\\\"\\n          @description=\\\"You can assign conversations to yourself from Unassigned.\\\"\\n          @buttonLabel=\\\"Go to Unassigned\\\"\\n          @onButtonClick={{this.transitionToUnassigned}}\\n        />\\n      {{/if}}\\n    {{else if this.isUnassignedOrAllInbox}}\\n      {{#if this.showEmptyState}}\\n        <IcEmptyState\\n          @icon=\\\"people\\\"\\n          @title=\\\"Talk to your customers here!\\\"\\n          as |emptyState|\\n        >\\n          <emptyState.description>\\n            Inbox is where you can respond to your customers’ questions, comments, and requests &mdash; across chat, email, and social.\\n          </emptyState.description>\\n\\n          <emptyState.description>\\n            Want to try it out?\\n          </emptyState.description>\\n\\n          <div class=\\\"empty-state__button\\\">\\n            <Onboarding::Home::HostedMessengerOpener\\n              @onHostedMessengerOpen={{this.trackAnalyticsFirstImpression}}\\n            >\\n              {{ic-interface-icon \\\"new-window\\\"}} {{this.emptyStateText}}\\n            </Onboarding::Home::HostedMessengerOpener>\\n          </div>\\n        </IcEmptyState>\\n      {{else}}\\n        <IcEmptyState\\n          @icon=\\\"people\\\"\\n          @title={{this.emptyUnassignedAndAllInboxTitle}}\\n        />\\n      {{/if}}\\n    {{else}}\\n      <IcEmptyState @icon=\\\"people\\\" @title={{this.emptyInboxTitle}} />\\n    {{/if}}\\n  {{else}}\\n    <IcEmptyState @icon=\\\"people\\\" @title={{this.emptyInboxTitle}} />\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/empty-state-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/empty-state-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { computed, action } from '@ember/object';\nimport { readOnly, equal, none, or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { ternary, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nconst CONVERSATION_STATUS_DESCRIPTORS = {\n  opened: 'open',\n  closed: 'closed',\n  snoozed: 'snoozed',\n  unread: 'unread',\n};\n\nexport default Component.extend({\n  tagName: '',\n  intercomEventService: service(),\n  router: service(),\n  inboxService: service(),\n  appService: service(),\n  store: service(),\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.trackViewedFirstImpressionEmptyState();\n  },\n\n  allInboxesAreEmpty: computed('inboxService.inboxes.@each.determinantCount', function() {\n    return this.inboxService.inboxes.every(inbox => !inbox.determinantCount);\n  }),\n\n  showEmptyState: computed('hasConversations', 'allInboxesAreEmpty', function() {\n    return !this.hasConversations && this.allInboxesAreEmpty;\n  }),\n\n  emptyStateText: 'Send yourself a test message',\n  noConversationsText: 'No conversations yet',\n  isFilteredByOpenedConversations: equal('inbox.status', 'opened'),\n  isAllMentions: none('inbox.status'),\n  isUnassignedOrAllInbox: or('inbox.isUnassignedInbox', 'inbox.isAllInbox'),\n  conversationStatusDescriptor: computed('inbox.status', function() {\n    return CONVERSATION_STATUS_DESCRIPTORS[this.get('inbox.status')];\n  }),\n  emptyInboxTitle: computed('conversationStatusDescriptor', function() {\n    return `No ${this.conversationStatusDescriptor} conversations`;\n  }),\n  emptyMentionsInboxTitle: computed('isAllMentions', 'conversationStatusDescriptor', function() {\n    return this.isAllMentions\n      ? 'No mentions yet'\n      : `No ${this.conversationStatusDescriptor} mentions`;\n  }),\n  emptyMentionsInboxDescription: ternary(\n    'isAllMentions',\n    \"If someone mentions you in a conversation note, you'll find it here.\",\n    '',\n  ),\n  emptyUnassignedAndAllInboxTitle: ternaryToProperty(\n    'hasConversations',\n    'emptyInboxTitle',\n    'noConversationsText',\n  ),\n\n  inboxEmail: readOnly('app.inbox_email'),\n\n  trackViewedFirstImpressionEmptyState() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: 'inbox_empty_state',\n      has_conversations: this.hasConversations,\n    });\n  },\n\n  trackAnalyticsFirstImpression: action(function() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'inbox_empty_state_hosted_messenger',\n      inbox_type: this._inboxType,\n    });\n  }),\n\n  transitionToUnassigned: action(function() {\n    this.inboxService.transitionToUnassigned();\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-start\\\">\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <div\\n      class=\\\"text-gray t__right inbox__event-list-item__relative-time {{if isRecent \\\"text-green-dark\\\"}} u__left\\\"\\n      data-test-time-element\\n    >\\n      <IcTooltip as |t|>\\n        <t.opener>\\n          {{relativeDateTime}}\\n        </t.opener>\\n        <t.content>\\n          {{formattedToolTipDate}}\\n        </t.content>\\n      </IcTooltip>\\n    </div>\\n    <span\\n      class=\\\"inbox__event-list-item__title {{if isEvent \\\"o__event\\\"}} text-gray u__display-block\\\"\\n      data-test-title\\n    >\\n      {{#if @tooltip}}\\n        <IcTooltip\\n          @isInteractive={{true}}\\n          class=\\\"u__one-truncated-line\\\"\\n          as |t|\\n        >\\n          <t.opener>\\n            <a\\n              target=\\\"_blank\\\"\\n              rel=\\\"noopener noreferrer\\\"\\n              href=\\\"{{@url}}\\\"\\n              class=\\\"t__solo-link\\\"\\n              data-test-click-link\\n              data-track-analytics-event-object=\\\"url_toolip_page_view_link\\\"\\n            >\\n              {{displayedName}}\\n            </a>\\n          </t.opener>\\n          <t.content>\\n            <div class=\\\"inbox__event-list-item__tooltip\\\" data-test-url-tooltip-content>\\n              <h4 class=\\\"t__h4\\\">\\n                {{displayedName}}\\n              </h4>\\n              <a\\n                target=\\\"_blank\\\"\\n                rel=\\\"noopener noreferrer\\\"\\n                href=\\\"{{@url}}\\\"\\n                class=\\\"t__solo-link\\\"\\n                data-track-analytics-event-object=\\\"url_toolip_page_view_link\\\"\\n              >\\n                {{@tooltip}}\\n              </a>\\n            </div>\\n          </t.content>\\n        </IcTooltip>\\n      {{else}}\\n        {{displayedName}}\\n      {{/if}}\\n    </span>\\n    {{#if (and hasMetadata expanded)}}\\n      <ul class=\\\"inbox__event-list-item__expanded-content text-gray\\\">\\n        {{#each-in @metadata as |key value|}}\\n          <Inbox::MetaDataItem @key={{key}} @value={{value}} />\\n        {{/each-in}}\\n      </ul>\\n    {{/if}}\\n  </div>\\n  {{#if hasMetadata}}\\n    <div class=\\\"inbox__event-list-item__expander mini-expander\\\">\\n      <span\\n        class=\\\"mini-expander__icon\\\"\\n        data-test-metadata-expander\\n        {{action \\\"toggleExpand\\\"}}\\n      >\\n        {{ic-interface-icon iconClass solo=true}}\\n      </span>\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-start\\\">\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <div\\n      class=\\\"text-gray t__right inbox__event-list-item__relative-time {{if isRecent \\\"text-green-dark\\\"}} u__left\\\"\\n      data-test-time-element\\n    >\\n      <IcTooltip as |t|>\\n        <t.opener>\\n          {{relativeDateTime}}\\n        </t.opener>\\n        <t.content>\\n          {{formattedToolTipDate}}\\n        </t.content>\\n      </IcTooltip>\\n    </div>\\n    <span\\n      class=\\\"inbox__event-list-item__title {{if isEvent \\\"o__event\\\"}} text-gray u__display-block\\\"\\n      data-test-title\\n    >\\n      {{#if @tooltip}}\\n        <IcTooltip\\n          @isInteractive={{true}}\\n          class=\\\"u__one-truncated-line\\\"\\n          as |t|\\n        >\\n          <t.opener>\\n            <a\\n              target=\\\"_blank\\\"\\n              rel=\\\"noopener noreferrer\\\"\\n              href=\\\"{{@url}}\\\"\\n              class=\\\"t__solo-link\\\"\\n              data-test-click-link\\n              data-track-analytics-event-object=\\\"url_toolip_page_view_link\\\"\\n            >\\n              {{displayedName}}\\n            </a>\\n          </t.opener>\\n          <t.content>\\n            <div class=\\\"inbox__event-list-item__tooltip\\\" data-test-url-tooltip-content>\\n              <h4 class=\\\"t__h4\\\">\\n                {{displayedName}}\\n              </h4>\\n              <a\\n                target=\\\"_blank\\\"\\n                rel=\\\"noopener noreferrer\\\"\\n                href=\\\"{{@url}}\\\"\\n                class=\\\"t__solo-link\\\"\\n                data-track-analytics-event-object=\\\"url_toolip_page_view_link\\\"\\n              >\\n                {{@tooltip}}\\n              </a>\\n            </div>\\n          </t.content>\\n        </IcTooltip>\\n      {{else}}\\n        {{displayedName}}\\n      {{/if}}\\n    </span>\\n    {{#if (and hasMetadata expanded)}}\\n      <ul class=\\\"inbox__event-list-item__expanded-content text-gray\\\">\\n        {{#each-in @metadata as |key value|}}\\n          <Inbox::MetaDataItem @key={{key}} @value={{value}} />\\n        {{/each-in}}\\n      </ul>\\n    {{/if}}\\n  </div>\\n  {{#if hasMetadata}}\\n    <div class=\\\"inbox__event-list-item__expander mini-expander\\\">\\n      <span\\n        class=\\\"mini-expander__icon\\\"\\n        data-test-metadata-expander\\n        {{action \\\"toggleExpand\\\"}}\\n      >\\n        {{ic-interface-icon iconClass solo=true}}\\n      </span>\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/event-list-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/event-list-item.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport relativeTime from 'embercom/lib/relative-time';\nimport moment from 'moment';\nimport { equal } from '@ember/object/computed';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  expanded: false,\n  isEvent: false,\n  iconClass: ternary('expanded', 'small-thin-down-arrow', 'small-thin-right-arrow'),\n  relativeDateTime: computed('timestamp', function() {\n    let momentTime = moment(this.timestamp);\n\n    return relativeTime(momentTime, 'en-abbreviated-relative-time', false);\n  }),\n  displayedName: computed('name', 'url', function() {\n    return this.name || this.url || '-';\n  }),\n  isRecent: equal('relativeDateTime', 'Now'),\n  formattedToolTipDate: computed('timestamp', function() {\n    return moment(this.timestamp).format(dateAndTimeFormats.fullDateAndTimeWithoutTimezone);\n  }),\n  hasMetadata: computed('metadata', function() {\n    return this.metadata && Object.keys(this.metadata).length > 0;\n  }),\n  actions: {\n    toggleExpand() {\n      this.toggleProperty('expanded');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"conversation__inbox__list-wrapper skiptranslate notranslate\\\" data-intercom-target=\\\"fake-inbox-conversation-list\\\">\\n  <div\\n    class=\\\"conversation__inbox__list-header layout__box o__centers-vertically\\\"\\n    data-test-fake-inbox-title\\n  >\\n    <Common::HamburgerMenu @includePadding={{false}} />\\n    {{#if navbarCollapsed}}\\n      <IcDropdownOpener @groupList={{dropdownInboxes}}>\\n        <span class=\\\"u__pointer-cursor\\\" data-test-inbox-picker-opener>\\n          <span class=\\\"u__padl__5 u__padr__5\\\">\\n            All\\n          </span>\\n          {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n        </span>\\n      </IcDropdownOpener>\\n    {{else}}\\n      <span class=\\\"t__h1 u__one-truncated-line\\\">\\n        All\\n      </span>\\n    {{/if}}\\n  </div>\\n  <Inbox::ListItemComponent\\n    @app={{app}}\\n    @conversation={{conversation}}\\n    @isInSingleView={{true}}\\n    @height={{this.cardHeight}}\\n    @index={{0}}\\n  />\\n  <LinkTo\\n    @route={{app.inboxConversationsRoute}}\\n    @model=\\\"all\\\"\\n    class=\\\"btn__tertiary__deemphasized u__centered-text-block u__mt__15\\\"\\n    data-test-single-convo-view-see-all={{true}}\\n  >\\n    See all conversations\\n  </LinkTo>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"conversation__inbox__list-wrapper skiptranslate notranslate\\\" data-intercom-target=\\\"fake-inbox-conversation-list\\\">\\n  <div\\n    class=\\\"conversation__inbox__list-header layout__box o__centers-vertically\\\"\\n    data-test-fake-inbox-title\\n  >\\n    <Common::HamburgerMenu @includePadding={{false}} />\\n    {{#if navbarCollapsed}}\\n      <IcDropdownOpener @groupList={{dropdownInboxes}}>\\n        <span class=\\\"u__pointer-cursor\\\" data-test-inbox-picker-opener>\\n          <span class=\\\"u__padl__5 u__padr__5\\\">\\n            All\\n          </span>\\n          {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n        </span>\\n      </IcDropdownOpener>\\n    {{else}}\\n      <span class=\\\"t__h1 u__one-truncated-line\\\">\\n        All\\n      </span>\\n    {{/if}}\\n  </div>\\n  <Inbox::ListItemComponent\\n    @app={{app}}\\n    @conversation={{conversation}}\\n    @isInSingleView={{true}}\\n    @height={{this.cardHeight}}\\n    @index={{0}}\\n  />\\n  <LinkTo\\n    @route={{app.inboxConversationsRoute}}\\n    @model=\\\"all\\\"\\n    class=\\\"btn__tertiary__deemphasized u__centered-text-block u__mt__15\\\"\\n    data-test-single-convo-view-see-all={{true}}\\n  >\\n    See all conversations\\n  </LinkTo>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/fake-inbox-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/fake-inbox-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  'data-test-single-conversation-fake-inbox-list-view': true,\n  inboxService: service(),\n  cardHeight: 112,\n\n  dropdownInboxes: computed('inboxService.defaultDropdownInboxes.[]', function() {\n    let inboxes = this.get('inboxService.defaultDropdownInboxes');\n    return [\n      {\n        items: inboxes.map(this._mapInboxToDropdownItem),\n        isMain: true,\n      },\n    ];\n  }),\n\n  _mapInboxToDropdownItem(inbox) {\n    return {\n      value: inbox.get('id'),\n      component: 'inbox/inbox-picker-element-component',\n      componentAttrs: {\n        inbox,\n        isSelected: inbox.get('isAllInbox'),\n      },\n    };\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"profile-sidebar-tabbar__wrapper\\\">\\n  {{#each participantsInBar as |participant|}}\\n    <span\\n      data-test-group-convo-bar-tab\\n      class=\\\"profile-sidebar-tabbar__tab u__left {{if (eq currentActiveParticipantId participant.id) \\\"o__active\\\" \\\"o__inactive\\\"}}\\\"\\n      data-test-group-participant={{participant.id}}\\n    >\\n      <span\\n        data-test-group-convo-bar-tab-avatar\\n        class=\\\"u__pointer-cursor\\\"\\n        {{action \\\"toggleActiveParticipant\\\" participant.id}}\\n      >\\n        <IcAvatarComponent\\n          @model={{participant}}\\n          @size=\\\"m\\\"\\n          @canAnimate={{true}}\\n        />\\n      </span>\\n    </span>\\n  {{/each}}\\n  {{#if participantsInDropdown}}\\n    <IcDropdownOpener\\n      @groupList={{participantsInDropdownGroupList}}\\n      class=\\\"profile-sidebar-tabbar__dropdown-opener\\\"\\n      @label={{dropdownLabel}}\\n      @buttonIsSubtle={{true}}\\n      @onSelectItem={{action \\\"toggleActiveParticipant\\\"}}\\n    />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"profile-sidebar-tabbar__wrapper\\\">\\n  {{#each participantsInBar as |participant|}}\\n    <span\\n      data-test-group-convo-bar-tab\\n      class=\\\"profile-sidebar-tabbar__tab u__left {{if (eq currentActiveParticipantId participant.id) \\\"o__active\\\" \\\"o__inactive\\\"}}\\\"\\n      data-test-group-participant={{participant.id}}\\n    >\\n      <span\\n        data-test-group-convo-bar-tab-avatar\\n        class=\\\"u__pointer-cursor\\\"\\n        {{action \\\"toggleActiveParticipant\\\" participant.id}}\\n      >\\n        <IcAvatarComponent\\n          @model={{participant}}\\n          @size=\\\"m\\\"\\n          @canAnimate={{true}}\\n        />\\n      </span>\\n    </span>\\n  {{/each}}\\n  {{#if participantsInDropdown}}\\n    <IcDropdownOpener\\n      @groupList={{participantsInDropdownGroupList}}\\n      class=\\\"profile-sidebar-tabbar__dropdown-opener\\\"\\n      @label={{dropdownLabel}}\\n      @buttonIsSubtle={{true}}\\n      @onSelectItem={{action \\\"toggleActiveParticipant\\\"}}\\n    />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/group-conversation-tab-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/group-conversation-tab-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { schedule } from '@ember/runloop';\nimport { readOnly, setDiff } from '@ember/object/computed';\nimport $ from 'jquery';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { addEventListener, runDisposables } from 'ember-lifeline';\nimport { fmt } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  appService: service(),\n  intercomEventService: service(),\n  app: readOnly('appService.app'),\n  classNames: ['profile-sidebar-tabbar', 'u__overflow-hidden', 'u__overflow-x-auto', 'u__cf'],\n  classNameBindings: ['app.canUseFullWidthHeader:o__compact'],\n\n  participantsInBar: computed(\n    'conversation.participants.[]',\n    'currentActiveParticipantId',\n    'containerWidth',\n    'conversation.id',\n    function() {\n      let avatarWidthWithMargins = $('.profile-sidebar-tabbar__tab').outerWidth(true);\n      let containerWidth = $('.profile-sidebar-tabbar').width();\n      let dropdownOpenerWidth = this.get('conversation.participants.length') > 9 ? 64 : 54;\n      if (\n        this._canFitAllAvatars(\n          containerWidth,\n          avatarWidthWithMargins,\n          this.conversation.participants.length,\n        )\n      ) {\n        return this.get('conversation.participants');\n      }\n\n      let participantsInBar = this.get('conversation.participants').slice(\n        0,\n        this._numberOfAvatarsThatFitWithDropdown(\n          containerWidth,\n          avatarWidthWithMargins,\n          dropdownOpenerWidth,\n        ),\n      );\n\n      return this._includeCurrentActiveUserInParticipantsInBarIfNeeded(\n        participantsInBar,\n        this.get('conversation.participants'),\n        this.currentActiveParticipantId,\n      );\n    },\n  ),\n\n  participantsInDropdown: setDiff('conversation.participants', 'participantsInBar'),\n\n  participantsInDropdownGroupList: computed('participantsInDropdown.[]', function() {\n    let formattedParticipants = this.participantsInDropdown.map(participant => {\n      return {\n        value: participant.get('id'),\n        component: 'common/avatar-and-name-dropdown-item',\n        componentAttrs: {\n          model: participant,\n          modelDisplayName: participant.get('display_as'),\n          avatarSize: 's',\n        },\n      };\n    });\n    return [{ items: formattedParticipants }];\n  }),\n\n  dropdownLabel: fmt('+%@', 'participantsInDropdown.length'),\n\n  didInsertElement() {\n    this._super(...arguments);\n    addEventListener(this, window, 'resize', () => this._setWidth());\n    schedule('afterRender', this, this._setWidth);\n  },\n\n  destroy() {\n    this._super(...arguments);\n    runDisposables(this);\n  },\n\n  _setWidth() {\n    if (this.isDestroying) {\n      return;\n    }\n    this.set('containerWidth', $('.profile-sidebar-tabbar').width());\n  },\n\n  _canFitAllAvatars(containerSize, avatarSize, numberOfParticipants) {\n    let maxNumberToFit = Math.floor(containerSize / avatarSize);\n    return maxNumberToFit >= numberOfParticipants;\n  },\n\n  _numberOfAvatarsThatFitWithDropdown(containerSize, avatarSize, dropdownSize) {\n    return Math.floor((containerSize - dropdownSize) / avatarSize);\n  },\n\n  _includeCurrentActiveUserInParticipantsInBarIfNeeded(\n    participantsInBar,\n    participants,\n    currentActiveParticipantId,\n  ) {\n    let currentActiveUserIncluded = participantsInBar.some(\n      participant => participant.get('id') === currentActiveParticipantId,\n    );\n    if (currentActiveUserIncluded) {\n      return participantsInBar;\n    }\n\n    let currentActiveUser = participants.find(\n      participant => participant.get('id') === currentActiveParticipantId,\n    );\n    if (currentActiveUser) {\n      participantsInBar.pop();\n      participantsInBar.push(currentActiveUser);\n    }\n\n    return participantsInBar;\n  },\n\n  actions: {\n    toggleActiveParticipant(userId) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'group_conversation_participant',\n        place: 'inbox',\n        conversation_id: this.get('conversation.id'),\n        number_of_participants: this.get('conversation.participants.length'),\n      });\n      this.toggleActiveParticipant(userId);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"inbox__access-banner\\\">\\n  <div data-test-inbox-access-banner-title class=\\\"t__h2\\\">\\n    {{title}}\\n  </div>\\n  <div data-test-inbox-access-banner-subtitle class=\\\"u__mt__10\\\">\\n    {{subtitle}}\\n  </div>\\n  <div class=\\\"u__mt__20 layout__box o__centers-vertically\\\">\\n    <IcButton\\n      data-test-inbox-access-banner-button\\n      @label={{buttonLabel}}\\n      @type=\\\"primary-live\\\"\\n      @onClick={{action \\\"buttonClicked\\\"}}\\n    />\\n    <div class=\\\"u__ml__20 inbox__access-banner__platform-link\\\">\\n      <LinkTo @route=\\\"apps.app.feed\\\">\\n        View conversations\\n      </LinkTo>\\n      in Platform\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"inbox__access-banner\\\">\\n  <div data-test-inbox-access-banner-title class=\\\"t__h2\\\">\\n    {{title}}\\n  </div>\\n  <div data-test-inbox-access-banner-subtitle class=\\\"u__mt__10\\\">\\n    {{subtitle}}\\n  </div>\\n  <div class=\\\"u__mt__20 layout__box o__centers-vertically\\\">\\n    <IcButton\\n      data-test-inbox-access-banner-button\\n      @label={{buttonLabel}}\\n      @type=\\\"primary-live\\\"\\n      @onClick={{action \\\"buttonClicked\\\"}}\\n    />\\n    <div class=\\\"u__ml__20 inbox__access-banner__platform-link\\\">\\n      <LinkTo @route=\\\"apps.app.feed\\\">\\n        View conversations\\n      </LinkTo>\\n      in Platform\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/inbox-access-banner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/inbox-access-banner.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  classNames: ['inbox__access-banner__wrapper'],\n  'data-test-inbox-access-banner': true,\n\n  router: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  adminCanAccessSettings: readOnly(\n    'app.currentAdmin.currentAppPermissions.can_access_workspace_settings',\n  ),\n\n  title: 'Join your team on Inbox',\n  buttonLabel: ternary('adminCanAccessSettings', 'Get an inbox seat', 'Ask a teammate for a seat'),\n\n  actions: {\n    buttonClicked() {\n      if (this.adminCanAccessSettings) {\n        this.router.transitionTo('apps.app.settings.teammates');\n      } else {\n        this.permissionsService.loadAllAdminsAndShowPermissionRequestModal(\n          'can_access_workspace_settings',\n        );\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"conversation__inbox__list-wrapper skiptranslate notranslate\\\"\\n  data-intercom-target=\\\"inbox-conversation-list\\\"\\n>\\n  <div\\n    data-test-search-info-text\\n    class=\\\"conversation__inbox__list-header layout__box o__has-columns {{ if app.canUseEmberConversationTitle \\\"conversation__inbox__list-header-with-title\\\" }}\\\">\\n    <Common::HamburgerMenu @includePadding={{false}} class=\\\"submenu__collapse-toggle\\\">\\n      {{#if inbox.isSearch}}\\n        {{#if (and inbox.fetchPageTask.isRunning inbox.hasNoConversations)}}\\n          Searching...\\n        {{else}}\\n          {{#if (gt inbox.count 0)}}\\n            Search results\\n            <span class=\\\"u__normal-weight text-gray u__ml__5\\\">\\n              {{formattedTotalCount}}\\n            </span>\\n          {{else}}\\n            No search results\\n          {{/if}}\\n        {{/if}}\\n      {{else}}\\n        {{#if navbarCollapsed}}\\n          <IcDropdownOpener\\n            @groupList={{dropdownInboxes}}\\n            @dropdownClass=\\\"inbox__inbox-picker__dropdown\\\"\\n          >\\n            <span\\n              class=\\\"u__pointer-cursor conversation__inbox__list-header__inbox-name\\\"\\n              data-test-inbox-picker-opener\\n            >\\n              <span class=\\\"t__h1 u__padr__5\\\">\\n                {{conversationListHeader}}\\n              </span>\\n              {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n            </span>\\n          </IcDropdownOpener>\\n        {{else}}\\n          <span class=\\\"t__h1 u__one-truncated-line\\\">\\n            {{conversationListHeader}}\\n          </span>\\n        {{/if}}\\n      {{/if}}\\n    </Common::HamburgerMenu>\\n    {{#if (and isCurrentAdminInbox app.isIntercom admin.hasEnabledCSComponent)}}\\n      <Inbox::AssignNextConversationComponent @isVeryNarrow={{isVeryNarrow}} />\\n    {{/if}}\\n  </div>\\n  <div class=\\\"conversation__inbox__list-filter u__cf o__vertical-nav {{if inbox.isSearch \\\"o__search\\\"}}\\\">\\n    <div class=\\\"u__left\\\">\\n      {{#if inbox.isSearch}}\\n        <Inbox::SortByDropdownComponent @admin={{admin}} @inbox={{inbox}} />\\n      {{else}}\\n        {{#if somethingSelected}}\\n          <input\\n            type=\\\"checkbox\\\"\\n            class=\\\"conversation__inbox__list__multi-select-checkbox\\\"\\n            checked={{allConversationsSelected}}\\n            data-test-inbox-multi-select-checkbox\\n            {{action \\\"handleMultiSelect\\\" on=\\\"change\\\"}}\\n          />\\n        {{else if inbox.isMentionsInbox}}\\n          <Inbox::MentionsStateDropdownComponent\\n            @title={{statusDropdownTitle}}\\n            @changeStatus={{action \\\"changeStatus\\\"}}\\n            @dropdownClass=\\\"o__down-left\\\"\\n          />\\n        {{else}}\\n          <div title=\\\"{{numeric-formatter-helper inbox.count}}\\\">\\n            <ConversationStateDropdownComponent\\n              @title={{statusDropdownTitle}}\\n              @totalCount={{formattedTotalCount}}\\n              @isWide={{isWide}}\\n              @status={{inbox.status}}\\n              @hideCount={{inbox.countIsUndefined}}\\n              @changeStatus={{action \\\"changeStatus\\\"}}\\n            />\\n          </div>\\n        {{/if}}\\n      {{/if}}\\n    </div>\\n    <div class=\\\"u__right\\\">\\n      {{#if somethingSelected}}\\n        {{#if (not inbox.isSearch)}}\\n          <span class=\\\"u__right\\\">\\n            {{#if (eq inbox.status \\\"closed\\\")}}\\n              <IcTooltip as |t|>\\n                <t.opener>\\n                  <IcButton\\n                    @type=\\\"secondary\\\"\\n                    @onClick={{action \\\"bulkReopen\\\"}}\\n                    @subtle={{true}}\\n                  >\\n                    {{ic-interface-icon \\\"inbox\\\"}} <span class=\\\"u__normal-weight text-gray u__ml__5\\\">\\n                      {{formattedSelectedCount}}\\n                    </span>\\n                  </IcButton>\\n                </t.opener>\\n                <t.content>Reopen {{inflector-helper \\\"conversation\\\" selectedConversations.length}}</t.content>\\n              </IcTooltip>\\n            {{else}}\\n              <IcTooltip as |t|>\\n                <t.opener>\\n                  <IcButton\\n                    data-test-bulk-close-button\\n                    @type=\\\"secondary\\\"\\n                    @onClick={{action \\\"bulkClose\\\"}}\\n                    @subtle={{true}}\\n                    @jsBindingClass=\\\"js__conversation-list__close-button\\\"\\n                  >\\n                    {{ic-interface-icon \\\"check\\\"}} <span class=\\\"u__normal-weight text-gray u__ml__5\\\">{{formattedSelectedCount}}</span>\\n                  </IcButton>\\n                </t.opener>\\n                <t.content>Close {{inflector-helper \\\"conversation\\\" selectedConversations.length}}</t.content>\\n              </IcTooltip>\\n            {{/if}}\\n          </span>\\n        {{/if}}\\n        {{#if canBulkReassign}}\\n          <Admin::SelectorDropdown\\n            @app={{app}}\\n            @admins={{app.assignableAdmins}}\\n            @listElementAction={{action \\\"bulkAssign\\\"}}\\n            @showTeams={{true}}\\n          >\\n            <IcTooltip as |t|>\\n              <t.opener>\\n                <span\\n                  class=\\\"f__custom-select js__bulk-assign\\\"\\n                  data-test-bulk-assign\\n                >\\n                  <span class=\\\"f__custom-select__box o__subtle {{if component.isOpen \\\"o__opened\\\"}}\\\">\\n                    {{ic-interface-icon \\\"assignment\\\"}}\\n                    {{#unless hideAssignCount}}\\n                      <span class=\\\"u__normal-weight text-gray u__ml__5\\\">\\n                        {{formattedSelectedCount}}\\n                      </span>\\n                    {{/unless}}\\n                    <span class=\\\"f__custom-select__caret\\\">\\n                      {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n                    </span>\\n                  </span>\\n                </span>\\n              </t.opener>\\n              <t.content>Assign {{inflector-helper \\\"conversation\\\" selectedConversations.length}}</t.content>\\n            </IcTooltip>\\n          </Admin::SelectorDropdown>\\n        {{/if}}\\n      {{else if (not inbox.isSearch)}}\\n        <Inbox::SortByDropdownComponent\\n          @admin={{admin}}\\n          @inbox={{inbox}}\\n          @isVeryNarrow={{isVeryNarrow}}\\n        />\\n      {{/if}}\\n    </div>\\n  </div>\\n  {{#if (and inbox.hasNoConversations (not inbox.isEmpty))}}\\n    <div\\n      data-test-inbox-initial-loader\\n      class=\\\"conversation__inbox__list {{if app.canUseEmberConversationTitle 'conversation__inbox__list-with-title'}} layout__box o__has-rows o__vertical-nav\\\"\\n    >\\n      <Inbox::InboxLoadingIndicatorComponent\\n        @style={{spinnerOrErrorStyle}}\\n        @hasLoadingError={{inbox.fetchPageTask.last.error}}\\n        @isLoading={{not inbox.fetchPageTask.isIdle}}\\n        @action={{action \\\"nextPage\\\"}}\\n      />\\n    </div>\\n  {{else}}\\n    {{#if showNoSortableConversationsBanner}}\\n      <div\\n        data-test-no-sortable-conversation-banner\\n        class=\\\"conversation__inbox__list__no-sortable-conversation-banner\\\"\\n      >\\n        {{noSortableConversationsBannerText}}\\n      </div>\\n    {{/if}}\\n    <Inbox::PaginationComponent\\n      class=\\\"conversation__inbox__list {{if app.canUseEmberConversationTitle 'conversation__inbox__list-with-title'}} layout__box o__has-rows o__vertical-nav\\\"\\n      @viewportSelector=\\\".conversation__inbox__list\\\"\\n      @scrollingContentSelector=\\\".conversation__inbox__list\\\"\\n      @itemSelector=\\\".js__inbox-list-item\\\"\\n      @onPageRequested={{action \\\"nextPage\\\"}}\\n      @cardHeight={{cardHeight}}\\n      @inbox={{inbox}}\\n      @inboxConversationsLength={{inbox.conversationList.length}}\\n      @inboxState={{inbox.state}}\\n      @inboxSortDirection={{inbox.sortDirection}}\\n      @inboxSortKey={{inbox.sortKey}}\\n      @showNoSortableConversationsBanner={{showNoSortableConversationsBanner}}\\n    >\\n      {{#each conversationsWithKey key=\\\"key\\\" as |item|}}\\n        <Inbox::ListItemComponent\\n          @conversation={{item.conversation}}\\n          @inbox={{inbox}}\\n          @index={{index-of inbox.conversationList.sortedItems item.conversation}}\\n          @isSelected={{contains item.conversation selectedConversations}}\\n          @selectConversation={{action \\\"selectConversation\\\" item.conversation}}\\n          @deselectConversation={{action \\\"deselectConversation\\\" item.conversation}}\\n          @height={{cardHeight}}\\n          @showCheckboxes={{showCheckboxes}}\\n        />\\n      {{/each}}\\n      <Inbox::InboxLoadingIndicatorComponent\\n        @style={{spinnerOrErrorStyle}}\\n        @hasLoadingError={{inbox.fetchPageTask.last.error}}\\n        @isLoading={{or\\n          (not inbox.fetchPageTask.isIdle)\\n          doBulkAction.isRunning\\n        }}\\n        @action={{action \\\"nextPage\\\"}}\\n      />\\n      {{#if isCurrentAdminInbox}}\\n        <Inbox::PullConversation @position=\\\"{{multiply cardHeight inbox.conversations.length}}\\\" />\\n      {{/if}}\\n\\n    </Inbox::PaginationComponent>\\n  {{/if}}\\n</div>\\n{{#if somethingSelected}}\\n  <div class=\\\"conversation__inbox__list__selection-info\\\">\\n    <div class=\\\"u__center-item\\\">\\n      <IcEmptyState\\n        @icon=\\\"conversation\\\"\\n        @title={{concat \\\"You've selected \\\" (if (and allConversationsSelected inbox.hasLoadedAll) \\\"all\\\") \\\" \\\" selectedConversations.length \\\" \\\" (inflector-helper \\\"conversation\\\" selectedConversations.length)}}\\n        @description={{if (and allConversationsSelected (not inbox.hasLoadedAll)) \\\"(scroll down to load more)\\\"}}\\n      >\\n        <a\\n          data-test-inbox-list-clear-selection\\n          class=\\\"btn__tertiary\\\"\\n          {{action \\\"clearSelection\\\"}}\\n        >\\n          Clear selection\\n        </a>\\n      </IcEmptyState>\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"conversation__inbox__list-wrapper skiptranslate notranslate\\\"\\n  data-intercom-target=\\\"inbox-conversation-list\\\"\\n>\\n  <div\\n    data-test-search-info-text\\n    class=\\\"conversation__inbox__list-header layout__box o__has-columns {{ if app.canUseEmberConversationTitle \\\"conversation__inbox__list-header-with-title\\\" }}\\\">\\n    <Common::HamburgerMenu @includePadding={{false}} class=\\\"submenu__collapse-toggle\\\">\\n      {{#if inbox.isSearch}}\\n        {{#if (and inbox.fetchPageTask.isRunning inbox.hasNoConversations)}}\\n          Searching...\\n        {{else}}\\n          {{#if (gt inbox.count 0)}}\\n            Search results\\n            <span class=\\\"u__normal-weight text-gray u__ml__5\\\">\\n              {{formattedTotalCount}}\\n            </span>\\n          {{else}}\\n            No search results\\n          {{/if}}\\n        {{/if}}\\n      {{else}}\\n        {{#if navbarCollapsed}}\\n          <IcDropdownOpener\\n            @groupList={{dropdownInboxes}}\\n            @dropdownClass=\\\"inbox__inbox-picker__dropdown\\\"\\n          >\\n            <span\\n              class=\\\"u__pointer-cursor conversation__inbox__list-header__inbox-name\\\"\\n              data-test-inbox-picker-opener\\n            >\\n              <span class=\\\"t__h1 u__padr__5\\\">\\n                {{conversationListHeader}}\\n              </span>\\n              {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n            </span>\\n          </IcDropdownOpener>\\n        {{else}}\\n          <span class=\\\"t__h1 u__one-truncated-line\\\">\\n            {{conversationListHeader}}\\n          </span>\\n        {{/if}}\\n      {{/if}}\\n    </Common::HamburgerMenu>\\n    {{#if (and isCurrentAdminInbox app.isIntercom admin.hasEnabledCSComponent)}}\\n      <Inbox::AssignNextConversationComponent @isVeryNarrow={{isVeryNarrow}} />\\n    {{/if}}\\n  </div>\\n  <div class=\\\"conversation__inbox__list-filter u__cf o__vertical-nav {{if inbox.isSearch \\\"o__search\\\"}}\\\">\\n    <div class=\\\"u__left\\\">\\n      {{#if inbox.isSearch}}\\n        <Inbox::SortByDropdownComponent @admin={{admin}} @inbox={{inbox}} />\\n      {{else}}\\n        {{#if somethingSelected}}\\n          <input\\n            type=\\\"checkbox\\\"\\n            class=\\\"conversation__inbox__list__multi-select-checkbox\\\"\\n            checked={{allConversationsSelected}}\\n            data-test-inbox-multi-select-checkbox\\n            {{action \\\"handleMultiSelect\\\" on=\\\"change\\\"}}\\n          />\\n        {{else if inbox.isMentionsInbox}}\\n          <Inbox::MentionsStateDropdownComponent\\n            @title={{statusDropdownTitle}}\\n            @changeStatus={{action \\\"changeStatus\\\"}}\\n            @dropdownClass=\\\"o__down-left\\\"\\n          />\\n        {{else}}\\n          <div title=\\\"{{numeric-formatter-helper inbox.count}}\\\">\\n            <ConversationStateDropdownComponent\\n              @title={{statusDropdownTitle}}\\n              @totalCount={{formattedTotalCount}}\\n              @isWide={{isWide}}\\n              @status={{inbox.status}}\\n              @hideCount={{inbox.countIsUndefined}}\\n              @changeStatus={{action \\\"changeStatus\\\"}}\\n            />\\n          </div>\\n        {{/if}}\\n      {{/if}}\\n    </div>\\n    <div class=\\\"u__right\\\">\\n      {{#if somethingSelected}}\\n        {{#if (not inbox.isSearch)}}\\n          <span class=\\\"u__right\\\">\\n            {{#if (eq inbox.status \\\"closed\\\")}}\\n              <IcTooltip as |t|>\\n                <t.opener>\\n                  <IcButton\\n                    @type=\\\"secondary\\\"\\n                    @onClick={{action \\\"bulkReopen\\\"}}\\n                    @subtle={{true}}\\n                  >\\n                    {{ic-interface-icon \\\"inbox\\\"}} <span class=\\\"u__normal-weight text-gray u__ml__5\\\">\\n                      {{formattedSelectedCount}}\\n                    </span>\\n                  </IcButton>\\n                </t.opener>\\n                <t.content>Reopen {{inflector-helper \\\"conversation\\\" selectedConversations.length}}</t.content>\\n              </IcTooltip>\\n            {{else}}\\n              <IcTooltip as |t|>\\n                <t.opener>\\n                  <IcButton\\n                    data-test-bulk-close-button\\n                    @type=\\\"secondary\\\"\\n                    @onClick={{action \\\"bulkClose\\\"}}\\n                    @subtle={{true}}\\n                    @jsBindingClass=\\\"js__conversation-list__close-button\\\"\\n                  >\\n                    {{ic-interface-icon \\\"check\\\"}} <span class=\\\"u__normal-weight text-gray u__ml__5\\\">{{formattedSelectedCount}}</span>\\n                  </IcButton>\\n                </t.opener>\\n                <t.content>Close {{inflector-helper \\\"conversation\\\" selectedConversations.length}}</t.content>\\n              </IcTooltip>\\n            {{/if}}\\n          </span>\\n        {{/if}}\\n        {{#if canBulkReassign}}\\n          <Admin::SelectorDropdown\\n            @app={{app}}\\n            @admins={{app.assignableAdmins}}\\n            @listElementAction={{action \\\"bulkAssign\\\"}}\\n            @showTeams={{true}}\\n          >\\n            <IcTooltip as |t|>\\n              <t.opener>\\n                <span\\n                  class=\\\"f__custom-select js__bulk-assign\\\"\\n                  data-test-bulk-assign\\n                >\\n                  <span class=\\\"f__custom-select__box o__subtle {{if component.isOpen \\\"o__opened\\\"}}\\\">\\n                    {{ic-interface-icon \\\"assignment\\\"}}\\n                    {{#unless hideAssignCount}}\\n                      <span class=\\\"u__normal-weight text-gray u__ml__5\\\">\\n                        {{formattedSelectedCount}}\\n                      </span>\\n                    {{/unless}}\\n                    <span class=\\\"f__custom-select__caret\\\">\\n                      {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n                    </span>\\n                  </span>\\n                </span>\\n              </t.opener>\\n              <t.content>Assign {{inflector-helper \\\"conversation\\\" selectedConversations.length}}</t.content>\\n            </IcTooltip>\\n          </Admin::SelectorDropdown>\\n        {{/if}}\\n      {{else if (not inbox.isSearch)}}\\n        <Inbox::SortByDropdownComponent\\n          @admin={{admin}}\\n          @inbox={{inbox}}\\n          @isVeryNarrow={{isVeryNarrow}}\\n        />\\n      {{/if}}\\n    </div>\\n  </div>\\n  {{#if (and inbox.hasNoConversations (not inbox.isEmpty))}}\\n    <div\\n      data-test-inbox-initial-loader\\n      class=\\\"conversation__inbox__list {{if app.canUseEmberConversationTitle 'conversation__inbox__list-with-title'}} layout__box o__has-rows o__vertical-nav\\\"\\n    >\\n      <Inbox::InboxLoadingIndicatorComponent\\n        @style={{spinnerOrErrorStyle}}\\n        @hasLoadingError={{inbox.fetchPageTask.last.error}}\\n        @isLoading={{not inbox.fetchPageTask.isIdle}}\\n        @action={{action \\\"nextPage\\\"}}\\n      />\\n    </div>\\n  {{else}}\\n    {{#if showNoSortableConversationsBanner}}\\n      <div\\n        data-test-no-sortable-conversation-banner\\n        class=\\\"conversation__inbox__list__no-sortable-conversation-banner\\\"\\n      >\\n        {{noSortableConversationsBannerText}}\\n      </div>\\n    {{/if}}\\n    <Inbox::PaginationComponent\\n      class=\\\"conversation__inbox__list {{if app.canUseEmberConversationTitle 'conversation__inbox__list-with-title'}} layout__box o__has-rows o__vertical-nav\\\"\\n      @viewportSelector=\\\".conversation__inbox__list\\\"\\n      @scrollingContentSelector=\\\".conversation__inbox__list\\\"\\n      @itemSelector=\\\".js__inbox-list-item\\\"\\n      @onPageRequested={{action \\\"nextPage\\\"}}\\n      @cardHeight={{cardHeight}}\\n      @inbox={{inbox}}\\n      @inboxConversationsLength={{inbox.conversationList.length}}\\n      @inboxState={{inbox.state}}\\n      @inboxSortDirection={{inbox.sortDirection}}\\n      @inboxSortKey={{inbox.sortKey}}\\n      @showNoSortableConversationsBanner={{showNoSortableConversationsBanner}}\\n    >\\n      {{#each conversationsWithKey key=\\\"key\\\" as |item|}}\\n        <Inbox::ListItemComponent\\n          @conversation={{item.conversation}}\\n          @inbox={{inbox}}\\n          @index={{index-of inbox.conversationList.sortedItems item.conversation}}\\n          @isSelected={{contains item.conversation selectedConversations}}\\n          @selectConversation={{action \\\"selectConversation\\\" item.conversation}}\\n          @deselectConversation={{action \\\"deselectConversation\\\" item.conversation}}\\n          @height={{cardHeight}}\\n          @showCheckboxes={{showCheckboxes}}\\n        />\\n      {{/each}}\\n      <Inbox::InboxLoadingIndicatorComponent\\n        @style={{spinnerOrErrorStyle}}\\n        @hasLoadingError={{inbox.fetchPageTask.last.error}}\\n        @isLoading={{or\\n          (not inbox.fetchPageTask.isIdle)\\n          doBulkAction.isRunning\\n        }}\\n        @action={{action \\\"nextPage\\\"}}\\n      />\\n      {{#if isCurrentAdminInbox}}\\n        <Inbox::PullConversation @position=\\\"{{multiply cardHeight inbox.conversations.length}}\\\" />\\n      {{/if}}\\n\\n    </Inbox::PaginationComponent>\\n  {{/if}}\\n</div>\\n{{#if somethingSelected}}\\n  <div class=\\\"conversation__inbox__list__selection-info\\\">\\n    <div class=\\\"u__center-item\\\">\\n      <IcEmptyState\\n        @icon=\\\"conversation\\\"\\n        @title={{concat \\\"You've selected \\\" (if (and allConversationsSelected inbox.hasLoadedAll) \\\"all\\\") \\\" \\\" selectedConversations.length \\\" \\\" (inflector-helper \\\"conversation\\\" selectedConversations.length)}}\\n        @description={{if (and allConversationsSelected (not inbox.hasLoadedAll)) \\\"(scroll down to load more)\\\"}}\\n      >\\n        <a\\n          data-test-inbox-list-clear-selection\\n          class=\\\"btn__tertiary\\\"\\n          {{action \\\"clearSelection\\\"}}\\n        >\\n          Clear selection\\n        </a>\\n      </IcEmptyState>\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/inbox-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/inbox-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-deeply-nested-dependent-keys-with-each */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport EmberObject from '@ember/object';\nimport { schedule } from '@ember/runloop';\nimport $ from 'jquery';\nimport { A } from '@ember/array';\nimport { and, notEmpty, gt, readOnly, equal, gte, lte, or } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { task, timeout } from 'ember-concurrency';\nimport pluralise from 'embercom/lib/inflector';\nimport Conversation from 'embercom/models/conversation';\nimport {\n  applyFunction,\n  equalToProperty,\n  fmtStyle,\n  ternary,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport { truncatedNumberFormatter } from 'embercom/lib/number-formatter';\nimport { addEventListener, runDisposables } from 'ember-lifeline';\nimport DidChangeAttrs from 'ember-did-change-attrs';\nimport ENV from 'embercom/config/environment';\nimport { hash } from 'rsvp';\nimport { map } from '@ember/object/computed';\n\n// This needs to match the transition duration of .main__content-outlet\nconst NAVBAR_COLLAPSING_TRANSITION_DURATION_MS = 300;\n\nexport default Component.extend(DidChangeAttrs, {\n  store: service(),\n  intercomEventService: service(),\n  notificationsService: service(),\n  'data-test-conversation-inbox-list-view': true,\n  inboxService: service(),\n  conversationsService: service(),\n  conversationCleaner: service(),\n  cardHeight: computed('appService.app', function() {\n    return this.app.canUseEmberConversationTitle ? 112 : 100;\n  }),\n\n  dropdownInboxes: computed('inboxService.defaultDropdownInboxes.[]', 'inbox', function() {\n    let inboxes = this.get('inboxService.defaultDropdownInboxes');\n    if (!inboxes.includes(this.inbox)) {\n      inboxes.push(this.inbox);\n    }\n    return [\n      {\n        items: inboxes.map(this._mapInboxToDropdownItem, this),\n        isMain: true,\n      },\n    ];\n  }),\n\n  somethingSelected: notEmpty('selectedConversations'),\n\n  allConversationsSelected: computed(\n    'inbox.conversations.[]',\n    'selectedConversations.[]',\n    function() {\n      let inboxConvos = this.get('inbox.conversations');\n      let selected = this.selectedConversations;\n\n      return inboxConvos.every(conversation => selected.includes(conversation));\n    },\n  ).readOnly(),\n\n  showCheckboxes: gt('selectedConversations.length', 0),\n\n  formattedSelectedCount: applyFunction(\n    truncatedNumberFormatter,\n    'selectedConversations.length',\n  ).readOnly(),\n\n  formattedTotalCount: applyFunction(truncatedNumberFormatter, 'inbox.count').readOnly(),\n  canBulkReassign: readOnly('app.currentAdmin.currentAppPermissions.can_reassign_conversations'),\n  showingOpened: equal('inbox.status', 'opened'),\n  isCurrentAdminInbox: equalToProperty('inbox.assignee_identifier', 'app.currentAdmin.id'),\n  headerForCurrentAdminInbox: 'You',\n\n  conversationListHeader: ternaryToProperty(\n    'isCurrentAdminInbox',\n    'headerForCurrentAdminInbox',\n    'inbox.name',\n  ),\n\n  width: 296,\n  isWide: gte('width', 296),\n  isVeryNarrow: lte('width', 260),\n  hideAssignCount: lte('width', 253),\n\n  showNoPrioritisedConversationsBanner: and(\n    'inbox.hasNoPrioritisedConversations',\n    'inbox.isSortedByPriorityNewest',\n    'inbox.fetchPageTask.isIdle',\n    'doBulkAction.isIdle',\n  ),\n\n  showNoSlaConversationsBanner: and(\n    'inbox.hasNoActiveTimeTarget',\n    'inbox.isSortingByNextBreachTime',\n    'inbox.fetchPageTask.isIdle',\n    'doBulkAction.isIdle',\n  ),\n\n  showNoSortableConversationsBanner: or(\n    'showNoPrioritisedConversationsBanner',\n    'showNoSlaConversationsBanner',\n  ),\n\n  noSortableConversationsBannerText: computed('showNoSortableConversationsBanner', function() {\n    return this.showNoPrioritisedConversationsBanner\n      ? `No conversations marked as priority.`\n      : `No conversations with active SLA targets.`;\n  }),\n\n  workloadManagementSettings: readOnly('getWorkloadManagementSettings.lastSuccessful.value'),\n  capacity: readOnly('workloadManagementSettings.capacity'),\n  teamsSettings: readOnly('workloadManagementSettings.teamsSettings'),\n\n  onlineAdmins: computed('app.admins.@each.avatarData.showAsActive', function() {\n    return this.app.admins.filter(admin => admin.avatarData.showAsActive).map(admin => admin.id);\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.set('selectedConversations', A());\n  },\n\n  destroy() {\n    this._super(...arguments);\n    runDisposables(this);\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    addEventListener(this, window, 'resize', () => this._setWidth());\n    schedule('afterRender', this, this._setWidth);\n\n    if (this.app.workloadManagementEnabled) {\n      this.getWorkloadManagementSettings.perform();\n    }\n  },\n\n  didChangeAttrsConfig: {\n    attrs: ['inbox', 'navbarCollapsed'],\n  },\n\n  didChangeAttrs(changes) {\n    this._super(...arguments);\n\n    if (changes.inbox) {\n      this.send('clearSelection');\n    }\n\n    if (changes.navbarCollapsed) {\n      this.setWidthAfterNavbarCollapsedTransition.perform();\n    }\n  },\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n\n    let inboxIdentifier = this.get('inbox.assignee_identifier');\n    if (inboxIdentifier === this.get('app.currentAdmin.id')) {\n      inboxIdentifier = 'me';\n    } else if (this.get('inbox.isTeamInbox')) {\n      inboxIdentifier = 'team';\n    } else if (!['mentions', 'unassigned', 'all'].includes(inboxIdentifier)) {\n      inboxIdentifier = 'teammate';\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: 'inbox',\n      place: 'inbox',\n      owner: 'respond',\n      context: inboxIdentifier,\n      inbox_admin_id: ['me', 'team', 'teammate'].includes(inboxIdentifier)\n        ? this.get('inbox.assignee_identifier')\n        : null,\n    });\n  },\n\n  statusTitle: ternary('inbox.isMentionsInbox', 'mention', 'conversation'),\n\n  statusDropdownTitle: computed('inbox.status', function() {\n    if (this.get('inbox.isMentionsInbox')) {\n      let status = this.get('inbox.status');\n      if (status !== 'unread') {\n        status = 'All';\n      }\n      return status.capitalize();\n    }\n\n    if (this.get('inbox.status') === 'closed') {\n      return 'Closed';\n    } else if (this.get('inbox.status') === 'snoozed') {\n      return 'Snoozed';\n    }\n    return 'Open';\n  }),\n\n  spinnerOrErrorTop: computed('inbox.conversations.length', 'cardHeight', function() {\n    return this.get('inbox.conversations.length') * this.cardHeight;\n  }),\n\n  spinnerOrErrorStyle: fmtStyle(\n    'position: absolute; left: 0; right: 0; top: %@px',\n    'spinnerOrErrorTop',\n  ),\n\n  conversationsWithKey: map('inbox.conversationList.items', ['inbox.id'], function(conversation) {\n    return EmberObject.create({\n      key: `${this.inbox.id}-${conversation.id}`,\n      conversation,\n    });\n  }),\n\n  setWidthAfterNavbarCollapsedTransition: task(function*() {\n    yield timeout(NAVBAR_COLLAPSING_TRANSITION_DURATION_MS);\n    this._setWidth();\n  }),\n\n  doBulkAction: task(function*(selectedConversations, type, assignee) {\n    selectedConversations = selectedConversations.slice();\n    this.conversationCleaner.retainMulti(selectedConversations, 'bulk action perform');\n    let parts = this.addBulkActionParts(selectedConversations, type, assignee);\n    this.send('clearSelection');\n    try {\n      yield Conversation.bulkAction(this.app, selectedConversations, type, assignee);\n      parts.forEach(part => {\n        part._internalModel.adapterWillCommit();\n        part._internalModel.adapterDidCommit();\n      });\n      this.notifyBulkActionSuccessMessage(selectedConversations, type, assignee);\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('refreshInboxCounters');\n      if (type === 'close') {\n        this._bulkCloseAnalytics(selectedConversations);\n      }\n      this._bulkActionAnalytics(type, selectedConversations.length);\n    } catch (e) {\n      this.removeBulkActionParts(selectedConversations, parts);\n      this.notificationsService.notifyError(\n        'Something went wrong, sorry about that. Please try again',\n      );\n    } finally {\n      this.conversationCleaner.releaseMulti(selectedConversations, 'bulk action perform');\n    }\n  }),\n\n  _displayUndoCloseNotification(actionType, conversations, reopenConversationsTask) {\n    this.notificationsService.notifyConfirmationWithModelAndPartial(\n      {\n        actionType,\n        conversations,\n        reopenConversationsTask,\n      },\n      'apps/app/respond/inbox/partials/undo-close-conversations',\n      ENV.APP.default_notification_timeout,\n    );\n  },\n\n  _bulkCloseAnalytics(items) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'closed',\n      object: 'conversation',\n      context: 'from_bulk_close',\n      conversations_selected: items.length,\n    });\n  },\n\n  _bulkActionAnalytics(type, count) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'bulk_action_button',\n      context: type,\n      conversations_selected: count,\n    });\n  },\n\n  addBulkActionParts(conversations, type, assignee) {\n    let parts = [];\n    conversations.forEach(conversation => {\n      let part = this.conversationsService.addPart(conversation, type, [], null, assignee);\n      parts.push(part);\n    });\n    return parts;\n  },\n\n  removeBulkActionParts(conversations, parts) {\n    conversations.forEach(conversation => {\n      this.conversationsService.removePart(\n        conversation,\n        parts.findBy('conversation_id', conversation.get('id')),\n      );\n      conversation.rollbackAttributes();\n      this.inboxService.partRemovedFromConversation(conversation);\n    });\n  },\n\n  notifyBulkActionSuccessMessage(selectedConversations, type, assignee) {\n    let message = `${selectedConversations.length} ${pluralise(\n      'conversation',\n      selectedConversations.length,\n    )}`;\n    switch (type) {\n      case 'close':\n        return this._displayUndoCloseNotification(\n          'closed',\n          selectedConversations,\n          this.doBulkAction,\n        );\n      case 'open':\n        return this.notificationsService.notifyConfirmation(`${message} reopened`);\n      case 'assignment':\n        return this.notificationsService.notifyConfirmation(\n          `${message} assigned to ${assignee.get('display_as')}`,\n        );\n    }\n  },\n\n  getWorkloadManagementSettings: task(function*() {\n    return yield hash({\n      capacity: this.store\n        .findRecord('app-conversation-capacity-limit', this.app.id)\n        .then(model => model.capacityLimit),\n      teamsSettings: this.store.findAll('team-setting', {}).then(\n        teamsSettings =>\n          teamsSettings.reduce((settingsById, teamSettings) => ({\n            ...settingsById,\n            [teamSettings.teamId]: teamSettings,\n          })),\n        {},\n      ),\n    });\n  }),\n\n  _mapInboxToDropdownItem(inbox) {\n    return {\n      value: inbox.get('id'),\n      component: 'inbox/inbox-picker-element-component',\n      componentAttrs: {\n        inbox,\n        isSelected: this.get('inbox.id') === inbox.get('id'),\n        capacity: this.capacity,\n        teamsSettings: this.teamsSettings,\n        onlineAdmins: this.onlineAdmins,\n      },\n    };\n  },\n\n  _setWidth() {\n    this.set('width', $('.conversation__inbox__list-wrapper', this.element).width());\n  },\n\n  actions: {\n    nextPage() {\n      return this.get('inbox.fetchPageTask').perform();\n    },\n\n    changeStatus(status) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'viewed',\n        object: this.inbox,\n        context: `filtered_by_${status}`,\n      });\n      this.send('clearSelection');\n      this.inbox.setStatus(status);\n    },\n\n    selectConversation(conversation) {\n      this.conversationCleaner.retain(conversation, 'bulk action select');\n      this.selectedConversations.addObject(conversation);\n    },\n\n    deselectConversation(conversation) {\n      this.conversationCleaner.release(conversation, 'bulk action select');\n      this.selectedConversations.removeObject(conversation);\n    },\n\n    handleMultiSelect() {\n      let allConversationsSelected = this.allConversationsSelected;\n\n      if (allConversationsSelected) {\n        this.send('clearSelection');\n      } else {\n        this.conversationCleaner.retainMulti(this.inbox.conversations, 'bulk action multi select');\n        this.selectedConversations.addObjects(this.inbox.conversations);\n      }\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'bulk_action_multi_select',\n        context: allConversationsSelected ? 'deselect' : 'select',\n      });\n    },\n\n    clearSelection() {\n      this.conversationCleaner.releaseMulti(this.selectedConversations, 'bulk action clear');\n      this.selectedConversations.clear();\n    },\n\n    bulkAssign(assignee) {\n      this.doBulkAction.perform(this.selectedConversations, 'assignment', assignee);\n    },\n\n    bulkReopen() {\n      this.doBulkAction.perform(this.selectedConversations, 'open');\n    },\n\n    bulkClose() {\n      this.doBulkAction.perform(this.selectedConversations, 'close');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"nav-vertical__filter__input__wrapper\\\">\\n  <span class=\\\"nav-vertical__filter__input__icon\\\">\\n    {{ic-interface-icon \\\"search\\\"}}\\n  </span>\\n  {{#if objectFilter}}\\n    <a\\n      class=\\\"nav-vertical__filter__clear-text__icon\\\"\\n      {{action (mut objectFilter) \\\"\\\"}}\\n    >\\n      {{ic-interface-icon \\\"small-close\\\"}}\\n    </a>\\n  {{/if}}\\n  <Input\\n    @autocomplete=\\\"off\\\"\\n    class=\\\"f__text nav-vertical__filter__text__input u__mt__10 u__padl__30\\\"\\n    placeholder=\\\"Search…\\\"\\n    @value={{objectFilter}}\\n  />\\n</div>\\n<div class=\\\"u__mt__5\\\" style={{objectWrapperHeight}}>\\n  <VerticalCollection\\n    @items={{objectsToDisplay}}\\n    @estimateHeight={{objectHeight}}\\n    @initialRenderCount={{25}}\\n    @staticHeight={{true}}\\n    @containerSelector=\\\".js__respond-inbox-list\\\"\\n    @firstVisibleChanged={{action \\\"checkScroll\\\"}} as |inbox|\\n  >\\n    <Inbox::NavLinkComponent\\n      @selectTeamMemberInbox={{selectTeamMemberInbox}}\\n      @activeInbox={{activeInbox}}\\n      @hideZeroCounters={{false}}\\n      @inbox={{inbox}}\\n      @inVerticalNav={{true}}\\n      @teamSettings={{if @teamsSettings (get @teamsSettings inbox.id)}}\\n      @capacity={{@capacity}}\\n      @onlineAdmins={{@onlineAdmins}}\\n      @isInboxVisible={{@isInboxVisible}}\\n      @isManagingVisibility={{@isManagingVisibility}}\\n      @toggleVisibility={{fn @toggleVisibility inbox true}}\\n      @updateView={{@updateView}}\\n    />\\n  </VerticalCollection>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"nav-vertical__filter__input__wrapper\\\">\\n  <span class=\\\"nav-vertical__filter__input__icon\\\">\\n    {{ic-interface-icon \\\"search\\\"}}\\n  </span>\\n  {{#if objectFilter}}\\n    <a\\n      class=\\\"nav-vertical__filter__clear-text__icon\\\"\\n      {{action (mut objectFilter) \\\"\\\"}}\\n    >\\n      {{ic-interface-icon \\\"small-close\\\"}}\\n    </a>\\n  {{/if}}\\n  <Input\\n    @autocomplete=\\\"off\\\"\\n    class=\\\"f__text nav-vertical__filter__text__input u__mt__10 u__padl__30\\\"\\n    placeholder=\\\"Search…\\\"\\n    @value={{objectFilter}}\\n  />\\n</div>\\n<div class=\\\"u__mt__5\\\" style={{objectWrapperHeight}}>\\n  <VerticalCollection\\n    @items={{objectsToDisplay}}\\n    @estimateHeight={{objectHeight}}\\n    @initialRenderCount={{25}}\\n    @staticHeight={{true}}\\n    @containerSelector=\\\".js__respond-inbox-list\\\"\\n    @firstVisibleChanged={{action \\\"checkScroll\\\"}} as |inbox|\\n  >\\n    <Inbox::NavLinkComponent\\n      @selectTeamMemberInbox={{selectTeamMemberInbox}}\\n      @activeInbox={{activeInbox}}\\n      @hideZeroCounters={{false}}\\n      @inbox={{inbox}}\\n      @inVerticalNav={{true}}\\n      @teamSettings={{if @teamsSettings (get @teamsSettings inbox.id)}}\\n      @capacity={{@capacity}}\\n      @onlineAdmins={{@onlineAdmins}}\\n      @isInboxVisible={{@isInboxVisible}}\\n      @isManagingVisibility={{@isManagingVisibility}}\\n      @toggleVisibility={{fn @toggleVisibility inbox true}}\\n      @updateView={{@updateView}}\\n    />\\n  </VerticalCollection>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/inbox-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/inbox-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/no-jquery */\nimport { schedule } from '@ember/runloop';\nimport $ from 'jquery';\nimport DidChangeAttrs from 'ember-did-change-attrs';\nimport FilteredObjectList from 'embercom/components/filtered-object-list';\n\nconst INBOX_COMPONENT_HEIGHT = 33;\n\nexport default FilteredObjectList.extend(DidChangeAttrs, {\n  objectHeight: INBOX_COMPONENT_HEIGHT,\n  didChangeAttrsConfig: {\n    attrs: ['scrollPosition'],\n  },\n  didChangeAttrs(changes) {\n    this._super(...arguments);\n    if (changes.scrollPosition) {\n      this.set('objectFilter', '');\n      this.checkScroll();\n    }\n  },\n  checkScroll() {\n    let scrollPosition = this.scrollPosition;\n    if (scrollPosition >= 0) {\n      let offsetOfInboxList = $('.js__nav-vertical__all-inboxes')[0].offsetTop;\n      let $navViewport = $('.js__respond-inbox-list');\n      schedule('afterRender', () => {\n        $navViewport.scrollTop(scrollPosition + offsetOfInboxList);\n        this.set('scrollPosition', undefined);\n      });\n    }\n  },\n  actions: {\n    checkScroll() {\n      this.checkScroll();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<div style={{@style}}>\\n  <div class=\\\"u__relative conversation__inbox__list__spinner\\\">\\n    {{#if @hasLoadingError}}\\n      <div class=\\\"u__centered-text-block u__mt__10 u__mb__10\\\">\\n        {{ic-interface-icon \\\"error\\\"}} An error occurred while loading your conversations.\\n      </div>\\n      <div class=\\\"u__center-layout\\\">\\n        <IcButton @label=\\\"Try again\\\" @type=\\\"primary\\\" @onClick={{@action}} />\\n      </div>\\n    {{else if @isLoading}}\\n      <div class=\\\"u__center-item\\\">\\n        <IcLoadingIndicator @size=\\\"small\\\" />\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<div style={{@style}}>\\n  <div class=\\\"u__relative conversation__inbox__list__spinner\\\">\\n    {{#if @hasLoadingError}}\\n      <div class=\\\"u__centered-text-block u__mt__10 u__mb__10\\\">\\n        {{ic-interface-icon \\\"error\\\"}} An error occurred while loading your conversations.\\n      </div>\\n      <div class=\\\"u__center-layout\\\">\\n        <IcButton @label=\\\"Try again\\\" @type=\\\"primary\\\" @onClick={{@action}} />\\n      </div>\\n    {{else if @isLoading}}\\n      <div class=\\\"u__center-item\\\">\\n        <IcLoadingIndicator @size=\\\"small\\\" />\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/inbox-loading-indicator-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/inbox-loading-indicator-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasRatingsToShow}}\\n  <span\\n    class=\\\"inbox__inbox-of-love__icon {{preventClosingClass}}\\\"\\n  >\\n    {{ic-interface-icon \\\"relationship\\\" solo=true}}\\n  </span>\\n  {{#if isOpen}}\\n    {{#if (or shouldShowConfetti app.canSeeSnowfall)}}\\n      <ConfettiRain />\\n    {{/if}}\\n    <div class=\\\"overlay z__2 inbox__inbox-of-love__popover\\\">\\n      <a\\n        href=\\\"{{href-to \\\"apps.app.inbox.conversation\\\" rating.conversation_id}}\\\"\\n        class=\\\"inbox__inbox-of-love__link-to-conversation\\\"\\n      >\\n        <div class=\\\"inbox__inbox-of-love__ratings\\\">\\n          <div class=\\\"layout__box o__has-rows\\\">\\n            <div class=\\\"layout__box o__has-columns\\\">\\n              <div class=\\\"inbox__inbox-of-love__avatar\\\">\\n                <IcAvatarComponent @model={{rating.userWithAvatar}} @size=\\\"m\\\" />\\n              </div>\\n              <div class=\\\"inbox__inbox-of-love__rating-user-and-companies\\\">\\n                <div>\\n                  <span class=\\\"inbox__inbox-of-love__rating-user t__solo-link\\\">{{rating.user.display_as}}</span> rated you <div class=\\\"inbox__inbox-of-love__rating-emoji o__inline-small conversation-rating__rating-{{rating.rating_index}}\\\"></div>\\n                </div>\\n                <div\\n                  class=\\\"inline-flex max-w-full inbox__inbox-of-love__rating-company\\\"\\n                >\\n                  {{#if ratingUserHasCompany}}\\n                    {{ic-interface-icon 'company'}} {{rating.user.companies.firstObject.name}} •\\n                  {{/if}}\\n                  {{abbreviated-relative-time-ago-helper rating.updated_at}}\\n                </div>\\n              </div>\\n            </div>\\n            {{#if rating.remark}}\\n              <div\\n                class=\\\"t__left inbox__inbox-of-love__rating-remark u__padt__10\\\"\\n              >\\n                {{rating.remark}}\\n              </div>\\n            {{/if}}\\n          </div>\\n        </div>\\n      </a>\\n    </div>\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasRatingsToShow}}\\n  <span\\n    class=\\\"inbox__inbox-of-love__icon {{preventClosingClass}}\\\"\\n  >\\n    {{ic-interface-icon \\\"relationship\\\" solo=true}}\\n  </span>\\n  {{#if isOpen}}\\n    {{#if (or shouldShowConfetti app.canSeeSnowfall)}}\\n      <ConfettiRain />\\n    {{/if}}\\n    <div class=\\\"overlay z__2 inbox__inbox-of-love__popover\\\">\\n      <a\\n        href=\\\"{{href-to \\\"apps.app.inbox.conversation\\\" rating.conversation_id}}\\\"\\n        class=\\\"inbox__inbox-of-love__link-to-conversation\\\"\\n      >\\n        <div class=\\\"inbox__inbox-of-love__ratings\\\">\\n          <div class=\\\"layout__box o__has-rows\\\">\\n            <div class=\\\"layout__box o__has-columns\\\">\\n              <div class=\\\"inbox__inbox-of-love__avatar\\\">\\n                <IcAvatarComponent @model={{rating.userWithAvatar}} @size=\\\"m\\\" />\\n              </div>\\n              <div class=\\\"inbox__inbox-of-love__rating-user-and-companies\\\">\\n                <div>\\n                  <span class=\\\"inbox__inbox-of-love__rating-user t__solo-link\\\">{{rating.user.display_as}}</span> rated you <div class=\\\"inbox__inbox-of-love__rating-emoji o__inline-small conversation-rating__rating-{{rating.rating_index}}\\\"></div>\\n                </div>\\n                <div\\n                  class=\\\"inline-flex max-w-full inbox__inbox-of-love__rating-company\\\"\\n                >\\n                  {{#if ratingUserHasCompany}}\\n                    {{ic-interface-icon 'company'}} {{rating.user.companies.firstObject.name}} •\\n                  {{/if}}\\n                  {{abbreviated-relative-time-ago-helper rating.updated_at}}\\n                </div>\\n              </div>\\n            </div>\\n            {{#if rating.remark}}\\n              <div\\n                class=\\\"t__left inbox__inbox-of-love__rating-remark u__padt__10\\\"\\n              >\\n                {{rating.remark}}\\n              </div>\\n            {{/if}}\\n          </div>\\n        </div>\\n      </a>\\n    </div>\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/inbox-of-love.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/inbox-of-love.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { later } from '@ember/runloop';\nimport $ from 'jquery';\nimport { computed } from '@ember/object';\nimport { readOnly, notEmpty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\n// eslint-disable-next-line @intercom/intercom/no-legacy-dropdown\nimport ComponentDropdownToggler from 'embercom/components/mixins/component-dropdown-toggler';\nimport { task } from 'ember-concurrency';\nimport ajax from 'embercom/lib/ajax';\nimport ENV from 'embercom/config/environment';\n\nexport default Component.extend(ComponentDropdownToggler, {\n  intercomEventService: service(),\n  'data-test-inbox-of-love-component': true,\n  classNames: ['u__relative', 'u__right'],\n  classNameBindings: [\n    'hasRatingsToShow:inbox__inbox-of-love__opener',\n    'unseenLove:o__unseen-rating',\n  ],\n  preventClosingClass: 'no_toggle',\n  realTimeEventService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  store: service(),\n  hasRatingsToShow: notEmpty('ratings'),\n  unseenLove: readOnly('ratings.firstObject.unseen'),\n  ratingUserHasCompany: computed('rating', function() {\n    return (\n      this.rating &&\n      this.get('rating.user.companies') &&\n      this.get('rating.user.companies.length') > 0\n    );\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.set('ratings', []);\n    this.realTimeEventService.on('PositiveRatingAdded', this, '_handlePositiveRatingAdded');\n  },\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.loadRatingsTask.perform();\n  },\n\n  willDestroyElement() {\n    this.realTimeEventService.off('PositiveRatingAdded', this, '_handlePositiveRatingAdded');\n    this._super(...arguments);\n  },\n\n  _preventClosing(event) {\n    let $target = $(event.target, this.element);\n    let preventClosingClass = this.preventClosingClass;\n    if ($target.hasClass(preventClosingClass)) {\n      return true;\n    }\n    return $target.parents(`.${preventClosingClass}`).length > 0;\n  },\n\n  _handlePositiveRatingAdded(event) {\n    if (event.admin_id.toString() !== this.get('app.currentAdmin.id').toString()) {\n      return;\n    }\n    let store = this.store;\n    let payloadForStore = { 'conversation-ratings': [event] };\n    store.pushPayload(payloadForStore);\n    this.ratings.unshiftObject(store.peekRecord('conversation-rating', event.id));\n    this.set('shouldShowConfetti', true);\n  },\n\n  click(event) {\n    if (!this.isOpen) {\n      return;\n    }\n    let ratings = this.ratings;\n    this.set('rating', ratings.get('firstObject'));\n    ratings.pushObject(ratings.shiftObject());\n    later(this, this._afterOpeningInboxOfLove, ENV.APP._2000MS);\n  },\n\n  _afterOpeningInboxOfLove() {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'inbox_of_love',\n      action: 'clicked',\n    });\n\n    this.set('shouldShowConfetti', false);\n    let rating = this.rating;\n    if (rating && rating.get('unseen')) {\n      rating.markAsSeen(this.get('app.id'));\n    }\n  },\n\n  loadRatingsTask: task(function*() {\n    let params = {\n      app_id: this.get('app.id'),\n      admin_id: this.get('app.currentAdmin.id'),\n    };\n\n    let ratings;\n    try {\n      ratings = yield ajax({\n        url: '/ember/conversation_ratings/list_unseen_first.json',\n        type: 'GET',\n        data: params,\n      });\n    } catch (e) {\n      return;\n    }\n\n    let store = this.store;\n    store.pushPayload({ 'conversation-ratings': ratings });\n    ratings = ratings.map(conversationRating =>\n      store.peekRecord('conversation-rating', conversationRating.id),\n    );\n    this.setProperties({\n      ratings,\n      rating: ratings.get('firstObject'),\n      shouldShowConfetti: true,\n    });\n  }).restartable(),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"inbox__inbox-picker__item {{if componentAttrs.isSelected \\\"o__selected\\\"}}\\\"\\n  data-test-inbox-picker-item\\n>\\n  <Inbox::NavLinkComponent\\n    @inbox={{componentAttrs.inbox}}\\n    @productClass=\\\"o__respond\\\"\\n    @hideZeroCounters={{false}}\\n    @inDropdown={{true}}\\n    @teamSettings={{if\\n      componentAttrs.teamsSettings\\n      (get componentAttrs.teamsSettings componentAttrs.inbox.id)\\n    }}\\n    @capacity={{componentAttrs.capacity}}\\n    @onlineAdmins={{componentAttrs.onlineAdmins}}\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"inbox__inbox-picker__item {{if componentAttrs.isSelected \\\"o__selected\\\"}}\\\"\\n  data-test-inbox-picker-item\\n>\\n  <Inbox::NavLinkComponent\\n    @inbox={{componentAttrs.inbox}}\\n    @productClass=\\\"o__respond\\\"\\n    @hideZeroCounters={{false}}\\n    @inDropdown={{true}}\\n    @teamSettings={{if\\n      componentAttrs.teamsSettings\\n      (get componentAttrs.teamsSettings componentAttrs.inbox.id)\\n    }}\\n    @capacity={{componentAttrs.capacity}}\\n    @onlineAdmins={{componentAttrs.onlineAdmins}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/inbox-picker-element-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/inbox-picker-element-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{this.cancel}}\\n  @isOpen={{true}}\\n  @width=\\\"l\\\"\\n  @closeOnBlanketClick={{false}}\\n  data-test-inbox-view-create-modal\\n  @focusElement=\\\"body\\\" as |modal|\\n>\\n  <Paywall @featureKey=\\\"inbox_views\\\" as |paywall|>\\n    <paywall.Banner @content=\\\"Upgrade to create views\\\" />\\n\\n    <modal.header @title=\\\"Create view\\\" />\\n    <modal.body>\\n      <div class=\\\"flex flex-col gap-4\\\">\\n        <Form class=\\\"inbox__inbox-views__create-modal__form mb-8\\\" as |form|>\\n          <div class=\\\"flex flex-row items-center gap-4 mb-6\\\">\\n            <AvatarEmojiSelectorComponent\\n              @app={{@app}}\\n              @selectedEmoji={{this.avatarEmoji}}\\n              @selectAvatarEmoji={{this.selectAvatarEmoji}}\\n              data-test-emoji-selector\\n            />\\n            <Pulse::ExpandingInput\\n              @value={{this.name}}\\n              @onUpdate={{set this.name}}\\n              placeholder=\\\"Untitled view\\\"\\n              maxlength={{100}}\\n              class=\\\"min-w-24 max-w-128 font-medium placeholder-gray placeholder-opacity-75\\\"\\n              data-test-inbox-view-name-input\\n            />\\n          </div>\\n\\n          <form.Item @label=\\\"Conversation filters\\\" as |item|>\\n            <Inbox::InboxViews::PredicatesEditor\\n              @onUpdate={{this.predicatesChanged}}\\n              @predicateGroup={{this.predicateGroup}}\\n            />\\n          </form.Item>\\n        </Form>\\n        <Paragraph @styling='small'>This view will show in your sidebar. Other teammates will need to edit their sidebar to show it.</Paragraph>\\n      </div>\\n    </modal.body>\\n\\n    <modal.footer>\\n      <div>\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/en/articles/4323882-monitor-your-inboxes-with-custom-views\\\"\\n          @title=\\\"Learn more about views\\\"\\n          @type=\\\"article\\\"\\n        />\\n      </div>\\n\\n      <div class=\\\"ml-auto\\\">\\n        <IcButtonList @align=\\\"right\\\" as |list|>\\n          <list.button\\n            @label=\\\"Cancel\\\"\\n            @type=\\\"secondary\\\"\\n            {{on \\\"click\\\" this.cancel}}\\n          />\\n\\n          <paywall.Hover>\\n            <list.button\\n              @label=\\\"Save\\\"\\n              @type=\\\"primary\\\"\\n              @disabled={{or (not this.isValid) paywall.isActive}}\\n              {{on \\\"click\\\" (perform this.saveView)}}\\n              data-test-views-modal-create-button={{true}}\\n            />\\n          </paywall.Hover>\\n        </IcButtonList>\\n      </div>\\n    </modal.footer>\\n  </Paywall>\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{this.cancel}}\\n  @isOpen={{true}}\\n  @width=\\\"l\\\"\\n  @closeOnBlanketClick={{false}}\\n  data-test-inbox-view-create-modal\\n  @focusElement=\\\"body\\\" as |modal|\\n>\\n  <Paywall @featureKey=\\\"inbox_views\\\" as |paywall|>\\n    <paywall.Banner @content=\\\"Upgrade to create views\\\" />\\n\\n    <modal.header @title=\\\"Create view\\\" />\\n    <modal.body>\\n      <div class=\\\"flex flex-col gap-4\\\">\\n        <Form class=\\\"inbox__inbox-views__create-modal__form mb-8\\\" as |form|>\\n          <div class=\\\"flex flex-row items-center gap-4 mb-6\\\">\\n            <AvatarEmojiSelectorComponent\\n              @app={{@app}}\\n              @selectedEmoji={{this.avatarEmoji}}\\n              @selectAvatarEmoji={{this.selectAvatarEmoji}}\\n              data-test-emoji-selector\\n            />\\n            <Pulse::ExpandingInput\\n              @value={{this.name}}\\n              @onUpdate={{set this.name}}\\n              placeholder=\\\"Untitled view\\\"\\n              maxlength={{100}}\\n              class=\\\"min-w-24 max-w-128 font-medium placeholder-gray placeholder-opacity-75\\\"\\n              data-test-inbox-view-name-input\\n            />\\n          </div>\\n\\n          <form.Item @label=\\\"Conversation filters\\\" as |item|>\\n            <Inbox::InboxViews::PredicatesEditor\\n              @onUpdate={{this.predicatesChanged}}\\n              @predicateGroup={{this.predicateGroup}}\\n            />\\n          </form.Item>\\n        </Form>\\n        <Paragraph @styling='small'>This view will show in your sidebar. Other teammates will need to edit their sidebar to show it.</Paragraph>\\n      </div>\\n    </modal.body>\\n\\n    <modal.footer>\\n      <div>\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/en/articles/4323882-monitor-your-inboxes-with-custom-views\\\"\\n          @title=\\\"Learn more about views\\\"\\n          @type=\\\"article\\\"\\n        />\\n      </div>\\n\\n      <div class=\\\"ml-auto\\\">\\n        <IcButtonList @align=\\\"right\\\" as |list|>\\n          <list.button\\n            @label=\\\"Cancel\\\"\\n            @type=\\\"secondary\\\"\\n            {{on \\\"click\\\" this.cancel}}\\n          />\\n\\n          <paywall.Hover>\\n            <list.button\\n              @label=\\\"Save\\\"\\n              @type=\\\"primary\\\"\\n              @disabled={{or (not this.isValid) paywall.isActive}}\\n              {{on \\\"click\\\" (perform this.saveView)}}\\n              data-test-views-modal-create-button={{true}}\\n            />\\n          </paywall.Hover>\\n        </IcButtonList>\\n      </div>\\n    </modal.footer>\\n  </Paywall>\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/inbox/inbox-views/create-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/inbox-views/create-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport intermoji from '@intercom/intermoji';\nimport { AVAILABLE_EMOJI } from 'embercom/lib/available-emoji';\nimport shuffle from '@intercom/embercom-core/lib/shuffle';\n\nexport default class CreateModal extends Component {\n  @service store;\n  @service notificationsService;\n  @service intercomEventService;\n  @service inboxService;\n  @service appService;\n\n  @tracked name = '';\n  @tracked predicateGroup;\n  @tracked avatarEmoji = this._randomEmoji();\n\n  constructor() {\n    super(...arguments);\n    this.predicateGroup = this.store.createFragment('predicates/predicate-group');\n  }\n\n  get isValid() {\n    let group = this.predicateGroup;\n    return this.name.trim() !== '' && group.isValid && group.hasEditablePredicates;\n  }\n\n  @action predicatesChanged(predicates) {\n    this.predicateGroup.set('predicates', predicates.copy());\n  }\n\n  @action cancel() {\n    this.args.onClose({ success: false });\n  }\n\n  @action selectAvatarEmoji(emojiIdentifier) {\n    let unicodeEmoji = intermoji.unicodeFromIdentifier(emojiIdentifier);\n    let twemojiCompatibleEmoji = intermoji.getSupportedTwemoji(unicodeEmoji);\n    this.avatarEmoji = twemojiCompatibleEmoji;\n  }\n\n  @task({ restartable: true })\n  *saveView() {\n    if (\n      this.args.inboxViews.any(view => {\n        return (\n          view.name.localeCompare(this.name.trim(), undefined, { sensitivity: 'accent' }) === 0\n        );\n      })\n    ) {\n      this.notificationsService.notifyError('Name is already taken');\n      return;\n    }\n\n    let inboxView = this.store.createRecord('inbox-view', {\n      name: this.name,\n      predicateGroup: this.predicateGroup.copy(),\n      avatar_emoji: this.avatarEmoji,\n    });\n\n    try {\n      yield inboxView.save();\n      yield this.inboxService.loadInboxes(true);\n      this.appService.app.currentAdmin.reload();\n      this.notificationsService.notifyConfirmation(`${inboxView.name} was created`);\n      this.trackAnalyticsEvent(inboxView);\n      this.args.onClose({ success: true, inboxView });\n    } catch (error) {\n      console.error(error);\n      this.store.unloadRecord(inboxView);\n      this.notificationsService.notifyError('Failed to create view, please try again.');\n    }\n  }\n\n  trackAnalyticsEvent(view) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'created',\n      object: 'inbox_view',\n      models: [view],\n    });\n  }\n\n  _randomEmoji() {\n    return shuffle(AVAILABLE_EMOJI)[0];\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{@onClose}}\\n  @isOpen={{true}}\\n  @size=\\\"m\\\"\\n  data-test-inbox-view-delete-modal\\n  @focusElement=\\\"body\\\" as |modal|\\n>\\n  <modal.header @title={{concat \\\"Delete “\\\" @inboxView.name \\\"”\\\"}}/>\\n  <modal.body>\\n    Are you sure you want to delete this view?\\n  </modal.body>\\n\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Delete\\\"\\n      type=\\\"destructive\\\"\\n      action=(perform this.deleteView)\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=@onClose\\n    }}\\n  />\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{@onClose}}\\n  @isOpen={{true}}\\n  @size=\\\"m\\\"\\n  data-test-inbox-view-delete-modal\\n  @focusElement=\\\"body\\\" as |modal|\\n>\\n  <modal.header @title={{concat \\\"Delete “\\\" @inboxView.name \\\"”\\\"}}/>\\n  <modal.body>\\n    Are you sure you want to delete this view?\\n  </modal.body>\\n\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Delete\\\"\\n      type=\\\"destructive\\\"\\n      action=(perform this.deleteView)\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=@onClose\\n    }}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/inbox/inbox-views/delete-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/inbox-views/delete-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport { inject as service } from '@ember/service';\n\nexport default class DeleteModal extends Component {\n  @service notificationsService;\n  @service intercomEventService;\n  @service inboxService;\n\n  @task({ drop: true })\n  *deleteView() {\n    try {\n      let inboxView = this.args.inboxView;\n      yield inboxView.destroyRecord();\n      this.inboxService.loadInboxes(true);\n      this.notificationsService.notifyConfirmation(`${inboxView.name} was deleted`);\n      this.trackAnalyticsEvent(inboxView);\n      this.args.onClose({ success: true });\n    } catch (error) {\n      console.error(error);\n      this.notificationsService.notifyError('Delete request failed, please try again.');\n      this.args.onClose({ success: false });\n    }\n  }\n\n  trackAnalyticsEvent(view) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'deleted',\n      object: 'inbox_view',\n      models: [view],\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Paywall @featureKey=\\\"inbox_conversation_sla_rules\\\" as |paywall|>\\n  <Predicates::PredicatesEditor\\n    {{did-insert (set this.paywall paywall)}}\\n    @mode=\\\"inbox-views\\\"\\n    data-test-predicates-editor\\n    class={{concat\\n      \\\"users-and-companies__predicates-editor \\\"\\n      (if this.connectionSwitcherHovered \\\"o__connection-switcher-hovered\\\")\\n    }}\\n    @predicates={{@predicateGroup.predicates}}\\n    @attributeGroupList={{this.attributeGroupList}}\\n    @onUpdate={{@onUpdate}}\\n    as |predicatesEditor|\\n  >\\n    <div class=\\\"flex flex-row flex-wrap\\\">\\n      {{#each predicatesEditor.predicates as |predicate index|}}\\n        {{#if index}}\\n          <predicatesEditor.components.logicalSwitcher\\n            class=\\\"u__mb__5 u__mt__10 users-and-companies__predicates-editor__connection-switcher\\\"\\n            @mouseEnter={{set this.connectionSwitcherHovered true}}\\n            @mouseLeave={{set this.connectionSwitcherHovered false}}\\n            @items={{array (hash text='and' value='and') (hash text='or' value='or')}}\\n            as |switcher|\\n          >\\n            <div class=\\\"users-and-companies__predicates-editor__connection-switcher-label u__pointer-cursor {{if switcher.dropdownIsOpen \\\"o__active\\\"}}\\\">\\n              {{switcher.label}}\\n            </div>\\n          </predicatesEditor.components.logicalSwitcher>\\n        {{/if}}\\n\\n        {{#if predicate.canBeGrouped}}\\n          <predicatesEditor.components.filterGroupEditor\\n            @index={{index}}\\n            @predicate={{predicate}}\\n            class=\\\"u__mt__10\\\"\\n          />\\n        {{else}}\\n          <predicatesEditor.components.predicateEditor\\n            @index={{index}}\\n            @predicate={{predicate}}\\n            class=\\\"u__mt__10\\\"\\n          />\\n        {{/if}}\\n      {{/each}}\\n      <div class=\\\"flex flex-col justify-center attribute-picker__container\\\">\\n        <predicatesEditor.components.attributePickerOpener\\n          @filterPlaceholder=\\\"Search conversation data...\\\"\\n        />\\n      </div>\\n    </div>\\n  </Predicates::PredicatesEditor>\\n</Paywall>\\n\", {\"contents\":\"<Paywall @featureKey=\\\"inbox_conversation_sla_rules\\\" as |paywall|>\\n  <Predicates::PredicatesEditor\\n    {{did-insert (set this.paywall paywall)}}\\n    @mode=\\\"inbox-views\\\"\\n    data-test-predicates-editor\\n    class={{concat\\n      \\\"users-and-companies__predicates-editor \\\"\\n      (if this.connectionSwitcherHovered \\\"o__connection-switcher-hovered\\\")\\n    }}\\n    @predicates={{@predicateGroup.predicates}}\\n    @attributeGroupList={{this.attributeGroupList}}\\n    @onUpdate={{@onUpdate}}\\n    as |predicatesEditor|\\n  >\\n    <div class=\\\"flex flex-row flex-wrap\\\">\\n      {{#each predicatesEditor.predicates as |predicate index|}}\\n        {{#if index}}\\n          <predicatesEditor.components.logicalSwitcher\\n            class=\\\"u__mb__5 u__mt__10 users-and-companies__predicates-editor__connection-switcher\\\"\\n            @mouseEnter={{set this.connectionSwitcherHovered true}}\\n            @mouseLeave={{set this.connectionSwitcherHovered false}}\\n            @items={{array (hash text='and' value='and') (hash text='or' value='or')}}\\n            as |switcher|\\n          >\\n            <div class=\\\"users-and-companies__predicates-editor__connection-switcher-label u__pointer-cursor {{if switcher.dropdownIsOpen \\\"o__active\\\"}}\\\">\\n              {{switcher.label}}\\n            </div>\\n          </predicatesEditor.components.logicalSwitcher>\\n        {{/if}}\\n\\n        {{#if predicate.canBeGrouped}}\\n          <predicatesEditor.components.filterGroupEditor\\n            @index={{index}}\\n            @predicate={{predicate}}\\n            class=\\\"u__mt__10\\\"\\n          />\\n        {{else}}\\n          <predicatesEditor.components.predicateEditor\\n            @index={{index}}\\n            @predicate={{predicate}}\\n            class=\\\"u__mt__10\\\"\\n          />\\n        {{/if}}\\n      {{/each}}\\n      <div class=\\\"flex flex-col justify-center attribute-picker__container\\\">\\n        <predicatesEditor.components.attributePickerOpener\\n          @filterPlaceholder=\\\"Search conversation data...\\\"\\n        />\\n      </div>\\n    </div>\\n  </Predicates::PredicatesEditor>\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/inbox/inbox-views/predicates-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/inbox-views/predicates-editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport Predicate from 'predicates/models/predicate';\n\nexport default class PredicatesEditor extends Component {\n  @service appService;\n  @service attributeService;\n  @tracked predicates;\n  @tracked paywall;\n\n  get attributeGroupList() {\n    let attributes = this.attributeService.nonCustomConversationAttributes.map(attribute => {\n      if (attribute.identifier === 'conversation.next_breach_time' && this.paywall?.isActive) {\n        return {\n          ...attribute,\n          component: 'paywalls/select-item',\n          componentShouldReplaceItem: false,\n          paywallOpenUpgradeModal: this.paywall?.openUpgradeModal,\n          paywallAnalyticsEventData: this.paywall?.analyticsEventData,\n        };\n      } else {\n        return attribute;\n      }\n    });\n\n    if (this.appService.app.canUseConversationAttributeData) {\n      let attributesUsed = [];\n      for (let predicate of Predicate.walkPredicates(this.args.predicateGroup.predicates)) {\n        predicate.attributeIdentifier && attributesUsed.push(predicate.attributeIdentifier);\n      }\n\n      let usedArchivedConversationCustomAttributes = this.attributeService.archivedConversationCustomAttributes.filter(\n        attribute => attributesUsed.includes(attribute.identifier),\n      );\n\n      attributes = [\n        ...attributes,\n        ...this.attributeService.nonArchivedConversationCustomAttributes,\n        ...usedArchivedConversationCustomAttributes,\n      ];\n    }\n\n    return [\n      {\n        attributes,\n      },\n    ];\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{this.cancel}}\\n  @isOpen={{true}}\\n  @width=\\\"l\\\"\\n  @closeOnBlanketClick={{false}}\\n  class=\\\"inbox__inbox-views__update-modal\\\"\\n  data-test-inbox-view-update-modal\\n  @focusElement=\\\"body\\\" as |modal|\\n>\\n  <modal.header @title=\\\"Edit view\\\"/>\\n  <modal.body>\\n    <div class=\\\"flex flex-col gap-4\\\">\\n      <Form class=\\\"inbox__inbox-views__update-modal__form\\\" as |form|>\\n        <div class=\\\"flex flex-row items-center gap-4 mb-6\\\">\\n          <AvatarEmojiSelectorComponent\\n            @app={{@app}}\\n            @selectedEmoji={{this.avatarEmoji}}\\n            @selectAvatarEmoji={{this.selectAvatarEmoji}}\\n            data-test-emoji-selector\\n          />\\n          <Pulse::ExpandingInput\\n            @value={{this.name}}\\n            @onUpdate={{set this.name}}\\n            placeholder=\\\"Untitled view\\\"\\n            maxlength={{100}}\\n            class=\\\"min-w-24 max-w-128 font-medium placeholder-gray placeholder-opacity-75\\\"\\n            data-test-inbox-view-name-input\\n          />\\n        </div>\\n\\n        <form.Item @label=\\\"Conversation filters\\\" as |item|>\\n          <Inbox::InboxViews::PredicatesEditor\\n            @onUpdate={{this.predicatesChanged}}\\n            @predicateGroup={{this.predicateGroup}}\\n          />\\n        </form.Item>\\n      </Form>\\n      {{#if (gt @inboxView.other_admins_with_view_visible_count 0)}}\\n        <Paragraph\\n          @styling='small'\\n          data-test-inbox-view-admins-with-view-visible-count\\n        >\\n          {{this.otherTeammatesMessage}}\\n        </Paragraph>\\n      {{/if}}\\n    </div>\\n  </modal.body>\\n\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Save\\\"\\n      action=(perform this.saveView)\\n      disabled=(not this.isValid)\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=this.cancel\\n    }}\\n    @tertiaryButton={{hash\\n      label=\\\"Delete\\\"\\n      icon=\\\"trash\\\"\\n      action=(fn @deleteView @inboxView)\\n    }}\\n  />\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{this.cancel}}\\n  @isOpen={{true}}\\n  @width=\\\"l\\\"\\n  @closeOnBlanketClick={{false}}\\n  class=\\\"inbox__inbox-views__update-modal\\\"\\n  data-test-inbox-view-update-modal\\n  @focusElement=\\\"body\\\" as |modal|\\n>\\n  <modal.header @title=\\\"Edit view\\\"/>\\n  <modal.body>\\n    <div class=\\\"flex flex-col gap-4\\\">\\n      <Form class=\\\"inbox__inbox-views__update-modal__form\\\" as |form|>\\n        <div class=\\\"flex flex-row items-center gap-4 mb-6\\\">\\n          <AvatarEmojiSelectorComponent\\n            @app={{@app}}\\n            @selectedEmoji={{this.avatarEmoji}}\\n            @selectAvatarEmoji={{this.selectAvatarEmoji}}\\n            data-test-emoji-selector\\n          />\\n          <Pulse::ExpandingInput\\n            @value={{this.name}}\\n            @onUpdate={{set this.name}}\\n            placeholder=\\\"Untitled view\\\"\\n            maxlength={{100}}\\n            class=\\\"min-w-24 max-w-128 font-medium placeholder-gray placeholder-opacity-75\\\"\\n            data-test-inbox-view-name-input\\n          />\\n        </div>\\n\\n        <form.Item @label=\\\"Conversation filters\\\" as |item|>\\n          <Inbox::InboxViews::PredicatesEditor\\n            @onUpdate={{this.predicatesChanged}}\\n            @predicateGroup={{this.predicateGroup}}\\n          />\\n        </form.Item>\\n      </Form>\\n      {{#if (gt @inboxView.other_admins_with_view_visible_count 0)}}\\n        <Paragraph\\n          @styling='small'\\n          data-test-inbox-view-admins-with-view-visible-count\\n        >\\n          {{this.otherTeammatesMessage}}\\n        </Paragraph>\\n      {{/if}}\\n    </div>\\n  </modal.body>\\n\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Save\\\"\\n      action=(perform this.saveView)\\n      disabled=(not this.isValid)\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=this.cancel\\n    }}\\n    @tertiaryButton={{hash\\n      label=\\\"Delete\\\"\\n      icon=\\\"trash\\\"\\n      action=(fn @deleteView @inboxView)\\n    }}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/inbox/inbox-views/update-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/inbox-views/update-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { pluralize } from 'ember-inflector';\nimport intermoji from '@intercom/intermoji';\nimport { AVAILABLE_EMOJI } from 'embercom/lib/available-emoji';\nimport shuffle from '@intercom/embercom-core/lib/shuffle';\nimport Predicate from 'predicates/models/predicate';\n\nexport default class UpdateModal extends Component {\n  @service store;\n  @service notificationsService;\n  @service intercomEventService;\n  @service inboxService;\n\n  @tracked name = '';\n  @tracked predicateGroup;\n  @tracked avatarEmoji;\n\n  constructor() {\n    super(...arguments);\n    this.predicateGroup = this._normalizedPredicateGroup();\n    this.name = this.args.inboxView.name;\n    this.avatarEmoji = this.args.inboxView.avatar_emoji || this._randomEmoji();\n  }\n\n  get isValid() {\n    let group = this.predicateGroup;\n    return this.name.trim() !== '' && group.isValid && group.hasEditablePredicates;\n  }\n\n  get otherTeammatesMessage() {\n    let count = this.args.inboxView.other_admins_with_view_visible_count;\n    let teammate = pluralize(count, 'teammate', { withoutCount: true });\n    let has = pluralize(count, 'has', { withoutCount: true });\n    return `${count} other ${teammate} ${has} this view visible in their sidebar`;\n  }\n\n  @action predicatesChanged(predicates) {\n    this.predicateGroup.set('predicates', predicates.copy());\n  }\n\n  @action cancel() {\n    this.args.onClose({ success: false });\n  }\n\n  @action selectAvatarEmoji(emojiIdentifier) {\n    let unicodeEmoji = intermoji.unicodeFromIdentifier(emojiIdentifier);\n    let twemojiCompatibleEmoji = intermoji.getSupportedTwemoji(unicodeEmoji);\n    this.avatarEmoji = twemojiCompatibleEmoji;\n  }\n\n  @task({ restartable: true })\n  *saveView() {\n    if (\n      this.args.inboxViews.any(view => {\n        return (\n          view !== this.args.inboxView &&\n          view.name.localeCompare(this.name.trim(), undefined, { sensitivity: 'accent' }) === 0\n        );\n      })\n    ) {\n      this.notificationsService.notifyError('Name is already taken');\n      return;\n    }\n\n    let inboxView = this.args.inboxView;\n\n    inboxView.setProperties({\n      name: this.name,\n      predicateGroup: this.predicateGroup.copy(),\n      avatar_emoji: this.avatarEmoji,\n    });\n\n    try {\n      yield inboxView.save();\n      this.inboxService.inbox?.sync.perform();\n      this.inboxService.loadInboxes(true);\n      this.notificationsService.notifyConfirmation(`${inboxView.name} was updated`);\n      this.trackAnalyticsEvent(inboxView);\n      this.args.onClose({ success: true, inboxView });\n    } catch (error) {\n      console.error(error);\n      inboxView.rollbackAttributes();\n      this.notificationsService.notifyError('Failed to update view, please try again.');\n    }\n  }\n\n  trackAnalyticsEvent(view) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'updated',\n      object: 'inbox_view',\n      models: [view],\n    });\n  }\n\n  _randomEmoji() {\n    return shuffle(AVAILABLE_EMOJI)[0];\n  }\n\n  _normalizedPredicateGroup() {\n    let predicateGroup = this.args.inboxView.predicateGroup.copy();\n    for (let predicate of Predicate.walkPredicates(predicateGroup.predicates)) {\n      if (\n        predicate.attribute === 'conversation.team_assignee_id' &&\n        predicate.type === 'owner_id'\n      ) {\n        predicate.type = 'team_assignee_id';\n      } else if (\n        predicate.attribute === 'conversation.admin_assignee_id' &&\n        predicate.type === 'owner_id'\n      ) {\n        predicate.type = 'admin_assignee_id';\n      }\n    }\n\n    return predicateGroup;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns\\\">\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Send</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">{{modifierKey}}</span> <span class=\\\"shortcut\\\">Enter</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">\\n        Send and close\\n      </span>\\n      <span class=\\\"keyboard-shortcuts-value\\\">\\n        <span class=\\\"shortcut\\\">{{modifierKey}}</span> <span class=\\\"shortcut\\\">Shift</span> <span class=\\\"shortcut\\\">Enter</span>\\n      </span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">\\n        Send and snooze <br>\\n        (until tomorrow)\\n      </span>\\n      <span class=\\\"keyboard-shortcuts-value\\\">\\n        <span class=\\\"shortcut\\\">{{modifierKey}}</span> <span class=\\\"shortcut\\\">{{altKey}}</span> <span class=\\\"shortcut\\\">Enter</span>\\n      </span>\\n    </div>\\n  </div>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Show shortcuts</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">?</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Close window</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">Esc</span></span>\\n    </div>\\n  </div>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Bold</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">{{modifierKey}}</span> <span class=\\\"shortcut\\\">b</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Italic</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">{{modifierKey}}</span> <span class=\\\"shortcut\\\">i</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Link</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">{{modifierKey}}</span> <span class=\\\"shortcut\\\">k</span></span>\\n    </div>\\n  </div>\\n</div>\\n<hr class=\\\"sp__hr my-2\\\">\\n<div class=\\\"flex items-start\\\">\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <h3 class=\\\"t__h3\\\">Additional shortcuts</h3>\\n  </div>\\n  <IcOnOffToggle\\n    @isOn={{adminAdvancedShortcutsEnabled}}\\n    @onClick={{action \\\"toggleAdvancedShortcuts\\\"}}\\n    data-test-advanced-shortcut-switch\\n  />\\n</div>\\n<hr class=\\\"sp__hr my-2\\\">\\n<div class=\\\"h-5\\\"></div>\\n<div class=\\\"layout__box o__has-columns test__advanced-shortcut {{unless admin.advanced_shortcuts_enabled 'disabled-advanced-shortcut test__advanced-shortcuts-disabled'}}\\\">\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Go to your inbox</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">g</span> <span class=\\\"t__light-text\\\">then</span> <span class=\\\"shortcut\\\">i</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Go to all conversations</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">g</span> <span class=\\\"t__light-text\\\">then</span> <span class=\\\"shortcut\\\">a</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Go to the user list</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">g</span> <span class=\\\"t__light-text\\\">then</span> <span class=\\\"shortcut\\\">u</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Next / Previous</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">j</span> <span class=\\\"t__light-text\\\">/</span> <span class=\\\"shortcut\\\">k</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Select current</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">x</span></span>\\n    </div>\\n  </div>\\n\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Tag this user</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">t</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Tag last reply</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">Shift</span> <span class=\\\"shortcut\\\">t</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Assign conversation</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">a</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Change priority</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">p</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Close conversation(s)</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">y</span> <span class=\\\"t__light-text\\\">or</span> <span class=\\\"shortcut\\\">e</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">\\n        Snooze conversation <br>\\n        (until tomorrow)\\n      </span>\\n      <span class=\\\"keyboard-shortcuts-value\\\">\\n        <span class=\\\"shortcut\\\">z</span>\\n      </span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">\\n        Reopen conversation\\n      </span>\\n      <span class=\\\"keyboard-shortcuts-value\\\">\\n        <span class=\\\"shortcut\\\">o</span>\\n      </span>\\n    </div>\\n  </div>\\n\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Search</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">/</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Write a reply</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">r</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Add a note</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">n</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Insert saved reply</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">s</span></span>\\n    </div>\\n  </div>\\n</div>\\n{{#if app.isIntercom}}\\n  <hr class=\\\"sp__hr my-2\\\">\\n  <div class=\\\"flex items-start\\\">\\n    <div class=\\\"flex-auto min-w-0\\\">\\n      <h3 class=\\\"t__h3\\\">Customer Support Shortcuts</h3>\\n    </div>\\n    <IcOnOffToggle\\n      data-test-cs-shortcut-switch\\n      @isOn={{adminHasEnabledCSComponent}}\\n      @onClick={{action \\\"toggleCSComponent\\\"}}\\n    />\\n  </div>\\n  <hr class=\\\"sp__hr my-2\\\">\\n  <div class=\\\"h-5\\\"></div>\\n  <div class=\\\"layout__box o__has-columns {{unless adminHasEnabledCSComponent 'disabled-advanced-shortcut'}}\\\" data-test-cs-shortcut-container>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n        <span class=\\\"keyboard-shortcuts-key\\\">Pull a conversation</span>\\n        <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">{{altKey}}</span> <span class=\\\"shortcut\\\">a</span></span>\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n        <span class=\\\"keyboard-shortcuts-key\\\">Impersonate App</span>\\n        <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">Shift</span> <span class=\\\"shortcut\\\">i</span></span>\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns\\\">\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Send</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">{{modifierKey}}</span> <span class=\\\"shortcut\\\">Enter</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">\\n        Send and close\\n      </span>\\n      <span class=\\\"keyboard-shortcuts-value\\\">\\n        <span class=\\\"shortcut\\\">{{modifierKey}}</span> <span class=\\\"shortcut\\\">Shift</span> <span class=\\\"shortcut\\\">Enter</span>\\n      </span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">\\n        Send and snooze <br>\\n        (until tomorrow)\\n      </span>\\n      <span class=\\\"keyboard-shortcuts-value\\\">\\n        <span class=\\\"shortcut\\\">{{modifierKey}}</span> <span class=\\\"shortcut\\\">{{altKey}}</span> <span class=\\\"shortcut\\\">Enter</span>\\n      </span>\\n    </div>\\n  </div>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Show shortcuts</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">?</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Close window</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">Esc</span></span>\\n    </div>\\n  </div>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Bold</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">{{modifierKey}}</span> <span class=\\\"shortcut\\\">b</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Italic</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">{{modifierKey}}</span> <span class=\\\"shortcut\\\">i</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Link</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">{{modifierKey}}</span> <span class=\\\"shortcut\\\">k</span></span>\\n    </div>\\n  </div>\\n</div>\\n<hr class=\\\"sp__hr my-2\\\">\\n<div class=\\\"flex items-start\\\">\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <h3 class=\\\"t__h3\\\">Additional shortcuts</h3>\\n  </div>\\n  <IcOnOffToggle\\n    @isOn={{adminAdvancedShortcutsEnabled}}\\n    @onClick={{action \\\"toggleAdvancedShortcuts\\\"}}\\n    data-test-advanced-shortcut-switch\\n  />\\n</div>\\n<hr class=\\\"sp__hr my-2\\\">\\n<div class=\\\"h-5\\\"></div>\\n<div class=\\\"layout__box o__has-columns test__advanced-shortcut {{unless admin.advanced_shortcuts_enabled 'disabled-advanced-shortcut test__advanced-shortcuts-disabled'}}\\\">\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Go to your inbox</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">g</span> <span class=\\\"t__light-text\\\">then</span> <span class=\\\"shortcut\\\">i</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Go to all conversations</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">g</span> <span class=\\\"t__light-text\\\">then</span> <span class=\\\"shortcut\\\">a</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Go to the user list</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">g</span> <span class=\\\"t__light-text\\\">then</span> <span class=\\\"shortcut\\\">u</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Next / Previous</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">j</span> <span class=\\\"t__light-text\\\">/</span> <span class=\\\"shortcut\\\">k</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Select current</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">x</span></span>\\n    </div>\\n  </div>\\n\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Tag this user</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">t</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Tag last reply</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">Shift</span> <span class=\\\"shortcut\\\">t</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Assign conversation</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">a</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Change priority</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">p</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Close conversation(s)</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">y</span> <span class=\\\"t__light-text\\\">or</span> <span class=\\\"shortcut\\\">e</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">\\n        Snooze conversation <br>\\n        (until tomorrow)\\n      </span>\\n      <span class=\\\"keyboard-shortcuts-value\\\">\\n        <span class=\\\"shortcut\\\">z</span>\\n      </span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">\\n        Reopen conversation\\n      </span>\\n      <span class=\\\"keyboard-shortcuts-value\\\">\\n        <span class=\\\"shortcut\\\">o</span>\\n      </span>\\n    </div>\\n  </div>\\n\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Search</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">/</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Write a reply</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">r</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Add a note</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">n</span></span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n      <span class=\\\"keyboard-shortcuts-key\\\">Insert saved reply</span>\\n      <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">s</span></span>\\n    </div>\\n  </div>\\n</div>\\n{{#if app.isIntercom}}\\n  <hr class=\\\"sp__hr my-2\\\">\\n  <div class=\\\"flex items-start\\\">\\n    <div class=\\\"flex-auto min-w-0\\\">\\n      <h3 class=\\\"t__h3\\\">Customer Support Shortcuts</h3>\\n    </div>\\n    <IcOnOffToggle\\n      data-test-cs-shortcut-switch\\n      @isOn={{adminHasEnabledCSComponent}}\\n      @onClick={{action \\\"toggleCSComponent\\\"}}\\n    />\\n  </div>\\n  <hr class=\\\"sp__hr my-2\\\">\\n  <div class=\\\"h-5\\\"></div>\\n  <div class=\\\"layout__box o__has-columns {{unless adminHasEnabledCSComponent 'disabled-advanced-shortcut'}}\\\" data-test-cs-shortcut-container>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n        <span class=\\\"keyboard-shortcuts-key\\\">Pull a conversation</span>\\n        <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">{{altKey}}</span> <span class=\\\"shortcut\\\">a</span></span>\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\">\\n        <span class=\\\"keyboard-shortcuts-key\\\">Impersonate App</span>\\n        <span class=\\\"keyboard-shortcuts-value\\\"><span class=\\\"shortcut\\\">Shift</span> <span class=\\\"shortcut\\\">i</span></span>\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/keyboard-shortcut-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/keyboard-shortcut-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport { bool } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport platform from 'embercom/lib/browser-platform';\n\nexport default Component.extend({\n  notificationsService: service(),\n  shortcuts: service(),\n\n  modifierKey: computed(function() {\n    return platform.isMac ? '⌘' : 'ctrl';\n  }),\n\n  altKey: computed(function() {\n    return platform.isMac ? 'Option' : 'Alt';\n  }),\n\n  adminAdvancedShortcutsEnabled: bool('admin.advanced_shortcuts_enabled'),\n  adminHasEnabledCSComponent: bool('admin.hasEnabledCSComponent'),\n  actions: {\n    toggleAdvancedShortcuts() {\n      this.toggleProperty('admin.advanced_shortcuts_enabled');\n      this.shortcuts.setState('advancedEnabled', this.get('admin.advanced_shortcuts_enabled'));\n      this.admin.save().catch(() => {\n        this.notificationsService.notifyError(\n          'There was a problem saving your preference for keyboard shortcuts, please try again later.',\n        );\n      });\n    },\n    toggleCSComponent() {\n      this.toggleProperty('admin.hasEnabledCSComponent');\n      this.shortcuts.setState('csEnabled', this.get('admin.hasEnabledCSComponent'));\n      this.admin.save().catch(() => {\n        this.notificationsService.notifyError(\n          'There was a problem saving your preference for keyboard shortcuts, please try again later.',\n        );\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{#if (and (has-feature \\\"restrict-conversation-access\\\") @conversation.redacted)}}\\n  <div\\n    data-test-timestamp\\n    class=\\\"conversation__list__timestamp t__smaller ml-5 fixed right-0 mr-4 mt-4\\\"\\n    >\\n    {{#if (and @inbox.isSortingByWaitTime @conversation.isNotWaiting)}}\\n      <span data-test-no-timestamp class=\\\"u__display-inline-block\\\">\\n        —\\n      </span>\\n    {{else}}\\n      <Common::RelativeDatetime @datetime={{this.datetime}} />\\n    {{/if}}\\n  </div>\\n  <div class=\\\"text-gray h-full flex justify-center items-center\\\">\\n    <Conversation::Restricted class=\\\"w-40\\\" />\\n  </div>\\n{{else}}\\n  <div class=\\\"conversation__card__header {{if this.app.canUseEmberConversationTitle 'conversation__card__header__with__title'}} {{ if (and this.app.canUseEmberConversationTitle (not @conversation.title)) 'conversation__card__header__with__title-empty-title'}}\\\" {{on 'mouseenter' (set this.isHovered true)}} {{on 'mouseleave' (set this.isHovered false)}} data-test-card-header\\n  >\\n    <div\\n      class=\\\"flex items-center inbox__conversation-list-item__wrapper {{if this.app.canUseEmberConversationTitle 'inbox__conversation-list-item-with-title__wrapper'}}\\\"\\n      data-test-conversation-list-item-wrapper\\n    >\\n      <div\\n        class=\\\"conversation__card__header__avatar {{if this.app.canUseEmberConversationTitle 'conversation__card__header__avatar__with__title'}} o__checkbox-wrapper layout__box o__centers-all js__conversation__list__item__select {{unless this.shouldHaveVisibleCheckbox \\\"u__hidden\\\"}}\\\"\\n        {{on 'mousedown' @checkboxDown}}\\n        {{on 'mouseup' @checkboxUp}}\\n        {{on 'click' @checkboxClick}}\\n      >\\n        <input type=\\\"checkbox\\\" checked={{@isSelected}} />\\n      </div>\\n      <div\\n        class=\\\"conversation__card__header__avatar {{if this.app.canUseEmberConversationTitle 'conversation__card__header__avatar__with__title'}} {{if this.shouldHaveVisibleCheckbox \\\"u__hidden\\\"}}\\\"\\n      >\\n        <IcAvatarComponent\\n          @model={{@conversation.main_participant}}\\n          @size=\\\"m\\\"\\n          @canAnimate={{true}}\\n        />\\n      </div>\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <div class=\\\"flex items-start items-center\\\">\\n          <div class=\\\"flex-auto min-w-0\\\">\\n            <h3\\n              data-test-main-participant-name\\n              class=\\\"conversation__list__item__main-participant__name u__one-truncated-line {{if @conversation.main_participant.displayAsDidUpdate \\\"a__fade-in\\\"}} {{if this.isUnread \\\"o__unread\\\"}} o__new-convo-list\\\"\\n            >\\n              {{#if @conversation.fromDeletedUser}}\\n                Deleted user\\n              {{else if @conversation.isGroupConversation}}\\n                {{this.mainParticipantShortenedName}}{{this.formattedOthers}}\\n              {{else}}\\n                {{@conversation.main_participant.displayAs}}\\n              {{/if}}\\n            </h3>\\n            {{#if this.shouldShowCompany}}\\n              <div class=\\\"u__one-truncated-line\\\">\\n                <span class=\\\"conversation__card__header__company-name\\\">\\n                  {{@conversation.main_participant.mostRecentCompany.name}}\\n                </span>\\n              </div>\\n            {{/if}}\\n          </div>\\n\\n\\n          {{#if (and (not @conversation.fromDeletedUser) this.isHovered)}}\\n            <div data-test-quick-actions class=\\\"u__ml__5\\\">\\n              <IcTooltip as |t|>\\n                <t.opener>\\n                  <IcButton\\n                    @icon={{if @conversation.isNotClosed \\\"check\\\" \\\"inbox\\\"}}\\n                    @showsIconOnly={{true}}\\n                    @subtle={{true}}\\n                    @type=\\\"secondary\\\"\\n                    class=\\\"inbox__conversation-list-item__close-button\\\"\\n                    {{on \\\"click\\\" this.toggleConversationState}}\\n                    data-test-close-conversation\\n                  />\\n                </t.opener>\\n                <t.content>\\n                  {{~#if @conversation.isNotClosed}}\\n                    Close conversation\\n                  {{else}}\\n                    Reopen conversation\\n                  {{/if}}\\n                </t.content>\\n              </IcTooltip>\\n            </div>\\n          {{else}}\\n            {{#if this.app.canUseEmberConversationTitle}}\\n              <div class=\\\"flex flex-row\\\">\\n                {{#if this.isUnread}}\\n                  <span\\n                    data-test-conversation-unread-badge\\n                    class=\\\"conversation__list__badge-wrapper o__secondary u__center-layout\\\"\\n                    {{tooltip content=\\\"Unread\\\"}}\\n                  >\\n                    <span class=\\\"conversation__list__badge o__unread {{if this.app.canUseEmberConversationTitle 'o__reduce-mt'}}\\\"></span>\\n                  </span>\\n                {{/if}}\\n                <div\\n                  data-test-timestamp\\n                  class=\\\"\\n                    conversation__list__timestamp\\n                    t__smaller\\n                    {{unless this.isUnread \\\"u__ml__5\\\"}}\\n                    {{if (and this.app.canUseEmberConversationTitle this.isUnread) 'o__text-color-blue'}}\\\"\\n                >\\n                  {{#if (and @inbox.isSortingByWaitTime @conversation.isNotWaiting)}}\\n                    <span data-test-no-timestamp class=\\\"u__display-inline-block\\\">\\n                      —\\n                    </span>\\n                  {{else}}\\n                    <Common::RelativeDatetime @datetime={{this.datetime}} />\\n                  {{/if}}\\n                </div>\\n              </div>\\n            {{else}}\\n              <div data-test-timestamp class=\\\"conversation__list__timestamp t__smaller {{unless this.isUnread \\\"u__ml__5\\\"}}\\\">\\n                {{#if (and @inbox.isSortingByWaitTime @conversation.isNotWaiting)}}\\n                  <span data-test-no-timestamp class=\\\"u__display-inline-block\\\">\\n                    —\\n                  </span>\\n                {{else}}\\n                  <Common::RelativeDatetime @datetime={{this.datetime}} />\\n                {{/if}}\\n              </div>\\n            {{/if}}\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n    <div class=\\\"u__relative\\\">\\n      <Conversation::SummaryComponent\\n        @app={{this.app}}\\n        @conversation={{@conversation}}\\n        @admin={{@admin}}\\n        @isMentionsInbox={{@inbox.isMentionsInbox}}\\n        @isAllInbox={{@inbox.isAllInbox}}\\n        @isUnread={{this.isUnread}}\\n      />\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{#if (and (has-feature \\\"restrict-conversation-access\\\") @conversation.redacted)}}\\n  <div\\n    data-test-timestamp\\n    class=\\\"conversation__list__timestamp t__smaller ml-5 fixed right-0 mr-4 mt-4\\\"\\n    >\\n    {{#if (and @inbox.isSortingByWaitTime @conversation.isNotWaiting)}}\\n      <span data-test-no-timestamp class=\\\"u__display-inline-block\\\">\\n        —\\n      </span>\\n    {{else}}\\n      <Common::RelativeDatetime @datetime={{this.datetime}} />\\n    {{/if}}\\n  </div>\\n  <div class=\\\"text-gray h-full flex justify-center items-center\\\">\\n    <Conversation::Restricted class=\\\"w-40\\\" />\\n  </div>\\n{{else}}\\n  <div class=\\\"conversation__card__header {{if this.app.canUseEmberConversationTitle 'conversation__card__header__with__title'}} {{ if (and this.app.canUseEmberConversationTitle (not @conversation.title)) 'conversation__card__header__with__title-empty-title'}}\\\" {{on 'mouseenter' (set this.isHovered true)}} {{on 'mouseleave' (set this.isHovered false)}} data-test-card-header\\n  >\\n    <div\\n      class=\\\"flex items-center inbox__conversation-list-item__wrapper {{if this.app.canUseEmberConversationTitle 'inbox__conversation-list-item-with-title__wrapper'}}\\\"\\n      data-test-conversation-list-item-wrapper\\n    >\\n      <div\\n        class=\\\"conversation__card__header__avatar {{if this.app.canUseEmberConversationTitle 'conversation__card__header__avatar__with__title'}} o__checkbox-wrapper layout__box o__centers-all js__conversation__list__item__select {{unless this.shouldHaveVisibleCheckbox \\\"u__hidden\\\"}}\\\"\\n        {{on 'mousedown' @checkboxDown}}\\n        {{on 'mouseup' @checkboxUp}}\\n        {{on 'click' @checkboxClick}}\\n      >\\n        <input type=\\\"checkbox\\\" checked={{@isSelected}} />\\n      </div>\\n      <div\\n        class=\\\"conversation__card__header__avatar {{if this.app.canUseEmberConversationTitle 'conversation__card__header__avatar__with__title'}} {{if this.shouldHaveVisibleCheckbox \\\"u__hidden\\\"}}\\\"\\n      >\\n        <IcAvatarComponent\\n          @model={{@conversation.main_participant}}\\n          @size=\\\"m\\\"\\n          @canAnimate={{true}}\\n        />\\n      </div>\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <div class=\\\"flex items-start items-center\\\">\\n          <div class=\\\"flex-auto min-w-0\\\">\\n            <h3\\n              data-test-main-participant-name\\n              class=\\\"conversation__list__item__main-participant__name u__one-truncated-line {{if @conversation.main_participant.displayAsDidUpdate \\\"a__fade-in\\\"}} {{if this.isUnread \\\"o__unread\\\"}} o__new-convo-list\\\"\\n            >\\n              {{#if @conversation.fromDeletedUser}}\\n                Deleted user\\n              {{else if @conversation.isGroupConversation}}\\n                {{this.mainParticipantShortenedName}}{{this.formattedOthers}}\\n              {{else}}\\n                {{@conversation.main_participant.displayAs}}\\n              {{/if}}\\n            </h3>\\n            {{#if this.shouldShowCompany}}\\n              <div class=\\\"u__one-truncated-line\\\">\\n                <span class=\\\"conversation__card__header__company-name\\\">\\n                  {{@conversation.main_participant.mostRecentCompany.name}}\\n                </span>\\n              </div>\\n            {{/if}}\\n          </div>\\n\\n\\n          {{#if (and (not @conversation.fromDeletedUser) this.isHovered)}}\\n            <div data-test-quick-actions class=\\\"u__ml__5\\\">\\n              <IcTooltip as |t|>\\n                <t.opener>\\n                  <IcButton\\n                    @icon={{if @conversation.isNotClosed \\\"check\\\" \\\"inbox\\\"}}\\n                    @showsIconOnly={{true}}\\n                    @subtle={{true}}\\n                    @type=\\\"secondary\\\"\\n                    class=\\\"inbox__conversation-list-item__close-button\\\"\\n                    {{on \\\"click\\\" this.toggleConversationState}}\\n                    data-test-close-conversation\\n                  />\\n                </t.opener>\\n                <t.content>\\n                  {{~#if @conversation.isNotClosed}}\\n                    Close conversation\\n                  {{else}}\\n                    Reopen conversation\\n                  {{/if}}\\n                </t.content>\\n              </IcTooltip>\\n            </div>\\n          {{else}}\\n            {{#if this.app.canUseEmberConversationTitle}}\\n              <div class=\\\"flex flex-row\\\">\\n                {{#if this.isUnread}}\\n                  <span\\n                    data-test-conversation-unread-badge\\n                    class=\\\"conversation__list__badge-wrapper o__secondary u__center-layout\\\"\\n                    {{tooltip content=\\\"Unread\\\"}}\\n                  >\\n                    <span class=\\\"conversation__list__badge o__unread {{if this.app.canUseEmberConversationTitle 'o__reduce-mt'}}\\\"></span>\\n                  </span>\\n                {{/if}}\\n                <div\\n                  data-test-timestamp\\n                  class=\\\"\\n                    conversation__list__timestamp\\n                    t__smaller\\n                    {{unless this.isUnread \\\"u__ml__5\\\"}}\\n                    {{if (and this.app.canUseEmberConversationTitle this.isUnread) 'o__text-color-blue'}}\\\"\\n                >\\n                  {{#if (and @inbox.isSortingByWaitTime @conversation.isNotWaiting)}}\\n                    <span data-test-no-timestamp class=\\\"u__display-inline-block\\\">\\n                      —\\n                    </span>\\n                  {{else}}\\n                    <Common::RelativeDatetime @datetime={{this.datetime}} />\\n                  {{/if}}\\n                </div>\\n              </div>\\n            {{else}}\\n              <div data-test-timestamp class=\\\"conversation__list__timestamp t__smaller {{unless this.isUnread \\\"u__ml__5\\\"}}\\\">\\n                {{#if (and @inbox.isSortingByWaitTime @conversation.isNotWaiting)}}\\n                  <span data-test-no-timestamp class=\\\"u__display-inline-block\\\">\\n                    —\\n                  </span>\\n                {{else}}\\n                  <Common::RelativeDatetime @datetime={{this.datetime}} />\\n                {{/if}}\\n              </div>\\n            {{/if}}\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n    <div class=\\\"u__relative\\\">\\n      <Conversation::SummaryComponent\\n        @app={{this.app}}\\n        @conversation={{@conversation}}\\n        @admin={{@admin}}\\n        @isMentionsInbox={{@inbox.isMentionsInbox}}\\n        @isAllInbox={{@inbox.isAllInbox}}\\n        @isUnread={{this.isUnread}}\\n      />\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/list-item-card-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/list-item-card-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport pluralise from 'embercom/lib/inflector';\n\nexport default class ListItemCardComponent extends Component {\n  @service intercomEventService;\n  @service conversationsService;\n  @service appService;\n  @tracked isHovered = false;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get shouldShowCompany() {\n    return (\n      this.app.companiesActive && this.args.conversation.main_participant?.hasDisplayableCompany\n    );\n  }\n\n  get formattedOthers() {\n    let count = this.args.conversation.other_participant_count;\n    return ` and ${count} ${pluralise('other', count)}`;\n  }\n\n  get mainParticipantShortenedName() {\n    return this.args.conversation.main_participant?.display_as.split(/[ @]/)[0];\n  }\n\n  get isMentionsInbox() {\n    return this.args.inbox?.isMentionsInbox;\n  }\n\n  get shouldHaveVisibleCheckbox() {\n    return (\n      (this.isHovered && !this.isMentionsInbox && !this.args.isInSingleView) ||\n      this.args.isSelected ||\n      this.args.showCheckboxes\n    );\n  }\n\n  get datetime() {\n    if (this.args.inbox?.isSortingByWaitTime) {\n      return this.args.conversation.computedWaitingSince;\n    }\n    if (this.isMentionsInbox) {\n      return this.args.conversation.last_part_where_current_admin_is_mentioned?.created_at;\n    }\n    return this.args.conversation.timestamp;\n  }\n\n  get inMentionsInboxAndUnread() {\n    return this.isMentionsInbox && this.args.conversation.has_unread_mentions;\n  }\n\n  get notMentionsInboxAndUnreadForAdmin() {\n    return !this.isMentionsInbox && this.args.conversation.adminHasNotRead;\n  }\n\n  get isUnread() {\n    return this.inMentionsInboxAndUnread || this.notMentionsInboxAndUnreadForAdmin;\n  }\n\n  closeConversation() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'closed',\n      object: 'conversation',\n      place: 'inbox',\n      context: 'from_conversation_list',\n    });\n    if (this.args.isSelected) {\n      this.args.checkboxUp(new Event('mouseup'));\n    }\n    this.conversationsService.closeConversation(this.args.conversation);\n  }\n\n  reopenConversation() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'opened',\n      object: 'conversation',\n      place: 'inbox',\n      context: 'from_conversation_list',\n    });\n    this.conversationsService.reopenConversation(this.args.conversation);\n  }\n\n  @action\n  toggleConversationState(e) {\n    e.stopPropagation();\n    e.preventDefault();\n    if (this.args.conversation.isNotClosed) {\n      return this.closeConversation();\n    }\n    return this.reopenConversation();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"js__inbox-list-item inbox__conversation-list-item {{if @isInSingleView \\\"u__relative\\\"}}\\\"\\n  style=\\\"height: {{@height}}px; z-index: {{this.zIndex}}; transform: translateY({{this.styleTop}}px);\\\"\\n>\\n  <LinkTo\\n    @route={{this.app.inboxConversationsConversationRoute}}\\n    @models={{array (if @isInSingleView \\\"all\\\" @inbox) @conversation}}\\n    class={{this.linkToClasses}}\\n    @activeClass=\\\"o__active\\\"\\n    {{on 'click' (performance/capture-render-start-fn\\n      subject=\\\"interaction:inbox/switch-conversation\\\"\\n      id=@conversation.id\\n      version=1\\n      metadata=(hash\\n        has_prefetched_parts=(gt @conversation.sortedParts.length 0)\\n      )\\n    )}}\\n  >\\n    <Inbox::ListItemCardComponent\\n      @admin={{this.admin}}\\n      @conversation={{@conversation}}\\n      @inbox={{@inbox}}\\n      @checkboxDown={{action \\\"checkboxDown\\\"}}\\n      @checkboxUp={{action \\\"checkboxUp\\\"}}\\n      @checkboxClick={{action \\\"checkboxClick\\\"}}\\n      @isSelected={{@isSelected}}\\n      @isInSingleView={{@isInSingleView}}\\n      @showCheckboxes={{@showCheckboxes}}\\n    />\\n    {{#if this.shouldDisplayTransitionInformation}}\\n      <Conversation::TransitionInformation\\n        @conversation={{@conversation}}\\n        @admin={{this.admin}}\\n        @inbox={{@inbox}}\\n        @transitionInformation={{this.transitionInformation}}\\n      />\\n    {{/if}}\\n  </LinkTo>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"js__inbox-list-item inbox__conversation-list-item {{if @isInSingleView \\\"u__relative\\\"}}\\\"\\n  style=\\\"height: {{@height}}px; z-index: {{this.zIndex}}; transform: translateY({{this.styleTop}}px);\\\"\\n>\\n  <LinkTo\\n    @route={{this.app.inboxConversationsConversationRoute}}\\n    @models={{array (if @isInSingleView \\\"all\\\" @inbox) @conversation}}\\n    class={{this.linkToClasses}}\\n    @activeClass=\\\"o__active\\\"\\n    {{on 'click' (performance/capture-render-start-fn\\n      subject=\\\"interaction:inbox/switch-conversation\\\"\\n      id=@conversation.id\\n      version=1\\n      metadata=(hash\\n        has_prefetched_parts=(gt @conversation.sortedParts.length 0)\\n      )\\n    )}}\\n  >\\n    <Inbox::ListItemCardComponent\\n      @admin={{this.admin}}\\n      @conversation={{@conversation}}\\n      @inbox={{@inbox}}\\n      @checkboxDown={{action \\\"checkboxDown\\\"}}\\n      @checkboxUp={{action \\\"checkboxUp\\\"}}\\n      @checkboxClick={{action \\\"checkboxClick\\\"}}\\n      @isSelected={{@isSelected}}\\n      @isInSingleView={{@isInSingleView}}\\n      @showCheckboxes={{@showCheckboxes}}\\n    />\\n    {{#if this.shouldDisplayTransitionInformation}}\\n      <Conversation::TransitionInformation\\n        @conversation={{@conversation}}\\n        @admin={{this.admin}}\\n        @inbox={{@inbox}}\\n        @transitionInformation={{this.transitionInformation}}\\n      />\\n    {{/if}}\\n  </LinkTo>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/list-item-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/list-item-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class ListItemComponent extends Component {\n  @service appService;\n  @service frontendStatsService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get admin() {\n    return this.app.currentAdmin;\n  }\n\n  get linkToClasses() {\n    let classes = 'conversation__list__item js__conversation-list-item';\n\n    if (this.app.canUseEmberConversationTitle) {\n      classes += ' conversation__list__item__with__title';\n    }\n\n    if (this.args.isInSingleView) {\n      classes += ' o__active';\n    }\n\n    if (this.args.isSelected) {\n      classes += ' o__selected';\n    }\n\n    return classes;\n  }\n\n  get isNotMentionsInbox() {\n    return !this.args.inbox.isMentionsInbox;\n  }\n\n  get shouldDisplayTransitionInformation() {\n    return this.isTransitioned && this.isNotMentionsInbox;\n  }\n\n  get isTransitioned() {\n    let transitionedConversations = this.args.inbox?.conversationList.transitionedConversations;\n    return transitionedConversations && transitionedConversations.includes(this.args.conversation);\n  }\n\n  get transitionInformation() {\n    let transitionInfo = this.args.inbox?.conversationList.transitionInformation;\n    return transitionInfo && transitionInfo[this.args.conversation.id];\n  }\n\n  get zIndex() {\n    return this.args.index + 1;\n  }\n\n  get styleTop() {\n    return this.args.index * this.args.height;\n  }\n\n  @action\n  checkboxChanged(checked) {\n    let convo = this.args.conversation;\n    if (checked) {\n      this.args.selectConversation(convo);\n    } else {\n      this.args.deselectConversation(convo);\n    }\n  }\n\n  // This is because of https://bugzilla.mozilla.org/show_bug.cgi?id=62151\n  @action\n  checkboxDown(e) {\n    e.stopPropagation();\n    e.preventDefault();\n  }\n\n  @action\n  checkboxUp(e) {\n    e.stopPropagation();\n    e.preventDefault();\n    let newValue = !this.args.isSelected;\n    this.checkboxChanged(newValue);\n  }\n\n  @action\n  checkboxClick(e) {\n    e.stopPropagation();\n    e.preventDefault();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"f__custom-select\\\">\\n  <span class=\\\"f__custom-select__box o__subtle {{if isOpen 'o__opened'}}\\\">\\n    {{title}}\\n    <span class=\\\"f__custom-select__caret\\\">{{ic-interface-icon 'small-down-arrow' solo=true}}</span>\\n  </span>\\n{{#if isOpen}}\\n  <div class=\\\"overlay o__dropdown z__2 {{dropdownClass}}\\\">\\n    <div class=\\\"dropdown__list-item o__hoverable u__prevent-breaks\\\" {{action changeStatus}}>All mentions</div>\\n    <div class=\\\"dropdown__list-item o__hoverable u__prevent-breaks\\\" {{action changeStatus 'unread'}}>Unread mentions</div>\\n  </div>\\n{{/if}}\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"f__custom-select\\\">\\n  <span class=\\\"f__custom-select__box o__subtle {{if isOpen 'o__opened'}}\\\">\\n    {{title}}\\n    <span class=\\\"f__custom-select__caret\\\">{{ic-interface-icon 'small-down-arrow' solo=true}}</span>\\n  </span>\\n{{#if isOpen}}\\n  <div class=\\\"overlay o__dropdown z__2 {{dropdownClass}}\\\">\\n    <div class=\\\"dropdown__list-item o__hoverable u__prevent-breaks\\\" {{action changeStatus}}>All mentions</div>\\n    <div class=\\\"dropdown__list-item o__hoverable u__prevent-breaks\\\" {{action changeStatus 'unread'}}>Unread mentions</div>\\n  </div>\\n{{/if}}\\n</span>\\n\",\"moduleName\":\"embercom/components/inbox/mentions-state-dropdown-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/mentions-state-dropdown-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n// eslint-disable-next-line @intercom/intercom/no-legacy-dropdown\nimport ComponentDropdownToggler from 'embercom/components/mixins/component-dropdown-toggler';\n\nexport default Component.extend(ComponentDropdownToggler, {\n  tagName: 'span',\n  classNames: ['u__relative'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<li class=\\\"mb-2\\\" data-test-metadata-item>\\n  <span class=\\\"u__truncated-inline-block\\\" {{tooltip content=@key}}>{{@key}}</span>\\n  {{#if @value}}<br>{{/if}}\\n  {{component valueComponent value=@value}}\\n</li>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<li class=\\\"mb-2\\\" data-test-metadata-item>\\n  <span class=\\\"u__truncated-inline-block\\\" {{tooltip content=@key}}>{{@key}}</span>\\n  {{#if @value}}<br>{{/if}}\\n  {{component valueComponent value=@value}}\\n</li>\\n\",\"moduleName\":\"embercom/components/inbox/meta-data-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/meta-data-item.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { notEmpty } from '@ember/object/computed';\nimport { typeOf } from '@ember/utils';\n\nexport default Component.extend({\n  hasValue: notEmpty('value.value'),\n  isUrl: notEmpty('value.url'),\n  isPotentialUrl: computed('value', function() {\n    if (typeOf(this.value) === 'string') {\n      return this.value.match(/^\\s*https?:\\/\\/\\S*/);\n    }\n    return false;\n  }),\n\n  valueComponent: computed('value', 'key', function() {\n    if ((this.hasValue && this.isUrl) || this.isPotentialUrl) {\n      return 'inbox/meta-data-items/url-value';\n    } else if (this.key.match(/_date$/)) {\n      return 'inbox/meta-data-items/date-value';\n    } else {\n      return 'inbox/meta-data-items/default-value';\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"u__truncated-inline-block inbox__event-list-item__expanded-content-value\\\" {{tooltip content=dateValue isInteractive=true}}>\\n  {{dateValue}}\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"u__truncated-inline-block inbox__event-list-item__expanded-content-value\\\" {{tooltip content=dateValue isInteractive=true}}>\\n  {{dateValue}}\\n</span>\\n\",\"moduleName\":\"embercom/components/inbox/meta-data-items/date-value.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/meta-data-items/date-value.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport moment from 'moment';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  dateValue: computed('value', function() {\n    return moment(this.value).format(dateAndTimeFormats.date);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span class=\\\"u__truncated-inline-block inbox__event-list-item__expanded-content-value\\\" {{tooltip content=@value isInteractive=true}}>\\n  {{@value}}\\n</span>\\n\", {\"contents\":\"<span class=\\\"u__truncated-inline-block inbox__event-list-item__expanded-content-value\\\" {{tooltip content=@value isInteractive=true}}>\\n  {{@value}}\\n</span>\\n\",\"moduleName\":\"embercom/components/inbox/meta-data-items/default-value.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/meta-data-items/default-value.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @value.url }}\\n\\t<span class=\\\"u__truncated-inline-block inbox__event-list-item__expanded-content-value\\\" {{tooltip content=@value.value isInteractive=true}}>\\n\\t\\t<a href={{@value.url}} target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">{{@value.value}}</a>\\n\\t</span>\\n\\t{{else}}\\n\\t<span class=\\\"u__truncated-inline-block inbox__event-list-item__expanded-content-value\\\" {{tooltip content=@value isInteractive=true}}>\\n\\t\\t<a href={{@value}} targer=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">{{@value}}</a>\\n\\t</span>\\n{{/if}}\\n\", {\"contents\":\"{{#if @value.url }}\\n\\t<span class=\\\"u__truncated-inline-block inbox__event-list-item__expanded-content-value\\\" {{tooltip content=@value.value isInteractive=true}}>\\n\\t\\t<a href={{@value.url}} target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">{{@value.value}}</a>\\n\\t</span>\\n\\t{{else}}\\n\\t<span class=\\\"u__truncated-inline-block inbox__event-list-item__expanded-content-value\\\" {{tooltip content=@value isInteractive=true}}>\\n\\t\\t<a href={{@value}} targer=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">{{@value}}</a>\\n\\t</span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/meta-data-items/url-value.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/meta-data-items/url-value.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (or @inVerticalNav @inDropdown)}}\\n  <span\\n    class=\\\"flex items-center inbox__submenu__inbox-nav-item\\\"\\n    data-test-inbox-nav-item=\\\"{{@inbox.id}}\\\"\\n    ...attributes\\n  >\\n    <div\\n      class=\\\"\\n        {{this.classes}}\\n        {{if this.isReorderable \\\"js__inbox-drag-handle nav__link__draggable\\\"}}\\n        {{if @isManagingVisibility \\\"inbox__submenu__inbox-nav-vertical__link-managing-visibility\\\"}}\\n      \\\"\\n      data-test-inbox-is-all-inbox=\\\"{{@inbox.isAllInbox}}\\\"\\n      {{tooltip\\n        content=@inbox.name\\n        isDisabled=this.canViewHovercard\\n        showOnlyWhenTruncated=true\\n        placement=\\\"right\\\"\\n      }}\\n    >\\n      <Popover\\n        @showOn={{array 'mouseenter'}}\\n        @hideOn={{array 'mouseleave'}}\\n        @isDisabled={{or (not this.canViewHovercard) @isManagingVisibility}}\\n        @showArrow={{true}}\\n        @placement=\\\"right\\\"\\n        @showDelay={{200}}\\n        @hideDelay={{200}}\\n        @neverRenderInPlace={{true}}\\n        class=\\\"u__display-block\\\"\\n        as |popover|\\n      >\\n        <popover.Opener>\\n          <div class=\\\"flex items-center\\\">\\n            {{#if this.canShowAvatar}}\\n              <div\\n                data-test-inbox-nav-link-avatar\\n                class=\\\"avatar__container o__{{this.avatarSize}}\\\"\\n              >\\n                {{ic-avatar\\n                  model=this.avatarObject\\n                  size=this.avatarSize\\n                  contained=true\\n                  withText=true\\n                  displayAdminBadge=@displayAdminBadge\\n                }}\\n              </div>\\n            {{else if @inbox.isInboxView}}\\n              <div\\n                class=\\\"nav__link__inbox-view-icon {{if this.inboxView.avatar_emoji (concat \\\"avatar__container o__\\\" this.avatarSize) }}\\\"\\n                data-test-inbox-nav-link-avatar\\n              >\\n                {{#if this.inboxView.avatar_emoji}}\\n                  <div\\n                    class=\\\"nav__link__inbox-view-icon-default\\\"\\n                  >\\n                    <span class=\\\"avatar o__xs o__contained o__for-team\\\">\\n                      <img class=\\\"avatar__media o__for-team\\\" src={{this.inboxView.emojiUri}}>\\n                    </span>\\n                  </div>\\n                {{else}}\\n                  <span class=\\\"nav__link__inbox-view-icon-default\\\">\\n                    {{ic-interface-icon \\\"hash\\\" solo=true}}\\n                  </span>\\n                {{/if}}\\n                {{#if @updateView }}\\n                  <a\\n                    class=\\\"text-gray nav__link__inbox-view-icon-hover\\\"\\n                    data-test-inbox-nav-view-edit\\n                    {{on \\\"click\\\" (fn @updateView @inbox.id)}}\\n                    {{tooltip content=\\\"Edit view\\\"}}\\n                  >\\n                    {{ic-interface-icon \\\"edit\\\" solo=true color=\\\"blue\\\"}}\\n                  </a>\\n                {{/if}}\\n              </div>\\n            {{else}}\\n              {{ic-interface-icon this.computedIcon}}\\n            {{/if}}\\n            <LinkTo\\n              @route={{this.app.inboxConversationsRoute}}\\n              @model={{@inbox.id}}\\n              class=\\\"nav__link__inbox-link link__opaque flex items-center\\\"\\n              @activeClass={{this.activeClass}}\\n              data-test-inbox-nav-link=\\\"{{@inbox.id}}\\\"\\n              data-test-inbox-visible=\\\"{{@isInboxVisible}}\\\"\\n            >\\n              <span\\n                data-test-inbox-nav-link-title\\n                data-tooltip-truncation-marker\\n                class=\\\"layout__box o__flexes-to-1 u__one-truncated-line nav__link__text__inbox-name\\\"\\n              >\\n                {{this.title}}\\n              </span>\\n\\n              {{#if (not (or this.hideCounter @isManagingVisibility))}}\\n                <span\\n                  data-test-inbox-nav-link-counter\\n                  class=\\\"submenu__sections__section__items__item__count {{if this.isBlocking \\\"o__over-capacity\\\"}} {{if (eq @inbox.determinantCount 0) \\\"o__zero\\\"}} u__ml__10\\\"\\n                >\\n                  {{number-formatter-helper @inbox.determinantCount}}\\n                </span>\\n              {{/if}}\\n\\n              {{#if this.isReorderable}}\\n                <span class=\\\"nav__link__drag\\\">\\n                  <span class=\\\"nav__link__drag-default\\\">\\n                    {{ic-interface-icon 'vertical-order' color='gray'}}\\n                  </span>\\n                  <span class=\\\"nav__link__drag-hover\\\">\\n                    {{ic-interface-icon 'vertical-order' color='blue'}}\\n                  </span>\\n                </span>\\n              {{/if}}\\n            </LinkTo>\\n          </div>\\n        </popover.Opener>\\n        <popover.Content @fullBleed={{true}}>\\n          <Inbox::VerticalNavInboxHovercardContent\\n            @inbox={{@inbox}}\\n            @inboxView={{this.inboxView}}\\n            @selectTeamMemberInbox={{@selectTeamMemberInbox}}\\n            @capacity={{@capacity}}\\n            @isBlocking={{this.isBlocking}}\\n            @teamSettings={{@teamSettings}}\\n            @hidePopover={{popover.hide}}\\n            @activeInbox={{@activeInbox}}\\n          />\\n        </popover.Content>\\n      </Popover>\\n    </div>\\n\\n    {{#if @isManagingVisibility}}\\n      <span class=\\\"pr-2\\\">\\n        {{#if this.isEditable}}\\n          <a\\n            {{on \\\"click\\\" @toggleVisibility}}\\n            data-test-inbox-visibility-button\\n          >\\n            {{#if @isInboxVisible}}\\n              <span\\n                class=\\\"nav__link__visibility\\\"\\n                {{tooltip content=\\\"Hide\\\"}}\\n              >\\n                {{ic-interface-icon \\\"remove\\\" solo=true color=\\\"red\\\"}}\\n              </span>\\n            {{else}}\\n              <span\\n                class=\\\"nav__link__visibility\\\"\\n                {{tooltip content=\\\"Show\\\"}}\\n              >\\n                {{ic-interface-icon \\\"follow\\\" solo=true color=\\\"green\\\"}}\\n              </span>\\n            {{/if}}\\n          </a>\\n        {{else if (and @inbox.isTeamInbox @inbox.currentAdminBelongsToTeam)}}\\n          <span\\n            class=\\\"nav__link__visibility opacity-50\\\"\\n            {{tooltip content=\\\"Can't hide teams you're a member of\\\"}}\\n          >\\n            {{ic-interface-icon \\\"remove\\\" solo=true color=\\\"red\\\"}}\\n          </span>\\n        {{/if}}\\n      </span>\\n    {{/if}}\\n  </span>\\n{{else}}\\n  <span class=\\\"nav-vertical__item\\\" ...attributes>\\n    <LinkTo\\n      @route={{this.app.inboxConversationsRoute}}\\n      @model={{@inbox.id}}\\n      class={{this.classes}}\\n      @activeClass={{this.activeClass}}\\n      data-test-inbox-nav-link=\\\"{{@inbox.id}}\\\"\\n      data-test-inbox-is-all-inbox=\\\"{{@inbox.isAllInbox}}\\\"\\n      data-test-inbox-visible=\\\"{{@isInboxVisible}}\\\"\\n      {{tooltip\\n        content=@inbox.name\\n        showOnlyWhenTruncated=true\\n        placement=\\\"right\\\"\\n      }}\\n    >\\n      <span\\n        class=\\\"nav__link__text-wrapper {{if this.canShowAvatar \\\"avatar__container o__s\\\"}}\\\"\\n        title=\\\"{{this.title}}\\\"\\n      >\\n        {{#if this.canShowAvatar}}\\n          {{ic-avatar model=this.avatarObject size=\\\"s\\\" contained=true}}\\n        {{else}}\\n          {{ic-interface-icon this.computedIcon}}\\n        {{/if}}\\n        <span class=\\\"nav__link__text\\\">\\n          {{#if @inbox.isMeInbox}}\\n            <span class=\\\"nav__hidden-at-low-res\\\">\\n              You\\n            </span>\\n          {{else}}\\n            {{@inbox.name}}\\n          {{/if}}\\n        </span>\\n        {{#unless this.hideCounter}}\\n          <span class=\\\"nav__counter-text\\\">\\n            ({{number-formatter-helper\\n              (if @inbox.isMentionsInbox @inbox.unread_count @inbox.open_count)\\n            }})\\n          </span>\\n        {{/unless}}\\n      </span>\\n    </LinkTo>\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{#if (or @inVerticalNav @inDropdown)}}\\n  <span\\n    class=\\\"flex items-center inbox__submenu__inbox-nav-item\\\"\\n    data-test-inbox-nav-item=\\\"{{@inbox.id}}\\\"\\n    ...attributes\\n  >\\n    <div\\n      class=\\\"\\n        {{this.classes}}\\n        {{if this.isReorderable \\\"js__inbox-drag-handle nav__link__draggable\\\"}}\\n        {{if @isManagingVisibility \\\"inbox__submenu__inbox-nav-vertical__link-managing-visibility\\\"}}\\n      \\\"\\n      data-test-inbox-is-all-inbox=\\\"{{@inbox.isAllInbox}}\\\"\\n      {{tooltip\\n        content=@inbox.name\\n        isDisabled=this.canViewHovercard\\n        showOnlyWhenTruncated=true\\n        placement=\\\"right\\\"\\n      }}\\n    >\\n      <Popover\\n        @showOn={{array 'mouseenter'}}\\n        @hideOn={{array 'mouseleave'}}\\n        @isDisabled={{or (not this.canViewHovercard) @isManagingVisibility}}\\n        @showArrow={{true}}\\n        @placement=\\\"right\\\"\\n        @showDelay={{200}}\\n        @hideDelay={{200}}\\n        @neverRenderInPlace={{true}}\\n        class=\\\"u__display-block\\\"\\n        as |popover|\\n      >\\n        <popover.Opener>\\n          <div class=\\\"flex items-center\\\">\\n            {{#if this.canShowAvatar}}\\n              <div\\n                data-test-inbox-nav-link-avatar\\n                class=\\\"avatar__container o__{{this.avatarSize}}\\\"\\n              >\\n                {{ic-avatar\\n                  model=this.avatarObject\\n                  size=this.avatarSize\\n                  contained=true\\n                  withText=true\\n                  displayAdminBadge=@displayAdminBadge\\n                }}\\n              </div>\\n            {{else if @inbox.isInboxView}}\\n              <div\\n                class=\\\"nav__link__inbox-view-icon {{if this.inboxView.avatar_emoji (concat \\\"avatar__container o__\\\" this.avatarSize) }}\\\"\\n                data-test-inbox-nav-link-avatar\\n              >\\n                {{#if this.inboxView.avatar_emoji}}\\n                  <div\\n                    class=\\\"nav__link__inbox-view-icon-default\\\"\\n                  >\\n                    <span class=\\\"avatar o__xs o__contained o__for-team\\\">\\n                      <img class=\\\"avatar__media o__for-team\\\" src={{this.inboxView.emojiUri}}>\\n                    </span>\\n                  </div>\\n                {{else}}\\n                  <span class=\\\"nav__link__inbox-view-icon-default\\\">\\n                    {{ic-interface-icon \\\"hash\\\" solo=true}}\\n                  </span>\\n                {{/if}}\\n                {{#if @updateView }}\\n                  <a\\n                    class=\\\"text-gray nav__link__inbox-view-icon-hover\\\"\\n                    data-test-inbox-nav-view-edit\\n                    {{on \\\"click\\\" (fn @updateView @inbox.id)}}\\n                    {{tooltip content=\\\"Edit view\\\"}}\\n                  >\\n                    {{ic-interface-icon \\\"edit\\\" solo=true color=\\\"blue\\\"}}\\n                  </a>\\n                {{/if}}\\n              </div>\\n            {{else}}\\n              {{ic-interface-icon this.computedIcon}}\\n            {{/if}}\\n            <LinkTo\\n              @route={{this.app.inboxConversationsRoute}}\\n              @model={{@inbox.id}}\\n              class=\\\"nav__link__inbox-link link__opaque flex items-center\\\"\\n              @activeClass={{this.activeClass}}\\n              data-test-inbox-nav-link=\\\"{{@inbox.id}}\\\"\\n              data-test-inbox-visible=\\\"{{@isInboxVisible}}\\\"\\n            >\\n              <span\\n                data-test-inbox-nav-link-title\\n                data-tooltip-truncation-marker\\n                class=\\\"layout__box o__flexes-to-1 u__one-truncated-line nav__link__text__inbox-name\\\"\\n              >\\n                {{this.title}}\\n              </span>\\n\\n              {{#if (not (or this.hideCounter @isManagingVisibility))}}\\n                <span\\n                  data-test-inbox-nav-link-counter\\n                  class=\\\"submenu__sections__section__items__item__count {{if this.isBlocking \\\"o__over-capacity\\\"}} {{if (eq @inbox.determinantCount 0) \\\"o__zero\\\"}} u__ml__10\\\"\\n                >\\n                  {{number-formatter-helper @inbox.determinantCount}}\\n                </span>\\n              {{/if}}\\n\\n              {{#if this.isReorderable}}\\n                <span class=\\\"nav__link__drag\\\">\\n                  <span class=\\\"nav__link__drag-default\\\">\\n                    {{ic-interface-icon 'vertical-order' color='gray'}}\\n                  </span>\\n                  <span class=\\\"nav__link__drag-hover\\\">\\n                    {{ic-interface-icon 'vertical-order' color='blue'}}\\n                  </span>\\n                </span>\\n              {{/if}}\\n            </LinkTo>\\n          </div>\\n        </popover.Opener>\\n        <popover.Content @fullBleed={{true}}>\\n          <Inbox::VerticalNavInboxHovercardContent\\n            @inbox={{@inbox}}\\n            @inboxView={{this.inboxView}}\\n            @selectTeamMemberInbox={{@selectTeamMemberInbox}}\\n            @capacity={{@capacity}}\\n            @isBlocking={{this.isBlocking}}\\n            @teamSettings={{@teamSettings}}\\n            @hidePopover={{popover.hide}}\\n            @activeInbox={{@activeInbox}}\\n          />\\n        </popover.Content>\\n      </Popover>\\n    </div>\\n\\n    {{#if @isManagingVisibility}}\\n      <span class=\\\"pr-2\\\">\\n        {{#if this.isEditable}}\\n          <a\\n            {{on \\\"click\\\" @toggleVisibility}}\\n            data-test-inbox-visibility-button\\n          >\\n            {{#if @isInboxVisible}}\\n              <span\\n                class=\\\"nav__link__visibility\\\"\\n                {{tooltip content=\\\"Hide\\\"}}\\n              >\\n                {{ic-interface-icon \\\"remove\\\" solo=true color=\\\"red\\\"}}\\n              </span>\\n            {{else}}\\n              <span\\n                class=\\\"nav__link__visibility\\\"\\n                {{tooltip content=\\\"Show\\\"}}\\n              >\\n                {{ic-interface-icon \\\"follow\\\" solo=true color=\\\"green\\\"}}\\n              </span>\\n            {{/if}}\\n          </a>\\n        {{else if (and @inbox.isTeamInbox @inbox.currentAdminBelongsToTeam)}}\\n          <span\\n            class=\\\"nav__link__visibility opacity-50\\\"\\n            {{tooltip content=\\\"Can't hide teams you're a member of\\\"}}\\n          >\\n            {{ic-interface-icon \\\"remove\\\" solo=true color=\\\"red\\\"}}\\n          </span>\\n        {{/if}}\\n      </span>\\n    {{/if}}\\n  </span>\\n{{else}}\\n  <span class=\\\"nav-vertical__item\\\" ...attributes>\\n    <LinkTo\\n      @route={{this.app.inboxConversationsRoute}}\\n      @model={{@inbox.id}}\\n      class={{this.classes}}\\n      @activeClass={{this.activeClass}}\\n      data-test-inbox-nav-link=\\\"{{@inbox.id}}\\\"\\n      data-test-inbox-is-all-inbox=\\\"{{@inbox.isAllInbox}}\\\"\\n      data-test-inbox-visible=\\\"{{@isInboxVisible}}\\\"\\n      {{tooltip\\n        content=@inbox.name\\n        showOnlyWhenTruncated=true\\n        placement=\\\"right\\\"\\n      }}\\n    >\\n      <span\\n        class=\\\"nav__link__text-wrapper {{if this.canShowAvatar \\\"avatar__container o__s\\\"}}\\\"\\n        title=\\\"{{this.title}}\\\"\\n      >\\n        {{#if this.canShowAvatar}}\\n          {{ic-avatar model=this.avatarObject size=\\\"s\\\" contained=true}}\\n        {{else}}\\n          {{ic-interface-icon this.computedIcon}}\\n        {{/if}}\\n        <span class=\\\"nav__link__text\\\">\\n          {{#if @inbox.isMeInbox}}\\n            <span class=\\\"nav__hidden-at-low-res\\\">\\n              You\\n            </span>\\n          {{else}}\\n            {{@inbox.name}}\\n          {{/if}}\\n        </span>\\n        {{#unless this.hideCounter}}\\n          <span class=\\\"nav__counter-text\\\">\\n            ({{number-formatter-helper\\n              (if @inbox.isMentionsInbox @inbox.unread_count @inbox.open_count)\\n            }})\\n          </span>\\n        {{/unless}}\\n      </span>\\n    </LinkTo>\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/nav-link-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/nav-link-component.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\n\nexport default class NavLinkComponent extends Component {\n  @service appService;\n  @service store;\n\n  activeClass = 'o__selected';\n  avatarClass = 'o__contains-avatar';\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get isActive() {\n    return (\n      this.args.inbox &&\n      this.args.activeInbox &&\n      this.args.inbox.identifier === this.args.activeInbox.identifier\n    );\n  }\n\n  get classes() {\n    let classes = this.baseClasses;\n    if (this.isActive) {\n      classes += ` ${this.activeClass}`;\n    }\n    if (this.canShowAvatar) {\n      classes += ` ${this.avatarClass}`;\n    }\n\n    return classes;\n  }\n\n  get hideZeroCounters() {\n    if (this.args.hideZeroCounters !== undefined) {\n      return this.args.hideZeroCounters;\n    }\n    return true;\n  }\n\n  get hideCounter() {\n    return this.args.inbox?.hideOpenCountInNavs;\n  }\n\n  get canViewHovercard() {\n    return this.args.inbox?.isTeamInbox || this.args.inbox?.isInboxView;\n  }\n\n  get needsIconToBeSet() {\n    return (\n      this.args.inbox?.isMentionsInbox ||\n      this.args.inbox?.isAllInbox ||\n      this.args.inbox?.isUnassignedInbox ||\n      this.args.icon\n    );\n  }\n\n  get computedIcon() {\n    if (this.args.icon) {\n      return this.args.icon;\n    } else if (this.args.inbox?.isMentionsInbox) {\n      return 'email';\n    } else if (this.args.inbox?.isAllInbox) {\n      return 'multiple-people';\n    } else if (this.args.inbox?.isUnassignedInbox) {\n      return 'unassigned';\n    }\n  }\n\n  // Sometimes inbox is an inbox. But sometimes, inbox is an admin :facepalm:\n  get avatarObject() {\n    let object = this.args.inbox;\n    if (object === undefined || object === null) {\n      return;\n    }\n    if (object.get('avatarData') !== undefined) {\n      return object;\n    } else {\n      return object.get('admin');\n    }\n  }\n\n  get canShowAvatar() {\n    return this.avatarObject && !this.needsIconToBeSet;\n  }\n\n  get title() {\n    return this.args.inbox?.isMeInbox ? 'You' : this.args.inbox?.name;\n  }\n\n  get baseClasses() {\n    if (!(this.args.inVerticalNav || this.args.inDropdown)) {\n      return 'nav__link';\n    }\n\n    let baseClasses = this.args.inVerticalNav\n      ? 'nav-vertical__link o__for-inbox link__opaque'\n      : 'inbox__inbox-picker__link';\n    return baseClasses;\n  }\n\n  get membersInboxes() {\n    let admins = this.args.inbox?.admin.member_ids.map(id => this.store.peekRecord('inbox', id));\n    return (admins || []).compact();\n  }\n\n  get isBlocking() {\n    if (this.args.isBlocking !== undefined) {\n      return this.args.isBlocking;\n    }\n    return this.isEveryOnlineAdminAtCapacity && this.args.teamSettings?.volumeControlEnabled;\n  }\n\n  get isEveryOnlineAdminAtCapacity() {\n    return (\n      this.args.teamSettings?.distributionMethod === 'load_balanced' &&\n      this.membersInboxes\n        .filter(inbox => this.args.onlineAdmins?.includes(inbox.admin_id))\n        .every(inbox => inbox.count >= this.args.capacity)\n    );\n  }\n\n  get isEditable() {\n    if (\n      this.args.inbox?.isMeInbox ||\n      this.args.inbox?.isMentionsInbox ||\n      this.args.inbox?.isUnassignedInbox ||\n      this.args.inbox?.isAllInbox ||\n      this.args.inbox?.currentAdminBelongsToTeam()\n    ) {\n      return false;\n    }\n\n    return true;\n  }\n\n  get isReorderable() {\n    return (\n      this.args.isManagingVisibility &&\n      !this.args.inbox?.isMeInbox &&\n      !this.args.inbox?.isMentionsInbox &&\n      !this.args.inbox?.isUnassignedInbox &&\n      !this.args.inbox.isAllInbox &&\n      this.args.isInboxVisible\n    );\n  }\n\n  get inboxView() {\n    let inbox = this.args.inbox;\n    return inbox.isInboxView && this.store.peekRecord('inbox-view', inbox.inboxViewId);\n  }\n\n  get avatarSize() {\n    return this.args.avatarSize || 'xs';\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/no-jquery */\nimport { schedule } from '@ember/runloop';\nimport $ from 'jquery';\nimport PaginationComponent from '../pagination-component';\nimport DidChangeAttrs from 'ember-did-change-attrs';\n\nexport default PaginationComponent.extend(DidChangeAttrs, {\n  classNameBindings: ['showNoSortableConversationsBanner:o__no-sortable-conversations'],\n\n  didChangeAttrsConfig: {\n    attrs: [\n      'inbox',\n      'inboxState',\n      'inboxSortDirection',\n      'inboxSortKey',\n      'inboxConversationsLength',\n    ],\n  },\n\n  didChangeAttrs(changes) {\n    this._super(...arguments);\n\n    if (changes) {\n      schedule('afterRender', () => {\n        this.set('watermark', null);\n        this.autoPaginateIfAppropriate();\n      });\n    }\n  },\n\n  contentHeight() {\n    let visibleCardCount = $('.js__conversation-list-item', this.element).length;\n    return visibleCardCount * this.cardHeight;\n  },\n\n  hasWatermarkChanged() {\n    return this.watermark !== this._getItemIds();\n  },\n\n  setWatermark() {\n    this.set('watermark', this._getItemIds());\n  },\n\n  _getItemIds() {\n    return $('.js__conversation-list-item', this.element)\n      .map((_, element) => element.id)\n      .toArray()\n      .join('');\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"flex items-start\\\">\\n  <div class=\\\"flex-auto min-w-0 u__mr__10\\\">\\n    <Input\\n      data-test-add-participant-input\\n      @type=\\\"email\\\"\\n      @value={{this.email}}\\n      class=\\\"test__add__participant__input f__text {{if this.inputError 'o__error'}}\\\"\\n      placeholder=\\\"john@theircompany.com\\\"\\n      {{on 'focus' @onInputFocus}}\\n      {{on 'blur' @onInputBlur}}\\n    />\\n  </div>\\n  <IcButton\\n    data-test-add-participant-button\\n    @label=\\\"Add\\\"\\n    @type=\\\"primary\\\"\\n    @onClick={{this.addParticipant}}\\n    @disabled={{this.addParticipantTask.isRunning}}\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"flex items-start\\\">\\n  <div class=\\\"flex-auto min-w-0 u__mr__10\\\">\\n    <Input\\n      data-test-add-participant-input\\n      @type=\\\"email\\\"\\n      @value={{this.email}}\\n      class=\\\"test__add__participant__input f__text {{if this.inputError 'o__error'}}\\\"\\n      placeholder=\\\"john@theircompany.com\\\"\\n      {{on 'focus' @onInputFocus}}\\n      {{on 'blur' @onInputBlur}}\\n    />\\n  </div>\\n  <IcButton\\n    data-test-add-participant-button\\n    @label=\\\"Add\\\"\\n    @type=\\\"primary\\\"\\n    @onClick={{this.addParticipant}}\\n    @disabled={{this.addParticipantTask.isRunning}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/participant-input-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/participant-input-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { isValidEmail } from 'embercom/lib/email';\nimport { action } from '@ember/object';\n\nexport default Component.extend({\n  notificationsService: service(),\n  inputError: false,\n  email: '',\n  keyDown(e) {\n    switch (e.which) {\n      case 13:\n        this.send('addParticipant');\n        break;\n      default:\n        this.clearErrors();\n        break;\n    }\n  },\n  clearErrors() {\n    if (this.inputError) {\n      this.set('inputError', false);\n    }\n  },\n  addParticipant: action(function() {\n    if (isValidEmail(this.email)) {\n      this.addParticipantTask.perform(this.email, this.hidePopover);\n    } else {\n      this.set('inputError', true);\n      this.notificationsService.notifyWarning('Please enter a valid email address');\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"layout__box o__has-columns\\\"\\n  data-test-performance-report-navigation\\n  ...attributes\\n>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <LinkTo\\n      @route=\\\"apps.app.reports.inbox.performance.sales\\\"\\n      @query={{hash teamsParticipated=@teamsParticipated teammateId=@teammateId scopingTagIds=@scopingTagIds}}\\n      class=\\\"tabs__tab\\\"\\n      @activeClass=\\\"o__selected\\\"\\n    >\\n      {{ic-interface-icon \\\"bar-charts\\\"}} Sales\\n    </LinkTo>\\n    <LinkTo\\n      @route=\\\"apps.app.reports.inbox.performance.happiness\\\"\\n      @query={{hash teamsParticipated=@teamsParticipated teammateId=@teammateId scopingTagIds=@scopingTagIds}}\\n      class=\\\"tabs__tab\\\"\\n      @activeClass=\\\"o__selected\\\"\\n    >\\n      {{ic-interface-icon \\\"relationship\\\"}} Happiness\\n    </LinkTo>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"layout__box o__has-columns\\\"\\n  data-test-performance-report-navigation\\n  ...attributes\\n>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <LinkTo\\n      @route=\\\"apps.app.reports.inbox.performance.sales\\\"\\n      @query={{hash teamsParticipated=@teamsParticipated teammateId=@teammateId scopingTagIds=@scopingTagIds}}\\n      class=\\\"tabs__tab\\\"\\n      @activeClass=\\\"o__selected\\\"\\n    >\\n      {{ic-interface-icon \\\"bar-charts\\\"}} Sales\\n    </LinkTo>\\n    <LinkTo\\n      @route=\\\"apps.app.reports.inbox.performance.happiness\\\"\\n      @query={{hash teamsParticipated=@teamsParticipated teammateId=@teammateId scopingTagIds=@scopingTagIds}}\\n      class=\\\"tabs__tab\\\"\\n      @activeClass=\\\"o__selected\\\"\\n    >\\n      {{ic-interface-icon \\\"relationship\\\"}} Happiness\\n    </LinkTo>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/performance-report-navigation.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/performance-report-navigation.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showModal}}\\n  {{!-- template-lint-disable intercom/no-legacy-modal --}}\\n  <Common::ModalComponent\\n    @closeModal={{action \\\"onManageSeatsClick\\\"}}\\n    @width=\\\"m\\\"\\n    as |modal|\\n  >\\n    <modal.components.header >\\n      <span class=\\\"u__left\\\">\\n        <ProductIconComponent @product={{hash id=1}} @useSmallScale={{true}} />\\n      </span>\\n      <h2 class=\\\"t__h2 settings__teammate__inbox-seats-modal__header\\\">\\n        Introducing Inbox seats\\n      </h2>\\n    </modal.components.header>\\n    <modal.components.body>\\n      <p data-test-seat-price-info>\\n        Now your team will use Inbox seats to access Inbox. The new Inbox pricing\\n        includes two seats, with each additional seat at {{pricePerSeat}}/mo.\\n      </p>\\n      <p class=\\\"u__mt__30 u__mb__15\\\">\\n        Based on Inbox activity, we’ve given\\n        {{if hasOneAdminWithAccess 'a seat to this teammate' 'seats to these teammates'}}.\\n        <IcTooltip as |context|>\\n          <context.opener>\\n            {{ic-interface-icon \\\"info\\\" solo=true}}\\n          </context.opener>\\n          <context.content>\\n            {{if hasOneAdminWithAccess 'This teammate was' 'These teammates were'}}\\n            active in Inbox in the last month,\\n            {{if hasOneAdminWithAccess 'has' 'have'}}\\n            conversations assigned to\\n            {{if hasOneAdminWithAccess 'him/her, or belongs' 'them, or belong'}}\\n            to a team.\\n          </context.content>\\n        </IcTooltip>\\n      </p>\\n      {{#each app.adminsWithInboxAccess as |admin|}}\\n        <div\\n          class=\\\"settings__teammate__inbox-seats-modal__teammate u__mb__5 u__truncated-inline-block\\\"\\n        >\\n          {{ic-avatar model=admin size=\\\"s\\\"}} <span\\n            data-test-teammate-with-access\\n            class=\\\"u__padl__5 settings__teammate__inbox-seats-modal__teammate-name\\\"\\n          >\\n            {{admin.first_name}}\\n          </span>\\n        </div>\\n      {{/each}}\\n      {{#if app.adminsWithoutInboxAccess.length}}\\n        <p class=\\\"u__mt__30 u__mb__15\\\">\\n          {{if\\n            hasOneAdminWithoutAccess\\n            \\\"This teammate hasn't\\\"\\n            \\\"These teammates haven't\\\"\\n          }} been active in Inbox lately, and {{if\\n            hasOneAdminWithoutAccess\\n            \\\"doesn't\\\"\\n            \\\"don't\\\"\\n          }} require a seat. <IcTooltip as |context|>\\n            <context.opener>\\n              {{ic-interface-icon \\\"info\\\" solo=true}}\\n            </context.opener>\\n            <context.content>\\n              {{if hasOneAdminWithoutAccess 'This teammate hasn\\\\'t' 'These teammates haven\\\\'t'}}\\n\\t\\t\\t\\t\\t\\t\\tbeen active in Inbox in the last month,\\n              {{if hasOneAdminWithoutAccess 'he/she has' 'they have'}}\\n\\t\\t\\t\\t\\t\\t\\tno assigned conversations, and\\n              {{if hasOneAdminWithoutAccess 'he/she doesn\\\\'t' 'they don\\\\'t'}}\\n              belong to a team.\\n            </context.content>\\n          </IcTooltip>\\n        </p>\\n      {{/if}}\\n      {{#each app.adminsWithoutInboxAccess as |admin|}}\\n        <div\\n          class=\\\"settings__teammate__inbox-seats-modal__teammate u__mb__5 u__truncated-inline-block\\\"\\n        >\\n          {{ic-avatar model=admin size=\\\"s\\\"}}\\n          <span\\n            data-test-teammate-without-access\\n            class=\\\"u__padl__5 settings__teammate__inbox-seats-modal__teammate-name\\\"\\n          >\\n            {{admin.first_name}}\\n          </span>\\n        </div>\\n      {{/each}}\\n      <p class=\\\"u__mt__30\\\">\\n        You can review and change the number of Inbox seats before the new pricing takes\\n        effect on {{moment-format migrationState.date_migration_complete 'MMM D'}}.\\n      </p>\\n    </modal.components.body>\\n    <modal.components.footer as |footer|>\\n      <footer.mainButtons as |list|>\\n        <list.button\\n          data-test-manage-inbox-seats\\n          @type=\\\"primary\\\"\\n          @onClick={{action \\\"onManageSeatsClick\\\"}}\\n          @label=\\\"Manage Inbox seats\\\"\\n        />\\n      </footer.mainButtons>\\n    </modal.components.footer>\\n  </Common::ModalComponent>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showModal}}\\n  {{!-- template-lint-disable intercom/no-legacy-modal --}}\\n  <Common::ModalComponent\\n    @closeModal={{action \\\"onManageSeatsClick\\\"}}\\n    @width=\\\"m\\\"\\n    as |modal|\\n  >\\n    <modal.components.header >\\n      <span class=\\\"u__left\\\">\\n        <ProductIconComponent @product={{hash id=1}} @useSmallScale={{true}} />\\n      </span>\\n      <h2 class=\\\"t__h2 settings__teammate__inbox-seats-modal__header\\\">\\n        Introducing Inbox seats\\n      </h2>\\n    </modal.components.header>\\n    <modal.components.body>\\n      <p data-test-seat-price-info>\\n        Now your team will use Inbox seats to access Inbox. The new Inbox pricing\\n        includes two seats, with each additional seat at {{pricePerSeat}}/mo.\\n      </p>\\n      <p class=\\\"u__mt__30 u__mb__15\\\">\\n        Based on Inbox activity, we’ve given\\n        {{if hasOneAdminWithAccess 'a seat to this teammate' 'seats to these teammates'}}.\\n        <IcTooltip as |context|>\\n          <context.opener>\\n            {{ic-interface-icon \\\"info\\\" solo=true}}\\n          </context.opener>\\n          <context.content>\\n            {{if hasOneAdminWithAccess 'This teammate was' 'These teammates were'}}\\n            active in Inbox in the last month,\\n            {{if hasOneAdminWithAccess 'has' 'have'}}\\n            conversations assigned to\\n            {{if hasOneAdminWithAccess 'him/her, or belongs' 'them, or belong'}}\\n            to a team.\\n          </context.content>\\n        </IcTooltip>\\n      </p>\\n      {{#each app.adminsWithInboxAccess as |admin|}}\\n        <div\\n          class=\\\"settings__teammate__inbox-seats-modal__teammate u__mb__5 u__truncated-inline-block\\\"\\n        >\\n          {{ic-avatar model=admin size=\\\"s\\\"}} <span\\n            data-test-teammate-with-access\\n            class=\\\"u__padl__5 settings__teammate__inbox-seats-modal__teammate-name\\\"\\n          >\\n            {{admin.first_name}}\\n          </span>\\n        </div>\\n      {{/each}}\\n      {{#if app.adminsWithoutInboxAccess.length}}\\n        <p class=\\\"u__mt__30 u__mb__15\\\">\\n          {{if\\n            hasOneAdminWithoutAccess\\n            \\\"This teammate hasn't\\\"\\n            \\\"These teammates haven't\\\"\\n          }} been active in Inbox lately, and {{if\\n            hasOneAdminWithoutAccess\\n            \\\"doesn't\\\"\\n            \\\"don't\\\"\\n          }} require a seat. <IcTooltip as |context|>\\n            <context.opener>\\n              {{ic-interface-icon \\\"info\\\" solo=true}}\\n            </context.opener>\\n            <context.content>\\n              {{if hasOneAdminWithoutAccess 'This teammate hasn\\\\'t' 'These teammates haven\\\\'t'}}\\n\\t\\t\\t\\t\\t\\t\\tbeen active in Inbox in the last month,\\n              {{if hasOneAdminWithoutAccess 'he/she has' 'they have'}}\\n\\t\\t\\t\\t\\t\\t\\tno assigned conversations, and\\n              {{if hasOneAdminWithoutAccess 'he/she doesn\\\\'t' 'they don\\\\'t'}}\\n              belong to a team.\\n            </context.content>\\n          </IcTooltip>\\n        </p>\\n      {{/if}}\\n      {{#each app.adminsWithoutInboxAccess as |admin|}}\\n        <div\\n          class=\\\"settings__teammate__inbox-seats-modal__teammate u__mb__5 u__truncated-inline-block\\\"\\n        >\\n          {{ic-avatar model=admin size=\\\"s\\\"}}\\n          <span\\n            data-test-teammate-without-access\\n            class=\\\"u__padl__5 settings__teammate__inbox-seats-modal__teammate-name\\\"\\n          >\\n            {{admin.first_name}}\\n          </span>\\n        </div>\\n      {{/each}}\\n      <p class=\\\"u__mt__30\\\">\\n        You can review and change the number of Inbox seats before the new pricing takes\\n        effect on {{moment-format migrationState.date_migration_complete 'MMM D'}}.\\n      </p>\\n    </modal.components.body>\\n    <modal.components.footer as |footer|>\\n      <footer.mainButtons as |list|>\\n        <list.button\\n          data-test-manage-inbox-seats\\n          @type=\\\"primary\\\"\\n          @onClick={{action \\\"onManageSeatsClick\\\"}}\\n          @label=\\\"Manage Inbox seats\\\"\\n        />\\n      </footer.mainButtons>\\n    </modal.components.footer>\\n  </Common::ModalComponent>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/pricing-migration/introducing-seats-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/pricing-migration/introducing-seats-modal.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { MIGRATION_MODAL_PAGEVIEW_KEY } from 'embercom/routes/apps/app/settings/teammates';\nimport { and, notEmpty, not, readOnly, equal } from '@ember/object/computed';\nimport ajax from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\nimport { computed } from '@ember/object';\nimport currencyFormatter from 'embercom/lib/currency-formatter';\n\nexport default Component.extend({\n  'data-test-introducing-seats-modal': readOnly('showModal'),\n  appService: service(),\n  customerService: service(),\n  store: service(),\n  app: readOnly('appService.app'),\n\n  pricePerSeat: computed('customerService.pricePerInboxSeat', function() {\n    return currencyFormatter(this.get('customerService.pricePerInboxSeat'));\n  }),\n\n  hasOneAdminWithAccess: equal('app.adminsWithInboxAccess.length', 1),\n  hasOneAdminWithoutAccess: equal('app.adminsWithoutInboxAccess.length', 1),\n\n  showModal: and(\n    'hasNotDismissedModal',\n    'autoSeatAssignmentDone',\n    'hasNotManuallyAssignedSeat',\n    'hasNotActivatedBilling',\n    'notAllAdminsHaveSeats',\n    'notFallbackAdminsAssigned',\n    'app.inboxIsActive',\n  ),\n\n  hasNotDismissedModal: not('hasDismissedMigrationModal'),\n\n  autoSeatAssignmentDone: readOnly('migrationState.auto_seat_assignment_done'),\n  hasNotManuallyAssignedSeat: not('migrationState.manually_assigned_seat'),\n  hasNotActivatedBilling: not('migrationState.billing_activated'),\n  notFallbackAdminsAssigned: not('migrationState.fallback_admins_assigned'),\n\n  notAllAdminsHaveSeats: notEmpty('app.adminsWithoutInboxAccess'),\n\n  addSeatsReviewedCDA: task(function*() {\n    yield ajax({\n      url: '/ember/inbox/pricing_migration/add_seats_reviewed_cda',\n      type: 'POST',\n      contentType: 'application/json',\n      data: JSON.stringify({\n        app_id: this.get('app.id'),\n      }),\n    });\n  }),\n\n  actions: {\n    onManageSeatsClick() {\n      this.store\n        .createRecord('admin-pageview', {\n          pageKey: MIGRATION_MODAL_PAGEVIEW_KEY,\n        })\n        .save();\n      this.set('hasDismissedMigrationModal', true);\n      this.addSeatsReviewedCDA.perform();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (has-feature 'team-support-retain-pull-conversation-button')}}\\n<div\\n  class=\\\"inbox__conversation-list-item inbox__pull-next-conversation u__mt__30 u__centered-text-block\\\"\\n  style={{this.positionStyle}}\\n  data-test-pull-conversation-button\\n  >\\n  <IcButton\\n    @type=\\\"secondary\\\"\\n    @label=\\\"Pull Conversation\\\"\\n    @onClick={{perform this.pullConversation}}\\n    />\\n</div>\\n{{/if}}\\n\", {\"contents\":\"{{#if (has-feature 'team-support-retain-pull-conversation-button')}}\\n<div\\n  class=\\\"inbox__conversation-list-item inbox__pull-next-conversation u__mt__30 u__centered-text-block\\\"\\n  style={{this.positionStyle}}\\n  data-test-pull-conversation-button\\n  >\\n  <IcButton\\n    @type=\\\"secondary\\\"\\n    @label=\\\"Pull Conversation\\\"\\n    @onClick={{perform this.pullConversation}}\\n    />\\n</div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/pull-conversation.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/pull-conversation.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport trustedStyle from '@intercom/embercom-core/lib/trusted-style';\nimport { post } from 'embercom/lib/ajax';\n\nexport default class PullConversation extends Component {\n  @service appService;\n  @service notificationsService;\n\n  get positionStyle() {\n    return trustedStyle`transform: translateY(${this.args.position}px);`;\n  }\n\n  @task\n  *pullConversation() {\n    try {\n      let response = yield post('/ember/conversations/pull_conversation', {\n        app_id: this.appService.app.id,\n      });\n      let message =\n        response === true\n          ? 'A new conversation was assigned to you. It will arrive shortly in your inbox.'\n          : 'There are no unassigned conversations available for you.';\n      this.notificationsService.notifyConfirmation(message);\n    } catch (error) {\n      this.notificationsService.notifyError(\n        'An error occurred while pulling conversations. Please try again or contact us.',\n      );\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{@onModalClose}}\\n  @isOpen={{@isOpen}}\\n  @width=\\\"l\\\"\\n  @internalScroll={{false}}\\n  as |modal|\\n>\\n  <modal.body @fullBleed={{true}} data-test-inbox-conversations-modal>\\n    <Inbox::CardHeaderComponent\\n      @admin={{@admin}}\\n      @conversation={{@conversation}}\\n      @isInbox={{true}}\\n      @readOnly={{true}}\\n      @hideExportButton={{@hideExportButton}}\\n      @showConversationLink={{true}}\\n      @inModal={{true}}\\n    />\\n    <div class=\\\"u__relative\\\">\\n      <Conversation::Stream::BackgroundComponent />\\n      <div class=\\\"u__relative inbox__conversations__modal-content conversation__stream\\\">\\n        <Conversation::StreamComponent\\n          @conversation={{@conversation}}\\n          class=\\\"u__relative u__3dfix\\\"\\n          @isInbox={{false}}\\n          @readOnly={{true}}\\n        />\\n      </div>\\n    </div>\\n  </modal.body>\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{@onModalClose}}\\n  @isOpen={{@isOpen}}\\n  @width=\\\"l\\\"\\n  @internalScroll={{false}}\\n  as |modal|\\n>\\n  <modal.body @fullBleed={{true}} data-test-inbox-conversations-modal>\\n    <Inbox::CardHeaderComponent\\n      @admin={{@admin}}\\n      @conversation={{@conversation}}\\n      @isInbox={{true}}\\n      @readOnly={{true}}\\n      @hideExportButton={{@hideExportButton}}\\n      @showConversationLink={{true}}\\n      @inModal={{true}}\\n    />\\n    <div class=\\\"u__relative\\\">\\n      <Conversation::Stream::BackgroundComponent />\\n      <div class=\\\"u__relative inbox__conversations__modal-content conversation__stream\\\">\\n        <Conversation::StreamComponent\\n          @conversation={{@conversation}}\\n          class=\\\"u__relative u__3dfix\\\"\\n          @isInbox={{false}}\\n          @readOnly={{true}}\\n        />\\n      </div>\\n    </div>\\n  </modal.body>\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/inbox/read-only-conversation-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/read-only-conversation-modal.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Popover\\n  @showOn={{array 'mouseenter'}}\\n  @hideOn={{array 'mouseleave' 'clickout'}}\\n  @showArrow={{true}}\\n  @placement=\\\"left\\\"\\n  @fallbackPlacements={{array 'right'}}\\n  @animation={{hash class=\\\"a__tooltip\\\"}}\\n  @onShow={{track-analytics-event\\n    action='hovered'\\n    object='remove_participant'\\n    models=(array @conversation)\\n  }}\\n  @preventOverflow={{true}}\\n  class=\\\"u__display-block\\\"\\n  as |popover|\\n>\\n  <popover.Opener>\\n    <a\\n      class=\\\"dropdown__list-item o__hoverable layout__box o__centers-vertically\\\"\\n      data-test-card-header-action=\\\"remove-participant\\\"\\n    >\\n      {{ic-interface-icon 'remove-participant' solo=true}}\\n      <span class=\\\"layout__box o__flexes-to-1 pl-2\\\">\\n        Remove person\\n      </span>\\n    </a>\\n  </popover.Opener>\\n  <popover.Content\\n    @fullBleed={{true}}\\n    class=\\\"pt-2 pb-2 inbox__conversation-header__participants-list\\\"\\n    data-test-remove-participant-popover\\n  >\\n    <div class=\\\"t__label pl-2 pr-2 pb-1\\\">\\n      Remove from conversation\\n    </div>\\n    {{#each @conversation.participants as |participant|}}\\n      <div\\n        class=\\\"layout__box o__has-columns o__centers-vertically inbox__conversation-header__participant-item\\\"\\n        data-test-remove-participant={{participant.displayAs}}\\n        {{on 'click' (queue (fn @removeParticipant participant) @hideConversationHeaderDropdown)}}\\n      >\\n        {{ic-avatar model=participant size='s'}}\\n        <span class=\\\"u__ml__10 u__mr__10 u__one-truncated-line\\\">\\n          {{participant.displayAs}}\\n        </span>\\n      </div>\\n    {{/each}}\\n  </popover.Content>\\n</Popover>\\n\", {\"contents\":\"<Popover\\n  @showOn={{array 'mouseenter'}}\\n  @hideOn={{array 'mouseleave' 'clickout'}}\\n  @showArrow={{true}}\\n  @placement=\\\"left\\\"\\n  @fallbackPlacements={{array 'right'}}\\n  @animation={{hash class=\\\"a__tooltip\\\"}}\\n  @onShow={{track-analytics-event\\n    action='hovered'\\n    object='remove_participant'\\n    models=(array @conversation)\\n  }}\\n  @preventOverflow={{true}}\\n  class=\\\"u__display-block\\\"\\n  as |popover|\\n>\\n  <popover.Opener>\\n    <a\\n      class=\\\"dropdown__list-item o__hoverable layout__box o__centers-vertically\\\"\\n      data-test-card-header-action=\\\"remove-participant\\\"\\n    >\\n      {{ic-interface-icon 'remove-participant' solo=true}}\\n      <span class=\\\"layout__box o__flexes-to-1 pl-2\\\">\\n        Remove person\\n      </span>\\n    </a>\\n  </popover.Opener>\\n  <popover.Content\\n    @fullBleed={{true}}\\n    class=\\\"pt-2 pb-2 inbox__conversation-header__participants-list\\\"\\n    data-test-remove-participant-popover\\n  >\\n    <div class=\\\"t__label pl-2 pr-2 pb-1\\\">\\n      Remove from conversation\\n    </div>\\n    {{#each @conversation.participants as |participant|}}\\n      <div\\n        class=\\\"layout__box o__has-columns o__centers-vertically inbox__conversation-header__participant-item\\\"\\n        data-test-remove-participant={{participant.displayAs}}\\n        {{on 'click' (queue (fn @removeParticipant participant) @hideConversationHeaderDropdown)}}\\n      >\\n        {{ic-avatar model=participant size='s'}}\\n        <span class=\\\"u__ml__10 u__mr__10 u__one-truncated-line\\\">\\n          {{participant.displayAs}}\\n        </span>\\n      </div>\\n    {{/each}}\\n  </popover.Content>\\n</Popover>\\n\",\"moduleName\":\"embercom/components/inbox/remove-participant-dropdown-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/remove-participant-dropdown-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n  <div class=\\\"layout__box o__flexes-to-1 o__has-columns\\\">\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <Reporting::Element::SummaryTitle\\n        @title={{title}}\\n        @titleTooltipText={{titleTooltipText}}\\n      />\\n    </div>\\n    <div class=\\\"layout__box\\\" data-test-conversation-remark-rating-dropdown>\\n      <IcSelect\\n        @items={{ratingFilterItems}}\\n        @onSelectItem={{action \\\"filterBy\\\"}}\\n        @selectedValue={{filteringBy}}\\n        @minWidthOfOverlay={{280}}\\n      />\\n    </div>\\n  </div>\\n  <div\\n    class=\\\"u__relative reporting__conversation-remarks__table-container\\\"\\n    id=\\\"js__conversation-remarks-table__outer-container\\\"\\n    data-test-conversation-remark-container\\n  >\\n    {{#if (and hasNoRatings loadRatingsTask.isRunning)}}\\n      <div class=\\\"u__center-layout overlay__cover-parent\\\">\\n        <IcLoadingIndicator @size=\\\"small\\\" />\\n      </div>\\n    {{/if}}\\n    <PaginationComponent\\n      @viewportSelector=\\\"#js__conversation-remarks-table__outer-container\\\"\\n      @scrollingContentSelector=\\\"#js__conversation-remarks-table__table\\\"\\n      @pageWhenWithinPixels={{500}}\\n      @onPageRequested={{perform nextPageTask}}\\n    >\\n      {{!-- template-lint-disable intercom/no-custom-table --}}\\n      <table\\n        id=\\\"js__conversation-remarks-table__table\\\"\\n        class=\\\"tbl tbl__reporting__table o__fit\\\"\\n      >\\n        {{!-- template-lint-enable intercom/no-custom-table --}}\\n        <thead>\\n          <tr>\\n            <th class=\\\"tbl__cell t__label o__sticky-header-cell\\\">\\n              User{{!-- or lead?--}}\\n            </th>\\n            <th\\n              class=\\\"tbl__cell t__label o__sticky-header-cell\\\"\\n              data-test-sort-by-admin-name\\n              {{action \\\"sortBy\\\" \\\"admin.name\\\"}}\\n            >\\n              <span class=\\\"t__solo-link\\\">\\n                Teammate\\n              </span>\\n              {{#if (eq sortingBy \\\"admin.name\\\")}}\\n                <span class=\\\"text-gray\\\">\\n                  {{sort-icon-pattern descending=(not sortAscending)}}\\n                </span>\\n              {{/if}}\\n            </th>\\n            <th\\n              class=\\\"tbl__cell t__label o__sticky-header-cell\\\"\\n              data-test-sort-by-rating-index\\n              {{action \\\"sortBy\\\" \\\"rating_index\\\"}}\\n            >\\n              <span class=\\\"t__solo-link\\\">\\n                Rating\\n              </span>\\n              {{#if (eq sortingBy \\\"rating_index\\\")}}\\n                <span class=\\\"text-gray\\\">\\n                  {{sort-icon-pattern descending=(not sortAscending)}}\\n                </span>\\n              {{/if}}\\n            </th>\\n            <th class=\\\"tbl__cell t__label reporting__conversation-remarks__remark-column o__sticky-header-cell\\\">\\n              Remark\\n            </th>\\n            <th class=\\\"tbl__cell t__label o__sticky-header-cell\\\"></th>\\n          </tr>\\n        </thead>\\n        <tbody class=\\\"tbl__body\\\">\\n          {{#each ratings as |rating|}}\\n            <tr data-test-conversation-remark-row>\\n              <td class=\\\"tbl__cell reporting__conversation-remarks__user-cell\\\">\\n                {{#if rating.user}}\\n                  <Common::ConditionalLinkTo\\n                    @params={{array \\\"apps.app.users.user\\\" rating.user.id}}\\n                    @linkEnabled={{linksEnabled}}\\n                    @linkToClasses=\\\"t__solo-link\\\"\\n                  >\\n                    <IcAvatarComponent\\n                      @model={{rating.userWithAvatar}}\\n                      @size=\\\"s\\\"\\n                    />\\n                    <span class=\\\"u__ml__5\\\">\\n                      {{rating.user.display_as}}\\n                    </span>\\n                  </Common::ConditionalLinkTo>\\n                  {{#if rating.user.companies}}\\n                    at\\n                    {{ic-interface-icon \\\"company\\\"}}\\n                    <Common::ConditionalLinkTo\\n                      @params={{array \\\"apps.app.companies.company\\\" rating.user.companies.firstObject.id}}\\n                      @linkEnabled={{linksEnabled}}\\n                      @linkToClasses=\\\"t__solo-link\\\"\\n                    >\\n                      {{rating.user.companies.firstObject.name}}\\n                    </Common::ConditionalLinkTo>\\n                  {{/if}}\\n              {{else}}\\n                <IcAvatarComponent\\n                  @size=\\\"s\\\"\\n                />\\n                <span class=\\\"u__ml__5\\\">\\n                  Deleted user\\n                </span>\\n              {{/if}}\\n              </td>\\n              <td class=\\\"tbl__cell\\\" data-test-remark-admin>\\n                {{#if rating.admin_id}}\\n                  <Common::ConditionalLinkTo\\n                    @params={{array \\\"apps.app.admins.admin\\\" rating.admin.id}}\\n                    @linkEnabled={{linksEnabled}}\\n                    @linkToClasses=\\\"t__solo-link\\\"\\n                  >\\n                    <IcAvatarComponent\\n                      @model={{rating.admin}}\\n                      @size=\\\"s\\\"\\n                    />\\n                    <span class=\\\"u__ml__5\\\">\\n                      {{rating.admin.name}}\\n                    </span>\\n                  </Common::ConditionalLinkTo>\\n                {{else}}\\n                  <IcAvatarComponent\\n                    @size=\\\"s\\\"\\n                  />\\n                  <span class=\\\"u__ml__5\\\">\\n                    Deleted teammate\\n                  </span>\\n                {{/if}}\\n              </td>\\n              <td\\n                class=\\\"tbl__cell\\\"\\n                data-test-remark-emoji-index=\\\"{{rating.rating_index}}\\\"\\n              >\\n                <div\\n                  class=\\\"reporting__conversation-remarks__emoji conversation-rating__rating-{{rating.rating_index}}\\\"\\n                  {{tooltip content=(full-date-and-time-helper rating.updated_at)}}\\n                ></div>\\n              </td>\\n              <td class=\\\"tbl__cell reporting__conversation-remarks__remark-cell\\\">\\n                <div class=\\\"{{unless rating.hasRemark \\\"t__light-text\\\"}}\\\">\\n                  {{if rating.hasRemark rating.remark \\\"–\\\"}}\\n                </div>\\n              </td>\\n              <td class=\\\"tbl__cell\\\">\\n                {{#if rating.conversation_id}}\\n                  <a\\n                    target=\\\"_blank\\\"\\n                    rel=\\\"noopener noreferrer\\\"\\n                    href=\\\"{{href-to \\\"apps.app.inbox.conversation\\\" rating.conversation_id}}\\\"\\n                    class=\\\"t__em-link\\\"\\n                  >\\n                    Conversation\\n                  </a>\\n                {{/if}}\\n              </td>\\n            </tr>\\n          {{else}}\\n            {{#each (repeat 5)}}\\n              <tr data-test-dummy-content-row>\\n                <td class=\\\"tbl__cell\\\">\\n                  <span>\\n                    <GhostAvatar/>{{ghost-text 100}}\\n                  </span>\\n                </td>\\n                <td class=\\\"tbl__cell\\\">\\n                  <span>\\n                    <GhostAvatar/>{{ghost-text 100}}\\n                  </span>\\n                </td>\\n                <td class=\\\"tbl__cell\\\">\\n                  {{ghost-text 20}}\\n                </td>\\n                <td class=\\\"tbl__cell\\\">\\n                  {{ghost-text 230}}\\n                </td>\\n                <td class=\\\"tbl__cell\\\"></td>\\n              </tr>\\n            {{/each}}\\n          {{/each}}\\n        </tbody>\\n      </table>\\n      {{#if nextPageTask.isRunning}}\\n        <div class=\\\"u__center-layout\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\" />\\n        </div>\\n      {{/if}}\\n    </PaginationComponent>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n  <div class=\\\"layout__box o__flexes-to-1 o__has-columns\\\">\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <Reporting::Element::SummaryTitle\\n        @title={{title}}\\n        @titleTooltipText={{titleTooltipText}}\\n      />\\n    </div>\\n    <div class=\\\"layout__box\\\" data-test-conversation-remark-rating-dropdown>\\n      <IcSelect\\n        @items={{ratingFilterItems}}\\n        @onSelectItem={{action \\\"filterBy\\\"}}\\n        @selectedValue={{filteringBy}}\\n        @minWidthOfOverlay={{280}}\\n      />\\n    </div>\\n  </div>\\n  <div\\n    class=\\\"u__relative reporting__conversation-remarks__table-container\\\"\\n    id=\\\"js__conversation-remarks-table__outer-container\\\"\\n    data-test-conversation-remark-container\\n  >\\n    {{#if (and hasNoRatings loadRatingsTask.isRunning)}}\\n      <div class=\\\"u__center-layout overlay__cover-parent\\\">\\n        <IcLoadingIndicator @size=\\\"small\\\" />\\n      </div>\\n    {{/if}}\\n    <PaginationComponent\\n      @viewportSelector=\\\"#js__conversation-remarks-table__outer-container\\\"\\n      @scrollingContentSelector=\\\"#js__conversation-remarks-table__table\\\"\\n      @pageWhenWithinPixels={{500}}\\n      @onPageRequested={{perform nextPageTask}}\\n    >\\n      {{!-- template-lint-disable intercom/no-custom-table --}}\\n      <table\\n        id=\\\"js__conversation-remarks-table__table\\\"\\n        class=\\\"tbl tbl__reporting__table o__fit\\\"\\n      >\\n        {{!-- template-lint-enable intercom/no-custom-table --}}\\n        <thead>\\n          <tr>\\n            <th class=\\\"tbl__cell t__label o__sticky-header-cell\\\">\\n              User{{!-- or lead?--}}\\n            </th>\\n            <th\\n              class=\\\"tbl__cell t__label o__sticky-header-cell\\\"\\n              data-test-sort-by-admin-name\\n              {{action \\\"sortBy\\\" \\\"admin.name\\\"}}\\n            >\\n              <span class=\\\"t__solo-link\\\">\\n                Teammate\\n              </span>\\n              {{#if (eq sortingBy \\\"admin.name\\\")}}\\n                <span class=\\\"text-gray\\\">\\n                  {{sort-icon-pattern descending=(not sortAscending)}}\\n                </span>\\n              {{/if}}\\n            </th>\\n            <th\\n              class=\\\"tbl__cell t__label o__sticky-header-cell\\\"\\n              data-test-sort-by-rating-index\\n              {{action \\\"sortBy\\\" \\\"rating_index\\\"}}\\n            >\\n              <span class=\\\"t__solo-link\\\">\\n                Rating\\n              </span>\\n              {{#if (eq sortingBy \\\"rating_index\\\")}}\\n                <span class=\\\"text-gray\\\">\\n                  {{sort-icon-pattern descending=(not sortAscending)}}\\n                </span>\\n              {{/if}}\\n            </th>\\n            <th class=\\\"tbl__cell t__label reporting__conversation-remarks__remark-column o__sticky-header-cell\\\">\\n              Remark\\n            </th>\\n            <th class=\\\"tbl__cell t__label o__sticky-header-cell\\\"></th>\\n          </tr>\\n        </thead>\\n        <tbody class=\\\"tbl__body\\\">\\n          {{#each ratings as |rating|}}\\n            <tr data-test-conversation-remark-row>\\n              <td class=\\\"tbl__cell reporting__conversation-remarks__user-cell\\\">\\n                {{#if rating.user}}\\n                  <Common::ConditionalLinkTo\\n                    @params={{array \\\"apps.app.users.user\\\" rating.user.id}}\\n                    @linkEnabled={{linksEnabled}}\\n                    @linkToClasses=\\\"t__solo-link\\\"\\n                  >\\n                    <IcAvatarComponent\\n                      @model={{rating.userWithAvatar}}\\n                      @size=\\\"s\\\"\\n                    />\\n                    <span class=\\\"u__ml__5\\\">\\n                      {{rating.user.display_as}}\\n                    </span>\\n                  </Common::ConditionalLinkTo>\\n                  {{#if rating.user.companies}}\\n                    at\\n                    {{ic-interface-icon \\\"company\\\"}}\\n                    <Common::ConditionalLinkTo\\n                      @params={{array \\\"apps.app.companies.company\\\" rating.user.companies.firstObject.id}}\\n                      @linkEnabled={{linksEnabled}}\\n                      @linkToClasses=\\\"t__solo-link\\\"\\n                    >\\n                      {{rating.user.companies.firstObject.name}}\\n                    </Common::ConditionalLinkTo>\\n                  {{/if}}\\n              {{else}}\\n                <IcAvatarComponent\\n                  @size=\\\"s\\\"\\n                />\\n                <span class=\\\"u__ml__5\\\">\\n                  Deleted user\\n                </span>\\n              {{/if}}\\n              </td>\\n              <td class=\\\"tbl__cell\\\" data-test-remark-admin>\\n                {{#if rating.admin_id}}\\n                  <Common::ConditionalLinkTo\\n                    @params={{array \\\"apps.app.admins.admin\\\" rating.admin.id}}\\n                    @linkEnabled={{linksEnabled}}\\n                    @linkToClasses=\\\"t__solo-link\\\"\\n                  >\\n                    <IcAvatarComponent\\n                      @model={{rating.admin}}\\n                      @size=\\\"s\\\"\\n                    />\\n                    <span class=\\\"u__ml__5\\\">\\n                      {{rating.admin.name}}\\n                    </span>\\n                  </Common::ConditionalLinkTo>\\n                {{else}}\\n                  <IcAvatarComponent\\n                    @size=\\\"s\\\"\\n                  />\\n                  <span class=\\\"u__ml__5\\\">\\n                    Deleted teammate\\n                  </span>\\n                {{/if}}\\n              </td>\\n              <td\\n                class=\\\"tbl__cell\\\"\\n                data-test-remark-emoji-index=\\\"{{rating.rating_index}}\\\"\\n              >\\n                <div\\n                  class=\\\"reporting__conversation-remarks__emoji conversation-rating__rating-{{rating.rating_index}}\\\"\\n                  {{tooltip content=(full-date-and-time-helper rating.updated_at)}}\\n                ></div>\\n              </td>\\n              <td class=\\\"tbl__cell reporting__conversation-remarks__remark-cell\\\">\\n                <div class=\\\"{{unless rating.hasRemark \\\"t__light-text\\\"}}\\\">\\n                  {{if rating.hasRemark rating.remark \\\"–\\\"}}\\n                </div>\\n              </td>\\n              <td class=\\\"tbl__cell\\\">\\n                {{#if rating.conversation_id}}\\n                  <a\\n                    target=\\\"_blank\\\"\\n                    rel=\\\"noopener noreferrer\\\"\\n                    href=\\\"{{href-to \\\"apps.app.inbox.conversation\\\" rating.conversation_id}}\\\"\\n                    class=\\\"t__em-link\\\"\\n                  >\\n                    Conversation\\n                  </a>\\n                {{/if}}\\n              </td>\\n            </tr>\\n          {{else}}\\n            {{#each (repeat 5)}}\\n              <tr data-test-dummy-content-row>\\n                <td class=\\\"tbl__cell\\\">\\n                  <span>\\n                    <GhostAvatar/>{{ghost-text 100}}\\n                  </span>\\n                </td>\\n                <td class=\\\"tbl__cell\\\">\\n                  <span>\\n                    <GhostAvatar/>{{ghost-text 100}}\\n                  </span>\\n                </td>\\n                <td class=\\\"tbl__cell\\\">\\n                  {{ghost-text 20}}\\n                </td>\\n                <td class=\\\"tbl__cell\\\">\\n                  {{ghost-text 230}}\\n                </td>\\n                <td class=\\\"tbl__cell\\\"></td>\\n              </tr>\\n            {{/each}}\\n          {{/each}}\\n        </tbody>\\n      </table>\\n      {{#if nextPageTask.isRunning}}\\n        <div class=\\\"u__center-layout\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\" />\\n        </div>\\n      {{/if}}\\n    </PaginationComponent>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/reporting/conversation-remarks-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/conversation-remarks-table.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { isPresent } from '@ember/utils';\nimport { A } from '@ember/array';\nimport { empty, not, none, sort } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { ternaryToProperty, valueOrDefault } from '@intercom/embercom-core/lib/computed-properties';\nimport PredicateFilterMap from 'embercom/models/data/predicate-filter-map';\nimport { buildNestedFieldFilters } from 'embercom/lib/reporting/nested-field-filters';\n\nconst SORTABLE_ATTRIBUTES = ['rating_index', 'admin.name'];\n\nconst DEFAULT_PAGE_SIZE = 50;\n\nexport default Component.extend({\n  intercomEventService: service(),\n  store: service(),\n  bootOptionsService: service(),\n\n  hasNoRatings: empty('_ratings'),\n  linksEnabled: not('bootOptionsService.embeddedContent'),\n\n  _ratings: A(),\n\n  _currentPage: 1,\n\n  _pageSize: valueOrDefault('pageSizeOverride', DEFAULT_PAGE_SIZE),\n\n  hasRenderedLastPage: false,\n\n  restartRatingsTask: task(function*() {\n    this.setProperties({\n      _ratings: A(),\n      _currentPage: 1,\n      hasRenderedLastPage: false,\n    });\n    yield this.loadRatingsTask.perform();\n  }).restartable(),\n\n  loadRatingsTask: task(function*() {\n    let params = {\n      range_start: this.range.start,\n      range_end: this.range.end,\n      page: this._currentPage,\n      per_page: this._pageSize,\n    };\n\n    let filteringBy = this.filteringBy;\n    if (isPresent(filteringBy)) {\n      params.rating_index = filteringBy;\n    }\n\n    let teammateIds = this.filters.teammate_id;\n    if (isPresent(teammateIds)) {\n      params.admin_ids = teammateIds;\n    }\n\n    let conversationTagIds = this.filters.conversation_tag_ids;\n    if (isPresent(conversationTagIds)) {\n      params.conversation_tag_ids = conversationTagIds;\n    }\n\n    //generic filters\n    let { custom_attributes, ...reportingFilters } = this.filters || {};\n    if (isPresent(reportingFilters)) {\n      params.reporting_filters = reportingFilters;\n    }\n\n    if (isPresent(custom_attributes)) {\n      let nestedFilters = buildNestedFieldFilters(custom_attributes);\n\n      if (nestedFilters) {\n        params.nested_filters = nestedFilters;\n      }\n    }\n\n    let ratings = yield this.store.query('conversation-rating', params);\n    this._ratings.addObjects(ratings);\n\n    this.set('hasRenderedLastPage', ratings.get('length') < this._pageSize);\n  }).restartable(),\n\n  nextPageTask: task(function*() {\n    if (this.hasRenderedLastPage || this.get('loadRatingsTask.isRunning')) {\n      return;\n    }\n    this.incrementProperty('_currentPage');\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'load_next_page',\n      object: 'remark_report',\n      context: `page_${this._currentPage}`,\n    });\n    yield this.loadRatingsTask.perform();\n  }).drop(),\n\n  filteringBy: null,\n\n  ratingFilterItems: computed(function() {\n    return PredicateFilterMap.last_conversation_rating_given.data.reduce(\n      (ratingItems, rating) => [\n        ...ratingItems,\n        { text: `${rating.emoji} ${rating.label}`, value: rating.value },\n      ],\n      [{ text: 'All ratings', value: null }],\n    );\n  }),\n\n  sortingBy: null,\n  notSorting: none('sortingBy'),\n\n  sortAscending: true,\n  sortKey: computed('sortingBy', 'sortAscending', function() {\n    return [this.sortingBy + (this.sortAscending ? '' : ':desc')];\n  }),\n\n  sortedRatings: sort('_ratings.[]', 'sortKey'),\n  ratings: ternaryToProperty('notSorting', '_ratings', 'sortedRatings'),\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.restartRatingsTask.perform();\n  },\n\n  actions: {\n    sortBy(attribute) {\n      if (!SORTABLE_ATTRIBUTES.includes(attribute)) {\n        return;\n      }\n\n      if (attribute === this.sortingBy) {\n        this.toggleProperty('sortAscending');\n      } else {\n        this.setProperties({\n          sortingBy: attribute,\n          sortAscending: true,\n        });\n      }\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'sort',\n        object: 'remark_report',\n        context: `by_${this.sortingBy}_${this.sortAscending ? 'asc' : 'desc'}`,\n      });\n    },\n    filterBy(rating) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'filtered_by_rating',\n        object: 'remark_report',\n        context: `by_${rating}`,\n      });\n      this.set('filteringBy', rating);\n      this.restartRatingsTask.perform();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<PulseCandidate::SideDrawer\\n  @onClose={{this.onClose}}\\n  @isOpen={{@showSideDrawer}}\\n  @onHideBanner={{set this.hideBanner true}} as |drawer|\\n>\\n  {{#if this.showBanner}}\\n    <drawer.Banner>\\n      Conversation tags have changed. Reload to see the latest report.\\n    </drawer.Banner>\\n  {{/if}}\\n  <drawer.Header>\\n    Tagged conversations based on {{pluralize this.currentFilterCount \\\"selected filter\\\"}}\\n  </drawer.Header>\\n  <drawer.Body>\\n    {{#if (or\\n      (and this.haveFetchedConversationIds (eq this.conversationIds.length 0))\\n      (and this.haveFetchedConversationContent (eq this.conversations.length 0))\\n    )}}\\n      <IcEmptyState data-test-empty-state-no-convos @title=\\\"No tagged conversations match\\\" @icon=\\\"tag\\\" />\\n    {{else}}\\n    <Conversation::CardListComponent\\n      @app={{@app}}\\n      @admin={{@app.currentAdmin}}\\n      @requestPage={{this.loadConversationsPage}}\\n      @conversations={{this.conversations}}\\n      @viewportSelector=\\\".side-drawer__body\\\"\\n      @readOnly={{true}}\\n      data-test-conversation-list\\n    />\\n    <div\\n      class=\\\"u__center-layout p-3 {{if\\n        (not\\n          (or\\n            this.fetchConversationsData.isRunning\\n            this.fetchConversationIds.isRunning\\n          )\\n        )\\n        'u__invisible'\\n      }}\\\"\\n    >\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    </div>\\n    {{/if}}\\n  </drawer.Body>\\n</PulseCandidate::SideDrawer>\\n\", {\"contents\":\"<PulseCandidate::SideDrawer\\n  @onClose={{this.onClose}}\\n  @isOpen={{@showSideDrawer}}\\n  @onHideBanner={{set this.hideBanner true}} as |drawer|\\n>\\n  {{#if this.showBanner}}\\n    <drawer.Banner>\\n      Conversation tags have changed. Reload to see the latest report.\\n    </drawer.Banner>\\n  {{/if}}\\n  <drawer.Header>\\n    Tagged conversations based on {{pluralize this.currentFilterCount \\\"selected filter\\\"}}\\n  </drawer.Header>\\n  <drawer.Body>\\n    {{#if (or\\n      (and this.haveFetchedConversationIds (eq this.conversationIds.length 0))\\n      (and this.haveFetchedConversationContent (eq this.conversations.length 0))\\n    )}}\\n      <IcEmptyState data-test-empty-state-no-convos @title=\\\"No tagged conversations match\\\" @icon=\\\"tag\\\" />\\n    {{else}}\\n    <Conversation::CardListComponent\\n      @app={{@app}}\\n      @admin={{@app.currentAdmin}}\\n      @requestPage={{this.loadConversationsPage}}\\n      @conversations={{this.conversations}}\\n      @viewportSelector=\\\".side-drawer__body\\\"\\n      @readOnly={{true}}\\n      data-test-conversation-list\\n    />\\n    <div\\n      class=\\\"u__center-layout p-3 {{if\\n        (not\\n          (or\\n            this.fetchConversationsData.isRunning\\n            this.fetchConversationIds.isRunning\\n          )\\n        )\\n        'u__invisible'\\n      }}\\\"\\n    >\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    </div>\\n    {{/if}}\\n  </drawer.Body>\\n</PulseCandidate::SideDrawer>\\n\",\"moduleName\":\"embercom/components/inbox/reporting/conversations-side-drawer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/conversations-side-drawer.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { task } from 'ember-concurrency-decorators';\nimport { post } from 'embercom/lib/ajax';\n\nexport default class ConversationsSideDrawer extends Component {\n  @service store;\n  @tracked hideBanner = false;\n  @tracked conversationIds = [];\n  @tracked conversations = [];\n  @tracked currentFilterCount = 0;\n  @tracked haveFetchedConversationContent = false;\n  @tracked haveFetchedConversationIds = false;\n\n  page = 1;\n  pageSize = 10;\n  maxResults = 100; // from max results on conversations/ids_by_filters endpoint\n\n  get showBanner() {\n    let idsDontMatchChartCount =\n      (this.args.conversationsChartCount <= this.maxResults &&\n        this.conversationIds.length !== this.args.conversationsChartCount) ||\n      (this.args.conversationsChartCount > this.maxResults &&\n        this.conversationIds.length < this.maxResults);\n\n    return !this.hideBanner && this.haveFetchedConversationIds && idsDontMatchChartCount;\n  }\n\n  @action\n  loadConversationsPage() {\n    this.fetchConversationsData.perform();\n  }\n\n  @task\n  *fetchConversationsData() {\n    if (this.conversationIds.length === 0) {\n      yield this.fetchConversationIds.perform();\n    }\n\n    if (this.conversationIds.length === 0 && this.haveFetchedConversationIds) {\n      return;\n    }\n\n    if (this.page > 1) {\n      this.args.triggerAnalyticsEvent({\n        action: 'paginated',\n        object: 'conversations_list',\n        page: this.page,\n      });\n    }\n\n    let start = (this.page - 1) * this.pageSize;\n    let end = start + this.pageSize;\n    if (start >= this.conversationIds.length) {\n      return;\n    }\n\n    let response = yield post('/ember/reporting/conversations/content', {\n      app_id: this.args.app.id,\n      conversation_ids: this.conversationIds.slice(start, end),\n    });\n\n    this.store.pushPayload({\n      conversations: response,\n    });\n\n    this.conversations.pushObjects(response.map(c => this.store.peekRecord('conversation', c.id)));\n    this.page += 1;\n    this.haveFetchedConversationContent = true;\n  }\n\n  @task\n  *fetchConversationIds() {\n    this.currentFilterCount = this.args.globalFilters.length;\n\n    let eventType = this.args.filtersIncludeTeammates\n      ? 'conversation_teammate_reply'\n      : 'conversation_created';\n\n    let params = {\n      app_id: this.args.app.id,\n      aggregation_type: 'cardinality',\n      aggregation_field: 'conversation.id',\n      range_field: 'conversation.created_at',\n      range_start: this.args.range.start,\n      range_end: this.args.range.end,\n      sorting_field: { 'conversation.id': { order: 'desc' } },\n      filters: {\n        generic_filters: [['event.type', eventType]],\n        exists_fields: ['current.conversation.started_at', 'current.conversation.tag_ids'],\n        list_filters: this.args.globalFilters,\n      },\n    };\n\n    let response = yield post('/ember/reporting/conversations/ids_by_filters', params);\n\n    this.conversationIds = response;\n    this.haveFetchedConversationIds = true;\n  }\n\n  @action\n  onClose() {\n    this.fetchConversationIds.cancelAll();\n    this.fetchConversationsData.cancelAll();\n    this.args.onClose();\n    this.hideBanner = false;\n    this.conversations = [];\n    this.currentFilterCount = 0;\n    this.conversationIds = [];\n    this.haveFetchedConversationContent = false;\n    this.haveFetchedConversationIds = false;\n    this.page = 1;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__cf u__padt__20 u__padb__10\\\">\\n  <div class=\\\"u__left\\\">\\n    <Reporting::Element::SummaryTitle\\n      @title={{title}}\\n      @titleTooltipText={{titleTooltipText}}\\n    />\\n  </div>\\n  {{#if hasAdditionalSelections}}\\n    <div class=\\\"u__right\\\">\\n      <IcMultiselect\\n        @label={{dropdownLabel}}\\n        @items={{additionalSelectionOptions}}\\n        @onSelectionChange={{action (mut selected)}}\\n        @limit={{3}}\\n        @hasFilter={{true}}\\n        @filterPlaceholder=\\\"deal...\\\"\\n      />\\n    </div>\\n  {{/if}}\\n</div>\\n{{#if (gt rows.length 0)}}\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <IcLegacyTable\\n    class=\\\"tbl__reporting__table\\\"\\n    @inline={{true}}\\n    @columns={{columns}}\\n    @rows={{rows}}\\n    @height=\\\"auto\\\"\\n  />\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n{{else}}\\n  <Reporting::EmptyState::Table @columns={{columns}} />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__cf u__padt__20 u__padb__10\\\">\\n  <div class=\\\"u__left\\\">\\n    <Reporting::Element::SummaryTitle\\n      @title={{title}}\\n      @titleTooltipText={{titleTooltipText}}\\n    />\\n  </div>\\n  {{#if hasAdditionalSelections}}\\n    <div class=\\\"u__right\\\">\\n      <IcMultiselect\\n        @label={{dropdownLabel}}\\n        @items={{additionalSelectionOptions}}\\n        @onSelectionChange={{action (mut selected)}}\\n        @limit={{3}}\\n        @hasFilter={{true}}\\n        @filterPlaceholder=\\\"deal...\\\"\\n      />\\n    </div>\\n  {{/if}}\\n</div>\\n{{#if (gt rows.length 0)}}\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <IcLegacyTable\\n    class=\\\"tbl__reporting__table\\\"\\n    @inline={{true}}\\n    @columns={{columns}}\\n    @rows={{rows}}\\n    @height=\\\"auto\\\"\\n  />\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n{{else}}\\n  <Reporting::EmptyState::Table @columns={{columns}} />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/reporting/deals-influenced-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/deals-influenced-table.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport ParseMultiSignal from 'embercom/lib/reporting/multi-signal-parsing';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport moment from 'moment';\nimport ResolveAllPromises from 'embercom/lib/resolve-all-promises';\nimport { gt } from '@ember/object/computed';\n\nconst TOP_PERFORMERS_COUNT = 5;\n\nexport default Component.extend({\n  store: service(),\n  normalized: [],\n  selected: [],\n  allColumns: [\n    {\n      label: 'Deal',\n      propertyName: 'opportunity_name',\n      canExpandToFit: true,\n      valueComponent: 'inbox/reporting/performance-table-fields/business',\n    },\n    {\n      label: 'Conversations',\n      propertyName: 'conversations_created',\n    },\n    {\n      label: 'Response Time',\n      propertyName: 'median_first_response_time',\n      valueComponent: 'inbox/reporting/performance-table-fields/minutes',\n      description: 'Median First Response Time',\n      maxWidth: 100,\n    },\n    {\n      label: 'Time to close',\n      propertyName: 'time_diff',\n      valueComponent: 'inbox/reporting/performance-table-fields/minutes',\n      maxWidth: 100,\n    },\n    {\n      label: 'Date closed',\n      propertyName: 'opportunity_closed_at',\n      valueComponent: 'inbox/reporting/performance-table-fields/date',\n    },\n    {\n      label: 'Deal worth',\n      propertyName: 'closed_won',\n      valueComponent: 'inbox/reporting/performance-table-fields/currency',\n    },\n  ],\n\n  columns: computed('filteredByAdmin', function() {\n    let adminColumn = {\n      label: 'Owner',\n      propertyName: 'person',\n      valueComponent: 'inbox/reporting/performance-table-fields/admin-firstname',\n    };\n    let cols = this.allColumns.slice();\n    if (!this.filteredByAdmin) {\n      cols.splice(1, 0, adminColumn);\n    }\n    return cols;\n  }),\n\n  async formatRow(row) {\n    let person = {};\n    if (!this.filteredByAdmin) {\n      person = await this.store.findRecord('admin', row.owner_id);\n    }\n    let time_diff = (moment(row.opportunity_closed_at) - moment(row.opportunity_created_at)) / 1000;\n    return {\n      ...row,\n      time_diff,\n      person,\n    };\n  },\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.setUpRows.perform();\n  },\n\n  setUpRows: task(function*() {\n    let current = this.get('signal.current.context');\n    let previous = this.get('signal.previous.context');\n    let merged = ParseMultiSignal(current, previous);\n    let formattedRows = merged.map(row => this.formatRow(row));\n    Promise.all(ResolveAllPromises(formattedRows)).then(resolved => {\n      this.set(\n        'normalized',\n        resolved.filter(r => r.resolved).map(r => r.value),\n      );\n    });\n    yield;\n  }),\n\n  topPages: computed('normalized', function() {\n    return this.normalized.slice(0, TOP_PERFORMERS_COUNT);\n  }),\n\n  hasAdditionalSelections: gt('additionalSelectionOptions.firstObject.items.length', 0),\n\n  additionalSelectionOptions: computed('topPages', 'normalized', function() {\n    let top = this.topPages;\n    let fields = this.normalized.filter(row => !top.includes(row));\n    return [\n      {\n        items: fields.map(row => {\n          return {\n            text: row.opportunity_name,\n            value: row,\n          };\n        }),\n      },\n    ];\n  }),\n\n  rows: computed('topPages', 'selected', function() {\n    let top = this.topPages;\n    let additionalRows = this.selected;\n    return top.concat(additionalRows);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::EmptyState::LineChart>\\n  <p>You haven't had any conversations<br />with leads yet</p>\\n  <Pulse::HelpContent::Link\\n    @href=\\\"https://www.intercom.com/help/engaging-your-users-and-visitors/automatically-message-visitors-on-your-website\\\"\\n    @title=\\\"How to write engaging visitor auto messages\\\"\\n    @type=\\\"article\\\"\\n  />\\n</Reporting::EmptyState::LineChart>\\n\", {\"contents\":\"<Reporting::EmptyState::LineChart>\\n  <p>You haven't had any conversations<br />with leads yet</p>\\n  <Pulse::HelpContent::Link\\n    @href=\\\"https://www.intercom.com/help/engaging-your-users-and-visitors/automatically-message-visitors-on-your-website\\\"\\n    @title=\\\"How to write engaging visitor auto messages\\\"\\n    @type=\\\"article\\\"\\n  />\\n</Reporting::EmptyState::LineChart>\\n\",\"moduleName\":\"embercom/components/inbox/reporting/empty-state/lead-sources.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/empty-state/lead-sources.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"reporting__empty-state reporting__empty-state__salesforce\\\" data-test-empty-state-salesforce>\\n  <p class=\\\"u__padt__60\\\">You don't have the Salesforce integration yet</p>\\n  <a href=\\\"{{href-to 'apps.app.appstore' (query-params app_package_code=\\\"salesforce-by-intercom\\\")}}\\\">Get the Salesforce app</a>\\n</div>\\n\", {\"contents\":\"<div class=\\\"reporting__empty-state reporting__empty-state__salesforce\\\" data-test-empty-state-salesforce>\\n  <p class=\\\"u__padt__60\\\">You don't have the Salesforce integration yet</p>\\n  <a href=\\\"{{href-to 'apps.app.appstore' (query-params app_package_code=\\\"salesforce-by-intercom\\\")}}\\\">Get the Salesforce app</a>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/reporting/empty-state/salesforce-inline.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/empty-state/salesforce-inline.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::EmptyState::NoDataCta\\n  @image=\\\"/assets/images/reporting/empty-state-small\\\"\\n  @body=\\\"Connect with your Salesforce account to see how Intercom is contributing to your opportunities\\\"\\n>\\n  <a\\n    href={{href-to \\\"apps.app.appstore\\\" (query-params app_package_code=\\\"salesforce-by-intercom\\\")}}\\n    class=\\\"reporting__empty-state__button-link u__mr__10\\\"\\n  >\\n    <IcButton @label=\\\"Install Salesforce\\\" @type=\\\"primary\\\" />\\n  </a>\\n  <Pulse::HelpContent::Link\\n    @href=\\\"https://www.intercom.com/help/apps-in-intercom/apps/salesforce-app\\\"\\n    @title=\\\"Learn more\\\"\\n    @type=\\\"article\\\"\\n  />\\n</Reporting::EmptyState::NoDataCta>\\n\", {\"contents\":\"<Reporting::EmptyState::NoDataCta\\n  @image=\\\"/assets/images/reporting/empty-state-small\\\"\\n  @body=\\\"Connect with your Salesforce account to see how Intercom is contributing to your opportunities\\\"\\n>\\n  <a\\n    href={{href-to \\\"apps.app.appstore\\\" (query-params app_package_code=\\\"salesforce-by-intercom\\\")}}\\n    class=\\\"reporting__empty-state__button-link u__mr__10\\\"\\n  >\\n    <IcButton @label=\\\"Install Salesforce\\\" @type=\\\"primary\\\" />\\n  </a>\\n  <Pulse::HelpContent::Link\\n    @href=\\\"https://www.intercom.com/help/apps-in-intercom/apps/salesforce-app\\\"\\n    @title=\\\"Learn more\\\"\\n    @type=\\\"article\\\"\\n  />\\n</Reporting::EmptyState::NoDataCta>\\n\",\"moduleName\":\"embercom/components/inbox/reporting/empty-state/salesforce.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/empty-state/salesforce.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcTooltip\\n  @isDisabled={{or @row.disabled (not @column.tooltip)}}\\n  as |t|\\n>\\n  <t.opener>\\n    <IcButton\\n      @type={{or @column.buttonType \\\"secondary\\\"}}\\n      @onClick={{action\\n        (get @tableActions @column.action)\\n        (get @row @column.propertyName)\\n      }}\\n      data-test-reporting-table-button={{true}}\\n      @disabled={{@row.disabled}}\\n      @icon={{@column.buttonIcon}}\\n      @label={{@column.buttonLabel}}\\n    />\\n  </t.opener>\\n  <t.content>\\n    {{@column.tooltip}}\\n  </t.content>\\n</IcTooltip>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcTooltip\\n  @isDisabled={{or @row.disabled (not @column.tooltip)}}\\n  as |t|\\n>\\n  <t.opener>\\n    <IcButton\\n      @type={{or @column.buttonType \\\"secondary\\\"}}\\n      @onClick={{action\\n        (get @tableActions @column.action)\\n        (get @row @column.propertyName)\\n      }}\\n      data-test-reporting-table-button={{true}}\\n      @disabled={{@row.disabled}}\\n      @icon={{@column.buttonIcon}}\\n      @label={{@column.buttonLabel}}\\n    />\\n  </t.opener>\\n  <t.content>\\n    {{@column.tooltip}}\\n  </t.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/inbox/reporting/people-report-table-fields/button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/people-report-table-fields/button.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Common::ConditionalLinkTo\\n  @params={{array \\\"apps.app.admins.admin\\\" @row.person.id}}\\n  @linkEnabled={{@linkEnabled}}\\n>\\n  <div class=\\\"flex items-start\\\">\\n    {{ic-avatar model=@row.person size=\\\"s\\\"}}\\n    <div class=\\\"flex-auto min-w-0 u__ml__10\\\">\\n      <IcTooltip as |context|>\\n        <context.opener>\\n          {{@row.person.first_name}}\\n        </context.opener>\\n        <context.content>\\n          {{@row.person.name}}\\n        </context.content>\\n      </IcTooltip>\\n    </div>\\n  </div>\\n</Common::ConditionalLinkTo>\\n\", {\"contents\":\"<Common::ConditionalLinkTo\\n  @params={{array \\\"apps.app.admins.admin\\\" @row.person.id}}\\n  @linkEnabled={{@linkEnabled}}\\n>\\n  <div class=\\\"flex items-start\\\">\\n    {{ic-avatar model=@row.person size=\\\"s\\\"}}\\n    <div class=\\\"flex-auto min-w-0 u__ml__10\\\">\\n      <IcTooltip as |context|>\\n        <context.opener>\\n          {{@row.person.first_name}}\\n        </context.opener>\\n        <context.content>\\n          {{@row.person.name}}\\n        </context.content>\\n      </IcTooltip>\\n    </div>\\n  </div>\\n</Common::ConditionalLinkTo>\\n\",\"moduleName\":\"embercom/components/inbox/reporting/performance-table-fields/admin-firstname.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/performance-table-fields/admin-firstname.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Common::ConditionalLinkTo\\n  @params={{array \\\"apps.app.admins.admin\\\" @row.person.id}}\\n  @linkEnabled={{@linkEnabled}}\\n>\\n  <div class=\\\"flex items-start\\\">\\n    {{ic-avatar model=@row.person size=\\\"s\\\"}}\\n    <div class=\\\"flex-auto min-w-0 u__ml__10\\\">\\n      {{@row.person.name}}\\n    </div>\\n  </div>\\n</Common::ConditionalLinkTo>\\n\", {\"contents\":\"<Common::ConditionalLinkTo\\n  @params={{array \\\"apps.app.admins.admin\\\" @row.person.id}}\\n  @linkEnabled={{@linkEnabled}}\\n>\\n  <div class=\\\"flex items-start\\\">\\n    {{ic-avatar model=@row.person size=\\\"s\\\"}}\\n    <div class=\\\"flex-auto min-w-0 u__ml__10\\\">\\n      {{@row.person.name}}\\n    </div>\\n  </div>\\n</Common::ConditionalLinkTo>\\n\",\"moduleName\":\"embercom/components/inbox/reporting/performance-table-fields/admin-fullname.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/performance-table-fields/admin-fullname.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{ic-interface-icon \\\"city\\\" solo=true}}\\n<IcTooltip @isInteractive={{true}} as |context|>\\n  <context.opener>\\n    {{truncate-string (get @row @column.propertyName) 25}}\\n  </context.opener>\\n  <context.content class=\\\"reporting__report-table__tooltip\\\">\\n    {{get @row @column.propertyName}}\\n  </context.content>\\n</IcTooltip>\\n\", {\"contents\":\"{{ic-interface-icon \\\"city\\\" solo=true}}\\n<IcTooltip @isInteractive={{true}} as |context|>\\n  <context.opener>\\n    {{truncate-string (get @row @column.propertyName) 25}}\\n  </context.opener>\\n  <context.content class=\\\"reporting__report-table__tooltip\\\">\\n    {{get @row @column.propertyName}}\\n  </context.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/inbox/reporting/performance-table-fields/business.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/performance-table-fields/business.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{currency-formatter-helper (multiply @row.closed_won 100) 0 false true}}\\n<span class=\\\"text-gray\\\" data-test-closed-won-conversion>\\n  ({{format-percentage-reports (multiply (div @row.closed_won @row.pipeline) 100)}})\\n</span>\\n<Reporting::Element::SummaryComparison\\n  data-test-closed-won-delta\\n  @valueUnit={{if (eq @format \\\"dollars\\\") \\\"dollars\\\" undefined}}\\n  @currentValue={{@row.closed_won}}\\n  @previousValue={{@row.prev_closed_won}}\\n  @showNotChangedText={{false}}\\n  @smallArrow={{true}}\\n/>\\n\", {\"contents\":\"{{currency-formatter-helper (multiply @row.closed_won 100) 0 false true}}\\n<span class=\\\"text-gray\\\" data-test-closed-won-conversion>\\n  ({{format-percentage-reports (multiply (div @row.closed_won @row.pipeline) 100)}})\\n</span>\\n<Reporting::Element::SummaryComparison\\n  data-test-closed-won-delta\\n  @valueUnit={{if (eq @format \\\"dollars\\\") \\\"dollars\\\" undefined}}\\n  @currentValue={{@row.closed_won}}\\n  @previousValue={{@row.prev_closed_won}}\\n  @showNotChangedText={{false}}\\n  @smallArrow={{true}}\\n/>\\n\",\"moduleName\":\"embercom/components/inbox/reporting/performance-table-fields/closed-won.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/performance-table-fields/closed-won.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{currency-formatter-helper (multiply (get @row @column.propertyName) 100) 0 false true}}\\n\", {\"contents\":\"{{currency-formatter-helper (multiply (get @row @column.propertyName) 100) 0 false true}}\\n\",\"moduleName\":\"embercom/components/inbox/reporting/performance-table-fields/currency.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/performance-table-fields/currency.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{format-date date=(get @row @column.propertyName) format='dateWithoutYear'}}\\n\", {\"contents\":\"{{format-date date=(get @row @column.propertyName) format='dateWithoutYear'}}\\n\",\"moduleName\":\"embercom/components/inbox/reporting/performance-table-fields/date.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/performance-table-fields/date.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (eq (get @row @column.propertyName) 'NaN') }}\\n  -\\n{{else}}\\n  {{minutes-formatter (div (get @row @column.propertyName) 60)}}\\n{{/if}}\\n\", {\"contents\":\"{{#if (eq (get @row @column.propertyName) 'NaN') }}\\n  -\\n{{else}}\\n  {{minutes-formatter (div (get @row @column.propertyName) 60)}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/reporting/performance-table-fields/minutes.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/performance-table-fields/minutes.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<LinkTo\\n  @route=\\\"apps.app.reports.inbox.performance.sales\\\"\\n  @query={{hash teammateId=@row.person.id}}\\n  @classNames=\\\"t__em-link\\\"\\n>\\n  Report\\n</LinkTo>\\n\", {\"contents\":\"<LinkTo\\n  @route=\\\"apps.app.reports.inbox.performance.sales\\\"\\n  @query={{hash teammateId=@row.person.id}}\\n  @classNames=\\\"t__em-link\\\"\\n>\\n  Report\\n</LinkTo>\\n\",\"moduleName\":\"embercom/components/inbox/reporting/performance-table-fields/report-link.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/performance-table-fields/report-link.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip @isInteractive={{true}} as |context|>\\n  <context.opener>\\n    {{truncate-string (get @row @column.propertyName) 25}}\\n  </context.opener>\\n  <context.content class=\\\"reporting__report-table__tooltip\\\">\\n    {{get @row @column.propertyName}}\\n  </context.content>\\n</IcTooltip>\\n\", {\"contents\":\"<IcTooltip @isInteractive={{true}} as |context|>\\n  <context.opener>\\n    {{truncate-string (get @row @column.propertyName) 25}}\\n  </context.opener>\\n  <context.content class=\\\"reporting__report-table__tooltip\\\">\\n    {{get @row @column.propertyName}}\\n  </context.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/inbox/reporting/performance-table-fields/title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/performance-table-fields/title.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip\\n  @isInteractive={{true}}\\n  data-test-url-field\\n  as |context|\\n>\\n  <context.opener>\\n    {{format-url (get @row @column.propertyName) 200}}\\n  </context.opener>\\n  <context.content class=\\\"reporting__report-table__tooltip\\\">\\n    {{get @row @column.propertyName}}\\n  </context.content>\\n</IcTooltip>\\n\", {\"contents\":\"<IcTooltip\\n  @isInteractive={{true}}\\n  data-test-url-field\\n  as |context|\\n>\\n  <context.opener>\\n    {{format-url (get @row @column.propertyName) 200}}\\n  </context.opener>\\n  <context.content class=\\\"reporting__report-table__tooltip\\\">\\n    {{get @row @column.propertyName}}\\n  </context.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/inbox/reporting/performance-table-fields/url.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/performance-table-fields/url.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @id=\\\"time-to-response-per-hour\\\"\\n  @title=\\\"time to response per hour\\\"\\n  @chartComponent=\\\"reporting/flexible/heatmap\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @dashboard={{@dashboard}}\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @viewConfig={{this.viewConfig}}\\n  @dataTestName=\\\"flexible-responsiveness-heatmap\\\"\\n/>\\n\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @id=\\\"time-to-response-per-hour\\\"\\n  @title=\\\"time to response per hour\\\"\\n  @chartComponent=\\\"reporting/flexible/heatmap\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @dashboard={{@dashboard}}\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @viewConfig={{this.viewConfig}}\\n  @dataTestName=\\\"flexible-responsiveness-heatmap\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/inbox/reporting/responsiveness-heatmap.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/responsiveness-heatmap.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport { officeHoursField } from 'embercom/lib/reporting/office-hours-field';\nimport {\n  MEDIAN,\n  CONVERSATION_CREATED_AT,\n  TEAMMATE_RESPONSE_TIME,\n  COMMENT_CREATED_AT_DAY_OF_WEEK,\n} from 'embercom/lib/reporting/flexible/constants';\n\nexport default class ResponsivenessHeatmapComponent extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.aggregations = { defaultOption: MEDIAN };\n    viewConfig.groupings = { defaultOption: GROUPINGS[COMMENT_CREATED_AT_DAY_OF_WEEK] };\n    viewConfig.formatUnit = { unit: units.minute, displayUnit: units.minute };\n\n    return viewConfig;\n  }\n  get dataConfig() {\n    return {\n      yAxis: {\n        type: 'temporal',\n        data: {\n          interval: 'hour_of_day',\n          property: 'comment_created_at',\n        },\n      },\n      xAxis: {\n        name: 'comment_created_at_day',\n        type: 'temporal',\n        data: {\n          interval: 'day_of_week',\n          property: 'comment_created_at',\n        },\n      },\n      series: [\n        {\n          name: 'responsiveness_median_heatmap',\n          source: 'teammate_response',\n          type: MEDIAN,\n          data: {\n            property: officeHoursField(TEAMMATE_RESPONSE_TIME, this.args.excludeOooHours),\n            value: 50,\n          },\n          time: {\n            property: CONVERSATION_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table class=\\\"tbl o__fit tbl__reporting__table u__mt__0 u__mb__0\\\">\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <thead>\\n    <tr>\\n      <th class=\\\"tbl__cell t__label\\\">Target</th>\\n      <th class=\\\"tbl__cell t__label\\\">Hit rate</th>\\n      <th class=\\\"tbl__cell t__label\\\">Misses</th>\\n      <th class=\\\"tbl__cell t__label\\\">Average wait time after miss</th>\\n    </tr>\\n  </thead>\\n  <tbody class=\\\"tbl__body\\\">\\n    {{#if (not @showEmptyState)}}\\n      {{#if (or @sla.firstReplyTimeInSeconds @forceEmpty)}}\\n        <tr>\\n          <td class=\\\"tbl__cell\\\">\\n            <p class=\\\"u__mt__5\\\">\\n              First response time\\n            </p>\\n            <p class=\\\"t__light-text u__mb__5\\\">\\n              {{if @forceEmpty \\\"-\\\" (seconds-formatter @sla.firstReplyTimeInSeconds)}}\\n            </p>\\n          </td>\\n          <td class=\\\"tbl__cell\\\">\\n            <Reporting::Element::ComparisonStatistic\\n              class=\\\"u__mt__5 u__mb__5\\\"\\n              @showData={{true}}\\n              @currentValue={{firstReplyHitRate.value}}\\n              @previousValue={{firstReplyHitRate.previousValue}}\\n              @range={{@range}}\\n              @unit=\\\"percent\\\"\\n              @statType=\\\"%\\\"\\n              @improvementDirection=\\\"increasing\\\"\\n              @size=\\\"small\\\"\\n              @forceEmpty={{@forceEmpty}}\\n            />\\n          </td>\\n          <td class=\\\"tbl__cell\\\">\\n            <Reporting::Element::ComparisonStatistic\\n              class=\\\"u__mt__5 u__mb__5\\\"\\n              @showData={{true}}\\n              @currentValue={{@firstReplyMisses.value}}\\n              @previousValue={{@firstReplyMisses.previousValue}}\\n              @range={{@range}}\\n              @improvementDirection=\\\"decreasing\\\"\\n              @size=\\\"small\\\"\\n              @forceEmpty={{@forceEmpty}}\\n            />\\n          </td>\\n          <td class=\\\"tbl__cell\\\">\\n            <Reporting::Element::ComparisonStatistic\\n              class=\\\"u__mt__5 u__mb__5\\\"\\n              @showData={{true}}\\n              @currentValue={{@waitTimeByType.value.firstReplyTime}}\\n              @previousValue={{@waitTimeByType.previousValue.firstReplyTime}}\\n              @range={{@range}}\\n              @unit=\\\"minute\\\"\\n              @improvementDirection=\\\"decreasing\\\"\\n              @size=\\\"small\\\"\\n              @forceEmpty={{@forceEmpty}}\\n            />\\n          </td>\\n        </tr>\\n      {{/if}}\\n      {{#if (or @sla.nextReplyTimeInSeconds @forceEmpty)}}\\n        <tr>\\n          <td class=\\\"tbl__cell\\\">\\n            <p class=\\\"u__mt__5\\\">\\n              Next response time\\n            </p>\\n            <p class=\\\"t__light-text u__mb__5\\\">\\n              {{if @forceEmpty \\\"-\\\" (seconds-formatter @sla.nextReplyTimeInSeconds)}}\\n            </p>\\n          </td>\\n          <td class=\\\"tbl__cell\\\">\\n            <Reporting::Element::ComparisonStatistic\\n              class=\\\"u__mt__5 u__mb__5\\\"\\n              @showData={{true}}\\n              @currentValue={{nextReplyHitRate.value}}\\n              @previousValue={{nextReplyHitRate.previousValue}}\\n              @range={{@range}}\\n              @unit=\\\"percent\\\"\\n              @statType=\\\"%\\\"\\n              @improvementDirection=\\\"increasing\\\"\\n              @size=\\\"small\\\"\\n              @forceEmpty={{@forceEmpty}}\\n            />\\n          </td>\\n          <td class=\\\"tbl__cell\\\">\\n            <Reporting::Element::ComparisonStatistic\\n              class=\\\"u__mt__5 u__mb__5\\\"\\n              @showData={{true}}\\n              @currentValue={{@nextReplyMisses.value}}\\n              @previousValue={{@nextReplyMisses.previousValue}}\\n              @range={{@range}}\\n              @improvementDirection=\\\"decreasing\\\"\\n              @size=\\\"small\\\"\\n              @forceEmpty={{@forceEmpty}}\\n            />\\n          </td>\\n          <td class=\\\"tbl__cell\\\">\\n            <Reporting::Element::ComparisonStatistic\\n              class=\\\"u__mt__5 u__mb__5\\\"\\n              @showData={{true}}\\n              @currentValue={{@waitTimeByType.value.nextReplyTime}}\\n              @previousValue={{@waitTimeByType.previousValue.nextReplyTime}}\\n              @range={{@range}}\\n              @unit=\\\"minute\\\"\\n              @improvementDirection=\\\"decreasing\\\"\\n              @size=\\\"small\\\"\\n              @forceEmpty={{@forceEmpty}}\\n            />\\n          </td>\\n        </tr>\\n      {{/if}}\\n    {{/if}}\\n  </tbody>\\n</table>\\n{{#if @showEmptyState}}\\n  {{yield}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table class=\\\"tbl o__fit tbl__reporting__table u__mt__0 u__mb__0\\\">\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <thead>\\n    <tr>\\n      <th class=\\\"tbl__cell t__label\\\">Target</th>\\n      <th class=\\\"tbl__cell t__label\\\">Hit rate</th>\\n      <th class=\\\"tbl__cell t__label\\\">Misses</th>\\n      <th class=\\\"tbl__cell t__label\\\">Average wait time after miss</th>\\n    </tr>\\n  </thead>\\n  <tbody class=\\\"tbl__body\\\">\\n    {{#if (not @showEmptyState)}}\\n      {{#if (or @sla.firstReplyTimeInSeconds @forceEmpty)}}\\n        <tr>\\n          <td class=\\\"tbl__cell\\\">\\n            <p class=\\\"u__mt__5\\\">\\n              First response time\\n            </p>\\n            <p class=\\\"t__light-text u__mb__5\\\">\\n              {{if @forceEmpty \\\"-\\\" (seconds-formatter @sla.firstReplyTimeInSeconds)}}\\n            </p>\\n          </td>\\n          <td class=\\\"tbl__cell\\\">\\n            <Reporting::Element::ComparisonStatistic\\n              class=\\\"u__mt__5 u__mb__5\\\"\\n              @showData={{true}}\\n              @currentValue={{firstReplyHitRate.value}}\\n              @previousValue={{firstReplyHitRate.previousValue}}\\n              @range={{@range}}\\n              @unit=\\\"percent\\\"\\n              @statType=\\\"%\\\"\\n              @improvementDirection=\\\"increasing\\\"\\n              @size=\\\"small\\\"\\n              @forceEmpty={{@forceEmpty}}\\n            />\\n          </td>\\n          <td class=\\\"tbl__cell\\\">\\n            <Reporting::Element::ComparisonStatistic\\n              class=\\\"u__mt__5 u__mb__5\\\"\\n              @showData={{true}}\\n              @currentValue={{@firstReplyMisses.value}}\\n              @previousValue={{@firstReplyMisses.previousValue}}\\n              @range={{@range}}\\n              @improvementDirection=\\\"decreasing\\\"\\n              @size=\\\"small\\\"\\n              @forceEmpty={{@forceEmpty}}\\n            />\\n          </td>\\n          <td class=\\\"tbl__cell\\\">\\n            <Reporting::Element::ComparisonStatistic\\n              class=\\\"u__mt__5 u__mb__5\\\"\\n              @showData={{true}}\\n              @currentValue={{@waitTimeByType.value.firstReplyTime}}\\n              @previousValue={{@waitTimeByType.previousValue.firstReplyTime}}\\n              @range={{@range}}\\n              @unit=\\\"minute\\\"\\n              @improvementDirection=\\\"decreasing\\\"\\n              @size=\\\"small\\\"\\n              @forceEmpty={{@forceEmpty}}\\n            />\\n          </td>\\n        </tr>\\n      {{/if}}\\n      {{#if (or @sla.nextReplyTimeInSeconds @forceEmpty)}}\\n        <tr>\\n          <td class=\\\"tbl__cell\\\">\\n            <p class=\\\"u__mt__5\\\">\\n              Next response time\\n            </p>\\n            <p class=\\\"t__light-text u__mb__5\\\">\\n              {{if @forceEmpty \\\"-\\\" (seconds-formatter @sla.nextReplyTimeInSeconds)}}\\n            </p>\\n          </td>\\n          <td class=\\\"tbl__cell\\\">\\n            <Reporting::Element::ComparisonStatistic\\n              class=\\\"u__mt__5 u__mb__5\\\"\\n              @showData={{true}}\\n              @currentValue={{nextReplyHitRate.value}}\\n              @previousValue={{nextReplyHitRate.previousValue}}\\n              @range={{@range}}\\n              @unit=\\\"percent\\\"\\n              @statType=\\\"%\\\"\\n              @improvementDirection=\\\"increasing\\\"\\n              @size=\\\"small\\\"\\n              @forceEmpty={{@forceEmpty}}\\n            />\\n          </td>\\n          <td class=\\\"tbl__cell\\\">\\n            <Reporting::Element::ComparisonStatistic\\n              class=\\\"u__mt__5 u__mb__5\\\"\\n              @showData={{true}}\\n              @currentValue={{@nextReplyMisses.value}}\\n              @previousValue={{@nextReplyMisses.previousValue}}\\n              @range={{@range}}\\n              @improvementDirection=\\\"decreasing\\\"\\n              @size=\\\"small\\\"\\n              @forceEmpty={{@forceEmpty}}\\n            />\\n          </td>\\n          <td class=\\\"tbl__cell\\\">\\n            <Reporting::Element::ComparisonStatistic\\n              class=\\\"u__mt__5 u__mb__5\\\"\\n              @showData={{true}}\\n              @currentValue={{@waitTimeByType.value.nextReplyTime}}\\n              @previousValue={{@waitTimeByType.previousValue.nextReplyTime}}\\n              @range={{@range}}\\n              @unit=\\\"minute\\\"\\n              @improvementDirection=\\\"decreasing\\\"\\n              @size=\\\"small\\\"\\n              @forceEmpty={{@forceEmpty}}\\n            />\\n          </td>\\n        </tr>\\n      {{/if}}\\n    {{/if}}\\n  </tbody>\\n</table>\\n{{#if @showEmptyState}}\\n  {{yield}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/reporting/sla-target-performance.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/sla-target-performance.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport percent from 'embercom/lib/percentage-formatter';\nimport { computed } from '@ember/object';\n\nlet createHitRate = ({ targets = {}, misses = {} }) => ({\n  value: percent(targets.value, targets.value - misses.value) || 0,\n  previousValue: percent(targets.previousValue, targets.previousValue - misses.previousValue) || 0,\n});\n\nexport default Component.extend({\n  firstReplyHitRate: computed(\n    'firstReplyMisses.{value,previousValue}',\n    'firstReplyTargets.{value,previousValue}',\n    function() {\n      let { firstReplyTargets, firstReplyMisses } = this;\n      return createHitRate({ targets: firstReplyTargets, misses: firstReplyMisses });\n    },\n  ),\n\n  nextReplyHitRate: computed(\n    'nextReplyMisses.{value,previousValue}',\n    'nextReplyTargets.{value,previousValue}',\n    function() {\n      let { nextReplyTargets, nextReplyMisses } = this;\n      return createHitRate({ targets: nextReplyTargets, misses: nextReplyMisses });\n    },\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<strong>\\n  {{format-percentage-reports-detailed this.currentValue}} of {{if (eq this.series 'firstReplyTime') 'first responses' 'next responses'}} hit their target\\n</strong>\\n<br>\\n({{if this.isBucketGreaterThanDay this.formattedCurrentRangeDate this.formattedCurrentDate}})\\n\", {\"contents\":\"<strong>\\n  {{format-percentage-reports-detailed this.currentValue}} of {{if (eq this.series 'firstReplyTime') 'first responses' 'next responses'}} hit their target\\n</strong>\\n<br>\\n({{if this.isBucketGreaterThanDay this.formattedCurrentRangeDate this.formattedCurrentDate}})\\n\",\"moduleName\":\"embercom/components/inbox/reporting/target-hits-tooltip.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/target-hits-tooltip.hbs\"}});\nimport ReportingTooltip from 'embercom/components/tooltips/reporting-chart-datum';\n\nexport default ReportingTooltip;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if metadata.firstReplyTime}}\\n  <strong> {{or metadata.firstReplyTime.count 0}} first response target {{pluralize metadata.firstReplyTime.count 'misses' without-count=true}} </strong>\\n  <br>\\n{{/if}}\\n{{#if metadata.nextReplyTime}}\\n  <strong> {{or metadata.nextReplyTime.count 0}} next response target {{pluralize metadata.nextReplyTime.count 'misses' without-count=true}} </strong>\\n  <br>\\n{{/if}}\\n\\n({{label}})\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if metadata.firstReplyTime}}\\n  <strong> {{or metadata.firstReplyTime.count 0}} first response target {{pluralize metadata.firstReplyTime.count 'misses' without-count=true}} </strong>\\n  <br>\\n{{/if}}\\n{{#if metadata.nextReplyTime}}\\n  <strong> {{or metadata.nextReplyTime.count 0}} next response target {{pluralize metadata.nextReplyTime.count 'misses' without-count=true}} </strong>\\n  <br>\\n{{/if}}\\n\\n({{label}})\\n\",\"moduleName\":\"embercom/components/inbox/reporting/target-misses-tooltip.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/target-misses-tooltip.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__cf u__padt__20 u__padb__10\\\">\\n  <div class=\\\"u__left\\\">\\n    <Reporting::Element::SummaryTitle\\n      @title={{title}}\\n      @titleTooltipText={{titleTooltipText}}\\n    />\\n  </div>\\n</div>\\n{{#if (gt rows.length 0)}}\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <IcLegacyTable\\n    class=\\\"tbl__reporting__table\\\"\\n    @inline={{true}}\\n    @columns={{columns}}\\n    @rows={{rows}}\\n    @height=\\\"auto\\\"\\n  />\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n{{else}}\\n  <Reporting::EmptyState::Table @columns={{columns}} />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__cf u__padt__20 u__padb__10\\\">\\n  <div class=\\\"u__left\\\">\\n    <Reporting::Element::SummaryTitle\\n      @title={{title}}\\n      @titleTooltipText={{titleTooltipText}}\\n    />\\n  </div>\\n</div>\\n{{#if (gt rows.length 0)}}\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <IcLegacyTable\\n    class=\\\"tbl__reporting__table\\\"\\n    @inline={{true}}\\n    @columns={{columns}}\\n    @rows={{rows}}\\n    @height=\\\"auto\\\"\\n  />\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n{{else}}\\n  <Reporting::EmptyState::Table @columns={{columns}} />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/reporting/teammate-performance-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/teammate-performance-table.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport ParseMultiSignal from 'embercom/lib/reporting/multi-signal-parsing';\nimport ResolveAllPromises from 'embercom/lib/resolve-all-promises';\n\nconst TOP_PERFORMERS_COUNT = 100;\n\nexport default Component.extend({\n  store: service(),\n  normalized: [],\n\n  columnDefinitions: [\n    {\n      label: 'Teammate',\n      propertyName: 'person',\n      canExpandToFit: true,\n      valueComponent: 'inbox/reporting/performance-table-fields/admin-fullname',\n    },\n    {\n      label: 'Conversations',\n      propertyName: 'conversations_created',\n    },\n    {\n      label: 'Response Time',\n      propertyName: 'median_first_response_time',\n      valueComponent: 'inbox/reporting/performance-table-fields/minutes',\n      description: 'Median First Response Time',\n      maxWidth: 100,\n    },\n    { label: 'Opps. Influenced', propertyName: 'opps_influenced', maxWidth: 100 },\n    {\n      label: 'Pipeline',\n      propertyName: 'pipeline',\n      valueComponent: 'inbox/reporting/performance-table-fields/currency',\n    },\n    {\n      label: 'Closed Won',\n      propertyName: 'closed_won',\n      valueComponent: 'inbox/reporting/performance-table-fields/closed-won',\n    },\n    {\n      label: ' ',\n      propertyName: 'report',\n      valueComponent: 'inbox/reporting/performance-table-fields/report-link',\n    },\n  ],\n\n  columns: readOnly('columnDefinitions'),\n\n  init() {\n    this._super(...arguments);\n  },\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.loadStats.perform();\n  },\n\n  async setAdminProperties(entry) {\n    let person = await this.store.findRecord('admin', entry.key);\n    entry.person = person;\n    return entry;\n  },\n\n  loadStats: task(function*() {\n    let current = this.get('signal.current.context');\n    let previous = this.get('signal.previous.context');\n    let merged = ParseMultiSignal(current, previous);\n    let teammateIds = this.teammateIds;\n    let filtered = merged;\n    if (teammateIds && teammateIds.length > 0) {\n      filtered = merged.filter(entry => teammateIds.includes(parseInt(entry.key, 10)));\n    }\n    let identified = filtered.map(entry => this.setAdminProperties(entry));\n    Promise.all(ResolveAllPromises(identified))\n      .then(resolved => {\n        this.set(\n          'normalized',\n          resolved.filter(r => r.resolved).map(r => r.value),\n        );\n      })\n      .catch(() => this.set('error', true));\n    yield;\n  }),\n\n  rows: computed('normalized', function() {\n    return this.normalized.slice(0, TOP_PERFORMERS_COUNT);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__cf u__padb__10\\\">\\n  <div class=\\\"u__left\\\">\\n    <Reporting::Element::SummaryTitle\\n      @title={{title}}\\n      @titleTooltipText={{titleTooltipText}}\\n    />\\n  </div>\\n  {{#if hasAdditionalSelections}}\\n    <div class=\\\"u__right\\\">\\n      <IcMultiselect\\n        @label={{dropdownLabel}}\\n        @items={{additionalSelectionOptions}}\\n        @onSelectionChange={{action (mut selected)}}\\n        @limit={{3}}\\n        @hasFilter={{true}}\\n        @filterPlaceholder=\\\"Search page URLs...\\\"\\n      />\\n    </div>\\n  {{/if}}\\n</div>\\n{{#if (gt normalized.length 0)}}\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <IcLegacyTable\\n    class=\\\"tbl__reporting__table\\\"\\n    @inline={{true}}\\n    @columns={{columns}}\\n    @rows={{rows}}\\n    @height=\\\"auto\\\"\\n  />\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n{{else}}\\n  <Reporting::EmptyState::Table\\n    @columns={{columns}}\\n    @isLoading={{not signal}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__cf u__padb__10\\\">\\n  <div class=\\\"u__left\\\">\\n    <Reporting::Element::SummaryTitle\\n      @title={{title}}\\n      @titleTooltipText={{titleTooltipText}}\\n    />\\n  </div>\\n  {{#if hasAdditionalSelections}}\\n    <div class=\\\"u__right\\\">\\n      <IcMultiselect\\n        @label={{dropdownLabel}}\\n        @items={{additionalSelectionOptions}}\\n        @onSelectionChange={{action (mut selected)}}\\n        @limit={{3}}\\n        @hasFilter={{true}}\\n        @filterPlaceholder=\\\"Search page URLs...\\\"\\n      />\\n    </div>\\n  {{/if}}\\n</div>\\n{{#if (gt normalized.length 0)}}\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <IcLegacyTable\\n    class=\\\"tbl__reporting__table\\\"\\n    @inline={{true}}\\n    @columns={{columns}}\\n    @rows={{rows}}\\n    @height=\\\"auto\\\"\\n  />\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n{{else}}\\n  <Reporting::EmptyState::Table\\n    @columns={{columns}}\\n    @isLoading={{not signal}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/reporting/url-performance-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/url-performance-table.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { gt } from '@ember/object/computed';\nimport ParseMultiSignal from 'embercom/lib/reporting/multi-signal-parsing';\n\nconst TOP_PERFORMERS_COUNT = 5;\n\nexport default Component.extend({\n  normalized: [],\n  selected: [],\n\n  columns: [\n    {\n      label: 'Title',\n      propertyName: 'key',\n      canExpandToFit: true,\n      valueComponent: 'inbox/reporting/performance-table-fields/url',\n    },\n    { label: 'Conversations', propertyName: 'conversations_created' },\n    {\n      label: 'Response Time',\n      propertyName: 'median_first_response_time',\n      valueComponent: 'inbox/reporting/performance-table-fields/minutes',\n      description: 'Median First Response Time',\n      maxWidth: 100,\n    },\n    { label: 'Opps. Influenced', propertyName: 'opps_influenced', maxWidth: 100 },\n    {\n      label: 'Pipeline',\n      propertyName: 'pipeline',\n      valueComponent: 'inbox/reporting/performance-table-fields/currency',\n    },\n    {\n      label: 'Closed Won',\n      propertyName: 'closed_won',\n      valueComponent: 'inbox/reporting/performance-table-fields/closed-won',\n    },\n  ],\n\n  init() {\n    this._super(...arguments);\n    this.set('selected', []);\n  },\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    if (!this.signal) {\n      return;\n    }\n    let current = this.get('signal.current.context');\n    let previous = this.get('signal.previous.context');\n    this.set('normalized', ParseMultiSignal(current, previous));\n  },\n\n  topPages: computed('normalized', function() {\n    return this.normalized.slice(0, TOP_PERFORMERS_COUNT);\n  }),\n\n  hasAdditionalSelections: gt('additionalSelectionOptions.firstObject.items.length', 0),\n\n  additionalSelectionOptions: computed('topPages', 'normalized', function() {\n    let top = this.topPages;\n    let fields = this.normalized.filter(row => !top.includes(row));\n    return [\n      {\n        items: fields.map(row => {\n          return {\n            text: row.key,\n            value: row,\n          };\n        }),\n      },\n    ];\n  }),\n\n  rows: computed('topPages', 'selected', function() {\n    let top = this.topPages;\n    let additionalRows = this.selected;\n    return top.concat(additionalRows);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__cf u__padb__10\\\">\\n  <div class=\\\"u__left\\\">\\n    <Reporting::Element::SummaryTitle\\n      @title={{title}}\\n      @titleTooltipText={{titleTooltipText}}\\n    />\\n  </div>\\n  {{#if hasAdditionalSelections}}\\n    <div class=\\\"u__right\\\" data-test-dropdown>\\n      <IcMultiselect\\n        @label={{dropdownLabel}}\\n        @items={{additionalSelectionOptions}}\\n        @onSelectionChange={{action (mut selected)}}\\n        @limit={{3}}\\n        @hasFilter={{true}}\\n        @filterPlaceholder=\\\"Search visitor messages...\\\"\\n      />\\n    </div>\\n  {{/if}}\\n</div>\\n{{#if (gt rows.length 0)}}\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <IcLegacyTable\\n    class=\\\"tbl__reporting__table\\\"\\n    @inline={{true}}\\n    @columns={{columns}}\\n    @rows={{rows}}\\n    @height=\\\"auto\\\"\\n  />\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n{{else}}\\n  <Reporting::EmptyState::Table\\n    @columns={{columns}}\\n    @isLoading={{not signal}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__cf u__padb__10\\\">\\n  <div class=\\\"u__left\\\">\\n    <Reporting::Element::SummaryTitle\\n      @title={{title}}\\n      @titleTooltipText={{titleTooltipText}}\\n    />\\n  </div>\\n  {{#if hasAdditionalSelections}}\\n    <div class=\\\"u__right\\\" data-test-dropdown>\\n      <IcMultiselect\\n        @label={{dropdownLabel}}\\n        @items={{additionalSelectionOptions}}\\n        @onSelectionChange={{action (mut selected)}}\\n        @limit={{3}}\\n        @hasFilter={{true}}\\n        @filterPlaceholder=\\\"Search visitor messages...\\\"\\n      />\\n    </div>\\n  {{/if}}\\n</div>\\n{{#if (gt rows.length 0)}}\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <IcLegacyTable\\n    class=\\\"tbl__reporting__table\\\"\\n    @inline={{true}}\\n    @columns={{columns}}\\n    @rows={{rows}}\\n    @height=\\\"auto\\\"\\n  />\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n{{else}}\\n  <Reporting::EmptyState::Table\\n    @columns={{columns}}\\n    @isLoading={{not signal}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/reporting/vam-performance-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/reporting/vam-performance-table.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { task } from 'ember-concurrency';\nimport { gt } from '@ember/object/computed';\nimport Message from 'embercom/models/message';\nimport ParseMultiSignal from 'embercom/lib/reporting/multi-signal-parsing';\n\nconst TOP_PERFORMERS_COUNT = 5;\n\nexport default Component.extend({\n  selected: [],\n  normalized: [],\n  error: false,\n\n  columnDefinitions: [\n    {\n      label: 'Message',\n      propertyName: 'title',\n      canExpandToFit: true,\n      valueComponent: 'inbox/reporting/performance-table-fields/title',\n    },\n    { label: 'Conversations', propertyName: 'conversations_created' },\n    {\n      label: 'Response Time',\n      propertyName: 'median_first_response_time',\n      valueComponent: 'inbox/reporting/performance-table-fields/minutes',\n      description: 'Median First Response Time',\n      maxWidth: 100,\n    },\n    { label: 'Opps. Influenced', propertyName: 'opps_influenced', maxWidth: 100 },\n    {\n      label: 'Pipeline',\n      propertyName: 'pipeline',\n      valueComponent: 'inbox/reporting/performance-table-fields/currency',\n    },\n    {\n      label: 'Closed Won',\n      propertyName: 'closed_won',\n      valueComponent: 'inbox/reporting/performance-table-fields/closed-won',\n    },\n  ],\n\n  columns: readOnly('columnDefinitions'),\n\n  init() {\n    this._super(...arguments);\n\n    this.set('selected', []);\n  },\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.loadStats.perform();\n  },\n\n  loadStats: task(function*() {\n    if (!this.signal) {\n      return;\n    }\n    let current = this.get('signal.current.context');\n    let previous = this.get('signal.previous.context');\n    let merged = ParseMultiSignal(current, previous);\n    let messageIds = merged.mapBy('key').map(key => parseInt(key, 10));\n    Message.getTitles(this.app, messageIds).then(titles => {\n      merged.map(entry => (entry.title = titles[entry.key]));\n      this.set('normalized', merged.rejectBy('title', null));\n    });\n    yield;\n  }),\n\n  findVAM(key) {\n    return this.normalized.filter(row => row.key === key).pop();\n  },\n\n  topPerformers: computed('normalized', function() {\n    return this.normalized.slice(0, TOP_PERFORMERS_COUNT);\n  }),\n\n  hasAdditionalSelections: gt('additionalSelectionOptions.firstObject.items.length', 0),\n\n  additionalSelectionOptions: computed('topPerformers', 'normalized', function() {\n    let top = this.topPerformers;\n    let fields = this.normalized.filter(row => !top.includes(row));\n    return [\n      {\n        items: fields.map(row => {\n          return {\n            text: row.title,\n            value: row.key,\n            label: row.title,\n          };\n        }),\n      },\n    ];\n  }),\n\n  rows: computed('topPerformers', 'selected', function() {\n    let top = this.topPerformers;\n    let additionalRows = this.selected;\n    return top.concat(additionalRows.map(key => this.findVAM(key)));\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Inbox::Rules::RulesList\\n  @rules={{rules}}\\n  @headerText={{headerText}}\\n  @createRule={{action \\\"createNewRuleOrPromptUpgrade\\\"}}\\n  @billingFeatureName={{billingFeatureName}}\\n  @shouldDisableCreateRuleButton={{shouldDisableCreateRuleButton}}\\n  @reorderRules={{action \\\"reorderRules\\\"}}\\n  @toggleItemIsExpanded={{toggleItemIsExpanded}}\\n  @app={{app}}\\n  @hasRules={{hasRules}}\\n  @atLeastOneRuleIsExpanded={{atLeastOneRuleIsExpanded}}\\n  @title=\\\"Assignment rules\\\"\\n  as |list|\\n>\\n  <list.emptyStateText>\\n    Assignment rules can be based on the content of a message, or anything we\\n    can track about the person who sent it.<br/>\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/responding-to-users-and-visitors/respond-to-customer-issues-collaboratively/assign-conversations-to-teammates-and-teams\\\"\\n      @title=\\\"Here's our doc about assigning conversations\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />.\\n  </list.emptyStateText>\\n</Inbox::Rules::RulesList>\\n\\n<div class=\\\"mb-8\\\">\\n  <Inbox::Rules::DefaultAssignee\\n    @hasRules={{hasRules}}\\n    @canChangeDefaultAssignee={{canChangeDefaultAssignee}}\\n    @app={{app}}\\n    @updateDefaultAssignee={{action \\\"updateDefaultAssignee\\\"}}\\n    @defaultAssigneeId={{defaultAssigneeId}}\\n    @showPermissionsRequestModal={{action \\\"showPermissionsRequestModal\\\"}}\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Inbox::Rules::RulesList\\n  @rules={{rules}}\\n  @headerText={{headerText}}\\n  @createRule={{action \\\"createNewRuleOrPromptUpgrade\\\"}}\\n  @billingFeatureName={{billingFeatureName}}\\n  @shouldDisableCreateRuleButton={{shouldDisableCreateRuleButton}}\\n  @reorderRules={{action \\\"reorderRules\\\"}}\\n  @toggleItemIsExpanded={{toggleItemIsExpanded}}\\n  @app={{app}}\\n  @hasRules={{hasRules}}\\n  @atLeastOneRuleIsExpanded={{atLeastOneRuleIsExpanded}}\\n  @title=\\\"Assignment rules\\\"\\n  as |list|\\n>\\n  <list.emptyStateText>\\n    Assignment rules can be based on the content of a message, or anything we\\n    can track about the person who sent it.<br/>\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/responding-to-users-and-visitors/respond-to-customer-issues-collaboratively/assign-conversations-to-teammates-and-teams\\\"\\n      @title=\\\"Here's our doc about assigning conversations\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />.\\n  </list.emptyStateText>\\n</Inbox::Rules::RulesList>\\n\\n<div class=\\\"mb-8\\\">\\n  <Inbox::Rules::DefaultAssignee\\n    @hasRules={{hasRules}}\\n    @canChangeDefaultAssignee={{canChangeDefaultAssignee}}\\n    @app={{app}}\\n    @updateDefaultAssignee={{action \\\"updateDefaultAssignee\\\"}}\\n    @defaultAssigneeId={{defaultAssigneeId}}\\n    @showPermissionsRequestModal={{action \\\"showPermissionsRequestModal\\\"}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/rules/assignment-rules.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/rules/assignment-rules.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport InboxRules from 'embercom/components/inbox/rules/inbox-rules';\n\nexport default InboxRules.extend({\n  headerText:\n    'Automatically assign new conversations to a team or a teammate, based on who the person is and the content of their message.',\n  ruleRecordType: 'inbox/conversation-rules/assignment',\n  billingFeatureName: 'inbox_rules',\n\n  defaultAssigneeId: readOnly('messagingSettings.defaultAssigneeId'),\n  messagingSettings: null,\n\n  canChangeDefaultAssignee: computed('app', function() {\n    return this.permissionsService.currentAdminCan('can_manage_messages_settings');\n  }),\n\n  _createNewRule() {\n    return this._super(...arguments).then(rule => {\n      let actions = rule.get('underlyingRule.actions');\n      actions.createFragment({\n        type: 'assign-conversation',\n      });\n      return Promise.resolve(rule);\n    });\n  },\n\n  actions: {\n    updateDefaultAssignee(assigneeId) {\n      let messagingSettings = this.messagingSettings;\n      messagingSettings.set('defaultAssigneeId', assigneeId);\n      messagingSettings.save().then(\n        () => {\n          this.notificationsService.notifyConfirmation('The default assignee has been updated.');\n          this.set('app.defaultAssigneeId', parseInt(assigneeId, 10));\n        },\n        () => {\n          this.notificationsService.notifyError(\n            'There was an error updating the default assignee. Please try again.',\n          );\n        },\n      );\n    },\n\n    showPermissionsRequestModal() {\n      this.permissionsService.loadAllAdminsAndShowPermissionRequestModal(\n        'can_access_product_settings',\n      );\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"layout__box o__centers-all\\\" data-test-default-assignee-rule>\\n  <span class=\\\"text-gray u__padr__5\\\">\\n    {{#if @hasRules}}\\n      If no rules apply to a message, assign it to\\n    {{else}}\\n      You haven’t set up any rules. All messages will go to\\n    {{/if}}\\n  </span>\\n  {{#if @canChangeDefaultAssignee}}\\n    <Admin::NewSelector\\n      @assignees={{@app.assignableAdmins}}\\n      @showTeams={{true}}\\n      @onSelectItem={{action @updateDefaultAssignee}}\\n      @selectedValue={{@defaultAssigneeId}}\\n      @buttonIsSubtle={{true}}\\n      data-test-default-assignee-selector={{true}}\\n    />\\n  {{else}}\\n    <span class=\\\"text-gray\\\">\\n      <b>\\n        {{@app.defaultAssignee.nameOrEmail}}\\n      </b>\\n      (<a {{action @showPermissionsRequestModal}}>Change</a>)\\n    </span>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"layout__box o__centers-all\\\" data-test-default-assignee-rule>\\n  <span class=\\\"text-gray u__padr__5\\\">\\n    {{#if @hasRules}}\\n      If no rules apply to a message, assign it to\\n    {{else}}\\n      You haven’t set up any rules. All messages will go to\\n    {{/if}}\\n  </span>\\n  {{#if @canChangeDefaultAssignee}}\\n    <Admin::NewSelector\\n      @assignees={{@app.assignableAdmins}}\\n      @showTeams={{true}}\\n      @onSelectItem={{action @updateDefaultAssignee}}\\n      @selectedValue={{@defaultAssigneeId}}\\n      @buttonIsSubtle={{true}}\\n      data-test-default-assignee-selector={{true}}\\n    />\\n  {{else}}\\n    <span class=\\\"text-gray\\\">\\n      <b>\\n        {{@app.defaultAssignee.nameOrEmail}}\\n      </b>\\n      (<a {{action @showPermissionsRequestModal}}>Change</a>)\\n    </span>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/rules/default-assignee.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/rules/default-assignee.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { gt, gte, or, readOnly } from '@ember/object/computed';\nimport { isAny } from '@intercom/embercom-core/lib/computed-properties';\nimport ENV from 'embercom/config/environment';\n\nexport default Component.extend({\n  notificationsService: service(),\n  appService: service(),\n  permissionsService: service(),\n  router: service(),\n  paywallService: service(),\n  store: service(),\n\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n  rules: null,\n  hasRules: gt('rules.length', 0),\n  atLeastOneRuleIsExpanded: isAny('rules', 'isExpanded', true),\n  numberOfRules: readOnly('rules.length'),\n  ruleNumberLimit: ENV.APP.routing_rules_max,\n  hasReachedRuleNumberLimit: gte('model.length', 'ruleNumberLimit'),\n  shouldDisableCreateRuleButton: or('atLeastOneRuleIsExpanded', 'hasReachedRuleNumberLimit'),\n\n  _createNewRule() {\n    let adminId = this.get('admin.id');\n    let appId = this.get('app.id');\n    let order = this.numberOfRules;\n    let rule = this.store.createRecord(this.ruleRecordType, {\n      createdByAdminId: adminId,\n      updatedByAdminId: adminId,\n      status: 'paused',\n      appId,\n      isExpanded: true,\n      order,\n      name: `Untitled rule (${this.numberOfRules + 1})`,\n    });\n    rule.set('underlyingRule', this.store.createFragment('rules/rule', {}));\n    return Promise.resolve(rule);\n  },\n\n  actions: {\n    createNewRuleOrPromptUpgrade(feature) {\n      this.paywallService\n        .paywall({ featureName: feature })\n        .then(() => {\n          return this._createNewRule();\n        })\n        .catch(this.paywallService.handleError);\n    },\n\n    reorderRules(newRuleOrder, draggedRule) {\n      if (newRuleOrder.indexOf(draggedRule) === draggedRule.get('order')) {\n        return;\n      }\n      newRuleOrder.forEach((rule, index) => {\n        rule.set('order', index);\n      });\n      draggedRule\n        .updateOrder()\n        .then(() => {\n          this.notificationsService.notifyConfirmation('Rule priority successfully updated');\n        })\n        .catch(() => {\n          this.notificationsService.notifyError(\n            'Something went wrong when trying to update your rule priority.',\n          );\n        });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{yield}}\\n\", {\"contents\":\"{{yield}}\\n\",\"moduleName\":\"embercom/components/inbox/rules/list-empty-state-text.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/rules/list-empty-state-text.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__mr__10 t__label inbox__automation-rules__card__predicate-condition\\\">IF</div>\\n<div class=\\\"flex-auto min-w-0 u__padl__5\\\" data-test-collective-predicate-summary>\\n  {{#each displayablePredicates as |predicate index|}}\\n    {{#if index}} {{logicalOperator}} {{/if}}\\n    <span class=\\\"u__prevent-breaks u__one-truncated-line\\\" data-test-predicate-summary={{index}}>\\n      {{ic-interface-icon predicate.icon}} {{predicate.name}} {{#if predicate.url}} for <b>{{predicate.url}}</b>{{/if}} {{predicate.comparison}} <b>{{predicate.value}}</b> {{predicate.suffix}}\\n    </span>\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__mr__10 t__label inbox__automation-rules__card__predicate-condition\\\">IF</div>\\n<div class=\\\"flex-auto min-w-0 u__padl__5\\\" data-test-collective-predicate-summary>\\n  {{#each displayablePredicates as |predicate index|}}\\n    {{#if index}} {{logicalOperator}} {{/if}}\\n    <span class=\\\"u__prevent-breaks u__one-truncated-line\\\" data-test-predicate-summary={{index}}>\\n      {{ic-interface-icon predicate.icon}} {{predicate.name}} {{#if predicate.url}} for <b>{{predicate.url}}</b>{{/if}} {{predicate.comparison}} <b>{{predicate.value}}</b> {{predicate.suffix}}\\n    </span>\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/rules/predicates-list-summary-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/rules/predicates-list-summary-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { isEqual, isPresent } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport FiltersToText from 'embercom/lib/filters-to-text';\nimport AssignmentRulesMessageAttributes from 'embercom/models/data/assignment-rules-message-attributes';\nimport PredicateFilterMap from 'embercom/models/data/predicate-filter-map';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  classNames: ['flex', 'items-start', 'text-gray'],\n  'data-test-predicates-list-summary': true,\n\n  attributes: readOnly('app.attributes'),\n  logicalOperator: ternary('isOrGrouping', 'OR', 'AND'),\n\n  isNewStyleOrGrouping: computed('isOrGrouping', 'predicates', function() {\n    return this.isOrGrouping && isPresent(this.get('predicates.firstObject.predicates'));\n  }),\n\n  displayablePredicates: computed('isCardExpanded', 'isNewStyleOrGrouping', function() {\n    let shownPredicates = this.isNewStyleOrGrouping\n      ? this.get('predicates.firstObject.predicates')\n      : this.predicates;\n\n    return shownPredicates.map(this._getDisplayablePredicate.bind(this)).compact();\n  }),\n\n  filterMap: PredicateFilterMap,\n\n  _getDisplayablePredicate(predicate) {\n    let attributeIdentifier =\n      typeof predicate.get === 'function' ? predicate.get('attribute') : predicate.attribute;\n    let attribute = this.attributes.findBy('identifier', attributeIdentifier);\n    if (attribute) {\n      return this._getDisplayableAttribute(attribute, predicate);\n    }\n\n    let messageAttribute = AssignmentRulesMessageAttributes.findBy(\n      'identifier',\n      attributeIdentifier,\n    );\n    if (messageAttribute) {\n      return this._getDisplayableMessagePredicate(messageAttribute, predicate);\n    }\n  },\n\n  _getDisplayableAttribute(attribute, predicate) {\n    let displayableAttribute = {\n      icon: attribute.get('icon'),\n      name: attribute.get('name'),\n      comparison: FiltersToText.getComparator(predicate, this.filterMap),\n      value: this._getDisplayableAttributeValue(attribute, predicate),\n    };\n    return displayableAttribute;\n  },\n\n  _getDisplayableMessagePredicate(messageAttribute, predicate) {\n    let value = FiltersToText.getValue(predicate);\n    let valueTemplate = isEqual(messageAttribute.type, 'string') ? `'${value}'` : `${value}`;\n\n    return {\n      icon: messageAttribute.icon,\n      name: messageAttribute.name,\n      comparison: FiltersToText.getComparator(predicate),\n      value: valueTemplate,\n    };\n  },\n\n  _getDisplayableAttributeValue(attribute, predicate) {\n    if (attribute.get('identifier') === 'browser_locale') {\n      let browserLocale = this.get('app.browser_locales').findBy('locale_id', predicate.value);\n      return browserLocale ? browserLocale.get('name') : FiltersToText.getValue(predicate);\n    }\n    return FiltersToText.getValue(predicate);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Inbox::Rules::RulesList\\n  @rules={{rules}}\\n  @headerText={{headerText}}\\n  @createRule={{action \\\"createNewRuleOrPromptUpgrade\\\"}}\\n  @billingFeatureName={{billingFeatureName}}\\n  @shouldDisableCreateRuleButton={{shouldDisableCreateRuleButton}}\\n  @isReorderable={{false}}\\n  @toggleItemIsExpanded={{toggleItemIsExpanded}}\\n  @app={{app}}\\n  @hasRules={{hasRules}}\\n  @atLeastOneRuleIsExpanded={{atLeastOneRuleIsExpanded}}\\n  @title=\\\"Priority rules\\\"\\n  as |list|\\n>\\n  <list.emptyStateText>\\n    Priority rules can be based on the content of a message, or anything we\\n    can track about the person who sent it.<br/>\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/support-and-retain-customers/respond-to-issues-quicker/prioritize-your-most-important-conversations\\\"\\n      @title=\\\"Here's our doc about prioritizing conversations\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />.\\n  </list.emptyStateText>\\n</Inbox::Rules::RulesList>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Inbox::Rules::RulesList\\n  @rules={{rules}}\\n  @headerText={{headerText}}\\n  @createRule={{action \\\"createNewRuleOrPromptUpgrade\\\"}}\\n  @billingFeatureName={{billingFeatureName}}\\n  @shouldDisableCreateRuleButton={{shouldDisableCreateRuleButton}}\\n  @isReorderable={{false}}\\n  @toggleItemIsExpanded={{toggleItemIsExpanded}}\\n  @app={{app}}\\n  @hasRules={{hasRules}}\\n  @atLeastOneRuleIsExpanded={{atLeastOneRuleIsExpanded}}\\n  @title=\\\"Priority rules\\\"\\n  as |list|\\n>\\n  <list.emptyStateText>\\n    Priority rules can be based on the content of a message, or anything we\\n    can track about the person who sent it.<br/>\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/support-and-retain-customers/respond-to-issues-quicker/prioritize-your-most-important-conversations\\\"\\n      @title=\\\"Here's our doc about prioritizing conversations\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />.\\n  </list.emptyStateText>\\n</Inbox::Rules::RulesList>\\n\",\"moduleName\":\"embercom/components/inbox/rules/priority-rules.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/rules/priority-rules.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable promise/prefer-await-to-then */\nimport InboxRules from 'embercom/components/inbox/rules/inbox-rules';\nimport { CONVERSATION_PRIORITIES } from 'embercom/lib/inbox/constants';\n\nexport default InboxRules.extend({\n  headerText: 'Automatically mark inbound conversations as priority.',\n  ruleRecordType: 'inbox/conversation-rules/priority',\n  billingFeatureName: 'inbox_priority_rules',\n\n  _createNewRule() {\n    return this._super(...arguments).then(rule => {\n      let actions = rule.get('underlyingRule.actions');\n      actions.createFragment({\n        type: 'change-conversation-priority',\n        justAdded: true,\n      });\n      let actionData = Object.assign({}, actions.firstObject.actionData, {\n        priority: CONVERSATION_PRIORITIES.priority,\n      });\n      actions.firstObject.set('actionData', actionData);\n      return Promise.resolve(rule);\n    });\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span data-test-rule-action-text>\\n  {{#if @rule.isAssignmentRule}}\\n    Assign to\\n    {{#if @rule.isOwnerAssignmentRule}}\\n      <b>Owner</b>\\n    {{else if @rule.isInboxAssignmentRule}}\\n      <span class=\\\"u__display-inline-block inbox__automation-rules__card__collapsed__assign-to-avatar\\\">\\n        <IcAvatarComponent @model={{@rule.firstAction.assignee}} @size=\\\"xs\\\" />\\n      </span>\\n      <b>{{display-admin-as @app.currentAdmin @rule.firstAction.assignee}}</b>\\n      {{#if @rule.isTeamAssignmentRule}}\\n        <span data-test-rule-action-strategy>\\n          team inbox\\n        </span>\\n      {{/if}}\\n    {{/if}}\\n  {{else if @rule.isConversationSlaRule}}\\n    <Inbox::Rules::SlaRuleCollapsedActionSummary\\n      @conversationSlaId={{@rule.firstAction.actionData.conversation_sla_id}}\\n      @conversationSlas={{@actionSummaryContext.conversationSlas}}\\n      @officeHoursSchedules={{@actionSummaryContext.officeHoursSchedules}}\\n    />\\n  {{else if @rule.isConversationTagRule}}\\n    <Inbox::Rules::TagRuleCollapsedActionSummary\\n      @tagRuleActions={{@rule.underlyingRule.actions}}\\n      @tags={{@app.tags}}\\n    />\\n  {{else if @rule.isPriorityRule}}\\n    Mark as priority\\n  {{/if}}\\n</span>\\n\", {\"contents\":\"<span data-test-rule-action-text>\\n  {{#if @rule.isAssignmentRule}}\\n    Assign to\\n    {{#if @rule.isOwnerAssignmentRule}}\\n      <b>Owner</b>\\n    {{else if @rule.isInboxAssignmentRule}}\\n      <span class=\\\"u__display-inline-block inbox__automation-rules__card__collapsed__assign-to-avatar\\\">\\n        <IcAvatarComponent @model={{@rule.firstAction.assignee}} @size=\\\"xs\\\" />\\n      </span>\\n      <b>{{display-admin-as @app.currentAdmin @rule.firstAction.assignee}}</b>\\n      {{#if @rule.isTeamAssignmentRule}}\\n        <span data-test-rule-action-strategy>\\n          team inbox\\n        </span>\\n      {{/if}}\\n    {{/if}}\\n  {{else if @rule.isConversationSlaRule}}\\n    <Inbox::Rules::SlaRuleCollapsedActionSummary\\n      @conversationSlaId={{@rule.firstAction.actionData.conversation_sla_id}}\\n      @conversationSlas={{@actionSummaryContext.conversationSlas}}\\n      @officeHoursSchedules={{@actionSummaryContext.officeHoursSchedules}}\\n    />\\n  {{else if @rule.isConversationTagRule}}\\n    <Inbox::Rules::TagRuleCollapsedActionSummary\\n      @tagRuleActions={{@rule.underlyingRule.actions}}\\n      @tags={{@app.tags}}\\n    />\\n  {{else if @rule.isPriorityRule}}\\n    Mark as priority\\n  {{/if}}\\n</span>\\n\",\"moduleName\":\"embercom/components/inbox/rules/rule-card-collapsed-action-summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/rules/rule-card-collapsed-action-summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"u__cf\\\">\\n  <div class=\\\"u__left\\\">\\n    {{#if @rule.isNew}}\\n      <IcButton\\n        @label=\\\"Cancel\\\"\\n        @type=\\\"secondary\\\"\\n        @onClick={{action @cancel}}\\n        @disabled={{@isSaving}}\\n        @inLeftList={{true}}\\n        data-test-rule-card-cancel-button={{true}}\\n      />\\n    {{else}}\\n      <IcButton\\n        @type=\\\"secondary-destructive\\\"\\n        @onClick={{stop-propagation (action @delete)}}\\n        @disabled={{@isSaving}}\\n        @inLeftList={{true}}\\n        data-test-rule-card-delete-button={{true}}\\n      >\\n        {{ic-interface-icon \\\"delete\\\"}} Delete\\n      </IcButton>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"u__right\\\">\\n    {{#if @rule.isNew}}\\n      <IcButton\\n        @type=\\\"secondary\\\"\\n        @onClick={{action @save}}\\n        @disabled={{or @isSaving (not @rule.isValid)}}\\n        @inRightList={{true}}\\n        data-test-rule-card-save-and-close-button={{true}}\\n      >\\n        {{ic-interface-icon \\\"check\\\"}} Save and close\\n      </IcButton>\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @onClick={{action @saveAndSetLive}}\\n        @disabled={{or @isSaving (not @rule.isValid)}}\\n        @inRightList={{true}}\\n        data-test-rule-card-save-and-set-live-button={{true}}\\n      >\\n        {{ic-interface-icon \\\"put-live\\\"}} Save and set live\\n      </IcButton>\\n    {{else}}\\n      <IcButton\\n        @label={{if @rule.isDirtyOrHasDirtyChildObjects \\\"Cancel\\\" \\\"Done\\\"}}\\n        @type={{if @rule.isDirtyOrHasDirtyChildObjects \\\"secondary\\\" \\\"primary\\\"}}\\n        @onClick={{action @cancel}}\\n        @disabled={{@isSaving}}\\n        @inRightList={{true}}\\n        data-test-rule-card-cancel-button={{true}}\\n      />\\n      {{#if @rule.isDirtyOrHasDirtyChildObjects}}\\n        <IcButton\\n          @label=\\\"Save\\\"\\n          @type=\\\"primary\\\"\\n          @onClick={{action @save}}\\n          @disabled={{or @isSaving (not @rule.isValid)}}\\n          @inRightList={{true}}\\n          data-test-rule-card-save-button={{true}}\\n        />\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"u__cf\\\">\\n  <div class=\\\"u__left\\\">\\n    {{#if @rule.isNew}}\\n      <IcButton\\n        @label=\\\"Cancel\\\"\\n        @type=\\\"secondary\\\"\\n        @onClick={{action @cancel}}\\n        @disabled={{@isSaving}}\\n        @inLeftList={{true}}\\n        data-test-rule-card-cancel-button={{true}}\\n      />\\n    {{else}}\\n      <IcButton\\n        @type=\\\"secondary-destructive\\\"\\n        @onClick={{stop-propagation (action @delete)}}\\n        @disabled={{@isSaving}}\\n        @inLeftList={{true}}\\n        data-test-rule-card-delete-button={{true}}\\n      >\\n        {{ic-interface-icon \\\"delete\\\"}} Delete\\n      </IcButton>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"u__right\\\">\\n    {{#if @rule.isNew}}\\n      <IcButton\\n        @type=\\\"secondary\\\"\\n        @onClick={{action @save}}\\n        @disabled={{or @isSaving (not @rule.isValid)}}\\n        @inRightList={{true}}\\n        data-test-rule-card-save-and-close-button={{true}}\\n      >\\n        {{ic-interface-icon \\\"check\\\"}} Save and close\\n      </IcButton>\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @onClick={{action @saveAndSetLive}}\\n        @disabled={{or @isSaving (not @rule.isValid)}}\\n        @inRightList={{true}}\\n        data-test-rule-card-save-and-set-live-button={{true}}\\n      >\\n        {{ic-interface-icon \\\"put-live\\\"}} Save and set live\\n      </IcButton>\\n    {{else}}\\n      <IcButton\\n        @label={{if @rule.isDirtyOrHasDirtyChildObjects \\\"Cancel\\\" \\\"Done\\\"}}\\n        @type={{if @rule.isDirtyOrHasDirtyChildObjects \\\"secondary\\\" \\\"primary\\\"}}\\n        @onClick={{action @cancel}}\\n        @disabled={{@isSaving}}\\n        @inRightList={{true}}\\n        data-test-rule-card-cancel-button={{true}}\\n      />\\n      {{#if @rule.isDirtyOrHasDirtyChildObjects}}\\n        <IcButton\\n          @label=\\\"Save\\\"\\n          @type=\\\"primary\\\"\\n          @onClick={{action @save}}\\n          @disabled={{or @isSaving (not @rule.isValid)}}\\n          @inRightList={{true}}\\n          data-test-rule-card-save-button={{true}}\\n        />\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/rules/rule-card-footer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/rules/rule-card-footer.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"inbox__automation-rules__card__header {{if @rule.isExpanded 'o__expanded'}} js__rule-card__header\\\" data-test-rule-card-header>\\n  {{#if @rule.isNotExpanded}}\\n    <div class=\\\"flex items-start\\\">\\n      {{#if this.canBeReordered}}\\n        <div class=\\\"u__mr__10\\\">\\n          <div class=\\\"inbox__automation-rules__drag-icon\\\" data-test-rule-card-drag-handle>\\n            {{ic-interface-icon 'vertical-order' color='gray'}}\\n          </div>\\n        </div>\\n      {{/if}}\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <h3 class=\\\"t__h3 inbox__automation-rules__card__header-name {{unless @rule.isLive 'o__paused'}}\\\"><b>{{@rule.name}}</b></h3>\\n        {{ic-stamp this.stateLabel data-test-rule-card-status-stamp=true}}\\n      </div>\\n      {{#if @rule.lastExecutedAt}}\\n        <span class=\\\"text-gray\\\">Last applied <b>{{abbreviated-relative-time-ago-helper @rule.lastExecutedAt}}</b></span>\\n      {{/if}}\\n    </div>\\n  {{else}}\\n    <div class=\\\"flex items-center\\\">\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <div class=\\\"flex items-center\\\">\\n          <div\\n            class=\\\"inbox__automation-rules__card__header-name {{if @rule.isNew \\\"o__new\\\"}}\\\"\\n          >\\n            <Pulse::ExpandingInput\\n              @value={{@rule.name}}\\n              @onUpdate={{set @rule.name}}\\n              @isUnstyled={{true}}\\n              placeholder=\\\"Name your rule\\\"\\n              class=\\\"f__text inbox__automation-rules__card__header-name__input js__rule-name-input\\\"\\n              data-test-rule-name-input\\n            />\\n          </div>\\n          {{#unless @rule.isNew}}\\n            {{ic-stamp this.stateLabel data-test-rule-card-status-stamp=true}}\\n          {{/unless}}\\n        </div>\\n      </div>\\n      {{#unless @rule.isNew}}\\n        <div class=\\\"u__ml__10\\\" data-intercom-target={{if @rule.isLive \\\"pause-button\\\" \\\"put-live-button\\\"}}>\\n          <Paywall @featureKey={{@billingFeatureName}} as |paywall|>\\n            <paywall.Hover>\\n              <IcButton\\n                @type=\\\"primary-on-blue\\\"\\n                @onClick={{action @toggleStateAndSave}}\\n                @disabled={{or (not @rule.isValid) paywall.isActive}}\\n                @saving={{@isSaving}}\\n                data-test-rule-card-header-status-toggle\\n              >\\n                {{ic-interface-icon (if @rule.isLive 'pause' 'put-live')}} {{this.stateToggleText}}\\n              </IcButton>\\n            </paywall.Hover>\\n          </Paywall>\\n        </div>\\n      {{/unless}}\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"inbox__automation-rules__card__header {{if @rule.isExpanded 'o__expanded'}} js__rule-card__header\\\" data-test-rule-card-header>\\n  {{#if @rule.isNotExpanded}}\\n    <div class=\\\"flex items-start\\\">\\n      {{#if this.canBeReordered}}\\n        <div class=\\\"u__mr__10\\\">\\n          <div class=\\\"inbox__automation-rules__drag-icon\\\" data-test-rule-card-drag-handle>\\n            {{ic-interface-icon 'vertical-order' color='gray'}}\\n          </div>\\n        </div>\\n      {{/if}}\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <h3 class=\\\"t__h3 inbox__automation-rules__card__header-name {{unless @rule.isLive 'o__paused'}}\\\"><b>{{@rule.name}}</b></h3>\\n        {{ic-stamp this.stateLabel data-test-rule-card-status-stamp=true}}\\n      </div>\\n      {{#if @rule.lastExecutedAt}}\\n        <span class=\\\"text-gray\\\">Last applied <b>{{abbreviated-relative-time-ago-helper @rule.lastExecutedAt}}</b></span>\\n      {{/if}}\\n    </div>\\n  {{else}}\\n    <div class=\\\"flex items-center\\\">\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <div class=\\\"flex items-center\\\">\\n          <div\\n            class=\\\"inbox__automation-rules__card__header-name {{if @rule.isNew \\\"o__new\\\"}}\\\"\\n          >\\n            <Pulse::ExpandingInput\\n              @value={{@rule.name}}\\n              @onUpdate={{set @rule.name}}\\n              @isUnstyled={{true}}\\n              placeholder=\\\"Name your rule\\\"\\n              class=\\\"f__text inbox__automation-rules__card__header-name__input js__rule-name-input\\\"\\n              data-test-rule-name-input\\n            />\\n          </div>\\n          {{#unless @rule.isNew}}\\n            {{ic-stamp this.stateLabel data-test-rule-card-status-stamp=true}}\\n          {{/unless}}\\n        </div>\\n      </div>\\n      {{#unless @rule.isNew}}\\n        <div class=\\\"u__ml__10\\\" data-intercom-target={{if @rule.isLive \\\"pause-button\\\" \\\"put-live-button\\\"}}>\\n          <Paywall @featureKey={{@billingFeatureName}} as |paywall|>\\n            <paywall.Hover>\\n              <IcButton\\n                @type=\\\"primary-on-blue\\\"\\n                @onClick={{action @toggleStateAndSave}}\\n                @disabled={{or (not @rule.isValid) paywall.isActive}}\\n                @saving={{@isSaving}}\\n                data-test-rule-card-header-status-toggle\\n              >\\n                {{ic-interface-icon (if @rule.isLive 'pause' 'put-live')}} {{this.stateToggleText}}\\n              </IcButton>\\n            </paywall.Hover>\\n          </Paywall>\\n        </div>\\n      {{/unless}}\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/rules/rule-card-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/rules/rule-card-header.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class RuleCardHeader extends Component {\n  get canBeReordered() {\n    return this.args.isReorderable && !this.args.rule.isExpanded;\n  }\n\n  get stateLabel() {\n    return this.args.rule.isLive ? 'Live' : 'Paused';\n  }\n\n  get ruleHasChanged() {\n    return this.args.rule.hasDirtyAttributes || this.args.rule.hasDirtyRuleActions;\n  }\n\n  get stateToggleText() {\n    if (this.args.rule.isLive) {\n      return this.ruleHasChanged ? 'Save and pause' : 'Pause';\n    } else {\n      return this.ruleHasChanged ? 'Save and set live' : 'Set live';\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcCard\\n  @padding=\\\"none\\\"\\n  @isInteractive={{and isExpandable (not rule.isExpanded)}} as |card|\\n>\\n  <card.section @padding=\\\"none\\\">\\n    <Inbox::Rules::RuleCardHeader\\n      @rule={{rule}}\\n      @isSaving={{isSaving}}\\n      @isReorderable={{isReorderable}}\\n      @billingFeatureName={{@billingFeatureName}}\\n      @toggleStateAndSave={{action \\\"toggleStateAndSave\\\"}}\\n    />\\n  </card.section>\\n  <div class=\\\"js__rule-card__content-wrapper\\\">\\n    {{#if rule.isNotExpanded}}\\n      <card.section\\n        @padding=\\\"regular\\\"\\n        @classNames=\\\"inbox__automation-rules__card__collapsed text-gray\\\"\\n      >\\n        <Inbox::Rules::PredicatesListSummaryComponent\\n          @app={{app}}\\n          @predicates={{rule.underlyingRule.predicates}}\\n          @isOrGrouping={{rule.underlyingRule.isOrMode}}\\n          @isCardExpanded={{rule.isExpanded}}\\n        />\\n        <div class=\\\"h-1\\\"></div>\\n        <div class=\\\"flex items-start\\\">\\n          <div\\n            class=\\\"u__mr__10 t__label inbox__automation-rules__card__predicate-condition\\\"\\n          >\\n            THEN\\n          </div>\\n          <div class=\\\"flex-auto min-w-0\\\">\\n            <span\\n              class=\\\"u__prevent-breaks u__one-truncated-line u__padl__5 u__padr__5\\\"\\n            >\\n              <Inbox::Rules::RuleCardCollapsedActionSummary\\n                @rule={{rule}}\\n                @app={{app}}\\n                @actionSummaryContext={{hash\\n                  conversationSlas=@conversationSlas\\n                  officeHoursSchedules=@officeHoursSchedules\\n                }}\\n              />\\n            </span>\\n          </div>\\n        </div>\\n      </card.section>\\n    {{else}}\\n      <card.section\\n        @padding=\\\"regular\\\"\\n        @classNames=\\\"inbox__automation-rules__card__predicate-condition\\\"\\n      >\\n        <Rules::RuleEditor\\n          @rule={{rule.underlyingRule}}\\n          @isCard={{false}}\\n          @allowedRuleConditionalAttributes={{allowedRuleConditionalAttributes}}\\n          @allowedRuleActions={{allowedRuleActions}}\\n          @actionEditorContext={{hash\\n            conversationSlas=@conversationSlas\\n            singleActionMode=@singleActionMode\\n            officeHoursSchedules=@officeHoursSchedules\\n            isRulePage=true\\n          }}\\n        />\\n      </card.section>\\n      <card.section\\n        @padding=\\\"compact\\\"\\n        @classNames=\\\"inbox__automation-rules__card__footer\\\"\\n      >\\n        <Inbox::Rules::RuleCardFooter\\n          @rule={{rule}}\\n          @isSaving={{isSaving}}\\n          @save={{action \\\"save\\\"}}\\n          @saveAndSetLive={{action \\\"saveAndSetLive\\\"}}\\n          @cancel={{action \\\"cancel\\\"}}\\n          @delete={{action \\\"delete\\\"}}\\n        />\\n      </card.section>\\n    {{/if}}\\n  </div>\\n</IcCard>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcCard\\n  @padding=\\\"none\\\"\\n  @isInteractive={{and isExpandable (not rule.isExpanded)}} as |card|\\n>\\n  <card.section @padding=\\\"none\\\">\\n    <Inbox::Rules::RuleCardHeader\\n      @rule={{rule}}\\n      @isSaving={{isSaving}}\\n      @isReorderable={{isReorderable}}\\n      @billingFeatureName={{@billingFeatureName}}\\n      @toggleStateAndSave={{action \\\"toggleStateAndSave\\\"}}\\n    />\\n  </card.section>\\n  <div class=\\\"js__rule-card__content-wrapper\\\">\\n    {{#if rule.isNotExpanded}}\\n      <card.section\\n        @padding=\\\"regular\\\"\\n        @classNames=\\\"inbox__automation-rules__card__collapsed text-gray\\\"\\n      >\\n        <Inbox::Rules::PredicatesListSummaryComponent\\n          @app={{app}}\\n          @predicates={{rule.underlyingRule.predicates}}\\n          @isOrGrouping={{rule.underlyingRule.isOrMode}}\\n          @isCardExpanded={{rule.isExpanded}}\\n        />\\n        <div class=\\\"h-1\\\"></div>\\n        <div class=\\\"flex items-start\\\">\\n          <div\\n            class=\\\"u__mr__10 t__label inbox__automation-rules__card__predicate-condition\\\"\\n          >\\n            THEN\\n          </div>\\n          <div class=\\\"flex-auto min-w-0\\\">\\n            <span\\n              class=\\\"u__prevent-breaks u__one-truncated-line u__padl__5 u__padr__5\\\"\\n            >\\n              <Inbox::Rules::RuleCardCollapsedActionSummary\\n                @rule={{rule}}\\n                @app={{app}}\\n                @actionSummaryContext={{hash\\n                  conversationSlas=@conversationSlas\\n                  officeHoursSchedules=@officeHoursSchedules\\n                }}\\n              />\\n            </span>\\n          </div>\\n        </div>\\n      </card.section>\\n    {{else}}\\n      <card.section\\n        @padding=\\\"regular\\\"\\n        @classNames=\\\"inbox__automation-rules__card__predicate-condition\\\"\\n      >\\n        <Rules::RuleEditor\\n          @rule={{rule.underlyingRule}}\\n          @isCard={{false}}\\n          @allowedRuleConditionalAttributes={{allowedRuleConditionalAttributes}}\\n          @allowedRuleActions={{allowedRuleActions}}\\n          @actionEditorContext={{hash\\n            conversationSlas=@conversationSlas\\n            singleActionMode=@singleActionMode\\n            officeHoursSchedules=@officeHoursSchedules\\n            isRulePage=true\\n          }}\\n        />\\n      </card.section>\\n      <card.section\\n        @padding=\\\"compact\\\"\\n        @classNames=\\\"inbox__automation-rules__card__footer\\\"\\n      >\\n        <Inbox::Rules::RuleCardFooter\\n          @rule={{rule}}\\n          @isSaving={{isSaving}}\\n          @save={{action \\\"save\\\"}}\\n          @saveAndSetLive={{action \\\"saveAndSetLive\\\"}}\\n          @cancel={{action \\\"cancel\\\"}}\\n          @delete={{action \\\"delete\\\"}}\\n        />\\n      </card.section>\\n    {{/if}}\\n  </div>\\n</IcCard>\\n\",\"moduleName\":\"embercom/components/inbox/rules/rule-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/rules/rule-card.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport $ from 'jquery';\nimport { computed } from '@ember/object';\nimport { readOnly, and, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { templateString, ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport { task } from 'ember-concurrency';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport { addEventListener, runDisposables } from 'ember-lifeline';\nimport EmberObject from '@ember/object';\n\nconst DISCARD_CHANGES_OPTIONS = {\n  title: 'You have unsaved changes',\n  body: 'Are you sure you want to discard these changes?',\n  cancelButtonText: 'Continue editing',\n  confirmButtonText: 'Discard',\n  invertButtonTypes: true,\n};\n\nconst DELETE_ITEM_OPTIONS = {\n  title: 'Delete rule',\n  body: 'Are you sure you want to delete this rule?',\n  primaryButtonType: 'primary-destructive',\n  confirmButtonText: 'Delete rule',\n};\n\nexport default Component.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  attributeService: service(),\n  attributeBindings: ['data-intercom-target'],\n  classNames: ['inbox__automation-rules__card'],\n  classNameBindings: ['rule.isExpanded:o__expanded', 'isNotExpandable:o__faded'],\n\n  didInsertElement() {\n    this._super(...arguments);\n    this._setupEvents();\n  },\n\n  destroy() {\n    this._super(...arguments);\n    runDisposables(this);\n  },\n\n  allowedRuleConditionalAttributes: computed(\n    'attributeService.assignmentRulesMessageAttributesAsAttributes.[]',\n    'attributeService.allUserAttributes.[]',\n    'attributeService.allCompanyAttributes.[]',\n    function() {\n      let messageDataAttributes = this.get(\n        'attributeService.assignmentRulesMessageAttributesAsAttributes',\n      );\n      let peopleAttributes = this.get('attributeService.filterableUserAttributesForInboxRules');\n      let companyAttributes = this.get('attributeService.filterableCompanyAttributesForInboxRules');\n      return [\n        {\n          heading: 'Message data',\n          attributes: messageDataAttributes,\n        },\n        {\n          heading: 'People data',\n          attributes: peopleAttributes,\n        },\n        {\n          heading: 'Company data',\n          attributes: companyAttributes,\n        },\n      ];\n    },\n  ),\n\n  allowedRuleActions: readOnly('rule.allowedRuleActions'),\n  notificationStateText: ternary('rule.isLive', 'paused', 'set live'),\n  errorNotificationText: 'An error occurred, please try again',\n  deleteNotificationText: templateString('\"${rule.name}\" deleted successfully'),\n\n  saveTask: task(function*(rule, stateText, isCreate) {\n    yield rule.save();\n    this.toggleExpandState(this.rule);\n    let eventName = isCreate\n      ? rule.get('createdSuccessEventText')\n      : rule.get('updatedSuccessEventText');\n    this._recordEvent(eventName);\n    if (stateText) {\n      this.notificationsService.notifyConfirmation(\n        `\"${rule.get('name')}\" ${stateText} successfully`,\n      );\n    }\n  }),\n\n  isSaving: readOnly('saveTask.isRunning'),\n  isExpandable: not('isNotExpandable'),\n  isNotExpandable: and('rule.isNotExpanded', 'inListThatContainsAnExpandedRuleCard'),\n  isNotCollapsible: and('rule.isExpanded', 'rule.isDirtyOrHasDirtyChildObjects'),\n\n  _saveRule(stateText, toggleStateOnFailure) {\n    let rule = this.rule;\n    let isCreate = rule.get('isNew');\n\n    this.recordAnalytics(rule, isCreate);\n\n    this.saveTask.perform(rule, stateText, isCreate).catch(e => {\n      let defaultNotification = this.errorNotificationText;\n      let notification =\n        EmberObject.create(e).get('jqXHR.responseJSON.errors') || defaultNotification;\n      this.notificationsService.notifyError(notification);\n\n      if (toggleStateOnFailure) {\n        this.toggleProperty('rule.isLive');\n      }\n    });\n  },\n\n  _deleteRule() {\n    this.rule\n      .destroyRecord()\n      .then(() => {\n        this.notificationsService.notifyConfirmation(this.deleteNotificationText);\n      })\n      .catch(() => {\n        this.notificationsService.notifyError(this.errorNotificationText);\n      });\n  },\n\n  _showDialogIfRequired(condition, options, fn) {\n    if (condition) {\n      intercomConfirm(this, options).then(fn);\n    } else {\n      fn();\n    }\n  },\n\n  _showNewRuleDirtyDialog() {\n    this._showDialogIfRequired(\n      this.get('rule.isDirtyOrHasDirtyChildObjects'),\n      DISCARD_CHANGES_OPTIONS,\n      () => {\n        this.rule.deleteRecord();\n      },\n    );\n  },\n\n  _showEditedRuleDirtyDialog() {\n    this._showDialogIfRequired(\n      this.get('rule.isDirtyOrHasDirtyChildObjects'),\n      DISCARD_CHANGES_OPTIONS,\n      () => {\n        this.rule.rollbackAttributes();\n        this.toggleExpandState(this.rule);\n      },\n    );\n  },\n\n  _setupEvents() {\n    addEventListener(this, this.element.querySelector('.js__rule-card__header'), 'click', e =>\n      this._handleHeaderWasClicked(e),\n    );\n    addEventListener(\n      this,\n      this.element.querySelector('.js__rule-card__content-wrapper'),\n      'click',\n      e => this._handleContentWasClicked(e),\n    );\n  },\n\n  _handleHeaderWasClicked(event) {\n    if (\n      this.isNotExpandable ||\n      this.isNotCollapsible ||\n      this._clickedElementShouldNotToggleIsExpanded(event)\n    ) {\n      return;\n    }\n    this.toggleExpandState(this.rule);\n  },\n\n  _handleContentWasClicked(event) {\n    if (\n      this.inListThatContainsAnExpandedRuleCard ||\n      this._clickedElementShouldNotToggleIsExpanded(event)\n    ) {\n      return;\n    }\n    this.toggleExpandState(this.rule);\n  },\n\n  _clickedElementShouldNotToggleIsExpanded(event) {\n    return $(event.target).is('input,.btn,svg');\n  },\n\n  _recordEvent(name) {\n    this.intercomEventService.trackEvent(name, {\n      app_id_code: this.get('app.id'),\n      rule_id: this.get('rule.id'),\n      rule_name: this.get('rule.name'),\n    });\n  },\n\n  recordAnalytics(rule, isCreate) {\n    let action = '';\n    let metadata = rule.buildMetaDataForAnalytics(isCreate);\n    if (isCreate) {\n      action = rule.get('isLive') ? 'saved_and_set_live' : 'saved_and_closed';\n    } else {\n      action = 'edited';\n    }\n\n    let analyticsObject = $.extend(\n      {\n        action,\n        object: rule.get('entityString'),\n        models: [rule],\n      },\n      metadata,\n    );\n\n    this.intercomEventService.trackAnalyticsEvent(analyticsObject);\n  },\n\n  actions: {\n    save() {\n      this._saveRule('saved');\n    },\n    saveAndSetLive() {\n      let stateText = this.notificationStateText;\n      this.set('rule.isLive', true);\n      this._saveRule(stateText, true);\n    },\n    toggleStateAndSave() {\n      let stateText = this.notificationStateText;\n      this.toggleProperty('rule.isLive');\n      this._saveRule(stateText, true);\n    },\n    cancel() {\n      if (this.get('rule.isNew')) {\n        this._recordEvent('rule-card-cancel-clicked');\n        this._showNewRuleDirtyDialog();\n      } else {\n        this._showEditedRuleDirtyDialog();\n      }\n    },\n    delete() {\n      intercomConfirm(this, DELETE_ITEM_OPTIONS).then(() => this._deleteRule());\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{yield}}\", {\"contents\":\"{{yield}}\",\"moduleName\":\"embercom/components/inbox/rules/rules-list-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/rules/rules-list-header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Common::HamburgerMenu>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <span class=\\\"t__h1\\\">{{@title}}</span>\\n  </div>\\n  {{#if @hasRules}}\\n    <div class=\\\"u__right u__ml__10\\\">\\n      <div class=\\\"layout__box o__centers-vertically o__has-columns\\\">\\n        {{#if (and @articleText @articleUrl)}}\\n          <span class=\\\"layout__box o__has-columns u__mr__25\\\">\\n            <Pulse::HelpContent::Link\\n              @href={{@articleUrl}}\\n              @title={{@articleText}}\\n              @type=\\\"article\\\"\\n            />\\n          </span>\\n        {{/if}}\\n        <span>\\n          <Paywall\\n            @featureKey={{@billingFeatureName}} as |paywall|\\n          >\\n            <paywall.Hover>\\n              <IcButton\\n                @type=\\\"primary\\\"\\n                @onClick={{action \\\"createAndScrollToRule\\\"}}\\n                @disabled={{paywall.isActive}}\\n                data-test-rules-create-button={{true}}\\n              >\\n                New rule\\n              </IcButton>\\n            </paywall.Hover>\\n          </Paywall>\\n        </span>\\n      </div>\\n    </div>\\n  {{/if}}\\n</Common::HamburgerMenu>\\n<div class=\\\"h-8\\\"></div>\\n<div class=\\\"u__padl__30 u__padr__30\\\">\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    {{#if @headerText}}\\n      <p class=\\\"text-gray\\\">\\n        {{@headerText}}\\n      </p>\\n    {{else}}\\n      {{yield (hash header=(component \\\"inbox/rules/rules-list-header\\\"))}}\\n    {{/if}}\\n  </div>\\n  <div class=\\\"h-8\\\"></div>\\n  {{#if isReorderable}}\\n    <div class=\\\"inbox__automation-rules__priority-indicator\\\">\\n      <div\\n        class=\\\"inbox__automation-rules__priority-indicator__text text-gray u__padl__15 u__padr__15\\\"\\n        data-test-highest-priority-indicator\\n      >\\n        Highest priority\\n      </div>\\n    </div>\\n    <div class=\\\"h-5\\\"></div>\\n  {{/if}}\\n  {{#if @hasRules}}\\n    <SortableGroup @tagName=\\\"div\\\" @onChange={{@reorderRules}} as |group|>\\n      {{#each (sort-by \\\"order\\\" @rules) as |rule index|}}\\n        <group.item\\n          @tagName=\\\"div\\\"\\n          @group={{group}}\\n          @model={{rule}}\\n          @handle=\\\".inbox__automation-rules__drag-icon\\\"\\n          class=\\\"u__mb__20\\\"\\n        >\\n          <Inbox::Rules::RuleCard\\n            @rule={{rule}}\\n            @singleActionMode={{@singleActionMode}}\\n            @toggleExpandState={{@toggleItemIsExpanded}}\\n            @inListThatContainsAnExpandedRuleCard={{@atLeastOneRuleIsExpanded}}\\n            @conversationSlas={{@conversationSlas}}\\n            @officeHoursSchedules={{@officeHoursSchedules}}\\n            @billingFeatureName={{@billingFeatureName}}\\n            @isReorderable={{isReorderable}}\\n            data-test-rule-card={{index}}\\n            data-intercom-target={{unless index \\\"first-rule\\\"}}\\n          />\\n        </group.item>\\n      {{/each}}\\n    </SortableGroup>\\n  {{else}}\\n    <div class=\\\"card\\\">\\n      <IcEmptyState\\n        @icon=\\\"rule\\\"\\n        @title=\\\"No rules yet\\\"\\n        data-test-rules-empty-state={{true}} as |emptyState|\\n      >\\n        <emptyState.description>\\n          {{yield\\n            (hash\\n              emptyStateText=(component \\\"inbox/rules/list-empty-state-text\\\")\\n            )\\n          }}\\n        </emptyState.description>\\n        <div class=\\\"h-5\\\"></div>\\n        <Paywall\\n          @featureKey={{@billingFeatureName}} as |paywall|\\n        >\\n          <paywall.Hover>\\n            <IcButton\\n              @type=\\\"primary\\\"\\n              @onClick={{action \\\"createAndScrollToRule\\\"}}\\n              @disabled={{paywall.isActive}}\\n              data-test-empty-state-new-rule-button={{true}}\\n            >\\n              New rule\\n            </IcButton>\\n          </paywall.Hover>\\n        </Paywall>\\n      </IcEmptyState>\\n    </div>\\n  {{/if}}\\n  {{#if isReorderable}}\\n    <div class=\\\"h-2\\\"></div>\\n    <div class=\\\"inbox__automation-rules__priority-indicator\\\">\\n      <div\\n        class=\\\"inbox__automation-rules__priority-indicator__text text-gray u__padl__15 u__padr__15\\\"\\n        data-test-lowest-priority-indicator\\n      >\\n        Lowest priority\\n      </div>\\n    </div>\\n  {{/if}}\\n  <div class=\\\"h-8\\\">\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Common::HamburgerMenu>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <span class=\\\"t__h1\\\">{{@title}}</span>\\n  </div>\\n  {{#if @hasRules}}\\n    <div class=\\\"u__right u__ml__10\\\">\\n      <div class=\\\"layout__box o__centers-vertically o__has-columns\\\">\\n        {{#if (and @articleText @articleUrl)}}\\n          <span class=\\\"layout__box o__has-columns u__mr__25\\\">\\n            <Pulse::HelpContent::Link\\n              @href={{@articleUrl}}\\n              @title={{@articleText}}\\n              @type=\\\"article\\\"\\n            />\\n          </span>\\n        {{/if}}\\n        <span>\\n          <Paywall\\n            @featureKey={{@billingFeatureName}} as |paywall|\\n          >\\n            <paywall.Hover>\\n              <IcButton\\n                @type=\\\"primary\\\"\\n                @onClick={{action \\\"createAndScrollToRule\\\"}}\\n                @disabled={{paywall.isActive}}\\n                data-test-rules-create-button={{true}}\\n              >\\n                New rule\\n              </IcButton>\\n            </paywall.Hover>\\n          </Paywall>\\n        </span>\\n      </div>\\n    </div>\\n  {{/if}}\\n</Common::HamburgerMenu>\\n<div class=\\\"h-8\\\"></div>\\n<div class=\\\"u__padl__30 u__padr__30\\\">\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    {{#if @headerText}}\\n      <p class=\\\"text-gray\\\">\\n        {{@headerText}}\\n      </p>\\n    {{else}}\\n      {{yield (hash header=(component \\\"inbox/rules/rules-list-header\\\"))}}\\n    {{/if}}\\n  </div>\\n  <div class=\\\"h-8\\\"></div>\\n  {{#if isReorderable}}\\n    <div class=\\\"inbox__automation-rules__priority-indicator\\\">\\n      <div\\n        class=\\\"inbox__automation-rules__priority-indicator__text text-gray u__padl__15 u__padr__15\\\"\\n        data-test-highest-priority-indicator\\n      >\\n        Highest priority\\n      </div>\\n    </div>\\n    <div class=\\\"h-5\\\"></div>\\n  {{/if}}\\n  {{#if @hasRules}}\\n    <SortableGroup @tagName=\\\"div\\\" @onChange={{@reorderRules}} as |group|>\\n      {{#each (sort-by \\\"order\\\" @rules) as |rule index|}}\\n        <group.item\\n          @tagName=\\\"div\\\"\\n          @group={{group}}\\n          @model={{rule}}\\n          @handle=\\\".inbox__automation-rules__drag-icon\\\"\\n          class=\\\"u__mb__20\\\"\\n        >\\n          <Inbox::Rules::RuleCard\\n            @rule={{rule}}\\n            @singleActionMode={{@singleActionMode}}\\n            @toggleExpandState={{@toggleItemIsExpanded}}\\n            @inListThatContainsAnExpandedRuleCard={{@atLeastOneRuleIsExpanded}}\\n            @conversationSlas={{@conversationSlas}}\\n            @officeHoursSchedules={{@officeHoursSchedules}}\\n            @billingFeatureName={{@billingFeatureName}}\\n            @isReorderable={{isReorderable}}\\n            data-test-rule-card={{index}}\\n            data-intercom-target={{unless index \\\"first-rule\\\"}}\\n          />\\n        </group.item>\\n      {{/each}}\\n    </SortableGroup>\\n  {{else}}\\n    <div class=\\\"card\\\">\\n      <IcEmptyState\\n        @icon=\\\"rule\\\"\\n        @title=\\\"No rules yet\\\"\\n        data-test-rules-empty-state={{true}} as |emptyState|\\n      >\\n        <emptyState.description>\\n          {{yield\\n            (hash\\n              emptyStateText=(component \\\"inbox/rules/list-empty-state-text\\\")\\n            )\\n          }}\\n        </emptyState.description>\\n        <div class=\\\"h-5\\\"></div>\\n        <Paywall\\n          @featureKey={{@billingFeatureName}} as |paywall|\\n        >\\n          <paywall.Hover>\\n            <IcButton\\n              @type=\\\"primary\\\"\\n              @onClick={{action \\\"createAndScrollToRule\\\"}}\\n              @disabled={{paywall.isActive}}\\n              data-test-empty-state-new-rule-button={{true}}\\n            >\\n              New rule\\n            </IcButton>\\n          </paywall.Hover>\\n        </Paywall>\\n      </IcEmptyState>\\n    </div>\\n  {{/if}}\\n  {{#if isReorderable}}\\n    <div class=\\\"h-2\\\"></div>\\n    <div class=\\\"inbox__automation-rules__priority-indicator\\\">\\n      <div\\n        class=\\\"inbox__automation-rules__priority-indicator__text text-gray u__padl__15 u__padr__15\\\"\\n        data-test-lowest-priority-indicator\\n      >\\n        Lowest priority\\n      </div>\\n    </div>\\n  {{/if}}\\n  <div class=\\\"h-8\\\">\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/rules/rules-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/rules/rules-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport $ from 'jquery';\n\nexport default Component.extend({\n  classNames: ['rules__list'],\n  isReorderable: true,\n\n  _scrollToBottom() {\n    let scrollContainer = $('.rules__list').scrollParent();\n    if (scrollContainer?.length) {\n      let scrollHeight = scrollContainer.get(0).scrollHeight;\n      scrollContainer.scrollTop(scrollHeight);\n    }\n  },\n\n  actions: {\n    createAndScrollToRule() {\n      Promise.resolve(this.createRule(this.billingFeatureName)).then(() => {\n        this._scrollToBottom();\n        let inputs = document.getElementsByClassName('js__rule-name-input');\n\n        if (inputs.length > 0) {\n          let lastInputField = inputs[inputs.length - 1];\n          lastInputField.focus();\n          lastInputField.select();\n        }\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\nApply SLA <b>{{conversationSla.name}}</b>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\nApply SLA <b>{{conversationSla.name}}</b>\\n\",\"moduleName\":\"embercom/components/inbox/rules/sla-rule-collapsed-action-summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/rules/sla-rule-collapsed-action-summary.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  conversationSla: computed('conversationSlaId', 'conversationSlas.[]', function() {\n    return this.conversationSlas.findBy('id', this.conversationSlaId);\n  }),\n  officeHoursSchedule: computed('officeHoursScheduleId', 'officeHoursSchedules.[]', function() {\n    return this.officeHoursSchedules.findBy('id', this.officeHoursScheduleId);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Inbox::Rules::RulesList\\n  @rules={{rules}}\\n  @createRule={{action \\\"createNewRuleOrPromptUpgrade\\\"}}\\n  @billingFeatureName={{billingFeatureName}}\\n  @shouldDisableCreateRuleButton={{shouldDisableCreateRuleButton}}\\n  @reorderRules={{action \\\"reorderRules\\\"}}\\n  @toggleItemIsExpanded={{toggleItemIsExpanded}}\\n  @app={{app}}\\n  @conversationSlas={{@conversationSlas}}\\n  @officeHoursSchedules={{@officeHoursSchedules}}\\n  @hasRules={{hasRules}}\\n  @atLeastOneRuleIsExpanded={{atLeastOneRuleIsExpanded}}\\n  @articleText=\\\"How to set up SLAs\\\"\\n  @articleUrl=\\\"https://www.intercom.com/help/support-and-retain-customers/respond-to-issues-quicker/hit-your-response-time-targets-with-sla-rules\\\"\\n  @title=\\\"SLA rules\\\"\\n  as |list|\\n>\\n  <list.header>\\n    <p class=\\\"text-gray\\\">\\n      Set targets for response times by automatically applying SLAs (service level agreements). SLA targets will appear on your conversations to help your team respond on time. You can also see how your team is doing in the <a href={{href-to \\\"apps.app.reports.inbox.slas\\\"}}> SLA report</a>.\\n    </p>\\n  </list.header>\\n  <list.emptyStateText>\\n    Set targets for responsiveness with SLAs. SLA rules automatically apply SLAs to inbound conversations.<br />\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/support-and-retain-customers/respond-to-issues-quicker/hit-your-response-time-targets-with-sla-rules\\\"\\n      @title=\\\"Learn more about how SLAs work\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />.\\n  </list.emptyStateText>\\n</Inbox::Rules::RulesList>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Inbox::Rules::RulesList\\n  @rules={{rules}}\\n  @createRule={{action \\\"createNewRuleOrPromptUpgrade\\\"}}\\n  @billingFeatureName={{billingFeatureName}}\\n  @shouldDisableCreateRuleButton={{shouldDisableCreateRuleButton}}\\n  @reorderRules={{action \\\"reorderRules\\\"}}\\n  @toggleItemIsExpanded={{toggleItemIsExpanded}}\\n  @app={{app}}\\n  @conversationSlas={{@conversationSlas}}\\n  @officeHoursSchedules={{@officeHoursSchedules}}\\n  @hasRules={{hasRules}}\\n  @atLeastOneRuleIsExpanded={{atLeastOneRuleIsExpanded}}\\n  @articleText=\\\"How to set up SLAs\\\"\\n  @articleUrl=\\\"https://www.intercom.com/help/support-and-retain-customers/respond-to-issues-quicker/hit-your-response-time-targets-with-sla-rules\\\"\\n  @title=\\\"SLA rules\\\"\\n  as |list|\\n>\\n  <list.header>\\n    <p class=\\\"text-gray\\\">\\n      Set targets for response times by automatically applying SLAs (service level agreements). SLA targets will appear on your conversations to help your team respond on time. You can also see how your team is doing in the <a href={{href-to \\\"apps.app.reports.inbox.slas\\\"}}> SLA report</a>.\\n    </p>\\n  </list.header>\\n  <list.emptyStateText>\\n    Set targets for responsiveness with SLAs. SLA rules automatically apply SLAs to inbound conversations.<br />\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/support-and-retain-customers/respond-to-issues-quicker/hit-your-response-time-targets-with-sla-rules\\\"\\n      @title=\\\"Learn more about how SLAs work\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />.\\n  </list.emptyStateText>\\n</Inbox::Rules::RulesList>\\n\",\"moduleName\":\"embercom/components/inbox/rules/sla-rules.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/rules/sla-rules.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable promise/prefer-await-to-then */\nimport InboxRules from 'embercom/components/inbox/rules/inbox-rules';\n\nexport default InboxRules.extend({\n  ruleRecordType: 'inbox/conversation-rules/sla',\n  billingFeatureName: 'inbox_conversation_sla_rules',\n\n  _createNewRule() {\n    return this._super(...arguments).then(rule => {\n      let actions = rule.get('underlyingRule.actions');\n      actions.createFragment({\n        type: 'apply-conversation-sla',\n        justAdded: true,\n      });\n      return Promise.resolve(rule);\n    });\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-summary-line={{0}}>Tag conversation with <b>{{this.tagNames.firstObject}}</b></div>\\n\\n{{#if this.tagNames}}\\n  {{#each (slice 1 this.tagNames.length this.tagNames) as |tagName index|}}\\n    <div data-test-summary-line={{add index 1}}>AND with <b>{{tagName}}</b></div>\\n  {{/each}}\\n{{/if}}\\n\", {\"contents\":\"<div data-test-summary-line={{0}}>Tag conversation with <b>{{this.tagNames.firstObject}}</b></div>\\n\\n{{#if this.tagNames}}\\n  {{#each (slice 1 this.tagNames.length this.tagNames) as |tagName index|}}\\n    <div data-test-summary-line={{add index 1}}>AND with <b>{{tagName}}</b></div>\\n  {{/each}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/rules/tag-rule-collapsed-action-summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/rules/tag-rule-collapsed-action-summary.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  tagName: '',\n\n  tagNames: computed('tagRuleActions.[]', 'tags.[]', function() {\n    return this.tagRuleActions\n      .map(action => action.actionData.tag_id)\n      .filter(tagId => !!tagId)\n      .map(tagId => this.tags.findBy('id', tagId))\n      .filter(tag => !!tag)\n      .map(tag => tag.name);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Inbox::Rules::RulesList\\n  @rules={{@rules}}\\n  @singleActionMode={{true}}\\n  @headerText={{this.headerText}}\\n  @createRule={{action \\\"createNewRuleOrPromptUpgrade\\\"}}\\n  @billingFeatureName={{this.billingFeatureName}}\\n  @shouldDisableCreateRuleButton={{this.shouldDisableCreateRuleButton}}\\n  @isReorderable={{false}}\\n  @toggleItemIsExpanded={{@toggleItemIsExpanded}}\\n  @app={{this.app}}\\n  @hasRules={{this.hasRules}}\\n  @atLeastOneRuleIsExpanded={{this.atLeastOneRuleIsExpanded}}\\n  @articleText=\\\"How to set up tag rules\\\"\\n  @articleUrl=\\\"https://www.intercom.com/help/en/articles/3396331-Tag-conversations-automatically-with-tag-rules\\\"\\n  @title=\\\"Tag rules\\\"\\n  as |list|\\n>\\n  <list.emptyStateText>\\n    Tag rules can be based on the content of a message, or anything we\\n    can track about the person who sent it.<br>\\n  </list.emptyStateText>\\n</Inbox::Rules::RulesList>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Inbox::Rules::RulesList\\n  @rules={{@rules}}\\n  @singleActionMode={{true}}\\n  @headerText={{this.headerText}}\\n  @createRule={{action \\\"createNewRuleOrPromptUpgrade\\\"}}\\n  @billingFeatureName={{this.billingFeatureName}}\\n  @shouldDisableCreateRuleButton={{this.shouldDisableCreateRuleButton}}\\n  @isReorderable={{false}}\\n  @toggleItemIsExpanded={{@toggleItemIsExpanded}}\\n  @app={{this.app}}\\n  @hasRules={{this.hasRules}}\\n  @atLeastOneRuleIsExpanded={{this.atLeastOneRuleIsExpanded}}\\n  @articleText=\\\"How to set up tag rules\\\"\\n  @articleUrl=\\\"https://www.intercom.com/help/en/articles/3396331-Tag-conversations-automatically-with-tag-rules\\\"\\n  @title=\\\"Tag rules\\\"\\n  as |list|\\n>\\n  <list.emptyStateText>\\n    Tag rules can be based on the content of a message, or anything we\\n    can track about the person who sent it.<br>\\n  </list.emptyStateText>\\n</Inbox::Rules::RulesList>\\n\",\"moduleName\":\"embercom/components/inbox/rules/tag-rules.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/rules/tag-rules.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport InboxRules from 'embercom/components/inbox/rules/inbox-rules';\n\nexport default InboxRules.extend({\n  headerText:\n    'Automatically tag conversations based on who the person is or the content of their message.',\n  ruleRecordType: 'inbox/conversation-rules/tag',\n  billingFeatureName: 'inbox_conversation_tag_rules',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"inbox__search__pill {{if selected \\\"o__selected\\\"}} mr-1\\\"\\n  data-test-inbox-search-pill\\n>\\n  <div\\n    class=\\\"inbox__search__pill-content pl-2 pr-2\\\"\\n    data-test-inbox-search-pill-content\\n  >\\n    {{yield}}\\n  </div>\\n  {{#if onDeleteClicked}}\\n    <div class=\\\"inbox__search__pill-delete pr-1 pl-6\\\">\\n      <a data-test-inbox-search-pill-delete {{action onDeleteClicked}}>\\n        {{ic-interface-icon \\\"small-close\\\" color=\\\"blue\\\" solo=true}}\\n      </a>\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"inbox__search__pill {{if selected \\\"o__selected\\\"}} mr-1\\\"\\n  data-test-inbox-search-pill\\n>\\n  <div\\n    class=\\\"inbox__search__pill-content pl-2 pr-2\\\"\\n    data-test-inbox-search-pill-content\\n  >\\n    {{yield}}\\n  </div>\\n  {{#if onDeleteClicked}}\\n    <div class=\\\"inbox__search__pill-delete pr-1 pl-6\\\">\\n      <a data-test-inbox-search-pill-delete {{action onDeleteClicked}}>\\n        {{ic-interface-icon \\\"small-close\\\" color=\\\"blue\\\" solo=true}}\\n      </a>\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/search/pill.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/search/pill.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  tagName: '',\n  selected: false,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Inbox::Search::Pill\\n  @onDeleteClicked={{action @onDeleteClicked @filter}}\\n  @selected={{@filter.selected}}\\n>\\n  <strong data-test-inbox-search-pill-filter-type>\\n    {{humanize @filter.type}}:\\n  </strong>\\n  <span data-test-inbox-search-pill-filter-value>\\n    {{#if @filter.filterAvatar}}\\n      <span data-test-inbox-search-pill-filter-value-avatar>\\n        {{ic-avatar model=@filter.filterAvatar size=\\\"xs\\\"}}\\n      </span>\\n    {{else if @filter.filterIcon}}\\n      <span data-test-inbox-search-pill-filter-value-icon>\\n        {{ic-interface-icon @filter.filterIcon set=\\\"tiny\\\" solo=true}}\\n      </span>\\n    {{/if}}\\n    {{@filter.filterText}}\\n  </span>\\n</Inbox::Search::Pill>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Inbox::Search::Pill\\n  @onDeleteClicked={{action @onDeleteClicked @filter}}\\n  @selected={{@filter.selected}}\\n>\\n  <strong data-test-inbox-search-pill-filter-type>\\n    {{humanize @filter.type}}:\\n  </strong>\\n  <span data-test-inbox-search-pill-filter-value>\\n    {{#if @filter.filterAvatar}}\\n      <span data-test-inbox-search-pill-filter-value-avatar>\\n        {{ic-avatar model=@filter.filterAvatar size=\\\"xs\\\"}}\\n      </span>\\n    {{else if @filter.filterIcon}}\\n      <span data-test-inbox-search-pill-filter-value-icon>\\n        {{ic-interface-icon @filter.filterIcon set=\\\"tiny\\\" solo=true}}\\n      </span>\\n    {{/if}}\\n    {{@filter.filterText}}\\n  </span>\\n</Inbox::Search::Pill>\\n\",\"moduleName\":\"embercom/components/inbox/search/pill/filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/search/pill/filter.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col gap-4\\\">\\n  <div class=\\\"nav-vertical__search layout__box o__updated\\\">\\n    <div class=\\\"nav-vertical__search__input__wrapper\\\">\\n      <Common::InputWithPills\\n        @pills={{this.query.filters}}\\n        @inputValue={{this.query.currentTextFilter}}\\n        @removePill={{this.removeFilter}}\\n        @onFocus={{this.focusOn}}\\n        @onBlur={{this.focusOff}}\\n        as |inputWithPills|\\n      >\\n        <div\\n          class=\\\"layout__box o__has-columns nav-vertical__search__input {{if this.inputHasFocus 'o__focus'}} pl-2 u__overflow-x-auto js__search__input\\\"\\n        >\\n          <inputWithPills.PillsList class=\\\"layout__box\\\" as |filter|>\\n            <Inbox::Search::Pill::Filter\\n              @onDeleteClicked={{this.removeFilter}}\\n              @filter={{filter}}\\n            />\\n          </inputWithPills.PillsList>\\n          <inputWithPills.InputField\\n            class=\\\"layout__box o__flexes-to-1 inbox__search__input-with-pills__input\\\"\\n            @placeholder={{unless this.query.filters \\\"Search for keywords, tags, users...\\\"}}\\n          />\\n        </div>\\n        {{#if this.inputHasFocus}}\\n          <div\\n            class=\\\"nav-vertical__search__backing o__opened\\\"\\n            data-test-search-backing\\n          >\\n            <div class=\\\"nav-vertical__search__result__list o__inbox-search\\\">\\n              {{#each this.dropdownListItems as |listItem|}}\\n                <Inbox::Search::QueryBuilder::ListItem\\n                  @item={{listItem}}\\n                  @currentTextFilter={{this.query.currentTextFilter}}\\n                />\\n              {{/each}}\\n            </div>\\n          </div>\\n        {{/if}}\\n      </Common::InputWithPills>\\n      <a class=\\\"nav-vertical__search__reset-search__icon\\\" {{on \\\"click\\\" this.resetSearch}} data-test-reset-search>\\n        {{ic-interface-icon 'delete' solo=true}}\\n      </a>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col gap-4\\\">\\n  <div class=\\\"nav-vertical__search layout__box o__updated\\\">\\n    <div class=\\\"nav-vertical__search__input__wrapper\\\">\\n      <Common::InputWithPills\\n        @pills={{this.query.filters}}\\n        @inputValue={{this.query.currentTextFilter}}\\n        @removePill={{this.removeFilter}}\\n        @onFocus={{this.focusOn}}\\n        @onBlur={{this.focusOff}}\\n        as |inputWithPills|\\n      >\\n        <div\\n          class=\\\"layout__box o__has-columns nav-vertical__search__input {{if this.inputHasFocus 'o__focus'}} pl-2 u__overflow-x-auto js__search__input\\\"\\n        >\\n          <inputWithPills.PillsList class=\\\"layout__box\\\" as |filter|>\\n            <Inbox::Search::Pill::Filter\\n              @onDeleteClicked={{this.removeFilter}}\\n              @filter={{filter}}\\n            />\\n          </inputWithPills.PillsList>\\n          <inputWithPills.InputField\\n            class=\\\"layout__box o__flexes-to-1 inbox__search__input-with-pills__input\\\"\\n            @placeholder={{unless this.query.filters \\\"Search for keywords, tags, users...\\\"}}\\n          />\\n        </div>\\n        {{#if this.inputHasFocus}}\\n          <div\\n            class=\\\"nav-vertical__search__backing o__opened\\\"\\n            data-test-search-backing\\n          >\\n            <div class=\\\"nav-vertical__search__result__list o__inbox-search\\\">\\n              {{#each this.dropdownListItems as |listItem|}}\\n                <Inbox::Search::QueryBuilder::ListItem\\n                  @item={{listItem}}\\n                  @currentTextFilter={{this.query.currentTextFilter}}\\n                />\\n              {{/each}}\\n            </div>\\n          </div>\\n        {{/if}}\\n      </Common::InputWithPills>\\n      <a class=\\\"nav-vertical__search__reset-search__icon\\\" {{on \\\"click\\\" this.resetSearch}} data-test-reset-search>\\n        {{ic-interface-icon 'delete' solo=true}}\\n      </a>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/search/query-builder.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/search/query-builder.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport $ from 'jquery';\nimport { computed, action } from '@ember/object';\nimport { filterBy, readOnly } from '@ember/object/computed';\nimport { schedule } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport { capitalize } from '@ember/string';\nimport { isEmpty } from '@ember/utils';\nimport KeyboardSelectable from 'embercom/components/mixins/keyboard-selectable-dropdown';\nimport {\n  DropdownLabel,\n  DropdownFilterType,\n  DropdownLoadingSpinner,\n  DropdownSuggestion,\n  DropdownKeywordPrompt,\n  DropdownNoMatchForType,\n} from 'embercom/models/inbox/search/dropdown-items';\nimport SearchQuery from 'embercom/models/inbox/search/query';\n\nexport default Component.extend(KeyboardSelectable, {\n  intercomEventService: service(),\n  searchSuggestionsService: service(),\n  appService: service(),\n\n  query: null,\n  inputHasFocus: false,\n  isOpen: readOnly('inputHasFocus'),\n\n  init() {\n    this._super(...arguments);\n    this.set('query', SearchQuery.create({ app: this.appService.app }));\n  },\n\n  suggestions: computed('query.{state,suggestionsQuery}', function() {\n    let query = this.query.suggestionsQuery;\n    let count = this.query.state === 'focused' ? 10 : 6;\n\n    return {\n      tag: this.searchSuggestionsService.getTagSuggestions(query, count, this.query.tags),\n      user: this.searchSuggestionsService.getUserSuggestions(query, count, this.query.users),\n      assignee: this.searchSuggestionsService.getAssigneeSuggestions(query, count),\n      ['teammate-assigned']: this.searchSuggestionsService.getTeammateAssigneeSuggestions(\n        query,\n        count,\n      ),\n      ['team-assigned']: this.searchSuggestionsService.getTeamAssigneeSuggestions(query, count),\n      date: this.searchSuggestionsService.getDateSuggestions(),\n    };\n  }).readOnly(),\n\n  _currentTextFilterWords: computed('query.currentTextFilter', function() {\n    return this.query.currentTextFilter.trim().split(/\\s+/);\n  }).readOnly(),\n\n  _triggerSearch() {\n    let queryParams = this.query.queryParams;\n    this.transitionTo('apps.app.inbox.inbox.conversations', 'search', { queryParams });\n    this.element.querySelector('input').blur();\n  },\n\n  selectableItems: filterBy('dropdownListItems', 'isKeyboardNavigable', true),\n\n  dropdownListItems: computed(\n    'query.state',\n    'startStateDropdownItems',\n    'scatterStateDropdownItems',\n    'focusStateDropdownItems',\n    function() {\n      if (this.query.state === 'start') {\n        return this.startStateDropdownItems;\n      } else if (this.query.state === 'scattered') {\n        return this.scatterStateDropdownItems;\n      } else if (this.query.state === 'focused') {\n        return this.focusStateDropdownItems;\n      }\n    },\n  ).readOnly(),\n\n  startStateDropdownItems: computed('query.validFilterTypes', function() {\n    let filterTypeListItems = [\n      DropdownLabel.create({\n        label: 'Search by',\n      }),\n    ];\n\n    let filterTypeLabels = this.query.validFilterTypes.map(filterType => {\n      return DropdownFilterType.create({\n        filterType,\n        onClickAction: () => this.setCurrentFocusState(filterType.type),\n      });\n    });\n\n    return filterTypeListItems.pushObjects(filterTypeLabels);\n  }).readOnly(),\n\n  scatterStateDropdownItems: computed(\n    'query.validSuggestionTypes',\n    'query.currentTextFilter',\n    'suggestions.{tag,user,assignee,teammateAssignee,teamAssignee}.isRunning',\n    'suggestions.{tag,user,assignee,teammateAssignee,teamAssignee}.value',\n    function() {\n      let dropdownListItems = [];\n\n      if (this.query.currentTextFilter) {\n        dropdownListItems.pushObject(\n          DropdownKeywordPrompt.create({\n            onClickAction: this.triggerSearch,\n          }),\n        );\n      }\n      let suggestionListItems = this.query.validSuggestionTypes.flatMap(suggestionType => {\n        let suggestionTask = this.suggestions[suggestionType];\n\n        if (suggestionTask.isRunning) {\n          return [\n            DropdownLabel.create({\n              label: this.formatSuggestionTypeLabel(suggestionType),\n            }),\n            DropdownLoadingSpinner.create({\n              type: suggestionType,\n            }),\n          ];\n        } else if (isEmpty(suggestionTask.value)) {\n          return [];\n        } else {\n          let listItems = [\n            DropdownLabel.create({\n              label: this.formatSuggestionTypeLabel(suggestionType),\n            }),\n          ];\n          let suggestions = suggestionTask.value.map(suggestion => {\n            return DropdownSuggestion.create({\n              suggestion,\n              onClickAction: () => this.addFilter(suggestion),\n            });\n          });\n\n          return listItems.pushObjects(suggestions);\n        }\n      });\n      dropdownListItems.pushObjects(suggestionListItems);\n      return dropdownListItems;\n    },\n  ).readOnly(),\n\n  focusStateDropdownItems: computed(\n    'query.focusedStateType',\n    'suggestions.{tag,user,assignee,teammateAssignee,teamAssignee,date}.isRunning',\n    'suggestions.{tag,user,assignee,teammateAssignee,teamAssignee,date}.value',\n    function() {\n      let suggestionType = this.query.focusedStateType;\n      let suggestionTask = this.suggestions[suggestionType];\n\n      if (suggestionTask.isRunning) {\n        return [\n          DropdownLoadingSpinner.create({\n            type: suggestionType,\n          }),\n        ];\n      } else if (isEmpty(suggestionTask.value)) {\n        return [\n          DropdownNoMatchForType.create({\n            type: suggestionType,\n          }),\n        ];\n      } else {\n        return suggestionTask.value.map(suggestion => {\n          return DropdownSuggestion.create({\n            suggestion,\n            onClickAction: () => this.addFilter(suggestion),\n          });\n        });\n      }\n    },\n  ).readOnly(),\n\n  formatSuggestionTypeLabel(suggestionType) {\n    return `${capitalize(suggestionType).replace(/-/g, ' ')}:`;\n  },\n\n  selectItem: action(function(item) {\n    item.onClickAction();\n  }),\n\n  close: action(function() {\n    this.element.querySelector('input').blur();\n  }),\n\n  onEnter: action(function() {\n    if (this.isOpen) {\n      if (this.highlightedItem !== undefined) {\n        this.selectItem(this.highlightedItem);\n        this.resetHighlightedItem();\n      } else {\n        this._triggerSearch();\n      }\n    }\n  }),\n\n  addFilter: action(function(filter) {\n    this.query.addFilter(filter);\n\n    schedule('afterRender', this, function() {\n      let input = $('.js__search__input', this.element);\n      input.scrollLeft(input.width());\n    });\n  }),\n\n  removeFilter: action(function(filter) {\n    this.query.removeFilter(filter);\n  }),\n\n  setCurrentFocusState: action(function(filterType) {\n    this.query.setCurrentFocusState(filterType);\n  }),\n\n  focusOn: action(function() {\n    this.set('inputHasFocus', true);\n  }),\n\n  focusOff: action(function() {\n    this.set('inputHasFocus', false);\n    this.resetHighlightedItem();\n  }),\n\n  triggerSearch: action(function() {\n    this._triggerSearch();\n  }),\n\n  resetSearch: action(function() {\n    this.query.reset();\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<a\\n  class=\\\"dropdown__list-item o__hoverable u__one-truncated-line {{if @isKeyboardHighlighted 'o__selected'}}\\\"\\n  data-test-search-start-state-item={{@filterType.type}}\\n  {{on \\\"click\\\" @setFocusState}}\\n>\\n  {{ic-interface-icon @filterType.dropdownIcon}}\\n  {{humanize @filterType.type}}\\n</a>\\n\", {\"contents\":\"<a\\n  class=\\\"dropdown__list-item o__hoverable u__one-truncated-line {{if @isKeyboardHighlighted 'o__selected'}}\\\"\\n  data-test-search-start-state-item={{@filterType.type}}\\n  {{on \\\"click\\\" @setFocusState}}\\n>\\n  {{ic-interface-icon @filterType.dropdownIcon}}\\n  {{humanize @filterType.type}}\\n</a>\\n\",\"moduleName\":\"embercom/components/inbox/search/query-builder/filter-type.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/search/query-builder/filter-type.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<a\\n  class=\\\"dropdown__list-item o__hoverable u__one-truncated-line {{if @isKeyboardHighlighted 'o__selected'}}\\\"\\n  data-test-search-scatter-state-text-filter-hint\\n  {{on \\\"click\\\" @triggerSearchForTextQuery}}\\n>\\n  <span class=\\\"inbox__search__keyword-hint-text\\\">\\n    {{ic-interface-icon \\\"search\\\"}} Search for:\\n  </span>\\n  {{@currentTextFilter}}\\n</a>\\n\", {\"contents\":\"<a\\n  class=\\\"dropdown__list-item o__hoverable u__one-truncated-line {{if @isKeyboardHighlighted 'o__selected'}}\\\"\\n  data-test-search-scatter-state-text-filter-hint\\n  {{on \\\"click\\\" @triggerSearchForTextQuery}}\\n>\\n  <span class=\\\"inbox__search__keyword-hint-text\\\">\\n    {{ic-interface-icon \\\"search\\\"}} Search for:\\n  </span>\\n  {{@currentTextFilter}}\\n</a>\\n\",\"moduleName\":\"embercom/components/inbox/search/query-builder/keyword-prompt.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/search/query-builder/keyword-prompt.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<h3 class=\\\"dropdown__list-item t__label\\\" data-test-inbox-search-dropdown-label={{@label}}>\\n  {{@label}}\\n</h3>\\n\", {\"contents\":\"<h3 class=\\\"dropdown__list-item t__label\\\" data-test-inbox-search-dropdown-label={{@label}}>\\n  {{@label}}\\n</h3>\\n\",\"moduleName\":\"embercom/components/inbox/search/query-builder/label.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/search/query-builder/label.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-query-builder-dropdown-item>\\n  {{#if @item.isLabel}}\\n    <Inbox::Search::QueryBuilder::Label\\n      @label={{@item.label}}\\n    />\\n  {{else if @item.isSearchByKeywordPrompt}}\\n    <Inbox::Search::QueryBuilder::KeywordPrompt\\n      @currentTextFilter={{@currentTextFilter}}\\n      @triggerSearchForTextQuery={{@item.onClickAction}}\\n      @isKeyboardHighlighted={{@item.isHighlighted}}\\n    />\\n  {{else if @item.isFilterType}}\\n    <Inbox::Search::QueryBuilder::FilterType\\n      @filterType={{@item.filterType}}\\n      @setFocusState={{@item.onClickAction}}\\n      @isKeyboardHighlighted={{@item.isHighlighted}}\\n    />\\n  {{else if @item.isSuggestion}}\\n    <Inbox::Search::QueryBuilder::Suggestion\\n      @suggestion={{@item.suggestion}}\\n      @addSuggestionAsFilter={{@item.onClickAction}}\\n      @isKeyboardHighlighted={{@item.isHighlighted}}\\n    />\\n  {{else if @item.isLoading}}\\n    <Inbox::Search::QueryBuilder::LoadingSpinner\\n      @type={{@item.type}}\\n    />\\n  {{else if @item.isNoMatchForType}}\\n    <Inbox::Search::QueryBuilder::NoMatch\\n      @type={{@item.type}}\\n    />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div data-test-query-builder-dropdown-item>\\n  {{#if @item.isLabel}}\\n    <Inbox::Search::QueryBuilder::Label\\n      @label={{@item.label}}\\n    />\\n  {{else if @item.isSearchByKeywordPrompt}}\\n    <Inbox::Search::QueryBuilder::KeywordPrompt\\n      @currentTextFilter={{@currentTextFilter}}\\n      @triggerSearchForTextQuery={{@item.onClickAction}}\\n      @isKeyboardHighlighted={{@item.isHighlighted}}\\n    />\\n  {{else if @item.isFilterType}}\\n    <Inbox::Search::QueryBuilder::FilterType\\n      @filterType={{@item.filterType}}\\n      @setFocusState={{@item.onClickAction}}\\n      @isKeyboardHighlighted={{@item.isHighlighted}}\\n    />\\n  {{else if @item.isSuggestion}}\\n    <Inbox::Search::QueryBuilder::Suggestion\\n      @suggestion={{@item.suggestion}}\\n      @addSuggestionAsFilter={{@item.onClickAction}}\\n      @isKeyboardHighlighted={{@item.isHighlighted}}\\n    />\\n  {{else if @item.isLoading}}\\n    <Inbox::Search::QueryBuilder::LoadingSpinner\\n      @type={{@item.type}}\\n    />\\n  {{else if @item.isNoMatchForType}}\\n    <Inbox::Search::QueryBuilder::NoMatch\\n      @type={{@item.type}}\\n    />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/search/query-builder/list-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/search/query-builder/list-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__has-columns dropdown__list-item inbox__search__dropdown-item\\\">\\n  <div class=\\\"layout__box\\\">\\n    <IcLoadingIndicator @size=\\\"tiny\\\" />\\n  </div>\\n  <div\\n    class=\\\"layout__box u__padl__10\\\"\\n    data-test-inbox-search-suggestion-type-loading\\n  >\\n    Loading {{@type}}s...\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__has-columns dropdown__list-item inbox__search__dropdown-item\\\">\\n  <div class=\\\"layout__box\\\">\\n    <IcLoadingIndicator @size=\\\"tiny\\\" />\\n  </div>\\n  <div\\n    class=\\\"layout__box u__padl__10\\\"\\n    data-test-inbox-search-suggestion-type-loading\\n  >\\n    Loading {{@type}}s...\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/search/query-builder/loading-spinner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/search/query-builder/loading-spinner.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__has-columns dropdown__list-item inbox__search__dropdown-item\\\">\\n  <div\\n    class=\\\"layout__box text-gray\\\"\\n    data-test-inbox-search-suggestion-type-no-match\\n  >\\n    No matching {{@type}}s\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__has-columns dropdown__list-item inbox__search__dropdown-item\\\">\\n  <div\\n    class=\\\"layout__box text-gray\\\"\\n    data-test-inbox-search-suggestion-type-no-match\\n  >\\n    No matching {{@type}}s\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/search/query-builder/no-match.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/search/query-builder/no-match.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<a\\n  class=\\\"dropdown__list-item inbox__search__dropdown-item o__hoverable u__one-truncated-line {{if @isKeyboardHighlighted 'o__selected'}}\\\"\\n  data-test-inbox-search-suggestion={{concat @suggestion.type \\\":\\\" @suggestion.value}}\\n  data-test-inbox-search-suggestion-type={{@suggestion.type}}\\n  {{on \\\"click\\\" @addSuggestionAsFilter}}\\n>\\n  {{#if @suggestion.suggestionAvatar}}\\n    <span data-test-inbox-search-suggestion-avatar>\\n      {{ic-avatar model=@suggestion.suggestionAvatar size=\\\"xs\\\"}}\\n    </span>\\n  {{else if @suggestion.suggestionIcon}}\\n    <span data-test-inbox-search-suggestion-icon>\\n      {{ic-interface-icon @suggestion.suggestionIcon solo=true}}\\n    </span>\\n  {{/if}}\\n  <span class='pl-1' data-test-inbox-search-suggestion-text>\\n    {{@suggestion.suggestionText}}\\n  </span>\\n  {{#if @suggestion.suggestionSubtext}}\\n    <span\\n      class=\\\"pl-2 text-gray\\\"\\n      data-test-inbox-search-suggestion-subtext\\n    >\\n      {{@suggestion.suggestionSubtext}}\\n    </span>\\n  {{/if}}\\n</a>\\n\", {\"contents\":\"<a\\n  class=\\\"dropdown__list-item inbox__search__dropdown-item o__hoverable u__one-truncated-line {{if @isKeyboardHighlighted 'o__selected'}}\\\"\\n  data-test-inbox-search-suggestion={{concat @suggestion.type \\\":\\\" @suggestion.value}}\\n  data-test-inbox-search-suggestion-type={{@suggestion.type}}\\n  {{on \\\"click\\\" @addSuggestionAsFilter}}\\n>\\n  {{#if @suggestion.suggestionAvatar}}\\n    <span data-test-inbox-search-suggestion-avatar>\\n      {{ic-avatar model=@suggestion.suggestionAvatar size=\\\"xs\\\"}}\\n    </span>\\n  {{else if @suggestion.suggestionIcon}}\\n    <span data-test-inbox-search-suggestion-icon>\\n      {{ic-interface-icon @suggestion.suggestionIcon solo=true}}\\n    </span>\\n  {{/if}}\\n  <span class='pl-1' data-test-inbox-search-suggestion-text>\\n    {{@suggestion.suggestionText}}\\n  </span>\\n  {{#if @suggestion.suggestionSubtext}}\\n    <span\\n      class=\\\"pl-2 text-gray\\\"\\n      data-test-inbox-search-suggestion-subtext\\n    >\\n      {{@suggestion.suggestionSubtext}}\\n    </span>\\n  {{/if}}\\n</a>\\n\",\"moduleName\":\"embercom/components/inbox/search/query-builder/suggestion.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/search/query-builder/suggestion.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-center justify-center flex-1 gap-4\\\">\\n  <div class=\\\"flex flex-col gap-4\\\">\\n    <Heading @size=\\\"1\\\">\\n      {{this.title}}\\n    </Heading>\\n    <div>\\n      <Paragraph>\\n        {{this.description}}\\n      </Paragraph>\\n    </div>\\n    <div>\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @label={{this.callToAction}}\\n        @onClick={{this.linkToSettings}}\\n        data-test-inbox-seat-wall-button={{true}}\\n      />\\n    </div>\\n    <div>\\n      <Paragraph @styling=\\\"small\\\">\\n        You can also <a href={{href-to \\\"apps.app.feed.index\\\"}}>view conversations</a> in Contacts.\\n      </Paragraph>\\n    </div>\\n  </div>\\n\\n  <div class=\\\"flex flex-col\\\">\\n    <img width=\\\"400px\\\" src={{this.inboxIllustration}} alt=\\\"Inbox\\\" />\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row items-center justify-center flex-1 gap-4\\\">\\n  <div class=\\\"flex flex-col gap-4\\\">\\n    <Heading @size=\\\"1\\\">\\n      {{this.title}}\\n    </Heading>\\n    <div>\\n      <Paragraph>\\n        {{this.description}}\\n      </Paragraph>\\n    </div>\\n    <div>\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @label={{this.callToAction}}\\n        @onClick={{this.linkToSettings}}\\n        data-test-inbox-seat-wall-button={{true}}\\n      />\\n    </div>\\n    <div>\\n      <Paragraph @styling=\\\"small\\\">\\n        You can also <a href={{href-to \\\"apps.app.feed.index\\\"}}>view conversations</a> in Contacts.\\n      </Paragraph>\\n    </div>\\n  </div>\\n\\n  <div class=\\\"flex flex-col\\\">\\n    <img width=\\\"400px\\\" src={{this.inboxIllustration}} alt=\\\"Inbox\\\" />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/seat-wall-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/seat-wall-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class InboxSeatWallComponent extends Component {\n  @service router;\n\n  inboxIllustration = '/assets/images/inbox/paywall.png';\n  settingsRoute = 'apps.app.settings.teammates';\n\n  get callToAction() {\n    return 'Get an Inbox seat';\n  }\n\n  get title() {\n    return 'Join your team on Inbox';\n  }\n\n  get description() {\n    return 'Work collaboratively in the Inbox to help customers faster and lower time to resolution.';\n  }\n\n  @action\n  linkToSettings() {\n    this.router.transitionTo(this.settingsRoute);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span class=\\\"inbox__new-next-breach-time\\\">\\n  {{ic-interface-icon 'sla'}}\\n  {{this.formatted}}\\n</span>\\n\", {\"contents\":\"<span class=\\\"inbox__new-next-breach-time\\\">\\n  {{ic-interface-icon 'sla'}}\\n  {{this.formatted}}\\n</span>\\n\",\"moduleName\":\"embercom/components/inbox/slas/new-next-breach-time.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/slas/new-next-breach-time.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { computed } from '@ember/object';\nimport RelativeDatetime from 'embercom/components/common/relative-datetime';\nimport relativeTime from 'embercom/lib/relative-time';\nimport moment from 'moment';\n\nexport default RelativeDatetime.extend({\n  layoutName: 'components/common/relative-datetime',\n  classNameBindings: ['active:o__active'],\n\n  datetime: computed('nextBreachTime', function() {\n    return moment(this.nextBreachTime).toISOString();\n  }),\n\n  formatted: computed(\n    'nextBreachTime',\n    'hasActiveTimetarget',\n    'showLongFormatTimeTarget',\n    'showMediumFormatTimeTarget',\n    function() {\n      if (!this.hasActiveTimeTarget) {\n        return 'SLA';\n      }\n      // We never show 'now' for the next breach time, always minimum 'Reply in 1m' or 'Overdue'\n      let now = moment();\n      let nextBreachTime = moment(this.nextBreachTime);\n      if (nextBreachTime.isBefore(now)) {\n        return 'Overdue';\n      }\n\n      let relativeTimestamp = this._relativeTimestamp(now, nextBreachTime);\n      let formattedReply = this.showLongFormatTimeTarget\n        ? `Reply in ${relativeTimestamp}`\n        : `${relativeTimestamp}`;\n      return formattedReply;\n    },\n  ),\n\n  _relativeTimestamp(now, nextBreachTime) {\n    let nextBreachTimeDiffNow = Math.abs(nextBreachTime.diff(now, 's'));\n\n    if (nextBreachTimeDiffNow > 60) {\n      return relativeTime(nextBreachTime, 'en-abbreviated-relative-time', false);\n    }\n\n    let seconds = Math.ceil(nextBreachTimeDiffNow / 10) * 10;\n    return `${seconds}s`;\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { computed } from '@ember/object';\nimport RelativeDatetime from 'embercom/components/common/relative-datetime';\nimport relativeTime from 'embercom/lib/relative-time';\nimport moment from 'moment';\n\nexport default RelativeDatetime.extend({\n  layoutName: 'components/common/relative-datetime',\n  classNameBindings: ['active:o__active'],\n\n  datetime: computed('nextBreachTime', function() {\n    return moment(this.nextBreachTime).toISOString();\n  }),\n\n  formatted: computed(\n    'nextBreachTime',\n    'hasActiveTimetarget',\n    'showLongFormatTimeTarget',\n    'showMediumFormatTimeTarget',\n    function() {\n      if (!this.hasActiveTimeTarget) {\n        return 'SLA';\n      }\n      // We never show 'now' for the next breach time, always minimum 'Reply in 1m' or 'Overdue'\n      let now = moment();\n      let nextBreachTime = moment(this.nextBreachTime);\n      if (nextBreachTime.isBefore(now)) {\n        return this.showLongFormatTimeTarget || this.showMediumFormatTimeTarget\n          ? 'Overdue'\n          : 'Ove...';\n      }\n\n      let relativeTimestamp = this._relativeTimestamp(now, nextBreachTime);\n      let formattedReply = this.showLongFormatTimeTarget\n        ? `Reply in ${relativeTimestamp}`\n        : `${relativeTimestamp}`;\n      return formattedReply;\n    },\n  ),\n\n  _relativeTimestamp(now, nextBreachTime) {\n    let nextBreachTimeDiffNow = Math.abs(nextBreachTime.diff(now, 's'));\n\n    if (nextBreachTimeDiffNow > 60) {\n      return relativeTime(nextBreachTime, 'en-abbreviated-relative-time', false);\n    }\n\n    let seconds = Math.ceil(nextBreachTimeDiffNow / 10) * 10;\n    return `${seconds}s`;\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcContent>\\n  <Text data-test-reply-by>\\n    {{#if @hasActiveTimeTarget}}\\n      {{this.formattedReply}}\\n      {{#if this.formattedReplyToday}}\\n        {{format-date date=@conversationNextBreachTime format=\\\"timeWithoutTimezone\\\"}}\\n      {{else}}\\n        {{format-date date=@conversationNextBreachTime format=\\\"fullDateAndTimeWithoutTimezoneAndYear\\\"}}\\n      {{/if}}\\n    {{else}}\\n      No active target\\n    {{/if}}\\n  </Text>\\n\\n  {{#if this.loadConversationSla.isRunning}}\\n    <IcLoadingIndicator @size=\\\"tiny\\\" />\\n  {{else}}\\n    <Text\\n      @styling=\\\"small\\\"\\n      data-test-sla-name\\n    >\\n      SLA: {{this.conversationSla.name}}\\n    </Text>\\n  {{/if}}\\n\\n  <div\\n    class=\\\"btn__tertiary inbox__slas__hover-remove-button u__display-inline-block\\\"\\n    data-test-remove-sla\\n    {{on 'click' this.removeSla}}\\n  >\\n    Remove\\n  </div>\\n</IcContent>\\n\", {\"contents\":\"<IcContent>\\n  <Text data-test-reply-by>\\n    {{#if @hasActiveTimeTarget}}\\n      {{this.formattedReply}}\\n      {{#if this.formattedReplyToday}}\\n        {{format-date date=@conversationNextBreachTime format=\\\"timeWithoutTimezone\\\"}}\\n      {{else}}\\n        {{format-date date=@conversationNextBreachTime format=\\\"fullDateAndTimeWithoutTimezoneAndYear\\\"}}\\n      {{/if}}\\n    {{else}}\\n      No active target\\n    {{/if}}\\n  </Text>\\n\\n  {{#if this.loadConversationSla.isRunning}}\\n    <IcLoadingIndicator @size=\\\"tiny\\\" />\\n  {{else}}\\n    <Text\\n      @styling=\\\"small\\\"\\n      data-test-sla-name\\n    >\\n      SLA: {{this.conversationSla.name}}\\n    </Text>\\n  {{/if}}\\n\\n  <div\\n    class=\\\"btn__tertiary inbox__slas__hover-remove-button u__display-inline-block\\\"\\n    data-test-remove-sla\\n    {{on 'click' this.removeSla}}\\n  >\\n    Remove\\n  </div>\\n</IcContent>\\n\",\"moduleName\":\"embercom/components/inbox/slas/sla-details-tooltip.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/slas/sla-details-tooltip.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { action, computed } from '@ember/object';\nimport { task } from 'ember-concurrency';\nimport moment from 'moment';\n\nexport default Component.extend({\n  store: service(),\n\n  tagName: '',\n\n  init() {\n    this._super(...arguments);\n    this.loadConversationSla.perform();\n  },\n\n  formattedReplyToday: computed('conversationNextBreachTime', function() {\n    let now = moment();\n    let nextBreachTime = moment(this.conversationNextBreachTime);\n    return now.isSame(nextBreachTime, 'day');\n  }),\n\n  formattedReply: computed('conversationNextBreachTime', function() {\n    let now = moment();\n    let nextBreachTime = moment(this.conversationNextBreachTime);\n    let breached = nextBreachTime.isBefore(now);\n    if (!breached) {\n      return 'Reply by';\n    }\n\n    if (this.formattedReplyToday) {\n      return 'Target missed at';\n    } else {\n      return 'Target missed on';\n    }\n  }),\n\n  loadConversationSla: task(function*() {\n    let conversationSla = yield this.store.findRecord(\n      'inbox/conversation-sla',\n      this.conversationSlaId,\n      { backgroundReload: false },\n    );\n    this.set('conversationSla', conversationSla);\n  }),\n\n  removeSla: action(function() {\n    this.removeSlaTask.perform();\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<Common::ModalComponent\\n  @closeModal={{action \\\"closeCreateNewSlaModal\\\"}}\\n  as |modal|\\n>\\n  <modal.components.header @title=\\\"Create new SLA\\\" />\\n  <modal.components.body>\\n    {{#if this.duplicatedName}}\\n      <IcBanner\\n        @type=\\\"error\\\"\\n        @text=\\\"The name has been already taken\\\"\\n        data-test-error-banner={{true}}\\n      />\\n      <div class=\\\"h-5\\\"></div>\\n    {{/if}}\\n    <h4 class=\\\"t__light-text t__label\\\">Name</h4>\\n    <Input\\n      class=\\\"f__text u__mt__5\\\"\\n      @value={{this.slaName}}\\n      placeholder=\\\"Premium support\\\"\\n      @maxlength={{191}}\\n      data-test-sla-name={{true}}\\n    />\\n    <div class=\\\"layout__box o__has-columns u__mt__35\\\">\\n      <div class=\\\"layout__box o__flexes-to-1\\\">\\n        <h4 class=\\\"t__light-text t__label\\\">\\n          First response time\\n          <IcTooltipIcon @content=\\\"The time it takes for a teammate to reply to the first incoming message in a new conversation.\\\" />\\n        </h4>\\n        <IcSelect\\n          data-test-first-response-time-select={{true}}\\n          class=\\\"u__mt__5 inbox__slas__dropdown\\\"\\n          @items={{this.timeOptions}}\\n          @selectedValue={{this.firstReplyTimeInSeconds}}\\n          @onSelectItem={{action (mut this.firstReplyTimeInSeconds)}}\\n          @numberOfItemsRequiresFilter={{false}}\\n        />\\n      </div>\\n      <div class=\\\"layout__box o__flexes-to-1\\\">\\n        <h4 class=\\\"t__light-text t__label\\\">\\n          Next response time <IcTooltipIcon\\n            @content=\\\"The time it takes for a teammate to reply to any subsequent message in a conversation.\\\"\\n          />\\n        </h4>\\n        <IcSelect\\n          data-test-next-response-time-select={{true}}\\n          class=\\\"u__mt__5 inbox__slas__dropdown\\\"\\n          @items={{this.timeOptions}}\\n          @selectedValue={{this.nextReplyTimeInSeconds}}\\n          @onSelectItem={{action (mut this.nextReplyTimeInSeconds)}}\\n          @numberOfItemsRequiresFilter={{false}}\\n        />\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"h-5\\\"></div>\\n      <h4 class=\\\"t__light-text t__label\\\">\\n        Office hours\\n      </h4>\\n      {{#if this.appHasMoreThanOneOfficeHours}}\\n        <span class=\\\"text-gray\\\" data-test-multiple-office-hours-message>\\n          Response times will only be calculated within these office hours below.\\n        </span>\\n        <IcSelect\\n          data-test-sla-office-hours={{true}}\\n          class=\\\"u__mt__5\\\"\\n          @items={{this.dropdownSchedules}}\\n          @selectedValue={{this.selectedScheduleId}}\\n          @onSelectItem={{action (mut this.selectedScheduleId)}}\\n        />\\n        <div class=\\\"h-2\\\"></div>\\n        <Text @styling=\\\"small\\\">\\n          You can create new office hours in\\n          <a href=\\\"{{href-to \\\"apps.app.settings.office-hours\\\"}}\\\">\\n            <Text @linkStyling=\\\"inline\\\" @styling=\\\"small\\\">Settings.</Text>\\n          </a>\\n        </Text>\\n      {{else}}\\n        <span class=\\\"text-gray\\\" data-test-default-office-hours-message>\\n          Response times will only be calculated within your <a href=\\\"{{href-to \\\"apps.app.settings.office-hours\\\"}}\\\">default office hours</a>.\\n        </span>\\n      {{/if}}\\n    </div>\\n  </modal.components.body>\\n  <modal.components.footer as |footer|>\\n    <footer.mainButtons as |list|>\\n      <list.button\\n        @label=\\\"Cancel\\\"\\n        @onClick={{action \\\"closeCreateNewSlaModal\\\"}}\\n      />\\n      <list.button\\n        @type=\\\"primary\\\"\\n        @label=\\\"Save\\\"\\n        @isDisabled={{this.saveButtonDisabled}}\\n        @onClick={{perform this.createNewSlaAndCloseModal}}\\n        data-test-save-button={{true}}\\n      />\\n    </footer.mainButtons>\\n  </modal.components.footer>\\n</Common::ModalComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<Common::ModalComponent\\n  @closeModal={{action \\\"closeCreateNewSlaModal\\\"}}\\n  as |modal|\\n>\\n  <modal.components.header @title=\\\"Create new SLA\\\" />\\n  <modal.components.body>\\n    {{#if this.duplicatedName}}\\n      <IcBanner\\n        @type=\\\"error\\\"\\n        @text=\\\"The name has been already taken\\\"\\n        data-test-error-banner={{true}}\\n      />\\n      <div class=\\\"h-5\\\"></div>\\n    {{/if}}\\n    <h4 class=\\\"t__light-text t__label\\\">Name</h4>\\n    <Input\\n      class=\\\"f__text u__mt__5\\\"\\n      @value={{this.slaName}}\\n      placeholder=\\\"Premium support\\\"\\n      @maxlength={{191}}\\n      data-test-sla-name={{true}}\\n    />\\n    <div class=\\\"layout__box o__has-columns u__mt__35\\\">\\n      <div class=\\\"layout__box o__flexes-to-1\\\">\\n        <h4 class=\\\"t__light-text t__label\\\">\\n          First response time\\n          <IcTooltipIcon @content=\\\"The time it takes for a teammate to reply to the first incoming message in a new conversation.\\\" />\\n        </h4>\\n        <IcSelect\\n          data-test-first-response-time-select={{true}}\\n          class=\\\"u__mt__5 inbox__slas__dropdown\\\"\\n          @items={{this.timeOptions}}\\n          @selectedValue={{this.firstReplyTimeInSeconds}}\\n          @onSelectItem={{action (mut this.firstReplyTimeInSeconds)}}\\n          @numberOfItemsRequiresFilter={{false}}\\n        />\\n      </div>\\n      <div class=\\\"layout__box o__flexes-to-1\\\">\\n        <h4 class=\\\"t__light-text t__label\\\">\\n          Next response time <IcTooltipIcon\\n            @content=\\\"The time it takes for a teammate to reply to any subsequent message in a conversation.\\\"\\n          />\\n        </h4>\\n        <IcSelect\\n          data-test-next-response-time-select={{true}}\\n          class=\\\"u__mt__5 inbox__slas__dropdown\\\"\\n          @items={{this.timeOptions}}\\n          @selectedValue={{this.nextReplyTimeInSeconds}}\\n          @onSelectItem={{action (mut this.nextReplyTimeInSeconds)}}\\n          @numberOfItemsRequiresFilter={{false}}\\n        />\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"h-5\\\"></div>\\n      <h4 class=\\\"t__light-text t__label\\\">\\n        Office hours\\n      </h4>\\n      {{#if this.appHasMoreThanOneOfficeHours}}\\n        <span class=\\\"text-gray\\\" data-test-multiple-office-hours-message>\\n          Response times will only be calculated within these office hours below.\\n        </span>\\n        <IcSelect\\n          data-test-sla-office-hours={{true}}\\n          class=\\\"u__mt__5\\\"\\n          @items={{this.dropdownSchedules}}\\n          @selectedValue={{this.selectedScheduleId}}\\n          @onSelectItem={{action (mut this.selectedScheduleId)}}\\n        />\\n        <div class=\\\"h-2\\\"></div>\\n        <Text @styling=\\\"small\\\">\\n          You can create new office hours in\\n          <a href=\\\"{{href-to \\\"apps.app.settings.office-hours\\\"}}\\\">\\n            <Text @linkStyling=\\\"inline\\\" @styling=\\\"small\\\">Settings.</Text>\\n          </a>\\n        </Text>\\n      {{else}}\\n        <span class=\\\"text-gray\\\" data-test-default-office-hours-message>\\n          Response times will only be calculated within your <a href=\\\"{{href-to \\\"apps.app.settings.office-hours\\\"}}\\\">default office hours</a>.\\n        </span>\\n      {{/if}}\\n    </div>\\n  </modal.components.body>\\n  <modal.components.footer as |footer|>\\n    <footer.mainButtons as |list|>\\n      <list.button\\n        @label=\\\"Cancel\\\"\\n        @onClick={{action \\\"closeCreateNewSlaModal\\\"}}\\n      />\\n      <list.button\\n        @type=\\\"primary\\\"\\n        @label=\\\"Save\\\"\\n        @isDisabled={{this.saveButtonDisabled}}\\n        @onClick={{perform this.createNewSlaAndCloseModal}}\\n        data-test-save-button={{true}}\\n      />\\n    </footer.mainButtons>\\n  </modal.components.footer>\\n</Common::ModalComponent>\\n\",\"moduleName\":\"embercom/components/inbox/slas/sla-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/slas/sla-modal.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { and, equal, or, readOnly, gt, map } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  store: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  timeOptions: [\n    { text: 'No target', value: null },\n    { text: '30 sec', value: '30' },\n    { text: '1 min', value: '60' },\n    { text: '2 min', value: '120' },\n    { text: '5 min', value: '300' },\n    { text: '10 min', value: '600' },\n    { text: '15 min', value: '900' },\n    { text: '20 min', value: '1200' },\n    { text: '30 min', value: '1800' },\n    { text: '1 hour', value: '3600' },\n    { text: '2 hours', value: '7200' },\n    { text: '5 hours', value: '18000' },\n    { text: '12 hours', value: '43200' },\n    { text: '24 hours', value: '86400' },\n    { text: '36 hours', value: '129600' },\n    { text: '48 hours', value: '172800' },\n  ],\n\n  firstReplyTimeInSeconds: null,\n  nextReplyTimeInSeconds: null,\n  selectedScheduleId: computed('officeHoursSchedules', function() {\n    let schedule = this.officeHoursSchedules.findBy('isDefault', true);\n    if (schedule) {\n      return schedule.id;\n    } else if (this.officeHoursSchedules.length > 0) {\n      return this.officeHoursSchedules.firstObject.id;\n    }\n  }),\n  dropdownSchedules: map('officeHoursSchedules', function(schedule) {\n    return {\n      value: schedule.id,\n      text: schedule.name,\n      description: schedule.labelWithTimezone,\n    };\n  }),\n  appHasMoreThanOneOfficeHours: gt('officeHoursSchedules.length', 1),\n\n  trimmedSlaName: computed('slaName', function() {\n    let slaName = this.slaName || '';\n    return slaName.trim();\n  }),\n\n  emptyName: equal('trimmedSlaName.length', 0),\n\n  duplicatedName: computed('trimmedSlaName', 'conversationSlas.@each.{name,isNew}', function() {\n    let slaName = this.trimmedSlaName;\n    let duplicatedName = this.conversationSlas.filterBy('isNew', false).isAny('name', slaName);\n    return duplicatedName;\n  }),\n\n  invalidName: or('emptyName', 'duplicatedName'),\n\n  unspecifiedFirstReplyTimeInSeconds: equal('firstReplyTimeInSeconds', null),\n  unspecifiedNextReplyTimeInSeconds: equal('nextReplyTimeInSeconds', null),\n  unspecificiedResponseTimes: and(\n    'unspecifiedFirstReplyTimeInSeconds',\n    'unspecifiedNextReplyTimeInSeconds',\n  ),\n  saveButtonDisabled: or('invalidName', 'unspecificiedResponseTimes'),\n\n  createNewSlaAndCloseModal: task(function*() {\n    let sla = yield this.store\n      .createRecord('inbox/conversation-sla', {\n        name: this.trimmedSlaName,\n        firstReplyTimeInSeconds: this.firstReplyTimeInSeconds,\n        nextReplyTimeInSeconds: this.nextReplyTimeInSeconds,\n        officeHoursScheduleId: this.selectedScheduleId,\n      })\n      .save();\n    this.send('closeCreateNewSlaModal');\n    this.onSlaCreated(sla);\n  }),\n\n  actions: {\n    closeCreateNewSlaModal() {\n      this.set('showNewSlaModal', false);\n      this.set('slaName', null);\n      this.set('firstReplyTimeInSeconds', null);\n      this.set('nextReplyTimeInSeconds', null);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if conversation.isSnoozed}}\\n  <IcTooltip class=\\\"u__left\\\" as |t|>\\n    <t.opener>\\n      <IcButton\\n        @icon=\\\"inbox\\\"\\n        @iconOnly={{true}}\\n        @subtle={{true}}\\n        @onClick={{stop-propagation (action \\\"unsnoozeConversation\\\")}}\\n        data-test-reopen-conversation=\\\"true\\\"\\n      />\\n    </t.opener>\\n    <t.content>Reopen conversation</t.content>\\n  </IcTooltip>\\n{{else}}\\n  <IcTooltip class=\\\"u__left\\\" as |t|>\\n    <t.opener>\\n      <IcButton\\n        @icon=\\\"clock\\\"\\n        @iconOnly={{true}}\\n        @forcedActive={{isOpen}}\\n        @subtle={{true}}\\n        data-test-snooze-dropdown-opener=\\\"true\\\"\\n      />\\n    </t.opener>\\n    <t.content>Snooze conversation</t.content>\\n  </IcTooltip>\\n{{/if}}\\n{{#if (and isOpen (not conversation.isSnoozed))}}\\n  <div class=\\\"overlay o__dropdown js__inbox-snooze-until-dropdown inbox__snooze-until__dropdown\\\"> \\n    {{#each options as |option index|}}\\n      <a\\n        data-test-dropdown-item\\n        class=\\\"dropdown__list-item o__hoverable\\\"\\n        {{action \\\"snoozeConversationAndCloseDropdown\\\" index}}\\n      >\\n        <div class=\\\"inbox__snooze-until__item__div\\\">\\n          <div class=\\\"inbox__snooze-until__dropdown__item-meta\\\">\\n            <span class=\\\"inbox__snooze-until__dropdown__item-name\\\">{{option.value}}</span>\\n            <span data-test-dropdown-item-meta class=\\\"inbox__snooze-until__dropdown__item-meta-name\\\">{{option.metaLabel}}</span>\\n          </div>\\n        </div>\\n      </a>\\n    {{/each}}\\n    <a\\n      data-test-dropdown-item\\n      data-test-custom-snooze-dropdown-item\\n      class=\\\"dropdown__list-item o__hoverable\\\"\\n      onclick={{action \\\"openOrCloseSubcontentImmediatelyOnClick\\\"}}\\n      onmouseenter={{action \\\"openSubcontentOnMouseEnter\\\"}}\\n      onmouseleave={{action \\\"closeSubcontentOnMouseLeave\\\"}}\\n    >\\n      <div\\n        class=\\\"inbox__snooze-until__item__div inbox__custom-snooze-until__item__div js__subcontent-opener\\\"\\n      >\\n        <div class=\\\"inbox__snooze-until__dropdown__item-meta\\\">\\n          <span class=\\\"inbox__snooze-until__dropdown__item-name\\\">\\n            Custom\\n          </span>\\n        </div>\\n      </div>\\n    </a>\\n    {{#if showingSubcontent}}\\n      <div\\n        class=\\\"js__popover-component-subcontent overlay inbox__custom-snooze-until__subcontent\\\"\\n        onmouseenter={{action \\\"openSubcontentOnMouseEnter\\\"}}\\n        onmouseleave={{action \\\"closeSubcontentOnMouseLeave\\\"}}\\n        {{did-insert this.setSubcontentPosition}}\\n      >\\n        <svg width=\\\"8px\\\" height=\\\"11px\\\" viewBox=\\\"0 0 8 11\\\" version=\\\"1.1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"inbox__custom-snooze-until__subcontent-caret\\\">\\n          <g stroke=\\\"none\\\" stroke-width=\\\"1\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\">\\n            <path d=\\\"M4.4408921e-16,-0.5 L7,6 L4.4408921e-16,11.5 L-3,11 L-3,0 L4.4408921e-16,-0.5 Z\\\" class=\\\"inbox__custom-snooze-until__subcontent-caret__vector\\\" stroke=\\\"#979797\\\" fill=\\\"#F6A623\\\"></path>\\n          </g>\\n        </svg>\\n        <IcDatepicker\\n          @selected={{selectedDayMoment}}\\n          @disableDatesBefore={{yesterday}}\\n          @onSelect={{action (mut selectedDayMoment) value=\\\"moment\\\"}}\\n        />\\n        {{#if hasHourOptionsForSelectedDay}}\\n          <IntercomSelectComponent\\n            @value={{selectedTimeInSecondsSinceMidnight}}\\n            @content={{hoursWith30MinsInterval}}\\n            @optionValuePath=\\\"secondsFromMidnight\\\"\\n            @optionLabelPath=\\\"label\\\"\\n            @classNames=\\\"inbox__custom-snooze-until__time-dropdown\\\"\\n          />\\n        {{/if}}\\n        <span\\n          class=\\\"btn__tertiary u__right inbox__custom-snooze-until__button {{if disableSnoozeButton \\\"o__disabled\\\"}}\\\"\\n          onclick={{action \\\"customSnoozeConversationAndCloseDropdown\\\"}}\\n        >\\n          Snooze\\n        </span>\\n      </div>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if conversation.isSnoozed}}\\n  <IcTooltip class=\\\"u__left\\\" as |t|>\\n    <t.opener>\\n      <IcButton\\n        @icon=\\\"inbox\\\"\\n        @iconOnly={{true}}\\n        @subtle={{true}}\\n        @onClick={{stop-propagation (action \\\"unsnoozeConversation\\\")}}\\n        data-test-reopen-conversation=\\\"true\\\"\\n      />\\n    </t.opener>\\n    <t.content>Reopen conversation</t.content>\\n  </IcTooltip>\\n{{else}}\\n  <IcTooltip class=\\\"u__left\\\" as |t|>\\n    <t.opener>\\n      <IcButton\\n        @icon=\\\"clock\\\"\\n        @iconOnly={{true}}\\n        @forcedActive={{isOpen}}\\n        @subtle={{true}}\\n        data-test-snooze-dropdown-opener=\\\"true\\\"\\n      />\\n    </t.opener>\\n    <t.content>Snooze conversation</t.content>\\n  </IcTooltip>\\n{{/if}}\\n{{#if (and isOpen (not conversation.isSnoozed))}}\\n  <div class=\\\"overlay o__dropdown js__inbox-snooze-until-dropdown inbox__snooze-until__dropdown\\\"> \\n    {{#each options as |option index|}}\\n      <a\\n        data-test-dropdown-item\\n        class=\\\"dropdown__list-item o__hoverable\\\"\\n        {{action \\\"snoozeConversationAndCloseDropdown\\\" index}}\\n      >\\n        <div class=\\\"inbox__snooze-until__item__div\\\">\\n          <div class=\\\"inbox__snooze-until__dropdown__item-meta\\\">\\n            <span class=\\\"inbox__snooze-until__dropdown__item-name\\\">{{option.value}}</span>\\n            <span data-test-dropdown-item-meta class=\\\"inbox__snooze-until__dropdown__item-meta-name\\\">{{option.metaLabel}}</span>\\n          </div>\\n        </div>\\n      </a>\\n    {{/each}}\\n    <a\\n      data-test-dropdown-item\\n      data-test-custom-snooze-dropdown-item\\n      class=\\\"dropdown__list-item o__hoverable\\\"\\n      onclick={{action \\\"openOrCloseSubcontentImmediatelyOnClick\\\"}}\\n      onmouseenter={{action \\\"openSubcontentOnMouseEnter\\\"}}\\n      onmouseleave={{action \\\"closeSubcontentOnMouseLeave\\\"}}\\n    >\\n      <div\\n        class=\\\"inbox__snooze-until__item__div inbox__custom-snooze-until__item__div js__subcontent-opener\\\"\\n      >\\n        <div class=\\\"inbox__snooze-until__dropdown__item-meta\\\">\\n          <span class=\\\"inbox__snooze-until__dropdown__item-name\\\">\\n            Custom\\n          </span>\\n        </div>\\n      </div>\\n    </a>\\n    {{#if showingSubcontent}}\\n      <div\\n        class=\\\"js__popover-component-subcontent overlay inbox__custom-snooze-until__subcontent\\\"\\n        onmouseenter={{action \\\"openSubcontentOnMouseEnter\\\"}}\\n        onmouseleave={{action \\\"closeSubcontentOnMouseLeave\\\"}}\\n        {{did-insert this.setSubcontentPosition}}\\n      >\\n        <svg width=\\\"8px\\\" height=\\\"11px\\\" viewBox=\\\"0 0 8 11\\\" version=\\\"1.1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"inbox__custom-snooze-until__subcontent-caret\\\">\\n          <g stroke=\\\"none\\\" stroke-width=\\\"1\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\">\\n            <path d=\\\"M4.4408921e-16,-0.5 L7,6 L4.4408921e-16,11.5 L-3,11 L-3,0 L4.4408921e-16,-0.5 Z\\\" class=\\\"inbox__custom-snooze-until__subcontent-caret__vector\\\" stroke=\\\"#979797\\\" fill=\\\"#F6A623\\\"></path>\\n          </g>\\n        </svg>\\n        <IcDatepicker\\n          @selected={{selectedDayMoment}}\\n          @disableDatesBefore={{yesterday}}\\n          @onSelect={{action (mut selectedDayMoment) value=\\\"moment\\\"}}\\n        />\\n        {{#if hasHourOptionsForSelectedDay}}\\n          <IntercomSelectComponent\\n            @value={{selectedTimeInSecondsSinceMidnight}}\\n            @content={{hoursWith30MinsInterval}}\\n            @optionValuePath=\\\"secondsFromMidnight\\\"\\n            @optionLabelPath=\\\"label\\\"\\n            @classNames=\\\"inbox__custom-snooze-until__time-dropdown\\\"\\n          />\\n        {{/if}}\\n        <span\\n          class=\\\"btn__tertiary u__right inbox__custom-snooze-until__button {{if disableSnoozeButton \\\"o__disabled\\\"}}\\\"\\n          onclick={{action \\\"customSnoozeConversationAndCloseDropdown\\\"}}\\n        >\\n          Snooze\\n        </span>\\n      </div>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/snooze-button-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/snooze-button-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { later } from '@ember/runloop';\nimport $ from 'jquery';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\n// eslint-disable-next-line @intercom/intercom/no-legacy-dropdown\nimport ComponentDropdownToggler from 'embercom/components/mixins/component-dropdown-toggler';\nimport SnoozeOptions from 'embercom/components/mixins/snooze-options';\nimport { SNOOZED_UNTIL_MAP } from 'embercom/lib/inbox/constants';\nimport ENV from 'embercom/config/environment';\nimport { BROWSER_SUPPORTS_TOUCH } from 'embercom/lib/screen-awareness';\nimport { task, timeout } from 'ember-concurrency';\nimport moment from 'moment';\n\nexport default Component.extend(ComponentDropdownToggler, SnoozeOptions, {\n  options: SNOOZED_UNTIL_MAP,\n  tagName: 'span',\n\n  appService: service(),\n  app: readOnly('appService.app'),\n  preventDropdownToggleFromWithin: true,\n  classNames: ['u__relative', 'u__right', 'js__inbox-snooze-button-selector-opener'],\n  _preventClosing(e) {\n    if (this.isDestroyed) {\n      return false;\n    }\n    let $target = $(this.element).find(e.target);\n    return $target.parents('.overlay').length > 0;\n  },\n\n  init() {\n    this._super(...arguments);\n    this.initSnoozeProperties();\n    this.set('yesterday', moment().subtract(1, 'days'));\n  },\n  openSubcontent() {\n    this.set('showingSubcontent', true);\n    this.closeSubcontentAfter1sec.cancelAll();\n  },\n  closeSubcontentImmediately() {\n    this.set('showingSubcontent', false);\n  },\n  closeSubcontent() {\n    this.closeSubcontentAfter1sec.perform();\n  },\n  closeSubcontentAfter1sec: task(function*() {\n    yield timeout(ENV.APP._1000MS);\n    this.set('showingSubcontent', false);\n  }),\n  setSubcontentPosition(element) {\n    if (element.getBoundingClientRect().right > document.documentElement.clientWidth) {\n      element.classList.add('inbox__custom-snooze-until__subcontent__left');\n    }\n  },\n  actions: {\n    openSubcontentOnMouseEnter() {\n      if (!BROWSER_SUPPORTS_TOUCH) {\n        this.openSubcontent();\n      }\n    },\n    closeSubcontentOnMouseLeave() {\n      if (!BROWSER_SUPPORTS_TOUCH) {\n        this.closeSubcontent();\n      }\n    },\n    openOrCloseSubcontentImmediatelyOnClick() {\n      if (BROWSER_SUPPORTS_TOUCH) {\n        if (this.showingSubcontent) {\n          this.closeSubcontentImmediately();\n        } else {\n          this.openSubcontent();\n        }\n      }\n    },\n    snoozeConversationAndCloseDropdown(index) {\n      this.snoozeConversation(index);\n      later(() => this.send('closeDropdown'));\n    },\n    customSnoozeConversationAndCloseDropdown() {\n      if (this.disableSnoozeButton) {\n        return;\n      }\n\n      let selectedDayMoment = this.selectedDayMoment;\n      let selectedTimeInSecondsSinceMidnight = this.selectedTimeInSecondsSinceMidnight;\n      let customSnoozedUntilTime = selectedDayMoment\n        .startOf('day')\n        .add(selectedTimeInSecondsSinceMidnight, 'seconds')\n        .toISOString();\n      this.customSnoozeConversation(customSnoozedUntilTime);\n\n      this.closeSubcontentImmediately();\n      later(() => this.send('closeDropdown'));\n    },\n    unsnoozeConversation() {\n      this.unsnoozeConversation();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span data-test-inbox-sort-by class=\\\"f__custom-select\\\">\\n  <span class=\\\"f__custom-select__box o__subtle\\\">\\n    {{activeSortOptionLabel}}\\n    <span class=\\\"f__custom-select__caret\\\">{{ic-interface-icon 'small-down-arrow' solo=true}}</span>\\n  </span>\\n  {{#if isOpen}}\\n    <div class=\\\"t__body overlay o__dropdown z__2 {{dropdownClass}}\\\">\\n      {{#each sortOptions as |option|}}\\n        <div data-test-sort-by-dropdown-item={{option.label}} class=\\\"inbox__sort-by__dropdown-list-item dropdown__list-item o__hoverable u__prevent-breaks {{if (eq activeSortOption option) 'o__item-selected'}}\\\"\\n          {{action 'sortBy' option}}>\\n          {{option.label}} {{#if (eq activeSortOption option)}}{{ic-interface-icon 'check' color='blue' solo=true}}{{/if}}\\n        </div>\\n      {{/each}}\\n    </div>\\n  {{/if}}\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span data-test-inbox-sort-by class=\\\"f__custom-select\\\">\\n  <span class=\\\"f__custom-select__box o__subtle\\\">\\n    {{activeSortOptionLabel}}\\n    <span class=\\\"f__custom-select__caret\\\">{{ic-interface-icon 'small-down-arrow' solo=true}}</span>\\n  </span>\\n  {{#if isOpen}}\\n    <div class=\\\"t__body overlay o__dropdown z__2 {{dropdownClass}}\\\">\\n      {{#each sortOptions as |option|}}\\n        <div data-test-sort-by-dropdown-item={{option.label}} class=\\\"inbox__sort-by__dropdown-list-item dropdown__list-item o__hoverable u__prevent-breaks {{if (eq activeSortOption option) 'o__item-selected'}}\\\"\\n          {{action 'sortBy' option}}>\\n          {{option.label}} {{#if (eq activeSortOption option)}}{{ic-interface-icon 'check' color='blue' solo=true}}{{/if}}\\n        </div>\\n      {{/each}}\\n    </div>\\n  {{/if}}\\n</span>\\n\",\"moduleName\":\"embercom/components/inbox/sort-by-dropdown-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/sort-by-dropdown-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport EmberObject, { computed } from '@ember/object';\nimport { equal, not, and, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\n// eslint-disable-next-line @intercom/intercom/no-legacy-dropdown\nimport ComponentDropdownToggler from 'embercom/components/mixins/component-dropdown-toggler';\nimport { captureException } from 'embercom/lib/sentry';\n\nexport default Component.extend(ComponentDropdownToggler, {\n  intercomEventService: service(),\n  tagName: 'span',\n  classNames: ['u__relative'],\n  dropdownClass: 'o__down-left',\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  isOpenStatus: equal('inbox.status', 'opened'),\n  isClosedStatus: equal('inbox.status', 'closed'),\n  isSearch: readOnly('inbox.isSearch'),\n  isNotSearch: not('isSearch'),\n  isNotClosedStatus: not('isClosedStatus'),\n  shouldShowSortByWaiting: and('isOpenStatus', 'isNotSearch'),\n  notMentionsInbox: not('inbox.isMentionsInbox'),\n  shouldShowSortByPriority: and('notMentionsInbox', 'isNotSearch'),\n  shouldShowSortByNextBreachTime: and(\n    'isNotClosedStatus',\n    'isNotSearch',\n    'notMentionsInbox',\n    'app.canUseInboxSlas',\n  ),\n\n  sortOptions: computed(\n    'shouldShowSortByWaiting',\n    'shouldShowSortByPriority',\n    'shouldShowSortByNextBreachTime',\n    'app.isNotOnFree',\n    'isSearch',\n    function() {\n      let options = [];\n      if (this.isSearch) {\n        options.push(\n          EmberObject.create({\n            sortKey: 'relevance',\n            sortDirection: 'desc',\n            label: 'Relevance',\n          }),\n        );\n      }\n      options.push(\n        EmberObject.create({\n          sortKey: this.inbox.defaultSortKey,\n          sortDirection: 'asc',\n          label: 'Oldest',\n        }),\n      );\n      options.push(\n        EmberObject.create({\n          sortKey: this.inbox.defaultSortKey,\n          sortDirection: 'desc',\n          label: 'Newest',\n        }),\n      );\n      if (this.shouldShowSortByWaiting) {\n        options.push(\n          EmberObject.create({\n            sortKey: 'waitingSince',\n            sortDirection: 'asc',\n            label: 'Waiting longest',\n          }),\n        );\n      }\n      if (this.get('app.isNotOnFree') && this.shouldShowSortByPriority) {\n        options.push(\n          EmberObject.create({\n            sortKey: 'priorityNewest',\n            sortDirection: 'desc',\n            label: 'Priority first',\n          }),\n        );\n      }\n      if (this.shouldShowSortByNextBreachTime) {\n        options.push(\n          EmberObject.create({\n            sortKey: 'nextBreachTime',\n            sortDirection: 'asc',\n            label: 'Next SLA target',\n          }),\n        );\n      }\n      return options;\n    },\n  ),\n\n  activeSortOption: computed(\n    'sortOptions.@each.{sortKey,sortDirection}',\n    'inbox.sortKey',\n    'inbox.sortDirection',\n    function() {\n      let activeSortKey = this.get('inbox.sortKey');\n      let activeSortDirection = this.get('inbox.sortDirection');\n\n      return this.sortOptions\n        .filter(sortOption => {\n          return (\n            sortOption.get('sortKey') === activeSortKey &&\n            sortOption.get('sortDirection') === activeSortDirection\n          );\n        })\n        .objectAt(0);\n    },\n  ),\n\n  activeSortOptionLabel: computed('activeSortOption.label', 'isVeryNarrow', function() {\n    let label = this.get('activeSortOption.label');\n    let labelWords = '';\n    try {\n      labelWords = label.split(' ');\n    } catch (exception) {\n      if (label === undefined) {\n        captureException(exception, {\n          fingerprint: ['sort-by-dropdown-component', 'activeSortOptionLabel'],\n          extra: {\n            sort_options: this.sortOptions,\n            respond_service_sort_key: this.get('inbox.sortKey'),\n            respond_service_sort_direction: this.get('inbox.sortDirection'),\n            app_id: this.get('app.id'),\n          },\n        });\n      }\n    }\n\n    if (!this.isVeryNarrow || labelWords.length <= 1) {\n      return label;\n    }\n\n    return `${labelWords[0]}…`;\n  }),\n\n  recordMetrics(option) {\n    let action = option.get('label').underscore();\n    this.intercomEventService.trackAnalyticsEvent({\n      action: `sort_by_${action}`,\n      object: this.inbox,\n      context: this.inboxContext,\n    });\n  },\n\n  inboxContext: computed('admin', 'inbox', function() {\n    let inbox = this.inbox;\n    let admin = this.admin;\n    if (inbox.get('admin.id') === admin.get('id')) {\n      return 'you';\n    } else if (inbox.get('isUnassignedInbox')) {\n      return 'unassigned';\n    } else if (inbox.get('isMentionsInbox')) {\n      return 'mentions';\n    } else if (inbox.get('isAllInbox')) {\n      return 'all';\n    } else if (inbox.get('isTeamInbox')) {\n      return 'team';\n    } else {\n      return 'admin';\n    }\n  }),\n\n  actions: {\n    sortBy(option) {\n      let currentSortKey = this.get('activeSortOption.sortKey');\n      let currentDirection = this.get('activeSortOption.sortDirection');\n      if (\n        option.get('sortKey') !== currentSortKey ||\n        option.get('sortDirection') !== currentDirection\n      ) {\n        this.recordMetrics(option);\n        this.inbox.sortBy(option.get('sortKey'), option.get('sortDirection'));\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<SubmenuComponent\\n  data-test-reporting-nav-bar=\\\"true\\\"\\n  @title=\\\"Inbox\\\" as |submenu|\\n>\\n  <submenu.header\\n    @searchAction={{action @toggleSearch}}\\n    @searchIsSelected={{searchIsSelected}}\\n    @searchIsDisabled={{not this.canAccessInbox}}\\n  />\\n  <submenu.sections as |sections|>\\n    <sections.section\\n      @classNames=\\\"inbox__submenu__section__conversations\\\"\\n      @isOpen={{or isOnInboxRoute (not this.canAccessInbox)}}\\n      @isScrollableList={{true}}\\n      as |section|\\n    >\\n      <section.title\\n        class={{unless this.canAccessInbox \\\"nav__link__unavailable\\\"}}\\n        @title=\\\"Conversations\\\"\\n        @url={{href-to \\\"apps.app.inbox.inbox\\\"}}\\n      />\\n      <section.items @isInboxList={{true}} class=\\\"inbox__submenu__sections__section__items__vertical-nav-list\\\">\\n        <Inbox::VerticalNavList\\n          @actionReceiver={{navListComponent}}\\n          @activeInbox={{activeInbox}}\\n          @openTeamSettingsPage=\\\"openTeamSettingsPage\\\"\\n          @incompleteGuideSetup={{incompleteGuideSetup}}\\n          @showAllInboxes={{showAllInboxes}}\\n          @showAllViews={{showAllViews}}\\n          @selectedInboxId={{selectedInboxId}}\\n          @selectTeamMemberInbox={{action \\\"selectTeamMemberInbox\\\"}}\\n          @shouldAllowNavLinks={{this.canAccessInbox}}\\n          @createView={{@createView}}\\n          @updateView={{@updateView}}\\n        />\\n      </section.items>\\n    </sections.section>\\n\\n    <sections.section @isOpen={{isOnAnyRulesRoute}} as |section|>\\n      {{#if defaultToWorkflowsRoute}}\\n        <section.title\\n          class={{unless this.canAccessInbox \\\"nav__link__unavailable\\\"}}\\n          @title=\\\"Automation\\\"\\n          @url={{href-to \\\"apps.app.inbox.automation.workflows.list\\\"}}\\n          data-intercom-target=\\\"automation\\\"\\n        />\\n      {{else}}\\n        <section.title\\n          class={{unless this.canAccessInbox \\\"nav__link__unavailable\\\"}}\\n          @title=\\\"Automation\\\"\\n          @url={{href-to \\\"apps.app.inbox.automation.assignment\\\"}}\\n          data-intercom-target=\\\"automation\\\"\\n        />\\n      {{/if}}\\n      <section.items>\\n        {{#if defaultToWorkflowsRoute}}\\n          <LinkTo\\n            @route=\\\"apps.app.inbox.automation.workflows.list\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Rules\\n            {{ic-stamp \\\"New\\\" \\\"ml-2\\\"}}\\n          </LinkTo>\\n        {{/if}}\\n        {{#unless app.shouldHideInboxRules}}\\n          <LinkTo\\n            @route=\\\"apps.app.inbox.automation.assignment\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Assignment rules\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.inbox.automation.tag\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Tag rules\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.inbox.automation.priority\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Priority rules\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.inbox.automation.sla\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            SLA rules\\n          </LinkTo>\\n        {{/unless}}\\n        <LinkTo\\n          @route=\\\"apps.app.inbox.automation.workload-management\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Workload management\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnInboxPreferencesRoute}} as |section|>\\n      <section.title\\n        class={{unless this.canAccessInbox \\\"nav__link__unavailable\\\"}}\\n        @title=\\\"Your preferences\\\"\\n        @url={{href-to \\\"apps.app.inbox.preferences\\\"}}\\n      />\\n      <section.items>\\n        {{#if app.currentAdminHasInboxAccess}}\\n          <LinkTo\\n            @route=\\\"apps.app.inbox.preferences.inbox-wallpaper\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Wallpaper\\n          </LinkTo>\\n        {{/if}}\\n        <LinkTo\\n          @route=\\\"apps.app.inbox.preferences.conversations\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Assignment preferences\\n        </LinkTo>\\n        {{#if app.canUseAutoAway}}\\n          <LinkTo\\n            @route=\\\"apps.app.inbox.preferences.away-mode-preferences\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Away mode preferences\\n          </LinkTo>\\n        {{/if}}\\n      </section.items>\\n    </sections.section>\\n    {{#if app.hasInboxSpamFilter}}\\n      <sections.section as |section|>\\n        <section.title>\\n          <LinkTo\\n            @route='apps.app.settings.spam-messages'\\n            class='submenu__sections__section__title__link'\\n            data-track-analytics-event-object='inbox_spam_messages_link'\\n          >\\n            Spam messages\\n          </LinkTo>\\n        </section.title>\\n      </sections.section>\\n    {{/if}}\\n  </submenu.sections>\\n  <submenu.footer>\\n    <Inbox::InboxOfLove />\\n  </submenu.footer>\\n</SubmenuComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<SubmenuComponent\\n  data-test-reporting-nav-bar=\\\"true\\\"\\n  @title=\\\"Inbox\\\" as |submenu|\\n>\\n  <submenu.header\\n    @searchAction={{action @toggleSearch}}\\n    @searchIsSelected={{searchIsSelected}}\\n    @searchIsDisabled={{not this.canAccessInbox}}\\n  />\\n  <submenu.sections as |sections|>\\n    <sections.section\\n      @classNames=\\\"inbox__submenu__section__conversations\\\"\\n      @isOpen={{or isOnInboxRoute (not this.canAccessInbox)}}\\n      @isScrollableList={{true}}\\n      as |section|\\n    >\\n      <section.title\\n        class={{unless this.canAccessInbox \\\"nav__link__unavailable\\\"}}\\n        @title=\\\"Conversations\\\"\\n        @url={{href-to \\\"apps.app.inbox.inbox\\\"}}\\n      />\\n      <section.items @isInboxList={{true}} class=\\\"inbox__submenu__sections__section__items__vertical-nav-list\\\">\\n        <Inbox::VerticalNavList\\n          @actionReceiver={{navListComponent}}\\n          @activeInbox={{activeInbox}}\\n          @openTeamSettingsPage=\\\"openTeamSettingsPage\\\"\\n          @incompleteGuideSetup={{incompleteGuideSetup}}\\n          @showAllInboxes={{showAllInboxes}}\\n          @showAllViews={{showAllViews}}\\n          @selectedInboxId={{selectedInboxId}}\\n          @selectTeamMemberInbox={{action \\\"selectTeamMemberInbox\\\"}}\\n          @shouldAllowNavLinks={{this.canAccessInbox}}\\n          @createView={{@createView}}\\n          @updateView={{@updateView}}\\n        />\\n      </section.items>\\n    </sections.section>\\n\\n    <sections.section @isOpen={{isOnAnyRulesRoute}} as |section|>\\n      {{#if defaultToWorkflowsRoute}}\\n        <section.title\\n          class={{unless this.canAccessInbox \\\"nav__link__unavailable\\\"}}\\n          @title=\\\"Automation\\\"\\n          @url={{href-to \\\"apps.app.inbox.automation.workflows.list\\\"}}\\n          data-intercom-target=\\\"automation\\\"\\n        />\\n      {{else}}\\n        <section.title\\n          class={{unless this.canAccessInbox \\\"nav__link__unavailable\\\"}}\\n          @title=\\\"Automation\\\"\\n          @url={{href-to \\\"apps.app.inbox.automation.assignment\\\"}}\\n          data-intercom-target=\\\"automation\\\"\\n        />\\n      {{/if}}\\n      <section.items>\\n        {{#if defaultToWorkflowsRoute}}\\n          <LinkTo\\n            @route=\\\"apps.app.inbox.automation.workflows.list\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Rules\\n            {{ic-stamp \\\"New\\\" \\\"ml-2\\\"}}\\n          </LinkTo>\\n        {{/if}}\\n        {{#unless app.shouldHideInboxRules}}\\n          <LinkTo\\n            @route=\\\"apps.app.inbox.automation.assignment\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Assignment rules\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.inbox.automation.tag\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Tag rules\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.inbox.automation.priority\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Priority rules\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.inbox.automation.sla\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            SLA rules\\n          </LinkTo>\\n        {{/unless}}\\n        <LinkTo\\n          @route=\\\"apps.app.inbox.automation.workload-management\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Workload management\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnInboxPreferencesRoute}} as |section|>\\n      <section.title\\n        class={{unless this.canAccessInbox \\\"nav__link__unavailable\\\"}}\\n        @title=\\\"Your preferences\\\"\\n        @url={{href-to \\\"apps.app.inbox.preferences\\\"}}\\n      />\\n      <section.items>\\n        {{#if app.currentAdminHasInboxAccess}}\\n          <LinkTo\\n            @route=\\\"apps.app.inbox.preferences.inbox-wallpaper\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Wallpaper\\n          </LinkTo>\\n        {{/if}}\\n        <LinkTo\\n          @route=\\\"apps.app.inbox.preferences.conversations\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Assignment preferences\\n        </LinkTo>\\n        {{#if app.canUseAutoAway}}\\n          <LinkTo\\n            @route=\\\"apps.app.inbox.preferences.away-mode-preferences\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Away mode preferences\\n          </LinkTo>\\n        {{/if}}\\n      </section.items>\\n    </sections.section>\\n    {{#if app.hasInboxSpamFilter}}\\n      <sections.section as |section|>\\n        <section.title>\\n          <LinkTo\\n            @route='apps.app.settings.spam-messages'\\n            class='submenu__sections__section__title__link'\\n            data-track-analytics-event-object='inbox_spam_messages_link'\\n          >\\n            Spam messages\\n          </LinkTo>\\n        </section.title>\\n      </sections.section>\\n    {{/if}}\\n  </submenu.sections>\\n  <submenu.footer>\\n    <Inbox::InboxOfLove />\\n  </submenu.footer>\\n</SubmenuComponent>\\n\",\"moduleName\":\"embercom/components/inbox/submenu-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/submenu-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, match, or, and } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport defaultTo from '@intercom/embercom-core/lib/default-to';\nimport RouteRegexes from 'embercom/lib/route-regexes';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  router: service(),\n\n  classNames: ['layout__box', 'o__has-columns'],\n\n  isOnInboxRoute: match('router.currentRouteName', RouteRegexes.inbox),\n  isOnAssignmentRulesRoute: match('router.currentRouteName', RouteRegexes.inboxAssignmentRules),\n  isOnPriorityRulesRoute: match('router.currentRouteName', RouteRegexes.inboxPriorityRules),\n  isOnSlaRulesRoute: match('router.currentRouteName', RouteRegexes.inboxSlaRules),\n  isOnTagRulesRoute: match('router.currentRouteName', RouteRegexes.inboxTagRules),\n  isOnWorkloadManagementRoute: match('router.currentRouteName', RouteRegexes.workloadManagement),\n  isOnWorkflowsRoute: match('router.currentRouteName', RouteRegexes.workflows),\n  isOnAnyRulesRoute: or(\n    'isOnAssignmentRulesRoute',\n    'isOnPriorityRulesRoute',\n    'isOnSlaRulesRoute',\n    'isOnTagRulesRoute',\n    'isOnWorkloadManagementRoute',\n    'isOnWorkflowsRoute',\n  ),\n  isOnInboxPreferencesRoute: match('router.currentRouteName', RouteRegexes.inboxPreferencesRoute),\n  isOnReportingRoute: match('router.currentRouteName', RouteRegexes.respondReporting),\n  isOnGuideRoute: match('router.currentRouteName', RouteRegexes.respondGuide),\n  isOnAboutRoute: match('router.currentRouteName', RouteRegexes.respondAbout),\n\n  showAllInboxes: defaultTo(false),\n  showAllViews: defaultTo(false),\n\n  canAccessInbox: and('app.inboxIsActive', 'app.currentAdminHasInboxAccess'),\n  defaultToWorkflowsRoute: computed(\n    'app.{canSeeWorkflowsOptIn,shouldHideInboxRules,canUseWorkflows,canUseInboxRules,canUseTagRules}',\n    function() {\n      return (\n        (this.app.canSeeWorkflowsOptIn ||\n          this.app.shouldHideInboxRules ||\n          this.app.canUseWorkflows) &&\n        !(this.app.canUseTagRules && !this.app.canUseInboxRules)\n      );\n    },\n  ),\n\n  actions: {\n    selectTeamMemberInbox(id) {\n      this.set('showAllInboxes', true);\n      this.set('selectedInboxId', id);\n    },\n    openTeamSettingsPage() {\n      this.router.transitionTo('apps.app.settings.teams');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"layout__box o__has-columns\\\"\\n  data-test-summary-report-navigation\\n  ...attributes\\n>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <LinkTo\\n      @route=\\\"apps.app.reports.inbox.summary.conversations\\\"\\n      class=\\\"tabs__tab\\\"\\n      @activeClass=\\\"o__selected\\\"\\n    >\\n      {{ic-interface-icon \\\"conversation\\\"}} Conversations\\n    </LinkTo>\\n    <LinkTo\\n      @route=\\\"apps.app.reports.inbox.summary.sales\\\"\\n      class=\\\"tabs__tab\\\"\\n      @activeClass=\\\"o__selected\\\"\\n    >\\n      {{ic-interface-icon \\\"bar-charts\\\"}} Sales\\n    </LinkTo>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"layout__box o__has-columns\\\"\\n  data-test-summary-report-navigation\\n  ...attributes\\n>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <LinkTo\\n      @route=\\\"apps.app.reports.inbox.summary.conversations\\\"\\n      class=\\\"tabs__tab\\\"\\n      @activeClass=\\\"o__selected\\\"\\n    >\\n      {{ic-interface-icon \\\"conversation\\\"}} Conversations\\n    </LinkTo>\\n    <LinkTo\\n      @route=\\\"apps.app.reports.inbox.summary.sales\\\"\\n      class=\\\"tabs__tab\\\"\\n      @activeClass=\\\"o__selected\\\"\\n    >\\n      {{ic-interface-icon \\\"bar-charts\\\"}} Sales\\n    </LinkTo>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/summary-report-navigation.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/summary-report-navigation.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each avatarData as |data index|}}\\n  {{#if data.imagePresent}}\\n    <img key={{index}} class={{data.classNames}} src={{data.imageUrl}}>\\n  {{else}}\\n    <div key={{index}} class={{data.classNames}}>{{data.initial}}</div>\\n  {{/if}}\\n{{/each}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each avatarData as |data index|}}\\n  {{#if data.imagePresent}}\\n    <img key={{index}} class={{data.classNames}} src={{data.imageUrl}}>\\n  {{else}}\\n    <div key={{index}} class={{data.classNames}}>{{data.initial}}</div>\\n  {{/if}}\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/inbox/team-avatar-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/team-avatar-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { filter, equal } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { slice, ternary } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  classNames: ['inbox__admin-avatar__team-avatar-container'],\n  classHash: {\n    1: {\n      1: '',\n    },\n    2: {\n      0: 'o__first-of-two-admins',\n      1: 'o__second-of-two-admins',\n    },\n    3: {\n      0: 'o__first-of-three-admins',\n      1: 'o__second-of-three-admins',\n      2: 'o__third-of-three-admins',\n    },\n  },\n  allTeamMembers: filter('app.admins', function(admin) {\n    return this.get('admin.member_ids').includes(parseInt(admin.get('id'), 10));\n  }),\n  teamMembers: slice('allTeamMembers', 0, 3),\n  onlyOneMember: equal('teamMembers.length', 1),\n  adminsCountClass: ternary('onlyOneMember', 'o__l-team-avatar', 'o__s-team-avatar'),\n  notDefaultAvatar(url) {\n    return url.search('default-avatars') === -1;\n  },\n  buildClassNames(index) {\n    let classNames = ['inbox__admin-avatar__team-avatar'];\n    classNames.push(this.classHash[this.get('teamMembers.length')][index]);\n    classNames.push(this.adminsCountClass);\n\n    return classNames.join(' ');\n  },\n  avatarData: computed('teamMembers', function() {\n    let data = [];\n    this.teamMembers.forEach((member, index) => {\n      let avatar = {};\n      let url = member.get('avatar.image_urls.square_128');\n      if (url && this.notDefaultAvatar(url)) {\n        avatar.imagePresent = true;\n        avatar.imageUrl = member.get('avatar.image_urls.square_128');\n      } else {\n        avatar.imagePresent = false;\n        avatar.initial = member\n          .get('first_name')\n          .charAt(0)\n          .toUpperCase();\n      }\n\n      avatar.classNames = this.buildClassNames(index);\n      data.push(avatar);\n    });\n    return data;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (and fetchAndSetUser.isIdle user)}}\\n  {{#if (and app.isIntercom admin.hasEnabledCSComponent)}}\\n    <div class=\\\"h-2\\\"></div>\\n    <div\\n      class=\\\"layout__box o__centers-horizontally js__profile-actions-impersonation\\\"\\n      {{tooltip content=\\\"Use Intercom from this person’s account (Intercomrades only)\\\"}}\\n    >\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @label=\\\"Impersonate\\\"\\n        @onClick={{action \\\"impersonateUser\\\"}}\\n        data-test-cs-impersonate-action={{true}}\\n      />\\n    </div>\\n  {{/if}}\\n  <Inbox::ConversationSidebar::Sidebar\\n    @inEditMode={{@inEditMode}}\\n    @sidebarViewId={{@sidebarViewId}}\\n    @sectionsList={{sectionsListFromAdminAppSidebarSections}}\\n    @conversation={{conversation}}\\n    @user={{user}}\\n    @deleteNotifications={{deleteNotifications}}\\n    @scrollContainerSelector={{@scrollContainerSelector}}\\n  />\\n{{else if fetchAndSetUser.isRunning}}\\n  <div class=\\\"u__center-item mt-16\\\">\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n  </div>\\n{{else if fetchAndSetUser.last.error}}\\n  <IcBanner\\n    @type=\\\"error\\\"\\n    @text=\\\"Oops, something went wrong.\\\"\\n    @buttonLabel=\\\"Try again…\\\"\\n    @onButtonClick={{perform fetchAndSetUser}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (and fetchAndSetUser.isIdle user)}}\\n  {{#if (and app.isIntercom admin.hasEnabledCSComponent)}}\\n    <div class=\\\"h-2\\\"></div>\\n    <div\\n      class=\\\"layout__box o__centers-horizontally js__profile-actions-impersonation\\\"\\n      {{tooltip content=\\\"Use Intercom from this person’s account (Intercomrades only)\\\"}}\\n    >\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @label=\\\"Impersonate\\\"\\n        @onClick={{action \\\"impersonateUser\\\"}}\\n        data-test-cs-impersonate-action={{true}}\\n      />\\n    </div>\\n  {{/if}}\\n  <Inbox::ConversationSidebar::Sidebar\\n    @inEditMode={{@inEditMode}}\\n    @sidebarViewId={{@sidebarViewId}}\\n    @sectionsList={{sectionsListFromAdminAppSidebarSections}}\\n    @conversation={{conversation}}\\n    @user={{user}}\\n    @deleteNotifications={{deleteNotifications}}\\n    @scrollContainerSelector={{@scrollContainerSelector}}\\n  />\\n{{else if fetchAndSetUser.isRunning}}\\n  <div class=\\\"u__center-item mt-16\\\">\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n  </div>\\n{{else if fetchAndSetUser.last.error}}\\n  <IcBanner\\n    @type=\\\"error\\\"\\n    @text=\\\"Oops, something went wrong.\\\"\\n    @buttonLabel=\\\"Try again…\\\"\\n    @onButtonClick={{perform fetchAndSetUser}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/user-profile-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/user-profile-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { alias, equal, notEmpty, readOnly, reads } from '@ember/object/computed';\nimport { later, next } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { equalToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport AdminObjectVisibility from 'embercom/components/mixins/admin-object-visibility';\nimport ImpersonationRequest from 'embercom/lib/impersonation-request';\nimport safeWindowOpen from 'embercom/lib/safe-window-open';\nimport $ from 'jquery';\n\nexport default Component.extend(ImpersonationRequest, AdminObjectVisibility, {\n  store: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  intercomEventService: service(),\n  notificationsService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n\n  ariaRole: 'note',\n  userPresenceService: service('userPresenceService'),\n  userCacheService: service('userCacheService'),\n  userIsLoaded: equalToProperty('user.id', 'userId'),\n\n  segments: alias('user.existingSegments'),\n  taggings: alias('user.taggings'),\n\n  displayableAttributes: alias('attributeService.displayableAttributes'),\n\n  adminImpersonationPermissionStatus: reads('admin.impersonation_permission_status'),\n  adminImpersonationPermissionNotRequested: equal(\n    'adminImpersonationPermissionStatus',\n    'not_requested',\n  ),\n  adminImpersonationDefaultReason: reads('admin.impersonation_permission_default_reason'),\n  qualificationAttributes: readOnly('app.qualification_attributes'),\n  showQualificationAttributeList: notEmpty('qualificationAttributes'),\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    if (!this.userIsLoaded) {\n      next(this, () => {\n        this.fetchAndSetUser.perform();\n      });\n    }\n  },\n\n  cityNameAttribute: computed('displayableAttributes', function() {\n    return this.displayableAttributes.findBy(\n      'attribute.identifier',\n      'geoip_data.city_name',\n    ).attribute;\n  }),\n\n  countryNameAttribute: computed('displayableAttributes', function() {\n    return this.displayableAttributes.findBy(\n      'attribute.identifier',\n      'geoip_data.country_name',\n    ).attribute;\n  }),\n\n  fetchAndSetUser: task(function*() {\n    this.set('user', null);\n\n    let userId = this.userId;\n    let user = yield this.userCacheService.getUserAndRefreshCache(userId);\n\n    this.set('user', user);\n    this.userPresenceService.updateUserPresenceForUser(user);\n    if (this.isActive) {\n      this.userPresenceService.syncParticipantStatusWithUser(user);\n    }\n  }).restartable(),\n\n  _manageSubscription() {\n    let controller = 'apps/app/users/user/modals/subscription';\n    this.modalService.openModal(controller, this.user);\n  },\n\n  _openAppAdminPage(path) {\n    let userRecentCompanyId = this.get('user.mostRecentCompany.remote_company_id');\n    if (userRecentCompanyId) {\n      safeWindowOpen(`https://intercomrades.intercom.com/${path}/${userRecentCompanyId}`);\n    }\n  },\n\n  actions: {\n    impersonateUser() {\n      if (this.adminImpersonationPermissionNotRequested) {\n        this._submitImpersonationRequestForAdmin(this.admin);\n      } else if (this.adminImpersonationPermissionStatus === 'approved') {\n        this._checkImpersonationConsent(this.get('user.user_id'))\n          .then(response => {\n            this.modalService.openModal(\n              'apps/app/users/user/modals/impersonate',\n              this.user,\n              {\n                defaultReason: this.adminImpersonationDefaultReason,\n                impersonationConsentExists: this.get('user.consents_to_impersonation'),\n              },\n              {},\n              {\n                onOpen: () => {\n                  later(\n                    this,\n                    () => {\n                      $('.impersonation__reason__input')\n                        .get(0)\n                        .focus();\n                    },\n                    100,\n                  );\n                },\n              },\n            );\n          })\n          .catch(e => {\n            // noop\n          });\n      } else {\n        window.alert('Impersonation request already submitted. Wait for approval.');\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if this.loadAdminAppSidebarSettings.isRunning}}\\n  <div class=\\\"u__center-item mt-16\\\">\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n  </div>\\n{{else if @conversation.fromDeletedUser}}\\n  <div class=\\\"profile-sidebar-section__current-profile u__padt__20\\\">\\n    <Inbox::DeletedUserProfileComponent />\\n  </div>\\n{{else if (not sectionsListFromAdminAppSidebarSections)}}\\n  <IcEmptyState\\n    data-test-sidebar-error-state\\n    @title=\\\"Unable to load your sidebar\\\"\\n    @icon=\\\"error\\\"\\n    @buttonLabel=\\\"Try again\\\"\\n    @onButtonClick={{action \\\"reloadSidebar\\\"}}\\n  />\\n{{else}}\\n  <Inbox::ConversationSidebar::Header\\n    @app={{this.app}}\\n    @saveSectionsList={{action \\\"saveSidebarSectionsListAndExitEditMode\\\"}}\\n    @showGroupConversationTab={{@conversation.isGroupConversation}}\\n    @inEditMode={{this.inEditMode}}\\n    @turnOnEditMode={{action \\\"turnOnEditMode\\\"}}\\n    @sidebarViewId={{this.sidebarViewId}}\\n    @setSidebarViewId={{ action \\\"setSidebarViewId\\\"}}\\n    @deleteSidebarView={{action \\\"deleteSidebarView\\\"}}\\n    @reloadSidebar={{action \\\"reloadSidebar\\\"}}\\n    @sectionsListFromAdminAppSidebarSections={{this.sectionsListFromAdminAppSidebarSections}}\\n    @conversation={{@conversation}}\\n    @activeParticipantId={{this.activeParticipantId}}\\n    @toggleActiveParticipant={{action \\\"toggleActiveParticipant\\\"}}\\n    @dismissNotificationTooltip={{action \\\"dismissNotificationTooltip\\\"}}\\n    @showNotificationTooltip={{showNotificationTooltip}}\\n  />\\n  <div class=\\\"profile-sidebar-section__current-profile__wrapper\\\">\\n    <div class=\\\"profile-sidebar-section__current-profile\\\">\\n      <Inbox::UserProfileComponent\\n        @inEditMode={{this.inEditMode}}\\n        @sidebarViewId={{this.sidebarViewId}}\\n        @conversation={{@conversation}}\\n        @userId={{this.activeParticipantId}}\\n        @sectionsListFromAdminAppSidebarSections={{this.sectionsListFromAdminAppSidebarSections}}\\n        @deleteNotifications={{action \\\"deleteNotifications\\\"}}\\n        @scrollContainerSelector=\\\".profile-sidebar-section__current-profile__wrapper\\\"\\n      />\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if this.loadAdminAppSidebarSettings.isRunning}}\\n  <div class=\\\"u__center-item mt-16\\\">\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n  </div>\\n{{else if @conversation.fromDeletedUser}}\\n  <div class=\\\"profile-sidebar-section__current-profile u__padt__20\\\">\\n    <Inbox::DeletedUserProfileComponent />\\n  </div>\\n{{else if (not sectionsListFromAdminAppSidebarSections)}}\\n  <IcEmptyState\\n    data-test-sidebar-error-state\\n    @title=\\\"Unable to load your sidebar\\\"\\n    @icon=\\\"error\\\"\\n    @buttonLabel=\\\"Try again\\\"\\n    @onButtonClick={{action \\\"reloadSidebar\\\"}}\\n  />\\n{{else}}\\n  <Inbox::ConversationSidebar::Header\\n    @app={{this.app}}\\n    @saveSectionsList={{action \\\"saveSidebarSectionsListAndExitEditMode\\\"}}\\n    @showGroupConversationTab={{@conversation.isGroupConversation}}\\n    @inEditMode={{this.inEditMode}}\\n    @turnOnEditMode={{action \\\"turnOnEditMode\\\"}}\\n    @sidebarViewId={{this.sidebarViewId}}\\n    @setSidebarViewId={{ action \\\"setSidebarViewId\\\"}}\\n    @deleteSidebarView={{action \\\"deleteSidebarView\\\"}}\\n    @reloadSidebar={{action \\\"reloadSidebar\\\"}}\\n    @sectionsListFromAdminAppSidebarSections={{this.sectionsListFromAdminAppSidebarSections}}\\n    @conversation={{@conversation}}\\n    @activeParticipantId={{this.activeParticipantId}}\\n    @toggleActiveParticipant={{action \\\"toggleActiveParticipant\\\"}}\\n    @dismissNotificationTooltip={{action \\\"dismissNotificationTooltip\\\"}}\\n    @showNotificationTooltip={{showNotificationTooltip}}\\n  />\\n  <div class=\\\"profile-sidebar-section__current-profile__wrapper\\\">\\n    <div class=\\\"profile-sidebar-section__current-profile\\\">\\n      <Inbox::UserProfileComponent\\n        @inEditMode={{this.inEditMode}}\\n        @sidebarViewId={{this.sidebarViewId}}\\n        @conversation={{@conversation}}\\n        @userId={{this.activeParticipantId}}\\n        @sectionsListFromAdminAppSidebarSections={{this.sectionsListFromAdminAppSidebarSections}}\\n        @deleteNotifications={{action \\\"deleteNotifications\\\"}}\\n        @scrollContainerSelector=\\\".profile-sidebar-section__current-profile__wrapper\\\"\\n      />\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/user-profile-container-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/user-profile-container-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { and, or, readOnly } from '@ember/object/computed';\nimport { debounce } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport { isEmpty } from '@ember/utils';\nimport { task } from 'ember-concurrency';\nimport DidChangeAttrs from 'ember-did-change-attrs';\nimport ENV from 'embercom/config/environment';\nimport ajax from 'embercom/lib/ajax';\nimport { captureException } from 'embercom/lib/sentry';\n\nexport default Component.extend(DidChangeAttrs, {\n  appService: service(),\n  appstoreService: service(),\n  intercomEventService: service(),\n  notificationsService: service(),\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n  store: service(),\n  router: service(),\n\n  inEditMode: false,\n  sidebarViewId: null,\n\n  classNames: ['conversation__inbox__user-profile-container'],\n  classNameBindings: [\n    'backgroundClass',\n    'app.canUseConversationAttributeData:o__cdas-visible',\n    'groupConvversationOnCDA:o__group-conversation',\n  ],\n\n  groupConvversationOnCDA: and(\n    'app.canUseConversationAttributeData',\n    'conversation.isGroupConversation',\n  ),\n\n  activeParticipantId: or('chosenUserId', 'conversation.main_participant.id'),\n\n  backgroundClass: computed('background', function() {\n    if (this.background) {\n      return `o__stream-${this.background}`;\n    }\n    return '';\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.router.on('routeWillChange', this, '_warnIfHasUnsavedChanges');\n  },\n\n  willDestroyElement() {\n    this._super(...arguments);\n    this.router.off('routeWillChange', this, '_warnIfHasUnsavedChanges');\n  },\n\n  _warnIfHasUnsavedChanges(transition) {\n    if (!transition.isAborted && this.inEditMode) {\n      if (!confirm('Warning: You have unsaved changes. Do you want to leave the page?')) {\n        transition.abort();\n      }\n    }\n  },\n\n  didChangeAttrsConfig: {\n    attrs: ['conversation', 'numberOfParticipants'],\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.loadAdminAppSidebarSettings.perform();\n  },\n\n  didChangeAttrs(changes) {\n    this._super(...arguments);\n\n    if (changes.conversation) {\n      this.set('chosenUserId', undefined);\n      debounce(this, this._scrollToTop, ENV.APP._200MS);\n    }\n\n    if (changes.numberOfParticipants) {\n      if (!this.conversation.participants.mapBy('id').includes(this.activeParticipantId)) {\n        this.set('chosenUserId', undefined);\n      }\n    }\n  },\n\n  _scrollToTop() {\n    let wrapper =\n      this.element &&\n      this.element.querySelector('.profile-sidebar-section__current-profile__wrapper');\n    if (wrapper) {\n      wrapper.scrollTop = 0;\n    }\n  },\n\n  loadAdminAppSidebarSettings: task(function*() {\n    try {\n      let sidebarSectionsList = yield this.store.queryRecord(\n        'inbox/admin-app-sidebar-section-list',\n        {\n          filter: {\n            appId: this.get('app.id'),\n            adminId: this.get('admin.id'),\n            sidebar_view_id: this.sidebarViewId,\n          },\n        },\n      );\n\n      this.setProperties({\n        sectionsListFromAdminAppSidebarSections: sidebarSectionsList,\n        showNotificationTooltip: Boolean(sidebarSectionsList.notification),\n      });\n    } catch (err) {\n      console.error(err);\n\n      captureException(err, {\n        fingerprint: ['user-profile-container-component', 'unable-to-load-sidebar'],\n        extra: {\n          'responsible-team': 'team-inbox',\n          tags: {\n            feature: 'inbox-conversation-sidebar',\n          },\n        },\n      });\n    }\n\n    // Load background color settings\n    let teammateAppSetting = yield this.store.findRecord(\n      'admin-teammate-app-settings',\n      this.get('admin.id'),\n      { backgroundReload: false },\n    );\n    this.set('background', teammateAppSetting.get('adminMessengerBackground'));\n  }).drop(),\n\n  saveAdminAppSidebarSettings: task(function*() {\n    if (this.sectionsListFromAdminAppSidebarSections.sections.length === 0) {\n      this.notificationsService.notifyWarning(\n        'Your conversation details cannot be saved when empty. Add more to save.',\n      );\n      return;\n    }\n\n    try {\n      yield this.sectionsListFromAdminAppSidebarSections.save();\n      this.set('inEditMode', false);\n    } catch (e) {\n      if (!isEmpty(e.jqXHR.responseJSON) && !isEmpty(e.jqXHR.responseJSON.errors)) {\n        this.notificationsService.notifyError(e.jqXHR.responseJSON.errors);\n        this.set('inEditMode', false);\n        yield this.get('actions.reloadSidebar').call(this);\n      } else {\n        this.notificationsService.notifyError(\n          'An error occurred while saving the changes, please try again.',\n        );\n      }\n    }\n  }).drop(),\n\n  _dismissInboxAppInstallNotificationTooltip: task(function*() {\n    yield ajax({\n      url: '/ember/inbox/admin_app_sidebar_sections/dismiss_notification_tooltip',\n      type: 'PUT',\n      data: JSON.stringify({\n        app_id: this.get('appService.app.id'),\n      }),\n    });\n  }).drop(),\n\n  _dismissInboxAppInstallNotifications: task(function*() {\n    yield ajax({\n      url: '/ember/inbox/admin_app_sidebar_sections/notifications',\n      type: 'DELETE',\n      data: JSON.stringify({\n        app_id: this.get('appService.app.id'),\n      }),\n    });\n  }).drop(),\n\n  _deleteSidebarView: task(function*() {\n    let sidebarView = yield this.store.findRecord('inbox/sidebar-view', this.sidebarViewId);\n    sidebarView.destroyRecord().then(\n      () => {\n        this.set('inEditMode', false);\n        this.set('sidebarViewId', null);\n        this.loadAdminAppSidebarSettings.perform();\n        this.notificationsService.notifyConfirmation('Sidebar view was delete successfully');\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'view_destroyed',\n          object: 'sidebar_view',\n        });\n      },\n      () => {\n        this.set('inEditMode', false);\n        this.notificationsService.notifyError(\n          `Only the view owner can delete the shared view. Please reach to ${sidebarView.author} in order to edit this view.`,\n        );\n      },\n    );\n  }).drop(),\n\n  actions: {\n    toggleActiveParticipant(userId) {\n      this.set('chosenUserId', userId);\n    },\n    saveSidebarSectionsListAndExitEditMode() {\n      this.saveAdminAppSidebarSettings.perform();\n      this.intercomEventService.trackEvent('customized-conversation-details');\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'save_sections',\n        object: 'inbox_sidebar',\n      });\n    },\n    dismissNotificationTooltip() {\n      this.set('showNotificationTooltip', false);\n      this._dismissInboxAppInstallNotificationTooltip.perform();\n    },\n    deleteNotifications() {\n      this.set('showNotificationTooltip', false);\n      this._dismissInboxAppInstallNotifications.perform();\n    },\n    turnOnEditMode() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'edit_sections',\n        object: 'inbox_sidebar',\n        section: 'respond',\n      });\n\n      this._scrollToTop();\n      this.set('inEditMode', true);\n    },\n    setSidebarViewId(sidebarViewId) {\n      this.set('sidebarViewId', sidebarViewId);\n    },\n    deleteSidebarView() {\n      this._deleteSidebarView.perform();\n    },\n    reloadSidebar() {\n      this.loadAdminAppSidebarSettings.perform();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__3dfix\\\">\\n  <div class=\\\"h-2\\\"></div>\\n  <div class=\\\"f__group\\\">\\n    <label class=\\\"f__group-label t__label u__mr__10\\\">\\n      Lookup Details\\n      <IcTooltipIcon @content=\\\"Lookup campaigns, messages, companies, articles, conversations, bots and end users.\\\" />\\n    </label>\\n    <input\\n      class=\\\"f__text\\\"\\n      placeholder={{conversationPlaceholder}}\\n      value={{lookupValue}}\\n      oninput={{action (mut lookupValue) value=\\\"target.value\\\"}}\\n      data-test-support-component-url-input\\n    />\\n  </div>\\n  <div class=\\\"u__cf\\\">\\n    <IcButton\\n      @label=\\\"Lookup\\\"\\n      @onClick={{action \\\"triggerLookupCSLink\\\"}}\\n      @type=\\\"secondary\\\"\\n      data-test-support-component-lookup={{true}}\\n    />\\n    {{#if isInbox}}\\n      <IcDropdownOpener @label=\\\"Actions\\\" @groupList={{additionalOptions}} />\\n      <div\\n        id=\\\"ghIssueButton\\\"\\n        class=\\\"u__hidden\\\"\\n        data-test-cs-github-issue-action\\n      ></div>\\n    {{/if}}\\n  </div>\\n  {{#if statusMessage}}\\n    <div class=\\\"h-2\\\"></div>\\n    <IcBanner @type={{statusType}} @text={{statusMessage}} />\\n  {{/if}}\\n  {{#if isInAnyCompany}}\\n    <hr />\\n    <label class=\\\"f__group-label t__label u__mr__10\\\">\\n      Internal Tools\\n      <IcTooltipIcon @content=\\\"Open a new window to view the selected company's workspace or billing page.\\\" />\\n    </label>\\n    <IcSelect\\n      @items={{listOfCompaniesForDropdown}}\\n      @isDisabled={{onlyInOneCompany}}\\n      @onSelectItem={{action \\\"changeSelectedCompany\\\"}}\\n      data-test-support-component-select-company={{true}}\\n    />\\n    <div class=\\\"h-2\\\"></div>\\n    <div class=\\\"u__cf\\\">\\n      <IcButton\\n        @label=\\\"Workspace\\\"\\n        @onClick={{action \\\"openWorkspaceAdminPage\\\"}}\\n        @type=\\\"primary\\\"\\n        data-test-support-component-workspace-page={{true}}\\n      />\\n      <IcButton\\n        @label=\\\"Billing\\\"\\n        @onClick={{action \\\"openWorkspaceBillingPage\\\"}}\\n        @type=\\\"secondary\\\"\\n        data-test-support-component-billing-page={{true}}\\n      />\\n    </div>\\n    {{#if csTagsToDisplay}}\\n      <hr />\\n      <label class=\\\"f__group-label t__label u__mr__10\\\">\\n        Workspace Details\\n        <IcTooltipIcon @content=\\\"View any internal specific details like Early Stage status!\\\" />\\n      </label>\\n      {{#each csTagsToDisplay as |tag|}}\\n        <div class=\\\"h-2\\\"></div>\\n        <div\\n          class=\\\"u__centered-text-block profile-sidebar-cs-banner o__green\\\"\\n          data-test-es-cs-tag-banner\\n        >\\n          <b class=\\\"text-white\\\">\\n            {{tag.name}}\\n          </b>\\n        </div>\\n      {{/each}}\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__3dfix\\\">\\n  <div class=\\\"h-2\\\"></div>\\n  <div class=\\\"f__group\\\">\\n    <label class=\\\"f__group-label t__label u__mr__10\\\">\\n      Lookup Details\\n      <IcTooltipIcon @content=\\\"Lookup campaigns, messages, companies, articles, conversations, bots and end users.\\\" />\\n    </label>\\n    <input\\n      class=\\\"f__text\\\"\\n      placeholder={{conversationPlaceholder}}\\n      value={{lookupValue}}\\n      oninput={{action (mut lookupValue) value=\\\"target.value\\\"}}\\n      data-test-support-component-url-input\\n    />\\n  </div>\\n  <div class=\\\"u__cf\\\">\\n    <IcButton\\n      @label=\\\"Lookup\\\"\\n      @onClick={{action \\\"triggerLookupCSLink\\\"}}\\n      @type=\\\"secondary\\\"\\n      data-test-support-component-lookup={{true}}\\n    />\\n    {{#if isInbox}}\\n      <IcDropdownOpener @label=\\\"Actions\\\" @groupList={{additionalOptions}} />\\n      <div\\n        id=\\\"ghIssueButton\\\"\\n        class=\\\"u__hidden\\\"\\n        data-test-cs-github-issue-action\\n      ></div>\\n    {{/if}}\\n  </div>\\n  {{#if statusMessage}}\\n    <div class=\\\"h-2\\\"></div>\\n    <IcBanner @type={{statusType}} @text={{statusMessage}} />\\n  {{/if}}\\n  {{#if isInAnyCompany}}\\n    <hr />\\n    <label class=\\\"f__group-label t__label u__mr__10\\\">\\n      Internal Tools\\n      <IcTooltipIcon @content=\\\"Open a new window to view the selected company's workspace or billing page.\\\" />\\n    </label>\\n    <IcSelect\\n      @items={{listOfCompaniesForDropdown}}\\n      @isDisabled={{onlyInOneCompany}}\\n      @onSelectItem={{action \\\"changeSelectedCompany\\\"}}\\n      data-test-support-component-select-company={{true}}\\n    />\\n    <div class=\\\"h-2\\\"></div>\\n    <div class=\\\"u__cf\\\">\\n      <IcButton\\n        @label=\\\"Workspace\\\"\\n        @onClick={{action \\\"openWorkspaceAdminPage\\\"}}\\n        @type=\\\"primary\\\"\\n        data-test-support-component-workspace-page={{true}}\\n      />\\n      <IcButton\\n        @label=\\\"Billing\\\"\\n        @onClick={{action \\\"openWorkspaceBillingPage\\\"}}\\n        @type=\\\"secondary\\\"\\n        data-test-support-component-billing-page={{true}}\\n      />\\n    </div>\\n    {{#if csTagsToDisplay}}\\n      <hr />\\n      <label class=\\\"f__group-label t__label u__mr__10\\\">\\n        Workspace Details\\n        <IcTooltipIcon @content=\\\"View any internal specific details like Early Stage status!\\\" />\\n      </label>\\n      {{#each csTagsToDisplay as |tag|}}\\n        <div class=\\\"h-2\\\"></div>\\n        <div\\n          class=\\\"u__centered-text-block profile-sidebar-cs-banner o__green\\\"\\n          data-test-es-cs-tag-banner\\n        >\\n          <b class=\\\"text-white\\\">\\n            {{tag.name}}\\n          </b>\\n        </div>\\n      {{/each}}\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/user-profile-customer-support-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/user-profile-customer-support-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { getOwner } from '@ember/application';\nimport $ from 'jquery';\nimport { computed } from '@ember/object';\nimport { lt, reads } from '@ember/object/computed';\nimport { findByProperty, ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport Component from '@ember/component';\nimport Clipboard from 'clipboard';\nimport safeWindowOpen from 'embercom/lib/safe-window-open';\nimport { task, timeout } from 'ember-concurrency';\nimport DidChangeAttrs from 'ember-did-change-attrs';\nimport { TEAMMATE_APP_URL } from 'embercom/lib/teammate-app';\n\nconst URL_REGEXES = {\n  answerBot: /resolution-bot\\/.+\\d+.*?(?=\\/|\\/*|)/gi,\n  customBot: /custom-bots\\/.*\\d{3}.+?(?=\\/*)/gi,\n  edit: /edit.*/gi,\n};\n\nconst ADMIN_URLS = {\n  baseURL: 'https://intercomrades.intercom.com/admin',\n  apps: '/apps/',\n  answerBot: '/answers/',\n  articles: '/articles/',\n  campaigns: '/campaigns/',\n  companies: '/companies?app_company_url=',\n  conversations: '/conversations?conversation_id=',\n  messages: '/messages/',\n  users: '/users?app_user_url=',\n};\n\nconst BILLING_URLS = {\n  baseURL: 'https://intercomrades.intercom.com/billing',\n  customers: '/customers/',\n};\n\nconst URL_IDENTIFIERS = {\n  answerBot: '/resolution-bot/',\n  articles: '/articles/',\n  campaigns: '/campaigns/',\n  companies: '/companies/',\n  conversations: '/conversations?/',\n  customBot: '/custom-bots/',\n  messages: '/messages/',\n  users: '/users/',\n};\n\nconst DOM_SELECTORS = {\n  clipboardContent: 'ghIssueButton',\n};\n\nconst CS_TAGS_FOR_ALERTS = [\n  'Graduation from Early Stage - September 2018',\n  'Graduation from Early Stage - November 2018',\n  'Graduation from Early Stage',\n];\n\nexport default Component.extend(DidChangeAttrs, {\n  isInbox: computed(function() {\n    let currentPath = getOwner(this).lookup('controller:application').currentPath;\n    if (currentPath === undefined) {\n      return false;\n    }\n    return currentPath.includes('.inbox');\n  }),\n  listOfCompanies: computed('user.{companies,computedURL,user_id}', function() {\n    let _list = this.get('user.companies').map(company => {\n      return {\n        id: company.get('id'),\n        appId: company.get('remote_company_id'),\n        appIdCode: company.get('custom_data.id_code'),\n        appPage: company.get('custom_data.admin_link') || null,\n        billingPage: company.get('custom_data.pricing_link') || null,\n        name: company.get('name'),\n        tags: company.get('tags'),\n      };\n    });\n    return _list;\n  }),\n  listOfCompaniesForDropdown: computed('listOfCompanies', function() {\n    let _list = this.listOfCompanies.map(company => {\n      return {\n        value: company.id,\n        text: company.name,\n        icon: 'company',\n        tooltip: {\n          text: `App ID Code: ${company.appIdCode}`,\n        },\n        isSelected: company.id === this.selectedCompanyId,\n      };\n    });\n    return _list;\n  }),\n  isInAnyCompany: ternary('user.mostRecentCompany', true, false),\n  onlyInOneCompany: lt('listOfCompanies.length', 2),\n  selectedCompanyId: reads('user.mostRecentCompany.id'),\n  selectedCompany: findByProperty('listOfCompanies', 'id', 'selectedCompanyId'),\n  conversationPlaceholder: `${TEAMMATE_APP_URL}/xxx/conversations/123`,\n\n  csTagsToDisplay: computed('selectedCompany.tags', function() {\n    return this.get('selectedCompany.tags').filter(tag => {\n      return CS_TAGS_FOR_ALERTS.includes(tag.get('name'));\n    });\n  }),\n\n  passTemplates: {\n    perfectPass:\n      '@CS =============\\nSIGNAL:\\nTRIGGER:\\nQUOTE:\\nADDITIONAL NOTES FOR SALES:\\nTAG MANAGER FOR VISIBILITY:\\n\\n@SALES TEAMMATE =============\\nThis is being passed to you because CS has identified there might be a sales opportunity per the above information.  If you agree there’s a sales opportunity here, please take over this conversation.  If you disagree, please pass back to me ASAP so the customer isn’t caught in limbo.  Thanks so much! __#OneTeamOneDream__\\n\\nNOTE TO SALES:  If you do not respond back directly to the customer in THIS specific conversation, please DO NOT CLOSE the conversation - instead, pass the convo back to me as this affects my KPI’s!  Much appreciated!',\n    salesToCS:\n      '@Sales =============\\nWhat is the email address of the customer?\\n\\nWhat is the customer asking for?\\n\\nDo you want this passed back after CS is done with the technical part?\\n\\nNOTE =============\\nMake sure you have set expectations with the customer that this is a pass to another department and that they might experience longer response times.',\n  },\n\n  githubIssueText: computed('user.{mostRecentCompany,computedURL,user_id}', function() {\n    let currentUser = this.user;\n    let recentCompany = currentUser.get('mostRecentCompany');\n    let textToReturn;\n\n    if (recentCompany !== undefined) {\n      // Copy issue for User\n      textToReturn = `**APP ID**: ${recentCompany.get('remote_company_id')} / ${recentCompany.get(\n        'custom_data.id_code',\n      )}\n                      **Admin ID (who reported issue)**: ${currentUser.get('user_id')}\n                      **Can Impersonate?**: ${currentUser.get('consents_to_impersonation')}\n                      **Conversation with Customer**: ${document.location.href}`.replace(\n        /^ +/gm,\n        '',\n      );\n    } else {\n      // Copy issue for Lead\n      textToReturn = `**APP ID**: REPLACEME\n                      **Lead (Who reported the issue)**: ${\n                        document.location.origin\n                      }/${currentUser.get('computedUrl')}\n                      **Can Impersonate?**: No\n                      **Conversation with Customer**: ${document.location.href}`.replace(\n        /^ +/gm,\n        '',\n      );\n    }\n\n    return textToReturn;\n  }),\n\n  init() {\n    this._super();\n    this.set('additionalOptions', [\n      {\n        items: [\n          {\n            text: 'Copy GitHub Template',\n            icon: 'github',\n            tooltip: {\n              text: 'Copy all conversation details into a template for a GitHub issue.',\n            },\n            onSelectItem: () => this._triggerCopyToClipboard(),\n          },\n          {\n            text: 'Copy Perfect Pass Template',\n            icon: 'arrow',\n            tooltip: {\n              text: 'Copy #PerfectPass template for easy pasting into your passing note!',\n            },\n            onSelectItem: () => this._triggerCopyToClipboard(`passTemplates.perfectPass`),\n          },\n          {\n            text: 'Copy Pass-to-CS Template',\n            icon: 'respond',\n            tooltip: {\n              text: 'Copy this Sales-To-CS template for easy pasting into your passing note!',\n            },\n            onSelectItem: () => this._triggerCopyToClipboard(`passTemplates.salesToCS`),\n          },\n        ],\n      },\n    ]);\n  },\n\n  didChangeAttrsConfig: {\n    attrs: ['user.companies', 'user.computedUrl', 'user.user_id', 'selectedCompanyId'],\n  },\n\n  didChangeAttrs(changes) {\n    this._super(...arguments);\n\n    if (changes['user.companies'] || changes['user.computedUrl'] || changes['user.user_id']) {\n      this._updateClipboardForGithubButton();\n    }\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    if (this.isInbox) {\n      this._updateClipboardForGithubButton();\n      this.clipboard = new Clipboard(`#${DOM_SELECTORS.clipboardContent}`);\n\n      this.clipboard.on('success', () => {\n        this.displayStatusMessage.perform('Copied to clipboard.', 'help');\n      });\n      // For browsers that don't support the clipboard API ( < Safari 10 )\n      this.clipboard.on('error', () => {\n        this.displayStatusMessage.perform('Unable to copy to clipboard.', 'error');\n      });\n    }\n  },\n\n  willDestroyElement() {\n    if (this.isInbox) {\n      this.clipboard.destroy();\n    }\n    this._super(...arguments);\n  },\n\n  displayStatusMessage: task(function*(message, type) {\n    this.set('statusMessage', message);\n    this.set('statusType', type);\n    yield timeout(2000);\n    this.set('statusMessage', null);\n  }).restartable(),\n\n  _updateClipboardForGithubButton() {\n    let $ghIssueButtonObj = $(`#${DOM_SELECTORS.clipboardContent}`, this.element);\n    $ghIssueButtonObj.attr('data-clipboard-text', this.githubIssueText);\n  },\n\n  _triggerCopyToClipboard(contentToCopy) {\n    let $ghIssueButtonObj = $(`#${DOM_SELECTORS.clipboardContent}`, this.element);\n    if (contentToCopy) {\n      $ghIssueButtonObj.attr('data-clipboard-text', this.get(`${contentToCopy}`));\n    } else {\n      this._updateClipboardForGithubButton();\n    }\n    $ghIssueButtonObj.click();\n  },\n\n  _returnNumericValue(str) {\n    return str.replace(/\\D/gi, ''); // Remove all non-numerical characters from string\n  },\n\n  _removeVersionNumber(str) {\n    // Remove version numbers in the url path \"/vX/\" => \"/\" where X is a number\n    return str.replace(/\\/v\\d+\\//gi, '/');\n  },\n\n  _removeAppID(str) {\n    let editIndex = str.indexOf('apps');\n    if (editIndex > 0) {\n      return str.replace(/apps\\/.*?\\//gi, '');\n    }\n  },\n\n  _answerBotRegexCheck(str) {\n    let output = this._removeAppID(str);\n    output = output.match(URL_REGEXES.answerBot); // Strip URL to after \"/resolution-bot\" if it exists.\n\n    if (output === null) {\n      return 'Error';\n    }\n\n    output = output[0]; // Quickly just grab the first element since we know it will always be this one.\n\n    let editIndex = output.indexOf('edit');\n    if (editIndex >= 0) {\n      output = output.replace(URL_REGEXES.edit, ''); // Remove \"/edit?editing_admin_id=xxx\" at the end of a URL.\n    }\n\n    output = this._removeVersionNumber(output);\n    output = this._returnNumericValue(output);\n    return output;\n  },\n\n  _campaignRegexCheck(str) {\n    let output = this._removeAppID(str);\n    let editIndex = output.indexOf('campaigns');\n\n    if (editIndex > 0) {\n      // Strip URL to after \"/campaigns\" if it exists.\n      if (output.match(/campaigns\\/.*\\d{3}.+?(?=\\/*)/gi)) {\n        output = output.match(/campaigns\\/.*\\d{3}.+?(?=\\/*)/gi);\n\n        if (output === null) {\n          output = 'Error';\n          return output;\n        }\n\n        output = output[0]; // Quickly just grab the first element since we know it will always be this one.\n      }\n      if (output.match('\\\\?')) {\n        output = output.replace(/\\?.*/gi, ''); // Remove \"/edit?editing_admin_id=xxx\" at the end of a URL.\n      }\n    }\n\n    output = this._returnNumericValue(output);\n    return output;\n  },\n\n  _messagesRegexCheck(str) {\n    let output = this._removeAppID(str);\n    output = output.match(/messages\\/.*\\d{3}.+?(?=\\/*)/gi); // Strip URL to after \"/messages\" if it exists.\n\n    if (output === null) {\n      output = 'Error';\n      return output;\n    }\n\n    output = output[0]; // Quickly just grab the first element since we know it will always be this one.\n\n    let editIndex = output.indexOf('edit');\n    if (editIndex > 0) {\n      output = output.replace(/edit.*/gi, ''); // Remove \"/edit?editing_admin_id=xxx\" at the end of a URL.\n    }\n\n    output = this._removeVersionNumber(output);\n    output = this._returnNumericValue(output);\n    return output;\n  },\n\n  _customBotRegexCheck(str) {\n    let output = this._removeAppID(str);\n    output = output.match(URL_REGEXES.customBot); // Strip URL to after \"/custom-bots\" if it exists.\n\n    if (output === null) {\n      return 'Error';\n    }\n\n    output = output[0]; // Quickly just grab the first element since we know it will always be this one.\n\n    let editIndex = output.indexOf('edit');\n    if (editIndex >= 0) {\n      output = output.replace(URL_REGEXES.edit, ''); // Remove \"/edit?editing_admin_id=xxx\" at the end of a URL.\n    }\n\n    output = this._removeVersionNumber(output);\n    output = this._returnNumericValue(output);\n    return output;\n  },\n\n  _conversationsRegexCheck(str) {\n    let output = this._removeAppID(str);\n\n    let editIndex = output.indexOf('all-conversations');\n    if (editIndex > 0) {\n      output = 'Error';\n      return output;\n    }\n\n    output = output.match(/(?:conversation|conversations)\\/(\\d+?)(?=\\#part\\_id|\\/|\\b)/gi); //matches for conversation/45897239457#part_id=comment-239845-138904 and other variations of our links\n    if (output === null) {\n      output = 'Error';\n      return output;\n    }\n\n    output = output[0]; //1: Grab the first element to pull\n    output = this._removeVersionNumber(output); //Maintain backwards compatibility of URL schemes - version numbers were contained in conversation URL before.\n    output = this._returnNumericValue(output); //Strip non-numeric parts of item 0 in array - item string should be something like => \"conversation/389837538\"\n    return output;\n  },\n\n  _articlesRegexCheck(str) {\n    let output = this._removeAppID(str);\n\n    let editIndex = output.indexOf('edit');\n    if (editIndex > 0) {\n      output = output.replace(/edit.*/gi, ''); // Remove \"/edit?editing_admin_id=xxx\" at the end of a URL.\n    }\n\n    output = output.match(/articles?\\/(.*)/gi); // Strip URL to after \"/messages\" if it exists.\n\n    if (output === null) {\n      output = 'Error';\n      return output;\n    }\n\n    output = output[0]; // Quickly just grab the first element since we know it will always be this one.\n    output = this._removeVersionNumber(output);\n    output = this._returnNumericValue(output);\n    return output;\n  },\n\n  lookupCSLink() {\n    let lookupLink = this.lookupValue;\n    let outputID;\n    let outputURL;\n\n    if (lookupLink === undefined) {\n      this.displayStatusMessage.perform('Hmm, no text was entered into the input box.', 'error');\n      return;\n    }\n\n    if (lookupLink.match('/intercomrades.*/admin/')) {\n      this._openNewWindowToAdminPage(lookupLink);\n      return;\n    } else if (lookupLink.match(URL_IDENTIFIERS.answerBot)) {\n      outputID = this._answerBotRegexCheck(lookupLink);\n      outputURL = ADMIN_URLS.answerBot;\n    } else if (lookupLink.match(URL_IDENTIFIERS.campaigns)) {\n      outputID = this._campaignRegexCheck(lookupLink);\n      outputURL = ADMIN_URLS.campaigns;\n    } else if (lookupLink.match(URL_IDENTIFIERS.messages)) {\n      outputID = this._messagesRegexCheck(lookupLink);\n      outputURL = ADMIN_URLS.messages;\n    } else if (lookupLink.match(URL_IDENTIFIERS.customBot)) {\n      outputID = this._customBotRegexCheck(lookupLink);\n      outputURL = ADMIN_URLS.messages;\n    } else if (lookupLink.match(URL_IDENTIFIERS.companies)) {\n      outputID = lookupLink;\n      outputURL = ADMIN_URLS.companies;\n    } else if (lookupLink.match(URL_IDENTIFIERS.articles)) {\n      outputID = this._articlesRegexCheck(lookupLink);\n      outputURL = ADMIN_URLS.articles;\n    } else if (lookupLink.match(URL_IDENTIFIERS.users)) {\n      outputID = lookupLink;\n      outputURL = ADMIN_URLS.users;\n    } else if (lookupLink.match(URL_IDENTIFIERS.conversations)) {\n      outputID = this._conversationsRegexCheck(lookupLink);\n      outputURL = ADMIN_URLS.conversations;\n    } else {\n      this.displayStatusMessage.perform(\"I don't understand that URL.\", 'error');\n      return;\n    }\n\n    if (outputID !== 'Error') {\n      this._openNewWindowToAdminPage(`${ADMIN_URLS.baseURL}${outputURL}${outputID}`);\n    } else {\n      this.displayStatusMessage.perform(\"That URL doesn't compute.\", 'error');\n      return;\n    }\n  },\n\n  _openNewWindowToAdminPage(url = null) {\n    if (url === null) {\n      return;\n    }\n    safeWindowOpen(url);\n  },\n\n  _changeSelectedCompany(companyId) {\n    this.set('selectedCompanyId', companyId);\n  },\n\n  actions: {\n    triggerLookupCSLink() {\n      this.lookupCSLink();\n    },\n    changeSelectedCompany(companyId) {\n      this._changeSelectedCompany(companyId);\n    },\n    openWorkspaceAdminPage() {\n      let _url = this.get('selectedCompany.appPage');\n      if (_url === null) {\n        _url = `${ADMIN_URLS.baseURL}${ADMIN_URLS.apps}${this.selectedCompanyId}`;\n      }\n      this._openNewWindowToAdminPage(_url);\n    },\n    openWorkspaceBillingPage() {\n      let _url = this.get('selectedCompany.billingPage');\n      if (_url === null) {\n        _url = `${BILLING_URLS.baseURL}${BILLING_URLS.customers}${this.selectedCompanyId}`;\n      }\n      this._openNewWindowToAdminPage(_url);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__relative mb-2\\\">\\n  {{#if (eq isHidden)}}\\n    <span class=\\\"nav-vertical__filter__input__icon\\\">\\n      {{ic-interface-icon \\\"search\\\"}}\\n    </span>\\n  {{/if}}\\n  {{#if objectFilter}}\\n    <a class=\\\"nav-vertical__filter__clear-text__icon\\\" {{action (mut objectFilter) \\\"\\\"}}>\\n      {{ic-interface-icon \\\"small-close\\\"}}\\n    </a>\\n  {{/if}}\\n  {{#if (eq isHidden)}}\\n    <Input\\n      @autocomplete=\\\"off\\\"\\n      class=\\\"f__text nav-vertical__filter__text__input mt-2 u__padl__30\\\"\\n      placeholder=\\\"Search details…\\\"\\n      @value={{objectFilter}}\\n    />\\n  {{/if}}\\n</div>\\n{{#each objectsToDisplay as |item|}}\\n  {{#if @editVisibilityMode}}\\n    <Users::Profile::AttributeVisibilityComponent\\n      @attribute={{item.attribute}}\\n      @attributeVisibleNow={{attributesVisible}}\\n      @inEventList={{false}}\\n    />\\n  {{else if (eq item.identifier \\\"owner_id\\\")}}\\n    <div class=\\\"profile-sidebar-section__owner-component-details\\\">\\n      <Users::Profile::OwnerComponent\\n        @person={{userOrCompany}}\\n        @isInDetails={{true}}\\n      />\\n    </div>\\n  {{else if (contains item.identifier (w \\\"phone\\\" \\\"email\\\"))}}\\n    <People::Attributes::EditableAttribute\\n      @app={{app}}\\n      @person={{userOrCompany}}\\n      @attribute={{item.attribute}}\\n      @disabled={{and\\n        userOrCompany.isUserRole\\n        (not-eq item.attribute.identifier \\\"phone\\\")\\n      }}\\n    />\\n  {{else}}\\n    <Users::Profile::AttributeComponent\\n      @onCompany={{onCompany}}\\n      @attribute={{item.attribute}}\\n      @userOrCompany={{userOrCompany}}\\n      @app={{app}}\\n      @inInbox={{true}}\\n    />\\n  {{/if}}\\n{{/each}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__relative mb-2\\\">\\n  {{#if (eq isHidden)}}\\n    <span class=\\\"nav-vertical__filter__input__icon\\\">\\n      {{ic-interface-icon \\\"search\\\"}}\\n    </span>\\n  {{/if}}\\n  {{#if objectFilter}}\\n    <a class=\\\"nav-vertical__filter__clear-text__icon\\\" {{action (mut objectFilter) \\\"\\\"}}>\\n      {{ic-interface-icon \\\"small-close\\\"}}\\n    </a>\\n  {{/if}}\\n  {{#if (eq isHidden)}}\\n    <Input\\n      @autocomplete=\\\"off\\\"\\n      class=\\\"f__text nav-vertical__filter__text__input mt-2 u__padl__30\\\"\\n      placeholder=\\\"Search details…\\\"\\n      @value={{objectFilter}}\\n    />\\n  {{/if}}\\n</div>\\n{{#each objectsToDisplay as |item|}}\\n  {{#if @editVisibilityMode}}\\n    <Users::Profile::AttributeVisibilityComponent\\n      @attribute={{item.attribute}}\\n      @attributeVisibleNow={{attributesVisible}}\\n      @inEventList={{false}}\\n    />\\n  {{else if (eq item.identifier \\\"owner_id\\\")}}\\n    <div class=\\\"profile-sidebar-section__owner-component-details\\\">\\n      <Users::Profile::OwnerComponent\\n        @person={{userOrCompany}}\\n        @isInDetails={{true}}\\n      />\\n    </div>\\n  {{else if (contains item.identifier (w \\\"phone\\\" \\\"email\\\"))}}\\n    <People::Attributes::EditableAttribute\\n      @app={{app}}\\n      @person={{userOrCompany}}\\n      @attribute={{item.attribute}}\\n      @disabled={{and\\n        userOrCompany.isUserRole\\n        (not-eq item.attribute.identifier \\\"phone\\\")\\n      }}\\n    />\\n  {{else}}\\n    <Users::Profile::AttributeComponent\\n      @onCompany={{onCompany}}\\n      @attribute={{item.attribute}}\\n      @userOrCompany={{userOrCompany}}\\n      @app={{app}}\\n      @inInbox={{true}}\\n    />\\n  {{/if}}\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/inbox/user-profile/attribute-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/user-profile/attribute-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport RunMixin from 'ember-lifeline/mixins/run';\nimport FilteredObjectList from 'embercom/components/filtered-object-list';\n\nconst ATTRIBUTE_HEIGHT = 30;\n\nexport default FilteredObjectList.extend(RunMixin, {\n  objectHeight: ATTRIBUTE_HEIGHT,\n  objectFilterKey: 'attribute.name',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__relative\\\">\\n  {{#if (eq isHidden)}}\\n    <span class=\\\"nav-vertical__filter__input__icon\\\">\\n      {{ic-interface-icon \\\"search\\\"}}\\n    </span>\\n  {{/if}}\\n  {{#if objectFilter}}\\n    <a\\n      class=\\\"nav-vertical__filter__clear-text__icon\\\"\\n      {{action (mut objectFilter) \\\"\\\"}}\\n    >\\n      {{ic-interface-icon \\\"small-close\\\"}}\\n    </a>\\n  {{/if}}\\n  {{#if (eq isHidden)}}\\n    <Input\\n      @autocomplete=\\\"off\\\"\\n      class=\\\"f__text nav-vertical__filter__text__input u__mt__10 u__padl__30\\\"\\n      placeholder=\\\"Search events…\\\"\\n      @value={{objectFilter}}\\n      data-test-event-summary-list-search={{true}}\\n    />\\n  {{/if}}\\n</div>\\n<div class=\\\"u__mt__10 event-summary-list__scroll-container\\\">\\n  <VerticalCollection\\n    @items={{objectsToDisplay}}\\n    @estimateHeight={{30}}\\n    @bufferSize={{20}}\\n    @staticHeight={{false}}\\n    @containerSelector={{if\\n      @scrollContainerSelector\\n      @scrollContainerSelector\\n      \\\"*\\\"\\n    }} as |item|\\n  >\\n    {{!--The following empty div is necessary to avoid issues with removing cached DOM nodes --}}\\n    <div>\\n      {{#if @editVisibilityMode}}\\n        <Users::Profile::AttributeVisibilityComponent\\n          @attribute={{item.attribute}}\\n          @attributeVisibleNow={{attributesVisible}}\\n          @inEventList={{true}}\\n        />\\n      {{else}}\\n        <span class=\\\"kv__value\\\" data-test-data-key>\\n          <UserEventSummaryComponent\\n            @summary={{item}}\\n            @user={{@userOrCompany}}\\n          />\\n        </span>\\n      {{/if}}\\n    </div>\\n  </VerticalCollection>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__relative\\\">\\n  {{#if (eq isHidden)}}\\n    <span class=\\\"nav-vertical__filter__input__icon\\\">\\n      {{ic-interface-icon \\\"search\\\"}}\\n    </span>\\n  {{/if}}\\n  {{#if objectFilter}}\\n    <a\\n      class=\\\"nav-vertical__filter__clear-text__icon\\\"\\n      {{action (mut objectFilter) \\\"\\\"}}\\n    >\\n      {{ic-interface-icon \\\"small-close\\\"}}\\n    </a>\\n  {{/if}}\\n  {{#if (eq isHidden)}}\\n    <Input\\n      @autocomplete=\\\"off\\\"\\n      class=\\\"f__text nav-vertical__filter__text__input u__mt__10 u__padl__30\\\"\\n      placeholder=\\\"Search events…\\\"\\n      @value={{objectFilter}}\\n      data-test-event-summary-list-search={{true}}\\n    />\\n  {{/if}}\\n</div>\\n<div class=\\\"u__mt__10 event-summary-list__scroll-container\\\">\\n  <VerticalCollection\\n    @items={{objectsToDisplay}}\\n    @estimateHeight={{30}}\\n    @bufferSize={{20}}\\n    @staticHeight={{false}}\\n    @containerSelector={{if\\n      @scrollContainerSelector\\n      @scrollContainerSelector\\n      \\\"*\\\"\\n    }} as |item|\\n  >\\n    {{!--The following empty div is necessary to avoid issues with removing cached DOM nodes --}}\\n    <div>\\n      {{#if @editVisibilityMode}}\\n        <Users::Profile::AttributeVisibilityComponent\\n          @attribute={{item.attribute}}\\n          @attributeVisibleNow={{attributesVisible}}\\n          @inEventList={{true}}\\n        />\\n      {{else}}\\n        <span class=\\\"kv__value\\\" data-test-data-key>\\n          <UserEventSummaryComponent\\n            @summary={{item}}\\n            @user={{@userOrCompany}}\\n          />\\n        </span>\\n      {{/if}}\\n    </div>\\n  </VerticalCollection>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/user-profile/event-summary-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/user-profile/event-summary-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport AttributeList from 'embercom/components/inbox/user-profile/attribute-list';\n\nexport default AttributeList.extend({\n  objectFilterKey: 'humanFriendlyName',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"js__inbox-hovercard p-4 submenu__hovercard\\\"\\n  data-test-vertical-nav-inbox-hovercard\\n>\\n  <div class=\\\"flex items-start mb-2\\\">\\n    <div class=\\\"flex-auto min-w-0\\\">\\n      {{#if @inbox.isTeamInbox}}\\n        <a\\n          href=\\\"{{href-to \\\"apps.app.settings.teams\\\"}}#{{@inbox.id}}\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n        >\\n          <Text @linkStyling=\\\"subtle\\\" @styling='strong' class=\\\"mb-2\\\">\\n            {{@inbox.name}}\\n          </Text>\\n        </a>\\n      {{else}}\\n        <Paragraph @styling='strong' class=\\\"mb-2\\\">\\n          {{@inbox.name}}\\n        </Paragraph>\\n      {{/if}}\\n\\n      {{#if @inbox.isTeamInbox}}\\n        {{#if @isBlocking}}\\n          <Paragraph @styling='small' class=\\\"mb-1\\\">\\n            {{ic-stamp \\\"Blocking\\\" \\\"mr-1\\\"}}\\n            <span>\\n              new conversations\\n            </span>\\n          </Paragraph>\\n        {{/if}}\\n\\n        <Paragraph @styling='small'>\\n          {{ic-interface-icon \\\"multiple-people\\\"}}\\n          {{this.membersInboxes.length}} {{inflector-helper \\\"member\\\" this.membersInboxes.length}}\\n\\n          {{#if (eq this.distributionMethod 'round_robin')}}\\n            &middot; Round robin\\n          {{/if}}\\n          {{#if (eq this.distributionMethod 'load_balanced')}}\\n            &middot; Balanced\\n          {{/if}}\\n        </Paragraph>\\n      {{/if}}\\n    </div>\\n  </div>\\n  <div>\\n    {{#if (and @inbox.isInboxView @inboxView)}}\\n      <div class=\\\"submenu__hovercard__inbox-view-predicates\\\">\\n        <MatchingSystem::AudienceSelector::Summary::PredicateGroupSummary\\n          @ruleMode={{@inboxView.predicateGroup.logicalMode}}\\n          @predicates={{@inboxView.predicateGroup.predicates}}\\n          data-test-inbox-view-list-predicate\\n        />\\n      </div>\\n    {{else}}\\n      <VerticalCollection\\n        @items={{this.sortedMembersInboxes}}\\n        @estimateHeight={{30}}\\n        @initialRenderCount={{8}}\\n        @staticHeight={{true}}\\n        @containerSelector=\\\".js__inbox-hovercard\\\"\\n        as |inbox|\\n      >\\n        <span {{on 'click' (queue\\n          (if @selectTeamMemberInbox (fn @selectTeamMemberInbox inbox.id) noop)\\n          @hidePopover\\n        )}}>\\n          <Inbox::NavLinkComponent\\n            @currentAdmin={{this.currentAdmin}}\\n            @activeInbox={{@activeInbox}}\\n            @hideZeroCounters={{false}}\\n            @displayAdminBadge={{true}}\\n            @isBlocking={{and\\n              this.distributionLoadBalanced\\n              (gte inbox.determinantCount @capacity)\\n            }}\\n            @isMeInbox={{eq inbox.id this.currentAdmin.id}}\\n            @inbox={{inbox}}\\n            @inVerticalNav={{true}}\\n            @avatarSize=\\\"s\\\"\\n          />\\n        </span>\\n      </VerticalCollection>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"js__inbox-hovercard p-4 submenu__hovercard\\\"\\n  data-test-vertical-nav-inbox-hovercard\\n>\\n  <div class=\\\"flex items-start mb-2\\\">\\n    <div class=\\\"flex-auto min-w-0\\\">\\n      {{#if @inbox.isTeamInbox}}\\n        <a\\n          href=\\\"{{href-to \\\"apps.app.settings.teams\\\"}}#{{@inbox.id}}\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n        >\\n          <Text @linkStyling=\\\"subtle\\\" @styling='strong' class=\\\"mb-2\\\">\\n            {{@inbox.name}}\\n          </Text>\\n        </a>\\n      {{else}}\\n        <Paragraph @styling='strong' class=\\\"mb-2\\\">\\n          {{@inbox.name}}\\n        </Paragraph>\\n      {{/if}}\\n\\n      {{#if @inbox.isTeamInbox}}\\n        {{#if @isBlocking}}\\n          <Paragraph @styling='small' class=\\\"mb-1\\\">\\n            {{ic-stamp \\\"Blocking\\\" \\\"mr-1\\\"}}\\n            <span>\\n              new conversations\\n            </span>\\n          </Paragraph>\\n        {{/if}}\\n\\n        <Paragraph @styling='small'>\\n          {{ic-interface-icon \\\"multiple-people\\\"}}\\n          {{this.membersInboxes.length}} {{inflector-helper \\\"member\\\" this.membersInboxes.length}}\\n\\n          {{#if (eq this.distributionMethod 'round_robin')}}\\n            &middot; Round robin\\n          {{/if}}\\n          {{#if (eq this.distributionMethod 'load_balanced')}}\\n            &middot; Balanced\\n          {{/if}}\\n        </Paragraph>\\n      {{/if}}\\n    </div>\\n  </div>\\n  <div>\\n    {{#if (and @inbox.isInboxView @inboxView)}}\\n      <div class=\\\"submenu__hovercard__inbox-view-predicates\\\">\\n        <MatchingSystem::AudienceSelector::Summary::PredicateGroupSummary\\n          @ruleMode={{@inboxView.predicateGroup.logicalMode}}\\n          @predicates={{@inboxView.predicateGroup.predicates}}\\n          data-test-inbox-view-list-predicate\\n        />\\n      </div>\\n    {{else}}\\n      <VerticalCollection\\n        @items={{this.sortedMembersInboxes}}\\n        @estimateHeight={{30}}\\n        @initialRenderCount={{8}}\\n        @staticHeight={{true}}\\n        @containerSelector=\\\".js__inbox-hovercard\\\"\\n        as |inbox|\\n      >\\n        <span {{on 'click' (queue\\n          (if @selectTeamMemberInbox (fn @selectTeamMemberInbox inbox.id) noop)\\n          @hidePopover\\n        )}}>\\n          <Inbox::NavLinkComponent\\n            @currentAdmin={{this.currentAdmin}}\\n            @activeInbox={{@activeInbox}}\\n            @hideZeroCounters={{false}}\\n            @displayAdminBadge={{true}}\\n            @isBlocking={{and\\n              this.distributionLoadBalanced\\n              (gte inbox.determinantCount @capacity)\\n            }}\\n            @isMeInbox={{eq inbox.id this.currentAdmin.id}}\\n            @inbox={{inbox}}\\n            @inVerticalNav={{true}}\\n            @avatarSize=\\\"s\\\"\\n          />\\n        </span>\\n      </VerticalCollection>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/vertical-nav-inbox-hovercard-content.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/vertical-nav-inbox-hovercard-content.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { readOnly, sort } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  appService: service(),\n  store: service(),\n\n  tagName: '',\n  app: readOnly('appService.app'),\n  currentAdmin: readOnly('app.currentAdmin'),\n  teamMembersIds: readOnly('inbox.admin.member_ids'),\n  membersInboxes: computed('teamMembersIds.[]', function() {\n    return this.teamMembersIds.map(memberId => this.store.peekRecord('inbox', memberId)).compact();\n  }),\n  distributionMethod: readOnly('teamSettings.distributionMethod'),\n  sortKey: ['open_count:desc', 'name:asc'],\n  sortedMembersInboxes: sort('membersInboxes', 'sortKey'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n\\n<div\\n  data-test-vertical-nav-list\\n  class=\\\"{{unless @shouldAllowNavLinks 'nav__link__unavailable'}}\\\">\\n  {{#each this.inboxService.defaultInboxes as |inbox|}}\\n    <Inbox::NavLinkComponent\\n      @activeInbox={{activeInbox}}\\n      @inbox={{inbox}}\\n      @inVerticalNav={{true}}\\n      @selectTeamMemberInbox={{selectTeamMemberInbox}}\\n      @capacity={{capacity}}\\n      @onlineAdmins={{onlineAdmins}}\\n      @teamSettings={{if teamsSettings (get teamsSettings teamInbox.id)}}\\n      @isInboxVisible={{true}}\\n      @isManagingVisibility={{this.managingInboxVisibility}}\\n      @toggleVisibility={{action \\\"toggleInboxVisibility\\\" inbox false}}\\n      @updateView={{updateView}}\\n    />\\n  {{/each}}\\n\\n  <SortableGroup\\n    data-test-reorderable-inboxes\\n    @tagName=\\\"div\\\"\\n    @onChange={{action 'reorderItems'}} as |group|\\n  >\\n    {{#each this.inboxService.extraInboxes as |inbox|}}\\n      <group.item\\n        class=\\\"nav-vertical__draggable-item\\n               {{if this.managingInboxVisibility \\\"inbox__submenu__inbox-nav-vertical__draggable-item-managing-visibility\\\"}}\\n        \\\"\\n        @tagName=\\\"div\\\"\\n        @model={{inbox}}\\n        @group={{group}}\\n        @distance={{7}}\\n        @handle=\\\".js__inbox-drag-handle\\\">\\n        <Inbox::NavLinkComponent\\n          @activeInbox={{activeInbox}}\\n          @inbox={{inbox}}\\n          @inVerticalNav={{true}}\\n          @selectTeamMemberInbox={{selectTeamMemberInbox}}\\n          @capacity={{capacity}}\\n          @onlineAdmins={{onlineAdmins}}\\n          @teamSettings={{if teamsSettings (get teamsSettings teamInbox.id)}}\\n          @isInboxVisible={{true}}\\n          @isManagingVisibility={{this.managingInboxVisibility}}\\n          @toggleVisibility={{action \\\"toggleInboxVisibility\\\" inbox false}}\\n          @updateView={{updateView}}\\n        />\\n      </group.item>\\n    {{/each}}\\n  </SortableGroup>\\n  {{#if (or app.currentAdminHasInboxAccess (gt inboxesToDisplay.length 0))}}\\n    {{#if (and app.canUseInboxViews (not this.managingInboxVisibility))}}\\n      <div class=\\\"pl-2 pt-2 pb-2\\\">\\n        <a\\n          class=\\\"btn__tertiary__deemphasized\\\"\\n          data-test-add-view-button\\n          data-tour-add-view-button\\n          {{on \\\"click\\\" @createView}}\\n        >\\n          {{ic-interface-icon \\\"new\\\"}}<span class=\\\"pl-2\\\">Create view</span>\\n        </a>\\n      </div>\\n    {{/if}}\\n    <div class=\\\"mt-2 mr-1 mb-2 u__cf\\\">\\n      {{#if (and (gt inboxesToDisplay.length 0) (not this.managingInboxVisibility))}}\\n        <a\\n          data-test-nav-vertical__see-others\\n          class=\\\"btn__tertiary__deemphasized pl-2\\\"\\n          {{action \\\"toggleShowAllInboxes\\\"}}\\n        >\\n          {{#if showAllInboxes}}\\n            See less\\n          {{else}}\\n            See {{inboxesToDisplay.length}} more\\n          {{/if}}\\n        </a>\\n      {{/if}}\\n      {{#if app.currentAdminHasInboxAccess}}\\n        <a\\n          class=\\\"u__right pr-1 {{if app.canUseInboxViews \\\"btn__tertiary__deemphasized\\\" \\\"nav-vertical__settings-icon\\\"}}\\\"\\n          data-test-nav-vertical__manage-visibility\\n          href={{if (has-feature \\\"canUseInboxInlineVisibilityManagement\\\") null (href-to \\\"apps.app.account.visibility.inboxes\\\")}}\\n          {{on \\\"click\\\" (if (has-feature \\\"canUseInboxInlineVisibilityManagement\\\") (action \\\"toggleInboxVisibilityManagement\\\") (noop))}}\\n        >\\n          {{#if this.managingInboxVisibility}}\\n            Done\\n          {{else}}\\n            {{#if app.canUseInboxViews}}\\n              Edit\\n            {{else}}\\n              {{ic-interface-icon \\\"settings\\\" solo=true}}\\n            {{/if}}\\n          {{/if}}\\n        </a>\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n  <div class=\\\"js__nav-vertical__all-inboxes\\\">\\n    {{#if (and (gt inboxesToDisplay.length 0) (or showAllInboxes this.managingInboxVisibility))}}\\n      <Inbox::InboxList\\n        @objects={{inboxesToDisplay}}\\n        @scrollPosition={{scrollPosition}}\\n        @selectTeamMemberInbox={{selectTeamMemberInbox}}\\n        @capacity={{capacity}}\\n        @onlineAdmins={{onlineAdmins}}\\n        @teamsSettings={{teamsSettings}}\\n        @isInboxVisible={{false}}\\n        @isManagingVisibility={{this.managingInboxVisibility}}\\n        @toggleVisibility={{action \\\"toggleInboxVisibility\\\"}}\\n        @updateView={{updateView}}\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n\\n<div\\n  data-test-vertical-nav-list\\n  class=\\\"{{unless @shouldAllowNavLinks 'nav__link__unavailable'}}\\\">\\n  {{#each this.inboxService.defaultInboxes as |inbox|}}\\n    <Inbox::NavLinkComponent\\n      @activeInbox={{activeInbox}}\\n      @inbox={{inbox}}\\n      @inVerticalNav={{true}}\\n      @selectTeamMemberInbox={{selectTeamMemberInbox}}\\n      @capacity={{capacity}}\\n      @onlineAdmins={{onlineAdmins}}\\n      @teamSettings={{if teamsSettings (get teamsSettings teamInbox.id)}}\\n      @isInboxVisible={{true}}\\n      @isManagingVisibility={{this.managingInboxVisibility}}\\n      @toggleVisibility={{action \\\"toggleInboxVisibility\\\" inbox false}}\\n      @updateView={{updateView}}\\n    />\\n  {{/each}}\\n\\n  <SortableGroup\\n    data-test-reorderable-inboxes\\n    @tagName=\\\"div\\\"\\n    @onChange={{action 'reorderItems'}} as |group|\\n  >\\n    {{#each this.inboxService.extraInboxes as |inbox|}}\\n      <group.item\\n        class=\\\"nav-vertical__draggable-item\\n               {{if this.managingInboxVisibility \\\"inbox__submenu__inbox-nav-vertical__draggable-item-managing-visibility\\\"}}\\n        \\\"\\n        @tagName=\\\"div\\\"\\n        @model={{inbox}}\\n        @group={{group}}\\n        @distance={{7}}\\n        @handle=\\\".js__inbox-drag-handle\\\">\\n        <Inbox::NavLinkComponent\\n          @activeInbox={{activeInbox}}\\n          @inbox={{inbox}}\\n          @inVerticalNav={{true}}\\n          @selectTeamMemberInbox={{selectTeamMemberInbox}}\\n          @capacity={{capacity}}\\n          @onlineAdmins={{onlineAdmins}}\\n          @teamSettings={{if teamsSettings (get teamsSettings teamInbox.id)}}\\n          @isInboxVisible={{true}}\\n          @isManagingVisibility={{this.managingInboxVisibility}}\\n          @toggleVisibility={{action \\\"toggleInboxVisibility\\\" inbox false}}\\n          @updateView={{updateView}}\\n        />\\n      </group.item>\\n    {{/each}}\\n  </SortableGroup>\\n  {{#if (or app.currentAdminHasInboxAccess (gt inboxesToDisplay.length 0))}}\\n    {{#if (and app.canUseInboxViews (not this.managingInboxVisibility))}}\\n      <div class=\\\"pl-2 pt-2 pb-2\\\">\\n        <a\\n          class=\\\"btn__tertiary__deemphasized\\\"\\n          data-test-add-view-button\\n          data-tour-add-view-button\\n          {{on \\\"click\\\" @createView}}\\n        >\\n          {{ic-interface-icon \\\"new\\\"}}<span class=\\\"pl-2\\\">Create view</span>\\n        </a>\\n      </div>\\n    {{/if}}\\n    <div class=\\\"mt-2 mr-1 mb-2 u__cf\\\">\\n      {{#if (and (gt inboxesToDisplay.length 0) (not this.managingInboxVisibility))}}\\n        <a\\n          data-test-nav-vertical__see-others\\n          class=\\\"btn__tertiary__deemphasized pl-2\\\"\\n          {{action \\\"toggleShowAllInboxes\\\"}}\\n        >\\n          {{#if showAllInboxes}}\\n            See less\\n          {{else}}\\n            See {{inboxesToDisplay.length}} more\\n          {{/if}}\\n        </a>\\n      {{/if}}\\n      {{#if app.currentAdminHasInboxAccess}}\\n        <a\\n          class=\\\"u__right pr-1 {{if app.canUseInboxViews \\\"btn__tertiary__deemphasized\\\" \\\"nav-vertical__settings-icon\\\"}}\\\"\\n          data-test-nav-vertical__manage-visibility\\n          href={{if (has-feature \\\"canUseInboxInlineVisibilityManagement\\\") null (href-to \\\"apps.app.account.visibility.inboxes\\\")}}\\n          {{on \\\"click\\\" (if (has-feature \\\"canUseInboxInlineVisibilityManagement\\\") (action \\\"toggleInboxVisibilityManagement\\\") (noop))}}\\n        >\\n          {{#if this.managingInboxVisibility}}\\n            Done\\n          {{else}}\\n            {{#if app.canUseInboxViews}}\\n              Edit\\n            {{else}}\\n              {{ic-interface-icon \\\"settings\\\" solo=true}}\\n            {{/if}}\\n          {{/if}}\\n        </a>\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n  <div class=\\\"js__nav-vertical__all-inboxes\\\">\\n    {{#if (and (gt inboxesToDisplay.length 0) (or showAllInboxes this.managingInboxVisibility))}}\\n      <Inbox::InboxList\\n        @objects={{inboxesToDisplay}}\\n        @scrollPosition={{scrollPosition}}\\n        @selectTeamMemberInbox={{selectTeamMemberInbox}}\\n        @capacity={{capacity}}\\n        @onlineAdmins={{onlineAdmins}}\\n        @teamsSettings={{teamsSettings}}\\n        @isInboxVisible={{false}}\\n        @isManagingVisibility={{this.managingInboxVisibility}}\\n        @toggleVisibility={{action \\\"toggleInboxVisibility\\\"}}\\n        @updateView={{updateView}}\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/vertical-nav-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/vertical-nav-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-deeply-nested-dependent-keys-with-each */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { computed } from '@ember/object';\nimport { readOnly, setDiff } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport InboundActions from 'ember-component-inbound-actions/inbound-actions';\nimport DidChangeAttrs from 'ember-did-change-attrs';\nimport { task } from 'ember-concurrency';\nimport { hash } from 'rsvp';\n\nconst INDIVIDUAL_INBOX_HEIGHT = 38;\n\nexport default Component.extend(InboundActions, DidChangeAttrs, {\n  tagName: '',\n  appService: service(),\n  inboxService: service(),\n  store: service(),\n  modelDataCacheService: service(),\n  app: readOnly('appService.app'),\n  currentAdmin: readOnly('app.currentAdmin'),\n  workloadManagementSettings: readOnly('getWorkloadManagementSettings.lastSuccessful.value'),\n  capacity: readOnly('workloadManagementSettings.capacity'),\n  teamsSettings: readOnly('workloadManagementSettings.teamsSettings'),\n  onlineAdmins: computed('app.admins.@each.avatarData.showAsActive', function() {\n    return this.app.admins.filter(admin => admin.avatarData.showAsActive).map(admin => admin.id);\n  }),\n\n  didChangeAttrsConfig: {\n    attrs: ['selectedInboxId'],\n  },\n\n  indexOfSelectedInbox: computed('inboxesToDisplay.[]', 'selectedInboxId', function() {\n    let inboxes = this.inboxesToDisplay;\n    let selectedInboxId = this.selectedInboxId;\n    if (selectedInboxId === this.get('currentAdmin.id')) {\n      return -1;\n    }\n    for (let i = 0; i <= inboxes.length; i++) {\n      if (inboxes[i].get('id') === selectedInboxId) {\n        return i;\n      }\n    }\n    return -1;\n  }),\n\n  scrollDistance: computed('indexOfSelectedInbox', function() {\n    let indexOfSelectedInbox = this.indexOfSelectedInbox;\n    if (indexOfSelectedInbox < 0) {\n      return -1;\n    }\n    return INDIVIDUAL_INBOX_HEIGHT * indexOfSelectedInbox;\n  }),\n\n  didInsertElement() {\n    this._super(...arguments);\n    if (this.app.workloadManagementEnabled) {\n      this.getWorkloadManagementSettings.perform();\n    }\n  },\n\n  didChangeAttrs(changes) {\n    this._super(...arguments);\n    if (changes.selectedInboxId && this.showAllInboxes) {\n      this.set('scrollPosition', this.scrollDistance);\n    }\n  },\n\n  meInbox: readOnly('inboxService.meInbox'),\n  unassignedInbox: readOnly('inboxService.unassignedInbox'),\n  mentionsInbox: readOnly('inboxService.mentionsInbox'),\n  allInbox: readOnly('inboxService.allInbox'),\n\n  inboxViews: readOnly('inboxService.inboxViews'),\n  hiddenInboxViews: readOnly('inboxService.sortedHiddenInboxViews'),\n\n  managingInboxVisibility: false,\n  showAllInboxes: false,\n\n  hiddenInboxes: setDiff(\n    'inboxService.sortedNonMeMembershipInboxesWithOperator',\n    'inboxService.pinnedInboxesWithoutMembership',\n  ),\n  inboxesToDisplay: computed('hiddenInboxes', 'hiddenInboxViews', function() {\n    if (this.app.canUseInboxViews) {\n      return [...this.hiddenInboxViews, ...this.hiddenInboxes].compact();\n    }\n\n    return this.hiddenInboxes;\n  }),\n\n  getWorkloadManagementSettings: task(function*() {\n    return yield hash({\n      capacity: this.store\n        .findRecord('app-conversation-capacity-limit', this.app.id)\n        .then(model => model.capacityLimit),\n      teamsSettings: this.store.findAll('team-setting', {}).then(\n        teamsSettings =>\n          teamsSettings.reduce((settingsById, teamSettings) => ({\n            ...settingsById,\n            [teamSettings.teamId]: teamSettings,\n          })),\n        {},\n      ),\n    });\n  }),\n\n  showInbox(inbox) {\n    if (inbox.isInboxView) {\n      this.currentAdmin.addInboxViewIdToAdminsVisibleInboxViewIds(inbox.id);\n    } else {\n      this.currentAdmin.addAssigneeIdToAdminsVisibleAssigneeIds(inbox.id);\n    }\n  },\n\n  hideInbox(inbox) {\n    if (inbox.isInboxView) {\n      this.currentAdmin.removeInboxViewIdFromAdminsVisibleInboxViewIds(inbox.id);\n    } else {\n      this.currentAdmin.removeAssigneeIdFromAdminsVisibleAssigneeIds(inbox.id);\n    }\n  },\n\n  actions: {\n    inboxesUpdated(inboxes) {\n      this.set('inboxService.inboxes', inboxes);\n    },\n\n    toggleInboxVisibilityManagement() {\n      if (this.managingInboxVisibility) {\n        this.app.updateLocalCache(this.modelDataCacheService);\n      }\n      this.set('managingInboxVisibility', !this.managingInboxVisibility);\n      this.set('showAllInboxes', false);\n    },\n\n    toggleShowAllInboxes() {\n      this.set('showAllInboxes', !this.showAllInboxes);\n    },\n\n    toggleInboxVisibility(inbox, visible) {\n      if (visible) {\n        this.showInbox(inbox);\n      } else {\n        this.hideInbox(inbox);\n      }\n\n      this.currentAdmin.save();\n    },\n\n    reorderItems(itemModels, draggedModel) {\n      this.currentAdmin.updateVisibleSidebarItems(itemModels.map(item => item.id));\n      this.currentAdmin.save();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h2\\\">\\n  Assignment limit\\n</h3>\\n<div class=\\\"h-2\\\"></div>\\n<p class=\\\"text-gray\\\">\\n  Teams using balanced assignment will stop assigning conversations to teammates whenever the number of open conversations in their inbox exceeds this limit.\\n</p>\\n<div class=\\\"h-2\\\"></div>\\n<Input\\n  @value={{capacity.capacityLimit}}\\n  @type=\\\"number\\\"\\n  @step={{1}}\\n  @min={{1}}\\n  class=\\\"f__text twk__assignment-strategy-input u__mr__5\\\"\\n  data-test-assignment-strategy-setting-conversation-load-input={{true}}\\n/>\\nactive conversations per teammate\\n<div class=\\\"h-5\\\"></div>\\n<IcButton\\n  @type=\\\"primary\\\"\\n  class=\\\"mb-8\\\"\\n  @disabled={{or (not capacity.hasDirtyAttributes) (not validCapacityLimit)}}\\n  @onClick={{action \\\"save\\\"}}\\n  data-test-assignment-strategy-setting-conversation-save-button={{true}}\\n>\\n  {{#if capacity.saving}}\\n    Saving…\\n  {{else}}\\n    Apply\\n  {{/if}}\\n</IcButton>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h2\\\">\\n  Assignment limit\\n</h3>\\n<div class=\\\"h-2\\\"></div>\\n<p class=\\\"text-gray\\\">\\n  Teams using balanced assignment will stop assigning conversations to teammates whenever the number of open conversations in their inbox exceeds this limit.\\n</p>\\n<div class=\\\"h-2\\\"></div>\\n<Input\\n  @value={{capacity.capacityLimit}}\\n  @type=\\\"number\\\"\\n  @step={{1}}\\n  @min={{1}}\\n  class=\\\"f__text twk__assignment-strategy-input u__mr__5\\\"\\n  data-test-assignment-strategy-setting-conversation-load-input={{true}}\\n/>\\nactive conversations per teammate\\n<div class=\\\"h-5\\\"></div>\\n<IcButton\\n  @type=\\\"primary\\\"\\n  class=\\\"mb-8\\\"\\n  @disabled={{or (not capacity.hasDirtyAttributes) (not validCapacityLimit)}}\\n  @onClick={{action \\\"save\\\"}}\\n  data-test-assignment-strategy-setting-conversation-save-button={{true}}\\n>\\n  {{#if capacity.saving}}\\n    Saving…\\n  {{else}}\\n    Apply\\n  {{/if}}\\n</IcButton>\\n\",\"moduleName\":\"embercom/components/inbox/workload-management/assignment-limit-setting.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/workload-management/assignment-limit-setting.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  permissionsService: service(),\n  notificationsService: service(),\n\n  validCapacityLimit: computed('capacity.capacityLimit', function() {\n    return this.capacity.capacityLimit && this.capacity.capacityLimit > 0;\n  }),\n\n  actions: {\n    async save() {\n      try {\n        await this.permissionsService.checkPermission('can_access_product_settings');\n        await this.capacity.save();\n        this.notificationsService.notifyConfirmation(\n          'Your assignment limit has been updated successfully',\n        );\n      } catch (err) {\n        if (!err) {\n          return;\n        }\n        let notificationText;\n        let responseJSON = err.jqXHR.responseJSON;\n        if (responseJSON && responseJSON.errors[0]) {\n          notificationText = responseJSON.errors[0];\n        } else {\n          notificationText = 'Your assignment limit has not been updated, please try later';\n        }\n        this.notificationsService.notifyError(notificationText);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"h-2\\\"></div>\\n<p class=\\\"text-gray\\\">\\n  Set the order of teams by importance and manage volume for any team using balanced assignment. You can set up assignment methods in <a\\n    href=\\\"{{href-to \\\"apps.app.settings.teams\\\"}}\\\"\\n  >\\n    team settings\\n  </a>\\n.\\n</p>\\n<div class=\\\"h-5\\\"></div>\\n<div class=\\\"inbox__automation-rules__priority-indicator mb-4\\\">\\n  <div\\n    class=\\\"inbox__automation-rules__priority-indicator__text text-gray u__padl__15 u__padr__15\\\"\\n    data-test-highest-priority-indicator\\n  >\\n    Highest priority\\n  </div>\\n</div>\\n{{#if teamSettings}}\\n  <div class=\\\"inbox__volume-control__list\\\">\\n    <SortableGroup @tagName=\\\"div\\\" @onChange={{this.reorderItems}} as |group|>\\n      <Pulse::SettingsAccordion\\n        @openSectionId={{this.openSectionId}}\\n        @onOpenSectionChange={{perform this.onOpenSectionChange}}\\n        as |accordion|\\n      >\\n        {{#each sortedSettings as |s index|}}\\n          <group.item\\n            @tagName=\\\"div\\\"\\n            @model={{s}}\\n            @group={{group}}\\n            @handle=\\\".js__drag-handle\\\"\\n            class=\\\"mb-4\\\"\\n          >\\n            <accordion.Section @id={{s.team.id}} as |section|>\\n              <section.Header\\n                @heading={{s.team.name}}\\n                data-test-team-header={{s.team.id}}\\n                as |header|\\n               >\\n                <span\\n                  class=\\\"js__drag-handle cursor-pointer pt-1\\\"\\n                  data-test-section-drag-handle={{index}}\\n                  {{on \\\"click\\\" (stop-propagation noop)}}\\n                >\\n                  {{ic-interface-icon 'vertical-order' color='gray'}}\\n                </span>\\n                {{#unless header.sectionAPI.isOpen}}\\n                  <div\\n                    class=\\\"layout__box o__has-rows o__centers-vertically\\\"\\n                    data-test-header-on-off-stamp\\n                  >\\n                    <p class=\\\"t__light-text mr-2\\\">\\n                      Volume control is\\n                      {{ic-stamp\\n                        (if s.setting.volumeControlEnabled \\\"on\\\" \\\"off\\\")\\n                        \\\"mx-1\\\"\\n                      }}\\n                    </p>\\n                  </div>\\n                {{/unless}}\\n              </section.Header>\\n              <section.Body as |body|>\\n                <Inbox::WorkloadManagement::VolumeControlSettings\\n                  @setting={{s.setting}}\\n                  @teamName={{s.team.name}}\\n                  @closeAction={{body.sectionAPI.close}}\\n                />\\n              </section.Body>\\n            </accordion.Section>\\n          </group.item>\\n        {{/each}}\\n      </Pulse::SettingsAccordion>\\n    </SortableGroup>\\n  </div>\\n{{else}}\\n  <Inbox::WorkloadManagement::VolumeControlSettingsEmpty />\\n{{/if}}\\n<div class=\\\"inbox__automation-rules__priority-indicator mt-4 mb-8\\\">\\n  <div\\n    class=\\\"inbox__automation-rules__priority-indicator__text text-gray u__padl__15 u__padr__15\\\"\\n    data-test-lowest-priority-indicator\\n  >\\n    Lowest priority\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"h-2\\\"></div>\\n<p class=\\\"text-gray\\\">\\n  Set the order of teams by importance and manage volume for any team using balanced assignment. You can set up assignment methods in <a\\n    href=\\\"{{href-to \\\"apps.app.settings.teams\\\"}}\\\"\\n  >\\n    team settings\\n  </a>\\n.\\n</p>\\n<div class=\\\"h-5\\\"></div>\\n<div class=\\\"inbox__automation-rules__priority-indicator mb-4\\\">\\n  <div\\n    class=\\\"inbox__automation-rules__priority-indicator__text text-gray u__padl__15 u__padr__15\\\"\\n    data-test-highest-priority-indicator\\n  >\\n    Highest priority\\n  </div>\\n</div>\\n{{#if teamSettings}}\\n  <div class=\\\"inbox__volume-control__list\\\">\\n    <SortableGroup @tagName=\\\"div\\\" @onChange={{this.reorderItems}} as |group|>\\n      <Pulse::SettingsAccordion\\n        @openSectionId={{this.openSectionId}}\\n        @onOpenSectionChange={{perform this.onOpenSectionChange}}\\n        as |accordion|\\n      >\\n        {{#each sortedSettings as |s index|}}\\n          <group.item\\n            @tagName=\\\"div\\\"\\n            @model={{s}}\\n            @group={{group}}\\n            @handle=\\\".js__drag-handle\\\"\\n            class=\\\"mb-4\\\"\\n          >\\n            <accordion.Section @id={{s.team.id}} as |section|>\\n              <section.Header\\n                @heading={{s.team.name}}\\n                data-test-team-header={{s.team.id}}\\n                as |header|\\n               >\\n                <span\\n                  class=\\\"js__drag-handle cursor-pointer pt-1\\\"\\n                  data-test-section-drag-handle={{index}}\\n                  {{on \\\"click\\\" (stop-propagation noop)}}\\n                >\\n                  {{ic-interface-icon 'vertical-order' color='gray'}}\\n                </span>\\n                {{#unless header.sectionAPI.isOpen}}\\n                  <div\\n                    class=\\\"layout__box o__has-rows o__centers-vertically\\\"\\n                    data-test-header-on-off-stamp\\n                  >\\n                    <p class=\\\"t__light-text mr-2\\\">\\n                      Volume control is\\n                      {{ic-stamp\\n                        (if s.setting.volumeControlEnabled \\\"on\\\" \\\"off\\\")\\n                        \\\"mx-1\\\"\\n                      }}\\n                    </p>\\n                  </div>\\n                {{/unless}}\\n              </section.Header>\\n              <section.Body as |body|>\\n                <Inbox::WorkloadManagement::VolumeControlSettings\\n                  @setting={{s.setting}}\\n                  @teamName={{s.team.name}}\\n                  @closeAction={{body.sectionAPI.close}}\\n                />\\n              </section.Body>\\n            </accordion.Section>\\n          </group.item>\\n        {{/each}}\\n      </Pulse::SettingsAccordion>\\n    </SortableGroup>\\n  </div>\\n{{else}}\\n  <Inbox::WorkloadManagement::VolumeControlSettingsEmpty />\\n{{/if}}\\n<div class=\\\"inbox__automation-rules__priority-indicator mt-4 mb-8\\\">\\n  <div\\n    class=\\\"inbox__automation-rules__priority-indicator__text text-gray u__padl__15 u__padr__15\\\"\\n    data-test-lowest-priority-indicator\\n  >\\n    Lowest priority\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/workload-management/volume-control-section.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/workload-management/volume-control-section.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { action, computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport ajax from 'embercom/lib/ajax';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  appService: service(),\n  store: service(),\n  app: readOnly('appService.app'),\n  confirmService: service(),\n  permissionsService: service(),\n  intercomEventService: service(),\n\n  teamSettings: computed('settings', 'teams', 'teams.[]', 'settings.[]', function() {\n    let allTeamSettings = this.teams.map(team => {\n      let setting = this.settings.find(s => s.teamId === team.id);\n\n      if (!setting || !team || setting.distributionMethod !== 'load_balanced') {\n        return null;\n      }\n\n      return {\n        team,\n        setting,\n      };\n    });\n\n    return allTeamSettings.filter(teamSetting => teamSetting !== null);\n  }),\n\n  sortedSettings: computed('settings.@each.order', function() {\n    return this.teamSettings.sort(function(a, b) {\n      if (a.setting.order < b.setting.order) {\n        return -1;\n      }\n\n      return 1;\n    });\n  }),\n\n  onOpenSectionChange: task(function*(sectionId) {\n    if (!this.openSectionId) {\n      this.set('openSectionId', sectionId);\n      return;\n    }\n\n    let sectionCanClose = yield this.sectionCanClose.perform(this.openSectionId);\n    if (sectionCanClose) {\n      this.set('openSectionId', sectionId);\n    }\n  }),\n\n  sectionCanClose: task(function*(sectionName) {\n    let teamSetting = this.teamSettings.find(ts => ts.team.id === sectionName);\n    if (teamSetting.setting.hasDirtyAttributes) {\n      return yield this.confirmService\n        .show(this, {\n          title: 'You have unsaved changes',\n          body: 'Are you sure you want to discard these changes?',\n          cancelButtonText: 'Continue Editing',\n          confirmButtonText: 'Discard',\n          invertButtonTypes: true,\n        })\n        .then(canDiscard => {\n          if (canDiscard) {\n            teamSetting.setting.rollbackAttributes();\n          }\n          return canDiscard;\n        });\n    }\n    return true;\n  }),\n\n  reorderItems: action(function(teamSettings) {\n    return this.permissionsService.checkPermission('can_access_product_settings').then(() => {\n      teamSettings.forEach((teamSetting, order) => {\n        this.store.pushPayload({\n          'team-setting': { ...teamSetting.setting, id: teamSetting.setting.id, order },\n        });\n      });\n\n      return ajax({\n        url: `/ember/inbox/workload_management/team_settings/reorder`,\n        type: 'PUT',\n        data: JSON.stringify({\n          app_id: this.app.id,\n          order: this.sortedSettings.map(x => x.team.id),\n        }),\n      })\n        .then(response => {\n          this.intercomEventService.trackAnalyticsEvent({\n            action: 'order-changed',\n            object: 'inbox-priority-order',\n          });\n\n          this.notificationsService.notifyConfirmation(\n            'Your inbox priority order was successfully updated',\n          );\n        })\n        .catch(() => {\n          this.notificationsService.notifyError(\n            'There was a problem saving your inbox priority order',\n          );\n        });\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"flex flex-col gap-4 items-center p-16\\\"\\n  data-test-volume-control-settings-empty\\n>\\n  <IcIllustrativeIcon @name=\\\"rule\\\" @appearance=\\\"empty\\\" />\\n  <p class=\\\"text-gray\\\">\\n    There are no teams using balanced assignment yet\\n  </p>\\n  <LinkTo @route=\\\"apps.app.settings.teams\\\" class=\\\"t__em-link\\\">\\n    Set one up\\n  </LinkTo>\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"flex flex-col gap-4 items-center p-16\\\"\\n  data-test-volume-control-settings-empty\\n>\\n  <IcIllustrativeIcon @name=\\\"rule\\\" @appearance=\\\"empty\\\" />\\n  <p class=\\\"text-gray\\\">\\n    There are no teams using balanced assignment yet\\n  </p>\\n  <LinkTo @route=\\\"apps.app.settings.teams\\\" class=\\\"t__em-link\\\">\\n    Set one up\\n  </LinkTo>\\n</div>\\n\",\"moduleName\":\"embercom/components/inbox/workload-management/volume-control-settings-empty.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/workload-management/volume-control-settings-empty.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__padl__40 u__padr__40 ml-2 mb-6\\\">\\n  <p\\n    class=\\\"t__h4 mb-2\\\"\\n    data-test-workload-management-team={{@setting.teamId}}\\n  >\\n    Conversation volume control\\n  </p>\\n  <IcOnOffToggle\\n    @isOn={{volumeControlEnabled}}\\n    @onClick={{action \\\"updateVolumeControlSetting\\\"}}\\n    data-test-volume-control-toggle={{true}}\\n  />\\n  <span class=\\\"text-gray ml-2\\\">\\n    When on, this will stop customers from sending any conversations to this team if all teammates are unavailable\\n  </span>\\n  <div class=\\\"h-2\\\"></div>\\n</div>\\n<hr class=\\\"divider\\\" />\\n{{#if @setting.hasDirtyAttributes}}\\n  <IcButton\\n    data-test-volume-control-save-button={{true}}\\n    @onClick={{action \\\"save\\\"}}\\n    @label=\\\"Save\\\"\\n    @type=\\\"primary\\\"\\n    class=\\\"u__right u__m__10\\\"\\n  />\\n  <IcButton\\n    data-test-volume-control-cancel-button={{true}}\\n    @onClick={{action \\\"cancel\\\"}}\\n    @label=\\\"Cancel\\\"\\n    @type=\\\"secondary\\\"\\n    class=\\\"u__right u__mt__10\\\"\\n  />\\n{{else}}\\n  <IcButton\\n    data-test-volume-control-done-button={{true}}\\n    @onClick={{action \\\"done\\\"}}\\n    @label=\\\"Done\\\"\\n    @type=\\\"primary\\\"\\n    class=\\\"u__right u__m__10\\\"\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__padl__40 u__padr__40 ml-2 mb-6\\\">\\n  <p\\n    class=\\\"t__h4 mb-2\\\"\\n    data-test-workload-management-team={{@setting.teamId}}\\n  >\\n    Conversation volume control\\n  </p>\\n  <IcOnOffToggle\\n    @isOn={{volumeControlEnabled}}\\n    @onClick={{action \\\"updateVolumeControlSetting\\\"}}\\n    data-test-volume-control-toggle={{true}}\\n  />\\n  <span class=\\\"text-gray ml-2\\\">\\n    When on, this will stop customers from sending any conversations to this team if all teammates are unavailable\\n  </span>\\n  <div class=\\\"h-2\\\"></div>\\n</div>\\n<hr class=\\\"divider\\\" />\\n{{#if @setting.hasDirtyAttributes}}\\n  <IcButton\\n    data-test-volume-control-save-button={{true}}\\n    @onClick={{action \\\"save\\\"}}\\n    @label=\\\"Save\\\"\\n    @type=\\\"primary\\\"\\n    class=\\\"u__right u__m__10\\\"\\n  />\\n  <IcButton\\n    data-test-volume-control-cancel-button={{true}}\\n    @onClick={{action \\\"cancel\\\"}}\\n    @label=\\\"Cancel\\\"\\n    @type=\\\"secondary\\\"\\n    class=\\\"u__right u__mt__10\\\"\\n  />\\n{{else}}\\n  <IcButton\\n    data-test-volume-control-done-button={{true}}\\n    @onClick={{action \\\"done\\\"}}\\n    @label=\\\"Done\\\"\\n    @type=\\\"primary\\\"\\n    class=\\\"u__right u__m__10\\\"\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/inbox/workload-management/volume-control-settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inbox/workload-management/volume-control-settings.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  notificationsService: service(),\n  confirmService: service(),\n  permissionsService: service(),\n  intercomEventService: service(),\n\n  volumeControlEnabled: alias('setting.volumeControlEnabled'),\n  actions: {\n    updateVolumeControlSetting(value) {\n      this.toggleProperty('volumeControlEnabled');\n    },\n    async save(value) {\n      await this.permissionsService.checkPermission('can_access_product_settings');\n\n      this.setting\n        .save()\n        .then(response => {\n          this.intercomEventService.trackAnalyticsEvent({\n            action: 'toggled',\n            object: 'volume-control',\n            volumeControlEnabled: this.volumeControlEnabled,\n          });\n          this.notificationsService.notifyConfirmation(`${this.teamName} saved successfully`);\n        })\n        .catch(() => {\n          this.notificationsService.notifyError(`There was a problem saving ${this.teamName}`);\n        });\n    },\n\n    done() {\n      this.closeAction();\n    },\n    cancel() {\n      this.setting.rollbackAttributes();\n      this.closeAction();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"predicate-editor__inline-dropdown predicate-editor__calendar {{if isOpen 'o__opened'}} {{if disabled 'o__disabled u__disable-pointer-events'}} {{if showError 'o__error'}}\\\" {{action 'openCalendar'}}>\\n  <span class=\\\"{{if disabled 'text-gray'}}\\\">\\n    {{selectedDate}}\\n  </span>\\n  <span class=\\\"predicate-editor__arrow-icon u__disable-pointer-events\\\">\\n    {{#if isOpen}}\\n      {{ic-interface-icon 'small-up-arrow' solo=true}}\\n    {{else}}\\n      {{ic-interface-icon 'small-down-arrow' solo=true}}\\n    {{/if}}\\n  </span>{{yield}}\\n</span>\\n{{! template-lint-disable intercom/no-legacy-datepicker }}\\n{{partial 'components/partials/calendar-date-picker-dropdown'}}\\n{{! template-lint-enable intercom/no-legacy-datepicker }}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"predicate-editor__inline-dropdown predicate-editor__calendar {{if isOpen 'o__opened'}} {{if disabled 'o__disabled u__disable-pointer-events'}} {{if showError 'o__error'}}\\\" {{action 'openCalendar'}}>\\n  <span class=\\\"{{if disabled 'text-gray'}}\\\">\\n    {{selectedDate}}\\n  </span>\\n  <span class=\\\"predicate-editor__arrow-icon u__disable-pointer-events\\\">\\n    {{#if isOpen}}\\n      {{ic-interface-icon 'small-up-arrow' solo=true}}\\n    {{else}}\\n      {{ic-interface-icon 'small-down-arrow' solo=true}}\\n    {{/if}}\\n  </span>{{yield}}\\n</span>\\n{{! template-lint-disable intercom/no-legacy-datepicker }}\\n{{partial 'components/partials/calendar-date-picker-dropdown'}}\\n{{! template-lint-enable intercom/no-legacy-datepicker }}\\n\",\"moduleName\":\"embercom/components/inline-calendar-date-picker-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/inline-calendar-date-picker-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/no-on-calls-in-components */\nimport { on } from '@ember/object/evented';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n// eslint-disable-next-line @intercom/intercom/no-legacy-datepicker\nimport CalendarDatePickerComponent from 'embercom/components/calendar-date-picker-component';\n\nexport default CalendarDatePickerComponent.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  setupClassNames: on('init', function() {\n    this.classNames = [\n      'f__custom-select',\n      'predicate-editor__dropdown-container',\n      'u__display-inline-block',\n    ];\n  }),\n  inputSelector: '.predicate-editor__dropdown-container',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless attributesAreVisible}}\\n  <div\\n    class=\\\"ic-popup ic-popup-right is-light-theme ic-popup-tiny is-hot composer-attribute-inserter input-attribute-selector__attribute-inserter {{inserterClasses}}\\\"\\n    {{action \\\"showAttributeSelector\\\"}}\\n  >\\n    <span class=\\\"input-attribute-selector__attribute-inserter-icon\\\">↔</span>\\n  </div>\\n{{/unless}}\\n<div\\n  class=\\\"ic-popup ic-popup-right is-light-theme composer-attribute-selector input-attribute-selector__attribute-list {{listClasses}} {{unless attributesAreVisible \\\"u__hidden\\\"}}\\\"\\n>\\n  <div class=\\\"ic-popup-scrollable\\\">\\n    {{#if userAttributes}}\\n      <p class=\\\"composer-attribute-heading\\\">\\n        People attributes\\n      </p>\\n      <ExpandableList @list={{userAttributes}} @itemSelected=\\\"addAttribute\\\" />\\n    {{/if}}\\n    {{#if appAttributes}}\\n      <hr class=\\\"composer-divider\\\" />\\n      <p class=\\\"composer-attribute-heading\\\">\\n        App/author attributes\\n      </p>\\n      <ExpandableList\\n        @list={{appAttributes}}\\n        @itemSelected=\\\"addAttribute\\\"\\n        @needsExpander={{false}}\\n      />\\n    {{/if}}\\n    {{#if companyAttributes}}\\n      <hr class=\\\"composer-divider\\\" />\\n      <p class=\\\"composer-attribute-heading\\\">\\n        Company attributes\\n      </p>\\n      <ExpandableList\\n        @list={{companyAttributes}}\\n        @itemSelected=\\\"addAttribute\\\"\\n      />\\n    {{/if}}\\n    {{#if eventAttributes}}\\n      <hr class=\\\"composer-divider\\\" />\\n      <p class=\\\"composer-attribute-heading\\\">\\n        Event attributes\\n      </p>\\n      <ExpandableList @list={{eventAttributes}} @itemSelected=\\\"addAttribute\\\" />\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless attributesAreVisible}}\\n  <div\\n    class=\\\"ic-popup ic-popup-right is-light-theme ic-popup-tiny is-hot composer-attribute-inserter input-attribute-selector__attribute-inserter {{inserterClasses}}\\\"\\n    {{action \\\"showAttributeSelector\\\"}}\\n  >\\n    <span class=\\\"input-attribute-selector__attribute-inserter-icon\\\">↔</span>\\n  </div>\\n{{/unless}}\\n<div\\n  class=\\\"ic-popup ic-popup-right is-light-theme composer-attribute-selector input-attribute-selector__attribute-list {{listClasses}} {{unless attributesAreVisible \\\"u__hidden\\\"}}\\\"\\n>\\n  <div class=\\\"ic-popup-scrollable\\\">\\n    {{#if userAttributes}}\\n      <p class=\\\"composer-attribute-heading\\\">\\n        People attributes\\n      </p>\\n      <ExpandableList @list={{userAttributes}} @itemSelected=\\\"addAttribute\\\" />\\n    {{/if}}\\n    {{#if appAttributes}}\\n      <hr class=\\\"composer-divider\\\" />\\n      <p class=\\\"composer-attribute-heading\\\">\\n        App/author attributes\\n      </p>\\n      <ExpandableList\\n        @list={{appAttributes}}\\n        @itemSelected=\\\"addAttribute\\\"\\n        @needsExpander={{false}}\\n      />\\n    {{/if}}\\n    {{#if companyAttributes}}\\n      <hr class=\\\"composer-divider\\\" />\\n      <p class=\\\"composer-attribute-heading\\\">\\n        Company attributes\\n      </p>\\n      <ExpandableList\\n        @list={{companyAttributes}}\\n        @itemSelected=\\\"addAttribute\\\"\\n      />\\n    {{/if}}\\n    {{#if eventAttributes}}\\n      <hr class=\\\"composer-divider\\\" />\\n      <p class=\\\"composer-attribute-heading\\\">\\n        Event attributes\\n      </p>\\n      <ExpandableList @list={{eventAttributes}} @itemSelected=\\\"addAttribute\\\" />\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/input-attribute-selector-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/input-attribute-selector-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { bind } from '@ember/runloop';\nimport $ from 'jquery';\nimport { observer } from '@ember/object';\nimport { filterBy, filter } from '@ember/object/computed';\nimport { A } from '@ember/array';\nimport EmberObject, { computed } from '@ember/object';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  appAttributes: computed(function() {\n    return A([\n      EmberObject.create({\n        name: 'Author name',\n        identifier: 'message.author.first_name',\n        templatable_identifier: 'message.author.first_name',\n        noFallback: true,\n      }),\n      EmberObject.create({\n        name: 'Author full name',\n        identifier: 'message.author.name',\n        templatable_identifier: 'message.author.name',\n        noFallback: true,\n      }),\n      EmberObject.create({\n        name: 'App name',\n        identifier: 'app.name',\n        templatable_identifier: 'app.name',\n        noFallback: true,\n      }),\n    ]);\n  }),\n\n  classNames: ['input-attribute-selector__selector', 'js__input-attribute-selector'],\n  classNameBindings: ['isHovered:o__hover'],\n  attributesAreVisible: false,\n\n  templatableAttributes: filterBy('attributes', 'templatable', true),\n  userAttributes: filter('templatableAttributes', function(attribute) {\n    return attribute.get('isUser') && !attribute.get('isUserEvent');\n  }),\n  companyAttributes: filterBy('templatableAttributes', 'isCompany'),\n  eventAttributes: computed('templatableAttributes', function() {\n    let processedEventAttributes = [];\n    this.templatableAttributes.filterBy('isUserEvent').forEach(function(item) {\n      let itemData = item.toJSON();\n      processedEventAttributes.pushObject(this._duplicateEventAttribute(itemData, 'count'));\n      processedEventAttributes.pushObject(this._duplicateEventAttribute(itemData, 'first'));\n      processedEventAttributes.pushObject(this._duplicateEventAttribute(itemData, 'last'));\n    }, this);\n    return processedEventAttributes;\n  }),\n\n  shownStateChanged: observer({\n    dependentKeys: ['attributesAreVisible'],\n\n    fn() {\n      if (this.attributesAreVisible) {\n        $('body').on(`mousedown.${this.elementId}`, bind(this, this.bodyClicked));\n      } else {\n        $('body').off(`mousedown.${this.elementId}`);\n      }\n    },\n\n    sync: true,\n  }),\n\n  _duplicateEventAttribute(itemData, type) {\n    let itemToDuplicate = EmberObject.create(itemData);\n    itemToDuplicate.set(\n      'templatable_identifier',\n      `${itemToDuplicate.get('templatable_identifier')}.${type}`,\n    );\n    itemToDuplicate.set('name', `${itemToDuplicate.get('name').replace(/_|\\-/g, ' ')} ${type}`);\n    return itemToDuplicate;\n  },\n\n  bodyClicked(e) {\n    if (\n      !$(this.element)\n        .parent()\n        .find(e.target).length\n    ) {\n      this.set('attributesAreVisible', false);\n    }\n  },\n\n  willDestroyElement() {\n    $('body').off(`mousedown.${this.elementId}`);\n    this._super(...arguments);\n  },\n\n  mouseEnter() {\n    this.set('isHovered', true);\n  },\n\n  mouseLeave() {\n    this.set('isHovered', false);\n  },\n\n  actions: {\n    showAttributeSelector() {\n      this.set('attributesAreVisible', true);\n    },\n\n    addAttribute(attribute) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('addAttribute', attribute);\n      this.set('attributesAreVisible', false);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__cf\\\">\\n  <div class=\\\"u__left\\\">\\n    <h2 class=\\\"t__h2__deem insights__chart-title\\\">\\n      {{chartTitle}}\\n      {{#if showIntervalInTitle}}\\n        during this period\\n      {{/if}}\\n      {{#if chartTitleTooltip}}\\n        <IcTooltipIcon @content={{chartTitleTooltip}} />\\n      {{/if}}\\n    </h2>\\n  </div>\\n  <div class=\\\"u__right\\\">\\n    {{#if controlsComponent}}\\n      {{component controlsComponent}}\\n      <div class=\\\"h-2\\\"></div>\\n    {{/if}}\\n    {{#if timezoneString}}\\n      <span class=\\\"text-gray insights__timezone-warning u__right\\\">\\n        All timezones are {{timezoneString}}\\n      </span>\\n    {{/if}}\\n  </div>\\n</div>\\n{{banner.component}}\\n<div class=\\\"highchart-chart\\\">\\n\\n</div>\\n{{#if showTooltip}}\\n  <div\\n    class=\\\"tooltip tooltip-style tooltip-above js__highcharts-interactive-tooltip twk__engage-insights__tooltip {{if tooltipIsVisible \\\"o__visible\\\"}}\\\"\\n    style={{tooltipStyle}}\\n  >\\n    {{tooltipContent}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__cf\\\">\\n  <div class=\\\"u__left\\\">\\n    <h2 class=\\\"t__h2__deem insights__chart-title\\\">\\n      {{chartTitle}}\\n      {{#if showIntervalInTitle}}\\n        during this period\\n      {{/if}}\\n      {{#if chartTitleTooltip}}\\n        <IcTooltipIcon @content={{chartTitleTooltip}} />\\n      {{/if}}\\n    </h2>\\n  </div>\\n  <div class=\\\"u__right\\\">\\n    {{#if controlsComponent}}\\n      {{component controlsComponent}}\\n      <div class=\\\"h-2\\\"></div>\\n    {{/if}}\\n    {{#if timezoneString}}\\n      <span class=\\\"text-gray insights__timezone-warning u__right\\\">\\n        All timezones are {{timezoneString}}\\n      </span>\\n    {{/if}}\\n  </div>\\n</div>\\n{{banner.component}}\\n<div class=\\\"highchart-chart\\\">\\n\\n</div>\\n{{#if showTooltip}}\\n  <div\\n    class=\\\"tooltip tooltip-style tooltip-above js__highcharts-interactive-tooltip twk__engage-insights__tooltip {{if tooltipIsVisible \\\"o__visible\\\"}}\\\"\\n    style={{tooltipStyle}}\\n  >\\n    {{tooltipContent}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/insights/high-charts-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/insights/high-charts-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport $ from 'jquery';\nimport { equal } from '@ember/object/computed';\nimport { htmlSafe } from '@ember/string';\nimport { bind, later, cancel, scheduleOnce } from '@ember/runloop';\nimport { on } from '@ember/object/evented';\nimport { observer } from '@ember/object';\nimport Component from '@ember/component';\nimport { fmtStyle } from '@intercom/embercom-core/lib/computed-properties';\nimport Highcharts from 'highcharts';\n\nlet HighChartsComponent = Component.extend({\n  classNames: ['highchart-wrapper'],\n  tooltipVisibility: 'hidden',\n  chartData: undefined,\n  chartOptions: undefined,\n  chartColors: ['#78909c'],\n  chartHoverColors: ['#78909c'],\n  renderTo: null,\n  chart: null,\n  chartDataIsLoading: false,\n  showIntervalInTitle: true,\n  chartOffsetLeft: 20,\n  chartOffsetTop: 48,\n  useInteractiveTooltip: false,\n  interactiveTooltipSelector: '.js__highcharts-interactive-tooltip',\n\n  dataIsLoadingObserver: observer({\n    dependentKeys: ['chartDataIsLoading'],\n\n    fn() {\n      let properties = this.getProperties('chart', 'chartDataIsLoading');\n      if (properties.chartDataIsLoading) {\n        properties.chart.showLoading();\n      } else {\n        properties.chart.hideLoading();\n      }\n    },\n\n    sync: true,\n  }),\n\n  updateSeries: observer({\n    dependentKeys: ['chartData.@each.isLoaded'],\n\n    fn() {\n      let properties = this.getProperties(\n        'chart',\n        'chartData',\n        'chartOptions',\n        'chartColors',\n        'chartHoverColors',\n      );\n      properties.chartData.forEach(function(series, index) {\n        if (properties.chart.series[index]) {\n          properties.chart.xAxis[index].update(properties.chartOptions.xAxis);\n          properties.chart.yAxis[index].update(properties.chartOptions.yAxis);\n          properties.chart.series[index].setData(series.data);\n          properties.chart.series[index].update({\n            borderColor: properties.chartColors[index],\n            color: properties.chartColors[index],\n            states: {\n              hover: {\n                borderColor: properties.chartHoverColors[index],\n                color: properties.chartHoverColors[index],\n              },\n            },\n          });\n        } else {\n          properties.chart.addSeries(series);\n        }\n      });\n    },\n\n    sync: true,\n  }),\n\n  setupInteractiveTooltip: on('init', function() {\n    let self;\n    let chartOptions;\n    if (this.useInteractiveTooltip) {\n      self = this;\n      chartOptions = this.chartOptions;\n      chartOptions.plotOptions.series.events = {\n        mouseOver() {\n          self.cancelHideTimer();\n        },\n        mouseOut() {\n          self.startHideTimer();\n        },\n      };\n      this.set('tooltipFormatter', chartOptions.tooltip.formatter);\n      chartOptions.tooltip.formatter = function() {\n        self.interactiveFormatter(this);\n      };\n      chartOptions.tooltip.positioner = function(labelWidth, labelHeight, point) {\n        self.interactivePositioner(this, point);\n        return {\n          x: -1000,\n          y: -1000,\n        };\n      };\n    }\n  }),\n\n  setupTooltipHoverHandlers: on('didInsertElement', function() {\n    let selector = this.interactiveTooltipSelector;\n    $(this.element).on(\n      'mouseenter',\n      selector,\n      bind(this, () => {\n        this.set('isOverTooltip', true);\n        this.cancelHideTimer();\n      }),\n    );\n    $(this.element).on(\n      'mouseleave',\n      selector,\n      bind(this, () => {\n        this.set('isOverTooltip', false);\n        this.startHideTimer();\n      }),\n    );\n    $(this.element)\n      .parents()\n      .on(\n        `scroll.${this.elementId}`,\n        bind(this, () => {\n          this.set('isOverTooltip', false);\n          this.set('showTooltip', false);\n        }),\n      );\n  }),\n\n  teardownTooltipHoverHandlers: on('willDestroyElement', function() {\n    let selector = this.interactiveTooltipSelector;\n    $(this.element).off('mouseenter', selector);\n    $(this.element).off('mouseleave', selector);\n    $(this.element)\n      .parents()\n      .off(`scroll.${this.elementId}`);\n    this.cancelHideTimer();\n  }),\n\n  interactiveFormatter(point) {\n    if (!this.isOverTooltip) {\n      this.cancelHideTimer();\n      this.set('showTooltip', false);\n      let content = this.tooltipFormatter.apply(point);\n      this.set('tooltipContent', htmlSafe(content));\n    }\n  },\n\n  interactivePositioner(highcharts, point) {\n    let containerPosition = $('.highchart-chart', this.element)\n      .get(0)\n      .getBoundingClientRect();\n    if (!this.isOverTooltip) {\n      this.set('showTooltip', true);\n      this.setProperties({\n        tooltipTargetX: containerPosition.left + point.plotX + highcharts.chart.plotLeft,\n        tooltipTargetY: containerPosition.top + point.plotY + highcharts.chart.plotTop,\n      });\n    }\n  },\n\n  startHideTimer() {\n    this.set(\n      'hideTimer',\n      later(\n        this,\n        function() {\n          if (!this.isDestroying && !this.isOverTooltip) {\n            this.set('showTooltip', false);\n          }\n        },\n        1000,\n      ),\n    );\n  },\n\n  cancelHideTimer() {\n    cancel(this.hideTimer);\n  },\n\n  setTooltipPosition: observer({\n    dependentKeys: ['tooltipTargetX'],\n\n    fn() {\n      this.set('tooltipVisibility', 'hidden');\n      scheduleOnce('afterRender', this, this._setTooltipPosition);\n    },\n\n    sync: true,\n  }),\n\n  _setTooltipPosition() {\n    let $tooltip = $(this.interactiveTooltipSelector, this.element);\n    let tooltipTargetX = this.tooltipTargetX;\n    let tooltipTargetY = this.tooltipTargetY;\n    let tooltipWidth = $tooltip.outerWidth();\n    let tooltipHeight = $tooltip.outerHeight() + 10;\n    let tooltipX = tooltipTargetX - tooltipWidth / 2;\n    let tooltipRight = tooltipX + tooltipWidth;\n    let viewPortWidth = document.documentElement.clientWidth;\n    let tooltipOffset;\n    if (tooltipX < 0) {\n      tooltipOffset = Math.abs(tooltipX);\n      tooltipX = 0;\n    } else if (tooltipRight > viewPortWidth) {\n      tooltipOffset = viewPortWidth - tooltipRight;\n      tooltipX += tooltipOffset;\n    }\n    this.setProperties({\n      tooltipX,\n      tooltipY: tooltipTargetY - tooltipHeight,\n      tooltipVisibility: 'visible',\n      tooltipOffset,\n    });\n    this.offsetCaret();\n  },\n\n  tooltipIsVisible: equal('tooltipVisibility', 'visible'),\n  tooltipStyle: fmtStyle('top: %@px; left: %@px;', 'tooltipY', 'tooltipX'),\n\n  offsetCaret() {\n    $('.js__highcharts-interactive-tooltip', this.element)\n      .find('style')\n      .remove();\n    if (this.tooltipOffset) {\n      let style = `.js__highcharts-interactive-tooltip:before, .js__highcharts-interactive-tooltip:after { left: calc(50% - ${this.tooltipOffset}px); }`;\n      $(`<style>${style}</style>`).appendTo($('.js__highcharts-interactive-tooltip', this.element));\n    }\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    let properties = this.getProperties('chartOptions', 'chartColors', 'chartHoverColors');\n    let renderTo = $('.highchart-chart', this.element).get(0);\n    this.set('renderTo', renderTo);\n\n    properties.chartOptions.chart.renderTo = renderTo;\n    properties.chartOptions.series = this.chartData;\n    let chart = new Highcharts.Chart(properties.chartOptions);\n    let series = chart.series;\n    series.forEach((s, index) => {\n      s.update({\n        borderColor: properties.chartColors[index],\n        color: properties.chartColors[index],\n        states: {\n          hover: {\n            borderColor: properties.chartHoverColors[index],\n            color: properties.chartHoverColors[index],\n          },\n        },\n      });\n    });\n    this.set('chart', chart);\n  },\n\n  willDestroyElement() {\n    this.set('renderTo', null);\n    this.chart.destroy();\n    this._super(...arguments);\n  },\n});\n\nexport default HighChartsComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div style=\\\"width: 929px; height: 428px\\\">\\n  <div class=\\\"u__cf\\\">\\n    <div class=\\\"u__left\\\">\\n      <h2 class=\\\"t__h2 insights__chart-title {{if isLoading \\\"insights__chart-title-loading\\\"}}\\\">\\n        {{title}}\\n      </h2>\\n    </div>\\n  </div>\\n  <div class=\\\"highchart-chart\\\">\\n      <svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"938\\\" height=\\\"400\\\" font-family=\\\"&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif\\\" font-size=\\\"13\\\" color=\\\"#78909c\\\" fill=\\\"#78909c\\\"><path fill=\\\"#FFF\\\" class=\\\"highcharts-background\\\" d=\\\"M0 0h938v400H0z\\\" /><path d=\\\"M46 39.5h882m-882 83h882m-882 82h882m-882 81h882m-882 82h882\\\" class=\\\"highcharts-grid\\\" fill=\\\"none\\\" stroke=\\\"#f1f4f7\\\" /><path fill=\\\"none\\\" d=\\\"M46 367.5h882M45.5 40v327\\\" stroke=\\\"#f1f4f7\\\" class=\\\"highcharts-axis\\\" /><g class=\\\"highcharts-axis-labels highcharts-xaxis-labels\\\" text-anchor=\\\"middle\\\" cursor=\\\"default\\\"><text x=\\\"282.25\\\" y=\\\"389\\\"><tspan>{{date3}}</tspan></text><text x=\\\"502.75\\\" y=\\\"389\\\"><tspan>{{date2}}</tspan></text><text x=\\\"723.25\\\" y=\\\"389\\\"><tspan>{{date1}}</tspan></text></g><g class=\\\"highcharts-axis-labels highcharts-yaxis-labels\\\" text-anchor=\\\"end\\\" cursor=\\\"default\\\"><text x=\\\"31\\\" style=\\\"width:290px\\\" y=\\\"373.5\\\">0k</text><text x=\\\"31\\\" style=\\\"width:290px\\\" y=\\\"291.75\\\">5k</text><text x=\\\"31\\\" style=\\\"width:290px\\\" y=\\\"210\\\">10k</text><text x=\\\"31\\\" style=\\\"width:290px\\\" y=\\\"128.25\\\">15k</text><text x=\\\"31\\\" style=\\\"width:290px\\\" y=\\\"46.5\\\">20k</text></g></svg>\\n  </div>\\n  {{#if isLoading}}\\n    <Insights::LoadingComponent />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div style=\\\"width: 929px; height: 428px\\\">\\n  <div class=\\\"u__cf\\\">\\n    <div class=\\\"u__left\\\">\\n      <h2 class=\\\"t__h2 insights__chart-title {{if isLoading \\\"insights__chart-title-loading\\\"}}\\\">\\n        {{title}}\\n      </h2>\\n    </div>\\n  </div>\\n  <div class=\\\"highchart-chart\\\">\\n      <svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"938\\\" height=\\\"400\\\" font-family=\\\"&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif\\\" font-size=\\\"13\\\" color=\\\"#78909c\\\" fill=\\\"#78909c\\\"><path fill=\\\"#FFF\\\" class=\\\"highcharts-background\\\" d=\\\"M0 0h938v400H0z\\\" /><path d=\\\"M46 39.5h882m-882 83h882m-882 82h882m-882 81h882m-882 82h882\\\" class=\\\"highcharts-grid\\\" fill=\\\"none\\\" stroke=\\\"#f1f4f7\\\" /><path fill=\\\"none\\\" d=\\\"M46 367.5h882M45.5 40v327\\\" stroke=\\\"#f1f4f7\\\" class=\\\"highcharts-axis\\\" /><g class=\\\"highcharts-axis-labels highcharts-xaxis-labels\\\" text-anchor=\\\"middle\\\" cursor=\\\"default\\\"><text x=\\\"282.25\\\" y=\\\"389\\\"><tspan>{{date3}}</tspan></text><text x=\\\"502.75\\\" y=\\\"389\\\"><tspan>{{date2}}</tspan></text><text x=\\\"723.25\\\" y=\\\"389\\\"><tspan>{{date1}}</tspan></text></g><g class=\\\"highcharts-axis-labels highcharts-yaxis-labels\\\" text-anchor=\\\"end\\\" cursor=\\\"default\\\"><text x=\\\"31\\\" style=\\\"width:290px\\\" y=\\\"373.5\\\">0k</text><text x=\\\"31\\\" style=\\\"width:290px\\\" y=\\\"291.75\\\">5k</text><text x=\\\"31\\\" style=\\\"width:290px\\\" y=\\\"210\\\">10k</text><text x=\\\"31\\\" style=\\\"width:290px\\\" y=\\\"128.25\\\">15k</text><text x=\\\"31\\\" style=\\\"width:290px\\\" y=\\\"46.5\\\">20k</text></g></svg>\\n  </div>\\n  {{#if isLoading}}\\n    <Insights::LoadingComponent />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/insights/high-charts-dummy-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/insights/high-charts-dummy-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport moment from 'moment';\n\nlet format = dateAndTimeFormats.dateWithoutYear;\n\nexport default Component.extend({\n  date1: moment()\n    .subtract(1, 'days')\n    .format(format),\n  date2: moment()\n    .subtract(8, 'days')\n    .format(format),\n  date3: moment()\n    .subtract(15, 'days')\n    .format(format),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__center-layout overlay__cover-parent\\\">\\n  <div>\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n    <div class=\\\"h-1\\\"></div>\\n    {{#if isSlowLoad}}\\n      <p>\\n        This might take a minute…\\n      </p>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__center-layout overlay__cover-parent\\\">\\n  <div>\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n    <div class=\\\"h-1\\\"></div>\\n    {{#if isSlowLoad}}\\n      <p>\\n        This might take a minute…\\n      </p>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/insights/loading-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/insights/loading-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { task, timeout } from 'ember-concurrency';\n\nexport default Component.extend({\n  isSlowLoad: false,\n  slowThreshold: 3000,\n  'data-test-loading-component': true,\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.markAsSlow.perform();\n  },\n  markAsSlow: task(function*() {\n    yield timeout(this.slowThreshold);\n    this.set('isSlowLoad', true);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-spacer growDuration=250}}\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <table class=\\\"tbl o__fit o__fixed insights__stats-table\\\">\\n    {{!-- template-lint-enable intercom/no-custom-table --}}\\n    <tbody class=\\\"tbl__body\\\">\\n      {{#each spamStatsToShow as |spamming_stat|}}\\n        <tr data-test-spam-stats-row class=\\\"insights__stats-row\\\">\\n          <td class=\\\"tbl__cell u__pad__15 insights__stats-cell\\\">\\n            <strong>\\n              {{numeric-formatter-helper spamming_stat.received_message_count}} messages\\n            </strong>\\n            <span class=\\\"text-gray\\\">\\n              were sent to\\n            </span>\\n            {{#each spamming_stat.example_users as |user|}}\\n              <span class=\\\"u__ml__05\\\">\\n                {{ic-avatar direct=user.avatarData size=\\\"s\\\" withText=true}}\\n              </span>\\n              <LinkTo\\n                @route=\\\"apps.app.users.user.all-conversations\\\"\\n                @models={{array app user.id}}\\n              >\\n                {{user.displayAs}}\\n              </LinkTo>\\n            {{/each}}\\n            {{#if spamming_stat.extra_user_count}}\\n              and\\n              <strong>\\n                {{numeric-formatter-helper spamming_stat.extra_user_count}} {{inflector-helper \\\"other\\\" spamming_stat.extra_user_count}}\\n              </strong>\\n            {{/if}}\\n          </td>\\n        </tr>\\n      {{/each}}\\n    </tbody>\\n  </table>\\n{{/liquid-spacer}}\\n{{#if hasExtraUsers}}\\n  <div class=\\\"u__padb__20\\\">\\n    <div class=\\\"u__left u__padt__10 u__padl__15\\\">\\n      <a\\n        data-test-section-expand-button\\n        class=\\\"btn__tertiary__deemphasized\\\"\\n        {{action \\\"toggleShowExpandedSection\\\"}}\\n      >\\n        <span>\\n          {{#if showExpandedSection}}\\n            Hide\\n          {{else}}\\n            Show {{extraUsersCount}} hidden\\n          {{/if}}\\n        </span>\\n      </a>\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-spacer growDuration=250}}\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <table class=\\\"tbl o__fit o__fixed insights__stats-table\\\">\\n    {{!-- template-lint-enable intercom/no-custom-table --}}\\n    <tbody class=\\\"tbl__body\\\">\\n      {{#each spamStatsToShow as |spamming_stat|}}\\n        <tr data-test-spam-stats-row class=\\\"insights__stats-row\\\">\\n          <td class=\\\"tbl__cell u__pad__15 insights__stats-cell\\\">\\n            <strong>\\n              {{numeric-formatter-helper spamming_stat.received_message_count}} messages\\n            </strong>\\n            <span class=\\\"text-gray\\\">\\n              were sent to\\n            </span>\\n            {{#each spamming_stat.example_users as |user|}}\\n              <span class=\\\"u__ml__05\\\">\\n                {{ic-avatar direct=user.avatarData size=\\\"s\\\" withText=true}}\\n              </span>\\n              <LinkTo\\n                @route=\\\"apps.app.users.user.all-conversations\\\"\\n                @models={{array app user.id}}\\n              >\\n                {{user.displayAs}}\\n              </LinkTo>\\n            {{/each}}\\n            {{#if spamming_stat.extra_user_count}}\\n              and\\n              <strong>\\n                {{numeric-formatter-helper spamming_stat.extra_user_count}} {{inflector-helper \\\"other\\\" spamming_stat.extra_user_count}}\\n              </strong>\\n            {{/if}}\\n          </td>\\n        </tr>\\n      {{/each}}\\n    </tbody>\\n  </table>\\n{{/liquid-spacer}}\\n{{#if hasExtraUsers}}\\n  <div class=\\\"u__padb__20\\\">\\n    <div class=\\\"u__left u__padt__10 u__padl__15\\\">\\n      <a\\n        data-test-section-expand-button\\n        class=\\\"btn__tertiary__deemphasized\\\"\\n        {{action \\\"toggleShowExpandedSection\\\"}}\\n      >\\n        <span>\\n          {{#if showExpandedSection}}\\n            Hide\\n          {{else}}\\n            Show {{extraUsersCount}} hidden\\n          {{/if}}\\n        </span>\\n      </a>\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/insights/spam-stats-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/insights/spam-stats-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { subtractFrom, ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport { gt, readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\n\nconst MIN_NUMBER_OF_ROWS = 5;\nconst MAX_NUMBER_OF_ROWS = 25;\n\nexport default Component.extend({\n  showExpandedSection: false,\n  numberOfRows: ternary('showExpandedSection', MAX_NUMBER_OF_ROWS, MIN_NUMBER_OF_ROWS),\n  spamStatsToShow: computed('spamStats', 'numberOfRows', function() {\n    return this.spamStats.slice(0, this.numberOfRows);\n  }),\n  totalUsersCount: readOnly('spamStats.length'),\n  extraUsersCount: subtractFrom('totalUsersCount', MIN_NUMBER_OF_ROWS),\n  hasExtraUsers: gt('extraUsersCount', 0),\n\n  actions: {\n    toggleShowExpandedSection() {\n      this.toggleProperty('showExpandedSection');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div style=\\\"position:relative\\\">\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <table class=\\\"tbl o__fit o__fixed\\\">\\n    {{!-- template-lint-enable intercom/no-custom-table --}}\\n    {{#each dummyRows as |row|}}\\n      <tr class=\\\"insights__data-row\\\">\\n        <td class=\\\"tbl__cell u__pad__15 insights__data-cell\\\">\\n          {{ghost-text 200}}\\n          <GhostAvatar/>\\n          {{ghost-text 100}}\\n          <GhostAvatar/>\\n          {{ghost-text 100}}\\n          <GhostAvatar/>\\n          {{ghost-text 100}}\\n        </td>\\n      </tr>\\n    {{/each}}\\n  </table>\\n  {{#if isLoading}}\\n    <Insights::LoadingComponent />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div style=\\\"position:relative\\\">\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <table class=\\\"tbl o__fit o__fixed\\\">\\n    {{!-- template-lint-enable intercom/no-custom-table --}}\\n    {{#each dummyRows as |row|}}\\n      <tr class=\\\"insights__data-row\\\">\\n        <td class=\\\"tbl__cell u__pad__15 insights__data-cell\\\">\\n          {{ghost-text 200}}\\n          <GhostAvatar/>\\n          {{ghost-text 100}}\\n          <GhostAvatar/>\\n          {{ghost-text 100}}\\n          <GhostAvatar/>\\n          {{ghost-text 100}}\\n        </td>\\n      </tr>\\n    {{/each}}\\n  </table>\\n  {{#if isLoading}}\\n    <Insights::LoadingComponent />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/insights/spam-stats-dummy-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/insights/spam-stats-dummy-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  dummyRows: [1, 2, 3, 4, 5],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<td class=\\\"tbl__cell u__pad__15 {{if (not isGlobal) displayedStat.color}} insights__data-cell\\\">\\n  {{value}}\\n</td>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<td class=\\\"tbl__cell u__pad__15 {{if (not isGlobal) displayedStat.color}} insights__data-cell\\\">\\n  {{value}}\\n</td>\\n\",\"moduleName\":\"embercom/components/insights/variation-stats-cell-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/insights/variation-stats-cell-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { equalToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  tagName: '',\n  value: computed('stat', 'displayedStat.path', 'stat.sent', function() {\n    let statValue = this.get(`stat.${this.get('displayedStat.path')}`);\n    return statValue === undefined ? `\\u2014` : statValue; //em dash\n  }),\n  isInSortedColumn: equalToProperty('activeSortPath', 'displayedStat.path'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table\\n  class=\\\"tbl o__fit o__fixed insights__data-table o__without-left-right-paddings\\\"\\n  data-test-variation-stats-component\\n>\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <thead data-test-variation-stats-component-header>\\n    <tr>\\n      <th class=\\\"tbl__cell insights__header-cell\\\" {{action \\\"sort\\\" \\\"title\\\"}}>\\n        <span class=\\\"t__label {{if canSortByTitleAndAdmin \\\"t__solo-link\\\"}}\\\">\\n          Title\\n        </span>\\n        {{#if (eq sortBy \\\"title\\\")}}\\n          <span class=\\\"text-gray\\\">\\n            {{sort-icon-pattern descending=isSortingDescending}}\\n          </span>\\n        {{/if}}\\n      </th>\\n      {{#if showCampaignColumn}}\\n        <th\\n          class=\\\"tbl__cell insights__header-cell\\\"\\n          {{action \\\"sort\\\" \\\"campaign_title\\\"}}\\n        >\\n          <span class=\\\"t__label t__solo-link\\\">\\n            Campaign\\n          </span>\\n          {{#if (eq sortBy \\\"campaign_title\\\")}}\\n            <span class=\\\"text-gray\\\">\\n              {{sort-icon-pattern descending=isSortingDescending}}\\n            </span>\\n          {{/if}}\\n        </th>\\n      {{else}}\\n        <th class=\\\"tbl__cell insights__header-cell\\\"></th>\\n      {{/if}}\\n      {{#each displayedStats as |displayedStat|}}\\n        <Insights::VariationStatsHeaderCellComponent\\n          @sort=\\\"sort\\\"\\n          @activeSortPath={{sortBy}}\\n          @isDescending={{isSortingDescending}}\\n          @name={{displayedStat.name}}\\n          @icon={{displayedStat.icon}}\\n          @path={{displayedStat.path}}\\n        />\\n      {{/each}}\\n    </tr>\\n  </thead>\\n  {{#if showDummyContent}}\\n    <tbody class=\\\"tbl__body\\\">\\n      {{#each dummyContent as |row|}}\\n        <tr class=\\\"insights__data-row\\\">\\n          <td class=\\\"tbl__cell u__pad__15 insights__data-cell\\\">\\n            <div class=\\\"u__one-truncated-line twk__engage-insights__stat-title t__h3\\\">\\n              {{ghost-text 200}}\\n            </div>\\n          </td>\\n          <td class=\\\"tbl__cell u__pad__15 insights__data-cell\\\">\\n            {{#if showCampaignColumn}}\\n              {{ghost-text 200}}\\n            {{/if}}\\n          </td>\\n          {{#each displayedStats as |displayedStat|}}\\n            <td class=\\\"tbl__cell u__pad__15 insights__data-cell\\\">\\n              {{ghost-text 50}}\\n            </td>\\n          {{/each}}\\n        </tr>\\n      {{/each}}\\n    </tbody>\\n  {{else}}\\n    <tbody class=\\\"tbl__body\\\">\\n      {{#if globalStat}}\\n        <tr\\n          class=\\\"insights__data-row text-gray\\\"\\n          data-test-variation-stats-global-row\\n        >\\n          <td class=\\\"tbl__cell u__pad__15 insights__data-cell\\\" colspan=\\\"2\\\">\\n            {{ic-interface-icon \\\"info\\\" color=\\\"light\\\"}} Average\\n            {{#if (eq messageType \\\"in-app\\\")}}\\n              chat and post\\n            {{else}}\\n              {{messageType}}\\n            {{/if}}\\n            performance compared to other apps using Intercom.\\n          </td>\\n          {{#each displayedStats as |displayedStat|}}\\n            <Insights::VariationStatsCellComponent\\n              @stat={{globalStat}}\\n              @displayedStat={{displayedStat}}\\n              @isGlobal={{true}}\\n              @activeSortPath={{sortBy}}\\n            />\\n          {{/each}}\\n        </tr>\\n      {{/if}}\\n      {{#each statsExcludingGlobal as |stat i|}}\\n        {{#unless stat.hasNoSentCount}}\\n          <tr\\n            class=\\\"insights__data-row\\\"\\n            data-test-variation-stats-row-index={{i}}\\n          >\\n            <td class=\\\"tbl__cell insights__data-cell\\\">\\n              <div class=\\\"layout__box o__has-columns\\\">\\n                {{#if stat.is_deleted}}\\n                  <div\\n                    class=\\\"t_h3 u__one-truncated-line twk__engage-insights__stat-title o__deleted layout__box o__flexes-to-0\\\"\\n                    {{tooltip content=\\\"This message has been deleted\\\"}}\\n                  >\\n                    {{stat.displayTitle}}\\n                  </div>\\n                {{else}}\\n                  <div class=\\\"t__h3 u__one-truncated-line twk__engage-insights__stat-title layout__box o__flexes-to-0\\\">\\n                    {{#if stat.ruleset_id}}\\n                      <LinkTo\\n                        @route={{stat.outboundEditorRoute}}\\n                        @model={{stat.ruleset_id}}\\n                        @classNames=\\\"t__solo-link\\\"\\n                      >\\n                        {{stat.displayTitle}}\\n                      </LinkTo>\\n                    {{else}}\\n                      <LinkTo\\n                        @route=\\\"apps.app.outbound.message\\\"\\n                        @model={{stat.message_id}}\\n                        @classNames=\\\"t__solo-link\\\"\\n                      >\\n                        {{stat.displayTitle}}\\n                      </LinkTo>\\n                    {{/if}}\\n                  </div>\\n                {{/if}}\\n                {{#if stat.variation_name}}\\n                  <div class=\\\"layout__box o__flexes-to-1\\\">\\n                    <span class=\\\"u__ml__5 stamp o__light-blue\\\">\\n                      {{stat.variation_name}}\\n                    </span>\\n                  </div>\\n                {{/if}}\\n              </div>\\n            </td>\\n            <td class=\\\"tbl__cell insights__data-cell\\\">\\n              <div class=\\\"u__one-truncated-line text-gray insights__data-cell-truncate-campaign\\\">\\n                {{#if (and showCampaignColumn stat.campaign_id)}}\\n                  <LinkTo\\n                    @route=\\\"apps.app.outbound.messages.auto.campaigns.campaign\\\"\\n                    @model={{stat.campaign_id}}\\n                    class=\\\"t__solo-link\\\"\\n                  >\\n                    {{stat.campaign_title}}\\n                  </LinkTo>\\n                {{/if}}\\n              </div>\\n            </td>\\n            {{#each displayedStats as |displayedStat|}}\\n              <Insights::VariationStatsCellComponent\\n                @stat={{stat}}\\n                @displayedStat={{displayedStat}}\\n                @activeSortPath={{sortBy}}\\n              />\\n            {{/each}}\\n          </tr>\\n        {{/unless}}\\n      {{/each}}\\n    </tbody>\\n  {{/if}}\\n</table>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table\\n  class=\\\"tbl o__fit o__fixed insights__data-table o__without-left-right-paddings\\\"\\n  data-test-variation-stats-component\\n>\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <thead data-test-variation-stats-component-header>\\n    <tr>\\n      <th class=\\\"tbl__cell insights__header-cell\\\" {{action \\\"sort\\\" \\\"title\\\"}}>\\n        <span class=\\\"t__label {{if canSortByTitleAndAdmin \\\"t__solo-link\\\"}}\\\">\\n          Title\\n        </span>\\n        {{#if (eq sortBy \\\"title\\\")}}\\n          <span class=\\\"text-gray\\\">\\n            {{sort-icon-pattern descending=isSortingDescending}}\\n          </span>\\n        {{/if}}\\n      </th>\\n      {{#if showCampaignColumn}}\\n        <th\\n          class=\\\"tbl__cell insights__header-cell\\\"\\n          {{action \\\"sort\\\" \\\"campaign_title\\\"}}\\n        >\\n          <span class=\\\"t__label t__solo-link\\\">\\n            Campaign\\n          </span>\\n          {{#if (eq sortBy \\\"campaign_title\\\")}}\\n            <span class=\\\"text-gray\\\">\\n              {{sort-icon-pattern descending=isSortingDescending}}\\n            </span>\\n          {{/if}}\\n        </th>\\n      {{else}}\\n        <th class=\\\"tbl__cell insights__header-cell\\\"></th>\\n      {{/if}}\\n      {{#each displayedStats as |displayedStat|}}\\n        <Insights::VariationStatsHeaderCellComponent\\n          @sort=\\\"sort\\\"\\n          @activeSortPath={{sortBy}}\\n          @isDescending={{isSortingDescending}}\\n          @name={{displayedStat.name}}\\n          @icon={{displayedStat.icon}}\\n          @path={{displayedStat.path}}\\n        />\\n      {{/each}}\\n    </tr>\\n  </thead>\\n  {{#if showDummyContent}}\\n    <tbody class=\\\"tbl__body\\\">\\n      {{#each dummyContent as |row|}}\\n        <tr class=\\\"insights__data-row\\\">\\n          <td class=\\\"tbl__cell u__pad__15 insights__data-cell\\\">\\n            <div class=\\\"u__one-truncated-line twk__engage-insights__stat-title t__h3\\\">\\n              {{ghost-text 200}}\\n            </div>\\n          </td>\\n          <td class=\\\"tbl__cell u__pad__15 insights__data-cell\\\">\\n            {{#if showCampaignColumn}}\\n              {{ghost-text 200}}\\n            {{/if}}\\n          </td>\\n          {{#each displayedStats as |displayedStat|}}\\n            <td class=\\\"tbl__cell u__pad__15 insights__data-cell\\\">\\n              {{ghost-text 50}}\\n            </td>\\n          {{/each}}\\n        </tr>\\n      {{/each}}\\n    </tbody>\\n  {{else}}\\n    <tbody class=\\\"tbl__body\\\">\\n      {{#if globalStat}}\\n        <tr\\n          class=\\\"insights__data-row text-gray\\\"\\n          data-test-variation-stats-global-row\\n        >\\n          <td class=\\\"tbl__cell u__pad__15 insights__data-cell\\\" colspan=\\\"2\\\">\\n            {{ic-interface-icon \\\"info\\\" color=\\\"light\\\"}} Average\\n            {{#if (eq messageType \\\"in-app\\\")}}\\n              chat and post\\n            {{else}}\\n              {{messageType}}\\n            {{/if}}\\n            performance compared to other apps using Intercom.\\n          </td>\\n          {{#each displayedStats as |displayedStat|}}\\n            <Insights::VariationStatsCellComponent\\n              @stat={{globalStat}}\\n              @displayedStat={{displayedStat}}\\n              @isGlobal={{true}}\\n              @activeSortPath={{sortBy}}\\n            />\\n          {{/each}}\\n        </tr>\\n      {{/if}}\\n      {{#each statsExcludingGlobal as |stat i|}}\\n        {{#unless stat.hasNoSentCount}}\\n          <tr\\n            class=\\\"insights__data-row\\\"\\n            data-test-variation-stats-row-index={{i}}\\n          >\\n            <td class=\\\"tbl__cell insights__data-cell\\\">\\n              <div class=\\\"layout__box o__has-columns\\\">\\n                {{#if stat.is_deleted}}\\n                  <div\\n                    class=\\\"t_h3 u__one-truncated-line twk__engage-insights__stat-title o__deleted layout__box o__flexes-to-0\\\"\\n                    {{tooltip content=\\\"This message has been deleted\\\"}}\\n                  >\\n                    {{stat.displayTitle}}\\n                  </div>\\n                {{else}}\\n                  <div class=\\\"t__h3 u__one-truncated-line twk__engage-insights__stat-title layout__box o__flexes-to-0\\\">\\n                    {{#if stat.ruleset_id}}\\n                      <LinkTo\\n                        @route={{stat.outboundEditorRoute}}\\n                        @model={{stat.ruleset_id}}\\n                        @classNames=\\\"t__solo-link\\\"\\n                      >\\n                        {{stat.displayTitle}}\\n                      </LinkTo>\\n                    {{else}}\\n                      <LinkTo\\n                        @route=\\\"apps.app.outbound.message\\\"\\n                        @model={{stat.message_id}}\\n                        @classNames=\\\"t__solo-link\\\"\\n                      >\\n                        {{stat.displayTitle}}\\n                      </LinkTo>\\n                    {{/if}}\\n                  </div>\\n                {{/if}}\\n                {{#if stat.variation_name}}\\n                  <div class=\\\"layout__box o__flexes-to-1\\\">\\n                    <span class=\\\"u__ml__5 stamp o__light-blue\\\">\\n                      {{stat.variation_name}}\\n                    </span>\\n                  </div>\\n                {{/if}}\\n              </div>\\n            </td>\\n            <td class=\\\"tbl__cell insights__data-cell\\\">\\n              <div class=\\\"u__one-truncated-line text-gray insights__data-cell-truncate-campaign\\\">\\n                {{#if (and showCampaignColumn stat.campaign_id)}}\\n                  <LinkTo\\n                    @route=\\\"apps.app.outbound.messages.auto.campaigns.campaign\\\"\\n                    @model={{stat.campaign_id}}\\n                    class=\\\"t__solo-link\\\"\\n                  >\\n                    {{stat.campaign_title}}\\n                  </LinkTo>\\n                {{/if}}\\n              </div>\\n            </td>\\n            {{#each displayedStats as |displayedStat|}}\\n              <Insights::VariationStatsCellComponent\\n                @stat={{stat}}\\n                @displayedStat={{displayedStat}}\\n                @activeSortPath={{sortBy}}\\n              />\\n            {{/each}}\\n          </tr>\\n        {{/unless}}\\n      {{/each}}\\n    </tbody>\\n  {{/if}}\\n</table>\\n\",\"moduleName\":\"embercom/components/insights/variation-stats-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/insights/variation-stats-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { schedule } from '@ember/runloop';\nimport { not } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { findBy, rejectBy } from '@intercom/embercom-core/lib/computed-properties';\n\nfunction parseSortingFloat(value, direction) {\n  let parsed = parseFloat(value.replace(/,/g, ''), 10);\n  if (isNaN(parsed)) {\n    return direction * Infinity;\n  }\n  return parsed;\n}\n\nexport default Component.extend({\n  intercomEventService: service(),\n  sortBy: null,\n  canSortByTitleAndAdmin: false,\n  sortAscending: false,\n  isSortingDescending: not('sortAscending'),\n  dummyContent: [1, 2, 3],\n\n  didInsertElement() {\n    this._super(...arguments);\n    schedule('actions', this, () => {\n      if (!this.sortBy) {\n        this.set('sortBy', this.get('displayedStats.firstObject.path'));\n      }\n    });\n  },\n\n  sortedStats: computed('stats', 'sortBy', 'sortAscending', function() {\n    let stats = this.stats || [];\n    let sortPath = this.sortBy;\n    let lexicalFields = ['title', 'campaign_title', 'admin.name'];\n    let direction = this.sortAscending ? 1 : -1;\n\n    return stats.toArray().sort((a, b) => {\n      let aValue = (a.get(sortPath) || '').toLowerCase();\n      let bValue = (b.get(sortPath) || '').toLowerCase();\n\n      if (!lexicalFields.includes(sortPath)) {\n        aValue = parseSortingFloat(aValue, direction);\n        bValue = parseSortingFloat(bValue, direction);\n      }\n\n      if (aValue > bValue) {\n        return 1 * direction;\n      } else if (aValue < bValue) {\n        return -1 * direction;\n      }\n\n      return 0;\n    });\n  }),\n\n  globalStat: findBy('stats', 'is_global'),\n  statsExcludingGlobal: rejectBy('sortedStats', 'is_global', true),\n\n  canSortBy(field) {\n    return field === 'title' || field === 'admin.name' ? this.canSortByTitleAndAdmin : true;\n  },\n\n  actions: {\n    sort(sortBy) {\n      if (!this.canSortBy(sortBy)) {\n        return;\n      }\n\n      this.intercomEventService.trackEvent(`${this.page}-insights-sorted`, {\n        app_id_code: this.get('app.id'),\n        admin_id: this.get('admin.id'),\n        sort_by: this.sortBy,\n      });\n\n      if (sortBy === this.sortBy) {\n        this.toggleProperty('sortAscending');\n      } else {\n        this.set('sortBy', sortBy);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<th class=\\\"tbl__cell insights__header-cell\\\" {{ action \\\"sort\\\" }}>\\n  <span class=\\\"t__label {{unless disallowSorting \\\"t__solo-link\\\"}}\\\">{{name}}</span>\\n  {{#if isSortingByStat}}<span class=\\\"text-gray\\\" data-test-stat-sorting-active={{if isDescending \\\"desc\\\" \\\"asc\\\"}}>{{sort-icon-pattern descending=isDescending}}</span>{{/if}}\\n</th>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<th class=\\\"tbl__cell insights__header-cell\\\" {{ action \\\"sort\\\" }}>\\n  <span class=\\\"t__label {{unless disallowSorting \\\"t__solo-link\\\"}}\\\">{{name}}</span>\\n  {{#if isSortingByStat}}<span class=\\\"text-gray\\\" data-test-stat-sorting-active={{if isDescending \\\"desc\\\" \\\"asc\\\"}}>{{sort-icon-pattern descending=isDescending}}</span>{{/if}}\\n</th>\\n\",\"moduleName\":\"embercom/components/insights/variation-stats-header-cell-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/insights/variation-stats-header-cell-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { equalToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  disallowSorting: false,\n  tagName: '',\n  isSortingByStat: equalToProperty('activeSortPath', 'path'),\n  actions: {\n    sort() {\n      if (!this.disallowSorting) {\n        // eslint-disable-next-line ember/closure-actions\n        this.sendAction('sort', this.path);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless cdas}}\\n  <InstallationInstructions::CodeComponent @language={{language}}>\\n\\n    UserAttributes userAttributes = new UserAttributes.Builder()\\n      .withCustomAttribute(\\\"paid_subscriber\\\", \\\"Yes\\\");\\n      .withCustomAttribute(\\\"monthly_spend\\\", 155.5);\\n      .withCustomAttribute(\\\"documents_created\\\", 3);\\n      .build();\\n\\n    Intercom.client().updateUser(userAttributes);\\n  </InstallationInstructions::CodeComponent>\\n{{else}}\\n  <InstallationInstructions::CodeComponent @language={{language}} @cdaList={{latestCdaList}}>\\n    UserAttributes userAttributes = new UserAttributes.Builder()\\n      {{#each latestCdaList as |cda|}}\\n        .withCustomAttribute(\\\"{{cda.key}}\\\", _________); {{cda.value}}\\n      {{/each}}\\n      {{#if (and previousCdaList splitCodeSnippet)}}\\n\\n        // Previously added custom data attributes\\n      {{/if}}\\n      {{#each previousCdaList as |cda|}}\\n        .withCustomAttribute(\\\"{{cda.key}}\\\", _________); {{cda.value}}\\n      {{/each}}\\n        .build();\\n\\n    Intercom.client().updateUser(userAttributes);\\n  </InstallationInstructions::CodeComponent>\\n{{/unless}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless cdas}}\\n  <InstallationInstructions::CodeComponent @language={{language}}>\\n\\n    UserAttributes userAttributes = new UserAttributes.Builder()\\n      .withCustomAttribute(\\\"paid_subscriber\\\", \\\"Yes\\\");\\n      .withCustomAttribute(\\\"monthly_spend\\\", 155.5);\\n      .withCustomAttribute(\\\"documents_created\\\", 3);\\n      .build();\\n\\n    Intercom.client().updateUser(userAttributes);\\n  </InstallationInstructions::CodeComponent>\\n{{else}}\\n  <InstallationInstructions::CodeComponent @language={{language}} @cdaList={{latestCdaList}}>\\n    UserAttributes userAttributes = new UserAttributes.Builder()\\n      {{#each latestCdaList as |cda|}}\\n        .withCustomAttribute(\\\"{{cda.key}}\\\", _________); {{cda.value}}\\n      {{/each}}\\n      {{#if (and previousCdaList splitCodeSnippet)}}\\n\\n        // Previously added custom data attributes\\n      {{/if}}\\n      {{#each previousCdaList as |cda|}}\\n        .withCustomAttribute(\\\"{{cda.key}}\\\", _________); {{cda.value}}\\n      {{/each}}\\n        .build();\\n\\n    Intercom.client().updateUser(userAttributes);\\n  </InstallationInstructions::CodeComponent>\\n{{/unless}}\\n\",\"moduleName\":\"embercom/components/installation-instructions/android-installation-custom-data-snippet-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/installation-instructions/android-installation-custom-data-snippet-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport baseCustomDataSnippetComponent from 'embercom/components/installation-instructions/base-custom-data-snippet-component';\n\nexport default baseCustomDataSnippetComponent.extend({\n  language: 'java',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { capitalize } from '@ember/string';\nexport default Component.extend({\n  cdas: null,\n\n  latestDate: computed('cdas', function() {\n    return this.cdas.reduce((cda1, cda2) => {\n      return new Date(cda1.created_at) > new Date(cda2.created_at) ? cda1 : cda2;\n    }).created_at;\n  }),\n\n  latestCdaList: computed('cdas', 'latestDate', 'language', function() {\n    let language = this.language === 'unknown' ? 'javascript' : this.language;\n    let latestCdas = this.cdas.filterBy('created_at', this.latestDate);\n\n    return this._convertCdasToCode(latestCdas, language);\n  }),\n\n  previousCdaList: computed('cdas', 'latestDate', 'language', function() {\n    let language = this.language === 'unknown' ? 'javascript' : this.language;\n    let previousCdas = this.cdas.rejectBy('created_at', this.latestDate);\n\n    return this._convertCdasToCode(previousCdas, language);\n  }),\n\n  _convertCdasToCode(cdaList, language) {\n    return cdaList.map(cda => {\n      return {\n        key: cda['name'],\n        value: this._languageValue(cda, language),\n      };\n    });\n  },\n\n  _languageValue(cda, language) {\n    let type = cda['data_type'] || capitalize(cda['type']);\n    let comment = this._formatType(type);\n\n    return {\n      javascript: `// ${comment}`,\n      singlePage: `// ${comment}`,\n      rails: `# ${comment}`,\n      objectivec: `// ${comment}`,\n      swift: `// ${comment}`,\n      android: `// ${comment}`,\n    }[language];\n  },\n\n  _formatType(type = '') {\n    return type === 'Float' || type === 'Fixnum' ? 'Number' : type;\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"code-block__hidden-output\\\">\\n  {{yield}}\\n</div>\\n<pre class=\\\"code-block__line-numbers\\\"></pre>\\n<pre class=\\\"code-block__code\\\" data-test-code-block={{language}}><code class=\\\"code-block__code__highlight hljs\\\"></code></pre>\\n<div class=\\\"code-block__clipboard-button\\\">\\n  <IcButton\\n    data-test-copy-code-button\\n    @label=\\\"Copy code\\\"\\n    @type=\\\"primary\\\"\\n    @icon=\\\"duplicate\\\"\\n    @onClick={{action \\\"codeCopied\\\"}}\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"code-block__hidden-output\\\">\\n  {{yield}}\\n</div>\\n<pre class=\\\"code-block__line-numbers\\\"></pre>\\n<pre class=\\\"code-block__code\\\" data-test-code-block={{language}}><code class=\\\"code-block__code__highlight hljs\\\"></code></pre>\\n<div class=\\\"code-block__clipboard-button\\\">\\n  <IcButton\\n    data-test-copy-code-button\\n    @label=\\\"Copy code\\\"\\n    @type=\\\"primary\\\"\\n    @icon=\\\"duplicate\\\"\\n    @onClick={{action \\\"codeCopied\\\"}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/installation-instructions/code-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/installation-instructions/code-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport $ from 'jquery';\nimport Clipboard from 'clipboard';\nimport { inject as service } from '@ember/service';\nimport { htmlUnescape } from 'embercom/lib/html-unescape';\nimport { captureException } from 'embercom/lib/sentry';\n\n// https://github.com/sindresorhus/strip-indent/blob/master/index.js\nconst unindent = str => {\n  let match = str.match(/^[ \\t]*(?=\\S)/gm);\n\n  if (!match) {\n    return str;\n  }\n\n  let indent = Math.min.apply(\n    Math,\n    match.map(function(el) {\n      return el.length;\n    }),\n  );\n\n  let re = new RegExp(`^[ \\\\t]{${indent}}`, 'gm');\n\n  return indent > 0 ? str.replace(re, '') : str;\n};\n\nconst stripHTMLComments = str => {\n  return str.replace(/<!---->/g, '');\n};\n\nconst trim = str => {\n  return str.replace(/^\\s+|\\s+$/g, '');\n};\n\nconst lineCount = str => {\n  return str.split('\\n').length;\n};\n\nexport default Component.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  classNames: ['code-block'],\n\n  language: null,\n  lineNumbers: null,\n  onCopyCode: null,\n\n  cdaList: null,\n\n  clipboard: null,\n\n  didInsertElement() {\n    this._super(...arguments);\n    let copyCodeButton = this.element.querySelector('.code-block__clipboard-button');\n    this.clipboard = new Clipboard(copyCodeButton);\n    this.clipboard.on('success', () => {\n      this.notificationsService.notifyConfirmation('Code copied to clipboard');\n    });\n    this.clipboard.on('error', () => {\n      this.notificationsService.notifyWarning(\n        'Your browser does not support copying directly to the clipboard. Please use Ctrl - C to do this instead.',\n      );\n    });\n  },\n\n  didRender() {\n    this._super(...arguments);\n    let $currentView = $(this.element);\n    let $hiddenView = $currentView.find('.code-block__hidden-output');\n    let $hiddenViewSubview = $hiddenView.find('.ember-view');\n    let $content;\n\n    if ($hiddenViewSubview.length) {\n      $content = $hiddenViewSubview;\n    } else {\n      $content = $hiddenView;\n    }\n\n    let code = htmlUnescape($content.html());\n    code = unindent(code);\n    code = code.replace(/code-script>/g, 'script>');\n    code = stripHTMLComments(code);\n    code = trim(code);\n\n    let lineNumbers = [];\n    for (let i = 1; i <= lineCount(code); i++) {\n      lineNumbers.push(i);\n    }\n    $currentView.find('.code-block__line-numbers').html(lineNumbers.join('\\n'));\n\n    let highlightedCode;\n    if (this.language) {\n      highlightedCode = hljs.highlight(this.language, code).value;\n    } else {\n      highlightedCode = hljs.highlightAuto(code).value;\n    }\n\n    $currentView.find('.code-block__code__highlight').html(highlightedCode);\n\n    let $copyToClipboardButton = $currentView.find('.code-block__clipboard-button');\n    $copyToClipboardButton.attr('data-clipboard-text', code);\n  },\n\n  willDestroyElement() {\n    try {\n      this.clipboard.destroy();\n    } catch (e) {\n      captureException(e, {\n        fingerprint: ['clipboard.destroy', 'code-component'],\n      });\n    }\n    this._super(...arguments);\n  },\n\n  click() {\n    // eslint-disable-next-line ember/closure-actions\n    this.sendAction('clickHandler');\n  },\n\n  actions: {\n    codeCopied() {\n      this.intercomEventService.trackEvent('code-snippet-copy-button-clicked', {\n        action: 'clicked',\n        object: `${this.rerenderOnChange}_code`,\n        place: this.cdaList ? 'cda_tool' : 'code_component',\n        owner: 'growth',\n      });\n\n      if (typeof this.onCopyCode === 'function') {\n        this.onCopyCode();\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{! The horrifying formatting here is intentional and necessary. }}\\n{{#if inline}}\\n<code-script>\\n  {{~yield~}}\\n</code-script>\\n{{else}}\\n<code-script>\\n{{yield~}}\\n</code-script>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{! The horrifying formatting here is intentional and necessary. }}\\n{{#if inline}}\\n<code-script>\\n  {{~yield~}}\\n</code-script>\\n{{else}}\\n<code-script>\\n{{yield~}}\\n</code-script>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/installation-instructions/code-script-tag-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/installation-instructions/code-script-tag-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nexport default Component.extend({\n  tagName: '',\n\n  inline: false,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless cdas}}\\n  <div class=\\\"test__cordova-update-user-attributes-fallback\\\">\\n    <InstallationInstructions::CodeComponent @language={{language}}>\\n    intercom.updateUser({\\n        custom_attributes: {\\n            paid_subscriber : true,\\n            monthly_spend: 155.5,\\n            documents_created: 3\\n        }\\n    });\\n    </InstallationInstructions::CodeComponent>\\n  </div>\\n{{else}}\\n  <div class=\\\"test__cordova-update-user-attributes\\\">\\n    <InstallationInstructions::CodeComponent @language={{language}} @cdaList={{latestCdaList}}>\\n      intercom.updateUser({\\n        custom_attributes: {\\n      {{#each latestCdaList as |cda|}}\\n        {{#unless (and (eq cda latestCdaList.lastObject) (not previousCdaList))}}\\n          {{cda.key}}: _________, {{cda.value}}\\n        {{else}}\\n          {{cda.key}}: _________ {{cda.value}}\\n        {{/unless}}\\n      {{/each}}\\n      {{#if (and previousCdaList splitCodeSnippet)}}\\n\\n      // Previously added custom data attributes\\n      {{/if}}\\n      {{#each previousCdaList as |cda|}}\\n        {{#unless (eq cda previousCdaList.lastObject)}}\\n          {{cda.key}}: _________, {{cda.value}}\\n        {{else}}\\n          {{cda.key}}: _________ {{cda.value}}\\n        {{/unless}}\\n      {{/each}}\\n      }\\n    });\\n    </InstallationInstructions::CodeComponent>\\n  </div>\\n{{/unless}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless cdas}}\\n  <div class=\\\"test__cordova-update-user-attributes-fallback\\\">\\n    <InstallationInstructions::CodeComponent @language={{language}}>\\n    intercom.updateUser({\\n        custom_attributes: {\\n            paid_subscriber : true,\\n            monthly_spend: 155.5,\\n            documents_created: 3\\n        }\\n    });\\n    </InstallationInstructions::CodeComponent>\\n  </div>\\n{{else}}\\n  <div class=\\\"test__cordova-update-user-attributes\\\">\\n    <InstallationInstructions::CodeComponent @language={{language}} @cdaList={{latestCdaList}}>\\n      intercom.updateUser({\\n        custom_attributes: {\\n      {{#each latestCdaList as |cda|}}\\n        {{#unless (and (eq cda latestCdaList.lastObject) (not previousCdaList))}}\\n          {{cda.key}}: _________, {{cda.value}}\\n        {{else}}\\n          {{cda.key}}: _________ {{cda.value}}\\n        {{/unless}}\\n      {{/each}}\\n      {{#if (and previousCdaList splitCodeSnippet)}}\\n\\n      // Previously added custom data attributes\\n      {{/if}}\\n      {{#each previousCdaList as |cda|}}\\n        {{#unless (eq cda previousCdaList.lastObject)}}\\n          {{cda.key}}: _________, {{cda.value}}\\n        {{else}}\\n          {{cda.key}}: _________ {{cda.value}}\\n        {{/unless}}\\n      {{/each}}\\n      }\\n    });\\n    </InstallationInstructions::CodeComponent>\\n  </div>\\n{{/unless}}\\n\",\"moduleName\":\"embercom/components/installation-instructions/cordova-installation-custom-data-snippet-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/installation-instructions/cordova-installation-custom-data-snippet-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport baseCustomDataSnippetComponent from 'embercom/components/installation-instructions/base-custom-data-snippet-component';\n\nexport default baseCustomDataSnippetComponent.extend({\n  language: 'javascript',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<InstallationInstructions::CodeComponent @rerenderOnChange={{language}} @language={{highlightLanguage}}>\\n  {{#unless isSegment}}\\n    {{#if (eq language 'rails')}}\\n      OpenSSL::HMAC.hexdigest(\\n        'sha256', # hash function\\n        '{{apiSecret}}', # secret key (keep safe!)\\n        {{#if (eq userIdentifier 'email')}}\\n        current_user.email # user's email address\\n        {{else}}\\n        current_user.id.to_s # user's id\\n        {{/if}}\\n      )\\n    {{else if (eq language 'django')}}\\n      import hmac\\n      import hashlib\\n\\n      hmac.new(\\n        b'{{apiSecret}}', # secret key (keep safe!)\\n        {{#if (eq userIdentifier 'email')}}\\n        bytes(request.user.email, encoding='utf-8'), # user's email address\\n        {{else}}\\n        bytes(request.user.id, encoding='utf-8'), # user's id\\n        {{/if}}\\n        digestmod=hashlib.sha256 # hash function\\n      ).hexdigest()\\n    {{else if (eq language 'php')}}\\n      hash_hmac(\\n        'sha256', // hash function\\n        {{#if (eq userIdentifier 'email')}}\\n        $user->email, // user's email address\\n        {{else}}\\n        $user->id, // user's id\\n        {{/if}}\\n        '{{apiSecret}}' // secret key (keep safe!)\\n      );\\n    {{/if}}\\n  {{else}}\\n    analytics.identify(\\\"{{selectedExample.userId}}\\\", {\\n      …\\n    }, {\\n      integrations: {\\n        Intercom : {\\n          user_hash : \\\"{{selectedExample.userHash}}\\\"\\n        }\\n      }\\n    });\\n  {{/unless}}\\n</InstallationInstructions::CodeComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<InstallationInstructions::CodeComponent @rerenderOnChange={{language}} @language={{highlightLanguage}}>\\n  {{#unless isSegment}}\\n    {{#if (eq language 'rails')}}\\n      OpenSSL::HMAC.hexdigest(\\n        'sha256', # hash function\\n        '{{apiSecret}}', # secret key (keep safe!)\\n        {{#if (eq userIdentifier 'email')}}\\n        current_user.email # user's email address\\n        {{else}}\\n        current_user.id.to_s # user's id\\n        {{/if}}\\n      )\\n    {{else if (eq language 'django')}}\\n      import hmac\\n      import hashlib\\n\\n      hmac.new(\\n        b'{{apiSecret}}', # secret key (keep safe!)\\n        {{#if (eq userIdentifier 'email')}}\\n        bytes(request.user.email, encoding='utf-8'), # user's email address\\n        {{else}}\\n        bytes(request.user.id, encoding='utf-8'), # user's id\\n        {{/if}}\\n        digestmod=hashlib.sha256 # hash function\\n      ).hexdigest()\\n    {{else if (eq language 'php')}}\\n      hash_hmac(\\n        'sha256', // hash function\\n        {{#if (eq userIdentifier 'email')}}\\n        $user->email, // user's email address\\n        {{else}}\\n        $user->id, // user's id\\n        {{/if}}\\n        '{{apiSecret}}' // secret key (keep safe!)\\n      );\\n    {{/if}}\\n  {{else}}\\n    analytics.identify(\\\"{{selectedExample.userId}}\\\", {\\n      …\\n    }, {\\n      integrations: {\\n        Intercom : {\\n          user_hash : \\\"{{selectedExample.userHash}}\\\"\\n        }\\n      }\\n    });\\n  {{/unless}}\\n</InstallationInstructions::CodeComponent>\\n\",\"moduleName\":\"embercom/components/installation-instructions/hmac-snippet-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/installation-instructions/hmac-snippet-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nexport default Component.extend({\n  language: 'rails',\n  highlightLanguage: computed('language', function() {\n    if (this.language === 'rails') {\n      return 'ruby';\n    } else if (this.language === 'django') {\n      return 'python';\n    } else {\n      return this.language;\n    }\n  }),\n  userIdentifier: 'email',\n  isSegment: false,\n\n  segmentExamples: computed('apiSecret', function() {\n    let apiSecret = this.apiSecret;\n\n    return {\n      rails: {\n        userId: '<%= current_user.id %>',\n        userHash: `<%= OpenSSL::HMAC.hexdigest(\"sha256\", \"${apiSecret}\", current_user.id.to_s) %>`,\n      },\n      django: {\n        userId: '{{ request.user.id|escapejs }}',\n        userHash: `{{ hmac.new(b'${apiSecret}', bytes(request.user.id, encoding='utf-8'), digestmod=hashlib.sha256).hexdigest() }}`,\n      },\n      php: {\n        userId: '<?php echo json_encode($user->id); ?>',\n        userHash: `<?php echo hash_hmac(\"sha256\", $user->id, \"${apiSecret}\"); ?>`,\n      },\n    };\n  }),\n\n  selectedExample: computed('examples', 'language', function() {\n    return this.segmentExamples[this.language];\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"web-installation__snippet__select\\\">\\n  <span class=\\\"web-installation__snippet__select__copy\\\">\\n    Show example code for\\n  </span>\\n  <SelectComponent\\n    data-test-snippet-dropdown={{true}}\\n    @options={{options}}\\n    @selectedValue={{selectedValue}}\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"web-installation__snippet__select\\\">\\n  <span class=\\\"web-installation__snippet__select__copy\\\">\\n    Show example code for\\n  </span>\\n  <SelectComponent\\n    data-test-snippet-dropdown={{true}}\\n    @options={{options}}\\n    @selectedValue={{selectedValue}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/installation-instructions/ios-installation-snippet-select-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/installation-instructions/ios-installation-snippet-select-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  options: [\n    { label: 'Swift', value: 'swift' },\n    { label: 'Objective C', value: 'objectivec' },\n  ],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless cdas}}\\n  <div class=\\\"test__objectivec-code-update-user-attributes-fallback\\\">\\n    <InstallationInstructions::CodeComponent @language={{language}}>\\n    ICMUserAttributes *userAttributes = [ICMUserAttributes new];\\n    userAttributes.customAttributes = @{@\\\"paid_subscriber\\\" : @YES,\\n                                      @\\\"monthly_spend\\\" : @155.5,\\n                                      @\\\"team_mates\\\" : @3};\\n    [Intercom updateUser:userAttributes];\\n    </InstallationInstructions::CodeComponent>\\n  </div>\\n{{else}}\\n  <div class=\\\"test__objectivec-code-update-user-attributes\\\">\\n    <InstallationInstructions::CodeComponent @language={{language}} @cdaList={{latestCdaList}}>\\n      ICMUserAttributes *userAttributes = [ICMUserAttributes new];\\n      userAttributes.customAttributes = @{\\n        {{#each latestCdaList as |cda|}}\\n          {{#unless (and (eq cda latestCdaList.lastObject) (not previousCdaList))}}\\n          @\\\"{{cda.key}}\\\": &lt;#_________#&gt;, {{cda.value}}\\n          {{else}}\\n          @\\\"{{cda.key}}\\\": &lt;#_________#&gt; {{cda.value}}\\n          {{/unless}}\\n        {{/each}}\\n        {{#if (and previousCdaList splitCodeSnippet)}}\\n\\n          // Previously added custom data attributes\\n        {{/if}}\\n        {{#each previousCdaList as |cda|}}\\n          {{#unless (eq cda previousCdaList.lastObject)}}\\n          @\\\"{{cda.key}}\\\": &lt;#_________#&gt;, {{cda.value}}\\n          {{else}}\\n          @\\\"{{cda.key}}\\\": &lt;#_________#&gt; {{cda.value}}\\n          {{/unless}}\\n        {{/each}}\\n        };\\n      [Intercom updateUser:userAttributes];\\n    </InstallationInstructions::CodeComponent>\\n  </div>\\n{{/unless}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless cdas}}\\n  <div class=\\\"test__objectivec-code-update-user-attributes-fallback\\\">\\n    <InstallationInstructions::CodeComponent @language={{language}}>\\n    ICMUserAttributes *userAttributes = [ICMUserAttributes new];\\n    userAttributes.customAttributes = @{@\\\"paid_subscriber\\\" : @YES,\\n                                      @\\\"monthly_spend\\\" : @155.5,\\n                                      @\\\"team_mates\\\" : @3};\\n    [Intercom updateUser:userAttributes];\\n    </InstallationInstructions::CodeComponent>\\n  </div>\\n{{else}}\\n  <div class=\\\"test__objectivec-code-update-user-attributes\\\">\\n    <InstallationInstructions::CodeComponent @language={{language}} @cdaList={{latestCdaList}}>\\n      ICMUserAttributes *userAttributes = [ICMUserAttributes new];\\n      userAttributes.customAttributes = @{\\n        {{#each latestCdaList as |cda|}}\\n          {{#unless (and (eq cda latestCdaList.lastObject) (not previousCdaList))}}\\n          @\\\"{{cda.key}}\\\": &lt;#_________#&gt;, {{cda.value}}\\n          {{else}}\\n          @\\\"{{cda.key}}\\\": &lt;#_________#&gt; {{cda.value}}\\n          {{/unless}}\\n        {{/each}}\\n        {{#if (and previousCdaList splitCodeSnippet)}}\\n\\n          // Previously added custom data attributes\\n        {{/if}}\\n        {{#each previousCdaList as |cda|}}\\n          {{#unless (eq cda previousCdaList.lastObject)}}\\n          @\\\"{{cda.key}}\\\": &lt;#_________#&gt;, {{cda.value}}\\n          {{else}}\\n          @\\\"{{cda.key}}\\\": &lt;#_________#&gt; {{cda.value}}\\n          {{/unless}}\\n        {{/each}}\\n        };\\n      [Intercom updateUser:userAttributes];\\n    </InstallationInstructions::CodeComponent>\\n  </div>\\n{{/unless}}\\n\",\"moduleName\":\"embercom/components/installation-instructions/ios-objectivec-installation-custom-data-snippet-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/installation-instructions/ios-objectivec-installation-custom-data-snippet-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport baseCustomDataSnippetComponent from 'embercom/components/installation-instructions/base-custom-data-snippet-component';\n\nexport default baseCustomDataSnippetComponent.extend({\n  language: 'objectivec',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless cdas}}\\n  <div class=\\\"test__swift-code-update-user-attributes-fallback\\\">\\n    <InstallationInstructions::CodeComponent>\\n    let userAttributes = ICMUserAttributes()\\n    userAttributes.customAttributes = [\\\"paid_subscriber\\\": true,\\n                                       \\\"monthly_spend\\\" : 155.5,\\n                                       \\\"team_mates\\\" : 3]\\n    Intercom.updateUser(userAttributes)\\n    </InstallationInstructions::CodeComponent>\\n  </div>\\n{{else}}\\n  <div class=\\\"test__swift-code-update-user-attributes\\\">\\n    <InstallationInstructions::CodeComponent @language={{language}} @cdaList={{latestCdaList}}>\\n    let userAttributes = ICMUserAttributes()\\n      userAttributes.customAttributes = [\\n      {{#each latestCdaList as |cda|}}\\n        {{#unless (and (eq cda latestCdaList.lastObject) (not previousCdaList))}}\\n        \\\"{{cda.key}}\\\": &lt;#_________#&gt;, {{cda.value}}\\n        {{else}}\\n        \\\"{{cda.key}}\\\": &lt;#_________#&gt; {{cda.value}}\\n        {{/unless}}\\n      {{/each}}\\n      {{#if (and previousCdaList splitCodeSnippet)}}\\n\\n        // Previously added custom data attributes\\n      {{/if}}\\n      {{#each previousCdaList as |cda|}}\\n        {{#unless (eq cda previousCdaList.lastObject)}}\\n        \\\"{{cda.key}}\\\": &lt;#_________#&gt;, {{cda.value}}\\n        {{else}}\\n        \\\"{{cda.key}}\\\": &lt;#_________#&gt; {{cda.value}}\\n        {{/unless}}\\n      {{/each}}\\n      ]\\n      Intercom.updateUser(userAttributes)\\n    </InstallationInstructions::CodeComponent>\\n  </div>\\n{{/unless}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless cdas}}\\n  <div class=\\\"test__swift-code-update-user-attributes-fallback\\\">\\n    <InstallationInstructions::CodeComponent>\\n    let userAttributes = ICMUserAttributes()\\n    userAttributes.customAttributes = [\\\"paid_subscriber\\\": true,\\n                                       \\\"monthly_spend\\\" : 155.5,\\n                                       \\\"team_mates\\\" : 3]\\n    Intercom.updateUser(userAttributes)\\n    </InstallationInstructions::CodeComponent>\\n  </div>\\n{{else}}\\n  <div class=\\\"test__swift-code-update-user-attributes\\\">\\n    <InstallationInstructions::CodeComponent @language={{language}} @cdaList={{latestCdaList}}>\\n    let userAttributes = ICMUserAttributes()\\n      userAttributes.customAttributes = [\\n      {{#each latestCdaList as |cda|}}\\n        {{#unless (and (eq cda latestCdaList.lastObject) (not previousCdaList))}}\\n        \\\"{{cda.key}}\\\": &lt;#_________#&gt;, {{cda.value}}\\n        {{else}}\\n        \\\"{{cda.key}}\\\": &lt;#_________#&gt; {{cda.value}}\\n        {{/unless}}\\n      {{/each}}\\n      {{#if (and previousCdaList splitCodeSnippet)}}\\n\\n        // Previously added custom data attributes\\n      {{/if}}\\n      {{#each previousCdaList as |cda|}}\\n        {{#unless (eq cda previousCdaList.lastObject)}}\\n        \\\"{{cda.key}}\\\": &lt;#_________#&gt;, {{cda.value}}\\n        {{else}}\\n        \\\"{{cda.key}}\\\": &lt;#_________#&gt; {{cda.value}}\\n        {{/unless}}\\n      {{/each}}\\n      ]\\n      Intercom.updateUser(userAttributes)\\n    </InstallationInstructions::CodeComponent>\\n  </div>\\n{{/unless}}\\n\",\"moduleName\":\"embercom/components/installation-instructions/ios-swift-installation-custom-data-snippet-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/installation-instructions/ios-swift-installation-custom-data-snippet-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport baseCustomDataSnippetComponent from 'embercom/components/installation-instructions/base-custom-data-snippet-component';\n\nexport default baseCustomDataSnippetComponent.extend({\n  language: 'swift',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\nwindow.Intercom(\\\"boot\\\", {\\n  app_id: \\\"{{appIdCode}}\\\"{{maybeComma}}\\n  {{#unless installationIsAnonymous}}\\n  name: \\\"{{name}}\\\", // TODO: The current logged in user's full name\\n  email: \\\"{{email}}\\\", // TODO: The current logged in user's email address.\\n  created_at: {{createdAt}} // TODO: The current logged in user's sign-up date as a Unix timestamp.\\n  {{/unless}}\\n});\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\nwindow.Intercom(\\\"boot\\\", {\\n  app_id: \\\"{{appIdCode}}\\\"{{maybeComma}}\\n  {{#unless installationIsAnonymous}}\\n  name: \\\"{{name}}\\\", // TODO: The current logged in user's full name\\n  email: \\\"{{email}}\\\", // TODO: The current logged in user's email address.\\n  created_at: {{createdAt}} // TODO: The current logged in user's sign-up date as a Unix timestamp.\\n  {{/unless}}\\n});\\n\",\"moduleName\":\"embercom/components/installation-instructions/single-page-app-snippet-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/installation-instructions/single-page-app-snippet-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  language: null,\n  installationIsAnonymous: true,\n  maybeComma: ternary('installationIsAnonymous', '', ','),\n  name: 'Nikola Tesla',\n  email: 'nikola@example.com',\n  createdAt: '1312182000',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless cdas}}\\n  <InstallationInstructions::WebInstallationSnippetSelectComponent @selectedValue={{language}} />\\n\\n  <div class=\\\"h-2\\\"></div>\\n  <InstallationInstructions::CodeComponent @rerenderOnChange={{language}} @language=\\\"javascript\\\">\\n    window.intercomSettings = {\\n      app_id: \\\"abc1234\\\",\\n      email: \\\"customer@example.com\\\",\\n      //…\\n      \\\"plan_name\\\": \\\"{{planName}}\\\", // Strings\\n      \\\"monthly_spend\\\": {{monthlySpend}}, // Integers or Floats\\n      \\\"upgraded_at\\\": {{upgradedAt}}, // Dates (unix timestamp + end key name with \\\"_at\\\")\\n      \\\"has_purchased\\\": {{hasPurchased}}, // Booleans\\n      \\\"custom_domain\\\": {{customDomain}}, // Send null when no value exists for a user\\n    }\\n  </InstallationInstructions::CodeComponent>\\n{{else}}\\n  <div class=\\\"h-2\\\"></div>\\n  <InstallationInstructions::CodeComponent @rerenderOnChange={{language}} @language=\\\"javascript\\\" @cdaList={{latestCdaList}}>\\n    window.intercomSettings = {\\n      // Put quotes around text strings\\n      // Send numbers as integers or floats without quotes\\n      // Send dates as a unix timestamp in seconds and end key names with \\\"_at\\\"\\n      // Send null when no value exists for a user\\n\\n      {{#each latestCdaList as |cda|}}\\n        {{#unless (and (eq cda latestCdaList.lastObject) (not previousCdaList))}}\\n      \\\"{{cda.key}}\\\": _________, {{cda.value}}\\n        {{else}}\\n      \\\"{{cda.key}}\\\": _________ {{cda.value}}\\n        {{/unless}}\\n      {{/each}}\\n      {{#if (and previousCdaList splitCodeSnippet)}}\\n\\n      // Previously added custom data attributes\\n      {{/if}}\\n      {{#each previousCdaList as |cda|}}\\n        {{#unless (eq cda previousCdaList.lastObject)}}\\n      \\\"{{cda.key}}\\\": _________, {{cda.value}}\\n        {{else}}\\n      \\\"{{cda.key}}\\\": _________ {{cda.value}}\\n        {{/unless}}\\n      {{/each}}\\n    }\\n  </InstallationInstructions::CodeComponent>\\n{{/unless}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless cdas}}\\n  <InstallationInstructions::WebInstallationSnippetSelectComponent @selectedValue={{language}} />\\n\\n  <div class=\\\"h-2\\\"></div>\\n  <InstallationInstructions::CodeComponent @rerenderOnChange={{language}} @language=\\\"javascript\\\">\\n    window.intercomSettings = {\\n      app_id: \\\"abc1234\\\",\\n      email: \\\"customer@example.com\\\",\\n      //…\\n      \\\"plan_name\\\": \\\"{{planName}}\\\", // Strings\\n      \\\"monthly_spend\\\": {{monthlySpend}}, // Integers or Floats\\n      \\\"upgraded_at\\\": {{upgradedAt}}, // Dates (unix timestamp + end key name with \\\"_at\\\")\\n      \\\"has_purchased\\\": {{hasPurchased}}, // Booleans\\n      \\\"custom_domain\\\": {{customDomain}}, // Send null when no value exists for a user\\n    }\\n  </InstallationInstructions::CodeComponent>\\n{{else}}\\n  <div class=\\\"h-2\\\"></div>\\n  <InstallationInstructions::CodeComponent @rerenderOnChange={{language}} @language=\\\"javascript\\\" @cdaList={{latestCdaList}}>\\n    window.intercomSettings = {\\n      // Put quotes around text strings\\n      // Send numbers as integers or floats without quotes\\n      // Send dates as a unix timestamp in seconds and end key names with \\\"_at\\\"\\n      // Send null when no value exists for a user\\n\\n      {{#each latestCdaList as |cda|}}\\n        {{#unless (and (eq cda latestCdaList.lastObject) (not previousCdaList))}}\\n      \\\"{{cda.key}}\\\": _________, {{cda.value}}\\n        {{else}}\\n      \\\"{{cda.key}}\\\": _________ {{cda.value}}\\n        {{/unless}}\\n      {{/each}}\\n      {{#if (and previousCdaList splitCodeSnippet)}}\\n\\n      // Previously added custom data attributes\\n      {{/if}}\\n      {{#each previousCdaList as |cda|}}\\n        {{#unless (eq cda previousCdaList.lastObject)}}\\n      \\\"{{cda.key}}\\\": _________, {{cda.value}}\\n        {{else}}\\n      \\\"{{cda.key}}\\\": _________ {{cda.value}}\\n        {{/unless}}\\n      {{/each}}\\n    }\\n  </InstallationInstructions::CodeComponent>\\n{{/unless}}\\n\",\"moduleName\":\"embercom/components/installation-instructions/web-installation-javascript-custom-data-snippet-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/installation-instructions/web-installation-javascript-custom-data-snippet-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { computed } from '@ember/object';\nimport { reads } from '@ember/object/computed';\nimport baseCustomDataSnippetComponent from 'embercom/components/installation-instructions/base-custom-data-snippet-component';\n\nexport default baseCustomDataSnippetComponent.extend({\n  language: 'unknown',\n\n  planName: reads('example.planName'),\n  monthlySpend: reads('example.monthlySpend'),\n  upgradedAt: reads('example.upgradedAt'),\n  hasPurchased: reads('example.hasPurchased'),\n  customDomain: reads('example.customDomain'),\n\n  example: computed('language', function() {\n    let language = this.language;\n    let languageIsDefined = Object.keys(this.examples).includes(language);\n\n    if (languageIsDefined) {\n      return this.get(`examples.${language}`);\n    } else {\n      return this.get('examples.unknown');\n    }\n  }),\n\n  examples: computed(function() {\n    return {\n      unknown: {\n        planName: 'basic',\n        monthlySpend: 49.99,\n        upgradedAt: 1350466020,\n        hasPurchased: true,\n        customDomain: 'null',\n      },\n      rails: {\n        planName: '<%= current_user.plan_name %>',\n        monthlySpend: '<%= current_user.montly_spend %>',\n        upgradedAt: '<%= current_user.upgraded_at.to_i %>',\n        hasPurchased: '<%= current_user.has_purchased? %>',\n        customDomain: '<%= current_user.custom_domain %>',\n      },\n      django: {\n        planName: '{{ request.user.plan_name|escapejs }}',\n        monthlySpend: '{{ request.user.monthly_spend }}',\n        upgradedAt: '{{ request.user.updated_at|date:\"U\" }}',\n        hasPurchased: '{{ request.user.has_purchased|yesno:\"true,false\" }}',\n        customDomain: '{% firstof request.user.custom_domain \"null\" %}',\n      },\n      php: {\n        planName: '<?php echo json_encode($user->planName); ?>',\n        monthlySpend: '<?php echo json_encode($user->monthlySpend); ?>',\n        upgradedAt: '<?php echo json_encode($user->upgradedAt->format(\"U\")); ?>',\n        hasPurchased: '<?php echo json_encode($user->hasPurchased); ?>',\n        customDomain: '<?php echo json_encode($user->customDomain); ?>',\n      },\n    };\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless cdas}}\\n  <InstallationInstructions::CodeComponent @language=\\\"ruby\\\">\\n    config.user.custom_data = {\\n      plan_name: Proc.new { |user| user.plan.name }, # Strings\\n      monthly_spend: :monthly_spend, # Integers or Floats\\n      upgraded_at: Proc.new { |user| user.plan.upgraded_at }, # Dates (key name ends with \\\"_at\\\")\\n      has_purchased: :has_purchased?, # Booleans\\n      custom_domain: Proc.new { |user| user.try(:custom_domain) } # Send nil when no value exists for a user\\n    }\\n  </InstallationInstructions::CodeComponent>\\n{{else}}\\n  <InstallationInstructions::CodeComponent @language=\\\"ruby\\\" @cdaList={{latestCdaList}}>\\n    config.user.custom_data = {\\n      # Put quotes around text strings\\n      # Send numbers as integers or floats without quotes\\n      # Send dates as a unix timestamp in seconds and end key names with \\\"_at\\\"\\n      # Send nil when no value exists for a user\\n\\n      {{#each latestCdaList as |cda|}}\\n        {{#unless (and (eq cda latestCdaList.lastObject) (not previousCdaList))}}\\n      \\\"{{cda.key}}\\\": _________, {{cda.value}}\\n        {{else}}\\n      \\\"{{cda.key}}\\\": _________ {{cda.value}}\\n        {{/unless}}\\n      {{/each}}\\n      {{#if (and previousCdaList splitCodeSnippet)}}\\n\\n      # Previously added custom data attributes\\n      {{/if}}\\n      {{#each previousCdaList as |cda|}}\\n        {{#unless (eq cda previousCdaList.lastObject)}}\\n      \\\"{{cda.key}}\\\": _________, {{cda.value}}\\n        {{else}}\\n      \\\"{{cda.key}}\\\": _________ {{cda.value}}\\n        {{/unless}}\\n      {{/each}}\\n    }\\n  </InstallationInstructions::CodeComponent>\\n{{/unless}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless cdas}}\\n  <InstallationInstructions::CodeComponent @language=\\\"ruby\\\">\\n    config.user.custom_data = {\\n      plan_name: Proc.new { |user| user.plan.name }, # Strings\\n      monthly_spend: :monthly_spend, # Integers or Floats\\n      upgraded_at: Proc.new { |user| user.plan.upgraded_at }, # Dates (key name ends with \\\"_at\\\")\\n      has_purchased: :has_purchased?, # Booleans\\n      custom_domain: Proc.new { |user| user.try(:custom_domain) } # Send nil when no value exists for a user\\n    }\\n  </InstallationInstructions::CodeComponent>\\n{{else}}\\n  <InstallationInstructions::CodeComponent @language=\\\"ruby\\\" @cdaList={{latestCdaList}}>\\n    config.user.custom_data = {\\n      # Put quotes around text strings\\n      # Send numbers as integers or floats without quotes\\n      # Send dates as a unix timestamp in seconds and end key names with \\\"_at\\\"\\n      # Send nil when no value exists for a user\\n\\n      {{#each latestCdaList as |cda|}}\\n        {{#unless (and (eq cda latestCdaList.lastObject) (not previousCdaList))}}\\n      \\\"{{cda.key}}\\\": _________, {{cda.value}}\\n        {{else}}\\n      \\\"{{cda.key}}\\\": _________ {{cda.value}}\\n        {{/unless}}\\n      {{/each}}\\n      {{#if (and previousCdaList splitCodeSnippet)}}\\n\\n      # Previously added custom data attributes\\n      {{/if}}\\n      {{#each previousCdaList as |cda|}}\\n        {{#unless (eq cda previousCdaList.lastObject)}}\\n      \\\"{{cda.key}}\\\": _________, {{cda.value}}\\n        {{else}}\\n      \\\"{{cda.key}}\\\": _________ {{cda.value}}\\n        {{/unless}}\\n      {{/each}}\\n    }\\n  </InstallationInstructions::CodeComponent>\\n{{/unless}}\\n\",\"moduleName\":\"embercom/components/installation-instructions/web-installation-rails-custom-data-snippet-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/installation-instructions/web-installation-rails-custom-data-snippet-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport baseCustomDataSnippetComponent from 'embercom/components/installation-instructions/base-custom-data-snippet-component';\n\nexport default baseCustomDataSnippetComponent.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless cdas}}\\n  <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n    window.Intercom('boot', {\\n      app_id: \\\"abc1234\\\",\\n      email: \\\"customer@example.com\\\",\\n      …\\n      \\\"plan_name\\\": \\\"basic\\\", // Strings\\n      \\\"monthly_spend\\\": 49.99, // Integers or Floats\\n      \\\"upgraded_at\\\": 1350466020, // Dates (unix timestamp + end key name with \\\"_at\\\")\\n      \\\"has_purchased\\\": true, // Booleans\\n      \\\"custom_domain\\\": null // Send null when no value exists for a user\\n    });\\n  </InstallationInstructions::CodeComponent>\\n{{else}}\\n  <InstallationInstructions::CodeComponent @language=\\\"javascript\\\" @cdaList={{latestCdaList}}>\\n    window.Intercom('boot', {\\n      // Put quotes around text strings\\n      // Send numbers as integers or floats without quotes\\n      // Send dates as a unix timestamp in seconds and end key names with \\\"_at\\\"\\n      // Send null when no value exists for a user\\n\\n      {{#each latestCdaList as |cda|}}\\n        {{#unless (and (eq cda latestCdaList.lastObject) (not previousCdaList))}}\\n      \\\"{{cda.key}}\\\": _________, {{cda.value}}\\n        {{else}}\\n      \\\"{{cda.key}}\\\": _________ {{cda.value}}\\n        {{/unless}}\\n      {{/each}}\\n      {{#if (and previousCdaList splitCodeSnippet)}}\\n\\n      // Previously added custom data attributes\\n      {{/if}}\\n      {{#each previousCdaList as |cda|}}\\n        {{#unless (eq cda previousCdaList.lastObject)}}\\n      \\\"{{cda.key}}\\\": _________, {{cda.value}}\\n        {{else}}\\n      \\\"{{cda.key}}\\\": _________ {{cda.value}}\\n        {{/unless}}\\n      {{/each}}\\n    });\\n  </InstallationInstructions::CodeComponent>\\n{{/unless}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless cdas}}\\n  <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n    window.Intercom('boot', {\\n      app_id: \\\"abc1234\\\",\\n      email: \\\"customer@example.com\\\",\\n      …\\n      \\\"plan_name\\\": \\\"basic\\\", // Strings\\n      \\\"monthly_spend\\\": 49.99, // Integers or Floats\\n      \\\"upgraded_at\\\": 1350466020, // Dates (unix timestamp + end key name with \\\"_at\\\")\\n      \\\"has_purchased\\\": true, // Booleans\\n      \\\"custom_domain\\\": null // Send null when no value exists for a user\\n    });\\n  </InstallationInstructions::CodeComponent>\\n{{else}}\\n  <InstallationInstructions::CodeComponent @language=\\\"javascript\\\" @cdaList={{latestCdaList}}>\\n    window.Intercom('boot', {\\n      // Put quotes around text strings\\n      // Send numbers as integers or floats without quotes\\n      // Send dates as a unix timestamp in seconds and end key names with \\\"_at\\\"\\n      // Send null when no value exists for a user\\n\\n      {{#each latestCdaList as |cda|}}\\n        {{#unless (and (eq cda latestCdaList.lastObject) (not previousCdaList))}}\\n      \\\"{{cda.key}}\\\": _________, {{cda.value}}\\n        {{else}}\\n      \\\"{{cda.key}}\\\": _________ {{cda.value}}\\n        {{/unless}}\\n      {{/each}}\\n      {{#if (and previousCdaList splitCodeSnippet)}}\\n\\n      // Previously added custom data attributes\\n      {{/if}}\\n      {{#each previousCdaList as |cda|}}\\n        {{#unless (eq cda previousCdaList.lastObject)}}\\n      \\\"{{cda.key}}\\\": _________, {{cda.value}}\\n        {{else}}\\n      \\\"{{cda.key}}\\\": _________ {{cda.value}}\\n        {{/unless}}\\n      {{/each}}\\n    });\\n  </InstallationInstructions::CodeComponent>\\n{{/unless}}\\n\",\"moduleName\":\"embercom/components/installation-instructions/web-installation-single-page-custom-data-snippet-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/installation-instructions/web-installation-single-page-custom-data-snippet-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport baseCustomDataSnippetComponent from 'embercom/components/installation-instructions/base-custom-data-snippet-component';\n\nexport default baseCustomDataSnippetComponent.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (and installationIsSinglePageApp installationHasIdentityVerified)}}\\n\\nwindow.Intercom(\\\"boot\\\", {\\n  app_id: \\\"{{appIdCode}}\\\",\\n  {{#if installationHasIdentityVerifiedByUserID}}\\n  user_id: {{userID}}, // User ID\\n  {{else}}\\n  email: {{email}}, // Email address\\n  {{/if}}\\n  user_hash: {{userHash}} // HMAC using SHA-256\\n});\\n\\n{{else}}\\n\\n<InstallationInstructions::CodeScriptTagComponent>{{!--\\n  --}}{{#if installationHasIdentityVerifiedAndExampleIsDjango}}\\n  {# You’ll need to `import hmac` and `import hashlib` #}\\n  {{/if}}\\n  {{#if installationIsAnonymous}}\\n  window.intercomSettings = {\\n    app_id: \\\"{{appIdCode}}\\\"\\n  };\\n  {{else if installationHasIdentityVerified}}\\n  window.intercomSettings = {\\n    app_id: \\\"{{appIdCode}}\\\",\\n    {{#if installationHasIdentityVerifiedByUserID}}\\n    user_id: {{userID}}, // User ID\\n    {{else}}\\n    email: {{email}}, // Email address\\n    {{/if}}\\n    user_hash: {{userHash}} // HMAC using SHA-256\\n  };\\n  {{else}}\\n  window.intercomSettings = {\\n    app_id: \\\"{{appIdCode}}\\\",\\n    name: {{name}}, // Full name\\n    email: {{email}}, // Email address\\n    created_at: {{createdAt}} // Signup date as a Unix timestamp\\n  };\\n{{/if}}\\n</InstallationInstructions::CodeScriptTagComponent>\\n<InstallationInstructions::WebInstallationSnippetLibraryComponent @appIdCode={{appIdCode}} />\\n\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (and installationIsSinglePageApp installationHasIdentityVerified)}}\\n\\nwindow.Intercom(\\\"boot\\\", {\\n  app_id: \\\"{{appIdCode}}\\\",\\n  {{#if installationHasIdentityVerifiedByUserID}}\\n  user_id: {{userID}}, // User ID\\n  {{else}}\\n  email: {{email}}, // Email address\\n  {{/if}}\\n  user_hash: {{userHash}} // HMAC using SHA-256\\n});\\n\\n{{else}}\\n\\n<InstallationInstructions::CodeScriptTagComponent>{{!--\\n  --}}{{#if installationHasIdentityVerifiedAndExampleIsDjango}}\\n  {# You’ll need to `import hmac` and `import hashlib` #}\\n  {{/if}}\\n  {{#if installationIsAnonymous}}\\n  window.intercomSettings = {\\n    app_id: \\\"{{appIdCode}}\\\"\\n  };\\n  {{else if installationHasIdentityVerified}}\\n  window.intercomSettings = {\\n    app_id: \\\"{{appIdCode}}\\\",\\n    {{#if installationHasIdentityVerifiedByUserID}}\\n    user_id: {{userID}}, // User ID\\n    {{else}}\\n    email: {{email}}, // Email address\\n    {{/if}}\\n    user_hash: {{userHash}} // HMAC using SHA-256\\n  };\\n  {{else}}\\n  window.intercomSettings = {\\n    app_id: \\\"{{appIdCode}}\\\",\\n    name: {{name}}, // Full name\\n    email: {{email}}, // Email address\\n    created_at: {{createdAt}} // Signup date as a Unix timestamp\\n  };\\n{{/if}}\\n</InstallationInstructions::CodeScriptTagComponent>\\n<InstallationInstructions::WebInstallationSnippetLibraryComponent @appIdCode={{appIdCode}} />\\n\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/installation-instructions/web-installation-snippet-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/installation-instructions/web-installation-snippet-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { reads, and, equal } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport {\n  applyFunction,\n  containsByProperty,\n  selectFromObject,\n  ternary,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\n\nconst UNKNOWN_HMAC_METHOD_TEXT = '\"INSERT_HMAC_VALUE_HERE\"';\n\nexport default Component.extend({\n  unknownHmacMethodPlaceholderText: UNKNOWN_HMAC_METHOD_TEXT,\n  language: null,\n  installationIsAnonymous: true,\n  installationHasIdentityVerified: false,\n  installationHasIdentityVerifiedByUserID: false,\n  installationIsSinglePageApp: false,\n  appIdCode: null,\n  appApiSecret: null,\n  unknownExampleKey: 'unknown',\n\n  identifierVerifiedBy: ternary('installationHasIdentityVerifiedByUserID', 'id', 'email'),\n\n  userID: reads('example.userID'),\n  name: reads('example.name'),\n  email: reads('example.email'),\n  createdAt: reads('example.createdAt'),\n  userHash: reads('example.userHash'),\n\n  installationHasIdentityVerifiedAndExampleIsDjango: and(\n    'installationHasIdentityVerified',\n    'exampleIsDjango',\n  ),\n  exampleIsDjango: equal('language', 'django'),\n\n  example: selectFromObject('examples', 'exampleKeyForLanguage'),\n  exampleKeyForLanguage: ternaryToProperty('languageHasExample', 'language', 'unknownExampleKey'),\n  languageHasExample: containsByProperty('exampleKeys', 'language'),\n  exampleKeys: applyFunction(Object.keys, 'examples'),\n\n  examples: computed('appApiSecret', 'identifierVerifiedBy', function() {\n    let appApiSecret = this.appApiSecret;\n    let identifierVerifiedBy = this.identifierVerifiedBy;\n    let unknownHmacMethodPlaceholderText = this.unknownHmacMethodPlaceholderText;\n\n    return {\n      unknown: {\n        userID: '\"123\"',\n        name: '\"Jane Doe\"',\n        email: '\"customer@example.com\"',\n        createdAt: '\"1312182000\"',\n        userHash: unknownHmacMethodPlaceholderText,\n      },\n      rails: {\n        userID: '\"<%= current_user.id %>\"',\n        name: '\"<%= current_user.name %>\"',\n        email: '\"<%= current_user.email %>\"',\n        createdAt: '\"<%= current_user.created_at.to_i %>\"',\n        userHash: `\"<%=\n      OpenSSL::HMAC.hexdigest(\n        'sha256',\n        '${appApiSecret}',\n        current_user.${identifierVerifiedBy}\n      )\n    %>\"`,\n      },\n      django: {\n        userID: '\"{{ request.user.id|escapejs }}\"',\n        name: '\"{{ request.user.name|escapejs }}\"',\n        email: '\"{{ request.user.email|escapejs }}\"',\n        createdAt: '\"{{ request.user.date_joined|date:\"U\" }}\"',\n        userHash: `\"{{\n      hmac.new(\n        b'${appApiSecret}',\n        bytes(request.user.${identifierVerifiedBy}, encoding='utf-8'),\n        digestmod=hashlib.sha256\n      ).hexdigest()\n    }}\"`,\n      },\n      php: {\n        userID: '<?php echo json_encode($current_user->id) ?>',\n        name: '<?php echo json_encode($current_user->name) ?>',\n        email: '<?php echo json_encode($current_user->email) ?>',\n        createdAt: '\"<?php echo strtotime($current_user->created_at) ?>\"',\n        userHash: `\"<?php\n      echo hash_hmac(\n        'sha256',\n        $user->${identifierVerifiedBy},\n        '${appApiSecret}'\n      );\n    ?>\"`,\n      },\n    };\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<InstallationInstructions::CodeScriptTagComponent @inline={{true}}>\\n// We pre-filled your app ID in the widget URL: 'https://widget.intercom.io/widget/{{this.appIdCode}}'\\n(function(){var w=window;var ic=w.Intercom;if(typeof ic===\\\"function\\\"){ic('reattach_activator');ic('update',w.intercomSettings);}else{var d=document;var i=function(){i.c(arguments);};i.q=[];i.c=function(args){i.q.push(args);};w.Intercom=i;var l=function(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/{{this.appIdCode}}';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);};if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})();\\n</InstallationInstructions::CodeScriptTagComponent>\\n\", {\"contents\":\"<InstallationInstructions::CodeScriptTagComponent @inline={{true}}>\\n// We pre-filled your app ID in the widget URL: 'https://widget.intercom.io/widget/{{this.appIdCode}}'\\n(function(){var w=window;var ic=w.Intercom;if(typeof ic===\\\"function\\\"){ic('reattach_activator');ic('update',w.intercomSettings);}else{var d=document;var i=function(){i.c(arguments);};i.q=[];i.c=function(args){i.q.push(args);};w.Intercom=i;var l=function(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/{{this.appIdCode}}';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);};if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})();\\n</InstallationInstructions::CodeScriptTagComponent>\\n\",\"moduleName\":\"embercom/components/installation-instructions/web-installation-snippet-library-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/installation-instructions/web-installation-snippet-library-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nexport default Component.extend({\n  tagName: '',\n  appIdCode: null,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"web-installation__snippet__select {{if leftAlign \\\"o__flex-start\\\"}}\\\">\\n  <span\\n    class=\\\"web-installation__snippet__select__copy {{if isStartScreen \\\"o__start-screen\\\"}}\\\"\\n  >\\n    {{description}}\\n  </span>\\n  <SelectComponent @options={{options}} @selectedValue={{selectedValue}} />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"web-installation__snippet__select {{if leftAlign \\\"o__flex-start\\\"}}\\\">\\n  <span\\n    class=\\\"web-installation__snippet__select__copy {{if isStartScreen \\\"o__start-screen\\\"}}\\\"\\n  >\\n    {{description}}\\n  </span>\\n  <SelectComponent @options={{options}} @selectedValue={{selectedValue}} />\\n</div>\\n\",\"moduleName\":\"embercom/components/installation-instructions/web-installation-snippet-select-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/installation-instructions/web-installation-snippet-select-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  description: 'Show example code for',\n  leftAlign: false,\n  isStartScreen: false,\n\n  options: [\n    { label: 'Rails (Ruby)', value: 'rails' },\n    { label: 'Django (Python 3)', value: 'django' },\n    { label: 'PHP', value: 'php' },\n  ],\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { or, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  conversation: null,\n  part: null,\n\n  admin: or('conversation.assignee', 'app.currentAdmin'),\n  body: computed(function() {\n    return {\n      admin_id: this.get('admin.id'),\n      user_id: this.get('conversation.main_participant.id'),\n      conversation_id: this.get('conversation.id'),\n      conversation_part_id: this.get('part.id'),\n    };\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield icon message (action 'createGithubIssue') classes}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield icon message (action 'createGithubIssue') classes}}\\n\",\"moduleName\":\"embercom/components/integrations/github/conversation-parts-quick-action-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/integrations/github/conversation-parts-quick-action-item.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { task } from 'ember-concurrency';\nimport ajax from 'embercom/lib/ajax';\nimport safeWindowOpen from 'embercom/lib/safe-window-open';\nimport { inject as service } from '@ember/service';\nimport BaseConversationPartsQuickActionItem from 'embercom/components/integrations/base/conversation-parts-quick-action-item';\n\nexport default BaseConversationPartsQuickActionItem.extend({\n  notificationsService: service(),\n  classes: ['test__create-github-issue-dropdown-item'].join(' '),\n\n  icon: 'github',\n  message: 'New GitHub issue',\n\n  createGithubIssue: task(function*() {\n    yield ajax({\n      url: `/ember/github_integrations/create_issue?app_id=${this.get('app.id')}`,\n      type: 'post',\n      contentType: 'application/json',\n      data: JSON.stringify(this.body),\n    })\n      .then(res => {\n        let githubPageWindow = safeWindowOpen(res.issue_url, '_blank');\n\n        if (!githubPageWindow) {\n          // We failed to open the window. Likely an issue with popup blocking settings\n          this.notificationsService.notifyError(\n            'Looks like popups are blocked! Please enable popups in your browser settings.',\n            6000,\n          );\n        }\n      })\n      .catch(() => {\n        this.notificationsService.notifyError(`Could not create github issue`);\n      });\n  }),\n\n  actions: {\n    createGithubIssue() {\n      this.createGithubIssue.perform();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield icon message (action 'createSalesforceTask') classes}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield icon message (action 'createSalesforceTask') classes}}\\n\",\"moduleName\":\"embercom/components/integrations/salesforce/conversation-parts-quick-action-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/integrations/salesforce/conversation-parts-quick-action-item.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { task } from 'ember-concurrency';\nimport ajax from 'embercom/lib/ajax';\nimport { inject as service } from '@ember/service';\nimport BaseConversationPartsDropdownItem from 'embercom/components/integrations/base/conversation-parts-quick-action-item';\n\nexport default BaseConversationPartsDropdownItem.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  router: service(),\n  classes: ['test__create-salesforce-task-quick-action-item'].join(' '),\n\n  icon: 'salesforce',\n  message: 'New Salesforce task',\n  notificationDuration: 10000,\n  customNotificationKey: 'salesforce-task-notification',\n\n  _notifyProcessing() {\n    this.notificationsService.notifyLoading('Sending...', -1, this.customNotificationKey);\n  },\n\n  _notifySuccess(tasks) {\n    this._trackEvent(true);\n    this.notificationsService.removeNotification(this.customNotificationKey);\n    this.notificationsService.notifyConfirmationWithModelAndPartial(\n      {\n        tasks,\n        taskUserName: this.get('part.creator.display_as'),\n      },\n      'notifications/integrations/salesforce/-task-creation',\n      this.notificationDuration,\n    );\n  },\n\n  _notifyFailure() {\n    this._trackEvent(false);\n    this.notificationsService.removeNotification(this.customNotificationKey);\n    this.notificationsService.notifyErrorWithButton(\n      'Could not create Salesforce Task activity',\n      {\n        label: 'Learn more',\n        action: this.redirectToSalesforceSettings.bind(this),\n      },\n      this.notificationDuration,\n    );\n  },\n\n  redirectToSalesforceSettings() {\n    this.router.transitionTo('apps.app.appstore', {\n      queryParams: { app_package_code: 'salesforce-by-intercom' },\n    });\n  },\n\n  _trackEvent(success) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'created',\n      object: 'salesforce_task',\n      models: [this.conversation, this.get('conversation.main_participant')],\n      salesforce_object_type: 'lead/contact',\n      success,\n    });\n  },\n\n  createSalesforceTask: task(function*() {\n    this._notifyProcessing();\n    yield ajax({\n      url: `/ember/salesforce_integrations/tasks?app_id=${this.get('app.id')}`,\n      type: 'POST',\n      contentType: 'application/json',\n      data: JSON.stringify(Object.assign({ app_id: this.get('app.id') }, this.body)),\n    })\n      .then(response => {\n        this._notifySuccess(response.tasks);\n      })\n      .catch(() => {\n        this._notifyFailure();\n      });\n  }).drop(),\n\n  actions: {\n    createSalesforceTask() {\n      this.createSalesforceTask.perform();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { isPresent } from '@ember/utils';\nimport $ from 'jquery';\nimport { schedule } from '@ember/runloop';\nimport { observer } from '@ember/object';\nimport { on } from '@ember/object/evented';\nimport { not, and } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport ScrollManager from 'embercom/components/mixins/scroll-manager';\nimport CloseOnDocumentClickManager from 'embercom/components/mixins/close-on-document-click-manager';\n\nexport default Component.extend(ScrollManager, CloseOnDocumentClickManager, {\n  closeOnScroll: false,\n  isFadingOut: false,\n  isNotFadingOut: not('isFadingOut'),\n  performScrollFadeOut: and('isNotFadingOut', 'closeOnScroll', 'isOpen'),\n\n  dropdownMinWidth: 0,\n  dropdownMinHeight: 0,\n\n  dropdownMaxWidth: 300,\n  dropdownMaxHeight: 500,\n\n  disabled: false,\n\n  //Used when the stacking context has been altered through transforms\n  translateOffsetX: 0,\n  translateOffsetY: 0,\n\n  setupScrollListener: on('didInsertElement', function() {\n    this.bindToScrollParent(this._calculateScrollPosition);\n  }),\n\n  teardownScrollListener: on('willDestroyElement', function() {\n    this.unbindFromScrollParent();\n  }),\n\n  onOpenStateChange: observer({\n    dependentKeys: ['isOpen'],\n\n    fn() {\n      if (this.isOpen) {\n        this._calculateDropdownPositioning();\n      }\n    },\n\n    sync: true,\n  }),\n\n  _calculateScrollPosition() {\n    if (this.performScrollFadeOut) {\n      this.set('isFadingOut', true);\n      $('.dropdown', this.element).fadeOut(100, () => {\n        if (!this.isDestroying) {\n          this.setProperties({\n            isOpen: false,\n            isFadingOut: false,\n          });\n        }\n      });\n    }\n    this._calculateDropdownPositioning();\n  },\n\n  _calculateDropdownPositioning() {\n    if (this.isOpen && !this.isDestroying) {\n      schedule('afterRender', () => {\n        let $selectBox = this.selectBoxSelector\n          ? $(this.selectBoxSelector, this.element)\n          : $(this.element);\n        let $dropdown = $('.dropdown', this.element);\n\n        let selectBoundingRect = $selectBox[0].getBoundingClientRect();\n        let windowHeight = window.innerHeight;\n        let windowWidth = window.innerWidth;\n\n        let translateOffsetX = this.translateOffsetX;\n        let translateOffsetY = this.translateOffsetY;\n\n        let dropdownHeight = Math.max(\n          this.dropdownMinHeight,\n          Math.min(this.dropdownMaxHeight, $dropdown.outerHeight()),\n        );\n        let dropdownWidth = Math.max(\n          this.dropdownMinWidth,\n          Math.min(this.dropdownMaxWidth, $dropdown.outerWidth()),\n        );\n\n        let top =\n          selectBoundingRect.bottom + dropdownHeight < windowHeight\n            ? selectBoundingRect.bottom\n            : selectBoundingRect.top - dropdownHeight;\n        if (top < 0) {\n          top = selectBoundingRect.bottom;\n        }\n        if (translateOffsetY) {\n          top += translateOffsetY;\n        }\n\n        let left = 0;\n        let leftAlignedLocation = selectBoundingRect.left;\n        let rightAlignedLocation = selectBoundingRect.right - dropdownWidth;\n\n        if (this.rightAligned) {\n          left = rightAlignedLocation > 0 ? rightAlignedLocation : leftAlignedLocation;\n        } else {\n          left =\n            leftAlignedLocation + dropdownWidth < windowWidth\n              ? leftAlignedLocation\n              : rightAlignedLocation;\n        }\n        if (translateOffsetX) {\n          left += translateOffsetX;\n        }\n\n        $dropdown.css({\n          position: 'fixed',\n          top: `${top}px`,\n          left: `${left}px`,\n          height: `${dropdownHeight}px`,\n          width: `${dropdownWidth}px`,\n          minWidth: `${dropdownWidth}px`,\n          overflow: 'auto',\n        });\n      });\n    }\n  },\n\n  actions: {\n    toggleOpenState() {\n      if (this.disabled === true) {\n        return;\n      }\n      this.toggleProperty('isOpen');\n      if (isPresent(this.trigger)) {\n        this.trigger('didChangeOpenState');\n      }\n      if (this.isOpen) {\n        this._calculateDropdownPositioning();\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-jquery */\nimport { schedule } from '@ember/runloop';\nimport $ from 'jquery';\nimport { isPresent, isNone } from '@ember/utils';\nimport { computed, observer, get } from '@ember/object';\nimport { reads, and, notEmpty } from '@ember/object/computed';\nimport { templateString, ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport SelectKeyboardActions from 'embercom/components/mixins/select-keyboard-actions';\nimport IntercomDropdownComponent from 'embercom/components/intercom-dropdown-component';\n\nexport default IntercomDropdownComponent.extend(SelectKeyboardActions, {\n  classNames: ['f__custom-select'],\n  classNameBindings: [\n    'isInvisibleSelect:f__invisible-select',\n    'isOpen:o__opened',\n    'discreetMode:o__subtle',\n  ],\n  attributeBindings: ['tabindex'],\n  tabindex: 0,\n  selectableItems: reads('_mappedContent'),\n  lightInvisibleSelect: and('isInvisibleSelect', 'discreetMode'),\n  selectClass: ternary('isInvisibleSelect', 'f__invisible-select__box', 'f__custom-select__box'),\n  selectBoxSelector: templateString('.${selectClass}'),\n  caretClass: ternary('isInvisibleSelect', 'f__invisible-select__caret', 'f__custom-select__caret'),\n\n  value: null,\n  selection: null,\n  flipCaret: true,\n  shouldFlipCaretAndIsOpen: and('flipCaret', 'isOpen'),\n\n  isUsingSelection: notEmpty('selection'),\n  handleSelectionExternally: false,\n\n  selectedValue: computed('value', 'selection', 'content.[]', function() {\n    if (this.isUsingSelection) {\n      return this.selection;\n    }\n    if (isPresent(this.content)) {\n      if (this.optionValuePath) {\n        return this.content.findBy(this.optionValuePath, this.value);\n      } else {\n        return this.value;\n      }\n    }\n  }),\n\n  setSelection: observer({\n    dependentKeys: ['value', 'content', 'isUsingSelection'],\n\n    fn() {\n      if (this.isUsingSelection) {\n        let selection = this.content.findBy(this.optionValuePath, this.value);\n        if (typeof selection !== 'undefined') {\n          this.set('selection', selection);\n        }\n      }\n    },\n\n    sync: true,\n  }),\n\n  content: null,\n\n  optionIconPath: 'icon',\n  optionDescriptionPath: 'description',\n  optionTooltipPath: 'tooltip',\n  optionLabelPath: null,\n  optionValuePath: null,\n\n  disabled: false,\n  shouldSelectFirstItemOnCreate: false,\n  isInvisibleSelect: false,\n\n  didInsertElement() {\n    this._super(...arguments);\n    this._maybeSetValueToFirstItem();\n  },\n\n  setDefaultValue: observer({\n    dependentKeys: ['isVisible'],\n\n    fn() {\n      if (this.isVisible) {\n        this._maybeSetValueToFirstItem();\n      }\n    },\n\n    sync: true,\n  }),\n\n  onOpenStateChange: observer({\n    dependentKeys: ['isOpen'],\n\n    fn() {\n      if (this.isOpen) {\n        this._calculateDropdownPositioning();\n        this._scrollToSelectedItem();\n      }\n    },\n\n    sync: true,\n  }),\n\n  _maybeSetValueToFirstItem() {\n    if (this.shouldSelectFirstItemOnCreate && this.get('content.length') && isNone(this.value)) {\n      this.send('setSelectedOption', 0);\n    }\n  },\n\n  _mappedValue: computed('selectedValue', function() {\n    let value = this.selectedValue;\n    if (isPresent(value)) {\n      return this._createMappedValueForItem(value);\n    }\n  }),\n\n  _mappedContent: computed('content.[]', 'value', function() {\n    let content = this.content;\n    if (isPresent(content)) {\n      return content.map(\n        function(item) {\n          return this._createMappedValueForItem(item);\n        }.bind(this),\n      );\n    }\n  }),\n\n  _createMappedValueForItem(item) {\n    let optionLabelPath = this.optionLabelPath;\n    if (optionLabelPath) {\n      let value = get(item, this.optionValuePath);\n      return {\n        label: get(item, optionLabelPath),\n        value,\n        icon: get(item, this.optionIconPath),\n        description: get(item, this.optionDescriptionPath),\n        tooltip: get(item, this.optionTooltipPath),\n        isSelected: value === this.value,\n      };\n    } else {\n      return {\n        label: item,\n        value: item,\n        icon: null,\n        description: null,\n        tooltip: null,\n        isSelected: item === this.value,\n      };\n    }\n  },\n\n  _scrollToSelectedItem() {\n    schedule('afterRender', this, function() {\n      let $dropdown = $('.dropdown', this.element);\n      let $selectedItem = $dropdown.find('.dropdown__list-item-selected');\n      if ($selectedItem.length) {\n        $dropdown.scrollTop($selectedItem.position().top);\n      }\n    });\n  },\n\n  _handleSelection(selectedValue) {\n    this.set('isOpen', false);\n    if (this.handleSelectionExternally) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('selectionChanged', selectedValue);\n    } else {\n      this.set('value', selectedValue);\n    }\n  },\n\n  actions: {\n    setSelectedOption(index) {\n      let optionValuePath = this.optionValuePath;\n      if (optionValuePath) {\n        this._handleSelection(get(this.content.objectAt(index), optionValuePath));\n      } else {\n        this._handleSelection(this.content.objectAt(index));\n      }\n    },\n    selectItem() {\n      this.send('setSelectedOption', this.highlightedItemIndex);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<style>\\n  body {\\n    margin-top: 30px;\\n    height: calc(100% - 30px);\\n  }\\n</style>\\n<div class=\\\"interpersonation__banner layout__box o__has-columns\\\">\\n  <div class=\\\"interpersonation__block layout__box o__flexes-to-1\\\">\\n    You are currently signed in as {{app.currentAdmin.email}}\\n  </div>\\n  <div class=\\\"interpersonation__block layout__box\\\">\\n    <a class=\\\"interpersonation__signout\\\" data-method=\\\"post\\\" href=\\\"/admin/impersonations/unimpersonate\\\" rel=\\\"nofollow\\\">Sign out</a>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<style>\\n  body {\\n    margin-top: 30px;\\n    height: calc(100% - 30px);\\n  }\\n</style>\\n<div class=\\\"interpersonation__banner layout__box o__has-columns\\\">\\n  <div class=\\\"interpersonation__block layout__box o__flexes-to-1\\\">\\n    You are currently signed in as {{app.currentAdmin.email}}\\n  </div>\\n  <div class=\\\"interpersonation__block layout__box\\\">\\n    <a class=\\\"interpersonation__signout\\\" data-method=\\\"post\\\" href=\\\"/admin/impersonations/unimpersonate\\\" rel=\\\"nofollow\\\">Sign out</a>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/intercomrade-impersonation-warning.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/intercomrade-impersonation-warning.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if app.shouldShowIntercomradeWarning}}\\n  <div class=\\\"layout__box u__pad__10 js__intercomrade-warning\\\" style=\\\"background-color: #c63337;\\\">\\n    <div class=\\\"u__centered-text-block\\\">\\n      <div class=\\\"a__pulse text-white\\\">\\n        <span>{{ic-interface-icon 'alert'}}</span>\\n        <b>Please be careful {{app.currentAdmin.first_name}}! You're on the {{app.name}} workspace. {{yield}}</b>\\n        <span>{{ic-interface-icon 'alert'}}</span>\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if app.shouldShowIntercomradeWarning}}\\n  <div class=\\\"layout__box u__pad__10 js__intercomrade-warning\\\" style=\\\"background-color: #c63337;\\\">\\n    <div class=\\\"u__centered-text-block\\\">\\n      <div class=\\\"a__pulse text-white\\\">\\n        <span>{{ic-interface-icon 'alert'}}</span>\\n        <b>Please be careful {{app.currentAdmin.first_name}}! You're on the {{app.name}} workspace. {{yield}}</b>\\n        <span>{{ic-interface-icon 'alert'}}</span>\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/intercomrade-warning.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/intercomrade-warning.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{yield (hash\\n  openTourPreview=(action 'openTourPreview')\\n  openTourBuilder=(action 'openTourBuilder')\\n  openTourSplashScreen=(action 'openTourSplashScreen')\\n)}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{yield (hash\\n  openTourPreview=(action 'openTourPreview')\\n  openTourBuilder=(action 'openTourBuilder')\\n  openTourSplashScreen=(action 'openTourSplashScreen')\\n)}}\\n\",\"moduleName\":\"embercom/components/intersection-launcher.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/intersection-launcher.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { isBlank } from '@ember/utils';\nimport $ from 'jquery';\nimport { get } from '@ember/object';\nimport { INCORRECT_ORIGIN } from '../services/intersection-service';\n\nexport default Component.extend({\n  store: service(),\n  intersectionService: service(),\n  intercomEventService: service(),\n  router: service(),\n\n  intersectionMode: 'tour-editor',\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.intersectionService.registerEventHandler('track-analytics-event', data => {\n      this.trackIntersectionEvent(data);\n      return true;\n    });\n  },\n\n  willDestroyElement() {\n    this._super(...arguments);\n    this.intersectionService.unregisterEventHandler('track-analytics-event');\n    $(window).off('message.tour-splash-screen');\n  },\n\n  handlePostMessage(event) {\n    if (get(event, 'origin') !== window.location.origin) {\n      return INCORRECT_ORIGIN;\n    }\n\n    if (get(event, 'data.urlForTourBuilder')) {\n      this.send('openTourBuilder', event.data.urlForTourBuilder);\n      $(window).off('message.tour-splash-screen');\n      this.intersectionService.waitForMessenger();\n    } else if (get(event, 'data.installMessenger')) {\n      this.router.transitionTo('apps.app.settings.web');\n    }\n  },\n\n  trackIntersectionEvent(event) {\n    this.intercomEventService.trackAnalyticsEvent(event);\n  },\n\n  actions: {\n    openTourPreview(url) {\n      this.intersectionService.openWindow(url, 'tour-preview');\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'open-tour-preview-website',\n      });\n    },\n    openTourSplashScreen() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'viewed',\n        object: 'tour_splash_screen',\n      });\n      this.intersectionService.openTourSplashScreen();\n      //eslint-disable-next-line @intercom/intercom/no-jquery-window-on\n      $(window).on('message.tour-splash-screen', event =>\n        this.handlePostMessage(event.originalEvent),\n      );\n    },\n    openTourBuilder(url) {\n      if (isBlank(url)) {\n        this.send('openTourSplashScreen');\n      } else {\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'clicked',\n          object: 'open-tour-editor-website',\n        });\n        this.intersectionService.openWindow(url, this.intersectionMode);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<a {{action 'openSettingsInDifferentWindow'}} class=\\\"t__growth-only-link-with-constant-underline__outer\\\" data-test-open-settings>\\n  {{ic-interface-icon 'multiple-people'}}\\n  <span class=\\\"t__growth-only-link-with-constant-underline__inner\\\">Invite your team to Intercom</span>\\n</a>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<a {{action 'openSettingsInDifferentWindow'}} class=\\\"t__growth-only-link-with-constant-underline__outer\\\" data-test-open-settings>\\n  {{ic-interface-icon 'multiple-people'}}\\n  <span class=\\\"t__growth-only-link-with-constant-underline__inner\\\">Invite your team to Intercom</span>\\n</a>\\n\",\"moduleName\":\"embercom/components/invite-team-members-link-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/invite-team-members-link-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport safeWindowOpen from 'embercom/lib/safe-window-open';\n\nexport default Component.extend({\n  classNames: ['pl_invite_team_mates'],\n  targetUrl: templateString('/a/apps/${app.id}/settings/teammates'),\n\n  actions: {\n    openSettingsInDifferentWindow() {\n      safeWindowOpen(this.targetUrl, 'TeammateSettings');\n    },\n  },\n});\n","define(\"embercom/components/keyboard-press\", [\"exports\", \"ember-keyboard/deprecated/components/keyboard-press\"], function (_exports, _keyboardPress) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _keyboardPress.default;\n    }\n  });\n});\n","import LabeledInput from '@intercom/embercom-composer/components/labeled-input';\nexport default LabeledInput;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-attrs-in-components */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport $ from 'jquery';\nimport { computed, observer } from '@ember/object';\nimport { cancel, scheduleOnce, next } from '@ember/runloop';\nimport { on } from '@ember/object/evented';\nimport { equal } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport PointerPositioner from 'embercom/lib/pointer-position';\nimport {\n  fmtStyle,\n  templateString,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport { addEventListener, runDisposables } from 'ember-lifeline';\n\nlet LegacyOverlayBaseComponent = Component.extend({\n  attributeBindings: ['style'],\n  classNames: ['overlay', 'o__popover', 'z__2', 'js__popover'],\n  extraClassNames: [],\n  caretOffset: 0,\n  viewportSelector: '.js__main-container',\n  openerElementSelector: templateString('#${parentElementId} .js__popover-opener'),\n  popoverElementSelector: templateString('#${parentElementId} .js__popover'),\n  isOpen: false,\n  allowAutoClose: true,\n  popoverPosition: 'above',\n  isPopoverAbove: equal('popoverPosition', 'above'),\n  isPopoverBelow: equal('popoverPosition', 'below'),\n  style: ternaryToProperty('isOpen', 'styleWhenOpen', 'styleWhenClosed'),\n  styleWhenOpen: fmtStyle('top: %@px; left: %@px', 'topPosition', 'leftPosition'),\n  styleWhenClosed: fmtStyle('top: 0px; left: -9999px'),\n  pendingUpdate: null,\n\n  init() {\n    this._super();\n    this.classNames = this.classNames.slice().concat(this.extraClassNames);\n  },\n\n  destroy() {\n    this._super(...arguments);\n    runDisposables(this);\n  },\n\n  onDidInsertElement: on('didInsertElement', function() {\n    this.set('pointerPositioner', new PointerPositioner(this.caretOffset));\n    this.updatePopoverPosition();\n    if (this.isOpen) {\n      this._isOpenChanged();\n    }\n  }),\n\n  setUpEvents() {\n    $(this.element)\n      .parents()\n      .each((_, element) =>\n        addEventListener(this, element, 'scroll', e => this.updatePopoverPosition(e)),\n      );\n    addEventListener(this, window, 'resize', e => this.updatePopoverPosition(e));\n    addEventListener(this, window, 'click', e => this._handleMouseClickEvent(e));\n    addEventListener(this, window, 'keyup', e => this._handleEscapeKeyPressed(e));\n    this.setUpAdditionalEvents();\n  },\n\n  tearDownEvents: on('willDestroyElement', function() {\n    if (this.pendingUpdate) {\n      cancel(this.pendingUpdate);\n    }\n    this.tearDownAdditionalEvents();\n  }),\n\n  setUpAdditionalEvents() {},\n  tearDownAdditionalEvents() {},\n\n  updatePopoverPosition() {\n    this.pendingUpdate = scheduleOnce('afterRender', this, this._updatePopoverPosition);\n  },\n\n  parentElementId: computed(function() {\n    if ($(this.element)) {\n      return $(this.element)\n        .parents('[id]')\n        .first()\n        .attr('id');\n    }\n  }),\n\n  leftStyle: fmtStyle('left: calc(50% - %@px);', 'horizontalOffset'),\n  topStyle: fmtStyle('top: calc(50% - %@px);', 'verticalOffset'),\n  nullStyle: '',\n  leftStyleIfPresent: ternaryToProperty('horizontalOffset', 'leftStyle', 'nullStyle'),\n  topStyleIfPresent: ternaryToProperty('verticalOffset', 'topStyle', 'nullStyle'),\n\n  caretStyle: computed('leftStyleIfPresent', 'topStyleIfPresent', function() {\n    return `${this.leftStyleIfPresent} ${this.topStyleIfPresent}`;\n  }),\n\n  focusOnInput() {\n    if (!this.isDestroying) {\n      $('.js__popover__input')\n        .first()\n        .focus();\n    }\n  },\n\n  _isOpenChanged: observer({\n    dependentKeys: ['isOpen'],\n\n    fn() {\n      if (this.isOpen) {\n        this.setUpEvents();\n        this.updatePopoverPosition();\n        next(this, this.focusOnInput);\n      } else {\n        this.tearDownEvents();\n      }\n    },\n\n    sync: false,\n  }),\n\n  _updatePopoverPosition() {\n    if (this.isDestroying) {\n      return;\n    }\n    let $openerElement = $(this.openerElementSelector);\n    // TODO - DB: We have to do this here as we can't do a fallback\n    // via the pointer positioner code, though that's a better\n    // place for this sort of thing\n    //\n    // Fallback for missing viewportSelector\n    if ($(this.viewportSelector).length === 0) {\n      this.set('viewportSelector', 'body');\n    }\n\n    if (!$openerElement || $openerElement.length === 0) {\n      return;\n    }\n\n    let openerElement = $openerElement.first();\n    if (!openerElement) {\n      return;\n    }\n\n    let position = null;\n    try {\n      position = this.pointerPositioner.getPosition(\n        this.openerElementSelector,\n        this.popoverElementSelector,\n        this.viewportSelector,\n      );\n    } catch (e) {\n      // no-op\n    }\n    if (!position) {\n      return;\n    }\n    if (position.location === 'below') {\n      this.setProperties({\n        topPosition: openerElement.offset().top + openerElement.outerHeight(),\n        leftPosition: openerElement.offset().left,\n        horizontalOffset: 0,\n        verticalOffset: 0,\n        popoverPosition: position.location,\n      });\n    } else {\n      this.setProperties({\n        topPosition: position.top,\n        leftPosition: position.left,\n        horizontalOffset: position.horizontalOffset,\n        verticalOffset: position.verticalOffset,\n        popoverPosition: position.location,\n      });\n    }\n\n    let openerIsVisible = openerElement.visible(true);\n    this.set('openerIsVisible', openerIsVisible);\n    if (this.allowAutoClose && !openerIsVisible) {\n      this._dismiss();\n    }\n  },\n\n  _handleMouseClickEvent(event) {\n    if (\n      this.allowAutoClose &&\n      this._isMouseClickOutsidePopover(event) &&\n      this._isMouseClickNotOpenerElement(event)\n    ) {\n      this._dismiss();\n    }\n  },\n\n  _handleEscapeKeyPressed(event) {\n    if (event.keyCode === 27) {\n      this._dismiss();\n    }\n  },\n\n  _dismiss() {\n    this.set('isOpen', false);\n    if ('onDismiss' in this.attrs) {\n      this.attrs.onDismiss();\n    }\n  },\n\n  _isMouseClickOutsidePopover(event) {\n    let $container = $(this.element);\n    return !($container.is(event.target) || $container.has(event.target).length);\n  },\n\n  _isMouseClickNotOpenerElement(event) {\n    let $opener = $(this.openerElementSelector);\n    return !($opener.is(event.target) || $opener.has(event.target).length);\n  },\n});\n\nexport default LegacyOverlayBaseComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Textarea\\n  class={{textareaClasses}}\\n  @value={{value}}\\n  placeholder={{placeholder}}\\n  data-test-length-monitoring-textarea={{true}}\\n/>\\n<span\\n  class=\\\"{{remainingClass}} {{if isActive \\\"o__active\\\"}} {{if isOver \\\"o__over\\\"}}\\\"\\n>\\n  ({{remaining}})\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Textarea\\n  class={{textareaClasses}}\\n  @value={{value}}\\n  placeholder={{placeholder}}\\n  data-test-length-monitoring-textarea={{true}}\\n/>\\n<span\\n  class=\\\"{{remainingClass}} {{if isActive \\\"o__active\\\"}} {{if isOver \\\"o__over\\\"}}\\\"\\n>\\n  ({{remaining}})\\n</span>\\n\",\"moduleName\":\"embercom/components/length-monitoring-textarea-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/length-monitoring-textarea-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { schedule } from '@ember/runloop';\nimport $ from 'jquery';\nimport { on } from '@ember/object/evented';\nimport { lt } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { subtractProperties } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  size: 0,\n  maxSize: 250,\n\n  remaining: subtractProperties('maxSize', 'value.length'),\n  isOver: lt('remaining', 0),\n\n  input() {\n    this.resizeInput();\n  },\n\n  focusIn() {\n    this.set('isActive', true);\n  },\n\n  focusOut() {\n    this.set('isActive', false);\n  },\n\n  resizeInput: on('didInsertElement', function() {\n    schedule('actions', () => {\n      let e = $('textarea', this.element).get(0);\n      e.style.height = '0px';\n      e.style.height = `${e.scrollHeight + 1}px`;\n    });\n  }).observes('value'),\n});\n","define(\"embercom/components/link-with-icon-pattern\", [\"exports\", \"@intercom/embercom-core/components/link-with-icon-pattern\"], function (_exports, _linkWithIconPattern) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _linkWithIconPattern.default;\n    }\n  });\n});\n","define(\"embercom/components/liquid-bind\", [\"exports\", \"liquid-fire/components/liquid-bind\"], function (_exports, _liquidBind) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _liquidBind.default;\n    }\n  });\n});\n","define(\"embercom/components/liquid-child\", [\"exports\", \"liquid-fire/components/liquid-child\"], function (_exports, _liquidChild) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _liquidChild.default;\n    }\n  });\n});\n","define(\"embercom/components/liquid-container\", [\"exports\", \"liquid-fire/components/liquid-container\"], function (_exports, _liquidContainer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _liquidContainer.default;\n    }\n  });\n});\n","define(\"embercom/components/liquid-if\", [\"exports\", \"liquid-fire/components/liquid-if\"], function (_exports, _liquidIf) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _liquidIf.default;\n    }\n  });\n});\n","define(\"embercom/components/liquid-measured\", [\"exports\", \"liquid-fire/components/liquid-measured\"], function (_exports, _liquidMeasured) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _liquidMeasured.default;\n    }\n  });\n  Object.defineProperty(_exports, \"measure\", {\n    enumerable: true,\n    get: function get() {\n      return _liquidMeasured.measure;\n    }\n  });\n});\n","define(\"embercom/components/liquid-outlet\", [\"exports\", \"liquid-fire/components/liquid-outlet\"], function (_exports, _liquidOutlet) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _liquidOutlet.default;\n    }\n  });\n});\n","define(\"embercom/components/liquid-spacer\", [\"exports\", \"liquid-fire/components/liquid-spacer\"], function (_exports, _liquidSpacer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _liquidSpacer.default;\n    }\n  });\n});\n","define(\"embercom/components/liquid-sync\", [\"exports\", \"liquid-fire/components/liquid-sync\"], function (_exports, _liquidSync) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _liquidSync.default;\n    }\n  });\n});\n","define(\"embercom/components/liquid-unless\", [\"exports\", \"liquid-fire/components/liquid-unless\"], function (_exports, _liquidUnless) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _liquidUnless.default;\n    }\n  });\n});\n","define(\"embercom/components/liquid-versions\", [\"exports\", \"liquid-fire/components/liquid-versions\"], function (_exports, _liquidVersions) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _liquidVersions.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box\\\">\\n  <div class=\\\"t__h1\\\">\\n    Select a mailing list that you'd like to import\\n  </div>\\n  <div class=\\\"t__light-text u__mt__10\\\">\\n    If the list you want to import is not available, enter the list ID to retrieve it.\\n  </div>\\n  <div class=\\\"h-10\\\"></div>\\n  <div>\\n    <div class=\\\"t__light-text\\\">\\n      Search lists\\n    </div>\\n    <div class=\\\"importer__step__mailchimp__list-lookup-input u__mr__10\\\">\\n      <Input\\n        @disabled={{isSubmitting}}\\n        @value={{listToLookup}}\\n        placeholder=\\\"List ID\\\"\\n        @classNames=\\\"f__text {{if disabled 'o__disabled'}}\\\"\\n      />\\n    </div>\\n    <IcButton\\n      @label=\\\"Search\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action \\\"lookupList\\\"}}\\n      @disabled={{isSubmitting}}\\n    />\\n    <div class=\\\"t__light-text u__mt__10\\\">\\n      {{ic-interface-icon \\\"info\\\"}} To find the list ID in Mailchimp, go to the settings for your list and select ‘List name and defaults’.\\n    </div>\\n  </div>\\n  <div class=\\\"h-5\\\"></div>\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <table>\\n    {{!-- template-lint-enable intercom/no-custom-table --}}\\n    <thead>\\n      <tr class=\\\"importer__step__mailchimp__list-table-rows\\\">\\n        <th class=\\\"o__header t__label importer__step__mailchimp__list-headers o__select-btn\\\"></th>\\n        <th class=\\\"o__header t__label importer__step__mailchimp__list-headers o__list-name\\\">\\n          List name\\n        </th>\\n        <th class=\\\"o__header t__label importer__step__mailchimp__list-headers o__subscribers\\\">\\n          Subscribers\\n        </th>\\n        <th class=\\\"o__header t__label importer__step__mailchimp__list-headers o__date\\\">\\n          Date created\\n        </th>\\n      </tr>\\n    </thead>\\n    <tbody class=\\\"tbl__body importer__step__mailchimp__list-table-body\\\">\\n      {{#each lists as |list|}}\\n        <tr onclick={{action (mut selectedListID) list.id}}>\\n          <td class=\\\"tbl__cell importer__step__mailchimp__tbl-body-cell o__radio\\\">\\n            <RadioButton\\n              @selection={{selectedListID}}\\n              @value={{list.id}}\\n              data-test-mailchimp-import-list={{true}}\\n              @name=\\\"mailchimp-list\\\"\\n            />\\n          </td>\\n          <td class=\\\"tbl__cell importer__step__mailchimp__tbl-body-cell\\\">\\n            {{list.name}}\\n          </td>\\n          <td class=\\\"tbl__cell importer__step__mailchimp__tbl-body-cell\\\">\\n            {{list.stats.member_count}}\\n          </td>\\n          <td class=\\\"tbl__cell importer__step__mailchimp__tbl-body-cell\\\">\\n            {{time-from-now-helper list.date_created}}\\n          </td>\\n        </tr>\\n      {{/each}}\\n    </tbody>\\n  </table>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box\\\">\\n  <div class=\\\"t__h1\\\">\\n    Select a mailing list that you'd like to import\\n  </div>\\n  <div class=\\\"t__light-text u__mt__10\\\">\\n    If the list you want to import is not available, enter the list ID to retrieve it.\\n  </div>\\n  <div class=\\\"h-10\\\"></div>\\n  <div>\\n    <div class=\\\"t__light-text\\\">\\n      Search lists\\n    </div>\\n    <div class=\\\"importer__step__mailchimp__list-lookup-input u__mr__10\\\">\\n      <Input\\n        @disabled={{isSubmitting}}\\n        @value={{listToLookup}}\\n        placeholder=\\\"List ID\\\"\\n        @classNames=\\\"f__text {{if disabled 'o__disabled'}}\\\"\\n      />\\n    </div>\\n    <IcButton\\n      @label=\\\"Search\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action \\\"lookupList\\\"}}\\n      @disabled={{isSubmitting}}\\n    />\\n    <div class=\\\"t__light-text u__mt__10\\\">\\n      {{ic-interface-icon \\\"info\\\"}} To find the list ID in Mailchimp, go to the settings for your list and select ‘List name and defaults’.\\n    </div>\\n  </div>\\n  <div class=\\\"h-5\\\"></div>\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <table>\\n    {{!-- template-lint-enable intercom/no-custom-table --}}\\n    <thead>\\n      <tr class=\\\"importer__step__mailchimp__list-table-rows\\\">\\n        <th class=\\\"o__header t__label importer__step__mailchimp__list-headers o__select-btn\\\"></th>\\n        <th class=\\\"o__header t__label importer__step__mailchimp__list-headers o__list-name\\\">\\n          List name\\n        </th>\\n        <th class=\\\"o__header t__label importer__step__mailchimp__list-headers o__subscribers\\\">\\n          Subscribers\\n        </th>\\n        <th class=\\\"o__header t__label importer__step__mailchimp__list-headers o__date\\\">\\n          Date created\\n        </th>\\n      </tr>\\n    </thead>\\n    <tbody class=\\\"tbl__body importer__step__mailchimp__list-table-body\\\">\\n      {{#each lists as |list|}}\\n        <tr onclick={{action (mut selectedListID) list.id}}>\\n          <td class=\\\"tbl__cell importer__step__mailchimp__tbl-body-cell o__radio\\\">\\n            <RadioButton\\n              @selection={{selectedListID}}\\n              @value={{list.id}}\\n              data-test-mailchimp-import-list={{true}}\\n              @name=\\\"mailchimp-list\\\"\\n            />\\n          </td>\\n          <td class=\\\"tbl__cell importer__step__mailchimp__tbl-body-cell\\\">\\n            {{list.name}}\\n          </td>\\n          <td class=\\\"tbl__cell importer__step__mailchimp__tbl-body-cell\\\">\\n            {{list.stats.member_count}}\\n          </td>\\n          <td class=\\\"tbl__cell importer__step__mailchimp__tbl-body-cell\\\">\\n            {{time-from-now-helper list.date_created}}\\n          </td>\\n        </tr>\\n      {{/each}}\\n    </tbody>\\n  </table>\\n</div>\\n\",\"moduleName\":\"embercom/components/mailchimp-list-selector-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/mailchimp-list-selector-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { observer } from '@ember/object';\nimport Component from '@ember/component';\nexport default Component.extend({\n  apiKey: null,\n  lists: null,\n  selectedList: null,\n  listToLookup: null,\n\n  selectedListIdDidChange: observer({\n    dependentKeys: ['selectedListID'],\n\n    fn() {\n      if (this.selectedListID) {\n        this.set('selectedList', this.lists.findBy('id', this.selectedListID));\n        this.onSelectedListChanged(this.selectedListID);\n      }\n    },\n\n    sync: true,\n  }),\n\n  actions: {\n    lookupList() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('lookupList', this.listToLookup);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__centered-text-block\\\">\\n  <div class=\\\"loading__main-application__logo__container\\\">\\n    <div class=\\\"loading__main-application__logo__loading\\\">\\n      {{inline-svg 'nav-primary-logo-loading'}}\\n    </div>\\n\\n    <div class=\\\"loading__main-application__spinner__container\\\">\\n      <div class=\\\"loading__main-application__spinner\\\"></div>\\n    </div>\\n\\n    <div class=\\\"loading__main-application__logo__loaded\\\">\\n      {{inline-svg 'nav-primary-logo-loaded'}}\\n    </div>\\n  </div>\\n\\n  <div class=\\\"t__h2\\\">\\n    <div>{{initialText}}…</div>\\n    <div class=\\\"{{unless waitTimeHasElapsed 'u__invisible'}}\\\">…{{followUp}}…</div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__centered-text-block\\\">\\n  <div class=\\\"loading__main-application__logo__container\\\">\\n    <div class=\\\"loading__main-application__logo__loading\\\">\\n      {{inline-svg 'nav-primary-logo-loading'}}\\n    </div>\\n\\n    <div class=\\\"loading__main-application__spinner__container\\\">\\n      <div class=\\\"loading__main-application__spinner\\\"></div>\\n    </div>\\n\\n    <div class=\\\"loading__main-application__logo__loaded\\\">\\n      {{inline-svg 'nav-primary-logo-loaded'}}\\n    </div>\\n  </div>\\n\\n  <div class=\\\"t__h2\\\">\\n    <div>{{initialText}}…</div>\\n    <div class=\\\"{{unless waitTimeHasElapsed 'u__invisible'}}\\\">…{{followUp}}…</div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/main-application-loading-screen.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/main-application-loading-screen.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { A } from '@ember/array';\nimport Component from '@ember/component';\nimport ENV from 'embercom/config/environment';\nimport { objectAtProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport RunMixin from 'ember-lifeline/mixins/run';\nimport { isBootedInPublicPage } from 'embercom/lib/embercom-boot-data';\n\nexport default Component.extend(RunMixin, {\n  classNames: ['u__absolute-shim', 'loading__main-application', 'layout__box', 'o__centers-all'],\n  texts: computed(function() {\n    let baseTexts = [\n      {\n        initial: 'Getting everything ready',\n        followUp: 'just a few more seconds',\n      },\n      {\n        initial: 'Putting everything together',\n        followUp: 'we’ll be ready in a second',\n      },\n      {\n        initial: 'We’ll be right with you',\n        followUp: 'thanks for your patience',\n      },\n    ];\n\n    let embercomTexts = [\n      {\n        initial: 'Loading your info',\n        followUp: 'just a second or two more',\n      },\n      {\n        initial: 'We’re loading your data',\n        followUp: 'this might take a second',\n      },\n    ];\n    let isEmbercom = !isBootedInPublicPage();\n    return A(isEmbercom ? baseTexts.concat(embercomTexts) : baseTexts);\n  }),\n  chosenText: objectAtProperty('texts', 'chosenTextIndex'),\n  initialText: readOnly('chosenText.initial'),\n  followUp: readOnly('chosenText.followUp'),\n  waitTimeHasElapsed: false,\n  init() {\n    this._super(...arguments);\n    this.set('chosenTextIndex', Date.now() % 5);\n    this.runTask(() => this.set('waitTimeHasElapsed', true), ENV.APP._5000MS);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcLoadingIndicator @size=\\\"large\\\" />\\n\", {\"contents\":\"<IcLoadingIndicator @size=\\\"large\\\" />\\n\",\"moduleName\":\"embercom/components/main-content-loading.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/main-content-loading.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  classNames: ['layout__box', 'o__flexes-to-1', 'o__centers-all'],\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\n\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { setProperties } from '@ember/object';\nimport { A } from '@ember/array';\nimport { run } from '@ember/runloop';\nimport { alias } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport $ from 'jquery';\nimport render from 'embercom/vendor/intercom/render';\nimport AvatarAndMapSearch from 'embercom/components/mixins/avatar-and-map-search';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport DefaultAvatars from '@intercom/embercom-core/lib/default-avatars';\nimport { captureException } from 'embercom/lib/sentry';\n\nfunction removeElement(e) {\n  $(e.target).remove();\n}\n\nlet MapComponent = Component.extend(AvatarAndMapSearch, {\n  appService: service(),\n  app: readOnly('appService.app'),\n  mapContainerId: alias('elementID'),\n  elementID: '',\n  classNames: [],\n  profileMapIdentifier: 'patrickod.o298hjnf',\n  userListMapIdentifier: 'patrickod.map-6jmr4gr8',\n  mapBoxIdentifier: ternaryToProperty(\n    'inUserList',\n    'userListMapIdentifier',\n    'profileMapIdentifier',\n  ),\n  initialCenterPoint: [18.0, 0.0],\n  initialExtents: [\n    [-35.0, -160.0],\n    [60.0, 160.0],\n  ],\n  clusterOptions: {\n    showCoverageOnHover: false,\n    maxClusterRadius: 45,\n  },\n  mapOptions: {\n    minZoom: 2,\n    worldCopyJump: true,\n  },\n  layerOptions: {\n    detectRetina: true,\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    if (typeof window.L === 'undefined') {\n      $.getScript('https://api.tiles.mapbox.com/mapbox.js/v1.6.2/mapbox.js', () => {\n        $('head').append(\n          $('<link rel=\"stylesheet\" type=\"text/css\" />').attr(\n            'href',\n            'https://api.tiles.mapbox.com/mapbox.js/v1.6.2/mapbox.css',\n          ),\n        );\n        $('head').append(\n          $('<link rel=\"stylesheet\" type=\"text/css\" />').attr(\n            'href',\n            'https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-markercluster/v0.4.0/MarkerCluster.css',\n          ),\n        );\n        $('head').append(\n          $('<link rel=\"stylesheet\" type=\"text/css\" />').attr(\n            'href',\n            'https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-markercluster/v0.4.0/MarkerCluster.Default.css',\n          ),\n        );\n        $.getScript(\n          'https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-markercluster/v0.4.0/leaflet.markercluster.js',\n          () => {\n            this.initializeMap();\n            this.loadPage();\n          },\n        );\n      });\n    } else {\n      this.initializeMap();\n      this.loadPage();\n    }\n    // manually add event listener so we can listen on capture phase\n    run(() => $(this.element)[0].addEventListener('error', removeElement, true));\n    this.set('usersHaveLoaded', false);\n    this.set('usersLoadedCount', 0);\n    this.set('totalUsersCount', undefined);\n    this.set('uniqueUserCountries', A());\n  },\n  numberOfUserCountries: 0,\n\n  willClearRender() {\n    this._super(...arguments);\n    if (this.xhr) {\n      this.xhr.abort();\n    }\n  },\n\n  willDestroyElement() {\n    this._super(...arguments);\n    try {\n      $(this.element)[0].removeEventListener('error', removeElement, true);\n      this.map.remove();\n      this.set('map', null);\n      this.set('cluster', null);\n      this._super(...arguments);\n    } catch (e) {\n      captureException(e, {\n        fingerprint: ['map-component', 'willDestroyElement'],\n      });\n    }\n  },\n\n  icon(user) {\n    setProperties(user, {\n      app_id: this.get('app.id'),\n      default_avatar_url: DefaultAvatars.users[64],\n    });\n    return {\n      className: 'avatar o__m',\n      html: render(['map-marker'], user),\n      iconSize: [32, 32],\n    };\n  },\n  popupContent(user) {\n    return render(['map-popup'], user);\n  },\n  marker(user) {\n    return window.L.marker([user.geoip_data.latitude, user.geoip_data.longitude], {\n      icon: window.L.divIcon(this.icon(user)),\n    }).bindPopup(this.popupContent(user));\n  },\n  mappableUsers(users) {\n    return users.filter(this.userHasLatitudeAndLongtitude);\n  },\n  userHasLatitudeAndLongtitude(user) {\n    return user.geoip_data && user.geoip_data.latitude && user.geoip_data.longitude;\n  },\n  addUsers(mappableUsers) {\n    let cluster = this.cluster;\n    let markers = mappableUsers.map(function(user) {\n      return this.marker(user);\n    }, this);\n    cluster.addLayers(markers);\n    this.map.addLayer(cluster);\n  },\n\n  extractUniqueUserCountries(mappableUsers) {\n    return mappableUsers.mapBy('geoip_data.country_code2').uniq();\n  },\n\n  setMapBackground() {\n    $(this.element).css(\n      'background-image',\n      'linear-gradient( to bottom, #73b5e5, #73b5e5 50%, #e8e8e8 50%)',\n    );\n  },\n  initializeMap() {\n    let map = this.map;\n    if (map) {\n      map.remove();\n    }\n    this.set(\n      'map',\n      window.L.mapbox\n        .map(this.mapContainerId, null, this.mapOptions)\n        .fitBounds(this.initialExtents)\n        .setView(this.initialCenterPoint)\n        .addLayer(window.L.mapbox.tileLayer(this.mapBoxIdentifier, this.layerOptions)),\n    );\n    this.set('cluster', new window.L.MarkerClusterGroup(this.clusterOptions));\n    this.setMapBackground();\n  },\n\n  addNewUniqueCountriesToCountrySet(mappableUsers) {\n    let countrySet = this.uniqueUserCountries;\n    countrySet.pushObjects(this.extractUniqueUserCountries(mappableUsers));\n    countrySet = countrySet.uniq();\n    this.set('numberOfUserCountries', countrySet.get('length'));\n  },\n\n  loadPage(page) {\n    let app = this.app;\n    let predicates = this.predicates;\n    this.avatarAndMapSearch(app, predicates, page).then(response => {\n      let mappableUsers = this.mappableUsers(response.users);\n      this.addNewUniqueCountriesToCountrySet(mappableUsers);\n      this.addUsers(mappableUsers);\n      this.incrementProperty('usersLoadedCount', response.users.length);\n      this.set('totalUsersCount', response.totalCount);\n      if (response.nextPage) {\n        this.loadPage(response.nextPage);\n      } else {\n        this.set('usersHaveLoaded', true);\n      }\n    });\n  },\n});\n\nexport default MapComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"marketing-site__cta-footer {{unless (media \\\"isMobile\\\") \\\"layout__box o__has-columns\\\"}}\\\"\\n  data-test-cta-footer\\n>\\n  <div\\n    class=\\\"layout__box {{unless (media \\\"isMobile\\\") \\\"marketing-site__cta-footer__left\\\"}}\\\"\\n  >\\n    <h2 class=\\\"marketing-site__cta-footer__header\\\">\\n      Start your free trial\\n    </h2>\\n    <div class=\\\"marketing-site__cta-footer__subheader\\\">\\n      <strong>\\n        Early stage company?\\n      </strong>\\n      Eligible applicants get all of our products for just $49 a month\\n      <a\\n        href=\\\"https://www.intercom.com/early-stage/\\\"\\n        class=\\\"marketing-site__cta-footer__learn-more\\\"\\n        data-test-cta-footer-early-stage-link\\n        {{action \\\"trackClick\\\" \\\"learn_more_link\\\" preventDefault=false}}\\n      >\\n        Learn more\\n      </a>\\n    </div>\\n  </div>\\n  <div\\n    class=\\\"layout__box {{unless (media \\\"isMobile\\\") \\\"marketing-site__cta-footer__right\\\"}}\\\"\\n  >\\n    <MarketingSite::CtaForm />\\n    <div class=\\\"marketing-site__cta-footer__sign-up\\\">\\n      <div class=\\\"marketing-site__cta-footer__list\\\">\\n        <div class=\\\"marketing-site__cta-footer__list__bullet-inline\\\">\\n          Free 14-day trial\\n        </div>\\n        <div class=\\\"marketing-site__cta-footer__list__bullet-inline o__has-bullet\\\">\\n          Easy setup\\n        </div>\\n        <div class=\\\"marketing-site__cta-footer__list__bullet-inline o__has-bullet\\\">\\n          Cancel any time\\n        </div>\\n      </div>\\n      <div class=\\\"marketing-site__cta-footer__log-in\\\">\\n        Already a customer?\\n        <span\\n          class=\\\"marketing-site__cta-footer__log-in__link\\\"\\n          data-test-cta-footer-sign-in-link\\n          {{action \\\"redirectToSignIn\\\"}}\\n        >\\n          Log in\\n        </span>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"marketing-site__cta-footer {{unless (media \\\"isMobile\\\") \\\"layout__box o__has-columns\\\"}}\\\"\\n  data-test-cta-footer\\n>\\n  <div\\n    class=\\\"layout__box {{unless (media \\\"isMobile\\\") \\\"marketing-site__cta-footer__left\\\"}}\\\"\\n  >\\n    <h2 class=\\\"marketing-site__cta-footer__header\\\">\\n      Start your free trial\\n    </h2>\\n    <div class=\\\"marketing-site__cta-footer__subheader\\\">\\n      <strong>\\n        Early stage company?\\n      </strong>\\n      Eligible applicants get all of our products for just $49 a month\\n      <a\\n        href=\\\"https://www.intercom.com/early-stage/\\\"\\n        class=\\\"marketing-site__cta-footer__learn-more\\\"\\n        data-test-cta-footer-early-stage-link\\n        {{action \\\"trackClick\\\" \\\"learn_more_link\\\" preventDefault=false}}\\n      >\\n        Learn more\\n      </a>\\n    </div>\\n  </div>\\n  <div\\n    class=\\\"layout__box {{unless (media \\\"isMobile\\\") \\\"marketing-site__cta-footer__right\\\"}}\\\"\\n  >\\n    <MarketingSite::CtaForm />\\n    <div class=\\\"marketing-site__cta-footer__sign-up\\\">\\n      <div class=\\\"marketing-site__cta-footer__list\\\">\\n        <div class=\\\"marketing-site__cta-footer__list__bullet-inline\\\">\\n          Free 14-day trial\\n        </div>\\n        <div class=\\\"marketing-site__cta-footer__list__bullet-inline o__has-bullet\\\">\\n          Easy setup\\n        </div>\\n        <div class=\\\"marketing-site__cta-footer__list__bullet-inline o__has-bullet\\\">\\n          Cancel any time\\n        </div>\\n      </div>\\n      <div class=\\\"marketing-site__cta-footer__log-in\\\">\\n        Already a customer?\\n        <span\\n          class=\\\"marketing-site__cta-footer__log-in__link\\\"\\n          data-test-cta-footer-sign-in-link\\n          {{action \\\"redirectToSignIn\\\"}}\\n        >\\n          Log in\\n        </span>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/marketing-site/cta-footer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/marketing-site/cta-footer.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  appstoreService: service(),\n  actions: {\n    trackClick(object) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object,\n        location: 'cta_footer',\n      });\n    },\n    redirectToSignIn() {\n      this.send('trackClick', 'log_in_link');\n      this.appstoreService.redirectToWorkspaceAppstore();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  data-test-marketing-site-cta-form\\n  class=\\\"marketing-site__cta-form {{if isSmall \\\"o__small\\\"}} {{if submittedEmptyEmail \\\"o__error\\\"}}\\\"\\n>\\n  <div\\n    class=\\\"marketing-site__cta-form__input-wrapper {{if isSmall \\\"o__small\\\"}}\\\"\\n  >\\n    <Input\\n      data-test-marketing-site-cta-form-input\\n      @type=\\\"email\\\"\\n      class={{inputClass}}\\n      placeholder=\\\"Enter your email\\\"\\n      @value={{emailInput}}\\n    />\\n  </div>\\n  <div class=\\\"marketing-site__cta-form__button-wrapper\\\">\\n    <button\\n      data-test-marketing-site-cta-form-button\\n      class=\\\"marketing-site__cta-form__button {{if isSmall \\\"o__small\\\"}}\\\"\\n      onclick={{perform submitSignUp}}\\n      disabled={{submitSignUp.isRunning}}\\n    >\\n      Get Started\\n    </button>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  data-test-marketing-site-cta-form\\n  class=\\\"marketing-site__cta-form {{if isSmall \\\"o__small\\\"}} {{if submittedEmptyEmail \\\"o__error\\\"}}\\\"\\n>\\n  <div\\n    class=\\\"marketing-site__cta-form__input-wrapper {{if isSmall \\\"o__small\\\"}}\\\"\\n  >\\n    <Input\\n      data-test-marketing-site-cta-form-input\\n      @type=\\\"email\\\"\\n      class={{inputClass}}\\n      placeholder=\\\"Enter your email\\\"\\n      @value={{emailInput}}\\n    />\\n  </div>\\n  <div class=\\\"marketing-site__cta-form__button-wrapper\\\">\\n    <button\\n      data-test-marketing-site-cta-form-button\\n      class=\\\"marketing-site__cta-form__button {{if isSmall \\\"o__small\\\"}}\\\"\\n      onclick={{perform submitSignUp}}\\n      disabled={{submitSignUp.isRunning}}\\n    >\\n      Get Started\\n    </button>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/marketing-site/cta-form.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/marketing-site/cta-form.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { computed } from '@ember/object';\nimport ENV from 'embercom/config/environment';\nimport { MARKETO_FORM_IDS } from 'embercom/lib/gtm';\nimport { equal } from '@ember/object/computed';\n\nexport default Component.extend({\n  media: service(),\n  classNames: ['u__display-inline-block'],\n  redirectService: service(),\n  gtmService: service(),\n  emailInput: null,\n  submittedEmptyEmail: false,\n  isSmall: equal('size', 'small'),\n  inputClass: computed('isSmall', 'submittedEmptyEmail', function() {\n    return `marketing-site__cta-form__input ${\n      this.isSmall ? ' o__small' : ''\n    } ${this.submittedEmptyEmail ? ' o__error' : ''}`;\n  }),\n\n  submitSignUp: task(function*() {\n    let emailInput = this.emailInput;\n    this.set('submittedEmptyEmail', !emailInput);\n\n    if (emailInput) {\n      let emailSubmissionID = yield this.gtmService.recordEmailSubmission(\n        emailInput,\n        MARKETO_FORM_IDS.trialSignupStart,\n        { source: 'signup-intent', visitor_id: window.Intercom && window.Intercom('getVisitorId') },\n      );\n      let scheme = ENV.environment === 'development' ? 'http' : 'https';\n      let tld = ENV.environment === 'development' ? 'test' : 'io';\n      this.redirectService.redirect(\n        `${scheme}://www.intercom.${tld}/signup-redirect?email=${emailInput}&email_submission_id=${emailSubmissionID}`,\n      );\n    }\n  }).drop(),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<a\\n  data-test-intercom-logo\\n  href=\\\"https://www.intercom.com/\\\"\\n  {{action \\\"trackClick\\\" preventDefault=false}}\\n>\\n  {{inline-svg \\\"new-logo\\\" class=\\\"marketing-site__logo__intercom\\\"}}\\n</a>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<a\\n  data-test-intercom-logo\\n  href=\\\"https://www.intercom.com/\\\"\\n  {{action \\\"trackClick\\\" preventDefault=false}}\\n>\\n  {{inline-svg \\\"new-logo\\\" class=\\\"marketing-site__logo__intercom\\\"}}\\n</a>\\n\",\"moduleName\":\"embercom/components/marketing-site/intercom-logo.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/marketing-site/intercom-logo.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  actions: {\n    trackClick() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'intercom_logo',\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"{{if @isDisabled \\\"opacity-50\\\"}}\\\"\\n  {{did-insert this.reinitPredicates}}\\n  {{did-update this.reinitPredicates @predicateGroup @rolePredicateGroup}}\\n  {{will-destroy this.setDefaultRolePredicateIfNecessary}}\\n  data-test-audience-rules-editor\\n>\\n  {{#if @useRolePredicateGroup}}\\n    <MatchingSystem::AudienceSelector::UserRoleMultiSelector\\n      @isDisabled={{@isDisabled}}\\n      @optionsToDisplay={{or @allowedUserRoles this.allUserRoles}}\\n      @selected={{this.selectedUserTypes}}\\n      @onSelect={{this.switchUserRoleOnRolePredicateGroup}}\\n      class='u__left'\\n    />\\n  {{else}}\\n    <MatchingSystem::AudienceSelector::UserRoleSelector\\n      @isDisabled={{@isDisabled}}\\n      @optionsToDisplay={{or @allowedUserRoles this.allUserRoles}}\\n      @selected={{this.userSelectedValue}}\\n      @onSelect={{this.switchUserTypeOnPredicateGroup}}\\n      @class='u__left u__mr__15'\\n    />\\n  {{/if}}\\n</div>\\n\\n<UsersAndCompanies::RulesEditor\\n  @isDisabled={{@isDisabled}}\\n  @hideAddFilterGroupButton={{@hideAddFilterGroupButton}}\\n  @attributeGroupList={{this.attributeGroupList}}\\n  @predicateGroup={{this.predicateGroup}}\\n  @showUserData={{not @useRolePredicateGroup}}\\n  @showUserSwitcher={{false}}\\n  @onUpdate={{@onUpdatePredicates}}\\n  @attributeDropdownFilterPlaceholder=\\\"Search people and company data\\\"\\n  @contentEventsDisabled={{@contentEventsDisabled}}\\n  @groupAttributePickerDisabledIdentifiers={{this.groupAttributePickerDisabledIdentifiers}}\\n  @attributePickerDisabledIdentifiers={{this.groupAttributePickerDisabledIdentifiers}}\\n  as |editor|\\n>\\n  {{#unless @hideAddRule}}\\n    <editor.attributePickerOpener @label='Add a rule'/>\\n  {{/unless}}\\n</UsersAndCompanies::RulesEditor>\\n\", {\"contents\":\"<div class=\\\"{{if @isDisabled \\\"opacity-50\\\"}}\\\"\\n  {{did-insert this.reinitPredicates}}\\n  {{did-update this.reinitPredicates @predicateGroup @rolePredicateGroup}}\\n  {{will-destroy this.setDefaultRolePredicateIfNecessary}}\\n  data-test-audience-rules-editor\\n>\\n  {{#if @useRolePredicateGroup}}\\n    <MatchingSystem::AudienceSelector::UserRoleMultiSelector\\n      @isDisabled={{@isDisabled}}\\n      @optionsToDisplay={{or @allowedUserRoles this.allUserRoles}}\\n      @selected={{this.selectedUserTypes}}\\n      @onSelect={{this.switchUserRoleOnRolePredicateGroup}}\\n      class='u__left'\\n    />\\n  {{else}}\\n    <MatchingSystem::AudienceSelector::UserRoleSelector\\n      @isDisabled={{@isDisabled}}\\n      @optionsToDisplay={{or @allowedUserRoles this.allUserRoles}}\\n      @selected={{this.userSelectedValue}}\\n      @onSelect={{this.switchUserTypeOnPredicateGroup}}\\n      @class='u__left u__mr__15'\\n    />\\n  {{/if}}\\n</div>\\n\\n<UsersAndCompanies::RulesEditor\\n  @isDisabled={{@isDisabled}}\\n  @hideAddFilterGroupButton={{@hideAddFilterGroupButton}}\\n  @attributeGroupList={{this.attributeGroupList}}\\n  @predicateGroup={{this.predicateGroup}}\\n  @showUserData={{not @useRolePredicateGroup}}\\n  @showUserSwitcher={{false}}\\n  @onUpdate={{@onUpdatePredicates}}\\n  @attributeDropdownFilterPlaceholder=\\\"Search people and company data\\\"\\n  @contentEventsDisabled={{@contentEventsDisabled}}\\n  @groupAttributePickerDisabledIdentifiers={{this.groupAttributePickerDisabledIdentifiers}}\\n  @attributePickerDisabledIdentifiers={{this.groupAttributePickerDisabledIdentifiers}}\\n  as |editor|\\n>\\n  {{#unless @hideAddRule}}\\n    <editor.attributePickerOpener @label='Add a rule'/>\\n  {{/unless}}\\n</UsersAndCompanies::RulesEditor>\\n\",\"moduleName\":\"embercom/components/matching-system/audience-selector/audience-rules-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/matching-system/audience-selector/audience-rules-editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { USER_ROLE_PREDICATE } from 'predicates/models/data/roles';\nimport PredicateGroup from 'predicates/models/predicate-group';\nimport { copy } from 'ember-copy';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { isEmpty } from '@ember/utils';\n\nconst ROLE_VALUE = {\n  user: 'user_role',\n  lead: 'contact_role',\n  visitor: 'visitor_role',\n};\n\nexport default class AudienceRulesEditor extends Component {\n  @service appService;\n  @service attributeService;\n  @service store;\n\n  @tracked predicateGroup = this.args.predicateGroup;\n  @tracked rolePredicateGroup = this.args.rolePredicateGroup;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  allUserRoles = ['user', 'lead', 'visitor'];\n\n  get userSelectedValue() {\n    return (\n      this.args.predicateGroup.get('userPredicate.userType') ||\n      this.predicateGroup.userPredicate.userType\n    );\n  }\n\n  constructor() {\n    super(...arguments);\n    this._initPredicates();\n  }\n\n  @action\n  reinitPredicates() {\n    this.predicateGroup = copy(this.args.predicateGroup);\n    this.rolePredicateGroup = copy(this.args.rolePredicateGroup);\n    this._initPredicates();\n  }\n\n  _initPredicates() {\n    if (this.args.useRolePredicateGroup) {\n      this._initRolePredicateGroup();\n    } else {\n      this._initPredicateGroup();\n    }\n  }\n\n  _initRolePredicateGroup() {\n    if (isEmpty(this.rolePredicateGroup?.predicates)) {\n      // If you change the default role predicate below, you must also change in the Ruleset model in the backend.\n      this.rolePredicateGroup = this._createRolePredicateGroup(['user']);\n    }\n  }\n\n  _initPredicateGroup() {\n    let predicates = this.predicateGroup.predicates.serialize();\n    if (isEmpty(predicates)) {\n      predicates.pushObject(USER_ROLE_PREDICATE);\n      this.predicateGroup = this.store.createFragment('predicates/predicate-group', {\n        predicates: PredicateGroup.convertRawPredicates(this.store, predicates),\n      });\n    }\n  }\n\n  _createRolePredicateGroup(userRoles) {\n    if (this.args.allowedUserRoles) {\n      userRoles = userRoles.filter(userRole => this.args.allowedUserRoles.includes(userRole));\n    }\n    let roleValues = userRoles.map(role => {\n      if (!(role in ROLE_VALUE)) {\n        throw new Error(`Unknown role ${role}`);\n      }\n      return ROLE_VALUE[role];\n    });\n    let predicates = [\n      {\n        attribute: 'role',\n        type: 'role',\n        comparison: 'in',\n        value: roleValues,\n      },\n    ];\n    return this.store.createFragment('predicates/predicate-group', {\n      predicates: PredicateGroup.convertRawPredicates(this.store, predicates),\n    });\n  }\n\n  get _validAttributeList() {\n    let validAttributes;\n    if (this.targetingVisitorsOnly) {\n      validAttributes = this.attributeService.visitorMessagingAttributesNoPageTargetting;\n    } else {\n      validAttributes = this.app.companiesActive\n        ? this.attributeService.filterableUserAttributesForMessaging.concat(\n            this.attributeService.filterableCompanyAttributesForMessaging,\n          )\n        : this.attributeService.filterableUserAttributesForMessaging;\n    }\n    return validAttributes.map(x => x.identifier).concat('role');\n  }\n\n  get attributeGroupList() {\n    let groups = [];\n\n    if (this.targetingVisitorsOnly) {\n      groups.push({\n        heading: 'Person Data',\n        attributes: this.attributeService.visitorMessagingAttributesNoPageTargetting,\n      });\n    } else {\n      groups.push({\n        heading: 'Person Data',\n        attributes: this.attributeService.filterableUserAttributesForMessaging,\n      });\n\n      if (this.app.companiesActive) {\n        groups.push({\n          heading: 'Company Data',\n          attributes: this.attributeService.filterableCompanyAttributesForMessaging,\n        });\n      }\n\n      if (this.args.showSeriesContentEvents) {\n        groups = [...groups, ...this.attributeService.attributeGroupListForContentEvents];\n      }\n    }\n\n    return groups;\n  }\n\n  get targetingVisitorsOnly() {\n    if (this.predicateGroup.userType) {\n      return this.predicateGroup.userType === 'visitor';\n    }\n    let userTypes = this.rolePredicateGroup.userPredicate.userTypes;\n    return userTypes.length === 1 && userTypes[0] === 'visitor';\n  }\n\n  get selectedUserTypes() {\n    return (\n      this.args.rolePredicateGroup.get('userPredicate.userTypes') ||\n      this.rolePredicateGroup.userPredicate.userTypes\n    );\n  }\n\n  get groupAttributePickerDisabledIdentifiers() {\n    let identifierToReasonMapping = {};\n\n    if (this.args.contentEventsDisabled) {\n      this.attributeService.attributeGroupListForContentEvents.forEach(group => {\n        group.attributes.forEach(attribute => {\n          let reason = `Currently you can only add ${group.heading} data to non-starting rules`;\n          identifierToReasonMapping[attribute.id] = reason;\n        });\n      });\n    }\n\n    return identifierToReasonMapping;\n  }\n\n  _isValid(p) {\n    return this._validAttributeList.includes(p.attributeIdentifier) || p.isLogicalType;\n  }\n\n  _removeInvalidPredicates() {\n    this.predicateGroup.removeAll(p => !this._isValid(p));\n  }\n\n  @action\n  setDefaultRolePredicateIfNecessary() {\n    if (this.args.isDisabled) {\n      return;\n    }\n    if (this.args.useRolePredicateGroup) {\n      if (isEmpty(this.args.rolePredicateGroup.predicates)) {\n        this.args.onUpdateRolePredicates(this.rolePredicateGroup.predicates);\n      }\n    } else if (isEmpty(this.args.predicateGroup.predicates)) {\n      this.args.onUpdatePredicates(this.predicateGroup.predicates);\n    }\n  }\n\n  @action\n  switchUserTypeOnPredicateGroup(userType) {\n    this.predicateGroup.switchUserType(userType);\n    this.predicateGroup = copy(this.predicateGroup);\n    this._removeInvalidPredicates();\n    this.args.onUpdatePredicates(this.predicateGroup.predicates);\n  }\n\n  @action\n  switchUserRoleOnRolePredicateGroup(userRoles) {\n    let rolePredicateGroup = this._createRolePredicateGroup(userRoles);\n    this.rolePredicateGroup = rolePredicateGroup;\n    this._removeInvalidPredicates();\n    this.args.onUpdateRolePredicates(rolePredicateGroup.predicates);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{yield}}\", {\"contents\":\"{{yield}}\",\"moduleName\":\"embercom/components/matching-system/audience-selector/custom-rule-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/matching-system/audience-selector/custom-rule-editor.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{yield}}\", {\"contents\":\"{{yield}}\",\"moduleName\":\"embercom/components/matching-system/audience-selector/footer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/matching-system/audience-selector/footer.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col flex-1 matching-system__main mt-4 {{if @isDisabled \\\"o__disabled\\\"}}\\\" data-test-audience-selector-main>\\n  <div class=\\\"flex flex-col gap-4 pl-6 pr-6\\\">\\n    {{#if @audienceEditorConfiguration.matchBehaviorSwitcher}}\\n      {{component @audienceEditorConfiguration.matchBehaviorSwitcher.component config=@audienceEditorConfiguration.matchBehaviorSwitcher.config ruleset=@ruleset}}\\n    {{/if}}\\n\\n    {{#if @audienceEditorConfiguration.clientPredicatesEditor}}\\n      {{component @audienceEditorConfiguration.clientPredicatesEditor.component config=@audienceEditorConfiguration.clientPredicatesEditor.config ruleset=@ruleset}}\\n    {{/if}}\\n\\n    {{#if @audienceEditorConfiguration.audienceRulesEditor}}\\n      {{component @audienceEditorConfiguration.audienceRulesEditor.component config=@audienceEditorConfiguration.audienceRulesEditor.config ruleset=@ruleset}}\\n    {{/if}}\\n\\n    {{yield (hash\\n      CustomRuleEditor=(component \\\"matching-system/audience-selector/custom-rule-editor\\\")\\n    )}}\\n  </div>\\n\\n  <div class=\\\"flex flex-row\\\">\\n    {{#if @audienceEditorConfiguration.audiencePreview}}\\n      {{component @audienceEditorConfiguration.audiencePreview.component config=@audienceEditorConfiguration.audiencePreview.config ruleset=@ruleset}}\\n    {{/if}}\\n  </div>\\n\\n  {{#if @audienceEditorConfiguration.footer}}\\n    {{component @audienceEditorConfiguration.footer.component config=@audienceEditorConfiguration.footer.config ruleset=@ruleset}}\\n  {{/if}}\\n\\n  {{yield (hash\\n    Footer=(component \\\"matching-system/audience-selector/footer\\\")\\n  )}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col flex-1 matching-system__main mt-4 {{if @isDisabled \\\"o__disabled\\\"}}\\\" data-test-audience-selector-main>\\n  <div class=\\\"flex flex-col gap-4 pl-6 pr-6\\\">\\n    {{#if @audienceEditorConfiguration.matchBehaviorSwitcher}}\\n      {{component @audienceEditorConfiguration.matchBehaviorSwitcher.component config=@audienceEditorConfiguration.matchBehaviorSwitcher.config ruleset=@ruleset}}\\n    {{/if}}\\n\\n    {{#if @audienceEditorConfiguration.clientPredicatesEditor}}\\n      {{component @audienceEditorConfiguration.clientPredicatesEditor.component config=@audienceEditorConfiguration.clientPredicatesEditor.config ruleset=@ruleset}}\\n    {{/if}}\\n\\n    {{#if @audienceEditorConfiguration.audienceRulesEditor}}\\n      {{component @audienceEditorConfiguration.audienceRulesEditor.component config=@audienceEditorConfiguration.audienceRulesEditor.config ruleset=@ruleset}}\\n    {{/if}}\\n\\n    {{yield (hash\\n      CustomRuleEditor=(component \\\"matching-system/audience-selector/custom-rule-editor\\\")\\n    )}}\\n  </div>\\n\\n  <div class=\\\"flex flex-row\\\">\\n    {{#if @audienceEditorConfiguration.audiencePreview}}\\n      {{component @audienceEditorConfiguration.audiencePreview.component config=@audienceEditorConfiguration.audiencePreview.config ruleset=@ruleset}}\\n    {{/if}}\\n  </div>\\n\\n  {{#if @audienceEditorConfiguration.footer}}\\n    {{component @audienceEditorConfiguration.footer.component config=@audienceEditorConfiguration.footer.config ruleset=@ruleset}}\\n  {{/if}}\\n\\n  {{yield (hash\\n    Footer=(component \\\"matching-system/audience-selector/footer\\\")\\n  )}}\\n</div>\\n\",\"moduleName\":\"embercom/components/matching-system/audience-selector/main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/matching-system/audience-selector/main.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @ruleset.isMatchBehaviorSingle}}\\n  <IcFilterBlock class=\\\"pr-4 mb-1 opacity-50\\\" @name=\\\"Ongoing\\\" @icon=\\\"auto-message\\\" @isOneLine={{true}}\\n                 data-test-match-behavior-summary />\\n{{else if @ruleset.isMatchBehaviorStatic}}\\n  <IcFilterBlock class=\\\"pr-4 mb-1 opacity-50\\\" @name=\\\"One-off\\\" @icon=\\\"multiple-people\\\" @isOneLine={{true}}\\n                 data-test-match-behavior-summary />\\n{{/if}}\\n\", {\"contents\":\"{{#if @ruleset.isMatchBehaviorSingle}}\\n  <IcFilterBlock class=\\\"pr-4 mb-1 opacity-50\\\" @name=\\\"Ongoing\\\" @icon=\\\"auto-message\\\" @isOneLine={{true}}\\n                 data-test-match-behavior-summary />\\n{{else if @ruleset.isMatchBehaviorStatic}}\\n  <IcFilterBlock class=\\\"pr-4 mb-1 opacity-50\\\" @name=\\\"One-off\\\" @icon=\\\"multiple-people\\\" @isOneLine={{true}}\\n                 data-test-match-behavior-summary />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/matching-system/audience-selector/match-behavior/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/matching-system/audience-selector/match-behavior/summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row\\\">\\n  <PulseCandidate::VerticalRadioButtonGroup\\n    @disabled={{not @ruleset.isDraft}}\\n    @disabledTooltip=\\\"You cannot change the match behavior once it has been set live\\\"\\n    @onChange={{set @ruleset.matchBehavior}}\\n    @selected={{@ruleset.matchBehavior}}\\n    data-intercom-target=\\\"Content Editor match behavior selector\\\"\\n    data-test-match-behavior-switcher\\n    as |group|\\n  >\\n    <group.Button\\n      @icon=\\\"auto-message\\\"\\n      @label=\\\"Ongoing\\\"\\n      @description=\\\"Keep sending to people who match your rules in the future\\\"\\n      @value={{this.matchBehaviors.single}}\\n    />\\n    <group.Button\\n      @icon=\\\"multiple-people\\\"\\n      @label=\\\"One-off\\\"\\n      @description=\\\"Only send to people who match your rules right now\\\"\\n      @value={{this.matchBehaviors.static}}\\n    />\\n  </PulseCandidate::VerticalRadioButtonGroup>\\n  <div class=\\\"flex flex-col\\\"></div>\\n</div>\\n\\n\", {\"contents\":\"<div class=\\\"flex flex-row\\\">\\n  <PulseCandidate::VerticalRadioButtonGroup\\n    @disabled={{not @ruleset.isDraft}}\\n    @disabledTooltip=\\\"You cannot change the match behavior once it has been set live\\\"\\n    @onChange={{set @ruleset.matchBehavior}}\\n    @selected={{@ruleset.matchBehavior}}\\n    data-intercom-target=\\\"Content Editor match behavior selector\\\"\\n    data-test-match-behavior-switcher\\n    as |group|\\n  >\\n    <group.Button\\n      @icon=\\\"auto-message\\\"\\n      @label=\\\"Ongoing\\\"\\n      @description=\\\"Keep sending to people who match your rules in the future\\\"\\n      @value={{this.matchBehaviors.single}}\\n    />\\n    <group.Button\\n      @icon=\\\"multiple-people\\\"\\n      @label=\\\"One-off\\\"\\n      @description=\\\"Only send to people who match your rules right now\\\"\\n      @value={{this.matchBehaviors.static}}\\n    />\\n  </PulseCandidate::VerticalRadioButtonGroup>\\n  <div class=\\\"flex flex-col\\\"></div>\\n</div>\\n\\n\",\"moduleName\":\"embercom/components/matching-system/audience-selector/match-behavior/switcher.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/matching-system/audience-selector/match-behavior/switcher.hbs\"}});\nimport Component from '@glimmer/component';\nimport { matchBehaviors } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class Switcher extends Component {\n  get matchBehaviors() {\n    return matchBehaviors;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-rows o__flexes-to-1\\\" data-test-page-target>\\n  {{#if isEditing}}\\n    <div class=\\\"{{if hasPageTargetPredicates \\\"u__padb__15\\\"}}\\\">\\n      that matches all these rules\\n    </div>\\n    {{#each pageTargetPredicates as |predicate index|}}\\n      <MatchingSystem::AudienceSelector::PageTarget::Predicate\\n        @index={{index}}\\n        @isDisabled={{@isDisabled}}\\n        @isEditing={{true}}\\n        @predicate={{predicate}}\\n        @updatePageTargetPredicate={{action \\\"updatePageTargetPredicate\\\" index}}\\n        @removePageTargetPredicate={{action \\\"removePageTargetPredicate\\\" index}}\\n        data-test-predicate-container={{true}}\\n      />\\n    {{/each}}\\n    <div class=\\\"layout__box o__has-columns u__padt__15\\\">\\n      <span class=\\\"pt-px pb-px u__display-inline-block\\\">\\n        {{! prettier-ignore }}\\n        <a class=\\\"btn__tertiary {{if @isDisabled \\\"o__disabled\\\"}}\\\" onclick={{action \\\"addPageTargetPredicate\\\"}} data-test-add-url>\\n          {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add URL rule</a>\\n      </span>\\n    </div>\\n  {{else}}\\n    <span\\n      class=\\\"u__mr__20 text-gray\\\"\\n      data-test-page-target-predicate-view\\n    >\\n      {{ic-interface-icon \\\"link\\\"}} {{#if hasPageTargetPredicates}}\\n        <span>\\n          {{#each pageTargetPredicates as |predicate index|}}\\n            <MatchingSystem::AudienceSelector::PageTarget::Predicate\\n              @index={{index}}\\n              @isEditing={{false}}\\n              @predicate={{predicate}}\\n            />\\n          {{/each}}\\n        </span>\\n      {{else}}\\n        Page URL has any value\\n      {{/if}}\\n    </span>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-rows o__flexes-to-1\\\" data-test-page-target>\\n  {{#if isEditing}}\\n    <div class=\\\"{{if hasPageTargetPredicates \\\"u__padb__15\\\"}}\\\">\\n      that matches all these rules\\n    </div>\\n    {{#each pageTargetPredicates as |predicate index|}}\\n      <MatchingSystem::AudienceSelector::PageTarget::Predicate\\n        @index={{index}}\\n        @isDisabled={{@isDisabled}}\\n        @isEditing={{true}}\\n        @predicate={{predicate}}\\n        @updatePageTargetPredicate={{action \\\"updatePageTargetPredicate\\\" index}}\\n        @removePageTargetPredicate={{action \\\"removePageTargetPredicate\\\" index}}\\n        data-test-predicate-container={{true}}\\n      />\\n    {{/each}}\\n    <div class=\\\"layout__box o__has-columns u__padt__15\\\">\\n      <span class=\\\"pt-px pb-px u__display-inline-block\\\">\\n        {{! prettier-ignore }}\\n        <a class=\\\"btn__tertiary {{if @isDisabled \\\"o__disabled\\\"}}\\\" onclick={{action \\\"addPageTargetPredicate\\\"}} data-test-add-url>\\n          {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add URL rule</a>\\n      </span>\\n    </div>\\n  {{else}}\\n    <span\\n      class=\\\"u__mr__20 text-gray\\\"\\n      data-test-page-target-predicate-view\\n    >\\n      {{ic-interface-icon \\\"link\\\"}} {{#if hasPageTargetPredicates}}\\n        <span>\\n          {{#each pageTargetPredicates as |predicate index|}}\\n            <MatchingSystem::AudienceSelector::PageTarget::Predicate\\n              @index={{index}}\\n              @isEditing={{false}}\\n              @predicate={{predicate}}\\n            />\\n          {{/each}}\\n        </span>\\n      {{else}}\\n        Page URL has any value\\n      {{/if}}\\n    </span>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/matching-system/audience-selector/page-target.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/matching-system/audience-selector/page-target.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { filterBy, not, notEmpty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { findBy, ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport Predicate from 'predicates/models/predicate';\nimport PredicateGroup from 'predicates/models/predicate-group';\n\nconst PAGE_TARGETING_PREDICATE = {\n  type: 'string',\n  attribute: 'client_attributes.last_visited_url',\n  comparison: 'eq',\n  value: '',\n};\n\nexport default Component.extend({\n  store: service(),\n  pageTargetPredicates: filterBy('clientPredicateGroup.predicates', 'isPageTarget'),\n  hasPageTargetPredicates: notEmpty('pageTargetPredicates'),\n  hasNoPageTargetPredicates: not('hasPageTargetPredicates'),\n\n  clientPredicatesOrPredicate: findBy('clientPredicateGroup.predicates', 'isOrPredicate'),\n  isClientPredicatesOrMode: notEmpty('clientPredicatesOrPredicate'),\n  clientPredicatesPageTargetJoinType: ternary('isClientPredicatesOrMode', 'or', 'and'),\n\n  init() {\n    this._super(...arguments);\n    this.initPredicates();\n  },\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    if (this.havePredicatesChanged) {\n      this.initPredicates();\n    }\n  },\n\n  initPredicates() {\n    let serializedPredicates = this.predicates.serialize();\n    this.setClientPredicateGroup(serializedPredicates);\n    this.set('lastPredicates', serializedPredicates);\n  },\n\n  havePredicatesChanged: computed('lastPredicates.[]', 'predicates.[]', function() {\n    return !_.isEqual(this.lastPredicates, this.predicates.serialize());\n  }),\n\n  setClientPredicateGroup(serializedPredicates) {\n    this.set(\n      'clientPredicateGroup',\n      this.store.createFragment('predicates/predicate-group', {\n        predicates: PredicateGroup.convertRawPredicates(this.store, serializedPredicates),\n      }),\n    );\n  },\n\n  _addEmptyPageTargetingPredicate() {\n    this.clientPredicateGroup.predicates.pushObject(\n      Predicate.createPredicateWithGenericType(this.store, PAGE_TARGETING_PREDICATE),\n    );\n    this.onUpdateClientPredicates(this.clientPredicateGroup.predicates);\n  },\n\n  _pageTargetPredicateAtIndex(index, predicateGroup) {\n    let pageTargetPredicates = predicateGroup.predicates.filter(\n      predicate => predicate.isPageTarget,\n    );\n    return pageTargetPredicates.objectAt(index);\n  },\n\n  _removePageTargetingPredicate(index) {\n    let predicateToRemove = this._pageTargetPredicateAtIndex(index, this.clientPredicateGroup);\n    this.clientPredicateGroup.predicates.removeObject(predicateToRemove);\n    this.onUpdateClientPredicates(this.clientPredicateGroup.predicates);\n  },\n\n  _updatePredicate(index, field, newValue) {\n    let predicate = this._pageTargetPredicateAtIndex(index, this.clientPredicateGroup);\n    if (predicate.get(field) !== newValue) {\n      predicate.set(field, newValue);\n      this.onUpdateClientPredicates(this.clientPredicateGroup.predicates);\n    }\n  },\n\n  actions: {\n    updatePageTargetPredicate(index, input) {\n      this._updatePredicate(index, 'comparison', input.comparison);\n      this._updatePredicate(index, 'value', input.value);\n    },\n\n    removePageTargetPredicate(index) {\n      this._removePageTargetingPredicate(index);\n    },\n\n    addPageTargetPredicate(e) {\n      this._addEmptyPageTargetingPredicate();\n      e.stopPropagation();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @isDisabled}}\\n  <div class=\\\"users-and-companies__predicates-editor__connection-switcher-label u__left u__mb__5\\\">\\n    {{@predicateGroup.logicalMode}}\\n  </div>\\n{{else}}\\n  <@predicatesEditor.components.logicalSwitcher\\n    @forceDisabledTooltipContent={{this.logicalSwitcherTooltip}}\\n    @isForceDisabled={{and @predicateGroup.isAndMode (gt @predicatesEditor.predicates.length this.orFilterLimit)}}\\n    @items={{this.logicalSwitcherItems}}\\n    @isOneLine={{true}}\\n    class=\\\"u__left u__mb__5 users-and-companies__predicates-editor__connection-switcher\\\"\\n    @mouseEnter={{fn (set this.connectionSwitcherHovered) true}}\\n    @mouseLeave={{fn (set this.connectionSwitcherHovered) false}} as |logicalSwitcher|\\n  >\\n    <div class=\\\"users-and-companies__predicates-editor\\n                {{if this.connectionSwitcherHovered \\\"o__connection-switcher-hovered\\\"}}\\\">\\n\\n      <div class=\\\"users-and-companies__predicates-editor__connection-switcher-label u__pointer-cursor\\n                  {{if logicalSwitcher.dropdownIsOpen \\\"o__active\\\"}} {{if logicalSwitcher.isDisabled \\\"o__disabled\\\"}}\\\"\\n         data-test-switch-connection-button\\n      >\\n        {{logicalSwitcher.label}}\\n      </div>\\n    </div>\\n  </@predicatesEditor.components.logicalSwitcher>\\n{{/if}}\", {\"contents\":\"{{#if @isDisabled}}\\n  <div class=\\\"users-and-companies__predicates-editor__connection-switcher-label u__left u__mb__5\\\">\\n    {{@predicateGroup.logicalMode}}\\n  </div>\\n{{else}}\\n  <@predicatesEditor.components.logicalSwitcher\\n    @forceDisabledTooltipContent={{this.logicalSwitcherTooltip}}\\n    @isForceDisabled={{and @predicateGroup.isAndMode (gt @predicatesEditor.predicates.length this.orFilterLimit)}}\\n    @items={{this.logicalSwitcherItems}}\\n    @isOneLine={{true}}\\n    class=\\\"u__left u__mb__5 users-and-companies__predicates-editor__connection-switcher\\\"\\n    @mouseEnter={{fn (set this.connectionSwitcherHovered) true}}\\n    @mouseLeave={{fn (set this.connectionSwitcherHovered) false}} as |logicalSwitcher|\\n  >\\n    <div class=\\\"users-and-companies__predicates-editor\\n                {{if this.connectionSwitcherHovered \\\"o__connection-switcher-hovered\\\"}}\\\">\\n\\n      <div class=\\\"users-and-companies__predicates-editor__connection-switcher-label u__pointer-cursor\\n                  {{if logicalSwitcher.dropdownIsOpen \\\"o__active\\\"}} {{if logicalSwitcher.isDisabled \\\"o__disabled\\\"}}\\\"\\n         data-test-switch-connection-button\\n      >\\n        {{logicalSwitcher.label}}\\n      </div>\\n    </div>\\n  </@predicatesEditor.components.logicalSwitcher>\\n{{/if}}\",\"moduleName\":\"embercom/components/matching-system/audience-selector/page-target/connection-switcher.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/matching-system/audience-selector/page-target/connection-switcher.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class ConnectionSwitcher extends Component {\n  @tracked connectionSwitcherHovered = false;\n  orFilterLimit = 10;\n  logicalSwitcherItems = [\n    { text: 'and', value: 'and' },\n    { text: 'or', value: 'or' },\n  ];\n  logicalSwitcherTooltip =\n    \"You have too many filters to switch to 'or' (the limit is 10). Remove a few first.\";\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if @isEditing}}\\n  <FilterBlock::FilterBlockEditor\\n    class={{concat (if (not-eq @index 0) \\\"u__padt__10 \\\") \\\"u__force-breaks\\\"}}\\n    @name=\\\"Page URL\\\"\\n    @details={{concat this.comparisonText \\\" \\\" @predicate.value}}\\n    @icon=\\\"link\\\"\\n    @isDisabled={{@isDisabled}}\\n    @isInvalid={{not (or @predicate.value (eq @predicate.comparison \\\"known\\\"))}}\\n    @justAdded={{this.justAdded}}\\n    @onClose={{action \\\"onClose\\\"}}\\n    @onUpdate={{@updatePageTargetPredicate}}\\n    @onDelete={{@removePageTargetPredicate}}\\n    @overlayParams={{hash predicate=@predicate mode=\\\"pageTarget\\\"}}\\n  />\\n{{else}}\\n  {{#if (not-eq @index 0)}}\\n    <span class=\\\"t__light-text\\\" test-page-target-summary-join=\\\"\\\">\\n      and\\n    </span>\\n  {{/if}}\\n  <span test-page-target-summary-description=\\\"\\\">\\n    Page URL {{this.comparisonText}} {{@predicate.value}}\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if @isEditing}}\\n  <FilterBlock::FilterBlockEditor\\n    class={{concat (if (not-eq @index 0) \\\"u__padt__10 \\\") \\\"u__force-breaks\\\"}}\\n    @name=\\\"Page URL\\\"\\n    @details={{concat this.comparisonText \\\" \\\" @predicate.value}}\\n    @icon=\\\"link\\\"\\n    @isDisabled={{@isDisabled}}\\n    @isInvalid={{not (or @predicate.value (eq @predicate.comparison \\\"known\\\"))}}\\n    @justAdded={{this.justAdded}}\\n    @onClose={{action \\\"onClose\\\"}}\\n    @onUpdate={{@updatePageTargetPredicate}}\\n    @onDelete={{@removePageTargetPredicate}}\\n    @overlayParams={{hash predicate=@predicate mode=\\\"pageTarget\\\"}}\\n  />\\n{{else}}\\n  {{#if (not-eq @index 0)}}\\n    <span class=\\\"t__light-text\\\" test-page-target-summary-join=\\\"\\\">\\n      and\\n    </span>\\n  {{/if}}\\n  <span test-page-target-summary-description=\\\"\\\">\\n    Page URL {{this.comparisonText}} {{@predicate.value}}\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/matching-system/audience-selector/page-target/predicate.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/matching-system/audience-selector/page-target/predicate.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport PageTargetPredicateComparisonOptions from 'predicates/models/data/page-target-predicate-comparison-options';\n\nexport default Component.extend({\n  tagName: 'span',\n  comparisonText: computed('predicate.comparison', function() {\n    let comparator = PageTargetPredicateComparisonOptions.string.comparison.find(\n      comparator => comparator.value === this.predicate.comparison,\n    );\n    return comparator.label;\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.set('justAdded', this.predicate.comparison === 'eq' && this.predicate.value === '');\n  },\n\n  actions: {\n    onClose() {\n      this.set('justAdded', false);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::PredicatesEditor\\n  data-test-page-target-rules-editor={{true}}\\n  @isDisabled={{@isDisabled}}\\n  @tagName=\\\"span\\\"\\n  @predicates={{@predicateGroup.predicates}}\\n  @onUpdate={{this.proxiedOnUpdate}}\\n  @attributeGroupList={{this.attributeGroupList}}\\n  @mode=\\\"vam\\\" as |predicatesEditor|\\n>\\n  {{#each predicatesEditor.predicates as |predicate index|}}\\n    {{#if (not-eq index 0)}}\\n      <MatchingSystem::AudienceSelector::PageTarget::ConnectionSwitcher\\n        @isDisabled={{@isDisabled}}\\n        @predicatesEditor={{predicatesEditor}}\\n        @predicateGroup={{@predicateGroup}}\\n      />\\n    {{/if}}\\n    <predicatesEditor.components.filterGroupEditor\\n      class=\\\"mb-1 {{if @isDisabled \\\"opacity-50\\\"}}\\\"\\n      data-test-filter-group={{index}}\\n      @index={{index}}\\n      @isDisabled={{@isDisabled}}\\n      @hideAddButton={{@isDisabled}}\\n      @hasFilter={{false}}\\n      @predicate={{predicate}}\\n      @predicateContext={{@predicateContext}}\\n      @orFilterLimit={{orFilterLimit}}\\n      @disabledAttributeIdentifiers={{get this.disabledGroupPredicates index}}\\n    />\\n  {{/each}}\\n\\n  {{#unless @hideAddRule}}\\n    <span\\n      class=\\\"users-and-companies__predicates-editor__add-filter u__ml__15 u__left\\n      {{if predicatesEditor.predicates.length \\\"ml-4\\\"}}\\\"\\n    >\\n      <IcDropdownAndOpenerPair\\n        @isDisabled={{not @predicateGroup.isValid}}\\n        as |pair|\\n      >\\n        <pair.opener>\\n          <a\\n            class=\\\"btn__tertiary {{unless @predicateGroup.isValid \\\"o__disabled\\\"}}\\\"\\n            data-test-attribute-dropdown-button\\n          >\\n            {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}}\\n            Add a rule\\n          </a>\\n        </pair.opener>\\n        <pair.dropdown as |dropdown|>\\n          <dropdown.group @isMain={{true}} as |group|>\\n            <group.item>\\n              <a\\n                class=\\\"users-and-companies__predicates-editor__filter-item\\\"\\n                data-test-attribute-add-url-rule\\n                {{on \\\"click\\\" (stop-propagation (fn this.addPageTargetPredicate predicatesEditor))}}\\n              >\\n                Add a URL rule\\n              </a>\\n            </group.item>\\n            <group.item>\\n              <a\\n                class=\\\"users-and-companies__predicates-editor__filter-item {{if this.hasTimeOnPagePredicate \\\"o__disabled\\\"}}\\\"\\n                data-test-attribute-add-time-on-page-rule\\n                {{on \\\"click\\\" (stop-propagation (fn this.addTimeOnPagePredicate predicatesEditor))}}\\n              >\\n                Add a time on page rule\\n              </a>\\n            </group.item>\\n          </dropdown.group>\\n        </pair.dropdown>\\n      </IcDropdownAndOpenerPair>\\n    </span>\\n  {{/unless}}\\n</Predicates::PredicatesEditor>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::PredicatesEditor\\n  data-test-page-target-rules-editor={{true}}\\n  @isDisabled={{@isDisabled}}\\n  @tagName=\\\"span\\\"\\n  @predicates={{@predicateGroup.predicates}}\\n  @onUpdate={{this.proxiedOnUpdate}}\\n  @attributeGroupList={{this.attributeGroupList}}\\n  @mode=\\\"vam\\\" as |predicatesEditor|\\n>\\n  {{#each predicatesEditor.predicates as |predicate index|}}\\n    {{#if (not-eq index 0)}}\\n      <MatchingSystem::AudienceSelector::PageTarget::ConnectionSwitcher\\n        @isDisabled={{@isDisabled}}\\n        @predicatesEditor={{predicatesEditor}}\\n        @predicateGroup={{@predicateGroup}}\\n      />\\n    {{/if}}\\n    <predicatesEditor.components.filterGroupEditor\\n      class=\\\"mb-1 {{if @isDisabled \\\"opacity-50\\\"}}\\\"\\n      data-test-filter-group={{index}}\\n      @index={{index}}\\n      @isDisabled={{@isDisabled}}\\n      @hideAddButton={{@isDisabled}}\\n      @hasFilter={{false}}\\n      @predicate={{predicate}}\\n      @predicateContext={{@predicateContext}}\\n      @orFilterLimit={{orFilterLimit}}\\n      @disabledAttributeIdentifiers={{get this.disabledGroupPredicates index}}\\n    />\\n  {{/each}}\\n\\n  {{#unless @hideAddRule}}\\n    <span\\n      class=\\\"users-and-companies__predicates-editor__add-filter u__ml__15 u__left\\n      {{if predicatesEditor.predicates.length \\\"ml-4\\\"}}\\\"\\n    >\\n      <IcDropdownAndOpenerPair\\n        @isDisabled={{not @predicateGroup.isValid}}\\n        as |pair|\\n      >\\n        <pair.opener>\\n          <a\\n            class=\\\"btn__tertiary {{unless @predicateGroup.isValid \\\"o__disabled\\\"}}\\\"\\n            data-test-attribute-dropdown-button\\n          >\\n            {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}}\\n            Add a rule\\n          </a>\\n        </pair.opener>\\n        <pair.dropdown as |dropdown|>\\n          <dropdown.group @isMain={{true}} as |group|>\\n            <group.item>\\n              <a\\n                class=\\\"users-and-companies__predicates-editor__filter-item\\\"\\n                data-test-attribute-add-url-rule\\n                {{on \\\"click\\\" (stop-propagation (fn this.addPageTargetPredicate predicatesEditor))}}\\n              >\\n                Add a URL rule\\n              </a>\\n            </group.item>\\n            <group.item>\\n              <a\\n                class=\\\"users-and-companies__predicates-editor__filter-item {{if this.hasTimeOnPagePredicate \\\"o__disabled\\\"}}\\\"\\n                data-test-attribute-add-time-on-page-rule\\n                {{on \\\"click\\\" (stop-propagation (fn this.addTimeOnPagePredicate predicatesEditor))}}\\n              >\\n                Add a time on page rule\\n              </a>\\n            </group.item>\\n          </dropdown.group>\\n        </pair.dropdown>\\n      </IcDropdownAndOpenerPair>\\n    </span>\\n  {{/unless}}\\n</Predicates::PredicatesEditor>\\n\",\"moduleName\":\"embercom/components/matching-system/audience-selector/page-target/rules-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/matching-system/audience-selector/page-target/rules-editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { copy } from 'ember-copy';\nimport { action } from '@ember/object';\n\nconst TIME_ON_PAGE_PREDICATE = {\n  identifier: 'client_attributes.time_on_page',\n  name: 'Time on current page',\n  type: 'duration_integer',\n};\n\nconst URL_PREDICATE = {\n  identifier: 'client_attributes.last_visited_url',\n  name: 'Current page URL',\n  type: 'string',\n};\n\nexport default class RulesEditor extends Component {\n  attributeGroupList = [\n    {\n      attributes: [URL_PREDICATE, TIME_ON_PAGE_PREDICATE],\n    },\n  ];\n\n  get hasTimeOnPagePredicate() {\n    return this._checkForTimeOnPagePredicate(this.args.predicateGroup.predicates);\n  }\n\n  _checkForTimeOnPagePredicate(predicates) {\n    return predicates.any(predicate => predicate?.attribute === TIME_ON_PAGE_PREDICATE.identifier);\n  }\n\n  get disabledGroupPredicates() {\n    let disabledGroupPredicates = [];\n    let predicates = this.args.predicateGroup?.predicates;\n    let nestedPredicates = predicates?.firstObject?.predicates;\n    let predicateGroups = nestedPredicates || predicates || [];\n\n    predicateGroups.forEach((predicateGroup, index) => {\n      if (this._checkForTimeOnPagePredicate(predicateGroup?.predicates || [predicateGroup])) {\n        disabledGroupPredicates[index] = [TIME_ON_PAGE_PREDICATE.identifier];\n      } else {\n        disabledGroupPredicates[index] = [];\n      }\n    });\n\n    return disabledGroupPredicates;\n  }\n\n  @action\n  proxiedOnUpdate(predicates) {\n    this.args.predicateGroup.predicates = copy(predicates);\n    if (this.args.onUpdate) {\n      this.args.onUpdate(...arguments);\n    }\n  }\n\n  @action\n  addPageTargetPredicate(predicatesEditor) {\n    predicatesEditor.addPredicate(URL_PREDICATE);\n  }\n\n  @action\n  addTimeOnPagePredicate(predicatesEditor) {\n    if (this.hasTimeOnPagePredicate) {\n      return;\n    }\n    predicatesEditor.addPredicate(TIME_ON_PAGE_PREDICATE);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"matching-system__audience-selector__preview-container\\\">\\n  {{#if this.isEmptyState}}\\n    <div class=\\\"flex flex-col items-center flex-1\\\">\\n      {{#if this.isTargetingVisitorsOnly}}\\n        {{#if this.hasEditablePredicates}}\\n          <IcEmptyState\\n            @icon=\\\"people\\\"\\n            @title={{or @visitorsEmptyStateMessage this.emptyStateMessageforVisitors}}\\n            @description={{or @visitorsWithRulesDescription this.emptyStateDescriptionForVisitors}}\\n            data-test-audience-selector-empty-text={{true}}\\n          />\\n        {{else}}\\n          <IcEmptyState\\n            @icon=\\\"people\\\"\\n            @title={{or @visitorsEmptyStateMessage this.emptyStateMessageforVisitors}}\\n            @description={{or @visitorsWithoutRulesDescription\\n                              'Once live, all visitors will be shown this. Adding rules will improve your targeting.'}}\\n            data-test-audience-selector-empty-text={{true}}\\n          />\\n        {{/if}}\\n      {{else}}\\n        <IcEmptyState\\n          @icon=\\\"people\\\"\\n          @title={{this.emptyStateMessageForUsers}}\\n          @description={{@emptyStateDescription}}\\n          data-test-audience-selector-empty-text={{true}}\\n        />\\n      {{/if}}\\n    </div>\\n  {{else}}\\n    {{#if (and @useLegacyList this.showSpinner)}}\\n      <div class=\\\"flex flex-col items-center\\\">\\n        <IcLoadingIndicator @size=\\\"small\\\" />\\n      </div>\\n    {{/if}}\\n    <div class=\\\"flex flex-col flex-1 p-6 matching-system__preview {{if this.showSpinner \\\"o__disabled\\\"}}\\\" data-test-audience-selector-preview>\\n      <Heading @size=\\\"4\\\" class=\\\"mb-1\\\" data-test-audience-selector-preview-count-text>\\n        {{unless this.hasEditablePredicates \\\"All\\\"}} {{number-formatter-helper @ruleset.audiencePreview.count}}\\n        {{inflector-helper this.userTypeDescription @ruleset.audiencePreview.count}} {{inflector-helper \\\"is\\\" @ruleset.audiencePreview.count}} in your audience {{unless @ruleset.isMatchBehaviorStatic \\\"right now\\\"}}\\n      </Heading>\\n      <Paragraph data-test-audience-selector-preview-text>\\n        {{@audiencePreviewText}}\\n        {{#if @tooltipText}}\\n          <IcTooltipIcon class=\\\"text-gray\\\" data-test-audience-selector-tooltip>\\n            {{@tooltipText}}\\n          </IcTooltipIcon>\\n        {{/if}}\\n      </Paragraph>\\n      {{#if @useLegacyList}}\\n        <div class=\\\"tbl__fixed__wrapper pl-0 pr-0 matching-system__preview__tbl-wrapper\\\">\\n          <MessageEditor::Audience::RecipientListTable @users={{@ruleset.audiencePreview.users}} />\\n          {{#if this.showRemainderCount}}\\n            <Paragraph class=\\\"pl-4 pr-4 pt-4\\\" data-test-audience-selector-preview-footer-text>\\n              And {{number-formatter-helper (sub @ruleset.audiencePreview.count @ruleset.audiencePreview.users.length)}} {{inflector-helper this.userTypeDescription}} like this\\n            </Paragraph>\\n          {{/if}}\\n        </div>\\n      {{else}}\\n        {{#let (take 10 @ruleset.audiencePreview.users) as |visibleUsers|}}\\n          <IcTable\\n            @columns={{this.columns}}\\n            @data={{visibleUsers}}\\n            @isLoading={{this.showSpinner}}\\n            @loadingRowCount={{10}}\\n            @minWidth={{5}}\\n            as |table|\\n          >\\n            <table.rows as |row|>\\n              <row.cell @valuePath=\\\"displayAs\\\">\\n                <span>\\n                  <StatsSystem::List::Row::UserAndAvatar @recipient={{row.data}} />\\n                  {{#if row.data.mostRecentCompany}}\\n                    <span class=\\\"user-list__at-company\\\">\\n                      at\\n                    </span>\\n                    <span class=\\\"user-list__users-companies\\\">\\n                      <UsersCompaniesWithIconPattern\\n                        @user={{row.data}}\\n                        @othersWrapperClass=\\\"text-gray\\\"\\n                      />\\n                    </span>\\n                  {{/if}}\\n                </span>\\n              </row.cell>\\n              {{#each this.attributeService.displayedUserAttributes as |displayedAttribute|}}\\n                <row.cell @valuePath={{displayedAttribute.attribute.identifier}}>\\n                  <Users::Table::Cell\\n                    @user={{row.data.user}}\\n                    @attribute={{displayedAttribute.attribute}}\\n                    @isCompany={{false}}\\n                  />\\n                </row.cell>\\n              {{/each}}\\n            </table.rows>\\n          </IcTable>\\n          {{#if this.showRemainderCount}}\\n            <Paragraph class=\\\"pr-4 pt-4\\\" data-test-audience-selector-preview-footer-text>\\n              And {{number-formatter-helper (sub @ruleset.audiencePreview.count visibleUsers.length)}}\\n              {{inflector-helper this.userTypeDescription}} like this\\n            </Paragraph>\\n          {{/if}}\\n        {{/let}}\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n\\n</div>\", {\"contents\":\"<div class=\\\"matching-system__audience-selector__preview-container\\\">\\n  {{#if this.isEmptyState}}\\n    <div class=\\\"flex flex-col items-center flex-1\\\">\\n      {{#if this.isTargetingVisitorsOnly}}\\n        {{#if this.hasEditablePredicates}}\\n          <IcEmptyState\\n            @icon=\\\"people\\\"\\n            @title={{or @visitorsEmptyStateMessage this.emptyStateMessageforVisitors}}\\n            @description={{or @visitorsWithRulesDescription this.emptyStateDescriptionForVisitors}}\\n            data-test-audience-selector-empty-text={{true}}\\n          />\\n        {{else}}\\n          <IcEmptyState\\n            @icon=\\\"people\\\"\\n            @title={{or @visitorsEmptyStateMessage this.emptyStateMessageforVisitors}}\\n            @description={{or @visitorsWithoutRulesDescription\\n                              'Once live, all visitors will be shown this. Adding rules will improve your targeting.'}}\\n            data-test-audience-selector-empty-text={{true}}\\n          />\\n        {{/if}}\\n      {{else}}\\n        <IcEmptyState\\n          @icon=\\\"people\\\"\\n          @title={{this.emptyStateMessageForUsers}}\\n          @description={{@emptyStateDescription}}\\n          data-test-audience-selector-empty-text={{true}}\\n        />\\n      {{/if}}\\n    </div>\\n  {{else}}\\n    {{#if (and @useLegacyList this.showSpinner)}}\\n      <div class=\\\"flex flex-col items-center\\\">\\n        <IcLoadingIndicator @size=\\\"small\\\" />\\n      </div>\\n    {{/if}}\\n    <div class=\\\"flex flex-col flex-1 p-6 matching-system__preview {{if this.showSpinner \\\"o__disabled\\\"}}\\\" data-test-audience-selector-preview>\\n      <Heading @size=\\\"4\\\" class=\\\"mb-1\\\" data-test-audience-selector-preview-count-text>\\n        {{unless this.hasEditablePredicates \\\"All\\\"}} {{number-formatter-helper @ruleset.audiencePreview.count}}\\n        {{inflector-helper this.userTypeDescription @ruleset.audiencePreview.count}} {{inflector-helper \\\"is\\\" @ruleset.audiencePreview.count}} in your audience {{unless @ruleset.isMatchBehaviorStatic \\\"right now\\\"}}\\n      </Heading>\\n      <Paragraph data-test-audience-selector-preview-text>\\n        {{@audiencePreviewText}}\\n        {{#if @tooltipText}}\\n          <IcTooltipIcon class=\\\"text-gray\\\" data-test-audience-selector-tooltip>\\n            {{@tooltipText}}\\n          </IcTooltipIcon>\\n        {{/if}}\\n      </Paragraph>\\n      {{#if @useLegacyList}}\\n        <div class=\\\"tbl__fixed__wrapper pl-0 pr-0 matching-system__preview__tbl-wrapper\\\">\\n          <MessageEditor::Audience::RecipientListTable @users={{@ruleset.audiencePreview.users}} />\\n          {{#if this.showRemainderCount}}\\n            <Paragraph class=\\\"pl-4 pr-4 pt-4\\\" data-test-audience-selector-preview-footer-text>\\n              And {{number-formatter-helper (sub @ruleset.audiencePreview.count @ruleset.audiencePreview.users.length)}} {{inflector-helper this.userTypeDescription}} like this\\n            </Paragraph>\\n          {{/if}}\\n        </div>\\n      {{else}}\\n        {{#let (take 10 @ruleset.audiencePreview.users) as |visibleUsers|}}\\n          <IcTable\\n            @columns={{this.columns}}\\n            @data={{visibleUsers}}\\n            @isLoading={{this.showSpinner}}\\n            @loadingRowCount={{10}}\\n            @minWidth={{5}}\\n            as |table|\\n          >\\n            <table.rows as |row|>\\n              <row.cell @valuePath=\\\"displayAs\\\">\\n                <span>\\n                  <StatsSystem::List::Row::UserAndAvatar @recipient={{row.data}} />\\n                  {{#if row.data.mostRecentCompany}}\\n                    <span class=\\\"user-list__at-company\\\">\\n                      at\\n                    </span>\\n                    <span class=\\\"user-list__users-companies\\\">\\n                      <UsersCompaniesWithIconPattern\\n                        @user={{row.data}}\\n                        @othersWrapperClass=\\\"text-gray\\\"\\n                      />\\n                    </span>\\n                  {{/if}}\\n                </span>\\n              </row.cell>\\n              {{#each this.attributeService.displayedUserAttributes as |displayedAttribute|}}\\n                <row.cell @valuePath={{displayedAttribute.attribute.identifier}}>\\n                  <Users::Table::Cell\\n                    @user={{row.data.user}}\\n                    @attribute={{displayedAttribute.attribute}}\\n                    @isCompany={{false}}\\n                  />\\n                </row.cell>\\n              {{/each}}\\n            </table.rows>\\n          </IcTable>\\n          {{#if this.showRemainderCount}}\\n            <Paragraph class=\\\"pr-4 pt-4\\\" data-test-audience-selector-preview-footer-text>\\n              And {{number-formatter-helper (sub @ruleset.audiencePreview.count visibleUsers.length)}}\\n              {{inflector-helper this.userTypeDescription}} like this\\n            </Paragraph>\\n          {{/if}}\\n        {{/let}}\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n\\n</div>\",\"moduleName\":\"embercom/components/matching-system/audience-selector/preview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/matching-system/audience-selector/preview.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { pluralize } from 'ember-inflector';\nimport { isPresent } from '@ember/utils';\n\nexport default class Preview extends Component {\n  @service attributeService;\n\n  get columns() {\n    let columns = [\n      {\n        label: 'Name',\n        icon: 'people',\n        valuePath: 'displayAs',\n      },\n    ];\n    columns = columns.concat(\n      this.attributeService.displayedUserAttributes.map(displayedAttribute => ({\n        label: displayedAttribute.attribute.name,\n        icon: displayedAttribute.attribute.icon,\n        valuePath: displayedAttribute.attribute.identifier,\n      })),\n    );\n    return columns;\n  }\n\n  get hasEditablePredicates() {\n    return isPresent(this.args.ruleset.predicateGroup.editablePredicates);\n  }\n\n  get isEmptyState() {\n    return (\n      (!this.showSpinner && !this.args.ruleset.get('audiencePreview.hasAudience')) ||\n      this.isTargetingVisitorsOnly\n    );\n  }\n\n  get emptyStateMessageForUsers() {\n    return `No ${pluralize(this.userTypeDescription)} match these rules yet`;\n  }\n\n  get emptyStateDescriptionForVisitors() {\n    if (this.args.ruleset.isMemberOfSeries) {\n      return 'Improve the targeting by adding rules';\n    } else {\n      return 'This will show to visitors whenever they match the audience rule';\n    }\n  }\n\n  get emptyStateMessageforVisitors() {\n    if (this.args.ruleset.isMemberOfSeries) {\n      if (this.hasEditablePredicates) {\n        return 'Visitors who match the rules will enter this series';\n      } else {\n        return 'All visitors will enter this series';\n      }\n    } else if (this.hasEditablePredicates) {\n      return `Visitors who match the rules will receive this ${this.args.ruleset.rulesetLinks.firstObject.humanReadableObjectName}`;\n    } else {\n      return `All visitors will receive this ${this.args.ruleset.rulesetLinks.firstObject.humanReadableObjectName}`;\n    }\n  }\n\n  get isTargetingVisitorsOnly() {\n    return this.args.ruleset.userType === 'visitor';\n  }\n\n  get showSpinner() {\n    return this.args.ruleset.fetchAudiencePreviewTask.isRunning;\n  }\n\n  get showRemainderCount() {\n    return (\n      this.args.ruleset.get('audiencePreview.count') >\n      this.args.ruleset.get('audiencePreview.users.length')\n    );\n  }\n\n  get userTypeDescription() {\n    let userTypeFromAudiencePreview =\n      this.args.ruleset.get('audiencePreview.predicateGroup.userType') ||\n      this.args.ruleset.get('audiencePreview.rolePredicateGroup.userType');\n    let userType = userTypeFromAudiencePreview || this.args.ruleset.userType || 'user';\n    if (userType === 'user') {\n      return 'user';\n    } else if (userType === 'lead') {\n      return 'lead';\n    }\n    return 'person';\n  }\n\n  constructor() {\n    super(...arguments);\n    this.args.ruleset.fetchAudiencePreviewTask.perform();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#each @predicates as |predicate index|}}\\n  {{#if predicate.isLogicalType}}\\n    <MatchingSystem::AudienceSelector::Summary::PredicateGroupSummary\\n      @predicates={{predicate.predicates}}\\n      @ruleMode={{predicate.type}}\\n      @mode={{@mode}}\\n    />\\n    {{#if (lt index (sub @predicates.length 1))}}\\n      <span\\n        data-test-predicate-summary-rule-mode\\n        class=\\\"message__editor__audience__predicate-boolean o__muted\\\"\\n      >\\n        {{@ruleMode}}\\n      </span>\\n    {{/if}}\\n  {{else}}\\n    <MatchingSystem::AudienceSelector::Summary::PredicateSummary\\n      @showRule={{lt index (sub @predicates.length 1)}}\\n      @ruleMode={{@ruleMode}}\\n      @predicate={{predicate}}\\n      @mode={{@mode}}\\n      @hideIcons={{@hideIcons}}\\n      data-test-predicate-summary={{index}}\\n    />\\n  {{/if}}\\n{{/each}}\\n\", {\"contents\":\"{{#each @predicates as |predicate index|}}\\n  {{#if predicate.isLogicalType}}\\n    <MatchingSystem::AudienceSelector::Summary::PredicateGroupSummary\\n      @predicates={{predicate.predicates}}\\n      @ruleMode={{predicate.type}}\\n      @mode={{@mode}}\\n    />\\n    {{#if (lt index (sub @predicates.length 1))}}\\n      <span\\n        data-test-predicate-summary-rule-mode\\n        class=\\\"message__editor__audience__predicate-boolean o__muted\\\"\\n      >\\n        {{@ruleMode}}\\n      </span>\\n    {{/if}}\\n  {{else}}\\n    <MatchingSystem::AudienceSelector::Summary::PredicateSummary\\n      @showRule={{lt index (sub @predicates.length 1)}}\\n      @ruleMode={{@ruleMode}}\\n      @predicate={{predicate}}\\n      @mode={{@mode}}\\n      @hideIcons={{@hideIcons}}\\n      data-test-predicate-summary={{index}}\\n    />\\n  {{/if}}\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/matching-system/audience-selector/summary/predicate-group-summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/matching-system/audience-selector/summary/predicate-group-summary.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  tagName: 'span',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (and (not @hideIcons) @predicate.icon)}}{{ic-interface-icon @predicate.icon color=\\\"gray\\\"}}{{/if}}\\n{{capitalize this.predicateDescriptionPrefix}}\\n{{#if @predicate.isPageTarget}}\\n  <IcTooltip data-test-url-tooltip as |t|>\\n    <t.opener>\\n      {{this.predicateDescription}}\\n    </t.opener>\\n    <t.content>\\n      {{this.predicate.value}}\\n    </t.content>\\n  </IcTooltip>\\n{{else}}\\n  {{this.predicateDescription}}\\n{{/if}}\\n{{#if @showRule}}<span class=\\\"u__ml__5 o__muted\\\" data-test-rule-mode>{{@ruleMode}}</span>{{/if}}\\n\", {\"contents\":\"{{#if (and (not @hideIcons) @predicate.icon)}}{{ic-interface-icon @predicate.icon color=\\\"gray\\\"}}{{/if}}\\n{{capitalize this.predicateDescriptionPrefix}}\\n{{#if @predicate.isPageTarget}}\\n  <IcTooltip data-test-url-tooltip as |t|>\\n    <t.opener>\\n      {{this.predicateDescription}}\\n    </t.opener>\\n    <t.content>\\n      {{this.predicate.value}}\\n    </t.content>\\n  </IcTooltip>\\n{{else}}\\n  {{this.predicateDescription}}\\n{{/if}}\\n{{#if @showRule}}<span class=\\\"u__ml__5 o__muted\\\" data-test-rule-mode>{{@ruleMode}}</span>{{/if}}\\n\",\"moduleName\":\"embercom/components/matching-system/audience-selector/summary/predicate-summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/matching-system/audience-selector/summary/predicate-summary.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { notImplemented, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport { equal } from '@ember/object/computed';\n\nexport default Component.extend({\n  tagName: 'span',\n  classNames: ['message__editor__audience__predicate'],\n\n  predicate: notImplemented(),\n  mode: 'default',\n  isGoalMode: equal('mode', 'goal'),\n  predicateDescriptionPrefix: ternaryToProperty(\n    'isGoalMode',\n    'predicate.goalDescriptionPrefix',\n    'predicate.descriptionPrefix',\n  ),\n  predicateDescription: ternaryToProperty(\n    'isGoalMode',\n    'predicate.goalDescription.shortText',\n    'predicate.description',\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcMultiselect\\n  @label=\\\"user type\\\"\\n  @isDisabled={{or @isDisabled @isForceDisabled this.hasOnlyOneUserRole}}\\n  @items={{this.items}}\\n  @onSelectionChange={{this.updateNewlySelected}}\\n  @onClose={{fn @onSelect this.newlySelected}}\\n  data-intercom-target=\\\"Outbound Home audience selector\\\"\\n  data-test-user-multi-role-selector={{true}}\\n  data-test-user-role-selector={{true}} as |select|\\n>\\n  <select.opener as |opener|>\\n    <IcFilterBlock\\n      @name={{this.currentSelectionDescription}}\\n      @icon=\\\"multiple-people\\\"\\n      @isOneLine={{true}}\\n      @isClickable={{not (or @isDisabled @isForceDisabled this.hasOnlyOneUserRole)}}\\n      @isOpen={{opener.dropdownIsOpen}}\\n      @componentClasses={{concat 'filter-block__container o__one-line ' (if this.hasOnlyOneUserRole 'o__static')}}\\n      class=\\\"pr-4\\\"\\n    />\\n  </select.opener>\\n</IcMultiselect>\\n\", {\"contents\":\"<IcMultiselect\\n  @label=\\\"user type\\\"\\n  @isDisabled={{or @isDisabled @isForceDisabled this.hasOnlyOneUserRole}}\\n  @items={{this.items}}\\n  @onSelectionChange={{this.updateNewlySelected}}\\n  @onClose={{fn @onSelect this.newlySelected}}\\n  data-intercom-target=\\\"Outbound Home audience selector\\\"\\n  data-test-user-multi-role-selector={{true}}\\n  data-test-user-role-selector={{true}} as |select|\\n>\\n  <select.opener as |opener|>\\n    <IcFilterBlock\\n      @name={{this.currentSelectionDescription}}\\n      @icon=\\\"multiple-people\\\"\\n      @isOneLine={{true}}\\n      @isClickable={{not (or @isDisabled @isForceDisabled this.hasOnlyOneUserRole)}}\\n      @isOpen={{opener.dropdownIsOpen}}\\n      @componentClasses={{concat 'filter-block__container o__one-line ' (if this.hasOnlyOneUserRole 'o__static')}}\\n      class=\\\"pr-4\\\"\\n    />\\n  </select.opener>\\n</IcMultiselect>\\n\",\"moduleName\":\"embercom/components/matching-system/audience-selector/user-role-multi-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/matching-system/audience-selector/user-role-multi-selector.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport UserRoleSelector from 'embercom/components/matching-system/audience-selector/user-role-selector';\nimport { action, computed } from '@ember/object';\nimport { equal } from '@ember/object/computed';\nimport { isPresent } from '@ember/utils';\nimport { pluralize } from 'ember-inflector';\nimport toSentence from 'embercom/lib/to-sentence';\n\nexport default UserRoleSelector.extend({\n  init() {\n    this._super(...arguments);\n    if (!this.isDisabled) {\n      this.set('newlySelected', this.selected);\n    }\n  },\n\n  hasOnlyOneUserRole: equal('dropdownItems.length', 1),\n\n  currentSelectionDescription: computed('selected', 'newlySelected', 'items.[]', function() {\n    let selected = this.newlySelected || this.selected;\n    if (isPresent(selected)) {\n      let names = selected.map(roleName => pluralize(roleName).capitalize());\n      return toSentence(names);\n    } else {\n      return toSentence(\n        this.items.filter(item => !item.isDisabled).map(item => item.text),\n        'or',\n      );\n    }\n  }),\n\n  items: computed(\n    'selected',\n    'dropdownItems',\n    'isMobileFirstMessage',\n    'hasPushNotification',\n    function() {\n      let dropdownItems = this.dropdownItems.map(item => ({\n        text: item.text,\n        value: item.value,\n        isSelected: this.selected.includes(item.value),\n        isDisabled: false,\n      }));\n\n      if (this.isMobileFirstMessage || this.hasPushNotification) {\n        this._disableItem('visitor', dropdownItems);\n        this._disableItem('lead', dropdownItems);\n      }\n\n      return dropdownItems;\n    },\n  ),\n\n  updateNewlySelected: action(function(selectedItems) {\n    if (selectedItems.length > 0) {\n      this.set('newlySelected', selectedItems);\n      this.onSelect(selectedItems);\n    }\n  }),\n\n  _disableItem(value, dropdownItems) {\n    let item = dropdownItems.filter(item => item.value === value)[0];\n    if (item) {\n      item.isDisabled = true;\n      if (this.isMobileFirstMessage) {\n        item.tooltipText = `To send messages to ${item.value}s, change the delivery channel to Web in step 1 above.`;\n      } else if (this.hasPushNotification) {\n        item.tooltipText = `To send messages to ${item.value}s, remove the push notification in step 1 above.`;\n      }\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcSelect\\n  @selectedValue={{selected}}\\n  @isDisabled={{or isDisabled isForceDisabled}}\\n  @items={{dropdownItems}}\\n  @onSelectItem={{onSelect}}\\n  data-test-user-role-selector={{true}} as |select|\\n>\\n  <select.opener as |opener|>\\n    <IcFilterBlock\\n      @name={{select.selectedItemTextOrDefaultLabel}}\\n      @icon=\\\"multiple-people\\\"\\n      @isOneLine={{true}}\\n      @isClickable={{not (or isDisabled isForceDisabled)}}\\n      @isOpen={{opener.dropdownIsOpen}}\\n    />\\n  </select.opener>\\n</IcSelect>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcSelect\\n  @selectedValue={{selected}}\\n  @isDisabled={{or isDisabled isForceDisabled}}\\n  @items={{dropdownItems}}\\n  @onSelectItem={{onSelect}}\\n  data-test-user-role-selector={{true}} as |select|\\n>\\n  <select.opener as |opener|>\\n    <IcFilterBlock\\n      @name={{select.selectedItemTextOrDefaultLabel}}\\n      @icon=\\\"multiple-people\\\"\\n      @isOneLine={{true}}\\n      @isClickable={{not (or isDisabled isForceDisabled)}}\\n      @isOpen={{opener.dropdownIsOpen}}\\n    />\\n  </select.opener>\\n</IcSelect>\\n\",\"moduleName\":\"embercom/components/matching-system/audience-selector/user-role-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/matching-system/audience-selector/user-role-selector.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  // All the options supported by the user role predicate (lib/predicates/addon/models/role)\n  // Override this list with the options that are relevant to your feature when using this component\n  optionsToDisplay: [\n    'user',\n    'lead',\n    'visitor',\n    'non_user', // This targets visitors & leads\n  ],\n\n  dropdownItems: computed('optionsToDisplay', function() {\n    return this.allDropdownItems.filter(item => this.optionsToDisplay.includes(item.value));\n  }),\n\n  allDropdownItems: [\n    {\n      text: 'Visitors',\n      value: 'visitor',\n    },\n    {\n      text: 'Leads',\n      value: 'lead',\n    },\n    {\n      text: 'Visitors & Leads',\n      value: 'non_user',\n    },\n    {\n      text: 'Users',\n      value: 'user',\n    },\n  ],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row flex-4 flex-wrap\\\" data-test-matching-system-audience-summary>\\n  {{#unless @hideMatchBehavior}}\\n    <MatchingSystem::AudienceSelector::MatchBehavior::Summary @ruleset={{@ruleset}} />\\n  {{/unless}}\\n\\n  {{#unless @hideClientPredicates}}\\n    <MatchingSystem::AudienceSelector::PageTarget::RulesEditor\\n      @isDisabled={{true}}\\n      @hideAddRule={{true}}\\n      @predicateGroup={{@ruleset.clientPredicateGroup}}\\n    />\\n  {{/unless}}\\n\\n  <MatchingSystem::AudienceSelector::AudienceRulesEditor\\n    @isDisabled={{true}}\\n    @allowedUserRoles={{@allowedUserRoles}}\\n    @hideAddRule={{true}}\\n    @hideAddFilterGroupButton={{true}}\\n    @predicateGroup={{@ruleset.predicateGroup}}\\n    @rolePredicateGroup={{@ruleset.rolePredicateGroup}}\\n    @useRolePredicateGroup={{@useRolePredicateGroup}}\\n  />\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row flex-4 flex-wrap\\\" data-test-matching-system-audience-summary>\\n  {{#unless @hideMatchBehavior}}\\n    <MatchingSystem::AudienceSelector::MatchBehavior::Summary @ruleset={{@ruleset}} />\\n  {{/unless}}\\n\\n  {{#unless @hideClientPredicates}}\\n    <MatchingSystem::AudienceSelector::PageTarget::RulesEditor\\n      @isDisabled={{true}}\\n      @hideAddRule={{true}}\\n      @predicateGroup={{@ruleset.clientPredicateGroup}}\\n    />\\n  {{/unless}}\\n\\n  <MatchingSystem::AudienceSelector::AudienceRulesEditor\\n    @isDisabled={{true}}\\n    @allowedUserRoles={{@allowedUserRoles}}\\n    @hideAddRule={{true}}\\n    @hideAddFilterGroupButton={{true}}\\n    @predicateGroup={{@ruleset.predicateGroup}}\\n    @rolePredicateGroup={{@ruleset.rolePredicateGroup}}\\n    @useRolePredicateGroup={{@useRolePredicateGroup}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/matching-system/audience-summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/matching-system/audience-summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"{{if @isDisabled \\\"opacity-50\\\"}}\\\"\\n  {{did-update this.reinitPredicates @predicateGroup}}\\n  {{did-update this.reinitPredicates @rolePredicateGroup}}\\n  {{will-destroy this.setDefaultRolePredicateIfNecessary}}\\n  data-test-audience-rules-editor\\n>\\n  {{#if @useRolePredicateGroup}}\\n    <MatchingSystem::AudienceSelector::UserRoleMultiSelector\\n      @isDisabled={{@isDisabled}}\\n      @optionsToDisplay={{or @allowedUserRoles this.allUserRoles}}\\n      @selected={{this.selectedUserTypes}}\\n      @onSelect={{this.switchUserRoleOnRolePredicateGroup}}\\n      class='u__left'\\n    />\\n  {{else}}\\n    <MatchingSystem::AudienceSelector::UserRoleSelector\\n      @isDisabled={{@isDisabled}}\\n      @optionsToDisplay={{or @allowedUserRoles this.allUserRoles}}\\n      @selected={{this.userSelectedValue}}\\n      @onSelect={{this.switchUserTypeOnPredicateGroup}}\\n      @class='u__left u__mr__15'\\n    />\\n  {{/if}}\\n</div>\\n\\n<div class=\\\"u__left {{if @isDisabled \\\"opacity-50\\\"}}\\\">\\n  <IcSelect\\n    @label=\\\"User type\\\"\\n    @isDisabled={{or @isDisabled}}\\n    @items={{this.targetUserGroups}}\\n    @onSelectItem={{this.setTargetUserGroup}}\\n    data-test-target-user-group  as |select|\\n  >\\n    <select.opener as |opener|>\\n      <IcFilterBlock\\n        @name={{this.selectedOptionText}}\\n        @icon=\\\"multiple-people\\\"\\n        @isOneLine={{true}}\\n        @isClickable={{not @isDisabled}}\\n        @isOpen={{opener.dropdownIsOpen}}\\n        class=\\\"pr-4\\\"\\n      />\\n    </select.opener>\\n  </IcSelect>\\n</div>\\n\\n<UsersAndCompanies::RulesEditor\\n  @isDisabled={{@isDisabled}}\\n  @hideAddFilterGroupButton={{@hideAddFilterGroupButton}}\\n  @attributeGroupList={{this.attributeGroupList}}\\n  @predicateGroup={{this.predicateGroup}}\\n  @showUserData={{not @useRolePredicateGroup}}\\n  @showUserSwitcher={{false}}\\n  @onUpdate={{@onUpdatePredicates}}\\n  @attributeDropdownFilterPlaceholder=\\\"Search people and company data\\\"\\n  @contentEventsDisabled={{@contentEventsDisabled}}\\n  @groupAttributePickerDisabledIdentifiers={{this.groupAttributePickerDisabledIdentifiers}}\\n  @attributePickerDisabledIdentifiers={{this.groupAttributePickerDisabledIdentifiers}}\\n  as |editor|\\n>\\n  {{#unless @hideAddRule}}\\n    <editor.attributePickerOpener @label='Add a rule'/>\\n  {{/unless}}\\n</UsersAndCompanies::RulesEditor>\\n\", {\"contents\":\"<div class=\\\"{{if @isDisabled \\\"opacity-50\\\"}}\\\"\\n  {{did-update this.reinitPredicates @predicateGroup}}\\n  {{did-update this.reinitPredicates @rolePredicateGroup}}\\n  {{will-destroy this.setDefaultRolePredicateIfNecessary}}\\n  data-test-audience-rules-editor\\n>\\n  {{#if @useRolePredicateGroup}}\\n    <MatchingSystem::AudienceSelector::UserRoleMultiSelector\\n      @isDisabled={{@isDisabled}}\\n      @optionsToDisplay={{or @allowedUserRoles this.allUserRoles}}\\n      @selected={{this.selectedUserTypes}}\\n      @onSelect={{this.switchUserRoleOnRolePredicateGroup}}\\n      class='u__left'\\n    />\\n  {{else}}\\n    <MatchingSystem::AudienceSelector::UserRoleSelector\\n      @isDisabled={{@isDisabled}}\\n      @optionsToDisplay={{or @allowedUserRoles this.allUserRoles}}\\n      @selected={{this.userSelectedValue}}\\n      @onSelect={{this.switchUserTypeOnPredicateGroup}}\\n      @class='u__left u__mr__15'\\n    />\\n  {{/if}}\\n</div>\\n\\n<div class=\\\"u__left {{if @isDisabled \\\"opacity-50\\\"}}\\\">\\n  <IcSelect\\n    @label=\\\"User type\\\"\\n    @isDisabled={{or @isDisabled}}\\n    @items={{this.targetUserGroups}}\\n    @onSelectItem={{this.setTargetUserGroup}}\\n    data-test-target-user-group  as |select|\\n  >\\n    <select.opener as |opener|>\\n      <IcFilterBlock\\n        @name={{this.selectedOptionText}}\\n        @icon=\\\"multiple-people\\\"\\n        @isOneLine={{true}}\\n        @isClickable={{not @isDisabled}}\\n        @isOpen={{opener.dropdownIsOpen}}\\n        class=\\\"pr-4\\\"\\n      />\\n    </select.opener>\\n  </IcSelect>\\n</div>\\n\\n<UsersAndCompanies::RulesEditor\\n  @isDisabled={{@isDisabled}}\\n  @hideAddFilterGroupButton={{@hideAddFilterGroupButton}}\\n  @attributeGroupList={{this.attributeGroupList}}\\n  @predicateGroup={{this.predicateGroup}}\\n  @showUserData={{not @useRolePredicateGroup}}\\n  @showUserSwitcher={{false}}\\n  @onUpdate={{@onUpdatePredicates}}\\n  @attributeDropdownFilterPlaceholder=\\\"Search people and company data\\\"\\n  @contentEventsDisabled={{@contentEventsDisabled}}\\n  @groupAttributePickerDisabledIdentifiers={{this.groupAttributePickerDisabledIdentifiers}}\\n  @attributePickerDisabledIdentifiers={{this.groupAttributePickerDisabledIdentifiers}}\\n  as |editor|\\n>\\n  {{#unless @hideAddRule}}\\n    <editor.attributePickerOpener @label='Add a rule'/>\\n  {{/unless}}\\n</UsersAndCompanies::RulesEditor>\\n\",\"moduleName\":\"embercom/components/matching-system/content/carousel/audience-selector/audience-rules-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/matching-system/content/carousel/audience-selector/audience-rules-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport MatchingSystemAudienceRulesEditor from 'embercom/components/matching-system/audience-selector/audience-rules-editor';\nimport { action } from '@ember/object';\nimport { targetUserGroup } from 'embercom/models/data/carousel/target-user-group';\n\nexport default class AudienceRulesEditor extends MatchingSystemAudienceRulesEditor {\n  get targetUserGroups() {\n    return Object.keys(targetUserGroup).map(key => {\n      let option = targetUserGroup[key];\n      return {\n        text: option.label,\n        value: option.value,\n        isSelected: option.value === this.activeObject.targetUserGroup,\n      };\n    });\n  }\n\n  get selectedOptionText() {\n    let selectedOption = this.targetUserGroups.find(o => o.isSelected);\n    if (selectedOption) {\n      return selectedOption.text;\n    } else {\n      return targetUserGroup.all.label;\n    }\n  }\n\n  get activeObject() {\n    return this.args.ruleset.rulesetLinks.firstObject.object;\n  }\n\n  @action\n  setTargetUserGroup(group) {\n    this.args.ruleset.rulesetLinks.forEach(rl => (rl.object.targetUserGroup = group));\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport MatchingSystemPreview from 'embercom/components/matching-system/audience-selector/preview';\nimport { targetUserGroup } from 'embercom/models/data/carousel/target-user-group';\nimport { inject as service } from '@ember/service';\nexport default class AudienceRulesEditor extends MatchingSystemPreview {\n  @service contentEditorService;\n\n  get activeObject() {\n    return this.contentEditorService.activeObject;\n  }\n\n  get activeRulesetLink() {\n    return this.contentEditorService.activeRulesetLink;\n  }\n\n  get emptyStateMessageForUsers() {\n    if (this.activeObject.targetUserGroup === targetUserGroup.new.value) {\n      return `New users who match the above rules will receive this ${this.activeRulesetLink.humanReadableObjectName}.`;\n    } else {\n      return super.emptyStateMessageForUsers;\n    }\n  }\n\n  get isEmptyState() {\n    if (this.activeObject.targetUserGroup === targetUserGroup.new.value) {\n      return true;\n    } else {\n      return super.isEmptyState;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row flex-4 flex-wrap\\\" data-test-carousel-audience-summary>\\n  <MatchingSystem::AudienceSelector::MatchBehavior::Summary @ruleset={{@ruleset}} />\\n  <MatchingSystem::Content::Carousel::AudienceSelector::AudienceRulesEditor\\n    @isDisabled={{true}}\\n    @allowedUserRoles={{@allowedUserRoles}}\\n    @hideAddRule={{true}}\\n    @hideAddFilterGroupButton={{true}}\\n    @predicateGroup={{@ruleset.predicateGroup}}\\n    @rolePredicateGroup={{@ruleset.rolePredicateGroup}}\\n    @useRolePredicateGroup={{@useRolePredicateGroup}}\\n    @ruleset={{@ruleset}}\\n  />\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row flex-4 flex-wrap\\\" data-test-carousel-audience-summary>\\n  <MatchingSystem::AudienceSelector::MatchBehavior::Summary @ruleset={{@ruleset}} />\\n  <MatchingSystem::Content::Carousel::AudienceSelector::AudienceRulesEditor\\n    @isDisabled={{true}}\\n    @allowedUserRoles={{@allowedUserRoles}}\\n    @hideAddRule={{true}}\\n    @hideAddFilterGroupButton={{true}}\\n    @predicateGroup={{@ruleset.predicateGroup}}\\n    @rolePredicateGroup={{@ruleset.rolePredicateGroup}}\\n    @useRolePredicateGroup={{@useRolePredicateGroup}}\\n    @ruleset={{@ruleset}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/matching-system/content/carousel/audience-summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/matching-system/content/carousel/audience-summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"{{if @isDisabled \\\"opacity-50\\\"}}\\\"\\n  {{did-insert this.reinitPredicates}}\\n  {{did-update this.reinitPredicates @predicateGroup @rolePredicateGroup}}\\n  data-test-audience-rules-editor\\n>\\n  {{#if this.node.isStarting}}\\n    <MatchingSystem::AudienceSelector::UserRoleMultiSelector\\n      @isDisabled={{@isDisabled}}\\n      @optionsToDisplay={{or @allowedUserRoles this.allUserRoles}}\\n      @selected={{this.selectedUserTypes}}\\n      @onSelect={{this.switchUserRoleOnRolePredicateGroup}}\\n      class='u__left'\\n    />\\n  {{/if}}\\n</div>\\n\\n{{#if this.hasPreconditions}}\\n  <div class=\\\"u__left flex flex-row flex-wrap items-center gap-2 mr-2 mb-1 {{if @isDisabled \\\"opacity-50\\\"}}\\\" data-test-predecessor-blocks>\\n    {{#each this.preconditionBlocks as |block index|}}\\n      <IcFilterBlock\\n        class=\\\"series__rules__predecessor-block\\\"\\n        @isOneLine={{true}}\\n        @name={{block.description}}\\n        @icon=\\\"series\\\"\\n        @isClickable={{false}}\\n        data-test-series-predecessor-block\\n      />\\n      {{#if (not-eq index (sub this.preconditionBlocks.length 1))}}\\n        <span class=\\\"pb-1\\\">{{block.type}}</span>\\n      {{/if}}\\n    {{/each}}\\n\\n  </div>\\n{{/if}}\\n\\n<UsersAndCompanies::RulesEditor\\n  @isDisabled={{@isDisabled}}\\n  @hideAddFilterGroupButton={{@hideAddFilterGroupButton}}\\n  @attributeGroupList={{this.attributeGroupList}}\\n  @predicateGroup={{this.predicateGroup}}\\n  @showUserData={{not @useRolePredicateGroup}}\\n  @showUserSwitcher={{false}}\\n  @onUpdate={{@onUpdatePredicates}}\\n  @attributeDropdownFilterPlaceholder=\\\"Search data\\\"\\n  @contentEventsDisabled={{@contentEventsDisabled}}\\n  @groupAttributePickerDisabledIdentifiers={{this.groupAttributePickerDisabledIdentifiers}}\\n  @attributePickerDisabledIdentifiers={{this.groupAttributePickerDisabledIdentifiers}}\\n  as |editor|\\n>\\n  {{#unless @hideAddRule}}\\n    <editor.attributePickerOpener @label='Add a rule'/>\\n  {{/unless}}\\n</UsersAndCompanies::RulesEditor>\\n\", {\"contents\":\"<div class=\\\"{{if @isDisabled \\\"opacity-50\\\"}}\\\"\\n  {{did-insert this.reinitPredicates}}\\n  {{did-update this.reinitPredicates @predicateGroup @rolePredicateGroup}}\\n  data-test-audience-rules-editor\\n>\\n  {{#if this.node.isStarting}}\\n    <MatchingSystem::AudienceSelector::UserRoleMultiSelector\\n      @isDisabled={{@isDisabled}}\\n      @optionsToDisplay={{or @allowedUserRoles this.allUserRoles}}\\n      @selected={{this.selectedUserTypes}}\\n      @onSelect={{this.switchUserRoleOnRolePredicateGroup}}\\n      class='u__left'\\n    />\\n  {{/if}}\\n</div>\\n\\n{{#if this.hasPreconditions}}\\n  <div class=\\\"u__left flex flex-row flex-wrap items-center gap-2 mr-2 mb-1 {{if @isDisabled \\\"opacity-50\\\"}}\\\" data-test-predecessor-blocks>\\n    {{#each this.preconditionBlocks as |block index|}}\\n      <IcFilterBlock\\n        class=\\\"series__rules__predecessor-block\\\"\\n        @isOneLine={{true}}\\n        @name={{block.description}}\\n        @icon=\\\"series\\\"\\n        @isClickable={{false}}\\n        data-test-series-predecessor-block\\n      />\\n      {{#if (not-eq index (sub this.preconditionBlocks.length 1))}}\\n        <span class=\\\"pb-1\\\">{{block.type}}</span>\\n      {{/if}}\\n    {{/each}}\\n\\n  </div>\\n{{/if}}\\n\\n<UsersAndCompanies::RulesEditor\\n  @isDisabled={{@isDisabled}}\\n  @hideAddFilterGroupButton={{@hideAddFilterGroupButton}}\\n  @attributeGroupList={{this.attributeGroupList}}\\n  @predicateGroup={{this.predicateGroup}}\\n  @showUserData={{not @useRolePredicateGroup}}\\n  @showUserSwitcher={{false}}\\n  @onUpdate={{@onUpdatePredicates}}\\n  @attributeDropdownFilterPlaceholder=\\\"Search data\\\"\\n  @contentEventsDisabled={{@contentEventsDisabled}}\\n  @groupAttributePickerDisabledIdentifiers={{this.groupAttributePickerDisabledIdentifiers}}\\n  @attributePickerDisabledIdentifiers={{this.groupAttributePickerDisabledIdentifiers}}\\n  as |editor|\\n>\\n  {{#unless @hideAddRule}}\\n    <editor.attributePickerOpener @label='Add a rule'/>\\n  {{/unless}}\\n</UsersAndCompanies::RulesEditor>\\n\",\"moduleName\":\"embercom/components/matching-system/content/series/audience-selector/audience-rules-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/matching-system/content/series/audience-selector/audience-rules-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport MatchingSystemAudienceRulesEditor from 'embercom/components/matching-system/audience-selector/audience-rules-editor';\nimport { inject as service } from '@ember/service';\nimport { isEmpty } from '@ember/utils';\n\nexport default class AudienceRulesEditor extends MatchingSystemAudienceRulesEditor {\n  @service seriesEditorService;\n\n  get node() {\n    return this.seriesEditorService.activeSeriesNode;\n  }\n\n  get activeObject() {\n    return this.args.ruleset.rulesetLinks.firstObject.object;\n  }\n\n  get hasPreconditions() {\n    return !isEmpty(this.preconditionBlocks);\n  }\n\n  get preconditionBlocks() {\n    let blocks = [];\n    if (this.seriesEditorService.series?.hasExitRules) {\n      blocks = blocks.concat(this.exitRulesBlock);\n    }\n    if (this.node.isInternal) {\n      blocks = blocks.concat(this.predecessorBlocks);\n    }\n    return blocks;\n  }\n\n  get exitRulesBlock() {\n    return {\n      description: 'Did not match Series exit rules',\n      type: 'and',\n    };\n  }\n\n  get predecessorBlocks() {\n    let graphNode = this.seriesEditorService.graph.nodeForDataObject(this.node);\n\n    return graphNode.inwardEdges.map(edge => {\n      let description;\n      if (edge.dataObject.isPrimary) {\n        description = edge.predecessor.dataObject.graphConfiguration.primaryPredecessorLabel;\n      } else {\n        description = edge.predecessor.dataObject.graphConfiguration.alternativePredecessorLabel;\n      }\n      return {\n        description,\n        type: 'or',\n      };\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__flexes-to-1 o__has-rows matching-system__timetable-editor\\\" data-test-matching-timetable-editor>\\n  <Form as |form|>\\n    <form.Item as |item|>\\n      <item.RadioGroup @selected={{this.selectedSetting}} as |group|>\\n        <group.RadioButton\\n          data-test-remove-timetable\\n          @label=\\\"Any day, any time\\\"\\n          @value={{this.noTimetableSetting}}\\n          {{on 'click' this.removeMatchingTimetable}}\\n        />\\n        <group.RadioButton\\n          data-test-set-inside-office-hours\\n          @label=\\\"During office hours\\\"\\n          @disabled={{or @disabled this.triggerTimesDisabled}}\\n          @tooltip={{if this.triggerTimesDisabled \\\"To set specific trigger times, first set office hours\\\"}}\\n          @value={{this.matchingTimetableTypes.insideOfficeHours}}\\n          {{on \\\"click\\\" this.setInsideOfficeHours}}\\n        />\\n        <group.RadioButton\\n          data-test-set-outside-office-hours\\n          @label=\\\"Outside office hours\\\"\\n          @disabled={{or @disabled this.triggerTimesDisabled}}\\n          @value={{this.matchingTimetableTypes.outsideOfficeHours}}\\n          {{on \\\"click\\\" this.setOutsideOfficeHours}}\\n        />\\n        <group.RadioButton\\n          data-test-set-custom-times\\n          @label=\\\"Custom times\\\"\\n          @value={{this.matchingTimetableTypes.customTimes}}\\n          @disabled={{@disabled}}\\n          {{on \\\"click\\\" this.setCustomTimes}}\\n        />\\n      </item.RadioGroup>\\n    </form.Item>\\n  </Form>\\n  {{#if @ruleset.matchingTimetable.isCustomTimesType}}\\n    <div\\n      class=\\\"layout__box o__has-columns u__mt__10 u__mb__10\\\"\\n      data-test-time-interval-grid\\n    >\\n      <div class=\\\"layout__box o__has-rows\\\">\\n        <div class=\\\"matching-system__timetable-editor-grid-hour-axis-item\\\">\\n          {{!--empty top of table--}}\\n        </div>\\n        {{#each this.hoursOfTheDay as |hour|}}\\n          <div class=\\\"matching-system__timetable-editor-grid-hour-axis-item\\\">\\n            {{hour}}\\n          </div>\\n        {{/each}}\\n      </div>\\n      <div class=\\\"layout__box o__has-rows content-editor__custom-time-container\\\">\\n        <div class=\\\"layout__box o__has-columns\\\">\\n          {{#each this.daysOfTheWeek as |day|}}\\n            <div class=\\\"matching-system__timetable-editor-grid-day-axis-item\\\">\\n              {{day}}\\n            </div>\\n          {{/each}}\\n        </div>\\n        <div class=\\\"matching-system__timetable-editor-grid\\\">\\n          {{#each this.timeIntervals as |timeInterval|}}\\n            <IcTooltip\\n              @isDelayed={{true}}\\n              @isDisabled={{not timeInterval.label}}\\n              class=\\\"matching-system__timetable-editor-grid-item {{if timeInterval.active \\\"o__active\\\"}}\\\"\\n              {{on \\\"click\\\" (fn this.clickInterval timeInterval)}}\\n              data-grid-index={{timeInterval.index}}\\n              as |t|\\n            >\\n              <t.opener>\\n                {{#if timeInterval.label}}\\n                  {{timeInterval.label}}\\n                {{else}}\\n                  <span class=\\\"matching-system__timetable-editor-grid-item-hover-text\\\">\\n                    {{timeInterval.startDayName}} {{timeInterval.startHourName}}\\n                  </span>\\n                {{/if}}\\n              </t.opener>\\n              <t.content>Hold Shift to select multiple slots</t.content>\\n            </IcTooltip>\\n          {{/each}}\\n        </div>\\n      </div>\\n    </div>\\n  {{/if}}\\n  {{#if @ruleset.matchingTimetable.isCustomTimesType}}\\n    <div class=\\\"layout__box t__light-text u__mt__5 u__ml__5\\\">\\n      {{#if @ruleset.matchingTimetable.isUserTimezoneBased}}\\n        <p>These custom times are based on the <b>user's</b> timezone</p>\\n      {{else}}\\n        <p>\\n          All times based on your <b>workspace's</b> timezone {{this.appService.app.formattedTimezone}} ({{this.appService.app.formattedUtcOffset}}).\\n          <LinkTo\\n            @route=\\\"apps.app.messenger\\\"\\n            rel=\\\"noopener noreferrer nofollow\\\"\\n            target=\\\"_blank\\\"\\n          >See your office hours</LinkTo>.\\n        </p>\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__flexes-to-1 o__has-rows matching-system__timetable-editor\\\" data-test-matching-timetable-editor>\\n  <Form as |form|>\\n    <form.Item as |item|>\\n      <item.RadioGroup @selected={{this.selectedSetting}} as |group|>\\n        <group.RadioButton\\n          data-test-remove-timetable\\n          @label=\\\"Any day, any time\\\"\\n          @value={{this.noTimetableSetting}}\\n          {{on 'click' this.removeMatchingTimetable}}\\n        />\\n        <group.RadioButton\\n          data-test-set-inside-office-hours\\n          @label=\\\"During office hours\\\"\\n          @disabled={{or @disabled this.triggerTimesDisabled}}\\n          @tooltip={{if this.triggerTimesDisabled \\\"To set specific trigger times, first set office hours\\\"}}\\n          @value={{this.matchingTimetableTypes.insideOfficeHours}}\\n          {{on \\\"click\\\" this.setInsideOfficeHours}}\\n        />\\n        <group.RadioButton\\n          data-test-set-outside-office-hours\\n          @label=\\\"Outside office hours\\\"\\n          @disabled={{or @disabled this.triggerTimesDisabled}}\\n          @value={{this.matchingTimetableTypes.outsideOfficeHours}}\\n          {{on \\\"click\\\" this.setOutsideOfficeHours}}\\n        />\\n        <group.RadioButton\\n          data-test-set-custom-times\\n          @label=\\\"Custom times\\\"\\n          @value={{this.matchingTimetableTypes.customTimes}}\\n          @disabled={{@disabled}}\\n          {{on \\\"click\\\" this.setCustomTimes}}\\n        />\\n      </item.RadioGroup>\\n    </form.Item>\\n  </Form>\\n  {{#if @ruleset.matchingTimetable.isCustomTimesType}}\\n    <div\\n      class=\\\"layout__box o__has-columns u__mt__10 u__mb__10\\\"\\n      data-test-time-interval-grid\\n    >\\n      <div class=\\\"layout__box o__has-rows\\\">\\n        <div class=\\\"matching-system__timetable-editor-grid-hour-axis-item\\\">\\n          {{!--empty top of table--}}\\n        </div>\\n        {{#each this.hoursOfTheDay as |hour|}}\\n          <div class=\\\"matching-system__timetable-editor-grid-hour-axis-item\\\">\\n            {{hour}}\\n          </div>\\n        {{/each}}\\n      </div>\\n      <div class=\\\"layout__box o__has-rows content-editor__custom-time-container\\\">\\n        <div class=\\\"layout__box o__has-columns\\\">\\n          {{#each this.daysOfTheWeek as |day|}}\\n            <div class=\\\"matching-system__timetable-editor-grid-day-axis-item\\\">\\n              {{day}}\\n            </div>\\n          {{/each}}\\n        </div>\\n        <div class=\\\"matching-system__timetable-editor-grid\\\">\\n          {{#each this.timeIntervals as |timeInterval|}}\\n            <IcTooltip\\n              @isDelayed={{true}}\\n              @isDisabled={{not timeInterval.label}}\\n              class=\\\"matching-system__timetable-editor-grid-item {{if timeInterval.active \\\"o__active\\\"}}\\\"\\n              {{on \\\"click\\\" (fn this.clickInterval timeInterval)}}\\n              data-grid-index={{timeInterval.index}}\\n              as |t|\\n            >\\n              <t.opener>\\n                {{#if timeInterval.label}}\\n                  {{timeInterval.label}}\\n                {{else}}\\n                  <span class=\\\"matching-system__timetable-editor-grid-item-hover-text\\\">\\n                    {{timeInterval.startDayName}} {{timeInterval.startHourName}}\\n                  </span>\\n                {{/if}}\\n              </t.opener>\\n              <t.content>Hold Shift to select multiple slots</t.content>\\n            </IcTooltip>\\n          {{/each}}\\n        </div>\\n      </div>\\n    </div>\\n  {{/if}}\\n  {{#if @ruleset.matchingTimetable.isCustomTimesType}}\\n    <div class=\\\"layout__box t__light-text u__mt__5 u__ml__5\\\">\\n      {{#if @ruleset.matchingTimetable.isUserTimezoneBased}}\\n        <p>These custom times are based on the <b>user's</b> timezone</p>\\n      {{else}}\\n        <p>\\n          All times based on your <b>workspace's</b> timezone {{this.appService.app.formattedTimezone}} ({{this.appService.app.formattedUtcOffset}}).\\n          <LinkTo\\n            @route=\\\"apps.app.messenger\\\"\\n            rel=\\\"noopener noreferrer nofollow\\\"\\n            target=\\\"_blank\\\"\\n          >See your office hours</LinkTo>.\\n        </p>\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/matching-system/matching-timetable-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/matching-system/matching-timetable-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport {\n  timetableTypes,\n  timezoneTypes,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { action } from '@ember/object';\nimport { isPresent, isEmpty } from '@ember/utils';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\n\nexport const HOURS = [\n  '12am',\n  '1am',\n  '2am',\n  '3am',\n  '4am',\n  '5am',\n  '6am',\n  '7am',\n  '8am',\n  '9am',\n  '10am',\n  '11am',\n  '12pm',\n  '1pm',\n  '2pm',\n  '3pm',\n  '4pm',\n  '5pm',\n  '6pm',\n  '7pm',\n  '8pm',\n  '9pm',\n  '10pm',\n  '11pm',\n];\n\nexport const DAYS = ['Mon', 'Tues', 'Weds', 'Thurs', 'Fri', 'Sat', 'Sun'];\n\nexport const DAY_IN_MINUTES = 60 * 24;\n\nclass GridInterval {\n  @tracked ruleset;\n  @tracked gridComponent;\n  @tracked index;\n  @tracked startMinute;\n  @tracked endMinutes;\n  @tracked label;\n  @tracked active;\n\n  get subHead() {\n    return `Choose the optimal send times for your ${this.contentName}`;\n  }\n\n  get listIntro() {\n    return `Set days and times this ${this.contentName} can send`;\n  }\n\n  constructor(options = {}) {\n    this.ruleset = options.ruleset;\n    this.index = options.index;\n    this.startMinute = options.startMinute;\n    this.endMinute = options.endMinute;\n    this.gridComponent = options.gridComponent;\n\n    let active =\n      this.ruleset.hasMatchingTimetable &&\n      this.ruleset.matchingTimetable.timeIntervals\n        .toArray()\n        .some(\n          interval =>\n            interval.startMinute <= this.startMinute && interval.endMinute >= this.endMinute,\n        );\n    this.active = active;\n  }\n\n  get startDayIndex() {\n    return Math.floor(this.startMinute / DAY_IN_MINUTES) % 7;\n  }\n\n  get endDayIndex() {\n    return Math.floor(this.endMinute / DAY_IN_MINUTES) % 7;\n  }\n\n  get startHourIndex() {\n    return Math.floor((this.startMinute % DAY_IN_MINUTES) / 60);\n  }\n\n  get endHourIndex() {\n    return Math.floor((this.endMinute % DAY_IN_MINUTES) / 60);\n  }\n\n  get startDayName() {\n    return DAYS[this.startDayIndex];\n  }\n\n  get endDayName() {\n    return DAYS[this.endDayIndex];\n  }\n\n  get startHourName() {\n    return HOURS[this.startHourIndex];\n  }\n\n  get endHourName() {\n    return HOURS[this.endHourIndex];\n  }\n}\n\nexport default class MatchingTimetableEditor extends Component {\n  matchingTimetableTypes = timetableTypes;\n  noTimetableSetting = -1;\n\n  @service appService;\n  @service store;\n  @tracked selectedSetting = this.noTimetableSetting;\n  @tracked messengerSettings;\n\n  constructor() {\n    super(...arguments);\n    if (this.args.ruleset.hasMatchingTimetable) {\n      this.selectedSetting = this.args.ruleset.matchingTimetable.timetableType;\n    }\n\n    this.fetchMessengerSettings.perform();\n    this.initializeTimeIntervals();\n  }\n\n  initializeTimeIntervals() {\n    let timeIntervals = [];\n    for (let i = 0, j = 60, k = 0; j <= DAY_IN_MINUTES * 7; i += 60, j += 60, ++k) {\n      let interval = new GridInterval({\n        ruleset: this.args.ruleset,\n        index: k,\n        startMinute: i,\n        endMinute: j,\n        gridComponent: this,\n      });\n      timeIntervals.push(interval);\n    }\n    this.timeIntervals = timeIntervals;\n    this.updateGroupLabels();\n  }\n\n  @task *fetchMessengerSettings() {\n    let messengerSettings = yield this.store.findRecord(\n      'messenger-settings/availability',\n      this.appService.app.id,\n    );\n    this.messengerSettings = messengerSettings;\n  }\n\n  hoursOfTheDay = HOURS;\n  daysOfTheWeek = DAYS;\n\n  get timezoneTypeForCustomTimes() {\n    return this.args.timezoneType || timezoneTypes.basedOnAppTimezone;\n  }\n\n  get triggerTimesDisabled() {\n    return (\n      isEmpty(this.messengerSettings) || isEmpty(this.messengerSettings.defaultOfficeHoursIntervals)\n    );\n  }\n\n  setMatchingTimetable(options) {\n    this.args.ruleset.matchingTimetable = this.store.createFragment(\n      'matching-system/matching-timetable',\n      options,\n    );\n  }\n\n  get intervalGroups() {\n    let activeIntervals = this.timeIntervals.filterBy('active');\n    let intervalGroups = [];\n    for (let i = 0; i < activeIntervals.length; ++i) {\n      let interval = activeIntervals[i];\n      if (i === 0) {\n        intervalGroups.pushObject([interval]);\n      } else if (interval.index === activeIntervals[i - 1].index + 1) {\n        intervalGroups.lastObject.pushObject(interval);\n      } else {\n        intervalGroups.pushObject([interval]);\n      }\n    }\n    return intervalGroups;\n  }\n\n  updateGroupLabels() {\n    this.timeIntervals.setEach('label', null);\n    this.intervalGroups.forEach(group => {\n      let firstIntervalOfGroup = group.firstObject;\n      let label;\n      if (group.firstObject.startDayIndex === group.lastObject.endDayIndex) {\n        label = `${DAYS[group.firstObject.startDayIndex]} ${\n          HOURS[group.firstObject.startHourIndex]\n        } – ${HOURS[group.lastObject.endHourIndex]}`;\n      } else {\n        label = `${DAYS[group.firstObject.startDayIndex]} ${\n          HOURS[group.firstObject.startHourIndex]\n        } – ${DAYS[group.lastObject.endDayIndex]} ${HOURS[group.lastObject.endHourIndex]}`;\n      }\n      firstIntervalOfGroup.label = label;\n    });\n  }\n\n  updateTimetableIntervals() {\n    let timeIntervals = this.intervalGroups.map(group => ({\n      startMinute: group.firstObject.startMinute,\n      endMinute: group.lastObject.endMinute,\n    }));\n\n    this.setMatchingTimetable({\n      timetableType: timetableTypes.customTimes,\n      timezoneType: this.timezoneTypeForCustomTimes,\n      timeIntervals,\n    });\n\n    this.updateGroupLabels();\n  }\n\n  @action clickInterval(timeInterval, event) {\n    timeInterval.active = !timeInterval.active;\n    if (isPresent(this.lastSetIndex) && event.shiftKey) {\n      for (let i = this.lastSetIndex; i < timeInterval.index; ++i) {\n        let containedInterval = this.timeIntervals[i];\n        containedInterval.active = timeInterval.active;\n      }\n    }\n    this.lastSetIndex = timeInterval.index;\n    this.updateTimetableIntervals();\n  }\n\n  @action removeMatchingTimetable() {\n    this.args.ruleset.matchingTimetable = null;\n  }\n\n  @action setInsideOfficeHours() {\n    if (this.args.ruleset.matchingTimetable?.isInsideOfficeHoursType) {\n      return;\n    }\n    this.setMatchingTimetable({\n      timetableType: timetableTypes.insideOfficeHours,\n      timezoneType: timezoneTypes.basedOnAppTimezone,\n    });\n  }\n\n  @action setOutsideOfficeHours() {\n    if (this.args.ruleset.matchingTimetable?.isOutsideOfficeHoursType) {\n      return;\n    }\n    this.setMatchingTimetable({\n      timetableType: timetableTypes.outsideOfficeHours,\n      timezoneType: timezoneTypes.basedOnAppTimezone,\n    });\n  }\n\n  @action setCustomTimes() {\n    if (this.args.ruleset.matchingTimetable?.isCustomTimesType) {\n      return;\n    } else if (this.timeIntervals) {\n      this.updateTimetableIntervals();\n    } else {\n      this.setMatchingTimetable({\n        timetableType: timetableTypes.customTimes,\n        timezoneType: this.timezoneTypeForCustomTimes,\n        timeIntervals: [],\n      });\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- usage:\\n\\n  <MaybeInElement @element={{this.alternateRenderContext}}>\\n    some content that will render in place when this.alternateRenderContext\\n    is falsy, and in the element reference by this.alternateRenderContext otherwise\\n  </MaybeInElement>\\n\\n--}}\\n{{~#if @element~}}\\n{{~#-in-element @element~}}{{~yield~}}{{~/-in-element~}}\\n{{~else~}}\\n{{~yield~}}\\n{{~/if~}}\\n\", {\"contents\":\"{{!-- usage:\\n\\n  <MaybeInElement @element={{this.alternateRenderContext}}>\\n    some content that will render in place when this.alternateRenderContext\\n    is falsy, and in the element reference by this.alternateRenderContext otherwise\\n  </MaybeInElement>\\n\\n--}}\\n{{~#if @element~}}\\n{{~#-in-element @element~}}{{~yield~}}{{~/-in-element~}}\\n{{~else~}}\\n{{~yield~}}\\n{{~/if~}}\\n\",\"moduleName\":\"embercom/components/maybe-in-element.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/maybe-in-element.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import MediaInserterAttachFileButton from '@intercom/embercom-composer/components/media-inserter-attach-file-button';\nexport default MediaInserterAttachFileButton;\n","import MediaInserterSelector from '@intercom/embercom-composer/components/media-inserter-facebook';\nexport default MediaInserterSelector;\n","import MediaInserterSelector from '@intercom/embercom-composer/components/media-inserter-selector';\nexport default MediaInserterSelector;\n","import MediaInserterSelector from '@intercom/embercom-composer/components/media-inserter-social';\nexport default MediaInserterSelector;\n","import MediaInserterSelector from '@intercom/embercom-composer/components/media-inserter-twitter';\nexport default MediaInserterSelector;\n","import MediaInserterSelector from '@intercom/embercom-composer/components/media-inserter-video';\nexport default MediaInserterSelector;\n","import MediaInserter from '@intercom/embercom-composer/components/media-inserter';\nexport default MediaInserter;\n","export default Em.Component.extend({\n  actions: {\n    clickedInsert() {\n      this.get('inserterApi.insertCharacter')('a');\n    },\n  },\n});\n","export default Em.Component.extend({\n  didInsertElement() {\n    this.get('inserterApi.createBlock')('paragraph', {\n      text: 'Bam! Insta-text! Plus - another below 😱',\n      align: 'left',\n    });\n    this.get('inserterApi.createBlock')('paragraph', {\n      text: 'Pow!',\n      align: 'left',\n    });\n  },\n});\n","export default Em.Component.extend({\n  actions: {\n    clickedOk() {\n      this.get('inserterApi.createBlock')('paragraph', {\n        text: 'Inserty blocky',\n        align: 'left',\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if error}}\\n  <p class=\\\"meeting-scheduler__slot-error layout__box\\\">\\n    {{error}}\\n  </p>\\n{{/if}}\\n{{#if hasNoBookableSlots}}\\n  <p class=\\\"o__centers-horizontally layout__box\\\">\\n    No time available\\n  </p>\\n{{/if}}\\n{{#if selectedSlot}}\\n  <div\\n    class=\\\"meeting-scheduler__email-collector-container\\\"\\n    data-test-email-collector\\n  >\\n    <span>\\n      {{#if showConfirmation}}\\n        You booked:\\n      {{else}}\\n        You're about to book:\\n      {{/if}}\\n      <b>\\n        {{duration}}min meeting at {{format-date\\n          date=selectedSlot.start\\n          format=\\\"dateAndTimeWithoutYearWithShortDayName\\\"\\n          }} {{timezoneDisplay}}\\n      </b>\\n      {{#if (not showConfirmation)}}\\n        (\\n        <a\\n          data-test-change-link\\n          class=\\\"meeting-scheduler__change-link\\\"\\n          onClick={{action \\\"back\\\"}}\\n        >\\n          Change\\n        </a>\\n        )\\n      {{/if}}\\n    </span>\\n    <div class=\\\"h-2\\\"></div>\\n    <p>\\n      {{#if showConfirmation}}\\n        An invite is on its way to:\\n      {{else}}\\n        To confirm, just enter your email:\\n      {{/if}}\\n    </p>\\n    <div\\n      class=\\\"meeting-scheduler__email-collector {{if invalidEmail \\\"o__error\\\"}}\\\"\\n    >\\n      <Input\\n        @value={{guestEmail}}\\n        @type=\\\"text\\\"\\n        class=\\\"f__text meeting-scheduler__email-input\\\"\\n        placeholder=\\\"email@example.com\\\"\\n        @enter={{action \\\"bookSlot\\\"}}\\n        @key-down={{action \\\"emailEdited\\\"}}\\n        @disabled={{showConfirmation}}\\n      />\\n      {{#if showConfirmation}}\\n        <div class=\\\"layout__box o__centers-all meeting-scheduler__email-icon\\\">\\n          {{ic-interface-icon \\\"check\\\" color=\\\"green\\\" solo=true}}\\n        </div>\\n      {{else}}\\n        <button\\n          class=\\\"meeting-scheduler__email-icon meeting-scheduler__email-submit\\\"\\n          {{action \\\"bookSlot\\\"}}\\n        >\\n          {{ic-interface-icon \\\"thin-right-arrow\\\" solo=true}}\\n        </button>\\n      {{/if}}\\n    </div>\\n    {{#if invalidEmail}}\\n      <p class=\\\"meeting-scheduler__email-error layout__box\\\">\\n        That email doesn't look quite right\\n      </p>\\n    {{/if}}\\n  </div>\\n{{else}}\\n  <div class=\\\"layout__box u__center-layout o__has-rows\\\">\\n    <div\\n      class=\\\"{{if media.isMobile \\\"meeting-scheduler__slots-container-mobile\\\"}} {{if (not media.isMobile) \\\"meeting-scheduler__slots-container\\\"}}\\\"\\n    >\\n      {{#each-in bookableSlotsByDate as |key slots|}}\\n        <div\\n          data-test-meeting-scheduler-day\\n          class=\\\"meeting-scheduler__day layout__box o__has-columns\\\"\\n        >\\n          <div\\n            class=\\\"meeting-scheduler__date o__has-rows u__ml__5 {{if media.isMobile \\\"u__mr__10\\\"}} {{if (not media.isMobile) \\\"u__mr__50\\\"}} u__mt__10\\\"\\n          >\\n            <div class=\\\"meeting-scheduler__date-text\\\">\\n              {{format-date date=key format=\\\"dateWithoutYear\\\"}}\\n            </div>\\n            <div class=\\\"t__light-text\\\">\\n              {{format-date date=key format=\\\"dayOfWeek\\\"}}\\n            </div>\\n          </div>\\n          <div class=\\\"o__has-rows\\\">\\n            {{#each slots as |slot|}}\\n              <div\\n                class=\\\"{{if media.isMobile \\\"meeting-scheduler__mobile-slot\\\"}} {{if (not media.isMobile) \\\"meeting-scheduler__slot\\\"}} u__center-layout {{if slot.notBookable \\\"o__disabled\\\"}}\\\"\\n                data-test-meeting-scheduler-slot={{slot.id}}\\n                {{action \\\"selectSlot\\\" slot}}\\n              >\\n                {{format-date date=slot.start format=\\\"timeWithoutTimezone\\\"}}\\n              </div>\\n            {{/each}}\\n          </div>\\n        </div>\\n      {{/each-in}}\\n    </div>\\n    <div\\n      data-test-meeting-scheduler-timezone\\n      class=\\\"t__body text-gray meeting-scheduler__timezone\\\"\\n    >\\n      {{duration}}min meeting - {{timezoneDisplay}}\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if error}}\\n  <p class=\\\"meeting-scheduler__slot-error layout__box\\\">\\n    {{error}}\\n  </p>\\n{{/if}}\\n{{#if hasNoBookableSlots}}\\n  <p class=\\\"o__centers-horizontally layout__box\\\">\\n    No time available\\n  </p>\\n{{/if}}\\n{{#if selectedSlot}}\\n  <div\\n    class=\\\"meeting-scheduler__email-collector-container\\\"\\n    data-test-email-collector\\n  >\\n    <span>\\n      {{#if showConfirmation}}\\n        You booked:\\n      {{else}}\\n        You're about to book:\\n      {{/if}}\\n      <b>\\n        {{duration}}min meeting at {{format-date\\n          date=selectedSlot.start\\n          format=\\\"dateAndTimeWithoutYearWithShortDayName\\\"\\n          }} {{timezoneDisplay}}\\n      </b>\\n      {{#if (not showConfirmation)}}\\n        (\\n        <a\\n          data-test-change-link\\n          class=\\\"meeting-scheduler__change-link\\\"\\n          onClick={{action \\\"back\\\"}}\\n        >\\n          Change\\n        </a>\\n        )\\n      {{/if}}\\n    </span>\\n    <div class=\\\"h-2\\\"></div>\\n    <p>\\n      {{#if showConfirmation}}\\n        An invite is on its way to:\\n      {{else}}\\n        To confirm, just enter your email:\\n      {{/if}}\\n    </p>\\n    <div\\n      class=\\\"meeting-scheduler__email-collector {{if invalidEmail \\\"o__error\\\"}}\\\"\\n    >\\n      <Input\\n        @value={{guestEmail}}\\n        @type=\\\"text\\\"\\n        class=\\\"f__text meeting-scheduler__email-input\\\"\\n        placeholder=\\\"email@example.com\\\"\\n        @enter={{action \\\"bookSlot\\\"}}\\n        @key-down={{action \\\"emailEdited\\\"}}\\n        @disabled={{showConfirmation}}\\n      />\\n      {{#if showConfirmation}}\\n        <div class=\\\"layout__box o__centers-all meeting-scheduler__email-icon\\\">\\n          {{ic-interface-icon \\\"check\\\" color=\\\"green\\\" solo=true}}\\n        </div>\\n      {{else}}\\n        <button\\n          class=\\\"meeting-scheduler__email-icon meeting-scheduler__email-submit\\\"\\n          {{action \\\"bookSlot\\\"}}\\n        >\\n          {{ic-interface-icon \\\"thin-right-arrow\\\" solo=true}}\\n        </button>\\n      {{/if}}\\n    </div>\\n    {{#if invalidEmail}}\\n      <p class=\\\"meeting-scheduler__email-error layout__box\\\">\\n        That email doesn't look quite right\\n      </p>\\n    {{/if}}\\n  </div>\\n{{else}}\\n  <div class=\\\"layout__box u__center-layout o__has-rows\\\">\\n    <div\\n      class=\\\"{{if media.isMobile \\\"meeting-scheduler__slots-container-mobile\\\"}} {{if (not media.isMobile) \\\"meeting-scheduler__slots-container\\\"}}\\\"\\n    >\\n      {{#each-in bookableSlotsByDate as |key slots|}}\\n        <div\\n          data-test-meeting-scheduler-day\\n          class=\\\"meeting-scheduler__day layout__box o__has-columns\\\"\\n        >\\n          <div\\n            class=\\\"meeting-scheduler__date o__has-rows u__ml__5 {{if media.isMobile \\\"u__mr__10\\\"}} {{if (not media.isMobile) \\\"u__mr__50\\\"}} u__mt__10\\\"\\n          >\\n            <div class=\\\"meeting-scheduler__date-text\\\">\\n              {{format-date date=key format=\\\"dateWithoutYear\\\"}}\\n            </div>\\n            <div class=\\\"t__light-text\\\">\\n              {{format-date date=key format=\\\"dayOfWeek\\\"}}\\n            </div>\\n          </div>\\n          <div class=\\\"o__has-rows\\\">\\n            {{#each slots as |slot|}}\\n              <div\\n                class=\\\"{{if media.isMobile \\\"meeting-scheduler__mobile-slot\\\"}} {{if (not media.isMobile) \\\"meeting-scheduler__slot\\\"}} u__center-layout {{if slot.notBookable \\\"o__disabled\\\"}}\\\"\\n                data-test-meeting-scheduler-slot={{slot.id}}\\n                {{action \\\"selectSlot\\\" slot}}\\n              >\\n                {{format-date date=slot.start format=\\\"timeWithoutTimezone\\\"}}\\n              </div>\\n            {{/each}}\\n          </div>\\n        </div>\\n      {{/each-in}}\\n    </div>\\n    <div\\n      data-test-meeting-scheduler-timezone\\n      class=\\\"t__body text-gray meeting-scheduler__timezone\\\"\\n    >\\n      {{duration}}min meeting - {{timezoneDisplay}}\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/meeting-scheduler/slots.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/meeting-scheduler/slots.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { and, empty, alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { isValidEmail } from '@intercom/embercom-core/lib/computed-properties';\nimport { post } from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\nimport moment from 'moment';\n\nexport default Component.extend({\n  classNames: ['layout__box', 'o__has-rows', 'o__flexes-to-1', 'meeting-scheduler__content'],\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.set('guestEmail', this.get('calendar.emailFromConversation'));\n  },\n\n  store: service(),\n\n  guestEmail: null,\n  selectedSlot: null,\n  error: null,\n  invalidEmail: false,\n  calendarPage: 1,\n\n  media: service(),\n\n  guestEmailIsValid: isValidEmail('guestEmail'),\n  showConfirmation: and('guestEmail', 'selectedSlot.booked'),\n\n  timezone: alias('calendar.timezone'),\n\n  timezoneDisplay: computed('timezone', function() {\n    let zoneName = this.timezone.split('/');\n    let cityName = zoneName.lastObject.replace('_', ' ');\n    let offset = moment()\n      .tz(this.timezone)\n      .format('Z');\n    return `(GMT${offset}) ${cityName} Time`;\n  }),\n\n  bookableSlots: computed('calendar.slots', function() {\n    return this.get('calendar.slots').rejectBy('notBookable', true);\n  }),\n\n  hasNoBookableSlots: empty('bookableSlots'),\n\n  bookableSlotsByDate: computed('bookableSlots', function() {\n    return this.bookableSlots.reduce((map, value) => {\n      if (map[value.get('date')]) {\n        map[value.get('date')].push(value);\n      } else {\n        map[value.get('date')] = [value];\n      }\n      return map;\n    }, {});\n  }),\n\n  bookSlotTask: task(function*() {\n    let guestEmail = this.guestEmail;\n    let selectedSlot = this.selectedSlot;\n\n    if (guestEmail && this.guestEmailIsValid) {\n      try {\n        selectedSlot.set('booked', true);\n        yield post('/meeting_scheduler/calendar/book_slot', {\n          link: this.get('calendar.id'),\n          guest_email: guestEmail,\n          user_id: this.get('calendar.userIdFromConversation'),\n          start_time: selectedSlot.get('start').toString(),\n          duration: selectedSlot.get('duration'),\n          slot_id: selectedSlot.get('id'),\n        });\n      } catch (error) {\n        let store = this.store;\n        let slots = error.jqXHR.responseJSON.slots.map(slotData => {\n          return store.createRecord('meeting-scheduler/slot', slotData);\n        });\n        this.set('calendar.slots', slots);\n        this.setProperties({\n          selectedSlot: null,\n          error: error.jqXHR.responseJSON.errors[0].message,\n        });\n      }\n    } else {\n      this.set('invalidEmail', true);\n    }\n  }),\n\n  actions: {\n    selectSlot(slot) {\n      this.set('error', null);\n      if (slot.get('notBookable')) {\n        return;\n      }\n      this.set('selectedSlot', slot);\n      if (this.guestEmail) {\n        this.bookSlotTask.perform();\n      }\n    },\n    bookSlot() {\n      this.bookSlotTask.perform();\n    },\n    emailEdited() {\n      this.set('invalidEmail', false);\n    },\n    back() {\n      this.set('selectedSlot', null);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"meeting-scheduler__teammate__avatar layout__box o__centers-horizontally\\\"\\n>\\n  <IcAvatarComponent @model={{teammate}} @size=\\\"l\\\" />\\n</div>\\n<p\\n  class=\\\"meeting-scheduler__teammate__name layout__box o__centers-horizontally\\\"\\n>\\n  Meet with {{teammate.firstName}}\\n</p>\\n{{#if teammate.jobTitle}}\\n  <p\\n    class=\\\"u__mr__30 u__ml__30 meeting-scheduler__teammate__job-title layout__box o__centers-horizontally\\\"\\n  >\\n    {{teammate.jobTitle}} at {{appName}}\\n  </p>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"meeting-scheduler__teammate__avatar layout__box o__centers-horizontally\\\"\\n>\\n  <IcAvatarComponent @model={{teammate}} @size=\\\"l\\\" />\\n</div>\\n<p\\n  class=\\\"meeting-scheduler__teammate__name layout__box o__centers-horizontally\\\"\\n>\\n  Meet with {{teammate.firstName}}\\n</p>\\n{{#if teammate.jobTitle}}\\n  <p\\n    class=\\\"u__mr__30 u__ml__30 meeting-scheduler__teammate__job-title layout__box o__centers-horizontally\\\"\\n  >\\n    {{teammate.jobTitle}} at {{appName}}\\n  </p>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/meeting-scheduler/teammate.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/meeting-scheduler/teammate.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  classNames: ['layout__box', 'o__has-rows'],\n});\n","import MentionInserterComponent from '@intercom/embercom-composer/components/mention-inserter';\nexport default MentionInserterComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span {{tooltip content=tooltipContent isDisabled=(not disabled)}} data-test-bulk-message-dropdown-tooltip>\\n  <span class=\\\"f__custom-select__box js__bulk-message-button-dropdown {{if discreetMode 'o__subtle'}} {{if isOpen 'o__opened'}} {{if disabled 'o__disabled'}} {{if showError 'o__error'}} {{if isInvisibleSelect 'o__invisible'}}\\\"\\n    {{action 'toggleOpenState'}} data-test-bulk-message-dropdown>\\n    <span class=\\\"t__select-group-label\\\">\\n      {{ic-interface-icon 'compose'}} Message\\n    </span>\\n    <span class=\\\"f__custom-select__caret {{if isInvisibleSelect 'o__invisible'}}\\\">{{ic-interface-icon 'small-down-arrow' solo=true}}</span>\\n  </span>\\n</span>\\n{{#if isOpen}}\\n  <div class=\\\"dropdown o__opened f__custom-select__dropdown z__2\\\">\\n    <a data-test-create-manual-message class=\\\"dropdown__list-item flex items-start js__bulk-message-button {{if @manualMessageDisabled 'o__disabled' 'o__hoverable'}}\\\"\\n      {{action @createManualMessage}}>\\n      {{ic-interface-icon 'outbound-filled' solo=true}}\\n      <span class=\\\"flex-auto min-w-0 u__ml__10\\\">\\n        Manual message<br>\\n        <span class=\\\"t__light-text\\\">To {{inflector-helper @segment.personTypeName}} who match the filters now</span>\\n      </span>\\n    </a>\\n    <a data-test-create-auto-message class=\\\"dropdown__list-item flex items-start o__hoverable\\\" data-content=\\\"{{tooltipContent}}\\\"\\n      {{action @createAutoMessage}}>\\n      {{ic-interface-icon 'outbound-filled' solo=true}}\\n      <span class=\\\"flex-auto min-w-0 u__ml__10\\\">\\n        Auto message<br>\\n        <span class=\\\"t__light-text\\\">To {{inflector-helper @segment.personTypeName}} who match the filters now and in the future</span>\\n      </span>\\n    </a>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span {{tooltip content=tooltipContent isDisabled=(not disabled)}} data-test-bulk-message-dropdown-tooltip>\\n  <span class=\\\"f__custom-select__box js__bulk-message-button-dropdown {{if discreetMode 'o__subtle'}} {{if isOpen 'o__opened'}} {{if disabled 'o__disabled'}} {{if showError 'o__error'}} {{if isInvisibleSelect 'o__invisible'}}\\\"\\n    {{action 'toggleOpenState'}} data-test-bulk-message-dropdown>\\n    <span class=\\\"t__select-group-label\\\">\\n      {{ic-interface-icon 'compose'}} Message\\n    </span>\\n    <span class=\\\"f__custom-select__caret {{if isInvisibleSelect 'o__invisible'}}\\\">{{ic-interface-icon 'small-down-arrow' solo=true}}</span>\\n  </span>\\n</span>\\n{{#if isOpen}}\\n  <div class=\\\"dropdown o__opened f__custom-select__dropdown z__2\\\">\\n    <a data-test-create-manual-message class=\\\"dropdown__list-item flex items-start js__bulk-message-button {{if @manualMessageDisabled 'o__disabled' 'o__hoverable'}}\\\"\\n      {{action @createManualMessage}}>\\n      {{ic-interface-icon 'outbound-filled' solo=true}}\\n      <span class=\\\"flex-auto min-w-0 u__ml__10\\\">\\n        Manual message<br>\\n        <span class=\\\"t__light-text\\\">To {{inflector-helper @segment.personTypeName}} who match the filters now</span>\\n      </span>\\n    </a>\\n    <a data-test-create-auto-message class=\\\"dropdown__list-item flex items-start o__hoverable\\\" data-content=\\\"{{tooltipContent}}\\\"\\n      {{action @createAutoMessage}}>\\n      {{ic-interface-icon 'outbound-filled' solo=true}}\\n      <span class=\\\"flex-auto min-w-0 u__ml__10\\\">\\n        Auto message<br>\\n        <span class=\\\"t__light-text\\\">To {{inflector-helper @segment.personTypeName}} who match the filters now and in the future</span>\\n      </span>\\n    </a>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-dropdown-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-dropdown-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport IntercomSelectComponent from 'embercom/components/intercom-select-component';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default IntercomSelectComponent.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  dropdownMaxHeight: 145,\n  dropdownMinWidth: 270,\n  highlightListItemClass: '',\n  selectClass: ternary('isInvisibleSelect', 'f__invisible-select__box', 'f__custom-select__box'),\n  caretClass: ternary('isInvisibleSelect', 'f__invisible-select__caret', 'f__custom-select__caret'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__pad__20\\\">\\n  <h1 class=\\\"t__h1 test__audience-editor__count-description\\\">\\n    {{#if audiencePreview.isRunning}}\\n      {{number-formatter-helper audienceCount}} {{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes audienceCount)}} {{inflector-helper \\\"has\\\" audienceCount}} matched this search so far\\n    {{else}}\\n      {{number-formatter-helper audienceCount}} {{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes audienceCount)}} {{inflector-helper \\\"matches\\\" audienceCount}} this message's rules\\n    {{/if}}\\n  </h1>\\n  <span class=\\\"t__h1-associated-text\\\">\\n    If you set the message live, we’ll send it to them and new {{format-array-to-sentence message.selectionState.pluralUserTypes}} that start to match your rules\\n    {{#unless message.isUsingCompanyAttributesInContents}}\\n      <IcTooltipIcon @content={{userTooltipLabel}} class=\\\"text-gray\\\" />\\n    {{/unless}}\\n  </span>\\n</div>\\n<div class=\\\"tbl__fixed__wrapper u__mt__0\\\">\\n  <MessageEditor::Audience::RecipientListTable\\n    @users={{audiencePreview.sampleUsers}}\\n  >\\n    {{#if audiencePreview.isRunning}}\\n      <tr class=\\\"test__search-info-row\\\">\\n        <td class=\\\"tbl__cell t__light-text\\\" colspan=\\\"100%\\\">\\n          <IcLoadingIndicator @size=\\\"tiny\\\" @inline={{true}} />\\n          <span class=\\\"u__ml__5\\\">Searching for matching {{format-array-to-sentence message.selectionState.pluralUserTypes}}</span>\\n          <span\\n            class=\\\"message__editor__audience__search-percentage\\\"\\n            {{tooltip content=completionTooltipContent}}\\n          >\\n            {{audiencePreview.usersEvaluatedPercentage}}% complete\\n          </span>\\n        </td>\\n      </tr>\\n    {{/if}}\\n  </MessageEditor::Audience::RecipientListTable>\\n  {{#if\\n    (and\\n      audiencePreview.evaluationCompleted\\n      (gt audienceCount audiencePreview.sampleUsers.length)\\n    )\\n  }}\\n    <div class=\\\"t__light-text u__pad__20 test__and-other-users\\\">\\n      And {{number-formatter-helper\\n        (sub audienceCount audiencePreview.sampleUsers.length)\\n      }} {{format-array-to-sentence message.selectionState.pluralUserTypes}} like this\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__pad__20\\\">\\n  <h1 class=\\\"t__h1 test__audience-editor__count-description\\\">\\n    {{#if audiencePreview.isRunning}}\\n      {{number-formatter-helper audienceCount}} {{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes audienceCount)}} {{inflector-helper \\\"has\\\" audienceCount}} matched this search so far\\n    {{else}}\\n      {{number-formatter-helper audienceCount}} {{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes audienceCount)}} {{inflector-helper \\\"matches\\\" audienceCount}} this message's rules\\n    {{/if}}\\n  </h1>\\n  <span class=\\\"t__h1-associated-text\\\">\\n    If you set the message live, we’ll send it to them and new {{format-array-to-sentence message.selectionState.pluralUserTypes}} that start to match your rules\\n    {{#unless message.isUsingCompanyAttributesInContents}}\\n      <IcTooltipIcon @content={{userTooltipLabel}} class=\\\"text-gray\\\" />\\n    {{/unless}}\\n  </span>\\n</div>\\n<div class=\\\"tbl__fixed__wrapper u__mt__0\\\">\\n  <MessageEditor::Audience::RecipientListTable\\n    @users={{audiencePreview.sampleUsers}}\\n  >\\n    {{#if audiencePreview.isRunning}}\\n      <tr class=\\\"test__search-info-row\\\">\\n        <td class=\\\"tbl__cell t__light-text\\\" colspan=\\\"100%\\\">\\n          <IcLoadingIndicator @size=\\\"tiny\\\" @inline={{true}} />\\n          <span class=\\\"u__ml__5\\\">Searching for matching {{format-array-to-sentence message.selectionState.pluralUserTypes}}</span>\\n          <span\\n            class=\\\"message__editor__audience__search-percentage\\\"\\n            {{tooltip content=completionTooltipContent}}\\n          >\\n            {{audiencePreview.usersEvaluatedPercentage}}% complete\\n          </span>\\n        </td>\\n      </tr>\\n    {{/if}}\\n  </MessageEditor::Audience::RecipientListTable>\\n  {{#if\\n    (and\\n      audiencePreview.evaluationCompleted\\n      (gt audienceCount audiencePreview.sampleUsers.length)\\n    )\\n  }}\\n    <div class=\\\"t__light-text u__pad__20 test__and-other-users\\\">\\n      And {{number-formatter-helper\\n        (sub audienceCount audiencePreview.sampleUsers.length)\\n      }} {{format-array-to-sentence message.selectionState.pluralUserTypes}} like this\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/audience/campaign-message-recipient-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/audience/campaign-message-recipient-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { readOnly } from '@ember/object/computed';\nimport RecipientList from './recipient-list';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default RecipientList.extend({\n  audiencePreview: readOnly('message.campaignAudiencePreview'),\n  audienceCount: readOnly('audiencePreview.usersMatchedSoFar'),\n  completionTooltipContent: templateString(\n    'Evaluated ${audiencePreview.usersEvaluatedSoFar} of ${audiencePreview.usersToBeConsidered} ${message.selectionState.pluralUserTypes}',\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcFilterBlock\\n  @isOneLine={{true}}\\n  @name={{concat\\n    capitalize (format-array-to-sentence message.selectionState.pluralUserTypes)\\n    \\\" in campaign\\\"\\n  }}\\n  @details={{@message.campaign.title}}\\n  @icon=\\\"campaign\\\"\\n  class=\\\"u__left u__mr__15 o__static\\\"\\n  data-test-disabled-user-selector={{true}}\\n/>\\n<UsersAndCompanies::RulesEditor\\n  @predicateGroup={{@predicateGroup}}\\n  @showUserSwitcher={{false}}\\n  @onUpdate={{@onUpdate}}\\n  @mode=\\\"campaign\\\"\\n  @predicateContext={{hash campaign=@message.campaign}}\\n  @extraAttributeGroups={{extraAttributeGroups}}\\n  @groupAttributePickerDisabledIdentifiers={{groupAttributePickerDisabledIdentifiers}}\\n  @attributePickerDisabledIdentifiers={{attributePickerDisabledIdentifiers}} as |editor|\\n>\\n  {{editor.attributePickerOpener}}\\n</UsersAndCompanies::RulesEditor>\\n{{yield}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcFilterBlock\\n  @isOneLine={{true}}\\n  @name={{concat\\n    capitalize (format-array-to-sentence message.selectionState.pluralUserTypes)\\n    \\\" in campaign\\\"\\n  }}\\n  @details={{@message.campaign.title}}\\n  @icon=\\\"campaign\\\"\\n  class=\\\"u__left u__mr__15 o__static\\\"\\n  data-test-disabled-user-selector={{true}}\\n/>\\n<UsersAndCompanies::RulesEditor\\n  @predicateGroup={{@predicateGroup}}\\n  @showUserSwitcher={{false}}\\n  @onUpdate={{@onUpdate}}\\n  @mode=\\\"campaign\\\"\\n  @predicateContext={{hash campaign=@message.campaign}}\\n  @extraAttributeGroups={{extraAttributeGroups}}\\n  @groupAttributePickerDisabledIdentifiers={{groupAttributePickerDisabledIdentifiers}}\\n  @attributePickerDisabledIdentifiers={{attributePickerDisabledIdentifiers}} as |editor|\\n>\\n  {{editor.attributePickerOpener}}\\n</UsersAndCompanies::RulesEditor>\\n{{yield}}\\n\",\"moduleName\":\"embercom/components/message-editor/audience/campaign-rules-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/audience/campaign-rules-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly, filterBy } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  attributeService: service(),\n  extraAttributeGroups: computed('campaignAttributes', function() {\n    return [\n      {\n        heading: 'Campaign data',\n        attributes: this.campaignAttributes,\n      },\n    ];\n  }),\n  campaignAttributes: readOnly('attributeService.filterableCampaignAttributesForMessaging'),\n  campaignBehaviorAttributes: filterBy('campaignAttributes', 'isCampaignBehavior'),\n  attributePickerDisabledIdentifiers: computed(\n    'campaignBehaviorAttributes',\n    'message.campaign.messages.[]',\n    function() {\n      let identifierToReasonMapping = {};\n      if (this.get('message.campaign.messages.length') < 2) {\n        let reason = 'You can use this attribute when you have at least two messages in a campaign';\n        this.campaignBehaviorAttributes\n          .mapBy('identifier')\n          .forEach(identifier => (identifierToReasonMapping[identifier] = reason));\n      }\n      return identifierToReasonMapping;\n    },\n  ),\n  groupAttributePickerDisabledIdentifiers: computed('campaignAttributes.[]', function() {\n    let identifiers = this.campaignAttributes.mapBy('identifier');\n    let identifierToReasonMapping = {};\n    let reason = 'Campaign data attributes can only be added as individual rules';\n    identifiers.forEach(identifier => (identifierToReasonMapping[identifier] = reason));\n    return identifierToReasonMapping;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-rows o__flexes-to-1 u__mb__30\\\">\\n  <div data-test-excluded-audience-description>\\n    This audience list excludes\\n    <a href=\\\"{{bounceAndComplaintFilterUrl}}\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">ineligible</a>\\n    {{#if emailDisengagementPredicate}}and disengaged{{/if}} users\\n    <a onclick={{action (mut showDetails) (not showDetails)}} class='t__em-link' data-test-change-button>\\n      {{#if showDetails}}\\n        Hide\\n      {{else}}\\n        Change\\n      {{/if}}\\n    </a>\\n  </div>\\n\\n  {{#if showDetails}}\\n    <label class=\\\"u__mt__10\\\">\\n      <span class=\\\"f__checkbox-wrapper\\\">\\n        <input type=\\\"checkbox\\\" checked={{emailDisengagementPredicate}} onchange={{action \\\"toggleDisengagedUsers\\\"}} data-test-disengaged-users-checkbox>\\n      </span>\\n      <span class=\\\"f__checkbox-content\\\">Avoid spam folders by excluding disengaged users (Recommended)</span>\\n    </label>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-rows o__flexes-to-1 u__mb__30\\\">\\n  <div data-test-excluded-audience-description>\\n    This audience list excludes\\n    <a href=\\\"{{bounceAndComplaintFilterUrl}}\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">ineligible</a>\\n    {{#if emailDisengagementPredicate}}and disengaged{{/if}} users\\n    <a onclick={{action (mut showDetails) (not showDetails)}} class='t__em-link' data-test-change-button>\\n      {{#if showDetails}}\\n        Hide\\n      {{else}}\\n        Change\\n      {{/if}}\\n    </a>\\n  </div>\\n\\n  {{#if showDetails}}\\n    <label class=\\\"u__mt__10\\\">\\n      <span class=\\\"f__checkbox-wrapper\\\">\\n        <input type=\\\"checkbox\\\" checked={{emailDisengagementPredicate}} onchange={{action \\\"toggleDisengagedUsers\\\"}} data-test-disengaged-users-checkbox>\\n      </span>\\n      <span class=\\\"f__checkbox-content\\\">Avoid spam folders by excluding disengaged users (Recommended)</span>\\n    </label>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/audience/disengaged-user-switcher.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/audience/disengaged-user-switcher.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { findBy } from '@intercom/embercom-core/lib/computed-properties';\nimport { EXCLUDE_DISENGAGED_USERS_PREDICATE } from 'embercom/models/data/messages/message-defaults';\nimport B64FilterParamEncoder from 'embercom/vendor/intercom/b64-filter-param-encoder';\nimport IMPLICIT_PREDICATES from 'embercom/models/data/messages/implicit-predicates';\n\nexport default Component.extend({\n  bounceAndComplaintFilterUrl: computed('app.id', 'predicateGroup.userType', function() {\n    return B64FilterParamEncoder.filterUrlFromMessagePredicates(\n      this.app.id,\n      this.predicateGroup.userType === 'contact_role',\n      { predicates: [{ type: 'or', predicates: IMPLICIT_PREDICATES.emailUnsubscribedPredicates }] },\n    );\n  }),\n\n  emailDisengagementPredicate: findBy('predicateGroup.predicates', 'type', 'email_disengagement'),\n\n  actions: {\n    toggleDisengagedUsers() {\n      if (this.emailDisengagementPredicate) {\n        this.predicateGroup.remove(this.emailDisengagementPredicate);\n      } else {\n        this.predicateGroup.add(EXCLUDE_DISENGAGED_USERS_PREDICATE);\n      }\n      this.onUpdate(this.predicateGroup.predicates);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-rows\\\">\\n  {{#if message.selectionState.hasUserAddedPredicates}}\\n    {{#if (or message.isVisitorAutoMessage message.selectionState.isTargetingVisitors)}}\\n      <IcEmptyState\\n        @icon=\\\"people\\\"\\n        @title=\\\"All visitors who match your rules can receive this message\\\"\\n        data-test-empty-audience={{true}}\\n      >\\n        <div>\\n          <p class=\\\"empty-state__description\\\">\\n            Improve how you target visitors by adding\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://www.intercom.com/help/en/articles/320-tracking-user-data-in-intercom\\\"\\n              @title=\\\"attributes\\\"\\n              @type=\\\"article\\\"\\n              @linkStyling=\\\"inline\\\"\\n            />\\n            and\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://www.intercom.com/help/en/articles/216-track-events-in-intercom\\\"\\n              @title=\\\"events\\\"\\n              @type=\\\"article\\\"\\n              @linkStyling=\\\"inline\\\"\\n            />\\n          </p>\\n        </div>\\n      </IcEmptyState>\\n    {{else if message.isDraftCampaignWithCampaignBehaviorPredicates}}\\n      <IcEmptyState\\n        @icon=\\\"people\\\"\\n        @title=\\\"We can't see your audience yet\\\"\\n        @description=\\\"You've set entry rules based on campaign behavior, so you'll need to set it live to see the audience\\\"\\n        data-test-empty-audience={{true}}\\n      />\\n    {{else if message.isCampaignOrAutoMessage}}\\n      <IcEmptyState\\n        @icon=\\\"people\\\"\\n        @title={{concat\\n          \\\"No \\\"\\n          (format-array-to-sentence message.selectionState.pluralUserTypes 'or')\\n          \\\" match your rules yet\\\"\\n        }}\\n        @description={{concat\\n          \\\"If you set this message live, it will be sent to \\\"\\n          (format-array-to-sentence message.selectionState.pluralUserTypes)\\n          \\\" who match your rules in the future\\\"\\n        }}\\n        data-test-empty-audience={{true}}\\n      />\\n    {{else if message.isManualMessage}}\\n      <IcEmptyState\\n        @icon=\\\"people\\\"\\n        @title={{concat\\n          \\\"No \\\"\\n          (format-array-to-sentence message.selectionState.pluralUserTypes 'or')\\n          \\\" match your rules\\\"\\n        }}\\n        @description=\\\"Try editing or removing rules to expand your audience\\\"\\n        data-test-empty-audience={{true}}\\n      />\\n    {{/if}}\\n  {{else}}\\n    {{#if (or message.isVisitorAutoMessage message.selectionState.isTargetingVisitors)}}\\n      <IcEmptyState\\n        @icon=\\\"people\\\"\\n        @title=\\\"All visitors are in your audience right now\\\"\\n        data-test-empty-audience={{true}}\\n      >\\n        <div>\\n          <p class=\\\"empty-state__description\\\">\\n            Improve how you target visitors by adding\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://www.intercom.com/help/en/articles/320-tracking-user-data-in-intercom\\\"\\n              @title=\\\"attributes\\\"\\n              @type=\\\"article\\\"\\n              @linkStyling=\\\"inline\\\"\\n            />\\n            and\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://www.intercom.com/help/en/articles/216-track-events-in-intercom\\\"\\n              @title=\\\"events\\\"\\n              @type=\\\"article\\\"\\n              @linkStyling=\\\"inline\\\"\\n            />\\n          </p>\\n        </div>\\n      </IcEmptyState>\\n    {{else}}\\n      <IcEmptyState\\n        @icon=\\\"people\\\"\\n        @title=\\\"No rules added yet\\\"\\n        @description=\\\"Add a rule to specify who should get your message\\\"\\n        data-test-empty-audience={{true}}\\n      />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-rows\\\">\\n  {{#if message.selectionState.hasUserAddedPredicates}}\\n    {{#if (or message.isVisitorAutoMessage message.selectionState.isTargetingVisitors)}}\\n      <IcEmptyState\\n        @icon=\\\"people\\\"\\n        @title=\\\"All visitors who match your rules can receive this message\\\"\\n        data-test-empty-audience={{true}}\\n      >\\n        <div>\\n          <p class=\\\"empty-state__description\\\">\\n            Improve how you target visitors by adding\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://www.intercom.com/help/en/articles/320-tracking-user-data-in-intercom\\\"\\n              @title=\\\"attributes\\\"\\n              @type=\\\"article\\\"\\n              @linkStyling=\\\"inline\\\"\\n            />\\n            and\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://www.intercom.com/help/en/articles/216-track-events-in-intercom\\\"\\n              @title=\\\"events\\\"\\n              @type=\\\"article\\\"\\n              @linkStyling=\\\"inline\\\"\\n            />\\n          </p>\\n        </div>\\n      </IcEmptyState>\\n    {{else if message.isDraftCampaignWithCampaignBehaviorPredicates}}\\n      <IcEmptyState\\n        @icon=\\\"people\\\"\\n        @title=\\\"We can't see your audience yet\\\"\\n        @description=\\\"You've set entry rules based on campaign behavior, so you'll need to set it live to see the audience\\\"\\n        data-test-empty-audience={{true}}\\n      />\\n    {{else if message.isCampaignOrAutoMessage}}\\n      <IcEmptyState\\n        @icon=\\\"people\\\"\\n        @title={{concat\\n          \\\"No \\\"\\n          (format-array-to-sentence message.selectionState.pluralUserTypes 'or')\\n          \\\" match your rules yet\\\"\\n        }}\\n        @description={{concat\\n          \\\"If you set this message live, it will be sent to \\\"\\n          (format-array-to-sentence message.selectionState.pluralUserTypes)\\n          \\\" who match your rules in the future\\\"\\n        }}\\n        data-test-empty-audience={{true}}\\n      />\\n    {{else if message.isManualMessage}}\\n      <IcEmptyState\\n        @icon=\\\"people\\\"\\n        @title={{concat\\n          \\\"No \\\"\\n          (format-array-to-sentence message.selectionState.pluralUserTypes 'or')\\n          \\\" match your rules\\\"\\n        }}\\n        @description=\\\"Try editing or removing rules to expand your audience\\\"\\n        data-test-empty-audience={{true}}\\n      />\\n    {{/if}}\\n  {{else}}\\n    {{#if (or message.isVisitorAutoMessage message.selectionState.isTargetingVisitors)}}\\n      <IcEmptyState\\n        @icon=\\\"people\\\"\\n        @title=\\\"All visitors are in your audience right now\\\"\\n        data-test-empty-audience={{true}}\\n      >\\n        <div>\\n          <p class=\\\"empty-state__description\\\">\\n            Improve how you target visitors by adding\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://www.intercom.com/help/en/articles/320-tracking-user-data-in-intercom\\\"\\n              @title=\\\"attributes\\\"\\n              @type=\\\"article\\\"\\n              @linkStyling=\\\"inline\\\"\\n            />\\n            and\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://www.intercom.com/help/en/articles/216-track-events-in-intercom\\\"\\n              @title=\\\"events\\\"\\n              @type=\\\"article\\\"\\n              @linkStyling=\\\"inline\\\"\\n            />\\n          </p>\\n        </div>\\n      </IcEmptyState>\\n    {{else}}\\n      <IcEmptyState\\n        @icon=\\\"people\\\"\\n        @title=\\\"No rules added yet\\\"\\n        @description=\\\"Add a rule to specify who should get your message\\\"\\n        data-test-empty-audience={{true}}\\n      />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/audience/empty-audience.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/audience/empty-audience.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  appService: service(),\n  classNames: ['layout__box', 'o__flexes-to-1', 'o__centers-all', 'u__pad__40'],\n  predicates: readOnly('message.selectionState.userAddedPredicates'),\n  app: readOnly('appService.app'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-if isMaximized class=\\\"message-editor___expanded-panel__main\\\"}}\\n  {{#if (and this.app.canUseContentOrientedNavigation @message.isNotCampaignMessage)}}\\n    <IcContent class=\\\"pl-6 pt-6\\\">\\n      <Heading @size=\\\"3\\\">How to send this message</Heading>\\n      <div class=\\\"flex flex-row\\\">\\n        <MessageEditor::Audience::SubclassTypeSwitcher\\n          @message={{@message}}\\n          @changeSubclassType={{@tasks.changeSubclassType}}\\n        />\\n      </div>\\n    </IcContent>\\n  {{/if}}\\n\\n  <IcContent class=\\\"pl-6 pt-6\\\">\\n    <Heading @size=\\\"3\\\">Who will receive this message</Heading>\\n    <MessageEditor::Audience::RulesEditor\\n      @message={{message}}\\n      @updateLegacySelectionStatePredicates={{action\\n        \\\"updateSelectionStatePredicates\\\"\\n      }}\\n    />\\n  </IcContent>\\n  <div\\n    class=\\\"layout__box o__has-columns message__editor__audience__main test__audience__main__expanded u__relative\\\"\\n  >\\n    {{#if (and previewIsBeingFetched messageHasAudiencePreview)}}\\n      <div\\n        data-test-audience-loading-overlay\\n        class=\\\"message__editor__audience__pending-search-overlay o__full-width}}\\\"\\n      >\\n        <div class=\\\"u__center-item\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\" />\\n        </div>\\n      </div>\\n    {{/if}}\\n    {{#if (and previewIsBeingFetched messageHasNoAudiencePreviewYet)}}\\n      <div\\n        data-test-empty-audience-loading-state\\n        class=\\\"layout__box o__flexes-to-1 o__centers-all\\\"\\n      >\\n        <IcLoadingIndicator @size=\\\"large\\\" />\\n      </div>\\n    {{else if message.audiencePreview.limited}}\\n      <div class=\\\"layout__box o__flexes-to-1 o__centers-all\\\">\\n        <h2 class=\\\"t__h2 text-red\\\" data-test-limited-audience-warning>\\n          <UserList::SearchLimitAlert />\\n        </h2>\\n      </div>\\n    {{else if message.campaignAudiencePreview.isRunningOrHasSampleUsers}}\\n      <MessageEditor::Audience::CampaignMessageRecipientList\\n        @message={{message}}\\n      />\\n    {{else if message.audiencePreview.hasAudience}}\\n      <MessageEditor::Audience::RecipientList @message={{message}} />\\n    {{else if message.selectionState.hasUntrackedPredicates}}\\n      <MessageEditor::Audience::UntrackedPredicate\\n        @message={{message}}\\n        @classNames=\\\"test__audience__untracked-cda-audience-preview\\\"\\n      />\\n    {{else}}\\n      <MessageEditor::Audience::EmptyAudience\\n        @message={{message}}\\n        @classNames=\\\"test__audience__empty-audience-preview\\\"\\n      />\\n    {{/if}}\\n  </div>\\n{{/liquid-if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-if isMaximized class=\\\"message-editor___expanded-panel__main\\\"}}\\n  {{#if (and this.app.canUseContentOrientedNavigation @message.isNotCampaignMessage)}}\\n    <IcContent class=\\\"pl-6 pt-6\\\">\\n      <Heading @size=\\\"3\\\">How to send this message</Heading>\\n      <div class=\\\"flex flex-row\\\">\\n        <MessageEditor::Audience::SubclassTypeSwitcher\\n          @message={{@message}}\\n          @changeSubclassType={{@tasks.changeSubclassType}}\\n        />\\n      </div>\\n    </IcContent>\\n  {{/if}}\\n\\n  <IcContent class=\\\"pl-6 pt-6\\\">\\n    <Heading @size=\\\"3\\\">Who will receive this message</Heading>\\n    <MessageEditor::Audience::RulesEditor\\n      @message={{message}}\\n      @updateLegacySelectionStatePredicates={{action\\n        \\\"updateSelectionStatePredicates\\\"\\n      }}\\n    />\\n  </IcContent>\\n  <div\\n    class=\\\"layout__box o__has-columns message__editor__audience__main test__audience__main__expanded u__relative\\\"\\n  >\\n    {{#if (and previewIsBeingFetched messageHasAudiencePreview)}}\\n      <div\\n        data-test-audience-loading-overlay\\n        class=\\\"message__editor__audience__pending-search-overlay o__full-width}}\\\"\\n      >\\n        <div class=\\\"u__center-item\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\" />\\n        </div>\\n      </div>\\n    {{/if}}\\n    {{#if (and previewIsBeingFetched messageHasNoAudiencePreviewYet)}}\\n      <div\\n        data-test-empty-audience-loading-state\\n        class=\\\"layout__box o__flexes-to-1 o__centers-all\\\"\\n      >\\n        <IcLoadingIndicator @size=\\\"large\\\" />\\n      </div>\\n    {{else if message.audiencePreview.limited}}\\n      <div class=\\\"layout__box o__flexes-to-1 o__centers-all\\\">\\n        <h2 class=\\\"t__h2 text-red\\\" data-test-limited-audience-warning>\\n          <UserList::SearchLimitAlert />\\n        </h2>\\n      </div>\\n    {{else if message.campaignAudiencePreview.isRunningOrHasSampleUsers}}\\n      <MessageEditor::Audience::CampaignMessageRecipientList\\n        @message={{message}}\\n      />\\n    {{else if message.audiencePreview.hasAudience}}\\n      <MessageEditor::Audience::RecipientList @message={{message}} />\\n    {{else if message.selectionState.hasUntrackedPredicates}}\\n      <MessageEditor::Audience::UntrackedPredicate\\n        @message={{message}}\\n        @classNames=\\\"test__audience__untracked-cda-audience-preview\\\"\\n      />\\n    {{else}}\\n      <MessageEditor::Audience::EmptyAudience\\n        @message={{message}}\\n        @classNames=\\\"test__audience__empty-audience-preview\\\"\\n      />\\n    {{/if}}\\n  </div>\\n{{/liquid-if}}\\n\",\"moduleName\":\"embercom/components/message-editor/audience/main-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/audience/main-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { or, readOnly, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { isEmpty } from '@ember/utils';\nimport { task, timeout } from 'ember-concurrency';\nimport { copy } from 'ember-copy';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\nimport ENV from 'embercom/config/environment';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\nimport NewPredicateGroup from 'predicates/models/predicate-group';\n\nexport default Component.extend({\n  store: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  messageMutationService: service(),\n  fetchAudiencePreview: notImplemented(),\n  shouldFetchAudiencePreview: or(\n    'message.isValidForCampaignAudiencePreviewUpdate',\n    'message.isValidForAudiencePreviewUpdate',\n    'message.audiencePreview',\n  ),\n  previewIsBeingFetched: or(\n    'debouncedFetchPreviewTask.isRunning',\n    'tasks.fetchMessageAudiencePreview.isRunning',\n    'tasks.fetchCampaignMessageAudiencePreview.isRunning',\n  ),\n  messageHasNoAudiencePreviewYet: not('messageHasAudiencePreview'),\n  messageHasAudiencePreview: or('message.audiencePreview', 'message.campaignAudiencePreview.id'),\n  newPredicateGroupFromSelectionState: computed('message.selectionState', function() {\n    return this._createNewPredicateGroupFromSelectionState(this.message.selectionState);\n  }),\n  debouncedFetchPreviewTask: task(function*() {\n    if (!Em.testing) {\n      yield timeout(ENV.APP._3000MS); // Debounce the call to fetch preview on mutation to 3 seconds\n    }\n    this.fetchAudiencePreview();\n  }).restartable(),\n\n  _extractClientPredicates(predicates, predicatesToExtract) {\n    let extractedClientPredicates = [];\n    predicatesToExtract.map(\n      predicateToExtract =>\n        (extractedClientPredicates = extractedClientPredicates.concat(\n          this._extractPredicate(predicates, predicateToExtract),\n        )),\n    );\n    return extractedClientPredicates;\n  },\n\n  _extractPredicate(predicates, predicateToExtract) {\n    let clientPredicates = [];\n    let orTypePredicates = copy(predicates.filterBy('type', 'or'), true);\n\n    if (!isEmpty(orTypePredicates)) {\n      let orPredicates = orTypePredicates\n        .get('firstObject.predicates')\n        .filterBy('attribute', predicateToExtract);\n      if (!isEmpty(orPredicates)) {\n        orTypePredicates.set('firstObject.predicates', orPredicates);\n        clientPredicates = orTypePredicates;\n      }\n    } else {\n      clientPredicates = predicates.filterBy('attribute', predicateToExtract);\n    }\n    if (predicateToExtract === 'last_visited_url') {\n      clientPredicates = this._renamePageTargetPredicate(clientPredicates);\n    }\n    return clientPredicates;\n  },\n\n  _renamePageTargetPredicate(pageTargetPredicates) {\n    let orTypePredicates = copy(pageTargetPredicates.filterBy('type', 'or'), true);\n\n    if (!isEmpty(orTypePredicates)) {\n      let orPredicates = orTypePredicates.get('firstObject.predicates');\n      orPredicates = this._useClientAttributesPrefix(orPredicates);\n      if (!isEmpty(orPredicates)) {\n        orTypePredicates.set('firstObject.predicates', orPredicates);\n        pageTargetPredicates = orTypePredicates;\n      }\n    } else {\n      pageTargetPredicates = this._useClientAttributesPrefix(pageTargetPredicates);\n    }\n    return pageTargetPredicates;\n  },\n\n  _useClientAttributesPrefix(pageTargetPredicates) {\n    return pageTargetPredicates.map(predicate => {\n      return {\n        attribute: 'client_attributes.last_visited_url',\n        comparison: predicate['comparison'],\n        type: predicate['type'],\n        value: predicate['value'],\n      };\n    });\n  },\n\n  _createNewPredicateGroupFromSelectionState(selectionState) {\n    let predicates = NewPredicateGroup.convertRawPredicates(\n      this.store,\n      selectionState.predicates.serialize(),\n    );\n    return this.store.createFragment('predicates/predicate-group', { predicates });\n  },\n  actions: {\n    updateLegacySelectionStatePredicates(predicates) {\n      let legacyPredicates = predicates.map(p =>\n        this.store.createFragment('common/predicate', p.serialize()),\n      );\n      this.send('updateSelectionStatePredicates', legacyPredicates);\n    },\n    updateSelectionStatePredicates(predicates, contextMethod) {\n      let context = {\n        location: Object.getPrototypeOf(this)._debugContainerKey,\n        method: contextMethod,\n      };\n      let mutations = [];\n      let predicatesMutation = {\n        command: MUTATIONS.setValue,\n        key: 'selectionState.predicates',\n        data: predicates,\n        context,\n      };\n      mutations.push(predicatesMutation);\n\n      this.messageMutationService.performMutations(this.message, mutations);\n\n      if (this.shouldFetchAudiencePreview) {\n        this.debouncedFetchPreviewTask.perform();\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showJoinType}}\\n  <span class=\\\"message__editor__audience__predicate-boolean t__light-text\\\">\\n    {{message.selectionState.clientPredicatesPageTargetJoinType}}\\n  </span>\\n{{/if}}\\n{{#if showIconAndPrefix}}{{ic-interface-icon 'crosshair' color='gray'}} {{prefix}}{{/if}} {{description}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showJoinType}}\\n  <span class=\\\"message__editor__audience__predicate-boolean t__light-text\\\">\\n    {{message.selectionState.clientPredicatesPageTargetJoinType}}\\n  </span>\\n{{/if}}\\n{{#if showIconAndPrefix}}{{ic-interface-icon 'crosshair' color='gray'}} {{prefix}}{{/if}} {{description}}\\n\",\"moduleName\":\"embercom/components/message-editor/audience/page-target-summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/audience/page-target-summary.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { readOnly, gt } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport FiltersToText from 'embercom/lib/filters-to-text';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  tagName: 'span',\n  classNames: ['message__editor__delivery-conditions__page-target-summary'],\n\n  showJoinType: false,\n  showIcon: false,\n\n  hasMultiplePredicates: gt('message.selectionState.pageTargetPredicates.length', 1),\n  prefix: ternary(\n    'hasMultiplePredicates',\n    'Deliver this message on pages where the URL',\n    'Deliver this message on the page where the URL',\n  ),\n\n  description: computed('predicate.{comparison,value}', function() {\n    let predicate = this.predicate;\n    return ` ${this._getComparison(\n      predicate.get('comparison'),\n    )} ${FiltersToText.getValue(predicate)}`;\n  }),\n\n  _getComparison(comparison) {\n    switch (comparison) {\n      case 'eq':\n        return 'is';\n      case 'ne':\n        return 'is not';\n      case 'starts_with':\n        return 'starts with';\n      case 'ends_with':\n        return 'ends with';\n      case 'contains':\n        return 'contains';\n      case 'not_contains':\n        return 'does not contain';\n      case 'regex':\n        return 'matches the regular expression';\n      case 'unknown':\n        return 'is unknown';\n      case 'known':\n        return 'has any value';\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#each @predicates as |predicate index|}}\\n  {{#if predicate.isLogicalType}}\\n    {{#if (not-eq index 0)}}\\n      <span\\n        data-test-predicate-summary-rule-mode\\n        class=\\\"message__editor__audience__predicate-boolean t__light-text\\\"\\n      >\\n        {{@ruleMode}}\\n      </span>\\n    {{/if}}\\n    <MessageEditor::Audience::PredicateGroupSummary\\n      @predicates={{predicate.predicates}}\\n      @ruleMode={{predicate.type}}\\n      @message={{@message}}\\n    />\\n  {{else}}\\n    <MessageEditor::Audience::PredicateSummary\\n      @showRule={{not-eq index 0}}\\n      @ruleMode={{@ruleMode}}\\n      @predicate={{predicate}}\\n      @message={{@message}}\\n    />\\n  {{/if}}\\n{{/each}}\\n\", {\"contents\":\"{{#each @predicates as |predicate index|}}\\n  {{#if predicate.isLogicalType}}\\n    {{#if (not-eq index 0)}}\\n      <span\\n        data-test-predicate-summary-rule-mode\\n        class=\\\"message__editor__audience__predicate-boolean t__light-text\\\"\\n      >\\n        {{@ruleMode}}\\n      </span>\\n    {{/if}}\\n    <MessageEditor::Audience::PredicateGroupSummary\\n      @predicates={{predicate.predicates}}\\n      @ruleMode={{predicate.type}}\\n      @message={{@message}}\\n    />\\n  {{else}}\\n    <MessageEditor::Audience::PredicateSummary\\n      @showRule={{not-eq index 0}}\\n      @ruleMode={{@ruleMode}}\\n      @predicate={{predicate}}\\n      @message={{@message}}\\n    />\\n  {{/if}}\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/message-editor/audience/predicate-group-summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/audience/predicate-group-summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport IntercomSelectComponent from 'embercom/components/intercom-select-component';\n\nexport default IntercomSelectComponent.extend({\n  layoutName: 'components/intercom-select-component',\n  classNames: ['test__predicate-join-type-dropdown'],\n  large: true,\n  dropdownMinWidth: 250,\n  content: [\n    { value: 'and', label: 'matching all of these rules' },\n    { value: 'or', label: 'matching any of these rules' },\n  ],\n  discreetMode: true,\n  optionLabelPath: 'label',\n  optionValuePath: 'value',\n  handleSelectionExternally: true,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showRule}}<span data-test-predicate-summary-rule-mode class=\\\"message__editor__audience__predicate-boolean t__light-text\\\">{{ruleMode}}</span>{{/if}}\\n{{#if predicateDescription.icon}}{{ic-interface-icon predicateDescription.icon color='gray'}}{{/if}} {{simple-capitalize predicateDescription.text}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showRule}}<span data-test-predicate-summary-rule-mode class=\\\"message__editor__audience__predicate-boolean t__light-text\\\">{{ruleMode}}</span>{{/if}}\\n{{#if predicateDescription.icon}}{{ic-interface-icon predicateDescription.icon color='gray'}}{{/if}} {{simple-capitalize predicateDescription.text}}\\n\",\"moduleName\":\"embercom/components/message-editor/audience/predicate-summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/audience/predicate-summary.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  tagName: 'span',\n  classNames: ['message__editor__audience__predicate'],\n  'data-test-predicate-summary': true,\n\n  message: notImplemented(),\n  predicate: notImplemented(),\n\n  predicateDescription: computed(\n    'predicate',\n    'predicate.isCampaignBehaviorType',\n    'message',\n    'message.campaign',\n    'message.campaign.isLoaded',\n    'predicate.attribute',\n    'predicate.comparison',\n    'predicate.type',\n    'predicate.value',\n    function() {\n      this.get('message.campaign.isLoaded'); // Required to set up the observer correctly\n      // predicateDescription needs to observe everything that predicate.description observes. We can't observe predicate.description itself as it's not used in this component so the observer doesn't work correctly -LC\n      let context = {};\n      if (this.get('predicate.isCampaignBehaviorType')) {\n        Object.assign(context, {\n          campaignId: this.get('message.campaign.id'),\n          messageId: this.get('message.id'),\n        });\n      }\n      return this.predicate.getDescription(context);\n    },\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcFilterBlock\\n  @isOneLine={{true}}\\n  @name=\\\"Users\\\"\\n  @icon=\\\"multiple-people\\\"\\n  class=\\\"u__left u__mr__15 o__static\\\"\\n  data-test-disabled-user-selector={{true}}\\n  {{tooltip content=\\\"You cannot switch from users if your message is delivered by push.\\\"}}\\n/>\\n<UsersAndCompanies::RulesEditor\\n  @predicateGroup={{@predicateGroup}}\\n  @showUserData={{true}}\\n  @showUserSwitcher={{false}}\\n  @onUpdate={{@onUpdate}} as |editor|\\n>\\n  <editor.attributePickerOpener @label=\\\"Add rule\\\" />\\n</UsersAndCompanies::RulesEditor>\\n{{yield}}\\n\", {\"contents\":\"<IcFilterBlock\\n  @isOneLine={{true}}\\n  @name=\\\"Users\\\"\\n  @icon=\\\"multiple-people\\\"\\n  class=\\\"u__left u__mr__15 o__static\\\"\\n  data-test-disabled-user-selector={{true}}\\n  {{tooltip content=\\\"You cannot switch from users if your message is delivered by push.\\\"}}\\n/>\\n<UsersAndCompanies::RulesEditor\\n  @predicateGroup={{@predicateGroup}}\\n  @showUserData={{true}}\\n  @showUserSwitcher={{false}}\\n  @onUpdate={{@onUpdate}} as |editor|\\n>\\n  <editor.attributePickerOpener @label=\\\"Add rule\\\" />\\n</UsersAndCompanies::RulesEditor>\\n{{yield}}\\n\",\"moduleName\":\"embercom/components/message-editor/audience/push-rules-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/audience/push-rules-editor.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table class=\\\"tbl o__fit o__fixed keyboard_accessible\\\">\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <thead>\\n    <tr>\\n      <th class=\\\"tbl__cell t__label name o__fixed-header\\\">\\n        <span class=\\\"tbl__fixed-header__text u__prevent-breaks\\\">\\n          Name\\n        </span>\\n      </th>\\n      {{#each attributeService.displayedUserAttributes as |displayedAttribute|}}\\n        <th\\n          class=\\\"tbl__cell t__label o__fixed-header {{displayedAttribute.attribute.identifier}}\\\"\\n        >\\n          <span class=\\\"tbl__header-width-el\\\">\\n            {{ic-interface-icon displayedAttribute.attribute.icon}}\\n            {{displayedAttribute.attribute.name}}\\n            {{#if displayedAttribute.userAttributeSetting.isSorted}}\\n              {{sort-icon-pattern descending=displayedAttribute.userAttributeSetting.isSortedDescending}}\\n            {{/if}}\\n          </span>\\n          <span class=\\\"tbl__fixed-header__text u__prevent-breaks\\\">\\n            <People::AttributeAndEventDescriptionTooltip\\n              @attribute={{displayedAttribute.attribute}}\\n              @hideIcon={{true}}\\n            />\\n            {{#if displayedAttribute.userAttributeSetting.isSorted}}\\n              {{sort-icon-pattern descending=displayedAttribute.userAttributeSetting.isSortedDescending}}\\n            {{/if}}\\n          </span>\\n        </th>\\n      {{/each}}\\n    </tr>\\n  </thead>\\n  <tbody class=\\\"tbl__body\\\">\\n    {{yield}}\\n    {{#each users as |recipient index|}}\\n      <tr data-test-recipient-list-table-row={{index}}>\\n        <td class=\\\"tbl__cell\\\">\\n          <span class=\\\"avatar__container o__s\\\">\\n            <a\\n              href=\\\"{{href-to\\n                  \\\"apps.app.users.user.all-conversations\\\"\\n                  recipient.userId\\n                }}\\\"\\n              class=\\\"u__all-pointer-events t__solo-link\\\"\\n            >\\n              {{ic-avatar direct=recipient.avatarData size=\\\"s\\\" contained=true\\n              }} {{recipient.displayAs}}\\n            </a>\\n          </span>\\n          {{#if recipient.user.mostRecentCompany}}\\n            <span class=\\\"user-list__at-company\\\">\\n              at\\n            </span>\\n            <span class=\\\"user-list__users-companies\\\">\\n              <UsersCompaniesWithIconPattern\\n                @user={{recipient.user}}\\n                @othersWrapperClass=\\\"text-gray\\\"\\n              />\\n            </span>\\n          {{/if}}\\n        </td>\\n        {{#each attributeService.displayedUserAttributes as |displayableAttribute|}}\\n          <Users::Table::Cell\\n            @user={{recipient.user}}\\n            @attribute={{displayableAttribute.attribute}}\\n            @isCompany={{false}}\\n            @renderCellTag={{true}}\\n          />\\n        {{/each}}\\n      </tr>\\n    {{/each}}\\n  </tbody>\\n</table>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table class=\\\"tbl o__fit o__fixed keyboard_accessible\\\">\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <thead>\\n    <tr>\\n      <th class=\\\"tbl__cell t__label name o__fixed-header\\\">\\n        <span class=\\\"tbl__fixed-header__text u__prevent-breaks\\\">\\n          Name\\n        </span>\\n      </th>\\n      {{#each attributeService.displayedUserAttributes as |displayedAttribute|}}\\n        <th\\n          class=\\\"tbl__cell t__label o__fixed-header {{displayedAttribute.attribute.identifier}}\\\"\\n        >\\n          <span class=\\\"tbl__header-width-el\\\">\\n            {{ic-interface-icon displayedAttribute.attribute.icon}}\\n            {{displayedAttribute.attribute.name}}\\n            {{#if displayedAttribute.userAttributeSetting.isSorted}}\\n              {{sort-icon-pattern descending=displayedAttribute.userAttributeSetting.isSortedDescending}}\\n            {{/if}}\\n          </span>\\n          <span class=\\\"tbl__fixed-header__text u__prevent-breaks\\\">\\n            <People::AttributeAndEventDescriptionTooltip\\n              @attribute={{displayedAttribute.attribute}}\\n              @hideIcon={{true}}\\n            />\\n            {{#if displayedAttribute.userAttributeSetting.isSorted}}\\n              {{sort-icon-pattern descending=displayedAttribute.userAttributeSetting.isSortedDescending}}\\n            {{/if}}\\n          </span>\\n        </th>\\n      {{/each}}\\n    </tr>\\n  </thead>\\n  <tbody class=\\\"tbl__body\\\">\\n    {{yield}}\\n    {{#each users as |recipient index|}}\\n      <tr data-test-recipient-list-table-row={{index}}>\\n        <td class=\\\"tbl__cell\\\">\\n          <span class=\\\"avatar__container o__s\\\">\\n            <a\\n              href=\\\"{{href-to\\n                  \\\"apps.app.users.user.all-conversations\\\"\\n                  recipient.userId\\n                }}\\\"\\n              class=\\\"u__all-pointer-events t__solo-link\\\"\\n            >\\n              {{ic-avatar direct=recipient.avatarData size=\\\"s\\\" contained=true\\n              }} {{recipient.displayAs}}\\n            </a>\\n          </span>\\n          {{#if recipient.user.mostRecentCompany}}\\n            <span class=\\\"user-list__at-company\\\">\\n              at\\n            </span>\\n            <span class=\\\"user-list__users-companies\\\">\\n              <UsersCompaniesWithIconPattern\\n                @user={{recipient.user}}\\n                @othersWrapperClass=\\\"text-gray\\\"\\n              />\\n            </span>\\n          {{/if}}\\n        </td>\\n        {{#each attributeService.displayedUserAttributes as |displayableAttribute|}}\\n          <Users::Table::Cell\\n            @user={{recipient.user}}\\n            @attribute={{displayableAttribute.attribute}}\\n            @isCompany={{false}}\\n            @renderCellTag={{true}}\\n          />\\n        {{/each}}\\n      </tr>\\n    {{/each}}\\n  </tbody>\\n</table>\\n\",\"moduleName\":\"embercom/components/message-editor/audience/recipient-list-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/audience/recipient-list-table.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  classNames: ['tbl__fixed__portal'],\n  attributeService: service(),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__pad__20\\\">\\n  <h1 class=\\\"t__h1 test__audience-editor__count-description\\\">\\n    {{#if\\n      (and\\n        (or message.isManualMessage message.isAutoMessage)\\n        message.selectionState.hasNoUserAddedPredicates\\n      )\\n    }}\\n      All {{number-formatter-helper audienceCount}} {{audienceString}} {{inflector-helper \\\"is\\\" audienceCount}} in your audience right now\\n    {{else}}\\n      {{number-formatter-helper audienceCount}} {{audienceString}} {{inflector-helper \\\"matches\\\" audienceCount}} your rules for this message\\n    {{/if}}\\n  </h1>\\n  {{#unless message.isManualMessage}}\\n    <span class=\\\"t__h1-associated-text\\\">\\n      If you set this message live, it will also be sent to {{format-array-to-sentence message.selectionState.pluralUserTypes}} who match your rules in the future\\n      {{#unless message.isUsingCompanyAttributesInContents}}\\n        <IcTooltipIcon\\n          @isInteractive={{true}}\\n          data-test-message-selection-audience-tooltip\\n        >\\n          <span data-test-message-selection-audience-tooltip-content>\\n            The people below currently match the rules you added.\\n            {{#if this.message.isStopped}}\\n              Some or all of them may have received your message when it was live.\\n            {{else if this.message.isLive}}\\n              Because this message is live, some or all of them may have received it.\\n            {{/if}}\\n          </span>\\n        </IcTooltipIcon>\\n      {{/unless}}\\n    </span>\\n  {{/unless}}\\n</div>\\n<div class=\\\"tbl__fixed__wrapper u__mt__0\\\">\\n  <MessageEditor::Audience::RecipientListTable\\n    @users={{message.audiencePreview.users}}\\n  />\\n  {{#if (gt audienceCount message.audiencePreview.users.length)}}\\n    <div class=\\\"t__light-text u__pad__20 test__and-other-users\\\">\\n      And {{number-formatter-helper (sub audienceCount message.audiencePreview.users.length)}} {{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes)}} like this\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__pad__20\\\">\\n  <h1 class=\\\"t__h1 test__audience-editor__count-description\\\">\\n    {{#if\\n      (and\\n        (or message.isManualMessage message.isAutoMessage)\\n        message.selectionState.hasNoUserAddedPredicates\\n      )\\n    }}\\n      All {{number-formatter-helper audienceCount}} {{audienceString}} {{inflector-helper \\\"is\\\" audienceCount}} in your audience right now\\n    {{else}}\\n      {{number-formatter-helper audienceCount}} {{audienceString}} {{inflector-helper \\\"matches\\\" audienceCount}} your rules for this message\\n    {{/if}}\\n  </h1>\\n  {{#unless message.isManualMessage}}\\n    <span class=\\\"t__h1-associated-text\\\">\\n      If you set this message live, it will also be sent to {{format-array-to-sentence message.selectionState.pluralUserTypes}} who match your rules in the future\\n      {{#unless message.isUsingCompanyAttributesInContents}}\\n        <IcTooltipIcon\\n          @isInteractive={{true}}\\n          data-test-message-selection-audience-tooltip\\n        >\\n          <span data-test-message-selection-audience-tooltip-content>\\n            The people below currently match the rules you added.\\n            {{#if this.message.isStopped}}\\n              Some or all of them may have received your message when it was live.\\n            {{else if this.message.isLive}}\\n              Because this message is live, some or all of them may have received it.\\n            {{/if}}\\n          </span>\\n        </IcTooltipIcon>\\n      {{/unless}}\\n    </span>\\n  {{/unless}}\\n</div>\\n<div class=\\\"tbl__fixed__wrapper u__mt__0\\\">\\n  <MessageEditor::Audience::RecipientListTable\\n    @users={{message.audiencePreview.users}}\\n  />\\n  {{#if (gt audienceCount message.audiencePreview.users.length)}}\\n    <div class=\\\"t__light-text u__pad__20 test__and-other-users\\\">\\n      And {{number-formatter-helper (sub audienceCount message.audiencePreview.users.length)}} {{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes)}} like this\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/audience/recipient-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/audience/recipient-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport toSentence from 'embercom/lib/to-sentence';\nimport inflector from 'embercom/lib/inflector';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  classNames: ['layout__box', 'o__flexes-to-1'],\n  audienceCount: readOnly('message.audiencePreview.count'),\n  visitorsString: ternary(\n    'message.selectionState.hasNoUserAddedPredicates',\n    ', and all visitors',\n    ', and some visitors',\n  ),\n  audienceString: computed('message.selectionState.userTypes', function() {\n    let audience = toSentence(\n      this.get('message.selectionState.userTypes')\n        .filter(type => type !== 'visitor')\n        .map(word => inflector(word, this.audienceCount)),\n    );\n    if (this.get('message.selectionState.userTypes').indexOf('visitor') > -1) {\n      return audience.concat(this.visitorsString);\n    }\n    return audience;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-rows u__mt__20 u__mr__20\\\">\\n  <div>\\n    {{#if (and message.app.canUseImprovedDeliverability message.isEmail)}}\\n      <MessageEditor::Audience::DisengagedUserSwitcher\\n        @app={{message.app}}\\n        @predicateGroup={{newPredicateGroupFromSelectionState}}\\n        @onUpdate={{action \\\"onUpdate\\\"}}\\n        data-test-disengaged-user-switcher={{true}}\\n      />\\n    {{/if}}\\n    {{#if message.isCampaignMessage}}\\n      <MessageEditor::Audience::CampaignRulesEditor\\n        @message={{message}}\\n        @predicateGroup={{newPredicateGroupFromSelectionState}}\\n        @onUpdate={{action \\\"onUpdate\\\"}}\\n      />\\n    {{else if message.isVisitorAutoMessage}}\\n      <MessageEditor::Audience::VamRulesEditor\\n        @predicateGroup={{newPredicateGroupFromSelectionState}}\\n        @onUpdate={{action \\\"onUpdate\\\"}}\\n      />\\n    {{else if message.isMobilePush}}\\n      <MessageEditor::Audience::PushRulesEditor\\n        @predicateGroup={{newPredicateGroupFromSelectionState}}\\n        @onUpdate={{action \\\"onUpdate\\\"}}\\n      />\\n    {{else}}\\n      {{#if app.canUseContentOrientedNavigation}}\\n        <MatchingSystem::AudienceSelector::UserRoleMultiSelector\\n          @optionsToDisplay={{userSwitcherOptions}}\\n          @selected={{selectedPeopleTypes}}\\n          @onSelect={{action \\\"switchUserType\\\"}}\\n          @isMobileFirstMessage={{message.isMobileFirst}}\\n          @hasPushNotification={{message.sendPushNotification}}\\n          class=\\\"u__left u__mr__15\\\"\\n        />\\n      {{/if}}\\n      {{#if showStaticEmailPredicate}}\\n        <IcFilterBlock\\n          @name=\\\"Email is unknown\\\"\\n          @icon=\\\"email\\\"\\n          @isOneLine={{true}}\\n          class=\\\"u__left u__mr__15 o__static\\\"\\n          data-test-static-email-predicate\\n        />\\n      {{/if}}\\n      <UsersAndCompanies::RulesEditor\\n        @predicateGroup={{newPredicateGroupFromSelectionState}}\\n        @invalidAttributes={{invalidAttributes}}\\n        @showUserData={{true}}\\n        @showUserSwitcher={{not app.canUseContentOrientedNavigation}}\\n        @onUpdate={{action \\\"onUpdate\\\"}} as |editor|\\n      >\\n        <editor.attributePickerOpener @label=\\\"Add rule\\\" />\\n      </UsersAndCompanies::RulesEditor>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-rows u__mt__20 u__mr__20\\\">\\n  <div>\\n    {{#if (and message.app.canUseImprovedDeliverability message.isEmail)}}\\n      <MessageEditor::Audience::DisengagedUserSwitcher\\n        @app={{message.app}}\\n        @predicateGroup={{newPredicateGroupFromSelectionState}}\\n        @onUpdate={{action \\\"onUpdate\\\"}}\\n        data-test-disengaged-user-switcher={{true}}\\n      />\\n    {{/if}}\\n    {{#if message.isCampaignMessage}}\\n      <MessageEditor::Audience::CampaignRulesEditor\\n        @message={{message}}\\n        @predicateGroup={{newPredicateGroupFromSelectionState}}\\n        @onUpdate={{action \\\"onUpdate\\\"}}\\n      />\\n    {{else if message.isVisitorAutoMessage}}\\n      <MessageEditor::Audience::VamRulesEditor\\n        @predicateGroup={{newPredicateGroupFromSelectionState}}\\n        @onUpdate={{action \\\"onUpdate\\\"}}\\n      />\\n    {{else if message.isMobilePush}}\\n      <MessageEditor::Audience::PushRulesEditor\\n        @predicateGroup={{newPredicateGroupFromSelectionState}}\\n        @onUpdate={{action \\\"onUpdate\\\"}}\\n      />\\n    {{else}}\\n      {{#if app.canUseContentOrientedNavigation}}\\n        <MatchingSystem::AudienceSelector::UserRoleMultiSelector\\n          @optionsToDisplay={{userSwitcherOptions}}\\n          @selected={{selectedPeopleTypes}}\\n          @onSelect={{action \\\"switchUserType\\\"}}\\n          @isMobileFirstMessage={{message.isMobileFirst}}\\n          @hasPushNotification={{message.sendPushNotification}}\\n          class=\\\"u__left u__mr__15\\\"\\n        />\\n      {{/if}}\\n      {{#if showStaticEmailPredicate}}\\n        <IcFilterBlock\\n          @name=\\\"Email is unknown\\\"\\n          @icon=\\\"email\\\"\\n          @isOneLine={{true}}\\n          class=\\\"u__left u__mr__15 o__static\\\"\\n          data-test-static-email-predicate\\n        />\\n      {{/if}}\\n      <UsersAndCompanies::RulesEditor\\n        @predicateGroup={{newPredicateGroupFromSelectionState}}\\n        @invalidAttributes={{invalidAttributes}}\\n        @showUserData={{true}}\\n        @showUserSwitcher={{not app.canUseContentOrientedNavigation}}\\n        @onUpdate={{action \\\"onUpdate\\\"}} as |editor|\\n      >\\n        <editor.attributePickerOpener @label=\\\"Add rule\\\" />\\n      </UsersAndCompanies::RulesEditor>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/audience/rules-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/audience/rules-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport NewPredicateGroup from 'predicates/models/predicate-group';\nimport { and, readOnly } from '@ember/object/computed';\nimport { isBlank } from '@ember/utils';\n\nconst ROLE_TO_USERTYPE_LIST_MAP = {\n  user: ['user'],\n  lead: ['lead'],\n  visitor: ['visitor'],\n  non_user: ['lead', 'visitor'],\n  non_lead: ['user', 'visitor'],\n  non_visitor: ['lead', 'user'],\n  everyone: ['lead', 'user', 'visitor'],\n};\n\nexport default Component.extend({\n  store: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  showStaticEmailPredicate: and(\n    'message.isAttributeCollectorReply',\n    'app.canUseContentOrientedNavigation',\n  ),\n  invalidAttributes: computed('showStaticEmailPredicate', function() {\n    if (this.showStaticEmailPredicate) {\n      return ['email'];\n    }\n    return [];\n  }),\n  userSwitcherOptions: computed('message.isEmail', 'message.isManualMessage', function() {\n    let validUserTypes = ['user', 'lead'];\n    if (!this.message.isEmail && !this.message.isManualMessage) {\n      validUserTypes.push('visitor');\n    }\n    return validUserTypes;\n  }),\n  selectedPeopleTypes: computed(\n    'newPredicateGroupFromSelectionState.userPredicate.userType',\n    function() {\n      return ROLE_TO_USERTYPE_LIST_MAP[\n        this.get('newPredicateGroupFromSelectionState.userPredicate.userType')\n      ];\n    },\n  ),\n  newPredicateGroupFromSelectionState: computed('message.selectionState', function() {\n    return this._createNewPredicateGroupFromSelectionState(this.message.selectionState);\n  }),\n  _createNewPredicateGroupFromSelectionState(selectionState) {\n    let predicates = NewPredicateGroup.convertRawPredicates(\n      this.store,\n      selectionState.predicates.serialize(),\n    );\n    return this.store.createFragment('predicates/predicate-group', { predicates });\n  },\n  _convertListOfUserTypesToSingleRole(userTypes) {\n    return Object.keys(ROLE_TO_USERTYPE_LIST_MAP).find(key => {\n      return _.isEqual(ROLE_TO_USERTYPE_LIST_MAP[key], userTypes.sort());\n    });\n  },\n  actions: {\n    onUpdate(predicates) {\n      let legacyPredicates = predicates.map(p =>\n        this.store.createFragment('common/predicate', p.serialize()),\n      );\n      this.updateLegacySelectionStatePredicates(legacyPredicates);\n    },\n\n    switchUserType(userTypes) {\n      if (this.isDestroying) {\n        return;\n      }\n      if (isBlank(userTypes)) {\n        return;\n      }\n      let role = this._convertListOfUserTypesToSingleRole(userTypes);\n      this.newPredicateGroupFromSelectionState.switchUserType(role);\n      this.send('onUpdate', this.newPredicateGroupFromSelectionState.predicates);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if message.recipients}}\\n  {{#each message.recipients as |recipient|}}\\n    <div\\n      class=\\\"avatar__container o__s content-editor__sample-user test__message-editor__sample-recipient-with-avatar\\\"\\n    >\\n      <IcAvatarComponent @model={{recipient}} @contained={{true}} @size=\\\"s\\\" />\\n      <LinkTo\\n        @route=\\\"apps.app.users.user.all-conversations\\\"\\n        @model={{recipient.userId}}\\n      >\\n        {{recipient.displayAs}}\\n      </LinkTo>\\n    </div>\\n  {{/each}}\\n  {{#if remainingUserCount}}\\n    <span class=\\\"text-black\\\">\\n      and\\n    </span>\\n    <LinkTo\\n      @route=\\\"apps.app.outbound.message\\\"\\n      @model={{message}}\\n      @query={{hash viewing=audienceViewParam version=\\\"a\\\"}}\\n    >\\n      <span class=\\\"test__message-editor__sample-recipient-with-remaining-count\\\">\\n        {{remainingUserCount}}\\n      </span>\\n      other {{inflector-helper message.userTypeLabel remainingUserCount}}\\n    </LinkTo>\\n  {{/if}}\\n{{else}}\\n  <span class=\\\"test__message-editor__sample-recipient-no-sample-recipients\\\">\\n    {{remainingUserCount}} {{inflector-helper message.userTypeLabel remainingUserCount}}\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if message.recipients}}\\n  {{#each message.recipients as |recipient|}}\\n    <div\\n      class=\\\"avatar__container o__s content-editor__sample-user test__message-editor__sample-recipient-with-avatar\\\"\\n    >\\n      <IcAvatarComponent @model={{recipient}} @contained={{true}} @size=\\\"s\\\" />\\n      <LinkTo\\n        @route=\\\"apps.app.users.user.all-conversations\\\"\\n        @model={{recipient.userId}}\\n      >\\n        {{recipient.displayAs}}\\n      </LinkTo>\\n    </div>\\n  {{/each}}\\n  {{#if remainingUserCount}}\\n    <span class=\\\"text-black\\\">\\n      and\\n    </span>\\n    <LinkTo\\n      @route=\\\"apps.app.outbound.message\\\"\\n      @model={{message}}\\n      @query={{hash viewing=audienceViewParam version=\\\"a\\\"}}\\n    >\\n      <span class=\\\"test__message-editor__sample-recipient-with-remaining-count\\\">\\n        {{remainingUserCount}}\\n      </span>\\n      other {{inflector-helper message.userTypeLabel remainingUserCount}}\\n    </LinkTo>\\n  {{/if}}\\n{{else}}\\n  <span class=\\\"test__message-editor__sample-recipient-no-sample-recipients\\\">\\n    {{remainingUserCount}} {{inflector-helper message.userTypeLabel remainingUserCount}}\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/audience/sample-recipients.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/audience/sample-recipients.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { gt } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { subtractProperties } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  remainingUserCount: subtractProperties('message.recipientCount', 'message.recipients.length'),\n  hasRemainingCount: gt('remainingUserCount', 0),\n  audienceViewParam: 'pending',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div>\\n  {{#if message.selectionState.hasPredicates}}\\n    {{#unless message.isVisitorAutoMessage}}\\n      <span\\n        class=\\\"message__editor__audience__predicate test__message-editor__user-type\\\"\\n      >\\n        {{ic-interface-icon \\\"person\\\" color=\\\"gray\\\"}}\\n        {{format-array-to-sentence (capitalize-array message.selectionState.pluralUserTypes)}}\\n      </span>\\n    {{/unless}}\\n    {{#if message.isCampaignMessage}}\\n      <span\\n        class=\\\"message__editor__audience__predicate test__message-editor__campaign-membership\\\"\\n      >\\n        {{ic-interface-icon \\\"campaign\\\" color=\\\"gray\\\"}}\\n        In campaign {{message.campaign.title}}\\n      </span>\\n    {{/if}}\\n    <span data-test-message-predicate-summary>\\n      <MessageEditor::Audience::PredicateGroupSummary\\n        @predicates={{message.selectionState.predicatesForSummary}}\\n        @ruleMode={{if message.selectionState.isOrMode \\\"or\\\" \\\"and\\\"}}\\n        @message={{message}}\\n      />\\n      {{#each message.clientData.examplePredicates as |examplePredicate|}}\\n        <span\\n          class=\\\"message__editor__audience__predicate test__message-editor__example-predicate\\\"\\n        >\\n          {{ic-interface-icon \\\"transfer\\\" color=\\\"gray\\\"}} {{capitalize examplePredicate.title}} {{examplePredicate.description}}\\n        </span>\\n      {{/each}}\\n    </span>\\n  {{else}}\\n    {{noDescriptionsText}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div>\\n  {{#if message.selectionState.hasPredicates}}\\n    {{#unless message.isVisitorAutoMessage}}\\n      <span\\n        class=\\\"message__editor__audience__predicate test__message-editor__user-type\\\"\\n      >\\n        {{ic-interface-icon \\\"person\\\" color=\\\"gray\\\"}}\\n        {{format-array-to-sentence (capitalize-array message.selectionState.pluralUserTypes)}}\\n      </span>\\n    {{/unless}}\\n    {{#if message.isCampaignMessage}}\\n      <span\\n        class=\\\"message__editor__audience__predicate test__message-editor__campaign-membership\\\"\\n      >\\n        {{ic-interface-icon \\\"campaign\\\" color=\\\"gray\\\"}}\\n        In campaign {{message.campaign.title}}\\n      </span>\\n    {{/if}}\\n    <span data-test-message-predicate-summary>\\n      <MessageEditor::Audience::PredicateGroupSummary\\n        @predicates={{message.selectionState.predicatesForSummary}}\\n        @ruleMode={{if message.selectionState.isOrMode \\\"or\\\" \\\"and\\\"}}\\n        @message={{message}}\\n      />\\n      {{#each message.clientData.examplePredicates as |examplePredicate|}}\\n        <span\\n          class=\\\"message__editor__audience__predicate test__message-editor__example-predicate\\\"\\n        >\\n          {{ic-interface-icon \\\"transfer\\\" color=\\\"gray\\\"}} {{capitalize examplePredicate.title}} {{examplePredicate.description}}\\n        </span>\\n      {{/each}}\\n    </span>\\n  {{else}}\\n    {{noDescriptionsText}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/audience/selection-state.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/audience/selection-state.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport DescriptionComponent from 'embercom/components/predicates/description-component';\n\nexport default DescriptionComponent.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<PulseCandidate::VerticalRadioButtonGroup\\n    @disabled={{or @message.isNotDraft @message.selectionState.audienceIncludesVisitors @message.hasMultipleVariations @message.hasControlGroup}}\\n    @disabledTooltip={{this.disabledTooltipMessage}}\\n    @selected={{this.messageSubclassType}}\\n    data-intercom-target=\\\"Outbound Home match behavior selector\\\"\\n    as |group|\\n>\\n  <group.Button\\n    @icon=\\\"auto-message\\\"\\n    @label=\\\"Ongoing\\\"\\n    @description=\\\"Keep sending to people who match your rules in the future\\\"\\n    @value=\\\"auto\\\"\\n    @onclick={{action \\\"setSubclassType\\\" \\\"AutoMessage\\\"}}\\n  />\\n  <group.Button\\n    @icon=\\\"multiple-people\\\"\\n    @label=\\\"One-off\\\"\\n    @description=\\\"Only send to people who match your rules right now\\\"\\n    @value=\\\"manual\\\"\\n    @onclick={{action \\\"setSubclassType\\\" \\\"ManualMessage\\\"}}\\n  />\\n</PulseCandidate::VerticalRadioButtonGroup>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<PulseCandidate::VerticalRadioButtonGroup\\n    @disabled={{or @message.isNotDraft @message.selectionState.audienceIncludesVisitors @message.hasMultipleVariations @message.hasControlGroup}}\\n    @disabledTooltip={{this.disabledTooltipMessage}}\\n    @selected={{this.messageSubclassType}}\\n    data-intercom-target=\\\"Outbound Home match behavior selector\\\"\\n    as |group|\\n>\\n  <group.Button\\n    @icon=\\\"auto-message\\\"\\n    @label=\\\"Ongoing\\\"\\n    @description=\\\"Keep sending to people who match your rules in the future\\\"\\n    @value=\\\"auto\\\"\\n    @onclick={{action \\\"setSubclassType\\\" \\\"AutoMessage\\\"}}\\n  />\\n  <group.Button\\n    @icon=\\\"multiple-people\\\"\\n    @label=\\\"One-off\\\"\\n    @description=\\\"Only send to people who match your rules right now\\\"\\n    @value=\\\"manual\\\"\\n    @onclick={{action \\\"setSubclassType\\\" \\\"ManualMessage\\\"}}\\n  />\\n</PulseCandidate::VerticalRadioButtonGroup>\\n\",\"moduleName\":\"embercom/components/message-editor/audience/subclass-type-switcher.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/audience/subclass-type-switcher.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  tagName: '',\n  disabledTooltipMessage: computed('message.isNotDraft', function() {\n    if (this.get('message.isNotDraft')) {\n      return 'You cannot change the audience type once a message has been set live';\n    } else if (this.message.hasMultipleVariations || this.message.hasControlGroup) {\n      return 'You cannot change the audience type to one-off for messages with an A/B test or control group';\n    } else {\n      return 'You cannot change the audience type for messages targeting visitors';\n    }\n  }),\n  messageSubclassType: computed('message.classType', function() {\n    if (\n      this.get('message.classType') === 'auto' ||\n      this.get('message.classType') === 'visitorauto'\n    ) {\n      return 'auto';\n    } else {\n      return 'manual';\n    }\n  }),\n\n  actions: {\n    setSubclassType(type) {\n      this.changeSubclassType.perform(type);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::IndexCompletedComponent\\n  @panel={{panel}}\\n  @isDraft={{message.isDraft}}\\n  @isEditing={{isEditing}}\\n  @isComplete={{isComplete}}\\n/>\\n<div class=\\\"layout__box o__centers-vertically\\\">\\n  <h2\\n    class=\\\"t__h2 message__editor__panel__fadable-text message__editor__panel__heading {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n    data-test-audience-title\\n  >\\n    {{#if isEditing}}\\n      Choose your audience\\n    {{else}}\\n      Audience\\n    {{/if}}\\n  </h2>\\n</div>\\n<div\\n  class=\\\"layout__box o__flexes-to-1  message__editor__panel__description o__audience {{if isEditing \\\"o__editing\\\"}} message__editor__panel__hideable-content {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n  data-test-message-editor-audience-predicate-wrapper\\n>\\n  {{#if message.selectionState.isSelectionBased}}\\n    <MessageEditor::Audience::SampleRecipients @message={{message}} />\\n  {{else}}\\n    {{#if message.selectionState.hasPredicates}}\\n      {{#if\\n        (and message.isDraft (or message.isAutoMessage message.isManualMessage))\\n      }}\\n        {{#if tasks.fetchMessageAudiencePreview.isRunning}}\\n          <p\\n            class=\\\"message__editor__panel__fadable-text {{if isMaximized \\\"o__expanded\\\"}} ml-1 mb-2 {{if isEditing \\\"o__editing\\\"}}\\\"\\n          >\\n            <IcLoadingIndicator @size=\\\"tiny\\\" @inline={{true}} />\\n            Fetching users...\\n          </p>\\n        {{else if message.audiencePreview.hasAudience}}\\n          <p\\n            class=\\\"message__editor__panel__fadable-text {{if isMaximized \\\"o__expanded\\\"}} {{if isEditing \\\"o__editing\\\"}} test__message-editor__user-match\\\"\\n          >\\n            <b>\\n              {{ic-interface-icon \\\"multiple-people\\\" color=\\\"gray\\\"}} {{numeric-formatter-helper message.audiencePreview.count}} {{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes message.audiencePreview.count)}}\\n            </b>\\n            {{#if message.isAutoMessage}}\\n              (and everyone who matches these filters in the future)\\n            {{/if}}\\n          </p>\\n        {{else}}\\n          <p\\n            class=\\\"message__editor__panel__fadable-text mb-1 {{if isMaximized \\\"o__expanded\\\"}} {{if isEditing \\\"o__editing\\\"}} test__message-editor__no-user-match\\\"\\n          >\\n            No {{format-array-to-sentence message.selectionState.pluralUserTypes 'or'}} match the filters at the moment\\n            {{#if (and message.isAutoMessage message.isNotDraft)}}\\n              This message will send to all {{format-array-to-sentence message.selectionState.pluralUserTypes}} who match the filters in the future.\\n            {{/if}}\\n          </p>\\n        {{/if}}\\n      {{/if}}\\n      <TruncatedTextComponent @lines={{5}}>\\n        <MessageEditor::Audience::SelectionState\\n          @message={{message}}\\n          @noDescriptionsText=\\\"\\\"\\n          class=\\\"message__editor__panel__fadable-text {{if isMaximized \\\"o__expanded\\\"}} {{if isEditing \\\"o__editing\\\"}}\\\"\\n        />\\n      </TruncatedTextComponent>\\n    {{/if}}\\n  {{/if}}\\n</div>\\n<MessageEditor::Buttons::DoneButton\\n  @panelIsOpen={{and isMaximized isEditing}}\\n  @togglePanel={{togglePanel}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::IndexCompletedComponent\\n  @panel={{panel}}\\n  @isDraft={{message.isDraft}}\\n  @isEditing={{isEditing}}\\n  @isComplete={{isComplete}}\\n/>\\n<div class=\\\"layout__box o__centers-vertically\\\">\\n  <h2\\n    class=\\\"t__h2 message__editor__panel__fadable-text message__editor__panel__heading {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n    data-test-audience-title\\n  >\\n    {{#if isEditing}}\\n      Choose your audience\\n    {{else}}\\n      Audience\\n    {{/if}}\\n  </h2>\\n</div>\\n<div\\n  class=\\\"layout__box o__flexes-to-1  message__editor__panel__description o__audience {{if isEditing \\\"o__editing\\\"}} message__editor__panel__hideable-content {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n  data-test-message-editor-audience-predicate-wrapper\\n>\\n  {{#if message.selectionState.isSelectionBased}}\\n    <MessageEditor::Audience::SampleRecipients @message={{message}} />\\n  {{else}}\\n    {{#if message.selectionState.hasPredicates}}\\n      {{#if\\n        (and message.isDraft (or message.isAutoMessage message.isManualMessage))\\n      }}\\n        {{#if tasks.fetchMessageAudiencePreview.isRunning}}\\n          <p\\n            class=\\\"message__editor__panel__fadable-text {{if isMaximized \\\"o__expanded\\\"}} ml-1 mb-2 {{if isEditing \\\"o__editing\\\"}}\\\"\\n          >\\n            <IcLoadingIndicator @size=\\\"tiny\\\" @inline={{true}} />\\n            Fetching users...\\n          </p>\\n        {{else if message.audiencePreview.hasAudience}}\\n          <p\\n            class=\\\"message__editor__panel__fadable-text {{if isMaximized \\\"o__expanded\\\"}} {{if isEditing \\\"o__editing\\\"}} test__message-editor__user-match\\\"\\n          >\\n            <b>\\n              {{ic-interface-icon \\\"multiple-people\\\" color=\\\"gray\\\"}} {{numeric-formatter-helper message.audiencePreview.count}} {{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes message.audiencePreview.count)}}\\n            </b>\\n            {{#if message.isAutoMessage}}\\n              (and everyone who matches these filters in the future)\\n            {{/if}}\\n          </p>\\n        {{else}}\\n          <p\\n            class=\\\"message__editor__panel__fadable-text mb-1 {{if isMaximized \\\"o__expanded\\\"}} {{if isEditing \\\"o__editing\\\"}} test__message-editor__no-user-match\\\"\\n          >\\n            No {{format-array-to-sentence message.selectionState.pluralUserTypes 'or'}} match the filters at the moment\\n            {{#if (and message.isAutoMessage message.isNotDraft)}}\\n              This message will send to all {{format-array-to-sentence message.selectionState.pluralUserTypes}} who match the filters in the future.\\n            {{/if}}\\n          </p>\\n        {{/if}}\\n      {{/if}}\\n      <TruncatedTextComponent @lines={{5}}>\\n        <MessageEditor::Audience::SelectionState\\n          @message={{message}}\\n          @noDescriptionsText=\\\"\\\"\\n          class=\\\"message__editor__panel__fadable-text {{if isMaximized \\\"o__expanded\\\"}} {{if isEditing \\\"o__editing\\\"}}\\\"\\n        />\\n      </TruncatedTextComponent>\\n    {{/if}}\\n  {{/if}}\\n</div>\\n<MessageEditor::Buttons::DoneButton\\n  @panelIsOpen={{and isMaximized isEditing}}\\n  @togglePanel={{togglePanel}}\\n/>\\n\",\"moduleName\":\"embercom/components/message-editor/audience/title-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/audience/title-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { readOnly, gt } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport TitleComponent from 'embercom/components/message-editor/title-component';\n\nexport default TitleComponent.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  classNames: [\n    'layout__box',\n    'o__has-columns',\n    'o__flexes-to-1',\n    'message__editor__panel__title',\n    'message__editor__panel__audience-expansion',\n  ],\n  hasCurrentMatchingUsers: gt('message.audiencePreview.count', 0),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"layout__box o__has-rows\\\">\\n  <IcEmptyState\\n    @icon=\\\"untracked-attribute\\\"\\n    @title=\\\"The audience rules for this message contain an untracked attribute.\\\"\\n    as |emptyState|\\n  >\\n    <emptyState.description>\\n      <span\\n        class=\\\"t__em-link t__solo-link__outer\\\"\\n        {{action \\\"openCDAToolGeneratedCodeWindow\\\"}}\\n      >\\n        Get the implementation code or send instructions to a teammate\\n      </span>\\n      to start tracking this attribute. <br />\\n      You can set this message live once all the attributes are tracked.\\n    </emptyState.description>\\n  </IcEmptyState>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"layout__box o__has-rows\\\">\\n  <IcEmptyState\\n    @icon=\\\"untracked-attribute\\\"\\n    @title=\\\"The audience rules for this message contain an untracked attribute.\\\"\\n    as |emptyState|\\n  >\\n    <emptyState.description>\\n      <span\\n        class=\\\"t__em-link t__solo-link__outer\\\"\\n        {{action \\\"openCDAToolGeneratedCodeWindow\\\"}}\\n      >\\n        Get the implementation code or send instructions to a teammate\\n      </span>\\n      to start tracking this attribute. <br />\\n      You can set this message live once all the attributes are tracked.\\n    </emptyState.description>\\n  </IcEmptyState>\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/audience/untracked-predicate.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/audience/untracked-predicate.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { openCDAToolGeneratedCodeWindow } from 'embercom/lib/cda-onboarding/cda-tool-opener';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  classNames: ['layout__box', 'o__flexes-to-1', 'o__centers-all', 'u__pad__40'],\n  predicates: readOnly('message.selectionState.userAddedPredicates'),\n\n  openCDAToolGeneratedCodeWindow() {\n    openCDAToolGeneratedCodeWindow(this);\n  },\n\n  actions: {\n    openCDAToolGeneratedCodeWindow() {\n      this.openCDAToolGeneratedCodeWindow();\n      this.intercomEventService.trackEvent('cda-tool-opened', {\n        action: 'opened',\n        object: 'cda_tool',\n        place: 'message_editor_empty_state',\n        owner: 'growth',\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcFilterBlock\\n  @isOneLine={{true}}\\n  @name=\\\"Visitors\\\"\\n  @icon=\\\"multiple-people\\\"\\n  class=\\\"u__left u__mr__15 o__static\\\"\\n  data-test-disabled-user-selector={{true}}\\n/>\\n<UsersAndCompanies::RulesEditor\\n  @attributeGroupList={{attributeGroupList}}\\n  @predicateGroup={{predicateGroup}}\\n  @showUserData={{false}}\\n  @showUserSwitcher={{false}}\\n  @onUpdate={{onUpdate}}\\n  @attributeDropdownFilterPlaceholder=\\\"Search user data\\\" as |editor|\\n>\\n  {{editor.attributePickerOpener}}\\n</UsersAndCompanies::RulesEditor>\\n{{yield}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcFilterBlock\\n  @isOneLine={{true}}\\n  @name=\\\"Visitors\\\"\\n  @icon=\\\"multiple-people\\\"\\n  class=\\\"u__left u__mr__15 o__static\\\"\\n  data-test-disabled-user-selector={{true}}\\n/>\\n<UsersAndCompanies::RulesEditor\\n  @attributeGroupList={{attributeGroupList}}\\n  @predicateGroup={{predicateGroup}}\\n  @showUserData={{false}}\\n  @showUserSwitcher={{false}}\\n  @onUpdate={{onUpdate}}\\n  @attributeDropdownFilterPlaceholder=\\\"Search user data\\\" as |editor|\\n>\\n  {{editor.attributePickerOpener}}\\n</UsersAndCompanies::RulesEditor>\\n{{yield}}\\n\",\"moduleName\":\"embercom/components/message-editor/audience/vam-rules-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/audience/vam-rules-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\n\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  attributeService: service(),\n  attributeGroupList: computed(function() {\n    return [\n      {\n        heading: 'People data',\n        attributes: this.attributeService.visitorMessagingAttributesNoPageTargetting,\n      },\n    ];\n  }),\n  actions: {},\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::Audience::TitleComponent\\n  @panel={{panel}}\\n  @message={{message}}\\n  @tasks={{tasks}}\\n  @isEditing={{isEditing}}\\n/>\\n<MessageEditor::Audience::MainComponent\\n  @message={{message}}\\n  @isMaximized={{panel.isMaximized}}\\n  @maximizePanel={{maximizePanel}}\\n  @fetchAudiencePreview={{action \\\"fetchAudiencePreview\\\"}}\\n  @tasks={{tasks}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::Audience::TitleComponent\\n  @panel={{panel}}\\n  @message={{message}}\\n  @tasks={{tasks}}\\n  @isEditing={{isEditing}}\\n/>\\n<MessageEditor::Audience::MainComponent\\n  @message={{message}}\\n  @isMaximized={{panel.isMaximized}}\\n  @maximizePanel={{maximizePanel}}\\n  @fetchAudiencePreview={{action \\\"fetchAudiencePreview\\\"}}\\n  @tasks={{tasks}}\\n/>\\n\",\"moduleName\":\"embercom/components/message-editor/audience/wrapper-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/audience/wrapper-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { not, and } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  isEditing: notImplemented(),\n  isNotEditing: not('isEditing'),\n  shouldLoadAudienceOnShow: and('isNotEditing', 'message.isDraft'),\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    if (this.get('panel.isMaximized') || this.shouldLoadAudienceOnShow) {\n      this._fetchAudiencePreview();\n    }\n  },\n\n  _fetchAudiencePreview() {\n    if (this.get('message.isValidForCampaignAudiencePreviewUpdate')) {\n      this.get('tasks.fetchCampaignMessageAudiencePreview').perform();\n    } else if (this.get('message.isValidForAudiencePreviewUpdate')) {\n      this.get('tasks.fetchMessageAudiencePreview').perform();\n    } else if (this.get('message.audiencePreview')) {\n      this.set('message.audiencePreview', null);\n    }\n  },\n\n  actions: {\n    fetchAudiencePreview() {\n      this._fetchAudiencePreview();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcButton\\n  @label=\\\"Done\\\"\\n  @type=\\\"primary-on-blue\\\"\\n  @onClick={{stop-propagation (action \\\"done\\\")}}\\n  data-test-message-editor-panel-done={{true}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcButton\\n  @label=\\\"Done\\\"\\n  @type=\\\"primary-on-blue\\\"\\n  @onClick={{stop-propagation (action \\\"done\\\")}}\\n  data-test-message-editor-panel-done={{true}}\\n/>\\n\",\"moduleName\":\"embercom/components/message-editor/buttons/done-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/buttons/done-button.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-attrs-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  classNames: ['message__editor__panel__done-button'],\n  classNameBindings: ['panelIsOpen:o__visible'],\n  'data-test-message-editor-panel-done-button': true,\n  actions: {\n    done() {\n      this.attrs.togglePanel();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<p class=\\\"t__label t__centered message__editor__stats__tab-label\\\" data-test-tab-button=\\\"{{tab.label}}\\\">{{tab.label}}</p>\\n<p class=\\\"{{ unless tab.isStringValue \\\"t__message-editor-stat\\\" }} t__centered {{tab.color}}\\\" data-test-stats-tab-value=\\\"{{tab.label}}\\\">\\n  {{#if tab.icon}}\\n    {{! @pat - leaving as ic-interface-icon as there is no build palette equivalent for the stats colors}}\\n    <span data-test-stats-tab-icon={{tab.icon}}>{{ic-interface-icon tab.icon}}</span>\\n  {{else if tab.isPercentageValue}}\\n    {{format-percentage tab.statistic}}\\n  {{else if tab.isStringValue}}\\n    {{ tab.statistic }}\\n  {{else}}\\n    {{number-formatter-helper tab.statistic}}\\n  {{/if}}\\n</p>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<p class=\\\"t__label t__centered message__editor__stats__tab-label\\\" data-test-tab-button=\\\"{{tab.label}}\\\">{{tab.label}}</p>\\n<p class=\\\"{{ unless tab.isStringValue \\\"t__message-editor-stat\\\" }} t__centered {{tab.color}}\\\" data-test-stats-tab-value=\\\"{{tab.label}}\\\">\\n  {{#if tab.icon}}\\n    {{! @pat - leaving as ic-interface-icon as there is no build palette equivalent for the stats colors}}\\n    <span data-test-stats-tab-icon={{tab.icon}}>{{ic-interface-icon tab.icon}}</span>\\n  {{else if tab.isPercentageValue}}\\n    {{format-percentage tab.statistic}}\\n  {{else if tab.isStringValue}}\\n    {{ tab.statistic }}\\n  {{else}}\\n    {{number-formatter-helper tab.statistic}}\\n  {{/if}}\\n</p>\\n\",\"moduleName\":\"embercom/components/message-editor/buttons/stats-tab-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/buttons/stats-tab-button.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-attrs-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { not, readOnly } from '@ember/object/computed';\nimport { containsByProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  'data-test-statistic-tab': readOnly('tab.label'),\n  classNames: ['message__editor__stats__tab', 'js__content-stats-tabs__tab-button'],\n  classNameBindings: ['isActive:o__active', 'clickDisabled:o__disabled'],\n\n  intercomEventService: service(),\n\n  isActive: containsByProperty('tab.views', 'activeView'),\n  clickDisabled: not('tab.isClickable'),\n\n  click() {\n    if (!this.isActive && this.get('tab.isClickable')) {\n      let analyticsEvent = this.get('tab.analyticsEvent') || {\n        action: 'open_stat_tab',\n        object: this.get('tab.views.firstObject'),\n        context: 'message-stats',\n        links_count: this.get('variation.clickTrackingLinks.length'),\n      };\n      this.intercomEventService.trackAnalyticsEvent(analyticsEvent);\n      this.changeView(this.get('tab.views.firstObject'));\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if icon}}\\n  {{ic-interface-icon icon}}\\n{{/if}}\\n{{this.text}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if icon}}\\n  {{ic-interface-icon icon}}\\n{{/if}}\\n{{this.text}}\\n\",\"moduleName\":\"embercom/components/message-editor/buttons/task-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/buttons/task-button.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-attrs-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { or, readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  tagName: 'span',\n  classNames: ['btn', 'u__ml__10'],\n  classNameBindings: ['disabled:o__disabled', 'messagingTypeIsNotActive:o__disabled'],\n  disabled: or('taskGroup.isRunning', 'featureUpgradePrompt.isActive'),\n  'data-test-task-action': readOnly('text'),\n  click() {\n    this.attrs.action.value.perform();\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"layout__box o__flexes-to-1 u__relative message__editor__content__container\\\"\\n>\\n  <div class=\\\"u__center-item\\\">\\n    <LinkTo\\n      @route=\\\"apps.app.outbound.message\\\"\\n      @model={{variation.message.id}}\\n      @query={{hash displaying=viewToShow version=variation.label}}\\n      class=\\\"t__em-link\\\"\\n    >\\n      View list of users\\n    </LinkTo>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"layout__box o__flexes-to-1 u__relative message__editor__content__container\\\"\\n>\\n  <div class=\\\"u__center-item\\\">\\n    <LinkTo\\n      @route=\\\"apps.app.outbound.message\\\"\\n      @model={{variation.message.id}}\\n      @query={{hash displaying=viewToShow version=variation.label}}\\n      class=\\\"t__em-link\\\"\\n    >\\n      View list of users\\n    </LinkTo>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/buttons/temporary-stats-link.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/buttons/temporary-stats-link.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nexport default Component.extend({\n  viewToShow: computed('activeView', function() {\n    switch (this.activeView) {\n      case 'reactions':\n        return 'responded';\n      default:\n        return this.activeView;\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h4 class=\\\"message__editor__variation-switcher__label t__h4 {{if isActive 'text-blue-dark' 'text-gray'}}\\\">\\n  <b class=\\\"u__mr__5\\\" data-test-variation-label>\\n    {{label}}\\n  </b>\\n  <span data-test-variation-label-state='{{label}}'>{{ic-stamp variation.uiStateName}}</span>\\n</h4>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h4 class=\\\"message__editor__variation-switcher__label t__h4 {{if isActive 'text-blue-dark' 'text-gray'}}\\\">\\n  <b class=\\\"u__mr__5\\\" data-test-variation-label>\\n    {{label}}\\n  </b>\\n  <span data-test-variation-label-state='{{label}}'>{{ic-stamp variation.uiStateName}}</span>\\n</h4>\\n\",\"moduleName\":\"embercom/components/message-editor/buttons/variation-switcher-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/buttons/variation-switcher-button.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-attrs-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { ternary, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  classNames: ['message__editor__variation-switcher__button'],\n  classNameBindings: ['isActive:o__active'],\n  appService: service(),\n  app: readOnly('appService.app'),\n  label: ternaryToProperty(\n    'variation.message.hasNoControlGroup',\n    'labelWhenABMessage',\n    'labelWhenControlGroupMessage',\n  ),\n  labelWhenABMessage: computed('variation.label', function() {\n    return `Test ${this.variation.label}`;\n  }),\n  labelWhenControlGroupMessage: ternary('variation.isControlGroup', 'Control group', 'Message'),\n  click() {\n    this.attrs.changeVersion(this.get('variation.label'));\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-rows o__flexes-to-1\\\" data-test-page-target>\\n  <b>\\n    <p class=\\\"text-gray\\\">\\n      What page to deliver this message on\\n    </p>\\n  </b>\\n  <label class=\\\"f__checkbox-label u__mt__5 u__mb__5 u__cf\\\">\\n    <input\\n      type=\\\"radio\\\"\\n      checked={{not message.selectionState.hasPageTargetPredicates}}\\n      onClick={{action \\\"disablePageTargeting\\\"}}\\n      data-test-page-target-off\\n    />\\n    <span class=\\\"u__ml__5\\\">\\n      Any page\\n    </span>\\n  </label>\\n  <label class=\\\"f__checkbox-label u__mt__5 u__mb__5 u__cf\\\">\\n    <input\\n      type=\\\"radio\\\"\\n      checked={{message.selectionState.hasPageTargetPredicates}}\\n      onClick={{action \\\"enablePageTargeting\\\"}}\\n      data-test-page-target-on\\n    />\\n    <span class=\\\"u__ml__5\\\">\\n      Only on certain pages\\n    </span>\\n  </label>\\n  {{#if message.selectionState.hasPageTargetPredicates}}\\n    <div>\\n      <MessageEditor::Audience::PredicateJoinTypeSwitcher\\n        @value={{message.selectionState.clientPredicatesPageTargetJoinType}}\\n        @scrollParentSelector=\\\".js__message-view-and-edit-component__container\\\"\\n        @selectionChanged={{action \\\"switchPredicateJoinType\\\"}}\\n        class=\\\"u__ml__20\\\"\\n        data-test-join-type-switcher={{true}}\\n      />\\n    </div>\\n  {{/if}}\\n  {{#each message.selectionState.pageTargetPredicates as |predicate index|}}\\n    <div\\n      class=\\\"layout__box o__has-columns u__padt__10\\\"\\n      data-test-predicate-container={{index}}\\n    >\\n      <div class=\\\"layout__box o__has-columns o__flexes-to-1\\\">\\n        <IcSelect\\n          @items={{clientPredicateComparators}}\\n          @selectedValue={{predicate.comparison}}\\n          @onSelectItem={{action \\\"changePredicateComparison\\\" index}}\\n          class=\\\"u__ml__20\\\"\\n          data-test-page-target-dropdown={{true}}\\n        />\\n        <input\\n          type=\\\"text\\\"\\n          data-test-page-target-input\\n          placeholder={{placeholderText}}\\n          value={{predicate.value}}\\n          oninput={{action \\\"updatePageTargetPredicate\\\" index}}\\n          class=\\\"f__text u__ml__20\\\"\\n        />\\n      </div>\\n      {{#unless (eq index 0)}}\\n        <IcButton\\n          data-test-remove-url={{true}}\\n          @showsIconOnly={{true}}\\n          @icon=\\\"delete\\\"\\n          @type=\\\"secondary-destructive\\\"\\n          class=\\\"u__ml__10\\\"\\n          @onClick={{action \\\"removePageTargetPredicate\\\" index}}\\n        />\\n      {{/unless}}\\n    </div>\\n  {{/each}}\\n  {{#if message.selectionState.hasPageTargetPredicates}}\\n    <div class=\\\"layout__box o__has-columns u__padt__10 u__ml__20\\\">\\n      <IcButton\\n        @label=\\\"Add URL\\\"\\n        @type=\\\"secondary\\\"\\n        @icon=\\\"new\\\"\\n        @onClick={{action \\\"addPageTargetPredicate\\\"}}\\n        data-test-add-url={{true}}\\n      />\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-rows o__flexes-to-1\\\" data-test-page-target>\\n  <b>\\n    <p class=\\\"text-gray\\\">\\n      What page to deliver this message on\\n    </p>\\n  </b>\\n  <label class=\\\"f__checkbox-label u__mt__5 u__mb__5 u__cf\\\">\\n    <input\\n      type=\\\"radio\\\"\\n      checked={{not message.selectionState.hasPageTargetPredicates}}\\n      onClick={{action \\\"disablePageTargeting\\\"}}\\n      data-test-page-target-off\\n    />\\n    <span class=\\\"u__ml__5\\\">\\n      Any page\\n    </span>\\n  </label>\\n  <label class=\\\"f__checkbox-label u__mt__5 u__mb__5 u__cf\\\">\\n    <input\\n      type=\\\"radio\\\"\\n      checked={{message.selectionState.hasPageTargetPredicates}}\\n      onClick={{action \\\"enablePageTargeting\\\"}}\\n      data-test-page-target-on\\n    />\\n    <span class=\\\"u__ml__5\\\">\\n      Only on certain pages\\n    </span>\\n  </label>\\n  {{#if message.selectionState.hasPageTargetPredicates}}\\n    <div>\\n      <MessageEditor::Audience::PredicateJoinTypeSwitcher\\n        @value={{message.selectionState.clientPredicatesPageTargetJoinType}}\\n        @scrollParentSelector=\\\".js__message-view-and-edit-component__container\\\"\\n        @selectionChanged={{action \\\"switchPredicateJoinType\\\"}}\\n        class=\\\"u__ml__20\\\"\\n        data-test-join-type-switcher={{true}}\\n      />\\n    </div>\\n  {{/if}}\\n  {{#each message.selectionState.pageTargetPredicates as |predicate index|}}\\n    <div\\n      class=\\\"layout__box o__has-columns u__padt__10\\\"\\n      data-test-predicate-container={{index}}\\n    >\\n      <div class=\\\"layout__box o__has-columns o__flexes-to-1\\\">\\n        <IcSelect\\n          @items={{clientPredicateComparators}}\\n          @selectedValue={{predicate.comparison}}\\n          @onSelectItem={{action \\\"changePredicateComparison\\\" index}}\\n          class=\\\"u__ml__20\\\"\\n          data-test-page-target-dropdown={{true}}\\n        />\\n        <input\\n          type=\\\"text\\\"\\n          data-test-page-target-input\\n          placeholder={{placeholderText}}\\n          value={{predicate.value}}\\n          oninput={{action \\\"updatePageTargetPredicate\\\" index}}\\n          class=\\\"f__text u__ml__20\\\"\\n        />\\n      </div>\\n      {{#unless (eq index 0)}}\\n        <IcButton\\n          data-test-remove-url={{true}}\\n          @showsIconOnly={{true}}\\n          @icon=\\\"delete\\\"\\n          @type=\\\"secondary-destructive\\\"\\n          class=\\\"u__ml__10\\\"\\n          @onClick={{action \\\"removePageTargetPredicate\\\" index}}\\n        />\\n      {{/unless}}\\n    </div>\\n  {{/each}}\\n  {{#if message.selectionState.hasPageTargetPredicates}}\\n    <div class=\\\"layout__box o__has-columns u__padt__10 u__ml__20\\\">\\n      <IcButton\\n        @label=\\\"Add URL\\\"\\n        @type=\\\"secondary\\\"\\n        @icon=\\\"new\\\"\\n        @onClick={{action \\\"addPageTargetPredicate\\\"}}\\n        data-test-add-url={{true}}\\n      />\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/channel/page-target.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/channel/page-target.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed, get } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { copy } from 'ember-copy';\nimport {\n  selectFromObject,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\nimport { DEFAULT_PAGE_TARGET_PREDICATE } from 'embercom/models/data/messages/message-defaults';\nimport PredicateFilterMap from 'embercom/models/data/predicate-filter-map';\n\nexport default Component.extend({\n  messageMutationService: service(),\n  store: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  _placeholders: {\n    1: 'Enter URL',\n    2: 'Enter keyword',\n    3: 'Enter a regular expression',\n  },\n  placeholderText: selectFromObject('_placeholders', 'message.pageTarget.pageTargetType'),\n\n  defaultClientPredicateComparators: PredicateFilterMap.url.comparison,\n\n  legacyClientPredicateComparators: [\n    { value: 'eq', text: 'URL is', isSelected: true },\n    { value: 'ne', text: 'URL is not' },\n    { value: 'starts_with', text: 'URL starts with' },\n    { value: 'ends_with', text: 'URL ends with' },\n    { value: 'contains', text: 'URL contains' },\n    { value: 'not_contains', text: 'URL does not contain' },\n    {\n      value: 'regex',\n      text: 'URL matches regular expression',\n      tooltipText:\n        'Use this to handle complex URLs. We recommend rubular.com to create your regular expressions.',\n    },\n    { value: 'unknown', text: 'URL is unknown' },\n    { value: 'known', text: 'URL is known' },\n  ],\n\n  hasLegacyPageTargetPredicateComparators: computed(\n    'message.selectionState.pageTargetPredicates.@each.comparison',\n    function() {\n      let legacyPageTargetPredicateComparators = ['unknown', 'known', 'regex'];\n      return this.get('message.selectionState.pageTargetPredicates').some(pageTargetPredicate => {\n        return legacyPageTargetPredicateComparators.includes(pageTargetPredicate.comparison);\n      });\n    },\n  ),\n\n  clientPredicateComparators: ternaryToProperty(\n    'hasLegacyPageTargetPredicateComparators',\n    'legacyClientPredicateComparators',\n    'defaultClientPredicateComparators',\n  ),\n\n  _setPageTargetToDefault(contextMethod) {\n    let context = {\n      location: Object.getPrototypeOf(this)._debugContainerKey,\n      method: contextMethod,\n    };\n    let messageDefaults = this.message.getDefaultValues();\n    let mutations = [];\n    let pageTargetMutation = {\n      command: MUTATIONS.setValueToDefault,\n      key: 'pageTarget',\n      modelDefaults: messageDefaults,\n      context,\n    };\n    mutations.push(pageTargetMutation);\n    mutations = mutations.concat(this._mutateClientPredicates(context, messageDefaults.pageTarget));\n    this.messageMutationService.performMutations(this.message, mutations);\n  },\n\n  _getNonPageTargetPredicates(copiedSelectionState) {\n    return copiedSelectionState.get('clientPredicates').rejectBy('isPageTarget');\n  },\n\n  _getComparison(pageTarget) {\n    switch (get(pageTarget, 'pageTargetType')) {\n      case 1:\n        return 'eq';\n      case 2:\n        return 'contains';\n      case 3:\n        return 'regex';\n    }\n  },\n\n  _mutateClientPredicates(context, pageTarget) {\n    let copiedSelectionState = copy(this.get('message.selectionState'));\n    let nonPageTargetPredicates = this._getNonPageTargetPredicates(copiedSelectionState);\n    copiedSelectionState.set('clientPredicates', nonPageTargetPredicates);\n\n    if (get(pageTarget, 'pageTargetType') !== 0) {\n      let pageTargetPredicate = {\n        attribute: 'client_attributes.last_visited_url',\n        comparison: this._getComparison(pageTarget),\n        type: 'string',\n        value: get(pageTarget, 'pageTargetString'),\n      };\n      copiedSelectionState.addJSONClientPredicate(pageTargetPredicate);\n    }\n\n    let predicates = copiedSelectionState.get('clientPredicates').serialize();\n    return this._generateClientPredicatesMutations(context, predicates);\n  },\n\n  _generateClientPredicatesMutations(context, predicates) {\n    return [\n      {\n        command: MUTATIONS.setValue,\n        key: 'selectionState.clientPredicates',\n        data: predicates,\n        context,\n      },\n    ];\n  },\n\n  _addEmptyPageTargetingPredicate(methodName) {\n    let copiedSelectionState = copy(this.get('message.selectionState'));\n    copiedSelectionState.addJSONClientPredicate(DEFAULT_PAGE_TARGET_PREDICATE);\n    this._updateSelectionStatePredicates(\n      copiedSelectionState.get('clientPredicates').serialize(),\n      methodName,\n    );\n  },\n\n  _removeAllPageTargetingPredicates(context) {\n    let copiedSelectionState = copy(this.get('message.selectionState'));\n    let nonPageTargetPredicates = copiedSelectionState.get('timeOnPagePredicates');\n    copiedSelectionState.get('clientPredicates').clear();\n    copiedSelectionState.get('clientPredicates').addObjects(nonPageTargetPredicates);\n    this._updateSelectionStatePredicates(\n      copiedSelectionState.get('clientPredicates').serialize(),\n      context,\n    );\n  },\n\n  _updateSelectionStatePredicates(predicates, contextMethod) {\n    let context = {\n      location: Object.getPrototypeOf(this)._debugContainerKey,\n      method: contextMethod,\n    };\n    let mutations = this._generateClientPredicatesMutations(context, predicates);\n    this.messageMutationService.performMutations(this.message, mutations);\n  },\n\n  _removePageTargetPredicate(index, contextMethod) {\n    let copiedSelectionState = copy(this.get('message.selectionState'));\n    let predicateToRemove = copiedSelectionState.get('pageTargetPredicates').objectAt(index);\n    let predicates = copiedSelectionState.get('isClientPredicatesOrMode')\n      ? copiedSelectionState.get('clientPredicatesOrPredicate.predicates')\n      : copiedSelectionState.get('clientPredicates');\n    predicates.removeObject(predicateToRemove);\n    this._updateSelectionStatePredicates(\n      copiedSelectionState.get('clientPredicates').serialize(),\n      contextMethod,\n    );\n  },\n\n  actions: {\n    enablePageTargeting(pageTargetEnabled) {\n      if (!this.get('message.selectionState.hasPageTargetPredicates')) {\n        this._addEmptyPageTargetingPredicate(this.actions.enablePageTargeting.name);\n      }\n    },\n    disablePageTargeting() {\n      if (this.get('message.selectionState.hasPageTargetPredicates')) {\n        this._removeAllPageTargetingPredicates(this.actions.disablePageTargeting.name);\n        this._setPageTargetToDefault(this.actions.disablePageTargeting.name);\n      }\n    },\n    updatePageTargetPredicate(index, input) {\n      let copiedSelectionState = copy(this.get('message.selectionState'));\n      copiedSelectionState\n        .get('pageTargetPredicates')\n        .objectAt(index)\n        .changeValue(input.target.value);\n      this._updateSelectionStatePredicates(\n        copiedSelectionState.get('clientPredicates').serialize(),\n        this.actions.updatePageTargetPredicate.name,\n      );\n    },\n    changePredicateComparison(index, comparison) {\n      let copiedSelectionState = copy(this.get('message.selectionState'));\n      copiedSelectionState\n        .get('pageTargetPredicates')\n        .objectAt(index)\n        .changeComparison(comparison);\n      this._updateSelectionStatePredicates(\n        copiedSelectionState.get('clientPredicates').serialize(),\n        this.actions.changePredicateComparison.name,\n      );\n    },\n    addPageTargetPredicate() {\n      this._addEmptyPageTargetingPredicate(this.actions.addPageTargetPredicate.name);\n    },\n    removePageTargetPredicate(index) {\n      this._removePageTargetPredicate(index, this.actions.removePageTargetPredicate.name);\n    },\n    switchPredicateJoinType(joinType) {\n      let copiedSelectionState = copy(this.get('message.selectionState'));\n      let copiedTimeOnPagePredicates = copiedSelectionState\n        .get('timeOnPagePredicates')\n        .map(predicate => this.store.createFragment('common/predicate', predicate.toJSON()));\n\n      let copiedPageTargetPredicates = copiedSelectionState\n        .get('pageTargetPredicates')\n        .map(predicate => this.store.createFragment('common/predicate', predicate.toJSON()));\n\n      let newPredicates;\n      if (joinType === 'or') {\n        let orPredicate = this.store.createRecord('common/predicate', {\n          type: 'or',\n          predicates: copiedPageTargetPredicates,\n        });\n        newPredicates = copiedTimeOnPagePredicates.concat(orPredicate.serialize());\n      } else if (joinType === 'and') {\n        newPredicates = copiedTimeOnPagePredicates.concat(copiedPageTargetPredicates);\n      }\n\n      copiedSelectionState.get('clientPredicates').clear();\n      copiedSelectionState.get('clientPredicates').addObjects(newPredicates);\n\n      this._updateSelectionStatePredicates(\n        copiedSelectionState.get('clientPredicates').serialize(),\n        this.actions.switchPredicateJoinType.name,\n      );\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (and @message.isInApp @message.isNotWebFirst this.app.hasMobileIntegration)}}\\n  <div data-test-send-push-notification>\\n    <Text @styling=\\\"label\\\">\\n      Add a notification?\\n      <IcTooltipIcon\\n        @content=\\\"Users who don't have your mobile app will see the message when they go online.\\\"\\n      />\\n    </Text>\\n      <IcTooltip as |t|>\\n        <t.opener\\n          @isInteractive={{true}}\\n          @isDisabled={{not @message.hasDeliveryWindow}}\\n        >\\n            <Form as |form|>\\n              <form.Item \\n              as |item|>\\n                <item.Checkbox\\n                  @label=\\\"Send a push notification from your mobile app\\\"\\n                  @checked={{@message.sendPushNotification}}\\n                  \\n                  @disabled={{@message.hasDeliveryWindow}}\\n                  data-test-send-push-notification-checkbox\\n                />\\n              </form.Item>\\n            </Form>\\n        </t.opener>\\n        <t.content>\\n            To enable push notifications, you must first change scheduling to be any day at any time in the\\n            <a\\n              {{on 'click' (fn @maximizePanel \\\"scheduling\\\" false)}}\\n              data-test-tooltip-panel-link\\n            >scheduling step</a>.\\n        </t.content>\\n      </IcTooltip>\\n  </div>\\n{{/if}}\", {\"contents\":\"{{#if (and @message.isInApp @message.isNotWebFirst this.app.hasMobileIntegration)}}\\n  <div data-test-send-push-notification>\\n    <Text @styling=\\\"label\\\">\\n      Add a notification?\\n      <IcTooltipIcon\\n        @content=\\\"Users who don't have your mobile app will see the message when they go online.\\\"\\n      />\\n    </Text>\\n      <IcTooltip as |t|>\\n        <t.opener\\n          @isInteractive={{true}}\\n          @isDisabled={{not @message.hasDeliveryWindow}}\\n        >\\n            <Form as |form|>\\n              <form.Item \\n              as |item|>\\n                <item.Checkbox\\n                  @label=\\\"Send a push notification from your mobile app\\\"\\n                  @checked={{@message.sendPushNotification}}\\n                  \\n                  @disabled={{@message.hasDeliveryWindow}}\\n                  data-test-send-push-notification-checkbox\\n                />\\n              </form.Item>\\n            </Form>\\n        </t.opener>\\n        <t.content>\\n            To enable push notifications, you must first change scheduling to be any day at any time in the\\n            <a\\n              {{on 'click' (fn @maximizePanel \\\"scheduling\\\" false)}}\\n              data-test-tooltip-panel-link\\n            >scheduling step</a>.\\n        </t.content>\\n      </IcTooltip>\\n  </div>\\n{{/if}}\",\"moduleName\":\"embercom/components/message-editor/channel/send-push-notification.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/channel/send-push-notification.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  tagName: '',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<p class=\\\"u__mb__20\\\">Part of your audience of {{confirmContext.count}} people will receive this message, and the rest will be added to a control group. </p>\\n<p class=\\\"u__mb__20\\\">Going forward, people who match your audience rules for this message will be split between the message group and control group.</p>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<p class=\\\"u__mb__20\\\">Part of your audience of {{confirmContext.count}} people will receive this message, and the rest will be added to a control group. </p>\\n<p class=\\\"u__mb__20\\\">Going forward, people who match your audience rules for this message will be split between the message group and control group.</p>\\n\",\"moduleName\":\"embercom/components/message-editor/confirmation-copy/control-group-auto-message-activate-confirm-text.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/confirmation-copy/control-group-auto-message-activate-confirm-text.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<p class=\\\"u__mb__20\\\">Part of your audience will receive this message, and the rest will be added to a control group. </p>\\n<p class=\\\"u__mb__20\\\">Going forward, people who match your audience rules for this message will be split between the message group and control group.</p>\\n\", {\"contents\":\"<p class=\\\"u__mb__20\\\">Part of your audience will receive this message, and the rest will be added to a control group. </p>\\n<p class=\\\"u__mb__20\\\">Going forward, people who match your audience rules for this message will be split between the message group and control group.</p>\\n\",\"moduleName\":\"embercom/components/message-editor/confirmation-copy/control-group-visitor-auto-message-activate-confirm-text.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/confirmation-copy/control-group-visitor-auto-message-activate-confirm-text.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__cf u__pad__20\\\">\\n  <IcButtonList @align=\\\"right\\\" as |list|>\\n    {{#if controlGroup.isLiveOrStopped}}\\n      <list.button\\n        @type=\\\"secondary\\\"\\n        @onClick={{perform end controlGroup}}\\n        @disabled={{disabled}}\\n        data-test-end-control-group={{true}}\\n      >\\n        {{ic-interface-icon \\\"check\\\"}} End control group test\\n      </list.button>\\n    {{/if}}\\n    <list.button\\n      @type=\\\"secondary-destructive\\\"\\n      @onClick={{perform delete controlGroup}}\\n      @disabled={{disabled}}\\n      @iconOnly={{true}}\\n      data-test-delete-control-group={{true}}\\n    >\\n      {{ic-interface-icon \\\"trash\\\" solo=true}}\\n    </list.button>\\n  </IcButtonList>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__cf u__pad__20\\\">\\n  <IcButtonList @align=\\\"right\\\" as |list|>\\n    {{#if controlGroup.isLiveOrStopped}}\\n      <list.button\\n        @type=\\\"secondary\\\"\\n        @onClick={{perform end controlGroup}}\\n        @disabled={{disabled}}\\n        data-test-end-control-group={{true}}\\n      >\\n        {{ic-interface-icon \\\"check\\\"}} End control group test\\n      </list.button>\\n    {{/if}}\\n    <list.button\\n      @type=\\\"secondary-destructive\\\"\\n      @onClick={{perform delete controlGroup}}\\n      @disabled={{disabled}}\\n      @iconOnly={{true}}\\n      data-test-delete-control-group={{true}}\\n    >\\n      {{ic-interface-icon \\\"trash\\\" solo=true}}\\n    </list.button>\\n  </IcButtonList>\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/content/control-group-actions-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/control-group-actions-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { A } from '@ember/array';\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { and, not, readOnly } from '@ember/object/computed';\nimport { on } from '@ember/object/evented';\nimport { schedule, throttle } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport DidChangeAttrs from 'ember-did-change-attrs';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport ComposerUploadCheck from 'embercom/components/message-editor/utility/composer-upload-check';\nimport ENV from 'embercom/config/environment';\nimport createFragmentFromBlock from 'embercom/lib/blocks/create-fragment-from-block';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\n\nexport default Component.extend(ComposerUploadCheck, DidChangeAttrs, {\n  intercomEventService: service(),\n  messageMutationService: service(),\n  store: service(),\n  attributeService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  'data-test-message-editor': true,\n\n  serializedBlocks: A(),\n\n  isEditable: and('isEditing', 'isMaximized'),\n  isReadOnly: not('isEditable'),\n  preset: computed(\n    'variation.{emailTemplate,messageStyle}',\n    'isReadOnly',\n    'isMobileOrIosOrAndroid',\n    function() {\n      return this.variation.composerPreset(this.isReadOnly, this.isMobileOrIosOrAndroid);\n    },\n  ),\n\n  attributes: ternaryToProperty(\n    'variation.message.isVisitorAutoMessage',\n    'attributeService.vamEditorAttributes',\n    'attributeService.userEditorAttributes',\n  ),\n\n  initializeSerializedBlocks: on('init', function() {\n    this.set('serializedBlocks', this.get('variation.blocks').serialize());\n  }),\n\n  didChangeAttrsConfig: {\n    attrs: ['variation', 'isEditing'],\n  },\n\n  didChangeAttrs(changes) {\n    this._super(...arguments);\n\n    if (changes.variation || changes.isEditing) {\n      this._loadBlocksAfterComposerRender();\n    }\n  },\n\n  didUpdateAttrs() {\n    this._super(...arguments);\n    this.initializeSerializedBlocks();\n  },\n\n  _loadBlocksAfterComposerRender() {\n    schedule('afterRender', () => {\n      if (this.composer) {\n        this.composer.send('load', this.get('variation.blocks').serialize());\n      }\n    });\n  },\n\n  //@pat - The reason we do this is because the Composer fires `performBlocksUpdate` too many times even when there are no differences between the blocks. This is a temporary solution as ideally the composer should not fire the `updateBlocks` event as often as it does.\n  blocksAreDifferent(blockFragments, blocks) {\n    let serializedFragments = blockFragments.map(fragment => fragment.serialize());\n    return JSON.stringify(serializedFragments) !== JSON.stringify(blocks.serialize());\n  },\n\n  isValidForBlocksUpdate() {\n    return (\n      !this.isDestroying &&\n      this.composer &&\n      this.isEditable &&\n      !this.get('variation.isHtmlMode') &&\n      !this.get('variation.isVideo')\n    );\n  },\n\n  performBlocksUpdate() {\n    if (this.isValidForBlocksUpdate()) {\n      let blocks = this.composer.getBlocks();\n      let store = this.store;\n      let blockFragments = blocks.map(block => createFragmentFromBlock(store, block));\n      let context = {\n        location: Object.getPrototypeOf(this)._debugContainerKey,\n        method: this.performBlocksUpdate.name,\n      };\n      if (this.blocksAreDifferent(blockFragments, this.get('variation.blocks'))) {\n        this.messageMutationService.performMutations(\n          this.get('variation.message'),\n          A([\n            {\n              command: MUTATIONS.setValue,\n              key: `${this.get('variation.nameOfMessageRelationship')}.blocks`,\n              data: blockFragments,\n              context,\n            },\n          ]),\n        );\n      }\n    }\n  },\n\n  actions: {\n    updateBlocks() {\n      throttle(this, this.performBlocksUpdate, ENV.APP._50MS, false);\n    },\n    changePreviewDevice(device) {\n      this.withComposerUploadCheck(() => {\n        this.set('currentDevice', device);\n        this.initializeSerializedBlocks();\n      });\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'preview_device',\n        place: 'message_editor',\n        object: 'message',\n        device,\n      });\n    },\n    onComposerUploadStart() {\n      this.set('variation.message._isUploading', true);\n    },\n    onComposerUploadFinish() {\n      this.set('variation.message._isUploading', false);\n      this.performBlocksUpdate();\n    },\n    onComposerUploadError(error) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'upload_failed',\n        place: 'message_editor',\n        object: 'message',\n        file_size: error.fileSize,\n        file_type: error.fileType,\n        message: error.message,\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns\\\">\\n  {{#if isEditing}}\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      {{#if activeVariation.isInApp}}\\n        <MessageEditor::Content::Sidebar::InApp\\n          @variation={{activeVariation}}\\n          @deliveryPreviewEnabled={{deliveryPreviewEnabled}}\\n          @dataPreviewEnabled={{dataPreviewEnabled}}\\n          class=\\\"message__editor__content__sidebar__wrapper test__message__editor__content__sidebar o__in-app layout__box o__has-columns\\\"\\n          @isMaximized={{isMaximized}}\\n          @lastReactions={{lastReactions}}\\n          @setLastReactions={{setLastReactions}}\\n          @deleteVariation={{deleteVariation}}\\n          @enableDeliveryPreview={{action \\\"enableDeliveryPreview\\\"}}\\n          @disableDeliveryPreview={{action \\\"disableDeliveryPreview\\\"}}\\n          @toggleDataPreview={{action \\\"toggleDataPreview\\\"}}\\n          @maximizePanel={{@maximizePanel}}\\n        />\\n      {{else if activeVariation.isEmail}}\\n        <MessageEditor::Content::Sidebar::Email\\n          @variation={{activeVariation}}\\n          class=\\\"message__editor__content__sidebar__wrapper test__message__editor__content__sidebar o__email u__position-relative\\\"\\n          @isMaximized={{isMaximized}}\\n          @deleteVariation={{deleteVariation}}\\n        />\\n      {{else if activeVariation.isMobilePush}}\\n        <MessageEditor::Content::Sidebar::Push\\n          @app={{app}}\\n          @variation={{activeVariation}}\\n          class=\\\"message__editor__content__sidebar__wrapper test__message__editor__content__sidebar o__push u__position-relative\\\"\\n          @isMaximized={{isMaximized}}\\n          @deleteVariation={{deleteVariation}}\\n        />\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n  <div class=\\\"layout__box o__has-rows o__flexes-to-1 u__relative\\\">\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      {{#if activeVariation.message.isUploading}}\\n        <span class=\\\"message__editor__content__upload-indicator\\\">\\n          <IcLoadingIndicator @size=\\\"tiny\\\" />\\n          <span class=\\\"t__light-text\\\">\\n            Uploading...\\n          </span>\\n        </span>\\n      {{/if}}\\n      {{#if message.isEmail}}\\n        {{#if activeVariation.isHtmlMode}}\\n          <MessageEditor::Content::HtmlMode::Wrapper\\n            @variation={{activeVariation}}\\n            @isEditing={{and isEditing isMaximized}}\\n            @generateHtmlPreview={{generateHtmlPreview}}\\n          />\\n        {{else}}\\n          <MessageEditor::Content::Email::Editor\\n            @variation={{activeVariation}}\\n            @isMaximized={{isMaximized}}\\n            @isEditing={{isEditing}}\\n          />\\n        {{/if}}\\n      {{else if message.isMobilePush}}\\n        <MessageEditor::Content::Push::Editor\\n          @variation={{activeVariation}}\\n          @isEditing={{isEditing}}\\n          @isMaximized={{isMaximized}}\\n        />\\n      {{else}}\\n        <MessageEditor::Content::InApp::Editor\\n          @variation={{activeVariation}}\\n          @messageStyle={{activeVariation.messageStyle}}\\n          @isMaximized={{isMaximized}}\\n          @isEditing={{isEditing}}\\n          @deliveryPreviewEnabled={{deliveryPreviewEnabled}}\\n          @disableDeliveryPreview={{action \\\"disableDeliveryPreview\\\"}}\\n          @toggleDataPreview={{action \\\"toggleDataPreview\\\"}}\\n          @setLastReactions={{setLastReactions}}\\n          @dataPreviewEnabled={{dataPreviewEnabled}}\\n        />\\n      {{/if}}\\n    </div>\\n    {{#if (and isEditing isMaximized message.canHaveFollowUp (or activeVariation.isTextReply activeVariation.isAttributeCollectorReply) app.canUseContentOrientedNavigation)}}\\n      <div class=\\\"layout__box o__flexes-to-1 message__editor__content__follow-up-actions pt-8 pl-10 pr-10 pb-8\\\">\\n        <MessageEditor::Content::FollowUpActions\\n          @message={{message}}\\n          @activeVariation={{activeVariation}}\\n          @operatorQualificationPanelIsEnabled={{operatorQualificationPanelIsEnabled}}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns\\\">\\n  {{#if isEditing}}\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      {{#if activeVariation.isInApp}}\\n        <MessageEditor::Content::Sidebar::InApp\\n          @variation={{activeVariation}}\\n          @deliveryPreviewEnabled={{deliveryPreviewEnabled}}\\n          @dataPreviewEnabled={{dataPreviewEnabled}}\\n          class=\\\"message__editor__content__sidebar__wrapper test__message__editor__content__sidebar o__in-app layout__box o__has-columns\\\"\\n          @isMaximized={{isMaximized}}\\n          @lastReactions={{lastReactions}}\\n          @setLastReactions={{setLastReactions}}\\n          @deleteVariation={{deleteVariation}}\\n          @enableDeliveryPreview={{action \\\"enableDeliveryPreview\\\"}}\\n          @disableDeliveryPreview={{action \\\"disableDeliveryPreview\\\"}}\\n          @toggleDataPreview={{action \\\"toggleDataPreview\\\"}}\\n          @maximizePanel={{@maximizePanel}}\\n        />\\n      {{else if activeVariation.isEmail}}\\n        <MessageEditor::Content::Sidebar::Email\\n          @variation={{activeVariation}}\\n          class=\\\"message__editor__content__sidebar__wrapper test__message__editor__content__sidebar o__email u__position-relative\\\"\\n          @isMaximized={{isMaximized}}\\n          @deleteVariation={{deleteVariation}}\\n        />\\n      {{else if activeVariation.isMobilePush}}\\n        <MessageEditor::Content::Sidebar::Push\\n          @app={{app}}\\n          @variation={{activeVariation}}\\n          class=\\\"message__editor__content__sidebar__wrapper test__message__editor__content__sidebar o__push u__position-relative\\\"\\n          @isMaximized={{isMaximized}}\\n          @deleteVariation={{deleteVariation}}\\n        />\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n  <div class=\\\"layout__box o__has-rows o__flexes-to-1 u__relative\\\">\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      {{#if activeVariation.message.isUploading}}\\n        <span class=\\\"message__editor__content__upload-indicator\\\">\\n          <IcLoadingIndicator @size=\\\"tiny\\\" />\\n          <span class=\\\"t__light-text\\\">\\n            Uploading...\\n          </span>\\n        </span>\\n      {{/if}}\\n      {{#if message.isEmail}}\\n        {{#if activeVariation.isHtmlMode}}\\n          <MessageEditor::Content::HtmlMode::Wrapper\\n            @variation={{activeVariation}}\\n            @isEditing={{and isEditing isMaximized}}\\n            @generateHtmlPreview={{generateHtmlPreview}}\\n          />\\n        {{else}}\\n          <MessageEditor::Content::Email::Editor\\n            @variation={{activeVariation}}\\n            @isMaximized={{isMaximized}}\\n            @isEditing={{isEditing}}\\n          />\\n        {{/if}}\\n      {{else if message.isMobilePush}}\\n        <MessageEditor::Content::Push::Editor\\n          @variation={{activeVariation}}\\n          @isEditing={{isEditing}}\\n          @isMaximized={{isMaximized}}\\n        />\\n      {{else}}\\n        <MessageEditor::Content::InApp::Editor\\n          @variation={{activeVariation}}\\n          @messageStyle={{activeVariation.messageStyle}}\\n          @isMaximized={{isMaximized}}\\n          @isEditing={{isEditing}}\\n          @deliveryPreviewEnabled={{deliveryPreviewEnabled}}\\n          @disableDeliveryPreview={{action \\\"disableDeliveryPreview\\\"}}\\n          @toggleDataPreview={{action \\\"toggleDataPreview\\\"}}\\n          @setLastReactions={{setLastReactions}}\\n          @dataPreviewEnabled={{dataPreviewEnabled}}\\n        />\\n      {{/if}}\\n    </div>\\n    {{#if (and isEditing isMaximized message.canHaveFollowUp (or activeVariation.isTextReply activeVariation.isAttributeCollectorReply) app.canUseContentOrientedNavigation)}}\\n      <div class=\\\"layout__box o__flexes-to-1 message__editor__content__follow-up-actions pt-8 pl-10 pr-10 pb-8\\\">\\n        <MessageEditor::Content::FollowUpActions\\n          @message={{message}}\\n          @activeVariation={{activeVariation}}\\n          @operatorQualificationPanelIsEnabled={{operatorQualificationPanelIsEnabled}}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/content/editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { A } from '@ember/array';\nimport Component from '@ember/component';\nimport { containsByProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport ComposerUploadCheck from 'embercom/components/message-editor/utility/composer-upload-check';\n\nexport default Component.extend(ComposerUploadCheck, {\n  init() {\n    this._super(...arguments);\n    this.setProperties({\n      variationsForDeliveryPreview: A(),\n      variationsForDataPreview: A(),\n    });\n  },\n\n  deliveryPreviewEnabled: containsByProperty('variationsForDeliveryPreview', 'activeVariation.id'),\n  dataPreviewEnabled: containsByProperty('variationsForDataPreview', 'activeVariation.id'),\n\n  actions: {\n    disableDeliveryPreview() {\n      this.variationsForDeliveryPreview.removeObject(this.get('activeVariation.id'));\n      this.variationsForDataPreview.removeObject(this.get('activeVariation.id'));\n    },\n    enableDeliveryPreview() {\n      this.withComposerUploadCheck(() => {\n        this.variationsForDeliveryPreview.pushObject(this.get('activeVariation.id'));\n        this.variationsForDataPreview.pushObject(this.get('activeVariation.id'));\n      });\n    },\n    toggleDataPreview(dataPreviewEnabled) {\n      if (dataPreviewEnabled) {\n        this.variationsForDataPreview.pushObject(this.get('activeVariation.id'));\n      } else {\n        this.variationsForDataPreview.removeObject(this.get('activeVariation.id'));\n      }\n    },\n    updateReaction(reaction) {\n      this.onUpdateReaction(reaction);\n    },\n    deleteReaction(reactionIndex) {\n      this.onDeleteReaction(reactionIndex);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"message__editor__content__email__chrome test__email-chrome__preview {{if isDesktop \\\"o__desktop\\\"}} {{if isMobile \\\"o__mobile\\\"}} {{if variation.emailTemplate.isCustom \\\"custom_email_template\\\"}} {{if shouldTemplateHaveMaxWidth \\\"o__with-max-width\\\"}}\\\"\\n>\\n  <div class=\\\"message__editor__content__email__chrome-wrapper\\\">\\n    {{#if isDesktop}}\\n      <div\\n        class=\\\"message__editor__content__email__chrome__controls test__email-chrome__controls\\\"\\n      >\\n        <ul class=\\\"message__editor__content__email__chrome__controls-wrapper\\\">\\n          <li\\n            class=\\\"message__editor__content__email__chrome__controls-item o__close\\\"\\n          ></li>\\n          <li\\n            class=\\\"message__editor__content__email__chrome__controls-item o__minimize\\\"\\n          ></li>\\n          <li\\n            class=\\\"message__editor__content__email__chrome__controls-item o__maximize\\\"\\n          ></li>\\n        </ul>\\n      </div>\\n    {{/if}}\\n    <MessageEditor::Content::Email::Subject\\n      @variation={{variation}}\\n      @isEditing={{isEditing}}\\n      @updateSubject={{updateSubject}}\\n      @attributes={{attributes}}\\n      @formClasses=\\\"f__text\\\"\\n      class=\\\"message__editor__content__email__subject\\\"\\n    />\\n    <div\\n      class=\\\"layout__box o__has-columns message__editor__content__email__chrome-meta\\\"\\n    >\\n      <div\\n        class=\\\"layout__box o__flexes-to-1 message__editor__content__email__chrome-from test__email-chrome__from\\\"\\n      >\\n        {{variation.fromDisplayAs}}\\n        {{#unless variation.hasCustomFromAddress}}\\n          <span data-test-email-address-for-app>\\n            {{variation.templatedEmailAddressForApp}}\\n          </span>\\n        {{/unless}}\\n      </div>\\n      <div class=\\\"layout__box message__editor__content__email__chrome-date\\\">\\n        {{format-date format=\\\"date\\\"}}\\n      </div>\\n    </div>\\n    {{#if variation.hasCustomReplyToAddress}}\\n      <div class=\\\"message__editor__content__email__chrome-meta\\\">\\n        <div>\\n          <strong>\\n            Reply to:\\n          </strong>\\n          <span\\n            class=\\\"message__editor__content__email__chrome-reply-to test__email-chrome__reply-to\\\"\\n          >\\n            {{variation.customReplyToAddress.displayAs}}\\n          </span>\\n        </div>\\n      </div>\\n    {{/if}}\\n    <div class=\\\"message__editor__content__email__template\\\">\\n      {{#unless variation.emailTemplate.isCustom}}\\n        {{partial\\n          \\\"components/message-editor/content/email/partials/composer-app-styles\\\"\\n        }}\\n      {{/unless}}\\n      {{yield}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"message__editor__content__email__chrome test__email-chrome__preview {{if isDesktop \\\"o__desktop\\\"}} {{if isMobile \\\"o__mobile\\\"}} {{if variation.emailTemplate.isCustom \\\"custom_email_template\\\"}} {{if shouldTemplateHaveMaxWidth \\\"o__with-max-width\\\"}}\\\"\\n>\\n  <div class=\\\"message__editor__content__email__chrome-wrapper\\\">\\n    {{#if isDesktop}}\\n      <div\\n        class=\\\"message__editor__content__email__chrome__controls test__email-chrome__controls\\\"\\n      >\\n        <ul class=\\\"message__editor__content__email__chrome__controls-wrapper\\\">\\n          <li\\n            class=\\\"message__editor__content__email__chrome__controls-item o__close\\\"\\n          ></li>\\n          <li\\n            class=\\\"message__editor__content__email__chrome__controls-item o__minimize\\\"\\n          ></li>\\n          <li\\n            class=\\\"message__editor__content__email__chrome__controls-item o__maximize\\\"\\n          ></li>\\n        </ul>\\n      </div>\\n    {{/if}}\\n    <MessageEditor::Content::Email::Subject\\n      @variation={{variation}}\\n      @isEditing={{isEditing}}\\n      @updateSubject={{updateSubject}}\\n      @attributes={{attributes}}\\n      @formClasses=\\\"f__text\\\"\\n      class=\\\"message__editor__content__email__subject\\\"\\n    />\\n    <div\\n      class=\\\"layout__box o__has-columns message__editor__content__email__chrome-meta\\\"\\n    >\\n      <div\\n        class=\\\"layout__box o__flexes-to-1 message__editor__content__email__chrome-from test__email-chrome__from\\\"\\n      >\\n        {{variation.fromDisplayAs}}\\n        {{#unless variation.hasCustomFromAddress}}\\n          <span data-test-email-address-for-app>\\n            {{variation.templatedEmailAddressForApp}}\\n          </span>\\n        {{/unless}}\\n      </div>\\n      <div class=\\\"layout__box message__editor__content__email__chrome-date\\\">\\n        {{format-date format=\\\"date\\\"}}\\n      </div>\\n    </div>\\n    {{#if variation.hasCustomReplyToAddress}}\\n      <div class=\\\"message__editor__content__email__chrome-meta\\\">\\n        <div>\\n          <strong>\\n            Reply to:\\n          </strong>\\n          <span\\n            class=\\\"message__editor__content__email__chrome-reply-to test__email-chrome__reply-to\\\"\\n          >\\n            {{variation.customReplyToAddress.displayAs}}\\n          </span>\\n        </div>\\n      </div>\\n    {{/if}}\\n    <div class=\\\"message__editor__content__email__template\\\">\\n      {{#unless variation.emailTemplate.isCustom}}\\n        {{partial\\n          \\\"components/message-editor/content/email/partials/composer-app-styles\\\"\\n        }}\\n      {{/unless}}\\n      {{yield}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/content/email/chrome.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/email/chrome.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { isAny } from '@intercom/embercom-core/lib/computed-properties';\nimport DeviceType from 'embercom/components/mixins/device-type';\n\nexport default Component.extend(DeviceType, {\n  classNames: ['test__email-chrome'],\n  appService: service(),\n  app: readOnly('appService.app'),\n  classNameBindings: ['shouldTemplateHaveMaxWidth:wizard_template_has_max_width'],\n  deviceType: 'desktop',\n  currentDevice: readOnly('deviceType'),\n  appColors: readOnly('app.application_colors'),\n  shouldTemplateHaveMaxWidth: computed(\n    'variation.emailTemplate.isPlainOrCompanyOrAnnouncement',\n    'isMobile',\n    'hasImageBlockWiderThanMaxWidth',\n    function() {\n      return (\n        this.get('variation.emailTemplate.isPlainOrCompanyOrAnnouncement') &&\n        !this.hasImageBlockWiderThanMaxWidth &&\n        !this.isMobile\n      );\n    },\n  ),\n  hasImageBlockWiderThanMaxWidth: isAny(\n    'variation.blocks',\n    'isWiderThanMaxPlainTemplateWidth',\n    true,\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (and isEditable notUsingCustomEmailAddress)}}\\n  <IcBanner @type=\\\"help\\\" data-test-use-custom-domain-banner>\\n    Use a custom address to help prevent this email from getting caught in spam filters.\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/en/articles/182-a-guide-to-sending-email-from-your-own-address\\\"\\n      @title=\\\"Learn more\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n      data-test-custom-domain-banner-link\\n    />\\n  </IcBanner>\\n{{/if}}\\n\\n{{#if (and isEditable usingUnauthenticatedCustomEmailAddress)}}\\n  <IcBanner @type=\\\"warning\\\" data-test-use-custom-address-banner>\\n    Give Intercom permission to send on your behalf to improve this email's deliverability.\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/en/articles/182-a-guide-to-sending-email-from-your-own-address\\\"\\n      @title=\\\"Learn more\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />\\n  </IcBanner>\\n{{/if}}\\n\\n<MessageEditor::Content::Email::Chrome\\n  @variation={{variation}}\\n  @deviceType={{currentDevice}}\\n  @isEditing={{isEditing}}\\n  @attributes={{attributes}}\\n  @updateSubject={{action \\\"updateSubject\\\"}}\\n>\\n  <div class=\\\"test__email-template__{{templateInfo.name}}\\\">\\n    <ComposerV2\\n      @app={{app}}\\n      @attributes={{attributes}}\\n      @blocks={{serializedBlocks}}\\n      @preset={{preset}}\\n      @isReadOnly={{not isEditable}}\\n      @templateInfo={{templateInfo}}\\n      @widgetInfo={{widgetInfo}}\\n      @emailTemplateData={{emailTemplateData}}\\n      @editorClass=\\\"test__content-editor__email\\\"\\n      @outerContainerSelector=\\\".ic-custom-body\\\"\\n      @viewportSelector=\\\".js__message__editor__content__editor\\\"\\n      @actionReceiver={{composer}}\\n      @onChange={{action \\\"updateBlocks\\\"}}\\n      @onError={{composer-error-logger \\\"Messages\\\"}}\\n      @emailTemplateDataDidChange=\\\"emailTemplateDataDidChange\\\"\\n      @startedUploading={{action \\\"onComposerUploadStart\\\"}}\\n      @finishedUploading={{action \\\"onComposerUploadFinish\\\"}}\\n      @inserters={{array\\n        (component\\n          \\\"composer-inserter\\\"\\n          data-test-composer-inserter=\\\"emoji\\\"\\n          data=(hash\\n            icon=\\\"lwr-happy\\\"\\n            title=\\\"Insert emoji\\\"\\n            configurator=(component \\\"message-editor/content/emoji-inserter\\\")\\n          )\\n        )\\n      }}\\n    />\\n  </div>\\n</MessageEditor::Content::Email::Chrome>\\n{{#if isEditable}}\\n  <MessageEditor::Content::PreviewDeviceSwitcher\\n    @message={{variation.message}}\\n    @currentDevice={{currentDevice}}\\n    @changePreviewDevice={{action \\\"changePreviewDevice\\\"}}\\n    class=\\\"test__preview-device-switcher\\\"\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (and isEditable notUsingCustomEmailAddress)}}\\n  <IcBanner @type=\\\"help\\\" data-test-use-custom-domain-banner>\\n    Use a custom address to help prevent this email from getting caught in spam filters.\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/en/articles/182-a-guide-to-sending-email-from-your-own-address\\\"\\n      @title=\\\"Learn more\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n      data-test-custom-domain-banner-link\\n    />\\n  </IcBanner>\\n{{/if}}\\n\\n{{#if (and isEditable usingUnauthenticatedCustomEmailAddress)}}\\n  <IcBanner @type=\\\"warning\\\" data-test-use-custom-address-banner>\\n    Give Intercom permission to send on your behalf to improve this email's deliverability.\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/en/articles/182-a-guide-to-sending-email-from-your-own-address\\\"\\n      @title=\\\"Learn more\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />\\n  </IcBanner>\\n{{/if}}\\n\\n<MessageEditor::Content::Email::Chrome\\n  @variation={{variation}}\\n  @deviceType={{currentDevice}}\\n  @isEditing={{isEditing}}\\n  @attributes={{attributes}}\\n  @updateSubject={{action \\\"updateSubject\\\"}}\\n>\\n  <div class=\\\"test__email-template__{{templateInfo.name}}\\\">\\n    <ComposerV2\\n      @app={{app}}\\n      @attributes={{attributes}}\\n      @blocks={{serializedBlocks}}\\n      @preset={{preset}}\\n      @isReadOnly={{not isEditable}}\\n      @templateInfo={{templateInfo}}\\n      @widgetInfo={{widgetInfo}}\\n      @emailTemplateData={{emailTemplateData}}\\n      @editorClass=\\\"test__content-editor__email\\\"\\n      @outerContainerSelector=\\\".ic-custom-body\\\"\\n      @viewportSelector=\\\".js__message__editor__content__editor\\\"\\n      @actionReceiver={{composer}}\\n      @onChange={{action \\\"updateBlocks\\\"}}\\n      @onError={{composer-error-logger \\\"Messages\\\"}}\\n      @emailTemplateDataDidChange=\\\"emailTemplateDataDidChange\\\"\\n      @startedUploading={{action \\\"onComposerUploadStart\\\"}}\\n      @finishedUploading={{action \\\"onComposerUploadFinish\\\"}}\\n      @inserters={{array\\n        (component\\n          \\\"composer-inserter\\\"\\n          data-test-composer-inserter=\\\"emoji\\\"\\n          data=(hash\\n            icon=\\\"lwr-happy\\\"\\n            title=\\\"Insert emoji\\\"\\n            configurator=(component \\\"message-editor/content/emoji-inserter\\\")\\n          )\\n        )\\n      }}\\n    />\\n  </div>\\n</MessageEditor::Content::Email::Chrome>\\n{{#if isEditable}}\\n  <MessageEditor::Content::PreviewDeviceSwitcher\\n    @message={{variation.message}}\\n    @currentDevice={{currentDevice}}\\n    @changePreviewDevice={{action \\\"changePreviewDevice\\\"}}\\n    class=\\\"test__preview-device-switcher\\\"\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/content/email/editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/email/editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/use-brace-expansion */\nimport { A } from '@ember/array';\nimport EmberObject, { computed } from '@ember/object';\nimport { and, equal, notEmpty, or, readOnly, not } from '@ember/object/computed';\nimport { schedule } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport { findBy, templateString, ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport EditorBase from 'embercom/components/message-editor/content/editor-base';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\nimport EmailTemplate from 'embercom/models/email-template';\n\nexport default EditorBase.extend({\n  intercomEventService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  store: service(),\n  footerVisibilityClass: '',\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this._setFooterVisibilityChange();\n  },\n  currentDevice: 'desktop',\n  classNames: [\n    'layout__box',\n    'o__flexes-to-1',\n    'u__pad__50',\n    'message-editor-content-email-editor',\n  ],\n  isMobilePreview: equal('currentDevice', 'mobile'),\n  previewModeKey: ternary('isMobilePreview', 'mobile', 'desktop'),\n  templateKey: templateString('${variation.emailTemplate.id}-${previewModeKey}'),\n\n  notUsingCustomEmailAddress: not('variation.hasCustomFromAddress'),\n\n  usingUnauthenticatedCustomEmailAddress: equal(\n    'variation.customFromAddress.status',\n    'Unverified domain',\n  ),\n\n  showUnsubscribeLink: computed(\n    'variation.message.showUnsubscribeLink',\n    'app.hideAllUnsubscribeLinks',\n    'variation.message.isNotManualMessage',\n    function() {\n      let unsubscribeLinksGloballyHidden =\n        this.get('app.hideAllUnsubscribeLinks') && this.get('variation.message.isNotManualMessage');\n      return this.get('variation.message.showUnsubscribeLink') && !unsubscribeLinksGloballyHidden;\n    },\n  ),\n  unsubscribeLinkClass: ternary('showUnsubscribeLink', '', 'hidden'),\n  unsubscribeLink: ternary(\n    'showUnsubscribeLink',\n    '<a href=\"#\" class=\"ic-unsubscribe-link\">Unsubscribe from our emails</a>',\n    '',\n  ), // TODO need to translate this!\n  adminAvatarUrl: readOnly('variation.from.avatar.image_urls.square_50'),\n  adminAvatar: computed('adminAvatarUrl', function() {\n    let url = this.adminAvatarUrl.indexOf('default-avatars') > 0 ? '' : this.adminAvatarUrl;\n    if (url) {\n      return `<img src=\"${url}\" height=\"40\" width=\"40\" class=\"avatar\" alt=\"intercomavatar\">`;\n    } else {\n      return '';\n    }\n  }),\n\n  templateInfo: computed(\n    'templateKey',\n    'variation.emailTemplate.template',\n    'unsubscribeLink',\n    'footerVisibilityClass',\n    'unsubscribeLinkClass',\n    'adminAvatar',\n    'variation.fromDisplayAs',\n    function() {\n      return {\n        name: this.templateKey,\n        html: this.get('variation.emailTemplate.template'),\n        data: {\n          unsubscribe_link: this.unsubscribeLink,\n          unsubscribe_url: '',\n          footerVisibilityClass: this.footerVisibilityClass,\n          unsubscribeLinkClass: this.unsubscribeLinkClass,\n          admin_avatar: this.adminAvatar,\n          hide_avatar: this.adminAvatar ? '' : 'hidden',\n          admin_name_and_app: this.get('variation.fromDisplayAs'),\n        },\n      };\n    },\n  ),\n\n  //Footer Visibility - When it's an Announcement template in readonly mode and there is nothing in the footer, we hide the footer.\n  addressData: findBy('emailTemplateData', 'identifier', 'address'),\n  addressHasValue: notEmpty('addressData.value'),\n  twitterData: findBy('emailTemplateData', 'identifier', 'twitter'),\n  twitterHasValue: notEmpty('twitterData.value'),\n  facebookData: findBy('emailTemplateData', 'identifier', 'facebook'),\n  facebookHasValue: notEmpty('facebookData.value'),\n  isReadOnlyAnnouncementTemplate: and('isReadOnly', 'variation.emailTemplate.isAnnouncement'),\n  hasFooterContent: or(\n    'showUnsubscribeLink',\n    'addressHasValue',\n    'facebookHasValue',\n    'twitterHasValue',\n  ),\n  _setFooterVisibilityChange() {\n    //Having footerVisibilityClass as a CP results in templateInfo being regenerated more often than expected causing the template to re-render multiple times with unexpected results e.g. widgets not rendered\n    schedule('afterRender', this, function() {\n      if (this.isDestroying) {\n        return;\n      }\n      this.set(\n        'footerVisibilityClass',\n        this.hasFooterContent || !this.isReadOnlyAnnouncementTemplate ? '' : 'hidden',\n      );\n    });\n  },\n\n  _fetchRenderableSenderAddress() {\n    this.variation.from.getEmailAddressForApp();\n  },\n\n  emailTemplateDataInStore() {\n    return this.store.peekAll('email-template-data');\n  },\n\n  emailTemplateData: computed(function() {\n    //@pat - As this property is Ember.computed but not watching any properties it does not recompute when email-template-data models are deleted and created. It works as the composer relies on object.value having a value to decide whether to show the empty widget state or not. There must be a better way of doing this to have emailTemplateData recompute.\n    let emailTemplateModels = this.emailTemplateDataInStore();\n    return emailTemplateModels.map(model => {\n      return EmberObject.create({\n        identifier: model.get('identifier'),\n        value: model.get('value'),\n      });\n    });\n  }),\n\n  widgetInfo: computed(function() {\n    return EmailTemplate.widgets();\n  }),\n\n  actions: {\n    trackClick() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'create_custom_sender_address',\n        context: 'learn_more_banner_link',\n      });\n    },\n    emailTemplateDataDidChange(identifier, value) {\n      let model = this.emailTemplateDataInStore().findBy('identifier', identifier);\n      if (!model && !value) {\n        return;\n      }\n      if (!value) {\n        return model.destroyRecord();\n      }\n      if (model) {\n        model.set('value', value);\n      } else {\n        model = this.store.createRecord('email-template-data', { identifier, value });\n      }\n      model.save();\n    },\n    updateSubject(subject) {\n      let context = {\n        location: Object.getPrototypeOf(this)._debugContainerKey,\n        method: this.actions.updateSubject.name,\n      };\n      this.messageMutationService.performMutations(\n        this.get('variation.message'),\n        A([\n          {\n            command: MUTATIONS.setValue,\n            key: `${this.get('variation.nameOfMessageRelationship')}.subject`,\n            data: subject,\n            context,\n          },\n        ]),\n      );\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"modal__header flex items-start\\\">\\n  <div class=\\\"modal__header__title flex-auto min-w-0\\\">\\n    <h2 class=\\\"t__h2\\\">\\n      Send a test email\\n    </h2>\\n  </div>\\n  <div class=\\\"modal__header__close layout__box u__cf\\\">\\n    <a\\n      class=\\\"modal__header__close__link u__right js__close-button\\\"\\n      data-test-close-modal\\n      {{action \\\"closeModal\\\"}}\\n    >\\n      {{ic-interface-icon \\\"close\\\" solo=true}}\\n    </a>\\n  </div>\\n</div>\\n<div class=\\\"modal__body\\\">\\n  <div\\n    class=\\\"message__editor__content__test-email-modal__body test__send-test-email__modal\\\"\\n  >\\n    <h3 class=\\\"t__label\\\">\\n      To\\n    </h3>\\n    <div>\\n      <div class=\\\"message__editor__content__test-email-modal__column o__input\\\">\\n        <OneWayInput\\n          data-test-send-test-email-input={{true}}\\n          class=\\\"f__text\\\"\\n          @type=\\\"text\\\"\\n          @value={{emailAddresses}}\\n          @autofocus={{true}}\\n          @update={{action (mut emailAddresses)}}\\n        />\\n      </div>\\n      <div\\n        class=\\\"message__editor__content__test-email-modal__column text-gray\\\"\\n      >\\n        <IcTooltipIcon\\n          @content=\\\"To send to multiple email addresses separate them by a comma or space\\\"\\n          class=\\\"text-gray\\\"\\n        />\\n      </div>\\n    </div>\\n    <div class=\\\"h-2\\\"></div>\\n    <div>\\n      {{#if sampleUser.user_id}}\\n        <div class=\\\"f__group o__checkbox-group\\\">\\n          <label for=\\\"use-sample-data\\\" class=\\\"f__checkbox-label u__cf\\\">\\n            <span class=\\\"f__checkbox-wrapper\\\">\\n              <OneWayCheckbox\\n                data-test-use-sample-checkbox={{true}}\\n                @checked={{useSampleUserData}}\\n                @update={{action (mut useSampleUserData) value}}\\n              />\\n            </span>\\n            <span\\n              class=\\\"f__checkbox-content\\\"\\n              data-test-send-test-email-user-label\\n            >\\n              Include sample user data ({{sampleUserName}})\\n            </span>\\n          </label>\\n        </div>\\n      {{else}}\\n        <p class=\\\"t__light-text\\\" data-test-send-test-email-fallback-label>\\n          No users match the filters, so attributes and events will be replaced with fallbacks\\n        </p>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n<IcLegacyModalFooter @processing={{sendEmail.isRunning}} as |footer|>\\n  <footer.mainButtons as |list|>\\n    <list.button\\n      @label=\\\"Cancel\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action \\\"closeModal\\\"}}\\n    />\\n    <list.button\\n      @label={{if sendEmail.isRunning \\\"Sending...\\\" \\\"Send\\\"}}\\n      @type=\\\"primary\\\"\\n      @disabled={{or sendEmail.isRunning (eq emailAddresses.length 0)}}\\n      @onClick={{perform sendEmail}}\\n      @testBindingClass=\\\"test__send-test-email__send\\\"\\n    />\\n  </footer.mainButtons>\\n</IcLegacyModalFooter>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"modal__header flex items-start\\\">\\n  <div class=\\\"modal__header__title flex-auto min-w-0\\\">\\n    <h2 class=\\\"t__h2\\\">\\n      Send a test email\\n    </h2>\\n  </div>\\n  <div class=\\\"modal__header__close layout__box u__cf\\\">\\n    <a\\n      class=\\\"modal__header__close__link u__right js__close-button\\\"\\n      data-test-close-modal\\n      {{action \\\"closeModal\\\"}}\\n    >\\n      {{ic-interface-icon \\\"close\\\" solo=true}}\\n    </a>\\n  </div>\\n</div>\\n<div class=\\\"modal__body\\\">\\n  <div\\n    class=\\\"message__editor__content__test-email-modal__body test__send-test-email__modal\\\"\\n  >\\n    <h3 class=\\\"t__label\\\">\\n      To\\n    </h3>\\n    <div>\\n      <div class=\\\"message__editor__content__test-email-modal__column o__input\\\">\\n        <OneWayInput\\n          data-test-send-test-email-input={{true}}\\n          class=\\\"f__text\\\"\\n          @type=\\\"text\\\"\\n          @value={{emailAddresses}}\\n          @autofocus={{true}}\\n          @update={{action (mut emailAddresses)}}\\n        />\\n      </div>\\n      <div\\n        class=\\\"message__editor__content__test-email-modal__column text-gray\\\"\\n      >\\n        <IcTooltipIcon\\n          @content=\\\"To send to multiple email addresses separate them by a comma or space\\\"\\n          class=\\\"text-gray\\\"\\n        />\\n      </div>\\n    </div>\\n    <div class=\\\"h-2\\\"></div>\\n    <div>\\n      {{#if sampleUser.user_id}}\\n        <div class=\\\"f__group o__checkbox-group\\\">\\n          <label for=\\\"use-sample-data\\\" class=\\\"f__checkbox-label u__cf\\\">\\n            <span class=\\\"f__checkbox-wrapper\\\">\\n              <OneWayCheckbox\\n                data-test-use-sample-checkbox={{true}}\\n                @checked={{useSampleUserData}}\\n                @update={{action (mut useSampleUserData) value}}\\n              />\\n            </span>\\n            <span\\n              class=\\\"f__checkbox-content\\\"\\n              data-test-send-test-email-user-label\\n            >\\n              Include sample user data ({{sampleUserName}})\\n            </span>\\n          </label>\\n        </div>\\n      {{else}}\\n        <p class=\\\"t__light-text\\\" data-test-send-test-email-fallback-label>\\n          No users match the filters, so attributes and events will be replaced with fallbacks\\n        </p>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n<IcLegacyModalFooter @processing={{sendEmail.isRunning}} as |footer|>\\n  <footer.mainButtons as |list|>\\n    <list.button\\n      @label=\\\"Cancel\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action \\\"closeModal\\\"}}\\n    />\\n    <list.button\\n      @label={{if sendEmail.isRunning \\\"Sending...\\\" \\\"Send\\\"}}\\n      @type=\\\"primary\\\"\\n      @disabled={{or sendEmail.isRunning (eq emailAddresses.length 0)}}\\n      @onClick={{perform sendEmail}}\\n      @testBindingClass=\\\"test__send-test-email__send\\\"\\n    />\\n  </footer.mainButtons>\\n</IcLegacyModalFooter>\\n\",\"moduleName\":\"embercom/components/message-editor/content/email/modal/send-test-email.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/email/modal/send-test-email.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { isBlank, isEmpty } from '@ember/utils';\nimport { empty, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { isValidEmail } from 'embercom/lib/email';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  notificationsService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n\n  init() {\n    this._super(...arguments);\n    this.set('emailAddresses', this.get('admin.email'));\n  },\n\n  emailAddresses: '',\n  noEmailAddresses: empty('emailAddresses'),\n\n  useSampleUserData: true,\n  sampleUser: readOnly('variation.message.sampleUser'),\n  sampleUserName: ternaryToProperty(\n    'sampleUser.context.full_name',\n    'sampleUser.context.full_name',\n    'sampleUser.context.email',\n  ),\n\n  sendEmail: task(function*() {\n    try {\n      let outboundEmailAddresses = this.emailAddresses\n        .split(/,|\\s+/)\n        .filter(email => !isBlank(email));\n      let invalidEmailAddresses = outboundEmailAddresses.filter(email => !isValidEmail(email));\n      let useSampleUserData = this.useSampleUserData;\n\n      if (isEmpty(invalidEmailAddresses) || isEmpty(outboundEmailAddresses)) {\n        yield this.variation.sendPreviewEmails(outboundEmailAddresses, useSampleUserData);\n        this.modalService.closeModal();\n        this.notificationsService.notifyConfirmation(`Your test email has been sent`);\n      } else {\n        this.notificationsService.notifyError(\n          `Some of your emails are invalid: ${invalidEmailAddresses.join(', ')}`,\n        );\n      }\n    } catch (error) {\n      console.error(error);\n      this.notificationsService.notifyResponseError(error, {\n        default: `We couldn't send the test email. Send us a message and we'll do our best to help out`,\n      });\n    }\n  }).drop(),\n\n  actions: {\n    closeModal() {\n      this.modalService.closeModal();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<OneWayInput\\n  class=\\\"message__editor__content__email__subject-input js__form-with-attributes u__truncated-inline-block\\\"\\n  @update={{updateSubject}}\\n  placeholder=\\\"Enter your email subject\\\"\\n  @value={{variation.subject}}\\n  @disabled={{not isEditing}}\\n  data-test-email-subject-input={{true}}\\n/>\\n{{#if showAttributeSelector}}\\n  <InputAttributeSelectorComponent\\n    class={{combinedSelectorClasses}}\\n    @listClasses={{selectorListClasses}}\\n    @attributes={{attributes}}\\n    @addAttribute={{action \\\"addAttribute\\\"}}\\n    @attributesAreVisible={{attributePopoverIsShown}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<OneWayInput\\n  class=\\\"message__editor__content__email__subject-input js__form-with-attributes u__truncated-inline-block\\\"\\n  @update={{updateSubject}}\\n  placeholder=\\\"Enter your email subject\\\"\\n  @value={{variation.subject}}\\n  @disabled={{not isEditing}}\\n  data-test-email-subject-input={{true}}\\n/>\\n{{#if showAttributeSelector}}\\n  <InputAttributeSelectorComponent\\n    class={{combinedSelectorClasses}}\\n    @listClasses={{selectorListClasses}}\\n    @attributes={{attributes}}\\n    @addAttribute={{action \\\"addAttribute\\\"}}\\n    @attributesAreVisible={{attributePopoverIsShown}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/content/email/subject.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/email/subject.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { copy } from 'ember-copy';\nimport FormWithAttributeSelector from 'embercom/components/form-with-attribute-selector';\n\nconst PLACEHOLDER = '_REPLACE_THIS_';\n\nexport default FormWithAttributeSelector.extend({\n  isEditable: false,\n  combinedSelectorClasses: 'ic-mirror-popup z__2 u__mt__5',\n  actions: {\n    addAttribute(attribute) {\n      let position = this.caretPosition;\n      let currentSubject = copy(this.get('variation.subject')) || '';\n      let renderedAttribute = this.createAttributeTemplate(attribute, PLACEHOLDER);\n      let splicedSubject =\n        currentSubject.substr(0, position) + renderedAttribute + currentSubject.substr(position);\n      this.get('attrs.updateSubject')(splicedSubject);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<EmojiComponent @selectEmoji={{action \\\"insertEmoji\\\"}} />\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<EmojiComponent @selectEmoji={{action \\\"insertEmoji\\\"}} />\\n\",\"moduleName\":\"embercom/components/message-editor/content/emoji-inserter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/emoji-inserter.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport intermoji from '@intercom/intermoji';\n\nexport default Component.extend({\n  classNames: ['emoji__popover'],\n  'data-test-emoji-inserter-configurator': true,\n  actions: {\n    insertEmoji(emojiIdentifier) {\n      let unicode = intermoji.unicodeFromIdentifier(emojiIdentifier);\n      this.get('inserterApi.insertCharacter')(unicode);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-row items-center gap-2\\\">\\n  <label class=\\\"t__label mr-4\\\">\\n    Add follow up actions\\n  </label>\\n  <IcOnOffToggle\\n    @isOn={{this.isFollowUpActionsToggleEnabled}}\\n    @onClick={{action \\\"toggleFollowUpActions\\\"}}\\n    data-test-follow-up-actions-toggle\\n  />\\n</div>\\n{{#if this.isFollowUpActionsToggleEnabled}}\\n  <div class=\\\"flex flex-row gap-2 mt-4\\\">\\n    <div class=\\\"mr-4\\\">\\n      <div class=\\\"flex items-start\\\">\\n        <div class=\\\"flex-auto min-w-0 if-this-then-that__main twk__message__editor__content__follow-up-actions__if-this-then-that o__one-line u__one-truncated-line\\\">\\n          {{#if @activeVariation.isTextReply}}\\n            If a person replies\\n          {{else if @activeVariation.isAttributeCollectorReply}}\\n            If email is collected\\n          {{/if}}\\n        </div>\\n        <div class=\\\"if-this-then-that__caret\\\">\\n          <svg xmlns=\\\"http://www.w3.org/2000/svg\\\" height=\\\"38\\\" viewBox=\\\"0 0 8 38\\\"><path class=\\\"if-this-then-that__caret__whiteout\\\" d=\\\"M0 0h.3c.4 0 .8.3.9.7l6.7 18c.1.2.1.5 0 .7l-6.7 18c-.1.3-.5.6-.9.6H0V0z\\\"/><path class=\\\"if-this-then-that__caret__stroke\\\" d=\\\"M.3 38H0v-1h.3L7 19 .3 1H0V0h.3c.4 0 .8.3.9.7l6.7 18c.1.2.1.5 0 .7l-6.7 18c-.1.3-.5.6-.9.6z\\\"/></svg>\\n        </div>\\n      </div>\\n    </div>\\n    <div class=\\\"flex flex-col justify-center gap-2\\\">\\n      {{#if @activeVariation.isTextReply}}\\n        {{#if this.isLeadQualificationEnabled}}\\n          <div>\\n            <IcFilterBlock\\n              @name=\\\"Trigger Operator's qualification task bot\\\"\\n              @icon=\\\"operator\\\"\\n              @isOneLine={{true}}\\n              @appearance=\\\"action\\\"\\n              @onDelete={{action \\\"removeLeadQualificationFollowUp\\\"}}\\n              data-test-follow-up-actions-lead-qualification\\n            >\\n              <IcTooltipIcon\\n                class='pr-4'\\n                @isInteractive={{true}}\\n                data-test-operator-lead-qualification-tooltip-icon\\n              >\\n                <div data-test-tooltip-text>\\n                  <p>\\n                    This task bot only triggers for leads.\\n                  </p>\\n                  <p>\\n                    You can control this task bot in\\n                  </p>\\n                  <a\\n                    href=\\\"{{href-to 'apps.app.operator.task-bots.leads' (query-params section='qualify-leads')}}\\\"\\n                    data-test-operator-lead-qualification-link\\n                  >\\n                    Operator settings.\\n                  </a>\\n                </div>\\n              </IcTooltipIcon>\\n            </IcFilterBlock>\\n          </div>\\n        {{/if}}\\n        {{#if this.isAnswerBotEnabled}}\\n          <div>\\n            <IcFilterBlock\\n              @name=\\\"Let Resolution Bot respond\\\"\\n              @icon=\\\"operator\\\"\\n              @isOneLine={{true}}\\n              @appearance=\\\"action\\\"\\n              @onDelete={{action \\\"removeAnswerBotFollowUp\\\"}}\\n              data-test-follow-up-actions-answer-bot\\n            />\\n          </div>\\n        {{/if}}\\n        {{#unless (and this.isLeadQualificationEnabled this.isAnswerBotEnabled)}}\\n        <div>\\n          <IcDropdownOpener\\n            @groupList={{this.followUpActionsForTextReply}}\\n            @onSelectItem={{action \\\"selectFollowUpAction\\\"}}\\n            >\\n              <a class=\\\"btn__tertiary\\\" data-test-follow-up-actions-add-action>\\n                {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add action\\n              </a>\\n            </IcDropdownOpener>\\n          </div>\\n        {{/unless}}\\n      {{else if @activeVariation.isAttributeCollectorReply}}\\n        {{#each this.rule.actions as |ruleAction index|}}\\n            {{component\\n              ruleAction.componentPath\\n              action=ruleAction\\n              actionEditorContext=(hash message=@message)\\n              onChange=this.onChange\\n              onDelete=(action \\\"removeRuleAction\\\" ruleAction)\\n              isDisabled=this.isDisabled\\n              data-test-attribute-reply-type-action=ruleAction\\n            }}\\n        {{/each}}\\n        {{#if (gt this.unusedActionIdentifiers.length 0)}}\\n          <IcDropdownOpener\\n            @label=\\\"More\\\"\\n            @groupList={{this.followUpActionsForAttributeCollectorReply}}\\n            @onSelectItem={{action \\\"addRuleAction\\\"}}\\n            @isDisabled={{this.isDisabled}}\\n          >\\n            <a class=\\\"btn__tertiary\\\" data-test-follow-up-actions-add-rule-action>\\n              {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add action\\n            </a>\\n          </IcDropdownOpener>\\n          {{/if}}\\n      {{/if}}\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-row items-center gap-2\\\">\\n  <label class=\\\"t__label mr-4\\\">\\n    Add follow up actions\\n  </label>\\n  <IcOnOffToggle\\n    @isOn={{this.isFollowUpActionsToggleEnabled}}\\n    @onClick={{action \\\"toggleFollowUpActions\\\"}}\\n    data-test-follow-up-actions-toggle\\n  />\\n</div>\\n{{#if this.isFollowUpActionsToggleEnabled}}\\n  <div class=\\\"flex flex-row gap-2 mt-4\\\">\\n    <div class=\\\"mr-4\\\">\\n      <div class=\\\"flex items-start\\\">\\n        <div class=\\\"flex-auto min-w-0 if-this-then-that__main twk__message__editor__content__follow-up-actions__if-this-then-that o__one-line u__one-truncated-line\\\">\\n          {{#if @activeVariation.isTextReply}}\\n            If a person replies\\n          {{else if @activeVariation.isAttributeCollectorReply}}\\n            If email is collected\\n          {{/if}}\\n        </div>\\n        <div class=\\\"if-this-then-that__caret\\\">\\n          <svg xmlns=\\\"http://www.w3.org/2000/svg\\\" height=\\\"38\\\" viewBox=\\\"0 0 8 38\\\"><path class=\\\"if-this-then-that__caret__whiteout\\\" d=\\\"M0 0h.3c.4 0 .8.3.9.7l6.7 18c.1.2.1.5 0 .7l-6.7 18c-.1.3-.5.6-.9.6H0V0z\\\"/><path class=\\\"if-this-then-that__caret__stroke\\\" d=\\\"M.3 38H0v-1h.3L7 19 .3 1H0V0h.3c.4 0 .8.3.9.7l6.7 18c.1.2.1.5 0 .7l-6.7 18c-.1.3-.5.6-.9.6z\\\"/></svg>\\n        </div>\\n      </div>\\n    </div>\\n    <div class=\\\"flex flex-col justify-center gap-2\\\">\\n      {{#if @activeVariation.isTextReply}}\\n        {{#if this.isLeadQualificationEnabled}}\\n          <div>\\n            <IcFilterBlock\\n              @name=\\\"Trigger Operator's qualification task bot\\\"\\n              @icon=\\\"operator\\\"\\n              @isOneLine={{true}}\\n              @appearance=\\\"action\\\"\\n              @onDelete={{action \\\"removeLeadQualificationFollowUp\\\"}}\\n              data-test-follow-up-actions-lead-qualification\\n            >\\n              <IcTooltipIcon\\n                class='pr-4'\\n                @isInteractive={{true}}\\n                data-test-operator-lead-qualification-tooltip-icon\\n              >\\n                <div data-test-tooltip-text>\\n                  <p>\\n                    This task bot only triggers for leads.\\n                  </p>\\n                  <p>\\n                    You can control this task bot in\\n                  </p>\\n                  <a\\n                    href=\\\"{{href-to 'apps.app.operator.task-bots.leads' (query-params section='qualify-leads')}}\\\"\\n                    data-test-operator-lead-qualification-link\\n                  >\\n                    Operator settings.\\n                  </a>\\n                </div>\\n              </IcTooltipIcon>\\n            </IcFilterBlock>\\n          </div>\\n        {{/if}}\\n        {{#if this.isAnswerBotEnabled}}\\n          <div>\\n            <IcFilterBlock\\n              @name=\\\"Let Resolution Bot respond\\\"\\n              @icon=\\\"operator\\\"\\n              @isOneLine={{true}}\\n              @appearance=\\\"action\\\"\\n              @onDelete={{action \\\"removeAnswerBotFollowUp\\\"}}\\n              data-test-follow-up-actions-answer-bot\\n            />\\n          </div>\\n        {{/if}}\\n        {{#unless (and this.isLeadQualificationEnabled this.isAnswerBotEnabled)}}\\n        <div>\\n          <IcDropdownOpener\\n            @groupList={{this.followUpActionsForTextReply}}\\n            @onSelectItem={{action \\\"selectFollowUpAction\\\"}}\\n            >\\n              <a class=\\\"btn__tertiary\\\" data-test-follow-up-actions-add-action>\\n                {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add action\\n              </a>\\n            </IcDropdownOpener>\\n          </div>\\n        {{/unless}}\\n      {{else if @activeVariation.isAttributeCollectorReply}}\\n        {{#each this.rule.actions as |ruleAction index|}}\\n            {{component\\n              ruleAction.componentPath\\n              action=ruleAction\\n              actionEditorContext=(hash message=@message)\\n              onChange=this.onChange\\n              onDelete=(action \\\"removeRuleAction\\\" ruleAction)\\n              isDisabled=this.isDisabled\\n              data-test-attribute-reply-type-action=ruleAction\\n            }}\\n        {{/each}}\\n        {{#if (gt this.unusedActionIdentifiers.length 0)}}\\n          <IcDropdownOpener\\n            @label=\\\"More\\\"\\n            @groupList={{this.followUpActionsForAttributeCollectorReply}}\\n            @onSelectItem={{action \\\"addRuleAction\\\"}}\\n            @isDisabled={{this.isDisabled}}\\n          >\\n            <a class=\\\"btn__tertiary\\\" data-test-follow-up-actions-add-rule-action>\\n              {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add action\\n            </a>\\n          </IcDropdownOpener>\\n          {{/if}}\\n      {{/if}}\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/content/follow-up-actions.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/follow-up-actions.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport { not, notEmpty, or, readOnly } from '@ember/object/computed';\nimport { RULE_ACTION_MAP } from 'embercom/lib/inbox/constants';\nimport { mapBy, setDiff } from '@ember/object/computed';\nimport { copy } from 'ember-copy';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  leadQualificationFollowUpAction: computed('isLeadQualificationEnabled', function() {\n    return {\n      text: \"Trigger Operator's qualification task bot\",\n      icon: 'operator',\n      value: 'lead-qualification',\n      isDisabled: this.isLeadQualificationButtonDisabled,\n      feature: 'operator_qualification',\n      component: 'content-editor/panels/content/follow-up-actions/dropdown-item',\n      operatorQualificationPanelIsDisabled: this.operatorQualificationPanelIsDisabled,\n    };\n  }),\n\n  answerBotFollowUpAction: computed('isAnswerBotEnabled', function() {\n    return {\n      text: `Let Resolution Bot respond`,\n      icon: 'operator',\n      value: 'answer-bot',\n      isDisabled: this.isAnswerBotButtonDisabled,\n      feature: 'answer_workflows',\n      component: 'content-editor/panels/content/follow-up-actions/dropdown-item',\n    };\n  }),\n\n  isLeadQualificationEnabled: readOnly('message.operatorLeadQualificationEnabled'),\n  isLeadQualificationProductFeatureDisabled: not('app.canUseOperatorQualifications'),\n  operatorQualificationPanelIsDisabled: not('operatorQualificationPanelIsEnabled'),\n  isLeadQualificationButtonDisabled: or(\n    'isLeadQualificationEnabled',\n    'isLeadQualificationProductFeatureDisabled',\n    'operatorQualificationPanelIsDisabled',\n  ),\n\n  isAnswerBotEnabled: readOnly('message.answerBotEnabled'),\n  isAnswerBotProductFeatureDisabled: not('app.hasAnswerBot'),\n  isAnswerBotButtonDisabled: or('isAnswerBotEnabled', 'isAnswerBotProductFeatureDisabled'),\n\n  rules: readOnly('message.followUpRules'),\n  rule: readOnly('rules.firstObject'),\n\n  hasFollowUpRules: notEmpty('rule.actions'),\n  hasNoFollowUpRules: not('hasFollowUpRules'),\n\n  isFollowUpActionsToggleEnabled: or(\n    'isLeadQualificationEnabled',\n    'isAnswerBotEnabled',\n    'hasFollowUpRules',\n  ),\n\n  followUpActionsForTextReply: computed(\n    'message.canHaveAnswerBotFollowup',\n    'leadQualificationFollowUpAction',\n    'answerBotFollowUpAction',\n    function() {\n      let followUpActions = [this.leadQualificationFollowUpAction];\n\n      if (this.get('message.canHaveAnswerBotFollowup')) {\n        followUpActions.push(this.answerBotFollowUpAction);\n      }\n\n      return [\n        {\n          items: followUpActions,\n        },\n      ];\n    },\n  ),\n\n  availableActionsForAttributeCollectorReply: computed('app.hasSalesforceIntegration', function() {\n    let followUpActions = ['send-follow-up-reply', 'tag-user'];\n    if (this.get('app.hasSalesforceIntegration')) {\n      followUpActions.push('send-to-salesforce');\n    }\n    return followUpActions;\n  }),\n\n  usedActionIdentifiers: mapBy('rule.actions', 'type'),\n  unusedActionIdentifiers: setDiff(\n    'availableActionsForAttributeCollectorReply',\n    'usedActionIdentifiers',\n  ),\n\n  followUpActionsForAttributeCollectorReply: computed(\n    'availableActionsGroupList.[]',\n    'usedActionIdentifiers.[]',\n    function() {\n      let items = this.availableActionsForAttributeCollectorReply\n        .map(ruleAction => RULE_ACTION_MAP[ruleAction])\n        .sortBy('order');\n      items = items.map(item => {\n        item.isDisabled = this.usedActionIdentifiers.includes(item.identifier);\n        return item;\n      });\n      return [{ items }];\n    },\n  ),\n\n  lastSetFollowUpRules: null,\n\n  actions: {\n    toggleFollowUpActions() {\n      if (this.isFollowUpActionsToggleEnabled) {\n        this.set('message.operatorLeadQualificationEnabled', false);\n        this.set('message.answerBotEnabled', false);\n        this.set('isFollowUpActionsToggleEnabled', false);\n        if (this.hasFollowUpRules) {\n          this.set('lastSetFollowUpRules', copy(this.get('rule.actions')));\n          this.set('rule.actions', []);\n        }\n      } else {\n        if (\n          this.get('activeVariation.isAttributeCollectorReply') &&\n          this.lastSetFollowUpRules &&\n          this.hasNoFollowUpRules\n        ) {\n          this.set('rule.actions', copy(this.lastSetFollowUpRules));\n        }\n        this.set('isFollowUpActionsToggleEnabled', true);\n      }\n    },\n    selectFollowUpAction(followUpAction) {\n      switch (followUpAction) {\n        case 'lead-qualification':\n          this.set('message.operatorLeadQualificationEnabled', true);\n          break;\n        case 'answer-bot':\n          this.set('message.answerBotEnabled', true);\n          break;\n      }\n    },\n    removeLeadQualificationFollowUp() {\n      this.set('message.operatorLeadQualificationEnabled', false);\n    },\n    removeAnswerBotFollowUp() {\n      this.set('message.answerBotEnabled', false);\n    },\n    addRuleAction(item) {\n      let actions = this.get('rule.actions');\n      let identifier = item.get('identifier');\n\n      actions.createFragment({\n        type: identifier,\n        justAdded: true,\n      });\n    },\n    removeRuleAction(action) {\n      let actions = this.get('rule.actions');\n      actions.removeFragment(action);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"layout__box o__flexes-to-1 o__has-rows u__pad__30 test__html-mode-wrapper-editor html-mode__editor\\\"\\n>\\n  <MessageEditor::Content::Email::Subject\\n    @variation={{variation}}\\n    @updateSubject={{action \\\"updateSubject\\\"}}\\n    @attributes={{allowedAttributes}}\\n    @formClasses=\\\"f__text\\\"\\n    class=\\\"message__editor__html-mode__subject o__editing\\\"\\n    @selectorClasses=\\\"ic-mirror-popup o__email-subject\\\"\\n    @isEditing={{isEditing}}\\n  />\\n  <div class=\\\"layout__box o__flexes-to-1 message__editor__html-mode__text-area\\\">\\n    <MessageEditor::Content::HtmlMode::TextArea\\n      @contentObject={{variation}}\\n      @value={{value}}\\n      @update={{action \\\"updateHTMLBlocks\\\"}}\\n      @attributes={{allowedAttributes}}\\n      @isFetchingHtml={{generateHtmlPreview.isRunning}}\\n    />\\n  </div>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <div class=\\\"t__light-text message__editor__html-mode__unsubscribe test__html-mode-unsubscribe\\\">\\n      Add an\\n      <code class=\\\"message__editor__html-mode__unsubscribe-code\\\">\\\\{{unsubscribe_link}}</code> or\\n      <code class=\\\"message__editor__html-mode__unsubscribe-code\\\">\\\\{{unsubscribe_url}}</code> to the body of your HTML\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/engaging-your-users-and-visitors/send-emails-that-work/a-guide-to-creating-html-emails\\\"\\n        @title=\\\"Learn more\\\"\\n        @type=\\\"article\\\"\\n        @linkStyling=\\\"inline\\\"\\n      />\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"layout__box o__flexes-to-1 o__has-rows u__pad__30 test__html-mode-wrapper-editor html-mode__editor\\\"\\n>\\n  <MessageEditor::Content::Email::Subject\\n    @variation={{variation}}\\n    @updateSubject={{action \\\"updateSubject\\\"}}\\n    @attributes={{allowedAttributes}}\\n    @formClasses=\\\"f__text\\\"\\n    class=\\\"message__editor__html-mode__subject o__editing\\\"\\n    @selectorClasses=\\\"ic-mirror-popup o__email-subject\\\"\\n    @isEditing={{isEditing}}\\n  />\\n  <div class=\\\"layout__box o__flexes-to-1 message__editor__html-mode__text-area\\\">\\n    <MessageEditor::Content::HtmlMode::TextArea\\n      @contentObject={{variation}}\\n      @value={{value}}\\n      @update={{action \\\"updateHTMLBlocks\\\"}}\\n      @attributes={{allowedAttributes}}\\n      @isFetchingHtml={{generateHtmlPreview.isRunning}}\\n    />\\n  </div>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <div class=\\\"t__light-text message__editor__html-mode__unsubscribe test__html-mode-unsubscribe\\\">\\n      Add an\\n      <code class=\\\"message__editor__html-mode__unsubscribe-code\\\">\\\\{{unsubscribe_link}}</code> or\\n      <code class=\\\"message__editor__html-mode__unsubscribe-code\\\">\\\\{{unsubscribe_url}}</code> to the body of your HTML\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/engaging-your-users-and-visitors/send-emails-that-work/a-guide-to-creating-html-emails\\\"\\n        @title=\\\"Learn more\\\"\\n        @type=\\\"article\\\"\\n        @linkStyling=\\\"inline\\\"\\n      />\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/content/html-mode/editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/html-mode/editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport RunMixin from 'ember-lifeline/mixins/run';\nimport { encodeUriAttributes } from '@intercom/embercom-composer/lib/attribute-encoding';\nimport splitHtml from '@intercom/embercom-composer/lib/split-html';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport ENV from 'embercom/config/environment';\nimport createFragmentFromBlock from 'embercom/lib/blocks/create-fragment-from-block';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\n\nexport default Component.extend(RunMixin, {\n  classNames: ['message-editor-content-html-mode-editor'],\n  messageMutationService: service(),\n  attributeService: service(),\n  store: service(),\n\n  allowedAttributes: ternaryToProperty(\n    'variation.message.isVisitorAutoMessage',\n    'attributeService.vamEditorAttributes',\n    'attributeService.userEditorAttributes',\n  ),\n\n  _mutateMessage(value, key, contextMethod) {\n    let context = {\n      location: Object.getPrototypeOf(this)._debugContainerKey,\n      method: contextMethod,\n    };\n    let mutation = {\n      command: MUTATIONS.setValue,\n      key: `${this.get('variation.nameOfMessageRelationship')}.${key}`,\n      data: value,\n      context,\n    };\n    this.messageMutationService.performMutations(this.get('variation.message'), [mutation]);\n  },\n  _updateHTMLBlocks(value) {\n    encodeUriAttributes(value);\n    let splitTemplate = splitHtml(value);\n    let htmlBlock = {\n      type: 'html',\n      content: splitTemplate.content,\n      footer: splitTemplate.footer,\n      header: splitTemplate.header,\n    };\n    this._mutateMessage(\n      [createFragmentFromBlock(this.store, htmlBlock)],\n      'blocks',\n      this.actions.updateHTMLBlocks.name,\n    );\n  },\n\n  actions: {\n    updateHTMLBlocks(value) {\n      this.fetchDebouncedPreview();\n      this.debounceTask('_updateHTMLBlocks', value, ENV.APP._50MS);\n    },\n    updateSubject(value) {\n      this.fetchDebouncedPreview();\n      encodeUriAttributes(value);\n      this._mutateMessage(value, 'subject', this.actions.updateSubject.name);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isFetchingHtml}}\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-all\\\">\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n  </div>\\n{{else}}\\n  <div\\n    class=\\\"layout__box o__has-rows o__flexes-to-1 u__pad__30 message__editor__html-mode__preview test__html-mode-wrapper-preview {{if (eq\\n        previewMode \\\"mobileMode\\\"\\n      ) \\\"o__mobile-mode\\\"}}\\\"\\n  >\\n    <iframe\\n      srcdoc=\\\"<h2><b>{{html.subject}}</b></h2>\\\"\\n      width=\\\"100%\\\"\\n      height=\\\"50px\\\"\\n      class=\\\"message__editor__html-mode__subject test__html-mode-preview-iframe-subject\\\"\\n      frameBorder=\\\"0\\\"\\n      sandbox\\n      scrolling=\\\"no\\\"\\n    ></iframe>\\n    <hr class=\\\"sp__hr\\\" />\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n      <iframe\\n        srcdoc=\\\"<b>{{from}}</b>\\\"\\n        width=\\\"100%\\\"\\n        height=\\\"24px\\\"\\n        class=\\\"message__editor__html-mode__from test__html-mode-preview-iframe-from\\\"\\n        frameBorder=\\\"0\\\"\\n        sandbox\\n        scrolling=\\\"no\\\"\\n      ></iframe>\\n      <iframe\\n        srcdoc=\\\"{{html.body}}\\\"\\n        width=\\\"100%\\\"\\n        height=\\\"600px\\\"\\n        class=\\\"test__html-mode-preview-iframe-body\\\"\\n        frameBorder=\\\"0\\\"\\n        sandbox\\n      ></iframe>\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isFetchingHtml}}\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-all\\\">\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n  </div>\\n{{else}}\\n  <div\\n    class=\\\"layout__box o__has-rows o__flexes-to-1 u__pad__30 message__editor__html-mode__preview test__html-mode-wrapper-preview {{if (eq\\n        previewMode \\\"mobileMode\\\"\\n      ) \\\"o__mobile-mode\\\"}}\\\"\\n  >\\n    <iframe\\n      srcdoc=\\\"<h2><b>{{html.subject}}</b></h2>\\\"\\n      width=\\\"100%\\\"\\n      height=\\\"50px\\\"\\n      class=\\\"message__editor__html-mode__subject test__html-mode-preview-iframe-subject\\\"\\n      frameBorder=\\\"0\\\"\\n      sandbox\\n      scrolling=\\\"no\\\"\\n    ></iframe>\\n    <hr class=\\\"sp__hr\\\" />\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n      <iframe\\n        srcdoc=\\\"<b>{{from}}</b>\\\"\\n        width=\\\"100%\\\"\\n        height=\\\"24px\\\"\\n        class=\\\"message__editor__html-mode__from test__html-mode-preview-iframe-from\\\"\\n        frameBorder=\\\"0\\\"\\n        sandbox\\n        scrolling=\\\"no\\\"\\n      ></iframe>\\n      <iframe\\n        srcdoc=\\\"{{html.body}}\\\"\\n        width=\\\"100%\\\"\\n        height=\\\"600px\\\"\\n        class=\\\"test__html-mode-preview-iframe-body\\\"\\n        frameBorder=\\\"0\\\"\\n        sandbox\\n      ></iframe>\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/content/html-mode/preview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/html-mode/preview.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showAttributeSelector}}\\n  <InputAttributeSelectorComponent\\n    class=\\\"ic-mirror-popup z__2 o__html-mode__text-area\\\"\\n    @attributes={{attributes}}\\n    @addAttribute={{action \\\"addAttribute\\\"}}\\n    @attributesAreVisible={{attributePopoverIsShown}}\\n  />\\n{{/if}}\\n{{partial layoutName}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showAttributeSelector}}\\n  <InputAttributeSelectorComponent\\n    class=\\\"ic-mirror-popup z__2 o__html-mode__text-area\\\"\\n    @attributes={{attributes}}\\n    @addAttribute={{action \\\"addAttribute\\\"}}\\n    @attributesAreVisible={{attributePopoverIsShown}}\\n  />\\n{{/if}}\\n{{partial layoutName}}\\n\",\"moduleName\":\"embercom/components/message-editor/content/html-mode/text-area.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/html-mode/text-area.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport CodeTextArea from 'embercom/components/common/code-text-area';\nimport AttributeInputInserter from 'embercom/components/mixins/attribute-input-inserter';\n\nconst PLACEHOLDER = '_REPLACE_THIS_';\n\nexport default CodeTextArea.extend(AttributeInputInserter, {\n  layoutName: 'components/common/code-text-area',\n  showAttributeSelector: true,\n  didReceiveAttrs() {\n    this._super(...arguments);\n    if (this.previousContentObject && this.previousContentObject !== this.contentObject) {\n      this._setCodeMirrorValue(this.value);\n    }\n    this.set('previousContentObject', this.contentObject);\n  },\n\n  _setCodeMirrorValue(value) {\n    this.codeMirrorEditor.setValue(value);\n  },\n\n  _getSplicedAttribute(attribute) {\n    let cursorPosition = this.codeMirrorEditor.getCursor();\n    let splitValue = this.value.split('\\n');\n    let lineValue = splitValue[cursorPosition.line];\n    let renderedAttribute = this.createAttributeTemplate(attribute, PLACEHOLDER);\n    splitValue[cursorPosition.line] =\n      lineValue.substr(0, cursorPosition.ch) +\n      renderedAttribute +\n      lineValue.substr(cursorPosition.ch, lineValue.length - 1);\n    return splitValue.join('\\n');\n  },\n\n  actions: {\n    addAttribute(attribute) {\n      this._setCodeMirrorValue(this._getSplicedAttribute(attribute));\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isEditing}}\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__has-columns u__pad__20 o__centers-all\\\"\\n  >\\n    <IcButton\\n      @label=\\\"HTML code\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action \\\"setViewMode\\\" \\\"editMode\\\"}}\\n      @testBindingClass=\\\"test__html-mode-wrapper-edit-mode\\\"\\n    />\\n    <IcButton\\n      @label=\\\"Desktop\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action \\\"setViewMode\\\" \\\"desktopMode\\\"}}\\n      @testBindingClass=\\\"test__html-mode-wrapper-desktop-mode\\\"\\n    />\\n    <IcButton\\n      @label=\\\"Mobile\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action \\\"setViewMode\\\" \\\"mobileMode\\\"}}\\n      @testBindingClass=\\\"test__html-mode-wrapper-mobile-mode\\\"\\n    />\\n  </div>\\n{{/if}}\\n{{#if (and isEditing editMode)}}\\n  <MessageEditor::Content::HtmlMode::Editor\\n    @variation={{variation}}\\n    @value={{value}}\\n    @isEditing={{isEditing}}\\n    @generateHtmlPreview={{generateHtmlPreview}}\\n    @setViewMode={{action \\\"setViewMode\\\"}}\\n    @fetchDebouncedPreview={{action \\\"fetchDebouncedPreview\\\"}}\\n  />\\n{{else}}\\n  <div class=\\\"u__pad__30\\\">\\n    <MessageEditor::Content::HtmlMode::Preview\\n      @html={{variation.htmlPreview}}\\n      @from={{variation.fromDisplayAs}}\\n      @fromEmail={{variation.from.email}}\\n      @previewMode={{previewMode}}\\n      @isFetchingHtml={{generateHtmlPreview.isRunning}}\\n    />\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isEditing}}\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__has-columns u__pad__20 o__centers-all\\\"\\n  >\\n    <IcButton\\n      @label=\\\"HTML code\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action \\\"setViewMode\\\" \\\"editMode\\\"}}\\n      @testBindingClass=\\\"test__html-mode-wrapper-edit-mode\\\"\\n    />\\n    <IcButton\\n      @label=\\\"Desktop\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action \\\"setViewMode\\\" \\\"desktopMode\\\"}}\\n      @testBindingClass=\\\"test__html-mode-wrapper-desktop-mode\\\"\\n    />\\n    <IcButton\\n      @label=\\\"Mobile\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action \\\"setViewMode\\\" \\\"mobileMode\\\"}}\\n      @testBindingClass=\\\"test__html-mode-wrapper-mobile-mode\\\"\\n    />\\n  </div>\\n{{/if}}\\n{{#if (and isEditing editMode)}}\\n  <MessageEditor::Content::HtmlMode::Editor\\n    @variation={{variation}}\\n    @value={{value}}\\n    @isEditing={{isEditing}}\\n    @generateHtmlPreview={{generateHtmlPreview}}\\n    @setViewMode={{action \\\"setViewMode\\\"}}\\n    @fetchDebouncedPreview={{action \\\"fetchDebouncedPreview\\\"}}\\n  />\\n{{else}}\\n  <div class=\\\"u__pad__30\\\">\\n    <MessageEditor::Content::HtmlMode::Preview\\n      @html={{variation.htmlPreview}}\\n      @from={{variation.fromDisplayAs}}\\n      @fromEmail={{variation.from.email}}\\n      @previewMode={{previewMode}}\\n      @isFetchingHtml={{generateHtmlPreview.isRunning}}\\n    />\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/content/html-mode/wrapper.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/html-mode/wrapper.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { cancel, debounce } from '@ember/runloop';\nimport { reads } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport ENV from 'embercom/config/environment';\n\nexport default Component.extend({\n  editMode: true,\n  desktopMode: false,\n  mobileMode: false,\n  previewMode: 'desktopMode',\n  value: reads('variation.blocks.firstObject.combinedHtml'),\n  generatePreviewTimer: null,\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.runPreviewTask();\n  },\n\n  willDestroyElement() {\n    cancel(this.generatePreviewTimer);\n    this._super(...arguments);\n  },\n\n  runPreviewTask() {\n    this.generateHtmlPreview.perform(this.variation);\n  },\n\n  actions: {\n    setViewMode(view) {\n      this.setProperties({ editMode: false, desktopMode: false, mobileMode: false });\n      this.set(view, true);\n      this.set('previewMode', view);\n    },\n    fetchDebouncedPreview() {\n      this.set('generatePreviewTimer', debounce(this, this.runPreviewTask, ENV.APP._3000MS));\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<AppFramework::MessengerApps::Inserter::AppConfigurator\\n  @messengerApps={{messengerApps}}\\n  @initializeType=\\\"card\\\"\\n  @contextualData={{contextualData}}\\n  @insertAction={{action \\\"insertMessengerCard\\\"}}\\n  @inserterTitle=\\\"Insert into message\\\"\\n  @capability=\\\"messages\\\"\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<AppFramework::MessengerApps::Inserter::AppConfigurator\\n  @messengerApps={{messengerApps}}\\n  @initializeType=\\\"card\\\"\\n  @contextualData={{contextualData}}\\n  @insertAction={{action \\\"insertMessengerCard\\\"}}\\n  @inserterTitle=\\\"Insert into message\\\"\\n  @capability=\\\"messages\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/message-editor/content/in-app/app-inserter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/in-app/app-inserter.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  tagName: '',\n  intercomEventService: service(),\n  appstoreService: service(),\n  didInsertElement() {\n    this._super(...arguments);\n    this.appstoreService.dismissAppInstallNotifications.perform('messages');\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'opened',\n      object: 'messenger_app_inserter',\n      message_id: this.get('variation.message.id'),\n      message_variation_id: this.get('variation.id'),\n    });\n  },\n\n  contextualData: computed('variation', function() {\n    return {\n      message_id: this.get('variation.message.id'),\n      message_variation_id: this.get('variation.id'),\n      location: 'message',\n    };\n  }),\n\n  actions: {\n    insertMessengerCard(cardJSON) {\n      this.get('inserterApi.createBlock')('messengerCard', cardJSON);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::Content::InApp::Styles @appColor={{appBaseColor}} />\\n<div\\n  id=\\\"embedded_messenger\\\"\\n  class=\\\"{{unless isEditable \\\"o__read-only\\\"}} test__messenger\\\"\\n>\\n  {{#if (or isWeb isVideo)}}\\n    {{partial \\\"components/message-editor/content/in-app/partials/web/messenger\\\"}}\\n  {{else if isAndroid}}\\n    {{partial \\\"components/message-editor/content/in-app/partials/android/messenger\\\"}}\\n  {{else if isIos}}\\n    {{partial \\\"components/message-editor/content/in-app/partials/ios/messenger\\\"}}\\n  {{else}}\\n    {{yield}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::Content::InApp::Styles @appColor={{appBaseColor}} />\\n<div\\n  id=\\\"embedded_messenger\\\"\\n  class=\\\"{{unless isEditable \\\"o__read-only\\\"}} test__messenger\\\"\\n>\\n  {{#if (or isWeb isVideo)}}\\n    {{partial \\\"components/message-editor/content/in-app/partials/web/messenger\\\"}}\\n  {{else if isAndroid}}\\n    {{partial \\\"components/message-editor/content/in-app/partials/android/messenger\\\"}}\\n  {{else if isIos}}\\n    {{partial \\\"components/message-editor/content/in-app/partials/ios/messenger\\\"}}\\n  {{else}}\\n    {{yield}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/content/in-app/chrome.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/in-app/chrome.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { isPresent } from '@ember/utils';\nimport { htmlSafe } from '@ember/string';\nimport { A } from '@ember/array';\nimport { computed, get } from '@ember/object';\nimport { notEmpty, readOnly, and, gt, lt, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport {\n  htmlSafe as computedHtmlSafe,\n  slice,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport DeviceType from 'embercom/components/mixins/device-type';\nimport intermoji from '@intercom/intermoji';\nimport generateSummary from 'embercom/lib/messages/generate-summary';\nimport renderPreview from '@intercom/embercom-composer/lib/render-preview';\n\nexport default Component.extend(DeviceType, {\n  classNames: ['layout__box', 'o__has-rows', 'test__message__editor__web__chrome'],\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  variation: null,\n  message: readOnly('variation.message'),\n  deliveryPreviewEnabled: false,\n  dataPreviewEnabled: false,\n\n  deviceType: 'web',\n  currentDevice: readOnly('deviceType'),\n  messageStyleName: readOnly('variation.messageStyleName'),\n  messageType: readOnly('message.type'),\n  lastActiveString: 'Active',\n\n  appName: readOnly('app.name'),\n  appBaseColor: readOnly('app.base_color'),\n\n  from: readOnly('variation.from'),\n  adminName: readOnly('from.firstNameOrNameOrEmail'),\n  adminAvatarUrl: readOnly('from.avatar.image_urls.square_50'),\n  adminFirstName: computed('adminName', function() {\n    return (this.adminName || 'Unknown').split(' ')[0];\n  }),\n  isFromTeam: readOnly('from.isTeam'),\n  displayName: ternaryToProperty('isFromTeam', 'adminName', 'adminFirstName'),\n  adminFirstInitial: slice('adminFirstName', 0, 1),\n  team: computed('isFromTeam', 'from.member_ids', 'app.admins.[]', function() {\n    let team = A();\n    if (this.isFromTeam) {\n      let messageAdmins = this.get('from.member_ids').slice(0, 3);\n      team = messageAdmins.map(messageAdmin => {\n        let admin = this.get('app.admins').findBy('id', messageAdmin.toString());\n        if (!admin) {\n          return null;\n        }\n\n        let url = admin.get('avatar.image_urls.square_50') || '';\n\n        return {\n          url: url.includes('default-avatars') ? '' : url,\n          first_name: admin.get('first_name'),\n        };\n      });\n    }\n    return team.compact();\n  }),\n\n  isChat: readOnly('variation.isChat'),\n  isNote: readOnly('variation.isNote'),\n  isPointer: readOnly('variation.isPointer'),\n  isPost: readOnly('variation.isPost'),\n  isVideo: readOnly('variation.isVideo'),\n  isMaximized: false,\n  badgePreview: readOnly('variation.isBadge'),\n  snippetPreview: readOnly('variation.isSummary'),\n  fullPreview: readOnly('variation.isFull'),\n  previewBadge: and('deliveryPreviewEnabled', 'badgePreview'),\n  previewSnippet: and('deliveryPreviewEnabled', 'snippetPreview'),\n  previewFull: and('deliveryPreviewEnabled', 'fullPreview'),\n  isReactionsReply: readOnly('variation.isReactionsReply'),\n  isTextReply: readOnly('variation.isTextReply'),\n  isAttributeCollectorReply: readOnly('variation.isAttributeCollectorReply'),\n  reactions: readOnly('variation.reactions'),\n  reactionsWithDisplay: computed('reactions.@each.unicodeEmoticon', function() {\n    return this.reactions.map(reaction => ({\n      index: get(reaction, 'index'),\n      unicodeEmoticon: get(reaction, 'unicodeEmoticon'),\n      display: htmlSafe(\n        intermoji.wrapUnicodeEmojiInTitledSpans(\n          32,\n          get(reaction, 'unicodeEmoticon'),\n          'reaction-picker-popover__image o__large',\n        ),\n      ),\n    }));\n  }),\n  nextReactionIndex: readOnly('reactions.length'),\n  canHaveLessReactions: gt('reactions.length', 2),\n  canHaveAdditionalReactions: lt('reactions.length', 5),\n  enableReactionPicker: not('deliveryPreviewEnabled'),\n  shouldShowReactionAdder: and('enableReactionPicker', 'canHaveAdditionalReactions'),\n\n  hasVideoBlock: computed('variation.blocks.[]', function() {\n    let blockCount = this.get('variation.blocks.length');\n    if (blockCount === 1) {\n      let videoFileBlock = this.get('variation.blocks.firstObject');\n      return videoFileBlock.get('type') === 'videoFile' && isPresent(videoFileBlock.get('url'));\n    }\n    return false;\n  }),\n  hasVideoContent: and('isVideo', 'hasVideoBlock'),\n  videoUrl: ternaryToProperty('hasVideoContent', 'variation.blocks.firstObject.url', ''),\n\n  combinedText: computed('variation.blocks.[]', 'previewContext', function() {\n    let text = generateSummary(this.get('variation.blocks'));\n    return renderPreview(text, this.previewContext);\n  }),\n  combinedTextHtml: computedHtmlSafe('combinedText'),\n  replyOptions: readOnly('variation.replyOptions'),\n  hasReplyOptions: notEmpty('replyOptions'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessengerPreview::Styles @configuration={{this.previewConfiguration}} />\\n<MessageEditor::Content::InApp::Chrome\\n  @variation={{variation}}\\n  @deviceType={{currentDevice}}\\n  @isEditable={{isEditable}}\\n  @isMaximized={{isMaximized}}\\n  @deliveryPreviewEnabled={{deliveryPreviewEnabled}}\\n  @dataPreviewEnabled={{dataPreviewEnabled}}\\n  @disableDeliveryPreview={{action (optional disableDeliveryPreview)}}\\n  @toggleDataPreview={{toggleDataPreview}}\\n  @updateReaction={{action \\\"updateReaction\\\"}}\\n  @deleteReaction={{action \\\"deleteReaction\\\"}}\\n>\\n  <ComposerV2\\n    @id=\\\"intercom_composer\\\"\\n    @app={{app}}\\n    @attributes={{attributes}}\\n    @isReadOnly={{not isEditable}}\\n    @actionReceiver={{composer}}\\n    @preset={{preset}}\\n    @blocks={{serializedBlocks}}\\n    @isPreviewMode={{dataPreviewEnabled}}\\n    @viewportSelector=\\\".js__message__editor__content__editor\\\"\\n    @previewContext={{variation.message.sampleUser.context}}\\n    @onChange={{action \\\"updateBlocks\\\"}}\\n    @onError={{composer-error-logger \\\"Messages\\\"}}\\n    @startedUploading={{action \\\"onComposerUploadStart\\\"}}\\n    @finishedUploading={{action \\\"onComposerUploadFinish\\\"}}\\n    @errorUploading={{action \\\"onComposerUploadError\\\"}}\\n    @inserters={{array\\n      (component\\n        \\\"composer-inserter\\\"\\n        data-test-composer-inserter=\\\"emoji\\\"\\n        data=(hash\\n          icon=\\\"lwr-happy\\\"\\n          title=\\\"Insert emoji\\\"\\n          configurator=(component \\\"message-editor/content/emoji-inserter\\\")\\n        )\\n      )\\n      (component\\n        \\\"composer-inserter\\\"\\n        data-test-composer-inserter=\\\"messenger-app\\\"\\n        data=(hash\\n          icon=\\\"app-store\\\"\\n          title=\\\"Insert app\\\"\\n          configurator=(component\\n            \\\"message-editor/content/in-app/app-inserter\\\"\\n            messengerApps=messengerApps\\n            variation=variation\\n            inserterTitle=\\\"Insert into message\\\"\\n            capability=\\\"messages\\\"\\n          )\\n        )\\n      )\\n      (if\\n        shouldShowTourInserter\\n        (component\\n          \\\"composer-inserter\\\"\\n          data-test-composer-inserter=\\\"tour\\\"\\n          data=(hash\\n            icon=\\\"product-tours\\\"\\n            title=\\\"Insert tour\\\"\\n            configurator=(component\\n              \\\"tours/tour-inserter\\\"\\n              toursMessengerApp=toursMessengerApp\\n              contextualData=tourInserterContext\\n            )\\n          )\\n        )\\n      )\\n    }}\\n    data-test-preset={{preset}}\\n  />\\n</MessageEditor::Content::InApp::Chrome>\\n{{#if\\n  (and\\n    isEditable\\n    (not variation.isVideo)\\n    (not variation.isPointer)\\n    (not variation.message.isVisitorAutoMessage)\\n    (not hideDeviceSwitcher)\\n  )\\n}}\\n  <MessageEditor::Content::PreviewDeviceSwitcher\\n    @message={{variation.message}}\\n    @currentDevice={{currentDevice}}\\n    @changePreviewDevice={{action \\\"changePreviewDevice\\\"}}\\n    class=\\\"test__preview-device-switcher\\\"\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessengerPreview::Styles @configuration={{this.previewConfiguration}} />\\n<MessageEditor::Content::InApp::Chrome\\n  @variation={{variation}}\\n  @deviceType={{currentDevice}}\\n  @isEditable={{isEditable}}\\n  @isMaximized={{isMaximized}}\\n  @deliveryPreviewEnabled={{deliveryPreviewEnabled}}\\n  @dataPreviewEnabled={{dataPreviewEnabled}}\\n  @disableDeliveryPreview={{action (optional disableDeliveryPreview)}}\\n  @toggleDataPreview={{toggleDataPreview}}\\n  @updateReaction={{action \\\"updateReaction\\\"}}\\n  @deleteReaction={{action \\\"deleteReaction\\\"}}\\n>\\n  <ComposerV2\\n    @id=\\\"intercom_composer\\\"\\n    @app={{app}}\\n    @attributes={{attributes}}\\n    @isReadOnly={{not isEditable}}\\n    @actionReceiver={{composer}}\\n    @preset={{preset}}\\n    @blocks={{serializedBlocks}}\\n    @isPreviewMode={{dataPreviewEnabled}}\\n    @viewportSelector=\\\".js__message__editor__content__editor\\\"\\n    @previewContext={{variation.message.sampleUser.context}}\\n    @onChange={{action \\\"updateBlocks\\\"}}\\n    @onError={{composer-error-logger \\\"Messages\\\"}}\\n    @startedUploading={{action \\\"onComposerUploadStart\\\"}}\\n    @finishedUploading={{action \\\"onComposerUploadFinish\\\"}}\\n    @errorUploading={{action \\\"onComposerUploadError\\\"}}\\n    @inserters={{array\\n      (component\\n        \\\"composer-inserter\\\"\\n        data-test-composer-inserter=\\\"emoji\\\"\\n        data=(hash\\n          icon=\\\"lwr-happy\\\"\\n          title=\\\"Insert emoji\\\"\\n          configurator=(component \\\"message-editor/content/emoji-inserter\\\")\\n        )\\n      )\\n      (component\\n        \\\"composer-inserter\\\"\\n        data-test-composer-inserter=\\\"messenger-app\\\"\\n        data=(hash\\n          icon=\\\"app-store\\\"\\n          title=\\\"Insert app\\\"\\n          configurator=(component\\n            \\\"message-editor/content/in-app/app-inserter\\\"\\n            messengerApps=messengerApps\\n            variation=variation\\n            inserterTitle=\\\"Insert into message\\\"\\n            capability=\\\"messages\\\"\\n          )\\n        )\\n      )\\n      (if\\n        shouldShowTourInserter\\n        (component\\n          \\\"composer-inserter\\\"\\n          data-test-composer-inserter=\\\"tour\\\"\\n          data=(hash\\n            icon=\\\"product-tours\\\"\\n            title=\\\"Insert tour\\\"\\n            configurator=(component\\n              \\\"tours/tour-inserter\\\"\\n              toursMessengerApp=toursMessengerApp\\n              contextualData=tourInserterContext\\n            )\\n          )\\n        )\\n      )\\n    }}\\n    data-test-preset={{preset}}\\n  />\\n</MessageEditor::Content::InApp::Chrome>\\n{{#if\\n  (and\\n    isEditable\\n    (not variation.isVideo)\\n    (not variation.isPointer)\\n    (not variation.message.isVisitorAutoMessage)\\n    (not hideDeviceSwitcher)\\n  )\\n}}\\n  <MessageEditor::Content::PreviewDeviceSwitcher\\n    @message={{variation.message}}\\n    @currentDevice={{currentDevice}}\\n    @changePreviewDevice={{action \\\"changePreviewDevice\\\"}}\\n    class=\\\"test__preview-device-switcher\\\"\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/content/in-app/editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/in-app/editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { A } from '@ember/array';\nimport { computed, set } from '@ember/object';\nimport { notEmpty, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { copy } from 'ember-copy';\nimport EditorBase from 'embercom/components/message-editor/content/editor-base';\nimport DeviceType from 'embercom/components/mixins/device-type';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\n\nconst INTERCOM_TOURS_PACKAGE_ID = 'intercom-tours';\n\nexport default EditorBase.extend(DeviceType, {\n  appService: service(),\n  app: readOnly('appService.app'),\n  store: service(),\n  'data-test-message-editor': readOnly('currentDevice'),\n  currentDevice: 'web',\n  classNames: ['layout__box', 'o__flexes-to-1'],\n  classNameBindings: ['noPadding::u__pad__50'],\n  deliveryPreviewEnabled: false,\n  dataPreviewEnabled: false,\n  messengerApps: [],\n  hideDeviceSwitcher: false,\n\n  toursMessengerApp: computed('messengerApps', function() {\n    return this.messengerApps.find(app => app.app_package_id === INTERCOM_TOURS_PACKAGE_ID);\n  }),\n\n  tourInserterAppInstalled: notEmpty('toursMessengerApp'),\n  shouldShowTourInserter: readOnly('tourInserterAppInstalled'),\n  tourInserterContext: computed('variation', function() {\n    return {\n      message_id: this.get('variation.message.id'),\n      message_variation_id: this.get('variation.id'),\n      location: 'message',\n    };\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.fetchMessengerApps.perform();\n\n    this.set(\n      'previewConfiguration',\n      this.store.createFragment('messenger-preview/configuration', {\n        locale: 'en',\n        backgroundPatternNumber: 1,\n        logoURL: '/assets/images/error/intercom-logo.png',\n        appPrimaryColor: '#808080',\n        appSecondaryColor: '#e3e3e3',\n        greetingText: 'Hi there 👋',\n        aboutUsText: `We're always happy to help!`,\n        messengerResponseTimeKey: 'a_few_minutes',\n        showWeRunOnIntercom: true,\n        inboundConversationsEnabledForUsers: false,\n        inboundConversationsEnabledForVisitors: false,\n        launcherVisibleForUsers: true,\n        launcherVisibleForVisitors: true,\n      }),\n    );\n\n    if (this.get('variation.isPointer') || this.get('variation.message.isTargetingLeads')) {\n      this.set('currentDevice', 'web');\n    } else if (this.get('variation.message.isAndroidFirst')) {\n      this.set('currentDevice', 'android');\n    } else if (this.get('variation.message.isIOSFirst')) {\n      this.set('currentDevice', 'ios');\n    }\n  },\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    if (this.get('variation.isPointer') || this.get('variation.message.isTargetingLeads')) {\n      this.set('currentDevice', 'web');\n    }\n  },\n  _getReactionsAfterUpdate(newReaction) {\n    let updatedReactions = copy(this.get('variation.reactions')).map((reaction, index) => {\n      return index === newReaction.index ? newReaction : reaction;\n    });\n    if (newReaction.index === undefined) {\n      newReaction.index = updatedReactions.get('length');\n      updatedReactions.pushObject(newReaction);\n    }\n    return updatedReactions;\n  },\n  _getReactionsAfterDelete(reactionIndex) {\n    let copiedReactions = copy(this.get('variation.reactions'));\n    let previousReaction = copiedReactions.findBy('index', reactionIndex);\n    copiedReactions.removeObject(previousReaction);\n    copiedReactions.forEach((reaction, index) => set(reaction, 'index', index));\n    return copiedReactions;\n  },\n  fetchMessengerApps: task(function*() {\n    let messengerApps = yield this.store.query('messenger-app', { restrict_to: 'messages' });\n    this.set('messengerApps', messengerApps);\n  }),\n\n  actions: {\n    updateReaction(newReaction) {\n      let context = {\n        location: Object.getPrototypeOf(this)._debugContainerKey,\n        method: this.actions.updateReaction.name,\n      };\n      this.messageMutationService.performMutations(\n        this.get('variation.message'),\n        A([\n          {\n            command: MUTATIONS.setValue,\n            key: `${this.get('variation.nameOfMessageRelationship')}.reactions`,\n            data: this._getReactionsAfterUpdate(newReaction),\n            context,\n          },\n        ]),\n      );\n      this.setLastReactions(this.get('variation.reactions'));\n    },\n    deleteReaction(reactionIndex) {\n      let context = {\n        location: Object.getPrototypeOf(this)._debugContainerKey,\n        method: this.actions.deleteReaction.name,\n      };\n      this.messageMutationService.performMutations(\n        this.get('variation.message'),\n        A([\n          {\n            command: MUTATIONS.setValue,\n            key: `${this.get('variation.nameOfMessageRelationship')}.reactions`,\n            data: this._getReactionsAfterDelete(reactionIndex),\n            context,\n          },\n        ]),\n      );\n      this.setLastReactions(this.get('variation.reactions'));\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500);\\n\\n{{stylesheetBody}}\\n\\n#embedded_messenger .intercom-note-body a.intercom-h2b-button,\\n#embedded_messenger .intercom-post-body a.intercom-h2b-button {\\n  text-decoration: none;\\n}\\n\\n#embedded_messenger .snippet-mobile-from,\\n#embedded_messenger .mobile-messenger__navigation-text {\\n  color: {{applicationColors.base}};\\n}\\n\\n#embedded_messenger .camera-app-color {\\n  stroke: {{applicationColors.base}};\\n}\\n\\n#embedded_messenger .intercom-launcher,\\n#embedded_messenger .intercom-text-input-submit-button,\\n#embedded_messenger .mobile-messenger__header.o__android.o__chat {\\n  background-color: {{applicationColors.base}};\\n}\\n\\n#embedded_messenger .intercom-avatar-initial {\\n  background-color: {{applicationColors.darker}};\\n}\\n\\n#embedded_messenger .mobile__chat-android .embercom-composer-editor p a,\\n#embedded_messenger .mobile__chat-ios     .embercom-composer-editor p a,\\n#embedded_messenger .mobile__chat-android .embercom-composer-editor a.link-only-mode,\\n#embedded_messenger .mobile__chat-ios     .embercom-composer-editor a.link-only-mode,\\n#embedded_messenger .mobile__note-android .embercom-composer-editor h1,\\n#embedded_messenger .mobile__note-ios     .embercom-composer-editor h1,\\n#embedded_messenger .mobile__note-android .embercom-composer-editor h2,\\n#embedded_messenger .mobile__note-ios     .embercom-composer-editor h2,\\n#embedded_messenger .mobile__note-android .embercom-composer-editor p a,\\n#embedded_messenger .mobile__note-ios     .embercom-composer-editor p a,\\n#embedded_messenger .mobile__post-android .embercom-composer-editor h1,\\n#embedded_messenger .mobile__post-ios     .embercom-composer-editor h1,\\n#embedded_messenger .mobile__post-android .embercom-composer-editor h2,\\n#embedded_messenger .mobile__post-ios     .embercom-composer-editor h2,\\n#embedded_messenger .mobile__post-android .embercom-composer-editor p a,\\n#embedded_messenger .mobile__post-ios     .embercom-composer-editor p a {\\n  color: {{applicationColors.base}};\\n}\\n\\n#embedded_messenger .mobile__chat-android .embercom-composer-editor [data-type=\\\"facebookLikeButton\\\"] a.link-only-mode.intercom-h2b-button,\\n#embedded_messenger .mobile__chat-ios     .embercom-composer-editor [data-type=\\\"facebookLikeButton\\\"] a.link-only-mode.intercom-h2b-button,\\n#embedded_messenger .mobile__chat-android .embercom-composer-editor [data-type=\\\"twitterFollowButton\\\"] a.link-only-mode.intercom-h2b-button,\\n#embedded_messenger .mobile__chat-ios     .embercom-composer-editor [data-type=\\\"twitterFollowButton\\\"] a.link-only-mode.intercom-h2b-button,\\n#embedded_messenger .mobile__note-android .embercom-composer-editor a.intercom-h2b-button,\\n#embedded_messenger .mobile__note-ios     .embercom-composer-editor a.intercom-h2b-button,\\n#embedded_messenger .mobile__post-android .embercom-composer-editor a.intercom-h2b-button,\\n#embedded_messenger .mobile__post-ios     .embercom-composer-editor a.intercom-h2b-button {\\n  background-color: {{applicationColors.base}};\\n}\\n\\n#embedded_messenger .mobile__chat-android .embercom-composer-editor [data-type=\\\"twitterFollowButton\\\"] a.link-only-mode.intercom-h2b-button,\\n#embedded_messenger .mobile__chat-ios     .embercom-composer-editor [data-type=\\\"twitterFollowButton\\\"] a.link-only-mode.intercom-h2b-button,\\n#embedded_messenger .mobile__chat-android .embercom-composer-editor [data-type=\\\"facebookLikeButton\\\"] a.link-only-mode.intercom-h2b-button,\\n#embedded_messenger .mobile__chat-ios     .embercom-composer-editor [data-type=\\\"facebookLikeButton\\\"] a.link-only-mode.intercom-h2b-button {\\n  color: #fff;\\n}\\n\\n.embercom-composer .composer-template-container .comment_wrapper_table.admin_comment ic-block a.intercom-h2b-button,\\n.embercom-composer .composer-template-container .comment_wrapper_table.admin_comment ic-block a.intercom-h2b-button:link,\\n.embercom-composer .composer-template-container .comment_wrapper_table.admin_comment ic-block a.intercom-h2b-button:visited\\n.embercom-composer .composer-template-container #backgroundTable .message_wrapper_table ic-block a.intercom-h2b-button,\\n.embercom-composer .composer-template-container #backgroundTable .message_wrapper_table ic-block a.intercom-h2b-button:link,\\n.embercom-composer .composer-template-container #backgroundTable .message_wrapper_table ic-block a.intercom-h2b-button:visited {\\n  background-color:{{applicationColors.base}} !important;\\n  border: 1px solid {{applicationColors.darker}} !important;\\n}\\n\\n.embercom-composer .composer-template-container ic-block a.intercom-h2b-button:hover {\\n  background-color:{{applicationColors.hover}} !important;\\n}\\n\\n.embercom-composer .composer-template-container .comment_header_td {\\n  background-color:{{applicationColors.base}} !important;\\n}\\n\\n.embercom-composer .composer-template-container .announcement h1,\\n.embercom-composer .composer-template-container .announcement h1 a {\\n  color:{{applicationColors.base}} !important;\\n}\\n\\n.embercom-composer .composer-template-container .announcement .content-td ic-block a.intercom-h2b-button,\\n.embercom-composer .composer-template-container .announcement .content-td ic-block a.intercom-h2b-button:link,\\n.embercom-composer .composer-template-container .announcement .content-td ic-block a.intercom-h2b-button:visited\\n\\n.embercom-composer .composer-template-container .company .content-td ic-block a.intercom-h2b-button,\\n.embercom-composer .composer-template-container .company .content-td ic-block a.intercom-h2b-button:link,\\n.embercom-composer .composer-template-container .company .content-td ic-block a.intercom-h2b-button:visited,\\n\\n.embercom-composer .composer-template-container .personal .content-td ic-block a.intercom-h2b-button,\\n.embercom-composer .composer-template-container .personal .content-td ic-block a.intercom-h2b-button:link,\\n.embercom-composer .composer-template-container .personal .content-td ic-block a.intercom-h2b-button:visited {\\n  background-color:{{applicationColors.base}} !important;\\n}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500);\\n\\n{{stylesheetBody}}\\n\\n#embedded_messenger .intercom-note-body a.intercom-h2b-button,\\n#embedded_messenger .intercom-post-body a.intercom-h2b-button {\\n  text-decoration: none;\\n}\\n\\n#embedded_messenger .snippet-mobile-from,\\n#embedded_messenger .mobile-messenger__navigation-text {\\n  color: {{applicationColors.base}};\\n}\\n\\n#embedded_messenger .camera-app-color {\\n  stroke: {{applicationColors.base}};\\n}\\n\\n#embedded_messenger .intercom-launcher,\\n#embedded_messenger .intercom-text-input-submit-button,\\n#embedded_messenger .mobile-messenger__header.o__android.o__chat {\\n  background-color: {{applicationColors.base}};\\n}\\n\\n#embedded_messenger .intercom-avatar-initial {\\n  background-color: {{applicationColors.darker}};\\n}\\n\\n#embedded_messenger .mobile__chat-android .embercom-composer-editor p a,\\n#embedded_messenger .mobile__chat-ios     .embercom-composer-editor p a,\\n#embedded_messenger .mobile__chat-android .embercom-composer-editor a.link-only-mode,\\n#embedded_messenger .mobile__chat-ios     .embercom-composer-editor a.link-only-mode,\\n#embedded_messenger .mobile__note-android .embercom-composer-editor h1,\\n#embedded_messenger .mobile__note-ios     .embercom-composer-editor h1,\\n#embedded_messenger .mobile__note-android .embercom-composer-editor h2,\\n#embedded_messenger .mobile__note-ios     .embercom-composer-editor h2,\\n#embedded_messenger .mobile__note-android .embercom-composer-editor p a,\\n#embedded_messenger .mobile__note-ios     .embercom-composer-editor p a,\\n#embedded_messenger .mobile__post-android .embercom-composer-editor h1,\\n#embedded_messenger .mobile__post-ios     .embercom-composer-editor h1,\\n#embedded_messenger .mobile__post-android .embercom-composer-editor h2,\\n#embedded_messenger .mobile__post-ios     .embercom-composer-editor h2,\\n#embedded_messenger .mobile__post-android .embercom-composer-editor p a,\\n#embedded_messenger .mobile__post-ios     .embercom-composer-editor p a {\\n  color: {{applicationColors.base}};\\n}\\n\\n#embedded_messenger .mobile__chat-android .embercom-composer-editor [data-type=\\\"facebookLikeButton\\\"] a.link-only-mode.intercom-h2b-button,\\n#embedded_messenger .mobile__chat-ios     .embercom-composer-editor [data-type=\\\"facebookLikeButton\\\"] a.link-only-mode.intercom-h2b-button,\\n#embedded_messenger .mobile__chat-android .embercom-composer-editor [data-type=\\\"twitterFollowButton\\\"] a.link-only-mode.intercom-h2b-button,\\n#embedded_messenger .mobile__chat-ios     .embercom-composer-editor [data-type=\\\"twitterFollowButton\\\"] a.link-only-mode.intercom-h2b-button,\\n#embedded_messenger .mobile__note-android .embercom-composer-editor a.intercom-h2b-button,\\n#embedded_messenger .mobile__note-ios     .embercom-composer-editor a.intercom-h2b-button,\\n#embedded_messenger .mobile__post-android .embercom-composer-editor a.intercom-h2b-button,\\n#embedded_messenger .mobile__post-ios     .embercom-composer-editor a.intercom-h2b-button {\\n  background-color: {{applicationColors.base}};\\n}\\n\\n#embedded_messenger .mobile__chat-android .embercom-composer-editor [data-type=\\\"twitterFollowButton\\\"] a.link-only-mode.intercom-h2b-button,\\n#embedded_messenger .mobile__chat-ios     .embercom-composer-editor [data-type=\\\"twitterFollowButton\\\"] a.link-only-mode.intercom-h2b-button,\\n#embedded_messenger .mobile__chat-android .embercom-composer-editor [data-type=\\\"facebookLikeButton\\\"] a.link-only-mode.intercom-h2b-button,\\n#embedded_messenger .mobile__chat-ios     .embercom-composer-editor [data-type=\\\"facebookLikeButton\\\"] a.link-only-mode.intercom-h2b-button {\\n  color: #fff;\\n}\\n\\n.embercom-composer .composer-template-container .comment_wrapper_table.admin_comment ic-block a.intercom-h2b-button,\\n.embercom-composer .composer-template-container .comment_wrapper_table.admin_comment ic-block a.intercom-h2b-button:link,\\n.embercom-composer .composer-template-container .comment_wrapper_table.admin_comment ic-block a.intercom-h2b-button:visited\\n.embercom-composer .composer-template-container #backgroundTable .message_wrapper_table ic-block a.intercom-h2b-button,\\n.embercom-composer .composer-template-container #backgroundTable .message_wrapper_table ic-block a.intercom-h2b-button:link,\\n.embercom-composer .composer-template-container #backgroundTable .message_wrapper_table ic-block a.intercom-h2b-button:visited {\\n  background-color:{{applicationColors.base}} !important;\\n  border: 1px solid {{applicationColors.darker}} !important;\\n}\\n\\n.embercom-composer .composer-template-container ic-block a.intercom-h2b-button:hover {\\n  background-color:{{applicationColors.hover}} !important;\\n}\\n\\n.embercom-composer .composer-template-container .comment_header_td {\\n  background-color:{{applicationColors.base}} !important;\\n}\\n\\n.embercom-composer .composer-template-container .announcement h1,\\n.embercom-composer .composer-template-container .announcement h1 a {\\n  color:{{applicationColors.base}} !important;\\n}\\n\\n.embercom-composer .composer-template-container .announcement .content-td ic-block a.intercom-h2b-button,\\n.embercom-composer .composer-template-container .announcement .content-td ic-block a.intercom-h2b-button:link,\\n.embercom-composer .composer-template-container .announcement .content-td ic-block a.intercom-h2b-button:visited\\n\\n.embercom-composer .composer-template-container .company .content-td ic-block a.intercom-h2b-button,\\n.embercom-composer .composer-template-container .company .content-td ic-block a.intercom-h2b-button:link,\\n.embercom-composer .composer-template-container .company .content-td ic-block a.intercom-h2b-button:visited,\\n\\n.embercom-composer .composer-template-container .personal .content-td ic-block a.intercom-h2b-button,\\n.embercom-composer .composer-template-container .personal .content-td ic-block a.intercom-h2b-button:link,\\n.embercom-composer .composer-template-container .personal .content-td ic-block a.intercom-h2b-button:visited {\\n  background-color:{{applicationColors.base}} !important;\\n}\\n\",\"moduleName\":\"embercom/components/message-editor/content/in-app/styles.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/in-app/styles.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\nimport IntercomEmbed from '@intercom/intercom-embed';\nimport AppColor from 'embercom/lib/color';\n\nexport default Component.extend({\n  appColor: notImplemented(),\n  tagName: 'style',\n  stylesheetBody: computed('appColor', function() {\n    if (IntercomEmbed && IntercomEmbed.getStylesheet) {\n      return IntercomEmbed.getStylesheet().replace(/-intercom-app-color/g, this.appColor);\n    } else {\n      return '';\n    }\n  }),\n  applicationColors: computed('appColor', function() {\n    return new AppColor().generate_message_box_colors(this.appColor);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"intercom-team-avatar\\\">\\n  {{#each avatarList as |avatar index|}}\\n    {{#if avatar.urlPresent}}\\n      <img src=\\\"{{avatar.url}}\\\" class=\\\"intercom-team-avatar {{avatar.class}}\\\">\\n    {{else}}\\n      <div key={{index}} class=\\\"intercom-team-avatar intercom-avatar-initial {{avatar.class}}\\\">{{avatar.initial}}</div>\\n    {{/if}}\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"intercom-team-avatar\\\">\\n  {{#each avatarList as |avatar index|}}\\n    {{#if avatar.urlPresent}}\\n      <img src=\\\"{{avatar.url}}\\\" class=\\\"intercom-team-avatar {{avatar.class}}\\\">\\n    {{else}}\\n      <div key={{index}} class=\\\"intercom-team-avatar intercom-avatar-initial {{avatar.class}}\\\">{{avatar.initial}}</div>\\n    {{/if}}\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/content/in-app/team-avatar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/in-app/team-avatar.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, gt } from '@ember/object/computed';\nimport { A } from '@ember/array';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { notImplemented, ternary } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  appColor: notImplemented(),\n  team: notImplemented(),\n  'data-test-team-avatars': true,\n  avatarList: computed('team.[]', function() {\n    let list = A();\n    this.team.forEach((admin, index) => {\n      if (admin.first_name) {\n        let avatarInfo = {};\n        avatarInfo.class = `${this.avatarClass} ${this.multiAvatarClass(index)}`;\n        avatarInfo.url = admin.url;\n        avatarInfo.urlPresent = admin.url && admin.url.length > 0;\n        avatarInfo.initial = admin.first_name.charAt(0).toUpperCase();\n\n        list.push(avatarInfo);\n      }\n    });\n\n    return list;\n  }),\n  totalCount: readOnly('team.length'),\n  totalCountString: computed('totalCount', function() {\n    switch (this.totalCount) {\n      case 2:\n        return 'two';\n      case 3:\n        return 'three';\n      default:\n        return '';\n    }\n  }),\n  moreThanOneAdmin: gt('totalCount', 1),\n  avatarClass: ternary(\n    'moreThanOneAdmin',\n    'intercom-team-avatar-small',\n    'intercom-team-avatar-large',\n  ),\n  multiAvatarClass(index) {\n    if (!this.moreThanOneAdmin) {\n      return '';\n    }\n\n    switch (index) {\n      case 0:\n        return `intercom-first-of-${this.totalCountString}-admins`;\n      case 1:\n        return `intercom-second-of-${this.totalCountString}-admins`;\n      case 2:\n        return `intercom-third-of-${this.totalCountString}-admins`;\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::Content::VariationSwitcher\\n  @message={{message}}\\n  @version={{version}}\\n  @isMaximized={{isMaximized}}\\n  @changeVersion={{changeVersion}} as |activeVariation|\\n>\\n  {{#liquid-unless isEditing class=\\\"animation__flex-grow\\\"}}\\n    <MessageEditor::Stats::TabContainer @variation={{activeVariation}}>\\n      {{#if message.hasBeenSent}}\\n        <MessageEditor::Content::TabsComponent\\n          data-test-tabs-component={{true}}\\n          @variation={{activeVariation}}\\n          @activeView={{activeView}}\\n          @changeView={{changeView}}\\n        />\\n        {{#if activeVariation.reactions}}\\n          <MessageEditor::Stats::ReactionsTab\\n            @variation={{activeVariation}}\\n            @activeView={{activeView}}\\n            @changeView={{changeView}}\\n          />\\n        {{/if}}\\n      {{else}}\\n        <MessageEditor::Stats::PreSendInfo\\n          @variation={{activeVariation}}\\n          @activeView={{activeView}}\\n          @changeView={{changeView}}\\n        />\\n      {{/if}}\\n    </MessageEditor::Stats::TabContainer>\\n  {{/liquid-unless}}\\n  {{#if activeVariation.isControlGroup}}\\n    {{#if (eq activeView \\\"content\\\")}}\\n      <MessageEditor::Content::ControlGroupActionsComponent\\n        @controlGroup={{activeVariation}}\\n        @delete={{tasks.deleteControlGroup}}\\n        @end={{tasks.endControlGroup}}\\n        @disabled={{taskGroup.isRunning}}\\n      />\\n      <div\\n        class=\\\"layout__box o__centers-all message__editor__content__control-group-info\\\"\\n      >\\n        <div\\n          class=\\\"layout__box message__editor__content__control-group-description\\\"\\n          data-test-control-group-content\\n        >\\n          <img\\n            src=\\\"assets/images/message-editor/control-group.png\\\"\\n            width=\\\"250px\\\"\\n          />\\n          {{#if activeVariation.isEnded}}\\n            <h3 class=\\\"t__h3 u__mt__20\\\">\\n              Your control group test is ended\\n            </h3>\\n            <div class=\\\"t__light-text t__centered u__mt__10\\\">\\n              Your message was sent to only 50% of your audience to see if it helps you reach your goal.\\n            </div>\\n          {{else}}\\n            <h3 class=\\\"t__h3 u__mt__20\\\">\\n              Your control group won't get the message\\n            </h3>\\n            <div class=\\\"t__light-text t__centered u__mt__10\\\">\\n              Your message will be sent to only 50% of your audience to see if it helps you reach your goal.\\n            </div>\\n          {{/if}}\\n        </div>\\n      </div>\\n    {{else}}\\n      <MessageEditor::Stats::UsersList\\n        @statistic={{activeView}}\\n        @version={{version}}\\n        @inverted={{inverted}}\\n        @selectedReaction={{selectedReaction}}\\n        @goalFilter={{goalFilter}}\\n        @linkFilter={{linkFilter}}\\n        @variation={{activeVariation}}\\n        @lastStatUpdate={{activeVariation.stats.lastLoadedAt}}\\n        @bulkMessage={{bulkMessage}}\\n        @bulkTag={{bulkTag}}\\n      />\\n    {{/if}}\\n  {{else}}\\n    <div class=\\\"message__editor__content\\\">\\n      {{#if (eq activeView \\\"content\\\")}}\\n        {{#liquid-unless isEditing class=\\\"animation__flex-grow\\\"}}\\n          <div class=\\\"layout__box o__has-columns u__padt__20\\\">\\n            <MessageEditor::Content::VariationDetailsComponent\\n              @variation={{activeVariation}}\\n            />\\n            <MessageEditor::Content::VariationActionsComponent\\n              @variation={{activeVariation}}\\n              @activate={{tasks.activateVariation}}\\n              @deactivate={{tasks.deactivateVariation}}\\n              @delete={{tasks.deleteVariation}}\\n              @taskGroup={{messageActionsTaskGroup}}\\n            />\\n          </div>\\n        {{/liquid-unless}}\\n        <MessageEditor::Content::Editor\\n          @app={{app}}\\n          @message={{message}}\\n          @activeVariation={{activeVariation}}\\n          @isEditing={{isEditing}}\\n          @isMaximized={{isMaximized}}\\n          @lastReactions={{lastReactions}}\\n          @setLastReactions={{action \\\"setLastReactions\\\"}}\\n          @deleteVariation={{tasks.deleteVariation}}\\n          @generateHtmlPreview={{tasks.generateHtmlPreview}}\\n          @maximizePanel={{@maximizePanel}}\\n          @operatorQualificationPanelIsEnabled={{operatorQualificationPanelIsEnabled}}\\n          class=\\\"js__message__editor__content__editor\\\"\\n        />\\n      {{else if (eq activeView \\\"conversations\\\")}}\\n        <MessageEditor::Stats::ConversationsList\\n          @variation={{activeVariation}}\\n          @version={{version}}\\n          @inverted={{inverted}}\\n        />\\n      {{else}}\\n        <MessageEditor::Stats::UsersList\\n          @statistic={{activeView}}\\n          @version={{version}}\\n          @inverted={{inverted}}\\n          @goalFilter={{goalFilter}}\\n          @linkFilter={{linkFilter}}\\n          @selectedReaction={{selectedReaction}}\\n          @variation={{activeVariation}}\\n          @lastStatUpdate={{activeVariation.stats.lastLoadedAt}}\\n          @bulkMessage={{bulkMessage}}\\n          @bulkTag={{bulkTag}}\\n        />\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n</MessageEditor::Content::VariationSwitcher>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::Content::VariationSwitcher\\n  @message={{message}}\\n  @version={{version}}\\n  @isMaximized={{isMaximized}}\\n  @changeVersion={{changeVersion}} as |activeVariation|\\n>\\n  {{#liquid-unless isEditing class=\\\"animation__flex-grow\\\"}}\\n    <MessageEditor::Stats::TabContainer @variation={{activeVariation}}>\\n      {{#if message.hasBeenSent}}\\n        <MessageEditor::Content::TabsComponent\\n          data-test-tabs-component={{true}}\\n          @variation={{activeVariation}}\\n          @activeView={{activeView}}\\n          @changeView={{changeView}}\\n        />\\n        {{#if activeVariation.reactions}}\\n          <MessageEditor::Stats::ReactionsTab\\n            @variation={{activeVariation}}\\n            @activeView={{activeView}}\\n            @changeView={{changeView}}\\n          />\\n        {{/if}}\\n      {{else}}\\n        <MessageEditor::Stats::PreSendInfo\\n          @variation={{activeVariation}}\\n          @activeView={{activeView}}\\n          @changeView={{changeView}}\\n        />\\n      {{/if}}\\n    </MessageEditor::Stats::TabContainer>\\n  {{/liquid-unless}}\\n  {{#if activeVariation.isControlGroup}}\\n    {{#if (eq activeView \\\"content\\\")}}\\n      <MessageEditor::Content::ControlGroupActionsComponent\\n        @controlGroup={{activeVariation}}\\n        @delete={{tasks.deleteControlGroup}}\\n        @end={{tasks.endControlGroup}}\\n        @disabled={{taskGroup.isRunning}}\\n      />\\n      <div\\n        class=\\\"layout__box o__centers-all message__editor__content__control-group-info\\\"\\n      >\\n        <div\\n          class=\\\"layout__box message__editor__content__control-group-description\\\"\\n          data-test-control-group-content\\n        >\\n          <img\\n            src=\\\"assets/images/message-editor/control-group.png\\\"\\n            width=\\\"250px\\\"\\n          />\\n          {{#if activeVariation.isEnded}}\\n            <h3 class=\\\"t__h3 u__mt__20\\\">\\n              Your control group test is ended\\n            </h3>\\n            <div class=\\\"t__light-text t__centered u__mt__10\\\">\\n              Your message was sent to only 50% of your audience to see if it helps you reach your goal.\\n            </div>\\n          {{else}}\\n            <h3 class=\\\"t__h3 u__mt__20\\\">\\n              Your control group won't get the message\\n            </h3>\\n            <div class=\\\"t__light-text t__centered u__mt__10\\\">\\n              Your message will be sent to only 50% of your audience to see if it helps you reach your goal.\\n            </div>\\n          {{/if}}\\n        </div>\\n      </div>\\n    {{else}}\\n      <MessageEditor::Stats::UsersList\\n        @statistic={{activeView}}\\n        @version={{version}}\\n        @inverted={{inverted}}\\n        @selectedReaction={{selectedReaction}}\\n        @goalFilter={{goalFilter}}\\n        @linkFilter={{linkFilter}}\\n        @variation={{activeVariation}}\\n        @lastStatUpdate={{activeVariation.stats.lastLoadedAt}}\\n        @bulkMessage={{bulkMessage}}\\n        @bulkTag={{bulkTag}}\\n      />\\n    {{/if}}\\n  {{else}}\\n    <div class=\\\"message__editor__content\\\">\\n      {{#if (eq activeView \\\"content\\\")}}\\n        {{#liquid-unless isEditing class=\\\"animation__flex-grow\\\"}}\\n          <div class=\\\"layout__box o__has-columns u__padt__20\\\">\\n            <MessageEditor::Content::VariationDetailsComponent\\n              @variation={{activeVariation}}\\n            />\\n            <MessageEditor::Content::VariationActionsComponent\\n              @variation={{activeVariation}}\\n              @activate={{tasks.activateVariation}}\\n              @deactivate={{tasks.deactivateVariation}}\\n              @delete={{tasks.deleteVariation}}\\n              @taskGroup={{messageActionsTaskGroup}}\\n            />\\n          </div>\\n        {{/liquid-unless}}\\n        <MessageEditor::Content::Editor\\n          @app={{app}}\\n          @message={{message}}\\n          @activeVariation={{activeVariation}}\\n          @isEditing={{isEditing}}\\n          @isMaximized={{isMaximized}}\\n          @lastReactions={{lastReactions}}\\n          @setLastReactions={{action \\\"setLastReactions\\\"}}\\n          @deleteVariation={{tasks.deleteVariation}}\\n          @generateHtmlPreview={{tasks.generateHtmlPreview}}\\n          @maximizePanel={{@maximizePanel}}\\n          @operatorQualificationPanelIsEnabled={{operatorQualificationPanelIsEnabled}}\\n          class=\\\"js__message__editor__content__editor\\\"\\n        />\\n      {{else if (eq activeView \\\"conversations\\\")}}\\n        <MessageEditor::Stats::ConversationsList\\n          @variation={{activeVariation}}\\n          @version={{version}}\\n          @inverted={{inverted}}\\n        />\\n      {{else}}\\n        <MessageEditor::Stats::UsersList\\n          @statistic={{activeView}}\\n          @version={{version}}\\n          @inverted={{inverted}}\\n          @goalFilter={{goalFilter}}\\n          @linkFilter={{linkFilter}}\\n          @selectedReaction={{selectedReaction}}\\n          @variation={{activeVariation}}\\n          @lastStatUpdate={{activeVariation.stats.lastLoadedAt}}\\n          @bulkMessage={{bulkMessage}}\\n          @bulkTag={{bulkTag}}\\n        />\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n</MessageEditor::Content::VariationSwitcher>\\n\",\"moduleName\":\"embercom/components/message-editor/content/main-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/main-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-attrs-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { copy } from 'ember-copy';\n\nexport default Component.extend({\n  lastReactions: null,\n  classNames: ['message__editor__content__main'],\n  click() {\n    if (!this.isMaximized) {\n      this.attrs.togglePanel();\n    }\n  },\n  actions: {\n    setLastReactions(reactions) {\n      let reactionsClone = reactions.get('content').map(reaction => copy(reaction));\n      this.set('lastReactions', reactionsClone);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if message.isInApp}}\\n  <div class=\\\"layout__box o__centers-horizontally u__padt__20\\\">\\n    <IcTooltip @isDisabled={{not message.isTargetingLeads}} as |t|>\\n      <t.opener>\\n        <div\\n          class=\\\"btn__toggle-list u__cf test__preview-device-switcher__in-app\\\"\\n        >\\n          <a\\n            class=\\\"btn o__toggle {{if message.isTargetingLeads \\\"o__disabled\\\"}} {{if webSelected \\\"o__selected\\\"}} test__preview-device-switcher__web\\\"\\n            {{action changePreviewDevice \\\"web\\\"}}\\n          >\\n            {{ic-interface-icon \\\"computer\\\"}}\\n          </a>\\n          <a\\n            class=\\\"btn o__toggle {{if message.isTargetingLeads \\\"o__disabled\\\"}} {{if iosSelected \\\"o__selected\\\"}} test__preview-device-switcher__ios\\\"\\n            {{action changePreviewDevice \\\"ios\\\"}}\\n          >\\n            {{ic-interface-icon \\\"apple\\\"}}\\n          </a>\\n          <a\\n            class=\\\"btn o__toggle {{if message.isTargetingLeads \\\"o__disabled\\\"}} {{if androidSelected \\\"o__selected\\\"}} test__preview-device-switcher__android\\\"\\n            {{action changePreviewDevice \\\"android\\\"}}\\n          >\\n            {{ic-interface-icon \\\"android\\\"}}\\n          </a>\\n        </div>\\n      </t.opener>\\n      <t.content>\\n        When audience is set to leads, messages will only be delivered on the web\\n      </t.content>\\n    </IcTooltip>\\n  </div>\\n{{else if message.isEmail}}\\n  <div class=\\\"layout__box o__centers-horizontally u__padt__20\\\">\\n    <div class=\\\"btn__toggle-list u__cf test__preview-device-switcher__email\\\">\\n      <a\\n        class=\\\"btn o__toggle {{if desktopSelected \\\"o__selected\\\"}} test__preview-device-switcher__desktop\\\"\\n        {{action changePreviewDevice \\\"desktop\\\"}}\\n      >\\n        {{ic-interface-icon \\\"computer\\\"}}\\n      </a>\\n      <a\\n        class=\\\"btn o__toggle {{if mobileSelected \\\"o__selected\\\"}} test__preview-device-switcher__mobile\\\"\\n        {{action changePreviewDevice \\\"mobile\\\"}}\\n      >\\n        {{ic-interface-icon \\\"ios\\\"}}\\n      </a>\\n    </div>\\n  </div>\\n{{else if (and message.isMobilePush message.app.hasIOSSdk message.app.hasAndroidSdk)}}\\n  <div class=\\\"layout__box o__centers-horizontally u__padt__20\\\">\\n    <div class=\\\"btn__toggle-list u__cf test__preview-device-switcher__email\\\">\\n      <a\\n        class=\\\"btn o__toggle {{if iosSelected \\\"o__selected\\\"}} test__preview-device-switcher__ios\\\"\\n        {{action changePreviewDevice \\\"ios\\\"}}\\n      >\\n        {{ic-interface-icon \\\"apple\\\"}}\\n      </a>\\n      <a\\n        class=\\\"btn o__toggle {{if androidSelected \\\"o__selected\\\"}} test__preview-device-switcher__android\\\"\\n        {{action changePreviewDevice \\\"android\\\"}}\\n      >\\n        {{ic-interface-icon \\\"android\\\"}}\\n      </a>\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if message.isInApp}}\\n  <div class=\\\"layout__box o__centers-horizontally u__padt__20\\\">\\n    <IcTooltip @isDisabled={{not message.isTargetingLeads}} as |t|>\\n      <t.opener>\\n        <div\\n          class=\\\"btn__toggle-list u__cf test__preview-device-switcher__in-app\\\"\\n        >\\n          <a\\n            class=\\\"btn o__toggle {{if message.isTargetingLeads \\\"o__disabled\\\"}} {{if webSelected \\\"o__selected\\\"}} test__preview-device-switcher__web\\\"\\n            {{action changePreviewDevice \\\"web\\\"}}\\n          >\\n            {{ic-interface-icon \\\"computer\\\"}}\\n          </a>\\n          <a\\n            class=\\\"btn o__toggle {{if message.isTargetingLeads \\\"o__disabled\\\"}} {{if iosSelected \\\"o__selected\\\"}} test__preview-device-switcher__ios\\\"\\n            {{action changePreviewDevice \\\"ios\\\"}}\\n          >\\n            {{ic-interface-icon \\\"apple\\\"}}\\n          </a>\\n          <a\\n            class=\\\"btn o__toggle {{if message.isTargetingLeads \\\"o__disabled\\\"}} {{if androidSelected \\\"o__selected\\\"}} test__preview-device-switcher__android\\\"\\n            {{action changePreviewDevice \\\"android\\\"}}\\n          >\\n            {{ic-interface-icon \\\"android\\\"}}\\n          </a>\\n        </div>\\n      </t.opener>\\n      <t.content>\\n        When audience is set to leads, messages will only be delivered on the web\\n      </t.content>\\n    </IcTooltip>\\n  </div>\\n{{else if message.isEmail}}\\n  <div class=\\\"layout__box o__centers-horizontally u__padt__20\\\">\\n    <div class=\\\"btn__toggle-list u__cf test__preview-device-switcher__email\\\">\\n      <a\\n        class=\\\"btn o__toggle {{if desktopSelected \\\"o__selected\\\"}} test__preview-device-switcher__desktop\\\"\\n        {{action changePreviewDevice \\\"desktop\\\"}}\\n      >\\n        {{ic-interface-icon \\\"computer\\\"}}\\n      </a>\\n      <a\\n        class=\\\"btn o__toggle {{if mobileSelected \\\"o__selected\\\"}} test__preview-device-switcher__mobile\\\"\\n        {{action changePreviewDevice \\\"mobile\\\"}}\\n      >\\n        {{ic-interface-icon \\\"ios\\\"}}\\n      </a>\\n    </div>\\n  </div>\\n{{else if (and message.isMobilePush message.app.hasIOSSdk message.app.hasAndroidSdk)}}\\n  <div class=\\\"layout__box o__centers-horizontally u__padt__20\\\">\\n    <div class=\\\"btn__toggle-list u__cf test__preview-device-switcher__email\\\">\\n      <a\\n        class=\\\"btn o__toggle {{if iosSelected \\\"o__selected\\\"}} test__preview-device-switcher__ios\\\"\\n        {{action changePreviewDevice \\\"ios\\\"}}\\n      >\\n        {{ic-interface-icon \\\"apple\\\"}}\\n      </a>\\n      <a\\n        class=\\\"btn o__toggle {{if androidSelected \\\"o__selected\\\"}} test__preview-device-switcher__android\\\"\\n        {{action changePreviewDevice \\\"android\\\"}}\\n      >\\n        {{ic-interface-icon \\\"android\\\"}}\\n      </a>\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/content/preview-device-switcher.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/preview-device-switcher.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { equal } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  webSelected: equal('currentDevice', 'web'),\n  iosSelected: equal('currentDevice', 'ios'),\n  androidSelected: equal('currentDevice', 'android'),\n  desktopSelected: equal('currentDevice', 'desktop'),\n  mobileSelected: equal('currentDevice', 'mobile'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<div class=\\\"layout__box o__has-rows o__flexes-to-1 test__message__editor__push__chrome {{if (eq @currentDevice 'ios') 'message__editor__push__ios-preview' 'message__editor__push__android-preview'}}\\\">\\n  <div class=\\\"flex flex-col items-center flex-1\\\">\\n    <div class=\\\"layout__box o__has-column message__editor__push__chrome\\\">\\n      <div class=\\\"layout__box o__flexes-to-1 o__has-rows message__editor__push__chrome-screen\\\">\\n        <div class=\\\"layout__box o__centers-all message__editor__push__chrome-lock-screen-time\\\">\\n          <div class=\\\"message__editor__push__chrome-lock-screen-time-text\\\">\\n            {{moment-format (now interval=1000) 'h:mm'}}\\n          </div>\\n        </div>\\n        <div class=\\\"layout__box message__editor__push__chrome-card {{if @isEditable \\\"o__editable\\\"}}\\\">\\n          <div class=\\\"layout__box message__editor__push__chrome-card-secondary\\\">\\n            <div class=\\\"flex items-start\\\">\\n              <div class=\\\"message__editor__push__chrome-card-app-icon\\\"></div>\\n              <div class=\\\"flex-auto min-w-0 message__editor__push__chrome-card-app-name\\\">\\n                {{#let (service 'app-service') as |appService|}}\\n                  {{appService.app.name}}\\n                {{/let}}\\n              </div>\\n            </div>\\n          </div>\\n          <div class=\\\"layout__box message__editor__push__chrome-card-main o__flexes-to-1\\\">\\n            {{yield}}\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n\\n    {{#unless (and @isEditing @isMinimized)}}\\n      <div class=\\\"u__mb__30\\\">\\n        <MessageEditor::Content::PreviewDeviceSwitcher\\n          @message={{@variation.message}}\\n          @currentDevice={{@currentDevice}}\\n          @changePreviewDevice={{@changePreviewDevice}}\\n          class=\\\"test__preview-device-switcher\\\"\\n        />\\n      </div>\\n    {{/unless}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<div class=\\\"layout__box o__has-rows o__flexes-to-1 test__message__editor__push__chrome {{if (eq @currentDevice 'ios') 'message__editor__push__ios-preview' 'message__editor__push__android-preview'}}\\\">\\n  <div class=\\\"flex flex-col items-center flex-1\\\">\\n    <div class=\\\"layout__box o__has-column message__editor__push__chrome\\\">\\n      <div class=\\\"layout__box o__flexes-to-1 o__has-rows message__editor__push__chrome-screen\\\">\\n        <div class=\\\"layout__box o__centers-all message__editor__push__chrome-lock-screen-time\\\">\\n          <div class=\\\"message__editor__push__chrome-lock-screen-time-text\\\">\\n            {{moment-format (now interval=1000) 'h:mm'}}\\n          </div>\\n        </div>\\n        <div class=\\\"layout__box message__editor__push__chrome-card {{if @isEditable \\\"o__editable\\\"}}\\\">\\n          <div class=\\\"layout__box message__editor__push__chrome-card-secondary\\\">\\n            <div class=\\\"flex items-start\\\">\\n              <div class=\\\"message__editor__push__chrome-card-app-icon\\\"></div>\\n              <div class=\\\"flex-auto min-w-0 message__editor__push__chrome-card-app-name\\\">\\n                {{#let (service 'app-service') as |appService|}}\\n                  {{appService.app.name}}\\n                {{/let}}\\n              </div>\\n            </div>\\n          </div>\\n          <div class=\\\"layout__box message__editor__push__chrome-card-main o__flexes-to-1\\\">\\n            {{yield}}\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n\\n    {{#unless (and @isEditing @isMinimized)}}\\n      <div class=\\\"u__mb__30\\\">\\n        <MessageEditor::Content::PreviewDeviceSwitcher\\n          @message={{@variation.message}}\\n          @currentDevice={{@currentDevice}}\\n          @changePreviewDevice={{@changePreviewDevice}}\\n          class=\\\"test__preview-device-switcher\\\"\\n        />\\n      </div>\\n    {{/unless}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/content/push/chrome.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/push/chrome.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::Content::Push::Chrome\\n  @currentDevice={{currentDevice}}\\n  @isEditable={{isEditable}}\\n  @isMinimized={{not isMaximized}}\\n  @isEditing={{isEditing}}\\n  @variation={{variation}}\\n  @changePreviewDevice={{action \\\"changePreviewDevice\\\"}}\\n>\\n  <ComposerV2\\n    @app={{app}}\\n    @attributes={{attributes}}\\n    @isReadOnly={{not isEditable}}\\n    @preset={{preset}}\\n    @blocks={{serializedTitleBlocks}}\\n    @editorClass=\\\"message__editor__push__title-text test__content-editor__push-title\\\"\\n    @isPreviewMode={{dataPreviewEnabled}}\\n    @previewContext={{variation.message.sampleUser.context}}\\n    @actionReceiver={{titleComposer}}\\n    @placeholder=\\\"Enter title\\\"\\n    @onChange={{action \\\"updateBlocks\\\"}}\\n    @onError={{composer-error-logger \\\"Messages\\\"}}\\n    data-test-title-preset={{preset}}\\n  />\\n  <ComposerV2\\n    @app={{app}}\\n    @attributes={{attributes}}\\n    @isReadOnly={{not isEditable}}\\n    @preset={{preset}}\\n    @blocks={{serializedBodyBlocks}}\\n    @editorClass=\\\"message__editor__push__body-text test__content-editor__push-body\\\"\\n    @isPreviewMode={{dataPreviewEnabled}}\\n    @previewContext={{variation.message.sampleUser.context}}\\n    @actionReceiver={{bodyComposer}}\\n    @placeholder=\\\"Enter message\\\"\\n    @onChange={{action \\\"updateBlocks\\\"}}\\n    @onError={{composer-error-logger \\\"Messages\\\"}}\\n    data-test-body-preset={{preset}}\\n  />\\n</MessageEditor::Content::Push::Chrome>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::Content::Push::Chrome\\n  @currentDevice={{currentDevice}}\\n  @isEditable={{isEditable}}\\n  @isMinimized={{not isMaximized}}\\n  @isEditing={{isEditing}}\\n  @variation={{variation}}\\n  @changePreviewDevice={{action \\\"changePreviewDevice\\\"}}\\n>\\n  <ComposerV2\\n    @app={{app}}\\n    @attributes={{attributes}}\\n    @isReadOnly={{not isEditable}}\\n    @preset={{preset}}\\n    @blocks={{serializedTitleBlocks}}\\n    @editorClass=\\\"message__editor__push__title-text test__content-editor__push-title\\\"\\n    @isPreviewMode={{dataPreviewEnabled}}\\n    @previewContext={{variation.message.sampleUser.context}}\\n    @actionReceiver={{titleComposer}}\\n    @placeholder=\\\"Enter title\\\"\\n    @onChange={{action \\\"updateBlocks\\\"}}\\n    @onError={{composer-error-logger \\\"Messages\\\"}}\\n    data-test-title-preset={{preset}}\\n  />\\n  <ComposerV2\\n    @app={{app}}\\n    @attributes={{attributes}}\\n    @isReadOnly={{not isEditable}}\\n    @preset={{preset}}\\n    @blocks={{serializedBodyBlocks}}\\n    @editorClass=\\\"message__editor__push__body-text test__content-editor__push-body\\\"\\n    @isPreviewMode={{dataPreviewEnabled}}\\n    @previewContext={{variation.message.sampleUser.context}}\\n    @actionReceiver={{bodyComposer}}\\n    @placeholder=\\\"Enter message\\\"\\n    @onChange={{action \\\"updateBlocks\\\"}}\\n    @onError={{composer-error-logger \\\"Messages\\\"}}\\n    data-test-body-preset={{preset}}\\n  />\\n</MessageEditor::Content::Push::Chrome>\\n\",\"moduleName\":\"embercom/components/message-editor/content/push/editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/push/editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/no-on-calls-in-components */\nimport { A } from '@ember/array';\nimport { on } from '@ember/object/evented';\nimport EditorBase from 'embercom/components/message-editor/content/editor-base';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\nimport createFragmentFromBlock from 'embercom/lib/blocks/create-fragment-from-block';\nimport { assert } from '@ember/debug';\n\nexport default EditorBase.extend({\n  currentDevice: 'ios',\n  classNames: [\n    'layout__box',\n    'o__centers-all',\n    'message__editor__push__editor',\n    'test__message__editor__push__editor',\n  ],\n\n  init() {\n    this._super(...arguments);\n    if (this.get('app.onlyHasAndroidSdk') || this.get('variation.message.isAndroidFirst')) {\n      this.set('currentDevice', 'android');\n    }\n  },\n\n  titleComposer: null,\n  bodyComposer: null,\n\n  initializeSerializedBlocks: on('init', function() {\n    let serializedBlocks = this.get('variation.blocks').serialize();\n    assert('push messages must contain at least 2 blocks', serializedBlocks.length > 1);\n    this.setProperties({\n      serializedTitleBlocks: [serializedBlocks[0]],\n      serializedBodyBlocks: [serializedBlocks[1]],\n    });\n  }),\n\n  didChangeAttrsConfig: {\n    attrs: ['variation', 'isEditing'],\n  },\n\n  didUpdateAttrs() {\n    this.initializeSerializedBlocks();\n\n    this._super(...arguments);\n  },\n\n  didChangeAttrs(changes) {\n    this._super(...arguments);\n\n    if (changes.variation || changes.isEditing) {\n      this.titleComposer.send('load', this.serializedTitleBlocks);\n      this.bodyComposer.send('load', this.serializedBodyBlocks);\n    }\n  },\n\n  isValidForBlocksUpdate() {\n    return !this.isDestroying && this.titleComposer && this.bodyComposer && this.isEditable;\n  },\n\n  performBlocksUpdate() {\n    if (this.isValidForBlocksUpdate()) {\n      let titleBlocks = this.titleComposer.getBlocks();\n      let bodyBlocks = this.bodyComposer.getBlocks();\n      let store = this.store;\n      // We need to force a \"heading\" for the first block as there are some cases where the Composer converts it to a paragraph, e.g. Select All + Delete\n      let titleBlockFragment = createFragmentFromBlock(store, {\n        type: 'heading',\n        text: titleBlocks[0].text,\n      });\n      let bodyBlockFragment = createFragmentFromBlock(store, {\n        type: 'paragraph',\n        text: bodyBlocks[0].text,\n      });\n      let blockFragments = A([titleBlockFragment, bodyBlockFragment]);\n      let context = {\n        location: Object.getPrototypeOf(this)._debugContainerKey,\n        method: this.performBlocksUpdate.name,\n      };\n      if (this.blocksAreDifferent(blockFragments, this.get('variation.blocks'))) {\n        this.messageMutationService.performMutations(\n          this.get('variation.message'),\n          A([\n            {\n              command: MUTATIONS.setValue,\n              key: `${this.get('variation.nameOfMessageRelationship')}.blocks`,\n              data: blockFragments,\n              context,\n            },\n          ]),\n        );\n      }\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { computed } from '@ember/object';\nimport { readOnly, not } from '@ember/object/computed';\nimport { rejectBy } from '@intercom/embercom-core/lib/computed-properties';\nimport SenderAssigneeDropdown from 'embercom/components/message-editor/content/sidebar/sender-assignee-dropdown';\n\nconst OWNER_ID = '-1';\n\nexport default SenderAssigneeDropdown.extend({\n  layoutName: 'components/message-editor/content/sidebar/sender-assignee-dropdown',\n  selected: computed('showDynamicSender', 'variation.{dynamicAssignee,assignTo}', function() {\n    let variation = this.variation;\n\n    if (this.showDynamicSender && variation.get('dynamicAssignee')) {\n      return this.get('dynamicSenders.firstObject');\n    }\n\n    return variation.get('assignTo');\n  }),\n  teammates: rejectBy('app.assignableAdmins', 'isTeam', true),\n  teammatesWithLabel: computed('teammates.[]', function() {\n    return [{ isLabel: true, text: 'Teammates' }].concat(this.teammates.rejectBy('id', OWNER_ID));\n  }),\n  teams: readOnly('app.assignableTeams'),\n  teamsWithLabel: computed('teams.[]', function() {\n    if (this.get('teams.length')) {\n      return [{ isLabel: true, text: 'Teams' }].concat(this.teams);\n    } else {\n      return [];\n    }\n  }),\n  items: computed(\n    'dynamicSendersWithLabel.[]',\n    'teammatesWithLabel.[]',\n    'teamsWithLabel.[]',\n    function() {\n      return [].concat(this.dynamicSendersWithLabel, this.teammatesWithLabel, this.teamsWithLabel);\n    },\n  ),\n  inboxIsNotActive: not('app.inboxIsActive'),\n  paywallActivated: readOnly('inboxIsNotActive'),\n  disabled: readOnly('inboxIsNotActive'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { A } from '@ember/array';\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { and, not, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\n\nconst UNASSIGNED_ID = '0';\n\nfunction predicateTargetsOwner(predicate) {\n  return (\n    predicate.get('attribute') === 'owner_id' &&\n    ['eq', 'known'].includes(predicate.get('comparison'))\n  );\n}\n\nexport default Component.extend({\n  variation: null,\n  dataPreviewEnabled: false,\n  messageMutationService: service(),\n  store: service(),\n  message: readOnly('variation.message'),\n  predicates: readOnly('message.selectionState.predicates'),\n  assignedTo: computed('variation.assignTo.id', 'app.assignableAdmins.[]', function() {\n    let currentAdmin = this.get('app.assignableAdmins')[0];\n    let assignTo = this.get('variation.assignTo');\n    return currentAdmin.get('id') === assignTo.get('id') ? 'you' : assignTo.get('displayAs');\n  }),\n  fromAndAssignToMatchAndHaveNotBeenChanged: computed(\n    'variation.assignToId',\n    'variation.fromId',\n    function() {\n      return this.get('variation.assignToId') === parseInt(this.get('variation.fromId'), 10);\n    },\n  ),\n  allTargetedUsersHaveOwners: computed(\n    'predicates.@each.{value,comparison,predicates}',\n    function() {\n      let predicates = this.predicates;\n      return predicates.any(predicate => {\n        if (predicate.get('isOrPredicate')) {\n          return predicate.get('predicates').any(predicateTargetsOwner);\n        }\n        return predicateTargetsOwner(predicate);\n      });\n    },\n  ),\n  showFallback: not('allTargetedUsersHaveOwners'),\n  showSenderFallback: and('showFallback', 'variation.dynamicSender'),\n  showAssigneeFallback: and('showFallback', 'variation.dynamicAssignee'),\n  _setModelValue(command) {\n    this._setModelValues([command]);\n  },\n  _setModelValues(commands) {\n    let mutationCommands = this._buildMutationCommands(commands, MUTATIONS.setValue);\n    this._mutateMessage(mutationCommands);\n  },\n  _removeModelValues(commands) {\n    let mutationCommands = this._buildMutationCommands(commands, MUTATIONS.removeValue);\n    this._mutateMessage(mutationCommands);\n  },\n  _mutateMessage(mutationCommands) {\n    this.messageMutationService.performMutations(this.message, mutationCommands);\n  },\n  _buildMutationCommands(commands, mutationAction) {\n    let mutations = A();\n    commands.forEach(command => {\n      let fullKey = `${this.get('variation.nameOfMessageRelationship')}.${command.key}`;\n      let context = this._getMutationContext(command.contextMethod);\n      let data = mutationAction === MUTATIONS.setValue ? command.data : null;\n      mutations.push({ command: mutationAction, key: fullKey, data, context });\n    });\n    return mutations;\n  },\n  _getMutationContext(contextMethod) {\n    return {\n      location: Object.getPrototypeOf(this)._debugContainerKey,\n      method: contextMethod,\n    };\n  },\n  _getAssigneeForNewSender(selected) {\n    let newAssigneeId;\n    if (this.get('app.requiresInboxSeatAccess')) {\n      if (this._shouldSetReplyAssignmentToSender(selected)) {\n        newAssigneeId = selected.model.get('id');\n      } else if (this._shouldSetReplyAssignmentToUnassigned(selected)) {\n        newAssigneeId = UNASSIGNED_ID;\n      }\n    } else if (\n      !this.get('variation.assignToId') ||\n      this.fromAndAssignToMatchAndHaveNotBeenChanged\n    ) {\n      newAssigneeId = selected.model.get('id');\n    }\n    return newAssigneeId;\n  },\n  _shouldSetReplyAssignmentToSender(selected) {\n    return this.fromAndAssignToMatchAndHaveNotBeenChanged && this._hasInbox(selected);\n  },\n  _shouldSetReplyAssignmentToUnassigned(selected) {\n    return this.fromAndAssignToMatchAndHaveNotBeenChanged && !this._hasInbox(selected);\n  },\n  _hasInbox(selected) {\n    return selected.model.isTeamButNotAppTeam || selected.model.hasInboxAccess;\n  },\n  _changeSenderCommands(selected) {\n    let commands = [];\n    commands.push({\n      key: 'fromId',\n      data: selected.model.get('id'),\n      contextMethod: 'changeSender',\n    });\n\n    let newAssigneeId = this._getAssigneeForNewSender(selected);\n\n    if (newAssigneeId) {\n      commands.push({\n        key: 'assignToId',\n        data: newAssigneeId,\n        contextMethod: 'changeSender',\n      });\n    }\n\n    return commands;\n  },\n  _changeSender(selected) {\n    let setCommands = [];\n    this.permissionsService.checkPermission('can_send_messages').then(() => {\n      let isDynamicSender = selected.model.get('isDynamicSender') === true;\n\n      setCommands.push({\n        key: 'dynamicSender',\n        data: isDynamicSender,\n        contextMethod: this.actions.changeSender.name,\n      });\n\n      if (!isDynamicSender) {\n        setCommands = [\n          ...setCommands,\n          ...this._changeSenderCommands(selected),\n          {\n            key: 'dynamicAssignee',\n            data: false,\n            contextMethod: this.actions.changeSender.name,\n          },\n        ];\n      }\n\n      this._setModelValues(setCommands);\n    });\n  },\n  _changeSenderFallback(selected) {\n    this.permissionsService.checkPermission('can_send_messages').then(() => {\n      this._setModelValues(this._changeSenderCommands(selected));\n    });\n  },\n\n  actions: {\n    changeSender(selected) {\n      return this._changeSender(selected);\n    },\n    changeSenderFallback(selected) {\n      return this._changeSenderFallback(selected);\n    },\n    changeAssignee(selected) {\n      this.permissionsService.checkPermission('can_send_messages').then(() => {\n        let isDynamicAssignee = selected.model.get('isDynamicSender') === true;\n\n        let setCommands = [\n          {\n            key: 'dynamicAssignee',\n            data: isDynamicAssignee,\n            contextMethod: this.actions.changeAssignee.name,\n          },\n        ];\n\n        if (!isDynamicAssignee) {\n          setCommands = [\n            ...setCommands,\n            {\n              key: 'assignToId',\n              data: selected.model.get('id'),\n              contextMethod: this.actions.changeAssignee.name,\n            },\n          ];\n        }\n\n        this._setModelValues(setCommands);\n      });\n    },\n\n    changeAssigneeFallback(selected) {\n      this.permissionsService.checkPermission('can_send_messages').then(() => {\n        this._setModelValues([\n          {\n            key: 'assignToId',\n            data: selected.model.get('id'),\n            contextMethod: this.actions.changeAssigneeFallback.name,\n          },\n        ]);\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"t__label\\\">\\n  Point at\\n</div>\\n{{#if variation.pointerSelector}}\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div\\n      class=\\\"layout__box o__flexes-to-1\\\"\\n      data-test-selector-tooltip\\n      {{tooltip content=variation.pointerSelector}}\\n    >\\n      <IcButton\\n        @icon=\\\"check\\\"\\n        @label=\\\"Element on your website\\\"\\n        @isDisabled={{true}}\\n        @fit={{true}}\\n        data-test-element-on-your-website-button={{true}}\\n      />\\n    </div>\\n    <div class=\\\"u__ml__5\\\">\\n      <IcButton\\n        @icon=\\\"trash\\\"\\n        @type=\\\"secondary\\\"\\n        @subtle={{true}}\\n        @onClick={{action \\\"removeSelector\\\"}}\\n        data-test-remove-selector-button={{true}}\\n      />\\n    </div>\\n  </div>\\n{{else}}\\n  <IcButton\\n    @icon=\\\"crosshair\\\"\\n    @label=\\\"Select where to point your message\\\"\\n    @fit={{true}}\\n    @onClick={{action \\\"openModal\\\"}}\\n    data-test-open-modal-button={{true}}\\n  />\\n{{/if}}\\n{{#if isShowingModal}}\\n  {{!-- template-lint-disable intercom/no-legacy-modal --}}\\n  <Common::ModalComponent\\n    @closeModal={{action \\\"closeModal\\\"}}\\n    data-test-open-domain-modal\\n    as |modal|\\n  >\\n    <modal.components.header @title=\\\"Select website for your pointer\\\" />\\n    <modal.components.body>\\n      <div>\\n        Select the website on which you want your pointer message to appear, then you'll be able to navigate it and choose where to show it.\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <label class=\\\"t__label\\\">\\n        Website\\n      </label>\\n      {{#if isManuallySelectingWebsite}}\\n        <Input\\n          @value={{selectedDomain}}\\n          placeholder=\\\"http://www.example.com\\\"\\n          class=\\\"f__text o__fit\\\"\\n          data-test-domain-input={{true}}\\n        />\\n      {{else}}\\n        <div\\n          class=\\\"message__editor__content__sidebar__css-picker-domain-select\\\"\\n        >\\n          <IcSelect\\n            @onSelectItem={{action \\\"selectDomain\\\"}}\\n            @items={{pingDomainOptions}}\\n            @mode=\\\"block\\\"\\n            data-test-select-domain-dropdown={{true}}\\n            @selectedValue={{selectedDomain}}\\n            @footerActions={{hash\\n              text=\\\"Enter a new website URL\\\"\\n              icon=\\\"new\\\"\\n              description=\\\"The website needs to have Intercom installed\\\"\\n              action=(action \\\"enableManualDomainSelection\\\")\\n            }}\\n          />\\n        </div>\\n      {{/if}}\\n      <div class=\\\"h-2\\\"></div>\\n      <div class=\\\"text-gray\\\">\\n        If you have Intercom installed on multiple website domains or sub-domains,\\n        your message will be able trigger on any of them.\\n      </div>\\n    </modal.components.body>\\n    <modal.components.footer as |footer|>\\n      <footer.mainButtons as |list|>\\n        <list.button\\n          @label=\\\"Cancel\\\"\\n          @onClick={{action \\\"closeModal\\\"}}\\n          data-test-cancel-open-button={{true}}\\n        />\\n        <IcTooltip @isDisabled={{isValidSelectedDomain}} as |context|>\\n          <context.opener>\\n            <list.button\\n              @type=\\\"primary\\\"\\n              @label=\\\"Open website\\\"\\n              @disabled={{not isValidSelectedDomain}}\\n              @onClick={{action \\\"openSite\\\"}}\\n              data-test-open-website-button={{true}}\\n            />\\n          </context.opener>\\n          <context.content>\\n            The website you entered doesn’t seem to be valid.\\n          </context.content>\\n        </IcTooltip>\\n      </footer.mainButtons>\\n    </modal.components.footer>\\n  </Common::ModalComponent>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"t__label\\\">\\n  Point at\\n</div>\\n{{#if variation.pointerSelector}}\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div\\n      class=\\\"layout__box o__flexes-to-1\\\"\\n      data-test-selector-tooltip\\n      {{tooltip content=variation.pointerSelector}}\\n    >\\n      <IcButton\\n        @icon=\\\"check\\\"\\n        @label=\\\"Element on your website\\\"\\n        @isDisabled={{true}}\\n        @fit={{true}}\\n        data-test-element-on-your-website-button={{true}}\\n      />\\n    </div>\\n    <div class=\\\"u__ml__5\\\">\\n      <IcButton\\n        @icon=\\\"trash\\\"\\n        @type=\\\"secondary\\\"\\n        @subtle={{true}}\\n        @onClick={{action \\\"removeSelector\\\"}}\\n        data-test-remove-selector-button={{true}}\\n      />\\n    </div>\\n  </div>\\n{{else}}\\n  <IcButton\\n    @icon=\\\"crosshair\\\"\\n    @label=\\\"Select where to point your message\\\"\\n    @fit={{true}}\\n    @onClick={{action \\\"openModal\\\"}}\\n    data-test-open-modal-button={{true}}\\n  />\\n{{/if}}\\n{{#if isShowingModal}}\\n  {{!-- template-lint-disable intercom/no-legacy-modal --}}\\n  <Common::ModalComponent\\n    @closeModal={{action \\\"closeModal\\\"}}\\n    data-test-open-domain-modal\\n    as |modal|\\n  >\\n    <modal.components.header @title=\\\"Select website for your pointer\\\" />\\n    <modal.components.body>\\n      <div>\\n        Select the website on which you want your pointer message to appear, then you'll be able to navigate it and choose where to show it.\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <label class=\\\"t__label\\\">\\n        Website\\n      </label>\\n      {{#if isManuallySelectingWebsite}}\\n        <Input\\n          @value={{selectedDomain}}\\n          placeholder=\\\"http://www.example.com\\\"\\n          class=\\\"f__text o__fit\\\"\\n          data-test-domain-input={{true}}\\n        />\\n      {{else}}\\n        <div\\n          class=\\\"message__editor__content__sidebar__css-picker-domain-select\\\"\\n        >\\n          <IcSelect\\n            @onSelectItem={{action \\\"selectDomain\\\"}}\\n            @items={{pingDomainOptions}}\\n            @mode=\\\"block\\\"\\n            data-test-select-domain-dropdown={{true}}\\n            @selectedValue={{selectedDomain}}\\n            @footerActions={{hash\\n              text=\\\"Enter a new website URL\\\"\\n              icon=\\\"new\\\"\\n              description=\\\"The website needs to have Intercom installed\\\"\\n              action=(action \\\"enableManualDomainSelection\\\")\\n            }}\\n          />\\n        </div>\\n      {{/if}}\\n      <div class=\\\"h-2\\\"></div>\\n      <div class=\\\"text-gray\\\">\\n        If you have Intercom installed on multiple website domains or sub-domains,\\n        your message will be able trigger on any of them.\\n      </div>\\n    </modal.components.body>\\n    <modal.components.footer as |footer|>\\n      <footer.mainButtons as |list|>\\n        <list.button\\n          @label=\\\"Cancel\\\"\\n          @onClick={{action \\\"closeModal\\\"}}\\n          data-test-cancel-open-button={{true}}\\n        />\\n        <IcTooltip @isDisabled={{isValidSelectedDomain}} as |context|>\\n          <context.opener>\\n            <list.button\\n              @type=\\\"primary\\\"\\n              @label=\\\"Open website\\\"\\n              @disabled={{not isValidSelectedDomain}}\\n              @onClick={{action \\\"openSite\\\"}}\\n              data-test-open-website-button={{true}}\\n            />\\n          </context.opener>\\n          <context.content>\\n            The website you entered doesn’t seem to be valid.\\n          </context.content>\\n        </IcTooltip>\\n      </footer.mainButtons>\\n    </modal.components.footer>\\n  </Common::ModalComponent>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/content/sidebar/css-selector-picker.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/sidebar/css-selector-picker.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { isEmpty } from '@ember/utils';\nimport ENV from 'embercom/config/environment';\nimport { applyFunction } from '@intercom/embercom-core/lib/computed-properties';\nimport { map } from '@ember/object/computed';\nimport isValidUrl from 'embercom/lib/url-validator';\n\nexport default Component.extend({\n  'data-test-css-selector-picker': true,\n\n  store: service(),\n  intersectionService: service(),\n  intercomEventService: service(),\n  isManuallySelectingWebsite: false,\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.intersectionService.registerEventHandler('selector-chosen', data => {\n      this.setCssSelector(data.selector);\n      return true;\n    });\n    this.intersectionService.registerEventHandler('track-analytics-event', data => {\n      this.trackIntersectionEvent(data);\n      return true;\n    });\n  },\n\n  pingDomainOptions: map('pingDomains', function(domain) {\n    return { text: domain, value: domain };\n  }),\n\n  isValidSelectedDomain: applyFunction(isValidUrl, 'selectedDomain'),\n\n  willDestroyElement() {\n    this._super(...arguments);\n    this.intersectionService.unregisterEventHandler('selector-chosen');\n    this.intersectionService.unregisterEventHandler('track-analytics-event');\n  },\n\n  setCssSelector(value) {\n    this.changePointerSelector(value);\n  },\n\n  trackIntersectionEvent(event) {\n    this.intercomEventService.trackAnalyticsEvent(event);\n  },\n\n  fetchDomainsAndOpenModal: task(function*() {\n    if (isEmpty(this.pingDomains)) {\n      let pingDomains = yield this.store.query('ping-domain', { include_subdomains: true });\n      this.set('pingDomains', pingDomains.mapBy('domain').uniq());\n      if (ENV.environment === 'development') {\n        this.pingDomains.pushObjects(['http://intercom.test', 'http://intercom-js.test']);\n      }\n      this.set('selectedDomain', this.get('pingDomains.firstObject'));\n    } else {\n      this.set('selectedDomain', this.get('pingDomains.firstObject'));\n    }\n    this.set('isShowingModal', true);\n  }),\n\n  actions: {\n    openModal() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'open-website-modal',\n      });\n      return this.fetchDomainsAndOpenModal.perform();\n    },\n    closeModal() {\n      this.set('isManuallySelectingWebsite', false);\n      this.set('isShowingModal', false);\n    },\n    removeSelector() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'remove-pointer-selector',\n      });\n      this.setCssSelector('');\n    },\n    selectDomain(domain) {\n      this.set('selectedDomain', domain);\n    },\n    openSite() {\n      this.intersectionService.openWindow(this.selectedDomain, 'visual-element-selector');\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'open-pointer-selection-website',\n      });\n      this.set('isShowingModal', false);\n    },\n    enableManualDomainSelection() {\n      this.set('selectedDomain', null);\n      this.set('isManuallySelectingWebsite', true);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"f__expanded-select__item message__editor__content__sidebar__delivery-option-item {{if isSelected 'o__selected'}} {{additionalClasses}}\\\" data-test-delivery-option=\\\"{{deliveryOption}}\\\" {{action changeDeliveryOption deliveryOption}}>\\n  <span class=\\\"test__delivery-option-switcher-icon o__{{icon}}\\\">{{ic-interface-icon icon}}</span> {{buttonText}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"f__expanded-select__item message__editor__content__sidebar__delivery-option-item {{if isSelected 'o__selected'}} {{additionalClasses}}\\\" data-test-delivery-option=\\\"{{deliveryOption}}\\\" {{action changeDeliveryOption deliveryOption}}>\\n  <span class=\\\"test__delivery-option-switcher-icon o__{{icon}}\\\">{{ic-interface-icon icon}}</span> {{buttonText}}\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/content/sidebar/delivery-option-switcher-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/sidebar/delivery-option-switcher-item.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { selectFromObject } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  classNames: ['f__expanded-select__item-container'],\n  classNameBindings: ['isSelected:o__selected'],\n  buttonTextMapping: {\n    badge: 'Badge',\n    summary: 'Snippet',\n    full: 'Show the full message',\n  },\n  iconMapping: {\n    badge: 'inapp-badge',\n    summary: 'inapp-snippet',\n    full: 'inapp-full',\n  },\n  buttonText: selectFromObject('buttonTextMapping', 'deliveryOption'),\n  icon: selectFromObject('iconMapping', 'deliveryOption'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"f__expanded-select o__fit test__delivery-option-switcher\\\">\\n  <MessageEditor::Content::Sidebar::DeliveryOptionSwitcherItem\\n    @isSelected={{variation.isBadge}}\\n    @deliveryOption=\\\"badge\\\"\\n    @changeDeliveryOption={{changeDeliveryOption}}\\n    @enableDeliveryPreview={{enableDeliveryPreview}}\\n    @disableDeliveryPreview={{disableDeliveryPreview}}\\n    @deliveryPreviewEnabled={{deliveryPreviewEnabled}}\\n  />\\n  <MessageEditor::Content::Sidebar::DeliveryOptionSwitcherItem\\n    @isSelected={{variation.isSummary}}\\n    @deliveryOption=\\\"summary\\\"\\n    @changeDeliveryOption={{changeDeliveryOption}}\\n    @enableDeliveryPreview={{enableDeliveryPreview}}\\n    @disableDeliveryPreview={{disableDeliveryPreview}}\\n    @deliveryPreviewEnabled={{deliveryPreviewEnabled}}\\n  />\\n  <MessageEditor::Content::Sidebar::DeliveryOptionSwitcherItem\\n    @isSelected={{variation.isFull}}\\n    @deliveryOption=\\\"full\\\"\\n    @changeDeliveryOption={{changeDeliveryOption}}\\n    @enableDeliveryPreview={{enableDeliveryPreview}}\\n    @disableDeliveryPreview={{disableDeliveryPreview}}\\n    @deliveryPreviewEnabled={{deliveryPreviewEnabled}}\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"f__expanded-select o__fit test__delivery-option-switcher\\\">\\n  <MessageEditor::Content::Sidebar::DeliveryOptionSwitcherItem\\n    @isSelected={{variation.isBadge}}\\n    @deliveryOption=\\\"badge\\\"\\n    @changeDeliveryOption={{changeDeliveryOption}}\\n    @enableDeliveryPreview={{enableDeliveryPreview}}\\n    @disableDeliveryPreview={{disableDeliveryPreview}}\\n    @deliveryPreviewEnabled={{deliveryPreviewEnabled}}\\n  />\\n  <MessageEditor::Content::Sidebar::DeliveryOptionSwitcherItem\\n    @isSelected={{variation.isSummary}}\\n    @deliveryOption=\\\"summary\\\"\\n    @changeDeliveryOption={{changeDeliveryOption}}\\n    @enableDeliveryPreview={{enableDeliveryPreview}}\\n    @disableDeliveryPreview={{disableDeliveryPreview}}\\n    @deliveryPreviewEnabled={{deliveryPreviewEnabled}}\\n  />\\n  <MessageEditor::Content::Sidebar::DeliveryOptionSwitcherItem\\n    @isSelected={{variation.isFull}}\\n    @deliveryOption=\\\"full\\\"\\n    @changeDeliveryOption={{changeDeliveryOption}}\\n    @enableDeliveryPreview={{enableDeliveryPreview}}\\n    @disableDeliveryPreview={{disableDeliveryPreview}}\\n    @deliveryPreviewEnabled={{deliveryPreviewEnabled}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/content/sidebar/delivery-option-switcher.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/sidebar/delivery-option-switcher.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-if isMaximized class=\\\"message__editor__content__sidebar\\\"}}\\n  <div class=\\\"message__editor__content__sidebar__inner-wrapper p-6\\\">\\n    <ContentEditor::Panels::Content::AssigneeDropdownWithFallback\\n      @label=\\\"From\\\"\\n      @selectedValueId={{this.senderId}}\\n      @selectedValueType={{this.senderType}}\\n      @onChangeId={{action \\\"changeSenderId\\\"}}\\n      @onChangeType={{action \\\"changeSenderType\\\"}}\\n      @allowUnassigned={{false}}\\n      @isEmailMode={{true}}\\n      @supportOldEditor={{true}}\\n      @filterPlaceholder=\\\"Search teammates and custom addresses...\\\"\\n      data-test-from-dropdown\\n    />\\n    {{#if variation.hasCustomFromAddress}}\\n      <div class=\\\"u__mt__30\\\">\\n        <div class=\\\"t__label\\\">\\n          Reply to\\n        </div>\\n        <MessageEditor::Content::Sidebar::ReplyToDropdown\\n          @variation={{variation}}\\n          @setSelected={{action \\\"changeReplyTo\\\"}}\\n          class=\\\"o__fit test__mesage-editor__content__reply-to-dropdown\\\"\\n        />\\n      </div>\\n    {{/if}}\\n    {{#unless variation.hasCustomReplyToAddress}}\\n      {{#if app.inboxIsActive}}\\n        <div class=\\\"u__mt__20 t__label\\\">\\n          Replies assigned to\\n        </div>\\n        <MessageEditor::Content::Sidebar::AssigneeDropdown\\n          @app={{app}}\\n          @variation={{variation}}\\n          @setSelected={{action \\\"changeAssignee\\\"}}\\n          class=\\\"o__fit test__mesage-editor__content__assign-to-dropdown\\\"\\n        />\\n        {{#if showAssigneeFallback}}\\n          <div\\n            class=\\\"u__padl__20 u__mt__10 message__editor__content__sidebar__fallback\\\"\\n          >\\n            <div class=\\\"t__label\\\">\\n              Fallback to\\n            </div>\\n            <MessageEditor::Content::Sidebar::AssigneeDropdown\\n              @app={{app}}\\n              @variation={{variation}}\\n              @setSelected={{action \\\"changeAssigneeFallback\\\"}}\\n              class=\\\"o__fit\\\"\\n              data-test-assignee-fallback-dropdown=\\\"true\\\"\\n              @isFallback={{true}}\\n            />\\n          </div>\\n        {{/if}}\\n      {{/if}}\\n    {{/unless}}\\n    {{#unless variation.isHtmlMode}}\\n      <div class=\\\"u__mt__30\\\">\\n        <div class=\\\"t__label\\\">\\n          Email template\\n        </div>\\n        <MessageEditor::Content::Sidebar::TemplateDropdown\\n          @app={{app}}\\n          @variation={{variation}}\\n          @setSelected={{action \\\"changeTemplate\\\"}}\\n          class=\\\"test__mesage-editor__content__template-dropdown\\\"\\n        />\\n      </div>\\n    {{/unless}}\\n    <div class=\\\"u__mt__30\\\">\\n      <div class=\\\"t__label\\\">\\n        Test message\\n      </div>\\n      <MessageEditor::Content::Sidebar::SendTestEmailButton\\n        @variation={{variation}}\\n        class=\\\"test__mesage-editor__content__send-test-email\\\"\\n      />\\n    </div>\\n    {{#unless variation.isHtmlMode}}\\n      <div class=\\\"u__mt__30\\\">\\n        <MessageEditor::Content::Sidebar::HtmlModeSwitch\\n          @switchToHtmlMode={{action \\\"switchToHtmlMode\\\"}}\\n        />\\n      </div>\\n      <div class=\\\"u__mt__30\\\">\\n        <hr />\\n        <MessageEditor::Content::Sidebar::UnsubscribeOption\\n          @message={{variation.message}}\\n          data-test-unsubscribe-option={{true}}\\n        />\\n      </div>\\n    {{/unless}}\\n    {{#if variation.message.hasMultipleVariations}}\\n      <div class=\\\"u__mt__60\\\">\\n        <IcButton\\n          @type=\\\"secondary-destructive\\\"\\n          class=\\\"o__fit\\\"\\n          data-test-delete-variation={{true}}\\n          @onClick={{perform deleteVariation variation}}\\n        >\\n          {{ic-interface-icon \\\"trash\\\"}} Delete {{deleteButtonLabel}} {{variation.label}}\\n        </IcButton>\\n      </div>\\n    {{/if}}\\n  </div>\\n{{/liquid-if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-if isMaximized class=\\\"message__editor__content__sidebar\\\"}}\\n  <div class=\\\"message__editor__content__sidebar__inner-wrapper p-6\\\">\\n    <ContentEditor::Panels::Content::AssigneeDropdownWithFallback\\n      @label=\\\"From\\\"\\n      @selectedValueId={{this.senderId}}\\n      @selectedValueType={{this.senderType}}\\n      @onChangeId={{action \\\"changeSenderId\\\"}}\\n      @onChangeType={{action \\\"changeSenderType\\\"}}\\n      @allowUnassigned={{false}}\\n      @isEmailMode={{true}}\\n      @supportOldEditor={{true}}\\n      @filterPlaceholder=\\\"Search teammates and custom addresses...\\\"\\n      data-test-from-dropdown\\n    />\\n    {{#if variation.hasCustomFromAddress}}\\n      <div class=\\\"u__mt__30\\\">\\n        <div class=\\\"t__label\\\">\\n          Reply to\\n        </div>\\n        <MessageEditor::Content::Sidebar::ReplyToDropdown\\n          @variation={{variation}}\\n          @setSelected={{action \\\"changeReplyTo\\\"}}\\n          class=\\\"o__fit test__mesage-editor__content__reply-to-dropdown\\\"\\n        />\\n      </div>\\n    {{/if}}\\n    {{#unless variation.hasCustomReplyToAddress}}\\n      {{#if app.inboxIsActive}}\\n        <div class=\\\"u__mt__20 t__label\\\">\\n          Replies assigned to\\n        </div>\\n        <MessageEditor::Content::Sidebar::AssigneeDropdown\\n          @app={{app}}\\n          @variation={{variation}}\\n          @setSelected={{action \\\"changeAssignee\\\"}}\\n          class=\\\"o__fit test__mesage-editor__content__assign-to-dropdown\\\"\\n        />\\n        {{#if showAssigneeFallback}}\\n          <div\\n            class=\\\"u__padl__20 u__mt__10 message__editor__content__sidebar__fallback\\\"\\n          >\\n            <div class=\\\"t__label\\\">\\n              Fallback to\\n            </div>\\n            <MessageEditor::Content::Sidebar::AssigneeDropdown\\n              @app={{app}}\\n              @variation={{variation}}\\n              @setSelected={{action \\\"changeAssigneeFallback\\\"}}\\n              class=\\\"o__fit\\\"\\n              data-test-assignee-fallback-dropdown=\\\"true\\\"\\n              @isFallback={{true}}\\n            />\\n          </div>\\n        {{/if}}\\n      {{/if}}\\n    {{/unless}}\\n    {{#unless variation.isHtmlMode}}\\n      <div class=\\\"u__mt__30\\\">\\n        <div class=\\\"t__label\\\">\\n          Email template\\n        </div>\\n        <MessageEditor::Content::Sidebar::TemplateDropdown\\n          @app={{app}}\\n          @variation={{variation}}\\n          @setSelected={{action \\\"changeTemplate\\\"}}\\n          class=\\\"test__mesage-editor__content__template-dropdown\\\"\\n        />\\n      </div>\\n    {{/unless}}\\n    <div class=\\\"u__mt__30\\\">\\n      <div class=\\\"t__label\\\">\\n        Test message\\n      </div>\\n      <MessageEditor::Content::Sidebar::SendTestEmailButton\\n        @variation={{variation}}\\n        class=\\\"test__mesage-editor__content__send-test-email\\\"\\n      />\\n    </div>\\n    {{#unless variation.isHtmlMode}}\\n      <div class=\\\"u__mt__30\\\">\\n        <MessageEditor::Content::Sidebar::HtmlModeSwitch\\n          @switchToHtmlMode={{action \\\"switchToHtmlMode\\\"}}\\n        />\\n      </div>\\n      <div class=\\\"u__mt__30\\\">\\n        <hr />\\n        <MessageEditor::Content::Sidebar::UnsubscribeOption\\n          @message={{variation.message}}\\n          data-test-unsubscribe-option={{true}}\\n        />\\n      </div>\\n    {{/unless}}\\n    {{#if variation.message.hasMultipleVariations}}\\n      <div class=\\\"u__mt__60\\\">\\n        <IcButton\\n          @type=\\\"secondary-destructive\\\"\\n          class=\\\"o__fit\\\"\\n          data-test-delete-variation={{true}}\\n          @onClick={{perform deleteVariation variation}}\\n        >\\n          {{ic-interface-icon \\\"trash\\\"}} Delete {{deleteButtonLabel}} {{variation.label}}\\n        </IcButton>\\n      </div>\\n    {{/if}}\\n  </div>\\n{{/liquid-if}}\\n\",\"moduleName\":\"embercom/components/message-editor/content/sidebar/email.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/sidebar/email.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { readOnly } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport SidebarBase from 'embercom/components/message-editor/content/sidebar/base';\nimport createFragmentFromBlock from 'embercom/lib/blocks/create-fragment-from-block';\nimport splitHtml from '@intercom/embercom-composer/lib/split-html';\nimport { senderTypes } from 'embercom/models/data/outbound/constants';\n\nexport default SidebarBase.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  deleteButtonLabel: 'test',\n  _changeToCustomFromAddress(selected) {\n    this._setModelValues([\n      {\n        key: 'customFromAddress',\n        data: selected.model,\n        contextMethod: this.actions.changeSender.name,\n      },\n    ]);\n  },\n\n  _fetchRenderableSenderAddress() {\n    this.variation.from.getEmailAddressForApp();\n  },\n\n  senderId: computed('variation.{fromId,customFromAddress}', function() {\n    if (this.variation.hasCustomFromAddress) {\n      return this.variation.customFromAddress.get('id');\n    } else {\n      return this.variation.from.id;\n    }\n  }),\n  senderType: computed('variation.{dynamicSender,hasCustomFromAddress}', function() {\n    if (this.variation.dynamicSender) {\n      return senderTypes.owner;\n    }\n    if (this.variation.hasCustomFromAddress) {\n      return senderTypes.customEmailAddress;\n    }\n    return senderTypes.admin;\n  }),\n\n  actions: {\n    changeSenderId(newValue) {\n      let senderId = Number(newValue.split(':').firstObject);\n      let senderType = Number(newValue.split(':').lastObject);\n\n      if (senderType === senderTypes.customEmailAddress) {\n        this._setModelValues([\n          {\n            key: 'customFromAddress',\n            data: this.store.peekRecord('custom-email-address', senderId),\n            contextMethod: 'changeSenderId',\n          },\n        ]);\n      } else {\n        this._setModelValues([\n          {\n            key: 'fromId',\n            data: senderId,\n            contextMethod: 'changeSenderId',\n          },\n        ]);\n        this._removeModelValues([\n          {\n            key: 'customFromAddress',\n            contextMethod: 'changeSenderId',\n          },\n          {\n            key: 'customReplyToAddress',\n            contextMethod: 'changeSenderId',\n          },\n        ]);\n        this._fetchRenderableSenderAddress();\n      }\n    },\n\n    changeSenderType(newType) {\n      let commands = [\n        {\n          key: 'dynamicSender',\n          data: senderTypes.owner === newType,\n          contextMethod: 'changeFromType',\n        },\n      ];\n      this._setModelValues(commands);\n    },\n    changeSender(selected) {\n      this.permissionsService.checkPermission('can_send_messages').then(() => {\n        if (selected.type === 'custom-email-address') {\n          this._changeToCustomFromAddress(selected);\n        } else {\n          this._changeSender(selected);\n          this._removeModelValues([\n            {\n              key: 'customFromAddress',\n              contextMethod: this.actions.changeSender.name,\n            },\n            {\n              key: 'customReplyToAddress',\n              contextMethod: this.actions.changeSender.name,\n            },\n          ]);\n        }\n      });\n    },\n    changeSenderFallback(selected) {\n      this.permissionsService.checkPermission('can_send_messages').then(() => {\n        if (selected.type === 'custom-email-address') {\n          this._changeToCustomFromAddress(selected);\n        } else {\n          this._changeSenderFallback(selected);\n        }\n      });\n    },\n    changeReplyTo(selected) {\n      let setCommands = [];\n      let removeCommands = [];\n      this.permissionsService.checkPermission('can_send_messages').then(() => {\n        if (selected.type === 'custom-email-address') {\n          setCommands.push({\n            key: 'customReplyToAddress',\n            data: selected.model,\n            contextMethod: this.actions.changeReplyTo.name,\n          });\n          removeCommands.push({\n            key: 'assignToId',\n            contextMethod: this.actions.changeReplyTo.name,\n          });\n        } else {\n          removeCommands.push({\n            key: 'customReplyToAddress',\n            contextMethod: this.actions.changeReplyTo.name,\n          });\n          setCommands.push({\n            key: 'fromId',\n            data: selected.model.get('id'),\n            contextMethod: this.actions.changeReplyTo.name,\n          });\n          if (!this.get('variation.assignToId')) {\n            setCommands.push({\n              key: 'assignToId',\n              data: selected.model.get('id'),\n              contextMethod: this.actions.changeReplyTo.name,\n            });\n          }\n        }\n        this._removeModelValues(removeCommands);\n        this._setModelValues(setCommands);\n      });\n    },\n    changeTemplate(template) {\n      this._setModelValues([\n        { key: 'emailTemplate', data: template, contextMethod: this.actions.changeTemplate.name },\n      ]);\n    },\n    switchToHtmlMode() {\n      let setCommands = [];\n      let emailTemplate = this.store.peekRecord('email-template', 'html-block-template');\n      let splitTemplate = splitHtml(emailTemplate.get('template'));\n      let rawBlocks = [\n        {\n          type: 'html',\n          content: '<p>Hi there,</p>',\n          header: splitTemplate.header,\n          footer: splitTemplate.footer,\n        },\n      ];\n\n      let blockFragments = rawBlocks.map(block => createFragmentFromBlock(this.store, block));\n\n      setCommands.push({\n        key: 'emailTemplate',\n        data: emailTemplate,\n        contextMethod: this.actions.switchToHtmlMode.name,\n      });\n      setCommands.push({\n        key: 'blocks',\n        data: blockFragments,\n        contextMethod: this.actions.switchToHtmlMode.name,\n      });\n      this._setModelValues(setCommands);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"t__label\\\">\\n  Write your email in HTML\\n</div>\\n<IcButton\\n  @type=\\\"secondary\\\"\\n  class=\\\"o__fit\\\"\\n  @onClick={{action \\\"confirmSwitchtoHtmlMode\\\"}}\\n  data-test-switch-to-html-mode={{true}}\\n>\\n  Import HTML email\\n</IcButton>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"t__label\\\">\\n  Write your email in HTML\\n</div>\\n<IcButton\\n  @type=\\\"secondary\\\"\\n  class=\\\"o__fit\\\"\\n  @onClick={{action \\\"confirmSwitchtoHtmlMode\\\"}}\\n  data-test-switch-to-html-mode={{true}}\\n>\\n  Import HTML email\\n</IcButton>\\n\",\"moduleName\":\"embercom/components/message-editor/content/sidebar/html-mode-switch.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/sidebar/html-mode-switch.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable promise/prefer-await-to-then */\nimport SidebarBase from 'embercom/components/message-editor/content/sidebar/base';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport { inject as service } from '@ember/service';\n\nexport default SidebarBase.extend({\n  paywallService: service(),\n  _confirmSwitch() {\n    let options = {\n      title: 'Import an HTML email?',\n      body:\n        'This will overwrite existing message content and unsubscribe links, so remember to manually add an unsubscribe link to your HTML. You can only send HTML via email, not in-app or push.',\n      confirmButtonText: 'Import HTML email',\n    };\n    return intercomConfirm(this, options);\n  },\n\n  actions: {\n    confirmSwitchtoHtmlMode() {\n      this.paywallService\n        .paywall({ featureName: 'html_editor' })\n        .then(() => {\n          this._confirmSwitch().then(() => {\n            this.switchToHtmlMode();\n          });\n        })\n        .catch(this.paywallService.handleError);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-if\\n  isMaximized\\n  class=\\\"message__editor__content__sidebar layout__box o__has-columns\\\"\\n}}\\n  <div class=\\\"message__editor__content__sidebar__inner-wrapper p-6\\\">\\n    <div class=\\\"flex flex-col gap-8\\\">\\n      <IcContent>\\n        <label class=\\\"t__label\\\">\\n          From\\n        </label>\\n        <MessageEditor::Content::Sidebar::SenderDropdown\\n          @variation={{variation}}\\n          @setSelected={{action \\\"changeSender\\\"}}\\n          class=\\\"o__fit test__mesage-editor__content__from-dropdown\\\"\\n        />\\n        {{#if showSenderFallback}}\\n          <div class=\\\"u__padl__20 message__editor__content__sidebar__fallback\\\">\\n            <IcContent>\\n              <label class=\\\"t__label\\\">\\n                Fallback to\\n              </label>\\n              <MessageEditor::Content::Sidebar::SenderDropdown\\n                @variation={{variation}}\\n                @setSelected={{action \\\"changeSenderFallback\\\"}}\\n                class=\\\"o__fit\\\"\\n                data-test-from-fallback-dropdown=\\\"true\\\"\\n                @isFallback={{true}}\\n              />\\n            </IcContent>\\n          </div>\\n        {{/if}}\\n        {{#if (and app.inboxIsActive canReplyToMessage)}}\\n          <label class=\\\"t__label\\\">\\n            Replies assigned to\\n          </label>\\n          <MessageEditor::Content::Sidebar::AssigneeDropdown\\n            @app={{app}}\\n            @variation={{variation}}\\n            @setSelected={{action \\\"changeAssignee\\\"}}\\n            class=\\\"o__fit test__mesage-editor__content__assign-to-dropdown\\\"\\n          />\\n          {{#if showAssigneeFallback}}\\n            <div\\n              class=\\\"u__padl__20 message__editor__content__sidebar__fallback\\\"\\n            >\\n              <IcContent>\\n                <label class=\\\"t__label\\\">\\n                  Fallback to\\n                </label>\\n                <MessageEditor::Content::Sidebar::AssigneeDropdown\\n                  @app={{app}}\\n                  @variation={{variation}}\\n                  @setSelected={{action \\\"changeAssigneeFallback\\\"}}\\n                  class=\\\"o__fit\\\"\\n                  data-test-assignee-fallback-dropdown=\\\"true\\\"\\n                  @isFallback={{true}}\\n                />\\n              </IcContent>\\n            </div>\\n          {{/if}}\\n        {{/if}}\\n      </IcContent>\\n      {{#unless variation.message.isVisitorAutoMessage}}\\n        <IcContent>\\n          <label class=\\\"t__label\\\">\\n            Deliver first to\\n          </label>\\n          <Common::ButtonGroup\\n            @app={{app}}\\n            @content={{messageChannelOptions}}\\n            @selected={{selectedDeliveryChannel}}\\n            @onSelected={{action \\\"setDeliveryChannel\\\"}}\\n            data-test-deliver-first-to-switcher=\\\"true\\\"\\n            />\\n        </IcContent>\\n      {{/unless}}\\n      <IcContent>\\n        <label class=\\\"t__label\\\">\\n          Message type\\n        </label>\\n        <Common::ButtonGroup\\n          @app={{app}}\\n          @content={{messageTypeOptions}}\\n          @selected={{variation.messageStyle}}\\n          @onSelected={{action \\\"changeMessageType\\\"}}\\n          class=\\\"test__mesage-editor__content__message-type\\\"\\n        />\\n        {{#if variation.isPointer}}\\n          <MessageEditor::Content::Sidebar::CssSelectorPicker\\n            @variation={{variation}}\\n            @changePointerSelector={{action \\\"changePointerSelector\\\"}}\\n          />\\n        {{/if}}\\n      </IcContent>\\n      {{#if showReplyType}}\\n        <IcContent>\\n          <label class=\\\"t__label\\\">\\n            Reply type\\n          </label>\\n          <Common::ButtonGroup\\n            @app={{app}}\\n            @content={{replyTypeOptions}}\\n            @selected={{variation.replyType}}\\n            @onSelected={{action \\\"changeReplyType\\\"}}\\n            class=\\\"test__mesage-editor__content__reply-type\\\"\\n          />\\n        </IcContent>\\n      {{/if}}\\n      {{#unless (or variation.isVideo variation.isPointer)}}\\n        <IcContent>\\n          <label class=\\\"t__label\\\">\\n            Sent as\\n          </label>\\n          <MessageEditor::Content::Sidebar::DeliveryOptionSwitcher\\n            @variation={{variation}}\\n            @enableDeliveryPreview={{enableDeliveryPreview}}\\n            @disableDeliveryPreview={{disableDeliveryPreview}}\\n            @deliveryPreviewEnabled={{deliveryPreviewEnabled}}\\n            @changeDeliveryOption={{action \\\"changeDeliveryOption\\\"}}\\n          />\\n        </IcContent>\\n      {{/unless}}\\n      {{#unless isTargetingVisitorsOrLeads}}\\n        <MessageEditor::Channel::SendPushNotification\\n          @message={{message}}\\n          @maximizePanel={{@maximizePanel}}\\n        />\\n      {{/unless}}\\n    </div>\\n    <IcContent>\\n      {{#unless variation.isVideo}}\\n        <hr class=\\\"sp__hr\\\" />\\n        <IcContent>\\n          <label class=\\\"t__label\\\">\\n            Preview data as\\n          </label>\\n          <MessageEditor::Content::Sidebar::PreviewDataSwitch\\n            @message={{variation.message}}\\n            @dataPreviewEnabled={{dataPreviewEnabled}}\\n            @onSelected={{toggleDataPreview}}\\n            @isVisitorAutoMessage={{variation.isVisitorAutoMessage}}\\n          />\\n        </IcContent>\\n      {{/unless}}\\n      {{#if variation.message.hasMultipleVariations}}\\n        <IcButton\\n          @type=\\\"secondary-destructive\\\"\\n          class=\\\"o__fit\\\"\\n          data-test-delete-variation={{true}}\\n          @onClick={{perform deleteVariation variation}}\\n        >\\n          {{ic-interface-icon \\\"trash\\\"}} Delete {{deleteButtonLabel}} {{variation.label}}\\n        </IcButton>\\n      {{/if}}\\n    </IcContent>\\n  </div>\\n{{/liquid-if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-if\\n  isMaximized\\n  class=\\\"message__editor__content__sidebar layout__box o__has-columns\\\"\\n}}\\n  <div class=\\\"message__editor__content__sidebar__inner-wrapper p-6\\\">\\n    <div class=\\\"flex flex-col gap-8\\\">\\n      <IcContent>\\n        <label class=\\\"t__label\\\">\\n          From\\n        </label>\\n        <MessageEditor::Content::Sidebar::SenderDropdown\\n          @variation={{variation}}\\n          @setSelected={{action \\\"changeSender\\\"}}\\n          class=\\\"o__fit test__mesage-editor__content__from-dropdown\\\"\\n        />\\n        {{#if showSenderFallback}}\\n          <div class=\\\"u__padl__20 message__editor__content__sidebar__fallback\\\">\\n            <IcContent>\\n              <label class=\\\"t__label\\\">\\n                Fallback to\\n              </label>\\n              <MessageEditor::Content::Sidebar::SenderDropdown\\n                @variation={{variation}}\\n                @setSelected={{action \\\"changeSenderFallback\\\"}}\\n                class=\\\"o__fit\\\"\\n                data-test-from-fallback-dropdown=\\\"true\\\"\\n                @isFallback={{true}}\\n              />\\n            </IcContent>\\n          </div>\\n        {{/if}}\\n        {{#if (and app.inboxIsActive canReplyToMessage)}}\\n          <label class=\\\"t__label\\\">\\n            Replies assigned to\\n          </label>\\n          <MessageEditor::Content::Sidebar::AssigneeDropdown\\n            @app={{app}}\\n            @variation={{variation}}\\n            @setSelected={{action \\\"changeAssignee\\\"}}\\n            class=\\\"o__fit test__mesage-editor__content__assign-to-dropdown\\\"\\n          />\\n          {{#if showAssigneeFallback}}\\n            <div\\n              class=\\\"u__padl__20 message__editor__content__sidebar__fallback\\\"\\n            >\\n              <IcContent>\\n                <label class=\\\"t__label\\\">\\n                  Fallback to\\n                </label>\\n                <MessageEditor::Content::Sidebar::AssigneeDropdown\\n                  @app={{app}}\\n                  @variation={{variation}}\\n                  @setSelected={{action \\\"changeAssigneeFallback\\\"}}\\n                  class=\\\"o__fit\\\"\\n                  data-test-assignee-fallback-dropdown=\\\"true\\\"\\n                  @isFallback={{true}}\\n                />\\n              </IcContent>\\n            </div>\\n          {{/if}}\\n        {{/if}}\\n      </IcContent>\\n      {{#unless variation.message.isVisitorAutoMessage}}\\n        <IcContent>\\n          <label class=\\\"t__label\\\">\\n            Deliver first to\\n          </label>\\n          <Common::ButtonGroup\\n            @app={{app}}\\n            @content={{messageChannelOptions}}\\n            @selected={{selectedDeliveryChannel}}\\n            @onSelected={{action \\\"setDeliveryChannel\\\"}}\\n            data-test-deliver-first-to-switcher=\\\"true\\\"\\n            />\\n        </IcContent>\\n      {{/unless}}\\n      <IcContent>\\n        <label class=\\\"t__label\\\">\\n          Message type\\n        </label>\\n        <Common::ButtonGroup\\n          @app={{app}}\\n          @content={{messageTypeOptions}}\\n          @selected={{variation.messageStyle}}\\n          @onSelected={{action \\\"changeMessageType\\\"}}\\n          class=\\\"test__mesage-editor__content__message-type\\\"\\n        />\\n        {{#if variation.isPointer}}\\n          <MessageEditor::Content::Sidebar::CssSelectorPicker\\n            @variation={{variation}}\\n            @changePointerSelector={{action \\\"changePointerSelector\\\"}}\\n          />\\n        {{/if}}\\n      </IcContent>\\n      {{#if showReplyType}}\\n        <IcContent>\\n          <label class=\\\"t__label\\\">\\n            Reply type\\n          </label>\\n          <Common::ButtonGroup\\n            @app={{app}}\\n            @content={{replyTypeOptions}}\\n            @selected={{variation.replyType}}\\n            @onSelected={{action \\\"changeReplyType\\\"}}\\n            class=\\\"test__mesage-editor__content__reply-type\\\"\\n          />\\n        </IcContent>\\n      {{/if}}\\n      {{#unless (or variation.isVideo variation.isPointer)}}\\n        <IcContent>\\n          <label class=\\\"t__label\\\">\\n            Sent as\\n          </label>\\n          <MessageEditor::Content::Sidebar::DeliveryOptionSwitcher\\n            @variation={{variation}}\\n            @enableDeliveryPreview={{enableDeliveryPreview}}\\n            @disableDeliveryPreview={{disableDeliveryPreview}}\\n            @deliveryPreviewEnabled={{deliveryPreviewEnabled}}\\n            @changeDeliveryOption={{action \\\"changeDeliveryOption\\\"}}\\n          />\\n        </IcContent>\\n      {{/unless}}\\n      {{#unless isTargetingVisitorsOrLeads}}\\n        <MessageEditor::Channel::SendPushNotification\\n          @message={{message}}\\n          @maximizePanel={{@maximizePanel}}\\n        />\\n      {{/unless}}\\n    </div>\\n    <IcContent>\\n      {{#unless variation.isVideo}}\\n        <hr class=\\\"sp__hr\\\" />\\n        <IcContent>\\n          <label class=\\\"t__label\\\">\\n            Preview data as\\n          </label>\\n          <MessageEditor::Content::Sidebar::PreviewDataSwitch\\n            @message={{variation.message}}\\n            @dataPreviewEnabled={{dataPreviewEnabled}}\\n            @onSelected={{toggleDataPreview}}\\n            @isVisitorAutoMessage={{variation.isVisitorAutoMessage}}\\n          />\\n        </IcContent>\\n      {{/unless}}\\n      {{#if variation.message.hasMultipleVariations}}\\n        <IcButton\\n          @type=\\\"secondary-destructive\\\"\\n          class=\\\"o__fit\\\"\\n          data-test-delete-variation={{true}}\\n          @onClick={{perform deleteVariation variation}}\\n        >\\n          {{ic-interface-icon \\\"trash\\\"}} Delete {{deleteButtonLabel}} {{variation.label}}\\n        </IcButton>\\n      {{/if}}\\n    </IcContent>\\n  </div>\\n{{/liquid-if}}\\n\",\"moduleName\":\"embercom/components/message-editor/content/sidebar/in-app.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/sidebar/in-app.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/use-brace-expansion */\nimport { A } from '@ember/array';\nimport { computed } from '@ember/object';\nimport { and, equal, gt, not, or, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { isEmpty } from '@ember/utils';\nimport SidebarBase from 'embercom/components/message-editor/content/sidebar/base';\nimport ComposerUploadCheck from 'embercom/components/message-editor/utility/composer-upload-check';\nimport createFragmentFromBlock from 'embercom/lib/blocks/create-fragment-from-block';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport DEFAULT_REACTIONS from 'embercom/lib/reactions/default-reactions';\nimport MESSAGE_CONSTANTS from 'embercom/models/data/messages/message-constants';\nimport MESSAGE_DEFAULTS, {\n  DEFAULT_VARIATION_BLOCK,\n  INITIAL_POINTER_DEFAULTS,\n  INITIAL_STORY_DEFAULTS,\n} from 'embercom/models/data/messages/message-defaults';\n\nconst CONFIRM_FOR_SWITCH_TO_STORY = {\n  title: 'This will delete your content',\n  body:\n    \"To create a story message, you need to record a video using our mobile app. These messages can't contain any other content, so you'll lose any content that you've already added.\",\n  confirmButtonText: 'Switch to story',\n};\n\nconst CONFIRM_FOR_SWITCH_AWAY_FROM_STORY = {\n  title: 'This will delete your video',\n  body:\n    \"Story message videos can't be used in any other message type. If you switch, you'll lose this video.\",\n  confirmButtonText: 'Switch anyway',\n};\n\nconst CONFIRM_FOR_SWITCH_TO_POINTER_MESSAGE = {\n  title: 'Switch to pointer message type',\n  body:\n    'Pointer message type only works on web. Do you want to switch your delivery channel to web?',\n  confirmButtonText: 'Switch channel to web',\n};\nconst REPLY_TYPE_OPTIONS = {\n  text: { label: 'Text', value: MESSAGE_CONSTANTS.textReply, icon: 'chat-bubble' },\n  reactions: {\n    label: 'Reactions',\n    value: MESSAGE_CONSTANTS.reactionsReply,\n    icon: 'lwr-happy',\n    feature: 'reactions',\n  },\n  emailCollector: {\n    label: 'Email collector',\n    value: MESSAGE_CONSTANTS.attributeCollectorReply,\n    icon: 'email',\n  },\n  repliesDisabled: {\n    label: 'No reply',\n    value: MESSAGE_CONSTANTS.repliesDisabled,\n    icon: 'delete',\n  },\n};\n\nexport default SidebarBase.extend(ComposerUploadCheck, {\n  intercomEventService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  deliveryPreviewEnabled: false,\n  selectedDeliveryChannel: readOnly('message.deliveryChannel'),\n  isTargetingVisitorsOrLeads: or(\n    'message.selectionState.audienceIncludesVisitors',\n    'message.isVisitorAutoMessage',\n    'message.selectionState.audienceIncludesLeads',\n  ),\n  hasPageTargetPredicates: readOnly('message.selectionState.hasPageTargetPredicates'),\n  deleteButtonLabel: 'test',\n\n  messageTypeOptions: computed('app.canUseMessagePointers', function() {\n    let messageTypeOptions = [\n      {\n        value: 0,\n        label: 'Chat',\n        description: 'Keep it simple',\n        icon: 'chat-bubble-line',\n      },\n      {\n        value: 2,\n        label: 'Note',\n        description: 'Add rich content',\n        icon: 'inapp-note',\n        feature: 'note_in-app_message',\n      },\n      {\n        value: 1,\n        label: 'Post',\n        description: 'Tell a story',\n        icon: 'inapp-post',\n        feature: 'post_in-app_message',\n      },\n    ];\n\n    if (this.get('app.canUseMessagePointers')) {\n      messageTypeOptions.push({\n        value: 4,\n        label: 'Pointer',\n        description: 'Point to something',\n        icon: 'inapp-pointer',\n        disabled: true,\n        tooltip: {\n          content:\n            \"It's not possible to create new pointer messages as they are being deprecated. Check out Product Tours instead.\",\n        },\n      });\n    }\n\n    return messageTypeOptions;\n  }),\n\n  messageChannelOptions: computed(\n    'app.canUseMessagePointers',\n    'app.hasAndroidSdk',\n    'app.hasIOSSdk',\n    'isTargetingVisitorsOrLeads',\n    'hasPageTargetPredicates',\n    function() {\n      let tooltip;\n      if (this.isTargetingVisitorsOrLeads) {\n        tooltip = {\n          content:\n            'You can only send messages to users in mobile apps. Remove Visitors and Leads from your audience to choose this option.',\n        };\n      }\n      if (this.hasPageTargetPredicates) {\n        tooltip = {\n          content:\n            'To deliver here, remove the page targeting in step 3 below by selecting the \"Any page\" option.',\n        };\n      }\n\n      let messageChannelOptions = [\n        {\n          value: MESSAGE_CONSTANTS.webChannel,\n          label: 'Web',\n          icon: 'computer',\n        },\n      ];\n      if (this.app.hasIOSSdk) {\n        messageChannelOptions.push({\n          value: MESSAGE_CONSTANTS.iosChannel,\n          label: 'iOS',\n          icon: 'apple',\n          disabled: this.isTargetingVisitorsOrLeads || this.hasPageTargetPredicates,\n          tooltip,\n        });\n      }\n      if (this.app.hasAndroidSdk) {\n        messageChannelOptions.push({\n          value: MESSAGE_CONSTANTS.androidChannel,\n          label: 'Android',\n          icon: 'android',\n          disabled: this.isTargetingVisitorsOrLeads || this.hasPageTargetPredicates,\n          tooltip,\n        });\n      }\n      messageChannelOptions.push({\n        value: MESSAGE_CONSTANTS.anyChannel,\n        label: 'Wherever people open your app first',\n        icon: 'multiplatform',\n        disabled: this.hasPageTargetPredicates,\n      });\n\n      return messageChannelOptions;\n    },\n  ),\n\n  showReplyType: gt('replyTypeOptions.length', 1),\n\n  isNoReplyTypeVariation: equal('variation.replyType', MESSAGE_CONSTANTS.repliesDisabled),\n  canReplyToMessage: not('isNoReplyTypeVariation'),\n\n  replyTypeOptions: computed(\n    'variation.isChat',\n    'variation.isPointer',\n    'variation.supportsAttributeCollectorReplyType',\n    'message.hasMultipleVariations',\n    function() {\n      let replyTypeOptions = [REPLY_TYPE_OPTIONS.text];\n\n      if (this.get('variation.supportsAttributeCollectorReplyType')) {\n        let emailCollectorOption = REPLY_TYPE_OPTIONS.emailCollector;\n        emailCollectorOption.tooltip = {\n          content: 'These messages are only sent when you don’t have a customer’s email address.',\n        };\n\n        if (this.get('message.hasMultipleVariations')) {\n          emailCollectorOption.tooltip.content +=\n            ' This will also change the reply type to email collector in both versions of the message';\n        }\n\n        replyTypeOptions.push(emailCollectorOption);\n      } else if (!this.get('variation.isChat')) {\n        replyTypeOptions.push(REPLY_TYPE_OPTIONS.reactions);\n      }\n\n      if (this.get('variation.isPointer')) {\n        replyTypeOptions.push(REPLY_TYPE_OPTIONS.repliesDisabled);\n      }\n      return replyTypeOptions;\n    },\n  ),\n\n  isNotPointer: not('variation.isPointerType'),\n  shouldRemoveDisabledReplyType: and('variation.hasRepliesDisabled', 'isNotPointer'),\n\n  shouldRemoveAttributeCollectorReplyType: computed(\n    'variation.replyType',\n    'variation.supportsAttributeCollectorReplyType',\n    function() {\n      return (\n        this.get('variation.replyType') === MESSAGE_CONSTANTS.attributeCollectorReply &&\n        !this.get('variation.supportsAttributeCollectorReplyType')\n      );\n    },\n  ),\n\n  shouldResetReplyType: or(\n    'shouldRemoveDisabledReplyType',\n    'shouldRemoveAttributeCollectorReplyType',\n  ),\n\n  _openConfirm(options) {\n    return intercomConfirm(this, options);\n  },\n\n  _changeDeliveryChannel(channel, method) {\n    let messageSetCommands = [\n      {\n        command: MUTATIONS.setValue,\n        key: 'deliveryChannel',\n        data: channel,\n        context: this._getMutationContext(method),\n      },\n    ];\n    this._mutateMessage(messageSetCommands);\n  },\n\n  _confirmAndApplyPointerDefaults(type) {\n    if (this.get('message.deliveryChannel') !== MESSAGE_CONSTANTS.webChannel) {\n      this._openConfirm(CONFIRM_FOR_SWITCH_TO_POINTER_MESSAGE).then(() => {\n        this._applyPointerDefaults(type);\n      });\n    } else {\n      this._applyPointerDefaults(type);\n    }\n  },\n\n  _applyPointerDefaults(type) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'pointer-message-type',\n    });\n    let messageVariationSetCommands = [];\n    messageVariationSetCommands.push({\n      key: 'deliveryOption',\n      data: INITIAL_POINTER_DEFAULTS.deliveryOption,\n      contextMethod: this._applyPointerDefaults.name,\n    });\n    messageVariationSetCommands.push({\n      key: 'messageStyle',\n      data: type,\n      contextMethod: this._applyPointerDefaults.name,\n    });\n    this._setModelValues(messageVariationSetCommands);\n    this._changeDeliveryChannel(\n      INITIAL_POINTER_DEFAULTS.deliveryChannel,\n      this._applyPointerDefaults.name,\n    );\n  },\n\n  _confirmAndChangeFromStory(messageStyle) {\n    this._openConfirm(CONFIRM_FOR_SWITCH_AWAY_FROM_STORY).then(() =>\n      this._changeFromStory(messageStyle),\n    );\n  },\n\n  _confirmAndChangeToStory() {\n    this._openConfirm(CONFIRM_FOR_SWITCH_TO_STORY).then(() => this._changeToStory());\n  },\n\n  _changeToStory() {\n    let setCommands = [];\n    let videoFileBlock = createFragmentFromBlock(\n      this.get('message.store'),\n      INITIAL_STORY_DEFAULTS.videoFileBlock,\n    );\n    setCommands.push({\n      key: 'replyType',\n      data: INITIAL_STORY_DEFAULTS.replyType,\n      contextMethod: this._changeToStory.name,\n    });\n    setCommands.push({\n      key: 'deliveryOption',\n      data: INITIAL_STORY_DEFAULTS.deliveryOption,\n      contextMethod: this._changeToStory.name,\n    });\n    setCommands.push({\n      key: 'messageStyle',\n      data: INITIAL_STORY_DEFAULTS.messageStyle,\n      contextMethod: this._changeToStory.name,\n    });\n    setCommands.push({\n      key: 'reactions',\n      data: INITIAL_STORY_DEFAULTS.reactions,\n      contextMethod: this._changeToStory.name,\n    });\n    setCommands.push({\n      key: 'blocks',\n      data: [videoFileBlock],\n      contextMethod: this._changeToStory.name,\n    });\n    this._setModelValues(setCommands);\n    this._removeModelValues([{ key: 'pointerSelector', contextMethod: this._changeToStory.name }]);\n  },\n\n  _changeFromStory(messageStyle) {\n    let setCommands = [];\n    let defaultBlock = createFragmentFromBlock(this.get('message.store'), DEFAULT_VARIATION_BLOCK);\n    setCommands.push({\n      key: 'messageStyle',\n      data: messageStyle,\n      contextMethod: this._changeFromStory.name,\n    });\n    setCommands.push({\n      key: 'blocks',\n      data: [defaultBlock],\n      contextMethod: this._changeFromStory.name,\n    });\n    this._setModelValues(setCommands);\n  },\n\n  _applyInAppDefaults(type) {\n    this._setModelValues([\n      { key: 'messageStyle', data: type, contextMethod: this.actions.changeMessageType.name },\n    ]);\n    this._removeModelValues([\n      { key: 'pointerSelector', contextMethod: this.actions.changeMessageType.name },\n    ]);\n    if (type === MESSAGE_CONSTANTS.chat || this.shouldResetReplyType) {\n      this.send('changeReplyType', MESSAGE_CONSTANTS.textReply);\n    }\n  },\n\n  actions: {\n    changePointerSelector(value) {\n      this._setModelValue({\n        key: 'pointerSelector',\n        data: value,\n        contextMethod: this.actions.changePointerSelector.name,\n      });\n    },\n    setDeliveryChannel(channel) {\n      let messageSetCommands = [\n        {\n          command: MUTATIONS.setValue,\n          key: 'deliveryChannel',\n          data: channel,\n          context: this.actions.setDeliveryChannel.name,\n        },\n      ];\n      if (channel === MESSAGE_CONSTANTS.webChannel) {\n        messageSetCommands.push({\n          command: MUTATIONS.setValue,\n          key: 'sendPushNotification',\n          data: false,\n          context: this.actions.setDeliveryChannel.name,\n        });\n      }\n      this._mutateMessage(messageSetCommands);\n    },\n    changeDeliveryOption(deliveryOption) {\n      this._setModelValue({\n        key: 'deliveryOption',\n        data: deliveryOption,\n        contextMethod: this.actions.changeDeliveryOption.name,\n      });\n      this.enableDeliveryPreview();\n    },\n    changeMessageType(type) {\n      this.withComposerUploadCheck(() => {\n        if (type === MESSAGE_CONSTANTS.video) {\n          this.intercomEventService.trackAnalyticsEvent({\n            action: 'clicked',\n            object: 'video-message-type',\n          });\n          this._confirmAndChangeToStory();\n        } else if (type === MESSAGE_CONSTANTS.pointer) {\n          this._confirmAndApplyPointerDefaults(type);\n        } else if (this.get('variation.messageStyle') === MESSAGE_CONSTANTS.video) {\n          this._confirmAndChangeFromStory(type);\n        } else {\n          this._applyInAppDefaults(type);\n        }\n      });\n    },\n    changeReplyType(type) {\n      this._changeReplyTypeReactions(type);\n      this._changeReplyTypeFollowUpRules(type);\n      let shouldMutateAllVariations =\n        type === MESSAGE_CONSTANTS.attributeCollectorReply ||\n        this.get('variation.isAttributeCollectorReply');\n      if (shouldMutateAllVariations && this.get('message.hasMultipleVariations')) {\n        return this._changeReplyTypeForAllVariations(type);\n      }\n      this._setModelValue({\n        key: 'replyType',\n        data: type,\n        contextMethod: this.actions.changeReplyType.name,\n      });\n      if (type === MESSAGE_CONSTANTS.attributeCollectorReply) {\n        this.send('changeDeliveryOption', 'full');\n      }\n    },\n  },\n  _changeReplyTypeReactions(type) {\n    if (type === MESSAGE_CONSTANTS.reactionsReply) {\n      let reactions = this.lastReactions;\n      if (isEmpty(reactions)) {\n        reactions = DEFAULT_REACTIONS;\n      }\n      this._setModelValue({\n        key: 'reactions',\n        data: reactions,\n        contextMethod: this.actions.changeReplyType.name,\n      });\n    } else {\n      let reactions = this.get('variation.reactions');\n      if (reactions) {\n        this.setLastReactions(this.get('variation.reactions'));\n      }\n      this._setModelValue({\n        key: 'reactions',\n        data: MESSAGE_DEFAULTS[`${this.get('variation.nameOfMessageRelationship')}`].reactions,\n        contextMethod: this.actions.changeReplyType.name,\n      });\n    }\n  },\n\n  _changeReplyTypeFollowUpRules(type) {\n    let followUpRules = A();\n    if (type === MESSAGE_CONSTANTS.attributeCollectorReply) {\n      let rule = this.store.createFragment('rules/rule', {\n        predicates: [\n          {\n            attribute: 'email',\n            comparison: 'known',\n            type: 'string',\n            value: null,\n            subclass: 'predicates/string',\n          },\n        ],\n        actions: this._createDefaultFollowUpActions(),\n      });\n      followUpRules = A([rule]);\n    }\n\n    this._mutateMessage([\n      {\n        command: MUTATIONS.setValue,\n        key: 'followUpRules',\n        data: followUpRules,\n        context: this._getMutationContext(this.actions.changeReplyType.name),\n      },\n      {\n        command: MUTATIONS.setValue,\n        key: 'operatorLeadQualificationEnabled',\n        data: false,\n        context: this._getMutationContext(this.actions.changeReplyType.name),\n      },\n      {\n        command: MUTATIONS.setValue,\n        key: 'answerBotEnabled',\n        data: false,\n        context: this._getMutationContext(this.actions.changeReplyType.name),\n      },\n    ]);\n  },\n\n  _changeReplyTypeForAllVariations(type) {\n    let context = this._getMutationContext(this._changeReplyTypeForAllVariations.name);\n    let mutations = A([\n      { command: MUTATIONS.setValue, key: 'variationA.replyType', data: type, context },\n      { command: MUTATIONS.setValue, key: 'variationB.replyType', data: type, context },\n    ]);\n\n    if (type === MESSAGE_CONSTANTS.attributeCollectorReply) {\n      mutations.pushObjects([\n        { command: MUTATIONS.setValue, key: 'variationA.deliveryOption', data: 'full', context },\n        { command: MUTATIONS.setValue, key: 'variationB.deliveryOption', data: 'full', context },\n      ]);\n      this._mutateMessage(mutations);\n      this.enableDeliveryPreview();\n    } else {\n      this._mutateMessage(mutations);\n    }\n  },\n\n  _createDefaultFollowUpActions() {\n    if (this.get('variation.from.isTeam')) {\n      return [];\n    }\n    return [\n      this.store.createFragment('rules/rule-action', {\n        type: 'send-follow-up-reply',\n        actionData: {\n          reply: 'Thanks!',\n        },\n      }),\n    ];\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Common::HorizontalButtonGroup\\n  @content={{previewDataModeOptions}}\\n  @selected={{dataPreviewEnabled}}\\n  @onSelected={{onSelected}}\\n  class=\\\"test__mesage-editor__content__preview-data\\\"\\n/>\\n<div class=\\\"h-1\\\"></div>\\n{{#if dataPreviewEnabled}}\\n  <p\\n    class=\\\"t__light-text test__preview-data-switch__sample-user-text\\\"\\n    data-test-data-preview\\n  >\\n    {{sampleUserText}}\\n  </p>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Common::HorizontalButtonGroup\\n  @content={{previewDataModeOptions}}\\n  @selected={{dataPreviewEnabled}}\\n  @onSelected={{onSelected}}\\n  class=\\\"test__mesage-editor__content__preview-data\\\"\\n/>\\n<div class=\\\"h-1\\\"></div>\\n{{#if dataPreviewEnabled}}\\n  <p\\n    class=\\\"t__light-text test__preview-data-switch__sample-user-text\\\"\\n    data-test-data-preview\\n  >\\n    {{sampleUserText}}\\n  </p>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/content/sidebar/preview-data-switch.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/sidebar/preview-data-switch.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { templateString, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  dataPreviewEnabled: false,\n  sampleUser: readOnly('message.sampleUser.context'),\n  sampleUserName: ternaryToProperty(\n    'sampleUser.full_name',\n    'sampleUser.full_name',\n    'sampleUser.email',\n  ),\n  sampleUserTextWithName: templateString('Message will look as ${sampleUserName} would see it'),\n  sampleUserTextWithoutNameForInApp: templateString(\n    'No ${message.pluralUserTypeLabel} match the filters, so attributes and events are replaced with fallbacks',\n  ),\n  sampleUserTextWithoutNameForEmail: templateString(\n    'No ${message.pluralUserTypeLabel} match the filters, so attributes and events will be replaced with fallbacks',\n  ),\n  visitorAutoMessageSampleUserText: templateString(\n    'Message will look as visitors or leads would see it',\n  ),\n  sampleUserTextWithoutName: ternaryToProperty(\n    'message.isInApp',\n    'sampleUserTextWithoutNameForInApp',\n    'sampleUserTextWithoutNameForEmail',\n  ),\n  userAutoMessageSampleUserText: ternaryToProperty(\n    'sampleUser',\n    'sampleUserTextWithName',\n    'sampleUserTextWithoutName',\n  ),\n  sampleUserText: ternaryToProperty(\n    'isVisitorAutoMessage',\n    'visitorAutoMessageSampleUserText',\n    'userAutoMessageSampleUserText',\n  ),\n  previewDataModeOptions: [\n    {\n      value: false,\n      label: 'Placeholders',\n      icon: 'attribute-titles',\n    },\n    {\n      value: true,\n      label: 'Sample data',\n      icon: 'recipient-data',\n    },\n  ],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-if isMaximized class=\\\"message__editor__content__sidebar\\\"}}\\n  <div class=\\\"message__editor__content__sidebar__inner-wrapper p-6\\\"\\n    data-test-message-editor-sidebar-inner-wrapper>\\n    <div class=\\\"flex flex-col gap-8\\\">\\n      <IcContent>\\n        <label class=\\\"t__label\\\">\\n          Deliver first to\\n        </label>\\n        <Common::ButtonGroup\\n          @app={{this.app}}\\n          @content={{this.messageChannelOptions}}\\n          @selected={{this.selectedDeliveryChannel}}\\n          @onSelected={{action \\\"setDeliveryChannel\\\"}}\\n          data-test-push-deliver-first-to-switcher />\\n      </IcContent>\\n      {{#if shouldShowIosUri}}\\n        <IcContent>\\n          <label class=\\\"t__label\\\">\\n            iOS URI\\n          </label>\\n          <input\\n            class=\\\"f__text\\\"\\n            placeholder=\\\"Enter iOS URI\\\"\\n            value={{iosUri}}\\n            oninput={{action \\\"updateIosURI\\\" value=\\\"target.value\\\"}}\\n            data-test-message-editor-ios-uri\\n          />\\n        </IcContent>\\n      {{/if}}\\n      {{#if shouldShowAndroidUri}}\\n        <IcContent>\\n          <label class=\\\"t__label\\\">\\n            Android URI\\n          </label>\\n          <input\\n            class=\\\"f__text\\\"\\n            placeholder=\\\"Enter Android URI\\\"\\n            value={{androidUri}}\\n            oninput={{action \\\"updateAndroidURI\\\" value=\\\"target.value\\\"}}\\n            data-test-message-editor-android-uri\\n          />\\n        </IcContent>\\n      {{/if}}\\n      {{#if variation.message.hasMultipleVariations}}\\n        <IcContent>\\n          <IcButton\\n            @type=\\\"secondary-destructive\\\"\\n            class=\\\"o__fit\\\"\\n            data-test-delete-variation={{true}}\\n            @onClick={{perform deleteVariation variation}}\\n          >\\n            {{ic-interface-icon \\\"trash\\\"}} Delete version {{variation.label}}\\n          </IcButton>\\n        </IcContent>\\n      {{/if}}\\n    </div>\\n  </div>\\n{{/liquid-if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-if isMaximized class=\\\"message__editor__content__sidebar\\\"}}\\n  <div class=\\\"message__editor__content__sidebar__inner-wrapper p-6\\\"\\n    data-test-message-editor-sidebar-inner-wrapper>\\n    <div class=\\\"flex flex-col gap-8\\\">\\n      <IcContent>\\n        <label class=\\\"t__label\\\">\\n          Deliver first to\\n        </label>\\n        <Common::ButtonGroup\\n          @app={{this.app}}\\n          @content={{this.messageChannelOptions}}\\n          @selected={{this.selectedDeliveryChannel}}\\n          @onSelected={{action \\\"setDeliveryChannel\\\"}}\\n          data-test-push-deliver-first-to-switcher />\\n      </IcContent>\\n      {{#if shouldShowIosUri}}\\n        <IcContent>\\n          <label class=\\\"t__label\\\">\\n            iOS URI\\n          </label>\\n          <input\\n            class=\\\"f__text\\\"\\n            placeholder=\\\"Enter iOS URI\\\"\\n            value={{iosUri}}\\n            oninput={{action \\\"updateIosURI\\\" value=\\\"target.value\\\"}}\\n            data-test-message-editor-ios-uri\\n          />\\n        </IcContent>\\n      {{/if}}\\n      {{#if shouldShowAndroidUri}}\\n        <IcContent>\\n          <label class=\\\"t__label\\\">\\n            Android URI\\n          </label>\\n          <input\\n            class=\\\"f__text\\\"\\n            placeholder=\\\"Enter Android URI\\\"\\n            value={{androidUri}}\\n            oninput={{action \\\"updateAndroidURI\\\" value=\\\"target.value\\\"}}\\n            data-test-message-editor-android-uri\\n          />\\n        </IcContent>\\n      {{/if}}\\n      {{#if variation.message.hasMultipleVariations}}\\n        <IcContent>\\n          <IcButton\\n            @type=\\\"secondary-destructive\\\"\\n            class=\\\"o__fit\\\"\\n            data-test-delete-variation={{true}}\\n            @onClick={{perform deleteVariation variation}}\\n          >\\n            {{ic-interface-icon \\\"trash\\\"}} Delete version {{variation.label}}\\n          </IcButton>\\n        </IcContent>\\n      {{/if}}\\n    </div>\\n  </div>\\n{{/liquid-if}}\\n\",\"moduleName\":\"embercom/components/message-editor/content/sidebar/push.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/sidebar/push.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/use-brace-expansion */\nimport { isBlank } from '@ember/utils';\nimport { copy } from 'ember-copy';\nimport { computed } from '@ember/object';\nimport { readOnly, or } from '@ember/object/computed';\nimport { action } from '@ember/object';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\nimport MESSAGE_CONSTANTS from 'embercom/models/data/messages/message-constants';\nimport SidebarBase from 'embercom/components/message-editor/content/sidebar/base';\n\nexport default SidebarBase.extend({\n  iosUri: readOnly('variation.pushOnlyURIs.ios.firstObject.uri'),\n  androidUri: readOnly('variation.pushOnlyURIs.android.firstObject.uri'),\n  shouldShowIosUri: or('variation.message.isAnyPlatformFirst', 'variation.message.isIOSFirst'),\n  shouldShowAndroidUri: or(\n    'variation.message.isAnyPlatformFirst',\n    'variation.message.isAndroidFirst',\n  ),\n\n  selectedDeliveryChannel: readOnly('message.deliveryChannel'),\n\n  messageChannelOptions: computed('app.hasAndroidSdk', 'app.hasIOSSdk', function() {\n    let messageChannelOptions = [];\n    if (this.app.hasIOSSdk) {\n      messageChannelOptions.push({\n        value: MESSAGE_CONSTANTS.iosChannel,\n        label: 'iOS',\n        icon: 'apple',\n      });\n    }\n    if (this.app.hasAndroidSdk) {\n      messageChannelOptions.push({\n        value: MESSAGE_CONSTANTS.androidChannel,\n        label: 'Android',\n        icon: 'android',\n      });\n    }\n    messageChannelOptions.push({\n      value: MESSAGE_CONSTANTS.anyChannel,\n      label: 'Any device',\n      icon: 'multiplatform',\n    });\n\n    return messageChannelOptions;\n  }),\n\n  updateUris(key, uri) {\n    let uris = {\n      android: copy(this.get('variation.pushOnlyURIs.android')),\n      ios: copy(this.get('variation.pushOnlyURIs.ios')),\n    };\n    if (isBlank(uri)) {\n      uris[key] = [];\n    } else {\n      uris[key] = [{ uri, version: 'default' }];\n    }\n    return uris;\n  },\n\n  updateAndroidURI: action(function(value) {\n    let setCommand = [\n      {\n        key: 'pushOnlyURIs',\n        data: this.updateUris('android', value),\n        contextMethod: this.actions.updateAndroidURI.name,\n      },\n    ];\n    this._setModelValues(setCommand);\n  }),\n\n  updateIosURI: action(function(value) {\n    let setCommand = [\n      {\n        key: 'pushOnlyURIs',\n        data: this.updateUris('ios', value),\n        contextMethod: this.actions.updateIosURI.name,\n      },\n    ];\n    this._setModelValues(setCommand);\n  }),\n\n  setDeliveryChannel: action(function(channel) {\n    let messageSetCommands = [\n      {\n        command: MUTATIONS.setValue,\n        key: 'deliveryChannel',\n        data: channel,\n        context: this.actions.setDeliveryChannel.name,\n      },\n    ];\n    this._mutateMessage(messageSetCommands);\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport SenderDropdown from 'embercom/components/message-editor/content/sidebar/sender-dropdown';\n\nexport default SenderDropdown.extend({\n  selected: ternaryToProperty(\n    'variation.hasCustomReplyToAddress',\n    'variation.customReplyToAddress',\n    'variation.from',\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcButton\\n  @type=\\\"secondary\\\"\\n  class=\\\"o__fit test__send-test-email-button\\\"\\n  @onClick={{action \\\"openTestEmailModal\\\" variation}}\\n>\\n  {{#if isSendingTestEmail}}\\n    Sending test email...\\n  {{else}}\\n    Send a test email\\n  {{/if}}\\n</IcButton>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcButton\\n  @type=\\\"secondary\\\"\\n  class=\\\"o__fit test__send-test-email-button\\\"\\n  @onClick={{action \\\"openTestEmailModal\\\" variation}}\\n>\\n  {{#if isSendingTestEmail}}\\n    Sending test email...\\n  {{else}}\\n    Send a test email\\n  {{/if}}\\n</IcButton>\\n\",\"moduleName\":\"embercom/components/message-editor/content/sidebar/send-test-email-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/sidebar/send-test-email-button.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  actions: {\n    openTestEmailModal() {\n      this.modalService.openModal('apps/app/outbound/modals/send-test-email', this.variation);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-center test__message-editor__sender-assignee-item__{{modelType}}\\\">\\n  {{#if model.isCustomEmailAddress}}\\n    <span class=\\\"u__mr__10\\\">{{ic-interface-icon 'email' solo=true}}</span>\\n  {{else if model.isDynamicSender}}\\n    <span class=\\\"u__mr__5\\\">{{ic-interface-icon 'owner' solo=true size=24}}</span>\\n  {{else}}\\n    <span class=\\\"u__mr__5 test__message-editor__sender-assignee-item__avatar\\\">{{ic-avatar model=model size='s'}}</span>\\n  {{/if}}\\n  <div class=\\\"flex-auto min-w-0 u__one-truncated-line\\\">\\n    <span class=\\\"test__message-editor__sender-assignee-item__name\\\" data-test-sender-assignee-name>{{model.displayAs}}</span>\\n    {{#if isCurrentSelected}}\\n      <span class=\\\"f__custom-select__check message__editor__content__sidebar__admin-selector-check test__message-editor__sender-assignee-item__check\\\">{{ic-interface-icon 'small-check' solo=true}}</span>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-center test__message-editor__sender-assignee-item__{{modelType}}\\\">\\n  {{#if model.isCustomEmailAddress}}\\n    <span class=\\\"u__mr__10\\\">{{ic-interface-icon 'email' solo=true}}</span>\\n  {{else if model.isDynamicSender}}\\n    <span class=\\\"u__mr__5\\\">{{ic-interface-icon 'owner' solo=true size=24}}</span>\\n  {{else}}\\n    <span class=\\\"u__mr__5 test__message-editor__sender-assignee-item__avatar\\\">{{ic-avatar model=model size='s'}}</span>\\n  {{/if}}\\n  <div class=\\\"flex-auto min-w-0 u__one-truncated-line\\\">\\n    <span class=\\\"test__message-editor__sender-assignee-item__name\\\" data-test-sender-assignee-name>{{model.displayAs}}</span>\\n    {{#if isCurrentSelected}}\\n      <span class=\\\"f__custom-select__check message__editor__content__sidebar__admin-selector-check test__message-editor__sender-assignee-item__check\\\">{{ic-interface-icon 'small-check' solo=true}}</span>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/content/sidebar/sender-assignee-dropdown-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/sidebar/sender-assignee-dropdown-item.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { readOnly, and } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { equalToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  tagName: 'a',\n  appService: service(),\n  'data-test-sender-assignee-dropdown-item': readOnly('model.id'),\n\n  disabled: false,\n\n  classNames: [\n    'message__editor__content__sidebar__admin-selector-item',\n    't__no-decoration',\n    'u__prevent-breaks',\n    'test__message-editor__sender-assignee-item',\n  ],\n  classNameBindings: ['isCurrentSelected:o__selected', 'disabled:o__disabled'],\n  isCurrentIdSelected: equalToProperty('model.id', 'selected.id'),\n  isCurrentTypeSelected: equalToProperty('model.type', 'selected.type'),\n  isCurrentSelected: and('isCurrentIdSelected', 'isCurrentTypeSelected'),\n  modelType: computed(\n    'model.isTeam',\n    'model.isCustomEmailAddress',\n    'model.isDynamicSender',\n    function() {\n      if (this.get('model.isCustomEmailAddress')) {\n        return 'custom-email-address';\n      } else if (this.get('model.isDynamicSender')) {\n        return 'dynamic-sender';\n      } else if (this.get('model.isTeam')) {\n        return 'team';\n      } else {\n        return 'admin';\n      }\n    },\n  ),\n  currentModelData: computed('model.id', 'modelType', function() {\n    return {\n      type: this.modelType,\n      model: this.model,\n    };\n  }),\n  click(e) {\n    if (this.handleClick) {\n      e.stopPropagation();\n      this.handleClick(this.currentModelData);\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\nimport EmberObject, { computed } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { fmtStyle, notImplemented, ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport IntercomDropdownComponent from 'embercom/components/intercom-dropdown-component';\nimport SelectKeyboardActions from 'embercom/components/mixins/select-keyboard-actions';\n\nexport default IntercomDropdownComponent.extend(SelectKeyboardActions, {\n  isOpen: false,\n  showDynamicSender: computed(\n    'isFallback',\n    'variation.isVisitorAutoMessage',\n    'variation.isMobilePush',\n    function() {\n      return (\n        !this.isFallback &&\n        !this.get('variation.isMobilePush') &&\n        !this.get('variation.isVisitorAutoMessage')\n      );\n    },\n  ),\n  isFallback: false,\n  itemWidth: ternary('isFallback', 288, 308),\n  itemHeight: 36,\n  maxHeight: 400,\n  additionalHeight: 22,\n  dropdownMaxWidth: alias('itemWidth'),\n  additionalClasses: 'message__editor__content__sidebar__admin-selector u__pad__5',\n  scrollParentSelector: '.js__message-view-and-edit-component__container',\n  classNames: ['f__custom-select', 'test__message-editor__sender-assignee-dropdown'],\n  classNameBindings: ['isOpen:o__opened'],\n  dynamicSenders: [EmberObject.create({ isDynamicSender: true, displayAs: 'Owner', id: 'owner' })],\n  dynamicSendersWithLabel: computed('showDynamicSender', function() {\n    if (this.showDynamicSender) {\n      return [{ isLabel: true, text: 'Dynamic' }, ...this.dynamicSenders];\n    }\n    return [];\n  }),\n  selected: notImplemented(\n    'message-editor/content/sidebar/sender-assignee-dropdown: You must override the `selected` property',\n  ),\n  items: notImplemented(\n    'message-editor/content/sidebar/sender-assignee-dropdown: You must override the `items` property',\n  ),\n  containerHeight: computed('itemHeight', 'items.[]', function() {\n    return Math.min(\n      this.itemHeight * this.get('items.length') + this.additionalHeight,\n      this.maxHeight,\n    );\n  }),\n  overlayStyle: fmtStyle('height: %@px;', 'containerHeight'),\n\n  actions: {\n    handleSelection(selectedItem) {\n      this.set('isOpen', false);\n      this.setSelected(selectedItem);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport SenderAssigneeDropdown from 'embercom/components/message-editor/content/sidebar/sender-assignee-dropdown';\n\nexport default SenderAssigneeDropdown.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  layoutName: 'components/message-editor/content/sidebar/sender-assignee-dropdown',\n  selected: computed(\n    'showDynamicSender',\n    'variation.{hasCustomFromAddress,dynamicSender,from}',\n    function() {\n      let variation = this.variation;\n\n      if (this.showDynamicSender && variation.get('dynamicSender')) {\n        return this.get('dynamicSenders.firstObject');\n      }\n\n      if (variation.get('hasCustomFromAddress')) {\n        return variation.get('customFromAddress');\n      }\n\n      return variation.get('from');\n    },\n  ),\n  teammatesWithLabel: computed('app.humanAdmins.[]', function() {\n    return [{ isLabel: true, text: 'Teammates' }].concat(this.get('app.humanAdmins'));\n  }),\n  teams: readOnly('app.assignableTeams'),\n  teamsWithLabel: computed('teams.[]', function() {\n    if (this.get('teams.length')) {\n      return [{ isLabel: true, text: 'Teams' }].concat(this.teams);\n    } else {\n      return [];\n    }\n  }),\n\n  emailsWithLabel: computed('app.customEmailAddresses.[]', function() {\n    if (this.get('app.verifiedCustomEmailAddresses.length')) {\n      return [{ isLabel: true, text: 'Verified email addresses' }].concat(\n        this.get('app.verifiedCustomEmailAddresses'),\n      );\n    } else {\n      return [];\n    }\n  }),\n  items: computed('emails.[]', 'teammatesWithLabel.[]', 'teamsWithLabel.[]', function() {\n    if (\n      this.get('variation.message.isVisitorAutoMessage') ||\n      (this.get('app.canUseContentOrientedNavigation') && this.get('variation.message.isInApp'))\n    ) {\n      return [].concat(this.dynamicSendersWithLabel, this.teammatesWithLabel, this.teamsWithLabel);\n    } else if (this.get('variation.message.isEmail')) {\n      return [].concat(this.dynamicSendersWithLabel, this.teammatesWithLabel, this.emailsWithLabel);\n    } else if (\n      this.get('variation.message.isAutoMessage') ||\n      this.get('variation.message.isCampaignMessage') ||\n      this.get('variation.showDynamicSender')\n    ) {\n      return [].concat(this.dynamicSendersWithLabel, this.teammatesWithLabel);\n    } else {\n      return this.teammatesWithLabel;\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span\\n  class=\\\"f__custom-select__box u__prevent-breaks u__cf {{additionalClasses}} {{if isOpen \\\"o__opened\\\"}} test__message-editor__template-dropdown__toggle\\\"\\n  {{action \\\"toggleOpenState\\\"}}\\n>\\n  <span class=\\\"u__left\\\">\\n    <span class=\\\"test__message-editor__template-item__name\\\">\\n      {{selected.name}}\\n    </span>\\n  </span>\\n  <span\\n    class=\\\"f__custom-select__caret test__message-editor__template-item__icon\\\"\\n  >\\n    {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n  </span>\\n</span>\\n{{#if isOpen}}\\n  <div\\n    class=\\\"dropdown overlay o__dropdown o__opened f__custom-select__dropdown z__1 template-dropdown test__message-editor__template-dropdown__overlay\\\"\\n    style={{overlayStyle}}\\n  >\\n    <EmberCollection\\n      @items={{items}}\\n      @cell-layout={{fixed-grid-layout itemWidth itemHeight}} as |item index|\\n    >\\n      <div\\n        class=\\\"card u__left o__hoverable template-dropdown__card u__margin__5 {{if (eq selected.id item.id) \\\"o__selected\\\"}}\\\"\\n        title={{item.name}}\\n        data-test-template-item={{item.name}}\\n        {{action \\\"handleSelection\\\" item.model}}\\n      >\\n        <div class=\\\"template-dropdown__preview-container\\\">\\n          <Messages::EmailTemplateIframePreviewComponent\\n            class=\\\"template-dropdown__preview\\\"\\n            @template={{item}}\\n          />\\n        </div>\\n        <div\\n          class=\\\"card__inner template-dropdown__card__inner {{if (eq selected.id item.id) \\\"o__selected\\\"}}\\\"\\n        >\\n          <div\\n            class=\\\"t__light-text u__one-truncated-line u__left template-dropdown__name {{if (eq\\n                selected.id item.id\\n              ) \\\"text-white\\\"}}\\\"\\n          >\\n            {{item.name}}\\n          </div>\\n          <div class=\\\"u__cf\\\"></div>\\n        </div>\\n      </div>\\n    </EmberCollection>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span\\n  class=\\\"f__custom-select__box u__prevent-breaks u__cf {{additionalClasses}} {{if isOpen \\\"o__opened\\\"}} test__message-editor__template-dropdown__toggle\\\"\\n  {{action \\\"toggleOpenState\\\"}}\\n>\\n  <span class=\\\"u__left\\\">\\n    <span class=\\\"test__message-editor__template-item__name\\\">\\n      {{selected.name}}\\n    </span>\\n  </span>\\n  <span\\n    class=\\\"f__custom-select__caret test__message-editor__template-item__icon\\\"\\n  >\\n    {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n  </span>\\n</span>\\n{{#if isOpen}}\\n  <div\\n    class=\\\"dropdown overlay o__dropdown o__opened f__custom-select__dropdown z__1 template-dropdown test__message-editor__template-dropdown__overlay\\\"\\n    style={{overlayStyle}}\\n  >\\n    <EmberCollection\\n      @items={{items}}\\n      @cell-layout={{fixed-grid-layout itemWidth itemHeight}} as |item index|\\n    >\\n      <div\\n        class=\\\"card u__left o__hoverable template-dropdown__card u__margin__5 {{if (eq selected.id item.id) \\\"o__selected\\\"}}\\\"\\n        title={{item.name}}\\n        data-test-template-item={{item.name}}\\n        {{action \\\"handleSelection\\\" item.model}}\\n      >\\n        <div class=\\\"template-dropdown__preview-container\\\">\\n          <Messages::EmailTemplateIframePreviewComponent\\n            class=\\\"template-dropdown__preview\\\"\\n            @template={{item}}\\n          />\\n        </div>\\n        <div\\n          class=\\\"card__inner template-dropdown__card__inner {{if (eq selected.id item.id) \\\"o__selected\\\"}}\\\"\\n        >\\n          <div\\n            class=\\\"t__light-text u__one-truncated-line u__left template-dropdown__name {{if (eq\\n                selected.id item.id\\n              ) \\\"text-white\\\"}}\\\"\\n          >\\n            {{item.name}}\\n          </div>\\n          <div class=\\\"u__cf\\\"></div>\\n        </div>\\n      </div>\\n    </EmberCollection>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/content/sidebar/template-dropdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/sidebar/template-dropdown.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { computed } from '@ember/object';\nimport { readOnly, filter, map } from '@ember/object/computed';\nimport { fmtStyle } from '@intercom/embercom-core/lib/computed-properties';\nimport IntercomDropdownComponent from 'embercom/components/intercom-dropdown-component';\nimport EmailTemplate from 'embercom/models/email-template';\nimport renderEmailTemplate from 'embercom/lib/messages/render-email-template';\n\nconst PLACEHOLDER_LOGO_URL =\n  'https://static.intercomassets.com/assets/wizard/sample_logo-0f637b81241b1b7930155af85db4314f.png';\n\nexport default IntercomDropdownComponent.extend({\n  didInsertElement() {\n    this._super(...arguments);\n    this._setDefaultTemplateIfRequired();\n  },\n\n  selected: readOnly('variation.emailTemplate'),\n  isOpen: false,\n  itemWidth: 160,\n  itemHeight: 142,\n  maxHeight: 370,\n  dropdownMaxWidth: 332,\n  additionalHeight: 0,\n  scrollParentSelector: '.js__message-view-and-edit-component__container',\n  containerHeight: computed('itemHeight', 'items.[]', function() {\n    return Math.min(\n      this.itemHeight * Math.ceil(this.get('items.length') / 2) + this.additionalHeight,\n      this.maxHeight,\n    );\n  }),\n  overlayStyle: fmtStyle('height: %@px;', 'containerHeight'),\n  filteredTemplates: filter('app.emailTemplates', function(template) {\n    if (template.get('id') === 'official') {\n      return this.get('variation.emailTemplate.id') === 'official';\n    }\n    return template.get('id') !== 'html-block-template';\n  }),\n  items: map('filteredTemplates', function(template) {\n    return {\n      name: template.get('name'),\n      id: template.get('id'),\n      model: template,\n      html: this.getRenderedTemplate(template),\n    };\n  }),\n  renderedWidgets: computed('widgetTemplateContext', function() {\n    let rendered = {};\n    let templateContext = this.widgetTemplateContext;\n    EmailTemplate.widgets().forEach(widget => {\n      rendered[widget.name] = widget.template(templateContext);\n    });\n    return rendered;\n  }),\n  getRenderedTemplate(model) {\n    return renderEmailTemplate({\n      id: model.get('id'),\n      template: model.get('template'),\n      color: this.get('app.application_colors.base'),\n      renderedWidgets: this.renderedWidgets,\n    });\n  },\n\n  // TODO @pat Convert email_template_data to Ember Data\n  widgetTemplateContext: computed('app.email_template_data.@each.value', function() {\n    let context = {};\n    this.get('app.email_template_data').forEach(emailTemplateDatum => {\n      context[emailTemplateDatum.identifier] = emailTemplateDatum.value;\n    });\n    if (!context.logo) {\n      context.logo = { url: PLACEHOLDER_LOGO_URL };\n    }\n    return context;\n  }),\n\n  _setDefaultTemplateIfRequired() {\n    if (!this.get('selected.content')) {\n      let defaultItem = this.get('app.defaultEmailTemplate');\n      if (defaultItem) {\n        this.setSelected(defaultItem);\n      }\n    }\n  },\n\n  actions: {\n    handleSelection(selectedItem) {\n      this.set('isOpen', false);\n      this.setSelected(selectedItem);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if message.isEmail}}\\n  <div data-test-unsubscribe-option>\\n    <div class=\\\"t__label\\\">\\n      Unsubscribe options\\n    </div>\\n    {{#if (and app.hideAllUnsubscribeLinks message.isNotManualMessage)}}\\n      <span data-test-disabled-unsubscribe-via-app-settings>\\n        Unsubscribe links are disabled in your\\n        <LinkTo\\n          @route=\\\"apps.app.settings.messaging\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n        >Message settings</LinkTo>.\\n        We recommend including unsubscribe links in every email to avoid spam folders.\\n      </span>\\n    {{else}}\\n      <div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n        <div class=\\\"f__group o__checkbox-group\\\">\\n          This email {{if shouldShowUnsubscribeLinkViaMessage \\\"includes\\\" \\\"doesn't include\\\" }} an unsubscribe link\\n          <a\\n            onclick={{action (mut showDetails) (not showDetails)}}\\n            class=\\\"t__em-link\\\"\\n            data-test-change-button\\n          >\\n            {{#if showDetails}}\\n              Hide\\n            {{else}}\\n              Change\\n            {{/if}}\\n          </a>\\n          {{#if showDetails}}\\n            <div class=\\\"f__group o__radio-group\\\">\\n              <label class=\\\"f__radio-label\\\">\\n                <span class=\\\"f__radio-wrapper\\\">\\n                  <RadioButton\\n                    @checked={{shouldShowUnsubscribeLinkViaMessage}}\\n                    @onSelectionChanged={{action\\n                      \\\"toggleShowUnsubscribeLink\\\"\\n                      true\\n                    }}\\n                    data-test-unsubscribe-include-unsubscribe-link={{true}}\\n                  />\\n                </span>\\n                <span class=\\\"f__radio-content\\\">\\n                  Include an unsubscribe link (Recommended)\\n                </span>\\n              </label>\\n              <label\\n                class=\\\"f__radio-label {{if message.forceUnsubscribeLink \\\"text-gray\\\"}}\\\"\\n              >\\n                <span class=\\\"f__radio-wrapper\\\">\\n                  <RadioButton\\n                    @checked={{not shouldShowUnsubscribeLinkViaMessage}}\\n                    @disabled={{message.forceUnsubscribeLink}}\\n                    @onSelectionChanged={{action\\n                      \\\"toggleShowUnsubscribeLink\\\"\\n                      false\\n                    }}\\n                    data-test-unsubscribe-exclude-unsubscribe-link={{true}}\\n                  />\\n                </span>\\n                <span class=\\\"f__radio-content\\\">\\n                  Don't include an unsubscribe link\\n                </span>\\n              </label>\\n            </div>\\n          {{/if}}\\n        </div>\\n      </div>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if message.isEmail}}\\n  <div data-test-unsubscribe-option>\\n    <div class=\\\"t__label\\\">\\n      Unsubscribe options\\n    </div>\\n    {{#if (and app.hideAllUnsubscribeLinks message.isNotManualMessage)}}\\n      <span data-test-disabled-unsubscribe-via-app-settings>\\n        Unsubscribe links are disabled in your\\n        <LinkTo\\n          @route=\\\"apps.app.settings.messaging\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n        >Message settings</LinkTo>.\\n        We recommend including unsubscribe links in every email to avoid spam folders.\\n      </span>\\n    {{else}}\\n      <div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n        <div class=\\\"f__group o__checkbox-group\\\">\\n          This email {{if shouldShowUnsubscribeLinkViaMessage \\\"includes\\\" \\\"doesn't include\\\" }} an unsubscribe link\\n          <a\\n            onclick={{action (mut showDetails) (not showDetails)}}\\n            class=\\\"t__em-link\\\"\\n            data-test-change-button\\n          >\\n            {{#if showDetails}}\\n              Hide\\n            {{else}}\\n              Change\\n            {{/if}}\\n          </a>\\n          {{#if showDetails}}\\n            <div class=\\\"f__group o__radio-group\\\">\\n              <label class=\\\"f__radio-label\\\">\\n                <span class=\\\"f__radio-wrapper\\\">\\n                  <RadioButton\\n                    @checked={{shouldShowUnsubscribeLinkViaMessage}}\\n                    @onSelectionChanged={{action\\n                      \\\"toggleShowUnsubscribeLink\\\"\\n                      true\\n                    }}\\n                    data-test-unsubscribe-include-unsubscribe-link={{true}}\\n                  />\\n                </span>\\n                <span class=\\\"f__radio-content\\\">\\n                  Include an unsubscribe link (Recommended)\\n                </span>\\n              </label>\\n              <label\\n                class=\\\"f__radio-label {{if message.forceUnsubscribeLink \\\"text-gray\\\"}}\\\"\\n              >\\n                <span class=\\\"f__radio-wrapper\\\">\\n                  <RadioButton\\n                    @checked={{not shouldShowUnsubscribeLinkViaMessage}}\\n                    @disabled={{message.forceUnsubscribeLink}}\\n                    @onSelectionChanged={{action\\n                      \\\"toggleShowUnsubscribeLink\\\"\\n                      false\\n                    }}\\n                    data-test-unsubscribe-exclude-unsubscribe-link={{true}}\\n                  />\\n                </span>\\n                <span class=\\\"f__radio-content\\\">\\n                  Don't include an unsubscribe link\\n                </span>\\n              </label>\\n            </div>\\n          {{/if}}\\n        </div>\\n      </div>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/content/sidebar/unsubscribe-option.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/sidebar/unsubscribe-option.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { or, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\n\nexport default Component.extend({\n  messageMutationService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  shouldShowUnsubscribeLinkViaMessage: or(\n    'message.showUnsubscribeLink',\n    'message.forceUnsubscribeLink',\n  ),\n\n  actions: {\n    toggleShowUnsubscribeLink(showUnsubscribeLink) {\n      let context = {\n        location: Object.getPrototypeOf(this)._debugContainerKey,\n        method: this.actions.toggleShowUnsubscribeLink.name,\n      };\n      this.messageMutationService.performMutations(this.message, [\n        {\n          command: MUTATIONS.setValue,\n          key: 'showUnsubscribeLink',\n          data: showUnsubscribeLink,\n          context,\n        },\n      ]);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { alias, and, not, notEmpty, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nconst TABS = {\n  message: {\n    label: 'Message',\n    isPercentageValue: false,\n    views: ['content'],\n    color: 'text-gray',\n  },\n  controlGroup: {\n    label: 'Control group',\n    isPercentageValue: false,\n    views: ['content'],\n    color: 'text-gray',\n  },\n  controlGroupMembers: {\n    label: 'People',\n    isPercentageValue: false,\n    views: ['members'],\n  },\n  audience: {\n    label: 'Audience',\n    isPercentageValue: false,\n    views: ['audience'],\n  },\n  pending: {\n    label: 'Pending',\n    isPercentageValue: false,\n    views: ['pending'],\n  },\n  sent: {\n    label: 'Sent',\n    isPercentageValue: false,\n    views: ['sent'],\n  },\n  opened: {\n    label: 'Opened',\n    isPercentageValue: true,\n    views: ['opened'],\n    color: 'outbound__opens-stat',\n  },\n  clicked: {\n    label: 'Clicked',\n    isPercentageValue: true,\n    views: ['clicked'],\n    color: 'outbound__clicks-stat',\n  },\n  collected: {\n    label: 'Collected',\n    isPercentageValue: true,\n    views: ['collected'],\n    color: 'outbound__collected-stat',\n  },\n  replied: {\n    label: 'Replied',\n    isPercentageValue: true,\n    views: ['conversations', 'replied'],\n    color: 'outbound__replies-stat',\n  },\n  failed: {\n    label: 'Failed',\n    isPercentageValue: true,\n    views: ['failed', 'unsubscribed', 'bounced', 'complained'],\n    color: 'outbound__failed-stat',\n  },\n  goal: {\n    label: 'Goal',\n    isPercentageValue: true,\n    views: ['goal'],\n    color: 'outbound__goal-stat',\n  },\n};\n\nconst CLICK_DISABLED_TABS_VAM = ['sent', 'opened', 'clicked', 'controlGroupMembers'];\n\nexport default Component.extend({\n  stats: readOnly('variation.stats'),\n  message: readOnly('variation.message'),\n  tabs: computed(\n    'stats.lastLoadedAt',\n    'variation.isControlGroup',\n    'variation.isEmail',\n    'variation.isInApp',\n    'variation.isMobilePush',\n    function() {\n      if (this.get('variation.isControlGroup')) {\n        return this.getControlGroupTabs();\n      } else if (this.get('variation.isEmail')) {\n        return this.getEmailTabs();\n      } else if (this.get('variation.isInApp')) {\n        return this.getInAppTabs();\n      } else if (this.get('variation.isMobilePush')) {\n        return this.getPushTabs();\n      }\n    },\n  ),\n\n  hasReactions: notEmpty('variation.reactions'),\n  hasNoReactions: not('hasReactions'),\n  hasRepliesEnabled: not('variation.hasRepliesDisabled'),\n  showReplies: and('hasNoReactions', 'hasRepliesEnabled'),\n  showAudience: readOnly('message.isStoppableManualMessage'),\n  appService: service(),\n  app: alias('appService.app'),\n\n  getTabContent(name, value = '') {\n    let clickDisabled =\n      this.get('message.isVisitorAutoMessage') && this.tabIsDisabledForVisitorAutoMessage(name);\n    return Object.assign({}, TABS[name], {\n      statistic: value,\n      isClickable: !clickDisabled,\n    });\n  },\n\n  tabIsDisabledForVisitorAutoMessage(name) {\n    if (this.get('app.canUseBetterClickData')) {\n      return ['sent', 'opened', 'controlGroupMembers'].includes(name);\n    } else {\n      return CLICK_DISABLED_TABS_VAM.includes(name);\n    }\n  },\n\n  buildControlGroupTab() {\n    return Object.assign(this.getTabContent('controlGroup'), {\n      icon: this.get('variation.typeIcon'),\n    });\n  },\n  buildControlGroupMembersStats() {\n    return this.getTabContent('controlGroupMembers', this.get('stats.sentCount'));\n  },\n\n  buildMessageContent() {\n    return Object.assign(this.getTabContent('message'), { icon: this.get('variation.typeIcon') });\n  },\n  buildAudienceStats() {\n    return this.getTabContent('pending', this.get('message.remainingSendCount'));\n  },\n  buildSentStats() {\n    return this.getTabContent('sent', this.get('stats.sentCount'));\n  },\n  buildOpenedStats() {\n    return this.getTabContent('opened', this.get('stats.openPercentage'));\n  },\n  buildClickedStats() {\n    return this.getTabContent('clicked', this.get('stats.clickPercentage'));\n  },\n  buildGoalStats() {\n    return this.getTabContent('goal', this.get('stats.goalSuccessPercentage'));\n  },\n  buildCollectedStats() {\n    return this.getTabContent('collected', this.get('stats.attributeCollectorReplyPercentage'));\n  },\n\n  getControlGroupTabs() {\n    let tabs = [];\n    tabs.pushObject(this.buildControlGroupTab());\n    tabs.pushObject(this.buildControlGroupMembersStats());\n    tabs.pushObject(this.buildGoalStats());\n    return tabs;\n  },\n\n  getEmailTabs() {\n    let tabs = [];\n    tabs.pushObject(this.buildMessageContent());\n    tabs.pushObject(this.buildSentStats());\n    tabs.pushObject(this.buildOpenedStats());\n    if (this.get('message.hasGoal')) {\n      tabs.pushObject(this.buildGoalStats());\n    }\n\n    tabs.pushObject(this.buildClickedStats());\n\n    tabs.pushObject(this.getTabContent('replied', this.get('stats.replyPercentage')));\n    tabs.pushObject(this.getTabContent('failed', this.get('stats.failedPercentage')));\n    return tabs;\n  },\n\n  getInAppTabs() {\n    let tabs = [];\n    tabs.pushObject(this.buildMessageContent());\n    if (this.showAudience) {\n      tabs.pushObject(this.buildAudienceStats());\n    }\n    tabs.pushObject(this.buildSentStats());\n    tabs.pushObject(this.buildOpenedStats());\n\n    if (this.get('message.hasGoal')) {\n      tabs.pushObject(this.buildGoalStats());\n    }\n\n    tabs.pushObject(this.buildClickedStats());\n\n    if (this.get('variation.isAttributeCollectorReply')) {\n      tabs.pushObject(this.buildCollectedStats());\n    }\n    if (this.showReplies) {\n      tabs.pushObject(this.getTabContent('replied', this.get('stats.replyPercentage')));\n    }\n    return tabs;\n  },\n\n  getPushTabs() {\n    let tabs = [];\n    tabs.pushObject(this.buildMessageContent());\n    tabs.pushObject(this.buildSentStats());\n    tabs.pushObject(this.buildOpenedStats());\n    if (this.get('message.hasGoal')) {\n      tabs.pushObject(this.buildGoalStats());\n    }\n    return tabs;\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isEditing}}\\n  <MessageEditor::IndexCompletedComponent\\n    @panel={{panel}}\\n    @isDraft={{message.isDraft}}\\n    @isEditing={{isEditing}}\\n    @isComplete={{isComplete}}\\n  />\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__centers-vertically message__editor__panel__content-title-wrapper {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n    data-test-content-title\\n  >\\n    <h2\\n      class=\\\"t__h2 message__editor__panel__content-title message__editor__panel__heading message__editor__panel__fadable-text {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n      data-test-content-title-header\\n    >\\n      Create your message\\n    </h2>\\n    {{#if message.canCreateBVariation}}\\n      <div class=\\\"u__display-inline-block\\\">\\n        <MessageEditor::Content::VariationDropdown\\n          @message={{message}}\\n          @startABTestOnEditingPage={{startABTestOnEditingPage}}\\n          @startControlGroupOnEditingPage={{startControlGroupOnEditingPage}}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n<MessageEditor::Buttons::DoneButton\\n  @panelIsOpen={{and isMaximized isEditing}}\\n  @togglePanel={{togglePanel}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isEditing}}\\n  <MessageEditor::IndexCompletedComponent\\n    @panel={{panel}}\\n    @isDraft={{message.isDraft}}\\n    @isEditing={{isEditing}}\\n    @isComplete={{isComplete}}\\n  />\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__centers-vertically message__editor__panel__content-title-wrapper {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n    data-test-content-title\\n  >\\n    <h2\\n      class=\\\"t__h2 message__editor__panel__content-title message__editor__panel__heading message__editor__panel__fadable-text {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n      data-test-content-title-header\\n    >\\n      Create your message\\n    </h2>\\n    {{#if message.canCreateBVariation}}\\n      <div class=\\\"u__display-inline-block\\\">\\n        <MessageEditor::Content::VariationDropdown\\n          @message={{message}}\\n          @startABTestOnEditingPage={{startABTestOnEditingPage}}\\n          @startControlGroupOnEditingPage={{startControlGroupOnEditingPage}}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n<MessageEditor::Buttons::DoneButton\\n  @panelIsOpen={{and isMaximized isEditing}}\\n  @togglePanel={{togglePanel}}\\n/>\\n\",\"moduleName\":\"embercom/components/message-editor/content/title-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/title-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { not } from '@ember/object/computed';\nimport TitleComponent from 'embercom/components/message-editor/title-component';\n\nexport default TitleComponent.extend({\n  classNames: ['layout__box', 'o__has-columns', 'message__editor__panel__title'],\n  classNameBindings: ['isMaximized:o__expanded', 'isNotEditing:u__hidden'],\n  isNotEditing: not('isEditing'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if variation.message.hasMultipleVariations}}\\n  {{#if variation.isLive}}\\n    <IcButton\\n      @type=\\\"secondary\\\"\\n      @onClick={{perform deactivate variation}}\\n      @disabled={{taskGroup.isRunning}}\\n      @testBindingClass=\\\"test__message-editor__deactivate-variation\\\"\\n    >\\n      {{ic-interface-icon \\\"pause\\\"}} Pause version {{variation.label}}\\n    </IcButton>\\n  {{else}}\\n    {{#unless variation.message.campaign.isNotLive}}\\n      <span\\n        data-test-editor-activate-tooltip\\n        {{tooltip content=validationFailureMessages isDisabled=isValidToSend}}\\n      >\\n        <IcButton\\n          @type=\\\"secondary-live\\\"\\n          @onClick={{perform activate variation}}\\n          @disabled={{or isInvalidToSend taskGroup.isRunning}}\\n          @testBindingClass=\\\"test__message-editor__activate-variation\\\"\\n        >\\n          {{ic-interface-icon \\\"put-live\\\"}} Set version {{variation.label}} live\\n        </IcButton>\\n      </span>\\n    {{/unless}}\\n  {{/if}}\\n  <span class=\\\"u__ml__5\\\">\\n    <IcButton\\n      @type=\\\"secondary-destructive\\\"\\n      @onClick={{perform delete variation}}\\n      @disabled={{taskGroup.isRunning}}\\n      @iconOnly={{true}}\\n      data-test-delete-variation={{true}}\\n    >\\n      {{ic-interface-icon \\\"trash\\\" solo=true}}\\n    </IcButton>\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if variation.message.hasMultipleVariations}}\\n  {{#if variation.isLive}}\\n    <IcButton\\n      @type=\\\"secondary\\\"\\n      @onClick={{perform deactivate variation}}\\n      @disabled={{taskGroup.isRunning}}\\n      @testBindingClass=\\\"test__message-editor__deactivate-variation\\\"\\n    >\\n      {{ic-interface-icon \\\"pause\\\"}} Pause version {{variation.label}}\\n    </IcButton>\\n  {{else}}\\n    {{#unless variation.message.campaign.isNotLive}}\\n      <span\\n        data-test-editor-activate-tooltip\\n        {{tooltip content=validationFailureMessages isDisabled=isValidToSend}}\\n      >\\n        <IcButton\\n          @type=\\\"secondary-live\\\"\\n          @onClick={{perform activate variation}}\\n          @disabled={{or isInvalidToSend taskGroup.isRunning}}\\n          @testBindingClass=\\\"test__message-editor__activate-variation\\\"\\n        >\\n          {{ic-interface-icon \\\"put-live\\\"}} Set version {{variation.label}} live\\n        </IcButton>\\n      </span>\\n    {{/unless}}\\n  {{/if}}\\n  <span class=\\\"u__ml__5\\\">\\n    <IcButton\\n      @type=\\\"secondary-destructive\\\"\\n      @onClick={{perform delete variation}}\\n      @disabled={{taskGroup.isRunning}}\\n      @iconOnly={{true}}\\n      data-test-delete-variation={{true}}\\n    >\\n      {{ic-interface-icon \\\"trash\\\" solo=true}}\\n    </IcButton>\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/content/variation-actions-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/variation-actions-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly, not, notEmpty } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport PanelValidator from 'embercom/components/mixins/messages/panel-validator';\nimport MESSAGE_VALIDATION_MAP from 'embercom/models/data/messages/message-validation-map';\n\nexport default Component.extend(PanelValidator, {\n  classNames: ['layout__box', 'u__padr__20'],\n  message: readOnly('variation.message'),\n  validationFailureMessages: computed('variation', function() {\n    let errorMessages = this.get('variation.validations.messages');\n    let relevantPanelKeys = Object.keys(MESSAGE_VALIDATION_MAP).removeObjects([\n      'content',\n      'review',\n    ]);\n    relevantPanelKeys.forEach(panelKey => {\n      let validationResults = this.getValidationResults(panelKey);\n      if (!validationResults.success) {\n        errorMessages.pushObject(validationResults.errors);\n      }\n    });\n    return errorMessages.join('. ');\n  }),\n  isValidToSend: not('isInvalidToSend'),\n  isInvalidToSend: notEmpty('validationFailureMessages'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if variation.message.isInApp}}\\n  <span\\n    class=\\\"o__{{variation.messageStyleName}}\\\"\\n    data-test-variation-details=\\\"message_style\\\"\\n  >\\n    <Common::IconAndText\\n      @item={{hash\\n        icon=variation.styleIcon\\n        text=(capitalize variation.messageStyleName)\\n      }}\\n    />\\n  </span>\\n  <span\\n    class=\\\"o__{{variation.deliveryOption}}\\\"\\n    data-test-variation-details=\\\"delivery_option\\\"\\n  >\\n    <Common::IconAndText\\n      @item={{hash\\n        icon=deliveryOptionIcon\\n        text=(concat \\\"Initially appearing \\\" deliveryOptionText)\\n      }}\\n    />\\n  </span>\\n  <span\\n    class=\\\"o__{{deliveryChannelIcon}}\\\"\\n    data-test-variation-details=\\\"delivery_channel\\\"\\n  >\\n    <Common::IconAndText\\n      @item={{hash\\n        icon=deliveryChannelIcon\\n        text=(concat \\\"Deliver first to \\\" deliveryChannelText)\\n      }}\\n    />\\n  </span>\\n{{/if}}\\n{{#if variation.message.isMobilePush}}\\n  <span\\n    class=\\\"o__{{deliveryChannelIcon}}\\\"\\n    data-test-variation-details=\\\"delivery_channel\\\"\\n  >\\n    <Common::IconAndText\\n      @item={{hash\\n        icon=mobileDeliveryChannelIcon\\n        text=(concat \\\"Deliver to \\\" mobileDeliveryChannelText)\\n      }}\\n    />\\n  </span>\\n{{/if}}\\n{{#if (or variation.isLive variation.isStopped)}}\\n  <span data-test-message-editor-variation-details-went-live>\\n    <Common::IconAndText\\n      @item={{hash\\n        icon=\\\"calendar\\\"\\n        tooltip=(full-date-and-time-helper variation.wentLiveAt)\\n        text=(concat\\n          \\\"Went live \\\"\\n          (full-relative-time-ago-helper variation.wentLiveAt fallback=\\\"Never\\\")\\n        )\\n      }}\\n    />\\n  </span>\\n{{/if}}\\n{{#if variation.stats.lastSentOn}}\\n  <span data-test-message-editor-variation-details-last-sent>\\n    <Common::IconAndText\\n      @item={{hash\\n        icon=\\\"calendar\\\"\\n        tooltip=(full-date-and-time-helper variation.stats.lastSentOn)\\n        text=(concat\\n          \\\"Last sent \\\"\\n          (full-relative-time-ago-helper variation.stats.lastSentOn)\\n        )\\n      }}\\n    />\\n  </span>\\n{{/if}}\\n{{#if app.canUseContentOrientedNavigation}}\\n  {{#if variation.message.operatorLeadQualificationEnabled}}\\n    <span data-test-message-editor-variation-details-lead-qualification>\\n      <Common::IconAndText\\n        @item={{hash\\n          icon=\\\"operator\\\"\\n          text=\\\"Trigger Operator's qualification task bot\\\"\\n        }}\\n      />\\n    </span>\\n  {{/if}}\\n  {{#if variation.message.answerBotEnabled}}\\n    <span data-test-message-editor-variation-details-answer-bot>\\n      <Common::IconAndText\\n        @item={{hash icon=\\\"operator\\\" text=\\\"Let Resolution Bot respond\\\"}}\\n      />\\n    </span>\\n  {{/if}}\\n  {{#if variation.message.followUpRules.firstObject.actions}}\\n    <span data-test-message-editor-variation-details-follow-up-rules>\\n      <span class=\\\"message__editor__follow-on__conjunction u__mr__5\\\">If</span>\\n      {{ic-interface-icon \\\"message\\\" color=\\\"gray\\\"}} Email collected is true\\n      <span class=\\\"message__editor__follow-on__conjunction u__m__5\\\">then</span>\\n      {{#each variation.message.followUpRules.firstObject.actions as |ruleAction index|}}\\n        {{#unless (eq index 0)}}\\n          <span class=\\\"message__editor__follow-on__conjunction u__m__5\\\">and</span>\\n        {{/unless}}\\n        {{ic-interface-icon ruleAction.info.icon color=\\\"gray\\\"}} {{ruleAction.info.description}}\\n      {{/each}}\\n    </span>\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if variation.message.isInApp}}\\n  <span\\n    class=\\\"o__{{variation.messageStyleName}}\\\"\\n    data-test-variation-details=\\\"message_style\\\"\\n  >\\n    <Common::IconAndText\\n      @item={{hash\\n        icon=variation.styleIcon\\n        text=(capitalize variation.messageStyleName)\\n      }}\\n    />\\n  </span>\\n  <span\\n    class=\\\"o__{{variation.deliveryOption}}\\\"\\n    data-test-variation-details=\\\"delivery_option\\\"\\n  >\\n    <Common::IconAndText\\n      @item={{hash\\n        icon=deliveryOptionIcon\\n        text=(concat \\\"Initially appearing \\\" deliveryOptionText)\\n      }}\\n    />\\n  </span>\\n  <span\\n    class=\\\"o__{{deliveryChannelIcon}}\\\"\\n    data-test-variation-details=\\\"delivery_channel\\\"\\n  >\\n    <Common::IconAndText\\n      @item={{hash\\n        icon=deliveryChannelIcon\\n        text=(concat \\\"Deliver first to \\\" deliveryChannelText)\\n      }}\\n    />\\n  </span>\\n{{/if}}\\n{{#if variation.message.isMobilePush}}\\n  <span\\n    class=\\\"o__{{deliveryChannelIcon}}\\\"\\n    data-test-variation-details=\\\"delivery_channel\\\"\\n  >\\n    <Common::IconAndText\\n      @item={{hash\\n        icon=mobileDeliveryChannelIcon\\n        text=(concat \\\"Deliver to \\\" mobileDeliveryChannelText)\\n      }}\\n    />\\n  </span>\\n{{/if}}\\n{{#if (or variation.isLive variation.isStopped)}}\\n  <span data-test-message-editor-variation-details-went-live>\\n    <Common::IconAndText\\n      @item={{hash\\n        icon=\\\"calendar\\\"\\n        tooltip=(full-date-and-time-helper variation.wentLiveAt)\\n        text=(concat\\n          \\\"Went live \\\"\\n          (full-relative-time-ago-helper variation.wentLiveAt fallback=\\\"Never\\\")\\n        )\\n      }}\\n    />\\n  </span>\\n{{/if}}\\n{{#if variation.stats.lastSentOn}}\\n  <span data-test-message-editor-variation-details-last-sent>\\n    <Common::IconAndText\\n      @item={{hash\\n        icon=\\\"calendar\\\"\\n        tooltip=(full-date-and-time-helper variation.stats.lastSentOn)\\n        text=(concat\\n          \\\"Last sent \\\"\\n          (full-relative-time-ago-helper variation.stats.lastSentOn)\\n        )\\n      }}\\n    />\\n  </span>\\n{{/if}}\\n{{#if app.canUseContentOrientedNavigation}}\\n  {{#if variation.message.operatorLeadQualificationEnabled}}\\n    <span data-test-message-editor-variation-details-lead-qualification>\\n      <Common::IconAndText\\n        @item={{hash\\n          icon=\\\"operator\\\"\\n          text=\\\"Trigger Operator's qualification task bot\\\"\\n        }}\\n      />\\n    </span>\\n  {{/if}}\\n  {{#if variation.message.answerBotEnabled}}\\n    <span data-test-message-editor-variation-details-answer-bot>\\n      <Common::IconAndText\\n        @item={{hash icon=\\\"operator\\\" text=\\\"Let Resolution Bot respond\\\"}}\\n      />\\n    </span>\\n  {{/if}}\\n  {{#if variation.message.followUpRules.firstObject.actions}}\\n    <span data-test-message-editor-variation-details-follow-up-rules>\\n      <span class=\\\"message__editor__follow-on__conjunction u__mr__5\\\">If</span>\\n      {{ic-interface-icon \\\"message\\\" color=\\\"gray\\\"}} Email collected is true\\n      <span class=\\\"message__editor__follow-on__conjunction u__m__5\\\">then</span>\\n      {{#each variation.message.followUpRules.firstObject.actions as |ruleAction index|}}\\n        {{#unless (eq index 0)}}\\n          <span class=\\\"message__editor__follow-on__conjunction u__m__5\\\">and</span>\\n        {{/unless}}\\n        {{ic-interface-icon ruleAction.info.icon color=\\\"gray\\\"}} {{ruleAction.info.description}}\\n      {{/each}}\\n    </span>\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/content/variation-details-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/variation-details-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { selectFromObject } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  classNames: ['layout__box', 'o__flexes-to-1', 't__light-text'],\n  deliveryOptions: { full: 'in full', summary: 'as a snippet', badge: 'as a badge' },\n  deliveryOptionIcons: { full: 'inapp-full', summary: 'inapp-snippet', badge: 'inapp-badge' },\n  deliveryChannels: { 0: 'wherever they open your app', 2: 'web', 3: 'iOS', 4: 'Android' },\n  mobileDeliveryChannels: { 0: 'any mobile device', 3: 'iOS', 4: 'Android' },\n  deliveryChannelIcons: { 0: 'multiplatform', 2: 'computer', 3: 'ios', 4: 'android' },\n  mobileDeliveryChannelIcons: { 0: 'mobile', 3: 'ios', 4: 'android' },\n  deliveryOptionText: selectFromObject('deliveryOptions', 'variation.deliveryOption'),\n  deliveryOptionIcon: selectFromObject('deliveryOptionIcons', 'variation.deliveryOption'),\n  deliveryChannelText: selectFromObject('deliveryChannels', 'variation.message.deliveryChannel'),\n  mobileDeliveryChannelText: selectFromObject(\n    'mobileDeliveryChannels',\n    'variation.message.deliveryChannel',\n  ),\n  deliveryChannelIcon: selectFromObject(\n    'deliveryChannelIcons',\n    'variation.message.deliveryChannel',\n  ),\n  mobileDeliveryChannelIcon: selectFromObject(\n    'mobileDeliveryChannelIcons',\n    'variation.message.deliveryChannel',\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcDropdownAndOpenerPair as |pair|>\\n  <pair.opener>\\n    <IcButton\\n      @icon=\\\"ab-test\\\"\\n      @type=\\\"secondary-on-blue\\\"\\n      @label=\\\"Run a new test\\\"\\n      data-test-variation-dropdown-button={{true}}\\n    />\\n  </pair.opener>\\n  <pair.dropdown>\\n    <div\\n      class=\\\"ds-new__dropdown__group o__main o__standard message__editor__panel__ab-dropdown o__standalone u__display-inline-block\\\"\\n    >\\n      <Paywall @featureKey=\\\"ab_testing\\\" as |paywall|>\\n        <div\\n          class=\\\"message__editor__panel__start-ab-test-paywall o__standalone u__display-inline-block\\\"\\n          data-test-start-ab-test-paywall\\n        >\\n          <a\\n            class=\\\"dropdown__list-item o__hoverable flex items-start\\\"\\n            data-test-start-ab-test\\n            {{action \\\"startABTest\\\"}}\\n          >\\n            {{ic-interface-icon \\\"share\\\" solo=true}}\\n            <span class=\\\"flex-auto min-w-0 u__ml__10\\\">\\n              <p>\\n                A/B test\\n              </p>\\n              <span class=\\\"t__light-text\\\">\\n                Create two options and send each to half your audience to see which works best.\\n              </span>\\n              <p>\\n                <paywall.Badge />\\n              </p>\\n            </span>\\n          </a>\\n        </div>\\n      </Paywall>\\n      <Paywall @featureKey=\\\"advanced_ab\\\" as |paywall|>\\n        <div\\n          class=\\\"message__editor__panel__start-ab-test-paywall o__standalone u__display-inline-block\\\"\\n          data-test-control-group-paywall\\n        >\\n          <span\\n            data-test-control-group-tooltip\\n            {{tooltip content=\\\"Control groups can only be added to draft messages\\\" isDisabled=message.isDraft}}\\n          >\\n            <a\\n              class=\\\"dropdown__list-item o__hoverable flex items-start {{unless message.isDraft \\\"o__disabled\\\"}}\\\"\\n              data-test-create-control-group\\n              {{action \\\"createControlGroup\\\"}}\\n            >\\n              {{ic-interface-icon \\\"multiple-people\\\" solo=true}}\\n              <span class=\\\"flex-auto min-w-0 u__ml__10\\\">\\n                <p>\\n                  Control group\\n                </p>\\n                <span class=\\\"t__light-text\\\">\\n                  Send a message to half your audience to see if it helps you reach your goal.\\n                </span>\\n                <p>\\n                  <paywall.Badge />\\n                </p>\\n              </span>\\n            </a>\\n          </span>\\n        </div>\\n      </Paywall>\\n    </div>\\n  </pair.dropdown>\\n</IcDropdownAndOpenerPair>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcDropdownAndOpenerPair as |pair|>\\n  <pair.opener>\\n    <IcButton\\n      @icon=\\\"ab-test\\\"\\n      @type=\\\"secondary-on-blue\\\"\\n      @label=\\\"Run a new test\\\"\\n      data-test-variation-dropdown-button={{true}}\\n    />\\n  </pair.opener>\\n  <pair.dropdown>\\n    <div\\n      class=\\\"ds-new__dropdown__group o__main o__standard message__editor__panel__ab-dropdown o__standalone u__display-inline-block\\\"\\n    >\\n      <Paywall @featureKey=\\\"ab_testing\\\" as |paywall|>\\n        <div\\n          class=\\\"message__editor__panel__start-ab-test-paywall o__standalone u__display-inline-block\\\"\\n          data-test-start-ab-test-paywall\\n        >\\n          <a\\n            class=\\\"dropdown__list-item o__hoverable flex items-start\\\"\\n            data-test-start-ab-test\\n            {{action \\\"startABTest\\\"}}\\n          >\\n            {{ic-interface-icon \\\"share\\\" solo=true}}\\n            <span class=\\\"flex-auto min-w-0 u__ml__10\\\">\\n              <p>\\n                A/B test\\n              </p>\\n              <span class=\\\"t__light-text\\\">\\n                Create two options and send each to half your audience to see which works best.\\n              </span>\\n              <p>\\n                <paywall.Badge />\\n              </p>\\n            </span>\\n          </a>\\n        </div>\\n      </Paywall>\\n      <Paywall @featureKey=\\\"advanced_ab\\\" as |paywall|>\\n        <div\\n          class=\\\"message__editor__panel__start-ab-test-paywall o__standalone u__display-inline-block\\\"\\n          data-test-control-group-paywall\\n        >\\n          <span\\n            data-test-control-group-tooltip\\n            {{tooltip content=\\\"Control groups can only be added to draft messages\\\" isDisabled=message.isDraft}}\\n          >\\n            <a\\n              class=\\\"dropdown__list-item o__hoverable flex items-start {{unless message.isDraft \\\"o__disabled\\\"}}\\\"\\n              data-test-create-control-group\\n              {{action \\\"createControlGroup\\\"}}\\n            >\\n              {{ic-interface-icon \\\"multiple-people\\\" solo=true}}\\n              <span class=\\\"flex-auto min-w-0 u__ml__10\\\">\\n                <p>\\n                  Control group\\n                </p>\\n                <span class=\\\"t__light-text\\\">\\n                  Send a message to half your audience to see if it helps you reach your goal.\\n                </span>\\n                <p>\\n                  <paywall.Badge />\\n                </p>\\n              </span>\\n            </a>\\n          </span>\\n        </div>\\n      </Paywall>\\n    </div>\\n  </pair.dropdown>\\n</IcDropdownAndOpenerPair>\\n\",\"moduleName\":\"embercom/components/message-editor/content/variation-dropdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/variation-dropdown.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nconst EVENT_ANALYTICS_PLACE = 'control-group-dropdown';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  classNames: ['message__editor__panel__start-ab-test'],\n  'data-test-variation-dropdown': true,\n  click(e) {\n    e.stopPropagation();\n  },\n  actions: {\n    startABTest() {\n      this.startABTestOnEditingPage.perform(EVENT_ANALYTICS_PLACE);\n    },\n    createControlGroup() {\n      this.startControlGroupOnEditingPage.perform(EVENT_ANALYTICS_PLACE);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (or message.hasMultipleVariations message.hasControlGroup)}}\\n  <div\\n    class=\\\"layout__box o__has-columns o__flexes-to-1 message__editor__variation-switcher__container\\\"\\n  >\\n    {{#each message.variations as |variation|}}\\n      <MessageEditor::Buttons::VariationSwitcherButton\\n        @variation={{variation}}\\n        @isActive={{eq version variation.label}}\\n        @changeVersion={{changeVersion}}\\n        data-test-variation-tab={{variation.label}}\\n      />\\n    {{/each}}\\n    {{#if message.hasControlGroup}}\\n      <MessageEditor::Buttons::VariationSwitcherButton\\n        @variation={{message.controlGroup}}\\n        @isActive={{controlVersionIsActive}}\\n        @changeVersion={{changeVersion}}\\n        data-test-variation-tab={{message.controlGroup.label}}\\n      />\\n    {{/if}}\\n    {{#if isMaximized}}\\n      {{#if message.hasMultipleVariations}}\\n        <div class=\\\"layout__box o__flexes-to-1 o__centers-vertically\\\">\\n          <div\\n            class=\\\"layout__box o__flexes-to-1 message__editor__variation-switcher__learn-more u__mr__20\\\"\\n          >\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://www.intercom.com/help/onboard-and-engage-customers/see-how-your-messages-are-doing/measure-message-effectiveness-with-goals-and-ab-testing\\\"\\n              @title=\\\"Learn more about A/B\\\"\\n              @type=\\\"article\\\"\\n              onclick={{action \\\"clickLearnMoreAboutAB\\\"}}\\n              data-test-learn-more-about-ab\\n            />\\n          </div>\\n        </div>\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n{{/if}}\\n{{yield activeVariation}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (or message.hasMultipleVariations message.hasControlGroup)}}\\n  <div\\n    class=\\\"layout__box o__has-columns o__flexes-to-1 message__editor__variation-switcher__container\\\"\\n  >\\n    {{#each message.variations as |variation|}}\\n      <MessageEditor::Buttons::VariationSwitcherButton\\n        @variation={{variation}}\\n        @isActive={{eq version variation.label}}\\n        @changeVersion={{changeVersion}}\\n        data-test-variation-tab={{variation.label}}\\n      />\\n    {{/each}}\\n    {{#if message.hasControlGroup}}\\n      <MessageEditor::Buttons::VariationSwitcherButton\\n        @variation={{message.controlGroup}}\\n        @isActive={{controlVersionIsActive}}\\n        @changeVersion={{changeVersion}}\\n        data-test-variation-tab={{message.controlGroup.label}}\\n      />\\n    {{/if}}\\n    {{#if isMaximized}}\\n      {{#if message.hasMultipleVariations}}\\n        <div class=\\\"layout__box o__flexes-to-1 o__centers-vertically\\\">\\n          <div\\n            class=\\\"layout__box o__flexes-to-1 message__editor__variation-switcher__learn-more u__mr__20\\\"\\n          >\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://www.intercom.com/help/onboard-and-engage-customers/see-how-your-messages-are-doing/measure-message-effectiveness-with-goals-and-ab-testing\\\"\\n              @title=\\\"Learn more about A/B\\\"\\n              @type=\\\"article\\\"\\n              onclick={{action \\\"clickLearnMoreAboutAB\\\"}}\\n              data-test-learn-more-about-ab\\n            />\\n          </div>\\n        </div>\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n{{/if}}\\n{{yield activeVariation}}\\n\",\"moduleName\":\"embercom/components/message-editor/content/variation-switcher.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/variation-switcher.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { and, equal } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  classNames: ['layout-box', 'o__flexes-to-1'],\n  versionAIsActive: equal('version', 'A'),\n  versionBIsActive: equal('version', 'B'),\n  controlVersionIsActive: equal('version', 'control'),\n  shouldShowVersionB: and('message.hasMultipleVariations', 'versionBIsActive'),\n  shouldShowControlVersion: and('message.hasControlGroup', 'controlVersionIsActive'),\n  activeContentVariation: ternaryToProperty(\n    'shouldShowVersionB',\n    'message.variationB',\n    'message.variationA',\n  ),\n  activeVariation: ternaryToProperty(\n    'shouldShowControlVersion',\n    'message.controlGroup',\n    'activeContentVariation',\n  ),\n\n  actions: {\n    clickLearnMoreAboutAB() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'learn-more-about-ab-link',\n        message_id: this.get('message.id'),\n        message_variation_id: this.get('activeVariation.id'),\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::Content::TitleComponent\\n  @panel={{panel}}\\n  @message={{message}}\\n  @isEditing={{isEditing}}\\n  @startABTestOnEditingPage={{tasks.startABTestOnEditingPage}}\\n  @startControlGroupOnEditingPage={{tasks.startControlGroupOnEditingPage}}\\n/>\\n<MessageEditor::Content::MainComponent\\n  @isMaximized={{panel.isMaximized}}\\n  @app={{app}}\\n  @message={{message}}\\n  @version={{version}}\\n  @activeView={{activeView}}\\n  @changeVersion={{changeVersion}}\\n  @isEditing={{isEditing}}\\n  @changeView={{changeView}}\\n  @tasks={{tasks}}\\n  @messageActionsTaskGroup={{messageActionsTaskGroup}}\\n  @inverted={{inverted}}\\n  @selectedReaction={{selectedReaction}}\\n  @goalFilter={{goalFilter}}\\n  @linkFilter={{linkFilter}}\\n  @bulkMessage={{bulkMessage}}\\n  @bulkTag={{bulkTag}}\\n  @togglePanel={{panel.togglePanel}}\\n  @maximizePanel={{@maximizePanel}}\\n  @operatorQualificationPanelIsEnabled={{operatorQualificationPanelIsEnabled}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::Content::TitleComponent\\n  @panel={{panel}}\\n  @message={{message}}\\n  @isEditing={{isEditing}}\\n  @startABTestOnEditingPage={{tasks.startABTestOnEditingPage}}\\n  @startControlGroupOnEditingPage={{tasks.startControlGroupOnEditingPage}}\\n/>\\n<MessageEditor::Content::MainComponent\\n  @isMaximized={{panel.isMaximized}}\\n  @app={{app}}\\n  @message={{message}}\\n  @version={{version}}\\n  @activeView={{activeView}}\\n  @changeVersion={{changeVersion}}\\n  @isEditing={{isEditing}}\\n  @changeView={{changeView}}\\n  @tasks={{tasks}}\\n  @messageActionsTaskGroup={{messageActionsTaskGroup}}\\n  @inverted={{inverted}}\\n  @selectedReaction={{selectedReaction}}\\n  @goalFilter={{goalFilter}}\\n  @linkFilter={{linkFilter}}\\n  @bulkMessage={{bulkMessage}}\\n  @bulkTag={{bulkTag}}\\n  @togglePanel={{panel.togglePanel}}\\n  @maximizePanel={{@maximizePanel}}\\n  @operatorQualificationPanelIsEnabled={{operatorQualificationPanelIsEnabled}}\\n/>\\n\",\"moduleName\":\"embercom/components/message-editor/content/wrapper-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/content/wrapper-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-if isMaximized class=\\\"message-editor___expanded-panel__main\\\"}}\\n  <div\\n    class=\\\"layout__box o__centers-horizontally o__flexes-to-1 u__pad__40\\\"\\n    data-test-delivery-conditions-main-expanded\\n  >\\n    <div\\n      class=\\\"message__editor__panel__container-content layout__box o__has-columns o__flexes-to-1\\\"\\n    >\\n      <div class=\\\"layout__box u__mr__20\\\">\\n        <IcIllustrativeIcon @name=\\\"engage\\\" />\\n      </div>\\n      <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n        <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n          <div class=\\\"layout__box o__flexes-to-1  o__has-rows\\\">\\n            <h2 class=\\\"t__h2\\\">\\n              Page targeting\\n            </h2>\\n            <p class=\\\"text-gray\\\">\\n              Send more contextual messages by {{unless message.isCampaignMessage \\\"waiting a period of time on page or\\\"}} targeting specific URLs\\n            </p>\\n          </div>\\n        </div>\\n        <div class=\\\"sp__hr\\\"></div>\\n        <div class=\\\"layout__box o__has-rows\\\">\\n          {{#unless message.isCampaignMessage}}\\n            <MessageEditor::TimeOnPage\\n              @message={{message}}\\n              data-test-time-on-page={{true}}\\n            />\\n            <div class=\\\"u__padt__10\\\"></div>\\n          {{/unless}}\\n          <MessageEditor::Channel::PageTarget\\n            @message={{message}}\\n            data-test-page-target={{true}}\\n          />\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n{{/liquid-if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-if isMaximized class=\\\"message-editor___expanded-panel__main\\\"}}\\n  <div\\n    class=\\\"layout__box o__centers-horizontally o__flexes-to-1 u__pad__40\\\"\\n    data-test-delivery-conditions-main-expanded\\n  >\\n    <div\\n      class=\\\"message__editor__panel__container-content layout__box o__has-columns o__flexes-to-1\\\"\\n    >\\n      <div class=\\\"layout__box u__mr__20\\\">\\n        <IcIllustrativeIcon @name=\\\"engage\\\" />\\n      </div>\\n      <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n        <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n          <div class=\\\"layout__box o__flexes-to-1  o__has-rows\\\">\\n            <h2 class=\\\"t__h2\\\">\\n              Page targeting\\n            </h2>\\n            <p class=\\\"text-gray\\\">\\n              Send more contextual messages by {{unless message.isCampaignMessage \\\"waiting a period of time on page or\\\"}} targeting specific URLs\\n            </p>\\n          </div>\\n        </div>\\n        <div class=\\\"sp__hr\\\"></div>\\n        <div class=\\\"layout__box o__has-rows\\\">\\n          {{#unless message.isCampaignMessage}}\\n            <MessageEditor::TimeOnPage\\n              @message={{message}}\\n              data-test-time-on-page={{true}}\\n            />\\n            <div class=\\\"u__padt__10\\\"></div>\\n          {{/unless}}\\n          <MessageEditor::Channel::PageTarget\\n            @message={{message}}\\n            data-test-page-target={{true}}\\n          />\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n{{/liquid-if}}\\n\",\"moduleName\":\"embercom/components/message-editor/delivery-conditions/main-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/delivery-conditions/main-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  classNames: ['message__editor__panel__inner-container'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::IndexCompletedComponent\\n  @panel={{panel}}\\n  @isDraft={{message.isDraft}}\\n  @isEditing={{isEditing}}\\n  @isComplete={{isComplete}}\\n/>\\n<div class=\\\"layout__box o__centers-vertically\\\">\\n  <h2\\n    class=\\\"t__h2 message__editor__panel__fadable-text message__editor__panel__heading {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n    data-test-delivery-conditions-title\\n  >\\n    {{#if isEditing}}\\n      Set page targeting\\n    {{else}}\\n      Page targeting\\n    {{/if}}\\n  </h2>\\n</div>\\n<div\\n  class=\\\"layout__box o__flexes-to-1 message__editor__panel__fadable-text message__editor__panel__hideable-content message__editor__panel__description o__trigger-times {{if isEditing \\\"o__editing\\\"}} {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n>\\n  {{#unless message.isCampaignMessage}}\\n    <p data-test-delivery-conditions-summary=\\\"time-on-page\\\">\\n      <Common::IconAndText\\n        @item={{hash text=timeOnPageSummaryText icon=\\\"clock\\\"}}\\n        class=\\\"message__editor__panel__fadable-text o__collapsed {{if isEditing \\\"o__editing\\\"}}\\\"\\n      />\\n    </p>\\n  {{/unless}}\\n  <p data-test-delivery-conditions-summary=\\\"page-target\\\">\\n    {{#each message.selectionState.pageTargetPredicates as |predicate index|}}\\n      <MessageEditor::Audience::PageTargetSummary\\n        @showIconAndPrefix={{eq index 0}}\\n        @showJoinType={{not-eq index 0}}\\n        @message={{message}}\\n        @predicate={{predicate}}\\n      />\\n    {{else}}\\n      <Common::IconAndText\\n        @item={{hash text=\\\"Deliver this message on any page\\\" icon=\\\"crosshair\\\"}}\\n        class=\\\"message__editor__panel__fadable-text o__collapsed {{if isEditing \\\"o__editing\\\"}}\\\"\\n      />\\n    {{/each}}\\n  </p>\\n</div>\\n<MessageEditor::Buttons::DoneButton\\n  @panelIsOpen={{and isMaximized isEditing}}\\n  @togglePanel={{togglePanel}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::IndexCompletedComponent\\n  @panel={{panel}}\\n  @isDraft={{message.isDraft}}\\n  @isEditing={{isEditing}}\\n  @isComplete={{isComplete}}\\n/>\\n<div class=\\\"layout__box o__centers-vertically\\\">\\n  <h2\\n    class=\\\"t__h2 message__editor__panel__fadable-text message__editor__panel__heading {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n    data-test-delivery-conditions-title\\n  >\\n    {{#if isEditing}}\\n      Set page targeting\\n    {{else}}\\n      Page targeting\\n    {{/if}}\\n  </h2>\\n</div>\\n<div\\n  class=\\\"layout__box o__flexes-to-1 message__editor__panel__fadable-text message__editor__panel__hideable-content message__editor__panel__description o__trigger-times {{if isEditing \\\"o__editing\\\"}} {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n>\\n  {{#unless message.isCampaignMessage}}\\n    <p data-test-delivery-conditions-summary=\\\"time-on-page\\\">\\n      <Common::IconAndText\\n        @item={{hash text=timeOnPageSummaryText icon=\\\"clock\\\"}}\\n        class=\\\"message__editor__panel__fadable-text o__collapsed {{if isEditing \\\"o__editing\\\"}}\\\"\\n      />\\n    </p>\\n  {{/unless}}\\n  <p data-test-delivery-conditions-summary=\\\"page-target\\\">\\n    {{#each message.selectionState.pageTargetPredicates as |predicate index|}}\\n      <MessageEditor::Audience::PageTargetSummary\\n        @showIconAndPrefix={{eq index 0}}\\n        @showJoinType={{not-eq index 0}}\\n        @message={{message}}\\n        @predicate={{predicate}}\\n      />\\n    {{else}}\\n      <Common::IconAndText\\n        @item={{hash text=\\\"Deliver this message on any page\\\" icon=\\\"crosshair\\\"}}\\n        class=\\\"message__editor__panel__fadable-text o__collapsed {{if isEditing \\\"o__editing\\\"}}\\\"\\n      />\\n    {{/each}}\\n  </p>\\n</div>\\n<MessageEditor::Buttons::DoneButton\\n  @panelIsOpen={{and isMaximized isEditing}}\\n  @togglePanel={{togglePanel}}\\n/>\\n\",\"moduleName\":\"embercom/components/message-editor/delivery-conditions/title-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/delivery-conditions/title-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/use-brace-expansion */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport TitleComponent from 'embercom/components/message-editor/title-component';\nimport pluralize from 'embercom/lib/inflector';\n\nexport default TitleComponent.extend({\n  classNames: ['layout__box', 'o__has-columns', 'message__editor__panel__title'],\n  classNameBindings: ['isMaximized:o__expanded'],\n  timeOnPageSeconds: readOnly('message.selectionState.timeOnPagePredicates.firstObject.value'),\n  timeOnPageSecondsSummaryText: computed('timeOnPageSeconds', function() {\n    let timeLabel = pluralize('second', this.timeOnPageSeconds);\n    if (this.timeOnPageSeconds) {\n      return `${this.timeOnPageSeconds} ${timeLabel}`;\n    } else {\n      return ``;\n    }\n  }),\n  timeOnPageSummaryText: computed(\n    'message.selectionState.hasTimeOnPagePredicates',\n    'timeOnPageSecondsSummaryText',\n    'message.selectionState.userTypes',\n    function() {\n      if (this.get('message.selectionState.hasTimeOnPagePredicates')) {\n        return `Deliver this message after: ${this.timeOnPageSecondsSummaryText}`;\n      } else {\n        return `Deliver this message when the customer lands on the page`;\n      }\n    },\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::DeliveryConditions::TitleComponent\\n  @panel={{panel}}\\n  @message={{message}}\\n  @isEditing={{isEditing}}\\n/>\\n<MessageEditor::DeliveryConditions::MainComponent\\n  @isMaximized={{panel.isMaximized}}\\n  @message={{message}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::DeliveryConditions::TitleComponent\\n  @panel={{panel}}\\n  @message={{message}}\\n  @isEditing={{isEditing}}\\n/>\\n<MessageEditor::DeliveryConditions::MainComponent\\n  @isMaximized={{panel.isMaximized}}\\n  @message={{message}}\\n/>\\n\",\"moduleName\":\"embercom/components/message-editor/delivery-conditions/wrapper-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/delivery-conditions/wrapper-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<label data-test-day-switch-label>\\n  <OneWayCheckbox\\n    @checked={{isChecked}}\\n    @disabled={{isDisabled}}\\n    @update={{action \\\"update\\\"}}\\n  />\\n  {{capitalize day}}\\n</label>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<label data-test-day-switch-label>\\n  <OneWayCheckbox\\n    @checked={{isChecked}}\\n    @disabled={{isDisabled}}\\n    @update={{action \\\"update\\\"}}\\n  />\\n  {{capitalize day}}\\n</label>\\n\",\"moduleName\":\"embercom/components/message-editor/delivery-window/day-switch.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/delivery-window/day-switch.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { notImplemented, selectFromObject } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  classNames: ['layout__box', 'u__mr__10'],\n  day: notImplemented('You must pass a specific day to the day-switch'),\n  deliveryWindow: readOnly('message.deliveryWindow'),\n  dayMap: {\n    mon: 'monday',\n    tue: 'tuesday',\n    wed: 'wednesday',\n    thurs: 'thursday',\n    fri: 'friday',\n    sat: 'saturday',\n    sun: 'sunday',\n  },\n  label: selectFromObject('dayMap', 'day'),\n  isChecked: computed(\n    'label',\n    'deliveryWindow.{mondayDelivery,tuesdayDelivery,wednesdayDelivery,thursdayDelivery,fridayDelivery,saturdayDelivery,sundayDelivery}',\n    function() {\n      return Boolean(this.get(`deliveryWindow.${this.label}Delivery`));\n    },\n  ).readOnly(),\n  isDisabled: computed(\n    'message.hasNoDeliveryWindow',\n    'message.deliveryWindow.notCustomDeliveryPeriod',\n    'message.deliveryWindow.enabledDays.length',\n    function() {\n      if (\n        this.get('message.hasNoDeliveryWindow') ||\n        this.get('message.deliveryWindow.notCustomDeliveryPeriod')\n      ) {\n        return true;\n      }\n      let isSingleDay = this.get('message.deliveryWindow.enabledDays.length') === 1;\n      return this.isChecked && isSingleDay;\n    },\n  ),\n\n  actions: {\n    update(checked) {\n      this.update(`${this.label}Delivery`, checked);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<label\\n  class=\\\"{{if (or message.hasNoDeliveryWindow officeHoursOptionsDisabled) \\\"text-gray\\\"}}\\\"\\n>\\n  <span\\n    {{tooltip content=\\\"To set specific trigger times, first set office hours\\\" isDisabled=(not officeHoursOptionsDisabled)}}\\n  >\\n    <OneWayRadio\\n      @value={{message.deliveryWindow.deliveryPeriod}}\\n      @disabled={{noDeliveryWindowOrOfficeHours}}\\n      @option=\\\"during_office_hours\\\"\\n      @update={{action updateDeliveryPeriod}}\\n      data-test-office-hours-radio={{true}}\\n    />\\n    During office hours\\n  </span>\\n</label>\\n<label\\n  class=\\\"{{if (or message.hasNoDeliveryWindow officeHoursOptionsDisabled) \\\"text-gray\\\"}}\\\"\\n>\\n  <span\\n    {{tooltip content=\\\"To set specific trigger times, first set office hours\\\" isDisabled=(not officeHoursOptionsDisabled)}}\\n  >\\n    <OneWayRadio\\n      @value={{message.deliveryWindow.deliveryPeriod}}\\n      @disabled={{noDeliveryWindowOrOfficeHours}}\\n      @option=\\\"outside_office_hours\\\"\\n      @update={{action updateDeliveryPeriod}}\\n      data-test-out-of-office-hours-radio={{true}}\\n    />\\n    Outside office hours\\n  </span>\\n</label>\\n<label class=\\\"{{if message.hasNoDeliveryWindow \\\"text-gray\\\"}}\\\">\\n  <OneWayRadio\\n    @value={{message.deliveryWindow.deliveryPeriod}}\\n    @disabled={{message.hasNoDeliveryWindow}}\\n    @option=\\\"custom\\\"\\n    @update={{action updateDeliveryPeriod}}\\n    data-test-custom-radio={{true}}\\n  />\\n  Custom time\\n</label>\\n{{#if isCustomDeliveryPeriod}}\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__has-columns u__m__10 {{if customDeliveryOptionsDisabled \\\"text-gray\\\"}}\\\"\\n  >\\n    {{#each days as |day|}}\\n      <MessageEditor::DeliveryWindow::DaySwitch\\n        @day={{day}}\\n        @message={{message}}\\n        @update={{action updateDay}}\\n        data-test-delivery-day={{day}}\\n      />\\n    {{/each}}\\n  </div>\\n  <div class=\\\"layout__box o__has-columns o__centers-vertically u__m__10\\\">\\n    <Common::TimeSelectComponent\\n      @scrollParentSelector={{scrollParentSelector}}\\n      @value={{startTimeOrDefault}}\\n      @updateValue={{action updateStartTime}}\\n      @disabled={{customDeliveryOptionsDisabled}}\\n      data-test-start-time-dropdown={{true}}\\n    />\\n    <span class=\\\"t__light-text u__mr__10 u__ml__10\\\">\\n      to\\n    </span>\\n    <Common::TimeSelectComponent\\n      @scrollParentSelector={{scrollParentSelector}}\\n      @value={{endTimeOrDefault}}\\n      @updateValue={{action updateEndTime}}\\n      @disabled={{customDeliveryOptionsDisabled}}\\n      data-test-end-time-dropdown={{true}}\\n    />\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<label\\n  class=\\\"{{if (or message.hasNoDeliveryWindow officeHoursOptionsDisabled) \\\"text-gray\\\"}}\\\"\\n>\\n  <span\\n    {{tooltip content=\\\"To set specific trigger times, first set office hours\\\" isDisabled=(not officeHoursOptionsDisabled)}}\\n  >\\n    <OneWayRadio\\n      @value={{message.deliveryWindow.deliveryPeriod}}\\n      @disabled={{noDeliveryWindowOrOfficeHours}}\\n      @option=\\\"during_office_hours\\\"\\n      @update={{action updateDeliveryPeriod}}\\n      data-test-office-hours-radio={{true}}\\n    />\\n    During office hours\\n  </span>\\n</label>\\n<label\\n  class=\\\"{{if (or message.hasNoDeliveryWindow officeHoursOptionsDisabled) \\\"text-gray\\\"}}\\\"\\n>\\n  <span\\n    {{tooltip content=\\\"To set specific trigger times, first set office hours\\\" isDisabled=(not officeHoursOptionsDisabled)}}\\n  >\\n    <OneWayRadio\\n      @value={{message.deliveryWindow.deliveryPeriod}}\\n      @disabled={{noDeliveryWindowOrOfficeHours}}\\n      @option=\\\"outside_office_hours\\\"\\n      @update={{action updateDeliveryPeriod}}\\n      data-test-out-of-office-hours-radio={{true}}\\n    />\\n    Outside office hours\\n  </span>\\n</label>\\n<label class=\\\"{{if message.hasNoDeliveryWindow \\\"text-gray\\\"}}\\\">\\n  <OneWayRadio\\n    @value={{message.deliveryWindow.deliveryPeriod}}\\n    @disabled={{message.hasNoDeliveryWindow}}\\n    @option=\\\"custom\\\"\\n    @update={{action updateDeliveryPeriod}}\\n    data-test-custom-radio={{true}}\\n  />\\n  Custom time\\n</label>\\n{{#if isCustomDeliveryPeriod}}\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__has-columns u__m__10 {{if customDeliveryOptionsDisabled \\\"text-gray\\\"}}\\\"\\n  >\\n    {{#each days as |day|}}\\n      <MessageEditor::DeliveryWindow::DaySwitch\\n        @day={{day}}\\n        @message={{message}}\\n        @update={{action updateDay}}\\n        data-test-delivery-day={{day}}\\n      />\\n    {{/each}}\\n  </div>\\n  <div class=\\\"layout__box o__has-columns o__centers-vertically u__m__10\\\">\\n    <Common::TimeSelectComponent\\n      @scrollParentSelector={{scrollParentSelector}}\\n      @value={{startTimeOrDefault}}\\n      @updateValue={{action updateStartTime}}\\n      @disabled={{customDeliveryOptionsDisabled}}\\n      data-test-start-time-dropdown={{true}}\\n    />\\n    <span class=\\\"t__light-text u__mr__10 u__ml__10\\\">\\n      to\\n    </span>\\n    <Common::TimeSelectComponent\\n      @scrollParentSelector={{scrollParentSelector}}\\n      @value={{endTimeOrDefault}}\\n      @updateValue={{action updateEndTime}}\\n      @disabled={{customDeliveryOptionsDisabled}}\\n      data-test-end-time-dropdown={{true}}\\n    />\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/delivery-window/trigger-time-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/delivery-window/trigger-time-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { readOnly, equal, or, notEmpty, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { valueOrDefault } from '@intercom/embercom-core/lib/computed-properties';\nimport { DEFAULT_CUSTOM_DELIVERY_WINDOW } from 'embercom/models/data/messages/message-defaults';\n\nexport default Component.extend({\n  tagName: '',\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  days: ['mon', 'tue', 'wed', 'thurs', 'fri', 'sat', 'sun'],\n\n  startTimeOrDefault: valueOrDefault(\n    'message.deliveryWindow.deliverySecondsSinceMidnightStart',\n    DEFAULT_CUSTOM_DELIVERY_WINDOW.deliverySecondsSinceMidnightStart,\n  ),\n  endTimeOrDefault: valueOrDefault(\n    'message.deliveryWindow.deliverySecondsSinceMidnightEnd',\n    DEFAULT_CUSTOM_DELIVERY_WINDOW.deliverySecondsSinceMidnightEnd,\n  ),\n\n  isCustomDeliveryPeriod: equal('message.deliveryWindow.deliveryPeriod', 'custom'),\n  noDeliveryWindowOrOfficeHours: or('message.hasNoDeliveryWindow', 'officeHoursOptionsDisabled'),\n\n  appHasOfficeHours: notEmpty('messengerSettings.defaultOfficeHoursIntervals'),\n  appHasNoOfficeHours: not('appHasOfficeHours'),\n  officeHoursOptionsDisabled: or('fetchMessengerSettings.isRunning', 'appHasNoOfficeHours'),\n\n  customDeliveryOptionsDisabled: or(\n    'message.hasNoDeliveryWindow',\n    'message.deliveryWindow.notCustomDeliveryPeriod',\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<a class=\\\"overlay__list-item u__prevent-breaks o__input\\\">{{ic-interface-icon itemType}}\\n  <Input @value={{name}} @classNames={{allInputClasses}} data-test-folder-and-campaign-inline-editor={{true}} />\\n</a>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<a class=\\\"overlay__list-item u__prevent-breaks o__input\\\">{{ic-interface-icon itemType}}\\n  <Input @value={{name}} @classNames={{allInputClasses}} data-test-folder-and-campaign-inline-editor={{true}} />\\n</a>\\n\",\"moduleName\":\"embercom/components/message-editor/folder-and-campaign-inline-creator.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/folder-and-campaign-inline-creator.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-attrs-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport $ from 'jquery';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\n\nconst ENTER = 13;\nconst ESCAPE = 27;\n\nexport default Component.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  classNames: ['message__editor__folder-and-campaign-inline-editor'],\n  inputClasses: '',\n  allInputClasses: templateString(\n    'f__text o__small js__folder-and-campaign-inline-editor__input ${inputClasses}',\n  ),\n  store: service(),\n  name: '',\n  itemType: 'folder',\n  didInsertElement() {\n    this._super(...arguments);\n    $('.js__folder-and-campaign-inline-editor__input', this.element).focus();\n  },\n  keyDown(e) {\n    this.checkCompletion(e);\n  },\n  checkCompletion(e) {\n    if (this.isDestroying) {\n      return;\n    }\n    if (e.keyCode === ENTER) {\n      if (this.itemType === 'folder') {\n        this.saveFolder.perform(this.name);\n      } else if (this.itemType === 'campaign') {\n        this.saveCampaign.perform(this.name);\n      }\n    } else if (e.keyCode === ESCAPE) {\n      this.set('name', '');\n      this.attrs.editingCancelled();\n    }\n  },\n  saveCampaign: task(function*() {\n    try {\n      let title = this.name;\n      let campaign = yield this.store.createRecord('campaign', { title }).save();\n      this.store.pushPayload({ 'campaign-summary': { id: campaign.id, title } });\n      this.intercomEventService.trackEvent(\n        'message-campaign-created-from-dropdown-on-summary-page',\n        {\n          campaign_name: title,\n        },\n      );\n      this.editingComplete(campaign);\n    } catch (e) {\n      this.notificationsService.notifyError('There was a problem creating your campaign');\n    }\n  }),\n  saveFolder: task(function*() {\n    try {\n      let name = this.name;\n      let messageFolder = yield this.store.createRecord('message-folder', { name }).save();\n      this.intercomEventService.trackEvent('message-folder-created-from-dropdown-on-summary-page', {\n        folder_name: name,\n      });\n      this.editingComplete(messageFolder);\n    } catch (e) {\n      this.notificationsService.notifyError('There was a problem creating your folder');\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureKey=\\\"message_folders\\\" as |paywall|>\\n  <span\\n    class=\\\"f__custom-select__box message__editor__folder-and-campaign-mover__select {{if isOpen \\\"o__opened\\\"}}\\\"\\n    data-test-folder-and-campaign-mover-selected\\n  >\\n    {{#if isRemovalMode}}\\n      <span>\\n        {{ic-interface-icon \\\"small-close\\\"}}\\n      </span>\\n      {{removalText}}\\n    {{else if campaign}}\\n      <span data-test-folder-and-campaign-mover-init-icon-campaign>\\n        {{ic-interface-icon \\\"campaign\\\"}}\\n      </span>\\n      {{campaign.title}}\\n    {{else if folder}}\\n      <span data-test-folder-and-campaign-mover-init-icon-folder>\\n        {{ic-interface-icon \\\"folder\\\"}}\\n      </span>\\n      {{folder.name}}\\n    {{else}}\\n      Move to…\\n    {{/if}}\\n    <paywall.Hover>\\n      <span class=\\\"f__custom-select__caret\\\">\\n        {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n      </span>\\n    </paywall.Hover>\\n  </span>\\n</Paywall>\\n{{#if isOpen}}\\n  <div\\n    class=\\\"overlay o__dropdown o__down-right z__2 message__editor__folder-and-campaign-mover__container f__custom-select__dropdown\\\"\\n    data-test-folder-and-campaign-mover-dropdown-container\\n  >\\n    {{#unless app.canUseContentOrientedNavigation}}\\n      {{#each folders as |currentFolder|}}\\n        <a\\n          class=\\\"overlay__list-item o__hoverable\\\"\\n          data-test-folder-and-campaign-mover-folder-item=\\\"{{currentFolder.name}}\\\"\\n          title=\\\"{{currentFolder.name}}\\\"\\n          {{action \\\"setSelected\\\" currentFolder}}\\n        >\\n          <div class=\\\"flex items-start\\\">\\n            <div class=\\\"flex-auto min-w-0 u__one-truncated-line\\\">\\n              {{ic-interface-icon \\\"folder\\\"}} {{currentFolder.name}}\\n            </div>\\n            {{#if (eq folder.id currentFolder.id)}}\\n              <span\\n                class=\\\"f__custom-select__check u__right\\\"\\n                data-test-folder-and-campaign-mover-selected-item-icon\\n              >\\n                {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n              </span>\\n            {{/if}}\\n          </div>\\n        </a>\\n      {{/each}}\\n    {{/unless}}\\n    {{#each campaigns as |currentCampaign|}}\\n      <a\\n        class=\\\"overlay__list-item o__hoverable {{if campaignsDisabled \\\"o__disabled\\\"}} message__editor__folder-and-campaign-mover__container\\\"\\n        data-test-folder-and-campaign-mover-campaign-item=\\\"{{currentCampaign.title}}\\\"\\n        title=\\\"{{currentCampaign.title}}\\\"\\n        {{action \\\"setSelected\\\" currentCampaign}}\\n        {{tooltip content=campaignsDisabledMessage placement=\\\"right\\\" isDisabled=(not campaignsDisabled)}}\\n      >\\n        <div class=\\\"flex items-start\\\">\\n          <div class=\\\"flex-auto min-w-0 u__one-truncated-line\\\">\\n            {{ic-interface-icon \\\"campaign\\\"}} {{currentCampaign.title}}\\n          </div>\\n          {{#if (eq campaign.id currentCampaign.id)}}\\n            <span\\n              class=\\\"f__custom-select__check u__right\\\"\\n              data-test-folder-and-campaign-mover-selected-item-icon\\n            >\\n              {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n            </span>\\n          {{/if}}\\n        </div>\\n      </a>\\n    {{/each}}\\n    {{#if isInlineCreateMode}}\\n      <MessageEditor::FolderAndCampaignInlineCreator\\n        @itemType={{itemTypeToCreate}}\\n        @editingComplete={{action \\\"editingComplete\\\"}}\\n        @editingCancelled={{action \\\"editingCancelled\\\"}}\\n        @inputClasses=\\\"message__editor__folder-and-campaign-mover__input\\\"\\n      />\\n    {{else}}\\n      <div class=\\\"message__editor__folder-and-campaign-mover__actions\\\">\\n        {{#unless app.canUseContentOrientedNavigation}}\\n          <a\\n            class=\\\"overlay__list-item o__hoverable tbl__row no_toggle\\\"\\n            data-test-folder-and-campaign-mover-action=\\\"createFolder\\\"\\n            {{action \\\"showInlineCreator\\\" \\\"folder\\\"}}\\n          >\\n            <span class=\\\"table-cell no_toggle\\\">\\n              {{ic-interface-icon \\\"new\\\"}}\\n            </span>\\n            <span class=\\\"table-cell no_toggle\\\">\\n              New folder\\n            </span>\\n          </a>\\n        {{/unless}}\\n        {{#unless campaignsDisabled}}\\n          <a\\n            class=\\\"overlay__list-item o__hoverable tbl__row no_toggle\\\"\\n            data-test-folder-and-campaign-mover-action=\\\"createCampaign\\\"\\n            {{action \\\"showInlineCreator\\\" \\\"campaign\\\"}}\\n          >\\n            <span class=\\\"table-cell no_toggle\\\">\\n              {{ic-interface-icon \\\"new\\\"}}\\n            </span>\\n            <span class=\\\"table-cell no_toggle\\\">\\n              New campaign\\n            </span>\\n          </a>\\n        {{/unless}}\\n      </div>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureKey=\\\"message_folders\\\" as |paywall|>\\n  <span\\n    class=\\\"f__custom-select__box message__editor__folder-and-campaign-mover__select {{if isOpen \\\"o__opened\\\"}}\\\"\\n    data-test-folder-and-campaign-mover-selected\\n  >\\n    {{#if isRemovalMode}}\\n      <span>\\n        {{ic-interface-icon \\\"small-close\\\"}}\\n      </span>\\n      {{removalText}}\\n    {{else if campaign}}\\n      <span data-test-folder-and-campaign-mover-init-icon-campaign>\\n        {{ic-interface-icon \\\"campaign\\\"}}\\n      </span>\\n      {{campaign.title}}\\n    {{else if folder}}\\n      <span data-test-folder-and-campaign-mover-init-icon-folder>\\n        {{ic-interface-icon \\\"folder\\\"}}\\n      </span>\\n      {{folder.name}}\\n    {{else}}\\n      Move to…\\n    {{/if}}\\n    <paywall.Hover>\\n      <span class=\\\"f__custom-select__caret\\\">\\n        {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n      </span>\\n    </paywall.Hover>\\n  </span>\\n</Paywall>\\n{{#if isOpen}}\\n  <div\\n    class=\\\"overlay o__dropdown o__down-right z__2 message__editor__folder-and-campaign-mover__container f__custom-select__dropdown\\\"\\n    data-test-folder-and-campaign-mover-dropdown-container\\n  >\\n    {{#unless app.canUseContentOrientedNavigation}}\\n      {{#each folders as |currentFolder|}}\\n        <a\\n          class=\\\"overlay__list-item o__hoverable\\\"\\n          data-test-folder-and-campaign-mover-folder-item=\\\"{{currentFolder.name}}\\\"\\n          title=\\\"{{currentFolder.name}}\\\"\\n          {{action \\\"setSelected\\\" currentFolder}}\\n        >\\n          <div class=\\\"flex items-start\\\">\\n            <div class=\\\"flex-auto min-w-0 u__one-truncated-line\\\">\\n              {{ic-interface-icon \\\"folder\\\"}} {{currentFolder.name}}\\n            </div>\\n            {{#if (eq folder.id currentFolder.id)}}\\n              <span\\n                class=\\\"f__custom-select__check u__right\\\"\\n                data-test-folder-and-campaign-mover-selected-item-icon\\n              >\\n                {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n              </span>\\n            {{/if}}\\n          </div>\\n        </a>\\n      {{/each}}\\n    {{/unless}}\\n    {{#each campaigns as |currentCampaign|}}\\n      <a\\n        class=\\\"overlay__list-item o__hoverable {{if campaignsDisabled \\\"o__disabled\\\"}} message__editor__folder-and-campaign-mover__container\\\"\\n        data-test-folder-and-campaign-mover-campaign-item=\\\"{{currentCampaign.title}}\\\"\\n        title=\\\"{{currentCampaign.title}}\\\"\\n        {{action \\\"setSelected\\\" currentCampaign}}\\n        {{tooltip content=campaignsDisabledMessage placement=\\\"right\\\" isDisabled=(not campaignsDisabled)}}\\n      >\\n        <div class=\\\"flex items-start\\\">\\n          <div class=\\\"flex-auto min-w-0 u__one-truncated-line\\\">\\n            {{ic-interface-icon \\\"campaign\\\"}} {{currentCampaign.title}}\\n          </div>\\n          {{#if (eq campaign.id currentCampaign.id)}}\\n            <span\\n              class=\\\"f__custom-select__check u__right\\\"\\n              data-test-folder-and-campaign-mover-selected-item-icon\\n            >\\n              {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n            </span>\\n          {{/if}}\\n        </div>\\n      </a>\\n    {{/each}}\\n    {{#if isInlineCreateMode}}\\n      <MessageEditor::FolderAndCampaignInlineCreator\\n        @itemType={{itemTypeToCreate}}\\n        @editingComplete={{action \\\"editingComplete\\\"}}\\n        @editingCancelled={{action \\\"editingCancelled\\\"}}\\n        @inputClasses=\\\"message__editor__folder-and-campaign-mover__input\\\"\\n      />\\n    {{else}}\\n      <div class=\\\"message__editor__folder-and-campaign-mover__actions\\\">\\n        {{#unless app.canUseContentOrientedNavigation}}\\n          <a\\n            class=\\\"overlay__list-item o__hoverable tbl__row no_toggle\\\"\\n            data-test-folder-and-campaign-mover-action=\\\"createFolder\\\"\\n            {{action \\\"showInlineCreator\\\" \\\"folder\\\"}}\\n          >\\n            <span class=\\\"table-cell no_toggle\\\">\\n              {{ic-interface-icon \\\"new\\\"}}\\n            </span>\\n            <span class=\\\"table-cell no_toggle\\\">\\n              New folder\\n            </span>\\n          </a>\\n        {{/unless}}\\n        {{#unless campaignsDisabled}}\\n          <a\\n            class=\\\"overlay__list-item o__hoverable tbl__row no_toggle\\\"\\n            data-test-folder-and-campaign-mover-action=\\\"createCampaign\\\"\\n            {{action \\\"showInlineCreator\\\" \\\"campaign\\\"}}\\n          >\\n            <span class=\\\"table-cell no_toggle\\\">\\n              {{ic-interface-icon \\\"new\\\"}}\\n            </span>\\n            <span class=\\\"table-cell no_toggle\\\">\\n              New campaign\\n            </span>\\n          </a>\\n        {{/unless}}\\n      </div>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/folder-and-campaign-mover.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/folder-and-campaign-mover.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-attrs-in-components */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { or, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n// eslint-disable-next-line @intercom/intercom/no-legacy-dropdown\nimport ComponentDropdownToggler from 'embercom/components/mixins/component-dropdown-toggler';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend(ComponentDropdownToggler, {\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  folder: null,\n  campaign: null,\n  campaigns: null,\n  folders: readOnly('app.folders'),\n  store: service(),\n\n  hasExistingFolderOrCampaign: false,\n  campaignsDisabled: computed(\n    'message.isInApp',\n    'message.hasDeliveryWindow',\n    'message.selectionState.hasTimeOnPagePredicates',\n    'message.selectionState.hasComplexPredicates',\n    function() {\n      return (\n        this.get('message.isInApp') &&\n        (this.get('message.hasDeliveryWindow') ||\n          this.get('message.selectionState.hasTimeOnPagePredicates'))\n      );\n    },\n  ),\n  campaignsDisabledMessage: computed(\n    'message.hasDeliveryWindow',\n    'message.selectionState.hasTimeOnPagePredicates',\n    function() {\n      if (\n        this.get('message.hasDeliveryWindow') &&\n        this.get('message.selectionState.hasTimeOnPagePredicates')\n      ) {\n        return \"Messages with trigger times or time on page contraints can't be added to a campaign.\";\n      } else if (this.get('message.hasDeliveryWindow')) {\n        return \"Messages with trigger times can't be moved to a campaign.\";\n      } else if (this.get('message.selectionState.hasTimeOnPagePredicates')) {\n        return \"Messages with time on page constraints can't be moved to a campaign.\";\n      }\n    },\n  ),\n  classNames: ['u__relative', 'u__left'],\n\n  _getCampaignSummaries: task(function*() {\n    try {\n      let campaigns = yield this.store.findAll('campaign-summary', { reload: true });\n      this.set('campaigns', campaigns.sortBy('title'));\n    } catch (e) {\n      this.notificationsService.notifyError(\n        `Something went wrong and we couldn't load your campaign list. Please try again.`,\n      );\n    }\n  }),\n\n  init() {\n    this._super(...arguments);\n    this._getCampaignSummaries.perform();\n    if (this.hasItemSelected) {\n      if (this.campaign && this.campaignsDisabled) {\n        this.setProperties({\n          campaign: null,\n          hasExistingFolderOrCampaign: false,\n        });\n      } else {\n        this.setProperties({\n          selectedItemType: this.folder ? 'folder' : 'campaign',\n          hasExistingFolderOrCampaign: true,\n        });\n      }\n    }\n  },\n  isOpen: false,\n  isRemovalMode: false,\n  isInlineCreateMode: false,\n  hasItemSelected: or('folder', 'campaign'),\n  actions: {\n    showInlineCreator(itemType) {\n      this.setProperties({\n        itemTypeToCreate: itemType,\n        isInlineCreateMode: true,\n      });\n    },\n    toggleDropdown() {\n      this.toggleProperty('isOpen');\n    },\n    setSelected(item) {\n      let props;\n      if (item.constructor.modelName === 'campaign') {\n        this.store.pushPayload({ 'campaign-summary': { id: item.id, title: item.title } });\n        let campaignSummary = this.store.peekRecord('campaign-summary', item.id);\n        props = {\n          folder: null,\n          campaign: campaignSummary,\n          selectedItemType: 'campaign',\n        };\n      } else if (item.constructor.modelName === 'campaign-summary') {\n        props = {\n          folder: null,\n          campaign: item,\n          selectedItemType: 'campaign',\n        };\n      } else {\n        props = {\n          folder: item,\n          campaign: null,\n          selectedItemType: 'folder',\n        };\n      }\n      this.setProperties(Object.assign({ isRemovalMode: false }, props));\n      this.attrs.itemSelected(item);\n    },\n    removeSelected() {\n      this.setProperties({\n        folder: null,\n        campaign: null,\n        isRemovalMode: true,\n      });\n      this.attrs.itemRemoved();\n    },\n    editingComplete(item) {\n      this.setProperties({\n        isOpen: false,\n        isInlineCreateMode: false,\n      });\n      this.send('setSelected', item);\n    },\n    editingCancelled() {\n      this.set('isInlineCreateMode', false);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-if isMaximized class=\\\"message-editor___expanded-panel__main\\\"}}\\n  <div class=\\\"layout__box o__centers-horizontally o__flexes-to-1 u__pad__40\\\">\\n    <div\\n      class=\\\"message__editor__panel__container-content layout__box o__has-columns o__flexes-to-1\\\"\\n    >\\n      <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n        {{#if message.hasFollowUpRules}}\\n          <MessageEditor::FollowUp::RulesEditorPanelContent\\n            @message={{message}}\\n          />\\n        {{else}}\\n          <MessageEditor::FollowUp::OperatorSkillsPanelContent\\n            @message={{message}}\\n            @operatorQualificationPanelIsEnabled={{operatorQualificationPanelIsEnabled}}\\n          />\\n        {{/if}}\\n      </div>\\n    </div>\\n  </div>\\n{{/liquid-if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-if isMaximized class=\\\"message-editor___expanded-panel__main\\\"}}\\n  <div class=\\\"layout__box o__centers-horizontally o__flexes-to-1 u__pad__40\\\">\\n    <div\\n      class=\\\"message__editor__panel__container-content layout__box o__has-columns o__flexes-to-1\\\"\\n    >\\n      <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n        {{#if message.hasFollowUpRules}}\\n          <MessageEditor::FollowUp::RulesEditorPanelContent\\n            @message={{message}}\\n          />\\n        {{else}}\\n          <MessageEditor::FollowUp::OperatorSkillsPanelContent\\n            @message={{message}}\\n            @operatorQualificationPanelIsEnabled={{operatorQualificationPanelIsEnabled}}\\n          />\\n        {{/if}}\\n      </div>\\n    </div>\\n  </div>\\n{{/liquid-if}}\\n\",\"moduleName\":\"embercom/components/message-editor/follow-up/main-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/follow-up/main-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  classNames: ['message__editor__panel__inner-container'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex flex-row justify-between items-center\\\">\\n  <div class=\\\"flex items-start\\\">\\n    <span class=\\\"message__editor__follow-on__operator-icon\\\">\\n      {{inline-svg \\\"interface-icons/standard/operator\\\"}}\\n    </span>\\n    <div class=\\\"flex-auto min-w-0\\\">\\n      <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n        <h2 class=\\\"t__h2\\\" data-test-operator-panel-content-header>\\n          Let Resolution Bot respond\\n        </h2>\\n        <p class=\\\"text-gray\\\">\\n          Attempt to automatically resolve the conversation by letting Resolution Bot reply first\\n        </p>\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"flex items-start\\\">\\n    <Paywall @featureKey=\\\"answer_workflows\\\" as |paywall|>\\n      <paywall.Hover>\\n        <IcTooltip @isDisabled={{toggleIsAllowed}} as |t|>\\n          <t.opener>\\n            <IcOnOffToggle\\n              data-test-answer-bot-toggle\\n              @isOn={{answerBotToggleIsOn}}\\n              @onClick={{action\\n                \\\"updateAnswerBotSetting\\\"\\n                (not message.answerBotEnabled)\\n              }}\\n              @isDisabled={{not toggleIsAllowed}}\\n            />\\n          </t.opener>\\n          <t.content>\\n            Resolution Bot can only be enabled for In-App Messages\\n          </t.content>\\n        </IcTooltip>\\n      </paywall.Hover>\\n    </Paywall>\\n  </div>\\n</div>\\n\\n{{#if message.isVisitorAutoMessage}}\\n  <div class=\\\"flex flex-row justify-between items-center mt-5\\\">\\n    <div class=\\\"flex items-start\\\">\\n      <span class=\\\"message__editor__follow-on__operator-icon\\\">\\n        {{inline-svg \\\"interface-icons/standard/operator\\\"}}\\n      </span>\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n          <h2 class=\\\"t__h2\\\" data-test-operator-panel-content-header>\\n            Automatically qualify\\n          </h2>\\n          <p class=\\\"text-gray\\\">\\n            Respond to customers with Operator’s lead qualification <br />\\n            task bot\\n          </p>\\n          <a\\n            href={{href-to\\n              \\\"apps.app.operator.task-bots\\\"\\n              (query-params panel=\\\"qualify-leads\\\")\\n            }}\\n            class=\\\"t__em-link\\\"\\n            target=\\\"_blank\\\"\\n            rel=\\\"noopener noreferrer\\\"\\n          >\\n            Operator settings\\n          </a>\\n        </div>\\n      </div>\\n    </div>\\n    <div class=\\\"flex items-start\\\">\\n      <Paywall @featureKey=\\\"operator_qualification\\\" as |paywall|>\\n        <paywall.Hover>\\n          <span\\n            data-test-operator-toggle-tooltip\\n            {{tooltip content=\\\"To turn on qualification, first enable the Operator qualification Task Bot\\\" isDisabled=operatorQualificationPanelIsEnabled}}\\n          >\\n            <IcOnOffToggle\\n              data-test-operator-qualification-toggle\\n              @isOn={{leadQualificationToggleIsOn}}\\n              @onClick={{action\\n                \\\"updateOperatorLeadQualification\\\"\\n                (not message.operatorLeadQualificationEnabled)\\n              }}\\n              @isDisabled={{not leadQualificationToggleIsEnabled}}\\n            />\\n          </span>\\n        </paywall.Hover>\\n      </Paywall>\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex flex-row justify-between items-center\\\">\\n  <div class=\\\"flex items-start\\\">\\n    <span class=\\\"message__editor__follow-on__operator-icon\\\">\\n      {{inline-svg \\\"interface-icons/standard/operator\\\"}}\\n    </span>\\n    <div class=\\\"flex-auto min-w-0\\\">\\n      <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n        <h2 class=\\\"t__h2\\\" data-test-operator-panel-content-header>\\n          Let Resolution Bot respond\\n        </h2>\\n        <p class=\\\"text-gray\\\">\\n          Attempt to automatically resolve the conversation by letting Resolution Bot reply first\\n        </p>\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"flex items-start\\\">\\n    <Paywall @featureKey=\\\"answer_workflows\\\" as |paywall|>\\n      <paywall.Hover>\\n        <IcTooltip @isDisabled={{toggleIsAllowed}} as |t|>\\n          <t.opener>\\n            <IcOnOffToggle\\n              data-test-answer-bot-toggle\\n              @isOn={{answerBotToggleIsOn}}\\n              @onClick={{action\\n                \\\"updateAnswerBotSetting\\\"\\n                (not message.answerBotEnabled)\\n              }}\\n              @isDisabled={{not toggleIsAllowed}}\\n            />\\n          </t.opener>\\n          <t.content>\\n            Resolution Bot can only be enabled for In-App Messages\\n          </t.content>\\n        </IcTooltip>\\n      </paywall.Hover>\\n    </Paywall>\\n  </div>\\n</div>\\n\\n{{#if message.isVisitorAutoMessage}}\\n  <div class=\\\"flex flex-row justify-between items-center mt-5\\\">\\n    <div class=\\\"flex items-start\\\">\\n      <span class=\\\"message__editor__follow-on__operator-icon\\\">\\n        {{inline-svg \\\"interface-icons/standard/operator\\\"}}\\n      </span>\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n          <h2 class=\\\"t__h2\\\" data-test-operator-panel-content-header>\\n            Automatically qualify\\n          </h2>\\n          <p class=\\\"text-gray\\\">\\n            Respond to customers with Operator’s lead qualification <br />\\n            task bot\\n          </p>\\n          <a\\n            href={{href-to\\n              \\\"apps.app.operator.task-bots\\\"\\n              (query-params panel=\\\"qualify-leads\\\")\\n            }}\\n            class=\\\"t__em-link\\\"\\n            target=\\\"_blank\\\"\\n            rel=\\\"noopener noreferrer\\\"\\n          >\\n            Operator settings\\n          </a>\\n        </div>\\n      </div>\\n    </div>\\n    <div class=\\\"flex items-start\\\">\\n      <Paywall @featureKey=\\\"operator_qualification\\\" as |paywall|>\\n        <paywall.Hover>\\n          <span\\n            data-test-operator-toggle-tooltip\\n            {{tooltip content=\\\"To turn on qualification, first enable the Operator qualification Task Bot\\\" isDisabled=operatorQualificationPanelIsEnabled}}\\n          >\\n            <IcOnOffToggle\\n              data-test-operator-qualification-toggle\\n              @isOn={{leadQualificationToggleIsOn}}\\n              @onClick={{action\\n                \\\"updateOperatorLeadQualification\\\"\\n                (not message.operatorLeadQualificationEnabled)\\n              }}\\n              @isDisabled={{not leadQualificationToggleIsEnabled}}\\n            />\\n          </span>\\n        </paywall.Hover>\\n      </Paywall>\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/follow-up/operator-skills-panel-content.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/follow-up/operator-skills-panel-content.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, and } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\n\nexport default Component.extend({\n  messageMutationService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  hasOperatorQualificationBillingFeature: readOnly('app.canUseOperatorQualifications'),\n  leadQualificationToggleIsEnabled: and(\n    'hasOperatorQualificationBillingFeature',\n    'operatorQualificationPanelIsEnabled',\n  ),\n  leadQualificationToggleIsOn: and(\n    'message.operatorLeadQualificationEnabled',\n    'leadQualificationToggleIsEnabled',\n  ),\n\n  toggleIsAllowed: and('message.canHaveAnswerBotFollowup', 'app.hasAnswerBot'),\n  answerBotToggleIsOn: and('message.answerBotEnabled', 'app.hasAnswerBot', 'toggleIsAllowed'),\n\n  updateMessageOperatorSetting(key, data, method) {\n    let context = {\n      method,\n      location: Object.getPrototypeOf(this)._debugContainerKey,\n    };\n\n    let mutation = {\n      key,\n      data,\n      context,\n      command: MUTATIONS.setValue,\n    };\n    this.messageMutationService.performMutations(this.message, [mutation]);\n  },\n\n  actions: {\n    updateOperatorLeadQualification(operatorLeadQualificationEnabled) {\n      this.updateMessageOperatorSetting(\n        'operatorLeadQualificationEnabled',\n        operatorLeadQualificationEnabled,\n        this.actions.updateOperatorLeadQualification.name,\n      );\n    },\n\n    updateAnswerBotSetting(answerBotEnabled) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: answerBotEnabled ? 'enabled' : 'disabled',\n        models: [this.message],\n        object: 'answer_bot_toggle',\n        context: 'message_editor',\n      });\n      this.updateMessageOperatorSetting(\n        'answerBotEnabled',\n        answerBotEnabled,\n        this.actions.updateAnswerBotSetting.name,\n      );\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Rules::RuleEditor\\n  @isCard={{false}}\\n  @rule={{rule}}\\n  @allowedRuleActions={{allowedRuleActions}}\\n  @actionEditorContext={{hash message=message}}\\n  @onChange={{action \\\"onChange\\\"}} as |ruleEditor|\\n>\\n  <ruleEditor.predicates-section>\\n    <div class=\\\"flex items-start u__ml__10 u__mb__20\\\">\\n      <div class=\\\"u__mr__15\\\">\\n        <IcIfThisThenThat @type=\\\"if\\\" />\\n      </div>\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <div class=\\\"rule-editor__block\\\">\\n          <IcFilterBlock\\n            @name=\\\"Email\\\"\\n            @icon=\\\"email\\\"\\n            @details=\\\"is collected\\\"\\n            @isOneLine={{true}}\\n          />\\n        </div>\\n      </div>\\n    </div>\\n  </ruleEditor.predicates-section>\\n  <ruleEditor.actions-section />\\n</Rules::RuleEditor>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Rules::RuleEditor\\n  @isCard={{false}}\\n  @rule={{rule}}\\n  @allowedRuleActions={{allowedRuleActions}}\\n  @actionEditorContext={{hash message=message}}\\n  @onChange={{action \\\"onChange\\\"}} as |ruleEditor|\\n>\\n  <ruleEditor.predicates-section>\\n    <div class=\\\"flex items-start u__ml__10 u__mb__20\\\">\\n      <div class=\\\"u__mr__15\\\">\\n        <IcIfThisThenThat @type=\\\"if\\\" />\\n      </div>\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <div class=\\\"rule-editor__block\\\">\\n          <IcFilterBlock\\n            @name=\\\"Email\\\"\\n            @icon=\\\"email\\\"\\n            @details=\\\"is collected\\\"\\n            @isOneLine={{true}}\\n          />\\n        </div>\\n      </div>\\n    </div>\\n  </ruleEditor.predicates-section>\\n  <ruleEditor.actions-section />\\n</Rules::RuleEditor>\\n\",\"moduleName\":\"embercom/components/message-editor/follow-up/rules-editor-panel-content.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/follow-up/rules-editor-panel-content.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\n\nexport default Component.extend({\n  messageMutationService: service(),\n\n  rule: readOnly('message.followUpRules.firstObject'),\n\n  allowedRuleActions: computed('app.hasSalesforceIntegration', function() {\n    let actions = ['send-follow-up-reply', 'tag-user'];\n\n    if (this.get('app.hasSalesforceIntegration')) {\n      actions.push('send-to-salesforce');\n    }\n\n    return actions;\n  }),\n\n  actions: {\n    onChange() {\n      let context = {\n        location: Object.getPrototypeOf(this)._debugContainerKey,\n        method: this.actions.onChange,\n      };\n      let mutation = {\n        command: MUTATIONS.setValue,\n        key: 'followUpRules',\n        data: this.get('message.followUpRules'),\n        context,\n      };\n      this.messageMutationService.performMutations(this.message, [mutation]);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::IndexCompletedComponent\\n  @panel={{panel}}\\n  @isDraft={{message.isDraft}}\\n  @isEditing={{isEditing}}\\n  @isComplete={{isComplete}}\\n/>\\n<div class=\\\"layout__box o__centers-vertically\\\">\\n  <h2\\n    class=\\\"t__h2 message__editor__panel__fadable-text message__editor__panel__heading {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n    data-test-follow-up-title\\n  >\\n    {{#if isEditing}}\\n      Set a follow-up\\n    {{else}}\\n      Follow-up\\n    {{/if}}\\n  </h2>\\n</div>\\n<div\\n  class=\\\"layout__box o__flexes-to-1 message__editor__panel__fadable-text message__editor__panel__hideable-content message__editor__panel__description o__follow-up {{if isEditing \\\"o__editing\\\"}} {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n>\\n  {{#if message.hasFollowUpRules}}\\n    {{#if message.followUpRules.firstObject.actions}}\\n      <span class=\\\"message__editor__follow-on__conjunction u__mr__5\\\">If</span>\\n      {{ic-interface-icon \\\"message\\\" color=\\\"gray\\\"}} Email collected is true\\n      <span class=\\\"message__editor__follow-on__conjunction u__m__5\\\">then</span>\\n      {{#each message.followUpRules.firstObject.actions as |ruleAction index|}}\\n        {{#unless (eq index 0)}}\\n          <span class=\\\"message__editor__follow-on__conjunction u__m__5\\\">and</span>\\n        {{/unless}}\\n        {{ic-interface-icon ruleAction.info.icon color=\\\"gray\\\"}} {{ruleAction.info.description}}\\n      {{/each}}\\n    {{/if}}\\n  {{else}}\\n    {{#if message.canHaveFollowUp}}\\n      {{ic-interface-icon \\\"chat-bubble\\\" color=\\\"gray\\\"}}\\n    {{/if}}\\n    {{#if message.canHaveAnswerBotFollowup}}\\n      Resolution Bot response is {{if message.answerBotEnabled \\\"On\\\" \\\"Off\\\"}}{{if message.isVisitorAutoMessage \\\", \\\"}}\\n    {{/if}}\\n    {{#if message.isVisitorAutoMessage}}\\n      Lead qualification is {{if message.operatorLeadQualificationEnabled \\\"On\\\" \\\"Off\\\"}}\\n    {{/if}}\\n  {{/if}}\\n</div>\\n<MessageEditor::Buttons::DoneButton\\n  @panelIsOpen={{and isMaximized isEditing}}\\n  @togglePanel={{togglePanel}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::IndexCompletedComponent\\n  @panel={{panel}}\\n  @isDraft={{message.isDraft}}\\n  @isEditing={{isEditing}}\\n  @isComplete={{isComplete}}\\n/>\\n<div class=\\\"layout__box o__centers-vertically\\\">\\n  <h2\\n    class=\\\"t__h2 message__editor__panel__fadable-text message__editor__panel__heading {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n    data-test-follow-up-title\\n  >\\n    {{#if isEditing}}\\n      Set a follow-up\\n    {{else}}\\n      Follow-up\\n    {{/if}}\\n  </h2>\\n</div>\\n<div\\n  class=\\\"layout__box o__flexes-to-1 message__editor__panel__fadable-text message__editor__panel__hideable-content message__editor__panel__description o__follow-up {{if isEditing \\\"o__editing\\\"}} {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n>\\n  {{#if message.hasFollowUpRules}}\\n    {{#if message.followUpRules.firstObject.actions}}\\n      <span class=\\\"message__editor__follow-on__conjunction u__mr__5\\\">If</span>\\n      {{ic-interface-icon \\\"message\\\" color=\\\"gray\\\"}} Email collected is true\\n      <span class=\\\"message__editor__follow-on__conjunction u__m__5\\\">then</span>\\n      {{#each message.followUpRules.firstObject.actions as |ruleAction index|}}\\n        {{#unless (eq index 0)}}\\n          <span class=\\\"message__editor__follow-on__conjunction u__m__5\\\">and</span>\\n        {{/unless}}\\n        {{ic-interface-icon ruleAction.info.icon color=\\\"gray\\\"}} {{ruleAction.info.description}}\\n      {{/each}}\\n    {{/if}}\\n  {{else}}\\n    {{#if message.canHaveFollowUp}}\\n      {{ic-interface-icon \\\"chat-bubble\\\" color=\\\"gray\\\"}}\\n    {{/if}}\\n    {{#if message.canHaveAnswerBotFollowup}}\\n      Resolution Bot response is {{if message.answerBotEnabled \\\"On\\\" \\\"Off\\\"}}{{if message.isVisitorAutoMessage \\\", \\\"}}\\n    {{/if}}\\n    {{#if message.isVisitorAutoMessage}}\\n      Lead qualification is {{if message.operatorLeadQualificationEnabled \\\"On\\\" \\\"Off\\\"}}\\n    {{/if}}\\n  {{/if}}\\n</div>\\n<MessageEditor::Buttons::DoneButton\\n  @panelIsOpen={{and isMaximized isEditing}}\\n  @togglePanel={{togglePanel}}\\n/>\\n\",\"moduleName\":\"embercom/components/message-editor/follow-up/title-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/follow-up/title-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport TitleComponent from 'embercom/components/message-editor/title-component';\n\nexport default TitleComponent.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  classNames: ['layout__box', 'o__has-columns', 'o__flexes-to-1', 'message__editor__panel__title'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::FollowUp::TitleComponent\\n  @panel={{panel}}\\n  @message={{message}}\\n  @isEditing={{isEditing}}\\n/>\\n<MessageEditor::FollowUp::MainComponent\\n  @isMaximized={{panel.isMaximized}}\\n  @message={{message}}\\n  @operatorQualificationPanelIsEnabled={{operatorQualificationPanelIsEnabled}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::FollowUp::TitleComponent\\n  @panel={{panel}}\\n  @message={{message}}\\n  @isEditing={{isEditing}}\\n/>\\n<MessageEditor::FollowUp::MainComponent\\n  @isMaximized={{panel.isMaximized}}\\n  @message={{message}}\\n  @operatorQualificationPanelIsEnabled={{operatorQualificationPanelIsEnabled}}\\n/>\\n\",\"moduleName\":\"embercom/components/message-editor/follow-up/wrapper-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/follow-up/wrapper-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield (hash\\n    predicates=goal.predicates\\n    onUpdate=(action 'onUpdate')\\n  )\\n}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield (hash\\n    predicates=goal.predicates\\n    onUpdate=(action 'onUpdate')\\n  )\\n}}\\n\",\"moduleName\":\"embercom/components/message-editor/goal/goal-wrapper.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/goal/goal-wrapper.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport PredicateGroup from 'predicates/models/predicate-group';\nimport { copy } from 'ember-copy';\n\nexport default Component.extend({\n  store: service(),\n  didReceiveAttrs() {\n    this._super(...arguments);\n    let rawPredicates = this.legacyGoal ? this.legacyGoal.toJSON().predicates : [];\n    let predicates = PredicateGroup.convertRawPredicates(this.store, rawPredicates);\n    let goal = this.store.createFragment(`messages/goal-predicates-editor`, { predicates });\n    this.set('goal', goal);\n  },\n  actions: {\n    onUpdate(predicates) {\n      this.goal.set('predicates', copy(predicates));\n      this.updateLegacyGoal(predicates.serialize());\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-if isMaximized class=\\\"message-editor___expanded-panel__main\\\"}}\\n  <div\\n    class=\\\"layout__box o__centers-horizontally o__flexes-to-1 u__pad__40\\\"\\n    data-test-goal-main-expanded\\n  >\\n    <div\\n      class=\\\"message__editor__panel__container-content layout__box o__has-columns o__flexes-to-1\\\"\\n    >\\n      <div class=\\\"u__mr__20\\\">\\n        <IcIllustrativeIcon @name=\\\"goal\\\" />\\n      </div>\\n      <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n        <div class=\\\"layout__box o__flexes-to-1 u__padb__20\\\">\\n          <h2 class=\\\"t__h2\\\">\\n            Goal\\n          </h2>\\n          <p class=\\\"text-gray\\\">\\n            Measure the impact of your message by tracking changes in a specific attribute or event\\n          </p>\\n        </div>\\n        <hr class=\\\"message__editor__panel__container-divider\\\" />\\n        <div>\\n          {{#if goal}}\\n            <Predicates::InlineGoalEditor\\n              @predicate={{goal.predicates.firstObject}}\\n              @scrollParentSelector=\\\".js__message-view-and-edit-component__container\\\"\\n              class=\\\"predicate-editor__inline-editor\\\"\\n              data-test-inline-goal-editor={{true}}\\n              @removePredicate={{action \\\"removeGoal\\\"}}\\n              @changeComparison={{action \\\"changeGoalComparison\\\"}}\\n              @changeValue={{action \\\"changeGoalValue\\\"}}\\n            />\\n          {{else}}\\n            <Attributes::AttributePickerOpener\\n              @onAdd={{action \\\"addGoalFromAttribute\\\"}}\\n              @attributeGroupList={{attributeGroupList}}\\n            >\\n              <IcButton\\n                @label=\\\"Select an attribute or event…\\\"\\n                @icon=\\\"new\\\"\\n                @type=\\\"secondary\\\"\\n                @disabled={{disabled}}\\n                @testBindingClass=\\\"test__goal__attribute-selector-toggle\\\"\\n              />\\n            </Attributes::AttributePickerOpener>\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n{{/liquid-if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-if isMaximized class=\\\"message-editor___expanded-panel__main\\\"}}\\n  <div\\n    class=\\\"layout__box o__centers-horizontally o__flexes-to-1 u__pad__40\\\"\\n    data-test-goal-main-expanded\\n  >\\n    <div\\n      class=\\\"message__editor__panel__container-content layout__box o__has-columns o__flexes-to-1\\\"\\n    >\\n      <div class=\\\"u__mr__20\\\">\\n        <IcIllustrativeIcon @name=\\\"goal\\\" />\\n      </div>\\n      <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n        <div class=\\\"layout__box o__flexes-to-1 u__padb__20\\\">\\n          <h2 class=\\\"t__h2\\\">\\n            Goal\\n          </h2>\\n          <p class=\\\"text-gray\\\">\\n            Measure the impact of your message by tracking changes in a specific attribute or event\\n          </p>\\n        </div>\\n        <hr class=\\\"message__editor__panel__container-divider\\\" />\\n        <div>\\n          {{#if goal}}\\n            <Predicates::InlineGoalEditor\\n              @predicate={{goal.predicates.firstObject}}\\n              @scrollParentSelector=\\\".js__message-view-and-edit-component__container\\\"\\n              class=\\\"predicate-editor__inline-editor\\\"\\n              data-test-inline-goal-editor={{true}}\\n              @removePredicate={{action \\\"removeGoal\\\"}}\\n              @changeComparison={{action \\\"changeGoalComparison\\\"}}\\n              @changeValue={{action \\\"changeGoalValue\\\"}}\\n            />\\n          {{else}}\\n            <Attributes::AttributePickerOpener\\n              @onAdd={{action \\\"addGoalFromAttribute\\\"}}\\n              @attributeGroupList={{attributeGroupList}}\\n            >\\n              <IcButton\\n                @label=\\\"Select an attribute or event…\\\"\\n                @icon=\\\"new\\\"\\n                @type=\\\"secondary\\\"\\n                @disabled={{disabled}}\\n                @testBindingClass=\\\"test__goal__attribute-selector-toggle\\\"\\n              />\\n            </Attributes::AttributePickerOpener>\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n{{/liquid-if}}\\n\",\"moduleName\":\"embercom/components/message-editor/goal/main-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/goal/main-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { copy } from 'ember-copy';\nimport { capitalize } from '@ember/string';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\n\nexport default Component.extend({\n  classNames: ['message__editor__panel__inner-container'],\n\n  messageMutationService: service(),\n  attributeService: service(),\n  intercomEventService: service(),\n  store: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  attributeGroupList: computed('app.companiesActive', 'message.userTypeLabel', function() {\n    let groups = [\n      {\n        heading: `${capitalize(this.get('message.userTypeLabel'))} Data`,\n        attributes: this.get('attributeService.messageGoalUserAttributes'),\n      },\n    ];\n    if (this.get('app.companiesActive')) {\n      groups.push({\n        heading: 'Company Data',\n        attributes: this.get('attributeService.messageGoalCompanyAttributes'),\n      });\n    }\n    return groups;\n  }),\n  goal: readOnly('message.goal'),\n\n  _mutateGoal(goal, contextMethod) {\n    let context = {\n      location: Object.getPrototypeOf(this)._debugContainerKey,\n      method: contextMethod,\n    };\n    let mutation = { command: MUTATIONS.setValue, key: 'goal', data: goal.serialize(), context };\n    this.messageMutationService.performMutations(this.message, [mutation]);\n  },\n\n  actions: {\n    changeGoalComparison(comparison) {\n      let copiedGoal = copy(this.goal);\n      copiedGoal.get('predicates.firstObject').changeComparison(comparison);\n      this._mutateGoal(copiedGoal, this.actions.changeGoalComparison.name);\n    },\n    changeGoalValue(value) {\n      let copiedGoal = copy(this.goal);\n      copiedGoal.get('predicates.firstObject').changeValue(value);\n      this._mutateGoal(copiedGoal, this.actions.changeGoalValue.name);\n    },\n    addGoalFromAttribute(attribute) {\n      let newGoal = this.store.createFragment('messages/goal');\n      newGoal.addPredicateFromAttribute(attribute, { isGoalPredicate: true });\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'added',\n        object: 'goal',\n        models: [this.message],\n        place: 'outbound',\n        attribute: attribute.identifier,\n      });\n      this._mutateGoal(newGoal, this.actions.addGoalFromAttribute.name);\n    },\n    updateGoal(predicates) {\n      if (predicates.length) {\n        let newGoal = this.store.createFragment('messages/goal');\n        newGoal.set('predicates', predicates);\n        this._mutateGoal(newGoal, this.actions.updateGoal);\n      } else {\n        this.send('removeGoal');\n      }\n    },\n    removeGoal() {\n      if (this.get('message.hasGoal')) {\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'removed',\n          object: 'goal',\n          models: [this.message],\n          place: 'outbound',\n        });\n        let context = {\n          location: Object.getPrototypeOf(this)._debugContainerKey,\n          method: this.actions.removeGoal.name,\n        };\n        let mutation = { command: MUTATIONS.removeValue, key: 'goal', context };\n        this.messageMutationService.performMutations(this.message, [mutation]);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::IndexCompletedComponent\\n  @panel={{panel}}\\n  @isDraft={{message.isDraft}}\\n  @isEditing={{isEditing}}\\n  @isComplete={{isComplete}}\\n/>\\n<div class=\\\"layout__box o__centers-vertically\\\">\\n  <h2\\n    class=\\\"t__h2 message__editor__panel__fadable-text message__editor__panel__heading {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n    data-test-goal-title\\n  >\\n    {{#if isEditing}}\\n      Set your goal\\n    {{else}}\\n      Goal\\n    {{/if}}\\n  </h2>\\n</div>\\n<div\\n  class=\\\"layout__box o__flexes-to-1 message__editor__panel__fadable-text message__editor__panel__hideable-content test__message-editor__goal-predicate-wrapper message__editor__panel__description o__goals {{if isEditing \\\"o__editing\\\"}} {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n>\\n  {{ic-interface-icon \\\"goals\\\" color=\\\"gray\\\"}}\\n  {{#if message.hasGoal}}\\n    {{#each goal.baseUserAddedGoalPredicateDescriptions as |description|}}\\n      <span data-test-message-editor-goal>{{capitalize description.text}}</span>\\n    {{/each}}\\n  {{else}}\\n    No goal set\\n  {{/if}}\\n</div>\\n<MessageEditor::Buttons::DoneButton\\n  @panelIsOpen={{and isMaximized isEditing}}\\n  @togglePanel={{togglePanel}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::IndexCompletedComponent\\n  @panel={{panel}}\\n  @isDraft={{message.isDraft}}\\n  @isEditing={{isEditing}}\\n  @isComplete={{isComplete}}\\n/>\\n<div class=\\\"layout__box o__centers-vertically\\\">\\n  <h2\\n    class=\\\"t__h2 message__editor__panel__fadable-text message__editor__panel__heading {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n    data-test-goal-title\\n  >\\n    {{#if isEditing}}\\n      Set your goal\\n    {{else}}\\n      Goal\\n    {{/if}}\\n  </h2>\\n</div>\\n<div\\n  class=\\\"layout__box o__flexes-to-1 message__editor__panel__fadable-text message__editor__panel__hideable-content test__message-editor__goal-predicate-wrapper message__editor__panel__description o__goals {{if isEditing \\\"o__editing\\\"}} {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n>\\n  {{ic-interface-icon \\\"goals\\\" color=\\\"gray\\\"}}\\n  {{#if message.hasGoal}}\\n    {{#each goal.baseUserAddedGoalPredicateDescriptions as |description|}}\\n      <span data-test-message-editor-goal>{{capitalize description.text}}</span>\\n    {{/each}}\\n  {{else}}\\n    No goal set\\n  {{/if}}\\n</div>\\n<MessageEditor::Buttons::DoneButton\\n  @panelIsOpen={{and isMaximized isEditing}}\\n  @togglePanel={{togglePanel}}\\n/>\\n\",\"moduleName\":\"embercom/components/message-editor/goal/title-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/goal/title-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport TitleComponent from 'embercom/components/message-editor/title-component';\n\nexport default TitleComponent.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  classNames: ['layout__box', 'o__has-columns', 'o__flexes-to-1', 'message__editor__panel__title'],\n  goal: readOnly('message.goal'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::Goal::TitleComponent\\n  @panel={{panel}}\\n  @message={{message}}\\n  @isEditing={{isEditing}}\\n/>\\n<MessageEditor::Goal::MainComponent\\n  @isMaximized={{panel.isMaximized}}\\n  @message={{message}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::Goal::TitleComponent\\n  @panel={{panel}}\\n  @message={{message}}\\n  @isEditing={{isEditing}}\\n/>\\n<MessageEditor::Goal::MainComponent\\n  @isMaximized={{panel.isMaximized}}\\n  @message={{message}}\\n/>\\n\",\"moduleName\":\"embercom/components/message-editor/goal/wrapper-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/goal/wrapper-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"message__editor__index-badge {{if (and isEditing isDraft) 'o__expanded'}}\\\">\\n  <span class=\\\"symbol__circle o__by-text content-editor__animated-index-color {{if isCompleteAndMinimized 'o__green' (if isMaximized 'o__maximized' 'o__inert')}}\\\" data-test-index={{inc index}}>\\n    {{#if isCompleteAndMinimized}}\\n      <span class=\\\"test__message-editor__complete\\\">{{ic-interface-icon 'small-check' solo=true}}</span>\\n    {{else}}\\n      <span class=\\\"test__message-editor__panel-index\\\">{{inc index}}</span>\\n    {{/if}}\\n  </span>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"message__editor__index-badge {{if (and isEditing isDraft) 'o__expanded'}}\\\">\\n  <span class=\\\"symbol__circle o__by-text content-editor__animated-index-color {{if isCompleteAndMinimized 'o__green' (if isMaximized 'o__maximized' 'o__inert')}}\\\" data-test-index={{inc index}}>\\n    {{#if isCompleteAndMinimized}}\\n      <span class=\\\"test__message-editor__complete\\\">{{ic-interface-icon 'small-check' solo=true}}</span>\\n    {{else}}\\n      <span class=\\\"test__message-editor__panel-index\\\">{{inc index}}</span>\\n    {{/if}}\\n  </span>\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/index-completed-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/index-completed-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, not, and } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  classNames: ['layout__box', 'o__centers-all'],\n  panel: notImplemented(),\n  index: readOnly('panel.index'),\n  isMaximized: readOnly('panel.isMaximized'),\n  isMinimized: not('isMaximized'),\n  isCompleteAndMinimized: and('isComplete', 'isMinimized'),\n  isNotEditing: not('isEditing'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isOnIntercomradesOrDevPage}}\\n  <span\\n    class=\\\"pill message-debugger__pill test__debug-pill\\\"\\n    {{action (toggle \\\"showDebuggerPanel\\\" this)}}\\n  >\\n    <span class=\\\"pill__icon\\\">\\n      {{ic-interface-icon \\\"wrench\\\" solo=true}}\\n    </span>\\n    Debug\\n  </span>\\n  {{#if showDebuggerPanel}}\\n    <div class=\\\"message-debugger__panel test__panel\\\">\\n      <p>\\n        Last mutated at [{{message.mutations.lastMutatedAt}}]\\n      </p>\\n      <p>\\n        Last mutation hash [{{message.mutations.lastMutationHash}}]\\n      </p>\\n      <h2>\\n        Message Info\\n      </h2>\\n      <p>\\n        <b>\\n          id:\\n        </b>\\n        {{message.id}}\\n      </p>\\n      <br />\\n      <h3>\\n        Validity:\\n      </h3>\\n      {{#if message.validations.isValid}}\\n        <p>\\n          Message is valid\\n        </p>\\n      {{else}}\\n        <p>\\n          <b>\\n            Message is invalid\\n          </b>\\n        </p>\\n        <p>\\n          <b>\\n            {{v-get message \\\"messages\\\"}}\\n          </b>\\n        </p>\\n      {{/if}}\\n      <br />\\n      <h3>\\n        Dirtiness:\\n      </h3>\\n      <p>\\n        Message is\\n        {{#if message.hasDirtyAttributes}}\\n          dirty\\n        {{else}}\\n          clean\\n        {{/if}}\\n      </p>\\n      {{#each (filter-by \\\"hasDirtyAttributes\\\" message-variations) as |variation|}}\\n        <p>\\n          Variation {{variation.label}} is dirty\\n        </p>\\n      {{else}}\\n        <p>\\n          Variation(s) are clean\\n        </p>\\n      {{/each}}\\n      <h3>\\n        Autosave\\n      </h3>\\n      Autosave Disabled\\n      <OneWayCheckbox\\n        @checked={{false}}\\n        @update={{toggleAutoSave}}\\n        class=\\\"test__toggle-autosave\\\"\\n      />\\n      <br />\\n    </div>\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isOnIntercomradesOrDevPage}}\\n  <span\\n    class=\\\"pill message-debugger__pill test__debug-pill\\\"\\n    {{action (toggle \\\"showDebuggerPanel\\\" this)}}\\n  >\\n    <span class=\\\"pill__icon\\\">\\n      {{ic-interface-icon \\\"wrench\\\" solo=true}}\\n    </span>\\n    Debug\\n  </span>\\n  {{#if showDebuggerPanel}}\\n    <div class=\\\"message-debugger__panel test__panel\\\">\\n      <p>\\n        Last mutated at [{{message.mutations.lastMutatedAt}}]\\n      </p>\\n      <p>\\n        Last mutation hash [{{message.mutations.lastMutationHash}}]\\n      </p>\\n      <h2>\\n        Message Info\\n      </h2>\\n      <p>\\n        <b>\\n          id:\\n        </b>\\n        {{message.id}}\\n      </p>\\n      <br />\\n      <h3>\\n        Validity:\\n      </h3>\\n      {{#if message.validations.isValid}}\\n        <p>\\n          Message is valid\\n        </p>\\n      {{else}}\\n        <p>\\n          <b>\\n            Message is invalid\\n          </b>\\n        </p>\\n        <p>\\n          <b>\\n            {{v-get message \\\"messages\\\"}}\\n          </b>\\n        </p>\\n      {{/if}}\\n      <br />\\n      <h3>\\n        Dirtiness:\\n      </h3>\\n      <p>\\n        Message is\\n        {{#if message.hasDirtyAttributes}}\\n          dirty\\n        {{else}}\\n          clean\\n        {{/if}}\\n      </p>\\n      {{#each (filter-by \\\"hasDirtyAttributes\\\" message-variations) as |variation|}}\\n        <p>\\n          Variation {{variation.label}} is dirty\\n        </p>\\n      {{else}}\\n        <p>\\n          Variation(s) are clean\\n        </p>\\n      {{/each}}\\n      <h3>\\n        Autosave\\n      </h3>\\n      Autosave Disabled\\n      <OneWayCheckbox\\n        @checked={{false}}\\n        @update={{toggleAutoSave}}\\n        class=\\\"test__toggle-autosave\\\"\\n      />\\n      <br />\\n    </div>\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/message-debugger.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/message-debugger.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\nimport ENV from 'embercom/config/environment';\n\nexport default Component.extend({\n  classNames: ['test__message-debugger'],\n  message: notImplemented(),\n  showDebuggerPanel: false,\n  isOnIntercomradesOrDevPage: computed(function() {\n    return (\n      ENV.environment === 'test' ||\n      document.domain.includes('intercomrade') ||\n      document.domain.includes('intercom.test')\n    );\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-unless shouldNotDisplay class=\\\"message-editor__optional-panel__show\\\"}}\\n  <div class=\\\"flex items-start {{if isMaximized \\\"test__message-editor__expanded-panel\\\" \\\"test__message-editor__collapsed-panel\\\"}} test__message-editor__panel o__{{panelKey}}\\\">\\n    <div class=\\\"flex-auto min-w-0\\\">\\n      {{yield\\n        (assign\\n          publicAPI\\n          (hash\\n            panelKey=panelKey\\n            index=index\\n            isMaximized=isMaximized\\n            maximizePanel=(action \\\"maximizeSelf\\\")\\n            minimizePanel=(action \\\"minimizeSelf\\\")\\n            togglePanel=(action \\\"toggleSelf\\\")\\n          )\\n        )\\n      }}\\n    </div>\\n  </div>\\n{{/liquid-unless}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-unless shouldNotDisplay class=\\\"message-editor__optional-panel__show\\\"}}\\n  <div class=\\\"flex items-start {{if isMaximized \\\"test__message-editor__expanded-panel\\\" \\\"test__message-editor__collapsed-panel\\\"}} test__message-editor__panel o__{{panelKey}}\\\">\\n    <div class=\\\"flex-auto min-w-0\\\">\\n      {{yield\\n        (assign\\n          publicAPI\\n          (hash\\n            panelKey=panelKey\\n            index=index\\n            isMaximized=isMaximized\\n            maximizePanel=(action \\\"maximizeSelf\\\")\\n            minimizePanel=(action \\\"minimizeSelf\\\")\\n            togglePanel=(action \\\"toggleSelf\\\")\\n          )\\n        )\\n      }}\\n    </div>\\n  </div>\\n{{/liquid-unless}}\\n\",\"moduleName\":\"embercom/components/message-editor/panel-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/panel-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-attrs-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, not, equal } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport {\n  applyFunction,\n  containsByProperty,\n  equalToProperty,\n  selectFromObject,\n  templateString,\n} from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  classNames: ['message__editor__panel', 'js__message__editor__panel', 'content-editor__panel'],\n  classNameBindings: [\n    'panelOptionClass',\n    'isFirstPanel:o__first',\n    'isLastPanel:o__last',\n    'shouldNotDisplay:o__is-hidden',\n    'isEditing:o__editing',\n    'isMaximized:o__maximized',\n    'isMinimized:o__minimized',\n  ],\n  'data-test-is-maximized': readOnly('isMaximized'),\n  'data-test-panel-for': readOnly('panelKey'),\n\n  panelOptionClass: templateString('o__${panelKey}'),\n\n  isMaximized: containsByProperty('maximizedPanels', 'panelKey'),\n  isMinimized: not('isMaximized'),\n\n  index: selectFromObject('indices', 'panelKey'),\n\n  isFirstPanel: equal('index', 0),\n  isLastPanel: equalToProperty('panelKey', 'displayedPanels.lastObject'),\n\n  displayedPanels: applyFunction(Object.keys, 'indices'),\n  shouldDisplay: containsByProperty('displayedPanels', 'panelKey'),\n  shouldNotDisplay: not('shouldDisplay'),\n\n  isNotEditing: not('isEditing'),\n\n  isComplete: false,\n\n  init() {\n    this._super(...arguments);\n    this.set('_oldMaximizedPanels', this.maximizedPanels);\n  },\n\n  didUpdateAttrs() {\n    this._super(...arguments);\n    let oldMaximizedPanels = this._oldMaximizedPanels;\n    let newMaximizedPanels = this.maximizedPanels;\n    if (this._hasBecomeMinimized(oldMaximizedPanels, newMaximizedPanels)) {\n      this.didMinimize(this.panelKey);\n    } else if (this._hasBecomeMaximized(oldMaximizedPanels, newMaximizedPanels)) {\n      this.didMaximize(this.panelKey);\n    }\n    this.set('_oldMaximizedPanels', newMaximizedPanels);\n  },\n\n  _hasBecomeMinimized(oldMaximizedPanels, newMaximizedPanels) {\n    return (\n      oldMaximizedPanels.includes(this.panelKey) && !newMaximizedPanels.includes(this.panelKey)\n    );\n  },\n\n  _hasBecomeMaximized(oldMaximizedPanels, newMaximizedPanels) {\n    return (\n      !oldMaximizedPanels.includes(this.panelKey) && newMaximizedPanels.includes(this.panelKey)\n    );\n  },\n\n  actions: {\n    maximizeSelf() {\n      if (this.isEditing) {\n        this.attrs.maximizePanel(this.panelKey);\n      }\n    },\n    minimizeSelf() {\n      this.attrs.minimizePanel(this.panelKey);\n    },\n\n    toggleSelf() {\n      if (this.isMaximized) {\n        this.send('minimizeSelf');\n      } else {\n        this.send('maximizeSelf');\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"message__editor__review__inner-component o__campaign\\\">\\n  <div class=\\\"layout__box o__centers-horizontally\\\">\\n    <IcIllustrativeIcon @name=\\\"live\\\" />\\n  </div>\\n  <div class=\\\"layout__box o__centers-horizontally u__mt__15\\\">\\n    <h1 class=\\\"t__h1\\\">\\n      You're ready to go\\n    </h1>\\n  </div>\\n  <div\\n    class=\\\"layout__box o__centers-horizontally t__centered text-gray u__mt__10\\\"\\n    data-test-review-options-text\\n  >\\n    <span>\\n      Set the campaign live to send this to your audience, and we'll keep checking for new {{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes)}} who join.\\n      {{#if message.campaign.hasSpacing}}\\n        Messages are currently set to send at least {{message.campaign.spacingInDays}} {{inflector-helper \\\"day\\\" message.campaign.spacingInDays}} apart.\\n      {{/if}}\\n    </span>\\n  </div>\\n  <div class=\\\"layout__box o__centers-horizontally u__mt__15\\\">\\n    <IcButton\\n      @label=\\\"Save and close\\\"\\n      @type=\\\"primary\\\"\\n      @onClick={{perform tasks.saveAndReturnToSummary}}\\n      data-test-save-and-close={{true}}\\n    />\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"message__editor__review__inner-component o__campaign\\\">\\n  <div class=\\\"layout__box o__centers-horizontally\\\">\\n    <IcIllustrativeIcon @name=\\\"live\\\" />\\n  </div>\\n  <div class=\\\"layout__box o__centers-horizontally u__mt__15\\\">\\n    <h1 class=\\\"t__h1\\\">\\n      You're ready to go\\n    </h1>\\n  </div>\\n  <div\\n    class=\\\"layout__box o__centers-horizontally t__centered text-gray u__mt__10\\\"\\n    data-test-review-options-text\\n  >\\n    <span>\\n      Set the campaign live to send this to your audience, and we'll keep checking for new {{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes)}} who join.\\n      {{#if message.campaign.hasSpacing}}\\n        Messages are currently set to send at least {{message.campaign.spacingInDays}} {{inflector-helper \\\"day\\\" message.campaign.spacingInDays}} apart.\\n      {{/if}}\\n    </span>\\n  </div>\\n  <div class=\\\"layout__box o__centers-horizontally u__mt__15\\\">\\n    <IcButton\\n      @label=\\\"Save and close\\\"\\n      @type=\\\"primary\\\"\\n      @onClick={{perform tasks.saveAndReturnToSummary}}\\n      data-test-save-and-close={{true}}\\n    />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/review/campaign-review-options-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/review/campaign-review-options-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  classNames: ['layout__box', 'o__centers-horizontally', 'test__campaign-review-options-component'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-if isMaximized class=\\\"message-editor___expanded-panel__main\\\"}}\\n  {{#if showReviewOptions}}\\n    {{component\\n      reviewOptionsComponentPath\\n      message=message\\n      tasks=(hash\\n        saveAndAddSchedule=tasks.saveAndAddSchedule\\n        saveAndReturnToSummary=tasks.saveAndReturnToSummary\\n        saveAndActivate=tasks.saveAndActivate\\n        fetchMessageAudiencePreview=tasks.fetchMessageAudiencePreview\\n        removeSchedule=tasks.removeSchedule\\n      )\\n    }}\\n  {{else}}\\n    <MessageEditor::Review::ValidationsComponent\\n      @message={{message}}\\n      @displayedPanels={{displayedPanels}}\\n      @panelIndices={{panelIndices}}\\n      @maximizePanel={{maximizePanel}}\\n    />\\n  {{/if}}\\n{{/liquid-if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-if isMaximized class=\\\"message-editor___expanded-panel__main\\\"}}\\n  {{#if showReviewOptions}}\\n    {{component\\n      reviewOptionsComponentPath\\n      message=message\\n      tasks=(hash\\n        saveAndAddSchedule=tasks.saveAndAddSchedule\\n        saveAndReturnToSummary=tasks.saveAndReturnToSummary\\n        saveAndActivate=tasks.saveAndActivate\\n        fetchMessageAudiencePreview=tasks.fetchMessageAudiencePreview\\n        removeSchedule=tasks.removeSchedule\\n      )\\n    }}\\n  {{else}}\\n    <MessageEditor::Review::ValidationsComponent\\n      @message={{message}}\\n      @displayedPanels={{displayedPanels}}\\n      @panelIndices={{panelIndices}}\\n      @maximizePanel={{maximizePanel}}\\n    />\\n  {{/if}}\\n{{/liquid-if}}\\n\",\"moduleName\":\"embercom/components/message-editor/review/main-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/review/main-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { and } from '@ember/object/computed';\n\nexport default Component.extend({\n  classNames: [\n    'layout__box',\n    'o__has-rows',\n    'message__editor__review__panel',\n    'test__review__main__expanded',\n  ],\n  showReviewOptions: and('message.validationsSucceed', 'message.validations.isValid'),\n  reviewOptionsComponentPath: computed('message.isCampaignMessage', function() {\n    if (this.get('message.isCampaignMessage')) {\n      return 'message-editor/review/campaign-review-options-component';\n    } else {\n      return 'message-editor/review/review-options-component';\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"message__editor__review__users u__relative\\\">\\n  {{#each usersToShow as |user|}}\\n    <div class=\\\"message__editor__review__user test__message__editor__review__user-actual\\\">\\n      <a href=\\\"{{href-to 'apps.app.users.user.all-conversations' user.userId}}\\\" class=\\\"u__all-pointer-events t__solo-link campaign__user__container\\\">\\n        <Common::Tooltips::User @userId={{user.userId}} class=\\\"campaign__user__container u__relative\\\">\\n          {{ic-avatar direct=user.avatarData size='m' contained=true}}\\n        </Common::Tooltips::User>\\n      </a>\\n    </div>\\n  {{/each}}\\n  {{#if message.isNotManualMessage}}\\n    {{#each (repeat emptyAvatarsTotal) as |empty| }}\\n      <div class=\\\"message__editor__review__user o__empty layout__box o__centers-all test__message__editor__review__user\\\">{{ic-interface-icon 'auto-message' solo=true}}</div>\\n    {{/each}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"message__editor__review__users u__relative\\\">\\n  {{#each usersToShow as |user|}}\\n    <div class=\\\"message__editor__review__user test__message__editor__review__user-actual\\\">\\n      <a href=\\\"{{href-to 'apps.app.users.user.all-conversations' user.userId}}\\\" class=\\\"u__all-pointer-events t__solo-link campaign__user__container\\\">\\n        <Common::Tooltips::User @userId={{user.userId}} class=\\\"campaign__user__container u__relative\\\">\\n          {{ic-avatar direct=user.avatarData size='m' contained=true}}\\n        </Common::Tooltips::User>\\n      </a>\\n    </div>\\n  {{/each}}\\n  {{#if message.isNotManualMessage}}\\n    {{#each (repeat emptyAvatarsTotal) as |empty| }}\\n      <div class=\\\"message__editor__review__user o__empty layout__box o__centers-all test__message__editor__review__user\\\">{{ic-interface-icon 'auto-message' solo=true}}</div>\\n    {{/each}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/review/review-avatars-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/review/review-avatars-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { A } from '@ember/array';\nimport { isBlank } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { subtractProperties } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  MAX_USERS: 18,\n  usersToShow: computed('message.isAutoMessage', 'message.audiencePreview.users.[]', function() {\n    if (isBlank(this.get('message.audiencePreview.users'))) {\n      return A();\n    }\n\n    if (\n      this.get('message.isAutoMessage') &&\n      this.get('message.audiencePreview.users.length') >= this.MAX_USERS\n    ) {\n      return this.get('message.audiencePreview.users').slice(0, -1);\n    } else {\n      return this.get('message.audiencePreview.users');\n    }\n  }),\n\n  emptyAvatarsTotal: subtractProperties('MAX_USERS', 'usersToShow.length'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"message__editor__review__inner-component\\\">\\n  <div class=\\\"layout__box o__centers-horizontally\\\">\\n    {{#if message.isVisitorAutoMessage}}\\n      <IcIllustrativeIcon @name=\\\"live\\\" />\\n    {{else}}\\n      <MessageEditor::Review::ReviewAvatarsComponent @message={{message}} />\\n    {{/if}}\\n  </div>\\n  <div class=\\\"layout__box o__centers-horizontally u__mt__15\\\">\\n    <h1 class=\\\"t__h1\\\">\\n      You're ready to go\\n    </h1>\\n  </div>\\n  <div\\n    class=\\\"layout__box o__centers-horizontally t__centered text-gray u__mt__10\\\"\\n    data-test-review-options-text\\n  >\\n    {{#if message.isVisitorAutoMessage}}\\n      {{#if message.isToBeScheduled}}\\n        Visitors to your site will see the message the next time they visit after {{format-date date=message.scheduledToGoLiveAt format=\\\"dateWithoutYear\\\"}},\\n        if they match your audience rules\\n      {{else}}\\n        Visitors to your site will see the message the next time they visit, if they match your audience rules\\n      {{/if}}\\n    {{else}}\\n      {{#if\\n        (and\\n          tasks.fetchMessageAudiencePreview.isRunning\\n          (not message.audiencePreview.hasAudience)\\n        )\\n      }}\\n        If you set it live it'll send to anyone who joins the audience\\n      {{else}}\\n        {{#if message.audiencePreview.hasAudience}}\\n          {{#if message.hasNoControlGroup}}\\n            {{#if message.isToBeScheduled}}\\n              Currently, there are {{number-formatter-helper message.audiencePreview.count}} {{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes message.audiencePreview.count)}}\\n              in your audience. On {{format-date date=message.scheduledToGoLiveAt format=\\\"dateWithoutYear\\\"}} we'll begin sending this message to those who match{{#if message.isInApp}} and are online{{/if}}{{#if message.isNotManualMessage}}, and to more users whenever they join the audience{{/if}}.\\n            {{else}}\\n              We'll send this to {{number-formatter-helper message.audiencePreview.count}} {{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes message.audiencePreview.count)}}\\n              {{whenMessageWillSendText}}{{#if message.isNotManualMessage}}, and to more users whenever they join the audience{{/if}}\\n            {{/if}}\\n          {{else}}\\n            We'll send this to part of your audience of {{number-formatter-helper message.audiencePreview.count}}&nbsp;{{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes message.audiencePreview.count)}}\\n            {{whenMessageWillSendText}}, and the rest will be added to a control group.\\n            <br />\\n            <br />\\n            Going forward, people who match your audience rules for this message will be split between the message group and control group.\\n          {{/if}}\\n        {{else}}\\n          There are no {{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes) 'or'}} in your audience right now, but if you set it live it'll send to anyone who joins\\n        {{/if}}\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n  <div class=\\\"layout__box o__centers-horizontally t__centered u__mt__10\\\">\\n    <div class=\\\"u__mt__15\\\">\\n      <MessageEditor::Review::ReviewStateButtons\\n        @message={{@message}}\\n        @tasks={{hash\\n          saveAndReturnToSummary=@tasks.saveAndReturnToSummary\\n          saveAndActivate=@tasks.saveAndActivate\\n          saveAndAddSchedule=@tasks.saveAndAddSchedule\\n          removeSchedule=@tasks.removeSchedule\\n        }}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"message__editor__review__inner-component\\\">\\n  <div class=\\\"layout__box o__centers-horizontally\\\">\\n    {{#if message.isVisitorAutoMessage}}\\n      <IcIllustrativeIcon @name=\\\"live\\\" />\\n    {{else}}\\n      <MessageEditor::Review::ReviewAvatarsComponent @message={{message}} />\\n    {{/if}}\\n  </div>\\n  <div class=\\\"layout__box o__centers-horizontally u__mt__15\\\">\\n    <h1 class=\\\"t__h1\\\">\\n      You're ready to go\\n    </h1>\\n  </div>\\n  <div\\n    class=\\\"layout__box o__centers-horizontally t__centered text-gray u__mt__10\\\"\\n    data-test-review-options-text\\n  >\\n    {{#if message.isVisitorAutoMessage}}\\n      {{#if message.isToBeScheduled}}\\n        Visitors to your site will see the message the next time they visit after {{format-date date=message.scheduledToGoLiveAt format=\\\"dateWithoutYear\\\"}},\\n        if they match your audience rules\\n      {{else}}\\n        Visitors to your site will see the message the next time they visit, if they match your audience rules\\n      {{/if}}\\n    {{else}}\\n      {{#if\\n        (and\\n          tasks.fetchMessageAudiencePreview.isRunning\\n          (not message.audiencePreview.hasAudience)\\n        )\\n      }}\\n        If you set it live it'll send to anyone who joins the audience\\n      {{else}}\\n        {{#if message.audiencePreview.hasAudience}}\\n          {{#if message.hasNoControlGroup}}\\n            {{#if message.isToBeScheduled}}\\n              Currently, there are {{number-formatter-helper message.audiencePreview.count}} {{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes message.audiencePreview.count)}}\\n              in your audience. On {{format-date date=message.scheduledToGoLiveAt format=\\\"dateWithoutYear\\\"}} we'll begin sending this message to those who match{{#if message.isInApp}} and are online{{/if}}{{#if message.isNotManualMessage}}, and to more users whenever they join the audience{{/if}}.\\n            {{else}}\\n              We'll send this to {{number-formatter-helper message.audiencePreview.count}} {{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes message.audiencePreview.count)}}\\n              {{whenMessageWillSendText}}{{#if message.isNotManualMessage}}, and to more users whenever they join the audience{{/if}}\\n            {{/if}}\\n          {{else}}\\n            We'll send this to part of your audience of {{number-formatter-helper message.audiencePreview.count}}&nbsp;{{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes message.audiencePreview.count)}}\\n            {{whenMessageWillSendText}}, and the rest will be added to a control group.\\n            <br />\\n            <br />\\n            Going forward, people who match your audience rules for this message will be split between the message group and control group.\\n          {{/if}}\\n        {{else}}\\n          There are no {{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes) 'or'}} in your audience right now, but if you set it live it'll send to anyone who joins\\n        {{/if}}\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n  <div class=\\\"layout__box o__centers-horizontally t__centered u__mt__10\\\">\\n    <div class=\\\"u__mt__15\\\">\\n      <MessageEditor::Review::ReviewStateButtons\\n        @message={{@message}}\\n        @tasks={{hash\\n          saveAndReturnToSummary=@tasks.saveAndReturnToSummary\\n          saveAndActivate=@tasks.saveAndActivate\\n          saveAndAddSchedule=@tasks.saveAndAddSchedule\\n          removeSchedule=@tasks.removeSchedule\\n        }}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/review/review-options-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/review/review-options-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-attrs-in-components */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { on } from '@ember/object/evented';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  classNames: ['layout__box', 'o__centers-horizontally'],\n  'data-test-review-options-component': true,\n\n  whenMessageWillSendText: computed('message.isNotManualMessage', 'message.isInApp', function() {\n    if (this.get('message.isInApp')) {\n      return \"next time they're online\";\n    } else if (this.get('message.isNotManualMessage')) {\n      return \"as soon as it's live\";\n    }\n  }),\n\n  fetchAudiencePreview: on('didInsertElement', function() {\n    if (this.get('message.isValidForAudiencePreviewUpdate')) {\n      this.attrs.tasks.fetchMessageAudiencePreview.perform();\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureUsage={{app.liveAutoMessageCount}} @featureKey={{requiredFeature}} as |paywall|>\\n  <paywall.Hover>\\n    <IcButton\\n      @type=\\\"primary-live\\\"\\n      @onClick={{perform @tasks.removeSchedule}}\\n      @disabled={{paywall.isActive}}\\n      data-test-remove-schedule={{true}}\\n    >\\n      Save as draft\\n    </IcButton>\\n  </paywall.Hover>\\n</Paywall>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureUsage={{app.liveAutoMessageCount}} @featureKey={{requiredFeature}} as |paywall|>\\n  <paywall.Hover>\\n    <IcButton\\n      @type=\\\"primary-live\\\"\\n      @onClick={{perform @tasks.removeSchedule}}\\n      @disabled={{paywall.isActive}}\\n      data-test-remove-schedule={{true}}\\n    >\\n      Save as draft\\n    </IcButton>\\n  </paywall.Hover>\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/message-editor/review/review-state-buttons-cancel-schedule.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/review/review-state-buttons-cancel-schedule.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  requiredFeature: computed('message.isManualMessage', 'message.isVisitorAutoMessage', function() {\n    if (this.get('message.isManualMessage')) {\n      return 'manual_messaging';\n    } else if (this.get('message.isVisitorAutoMessage')) {\n      return 'visitor_auto_messaging';\n    } else {\n      return 'auto_messaging';\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureUsage={{app.liveAutoMessageCount}} @featureKey={{requiredFeature}} as |paywall|>\\n  <paywall.Hover>\\n    <IcButton\\n      data-test-review-state-buttons-reschedule-save-and-close={{true}}\\n        @type=\\\"primary-live\\\"\\n        @onClick={{perform @tasks.saveAndReturnToSummary}}\\n        @disabled={{paywall.isActive}}\\n      >\\n        Save and close\\n    </IcButton>\\n  </paywall.Hover>\\n</Paywall>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureUsage={{app.liveAutoMessageCount}} @featureKey={{requiredFeature}} as |paywall|>\\n  <paywall.Hover>\\n    <IcButton\\n      data-test-review-state-buttons-reschedule-save-and-close={{true}}\\n        @type=\\\"primary-live\\\"\\n        @onClick={{perform @tasks.saveAndReturnToSummary}}\\n        @disabled={{paywall.isActive}}\\n      >\\n        Save and close\\n    </IcButton>\\n  </paywall.Hover>\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/message-editor/review/review-state-buttons-reschedule.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/review/review-state-buttons-reschedule.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  requiredFeature: computed('message.isManualMessage', 'message.isVisitorAutoMessage', function() {\n    if (this.get('message.isManualMessage')) {\n      return 'manual_messaging';\n    } else if (this.get('message.isVisitorAutoMessage')) {\n      return 'visitor_auto_messaging';\n    } else {\n      return 'auto_messaging';\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureUsage={{app.liveAutoMessageCount}} @featureKey={{requiredFeature}} as |paywall|>\\n  <paywall.Hover>\\n    <IcButton\\n      @type=\\\"primary-live\\\"\\n      @onClick={{action \\\"saveAndAddScheduleAction\\\"}}\\n      @disabled={{paywall.isActive}}\\n      data-test-save-and-schedule={{true}}\\n    >\\n      Schedule to set live on {{scheduledDate}}\\n    </IcButton>\\n  </paywall.Hover>\\n</Paywall>\\n<div class=\\\"u__centered-text-block u__mt__10\\\">\\n  <p>\\n    or <a\\n      class=\\\"t__em-link\\\"\\n      data-test-review-state-buttons-schedule-return-to-summary-link\\n      onclick={{perform @tasks.saveAndReturnToSummary}}\\n    >\\n      save and close\\n    </a>\\n  </p>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureUsage={{app.liveAutoMessageCount}} @featureKey={{requiredFeature}} as |paywall|>\\n  <paywall.Hover>\\n    <IcButton\\n      @type=\\\"primary-live\\\"\\n      @onClick={{action \\\"saveAndAddScheduleAction\\\"}}\\n      @disabled={{paywall.isActive}}\\n      data-test-save-and-schedule={{true}}\\n    >\\n      Schedule to set live on {{scheduledDate}}\\n    </IcButton>\\n  </paywall.Hover>\\n</Paywall>\\n<div class=\\\"u__centered-text-block u__mt__10\\\">\\n  <p>\\n    or <a\\n      class=\\\"t__em-link\\\"\\n      data-test-review-state-buttons-schedule-return-to-summary-link\\n      onclick={{perform @tasks.saveAndReturnToSummary}}\\n    >\\n      save and close\\n    </a>\\n  </p>\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/review/review-state-buttons-schedule.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/review/review-state-buttons-schedule.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-attrs-in-components */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport moment from 'moment';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  requiredFeature: computed('message.isManualMessage', 'message.isVisitorAutoMessage', function() {\n    if (this.get('message.isManualMessage')) {\n      return 'manual_messaging';\n    } else if (this.get('message.isVisitorAutoMessage')) {\n      return 'visitor_auto_messaging';\n    } else {\n      return 'auto_messaging';\n    }\n  }),\n  scheduledDate: computed('message.scheduledToGoLiveAt', function() {\n    return moment(this.get('message.scheduledToGoLiveAt')).format(\n      dateAndTimeFormats.dateWithoutYear,\n    );\n  }),\n  actions: {\n    saveAndAddScheduleAction() {\n      let sendAt = moment(this.get('message.scheduledToGoLiveAt'));\n      this.attrs.tasks.saveAndAddSchedule.perform(sendAt);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureUsage={{app.liveAutoMessageCount}} @featureKey={{message.feature}} as |paywall|>\\n  <paywall.Hover>\\n    <IcButton\\n      @type=\\\"primary-live\\\"\\n      @onClick={{perform tasks.saveAndActivate}}\\n      @disabled={{paywall.isActive}}\\n      data-test-save-and-activate={{true}}\\n      @jsBindingClass=\\\"js__ghostinspector__set-live-button\\\"\\n    >\\n      {{if message.isInApp \\\"Set live\\\" \\\"Send and set live\\\"}}\\n    </IcButton>\\n  </paywall.Hover>\\n</Paywall>\\n<div class=\\\"u__centered-text-block u__mt__10\\\">\\n  <p>\\n    or <a\\n      class=\\\"t__em-link\\\"\\n      data-test-save-and-close\\n      onclick={{perform tasks.saveAndReturnToSummary}}\\n    >\\n      save and close\\n    </a>\\n  </p>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureUsage={{app.liveAutoMessageCount}} @featureKey={{message.feature}} as |paywall|>\\n  <paywall.Hover>\\n    <IcButton\\n      @type=\\\"primary-live\\\"\\n      @onClick={{perform tasks.saveAndActivate}}\\n      @disabled={{paywall.isActive}}\\n      data-test-save-and-activate={{true}}\\n      @jsBindingClass=\\\"js__ghostinspector__set-live-button\\\"\\n    >\\n      {{if message.isInApp \\\"Set live\\\" \\\"Send and set live\\\"}}\\n    </IcButton>\\n  </paywall.Hover>\\n</Paywall>\\n<div class=\\\"u__centered-text-block u__mt__10\\\">\\n  <p>\\n    or <a\\n      class=\\\"t__em-link\\\"\\n      data-test-save-and-close\\n      onclick={{perform tasks.saveAndReturnToSummary}}\\n    >\\n      save and close\\n    </a>\\n  </p>\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/review/review-state-buttons-set-live.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/review/review-state-buttons-set-live.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__mt__5\\\">\\n  {{#if @message.isScheduled}}\\n    {{#if @message.scheduledToGoLiveAt}}\\n      <MessageEditor::Review::ReviewStateButtonsReschedule\\n        @message={{@message}}\\n        @tasks={{hash saveAndReturnToSummary=@tasks.saveAndReturnToSummary}}\\n      />\\n    {{else}}\\n      <MessageEditor::Review::ReviewStateButtonsCancelSchedule\\n        @message={{@message}}\\n        @tasks={{hash removeSchedule=@tasks.removeSchedule}}\\n      />\\n    {{/if}}\\n  {{else if @message.isNotLive}}\\n    {{#if @message.scheduledToGoLiveAt}}\\n      <MessageEditor::Review::ReviewStateButtonsSchedule\\n        @message={{@message}}\\n        @tasks={{hash\\n          saveAndReturnToSummary=@tasks.saveAndReturnToSummary\\n          saveAndAddSchedule=@tasks.saveAndAddSchedule\\n        }}\\n      />\\n    {{else}}\\n      <MessageEditor::Review::ReviewStateButtonsSetLive\\n        @message={{@message}}\\n        @tasks={{hash\\n          saveAndReturnToSummary=@tasks.saveAndReturnToSummary\\n          saveAndActivate=@tasks.saveAndActivate\\n        }}\\n      />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__mt__5\\\">\\n  {{#if @message.isScheduled}}\\n    {{#if @message.scheduledToGoLiveAt}}\\n      <MessageEditor::Review::ReviewStateButtonsReschedule\\n        @message={{@message}}\\n        @tasks={{hash saveAndReturnToSummary=@tasks.saveAndReturnToSummary}}\\n      />\\n    {{else}}\\n      <MessageEditor::Review::ReviewStateButtonsCancelSchedule\\n        @message={{@message}}\\n        @tasks={{hash removeSchedule=@tasks.removeSchedule}}\\n      />\\n    {{/if}}\\n  {{else if @message.isNotLive}}\\n    {{#if @message.scheduledToGoLiveAt}}\\n      <MessageEditor::Review::ReviewStateButtonsSchedule\\n        @message={{@message}}\\n        @tasks={{hash\\n          saveAndReturnToSummary=@tasks.saveAndReturnToSummary\\n          saveAndAddSchedule=@tasks.saveAndAddSchedule\\n        }}\\n      />\\n    {{else}}\\n      <MessageEditor::Review::ReviewStateButtonsSetLive\\n        @message={{@message}}\\n        @tasks={{hash\\n          saveAndReturnToSummary=@tasks.saveAndReturnToSummary\\n          saveAndActivate=@tasks.saveAndActivate\\n        }}\\n      />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/review/review-state-buttons.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/review/review-state-buttons.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::IndexCompletedComponent\\n  @panel={{panel}}\\n  @isDraft={{message.isDraft}}\\n  @isEditing={{isEditing}}\\n  @isComplete={{isComplete}}\\n/>\\n<div\\n  class=\\\"layout__box o__centers-vertically message__editor__panel__fadable-text {{if isMaximized \\\"o__expanded\\\"}} test__message-editor__review\\\"\\n>\\n  <h2\\n    class=\\\"t__h2 message__editor__panel__fadable-text message__editor__panel__heading test__review-title {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n  >\\n    {{#if isEditing}}\\n      Set your message live\\n    {{else}}\\n      Review\\n    {{/if}}\\n  </h2>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::IndexCompletedComponent\\n  @panel={{panel}}\\n  @isDraft={{message.isDraft}}\\n  @isEditing={{isEditing}}\\n  @isComplete={{isComplete}}\\n/>\\n<div\\n  class=\\\"layout__box o__centers-vertically message__editor__panel__fadable-text {{if isMaximized \\\"o__expanded\\\"}} test__message-editor__review\\\"\\n>\\n  <h2\\n    class=\\\"t__h2 message__editor__panel__fadable-text message__editor__panel__heading test__review-title {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n  >\\n    {{#if isEditing}}\\n      Set your message live\\n    {{else}}\\n      Review\\n    {{/if}}\\n  </h2>\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/review/title-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/review/title-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { readOnly } from '@ember/object/computed';\nimport TitleComponent from 'embercom/components/message-editor/title-component';\n\nexport default TitleComponent.extend({\n  classNames: ['layout__box', 'o__has-columns', 'o__flexes-to-1', 'message__editor__panel__title'],\n  validationsSucceed: readOnly('message.validationsSucceed'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__centers-horizontally u__mb__30\\\">\\n  <IcIllustrativeIcon @name=\\\"warning\\\" />\\n</div>\\n<div class=\\\"layout__box o__centers-horizontally u__mb__5\\\">\\n  <h2 class=\\\"t__h1\\\">\\n    Almost there\\n  </h2>\\n</div>\\n<div class=\\\"layout__box o__has-rows\\\">\\n  {{#each errorMessagesByPanel as |errorsByPanel|}}\\n    {{#each errorsByPanel.messages as |message|}}\\n      <div class=\\\"layout__box o__centers-horizontally u__mt__10\\\">\\n        <div\\n          class=\\\"layout__box o__has-columns message__editor__review__validation-message\\\"\\n        >\\n          <div class=\\\"layout__box o__centers-all\\\">\\n            <span\\n              class=\\\"layout__box o__centers-all symbol__circle o__by-text o__inert o__small u__ml__20\\\"\\n              data-test-validation-panel-index\\n            >\\n              {{inc errorsByPanel.panelIndex}}\\n            </span>\\n          </div>\\n          <div\\n            class=\\\"layout__box o__flexes-to-1 message__editor__review__validation-message-step\\\"\\n          >\\n            <div class=\\\"layout__box o__flexes-to-1 o__has-columns u__ml__10\\\">\\n              <span\\n                class=\\\"message__editor__review__validation-message-step-text\\\"\\n                data-test-message-validation-warning\\n              >\\n                {{message}}\\n              </span>\\n              <a\\n                class=\\\"message__editor__review__validation-message__open-step t__em-link u__ml__10 u__mr__20\\\"\\n                data-test-open-validation-step\\n                {{action maximizePanel errorsByPanel.panelKey true}}\\n              >\\n                Open step\\n              </a>\\n            </div>\\n          </div>\\n        </div>\\n      </div>\\n    {{/each}}\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__centers-horizontally u__mb__30\\\">\\n  <IcIllustrativeIcon @name=\\\"warning\\\" />\\n</div>\\n<div class=\\\"layout__box o__centers-horizontally u__mb__5\\\">\\n  <h2 class=\\\"t__h1\\\">\\n    Almost there\\n  </h2>\\n</div>\\n<div class=\\\"layout__box o__has-rows\\\">\\n  {{#each errorMessagesByPanel as |errorsByPanel|}}\\n    {{#each errorsByPanel.messages as |message|}}\\n      <div class=\\\"layout__box o__centers-horizontally u__mt__10\\\">\\n        <div\\n          class=\\\"layout__box o__has-columns message__editor__review__validation-message\\\"\\n        >\\n          <div class=\\\"layout__box o__centers-all\\\">\\n            <span\\n              class=\\\"layout__box o__centers-all symbol__circle o__by-text o__inert o__small u__ml__20\\\"\\n              data-test-validation-panel-index\\n            >\\n              {{inc errorsByPanel.panelIndex}}\\n            </span>\\n          </div>\\n          <div\\n            class=\\\"layout__box o__flexes-to-1 message__editor__review__validation-message-step\\\"\\n          >\\n            <div class=\\\"layout__box o__flexes-to-1 o__has-columns u__ml__10\\\">\\n              <span\\n                class=\\\"message__editor__review__validation-message-step-text\\\"\\n                data-test-message-validation-warning\\n              >\\n                {{message}}\\n              </span>\\n              <a\\n                class=\\\"message__editor__review__validation-message__open-step t__em-link u__ml__10 u__mr__20\\\"\\n                data-test-open-validation-step\\n                {{action maximizePanel errorsByPanel.panelKey true}}\\n              >\\n                Open step\\n              </a>\\n            </div>\\n          </div>\\n        </div>\\n      </div>\\n    {{/each}}\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/review/validations-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/review/validations-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { A } from '@ember/array';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport PanelValidator from 'embercom/components/mixins/messages/panel-validator';\n\nexport default Component.extend(PanelValidator, {\n  classNames: ['test__review-validations-component', 'u__pad__60'],\n\n  errorMessagesByPanel: computed(\n    'message.mutations.lastMutatedAt',\n    'message.isUploading',\n    function() {\n      let errorMessages = A();\n\n      this.displayedPanels.forEach(panelKey => {\n        let validationResults = this.getValidationResults(panelKey);\n        if (!validationResults.success) {\n          errorMessages.pushObject({\n            panelKey,\n            panelIndex: this.panelIndices[panelKey],\n            messages: validationResults.errors,\n          });\n        }\n      });\n\n      return errorMessages;\n    },\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::Review::TitleComponent\\n  @panel={{panel}}\\n  @message={{message}}\\n  @isEditing={{isEditing}}\\n  @tasks={{tasks}}\\n/>\\n<MessageEditor::Review::MainComponent\\n  @app={{app}}\\n  @message={{message}}\\n  @isMaximized={{panel.isMaximized}}\\n  @displayedPanels={{displayedPanels}}\\n  @panelIndices={{panelIndices}}\\n  @maximizePanel={{maximizePanel}}\\n  @tasks={{hash\\n    saveAndAddSchedule=tasks.saveAndAddSchedule\\n    saveAndReturnToSummary=tasks.saveAndReturnToSummary\\n    saveAndActivate=tasks.saveAndActivate\\n    fetchMessageAudiencePreview=tasks.fetchMessageAudiencePreview\\n    removeSchedule=tasks.removeSchedule\\n  }}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::Review::TitleComponent\\n  @panel={{panel}}\\n  @message={{message}}\\n  @isEditing={{isEditing}}\\n  @tasks={{tasks}}\\n/>\\n<MessageEditor::Review::MainComponent\\n  @app={{app}}\\n  @message={{message}}\\n  @isMaximized={{panel.isMaximized}}\\n  @displayedPanels={{displayedPanels}}\\n  @panelIndices={{panelIndices}}\\n  @maximizePanel={{maximizePanel}}\\n  @tasks={{hash\\n    saveAndAddSchedule=tasks.saveAndAddSchedule\\n    saveAndReturnToSummary=tasks.saveAndReturnToSummary\\n    saveAndActivate=tasks.saveAndActivate\\n    fetchMessageAudiencePreview=tasks.fetchMessageAudiencePreview\\n    removeSchedule=tasks.removeSchedule\\n  }}\\n/>\\n\",\"moduleName\":\"embercom/components/message-editor/review/wrapper-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/review/wrapper-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::IndexCompletedComponent\\n  @panel={{panel}}\\n  @isDraft={{message.isDraft}}\\n  @isEditing={{isEditing}}\\n  @isComplete={{isComplete}}\\n/>\\n{{#if message.isScheduled}}\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <span\\n      class=\\\"u__centered-text-block t__light-text\\\"\\n      data-test-scheduled-summary\\n    >\\n      <b>\\n        {{ic-interface-icon \\\"schedule\\\"}} This message is scheduled to go live\\n      </b>\\n      <br />\\n      on\\n      <DateWithTimezoneComponent\\n        @date={{message.scheduledToGoLiveAt}}\\n        @timezone={{app.timezone}}\\n      />\\n    </span>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::IndexCompletedComponent\\n  @panel={{panel}}\\n  @isDraft={{message.isDraft}}\\n  @isEditing={{isEditing}}\\n  @isComplete={{isComplete}}\\n/>\\n{{#if message.isScheduled}}\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <span\\n      class=\\\"u__centered-text-block t__light-text\\\"\\n      data-test-scheduled-summary\\n    >\\n      <b>\\n        {{ic-interface-icon \\\"schedule\\\"}} This message is scheduled to go live\\n      </b>\\n      <br />\\n      on\\n      <DateWithTimezoneComponent\\n        @date={{message.scheduledToGoLiveAt}}\\n        @timezone={{app.timezone}}\\n      />\\n    </span>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/schedule-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/schedule-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  classNames: [\n    'layout__box',\n    'o__has-columns',\n    'o__flexes-to-1',\n    'u__pad__10',\n    'message__editor__panel__title',\n  ],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if message.isNotManualMessage}}\\n  <div class=\\\"layout__box o__has-rows u__padb__20\\\">\\n    <Paywall @featureKey=\\\"email_delivery_windows\\\" as |paywall|>\\n      <div class=\\\"t__label u__mb__5\\\">\\n        Set optimal delivery times <paywall.Badge />\\n      </div>\\n      <label\\n        class=\\\"ds-new__attribute__option__line flex items-center {{if (and paywall.isActive (not message.hasDeliveryWindow)) \\\"text-gray\\\"}}\\\"\\n      >\\n        <div class=\\\"ds-new__attribute__option__radio\\\">\\n          <input\\n            type=\\\"radio\\\"\\n            checked={{not @message.hasDeliveryWindow}}\\n            onclick={{action \\\"toggleOff\\\"}}\\n            disabled={{and paywall.isActive (not message.hasDeliveryWindow)}}\\n            data-test-scheduling-delivery-windows-any-day\\n          />\\n        </div>\\n        <span class=\\\"ds-new__attribute__option__label flex-auto min-w-0\\\">\\n          Any day at any time\\n        </span>\\n      </label>\\n      <label\\n        class=\\\"ds-new__attribute__option__line flex items-center {{if paywall.isActive \\\"text-gray\\\"}}\\\"\\n      >\\n        <div class=\\\"ds-new__attribute__option__radio\\\">\\n          <input\\n            type=\\\"radio\\\"\\n            checked={{@message.hasDeliveryWindow}}\\n            onclick={{action \\\"toggleOn\\\"}}\\n            disabled={{paywall.isActive}}\\n            data-test-scheduling-delivery-windows-custom-day\\n          />\\n        </div>\\n        <span class=\\\"ds-new__attribute__option__label flex-auto min-w-0\\\">\\n          Custom day and time\\n        </span>\\n      </label>\\n    </Paywall>\\n    {{#if @message.hasDeliveryWindow}}\\n      <div\\n        class=\\\"layout__box o__centers-vertically u__ml__20\\\"\\n        data-test-scheduling-delivery-windows-custom-day-picker\\n      >\\n        <MessageEditor::Scheduling::MessageSendingTimesDayAndTimePicker\\n          @message={{message}}\\n        />\\n      </div>\\n      <div class=\\\"layout__box o__centers-vertically u__ml__20\\\">\\n        <div class=\\\"layout__box t__light-text u__mt__5 u__ml__5\\\">\\n          <p>\\n            It will send based on your user's timezone.\\n          </p>\\n          <p>\\n            If we don't know a user's time zone we'll deliver on {{app.humanReadableTimezone}}\\n          </p>\\n        </div>\\n      </div>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if message.isNotManualMessage}}\\n  <div class=\\\"layout__box o__has-rows u__padb__20\\\">\\n    <Paywall @featureKey=\\\"email_delivery_windows\\\" as |paywall|>\\n      <div class=\\\"t__label u__mb__5\\\">\\n        Set optimal delivery times <paywall.Badge />\\n      </div>\\n      <label\\n        class=\\\"ds-new__attribute__option__line flex items-center {{if (and paywall.isActive (not message.hasDeliveryWindow)) \\\"text-gray\\\"}}\\\"\\n      >\\n        <div class=\\\"ds-new__attribute__option__radio\\\">\\n          <input\\n            type=\\\"radio\\\"\\n            checked={{not @message.hasDeliveryWindow}}\\n            onclick={{action \\\"toggleOff\\\"}}\\n            disabled={{and paywall.isActive (not message.hasDeliveryWindow)}}\\n            data-test-scheduling-delivery-windows-any-day\\n          />\\n        </div>\\n        <span class=\\\"ds-new__attribute__option__label flex-auto min-w-0\\\">\\n          Any day at any time\\n        </span>\\n      </label>\\n      <label\\n        class=\\\"ds-new__attribute__option__line flex items-center {{if paywall.isActive \\\"text-gray\\\"}}\\\"\\n      >\\n        <div class=\\\"ds-new__attribute__option__radio\\\">\\n          <input\\n            type=\\\"radio\\\"\\n            checked={{@message.hasDeliveryWindow}}\\n            onclick={{action \\\"toggleOn\\\"}}\\n            disabled={{paywall.isActive}}\\n            data-test-scheduling-delivery-windows-custom-day\\n          />\\n        </div>\\n        <span class=\\\"ds-new__attribute__option__label flex-auto min-w-0\\\">\\n          Custom day and time\\n        </span>\\n      </label>\\n    </Paywall>\\n    {{#if @message.hasDeliveryWindow}}\\n      <div\\n        class=\\\"layout__box o__centers-vertically u__ml__20\\\"\\n        data-test-scheduling-delivery-windows-custom-day-picker\\n      >\\n        <MessageEditor::Scheduling::MessageSendingTimesDayAndTimePicker\\n          @message={{message}}\\n        />\\n      </div>\\n      <div class=\\\"layout__box o__centers-vertically u__ml__20\\\">\\n        <div class=\\\"layout__box t__light-text u__mt__5 u__ml__5\\\">\\n          <p>\\n            It will send based on your user's timezone.\\n          </p>\\n          <p>\\n            If we don't know a user's time zone we'll deliver on {{app.humanReadableTimezone}}\\n          </p>\\n        </div>\\n      </div>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/scheduling/delivery-window-picker.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/scheduling/delivery-window-picker.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\nimport { DEFAULT_CUSTOM_DELIVERY_WINDOW } from 'embercom/models/data/messages/message-defaults';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  messageMutationService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  _setDefaultDeliveryWindow() {\n    let context = this._contextObject(this._setDefaultDeliveryWindow.name);\n    let mutation = {\n      command: MUTATIONS.setValue,\n      key: 'deliveryWindow',\n      data: DEFAULT_CUSTOM_DELIVERY_WINDOW,\n      context,\n    };\n    this.messageMutationService.performMutations(this.message, [mutation]);\n  },\n  _removeDeliveryWindow() {\n    let context = this._contextObject(this._removeDeliveryWindow.name);\n    let mutation = { command: MUTATIONS.removeValue, key: 'deliveryWindow', context };\n    this.messageMutationService.performMutations(this.message, [mutation]);\n  },\n  _contextObject(contextMethod) {\n    return {\n      location: Object.getPrototypeOf(this)._debugContainerKey,\n      method: contextMethod,\n    };\n  },\n  actions: {\n    toggleOff() {\n      this._removeDeliveryWindow();\n    },\n    toggleOn() {\n      this._setDefaultDeliveryWindow();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if message.isNotManualMessage}}\\n  <div class=\\\"layout__box o__has-rows u__padb__20\\\">\\n    <div class=\\\"t__label u__mb__5\\\">\\n      Stop sending\\n    </div>\\n    <label class=\\\"ds-new__attribute__option__line flex items-center\\\">\\n      <div class=\\\"ds-new__attribute__option__radio\\\">\\n        <input\\n          type=\\\"radio\\\"\\n          checked={{not message.isDueToStop}}\\n          onclick={{action \\\"removeDueToStop\\\"}}\\n          data-test-scheduling-stop-never\\n        />\\n      </div>\\n      <span class=\\\"ds-new__attribute__option__label flex-auto min-w-0\\\">\\n        Never\\n      </span>\\n    </label>\\n    <label class=\\\"ds-new__attribute__option__line flex items-center\\\">\\n      <div class=\\\"ds-new__attribute__option__radio\\\">\\n        <input\\n          type=\\\"radio\\\"\\n          checked={{message.isDueToStop}}\\n          onclick={{action \\\"setCustomDueToStop\\\"}}\\n          class=\\\"js__ghostinspector__custom-stop-date\\\"\\n          data-test-scheduling-stop-custom\\n        />\\n      </div>\\n      <span class=\\\"ds-new__attribute__option__label flex-auto min-w-0\\\">\\n        Custom date\\n      </span>\\n    </label>\\n    {{#if message.isDueToStop}}\\n      <div class=\\\"layout__box o__centers-vertically u__ml__20\\\">\\n        <div class=\\\"layout__box o__centers-vertically u__ml__5\\\">\\n          {{!-- template-lint-disable intercom/no-legacy-datepicker --}}\\n          <Common::DatePickerDropdown\\n            data-test-scheduling-due-to-stop-at-picker={{true}}\\n            @scrollParentSelector=\\\".js__message-view-and-edit-component__container\\\"\\n            @minDate={{minDate}}\\n            @selectedDate={{selectedDate}}\\n            @disabled={{message.isNotDueToStop}}\\n            @changeSelectedDate={{action \\\"changeDueToStopAtDate\\\"}}\\n          />\\n          {{!-- template-lint-enable intercom/no-legacy-datepicker --}}\\n          <div class=\\\"layout__box u__ml__5\\\">\\n            <Common::TimeSelectComponent\\n              @value={{selectedTime}}\\n              @disabled={{message.isNotDueToStop}}\\n              @updateValue={{action \\\"changeDueToStopAtTime\\\"}}\\n            />\\n          </div>\\n        </div>\\n      </div>\\n      <div class=\\\"layout__box o__centers-vertically u__ml__20\\\">\\n        <div class=\\\"layout__box t__light-text u__mt__5 u__ml__5\\\">\\n          {{format-timezone app.timezone}}\\n        </div>\\n      </div>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if message.isNotManualMessage}}\\n  <div class=\\\"layout__box o__has-rows u__padb__20\\\">\\n    <div class=\\\"t__label u__mb__5\\\">\\n      Stop sending\\n    </div>\\n    <label class=\\\"ds-new__attribute__option__line flex items-center\\\">\\n      <div class=\\\"ds-new__attribute__option__radio\\\">\\n        <input\\n          type=\\\"radio\\\"\\n          checked={{not message.isDueToStop}}\\n          onclick={{action \\\"removeDueToStop\\\"}}\\n          data-test-scheduling-stop-never\\n        />\\n      </div>\\n      <span class=\\\"ds-new__attribute__option__label flex-auto min-w-0\\\">\\n        Never\\n      </span>\\n    </label>\\n    <label class=\\\"ds-new__attribute__option__line flex items-center\\\">\\n      <div class=\\\"ds-new__attribute__option__radio\\\">\\n        <input\\n          type=\\\"radio\\\"\\n          checked={{message.isDueToStop}}\\n          onclick={{action \\\"setCustomDueToStop\\\"}}\\n          class=\\\"js__ghostinspector__custom-stop-date\\\"\\n          data-test-scheduling-stop-custom\\n        />\\n      </div>\\n      <span class=\\\"ds-new__attribute__option__label flex-auto min-w-0\\\">\\n        Custom date\\n      </span>\\n    </label>\\n    {{#if message.isDueToStop}}\\n      <div class=\\\"layout__box o__centers-vertically u__ml__20\\\">\\n        <div class=\\\"layout__box o__centers-vertically u__ml__5\\\">\\n          {{!-- template-lint-disable intercom/no-legacy-datepicker --}}\\n          <Common::DatePickerDropdown\\n            data-test-scheduling-due-to-stop-at-picker={{true}}\\n            @scrollParentSelector=\\\".js__message-view-and-edit-component__container\\\"\\n            @minDate={{minDate}}\\n            @selectedDate={{selectedDate}}\\n            @disabled={{message.isNotDueToStop}}\\n            @changeSelectedDate={{action \\\"changeDueToStopAtDate\\\"}}\\n          />\\n          {{!-- template-lint-enable intercom/no-legacy-datepicker --}}\\n          <div class=\\\"layout__box u__ml__5\\\">\\n            <Common::TimeSelectComponent\\n              @value={{selectedTime}}\\n              @disabled={{message.isNotDueToStop}}\\n              @updateValue={{action \\\"changeDueToStopAtTime\\\"}}\\n            />\\n          </div>\\n        </div>\\n      </div>\\n      <div class=\\\"layout__box o__centers-vertically u__ml__20\\\">\\n        <div class=\\\"layout__box t__light-text u__mt__5 u__ml__5\\\">\\n          {{format-timezone app.timezone}}\\n        </div>\\n      </div>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/scheduling/due-to-stop-at-picker.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/scheduling/due-to-stop-at-picker.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\nimport moment from 'moment';\n\nconst DEFAULT_STOP_AT_TIME = 82800; // 23:00\nconst SECONDS_IN_AN_HOUR = 3600;\n\nexport default Component.extend({\n  messageMutationService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  minDate: computed('app.timezone', 'message.scheduledToGoLiveAt', function() {\n    if (this.get('message.scheduledToGoLiveAt')) {\n      return this._getMessageScheduledToGoLiveAt().subtract(1, 'days');\n    }\n    return this._todayInAppTimezone().subtract(1, 'days');\n  }),\n  selectedDate: computed(\n    'message.dueToStopAt',\n    'message.scheduledToGoLiveAt',\n    'app.timezone',\n    function() {\n      let dueToStopAt = this.get('message.dueToStopAt');\n      if (dueToStopAt) {\n        return moment(dueToStopAt)\n          .tz(this.get('app.timezone'))\n          .hours(this.selectedTime / SECONDS_IN_AN_HOUR);\n      } else {\n        return this._getOneWeekFromNowOrAfterScheduleDate();\n      }\n    },\n  ),\n  selectedTime: computed('message.dueToStopAt', 'app.timezone', function() {\n    let dueToStopAt = this.get('message.dueToStopAt');\n    if (dueToStopAt) {\n      return (\n        moment(dueToStopAt)\n          .tz(this.get('app.timezone'))\n          .hours() * SECONDS_IN_AN_HOUR\n      );\n    } else {\n      return DEFAULT_STOP_AT_TIME;\n    }\n  }),\n\n  _todayInAppTimezone() {\n    return moment.tz(this.get('app.timezone'));\n  },\n\n  _contextObject(contextMethod) {\n    return {\n      location: Object.getPrototypeOf(this)._debugContainerKey,\n      method: contextMethod,\n    };\n  },\n\n  _updateStopDate(newStopDate, contextMethod) {\n    let plainJSDate = newStopDate.toDate();\n    let context = this._contextObject(contextMethod);\n    let mutation = { command: MUTATIONS.setValue, key: 'dueToStopAt', data: plainJSDate, context };\n    this.messageMutationService.performMutations(this.message, [mutation]);\n  },\n  _getMessageScheduledToGoLiveAt() {\n    return moment(this.get('message.scheduledToGoLiveAt')).tz(this.get('app.timezone'));\n  },\n  _getOneWeekFromNowOrAfterScheduleDate() {\n    let defaultDate = this.get('message.scheduledToGoLiveAt')\n      ? this._getMessageScheduledToGoLiveAt()\n      : this._todayInAppTimezone();\n    return defaultDate\n      .add(1, 'week')\n      .hours(DEFAULT_STOP_AT_TIME / SECONDS_IN_AN_HOUR)\n      .minutes(0)\n      .seconds(0);\n  },\n  actions: {\n    setCustomDueToStop() {\n      this._updateStopDate(\n        this._getOneWeekFromNowOrAfterScheduleDate(),\n        this.actions.setCustomDueToStop.name,\n      );\n    },\n    removeDueToStop() {\n      let context = this._contextObject(this.actions.removeDueToStop.name);\n      let mutation = { command: MUTATIONS.removeValue, key: 'dueToStopAt', context };\n      this.messageMutationService.performMutations(this.message, [mutation]);\n    },\n    changeDueToStopAtDate(date) {\n      date = date\n        .tz(this.get('app.timezone'))\n        .hours(this.selectedTime / SECONDS_IN_AN_HOUR)\n        .minutes(0)\n        .seconds(0);\n      this._updateStopDate(date, this.actions.changeDueToStopAtDate.name);\n    },\n    changeDueToStopAtTime(time) {\n      let date = this.selectedDate\n        .hours(time / SECONDS_IN_AN_HOUR)\n        .minutes(0)\n        .seconds(0);\n      this._updateStopDate(date, this.actions.changeDueToStopAtTime.name);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-if isMaximized class=\\\"message-editor___expanded-panel__main\\\"}}\\n  <div\\n    class=\\\"layout__box o__centers-horizontally o__flexes-to-1 u__pad__40\\\"\\n    data-test-scheduling-main-expanded\\n  >\\n    <div\\n      class=\\\"message__editor__panel__container-content layout__box o__has-columns o__flexes-to-1\\\"\\n    >\\n      <div class=\\\"layout__box u__mr__20\\\">\\n        <IcIllustrativeIcon @name=\\\"delivery-window\\\" />\\n      </div>\\n      <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n        <div\\n          class=\\\"layout__box o__has-columns o__centers-vertically u__padb__20\\\"\\n        >\\n          <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n            <h2 class=\\\"t__h2\\\">\\n              Scheduling\\n            </h2>\\n            <p class=\\\"text-gray\\\">\\n              {{#if message.isManualMessage}}\\n                Choose a start time for your message\\n              {{else if message.isCampaignMessage}}\\n                Choose a stop time {{if message.isNotInApp \\\"and optimal send times\\\"}} for your message\\n              {{else}}\\n                Choose start, stop, and optimal send times for your message\\n              {{/if}}\\n            </p>\\n          </div>\\n        </div>\\n        <MessageEditor::Scheduling::ScheduledToGoLiveAtPicker\\n          @message={{message}}\\n        />\\n        <MessageEditor::Scheduling::DueToStopAtPicker @message={{message}} />\\n        <MessageEditor::Scheduling::MessageSendingTimes\\n          @message={{message}}\\n          @maximizePanel={{@maximizePanel}}\\n        />\\n      </div>\\n    </div>\\n  </div>\\n{{/liquid-if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-if isMaximized class=\\\"message-editor___expanded-panel__main\\\"}}\\n  <div\\n    class=\\\"layout__box o__centers-horizontally o__flexes-to-1 u__pad__40\\\"\\n    data-test-scheduling-main-expanded\\n  >\\n    <div\\n      class=\\\"message__editor__panel__container-content layout__box o__has-columns o__flexes-to-1\\\"\\n    >\\n      <div class=\\\"layout__box u__mr__20\\\">\\n        <IcIllustrativeIcon @name=\\\"delivery-window\\\" />\\n      </div>\\n      <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n        <div\\n          class=\\\"layout__box o__has-columns o__centers-vertically u__padb__20\\\"\\n        >\\n          <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n            <h2 class=\\\"t__h2\\\">\\n              Scheduling\\n            </h2>\\n            <p class=\\\"text-gray\\\">\\n              {{#if message.isManualMessage}}\\n                Choose a start time for your message\\n              {{else if message.isCampaignMessage}}\\n                Choose a stop time {{if message.isNotInApp \\\"and optimal send times\\\"}} for your message\\n              {{else}}\\n                Choose start, stop, and optimal send times for your message\\n              {{/if}}\\n            </p>\\n          </div>\\n        </div>\\n        <MessageEditor::Scheduling::ScheduledToGoLiveAtPicker\\n          @message={{message}}\\n        />\\n        <MessageEditor::Scheduling::DueToStopAtPicker @message={{message}} />\\n        <MessageEditor::Scheduling::MessageSendingTimes\\n          @message={{message}}\\n          @maximizePanel={{@maximizePanel}}\\n        />\\n      </div>\\n    </div>\\n  </div>\\n{{/liquid-if}}\\n\",\"moduleName\":\"embercom/components/message-editor/scheduling/main-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/scheduling/main-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  classNames: ['message__editor__panel__inner-container'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__flexes-to-1 o__has-columns u__m__10\\\">\\n  <div class=\\\"layout__box u__mr__10\\\">\\n    <label data-test-day-switch-label>\\n      <input\\n        type=\\\"checkbox\\\"\\n        onclick={{action \\\"updateDay\\\" \\\"mondayDelivery\\\"}}\\n        checked={{message.deliveryWindow.mondayDelivery}}\\n        disabled={{and message.deliveryWindow.mondayDelivery onlyOneDaySelected}}\\n        data-test-scheduling-monday-checkbox\\n      />\\n      Mon\\n    </label>\\n  </div>\\n  <div class=\\\"layout__box u__mr__10\\\">\\n    <label data-test-day-switch-label>\\n      <input\\n        type=\\\"checkbox\\\"\\n        onclick={{action \\\"updateDay\\\" \\\"tuesdayDelivery\\\"}}\\n        checked={{message.deliveryWindow.tuesdayDelivery}}\\n        disabled={{and message.deliveryWindow.tuesdayDelivery onlyOneDaySelected}}\\n        data-test-scheduling-tuesday-checkbox\\n      />\\n      Tue\\n    </label>\\n  </div>\\n  <div class=\\\"layout__box u__mr__10\\\">\\n    <label data-test-day-switch-label>\\n      <input\\n        type=\\\"checkbox\\\"\\n        onclick={{action \\\"updateDay\\\" \\\"wednesdayDelivery\\\"}}\\n        checked={{message.deliveryWindow.wednesdayDelivery}}\\n        disabled={{and\\n          message.deliveryWindow.wednesdayDelivery\\n          onlyOneDaySelected\\n        }}\\n        data-test-scheduling-wednesday-checkbox\\n      />\\n      Wed\\n    </label>\\n  </div>\\n  <div class=\\\"layout__box u__mr__10\\\">\\n    <label data-test-day-switch-label>\\n      <input\\n        type=\\\"checkbox\\\"\\n        onclick={{action \\\"updateDay\\\" \\\"thursdayDelivery\\\"}}\\n        checked={{message.deliveryWindow.thursdayDelivery}}\\n        disabled={{and\\n          message.deliveryWindow.thursdayDelivery\\n          onlyOneDaySelected\\n        }}\\n        data-test-scheduling-thursday-checkbox\\n      />\\n      Thurs\\n    </label>\\n  </div>\\n  <div class=\\\"layout__box u__mr__10\\\">\\n    <label data-test-day-switch-label>\\n      <input\\n        type=\\\"checkbox\\\"\\n        onclick={{action \\\"updateDay\\\" \\\"fridayDelivery\\\"}}\\n        checked={{message.deliveryWindow.fridayDelivery}}\\n        disabled={{and message.deliveryWindow.fridayDelivery onlyOneDaySelected}}\\n        data-test-scheduling-friday-checkbox\\n      />\\n      Fri\\n    </label>\\n  </div>\\n  <div class=\\\"layout__box u__mr__10\\\">\\n    <label data-test-day-switch-label>\\n      <input\\n        type=\\\"checkbox\\\"\\n        onclick={{action \\\"updateDay\\\" \\\"saturdayDelivery\\\"}}\\n        checked={{message.deliveryWindow.saturdayDelivery}}\\n        disabled={{and\\n          message.deliveryWindow.saturdayDelivery\\n          onlyOneDaySelected\\n        }}\\n        data-test-scheduling-saturday-checkbox\\n      />\\n      Sat\\n    </label>\\n  </div>\\n  <div class=\\\"layout__box u__mr__10\\\">\\n    <label data-test-day-switch-label>\\n      <input\\n        type=\\\"checkbox\\\"\\n        onclick={{action \\\"updateDay\\\" \\\"sundayDelivery\\\"}}\\n        checked={{message.deliveryWindow.sundayDelivery}}\\n        disabled={{and message.deliveryWindow.sundayDelivery onlyOneDaySelected}}\\n        data-test-scheduling-sunday-checkbox\\n      />\\n      Sun\\n    </label>\\n  </div>\\n</div>\\n<div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n  <Common::TimeSelectComponent\\n    @value={{startTime}}\\n    @updateValue={{action \\\"updateStartTime\\\"}}\\n    data-test-start-time-dropdown={{true}}\\n  />\\n  <span class=\\\"t__light-text u__mr__10 u__ml__10\\\">\\n    to\\n  </span>\\n  <Common::TimeSelectComponent\\n    @value={{endTime}}\\n    @updateValue={{action \\\"updateEndTime\\\"}}\\n    data-test-end-time-dropdown={{true}}\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__flexes-to-1 o__has-columns u__m__10\\\">\\n  <div class=\\\"layout__box u__mr__10\\\">\\n    <label data-test-day-switch-label>\\n      <input\\n        type=\\\"checkbox\\\"\\n        onclick={{action \\\"updateDay\\\" \\\"mondayDelivery\\\"}}\\n        checked={{message.deliveryWindow.mondayDelivery}}\\n        disabled={{and message.deliveryWindow.mondayDelivery onlyOneDaySelected}}\\n        data-test-scheduling-monday-checkbox\\n      />\\n      Mon\\n    </label>\\n  </div>\\n  <div class=\\\"layout__box u__mr__10\\\">\\n    <label data-test-day-switch-label>\\n      <input\\n        type=\\\"checkbox\\\"\\n        onclick={{action \\\"updateDay\\\" \\\"tuesdayDelivery\\\"}}\\n        checked={{message.deliveryWindow.tuesdayDelivery}}\\n        disabled={{and message.deliveryWindow.tuesdayDelivery onlyOneDaySelected}}\\n        data-test-scheduling-tuesday-checkbox\\n      />\\n      Tue\\n    </label>\\n  </div>\\n  <div class=\\\"layout__box u__mr__10\\\">\\n    <label data-test-day-switch-label>\\n      <input\\n        type=\\\"checkbox\\\"\\n        onclick={{action \\\"updateDay\\\" \\\"wednesdayDelivery\\\"}}\\n        checked={{message.deliveryWindow.wednesdayDelivery}}\\n        disabled={{and\\n          message.deliveryWindow.wednesdayDelivery\\n          onlyOneDaySelected\\n        }}\\n        data-test-scheduling-wednesday-checkbox\\n      />\\n      Wed\\n    </label>\\n  </div>\\n  <div class=\\\"layout__box u__mr__10\\\">\\n    <label data-test-day-switch-label>\\n      <input\\n        type=\\\"checkbox\\\"\\n        onclick={{action \\\"updateDay\\\" \\\"thursdayDelivery\\\"}}\\n        checked={{message.deliveryWindow.thursdayDelivery}}\\n        disabled={{and\\n          message.deliveryWindow.thursdayDelivery\\n          onlyOneDaySelected\\n        }}\\n        data-test-scheduling-thursday-checkbox\\n      />\\n      Thurs\\n    </label>\\n  </div>\\n  <div class=\\\"layout__box u__mr__10\\\">\\n    <label data-test-day-switch-label>\\n      <input\\n        type=\\\"checkbox\\\"\\n        onclick={{action \\\"updateDay\\\" \\\"fridayDelivery\\\"}}\\n        checked={{message.deliveryWindow.fridayDelivery}}\\n        disabled={{and message.deliveryWindow.fridayDelivery onlyOneDaySelected}}\\n        data-test-scheduling-friday-checkbox\\n      />\\n      Fri\\n    </label>\\n  </div>\\n  <div class=\\\"layout__box u__mr__10\\\">\\n    <label data-test-day-switch-label>\\n      <input\\n        type=\\\"checkbox\\\"\\n        onclick={{action \\\"updateDay\\\" \\\"saturdayDelivery\\\"}}\\n        checked={{message.deliveryWindow.saturdayDelivery}}\\n        disabled={{and\\n          message.deliveryWindow.saturdayDelivery\\n          onlyOneDaySelected\\n        }}\\n        data-test-scheduling-saturday-checkbox\\n      />\\n      Sat\\n    </label>\\n  </div>\\n  <div class=\\\"layout__box u__mr__10\\\">\\n    <label data-test-day-switch-label>\\n      <input\\n        type=\\\"checkbox\\\"\\n        onclick={{action \\\"updateDay\\\" \\\"sundayDelivery\\\"}}\\n        checked={{message.deliveryWindow.sundayDelivery}}\\n        disabled={{and message.deliveryWindow.sundayDelivery onlyOneDaySelected}}\\n        data-test-scheduling-sunday-checkbox\\n      />\\n      Sun\\n    </label>\\n  </div>\\n</div>\\n<div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n  <Common::TimeSelectComponent\\n    @value={{startTime}}\\n    @updateValue={{action \\\"updateStartTime\\\"}}\\n    data-test-start-time-dropdown={{true}}\\n  />\\n  <span class=\\\"t__light-text u__mr__10 u__ml__10\\\">\\n    to\\n  </span>\\n  <Common::TimeSelectComponent\\n    @value={{endTime}}\\n    @updateValue={{action \\\"updateEndTime\\\"}}\\n    data-test-end-time-dropdown={{true}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/scheduling/message-sending-times-day-and-time-picker.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/scheduling/message-sending-times-day-and-time-picker.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly, equal } from '@ember/object/computed';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  messageMutationService: service(),\n  startTime: readOnly('message.deliveryWindow.deliverySecondsSinceMidnightStart'),\n  endTime: readOnly('message.deliveryWindow.deliverySecondsSinceMidnightEnd'),\n  onlyOneDaySelected: equal('message.deliveryWindow.enabledDays.length', 1),\n  _flipDeliveryWindowDay(dayKey, contextMethod) {\n    let key = `deliveryWindow.${dayKey}`;\n    let newValue = !this.get(`message.deliveryWindow.${dayKey}`);\n    this._mutateDeliveryWindow(key, newValue, contextMethod);\n  },\n  _mutateDeliveryWindow(key, data, contextMethod) {\n    let context = {\n      location: Object.getPrototypeOf(this)._debugContainerKey,\n      method: contextMethod,\n    };\n    let mutation = {\n      command: MUTATIONS.setValue,\n      key,\n      data,\n      context,\n    };\n    this.messageMutationService.performMutations(this.message, [mutation]);\n  },\n  actions: {\n    updateDay(day) {\n      this._flipDeliveryWindowDay(day, this.actions.updateDay.name);\n    },\n    updateStartTime(startTime) {\n      this._mutateDeliveryWindow(\n        'deliveryWindow.deliverySecondsSinceMidnightStart',\n        startTime,\n        this.actions.updateStartTime.name,\n      );\n    },\n    updateEndTime(endTime) {\n      this._mutateDeliveryWindow(\n        'deliveryWindow.deliverySecondsSinceMidnightEnd',\n        endTime,\n        this.actions.updateEndTime.name,\n      );\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if\\n  (and\\n    @message.isNotManualMessage\\n    (not (and @message.isInApp @message.isCampaignMessage))\\n  )\\n}}\\n  {{#if @message.isInApp}}\\n    <MessageEditor::Scheduling::TriggerTimesPicker\\n      @message={{@message}}\\n      @maximizePanel={{@maximizePanel}}\\n      data-test-scheduling-trigger-times={{true}}\\n    />\\n  {{else}}\\n    <MessageEditor::Scheduling::DeliveryWindowPicker\\n      @message={{@message}}\\n      data-test-scheduling-delivery-windows={{true}}\\n    />\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{#if\\n  (and\\n    @message.isNotManualMessage\\n    (not (and @message.isInApp @message.isCampaignMessage))\\n  )\\n}}\\n  {{#if @message.isInApp}}\\n    <MessageEditor::Scheduling::TriggerTimesPicker\\n      @message={{@message}}\\n      @maximizePanel={{@maximizePanel}}\\n      data-test-scheduling-trigger-times={{true}}\\n    />\\n  {{else}}\\n    <MessageEditor::Scheduling::DeliveryWindowPicker\\n      @message={{@message}}\\n      data-test-scheduling-delivery-windows={{true}}\\n    />\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/scheduling/message-sending-times.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/scheduling/message-sending-times.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if message.isNotCampaignMessage}}\\n  <div class=\\\"layout__box o__has-rows u__padb__20\\\">\\n    <div class=\\\"t__label u__mb__5\\\">\\n      Start sending\\n    </div>\\n    <IcTooltip @isDisabled={{not disablePicker}} as |context|>\\n      <context.opener>\\n        <label\\n          class=\\\"ds-new__attribute__option__line flex items-center {{if disablePicker \\\"text-gray\\\"}}\\\"\\n        >\\n          <div class=\\\"ds-new__attribute__option__radio\\\">\\n            <input\\n              type=\\\"radio\\\"\\n              checked={{not isScheduledToGoLive}}\\n              onclick={{action \\\"scheduleImmediately\\\"}}\\n              disabled={{disablePicker}}\\n              data-test-scheduling-schedule-immediately\\n            />\\n          </div>\\n          <span class=\\\"ds-new__attribute__option__label flex-auto min-w-0\\\">\\n            Immediately\\n          </span>\\n        </label>\\n        <label\\n          class=\\\"ds-new__attribute__option__line flex items-center {{if disablePicker \\\"text-gray\\\"}}\\\"\\n        >\\n          <div class=\\\"ds-new__attribute__option__radio\\\">\\n            <input\\n              type=\\\"radio\\\"\\n              checked={{isScheduledToGoLive}}\\n              onclick={{action \\\"setCustomScheduledDate\\\"}}\\n              disabled={{disablePicker}}\\n              data-test-scheduling-schedule-custom\\n            />\\n          </div>\\n          <span class=\\\"ds-new__attribute__option__label flex-auto min-w-0\\\">\\n            Custom date\\n          </span>\\n        </label>\\n        {{#if isScheduledToGoLive}}\\n          <div class=\\\"layout__box o__centers-vertically u__ml__20\\\">\\n            <div class=\\\"layout__box u__ml__5\\\">\\n              {{!-- template-lint-disable intercom/no-legacy-datepicker --}}\\n              <Common::DatePickerDropdown\\n                @selectedDate={{scheduledDate}}\\n                @minDate={{minScheduledDate}}\\n                @maxDate={{maxScheduledDate}}\\n                @disabled={{disablePicker}}\\n                @changeSelectedDate={{action \\\"updateCustomScheduledDate\\\"}}\\n              />\\n              {{!-- template-lint-enable intercom/no-legacy-datepicker --}}\\n            </div>\\n            <div class=\\\"layout__box u__ml__5\\\">\\n              <Common::TimeSelectComponent\\n                @value={{scheduledTime}}\\n                @disabled={{disablePicker}}\\n                @updateValue={{action \\\"updateCustomScheduledTime\\\"}}\\n              />\\n            </div>\\n          </div>\\n          <div class=\\\"layout__box o__centers-vertically u__ml__20\\\">\\n            <div class=\\\"layout__box t__light-text u__mt__5 u__ml__5\\\">\\n              {{format-timezone app.timezone}}\\n            </div>\\n          </div>\\n        {{/if}}\\n      </context.opener>\\n      <context.content data-test-tooltip-content>\\n        A start date can only be selected before the message goes live\\n      </context.content>\\n    </IcTooltip>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if message.isNotCampaignMessage}}\\n  <div class=\\\"layout__box o__has-rows u__padb__20\\\">\\n    <div class=\\\"t__label u__mb__5\\\">\\n      Start sending\\n    </div>\\n    <IcTooltip @isDisabled={{not disablePicker}} as |context|>\\n      <context.opener>\\n        <label\\n          class=\\\"ds-new__attribute__option__line flex items-center {{if disablePicker \\\"text-gray\\\"}}\\\"\\n        >\\n          <div class=\\\"ds-new__attribute__option__radio\\\">\\n            <input\\n              type=\\\"radio\\\"\\n              checked={{not isScheduledToGoLive}}\\n              onclick={{action \\\"scheduleImmediately\\\"}}\\n              disabled={{disablePicker}}\\n              data-test-scheduling-schedule-immediately\\n            />\\n          </div>\\n          <span class=\\\"ds-new__attribute__option__label flex-auto min-w-0\\\">\\n            Immediately\\n          </span>\\n        </label>\\n        <label\\n          class=\\\"ds-new__attribute__option__line flex items-center {{if disablePicker \\\"text-gray\\\"}}\\\"\\n        >\\n          <div class=\\\"ds-new__attribute__option__radio\\\">\\n            <input\\n              type=\\\"radio\\\"\\n              checked={{isScheduledToGoLive}}\\n              onclick={{action \\\"setCustomScheduledDate\\\"}}\\n              disabled={{disablePicker}}\\n              data-test-scheduling-schedule-custom\\n            />\\n          </div>\\n          <span class=\\\"ds-new__attribute__option__label flex-auto min-w-0\\\">\\n            Custom date\\n          </span>\\n        </label>\\n        {{#if isScheduledToGoLive}}\\n          <div class=\\\"layout__box o__centers-vertically u__ml__20\\\">\\n            <div class=\\\"layout__box u__ml__5\\\">\\n              {{!-- template-lint-disable intercom/no-legacy-datepicker --}}\\n              <Common::DatePickerDropdown\\n                @selectedDate={{scheduledDate}}\\n                @minDate={{minScheduledDate}}\\n                @maxDate={{maxScheduledDate}}\\n                @disabled={{disablePicker}}\\n                @changeSelectedDate={{action \\\"updateCustomScheduledDate\\\"}}\\n              />\\n              {{!-- template-lint-enable intercom/no-legacy-datepicker --}}\\n            </div>\\n            <div class=\\\"layout__box u__ml__5\\\">\\n              <Common::TimeSelectComponent\\n                @value={{scheduledTime}}\\n                @disabled={{disablePicker}}\\n                @updateValue={{action \\\"updateCustomScheduledTime\\\"}}\\n              />\\n            </div>\\n          </div>\\n          <div class=\\\"layout__box o__centers-vertically u__ml__20\\\">\\n            <div class=\\\"layout__box t__light-text u__mt__5 u__ml__5\\\">\\n              {{format-timezone app.timezone}}\\n            </div>\\n          </div>\\n        {{/if}}\\n      </context.opener>\\n      <context.content data-test-tooltip-content>\\n        A start date can only be selected before the message goes live\\n      </context.content>\\n    </IcTooltip>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/scheduling/scheduled-to-go-live-at-picker.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/scheduling/scheduled-to-go-live-at-picker.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { and, bool, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\nimport moment from 'moment';\n\nconst DEFAULT_SCHEDULED_TIME = 32400; //9AM\nconst SECONDS_IN_AN_HOUR = 3600;\n\nexport default Component.extend({\n  messageMutationService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  scheduledTime: null,\n  scheduledDate: null,\n  isScheduledToGoLive: bool('message.scheduledToGoLiveAt'),\n  disablePicker: and('message.isNotDraft', 'message.isNotScheduled'),\n\n  minScheduledDate: computed('app.timezone', function() {\n    return this._todayInAppTimezone().subtract(1, 'days');\n  }),\n  maxScheduledDate: computed('message.dueToStopAt', 'app.timezone', function() {\n    if (this.get('message.dueToStopAt')) {\n      return moment.tz(this.get('message.dueToStopAt'), this.get('app.timezone'));\n    }\n  }),\n  init() {\n    this._super(...arguments);\n    this._resetScheduledDateAndTime();\n  },\n\n  _resetScheduledDateAndTime() {\n    this.setProperties({\n      scheduledTime: this._defaultScheduledTime(),\n      scheduledDate: this._defaultScheduledDate(),\n    });\n  },\n\n  _defaultScheduledDate() {\n    return this.isScheduledToGoLive\n      ? this._scheduledToGoLiveAtInAppTimezone()\n      : this._todayInAppTimezone()\n          .add(1, 'days')\n          .minute(0)\n          .second(0);\n  },\n\n  _defaultScheduledTime() {\n    return this.isScheduledToGoLive\n      ? this._scheduledToGoLiveAtInAppTimezone().hours() * SECONDS_IN_AN_HOUR\n      : DEFAULT_SCHEDULED_TIME;\n  },\n\n  _todayInAppTimezone() {\n    return moment.tz(this.get('app.timezone'));\n  },\n\n  _scheduledToGoLiveAtInAppTimezone() {\n    return moment.tz(this.get('message.scheduledToGoLiveAt'), this.get('app.timezone'));\n  },\n\n  _setSchedulingDateTime(contextMethod) {\n    let scheduledDateTime = this.scheduledDate.hours(this.scheduledTime / SECONDS_IN_AN_HOUR);\n    let plainJSDate = scheduledDateTime.toDate();\n    this._mutateScheduledToGoLiveAt(plainJSDate, contextMethod);\n  },\n\n  _mutateScheduledToGoLiveAt(date, contextMethod) {\n    let context = this._contextObject(contextMethod);\n    let mutation = { command: MUTATIONS.setValue, key: 'scheduledToGoLiveAt', data: date, context };\n    this.messageMutationService.performMutations(this.message, [mutation]);\n  },\n\n  _contextObject(contextMethod) {\n    return {\n      location: Object.getPrototypeOf(this)._debugContainerKey,\n      method: contextMethod,\n    };\n  },\n\n  actions: {\n    scheduleImmediately() {\n      let context = this._contextObject(this.actions.scheduleImmediately.name);\n      this.messageMutationService.performMutations(this.message, [\n        { command: MUTATIONS.removeValue, key: 'scheduledToGoLiveAt', context },\n      ]);\n      this._resetScheduledDateAndTime();\n    },\n    setCustomScheduledDate() {\n      this._setSchedulingDateTime(this.actions.setCustomScheduledDate.name);\n    },\n    updateCustomScheduledDate(date) {\n      this.set('scheduledDate', date);\n      this._setSchedulingDateTime(this.actions.updateCustomScheduledDate.name);\n    },\n    updateCustomScheduledTime(time) {\n      this.set('scheduledTime', time);\n      this._setSchedulingDateTime(this.actions.updateCustomScheduledTime.name);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::IndexCompletedComponent\\n  @panel={{panel}}\\n  @isDraft={{message.isDraft}}\\n  @isEditing={{isEditing}}\\n  @isComplete={{isComplete}}\\n/>\\n<div class=\\\"layout__box o__centers-vertically\\\">\\n  <h2\\n    class=\\\"t__h2 message__editor__panel__fadable-text message__editor__panel__heading {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n    data-test-scheduling-title\\n  >\\n    {{#if isEditing}}\\n      Schedule your message\\n    {{else}}\\n      Schedule\\n    {{/if}}\\n  </h2>\\n</div>\\n<div\\n  class=\\\"layout__box o__flexes-to-1 message__editor__panel__fadable-text message__editor__panel__hideable-content message__editor__panel__description o__scheduling {{if isEditing \\\"o__editing\\\"}} {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n>\\n  {{#if message.isNotCampaignMessage}}\\n    <p data-test-scheduling-title-start-date>\\n      {{ic-interface-icon \\\"schedule\\\" color=\\\"gray\\\"}}\\n      {{#if message.scheduledToGoLiveAt}}\\n        Start sending on\\n        <DateWithTimezoneComponent\\n          @date={{message.scheduledToGoLiveAt}}\\n          @timezone={{app.timezone}}\\n        />\\n      {{else}}\\n        Start sending immediately\\n      {{/if}}\\n    </p>\\n  {{/if}}\\n  {{#if message.isNotManualMessage}}\\n    <p data-test-scheduling-title-stop-date>\\n      {{ic-interface-icon \\\"schedule\\\" color=\\\"gray\\\"}}\\n      {{#if message.isDueToStop}}\\n        Stop sending on\\n        <DateWithTimezoneComponent\\n          @date={{message.dueToStopAt}}\\n          @timezone={{app.timezone}}\\n        />\\n      {{else}}\\n        Never stop sending\\n      {{/if}}\\n    </p>\\n  {{/if}}\\n  {{#if\\n    (and\\n      message.isNotManualMessage\\n      (not (and message.isCampaignMessage message.isInApp))\\n    )\\n  }}\\n    <p data-test-scheduling-title-delivery-window>\\n      {{ic-interface-icon \\\"clock\\\" color=\\\"gray\\\"}}\\n      {{if message.isEmail \\\"Deliver -\\\" \\\"Send -\\\"}}\\n      {{#if message.hasDeliveryWindow}}\\n        {{message.deliveryWindow.summaryText}}\\n      {{else}}\\n        any day at any time\\n      {{/if}}\\n    </p>\\n  {{/if}}\\n</div>\\n<MessageEditor::Buttons::DoneButton\\n  @panelIsOpen={{and isMaximized isEditing}}\\n  @togglePanel={{togglePanel}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::IndexCompletedComponent\\n  @panel={{panel}}\\n  @isDraft={{message.isDraft}}\\n  @isEditing={{isEditing}}\\n  @isComplete={{isComplete}}\\n/>\\n<div class=\\\"layout__box o__centers-vertically\\\">\\n  <h2\\n    class=\\\"t__h2 message__editor__panel__fadable-text message__editor__panel__heading {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n    data-test-scheduling-title\\n  >\\n    {{#if isEditing}}\\n      Schedule your message\\n    {{else}}\\n      Schedule\\n    {{/if}}\\n  </h2>\\n</div>\\n<div\\n  class=\\\"layout__box o__flexes-to-1 message__editor__panel__fadable-text message__editor__panel__hideable-content message__editor__panel__description o__scheduling {{if isEditing \\\"o__editing\\\"}} {{if isMaximized \\\"o__expanded\\\"}}\\\"\\n>\\n  {{#if message.isNotCampaignMessage}}\\n    <p data-test-scheduling-title-start-date>\\n      {{ic-interface-icon \\\"schedule\\\" color=\\\"gray\\\"}}\\n      {{#if message.scheduledToGoLiveAt}}\\n        Start sending on\\n        <DateWithTimezoneComponent\\n          @date={{message.scheduledToGoLiveAt}}\\n          @timezone={{app.timezone}}\\n        />\\n      {{else}}\\n        Start sending immediately\\n      {{/if}}\\n    </p>\\n  {{/if}}\\n  {{#if message.isNotManualMessage}}\\n    <p data-test-scheduling-title-stop-date>\\n      {{ic-interface-icon \\\"schedule\\\" color=\\\"gray\\\"}}\\n      {{#if message.isDueToStop}}\\n        Stop sending on\\n        <DateWithTimezoneComponent\\n          @date={{message.dueToStopAt}}\\n          @timezone={{app.timezone}}\\n        />\\n      {{else}}\\n        Never stop sending\\n      {{/if}}\\n    </p>\\n  {{/if}}\\n  {{#if\\n    (and\\n      message.isNotManualMessage\\n      (not (and message.isCampaignMessage message.isInApp))\\n    )\\n  }}\\n    <p data-test-scheduling-title-delivery-window>\\n      {{ic-interface-icon \\\"clock\\\" color=\\\"gray\\\"}}\\n      {{if message.isEmail \\\"Deliver -\\\" \\\"Send -\\\"}}\\n      {{#if message.hasDeliveryWindow}}\\n        {{message.deliveryWindow.summaryText}}\\n      {{else}}\\n        any day at any time\\n      {{/if}}\\n    </p>\\n  {{/if}}\\n</div>\\n<MessageEditor::Buttons::DoneButton\\n  @panelIsOpen={{and isMaximized isEditing}}\\n  @togglePanel={{togglePanel}}\\n/>\\n\",\"moduleName\":\"embercom/components/message-editor/scheduling/title-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/scheduling/title-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport TitleComponent from 'embercom/components/message-editor/title-component';\n\nexport default TitleComponent.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  classNames: ['layout__box', 'o__has-columns', 'o__flexes-to-1', 'message__editor__panel__title'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-rows u__padb__20\\\">\\n  <Paywall @featureKey=\\\"email_delivery_windows\\\" as |paywall|>\\n    <div class=\\\"t__label u__mb__5\\\">\\n      Set days and times this message can send <paywall.Badge />\\n    </div>\\n    <IcTooltip\\n      @isDisabled={{or paywall.isActive triggerTimeSupported}}\\n      as |isAnyTimeTooltip|\\n    >\\n      <isAnyTimeTooltip.opener>\\n        <label class=\\\"ds-new__attribute__option__line flex items-center {{if (or (not triggerTimeSupported) (and paywall.isActive (not message.hasDeliveryWindow))) \\\"text-gray\\\"}}\\\">\\n          <div class=\\\"ds-new__attribute__option__radio\\\">\\n            <input\\n              type=\\\"radio\\\"\\n              checked={{isAnyTime}}\\n              onclick={{action \\\"toggleOff\\\"}}\\n              disabled={{or\\n                (not triggerTimeSupported)\\n                (and paywall.isActive (not message.hasDeliveryWindow))\\n              }}\\n              data-test-scheduling-trigger-times-any-time\\n            />\\n          </div>\\n          <span class=\\\"ds-new__attribute__option__label flex-auto min-w-0\\\">\\n            Any day at any time\\n          </span>\\n        </label>\\n      </isAnyTimeTooltip.opener>\\n      <isAnyTimeTooltip.content data-test-tooltip-content>\\n        You cannot change these settings for a {{@message.displayableClassType}} message\\n      </isAnyTimeTooltip.content>\\n    </IcTooltip>\\n    <div></div>\\n    <IcTooltip\\n      @isDisabled={{or paywall.isActive officeHoursOptionsEnabled}}\\n      @isInteractive={{true}}\\n      as |duringOfficeHoursTooltip|\\n    >\\n      <duringOfficeHoursTooltip.opener>\\n        <label\\n          class=\\\"ds-new__attribute__option__line flex items-center {{if (or paywall.isActive (not officeHoursOptionsEnabled)) \\\"text-gray\\\"}}\\\">\\n          <div class=\\\"ds-new__attribute__option__radio\\\">\\n            <input\\n              type=\\\"radio\\\"\\n              checked={{isDuringOfficeHours}}\\n              onclick={{action \\\"duringOfficeHours\\\"}}\\n              disabled={{or paywall.isActive (not officeHoursOptionsEnabled)}}\\n              data-test-scheduling-trigger-times-during-office-hours\\n            />\\n          </div>\\n          <span class=\\\"ds-new__attribute__option__label\\\">\\n            During office hours\\n          </span>\\n        </label>\\n      </duringOfficeHoursTooltip.opener>\\n      <duringOfficeHoursTooltip.content data-test-tooltip-content>\\n        {{#if (not triggerTimeSupported)}}\\n          You cannot change these settings for a {{@message.displayableClassType}} message\\n        {{else if (not appHasOfficeHours)}}\\n          To set specific trigger times, first set office hours\\n        {{else if @message.sendPushNotification}}\\n          To set specific days and times, you must first disable sending a push notification in the\\n          <a\\n            onclick={{action @maximizePanel \\\"content\\\" false}}\\n            data-test-tooltip-panel-link\\n          >\\n            composition step\\n          </a>.\\n        {{/if}}\\n      </duringOfficeHoursTooltip.content>\\n    </IcTooltip>\\n    <div></div>\\n    <IcTooltip\\n      @isDisabled={{or paywall.isActive officeHoursOptionsEnabled}}\\n      @isInteractive={{true}}\\n      as |outsideOfficeHoursTooltip|\\n    >\\n      <outsideOfficeHoursTooltip.opener>\\n        <label class=\\\"ds-new__attribute__option__line flex items-center {{if (or paywall.isActive (not officeHoursOptionsEnabled)) \\\"text-gray\\\"}}\\\">\\n          <div class=\\\"ds-new__attribute__option__radio\\\">\\n            <input\\n              type=\\\"radio\\\"\\n              checked={{isOutsideOfficeHours}}\\n              onclick={{action \\\"outsideOfficeHours\\\"}}\\n              disabled={{or paywall.isActive (not officeHoursOptionsEnabled)}}\\n              data-test-scheduling-trigger-times-outside-office-hours\\n            />\\n          </div>\\n          <span class=\\\"ds-new__attribute__option__label\\\">\\n            Outside office hours\\n          </span>\\n        </label>\\n      </outsideOfficeHoursTooltip.opener>\\n      <outsideOfficeHoursTooltip.content data-test-tooltip-content>\\n        {{#if (not triggerTimeSupported)}}\\n          You cannot change these settings for a {{@message.displayableClassType}} message\\n        {{else if (not appHasOfficeHours)}}\\n          To set specific trigger times, first set office hours\\n        {{else if @message.sendPushNotification}}\\n          To set specific days and times, you must first disable sending a push notification in the\\n          <a\\n            onclick={{action @maximizePanel \\\"content\\\" false}}\\n            data-test-tooltip-panel-link\\n          >\\n            composition step\\n          </a>.\\n        {{/if}}\\n      </outsideOfficeHoursTooltip.content>\\n    </IcTooltip>\\n    <div></div>\\n    <IcTooltip\\n      @isDisabled={{or paywall.isActive customHoursOptionsEnabled}}\\n      @isInteractive={{true}}\\n      as |isCustomTimeTooltip|\\n    >\\n      <isCustomTimeTooltip.opener>\\n        <label class=\\\"ds-new__attribute__option__line flex items-center {{if (or paywall.isActive (not customHoursOptionsEnabled)) \\\"text-gray\\\"}}\\\">\\n          <div class=\\\"ds-new__attribute__option__radio\\\">\\n            <input\\n              type=\\\"radio\\\"\\n              checked={{isCustomTime}}\\n              onclick={{action \\\"customTime\\\"}}\\n              disabled={{or paywall.isActive (not customHoursOptionsEnabled)}}\\n              data-test-scheduling-trigger-times-custom-time\\n            />\\n          </div>\\n          <span class=\\\"ds-new__attribute__option__label flex-auto min-w-0\\\">\\n            Custom time\\n          </span>\\n        </label>\\n      </isCustomTimeTooltip.opener>\\n      <isCustomTimeTooltip.content  data-test-tooltip-content>\\n        {{#if (not triggerTimeSupported)}}\\n          You cannot change these settings for a {{@message.displayableClassType}} message\\n        {{else if @message.sendPushNotification}}\\n          To set specific days and times, you must first disable sending a push notification in the\\n          <a\\n            onclick={{action @maximizePanel \\\"content\\\" false}}\\n            data-test-tooltip-panel-link\\n          >\\n            composition step\\n          </a>.\\n        {{/if}}\\n      </isCustomTimeTooltip.content>\\n    </IcTooltip>\\n  </Paywall>\\n  {{#if isCustomTime}}\\n    <div\\n      class=\\\"layout__box o__centers-vertically u__ml__20\\\"\\n      data-test-scheduling-trigger-times-custom-time-picker\\n    >\\n      <MessageEditor::Scheduling::MessageSendingTimesDayAndTimePicker @message={{@message}} />\\n    </div>\\n  {{/if}}\\n  <div class=\\\"layout__box o__centers-vertically u__ml__20\\\">\\n    <div class=\\\"layout__box t__light-text u__mt__5 u__ml__5\\\">\\n      <p>\\n        It will send based on your app's timezone {{app.formattedTimezone}} ({{app.formattedUtcOffset}}).\\n        <LinkTo\\n          @route=\\\"apps.app.messenger\\\"\\n          rel=\\\"noopener noreferrer nofollow\\\"\\n          target=\\\"_blank\\\"\\n        >See your office hours</LinkTo>.\\n      </p>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-rows u__padb__20\\\">\\n  <Paywall @featureKey=\\\"email_delivery_windows\\\" as |paywall|>\\n    <div class=\\\"t__label u__mb__5\\\">\\n      Set days and times this message can send <paywall.Badge />\\n    </div>\\n    <IcTooltip\\n      @isDisabled={{or paywall.isActive triggerTimeSupported}}\\n      as |isAnyTimeTooltip|\\n    >\\n      <isAnyTimeTooltip.opener>\\n        <label class=\\\"ds-new__attribute__option__line flex items-center {{if (or (not triggerTimeSupported) (and paywall.isActive (not message.hasDeliveryWindow))) \\\"text-gray\\\"}}\\\">\\n          <div class=\\\"ds-new__attribute__option__radio\\\">\\n            <input\\n              type=\\\"radio\\\"\\n              checked={{isAnyTime}}\\n              onclick={{action \\\"toggleOff\\\"}}\\n              disabled={{or\\n                (not triggerTimeSupported)\\n                (and paywall.isActive (not message.hasDeliveryWindow))\\n              }}\\n              data-test-scheduling-trigger-times-any-time\\n            />\\n          </div>\\n          <span class=\\\"ds-new__attribute__option__label flex-auto min-w-0\\\">\\n            Any day at any time\\n          </span>\\n        </label>\\n      </isAnyTimeTooltip.opener>\\n      <isAnyTimeTooltip.content data-test-tooltip-content>\\n        You cannot change these settings for a {{@message.displayableClassType}} message\\n      </isAnyTimeTooltip.content>\\n    </IcTooltip>\\n    <div></div>\\n    <IcTooltip\\n      @isDisabled={{or paywall.isActive officeHoursOptionsEnabled}}\\n      @isInteractive={{true}}\\n      as |duringOfficeHoursTooltip|\\n    >\\n      <duringOfficeHoursTooltip.opener>\\n        <label\\n          class=\\\"ds-new__attribute__option__line flex items-center {{if (or paywall.isActive (not officeHoursOptionsEnabled)) \\\"text-gray\\\"}}\\\">\\n          <div class=\\\"ds-new__attribute__option__radio\\\">\\n            <input\\n              type=\\\"radio\\\"\\n              checked={{isDuringOfficeHours}}\\n              onclick={{action \\\"duringOfficeHours\\\"}}\\n              disabled={{or paywall.isActive (not officeHoursOptionsEnabled)}}\\n              data-test-scheduling-trigger-times-during-office-hours\\n            />\\n          </div>\\n          <span class=\\\"ds-new__attribute__option__label\\\">\\n            During office hours\\n          </span>\\n        </label>\\n      </duringOfficeHoursTooltip.opener>\\n      <duringOfficeHoursTooltip.content data-test-tooltip-content>\\n        {{#if (not triggerTimeSupported)}}\\n          You cannot change these settings for a {{@message.displayableClassType}} message\\n        {{else if (not appHasOfficeHours)}}\\n          To set specific trigger times, first set office hours\\n        {{else if @message.sendPushNotification}}\\n          To set specific days and times, you must first disable sending a push notification in the\\n          <a\\n            onclick={{action @maximizePanel \\\"content\\\" false}}\\n            data-test-tooltip-panel-link\\n          >\\n            composition step\\n          </a>.\\n        {{/if}}\\n      </duringOfficeHoursTooltip.content>\\n    </IcTooltip>\\n    <div></div>\\n    <IcTooltip\\n      @isDisabled={{or paywall.isActive officeHoursOptionsEnabled}}\\n      @isInteractive={{true}}\\n      as |outsideOfficeHoursTooltip|\\n    >\\n      <outsideOfficeHoursTooltip.opener>\\n        <label class=\\\"ds-new__attribute__option__line flex items-center {{if (or paywall.isActive (not officeHoursOptionsEnabled)) \\\"text-gray\\\"}}\\\">\\n          <div class=\\\"ds-new__attribute__option__radio\\\">\\n            <input\\n              type=\\\"radio\\\"\\n              checked={{isOutsideOfficeHours}}\\n              onclick={{action \\\"outsideOfficeHours\\\"}}\\n              disabled={{or paywall.isActive (not officeHoursOptionsEnabled)}}\\n              data-test-scheduling-trigger-times-outside-office-hours\\n            />\\n          </div>\\n          <span class=\\\"ds-new__attribute__option__label\\\">\\n            Outside office hours\\n          </span>\\n        </label>\\n      </outsideOfficeHoursTooltip.opener>\\n      <outsideOfficeHoursTooltip.content data-test-tooltip-content>\\n        {{#if (not triggerTimeSupported)}}\\n          You cannot change these settings for a {{@message.displayableClassType}} message\\n        {{else if (not appHasOfficeHours)}}\\n          To set specific trigger times, first set office hours\\n        {{else if @message.sendPushNotification}}\\n          To set specific days and times, you must first disable sending a push notification in the\\n          <a\\n            onclick={{action @maximizePanel \\\"content\\\" false}}\\n            data-test-tooltip-panel-link\\n          >\\n            composition step\\n          </a>.\\n        {{/if}}\\n      </outsideOfficeHoursTooltip.content>\\n    </IcTooltip>\\n    <div></div>\\n    <IcTooltip\\n      @isDisabled={{or paywall.isActive customHoursOptionsEnabled}}\\n      @isInteractive={{true}}\\n      as |isCustomTimeTooltip|\\n    >\\n      <isCustomTimeTooltip.opener>\\n        <label class=\\\"ds-new__attribute__option__line flex items-center {{if (or paywall.isActive (not customHoursOptionsEnabled)) \\\"text-gray\\\"}}\\\">\\n          <div class=\\\"ds-new__attribute__option__radio\\\">\\n            <input\\n              type=\\\"radio\\\"\\n              checked={{isCustomTime}}\\n              onclick={{action \\\"customTime\\\"}}\\n              disabled={{or paywall.isActive (not customHoursOptionsEnabled)}}\\n              data-test-scheduling-trigger-times-custom-time\\n            />\\n          </div>\\n          <span class=\\\"ds-new__attribute__option__label flex-auto min-w-0\\\">\\n            Custom time\\n          </span>\\n        </label>\\n      </isCustomTimeTooltip.opener>\\n      <isCustomTimeTooltip.content  data-test-tooltip-content>\\n        {{#if (not triggerTimeSupported)}}\\n          You cannot change these settings for a {{@message.displayableClassType}} message\\n        {{else if @message.sendPushNotification}}\\n          To set specific days and times, you must first disable sending a push notification in the\\n          <a\\n            onclick={{action @maximizePanel \\\"content\\\" false}}\\n            data-test-tooltip-panel-link\\n          >\\n            composition step\\n          </a>.\\n        {{/if}}\\n      </isCustomTimeTooltip.content>\\n    </IcTooltip>\\n  </Paywall>\\n  {{#if isCustomTime}}\\n    <div\\n      class=\\\"layout__box o__centers-vertically u__ml__20\\\"\\n      data-test-scheduling-trigger-times-custom-time-picker\\n    >\\n      <MessageEditor::Scheduling::MessageSendingTimesDayAndTimePicker @message={{@message}} />\\n    </div>\\n  {{/if}}\\n  <div class=\\\"layout__box o__centers-vertically u__ml__20\\\">\\n    <div class=\\\"layout__box t__light-text u__mt__5 u__ml__5\\\">\\n      <p>\\n        It will send based on your app's timezone {{app.formattedTimezone}} ({{app.formattedUtcOffset}}).\\n        <LinkTo\\n          @route=\\\"apps.app.messenger\\\"\\n          rel=\\\"noopener noreferrer nofollow\\\"\\n          target=\\\"_blank\\\"\\n        >See your office hours</LinkTo>.\\n      </p>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/scheduling/trigger-times-picker.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/scheduling/trigger-times-picker.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { and, empty, equal, notEmpty, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\nimport { DEFAULT_OFFICE_HOURS_DELIVERY_WINDOW } from 'embercom/models/data/messages/message-defaults';\n\nexport default Component.extend({\n  messageMutationService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  store: service(),\n  fetchMessengerSettings: task(function*() {\n    let messengerSettings = yield this.store.findRecord(\n      'messenger-settings/availability',\n      this.get('message.appId'),\n    );\n    this.set('messengerSettings', messengerSettings);\n  }),\n  appHasOfficeHours: notEmpty('messengerSettings.defaultOfficeHoursIntervals'),\n  isAnyTime: empty('message.deliveryWindow'),\n  isDuringOfficeHours: equal('message.deliveryWindow.deliveryPeriod', 'during_office_hours'),\n  isOutsideOfficeHours: equal('message.deliveryWindow.deliveryPeriod', 'outside_office_hours'),\n  isCustomTime: equal('message.deliveryWindow.deliveryPeriod', 'custom'),\n\n  triggerTimeSupported: and('message.isNotManualMessage', 'message.isNotCampaignMessage'),\n  officeHoursOptionsEnabled: and(\n    'triggerTimeSupported',\n    'appHasOfficeHours',\n    'message.hasNoPushNotifications',\n  ),\n  customHoursOptionsEnabled: and('triggerTimeSupported', 'message.hasNoPushNotifications'),\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.fetchMessengerSettings.perform();\n  },\n\n  _setDeliveryWindow(period, contextMethod) {\n    let deliveryWindow = DEFAULT_OFFICE_HOURS_DELIVERY_WINDOW;\n    deliveryWindow.deliveryPeriod = period;\n    this._mutateDeliveryWindow(deliveryWindow, contextMethod);\n  },\n\n  _mutateDeliveryWindow(deliveryWindow, contextMethod) {\n    let context = this._contextObject(contextMethod);\n    let mutation = {\n      command: MUTATIONS.setValue,\n      key: 'deliveryWindow',\n      data: deliveryWindow,\n      context,\n    };\n    this.messageMutationService.performMutations(this.message, [mutation]);\n  },\n\n  _removeDeliveryWindow() {\n    let context = this._contextObject(this._removeDeliveryWindow.name);\n    let mutation = { command: MUTATIONS.removeValue, key: 'deliveryWindow', context };\n    this.messageMutationService.performMutations(this.message, [mutation]);\n  },\n\n  _contextObject(contextMethod) {\n    return {\n      location: Object.getPrototypeOf(this)._debugContainerKey,\n      method: contextMethod,\n    };\n  },\n\n  actions: {\n    toggleOff() {\n      this._removeDeliveryWindow();\n    },\n    duringOfficeHours() {\n      this._setDeliveryWindow('during_office_hours', this.actions.duringOfficeHours.name);\n    },\n    outsideOfficeHours() {\n      this._setDeliveryWindow('outside_office_hours', this.actions.outsideOfficeHours.name);\n    },\n    customTime() {\n      this._setDeliveryWindow('custom', this.actions.customTime.name);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::Scheduling::TitleComponent\\n  @panel={{panel}}\\n  @message={{message}}\\n  @isEditing={{isEditing}}\\n/>\\n<MessageEditor::Scheduling::MainComponent\\n  @isMaximized={{panel.isMaximized}}\\n  @message={{message}}\\n  @maximizePanel={{@maximizePanel}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::Scheduling::TitleComponent\\n  @panel={{panel}}\\n  @message={{message}}\\n  @isEditing={{isEditing}}\\n/>\\n<MessageEditor::Scheduling::MainComponent\\n  @isMaximized={{panel.isMaximized}}\\n  @message={{message}}\\n  @maximizePanel={{@maximizePanel}}\\n/>\\n\",\"moduleName\":\"embercom/components/message-editor/scheduling/wrapper-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/scheduling/wrapper-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless message.isVisitorAutoMessage}}\\n  <IcButton\\n    @label=\\\"Message\\\"\\n    @icon=\\\"manual-message\\\"\\n    @type=\\\"secondary\\\"\\n    @action=\\\"bulkMessage\\\"\\n    @inLeftList={{true}}\\n    @disabled={{isAboveMessageLimit}}\\n    data-test-bulk-message-button={{true}}\\n    {{tooltip isDisabled=(not isAboveMessageLimit) content=aboveMessageLimitTooltipText}}\\n  />\\n{{/unless}}\\n<IcButton\\n  @label=\\\"Tag\\\"\\n  @icon=\\\"tag\\\"\\n  @type=\\\"secondary\\\"\\n  @action=\\\"bulkTag\\\"\\n  @disabled={{isAboveTagLimit}}\\n  data-test-bulk-tag-button={{true}}\\n  {{tooltip isDisabled=(not isAboveTagLimit) content=aboveTagLimitTooltipText}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless message.isVisitorAutoMessage}}\\n  <IcButton\\n    @label=\\\"Message\\\"\\n    @icon=\\\"manual-message\\\"\\n    @type=\\\"secondary\\\"\\n    @action=\\\"bulkMessage\\\"\\n    @inLeftList={{true}}\\n    @disabled={{isAboveMessageLimit}}\\n    data-test-bulk-message-button={{true}}\\n    {{tooltip isDisabled=(not isAboveMessageLimit) content=aboveMessageLimitTooltipText}}\\n  />\\n{{/unless}}\\n<IcButton\\n  @label=\\\"Tag\\\"\\n  @icon=\\\"tag\\\"\\n  @type=\\\"secondary\\\"\\n  @action=\\\"bulkTag\\\"\\n  @disabled={{isAboveTagLimit}}\\n  data-test-bulk-tag-button={{true}}\\n  {{tooltip isDisabled=(not isAboveTagLimit) content=aboveTagLimitTooltipText}}\\n/>\\n\",\"moduleName\":\"embercom/components/message-editor/stats/bulk-actions.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/stats/bulk-actions.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport {\n  applyFunction,\n  greaterThanProperty,\n  notImplemented,\n  templateString,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport numericFormatter from 'embercom/lib/numeric-formatter';\n\nexport default Component.extend({\n  classNames: ['u__relative'],\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  message: notImplemented('message-editor/stats/bulk-actions: You need to set \"message\"'),\n  variation: notImplemented('message-editor/stats/bulk-actions: You need to set \"variation\"'),\n  variationId: readOnly('variation.id'),\n  isControlGroup: readOnly('variation.isControlGroup'),\n  totalCount: 0,\n  selectedCount: 0,\n  bulkTagLimit: 750000,\n  bulkMessageLimit: 2000,\n\n  isAboveMessageLimit: greaterThanProperty('selectedCount', 'bulkMessageLimit'),\n  bulkMessageLimitString: applyFunction(numericFormatter, 'bulkMessageLimit'),\n  aboveMessageLimitTooltipText: templateString(\n    'At the moment there’s a limit of messaging ${bulkMessageLimitString} or less ${message.pluralUserTypeLabel} at a time. (Tip: tag these ${message.pluralUserTypeLabel}, so you’re able to filter and message them)',\n  ),\n\n  isAboveTagLimit: greaterThanProperty('selectedCount', 'bulkTagLimit'),\n\n  bulkTagLimitString: applyFunction(numericFormatter, 'bulkTagLimit'),\n  aboveTagLimitTooltipText: templateString(\n    'At the moment there’s a limit of tagging ${bulkTagLimitString} or less ${message.pluralUserTypeLabel} at a time.',\n  ),\n\n  actions: {\n    bulkMessage() {\n      let params = this.getProperties([\n        'selectedTargetTypes',\n        'isControlGroup',\n        'variationId',\n        'selectedCount',\n        'totalCount',\n      ]);\n      this.bulkMessage(params);\n    },\n    bulkTag() {\n      let params = this.getProperties([\n        'selectedTargetTypes',\n        'isControlGroup',\n        'variationId',\n        'selectedCount',\n        'totalCount',\n      ]);\n      this.bulkTag(params);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if (and @canUseBetterClickData (eq @statistic \\\"clicked\\\")) }}\\n  <div class=\\\"layout__box o__has-columns o__flexes-to-1\\\" data-test-clicked-links-switcher>\\n    <h2 {{action @changeClickedStatsSubTab 'clicks-users'}} class=\\\"message__editor__variation-switcher__label message__editor__variation-switcher__button t__h2 u__pl__0 {{if @usersIsActive 'o__active text-blue-dark'}}\\\" data-test-clicked-links-switcher=\\\"users\\\">\\n      <b>\\n        Users\\n      </b>\\n    </h2>\\n    <h2 {{action @changeClickedStatsSubTab 'clicks-links'}} class=\\\"message__editor__variation-switcher__label message__editor__variation-switcher__button t__h2 {{if @linksIsActive 'o__active text-blue-dark'}}\\\" data-test-clicked-links-switcher=\\\"links\\\">\\n      <b>\\n        Links\\n      </b>\\n    </h2>\\n  </div>\\n{{/if}}\\n\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if (and @canUseBetterClickData (eq @statistic \\\"clicked\\\")) }}\\n  <div class=\\\"layout__box o__has-columns o__flexes-to-1\\\" data-test-clicked-links-switcher>\\n    <h2 {{action @changeClickedStatsSubTab 'clicks-users'}} class=\\\"message__editor__variation-switcher__label message__editor__variation-switcher__button t__h2 u__pl__0 {{if @usersIsActive 'o__active text-blue-dark'}}\\\" data-test-clicked-links-switcher=\\\"users\\\">\\n      <b>\\n        Users\\n      </b>\\n    </h2>\\n    <h2 {{action @changeClickedStatsSubTab 'clicks-links'}} class=\\\"message__editor__variation-switcher__label message__editor__variation-switcher__button t__h2 {{if @linksIsActive 'o__active text-blue-dark'}}\\\" data-test-clicked-links-switcher=\\\"links\\\">\\n      <b>\\n        Links\\n      </b>\\n    </h2>\\n  </div>\\n{{/if}}\\n\\n\",\"moduleName\":\"embercom/components/message-editor/stats/clicked-links-switcher.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/stats/clicked-links-switcher.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns u__pad__20\\\">\\n  <h2 class=\\\"layout__box t__h2 o__flexes-to-1\\\">\\n    {{#if (gt totalCount 0)}}\\n      {{totalCount}} {{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes totalCount)}} replied\\n    {{/if}}\\n  </h2>\\n  <div class=\\\"layout__box\\\">\\n    <MessageEditor::Stats::StatisticFilters::StatisticFilterDropdown\\n      @statistic=\\\"conversations\\\"\\n      @message={{message}}\\n      @version={{version}}\\n      @inverted={{inverted}}\\n    />\\n  </div>\\n</div>\\n<div class=\\\"layout__box message__editor__stats__conversation-card-container u__padb__20 u__relative\\\">\\n  {{#if (gt totalCount 0)}}\\n    <Conversation::CardListComponent\\n      @app={{message.app}}\\n      @admin={{message.app.currentAdmin}}\\n      @openModal=\\\"openModal\\\"\\n      @conversations={{conversations}}\\n      @requestPage={{action \\\"nextPage\\\"}}\\n      @viewportSelector=\\\".message__editor__stats__conversation-card-container\\\"\\n    />\\n    {{#if fetchConversationsForVariation.isRunning}}\\n      <div class=\\\"layout__box o__flexes-to-1 u__relative\\\">\\n        <span class=\\\"u__center-item\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\" />\\n        </span>\\n      </div>\\n    {{/if}}\\n  {{else if fetchConversationsForVariation.isRunning}}\\n    <div class=\\\"u__center-item\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    </div>\\n  {{else}}\\n    <IcEmptyState\\n      @icon=\\\"people\\\"\\n      @title={{concat \\\"No \\\" (format-array-to-sentence message.selectionState.pluralUserTypes 'or') \\\" have replied to this message\\\"}}\\n      data-test-no-stats-to-display={{true}}\\n    />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns u__pad__20\\\">\\n  <h2 class=\\\"layout__box t__h2 o__flexes-to-1\\\">\\n    {{#if (gt totalCount 0)}}\\n      {{totalCount}} {{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes totalCount)}} replied\\n    {{/if}}\\n  </h2>\\n  <div class=\\\"layout__box\\\">\\n    <MessageEditor::Stats::StatisticFilters::StatisticFilterDropdown\\n      @statistic=\\\"conversations\\\"\\n      @message={{message}}\\n      @version={{version}}\\n      @inverted={{inverted}}\\n    />\\n  </div>\\n</div>\\n<div class=\\\"layout__box message__editor__stats__conversation-card-container u__padb__20 u__relative\\\">\\n  {{#if (gt totalCount 0)}}\\n    <Conversation::CardListComponent\\n      @app={{message.app}}\\n      @admin={{message.app.currentAdmin}}\\n      @openModal=\\\"openModal\\\"\\n      @conversations={{conversations}}\\n      @requestPage={{action \\\"nextPage\\\"}}\\n      @viewportSelector=\\\".message__editor__stats__conversation-card-container\\\"\\n    />\\n    {{#if fetchConversationsForVariation.isRunning}}\\n      <div class=\\\"layout__box o__flexes-to-1 u__relative\\\">\\n        <span class=\\\"u__center-item\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\" />\\n        </span>\\n      </div>\\n    {{/if}}\\n  {{else if fetchConversationsForVariation.isRunning}}\\n    <div class=\\\"u__center-item\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    </div>\\n  {{else}}\\n    <IcEmptyState\\n      @icon=\\\"people\\\"\\n      @title={{concat \\\"No \\\" (format-array-to-sentence message.selectionState.pluralUserTypes 'or') \\\" have replied to this message\\\"}}\\n      data-test-no-stats-to-display={{true}}\\n    />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/stats/conversations-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/stats/conversations-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { A } from '@ember/array';\nimport { on } from '@ember/object/evented';\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { lessThanProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nimport nonconcurrentAjax from 'embercom/lib/nonconcurrent-ajax';\nimport { inject as service } from '@ember/service';\nimport { task, didCancel } from 'ember-concurrency';\n\nexport default Component.extend({\n  store: service(),\n  notificationsService: service(),\n  classNames: [\n    'layout__box',\n    'o__has-rows',\n    'o__flexes-to-1',\n    'js__message__editor__conversation-list',\n    'test__message__editor__conversation-list',\n  ],\n\n  viewportSelector: '.js__message-view-and-edit-component',\n  scrollingContentSelector: '.js__message__editor__conversation-list',\n\n  message: readOnly('variation.message'),\n\n  currentPage: null,\n  totalCount: null,\n  conversations: null,\n\n  hasItemsToLoad: lessThanProperty('conversations.length', 'totalCount'),\n\n  performFirstRequest: on('didInsertElement', function() {\n    this.cancelPendingRequest();\n    this.setProperties({\n      currentPage: 1,\n      totalCount: null,\n      conversations: A(),\n    });\n    this.fetchConversationsForVariation.perform();\n  }),\n\n  cancelPendingRequest() {\n    let task = this.fetchConversationsForVariation;\n    task.cancelAll();\n  },\n\n  fetchConversationsForVariation: task(function*() {\n    try {\n      let response = yield nonconcurrentAjax(this, this._generateAjaxParams());\n      this._parseConversationResponse(response);\n      this.incrementProperty('currentPage');\n    } catch (error) {\n      if (!didCancel(error)) {\n        this.notificationsService.notifyResponseError(error, {\n          default: `We couldn't get the conversations for this message. Send us a message and we'll do our best to help out.`,\n        });\n      }\n    }\n  }).drop(),\n\n  _generateAjaxParams() {\n    return {\n      url: `/ember/message_variations/${this.get('variation.id')}/replies.json`,\n      type: 'GET',\n      data: {\n        page: this.currentPage,\n        id: this.get('variation.id'),\n        app_id: this.get('message.appId'),\n        message_id: this.get('message.id'),\n        has_reply: true,\n      },\n    };\n  },\n\n  _parseConversationResponse(response) {\n    response.conversations = response.conversations || [];\n    this.store.pushPayload({ conversations: response.conversations });\n    let conversations = response.conversations.map(conversation =>\n      this.store.peekRecord('conversation', conversation.id),\n    );\n    this.conversations.pushObjects(conversations);\n    this.set('totalCount', response.total_count);\n  },\n\n  actions: {\n    nextPage() {\n      if (this.hasItemsToLoad) {\n        return this.fetchConversationsForVariation.perform();\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns message__editor__stats__tab-container\\\">\\n  {{#each tabs as |tab|}}\\n    <MessageEditor::Buttons::StatsTabButton\\n      @tab={{tab}}\\n      @activeView={{activeView}}\\n      @changeView={{changeView}}\\n    />\\n  {{/each}}\\n</div>\\n<div class=\\\"layout__box o__flexes-to-1 o__centers-all message__editor__stats__pre-send-info-text\\\">\\n  <div class=\\\"t__centered text-gray\\\">\\n    {{#if message.selectionState.hasZeroCount}}\\n      <p>This message is queued to send! It'll start sending shortly.</p>\\n    {{else if message.isAutoMessage}}\\n      {{#if message.isInApp}}\\n        {{#if message.hasPageTargeting}}\\n          No one's visited the target URL for this message yet — we'll keep checking\\n        {{else}}\\n          {{nobodyOnlineText}}\\n        {{/if}}\\n      {{else if message.isEmail}}\\n        {{#if message.hasDeliveryWindow}}\\n          We're waiting for delivery windows to open in your {{format-array-to-sentence message.selectionState.userTypes}}'s time zones\\n        {{else}}\\n          This email is queued to send! It'll start sending shortly.\\n        {{/if}}\\n      {{else}}\\n        {{nobodyOnlineText}}\\n      {{/if}}\\n    {{else if message.isVisitorAutoMessage}}\\n      {{nobodyOnlineText}}\\n    {{else if message.isCampaignMessage}}\\n      {{#if message.isEmail}}\\n        This email is queued to send! It'll start sending shortly.\\n      {{else}}\\n        {{nobodyOnlineText}}\\n      {{/if}}\\n    {{else if message.isManualMessage}}\\n      {{#if message.isInApp}}\\n        {{nobodyOnlineText}}\\n      {{else}}\\n        This message is queued to send! It'll start sending shortly.\\n      {{/if}}\\n    {{else}}\\n      {{nobodyOnlineText}}\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns message__editor__stats__tab-container\\\">\\n  {{#each tabs as |tab|}}\\n    <MessageEditor::Buttons::StatsTabButton\\n      @tab={{tab}}\\n      @activeView={{activeView}}\\n      @changeView={{changeView}}\\n    />\\n  {{/each}}\\n</div>\\n<div class=\\\"layout__box o__flexes-to-1 o__centers-all message__editor__stats__pre-send-info-text\\\">\\n  <div class=\\\"t__centered text-gray\\\">\\n    {{#if message.selectionState.hasZeroCount}}\\n      <p>This message is queued to send! It'll start sending shortly.</p>\\n    {{else if message.isAutoMessage}}\\n      {{#if message.isInApp}}\\n        {{#if message.hasPageTargeting}}\\n          No one's visited the target URL for this message yet — we'll keep checking\\n        {{else}}\\n          {{nobodyOnlineText}}\\n        {{/if}}\\n      {{else if message.isEmail}}\\n        {{#if message.hasDeliveryWindow}}\\n          We're waiting for delivery windows to open in your {{format-array-to-sentence message.selectionState.userTypes}}'s time zones\\n        {{else}}\\n          This email is queued to send! It'll start sending shortly.\\n        {{/if}}\\n      {{else}}\\n        {{nobodyOnlineText}}\\n      {{/if}}\\n    {{else if message.isVisitorAutoMessage}}\\n      {{nobodyOnlineText}}\\n    {{else if message.isCampaignMessage}}\\n      {{#if message.isEmail}}\\n        This email is queued to send! It'll start sending shortly.\\n      {{else}}\\n        {{nobodyOnlineText}}\\n      {{/if}}\\n    {{else if message.isManualMessage}}\\n      {{#if message.isInApp}}\\n        {{nobodyOnlineText}}\\n      {{else}}\\n        This message is queued to send! It'll start sending shortly.\\n      {{/if}}\\n    {{else}}\\n      {{nobodyOnlineText}}\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/stats/pre-send-info.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/stats/pre-send-info.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\n\nconst TABS = {\n  message: {\n    label: 'Message',\n    isPercentageValue: false,\n    views: ['content'],\n    color: 'text-gray',\n  },\n  controlGroup: {\n    label: 'Control group',\n    isPercentageValue: false,\n    views: ['content'],\n    color: 'text-gray',\n  },\n  audience: {\n    label: 'Audience',\n    isPercentageValue: false,\n    views: ['pending'],\n  },\n};\n\nexport default Component.extend({\n  classNames: [\n    'message__editor__stats__pre-send-info',\n    'layout__box',\n    'o__flexes-to-1',\n    'o__has-columns',\n  ],\n  classNameBindings: ['variation.isNotLive:u__hidden'],\n  message: readOnly('variation.message'),\n\n  buildVariationTab(tabKey) {\n    return Object.assign(this.getTabContent(tabKey), { icon: this.get('variation.typeIcon') });\n  },\n\n  tabs: computed(\n    'message.recipientCount',\n    'message.isStoppableManualMessage',\n    'variation.isControlGroup',\n    function() {\n      let tabs = [];\n      if (this.get('variation.isControlGroup')) {\n        tabs.pushObject(this.buildVariationTab('controlGroup'));\n      } else {\n        tabs.pushObject(this.buildVariationTab('message'));\n      }\n\n      if (this.get('message.isStoppableManualMessage')) {\n        tabs.pushObject(this.getTabContent('audience', this.get('message.recipientCount')));\n      }\n      return tabs;\n    },\n  ),\n\n  getTabContent(name, value = '') {\n    return Object.assign({}, TABS[name], {\n      statistic: value,\n      isClickable: true,\n    });\n  },\n\n  nobodyOnlineText: ternary(\n    'variation.isControlGroup',\n    \"No one's online to join this control group — we'll keep checking\",\n    \"No one's online to receive this message yet — we'll keep checking\",\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<p class=\\\"t__label message__editor__stats__tab-label\\\">Reacted</p>\\n<div class=\\\"message__editor__stats__tab__reactions\\\">\\n  <div class=\\\"t__message-editor-stat test__reaction-statistics-tab__response-count\\\">{{variation.stats.responseCount}}</div>\\n  {{#each reactions as |reaction index|}}\\n    <div class=\\\"message__editor__stats__tab__reaction u__ml__15 test__reaction-statistics-tab__reaction\\\">\\n      {{reaction.unicodeEmoticon}}\\n      <span data-test-reaction-statistics-tab-statistic-index={{index}} class=\\\"text-gray\\\">{{format-percentage reaction.statistic}}</span>\\n    </div>\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<p class=\\\"t__label message__editor__stats__tab-label\\\">Reacted</p>\\n<div class=\\\"message__editor__stats__tab__reactions\\\">\\n  <div class=\\\"t__message-editor-stat test__reaction-statistics-tab__response-count\\\">{{variation.stats.responseCount}}</div>\\n  {{#each reactions as |reaction index|}}\\n    <div class=\\\"message__editor__stats__tab__reaction u__ml__15 test__reaction-statistics-tab__reaction\\\">\\n      {{reaction.unicodeEmoticon}}\\n      <span data-test-reaction-statistics-tab-statistic-index={{index}} class=\\\"text-gray\\\">{{format-percentage reaction.statistic}}</span>\\n    </div>\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/stats/reactions-tab.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/stats/reactions-tab.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-attrs-in-components */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { equal } from '@ember/object/computed';\nexport default Component.extend({\n  'data-test-statistic-tab': 'reactions',\n  classNameBindings: ['isActive:o__active'],\n  classNames: ['message__editor__stats__tab'],\n  isActive: equal('activeView', 'reactions'),\n  reactions: computed('variation.reactions.[]', 'variation.stats.lastLoadedAt', function() {\n    return this.get('variation.reactions').map(reaction => ({\n      index: reaction.get('index'),\n      unicodeEmoticon: reaction.get('unicodeEmoticon'),\n      statistic: this.get(`variation.stats.reaction${reaction.get('index')}Percentage`),\n    }));\n  }),\n  click() {\n    this.attrs.changeView('reactions');\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (contains statistic (w \\\"opened replied\\\"))}}\\n  <MessageEditor::Stats::StatisticFilters::StatisticFilterDropdown\\n    @message={{message}}\\n    @version={{version}}\\n    @statistic={{statistic}}\\n    @inverted={{inverted}}\\n  />\\n{{else if (eq statistic \\\"reactions\\\")}}\\n  <MessageEditor::Stats::StatisticFilters::ReactionFilterDropdown\\n    @message={{message}}\\n    @version={{version}}\\n    @reactions={{reactions}}\\n    @selectedReaction={{selectedReaction}}\\n  />\\n{{else if (contains statistic (w \\\"failed\\\" \\\"bounced\\\" \\\"complained\\\" \\\"unsubscribed\\\"))}}\\n  <MessageEditor::Stats::StatisticFilters::FailedFilterDropdown\\n    @message={{message}}\\n    @version={{version}}\\n    @statistic={{statistic}}\\n  />\\n{{else if (and (eq statistic \\\"goal\\\") (not-eq version \\\"control\\\"))}}\\n  <MessageEditor::Stats::StatisticFilters::GoalFilterDropdown\\n    @message={{message}}\\n    @version={{version}}\\n    @goalFilter={{goalFilter}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (contains statistic (w \\\"opened replied\\\"))}}\\n  <MessageEditor::Stats::StatisticFilters::StatisticFilterDropdown\\n    @message={{message}}\\n    @version={{version}}\\n    @statistic={{statistic}}\\n    @inverted={{inverted}}\\n  />\\n{{else if (eq statistic \\\"reactions\\\")}}\\n  <MessageEditor::Stats::StatisticFilters::ReactionFilterDropdown\\n    @message={{message}}\\n    @version={{version}}\\n    @reactions={{reactions}}\\n    @selectedReaction={{selectedReaction}}\\n  />\\n{{else if (contains statistic (w \\\"failed\\\" \\\"bounced\\\" \\\"complained\\\" \\\"unsubscribed\\\"))}}\\n  <MessageEditor::Stats::StatisticFilters::FailedFilterDropdown\\n    @message={{message}}\\n    @version={{version}}\\n    @statistic={{statistic}}\\n  />\\n{{else if (and (eq statistic \\\"goal\\\") (not-eq version \\\"control\\\"))}}\\n  <MessageEditor::Stats::StatisticFilters::GoalFilterDropdown\\n    @message={{message}}\\n    @version={{version}}\\n    @goalFilter={{goalFilter}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/stats/statistic-filters.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/stats/statistic-filters.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-dropdown --}}\\n<DropdownComponent\\n  @title={{truncate-string selectedOption.label 30}}\\n  data-test-clicked-link-filter-dropdown={{true}}\\n>\\n  {{!-- template-lint-enable intercom/no-legacy-dropdown --}}\\n  {{#each dropdownOptions as |option|}}\\n    <div class=\\\"message__editor__stats__user-list-clicked-url-dropdown\\\">\\n      <LinkTo\\n        @route={{messageRoute}}\\n        @model={{@message.id}}\\n        @query={{hash\\n          viewing=\\\"clicked\\\"\\n          version=@version\\n          linkFilter=option.linkFilter\\n        }}\\n        class=\\\"dropdown__list-item flex items-start o__hoverable  u__prevent-breaks\\\"\\n        data-test-link-filter-dropdown-option={{option.label}}\\n      >\\n        <span title={{option.label}} class=\\\"flex-auto min-w-0 message__editor__stats__user-list-clicked-url-dropdown-item\\\">{{option.label}}</span>\\n        {{#if (eq selectedOption option)}}\\n          <span title={{option.label}} data-test-link-selected={{option.label}} class=\\\"f__custom-select__check flex items-start o__selected message__editor__stats__user-list-clicked-url-dropdown-item\\\">{{ic-interface-icon \\\"small-check\\\" solo=true}}</span>\\n        {{/if}}\\n      </LinkTo>\\n    </div>\\n  {{/each}}\\n</DropdownComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-dropdown --}}\\n<DropdownComponent\\n  @title={{truncate-string selectedOption.label 30}}\\n  data-test-clicked-link-filter-dropdown={{true}}\\n>\\n  {{!-- template-lint-enable intercom/no-legacy-dropdown --}}\\n  {{#each dropdownOptions as |option|}}\\n    <div class=\\\"message__editor__stats__user-list-clicked-url-dropdown\\\">\\n      <LinkTo\\n        @route={{messageRoute}}\\n        @model={{@message.id}}\\n        @query={{hash\\n          viewing=\\\"clicked\\\"\\n          version=@version\\n          linkFilter=option.linkFilter\\n        }}\\n        class=\\\"dropdown__list-item flex items-start o__hoverable  u__prevent-breaks\\\"\\n        data-test-link-filter-dropdown-option={{option.label}}\\n      >\\n        <span title={{option.label}} class=\\\"flex-auto min-w-0 message__editor__stats__user-list-clicked-url-dropdown-item\\\">{{option.label}}</span>\\n        {{#if (eq selectedOption option)}}\\n          <span title={{option.label}} data-test-link-selected={{option.label}} class=\\\"f__custom-select__check flex items-start o__selected message__editor__stats__user-list-clicked-url-dropdown-item\\\">{{ic-interface-icon \\\"small-check\\\" solo=true}}</span>\\n        {{/if}}\\n      </LinkTo>\\n    </div>\\n  {{/each}}\\n</DropdownComponent>\\n\",\"moduleName\":\"embercom/components/message-editor/stats/statistic-filters/clicked-link-filter-dropdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/stats/statistic-filters/clicked-link-filter-dropdown.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { isBlank } from '@ember/utils';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\nimport getMessageRoute from 'embercom/lib/messages/message-router';\n\nexport default Component.extend({\n  classNames: ['u__right'],\n  message: notImplemented(),\n  version: notImplemented(),\n  linkFilter: notImplemented(),\n\n  messageRoute: computed('message', function() {\n    return getMessageRoute(this.message);\n  }),\n\n  selectedOption: computed('dropdownOptions.linkFilter', 'linkFilter', function() {\n    if (isBlank(this.linkFilter)) {\n      return this.get('dropdownOptions.firstObject');\n    }\n    return this.dropdownOptions.findBy('linkFilter', parseInt(this.linkFilter, 10));\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-dropdown --}}\\n<DropdownComponent @title={{selectedOption.label}} data-test-failed-filter-dropdown={{true}}>\\n  {{!-- template-lint-enable intercom/no-legacy-dropdown --}}\\n  {{#each dropdownOptions as |option|}}\\n    <LinkTo\\n      @route={{messageRoute}}\\n      @model={{message.id}}\\n      @query={{hash viewing=option.statistic version=version}}\\n      class=\\\"dropdown__list-item flex items-start o__hoverable u__prevent-breaks\\\"\\n      data-test-failed-filter-dropdown-option={{option.statistic}}\\n    >\\n      <span class=\\\"flex-auto min-w-0\\\">{{option.label}}</span>\\n      {{#if (eq selectedOption option)}}<span class=\\\"f__custom-select__check flex items-start o__selected\\\">{{ic-interface-icon \\\"small-check\\\" solo=true}}</span>{{/if}}\\n    </LinkTo>\\n  {{/each}}\\n</DropdownComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-dropdown --}}\\n<DropdownComponent @title={{selectedOption.label}} data-test-failed-filter-dropdown={{true}}>\\n  {{!-- template-lint-enable intercom/no-legacy-dropdown --}}\\n  {{#each dropdownOptions as |option|}}\\n    <LinkTo\\n      @route={{messageRoute}}\\n      @model={{message.id}}\\n      @query={{hash viewing=option.statistic version=version}}\\n      class=\\\"dropdown__list-item flex items-start o__hoverable u__prevent-breaks\\\"\\n      data-test-failed-filter-dropdown-option={{option.statistic}}\\n    >\\n      <span class=\\\"flex-auto min-w-0\\\">{{option.label}}</span>\\n      {{#if (eq selectedOption option)}}<span class=\\\"f__custom-select__check flex items-start o__selected\\\">{{ic-interface-icon \\\"small-check\\\" solo=true}}</span>{{/if}}\\n    </LinkTo>\\n  {{/each}}\\n</DropdownComponent>\\n\",\"moduleName\":\"embercom/components/message-editor/stats/statistic-filters/failed-filter-dropdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/stats/statistic-filters/failed-filter-dropdown.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\nimport getMessageRoute from 'embercom/lib/messages/message-router';\n\nexport default Component.extend({\n  statistic: notImplemented(),\n  message: notImplemented(),\n  version: notImplemented(),\n\n  messageRoute: computed('message', function() {\n    return getMessageRoute(this.message);\n  }),\n\n  dropdownOptions: [\n    {\n      statistic: 'failed',\n      label: 'All',\n      inverted: false,\n    },\n    {\n      statistic: 'bounced',\n      label: 'Bounced',\n      inverted: false,\n    },\n    {\n      statistic: 'unsubscribed',\n      label: 'Unsubscribed',\n      inverted: false,\n    },\n    {\n      statistic: 'complained',\n      label: 'Marked as spam',\n      inverted: false,\n    },\n  ],\n  selectedOption: computed('dropdownOptions', 'statistic', function() {\n    return this.dropdownOptions.find(option => option.statistic === this.statistic);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-dropdown --}}\\n<DropdownComponent @title={{selectedOption.label}} data-test-goal-filter-dropdown={{true}}>\\n  {{!-- template-lint-enable intercom/no-legacy-dropdown --}}\\n  {{#each dropdownOptions as |option|}}\\n    <LinkTo\\n      @route={{messageRoute}}\\n      @model={{message.id}}\\n      @query={{hash\\n        viewing=\\\"goal\\\"\\n        inverted=false\\n        version=version\\n        goalFilter=option.goalFilter\\n      }}\\n      class=\\\"dropdown__list-item flex items-start o__hoverable u__prevent-breaks\\\"\\n      data-test-goal-filter-dropdown-option={{option.label}}\\n    >\\n      <span class=\\\"flex-auto min-w-0\\\">{{option.label}}</span>\\n      {{#if (eq selectedOption option)}}<span class=\\\"f__custom-select__check flex items-start o__selected\\\">{{ic-interface-icon \\\"small-check\\\" solo=true}}</span>{{/if}}\\n    </LinkTo>\\n  {{/each}}\\n</DropdownComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-dropdown --}}\\n<DropdownComponent @title={{selectedOption.label}} data-test-goal-filter-dropdown={{true}}>\\n  {{!-- template-lint-enable intercom/no-legacy-dropdown --}}\\n  {{#each dropdownOptions as |option|}}\\n    <LinkTo\\n      @route={{messageRoute}}\\n      @model={{message.id}}\\n      @query={{hash\\n        viewing=\\\"goal\\\"\\n        inverted=false\\n        version=version\\n        goalFilter=option.goalFilter\\n      }}\\n      class=\\\"dropdown__list-item flex items-start o__hoverable u__prevent-breaks\\\"\\n      data-test-goal-filter-dropdown-option={{option.label}}\\n    >\\n      <span class=\\\"flex-auto min-w-0\\\">{{option.label}}</span>\\n      {{#if (eq selectedOption option)}}<span class=\\\"f__custom-select__check flex items-start o__selected\\\">{{ic-interface-icon \\\"small-check\\\" solo=true}}</span>{{/if}}\\n    </LinkTo>\\n  {{/each}}\\n</DropdownComponent>\\n\",\"moduleName\":\"embercom/components/message-editor/stats/statistic-filters/goal-filter-dropdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/stats/statistic-filters/goal-filter-dropdown.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { isBlank } from '@ember/utils';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\nimport getMessageRoute from 'embercom/lib/messages/message-router';\n\nexport default Component.extend({\n  message: notImplemented(),\n  version: notImplemented(),\n  goalFilter: notImplemented(),\n\n  messageRoute: computed('message', function() {\n    return getMessageRoute(this.message);\n  }),\n\n  dropdownOptions: [\n    {\n      label: 'After sent',\n      goalFilter: null,\n    },\n    {\n      label: 'After opened',\n      goalFilter: 'had_opened',\n    },\n    {\n      label: 'After clicked',\n      goalFilter: 'had_clicked',\n    },\n  ],\n  selectedOption: computed('dropdownOptions', 'goalFilter', function() {\n    if (isBlank(this.goalFilter)) {\n      return this.get('dropdownOptions.firstObject');\n    }\n    return this.dropdownOptions.findBy('goalFilter', this.goalFilter);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-dropdown --}}\\n<DropdownComponent @title={{selectedOption.label}} data-test-reaction-filter-dropdown={{true}}>\\n  {{!-- template-lint-enable intercom/no-legacy-dropdown --}}\\n  {{#each dropdownOptions as |option|}}\\n    <LinkTo\\n      @route={{messageRoute}}\\n      @model={{message.id}}\\n      @query={{hash\\n        viewing=\\\"reactions\\\"\\n        inverted=false\\n        version=version\\n        reaction=option.reactionIndex\\n      }}\\n      class=\\\"dropdown__list-item flex items-start o__hoverable u__prevent-breaks\\\"\\n      data-test-reaction-filter-dropdown-option={{option.label}}\\n    >\\n      <span class=\\\"flex-auto min-w-0\\\">{{option.label}}</span>\\n      {{#if (eq selectedOption option)}}<span class=\\\"f__custom-select__check flex items-start\\\" data-test-reaction-filter-dropdown-selected={{option.label}}>{{ic-interface-icon \\\"small-check\\\" solo=true}}</span>{{/if}}\\n    </LinkTo>\\n  {{/each}}\\n</DropdownComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-dropdown --}}\\n<DropdownComponent @title={{selectedOption.label}} data-test-reaction-filter-dropdown={{true}}>\\n  {{!-- template-lint-enable intercom/no-legacy-dropdown --}}\\n  {{#each dropdownOptions as |option|}}\\n    <LinkTo\\n      @route={{messageRoute}}\\n      @model={{message.id}}\\n      @query={{hash\\n        viewing=\\\"reactions\\\"\\n        inverted=false\\n        version=version\\n        reaction=option.reactionIndex\\n      }}\\n      class=\\\"dropdown__list-item flex items-start o__hoverable u__prevent-breaks\\\"\\n      data-test-reaction-filter-dropdown-option={{option.label}}\\n    >\\n      <span class=\\\"flex-auto min-w-0\\\">{{option.label}}</span>\\n      {{#if (eq selectedOption option)}}<span class=\\\"f__custom-select__check flex items-start\\\" data-test-reaction-filter-dropdown-selected={{option.label}}>{{ic-interface-icon \\\"small-check\\\" solo=true}}</span>{{/if}}\\n    </LinkTo>\\n  {{/each}}\\n</DropdownComponent>\\n\",\"moduleName\":\"embercom/components/message-editor/stats/statistic-filters/reaction-filter-dropdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/stats/statistic-filters/reaction-filter-dropdown.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { map } from '@ember/object/computed';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\nimport getMessageRoute from 'embercom/lib/messages/message-router';\n\nexport default Component.extend({\n  message: notImplemented('message'),\n  version: notImplemented('version'),\n  reactions: notImplemented('reactions'),\n  selectedReaction: notImplemented('selectedReaction'),\n\n  messageRoute: computed('message', function() {\n    return getMessageRoute(this.message);\n  }),\n\n  selectedReactionAsString: computed('selectedReaction', function() {\n    return this.selectedReaction === null ? this.selectedReaction : String(this.selectedReaction);\n  }),\n  dropdownOptions: computed('reactionIndexOptions.[]', function() {\n    return [\n      {\n        label: `Show all reactions`,\n        reactionIndex: null,\n      },\n    ].concat(this.reactionIndexOptions);\n  }),\n  reactionIndexOptions: map('reactions', function(reaction, index) {\n    return {\n      label: `Responded with ${reaction.get('unicodeEmoticon')}`,\n      reactionIndex: String(index),\n    };\n  }),\n  selectedOption: computed('dropdownOptions.[]', 'selectedReactionAsString', function() {\n    return this.dropdownOptions.find(\n      option => option.reactionIndex === this.selectedReactionAsString,\n    );\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-dropdown --}}\\n<DropdownComponent @title={{selectedOption.label}} data-test-statistic-filter-dropdown={{true}}>\\n  {{!-- template-lint-enable intercom/no-legacy-dropdown --}}\\n  {{#each dropdownOptions as |option index|}}\\n    <LinkTo\\n      @route={{messageRoute}}\\n      @model={{message.id}}\\n      @query={{hash\\n        viewing=option.statistic\\n        version=version\\n        inverted=option.inverted\\n        reaction=null\\n      }}\\n      class=\\\"dropdown__list-item flex items-start o__hoverable u__prevent-breaks\\\"\\n      data-test-statistic-filter-dropdown-option={{index}}\\n    >\\n      <span class=\\\"flex-auto min-w-0\\\">{{option.label}}</span>\\n      {{#if (eq selectedOption option)}}<span class=\\\"f__custom-select__check flex items-start o__selected\\\">{{ic-interface-icon \\\"small-check\\\" solo=true}}</span>{{/if}}\\n    </LinkTo>\\n  {{/each}}\\n</DropdownComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-dropdown --}}\\n<DropdownComponent @title={{selectedOption.label}} data-test-statistic-filter-dropdown={{true}}>\\n  {{!-- template-lint-enable intercom/no-legacy-dropdown --}}\\n  {{#each dropdownOptions as |option index|}}\\n    <LinkTo\\n      @route={{messageRoute}}\\n      @model={{message.id}}\\n      @query={{hash\\n        viewing=option.statistic\\n        version=version\\n        inverted=option.inverted\\n        reaction=null\\n      }}\\n      class=\\\"dropdown__list-item flex items-start o__hoverable u__prevent-breaks\\\"\\n      data-test-statistic-filter-dropdown-option={{index}}\\n    >\\n      <span class=\\\"flex-auto min-w-0\\\">{{option.label}}</span>\\n      {{#if (eq selectedOption option)}}<span class=\\\"f__custom-select__check flex items-start o__selected\\\">{{ic-interface-icon \\\"small-check\\\" solo=true}}</span>{{/if}}\\n    </LinkTo>\\n  {{/each}}\\n</DropdownComponent>\\n\",\"moduleName\":\"embercom/components/message-editor/stats/statistic-filters/statistic-filter-dropdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/stats/statistic-filters/statistic-filter-dropdown.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\nimport getMessageRoute from 'embercom/lib/messages/message-router';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  statistic: notImplemented(),\n  message: notImplemented(),\n  version: notImplemented(),\n  inverted: notImplemented(),\n\n  options: [\n    {\n      statistic: 'opened',\n      label: 'Opened',\n      inverted: false,\n    },\n    {\n      statistic: 'opened',\n      label: `Haven't opened`,\n      inverted: true,\n    },\n    {\n      statistic: 'conversations',\n      label: 'Replies',\n      inverted: false,\n    },\n    {\n      statistic: 'replied',\n      label: 'Replied',\n      inverted: false,\n    },\n    {\n      statistic: 'replied',\n      label: `Haven't replied`,\n      inverted: true,\n    },\n  ],\n\n  messageRoute: computed('message', function() {\n    return getMessageRoute(this.message);\n  }),\n  selectedOption: computed('options', 'statistic', 'inverted', function() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_statistic',\n      place: 'message_editor',\n      object: 'message',\n      statistic: this.statistic,\n      has_completed_action: !this.inverted,\n    });\n\n    return this.options.find(\n      option => option.statistic === this.statistic && option.inverted === this.inverted,\n    );\n  }),\n  dropdownOptions: computed('options', 'statistic', function() {\n    return this.options\n      .filter(option => this._shouldDisplayOption(option.statistic, option.inverted))\n      .filter(option => this._matchesOption(option.statistic));\n  }),\n  // TODO for engage: This logic is hard to grep, someone with context should modify to follow the no-mixed-operators rule https://eslint.org/docs/rules/no-mixed-operators\n  /* eslint-disable no-mixed-operators */\n  _matchesOption(statistic) {\n    return (\n      statistic === this.statistic ||\n      (statistic === 'replied' && this.statistic === 'conversations') ||\n      (statistic === 'conversations' && this.statistic === 'replied')\n    );\n  },\n  /* eslint-enable no-mixed-operators */\n  _shouldDisplayOption(statistic, inverted) {\n    return !(this.get('message.isVisitorAutoMessage') && statistic === 'replied' && inverted);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box message__editor__stats__spacer\\\"></div>\\n{{yield}}\\n<div class=\\\"layout__box message__editor__stats__spacer o__flexes-to-1\\\"></div>\\n\", {\"contents\":\"<div class=\\\"layout__box message__editor__stats__spacer\\\"></div>\\n{{yield}}\\n<div class=\\\"layout__box message__editor__stats__spacer o__flexes-to-1\\\"></div>\\n\",\"moduleName\":\"embercom/components/message-editor/stats/tab-container.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/stats/tab-container.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { and } from '@ember/object/computed';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  classNames: [\n    'message__editor__stats__container',\n    'layout__box',\n    'o__flexes-to-1',\n    'o__has-columns',\n  ],\n  classNameBindings: ['hideComponent:u__hidden', 'isEditing:o__collapsed'],\n  hideComponent: and('variation.hasNotBeenSent', 'variation.isNotLive'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<td class=\\\"tbl__cell t__centered message__editor__stats__user-list-load-additional\\\" colspan=\\\"100%\\\">\\n  <a class=\\\"t__em-link test__message__editor__stats__user-list-load-additional-link\\\" {{action reloadList}}>{{additionalUsersText}}</a>\\n</td>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<td class=\\\"tbl__cell t__centered message__editor__stats__user-list-load-additional\\\" colspan=\\\"100%\\\">\\n  <a class=\\\"t__em-link test__message__editor__stats__user-list-load-additional-link\\\" {{action reloadList}}>{{additionalUsersText}}</a>\\n</td>\\n\",\"moduleName\":\"embercom/components/message-editor/stats/tables/additional-users-info-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/stats/tables/additional-users-info-row.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport pluralize from 'embercom/lib/inflector';\nimport toSentence from 'embercom/lib/to-sentence';\n\nexport default Component.extend({\n  tagName: 'tr',\n  'data-test-additional-users-row': true,\n  additionalUsersText: computed(\n    'statistic',\n    'message.selectionState.userTypes',\n    'countDifference',\n    function() {\n      let messageOrVersionLabel = this.get('message.hasMultipleVariations') ? 'version' : 'message';\n      let countDifference = this.countDifference;\n      let userLabels = toSentence(\n        this.get('message.selectionState.userTypes').map(userLabel =>\n          pluralize(userLabel, countDifference),\n        ),\n      );\n      switch (this.statistic) {\n        case 'audience':\n          return `View ${countDifference} new ${userLabels} who received this ${messageOrVersionLabel}`;\n        case 'sent':\n          return `View ${countDifference} new ${userLabels} who received this ${messageOrVersionLabel}`;\n        case 'opened':\n          return `View ${countDifference} new ${userLabels} who opened this ${messageOrVersionLabel}`;\n        case 'replied':\n          return `View ${countDifference} new ${userLabels} who replied to this ${messageOrVersionLabel}`;\n        case 'responded':\n          return `View ${countDifference} new ${userLabels} who responded to this ${messageOrVersionLabel}`;\n        case 'clicked':\n          return `View ${countDifference} new ${userLabels} who clicked this ${messageOrVersionLabel}`;\n        case 'bounced':\n          return `View ${countDifference} new ${userLabels} who bounced for this ${messageOrVersionLabel}`;\n        case 'unsubscribed':\n          return `View ${countDifference} new ${userLabels} who unsubscribed due to this ${messageOrVersionLabel}`;\n        case 'failed':\n          return `View ${countDifference} new ${userLabels} who failed to receive this ${messageOrVersionLabel}`;\n        case 'complained':\n          return `View ${countDifference} new ${userLabels} who marked this ${messageOrVersionLabel} as spam`;\n        case 'goal':\n          return `View ${countDifference} new ${userLabels} who hit the goal of this ${messageOrVersionLabel}`;\n        default:\n          return `View ${countDifference} new ${userLabels} who performed this action`;\n      }\n    },\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showPreColumn}}\\n  <td class=\\\"tbl__cell\\\"></td>\\n{{/if}}\\n<td class=\\\"tbl__cell t__centered message__editor__stats__user-list-deleted-users t__light-text\\\">\\n  {{ic-interface-icon 'info'}} {{deletedUsersText}}\\n</td>\\n{{#each emptyColumns}}\\n  <td class=\\\"tbl__cell t__light-text test__extra-column\\\">&mdash;</td>\\n{{/each}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showPreColumn}}\\n  <td class=\\\"tbl__cell\\\"></td>\\n{{/if}}\\n<td class=\\\"tbl__cell t__centered message__editor__stats__user-list-deleted-users t__light-text\\\">\\n  {{ic-interface-icon 'info'}} {{deletedUsersText}}\\n</td>\\n{{#each emptyColumns}}\\n  <td class=\\\"tbl__cell t__light-text test__extra-column\\\">&mdash;</td>\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/message-editor/stats/tables/deleted-users-info-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/stats/tables/deleted-users-info-row.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { computed } from '@ember/object';\nimport pluralize from 'embercom/lib/inflector';\nimport ListRow from './list-row';\nimport numberFormatter from 'embercom/lib/number-formatter';\n\nexport default ListRow.extend({\n  label: 'user',\n  showPreColumn: true,\n  tagName: 'tr',\n  'data-test-deleted-users-row': true,\n\n  deletedUsersText: computed('statistic', 'types', 'countDifference', function() {\n    let label = this.label;\n    let countDifference = numberFormatter(this.countDifference);\n    let userLabel = this.types.map(type => pluralize(type, countDifference)).join(' or ');\n    let hasOrHave = pluralize('has', countDifference);\n    let isOrAre = pluralize('is', countDifference);\n    switch (this.statistic) {\n      case 'audience':\n        return `${countDifference} ${userLabel} who received this ${label} ${hasOrHave} since been deleted`;\n      case 'sent':\n        return `${countDifference} ${userLabel} who received this ${label} ${hasOrHave} since been deleted`;\n      case 'opened':\n        return `${countDifference} ${userLabel} who opened this ${label} ${hasOrHave} since been deleted`;\n      case 'replied':\n        return `${countDifference} ${userLabel} who replied to this ${label} ${hasOrHave} since been deleted`;\n      case 'responded':\n        return `${countDifference} ${userLabel} who responded to this ${label} ${hasOrHave} since been deleted`;\n      case 'clicked':\n        return `${countDifference} ${userLabel} who clicked this ${label} ${hasOrHave} since been deleted`;\n      case 'bounced':\n        return `${countDifference} ${userLabel} who bounced ${hasOrHave} since been deleted`;\n      case 'unsubscribed':\n        return `${countDifference} ${userLabel} who unsubscribed ${hasOrHave} since been deleted`;\n      case 'failed':\n        return `${countDifference} ${userLabel} who failed to receive this ${label} ${hasOrHave} since been deleted`;\n      case 'complained':\n        return `${countDifference} ${userLabel} who marked this ${label} as spam ${hasOrHave} since been deleted`;\n      case 'goal':\n        return `${countDifference} ${userLabel} who hit the goal ${hasOrHave} since been deleted`;\n      case 'in-campaign':\n        return `${countDifference} ${userLabel} who ${isOrAre} in the ${label} ${hasOrHave} since been deleted`;\n      case 'entered':\n        return `${countDifference} ${userLabel} who entered this ${label} ${hasOrHave} since been deleted`;\n      case 'exited':\n        return `${countDifference} ${userLabel} who exited this ${label} ${hasOrHave} since been deleted`;\n      default:\n        return `${countDifference} ${userLabel} who performed this action ${hasOrHave} since been deleted`;\n    }\n  }),\n  emptyColumns: computed('columns', function() {\n    return new Array(this.get('columns.length') - 1).fill(0);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#each this.headers as |header|}}\\n  <th class=\\\"tbl__cell t__label message__editor__stats__user-list-header\\\" data-test-user-list-header>\\n    {{#if (eq header 'User')}}\\n      <IcTooltipIcon @content=\\\"Looking for the select-all checkbox? Just use the buttons above to message or tag these people.\\\" />\\n    {{/if}}\\n    {{header}}\\n  </th>\\n{{/each}}\\n\", {\"contents\":\"{{#each this.headers as |header|}}\\n  <th class=\\\"tbl__cell t__label message__editor__stats__user-list-header\\\" data-test-user-list-header>\\n    {{#if (eq header 'User')}}\\n      <IcTooltipIcon @content=\\\"Looking for the select-all checkbox? Just use the buttons above to message or tag these people.\\\" />\\n    {{/if}}\\n    {{header}}\\n  </th>\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/message-editor/stats/tables/list-headers.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/stats/tables/list-headers.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport statsTableHelper from 'embercom/lib/messages/stats-tables-helper';\n\nexport default Component.extend({\n  tagName: 'thead',\n\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  headers: computed('statistic', function() {\n    let userType = this.get('variation.message.selectionState.isTargetingUsers')\n      ? ['User']\n      : ['Person'];\n    return userType.pushObjects(this._headersForCurrentStatistic());\n  }),\n\n  _headersForCurrentStatistic() {\n    let statistic = this.statistic;\n\n    if (this.get('variation.isControlGroup')) {\n      return statsTableHelper.getHeadersForControlGroup(statistic);\n    }\n\n    let headers = this.get('app.canUseBetterClickData')\n      ? statsTableHelper.getHeadersForStatWithBetterClickDataFF(statistic)\n      : statsTableHelper.getHeadersForStat(statistic);\n    if (!headers) {\n      headers = this._generateHeadersBasedOnVariationType();\n    }\n\n    if (this.get('variation.message.hasNoGoal')) {\n      headers = statsTableHelper.filterGoalHeaderFromHeaders(headers);\n    }\n\n    return headers;\n  },\n\n  _generateHeadersBasedOnVariationType() {\n    if (this.get('variation.isReactionOrLWRReply')) {\n      return statsTableHelper.getHeadersForVariation('reactions');\n    }\n    if (this.get('variation.isMobilePush')) {\n      return statsTableHelper.getHeadersForVariation('push');\n    }\n    return statsTableHelper.getStandardHeaders();\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield}}\\n{{#each columns as |column|}}\\n  {{#unless summaryConversation.user}}\\n    <MessageEditor::Stats::Tables::TextCell @text={{ghost-text 40}} />\\n  {{else if\\n    (or\\n      (eq column \\\"respondedWith\\\")\\n      (eq column \\\"user.email\\\")\\n      (eq column \\\"linksClickedCount\\\")\\n    )}}\\n    <MessageEditor::Stats::Tables::TextCell @text={{get summaryConversation column}} />\\n  {{else}}\\n    <MessageEditor::Stats::Tables::TimeCell @time={{get summaryConversation column}} />\\n  {{/unless}}\\n{{/each}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield}}\\n{{#each columns as |column|}}\\n  {{#unless summaryConversation.user}}\\n    <MessageEditor::Stats::Tables::TextCell @text={{ghost-text 40}} />\\n  {{else if\\n    (or\\n      (eq column \\\"respondedWith\\\")\\n      (eq column \\\"user.email\\\")\\n      (eq column \\\"linksClickedCount\\\")\\n    )}}\\n    <MessageEditor::Stats::Tables::TextCell @text={{get summaryConversation column}} />\\n  {{else}}\\n    <MessageEditor::Stats::Tables::TimeCell @time={{get summaryConversation column}} />\\n  {{/unless}}\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/message-editor/stats/tables/list-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/stats/tables/list-row.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport statsTableHelper from 'embercom/lib/messages/stats-tables-helper';\n\nexport default Component.extend({\n  tagName: 'tr',\n  classNames: ['tbl__user-list-row'],\n\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  columns: computed('statistic', function() {\n    let statistic = this.statistic;\n\n    if (this.get('variation.isControlGroup')) {\n      return statsTableHelper.getColumnsForControlGroup(statistic);\n    }\n\n    let columns = this.get('app.canUseBetterClickData')\n      ? statsTableHelper.getColumnsForStatWithBetterClickDataFF(statistic)\n      : statsTableHelper.getColumnsForStat(statistic);\n    if (!columns) {\n      columns = this._generateColumnsBasedOnVariationType();\n    }\n\n    if (this.get('variation.message.hasNoGoal')) {\n      columns = statsTableHelper.filterGoalColumnFromColumns(columns);\n    }\n\n    return columns;\n  }),\n\n  _generateColumnsBasedOnVariationType() {\n    if (this.get('variation.isReactionOrLWRReply')) {\n      return statsTableHelper.getColumnsForVariation('reactions');\n    }\n    if (this.get('variation.isMobilePush')) {\n      return statsTableHelper.getColumnsForVariation('push');\n    }\n    return statsTableHelper.getStandardColumns();\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcEmptyState\\n  @icon=\\\"people\\\"\\n  @title={{noResultsText}}\\n  data-test-no-stats-to-display={{true}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcEmptyState\\n  @icon=\\\"people\\\"\\n  @title={{noResultsText}}\\n  data-test-no-stats-to-display={{true}}\\n/>\\n\",\"moduleName\":\"embercom/components/message-editor/stats/tables/no-results-filler.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/stats/tables/no-results-filler.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport toSentence from 'embercom/lib/to-sentence';\n\nexport default Component.extend({\n  noResultsText: computed(\n    'statistic',\n    'message.selectionState.pluralUserTypes',\n    'message.hasMultipleVariations',\n    'goalFilter',\n    function() {\n      let pluralUserTypes = toSentence(this.get('message.selectionState.pluralUserTypes'), 'or');\n      let messageOrVersionLabel = this.get('message.hasMultipleVariations') ? 'version' : 'message';\n\n      switch (this.statistic) {\n        case 'pending':\n          return `There are no pending deliveries for this ${messageOrVersionLabel}`;\n        case 'sent':\n          return `No ${pluralUserTypes} were sent this ${messageOrVersionLabel}`;\n        case 'opened':\n          return `No ${pluralUserTypes} have opened this ${messageOrVersionLabel}`;\n        case 'replied':\n          return `No ${pluralUserTypes} have replied to this ${messageOrVersionLabel}`;\n        case 'responded':\n          return `No ${pluralUserTypes} have responded to this ${messageOrVersionLabel}`;\n        case 'clicked':\n          return `No ${pluralUserTypes} have clicked on this ${messageOrVersionLabel}`;\n        case 'bounced':\n          return `No ${pluralUserTypes} have bounced for this ${messageOrVersionLabel}`;\n        case 'unsubscribed':\n          return `No ${pluralUserTypes} unsubscribed due to this ${messageOrVersionLabel}`;\n        case 'failed':\n          return `No ${pluralUserTypes} failed to receive this ${messageOrVersionLabel}`;\n        case 'complained':\n          return `No ${pluralUserTypes} marked this ${messageOrVersionLabel} as spam`;\n        case 'goal':\n          if (this.goalFilter === 'had_clicked') {\n            return `No ${pluralUserTypes} have met the goal after clicking this ${messageOrVersionLabel}`;\n          } else if (this.goalFilter === 'had_opened') {\n            return `No ${pluralUserTypes} have met the goal after opening this ${messageOrVersionLabel}`;\n          } else {\n            return `No ${pluralUserTypes} have met the goal of this ${messageOrVersionLabel}`;\n          }\n        default:\n          return `No ${pluralUserTypes} have done this action`;\n      }\n    },\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span class=\\\"test__message__editor__stats__text-cell\\\">\\n  {{this.text}}\\n</span>\", {\"contents\":\"<span class=\\\"test__message__editor__stats__text-cell\\\">\\n  {{this.text}}\\n</span>\",\"moduleName\":\"embercom/components/message-editor/stats/tables/text-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/stats/tables/text-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  tagName: 'td',\n  classNames: ['tbl__cell'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"test__message__editor__stats__time-cell\\\" {{tooltip content=(full-date-and-time-helper time) isDisabled=hasNoTime}}>\\n  {{full-relative-time-ago-helper time fallback='Never'}}\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"test__message__editor__stats__time-cell\\\" {{tooltip content=(full-date-and-time-helper time) isDisabled=hasNoTime}}>\\n  {{full-relative-time-ago-helper time fallback='Never'}}\\n</span>\\n\",\"moduleName\":\"embercom/components/message-editor/stats/tables/time-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/stats/tables/time-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { empty } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  tagName: 'td',\n  classNames: ['tbl__cell'],\n  hasNoTime: empty('time'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if @recipient}}\\n  <input type=\\\"checkbox\\\" class=\\\"tbl__user-list-checkbox\\\" checked={{selected}} onclick={{action update value=\\\"target.checked\\\"}} data-test-user-checkbox={{@recipient.displayAs}}>\\n  <span class=\\\"avatar__container o__s\\\">\\n    {{#if @recipient.isVisitor}}\\n      {{ic-avatar direct=@recipient.avatarData size='s' contained=true}}\\n      <span data-test-display-as>{{@recipient.displayAs}}</span>\\n    {{else}}\\n      <a href=\\\"{{href-to 'apps.app.users.user.all-conversations' @recipient.userId}}\\\" data-test-user-link class=\\\"u__all-pointer-events t__solo-link\\\">\\n        {{ic-avatar direct=@recipient.avatarData size='s' contained=true}}\\n        <span data-test-display-as>{{@recipient.displayAs}}</span>\\n      </a>\\n    {{/if}}\\n  </span>\\n{{else}}\\n  <span class=\\\"ghost__container\\\">\\n    <input type=\\\"checkbox\\\" class=\\\"tbl__user-list-checkbox-ghost\\\" disabled=\\\"true\\\">\\n    <span data-test-ghost-avatar><GhostAvatar/>{{ghost-text 100}}</span>\\n  </span>\\n{{/if}}\\n{{#if firstCompany}}\\n  <span class=\\\"text-gray u__ml__5 u__mr__5\\\">\\n    at\\n  </span>\\n  <a class=\\\"t__solo-link\\\" href=\\\"{{href-to 'apps.app.companies.company' firstCompany.id}}\\\" data-test-company-name>\\n    {{ic-interface-icon 'company'}} {{firstCompany.name}}\\n  </a>\\n  {{#if (gt remainingCompanyCount 0)}}\\n    <span class=\\\"text-gray\\\" data-test-additional-companies> and {{remainingCompanyCount}} {{inflector-helper 'other' remainingCompanyCount}}</span>\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if @recipient}}\\n  <input type=\\\"checkbox\\\" class=\\\"tbl__user-list-checkbox\\\" checked={{selected}} onclick={{action update value=\\\"target.checked\\\"}} data-test-user-checkbox={{@recipient.displayAs}}>\\n  <span class=\\\"avatar__container o__s\\\">\\n    {{#if @recipient.isVisitor}}\\n      {{ic-avatar direct=@recipient.avatarData size='s' contained=true}}\\n      <span data-test-display-as>{{@recipient.displayAs}}</span>\\n    {{else}}\\n      <a href=\\\"{{href-to 'apps.app.users.user.all-conversations' @recipient.userId}}\\\" data-test-user-link class=\\\"u__all-pointer-events t__solo-link\\\">\\n        {{ic-avatar direct=@recipient.avatarData size='s' contained=true}}\\n        <span data-test-display-as>{{@recipient.displayAs}}</span>\\n      </a>\\n    {{/if}}\\n  </span>\\n{{else}}\\n  <span class=\\\"ghost__container\\\">\\n    <input type=\\\"checkbox\\\" class=\\\"tbl__user-list-checkbox-ghost\\\" disabled=\\\"true\\\">\\n    <span data-test-ghost-avatar><GhostAvatar/>{{ghost-text 100}}</span>\\n  </span>\\n{{/if}}\\n{{#if firstCompany}}\\n  <span class=\\\"text-gray u__ml__5 u__mr__5\\\">\\n    at\\n  </span>\\n  <a class=\\\"t__solo-link\\\" href=\\\"{{href-to 'apps.app.companies.company' firstCompany.id}}\\\" data-test-company-name>\\n    {{ic-interface-icon 'company'}} {{firstCompany.name}}\\n  </a>\\n  {{#if (gt remainingCompanyCount 0)}}\\n    <span class=\\\"text-gray\\\" data-test-additional-companies> and {{remainingCompanyCount}} {{inflector-helper 'other' remainingCompanyCount}}</span>\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/stats/tables/user-and-avatar-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/stats/tables/user-and-avatar-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { subtractFrom } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  tagName: 'td',\n  classNames: ['tbl__cell'],\n  firstCompany: readOnly('recipient.companies.firstObject'),\n  remainingCompanyCount: subtractFrom('recipient.companies.length', 1),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Common::SelectableList @list={{summaryConversations}} as |selectableList|>\\n  <div class=\\\"layout__box o__has-columns u__pad__20\\\">\\n    {{#unless canUseBetterClickData}}\\n      <div class=\\\"layout__box o__has-columns o__flexes-to-1 u__padt__15\\\">\\n        <h2 class=\\\"t__h2 u__padt__5 u__padl__15\\\">\\n          {{#if hasTotalCount}}\\n            {{totalCount}} {{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes totalCount)}}\\n          {{/if}}\\n        </h2>\\n        {{#if showBulkActions}}\\n          <div class=\\\"layout__box o__has-columns u__ml__10\\\">\\n            <MessageEditor::Stats::BulkActions\\n              @message={{message}}\\n              @variation={{variation}}\\n              @totalCount={{totalCount}}\\n              @selectedTargetTypes={{selectedTargetTypes}}\\n              @selectedCount={{selectableList.selectedCount}}\\n              @bulkMessage={{bulkMessage}}\\n              @bulkTag={{bulkTag}}\\n            />\\n            {{#if selectableList.selectedCount}}\\n              <div class=\\\"u__padt__5 u__ml__10\\\">\\n                <span class=\\\"t__group-label\\\" data-test-user-selected-label>\\n                  {{selectableList.selectedCount}} selected\\n                </span>\\n              </div>\\n            {{/if}}\\n          </div>\\n        {{/if}}\\n      </div>\\n      {{#if (eq statistic \\\"bounced\\\")}}\\n        <div class=\\\"u__padt__5 u__mr__20\\\">\\n          <a\\n            href=\\\"{{bouncedFilterUrl}}\\\"\\n            class=\\\"t__em-link\\\"\\n            target=\\\"_blank\\\"\\n            rel=\\\"noopener noreferrer\\\"\\n            data-test-manage-bounces-link\\n          >\\n            Manage all bounced users\\n          </a>\\n        </div>\\n      {{/if}}\\n      <MessageEditor::Stats::StatisticFilters\\n        @message={{message}}\\n        @version={{version}}\\n        @statistic={{statistic}}\\n        @inverted={{inverted}}\\n        @reactions={{variation.reactions}}\\n        @selectedReaction={{selectedReaction}}\\n        @goalFilter={{goalFilter}}\\n      />\\n    {{/unless}}\\n  </div>\\n  <div class=\\\"layout__box message__editor__stats__user-list-container u__relative\\\">\\n    {{#if (and canUseBetterClickData isNotVisitorAutoMessage)}}\\n      <MessageEditor::Stats::ClickedLinksSwitcher\\n        @statistic={{statistic}}\\n        @canUseBetterClickData={{canUseBetterClickData}}\\n        @usersIsActive={{usersIsActive}}\\n        @linksIsActive={{linksIsActive}}\\n        @changeClickedStatsSubTab={{action \\\"changeClickedStatsSubTab\\\"}}\\n      />\\n      <div class=\\\"layout__box o__has-columns o__flexes-to-1 u__padt__15\\\">\\n        <div class=\\\"layout__box o__has-columns o__flexes-to-1\\\">\\n          {{#if showBulkActions}}\\n            <h2 class=\\\"t__h2 u__padt__5 u__padl__15\\\">\\n              {{#if hasTotalCount}}\\n                {{totalCount}}\\n                {{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes totalCount)}}\\n              {{/if}}\\n            </h2>\\n            <div class=\\\"layout__box o__has-columns u__ml__10\\\">\\n              <MessageEditor::Stats::BulkActions\\n                @message={{message}}\\n                @variation={{variation}}\\n                @totalCount={{totalCount}}\\n                @selectedTargetTypes={{selectedTargetTypes}}\\n                @selectedCount={{selectableList.selectedCount}}\\n                @bulkMessage={{bulkMessage}}\\n                @bulkTag={{bulkTag}}\\n              />\\n              {{#if selectableList.selectedCount}}\\n                <div class=\\\"u__padt__5 u__ml__10\\\">\\n                  <span class=\\\"t__group-label\\\" data-test-user-selected-label>\\n                    {{selectableList.selectedCount}} selected\\n                  </span>\\n                </div>\\n              {{/if}}\\n            </div>\\n          {{/if}}\\n        </div>\\n        <div>\\n          {{#if\\n            (and\\n              canUseBetterClickData\\n              isClickedStat\\n              isNotVisitorAutoMessage\\n              usersIsActive\\n            )\\n          }}\\n            <MessageEditor::Stats::StatisticFilters::ClickedLinkFilterDropdown\\n              @dropdownOptions={{variationLinkItems}}\\n              @message={{message}}\\n              @version={{version}}\\n              @linkFilter={{linkFilter}}\\n            />\\n          {{else}}\\n            <div class=\\\"layout__box o__has-columns\\\">\\n              {{#if (eq statistic \\\"bounced\\\")}}\\n                <div class=\\\"u__padt__5 u__mr__20\\\">\\n                  <a\\n                    href=\\\"{{bouncedFilterUrl}}\\\"\\n                    class=\\\"t__em-link\\\"\\n                    target=\\\"_blank\\\"\\n                    rel=\\\"noopener noreferrer\\\"\\n                    data-test-manage-bounces-link\\n                  >\\n                    Manage all bounced users\\n                  </a>\\n                </div>\\n              {{/if}}\\n              <MessageEditor::Stats::StatisticFilters\\n                @message={{message}}\\n                @version={{version}}\\n                @statistic={{statistic}}\\n                @inverted={{inverted}}\\n                @reactions={{variation.reactions}}\\n                @selectedReaction={{selectedReaction}}\\n                @goalFilter={{goalFilter}}\\n              />\\n            </div>\\n          {{/if}}\\n        </div>\\n      </div>\\n    {{/if}}\\n    {{#if (and canUseBetterClickData isVamAndClickedStat hasTotalCount)}}{{/if}}\\n    {{#if (and linksIsActive isClickedStat)}}\\n      {{#if fetchClickLinksForVariation.isRunning}}\\n        <div class=\\\"layout__box o__flexes-to-1 u__relative\\\">\\n          <span class=\\\"u__center-item\\\">\\n            <IcLoadingIndicator @size=\\\"small\\\" />\\n          </span>\\n        </div>\\n      {{else if (eq variationLinkCount 0)}}\\n        <IcEmptyState\\n          @icon=\\\"link\\\"\\n          @title=\\\"No links clicked yet\\\"\\n          data-test-no-links-clicked={{true}}\\n        />\\n      {{else}}\\n        {{!-- template-lint-disable intercom/no-custom-table --}}\\n        <table class=\\\"tbl o__fit u__mt__15 max-w-full\\\">\\n          {{!-- template-lint-enable intercom/no-custom-table --}}\\n          <tr>\\n            <th class=\\\"tbl__cell t__label\\\" data-test-clicked-links-url>Link</th>\\n            <th class=\\\"tbl__cell t__label\\\" data-test-clicked-links-clicks>Unique clicks</th>\\n          </tr>\\n          <tbody class=\\\"tbl__body\\\">\\n            {{#each variationLinks as |link|}}\\n              <tr>\\n                <td\\n                  class=\\\"tbl__cell message__editor__stats__user-list-clicked-url\\\"\\n                  title={{link.url}}\\n                  data-test-clicked-links-url={{link.url}}\\n                >\\n                  {{link.url}}\\n                  {{#if (eq link.id -1)}}\\n                    <IcTooltip as |context|>\\n                      <context.opener>\\n                        {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\" solo=true}}\\n                      </context.opener>\\n                      <context.content>\\n                        Other includes links contained in email templates, dynamic variable links, and all click events that occurred before 30th Jan 2019.\\n                      </context.content>\\n                    </IcTooltip>\\n                  {{/if}}\\n                </td>\\n                <td class=\\\"tbl__cell message__editor__stats__user-list-clicks\\\" data-test-clicked-links-clicks={{link.clicks}}>\\n                  {{link.clicks}}\\n                </td>\\n              </tr>\\n            {{/each}}\\n          </tbody>\\n        </table>\\n      {{/if}}\\n    {{else if (or hasTotalCount statIncludesDeletedUsers)}}\\n      {{#if usersIsActive}}\\n        <PaginationComponent\\n          @viewportSelector={{viewportSelector}}\\n          @scrollingContentSelector={{scrollingContentSelector}}\\n          @onPageRequested={{action \\\"nextPage\\\"}}\\n        >\\n          {{!-- template-lint-disable intercom/no-custom-table --}}\\n          <table class=\\\"tbl o__fit u__mt__0\\\">\\n            {{!-- template-lint-enable intercom/no-custom-table --}}\\n            <MessageEditor::Stats::Tables::ListHeaders\\n              @variation={{variation}}\\n              @statistic={{statistic}}\\n            />\\n            <tbody class=\\\"tbl__body\\\">\\n              {{#if (and (gt additionalUserCount 0) (not inverted))}}\\n                <MessageEditor::Stats::Tables::AdditionalUsersInfoRow\\n                  @statistic={{statistic}}\\n                  @message={{message}}\\n                  @countDifference={{additionalUserCount}}\\n                  @reloadList={{action \\\"reloadList\\\"}}\\n                />\\n              {{/if}}\\n              {{#if (and statIncludesDeletedUsers (not inverted))}}\\n                <MessageEditor::Stats::Tables::DeletedUsersInfoRow\\n                  @statistic={{statistic}}\\n                  @label={{if message.hasMultipleVariations \\\"version\\\" \\\"message\\\"}}\\n                  @types={{message.selectionState.userTypes}}\\n                  @countDifference={{deletedUsersCount}}\\n                />\\n              {{/if}}\\n              {{#each summaryConversations as |summaryConversation index|}}\\n                <MessageEditor::Stats::Tables::ListRow\\n                  @variation={{variation}}\\n                  @statistic={{statistic}}\\n                  @summaryConversation={{summaryConversation}}\\n                  data-test-message-editor-stats-user-list-row={{index}}\\n                >\\n                  <MessageEditor::Stats::Tables::UserAndAvatarCell\\n                    @recipient={{summaryConversation.user}}\\n                    @selected={{summaryConversation.selected}}\\n                    @update={{action\\n                      selectableList.updateSelection\\n                      summaryConversation\\n                    }}\\n                  />\\n                </MessageEditor::Stats::Tables::ListRow>\\n              {{/each}}\\n            </tbody>\\n          </table>\\n        </PaginationComponent>\\n        {{#if fetchSummaryConversationsForStatistic.isRunning}}\\n          <div class=\\\"layout__box o__flexes-to-1 u__relative\\\">\\n            <span class=\\\"u__center-item\\\">\\n              <IcLoadingIndicator @size=\\\"small\\\" />\\n            </span>\\n          </div>\\n        {{/if}}\\n      {{/if}}\\n    {{else if fetchSummaryConversationsForStatistic.isRunning}}\\n      <div class=\\\"u__center-item\\\" data-test-first-page-loader>\\n        <IcLoadingIndicator @size=\\\"large\\\" />\\n      </div>\\n    {{else}}\\n      <MessageEditor::Stats::Tables::NoResultsFiller\\n        @statistic={{statistic}}\\n        @goalFilter={{goalFilter}}\\n        @message={{message}}\\n      />\\n    {{/if}}\\n  </div>\\n</Common::SelectableList>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Common::SelectableList @list={{summaryConversations}} as |selectableList|>\\n  <div class=\\\"layout__box o__has-columns u__pad__20\\\">\\n    {{#unless canUseBetterClickData}}\\n      <div class=\\\"layout__box o__has-columns o__flexes-to-1 u__padt__15\\\">\\n        <h2 class=\\\"t__h2 u__padt__5 u__padl__15\\\">\\n          {{#if hasTotalCount}}\\n            {{totalCount}} {{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes totalCount)}}\\n          {{/if}}\\n        </h2>\\n        {{#if showBulkActions}}\\n          <div class=\\\"layout__box o__has-columns u__ml__10\\\">\\n            <MessageEditor::Stats::BulkActions\\n              @message={{message}}\\n              @variation={{variation}}\\n              @totalCount={{totalCount}}\\n              @selectedTargetTypes={{selectedTargetTypes}}\\n              @selectedCount={{selectableList.selectedCount}}\\n              @bulkMessage={{bulkMessage}}\\n              @bulkTag={{bulkTag}}\\n            />\\n            {{#if selectableList.selectedCount}}\\n              <div class=\\\"u__padt__5 u__ml__10\\\">\\n                <span class=\\\"t__group-label\\\" data-test-user-selected-label>\\n                  {{selectableList.selectedCount}} selected\\n                </span>\\n              </div>\\n            {{/if}}\\n          </div>\\n        {{/if}}\\n      </div>\\n      {{#if (eq statistic \\\"bounced\\\")}}\\n        <div class=\\\"u__padt__5 u__mr__20\\\">\\n          <a\\n            href=\\\"{{bouncedFilterUrl}}\\\"\\n            class=\\\"t__em-link\\\"\\n            target=\\\"_blank\\\"\\n            rel=\\\"noopener noreferrer\\\"\\n            data-test-manage-bounces-link\\n          >\\n            Manage all bounced users\\n          </a>\\n        </div>\\n      {{/if}}\\n      <MessageEditor::Stats::StatisticFilters\\n        @message={{message}}\\n        @version={{version}}\\n        @statistic={{statistic}}\\n        @inverted={{inverted}}\\n        @reactions={{variation.reactions}}\\n        @selectedReaction={{selectedReaction}}\\n        @goalFilter={{goalFilter}}\\n      />\\n    {{/unless}}\\n  </div>\\n  <div class=\\\"layout__box message__editor__stats__user-list-container u__relative\\\">\\n    {{#if (and canUseBetterClickData isNotVisitorAutoMessage)}}\\n      <MessageEditor::Stats::ClickedLinksSwitcher\\n        @statistic={{statistic}}\\n        @canUseBetterClickData={{canUseBetterClickData}}\\n        @usersIsActive={{usersIsActive}}\\n        @linksIsActive={{linksIsActive}}\\n        @changeClickedStatsSubTab={{action \\\"changeClickedStatsSubTab\\\"}}\\n      />\\n      <div class=\\\"layout__box o__has-columns o__flexes-to-1 u__padt__15\\\">\\n        <div class=\\\"layout__box o__has-columns o__flexes-to-1\\\">\\n          {{#if showBulkActions}}\\n            <h2 class=\\\"t__h2 u__padt__5 u__padl__15\\\">\\n              {{#if hasTotalCount}}\\n                {{totalCount}}\\n                {{format-array-to-sentence (array-inflector-helper message.selectionState.userTypes totalCount)}}\\n              {{/if}}\\n            </h2>\\n            <div class=\\\"layout__box o__has-columns u__ml__10\\\">\\n              <MessageEditor::Stats::BulkActions\\n                @message={{message}}\\n                @variation={{variation}}\\n                @totalCount={{totalCount}}\\n                @selectedTargetTypes={{selectedTargetTypes}}\\n                @selectedCount={{selectableList.selectedCount}}\\n                @bulkMessage={{bulkMessage}}\\n                @bulkTag={{bulkTag}}\\n              />\\n              {{#if selectableList.selectedCount}}\\n                <div class=\\\"u__padt__5 u__ml__10\\\">\\n                  <span class=\\\"t__group-label\\\" data-test-user-selected-label>\\n                    {{selectableList.selectedCount}} selected\\n                  </span>\\n                </div>\\n              {{/if}}\\n            </div>\\n          {{/if}}\\n        </div>\\n        <div>\\n          {{#if\\n            (and\\n              canUseBetterClickData\\n              isClickedStat\\n              isNotVisitorAutoMessage\\n              usersIsActive\\n            )\\n          }}\\n            <MessageEditor::Stats::StatisticFilters::ClickedLinkFilterDropdown\\n              @dropdownOptions={{variationLinkItems}}\\n              @message={{message}}\\n              @version={{version}}\\n              @linkFilter={{linkFilter}}\\n            />\\n          {{else}}\\n            <div class=\\\"layout__box o__has-columns\\\">\\n              {{#if (eq statistic \\\"bounced\\\")}}\\n                <div class=\\\"u__padt__5 u__mr__20\\\">\\n                  <a\\n                    href=\\\"{{bouncedFilterUrl}}\\\"\\n                    class=\\\"t__em-link\\\"\\n                    target=\\\"_blank\\\"\\n                    rel=\\\"noopener noreferrer\\\"\\n                    data-test-manage-bounces-link\\n                  >\\n                    Manage all bounced users\\n                  </a>\\n                </div>\\n              {{/if}}\\n              <MessageEditor::Stats::StatisticFilters\\n                @message={{message}}\\n                @version={{version}}\\n                @statistic={{statistic}}\\n                @inverted={{inverted}}\\n                @reactions={{variation.reactions}}\\n                @selectedReaction={{selectedReaction}}\\n                @goalFilter={{goalFilter}}\\n              />\\n            </div>\\n          {{/if}}\\n        </div>\\n      </div>\\n    {{/if}}\\n    {{#if (and canUseBetterClickData isVamAndClickedStat hasTotalCount)}}{{/if}}\\n    {{#if (and linksIsActive isClickedStat)}}\\n      {{#if fetchClickLinksForVariation.isRunning}}\\n        <div class=\\\"layout__box o__flexes-to-1 u__relative\\\">\\n          <span class=\\\"u__center-item\\\">\\n            <IcLoadingIndicator @size=\\\"small\\\" />\\n          </span>\\n        </div>\\n      {{else if (eq variationLinkCount 0)}}\\n        <IcEmptyState\\n          @icon=\\\"link\\\"\\n          @title=\\\"No links clicked yet\\\"\\n          data-test-no-links-clicked={{true}}\\n        />\\n      {{else}}\\n        {{!-- template-lint-disable intercom/no-custom-table --}}\\n        <table class=\\\"tbl o__fit u__mt__15 max-w-full\\\">\\n          {{!-- template-lint-enable intercom/no-custom-table --}}\\n          <tr>\\n            <th class=\\\"tbl__cell t__label\\\" data-test-clicked-links-url>Link</th>\\n            <th class=\\\"tbl__cell t__label\\\" data-test-clicked-links-clicks>Unique clicks</th>\\n          </tr>\\n          <tbody class=\\\"tbl__body\\\">\\n            {{#each variationLinks as |link|}}\\n              <tr>\\n                <td\\n                  class=\\\"tbl__cell message__editor__stats__user-list-clicked-url\\\"\\n                  title={{link.url}}\\n                  data-test-clicked-links-url={{link.url}}\\n                >\\n                  {{link.url}}\\n                  {{#if (eq link.id -1)}}\\n                    <IcTooltip as |context|>\\n                      <context.opener>\\n                        {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\" solo=true}}\\n                      </context.opener>\\n                      <context.content>\\n                        Other includes links contained in email templates, dynamic variable links, and all click events that occurred before 30th Jan 2019.\\n                      </context.content>\\n                    </IcTooltip>\\n                  {{/if}}\\n                </td>\\n                <td class=\\\"tbl__cell message__editor__stats__user-list-clicks\\\" data-test-clicked-links-clicks={{link.clicks}}>\\n                  {{link.clicks}}\\n                </td>\\n              </tr>\\n            {{/each}}\\n          </tbody>\\n        </table>\\n      {{/if}}\\n    {{else if (or hasTotalCount statIncludesDeletedUsers)}}\\n      {{#if usersIsActive}}\\n        <PaginationComponent\\n          @viewportSelector={{viewportSelector}}\\n          @scrollingContentSelector={{scrollingContentSelector}}\\n          @onPageRequested={{action \\\"nextPage\\\"}}\\n        >\\n          {{!-- template-lint-disable intercom/no-custom-table --}}\\n          <table class=\\\"tbl o__fit u__mt__0\\\">\\n            {{!-- template-lint-enable intercom/no-custom-table --}}\\n            <MessageEditor::Stats::Tables::ListHeaders\\n              @variation={{variation}}\\n              @statistic={{statistic}}\\n            />\\n            <tbody class=\\\"tbl__body\\\">\\n              {{#if (and (gt additionalUserCount 0) (not inverted))}}\\n                <MessageEditor::Stats::Tables::AdditionalUsersInfoRow\\n                  @statistic={{statistic}}\\n                  @message={{message}}\\n                  @countDifference={{additionalUserCount}}\\n                  @reloadList={{action \\\"reloadList\\\"}}\\n                />\\n              {{/if}}\\n              {{#if (and statIncludesDeletedUsers (not inverted))}}\\n                <MessageEditor::Stats::Tables::DeletedUsersInfoRow\\n                  @statistic={{statistic}}\\n                  @label={{if message.hasMultipleVariations \\\"version\\\" \\\"message\\\"}}\\n                  @types={{message.selectionState.userTypes}}\\n                  @countDifference={{deletedUsersCount}}\\n                />\\n              {{/if}}\\n              {{#each summaryConversations as |summaryConversation index|}}\\n                <MessageEditor::Stats::Tables::ListRow\\n                  @variation={{variation}}\\n                  @statistic={{statistic}}\\n                  @summaryConversation={{summaryConversation}}\\n                  data-test-message-editor-stats-user-list-row={{index}}\\n                >\\n                  <MessageEditor::Stats::Tables::UserAndAvatarCell\\n                    @recipient={{summaryConversation.user}}\\n                    @selected={{summaryConversation.selected}}\\n                    @update={{action\\n                      selectableList.updateSelection\\n                      summaryConversation\\n                    }}\\n                  />\\n                </MessageEditor::Stats::Tables::ListRow>\\n              {{/each}}\\n            </tbody>\\n          </table>\\n        </PaginationComponent>\\n        {{#if fetchSummaryConversationsForStatistic.isRunning}}\\n          <div class=\\\"layout__box o__flexes-to-1 u__relative\\\">\\n            <span class=\\\"u__center-item\\\">\\n              <IcLoadingIndicator @size=\\\"small\\\" />\\n            </span>\\n          </div>\\n        {{/if}}\\n      {{/if}}\\n    {{else if fetchSummaryConversationsForStatistic.isRunning}}\\n      <div class=\\\"u__center-item\\\" data-test-first-page-loader>\\n        <IcLoadingIndicator @size=\\\"large\\\" />\\n      </div>\\n    {{else}}\\n      <MessageEditor::Stats::Tables::NoResultsFiller\\n        @statistic={{statistic}}\\n        @goalFilter={{goalFilter}}\\n        @message={{message}}\\n      />\\n    {{/if}}\\n  </div>\\n</Common::SelectableList>\\n\",\"moduleName\":\"embercom/components/message-editor/stats/users-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/stats/users-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { A } from '@ember/array';\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { and, empty, equal, filterBy, mapBy, not, readOnly } from '@ember/object/computed';\nimport { on } from '@ember/object/evented';\nimport { inject as service } from '@ember/service';\nimport { didCancel, task } from 'ember-concurrency';\nimport {\n  lessThanProperty,\n  selectFromObject,\n  subtractProperties,\n  ternary,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport statsKeys from 'embercom/lib/messages/stats-keys';\nimport ajax from 'embercom/lib/ajax';\nimport IMPLICIT_PREDICATES from 'embercom/models/data/messages/implicit-predicates';\nimport B64FilterParamEncoder from 'embercom/vendor/intercom/b64-filter-param-encoder';\n\nexport default Component.extend({\n  notificationsService: service(),\n  intercomEventService: service(),\n\n  classNames: [\n    'layout__box',\n    'o__flexes-to-1',\n    'js__message__editor__users-list',\n    'message__editor__stats__user-list',\n  ],\n  'data-test-message-editor-users-list': true,\n\n  viewportSelector: '.js__message-view-and-edit-component__container',\n  scrollingContentSelector: '.js__message-view-and-edit-component',\n\n  store: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  message: readOnly('variation.message'),\n  variationLinks: ternaryToProperty(\n    'variation.stats.hasClickTrackingLinks',\n    'variation.stats.clickTrackingLinks',\n    'variation.clickTrackingLinks',\n  ),\n  variationLinkCount: readOnly('variationLinks.length'),\n  numberOfVisitors: readOnly('variation.stats.clickCount'),\n  canUseBetterClickData: readOnly('app.canUseBetterClickData'),\n  clicksActiveView: null,\n  usersIsActive: equal('clicksActiveView', 'clicks-users'),\n  linksIsActive: equal('clicksActiveView', 'clicks-links'),\n  isClickedStat: equal('statistic', 'clicked'),\n  isVisitorAutoMessage: readOnly('message.isVisitorAutoMessage'),\n  isNotVisitorAutoMessage: readOnly('message.isNotVisitorAutoMessage'),\n  isVamAndClickedStat: and('isVisitorAutoMessage', 'isClickedStat'),\n  defaultClickedTabView: ternary('isVamAndClickedStat', 'clicks-links', 'clicks-users'),\n  variationLinkItems: computed('variationLinks.{id,url,clicks}', function() {\n    let items = [{ linkFilter: null, label: 'All Links' }];\n    this.variationLinks.forEach(link => {\n      items.push({ linkFilter: link.id, label: link.url });\n    });\n    return items;\n  }),\n\n  currentPage: null,\n  totalCount: null,\n  countAtFirstRequest: null,\n  countAtLastRequest: null,\n  summaryConversations: null,\n  additionalUserCount: null,\n  showNonInverted: not('inverted'),\n\n  isPendingStat: equal('statistic', 'pending'),\n\n  hasTotalCount: computed('totalCount', 'isPendingStat', 'message.isStopped', function() {\n    if (this.isPendingStat && this.get('message.isStopped')) {\n      return false;\n    } else {\n      return this.totalCount > 0;\n    }\n  }),\n\n  hasItemsToLoad: lessThanProperty('summaryConversations.length', 'totalCount'),\n\n  deletedUsersCount: subtractProperties('countAtLastRequest', 'totalCount'),\n\n  statIncludesDeletedUsers: computed(\n    'isPendingStat',\n    'goalFilter',\n    'deletedUsersCount',\n    'linkFilter',\n    function() {\n      if (this.isPendingStat) {\n        return false;\n      } else if (this.goalFilter || this.linkFilter) {\n        return false;\n      } else {\n        return this.deletedUsersCount > 0;\n      }\n    },\n  ),\n\n  selectedSummaries: filterBy('summaryConversations', 'selected', true),\n  selectedTargetTypes: mapBy('selectedSummaries', 'user'),\n\n  isUnsubscribedStat: equal('statistic', 'unsubscribed'),\n  isNotUnsubscribedStat: not('isUnsubscribedStat'),\n  invalidConversations: filterBy('summaryConversations', 'user', null),\n  hasZeroInvalidConversations: empty('invalidConversations'),\n  showBulkActions: and(\n    'isNotUnsubscribedStat',\n    'hasTotalCount',\n    'hasZeroInvalidConversations',\n    'usersIsActive',\n  ),\n\n  bouncedFilterUrl: computed('message.selectionState.isTargetingLeads', function() {\n    return B64FilterParamEncoder.filterUrlFromMessagePredicates(\n      this.get('message.appId'),\n      this.get('message.selectionState.isTargetingLeads'),\n      { predicates: IMPLICIT_PREDICATES.emailBouncedPredicates },\n    );\n  }),\n\n  _setOldFilterProperties() {\n    this.setProperties({\n      _oldStatistic: this.statistic,\n      _oldInverted: this.inverted,\n      _oldSelectedReaction: this.selectedReaction,\n      _oldGoalFilter: this.goalFilter,\n      _oldLinkFilter: this.linkFilter,\n      _oldLastStatUpdate: this.lastStatUpdate,\n    });\n  },\n\n  init() {\n    this._super(...arguments);\n    this._setOldFilterProperties();\n    this.set('clicksActiveView', this.defaultClickedTabView);\n  },\n\n  didUpdateAttrs() {\n    this._super(...arguments);\n    let oldStatistic = this._oldStatistic;\n    let newStatistic = this.statistic;\n\n    let oldInverted = this._oldInverted;\n    let newInverted = this.inverted;\n\n    let oldSelectedReaction = this._oldSelectedReaction;\n    let newSelectedReaction = this.selectedReaction;\n\n    let oldGoalFilter = this._oldGoalFilter;\n    let newGoalFilter = this.goalFilter;\n\n    let oldLinkFilter = this._oldLinkFilter;\n    let newLinkFilter = this.linkFilter;\n\n    let oldLastStatUpdate = this._oldLastStatUpdate;\n    let newLastStatUpdate = this.lastStatUpdate;\n\n    if (\n      oldStatistic !== newStatistic ||\n      oldInverted !== newInverted ||\n      oldSelectedReaction !== newSelectedReaction ||\n      oldGoalFilter !== newGoalFilter ||\n      oldLinkFilter !== newLinkFilter\n    ) {\n      this.resetAndPerformFirstRequest();\n    } else if (oldLastStatUpdate !== newLastStatUpdate) {\n      this._checkForCountChange();\n    }\n    this.set('clicksActiveView', 'clicks-users');\n    this._setOldFilterProperties();\n  },\n\n  _checkForCountChange() {\n    if (this.countAtFirstRequest < this.currentStatCount) {\n      this.set('additionalUserCount', this.currentStatCount - this.countAtFirstRequest);\n    }\n  },\n\n  resetAndPerformFirstRequest: on('didInsertElement', function() {\n    this.cancelPendingRequest();\n    this.setProperties({\n      currentPage: 1,\n      totalCount: null,\n      summaryConversations: A(),\n      countAtFirstRequest: this.currentStatCount,\n      countAtLastRequest: null,\n      additionalUserCount: null,\n    });\n\n    if (this.get('app.canUseBetterClickData') && this.isClickedStat) {\n      this.set('clicksActiveView', this.defaultClickedTabView);\n      this.fetchClickLinksForVariation.perform();\n    }\n\n    this.fetchSummaryConversationsForStatistic.perform();\n  }),\n\n  cancelPendingRequest() {\n    let task = this.fetchSummaryConversationsForStatistic;\n    task.cancelAll();\n  },\n\n  fetchSummaryConversationsForStatistic: task(function*() {\n    try {\n      yield ajax(this._generateAjaxParams()).then(response => {\n        this._parseUserListResponse(response);\n        this.set('countAtLastRequest', this.currentStatCount);\n      });\n    } catch (error) {\n      if (!didCancel(error)) {\n        this.notificationsService.notifyResponseError(error, {\n          default: `We couldn't get the list of users. Send us a message and we'll do our best to help out.`,\n        });\n      }\n    }\n  }).drop(),\n\n  fetchClickLinksForVariation: task(function*() {\n    try {\n      yield ajax({\n        url: `/ember/message_variations/${this.get('variation.id')}/links`,\n        type: 'GET',\n        data: { message_variation_id: this.get('variation.id'), app_id: this.get('message.appId') },\n      }).then(response => {\n        response.links.map(link => {\n          if (this.store.peekRecord('message-variation/click-tracking-link', link.id) === null) {\n            this.get('variation.clickTrackingLinks').pushObject(\n              this.store.createRecord('message-variation/click-tracking-link', link),\n            );\n          }\n        });\n      });\n    } catch (error) {\n      if (!didCancel(error)) {\n        this.notificationsService.notifyResponseError(error, {\n          default: `We couldn't get the clicked links for your message. Send us a message and we'll do our best to help out.`,\n        });\n      }\n    }\n  }).drop(),\n\n  _generateAjaxParams() {\n    let pending_or_sent = this.isPendingStat ? 'pending_and_sent.json' : 'sent.json';\n    let control_groups_endpoint = `control_groups/${this.get('variation.id')}/members.json`;\n    let message_variations_endpoint = `message_variations/${this.get(\n      'variation.id',\n    )}/${pending_or_sent}`;\n    let endpoint = this.get('variation.isControlGroup')\n      ? control_groups_endpoint\n      : message_variations_endpoint;\n    return {\n      url: `/ember/${endpoint}`,\n      type: 'GET',\n      data: this._generateDataParams(),\n    };\n  },\n\n  _generateDataParams() {\n    let dataParams = {\n      page: this.currentPage,\n      id: this.get('variation.id'),\n      app_id: this.get('message.appId'),\n      message_id: this.get('message.id'),\n    };\n    if (this._statisticKeyForRequest) {\n      dataParams[this._statisticKeyForRequest] = this.showNonInverted;\n    }\n    if (this._statisticKeyForReaction) {\n      dataParams[this._statisticKeyForReaction] = this.selectedReaction;\n    }\n    if (this.goalFilter) {\n      dataParams[this.goalFilter] = true;\n    }\n    if (this.linkFilter) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'filtered_by_link_clicked',\n        object: this.variation,\n        context: 'message-stats',\n        link_id: this.linkFilter,\n      });\n      dataParams['message_variation_link_id'] = this.linkFilter;\n    }\n    return dataParams;\n  },\n\n  _statisticKeyForRequest: computed('statistic', function() {\n    return statsKeys[this.statistic];\n  }),\n\n  _statisticKeyForReaction: ternary('selectedReaction', 'reaction_index', null),\n\n  _parseUserListResponse(response) {\n    response.conversations = response.conversations || A();\n    this.store.pushPayload({\n      'messages/summary-conversations': response.conversations,\n    });\n    let summaryConversations = response.conversations.map(conversation => {\n      return this.store.peekRecord('messages/summary-conversation', conversation.id);\n    });\n    this.summaryConversations.pushObjects(summaryConversations);\n    this.set('totalCount', response.total_count);\n  },\n\n  _statCountKeys: {\n    audience: 'sentCount',\n    bounced: 'bounceCount',\n    clicked: 'clickCount',\n    complained: 'complainedCount',\n    collected: 'attributeCollectorReplyCount',\n    failed: 'failedCount',\n    goal: 'goalCount',\n    opened: 'openCount',\n    replied: 'replyCount',\n    responded: 'responseCount',\n    sent: 'sentCount',\n    unsubscribed: 'unsubscribeCount',\n  },\n  _statCountKey: selectFromObject('_statCountKeys', 'statistic'),\n  currentStatCount: computed('variation.stats.lastLoadedAt', '_statCountKey', function() {\n    return this.get(`variation.stats.${this._statCountKey}`);\n  }),\n\n  actions: {\n    nextPage() {\n      if (this.hasItemsToLoad) {\n        this.incrementProperty('currentPage');\n        return this.fetchSummaryConversationsForStatistic.perform();\n      }\n    },\n    reloadList() {\n      this.resetAndPerformFirstRequest();\n    },\n    changeClickedStatsSubTab(tab) {\n      this.set('clicksActiveView', tab);\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'open_clicked_stat_sub_tabs',\n        object: tab,\n        context: 'message-stats',\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-rows o__flexes-to-1\\\" data-test-time-on-page>\\n  <b><p class=\\\"text-gray\\\">When to deliver this message</p></b>\\n  <label class=\\\"f__checkbox-label u__mt__5 u__mb__5 u__cf\\\">\\n    <input type=\\\"radio\\\"\\n      checked={{not message.selectionState.hasTimeOnPagePredicates}}\\n      onClick={{action 'removeTimeOnPagePredicate'}}\\n      data-test-time-on-page-off>\\n    <span class=\\\"u__ml__5\\\">When the customer lands on the page</span>\\n  </label>\\n  <label class=\\\"f__checkbox-label u__mt__5 u__mb__5 u__cf\\\">\\n    <input type=\\\"radio\\\"\\n      checked={{message.selectionState.hasTimeOnPagePredicates}}\\n      onClick={{action 'addTimeOnPagePredicate'}}\\n      data-test-time-on-page-on>\\n    <span class=\\\"u__ml__5\\\">After a customer has spent a period of time on page</span>\\n  </label>\\n  <div class=\\\"layout__box o__has-columns u__padt__5\\\">\\n    {{#each message.selectionState.timeOnPagePredicates as |predicate|}}\\n      <input type=\\\"number\\\"\\n        placeholder=\\\"Enter a number\\\"\\n        value={{predicate.value}}\\n        oninput={{action 'updateTimeOnPagePredicate' value='target.value'}}\\n        class='f__text u__ml__20 u__mb__5 message__editor__channel__time-on-page'\\n        data-test-time-on-page-input\\n      >\\n      <span class=\\\"message__editor__delivery-conditions__time-on-page u__padl__5\\\">{{inflector-helper 'second' predicate.value}}</span>\\n    {{/each}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-rows o__flexes-to-1\\\" data-test-time-on-page>\\n  <b><p class=\\\"text-gray\\\">When to deliver this message</p></b>\\n  <label class=\\\"f__checkbox-label u__mt__5 u__mb__5 u__cf\\\">\\n    <input type=\\\"radio\\\"\\n      checked={{not message.selectionState.hasTimeOnPagePredicates}}\\n      onClick={{action 'removeTimeOnPagePredicate'}}\\n      data-test-time-on-page-off>\\n    <span class=\\\"u__ml__5\\\">When the customer lands on the page</span>\\n  </label>\\n  <label class=\\\"f__checkbox-label u__mt__5 u__mb__5 u__cf\\\">\\n    <input type=\\\"radio\\\"\\n      checked={{message.selectionState.hasTimeOnPagePredicates}}\\n      onClick={{action 'addTimeOnPagePredicate'}}\\n      data-test-time-on-page-on>\\n    <span class=\\\"u__ml__5\\\">After a customer has spent a period of time on page</span>\\n  </label>\\n  <div class=\\\"layout__box o__has-columns u__padt__5\\\">\\n    {{#each message.selectionState.timeOnPagePredicates as |predicate|}}\\n      <input type=\\\"number\\\"\\n        placeholder=\\\"Enter a number\\\"\\n        value={{predicate.value}}\\n        oninput={{action 'updateTimeOnPagePredicate' value='target.value'}}\\n        class='f__text u__ml__20 u__mb__5 message__editor__channel__time-on-page'\\n        data-test-time-on-page-input\\n      >\\n      <span class=\\\"message__editor__delivery-conditions__time-on-page u__padl__5\\\">{{inflector-helper 'second' predicate.value}}</span>\\n    {{/each}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/time-on-page.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/time-on-page.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { copy } from 'ember-copy';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\nimport { DEFAULT_TIME_ON_PAGE_PREDICATE } from 'embercom/models/data/messages/message-defaults';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  messageMutationService: service(),\n\n  _addDefaultTimeOnPagePredicate(copiedSelectionState) {\n    copiedSelectionState.addJSONClientPredicate(DEFAULT_TIME_ON_PAGE_PREDICATE);\n    this._updateSelectionStatePredicates(\n      copiedSelectionState.get('clientPredicates').serialize(),\n      this._addDefaultTimeOnPagePredicate.name,\n    );\n  },\n  _removeTimeOnPagePredicate(copiedSelectionState) {\n    let timeOnPagePredicates = copiedSelectionState.get('timeOnPagePredicates');\n    copiedSelectionState.get('clientPredicates').removeObjects(timeOnPagePredicates);\n    this._updateSelectionStatePredicates(\n      copiedSelectionState.get('clientPredicates').serialize(),\n      this._removeTimeOnPagePredicate.name,\n    );\n  },\n  _updateTimeOnPagePredicate(seconds) {\n    let copiedSelectionState = copy(this.get('message.selectionState'));\n    let timeOnPagePredicate = copiedSelectionState.get('timeOnPagePredicates.firstObject');\n    timeOnPagePredicate.set('value', seconds);\n    this._updateSelectionStatePredicates(\n      copiedSelectionState.get('clientPredicates').serialize(),\n      this._updateTimeOnPagePredicate.name,\n    );\n  },\n\n  _updateSelectionStatePredicates(predicates, contextMethod) {\n    let context = {\n      location: Object.getPrototypeOf(this)._debugContainerKey,\n      method: contextMethod,\n    };\n    let mutations = [\n      {\n        command: MUTATIONS.setValue,\n        key: 'selectionState.clientPredicates',\n        data: predicates,\n        context,\n      },\n    ];\n    this.messageMutationService.performMutations(this.message, mutations);\n  },\n\n  actions: {\n    addTimeOnPagePredicate() {\n      if (this.get('message.selectionState.timeOnPagePredicates.length') < 1) {\n        this._addDefaultTimeOnPagePredicate(copy(this.get('message.selectionState')));\n      }\n    },\n    removeTimeOnPagePredicate() {\n      if (this.get('message.selectionState.hasTimeOnPagePredicates')) {\n        this._removeTimeOnPagePredicate(copy(this.get('message.selectionState')));\n      }\n    },\n    updateTimeOnPagePredicate(seconds) {\n      this._updateTimeOnPagePredicate(seconds);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { and, not, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { notImplemented, templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport PanelValidator from 'embercom/components/mixins/messages/panel-validator';\n\nexport default Component.extend(PanelValidator, {\n  appService: service(),\n  app: readOnly('appService.app'),\n  classNames: ['message-editor-title-component'],\n  'data-test-message-editor-panel-title': readOnly('panelKey'),\n  classNameBindings: [\n    'isEditing:o__editing',\n    'isMaximized:o__expanded:o__collapsed',\n    'jsBindingClass',\n  ],\n  jsBindingClass: templateString('js__ghostinspector__message-editor-${panelKey}-panel'),\n  message: notImplemented(),\n  isEditing: notImplemented(),\n  panel: notImplemented(),\n  panelKey: readOnly('panel.panelKey'),\n  isMaximized: readOnly('panel.isMaximized'),\n  togglePanel: readOnly('panel.togglePanel'),\n\n  isNotEditing: not('isEditing'),\n\n  hasBeenOpened: computed(\n    'message.mutations.lastMutatedAt',\n    'message.clientData.openedSteps.[]',\n    function() {\n      return this.get('message.clientData.openedSteps').includes(this.panelKey);\n    },\n  ),\n\n  validationsSucceed: computed(\n    'message.mutations.lastMutatedAt',\n    'message.validationsSucceed',\n    function() {\n      return this.getValidationResults(this.panelKey).success;\n    },\n  ),\n  isComplete: and('hasBeenOpened', 'validationsSucceed'),\n  click() {\n    this.get('panel.togglePanel')();\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if autoSaveIsRunning}}\\n  <span>Saving...</span>\\n{{else if lastSavedTimeAgo}}\\n  <span {{tooltip content=(full-date-and-time-helper lastSavedAt)}}>\\n    Saved {{lastSavedTimeAgo}}\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if autoSaveIsRunning}}\\n  <span>Saving...</span>\\n{{else if lastSavedTimeAgo}}\\n  <span {{tooltip content=(full-date-and-time-helper lastSavedAt)}}>\\n    Saved {{lastSavedTimeAgo}}\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/title/autosave-label.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/title/autosave-label.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport ENV from 'embercom/config/environment';\nimport moment from 'moment';\nimport { task, timeout } from 'ember-concurrency';\n\nexport default Component.extend({\n  classNames: [\n    'layout__box',\n    'o__centers-vertically',\n    't__light-text',\n    'u__mr__10',\n    'test__message__editor__autosave-label',\n  ],\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.clockTick.perform();\n  },\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this._setFormattedLastSaveTime();\n  },\n\n  // `fromNow()` is time sensitive. Update the label as time passes.\n  clockTick: task(function*() {\n    this._setFormattedLastSaveTime();\n    // We don't need to run the clock during tests\n    if (ENV.environment !== 'test') {\n      yield timeout(ENV.APP._1M);\n      this.clockTick.perform();\n    }\n  }).enqueue(),\n\n  _setFormattedLastSaveTime() {\n    let lastSaveTime = this.lastSavedAt;\n    if (lastSaveTime) {\n      this.set('lastSavedTimeAgo', moment(lastSaveTime).fromNow());\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col gap-4 pb-4\\\">\\n  <div class=\\\"flex flex-row items-center justify-between\\\">\\n    <div class=\\\"flex flex-col\\\">\\n      <MessageEditor::Title::MessageTitle\\n        @message={{@message}}\\n        @isEditing={{@isEditing}}\\n      />\\n    </div>\\n\\n    <div class=\\\"flex flex-row\\\">\\n      {{#if (and @message.canBeAutoSaved this.isEditing)}}\\n        <MessageEditor::Title::AutosaveLabel\\n          @lastSavedAt={{@message.mutations.lastSavedAt}}\\n          @autoSaveIsRunning={{@tasks.autoSave.isRunning}}\\n        />\\n      {{/if}}\\n      {{#unless (and @message.isLiveOrScheduled this.isEditing)}}\\n        {{#if this.buttonOptions.length}}\\n          <ActionDropdownComponent\\n            @dropdownOptions={{this.buttonOptions}}\\n            @classNames=\\\"message__editor__header__button layout__box\\\"\\n            @taskGroup={{@taskGroup}}\\n          />\\n        {{/if}}\\n        {{#each this.additionalButtonOptions as |button|}}\\n          <MessageEditor::Buttons::TaskButton\\n            class={{button.classes}}\\n            @text={{button.text}}\\n            @icon={{button.icon}}\\n            @action={{button.task}}\\n            @taskGroup={{@taskGroup}}\\n          />\\n        {{/each}}\\n      {{/unless}}\\n      {{#if this.app.canUseContentOrientedNavigation}}\\n        <span class=\\\"u__ml__10\\\">\\n          <IcButton\\n            @type=\\\"secondary\\\"\\n            data-test-editor-tag-button={{true}}\\n            @onClick={{action (mut this.showTagModal) true}}\\n          >\\n            {{ic-interface-icon \\\"tag\\\"}} Tag\\n          </IcButton>\\n        </span>\\n        <IcModal\\n          @width=\\\"m\\\"\\n          @onModalClose={{action (mut this.showTagModal) false}}\\n          @showCloseIcon={{false}}\\n          @isOpen={{this.showTagModal}}\\n        >\\n          <Common::TaggingComponent\\n            @title=\\\"Tag this message\\\"\\n            @taggable={{this.taggable}}\\n            @type=\\\"content\\\"\\n            @location=\\\"message-editor\\\"\\n            @afterSave={{action 'afterTagSave'}}\\n            @closeModalAction={{action (mut this.showTagModal) false}}\\n          />\\n        </IcModal>\\n      {{/if}}\\n      {{#if (and @message.isDraft @message.scheduledToGoLiveAt (not this.isEditing))}}\\n        <Paywall\\n          @limiter={{this.app.liveVisitorAutoMessageCount}}\\n          @featureKey={{@message.feature}} as |paywall|\\n        >\\n        <paywall.Hover>\\n            <span\\n              class=\\\"message__editor__header__button u__ml__10\\\"\\n              data-test-editor-activate-tooltip\\n              {{tooltip content=this.validationFailureMessages isDisabled=(or @message.validationsSucceed paywall.isActive)}}\\n            >\\n              <IcButton\\n                data-test-editor-schedule-button={{true}}\\n                @type=\\\"primary-live\\\"\\n                @onClick={{action \\\"saveAndAddScheduleAction\\\"}}\\n                @disabled={{or paywall.isActive @taskGroup.isRunning @message.validationsFail}}\\n              >\\n                {{ic-interface-icon \\\"calendar\\\"}} Schedule to set live on {{this.scheduledDate}}\\n              </IcButton>\\n            </span>\\n          </paywall.Hover>\\n        </Paywall>\\n      {{else if (and @message.canBeSetLive (not this.isEditing))}}\\n        <Paywall\\n          @limiter={{this.app.liveVisitorAutoMessageCount}}\\n          @featureKey={{@message.feature}} as |paywall|\\n        >\\n          <paywall.Hover>\\n            <span\\n              class=\\\"message__editor__header__button\\\"\\n              data-test-editor-activate-tooltip\\n              {{tooltip content=this.validationFailureMessages isDisabled=(or @message.validationsSucceed paywall.isActive)}}\\n            >\\n              <MessageEditor::Buttons::TaskButton\\n                class=\\\"o__primary-live test__message-editor__activate {{if @taskGroup.isRunning \\\"o__disabled\\\"}} {{if @message.validationsFail \\\"o__disabled\\\"}}\\\"\\n                @disabled={{paywall.isActive}}\\n                @text={{this.goLiveButtonLabel}}\\n                @icon={{this.goLiveButtonIcon}}\\n                @action={{@tasks.activate}}\\n                @taskGroup={{@taskGroup}}\\n                @messagingTypeIsNotActive={{paywall.isActive}}\\n              />\\n            </span>\\n          </paywall.Hover>\\n        </Paywall>\\n      {{/if}}\\n      {{#if this.showEditButton}}\\n        <span class=\\\"u__ml__10\\\">\\n          <IcButton\\n            @type=\\\"primary\\\"\\n            @disabled={{@taskGroup.isRunning}}\\n            @testBindingClass=\\\"test__message-editor__edit\\\"\\n            @onClick={{@edit}}\\n          >\\n            {{ic-interface-icon \\\"edit\\\"}} Edit\\n          </IcButton>\\n        </span>\\n      {{/if}}\\n      {{#if this.isEditing}}\\n        {{#if @message.isLive}}\\n          <span class=\\\"u__ml__10\\\">\\n            <IcButton\\n              @label=\\\"Cancel\\\"\\n              @icon=\\\"close\\\"\\n              @type=\\\"secondary\\\"\\n              @onClick={{perform @tasks.cancelAndReturnToSummary}}\\n              @disabled={{@taskGroup.isRunning}}\\n              @testBindingClass=\\\"test__message-editor__cancel\\\"\\n            />\\n          </span>\\n        {{/if}}\\n        <span\\n          class=\\\"message__editor__header__button\\\"\\n          data-test-editor-save-tooltip\\n          {{tooltip\\n            content=this.validationFailureMessages\\n            isDisabled=(and\\n              @message.isNotUploading\\n              (or (not @message.isLiveOrScheduled) @message.validationsSucceed)\\n            )\\n          }}\\n        >\\n          {{#if (and @message.isScheduled (not @message.scheduledToGoLiveAt))}}\\n            <span class=\\\"u__ml__10\\\">\\n              <IcButton\\n                @type=\\\"primary\\\"\\n                @onClick={{perform @tasks.removeSchedule}}\\n                data-test-remove-schedule={{true}}\\n              >\\n                Save as draft\\n              </IcButton>\\n            </span>\\n          {{else}}\\n            <span class=\\\"u__ml__10\\\">\\n              <IcButton\\n                @type=\\\"primary\\\"\\n                @onClick={{perform\\n                  @tasks.saveAndReturnToSummary\\n                  \\\"message-save-and-close-button\\\"\\n                }}\\n                @disabled={{or\\n                  @taskGroup.isRunning\\n                  @message.isUploading\\n                  (and @message.isLiveOrScheduled @message.validationsFail)\\n                }}\\n                @testBindingClass=\\\"test__message-editor__save\\\"\\n              >\\n                {{ic-interface-icon \\\"check\\\"}} Save and close\\n              </IcButton>\\n            </span>\\n          {{/if}}\\n        </span>\\n      {{/if}}\\n    </div>\\n  </div>\\n\\n  {{#if @message.tags}}\\n    <div class=\\\"flex flex-row flex-wrap gap-2 message__editor__header__tags-container\\\">\\n      {{#each @message.tags as |tag|}}\\n        <span class=\\\"pill o__has-delete mt-1 mb-1\\\" data-test-message-tag-pill={{tag.id}}>\\n          <span class=\\\"pill__icon\\\">\\n            {{ic-interface-icon 'tag' set='tiny' color='gray' solo=true}}\\n          </span>\\n          <a data-test-message-tag-link {{action \\\"transitionToMessages\\\" tag on=\\\"click\\\"}}>\\n            <Text @linkStyling=\\\"subtle\\\" @styling=\\\"small\\\">{{tag.name}}</Text>\\n          </a>\\n          <a\\n            class=\\\"pill__delete\\\"\\n            title=\\\"Remove {{tag.name}} tag\\\"\\n            data-test-remove-tag-link={{tag.id}}\\n            {{action 'removeTag' tag on=\\\"click\\\"}}\\n          >\\n            {{ic-interface-icon 'delete' set='tiny' color='gray' solo=true}}\\n          </a>\\n        </span>\\n      {{/each}}\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col gap-4 pb-4\\\">\\n  <div class=\\\"flex flex-row items-center justify-between\\\">\\n    <div class=\\\"flex flex-col\\\">\\n      <MessageEditor::Title::MessageTitle\\n        @message={{@message}}\\n        @isEditing={{@isEditing}}\\n      />\\n    </div>\\n\\n    <div class=\\\"flex flex-row\\\">\\n      {{#if (and @message.canBeAutoSaved this.isEditing)}}\\n        <MessageEditor::Title::AutosaveLabel\\n          @lastSavedAt={{@message.mutations.lastSavedAt}}\\n          @autoSaveIsRunning={{@tasks.autoSave.isRunning}}\\n        />\\n      {{/if}}\\n      {{#unless (and @message.isLiveOrScheduled this.isEditing)}}\\n        {{#if this.buttonOptions.length}}\\n          <ActionDropdownComponent\\n            @dropdownOptions={{this.buttonOptions}}\\n            @classNames=\\\"message__editor__header__button layout__box\\\"\\n            @taskGroup={{@taskGroup}}\\n          />\\n        {{/if}}\\n        {{#each this.additionalButtonOptions as |button|}}\\n          <MessageEditor::Buttons::TaskButton\\n            class={{button.classes}}\\n            @text={{button.text}}\\n            @icon={{button.icon}}\\n            @action={{button.task}}\\n            @taskGroup={{@taskGroup}}\\n          />\\n        {{/each}}\\n      {{/unless}}\\n      {{#if this.app.canUseContentOrientedNavigation}}\\n        <span class=\\\"u__ml__10\\\">\\n          <IcButton\\n            @type=\\\"secondary\\\"\\n            data-test-editor-tag-button={{true}}\\n            @onClick={{action (mut this.showTagModal) true}}\\n          >\\n            {{ic-interface-icon \\\"tag\\\"}} Tag\\n          </IcButton>\\n        </span>\\n        <IcModal\\n          @width=\\\"m\\\"\\n          @onModalClose={{action (mut this.showTagModal) false}}\\n          @showCloseIcon={{false}}\\n          @isOpen={{this.showTagModal}}\\n        >\\n          <Common::TaggingComponent\\n            @title=\\\"Tag this message\\\"\\n            @taggable={{this.taggable}}\\n            @type=\\\"content\\\"\\n            @location=\\\"message-editor\\\"\\n            @afterSave={{action 'afterTagSave'}}\\n            @closeModalAction={{action (mut this.showTagModal) false}}\\n          />\\n        </IcModal>\\n      {{/if}}\\n      {{#if (and @message.isDraft @message.scheduledToGoLiveAt (not this.isEditing))}}\\n        <Paywall\\n          @limiter={{this.app.liveVisitorAutoMessageCount}}\\n          @featureKey={{@message.feature}} as |paywall|\\n        >\\n        <paywall.Hover>\\n            <span\\n              class=\\\"message__editor__header__button u__ml__10\\\"\\n              data-test-editor-activate-tooltip\\n              {{tooltip content=this.validationFailureMessages isDisabled=(or @message.validationsSucceed paywall.isActive)}}\\n            >\\n              <IcButton\\n                data-test-editor-schedule-button={{true}}\\n                @type=\\\"primary-live\\\"\\n                @onClick={{action \\\"saveAndAddScheduleAction\\\"}}\\n                @disabled={{or paywall.isActive @taskGroup.isRunning @message.validationsFail}}\\n              >\\n                {{ic-interface-icon \\\"calendar\\\"}} Schedule to set live on {{this.scheduledDate}}\\n              </IcButton>\\n            </span>\\n          </paywall.Hover>\\n        </Paywall>\\n      {{else if (and @message.canBeSetLive (not this.isEditing))}}\\n        <Paywall\\n          @limiter={{this.app.liveVisitorAutoMessageCount}}\\n          @featureKey={{@message.feature}} as |paywall|\\n        >\\n          <paywall.Hover>\\n            <span\\n              class=\\\"message__editor__header__button\\\"\\n              data-test-editor-activate-tooltip\\n              {{tooltip content=this.validationFailureMessages isDisabled=(or @message.validationsSucceed paywall.isActive)}}\\n            >\\n              <MessageEditor::Buttons::TaskButton\\n                class=\\\"o__primary-live test__message-editor__activate {{if @taskGroup.isRunning \\\"o__disabled\\\"}} {{if @message.validationsFail \\\"o__disabled\\\"}}\\\"\\n                @disabled={{paywall.isActive}}\\n                @text={{this.goLiveButtonLabel}}\\n                @icon={{this.goLiveButtonIcon}}\\n                @action={{@tasks.activate}}\\n                @taskGroup={{@taskGroup}}\\n                @messagingTypeIsNotActive={{paywall.isActive}}\\n              />\\n            </span>\\n          </paywall.Hover>\\n        </Paywall>\\n      {{/if}}\\n      {{#if this.showEditButton}}\\n        <span class=\\\"u__ml__10\\\">\\n          <IcButton\\n            @type=\\\"primary\\\"\\n            @disabled={{@taskGroup.isRunning}}\\n            @testBindingClass=\\\"test__message-editor__edit\\\"\\n            @onClick={{@edit}}\\n          >\\n            {{ic-interface-icon \\\"edit\\\"}} Edit\\n          </IcButton>\\n        </span>\\n      {{/if}}\\n      {{#if this.isEditing}}\\n        {{#if @message.isLive}}\\n          <span class=\\\"u__ml__10\\\">\\n            <IcButton\\n              @label=\\\"Cancel\\\"\\n              @icon=\\\"close\\\"\\n              @type=\\\"secondary\\\"\\n              @onClick={{perform @tasks.cancelAndReturnToSummary}}\\n              @disabled={{@taskGroup.isRunning}}\\n              @testBindingClass=\\\"test__message-editor__cancel\\\"\\n            />\\n          </span>\\n        {{/if}}\\n        <span\\n          class=\\\"message__editor__header__button\\\"\\n          data-test-editor-save-tooltip\\n          {{tooltip\\n            content=this.validationFailureMessages\\n            isDisabled=(and\\n              @message.isNotUploading\\n              (or (not @message.isLiveOrScheduled) @message.validationsSucceed)\\n            )\\n          }}\\n        >\\n          {{#if (and @message.isScheduled (not @message.scheduledToGoLiveAt))}}\\n            <span class=\\\"u__ml__10\\\">\\n              <IcButton\\n                @type=\\\"primary\\\"\\n                @onClick={{perform @tasks.removeSchedule}}\\n                data-test-remove-schedule={{true}}\\n              >\\n                Save as draft\\n              </IcButton>\\n            </span>\\n          {{else}}\\n            <span class=\\\"u__ml__10\\\">\\n              <IcButton\\n                @type=\\\"primary\\\"\\n                @onClick={{perform\\n                  @tasks.saveAndReturnToSummary\\n                  \\\"message-save-and-close-button\\\"\\n                }}\\n                @disabled={{or\\n                  @taskGroup.isRunning\\n                  @message.isUploading\\n                  (and @message.isLiveOrScheduled @message.validationsFail)\\n                }}\\n                @testBindingClass=\\\"test__message-editor__save\\\"\\n              >\\n                {{ic-interface-icon \\\"check\\\"}} Save and close\\n              </IcButton>\\n            </span>\\n          {{/if}}\\n        </span>\\n      {{/if}}\\n    </div>\\n  </div>\\n\\n  {{#if @message.tags}}\\n    <div class=\\\"flex flex-row flex-wrap gap-2 message__editor__header__tags-container\\\">\\n      {{#each @message.tags as |tag|}}\\n        <span class=\\\"pill o__has-delete mt-1 mb-1\\\" data-test-message-tag-pill={{tag.id}}>\\n          <span class=\\\"pill__icon\\\">\\n            {{ic-interface-icon 'tag' set='tiny' color='gray' solo=true}}\\n          </span>\\n          <a data-test-message-tag-link {{action \\\"transitionToMessages\\\" tag on=\\\"click\\\"}}>\\n            <Text @linkStyling=\\\"subtle\\\" @styling=\\\"small\\\">{{tag.name}}</Text>\\n          </a>\\n          <a\\n            class=\\\"pill__delete\\\"\\n            title=\\\"Remove {{tag.name}} tag\\\"\\n            data-test-remove-tag-link={{tag.id}}\\n            {{action 'removeTag' tag on=\\\"click\\\"}}\\n          >\\n            {{ic-interface-icon 'delete' set='tiny' color='gray' solo=true}}\\n          </a>\\n        </span>\\n      {{/each}}\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/title/header-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/title/header-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-attrs-in-components */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { A } from '@ember/array';\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { and, not, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { copy } from 'ember-copy';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport PanelValidator from 'embercom/components/mixins/messages/panel-validator';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport moment from 'moment';\nimport { task } from 'ember-concurrency';\nimport { put } from 'embercom/lib/ajax';\nimport { contentWrapperTypes } from 'embercom/models/data/outbound/constants';\n\nexport default Component.extend(PanelValidator, {\n  tagName: '',\n  appService: service(),\n  app: readOnly('appService.app'),\n  outboundHomeService: service(),\n  router: service(),\n\n  isEditing: false,\n  isNotEditing: not('isEditing'),\n\n  panelsToBeValidated: computed('message.hasControlGroup', 'displayedPanels.[]', function() {\n    let panels = copy(this.displayedPanels);\n    if (this.get('message.hasControlGroup') && !panels.includes('goal')) {\n      panels.push('goal');\n    }\n    return panels;\n  }),\n\n  validationFailureMessages: computed(\n    'isEditing',\n    'displayedPanels.[]',\n    'message.validations.messages',\n    function() {\n      let errorMessages = A();\n      this.panelsToBeValidated.forEach(panelKey => {\n        let validationResults = this.getValidationResults(panelKey);\n        if (!validationResults.success) {\n          errorMessages.pushObject(validationResults.errors);\n        }\n      });\n      return errorMessages.join('. ');\n    },\n  ),\n\n  buttonOptions: computed(\n    'message.isCampaignOrAutoMessage',\n    'message.isLiveOrStopped',\n    'app.canUseContentOrientedNavigation',\n    function() {\n      let options = [];\n      if (this.get('message.isCampaignOrAutoMessage')) {\n        options.push({\n          name: 'Move',\n          icon: 'campaign',\n          action: this.attrs.openMoveModal,\n        });\n      }\n      if (this.shouldShowDuplicateOption) {\n        let duplicateButton = {\n          name: 'Duplicate',\n          icon: 'duplicate',\n        };\n        if (this.get('message.isManualMessage')) {\n          options.push({\n            task: this.attrs.tasks.duplicate,\n            tooltipContent:\n              'Duplicating direct messages is not supported. You can use Saved Content to quickly insert pre-written message content in direct messages.',\n            isDisabled: true,\n            isTooltipEnabled: true,\n            ...duplicateButton,\n          });\n        }\n        if (this.get('message.isVisitorAutoMessage')) {\n          options.push({\n            task: this.attrs.tasks.duplicate,\n            ...duplicateButton,\n          });\n        } else {\n          options.push({\n            action: this.attrs.openCreateMessageModal,\n            ...duplicateButton,\n          });\n        }\n      }\n      if (this.get('message.isLiveOrStopped')) {\n        options.push({\n          name: 'Export CSV',\n          icon: 'filled-cloud-download',\n          action: this.attrs.openExportModal,\n        });\n      }\n      options.push({\n        name: 'Delete',\n        icon: 'delete',\n        task: this.attrs.tasks.delete,\n      });\n      return options;\n    },\n  ),\n\n  shouldShowDuplicateOption: computed(\n    'message.isNotDirectMessage',\n    'message.isLive',\n    'message.isManualMessage',\n    'message.containsPointerMessage',\n    function() {\n      if (\n        (this.get('message.isNotDirectMessage') ||\n          (this.get('message.isLive') && this.get('message.isManualMessage'))) &&\n        !this.get('message.containsPointerMessage')\n      ) {\n        return true;\n      }\n      return false;\n    },\n  ),\n\n  additionalButtonOptions: computed(\n    'message.isManualMessageWithPendingSends',\n    'message.canBePaused',\n    'message.isScheduled',\n    function() {\n      let options = [];\n      if (this.get('message.isManualMessageWithPendingSends')) {\n        options.push({\n          text: 'Stop',\n          icon: 'stop',\n          task: this.attrs.tasks.stop,\n          classes: 'o__secondary',\n        });\n      }\n      if (this.get('message.canBePaused')) {\n        options.push({\n          text: 'Pause',\n          icon: 'pause',\n          task: this.attrs.tasks.deactivate,\n          classes: 'o__secondary',\n        });\n      }\n      if (this.get('message.isScheduled')) {\n        options.push({\n          text: 'Cancel schedule',\n          icon: 'schedule',\n          task: this.attrs.tasks.removeSchedule,\n          classes: 'o__secondary',\n        });\n      }\n      return options;\n    },\n  ),\n\n  showEditButton: and('isNotEditing', 'message.canBeEdited'),\n\n  goLiveButtonIcon: ternary('message.isManualMessage', 'manual-message', 'put-live'),\n  goLiveButtonLabel: computed(\n    'message.hasMultipleVariations',\n    'message.isDraft',\n    'message.isStopped',\n    function() {\n      if (this.get('message.isManualMessage')) {\n        return 'Send it now';\n      } else if (this.get('message.hasMultipleVariations')) {\n        return 'Set live';\n      } else if (this.get('message.isDraft')) {\n        return 'Set it live';\n      } else if (this.get('message.isStopped')) {\n        return 'Set it live again';\n      }\n    },\n  ),\n  scheduledDate: computed('message.scheduledToGoLiveAt', function() {\n    return moment(this.get('message.scheduledToGoLiveAt')).format(\n      dateAndTimeFormats.dateWithoutYear,\n    );\n  }),\n  updateTaggingsTask: task(function*(addedTags, removedTags) {\n    yield put(this.get('message.updateTaggingUrl'), {\n      app_id: this.get('app.id'),\n      added_tag_ids: addedTags.map(tag => tag.get('id')),\n      removed_tag_ids: removedTags.map(tag => tag.get('id')),\n      content_wrapper_id: this.get('message.id'),\n      content_wrapper_type: contentWrapperTypes.message,\n    });\n  }),\n  taggable: computed(function() {\n    let self = this;\n    return {\n      tags: [],\n      taggings: self.message.taggings,\n      type: 'content',\n      updateTaggings(admin, addedTags, removedTags, initialTags) {\n        return self.updateTaggingsTask.perform(addedTags, removedTags);\n      },\n    };\n  }),\n  actions: {\n    saveAndAddScheduleAction() {\n      let sendAt = moment(this.get('message.scheduledToGoLiveAt'));\n      this.get('tasks.saveAndAddSchedule').perform(sendAt);\n    },\n    async removeTag(tag) {\n      await this.updateTaggingsTask.perform([], [tag]);\n      this.message.reload();\n    },\n    afterTagSave() {\n      this.set('showTagModal', false);\n      this.notificationsService.notifyConfirmation('Message tagged!');\n      this.message.reload();\n    },\n    transitionToMessages(tag) {\n      this.outboundHomeService.resetFilters();\n      this.set('outboundHomeService.selectedTagValues', [tag.id]);\n      this.router.transitionTo('apps.app.outbound.all');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"layout__box message__editor__header__title u__padr__10 {{if (or @message.belongsToFolder @message.belongsToCampaign) \\\"o__has-breadcrumb\\\"}}\\\"\\n>\\n  <Common::BreadcrumbsComponent @breadcrumbs={{breadcrumbs}}>\\n    <Common::HamburgerMenu @includePadding={{false}}>\\n      <span\\n        title={{title}}\\n        class=\\\"t__h1\\\"\\n        data-test-message-editor-message-title\\n      >\\n        {{#if (and @message.canBeEdited @isEditing)}}\\n          <Common::ExpandingOneWayInput\\n            @value={{title}}\\n            placeholder=\\\"Enter a title\\\"\\n            @update={{action \\\"updateTitle\\\"}}\\n            class=\\\"t__h1 js__message-editor__title__message-title-input message__editor__header__title-input o__truncated\\\"\\n            data-test-message-title-input={{true}}\\n          />\\n        {{else}}\\n          <span\\n            class=\\\"message__editor__header__title-text u__display-block o__truncated\\\"\\n            data-test-message-read-only-title\\n          >\\n            {{@message.title}}\\n          </span>\\n        {{/if}}\\n      </span>\\n      {{#if (and @message.isManualMessage @message.isLive)}}\\n        {{ic-stamp @message.sendingStatus \\\"message__editor__header__state-stamp\\\"}}\\n      {{else}}\\n        {{ic-stamp @message.uiStateName \\\"message__editor__header__state-stamp\\\"}}\\n      {{/if}}\\n    </Common::HamburgerMenu>\\n  </Common::BreadcrumbsComponent>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"layout__box message__editor__header__title u__padr__10 {{if (or @message.belongsToFolder @message.belongsToCampaign) \\\"o__has-breadcrumb\\\"}}\\\"\\n>\\n  <Common::BreadcrumbsComponent @breadcrumbs={{breadcrumbs}}>\\n    <Common::HamburgerMenu @includePadding={{false}}>\\n      <span\\n        title={{title}}\\n        class=\\\"t__h1\\\"\\n        data-test-message-editor-message-title\\n      >\\n        {{#if (and @message.canBeEdited @isEditing)}}\\n          <Common::ExpandingOneWayInput\\n            @value={{title}}\\n            placeholder=\\\"Enter a title\\\"\\n            @update={{action \\\"updateTitle\\\"}}\\n            class=\\\"t__h1 js__message-editor__title__message-title-input message__editor__header__title-input o__truncated\\\"\\n            data-test-message-title-input={{true}}\\n          />\\n        {{else}}\\n          <span\\n            class=\\\"message__editor__header__title-text u__display-block o__truncated\\\"\\n            data-test-message-read-only-title\\n          >\\n            {{@message.title}}\\n          </span>\\n        {{/if}}\\n      </span>\\n      {{#if (and @message.isManualMessage @message.isLive)}}\\n        {{ic-stamp @message.sendingStatus \\\"message__editor__header__state-stamp\\\"}}\\n      {{else}}\\n        {{ic-stamp @message.uiStateName \\\"message__editor__header__state-stamp\\\"}}\\n      {{/if}}\\n    </Common::HamburgerMenu>\\n  </Common::BreadcrumbsComponent>\\n</div>\\n\",\"moduleName\":\"embercom/components/message-editor/title/message-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/title/message-title.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport $ from 'jquery';\nimport { computed } from '@ember/object';\nimport { schedule } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport { isEmpty } from '@ember/utils';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  messageMutationService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  didInsertElement() {\n    this._super(...arguments);\n    this.focusTitleIfAppropriate();\n  },\n\n  didUpdateAttrs() {\n    this._super(...arguments);\n    this.focusTitleIfAppropriate();\n  },\n\n  focusTitleIfAppropriate() {\n    if (this.isEditing && isEmpty(this.title)) {\n      schedule('afterRender', this, () =>\n        $('.js__message-editor__title__message-title-input', this.element).focus(),\n      );\n    }\n  },\n\n  title: computed('message.clientData.explicitlyAddedTitle', 'message.title', function() {\n    if (this.get('message.clientData.explicitlyAddedTitle')) {\n      return this.get('message.title');\n    }\n  }),\n\n  breadcrumbs: computed(\n    'message.belongsToFolder',\n    'message.folder.{id,isLoaded,name}',\n    'message.belongsToCampaign',\n    'message.campaign.{id,isLoaded,title}',\n    'app.canUseContentOrientedNavigation',\n    function() {\n      if (\n        !this.get('app.canUseContentOrientedNavigation') &&\n        this.get('message.belongsToFolder') &&\n        this.get('message.folder.isLoaded')\n      ) {\n        return [\n          {\n            text: this.get('message.folder.name'),\n            route: 'apps.app.outbound.messages.auto.folders.folder',\n            model: this.get('message.folder.id'),\n          },\n        ];\n      }\n      if (this.get('message.belongsToCampaign') && this.get('message.campaign.isLoaded')) {\n        return [\n          {\n            text: this.get('message.campaign.title'),\n            route: 'apps.app.outbound.messages.auto.campaigns.campaign',\n            model: this.get('message.campaign.id'),\n          },\n        ];\n      }\n      return [];\n    },\n  ),\n\n  actions: {\n    updateTitle(title) {\n      let context = {\n        location: Object.getPrototypeOf(this)._debugContainerKey,\n        method: this.actions.updateTitle.name,\n      };\n      this.messageMutationService.performMutations(this.message, [\n        { command: MUTATIONS.setValue, key: 'title', data: title, context },\n        {\n          command: MUTATIONS.setValue,\n          key: 'clientData.explicitlyAddedTitle',\n          data: Boolean(title),\n          context,\n        },\n      ]);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { isPresent } from '@ember/utils';\nimport Mixin from '@ember/object/mixin';\nimport { inject as service } from '@ember/service';\nimport { COMPOSER_UPLOAD_WARNING } from 'embercom/models/data/messages/message-constants';\n\nexport default Mixin.create({\n  notificationsService: service(),\n  withComposerUploadCheck(block) {\n    let message = isPresent(this.message) ? this.message : this.get('variation.message');\n    if (message.get('isUploading')) {\n      return this.notificationsService.notifyWarning(COMPOSER_UPLOAD_WARNING);\n    } else {\n      return block();\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::Title::HeaderComponent\\n  @message={{message}}\\n  @tasks={{hash\\n    autoSave=tasks.autoSave\\n    activate=tasks.activate\\n    deactivate=tasks.deactivate\\n    delete=tasks.delete\\n    stop=tasks.stop\\n    duplicate=tasks.duplicate\\n    move=tasks.move\\n    cancelAndReturnToSummary=tasks.cancelAndReturnToSummary\\n    saveAndReturnToSummary=tasks.saveAndReturnToSummary\\n    saveAndAddSchedule=tasks.saveAndAddSchedule\\n    startABTestOnEditingPage=tasks.startABTestOnEditingPage\\n    removeSchedule=tasks.removeSchedule\\n  }}\\n  @startABTest={{action startABTest \\\"message-header\\\"}}\\n  @edit={{edit}}\\n  @isEditing={{isEditing}}\\n  @openMoveModal={{openMoveModal}}\\n  @taskGroup={{messageActionsTaskGroup}}\\n  @displayedPanels={{displayedPanels}}\\n  @openExportModal={{openExportModal}}\\n  @openCreateMessageModal={{openCreateMessageModal}}\\n/>\\n<MessageEditor::PanelComponent\\n  @indices={{panelIndices}}\\n  @maximizedPanels={{maximizedPanels}}\\n  @panelKey=\\\"content\\\"\\n  @isEditing={{isEditing}}\\n  @maximizePanel={{action \\\"maximizePanel\\\"}}\\n  @minimizePanel={{action \\\"minimizePanel\\\"}}\\n  @didMaximize={{action \\\"didMaximize\\\"}}\\n  @didMinimize={{action \\\"didMinimize\\\"}} as |panel|\\n>\\n  <MessageEditor::Content::WrapperComponent\\n    @app={{app}}\\n    @panel={{panel}}\\n    @message={{message}}\\n    @version={{version}}\\n    @activeView={{activeView}}\\n    @changeVersion={{changeVersion}}\\n    @isEditing={{isEditing}}\\n    @changeView={{changeView}}\\n    @tasks={{tasks}}\\n    @messageActionsTaskGroup={{messageActionsTaskGroup}}\\n    @inverted={{inverted}}\\n    @selectedReaction={{selectedReaction}}\\n    @goalFilter={{goalFilter}}\\n    @linkFilter={{linkFilter}}\\n    @bulkMessage={{bulkMessage}}\\n    @bulkTag={{bulkTag}}\\n    @maximizePanel={{action \\\"maximizePanel\\\"}}\\n    @operatorQualificationPanelIsEnabled={{operatorQualificationPanelIsEnabled}}\\n  />\\n</MessageEditor::PanelComponent>\\n<MessageEditor::PanelComponent\\n  @indices={{panelIndices}}\\n  @maximizedPanels={{maximizedPanels}}\\n  @panelKey=\\\"audience\\\"\\n  @isEditing={{isEditing}}\\n  @maximizePanel={{action \\\"maximizePanel\\\"}}\\n  @minimizePanel={{action \\\"minimizePanel\\\"}}\\n  @didMaximize={{action \\\"didMaximize\\\"}}\\n  @didMinimize={{action \\\"didMinimize\\\"}} as |panel|\\n>\\n  <MessageEditor::Audience::WrapperComponent\\n    @panel={{panel}}\\n    @message={{message}}\\n    @isEditing={{isEditing}}\\n    @maximizePanel={{action \\\"maximizePanel\\\"}}\\n    @tasks={{hash\\n      fetchMessageAudiencePreview=tasks.fetchMessageAudiencePreview\\n      fetchCampaignMessageAudiencePreview=tasks.fetchCampaignMessageAudiencePreview\\n      changeSubclassType=tasks.changeSubclassType\\n    }}\\n  />\\n</MessageEditor::PanelComponent>\\n<MessageEditor::PanelComponent\\n  @indices={{panelIndices}}\\n  @maximizedPanels={{maximizedPanels}}\\n  @panelKey=\\\"schedule\\\"\\n  @isEditing={{isEditing}}\\n  @maximizePanel={{action \\\"maximizePanel\\\"}}\\n  @minimizePanel={{action \\\"minimizePanel\\\"}}\\n  @didMaximize={{action \\\"didMaximize\\\"}}\\n  @didMinimize={{action \\\"didMinimize\\\"}} as |panel|\\n>\\n  <MessageEditor::ScheduleComponent\\n    @panel={{panel}}\\n    @message={{message}}\\n    @isEditing={{isEditing}}\\n  />\\n</MessageEditor::PanelComponent>\\n<MessageEditor::PanelComponent\\n  @indices={{panelIndices}}\\n  @maximizedPanels={{maximizedPanels}}\\n  @panelKey=\\\"delivery-conditions\\\"\\n  @isEditing={{isEditing}}\\n  @maximizePanel={{action \\\"maximizePanel\\\"}}\\n  @minimizePanel={{action \\\"minimizePanel\\\"}}\\n  @didMaximize={{action \\\"didMaximize\\\"}}\\n  @didMinimize={{action \\\"didMinimize\\\"}} as |panel|\\n>\\n  <MessageEditor::DeliveryConditions::WrapperComponent\\n    @panel={{panel}}\\n    @message={{message}}\\n    @isEditing={{isEditing}}\\n  />\\n</MessageEditor::PanelComponent>\\n<MessageEditor::PanelComponent\\n  @indices={{panelIndices}}\\n  @maximizedPanels={{maximizedPanels}}\\n  @panelKey=\\\"follow-up\\\"\\n  @isEditing={{isEditing}}\\n  @maximizePanel={{action \\\"maximizePanel\\\"}}\\n  @minimizePanel={{action \\\"minimizePanel\\\"}}\\n  @didMaximize={{action \\\"didMaximize\\\"}}\\n  @didMinimize={{action \\\"didMinimize\\\"}} as |panel|\\n>\\n  <MessageEditor::FollowUp::WrapperComponent\\n    @panel={{panel}}\\n    @message={{message}}\\n    @isEditing={{isEditing}}\\n    @operatorQualificationPanelIsEnabled={{operatorQualificationPanelIsEnabled}}\\n  />\\n</MessageEditor::PanelComponent>\\n<MessageEditor::PanelComponent\\n  @indices={{panelIndices}}\\n  @maximizedPanels={{maximizedPanels}}\\n  @panelKey=\\\"goal\\\"\\n  @isEditing={{isEditing}}\\n  @maximizePanel={{action \\\"maximizePanel\\\"}}\\n  @minimizePanel={{action \\\"minimizePanel\\\"}}\\n  @didMaximize={{action \\\"didMaximize\\\"}}\\n  @didMinimize={{action \\\"didMinimize\\\"}} as |panel|\\n>\\n  <MessageEditor::Goal::WrapperComponent\\n    @panel={{panel}}\\n    @message={{message}}\\n    @isEditing={{isEditing}}\\n  />\\n</MessageEditor::PanelComponent>\\n<MessageEditor::PanelComponent\\n  @indices={{panelIndices}}\\n  @maximizedPanels={{maximizedPanels}}\\n  @panelKey=\\\"scheduling\\\"\\n  @isEditing={{isEditing}}\\n  @maximizePanel={{action \\\"maximizePanel\\\"}}\\n  @minimizePanel={{action \\\"minimizePanel\\\"}}\\n  @didMaximize={{action \\\"didMaximize\\\"}}\\n  @didMinimize={{action \\\"didMinimize\\\"}} as |panel|\\n>\\n  <MessageEditor::Scheduling::WrapperComponent\\n    @panel={{panel}}\\n    @message={{message}}\\n    @isEditing={{isEditing}}\\n    @maximizePanel={{action \\\"maximizePanel\\\"}}\\n  />\\n</MessageEditor::PanelComponent>\\n<MessageEditor::PanelComponent\\n  @indices={{panelIndices}}\\n  @maximizedPanels={{maximizedPanels}}\\n  @panelKey=\\\"review\\\"\\n  @isEditing={{isEditing}}\\n  @maximizePanel={{action \\\"maximizePanel\\\"}}\\n  @minimizePanel={{action \\\"minimizePanel\\\"}}\\n  @didMaximize={{action \\\"didMaximize\\\"}}\\n  @didMinimize={{action \\\"didMinimize\\\"}} as |panel|\\n>\\n  <MessageEditor::Review::WrapperComponent\\n    @app={{app}}\\n    @panel={{panel}}\\n    @message={{message}}\\n    @isEditing={{isEditing}}\\n    @displayedPanels={{displayedPanels}}\\n    @panelIndices={{panelIndices}}\\n    @maximizePanel={{action \\\"maximizePanel\\\"}}\\n    @tasks={{hash\\n      saveAndAddSchedule=tasks.saveAndAddSchedule\\n      saveAndReturnToSummary=tasks.saveAndReturnToSummary\\n      saveAndActivate=tasks.saveAndActivate\\n      fetchMessageAudiencePreview=tasks.fetchMessageAudiencePreview\\n      removeSchedule=tasks.removeSchedule\\n    }}\\n  />\\n</MessageEditor::PanelComponent>\\n{{#if shouldFadeAndShowLoadingSpinner}}\\n  <div class=\\\"message__editor__container__loader layout__box o__flexes-to-1 o__centers-all z__1\\\">\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n  </div>\\n{{/if}}\\n<MessageEditor::MessageDebugger\\n  @message={{message}}\\n  @toggleAutoSave={{toggleAutoSave}}\\n/>\\n{{#if showCreateMessageModal}}\\n  <Messages::MessageCreationModal\\n    @isTargetingLeads={{isTargetingLeads}}\\n    @createNewMessage={{action \\\"createDuplicateMessage\\\"}}\\n    @closeModal={{action (mut showCreateMessageModal) false}}\\n    @skipTemplatesModal={{true}}\\n    @isCampaignMessage={{message.isCampaignMessage}}\\n    @isDuplicatingMessage={{true}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessageEditor::Title::HeaderComponent\\n  @message={{message}}\\n  @tasks={{hash\\n    autoSave=tasks.autoSave\\n    activate=tasks.activate\\n    deactivate=tasks.deactivate\\n    delete=tasks.delete\\n    stop=tasks.stop\\n    duplicate=tasks.duplicate\\n    move=tasks.move\\n    cancelAndReturnToSummary=tasks.cancelAndReturnToSummary\\n    saveAndReturnToSummary=tasks.saveAndReturnToSummary\\n    saveAndAddSchedule=tasks.saveAndAddSchedule\\n    startABTestOnEditingPage=tasks.startABTestOnEditingPage\\n    removeSchedule=tasks.removeSchedule\\n  }}\\n  @startABTest={{action startABTest \\\"message-header\\\"}}\\n  @edit={{edit}}\\n  @isEditing={{isEditing}}\\n  @openMoveModal={{openMoveModal}}\\n  @taskGroup={{messageActionsTaskGroup}}\\n  @displayedPanels={{displayedPanels}}\\n  @openExportModal={{openExportModal}}\\n  @openCreateMessageModal={{openCreateMessageModal}}\\n/>\\n<MessageEditor::PanelComponent\\n  @indices={{panelIndices}}\\n  @maximizedPanels={{maximizedPanels}}\\n  @panelKey=\\\"content\\\"\\n  @isEditing={{isEditing}}\\n  @maximizePanel={{action \\\"maximizePanel\\\"}}\\n  @minimizePanel={{action \\\"minimizePanel\\\"}}\\n  @didMaximize={{action \\\"didMaximize\\\"}}\\n  @didMinimize={{action \\\"didMinimize\\\"}} as |panel|\\n>\\n  <MessageEditor::Content::WrapperComponent\\n    @app={{app}}\\n    @panel={{panel}}\\n    @message={{message}}\\n    @version={{version}}\\n    @activeView={{activeView}}\\n    @changeVersion={{changeVersion}}\\n    @isEditing={{isEditing}}\\n    @changeView={{changeView}}\\n    @tasks={{tasks}}\\n    @messageActionsTaskGroup={{messageActionsTaskGroup}}\\n    @inverted={{inverted}}\\n    @selectedReaction={{selectedReaction}}\\n    @goalFilter={{goalFilter}}\\n    @linkFilter={{linkFilter}}\\n    @bulkMessage={{bulkMessage}}\\n    @bulkTag={{bulkTag}}\\n    @maximizePanel={{action \\\"maximizePanel\\\"}}\\n    @operatorQualificationPanelIsEnabled={{operatorQualificationPanelIsEnabled}}\\n  />\\n</MessageEditor::PanelComponent>\\n<MessageEditor::PanelComponent\\n  @indices={{panelIndices}}\\n  @maximizedPanels={{maximizedPanels}}\\n  @panelKey=\\\"audience\\\"\\n  @isEditing={{isEditing}}\\n  @maximizePanel={{action \\\"maximizePanel\\\"}}\\n  @minimizePanel={{action \\\"minimizePanel\\\"}}\\n  @didMaximize={{action \\\"didMaximize\\\"}}\\n  @didMinimize={{action \\\"didMinimize\\\"}} as |panel|\\n>\\n  <MessageEditor::Audience::WrapperComponent\\n    @panel={{panel}}\\n    @message={{message}}\\n    @isEditing={{isEditing}}\\n    @maximizePanel={{action \\\"maximizePanel\\\"}}\\n    @tasks={{hash\\n      fetchMessageAudiencePreview=tasks.fetchMessageAudiencePreview\\n      fetchCampaignMessageAudiencePreview=tasks.fetchCampaignMessageAudiencePreview\\n      changeSubclassType=tasks.changeSubclassType\\n    }}\\n  />\\n</MessageEditor::PanelComponent>\\n<MessageEditor::PanelComponent\\n  @indices={{panelIndices}}\\n  @maximizedPanels={{maximizedPanels}}\\n  @panelKey=\\\"schedule\\\"\\n  @isEditing={{isEditing}}\\n  @maximizePanel={{action \\\"maximizePanel\\\"}}\\n  @minimizePanel={{action \\\"minimizePanel\\\"}}\\n  @didMaximize={{action \\\"didMaximize\\\"}}\\n  @didMinimize={{action \\\"didMinimize\\\"}} as |panel|\\n>\\n  <MessageEditor::ScheduleComponent\\n    @panel={{panel}}\\n    @message={{message}}\\n    @isEditing={{isEditing}}\\n  />\\n</MessageEditor::PanelComponent>\\n<MessageEditor::PanelComponent\\n  @indices={{panelIndices}}\\n  @maximizedPanels={{maximizedPanels}}\\n  @panelKey=\\\"delivery-conditions\\\"\\n  @isEditing={{isEditing}}\\n  @maximizePanel={{action \\\"maximizePanel\\\"}}\\n  @minimizePanel={{action \\\"minimizePanel\\\"}}\\n  @didMaximize={{action \\\"didMaximize\\\"}}\\n  @didMinimize={{action \\\"didMinimize\\\"}} as |panel|\\n>\\n  <MessageEditor::DeliveryConditions::WrapperComponent\\n    @panel={{panel}}\\n    @message={{message}}\\n    @isEditing={{isEditing}}\\n  />\\n</MessageEditor::PanelComponent>\\n<MessageEditor::PanelComponent\\n  @indices={{panelIndices}}\\n  @maximizedPanels={{maximizedPanels}}\\n  @panelKey=\\\"follow-up\\\"\\n  @isEditing={{isEditing}}\\n  @maximizePanel={{action \\\"maximizePanel\\\"}}\\n  @minimizePanel={{action \\\"minimizePanel\\\"}}\\n  @didMaximize={{action \\\"didMaximize\\\"}}\\n  @didMinimize={{action \\\"didMinimize\\\"}} as |panel|\\n>\\n  <MessageEditor::FollowUp::WrapperComponent\\n    @panel={{panel}}\\n    @message={{message}}\\n    @isEditing={{isEditing}}\\n    @operatorQualificationPanelIsEnabled={{operatorQualificationPanelIsEnabled}}\\n  />\\n</MessageEditor::PanelComponent>\\n<MessageEditor::PanelComponent\\n  @indices={{panelIndices}}\\n  @maximizedPanels={{maximizedPanels}}\\n  @panelKey=\\\"goal\\\"\\n  @isEditing={{isEditing}}\\n  @maximizePanel={{action \\\"maximizePanel\\\"}}\\n  @minimizePanel={{action \\\"minimizePanel\\\"}}\\n  @didMaximize={{action \\\"didMaximize\\\"}}\\n  @didMinimize={{action \\\"didMinimize\\\"}} as |panel|\\n>\\n  <MessageEditor::Goal::WrapperComponent\\n    @panel={{panel}}\\n    @message={{message}}\\n    @isEditing={{isEditing}}\\n  />\\n</MessageEditor::PanelComponent>\\n<MessageEditor::PanelComponent\\n  @indices={{panelIndices}}\\n  @maximizedPanels={{maximizedPanels}}\\n  @panelKey=\\\"scheduling\\\"\\n  @isEditing={{isEditing}}\\n  @maximizePanel={{action \\\"maximizePanel\\\"}}\\n  @minimizePanel={{action \\\"minimizePanel\\\"}}\\n  @didMaximize={{action \\\"didMaximize\\\"}}\\n  @didMinimize={{action \\\"didMinimize\\\"}} as |panel|\\n>\\n  <MessageEditor::Scheduling::WrapperComponent\\n    @panel={{panel}}\\n    @message={{message}}\\n    @isEditing={{isEditing}}\\n    @maximizePanel={{action \\\"maximizePanel\\\"}}\\n  />\\n</MessageEditor::PanelComponent>\\n<MessageEditor::PanelComponent\\n  @indices={{panelIndices}}\\n  @maximizedPanels={{maximizedPanels}}\\n  @panelKey=\\\"review\\\"\\n  @isEditing={{isEditing}}\\n  @maximizePanel={{action \\\"maximizePanel\\\"}}\\n  @minimizePanel={{action \\\"minimizePanel\\\"}}\\n  @didMaximize={{action \\\"didMaximize\\\"}}\\n  @didMinimize={{action \\\"didMinimize\\\"}} as |panel|\\n>\\n  <MessageEditor::Review::WrapperComponent\\n    @app={{app}}\\n    @panel={{panel}}\\n    @message={{message}}\\n    @isEditing={{isEditing}}\\n    @displayedPanels={{displayedPanels}}\\n    @panelIndices={{panelIndices}}\\n    @maximizePanel={{action \\\"maximizePanel\\\"}}\\n    @tasks={{hash\\n      saveAndAddSchedule=tasks.saveAndAddSchedule\\n      saveAndReturnToSummary=tasks.saveAndReturnToSummary\\n      saveAndActivate=tasks.saveAndActivate\\n      fetchMessageAudiencePreview=tasks.fetchMessageAudiencePreview\\n      removeSchedule=tasks.removeSchedule\\n    }}\\n  />\\n</MessageEditor::PanelComponent>\\n{{#if shouldFadeAndShowLoadingSpinner}}\\n  <div class=\\\"message__editor__container__loader layout__box o__flexes-to-1 o__centers-all z__1\\\">\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n  </div>\\n{{/if}}\\n<MessageEditor::MessageDebugger\\n  @message={{message}}\\n  @toggleAutoSave={{toggleAutoSave}}\\n/>\\n{{#if showCreateMessageModal}}\\n  <Messages::MessageCreationModal\\n    @isTargetingLeads={{isTargetingLeads}}\\n    @createNewMessage={{action \\\"createDuplicateMessage\\\"}}\\n    @closeModal={{action (mut showCreateMessageModal) false}}\\n    @skipTemplatesModal={{true}}\\n    @isCampaignMessage={{message.isCampaignMessage}}\\n    @isDuplicatingMessage={{true}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-editor/view-and-edit-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-editor/view-and-edit-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-attrs-in-components */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { A } from '@ember/array';\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { or, readOnly, not } from '@ember/object/computed';\nimport { bind, cancel, schedule } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport { isNone } from '@ember/utils';\nimport DidChangeAttrs from 'ember-did-change-attrs';\nimport RecordRenderTime from 'embercom/components/mixins/record-render-time';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\nimport $ from 'jquery';\n\nexport default Component.extend(RecordRenderTime, DidChangeAttrs, {\n  notificationsService: service(),\n  messageMutationService: service(),\n  intercomEventService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  isTargetingLeads: readOnly('message.isTargetingLeads'),\n  isUAMFollowUpActionsDisabled: not('app.canUseContentOrientedNavigation'),\n\n  classNames: [\n    'message__editor__container',\n    'layout__box',\n    'o__flexes-to-1',\n    'js__message-view-and-edit-component',\n  ],\n  classNameBindings: ['shouldFadeAndShowLoadingSpinner:o__half-opaque'],\n  'data-test-view-and-edit-component': true,\n\n  maximizedPanels: undefined,\n  init() {\n    this._super();\n    this.set('maximizedPanels', A());\n  },\n\n  renderMetricName: 'messageSummaryAndEdit',\n  renderMetricBufferSize: 1,\n  scrollTimer: null,\n\n  didInsertElement() {\n    this._super(...arguments);\n    this._setupPageInteractionSaveDebounce();\n    this._setupVisibilityListener();\n  },\n\n  willDestroyElement() {\n    this._teardownPageInteractionSaveDebounce();\n    this._teardownVisibilityListener();\n    cancel(this.set('scrollTimer'));\n    this._super(...arguments);\n  },\n\n  didChangeAttrsConfig: {\n    attrs: ['isEditing'],\n  },\n\n  didChangeAttrs(changes) {\n    this._super(...arguments);\n\n    if (changes.isEditing && !changes.isEditing.current) {\n      this._minimizeAllPanels();\n    }\n  },\n\n  shouldFadeAndShowLoadingSpinner: or(\n    'attrs.tasks.delete.isRunning',\n    'attrs.tasks.duplicate.isRunning',\n    'attrs.tasks.saveAndReturnToSummary.isRunning',\n    'attrs.tasks.saveAndActivate.isRunning',\n    'attrs.tasks.saveAndAddSchedule.isRunning',\n    'attrs.tasks.removeSchedule.isRunning',\n    'attrs.tasks.deleteVariation.isRunning',\n  ),\n\n  panelMap: computed(\n    'message.isInApp',\n    'message.isNotManualMessage',\n    'message.canHaveFollowUp',\n    'message.isNotLive',\n    'message.isWebFirst',\n    function() {\n      return [\n        { key: 'content' },\n        { key: 'audience' },\n        {\n          key: 'delivery-conditions',\n          viewModeRequirements: [\n            'message.isInApp',\n            'message.isNotManualMessage',\n            'message.isWebFirst',\n          ],\n          editModeRequirements: [\n            'message.isInApp',\n            'message.isNotManualMessage',\n            'message.isWebFirst',\n          ],\n        },\n        {\n          key: 'follow-up',\n          viewModeRequirements: ['message.canHaveFollowUp', 'isUAMFollowUpActionsDisabled'],\n          editModeRequirements: ['message.canHaveFollowUp', 'isUAMFollowUpActionsDisabled'],\n        },\n        { key: 'goal' },\n        { key: 'scheduling' },\n        {\n          key: 'review',\n          hiddenInViewMode: true,\n          editModeRequirements: ['message.isNotLive'],\n        },\n      ];\n    },\n  ),\n\n  displayedPanels: computed('panelMap', 'isEditing', function() {\n    return this.panelMap\n      .filter(panel => {\n        let forceHideKey = this.isEditing ? 'hiddenInEditMode' : 'hiddenInViewMode';\n        if (panel[forceHideKey]) {\n          return false;\n        }\n\n        let requirementsKey = this.isEditing ? 'editModeRequirements' : 'viewModeRequirements';\n        return this.arePanelRequirementsSatisfied(panel[requirementsKey]);\n      })\n      .map(panel => panel.key);\n  }),\n\n  panelIndices: computed('displayedPanels', function() {\n    let indices = {};\n    this.displayedPanels.forEach((panel, index) => {\n      indices[panel] = index;\n    });\n    return indices;\n  }),\n\n  //adding eslint disable so that the method signature is correct\n  errorsForPanel(panel) {\n    // eslint-disable-line no-unused-vars\n    return [];\n  },\n\n  arePanelRequirementsSatisfied(requirements) {\n    return isNone(requirements) || requirements.every(requirement => this.get(requirement));\n  },\n\n  _minimizeAllPanels() {\n    this.set('maximizedPanels', A());\n  },\n\n  _mutateClientData(clientData, contextMethod) {\n    let context = {\n      location: Object.getPrototypeOf(this)._debugContainerKey,\n      method: contextMethod,\n    };\n    let mutation = { command: MUTATIONS.setValue, key: 'clientData', data: clientData, context };\n    this.messageMutationService.performMutations(this.message, [mutation]);\n  },\n\n  _recordOpenedPanel(panel) {\n    let copiedClientData = this.get('message.clientData');\n    let openedSteps = copiedClientData.get('openedSteps');\n\n    if (!openedSteps.includes(panel)) {\n      openedSteps.push(panel);\n      copiedClientData.set('openedSteps', openedSteps);\n      this._mutateClientData(copiedClientData, this._recordOpenedPanel.name);\n    }\n  },\n\n  _setupPageInteractionSaveDebounce() {\n    $(document).on(`mousemove.${this.get('element.id')}`, bind(this, this._handleMouseMove));\n  },\n\n  _teardownPageInteractionSaveDebounce() {\n    $(document).off(`mousemove.${this.get('element.id')}`);\n  },\n\n  _setupVisibilityListener() {\n    $(document).on(`visibilitychange.${this.elementId}`, bind(this, this._tabEntered));\n  },\n\n  _teardownVisibilityListener() {\n    $(document).off(`visibilitychange.${this.elementId}`);\n  },\n\n  _tabEntered() {\n    this.attrs.checkVersionLock();\n  },\n\n  _handleMouseMove() {\n    this.attrs.userActiveOnPage();\n  },\n\n  _scrollToPanel(panel) {\n    if (this.isDestroying) {\n      return;\n    }\n    let panelTop = $(`.js__message__editor__panel.o__${panel}`).position().top;\n    $('.js__message-view-and-edit-component__container').animate({ scrollTop: panelTop - 10 });\n  },\n\n  actions: {\n    createDuplicateMessage(type = null) {\n      let options = { messageType: type };\n      this.attrs.tasks.duplicate.perform(options);\n    },\n    maximizePanel(panel, scrollToPanel) {\n      this._minimizeAllPanels();\n      this._recordOpenedPanel(panel);\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'opened',\n        object: `messages_editor_${panel}`,\n        models: [this.message],\n        place: 'outbound',\n      });\n      this.maximizedPanels.addObject(panel).compact();\n      if (scrollToPanel) {\n        this.set(\n          'scrollTimer',\n          schedule('afterRender', () => this._scrollToPanel(panel)),\n        );\n      }\n    },\n    minimizePanel(panel) {\n      let errorsForPanel = this.errorsForPanel(panel);\n      if (errorsForPanel.length === 0) {\n        this.maximizedPanels.removeObject(panel);\n      } else {\n        this.notificationsService.notifyError('Panel has errors');\n      }\n    },\n    didMinimize(/*panelKey*/) {},\n    didMaximize(panelKey) {\n      if (panelKey === 'content') {\n        this.get('tasks.fetchSampleUser').perform();\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{partial 'components/messages/partials/attribute-selector-inner'}}\\n<a class=\\\"card__closer\\\" {{action 'closeFilterSelector' bubbles=false}}>{{ic-interface-icon 'small-close' solo=true}}</a>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{partial 'components/messages/partials/attribute-selector-inner'}}\\n<a class=\\\"card__closer\\\" {{action 'closeFilterSelector' bubbles=false}}>{{ic-interface-icon 'small-close' solo=true}}</a>\\n\",\"moduleName\":\"embercom/components/message-filter-selector-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-filter-selector-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-jquery */\nimport { isPresent } from '@ember/utils';\nimport $ from 'jquery';\nimport { computed } from '@ember/object';\nimport { schedule } from '@ember/runloop';\nimport { notEmpty, reads, empty, or, filter, alias } from '@ember/object/computed';\nimport Evented, { on } from '@ember/object/evented';\nimport escapeRegExp from 'embercom/lib/escape-regular-expression';\nimport IntercomDropdownComponent from 'embercom/components/intercom-dropdown-component';\nimport ListKeyboardSelectionMixinV2 from 'embercom/components/mixins/list-keyboard-selection-mixin-v2';\n\n//TODO nolaneo - Some functions overlap with segment-filter/list-component, we should\n//potentially extract these out.\nlet MessageFilterSelectorComponent = IntercomDropdownComponent.extend(\n  Evented,\n  ListKeyboardSelectionMixinV2,\n  {\n    classNames: [\n      'card',\n      'o__in-small-card-list',\n      'o__fit',\n      'message__editor__audience__filter-selector',\n      'test__filter-selector',\n    ],\n\n    jsHighlightClass: '.js__focused',\n    jsKeyboardRowSelector:\n      '.message__editor__audience__filter-selector-row, .message__editor__audience__filter-expander-row',\n    jsActiveKeyboardRowSelector:\n      '.message__editor__audience__filter-selector-row.js__focused, .message__editor__audience__filter-expander-row.js__focused',\n    jsExpanderRowSelector: '.message__editor__audience__filter-expander-row.o__minimized',\n\n    userType: 'User',\n\n    hasSearchTerm: notEmpty('filterSearchTerm'),\n\n    showUserExtraFilters: false,\n    showCompanyExtraFilters: false,\n    showCompanyFilters: reads('app.companiesActive'),\n\n    reducedCampaignFiltersAreEmpty: empty('reducedCampaignFilters'),\n    reducedUserFiltersAreEmpty: empty('reducedUserFilters'),\n    reducedCompanyFiltersAreEmpty: empty('reducedCompanyFilters'),\n\n    showInContextCdaCreator: or('showUserExtraFilters', 'hasSearchTerm'),\n\n    focusAfterInsert: on('didInsertElement', function() {\n      schedule('afterRender', this, function() {\n        if (this.isDestroying) {\n          return;\n        }\n        $('input', this.element).focus();\n      });\n    }),\n\n    focusSearchInput: on('didChangeOpenState', function() {\n      schedule('afterRender', this, function() {\n        if (this.isDestroying) {\n          return;\n        }\n        if (this.isOpen) {\n          $('input', this.element).focus();\n        }\n      });\n    }),\n\n    reducedCampaignFilters: computed('filterSearchTerm', 'campaignFilters.[]', function() {\n      let campaignFilters = this.campaignFilters;\n      return this._reduceFiltersToSearchTerm(campaignFilters);\n    }),\n\n    reducedUserFilters: computed('filterSearchTerm', 'userFilters.[]', function() {\n      let userFilters = this.userFilters;\n      return this._reduceFiltersToSearchTerm(userFilters);\n    }),\n\n    reducedCompanyFilters: computed('filterSearchTerm', 'companyFilters.[]', function() {\n      let companyFilters = this.companyFilters;\n      return this._reduceFiltersToSearchTerm(companyFilters);\n    }),\n\n    _reduceFiltersToSearchTerm(filters) {\n      let escapedSearchTerm = escapeRegExp(this.filterSearchTerm);\n      let searchRegex = new RegExp(escapedSearchTerm, 'i');\n      return filters.filter(function(filter) {\n        return filter.attribute.nameMatchesRegex(searchRegex);\n      });\n    },\n\n    userFilters: filter('filters', function(filter) {\n      return filter.attribute.get('isUser');\n    }),\n\n    _reduceFiltersToMainOrExtra(filters, min, isExtra) {\n      return filters.filter(function(filter, index) {\n        if (isExtra) {\n          return (\n            (min && index >= min) ||\n            (!filter.attributeSetting && !filter.attribute.get('requiredFilter'))\n          );\n        }\n        return (\n          (min && index < min) || filter.attributeSetting || filter.attribute.get('requiredFilter')\n        );\n      });\n    },\n\n    userMainFilters: computed('userFilters', 'minRequiredUserFilters', function() {\n      return this._reduceFiltersToMainOrExtra(this.userFilters, this.minRequiredUserFilters, false);\n    }),\n\n    userExtraFilters: computed('userFilters', 'minRequiredUserFilters', function() {\n      return this._reduceFiltersToMainOrExtra(this.userFilters, this.minRequiredUserFilters, true);\n    }),\n\n    companyFilters: filter('filters', function(filter) {\n      return filter.attribute.get('isCompany');\n    }),\n\n    companyMainFilters: computed('companyFilters', 'minRequiredCompanyFilters', function() {\n      return this._reduceFiltersToMainOrExtra(\n        this.companyFilters,\n        this.minRequiredCompanyFilters,\n        false,\n      );\n    }),\n\n    companyExtraFilters: computed('companyFilters', 'minRequiredCompanyFilters', function() {\n      return this._reduceFiltersToMainOrExtra(\n        this.companyFilters,\n        this.minRequiredCompanyFilters,\n        true,\n      );\n    }),\n\n    hasCampaignFilters: notEmpty('campaignFilters'),\n    rawCampaignFilters: filter('filters', function(filter) {\n      return filter.attribute.get('isCampaign');\n    }),\n    campaignFiltersExcludingDeprecated: filter('rawCampaignFilters', function(filter) {\n      // We no longer allow new sessions_at_match filters to be used in campaigns\n      return filter.attribute.get('identifier') !== 'campaign.sessions_at_match';\n    }),\n    campaignFilters: alias('campaignFiltersExcludingDeprecated'),\n    //Duplicated from embercom-composer\n    _distanceBetweenTwoPoints(pointA, pointB) {\n      let minPoint = Math.min(pointA, pointB);\n      let maxPoint = Math.max(pointA, pointB);\n      if (minPoint < 0 && maxPoint >= 0) {\n        return Math.abs(maxPoint) + Math.abs(minPoint);\n      } else if (minPoint < 0 && maxPoint < 0) {\n        return Math.abs(Math.abs(minPoint) - Math.abs(maxPoint));\n      } else {\n        return Math.abs(Math.abs(maxPoint) - Math.abs(minPoint));\n      }\n    },\n\n    actions: {\n      insertFilter(filter) {\n        if (filter.isDisabled) {\n          return;\n        }\n        // eslint-disable-next-line ember/closure-actions\n        this.sendAction('insertFilter', filter);\n        schedule('afterRender', this, function() {\n          let $messageEditorPage = $('.message-editor-full-page');\n          let $messageEditorInnerPage = $('.message-editor-full-page .page');\n          if (isPresent($messageEditorPage)) {\n            let $audienceEditor = $('.message-audience-editor-component');\n            let paddingAtBottomOfAudienceContainer = 80;\n\n            let pageTop = $messageEditorInnerPage[0].getBoundingClientRect().top;\n            let audienceEditorBottom =\n              $audienceEditor[0].getBoundingClientRect().bottom -\n              paddingAtBottomOfAudienceContainer;\n            let differenceBetweenFilterAndPageTop = this._distanceBetweenTwoPoints(\n              pageTop,\n              audienceEditorBottom,\n            );\n\n            if (differenceBetweenFilterAndPageTop < $messageEditorPage.scrollTop()) {\n              let defaultFilterHeight = 200;\n              $messageEditorPage.animate(\n                { scrollTop: differenceBetweenFilterAndPageTop - defaultFilterHeight },\n                '100',\n                'easeOutQuad',\n              );\n            }\n          }\n        });\n      },\n      closeFilterSelector() {\n        // eslint-disable-next-line ember/closure-actions\n        this.sendAction('closeFilterSelector');\n      },\n      toggleShowExtraUserFilters() {\n        schedule('afterRender', this, () => this.toggleProperty('showUserExtraFilters'));\n      },\n      toggleShowExtraCompanyFilters() {\n        schedule('afterRender', this, () => this.toggleProperty('showCompanyExtraFilters'));\n      },\n    },\n  },\n);\n\nexport default MessageFilterSelectorComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if noFolders}}\\n  <IcEmptyState data-test-empty-state @icon=\\\"folder\\\" @title=\\\"No folders\\\" />\\n{{else}}\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <IcLegacyTable\\n    data-test-folder-list-table\\n    @columns={{columns}}\\n    @rows={{sortedFolders}}\\n    @height=\\\"flex\\\"\\n    @inline={{true}}\\n  />\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if noFolders}}\\n  <IcEmptyState data-test-empty-state @icon=\\\"folder\\\" @title=\\\"No folders\\\" />\\n{{else}}\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <IcLegacyTable\\n    data-test-folder-list-table\\n    @columns={{columns}}\\n    @rows={{sortedFolders}}\\n    @height=\\\"flex\\\"\\n    @inline={{true}}\\n  />\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/message-folders/folder-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-folders/folder-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, sort, empty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  'data-test-folder-list': true,\n  classNames: ['layout__box', 'o__flexes-to-1', 'o__has-rows'],\n  appService: service(),\n  app: readOnly('appService.app'),\n  sortedFolders: sort('folders', (a, b) =>\n    a.get('name').localeCompare(b.get('name'), undefined, { sensitivity: 'accent' }),\n  ),\n  noFolders: empty('folders'),\n  columns: [\n    {\n      label: 'Title',\n      valueComponent: 'message-folders/table/title-cell',\n      canExpandToFit: true,\n    },\n    {\n      icon: 'chat-bubble',\n      label: 'Messages',\n      valueComponent: 'message-folders/table/message-count-cell',\n    },\n  ],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span data-test-message-count>{{row.messageCounts.all}}</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span data-test-message-count>{{row.messageCounts.all}}</span>\\n\",\"moduleName\":\"embercom/components/message-folders/table/message-count-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-folders/table/message-count-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<LinkTo\\n  @route=\\\"apps.app.outbound.messages.auto.folders.folder\\\"\\n  @model={{row.id}}\\n  data-test-title-link\\n  @classNames=\\\"t__h3 t__solo-link\\\"\\n>\\n  {{row.name}}\\n</LinkTo>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<LinkTo\\n  @route=\\\"apps.app.outbound.messages.auto.folders.folder\\\"\\n  @model={{row.id}}\\n  data-test-title-link\\n  @classNames=\\\"t__h3 t__solo-link\\\"\\n>\\n  {{row.name}}\\n</LinkTo>\\n\",\"moduleName\":\"embercom/components/message-folders/table/title-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/message-folders/table/title-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if @company}}\\n  <IcButton\\n    @type=\\\"primary\\\"\\n    @icon=\\\"outbound-filled\\\"\\n    @label=\\\"Message company\\\"\\n    @onClick={{action \\\"createCompanyMessage\\\"}}\\n    @fit={{true}}\\n    @disabled={{@bulkOperationsDisabled}}\\n    data-test-message-company-button={{true}}\\n    {{tooltip content=(concat \\\"Message every user in \\\" @company.name)}}\\n  />\\n{{else if (and @hasPeopleOrCompaniesToShow @hasSelectedUsers @segment.isCompany)}}\\n  <IcButton\\n    @type=\\\"secondary\\\"\\n    @icon=\\\"outbound-filled\\\"\\n    @label=\\\"Message\\\"\\n    @onClick={{action \\\"createCompanyMessage\\\"}}\\n    @disabled={{@bulkOperationsDisabled}}\\n    @inLeftList={{true}}\\n    data-test-message-selected-companies-button={{true}}\\n  />\\n{{else if (and @hasPeopleOrCompaniesToShow (not this.app.canUseContentOrientedNavigation))}}\\n  <MessageDropdownComponent\\n    @segment={{@segment}}\\n    @classNames=\\\"u__left u__mr__10\\\"\\n    @scrollParentSelector=\\\".js__user-company-list-container\\\"\\n    @manualMessageDisabled={{this.shouldDisableManualMessages}}\\n    @createAutoMessage={{action \\\"createAutoMessage\\\"}}\\n    @createManualMessage={{action \\\"createManualMessage\\\"}}\\n  />\\n{{else}}\\n  <IcButton\\n    @type=\\\"secondary\\\"\\n    @icon=\\\"outbound-filled\\\"\\n    @label=\\\"New message\\\"\\n    @onClick={{action \\\"createAutoMessage\\\"}}\\n    @inLeftList={{true}}\\n    data-test-create-auto-message={{true}}\\n    class=\\\"u__left\\\"\\n    {{tooltip content=(concat 'Message ' @segment.personTypeName 's who match the filters now and in the future')}}\\n  />\\n{{/if}}\\n\\n{{#if this.showCreateMessageModal}}\\n  <Messages::MessageCreationModal\\n    @isTargetingLeads={{@segment.hasAnonymousPredicate}}\\n    @createNewMessage={{action \\\"createNewMessage\\\"}}\\n    @closeModal={{action (mut this.showCreateMessageModal) false}}\\n    @templates={{this.templates}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if @company}}\\n  <IcButton\\n    @type=\\\"primary\\\"\\n    @icon=\\\"outbound-filled\\\"\\n    @label=\\\"Message company\\\"\\n    @onClick={{action \\\"createCompanyMessage\\\"}}\\n    @fit={{true}}\\n    @disabled={{@bulkOperationsDisabled}}\\n    data-test-message-company-button={{true}}\\n    {{tooltip content=(concat \\\"Message every user in \\\" @company.name)}}\\n  />\\n{{else if (and @hasPeopleOrCompaniesToShow @hasSelectedUsers @segment.isCompany)}}\\n  <IcButton\\n    @type=\\\"secondary\\\"\\n    @icon=\\\"outbound-filled\\\"\\n    @label=\\\"Message\\\"\\n    @onClick={{action \\\"createCompanyMessage\\\"}}\\n    @disabled={{@bulkOperationsDisabled}}\\n    @inLeftList={{true}}\\n    data-test-message-selected-companies-button={{true}}\\n  />\\n{{else if (and @hasPeopleOrCompaniesToShow (not this.app.canUseContentOrientedNavigation))}}\\n  <MessageDropdownComponent\\n    @segment={{@segment}}\\n    @classNames=\\\"u__left u__mr__10\\\"\\n    @scrollParentSelector=\\\".js__user-company-list-container\\\"\\n    @manualMessageDisabled={{this.shouldDisableManualMessages}}\\n    @createAutoMessage={{action \\\"createAutoMessage\\\"}}\\n    @createManualMessage={{action \\\"createManualMessage\\\"}}\\n  />\\n{{else}}\\n  <IcButton\\n    @type=\\\"secondary\\\"\\n    @icon=\\\"outbound-filled\\\"\\n    @label=\\\"New message\\\"\\n    @onClick={{action \\\"createAutoMessage\\\"}}\\n    @inLeftList={{true}}\\n    data-test-create-auto-message={{true}}\\n    class=\\\"u__left\\\"\\n    {{tooltip content=(concat 'Message ' @segment.personTypeName 's who match the filters now and in the future')}}\\n  />\\n{{/if}}\\n\\n{{#if this.showCreateMessageModal}}\\n  <Messages::MessageCreationModal\\n    @isTargetingLeads={{@segment.hasAnonymousPredicate}}\\n    @createNewMessage={{action \\\"createNewMessage\\\"}}\\n    @closeModal={{action (mut this.showCreateMessageModal) false}}\\n    @templates={{this.templates}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/messages/bulk-message.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messages/bulk-message.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  appService: service(),\n  store: service(),\n  app: readOnly('appService.app'),\n  tagName: '',\n  templates: computed(function() {\n    return this.store.findAll('template');\n  }),\n\n  creatingManualMessage: undefined,\n  shouldDisableManualMessages: readOnly('bulkOperationsDisabled'),\n  actions: {\n    createNewMessage() {\n      if (this.company) {\n        this.send('createCompanyMessage', ...arguments);\n      } else if (this.hasSelectedUsers && this.get('segment.isCompany')) {\n        this.send('createCompanyMessage', ...arguments);\n      } else if (this.creatingManualMessage) {\n        this.send('createManualMessage', ...arguments);\n      } else {\n        this.send('createAutoMessage', ...arguments);\n      }\n    },\n    createAutoMessage() {\n      this.set('creatingManualMessage', false);\n      if (this.showCreateMessageModal) {\n        this.set('showCreateMessageModal', false);\n        this.createAutoMessage(...arguments);\n      } else {\n        this.set('showCreateMessageModal', true);\n      }\n    },\n    createManualMessage() {\n      this.set('creatingManualMessage', true);\n      if (this.showCreateMessageModal) {\n        this.set('showCreateMessageModal', false);\n        this.createManualMessage(...arguments);\n      } else {\n        this.set('showCreateMessageModal', true);\n      }\n    },\n    createCompanyMessage() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'direct-message-company',\n        object: 'company',\n        context: 'platform',\n      });\n      if (this.showCreateMessageModal) {\n        this.set('showCreateMessageModal', false);\n        this.createCompanyMessage(...arguments);\n      } else {\n        this.set('showCreateMessageModal', true);\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { schedule } from '@ember/runloop';\nimport $ from 'jquery';\nimport { reads } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport UserAgentDetector from '@intercom/embercom-core/lib/user-agent-detector';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  tagName: 'iframe',\n  template: notImplemented(),\n  attributeBindings: ['srcdoc'],\n\n  srcdoc: reads('template.html'),\n\n  didInsertElement() {\n    this._super(...arguments);\n    if (UserAgentDetector.isIE() || UserAgentDetector.isEdge()) {\n      schedule('afterRender', this, function() {\n        $(this.element)[0].contentDocument.write(this.get('template.html'));\n      });\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.shouldShowBanner}}\\n  <Pulse::FullWidthBanner\\n    @color=\\\"yellow-light\\\"\\n    @noRoundedCorner={{true}}\\n    data-test-email-verification-banner\\n  >\\n  {{#if this.app.awaiting_email_approval}}\\n    {{ic-interface-icon 'alert'}} {{! @ruairik Leaving this as is as there is no build palette colour and ic-banner doesn't support this type of warning}}\\n    Email can't be sent right now as your workspace is being reviewed. We've emailed your workspace admin with more details.\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/en/articles/567399-intercom-s-workspace-review-process\\\"\\n      @title=\\\"Read more on our review process here\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />\\n  {{else if this.app.restricted_to_engaged_only}}\\n    Email sending for {{this.app.name}} is currently restricted to active users only.\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/email-sending-restrictions-explained\\\"\\n      @title=\\\"Read more on this here\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />\\n  {{else if this.app.email_rate_limited}}\\n    Email sending for {{this.app.name}} has hit its daily limit. Please reach out if you have any questions.\\n  {{else}}\\n    To start sending email, check {{this.admin.email}} and verify your address.\\n    {{#if this.resendValidationEmail.isRunning}}\\n      <span>Resending email…</span>\\n    {{else}}\\n      <a {{on \\\"click\\\" (perform this.resendValidationEmail)}}>Resend the verification email.</a>\\n    {{/if}}\\n  {{/if}}\\n  </Pulse::FullWidthBanner>\\n{{/if}}\\n\", {\"contents\":\"{{#if this.shouldShowBanner}}\\n  <Pulse::FullWidthBanner\\n    @color=\\\"yellow-light\\\"\\n    @noRoundedCorner={{true}}\\n    data-test-email-verification-banner\\n  >\\n  {{#if this.app.awaiting_email_approval}}\\n    {{ic-interface-icon 'alert'}} {{! @ruairik Leaving this as is as there is no build palette colour and ic-banner doesn't support this type of warning}}\\n    Email can't be sent right now as your workspace is being reviewed. We've emailed your workspace admin with more details.\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/en/articles/567399-intercom-s-workspace-review-process\\\"\\n      @title=\\\"Read more on our review process here\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />\\n  {{else if this.app.restricted_to_engaged_only}}\\n    Email sending for {{this.app.name}} is currently restricted to active users only.\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/email-sending-restrictions-explained\\\"\\n      @title=\\\"Read more on this here\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />\\n  {{else if this.app.email_rate_limited}}\\n    Email sending for {{this.app.name}} has hit its daily limit. Please reach out if you have any questions.\\n  {{else}}\\n    To start sending email, check {{this.admin.email}} and verify your address.\\n    {{#if this.resendValidationEmail.isRunning}}\\n      <span>Resending email…</span>\\n    {{else}}\\n      <a {{on \\\"click\\\" (perform this.resendValidationEmail)}}>Resend the verification email.</a>\\n    {{/if}}\\n  {{/if}}\\n  </Pulse::FullWidthBanner>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/messages/email-verification-banner-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messages/email-verification-banner-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { and, or, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  notificationsService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n  emailApprovalRequiredOrPendingVerificationOrRestricted: or(\n    'app.awaiting_email_approval',\n    'admin.current_email_pending_verification',\n    'app.restricted_to_engaged_only',\n    'app.email_rate_limited',\n  ),\n  shouldShowBanner: and(\n    'emailApprovalRequiredOrPendingVerificationOrRestricted',\n    'app.isNotDeveloperWorkspace',\n  ),\n\n  isEmailResending: false,\n\n  resendValidationEmail: task(function*() {\n    try {\n      yield this.admin.resendValidationEmail();\n      this.notificationsService.notifyConfirmation(\n        'The email has been resent, please check your inbox.',\n      );\n    } catch (error) {\n      this.notificationsService.notifyResponseError(error, {\n        default: `We couldn't resend the verification email, please try again.`,\n      });\n    }\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { htmlSafe } from '@ember/string';\nimport { isPresent } from '@ember/utils';\nimport $ from 'jquery';\nimport { readOnly, map } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport { addEventListener, runDisposables } from 'ember-lifeline';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  appService: service(),\n  paywallService: service(),\n  store: service(),\n  app: readOnly('appService.app'),\n  showInlineCreator: false,\n  dropdownButtonText: 'Move to',\n  classNames: ['f__custom-select js__folder-and-campaign-assignment'],\n  campaigns: null,\n  folders: readOnly('app.folders'),\n\n  _getCampaignSummaries: task(function*() {\n    try {\n      let campaigns = yield this.store.findAll('campaign-summary', { reload: true });\n      this.set('campaigns', campaigns.sortBy('title'));\n    } catch (e) {\n      this.notificationsService.notifyError(\n        `Something went wrong and we couldn't load your campaign list. Please try again.`,\n      );\n    }\n  }),\n\n  init() {\n    this._super(...arguments);\n    this._getCampaignSummaries.perform();\n  },\n\n  destroy() {\n    this._super(...arguments);\n    runDisposables(this);\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    addEventListener(this, window, 'click', e => this._closeDropdown(e));\n  },\n\n  _closeDropdown(e) {\n    let $target = $(e.target);\n    if (\n      $target.is(\n        '.js__folder-create__button, .js__folder-create__text, .js__campaign-create__button, .js__campaign-create__text',\n      )\n    ) {\n      return;\n    }\n    if (!$target.closest('.js__folder-and-campaign-assignment').length) {\n      this.set('isOpen', false);\n    }\n  },\n\n  campaignsWithSelectedMarked: map('campaigns', function(campaign) {\n    let isSelected = campaign.get('id') === this.get('campaign.id');\n    campaign.set('isSelected', isSelected);\n    return campaign;\n  }),\n\n  foldersWithSelectedMarked: map('folders', function(folder) {\n    let isSelected = this.get('folder.id') === folder.get('id');\n    folder.set('isSelected', isSelected);\n    return folder;\n  }),\n\n  actions: {\n    toggleDropdown() {\n      this.paywallService\n        .paywall({ featureName: 'message_folders' })\n        .then(() => this.toggleProperty('isOpen'))\n        .catch(this.paywallService.handleError);\n    },\n    assignToFolder(folder) {\n      this.send('closeDropdown');\n      if (folder.get('id') !== this.get('folder.id')) {\n        if (isPresent(this.campaign)) {\n          let body = htmlSafe(\n            \"This campaign's entry rules won't apply to this message if you remove it.<br /><br />We'll pause the message as soon as you remove it, so you can review its rules before putting it live again.\",\n          );\n          let options = {\n            title: 'Remove from campaign',\n            body,\n            confirmButtonText: 'Remove',\n          };\n          intercomConfirm(this, options).then(() =>\n            // eslint-disable-next-line ember/closure-actions\n            this.sendAction('assignMessagesToFolder', folder),\n          );\n        } else {\n          // eslint-disable-next-line ember/closure-actions\n          this.sendAction('assignMessagesToFolder', folder);\n        }\n      }\n    },\n\n    assignToCampaign(campaign) {\n      this.send('closeDropdown');\n      if (campaign.get('id') !== this.get('campaign.id')) {\n        // eslint-disable-next-line ember/closure-actions\n        this.sendAction('assignMessagesToCampaign', campaign);\n      }\n    },\n    createNewCampaign() {\n      this.set('showInlineCreator', true);\n      this.set('assignmentType', 'campaign');\n    },\n    createNewFolder() {\n      this.set('showInlineCreator', true);\n      this.set('assignmentType', 'folder');\n    },\n    closeEditor() {\n      this.set('showInlineCreator', false);\n    },\n    closeDropdown() {\n      this.set('isOpen', false);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<a class=\\\"overlay__list-item u__prevent-breaks twk__message-title__folder-action o__input\\\">{{ic-interface-icon assignmentType}}\\n  <Input @value={{name}} @classNames=\\\"f__text o__small twk__folder-simple-editor__input js__folder-and-campaign-simple-editor__input\\\" />\\n</a>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<a class=\\\"overlay__list-item u__prevent-breaks twk__message-title__folder-action o__input\\\">{{ic-interface-icon assignmentType}}\\n  <Input @value={{name}} @classNames=\\\"f__text o__small twk__folder-simple-editor__input js__folder-and-campaign-simple-editor__input\\\" />\\n</a>\\n\",\"moduleName\":\"embercom/components/messages/folders/message-folder-and-campaign-simple-editor-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messages/folders/message-folder-and-campaign-simple-editor-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { bind } from '@ember/runloop';\nimport $ from 'jquery';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nconst ENTER = 13;\nconst ESCAPE = 27;\n\nexport default Component.extend({\n  intercomEventService: service(),\n  classNames: ['message__list-legacy__folder-simple-editor'],\n  name: '',\n  store: service(),\n\n  didInsertElement() {\n    this._super(...arguments);\n    $('.js__folder-and-campaign-simple-editor__input', this.element).focus();\n    $('.js__folder-and-campaign-simple-editor__input', this.element).on(\n      `keyup.${this.elementId}`,\n      bind(this, this.checkCompletion),\n    );\n  },\n\n  willDestroyElement() {\n    $('.js__folder-and-campaign-simple-editor__input', this.element).off(`keyup.${this.elementId}`);\n    this._super(...arguments);\n  },\n\n  checkCompletion(e) {\n    if (!this.isDestroying) {\n      if (e.keyCode === ENTER) {\n        this.send('closeEditor');\n        if (this.assignmentType === 'folder') {\n          this.send('saveFolder', this.name);\n        } else if (this.assignmentType === 'campaign') {\n          this.send('saveCampaign', this.name);\n        }\n      } else if (e.keyCode === ESCAPE) {\n        this.set('name', '');\n        this.send('closeEditor');\n      }\n    }\n  },\n  actions: {\n    async saveFolder() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('closeDropdown');\n      let name = this.name;\n      let folder = await this.store.createRecord('message-folder', { name }).save();\n      this.intercomEventService.trackEvent('message-folder-created-from-dropdown-on-edit-page', {\n        folder_name: name,\n      });\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('assignToFolder', folder);\n    },\n    async saveCampaign() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('closeDropdown');\n      let title = this.name;\n      let campaign = await this.store.createRecord('campaign', { title }).save();\n      this.store.pushPayload({ 'campaign-summary': { id: campaign.id, title } });\n      this.intercomEventService.trackEvent('message-campaign-created-from-dropdown-on-edit-page', {\n        campaign_name: title,\n      });\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('assignToCampaign', campaign);\n    },\n    closeEditor() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('closeEditor');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { empty, mapBy, uniq, equal } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  paywallService: service(),\n  hasNotSelectedMessages: empty('selectedMessages'),\n  folders: mapBy('selectedMessages', 'folder'),\n  uniqueFolders: uniq('folders'),\n  singleFolderSelected: equal('uniqueFolders.length', 1),\n  actions: {\n    removeFromFolder() {\n      this.paywallService.paywall({ featureName: 'message_folders' }).then(() => {\n        if (this.singleFolderSelected) {\n          // eslint-disable-next-line ember/closure-actions\n          this.sendAction('removeMessagesFromSingleFolder', this.get('uniqueFolders.firstObject'));\n        } else {\n          // eslint-disable-next-line ember/closure-actions\n          this.sendAction('removeMessagesFromMultipleFolders', this.uniqueFolders);\n        }\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<a class=\\\"tabs__discrete-tab {{if (eq state 'all') 'o__selected'}}\\\" {{action (action changeState 'all')}} data-test-state-tab=\\\"all\\\">\\n  All\\n  {{#if folder.messageCounts}}<span class=\\\"tabs__tab__counter\\\">({{folder.messageCounts.all}})</span>{{/if}}\\n</a>\\n<a class=\\\"tabs__discrete-tab {{if (eq state 'live') 'o__selected'}}\\\" {{action (action changeState 'live')}} data-test-state-tab=\\\"live\\\">\\n  Live\\n  {{#if folder.messageCounts}}<span class=\\\"tabs__tab__counter\\\">({{folder.messageCounts.live}})</span>{{/if}}\\n</a>\\n<a class=\\\"tabs__discrete-tab {{if (eq state 'draft') 'o__selected'}}\\\" {{action (action changeState 'draft')}} data-test-state-tab=\\\"draft\\\">\\n  Draft\\n  {{#if folder.messageCounts}}<span class=\\\"tabs__tab__counter\\\">({{folder.messageCounts.draft}})</span>{{/if}}\\n</a>\\n<a class=\\\"tabs__discrete-tab {{if (eq state 'stopped') 'o__selected'}}\\\" {{action (action changeState 'stopped')}} data-test-state-tab=\\\"stopped\\\">\\n  Paused\\n  {{#if folder.messageCounts}}<span class=\\\"tabs__tab__counter\\\">({{folder.messageCounts.stopped}})</span>{{/if}}\\n</a>\\n<a class=\\\"tabs__discrete-tab {{if (eq state 'scheduled') 'o__selected'}}\\\" {{action (action changeState 'scheduled')}} data-test-state-tab=\\\"scheduled\\\">\\n  Scheduled\\n  {{#if folder.messageCounts}}<span class=\\\"tabs__tab__counter\\\">({{folder.messageCounts.scheduled}})</span>{{/if}}\\n</a>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<a class=\\\"tabs__discrete-tab {{if (eq state 'all') 'o__selected'}}\\\" {{action (action changeState 'all')}} data-test-state-tab=\\\"all\\\">\\n  All\\n  {{#if folder.messageCounts}}<span class=\\\"tabs__tab__counter\\\">({{folder.messageCounts.all}})</span>{{/if}}\\n</a>\\n<a class=\\\"tabs__discrete-tab {{if (eq state 'live') 'o__selected'}}\\\" {{action (action changeState 'live')}} data-test-state-tab=\\\"live\\\">\\n  Live\\n  {{#if folder.messageCounts}}<span class=\\\"tabs__tab__counter\\\">({{folder.messageCounts.live}})</span>{{/if}}\\n</a>\\n<a class=\\\"tabs__discrete-tab {{if (eq state 'draft') 'o__selected'}}\\\" {{action (action changeState 'draft')}} data-test-state-tab=\\\"draft\\\">\\n  Draft\\n  {{#if folder.messageCounts}}<span class=\\\"tabs__tab__counter\\\">({{folder.messageCounts.draft}})</span>{{/if}}\\n</a>\\n<a class=\\\"tabs__discrete-tab {{if (eq state 'stopped') 'o__selected'}}\\\" {{action (action changeState 'stopped')}} data-test-state-tab=\\\"stopped\\\">\\n  Paused\\n  {{#if folder.messageCounts}}<span class=\\\"tabs__tab__counter\\\">({{folder.messageCounts.stopped}})</span>{{/if}}\\n</a>\\n<a class=\\\"tabs__discrete-tab {{if (eq state 'scheduled') 'o__selected'}}\\\" {{action (action changeState 'scheduled')}} data-test-state-tab=\\\"scheduled\\\">\\n  Scheduled\\n  {{#if folder.messageCounts}}<span class=\\\"tabs__tab__counter\\\">({{folder.messageCounts.scheduled}})</span>{{/if}}\\n</a>\\n\",\"moduleName\":\"embercom/components/messages/folders/message-folder-state-switch-header-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messages/folders/message-folder-state-switch-header-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { selectFromObject } from '@intercom/embercom-core/lib/computed-properties';\nimport CloseOnDocumentClickManager from 'embercom/components/mixins/close-on-document-click-manager';\n\nexport default Component.extend(CloseOnDocumentClickManager, {\n  appService: service(),\n  app: readOnly('appService.app'),\n  classNames: ['f__custom-select'],\n  stateNames: {\n    all: 'All',\n    live: 'Live',\n    stopped: 'Paused',\n    scheduled: 'Scheduled',\n    draft: 'Draft',\n  },\n  stateName: selectFromObject('stateNames', 'state'),\n\n  stateCount: computed('listState', 'folder.messageCounts.[]', function() {\n    return this.get(`folder.messageCounts.${this.state}`);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">\\n  <LinkTo\\n    @route={{messageRoute}}\\n    @model={{message.id}}\\n    @query={{hash editing=false}}\\n    @title={{message.title}}\\n    data-test-message-title={{message.title}}\\n    @classNames=\\\"t__solo-link message__list__title o__truncated\\\"\\n  >\\n    {{message.title}}\\n  </LinkTo>\\n  <span data-test-message-description-state>\\n    {{ic-stamp\\n      (if\\n        (and message.isManualMessage message.isLive)\\n        message.sendingStatus\\n        message.uiStateName\\n      )\\n    }}\\n  </span>\\n  {{#if message.hasMultipleVariations}}\\n    <span data-test-message-ab>\\n      {{ic-stamp \\\"A/B\\\" \\\"u__ml__5\\\"}}\\n    </span>\\n  {{/if}}\\n  {{#if message.hasControlGroup}}\\n    <span data-test-message-control-group>\\n      {{ic-stamp \\\"Control group\\\" \\\"u__ml__5\\\"}}\\n    </span>\\n  {{/if}}\\n</h3>\\n<div class=\\\"h-1\\\"></div>\\n{{#unless inFolderView}}\\n  {{#if message.belongsToFolder}}\\n    <div class=\\\"t__light-text\\\">\\n      {{ic-interface-icon \\\"folder\\\"}}\\n      <a\\n        href=\\\"{{href-to \\\"apps.app.outbound.messages.auto.folders.folder\\\" message.folder.id}}\\\"\\n        class=\\\"t__solo-link\\\"\\n        data-test-description-folder-name\\n      >\\n        {{message.folder.name}}\\n      </a>\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n  {{/if}}\\n  {{#if message.belongsToCampaign}}\\n    <div class=\\\"t__light-text\\\">\\n      {{ic-interface-icon \\\"campaign\\\"}}\\n      <a\\n        href=\\\"{{href-to \\\"apps.app.outbound.messages.auto.campaigns.campaign\\\" message.campaign.id}}\\\"\\n        class=\\\"t__solo-link\\\"\\n        data-test-description-campaign-name\\n      >\\n        {{message.campaign.title}}\\n      </a>\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n  {{/if}}\\n{{/unless}}\\n<p\\n  class=\\\"text-gray u__restore-breaks twk__message-list-legacy__filters\\\"\\n  data-test-description-audience\\n>\\n  {{#if message.hasDisplayableUser}}\\n    <Messages::Lists::MessageTo @message={{message}} />\\n  {{else}}\\n    <MessageEditor::Audience::PredicateGroupSummary\\n      @predicates={{predicatesToDisplay}}\\n      @ruleMode={{if message.selectionState.isOrMode \\\"or\\\" \\\"and\\\"}}\\n      @message={{message}}\\n    />\\n  {{/if}}\\n</p>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">\\n  <LinkTo\\n    @route={{messageRoute}}\\n    @model={{message.id}}\\n    @query={{hash editing=false}}\\n    @title={{message.title}}\\n    data-test-message-title={{message.title}}\\n    @classNames=\\\"t__solo-link message__list__title o__truncated\\\"\\n  >\\n    {{message.title}}\\n  </LinkTo>\\n  <span data-test-message-description-state>\\n    {{ic-stamp\\n      (if\\n        (and message.isManualMessage message.isLive)\\n        message.sendingStatus\\n        message.uiStateName\\n      )\\n    }}\\n  </span>\\n  {{#if message.hasMultipleVariations}}\\n    <span data-test-message-ab>\\n      {{ic-stamp \\\"A/B\\\" \\\"u__ml__5\\\"}}\\n    </span>\\n  {{/if}}\\n  {{#if message.hasControlGroup}}\\n    <span data-test-message-control-group>\\n      {{ic-stamp \\\"Control group\\\" \\\"u__ml__5\\\"}}\\n    </span>\\n  {{/if}}\\n</h3>\\n<div class=\\\"h-1\\\"></div>\\n{{#unless inFolderView}}\\n  {{#if message.belongsToFolder}}\\n    <div class=\\\"t__light-text\\\">\\n      {{ic-interface-icon \\\"folder\\\"}}\\n      <a\\n        href=\\\"{{href-to \\\"apps.app.outbound.messages.auto.folders.folder\\\" message.folder.id}}\\\"\\n        class=\\\"t__solo-link\\\"\\n        data-test-description-folder-name\\n      >\\n        {{message.folder.name}}\\n      </a>\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n  {{/if}}\\n  {{#if message.belongsToCampaign}}\\n    <div class=\\\"t__light-text\\\">\\n      {{ic-interface-icon \\\"campaign\\\"}}\\n      <a\\n        href=\\\"{{href-to \\\"apps.app.outbound.messages.auto.campaigns.campaign\\\" message.campaign.id}}\\\"\\n        class=\\\"t__solo-link\\\"\\n        data-test-description-campaign-name\\n      >\\n        {{message.campaign.title}}\\n      </a>\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n  {{/if}}\\n{{/unless}}\\n<p\\n  class=\\\"text-gray u__restore-breaks twk__message-list-legacy__filters\\\"\\n  data-test-description-audience\\n>\\n  {{#if message.hasDisplayableUser}}\\n    <Messages::Lists::MessageTo @message={{message}} />\\n  {{else}}\\n    <MessageEditor::Audience::PredicateGroupSummary\\n      @predicates={{predicatesToDisplay}}\\n      @ruleMode={{if message.selectionState.isOrMode \\\"or\\\" \\\"and\\\"}}\\n      @message={{message}}\\n    />\\n  {{/if}}\\n</p>\\n\",\"moduleName\":\"embercom/components/messages/lists/description-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messages/lists/description-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\nimport getMessageRoute from 'embercom/lib/messages/message-router';\n\nexport default Component.extend({\n  'data-test-stats-cell': 'description',\n  tagName: 'td',\n  classNames: ['tbl__cell', 'twk__message-list-legacy__description-cell'],\n  classNameBindings: ['message.isManualMessage::o__continues-into-next-cell'],\n  message: notImplemented(),\n  predicatesToDisplay: computed('message.selectionState.basePredicates.[]', function() {\n    return this.get('message.selectionState.basePredicates')\n      .rejectBy('type', 'email_disengagement')\n      .rejectBy('isTimeOnPage');\n  }),\n  messageRoute: computed('message', function() {\n    return getMessageRoute(this.message);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"avatar__container o__xs\\\">\\n  <IcAvatarComponent\\n    @model={{@message.recipients.firstObject}}\\n    @size=\\\"xs\\\"\\n    @contained={{true}}\\n    data-test-recipient-avatar={{true}}\\n  />\\n  <a href=\\\"{{href-to \\\"apps.app.users.user\\\" @message.recipients.firstObject.userId}}\\\" class=\\\"t__solo-link\\\">\\n    <span data-test-recipient-display-as>\\n      {{@message.recipients.firstObject.displayAs}}\\n    </span>\\n  </a>\\n  <span data-test-remaining-recipients>\\n    {{#if @message.hasMultipleRecipients}}\\n      and {{@message.recipientCountWithDisplayableUser}} {{inflector-helper \\\"other\\\" @message.recipientCountWithDisplayableUser}}\\n    {{/if}}\\n  </span>\\n</div>\\n\", {\"contents\":\"<div class=\\\"avatar__container o__xs\\\">\\n  <IcAvatarComponent\\n    @model={{@message.recipients.firstObject}}\\n    @size=\\\"xs\\\"\\n    @contained={{true}}\\n    data-test-recipient-avatar={{true}}\\n  />\\n  <a href=\\\"{{href-to \\\"apps.app.users.user\\\" @message.recipients.firstObject.userId}}\\\" class=\\\"t__solo-link\\\">\\n    <span data-test-recipient-display-as>\\n      {{@message.recipients.firstObject.displayAs}}\\n    </span>\\n  </a>\\n  <span data-test-remaining-recipients>\\n    {{#if @message.hasMultipleRecipients}}\\n      and {{@message.recipientCountWithDisplayableUser}} {{inflector-helper \\\"other\\\" @message.recipientCountWithDisplayableUser}}\\n    {{/if}}\\n  </span>\\n</div>\\n\",\"moduleName\":\"embercom/components/messages/lists/message-to.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messages/lists/message-to.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<td class=\\\"tbl__cell {{cellClass}} o__contains-variation-list message__stat-cell\\\">\\n  {{#each message.variations as |variation|}}\\n    <div class=\\\"variation\\\" data-test-statistic-variation={{variation.label}}>\\n      {{#if statisticInvalid}}\\n        &mdash;\\n      {{else if statisticsAsLinks}}\\n        <a href=\\\"{{href-to messageRoute message.id (query-params viewing=statistic version=variation.label)}}\\\" class=\\\"t__solo-link\\\">\\n          <span {{action clickedStatsColumn statistic}}><b>{{get variation.stats statisticPropertyName}}</b></span>\\n        </a>\\n      {{else}}\\n        <span><b>{{get variation.stats statisticPropertyName}}</b></span>\\n      {{/if}}\\n    </div>\\n  {{/each}}\\n  {{#if message.hasControlGroup}}\\n    <div class=\\\"variation\\\" data-test-statistic-variation={{message.controlGroup.label}}>\\n      {{#if statisticInvalid}}\\n        &mdash;\\n      {{else if (or (eq statistic 'sent') (eq statistic 'goal'))}}\\n        {{#if statisticsAsLinks}}\\n          <a href=\\\"{{href-to messageRoute message.id (query-params viewing='members' version=message.controlGroup.label)}}\\\" class=\\\"t__solo-link\\\">\\n            <span {{action clickedStatsColumn statistic}}><b>{{get message.controlGroup.stats statisticPropertyName}}</b></span>\\n          </a>\\n        {{else}}\\n          <span><b>{{get message.controlGroup.stats statisticPropertyName}}</b></span>\\n        {{/if}}\\n      {{else}}\\n        &mdash;\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n</td>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<td class=\\\"tbl__cell {{cellClass}} o__contains-variation-list message__stat-cell\\\">\\n  {{#each message.variations as |variation|}}\\n    <div class=\\\"variation\\\" data-test-statistic-variation={{variation.label}}>\\n      {{#if statisticInvalid}}\\n        &mdash;\\n      {{else if statisticsAsLinks}}\\n        <a href=\\\"{{href-to messageRoute message.id (query-params viewing=statistic version=variation.label)}}\\\" class=\\\"t__solo-link\\\">\\n          <span {{action clickedStatsColumn statistic}}><b>{{get variation.stats statisticPropertyName}}</b></span>\\n        </a>\\n      {{else}}\\n        <span><b>{{get variation.stats statisticPropertyName}}</b></span>\\n      {{/if}}\\n    </div>\\n  {{/each}}\\n  {{#if message.hasControlGroup}}\\n    <div class=\\\"variation\\\" data-test-statistic-variation={{message.controlGroup.label}}>\\n      {{#if statisticInvalid}}\\n        &mdash;\\n      {{else if (or (eq statistic 'sent') (eq statistic 'goal'))}}\\n        {{#if statisticsAsLinks}}\\n          <a href=\\\"{{href-to messageRoute message.id (query-params viewing='members' version=message.controlGroup.label)}}\\\" class=\\\"t__solo-link\\\">\\n            <span {{action clickedStatsColumn statistic}}><b>{{get message.controlGroup.stats statisticPropertyName}}</b></span>\\n          </a>\\n        {{else}}\\n          <span><b>{{get message.controlGroup.stats statisticPropertyName}}</b></span>\\n        {{/if}}\\n      {{else}}\\n        &mdash;\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n</td>\\n\",\"moduleName\":\"embercom/components/messages/lists/statistic-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messages/lists/statistic-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\nimport getMessageRoute from 'embercom/lib/messages/message-router';\n\nexport default Component.extend({\n  tagName: '',\n\n  message: notImplemented(),\n  statistic: notImplemented(),\n  statisticInvalid: notImplemented(),\n  statisticsAsLinks: notImplemented(),\n  clickedStatsColumn: notImplemented(),\n\n  cellClass: computed('statistic', function() {\n    if (this.statistic === 'sent') {\n      return 'outbound__recipients-stat';\n    } else if (this.statistic === 'opened') {\n      return 'outbound__opens-stat';\n    } else if (this.statistic === 'clicked') {\n      return 'outbound__clicks-stat';\n    } else if (this.statistic === 'goal') {\n      return 'outbound__goal-stat';\n    }\n  }),\n  statisticPropertyName: computed('statistic', function() {\n    if (this.statistic === 'sent') {\n      return 'displaySentCount';\n    } else if (this.statistic === 'opened') {\n      return 'displayOpenPercentage';\n    } else if (this.statistic === 'clicked') {\n      return 'displayClickPercentage';\n    } else if (this.statistic === 'goal') {\n      return 'displayGoalSuccessPercentage';\n    }\n  }),\n  messageRoute: computed('message', function() {\n    return getMessageRoute(this.message);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<Common::ModalComponent\\n  @closeModal={{@closeModal}}\\n  @width=\\\"xl\\\"\\n  data-test-create-message-modal\\n  as |modal|\\n>\\n  <modal.components.header class=\\\"{{if this.shouldShowTemplatesModal \\\"message__creation-modal__header-border-bottom\\\"}}\\\">\\n    <div class=\\\"flex items-start\\\">\\n      {{#if (not this.selectedObjectType)}}\\n        <div class=\\\"flex-auto min-w-0\\\">\\n          <h2 class=\\\"t__h2\\\" data-test-modal-title>\\n            What do you want to create?\\n          </h2>\\n        </div>\\n      {{else if this.shouldShowTemplatesModal}}\\n        {{#if (not @selectedObjectType)}}\\n          <div class=\\\"flex-auto min-w-0 u__padr__10\\\">\\n            <a\\n              {{on 'click' this.undoSelectedMessageType}}\\n              data-test-modal-back-button\\n            >\\n              {{ic-interface-icon \\\"back\\\" solo=true}}\\n            </a>\\n          </div>\\n        {{/if}}\\n        <div class=\\\"flex-auto min-w-0\\\">\\n          <h2 class=\\\"t__h2\\\" data-test-modal-title>\\n            Start from scratch or choose a template\\n          </h2>\\n        </div>\\n      {{/if}}\\n    </div>\\n  </modal.components.header>\\n  <modal.components.body class=\\\"{{if this.shouldShowTemplatesModal \\\"p-0\\\" \\\"pt-0 pb-4\\\"}}\\\">\\n    <div class=\\\"layout__box o__has-columns t__centered\\\">\\n      {{#if (not this.selectedObjectType)}}\\n        <Messages::MessageCreationModal::ChannelSelector\\n          @isEmailEnabled={{this.app.isNotDeveloperWorkspace}}\\n          @isPushEnabled={{and\\n            this.app.hasMobileIntegration\\n            this.app.isNotDeveloperWorkspace\\n            this.targetingUsers\\n          }}\\n          @isTargetingLeads={{@isTargetingLeads}}\\n          @isCampaignMessage={{@isCampaignMessage}}\\n          @isDeveloperWorkspace={{this.app.isDeveloperWorkspace}}\\n          @selectChannel={{this.selectMessageType}}\\n          @isDuplicatingMessage={{@isDuplicatingMessage}}\\n          @isDuplicatingRuleset={{@isDuplicatingRuleset}}\\n        />\\n      {{else if this.shouldShowTemplatesModal}}\\n        <Messages::MessageCreationModal::TemplateSelector\\n          @templates={{@templates}}\\n          @onSelectTemplate={{this.onSelectTemplate}}\\n          @selectedTemplate={{this.selectedTemplate}}\\n          @selectedObjectType={{this.selectedObjectType}}\\n          @emptyAction={{this.emptyAction}}\\n          @legacyPredicates={{this.selectedTemplate.legacyPredicates}}\\n        />\\n      {{/if}}\\n    </div>\\n  </modal.components.body>\\n  {{#if this.shouldShowTemplatesModal}}\\n    <modal.components.footer as |footer|>\\n      <footer.mainButtons as |list|>\\n        <list.button\\n          data-test-modal-close-button\\n          @label=\\\"Cancel\\\"\\n          @onClick={{@closeModal}}\\n        />\\n        <list.button\\n          data-test-select-template-button\\n          @type=\\\"primary\\\"\\n          @label={{this.label}}\\n          @onClick={{this.onClickCreate}}\\n          class=\\\"js__ghostinspector__select-template-button\\\"\\n        />\\n      </footer.mainButtons>\\n    </modal.components.footer>\\n  {{/if}}\\n</Common::ModalComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<Common::ModalComponent\\n  @closeModal={{@closeModal}}\\n  @width=\\\"xl\\\"\\n  data-test-create-message-modal\\n  as |modal|\\n>\\n  <modal.components.header class=\\\"{{if this.shouldShowTemplatesModal \\\"message__creation-modal__header-border-bottom\\\"}}\\\">\\n    <div class=\\\"flex items-start\\\">\\n      {{#if (not this.selectedObjectType)}}\\n        <div class=\\\"flex-auto min-w-0\\\">\\n          <h2 class=\\\"t__h2\\\" data-test-modal-title>\\n            What do you want to create?\\n          </h2>\\n        </div>\\n      {{else if this.shouldShowTemplatesModal}}\\n        {{#if (not @selectedObjectType)}}\\n          <div class=\\\"flex-auto min-w-0 u__padr__10\\\">\\n            <a\\n              {{on 'click' this.undoSelectedMessageType}}\\n              data-test-modal-back-button\\n            >\\n              {{ic-interface-icon \\\"back\\\" solo=true}}\\n            </a>\\n          </div>\\n        {{/if}}\\n        <div class=\\\"flex-auto min-w-0\\\">\\n          <h2 class=\\\"t__h2\\\" data-test-modal-title>\\n            Start from scratch or choose a template\\n          </h2>\\n        </div>\\n      {{/if}}\\n    </div>\\n  </modal.components.header>\\n  <modal.components.body class=\\\"{{if this.shouldShowTemplatesModal \\\"p-0\\\" \\\"pt-0 pb-4\\\"}}\\\">\\n    <div class=\\\"layout__box o__has-columns t__centered\\\">\\n      {{#if (not this.selectedObjectType)}}\\n        <Messages::MessageCreationModal::ChannelSelector\\n          @isEmailEnabled={{this.app.isNotDeveloperWorkspace}}\\n          @isPushEnabled={{and\\n            this.app.hasMobileIntegration\\n            this.app.isNotDeveloperWorkspace\\n            this.targetingUsers\\n          }}\\n          @isTargetingLeads={{@isTargetingLeads}}\\n          @isCampaignMessage={{@isCampaignMessage}}\\n          @isDeveloperWorkspace={{this.app.isDeveloperWorkspace}}\\n          @selectChannel={{this.selectMessageType}}\\n          @isDuplicatingMessage={{@isDuplicatingMessage}}\\n          @isDuplicatingRuleset={{@isDuplicatingRuleset}}\\n        />\\n      {{else if this.shouldShowTemplatesModal}}\\n        <Messages::MessageCreationModal::TemplateSelector\\n          @templates={{@templates}}\\n          @onSelectTemplate={{this.onSelectTemplate}}\\n          @selectedTemplate={{this.selectedTemplate}}\\n          @selectedObjectType={{this.selectedObjectType}}\\n          @emptyAction={{this.emptyAction}}\\n          @legacyPredicates={{this.selectedTemplate.legacyPredicates}}\\n        />\\n      {{/if}}\\n    </div>\\n  </modal.components.body>\\n  {{#if this.shouldShowTemplatesModal}}\\n    <modal.components.footer as |footer|>\\n      <footer.mainButtons as |list|>\\n        <list.button\\n          data-test-modal-close-button\\n          @label=\\\"Cancel\\\"\\n          @onClick={{@closeModal}}\\n        />\\n        <list.button\\n          data-test-select-template-button\\n          @type=\\\"primary\\\"\\n          @label={{this.label}}\\n          @onClick={{this.onClickCreate}}\\n          class=\\\"js__ghostinspector__select-template-button\\\"\\n        />\\n      </footer.mainButtons>\\n    </modal.components.footer>\\n  {{/if}}\\n</Common::ModalComponent>\\n\",\"moduleName\":\"embercom/components/messages/message-creation-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messages/message-creation-modal.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport MESSAGE_CONSTANTS from 'embercom/models/data/messages/message-constants';\nimport { action } from '@ember/object';\nimport {\n  objectNames,\n  objectTypes,\n  humanReadableObjectNames,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { isPresent } from '@ember/utils';\nimport { tracked } from '@glimmer/tracking';\nimport { capitalize } from '@ember/string';\n\nexport default class MessageCreationModal extends Component {\n  @service appService;\n  @service router;\n  @service permissionsService;\n  @service intercomEventService;\n\n  @tracked selectedObjectType = this.args.selectedObjectType;\n  @tracked selectedTemplate;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get targetingUsers() {\n    return !this.args.isTargetingLeads;\n  }\n\n  get shouldShowTemplatesModal() {\n    return !this.args.skipTemplatesModal && this.selectedObjectType;\n  }\n\n  get label() {\n    if (this.selectedTemplate) {\n      return 'Use template';\n    } else {\n      return `Create ${humanReadableObjectNames[this.selectedObjectType]}`;\n    }\n  }\n\n  get selectedMessageType() {\n    let messageTypes = {\n      [objectTypes.legacyMessageEmail]: MESSAGE_CONSTANTS.emailType,\n      [objectTypes.legacyMessageInApp]: MESSAGE_CONSTANTS.inAppType,\n    };\n    return messageTypes[this.selectedObjectType];\n  }\n\n  get selectedMessageTypeForTracking() {\n    return this.selectedMessageType || capitalize(objectNames[this.selectedObjectType]);\n  }\n\n  @action\n  onSelectTemplate(template) {\n    this._removePreviouslySelectedTemplates();\n\n    this.selectedTemplate = template;\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: 'message-template',\n      message_template_id: (template && template.id) || 'from-scratch',\n    });\n  }\n\n  onChooseTemplate() {\n    this.permissionsService.checkPermission('can_send_messages').then(() => {\n      let templateId = this.selectedTemplate.id;\n      if (\n        this.selectedObjectType === objectTypes.push ||\n        this.selectedObjectType === objectTypes.chat ||\n        this.selectedObjectType === objectTypes.carousel ||\n        this.selectedObjectType === objectTypes.post ||\n        this.selectedObjectType === objectTypes.email ||\n        this.selectedObjectType === objectTypes.customBot ||\n        this.selectedObjectType === objectTypes.inboundCustomBot ||\n        this.selectedObjectType === objectTypes.buttonCustomBot ||\n        this.selectedObjectType === objectTypes.banner\n      ) {\n        this.args.createNewMessage(\n          this.selectedObjectType,\n          MESSAGE_CONSTANTS.noChannel,\n          null,\n          templateId,\n        );\n      } else {\n        let type = this.selectedMessageType;\n        let isPreSelected = isPresent(this.args.selectedObjectType);\n        this.router.transitionTo('apps.app.outbound.messages.auto.new', {\n          queryParams: { type, templateId, isPreSelected },\n        });\n      }\n    });\n  }\n\n  @action\n  undoSelectedMessageType() {\n    this._removePreviouslySelectedTemplates();\n\n    this.selectedObjectType = null;\n    this.selectedTemplate = null;\n  }\n\n  _removePreviouslySelectedTemplates() {\n    if (this.selectedTemplate) {\n      this.selectedTemplate.deleteRecord();\n    }\n  }\n\n  _trackStartFromScratchEvent() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'created',\n      object: 'message-template',\n      message_template_id: 'from-scratch',\n      message_type: this.selectedMessageTypeForTracking,\n    });\n  }\n\n  _trackStartFromTemplateEvent(templateId) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'created',\n      object: 'message-template',\n      message_template_id: templateId,\n      message_type: this.selectedMessageTypeForTracking,\n    });\n  }\n\n  @action\n  onClickCreate() {\n    if (this.selectedTemplate) {\n      this._trackStartFromTemplateEvent(this.selectedTemplate.id);\n      this.onChooseTemplate();\n    } else {\n      this._trackStartFromScratchEvent();\n      this.args.createNewMessage(\n        this.selectedMessageType || this.selectedObjectType,\n        MESSAGE_CONSTANTS.noChannel,\n      );\n    }\n  }\n\n  @action\n  selectMessageType(messageType) {\n    switch (messageType) {\n      case MESSAGE_CONSTANTS.emailType:\n        if (this.args.skipTemplatesModal) {\n          this.args.createNewMessage(MESSAGE_CONSTANTS.emailType, MESSAGE_CONSTANTS.noChannel);\n        } else {\n          this.selectedObjectType = objectTypes.legacyMessageEmail;\n        }\n        break;\n      case MESSAGE_CONSTANTS.inAppType:\n        if (this.args.skipTemplatesModal) {\n          this.args.createNewMessage(MESSAGE_CONSTANTS.inAppType, MESSAGE_CONSTANTS.webChannel);\n        } else {\n          this.selectedObjectType = objectTypes.legacyMessageInApp;\n        }\n        break;\n      case MESSAGE_CONSTANTS.pushType:\n        if (this.args.skipTemplatesModal) {\n          this.args.createNewMessage(MESSAGE_CONSTANTS.pushType, MESSAGE_CONSTANTS.noChannel);\n        } else {\n          this.selectedObjectType = objectTypes.push;\n        }\n        break;\n      case 'Tour':\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'created',\n          object: 'tour',\n        });\n        this.router.transitionTo('apps.app.outbound.tour.new');\n        break;\n      case 'Banner':\n      case 'Post':\n      case 'Chat':\n        if (this.args.skipTemplatesModal) {\n          this.args.createNewMessage(objectTypes[messageType.toLowerCase()]);\n        } else {\n          this.selectedObjectType = objectTypes[messageType.toLowerCase()];\n        }\n        break;\n      case 'Matching System Email':\n        if (this.args.skipTemplatesModal) {\n          this.args.createNewMessage(objectTypes.email);\n        } else {\n          this.selectedObjectType = objectTypes.email;\n        }\n        break;\n      case 'Carousel':\n        this.selectedObjectType = objectTypes[messageType.toLowerCase()];\n        break;\n      case 'Custom Bot':\n        this.selectedObjectType = objectTypes.customBot;\n        break;\n      default:\n        Em.assert(`Unknown messageType: ${messageType}`);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row flex-wrap message__creation-modal__channel-card-container\\\">\\n  {{#if @isCampaignMessage}}\\n    <div class=\\\"flex flex-col mb-4 mr-4\\\">\\n      <Paywall @featureKey=\\\"auto_messaging\\\" as |paywall|>\\n        <IcCard\\n          @isInteractive={{true}}\\n          @padding=\\\"regular\\\"\\n          {{on \\\"click\\\" (fn @selectChannel \\\"In-App\\\")}}\\n          data-test-create-inapp-card={{true}}\\n          class=\\\"js__ghostinspector__create_in_app_card pl-8 pr-8 pt-4 pb-4\\\" as |card|\\n        >\\n          <div class=\\\"flex flex-col justify-center message__creation-modal__channel-card\\\">\\n            <div><IcIllustrativeIcon @name=\\\"auto-message\\\" /></div>\\n            <h2 class=\\\"t__h2 mt-4\\\">\\n              In-app\\n            </h2>\\n            <p class=\\\"mt-2\\\">\\n              Send a message in the Intercom Messenger\\n            </p>\\n            <p class=\\\"mt-2\\\">\\n              <paywall.Badge />\\n            </p>\\n          </div>\\n        </IcCard>\\n      </Paywall>\\n    </div>\\n  {{else if this.shouldShowChatsAndPosts}}\\n      <div class=\\\"flex flex-col mb-4 mr-4\\\">\\n        <Paywall @featureKey=\\\"auto_messaging\\\" as |paywall|>\\n          <IcCard\\n            @isInteractive={{true}}\\n            @padding=\\\"regular\\\"\\n            {{on \\\"click\\\" (fn @selectChannel \\\"Chat\\\")}}\\n            data-test-create-chat-card={{true}}\\n            class=\\\"js__ghostinspector__create_chat_card pl-8 pr-8 pt-4 pb-4\\\" as |card|\\n          >\\n            <div class=\\\"flex flex-col justify-center message__creation-modal__channel-card\\\">\\n              <div><IcIllustrativeIcon @name=\\\"chat-filled\\\" /></div>\\n              <h2 class=\\\"t__h2 mt-4\\\">\\n                Chat\\n              </h2>\\n              <p class=\\\"mt-2\\\">\\n                Start a conversation in the Intercom Messenger\\n              </p>\\n              <p class=\\\"mt-2\\\">\\n                <paywall.Badge />\\n              </p>\\n            </div>\\n          </IcCard>\\n        </Paywall>\\n      </div>\\n      <div class=\\\"flex flex-col mb-4 mr-4\\\">\\n        <Paywall @featureKey=\\\"auto_messaging\\\" as |paywall|>\\n          <IcCard\\n            @isInteractive={{true}}\\n            @padding=\\\"regular\\\"\\n            {{on \\\"click\\\" (fn @selectChannel \\\"Post\\\")}}\\n            data-test-create-post-card={{true}}\\n            class=\\\"js__ghostinspector__create_post_card pl-8 pr-8 pt-4 pb-4\\\" as |card|\\n          >\\n            <div class=\\\"flex flex-col justify-center message__creation-modal__channel-card\\\">\\n              <div><IcIllustrativeIcon @name=\\\"post-filled\\\" /></div>\\n              <h2 class=\\\"t__h2 mt-4\\\">\\n                Post\\n              </h2>\\n              <p class=\\\"mt-2\\\">\\n                Make an announcement in your product\\n              </p>\\n              <p class=\\\"mt-2\\\">\\n                <paywall.Badge />\\n              </p>\\n            </div>\\n          </IcCard>\\n        </Paywall>\\n      </div>\\n    {{/if}}\\n    {{#if this.shouldShowEmail}}\\n      <div class=\\\"flex flex-col mb-4 mr-4\\\">\\n        <Paywall @featureKey=\\\"email_messages\\\" as |paywall|>\\n          <IcCard\\n            @isInteractive={{true}}\\n            @padding=\\\"regular\\\"\\n            {{on \\\"click\\\" (fn @selectChannel \\\"Matching System Email\\\")}}\\n            data-test-create-matching-system-email-card={{true}}\\n            class=\\\"pl-8 pr-8 pt-4 pb-4\\\" as |card|\\n          >\\n            <div class=\\\"flex flex-col justify-center message__creation-modal__channel-card\\\">\\n              <div><IcIllustrativeIcon @name=\\\"email-filled\\\" /></div>\\n              <h2 class=\\\"t__h2 mt-4\\\">\\n                Email\\n              </h2>\\n              <p class=\\\"mt-2\\\">\\n                Send a message to people outside of your product\\n              </p>\\n              <p class=\\\"mt-2\\\">\\n                <paywall.Badge />\\n              </p>\\n            </div>\\n          </IcCard>\\n        </Paywall>\\n      </div>\\n    {{else if this.shouldShowLegacyEmail}}\\n      <div class=\\\"flex flex-col mb-4 mr-4\\\">\\n        <IcTooltip @isDisabled={{@isEmailEnabled}} as |t|>\\n          <t.opener>\\n            <Paywall @featureKey=\\\"email_messages\\\" as |paywall|>\\n              <IcCard\\n                @isInteractive={{@isEmailEnabled}}\\n                @padding=\\\"regular\\\"\\n                {{on \\\"click\\\" (fn (optional (if @isEmailEnabled @selectChannel)) \\\"Email\\\")}}\\n                data-test-create-email-card={{true}}\\n                class=\\\"pl-8 pr-8 pt-4 pb-4\\\" as |card|\\n              >\\n                <div class=\\\"flex flex-col justify-center message__creation-modal__channel-card {{unless @isEmailEnabled \\\"o__disabled\\\"}}\\\">\\n                  <div><IcIllustrativeIcon @name=\\\"email-filled\\\" /></div>\\n                  <h2 class=\\\"t__h2 mt-4 {{unless @isEmailEnabled \\\"t__h2__deem\\\"}}\\\">\\n                    Email\\n                  </h2>\\n                  <p class=\\\"mt-2 {{unless @isEmailEnabled \\\"text-gray\\\"}}\\\">\\n                    Message people who are inactive or offline\\n                  </p>\\n                  <p class=\\\"mt-2\\\">\\n                    <paywall.Badge/>\\n                  </p>\\n                </div>\\n              </IcCard>\\n            </Paywall>\\n          </t.opener>\\n          <t.content>\\n            <span data-test-email-disabled-tooltip>\\n              Email can't be sent from a development workspace\\n            </span>\\n          </t.content>\\n        </IcTooltip>\\n      </div>\\n    {{/if}}\\n    {{#if this.shouldShowCustomBot}}\\n      <div class=\\\"flex flex-col mb-4 mr-4\\\">\\n        <Paywall @featureKey=\\\"bot_workflows\\\" as |paywall|>\\n          <IcCard\\n            @isInteractive={{true}}\\n            @padding=\\\"regular\\\"\\n            {{on \\\"click\\\" (fn @selectChannel \\\"Custom Bot\\\")}}\\n            data-test-create-custom-bot-card={{true}}\\n            class=\\\"js__ghostinspector__create_carousel_card pl-8 pr-8 pt-4 pb-4\\\" as |card|\\n          >\\n            <div class=\\\"flex flex-col justify-center message__creation-modal__channel-card\\\">\\n              <div><IcIllustrativeIcon @name=\\\"bot-filled\\\" /></div>\\n              <h2 class=\\\"t__h2 mt-4\\\">\\n                Custom Bot\\n              </h2>\\n              <p class=\\\"mt-2\\\">\\n                Automatically greet and qualify leads\\n              </p>\\n              <p class=\\\"mt-2\\\">\\n                <paywall.Badge />\\n              </p>\\n            </div>\\n          </IcCard>\\n        </Paywall>\\n      </div>\\n    {{/if}}\\n    {{#if this.shouldShowTour}}\\n      <div class=\\\"flex flex-col mb-4 mr-4\\\">\\n        <Paywall @featureKey=\\\"product_tours\\\" @disableFeatureHighlighting={{true}} as |paywall|>\\n          <IcCard\\n                  @isInteractive={{true}}\\n                  @padding=\\\"regular\\\"\\n                  {{on \\\"click\\\" (fn @selectChannel \\\"Tour\\\")}}\\n                  data-test-create-tour-card={{true}}\\n                  class=\\\"pl-8 pr-8 pt-4 pb-4\\\" as |card|>\\n            <div class=\\\"flex flex-col justify-center message__creation-modal__channel-card\\\">\\n              <div><IcIllustrativeIcon @name=\\\"product-tours-filled\\\"/></div>\\n              <h2 class=\\\"t__h2 mt-4\\\">\\n                Product Tour\\n              </h2>\\n              <p class=\\\"mt-2\\\">\\n                Guide people in your product to drive adoption\\n              </p>\\n              <p class=\\\"mt-2\\\">\\n                <paywall.Badge />\\n              </p>\\n            </div>\\n          </IcCard>\\n        </Paywall>\\n      </div>\\n    {{/if}}\\n  {{#if this.shouldShowPush}}\\n    <div class=\\\"flex flex-col mb-4 mr-4\\\">\\n      <IcTooltip @isDisabled={{@isPushEnabled}} as |t|>\\n        <t.opener>\\n          <Paywall @featureKey=\\\"push_only\\\" as |paywall|>\\n            <IcCard\\n              @isInteractive={{@isPushEnabled}}\\n              @padding=\\\"regular\\\"\\n              {{on \\\"click\\\" (fn (optional (if @isPushEnabled @selectChannel)) \\\"Push\\\")}}\\n              data-test-create-push-card={{true}}\\n              class=\\\"pl-8 pr-8 pt-4 pb-4\\\" as |card|\\n            >\\n              <div class=\\\"flex flex-col justify-center message__creation-modal__channel-card {{unless @isPushEnabled \\\"o__disabled\\\"}}\\\">\\n                <div><IcIllustrativeIcon @name=\\\"push-notification-filled\\\" /></div>\\n                <h2 class=\\\"t__h2 mt-4 {{unless @isPushEnabled \\\"t__h2__deem\\\"}}\\\">\\n                  Mobile Push\\n                </h2>\\n                <p class=\\\"mt-2 {{unless @isPushEnabled \\\"text-gray\\\"}}\\\">\\n                  Send a push notification through your mobile app\\n                </p>\\n                <p class=\\\"mt-2\\\">\\n                  <paywall.Badge />\\n                </p>\\n              </div>\\n            </IcCard>\\n          </Paywall>\\n        </t.opener>\\n        <t.content>\\n          <span data-test-push-disabled-tooltip>\\n            {{#if @isTargetingLeads}}\\n              It's not possible to send a push message to leads\\n            {{else if @isDeveloperWorkspace}}\\n              Push messages can't be sent from a development workspace\\n            {{else}}\\n              You need to upload a push certificate for iOS or a FCM key for Android to send push messages\\n            {{/if}}\\n          </span>\\n        </t.content>\\n      </IcTooltip>\\n    </div>\\n  {{/if}}\\n  {{#if this.shouldShowCarousel}}\\n    <div class=\\\"flex flex-col mb-4 mr-4\\\">\\n      <Paywall @featureKey=\\\"mobile_carousels\\\" as |paywall|>\\n        <IcCard\\n          @isInteractive={{true}}\\n          @padding=\\\"regular\\\"\\n          {{on \\\"click\\\" (fn @selectChannel \\\"Carousel\\\")}}\\n          data-test-create-carousel-card={{true}}\\n          class=\\\"js__ghostinspector__create_carousel_card pl-8 pr-8 pt-4 pb-4\\\" as |card|\\n        >\\n          <div class=\\\"flex flex-col justify-center message__creation-modal__channel-card\\\">\\n            <div><IcIllustrativeIcon @name=\\\"carousel-filled\\\" /></div>\\n            <h2 class=\\\"t__h2 mt-4\\\">\\n              Mobile Carousel\\n            </h2>\\n            <p class=\\\"mt-2\\\">\\n              Onboard and engage users in your mobile app\\n            </p>\\n            <p class=\\\"mt-2\\\">\\n              <paywall.Badge />\\n            </p>\\n          </div>\\n        </IcCard>\\n      </Paywall>\\n    </div>\\n  {{/if}}\\n  {{#if this.shouldShowBanner}}\\n    <div class=\\\"flex flex-col mb-4 mr-4\\\">\\n    <Paywall @featureKey=\\\"banner_messages\\\" as |paywall|>\\n      <IcCard\\n        @isInteractive={{true}}\\n        @padding=\\\"regular\\\"\\n        {{on \\\"click\\\" (fn @selectChannel \\\"Banner\\\")}}\\n        data-test-create-banner-card={{true}}\\n        class=\\\"pl-8 pr-8 pt-4 pb-4\\\" as |card|\\n      >\\n        <div class=\\\"flex flex-col justify-center message__creation-modal__channel-card\\\">\\n          <div><IcIllustrativeIcon @name=\\\"banner-filled\\\" /></div>\\n          <h2 class=\\\"t__h2 mt-4\\\">\\n            Banner\\n          </h2>\\n          <p class=\\\"mt-2\\\">\\n            Engage your customers with targeted announcements, updates, tips, and more\\n          </p>\\n          <p class=\\\"mt-2\\\">\\n            {{ic-stamp \\\"Beta\\\"}}\\n          </p>\\n          <p class=\\\"mt-2\\\">\\n            <paywall.Badge />\\n          </p>\\n        </div>\\n      </IcCard>\\n    </Paywall>\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row flex-wrap message__creation-modal__channel-card-container\\\">\\n  {{#if @isCampaignMessage}}\\n    <div class=\\\"flex flex-col mb-4 mr-4\\\">\\n      <Paywall @featureKey=\\\"auto_messaging\\\" as |paywall|>\\n        <IcCard\\n          @isInteractive={{true}}\\n          @padding=\\\"regular\\\"\\n          {{on \\\"click\\\" (fn @selectChannel \\\"In-App\\\")}}\\n          data-test-create-inapp-card={{true}}\\n          class=\\\"js__ghostinspector__create_in_app_card pl-8 pr-8 pt-4 pb-4\\\" as |card|\\n        >\\n          <div class=\\\"flex flex-col justify-center message__creation-modal__channel-card\\\">\\n            <div><IcIllustrativeIcon @name=\\\"auto-message\\\" /></div>\\n            <h2 class=\\\"t__h2 mt-4\\\">\\n              In-app\\n            </h2>\\n            <p class=\\\"mt-2\\\">\\n              Send a message in the Intercom Messenger\\n            </p>\\n            <p class=\\\"mt-2\\\">\\n              <paywall.Badge />\\n            </p>\\n          </div>\\n        </IcCard>\\n      </Paywall>\\n    </div>\\n  {{else if this.shouldShowChatsAndPosts}}\\n      <div class=\\\"flex flex-col mb-4 mr-4\\\">\\n        <Paywall @featureKey=\\\"auto_messaging\\\" as |paywall|>\\n          <IcCard\\n            @isInteractive={{true}}\\n            @padding=\\\"regular\\\"\\n            {{on \\\"click\\\" (fn @selectChannel \\\"Chat\\\")}}\\n            data-test-create-chat-card={{true}}\\n            class=\\\"js__ghostinspector__create_chat_card pl-8 pr-8 pt-4 pb-4\\\" as |card|\\n          >\\n            <div class=\\\"flex flex-col justify-center message__creation-modal__channel-card\\\">\\n              <div><IcIllustrativeIcon @name=\\\"chat-filled\\\" /></div>\\n              <h2 class=\\\"t__h2 mt-4\\\">\\n                Chat\\n              </h2>\\n              <p class=\\\"mt-2\\\">\\n                Start a conversation in the Intercom Messenger\\n              </p>\\n              <p class=\\\"mt-2\\\">\\n                <paywall.Badge />\\n              </p>\\n            </div>\\n          </IcCard>\\n        </Paywall>\\n      </div>\\n      <div class=\\\"flex flex-col mb-4 mr-4\\\">\\n        <Paywall @featureKey=\\\"auto_messaging\\\" as |paywall|>\\n          <IcCard\\n            @isInteractive={{true}}\\n            @padding=\\\"regular\\\"\\n            {{on \\\"click\\\" (fn @selectChannel \\\"Post\\\")}}\\n            data-test-create-post-card={{true}}\\n            class=\\\"js__ghostinspector__create_post_card pl-8 pr-8 pt-4 pb-4\\\" as |card|\\n          >\\n            <div class=\\\"flex flex-col justify-center message__creation-modal__channel-card\\\">\\n              <div><IcIllustrativeIcon @name=\\\"post-filled\\\" /></div>\\n              <h2 class=\\\"t__h2 mt-4\\\">\\n                Post\\n              </h2>\\n              <p class=\\\"mt-2\\\">\\n                Make an announcement in your product\\n              </p>\\n              <p class=\\\"mt-2\\\">\\n                <paywall.Badge />\\n              </p>\\n            </div>\\n          </IcCard>\\n        </Paywall>\\n      </div>\\n    {{/if}}\\n    {{#if this.shouldShowEmail}}\\n      <div class=\\\"flex flex-col mb-4 mr-4\\\">\\n        <Paywall @featureKey=\\\"email_messages\\\" as |paywall|>\\n          <IcCard\\n            @isInteractive={{true}}\\n            @padding=\\\"regular\\\"\\n            {{on \\\"click\\\" (fn @selectChannel \\\"Matching System Email\\\")}}\\n            data-test-create-matching-system-email-card={{true}}\\n            class=\\\"pl-8 pr-8 pt-4 pb-4\\\" as |card|\\n          >\\n            <div class=\\\"flex flex-col justify-center message__creation-modal__channel-card\\\">\\n              <div><IcIllustrativeIcon @name=\\\"email-filled\\\" /></div>\\n              <h2 class=\\\"t__h2 mt-4\\\">\\n                Email\\n              </h2>\\n              <p class=\\\"mt-2\\\">\\n                Send a message to people outside of your product\\n              </p>\\n              <p class=\\\"mt-2\\\">\\n                <paywall.Badge />\\n              </p>\\n            </div>\\n          </IcCard>\\n        </Paywall>\\n      </div>\\n    {{else if this.shouldShowLegacyEmail}}\\n      <div class=\\\"flex flex-col mb-4 mr-4\\\">\\n        <IcTooltip @isDisabled={{@isEmailEnabled}} as |t|>\\n          <t.opener>\\n            <Paywall @featureKey=\\\"email_messages\\\" as |paywall|>\\n              <IcCard\\n                @isInteractive={{@isEmailEnabled}}\\n                @padding=\\\"regular\\\"\\n                {{on \\\"click\\\" (fn (optional (if @isEmailEnabled @selectChannel)) \\\"Email\\\")}}\\n                data-test-create-email-card={{true}}\\n                class=\\\"pl-8 pr-8 pt-4 pb-4\\\" as |card|\\n              >\\n                <div class=\\\"flex flex-col justify-center message__creation-modal__channel-card {{unless @isEmailEnabled \\\"o__disabled\\\"}}\\\">\\n                  <div><IcIllustrativeIcon @name=\\\"email-filled\\\" /></div>\\n                  <h2 class=\\\"t__h2 mt-4 {{unless @isEmailEnabled \\\"t__h2__deem\\\"}}\\\">\\n                    Email\\n                  </h2>\\n                  <p class=\\\"mt-2 {{unless @isEmailEnabled \\\"text-gray\\\"}}\\\">\\n                    Message people who are inactive or offline\\n                  </p>\\n                  <p class=\\\"mt-2\\\">\\n                    <paywall.Badge/>\\n                  </p>\\n                </div>\\n              </IcCard>\\n            </Paywall>\\n          </t.opener>\\n          <t.content>\\n            <span data-test-email-disabled-tooltip>\\n              Email can't be sent from a development workspace\\n            </span>\\n          </t.content>\\n        </IcTooltip>\\n      </div>\\n    {{/if}}\\n    {{#if this.shouldShowCustomBot}}\\n      <div class=\\\"flex flex-col mb-4 mr-4\\\">\\n        <Paywall @featureKey=\\\"bot_workflows\\\" as |paywall|>\\n          <IcCard\\n            @isInteractive={{true}}\\n            @padding=\\\"regular\\\"\\n            {{on \\\"click\\\" (fn @selectChannel \\\"Custom Bot\\\")}}\\n            data-test-create-custom-bot-card={{true}}\\n            class=\\\"js__ghostinspector__create_carousel_card pl-8 pr-8 pt-4 pb-4\\\" as |card|\\n          >\\n            <div class=\\\"flex flex-col justify-center message__creation-modal__channel-card\\\">\\n              <div><IcIllustrativeIcon @name=\\\"bot-filled\\\" /></div>\\n              <h2 class=\\\"t__h2 mt-4\\\">\\n                Custom Bot\\n              </h2>\\n              <p class=\\\"mt-2\\\">\\n                Automatically greet and qualify leads\\n              </p>\\n              <p class=\\\"mt-2\\\">\\n                <paywall.Badge />\\n              </p>\\n            </div>\\n          </IcCard>\\n        </Paywall>\\n      </div>\\n    {{/if}}\\n    {{#if this.shouldShowTour}}\\n      <div class=\\\"flex flex-col mb-4 mr-4\\\">\\n        <Paywall @featureKey=\\\"product_tours\\\" @disableFeatureHighlighting={{true}} as |paywall|>\\n          <IcCard\\n                  @isInteractive={{true}}\\n                  @padding=\\\"regular\\\"\\n                  {{on \\\"click\\\" (fn @selectChannel \\\"Tour\\\")}}\\n                  data-test-create-tour-card={{true}}\\n                  class=\\\"pl-8 pr-8 pt-4 pb-4\\\" as |card|>\\n            <div class=\\\"flex flex-col justify-center message__creation-modal__channel-card\\\">\\n              <div><IcIllustrativeIcon @name=\\\"product-tours-filled\\\"/></div>\\n              <h2 class=\\\"t__h2 mt-4\\\">\\n                Product Tour\\n              </h2>\\n              <p class=\\\"mt-2\\\">\\n                Guide people in your product to drive adoption\\n              </p>\\n              <p class=\\\"mt-2\\\">\\n                <paywall.Badge />\\n              </p>\\n            </div>\\n          </IcCard>\\n        </Paywall>\\n      </div>\\n    {{/if}}\\n  {{#if this.shouldShowPush}}\\n    <div class=\\\"flex flex-col mb-4 mr-4\\\">\\n      <IcTooltip @isDisabled={{@isPushEnabled}} as |t|>\\n        <t.opener>\\n          <Paywall @featureKey=\\\"push_only\\\" as |paywall|>\\n            <IcCard\\n              @isInteractive={{@isPushEnabled}}\\n              @padding=\\\"regular\\\"\\n              {{on \\\"click\\\" (fn (optional (if @isPushEnabled @selectChannel)) \\\"Push\\\")}}\\n              data-test-create-push-card={{true}}\\n              class=\\\"pl-8 pr-8 pt-4 pb-4\\\" as |card|\\n            >\\n              <div class=\\\"flex flex-col justify-center message__creation-modal__channel-card {{unless @isPushEnabled \\\"o__disabled\\\"}}\\\">\\n                <div><IcIllustrativeIcon @name=\\\"push-notification-filled\\\" /></div>\\n                <h2 class=\\\"t__h2 mt-4 {{unless @isPushEnabled \\\"t__h2__deem\\\"}}\\\">\\n                  Mobile Push\\n                </h2>\\n                <p class=\\\"mt-2 {{unless @isPushEnabled \\\"text-gray\\\"}}\\\">\\n                  Send a push notification through your mobile app\\n                </p>\\n                <p class=\\\"mt-2\\\">\\n                  <paywall.Badge />\\n                </p>\\n              </div>\\n            </IcCard>\\n          </Paywall>\\n        </t.opener>\\n        <t.content>\\n          <span data-test-push-disabled-tooltip>\\n            {{#if @isTargetingLeads}}\\n              It's not possible to send a push message to leads\\n            {{else if @isDeveloperWorkspace}}\\n              Push messages can't be sent from a development workspace\\n            {{else}}\\n              You need to upload a push certificate for iOS or a FCM key for Android to send push messages\\n            {{/if}}\\n          </span>\\n        </t.content>\\n      </IcTooltip>\\n    </div>\\n  {{/if}}\\n  {{#if this.shouldShowCarousel}}\\n    <div class=\\\"flex flex-col mb-4 mr-4\\\">\\n      <Paywall @featureKey=\\\"mobile_carousels\\\" as |paywall|>\\n        <IcCard\\n          @isInteractive={{true}}\\n          @padding=\\\"regular\\\"\\n          {{on \\\"click\\\" (fn @selectChannel \\\"Carousel\\\")}}\\n          data-test-create-carousel-card={{true}}\\n          class=\\\"js__ghostinspector__create_carousel_card pl-8 pr-8 pt-4 pb-4\\\" as |card|\\n        >\\n          <div class=\\\"flex flex-col justify-center message__creation-modal__channel-card\\\">\\n            <div><IcIllustrativeIcon @name=\\\"carousel-filled\\\" /></div>\\n            <h2 class=\\\"t__h2 mt-4\\\">\\n              Mobile Carousel\\n            </h2>\\n            <p class=\\\"mt-2\\\">\\n              Onboard and engage users in your mobile app\\n            </p>\\n            <p class=\\\"mt-2\\\">\\n              <paywall.Badge />\\n            </p>\\n          </div>\\n        </IcCard>\\n      </Paywall>\\n    </div>\\n  {{/if}}\\n  {{#if this.shouldShowBanner}}\\n    <div class=\\\"flex flex-col mb-4 mr-4\\\">\\n    <Paywall @featureKey=\\\"banner_messages\\\" as |paywall|>\\n      <IcCard\\n        @isInteractive={{true}}\\n        @padding=\\\"regular\\\"\\n        {{on \\\"click\\\" (fn @selectChannel \\\"Banner\\\")}}\\n        data-test-create-banner-card={{true}}\\n        class=\\\"pl-8 pr-8 pt-4 pb-4\\\" as |card|\\n      >\\n        <div class=\\\"flex flex-col justify-center message__creation-modal__channel-card\\\">\\n          <div><IcIllustrativeIcon @name=\\\"banner-filled\\\" /></div>\\n          <h2 class=\\\"t__h2 mt-4\\\">\\n            Banner\\n          </h2>\\n          <p class=\\\"mt-2\\\">\\n            Engage your customers with targeted announcements, updates, tips, and more\\n          </p>\\n          <p class=\\\"mt-2\\\">\\n            {{ic-stamp \\\"Beta\\\"}}\\n          </p>\\n          <p class=\\\"mt-2\\\">\\n            <paywall.Badge />\\n          </p>\\n        </div>\\n      </IcCard>\\n    </Paywall>\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/messages/message-creation-modal/channel-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messages/message-creation-modal/channel-selector.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\n\nexport default class ChannelSelector extends Component {\n  @service appService;\n  @service store;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get shouldShowChatsAndPosts() {\n    return this.isCreating || this.args.isDuplicatingRuleset;\n  }\n\n  get shouldShowEmail() {\n    return (\n      this.app.canUseEmailInOutboundHome &&\n      !this.args.isCampaignMessage &&\n      !this.args.isDuplicatingRuleset\n    );\n  }\n\n  get shouldShowLegacyEmail() {\n    return !this.args.isDuplicatingRuleset;\n  }\n\n  get shouldShowPush() {\n    return this.args.isCampaignMessage || this.isCreating;\n  }\n\n  get shouldShowCarousel() {\n    return this.isCreating && !this.args.isCampaignMessage;\n  }\n\n  get shouldShowTour() {\n    return this.isCreating && !this.args.isCampaignMessage;\n  }\n\n  get shouldShowCustomBot() {\n    return this.isCreating && !this.args.isCampaignMessage;\n  }\n\n  get shouldShowBanner() {\n    return this.isCreating && !this.args.isCampaignMessage && this.app.canUseBanners;\n  }\n\n  get isCreating() {\n    return !this.isDuplicating;\n  }\n\n  get isDuplicating() {\n    return this.args.isDuplicatingMessage || this.args.isDuplicatingRuleset;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row gap-2 message__creation-modal__templates-selector t__left\\\">\\n  <div class=\\\"flex flex-col justify-start items-start gap-2\\\">\\n    <Messages::Templates::Selector\\n      @templates={{@templates}}\\n      @selectTemplate={{this.selectTemplate}}\\n      @selectedTemplate={{@selectedTemplate}}\\n      @selectedObjectType={{@selectedObjectType}}\\n    />\\n  </div>\\n  <div class=\\\"flex flex-col flex-1 u__overflow-x-auto\\\">\\n    {{#if (and @selectedTemplate this.selectedTemplateContentObject)}}\\n      <div class=\\\"flex flex-col gap-2 p-4\\\">\\n        <Heading @size=\\\"4\\\">Preview</Heading>\\n      </div>\\n      <div class=\\\"flex flex-col items-center flex-1 gap-4 message__creation-modal__templates-preview p-4\\\">\\n        <div>\\n          {{#if (or this.isChat this.isPost this.isCustomBot this.isBanner)}}\\n            <MatchingSystem::AudienceSummary @ruleset={{@selectedTemplate.ruleset}} @useRolePredicateGroup={{true}} />\\n          {{else if this.isCarousel}}\\n            <MatchingSystem::Content::Carousel::AudienceSummary @ruleset={{@selectedTemplate.ruleset}} @useRolePredicateGroup={{true}} />\\n          {{else}}\\n            <MessageEditor::Audience::PredicateGroupSummary\\n              @predicates={{@legacyPredicates}}\\n              @ruleMode={{\\\"and\\\"}}\\n              @message={{this.selectedTemplateContentObject}}\\n            />\\n          {{/if}}\\n        </div>\\n        {{#if this.isLegacyEmail}}\\n          <MessageEditor::Content::Email::Editor\\n            @variation={{this.selectedTemplateContentObject}}\\n            @isMaximized={{false}}\\n            @isEditing={{false}}\\n            class=\\\"message__creation-modal__templates-preview-editor\\\"\\n            data-test-message-templates-preview=\\\"legacy_email\\\"\\n          />\\n        {{else if this.isEmail}}\\n          <Email::Editor\\n            @email={{this.selectedTemplateContentObject}}\\n            @isEditing={{false}}\\n            class=\\\"message__creation-modal__templates-preview-editor\\\"\\n          />\\n        {{else if this.isPush}}\\n          <MessageEditor::Content::Push::Editor\\n            @variation={{this.selectedTemplateContentObject}}\\n            @isEditing={{false}}\\n            @isMaximized={{false}}\\n            class=\\\"message__creation-modal__templates-preview-editor\\\"\\n            data-test-message-templates-preview=\\\"push\\\"\\n          />\\n        {{else if (or this.isInApp this.isCustomBot)}}\\n          <MessageEditor::Content::InApp::Editor\\n            @noPadding={{true}}\\n            @variation={{this.selectedTemplateContentObject}}\\n            @messageStyle={{this.selectedTemplateContentObject.messageStyle}}\\n            @isMaximized={{false}}\\n            @isEditing={{false}}\\n            @deliveryPreviewEnabled={{false}}\\n            @dataPreviewEnabled={{false}}\\n            class=\\\"message__creation-modal__templates-preview-editor\\\"\\n            data-test-message-templates-preview=\\\"in-app\\\"\\n          />\\n        {{else if this.isChat}}\\n          <Chat::Editor\\n            @chat={{this.selectedTemplateContentObject}}\\n            @isEditing={{false}}\\n            class=\\\"message__creation-modal__templates-preview-editor\\\"\\n          />\\n        {{else if this.isPost}}\\n          <Post::Editor\\n            @post={{this.selectedTemplateContentObject}}\\n            @isEditing={{false}}\\n            class=\\\"message__creation-modal__templates-preview-editor\\\"\\n          />\\n        {{else if this.isCarousel}}\\n          <Carousel::Editor\\n            @carousel={{this.selectedTemplateContentObject}}\\n            @isEditing={{false}}\\n            @hideStats={{true}}\\n            class=\\\"message__creation-modal__templates-preview-editor\\\"\\n          />\\n        {{else if this.isBanner}}\\n          <Banners::Editor::Content::BannerWebChrome\\n            @localizedBannerContent={{this.selectedTemplateContentObject.localizedBannerContents.firstObject}}\\n            @banner={{this.selectedTemplateContentObject}}\\n            @isEditing={{false}}\\n            class=\\\"w-full\\\"\\n          />\\n        {{/if}}\\n      </div>\\n    {{else}}\\n      <IcEmptyState\\n        @title=\\\"Create a new {{this.humanReadableObjectName}} from scratch\\\"\\n        @icon={{this.icon}}\\n        data-test-message-templates-preview-create-from-scratch />\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row gap-2 message__creation-modal__templates-selector t__left\\\">\\n  <div class=\\\"flex flex-col justify-start items-start gap-2\\\">\\n    <Messages::Templates::Selector\\n      @templates={{@templates}}\\n      @selectTemplate={{this.selectTemplate}}\\n      @selectedTemplate={{@selectedTemplate}}\\n      @selectedObjectType={{@selectedObjectType}}\\n    />\\n  </div>\\n  <div class=\\\"flex flex-col flex-1 u__overflow-x-auto\\\">\\n    {{#if (and @selectedTemplate this.selectedTemplateContentObject)}}\\n      <div class=\\\"flex flex-col gap-2 p-4\\\">\\n        <Heading @size=\\\"4\\\">Preview</Heading>\\n      </div>\\n      <div class=\\\"flex flex-col items-center flex-1 gap-4 message__creation-modal__templates-preview p-4\\\">\\n        <div>\\n          {{#if (or this.isChat this.isPost this.isCustomBot this.isBanner)}}\\n            <MatchingSystem::AudienceSummary @ruleset={{@selectedTemplate.ruleset}} @useRolePredicateGroup={{true}} />\\n          {{else if this.isCarousel}}\\n            <MatchingSystem::Content::Carousel::AudienceSummary @ruleset={{@selectedTemplate.ruleset}} @useRolePredicateGroup={{true}} />\\n          {{else}}\\n            <MessageEditor::Audience::PredicateGroupSummary\\n              @predicates={{@legacyPredicates}}\\n              @ruleMode={{\\\"and\\\"}}\\n              @message={{this.selectedTemplateContentObject}}\\n            />\\n          {{/if}}\\n        </div>\\n        {{#if this.isLegacyEmail}}\\n          <MessageEditor::Content::Email::Editor\\n            @variation={{this.selectedTemplateContentObject}}\\n            @isMaximized={{false}}\\n            @isEditing={{false}}\\n            class=\\\"message__creation-modal__templates-preview-editor\\\"\\n            data-test-message-templates-preview=\\\"legacy_email\\\"\\n          />\\n        {{else if this.isEmail}}\\n          <Email::Editor\\n            @email={{this.selectedTemplateContentObject}}\\n            @isEditing={{false}}\\n            class=\\\"message__creation-modal__templates-preview-editor\\\"\\n          />\\n        {{else if this.isPush}}\\n          <MessageEditor::Content::Push::Editor\\n            @variation={{this.selectedTemplateContentObject}}\\n            @isEditing={{false}}\\n            @isMaximized={{false}}\\n            class=\\\"message__creation-modal__templates-preview-editor\\\"\\n            data-test-message-templates-preview=\\\"push\\\"\\n          />\\n        {{else if (or this.isInApp this.isCustomBot)}}\\n          <MessageEditor::Content::InApp::Editor\\n            @noPadding={{true}}\\n            @variation={{this.selectedTemplateContentObject}}\\n            @messageStyle={{this.selectedTemplateContentObject.messageStyle}}\\n            @isMaximized={{false}}\\n            @isEditing={{false}}\\n            @deliveryPreviewEnabled={{false}}\\n            @dataPreviewEnabled={{false}}\\n            class=\\\"message__creation-modal__templates-preview-editor\\\"\\n            data-test-message-templates-preview=\\\"in-app\\\"\\n          />\\n        {{else if this.isChat}}\\n          <Chat::Editor\\n            @chat={{this.selectedTemplateContentObject}}\\n            @isEditing={{false}}\\n            class=\\\"message__creation-modal__templates-preview-editor\\\"\\n          />\\n        {{else if this.isPost}}\\n          <Post::Editor\\n            @post={{this.selectedTemplateContentObject}}\\n            @isEditing={{false}}\\n            class=\\\"message__creation-modal__templates-preview-editor\\\"\\n          />\\n        {{else if this.isCarousel}}\\n          <Carousel::Editor\\n            @carousel={{this.selectedTemplateContentObject}}\\n            @isEditing={{false}}\\n            @hideStats={{true}}\\n            class=\\\"message__creation-modal__templates-preview-editor\\\"\\n          />\\n        {{else if this.isBanner}}\\n          <Banners::Editor::Content::BannerWebChrome\\n            @localizedBannerContent={{this.selectedTemplateContentObject.localizedBannerContents.firstObject}}\\n            @banner={{this.selectedTemplateContentObject}}\\n            @isEditing={{false}}\\n            class=\\\"w-full\\\"\\n          />\\n        {{/if}}\\n      </div>\\n    {{else}}\\n      <IcEmptyState\\n        @title=\\\"Create a new {{this.humanReadableObjectName}} from scratch\\\"\\n        @icon={{this.icon}}\\n        data-test-message-templates-preview-create-from-scratch />\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/messages/message-creation-modal/template-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messages/message-creation-modal/template-selector.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport {\n  humanReadableObjectNames,\n  objectIcons,\n  objectTypes,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport MESSAGE_CONSTANTS from 'embercom/models/data/messages/message-constants';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nconst REPLY_TYPES = {\n  attribute_collector: MESSAGE_CONSTANTS.attributeCollectorReply,\n};\n\nexport default class TemplateSelector extends Component {\n  @service appService;\n  @service store;\n  @tracked selectedTemplateContentObject;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get humanReadableObjectName() {\n    return humanReadableObjectNames[this.args.selectedObjectType];\n  }\n\n  get icon() {\n    return objectIcons[this.args.selectedObjectType];\n  }\n\n  get isChat() {\n    return this.args.selectedObjectType === objectTypes.chat;\n  }\n\n  get isPost() {\n    return this.args.selectedObjectType === objectTypes.post;\n  }\n\n  get isCarousel() {\n    return this.args.selectedObjectType === objectTypes.carousel;\n  }\n\n  get isLegacyEmail() {\n    return this.args.selectedObjectType === objectTypes.legacyMessageEmail;\n  }\n\n  get isEmail() {\n    return this.args.selectedObjectType === objectTypes.email;\n  }\n\n  get isPush() {\n    return this.args.selectedObjectType === objectTypes.push;\n  }\n\n  get isInApp() {\n    return this.args.selectedObjectType === objectTypes.legacyMessageInApp;\n  }\n\n  get isOutboundCustomBot() {\n    return this.args.selectedObjectType === objectTypes.customBot;\n  }\n\n  get isInboundCustomBot() {\n    return this.args.selectedObjectType === objectTypes.inboundCustomBot;\n  }\n\n  get isButtonCustomBot() {\n    return this.args.selectedObjectType === objectTypes.buttonCustomBot;\n  }\n\n  get isCustomBot() {\n    return this.isOutboundCustomBot || this.isInboundCustomBot || this.isButtonCustomBot;\n  }\n\n  get isBanner() {\n    return this.args.selectedObjectType === objectTypes.banner;\n  }\n\n  setSelectedTemplateContentObject() {\n    if (!this.args.selectedTemplate) {\n      return null;\n    }\n\n    if (this.isChat || this.isPost || this.isCarousel || this.isEmail || this.isBanner) {\n      return this.args.selectedTemplate.ruleset.rulesetLinks.firstObject.object;\n    }\n\n    return this._createMessageVariationFromTemplate(this.args.selectedTemplate);\n  }\n\n  _createMessageVariationFromTemplate(template) {\n    let blocks = this._createBlocksFromTemplate(template);\n    let { currentAdmin } = this.app;\n    let messageVariationParams = {\n      blocks,\n      assignToId: currentAdmin.id,\n      messageStyle: template.contentObjects.firstObject.message_style,\n      state: 'draft',\n      fromId: currentAdmin.id,\n      emailTemplate: this.emailTemplate,\n      replyType: this._getReplyTypeFromTemplate(template),\n      replyOptions: template.contentObjects.firstObject.reply_options,\n      reactions: this._createReactionsFromTemplate(template),\n      subject: template.contentObjects.firstObject.subject,\n    };\n    return this.store.createRecord('message-variation', messageVariationParams);\n  }\n\n  get emailTemplate() {\n    return this.store.peekRecord('email-template', 'personal');\n  }\n\n  _getReplyTypeFromTemplate(template) {\n    if (template.contentObjects.firstObject.reply_type) {\n      return REPLY_TYPES[template.contentObjects.firstObject.reply_type];\n    }\n\n    if (template.contentObjects.firstObject.reactions) {\n      return MESSAGE_CONSTANTS.reactionsReply;\n    }\n\n    return MESSAGE_CONSTANTS.textReply;\n  }\n\n  _createReactionsFromTemplate(template) {\n    if (!template.contentObjects.firstObject.reactions) {\n      return null;\n    }\n\n    return template.contentObjects.firstObject.reactions.map(reaction => {\n      return this.store.createFragment(`messages/reaction`, reaction);\n    });\n  }\n\n  _createBlocksFromTemplate(template) {\n    return template.contentObjects.firstObject.blocks.map(block => {\n      return this.store.createFragment(`common/blocks/${block['type']}`, block);\n    });\n  }\n\n  @action\n  selectTemplate(template) {\n    this.args.onSelectTemplate(template);\n    this.selectedTemplateContentObject = this.setSelectedTemplateContentObject(template);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-admin-avatar>\\n  <IcAvatarComponent @model={{@from}} @size=\\\"s\\\" @contained={{true}} />\\n</div>\\n{{this.name}}\\n\", {\"contents\":\"<div data-test-admin-avatar>\\n  <IcAvatarComponent @model={{@from}} @size=\\\"s\\\" @contained={{true}} />\\n</div>\\n{{this.name}}\\n\",\"moduleName\":\"embercom/components/messages/message-from-name-with-avatar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messages/message-from-name-with-avatar.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  name: readOnly('from.name'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each columns as |column|}}\\n  {{#if column.component}}\\n    {{component column.component\\n      message=message\\n    }}\\n  {{else}}\\n    {{partial column.partial}}\\n  {{/if}}\\n{{/each}}\\n\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each columns as |column|}}\\n  {{#if column.component}}\\n    {{component column.component\\n      message=message\\n    }}\\n  {{else}}\\n    {{partial column.partial}}\\n  {{/if}}\\n{{/each}}\\n\\n\",\"moduleName\":\"embercom/components/messages/message-list-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messages/message-list-row.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { reads, gt } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport MessageListStats from 'embercom/mixins/messages/message-list-stats';\nimport { templateString, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend(MessageListStats, {\n  tagName: 'tr',\n  classNames: ['tbl__row'],\n  classNameBindings: [\n    'messageSelected:message__list-legacy__selected-row',\n    'messageSelected:t__light-text',\n  ],\n  didInsertElement() {\n    this._super(...arguments);\n    if (this.job && this.state) {\n      this.recordProductListItemRenderTime(this.job, this.state);\n    }\n  },\n\n  campaignStatsRoute: 'apps.app.outbound.messages.auto.message',\n  statsRoute: 'apps.app.outbound.messages.auto.message',\n\n  emptyString: '',\n  messageSelected: reads('message.selected'),\n  messageType: templateString('(${message.type})'),\n  messageTypeText: ternaryToProperty('message.isCampaignMessage', 'emptyString', 'messageType'),\n\n  selectionState: reads('message.selectionState'),\n  predicateDescriptions: reads('selectionState.userAddedPredicateDescriptions'),\n  hasPredicateDescriptions: gt('predicateDescriptions.length', 0),\n  predicateDescriptionPrefix: computed(\n    'message.isCampaignMessage',\n    'selectionState.userTypes',\n    function() {\n      if (this.get('message.isCampaignMessage')) {\n        let memberTypes = this.get('selectionState.pluralUserTypes')\n          .join(' and ')\n          .capitalize();\n        return `${memberTypes} enter when`;\n      } else {\n        return 'Sent when';\n      }\n    },\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<NavSearchComponent\\n  @items={{admins}}\\n  @placeholderText=\\\"Search message titles and senders…\\\"\\n  @searchString={{searchString}}\\n  @resetSearch={{action \\\"resetSearch\\\"}}\\n  @doSearch={{action \\\"doSearch\\\"}}\\n  @product={{product}}\\n  as |item|\\n>\\n  {{#if item.isStandardSearch}}\\n    <div class=\\\"flex items-start\\\">\\n      {{#if searchIcon}}\\n        <div class=\\\"nav__search__icon-standin-for-avatar\\\">\\n          {{ic-interface-icon searchIcon solo=true}}\\n        </div>\\n      {{/if}}\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <span class=\\\"nav__search__result__type\\\" data-test-search-dropdown-search>\\n          Title contains\\n        </span>\\n        {{item.name}}\\n      </div>\\n    </div>\\n  {{else}}\\n    <div class=\\\"avatar__container o__s\\\">\\n      {{ic-avatar model=item size=\\\"s\\\" contained=true}}\\n      <div class=\\\"u__one-truncated-line\\\">\\n        <span class=\\\"nav__search__result__type\\\">\\n          From\\n        </span>\\n        {{item.name}}\\n      </div>\\n    </div>\\n  {{/if}}\\n</NavSearchComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<NavSearchComponent\\n  @items={{admins}}\\n  @placeholderText=\\\"Search message titles and senders…\\\"\\n  @searchString={{searchString}}\\n  @resetSearch={{action \\\"resetSearch\\\"}}\\n  @doSearch={{action \\\"doSearch\\\"}}\\n  @product={{product}}\\n  as |item|\\n>\\n  {{#if item.isStandardSearch}}\\n    <div class=\\\"flex items-start\\\">\\n      {{#if searchIcon}}\\n        <div class=\\\"nav__search__icon-standin-for-avatar\\\">\\n          {{ic-interface-icon searchIcon solo=true}}\\n        </div>\\n      {{/if}}\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <span class=\\\"nav__search__result__type\\\" data-test-search-dropdown-search>\\n          Title contains\\n        </span>\\n        {{item.name}}\\n      </div>\\n    </div>\\n  {{else}}\\n    <div class=\\\"avatar__container o__s\\\">\\n      {{ic-avatar model=item size=\\\"s\\\" contained=true}}\\n      <div class=\\\"u__one-truncated-line\\\">\\n        <span class=\\\"nav__search__result__type\\\">\\n          From\\n        </span>\\n        {{item.name}}\\n      </div>\\n    </div>\\n  {{/if}}\\n</NavSearchComponent>\\n\",\"moduleName\":\"embercom/components/messages/message-search-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messages/message-search-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { selectFromObject } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  type: 'auto',\n  messageIcons: {\n    auto: 'auto-message',\n    visitor_auto: 'auto-message',\n    manual: 'manual-message',\n  },\n  searchIcon: selectFromObject('messageIcons', 'type'),\n  searchString: '',\n  product: null,\n\n  actions: {\n    resetSearch() {\n      this.exitSearch();\n    },\n\n    doSearch(item) {\n      if (this.isDestroying) {\n        return;\n      }\n      if (item.get('isStandardSearch')) {\n        let searchString = item.get('name');\n        this.set('searchString', searchString);\n        this.doSearch(searchString, '');\n        this.intercomEventService.trackEvent('message-list-search', {\n          type: this.type,\n          search_text: searchString,\n        });\n      } else {\n        this.doSearch('', item.get('id'));\n        this.intercomEventService.trackEvent('message-list-search', {\n          type: this.type,\n          search_admin: item.get('id'),\n        });\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Reporting::FetchReport\\n  @debugName={{debugName}}\\n  @query={{query}}\\n  @filters={{filters}}\\n  @groupings={{groupings}}\\n  @unit=\\\"new conversations\\\"\\n  @range={{range}}\\n  @groupOverTime={{true}}\\n  @signalType=\\\"comparison\\\" as |report|\\n>\\n  <Reporting::Element::Summary\\n    @title=\\\"Sent messages\\\"\\n    @currentValue={{or report.value 0}}\\n    @previousValue={{or report.previousValue 0}}\\n    @improvementDirection=\\\"increasing\\\"\\n    @titleTooltipText=\\\"Number of times messages were sent to users\\\"\\n    @range={{range}}\\n  />\\n  <Reporting::Element::Legend\\n    @list={{array\\n      (hash label=\\\"User Auto Message\\\" color=\\\"vis-blue-40\\\")\\n      (hash label=\\\"Visitor Auto Message\\\" color=\\\"vis-salmon-40\\\")\\n      (hash label=\\\"Campaign Auto Message\\\" color=\\\"vis-green-40\\\")\\n    }}\\n  />\\n  <Reporting::ChartContainer @height={{280}} @isLoading={{not report}}>\\n    <Reporting::Chart::StackedBar\\n      @signal={{report}}\\n      @keys={{array \\\"AutoMessage\\\" \\\"VisitorAutoMessage\\\" \\\"CampaignMessage\\\"}}\\n      @keyColorHash={{hash\\n        AutoMessage=\\\"vis-blue-40\\\"\\n        VisitorAutoMessage=\\\"vis-salmon-40\\\"\\n        CampaignMessage=\\\"vis-green-40\\\"\\n      }}\\n      @units={{hash\\n        AutoMessage=\\\"User message sends\\\"\\n        VisitorAutoMessage=\\\"Visitor message sends\\\"\\n        CampaignMessage=\\\"Campaign message sends\\\"\\n      }}\\n    />\\n  </Reporting::ChartContainer>\\n</Reporting::FetchReport>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Reporting::FetchReport\\n  @debugName={{debugName}}\\n  @query={{query}}\\n  @filters={{filters}}\\n  @groupings={{groupings}}\\n  @unit=\\\"new conversations\\\"\\n  @range={{range}}\\n  @groupOverTime={{true}}\\n  @signalType=\\\"comparison\\\" as |report|\\n>\\n  <Reporting::Element::Summary\\n    @title=\\\"Sent messages\\\"\\n    @currentValue={{or report.value 0}}\\n    @previousValue={{or report.previousValue 0}}\\n    @improvementDirection=\\\"increasing\\\"\\n    @titleTooltipText=\\\"Number of times messages were sent to users\\\"\\n    @range={{range}}\\n  />\\n  <Reporting::Element::Legend\\n    @list={{array\\n      (hash label=\\\"User Auto Message\\\" color=\\\"vis-blue-40\\\")\\n      (hash label=\\\"Visitor Auto Message\\\" color=\\\"vis-salmon-40\\\")\\n      (hash label=\\\"Campaign Auto Message\\\" color=\\\"vis-green-40\\\")\\n    }}\\n  />\\n  <Reporting::ChartContainer @height={{280}} @isLoading={{not report}}>\\n    <Reporting::Chart::StackedBar\\n      @signal={{report}}\\n      @keys={{array \\\"AutoMessage\\\" \\\"VisitorAutoMessage\\\" \\\"CampaignMessage\\\"}}\\n      @keyColorHash={{hash\\n        AutoMessage=\\\"vis-blue-40\\\"\\n        VisitorAutoMessage=\\\"vis-salmon-40\\\"\\n        CampaignMessage=\\\"vis-green-40\\\"\\n      }}\\n      @units={{hash\\n        AutoMessage=\\\"User message sends\\\"\\n        VisitorAutoMessage=\\\"Visitor message sends\\\"\\n        CampaignMessage=\\\"Campaign message sends\\\"\\n      }}\\n    />\\n  </Reporting::ChartContainer>\\n</Reporting::FetchReport>\\n\",\"moduleName\":\"embercom/components/messages/reporting/message-volume.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messages/reporting/message-volume.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport {\n  FILTER_AUTO_MESSAGES_CONVERSATION,\n  NEW_CONVERSATIONS_EVENT_TYPE,\n  GROUP_BY_CONVERSATION_MESSAGE_TYPE,\n} from 'embercom/lib/reporting/events';\nimport { MESSAGE_VOLUME_TIMELINE } from 'embercom/lib/reporting/messages-report-queries';\n\nexport default Component.extend({\n  debugName: 'messages_volume_by_date',\n  query: {\n    ...MESSAGE_VOLUME_TIMELINE,\n    nested_keys_are_dates: false,\n  },\n  filters: {\n    ...FILTER_AUTO_MESSAGES_CONVERSATION,\n    ...NEW_CONVERSATIONS_EVENT_TYPE,\n  },\n  groupings: [GROUP_BY_CONVERSATION_MESSAGE_TYPE],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__cf u__padb__20 u__padt__20 layout__box o__has-columns\\\">\\n  <IcSelect\\n    class=\\\"layout__box\\\"\\n    @selectedValue={{userOrVisitor}}\\n    @onSelectItem={{action \\\"onMessageTypeChange\\\"}}\\n    @items={{array\\n      (hash text=\\\"User auto messages\\\" value=\\\"user\\\")\\n      (hash text=\\\"Visitor auto messages\\\" value=\\\"visitor\\\")\\n    }}\\n  />\\n  {{#if (eq userOrVisitor \\\"user\\\")}}\\n    <span class=\\\"u__padl__10\\\">\\n      <IcRadioButtonGroup\\n        @disabled={{showDummyContent}}\\n        @selectedValue={{emailOrInApp}}\\n        @onSelectionChange={{action \\\"onChannelSelectionChange\\\"}}\\n        as |group|\\n      >\\n        <group.button @label=\\\"In-app Messages\\\" @value=\\\"in-app\\\" />\\n        <group.button @label=\\\"Emails\\\" @value=\\\"email\\\" />\\n      </IcRadioButtonGroup>\\n    </span>\\n  {{/if}}\\n</div>\\n<div class=\\\"layout__box\\\">\\n  {{#if loading}}\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n  {{else}}\\n    <Insights::VariationStatsComponent\\n      @app={{app}}\\n      @admin={{admin}}\\n      @page={{page}}\\n      @stats={{appliedStats}}\\n      @displayedStats={{displayedStats}}\\n      @messageType={{messageType}}\\n      @sortBy={{sortBy}}\\n      @showCampaignColumn={{eq userOrVisitor \\\"user\\\"}}\\n      @showDummyContent={{if\\n        (eq userOrVisitor \\\"user\\\")\\n        showDummyContent\\n        showDummyLeadContent\\n      }}\\n    />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__cf u__padb__20 u__padt__20 layout__box o__has-columns\\\">\\n  <IcSelect\\n    class=\\\"layout__box\\\"\\n    @selectedValue={{userOrVisitor}}\\n    @onSelectItem={{action \\\"onMessageTypeChange\\\"}}\\n    @items={{array\\n      (hash text=\\\"User auto messages\\\" value=\\\"user\\\")\\n      (hash text=\\\"Visitor auto messages\\\" value=\\\"visitor\\\")\\n    }}\\n  />\\n  {{#if (eq userOrVisitor \\\"user\\\")}}\\n    <span class=\\\"u__padl__10\\\">\\n      <IcRadioButtonGroup\\n        @disabled={{showDummyContent}}\\n        @selectedValue={{emailOrInApp}}\\n        @onSelectionChange={{action \\\"onChannelSelectionChange\\\"}}\\n        as |group|\\n      >\\n        <group.button @label=\\\"In-app Messages\\\" @value=\\\"in-app\\\" />\\n        <group.button @label=\\\"Emails\\\" @value=\\\"email\\\" />\\n      </IcRadioButtonGroup>\\n    </span>\\n  {{/if}}\\n</div>\\n<div class=\\\"layout__box\\\">\\n  {{#if loading}}\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n  {{else}}\\n    <Insights::VariationStatsComponent\\n      @app={{app}}\\n      @admin={{admin}}\\n      @page={{page}}\\n      @stats={{appliedStats}}\\n      @displayedStats={{displayedStats}}\\n      @messageType={{messageType}}\\n      @sortBy={{sortBy}}\\n      @showCampaignColumn={{eq userOrVisitor \\\"user\\\"}}\\n      @showDummyContent={{if\\n        (eq userOrVisitor \\\"user\\\")\\n        showDummyContent\\n        showDummyLeadContent\\n      }}\\n    />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/messages/reporting/messages-stats-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messages/reporting/messages-stats-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { readOnly, or } from '@ember/object/computed';\nimport { task } from 'ember-concurrency';\nimport $ from 'jquery';\nimport {\n  NEW_CONVERSATIONS_EVENT_TYPE,\n  GROUP_BY_CONVERSATION_MESSAGE_ID,\n} from 'embercom/lib/reporting/events';\nimport { AGGREGATE_BY_MESSAGE_ID } from 'embercom/lib/reporting/messages-report-queries';\n\nexport default Component.extend({\n  reportingService: service(),\n  store: service(),\n  appService: service(),\n  stats: {\n    inApps: [],\n    emails: [],\n  },\n  groupings: [GROUP_BY_CONVERSATION_MESSAGE_ID],\n  userOrVisitor: 'user',\n  emailOrInApp: 'in-app',\n  sortBy: 'clicked',\n  data: readOnly('fetchMessageData.lastSuccessful.value'),\n  page: computed('userOrVisitor', function() {\n    if (this.userOrVisitor === 'user') {\n      return 'engage';\n    } else {\n      return 'visitor-auto-message';\n    }\n  }),\n\n  appliedStats: computed('stats', 'emailOrInApp', function() {\n    let selectedData;\n    if (this.userOrVisitor === 'visitor') {\n      selectedData = this.stats.inApps;\n    } else {\n      selectedData = this.emailOrInApp === 'email' ? this.stats.emails : this.stats.inApps;\n    }\n    return selectedData.map(m => this.store.createFragment('insights/variation-stat', m));\n  }),\n\n  fetchStatsForMessage: task(function*(messageIds) {\n    let appId = this.get('appService.app.id');\n    let data = yield $.ajax({\n      url: '/ember/messages/insights_message_variation_stats',\n      type: 'POST',\n      data: { app_id: appId, message_ids: messageIds },\n      dataType: 'JSON',\n    });\n    this.set('stats', data);\n  }).restartable(),\n\n  loading: or('fetchStatsForMessage.isRunning', 'fetchMessageData.isRunning'),\n\n  fetchMessageData: task(function*() {\n    if (!this.range) {\n      return null;\n    }\n\n    let filterAutoMessages =\n      this.userOrVisitor === 'user' ? ['AutoMessage', 'CampaignMessage'] : ['VisitorAutoMessage'];\n\n    let signalParams = [\n      {\n        ...AGGREGATE_BY_MESSAGE_ID,\n        nested_keys_are_dates: false,\n        debug_name: 'messages_stats_list',\n      },\n      this.unit,\n      this.range,\n      {\n        'conversation.message_type': filterAutoMessages,\n        ...NEW_CONVERSATIONS_EVENT_TYPE,\n      },\n      this.groupings,\n      this.name,\n    ];\n\n    let signal = yield this.reportingService.fetchSignal(...signalParams);\n    let messageIds = signal.originalContext.map(c => c.key);\n    if (messageIds.length) {\n      this.fetchStatsForMessage.perform(messageIds);\n    } else {\n      this.set('stats', {\n        inApps: [],\n        emails: [],\n      });\n    }\n    return signal.values;\n  }).restartable(),\n\n  messageType: computed('userOrVisitor', 'emailOrInApp', function() {\n    if (this.userOrVisitor === 'user') {\n      return this.emailOrInApp;\n    } else {\n      return 'visitor auto message';\n    }\n  }),\n\n  displayedStats: computed('userOrVisitor', 'emailOrInApp', function() {\n    let stats;\n    if (this.userOrVisitor === 'visitor') {\n      stats = this.vamDisplayedStats;\n    }\n    if (this.emailOrInApp === 'email') {\n      stats = this.emailUAMDisplayedStats;\n    }\n    if (this.emailOrInApp === 'in-app') {\n      stats = this.inappUAMDisplayedStats;\n    }\n    return stats;\n  }),\n\n  variationStats: readOnly('stats'),\n  vamDisplayedStats: [\n    {\n      name: 'Sent',\n      path: 'sent',\n      icon: 'person',\n      color: 'outbound__recipients-stat',\n    },\n    {\n      name: 'Open',\n      path: 'opened',\n      icon: 'visible',\n      color: 'outbound__opens-stat',\n    },\n    {\n      name: 'Replied',\n      path: 'replied',\n      icon: 'conversation',\n      color: 'outbound__replies-stat',\n    },\n    {\n      name: 'Goal',\n      path: 'goalPercentage',\n      icon: 'goals',\n      color: 'outbound__goal-stat',\n    },\n  ],\n\n  emailUAMDisplayedStats: [\n    {\n      name: 'Sent',\n      path: 'sent',\n      icon: 'person',\n      color: 'outbound__recipients-stat',\n    },\n    {\n      name: 'Opened',\n      path: 'opened',\n      icon: 'visible',\n      color: 'outbound__opens-stat',\n    },\n    {\n      name: 'Clicked',\n      path: 'clicked',\n      icon: 'cursor',\n      color: 'outbound__clicks-stat',\n    },\n    {\n      name: 'Unsubs',\n      path: 'unsubscribed',\n      icon: 'unsubscribed',\n      color: 'outbound__unsubscribes-stat',\n    },\n    {\n      name: 'Goal',\n      path: 'goalPercentage',\n      icon: 'goals',\n      color: 'outbound__goal-stat',\n    },\n  ],\n\n  inappUAMDisplayedStats: [\n    {\n      name: 'Sent',\n      path: 'sent',\n      icon: 'person',\n      color: 'outbound__recipients-stat',\n    },\n    {\n      name: 'Opened',\n      path: 'opened',\n      icon: 'visible',\n      color: 'outbound__opens-stat',\n    },\n    {\n      name: 'Clicked',\n      path: 'clicked',\n      icon: 'cursor',\n      color: 'outbound__clicks-stat',\n    },\n    {\n      name: 'Goal',\n      path: 'goalPercentage',\n      icon: 'goals',\n      color: 'outbound__goal-stat',\n    },\n  ],\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.fetchMessageData.perform();\n  },\n\n  actions: {\n    onChannelSelectionChange(channel) {\n      this.set('emailOrInApp', channel);\n    },\n    onMessageTypeChange(messageType) {\n      this.set('userOrVisitor', messageType);\n      this.fetchMessageData.perform();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"u__ml__05\\\">\\n  {{ic-avatar direct=user.avatarData size=\\\"s\\\" withText=true}}\\n</span>\\n<LinkTo @route=\\\"apps.app.users.user.all-conversations\\\" @models={{array app userId}}>{{user.displayAs}}</LinkTo>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"u__ml__05\\\">\\n  {{ic-avatar direct=user.avatarData size=\\\"s\\\" withText=true}}\\n</span>\\n<LinkTo @route=\\\"apps.app.users.user.all-conversations\\\" @models={{array app userId}}>{{user.displayAs}}</LinkTo>\\n\",\"moduleName\":\"embercom/components/messages/reporting/user-display-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messages/reporting/user-display-row.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  tagName: 'span',\n  userCacheService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  user: null,\n  didInsertElement() {\n    this._super(...arguments);\n    this.fetchUser.perform();\n  },\n\n  fetchUser: task(function*() {\n    let user = yield this.userCacheService.getUser(this.userId);\n    this.set('user', user);\n  }).drop(),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table class=\\\"tbl tbl__reporting__table u__mt__10 u__mb__0\\\" data-test-table>\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  {{#each-in groupedMessageCounts as |count userIds|}}\\n    <tr>\\n      <strong>\\n        {{numeric-formatter-helper count}} messages\\n      </strong>\\n      <span class=\\\"text-gray\\\">\\n        were sent to\\n      </span>\\n      {{#each userIds as |userId index|}}\\n        {{#if (lt index 3)}}\\n          <Messages::Reporting::UserDisplayRow @userId={{userId}} />\\n        {{/if}}\\n      {{/each}}\\n      {{#if (gt userIds.length 3)}}\\n        and\\n        <strong>\\n          {{add userIds.length -3}} others\\n        </strong>\\n      {{/if}}\\n    </tr>\\n  {{else}}\\n    {{#each (array 1 2 3 4 5) as |index|}}\\n      <tr class=\\\"insights__data-row\\\">\\n        <td class=\\\"tbl__cell u__pad__15 insights__data-cell\\\">\\n          {{ghost-text 200}}\\n          <GhostAvatar/>\\n          {{ghost-text 100}}\\n          <GhostAvatar/>\\n          {{ghost-text 100}}\\n          <GhostAvatar/>\\n          {{ghost-text 100}}\\n        </td>\\n      </tr>\\n    {{/each}}\\n  {{/each-in}}\\n</table>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table class=\\\"tbl tbl__reporting__table u__mt__10 u__mb__0\\\" data-test-table>\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  {{#each-in groupedMessageCounts as |count userIds|}}\\n    <tr>\\n      <strong>\\n        {{numeric-formatter-helper count}} messages\\n      </strong>\\n      <span class=\\\"text-gray\\\">\\n        were sent to\\n      </span>\\n      {{#each userIds as |userId index|}}\\n        {{#if (lt index 3)}}\\n          <Messages::Reporting::UserDisplayRow @userId={{userId}} />\\n        {{/if}}\\n      {{/each}}\\n      {{#if (gt userIds.length 3)}}\\n        and\\n        <strong>\\n          {{add userIds.length -3}} others\\n        </strong>\\n      {{/if}}\\n    </tr>\\n  {{else}}\\n    {{#each (array 1 2 3 4 5) as |index|}}\\n      <tr class=\\\"insights__data-row\\\">\\n        <td class=\\\"tbl__cell u__pad__15 insights__data-cell\\\">\\n          {{ghost-text 200}}\\n          <GhostAvatar/>\\n          {{ghost-text 100}}\\n          <GhostAvatar/>\\n          {{ghost-text 100}}\\n          <GhostAvatar/>\\n          {{ghost-text 100}}\\n        </td>\\n      </tr>\\n    {{/each}}\\n  {{/each-in}}\\n</table>\\n\",\"moduleName\":\"embercom/components/messages/reporting/user-volume.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messages/reporting/user-volume.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport {\n  NEW_CONVERSATIONS_EVENT_TYPE,\n  FILTER_AUTO_MESSAGES_CONVERSATION,\n  GROUP_BY_USER_ID,\n} from 'embercom/lib/reporting/events';\nimport { NEW_CONVERSATIONS_EVENTS } from 'embercom/lib/reporting/queries';\n\nexport default Component.extend({\n  reportingService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.fetchSignals.perform();\n  },\n\n  fetchSignals: task(function*() {\n    let signal = yield this.reportingService.fetchSignal(\n      {\n        ...NEW_CONVERSATIONS_EVENTS,\n        keys_are_dates: false,\n        debug_name: 'messages_user_volume',\n      },\n      this.unit,\n      this.range,\n      {\n        ...NEW_CONVERSATIONS_EVENT_TYPE,\n        ...FILTER_AUTO_MESSAGES_CONVERSATION,\n      },\n      [GROUP_BY_USER_ID],\n      this.name,\n    );\n\n    let groupedMessageCounts = signal.context.reduce(function(output, item) {\n      (output[item['value']] = output[item['value']] || []).push(item['key']);\n      return output;\n    }, {});\n\n    this.set('groupedMessageCounts', groupedMessageCounts);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<Common::ModalComponent @closeModal=\\\"closeModal\\\" @width=\\\"l\\\">\\n  <div class=\\\"modal__header flex items-start\\\">\\n    <div class=\\\"modal__header__title flex-auto min-w-0\\\">\\n      <h2 class=\\\"t__h2\\\" data-test-saved-content-modal-title>\\n        Saved Content\\n      </h2>\\n    </div>\\n    <div class=\\\"modal__header__close u__cf\\\">\\n      <a\\n        class=\\\"modal__header__close__link u__right\\\"\\n        data-test-close-modal\\n        {{action \\\"closeModal\\\"}}\\n      >\\n        {{ic-interface-icon \\\"close\\\" solo=true}}\\n      </a>\\n    </div>\\n  </div>\\n  <div class=\\\"modal__body o__no-footer saved-contents__modal__contents\\\" data-test-saved-content-modal-body>\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      <div class=\\\"layout__box o__flexes-to-4 o__has-rows u__relative saved-contents__modal__contents__left\\\">\\n        <div class=\\\"layout__box o__flexes-to-1 saved-contents__popover__panel\\\">\\n          {{#if hasSavedContents}}\\n            <VerticalCollection\\n              @items={{savedContents}}\\n              @estimateHeight={{36}}\\n              @staticHeight={{true}} as |content index|\\n            >\\n              <div\\n                class=\\\"saved-contents__list-item flex items-start o__hoverable {{if content.active \\\"o__active\\\"}}\\\"\\n                data-test-saved-content-list-item\\n                {{action \\\"selectSavedContent\\\" content}}\\n              >\\n                <IcTooltip as |t|>\\n                  <t.opener>\\n                    <IcAvatarComponent\\n                      @model={{content.admin}}\\n                      @size=\\\"xs\\\"\\n                      data-test-saved-content-modal-avatar={{true}}\\n                    />\\n                  </t.opener>\\n                  <t.content>\\n                    Created by {{display-admin-as-firstname content.admin content.admin}}\\n                    <time>\\n                      {{abbreviated-relative-time-ago-helper content.createdAt}}\\n                    </time>\\n                  </t.content>\\n                </IcTooltip>\\n                <div class=\\\"saved-contents__list-item__content\\\">\\n                  <div class=\\\"u__one-truncated-line saved-contents__modal__list-item__name {{if content.active \\\"saved-contents__modal__active-content\\\"}}\\\">\\n                    {{content.name}}\\n                  </div>\\n                </div>\\n              </div>\\n            </VerticalCollection>\\n          {{/if}}\\n        </div>\\n        {{#if isEditMode}}\\n          <div class=\\\"saved-contents__modal__edit-overlay\\\"></div>\\n        {{/if}}\\n        <div class=\\\"layout__box u__cf saved-contents__modal__footer\\\">\\n          <div class=\\\"btn__associated-content\\\">\\n            <a\\n              class=\\\"btn__tertiary\\\"\\n              data-test-saved-contents-create-button\\n              {{action \\\"createSavedContent\\\"}}\\n            >\\n              {{ic-interface-icon \\\"new\\\"}} Create saved content\\n            </a>\\n          </div>\\n        </div>\\n      </div>\\n      <div class=\\\"layout__box o__flexes-to-6 o__has-rows u__relative\\\">\\n        <div class=\\\"layout__box u__padt__20 u__padr__30 u__padl__30 mb-4\\\">\\n          {{#if isEditMode}}\\n            <Input\\n              @value={{selectedSavedContent.name}}\\n              @type=\\\"text\\\"\\n              class=\\\"f__text js__saved-contents__name-input\\\"\\n              placeholder={{namePlaceholder}}\\n              data-test-saved-content-name-input-field={{true}}\\n            />\\n          {{else}}\\n            <h2 class=\\\"t__h2\\\" data-test-saved-content-name>\\n              {{selectedSavedContent.name}}\\n            </h2>\\n          {{/if}}\\n        </div>\\n        <div class=\\\"layout__box o__flexes-to-1 u__padr__30 u__padl__30\\\">\\n          <div class=\\\"mb-8 conversation__text {{if isEditMode \\\"saved-contents__modal-edit\\\" \\\"saved-contents__modal-preview\\\"}}\\\">\\n            {{#if isEditMode}}\\n              <ComposerV2\\n                @preset=\\\"savedContent\\\"\\n                @actionReceiver={{savedContentComposer}}\\n                @blocks={{selectedSavedContent.serializedBlocks}}\\n                @startedUploading={{action (mut composerIsUploading) true}}\\n                @finishedUploading={{action (mut composerIsUploading) false}}\\n                @app={{app}}\\n                @attributes={{app.allowedAttributes}}\\n                @editorClass=\\\"saved-contents__modal-composer-editor\\\"\\n                class=\\\"f__text saved-contents__modal-preview__composer\\\"\\n                @outerContainerSelector=\\\".conversation__text saved-contents__modal-preview\\\"\\n                @placeholder={{bodyPlaceholder}}\\n                @inserters={{array\\n                  (component\\n                    \\\"composer-inserter\\\"\\n                    data-test-composer-inserter=\\\"emoji\\\"\\n                    data=(hash\\n                      icon=\\\"lwr-happy\\\"\\n                      title=\\\"Insert emoji\\\"\\n                      configurator=(component\\n                        \\\"message-editor/content/emoji-inserter\\\"\\n                      )\\n                    )\\n                  )\\n                }}\\n                data-test-saved-content-composer-editor={{true}}\\n                @onError={{composer-error-logger \\\"Messages\\\"}}\\n              />\\n            {{else}}\\n              <ComposerV2\\n                @preset=\\\"readOnly\\\"\\n                @actionReceiver={{savedContentReadOnlyComposer}}\\n                @blocks={{selectedSavedContent.serializedBlocks}}\\n                @app={{app}}\\n                @attributes={{app.allowedAttributes}}\\n                class=\\\"saved-contents__modal-preview__composer\\\"\\n                @outerContainerSelector=\\\".conversation___text saved-contents__modal-preview\\\"\\n                @onError={{composer-error-logger \\\"Messages\\\"}}\\n              />\\n            {{/if}}\\n          </div>\\n        </div>\\n        <div class=\\\"layout__box u__cf saved-contents__modal__footer\\\">\\n          {{#if (not (eq selectedSavedContent null))}}\\n            {{#unless activeReply.isNew}}\\n              <div class=\\\"u__left\\\">\\n                <IcButton\\n                  @label=\\\"Delete\\\"\\n                  @type=\\\"secondary-destructive\\\"\\n                  @onClick={{action \\\"deleteSavedContent\\\"}}\\n                  @disabled={{or isSaving false}}\\n                  data-test-saved-contents-delete-button={{true}}\\n                  @jsBindingClass=\\\"js__saved-contents__delete-button\\\"\\n                />\\n              </div>\\n            {{/unless}}\\n            {{#if isEditMode}}\\n              <div class=\\\"u__right\\\">\\n                {{#if composerIsUploading}}\\n                  <div class=\\\"t__light-text text-gray btn__associated-content u__left inbox__draft-info\\\">\\n                    Uploading...\\n                  </div>\\n                {{/if}}\\n                <IcButton\\n                  @label=\\\"Cancel\\\"\\n                  @type=\\\"secondary\\\"\\n                  @action=\\\"cancelEditSavedContent\\\"\\n                  @disabled={{isSaving}}\\n                  @inRightList={{true}}\\n                  data-test-saved-contents-cancel-button={{true}}\\n                  @jsBindingClass=\\\"js__saved-contents__cancel-button\\\"\\n                />\\n                <IcButton\\n                  @label=\\\"Save\\\"\\n                  @type=\\\"primary\\\"\\n                  @action=\\\"saveSavedContent\\\"\\n                  @disabled={{or isSaving composerIsUploading}}\\n                  @inRightList={{true}}\\n                  data-test-saved-contents-save-button={{true}}\\n                  @jsBindingClass=\\\"js__saved-contents__save-button\\\"\\n                />\\n              </div>\\n            {{else}}\\n              <div class=\\\"u__right\\\">\\n                <IcButton\\n                  @label=\\\"Edit\\\"\\n                  @type=\\\"secondary\\\"\\n                  @action=\\\"editSavedContent\\\"\\n                  @disabled={{false}}\\n                  @inRightList={{true}}\\n                  data-test-saved-contents-edit-button={{true}}\\n                  @jsBindingClass=\\\"js__saved-contents__edit-button\\\"\\n                />\\n                <IcButton\\n                  @label=\\\"Insert Content\\\"\\n                  @type=\\\"primary\\\"\\n                  @action=\\\"insertSavedContent\\\"\\n                  @disabled={{false}}\\n                  @inRightList={{true}}\\n                  data-test-saved-contents-insert-button={{true}}\\n                  @jsBindingClass=\\\"js__saved-contents__insert-button\\\"\\n                />\\n              </div>\\n            {{/if}}\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n</Common::ModalComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<Common::ModalComponent @closeModal=\\\"closeModal\\\" @width=\\\"l\\\">\\n  <div class=\\\"modal__header flex items-start\\\">\\n    <div class=\\\"modal__header__title flex-auto min-w-0\\\">\\n      <h2 class=\\\"t__h2\\\" data-test-saved-content-modal-title>\\n        Saved Content\\n      </h2>\\n    </div>\\n    <div class=\\\"modal__header__close u__cf\\\">\\n      <a\\n        class=\\\"modal__header__close__link u__right\\\"\\n        data-test-close-modal\\n        {{action \\\"closeModal\\\"}}\\n      >\\n        {{ic-interface-icon \\\"close\\\" solo=true}}\\n      </a>\\n    </div>\\n  </div>\\n  <div class=\\\"modal__body o__no-footer saved-contents__modal__contents\\\" data-test-saved-content-modal-body>\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      <div class=\\\"layout__box o__flexes-to-4 o__has-rows u__relative saved-contents__modal__contents__left\\\">\\n        <div class=\\\"layout__box o__flexes-to-1 saved-contents__popover__panel\\\">\\n          {{#if hasSavedContents}}\\n            <VerticalCollection\\n              @items={{savedContents}}\\n              @estimateHeight={{36}}\\n              @staticHeight={{true}} as |content index|\\n            >\\n              <div\\n                class=\\\"saved-contents__list-item flex items-start o__hoverable {{if content.active \\\"o__active\\\"}}\\\"\\n                data-test-saved-content-list-item\\n                {{action \\\"selectSavedContent\\\" content}}\\n              >\\n                <IcTooltip as |t|>\\n                  <t.opener>\\n                    <IcAvatarComponent\\n                      @model={{content.admin}}\\n                      @size=\\\"xs\\\"\\n                      data-test-saved-content-modal-avatar={{true}}\\n                    />\\n                  </t.opener>\\n                  <t.content>\\n                    Created by {{display-admin-as-firstname content.admin content.admin}}\\n                    <time>\\n                      {{abbreviated-relative-time-ago-helper content.createdAt}}\\n                    </time>\\n                  </t.content>\\n                </IcTooltip>\\n                <div class=\\\"saved-contents__list-item__content\\\">\\n                  <div class=\\\"u__one-truncated-line saved-contents__modal__list-item__name {{if content.active \\\"saved-contents__modal__active-content\\\"}}\\\">\\n                    {{content.name}}\\n                  </div>\\n                </div>\\n              </div>\\n            </VerticalCollection>\\n          {{/if}}\\n        </div>\\n        {{#if isEditMode}}\\n          <div class=\\\"saved-contents__modal__edit-overlay\\\"></div>\\n        {{/if}}\\n        <div class=\\\"layout__box u__cf saved-contents__modal__footer\\\">\\n          <div class=\\\"btn__associated-content\\\">\\n            <a\\n              class=\\\"btn__tertiary\\\"\\n              data-test-saved-contents-create-button\\n              {{action \\\"createSavedContent\\\"}}\\n            >\\n              {{ic-interface-icon \\\"new\\\"}} Create saved content\\n            </a>\\n          </div>\\n        </div>\\n      </div>\\n      <div class=\\\"layout__box o__flexes-to-6 o__has-rows u__relative\\\">\\n        <div class=\\\"layout__box u__padt__20 u__padr__30 u__padl__30 mb-4\\\">\\n          {{#if isEditMode}}\\n            <Input\\n              @value={{selectedSavedContent.name}}\\n              @type=\\\"text\\\"\\n              class=\\\"f__text js__saved-contents__name-input\\\"\\n              placeholder={{namePlaceholder}}\\n              data-test-saved-content-name-input-field={{true}}\\n            />\\n          {{else}}\\n            <h2 class=\\\"t__h2\\\" data-test-saved-content-name>\\n              {{selectedSavedContent.name}}\\n            </h2>\\n          {{/if}}\\n        </div>\\n        <div class=\\\"layout__box o__flexes-to-1 u__padr__30 u__padl__30\\\">\\n          <div class=\\\"mb-8 conversation__text {{if isEditMode \\\"saved-contents__modal-edit\\\" \\\"saved-contents__modal-preview\\\"}}\\\">\\n            {{#if isEditMode}}\\n              <ComposerV2\\n                @preset=\\\"savedContent\\\"\\n                @actionReceiver={{savedContentComposer}}\\n                @blocks={{selectedSavedContent.serializedBlocks}}\\n                @startedUploading={{action (mut composerIsUploading) true}}\\n                @finishedUploading={{action (mut composerIsUploading) false}}\\n                @app={{app}}\\n                @attributes={{app.allowedAttributes}}\\n                @editorClass=\\\"saved-contents__modal-composer-editor\\\"\\n                class=\\\"f__text saved-contents__modal-preview__composer\\\"\\n                @outerContainerSelector=\\\".conversation__text saved-contents__modal-preview\\\"\\n                @placeholder={{bodyPlaceholder}}\\n                @inserters={{array\\n                  (component\\n                    \\\"composer-inserter\\\"\\n                    data-test-composer-inserter=\\\"emoji\\\"\\n                    data=(hash\\n                      icon=\\\"lwr-happy\\\"\\n                      title=\\\"Insert emoji\\\"\\n                      configurator=(component\\n                        \\\"message-editor/content/emoji-inserter\\\"\\n                      )\\n                    )\\n                  )\\n                }}\\n                data-test-saved-content-composer-editor={{true}}\\n                @onError={{composer-error-logger \\\"Messages\\\"}}\\n              />\\n            {{else}}\\n              <ComposerV2\\n                @preset=\\\"readOnly\\\"\\n                @actionReceiver={{savedContentReadOnlyComposer}}\\n                @blocks={{selectedSavedContent.serializedBlocks}}\\n                @app={{app}}\\n                @attributes={{app.allowedAttributes}}\\n                class=\\\"saved-contents__modal-preview__composer\\\"\\n                @outerContainerSelector=\\\".conversation___text saved-contents__modal-preview\\\"\\n                @onError={{composer-error-logger \\\"Messages\\\"}}\\n              />\\n            {{/if}}\\n          </div>\\n        </div>\\n        <div class=\\\"layout__box u__cf saved-contents__modal__footer\\\">\\n          {{#if (not (eq selectedSavedContent null))}}\\n            {{#unless activeReply.isNew}}\\n              <div class=\\\"u__left\\\">\\n                <IcButton\\n                  @label=\\\"Delete\\\"\\n                  @type=\\\"secondary-destructive\\\"\\n                  @onClick={{action \\\"deleteSavedContent\\\"}}\\n                  @disabled={{or isSaving false}}\\n                  data-test-saved-contents-delete-button={{true}}\\n                  @jsBindingClass=\\\"js__saved-contents__delete-button\\\"\\n                />\\n              </div>\\n            {{/unless}}\\n            {{#if isEditMode}}\\n              <div class=\\\"u__right\\\">\\n                {{#if composerIsUploading}}\\n                  <div class=\\\"t__light-text text-gray btn__associated-content u__left inbox__draft-info\\\">\\n                    Uploading...\\n                  </div>\\n                {{/if}}\\n                <IcButton\\n                  @label=\\\"Cancel\\\"\\n                  @type=\\\"secondary\\\"\\n                  @action=\\\"cancelEditSavedContent\\\"\\n                  @disabled={{isSaving}}\\n                  @inRightList={{true}}\\n                  data-test-saved-contents-cancel-button={{true}}\\n                  @jsBindingClass=\\\"js__saved-contents__cancel-button\\\"\\n                />\\n                <IcButton\\n                  @label=\\\"Save\\\"\\n                  @type=\\\"primary\\\"\\n                  @action=\\\"saveSavedContent\\\"\\n                  @disabled={{or isSaving composerIsUploading}}\\n                  @inRightList={{true}}\\n                  data-test-saved-contents-save-button={{true}}\\n                  @jsBindingClass=\\\"js__saved-contents__save-button\\\"\\n                />\\n              </div>\\n            {{else}}\\n              <div class=\\\"u__right\\\">\\n                <IcButton\\n                  @label=\\\"Edit\\\"\\n                  @type=\\\"secondary\\\"\\n                  @action=\\\"editSavedContent\\\"\\n                  @disabled={{false}}\\n                  @inRightList={{true}}\\n                  data-test-saved-contents-edit-button={{true}}\\n                  @jsBindingClass=\\\"js__saved-contents__edit-button\\\"\\n                />\\n                <IcButton\\n                  @label=\\\"Insert Content\\\"\\n                  @type=\\\"primary\\\"\\n                  @action=\\\"insertSavedContent\\\"\\n                  @disabled={{false}}\\n                  @inRightList={{true}}\\n                  data-test-saved-contents-insert-button={{true}}\\n                  @jsBindingClass=\\\"js__saved-contents__insert-button\\\"\\n                />\\n              </div>\\n            {{/if}}\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n</Common::ModalComponent>\\n\",\"moduleName\":\"embercom/components/messages/saved-contents-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messages/saved-contents-modal.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { gt, equal } from '@ember/object/computed';\nimport createFragmentFromBlock from 'embercom/lib/blocks/create-fragment-from-block';\nimport { next } from '@ember/runloop';\nimport $ from 'jquery';\n\nexport default Component.extend({\n  appService: service(),\n  intercomEventService: service(),\n  app: readOnly('appService.app'),\n  store: service(),\n  savedContents: null,\n  hasSavedContents: gt('savedContents.length', 0),\n  selectedSavedContent: null,\n  isCreateMode: equal('mode', 'create'),\n  isEditMode: equal('mode', 'edit'),\n\n  namePlaceholder: 'Name your saved content…',\n  bodyPlaceholder: 'Write your saved content…',\n\n  init() {\n    this._super(...arguments);\n    this.resetSelectedSavedContent();\n    let action = this.isCreateMode ? 'opened_create_modal' : 'opened_manage_modal';\n    this.intercomEventService.trackAnalyticsEvent({\n      action,\n      object: 'saved_content',\n    });\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    if (this.isCreateMode) {\n      this.createSavedContent();\n      next(this, this._focusOnNameInput);\n    }\n  },\n\n  _focusOnNameInput() {\n    $('.js__saved-contents__name-input').focus();\n  },\n\n  resetSelectedSavedContent() {\n    let serializedBlocks = [];\n    if (this.hasSavedContents) {\n      let savedContent = this.get('savedContents.firstObject');\n      this.setSelectedSavedContent(savedContent);\n      serializedBlocks = savedContent.get('serializedBlocks');\n    } else {\n      this.set('selectedSavedContent', null);\n    }\n    this.setComposerValues(serializedBlocks);\n  },\n\n  setComposerValues(serializedBlocks) {\n    if (this.savedContentReadOnlyComposer) {\n      this.savedContentReadOnlyComposer.send('load', serializedBlocks);\n    } else if (this.savedContentComposer) {\n      this.savedContentComposer.send('load', serializedBlocks);\n    }\n  },\n\n  setSelectedSavedContent(savedContent) {\n    this.setAllContentsInactive();\n    this.set('selectedSavedContent', savedContent);\n    this.selectedSavedContent.set('active', true);\n  },\n\n  setAllContentsInactive() {\n    if (this.hasSavedContents) {\n      this.savedContents.setEach('active', false);\n    }\n  },\n\n  createSavedContent() {\n    let savedContent = this.store.createRecord('saved-content', {\n      adminId: this.get('admin.id'),\n      appId: this.get('app.id'),\n      blocks: [createFragmentFromBlock(this.store, { type: 'paragraph', text: '' })],\n    });\n    this.setProperties({\n      selectedSavedContent: savedContent,\n      mode: 'edit',\n    });\n    this.setSelectedSavedContent(savedContent);\n    next(this, this._focusOnNameInput);\n  },\n\n  saveContent(savedContent) {\n    savedContent\n      .save()\n      .then(() => {\n        this.set('mode', '');\n        this.notificationsService.notifyConfirmation('Content saved');\n      })\n      .catch(response => {\n        this._handleSaveError(response.jqXHR);\n      });\n  },\n\n  _handleSaveError(response) {\n    let errorMessage = 'An error occurred, please try again later';\n    if (response.responseJSON && response.responseJSON.errors) {\n      errorMessage = response.responseJSON.errors.firstObject.message;\n    }\n    this.notificationsService.notifyError(errorMessage);\n  },\n\n  actions: {\n    selectSavedContent(savedContent) {\n      this.setSelectedSavedContent(savedContent);\n      this.savedContentReadOnlyComposer.send('load', savedContent.get('serializedBlocks'));\n    },\n    editSavedContent() {\n      this.set('mode', 'edit');\n    },\n    createSavedContent() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'create_from_modal',\n        object: 'saved_content',\n      });\n      this.createSavedContent();\n    },\n    async cancelEditSavedContent() {\n      if (!this.selectedSavedContent.get('isValid')) {\n        await this.selectedSavedContent.destroyRecord();\n      }\n      this.set('mode', '');\n      this.set('selectedSavedContent', null);\n      this.resetSelectedSavedContent();\n    },\n    saveSavedContent() {\n      let blocks = this.savedContentComposer.getBlocks();\n      let blockFragments = blocks.map(block => createFragmentFromBlock(this.store, block));\n      this.set('selectedSavedContent.blocks', blockFragments);\n      if (this.selectedSavedContent.get('isValid')) {\n        if (this.selectedSavedContent.get('isNameLengthValid')) {\n          this.saveContent(this.selectedSavedContent);\n        } else {\n          this.notificationsService.notifyError(\n            'Saved Content name exceeded maximum length of 140 characters',\n          );\n        }\n      } else {\n        this.notificationsService.notifyError('Saved Content name & body are required');\n      }\n    },\n    async deleteSavedContent() {\n      await this.selectedSavedContent.destroyRecord();\n      this.resetSelectedSavedContent();\n      if (!this.hasSavedContents) {\n        this.set('mode', '');\n      }\n    },\n    insertSavedContent() {\n      this.insertSavedContent(this.selectedSavedContent);\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'inserted_from_modal',\n        object: 'saved_content',\n      });\n      this.closeModal();\n    },\n    async closeModal() {\n      if (!this.selectedSavedContent.get('isValid')) {\n        await this.selectedSavedContent.destroyRecord();\n      }\n      this.closeModal();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"t__centered u__center-item\\\" data-test-messages-search-empty-state>\\n  <div class=\\\"search__empty-state__illustration o__messages\\\"></div>\\n  <div class=\\\"t__h2\\\">\\n    {{@title}}\\n  </div>\\n  <div class=\\\"mt-2\\\">\\n    {{@description}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"t__centered u__center-item\\\" data-test-messages-search-empty-state>\\n  <div class=\\\"search__empty-state__illustration o__messages\\\"></div>\\n  <div class=\\\"t__h2\\\">\\n    {{@title}}\\n  </div>\\n  <div class=\\\"mt-2\\\">\\n    {{@description}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/messages/search/empty-state.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messages/search/empty-state.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<SubmenuComponent @title=\\\"Messages\\\" as |submenu|>\\n  <submenu.header\\n    @searchAction={{toggleSearch}}\\n    @searchIsSelected={{showSearch}}\\n    data-test-messages-submenu-header={{true}}\\n  />\\n  <submenu.sections as |sections|>\\n    <sections.section @isOpen={{isOnUserAutoMessagesRoute}} as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.messages.auto\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          data-test-messages-submenu-title=\\\"auto\\\"\\n        >\\n          User auto messages\\n          <SubmenuSectionsSectionTitleArrow @isOpen={{isOnUserAutoMessagesRoute}}/>\\n        </LinkTo>\\n      </section.title>\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.messages.auto.live\\\"\\n          @current-when={{allMessagesStateRoutes}}\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-messages-submenu-item=\\\"auto\\\"\\n        >\\n          Messages\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.messages.auto.campaigns\\\"\\n          @query={{hash\\n            state=undefined\\n            sortColumn=undefined\\n            sortDirection=undefined\\n          }}\\n          @current-when=\\\"apps.app.outbound.messages.auto.campaigns.index\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-messages-submenu-item=\\\"campaigns\\\"\\n        >\\n          Campaigns\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.messages.auto.folders\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-messages-submenu-item=\\\"folders\\\"\\n        >\\n          Folders\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnVisitorAutoMessagesRoute}} as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.messages.visitor-auto.index\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          @current-when={{allVisitorAutoMessagesStateRoutes}}\\n          data-test-messages-submenu-title=\\\"visitor-auto\\\"\\n        >\\n          Visitor auto messages\\n        </LinkTo>\\n      </section.title>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnManualMessagesRoute}} as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.messages.manual.index\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          @current-when={{allManualMessagesStateRoutes}}\\n          data-test-messages-submenu-title=\\\"manual\\\"\\n        >\\n          Manual messages\\n        </LinkTo>\\n      </section.title>\\n    </sections.section>\\n  </submenu.sections>\\n</SubmenuComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<SubmenuComponent @title=\\\"Messages\\\" as |submenu|>\\n  <submenu.header\\n    @searchAction={{toggleSearch}}\\n    @searchIsSelected={{showSearch}}\\n    data-test-messages-submenu-header={{true}}\\n  />\\n  <submenu.sections as |sections|>\\n    <sections.section @isOpen={{isOnUserAutoMessagesRoute}} as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.messages.auto\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          data-test-messages-submenu-title=\\\"auto\\\"\\n        >\\n          User auto messages\\n          <SubmenuSectionsSectionTitleArrow @isOpen={{isOnUserAutoMessagesRoute}}/>\\n        </LinkTo>\\n      </section.title>\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.messages.auto.live\\\"\\n          @current-when={{allMessagesStateRoutes}}\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-messages-submenu-item=\\\"auto\\\"\\n        >\\n          Messages\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.messages.auto.campaigns\\\"\\n          @query={{hash\\n            state=undefined\\n            sortColumn=undefined\\n            sortDirection=undefined\\n          }}\\n          @current-when=\\\"apps.app.outbound.messages.auto.campaigns.index\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-messages-submenu-item=\\\"campaigns\\\"\\n        >\\n          Campaigns\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.messages.auto.folders\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-messages-submenu-item=\\\"folders\\\"\\n        >\\n          Folders\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnVisitorAutoMessagesRoute}} as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.messages.visitor-auto.index\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          @current-when={{allVisitorAutoMessagesStateRoutes}}\\n          data-test-messages-submenu-title=\\\"visitor-auto\\\"\\n        >\\n          Visitor auto messages\\n        </LinkTo>\\n      </section.title>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnManualMessagesRoute}} as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.messages.manual.index\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          @current-when={{allManualMessagesStateRoutes}}\\n          data-test-messages-submenu-title=\\\"manual\\\"\\n        >\\n          Manual messages\\n        </LinkTo>\\n      </section.title>\\n    </sections.section>\\n  </submenu.sections>\\n</SubmenuComponent>\\n\",\"moduleName\":\"embercom/components/messages/submenu-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messages/submenu-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { match, or, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  appService: service(),\n  store: service(),\n  app: readOnly('appService.app'),\n  router: service(),\n\n  classNames: ['layout__box', 'o__has-columns'],\n\n  isOnInAppsRoute: match('router.currentRouteName', /^apps\\.app\\.outbound\\.in-apps/),\n\n  isOnUserAutoMessagesRoute: match(\n    'router.currentRouteName',\n    /^apps\\.app\\.outbound\\.messages\\.auto/,\n  ),\n  allMessagesStateRoutes: computed(function() {\n    return ['all', 'live', 'draft', 'paused', 'scheduled', 'yours', 'message']\n      .map(leaf => `apps.app.outbound.messages.auto.${leaf}`)\n      .join(' ');\n  }),\n  allManualMessagesStateRoutes: computed(function() {\n    return ['sent', 'sent-via-api', 'draft', 'scheduled', 'message']\n      .map(leaf => `apps.app.outbound.messages.manual.${leaf}`)\n      .join(' ');\n  }),\n  allVisitorAutoMessagesStateRoutes: computed(function() {\n    return ['all', 'live', 'draft', 'paused', 'scheduled', 'yours', 'message']\n      .map(leaf => `apps.app.outbound.messages.visitor-auto.${leaf}`)\n      .join(' ');\n  }),\n  isOnVisitorAutoMessagesRoute: match(\n    'router.currentRouteName',\n    /^apps\\.app\\.outbound\\.messages\\.visitor-auto/,\n  ),\n  isOnManualMessagesRoute: match(\n    'router.currentRouteName',\n    /^apps\\.app\\.outbound\\.messages\\.manual/,\n  ),\n  isOnInsightsRoute: match('router.currentRouteName', /^apps\\.app\\.outbound\\.insights/),\n  isOnGuideRoute: match('router.currentRouteName', /^apps\\.app\\.outbound\\.guide/),\n  isOnAboutRoute: match('router.currentRouteName', /^apps\\.app\\.outbound\\.about/),\n  isOnGuideOrAboutRoute: or('isOnGuideRoute', 'isOnAboutRoute'),\n\n  actions: {\n    trackEvent() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'start_guide_clicked',\n        context: 'from_messages_submenu',\n        place: 'start_guide',\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col justify-start items-start flex-1 gap-2 message__creation-modal__template-cell-list\\\" data-test-messages-templates-selector-container=\\\"true\\\">\\n  <div\\n    {{on \\\"click\\\" (fn @selectTemplate null)}}\\n    class=\\\"p-4 m-0 {{if (eq null @selectedTemplate) \\\"message__creation-modal__templates-cell-active\\\" \\\"message__creation-modal__templates-cell\\\"}}\\\"\\n    data-test-messages-templates-cell-create-from-scratch\\n  >\\n    <Heading @size=\\\"4\\\">\\n      Start from scratch\\n    </Heading>\\n    <Paragraph @styling=\\\"muted\\\">\\n      Create a new {{this.humanReadableObjectName}} from scratch\\n    </Paragraph>\\n  </div>\\n  <Heading @size=\\\"3\\\" class=\\\"p-4 u__mb__0 pb-2 pt-6 message__creation-modal__use-a-template-header\\\">\\n    Or use a template\\n  </Heading>\\n  {{#each this.filteredTemplates as |template|}}\\n    <div\\n      {{on \\\"click\\\" (fn @selectTemplate template)}}\\n      class=\\\"p-4 m-0 {{if (eq template @selectedTemplate) \\\"message__creation-modal__templates-cell-active\\\" \\\"message__creation-modal__templates-cell\\\"}}\\\"\\n      data-test-messages-templates-cell\\n    >\\n      <Heading data-test-messages-templates-card-title @size=\\\"4\\\">\\n        {{template.title}}\\n      </Heading>\\n      <Paragraph data-test-messages-templates-card-description @styling=\\\"muted\\\">\\n        {{template.description}}\\n      </Paragraph>\\n    </div>\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col justify-start items-start flex-1 gap-2 message__creation-modal__template-cell-list\\\" data-test-messages-templates-selector-container=\\\"true\\\">\\n  <div\\n    {{on \\\"click\\\" (fn @selectTemplate null)}}\\n    class=\\\"p-4 m-0 {{if (eq null @selectedTemplate) \\\"message__creation-modal__templates-cell-active\\\" \\\"message__creation-modal__templates-cell\\\"}}\\\"\\n    data-test-messages-templates-cell-create-from-scratch\\n  >\\n    <Heading @size=\\\"4\\\">\\n      Start from scratch\\n    </Heading>\\n    <Paragraph @styling=\\\"muted\\\">\\n      Create a new {{this.humanReadableObjectName}} from scratch\\n    </Paragraph>\\n  </div>\\n  <Heading @size=\\\"3\\\" class=\\\"p-4 u__mb__0 pb-2 pt-6 message__creation-modal__use-a-template-header\\\">\\n    Or use a template\\n  </Heading>\\n  {{#each this.filteredTemplates as |template|}}\\n    <div\\n      {{on \\\"click\\\" (fn @selectTemplate template)}}\\n      class=\\\"p-4 m-0 {{if (eq template @selectedTemplate) \\\"message__creation-modal__templates-cell-active\\\" \\\"message__creation-modal__templates-cell\\\"}}\\\"\\n      data-test-messages-templates-cell\\n    >\\n      <Heading data-test-messages-templates-card-title @size=\\\"4\\\">\\n        {{template.title}}\\n      </Heading>\\n      <Paragraph data-test-messages-templates-card-description @styling=\\\"muted\\\">\\n        {{template.description}}\\n      </Paragraph>\\n    </div>\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/messages/templates/selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messages/templates/selector.hbs\"}});\nimport Component from '@glimmer/component';\nimport {\n  humanReadableObjectNames,\n  objectTypes,\n} from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class Selector extends Component {\n  get filteredTemplates() {\n    let templates = this._templatesFor(this.args.selectedObjectType);\n\n    // The backend currently returns the templates for legacy in-apps and legacy emails using the object type\n    // for the non-legacy objects.\n    if (this.args.selectedObjectType === objectTypes.legacyMessageInApp) {\n      templates.push(...this._templatesFor(objectTypes.inApp));\n    } else if (this.args.selectedObjectType === objectTypes.legacyMessageEmail) {\n      templates.push(...this._templatesFor(objectTypes.email));\n    }\n\n    return templates;\n  }\n\n  get humanReadableObjectName() {\n    return humanReadableObjectNames[this.args.selectedObjectType];\n  }\n\n  _templatesFor(objectType) {\n    return this.args.templates.filter(\n      template => template.contentObjects.firstObject.type === objectType,\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"o__centers-vertically nav-vertical__search u__padr__20 u__padl__20\\\">\\n  <VerticalNavigationSearch\\n    @items={{app.humanAdmins}}\\n    @placeholderText=\\\"Search message titles and senders…\\\"\\n    @searchString={{searchString}}\\n    @doSearch={{doSearch}}\\n    @resetSearch={{resetSearch}}\\n    @updatedSearch={{true}} as |item|\\n  >\\n    {{#if item.isStandardSearch}}\\n      <div class=\\\"flex items-start\\\">\\n        {{#if searchIcon}}\\n          <div class=\\\"nav__search__icon-standin-for-avatar\\\">\\n            {{ic-interface-icon searchIcon color=\\\"gray\\\" solo=true}}\\n          </div>\\n        {{/if}}\\n        <div class=\\\"flex-auto min-w-0\\\">\\n          <span class=\\\"nav__search__result__type\\\">\\n            Title contains\\n          </span>\\n          {{item.name}}\\n        </div>\\n      </div>\\n    {{else}}\\n      <div class=\\\"avatar__container o__s\\\">\\n        {{ic-avatar model=item size=\\\"s\\\" contained=true}}\\n        <div class=\\\"u__one-truncated-line\\\">\\n          <span class=\\\"nav__search__result__type\\\">\\n            From\\n          </span>\\n          {{item.name}}\\n        </div>\\n      </div>\\n    {{/if}}\\n  </VerticalNavigationSearch>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"o__centers-vertically nav-vertical__search u__padr__20 u__padl__20\\\">\\n  <VerticalNavigationSearch\\n    @items={{app.humanAdmins}}\\n    @placeholderText=\\\"Search message titles and senders…\\\"\\n    @searchString={{searchString}}\\n    @doSearch={{doSearch}}\\n    @resetSearch={{resetSearch}}\\n    @updatedSearch={{true}} as |item|\\n  >\\n    {{#if item.isStandardSearch}}\\n      <div class=\\\"flex items-start\\\">\\n        {{#if searchIcon}}\\n          <div class=\\\"nav__search__icon-standin-for-avatar\\\">\\n            {{ic-interface-icon searchIcon color=\\\"gray\\\" solo=true}}\\n          </div>\\n        {{/if}}\\n        <div class=\\\"flex-auto min-w-0\\\">\\n          <span class=\\\"nav__search__result__type\\\">\\n            Title contains\\n          </span>\\n          {{item.name}}\\n        </div>\\n      </div>\\n    {{else}}\\n      <div class=\\\"avatar__container o__s\\\">\\n        {{ic-avatar model=item size=\\\"s\\\" contained=true}}\\n        <div class=\\\"u__one-truncated-line\\\">\\n          <span class=\\\"nav__search__result__type\\\">\\n            From\\n          </span>\\n          {{item.name}}\\n        </div>\\n      </div>\\n    {{/if}}\\n  </VerticalNavigationSearch>\\n</div>\\n\",\"moduleName\":\"embercom/components/messages/vertical-message-search.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messages/vertical-message-search.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { selectFromObject } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  classNames: ['layout__box'],\n  'data-test-vertical-message-search': true,\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  type: 'auto',\n  messageIcons: {\n    auto: 'auto-message',\n    visitor_auto: 'auto-message',\n    manual: 'manual-message',\n  },\n  searchIcon: selectFromObject('messageIcons', 'type'),\n\n  searchString: computed('searchTermQueryParam', 'adminIdQueryParam', function() {\n    let searchTerm = this.searchTermQueryParam;\n    let adminIdQueryParam = this.adminIdQueryParam;\n\n    if (searchTerm) {\n      return searchTerm;\n    } else if (adminIdQueryParam) {\n      let admin = this._findAdmin(adminIdQueryParam);\n      if (admin) {\n        return `From: ${admin.get('name')}`;\n      }\n    }\n    return '';\n  }),\n\n  _findAdmin(id) {\n    let tags = this.get('app.admins') || [];\n    return tags.findBy('id', id);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if selected}}\\n  <span data-test-install-method-card-selected-icon class=\\\"f__horizontal-select-selected-icon\\\">{{ic-interface-icon 'small-check'}}</span>\\n{{/if}}\\n<div data-test-install-method-selector-card-content class=\\\"f__horizontal-select-inner u__center-item t__centered\\\">\\n  <IcIllustrativeIcon @name={{iconName}} @appearance={{iconAppearance}} />\\n  <div class=\\\"t__h3 u__mb__5 mt-2 {{if selected 'text-blue'}}\\\">{{title}}</div>\\n  <p class=\\\"t__centered u__padl__10 u__padr__10 text-gray {{if selected 'text-blue'}}\\\">\\n    {{subtitle}}\\n  </p>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if selected}}\\n  <span data-test-install-method-card-selected-icon class=\\\"f__horizontal-select-selected-icon\\\">{{ic-interface-icon 'small-check'}}</span>\\n{{/if}}\\n<div data-test-install-method-selector-card-content class=\\\"f__horizontal-select-inner u__center-item t__centered\\\">\\n  <IcIllustrativeIcon @name={{iconName}} @appearance={{iconAppearance}} />\\n  <div class=\\\"t__h3 u__mb__5 mt-2 {{if selected 'text-blue'}}\\\">{{title}}</div>\\n  <p class=\\\"t__centered u__padl__10 u__padr__10 text-gray {{if selected 'text-blue'}}\\\">\\n    {{subtitle}}\\n  </p>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-installation/install-method-selector-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-installation/install-method-selector-card.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  'data-test-install-method-selector-card': true,\n  classNames: [\n    'f__horizontal-select',\n    'onboarding__home__install-method-card__component',\n    'layout__box',\n    'o__flexes-to-1',\n  ],\n  classNameBindings: ['selected:o__selected'],\n\n  iconAppearance: computed('selected', 'hover', function() {\n    if (this.selected || this.hover) {\n      return 'standard';\n    }\n    return 'empty';\n  }),\n\n  click() {\n    this.onClick();\n  },\n\n  mouseEnter() {\n    this.set('hover', true);\n  },\n\n  mouseLeave() {\n    this.set('hover', false);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"mb-4\\\">\\n  <strong>Choose how you'd like to get set up:</strong>\\n</div>\\n\\n<div class=\\\"f__horizontal-select-container o__large layout__box o__has-columns onboarding__home__install-method-card__container {{if selectedInstallMethod 'o__selected'}}\\\">\\n  <MessengerInstallation::InstallMethodSelectorCard\\n    data-test-code-install-card-component\\n    @selected={{eq selectedInstallMethod 'code'}}\\n    @iconName='code'\\n    @onClick={{action 'setWithCode'}}\\n    @title='With code'\\n    @subtitle='Javascript, Rails'\\n  />\\n\\n  <MessengerInstallation::InstallMethodSelectorCard\\n    data-test-third-party-install-card-component\\n    @selected={{eq selectedInstallMethod 'thirdParty'}}\\n    @iconName='integration'\\n    @onClick={{action 'setWithThirdParty'}}\\n    @title='With an integration'\\n    @subtitle='Google Tag Manager, Segment, Wordpress, Shopify'\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"mb-4\\\">\\n  <strong>Choose how you'd like to get set up:</strong>\\n</div>\\n\\n<div class=\\\"f__horizontal-select-container o__large layout__box o__has-columns onboarding__home__install-method-card__container {{if selectedInstallMethod 'o__selected'}}\\\">\\n  <MessengerInstallation::InstallMethodSelectorCard\\n    data-test-code-install-card-component\\n    @selected={{eq selectedInstallMethod 'code'}}\\n    @iconName='code'\\n    @onClick={{action 'setWithCode'}}\\n    @title='With code'\\n    @subtitle='Javascript, Rails'\\n  />\\n\\n  <MessengerInstallation::InstallMethodSelectorCard\\n    data-test-third-party-install-card-component\\n    @selected={{eq selectedInstallMethod 'thirdParty'}}\\n    @iconName='integration'\\n    @onClick={{action 'setWithThirdParty'}}\\n    @title='With an integration'\\n    @subtitle='Google Tag Manager, Segment, Wordpress, Shopify'\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-installation/install-method-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-installation/install-method-selector.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport { INSTALL_TYPE } from 'embercom/lib/messenger/installation-constants';\n\nexport default Component.extend({\n  'data-test-install-method-selector-component': true,\n\n  intercomEventService: service(),\n  selectedInstallMethod: null,\n\n  baseAnalyticsMetadata: null,\n  analyticsMetadata: computed('baseAnalyticsMetadata', function() {\n    return {\n      ...this.baseAnalyticsMetadata,\n      action: 'clicked',\n    };\n  }),\n\n  sendAnalyticsEvent(object, install_method) {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.analyticsMetadata,\n      object,\n      install_method,\n    });\n  },\n\n  actions: {\n    setWithCode() {\n      this.set('selectedInstallMethod', INSTALL_TYPE.CODE);\n      this.sendAnalyticsEvent('with_code');\n    },\n\n    setWithThirdParty() {\n      this.set('selectedInstallMethod', INSTALL_TYPE.THIRD_PARTY);\n      this.sendAnalyticsEvent('with_third_party_app');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col gap-4\\\">\\n  <IcSelect\\n    @items={{this.dropdownItems}}\\n    @onSelectItem={{action \\\"setSelectedInstallMethod\\\"}}\\n    @selectedValue={{this.selectedInstallMethod}}\\n  />\\n  {{#if (and this.selectedInstallMethodExampleProjectUrl (has-feature \\\"activation-example-project\\\"))}}\\n    <IcCard @isInteractive={{true}} {{on \\\"click\\\" (action \\\"goToExampleProject\\\")}}>\\n      <div class=\\\"flex flex-row\\\">\\n        <div class=\\\"pr-4\\\">\\n          <IcIllustrativeIcon @name=\\\"github\\\" />\\n        </div>\\n        <div>\\n          <h3 class=\\\"t__h3\\\">\\n            See an example on GitHub\\n          </h3>\\n          <p class=\\\"t__light-text\\\">\\n            Learn better by example? See how this looks in a sample project.\\n          </p>\\n        </div>\\n      </div>\\n    </IcCard>\\n  {{/if}}\\n\\n  {{component\\n    this.installMethodComponentName\\n    app=this.app\\n    openMessenger=(action \\\"openMessenger\\\")\\n    baseAnalyticsMetadata=this.analyticsMetadata\\n    iOSSdkApp=this.iOSSdkApp\\n    androidSdkApp=this.androidSdkApp\\n    verified=@verified\\n  }}\\n\\n  {{yield\\n    (hash\\n      verificationKey=this.verificationKey\\n      sourceKey=this.selectedInstallMethod\\n      selectedAudience=this.selectedAudience\\n      analyticsMetadata=this.analyticsMetadata\\n    )\\n  }}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col gap-4\\\">\\n  <IcSelect\\n    @items={{this.dropdownItems}}\\n    @onSelectItem={{action \\\"setSelectedInstallMethod\\\"}}\\n    @selectedValue={{this.selectedInstallMethod}}\\n  />\\n  {{#if (and this.selectedInstallMethodExampleProjectUrl (has-feature \\\"activation-example-project\\\"))}}\\n    <IcCard @isInteractive={{true}} {{on \\\"click\\\" (action \\\"goToExampleProject\\\")}}>\\n      <div class=\\\"flex flex-row\\\">\\n        <div class=\\\"pr-4\\\">\\n          <IcIllustrativeIcon @name=\\\"github\\\" />\\n        </div>\\n        <div>\\n          <h3 class=\\\"t__h3\\\">\\n            See an example on GitHub\\n          </h3>\\n          <p class=\\\"t__light-text\\\">\\n            Learn better by example? See how this looks in a sample project.\\n          </p>\\n        </div>\\n      </div>\\n    </IcCard>\\n  {{/if}}\\n\\n  {{component\\n    this.installMethodComponentName\\n    app=this.app\\n    openMessenger=(action \\\"openMessenger\\\")\\n    baseAnalyticsMetadata=this.analyticsMetadata\\n    iOSSdkApp=this.iOSSdkApp\\n    androidSdkApp=this.androidSdkApp\\n    verified=@verified\\n  }}\\n\\n  {{yield\\n    (hash\\n      verificationKey=this.verificationKey\\n      sourceKey=this.selectedInstallMethod\\n      selectedAudience=this.selectedAudience\\n      analyticsMetadata=this.analyticsMetadata\\n    )\\n  }}\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-installation/install-method-wrapper-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-installation/install-method-wrapper-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { reads, readOnly } from '@ember/object/computed';\nimport { get, computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { VerificationKeys } from 'embercom/lib/messenger/messenger-verification';\nimport safeWindowOpen from 'embercom/lib/safe-window-open';\nimport { showNewMessageInIntercomWidget } from 'embercom/lib/intercom-widget-helper';\nimport {\n  AUDIENCE,\n  INSTALL_METHODS,\n  INSTALL_METHOD_ANALYTICS_NAMES,\n} from 'embercom/lib/messenger/installation-constants';\nimport SdkApp from 'embercom/models/sdk-app';\nimport { task } from 'ember-concurrency';\n\nconst BASE_INSTALL_METHOD_COMPONENT_PATH = 'messenger-installation/install-methods/';\n\nconst EXAMPLE_PROJECT_URLS = {\n  [AUDIENCE.LOGGED_OUT]: {\n    [INSTALL_METHODS.JAVASCRIPT.value]:\n      'https://github.com/intercom/example-basic-javascript-install/tree/visitor',\n    [INSTALL_METHODS.SINGLE_PAGE.value]:\n      'https://github.com/intercom/example-single-page-app-install/tree/visitor-react-router',\n  },\n  [AUDIENCE.LOGGED_IN]: {\n    [INSTALL_METHODS.JAVASCRIPT.value]:\n      'https://github.com/intercom/example-basic-javascript-install/tree/logged-in',\n    [INSTALL_METHODS.SINGLE_PAGE.value]:\n      'https://github.com/intercom/example-single-page-app-install/tree/logged-in-react-router',\n  },\n};\n\nexport default Component.extend({\n  intercomEventService: service(),\n  store: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n\n  iOSSdkApp: null,\n  androidSdkApp: null,\n\n  dropdownItems: null,\n  defaultInstallMethod: readOnly('dropdownItems.firstObject.value'),\n\n  selectedAudience: null,\n  selectedInstallMethod: reads('defaultInstallMethod'),\n\n  selectedInstallMethodText: computed(\n    'selectedInstallMethod',\n    'dropdownItems.@each.{value,text}',\n    function() {\n      return this.dropdownItems.findBy('value', this.selectedInstallMethod).text;\n    },\n  ),\n\n  selectedInstallMethodExampleProjectUrl: computed(\n    'selectedAudience',\n    'selectedInstallMethod',\n    function() {\n      return get(EXAMPLE_PROJECT_URLS, `${this.selectedAudience}.${this.selectedInstallMethod}`);\n    },\n  ),\n\n  verificationKey: computed('selectedAudience', function() {\n    switch (this.selectedAudience) {\n      case AUDIENCE.LOGGED_OUT:\n        return VerificationKeys.LOGGED_OUT;\n      case AUDIENCE.LOGGED_IN:\n        return VerificationKeys.LOGGED_IN;\n      default:\n        return VerificationKeys.ANY_PING;\n    }\n  }),\n\n  installMethodComponentName: computed(\n    'selectedAudience',\n    'selectedCodeInstallType',\n    'selectedInstallMethod',\n    function() {\n      let name = BASE_INSTALL_METHOD_COMPONENT_PATH;\n      if (this.selectedCodeInstallType && this.selectedAudience) {\n        name = name.concat(`${this.selectedAudience}/`);\n      }\n      name = name.concat(`${this.selectedInstallMethod}-component`);\n      return name;\n    },\n  ),\n\n  baseAnalyticsMetadata: null,\n  analyticsMetadata: computed('baseAnalyticsMetadata', 'selectedInstallMethod', function() {\n    return {\n      ...this.baseAnalyticsMetadata,\n      context: INSTALL_METHOD_ANALYTICS_NAMES[this.selectedInstallMethod],\n    };\n  }),\n\n  didUpdateAttrs() {\n    this._super(...arguments);\n    this.set('selectedInstallMethod', this.defaultInstallMethod);\n  },\n\n  setIOSSdkApp: task(function*() {\n    if (!this.iOSSdkApp) {\n      let sdkApp = yield SdkApp.findOrCreateForPlatform('iOS');\n      this.set('iOSSdkApp', sdkApp);\n    }\n  }),\n\n  setAndroidSdkApp: task(function*() {\n    if (!this.androidSdkApp) {\n      let sdkApp = yield SdkApp.findOrCreateForPlatform('Android');\n      this.set('androidSdkApp', sdkApp);\n    }\n  }),\n\n  setSdkAppForInstallMethod(method) {\n    let { IOS, ANDROID, CORDOVA } = INSTALL_METHODS;\n    if ([IOS.value, CORDOVA.value].includes(method)) {\n      this.setIOSSdkApp.perform();\n    }\n    if ([ANDROID.value, CORDOVA.value].includes(method)) {\n      this.setAndroidSdkApp.perform();\n    }\n  },\n\n  sendAnalyticsEvent(analyticsMetadata) {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.analyticsMetadata,\n      ...analyticsMetadata,\n    });\n  },\n\n  actions: {\n    goToExampleProject() {\n      this.sendAnalyticsEvent({\n        action: 'clicked',\n        object: 'example_project_link',\n        ...this.analyticsMetadata,\n      });\n      safeWindowOpen(this.selectedInstallMethodExampleProjectUrl, '_blank');\n    },\n\n    setSelectedInstallMethod(method) {\n      this.set('selectedInstallMethod', method);\n      this.setSdkAppForInstallMethod(method);\n    },\n\n    openMessenger() {\n      this.sendAnalyticsEvent({\n        action: 'clicked',\n        object: 'contact_us',\n      });\n\n      let installMethod = this.selectedInstallMethodText;\n      showNewMessageInIntercomWidget(\n        `Hey, I installed my Messenger with the ${installMethod} method but don't see it when I open my site/app.`,\n      );\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport documentationMetadata from 'embercom/helpers/documentation-metadata';\n\nlet BaseInstallMethodComponent = Component.extend({\n  intercomEventService: service(),\n\n  baseAnalyticsMetadata: null,\n  configurationLinkMetadata: documentationMetadata('configuration'),\n  customizeMessengerLinkMetadata: documentationMetadata('customize_messenger'),\n  installationLinkMetadata: documentationMetadata('installation'),\n  registerUsersLinkMetadata: documentationMetadata('register_users'),\n  troubleshootingLinkMetadata: documentationMetadata('troubleshooting'),\n  userIdsLinkMetadata: documentationMetadata('user_ids'),\n\n  sendAnalyticsEvent(analyticsMetadata) {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.baseAnalyticsMetadata,\n      ...analyticsMetadata,\n    });\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.sendAnalyticsEvent({\n      action: 'viewed',\n      object: 'installation_method',\n    });\n  },\n});\n\nexport default BaseInstallMethodComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<ol data-test-google-tag-manager-component class=\\\"onboarding__home__list\\\">\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Google Tag Manager is the easiest way to install the Messenger. Start by copying your workspace ID.\\n    <br>\\n    <IcButton\\n      class=\\\"mt-4\\\"\\n      @type=\\\"primary\\\"\\n      @icon=\\\"duplicate\\\"\\n      @label=\\\"Copy workspace ID\\\"\\n      {{copy-to-clipboard\\n        text=@app.id\\n        onSuccess=(track-analytics-event action=\\\"copied\\\" object=\\\"workplace_id\\\")\\n      }}\\n    />\\n  </li>\\n\\n  <li class=\\\"mt-6 onboarding__home__list-item\\\">\\n    Go to Google Tag Manager and\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/en/articles/2631808-install-intercom-with-google-tag-manager\\\"\\n      @title=\\\"follow these instructions\\\"\\n      @linkStyling=\\\"inline\\\"\\n      @type=\\\"article\\\"\\n      data-track-analytics-event-object=\\\"documentation_link\\\"\\n      data-track-analytics-event-data-property-name=\\\"googleTagManagerInstallationLinkMetadata\\\"\\n    />\\n  </li>\\n\\n  <li class=\\\"mt-6 onboarding__home__list-item\\\">\\n    Open your website or app. Your Messenger should appear in the bottom right corner.\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Don’t see your Messenger? Check our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/the-intercom-messenger/why-cant-i-see-the-messenger\\\"\\n        @title=\\\"troubleshooting doc\\\"\\n        @linkStyling=\\\"inline\\\"\\n        @type=\\\"article\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"troubleshootingLinkMetadata\\\"\\n      />\\n      or <a {{on 'click' @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <li class=\\\"mt-6 onboarding__home__list-item\\\">\\n      Make sure your Messenger is sending data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\", {\"contents\":\"<ol data-test-google-tag-manager-component class=\\\"onboarding__home__list\\\">\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Google Tag Manager is the easiest way to install the Messenger. Start by copying your workspace ID.\\n    <br>\\n    <IcButton\\n      class=\\\"mt-4\\\"\\n      @type=\\\"primary\\\"\\n      @icon=\\\"duplicate\\\"\\n      @label=\\\"Copy workspace ID\\\"\\n      {{copy-to-clipboard\\n        text=@app.id\\n        onSuccess=(track-analytics-event action=\\\"copied\\\" object=\\\"workplace_id\\\")\\n      }}\\n    />\\n  </li>\\n\\n  <li class=\\\"mt-6 onboarding__home__list-item\\\">\\n    Go to Google Tag Manager and\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/en/articles/2631808-install-intercom-with-google-tag-manager\\\"\\n      @title=\\\"follow these instructions\\\"\\n      @linkStyling=\\\"inline\\\"\\n      @type=\\\"article\\\"\\n      data-track-analytics-event-object=\\\"documentation_link\\\"\\n      data-track-analytics-event-data-property-name=\\\"googleTagManagerInstallationLinkMetadata\\\"\\n    />\\n  </li>\\n\\n  <li class=\\\"mt-6 onboarding__home__list-item\\\">\\n    Open your website or app. Your Messenger should appear in the bottom right corner.\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Don’t see your Messenger? Check our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/the-intercom-messenger/why-cant-i-see-the-messenger\\\"\\n        @title=\\\"troubleshooting doc\\\"\\n        @linkStyling=\\\"inline\\\"\\n        @type=\\\"article\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"troubleshootingLinkMetadata\\\"\\n      />\\n      or <a {{on 'click' @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <li class=\\\"mt-6 onboarding__home__list-item\\\">\\n      Make sure your Messenger is sending data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\",\"moduleName\":\"embercom/components/messenger-installation/install-methods/google-tag-manager-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-installation/install-methods/google-tag-manager-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseInstallMethodComponent from 'embercom/components/messenger-installation/install-methods/base-install-method-component';\nimport documentationMetadata from 'embercom/helpers/documentation-metadata';\n\nexport default BaseInstallMethodComponent.extend({\n  googleTagManagerInstallationLinkMetadata: documentationMetadata('googleTagManagerInstallation'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ol data-test-android-component class=\\\"onboarding__home__list\\\">\\n  <div>The Intercom Android SDK supports API 15 and above.</div>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Add Intercom to your dependencies in your <code class=\\\"messenger-installation__messenger-install__inline-code\\\">build.gradle</code> file.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"gradle\\\">\\n      compile 'io.intercom.android:intercom-sdk-base:5.+'\\n    </InstallationInstructions::CodeComponent>\\n\\n    <div class=\\\"h-2\\\"></div>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Initialize Intercom in the <code class=\\\"messenger-installation__messenger-install__inline-code\\\">onCreate()</code> method of your application class.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language={{language}}>\\n      Intercom.initialize(this, \\\"{{androidSdkApp.api_key}}\\\", \\\"{{app.id}}\\\");\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Register unidentified users in the <code class=\\\"messenger-installation__messenger-install__inline-code\\\">onCreate()</code> method.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language={{language}}>\\n      Intercom.client().registerUnidentifiedUser();\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Register identified users when they log in. Replace the placeholder value with your own unique user ID variable.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language={{language}}>\\n      Registration registration = Registration.create().withUserId(\\\"123456\\\")\\n      Intercom.client().registerIdentifiedUser(registration);\\n    </InstallationInstructions::CodeComponent>\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <p class=\\\"t__light-text\\\">\\n      See our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/installing-intercom/docs/android-configuration\\\"\\n        @title=\\\"developer documentation\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"configurationLinkMetadata\\\"\\n      />\\n      on how to update standard attributes, such as name, and send custom data.\\n    </p>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Display the standard launcher in your app by calling the code below.\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language={{language}}>\\n      Intercom.client().setLauncherVisibility(Visibility.VISIBLE);\\n    </InstallationInstructions::CodeComponent>\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <p class=\\\"t__light-text\\\">\\n      See our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/installing-intercom/docs/android-configuration\\\"\\n        @title=\\\"developer documentation\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"configurationLinkMetadata\\\"\\n     />\\n     on how to customize or hide the launcher.\\n    </p>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Once you’ve completed your changes, open your app on an Android device and log in. Then tap the launcher to show the Messenger.\\n\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Need help? See our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/installing-intercom/docs/intercom-for-android\\\"\\n        @title=\\\"Android documentation\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"installationLinkMetadata\\\"\\n      />\\n      or <a {{action @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\" data-test-verification-step>\\n      Make sure your Messenger is sending user data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ol data-test-android-component class=\\\"onboarding__home__list\\\">\\n  <div>The Intercom Android SDK supports API 15 and above.</div>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Add Intercom to your dependencies in your <code class=\\\"messenger-installation__messenger-install__inline-code\\\">build.gradle</code> file.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"gradle\\\">\\n      compile 'io.intercom.android:intercom-sdk-base:5.+'\\n    </InstallationInstructions::CodeComponent>\\n\\n    <div class=\\\"h-2\\\"></div>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Initialize Intercom in the <code class=\\\"messenger-installation__messenger-install__inline-code\\\">onCreate()</code> method of your application class.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language={{language}}>\\n      Intercom.initialize(this, \\\"{{androidSdkApp.api_key}}\\\", \\\"{{app.id}}\\\");\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Register unidentified users in the <code class=\\\"messenger-installation__messenger-install__inline-code\\\">onCreate()</code> method.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language={{language}}>\\n      Intercom.client().registerUnidentifiedUser();\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Register identified users when they log in. Replace the placeholder value with your own unique user ID variable.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language={{language}}>\\n      Registration registration = Registration.create().withUserId(\\\"123456\\\")\\n      Intercom.client().registerIdentifiedUser(registration);\\n    </InstallationInstructions::CodeComponent>\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <p class=\\\"t__light-text\\\">\\n      See our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/installing-intercom/docs/android-configuration\\\"\\n        @title=\\\"developer documentation\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"configurationLinkMetadata\\\"\\n      />\\n      on how to update standard attributes, such as name, and send custom data.\\n    </p>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Display the standard launcher in your app by calling the code below.\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language={{language}}>\\n      Intercom.client().setLauncherVisibility(Visibility.VISIBLE);\\n    </InstallationInstructions::CodeComponent>\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <p class=\\\"t__light-text\\\">\\n      See our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/installing-intercom/docs/android-configuration\\\"\\n        @title=\\\"developer documentation\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"configurationLinkMetadata\\\"\\n     />\\n     on how to customize or hide the launcher.\\n    </p>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Once you’ve completed your changes, open your app on an Android device and log in. Then tap the launcher to show the Messenger.\\n\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Need help? See our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/installing-intercom/docs/intercom-for-android\\\"\\n        @title=\\\"Android documentation\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"installationLinkMetadata\\\"\\n      />\\n      or <a {{action @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\" data-test-verification-step>\\n      Make sure your Messenger is sending user data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\",\"moduleName\":\"embercom/components/messenger-installation/install-methods/logged-in/android-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-installation/install-methods/logged-in/android-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseInstallMethodComponent from 'embercom/components/messenger-installation/install-methods/base-install-method-component';\n\nexport default BaseInstallMethodComponent.extend({\n  language: 'java',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ol class=\\\"onboarding__home__list\\\">\\n  <div>\\n    The Intercom iOS SDK supports iOS 8, 9, 10 &amp; 11. The Intercom Android SDK supports API 15 and above. If you’re using\\n    <a data-track-analytics-event-object=\\\"documentation_link\\\"\\n       data-track-analytics-event-data-property-name=\\\"requirementsLinkMetadata\\\"\\n       href=\\\"https://cordova.apache.org/docs/en/latest/guide/platforms/android/#requirements-and-support\\\"\\n       rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\">Cordova/PhoneGap on Android</a>, make sure you’ve set up the\\n    <a data-track-analytics-event-object=\\\"documentation_link\\\"\\n       data-track-analytics-event-data-property-name=\\\"androidSupportLibraryLinkMetadata\\\"\\n       href=\\\"https://developer.android.com/topic/libraries/support-library/setup#download\\\"\\n       rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\">Android Support Library</a>.\\n  </div>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <Onboarding::Home::LanguageSelector\\n    @items={{options}}\\n    @selectedValue={{selectedValue}}\\n    @labelText=\\\"Framework:\\\"\\n  />\\n\\n  <div class=\\\"h-5\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    {{#if (eq selectedValue 'cordova')}}\\n      Add Intercom to your Cordova app.\\n\\n      <div class=\\\"h-2\\\"></div>\\n\\n      <InstallationInstructions::CodeComponent @language=\\\"bash\\\">\\n        cordova plugin add cordova-plugin-intercom\\n      </InstallationInstructions::CodeComponent>\\n    {{else if (eq selectedValue 'phonegap')}}\\n      Add Intercom to your <code class=\\\"messenger-installation__messenger-install__inline-code\\\">config.xml</code> file in your PhoneGap app.\\n\\n      <div class=\\\"h-2\\\"></div>\\n\\n      <InstallationInstructions::CodeComponent @language=\\\"xml\\\">\\n        <plugin name=\\\"cordova-plugin-intercom\\\" version=\\\"~6.2.0\\\" />\\n      </InstallationInstructions::CodeComponent>\\n    {{/if}}\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Initialize Intercom by setting your app ID and Intercom mobile API keys in your <code class=\\\"messenger-installation__messenger-install__inline-code\\\">config.xml</code>.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"xml\\\">\\n      <preference name=\\\"intercom-app-id\\\" value=\\\"{{app.id}}\\\" />\\n      <preference name=\\\"intercom-ios-api-key\\\" value=\\\"{{iOSSdkApp.api_key}}\\\" />\\n      <preference name=\\\"intercom-android-api-key\\\" value=\\\"{{androidSdkApp.api_key}}\\\" />\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Register unidentified users in the <code class=\\\"messenger-installation__messenger-install__inline-code\\\">onDeviceReady</code> function.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n      onDeviceReady: function() {\\n        intercom.registerUnidentifiedUser();\\n      }\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Register identified users when they log in. Replace the placeholder value with your own unique user ID variable.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n      intercom.registerIdentifiedUser({userId: \\\"123456\\\"});\\n    </InstallationInstructions::CodeComponent>\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <p class=\\\"t__light-text\\\">\\n      You can also register identified users with an\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/installing-intercom/docs/cordova-phonegap-installation#section-register-your-logged-in-users\\\"\\n        @title=\\\"email attribute\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"registerUsersLinkMetadata\\\"\\n      />.\\n\\n      See our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/installing-intercom/docs/cordova-phonegap-configuration\\\"\\n        @title=\\\"developer documentation\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"configurationLinkMetadata\\\"\\n      />\\n      on how to update standard attributes, such as name, and send custom data.\\n    </p>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Display the standard launcher in your app by calling the code below.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n      intercom.setLauncherVisibility('VISIBLE');\\n    </InstallationInstructions::CodeComponent>\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <p class=\\\"t__light-text\\\">\\n      See our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/docs/cordova-phonegap-configuration#section-customize-the-intercom-messenger\\\"\\n        @title=\\\"developer documentation\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"customizeMessengerLinkMetadata\\\"\\n      />\\n      on how to customize or hide the launcher.\\n    </p>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Once you’ve completed your changes, open your app on a mobile device and log in. Then tap the launcher to show the Messenger.\\n\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Need help? See our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/installing-intercom/docs/intercom-for-cordova-phonegap\\\"\\n        @title=\\\"Cordova/PhoneGap documentation\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"installationLinkMetadata\\\"\\n      />\\n      or <a {{action @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\" data-test-verification-step>\\n      Make sure your Messenger is sending user data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ol class=\\\"onboarding__home__list\\\">\\n  <div>\\n    The Intercom iOS SDK supports iOS 8, 9, 10 &amp; 11. The Intercom Android SDK supports API 15 and above. If you’re using\\n    <a data-track-analytics-event-object=\\\"documentation_link\\\"\\n       data-track-analytics-event-data-property-name=\\\"requirementsLinkMetadata\\\"\\n       href=\\\"https://cordova.apache.org/docs/en/latest/guide/platforms/android/#requirements-and-support\\\"\\n       rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\">Cordova/PhoneGap on Android</a>, make sure you’ve set up the\\n    <a data-track-analytics-event-object=\\\"documentation_link\\\"\\n       data-track-analytics-event-data-property-name=\\\"androidSupportLibraryLinkMetadata\\\"\\n       href=\\\"https://developer.android.com/topic/libraries/support-library/setup#download\\\"\\n       rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\">Android Support Library</a>.\\n  </div>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <Onboarding::Home::LanguageSelector\\n    @items={{options}}\\n    @selectedValue={{selectedValue}}\\n    @labelText=\\\"Framework:\\\"\\n  />\\n\\n  <div class=\\\"h-5\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    {{#if (eq selectedValue 'cordova')}}\\n      Add Intercom to your Cordova app.\\n\\n      <div class=\\\"h-2\\\"></div>\\n\\n      <InstallationInstructions::CodeComponent @language=\\\"bash\\\">\\n        cordova plugin add cordova-plugin-intercom\\n      </InstallationInstructions::CodeComponent>\\n    {{else if (eq selectedValue 'phonegap')}}\\n      Add Intercom to your <code class=\\\"messenger-installation__messenger-install__inline-code\\\">config.xml</code> file in your PhoneGap app.\\n\\n      <div class=\\\"h-2\\\"></div>\\n\\n      <InstallationInstructions::CodeComponent @language=\\\"xml\\\">\\n        <plugin name=\\\"cordova-plugin-intercom\\\" version=\\\"~6.2.0\\\" />\\n      </InstallationInstructions::CodeComponent>\\n    {{/if}}\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Initialize Intercom by setting your app ID and Intercom mobile API keys in your <code class=\\\"messenger-installation__messenger-install__inline-code\\\">config.xml</code>.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"xml\\\">\\n      <preference name=\\\"intercom-app-id\\\" value=\\\"{{app.id}}\\\" />\\n      <preference name=\\\"intercom-ios-api-key\\\" value=\\\"{{iOSSdkApp.api_key}}\\\" />\\n      <preference name=\\\"intercom-android-api-key\\\" value=\\\"{{androidSdkApp.api_key}}\\\" />\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Register unidentified users in the <code class=\\\"messenger-installation__messenger-install__inline-code\\\">onDeviceReady</code> function.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n      onDeviceReady: function() {\\n        intercom.registerUnidentifiedUser();\\n      }\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Register identified users when they log in. Replace the placeholder value with your own unique user ID variable.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n      intercom.registerIdentifiedUser({userId: \\\"123456\\\"});\\n    </InstallationInstructions::CodeComponent>\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <p class=\\\"t__light-text\\\">\\n      You can also register identified users with an\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/installing-intercom/docs/cordova-phonegap-installation#section-register-your-logged-in-users\\\"\\n        @title=\\\"email attribute\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"registerUsersLinkMetadata\\\"\\n      />.\\n\\n      See our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/installing-intercom/docs/cordova-phonegap-configuration\\\"\\n        @title=\\\"developer documentation\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"configurationLinkMetadata\\\"\\n      />\\n      on how to update standard attributes, such as name, and send custom data.\\n    </p>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Display the standard launcher in your app by calling the code below.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n      intercom.setLauncherVisibility('VISIBLE');\\n    </InstallationInstructions::CodeComponent>\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <p class=\\\"t__light-text\\\">\\n      See our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/docs/cordova-phonegap-configuration#section-customize-the-intercom-messenger\\\"\\n        @title=\\\"developer documentation\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"customizeMessengerLinkMetadata\\\"\\n      />\\n      on how to customize or hide the launcher.\\n    </p>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Once you’ve completed your changes, open your app on a mobile device and log in. Then tap the launcher to show the Messenger.\\n\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Need help? See our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/installing-intercom/docs/intercom-for-cordova-phonegap\\\"\\n        @title=\\\"Cordova/PhoneGap documentation\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"installationLinkMetadata\\\"\\n      />\\n      or <a {{action @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\" data-test-verification-step>\\n      Make sure your Messenger is sending user data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\",\"moduleName\":\"embercom/components/messenger-installation/install-methods/logged-in/cordova-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-installation/install-methods/logged-in/cordova-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseInstallMethodComponent from 'embercom/components/messenger-installation/install-methods/base-install-method-component';\nimport { reads } from '@ember/object/computed';\nimport documentationMetadata from 'embercom/helpers/documentation-metadata';\n\nexport default BaseInstallMethodComponent.extend({\n  options: [\n    { text: 'Cordova', value: 'cordova' },\n    { text: 'PhoneGap', value: 'phonegap' },\n  ],\n  selectedValue: reads('options.firstObject.value'),\n  androidSupportLibraryLinkMetadata: documentationMetadata('android_support_library'),\n  requirementsLinkMetadata: documentationMetadata('requirements'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ol class=\\\"onboarding__home__list\\\">\\n  <div>\\n    Intercom iOS SDK supports iOS 8, 9, 10 &amp; 11. Use Cocoapods to install Intercom in your iOS project. To use Carthage or install Intercom manually, see our\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://developers.intercom.com/installing-intercom/docs/intercom-for-ios\\\"\\n      @title=\\\"iOS documentation\\\"\\n      @type=\\\"developer\\\"\\n      @linkStyling=\\\"inline\\\"\\n      data-track-analytics-event-object=\\\"documentation_link\\\"\\n      data-track-analytics-event-data-property-name=\\\"installationLinkMetadata\\\"\\n    />.\\n  </div>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <Onboarding::Home::LanguageSelector @items={{options}} @selectedValue={{language}} />\\n\\n  <div class=\\\"h-5\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Add Intercom to your iOS project in Xcode.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"ruby\\\">\\n      target :YourTargetName do pod 'Intercom' end\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Add Intercom to your <code class=\\\"messenger-installation__messenger-install__inline-code\\\">AppDelegate</code> file.\\n\\n    <div class=\\\"h-2\\\"></div>\\n    <InstallationInstructions::CodeComponent @language={{language}}>\\n      @import Intercom\\n    </InstallationInstructions::CodeComponent>\\n\\n    <div class=\\\"h-2\\\"></div>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li data-test-set-api-key class=\\\"onboarding__home__list-item\\\">\\n    Initialize Intercom in the <code class=\\\"messenger-installation__messenger-install__inline-code\\\">didFinishLaunchingWithOptions</code> method.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    {{#if exampleIsSwift}}\\n      <InstallationInstructions::CodeComponent @language={{language}}>\\n        // Initialize Intercom\\n        Intercom.setApiKey(\\\"{{iOSSdkApp.api_key}}\\\", forAppId:\\\"{{app.id}}\\\")\\n      </InstallationInstructions::CodeComponent>\\n    {{else}}\\n      <InstallationInstructions::CodeComponent @language={{language}}>\\n        // Initialize Intercom\\n        [Intercom setApiKey:@\\\"{{iOSSdkApp.api_key}}\\\" forAppId:@\\\"{{app.id}}\\\"];\\n      </InstallationInstructions::CodeComponent>\\n    {{/if}}\\n\\n    <div class=\\\"h-2\\\"></div>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Register unidentified users.\\n    <div class=\\\"h-2\\\"></div>\\n    {{#if exampleIsSwift}}\\n      <InstallationInstructions::CodeComponent @language={{language}}>\\n        // Register an unidentified user with Intercom\\n        Intercom.registerUnidentifiedUser()\\n      </InstallationInstructions::CodeComponent>\\n    {{else}}\\n      <InstallationInstructions::CodeComponent @language={{language}}>\\n        // Register an unidentified user with Intercom\\n        [Intercom registerUnidentifiedUser];\\n      </InstallationInstructions::CodeComponent>\\n    {{/if}}\\n\\n    <div class=\\\"h-2\\\"></div>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Register identified users when they log in. Replace the placeholder value with your own unique user ID variable.\\n    <div class=\\\"h-2\\\"></div>\\n    {{#if exampleIsSwift}}\\n      <InstallationInstructions::CodeComponent @language={{language}}>\\n        // Register an identified user with Intercom\\n        Intercom.registerUser(withUserId: \\\"&lt;#123456#&gt;\\\")\\n      </InstallationInstructions::CodeComponent>\\n    {{else}}\\n      <InstallationInstructions::CodeComponent @language={{language}}>\\n        // Register an identifed user with Intercom\\n        [Intercom registerUserWithUserId:@\\\"&lt;#123456#&gt;\\\"];\\n      </InstallationInstructions::CodeComponent>\\n    {{/if}}\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <p class=\\\"t__light-text\\\">\\n      You can also register identified users with an\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/installing-intercom/docs/ios-installation#section-register-your-logged-in-users\\\"\\n        @title=\\\"email attribute\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"registerUsersLinkMetadata\\\"\\n      />.\\n      See our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/installing-intercom/docs/ios-configuration\\\"\\n        @title=\\\"developer documentation\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"configurationLinkMetadata\\\"\\n     />\\n     on how to update standard attributes, such as name, and send custom data.\\n    </p>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Display the standard launcher in your app by calling the code below.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    {{#if exampleIsSwift}}\\n      <InstallationInstructions::CodeComponent @language={{language}}>\\n        Intercom.setLauncherVisible(true);\\n      </InstallationInstructions::CodeComponent>\\n    {{else}}\\n      <InstallationInstructions::CodeComponent @language={{language}}>\\n        [Intercom setLauncherVisible:YES];\\n      </InstallationInstructions::CodeComponent>\\n    {{/if}}\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <p class=\\\"t__light-text\\\">\\n      See our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/installing-intercom/docs/ios-configuration#section-customize-the-intercom-messenger\\\"\\n        @title=\\\"developer documentation\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"customizeMessengerLinkMetadata\\\"\\n      />\\n      on how to customize or hide the launcher.\\n    </p>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Add a \\\"Privacy - Photo Library Usage Description\\\" entry to your <code class=\\\"messenger-installation__messenger-install__inline-code\\\">Info.plist</code>. This is\\n    <a data-track-analytics-event-object=\\\"documentation_link\\\"\\n       data-track-analytics-event-data-property-name=\\\"infoPlistLinkMetadata\\\"\\n       href=\\\"https://developer.apple.com/library/content/qa/qa1937/_index.html\\\"\\n       rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\">required by Apple</a> and gives your users permission to upload images in your Messenger.\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Once you’ve completed your changes, open your app on an iOS device and log in. Then tap the launcher to show the Messenger.\\n\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Need help? See our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/installing-intercom/docs/intercom-for-ios\\\"\\n        @title=\\\"iOS documentation\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"installationLinkMetadata\\\"\\n      />\\n      or <a {{action @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\" data-test-verification-step>\\n      Make sure your Messenger is sending user data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ol class=\\\"onboarding__home__list\\\">\\n  <div>\\n    Intercom iOS SDK supports iOS 8, 9, 10 &amp; 11. Use Cocoapods to install Intercom in your iOS project. To use Carthage or install Intercom manually, see our\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://developers.intercom.com/installing-intercom/docs/intercom-for-ios\\\"\\n      @title=\\\"iOS documentation\\\"\\n      @type=\\\"developer\\\"\\n      @linkStyling=\\\"inline\\\"\\n      data-track-analytics-event-object=\\\"documentation_link\\\"\\n      data-track-analytics-event-data-property-name=\\\"installationLinkMetadata\\\"\\n    />.\\n  </div>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <Onboarding::Home::LanguageSelector @items={{options}} @selectedValue={{language}} />\\n\\n  <div class=\\\"h-5\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Add Intercom to your iOS project in Xcode.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"ruby\\\">\\n      target :YourTargetName do pod 'Intercom' end\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Add Intercom to your <code class=\\\"messenger-installation__messenger-install__inline-code\\\">AppDelegate</code> file.\\n\\n    <div class=\\\"h-2\\\"></div>\\n    <InstallationInstructions::CodeComponent @language={{language}}>\\n      @import Intercom\\n    </InstallationInstructions::CodeComponent>\\n\\n    <div class=\\\"h-2\\\"></div>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li data-test-set-api-key class=\\\"onboarding__home__list-item\\\">\\n    Initialize Intercom in the <code class=\\\"messenger-installation__messenger-install__inline-code\\\">didFinishLaunchingWithOptions</code> method.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    {{#if exampleIsSwift}}\\n      <InstallationInstructions::CodeComponent @language={{language}}>\\n        // Initialize Intercom\\n        Intercom.setApiKey(\\\"{{iOSSdkApp.api_key}}\\\", forAppId:\\\"{{app.id}}\\\")\\n      </InstallationInstructions::CodeComponent>\\n    {{else}}\\n      <InstallationInstructions::CodeComponent @language={{language}}>\\n        // Initialize Intercom\\n        [Intercom setApiKey:@\\\"{{iOSSdkApp.api_key}}\\\" forAppId:@\\\"{{app.id}}\\\"];\\n      </InstallationInstructions::CodeComponent>\\n    {{/if}}\\n\\n    <div class=\\\"h-2\\\"></div>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Register unidentified users.\\n    <div class=\\\"h-2\\\"></div>\\n    {{#if exampleIsSwift}}\\n      <InstallationInstructions::CodeComponent @language={{language}}>\\n        // Register an unidentified user with Intercom\\n        Intercom.registerUnidentifiedUser()\\n      </InstallationInstructions::CodeComponent>\\n    {{else}}\\n      <InstallationInstructions::CodeComponent @language={{language}}>\\n        // Register an unidentified user with Intercom\\n        [Intercom registerUnidentifiedUser];\\n      </InstallationInstructions::CodeComponent>\\n    {{/if}}\\n\\n    <div class=\\\"h-2\\\"></div>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Register identified users when they log in. Replace the placeholder value with your own unique user ID variable.\\n    <div class=\\\"h-2\\\"></div>\\n    {{#if exampleIsSwift}}\\n      <InstallationInstructions::CodeComponent @language={{language}}>\\n        // Register an identified user with Intercom\\n        Intercom.registerUser(withUserId: \\\"&lt;#123456#&gt;\\\")\\n      </InstallationInstructions::CodeComponent>\\n    {{else}}\\n      <InstallationInstructions::CodeComponent @language={{language}}>\\n        // Register an identifed user with Intercom\\n        [Intercom registerUserWithUserId:@\\\"&lt;#123456#&gt;\\\"];\\n      </InstallationInstructions::CodeComponent>\\n    {{/if}}\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <p class=\\\"t__light-text\\\">\\n      You can also register identified users with an\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/installing-intercom/docs/ios-installation#section-register-your-logged-in-users\\\"\\n        @title=\\\"email attribute\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"registerUsersLinkMetadata\\\"\\n      />.\\n      See our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/installing-intercom/docs/ios-configuration\\\"\\n        @title=\\\"developer documentation\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"configurationLinkMetadata\\\"\\n     />\\n     on how to update standard attributes, such as name, and send custom data.\\n    </p>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Display the standard launcher in your app by calling the code below.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    {{#if exampleIsSwift}}\\n      <InstallationInstructions::CodeComponent @language={{language}}>\\n        Intercom.setLauncherVisible(true);\\n      </InstallationInstructions::CodeComponent>\\n    {{else}}\\n      <InstallationInstructions::CodeComponent @language={{language}}>\\n        [Intercom setLauncherVisible:YES];\\n      </InstallationInstructions::CodeComponent>\\n    {{/if}}\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <p class=\\\"t__light-text\\\">\\n      See our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/installing-intercom/docs/ios-configuration#section-customize-the-intercom-messenger\\\"\\n        @title=\\\"developer documentation\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"customizeMessengerLinkMetadata\\\"\\n      />\\n      on how to customize or hide the launcher.\\n    </p>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Add a \\\"Privacy - Photo Library Usage Description\\\" entry to your <code class=\\\"messenger-installation__messenger-install__inline-code\\\">Info.plist</code>. This is\\n    <a data-track-analytics-event-object=\\\"documentation_link\\\"\\n       data-track-analytics-event-data-property-name=\\\"infoPlistLinkMetadata\\\"\\n       href=\\\"https://developer.apple.com/library/content/qa/qa1937/_index.html\\\"\\n       rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\">required by Apple</a> and gives your users permission to upload images in your Messenger.\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Once you’ve completed your changes, open your app on an iOS device and log in. Then tap the launcher to show the Messenger.\\n\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Need help? See our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://developers.intercom.com/installing-intercom/docs/intercom-for-ios\\\"\\n        @title=\\\"iOS documentation\\\"\\n        @type=\\\"developer\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"installationLinkMetadata\\\"\\n      />\\n      or <a {{action @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\" data-test-verification-step>\\n      Make sure your Messenger is sending user data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\",\"moduleName\":\"embercom/components/messenger-installation/install-methods/logged-in/ios-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-installation/install-methods/logged-in/ios-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseInstallMethodComponent from 'embercom/components/messenger-installation/install-methods/base-install-method-component';\nimport { equal } from '@ember/object/computed';\nimport documentationMetadata from 'embercom/helpers/documentation-metadata';\n\nexport default BaseInstallMethodComponent.extend({\n  language: 'swift',\n  exampleIsSwift: equal('language', 'swift'),\n  options: [\n    { text: 'Swift', value: 'swift' },\n    { text: 'Objective-C', value: 'objectivec' },\n  ],\n  infoPlistLinkMetadata: documentationMetadata('info_plist'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ol data-test-logged-in-javascript-component class=\\\"onboarding__home__list\\\">\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    In the snippet below, replace the example variables (highlighted in red) in the <code class=\\\"start__inline-code\\\">window.intercomSettings</code> object with your own variables for user data.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <Onboarding::Home::LanguageSelector\\n      @items={{codeOptions}}\\n      @selectedValue={{serverSideLanguage}}\\n      @labelText=\\\"Show examples for:\\\"\\n    />\\n\\n    <div class='h-5'></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n      <InstallationInstructions::WebInstallationSnippetComponent\\n        @installationIsAnonymous={{false}}\\n        @appIdCode={{app.id}}\\n        @language={{serverSideLanguage}}\\n      />\\n    </InstallationInstructions::CodeComponent>\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <p class=\\\"t__light-text\\\">\\n      You can also send unique\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/your-users-and-leads-data-in-intercom/what-is-user_id-and-why-would-i-want-to-use-it\\\"\\n        @title=\\\"user ids\\\"\\n        @type=\\\"article\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"userIdsLinkMetadata\\\"\\n      /> and other attributes from your app.\\n    </p>\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    If installed correctly, your Messenger will send this kind of user data to Intercom:\\n    <div class='h-5'></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n      name: \\\"Jane Doe\\\", // Full name\\n      email: \\\"customer@example.com\\\", // Email address\\n      created_at: \\\"1312182000\\\" // Signup date as a Unix timestamp\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Copy and paste the snippet before the <code class=\\\"messenger-installation__messenger-install__inline-code\\\">&lt;/body&gt;</code> tag on every page you want the Messenger to appear for logged-in users.\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Once you’ve completed your changes, log into your app, then visit any page with the Messenger installed. Your Messenger should appear in the bottom right corner.\\n\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Don’t see your Messenger? Check our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/the-intercom-messenger/why-cant-i-see-the-messenger\\\"\\n        @title=\\\"troubleshooting doc\\\"\\n        @linkStyling=\\\"inline\\\"\\n        @type=\\\"article\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"troubleshootingLinkMetadata\\\"\\n      />\\n      or <a {{on 'click' @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\" data-test-verification-step>\\n      Make sure your Messenger is sending user data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ol data-test-logged-in-javascript-component class=\\\"onboarding__home__list\\\">\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    In the snippet below, replace the example variables (highlighted in red) in the <code class=\\\"start__inline-code\\\">window.intercomSettings</code> object with your own variables for user data.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <Onboarding::Home::LanguageSelector\\n      @items={{codeOptions}}\\n      @selectedValue={{serverSideLanguage}}\\n      @labelText=\\\"Show examples for:\\\"\\n    />\\n\\n    <div class='h-5'></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n      <InstallationInstructions::WebInstallationSnippetComponent\\n        @installationIsAnonymous={{false}}\\n        @appIdCode={{app.id}}\\n        @language={{serverSideLanguage}}\\n      />\\n    </InstallationInstructions::CodeComponent>\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <p class=\\\"t__light-text\\\">\\n      You can also send unique\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/your-users-and-leads-data-in-intercom/what-is-user_id-and-why-would-i-want-to-use-it\\\"\\n        @title=\\\"user ids\\\"\\n        @type=\\\"article\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"userIdsLinkMetadata\\\"\\n      /> and other attributes from your app.\\n    </p>\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    If installed correctly, your Messenger will send this kind of user data to Intercom:\\n    <div class='h-5'></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n      name: \\\"Jane Doe\\\", // Full name\\n      email: \\\"customer@example.com\\\", // Email address\\n      created_at: \\\"1312182000\\\" // Signup date as a Unix timestamp\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Copy and paste the snippet before the <code class=\\\"messenger-installation__messenger-install__inline-code\\\">&lt;/body&gt;</code> tag on every page you want the Messenger to appear for logged-in users.\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Once you’ve completed your changes, log into your app, then visit any page with the Messenger installed. Your Messenger should appear in the bottom right corner.\\n\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Don’t see your Messenger? Check our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/the-intercom-messenger/why-cant-i-see-the-messenger\\\"\\n        @title=\\\"troubleshooting doc\\\"\\n        @linkStyling=\\\"inline\\\"\\n        @type=\\\"article\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"troubleshootingLinkMetadata\\\"\\n      />\\n      or <a {{on 'click' @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\" data-test-verification-step>\\n      Make sure your Messenger is sending user data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\",\"moduleName\":\"embercom/components/messenger-installation/install-methods/logged-in/javascript-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-installation/install-methods/logged-in/javascript-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseInstallMethodComponent from 'embercom/components/messenger-installation/install-methods/base-install-method-component';\nimport { reads } from '@ember/object/computed';\n\nexport default BaseInstallMethodComponent.extend({\n  codeOptions: [\n    { text: 'Rails (Ruby)', value: 'rails' },\n    { text: 'Django (Python 3)', value: 'django' },\n    { text: 'PHP', value: 'php' },\n  ],\n\n  serverSideLanguage: reads('codeOptions.firstObject.value'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ol data-test-logged-in-rails-component class=\\\"onboarding__home__list\\\">\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Add Intercom to your Gemfile.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent>\\n      gem \\\"intercom-rails\\\"\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Make sure Intercom is installed by running this command:\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent>\\n      bundle install\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Generate a config file with this command:\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent>\\n      rails generate intercom:config {{app.id}}\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Make sure that your user object is accessible within your controllers as <code class=\\\"messenger-installation__messenger-install__inline-code\\\">current_user</code> or <code class=\\\"messenger-installation__messenger-install__inline-code\\\">@user</code> and that it responds to an <code class=\\\"messenger-installation__messenger-install__inline-code\\\">id</code> or <code class=\\\"messenger-installation__messenger-install__inline-code\\\">email</code> method.\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Once you’ve completed your changes, log into your app, then visit any page with the Messenger installed. Your Messenger should appear in the bottom right corner.\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Don’t see your Messenger? Check our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/the-intercom-messenger/why-cant-i-see-the-messenger\\\"\\n        @title=\\\"troubleshooting doc\\\"\\n        @linkStyling=\\\"inline\\\"\\n        @type=\\\"article\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"troubleshootingLinkMetadata\\\"\\n      />\\n      or <a {{on 'click' @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\" data-test-verification-step>\\n      Make sure your Messenger is sending user data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ol data-test-logged-in-rails-component class=\\\"onboarding__home__list\\\">\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Add Intercom to your Gemfile.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent>\\n      gem \\\"intercom-rails\\\"\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Make sure Intercom is installed by running this command:\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent>\\n      bundle install\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Generate a config file with this command:\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent>\\n      rails generate intercom:config {{app.id}}\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Make sure that your user object is accessible within your controllers as <code class=\\\"messenger-installation__messenger-install__inline-code\\\">current_user</code> or <code class=\\\"messenger-installation__messenger-install__inline-code\\\">@user</code> and that it responds to an <code class=\\\"messenger-installation__messenger-install__inline-code\\\">id</code> or <code class=\\\"messenger-installation__messenger-install__inline-code\\\">email</code> method.\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Once you’ve completed your changes, log into your app, then visit any page with the Messenger installed. Your Messenger should appear in the bottom right corner.\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Don’t see your Messenger? Check our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/the-intercom-messenger/why-cant-i-see-the-messenger\\\"\\n        @title=\\\"troubleshooting doc\\\"\\n        @linkStyling=\\\"inline\\\"\\n        @type=\\\"article\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"troubleshootingLinkMetadata\\\"\\n      />\\n      or <a {{on 'click' @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\" data-test-verification-step>\\n      Make sure your Messenger is sending user data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\",\"moduleName\":\"embercom/components/messenger-installation/install-methods/logged-in/rails-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-installation/install-methods/logged-in/rails-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseInstallMethodComponent from 'embercom/components/messenger-installation/install-methods/base-install-method-component';\n\nexport default BaseInstallMethodComponent.extend();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ol class=\\\"onboarding__home__list\\\">\\n  <div>Use this for JavaScript frameworks that load code asynchronously, such as React, Ember, Angular, and MeteorJS.</div>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Copy and paste this code snippet before the <code class=\\\"messenger-installation__messenger-install__inline-code\\\">&lt;/head&gt;</code> tag on every page you want the Messenger to appear.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"html\\\">\\n      <InstallationInstructions::WebInstallationSnippetLibraryComponent @appIdCode={{app.id}}/>\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Replace the example variables below (highlighted in red) in the <code class=\\\"messenger-installation__messenger-install__inline-code\\\">boot</code> call with your own variables for user data. Once your app initializes, add the <code class=\\\"messenger-installation__messenger-install__inline-code\\\">boot</code> call where you load user data.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <Onboarding::Home::LanguageSelector\\n      @items={{codeOptions}}\\n      @selectedValue={{selectedLanguage}}\\n      @labelText=\\\"Show examples for:\\\"\\n    />\\n\\n    <div class=\\\"h-5\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n      window.Intercom(\\\"boot\\\", {\\n        app_id: \\\"{{app.id}}\\\",\\n        name: {{example.name}}, // Full name\\n        email: {{example.email}}, // Email address\\n        created_at: {{example.createdAt}} // Signup date as a Unix timestamp\\n      });\\n    </InstallationInstructions::CodeComponent>\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <p class=\\\"t__light-text\\\">\\n      You can also send unique\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/your-users-and-leads-data-in-intercom/what-is-user_id-and-why-would-i-want-to-use-it\\\"\\n        @title=\\\"user ids\\\"\\n        @type=\\\"article\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"userIdsLinkMetadata\\\"\\n      /> and other attributes from your app.\\n    </p>\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    If installed correctly, your Messenger will send this kind of user data to Intercom:\\n    <div class='h-5'></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n      name: \\\"Jane Doe\\\", // Full name\\n      email: \\\"customer@example.com\\\", // Email address\\n      created_at: \\\"1312182000\\\" // Signup date as a Unix timestamp\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Update Intercom whenever the view or URL changes in your app. This will allow people to receive your most recent messages.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n      window.Intercom(\\\"update\\\");\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Once you’ve completed your changes, log into your app, then visit any page with the Messenger installed. Your Messenger should appear in the bottom right corner.\\n\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Don’t see your Messenger? Check our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/the-intercom-messenger/why-cant-i-see-the-messenger\\\"\\n        @title=\\\"troubleshooting doc\\\"\\n        @linkStyling=\\\"inline\\\"\\n        @type=\\\"article\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"troubleshootingLinkMetadata\\\"\\n      />\\n      or <a {{on 'click' @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\" data-test-verification-step>\\n      Make sure your Messenger is sending user data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ol class=\\\"onboarding__home__list\\\">\\n  <div>Use this for JavaScript frameworks that load code asynchronously, such as React, Ember, Angular, and MeteorJS.</div>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Copy and paste this code snippet before the <code class=\\\"messenger-installation__messenger-install__inline-code\\\">&lt;/head&gt;</code> tag on every page you want the Messenger to appear.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"html\\\">\\n      <InstallationInstructions::WebInstallationSnippetLibraryComponent @appIdCode={{app.id}}/>\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Replace the example variables below (highlighted in red) in the <code class=\\\"messenger-installation__messenger-install__inline-code\\\">boot</code> call with your own variables for user data. Once your app initializes, add the <code class=\\\"messenger-installation__messenger-install__inline-code\\\">boot</code> call where you load user data.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <Onboarding::Home::LanguageSelector\\n      @items={{codeOptions}}\\n      @selectedValue={{selectedLanguage}}\\n      @labelText=\\\"Show examples for:\\\"\\n    />\\n\\n    <div class=\\\"h-5\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n      window.Intercom(\\\"boot\\\", {\\n        app_id: \\\"{{app.id}}\\\",\\n        name: {{example.name}}, // Full name\\n        email: {{example.email}}, // Email address\\n        created_at: {{example.createdAt}} // Signup date as a Unix timestamp\\n      });\\n    </InstallationInstructions::CodeComponent>\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <p class=\\\"t__light-text\\\">\\n      You can also send unique\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/your-users-and-leads-data-in-intercom/what-is-user_id-and-why-would-i-want-to-use-it\\\"\\n        @title=\\\"user ids\\\"\\n        @type=\\\"article\\\"\\n        @linkStyling=\\\"inline\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"userIdsLinkMetadata\\\"\\n      /> and other attributes from your app.\\n    </p>\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    If installed correctly, your Messenger will send this kind of user data to Intercom:\\n    <div class='h-5'></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n      name: \\\"Jane Doe\\\", // Full name\\n      email: \\\"customer@example.com\\\", // Email address\\n      created_at: \\\"1312182000\\\" // Signup date as a Unix timestamp\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Update Intercom whenever the view or URL changes in your app. This will allow people to receive your most recent messages.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n      window.Intercom(\\\"update\\\");\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Once you’ve completed your changes, log into your app, then visit any page with the Messenger installed. Your Messenger should appear in the bottom right corner.\\n\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Don’t see your Messenger? Check our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/the-intercom-messenger/why-cant-i-see-the-messenger\\\"\\n        @title=\\\"troubleshooting doc\\\"\\n        @linkStyling=\\\"inline\\\"\\n        @type=\\\"article\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"troubleshootingLinkMetadata\\\"\\n      />\\n      or <a {{on 'click' @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\" data-test-verification-step>\\n      Make sure your Messenger is sending user data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\",\"moduleName\":\"embercom/components/messenger-installation/install-methods/logged-in/single-page-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-installation/install-methods/logged-in/single-page-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseInstallMethodComponent from 'embercom/components/messenger-installation/install-methods/base-install-method-component';\nimport { selectFromObject } from '@intercom/embercom-core/lib/computed-properties';\nimport { reads } from '@ember/object/computed';\n\nexport default BaseInstallMethodComponent.extend({\n  codeOptions: [\n    { text: 'Rails (Ruby)', value: 'rails' },\n    { text: 'Django (Python 3)', value: 'django' },\n    { text: 'PHP', value: 'php' },\n  ],\n  selectedLanguage: reads('codeOptions.firstObject.value'),\n\n  examples: {\n    rails: {\n      name: '\"<%= current_user.name %>\"',\n      email: '\"<%= current_user.email %>\"',\n      createdAt: '\"<%= current_user.created_at.to_i %>\"',\n    },\n    django: {\n      name: '\"{{ request.user.name|escapejs }}\"',\n      email: '\"{{ request.user.email|escapejs }}\"',\n      createdAt: '\"{{ request.user.date_joined|date:\"U\" }}\"',\n    },\n    php: {\n      name: '<?php echo json_encode($current_user->name) ?>',\n      email: '<?php echo json_encode($current_user->email) ?>',\n      createdAt: '\"<?php echo strtotime($current_user->created_at) ?>\"',\n    },\n  },\n  example: selectFromObject('examples', 'selectedLanguage'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ol data-test-logged-out-javascript-component class=\\\"onboarding__home__list\\\">\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Copy and paste this code snippet before the <code class=\\\"start__inline-code\\\">&lt;/body&gt;</code> tag on every page you want the Messenger to appear.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"html\\\">\\n      <InstallationInstructions::WebInstallationSnippetComponent\\n        @installationIsAnonymous={{true}}\\n        @appIdCode={{app.id}}\\n      />\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Once you’ve completed your changes, open your website. Your Messenger should appear in the bottom right corner.\\n\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Don’t see your Messenger? Check our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/the-intercom-messenger/why-cant-i-see-the-messenger\\\"\\n        @title=\\\"troubleshooting doc\\\"\\n        @linkStyling=\\\"inline\\\"\\n        @type=\\\"article\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"troubleshootingLinkMetadata\\\"\\n      />\\n      or <a {{on 'click' @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\" data-test-verification-step>\\n      Make sure your Messenger is sending data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ol data-test-logged-out-javascript-component class=\\\"onboarding__home__list\\\">\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Copy and paste this code snippet before the <code class=\\\"start__inline-code\\\">&lt;/body&gt;</code> tag on every page you want the Messenger to appear.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"html\\\">\\n      <InstallationInstructions::WebInstallationSnippetComponent\\n        @installationIsAnonymous={{true}}\\n        @appIdCode={{app.id}}\\n      />\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Once you’ve completed your changes, open your website. Your Messenger should appear in the bottom right corner.\\n\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Don’t see your Messenger? Check our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/the-intercom-messenger/why-cant-i-see-the-messenger\\\"\\n        @title=\\\"troubleshooting doc\\\"\\n        @linkStyling=\\\"inline\\\"\\n        @type=\\\"article\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"troubleshootingLinkMetadata\\\"\\n      />\\n      or <a {{on 'click' @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\" data-test-verification-step>\\n      Make sure your Messenger is sending data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\",\"moduleName\":\"embercom/components/messenger-installation/install-methods/logged-out/javascript-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-installation/install-methods/logged-out/javascript-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseInstallMethodComponent from 'embercom/components/messenger-installation/install-methods/base-install-method-component';\n\nexport default BaseInstallMethodComponent.extend();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ol data-test-logged-out-rails-component class=\\\"onboarding__home__list\\\">\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Add Intercom to your Gemfile.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent>\\n      gem \\\"intercom-rails\\\"\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Make sure Intercom is installed by running this command:\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent>\\n      bundle install\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Generate a config file with this command:\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent>\\n      rails generate intercom:config {{app.id}}\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Add this line to the config file to display the Messenger on every page of your website:\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"ruby\\\">\\n      config.include_for_logged_out_users = true\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Once you’ve completed your changes, open your website. Your Messenger should appear in the bottom right corner.\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Don’t see your Messenger? Check our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/the-intercom-messenger/why-cant-i-see-the-messenger\\\"\\n        @title=\\\"troubleshooting doc\\\"\\n        @linkStyling=\\\"inline\\\"\\n        @type=\\\"article\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"troubleshootingLinkMetadata\\\"\\n      />\\n      or <a {{on 'click' @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\" data-test-verification-step>\\n      Make sure your Messenger is sending data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ol data-test-logged-out-rails-component class=\\\"onboarding__home__list\\\">\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Add Intercom to your Gemfile.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent>\\n      gem \\\"intercom-rails\\\"\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Make sure Intercom is installed by running this command:\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent>\\n      bundle install\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Generate a config file with this command:\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent>\\n      rails generate intercom:config {{app.id}}\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Add this line to the config file to display the Messenger on every page of your website:\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"ruby\\\">\\n      config.include_for_logged_out_users = true\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Once you’ve completed your changes, open your website. Your Messenger should appear in the bottom right corner.\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Don’t see your Messenger? Check our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/the-intercom-messenger/why-cant-i-see-the-messenger\\\"\\n        @title=\\\"troubleshooting doc\\\"\\n        @linkStyling=\\\"inline\\\"\\n        @type=\\\"article\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"troubleshootingLinkMetadata\\\"\\n      />\\n      or <a {{on 'click' @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\" data-test-verification-step>\\n      Make sure your Messenger is sending data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\",\"moduleName\":\"embercom/components/messenger-installation/install-methods/logged-out/rails-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-installation/install-methods/logged-out/rails-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseInstallMethodComponent from 'embercom/components/messenger-installation/install-methods/base-install-method-component';\n\nexport default BaseInstallMethodComponent.extend();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ol class=\\\"onboarding__home__list\\\">\\n  <div>Note: you can use this method for JavaScript frameworks that load code asynchronously, such as React, Ember, Angular, and MeteorJS.</div>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Copy and paste this code snippet before the <code class=\\\"start__inline-code\\\">&lt;/head&gt;</code> tag on every page you want the Messenger to appear.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"html\\\">\\n      <InstallationInstructions::WebInstallationSnippetLibraryComponent @appIdCode={{app.id}} />\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Once your app initializes, load the Messenger using the code below.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n      <InstallationInstructions::SinglePageAppSnippetComponent\\n        @installationIsAnonymous={{true}}\\n        @appIdCode={{app.id}}\\n      />\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Update Intercom whenever the view or URL changes in your app. This allows people to receive your most recent messages.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n      window.Intercom(\\\"update\\\");\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Once you’ve completed your changes, open your website. Your Messenger should appear in the bottom right corner.\\n\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Don’t see your Messenger? Check our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/the-intercom-messenger/why-cant-i-see-the-messenger\\\"\\n        @title=\\\"troubleshooting doc\\\"\\n        @linkStyling=\\\"inline\\\"\\n        @type=\\\"article\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"troubleshootingLinkMetadata\\\"\\n      />\\n      or <a {{on 'click' @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\" data-test-verification-step>\\n      Make sure your Messenger is sending data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ol class=\\\"onboarding__home__list\\\">\\n  <div>Note: you can use this method for JavaScript frameworks that load code asynchronously, such as React, Ember, Angular, and MeteorJS.</div>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Copy and paste this code snippet before the <code class=\\\"start__inline-code\\\">&lt;/head&gt;</code> tag on every page you want the Messenger to appear.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"html\\\">\\n      <InstallationInstructions::WebInstallationSnippetLibraryComponent @appIdCode={{app.id}} />\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Once your app initializes, load the Messenger using the code below.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n      <InstallationInstructions::SinglePageAppSnippetComponent\\n        @installationIsAnonymous={{true}}\\n        @appIdCode={{app.id}}\\n      />\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Update Intercom whenever the view or URL changes in your app. This allows people to receive your most recent messages.\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <InstallationInstructions::CodeComponent @language=\\\"javascript\\\">\\n      window.Intercom(\\\"update\\\");\\n    </InstallationInstructions::CodeComponent>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Once you’ve completed your changes, open your website. Your Messenger should appear in the bottom right corner.\\n\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Don’t see your Messenger? Check our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/the-intercom-messenger/why-cant-i-see-the-messenger\\\"\\n        @title=\\\"troubleshooting doc\\\"\\n        @linkStyling=\\\"inline\\\"\\n        @type=\\\"article\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"troubleshootingLinkMetadata\\\"\\n      />\\n      or <a {{on 'click' @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\" data-test-verification-step>\\n      Make sure your Messenger is sending data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\",\"moduleName\":\"embercom/components/messenger-installation/install-methods/logged-out/single-page-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-installation/install-methods/logged-out/single-page-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseInstallMethodComponent from 'embercom/components/messenger-installation/install-methods/base-install-method-component';\n\nexport default BaseInstallMethodComponent.extend();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<ol data-test-segment-component class=\\\"onboarding__home__list\\\">\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Follow Segment’s instructions on\\n    <a data-track-analytics-event-object=\\\"documentation_link\\\"\\n       data-track-analytics-event-data-property-name=\\\"addDestinationLinkMetadata\\\"\\n       href=\\\"https://segment.com/docs/destinations/intercom/\\\"\\n       rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\">adding Intercom as a destination</a>. Make sure you activate Intercom after adding it.\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Add sources with\\n    <a data-track-analytics-event-object=\\\"documentation_link\\\"\\n       data-track-analytics-event-data-property-name=\\\"identifyUsersLinkMetadata\\\"\\n       href=\\\"https://segment.com/docs/destinations/intercom/#identify\\\"\\n       rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\">identified users</a> to send user data to Intercom.\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Open your website or app. Your Messenger should appear in the bottom right corner.\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Don’t see your Messenger? Check the\\n      <a data-track-analytics-event-object=\\\"documentation_link\\\"\\n         data-track-analytics-event-data-property-name=\\\"troubleshootingLinkMetadata\\\"\\n         href=\\\"https://segment.com/docs/destinations/intercom/#troubleshooting\\\"\\n         rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\">Segment troubleshooting doc</a> or <a {{action @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\">\\n      Make sure your Messenger is sending data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<ol data-test-segment-component class=\\\"onboarding__home__list\\\">\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Follow Segment’s instructions on\\n    <a data-track-analytics-event-object=\\\"documentation_link\\\"\\n       data-track-analytics-event-data-property-name=\\\"addDestinationLinkMetadata\\\"\\n       href=\\\"https://segment.com/docs/destinations/intercom/\\\"\\n       rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\">adding Intercom as a destination</a>. Make sure you activate Intercom after adding it.\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Add sources with\\n    <a data-track-analytics-event-object=\\\"documentation_link\\\"\\n       data-track-analytics-event-data-property-name=\\\"identifyUsersLinkMetadata\\\"\\n       href=\\\"https://segment.com/docs/destinations/intercom/#identify\\\"\\n       rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\">identified users</a> to send user data to Intercom.\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Open your website or app. Your Messenger should appear in the bottom right corner.\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Don’t see your Messenger? Check the\\n      <a data-track-analytics-event-object=\\\"documentation_link\\\"\\n         data-track-analytics-event-data-property-name=\\\"troubleshootingLinkMetadata\\\"\\n         href=\\\"https://segment.com/docs/destinations/intercom/#troubleshooting\\\"\\n         rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\">Segment troubleshooting doc</a> or <a {{action @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\">\\n      Make sure your Messenger is sending data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\",\"moduleName\":\"embercom/components/messenger-installation/install-methods/segment-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-installation/install-methods/segment-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseInstallMethodComponent from 'embercom/components/messenger-installation/install-methods/base-install-method-component';\nimport documentationMetadata from 'embercom/helpers/documentation-metadata';\n\nexport default BaseInstallMethodComponent.extend({\n  addDestinationLinkMetadata: documentationMetadata('add_destination'),\n  identifyUsersLinkMetadata: documentationMetadata('identify_users'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<ol data-test-shopify-component class=\\\"onboarding__home__list\\\">\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Install the Shopify app in the\\n    <a data-track-analytics-event-object=\\\"documentation_link\\\"\\n       data-track-analytics-event-data-property-name=\\\"addAppLinkMetadata\\\"\\n       href={{href-to 'apps.app.appstore' (query-params app_package_code='shopify')}}\\n    >\\n      Intercom App Store.\\n    </a>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Open your Shopify store. Your Messenger should appear in the bottom right corner.\\n    <p class=\\\"t__light-text u__mt__5\\\">Don’t see your Messenger? <a {{action @openMessenger}}>Contact us</a> for help.</p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\">\\n      Make sure your Messenger is sending data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<ol data-test-shopify-component class=\\\"onboarding__home__list\\\">\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Install the Shopify app in the\\n    <a data-track-analytics-event-object=\\\"documentation_link\\\"\\n       data-track-analytics-event-data-property-name=\\\"addAppLinkMetadata\\\"\\n       href={{href-to 'apps.app.appstore' (query-params app_package_code='shopify')}}\\n    >\\n      Intercom App Store.\\n    </a>\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Open your Shopify store. Your Messenger should appear in the bottom right corner.\\n    <p class=\\\"t__light-text u__mt__5\\\">Don’t see your Messenger? <a {{action @openMessenger}}>Contact us</a> for help.</p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\">\\n      Make sure your Messenger is sending data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\",\"moduleName\":\"embercom/components/messenger-installation/install-methods/shopify-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-installation/install-methods/shopify-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseInstallMethodComponent from 'embercom/components/messenger-installation/install-methods/base-install-method-component';\nimport documentationMetadata from 'embercom/helpers/documentation-metadata';\n\nexport default BaseInstallMethodComponent.extend({\n  addAppLinkMetadata: documentationMetadata('add_app'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ol class=\\\"onboarding__home__list\\\">\\n  <div>You must have WordPress v4.2.0 or higher.</div>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Install the Intercom plugin for\\n    <a data-track-analytics-event-object=\\\"documentation_link\\\"\\n       data-track-analytics-event-data-property-name=\\\"selfHostedPluginLinkMetadata\\\"\\n       href=\\\"https://wordpress.org/plugins/intercom/\\\"\\n       rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\">self-hosted</a>\\n    or\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/install-on-your-product-or-site/other-ways-to-get-started/install-intercom-on-your-wordpress-site\\\"\\n      @title=\\\"hosted WordPress sites\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n      data-track-analytics-event-object=\\\"documentation_link\\\"\\n      data-track-analytics-event-data-property-name=\\\"installOnSiteLinkMetadata\\\"\\n    />.\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Open your WordPress site. Your Messenger should appear in the bottom right corner.\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Don’t see your Messenger? Check our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/the-intercom-messenger/why-cant-i-see-the-messenger\\\"\\n        @title=\\\"troubleshooting doc\\\"\\n        @linkStyling=\\\"inline\\\"\\n        @type=\\\"article\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"troubleshootingLinkMetadata\\\"\\n      />\\n      or <a {{on 'click' @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\">\\n      Make sure your Messenger is sending data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ol class=\\\"onboarding__home__list\\\">\\n  <div>You must have WordPress v4.2.0 or higher.</div>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Install the Intercom plugin for\\n    <a data-track-analytics-event-object=\\\"documentation_link\\\"\\n       data-track-analytics-event-data-property-name=\\\"selfHostedPluginLinkMetadata\\\"\\n       href=\\\"https://wordpress.org/plugins/intercom/\\\"\\n       rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\">self-hosted</a>\\n    or\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/install-on-your-product-or-site/other-ways-to-get-started/install-intercom-on-your-wordpress-site\\\"\\n      @title=\\\"hosted WordPress sites\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n      data-track-analytics-event-object=\\\"documentation_link\\\"\\n      data-track-analytics-event-data-property-name=\\\"installOnSiteLinkMetadata\\\"\\n    />.\\n  </li>\\n\\n  <div class=\\\"h-8\\\"></div>\\n\\n  <li class=\\\"onboarding__home__list-item\\\">\\n    Open your WordPress site. Your Messenger should appear in the bottom right corner.\\n    <p class=\\\"t__light-text u__mt__5\\\">\\n      Don’t see your Messenger? Check our\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/the-intercom-messenger/why-cant-i-see-the-messenger\\\"\\n        @title=\\\"troubleshooting doc\\\"\\n        @linkStyling=\\\"inline\\\"\\n        @type=\\\"article\\\"\\n        data-track-analytics-event-object=\\\"documentation_link\\\"\\n        data-track-analytics-event-data-property-name=\\\"troubleshootingLinkMetadata\\\"\\n      />\\n      or <a {{on 'click' @openMessenger}}>contact us</a>.\\n    </p>\\n  </li>\\n\\n  {{#unless @verified}}\\n    <div class=\\\"h-8\\\"></div>\\n\\n    <li class=\\\"onboarding__home__list-item\\\">\\n      Make sure your Messenger is sending data to Intercom.\\n    </li>\\n  {{/unless}}\\n</ol>\\n\",\"moduleName\":\"embercom/components/messenger-installation/install-methods/wordpress-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-installation/install-methods/wordpress-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseInstallMethodComponent from 'embercom/components/messenger-installation/install-methods/base-install-method-component';\nimport documentationMetadata from 'embercom/helpers/documentation-metadata';\n\nexport default BaseInstallMethodComponent.extend({\n  selfHostedPluginLinkMetadata: documentationMetadata('self_hosted_plugin'),\n  installOnSiteLinkMetadata: documentationMetadata('install_on_site'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__centers-vertically\\\">\\n  <IcButton\\n    data-test-verify-installation-button\\n    @label=\\\"Check connection\\\"\\n    @onClick={{action \\\"performInstallVerification\\\"}}\\n    @type=\\\"secondary\\\"\\n    class=\\\"ml-8\\\"\\n    @disabled={{verificationSuccessful}}\\n  />\\n  {{#if (and errorMessage (not verificationSuccessful))}}\\n    <p\\n      data-test-error-message\\n      class=\\\"text-red u__display-inline-block u__padl__15 messenger-installation__messenger-install__verification-message\\\"\\n    >\\n      {{errorMessage}}\\n    </p>\\n  {{/if}}\\n  {{#if verificationSuccessful}}\\n    <p\\n      data-test-completed-message\\n      class=\\\"text-green-dark u__display-inline-block u__padl__15 messenger-installation__messenger-install__verification-message\\\"\\n    >\\n      Success! Your Messenger is connected.\\n      {{#if (eq sourceKey \\\"segment\\\")}}\\n        <a\\n          href=\\\"https://segment.com/docs/sources/\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n        >\\n          Add more sources\\n        </a>\\n        in Segment to reach more customers.\\n      {{else if showLoggedOutText}}\\n        Next, you can\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://developers.intercom.com/installing-intercom/docs\\\"\\n          @title=\\\"install your Messenger for anonymous visitors\\\"\\n          @type=\\\"developer\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n        on your website.\\n      {{else if showLoggedInText}}\\n        Next, you can\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://developers.intercom.com/installing-intercom/docs\\\"\\n          @title=\\\"install your Messenger for logged-in users\\\"\\n          @type=\\\"developer\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n        of your web or mobile app.\\n      {{/if}}\\n    </p>\\n  {{/if}}\\n</div>\\n{{#if (and verificationSuccessful @completionCallback)}}\\n  <div class=\\\"sp__hr u__mt__30 u__mb__30\\\"></div>\\n  <IcButton\\n    data-test-continue-button\\n    @label=\\\"Continue\\\"\\n    @onClick={{action @completionCallback (hash analyticsMetadata=@baseAnalyticsMetadata)}}\\n    @type=\\\"primary\\\"\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__centers-vertically\\\">\\n  <IcButton\\n    data-test-verify-installation-button\\n    @label=\\\"Check connection\\\"\\n    @onClick={{action \\\"performInstallVerification\\\"}}\\n    @type=\\\"secondary\\\"\\n    class=\\\"ml-8\\\"\\n    @disabled={{verificationSuccessful}}\\n  />\\n  {{#if (and errorMessage (not verificationSuccessful))}}\\n    <p\\n      data-test-error-message\\n      class=\\\"text-red u__display-inline-block u__padl__15 messenger-installation__messenger-install__verification-message\\\"\\n    >\\n      {{errorMessage}}\\n    </p>\\n  {{/if}}\\n  {{#if verificationSuccessful}}\\n    <p\\n      data-test-completed-message\\n      class=\\\"text-green-dark u__display-inline-block u__padl__15 messenger-installation__messenger-install__verification-message\\\"\\n    >\\n      Success! Your Messenger is connected.\\n      {{#if (eq sourceKey \\\"segment\\\")}}\\n        <a\\n          href=\\\"https://segment.com/docs/sources/\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n        >\\n          Add more sources\\n        </a>\\n        in Segment to reach more customers.\\n      {{else if showLoggedOutText}}\\n        Next, you can\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://developers.intercom.com/installing-intercom/docs\\\"\\n          @title=\\\"install your Messenger for anonymous visitors\\\"\\n          @type=\\\"developer\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n        on your website.\\n      {{else if showLoggedInText}}\\n        Next, you can\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://developers.intercom.com/installing-intercom/docs\\\"\\n          @title=\\\"install your Messenger for logged-in users\\\"\\n          @type=\\\"developer\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n        of your web or mobile app.\\n      {{/if}}\\n    </p>\\n  {{/if}}\\n</div>\\n{{#if (and verificationSuccessful @completionCallback)}}\\n  <div class=\\\"sp__hr u__mt__30 u__mb__30\\\"></div>\\n  <IcButton\\n    data-test-continue-button\\n    @label=\\\"Continue\\\"\\n    @onClick={{action @completionCallback (hash analyticsMetadata=@baseAnalyticsMetadata)}}\\n    @type=\\\"primary\\\"\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/messenger-installation/install-verification-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-installation/install-verification-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport MessengerVerification, {\n  VerificationKeys,\n} from 'embercom/lib/messenger/messenger-verification';\nimport { inject as service } from '@ember/service';\nimport { readOnly, equal, or } from '@ember/object/computed';\nimport { task } from 'ember-concurrency';\nimport moment from 'moment';\nimport { AUDIENCE } from 'embercom/lib/messenger/installation-constants';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  appService: service(),\n  intercomEventService: service(),\n  app: readOnly('appService.app'),\n  messengerVerification: null,\n\n  init() {\n    this._super(...arguments);\n    this.set('messengerVerification', MessengerVerification.create({ appId: this.get('app.id') }));\n  },\n\n  sourceKey: null,\n  verificationKey: null,\n\n  selectedLoggedOutAudience: equal('selectedAudience', AUDIENCE.LOGGED_OUT),\n  selectedLoggedInAudience: equal('selectedAudience', AUDIENCE.LOGGED_IN),\n\n  loggedOutInstallTimestamp: or('app.first_anonymous_request_at', 'app.verifiedLoggedOutInstallAt'),\n  loggedInInstallTimestamp: or('app.first_identified_request_at', 'app.verifiedLoggedInInstallAt'),\n\n  showLoggedOutText: computed('selectedLoggedInAudience', 'loggedOutInstallTimestamp', function() {\n    return this.selectedLoggedInAudience && !this.loggedOutInstallTimestamp;\n  }),\n  showLoggedInText: computed('selectedLoggedOutAudience', 'loggedInInstallTimestamp', function() {\n    return this.selectedLoggedOutAudience && !this.loggedInInstallTimestamp;\n  }),\n\n  codeInstallAudience: ternary('selectedLoggedOutAudience', 'visitors', 'users'),\n\n  verificationSuccessful: false,\n  errorMessage: null,\n\n  verifyInstallation: task(function*() {\n    let verificationTask = this.messengerVerification.get('checkInstall');\n    let result = yield verificationTask.perform(this.verificationKey, this.sourceKey);\n\n    if (result.verified) {\n      this.set('verificationSuccessful', true);\n      this.app.set(\n        this.verificationKey === VerificationKeys.LOGGED_IN\n          ? 'verifiedLoggedInInstallAt'\n          : 'verifiedLoggedOutInstallAt',\n        moment.utc().format(),\n      );\n      this.sendAnalyticsEvent({ action: 'viewed', object: 'installation_verified' });\n    } else {\n      this.set(\n        'errorMessage',\n        'We havenʼt received any data from your installation. Please check the instructions and try again.',\n      );\n      this.sendAnalyticsEvent({ action: 'viewed', object: 'installation_failed' });\n    }\n  }),\n\n  didUpdateAttrs() {\n    this._super(...arguments);\n    this.set('errorMessage', null);\n    this.set('verificationSuccessful', false);\n  },\n\n  sendAnalyticsEvent(analyticsMetadata) {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.baseAnalyticsMetadata,\n      ...analyticsMetadata,\n    });\n  },\n\n  actions: {\n    performInstallVerification() {\n      this.verifyInstallation.perform();\n      this.sendAnalyticsEvent({\n        action: 'clicked',\n        object: 'check_connection',\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#each @sampleTeammates as |sampleTeammate|}}\\n  <div class=\\\"messenger-preview__home__conversation-card__avatar-container {{if @small 'o__small'}}\\\" data-test-admin-avatar={{sampleTeammate.id}}>\\n    <MessengerPreview::Home::Avatar\\n      @teammate={{sampleTeammate}}\\n      class=\\\"messenger-preview__home__conversation-card__avatar o__condensed layout__box o__centers-all\\\"\\n      data-test-stacked-admin-avatar\\n    />\\n  </div>\\n{{/each}}\", {\"contents\":\"{{#each @sampleTeammates as |sampleTeammate|}}\\n  <div class=\\\"messenger-preview__home__conversation-card__avatar-container {{if @small 'o__small'}}\\\" data-test-admin-avatar={{sampleTeammate.id}}>\\n    <MessengerPreview::Home::Avatar\\n      @teammate={{sampleTeammate}}\\n      class=\\\"messenger-preview__home__conversation-card__avatar o__condensed layout__box o__centers-all\\\"\\n      data-test-stacked-admin-avatar\\n    />\\n  </div>\\n{{/each}}\",\"moduleName\":\"embercom/components/messenger-preview/admin-avatar-stack.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/admin-avatar-stack.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col {{if @isMobile 'pt-4'}}\\\">\\n  <div class=\\\"color-gray text-right px-4\\\" data-test-suggestion-prompt-preview>\\n    {{@prompt}}\\n  </div>\\n\\n  <div class=\\\"flex flex-row flex-wrap justify-end py-2 px-3 mb-4 bg-white\\\">\\n    {{#each @suggestions as |suggestion| }}\\n      <div class=\\\"flex flex-row justify-end mx-1 mb-2\\\" data-test-suggestion-preview-option=\\\"{{or suggestion 'Suggested reply'}}\\\">\\n        <div class=\\\"messenger-preview__composer-suggestions__suggestion-bubble{{if @isMobile '-mobile'}}\\\">{{or suggestion 'Suggested reply'}}</div>\\n      </div>\\n    {{/each}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col {{if @isMobile 'pt-4'}}\\\">\\n  <div class=\\\"color-gray text-right px-4\\\" data-test-suggestion-prompt-preview>\\n    {{@prompt}}\\n  </div>\\n\\n  <div class=\\\"flex flex-row flex-wrap justify-end py-2 px-3 mb-4 bg-white\\\">\\n    {{#each @suggestions as |suggestion| }}\\n      <div class=\\\"flex flex-row justify-end mx-1 mb-2\\\" data-test-suggestion-preview-option=\\\"{{or suggestion 'Suggested reply'}}\\\">\\n        <div class=\\\"messenger-preview__composer-suggestions__suggestion-bubble{{if @isMobile '-mobile'}}\\\">{{or suggestion 'Suggested reply'}}</div>\\n      </div>\\n    {{/each}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/composer-suggestions.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/composer-suggestions.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"messenger-preview__composer__reply-box{{if isMobile '-mobile' ' flex items-center'}}\\\">\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    {{if composerText composerText 'Write a reply...'}}\\n  </div>\\n  <div class=\\\"{{if isMobile 'mt-4' 'u__ml__10'}}\\\">\\n    <img src=\\\"/assets/images/settings/appearance/gif.png\\\" class=\\\"messenger-preview__composer__button\\\" width=\\\"26\\\">\\n    <img src=\\\"/assets/images/settings/appearance/emoji.png\\\" class=\\\"messenger-preview__composer__button\\\" width=\\\"18\\\">\\n    <img src=\\\"/assets/images/settings/appearance/attachment.png\\\" width=\\\"15\\\">\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"messenger-preview__composer__reply-box{{if isMobile '-mobile' ' flex items-center'}}\\\">\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    {{if composerText composerText 'Write a reply...'}}\\n  </div>\\n  <div class=\\\"{{if isMobile 'mt-4' 'u__ml__10'}}\\\">\\n    <img src=\\\"/assets/images/settings/appearance/gif.png\\\" class=\\\"messenger-preview__composer__button\\\" width=\\\"26\\\">\\n    <img src=\\\"/assets/images/settings/appearance/emoji.png\\\" class=\\\"messenger-preview__composer__button\\\" width=\\\"18\\\">\\n    <img src=\\\"/assets/images/settings/appearance/attachment.png\\\" width=\\\"15\\\">\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/composer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/composer.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessengerPreview::TranslationLoaderWrapper @locale={{configuration.locale}}>\\n  <MessengerPreview::Styles @configuration={{configuration}} />\\n  <AppFramework::MessengerApps::Styles\\n    @containerSelector=\\\".messenger-preview__conversation\\\"\\n    @baseColor={{configuration.appColors.link_color}}\\n  />\\n  <div class=\\\"messenger-preview__home__container layout__box o__has-rows o__flexes-to-1\\\">\\n    <MessengerPreview::Conversation::Header\\n      @configuration={{configuration}}\\n      @admin={{admin}}\\n      @adminProfile={{adminProfile}}\\n      @newConversation={{newConversation}}\\n    />\\n    {{#if showUpfrontEmailCollection}}\\n      <MessengerPreview::Conversation::UpfrontEmailCollector />\\n    {{else}}\\n      <MessengerPreview::Conversation::SendMessage\\n        @configuration={{configuration}}\\n        @conversationParts={{conversationParts}}\\n      />\\n    {{/if}}\\n  </div>\\n  {{#unless hideLauncher}}\\n    <MessengerPreview::Launcher\\n      @configuration={{configuration}}\\n      @messengerIsOpen={{true}}\\n    />\\n  {{/unless}}\\n</MessengerPreview::TranslationLoaderWrapper>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessengerPreview::TranslationLoaderWrapper @locale={{configuration.locale}}>\\n  <MessengerPreview::Styles @configuration={{configuration}} />\\n  <AppFramework::MessengerApps::Styles\\n    @containerSelector=\\\".messenger-preview__conversation\\\"\\n    @baseColor={{configuration.appColors.link_color}}\\n  />\\n  <div class=\\\"messenger-preview__home__container layout__box o__has-rows o__flexes-to-1\\\">\\n    <MessengerPreview::Conversation::Header\\n      @configuration={{configuration}}\\n      @admin={{admin}}\\n      @adminProfile={{adminProfile}}\\n      @newConversation={{newConversation}}\\n    />\\n    {{#if showUpfrontEmailCollection}}\\n      <MessengerPreview::Conversation::UpfrontEmailCollector />\\n    {{else}}\\n      <MessengerPreview::Conversation::SendMessage\\n        @configuration={{configuration}}\\n        @conversationParts={{conversationParts}}\\n      />\\n    {{/if}}\\n  </div>\\n  {{#unless hideLauncher}}\\n    <MessengerPreview::Launcher\\n      @configuration={{configuration}}\\n      @messengerIsOpen={{true}}\\n    />\\n  {{/unless}}\\n</MessengerPreview::TranslationLoaderWrapper>\\n\",\"moduleName\":\"embercom/components/messenger-preview/conversation.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/conversation.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { equal } from '@ember/object/computed';\n\nexport default Component.extend({\n  classNames: ['messenger-preview__conversation', 'layout__box', 'o__has-rows'],\n  classNameBindings: ['messengerAlignedToLeft:o__messenger-align-left'],\n  'data-test-messenger-preview-conversation': true,\n  messengerAlignedToLeft: equal('configuration.alignment', 'left'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{ic-avatar direct=teammate.avatarData}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{ic-avatar direct=teammate.avatarData}}\\n\",\"moduleName\":\"embercom/components/messenger-preview/conversation/avatar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/conversation/avatar.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  classNames: ['messenger-preview__conversation__header__avatar'],\n  'data-test-messenger-preview-conversation-avatar': true,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__m__25\\\">\\n  <div class=\\\"u__display-inline-block align-bottom u__mr__10\\\">\\n    {{ic-avatar direct=conversationPart.admin.avatarData size='m'}}\\n  </div>\\n  <div class=\\\"u__display-inline-block conversation__bubble o__operator-comment o__admin-comment\\\">\\n    <div class=\\\"conversation__bubble__inner\\\">\\n      <div class=\\\"conversation__text o__user-comment\\\">\\n        {{render-blocks conversationPart.blocks}}\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__m__25\\\">\\n  <div class=\\\"u__display-inline-block align-bottom u__mr__10\\\">\\n    {{ic-avatar direct=conversationPart.admin.avatarData size='m'}}\\n  </div>\\n  <div class=\\\"u__display-inline-block conversation__bubble o__operator-comment o__admin-comment\\\">\\n    <div class=\\\"conversation__bubble__inner\\\">\\n      <div class=\\\"conversation__text o__user-comment\\\">\\n        {{render-blocks conversationPart.blocks}}\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/conversation/conversation-part.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/conversation/conversation-part.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"messenger-preview__conversation__header__social-accounts\\\">\\n  {{#if admin.socialAccounts}}\\n    {{#if admin.twitter}}\\n      {{inline-svg \\\"messenger-preview/twitter-social-icon\\\"}}\\n    {{/if}}\\n    {{#if admin.linkedin}}\\n      {{inline-svg \\\"messenger-preview/linkedin-social-icon\\\"}}\\n    {{/if}}\\n  {{/if}}\\n</div>\\n<div class=\\\"messenger-preview__conversation__header__back-button\\\">\\n  {{inline-svg \\\"messenger-preview/back-button\\\"}}\\n</div>\\n<div class=\\\"u__ml__45\\\">\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"messenger-preview__conversation__header__avatar-container\\\">\\n      <MessengerPreview::Conversation::Avatar @teammate={{admin}} />\\n      <div class=\\\"messenger-preview__conversation__header__avatar__active-state\\\"></div>\\n    </div>\\n    <div class=\\\"layout__box o__centers-vertically\\\">\\n      <div>\\n        <p\\n          data-test-messenger-preview-admin-name\\n          class=\\\"messenger-preview__conversation__header__name\\\"\\n        >\\n          {{adminDisplayName}}\\n        </p>\\n        <p class=\\\"messenger-preview__conversation__header__text\\\">\\n          {{#if admin.isOperator}}\\n            {{t \\\"bot\\\"}}\\n          {{else}}\\n            {{t \\\"active_state\\\"}}\\n          {{/if}}\\n        </p>\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"h-2\\\"></div>\\n  {{#if adminProfile.job_title}}\\n    <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n      {{inline-svg \\\"messenger-preview/job-title-icon\\\"}}\\n      <span\\n        data-test-messenger-preview-admin-job-title\\n        class=\\\"messenger-preview__conversation__header__text\\\"\\n      >\\n        {{adminProfile.job_title}}\\n      </span>\\n    </div>\\n  {{/if}}\\n  {{#if admin.location_data}}\\n    <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n      {{inline-svg \\\"messenger-preview/location-icon\\\"}}\\n      <span\\n        data-test-messenger-preview-admin-location\\n        class=\\\"messenger-preview__conversation__header__text\\\"\\n      >\\n        {{t \\\"profile_location\\\" time=admin.localTime location=location}}\\n      </span>\\n    </div>\\n  {{/if}}\\n  {{#if adminProfile.biography}}\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      <div class=\\\"layout__box messenger-preview__conversation__header__bio-icon\\\">\\n        {{inline-svg \\\"messenger-preview/bio-icon\\\"}}\\n      </div>\\n      <div class=\\\"layout__box messenger-preview__conversation__header__bio\\\">\\n        <span\\n          data-test-messenger-preview-admin-bio\\n          class=\\\"messenger-preview__conversation__header__text\\\"\\n        >\\n          {{adminProfile.biography}}\\n        </span>\\n      </div>\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"messenger-preview__conversation__header__social-accounts\\\">\\n  {{#if admin.socialAccounts}}\\n    {{#if admin.twitter}}\\n      {{inline-svg \\\"messenger-preview/twitter-social-icon\\\"}}\\n    {{/if}}\\n    {{#if admin.linkedin}}\\n      {{inline-svg \\\"messenger-preview/linkedin-social-icon\\\"}}\\n    {{/if}}\\n  {{/if}}\\n</div>\\n<div class=\\\"messenger-preview__conversation__header__back-button\\\">\\n  {{inline-svg \\\"messenger-preview/back-button\\\"}}\\n</div>\\n<div class=\\\"u__ml__45\\\">\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"messenger-preview__conversation__header__avatar-container\\\">\\n      <MessengerPreview::Conversation::Avatar @teammate={{admin}} />\\n      <div class=\\\"messenger-preview__conversation__header__avatar__active-state\\\"></div>\\n    </div>\\n    <div class=\\\"layout__box o__centers-vertically\\\">\\n      <div>\\n        <p\\n          data-test-messenger-preview-admin-name\\n          class=\\\"messenger-preview__conversation__header__name\\\"\\n        >\\n          {{adminDisplayName}}\\n        </p>\\n        <p class=\\\"messenger-preview__conversation__header__text\\\">\\n          {{#if admin.isOperator}}\\n            {{t \\\"bot\\\"}}\\n          {{else}}\\n            {{t \\\"active_state\\\"}}\\n          {{/if}}\\n        </p>\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"h-2\\\"></div>\\n  {{#if adminProfile.job_title}}\\n    <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n      {{inline-svg \\\"messenger-preview/job-title-icon\\\"}}\\n      <span\\n        data-test-messenger-preview-admin-job-title\\n        class=\\\"messenger-preview__conversation__header__text\\\"\\n      >\\n        {{adminProfile.job_title}}\\n      </span>\\n    </div>\\n  {{/if}}\\n  {{#if admin.location_data}}\\n    <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n      {{inline-svg \\\"messenger-preview/location-icon\\\"}}\\n      <span\\n        data-test-messenger-preview-admin-location\\n        class=\\\"messenger-preview__conversation__header__text\\\"\\n      >\\n        {{t \\\"profile_location\\\" time=admin.localTime location=location}}\\n      </span>\\n    </div>\\n  {{/if}}\\n  {{#if adminProfile.biography}}\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      <div class=\\\"layout__box messenger-preview__conversation__header__bio-icon\\\">\\n        {{inline-svg \\\"messenger-preview/bio-icon\\\"}}\\n      </div>\\n      <div class=\\\"layout__box messenger-preview__conversation__header__bio\\\">\\n        <span\\n          data-test-messenger-preview-admin-bio\\n          class=\\\"messenger-preview__conversation__header__text\\\"\\n        >\\n          {{adminProfile.biography}}\\n        </span>\\n      </div>\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/conversation/header-content.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/conversation/header-content.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\n\nconst COUNTRY_NAME_MAPPINGS = {\n  'United States': 'US',\n  'United Kingdom': 'UK',\n};\n\nexport default Component.extend({\n  tagName: 'div',\n  classNames: ['messenger-preview__conversation__header__content'],\n  cityName: readOnly('admin.location_data.city_name'),\n  countryName: computed('admin', function() {\n    let fullCountryName = this.get('admin.location_data.country_name');\n    return COUNTRY_NAME_MAPPINGS[fullCountryName] || fullCountryName;\n  }),\n  location: templateString('${cityName}, ${countryName}'),\n  adminDisplayName: computed('admin.name', 'admin.isOperator', function() {\n    let name = this.get('admin.name');\n    if (this.get('admin.isOperator')) {\n      return name;\n    }\n    return name.split(' ')[0];\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"messenger-preview__home__header__gradient layout__box\\\">\\n  <div class=\\\"messenger-preview__home__header__background-pattern o__background-{{@configuration.backgroundPatternNumber}}\\\">\\n    {{#if @newConversation}}\\n      <MessengerPreview::Conversation::New::HeaderContent\\n        @configuration={{@configuration}}\\n        @collapsed={{@collapsed}}\\n      />\\n    {{else}}\\n      <MessengerPreview::Conversation::HeaderContent\\n        @configuration={{@configuration}}\\n        @admin={{@admin}}\\n        @adminProfile={{@adminProfile}}\\n        data-test-messenger-preview-conversation-header={{true}}\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"messenger-preview__home__header__gradient layout__box\\\">\\n  <div class=\\\"messenger-preview__home__header__background-pattern o__background-{{@configuration.backgroundPatternNumber}}\\\">\\n    {{#if @newConversation}}\\n      <MessengerPreview::Conversation::New::HeaderContent\\n        @configuration={{@configuration}}\\n        @collapsed={{@collapsed}}\\n      />\\n    {{else}}\\n      <MessengerPreview::Conversation::HeaderContent\\n        @configuration={{@configuration}}\\n        @admin={{@admin}}\\n        @adminProfile={{@adminProfile}}\\n        data-test-messenger-preview-conversation-header={{true}}\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/conversation/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/conversation/header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"messenger-preview__conversation__header__content {{if @collapsed 'o__collapsed'}}\\\">\\n  <div class=\\\"messenger-preview__conversation__header__back-button\\\">\\n    {{inline-svg \\\"messenger-preview/back-button\\\"}}\\n  </div>\\n  <div class=\\\"u__ml__45\\\">\\n    {{#if @collapsed}}\\n      <div class=\\\"flex flex-row\\\" data-test-messenger-preview-header-collapsed>\\n        <div class=\\\"flex flex-row items-center mr-4\\\">\\n          <MessengerPreview::AdminAvatarStack @sampleTeammates={{@configuration.sampleTeammates}} @small={{true}}/>\\n        </div>\\n        <div class=\\\"flex flex-col flex-1\\\">\\n          <div\\n            class=\\\"messenger-preview__home__header__full-team-name o__small\\\"\\n            data-test-messenger-preview-team-name\\n          >\\n            {{service 'appService.app.name'}}\\n          </div>\\n          {{#if @configuration.hasUnknownResponseTime}}\\n            <span class=\\\"u__one-truncated-line messenger-preview__conversation__header__subtitle\\\">\\n              {{t @configuration.messengerResponseTimeKey}}\\n            </span>\\n          {{else}}\\n            <MessengerPreview::ReplyExpectations\\n              @configuration={{@configuration}}\\n              @collapsed={{true}}\\n              @headerStyle={{true}}\\n            />\\n          {{/if}}\\n        </div>\\n      </div>\\n    {{else}}\\n      <div class=\\\"messenger-preview__home__header__full-team-name text-white mt-2\\\">\\n        {{service 'appService.app.name'}}\\n      </div>\\n      {{#if @configuration.aboutUsText}}\\n        <MessengerPreview::Header::AboutTheTeam\\n          @configuration={{@configuration}}\\n          class=\\\"messenger-preview__conversation__header__about-the-team\\\"\\n          data-test-messenger-preview-about-the-team\\n        />\\n     {{/if}}\\n     <div class=\\\"flex flex-row items-center mt-3\\\">\\n      <div class=\\\"flex flex-row mr-2\\\">\\n        <MessengerPreview::AdminAvatarStack @sampleTeammates={{@configuration.sampleTeammates}}/>\\n      </div>\\n      <div class=\\\"flex flex-col o__has-rows ml-2\\\">\\n        {{#if @configuration.hasUnknownResponseTime}}\\n          <div class=\\\"messenger-preview__home__conversation-card__unknown-response-time\\\">\\n            {{t @configuration.messengerResponseTimeKey}}\\n          </div>\\n        {{else}}\\n          <MessengerPreview::ReplyExpectations @configuration={{@configuration}} @headerStyle={{true}} />\\n        {{/if}}\\n      </div>\\n     </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"messenger-preview__conversation__header__content {{if @collapsed 'o__collapsed'}}\\\">\\n  <div class=\\\"messenger-preview__conversation__header__back-button\\\">\\n    {{inline-svg \\\"messenger-preview/back-button\\\"}}\\n  </div>\\n  <div class=\\\"u__ml__45\\\">\\n    {{#if @collapsed}}\\n      <div class=\\\"flex flex-row\\\" data-test-messenger-preview-header-collapsed>\\n        <div class=\\\"flex flex-row items-center mr-4\\\">\\n          <MessengerPreview::AdminAvatarStack @sampleTeammates={{@configuration.sampleTeammates}} @small={{true}}/>\\n        </div>\\n        <div class=\\\"flex flex-col flex-1\\\">\\n          <div\\n            class=\\\"messenger-preview__home__header__full-team-name o__small\\\"\\n            data-test-messenger-preview-team-name\\n          >\\n            {{service 'appService.app.name'}}\\n          </div>\\n          {{#if @configuration.hasUnknownResponseTime}}\\n            <span class=\\\"u__one-truncated-line messenger-preview__conversation__header__subtitle\\\">\\n              {{t @configuration.messengerResponseTimeKey}}\\n            </span>\\n          {{else}}\\n            <MessengerPreview::ReplyExpectations\\n              @configuration={{@configuration}}\\n              @collapsed={{true}}\\n              @headerStyle={{true}}\\n            />\\n          {{/if}}\\n        </div>\\n      </div>\\n    {{else}}\\n      <div class=\\\"messenger-preview__home__header__full-team-name text-white mt-2\\\">\\n        {{service 'appService.app.name'}}\\n      </div>\\n      {{#if @configuration.aboutUsText}}\\n        <MessengerPreview::Header::AboutTheTeam\\n          @configuration={{@configuration}}\\n          class=\\\"messenger-preview__conversation__header__about-the-team\\\"\\n          data-test-messenger-preview-about-the-team\\n        />\\n     {{/if}}\\n     <div class=\\\"flex flex-row items-center mt-3\\\">\\n      <div class=\\\"flex flex-row mr-2\\\">\\n        <MessengerPreview::AdminAvatarStack @sampleTeammates={{@configuration.sampleTeammates}}/>\\n      </div>\\n      <div class=\\\"flex flex-col o__has-rows ml-2\\\">\\n        {{#if @configuration.hasUnknownResponseTime}}\\n          <div class=\\\"messenger-preview__home__conversation-card__unknown-response-time\\\">\\n            {{t @configuration.messengerResponseTimeKey}}\\n          </div>\\n        {{else}}\\n          <MessengerPreview::ReplyExpectations @configuration={{@configuration}} @headerStyle={{true}} />\\n        {{/if}}\\n      </div>\\n     </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/conversation/new/header-content.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/conversation/new/header-content.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__flexes-to-1\\\">\\n  {{#if @configuration.temporaryExpectations.enabled}}\\n    <div class=\\\"flex flex-row items-center gap-4 m-6\\\">\\n      <IcAvatarComponent @model={{@configuration.temporaryExpectations.avatar}} @size=\\\"m\\\" />\\n      <Paragraph class=\\\"messenger-preview__temporary-expectations-text\\\">\\n        {{@configuration.temporaryExpectations.message}}\\n      </Paragraph>\\n    </div>\\n  {{/if}}\\n  {{#each @conversationParts as |conversationPart|}}\\n    <MessengerPreview::Conversation::ConversationPart\\n      @conversationPart={{conversationPart}}\\n    />\\n  {{/each}}\\n</div>\\n<div class=\\\"layout__box o__has-rows\\\" data-conversation-content=\\\"send-message\\\">\\n  <MessengerPreview::Home::WeRunOnIntercom @configuration={{@configuration}} />\\n  <div class=\\\"messenger-preview__conversation__composer layout__box o__has-columns o__centers-vertically\\\">\\n    <div class=\\\"text-gray layout__box o__flexes-to-1\\\">\\n      {{t \\\"send_a_message\\\"}}\\n    </div>\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      {{inline-svg \\\"messenger-preview/gif-icon\\\"}}\\n      {{inline-svg \\\"messenger-preview/emoji-icon\\\"}}\\n      {{inline-svg \\\"messenger-preview/attachment-icon\\\"}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__flexes-to-1\\\">\\n  {{#if @configuration.temporaryExpectations.enabled}}\\n    <div class=\\\"flex flex-row items-center gap-4 m-6\\\">\\n      <IcAvatarComponent @model={{@configuration.temporaryExpectations.avatar}} @size=\\\"m\\\" />\\n      <Paragraph class=\\\"messenger-preview__temporary-expectations-text\\\">\\n        {{@configuration.temporaryExpectations.message}}\\n      </Paragraph>\\n    </div>\\n  {{/if}}\\n  {{#each @conversationParts as |conversationPart|}}\\n    <MessengerPreview::Conversation::ConversationPart\\n      @conversationPart={{conversationPart}}\\n    />\\n  {{/each}}\\n</div>\\n<div class=\\\"layout__box o__has-rows\\\" data-conversation-content=\\\"send-message\\\">\\n  <MessengerPreview::Home::WeRunOnIntercom @configuration={{@configuration}} />\\n  <div class=\\\"messenger-preview__conversation__composer layout__box o__has-columns o__centers-vertically\\\">\\n    <div class=\\\"text-gray layout__box o__flexes-to-1\\\">\\n      {{t \\\"send_a_message\\\"}}\\n    </div>\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      {{inline-svg \\\"messenger-preview/gif-icon\\\"}}\\n      {{inline-svg \\\"messenger-preview/emoji-icon\\\"}}\\n      {{inline-svg \\\"messenger-preview/attachment-icon\\\"}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/conversation/send-message.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/conversation/send-message.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__has-rows\\\" data-conversation-content=\\\"upfront-email-collector-message\\\">\\n  <div class=\\\"messenger-preview__conversation__upfront-email-collector__composer py-5 mt-1\\\">\\n      email@example.com\\n  </div>\\n  <div class=\\\"messenger-preview__conversation__upfront-email-collector__composer py-5 mt-1\\\">\\n    <div>\\n      Write your message...\\n    </div>\\n  </div>\\n  <div class=\\\"messenger-preview__conversation__upfront-email-collector__composer__button\\\">\\n    <div>\\n      <img src=\\\"/assets/images/settings/appearance/emoji.png\\\" class=\\\"messenger-preview__composer__button\\\" width=\\\"18\\\">\\n      <img src=\\\"/assets/images/settings/appearance/send.png\\\" width=\\\"15\\\">\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__has-rows\\\" data-conversation-content=\\\"upfront-email-collector-message\\\">\\n  <div class=\\\"messenger-preview__conversation__upfront-email-collector__composer py-5 mt-1\\\">\\n      email@example.com\\n  </div>\\n  <div class=\\\"messenger-preview__conversation__upfront-email-collector__composer py-5 mt-1\\\">\\n    <div>\\n      Write your message...\\n    </div>\\n  </div>\\n  <div class=\\\"messenger-preview__conversation__upfront-email-collector__composer__button\\\">\\n    <div>\\n      <img src=\\\"/assets/images/settings/appearance/emoji.png\\\" class=\\\"messenger-preview__composer__button\\\" width=\\\"18\\\">\\n      <img src=\\\"/assets/images/settings/appearance/send.png\\\" width=\\\"15\\\">\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/conversation/upfront-email-collector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/conversation/upfront-email-collector.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  classNames: ['messenger-preview__upfront-email-collector', 'u__padr__20', 'u__padl__20'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{@configuration.aboutUsText}}\\n\", {\"contents\":\"{{@configuration.aboutUsText}}\\n\",\"moduleName\":\"embercom/components/messenger-preview/header/about-the-team.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/header/about-the-team.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  classNames: ['messenger-preview__header__about-the-team'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessengerPreview::Styles @configuration={{configuration}} />\\n<AppFramework::MessengerApps::Styles\\n  @containerSelector=\\\".messenger-preview__home\\\"\\n  @baseColor={{configuration.appColors.link_color}}\\n/>\\n{{#unless hideUserTypeButtonGroup}}\\n  <div\\n    data-test-target-user-type-toggle\\n    class=\\\"layout__box o__centers-horizontally u__mb__20\\\"\\n  >\\n    <IcRadioButtonGroup\\n      @selectedValue={{targetUserType}}\\n      @onSelectionChange={{action \\\"changeTargetUserType\\\"}} as |group|\\n    >\\n      {{#each targetUserTypeOptions as |targetUserTypeOption|}}\\n        <group.button\\n          @label={{targetUserTypeOption.label}}\\n          @value={{targetUserTypeOption.value}}\\n        />\\n      {{/each}}\\n    </IcRadioButtonGroup>\\n    <span class=\\\"u__ml__10 u__mt__5\\\">\\n      <IcTooltipIcon>\\n        Preview your Messenger home as it'll appear to signed in users or new visitors to your site.\\n      </IcTooltipIcon>\\n    </span>\\n  </div>\\n{{/unless}}\\n<div class=\\\"messenger-preview__home__container\\\" data-test-messenger-preview-home>\\n  <MessengerPreview::Home::Header @configuration={{configuration}} />\\n  <div class=\\\"messenger-preview__home__scrolling-area layout__box o__flexes-to-1 o__has-rows\\\">\\n    <MessengerPreview::Home::HeaderContent\\n      @configuration={{configuration}}\\n      @fadeOffset={{headerScrollOffset}}\\n    />\\n    {{#if this.inboundConversationsDisabled}}\\n      <MessengerPreview::Home::ConversationList\\n        @configuration={{configuration}}\\n      />\\n    {{else}}\\n      <MessengerPreview::Home::ConversationCard\\n        @configuration={{configuration}}\\n      />\\n    {{/if}}\\n    <MessengerPreview::Home::Cards\\n      @configuration={{configuration}}\\n      @targetUserType={{targetUserType}}\\n    />\\n    <MessengerPreview::Home::WeRunOnIntercom @configuration={{configuration}} />\\n  </div>\\n</div>\\n{{#if showMessengerLauncher}}\\n  <MessengerPreview::Launcher\\n    @messengerIsOpen={{true}}\\n    @animated={{animated}}\\n    @configuration={{configuration}}\\n  />\\n{{/if}}\\n{{#if zoomInLauncher}}\\n  <div class=\\\"messenger-preview__launcher__horizontal-ruler\\\">\\n    <span\\n      class=\\\"messenger-preview__launcher__horizontal-ruler-value\\\"\\n      data-test-messenger-preview__launcher__horizontal-ruler-value\\n    >\\n      {{#if zoomInLauncherAndroid}}\\n        {{lookAndFeelSettings.androidHorizontalPadding}}\\n      {{else if zoomInLauncherIOS}}\\n        {{lookAndFeelSettings.iosHorizontalPadding}}\\n      {{else}}\\n        {{configuration.horizontalPadding}}\\n      {{/if}}\\n    </span>\\n  </div>\\n  <div class=\\\"messenger-preview__launcher__vertical-ruler\\\">\\n    <span\\n      class=\\\"messenger-preview__launcher__vertical-ruler-value\\\"\\n      data-test-messenger-preview__launcher__vertical-ruler-value\\n    >\\n      {{#if zoomInLauncherAndroid}}\\n        {{configuration.verticalPaddingAndroid}}\\n      {{else if zoomInLauncherIOS}}\\n        {{configuration.verticalPaddingIOS}}\\n      {{else}}\\n        {{configuration.verticalPadding}}\\n      {{/if}}\\n    </span>\\n  </div>\\n  {{#unless showMessengerLauncher}}\\n    <div class=\\\"messenger-preview__home__frame\\\"></div>\\n  {{/unless}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessengerPreview::Styles @configuration={{configuration}} />\\n<AppFramework::MessengerApps::Styles\\n  @containerSelector=\\\".messenger-preview__home\\\"\\n  @baseColor={{configuration.appColors.link_color}}\\n/>\\n{{#unless hideUserTypeButtonGroup}}\\n  <div\\n    data-test-target-user-type-toggle\\n    class=\\\"layout__box o__centers-horizontally u__mb__20\\\"\\n  >\\n    <IcRadioButtonGroup\\n      @selectedValue={{targetUserType}}\\n      @onSelectionChange={{action \\\"changeTargetUserType\\\"}} as |group|\\n    >\\n      {{#each targetUserTypeOptions as |targetUserTypeOption|}}\\n        <group.button\\n          @label={{targetUserTypeOption.label}}\\n          @value={{targetUserTypeOption.value}}\\n        />\\n      {{/each}}\\n    </IcRadioButtonGroup>\\n    <span class=\\\"u__ml__10 u__mt__5\\\">\\n      <IcTooltipIcon>\\n        Preview your Messenger home as it'll appear to signed in users or new visitors to your site.\\n      </IcTooltipIcon>\\n    </span>\\n  </div>\\n{{/unless}}\\n<div class=\\\"messenger-preview__home__container\\\" data-test-messenger-preview-home>\\n  <MessengerPreview::Home::Header @configuration={{configuration}} />\\n  <div class=\\\"messenger-preview__home__scrolling-area layout__box o__flexes-to-1 o__has-rows\\\">\\n    <MessengerPreview::Home::HeaderContent\\n      @configuration={{configuration}}\\n      @fadeOffset={{headerScrollOffset}}\\n    />\\n    {{#if this.inboundConversationsDisabled}}\\n      <MessengerPreview::Home::ConversationList\\n        @configuration={{configuration}}\\n      />\\n    {{else}}\\n      <MessengerPreview::Home::ConversationCard\\n        @configuration={{configuration}}\\n      />\\n    {{/if}}\\n    <MessengerPreview::Home::Cards\\n      @configuration={{configuration}}\\n      @targetUserType={{targetUserType}}\\n    />\\n    <MessengerPreview::Home::WeRunOnIntercom @configuration={{configuration}} />\\n  </div>\\n</div>\\n{{#if showMessengerLauncher}}\\n  <MessengerPreview::Launcher\\n    @messengerIsOpen={{true}}\\n    @animated={{animated}}\\n    @configuration={{configuration}}\\n  />\\n{{/if}}\\n{{#if zoomInLauncher}}\\n  <div class=\\\"messenger-preview__launcher__horizontal-ruler\\\">\\n    <span\\n      class=\\\"messenger-preview__launcher__horizontal-ruler-value\\\"\\n      data-test-messenger-preview__launcher__horizontal-ruler-value\\n    >\\n      {{#if zoomInLauncherAndroid}}\\n        {{lookAndFeelSettings.androidHorizontalPadding}}\\n      {{else if zoomInLauncherIOS}}\\n        {{lookAndFeelSettings.iosHorizontalPadding}}\\n      {{else}}\\n        {{configuration.horizontalPadding}}\\n      {{/if}}\\n    </span>\\n  </div>\\n  <div class=\\\"messenger-preview__launcher__vertical-ruler\\\">\\n    <span\\n      class=\\\"messenger-preview__launcher__vertical-ruler-value\\\"\\n      data-test-messenger-preview__launcher__vertical-ruler-value\\n    >\\n      {{#if zoomInLauncherAndroid}}\\n        {{configuration.verticalPaddingAndroid}}\\n      {{else if zoomInLauncherIOS}}\\n        {{configuration.verticalPaddingIOS}}\\n      {{else}}\\n        {{configuration.verticalPadding}}\\n      {{/if}}\\n    </span>\\n  </div>\\n  {{#unless showMessengerLauncher}}\\n    <div class=\\\"messenger-preview__home__frame\\\"></div>\\n  {{/unless}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/messenger-preview/home.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/home.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { bind } from '@ember/runloop';\nimport $ from 'jquery';\nimport { isNone } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport { equal, not, or, readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { addEventListener, runDisposables } from 'ember-lifeline';\nconst LEADS_AND_VISITORS_TARGET_TYPE = 'leads_and_visitors';\n\nexport default Component.extend({\n  appService: service(),\n  intercomEventService: service(),\n  app: readOnly('appService.app'),\n  'data-test-messenger-preview': true,\n  classNames: ['messenger-preview__home'],\n\n  classNameBindings: [\n    'messengerAlignedToLeft:o__messenger-align-left',\n    'hideBorders:o__no-borders',\n    'zoomInLauncher:o__messenger-launcher-zoom',\n  ],\n\n  hideUserTypeButtonGroup: false,\n  messengerAlignedToLeft: equal('configuration.alignment', 'left'),\n  hideBorders: false,\n\n  showMessengerLauncher: computed(\n    'configuration.launcherVisibleForUsers',\n    'configuration.launcherVisibleForVisitors',\n    'targetUserType',\n    function() {\n      let targetUserType = this.targetUserType;\n      if (this.get('configuration.launcherVisibleForUsers') && targetUserType === 'users') {\n        return true;\n      }\n      if (\n        this.get('configuration.launcherVisibleForVisitors') &&\n        targetUserType === 'leads_and_visitors'\n      ) {\n        return true;\n      }\n      return false;\n    },\n  ),\n\n  zoomInLauncher: or('zoomInLauncherWeb', 'zoomInLauncherAndroid', 'zoomInLauncherIOS'),\n  zoomInLauncherMobile: or('zoomInLauncherAndroid', 'zoomInLauncherIOS'),\n  webLauncher: not('zoomInLauncherMobile'),\n\n  didInsertElement() {\n    this._super(...arguments);\n    if (isNone(this.targetUserType)) {\n      this.set('targetUserType', LEADS_AND_VISITORS_TARGET_TYPE);\n    }\n\n    addEventListener(\n      this,\n      this.element.querySelector('.messenger-preview__home__scrolling-area'),\n      'scroll',\n      bind(this, this.containerScroll),\n    );\n  },\n\n  destroy() {\n    this._super(...arguments);\n    runDisposables(this);\n  },\n\n  targetUserTypeOptions: [\n    { value: 'leads_and_visitors', label: 'Visitors' },\n    { value: 'users', label: 'Users' },\n  ],\n\n  containerScroll() {\n    let scrollTop = $('.messenger-preview__home__scrolling-area', this.element).scrollTop();\n    this.set('headerScrollOffset', scrollTop);\n  },\n\n  inboundConversationsDisabled: computed(\n    'targetUserType',\n    'configuration.{inboundConversationsEnabledForUsers,inboundConversationsEnabledForVisitors}',\n    function() {\n      if (this.targetUserType === 'users') {\n        return !this.configuration.inboundConversationsEnabledForUsers;\n      } else {\n        return !this.configuration.inboundConversationsEnabledForVisitors;\n      }\n    },\n  ),\n\n  actions: {\n    changeTargetUserType(value) {\n      this.set('targetUserType', value);\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: `messenger_settings_preview_${value}`,\n        context: 'from_preview',\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasAvatar}}\\n  <img src=\\\"{{avatarURL}}\\\" height=\\\"{{height}}\\\" width=\\\"{{width}}\\\">\\n{{else}}\\n  {{initial}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasAvatar}}\\n  <img src=\\\"{{avatarURL}}\\\" height=\\\"{{height}}\\\" width=\\\"{{width}}\\\">\\n{{else}}\\n  {{initial}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/messenger-preview/home/avatar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/home/avatar.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  classNameBindings: ['hasAvatar:o__has-avatar'],\n  avatarURL: readOnly('teammate.avatar.image_urls.square_128'),\n  hasAvatar: readOnly('teammate.has_photo_avatar'),\n  'data-test-messenger-preview-avatar': true,\n\n  initial: computed('teammate.avatar.initials', function() {\n    let initials = this.get('teammate.avatar.initials');\n    return initials && initials.length > 0 ? initials.charAt(0).toUpperCase() : null;\n  }),\n  height: 56,\n  width: 56,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each sortedSlots as |slot|}}\\n  <AppFramework::Canvas\\n    class=\\\"messenger-preview__home__card layout__box\\\"\\n    @canvas={{slot.canvas}}\\n  />\\n{{/each}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each sortedSlots as |slot|}}\\n  <AppFramework::Canvas\\n    class=\\\"messenger-preview__home__card layout__box\\\"\\n    @canvas={{slot.canvas}}\\n  />\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/messenger-preview/home/cards.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/home/cards.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { sort } from '@ember/object/computed';\nimport { findByProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  tagName: '',\n  slotGroup: findByProperty('configuration.slotGroups', 'targetUserType', 'targetUserType'),\n  slotSortBy: ['displayOrder:asc'],\n  sortedSlots: sort('slotGroup.slots', 'slotSortBy'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col messenger-preview__home__card messenger-preview__home__conversation-card\\\">\\n  {{#if @configuration.accessToTeammateEnabled}}\\n    <div class=\\\"messenger-preview__home__conversation-card__start-a-convo\\\">\\n      {{t \\\"start_a_conversation\\\"}}\\n    </div>\\n    <div class=\\\"flex flex-col mt-3\\\">\\n      <div class=\\\"flex flex-row items-center\\\">\\n        <div class=\\\"flex flex-row mr-2\\\">\\n          <MessengerPreview::AdminAvatarStack @sampleTeammates={{@configuration.sampleTeammates}}/>\\n        </div>\\n        <div class=\\\"flex flex-col o__has-rows ml-2\\\">\\n          {{#if @configuration.hasUnknownResponseTime}}\\n            <div class=\\\"messenger-preview__home__conversation-card__unknown-response-time\\\">\\n              {{t @configuration.messengerResponseTimeKey}}\\n            </div>\\n          {{else}}\\n            <MessengerPreview::ReplyExpectations @configuration={{@configuration}} />\\n          {{/if}}\\n        </div>\\n      </div>\\n      <div class=\\\"flex flex-row items-center messenger-preview__home__conversation-card__button mt-4  {{if @configuration.isPrimaryColorLight \\\"o__light-mode\\\"}}\\\">\\n        <div class=\\\"messenger-preview__home__conversation-card__send-icon\\\">\\n          {{inline-svg \\\"messenger-settings/new-conversation-icon\\\"}}\\n        </div>\\n        <div data-test-new-conversation-button>\\n          {{t \\\"send_us_a_message\\\"}}\\n        </div>\\n      </div>\\n    </div>\\n  {{else}}\\n    <div class=\\\"messenger-preview__home__conversation-card__start-a-convo\\\">\\n      {{t \\\"how_can_we_help\\\"}}\\n    </div>\\n    <div class=\\\"flex flex-col mt-3\\\">\\n      <div class=\\\"flex flex-row items-center\\\">\\n        <div class=\\\"flex flex-col o__has-rows messenger-preview__bot-onlu-expectations-text\\\">\\n          {{t \\\"tell_us_what_you_need\\\"}}\\n        </div>\\n      </div>\\n      <div class=\\\"flex flex-row items-center messenger-preview__home__conversation-card__button mt-4  {{if @configuration.isPrimaryColorLight \\\"o__light-mode\\\"}}\\\">\\n        <div class=\\\"messenger-preview__home__conversation-card__send-icon\\\">\\n          {{inline-svg \\\"messenger-settings/ask-question-icon\\\"}}\\n        </div>\\n        <div data-test-new-conversation-button>\\n          {{t \\\"ask_a_question\\\"}}\\n        </div>\\n      </div>\\n    </div>\\n\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col messenger-preview__home__card messenger-preview__home__conversation-card\\\">\\n  {{#if @configuration.accessToTeammateEnabled}}\\n    <div class=\\\"messenger-preview__home__conversation-card__start-a-convo\\\">\\n      {{t \\\"start_a_conversation\\\"}}\\n    </div>\\n    <div class=\\\"flex flex-col mt-3\\\">\\n      <div class=\\\"flex flex-row items-center\\\">\\n        <div class=\\\"flex flex-row mr-2\\\">\\n          <MessengerPreview::AdminAvatarStack @sampleTeammates={{@configuration.sampleTeammates}}/>\\n        </div>\\n        <div class=\\\"flex flex-col o__has-rows ml-2\\\">\\n          {{#if @configuration.hasUnknownResponseTime}}\\n            <div class=\\\"messenger-preview__home__conversation-card__unknown-response-time\\\">\\n              {{t @configuration.messengerResponseTimeKey}}\\n            </div>\\n          {{else}}\\n            <MessengerPreview::ReplyExpectations @configuration={{@configuration}} />\\n          {{/if}}\\n        </div>\\n      </div>\\n      <div class=\\\"flex flex-row items-center messenger-preview__home__conversation-card__button mt-4  {{if @configuration.isPrimaryColorLight \\\"o__light-mode\\\"}}\\\">\\n        <div class=\\\"messenger-preview__home__conversation-card__send-icon\\\">\\n          {{inline-svg \\\"messenger-settings/new-conversation-icon\\\"}}\\n        </div>\\n        <div data-test-new-conversation-button>\\n          {{t \\\"send_us_a_message\\\"}}\\n        </div>\\n      </div>\\n    </div>\\n  {{else}}\\n    <div class=\\\"messenger-preview__home__conversation-card__start-a-convo\\\">\\n      {{t \\\"how_can_we_help\\\"}}\\n    </div>\\n    <div class=\\\"flex flex-col mt-3\\\">\\n      <div class=\\\"flex flex-row items-center\\\">\\n        <div class=\\\"flex flex-col o__has-rows messenger-preview__bot-onlu-expectations-text\\\">\\n          {{t \\\"tell_us_what_you_need\\\"}}\\n        </div>\\n      </div>\\n      <div class=\\\"flex flex-row items-center messenger-preview__home__conversation-card__button mt-4  {{if @configuration.isPrimaryColorLight \\\"o__light-mode\\\"}}\\\">\\n        <div class=\\\"messenger-preview__home__conversation-card__send-icon\\\">\\n          {{inline-svg \\\"messenger-settings/ask-question-icon\\\"}}\\n        </div>\\n        <div data-test-new-conversation-button>\\n          {{t \\\"ask_a_question\\\"}}\\n        </div>\\n      </div>\\n    </div>\\n\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/home/conversation-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/home/conversation-card.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col messenger-preview__home__card messenger-preview__home__previous-conversation-card\\\" data-test-messenger-preview-conversation-list>\\n  <div class=\\\"flex flex-row items-center\\\">\\n    <div class=\\\"text-md font-semibold pl-6 mb-1 layout__box o__flexes-to-1\\\">\\n      {{t \\\"continue_the_conversation\\\"}}\\n    </div>\\n  </div>\\n  <div class=\\\"flex flex-col\\\">\\n    <MessengerPreview::Home::ConversationList::FakeListItem @isPrimaryColorLight={{@configuration.isPrimaryColorLight}} />\\n    <MessengerPreview::Home::ConversationList::FakeListItem @isPrimaryColorLight={{@configuration.isPrimaryColorLight}} />\\n    <MessengerPreview::Home::ConversationList::FakeListItem @isPrimaryColorLight={{@configuration.isPrimaryColorLight}} />\\n  </div>\\n  <div class=\\\"messenger-preview__home__conversation-list__see-all-convos-link\\\">\\n    {{t \\\"see_all_conversations\\\"}}\\n  </div>\\n</div>\", {\"contents\":\"<div class=\\\"flex flex-col messenger-preview__home__card messenger-preview__home__previous-conversation-card\\\" data-test-messenger-preview-conversation-list>\\n  <div class=\\\"flex flex-row items-center\\\">\\n    <div class=\\\"text-md font-semibold pl-6 mb-1 layout__box o__flexes-to-1\\\">\\n      {{t \\\"continue_the_conversation\\\"}}\\n    </div>\\n  </div>\\n  <div class=\\\"flex flex-col\\\">\\n    <MessengerPreview::Home::ConversationList::FakeListItem @isPrimaryColorLight={{@configuration.isPrimaryColorLight}} />\\n    <MessengerPreview::Home::ConversationList::FakeListItem @isPrimaryColorLight={{@configuration.isPrimaryColorLight}} />\\n    <MessengerPreview::Home::ConversationList::FakeListItem @isPrimaryColorLight={{@configuration.isPrimaryColorLight}} />\\n  </div>\\n  <div class=\\\"messenger-preview__home__conversation-list__see-all-convos-link\\\">\\n    {{t \\\"see_all_conversations\\\"}}\\n  </div>\\n</div>\",\"moduleName\":\"embercom/components/messenger-preview/home/conversation-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/home/conversation-list.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__has-columns messenger-preview__home__conversation-list__item\\\">\\n  <div class=\\\"layout__box u__mr__10\\\">\\n    <div class=\\\"messenger-preview__home__conversation-list__fake-avatar\\\"></div>\\n  </div>\\n  <div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      <div class=\\\"messenger-preview__home__conversation-list__fake-name u__mb__5\\\"></div>\\n      <div class=\\\"messenger-preview__home__conversation-list__fake-time u__ml__10\\\"></div>\\n    </div>\\n    <div class=\\\"messenger-preview__home__conversation-list__fake-conversation\\\"></div>\\n  </div>\\n  <div class=\\\"layout__box messenger-preview__home__conversation-list__chevron {{if @isPrimaryColorLight \\\"o__light-mode\\\"}}\\\">\\n    {{inline-svg \\\"accordion/chevron-right.svg\\\"}}\\n  </div>\\n</div>\", {\"contents\":\"<div class=\\\"layout__box o__has-columns messenger-preview__home__conversation-list__item\\\">\\n  <div class=\\\"layout__box u__mr__10\\\">\\n    <div class=\\\"messenger-preview__home__conversation-list__fake-avatar\\\"></div>\\n  </div>\\n  <div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      <div class=\\\"messenger-preview__home__conversation-list__fake-name u__mb__5\\\"></div>\\n      <div class=\\\"messenger-preview__home__conversation-list__fake-time u__ml__10\\\"></div>\\n    </div>\\n    <div class=\\\"messenger-preview__home__conversation-list__fake-conversation\\\"></div>\\n  </div>\\n  <div class=\\\"layout__box messenger-preview__home__conversation-list__chevron {{if @isPrimaryColorLight \\\"o__light-mode\\\"}}\\\">\\n    {{inline-svg \\\"accordion/chevron-right.svg\\\"}}\\n  </div>\\n</div>\",\"moduleName\":\"embercom/components/messenger-preview/home/conversation-list/fake-list-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/home/conversation-list/fake-list-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasContent}}\\n  <div class=\\\"messenger-preview__home__header__content-inner\\\">\\n    {{#if configuration.logoURL}}\\n      <MessengerPreview::Home::Header::Logo @configuration={{configuration}} />\\n    {{/if}}\\n    {{#if configuration.greetingText}}\\n      <MessengerPreview::Home::Header::Greeting @configuration={{configuration}} />\\n    {{/if}}\\n    {{#if configuration.aboutUsText}}\\n      <MessengerPreview::Header::AboutTheTeam\\n        @configuration={{configuration}}\\n        class=\\\"messenger-preview__home__header__about-the-team\\\"\\n      />\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasContent}}\\n  <div class=\\\"messenger-preview__home__header__content-inner\\\">\\n    {{#if configuration.logoURL}}\\n      <MessengerPreview::Home::Header::Logo @configuration={{configuration}} />\\n    {{/if}}\\n    {{#if configuration.greetingText}}\\n      <MessengerPreview::Home::Header::Greeting @configuration={{configuration}} />\\n    {{/if}}\\n    {{#if configuration.aboutUsText}}\\n      <MessengerPreview::Header::AboutTheTeam\\n        @configuration={{configuration}}\\n        class=\\\"messenger-preview__home__header__about-the-team\\\"\\n      />\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/messenger-preview/home/header-content.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/home/header-content.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport $ from 'jquery';\nimport Component from '@ember/component';\nexport default Component.extend({\n  tagName: 'div',\n  classNames: ['messenger-preview__home__header__content'],\n  classNameBindings: ['invisible:u__invisible'],\n\n  hasContent: computed(\n    'configuration.logoURL',\n    'configuration.greetingText',\n    'configuration.aboutUsText',\n    function() {\n      let logoURL = this.get('configuration.logoURL');\n      let greetingText = this.get('configuration.greetingText');\n      let aboutUsText = this.get('configuration.aboutUsText');\n      return logoURL || greetingText || aboutUsText;\n    },\n  ),\n\n  didRender() {\n    this._super(...arguments);\n    this.updateOpacity();\n  },\n\n  updateOpacity() {\n    let fadeOffset = this.fadeOffset;\n    if (fadeOffset === undefined) {\n      return;\n    }\n    let height = $(this.element).height();\n    let opacity = (height - fadeOffset) / height;\n    $(this.element)\n      .get(0)\n      .style.setProperty('--content-opacity', opacity);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"messenger-preview__home__header__fixed\\\">\\n  <div class=\\\"messenger-preview__home__header__gradient layout__box\\\">\\n    <div class=\\\"messenger-preview__home__header__background-pattern o__background-{{configuration.backgroundPatternNumber}}\\\">\\n      <MessengerPreview::Home::HeaderContent\\n        @configuration={{configuration}}\\n        @invisible={{true}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"messenger-preview__home__header__fixed\\\">\\n  <div class=\\\"messenger-preview__home__header__gradient layout__box\\\">\\n    <div class=\\\"messenger-preview__home__header__background-pattern o__background-{{configuration.backgroundPatternNumber}}\\\">\\n      <MessengerPreview::Home::HeaderContent\\n        @configuration={{configuration}}\\n        @invisible={{true}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/home/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/home/header.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nexport default Component.extend({\n  tagName: '',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{greetingWithRenderedFallbacks}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{greetingWithRenderedFallbacks}}\\n\",\"moduleName\":\"embercom/components/messenger-preview/home/header/greeting.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/home/header/greeting.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport renderPreview from '@intercom/embercom-composer/lib/render-preview';\nimport ResizeText from 'ember-resize-text/mixins/resize-text';\nimport { htmlToTextContent } from 'embercom/lib/html-unescape';\n\nexport default Component.extend(ResizeText, {\n  minSize: 20,\n  maxSize: 32,\n  classNames: ['messenger-preview__home__header__greeting'],\n  greetingWithRenderedFallbacks: computed('configuration.greetingText', function() {\n    let greetingText = this.get('configuration.greetingText') || '';\n    let previewHtml = renderPreview(greetingText, {});\n    return htmlToTextContent(previewHtml);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<img src={{configuration.logoURL}}>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<img src={{configuration.logoURL}}>\\n\",\"moduleName\":\"embercom/components/messenger-preview/home/header/logo.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/home/header/logo.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  classNames: ['messenger-preview__home__header__logo'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if configuration.showWeRunOnIntercom}}\\n  <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n  <div class=\\\"messenger-preview__home__we-run-on-intercom layout__box text-gray t__centered\\\">\\n    {{ic-interface-icon 'intercom'}} {{t 'we_run_on_intercom'}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if configuration.showWeRunOnIntercom}}\\n  <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n  <div class=\\\"messenger-preview__home__we-run-on-intercom layout__box text-gray t__centered\\\">\\n    {{ic-interface-icon 'intercom'}} {{t 'we_run_on_intercom'}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/messenger-preview/home/we-run-on-intercom.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/home/we-run-on-intercom.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  tagName: '',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col justify-center items-center {{\\n    concat \\\"messenger-preview__launcher \\\"\\n    (if @animated \\\"o__animated \\\")\\n    (if (eq @configuration.alignment \\\"left\\\") \\\"o__align-left\\\")\\n  }}\\\" ...attributes data-test-messenger-preview-launcher>\\n  <MessengerPreview::Styles @configuration={{@configuration}} />\\n  {{#if @messengerIsOpen}}\\n    {{inline-svg \\\"messenger-preview/minimize-icon\\\"}}\\n  {{else if @showLogoOutline}}\\n    <div class=\\\"messenger-preview__launcher__icon__custom {{unless @configuration.isPrimaryColorLight \\\"o__dark\\\"}}\\\">\\n      {{inline-svg \\\"messenger-preview/launcher-icon\\\"}}\\n    </div>\\n  {{else}}\\n    {{inline-svg \\\"messenger-preview/launcher-icon\\\"}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col justify-center items-center {{\\n    concat \\\"messenger-preview__launcher \\\"\\n    (if @animated \\\"o__animated \\\")\\n    (if (eq @configuration.alignment \\\"left\\\") \\\"o__align-left\\\")\\n  }}\\\" ...attributes data-test-messenger-preview-launcher>\\n  <MessengerPreview::Styles @configuration={{@configuration}} />\\n  {{#if @messengerIsOpen}}\\n    {{inline-svg \\\"messenger-preview/minimize-icon\\\"}}\\n  {{else if @showLogoOutline}}\\n    <div class=\\\"messenger-preview__launcher__icon__custom {{unless @configuration.isPrimaryColorLight \\\"o__dark\\\"}}\\\">\\n      {{inline-svg \\\"messenger-preview/launcher-icon\\\"}}\\n    </div>\\n  {{else}}\\n    {{inline-svg \\\"messenger-preview/launcher-icon\\\"}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/launcher.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/launcher.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessengerPreview::Styles @configuration={{configuration}} />\\n<div class=\\\"messenger-preview {{if hideOverflow \\\"messenger-preview__no-overflow\\\"}}\\\">\\n  {{yield\\n    (hash\\n      stream=(component \\\"messenger-preview/stream\\\")\\n      composer=(component \\\"messenger-preview/composer\\\")\\n    )\\n  }}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessengerPreview::Styles @configuration={{configuration}} />\\n<div class=\\\"messenger-preview {{if hideOverflow \\\"messenger-preview__no-overflow\\\"}}\\\">\\n  {{yield\\n    (hash\\n      stream=(component \\\"messenger-preview/stream\\\")\\n      composer=(component \\\"messenger-preview/composer\\\")\\n    )\\n  }}\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/messenger.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/messenger.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  hideOverflow: true,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#unless @collapsed}}\\n  <div class=\\\"messenger-preview__home__conversation-card__reply-time-header\\\" data-test-messenger-preview-reply-time-header>\\n    {{t \\\"conversation_card_reply_time_header\\\"}}\\n  </div>\\n{{/unless}}\\n<div class=\\\"flex flex-row gap-1\\\">\\n  <div class=\\\"flex flex-row items-center messenger-preview__home__conversation-card__clock-icon\\n\\t    {{if @headerStyle 'o__header'}}\\n\\t    {{if (and (not @headerStyle) (eq @configuration.appColors.primary_type \\\"light\\\")) 'o__gray'}}\\n    \\\">\\n    {{ic-interface-icon \\\"clock\\\" solo=true}}\\n  </div>\\n  <div\\n    class=\\\"messenger-preview__home__conversation-card__reply-time-value {{if @collapsed 'o__collapsed'}} {{if @headerStyle 'o__header'}}\\\"\\n    data-test-messenger-preview-reply-time-value\\n  >\\n    {{t @configuration.messengerResponseTimeKey}}\\n  </div>\\n</div>\", {\"contents\":\"{{#unless @collapsed}}\\n  <div class=\\\"messenger-preview__home__conversation-card__reply-time-header\\\" data-test-messenger-preview-reply-time-header>\\n    {{t \\\"conversation_card_reply_time_header\\\"}}\\n  </div>\\n{{/unless}}\\n<div class=\\\"flex flex-row gap-1\\\">\\n  <div class=\\\"flex flex-row items-center messenger-preview__home__conversation-card__clock-icon\\n\\t    {{if @headerStyle 'o__header'}}\\n\\t    {{if (and (not @headerStyle) (eq @configuration.appColors.primary_type \\\"light\\\")) 'o__gray'}}\\n    \\\">\\n    {{ic-interface-icon \\\"clock\\\" solo=true}}\\n  </div>\\n  <div\\n    class=\\\"messenger-preview__home__conversation-card__reply-time-value {{if @collapsed 'o__collapsed'}} {{if @headerStyle 'o__header'}}\\\"\\n    data-test-messenger-preview-reply-time-value\\n  >\\n    {{t @configuration.messengerResponseTimeKey}}\\n  </div>\\n</div>\",\"moduleName\":\"embercom/components/messenger-preview/reply-expectations.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/reply-expectations.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{yield\\n  (\\n    hash\\n    operatorPart=(component 'messenger-preview/stream/operator-part')\\n    adminComment=(component 'messenger-preview/stream/admin-comment')\\n    userComment=(component 'messenger-preview/stream/user-comment')\\n    timestamp=(component 'messenger-preview/stream/timestamp')\\n    quickReplies=(component 'messenger-preview/stream/quick-replies')\\n    articleCard=(component 'messenger-preview/stream/article-card')\\n    emptyState=(component 'messenger-preview/stream/empty-state')\\n  )\\n}}\\n\", {\"contents\":\"{{yield\\n  (\\n    hash\\n    operatorPart=(component 'messenger-preview/stream/operator-part')\\n    adminComment=(component 'messenger-preview/stream/admin-comment')\\n    userComment=(component 'messenger-preview/stream/user-comment')\\n    timestamp=(component 'messenger-preview/stream/timestamp')\\n    quickReplies=(component 'messenger-preview/stream/quick-replies')\\n    articleCard=(component 'messenger-preview/stream/article-card')\\n    emptyState=(component 'messenger-preview/stream/empty-state')\\n  )\\n}}\\n\",\"moduleName\":\"embercom/components/messenger-preview/stream.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/stream.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"messenger-preview__stream__part layout__box o__has-columns o__flexes-to-1 u__ml__25\\\"\\n  data-test-messenger-preview-admin-comment\\n>\\n  <img\\n    src=\\\"{{@admin.avatar.image_urls.square_25}}\\\"\\n    class=\\\"messenger-preview__stream__avatar\\\"\\n  />\\n  <div\\n    class=\\\"messenger-preview__stream__comment-holder\\\"\\n    data-test-admin-stream-comment\\n  >\\n    <MessengerPreview::Stream::Comment\\n      @color=\\\"#1d364b\\\"\\n      @backgroundColor=\\\"#f5f5f5\\\"\\n    >\\n      {{@text}}\\n    </MessengerPreview::Stream::Comment>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"messenger-preview__stream__part layout__box o__has-columns o__flexes-to-1 u__ml__25\\\"\\n  data-test-messenger-preview-admin-comment\\n>\\n  <img\\n    src=\\\"{{@admin.avatar.image_urls.square_25}}\\\"\\n    class=\\\"messenger-preview__stream__avatar\\\"\\n  />\\n  <div\\n    class=\\\"messenger-preview__stream__comment-holder\\\"\\n    data-test-admin-stream-comment\\n  >\\n    <MessengerPreview::Stream::Comment\\n      @color=\\\"#1d364b\\\"\\n      @backgroundColor=\\\"#f5f5f5\\\"\\n    >\\n      {{@text}}\\n    </MessengerPreview::Stream::Comment>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/stream/admin-comment.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/stream/admin-comment.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__centers-horizontally\\\" data-test-messenger-preview-article-card>\\n  <div class=\\\"messenger-preview__stream__form messenger-preview__stream__article-card layout__box o__flexes-to-1\\\">\\n    <h2 class=\\\"messenger-preview__stream__article-card__title u__mb__10\\\">How to reset your password</h2>\\n    <div class=\\\"u__one-truncated-line\\\">This article explains how to change your password</div>\\n    <div class=\\\"avatar__container o__m u__mt__10 layout__box o__centers-vertically\\\">\\n      {{ic-avatar model=@admin size='m' contained=true}}\\n      <div class=\\\"t__light-text\\\" data-test-messenger-preview-article-card-author>Written by {{@admin.nameOrEmail}}</div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__centers-horizontally\\\" data-test-messenger-preview-article-card>\\n  <div class=\\\"messenger-preview__stream__form messenger-preview__stream__article-card layout__box o__flexes-to-1\\\">\\n    <h2 class=\\\"messenger-preview__stream__article-card__title u__mb__10\\\">How to reset your password</h2>\\n    <div class=\\\"u__one-truncated-line\\\">This article explains how to change your password</div>\\n    <div class=\\\"avatar__container o__m u__mt__10 layout__box o__centers-vertically\\\">\\n      {{ic-avatar model=@admin size='m' contained=true}}\\n      <div class=\\\"t__light-text\\\" data-test-messenger-preview-article-card-author>Written by {{@admin.nameOrEmail}}</div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/stream/article-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/stream/article-card.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"messenger-preview__stream__form messenger-preview__stream__article-suggestion-form\\\" data-test-messenger-preview-suggestions-card>\\n  <div class=\\\"messenger-preview__stream__article-suggestion-form__option\\\">How to reset your password</div>\\n  <div class=\\\"messenger-preview__stream__article-suggestion-form__option\\\">How to set up email notifications</div>\\n  <div class=\\\"messenger-preview__stream__article-suggestion-form__option\\\">How to edit your username</div>\\n  <div class=\\\"messenger-preview__stream__help-center-link\\\">\\n    {{ic-interface-icon 'new-window' color=\\\"blue\\\" solo=true}}\\n    More in the Help Center\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"messenger-preview__stream__form messenger-preview__stream__article-suggestion-form\\\" data-test-messenger-preview-suggestions-card>\\n  <div class=\\\"messenger-preview__stream__article-suggestion-form__option\\\">How to reset your password</div>\\n  <div class=\\\"messenger-preview__stream__article-suggestion-form__option\\\">How to set up email notifications</div>\\n  <div class=\\\"messenger-preview__stream__article-suggestion-form__option\\\">How to edit your username</div>\\n  <div class=\\\"messenger-preview__stream__help-center-link\\\">\\n    {{ic-interface-icon 'new-window' color=\\\"blue\\\" solo=true}}\\n    More in the Help Center\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/stream/article-suggestion-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/stream/article-suggestion-card.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div style=\\\"color: {{color}}; background-color: {{backgroundColor}};\\\" class=\\\"messenger-preview__stream__part-container\\\" data-test-messenger-preview-comment>\\n  {{yield}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div style=\\\"color: {{color}}; background-color: {{backgroundColor}};\\\" class=\\\"messenger-preview__stream__part-container\\\" data-test-messenger-preview-comment>\\n  {{yield}}\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/stream/comment.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/stream/comment.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"messenger-preview__stream__form messenger-preview__stream__conversation-rating-form\\\" data-test-messenger-preview-conversation-rating-card>\\n  <div>Rate your conversation</div>\\n  <div class=\\\"messenger-preview__stream__conversation-rating-form__response\\\">\\n    <span>😠</span>\\n    <span>🙁</span>\\n    <span>😐</span>\\n    <span>😃</span>\\n    <span>🤩</span>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"messenger-preview__stream__form messenger-preview__stream__conversation-rating-form\\\" data-test-messenger-preview-conversation-rating-card>\\n  <div>Rate your conversation</div>\\n  <div class=\\\"messenger-preview__stream__conversation-rating-form__response\\\">\\n    <span>😠</span>\\n    <span>🙁</span>\\n    <span>😐</span>\\n    <span>😃</span>\\n    <span>🤩</span>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/stream/conversation-rating-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/stream/conversation-rating-card.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span class=\\\"flex flex-1 justify-center items-center font-lg font-medium text-gray\\\" data-test-messenger-preview-empty-state>\\n  {{yield}}\\n</span>\\n\", {\"contents\":\"<span class=\\\"flex flex-1 justify-center items-center font-lg font-medium text-gray\\\" data-test-messenger-preview-empty-state>\\n  {{yield}}\\n</span>\\n\",\"moduleName\":\"embercom/components/messenger-preview/stream/empty-state.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/stream/empty-state.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"messenger-preview__stream__form\\\"\\n  data-test-messenger-preview-qualification-form\\n>\\n  {{#each qualificationAttributesAsFullAttributes as |qualificationAttribute index|}}\\n    <MessengerPreview::Stream::Form::Item\\n      @index={{add 1 index}}\\n      @attribute={{qualificationAttribute}}\\n    />\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"messenger-preview__stream__form\\\"\\n  data-test-messenger-preview-qualification-form\\n>\\n  {{#each qualificationAttributesAsFullAttributes as |qualificationAttribute index|}}\\n    <MessengerPreview::Stream::Form::Item\\n      @index={{add 1 index}}\\n      @attribute={{qualificationAttribute}}\\n    />\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/stream/form.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/stream/form.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  attributeService: service(),\n\n  qualificationAttributesAsFullAttributes: computed(\n    'qualificationAttributes.@each.identifier',\n    'attributeIdentifiers',\n    function() {\n      let identifiers =\n        this.attributeIdentifiers || this.qualificationAttributes.mapBy('identifier');\n      return this.attributeService.findByIdentifiers(identifiers);\n    },\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class='messenger-preview__stream__form__item'>\\n  {{#if @attribute}}\\n    <div class=\\\"messenger-preview__stream__form__label\\\" data-test-messenger-preview-qualification-form-item>\\n      {{#if @index}}{{@index}}.{{/if}}\\n      {{@attribute.name}}\\n    </div>\\n    {{#if @attribute.hasOptions}}\\n      {{#if @attribute.fitsButtonGroupLayout}}\\n        <div class=\\\"messenger-preview__stream__form__input o__button-group\\\">\\n          {{#each @attribute.options as |option|}}\\n            <div class=\\\"messenger-preview__stream__form__input-option u__center-layout\\\">{{option.value}}</div>\\n          {{/each}}\\n        </div>\\n      {{else}}\\n        <div class=\\\"messenger-preview__stream__form__input o__select\\\">\\n          <div class=\\\"u__center-item-vertically\\\">\\n            Choose one&hellip;\\n          </div>\\n          <div class=\\\"messenger-preview__stream__form__select-caret\\\">\\n            {{ic-interface-icon 'small-down-arrow' solo=true}}\\n          </div>\\n        </div>\\n      {{/if}}\\n    {{else if (eq @attribute.type 'boolean')}}\\n      <div class=\\\"messenger-preview__stream__form__input o__boolean\\\">\\n        <div class=\\\"messenger-preview__stream__form__input-option u__center-layout\\\">Yes</div>\\n        <div class=\\\"messenger-preview__stream__form__input-option u__center-layout\\\">No</div>\\n      </div>\\n    {{else if (eq @attribute.identifier 'phone')}}\\n      <div class=\\\"messenger-preview__stream__form__input o__string\\\">\\n        <div class=\\\"messenger-preview__stream__form__input-placeholder u__center-item-vertically\\\">\\n          <span class=\\\"messenger-preview__stream__form__country-code\\\">{{this.usFlag}} +1</span> 123 456 7890\\n        </div>\\n        <div class=\\\"messenger-preview__stream__form__submit\\\">&nbsp;</div>\\n      </div>\\n    {{else}}\\n      <div class=\\\"messenger-preview__stream__form__input o__string\\\">\\n        <div class=\\\"messenger-preview__stream__form__input-placeholder u__center-item-vertically\\\">\\n          {{this.placeholder}}&nbsp;\\n        </div>\\n        <div class=\\\"messenger-preview__stream__form__submit\\\">&nbsp;</div>\\n      </div>\\n    {{/if}}\\n  {{/if}}\\n</div>\", {\"contents\":\"<div class='messenger-preview__stream__form__item'>\\n  {{#if @attribute}}\\n    <div class=\\\"messenger-preview__stream__form__label\\\" data-test-messenger-preview-qualification-form-item>\\n      {{#if @index}}{{@index}}.{{/if}}\\n      {{@attribute.name}}\\n    </div>\\n    {{#if @attribute.hasOptions}}\\n      {{#if @attribute.fitsButtonGroupLayout}}\\n        <div class=\\\"messenger-preview__stream__form__input o__button-group\\\">\\n          {{#each @attribute.options as |option|}}\\n            <div class=\\\"messenger-preview__stream__form__input-option u__center-layout\\\">{{option.value}}</div>\\n          {{/each}}\\n        </div>\\n      {{else}}\\n        <div class=\\\"messenger-preview__stream__form__input o__select\\\">\\n          <div class=\\\"u__center-item-vertically\\\">\\n            Choose one&hellip;\\n          </div>\\n          <div class=\\\"messenger-preview__stream__form__select-caret\\\">\\n            {{ic-interface-icon 'small-down-arrow' solo=true}}\\n          </div>\\n        </div>\\n      {{/if}}\\n    {{else if (eq @attribute.type 'boolean')}}\\n      <div class=\\\"messenger-preview__stream__form__input o__boolean\\\">\\n        <div class=\\\"messenger-preview__stream__form__input-option u__center-layout\\\">Yes</div>\\n        <div class=\\\"messenger-preview__stream__form__input-option u__center-layout\\\">No</div>\\n      </div>\\n    {{else if (eq @attribute.identifier 'phone')}}\\n      <div class=\\\"messenger-preview__stream__form__input o__string\\\">\\n        <div class=\\\"messenger-preview__stream__form__input-placeholder u__center-item-vertically\\\">\\n          <span class=\\\"messenger-preview__stream__form__country-code\\\">{{this.usFlag}} +1</span> 123 456 7890\\n        </div>\\n        <div class=\\\"messenger-preview__stream__form__submit\\\">&nbsp;</div>\\n      </div>\\n    {{else}}\\n      <div class=\\\"messenger-preview__stream__form__input o__string\\\">\\n        <div class=\\\"messenger-preview__stream__form__input-placeholder u__center-item-vertically\\\">\\n          {{this.placeholder}}&nbsp;\\n        </div>\\n        <div class=\\\"messenger-preview__stream__form__submit\\\">&nbsp;</div>\\n      </div>\\n    {{/if}}\\n  {{/if}}\\n</div>\",\"moduleName\":\"embercom/components/messenger-preview/stream/form/item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/stream/form/item.hbs\"}});\nimport { htmlSafe } from '@ember/string';\nimport Component from '@glimmer/component';\nimport emoji from 'embercom/lib/emoji';\n\nexport default class Item extends Component {\n  get usFlag() {\n    return htmlSafe(emoji.emojify('&#x1F1FA;&#x1F1F8;'));\n  }\n\n  get placeholder() {\n    let attr = this.args.attribute;\n    if (['integer', 'float'].includes(attr.get('type'))) {\n      return 'Type a number…';\n    } else {\n      return '';\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessengerPreview::Styles @configuration={{configuration}} />\\n<div\\n  class=\\\"messenger-preview__stream__notification-collector-card layout__box intercom-interblocks-messenger-card\\\"\\n  data-test-messenger-preview-contact-collection-card\\n>\\n  <div class=\\\"intercom-card-component text-component first-component\\\">\\n    <p class=\\\"header align-left\\\">\\n      Get notified\\n    </p>\\n  </div>\\n  {{#if smsIsAvailable}}\\n    <div class=\\\"intercom-card-component\\\">\\n      <span class=\\\"messenger-preview__stream__notification-collector-card-tab o__selected\\\">\\n        Email\\n      </span>\\n      <span\\n        class=\\\"messenger-preview__stream__notification-collector-card-tab t__light-text\\\"\\n        data-test-messenger-preview-contact-collection-card-sms\\n      >\\n        SMS\\n      </span>\\n    </div>\\n  {{/if}}\\n  <div class=\\\"intercom-card-component input-component last-component\\\">\\n    <div class=\\\"input-container\\\">\\n      <input type=\\\"text\\\" placeholder=\\\"email@example.com\\\" />\\n      <button class=\\\"input-button\\\"></button>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessengerPreview::Styles @configuration={{configuration}} />\\n<div\\n  class=\\\"messenger-preview__stream__notification-collector-card layout__box intercom-interblocks-messenger-card\\\"\\n  data-test-messenger-preview-contact-collection-card\\n>\\n  <div class=\\\"intercom-card-component text-component first-component\\\">\\n    <p class=\\\"header align-left\\\">\\n      Get notified\\n    </p>\\n  </div>\\n  {{#if smsIsAvailable}}\\n    <div class=\\\"intercom-card-component\\\">\\n      <span class=\\\"messenger-preview__stream__notification-collector-card-tab o__selected\\\">\\n        Email\\n      </span>\\n      <span\\n        class=\\\"messenger-preview__stream__notification-collector-card-tab t__light-text\\\"\\n        data-test-messenger-preview-contact-collection-card-sms\\n      >\\n        SMS\\n      </span>\\n    </div>\\n  {{/if}}\\n  <div class=\\\"intercom-card-component input-component last-component\\\">\\n    <div class=\\\"input-container\\\">\\n      <input type=\\\"text\\\" placeholder=\\\"email@example.com\\\" />\\n      <button class=\\\"input-button\\\"></button>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/stream/notification-collector-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/stream/notification-collector-card.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"messenger-preview__stream__part layout__box o__has-columns o__flexes-to-1 {{unless @removePadding 'mx-6'}} {{if hideOverflow 'messenger-preview__stream__part__hidden-overflow'}}\\\">\\n  {{#if (and useOperatorIdentity operatorIdentityUrl)}}\\n    <img src=\\\"{{operatorIdentityUrl}}\\\" class=\\\"messenger-preview__stream__avatar\\\">\\n  {{else}}\\n    <div class=\\\"messenger-preview__stream__avatar messenger-preview__stream__operator-avatar\\\">\\n      {{inline-svg 'interface-icons/standard/operator'}}\\n    </div>\\n  {{/if}}\\n  <div class=\\\"messenger-preview__stream__comment-holder\\\" data-test-operator-stream-part>\\n    {{yield\\n      (\\n        hash\\n        form=(component 'messenger-preview/stream/form' backgroundColor='grey')\\n        upfront-collection-form=(component 'messenger-preview/stream/upfront-collection-form')\\n        comment=(component 'messenger-preview/stream/comment' color='#1d364b' backgroundColor='#f5f5f5')\\n        user-comment=(component 'messenger-preview/stream/user-comment' color='#1d364b' backgroundColor='#f5f5f5')\\n        notification-collector-card=(component 'messenger-preview/stream/notification-collector-card')\\n        conversation-rating-card=(component 'messenger-preview/stream/conversation-rating-card')\\n        article-suggestion-card=(component 'messenger-preview/stream/article-suggestion-card')\\n      )\\n    }}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"messenger-preview__stream__part layout__box o__has-columns o__flexes-to-1 {{unless @removePadding 'mx-6'}} {{if hideOverflow 'messenger-preview__stream__part__hidden-overflow'}}\\\">\\n  {{#if (and useOperatorIdentity operatorIdentityUrl)}}\\n    <img src=\\\"{{operatorIdentityUrl}}\\\" class=\\\"messenger-preview__stream__avatar\\\">\\n  {{else}}\\n    <div class=\\\"messenger-preview__stream__avatar messenger-preview__stream__operator-avatar\\\">\\n      {{inline-svg 'interface-icons/standard/operator'}}\\n    </div>\\n  {{/if}}\\n  <div class=\\\"messenger-preview__stream__comment-holder\\\" data-test-operator-stream-part>\\n    {{yield\\n      (\\n        hash\\n        form=(component 'messenger-preview/stream/form' backgroundColor='grey')\\n        upfront-collection-form=(component 'messenger-preview/stream/upfront-collection-form')\\n        comment=(component 'messenger-preview/stream/comment' color='#1d364b' backgroundColor='#f5f5f5')\\n        user-comment=(component 'messenger-preview/stream/user-comment' color='#1d364b' backgroundColor='#f5f5f5')\\n        notification-collector-card=(component 'messenger-preview/stream/notification-collector-card')\\n        conversation-rating-card=(component 'messenger-preview/stream/conversation-rating-card')\\n        article-suggestion-card=(component 'messenger-preview/stream/article-suggestion-card')\\n      )\\n    }}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/stream/operator-part.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/stream/operator-part.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  appService: service(),\n  useOperatorIdentity: false,\n  operatorIdentityUrl: readOnly('appService.app.operatorBot.avatar.image_urls.square_50'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row justify-end flex-wrap mx-6\\\">\\n  {{#each @replies as |reply| }}\\n    <div class=\\\"messenger-preview__stream__quick-reply-button\\\" data-test-quick-reply-preview-option=\\\"{{reply}}\\\">{{reply}}</div>\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row justify-end flex-wrap mx-6\\\">\\n  {{#each @replies as |reply| }}\\n    <div class=\\\"messenger-preview__stream__quick-reply-button\\\" data-test-quick-reply-preview-option=\\\"{{reply}}\\\">{{reply}}</div>\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/stream/quick-replies.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/stream/quick-replies.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  classNames: [\n    'flex',\n    'flex-col',\n    'flex-1',\n    'justify-end',\n    'messenger-preview__stream__quick-replies-container',\n  ],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class='messenger-preview__stream__timestamp layout__box u__ml__50 u__mb__20' style=\\\"text-align: {{textAlign}};\\\">\\n  {{yield}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class='messenger-preview__stream__timestamp layout__box u__ml__50 u__mb__20' style=\\\"text-align: {{textAlign}};\\\">\\n  {{yield}}\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/stream/timestamp.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/stream/timestamp.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"messenger-preview__stream__form\\\"\\n  data-test-messenger-preview-upfront-collection-form\\n>\\n  <div class=\\\"messenger-preview__stream__form__title\\\">Get help faster</div>\\n  <div class=\\\"messenger-preview__stream__form__subtitle\\\">Send the team some context</div>\\n  {{#each this.collectionAttributes as |attribute|}}\\n    <MessengerPreview::Stream::Form::Item\\n      @attribute={{attribute}}\\n    />\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"messenger-preview__stream__form\\\"\\n  data-test-messenger-preview-upfront-collection-form\\n>\\n  <div class=\\\"messenger-preview__stream__form__title\\\">Get help faster</div>\\n  <div class=\\\"messenger-preview__stream__form__subtitle\\\">Send the team some context</div>\\n  {{#each this.collectionAttributes as |attribute|}}\\n    <MessengerPreview::Stream::Form::Item\\n      @attribute={{attribute}}\\n    />\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/stream/upfront-collection-form.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/stream/upfront-collection-form.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class UpfrontCollectionForm extends Component {\n  @service attributeService;\n\n  get collectionAttributes() {\n    return this.attributeService.findByIdentifiers(this.args.attributeIdentifiers);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessengerPreview::Styles @configuration={{configuration}} />\\n<div\\n  class=\\\"flex flex-col items-end\\\"\\n  data-test-messenger-preview-user-comment\\n>\\n  <div class=\\\"messenger-preview__stream__part-container messenger-preview__stream__user-comment-container\\\">\\n    {{yield}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessengerPreview::Styles @configuration={{configuration}} />\\n<div\\n  class=\\\"flex flex-col items-end\\\"\\n  data-test-messenger-preview-user-comment\\n>\\n  <div class=\\\"messenger-preview__stream__part-container messenger-preview__stream__user-comment-container\\\">\\n    {{yield}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-preview/stream/user-comment.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/stream/user-comment.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<style data-test-messenger-preview-styles>\\n  * {\\n    --primary_app_color: {{@configuration.appPrimaryColor}};\\n    --secondary_app_color: {{@configuration.appSecondaryColor}};\\n    --avatar_background_color: {{@configuration.appColors.avatar_background_color}};\\n    --header_title_color: {{@configuration.appColors.header_title_color}};\\n    --header_text_color: {{@configuration.appColors.header_text_color}};\\n    --gradient_start_color: {{@configuration.appColors.gradient_start_color}};\\n    --gradient_end_color: {{@configuration.appColors.gradient_end_color}};\\n    --card_border_top_color: {{@configuration.appColors.card_border_top_color}};\\n    --button_background_color: {{@configuration.appColors.button_background_color}};\\n    --button_text_color: {{@configuration.appColors.button_text_color}};\\n    --link_color: {{@configuration.appColors.link_color}};\\n    --next-icon-url: url({{@configuration.cardAssets.nextIconUrl}});\\n    --next-icon-url-2x: url({{@configuration.cardAssets.nextIconUrl2x}});\\n    --quick_reply_text_color: {{@configuration.appColors.quick_reply_text_color}};\\n    --quick_reply_background_color: {{@configuration.appColors.quick_reply_background_color}};\\n  }\\n</style>\\n\", {\"contents\":\"<style data-test-messenger-preview-styles>\\n  * {\\n    --primary_app_color: {{@configuration.appPrimaryColor}};\\n    --secondary_app_color: {{@configuration.appSecondaryColor}};\\n    --avatar_background_color: {{@configuration.appColors.avatar_background_color}};\\n    --header_title_color: {{@configuration.appColors.header_title_color}};\\n    --header_text_color: {{@configuration.appColors.header_text_color}};\\n    --gradient_start_color: {{@configuration.appColors.gradient_start_color}};\\n    --gradient_end_color: {{@configuration.appColors.gradient_end_color}};\\n    --card_border_top_color: {{@configuration.appColors.card_border_top_color}};\\n    --button_background_color: {{@configuration.appColors.button_background_color}};\\n    --button_text_color: {{@configuration.appColors.button_text_color}};\\n    --link_color: {{@configuration.appColors.link_color}};\\n    --next-icon-url: url({{@configuration.cardAssets.nextIconUrl}});\\n    --next-icon-url-2x: url({{@configuration.cardAssets.nextIconUrl2x}});\\n    --quick_reply_text_color: {{@configuration.appColors.quick_reply_text_color}};\\n    --quick_reply_background_color: {{@configuration.appColors.quick_reply_background_color}};\\n  }\\n</style>\\n\",\"moduleName\":\"embercom/components/messenger-preview/styles.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/styles.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless loadTranslations.isRunning}}\\n  {{yield}}\\n{{/unless}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless loadTranslations.isRunning}}\\n  {{yield}}\\n{{/unless}}\\n\",\"moduleName\":\"embercom/components/messenger-preview/translation-loader-wrapper.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-preview/translation-loader-wrapper.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport translations from '@intercom/intercom-messenger-preview-translations/translations.js';\nimport { task } from 'ember-concurrency';\nexport default Component.extend({\n  tagName: '',\n  intl: service(),\n  init() {\n    this._super(...arguments);\n    this.loadTranslations.perform();\n  },\n\n  loadTranslations: task(function*() {\n    let intl = this.intl;\n    yield Object.keys(translations).forEach(async function(locale) {\n      await intl.addTranslations(locale, translations[locale]);\n    });\n  }),\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.intl.setLocale([this.locale]);\n  },\n\n  willDestroyElement() {\n    this._super(...arguments);\n    this.intl.setLocale(['en']);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Common::AccordionComponent::BodyButtonAction\\n  @model={{@settings}}\\n  @saveButtonType=\\\"primary-live\\\"\\n  @context=\\\"Messenger settings\\\"\\n  @allowSaving={{@settings.hasUnsavedChanges}}\\n  @body={{@body}}\\n  @beforeSave={{@beforeSave}}\\n  @afterSave={{@afterSave}}\\n/>\\n\", {\"contents\":\"<Common::AccordionComponent::BodyButtonAction\\n  @model={{@settings}}\\n  @saveButtonType=\\\"primary-live\\\"\\n  @context=\\\"Messenger settings\\\"\\n  @allowSaving={{@settings.hasUnsavedChanges}}\\n  @body={{@body}}\\n  @beforeSave={{@beforeSave}}\\n  @afterSave={{@afterSave}}\\n/>\\n\",\"moduleName\":\"embercom/components/messenger-settings/action-button-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/action-button-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div\\n  class=\\\"{{unless @hideSaveButtonAndSimplifyContent \\\"m__settings__messenger__left-wrap\\\"}}\\\"\\n  data-test-availability-settings\\n>\\n  <IcContent>\\n    <h4 class=\\\"t__h4\\\">\\n      Set your office hours\\n    </h4>\\n    <p>\\n      Let people know when your team will be back online. They’ll see hours converted to their own time zone.\\n    </p>\\n    <p>\\n      Your workspace timezone is set to <LinkTo\\n        @route=\\\"apps.app.settings.general\\\"\\n        @model={{this.app}}\\n      >\\n        {{this.app.formattedTimezone}}\\n      </LinkTo>\\n    </p>\\n    <OfficeHours::TimeInterval\\n      @intervalGroups={{@availabilitySettings.defaultOfficeHoursIntervalGroups}}\\n      @addRow={{action \\\"addRow\\\"}}\\n      @removeRow={{action \\\"removeRow\\\"}}\\n    />\\n    <p class=\\\"t__light-text\\\" data-test-office-hours-settings-link>\\n      Have various teams? <a href=\\\"{{href-to \\\"apps.app.settings.office-hours\\\"}}\\\">\\n        Set custom hours\\n      </a> for teams with different operating hours.\\n    </p>\\n    {{#if this.showReportingSettings}}\\n      <label data-test-reporting-settings>\\n        <span class=\\\"f__checkbox-wrapper\\\">\\n          <Input\\n            @type=\\\"checkbox\\\"\\n            @checked={{@availabilitySettings.reportingExcludeOooHours}}\\n          />\\n        </span>\\n        <span>\\n          Calculate your team’s response metrics within office hours only (recommended).\\n        </span>\\n      </label>\\n    {{/if}}\\n    <hr class=\\\"sp__hr\\\" />\\n    <h4 class=\\\"t__h4\\\" data-test-set-reply-time>\\n      Share your reply time\\n    </h4>\\n    <p>\\n      Set expectations about how quickly your team replies during office hours. Say how soon your team usually replies:\\n    </p>\\n    <label for=\\\"expected-response-delay-minutes\\\" class=\\\"u__cf mb-2\\\">\\n      <span class=\\\"f__radio-wrapper\\\">\\n        <OneWayRadio\\n          @update={{action \\\"changeSelectedResponseDelay\\\"}}\\n          @value={{this.selectedResponseDelay}}\\n          @option={{0}}\\n          @name=\\\"expected-response-delay\\\"\\n          @id=\\\"expected-response-delay-minutes\\\"\\n          data-test-replies-in-minutes={{true}}\\n        />\\n      </span>\\n      <span class=\\\"f__radio-content\\\">\\n        In a few minutes\\n      </span>\\n    </label>\\n    <label for=\\\"expected-response-delay-hours\\\" class=\\\"u__cf mb-2\\\">\\n      <span class=\\\"f__radio-wrapper\\\">\\n        <OneWayRadio\\n          @update={{action \\\"changeSelectedResponseDelay\\\"}}\\n          @value={{this.selectedResponseDelay}}\\n          @option={{1}}\\n          @name=\\\"expected-response-delay\\\"\\n          @id=\\\"expected-response-delay-hours\\\"\\n        />\\n      </span>\\n      <span class=\\\"f__radio-content\\\">\\n        In a few hours\\n      </span>\\n    </label>\\n    <label for=\\\"expected-response-delay-day\\\" class=\\\"mb-2\\\">\\n      <span class=\\\"f__radio-wrapper\\\">\\n        <OneWayRadio\\n          @update={{action \\\"changeSelectedResponseDelay\\\"}}\\n          @value={{this.selectedResponseDelay}}\\n          @option={{2}}\\n          @name=\\\"expected-response-delay\\\"\\n          @id=\\\"expected-response-delay-day\\\"\\n        />\\n      </span>\\n      <span class=\\\"f__radio-content\\\">\\n        In a day\\n      </span>\\n    </label>\\n    <label for=\\\"expected-response-delay-automatic\\\" class=\\\"u__cf mb-4\\\">\\n      <span class=\\\"f__radio-wrapper\\\">\\n        <OneWayRadio\\n          @update={{action \\\"changeSelectedResponseDelay\\\"}}\\n          @value={{this.selectedResponseDelay}}\\n          @option={{3}}\\n          @name=\\\"expected-response-delay\\\"\\n          @id=\\\"expected-response-delay-automatic\\\"\\n        />\\n      </span>\\n      <span class=\\\"f__radio-content\\\" id=\\\"automatic-reply-time-text\\\">\\n        <strong>Dynamic reply time.</strong> Currently:\\n          \\\"{{t @availabilitySettings.messengerAutomaticResponseTimeTranslationKey}}\\\"\\n        <IcTooltipIcon @content={{this.tooltipText}} />\\n      </span>\\n    </label>\\n    {{#unless @hideSaveButtonAndSimplifyContent}}\\n      <p class=\\\"t__light-text\\\">\\n        Have various teams? <a href=\\\"{{href-to \\\"apps.app.settings.teams\\\"}}\\\">\\n          Set reply times\\n        </a> for different teams.\\n      </p>\\n    {{/unless}}\\n  </IcContent>\\n</div>\\n{{#unless @hideSaveButtonAndSimplifyContent}}\\n  <MessengerSettings::ActionButtonComponent\\n    @settings={{@availabilitySettings}}\\n    @body={{@body}}\\n    @afterSave={{action \\\"afterSave\\\"}}\\n  />\\n{{/unless}}\\n\\n{{#if this.showDependentMessages}}\\n  <IcModal data-test-dependent-messages-modal\\n    @onModalClose={{queue (set this.showDependentMessages false) (set this.dependentRulesets (array))}}\\n    @width=\\\"m\\\"\\n    @internallScroll={{true}}\\n    as |modal|\\n  >\\n    <modal.header @title=\\\"Cannot delete office hours\\\" />\\n    <modal.body>\\n      <p>\\n        There are messages that depend on office hours:\\n        <div class=\\\"flex flex-col mb-4\\\">\\n          {{#each this.dependentRulesets as |ruleset|}}\\n            <div class=\\\"flex flex-row gap-2 mt-2\\\">\\n              <LinkTo data-test-dependent-message={{ruleset.id}}\\n                @route=\\\"apps.app.outbound.{{ruleset.rulesetLinks.firstObject.parameterizedObjectName}}.edit\\\"\\n                @model={{ruleset.id}}\\n                target=\\\"_blank\\\"\\n              >\\n                <Text @linkStyling=\\\"subtle\\\" @styling='strong'>\\n                  {{or ruleset.clientData.title \\\"Untitled\\\"}}\\n                </Text>\\n              </LinkTo>\\n              {{ic-stamp (state-name objectType=ruleset.rulesetLinks.firstObject.objectType state=ruleset.state)}}\\n            </div>\\n          {{/each}}\\n        </div>\\n\\n        <IcBanner\\n          @type=\\\"help\\\"\\n        >\\n          You can either delete the messages or update the schedule to not depend on office hours.\\n          <Pulse::HelpContent::Link\\n            @href=\\\"https://www.intercom.com/help/en/articles/234-schedule-a-message-to-send-at-the-right-time\\\"\\n            @linkStyling=\\\"inline\\\"\\n            @title=\\\"Learn more\\\"\\n            @type=\\\"article\\\"\\n          />.\\n        </IcBanner>\\n      </p>\\n    </modal.body>\\n    <modal.footer\\n      @primaryButton={{hash\\n        label=\\\"Close\\\"\\n        action=(queue (set this.showDependentMessages false) (set this.dependentRulesets (array)))\\n      }}\\n    />\\n  </IcModal>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div\\n  class=\\\"{{unless @hideSaveButtonAndSimplifyContent \\\"m__settings__messenger__left-wrap\\\"}}\\\"\\n  data-test-availability-settings\\n>\\n  <IcContent>\\n    <h4 class=\\\"t__h4\\\">\\n      Set your office hours\\n    </h4>\\n    <p>\\n      Let people know when your team will be back online. They’ll see hours converted to their own time zone.\\n    </p>\\n    <p>\\n      Your workspace timezone is set to <LinkTo\\n        @route=\\\"apps.app.settings.general\\\"\\n        @model={{this.app}}\\n      >\\n        {{this.app.formattedTimezone}}\\n      </LinkTo>\\n    </p>\\n    <OfficeHours::TimeInterval\\n      @intervalGroups={{@availabilitySettings.defaultOfficeHoursIntervalGroups}}\\n      @addRow={{action \\\"addRow\\\"}}\\n      @removeRow={{action \\\"removeRow\\\"}}\\n    />\\n    <p class=\\\"t__light-text\\\" data-test-office-hours-settings-link>\\n      Have various teams? <a href=\\\"{{href-to \\\"apps.app.settings.office-hours\\\"}}\\\">\\n        Set custom hours\\n      </a> for teams with different operating hours.\\n    </p>\\n    {{#if this.showReportingSettings}}\\n      <label data-test-reporting-settings>\\n        <span class=\\\"f__checkbox-wrapper\\\">\\n          <Input\\n            @type=\\\"checkbox\\\"\\n            @checked={{@availabilitySettings.reportingExcludeOooHours}}\\n          />\\n        </span>\\n        <span>\\n          Calculate your team’s response metrics within office hours only (recommended).\\n        </span>\\n      </label>\\n    {{/if}}\\n    <hr class=\\\"sp__hr\\\" />\\n    <h4 class=\\\"t__h4\\\" data-test-set-reply-time>\\n      Share your reply time\\n    </h4>\\n    <p>\\n      Set expectations about how quickly your team replies during office hours. Say how soon your team usually replies:\\n    </p>\\n    <label for=\\\"expected-response-delay-minutes\\\" class=\\\"u__cf mb-2\\\">\\n      <span class=\\\"f__radio-wrapper\\\">\\n        <OneWayRadio\\n          @update={{action \\\"changeSelectedResponseDelay\\\"}}\\n          @value={{this.selectedResponseDelay}}\\n          @option={{0}}\\n          @name=\\\"expected-response-delay\\\"\\n          @id=\\\"expected-response-delay-minutes\\\"\\n          data-test-replies-in-minutes={{true}}\\n        />\\n      </span>\\n      <span class=\\\"f__radio-content\\\">\\n        In a few minutes\\n      </span>\\n    </label>\\n    <label for=\\\"expected-response-delay-hours\\\" class=\\\"u__cf mb-2\\\">\\n      <span class=\\\"f__radio-wrapper\\\">\\n        <OneWayRadio\\n          @update={{action \\\"changeSelectedResponseDelay\\\"}}\\n          @value={{this.selectedResponseDelay}}\\n          @option={{1}}\\n          @name=\\\"expected-response-delay\\\"\\n          @id=\\\"expected-response-delay-hours\\\"\\n        />\\n      </span>\\n      <span class=\\\"f__radio-content\\\">\\n        In a few hours\\n      </span>\\n    </label>\\n    <label for=\\\"expected-response-delay-day\\\" class=\\\"mb-2\\\">\\n      <span class=\\\"f__radio-wrapper\\\">\\n        <OneWayRadio\\n          @update={{action \\\"changeSelectedResponseDelay\\\"}}\\n          @value={{this.selectedResponseDelay}}\\n          @option={{2}}\\n          @name=\\\"expected-response-delay\\\"\\n          @id=\\\"expected-response-delay-day\\\"\\n        />\\n      </span>\\n      <span class=\\\"f__radio-content\\\">\\n        In a day\\n      </span>\\n    </label>\\n    <label for=\\\"expected-response-delay-automatic\\\" class=\\\"u__cf mb-4\\\">\\n      <span class=\\\"f__radio-wrapper\\\">\\n        <OneWayRadio\\n          @update={{action \\\"changeSelectedResponseDelay\\\"}}\\n          @value={{this.selectedResponseDelay}}\\n          @option={{3}}\\n          @name=\\\"expected-response-delay\\\"\\n          @id=\\\"expected-response-delay-automatic\\\"\\n        />\\n      </span>\\n      <span class=\\\"f__radio-content\\\" id=\\\"automatic-reply-time-text\\\">\\n        <strong>Dynamic reply time.</strong> Currently:\\n          \\\"{{t @availabilitySettings.messengerAutomaticResponseTimeTranslationKey}}\\\"\\n        <IcTooltipIcon @content={{this.tooltipText}} />\\n      </span>\\n    </label>\\n    {{#unless @hideSaveButtonAndSimplifyContent}}\\n      <p class=\\\"t__light-text\\\">\\n        Have various teams? <a href=\\\"{{href-to \\\"apps.app.settings.teams\\\"}}\\\">\\n          Set reply times\\n        </a> for different teams.\\n      </p>\\n    {{/unless}}\\n  </IcContent>\\n</div>\\n{{#unless @hideSaveButtonAndSimplifyContent}}\\n  <MessengerSettings::ActionButtonComponent\\n    @settings={{@availabilitySettings}}\\n    @body={{@body}}\\n    @afterSave={{action \\\"afterSave\\\"}}\\n  />\\n{{/unless}}\\n\\n{{#if this.showDependentMessages}}\\n  <IcModal data-test-dependent-messages-modal\\n    @onModalClose={{queue (set this.showDependentMessages false) (set this.dependentRulesets (array))}}\\n    @width=\\\"m\\\"\\n    @internallScroll={{true}}\\n    as |modal|\\n  >\\n    <modal.header @title=\\\"Cannot delete office hours\\\" />\\n    <modal.body>\\n      <p>\\n        There are messages that depend on office hours:\\n        <div class=\\\"flex flex-col mb-4\\\">\\n          {{#each this.dependentRulesets as |ruleset|}}\\n            <div class=\\\"flex flex-row gap-2 mt-2\\\">\\n              <LinkTo data-test-dependent-message={{ruleset.id}}\\n                @route=\\\"apps.app.outbound.{{ruleset.rulesetLinks.firstObject.parameterizedObjectName}}.edit\\\"\\n                @model={{ruleset.id}}\\n                target=\\\"_blank\\\"\\n              >\\n                <Text @linkStyling=\\\"subtle\\\" @styling='strong'>\\n                  {{or ruleset.clientData.title \\\"Untitled\\\"}}\\n                </Text>\\n              </LinkTo>\\n              {{ic-stamp (state-name objectType=ruleset.rulesetLinks.firstObject.objectType state=ruleset.state)}}\\n            </div>\\n          {{/each}}\\n        </div>\\n\\n        <IcBanner\\n          @type=\\\"help\\\"\\n        >\\n          You can either delete the messages or update the schedule to not depend on office hours.\\n          <Pulse::HelpContent::Link\\n            @href=\\\"https://www.intercom.com/help/en/articles/234-schedule-a-message-to-send-at-the-right-time\\\"\\n            @linkStyling=\\\"inline\\\"\\n            @title=\\\"Learn more\\\"\\n            @type=\\\"article\\\"\\n          />.\\n        </IcBanner>\\n      </p>\\n    </modal.body>\\n    <modal.footer\\n      @primaryButton={{hash\\n        label=\\\"Close\\\"\\n        action=(queue (set this.showDependentMessages false) (set this.dependentRulesets (array)))\\n      }}\\n    />\\n  </IcModal>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/messenger-settings/availability-settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/availability-settings.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport ajax from 'embercom/lib/ajax';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport { isEmpty } from '@ember/utils';\nimport { createDefaultIntervalGroup } from 'embercom/lib/office-hours/interval-group';\n\nexport default Component.extend({\n  classNameBindings: ['hideSaveButtonAndSimplifyContent::messenger-settings__accordion-section'],\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  appService: service(),\n  store: service(),\n  app: readOnly('appService.app'),\n  automaticResponseDelay: 3,\n  hideSaveButtonAndSimplifyContent: false,\n  showDependentMessages: false,\n  dependentRulesets: [],\n  showReportingSettings: computed(\n    'hideSaveButtonAndSimplifyContent',\n    'app.inboxIsActive',\n    'availabilitySettings.defaultOfficeHoursIntervalGroups.[]',\n    function() {\n      return (\n        !this.hideSaveButtonAndSimplifyContent &&\n        this.get('app.inboxIsActive') &&\n        !isEmpty(this.get('availabilitySettings.defaultOfficeHoursIntervalGroups'))\n      );\n    },\n  ),\n  selectedResponseDelay: ternaryToProperty(\n    'availabilitySettings.customResponseDelayEnabled',\n    'availabilitySettings.customResponseDelay',\n    'automaticResponseDelay',\n  ),\n\n  tooltipText:\n    'Set expectations by sharing your median first reply time over the past 7 days. If you’ve had fewer than 5 conversations in those 7 days, we’ll tell users that you reply as soon as you can.',\n\n  dependentMessagesForPeriod(app_id) {\n    return ajax({\n      url: '/ember/office_hours/dependent_messages',\n      type: 'GET',\n      data: { app_id },\n    });\n  },\n\n  async onBeforeRemoveLastRow() {\n    let response = await this.dependentMessagesForPeriod(this.app.id);\n    if (response.length > 0) {\n      this.store.pushPayload('matching-system/ruleset', {\n        'matching-system/rulesets': response,\n      });\n      this.dependentRulesets.pushObjects(\n        response.map(ruleset => this.store.peekRecord('matching-system/ruleset', ruleset.id)),\n      );\n      this.set('showDependentMessages', true);\n      return false;\n    }\n\n    return true;\n  },\n\n  actions: {\n    changeSelectedResponseDelay(selection) {\n      let settings = this.availabilitySettings;\n      let selectedResponseDelay = parseInt(selection, 10);\n      if (selectedResponseDelay === this.automaticResponseDelay) {\n        settings.setProperties({\n          customResponseDelayEnabled: false,\n          //Even though it's not used when ART is enabled, we set customResponseDelay back to the original value so that \"fake\" changes to the model aren't detected and the Save/Cancel buttons are shown\n          customResponseDelay: this.get('availabilitySettings.data.customResponseDelay'),\n        });\n      } else {\n        settings.setProperties({\n          customResponseDelayEnabled: true,\n          customResponseDelay: selectedResponseDelay,\n        });\n      }\n    },\n\n    addRow() {\n      this.availabilitySettings.defaultOfficeHoursIntervalGroups.addObject(\n        createDefaultIntervalGroup(this.store),\n      );\n    },\n\n    async removeRow(row) {\n      if (this.availabilitySettings.defaultOfficeHoursIntervalGroups.length === 1) {\n        let canRemoveHours = await this.onBeforeRemoveLastRow();\n        if (!canRemoveHours) {\n          return;\n        }\n      }\n      return this.availabilitySettings.defaultOfficeHoursIntervalGroups.removeObject(row);\n    },\n\n    afterSave() {\n      this.availabilitySettings.refresh();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Predicates::PredicatesEditor\\n  @predicates={{@predicateGroup.predicates}}\\n  @onUpdate={{action \\\"onUpdatePredicates\\\"}}\\n  @attributeGroupList={{@attributeGroupList}} as |predicatesEditor|>\\n  {{#if (gt @predicateGroup.editablePredicates.length 1)}}\\n    <div class=\\\"u__padl__10 u__padb__5\\\">\\n      <predicatesEditor.components.logicalSwitcher />\\n    </div>\\n  {{/if}}\\n  <div class=\\\"u__padl__10\\\">\\n    {{#each predicatesEditor.predicates as |predicate index|}}\\n    {{#if index}}\\n      <predicatesEditor.components.logicalMode />\\n    {{/if}}\\n    <predicatesEditor.components.predicateEditor @index={{index}} @predicate={{predicate}} @isOneLine={{true}}\\n      class={{if index \\\"u__mt__10\\\"}} />\\n    {{/each}}\\n  </div>\\n  <div class=\\\"u__padl__10 u__padt__5\\\">\\n    <predicatesEditor.components.attributePickerOpener @label={{this.attributePickerLabel}}\\n      @attributeItemComponent=\\\"ic-attribute-item-with-user-event\\\" />\\n  </div>\\n</Predicates::PredicatesEditor>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Predicates::PredicatesEditor\\n  @predicates={{@predicateGroup.predicates}}\\n  @onUpdate={{action \\\"onUpdatePredicates\\\"}}\\n  @attributeGroupList={{@attributeGroupList}} as |predicatesEditor|>\\n  {{#if (gt @predicateGroup.editablePredicates.length 1)}}\\n    <div class=\\\"u__padl__10 u__padb__5\\\">\\n      <predicatesEditor.components.logicalSwitcher />\\n    </div>\\n  {{/if}}\\n  <div class=\\\"u__padl__10\\\">\\n    {{#each predicatesEditor.predicates as |predicate index|}}\\n    {{#if index}}\\n      <predicatesEditor.components.logicalMode />\\n    {{/if}}\\n    <predicatesEditor.components.predicateEditor @index={{index}} @predicate={{predicate}} @isOneLine={{true}}\\n      class={{if index \\\"u__mt__10\\\"}} />\\n    {{/each}}\\n  </div>\\n  <div class=\\\"u__padl__10 u__padt__5\\\">\\n    <predicatesEditor.components.attributePickerOpener @label={{this.attributePickerLabel}}\\n      @attributeItemComponent=\\\"ic-attribute-item-with-user-event\\\" />\\n  </div>\\n</Predicates::PredicatesEditor>\\n\",\"moduleName\":\"embercom/components/messenger-settings/common/predicates-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/common/predicates-editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { copy } from 'ember-copy';\n\nexport default class PredicatesEditor extends Component {\n  @action\n  onUpdatePredicates(predicates) {\n    this.args.predicateGroup.set('predicates', copy(predicates));\n  }\n\n  get attributePickerLabel() {\n    return this.args.attributePickerLabel || 'Add display conditions';\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Form as |form|>\\n  <form.Item class=\\\"mt-2\\\" data-test-predicates-form={{@predicatesScope}} as |item|>\\n    <item.RadioGroup @selected={{@selection}} as |group|>\\n      <group.RadioButton\\n        @value=\\\"all\\\"\\n        @disabled={{@isDisabled}}\\n        {{on \\\"click\\\" @resetPredicates}}\\n        data-test-radio-all={{@predicatesScope}}\\n      as |radio|>\\n        <radio.Label>All {{#if @isDisplayingUserGroup}}users{{else}}visitors{{/if}}</radio.Label>\\n      </group.RadioButton>\\n      <group.RadioButton\\n        @value=\\\"match\\\"\\n        @disabled={{@isDisabled}}\\n        data-test-radio-match={{@predicatesScope}}\\n      as |radio|>\\n        <radio.Label>{{#if @isDisplayingUserGroup}}Users{{else}}Visitors{{/if}} who match certain data</radio.Label>\\n      </group.RadioButton>\\n\\n      {{#if (and (eq @selection \\\"match\\\") (not @isDisabled))}}\\n        <MessengerSettings::Common::PredicatesEditor\\n          @predicateGroup={{@predicatesGroup}}\\n          @attributeGroupList={{@attributes}}\\n          @attributePickerLabel={{@attributePickerLabel}}\\n        />\\n      {{/if}}\\n    </item.RadioGroup>\\n  </form.Item>\\n</Form>\\n\", {\"contents\":\"<Form as |form|>\\n  <form.Item class=\\\"mt-2\\\" data-test-predicates-form={{@predicatesScope}} as |item|>\\n    <item.RadioGroup @selected={{@selection}} as |group|>\\n      <group.RadioButton\\n        @value=\\\"all\\\"\\n        @disabled={{@isDisabled}}\\n        {{on \\\"click\\\" @resetPredicates}}\\n        data-test-radio-all={{@predicatesScope}}\\n      as |radio|>\\n        <radio.Label>All {{#if @isDisplayingUserGroup}}users{{else}}visitors{{/if}}</radio.Label>\\n      </group.RadioButton>\\n      <group.RadioButton\\n        @value=\\\"match\\\"\\n        @disabled={{@isDisabled}}\\n        data-test-radio-match={{@predicatesScope}}\\n      as |radio|>\\n        <radio.Label>{{#if @isDisplayingUserGroup}}Users{{else}}Visitors{{/if}} who match certain data</radio.Label>\\n      </group.RadioButton>\\n\\n      {{#if (and (eq @selection \\\"match\\\") (not @isDisabled))}}\\n        <MessengerSettings::Common::PredicatesEditor\\n          @predicateGroup={{@predicatesGroup}}\\n          @attributeGroupList={{@attributes}}\\n          @attributePickerLabel={{@attributePickerLabel}}\\n        />\\n      {{/if}}\\n    </item.RadioGroup>\\n  </form.Item>\\n</Form>\\n\",\"moduleName\":\"embercom/components/messenger-settings/common/predicates-radio.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/common/predicates-radio.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div id=\\\"messenger-launcher-visibility\\\" class=\\\"layout__box o__has-columns messenger-settings__home__toggle-with-predicates\\\">\\n  <Paywall @featureKey={{@togglePaywall}} as |togglePaywall|>\\n    <togglePaywall.Block>\\n      <div class=\\\"m__settings__messenger__left-wrap\\\">\\n        <Form as |form|>\\n          <div class=\\\"flex flex-col gap-2\\\">\\n            <div class=\\\"flex flex-row items-center\\\">\\n              <form.SectionHeading>\\n                {{@header}}\\n              </form.SectionHeading>\\n              {{#if @tooltipText}}\\n                <IcTooltipIcon @isInteractive={{true}} class=\\\"ml-2\\\">\\n                  {{@tooltipText}}\\n                  {{#if @tooltipUrl}}\\n                    <a href={{@tooltipUrl}} target=\\\"_blank\\\" rel=\\\"noreferrer noopener\\\">\\n                      Learn more\\n                    </a>\\n                  {{/if}}\\n                </IcTooltipIcon>\\n              {{/if}}\\n            </div>\\n            <form.Item as |item|>\\n              <div class=\\\"flex flex-col gap-2\\\">\\n                <label>\\n                  <div class=\\\"flex flex-row items-center gap-2\\\">\\n                    <IcOnOffToggle\\n                      @isOn={{this.isEnabled}}\\n                      @onClick={{this.toggleEnabled}}\\n                      @isDisabled={{togglePaywall.isActive}}\\n                      data-test-toggle={{@enabledScope}}\\n                    />\\n                    {{#if this.isEnabled}}\\n                      <Text>{{@onLabel}}</Text>\\n                    {{else}}\\n                      <Text>{{@offLabel}}</Text>\\n                    {{/if}}\\n                  </div>\\n                </label>\\n                {{yield}}\\n              </div>\\n            </form.Item>\\n          </div>\\n        </Form>\\n        {{#if (and this.isEnabled togglePaywall.isInactive)}}\\n          <div class=\\\"flex flex-col mt-3\\\">\\n            <Paywall @featureKey={{@targetingPaywall}} as |targetingPaywall|>\\n              <targetingPaywall.Block>\\n                {{#if targetingPaywall.isInactive}}\\n                  <MessengerSettings::Common::PredicatesRadio\\n                    @predicatesScope={{@predicatesScope}}\\n                    @selection={{@selection}}\\n                    @resetPredicates={{this.resetPredicates}}\\n                    @isDisabled={{targetingPaywall.isActive}}\\n                    @predicatesGroup={{this.predicatesGroup}}\\n                    @attributes={{@attributes}}\\n                    @isDisplayingUserGroup={{@isDisplayingUserGroup}}\\n                  />\\n                {{else}}\\n                  <MessengerSettings::Common::PredicatesRadio\\n                    @predicatesScope={{@predicatesScope}}\\n                    @selection={{this.allSelection}}\\n                    @resetPredicates={{this.resetPredicates}}\\n                    @isDisabled={{targetingPaywall.isActive}}\\n                    @predicatesGroup={{this.predicatesGroup}}\\n                    @attributes={{@attributes}}\\n                    @isDisplayingUserGroup={{@isDisplayingUserGroup}}\\n                  />\\n                {{/if}}\\n              </targetingPaywall.Block>\\n            </Paywall>\\n          </div>\\n        {{/if}}\\n      </div>\\n    </togglePaywall.Block>\\n  </Paywall>\\n</div>\\n\", {\"contents\":\"<div id=\\\"messenger-launcher-visibility\\\" class=\\\"layout__box o__has-columns messenger-settings__home__toggle-with-predicates\\\">\\n  <Paywall @featureKey={{@togglePaywall}} as |togglePaywall|>\\n    <togglePaywall.Block>\\n      <div class=\\\"m__settings__messenger__left-wrap\\\">\\n        <Form as |form|>\\n          <div class=\\\"flex flex-col gap-2\\\">\\n            <div class=\\\"flex flex-row items-center\\\">\\n              <form.SectionHeading>\\n                {{@header}}\\n              </form.SectionHeading>\\n              {{#if @tooltipText}}\\n                <IcTooltipIcon @isInteractive={{true}} class=\\\"ml-2\\\">\\n                  {{@tooltipText}}\\n                  {{#if @tooltipUrl}}\\n                    <a href={{@tooltipUrl}} target=\\\"_blank\\\" rel=\\\"noreferrer noopener\\\">\\n                      Learn more\\n                    </a>\\n                  {{/if}}\\n                </IcTooltipIcon>\\n              {{/if}}\\n            </div>\\n            <form.Item as |item|>\\n              <div class=\\\"flex flex-col gap-2\\\">\\n                <label>\\n                  <div class=\\\"flex flex-row items-center gap-2\\\">\\n                    <IcOnOffToggle\\n                      @isOn={{this.isEnabled}}\\n                      @onClick={{this.toggleEnabled}}\\n                      @isDisabled={{togglePaywall.isActive}}\\n                      data-test-toggle={{@enabledScope}}\\n                    />\\n                    {{#if this.isEnabled}}\\n                      <Text>{{@onLabel}}</Text>\\n                    {{else}}\\n                      <Text>{{@offLabel}}</Text>\\n                    {{/if}}\\n                  </div>\\n                </label>\\n                {{yield}}\\n              </div>\\n            </form.Item>\\n          </div>\\n        </Form>\\n        {{#if (and this.isEnabled togglePaywall.isInactive)}}\\n          <div class=\\\"flex flex-col mt-3\\\">\\n            <Paywall @featureKey={{@targetingPaywall}} as |targetingPaywall|>\\n              <targetingPaywall.Block>\\n                {{#if targetingPaywall.isInactive}}\\n                  <MessengerSettings::Common::PredicatesRadio\\n                    @predicatesScope={{@predicatesScope}}\\n                    @selection={{@selection}}\\n                    @resetPredicates={{this.resetPredicates}}\\n                    @isDisabled={{targetingPaywall.isActive}}\\n                    @predicatesGroup={{this.predicatesGroup}}\\n                    @attributes={{@attributes}}\\n                    @isDisplayingUserGroup={{@isDisplayingUserGroup}}\\n                  />\\n                {{else}}\\n                  <MessengerSettings::Common::PredicatesRadio\\n                    @predicatesScope={{@predicatesScope}}\\n                    @selection={{this.allSelection}}\\n                    @resetPredicates={{this.resetPredicates}}\\n                    @isDisabled={{targetingPaywall.isActive}}\\n                    @predicatesGroup={{this.predicatesGroup}}\\n                    @attributes={{@attributes}}\\n                    @isDisplayingUserGroup={{@isDisplayingUserGroup}}\\n                  />\\n                {{/if}}\\n              </targetingPaywall.Block>\\n            </Paywall>\\n          </div>\\n        {{/if}}\\n      </div>\\n    </togglePaywall.Block>\\n  </Paywall>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-settings/common/toggle-with-predicates.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/common/toggle-with-predicates.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class ToggleWithPredicates extends Component {\n  @service intercomEventService;\n\n  get predicatesGroup() {\n    return this.args.settings[this.args.predicatesScope];\n  }\n\n  get isEnabled() {\n    return this.args.settings[this.args.enabledScope];\n  }\n\n  get allSelection() {\n    return 'all';\n  }\n\n  @action\n  toggleEnabled() {\n    this.args.settings.toggleProperty(this.args.enabledScope);\n    this.intercomEventService.trackEvent('messenger-setting-changed', {\n      action: 'changed',\n      object: this.args.enabledScope,\n      owner: 'messenger',\n      newValue: this.args.settings[this.args.enabledScope],\n    });\n  }\n\n  @action\n  resetPredicates() {\n    this.args.settings[this.args.predicatesScope].set('predicates', []);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<AppFramework::MessengerApps::Styles\\n  @containerSelector=\\\".messenger-settings__home__app-list\\\"\\n  @baseColor={{configuration.appColors.link_color}}\\n/>\\n<div class=\\\"messenger-settings__accordion-section\\\">\\n  <div class=\\\"layout__box o__has-rows\\\" data-test-home-settings>\\n    <div class=\\\"layout__box u__mb__20 messenger-settings__home__type-switch\\\">\\n      <IcRadioButtonGroup\\n        @selectedValue={{targetUserType}}\\n        @onSelectionChange={{action \\\"changeTargetUserType\\\"}} as |group|\\n      >\\n        {{#each targetUserTypeOptions as |targetUserTypeOption|}}\\n          <group.button\\n            @label={{targetUserTypeOption.label}}\\n            @value={{targetUserTypeOption.value}}\\n          />\\n        {{/each}}\\n      </IcRadioButtonGroup>\\n    </div>\\n    <div class=\\\"layout__box u__mb__20\\\">\\n      {{#if isDisplayingUserGroup}}\\n        <h4 class=\\\"t__h4 u__mb__5\\\">\\n          <span class=\\\"text-gray\\\">\\n            Apps for\\n          </span>\\n          users\\n        </h4>\\n        <p class=\\\"t__body\\\">\\n          Help your users self serve and show them how to be successful with your product.\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n        <p class=\\\"t__light-text\\\">\\n          Shown on <span class=\\\"u__padl__5\\\">\\n            {{ic-interface-icon \\\"globe\\\"}} Web\\n          </span>\\n          {{#if app.iosSdkApiKeyIsActivated}}\\n            <span class=\\\"u__padl__20\\\">\\n              {{ic-interface-icon \\\"apple\\\"}} iOS\\n            </span>\\n          {{/if}}\\n          {{#if app.androidSdkApiKeyIsActivated}}\\n            <span class=\\\"u__padl__20\\\">\\n              {{ic-interface-icon \\\"android\\\"}} Android\\n            </span>\\n          {{/if}}\\n        </p>\\n      {{else}}\\n        <h4 class=\\\"t__h4 u__mb__5\\\">\\n          <span class=\\\"text-gray\\\">\\n            Apps for\\n          </span>\\n          visitors\\n        </h4>\\n        <p class=\\\"t__body\\\">\\n          Capture new visitors to your website and convert them to leads or users.\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n        <p class=\\\"t__light-text\\\">\\n          Shown on <span class=\\\"u__padl__5\\\">\\n            {{ic-interface-icon \\\"globe\\\"}} Web\\n          </span>\\n        </p>\\n      {{/if}}\\n    </div>\\n    <div class=\\\"messenger-settings__home__app-management\\\">\\n      {{#if slotGroup.slots}}\\n        <div class=\\\"layout__box u__mb__20 messenger-settings__home__app-list\\\">\\n          <SortableGroup\\n            @tagName=\\\"div\\\"\\n            @groupModel={{slotGroup}}\\n            @onChange={{action \\\"reorderItems\\\"}} as |group|\\n          >\\n            {{#each slotGroup.slots as |slot|}}\\n              <group.item\\n                @tagName=\\\"div\\\"\\n                @onDragStart={{action \\\"dragStarted\\\" slot}}\\n                @onDragStop={{action \\\"dragStopped\\\" slot}}\\n                @model={{slot}}\\n                @group={{group}}\\n                @handle=\\\".messenger-settings__home__drag-slot\\\"\\n              >\\n                <div class=\\\"{{if (gt slotGroup.slots.length 0) \\\"u__mb__30\\\"}}\\\">\\n                  <MessengerSettings::Home::Slot\\n                    @slot={{slot}}\\n                    @attributeGroupList={{attributeGroupList}}\\n                    @app={{app}}\\n                    @removeSlot={{action \\\"removeSlotFromGroup\\\"}}\\n                    @editSlot={{action \\\"editSlotInGroup\\\"}}\\n                  />\\n                </div>\\n              </group.item>\\n            {{/each}}\\n          </SortableGroup>\\n        </div>\\n      {{/if}}\\n      <AppFramework::MessengerApps::Inserter::AppInserter\\n        data-test-inserter=\\\"messenger-app\\\"\\n        @initializeType=\\\"canvas\\\"\\n        @restrictTo=\\\"messenger_home\\\"\\n        @preferredPositionNameOrder={{preferredPositionNameOrder}}\\n        @insertApp={{action \\\"addSlotToGroup\\\"}}\\n        @inserterTitle=\\\"Add to Messenger home\\\"\\n        @capability=\\\"messenger\\\"\\n      >\\n        <div\\n          class=\\\"layout__box o__centers-all messenger-settings__home__app-inserter-button {{if (gt\\n              slotGroup.slots.length 0\\n            ) \\\"o__narrow\\\"}}\\\"\\n        >\\n          <div\\n            id=\\\"js__messenger-settings__home__app-inserter\\\"\\n            data-test-add-new-app\\n          >\\n            {{ic-interface-icon \\\"app-store\\\"}} Add an app\\n          </div>\\n        </div>\\n      </AppFramework::MessengerApps::Inserter::AppInserter>\\n    </div>\\n    <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n      <MessengerSettings::ActionButtonComponent\\n        @settings={{homeSettings}}\\n        @body={{body}}\\n        @afterSave={{action \\\"afterSave\\\"}}\\n      />\\n      <div class=\\\"layout__box o__centers-vertically u__ml__20 u__mt__20\\\">\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/apps-in-intercom/messenger-apps/customize-your-messenger-home-with-apps\\\"\\n          @title=\\\"Choosing the right app\\\"\\n          @type=\\\"article\\\"\\n        />\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<AppFramework::MessengerApps::Styles\\n  @containerSelector=\\\".messenger-settings__home__app-list\\\"\\n  @baseColor={{configuration.appColors.link_color}}\\n/>\\n<div class=\\\"messenger-settings__accordion-section\\\">\\n  <div class=\\\"layout__box o__has-rows\\\" data-test-home-settings>\\n    <div class=\\\"layout__box u__mb__20 messenger-settings__home__type-switch\\\">\\n      <IcRadioButtonGroup\\n        @selectedValue={{targetUserType}}\\n        @onSelectionChange={{action \\\"changeTargetUserType\\\"}} as |group|\\n      >\\n        {{#each targetUserTypeOptions as |targetUserTypeOption|}}\\n          <group.button\\n            @label={{targetUserTypeOption.label}}\\n            @value={{targetUserTypeOption.value}}\\n          />\\n        {{/each}}\\n      </IcRadioButtonGroup>\\n    </div>\\n    <div class=\\\"layout__box u__mb__20\\\">\\n      {{#if isDisplayingUserGroup}}\\n        <h4 class=\\\"t__h4 u__mb__5\\\">\\n          <span class=\\\"text-gray\\\">\\n            Apps for\\n          </span>\\n          users\\n        </h4>\\n        <p class=\\\"t__body\\\">\\n          Help your users self serve and show them how to be successful with your product.\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n        <p class=\\\"t__light-text\\\">\\n          Shown on <span class=\\\"u__padl__5\\\">\\n            {{ic-interface-icon \\\"globe\\\"}} Web\\n          </span>\\n          {{#if app.iosSdkApiKeyIsActivated}}\\n            <span class=\\\"u__padl__20\\\">\\n              {{ic-interface-icon \\\"apple\\\"}} iOS\\n            </span>\\n          {{/if}}\\n          {{#if app.androidSdkApiKeyIsActivated}}\\n            <span class=\\\"u__padl__20\\\">\\n              {{ic-interface-icon \\\"android\\\"}} Android\\n            </span>\\n          {{/if}}\\n        </p>\\n      {{else}}\\n        <h4 class=\\\"t__h4 u__mb__5\\\">\\n          <span class=\\\"text-gray\\\">\\n            Apps for\\n          </span>\\n          visitors\\n        </h4>\\n        <p class=\\\"t__body\\\">\\n          Capture new visitors to your website and convert them to leads or users.\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n        <p class=\\\"t__light-text\\\">\\n          Shown on <span class=\\\"u__padl__5\\\">\\n            {{ic-interface-icon \\\"globe\\\"}} Web\\n          </span>\\n        </p>\\n      {{/if}}\\n    </div>\\n    <div class=\\\"messenger-settings__home__app-management\\\">\\n      {{#if slotGroup.slots}}\\n        <div class=\\\"layout__box u__mb__20 messenger-settings__home__app-list\\\">\\n          <SortableGroup\\n            @tagName=\\\"div\\\"\\n            @groupModel={{slotGroup}}\\n            @onChange={{action \\\"reorderItems\\\"}} as |group|\\n          >\\n            {{#each slotGroup.slots as |slot|}}\\n              <group.item\\n                @tagName=\\\"div\\\"\\n                @onDragStart={{action \\\"dragStarted\\\" slot}}\\n                @onDragStop={{action \\\"dragStopped\\\" slot}}\\n                @model={{slot}}\\n                @group={{group}}\\n                @handle=\\\".messenger-settings__home__drag-slot\\\"\\n              >\\n                <div class=\\\"{{if (gt slotGroup.slots.length 0) \\\"u__mb__30\\\"}}\\\">\\n                  <MessengerSettings::Home::Slot\\n                    @slot={{slot}}\\n                    @attributeGroupList={{attributeGroupList}}\\n                    @app={{app}}\\n                    @removeSlot={{action \\\"removeSlotFromGroup\\\"}}\\n                    @editSlot={{action \\\"editSlotInGroup\\\"}}\\n                  />\\n                </div>\\n              </group.item>\\n            {{/each}}\\n          </SortableGroup>\\n        </div>\\n      {{/if}}\\n      <AppFramework::MessengerApps::Inserter::AppInserter\\n        data-test-inserter=\\\"messenger-app\\\"\\n        @initializeType=\\\"canvas\\\"\\n        @restrictTo=\\\"messenger_home\\\"\\n        @preferredPositionNameOrder={{preferredPositionNameOrder}}\\n        @insertApp={{action \\\"addSlotToGroup\\\"}}\\n        @inserterTitle=\\\"Add to Messenger home\\\"\\n        @capability=\\\"messenger\\\"\\n      >\\n        <div\\n          class=\\\"layout__box o__centers-all messenger-settings__home__app-inserter-button {{if (gt\\n              slotGroup.slots.length 0\\n            ) \\\"o__narrow\\\"}}\\\"\\n        >\\n          <div\\n            id=\\\"js__messenger-settings__home__app-inserter\\\"\\n            data-test-add-new-app\\n          >\\n            {{ic-interface-icon \\\"app-store\\\"}} Add an app\\n          </div>\\n        </div>\\n      </AppFramework::MessengerApps::Inserter::AppInserter>\\n    </div>\\n    <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n      <MessengerSettings::ActionButtonComponent\\n        @settings={{homeSettings}}\\n        @body={{body}}\\n        @afterSave={{action \\\"afterSave\\\"}}\\n      />\\n      <div class=\\\"layout__box o__centers-vertically u__ml__20 u__mt__20\\\">\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/apps-in-intercom/messenger-apps/customize-your-messenger-home-with-apps\\\"\\n          @title=\\\"Choosing the right app\\\"\\n          @type=\\\"article\\\"\\n        />\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-settings/home-settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/home-settings.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, equal } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { findByProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport MessengerDisplayAttributes from 'embercom/components/mixins/messenger-display-attributes';\n\nconst USER_TARGET_TYPE = 'users';\nconst LEADS_AND_VISITORS_TARGET_TYPE = 'leads_and_visitors';\n\nexport default Component.extend(MessengerDisplayAttributes, {\n  intercomEventService: service(),\n  classNameBindings: ['hideActionIcons:messenger-settings__home__is-dragging'],\n\n  appService: service(),\n  hideActionIcons: false,\n  store: service(),\n  appstoreService: service(),\n  app: readOnly('appService.app'),\n  preferredPositionNameOrder: ['right', 'top', 'bottom', 'left'],\n\n  selectedApp: null,\n\n  targetUserTypeOptions: [\n    { value: LEADS_AND_VISITORS_TARGET_TYPE, label: 'Visitors' },\n    { value: USER_TARGET_TYPE, label: 'Users' },\n  ],\n  isDisplayingUserGroup: equal('targetUserType', USER_TARGET_TYPE),\n\n  slotGroup: findByProperty('homeSettings.slotGroups', 'targetUserType', 'targetUserType'),\n\n  actions: {\n    reorderItems(slotGroup, reorderedSlots, draggedSlot) {\n      reorderedSlots.forEach((slot, index) => {\n        slot.set('displayOrder', index);\n      });\n      slotGroup.set('slots', reorderedSlots);\n    },\n\n    dragStarted(slot) {\n      this.set('hideActionIcons', true);\n    },\n\n    dragStopped(slot) {\n      this.set('hideActionIcons', false);\n    },\n\n    editSlotInGroup(editedSlot, canvasJSON, messengerApp) {\n      let slotGroup = this.slotGroup;\n      let canvas = canvasJSON;\n      let displayOrder = editedSlot.get('displayOrder');\n      let predicateGroup = this.store.createRecord('predicates/predicateGroup');\n      let replacementSlot = this.store.createRecord('messenger-home/slot', {\n        appID: this.get('app.id'),\n        canvas,\n        messengerApp,\n        messengerAppId: messengerApp.id,\n        displayOrder,\n        hasConfiguration: true,\n        predicateGroup,\n      });\n      let slotIndex = slotGroup.get('slots').indexOf(editedSlot);\n      slotGroup.get('slots').replace(slotIndex, 1, [replacementSlot]);\n\n      editedSlot.deleteRecord();\n    },\n\n    removeSlotFromGroup(deletedSlot) {\n      let slotGroup = this.slotGroup;\n      slotGroup\n        .get('slots')\n        .filter(slot => slot.get('displayOrder') > deletedSlot.get('displayOrder'))\n        .forEach(filteredSlot => filteredSlot.decrementProperty('displayOrder'));\n      slotGroup.get('slots').removeObject(deletedSlot);\n      slotGroup.set('slotsWereDeleted', true);\n      deletedSlot.deleteRecord();\n    },\n\n    afterSave(settings) {\n      let deleteSlotsWithNoId = slotGroup => {\n        slotGroup\n          .get('slots')\n          .filterBy('id', null)\n          .forEach(slot => slot.deleteRecord());\n        slotGroup.set('slotsWereDeleted', false);\n      };\n      settings.get('slotGroups').forEach(deleteSlotsWithNoId);\n    },\n\n    addSlotToGroup(canvasJSON, messengerApp) {\n      let slotGroup = this.slotGroup;\n      let canvas = canvasJSON;\n      let hasConfiguration = messengerApp.get('hasConfiguration');\n      let predicateGroup = this.store.createRecord('predicates/predicateGroup');\n      let slot = this.store.createRecord('messenger-home/slot', {\n        slotGroup,\n        appID: this.get('app.id'),\n        canvas,\n        messengerApp,\n        displayOrder: slotGroup.get('slots.length'),\n        hasConfiguration,\n        messengerAppId: messengerApp.id,\n        predicateGroup,\n      });\n      slotGroup.get('slots').pushObject(slot);\n    },\n\n    discardChanges(settings) {\n      settings.reload();\n    },\n\n    changeTargetUserType(value) {\n      this.set('targetUserType', value);\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: `messenger_settings_preview_${value}`,\n        context: 'from_panel',\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__has-columns\\\">\\n  <AppFramework::Canvas\\n    data-test-messenger-home-slot-id={{@slot.id}}\\n    class=\\\"messenger-preview__home__card messenger-home__slot\\\"\\n    @canvas={{@slot.canvas}}\\n  />\\n  <div class=\\\"layout__box o__has-rows u__ml__15\\\">\\n    <div\\n      class=\\\"layout__box o__centers-all u__pad__5 messenger-settings__home__drag-slot\\\"\\n    >\\n      <span>\\n        {{ic-interface-icon 'vertical-order' color='gray'}}\\n      </span>\\n    </div>\\n    <a\\n      class=\\\"layout__box o__centers-all u__pad__5 messenger-settings__home__delete-slot\\\"\\n      data-test-remove-slot-icon\\n      {{on \\\"click\\\" (fn @removeSlot @slot)}}\\n    >\\n      <span>\\n        {{ic-interface-icon \\\"trash\\\" solo=true}}\\n      </span>\\n    </a>\\n  </div>\\n</div>\\n<Paywall\\n  @featureKey=\\\"home_screen_apps_targeting\\\"\\n  @customCTA=\\\"Control home screen apps targeting with\\\"\\nas |paywall|>\\n  <Predicates::PredicatesEditor\\n    @predicates={{@slot.predicateGroup.predicates}}\\n    @onUpdate={{this.onUpdate}}\\n    @attributeGroupList={{@attributeGroupList}} as |predicatesEditor|\\n  >\\n    {{#unless paywall.isActive}}\\n      {{#if (gt @slot.predicateGroup.editablePredicates.length 1)}}\\n        <div class=\\\"u__padl__10 u__padb__5\\\">\\n          {{predicatesEditor.components.logicalSwitcher}}\\n        </div>\\n      {{/if}}\\n      <div class=\\\"u__padl__10\\\" data-test-home-screen-apps-predicates>\\n        {{#each predicatesEditor.predicates as |predicate index|}}\\n          {{#if index}}\\n            {{predicatesEditor.components.logicalMode}}\\n          {{/if}}\\n          <predicatesEditor.components.predicateEditor\\n            @index={{index}}\\n            @predicate={{predicate}}\\n            @isOneLine={{true}}\\n            class={{if index \\\"u__mt__10\\\"}}\\n          />\\n        {{/each}}\\n      </div>\\n    {{/unless}}\\n    <paywall.Hover>\\n      <div class=\\\"flex items-center pl-2 pt-1\\\">\\n        <predicatesEditor.components.attributePickerOpener\\n          @label=\\\"Add display conditions\\\"\\n          @attributeItemComponent=\\\"ic-attribute-item-with-user-event\\\"\\n          @isDisabled={{paywall.isActive}}\\n        />\\n      </div>\\n    </paywall.Hover>\\n  </Predicates::PredicatesEditor>\\n</Paywall>\\n\", {\"contents\":\"<div class=\\\"layout__box o__has-columns\\\">\\n  <AppFramework::Canvas\\n    data-test-messenger-home-slot-id={{@slot.id}}\\n    class=\\\"messenger-preview__home__card messenger-home__slot\\\"\\n    @canvas={{@slot.canvas}}\\n  />\\n  <div class=\\\"layout__box o__has-rows u__ml__15\\\">\\n    <div\\n      class=\\\"layout__box o__centers-all u__pad__5 messenger-settings__home__drag-slot\\\"\\n    >\\n      <span>\\n        {{ic-interface-icon 'vertical-order' color='gray'}}\\n      </span>\\n    </div>\\n    <a\\n      class=\\\"layout__box o__centers-all u__pad__5 messenger-settings__home__delete-slot\\\"\\n      data-test-remove-slot-icon\\n      {{on \\\"click\\\" (fn @removeSlot @slot)}}\\n    >\\n      <span>\\n        {{ic-interface-icon \\\"trash\\\" solo=true}}\\n      </span>\\n    </a>\\n  </div>\\n</div>\\n<Paywall\\n  @featureKey=\\\"home_screen_apps_targeting\\\"\\n  @customCTA=\\\"Control home screen apps targeting with\\\"\\nas |paywall|>\\n  <Predicates::PredicatesEditor\\n    @predicates={{@slot.predicateGroup.predicates}}\\n    @onUpdate={{this.onUpdate}}\\n    @attributeGroupList={{@attributeGroupList}} as |predicatesEditor|\\n  >\\n    {{#unless paywall.isActive}}\\n      {{#if (gt @slot.predicateGroup.editablePredicates.length 1)}}\\n        <div class=\\\"u__padl__10 u__padb__5\\\">\\n          {{predicatesEditor.components.logicalSwitcher}}\\n        </div>\\n      {{/if}}\\n      <div class=\\\"u__padl__10\\\" data-test-home-screen-apps-predicates>\\n        {{#each predicatesEditor.predicates as |predicate index|}}\\n          {{#if index}}\\n            {{predicatesEditor.components.logicalMode}}\\n          {{/if}}\\n          <predicatesEditor.components.predicateEditor\\n            @index={{index}}\\n            @predicate={{predicate}}\\n            @isOneLine={{true}}\\n            class={{if index \\\"u__mt__10\\\"}}\\n          />\\n        {{/each}}\\n      </div>\\n    {{/unless}}\\n    <paywall.Hover>\\n      <div class=\\\"flex items-center pl-2 pt-1\\\">\\n        <predicatesEditor.components.attributePickerOpener\\n          @label=\\\"Add display conditions\\\"\\n          @attributeItemComponent=\\\"ic-attribute-item-with-user-event\\\"\\n          @isDisabled={{paywall.isActive}}\\n        />\\n      </div>\\n    </paywall.Hover>\\n  </Predicates::PredicatesEditor>\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/messenger-settings/home/slot.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/home/slot.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { copy } from 'ember-copy';\nexport default class Slot extends Component {\n  @action\n  onUpdate(predicates) {\n    this.args.slot.predicateGroup.predicates = copy(predicates);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Form\\n  class=\\\"m__settings__messenger__left-wrap start-screen__section__messenger-settings__left-wrap\\\"\\n  data-test-language-inputs\\n  data-test-language-settings\\n  as |form|\\n>\\n  <form.SectionHeading>\\n    Greeting\\n  </form.SectionHeading>\\n  <form.SectionDescription>\\n    Say hi to your customers when they open the Messenger.\\n  </form.SectionDescription>\\n  {{#each this.permittedLocales as |locale|}}\\n    <MessengerSettings::Language::GreetingComposer @locale={{locale}} />\\n  {{/each}}\\n  <form.SectionHeading>\\n    Team intro\\n  </form.SectionHeading>\\n  <form.SectionDescription>\\n    Introduce your team and say how you can help your customer.\\n  </form.SectionDescription>\\n  {{#each this.permittedLocales as |locale|}}\\n    <MessengerSettings::LocaleTextareaWithCount\\n      @placeholder=\\\"Tell people how you can help\\\"\\n      @locale={{locale}}\\n    />\\n  {{/each}}\\n  <form.SectionHeading>\\n    Default language\\n  </form.SectionHeading>\\n  <form.SectionDescription>\\n    Display the Messenger interface in:\\n  </form.SectionDescription>\\n  <form.Item>\\n    <IcSelect\\n      data-test-select-default-language\\n      @selectedValue={{this.languageSettings.defaultLocale}}\\n      @items={{this.localeDropdownItems}}\\n      @filterPlaceholder=\\\"Search languages\\\"\\n      @onSelectItem={{action \\\"setDefaultLanguage\\\"}}\\n    />\\n  </form.Item>\\n  <Paywall\\n      @featureKey=\\\"multiple_language_support\\\" as |paywall|\\n    >\\n    <paywall.Block>\\n      <form.SectionHeading>\\n        Additional languages\\n      </form.SectionHeading>\\n      <form.SectionDescription class=\\\"mb-4\\\">\\n        Display the Messenger in these languages when they match your customers' device settings\\n      </form.SectionDescription>\\n      {{#each this.permittedLocalesWithoutDefault as |locale index|}}\\n        <Common::Language::PermittedLocaleComponent\\n          @locale={{locale}}\\n          @defaultLocale={{this.defaultLocaleObject}}\\n          @makeDefaultLanguage=\\\"setDefaultLanguage\\\"\\n          @deleteLanguage=\\\"removeLanguage\\\"\\n        />\\n        <div class=\\\"m-4\\\"></div>\\n       {{/each}}\\n        {{#if this.showPaywallForLanguages}}\\n          <a class=\\\"btn__tertiary\\\">\\n              {{ic-interface-icon \\\"new\\\"}} Add language\\n          </a>\\n        {{else}}\\n          <IcSelect\\n            data-test-additional-languages\\n            @filterPlaceholder=\\\"Search languages\\\"\\n            @items={{this.addLocaleDropdownItems}}\\n            @onSelectItem={{action \\\"permitLanguage\\\"}} as |select|\\n          >\\n            <select.opener>\\n              <a class=\\\"btn__tertiary\\\">\\n                {{ic-interface-icon \\\"new\\\"}} Add language\\n              </a>\\n            </select.opener>\\n          </IcSelect>\\n        {{/if}}\\n    </paywall.Block>\\n  </Paywall>\\n</Form>\\n{{#unless this.hideSaveButton}}\\n  <MessengerSettings::ActionButtonComponent\\n    @settings={{this.languageSettings}}\\n    @body={{@body}}\\n  />\\n{{/unless}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Form\\n  class=\\\"m__settings__messenger__left-wrap start-screen__section__messenger-settings__left-wrap\\\"\\n  data-test-language-inputs\\n  data-test-language-settings\\n  as |form|\\n>\\n  <form.SectionHeading>\\n    Greeting\\n  </form.SectionHeading>\\n  <form.SectionDescription>\\n    Say hi to your customers when they open the Messenger.\\n  </form.SectionDescription>\\n  {{#each this.permittedLocales as |locale|}}\\n    <MessengerSettings::Language::GreetingComposer @locale={{locale}} />\\n  {{/each}}\\n  <form.SectionHeading>\\n    Team intro\\n  </form.SectionHeading>\\n  <form.SectionDescription>\\n    Introduce your team and say how you can help your customer.\\n  </form.SectionDescription>\\n  {{#each this.permittedLocales as |locale|}}\\n    <MessengerSettings::LocaleTextareaWithCount\\n      @placeholder=\\\"Tell people how you can help\\\"\\n      @locale={{locale}}\\n    />\\n  {{/each}}\\n  <form.SectionHeading>\\n    Default language\\n  </form.SectionHeading>\\n  <form.SectionDescription>\\n    Display the Messenger interface in:\\n  </form.SectionDescription>\\n  <form.Item>\\n    <IcSelect\\n      data-test-select-default-language\\n      @selectedValue={{this.languageSettings.defaultLocale}}\\n      @items={{this.localeDropdownItems}}\\n      @filterPlaceholder=\\\"Search languages\\\"\\n      @onSelectItem={{action \\\"setDefaultLanguage\\\"}}\\n    />\\n  </form.Item>\\n  <Paywall\\n      @featureKey=\\\"multiple_language_support\\\" as |paywall|\\n    >\\n    <paywall.Block>\\n      <form.SectionHeading>\\n        Additional languages\\n      </form.SectionHeading>\\n      <form.SectionDescription class=\\\"mb-4\\\">\\n        Display the Messenger in these languages when they match your customers' device settings\\n      </form.SectionDescription>\\n      {{#each this.permittedLocalesWithoutDefault as |locale index|}}\\n        <Common::Language::PermittedLocaleComponent\\n          @locale={{locale}}\\n          @defaultLocale={{this.defaultLocaleObject}}\\n          @makeDefaultLanguage=\\\"setDefaultLanguage\\\"\\n          @deleteLanguage=\\\"removeLanguage\\\"\\n        />\\n        <div class=\\\"m-4\\\"></div>\\n       {{/each}}\\n        {{#if this.showPaywallForLanguages}}\\n          <a class=\\\"btn__tertiary\\\">\\n              {{ic-interface-icon \\\"new\\\"}} Add language\\n          </a>\\n        {{else}}\\n          <IcSelect\\n            data-test-additional-languages\\n            @filterPlaceholder=\\\"Search languages\\\"\\n            @items={{this.addLocaleDropdownItems}}\\n            @onSelectItem={{action \\\"permitLanguage\\\"}} as |select|\\n          >\\n            <select.opener>\\n              <a class=\\\"btn__tertiary\\\">\\n                {{ic-interface-icon \\\"new\\\"}} Add language\\n              </a>\\n            </select.opener>\\n          </IcSelect>\\n        {{/if}}\\n    </paywall.Block>\\n  </Paywall>\\n</Form>\\n{{#unless this.hideSaveButton}}\\n  <MessengerSettings::ActionButtonComponent\\n    @settings={{this.languageSettings}}\\n    @body={{@body}}\\n  />\\n{{/unless}}\\n\",\"moduleName\":\"embercom/components/messenger-settings/language-settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/language-settings.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly, not, map } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { findByProperty, rejectByProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  classNames: ['messenger-settings__accordion-section'],\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  permittedLocales: computed(\n    'languageSettings.defaultLocale',\n    'languageSettings.supportedLocales.@each.isPermitted',\n    'languageSettings.supportedLocales.@each.localeId',\n    function() {\n      return this.get('languageSettings.supportedLocales').filter(locale =>\n        this.localeIsPermitted(locale),\n      );\n    },\n  ),\n  permittedLocalesWithoutDefault: rejectByProperty(\n    'permittedLocales',\n    'localeId',\n    'languageSettings.defaultLocale',\n  ),\n  notPermittedLocales: computed('permittedLocales.[]', function() {\n    return this.get('languageSettings.supportedLocales').filter(\n      locale => !this.localeIsPermitted(locale),\n    );\n  }),\n  defaultLocaleObject: findByProperty(\n    'languageSettings.supportedLocales',\n    'localeId',\n    'languageSettings.defaultLocale',\n  ),\n  showPaywallForLanguages: not('app.hasMultipleLanguages'),\n  localeDropdownItems: map('languageSettings.supportedLocales', locale => ({\n    value: locale.get('localeId'),\n    text: locale.get('name'),\n  })),\n  addLocaleDropdownItems: map('notPermittedLocales', locale => ({\n    value: locale.get('localeId'),\n    text: locale.get('name'),\n  })),\n\n  localeIsPermitted(locale) {\n    let defaultLocale = this.get('languageSettings.defaultLocale');\n    return locale.get('isPermitted') || locale.get('localeId') === defaultLocale;\n  },\n\n  actions: {\n    permitLanguage(localeId) {\n      let locale = this.get('languageSettings.supportedLocales').findBy('localeId', localeId);\n      locale.set('isPermitted', true);\n    },\n    removeLanguage(localeId) {\n      let localeToRemove = this.get('languageSettings.supportedLocales').findBy(\n        'localeId',\n        localeId,\n      );\n      localeToRemove.set('isPermitted', false);\n    },\n    setDefaultLanguage(localeId) {\n      // If the locale is permitted already then we put the old one into the\n      // permitted list.  Otherwise we just overwrite the default. This allows us to\n      // \"promote\" locales from being permitted to default. But also\n      // handles the simple case of just changing locale from the dropdown.\n\n      let permitted = this.permittedLocales;\n\n      if (permitted.findBy('localeId', localeId)) {\n        let oldDefaultLocale = this.defaultLocaleObject;\n        oldDefaultLocale.set('isPermitted', true);\n      }\n\n      this.set('languageSettings.defaultLocale', localeId);\n      // The default locale is never marked as permitted\n      this.set('defaultLocaleObject.isPermitted', false);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Form::Item\\n  @label={{@locale.name}}\\n  class=\\\"messenger-settings__greeting-composer\\\"\\n  data-test-greeting-composer\\n  as |item|\\n>\\n  <ComposerV2\\n    @app={{this.app}}\\n    @actionReceiver={{this.composer}}\\n    @attributes={{this.attributeService.greetingComposerAttributes}}\\n    @appAttributes={{this.appAttributes}}\\n    @editorClass=\\\"f__text\\\"\\n    @preset={{this.composerPreset}}\\n    @hoverAreaPadding={{this.hoverAreaPadding}}\\n    @blocks={{this.greetingBlocks}}\\n    @viewportSelector=\\\".messenger-settings__container\\\"\\n    @placeholder=\\\"Say hello\\\"\\n    @onChange={{action \\\"updateGreeting\\\"}}\\n    @onError={{composer-error-logger \\\"Messenger Settings\\\"}}\\n  />\\n</Form::Item>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Form::Item\\n  @label={{@locale.name}}\\n  class=\\\"messenger-settings__greeting-composer\\\"\\n  data-test-greeting-composer\\n  as |item|\\n>\\n  <ComposerV2\\n    @app={{this.app}}\\n    @actionReceiver={{this.composer}}\\n    @attributes={{this.attributeService.greetingComposerAttributes}}\\n    @appAttributes={{this.appAttributes}}\\n    @editorClass=\\\"f__text\\\"\\n    @preset={{this.composerPreset}}\\n    @hoverAreaPadding={{this.hoverAreaPadding}}\\n    @blocks={{this.greetingBlocks}}\\n    @viewportSelector=\\\".messenger-settings__container\\\"\\n    @placeholder=\\\"Say hello\\\"\\n    @onChange={{action \\\"updateGreeting\\\"}}\\n    @onError={{composer-error-logger \\\"Messenger Settings\\\"}}\\n  />\\n</Form::Item>\\n\",\"moduleName\":\"embercom/components/messenger-settings/language/greeting-composer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/language/greeting-composer.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { htmlToTextContent } from 'embercom/lib/html-unescape';\n\nexport default Component.extend({\n  tagName: '',\n  attributeService: service(),\n  composerPreset: 'pushOnly', //Push only is single-line mode.\n  composer: null,\n\n  hoverAreaPadding: {\n    top: 10,\n    left: 5,\n    right: 50,\n    bottom: 10,\n  },\n\n  greetingBlocks: computed('locale.greeting', function() {\n    return [\n      {\n        type: 'paragraph',\n        text: this.get('locale.greeting'),\n      },\n    ];\n  }),\n\n  appAttributes: [],\n\n  actions: {\n    updateGreeting() {\n      if (this.isDestroying || this.locale.isDestroying) {\n        return;\n      }\n      let blocks = this.composer.getBlocks();\n      let blockText = blocks.get('firstObject.text') || '';\n      let textContent = htmlToTextContent(blockText);\n      blockText = textContent.trim();\n      this.set('locale.greeting', blockText);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Form::Item\\n  @label={{if this.showLocale @locale.name}}\\n  @hint=\\\"{{this.charactersLeft}} {{inflector-helper 'character' this.charactersLeft}} remaining\\\"\\n  @isInvalid={{not this.hasCharactersLeft}}\\n  @errorMessage=\\\"{{this.charactersLeft}} {{inflector-helper 'character' this.charactersLeft}} remaining\\\"\\n  data-test-locale-textarea-with-count\\n  ...attributes\\n  as |item|\\n>\\n  <item.Textarea\\n    @value={{@locale.userWelcomeMessage}}\\n    @placeholder={{@placeholder}}\\n    maxlength=\\\"1000\\\"\\n    rows=\\\"3\\\"\\n  />\\n</Form::Item>\", {\"contents\":\"<Form::Item\\n  @label={{if this.showLocale @locale.name}}\\n  @hint=\\\"{{this.charactersLeft}} {{inflector-helper 'character' this.charactersLeft}} remaining\\\"\\n  @isInvalid={{not this.hasCharactersLeft}}\\n  @errorMessage=\\\"{{this.charactersLeft}} {{inflector-helper 'character' this.charactersLeft}} remaining\\\"\\n  data-test-locale-textarea-with-count\\n  ...attributes\\n  as |item|\\n>\\n  <item.Textarea\\n    @value={{@locale.userWelcomeMessage}}\\n    @placeholder={{@placeholder}}\\n    maxlength=\\\"1000\\\"\\n    rows=\\\"3\\\"\\n  />\\n</Form::Item>\",\"moduleName\":\"embercom/components/messenger-settings/locale-textarea-with-count.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/locale-textarea-with-count.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { gte } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport defaultTo from '@intercom/embercom-core/lib/default-to';\n\nconst CHAR_LIMIT = 160;\n\nexport default Component.extend({\n  tagName: '',\n  showLocale: true,\n  charLimit: defaultTo(CHAR_LIMIT),\n  charactersUsed: computed('locale.userWelcomeMessage.length', function() {\n    return this.get('locale.userWelcomeMessage.length') || 0;\n  }),\n  charactersLeft: computed('charactersUsed', 'charLimit', function() {\n    return this.charLimit - this.charactersUsed;\n  }),\n  hasCharactersLeft: gte('charactersLeft', 0),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<MessengerSettings::LookAndFeel::Multibrand::BrandPicker\\n  @brands={{@lookAndFeelSettings.brands}}\\n  @activeBrand={{this.activeBrand}}\\n  @setBrand={{this.setBrand}}\\n/>\\n<div class=\\\"messenger-settings__accordion-section\\\" data-test-look-and-feel-settings>\\n  <Paywall\\n    @featureKey=\\\"customize_logo\\\"\\n    @customCTA=\\\"Customize your messenger logo with\\\" as |paywall|\\n  >\\n    <paywall.Block>\\n      <Text @styling=\\\"strong\\\">\\n        Header logo\\n        <IcTooltipIcon @content=\\\"Add a PNG, JPG, or GIF. Your image may be scaled up to 312×32px.\\\" />\\n      </Text>\\n      <MessengerSettings::LookAndFeel::LogoUploadComponent\\n        @lookAndFeelSettings={{@lookAndFeelSettings}}\\n        @app={{this.appService.app}}\\n        @disabled={{paywall.isActive}}\\n      />\\n    </paywall.Block>\\n  </Paywall>\\n  <div class=\\\"mt-4\\\">\\n    <Text @styling=\\\"strong\\\">\\n      Background color\\n    </Text>\\n  </div>\\n  <div class=\\\"mb-3\\\">\\n    <Text>\\n      Used behind your team profile and other backgrounds.\\n    </Text>\\n  </div>\\n  <div class=\\\"color-select__hex-container\\\">\\n    <Settings::Appearance::ColorEditComponent\\n      data-test-secondary-color-input\\n      @value={{this.activeBrand.messengerBackgroundColor}}\\n      @classNames=\\\"f__text color-select__hex-input\\\"\\n      @setColor=\\\"setSecondaryColor\\\"\\n    />\\n    <span class=\\\"color-select__color-picker-opener-component-container\\\">\\n      <Settings::Appearance::ColorPicker\\n        @colpickLayout=\\\"custom\\\"\\n        @value={{this.activeBrand.messengerBackgroundColorHex}}\\n        @colorOptions={{this.colorOptions}}\\n        @setColor=\\\"setSecondaryColor\\\"\\n      />\\n    </span>\\n  </div>\\n  <div class=\\\"mt-4\\\">\\n    <Text @styling=\\\"strong\\\">\\n      Action color\\n    </Text>\\n  </div>\\n  <div class=\\\"mb-3\\\">\\n    <Text>\\n      Used in buttons, links and more to highlight and emphasize.\\n    </Text>\\n  </div>\\n  <div class=\\\"color-select__hex-container\\\">\\n    <Settings::Appearance::ColorEditComponent\\n      data-test-primary-color-input\\n      @value={{this.activeBrand.messengerActionColor}}\\n      @classNames=\\\"f__text color-select__hex-input\\\"\\n      @setColor=\\\"setPrimaryColor\\\"\\n    />\\n    <span class=\\\"color-select__color-picker-opener-component-container\\\">\\n      <Settings::Appearance::ColorPicker\\n        @colpickLayout=\\\"custom\\\"\\n        @value={{this.activeBrand.messengerActionColorHex}}\\n        @colorOptions={{this.colorOptions}}\\n        @setColor=\\\"setPrimaryColor\\\"\\n      />\\n    </span>\\n  </div>\\n  <div class=\\\"mt-4 mb-2\\\">\\n    <Text @styling=\\\"strong\\\">Wallpaper</Text>\\n  </div>\\n  <Settings::Appearance::BackgroundSelectComponent\\n    @background={{null}}\\n    @selectedBackground={{this.activeBrand.messengerWallpaper}}\\n    @pickerColorHex={{this.activeBrand.messengerActionColorHex}}\\n    @onSelect={{this.setBackground}}\\n    @additionalClassNames=\\\"o__no-background\\\"\\n  />\\n  {{#each this.backgroundOptions as |option|}}\\n    <Settings::Appearance::BackgroundSelectComponent\\n      @background={{option}}\\n      @selectedBackground={{this.activeBrand.messengerWallpaper}}\\n      @pickerColorHex={{this.activeBrand.messengerActionColorHex}}\\n      @onSelect={{this.setBackground}}\\n    />\\n  {{/each}}\\n  <hr class=\\\"sp__hr\\\" />\\n    <Paywall\\n      @featureKey=\\\"customize_launcher_logo\\\"\\n      @customCTA=\\\"Customize the logo in your Messenger's launcher with\\\" as |paywall|\\n    >\\n      <paywall.Block>\\n        <Text @styling=\\\"strong\\\">\\n          Custom launcher\\n          <IcTooltipIcon @content=\\\"Show your logo on your Messenger’s launcher. Add a PNG, JPG, or GIF that’s under 50KB. Square images (72×72px) with transparent backgrounds work best.\\\" />\\n        </Text>\\n        <MessengerSettings::LookAndFeel::LogoUploadComponent\\n          @lookAndFeelSettings={{@lookAndFeelSettings}}\\n          @app={{this.appService.app}}\\n          @disabled={{paywall.isActive}}\\n          @launcherVariant={{true}}\\n          @configuration={{@configuration}}\\n          @showLogoOutline={{true}}\\n          @testSelector=\\\"custom-logo\\\"\\n        />\\n      </paywall.Block>\\n    </Paywall>\\n  <MessengerSettings::Visibility::Positioning\\n    @settings={{@lookAndFeelSettings}}\\n    @activeBrand={{this.activeBrand}}\\n    @onWebPaddingFocus={{@onWebPaddingFocus}}\\n    @onAndroidPaddingFocus={{@onAndroidPaddingFocus}}\\n    @onIOSPaddingFocus={{@onIOSPaddingFocus}}\\n    @onPaddingBlur={{@onPaddingBlur}}\\n  />\\n  <hr class=\\\"sp__hr\\\" />\\n  {{#if this.activeBrand.isDefault}}\\n    {{#unless @hideIntercomLinkOption}}\\n      {{#if (has-feature \\\"canUseUnbrandedMessenger\\\")}}\\n        <div class=\\\"mt-4\\\">\\n          <h3 class=\\\"t__h4\\\">\\n            Intercom link\\n          </h3>\\n          <div class=\\\"layout__box o__centers-vertically mt-1\\\">\\n            <IcOnOffToggle\\n              data-test-toggle-show-intercom\\n              @isOn={{@lookAndFeelSettings.showPoweredBy}}\\n              @onClick={{this.toggleShowPoweredBy}}\\n            />\\n              <span class=\\\"t__body u__ml__10\\\">\\n                Display a subtle link to the Intercom website\\n              </span>\\n          </div>\\n        </div>\\n      {{else}}\\n        <Paywall @featureKey=\\\"unbranded\\\" as |paywall|>\\n          <paywall.Block>\\n            <div class=\\\"mt-4\\\">\\n              <h3 class=\\\"t__h4\\\">\\n                Intercom link\\n              </h3>\\n              <div class=\\\"layout__box o__centers-vertically mt-1\\\">\\n                <IcOnOffToggle\\n                  data-test-toggle-show-intercom\\n                  @isOn={{@lookAndFeelSettings.showPoweredBy}}\\n                  @onClick={{this.toggleShowPoweredBy}}\\n                  @isDisabled={{paywall.isActive}}\\n                />\\n                <span class=\\\"t__body u__ml__10\\\">\\n                  Display a subtle link to the Intercom website\\n                </span>\\n              </div>\\n            </div>\\n          </paywall.Block>\\n        </Paywall>\\n      {{/if}}\\n    {{/unless}}\\n    {{#unless @hideSoundsOption}}\\n      <div class=\\\"mt-4\\\">\\n        <h3 class=\\\"t__h4\\\">\\n          Sounds\\n        </h3>\\n        <div class=\\\"layout__box o__centers-vertically mt-1\\\">\\n          <IcOnOffToggle\\n            data-test-checkbox-audio-enabled\\n            @onClick={{this.toggleWidgetAudioEnabled}}\\n            @isOn={{@lookAndFeelSettings.widgetAudioEnabled}}\\n          />\\n          <span class=\\\"t__body u__ml__10\\\">\\n            Play a sound for incoming messages\\n            <IcTooltipIcon @content=\\\"With audio turned on your users will hear an audio notification when they receive a new message from you, and audio feedback when they send a message.\\\"/>\\n          </span>\\n        </div>\\n      </div>\\n    {{/unless}}\\n  {{else}}\\n    <Text @styling=\\\"muted\\\">This brand style will use your default Messenger’s settings for linking to Intercom and new message audio.</Text>\\n  {{/if}}\\n  {{#unless @hideSaveButton}}\\n    <div class=\\\"flex flex-row gap-3\\\">\\n      <MessengerSettings::ActionButtonComponent\\n        @settings={{if this.activeBrand.isDefault @lookAndFeelSettings this.activeBrand}}\\n        @body={{@body}}\\n        @beforeSave={{this.beforeSave}}\\n      />\\n      {{#unless this.activeBrand.isDefault}}\\n        <IcButton\\n          class=\\\"mt-4\\\"\\n          @icon=\\\"trash\\\"\\n          @label=\\\"Delete brand and style\\\"\\n          @processingLabel=\\\"Deleting…\\\"\\n          @subtle={{true}}\\n          @type=\\\"secondary-destructive\\\"\\n          {{on 'click' (toggle \\\"showDeleteBrandModal\\\" this)}}\\n          data-test-brand-delete\\n        />\\n\\n        <IcConfirmModal\\n          @title=\\\"Delete {{this.activeBrand.brandName}}?\\\"\\n          @onModalClose={{toggle \\\"showDeleteBrandModal\\\" this}}\\n          @type=\\\"destructive\\\"\\n          @confirmLabel=\\\"Delete\\\"\\n          @confirmAction={{perform this.deleteActiveBrand}}\\n          @isOpen={{this.showDeleteBrandModal}}\\n        >\\n          <p class=\\\"mb-6\\\">\\n            When you delete this brand style, your default Messenger name and style will show for:\\n          </p>\\n          <ul class=\\\"mb-6 messenger-settings__look-and-feel__delete-brand-list\\\">\\n            {{#each this.activeBrand.brandDomains as |brandDomain|}}\\n              <li data-test-domain-list-item>{{brandDomain.domain}}</li>\\n            {{/each}}\\n          </ul>\\n        </IcConfirmModal>\\n      {{/unless}}\\n    </div>\\n  {{/unless}}\\n\\n</div>\\n\", {\"contents\":\"<MessengerSettings::LookAndFeel::Multibrand::BrandPicker\\n  @brands={{@lookAndFeelSettings.brands}}\\n  @activeBrand={{this.activeBrand}}\\n  @setBrand={{this.setBrand}}\\n/>\\n<div class=\\\"messenger-settings__accordion-section\\\" data-test-look-and-feel-settings>\\n  <Paywall\\n    @featureKey=\\\"customize_logo\\\"\\n    @customCTA=\\\"Customize your messenger logo with\\\" as |paywall|\\n  >\\n    <paywall.Block>\\n      <Text @styling=\\\"strong\\\">\\n        Header logo\\n        <IcTooltipIcon @content=\\\"Add a PNG, JPG, or GIF. Your image may be scaled up to 312×32px.\\\" />\\n      </Text>\\n      <MessengerSettings::LookAndFeel::LogoUploadComponent\\n        @lookAndFeelSettings={{@lookAndFeelSettings}}\\n        @app={{this.appService.app}}\\n        @disabled={{paywall.isActive}}\\n      />\\n    </paywall.Block>\\n  </Paywall>\\n  <div class=\\\"mt-4\\\">\\n    <Text @styling=\\\"strong\\\">\\n      Background color\\n    </Text>\\n  </div>\\n  <div class=\\\"mb-3\\\">\\n    <Text>\\n      Used behind your team profile and other backgrounds.\\n    </Text>\\n  </div>\\n  <div class=\\\"color-select__hex-container\\\">\\n    <Settings::Appearance::ColorEditComponent\\n      data-test-secondary-color-input\\n      @value={{this.activeBrand.messengerBackgroundColor}}\\n      @classNames=\\\"f__text color-select__hex-input\\\"\\n      @setColor=\\\"setSecondaryColor\\\"\\n    />\\n    <span class=\\\"color-select__color-picker-opener-component-container\\\">\\n      <Settings::Appearance::ColorPicker\\n        @colpickLayout=\\\"custom\\\"\\n        @value={{this.activeBrand.messengerBackgroundColorHex}}\\n        @colorOptions={{this.colorOptions}}\\n        @setColor=\\\"setSecondaryColor\\\"\\n      />\\n    </span>\\n  </div>\\n  <div class=\\\"mt-4\\\">\\n    <Text @styling=\\\"strong\\\">\\n      Action color\\n    </Text>\\n  </div>\\n  <div class=\\\"mb-3\\\">\\n    <Text>\\n      Used in buttons, links and more to highlight and emphasize.\\n    </Text>\\n  </div>\\n  <div class=\\\"color-select__hex-container\\\">\\n    <Settings::Appearance::ColorEditComponent\\n      data-test-primary-color-input\\n      @value={{this.activeBrand.messengerActionColor}}\\n      @classNames=\\\"f__text color-select__hex-input\\\"\\n      @setColor=\\\"setPrimaryColor\\\"\\n    />\\n    <span class=\\\"color-select__color-picker-opener-component-container\\\">\\n      <Settings::Appearance::ColorPicker\\n        @colpickLayout=\\\"custom\\\"\\n        @value={{this.activeBrand.messengerActionColorHex}}\\n        @colorOptions={{this.colorOptions}}\\n        @setColor=\\\"setPrimaryColor\\\"\\n      />\\n    </span>\\n  </div>\\n  <div class=\\\"mt-4 mb-2\\\">\\n    <Text @styling=\\\"strong\\\">Wallpaper</Text>\\n  </div>\\n  <Settings::Appearance::BackgroundSelectComponent\\n    @background={{null}}\\n    @selectedBackground={{this.activeBrand.messengerWallpaper}}\\n    @pickerColorHex={{this.activeBrand.messengerActionColorHex}}\\n    @onSelect={{this.setBackground}}\\n    @additionalClassNames=\\\"o__no-background\\\"\\n  />\\n  {{#each this.backgroundOptions as |option|}}\\n    <Settings::Appearance::BackgroundSelectComponent\\n      @background={{option}}\\n      @selectedBackground={{this.activeBrand.messengerWallpaper}}\\n      @pickerColorHex={{this.activeBrand.messengerActionColorHex}}\\n      @onSelect={{this.setBackground}}\\n    />\\n  {{/each}}\\n  <hr class=\\\"sp__hr\\\" />\\n    <Paywall\\n      @featureKey=\\\"customize_launcher_logo\\\"\\n      @customCTA=\\\"Customize the logo in your Messenger's launcher with\\\" as |paywall|\\n    >\\n      <paywall.Block>\\n        <Text @styling=\\\"strong\\\">\\n          Custom launcher\\n          <IcTooltipIcon @content=\\\"Show your logo on your Messenger’s launcher. Add a PNG, JPG, or GIF that’s under 50KB. Square images (72×72px) with transparent backgrounds work best.\\\" />\\n        </Text>\\n        <MessengerSettings::LookAndFeel::LogoUploadComponent\\n          @lookAndFeelSettings={{@lookAndFeelSettings}}\\n          @app={{this.appService.app}}\\n          @disabled={{paywall.isActive}}\\n          @launcherVariant={{true}}\\n          @configuration={{@configuration}}\\n          @showLogoOutline={{true}}\\n          @testSelector=\\\"custom-logo\\\"\\n        />\\n      </paywall.Block>\\n    </Paywall>\\n  <MessengerSettings::Visibility::Positioning\\n    @settings={{@lookAndFeelSettings}}\\n    @activeBrand={{this.activeBrand}}\\n    @onWebPaddingFocus={{@onWebPaddingFocus}}\\n    @onAndroidPaddingFocus={{@onAndroidPaddingFocus}}\\n    @onIOSPaddingFocus={{@onIOSPaddingFocus}}\\n    @onPaddingBlur={{@onPaddingBlur}}\\n  />\\n  <hr class=\\\"sp__hr\\\" />\\n  {{#if this.activeBrand.isDefault}}\\n    {{#unless @hideIntercomLinkOption}}\\n      {{#if (has-feature \\\"canUseUnbrandedMessenger\\\")}}\\n        <div class=\\\"mt-4\\\">\\n          <h3 class=\\\"t__h4\\\">\\n            Intercom link\\n          </h3>\\n          <div class=\\\"layout__box o__centers-vertically mt-1\\\">\\n            <IcOnOffToggle\\n              data-test-toggle-show-intercom\\n              @isOn={{@lookAndFeelSettings.showPoweredBy}}\\n              @onClick={{this.toggleShowPoweredBy}}\\n            />\\n              <span class=\\\"t__body u__ml__10\\\">\\n                Display a subtle link to the Intercom website\\n              </span>\\n          </div>\\n        </div>\\n      {{else}}\\n        <Paywall @featureKey=\\\"unbranded\\\" as |paywall|>\\n          <paywall.Block>\\n            <div class=\\\"mt-4\\\">\\n              <h3 class=\\\"t__h4\\\">\\n                Intercom link\\n              </h3>\\n              <div class=\\\"layout__box o__centers-vertically mt-1\\\">\\n                <IcOnOffToggle\\n                  data-test-toggle-show-intercom\\n                  @isOn={{@lookAndFeelSettings.showPoweredBy}}\\n                  @onClick={{this.toggleShowPoweredBy}}\\n                  @isDisabled={{paywall.isActive}}\\n                />\\n                <span class=\\\"t__body u__ml__10\\\">\\n                  Display a subtle link to the Intercom website\\n                </span>\\n              </div>\\n            </div>\\n          </paywall.Block>\\n        </Paywall>\\n      {{/if}}\\n    {{/unless}}\\n    {{#unless @hideSoundsOption}}\\n      <div class=\\\"mt-4\\\">\\n        <h3 class=\\\"t__h4\\\">\\n          Sounds\\n        </h3>\\n        <div class=\\\"layout__box o__centers-vertically mt-1\\\">\\n          <IcOnOffToggle\\n            data-test-checkbox-audio-enabled\\n            @onClick={{this.toggleWidgetAudioEnabled}}\\n            @isOn={{@lookAndFeelSettings.widgetAudioEnabled}}\\n          />\\n          <span class=\\\"t__body u__ml__10\\\">\\n            Play a sound for incoming messages\\n            <IcTooltipIcon @content=\\\"With audio turned on your users will hear an audio notification when they receive a new message from you, and audio feedback when they send a message.\\\"/>\\n          </span>\\n        </div>\\n      </div>\\n    {{/unless}}\\n  {{else}}\\n    <Text @styling=\\\"muted\\\">This brand style will use your default Messenger’s settings for linking to Intercom and new message audio.</Text>\\n  {{/if}}\\n  {{#unless @hideSaveButton}}\\n    <div class=\\\"flex flex-row gap-3\\\">\\n      <MessengerSettings::ActionButtonComponent\\n        @settings={{if this.activeBrand.isDefault @lookAndFeelSettings this.activeBrand}}\\n        @body={{@body}}\\n        @beforeSave={{this.beforeSave}}\\n      />\\n      {{#unless this.activeBrand.isDefault}}\\n        <IcButton\\n          class=\\\"mt-4\\\"\\n          @icon=\\\"trash\\\"\\n          @label=\\\"Delete brand and style\\\"\\n          @processingLabel=\\\"Deleting…\\\"\\n          @subtle={{true}}\\n          @type=\\\"secondary-destructive\\\"\\n          {{on 'click' (toggle \\\"showDeleteBrandModal\\\" this)}}\\n          data-test-brand-delete\\n        />\\n\\n        <IcConfirmModal\\n          @title=\\\"Delete {{this.activeBrand.brandName}}?\\\"\\n          @onModalClose={{toggle \\\"showDeleteBrandModal\\\" this}}\\n          @type=\\\"destructive\\\"\\n          @confirmLabel=\\\"Delete\\\"\\n          @confirmAction={{perform this.deleteActiveBrand}}\\n          @isOpen={{this.showDeleteBrandModal}}\\n        >\\n          <p class=\\\"mb-6\\\">\\n            When you delete this brand style, your default Messenger name and style will show for:\\n          </p>\\n          <ul class=\\\"mb-6 messenger-settings__look-and-feel__delete-brand-list\\\">\\n            {{#each this.activeBrand.brandDomains as |brandDomain|}}\\n              <li data-test-domain-list-item>{{brandDomain.domain}}</li>\\n            {{/each}}\\n          </ul>\\n        </IcConfirmModal>\\n      {{/unless}}\\n    </div>\\n  {{/unless}}\\n\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-settings/look-and-feel-settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/look-and-feel-settings.hbs\"}});\nimport { action, get } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\nimport { DEFAULT_MESSENGER_COLORS } from 'embercom/lib/messenger-settings-defaults';\n\nexport default class LookAndFeelSettings extends Component {\n  @service appService;\n  @service intercomEventService;\n  @service notificationsService;\n  @tracked showDeleteBrandModal = false;\n\n  backgroundOptions = [\n    'background-1',\n    'background-2',\n    'background-3',\n    'background-4',\n    'background-5',\n    'background-6',\n    'background-7',\n    'background-8',\n    'background-9',\n    'background-10',\n    'background-11',\n    'background-12',\n    'background-13',\n    'background-14',\n    'background-15',\n    'background-16',\n  ];\n\n  colorOptions = DEFAULT_MESSENGER_COLORS;\n\n  get activeBrand() {\n    return get(this.args.lookAndFeelSettings, 'activeBrand');\n  }\n\n  _trackAnalytics() {\n    if (!this.activeBrand.changedLauncherLogo) {\n      return;\n    }\n    let launcherAction = this.activeBrand.launcherLogoUrl === null ? 'removed' : 'added';\n    this.intercomEventService.trackAnalyticsEvent({\n      action: launcherAction,\n      object: 'custom_logo_launcher',\n      place: 'messenger_settings_lookAndFeel',\n      section: 'messenger',\n      metadata: {\n        file: this.activeBrand.launcherLogoUrl,\n      },\n    });\n  }\n\n  @task\n  *deleteActiveBrand() {\n    try {\n      yield this.activeBrand.destroyRecord();\n      this.showDeleteBrandModal = false;\n      this.setBrand(this.args.lookAndFeelSettings.defaultBrand);\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'deleted',\n        object: 'messenger_brand',\n        place: 'messenger_settings',\n        section: 'messenger',\n        metadata: {\n          brand_id: this.activeBrand.id,\n        },\n      });\n      this.notificationsService.notifyConfirmation('The brand was deleted successfully');\n    } catch (e) {\n      this.notificationsService.notifyError(\n        \"Something went wrong and we couldn't delete this brand. Please try again.\",\n      );\n    }\n  }\n\n  @action\n  setBackground(background) {\n    this.activeBrand.messengerWallpaper = background;\n    if (this.activeBrand.isDefault) {\n      this.args.lookAndFeelSettings.messengerBackground = background;\n    }\n  }\n  @action\n  setPrimaryColor(color) {\n    this.activeBrand.messengerActionColor = color;\n    if (this.activeBrand.isDefault) {\n      this.args.lookAndFeelSettings.primaryColor = color;\n    }\n  }\n  @action\n  setSecondaryColor(color) {\n    this.activeBrand.messengerBackgroundColor = color;\n    if (this.activeBrand.isDefault) {\n      this.args.lookAndFeelSettings.secondaryColor = color;\n    }\n  }\n  @action\n  toggleShowPoweredBy() {\n    this.args.lookAndFeelSettings.showPoweredBy = !this.args.lookAndFeelSettings.showPoweredBy;\n  }\n  @action\n  toggleWidgetAudioEnabled() {\n    this.args.lookAndFeelSettings.widgetAudioEnabled = !this.args.lookAndFeelSettings\n      .widgetAudioEnabled;\n  }\n  @action\n  setBrand(brand) {\n    this.args.lookAndFeelSettings.set('activeBrand', brand);\n  }\n  @action\n  beforeSave() {\n    this.activeBrand.expandColors();\n    if (this.activeBrand.isDefault) {\n      this.args.lookAndFeelSettings.expandColors();\n    }\n    this._trackAnalytics();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"u__relative mt-2\\\"\\n  {{on \\\"drop\\\" this.drop}}\\n  {{on \\\"dragover\\\" this.dragOver}}\\n  {{on \\\"dragleave\\\" this.dragLeave}}\\n  data-test-logo-upload={{@testSelector}}\\n>\\n  <div class=\\\"absolute inset-0 bg-white {{if this.uploadLogo.isRunning \\\"opacity-50\\\" \\\"opacity-0\\\"}} transition-opacity ease-in-out duration-200 z-10 pointer-events-none\\\">\\n    <div class=\\\"u__center-item\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    </div>\\n  </div>\\n  {{#if this.hasLogo}}\\n    {{#if this.uploadLogo.isRunning}}\\n      <MessengerSettings::LookAndFeel::LogoUploadImageComponent\\n        @lookAndFeelSettings={{@lookAndFeelSettings}}\\n        @launcherVariant={{@launcherVariant}}\\n      />\\n    {{else}}\\n      <Tooltips::ImageOverlay\\n        @showFilePicker={{this.showFilePicker}}\\n        @reset={{this.removeLogo}}\\n      >\\n        <MessengerSettings::LookAndFeel::LogoUploadImageComponent\\n          @lookAndFeelSettings={{@lookAndFeelSettings}}\\n          @launcherVariant={{@launcherVariant}}\\n        />\\n      </Tooltips::ImageOverlay>\\n    {{/if}}\\n  {{else}}\\n    <div class=\\\"flex flex-row items-center gap-4 mt-2 mb-2\\\">\\n      {{#if @launcherVariant}}\\n        <MessengerPreview::Launcher\\n          @configuration={{@configuration}}\\n          @showLogoOutline={{@showLogoOutline}}\\n          class=\\\"o__align-left u__mt__0 z-10\\\"\\n        />\\n        {{#if @showLogoOutline}}\\n          <div class=\\\"messenger-preview__launcher__icon__connector\\\"></div>\\n        {{/if}}\\n      {{/if}}\\n      <IcButton\\n        @icon=\\\"cloud-upload\\\"\\n        @label=\\\"Upload your logo\\\"\\n        @type=\\\"secondary\\\"\\n        @disabled={{@disabled}}\\n        @processingLabel=\\\"Uploading…\\\"\\n        @forcedActive={{this.isDragging}}\\n        @onClick={{this.showFilePicker}}\\n        data-test-upload-logo-button\\n      />\\n    </div>\\n  {{/if}}\\n  <input\\n    {{ref this \\\"input\\\"}}\\n    type=\\\"file\\\"\\n    accept=\\\"image/gif, image/jpeg, image/png\\\"\\n    class=\\\"u__hidden\\\"\\n    onchange={{this.change}}\\n  />\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"u__relative mt-2\\\"\\n  {{on \\\"drop\\\" this.drop}}\\n  {{on \\\"dragover\\\" this.dragOver}}\\n  {{on \\\"dragleave\\\" this.dragLeave}}\\n  data-test-logo-upload={{@testSelector}}\\n>\\n  <div class=\\\"absolute inset-0 bg-white {{if this.uploadLogo.isRunning \\\"opacity-50\\\" \\\"opacity-0\\\"}} transition-opacity ease-in-out duration-200 z-10 pointer-events-none\\\">\\n    <div class=\\\"u__center-item\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    </div>\\n  </div>\\n  {{#if this.hasLogo}}\\n    {{#if this.uploadLogo.isRunning}}\\n      <MessengerSettings::LookAndFeel::LogoUploadImageComponent\\n        @lookAndFeelSettings={{@lookAndFeelSettings}}\\n        @launcherVariant={{@launcherVariant}}\\n      />\\n    {{else}}\\n      <Tooltips::ImageOverlay\\n        @showFilePicker={{this.showFilePicker}}\\n        @reset={{this.removeLogo}}\\n      >\\n        <MessengerSettings::LookAndFeel::LogoUploadImageComponent\\n          @lookAndFeelSettings={{@lookAndFeelSettings}}\\n          @launcherVariant={{@launcherVariant}}\\n        />\\n      </Tooltips::ImageOverlay>\\n    {{/if}}\\n  {{else}}\\n    <div class=\\\"flex flex-row items-center gap-4 mt-2 mb-2\\\">\\n      {{#if @launcherVariant}}\\n        <MessengerPreview::Launcher\\n          @configuration={{@configuration}}\\n          @showLogoOutline={{@showLogoOutline}}\\n          class=\\\"o__align-left u__mt__0 z-10\\\"\\n        />\\n        {{#if @showLogoOutline}}\\n          <div class=\\\"messenger-preview__launcher__icon__connector\\\"></div>\\n        {{/if}}\\n      {{/if}}\\n      <IcButton\\n        @icon=\\\"cloud-upload\\\"\\n        @label=\\\"Upload your logo\\\"\\n        @type=\\\"secondary\\\"\\n        @disabled={{@disabled}}\\n        @processingLabel=\\\"Uploading…\\\"\\n        @forcedActive={{this.isDragging}}\\n        @onClick={{this.showFilePicker}}\\n        data-test-upload-logo-button\\n      />\\n    </div>\\n  {{/if}}\\n  <input\\n    {{ref this \\\"input\\\"}}\\n    type=\\\"file\\\"\\n    accept=\\\"image/gif, image/jpeg, image/png\\\"\\n    class=\\\"u__hidden\\\"\\n    onchange={{this.change}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-settings/look-and-feel/logo-upload-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/look-and-feel/logo-upload-component.hbs\"}});\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport Component from '@glimmer/component';\nimport ajax from 'embercom/lib/ajax';\nimport { inject as service } from '@ember/service';\nimport { dropTask } from 'ember-concurrency-decorators';\n\nexport default class LogoUploadComponent extends Component {\n  @service notificationsService;\n  @tracked isDragging = false;\n  fileExtension = 'png,gif,jpeg,jpg';\n  file;\n  input;\n\n  get activeBrand() {\n    return this.args.lookAndFeelSettings.activeBrand;\n  }\n  get logoUrlProperty() {\n    if (this.args.launcherVariant) {\n      return 'launcherLogoUrl';\n    }\n    return 'logoUrl';\n  }\n  get logoIdProperty() {\n    if (this.args.launcherVariant) {\n      return 'launcherLogoId';\n    }\n    return 'logoId';\n  }\n  get brandLogoUrlProperty() {\n    if (this.args.launcherVariant) {\n      return 'launcherLogoUrl';\n    }\n    return 'messengerLogoUrl';\n  }\n  get brandLogoIdProperty() {\n    if (this.args.launcherVariant) {\n      return 'launcherLogoId';\n    }\n    return 'messengerLogoId';\n  }\n  get queryParams() {\n    if (this.args.launcherVariant) {\n      return '?restricted_dimensions=true';\n    }\n    return '';\n  }\n  get hasLogo() {\n    return !!this.logoUrl;\n  }\n  get logoUrl() {\n    return this.activeBrand[this.brandLogoUrlProperty];\n  }\n  get logoId() {\n    return this.activeBrand[this.brandLogoIdProperty];\n  }\n\n  @dropTask *uploadLogo(fileData) {\n    yield ajax({\n      url: `/ember/messenger_settings/upload_logo/${this.args.app.id}${this.queryParams}`,\n      type: 'POST',\n      data: this.filePayload(fileData),\n    })\n      .then(response => {\n        this.handleUploadSuccess(response);\n      })\n      .catch(error => {\n        this.handleUploadError(error);\n      });\n  }\n\n  filePayload(fileData) {\n    return JSON.stringify({\n      file_data: fileData.split(',')[1],\n      filename: this.file.name,\n      content_type: this.file.type,\n    });\n  }\n\n  handleUploadError(error) {\n    this.clearFileInput();\n    this.notificationsService.notifyResponseError(error, {\n      default: \"Couldn't upload this file. Try again in a minute.\",\n    });\n  }\n\n  handleUploadSuccess(response) {\n    this.activeBrand[this.brandLogoUrlProperty] = response.url;\n    this.activeBrand[this.brandLogoIdProperty] = response.id;\n\n    if (this.activeBrand.isDefault) {\n      this.args.lookAndFeelSettings[this.logoUrlProperty] = response.url;\n      this.args.lookAndFeelSettings[this.logoIdProperty] = response.id;\n    }\n  }\n\n  pickFile() {\n    if (typeof this.args.pickFile === 'function') {\n      // this is here for testing 🤮\n      return this.args.pickFile.call(this);\n    }\n    this.clearFileInput();\n    this.input.click();\n  }\n\n  setFile(file) {\n    this.file = file;\n    let reader = new FileReader();\n    reader.onload = e => {\n      this.uploadLogo.perform(e.target.result);\n    };\n    reader.readAsDataURL(file);\n  }\n\n  clearFileInput() {\n    this.input.value = '';\n  }\n\n  @action\n  dragOver(e) {\n    e.preventDefault();\n    this.isDragging = true;\n  }\n\n  @action\n  dragLeave(e) {\n    e.preventDefault();\n    this.isDragging = false;\n  }\n\n  @action\n  drop(e) {\n    e.preventDefault();\n    this.isDragging = false;\n    this.setFile(e.dataTransfer.files[0]);\n  }\n\n  @action\n  change(e) {\n    if (e.target.files.length) {\n      this.setFile(e.target.files[0]);\n    }\n  }\n\n  @action\n  removeLogo() {\n    this.clearFileInput();\n    this.file = null;\n    this.activeBrand[this.brandLogoIdProperty] = null;\n    this.activeBrand[this.brandLogoUrlProperty] = null;\n\n    if (this.activeBrand.isDefault) {\n      this.args.lookAndFeelSettings[this.logoUrlProperty] = null;\n      this.args.lookAndFeelSettings[this.logoIdProperty] = null;\n    }\n  }\n\n  @action\n  showFilePicker() {\n    if (this.uploadLogo.isRunning || this.args.disabled) {\n      return;\n    }\n    this.pickFile();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @launcherVariant}}\\n  <div\\n    class=\\\"messenger-settings__look-and-feel__launcher-container mt-2 layout__box o__centers-all\\\"\\n  >\\n    <img\\n      class=\\\"messenger-settings__look-and-feel__launcher-logo\\\"\\n      src=\\\"{{@lookAndFeelSettings.activeBrand.launcherLogoUrl}}\\\"\\n    />\\n  </div>\\n{{else}}\\n  <div\\n    class=\\\"messenger-settings__look-and-feel__logo-background-gradient layout__box\\\"\\n  >\\n    <div\\n      class=\\\"messenger-settings__look-and-feel__logo-background o__background-{{@lookAndFeelSettings.backgroundId}}\\\"\\n    >\\n      <img\\n        class=\\\"messenger-settings__look-and-feel__logo\\\"\\n        src=\\\"{{@lookAndFeelSettings.activeBrand.messengerLogoUrl}}\\\"\\n      />\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if @launcherVariant}}\\n  <div\\n    class=\\\"messenger-settings__look-and-feel__launcher-container mt-2 layout__box o__centers-all\\\"\\n  >\\n    <img\\n      class=\\\"messenger-settings__look-and-feel__launcher-logo\\\"\\n      src=\\\"{{@lookAndFeelSettings.activeBrand.launcherLogoUrl}}\\\"\\n    />\\n  </div>\\n{{else}}\\n  <div\\n    class=\\\"messenger-settings__look-and-feel__logo-background-gradient layout__box\\\"\\n  >\\n    <div\\n      class=\\\"messenger-settings__look-and-feel__logo-background o__background-{{@lookAndFeelSettings.backgroundId}}\\\"\\n    >\\n      <img\\n        class=\\\"messenger-settings__look-and-feel__logo\\\"\\n        src=\\\"{{@lookAndFeelSettings.activeBrand.messengerLogoUrl}}\\\"\\n      />\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/messenger-settings/look-and-feel/logo-upload-image-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/look-and-feel/logo-upload-image-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span>{{@item.value.brandName}}\\n{{#if @item.value.isDefault}}\\n  <span class=\\\"opacity-50\\\">(default)</span>\\n{{/if}}\\n</span>\\n\", {\"contents\":\"<span>{{@item.value.brandName}}\\n{{#if @item.value.isDefault}}\\n  <span class=\\\"opacity-50\\\">(default)</span>\\n{{/if}}\\n</span>\\n\",\"moduleName\":\"embercom/components/messenger-settings/look-and-feel/multibrand/brand-picker-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/look-and-feel/multibrand/brand-picker-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-brand-picker class=\\\"mb-8 messenger-settings__accordion-subsection {{if this.hasCustomBrands \\\"o__grey-block\\\"}}\\\">\\n  <Paywall\\n    @featureKey=\\\"messenger_multibrand\\\"\\n    @customCTA=\\\"Style your messenger differently with\\\" as |paywall|\\n  >\\n    <paywall.Block>\\n      <IcContent>\\n        {{#if this.hasCustomBrands}}\\n          <Heading @size=\\\"4\\\">\\n           Design your brand styles\\n          </Heading>\\n           <Text @styling=\\\"muted\\\">Select a brand, create its style, then set it live. Repeat for each brand.</Text>\\n          <div class=\\\"flex flex-row items-center gap-4 mt-4 mb-3\\\">\\n            <IcSelect\\n              data-test-brand-dropdown\\n              @items={{this.brandsForDropdown}}\\n              @onSelectItem={{this.setActiveBrand}}\\n              @selectedValue={{@activeBrand}}\\n              @hasFilter={{true}}\\n              @filterPlaceholder=\\\"Search brands\\\"\\n              @footerActions={{hash\\n                text=\\\"Add new brand\\\"\\n                icon=\\\"new\\\"\\n                action=this.addNewBrand\\n                isDisabled=(gte @brands.length 100)\\n                tooltipText=(if (gte @brands.length 100) \\\"You cannot have more than 100 brands\\\")\\n              }}\\n              @minWidthOfOverlay={{200}}\\n            />\\n\\n            {{#if @activeBrand.isDefault}}\\n              <IcTooltipIcon @isInteractive={{true}}>\\n                Your default brand name is the name of your Intercom workspace. You can change your workspace name in\\n                <a href=\\\"{{href-to 'apps.app.settings.general'}}\\\">general settings</a>.\\n              </IcTooltipIcon>\\n            {{else}}\\n              <a {{on \\\"click\\\" (fn (mut this.showModal) true)}} data-test-multibrand-edit-modal-link>\\n                <Text @linkStyling=\\\"standalone\\\">Edit brand name or domains</Text>\\n              </a>\\n            {{/if}}\\n          </div>\\n          {{#if @activeBrand.isDefault}}\\n            <Text @styling=\\\"muted\\\" data-test-domain-helper-text>Your default style shows everywhere except the domains you've specifically associated with other brand styles.</Text>\\n          {{else if (or this.showAllDomains (lte @activeBrand.brandDomains.length 1))}}\\n            {{#each @activeBrand.brandDomains as |brandDomain|}}\\n              <Text @styling=\\\"muted\\\" class=\\\"u__mb__0\\\" data-test-domain-list-item>{{brandDomain.domain}}</Text>\\n            {{/each}}\\n          {{else}}\\n            <a data-test-domain-list-link {{on \\\"click\\\" (toggle \\\"showAllDomains\\\" this)}}>\\n              <Text @linkStyling=\\\"inline\\\" @styling=\\\"muted\\\">{{@activeBrand.brandDomains.length}} domains</Text>\\n            </a>\\n          {{/if}}\\n        {{else}}\\n          <Heading @size=\\\"4\\\">\\n            Styling for multiple brands\\n          </Heading>\\n          <div class=\\\"t__body text-gray mb-6\\\">\\n            If you manage more than one brand, your Messenger can show different brand styles on different domains.\\n            {{#unless paywall.isActive}}\\n              <a class=\\\"btn__tertiary\\\" {{on \\\"click\\\" this.addNewBrand}} data-test-multibrand-open-modal-link>\\n                <Text @linkStyling=\\\"inline\\\" @styling=\\\"muted\\\">\\n                  Set up an additional brand style\\n                </Text>\\n              </a>\\n            {{/unless}}\\n          </div>\\n        {{/if}}\\n      </IcContent>\\n    </paywall.Block>\\n  </Paywall>\\n  <IcModal\\n    @onModalClose={{this.undoAndCloseModal}}\\n    @width=\\\"m\\\"\\n    @isOpen={{this.showModal}}\\n    @focusElement=\\\"body\\\"\\n    @closeOnBlanketClick={{false}}\\n    as |modal|\\n  >\\n    <modal.header\\n      @title={{if this.isCreating \\\"Set up an additional brand style\\\" \\\"Edit your brand name or domain\\\"}}\\n    />\\n    <modal.body>\\n      {{#if this.isCreating}}\\n        <div class=\\\"mb-6\\\">\\n          Specify your brand name and the domain or domains where this style should show\\n        </div>\\n      {{/if}}\\n      <Form as |form|>\\n        <form.Item\\n          @isInvalid={{@activeBrand.brandNameError}}\\n          @errorMessage={{@activeBrand.brandNameError}}\\n          data-test-brand-name-form-item\\n          as |item|\\n        >\\n          <Text @styling=\\\"strong\\\" class=\\\"mb-1\\\">Brand name</Text>\\n          <Text>\\n            Your brand name shows on your Messenger (and other places)\\n            <IcTooltipIcon @content='This brand name will show throughout your Messenger as well as on outbound messages and Product Tours.' />\\n          </Text>\\n          <item.Input\\n            data-test-brand-name-input\\n            maxlength=\\\"191\\\"\\n            @value={{@activeBrand.brandName}}\\n          />\\n        </form.Item>\\n\\n        <Text @styling=\\\"strong\\\" class=\\\"mb-1\\\">Brand domain</Text>\\n        <Text>This is where your brand style shows (like domains or sub-domains)</Text>\\n        {{#each @activeBrand.brandDomains key=\\\"id\\\" as |domain index|}}\\n          <MessengerSettings::LookAndFeel::Multibrand::DomainFormItem\\n            @form={{form}}\\n            @domain={{domain}}\\n            @canRemove={{not (eq @activeBrand.brandDomains.length 1)}}\\n            @removeDomain={{fn this.removeDomain domain}}\\n            @showEmptyDomainMessage={{and (eq index 0) @activeBrand.allDomainsEmpty}}\\n            />\\n        {{/each}}\\n      </Form>\\n      <IcTooltip @isDisabled={{lt @activeBrand.brandDomains.length 25}} as |t|>\\n        <t.opener>\\n          <div class=\\\"mt-4 ml-2\\\">\\n            <a class=\\\"btn__tertiary {{if (gte @activeBrand.brandDomains.length 25) \\\"o__disabled\\\"}}\\\" {{on \\\"click\\\" this.addDomain}} data-test-add-domain>+ Add domain</a>\\n          </div>\\n        </t.opener>\\n        <t.content>\\n          You cannot have more than 25 domains\\n        </t.content>\\n      </IcTooltip>\\n      <div class=\\\"flex flex-row justify-end mt-4 pt-4 messenger-settings__look-and-feel__brand-modal-footer\\\">\\n        <IcButtonList as |list|>\\n          <list.button @type=\\\"secondary\\\" @label=\\\"Cancel\\\" @onClick={{this.undoAndCloseModal}} data-test-brand-modal-cancel-button/>\\n          <IcTooltip @isDisabled={{not this.saveButtonTooltip}} as |t|>\\n            <t.opener>\\n              <list.button\\n                @type=\\\"primary-live\\\"\\n                @label=\\\"Save and set live\\\"\\n                @onClick={{perform this.updateBrandAndCloseModal}}\\n                @processingLabel=\\\"Saving…\\\"\\n                @disabled={{not @activeBrand.isValid}}\\n                data-test-brand-modal-save-button/>\\n            </t.opener>\\n            <t.content>\\n              <span data-test-save-brand-tooltip>{{this.saveButtonTooltip}}</span>\\n            </t.content>\\n          </IcTooltip>\\n        </IcButtonList>\\n      </div>\\n    </modal.body>\\n  </IcModal>\\n</div>\\n\", {\"contents\":\"<div data-test-brand-picker class=\\\"mb-8 messenger-settings__accordion-subsection {{if this.hasCustomBrands \\\"o__grey-block\\\"}}\\\">\\n  <Paywall\\n    @featureKey=\\\"messenger_multibrand\\\"\\n    @customCTA=\\\"Style your messenger differently with\\\" as |paywall|\\n  >\\n    <paywall.Block>\\n      <IcContent>\\n        {{#if this.hasCustomBrands}}\\n          <Heading @size=\\\"4\\\">\\n           Design your brand styles\\n          </Heading>\\n           <Text @styling=\\\"muted\\\">Select a brand, create its style, then set it live. Repeat for each brand.</Text>\\n          <div class=\\\"flex flex-row items-center gap-4 mt-4 mb-3\\\">\\n            <IcSelect\\n              data-test-brand-dropdown\\n              @items={{this.brandsForDropdown}}\\n              @onSelectItem={{this.setActiveBrand}}\\n              @selectedValue={{@activeBrand}}\\n              @hasFilter={{true}}\\n              @filterPlaceholder=\\\"Search brands\\\"\\n              @footerActions={{hash\\n                text=\\\"Add new brand\\\"\\n                icon=\\\"new\\\"\\n                action=this.addNewBrand\\n                isDisabled=(gte @brands.length 100)\\n                tooltipText=(if (gte @brands.length 100) \\\"You cannot have more than 100 brands\\\")\\n              }}\\n              @minWidthOfOverlay={{200}}\\n            />\\n\\n            {{#if @activeBrand.isDefault}}\\n              <IcTooltipIcon @isInteractive={{true}}>\\n                Your default brand name is the name of your Intercom workspace. You can change your workspace name in\\n                <a href=\\\"{{href-to 'apps.app.settings.general'}}\\\">general settings</a>.\\n              </IcTooltipIcon>\\n            {{else}}\\n              <a {{on \\\"click\\\" (fn (mut this.showModal) true)}} data-test-multibrand-edit-modal-link>\\n                <Text @linkStyling=\\\"standalone\\\">Edit brand name or domains</Text>\\n              </a>\\n            {{/if}}\\n          </div>\\n          {{#if @activeBrand.isDefault}}\\n            <Text @styling=\\\"muted\\\" data-test-domain-helper-text>Your default style shows everywhere except the domains you've specifically associated with other brand styles.</Text>\\n          {{else if (or this.showAllDomains (lte @activeBrand.brandDomains.length 1))}}\\n            {{#each @activeBrand.brandDomains as |brandDomain|}}\\n              <Text @styling=\\\"muted\\\" class=\\\"u__mb__0\\\" data-test-domain-list-item>{{brandDomain.domain}}</Text>\\n            {{/each}}\\n          {{else}}\\n            <a data-test-domain-list-link {{on \\\"click\\\" (toggle \\\"showAllDomains\\\" this)}}>\\n              <Text @linkStyling=\\\"inline\\\" @styling=\\\"muted\\\">{{@activeBrand.brandDomains.length}} domains</Text>\\n            </a>\\n          {{/if}}\\n        {{else}}\\n          <Heading @size=\\\"4\\\">\\n            Styling for multiple brands\\n          </Heading>\\n          <div class=\\\"t__body text-gray mb-6\\\">\\n            If you manage more than one brand, your Messenger can show different brand styles on different domains.\\n            {{#unless paywall.isActive}}\\n              <a class=\\\"btn__tertiary\\\" {{on \\\"click\\\" this.addNewBrand}} data-test-multibrand-open-modal-link>\\n                <Text @linkStyling=\\\"inline\\\" @styling=\\\"muted\\\">\\n                  Set up an additional brand style\\n                </Text>\\n              </a>\\n            {{/unless}}\\n          </div>\\n        {{/if}}\\n      </IcContent>\\n    </paywall.Block>\\n  </Paywall>\\n  <IcModal\\n    @onModalClose={{this.undoAndCloseModal}}\\n    @width=\\\"m\\\"\\n    @isOpen={{this.showModal}}\\n    @focusElement=\\\"body\\\"\\n    @closeOnBlanketClick={{false}}\\n    as |modal|\\n  >\\n    <modal.header\\n      @title={{if this.isCreating \\\"Set up an additional brand style\\\" \\\"Edit your brand name or domain\\\"}}\\n    />\\n    <modal.body>\\n      {{#if this.isCreating}}\\n        <div class=\\\"mb-6\\\">\\n          Specify your brand name and the domain or domains where this style should show\\n        </div>\\n      {{/if}}\\n      <Form as |form|>\\n        <form.Item\\n          @isInvalid={{@activeBrand.brandNameError}}\\n          @errorMessage={{@activeBrand.brandNameError}}\\n          data-test-brand-name-form-item\\n          as |item|\\n        >\\n          <Text @styling=\\\"strong\\\" class=\\\"mb-1\\\">Brand name</Text>\\n          <Text>\\n            Your brand name shows on your Messenger (and other places)\\n            <IcTooltipIcon @content='This brand name will show throughout your Messenger as well as on outbound messages and Product Tours.' />\\n          </Text>\\n          <item.Input\\n            data-test-brand-name-input\\n            maxlength=\\\"191\\\"\\n            @value={{@activeBrand.brandName}}\\n          />\\n        </form.Item>\\n\\n        <Text @styling=\\\"strong\\\" class=\\\"mb-1\\\">Brand domain</Text>\\n        <Text>This is where your brand style shows (like domains or sub-domains)</Text>\\n        {{#each @activeBrand.brandDomains key=\\\"id\\\" as |domain index|}}\\n          <MessengerSettings::LookAndFeel::Multibrand::DomainFormItem\\n            @form={{form}}\\n            @domain={{domain}}\\n            @canRemove={{not (eq @activeBrand.brandDomains.length 1)}}\\n            @removeDomain={{fn this.removeDomain domain}}\\n            @showEmptyDomainMessage={{and (eq index 0) @activeBrand.allDomainsEmpty}}\\n            />\\n        {{/each}}\\n      </Form>\\n      <IcTooltip @isDisabled={{lt @activeBrand.brandDomains.length 25}} as |t|>\\n        <t.opener>\\n          <div class=\\\"mt-4 ml-2\\\">\\n            <a class=\\\"btn__tertiary {{if (gte @activeBrand.brandDomains.length 25) \\\"o__disabled\\\"}}\\\" {{on \\\"click\\\" this.addDomain}} data-test-add-domain>+ Add domain</a>\\n          </div>\\n        </t.opener>\\n        <t.content>\\n          You cannot have more than 25 domains\\n        </t.content>\\n      </IcTooltip>\\n      <div class=\\\"flex flex-row justify-end mt-4 pt-4 messenger-settings__look-and-feel__brand-modal-footer\\\">\\n        <IcButtonList as |list|>\\n          <list.button @type=\\\"secondary\\\" @label=\\\"Cancel\\\" @onClick={{this.undoAndCloseModal}} data-test-brand-modal-cancel-button/>\\n          <IcTooltip @isDisabled={{not this.saveButtonTooltip}} as |t|>\\n            <t.opener>\\n              <list.button\\n                @type=\\\"primary-live\\\"\\n                @label=\\\"Save and set live\\\"\\n                @onClick={{perform this.updateBrandAndCloseModal}}\\n                @processingLabel=\\\"Saving…\\\"\\n                @disabled={{not @activeBrand.isValid}}\\n                data-test-brand-modal-save-button/>\\n            </t.opener>\\n            <t.content>\\n              <span data-test-save-brand-tooltip>{{this.saveButtonTooltip}}</span>\\n            </t.content>\\n          </IcTooltip>\\n        </IcButtonList>\\n      </div>\\n    </modal.body>\\n  </IcModal>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-settings/look-and-feel/multibrand/brand-picker.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/look-and-feel/multibrand/brand-picker.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class BrandPicker extends Component {\n  @service store;\n  @service intercomEventService;\n  @service notificationsService;\n  @tracked showModal = false;\n  @tracked showAllDomains = false;\n\n  previousActiveBrand = this.args.activeBrand;\n  defaultBrand = this.args.brands.findBy('isDefault');\n\n  get hasCustomBrands() {\n    return this.args.brands.length > 1;\n  }\n\n  get isCreating() {\n    return this.args.activeBrand.isNew;\n  }\n\n  get brandsForDropdown() {\n    let component = 'messenger-settings/look-and-feel/multibrand/brand-picker-item';\n    let customBrands = this.args.brands.reject(brand => brand.isDefault);\n\n    let defaultBrandListItem = {\n      text: this.defaultBrand.brandName,\n      value: this.defaultBrand,\n      component,\n    };\n    let customBrandListItems = customBrands\n      .map(brand => {\n        return {\n          text: brand.brandName,\n          value: brand,\n          component,\n        };\n      })\n      .sortBy('value.brandName');\n\n    let dropdownList = [defaultBrandListItem, ...customBrandListItems];\n    return [{ items: dropdownList }];\n  }\n\n  get saveButtonTooltip() {\n    if (!this.args.activeBrand.isValid) {\n      if (this.args.activeBrand.brandNameError) {\n        return 'Please add a brand name and at least one valid domain';\n      }\n      return 'Please add at least one valid domain';\n    }\n  }\n\n  @action\n  addNewBrand() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked_add_new',\n      object: 'messenger_brand',\n      place: 'messenger_settings',\n      section: 'messenger',\n    });\n    this.previousActiveBrand = this.args.activeBrand;\n\n    let newBrand = this.args.brands.pushObject(\n      this.store.createRecord('brand', {\n        brandName: '',\n        brandDomains: [],\n        logoUrl: this.defaultBrand.logoUrl,\n        messengerBackgroundColor: this.defaultBrand.messengerBackgroundColor,\n        messengerActionColor: this.defaultBrand.messengerActionColor,\n        messengerWallpaper: this.defaultBrand.messengerWallpaper,\n        launcherAlignment: this.defaultBrand.launcherAlignment,\n        launcherHorizontalPadding: this.defaultBrand.launcherHorizontalPadding,\n        launcherVerticalPadding: this.defaultBrand.launcherVerticalPadding,\n      }),\n    );\n    newBrand.addDomain('');\n    this.args.setBrand(newBrand);\n    this.showModal = true;\n  }\n\n  @action\n  setActiveBrand(brand) {\n    this.args.setBrand(brand);\n    this.showAllDomains = false;\n  }\n\n  @action\n  undoAndCloseModal() {\n    let isCreating = this.isCreating;\n\n    this.args.activeBrand.rollbackAttributes();\n\n    if (isCreating) {\n      this.args.setBrand(this.previousActiveBrand);\n    }\n    this.showModal = false;\n  }\n\n  @task\n  *updateBrandAndCloseModal() {\n    yield this.args.activeBrand.save();\n    this.showModal = false;\n    this.notificationsService.notifyConfirmation(\n      `${this.args.activeBrand.brandName} was ${\n        this.isCreating ? 'created' : 'saved'\n      } successfully`,\n    );\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'save_and_set_live',\n      object: 'messenger_brand',\n      place: 'messenger_settings',\n      section: 'messenger',\n      metadata: {\n        from_modal: true,\n        is_new: this.isCreating,\n        brand_id: this.args.activeBrand.id,\n      },\n    });\n  }\n\n  @action\n  addDomain() {\n    this.args.activeBrand.addDomain('');\n  }\n\n  @action\n  removeDomain(domain) {\n    this.args.activeBrand.removeDomain(domain);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<@form.Item\\n  data-test-brand-domain-form-item\\n  @isInvalid={{or  @showEmptyDomainMessage @domain.domainFormatErrorMessage}}\\n  @errorMessage={{if  @showEmptyDomainMessage 'Add at least one domain' @domain.domainFormatErrorMessage}} as |item|\\n>\\n  <div class=\\\"flex flex-row mb-1\\\">\\n    <div class=\\\"flex flex-col flex-5\\\">\\n      <item.Input\\n        data-test-brand-domain-input\\n        @placeholder=\\\"www.intercom.com, or brand.example.com\\\"\\n        @value={{@domain.domain}}\\n        @prefix=\\\"https://\\\"\\n      />\\n    </div>\\n    {{#if @canRemove}}\\n      <span class=\\\"quick-action o__destructive\\\" {{on \\\"click\\\" @removeDomain}}>\\n        {{ic-interface-icon \\\"trash\\\" color=\\\"black\\\" solo=true}}\\n      </span>\\n    {{/if}}\\n  </div>\\n</@form.Item>\\n\", {\"contents\":\"<@form.Item\\n  data-test-brand-domain-form-item\\n  @isInvalid={{or  @showEmptyDomainMessage @domain.domainFormatErrorMessage}}\\n  @errorMessage={{if  @showEmptyDomainMessage 'Add at least one domain' @domain.domainFormatErrorMessage}} as |item|\\n>\\n  <div class=\\\"flex flex-row mb-1\\\">\\n    <div class=\\\"flex flex-col flex-5\\\">\\n      <item.Input\\n        data-test-brand-domain-input\\n        @placeholder=\\\"www.intercom.com, or brand.example.com\\\"\\n        @value={{@domain.domain}}\\n        @prefix=\\\"https://\\\"\\n      />\\n    </div>\\n    {{#if @canRemove}}\\n      <span class=\\\"quick-action o__destructive\\\" {{on \\\"click\\\" @removeDomain}}>\\n        {{ic-interface-icon \\\"trash\\\" color=\\\"black\\\" solo=true}}\\n      </span>\\n    {{/if}}\\n  </div>\\n</@form.Item>\\n\",\"moduleName\":\"embercom/components/messenger-settings/look-and-feel/multibrand/domain-form-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/look-and-feel/multibrand/domain-form-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"messenger-settings__accordion-section\\\">\\n  <div data-test-security-settings>\\n    <MessengerSettings::Security::Domains\\n      @securitySettings={{securitySettings}}\\n    />\\n    <div class=\\\"h-8\\\"></div>\\n    <MessengerSettings::Security::IdentityVerification />\\n    <MessengerSettings::ActionButtonComponent\\n      @settings={{securitySettings}}\\n      @body={{body}}\\n      @beforeSave={{action \\\"beforeSave\\\"}}\\n    />\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"messenger-settings__accordion-section\\\">\\n  <div data-test-security-settings>\\n    <MessengerSettings::Security::Domains\\n      @securitySettings={{securitySettings}}\\n    />\\n    <div class=\\\"h-8\\\"></div>\\n    <MessengerSettings::Security::IdentityVerification />\\n    <MessengerSettings::ActionButtonComponent\\n      @settings={{securitySettings}}\\n      @body={{body}}\\n      @beforeSave={{action \\\"beforeSave\\\"}}\\n    />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-settings/security-settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/security-settings.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  actions: {\n    beforeSave() {\n      this.securitySettings.updateParsedAllowedDomains();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<h3 class=\\\"t__h4 f__group-label\\\">\\n  List your trusted domains\\n</h3>\\n<p class=\\\"t__body mb-2\\\">\\n  Your Messenger will only show on these domains.\\n</p>\\n<textarea\\n  class=\\\"f__text {{if @securitySettings.domainValidator.isNotValid \\\"o__error\\\"}}\\\"\\n  value={{@securitySettings.allowedDomains}}\\n  {{on \\\"input\\\" (pick \\\"target.value\\\" this.changeAllowedDomains)}}\\n  data-test-security-settings-domain-text\\n></textarea>\\n{{#if @securitySettings.domainValidator.isNotValid}}\\n  <p class=\\\"text-red mt-1 mb-2\\\" data-test-security-settings-error-text>\\n    {{@securitySettings.domainValidator.errorMessage}}\\n  </p>\\n{{/if}}\\n<Paragraph @styling=\\\"small\\\">\\n  List your trusted domains and subdomains, separated by commas. To mark all your subdomains as trusted, use an asterisk as a placeholder like this: *.example.com. If you leave this field blank, your Messenger can be added to any domain.\\n</Paragraph>\\n\", {\"contents\":\"{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<h3 class=\\\"t__h4 f__group-label\\\">\\n  List your trusted domains\\n</h3>\\n<p class=\\\"t__body mb-2\\\">\\n  Your Messenger will only show on these domains.\\n</p>\\n<textarea\\n  class=\\\"f__text {{if @securitySettings.domainValidator.isNotValid \\\"o__error\\\"}}\\\"\\n  value={{@securitySettings.allowedDomains}}\\n  {{on \\\"input\\\" (pick \\\"target.value\\\" this.changeAllowedDomains)}}\\n  data-test-security-settings-domain-text\\n></textarea>\\n{{#if @securitySettings.domainValidator.isNotValid}}\\n  <p class=\\\"text-red mt-1 mb-2\\\" data-test-security-settings-error-text>\\n    {{@securitySettings.domainValidator.errorMessage}}\\n  </p>\\n{{/if}}\\n<Paragraph @styling=\\\"small\\\">\\n  List your trusted domains and subdomains, separated by commas. To mark all your subdomains as trusted, use an asterisk as a placeholder like this: *.example.com. If you leave this field blank, your Messenger can be added to any domain.\\n</Paragraph>\\n\",\"moduleName\":\"embercom/components/messenger-settings/security/domains.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/security/domains.hbs\"}});\nimport { action } from '@ember/object';\nimport Component from '@glimmer/component';\n\nexport default class Domains extends Component {\n  @action\n  changeAllowedDomains(newDomains) {\n    let domainsArray = newDomains.split(',');\n    this.args.securitySettings.parsedAllowedDomains = domainsArray;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h4 class=\\\"t__h4 f__group-label\\\">\\n  Set up identity verification  {{ic-stamp \\\"Strongly recommended\\\"}}\\n</h4>\\n<p class=\\\"t__body\\\">\\n  Keep third parties from impersonating your logged-in users and seeing their conversations.\\n</p>\\n<div class=\\\"h-2\\\"></div>\\n<LinkTo\\n  @route=\\\"apps.app.settings.identity-verification.web\\\"\\n  class=\\\"card o__hoverable identity-verification__card u__pad__20 flex items-center\\\"\\n>\\n  <IcIllustrativeIcon @name=\\\"notification-desktop\\\" />\\n  <div class=\\\"u__ml__20 flex-auto min-w-0\\\">\\n    <h4 class=\\\"t__h3\\\">\\n      <span class=\\\"u__mr__10\\\">\\n        <strong>\\n          Identity verification for web users\\n        </strong>\\n      </span>\\n      <span data-test-identity-verification-status=\\\"web\\\">\\n        {{ic-stamp (if webIdentityVerified \\\"On\\\" \\\"Off\\\")}}\\n      </span>\\n    </h4>\\n    <div class=\\\"h-1\\\"></div>\\n    <p class=\\\"t__light-text\\\" data-test-user-source-status=\\\"web\\\">\\n      {{#if (and webIdentityVerified noDomainsHaveErrors)}}\\n        Identity verification is enforced for web\\n      {{else if webIdentityVerified}}\\n        <span class=\\\"c__warning\\\">\\n          {{ic-interface-icon \\\"alert-circle\\\"}} Review errors with identity verification for web\\n        </span>\\n      {{else if app.is_activated}}\\n        <span class=\\\"c__warning\\\">\\n          {{ic-interface-icon \\\"alert-circle\\\"}} Enforce identity verification for web\\n        </span>\\n      {{else}}\\n        Identity verification is not enforced for web\\n      {{/if}}\\n    </p>\\n  </div>\\n</LinkTo>\\n<div class=\\\"h-2\\\"></div>\\n<LinkTo\\n  @route=\\\"apps.app.settings.identity-verification.ios\\\"\\n  class=\\\"card o__hoverable identity-verification__card u__pad__20 flex items-center\\\"\\n>\\n  <IcIllustrativeIcon @name=\\\"ios-mobile\\\" />\\n  <div class=\\\"u__ml__20 flex-auto min-w-0\\\">\\n    <h4 class=\\\"t__h3\\\">\\n      <span class=\\\"u__mr__10\\\">\\n        <strong>\\n          Identity verification for iOS users\\n        </strong>\\n      </span>\\n      <span data-test-identity-verification-status=\\\"ios\\\">\\n        {{ic-stamp (if iosIdentityVerified \\\"On\\\" \\\"Off\\\")}}\\n      </span>\\n    </h4>\\n    <div class=\\\"h-1\\\"></div>\\n    <p class=\\\"t__light-text\\\" data-test-user-source-status=\\\"ios\\\">\\n      {{#if iosIdentityVerified}}\\n        Identity verification is enforced for iOS\\n      {{else if iosSdkApp.is_activated}}\\n        <span class=\\\"c__warning\\\">\\n          {{ic-interface-icon \\\"alert-circle\\\"}} Enforce identity verification for iOS\\n        </span>\\n      {{else}}\\n        Identity verification is not enforced for iOS\\n      {{/if}}\\n    </p>\\n  </div>\\n</LinkTo>\\n<div class=\\\"h-2\\\"></div>\\n<LinkTo\\n  @route=\\\"apps.app.settings.identity-verification.android\\\"\\n  class=\\\"card o__hoverable identity-verification__card u__pad__20 flex items-center\\\"\\n>\\n  <IcIllustrativeIcon @name=\\\"android-mobile\\\" />\\n  <div class=\\\"u__ml__20 flex-auto min-w-0\\\">\\n    <h4 class=\\\"t__h3\\\">\\n      <span class=\\\"u__mr__10\\\">\\n        <strong>\\n          Identity verification for Android users\\n        </strong>\\n      </span>\\n      <span data-test-identity-verification-status=\\\"android\\\">\\n        {{ic-stamp (if androidIdentityVerified \\\"On\\\" \\\"Off\\\")}}\\n      </span>\\n    </h4>\\n    <div class=\\\"h-1\\\"></div>\\n    <p class=\\\"t__light-text\\\" data-test-user-source-status=\\\"android\\\">\\n      {{#if androidIdentityVerified}}\\n        Identity verification is enforced for Android\\n      {{else if androidSdkApp.is_activated}}\\n        <span class=\\\"c__warning\\\">\\n          {{ic-interface-icon \\\"alert-circle\\\"}} Enforce identity verification for Android\\n        </span>\\n      {{else}}\\n        Identity verification is not enforced for Android\\n      {{/if}}\\n    </p>\\n  </div>\\n</LinkTo>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h4 class=\\\"t__h4 f__group-label\\\">\\n  Set up identity verification  {{ic-stamp \\\"Strongly recommended\\\"}}\\n</h4>\\n<p class=\\\"t__body\\\">\\n  Keep third parties from impersonating your logged-in users and seeing their conversations.\\n</p>\\n<div class=\\\"h-2\\\"></div>\\n<LinkTo\\n  @route=\\\"apps.app.settings.identity-verification.web\\\"\\n  class=\\\"card o__hoverable identity-verification__card u__pad__20 flex items-center\\\"\\n>\\n  <IcIllustrativeIcon @name=\\\"notification-desktop\\\" />\\n  <div class=\\\"u__ml__20 flex-auto min-w-0\\\">\\n    <h4 class=\\\"t__h3\\\">\\n      <span class=\\\"u__mr__10\\\">\\n        <strong>\\n          Identity verification for web users\\n        </strong>\\n      </span>\\n      <span data-test-identity-verification-status=\\\"web\\\">\\n        {{ic-stamp (if webIdentityVerified \\\"On\\\" \\\"Off\\\")}}\\n      </span>\\n    </h4>\\n    <div class=\\\"h-1\\\"></div>\\n    <p class=\\\"t__light-text\\\" data-test-user-source-status=\\\"web\\\">\\n      {{#if (and webIdentityVerified noDomainsHaveErrors)}}\\n        Identity verification is enforced for web\\n      {{else if webIdentityVerified}}\\n        <span class=\\\"c__warning\\\">\\n          {{ic-interface-icon \\\"alert-circle\\\"}} Review errors with identity verification for web\\n        </span>\\n      {{else if app.is_activated}}\\n        <span class=\\\"c__warning\\\">\\n          {{ic-interface-icon \\\"alert-circle\\\"}} Enforce identity verification for web\\n        </span>\\n      {{else}}\\n        Identity verification is not enforced for web\\n      {{/if}}\\n    </p>\\n  </div>\\n</LinkTo>\\n<div class=\\\"h-2\\\"></div>\\n<LinkTo\\n  @route=\\\"apps.app.settings.identity-verification.ios\\\"\\n  class=\\\"card o__hoverable identity-verification__card u__pad__20 flex items-center\\\"\\n>\\n  <IcIllustrativeIcon @name=\\\"ios-mobile\\\" />\\n  <div class=\\\"u__ml__20 flex-auto min-w-0\\\">\\n    <h4 class=\\\"t__h3\\\">\\n      <span class=\\\"u__mr__10\\\">\\n        <strong>\\n          Identity verification for iOS users\\n        </strong>\\n      </span>\\n      <span data-test-identity-verification-status=\\\"ios\\\">\\n        {{ic-stamp (if iosIdentityVerified \\\"On\\\" \\\"Off\\\")}}\\n      </span>\\n    </h4>\\n    <div class=\\\"h-1\\\"></div>\\n    <p class=\\\"t__light-text\\\" data-test-user-source-status=\\\"ios\\\">\\n      {{#if iosIdentityVerified}}\\n        Identity verification is enforced for iOS\\n      {{else if iosSdkApp.is_activated}}\\n        <span class=\\\"c__warning\\\">\\n          {{ic-interface-icon \\\"alert-circle\\\"}} Enforce identity verification for iOS\\n        </span>\\n      {{else}}\\n        Identity verification is not enforced for iOS\\n      {{/if}}\\n    </p>\\n  </div>\\n</LinkTo>\\n<div class=\\\"h-2\\\"></div>\\n<LinkTo\\n  @route=\\\"apps.app.settings.identity-verification.android\\\"\\n  class=\\\"card o__hoverable identity-verification__card u__pad__20 flex items-center\\\"\\n>\\n  <IcIllustrativeIcon @name=\\\"android-mobile\\\" />\\n  <div class=\\\"u__ml__20 flex-auto min-w-0\\\">\\n    <h4 class=\\\"t__h3\\\">\\n      <span class=\\\"u__mr__10\\\">\\n        <strong>\\n          Identity verification for Android users\\n        </strong>\\n      </span>\\n      <span data-test-identity-verification-status=\\\"android\\\">\\n        {{ic-stamp (if androidIdentityVerified \\\"On\\\" \\\"Off\\\")}}\\n      </span>\\n    </h4>\\n    <div class=\\\"h-1\\\"></div>\\n    <p class=\\\"t__light-text\\\" data-test-user-source-status=\\\"android\\\">\\n      {{#if androidIdentityVerified}}\\n        Identity verification is enforced for Android\\n      {{else if androidSdkApp.is_activated}}\\n        <span class=\\\"c__warning\\\">\\n          {{ic-interface-icon \\\"alert-circle\\\"}} Enforce identity verification for Android\\n        </span>\\n      {{else}}\\n        Identity verification is not enforced for Android\\n      {{/if}}\\n    </p>\\n  </div>\\n</LinkTo>\\n\",\"moduleName\":\"embercom/components/messenger-settings/security/identity-verification.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/security/identity-verification.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  store: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  init() {\n    this._super(...arguments);\n    this.fetchPingDomains.perform();\n  },\n\n  webIdentityVerified: readOnly('app.identityVerified'),\n\n  iosSdkApp: readOnly('app.iosSdkApps.firstObject'),\n  iosIdentityVerified: readOnly('iosSdkApp.identityVerified'),\n\n  androidSdkApp: readOnly('app.androidSdkApps.firstObject'),\n  androidIdentityVerified: readOnly('androidSdkApp.identityVerified'),\n\n  pingDomains: [],\n  fetchPingDomains: task(function*() {\n    let pingDomains = yield this.store.query('ping-domain', { ignore_anonymous: true });\n    this.set('pingDomains', pingDomains);\n  }),\n  noDomainsHaveErrors: computed('pingDomains.@each.errorCode', function() {\n    return this.pingDomains.isEvery('errorCode', null);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"messenger-settings__accordion-section\\\">\\n  <Form\\n    class=\\\"m__settings__messenger__left-wrap start-screen__section__messenger-settings__left-wrap mb-6\\\"\\n    data-test-temporary-expectations\\n    as |form|\\n  >\\n    <form.SectionDescription>\\n      Write a notice to all your visitors and customers.\\n    </form.SectionDescription>\\n    <div class=\\\"flex flex-row items-center gap-2\\\">\\n      <IcOnOffToggle\\n        @isOn={{@settings.enabled}}\\n        @onClick={{toggle \\\"enabled\\\" @settings}}\\n      />\\n      <Text>\\n        Notice is {{if @settings.enabled \\\"on\\\" \\\"off\\\"}}\\n      </Text>\\n    </div>\\n    <MessengerSettings::LocaleTextareaWithCount\\n      @placeholder=\\\"Let your customers know what to expect and explain why…\\\"\\n      @locale={{hash userWelcomeMessage=@settings.message}}\\n      @showLocale={{false}}\\n      @charLimit={{120}}\\n    />\\n  </Form>\\n  <Text @styling=\\\"small\\\">\\n    This is a temporary beta feature that’s limited to a single language.\\n  </Text>\\n  {{#unless this.hideSaveButton}}\\n    <MessengerSettings::ActionButtonComponent\\n      @settings={{@settings}}\\n      @body={{@body}}\\n    />\\n  {{/unless}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"messenger-settings__accordion-section\\\">\\n  <Form\\n    class=\\\"m__settings__messenger__left-wrap start-screen__section__messenger-settings__left-wrap mb-6\\\"\\n    data-test-temporary-expectations\\n    as |form|\\n  >\\n    <form.SectionDescription>\\n      Write a notice to all your visitors and customers.\\n    </form.SectionDescription>\\n    <div class=\\\"flex flex-row items-center gap-2\\\">\\n      <IcOnOffToggle\\n        @isOn={{@settings.enabled}}\\n        @onClick={{toggle \\\"enabled\\\" @settings}}\\n      />\\n      <Text>\\n        Notice is {{if @settings.enabled \\\"on\\\" \\\"off\\\"}}\\n      </Text>\\n    </div>\\n    <MessengerSettings::LocaleTextareaWithCount\\n      @placeholder=\\\"Let your customers know what to expect and explain why…\\\"\\n      @locale={{hash userWelcomeMessage=@settings.message}}\\n      @showLocale={{false}}\\n      @charLimit={{120}}\\n    />\\n  </Form>\\n  <Text @styling=\\\"small\\\">\\n    This is a temporary beta feature that’s limited to a single language.\\n  </Text>\\n  {{#unless this.hideSaveButton}}\\n    <MessengerSettings::ActionButtonComponent\\n      @settings={{@settings}}\\n      @body={{@body}}\\n    />\\n  {{/unless}}\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-settings/temporary-expectations-settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/temporary-expectations-settings.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"messenger-settings__accordion-section\\\">\\n  <div class=\\\"m__settings__messenger__left-wrap start-screen__section__messenger-settings__left-wrap\\\" data-test-set-upfront-email-collection>\\n    <Form as |form|>\\n      <form.SectionDescription>Ask your website visitors to leave their email before starting a live chat:</form.SectionDescription>\\n       <form.Item as |item|>\\n        <item.RadioGroup @selected={{@upfrontEmailCollectionSettings.frequency}} as |group|>\\n          <Paywall @featureKey=\\\"upfront_email_collection\\\" as |paywall|>\\n            <paywall.Hover>\\n              <group.RadioButton\\n                @disabled={{this.upfrontEmailCollectionBillingFeatureNotEnabled}}\\n                @value=\\\"only_outside_of_office_hours\\\"\\n                data-test-upfront-email-collection-selection\\n              as |radio|>\\n                <radio.Label>Only outside of office hours</radio.Label>\\n                <radio.Hint>Reduces conversation volume by around 5% on average</radio.Hint>\\n              </group.RadioButton>\\n            </paywall.Hover>\\n          </Paywall>\\n          <Paywall @featureKey=\\\"upfront_email_collection\\\" as |paywall|>\\n            <paywall.Hover>\\n              <group.RadioButton\\n                @disabled={{this.upfrontEmailCollectionBillingFeatureNotEnabled}}\\n                @value=\\\"always\\\"\\n                data-test-upfront-email-collection-selection\\n              as |radio|>\\n                <radio.Label>Always</radio.Label>\\n                <radio.Hint>Reduces conversation volume by around 30% on average</radio.Hint>\\n              </group.RadioButton>\\n            </paywall.Hover>\\n          </Paywall>\\n          <group.RadioButton\\n            @label=\\\"Never\\\"\\n            @hint=\\\"Will allow website visitors to start a conversation at any time\\\"\\n            @value=\\\"never\\\"\\n            data-test-upfront-email-collection-selection\\n          />\\n        </item.RadioGroup>\\n      </form.Item>\\n    </Form>\\n  </div>\\n  <MessengerSettings::ActionButtonComponent @settings={{@upfrontEmailCollectionSettings}} @body={{@body}}/>\\n</div>\\n\", {\"contents\":\"<div class=\\\"messenger-settings__accordion-section\\\">\\n  <div class=\\\"m__settings__messenger__left-wrap start-screen__section__messenger-settings__left-wrap\\\" data-test-set-upfront-email-collection>\\n    <Form as |form|>\\n      <form.SectionDescription>Ask your website visitors to leave their email before starting a live chat:</form.SectionDescription>\\n       <form.Item as |item|>\\n        <item.RadioGroup @selected={{@upfrontEmailCollectionSettings.frequency}} as |group|>\\n          <Paywall @featureKey=\\\"upfront_email_collection\\\" as |paywall|>\\n            <paywall.Hover>\\n              <group.RadioButton\\n                @disabled={{this.upfrontEmailCollectionBillingFeatureNotEnabled}}\\n                @value=\\\"only_outside_of_office_hours\\\"\\n                data-test-upfront-email-collection-selection\\n              as |radio|>\\n                <radio.Label>Only outside of office hours</radio.Label>\\n                <radio.Hint>Reduces conversation volume by around 5% on average</radio.Hint>\\n              </group.RadioButton>\\n            </paywall.Hover>\\n          </Paywall>\\n          <Paywall @featureKey=\\\"upfront_email_collection\\\" as |paywall|>\\n            <paywall.Hover>\\n              <group.RadioButton\\n                @disabled={{this.upfrontEmailCollectionBillingFeatureNotEnabled}}\\n                @value=\\\"always\\\"\\n                data-test-upfront-email-collection-selection\\n              as |radio|>\\n                <radio.Label>Always</radio.Label>\\n                <radio.Hint>Reduces conversation volume by around 30% on average</radio.Hint>\\n              </group.RadioButton>\\n            </paywall.Hover>\\n          </Paywall>\\n          <group.RadioButton\\n            @label=\\\"Never\\\"\\n            @hint=\\\"Will allow website visitors to start a conversation at any time\\\"\\n            @value=\\\"never\\\"\\n            data-test-upfront-email-collection-selection\\n          />\\n        </item.RadioGroup>\\n      </form.Item>\\n    </Form>\\n  </div>\\n  <MessengerSettings::ActionButtonComponent @settings={{@upfrontEmailCollectionSettings}} @body={{@body}}/>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-settings/upfront-email-collection-settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/upfront-email-collection-settings.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  tagName: '',\n  appService: service(),\n  upfrontEmailCollectionBillingFeatureNotEnabled: not(\n    'appService.app.hasUpfrontEmailCollectionBillingFeature',\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"messenger-settings__accordion-section\\\">\\n  <IcRadioButtonGroup\\n    @selectedValue={{@targetUserType}}\\n    @onSelectionChange={{action \\\"changeTargetUserType\\\"}} as |group|\\n  >\\n    {{#each this.targetUserTypeOptions as |targetUserTypeOption|}}\\n      <group.button\\n        @label={{targetUserTypeOption.label}}\\n        @value={{targetUserTypeOption.value}}\\n      />\\n    {{/each}}\\n  </IcRadioButtonGroup>\\n  <div class=\\\"flex flex-col gap-6 pt-6\\\">\\n    <MessengerSettings::Visibility::InboundConversationsTargeting\\n      @visibilitySettings={{@visibilitySettings}}\\n      @isDisplayingUserGroup={{this.isDisplayingUserGroup}}\\n    />\\n    <MessengerSettings::Visibility::ContinuedConversations\\n      @visibilitySettings={{@visibilitySettings}}\\n      @isDisplayingUserGroup={{this.isDisplayingUserGroup}}\\n    />\\n    <MessengerSettings::Visibility::LauncherVisibility\\n      @visibilitySettings={{@visibilitySettings}}\\n      @isDisplayingUserGroup={{this.isDisplayingUserGroup}}\\n    />\\n  </div>\\n  <MessengerSettings::ActionButtonComponent\\n    @settings={{@visibilitySettings}}\\n    @body={{@body}}\\n    @beforeSave={{action \\\"beforeSave\\\"}}\\n    @afterSave={{action \\\"afterSave\\\"}}\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"messenger-settings__accordion-section\\\">\\n  <IcRadioButtonGroup\\n    @selectedValue={{@targetUserType}}\\n    @onSelectionChange={{action \\\"changeTargetUserType\\\"}} as |group|\\n  >\\n    {{#each this.targetUserTypeOptions as |targetUserTypeOption|}}\\n      <group.button\\n        @label={{targetUserTypeOption.label}}\\n        @value={{targetUserTypeOption.value}}\\n      />\\n    {{/each}}\\n  </IcRadioButtonGroup>\\n  <div class=\\\"flex flex-col gap-6 pt-6\\\">\\n    <MessengerSettings::Visibility::InboundConversationsTargeting\\n      @visibilitySettings={{@visibilitySettings}}\\n      @isDisplayingUserGroup={{this.isDisplayingUserGroup}}\\n    />\\n    <MessengerSettings::Visibility::ContinuedConversations\\n      @visibilitySettings={{@visibilitySettings}}\\n      @isDisplayingUserGroup={{this.isDisplayingUserGroup}}\\n    />\\n    <MessengerSettings::Visibility::LauncherVisibility\\n      @visibilitySettings={{@visibilitySettings}}\\n      @isDisplayingUserGroup={{this.isDisplayingUserGroup}}\\n    />\\n  </div>\\n  <MessengerSettings::ActionButtonComponent\\n    @settings={{@visibilitySettings}}\\n    @body={{@body}}\\n    @beforeSave={{action \\\"beforeSave\\\"}}\\n    @afterSave={{action \\\"afterSave\\\"}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-settings/visibility-settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/visibility-settings.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { get } from '@ember/object';\nimport { readOnly, equal } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\n\nconst USER_TARGET_TYPE = 'users';\nconst LEADS_AND_VISITORS_TARGET_TYPE = 'leads_and_visitors';\n\nconst ANALYTICS_EVENTS = [\n  {\n    attribute: 'messengerEnabledForVisitors',\n    targetingAttribute: 'allowAllVisitors',\n    enabledEventName: 'show_launcher_for_visitors',\n    disabledEventName: 'hide_launcher_for_visitors',\n  },\n  {\n    attribute: 'messengerEnabledForUsers',\n    targetingAttribute: 'allowAllUsers',\n    enabledEventName: 'show_launcher_for_users',\n    disabledEventName: 'hide_launcher_for_users',\n  },\n  {\n    attribute: 'inboundConversationsEnabledForVisitors',\n    targetingAttribute: 'inboundConversationsForVisitorsPredicateGroup',\n    enabledEventName: 'enable_new_conversations_for_visitors',\n    disabledEventName: 'disble_new_conversations_for_visitors',\n  },\n  {\n    attribute: 'inboundConversationsEnabledForUsers',\n    targetingAttribute: 'inboundConversationsForUsersPredicateGroup',\n    enabledEventName: 'enable_new_conversations_for_users',\n    disabledEventName: 'disble_new_conversations_for_users',\n  },\n];\n\nexport default Component.extend({\n  notificationsService: service(),\n  store: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  changedAttributes: null,\n\n  init() {\n    this._super(...arguments);\n    this.fetchHelpCenterSite.perform();\n  },\n\n  targetUserTypeOptions: [\n    { value: LEADS_AND_VISITORS_TARGET_TYPE, label: 'Visitors' },\n    { value: USER_TARGET_TYPE, label: 'Users' },\n  ],\n\n  isDisplayingUserGroup: equal('targetUserType', USER_TARGET_TYPE),\n\n  helpCenterSite: null,\n  fetchHelpCenterSite: task(function*() {\n    let helpCenterSites = yield this.store.findAll('help-center-site');\n    this.set('helpCenterSite', get(helpCenterSites, 'firstObject'));\n  }),\n\n  sendAnalyticsEvents() {\n    ANALYTICS_EVENTS.forEach(event => {\n      let changedAttributeKeys = Object.keys(this.changedAttributes);\n      let settingChanged = changedAttributeKeys.includes(event.attribute);\n      let targetingChanged = changedAttributeKeys.includes(event.targetingAttribute);\n      let settingEnabled = this.visibilitySettings[event.attribute];\n\n      let withPredicates;\n\n      // Targeting info will not exist for new conversation targeting for apps without this feature enabled\n      let targetingInfoExists = this.visibilitySettings[event.targetingAttribute] !== undefined;\n      if (targetingInfoExists) {\n        let targetingInfo = this.visibilitySettings[event.targetingAttribute];\n\n        // This is required because new conversation targeting and launcher visibility handle predicates differently\n        if (typeof targetingInfo === 'boolean') {\n          withPredicates = !targetingInfo;\n        } else {\n          withPredicates = targetingInfo.hasPredicates;\n        }\n      }\n\n      if (settingChanged || targetingChanged) {\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'toggled',\n          place: 'continued-conversations-settings',\n          object:\n            settingEnabled || targetingChanged ? event.enabledEventName : event.disabledEventName,\n          withPredicates: settingEnabled || targetingChanged ? withPredicates : undefined,\n        });\n      }\n    });\n\n    this.singleConversationToggleAnalyticsEvent();\n  },\n  singleConversationToggleAnalyticsEvent() {\n    let key = 'inboundConversationsDisabled';\n    if (Object.keys(this.changedAttributes).includes(key)) {\n      let value = this.changedAttributes[key][1];\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'toggled',\n        place: 'continued-conversations-settings',\n        object: value ? 'disable_new_conversations' : 'enable_new_conversations',\n      });\n    }\n  },\n  actions: {\n    beforeSave() {\n      this.changedAttributes = this.visibilitySettings.changedAttributes();\n      this.visibilitySettings.updateLauncherPredicates();\n    },\n\n    afterSave() {\n      this.sendAnalyticsEvents();\n      this.changedAttributes = null;\n    },\n\n    changeTargetUserType(value) {\n      this.set('targetUserType', value);\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: `messenger_settings_preview_visibility_${value}`,\n        context: 'from_panel',\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if this.app.canUseContinuedConversations}}\\n  <div class=\\\"layout__box o__has-columns\\\" data-test-continued-conversations-settings>\\n    <div class=\\\"messenger-settings__left-wrap\\\">\\n        <Form as |form|>\\n          <div class=\\\"flex flex-col\\\">\\n            <div class=\\\"mb-2\\\">\\n              <form.SectionHeading>\\n                Prevent replies to closed conversations\\n              </form.SectionHeading>\\n            </div>\\n            {{#if @isDisplayingUserGroup}}\\n              <div class=\\\"flex flex-row items-center gap-2\\\">\\n                <form.Item as |item|>\\n                  <IcOnOffToggle\\n                    @label=\\\"Users cannot reply to a closed conversation after\\\"\\n                    @isOn={{this.visibilitySettings.noContinuedConversationsEnabledForUsers}}\\n                    @onClick={{action \\\"toggleDisallowReplyForUsers\\\"}}\\n                    data-test-no-continued-conversations-users\\n                  />\\n                </form.Item>\\n                {{#if this.visibilitySettings.noContinuedConversationsEnabledForUsers}}\\n                  <Text>Preventing users from responding to closed conversations after</Text>\\n                  <form.Item as |item|>\\n                    <item.Input\\n                      @disabled={{not this.visibilitySettings.noContinuedConversationsEnabledForUsers}}\\n                      @value={{this.usersDelayInDays}}\\n                      size=\\\"2\\\"\\n                      data-test-users-delay\\n                    />\\n                  </form.Item>\\n                  <Text data-test-users-days>{{pluralize this.usersDelayInDays \\\"day\\\" without-count=true}}</Text>\\n                {{else}}\\n                  <Text>Letting users reply to closed messages at any time.</Text>\\n                {{/if}}\\n              </div>\\n            {{else}}\\n              <div class=\\\"flex flex-row items-center gap-2\\\">\\n                <form.Item as |item|>\\n                  <IcOnOffToggle\\n                    @label=\\\"Visitors cannot reply to a closed conversation after\\\"\\n                    @isOn={{this.visibilitySettings.noContinuedConversationsEnabledForVisitors}}\\n                    @onClick={{action \\\"toggleDisallowReplyForVisitors\\\"}}\\n                    data-test-no-continued-conversations-visitors\\n                  />\\n                </form.Item>\\n                {{#if this.visibilitySettings.noContinuedConversationsEnabledForVisitors}}\\n                  <Text>Preventing visitors from responding to closed conversations after</Text>\\n                  <form.Item as |item|>\\n                    <item.Input\\n                      @disabled={{not this.visibilitySettings.noContinuedConversationsEnabledForVisitors}}\\n                      @value={{this.visitorsDelayInDays}}\\n                      size=\\\"2\\\"\\n                      data-test-visitors-delay\\n                    />\\n                  </form.Item>\\n                  <Text data-test-visitors-days>{{pluralize this.visitorsDelayInDays \\\"day\\\" without-count=true}}</Text>\\n                {{else}}\\n                    <Text>Letting visitors reply to closed messages at any time.</Text>\\n                {{/if}}\\n              </div>\\n            {{/if}}\\n          </div>\\n        </Form>\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if this.app.canUseContinuedConversations}}\\n  <div class=\\\"layout__box o__has-columns\\\" data-test-continued-conversations-settings>\\n    <div class=\\\"messenger-settings__left-wrap\\\">\\n        <Form as |form|>\\n          <div class=\\\"flex flex-col\\\">\\n            <div class=\\\"mb-2\\\">\\n              <form.SectionHeading>\\n                Prevent replies to closed conversations\\n              </form.SectionHeading>\\n            </div>\\n            {{#if @isDisplayingUserGroup}}\\n              <div class=\\\"flex flex-row items-center gap-2\\\">\\n                <form.Item as |item|>\\n                  <IcOnOffToggle\\n                    @label=\\\"Users cannot reply to a closed conversation after\\\"\\n                    @isOn={{this.visibilitySettings.noContinuedConversationsEnabledForUsers}}\\n                    @onClick={{action \\\"toggleDisallowReplyForUsers\\\"}}\\n                    data-test-no-continued-conversations-users\\n                  />\\n                </form.Item>\\n                {{#if this.visibilitySettings.noContinuedConversationsEnabledForUsers}}\\n                  <Text>Preventing users from responding to closed conversations after</Text>\\n                  <form.Item as |item|>\\n                    <item.Input\\n                      @disabled={{not this.visibilitySettings.noContinuedConversationsEnabledForUsers}}\\n                      @value={{this.usersDelayInDays}}\\n                      size=\\\"2\\\"\\n                      data-test-users-delay\\n                    />\\n                  </form.Item>\\n                  <Text data-test-users-days>{{pluralize this.usersDelayInDays \\\"day\\\" without-count=true}}</Text>\\n                {{else}}\\n                  <Text>Letting users reply to closed messages at any time.</Text>\\n                {{/if}}\\n              </div>\\n            {{else}}\\n              <div class=\\\"flex flex-row items-center gap-2\\\">\\n                <form.Item as |item|>\\n                  <IcOnOffToggle\\n                    @label=\\\"Visitors cannot reply to a closed conversation after\\\"\\n                    @isOn={{this.visibilitySettings.noContinuedConversationsEnabledForVisitors}}\\n                    @onClick={{action \\\"toggleDisallowReplyForVisitors\\\"}}\\n                    data-test-no-continued-conversations-visitors\\n                  />\\n                </form.Item>\\n                {{#if this.visibilitySettings.noContinuedConversationsEnabledForVisitors}}\\n                  <Text>Preventing visitors from responding to closed conversations after</Text>\\n                  <form.Item as |item|>\\n                    <item.Input\\n                      @disabled={{not this.visibilitySettings.noContinuedConversationsEnabledForVisitors}}\\n                      @value={{this.visitorsDelayInDays}}\\n                      size=\\\"2\\\"\\n                      data-test-visitors-delay\\n                    />\\n                  </form.Item>\\n                  <Text data-test-visitors-days>{{pluralize this.visitorsDelayInDays \\\"day\\\" without-count=true}}</Text>\\n                {{else}}\\n                    <Text>Letting visitors reply to closed messages at any time.</Text>\\n                {{/if}}\\n              </div>\\n            {{/if}}\\n          </div>\\n        </Form>\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/messenger-settings/visibility/continued-conversations.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/visibility/continued-conversations.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport MessengerDisplayAttributes from 'embercom/components/mixins/messenger-display-attributes';\n\nconst SECONDS_IN_A_DAY = 60 * 60 * 24;\nlet secondsDayConverter = property => {\n  return computed(property, {\n    get(key) {\n      return this.get(property) / SECONDS_IN_A_DAY;\n    },\n    set(key, value) {\n      this.set(property, Number.parseInt(value * SECONDS_IN_A_DAY, 10));\n      return value;\n    },\n  });\n};\n\nexport default Component.extend(MessengerDisplayAttributes, {\n  tagName: '',\n  appService: service(),\n  intercomEventService: service(),\n  app: readOnly('appService.app'),\n\n  usersDelayInDays: secondsDayConverter(\n    'visibilitySettings.disallowConversationReplyAfterSecondsForUsers',\n  ),\n  visitorsDelayInDays: secondsDayConverter(\n    'visibilitySettings.disallowConversationReplyAfterSecondsForVisitors',\n  ),\n\n  trackToggleChangeEventForUsers() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: this.visibilitySettings.noContinuedConversationsEnabledForUsers\n        ? 'turned-on'\n        : 'turned-off',\n      object: 'no-continued-conversations-for-users',\n      place: 'continued-conversations-settings',\n    });\n  },\n\n  trackToggleChangeEventForVisitors() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: this.visibilitySettings.noContinuedConversationsEnabledForVisitors\n        ? 'turned-on'\n        : 'turned-off',\n      object: 'no-continued-conversations-for-visitors',\n      place: 'continued-conversations-settings',\n    });\n  },\n\n  actions: {\n    toggleDisallowReplyForUsers() {\n      this.set(\n        'visibilitySettings.noContinuedConversationsEnabledForUsers',\n        !this.visibilitySettings.noContinuedConversationsEnabledForUsers,\n      );\n\n      this.trackToggleChangeEventForUsers();\n    },\n    toggleDisallowReplyForVisitors() {\n      this.set(\n        'visibilitySettings.noContinuedConversationsEnabledForVisitors',\n        !this.visibilitySettings.noContinuedConversationsEnabledForVisitors,\n      );\n      this.trackToggleChangeEventForVisitors();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @isDisplayingUserGroup}}\\n  <MessengerSettings::Common::ToggleWithPredicates\\n    @settings={{@visibilitySettings}}\\n    @selection={{this.userSelection}}\\n    @attributes={{this.attributeGroupListForUsers}}\\n    @isDisplayingUserGroup={{@isDisplayingUserGroup}}\\n    @togglePaywall=\\\"disable_inbound_conversations\\\"\\n    @targetingPaywall=\\\"target_inbound_conversations\\\"\\n    @enabledScope=\\\"inboundConversationsEnabledForUsers\\\"\\n    @predicatesScope=\\\"inboundConversationsForUsersPredicateGroup\\\"\\n    @header=\\\"Show the new conversations button\\\"\\n    @onLabel=\\\"Showing the new conversations button in the Messenger\\\"\\n    @offLabel=\\\"Letting people open the Messenger, but not start new conversations\\\"\\n  />\\n{{else}}\\n  <MessengerSettings::Common::ToggleWithPredicates\\n    @settings={{@visibilitySettings}}\\n    @selection={{this.visitorSelection}}\\n    @attributes={{this.attributeGroupListForVisitors}}\\n    @isDisplayingUserGroup={{@isDisplayingUserGroup}}\\n    @togglePaywall=\\\"disable_inbound_conversations\\\"\\n    @targetingPaywall=\\\"target_inbound_conversations\\\"\\n    @enabledScope=\\\"inboundConversationsEnabledForVisitors\\\"\\n    @predicatesScope=\\\"inboundConversationsForVisitorsPredicateGroup\\\"\\n    @header=\\\"Show the new conversations button\\\"\\n    @onLabel=\\\"Showing the new conversations button in the Messenger\\\"\\n    @offLabel=\\\"Letting people open the Messenger, but not start new conversations\\\"\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{#if @isDisplayingUserGroup}}\\n  <MessengerSettings::Common::ToggleWithPredicates\\n    @settings={{@visibilitySettings}}\\n    @selection={{this.userSelection}}\\n    @attributes={{this.attributeGroupListForUsers}}\\n    @isDisplayingUserGroup={{@isDisplayingUserGroup}}\\n    @togglePaywall=\\\"disable_inbound_conversations\\\"\\n    @targetingPaywall=\\\"target_inbound_conversations\\\"\\n    @enabledScope=\\\"inboundConversationsEnabledForUsers\\\"\\n    @predicatesScope=\\\"inboundConversationsForUsersPredicateGroup\\\"\\n    @header=\\\"Show the new conversations button\\\"\\n    @onLabel=\\\"Showing the new conversations button in the Messenger\\\"\\n    @offLabel=\\\"Letting people open the Messenger, but not start new conversations\\\"\\n  />\\n{{else}}\\n  <MessengerSettings::Common::ToggleWithPredicates\\n    @settings={{@visibilitySettings}}\\n    @selection={{this.visitorSelection}}\\n    @attributes={{this.attributeGroupListForVisitors}}\\n    @isDisplayingUserGroup={{@isDisplayingUserGroup}}\\n    @togglePaywall=\\\"disable_inbound_conversations\\\"\\n    @targetingPaywall=\\\"target_inbound_conversations\\\"\\n    @enabledScope=\\\"inboundConversationsEnabledForVisitors\\\"\\n    @predicatesScope=\\\"inboundConversationsForVisitorsPredicateGroup\\\"\\n    @header=\\\"Show the new conversations button\\\"\\n    @onLabel=\\\"Showing the new conversations button in the Messenger\\\"\\n    @offLabel=\\\"Letting people open the Messenger, but not start new conversations\\\"\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/messenger-settings/visibility/inbound-conversations-targeting.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/visibility/inbound-conversations-targeting.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class InboundConversationTargeting extends Component {\n  @service appService;\n  @service attributeService;\n\n  @tracked allowInboundConversationsForAllUsers =\n    this.args.visibilitySettings.get('inboundConversationsForUsersPredicateGroup.predicates')\n      .length === 0;\n  @tracked allowInboundConversationsForAllVisitors =\n    this.args.visibilitySettings.get('inboundConversationsForVisitorsPredicateGroup.predicates')\n      .length === 0;\n  @tracked userSelection = this.allowInboundConversationsForAllUsers ? 'all' : 'match';\n  @tracked visitorSelection = this.allowInboundConversationsForAllVisitors ? 'all' : 'match';\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get attributeGroupListForUsers() {\n    return this.attributeService.attributeGroupListForUsers;\n  }\n\n  get attributeGroupListForVisitors() {\n    return this.attributeService.attributeGroupListForAnonymous;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div id=\\\"messenger-launcher-visibility\\\" class=\\\"layout__box o__has-columns\\\">\\n  <div class=\\\"messenger-settings__left-wrap\\\">\\n    <Paywall @featureKey=\\\"hide_messenger\\\" as |paywall|>\\n      <paywall.Block>\\n        <Form as |form|>\\n          <div class=\\\"flex flex-col\\\">\\n            <div class=\\\"mb-2\\\">\\n              <form.SectionHeading>\\n                Show the Messenger launcher\\n              </form.SectionHeading>\\n            </div>\\n            <form.Item as |item|>\\n              <div class=\\\"flex flex-col gap-2\\\">\\n                {{#if @isDisplayingUserGroup}}\\n                <label>\\n                  <IcOnOffToggle @isDisabled={{paywall.isActive}} @isOn={{@visibilitySettings.messengerEnabledForUsers}}\\n                    @onClick={{toggle \\\"visibilitySettings.messengerEnabledForUsers\\\" this}}\\n                    data-test-messenger-user-enabled={{true}} />\\n                  {{#if visibilitySettings.messengerEnabledForVisitors}}\\n                    <Text class=\\\"ml-1\\\">Showing users the launcher</Text>\\n                  {{else}}\\n                    <Text class=\\\"ml-1\\\">Hiding the launcher from users (but still delivering any messages you send)</Text>\\n                  {{/if}}\\n                </label>\\n\\n                {{#if visibilitySettings.messengerEnabledForUsers}}\\n                <MessengerSettings::Visibility::LauncherVisibility::RadioGroup @type=\\\"users\\\"\\n                  @predicates={{visibilitySettings.launcherPredicatesForUsers}}\\n                  @allowAll={{visibilitySettings.allowAllUsers}}\\n                  @isFilterSelected={{visibilitySettings.isFilterUsersSelected}}\\n                  @onUpdate={{action \\\"updateUsersPredicates\\\"}} @attributeGroupList={{attributeGroupListForUsers}} />\\n                {{/if}}\\n                {{else}}\\n                <label>\\n                  <IcOnOffToggle @isDisabled={{paywall.isActive}}\\n                    @isOn={{@visibilitySettings.messengerEnabledForVisitors}}\\n                    @onClick={{toggle \\\"visibilitySettings.messengerEnabledForVisitors\\\" this}}\\n                    data-test-messenger-visitor-enabled={{true}} />\\n                  {{#if visibilitySettings.messengerEnabledForVisitors}}\\n                    <Text class=\\\"ml-1\\\">Showing visitors the launcher</Text>\\n                  {{else}}\\n                    <Text class=\\\"ml-1\\\">Hiding the launcher from visitors (but still delivering any messages you send)</Text>\\n                  {{/if}}\\n                </label>\\n                {{#if visibilitySettings.messengerEnabledForVisitors}}\\n                <MessengerSettings::Visibility::LauncherVisibility::RadioGroup @type=\\\"visitors\\\"\\n                  @predicates={{visibilitySettings.launcherPredicatesForAnonymous}}\\n                  @allowAll={{visibilitySettings.allowAllVisitors}}\\n                  @isFilterSelected={{visibilitySettings.isFilterVisitorsSelected}}\\n                  @onUpdate={{action \\\"updateAnonymousPredicates\\\"}}\\n                  @attributeGroupList={{attributeGroupListForAnonymous}} />\\n                {{/if}}\\n                {{/if}}\\n              </div>\\n            </form.Item>\\n          </div>\\n        </Form>\\n      </paywall.Block>\\n    </Paywall>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div id=\\\"messenger-launcher-visibility\\\" class=\\\"layout__box o__has-columns\\\">\\n  <div class=\\\"messenger-settings__left-wrap\\\">\\n    <Paywall @featureKey=\\\"hide_messenger\\\" as |paywall|>\\n      <paywall.Block>\\n        <Form as |form|>\\n          <div class=\\\"flex flex-col\\\">\\n            <div class=\\\"mb-2\\\">\\n              <form.SectionHeading>\\n                Show the Messenger launcher\\n              </form.SectionHeading>\\n            </div>\\n            <form.Item as |item|>\\n              <div class=\\\"flex flex-col gap-2\\\">\\n                {{#if @isDisplayingUserGroup}}\\n                <label>\\n                  <IcOnOffToggle @isDisabled={{paywall.isActive}} @isOn={{@visibilitySettings.messengerEnabledForUsers}}\\n                    @onClick={{toggle \\\"visibilitySettings.messengerEnabledForUsers\\\" this}}\\n                    data-test-messenger-user-enabled={{true}} />\\n                  {{#if visibilitySettings.messengerEnabledForVisitors}}\\n                    <Text class=\\\"ml-1\\\">Showing users the launcher</Text>\\n                  {{else}}\\n                    <Text class=\\\"ml-1\\\">Hiding the launcher from users (but still delivering any messages you send)</Text>\\n                  {{/if}}\\n                </label>\\n\\n                {{#if visibilitySettings.messengerEnabledForUsers}}\\n                <MessengerSettings::Visibility::LauncherVisibility::RadioGroup @type=\\\"users\\\"\\n                  @predicates={{visibilitySettings.launcherPredicatesForUsers}}\\n                  @allowAll={{visibilitySettings.allowAllUsers}}\\n                  @isFilterSelected={{visibilitySettings.isFilterUsersSelected}}\\n                  @onUpdate={{action \\\"updateUsersPredicates\\\"}} @attributeGroupList={{attributeGroupListForUsers}} />\\n                {{/if}}\\n                {{else}}\\n                <label>\\n                  <IcOnOffToggle @isDisabled={{paywall.isActive}}\\n                    @isOn={{@visibilitySettings.messengerEnabledForVisitors}}\\n                    @onClick={{toggle \\\"visibilitySettings.messengerEnabledForVisitors\\\" this}}\\n                    data-test-messenger-visitor-enabled={{true}} />\\n                  {{#if visibilitySettings.messengerEnabledForVisitors}}\\n                    <Text class=\\\"ml-1\\\">Showing visitors the launcher</Text>\\n                  {{else}}\\n                    <Text class=\\\"ml-1\\\">Hiding the launcher from visitors (but still delivering any messages you send)</Text>\\n                  {{/if}}\\n                </label>\\n                {{#if visibilitySettings.messengerEnabledForVisitors}}\\n                <MessengerSettings::Visibility::LauncherVisibility::RadioGroup @type=\\\"visitors\\\"\\n                  @predicates={{visibilitySettings.launcherPredicatesForAnonymous}}\\n                  @allowAll={{visibilitySettings.allowAllVisitors}}\\n                  @isFilterSelected={{visibilitySettings.isFilterVisitorsSelected}}\\n                  @onUpdate={{action \\\"updateAnonymousPredicates\\\"}}\\n                  @attributeGroupList={{attributeGroupListForAnonymous}} />\\n                {{/if}}\\n                {{/if}}\\n              </div>\\n            </form.Item>\\n          </div>\\n        </Form>\\n      </paywall.Block>\\n    </Paywall>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-settings/visibility/launcher-visibility.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/visibility/launcher-visibility.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { copy } from 'ember-copy';\nimport MessengerDisplayAttributes from 'embercom/components/mixins/messenger-display-attributes';\n\nexport default Component.extend(MessengerDisplayAttributes, {\n  appService: service(),\n  app: readOnly('appService.app'),\n  'data-test-messenger-settings-launcher-visibility': true,\n\n  actions: {\n    updateUsersPredicates(predicates) {\n      this.set('visibilitySettings.launcherPredicatesForUsers', copy(predicates));\n    },\n    updateAnonymousPredicates(predicates) {\n      this.set('visibilitySettings.launcherPredicatesForAnonymous', copy(predicates));\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::PredicatesEditor\\n  @predicates={{predicates}}\\n  @onUpdate={{onUpdate}}\\n  @attributeGroupList={{attributeGroupList}} as |predicatesEditor|\\n>\\n  <div class=\\\"u__display-inline-block u__padb__10 u__padt__10 u__padl__15\\\">\\n    {{predicatesEditor.components.logicalSwitcher}}\\n  </div>\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__scrolls u__padl__15 u__padr__15 u__padb__10 twk__messenger-settings-predicates-editor\\\"\\n  >\\n    {{#each predicatesEditor.predicates as |predicate index|}}\\n      {{#if index}}\\n        {{predicatesEditor.components.logicalMode}}\\n      {{/if}}\\n      <predicatesEditor.components.predicateEditor\\n        @index={{index}}\\n        @predicate={{predicate}}\\n        class={{if index \\\"u__mt__10\\\"}}\\n      />\\n    {{/each}}\\n    <div class=\\\"h-2\\\"></div>\\n    <predicatesEditor.components.attributePickerOpener\\n      @label=\\\"Add data\\\"\\n      @attributeItemComponent=\\\"ic-attribute-item-with-user-event\\\"\\n    />\\n  </div>\\n</Predicates::PredicatesEditor>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::PredicatesEditor\\n  @predicates={{predicates}}\\n  @onUpdate={{onUpdate}}\\n  @attributeGroupList={{attributeGroupList}} as |predicatesEditor|\\n>\\n  <div class=\\\"u__display-inline-block u__padb__10 u__padt__10 u__padl__15\\\">\\n    {{predicatesEditor.components.logicalSwitcher}}\\n  </div>\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__scrolls u__padl__15 u__padr__15 u__padb__10 twk__messenger-settings-predicates-editor\\\"\\n  >\\n    {{#each predicatesEditor.predicates as |predicate index|}}\\n      {{#if index}}\\n        {{predicatesEditor.components.logicalMode}}\\n      {{/if}}\\n      <predicatesEditor.components.predicateEditor\\n        @index={{index}}\\n        @predicate={{predicate}}\\n        class={{if index \\\"u__mt__10\\\"}}\\n      />\\n    {{/each}}\\n    <div class=\\\"h-2\\\"></div>\\n    <predicatesEditor.components.attributePickerOpener\\n      @label=\\\"Add data\\\"\\n      @attributeItemComponent=\\\"ic-attribute-item-with-user-event\\\"\\n    />\\n  </div>\\n</Predicates::PredicatesEditor>\\n\",\"moduleName\":\"embercom/components/messenger-settings/visibility/launcher-visibility/predicates.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/visibility/launcher-visibility/predicates.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-type=\\\"{{type}}\\\">\\n  <div class=\\\"f__group o__radio-group m__settings__messenger__radio_group\\\">\\n    <label for=\\\"{{idAll}}\\\" class=\\\"f__radio-label u__cf\\\">\\n      <span class=\\\"f__radio-wrapper\\\">\\n        <RadioButton @selection={{allowAll}} @value={{true}} @name={{name}} @id={{idAll}} @boolean={{true}} />\\n      </span>\\n      <span class=\\\"f__radio-content\\\">\\n        All {{type}}\\n      </span>\\n    </label>\\n  </div>\\n  <Paywall @featureKey=\\\"visitor_messenger_conditional_display\\\" as |paywall|>\\n    <paywall.Hover>\\n      <div class=\\\"f__group o__radio-group m__settings__messenger__radio_group\\\">\\n\\n        <label for=\\\"{{idFilter}}\\\" class=\\\"f__radio-label u__cf\\\">\\n          <span class=\\\"f__radio-wrapper\\\">\\n\\n            <RadioButton @selection={{allowAll}} @value={{false}} @name={{name}} @id={{idFilter}} @boolean={{true}}\\n              @disabled={{paywall.isActive}} />\\n          </span>\\n\\n          <span class=\\\"{{unless app.canUseConditionalDisplayForVisitors \\\"twk__messenger-settings-paywall-text\\\"}}\\\">\\n            {{capitalize type}} who match certain data\\n          </span>\\n        </label>\\n        <div class=\\\"f__group u__cf\\\">\\n          {{#liquid-if isFilterSelected class=\\\"animation__flex-grow\\\"}}\\n          <MessengerSettings::Visibility::LauncherVisibility::Predicates @predicates={{predicates}}\\n            @onUpdate={{onUpdate}} @attributeGroupList={{attributeGroupList}} />\\n          {{/liquid-if}}\\n        </div>\\n      </div>\\n    </paywall.Hover>\\n  </Paywall>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-type=\\\"{{type}}\\\">\\n  <div class=\\\"f__group o__radio-group m__settings__messenger__radio_group\\\">\\n    <label for=\\\"{{idAll}}\\\" class=\\\"f__radio-label u__cf\\\">\\n      <span class=\\\"f__radio-wrapper\\\">\\n        <RadioButton @selection={{allowAll}} @value={{true}} @name={{name}} @id={{idAll}} @boolean={{true}} />\\n      </span>\\n      <span class=\\\"f__radio-content\\\">\\n        All {{type}}\\n      </span>\\n    </label>\\n  </div>\\n  <Paywall @featureKey=\\\"visitor_messenger_conditional_display\\\" as |paywall|>\\n    <paywall.Hover>\\n      <div class=\\\"f__group o__radio-group m__settings__messenger__radio_group\\\">\\n\\n        <label for=\\\"{{idFilter}}\\\" class=\\\"f__radio-label u__cf\\\">\\n          <span class=\\\"f__radio-wrapper\\\">\\n\\n            <RadioButton @selection={{allowAll}} @value={{false}} @name={{name}} @id={{idFilter}} @boolean={{true}}\\n              @disabled={{paywall.isActive}} />\\n          </span>\\n\\n          <span class=\\\"{{unless app.canUseConditionalDisplayForVisitors \\\"twk__messenger-settings-paywall-text\\\"}}\\\">\\n            {{capitalize type}} who match certain data\\n          </span>\\n        </label>\\n        <div class=\\\"f__group u__cf\\\">\\n          {{#liquid-if isFilterSelected class=\\\"animation__flex-grow\\\"}}\\n          <MessengerSettings::Visibility::LauncherVisibility::Predicates @predicates={{predicates}}\\n            @onUpdate={{onUpdate}} @attributeGroupList={{attributeGroupList}} />\\n          {{/liquid-if}}\\n        </div>\\n      </div>\\n    </paywall.Hover>\\n  </Paywall>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-settings/visibility/launcher-visibility/radio-group.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/visibility/launcher-visibility/radio-group.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  name: templateString('${type}-selection'),\n  idAll: templateString('all-${type}'),\n  idFilter: templateString('filter-${type}'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"messenger-settings__left-wrap mt-4\\\">\\n  <h3 class=\\\"t__h4 mb-2\\\">\\n    Launcher position\\n  </h3>\\n  <div class=\\\"messenger-settings__position-column mt-2 mb-2\\\">\\n    <p class=\\\"t__body mb-2\\\">\\n      Adjust your launcher's positioning on computers and tablets:\\n    </p>\\n\\n    <IcSelect\\n      @selectedValue={{@activeBrand.launcherAlignment}}\\n      @items={{this.alignmentOptions}}\\n      @onSelectItem={{this.setAlignment}}\\n      data-test-alignment-select={{true}}\\n    />\\n  </div>\\n\\n  <div class=\\\"layout__box o__flexes-to-1 o__has-columns\\\">\\n    <div class=\\\"messenger-settings__position-column o__longer\\\">\\n      <p class=\\\"t__body mb-2\\\">\\n        Side spacing:\\n      </p>\\n\\n      <Input\\n        @value={{@activeBrand.launcherHorizontalPadding}}\\n        @type=\\\"number\\\"\\n        class=\\\"f__text messenger-settings__input-small\\\"\\n        @step=\\\"1\\\"\\n        @min={{@settings.paddingMin}}\\n        @max={{@settings.paddingMax}}\\n        @focus-in={{@onWebPaddingFocus}}\\n        @focus-out={{@onPaddingBlur}}\\n        @change={{this.updateMessengerSettingsHorizontalPadding}}\\n        data-test-horizontal-padding-input={{true}}\\n      />\\n      px\\n    </div>\\n    <div class=\\\"messenger-settings__position-column o__longer\\\">\\n      <p class=\\\"t__body mb-2\\\">\\n        Bottom spacing:\\n      </p>\\n\\n      <Input\\n        @value={{@activeBrand.launcherVerticalPadding}}\\n        @type=\\\"number\\\"\\n        class=\\\"f__text messenger-settings__input-small\\\"\\n        @step=\\\"1\\\"\\n        @min={{@settings.paddingMin}}\\n        @max={{@settings.paddingMax}}\\n        @focus-in={{@onWebPaddingFocus}}\\n        @focus-out={{@onPaddingBlur}}\\n        @change={{this.updateMessengerSettingsVerticalPadding}}\\n        data-test-vertical-padding-input={{true}}\\n      />\\n      px\\n    </div>\\n  </div>\\n  {{#if (and @activeBrand.isDefault (has-feature \\\"displayMobileLauncherPositioning\\\"))}}\\n\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-columns mt-2\\\">\\n      <div class=\\\"messenger-settings__position-column o__longer\\\">\\n        <p class=\\\"t__body mb-2\\\">\\n          Android bottom spacing:\\n        </p>\\n\\n        <Input\\n          @value={{@settings.verticalPaddingAndroid}}\\n          @type=\\\"number\\\"\\n          class=\\\"f__text messenger-settings__input-small\\\"\\n          @step=\\\"1\\\"\\n          @min={{@settings.paddingMinAndroid}}\\n          @max={{@settings.paddingMax}}\\n          @focus-in={{@onAndroidPaddingFocus}}\\n          @focus-out={{@onPaddingBlur}}\\n          data-test-vertical-padding-android-input={{true}}\\n        />\\n        dp\\n      </div>\\n      <div class=\\\"messenger-settings__position-column o__longer\\\">\\n        <p class=\\\"t__body mb-2\\\">\\n          iOS bottom spacing:\\n        </p>\\n        <Input\\n          @value={{@settings.verticalPaddingIOS}}\\n          @type=\\\"number\\\"\\n          class=\\\"f__text messenger-settings__input-small\\\"\\n          @step=\\\"1\\\"\\n          @min={{@settings.paddingMin}}\\n          @max={{@settings.paddingMax}}\\n          @focus-in={{@onIOSPaddingFocus}}\\n          @focus-out={{@onPaddingBlur}}\\n          data-test-vertical-padding-ios-input={{true}}\\n        />\\n        px\\n      </div>\\n    </div>\\n  {{/if}}\\n\\n  <p class=\\\"t__light-text  mt-2\\\">\\n    On mobile, the launcher shows on the bottom right of the screen.\\n  </p>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"messenger-settings__left-wrap mt-4\\\">\\n  <h3 class=\\\"t__h4 mb-2\\\">\\n    Launcher position\\n  </h3>\\n  <div class=\\\"messenger-settings__position-column mt-2 mb-2\\\">\\n    <p class=\\\"t__body mb-2\\\">\\n      Adjust your launcher's positioning on computers and tablets:\\n    </p>\\n\\n    <IcSelect\\n      @selectedValue={{@activeBrand.launcherAlignment}}\\n      @items={{this.alignmentOptions}}\\n      @onSelectItem={{this.setAlignment}}\\n      data-test-alignment-select={{true}}\\n    />\\n  </div>\\n\\n  <div class=\\\"layout__box o__flexes-to-1 o__has-columns\\\">\\n    <div class=\\\"messenger-settings__position-column o__longer\\\">\\n      <p class=\\\"t__body mb-2\\\">\\n        Side spacing:\\n      </p>\\n\\n      <Input\\n        @value={{@activeBrand.launcherHorizontalPadding}}\\n        @type=\\\"number\\\"\\n        class=\\\"f__text messenger-settings__input-small\\\"\\n        @step=\\\"1\\\"\\n        @min={{@settings.paddingMin}}\\n        @max={{@settings.paddingMax}}\\n        @focus-in={{@onWebPaddingFocus}}\\n        @focus-out={{@onPaddingBlur}}\\n        @change={{this.updateMessengerSettingsHorizontalPadding}}\\n        data-test-horizontal-padding-input={{true}}\\n      />\\n      px\\n    </div>\\n    <div class=\\\"messenger-settings__position-column o__longer\\\">\\n      <p class=\\\"t__body mb-2\\\">\\n        Bottom spacing:\\n      </p>\\n\\n      <Input\\n        @value={{@activeBrand.launcherVerticalPadding}}\\n        @type=\\\"number\\\"\\n        class=\\\"f__text messenger-settings__input-small\\\"\\n        @step=\\\"1\\\"\\n        @min={{@settings.paddingMin}}\\n        @max={{@settings.paddingMax}}\\n        @focus-in={{@onWebPaddingFocus}}\\n        @focus-out={{@onPaddingBlur}}\\n        @change={{this.updateMessengerSettingsVerticalPadding}}\\n        data-test-vertical-padding-input={{true}}\\n      />\\n      px\\n    </div>\\n  </div>\\n  {{#if (and @activeBrand.isDefault (has-feature \\\"displayMobileLauncherPositioning\\\"))}}\\n\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-columns mt-2\\\">\\n      <div class=\\\"messenger-settings__position-column o__longer\\\">\\n        <p class=\\\"t__body mb-2\\\">\\n          Android bottom spacing:\\n        </p>\\n\\n        <Input\\n          @value={{@settings.verticalPaddingAndroid}}\\n          @type=\\\"number\\\"\\n          class=\\\"f__text messenger-settings__input-small\\\"\\n          @step=\\\"1\\\"\\n          @min={{@settings.paddingMinAndroid}}\\n          @max={{@settings.paddingMax}}\\n          @focus-in={{@onAndroidPaddingFocus}}\\n          @focus-out={{@onPaddingBlur}}\\n          data-test-vertical-padding-android-input={{true}}\\n        />\\n        dp\\n      </div>\\n      <div class=\\\"messenger-settings__position-column o__longer\\\">\\n        <p class=\\\"t__body mb-2\\\">\\n          iOS bottom spacing:\\n        </p>\\n        <Input\\n          @value={{@settings.verticalPaddingIOS}}\\n          @type=\\\"number\\\"\\n          class=\\\"f__text messenger-settings__input-small\\\"\\n          @step=\\\"1\\\"\\n          @min={{@settings.paddingMin}}\\n          @max={{@settings.paddingMax}}\\n          @focus-in={{@onIOSPaddingFocus}}\\n          @focus-out={{@onPaddingBlur}}\\n          data-test-vertical-padding-ios-input={{true}}\\n        />\\n        px\\n      </div>\\n    </div>\\n  {{/if}}\\n\\n  <p class=\\\"t__light-text  mt-2\\\">\\n    On mobile, the launcher shows on the bottom right of the screen.\\n  </p>\\n</div>\\n\",\"moduleName\":\"embercom/components/messenger-settings/visibility/positioning.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/messenger-settings/visibility/positioning.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class Positioning extends Component {\n  alignmentOptions = [\n    { value: 'right', text: 'Right' },\n    { value: 'left', text: 'Left' },\n  ];\n\n  @action\n  setAlignment(alignment) {\n    this.args.activeBrand.launcherAlignment = alignment;\n    if (this.args.activeBrand.isDefault) {\n      this.args.settings.alignment = alignment;\n    }\n  }\n\n  @action\n  updateMessengerSettingsHorizontalPadding({ target: { value } }) {\n    if (this.args.activeBrand.isDefault) {\n      this.args.settings.horizontalPadding = value;\n    }\n  }\n\n  @action\n  updateMessengerSettingsVerticalPadding({ target: { value } }) {\n    if (this.args.activeBrand.isDefault) {\n      this.args.settings.verticalPadding = value;\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { computed } from '@ember/object';\nimport { setDiff, filterBy } from '@ember/object/computed';\nimport Mixin from '@ember/object/mixin';\n\nexport default Mixin.create({\n  validTaggings: computed('taggings.[]', function() {\n    if (!this.get('taggings.length')) {\n      return [];\n    }\n    return this.taggings.filter(function(tagging) {\n      return tagging.get('tag.name');\n    });\n  }),\n\n  visibleTaggings: computed('validTaggings.[]', 'admin.visible_tag_ids.[]', function() {\n    let visibleTagIds = this.get('admin.visible_tag_ids');\n    if (!visibleTagIds) {\n      return [];\n    }\n    return this.validTaggings.filter(function(tagging) {\n      return visibleTagIds.includes(tagging.get('tag.id').toString());\n    });\n  }),\n\n  hiddenTaggings: computed('validTaggings.[]', 'admin.visible_tag_ids.[]', function() {\n    let visibleTagIds = this.get('admin.visible_tag_ids');\n    if (!visibleTagIds) {\n      return this.validTaggings;\n    }\n    return this.validTaggings.reject(function(tagging) {\n      return visibleTagIds.includes(tagging.get('tag.id').toString());\n    });\n  }),\n\n  hidableSegments: filterBy('segments', 'is_editable', true),\n\n  visibleSegments: computed('hidableSegments', 'admin.visible_segment_ids.[]', function() {\n    let visibleSegmentIds = this.get('admin.visible_segment_ids');\n    if (!visibleSegmentIds) {\n      return [];\n    }\n    return this.hidableSegments.filter(segment => visibleSegmentIds.includes(segment.get('id')));\n  }),\n\n  hiddenSegments: setDiff('hidableSegments', 'visibleSegments'),\n\n  addTagIdsToAdminsVisibleTagIds(tagIds) {\n    this.admin.addTagIdsToAdminsVisibleTagIds(tagIds);\n  },\n\n  removeTagIdsFromAdminsVisibleTagIds(tagIds) {\n    this.admin.removeTagIdsFromAdminsVisibleTagIds(tagIds);\n  },\n\n  addSegmentIdsToAdminsVisibleSegmentIds(segmentIds) {\n    this.admin.addSegmentIdsToAdminsVisibleSegmentIds(segmentIds);\n  },\n\n  removeSegmentIdsFromAdminsVisibleSegmentIds(segmentIds) {\n    this.admin.removeSegmentIdsFromAdminsVisibleSegmentIds(segmentIds);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport Mixin from '@ember/object/mixin';\nimport { inject as service } from '@ember/service';\nimport ENV from 'embercom/config/environment';\n\nexport default Mixin.create({\n  notificationsService: service(),\n  handleServerError(response, message) {\n    let xhr = response.jqXHR;\n    if (xhr && xhr.responseJSON && xhr.responseJSON.message) {\n      let errorMessage = xhr.responseJSON.message;\n      let displayedErrorMessage = `${message}: ${errorMessage}.`;\n\n      if (\n        xhr.statusText === 'Conflict' &&\n        xhr.responseJSON.meta &&\n        xhr.responseJSON.meta.conflict_resource\n      ) {\n        console.error(\n          'Articles existing resource conflict',\n          xhr.responseJSON.meta.conflict_resource,\n        );\n      }\n\n      this.notificationsService.notifyError(\n        displayedErrorMessage,\n        ENV.APP.educateErrorNotificationTimeout,\n      );\n    } else {\n      this.notificationsService.notifyError(`${message}.`);\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { inject as service } from '@ember/service';\nimport Mixin from '@ember/object/mixin';\nexport default Mixin.create({\n  intercomEventService: service(),\n  eventName: 'educate-event',\n  owner: 'educate',\n  trackCollectionEvent(eventName, sectionOrCollection, metadata = {}) {\n    metadata.object = 'series';\n    metadata.owner = 'educate';\n    // Using seriesId here to maintain consistency\n    metadata.seriesId = sectionOrCollection.get('id');\n    this.intercomEventService.trackEvent(eventName, metadata);\n  },\n  trackEducateEvent(metadata = {}) {\n    metadata.owner = this.owner;\n    this.intercomEventService.trackEvent(this.eventName, metadata);\n  },\n  trackEducateArticleEvent(article, metadata = {}) {\n    metadata.owner = this.owner;\n    metadata.object = 'article';\n    metadata.article_id = article.get('id');\n    if (!metadata.collection_id) {\n      metadata.collection_id = article.get('collection.id');\n    }\n    if (!metadata.section_id) {\n      metadata.section_id = article.get('section.id');\n    }\n\n    let eventName = metadata.eventName || this.eventName;\n    delete metadata['eventName'];\n\n    this.intercomEventService.trackEvent(eventName, metadata);\n  },\n  trackEducateArticleContentEvent(article, content, metadata = {}) {\n    metadata.owner = this.owner;\n    metadata.object = 'article-content';\n    metadata.action = 'saved';\n    metadata.article_id = article.get('id');\n    metadata.locale = content.locale;\n    metadata.is_default_locale = article.defaultLocaleId === content.locale;\n    this.intercomEventService.trackEvent(this.eventName, metadata);\n  },\n  trackEducateCollectionOrSectionEvent(sectionOrCollection, metadata = {}) {\n    metadata.owner = this.owner;\n    metadata.object = sectionOrCollection.get('type');\n    if (sectionOrCollection.get('isCollection')) {\n      metadata.collection_id = sectionOrCollection.get('id');\n    } else {\n      metadata.section_id = sectionOrCollection.get('id');\n      metadata.collection_id = sectionOrCollection.get('parent.id');\n    }\n    this.intercomEventService.trackEvent(this.eventName, metadata);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-get-with-default */\n/* eslint-disable ember/no-new-mixins */\n/* eslint-disable ember/no-jquery */\nimport { bind } from '@ember/runloop';\nimport $ from 'jquery';\nimport { isEmpty } from '@ember/utils';\nimport { on } from '@ember/object/evented';\nimport Mixin from '@ember/object/mixin';\nexport default Mixin.create({\n  _setupSortable: on('didInsertElement', function() {\n    let selector = this.getWithDefault('sortableAreaSelector', '.sortable');\n    let sortableArea = $(selector, this.element)[0];\n\n    let sortable = Sortable.create(sortableArea, {\n      sort: isEmpty(this.isSortable) ? true : this.isSortable,\n      animation: 150,\n      group: this.sortableGroup, // https://github.com/RubaXa/Sortable#group-option\n      draggable: this.getWithDefault('draggableSelector', '.draggable'),\n      handle: this.draggableHandleSelector, // undefined -> the whole item is a handle\n      ghostClass: this.getWithDefault('ghostClass', 'o__drop-ghost'),\n      onUpdate: this._getAndBindHandler('onDraggingUpdate'),\n      onAdd: this._getAndBindHandler('onDragToOtherList'),\n      onStart: this._getAndBindHandler('onDraggingStart'),\n      onEnd: this._getAndBindHandler('onDraggingEnd'),\n      onSort: this._getAndBindHandler('onSort'),\n      onMove: this._getAndBindHandler('onMove'),\n    });\n    this.set('sortable', sortable);\n  }),\n\n  _getAndBindHandler(name) {\n    let handler = this.get(name);\n    if (handler) {\n      handler = bind(this, handler);\n    }\n    return handler;\n  },\n\n  _tearDownSortable: on('willDestroyElement', function() {\n    if (this.sortable) {\n      this.sortable.destroy();\n    }\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\n/* eslint-disable ember/no-jquery */\nimport { schedule } from '@ember/runloop';\nimport $ from 'jquery';\nimport { on } from '@ember/object/evented';\nimport Mixin from '@ember/object/mixin';\nlet AttributeInputInserter = Mixin.create({\n  formElement: 'input',\n  onClick: on('click', function() {\n    this.storeCaretPosition();\n  }),\n  onInput: on('input', function() {\n    this.storeCaretPosition();\n  }),\n  onKeyUp: on('keyUp', function() {\n    this.storeCaretPosition();\n  }),\n  storeCaretPosition() {\n    //TODO: GJ: coalesce calls to this\n    if (this.canInsertAttributes) {\n      schedule('afterRender', this, function() {\n        let $firstInput = $(`${this.formElement}:first`, this.element);\n        if ($firstInput.length) {\n          this.set('caretPosition', $firstInput[0].selectionStart);\n        }\n      });\n    }\n  },\n  createAttributeTemplate(attribute, placeholder) {\n    let template;\n    if (attribute.get('noFallback')) {\n      template = `{{ ${attribute.get('templatable_identifier')} }}`;\n    } else {\n      template = `{{ ${attribute.get('templatable_identifier')} | fallback:\"${placeholder}\" }}`;\n    }\n    return template;\n  },\n  addAttributeToInput(property, template) {\n    let inputValue = this.get(property);\n    let position = this.caretPosition;\n    inputValue = inputValue.substr(0, position) + template + inputValue.substr(position);\n    this.set(property, inputValue);\n  },\n  focusAttribute(placeholder) {\n    let input = $(`${this.formElement}:first`, this.element)[0];\n    let selectionStart = input.value.indexOf(placeholder);\n    if (selectionStart >= 0) {\n      input.setSelectionRange(selectionStart, selectionStart + placeholder.length);\n    }\n    input.focus();\n  },\n  addAttributeAndFocus(attributeData, property) {\n    let placeholder = '_REPLACE_THIS_';\n    let template = this.createAttributeTemplate(attributeData, placeholder);\n    this.addAttributeToInput(property, template);\n    schedule('afterRender', this, function() {\n      this.focusAttribute(placeholder);\n    });\n  },\n});\n\nexport default AttributeInputInserter;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-new-mixins */\nimport { A } from '@ember/array';\nimport Mixin from '@ember/object/mixin';\nimport ajax from 'embercom/lib/ajax';\n\nlet AvatarAndMapSearch = Mixin.create({\n  avatarAndMapSearch(app, predicates, page) {\n    let self = this;\n    if (this.xhr && this.xhr.readyState !== 4) {\n      this.xhr.abort();\n    }\n    return ajax({\n      beforeSend(xhr) {\n        self.xhr = xhr;\n      },\n      url: '/ember/users/map_search.json',\n      type: 'POST',\n      data: JSON.stringify({\n        app_id: app.get('id'),\n        predicates,\n        page: page || 1,\n        per_page: 250,\n      }),\n    }).then(function(response) {\n      let array = A();\n      if (response.users) {\n        response.users.forEach(function(user) {\n          array.push(user);\n        });\n      }\n      return {\n        users: array,\n        nextPage: response.next_page,\n        totalCount: response.total_count,\n      };\n    });\n  },\n});\nexport default AvatarAndMapSearch;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-new-mixins */\n/* eslint-disable ember/no-jquery */\nimport { observer } from '@ember/object';\nimport $ from 'jquery';\nimport Mixin from '@ember/object/mixin';\nimport { addEventListener, removeEventListener, runDisposables } from 'ember-lifeline';\n\nlet CloseOnDocumentClickManager = Mixin.create({\n  isOpen: false,\n\n  _isOpenObserver: observer({\n    dependentKeys: ['isOpen'],\n\n    fn() {\n      if (this.isOpen) {\n        this._setupDocumentClickHandler();\n      } else {\n        this._teardownDocumentClickHandler();\n      }\n    },\n\n    sync: true,\n  }),\n\n  _setupDocumentClickHandler() {\n    addEventListener(this, document, 'click', this._closeOnDocumentClick);\n  },\n\n  _teardownDocumentClickHandler() {\n    removeEventListener(this, document, 'click', this._closeOnDocumentClick);\n  },\n\n  _closeOnDocumentClick(e) {\n    if (!this.isDestroying) {\n      if ($(this.element).find(e.target).length === 0) {\n        this.set('isOpen', false);\n      }\n    }\n  },\n\n  destroy() {\n    this._super(...arguments);\n    runDisposables(this);\n  },\n});\n\nexport default CloseOnDocumentClickManager;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-new-mixins */\n/* eslint-disable ember/no-jquery */\nimport { observer } from '@ember/object';\nimport { on } from '@ember/object/evented';\nimport { bind, schedule } from '@ember/runloop';\nimport $ from 'jquery';\nimport { not } from '@ember/object/computed';\nimport Mixin from '@ember/object/mixin';\nimport { BROWSER_SUPPORTS_TOUCH } from 'embercom/lib/screen-awareness';\n\nexport default Mixin.create({\n  isOpen: false,\n  isClosed: not('isOpen'),\n  toggleWidth: 0,\n  closeOnLeave: false,\n  hasContext: false,\n  bubbles: true,\n\n  _ignoreClick(e) {\n    if (!this.isDestroyed) {\n      let $target = $(this.element).find(e.target);\n      return $target.length > 0 || $(this.element).is(e.target);\n    }\n  },\n  _preventClosing(e) {\n    if ($(e.target).hasClass('force_close')) {\n      return false;\n    } else if ($(e.target).hasClass('no_toggle')) {\n      return true;\n    } else if (this.preventDropdownToggleFromWithin) {\n      return true;\n    } else {\n      return false;\n    }\n  },\n  _handleMouseDown(e) {\n    if (this.isOpen && !this._ignoreClick(e)) {\n      this.send('close');\n    }\n  },\n  mouseLeave() {\n    if (this.closeOnLeave && !this.hasContext) {\n      this.send('close');\n    }\n  },\n  didInsertElement() {\n    this._super(...arguments);\n    let contextElement;\n    this.set('toggleWidth', $(this.element).outerWidth());\n    if (this.hasContext && this.closeOnLeave) {\n      contextElement = $(this.element)\n        .parents(this.contextElementSelector)\n        .eq(0);\n      if (contextElement.length === 0) {\n        this.set('hasContext', false);\n      } else {\n        this.set('contextElement', contextElement);\n        let toggleElementDisplay =\n          this.showOnlyWhenHoveringInsideContext && !BROWSER_SUPPORTS_TOUCH;\n        contextElement.on(\n          `mouseleave.${this.elementId}`,\n          bind(this, function() {\n            if (this.isOpen) {\n              this.send('close');\n            }\n            if (toggleElementDisplay) {\n              $(this.element).addClass('u__hidden');\n            }\n          }),\n        );\n        if (toggleElementDisplay) {\n          contextElement.on(\n            `mouseenter.${this.elementId}`,\n            bind(this, function() {\n              $(this.element).removeClass('u__hidden');\n            }),\n          );\n        }\n      }\n    }\n  },\n  willDestroyElement() {\n    $('body').off(`mousedown.${this.elementId}`);\n    if (this.hasContext && this.contextElement) {\n      this.contextElement.off(`mouseleave.${this.elementId}`);\n      this.contextElement.off(`mouseenter.${this.elementId}`);\n    }\n    this.set('contextElement', null);\n    this._super(...arguments);\n  },\n\n  _click: on('click', function(e) {\n    if (!this.isOpen && !this.disabled) {\n      this.send('open');\n    } else if (!this._preventClosing(e)) {\n      this.send('close');\n    }\n    if (this.clearInputOnSelect) {\n      $('input', this.element).val('');\n      this.set('adminFilterQuery', '');\n    }\n    if (!this.bubbles) {\n      e.stopPropagation();\n      e.preventDefault();\n    }\n  }),\n\n  _closeDropdown() {\n    if (!this.isDestroyed && !this.isOpening) {\n      this.set('isOpen', false);\n      $('body').off(`mousedown.${this.elementId}`);\n    }\n  },\n\n  setupScrollParent: on('didInsertElement', function() {\n    if (this.scrollParentSelector) {\n      this.set('$scrollParent', $(this.scrollParentSelector));\n    }\n  }),\n  onDropdownOpen: observer({\n    dependentKeys: ['isOpen'],\n\n    fn() {\n      if (this.$scrollParent) {\n        this.$scrollParent.toggleClass('overflow-hidden', this.isOpen);\n      }\n    },\n\n    sync: false,\n  }),\n  teardownScrollParent: on('willDestroyElement', function() {\n    if (this.$scrollParent) {\n      this.$scrollParent.removeClass('overflow-hidden');\n      this.set('$scrollParent', null);\n    }\n  }),\n  actions: {\n    closeDropdown() {\n      this._closeDropdown();\n    },\n    open() {\n      if (!this.isDestroyed) {\n        this.set('isOpen', true);\n        this.set('isOpening', true);\n        $('body').on(`mousedown.${this.elementId}`, bind(this, this._handleMouseDown));\n        schedule('afterRender', this, function() {\n          let overlay = $('.overlay.o__dropdown', this.element);\n          if (overlay !== undefined) {\n            overlay.css({\n              minWidth: this.toggleWidth,\n            });\n          }\n          if (this.hasOpened) {\n            this.hasOpened();\n          }\n          this.set('isOpening', false);\n        });\n      }\n    },\n    close() {\n      this._closeDropdown();\n      schedule('afterRender', this, function() {\n        if (this.hasClosed) {\n          this.hasClosed();\n        }\n      });\n    },\n  },\n  keyDown(e) {\n    let keyCode = e.which !== undefined ? e.which : e.keyCode;\n    switch (keyCode) {\n      case 27:\n        $('input', this.element).blur();\n        this.send('close');\n        e.preventDefault();\n        break;\n      default:\n        this._super(e);\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { equal, or, not } from '@ember/object/computed';\nimport Mixin from '@ember/object/mixin';\nexport default Mixin.create({\n  currentDevice: 'android',\n  isWeb: equal('currentDevice', 'web'),\n  isDesktop: equal('currentDevice', 'desktop'),\n  isMobile: equal('currentDevice', 'mobile'),\n  isWebOrMobile: or('isWeb', 'isMobile'),\n  isIos: equal('currentDevice', 'ios'),\n  isAndroid: equal('currentDevice', 'android'),\n  isIosOrAndroid: or('isIos', 'isAndroid'),\n  isNotIosOrAndroid: not('isIosOrAndroid'),\n  isMobileOrIosOrAndroid: or('isIosOrAndroid', 'isMobile'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { A } from '@ember/array';\nimport { computed } from '@ember/object';\nimport Mixin from '@ember/object/mixin';\nimport storage from 'embercom/vendor/intercom/storage';\n\nexport default Mixin.create({\n  favouriteEmojiStorageKey: 'userEmoji',\n  maximumFavourites: 10,\n\n  favouriteEmoji: computed('favouriteEmojiStorageKey', function() {\n    return A(storage.get(this.favouriteEmojiStorageKey) || []);\n  }),\n\n  recordEmojiSelection(emojiIdentifier) {\n    if (this.defaultEmoji.includes(emojiIdentifier)) {\n      return;\n    }\n\n    let favouriteEmoji = this.favouriteEmoji;\n    if (favouriteEmoji.length > this.maximumFavourites) {\n      favouriteEmoji.popObject();\n    }\n    if (favouriteEmoji.includes(emojiIdentifier)) {\n      favouriteEmoji.removeObject(emojiIdentifier);\n    }\n    favouriteEmoji.unshiftObject(emojiIdentifier);\n    storage.set(this.favouriteEmojiStorageKey, favouriteEmoji);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-new-mixins */\n/* eslint-disable ember/no-jquery */\nimport { runTask, runDisposables } from 'ember-lifeline';\nimport { once } from '@ember/runloop';\nimport $ from 'jquery';\nimport { on } from '@ember/object/evented';\nimport { computed, observer } from '@ember/object';\nimport { bool, not } from '@ember/object/computed';\nimport Mixin from '@ember/object/mixin';\nexport default Mixin.create({\n  classNameBindings: ['isDragging', 'hasFile', ':csv_file_component'],\n  isDragging: false,\n  fileExtension: 'png,gif,jpeg,jpg',\n  maxFileSize: '1MB',\n  invalidFileResetDelay: 1700,\n  hasFile: bool('file'),\n  fileIsValid: not('fileIsInvalid'),\n  fileHasInvalidExtension: not('fileHasValidExtension'),\n\n  message: computed('uploadDidFail', 'fileIsTooLarge', function() {\n    if (this.fileIsTooLarge) {\n      return `Photo is too large. Max size is ${this.maxFileSize}.`;\n    } else if (this.uploadDidFail) {\n      return 'An error occurred while uploading your photo.';\n    } else if (this.fileHasInvalidExtension) {\n      return 'Add a valid image file';\n    }\n  }),\n\n  updateReadyState: on(\n    'didInsertElement',\n    observer({\n      dependentKeys: ['hasFile'],\n\n      fn() {\n        this.set('readyForUpload', !!this.hasFile);\n      },\n\n      sync: true,\n    }),\n  ),\n\n  fileIsTooLarge: computed('file', function() {\n    let file = this.file;\n    // 15MB in bytes\n    return !file || file.size > 15000000;\n  }),\n\n  fileIsInvalid: computed(\n    'file',\n    'fileHasInvalidExtension',\n    'uploadDidFail',\n    'fileIsTooLarge',\n    function() {\n      return (\n        !this.file || this.fileHasInvalidExtension || this.uploadDidFail || this.fileIsTooLarge\n      );\n    },\n  ),\n\n  destroy() {\n    runDisposables(this);\n    this._super(...arguments);\n  },\n\n  willDestroyElement() {\n    this.set('file', null);\n    this._super(...arguments);\n  },\n\n  dragEnter(e) {\n    if (this.fileIsInvalid) {\n      e.preventDefault();\n      this.set('isDragging', true);\n      this.resetFileIfInvalid();\n    }\n  },\n\n  dragOver(e) {\n    this.dragEnter(e);\n  },\n\n  dragLeave(e) {\n    e.preventDefault();\n    this.set('isDragging', false);\n  },\n\n  drop(e) {\n    e.preventDefault();\n    this.setFile(e.dataTransfer.files[0]);\n  },\n\n  change(e) {\n    let target = e.originalEvent.target;\n    if ($(target).is('input:file')) {\n      this.set('file', undefined);\n      this.setFile(target.files[0]);\n    }\n  },\n\n  resetFileIfInvalid() {\n    if (this.fileIsInvalid) {\n      if (!this.isDestroying) {\n        this.setProperties({\n          file: undefined,\n          uploadDidFail: false,\n        });\n      }\n    }\n  },\n\n  _doResetFileIfInvalid() {\n    if (!this.isDestroying && this.fileIsInvalid) {\n      runTask(\n        this,\n        function() {\n          if (this.isDestroying) {\n            return;\n          }\n          this.resetFileIfInvalid();\n        },\n        this.invalidFileResetDelay,\n      );\n    }\n  },\n\n  scheduleInvalidFileReset: observer({\n    dependentKeys: ['file', 'uploadDidFail'],\n\n    fn() {\n      once(this, '_doResetFileIfInvalid');\n    },\n\n    sync: true,\n  }),\n\n  setFile(file) {\n    if (!this.file) {\n      this.setProperties({\n        isDragging: false,\n        file,\n        hasFile: true,\n        saving: false,\n        previewImageUrl: undefined,\n      });\n      let reader = new FileReader();\n      reader.onload = e => {\n        this.send('imageLoaded', e.target.result);\n      };\n      reader.readAsDataURL(file);\n    }\n  },\n\n  fileHasValidExtension: computed('file', 'fileExtension', function() {\n    let fileName = this.get('file.name');\n    let fileExtensions = this.fileExtension.split(',');\n\n    return fileExtensions.some(fileExtension => {\n      let regexp = new RegExp(`\\.${fileExtension}$`, 'i');\n      return fileName && fileName.match(regexp);\n    });\n  }),\n\n  actions: {\n    imageLoaded(previewUrl) {\n      this.set('previewImageUrl', previewUrl);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\n/* eslint-disable ember/no-jquery */\nimport { schedule } from '@ember/runloop';\nimport $ from 'jquery';\nimport { computed } from '@ember/object';\nimport { assert } from '@ember/debug';\nimport { on } from '@ember/object/evented';\nimport Mixin from '@ember/object/mixin';\nlet KeyboardSelectableDropdown = Mixin.create({\n  // use {{bind-attr class=\"<item in each>.isHighlighted:keyboard_selected\"}} for item selected class\n  setup: on('init', function() {\n    // we are using this.selectableItems is on purposes - it tests that it's defined without evaluating it's value\n    assert('Must define selectableItems on component using this mixin.', this.selectableItems);\n  }),\n  actions: {\n    onEnter() {\n      if (this.isOpen) {\n        let currentHighlightedItem = this.highlightedItem;\n        if (currentHighlightedItem !== undefined) {\n          this.resetHighlightedItem();\n          this.send('selectItem', currentHighlightedItem, $('.keyboard_selected', this.element));\n          this.send('close');\n        }\n      }\n    },\n    onDown() {\n      if (this.isOpen) {\n        this.highlightItem('next');\n      } else {\n        $(this.element).trigger('click');\n      }\n    },\n    onUp() {\n      if (this.isOpen) {\n        this.highlightItem('previous');\n      }\n    },\n    onEsc() {\n      this.send('close');\n    },\n    selectItem() {\n      throw new Error(\n        'Assertion Failed: Must define selectItem action on component using this mixin.',\n      );\n    },\n  },\n  resetHighlightedItem() {\n    let highlightedItem = this.highlightedItem;\n    if (highlightedItem) {\n      if (highlightedItem.set) {\n        highlightedItem.set('isHighlighted', false);\n      } else {\n        highlightedItem.isHighlighted = false;\n      }\n    }\n  },\n  highlightedItem: computed('selectableItems.[]', 'currentHighlightedIndex', function() {\n    return this.selectableItems.objectAt(this.currentHighlightedIndex);\n  }),\n  currentHighlightedIndex: computed('selectableItems.@each.isHighlighted', function() {\n    return this.selectableItems.indexOf(\n      this.selectableItems.find(function(item) {\n        return item.isHighlighted === true;\n      }),\n    );\n  }),\n  highlightItem(direction) {\n    let newSelectedIndex;\n    let numberOfItems = this.get('selectableItems.length');\n    let currentSelectedIndex = this.currentHighlightedIndex;\n    if (currentSelectedIndex === -1) {\n      this.set('selectableItems.firstObject.isHighlighted', true);\n      return;\n    }\n    if (\n      (direction === 'next' && currentSelectedIndex + 1 === numberOfItems) ||\n      (direction === 'previous' && currentSelectedIndex === 0)\n    ) {\n      return;\n    }\n    newSelectedIndex = direction === 'next' ? currentSelectedIndex + 1 : currentSelectedIndex - 1;\n    let currentSelectedItem = this.selectableItems.objectAt(currentSelectedIndex);\n    let newSelectedItem = this.selectableItems.objectAt(newSelectedIndex);\n    if (currentSelectedItem.set && newSelectedItem.set) {\n      currentSelectedItem.set('isHighlighted', false);\n      newSelectedItem.set('isHighlighted', true);\n    } else {\n      currentSelectedItem.isHighlighted = false;\n      newSelectedItem.isHighlighted = true;\n    }\n    schedule('afterRender', this, this.scrollToHighlightedItem);\n  },\n  scrollToHighlightedItem() {\n    let selectedItem = $(this.element).find('.keyboard_selected');\n    if (selectedItem.length === 1) {\n      let scrollingContainer = selectedItem.scrollParent();\n      let scrollPosition = scrollingContainer.scrollTop();\n      let selectedItemPosition = selectedItem.position();\n      let itemHeight = selectedItem.outerHeight();\n      if (selectedItemPosition.top - itemHeight > scrollingContainer.height()) {\n        scrollingContainer.scrollTop(scrollPosition + itemHeight);\n        return;\n      }\n      if (selectedItemPosition.top < itemHeight * 2) {\n        scrollingContainer.scrollTop(scrollPosition - itemHeight);\n      }\n    }\n  },\n  keyDown(e) {\n    let keyCode = e.which !== undefined ? e.which : e.keyCode;\n    switch (keyCode) {\n      case 40:\n        this.send('onDown');\n        e.preventDefault();\n        break;\n      case 38:\n        this.send('onUp');\n        e.preventDefault();\n        break;\n      case 13:\n        this.send('onEnter');\n        e.preventDefault();\n        break;\n      case 27:\n        this.send('onEsc');\n        break;\n      default:\n        this._super(e);\n    }\n  },\n});\n\nexport default KeyboardSelectableDropdown;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\n/* eslint-disable ember/no-jquery */\nimport { computed } from '@ember/object';\nimport { bind } from '@ember/runloop';\nimport $ from 'jquery';\nimport { on } from '@ember/object/evented';\nimport Mixin from '@ember/object/mixin';\n/*\n* The intention of this mixin is to provide a generic to provide keyboard\n* actions to a list of varying designs (e.g. multiple categories, mutable list items etc)\n* by interacting with the DOM elements themselves.\n\n* Interface:\n  When the component has a KB focused item, the class `js__has-kb-focused-item` is added to the component.\n  This allows you to override :hover effects that may be present on row items.\n\n* jsHighlightClass = The class applied to the focused element.\n  EX: `.js__focused`\n\n* jsKeyboardRowSelector = The class(es) which determines which DOM elements in the list are focusable.\n  These items should have {{action ...}} defined on them.\n  EX: `.list-row-item, .list-expander-item`\n\n* jsActiveKeyboardRowSelector = The class(es) which determine what element is currently focused.\n  EX: `.list-row-item.js__focused, list-expander-item.js__focused`\n\n* jsExpanderRowSelector = The class(es) which determine if a list row causes insertion of more rows when clicked.\n  EX `.list-expander-item`\n*/\n\nexport default Mixin.create({\n  _setupKBEventHandlers: on('didInsertElement', function() {\n    $(document).on(`click.${this.elementId}`, bind(this, this._removeItemFocusOnClick));\n    $('input', this.element).on(`focus.${this.elementId}`, bind(this, this._removeItemFocus));\n    $(this.element).on(`mousemove.${this.elementId}`, bind(this, this._removeItemFocus));\n  }),\n\n  _teardownKBEventHandlers: on('willDestroyElement', function() {\n    $(document).off(`click.${this.elementId}`);\n    $('input', this.element).off(`focus.${this.elementId}`);\n    $(this.element).off(`mousemove.${this.elementId}`);\n  }),\n\n  _plainKBHighlightClass: computed('jsHighlightClass', function() {\n    let jsHighlightClass = this.jsHighlightClass;\n    if (jsHighlightClass.startsWith('.')) {\n      return this.jsHighlightClass.slice(1, jsHighlightClass.length);\n    } else {\n      console.error(`jsHighlightClass must start with '.'`);\n    }\n  }),\n\n  _removeItemFocusOnClick(e) {\n    if (!this.isDestroying) {\n      if ($(this.element).find(e.target).length === 0) {\n        this._removeItemFocus();\n      }\n    }\n  },\n\n  _removeItemFocus() {\n    if (!this.isDestroying) {\n      $(this.element).toggleClass('js__has-kb-focused-item', false);\n      $(this.jsActiveKeyboardRowSelector, this.element).removeClass(this._plainKBHighlightClass);\n    }\n  },\n\n  keyDown(e) {\n    let DOWNARROW = 40;\n    let UPARROW = 38;\n    let ENTER = 13;\n    switch (e.keyCode) {\n      case DOWNARROW: {\n        e.preventDefault();\n        return this._focusNextItem();\n      }\n      case UPARROW: {\n        e.preventDefault();\n        return this._focusPreviousItem();\n      }\n      case ENTER: {\n        e.preventDefault();\n        return this._addSelectedItem();\n      }\n    }\n  },\n\n  _focusNextItem() {\n    $(this.element).toggleClass('js__has-kb-focused-item', true);\n    let currentItem = $(this.jsHighlightClass, this.element);\n    let selectableRows = $(this.jsKeyboardRowSelector, this.element);\n    if (currentItem.length && selectableRows.index(currentItem) + 1 < selectableRows.length) {\n      let currentSelectedIndex = selectableRows.index(currentItem);\n      this._focusItemAtIndex(currentSelectedIndex + 1);\n    } else if (currentItem.length === 0) {\n      $(this.jsKeyboardRowSelector, this.element)\n        .first()\n        .addClass(this._plainKBHighlightClass);\n    }\n  },\n\n  _focusPreviousItem() {\n    let currentItem = $(this.jsHighlightClass, this.element);\n    let selectableRows = $(this.jsKeyboardRowSelector, this.element);\n    if (currentItem.length && selectableRows.index(currentItem) - 1 >= 0) {\n      let currentSelectedIndex = selectableRows.index(currentItem);\n      this._focusItemAtIndex(currentSelectedIndex - 1);\n    } else if (currentItem.length) {\n      $(this.element).toggleClass('js__has-kb-focused-item', false);\n      currentItem.removeClass(this._plainKBHighlightClass);\n    }\n  },\n\n  _focusItemAtIndex(index) {\n    let currentItem = $(this.jsHighlightClass, this.element);\n    let selectableRows = $(this.jsKeyboardRowSelector, this.element);\n    currentItem.removeClass(this._plainKBHighlightClass);\n    $(selectableRows.get(index)).addClass(this._plainKBHighlightClass);\n  },\n\n  _addSelectedItem() {\n    let currentItem = $(this.jsHighlightClass, this.element);\n    let selectableRows = $(this.jsKeyboardRowSelector, this.element);\n    if (currentItem) {\n      let moveSelectionAfterSelection = this.jsExpanderRowSelector\n        ? currentItem.is(this.jsExpanderRowSelector)\n        : false;\n      let originalIndex = selectableRows.index(currentItem);\n      currentItem.click();\n      if (moveSelectionAfterSelection) {\n        this._focusItemAtIndex(originalIndex);\n      }\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { A } from '@ember/array';\nimport Mixin from '@ember/object/mixin';\nimport VALIDATIONS from 'embercom/models/data/messages/message-validation-map';\n\nexport default Mixin.create({\n  getValidationResults(panelKey) {\n    let success = true;\n    let errors = A([]);\n\n    VALIDATIONS[panelKey].forEach(validation => {\n      if (!this._validate(validation)) {\n        success = false;\n        errors.pushObject(this._errorMessage(validation));\n      }\n    });\n\n    return {\n      success,\n      errors: errors.uniq(),\n    };\n  },\n\n  _validate(validation) {\n    if (validation.type === 'custom') {\n      return this.get(`message.${validation.validationKey}`);\n    }\n\n    return this.get(`message.${validation.validationKey}.isValid`);\n  },\n\n  _errorMessage(validation) {\n    if (validation.type === 'custom') {\n      return validation.message;\n    }\n\n    return this.get(`message.${validation.validationKey}.message`);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport Mixin from '@ember/object/mixin';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport { equal, readOnly } from '@ember/object/computed';\nimport { rejectBy, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nconst EXTRA_USER_ATTRIBUTES = ['Current page URL'];\n\nexport default Mixin.create({\n  attributeService: service(),\n  targetTypeIsUsers: equal('targetUserType', 'users'),\n  attributeGroupList: ternaryToProperty(\n    'targetTypeIsUsers',\n    'attributeGroupListForUsers',\n    'attributeGroupListForAnonymous',\n  ),\n\n  userAttributes: rejectBy(\n    'attributeService.filterableUserAttributesMaybeWithSegmentsAndTags',\n    'isUntrackedCda',\n    true,\n  ),\n  companyAttributes: readOnly(\n    'attributeService.filterableCompanyAttributesMaybeWithPlansSegmentsAndTags',\n  ),\n  messengerConditionalDisplayAttributes: readOnly(\n    'attributeService.messengerConditionalDisplayAttributes',\n  ),\n\n  attributeGroupListForAnonymous: computed('messengerConditionalDisplayAttributes.[]', function() {\n    return [\n      {\n        heading: 'Person Data',\n        attributes: this.messengerConditionalDisplayAttributes,\n      },\n    ];\n  }),\n\n  attributeGroupListForUsers: computed(\n    'userAttributes.[]',\n    'companyAttributes.[]',\n    'messengerConditionalDisplayAttributes.[]',\n    function() {\n      return [\n        {\n          heading: 'User Data',\n          attributes: [\n            ...this.messengerConditionalDisplayAttributes.filter(el => {\n              return EXTRA_USER_ATTRIBUTES.includes(el.get('name'));\n            }),\n            ...this.userAttributes,\n          ],\n        },\n        {\n          heading: 'Company Data',\n          attributes: this.companyAttributes,\n        },\n      ];\n    },\n  ),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-attrs-in-components */\n/* eslint-disable ember/no-new-mixins */\n/* eslint-disable ember/no-jquery */\nimport { isArray } from '@ember/array';\nimport { assert } from '@ember/debug';\nimport { bind, debounce, throttle } from '@ember/runloop';\nimport $ from 'jquery';\nimport { on } from '@ember/object/evented';\nimport { not } from '@ember/object/computed';\nimport Mixin from '@ember/object/mixin';\nimport ENV from 'embercom/config/environment';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\n\nconst notImplementedError = 'You must add this property for the Paging Mixin to work';\n\nexport default Mixin.create({\n  isLoadingNextPage: false,\n  hasMoreItemsToShow: true,\n  isNotLoadingNextPage: not('isLoadingNextPage'),\n  scrollingContainerSelector: notImplemented(notImplementedError),\n  listItemsContainerSelector: notImplemented(notImplementedError),\n  nearPageBottomThreshold: notImplemented(notImplementedError),\n  setupPaging: on('didInsertElement', function() {\n    this.set('$pagingContainer', $(this.scrollingContainerSelector));\n    this.set('$listItemsContainer', $(this.listItemsContainerSelector));\n    this.$pagingContainer.on(\n      `scroll.paging-${this.elementId}`,\n      bind(this, this._throttleTryLoadNextPage),\n    );\n    this.$pagingContainer.on(\n      `resize.paging-${this.elementId}`,\n      bind(this, this._debounceTryLoadNextPage),\n    );\n    this._tryLoadNextPage();\n  }),\n  resetPaging() {\n    this.set('hasMoreItemsToShow', true);\n  },\n  teardownPaging: on('willDestroyElement', function() {\n    this.$pagingContainer.off(`scroll.paging-${this.elementId}`);\n    this.$pagingContainer.off(`resize.paging-${this.elementId}`);\n    this.set('$pagingContainer', null);\n    this.set('$listItemsContainer', null);\n  }),\n  _debounceTryLoadNextPage() {\n    debounce(this, this._tryLoadNextPage, ENV.APP._500MS, false);\n  },\n  _throttleTryLoadNextPage() {\n    throttle(this, this._tryLoadNextPage, ENV.APP._500MS, false);\n  },\n  _tryLoadNextPage() {\n    if (this._shouldLoadNextPage()) {\n      this.set('isLoadingNextPage', true);\n      this.attrs\n        .loadNextPage()\n        .then(items => {\n          assert(\n            'The action \"loadNextPage\" must resolve with the array of loaded items',\n            isArray(items),\n          );\n          this.setProperties({\n            isLoadingNextPage: false,\n            hasMoreItemsToShow: items.length > 0,\n          });\n        })\n        .catch(() => {\n          this.setProperties({ isLoadingNextPage: false });\n        });\n    }\n  },\n  _shouldLoadNextPage() {\n    return this._isNearBottomOfPage() && this.isNotLoadingNextPage && this.hasMoreItemsToShow;\n  },\n  _isNearBottomOfPage() {\n    let scrollTop = this.$pagingContainer.scrollTop();\n    let innerHeight = window.innerHeight;\n    let heightDifference = this.$listItemsContainer.height() - this.nearPageBottomThreshold;\n    return scrollTop + innerHeight >= heightDifference;\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { isNone } from '@ember/utils';\nimport EmberObject, { computed, get, set } from '@ember/object';\nimport Mixin from '@ember/object/mixin';\nimport { ternary, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\n\nexport default Mixin.create({\n  notificationsService: service(),\n  store: service(),\n  companyAttributeType: 'company',\n  personAttributeType: ternary('person.isUserRole', 'user', 'lead'),\n  editableObject: computed(\n    'attribute.isCompany',\n    'person.qualificationCompany',\n    'person',\n    function() {\n      if (this.get('attribute.isCompany')) {\n        return this.get('person.qualificationCompany');\n      } else {\n        return this.person;\n      }\n    },\n  ),\n  currentAttributeValue: computed(\n    'attribute.identifierWithoutCompanyPrefix',\n    'editableObject',\n    'editableObject._lastEdit',\n    function() {\n      return get(this.editableObject, this.get('attribute.identifierWithoutCompanyPrefix'));\n    },\n  ),\n  attributeType: ternaryToProperty(\n    'attribute.isCompany',\n    'companyAttributeType',\n    'personAttributeType',\n  ),\n\n  updateAttributeValue: task(function*(value) {\n    let existingValue = this.currentAttributeValue;\n    try {\n      this.setValue(value);\n      let response = yield this._put(\n        `/ember/user_attributes/${this.get('person.id')}`,\n        this._generateParams(value),\n      );\n      this._updateLocalModel(response);\n      this._trackAttributeUpdated();\n    } catch (error) {\n      this.notificationsService.notifyResponseError(error, {\n        default: `Something went wrong and we couldn't update the value for '${this.get(\n          'attribute.identifier',\n        )}'.`,\n      });\n      this.setValue(existingValue);\n      console.error(error);\n    } finally {\n      this.set('isEditing', false);\n    }\n  }).drop(),\n\n  resyncAttributeData: task(function*() {\n    let response = yield this._put(`/ember/user_attributes/reset`, this._generateParams());\n    this._updateLocalModel(response);\n  }),\n\n  // The user serializer may not always have tag, segment, company data etc.\n  // To prevent overwriting that data with null if it is not present in the response,\n  // we merge the response data with the local copy.\n  _updateLocalModel(response) {\n    if (response) {\n      this.store.pushPayload({ user: response });\n      let user = this.store.peekRecord('user', response.id);\n      user.loadSegments.perform();\n      let participant = this.store.peekRecord('participant', response.id);\n      if (participant) {\n        participant.setProperties(response);\n      }\n    }\n  },\n\n  _trackAttributeUpdated() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'edited',\n      object: 'editable_attribute',\n      attribute_identifier: this.get('attribute.identifier'),\n    });\n  },\n\n  _generateParams(value) {\n    return {\n      app_id: this.get('app.id'),\n      id: this.get('person.id'),\n      attribute_identifier: this.get('attribute.identifier'),\n      attribute_value: value,\n      attribute_belongs_to_type: this.attributeType,\n      qualification_company_id: this.get('person.qualificationCompany.id'),\n    };\n  },\n\n  setValue(value) {\n    this._updateEditableObject(\n      this.editableObject,\n      this.get('attribute.identifierWithoutCompanyPrefix'),\n      value,\n    );\n    this.editableObject.set('_lastEdit', new Date());\n  },\n\n  _performUpdateTask(taskName, value) {\n    if (this.disabled) {\n      throw new Error(\n        `Attempted to update ${this.get('attribute.name')} but the editor is disabled`,\n      );\n    }\n    this.get(taskName).perform(value);\n  },\n  // When setting a nested key, e.g. `custom_data.my_cda`\n  // This function will initialise all nested objects down the identifier chain\n  // before attempting to set the value. E.g. if `custom_data` does not exist\n  // on the object, we will set an empty hash in its place before setting `my_cda`.\n  _updateEditableObject(editableObject, attributeIdentifier, value) {\n    let objectPaths = attributeIdentifier.split('.');\n    objectPaths.pop();\n    for (let i = 0; i < objectPaths.length; ++i) {\n      let currentPath = objectPaths.slice(0, i + 1).join('.');\n      let currentValueForPath = get(editableObject, currentPath);\n      if (isNone(currentValueForPath)) {\n        set(editableObject, currentPath, EmberObject.create());\n      }\n    }\n    set(editableObject, attributeIdentifier, value);\n  },\n\n  _put(url, data) {\n    return ajax({\n      type: `PUT`,\n      url,\n      data: JSON.stringify(data),\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { computed } from '@ember/object';\nimport Mixin from '@ember/object/mixin';\nlet ProfileAttributeMixin = Mixin.create({\n  attributeComponentPath: computed('attribute.type', function() {\n    let attributeType = this.get('attribute.type');\n    let stringyTypes = [\n      'downcased_string',\n      'ios_device',\n      'ios_version',\n      'ios_app_version',\n      'android_app_version',\n      'android_device',\n      'android_version',\n      'account_id',\n      'user_event',\n      'vip_query',\n    ];\n    if (stringyTypes.includes(attributeType)) {\n      attributeType = 'string';\n    }\n    return `attribute-${attributeType}-component`;\n  }),\n});\nexport default ProfileAttributeMixin;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { on } from '@ember/object/evented';\nimport { inject as service } from '@ember/service';\nimport Mixin from '@ember/object/mixin';\nexport default Mixin.create({\n  renderMetricBufferSize: 5,\n  frontendStatsService: service('frontendStatsService'),\n  recordRenderTimeOnInsertion: on('didInsertElement', function() {\n    let renderMetricName = this.renderMetricName;\n    this.frontendStatsService.timeUntilAfterRender(`ember_ux_${renderMetricName}RenderTime`, {\n      bufferSize: this.renderMetricBufferSize,\n    });\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\n/* eslint-disable ember/no-jquery */\nimport { bind } from '@ember/runloop';\nimport $ from 'jquery';\nimport Mixin from '@ember/object/mixin';\nlet ScrollManager = Mixin.create({\n  scrollParentSelector: null,\n\n  bindToScrollParent(calculatePositionCallback) {\n    if (calculatePositionCallback) {\n      if (this.scrollParentSelector) {\n        $(this.scrollParentSelector).on(\n          `scroll.${this.elementId}`,\n          bind(this, calculatePositionCallback),\n        );\n      }\n      //eslint-disable-next-line @intercom/intercom/no-jquery-window-on\n      $(window).on(`resize.${this.elementId}`, bind(this, calculatePositionCallback));\n    }\n  },\n\n  unbindFromScrollParent() {\n    if (this.scrollParentSelector) {\n      $(this.scrollParentSelector).off(`scroll.${this.elementId}`);\n    }\n    $(window).off(`resize.${this.elementId}`);\n  },\n});\n\nexport default ScrollManager;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-new-mixins */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { observer } from '@ember/object';\nimport { cancel, schedule, debounce } from '@ember/runloop';\nimport { assert } from '@ember/debug';\nimport { on } from '@ember/object/evented';\nimport { filter, reads, gt } from '@ember/object/computed';\nimport Mixin from '@ember/object/mixin';\nimport { lessThanProperty, subtractFrom } from '@intercom/embercom-core/lib/computed-properties';\n\nlet SelectKeyboardActions = Mixin.create({\n  isOpen: false,\n  highlightedItemIndex: 0,\n  viewportSelector: '.pl_admin_selector_list',\n  listSelector: '.pl_admin_selector_list',\n  listItemSelector: '.dropdown__list-item.o__hoverable',\n  selectedListItemClass: '.js_keyboard_selected',\n  highlightListItemClass: 'o__selected',\n  filteredItems: filter('selectableItems', function(item) {\n    if (item.get === undefined || item.get('_filtered') === undefined) {\n      return true;\n    }\n    return !item.get('_filtered');\n  }).property('selectableItems.@each.{_filtered}'),\n  filteredItemsLength: reads('filteredItems.length'),\n  highlightedItemNotFirst: gt('highlightedItemIndex', 0),\n  lastItemIndex: subtractFrom('filteredItemsLength', 1),\n  highlightedItemNotLast: lessThanProperty('highlightedItemIndex', 'lastItemIndex'),\n\n  initSelectKeyboardActions: on('init', function() {\n    assert(\n      'Must define selectableItems on component using this mixin.',\n      this.selectableItems !== 'undefined',\n    );\n  }),\n\n  willSelectKeyboardActions: on('willDestroyElement', function() {\n    cancel(this.highlightDebounceTimer);\n  }),\n\n  _highlightItem(direction) {\n    if (this.isDestroyed || direction === undefined) {\n      return;\n    }\n    let newIndex = this.highlightedItemIndex + direction;\n    this.set('highlightedItemIndex', newIndex);\n    this._setHighlightedItemClass(newIndex);\n    schedule('afterRender', this, function() {\n      this.scrollToItem();\n    });\n  },\n\n  openStateChanged: observer({\n    dependentKeys: ['isOpen'],\n\n    fn() {\n      this.set('highlightedItemIndex', 0);\n      if (this.isOpen) {\n        schedule('afterRender', this, function() {\n          this._setHoverListeners();\n          this._setHighlightedItemClass(0);\n        });\n      } else {\n        this._removeHoverListeners();\n      }\n    },\n\n    sync: true,\n  }),\n  filteredItemsLengthChanged: observer({\n    dependentKeys: ['filteredItemsLength'],\n\n    fn() {\n      schedule('afterRender', this, function() {\n        this.set('highlightedItemIndex', 0);\n        this._setHighlightedItemClass(0);\n      });\n    },\n\n    sync: true,\n  }),\n\n  _setHoverListeners() {\n    let self = this;\n    let items = $(this.listItemSelector, this.element);\n    $(this.element).on('mouseenter', this.listItemSelector, function() {\n      items.removeClass(self.get('highlightListItemClass'));\n      let index = $(this).index();\n      self.set('highlightedItemIndex', index);\n    });\n    $(this.element).on('mouseleave', this.listItemSelector, function() {\n      self._setHighlightedItemClass($(this).index());\n    });\n  },\n  _removeHoverListeners() {\n    $(this.element).off('mouseenter mouseleave', this.listItemSelector);\n  },\n\n  _setHighlightedItemClass(index) {\n    let items = $(this.listItemSelector, this.element);\n    items.removeClass(this.highlightListItemClass);\n    $(items.get(index), this.element).addClass(this.highlightListItemClass);\n  },\n\n  scrollToItem() {\n    let $viewport = $(this.viewportSelector, this.element);\n    let $items = $(this.listItemSelector, this.element);\n    let activeElement = $(`.${this.highlightListItemClass}`, this.element).position();\n    if (!(activeElement && $items && $viewport)) {\n      return;\n    }\n    let currentScrollTop = $viewport.scrollTop();\n    if (activeElement.top > $viewport.height() - 50) {\n      $viewport.scrollTop(currentScrollTop + activeElement.top - $viewport.height() + 50);\n    } else if (currentScrollTop > 0 && activeElement.top < 50) {\n      let scrollPosition = 0;\n      if (this.highlightedItemNotFirst) {\n        scrollPosition = currentScrollTop + activeElement.top - 50;\n      }\n      $viewport.scrollTop(scrollPosition);\n    }\n  },\n\n  keyDown(e) {\n    let keyCode = e.which !== undefined ? e.which : e.keyCode;\n    switch (keyCode) {\n      case 40:\n        this.send('onDown');\n        break;\n      case 38:\n        this.send('onUp');\n        break;\n      case 13:\n        this.send('onEnter');\n        break;\n      case 27:\n        this.send('onEsc');\n        break;\n      case 9:\n        this.send('onTab', e);\n        break;\n      default:\n        this._super(e);\n    }\n  },\n\n  actions: {\n    onDown() {\n      if (this.isOpen) {\n        if (this.highlightedItemNotLast) {\n          this.send('highlightItem', 1);\n        }\n      } else {\n        this.set('isOpen', true);\n      }\n    },\n    onUp() {\n      if (this.isOpen && this.highlightedItemNotFirst) {\n        this.send('highlightItem', -1);\n      }\n    },\n    onEnter() {\n      if (this.isOpen) {\n        let currentHighlightedItem = this.filteredItems.objectAt(this.highlightedItemIndex);\n        if (currentHighlightedItem !== undefined) {\n          this.send('selectItem', currentHighlightedItem, $('.js_keyboard_selected', this.element));\n          this.set('isOpen', false);\n        }\n      }\n    },\n    onEsc() {\n      if (this.isOpen) {\n        this.set('isOpen', false);\n      }\n    },\n    onTab(e) {\n      if (this.isOpen) {\n        e.preventDefault();\n      }\n    },\n    highlightItem(direction) {\n      if (!this.isDestroying) {\n        let highlightDebounceTimer = debounce(this, this._highlightItem, direction, 10);\n        this.set('highlightDebounceTimer', highlightDebounceTimer);\n      }\n    },\n    selectItem() {\n      throw new Error(\n        'Assertion Failed: Must define selectItem action on component using this mixin.',\n      );\n    },\n  },\n});\n\nexport default SelectKeyboardActions;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { gte, not } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport Mixin from '@ember/object/mixin';\nimport moment from 'moment';\nimport HoursWith30MinsInterval from 'embercom/models/data/hours-with-30mins-interval';\n\nconst NINE_AM = 9 * 3600;\n\nexport default Mixin.create({\n  initSnoozeProperties() {\n    this.setProperties({\n      selectedDayMoment: moment(),\n      monthOffset: 0,\n    });\n  },\n  hoursWith30MinsInterval: computed('selectedDayMoment', function() {\n    let now = moment().startOf('minute');\n    if (this.selectedDayMoment.isSame(now, 'day')) {\n      let midnight = now.clone().startOf('day');\n      let secondsSinceMidnight = now.diff(midnight, 'seconds');\n      return HoursWith30MinsInterval.filter(\n        time => time.secondsFromMidnight >= secondsSinceMidnight,\n      );\n    }\n    return HoursWith30MinsInterval;\n  }),\n  selectedTimeInSecondsSinceMidnight: computed('hoursWith30MinsInterval', function() {\n    let times = this.hoursWith30MinsInterval;\n    if (times.length > 0 && times[0].secondsFromMidnight > NINE_AM) {\n      return times[0].secondsFromMidnight;\n    }\n    return NINE_AM;\n  }),\n  hasHourOptionsForSelectedDay: gte('hoursWith30MinsInterval.length', 1),\n  disableSnoozeButton: not('hasHourOptionsForSelectedDay'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { assert } from '@ember/debug';\nimport { on } from '@ember/object/evented';\nimport { reads, gt, and } from '@ember/object/computed';\nimport Mixin from '@ember/object/mixin';\nlet SpendHighlight = Mixin.create({\n  monthlySpend: reads('userOrCompany.monthly_spend'),\n  monthlySpendGreaterThanZero: gt('monthlySpend', 0),\n  showPositiveMonthlySpendDetails: and('monthlySpendGreaterThanZero', 'displayWithSpendColor'),\n  spendHighlightSetup: on('init', function() {\n    assert('Must define user or company', this.userOrCompany);\n  }),\n});\nexport default SpendHighlight;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { later } from '@ember/runloop';\nimport EmberError from '@ember/error';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Mixin from '@ember/object/mixin';\nimport { applyFunction } from '@intercom/embercom-core/lib/computed-properties';\nimport { getAutoplayUrlForWistiaId } from '@intercom/embercom-core/lib/wistia-url';\n\nexport default Mixin.create({\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    if (!this.place) {\n      throw new EmberError('Must set `place` for video click analytics');\n    }\n  },\n  didInsertElement() {\n    this._super(...arguments);\n\n    later(() => {\n      this.set('showVideo', true);\n    }, this.showVideoDelay);\n  },\n\n  willDestroyElement() {\n    this.set('showVideo', false);\n    this._super(...arguments);\n  },\n\n  title: null,\n  videoId: null,\n  showVideo: false,\n\n  place: '',\n\n  videoUrl: applyFunction(getAutoplayUrlForWistiaId, 'videoId'),\n  analyticsData: computed('videoId', 'title', function() {\n    return {\n      object: 'video',\n      video_title: this.title,\n      video_id: this.videoId,\n    };\n  }),\n\n  actions: {\n    openVideoModal() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        place: this.place,\n        object: this,\n      });\n\n      let model = { videoURL: this.videoUrl, title: this.title };\n      this.modalService.openModal('apps/app/modals/video-modal', model);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\" <div class=\\\"flex flex-row justify-center flex-1\\\">\\n    <div class=\\\"flex flex-col message__editor__push__chrome\\\">\\n      <div class=\\\"flex flex-col message__editor__push__chrome-screen\\\">\\n        <div class=\\\"flex flex-col justify-center items-center message__editor__push__chrome-lock-screen-time\\\">\\n          <div class=\\\"message__editor__push__chrome-lock-screen-time-text\\\">\\n            {{this.time}}\\n          </div>\\n        </div>\\n        <div class=\\\"flex flex-col message__editor__push__chrome-card o__editable\\\">\\n          <div class=\\\"flex flex-col message__editor__push__chrome-card-secondary\\\">\\n            <div class=\\\"flex items-start\\\">\\n              <div class=\\\"message__editor__push__chrome-card-app-icon\\\"></div>\\n              <div class=\\\"flex-auto min-w-0 message__editor__push__chrome-card-app-name\\\">\\n                {{this.appService.app.name}}\\n              </div>\\n            </div>\\n          </div>\\n          <div class=\\\"flex flex-col flex-1 message__editor__push__chrome-card-main\\\">\\n            {{yield}}\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n\", {\"contents\":\" <div class=\\\"flex flex-row justify-center flex-1\\\">\\n    <div class=\\\"flex flex-col message__editor__push__chrome\\\">\\n      <div class=\\\"flex flex-col message__editor__push__chrome-screen\\\">\\n        <div class=\\\"flex flex-col justify-center items-center message__editor__push__chrome-lock-screen-time\\\">\\n          <div class=\\\"message__editor__push__chrome-lock-screen-time-text\\\">\\n            {{this.time}}\\n          </div>\\n        </div>\\n        <div class=\\\"flex flex-col message__editor__push__chrome-card o__editable\\\">\\n          <div class=\\\"flex flex-col message__editor__push__chrome-card-secondary\\\">\\n            <div class=\\\"flex items-start\\\">\\n              <div class=\\\"message__editor__push__chrome-card-app-icon\\\"></div>\\n              <div class=\\\"flex-auto min-w-0 message__editor__push__chrome-card-app-name\\\">\\n                {{this.appService.app.name}}\\n              </div>\\n            </div>\\n          </div>\\n          <div class=\\\"flex flex-col flex-1 message__editor__push__chrome-card-main\\\">\\n            {{yield}}\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n\",\"moduleName\":\"embercom/components/mobile-push/chrome.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/mobile-push/chrome.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport moment from 'moment';\nimport { task, timeout } from 'ember-concurrency';\nimport ENV from 'embercom/config/environment';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  tagName: '',\n  appService: service(),\n\n  init() {\n    this._super(...arguments);\n    this.clockTick.perform();\n  },\n\n  clockTick: task(function*() {\n    this.set('time', moment().format('h:mm'));\n    // We don't need to run the clock during tests\n    if (ENV.environment !== 'test') {\n      yield timeout(ENV.APP._1000MS);\n      this.clockTick.perform();\n    }\n  }).enqueue(),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (service 'app-service.app') as |app|}}\\n  {{#if (and app.hasIOSSdk app.hasAndroidSdk)}}\\n    <div class=\\\"flex flex-row justify-center\\\" data-test-device-switcher>\\n      <div class=\\\"btn__toggle-list u__cf\\\">\\n        {{#each (array (hash name='ios' icon='apple') (hash name='android' icon='android')) as |device|}}\\n          <a\\n            class=\\\"btn o__toggle {{if (eq @currentDevice device.name) \\\"o__selected\\\"}}\\\"\\n            {{on \\\"click\\\" (fn @changeDevice device.name)}}\\n            data-test-select-device-switcher-option={{device.name}}\\n            >\\n              {{ic-interface-icon device.icon}}\\n          </a>\\n        {{/each}}\\n    </div>\\n  </div>\\n  {{/if}}\\n{{/let}}\\n\", {\"contents\":\"{{#let (service 'app-service.app') as |app|}}\\n  {{#if (and app.hasIOSSdk app.hasAndroidSdk)}}\\n    <div class=\\\"flex flex-row justify-center\\\" data-test-device-switcher>\\n      <div class=\\\"btn__toggle-list u__cf\\\">\\n        {{#each (array (hash name='ios' icon='apple') (hash name='android' icon='android')) as |device|}}\\n          <a\\n            class=\\\"btn o__toggle {{if (eq @currentDevice device.name) \\\"o__selected\\\"}}\\\"\\n            {{on \\\"click\\\" (fn @changeDevice device.name)}}\\n            data-test-select-device-switcher-option={{device.name}}\\n            >\\n              {{ic-interface-icon device.icon}}\\n          </a>\\n        {{/each}}\\n    </div>\\n  </div>\\n  {{/if}}\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/mobile-push/device-switcher.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/mobile-push/device-switcher.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col flex-1 gap-6 content-editor__sidebar p-8\\\">\\n  <Form as |form|>\\n    <label class=\\\"t__label\\\">\\n      On tap, this will open\\n    </label>\\n    <Common::ButtonGroup\\n      data-intercom-target=\\\"Mobile Push open action selector\\\"\\n      data-test-uri-button-group\\n      @content={{array\\n        (hash value=false label=\\\"Your app\\\")\\n        (hash value=true label=\\\"A deep link in your app\\\")}}\\n      @selected={{this.hasCustomURI}}\\n      @onSelected={{this.toggleHasCustomURI}}\\n    />\\n    {{#if this.hasCustomURI}}\\n      {{#let (service 'app-service.app') as |app|}}\\n        {{#if app.hasIOSSdk}}\\n          <form.Item @label=\\\"iOS\\\" as |item|>\\n            <item.Input\\n              @value={{@currentPushContent.uris.ios}}\\n              @placeholder=\\\"Deep link URI...\\\"\\n              data-test-ios-uri\\n            />\\n          </form.Item>\\n        {{/if}}\\n        {{#if app.hasAndroidSdk}}\\n          <form.Item @label=\\\"Android\\\" as |item|>\\n            <item.Input\\n              @value={{@currentPushContent.uris.android}}\\n              @placeholder=\\\"Deep link URI...\\\"\\n              data-test-android-uri\\n            />\\n          </form.Item>\\n        {{/if}}\\n      {{/let}}\\n      <div class=\\\"pt-4\\\">\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://developers.intercom.com/installing-intercom/docs/ios-deep-linking\\\"\\n          @title=\\\"How to deep link to a URI\\\"\\n          @type=\\\"developer\\\"\\n        />\\n      </div>\\n    {{/if}}\\n  </Form>\\n\\n  <ContentEditor::Panels::Content::PreferredDevices::Switcher\\n    @label={{\\\"Show first on\\\"}}\\n    @content={{@push}} @optionsToHide={{this.preferredDevicesToHide}} />\\n  {{#if this.contentEditorService.isSeriesMode}}\\n    <Text @styling=\\\"label\\\" class=\\\"series-content-implicit-rule-banner\\\" data-test-audience-selector-internal-node-series-preview>\\n      This push would only send to eligible recepients\\n      <IcTooltipIcon @content=\\\"People who have not granted push notification permissions for your app will be excluded.\\\" />\\n    </Text>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col flex-1 gap-6 content-editor__sidebar p-8\\\">\\n  <Form as |form|>\\n    <label class=\\\"t__label\\\">\\n      On tap, this will open\\n    </label>\\n    <Common::ButtonGroup\\n      data-intercom-target=\\\"Mobile Push open action selector\\\"\\n      data-test-uri-button-group\\n      @content={{array\\n        (hash value=false label=\\\"Your app\\\")\\n        (hash value=true label=\\\"A deep link in your app\\\")}}\\n      @selected={{this.hasCustomURI}}\\n      @onSelected={{this.toggleHasCustomURI}}\\n    />\\n    {{#if this.hasCustomURI}}\\n      {{#let (service 'app-service.app') as |app|}}\\n        {{#if app.hasIOSSdk}}\\n          <form.Item @label=\\\"iOS\\\" as |item|>\\n            <item.Input\\n              @value={{@currentPushContent.uris.ios}}\\n              @placeholder=\\\"Deep link URI...\\\"\\n              data-test-ios-uri\\n            />\\n          </form.Item>\\n        {{/if}}\\n        {{#if app.hasAndroidSdk}}\\n          <form.Item @label=\\\"Android\\\" as |item|>\\n            <item.Input\\n              @value={{@currentPushContent.uris.android}}\\n              @placeholder=\\\"Deep link URI...\\\"\\n              data-test-android-uri\\n            />\\n          </form.Item>\\n        {{/if}}\\n      {{/let}}\\n      <div class=\\\"pt-4\\\">\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://developers.intercom.com/installing-intercom/docs/ios-deep-linking\\\"\\n          @title=\\\"How to deep link to a URI\\\"\\n          @type=\\\"developer\\\"\\n        />\\n      </div>\\n    {{/if}}\\n  </Form>\\n\\n  <ContentEditor::Panels::Content::PreferredDevices::Switcher\\n    @label={{\\\"Show first on\\\"}}\\n    @content={{@push}} @optionsToHide={{this.preferredDevicesToHide}} />\\n  {{#if this.contentEditorService.isSeriesMode}}\\n    <Text @styling=\\\"label\\\" class=\\\"series-content-implicit-rule-banner\\\" data-test-audience-selector-internal-node-series-preview>\\n      This push would only send to eligible recepients\\n      <IcTooltipIcon @content=\\\"People who have not granted push notification permissions for your app will be excluded.\\\" />\\n    </Text>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/mobile-push/editor-sidebar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/mobile-push/editor-sidebar.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { isPresent } from '@ember/utils';\nimport { preferredDevices } from 'embercom/models/data/outbound/constants';\n\nexport default class EditorSidebar extends Component {\n  @tracked hasToggledSetCustomURI = false;\n  @service appService;\n  @service contentEditorService;\n\n  preferredDevicesToHide = [preferredDevices.web];\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get hasCustomURI() {\n    return (\n      this.hasToggledSetCustomURI ||\n      isPresent(this.args.currentPushContent.get('uris.ios')) ||\n      isPresent(this.args.currentPushContent.get('uris.android'))\n    );\n  }\n\n  @action toggleHasCustomURI(value) {\n    this.hasToggledSetCustomURI = value;\n    this.args.currentPushContent.set('uris.ios', null);\n    this.args.currentPushContent.set('uris.android', null);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"content-editor__push-editor\\n    {{if this.iosSelected \\\"message__editor__push__ios-preview\\\"}}\\n    {{if this.androidSelected \\\"message__editor__push__android-preview\\\"}}\\\"\\n  {{did-update this.setupCurrentModel @push}}\\n  data-test-push-editor\\n>\\n  <div class=\\\"flex flex-row\\\">\\n    <div class=\\\"flex flex-col\\\">\\n      {{#liquid-if this.isEditing class=\\\"content-editor__animated-sidebar\\\"}}\\n        <MobilePush::EditorSidebar @push={{@push}} @currentPushContent={{this.currentPushContent}} />\\n      {{/liquid-if}}\\n    </div>\\n    <div class=\\\"flex flex-col flex-1 gap-4 content-editor__panel-main p-4\\\">\\n      <MobilePush::Chrome>\\n        <ComposerV2\\n          @app={{this.app}}\\n          @appAttributes={{this.appAttributes}}\\n          @attributes={{this.attributeService.userEditorAttributes}}\\n          @preset={{this.preset}}\\n          @blocks={{this.serializedTitleBlocks}}\\n          @editorClass=\\\"message__editor__push__title-text\\\"\\n          @viewportSelector=\\\".content-editor__main\\\"\\n          @actionReceiver={{this.titleComposer}}\\n          @placeholder=\\\"Your title...\\\"\\n          @onChange={{action \\\"updateTitleBlocks\\\"}}\\n          data-test-title-composer\\n        />\\n        <ComposerV2\\n          @app={{this.app}}\\n          @appAttributes={{this.appAttributes}}\\n          @attributes={{this.attributeService.userEditorAttributes}}\\n          @preset={{this.preset}}\\n          @blocks={{this.serializedBodyBlocks}}\\n          @editorClass=\\\"message__editor__push__body-text\\\"\\n          @viewportSelector=\\\".content-editor__main\\\"\\n          @actionReceiver={{this.bodyComposer}}\\n          @placeholder=\\\"Your message...\\\"\\n          @onChange={{action \\\"updateBodyBlocks\\\"}}\\n          data-test-body-composer\\n        />\\n      </MobilePush::Chrome>\\n\\n      {{#unless @hideDeviceSwitcher}}\\n        {{#if (and this.app.hasIOSSdk this.app.hasAndroidSdk)}}\\n          <MobilePush::DeviceSwitcher\\n            @currentDevice={{this.currentDevice}}\\n            @changeDevice={{action 'changeDevice'}}\\n          />\\n        {{/if}}\\n      {{/unless}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"content-editor__push-editor\\n    {{if this.iosSelected \\\"message__editor__push__ios-preview\\\"}}\\n    {{if this.androidSelected \\\"message__editor__push__android-preview\\\"}}\\\"\\n  {{did-update this.setupCurrentModel @push}}\\n  data-test-push-editor\\n>\\n  <div class=\\\"flex flex-row\\\">\\n    <div class=\\\"flex flex-col\\\">\\n      {{#liquid-if this.isEditing class=\\\"content-editor__animated-sidebar\\\"}}\\n        <MobilePush::EditorSidebar @push={{@push}} @currentPushContent={{this.currentPushContent}} />\\n      {{/liquid-if}}\\n    </div>\\n    <div class=\\\"flex flex-col flex-1 gap-4 content-editor__panel-main p-4\\\">\\n      <MobilePush::Chrome>\\n        <ComposerV2\\n          @app={{this.app}}\\n          @appAttributes={{this.appAttributes}}\\n          @attributes={{this.attributeService.userEditorAttributes}}\\n          @preset={{this.preset}}\\n          @blocks={{this.serializedTitleBlocks}}\\n          @editorClass=\\\"message__editor__push__title-text\\\"\\n          @viewportSelector=\\\".content-editor__main\\\"\\n          @actionReceiver={{this.titleComposer}}\\n          @placeholder=\\\"Your title...\\\"\\n          @onChange={{action \\\"updateTitleBlocks\\\"}}\\n          data-test-title-composer\\n        />\\n        <ComposerV2\\n          @app={{this.app}}\\n          @appAttributes={{this.appAttributes}}\\n          @attributes={{this.attributeService.userEditorAttributes}}\\n          @preset={{this.preset}}\\n          @blocks={{this.serializedBodyBlocks}}\\n          @editorClass=\\\"message__editor__push__body-text\\\"\\n          @viewportSelector=\\\".content-editor__main\\\"\\n          @actionReceiver={{this.bodyComposer}}\\n          @placeholder=\\\"Your message...\\\"\\n          @onChange={{action \\\"updateBodyBlocks\\\"}}\\n          data-test-body-composer\\n        />\\n      </MobilePush::Chrome>\\n\\n      {{#unless @hideDeviceSwitcher}}\\n        {{#if (and this.app.hasIOSSdk this.app.hasAndroidSdk)}}\\n          <MobilePush::DeviceSwitcher\\n            @currentDevice={{this.currentDevice}}\\n            @changeDevice={{action 'changeDevice'}}\\n          />\\n        {{/if}}\\n      {{/unless}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/mobile-push/editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/mobile-push/editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport EmberObject, { computed } from '@ember/object';\nimport { equal, readOnly } from '@ember/object/computed';\nimport { A } from '@ember/array';\nimport { inject as service } from '@ember/service';\nimport createFragmentFromBlock from 'embercom/lib/blocks/create-fragment-from-block';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport { action } from '@ember/object';\nimport { schedule } from '@ember/runloop';\nimport { compareBlocks } from 'embercom/lib/developer-hub/diff-calculator';\n\nexport default Component.extend({\n  tagName: '',\n\n  // Since push doesn't have a concept of Author, we should override the default app/author attributes\n  appAttributes: computed(function() {\n    return A([\n      EmberObject.create({\n        name: 'App name',\n        identifier: 'app.name',\n        templatable_identifier: 'app.name',\n        noFallback: true,\n        isApp: true,\n      }),\n    ]);\n  }),\n\n  appService: service(),\n  store: service(),\n  app: readOnly('appService.app'),\n\n  currentDevice: 'ios',\n  iosSelected: equal('currentDevice', 'ios'),\n  androidSelected: equal('currentDevice', 'android'),\n\n  preset: ternary('isEditing', 'pushOnly', 'pushOnlyReadOnly'),\n\n  init() {\n    this._super(...arguments);\n    this.setupCurrentModel();\n    // Need to check if ruleset link is android first too.\n    if (this.get('app.onlyHasAndroidSdk')) {\n      this.set('currentDevice', 'android');\n    }\n  },\n\n  setupCurrentModel: action(function() {\n    this.set('currentPushContent', this.push.localizedPushContents.firstObject);\n    schedule('afterRender', () => {\n      this.set('serializedTitleBlocks', this.get('currentPushContent.titleBlocks').serialize());\n      this.set('serializedBodyBlocks', this.get('currentPushContent.bodyBlocks').serialize());\n      if (this.titleComposer) {\n        this.titleComposer.send('load', this.serializedTitleBlocks);\n      }\n      if (this.bodyComposer) {\n        this.bodyComposer.send('load', this.serializedBodyBlocks);\n      }\n    });\n  }),\n\n  updateTitleBlocks: action(function() {\n    let blocks = this.titleComposer.getBlocks();\n    if (compareBlocks(blocks, this.currentPushContent.titleBlocks.serialize()).hasDifference) {\n      let blockFragments = blocks.map(block => createFragmentFromBlock(this.store, block));\n      this.currentPushContent.set('titleBlocks', blockFragments);\n    }\n  }),\n\n  updateBodyBlocks: action(function() {\n    let blocks = this.bodyComposer.getBlocks();\n    if (compareBlocks(blocks, this.currentPushContent.bodyBlocks.serialize()).hasDifference) {\n      let blockFragments = blocks.map(block => createFragmentFromBlock(this.store, block));\n      this.currentPushContent.set('bodyBlocks', blockFragments);\n    }\n  }),\n\n  changeDevice: action(function(device) {\n    this.set('currentDevice', device);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Paywall @featureKey={{@featureKey}} @disableFeatureHighlighting={{true}} as |paywall|>\\n  <paywall.Banner @content=\\\"Upgrade to set {{@mobileProductName}} live\\\"/>\\n  {{#if (not paywall.isActive)}}\\n    {{#if this.hasNoMobileSdk}}\\n      <Pulse::FullWidthBanner @color=\\\"red-light\\\" @noRoundedCorner={{@noRoundedCorner}}>\\n        To send {{@mobileProductName}} to users of your app,\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/en/articles/567786-install-and-configure-intercom-in-your-mobile-app\\\"\\n          @title=\\\"you need to install the mobile SDK.\\\"\\n          @type=\\\"article\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n      </Pulse::FullWidthBanner>\\n    {{else if this.hasOldMobileSdk}}\\n      <Pulse::FullWidthBanner @color=\\\"yellow\\\" @noRoundedCorner={{@noRoundedCorner}}>\\n        To send {{@mobileProductName}} to users of your app,\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/en/articles/567786-install-and-configure-intercom-in-your-mobile-app\\\"\\n          @title=\\\"you need to upgrade to the latest mobile SDK.\\\"\\n          @type=\\\"article\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n      </Pulse::FullWidthBanner>\\n    {{/if}}\\n  {{/if}}\\n</Paywall>\\n\", {\"contents\":\"<Paywall @featureKey={{@featureKey}} @disableFeatureHighlighting={{true}} as |paywall|>\\n  <paywall.Banner @content=\\\"Upgrade to set {{@mobileProductName}} live\\\"/>\\n  {{#if (not paywall.isActive)}}\\n    {{#if this.hasNoMobileSdk}}\\n      <Pulse::FullWidthBanner @color=\\\"red-light\\\" @noRoundedCorner={{@noRoundedCorner}}>\\n        To send {{@mobileProductName}} to users of your app,\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/en/articles/567786-install-and-configure-intercom-in-your-mobile-app\\\"\\n          @title=\\\"you need to install the mobile SDK.\\\"\\n          @type=\\\"article\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n      </Pulse::FullWidthBanner>\\n    {{else if this.hasOldMobileSdk}}\\n      <Pulse::FullWidthBanner @color=\\\"yellow\\\" @noRoundedCorner={{@noRoundedCorner}}>\\n        To send {{@mobileProductName}} to users of your app,\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/en/articles/567786-install-and-configure-intercom-in-your-mobile-app\\\"\\n          @title=\\\"you need to upgrade to the latest mobile SDK.\\\"\\n          @type=\\\"article\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n      </Pulse::FullWidthBanner>\\n    {{/if}}\\n  {{/if}}\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/mobile/upgrade-install-banner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/mobile/upgrade-install-banner.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport compareVersions from 'embercom/lib/compare-versions';\nimport { isEmpty, isPresent } from '@ember/utils';\n\nexport default class UpgradeInstallBanner extends Component {\n  @service appService;\n\n  get hasNoMobileSdk() {\n    let androidSdkVersion = this.app().android_sdk_version;\n    let iosSdkVersion = this.app().ios_sdk_version;\n    return isEmpty(androidSdkVersion) && isEmpty(iosSdkVersion);\n  }\n\n  get hasOldMobileSdk() {\n    return !this.hasCurrentAndroidSdk() && !this.hasCurrentIosSdk();\n  }\n\n  hasCurrentAndroidSdk() {\n    let androidSdkVersion = this.app().android_sdk_version;\n    return (\n      isPresent(androidSdkVersion) &&\n      compareVersions(androidSdkVersion, this.args.minimumVersion) !== -1\n    );\n  }\n\n  hasCurrentIosSdk() {\n    let iosSdkVersion = this.app().ios_sdk_version;\n    return (\n      isPresent(iosSdkVersion) && compareVersions(iosSdkVersion, this.args.minimumVersion) !== -1\n    );\n  }\n\n  app() {\n    return this.appService.app;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"modal__overlay u__center-layout\\\">\\n  <div class=\\\"modal__overlay__inner {{shimClass}}\\\">\\n    <div data-test-modal class=\\\"modal {{modalClass}}\\\">\\n      {{yield}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"modal__overlay u__center-layout\\\">\\n  <div class=\\\"modal__overlay__inner {{shimClass}}\\\">\\n    <div data-test-modal class=\\\"modal {{modalClass}}\\\">\\n      {{yield}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/modal-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/modal-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport $ from 'jquery';\nimport { bind } from '@ember/runloop';\nimport Component from '@ember/component';\nexport default Component.extend({\n  didInsertElement() {\n    this._super(...arguments);\n    this.listenForBackgroundClick();\n    // eslint-disable-next-line ember/closure-actions\n    this.sendAction('onOpen');\n  },\n\n  //We only want to close the modal when both the mousedown and mouseup events\n  //This prevents us from closing the modal when a click and drag occurs from inside to outside the modal.\n  //A standard click event does not expose where the click started.\n  listenForBackgroundClick() {\n    $('.modal__overlay', this.element).on(\n      'mousedown',\n      bind(this, e => {\n        let target = $(e.target);\n        if (target.hasClass('modal__overlay') || target.hasClass('modal__overlay__inner')) {\n          this.closeOnMouseUp();\n        }\n      }),\n    );\n  },\n\n  closeOnMouseUp() {\n    $('.modal__overlay', this.element).on(\n      'mouseup',\n      bind(this, e => {\n        let target = $(e.target);\n        if (target.hasClass('modal__overlay') || target.hasClass('modal__overlay__inner')) {\n          if (typeof this.closeModal === 'function') {\n            this.closeModal();\n          } else {\n            // eslint-disable-next-line ember/closure-actions\n            this.sendAction('closeModal');\n          }\n        }\n        $('.modal__overlay').off('mouseup');\n      }),\n    );\n  },\n\n  willDestroyElement() {\n    $('.modal__overlay', this.element).off('mousedown');\n    $('.modal__overlay', this.element).off('mouseup');\n    // eslint-disable-next-line ember/closure-actions\n    this.sendAction('afterModalClose');\n    this._super(...arguments);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport $ from 'jquery';\nlet ModalLinkComponent = Component.extend({\n  controllerPath: '',\n  model: null,\n  precision: false,\n  orientation: 'vertical',\n  enabled: true,\n  isCompany: false,\n  onOpen: null,\n  onClose: null,\n\n  click() {\n    if (this.enabled) {\n      let options = {};\n      if (this.precision) {\n        options.$element = $(this.element);\n        options.orientation = this.orientation;\n        options.step = this.step;\n        options.isCompany = this.isCompany;\n      }\n\n      let controllerProps = {};\n      let callbacks = {\n        onOpen: this.onOpen,\n        onClose: this.onClose,\n      };\n\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction(\n        'action',\n        this.controllerPath,\n        this.model,\n        options,\n        controllerProps,\n        callbacks,\n      );\n    }\n  },\n});\n\nexport default ModalLinkComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"\", {\"contents\":\"\",\"moduleName\":\"embercom/components/modal/company-delete.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/modal/company-delete.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<Common::ModalComponent\\n  @closeModal={{action closeModal}}\\n  as |modal|\\n>\\n  <modal.components.header @title={{modalTitle}} />\\n  <modal.components.body>\\n    <p data-test-company-bulk-archive-modal-content>\\n      Archiving a company removes them from Intercom. Associated users will not be removed.\\n      If a user with the specific company attribute returns to your app, then the company, including messages and\\n      conversations, will be reinstated.\\n    </p>\\n  </modal.components.body>\\n  <modal.components.footer as |footer|>\\n    <footer.mainButtons as |list|>\\n      <list.button @label=\\\"Cancel\\\" @onClick={{action closeModal}} />\\n      <list.button\\n        data-test-company-archive-button\\n        @type=\\\"primary-destructive\\\"\\n        @label=\\\"Archive companies\\\"\\n        @onClick={{action (perform archive)}}\\n      />\\n    </footer.mainButtons>\\n  </modal.components.footer>\\n</Common::ModalComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<Common::ModalComponent\\n  @closeModal={{action closeModal}}\\n  as |modal|\\n>\\n  <modal.components.header @title={{modalTitle}} />\\n  <modal.components.body>\\n    <p data-test-company-bulk-archive-modal-content>\\n      Archiving a company removes them from Intercom. Associated users will not be removed.\\n      If a user with the specific company attribute returns to your app, then the company, including messages and\\n      conversations, will be reinstated.\\n    </p>\\n  </modal.components.body>\\n  <modal.components.footer as |footer|>\\n    <footer.mainButtons as |list|>\\n      <list.button @label=\\\"Cancel\\\" @onClick={{action closeModal}} />\\n      <list.button\\n        data-test-company-archive-button\\n        @type=\\\"primary-destructive\\\"\\n        @label=\\\"Archive companies\\\"\\n        @onClick={{action (perform archive)}}\\n      />\\n    </footer.mainButtons>\\n  </modal.components.footer>\\n</Common::ModalComponent>\\n\",\"moduleName\":\"embercom/components/modal/company-deletion/bulk-archive-companies.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/modal/company-deletion/bulk-archive-companies.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BulkArchiveBaseComponent from 'embercom/components/modal/user-or-company-deletion/bulk-archive-base-component';\n\nexport default BulkArchiveBaseComponent.extend({\n  entityString: 'company',\n  pluralizedEntity: 'companies',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showImportModal}}\\n  {{!-- template-lint-disable intercom/no-legacy-modal --}}\\n  <Common::ModalComponent\\n    @closeModal={{closeModal}}\\n    as |modal|\\n  >\\n    <modal.components.header @title=\\\"Import conversation history\\\" />\\n    <modal.components.body>\\n      {{#if hasActiveZendeskChatConversationImport}}\\n        <IcBanner\\n          data-test-zendesk-import-progress-banner\\n          @type=\\\"warning\\\"\\n          @text=\\\"We've started your import. We'll email you when it's done.\\\"\\n        />\\n        <div class=\\\"h-5\\\"></div>\\n      {{else if importWindowCurrentlyOpen}}\\n        <IcBanner\\n          data-test-window-open-message\\n          @type=\\\"warning\\\"\\n          @text=\\\"Import currently in progress in another window\\\"\\n        />\\n        <div class=\\\"h-5\\\"></div>\\n      {{/if}}\\n      <p data-test-import-modal-content>\\n        Help Resolution Bot recognize common customer questions by drawing from your team’s past conversations.\\n      </p>\\n      <div class=\\\"h-5\\\"></div>\\n      <strong>\\n        Import from:\\n      </strong>\\n      <hr class=\\\"sp__hr\\\" />\\n      <div class=\\\"layout__box o__centers-all o__has-columns\\\">\\n        <div class=\\\"layout__box  o__flexes-to-1 o__centers-vertically\\\">\\n          <div class=\\\"import-modal__import-icon o__zendesk-chat\\\"></div>\\n          <strong>\\n            Zendesk Chat\\n          </strong>\\n        </div>\\n        <div class=\\\"layout__box  o__flexes-to-1\\\">\\n          <div class=\\\"u__right\\\">\\n            <IcButton\\n              data-test-open-zendesk-chat-importer-button={{true}}\\n              @label=\\\"Launch importer\\\"\\n              @type=\\\"primary\\\"\\n              @onClick={{perform this.openImportWindow 'zendesk_chat'}}\\n              @disabled={{or\\n                this.importWindowCurrentlyOpen\\n                @hasActiveZendeskChatConversationImport\\n              }}\\n            />\\n          </div>\\n        </div>\\n      </div>\\n      {{#if (has-feature \\\"team-ml-zendesk-tickets-importer\\\")}}\\n        <div class=\\\"layout__box o__centers-all o__has-columns mt-5\\\">\\n          <div class=\\\"layout__box  o__flexes-to-1 o__centers-vertically\\\">\\n            <div class=\\\"import-modal__import-icon o__zendesk-tickets\\\"></div>\\n            <strong>\\n              Zendesk Tickets\\n            </strong>\\n          </div>\\n          <div class=\\\"layout__box  o__flexes-to-1\\\">\\n            <div class=\\\"u__right\\\">\\n              <IcButton\\n                data-test-open-zendesk-tickets-importer-button={{true}}\\n                @label=\\\"Launch importer\\\"\\n                @type=\\\"primary\\\"\\n                @onClick={{perform this.openImportWindow 'zendesk_tickets'}}\\n                @disabled={{or\\n                  this.importWindowCurrentlyOpen\\n                  @hasActiveZendeskTicketsConversationImport\\n                }}\\n              />\\n            </div>\\n          </div>\\n        </div>\\n      {{/if}}\\n      <hr class=\\\"sp__hr\\\" />\\n      <a\\n        class=\\\"btn__tertiary\\\"\\n        data-test-chat-with-us-link\\n        {{action \\\"openWidget\\\"}}\\n      >\\n        Import from another tool\\n      </a>\\n    </modal.components.body>\\n  </Common::ModalComponent>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showImportModal}}\\n  {{!-- template-lint-disable intercom/no-legacy-modal --}}\\n  <Common::ModalComponent\\n    @closeModal={{closeModal}}\\n    as |modal|\\n  >\\n    <modal.components.header @title=\\\"Import conversation history\\\" />\\n    <modal.components.body>\\n      {{#if hasActiveZendeskChatConversationImport}}\\n        <IcBanner\\n          data-test-zendesk-import-progress-banner\\n          @type=\\\"warning\\\"\\n          @text=\\\"We've started your import. We'll email you when it's done.\\\"\\n        />\\n        <div class=\\\"h-5\\\"></div>\\n      {{else if importWindowCurrentlyOpen}}\\n        <IcBanner\\n          data-test-window-open-message\\n          @type=\\\"warning\\\"\\n          @text=\\\"Import currently in progress in another window\\\"\\n        />\\n        <div class=\\\"h-5\\\"></div>\\n      {{/if}}\\n      <p data-test-import-modal-content>\\n        Help Resolution Bot recognize common customer questions by drawing from your team’s past conversations.\\n      </p>\\n      <div class=\\\"h-5\\\"></div>\\n      <strong>\\n        Import from:\\n      </strong>\\n      <hr class=\\\"sp__hr\\\" />\\n      <div class=\\\"layout__box o__centers-all o__has-columns\\\">\\n        <div class=\\\"layout__box  o__flexes-to-1 o__centers-vertically\\\">\\n          <div class=\\\"import-modal__import-icon o__zendesk-chat\\\"></div>\\n          <strong>\\n            Zendesk Chat\\n          </strong>\\n        </div>\\n        <div class=\\\"layout__box  o__flexes-to-1\\\">\\n          <div class=\\\"u__right\\\">\\n            <IcButton\\n              data-test-open-zendesk-chat-importer-button={{true}}\\n              @label=\\\"Launch importer\\\"\\n              @type=\\\"primary\\\"\\n              @onClick={{perform this.openImportWindow 'zendesk_chat'}}\\n              @disabled={{or\\n                this.importWindowCurrentlyOpen\\n                @hasActiveZendeskChatConversationImport\\n              }}\\n            />\\n          </div>\\n        </div>\\n      </div>\\n      {{#if (has-feature \\\"team-ml-zendesk-tickets-importer\\\")}}\\n        <div class=\\\"layout__box o__centers-all o__has-columns mt-5\\\">\\n          <div class=\\\"layout__box  o__flexes-to-1 o__centers-vertically\\\">\\n            <div class=\\\"import-modal__import-icon o__zendesk-tickets\\\"></div>\\n            <strong>\\n              Zendesk Tickets\\n            </strong>\\n          </div>\\n          <div class=\\\"layout__box  o__flexes-to-1\\\">\\n            <div class=\\\"u__right\\\">\\n              <IcButton\\n                data-test-open-zendesk-tickets-importer-button={{true}}\\n                @label=\\\"Launch importer\\\"\\n                @type=\\\"primary\\\"\\n                @onClick={{perform this.openImportWindow 'zendesk_tickets'}}\\n                @disabled={{or\\n                  this.importWindowCurrentlyOpen\\n                  @hasActiveZendeskTicketsConversationImport\\n                }}\\n              />\\n            </div>\\n          </div>\\n        </div>\\n      {{/if}}\\n      <hr class=\\\"sp__hr\\\" />\\n      <a\\n        class=\\\"btn__tertiary\\\"\\n        data-test-chat-with-us-link\\n        {{action \\\"openWidget\\\"}}\\n      >\\n        Import from another tool\\n      </a>\\n    </modal.components.body>\\n  </Common::ModalComponent>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/modal/conversation-import-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/modal/conversation-import-modal.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { later } from '@ember/runloop';\nimport { task } from 'ember-concurrency';\nimport { readOnly } from '@ember/object/computed';\nimport { showNewMessageInIntercomWidget } from '../../lib/intercom-widget-helper';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  intercomEventService: service(),\n  notificationsService: service(),\n  router: service(),\n  openCenteredWindowService: service(),\n  importWindowCurrentlyOpen: false,\n  onImportFlowComplete: () => {},\n\n  openImportWindow: task(function*(origin) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'launch_importer',\n      context: 'from_import_conversation_history_modal',\n      metadata: { origin },\n    });\n\n    let url = this._urlForImportWindow(origin);\n    try {\n      let window = this.openCenteredWindowService.setup(url, 800, 1280, 'Import');\n      if (window) {\n        window.focus();\n        yield this._waitForChildWindow(window);\n      }\n    } catch (error) {\n      this.notificationsService.notifyError(error);\n    }\n\n    this.set('importWindowCurrentlyOpen', true);\n  }),\n\n  _waitForChildWindow(childWindow) {\n    if (childWindow.closed) {\n      this.set('importWindowCurrentlyOpen', false);\n      if (window.importFlowCompleted) {\n        this.onImportFlowComplete();\n      }\n    } else {\n      later(() => this._waitForChildWindow(childWindow), 200);\n    }\n  },\n\n  _urlForImportWindow(origin) {\n    if (origin === 'zendesk_chat' || origin === 'zendesk_tickets') {\n      return this.router.urlFor(`apps.app.import.zendesk-chat`, this.app, {\n        queryParams: { origin },\n      });\n    } else {\n      throw new Error(`Unknown origin \"${origin}\"`);\n    }\n  },\n\n  actions: {\n    openWidget() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'chat_with_us_link',\n        context: 'from_import_conversation_history_modal',\n      });\n\n      showNewMessageInIntercomWidget(\n        \"Hi there, I'd like to import conversation history for Resolution Bot using a different tool\",\n      );\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcModal @onModalClose={{action \\\"cancelCreateLead\\\"}} @isOpen={{showLeadCreateModal}} as |modal|>\\n  <modal.header @title=\\\"Create a new lead\\\" />\\n  <modal.body data-test-create-lead-modal={{true}}>\\n\\n    <Form as |form|>\\n      <form.Item @label=\\\"Name\\\" as |item|>\\n        <item.Input @value={{this.leadName}} placeholder=\\\"John Doe\\\" data-test-lead-name />\\n      </form.Item>\\n\\n      <form.Item @label=\\\"Email\\\" as |item|>\\n        <item.Input @value={{this.leadEmail}} type=\\\"email\\\" placeholder=\\\"john.doe@example.com\\\" data-test-lead-email\\n          data-create-email />\\n      </form.Item>\\n\\n      <Paragraph @styling=\\\"muted\\\">\\n        To add multiple leads use an\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/configure-intercom/customize-intercom-to-be-about-your-users/import-your-user-data-into-intercom\\\"\\n          @title=\\\"import tool\\\"\\n          @type=\\\"article\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n      </Paragraph>\\n    </Form>\\n  </modal.body>\\n  <modal.footer @primaryButton={{hash\\n      label=\\\"Create a lead\\\"\\n      action=(perform createNewLead)\\n      disabled=disableCreateButton\\n    }} @secondaryButton={{hash label=\\\"Cancel\\\" action=(action \\\"cancelCreateLead\\\")}} />\\n</IcModal>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcModal @onModalClose={{action \\\"cancelCreateLead\\\"}} @isOpen={{showLeadCreateModal}} as |modal|>\\n  <modal.header @title=\\\"Create a new lead\\\" />\\n  <modal.body data-test-create-lead-modal={{true}}>\\n\\n    <Form as |form|>\\n      <form.Item @label=\\\"Name\\\" as |item|>\\n        <item.Input @value={{this.leadName}} placeholder=\\\"John Doe\\\" data-test-lead-name />\\n      </form.Item>\\n\\n      <form.Item @label=\\\"Email\\\" as |item|>\\n        <item.Input @value={{this.leadEmail}} type=\\\"email\\\" placeholder=\\\"john.doe@example.com\\\" data-test-lead-email\\n          data-create-email />\\n      </form.Item>\\n\\n      <Paragraph @styling=\\\"muted\\\">\\n        To add multiple leads use an\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/configure-intercom/customize-intercom-to-be-about-your-users/import-your-user-data-into-intercom\\\"\\n          @title=\\\"import tool\\\"\\n          @type=\\\"article\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n      </Paragraph>\\n    </Form>\\n  </modal.body>\\n  <modal.footer @primaryButton={{hash\\n      label=\\\"Create a lead\\\"\\n      action=(perform createNewLead)\\n      disabled=disableCreateButton\\n    }} @secondaryButton={{hash label=\\\"Cancel\\\" action=(action \\\"cancelCreateLead\\\")}} />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/modal/create-lead.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/modal/create-lead.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  notificationsService: service(),\n  router: service(),\n  store: service(),\n  leadName: '',\n  leadEmail: '',\n  role: 'contact_role',\n  createNewLead: task(function*() {\n    let lead = this.store.createRecord('user', {\n      name: this.leadName,\n      email: this.leadEmail,\n      role: this.role,\n    });\n\n    try {\n      yield lead.save().then(() => {\n        this.router.transitionTo('apps.app.users.user', lead.id);\n      });\n      this.intercomEventService.trackAnalyticsEvent({\n        object: 'new_lead',\n        place: 'user_list',\n        action: 'created',\n        context: {\n          email: !!this.leadEmail,\n          name: !!this.leadName,\n        },\n      });\n      this.cleanAndHideCreateLeadModal();\n    } catch (e) {\n      this.notificationsService.notifyError(\n        `An error occurred while creating the lead: ${e.jqXHR.responseJSON.errors}`,\n      );\n      this.cleanAndHideCreateLeadModal();\n    }\n  }),\n  disableCreateButton: computed('leadName', 'leadEmail', function() {\n    let emailValueEmpty = !this.leadEmail;\n    let emailIsInvalid = !document.querySelector('[data-create-email]').validity.valid;\n    return emailValueEmpty || emailIsInvalid;\n  }),\n  disableCreateTooltip: 'Please make sure to fill the form correctly',\n  cleanAndHideCreateLeadModal() {\n    this.set('leadEmail', '');\n    this.set('leadName', '');\n    this.set('showLeadCreateModal', false);\n  },\n  actions: {\n    cancelCreateLead() {\n      this.cleanAndHideCreateLeadModal();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcModal @onModalClose={{action \\\"cancelCreateUser\\\"}} @isOpen={{@showUserCreateModal}} as |modal|>\\n  <modal.header @title=\\\"Create a new user\\\" />\\n  <modal.body data-test-create-user-modal={{true}}>\\n\\n    <Form as |form|>\\n      <form.Item @label=\\\"Name\\\" as |item|>\\n        <item.Input @value={{this.userName}} placeholder=\\\"John Doe\\\" data-test-user-name />\\n      </form.Item>\\n\\n      <form.Item @label=\\\"Email\\\" as |item|>\\n        <item.Input @value={{this.userEmail}} type=\\\"email\\\" placeholder=\\\"john.doe@example.com\\\" data-test-user-email\\n          data-create-email />\\n      </form.Item>\\n\\n      <form.Item @label=\\\"User ID\\\" as |item|>\\n        <item.Input @value={{this.userId}} placeholder=\\\"1234567\\\" data-test-user-id />\\n\\n        <item.Hint>\\n          A unique\\n          <Pulse::HelpContent::Link\\n            @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/your-users-and-leads-data-in-intercom/what-is-user_id-and-why-would-i-want-to-use-it\\\"\\n            @title=\\\"user identifier\\\"\\n            @type=\\\"article\\\"\\n            @linkStyling=\\\"inline\\\"\\n          />\\n          that won't change.\\n        </item.Hint>\\n      </form.Item>\\n\\n      <Paragraph @styling=\\\"muted\\\">\\n        To add multiple users use an\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/configure-intercom/customize-intercom-to-be-about-your-users/import-your-user-data-into-intercom\\\"\\n          @title=\\\"import tool\\\"\\n          @type=\\\"article\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n      </Paragraph>\\n    </Form>\\n\\n  </modal.body>\\n  <modal.footer @primaryButton={{hash\\n      label=\\\"Create a user\\\"\\n      action=(perform this.createNewUser)\\n      disabled=this.disableCreateButton\\n    }} @secondaryButton={{hash label=\\\"Cancel\\\" action=(action \\\"cancelCreateUser\\\")}} />\\n</IcModal>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcModal @onModalClose={{action \\\"cancelCreateUser\\\"}} @isOpen={{@showUserCreateModal}} as |modal|>\\n  <modal.header @title=\\\"Create a new user\\\" />\\n  <modal.body data-test-create-user-modal={{true}}>\\n\\n    <Form as |form|>\\n      <form.Item @label=\\\"Name\\\" as |item|>\\n        <item.Input @value={{this.userName}} placeholder=\\\"John Doe\\\" data-test-user-name />\\n      </form.Item>\\n\\n      <form.Item @label=\\\"Email\\\" as |item|>\\n        <item.Input @value={{this.userEmail}} type=\\\"email\\\" placeholder=\\\"john.doe@example.com\\\" data-test-user-email\\n          data-create-email />\\n      </form.Item>\\n\\n      <form.Item @label=\\\"User ID\\\" as |item|>\\n        <item.Input @value={{this.userId}} placeholder=\\\"1234567\\\" data-test-user-id />\\n\\n        <item.Hint>\\n          A unique\\n          <Pulse::HelpContent::Link\\n            @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/your-users-and-leads-data-in-intercom/what-is-user_id-and-why-would-i-want-to-use-it\\\"\\n            @title=\\\"user identifier\\\"\\n            @type=\\\"article\\\"\\n            @linkStyling=\\\"inline\\\"\\n          />\\n          that won't change.\\n        </item.Hint>\\n      </form.Item>\\n\\n      <Paragraph @styling=\\\"muted\\\">\\n        To add multiple users use an\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/configure-intercom/customize-intercom-to-be-about-your-users/import-your-user-data-into-intercom\\\"\\n          @title=\\\"import tool\\\"\\n          @type=\\\"article\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n      </Paragraph>\\n    </Form>\\n\\n  </modal.body>\\n  <modal.footer @primaryButton={{hash\\n      label=\\\"Create a user\\\"\\n      action=(perform this.createNewUser)\\n      disabled=this.disableCreateButton\\n    }} @secondaryButton={{hash label=\\\"Cancel\\\" action=(action \\\"cancelCreateUser\\\")}} />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/modal/create-user.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/modal/create-user.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  notificationsService: service(),\n  router: service(),\n  store: service(),\n  userName: '',\n  userEmail: '',\n  userId: '',\n  role: 'user_role',\n  createNewUser: task(function*() {\n    let user = this.store.createRecord('user', {\n      name: this.userName,\n      email: this.userEmail,\n      user_id: this.userId,\n      role: this.role,\n    });\n\n    try {\n      yield user.save().then(() => {\n        this.router.transitionTo('apps.app.users.user', user.id);\n      });\n      this.intercomEventService.trackAnalyticsEvent({\n        object: 'new_user',\n        place: 'user_list',\n        action: 'created',\n        context: {\n          user_id: !!this.userId,\n          email: !!this.userEmail,\n          name: !!this.userName,\n        },\n      });\n      this.cleanAndHideCreateUserModal();\n    } catch (e) {\n      this.notificationsService.notifyError(\n        `An error occurred while creating the user: ${e.jqXHR.responseJSON.errors}`,\n      );\n      this.cleanAndHideCreateUserModal();\n    }\n  }),\n  disableCreateButton: computed('userName', 'userEmail', 'userId', function() {\n    let allValuesEmpty = !(this.userName || this.userEmail || this.userId);\n    let emailIsInvalid = !document.querySelector('[data-create-email]').validity.valid;\n    return allValuesEmpty || emailIsInvalid;\n  }),\n  disableCreateTooltip: 'Please make sure to fill the form correctly',\n  cleanAndHideCreateUserModal() {\n    this.set('newUser', '');\n    this.set('userEmail', '');\n    this.set('userId', '');\n    this.set('userName', '');\n    this.set('showUserCreateModal', false);\n  },\n  actions: {\n    cancelCreateUser() {\n      this.cleanAndHideCreateUserModal();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<Common::ModalComponent\\n  @closeModal={{action closeModal}}\\n  as |modal|\\n>\\n  <modal.components.header @title=\\\"Archive this person?\\\" />\\n  <modal.components.body>\\n    <p data-test-modal-content>\\n      Archive this person and their conversation history until they come back.\\n      It might take a few minutes before they disappear from your people list.\\n    </p>\\n  </modal.components.body>\\n  <modal.components.footer as |footer|>\\n    <footer.secondaryButtons as |list|>\\n      <list.button\\n        @label=\\\"Delete them permanently\\\"\\n        @onClick={{action \\\"navigateToDelete\\\" user}}\\n      />\\n    </footer.secondaryButtons>\\n    <footer.mainButtons as |list|>\\n      <list.button @label=\\\"Cancel\\\" @onClick={{action closeModal}} />\\n      <list.button\\n        data-test-archive-button\\n        @type=\\\"primary-destructive\\\"\\n        @label=\\\"Archive\\\"\\n        @onClick={{action (perform archiveUser) user}}\\n      />\\n    </footer.mainButtons>\\n  </modal.components.footer>\\n</Common::ModalComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<Common::ModalComponent\\n  @closeModal={{action closeModal}}\\n  as |modal|\\n>\\n  <modal.components.header @title=\\\"Archive this person?\\\" />\\n  <modal.components.body>\\n    <p data-test-modal-content>\\n      Archive this person and their conversation history until they come back.\\n      It might take a few minutes before they disappear from your people list.\\n    </p>\\n  </modal.components.body>\\n  <modal.components.footer as |footer|>\\n    <footer.secondaryButtons as |list|>\\n      <list.button\\n        @label=\\\"Delete them permanently\\\"\\n        @onClick={{action \\\"navigateToDelete\\\" user}}\\n      />\\n    </footer.secondaryButtons>\\n    <footer.mainButtons as |list|>\\n      <list.button @label=\\\"Cancel\\\" @onClick={{action closeModal}} />\\n      <list.button\\n        data-test-archive-button\\n        @type=\\\"primary-destructive\\\"\\n        @label=\\\"Archive\\\"\\n        @onClick={{action (perform archiveUser) user}}\\n      />\\n    </footer.mainButtons>\\n  </modal.components.footer>\\n</Common::ModalComponent>\\n\",\"moduleName\":\"embercom/components/modal/user-deletion/archive-user.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/modal/user-deletion/archive-user.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { inject as service } from '@ember/service';\nimport BaseContentComponent from 'embercom/components/settings/content-components/base';\nimport ajax from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\n\nexport default BaseContentComponent.extend({\n  notificationsService: service(),\n  router: service(),\n  archiveUser: task(function*(user) {\n    try {\n      yield ajax({\n        url: '/ember/users/delete.json',\n        type: 'POST',\n        data: JSON.stringify({\n          included_ids: [user.get('id')],\n          app_id: this.get('app.id'),\n          count: 1,\n        }),\n      });\n      this.notificationsService.notifyConfirmation(\n        \"You've archived 1 person. It might take a minute or two for them to disappear from your person list.\",\n      );\n      this.closeModal();\n      let routeParam = user.get('role') === 'contact_role' ? 'all-leads' : 'all-users';\n      this.router.transitionTo('apps.app.users.segments.segment', routeParam);\n    } catch (error) {\n      this.notificationsService.notifyError(\n        \"Sorry, due to an error we couldn't archive this person. Please contact us if this happens again.\",\n      );\n      this.closeModal();\n    }\n  }).drop(),\n\n  actions: {\n    navigateToDelete(user) {\n      this.closeModal();\n      let queryParams = { searchValue: user.get('user_id') || user.get('email') };\n      this.router.transitionTo('apps.app.settings.delete-user', { queryParams });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<Common::ModalComponent\\n  @closeModal={{action closeModal}}\\n  as |modal|\\n>\\n  <modal.components.header @title={{archiveTarget}} />\\n  <modal.components.body>\\n    <IcCard class=\\\"user-list__bulk-actions__archive__destructive\\\">\\n      <div class=\\\"u__padb__10\\\">\\n        {{countToUse}}\\n        {{#if moreThanOnePerson}}\\n          {{pluralisedPersonTypeName}}\\n        {{else}}\\n          {{personTypeName}}\\n        {{/if}}\\n        will be archived.\\n      </div>\\n      <p>\\n        Please make sure you close any ongoing conversations with the selected people as they will not be accessible\\n        once archived.\\n      </p>\\n    </IcCard>\\n  </modal.components.body>\\n  <modal.components.footer as |footer|>\\n    <footer.mainButtons as |list|>\\n      <list.button\\n        data-test-archive-cancel-button\\n        @label=\\\"Cancel\\\"\\n        @onClick={{action closeModal}}\\n      />\\n      <list.button\\n        data-test-user-archive-button\\n        @type=\\\"primary-destructive\\\"\\n        @label={{archiveButtonLabel}}\\n        @onClick={{action (perform archive)}}\\n      />\\n    </footer.mainButtons>\\n  </modal.components.footer>\\n</Common::ModalComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<Common::ModalComponent\\n  @closeModal={{action closeModal}}\\n  as |modal|\\n>\\n  <modal.components.header @title={{archiveTarget}} />\\n  <modal.components.body>\\n    <IcCard class=\\\"user-list__bulk-actions__archive__destructive\\\">\\n      <div class=\\\"u__padb__10\\\">\\n        {{countToUse}}\\n        {{#if moreThanOnePerson}}\\n          {{pluralisedPersonTypeName}}\\n        {{else}}\\n          {{personTypeName}}\\n        {{/if}}\\n        will be archived.\\n      </div>\\n      <p>\\n        Please make sure you close any ongoing conversations with the selected people as they will not be accessible\\n        once archived.\\n      </p>\\n    </IcCard>\\n  </modal.components.body>\\n  <modal.components.footer as |footer|>\\n    <footer.mainButtons as |list|>\\n      <list.button\\n        data-test-archive-cancel-button\\n        @label=\\\"Cancel\\\"\\n        @onClick={{action closeModal}}\\n      />\\n      <list.button\\n        data-test-user-archive-button\\n        @type=\\\"primary-destructive\\\"\\n        @label={{archiveButtonLabel}}\\n        @onClick={{action (perform archive)}}\\n      />\\n    </footer.mainButtons>\\n  </modal.components.footer>\\n</Common::ModalComponent>\\n\",\"moduleName\":\"embercom/components/modal/user-deletion/bulk-archive-users.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/modal/user-deletion/bulk-archive-users.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { inject as service } from '@ember/service';\nimport BulkArchiveBaseComponent from 'embercom/components/modal/user-or-company-deletion/bulk-archive-base-component';\nimport { gt, or, alias } from '@ember/object/computed';\nimport {\n  applyFunction,\n  templateString,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport pluralise from 'embercom/lib/inflector';\n\nexport default BulkArchiveBaseComponent.extend({\n  intercomEventService: service(),\n  entityString: alias('personTypeName'),\n  pluralizedEntity: 'users',\n  moreThanOnePerson: gt('countToUse', 1),\n  countToUse: or('selected.length', 'totalCount'),\n\n  pluralisedPersonTypeName: applyFunction(pluralise, 'personTypeName'),\n  archiveMany: templateString('Archive these ${pluralisedPersonTypeName}?'),\n  archiveSingle: templateString('Archive this ${personTypeName}?'),\n  archiveTarget: ternaryToProperty('moreThanOnePerson', 'archiveMany', 'archiveSingle'),\n  archiveButtonLabel: templateString('Archive ${pluralisedPersonTypeName}'),\n\n  trackAnalytics(count) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'archived',\n      object: 'users',\n      place: 'platform',\n      context: 'from_ui',\n      predicates: this.predicates,\n      count_of_archived_users: count,\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { computed } from '@ember/object';\nimport BaseContentComponent from 'embercom/components/settings/content-components/base';\nimport ajax from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\nimport { pluralize } from 'ember-inflector';\nimport { inject as service } from '@ember/service';\n\nexport default BaseContentComponent.extend({\n  notificationsService: service(),\n  pluralizedEntity: '',\n  entityString: '',\n  modalTitle: computed('selected.[]', 'totalCount', 'entity', function() {\n    let selectedCount = (this.selected || []).length;\n    let countToUse = selectedCount > 0 ? selectedCount : this.totalCount;\n    return `Archive ${pluralize(countToUse, 'this', {\n      withoutCount: true,\n    })} ${pluralize(countToUse, this.entityString)}?`;\n  }),\n  trackAnalytics(count) {\n    // no-op\n  },\n  archive: task(function*() {\n    let selectedEntities = this.selected;\n    let count = selectedEntities.length || this.totalCount;\n\n    this.trackAnalytics(count);\n\n    try {\n      yield ajax({\n        url: `ember/${this.pluralizedEntity}/bulk_delete.json`,\n        type: 'POST',\n        data: JSON.stringify({\n          included_ids: selectedEntities.map(entity => entity.get('id')),\n          excluded_ids: [],\n          app_id: this.get('app.id'),\n          predicates: this.filteredPredicates,\n          count,\n        }),\n      });\n      this.notificationsService.notifyConfirmation(\n        `You've archived ${pluralize(\n          count,\n          this.entityString,\n        )}. It might take several minutes for them to disappear from your people list.`,\n      );\n      this.reload();\n    } catch (error) {\n      this.notificationsService.notifyError(\n        `Sorry, due to an error we couldn't archive ${pluralize(count, 'this', {\n          withoutCount: true,\n        })} ${pluralize(count, this.entityString, {\n          withoutCount: true,\n        })}. Please contact us if this happens again.`,\n      );\n    } finally {\n      this.closeModal();\n    }\n  }).drop(),\n  filteredPredicates: computed('selected.[]', 'predicates.[]', function() {\n    return this.selected.length > 0 ? [] : this.predicates;\n  }),\n});\n","define(\"embercom/components/multiselect-checkboxes\", [\"exports\", \"ember-multiselect-checkboxes/components/multiselect-checkboxes\"], function (_exports, _multiselectCheckboxes) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _multiselectCheckboxes.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"h-4\\\"></div>\\n<div class=\\\"left-nav__icon {{if @useUpdatedIcon \\\"left-nav__updated-home-icon\\\"}}\\\" data-test-nav-home-logo>\\n  <span class=\\\"sr-only\\\">Home</span>\\n\\n  <div class=\\\"unread__container left-nav__unread-container\\\">\\n    <div class=\\\"\\n      left-nav__icon__loading\\n      {{if @useUpdatedIcon \\\"left-nav__updated-logo\\\"}}\\n      {{if (and @useUpdatedIcon @isOnHomeRoute) \\\"left-nav__updated-logo__selected\\\"}}\\n    \\\">\\n      {{inline-svg 'nav-primary-logo-loading'}}\\n    </div>\\n\\n    <div class=\\\"\\n      left-nav__icon__loaded\\n      {{if @useUpdatedIcon \\\"left-nav__updated-logo\\\"}}\\n      {{if (and @useUpdatedIcon @isOnHomeRoute) \\\"left-nav__updated-logo__selected\\\"}}\\n    \\\">\\n      {{inline-svg 'nav-primary-logo-loaded'}}\\n    </div>\\n\\n    <div class=\\\"\\n      left-nav__icon__spinner\\n      {{if @useUpdatedIcon \\\"left-nav__updated-logo\\\"}}\\n      {{if (and @useUpdatedIcon @isOnHomeRoute) \\\"left-nav__updated-logo__selected\\\"}}\\n    \\\"></div>\\n\\n    {{#if @showUnseenLevelBadge}}\\n      <span data-test-nav-unseen-levels-badge class=\\\"unread {{if @useUpdatedIcon \\\"unread-updated\\\"}} o__in-primary-nav o__home left-nav__unread\\\"></span>\\n    {{/if}}\\n  </div>\\n</div>\\n\\n{{#if @showFreeBanner}}\\n  <div class=\\\"u__centered-text-block\\\">\\n    <div class=\\\"left-nav__free-banner\\\">\\n      <div class=\\\"left-nav__icon left-nav__free-banner-text\\\">\\n        Free\\n      </div>\\n    </div>\\n  </div>\\n{{else}}\\n  <div class=\\\"h-4\\\"></div>\\n{{/if}}\\n\", {\"contents\":\"<div class=\\\"h-4\\\"></div>\\n<div class=\\\"left-nav__icon {{if @useUpdatedIcon \\\"left-nav__updated-home-icon\\\"}}\\\" data-test-nav-home-logo>\\n  <span class=\\\"sr-only\\\">Home</span>\\n\\n  <div class=\\\"unread__container left-nav__unread-container\\\">\\n    <div class=\\\"\\n      left-nav__icon__loading\\n      {{if @useUpdatedIcon \\\"left-nav__updated-logo\\\"}}\\n      {{if (and @useUpdatedIcon @isOnHomeRoute) \\\"left-nav__updated-logo__selected\\\"}}\\n    \\\">\\n      {{inline-svg 'nav-primary-logo-loading'}}\\n    </div>\\n\\n    <div class=\\\"\\n      left-nav__icon__loaded\\n      {{if @useUpdatedIcon \\\"left-nav__updated-logo\\\"}}\\n      {{if (and @useUpdatedIcon @isOnHomeRoute) \\\"left-nav__updated-logo__selected\\\"}}\\n    \\\">\\n      {{inline-svg 'nav-primary-logo-loaded'}}\\n    </div>\\n\\n    <div class=\\\"\\n      left-nav__icon__spinner\\n      {{if @useUpdatedIcon \\\"left-nav__updated-logo\\\"}}\\n      {{if (and @useUpdatedIcon @isOnHomeRoute) \\\"left-nav__updated-logo__selected\\\"}}\\n    \\\"></div>\\n\\n    {{#if @showUnseenLevelBadge}}\\n      <span data-test-nav-unseen-levels-badge class=\\\"unread {{if @useUpdatedIcon \\\"unread-updated\\\"}} o__in-primary-nav o__home left-nav__unread\\\"></span>\\n    {{/if}}\\n  </div>\\n</div>\\n\\n{{#if @showFreeBanner}}\\n  <div class=\\\"u__centered-text-block\\\">\\n    <div class=\\\"left-nav__free-banner\\\">\\n      <div class=\\\"left-nav__icon left-nav__free-banner-text\\\">\\n        Free\\n      </div>\\n    </div>\\n  </div>\\n{{else}}\\n  <div class=\\\"h-4\\\"></div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/nav-home-logo-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/nav-home-logo-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"nav__search__background-blocker {{if expandedView \\\"o__expanded-view\\\"}}\\\"></div>\\n{{#unless expandedView}}\\n  <a\\n    class=\\\"nav__search__toggle-expanded-view {{if disabled \\\"o__inactive\\\"}}\\\"\\n    data-test-toggle-expand-selection\\n    {{action \\\"toggleExpandedView\\\"}}\\n  >\\n    {{ic-interface-icon \\\"search\\\" solo=true}}\\n  </a>\\n{{/unless}}\\n<div class=\\\"nav__search__input__wrapper {{if expandedView \\\"o__expanded-view\\\"}} {{if disabled \\\"o__inactive\\\"}}\\\">\\n  <span class=\\\"nav__search__input__icon\\\">\\n    {{ic-interface-icon \\\"search\\\" color=searchInputIconColor}}\\n  </span>\\n  {{#if shouldShowFullBacking}}\\n    <a\\n      class=\\\"nav__search__clear-text__icon\\\"\\n      data-test-clear-text\\n      {{action \\\"clearText\\\" bubbles=false}}\\n    >\\n      {{ic-interface-icon \\\"small-close\\\" color=\\\"gray\\\"}}\\n    </a>\\n  {{/if}}\\n  {{#if disabled}}\\n    <Input\\n      @value={{internalSearchString}}\\n      @disabled={{disabled}}\\n      placeholder={{placeholderText}}\\n      @autocomplete=\\\"off\\\"\\n      class={{textInputClasses}}\\n      {{tooltip content=\\\"We have temporarily disabled the search functionality while we work to resolve issues with our backend search infrastructure.\\\"}}\\n    />\\n  {{else}}\\n    <Input\\n      class={{textInputClasses}}\\n      @value={{internalSearchString}}\\n      placeholder={{placeholderText}}\\n      @autocomplete=\\\"off\\\"\\n      @focus-in={{action \\\"textInputFocused\\\"}}\\n      @focus-out={{action \\\"textInputBlurred\\\"}}\\n    />\\n  {{/if}}\\n  <div class=\\\"nav__search__backing {{if isOpen \\\"o__opened\\\"}} {{if shouldShowFullBacking \\\"o__with-full-backing\\\"}}\\\">\\n    {{#if (and isOpen selectableItemsNotEmpty)}}\\n      <div class=\\\"nav__search__result__list\\\" data-test-search-suggestions>\\n        {{#each selectableItems as |item|}}\\n          <a\\n            onclick={{action \\\"selectItem\\\" item}}\\n            class=\\\"dropdown__list-item o__hoverable {{if item.isHighlighted \\\"o__selected\\\"}} u__one-truncated-line\\\"\\n          >\\n            {{yield item}}\\n          </a>\\n        {{/each}}\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"nav__search__background-blocker {{if expandedView \\\"o__expanded-view\\\"}}\\\"></div>\\n{{#unless expandedView}}\\n  <a\\n    class=\\\"nav__search__toggle-expanded-view {{if disabled \\\"o__inactive\\\"}}\\\"\\n    data-test-toggle-expand-selection\\n    {{action \\\"toggleExpandedView\\\"}}\\n  >\\n    {{ic-interface-icon \\\"search\\\" solo=true}}\\n  </a>\\n{{/unless}}\\n<div class=\\\"nav__search__input__wrapper {{if expandedView \\\"o__expanded-view\\\"}} {{if disabled \\\"o__inactive\\\"}}\\\">\\n  <span class=\\\"nav__search__input__icon\\\">\\n    {{ic-interface-icon \\\"search\\\" color=searchInputIconColor}}\\n  </span>\\n  {{#if shouldShowFullBacking}}\\n    <a\\n      class=\\\"nav__search__clear-text__icon\\\"\\n      data-test-clear-text\\n      {{action \\\"clearText\\\" bubbles=false}}\\n    >\\n      {{ic-interface-icon \\\"small-close\\\" color=\\\"gray\\\"}}\\n    </a>\\n  {{/if}}\\n  {{#if disabled}}\\n    <Input\\n      @value={{internalSearchString}}\\n      @disabled={{disabled}}\\n      placeholder={{placeholderText}}\\n      @autocomplete=\\\"off\\\"\\n      class={{textInputClasses}}\\n      {{tooltip content=\\\"We have temporarily disabled the search functionality while we work to resolve issues with our backend search infrastructure.\\\"}}\\n    />\\n  {{else}}\\n    <Input\\n      class={{textInputClasses}}\\n      @value={{internalSearchString}}\\n      placeholder={{placeholderText}}\\n      @autocomplete=\\\"off\\\"\\n      @focus-in={{action \\\"textInputFocused\\\"}}\\n      @focus-out={{action \\\"textInputBlurred\\\"}}\\n    />\\n  {{/if}}\\n  <div class=\\\"nav__search__backing {{if isOpen \\\"o__opened\\\"}} {{if shouldShowFullBacking \\\"o__with-full-backing\\\"}}\\\">\\n    {{#if (and isOpen selectableItemsNotEmpty)}}\\n      <div class=\\\"nav__search__result__list\\\" data-test-search-suggestions>\\n        {{#each selectableItems as |item|}}\\n          <a\\n            onclick={{action \\\"selectItem\\\" item}}\\n            class=\\\"dropdown__list-item o__hoverable {{if item.isHighlighted \\\"o__selected\\\"}} u__one-truncated-line\\\"\\n          >\\n            {{yield item}}\\n          </a>\\n        {{/each}}\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/nav-search-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/nav-search-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport EmberObject, { computed } from '@ember/object';\nimport $ from 'jquery';\nimport { next, schedule } from '@ember/runloop';\nimport { A } from '@ember/array';\nimport { readOnly, or, empty, not, notEmpty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport {\n  lessThanProperty,\n  templateString,\n  ternary,\n} from '@intercom/embercom-core/lib/computed-properties';\n// eslint-disable-next-line @intercom/intercom/no-legacy-dropdown\nimport ComponentDropdownToggler from 'embercom/components/mixins/component-dropdown-toggler';\nimport KeyboardSelectableDropdown from 'embercom/components/mixins/keyboard-selectable-dropdown';\nimport { addEventListener, runDisposables } from 'ember-lifeline';\nimport RunMixin from 'ember-lifeline/mixins/run';\n\nconst SHORTCUT_GROUP = 'nav-search';\n\nexport default Component.extend(KeyboardSelectableDropdown, ComponentDropdownToggler, RunMixin, {\n  appService: service(),\n  app: readOnly('appService.app'),\n  ariaRole: 'search',\n  shortcuts: service(),\n  lastSetSearchString: '',\n  internalSearchString: '',\n\n  classNameBindings: [\n    'isBelowCollapseThreshold:nav__search__collapsed',\n    'expandedView:o__expanded-view',\n  ],\n\n  classNames: ['nav__search'],\n  collapseThreshold: 1279,\n  isBelowCollapseThreshold: lessThanProperty('viewPortWidth', 'collapseThreshold'),\n\n  init() {\n    this._super(...arguments);\n    this.refreshInternalSearchString();\n    this.setupDefaultItems();\n    this.setViewPortWidth();\n  },\n\n  destroy() {\n    this._super(...arguments);\n    runDisposables(this);\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.setupNavBackgroundBlocker();\n    addEventListener(this, window, 'resize', () => this.setViewPortWidth());\n    this.shortcuts.register(SHORTCUT_GROUP, this, [\n      { key: '/', modalActive: false, method: this.shortcutPressed },\n    ]);\n  },\n\n  willDestroyElement() {\n    this.destroyNavBackgroundBlocker();\n    this.shortcuts.unregister(SHORTCUT_GROUP);\n    this._super(...arguments);\n  },\n\n  didUpdateAttrs() {\n    this._super(...arguments);\n    if (!this.isDestroying) {\n      this.refreshInternalSearchString();\n    }\n  },\n\n  shortcutPressed() {\n    this.set('isExpanded', true);\n    this.set('expandedView', true);\n    this.focusOnInput();\n  },\n\n  collapse() {\n    this.set('expandedView', false);\n    this.resetSearch();\n  },\n\n  onNavBackgroundClick(e) {\n    if ($(e.target).hasClass('nav__search__background-blocker')) {\n      this.attemptToClose();\n      if (this.internalSearchStringEmpty) {\n        this.collapse();\n      }\n    }\n  },\n\n  refreshInternalSearchString() {\n    let searchString = this.searchString;\n    let lastSetSearchString = this.lastSetSearchString;\n    let internalSearchString = this.internalSearchString;\n    if (searchString === undefined) {\n      searchString = '';\n    }\n    if (searchString !== lastSetSearchString) {\n      this.set('lastSetSearchString', searchString);\n      if (searchString !== internalSearchString) {\n        this.set('internalSearchString', searchString);\n        if (this.internalSearchStringNotEmpty) {\n          this.set('expandedView', true);\n        }\n      }\n    }\n  },\n\n  setupDefaultItems() {\n    if (this.items === undefined) {\n      this.set('items', A([]));\n    }\n  },\n\n  setupNavBackgroundBlocker() {\n    $('.nav__search__background-blocker', this.element).on('click', e => {\n      next(() => {\n        if (!this.isDestroying) {\n          this.onNavBackgroundClick(e);\n        }\n      });\n    });\n  },\n\n  destroyNavBackgroundBlocker() {\n    $('.nav__search__background-blocker', this.element).off('click');\n  },\n\n  focusOnInput() {\n    if (this.isDestroying) {\n      return;\n    }\n    let input = $('.nav__search__input', this.element);\n    if (input === undefined || input.is(':focus')) {\n      return;\n    }\n    schedule('afterRender', this, function() {\n      input.focus();\n    });\n  },\n\n  createStandardSearchItem() {\n    return EmberObject.create({\n      name: this.internalSearchString,\n      isHighlighted: this.selectedItemIsStandardSearch,\n      isStandardSearch: true,\n    });\n  },\n\n  blurInput() {\n    if (this.isDestroying) {\n      return;\n    }\n    let input = $('.nav__search__input', this.element);\n    if (input === undefined || !input.is(':focus')) {\n      return;\n    }\n    schedule('afterRender', this, function() {\n      input.blur();\n    });\n  },\n\n  disabled: false,\n  expandedView: false,\n  placeHolderText: 'Search…',\n  preventDropdownToggleFromWithin: true,\n  product: null,\n  searchString: '',\n  showSuggestions: true,\n  testBindingClass: '',\n  textInputFocused: false,\n  isOpenOrTextInputFocused: or('textInputFocused', 'isOpen'),\n  internalSearchStringEmpty: empty('internalSearchString'),\n  internalSearchStringNotEmpty: not('internalSearchStringEmpty'),\n  shouldShowFullBacking: or('internalSearchStringNotEmpty', 'isOpenOrTextInputFocused'),\n\n  textInputClasses: templateString(\n    'nav__search__input ${backingOptionClassForInput} ${testBindingClass}',\n  ),\n\n  backingOptionClassForInput: ternary('shouldShowFullBacking', 'o__with-full-backing', ''),\n  searchInputIconColor: ternary('shouldShowFullBacking', 'gray', 'white'),\n\n  selectedItemIsStandardSearch: computed('currentHighlightedItem', function() {\n    let currentHighlightedItem = this.currentHighlightedItem;\n    return currentHighlightedItem === undefined || currentHighlightedItem.isStandardSearch;\n  }),\n\n  selectableItems: computed(\n    'internalSearchString',\n    'items.[]',\n    'showSuggestions',\n    'isOpen',\n    function() {\n      if (!this.showSuggestions || !this.isOpen) {\n        return A([]);\n      }\n      let searchString = this.internalSearchString;\n      let selectableItems = this.items\n        .filter(function(item) {\n          return item.name.toLowerCase().includes(searchString.toLowerCase());\n        })\n        .slice(0, 10);\n\n      if (this.internalSearchStringNotEmpty) {\n        selectableItems.unshift(this.createStandardSearchItem());\n      }\n      return selectableItems;\n    },\n  ),\n\n  selectableItemsNotEmpty: notEmpty('selectableItems'),\n\n  // We have to provide our own keyDown here\n  keyDown(e) {\n    let keyCode = e.which !== undefined ? e.which : e.keyCode;\n    switch (keyCode) {\n      case 40:\n        this.send('onDown');\n        e.preventDefault();\n        break;\n      case 38:\n        this.send('onUp');\n        e.preventDefault();\n        break;\n      case 13:\n        this.send('onEnter');\n        e.stopPropagation();\n        break;\n      case 27:\n        this.send('onEsc');\n        break;\n      default:\n        this._super(e);\n    }\n  },\n\n  attemptToOpen() {\n    if (!(this.isDestroying || this.disabled)) {\n      this.send('open');\n    }\n  },\n\n  attemptToClose() {\n    if (!this.isDestroying && this.isOpen) {\n      this.send('close');\n    }\n  },\n\n  clearSearchString() {\n    this.set('internalSearchString', '');\n  },\n\n  setViewPortWidth() {\n    this.debounceTask('_setViewPortWidth', 100);\n  },\n\n  _setViewPortWidth() {\n    this.set('viewPortWidth', window.innerWidth);\n  },\n\n  actions: {\n    selectItem(item) {\n      this.doSearch(item);\n      this.send('closeWithoutCollapse');\n      this.blurInput();\n    },\n    textInputFocused() {\n      this.set('textInputFocused', true);\n    },\n    textInputBlurred() {\n      this.set('textInputFocused', false);\n    },\n    toggleExpandedView() {\n      let expandedView = this.expandedView;\n      this.set('expandedView', !expandedView);\n      if (!expandedView) {\n        this.focusOnInput();\n      }\n    },\n    clearText() {\n      if (this.internalSearchStringEmpty) {\n        this.collapse();\n      } else {\n        this.clearSearchString();\n        this.resetSearch();\n        this.focusOnInput();\n      }\n    },\n    close() {\n      this._closeDropdown();\n      if (this.internalSearchStringEmpty) {\n        this.collapse();\n      }\n    },\n    closeWithoutCollapse() {\n      this._closeDropdown();\n    },\n    onEsc() {\n      this.clearSearchString();\n      this.send('close');\n    },\n    onEnter() {\n      if (this.isOpen) {\n        let item = this.highlightedItem;\n        if (item === undefined) {\n          item = this.createStandardSearchItem();\n        }\n        this.resetHighlightedItem();\n        this.send('selectItem', item);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.shouldShowBanner}}\\n<div\\n  class=\\\"bg-blue text-white box-border block font-medium relative rounded-tl-2xl px-4 py-3 u__centered-text-block\\\"\\n>\\n  More flexible and powerful Rules have landed. Interested in opting in?\\n  <LinkTo\\n    @route=\\\"apps.app.inbox.automation.workflows.list\\\"\\n  >\\n    Learn more\\n  </LinkTo>\\n</div>\\n{{/if}}\\n\", {\"contents\":\"{{#if this.shouldShowBanner}}\\n<div\\n  class=\\\"bg-blue text-white box-border block font-medium relative rounded-tl-2xl px-4 py-3 u__centered-text-block\\\"\\n>\\n  More flexible and powerful Rules have landed. Interested in opting in?\\n  <LinkTo\\n    @route=\\\"apps.app.inbox.automation.workflows.list\\\"\\n  >\\n    Learn more\\n  </LinkTo>\\n</div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/new-rules-banner-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/new-rules-banner-component.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\n\nexport default class NewRulesBannerComponent extends Component {\n  @service appService;\n  @service router;\n  @service paywallService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get currentPath() {\n    return this.router.currentRouteName;\n  }\n\n  get isWorkflowsRoute() {\n    return (\n      this.currentPath === 'apps.app.inbox.automation.workflows.list' ||\n      this.currentPath === 'apps.app.inbox.automation.workflows.edit' ||\n      this.currentPath === 'apps.app.inbox.automation.workflows.new'\n    );\n  }\n\n  get isWorkloadManagementRoute() {\n    return this.currentPath === 'apps.app.inbox.automation.workload-management';\n  }\n\n  get hasInboxRules() {\n    return this.app.canUseFeature('inbox_rules');\n  }\n\n  get shouldShowBanner() {\n    return (\n      this.app.canSeeWorkflowsOptIn &&\n      this.hasInboxRules &&\n      !this.isWorkflowsRoute &&\n      !this.isWorkloadManagementRoute\n    );\n  }\n}\n","import NonEditableBlockEditor from '@intercom/embercom-composer/components/non-editable-block-editor';\nexport default NonEditableBlockEditor;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"notification__list\\\" data-test-notification-list>\\n  {{#each notificationsService.notifications as |notification|}}\\n    <div class=\\\"notification__list__item\\\">\\n      {{#let\\n        (component 'ic-banner'\\n          text=notification.message\\n          type=notification.type\\n          isFloating=true\\n        )\\n        (action 'closeNotification' notification target=notificationsService) as |banner closeAction|\\n      }}\\n        {{#if notification.button}}\\n          {{component banner\\n            buttonLabel=notification.button.label\\n            onButtonClick=closeAction\\n          }}\\n        {{else if notification.hasPartial}}\\n          {{#component banner\\n            onHideClick=closeAction\\n          }}\\n            {{partial notification.partial}}\\n          {{/component}}\\n        {{else}}\\n          {{component banner\\n            onHideClick=closeAction\\n          }}\\n        {{/if}}\\n      {{/let}}\\n    </div>\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"notification__list\\\" data-test-notification-list>\\n  {{#each notificationsService.notifications as |notification|}}\\n    <div class=\\\"notification__list__item\\\">\\n      {{#let\\n        (component 'ic-banner'\\n          text=notification.message\\n          type=notification.type\\n          isFloating=true\\n        )\\n        (action 'closeNotification' notification target=notificationsService) as |banner closeAction|\\n      }}\\n        {{#if notification.button}}\\n          {{component banner\\n            buttonLabel=notification.button.label\\n            onButtonClick=closeAction\\n          }}\\n        {{else if notification.hasPartial}}\\n          {{#component banner\\n            onHideClick=closeAction\\n          }}\\n            {{partial notification.partial}}\\n          {{/component}}\\n        {{else}}\\n          {{component banner\\n            onHideClick=closeAction\\n          }}\\n        {{/if}}\\n      {{/let}}\\n    </div>\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/notifications-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/notifications-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  notificationsService: service(),\n});\n","import NullEditor from '@intercom/embercom-composer/components/null-editor';\nexport default NullEditor;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n\\n<Oauth::IntercomWorkspaceWarning @displayWarning={{shouldDisplayWarning}} />\\n{{#if adminEmailUnverified}}\\n  <IcBanner @type=\\\"warning\\\">\\n    You will need to <a onclick={{perform sendVerificationEmail}}>\\n      verify your email\\n    </a>\\n    before you can install an app on your workspace.\\n  </IcBanner>\\n{{/if}}\\n\\n<div class=\\\"layout__box o__flexes-to-1 o__has-rows oauth__requested-scopes-container u__mt__25 u__mb__40\\\">\\n  <div class=\\\"layout__box o__flexes-to-1 o__has-columns o__centers-all\\\">\\n    <div class=\\\"oauth__app-package-or-workspace-box u__mr__20\\\">\\n      {{#if appPackageIconUrl}}\\n        <img\\n          class=\\\"oauth__app-package-img\\\"\\n          src=\\\"{{appPackageIconUrl}}\\\"\\n          data-test-authorization-screen-app-package-img\\n        />\\n      {{else}}\\n        <span data-test-authorization-screen-app-package-default-svg>\\n          {{inline-svg \\\"developer-hub/app-package\\\" class=\\\"oauth__app-package-default-svg\\\"}}\\n        </span>\\n      {{/if}}\\n    </div>\\n    {{inline-svg \\\"oauth/two-way-arrow.svg\\\"}}\\n    <div class=\\\"oauth__app-package-or-workspace-box u__ml__20\\\">\\n      <div class=\\\"oauth__intercom-logo\\\">\\n        {{inline-svg \\\"nav-primary-logo-loaded\\\"}}\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"u__mt__20\\\">\\n    <Oauth::WorkspacePicker\\n      @apps={{apps}}\\n      @appPackageName={{appPackageName}}\\n      @selectedAppId={{selectedAppId}}\\n    />\\n  </div>\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-all oauth__requested-scopes-header u__mt__15\\\">\\n    <div class=\\\"layout__box oauth__accordion o__flexes-to-1\\\">\\n      {{#if selectedAppIsConnectable}}\\n        <Common::AccordionComponent @initiallyOpenSectionName={{section}} as |accordion|>\\n          {{#each authorizationRequest.appPackageOauthScopeCategories as |category|}}\\n            <accordion.section @name={{category.identifier}} as |section|>\\n              <section.header @headerClass=\\\"oauth__requested_scopes-header\\\" as |header|>\\n                <div data-test-authorization-screen-header={{category.identifier}}>\\n                  <Oauth::ScopeCategory::Header\\n                    @heading={{category.name}}\\n                    @subheading={{category.shortDescription}}\\n                    @icon={{category.embercomIllustrativeIconName}}\\n                  />\\n                </div>\\n              </section.header>\\n              <section.header-action />\\n              <section.body as |body|>\\n                <div data-test-authorization-screen-description={{category.identifier}}>\\n                  <Oauth::ScopeCategory::Description\\n                    @appPackageName={{appPackageName}}\\n                    @longDescription={{category.longDescription}}\\n                    @scopes={{category.scopes}}\\n                  />\\n                </div>\\n              </section.body>\\n            </accordion.section>\\n          {{/each}}\\n        </Common::AccordionComponent>\\n      {{else}}\\n        <Oauth::NonConnectableAppMessage @selectedApp={{selectedApp}} />\\n      {{/if}}\\n    </div>\\n  </div>\\n  {{#if selectedAppIsConnectable}}\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-columns o__centers-all u__mb__10\\\">\\n      <IcButton\\n        @label=\\\"Cancel\\\"\\n        class=\\\"oauth__connect-buttons u__mr__5\\\"\\n        @onClick={{action \\\"cancel\\\"}}\\n        data-test-authorization-screen-cancel-button={{true}}\\n      />\\n      <IcButton\\n        @disabled={{isDisabled}}\\n        @label=\\\"Authorize access\\\"\\n        @type=\\\"primary-live\\\"\\n        class=\\\"oauth__connect-buttons u__ml__5\\\"\\n        @processingLabel=\\\"Authorizing...\\\"\\n        @onClick={{perform authorize}}\\n        data-test-authorization-screen-authorize-button={{true}}\\n      />\\n    </div>\\n  {{/if}}\\n  <div class=\\\"layout__box o__flexes-to-1 o__has-columns o__centers-all\\\">\\n    {{#if isInterconnectedApp}}\\n      <p data-test-interconnected-legal-copy class=\\\"t__light-text\\\">\\n        Clicking the \\\"Authorize access\\\" button above means you've read Intercom's\\n        <a\\n          data-test-authorization-screen-privacy\\n          rel=\\\"noopener noreferrer\\\"\\n          target=\\\"_blank\\\"\\n          href={{privacyPolicyUrl}}\\n        >\\n          Privacy policy\\n        </a> and you have reviewed and agree to Intercom's\\n        <a\\n          data-test-authorization-screen-terms\\n          rel=\\\"noopener noreferrer\\\"\\n          target=\\\"_blank\\\"\\n          href={{termsOfServiceUrl}}\\n        >\\n          Terms of Service\\n        </a> and Intercom's\\n        <a\\n          data-test-interconnected-auth\\n          rel=\\\"noopener noreferrer\\\"\\n          target=\\\"_blank\\\"\\n          href=\\\"https://forum.intercom.com/s/interconnected-terms-of-service\\\"\\n        >\\n          Interconnected Terms of Service\\n        </a>, all of which govern your use of Intercom Interconnected.\\n      </p>\\n    {{else}}\\n      <p class=\\\"t__light-text\\\">\\n        {{#if (or privacyPolicyUrl termsOfServiceUrl)}}\\n          Review this app's\\n          {{#if (and privacyPolicyUrl termsOfServiceUrl)}}\\n            <a\\n              data-test-authorization-screen-privacy\\n              rel=\\\"noopener noreferrer\\\"\\n              target=\\\"_blank\\\"\\n              href={{privacyPolicyUrl}}\\n            >\\n              privacy policy\\n            </a>\\n            and\\n            <a\\n              data-test-authorization-screen-terms\\n              rel=\\\"noopener noreferrer\\\"\\n              target=\\\"_blank\\\"\\n              href={{termsOfServiceUrl}}\\n            >\\n              terms of service\\n            </a>.\\n          {{else if privacyPolicyUrl}}\\n            <a\\n              data-test-authorization-screen-privacy\\n              rel=\\\"noopener noreferrer\\\"\\n              target=\\\"_blank\\\"\\n              href={{privacyPolicyUrl}}\\n            >\\n              privacy policy\\n            </a>.\\n          {{else if termsOfServiceUrl}}\\n            <a\\n              data-test-authorization-screen-terms\\n              rel=\\\"noopener noreferrer\\\"\\n              target=\\\"_blank\\\"\\n              href={{termsOfServiceUrl}}\\n            >\\n              terms of service\\n            </a>.\\n          {{/if}}\\n        {{/if}}\\n        Revoke access by viewing your authorized apps in\\n        <a\\n          rel=\\\"noopener noreferrer\\\"\\n          target=\\\"_blank\\\"\\n          href=\\\"/a/apps/{{selectedAppId}}/account/oauth-tokens\\\"\\n        >\\n          your account\\n        </a>.\\n      </p>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n\\n<Oauth::IntercomWorkspaceWarning @displayWarning={{shouldDisplayWarning}} />\\n{{#if adminEmailUnverified}}\\n  <IcBanner @type=\\\"warning\\\">\\n    You will need to <a onclick={{perform sendVerificationEmail}}>\\n      verify your email\\n    </a>\\n    before you can install an app on your workspace.\\n  </IcBanner>\\n{{/if}}\\n\\n<div class=\\\"layout__box o__flexes-to-1 o__has-rows oauth__requested-scopes-container u__mt__25 u__mb__40\\\">\\n  <div class=\\\"layout__box o__flexes-to-1 o__has-columns o__centers-all\\\">\\n    <div class=\\\"oauth__app-package-or-workspace-box u__mr__20\\\">\\n      {{#if appPackageIconUrl}}\\n        <img\\n          class=\\\"oauth__app-package-img\\\"\\n          src=\\\"{{appPackageIconUrl}}\\\"\\n          data-test-authorization-screen-app-package-img\\n        />\\n      {{else}}\\n        <span data-test-authorization-screen-app-package-default-svg>\\n          {{inline-svg \\\"developer-hub/app-package\\\" class=\\\"oauth__app-package-default-svg\\\"}}\\n        </span>\\n      {{/if}}\\n    </div>\\n    {{inline-svg \\\"oauth/two-way-arrow.svg\\\"}}\\n    <div class=\\\"oauth__app-package-or-workspace-box u__ml__20\\\">\\n      <div class=\\\"oauth__intercom-logo\\\">\\n        {{inline-svg \\\"nav-primary-logo-loaded\\\"}}\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"u__mt__20\\\">\\n    <Oauth::WorkspacePicker\\n      @apps={{apps}}\\n      @appPackageName={{appPackageName}}\\n      @selectedAppId={{selectedAppId}}\\n    />\\n  </div>\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-all oauth__requested-scopes-header u__mt__15\\\">\\n    <div class=\\\"layout__box oauth__accordion o__flexes-to-1\\\">\\n      {{#if selectedAppIsConnectable}}\\n        <Common::AccordionComponent @initiallyOpenSectionName={{section}} as |accordion|>\\n          {{#each authorizationRequest.appPackageOauthScopeCategories as |category|}}\\n            <accordion.section @name={{category.identifier}} as |section|>\\n              <section.header @headerClass=\\\"oauth__requested_scopes-header\\\" as |header|>\\n                <div data-test-authorization-screen-header={{category.identifier}}>\\n                  <Oauth::ScopeCategory::Header\\n                    @heading={{category.name}}\\n                    @subheading={{category.shortDescription}}\\n                    @icon={{category.embercomIllustrativeIconName}}\\n                  />\\n                </div>\\n              </section.header>\\n              <section.header-action />\\n              <section.body as |body|>\\n                <div data-test-authorization-screen-description={{category.identifier}}>\\n                  <Oauth::ScopeCategory::Description\\n                    @appPackageName={{appPackageName}}\\n                    @longDescription={{category.longDescription}}\\n                    @scopes={{category.scopes}}\\n                  />\\n                </div>\\n              </section.body>\\n            </accordion.section>\\n          {{/each}}\\n        </Common::AccordionComponent>\\n      {{else}}\\n        <Oauth::NonConnectableAppMessage @selectedApp={{selectedApp}} />\\n      {{/if}}\\n    </div>\\n  </div>\\n  {{#if selectedAppIsConnectable}}\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-columns o__centers-all u__mb__10\\\">\\n      <IcButton\\n        @label=\\\"Cancel\\\"\\n        class=\\\"oauth__connect-buttons u__mr__5\\\"\\n        @onClick={{action \\\"cancel\\\"}}\\n        data-test-authorization-screen-cancel-button={{true}}\\n      />\\n      <IcButton\\n        @disabled={{isDisabled}}\\n        @label=\\\"Authorize access\\\"\\n        @type=\\\"primary-live\\\"\\n        class=\\\"oauth__connect-buttons u__ml__5\\\"\\n        @processingLabel=\\\"Authorizing...\\\"\\n        @onClick={{perform authorize}}\\n        data-test-authorization-screen-authorize-button={{true}}\\n      />\\n    </div>\\n  {{/if}}\\n  <div class=\\\"layout__box o__flexes-to-1 o__has-columns o__centers-all\\\">\\n    {{#if isInterconnectedApp}}\\n      <p data-test-interconnected-legal-copy class=\\\"t__light-text\\\">\\n        Clicking the \\\"Authorize access\\\" button above means you've read Intercom's\\n        <a\\n          data-test-authorization-screen-privacy\\n          rel=\\\"noopener noreferrer\\\"\\n          target=\\\"_blank\\\"\\n          href={{privacyPolicyUrl}}\\n        >\\n          Privacy policy\\n        </a> and you have reviewed and agree to Intercom's\\n        <a\\n          data-test-authorization-screen-terms\\n          rel=\\\"noopener noreferrer\\\"\\n          target=\\\"_blank\\\"\\n          href={{termsOfServiceUrl}}\\n        >\\n          Terms of Service\\n        </a> and Intercom's\\n        <a\\n          data-test-interconnected-auth\\n          rel=\\\"noopener noreferrer\\\"\\n          target=\\\"_blank\\\"\\n          href=\\\"https://forum.intercom.com/s/interconnected-terms-of-service\\\"\\n        >\\n          Interconnected Terms of Service\\n        </a>, all of which govern your use of Intercom Interconnected.\\n      </p>\\n    {{else}}\\n      <p class=\\\"t__light-text\\\">\\n        {{#if (or privacyPolicyUrl termsOfServiceUrl)}}\\n          Review this app's\\n          {{#if (and privacyPolicyUrl termsOfServiceUrl)}}\\n            <a\\n              data-test-authorization-screen-privacy\\n              rel=\\\"noopener noreferrer\\\"\\n              target=\\\"_blank\\\"\\n              href={{privacyPolicyUrl}}\\n            >\\n              privacy policy\\n            </a>\\n            and\\n            <a\\n              data-test-authorization-screen-terms\\n              rel=\\\"noopener noreferrer\\\"\\n              target=\\\"_blank\\\"\\n              href={{termsOfServiceUrl}}\\n            >\\n              terms of service\\n            </a>.\\n          {{else if privacyPolicyUrl}}\\n            <a\\n              data-test-authorization-screen-privacy\\n              rel=\\\"noopener noreferrer\\\"\\n              target=\\\"_blank\\\"\\n              href={{privacyPolicyUrl}}\\n            >\\n              privacy policy\\n            </a>.\\n          {{else if termsOfServiceUrl}}\\n            <a\\n              data-test-authorization-screen-terms\\n              rel=\\\"noopener noreferrer\\\"\\n              target=\\\"_blank\\\"\\n              href={{termsOfServiceUrl}}\\n            >\\n              terms of service\\n            </a>.\\n          {{/if}}\\n        {{/if}}\\n        Revoke access by viewing your authorized apps in\\n        <a\\n          rel=\\\"noopener noreferrer\\\"\\n          target=\\\"_blank\\\"\\n          href=\\\"/a/apps/{{selectedAppId}}/account/oauth-tokens\\\"\\n        >\\n          your account\\n        </a>.\\n      </p>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/oauth/authorization-screen.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/oauth/authorization-screen.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { or, alias, map, not, readOnly, equal } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\nimport ENV from 'embercom/config/environment';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  isRedirecting: false,\n  redirectService: service(),\n  store: service(),\n\n  adminId: readOnly('authorizationRequest.adminId'),\n  adminEmailVerified: readOnly('authorizationRequest.adminEmailVerified'),\n  adminEmailUnverified: not('adminEmailVerified'),\n  adminEmailPendingVerification: readOnly('authorizationRequest.adminEmailPendingVerification'),\n  appPackageName: alias('authorizationRequest.appPackageName'),\n  appPackageId: alias('authorizationRequest.appPackageId'),\n  appPackageIconUrl: alias('authorizationRequest.appPackageIconUrl'),\n  apps: map('authorizationRequest.allApps', function(app) {\n    return {\n      text: app.name,\n      value: app.idCode,\n    };\n  }),\n  isDisabled: or('isRedirecting', 'adminEmailUnverified'),\n  isInterconnectedApp: equal('appPackageId', 52478),\n  selectedAppId: or(\n    'authorizationRequest.initiallySelectedAppIdCode',\n    'authorizationRequest.allApps.firstObject.idCode',\n  ),\n  selectedApp: computed('authorizationRequest.allApps', 'selectedAppId', function() {\n    return this.get('authorizationRequest.allApps').findBy('idCode', this.selectedAppId);\n  }),\n  selectedAppIsConnectable: readOnly('selectedApp.connectable'),\n  shouldDisplayWarning: computed('selectedApp.idCode', function() {\n    return this.get('selectedApp.idCode') === 'tx2p130c' && ENV.environment !== 'development';\n  }),\n  privacyPolicyUrl: readOnly('authorizationRequest.appPackagePrivacyPolicyUrl'),\n  termsOfServiceUrl: readOnly('authorizationRequest.appPackageTermsOfServiceUrl'),\n\n  async validateScopes() {\n    let existingScopes = this.authorizationRequest.appPackageOauthScopeCategories.map(\n      category => category.identifier,\n    );\n    let currentAuthorizationRequest = await this.store.queryRecord('oauth/authorization-request', {\n      client_id: this.clientId,\n    });\n    let newCategory = currentAuthorizationRequest.appPackageOauthScopeCategories.find(\n      category => existingScopes.includes(category.identifier) === false,\n    );\n    if (newCategory) {\n      this.notificationsService.notifyWarning(\n        'Authorization scopes have changed, please review and reauthorize',\n      );\n      this.set('authorizationRequest', currentAuthorizationRequest);\n      return false;\n    }\n    return true;\n  },\n\n  authorize: task(function*(params) {\n    let authorizationScopeIsValid = yield this.validateScopes();\n\n    if (!authorizationScopeIsValid) {\n      return;\n    }\n    let adminHasModifyAppPermissions = yield this.adminHasPermissionToInstall();\n\n    if (!adminHasModifyAppPermissions) {\n      this.notificationsService.notifyError(\n        `Sorry, you do not have permissions to modify this app installation.`,\n      );\n      return;\n    }\n\n    try {\n      let response = yield ajax({\n        url: '/ember/oauth/connect',\n        type: 'POST',\n        contentType: 'application/json',\n        data: JSON.stringify({\n          app_id: this.selectedAppId,\n          client_id: this.clientId,\n          state: this.state,\n          redirect_uri: this.redirectURI,\n        }),\n      });\n      this.set('isRedirecting', true);\n      this.redirectService.redirect(response.redirect_url);\n    } catch (response) {\n      this.set('isRedirecting', false);\n      this.notificationsService.notifyError(\n        `Something went wrong and we couldn't allow authorizing your request.`,\n      );\n    }\n  }).drop(),\n  async adminHasPermissionToInstall() {\n    if (this.selectedApp.is_test_app || this.selectedApp.idCode === 'tx2p130c') {\n      return true;\n    }\n    let app = await this.store.findRecord('app', this.selectedAppId);\n    let admin = app.admins.findBy('id', this.adminId);\n    let adminPermissionsForApp = admin.app_permissions.findBy('app_id', this.selectedAppId);\n    return adminPermissionsForApp && adminPermissionsForApp['can_manage_apps_and_integrations'];\n  },\n  didInsertElement() {\n    this._super(...arguments);\n    this.set('isRedirecting', false);\n    document.querySelector('body').style.minWidth = '0px';\n  },\n  willDestroyElement() {\n    this._super(...arguments);\n    this.set('isRedirecting', false);\n  },\n  didDestroyElement() {\n    this._super(...arguments);\n    document.querySelector('body').style.minWidth = '';\n  },\n  sendVerificationEmailToEndpoint(endpoint) {\n    return ajax({\n      type: 'PUT',\n      url: `/ember/admins/${endpoint}`,\n      data: JSON.stringify({\n        id: this.adminId,\n        app_id: this.selectedAppId,\n      }),\n    });\n  },\n  actions: {\n    cancel() {\n      window.history.back();\n    },\n  },\n  sendVerificationEmail: task(function*() {\n    try {\n      if (this.adminEmailPendingVerification) {\n        yield this.sendVerificationEmailToEndpoint('resend_verification_email');\n      } else {\n        if (this.adminEmailVerified || this.adminEmailPendingVerification) {\n          return;\n        }\n        yield this.sendVerificationEmailToEndpoint('send_verification_email');\n      }\n      this.notificationsService.notifyConfirmation(\n        'Verification email sent. Please check your email.',\n      );\n    } catch (e) {\n      this.notificationsService.notifyError(\n        'Something went wrong sending your verfication email. Please try again.',\n      );\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{#if @displayWarning}}\\n  <div class=\\\"layout__box u__pad__10 js__intercomrade-warning\\\" style=\\\"background-color: #c63337;\\\" data-test-authorization-screen-warning>\\n    <div class=\\\"u__centered-text-block\\\">\\n      <div class=\\\"a__pulse text-white\\\">\\n        <span>{{ic-interface-icon 'alert'}}</span>\\n        <b>Please be careful! You're on the <u>Intercom</u> workspace. Please make sure you <i>really</i> want to install this App on the <u>Intercom</u> workspace</b>\\n        <span>{{ic-interface-icon 'alert'}}</span>\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{#if @displayWarning}}\\n  <div class=\\\"layout__box u__pad__10 js__intercomrade-warning\\\" style=\\\"background-color: #c63337;\\\" data-test-authorization-screen-warning>\\n    <div class=\\\"u__centered-text-block\\\">\\n      <div class=\\\"a__pulse text-white\\\">\\n        <span>{{ic-interface-icon 'alert'}}</span>\\n        <b>Please be careful! You're on the <u>Intercom</u> workspace. Please make sure you <i>really</i> want to install this App on the <u>Intercom</u> workspace</b>\\n        <span>{{ic-interface-icon 'alert'}}</span>\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/oauth/intercom-workspace-warning.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/oauth/intercom-workspace-warning.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"oauth__non-connectable-message-box\\\">\\n  {{#if appPackageOwnerShouldBeSameAsSelectedApp}}\\n    <p data-test-oauth-non-connectable-reason-a>This app's owner Workspace is a Test Workspace and can’t be installed or authorized on the <b>{{selectedApp.name}}</b> workspace.</p>\\n  {{else if appPackageWithLimitedAdminPermissionOnSelectedApp}}\\n    <p data-test-oauth-non-connectable-reason-b>To install and authorize apps on <b>{{selectedApp.name}}</b> ask one of your teammates to give your account permission.</p>\\n  {{else if appPackageWithLimitedAdminPermissionOnOwnerApp}}\\n    <div data-test-oauth-non-connectable-reason-c>\\n      <p class=\\\"u__mb__10\\\">This app is private and can’t be installed or authorized on the <b>{{selectedApp.name}}</b> workspace.</p>\\n      <p>To install and authorize apps on <b>{{selectedApp.name}}</b> ask one of your teammates to give your account permission.</p>\\n    </div>\\n  {{else if appIsSuspended}}\\n    <p data-test-oauth-non-connectable-reason-d>The workspace <b>{{selectedApp.name}}</b> does not support apps.</p>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"oauth__non-connectable-message-box\\\">\\n  {{#if appPackageOwnerShouldBeSameAsSelectedApp}}\\n    <p data-test-oauth-non-connectable-reason-a>This app's owner Workspace is a Test Workspace and can’t be installed or authorized on the <b>{{selectedApp.name}}</b> workspace.</p>\\n  {{else if appPackageWithLimitedAdminPermissionOnSelectedApp}}\\n    <p data-test-oauth-non-connectable-reason-b>To install and authorize apps on <b>{{selectedApp.name}}</b> ask one of your teammates to give your account permission.</p>\\n  {{else if appPackageWithLimitedAdminPermissionOnOwnerApp}}\\n    <div data-test-oauth-non-connectable-reason-c>\\n      <p class=\\\"u__mb__10\\\">This app is private and can’t be installed or authorized on the <b>{{selectedApp.name}}</b> workspace.</p>\\n      <p>To install and authorize apps on <b>{{selectedApp.name}}</b> ask one of your teammates to give your account permission.</p>\\n    </div>\\n  {{else if appIsSuspended}}\\n    <p data-test-oauth-non-connectable-reason-d>The workspace <b>{{selectedApp.name}}</b> does not support apps.</p>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/oauth/non-connectable-app-message.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/oauth/non-connectable-app-message.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { equal, readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  selectedAppNonConnectableReason: readOnly('selectedApp.nonConnectableReason'),\n  appPackageOwnerShouldBeSameAsSelectedApp: equal(\n    'selectedAppNonConnectableReason',\n    'app_package_owner_app_should_be_same_as_selected_app',\n  ),\n  appPackageWithLimitedAdminPermissionOnSelectedApp: equal(\n    'selectedAppNonConnectableReason',\n    'app_package_with_limited_admin_permissions_on_selected_app',\n  ),\n  appPackageWithLimitedAdminPermissionOnOwnerApp: equal(\n    'selectedAppNonConnectableReason',\n    'app_package_with_limited_admin_permissions_on_owner_app',\n  ),\n  appIsSuspended: equal('selectedAppNonConnectableReason', 'app_is_suspended'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"oauth__description-align\\\">\\n  {{#if @longDescription}}\\n    <p>{{@longDescription}}</p>\\n    <hr class=\\\"sp__hr\\\">\\n  {{/if}}\\n  <div class=\\\"t__body text-gray\\\" data-test-oauth-connect-description-heading>\\n    These\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://developers.intercom.com/building-apps/docs/setting-up-oauth#section-permissions\\\"\\n      @title=\\\"permissions\\\"\\n      @type=\\\"developer\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />\\n    will be granted to {{@appPackageName}}:\\n  </div>\\n  <ul>\\n    {{#each @scopes as |scope|}}\\n      <li class=\\\"t__body text-gray\\\" data-test-oauth-connect-description-scope=\\\"{{scope.id}}\\\">\\n        {{scope.name}}\\n      </li>\\n    {{/each}}\\n  </ul>\\n</div>\\n\", {\"contents\":\"<div class=\\\"oauth__description-align\\\">\\n  {{#if @longDescription}}\\n    <p>{{@longDescription}}</p>\\n    <hr class=\\\"sp__hr\\\">\\n  {{/if}}\\n  <div class=\\\"t__body text-gray\\\" data-test-oauth-connect-description-heading>\\n    These\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://developers.intercom.com/building-apps/docs/setting-up-oauth#section-permissions\\\"\\n      @title=\\\"permissions\\\"\\n      @type=\\\"developer\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />\\n    will be granted to {{@appPackageName}}:\\n  </div>\\n  <ul>\\n    {{#each @scopes as |scope|}}\\n      <li class=\\\"t__body text-gray\\\" data-test-oauth-connect-description-scope=\\\"{{scope.id}}\\\">\\n        {{scope.name}}\\n      </li>\\n    {{/each}}\\n  </ul>\\n</div>\\n\",\"moduleName\":\"embercom/components/oauth/scope-category/description.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/oauth/scope-category/description.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"u__pad__15 layout__box o__flexes-to-1 o__has-columns o__center\\\"\\n  data-test-oauth-connect-header\\n>\\n  <div class=\\\"u__mr__20\\\" data-test-oauth-connect-header-icon>\\n    <IcIllustrativeIcon @name={{@icon}} />\\n  </div>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <div class=\\\"oauth__accordion__header__title\\\">\\n      <h3 class=\\\"oauth__accordion__header__title-text t__h3\\\" data-test-oauth-connect-header-heading>\\n        {{@heading}}\\n      </h3>\\n    </div>\\n    <div class=\\\"t__body text-gray\\\" data-test-oauth-connect-header-subheading>\\n      {{@subheading}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"u__pad__15 layout__box o__flexes-to-1 o__has-columns o__center\\\"\\n  data-test-oauth-connect-header\\n>\\n  <div class=\\\"u__mr__20\\\" data-test-oauth-connect-header-icon>\\n    <IcIllustrativeIcon @name={{@icon}} />\\n  </div>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <div class=\\\"oauth__accordion__header__title\\\">\\n      <h3 class=\\\"oauth__accordion__header__title-text t__h3\\\" data-test-oauth-connect-header-heading>\\n        {{@heading}}\\n      </h3>\\n    </div>\\n    <div class=\\\"t__body text-gray\\\" data-test-oauth-connect-header-subheading>\\n      {{@subheading}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/oauth/scope-category/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/oauth/scope-category/header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__centered-text-block u__mb__10\\\">\\n  <span class=\\\"t__h2\\\" data-test-workspace-picker-heading>\\n    <span class=\\\"oauth__bold\\\">\\n      {{appPackageName}}\\n    </span>\\n    wants to access\\n  </span>\\n  <IcSelect\\n    class=\\\"u__display-inline-block\\\"\\n    @mode=\\\"inline\\\"\\n    @tagName=\\\"span\\\"\\n    @buttonIsSubtle={{true}}\\n    @items={{apps}}\\n    @selectedValue={{selectedAppId}}\\n    @onSelectItem={{action (mut selectedAppId)}} as |select|\\n  >\\n    <select.opener>\\n      <span\\n        class=\\\"t__h2 u__pointer-cursor oauth__bold\\\"\\n        data-test-workspace-picker-workspace-name\\n      >\\n        {{select.selectedItem.text}}\\n      </span>\\n      <span class=\\\"u__pointer-cursor\\\">\\n        {{ic-interface-icon \\\"small-down-arrow\\\"}}\\n      </span>\\n    </select.opener>\\n  </IcSelect>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__centered-text-block u__mb__10\\\">\\n  <span class=\\\"t__h2\\\" data-test-workspace-picker-heading>\\n    <span class=\\\"oauth__bold\\\">\\n      {{appPackageName}}\\n    </span>\\n    wants to access\\n  </span>\\n  <IcSelect\\n    class=\\\"u__display-inline-block\\\"\\n    @mode=\\\"inline\\\"\\n    @tagName=\\\"span\\\"\\n    @buttonIsSubtle={{true}}\\n    @items={{apps}}\\n    @selectedValue={{selectedAppId}}\\n    @onSelectItem={{action (mut selectedAppId)}} as |select|\\n  >\\n    <select.opener>\\n      <span\\n        class=\\\"t__h2 u__pointer-cursor oauth__bold\\\"\\n        data-test-workspace-picker-workspace-name\\n      >\\n        {{select.selectedItem.text}}\\n      </span>\\n      <span class=\\\"u__pointer-cursor\\\">\\n        {{ic-interface-icon \\\"small-down-arrow\\\"}}\\n      </span>\\n    </select.opener>\\n  </IcSelect>\\n</div>\\n\",\"moduleName\":\"embercom/components/oauth/workspace-picker.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/oauth/workspace-picker.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  tagName: 'span',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{@onModalClose}}\\n  @width=\\\"m\\\"\\n  @isOpen={{@scheduleToDelete}}\\n  @focusElement=\\\"body\\\" as |modal|\\n>\\n  <modal.header @title=\\\"Delete these custom office hours?\\\" />\\n  <modal.body>\\n    <IcContent>\\n      {{#if this.hasDependentRules}}\\n        <Paragraph>You cannot delete these custom hours ({{@scheduleToDelete.name}}) as they are used in rules.</Paragraph>\\n      {{else}}\\n        <Paragraph data-test-office-hours-confirm-delete>When you delete these custom hours ({{@scheduleToDelete.name}}), everything below will default to:</Paragraph>\\n        <Paragraph>\\n          <Text @styling=\\\"muted\\\" data-test-office-hours-default-schedule>{{@defaultSchedule.labelWithTimezone}}</Text>\\n        </Paragraph>\\n      {{/if}}\\n\\n      <hr/>\\n      <Paragraph data-test-office-hours-dependent-objects>\\n        {{#each this.groupedDependentObjects as |items|}}\\n          {{#each items as |object index|}}\\n            {{#if (eq index 0)}}\\n              <div class=\\\"mb-1 mt-3\\\">\\n                <Text @styling=\\\"muted\\\" class=\\\"mb-1 mt-1\\\">{{object.label}}</Text>\\n              </div>\\n            {{/if}}\\n            <div class=\\\"mb-1\\\">\\n              <LinkTo @route={{concat \\\"apps.app.\\\" object.route}} target=\\\"_blank\\\">\\n                {{object.name}}\\n              </LinkTo>\\n            </div>\\n          {{/each}}\\n        {{/each}}\\n      </Paragraph>\\n    </IcContent>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Delete hours\\\"\\n      type=\\\"destructive\\\"\\n      disabled=this.hasDependentRules\\n      action=(perform @deleteSchedule)\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=@onModalClose\\n    }}\\n  />\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{@onModalClose}}\\n  @width=\\\"m\\\"\\n  @isOpen={{@scheduleToDelete}}\\n  @focusElement=\\\"body\\\" as |modal|\\n>\\n  <modal.header @title=\\\"Delete these custom office hours?\\\" />\\n  <modal.body>\\n    <IcContent>\\n      {{#if this.hasDependentRules}}\\n        <Paragraph>You cannot delete these custom hours ({{@scheduleToDelete.name}}) as they are used in rules.</Paragraph>\\n      {{else}}\\n        <Paragraph data-test-office-hours-confirm-delete>When you delete these custom hours ({{@scheduleToDelete.name}}), everything below will default to:</Paragraph>\\n        <Paragraph>\\n          <Text @styling=\\\"muted\\\" data-test-office-hours-default-schedule>{{@defaultSchedule.labelWithTimezone}}</Text>\\n        </Paragraph>\\n      {{/if}}\\n\\n      <hr/>\\n      <Paragraph data-test-office-hours-dependent-objects>\\n        {{#each this.groupedDependentObjects as |items|}}\\n          {{#each items as |object index|}}\\n            {{#if (eq index 0)}}\\n              <div class=\\\"mb-1 mt-3\\\">\\n                <Text @styling=\\\"muted\\\" class=\\\"mb-1 mt-1\\\">{{object.label}}</Text>\\n              </div>\\n            {{/if}}\\n            <div class=\\\"mb-1\\\">\\n              <LinkTo @route={{concat \\\"apps.app.\\\" object.route}} target=\\\"_blank\\\">\\n                {{object.name}}\\n              </LinkTo>\\n            </div>\\n          {{/each}}\\n        {{/each}}\\n      </Paragraph>\\n    </IcContent>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Delete hours\\\"\\n      type=\\\"destructive\\\"\\n      disabled=this.hasDependentRules\\n      action=(perform @deleteSchedule)\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=@onModalClose\\n    }}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/office-hours/confirm-schedule-delete.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/office-hours/confirm-schedule-delete.hbs\"}});\nimport Component from '@glimmer/component';\nimport { groupBy } from 'embercom/helpers/group-by';\n\nexport default class ConfirmScheduleDelete extends Component {\n  get hasDependentRules() {\n    return this.args.dependentObjects.reduce((acc, val) => acc || val.label === 'Rule', false);\n  }\n\n  get groupedDependentObjects() {\n    return groupBy(this.args.dependentObjects, item => item.label);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcModal\\n  data-test-office-hours-create-or-update-modal\\n  @onModalClose={{action \\\"closeModal\\\"}}\\n  @width=\\\"m\\\"\\n  @isOpen={{and @showModal (not this.setDefaultTimeZone.isProcessing)}}\\n  @focusElement=\\\"body\\\" as |modal|\\n>\\n  <OfficeHours::ModalForm\\n    @modal={{modal}}\\n    @isEditingSchedule={{this.isEditingSchedule}}\\n    @schedule={{this.schedule}}\\n    @saveDisabled={{this.saveDisabled}}\\n    @saveSchedule={{this.saveSchedule}}\\n    @closeModal={{action \\\"closeModal\\\"}}\\n    @addRow={{action \\\"addRow\\\"}}\\n    @removeRow={{action \\\"removeRow\\\"}}\\n    @app={{this.app}}\\n  />\\n</IcModal>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcModal\\n  data-test-office-hours-create-or-update-modal\\n  @onModalClose={{action \\\"closeModal\\\"}}\\n  @width=\\\"m\\\"\\n  @isOpen={{and @showModal (not this.setDefaultTimeZone.isProcessing)}}\\n  @focusElement=\\\"body\\\" as |modal|\\n>\\n  <OfficeHours::ModalForm\\n    @modal={{modal}}\\n    @isEditingSchedule={{this.isEditingSchedule}}\\n    @schedule={{this.schedule}}\\n    @saveDisabled={{this.saveDisabled}}\\n    @saveSchedule={{this.saveSchedule}}\\n    @closeModal={{action \\\"closeModal\\\"}}\\n    @addRow={{action \\\"addRow\\\"}}\\n    @removeRow={{action \\\"removeRow\\\"}}\\n    @app={{this.app}}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/office-hours/create-or-update-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/office-hours/create-or-update-modal.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { readOnly, not } from '@ember/object/computed';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport { typeOf, isEmpty } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport { createDefaultIntervalGroup } from 'embercom/lib/office-hours/interval-group';\n\nexport default Component.extend({\n  store: service(),\n  notificationsService: service(),\n  tagName: '',\n  schedule: null,\n  dependentObjects: null,\n  appService: service(),\n  app: readOnly('appService.app'),\n  isEditingSchedule: not('scheduleToUpdate.isNew'),\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    if (this.schedule !== this.scheduleToUpdate) {\n      this.set('schedule', this.scheduleToUpdate);\n      this.setDefaultTimeZone.perform();\n    }\n  },\n\n  saveDisabled: computed(\n    'schedule.name',\n    'schedule.intervalGroups.[]',\n    'schedule.intervalGroupsAreDirty',\n    'schedule.intervalsWereAddedOrRemoved',\n    'schedule.hasInvalidInterval',\n    'schedule.hasDirtyAttributes',\n    function() {\n      if (isEmpty(this.schedule.name) || this.schedule.hasInvalidInterval) {\n        return true;\n      }\n      if (this.schedule.intervalGroupsAreDirty || this.schedule.intervalsWereAddedOrRemoved) {\n        return false;\n      }\n      return !this.schedule.hasDirtyAttributes;\n    },\n  ),\n\n  closeModal() {\n    this.set('dependentObjects', null);\n    if (typeOf(this.onModalClose) === 'function') {\n      this.onModalClose();\n    }\n  },\n\n  saveModal() {\n    if (typeOf(this.onModalSave) === 'function') {\n      this.onModalSave(this.schedule);\n    }\n  },\n\n  setDefaultTimeZone: task(function*() {\n    if (this.scheduleToUpdate && !this.scheduleToUpdate.timeZoneName) {\n      let generalSettings = yield this.store.findRecord('general-app-settings', this.app.id);\n      this.set('scheduleToUpdate.timeZoneName', generalSettings.time_zone_name);\n    }\n  }),\n\n  saveSchedule: task(function*() {\n    let timeIntervals = this.schedule.intervalGroups.map(group => group.timeIntervals.flat());\n    this.set('schedule.timeIntervals', timeIntervals.flat());\n    try {\n      yield this.schedule.save();\n      this.closeModal();\n      this.saveModal();\n      this.notificationsService.notifyConfirmation('Your office hours have been saved');\n    } catch (err) {\n      this.notificationsService.notifyError(\n        err && err.jqXHR && err.jqXHR.responseJSON && err.jqXHR.responseJSON.errors\n          ? err.jqXHR.responseJSON.errors\n          : 'Hmm, something went wrong saving your office hours schedule.',\n      );\n    }\n  }),\n\n  actions: {\n    closeModal() {\n      this.closeModal();\n    },\n    addRow() {\n      this.schedule.intervalGroups.addObject(createDefaultIntervalGroup(this.store));\n    },\n    removeRow(row) {\n      this.schedule.intervalGroups.removeObject(row);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcCard\\n  @isInteractive={{true}}\\n  {{on \\\"click\\\" (fn @openSettingsModal @defaultSchedule)}}\\n  data-test-default-hours-card=\\\"true\\\"\\n>\\n  <div class=\\\"flex flex-row items-center gap-4\\\">\\n    <IcIllustrativeIcon @name=\\\"delivery-window\\\" />\\n    <div class=\\\"flex flex-col flex-1 gap-1\\\">\\n      <Heading @size=\\\"3\\\">{{@defaultSchedule.label}}</Heading>\\n      <Paragraph @styling=\\\"muted\\\">{{@defaultSchedule.formattedTimezone}}</Paragraph>\\n    </div>\\n  </div>\\n</IcCard>\", {\"contents\":\"<IcCard\\n  @isInteractive={{true}}\\n  {{on \\\"click\\\" (fn @openSettingsModal @defaultSchedule)}}\\n  data-test-default-hours-card=\\\"true\\\"\\n>\\n  <div class=\\\"flex flex-row items-center gap-4\\\">\\n    <IcIllustrativeIcon @name=\\\"delivery-window\\\" />\\n    <div class=\\\"flex flex-col flex-1 gap-1\\\">\\n      <Heading @size=\\\"3\\\">{{@defaultSchedule.label}}</Heading>\\n      <Paragraph @styling=\\\"muted\\\">{{@defaultSchedule.formattedTimezone}}</Paragraph>\\n    </div>\\n  </div>\\n</IcCard>\",\"moduleName\":\"embercom/components/office-hours/default-schedule-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/office-hours/default-schedule-card.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<@modal.header @title={{this.modalTitle}} />\\n<@modal.body>\\n  <div class=\\\"flex flex-col gap-8\\\">\\n    <Form class=\\\"max-w-none\\\" as |form|>\\n      {{#unless @schedule.isDefault}}\\n        <form.Item @label=\\\"Name\\\" as |item|>\\n          <item.Input @value={{@schedule.name}} data-test-office-hours-name-input={{true}} disabled={{@schedule.isDefault}} />\\n        </form.Item>\\n        <form.Item @label=\\\"Time Zone\\\" as |item|>\\n          <IcSelect\\n            @items={{this.timeZoneOptions}}\\n            @selectedValue={{@schedule.timeZoneName}}\\n            @filterPlaceholder=\\\"Choose the time zone\\\"\\n            @onSelectItem={{action (mut @schedule.timeZoneName)}}\\n            data-test-office-hours-time-zone\\n          />\\n        </form.Item>\\n      {{/unless}}\\n      <form.Item @label={{if @schedule.isDefault \\\"\\\" \\\"Schedule\\\"}} as |item|>\\n        <Text @styling='muted'>\\n          {{#if @schedule.isDefault}}\\n            Hours are set in your workspace’s timezone, <LinkTo @route=\\\"apps.app.settings.general\\\" @model={{@app}}>{{@schedule.formattedTimezone}}</LinkTo>.\\n          {{/if}}\\n          If you don’t specify hours here, we'll default to an always-on (24/7) schedule.\\n        </Text>\\n        <OfficeHours::TimeInterval\\n          @intervalGroups={{@schedule.intervalGroups}}\\n          @addRow={{@addRow}}\\n          @removeRow={{@removeRow}} />\\n      </form.Item>\\n    </Form>\\n  </div>\\n</@modal.body>\\n<@modal.footer\\n  @primaryButton={{hash\\n    label=(if @saveSchedule.isRunning \\\"Saving...\\\" \\\"Save\\\")\\n    disabled=@saveDisabled\\n    action=(perform @saveSchedule)\\n  }}\\n  @secondaryButton={{hash\\n    label=\\\"Cancel\\\"\\n    action=@closeModal\\n  }}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<@modal.header @title={{this.modalTitle}} />\\n<@modal.body>\\n  <div class=\\\"flex flex-col gap-8\\\">\\n    <Form class=\\\"max-w-none\\\" as |form|>\\n      {{#unless @schedule.isDefault}}\\n        <form.Item @label=\\\"Name\\\" as |item|>\\n          <item.Input @value={{@schedule.name}} data-test-office-hours-name-input={{true}} disabled={{@schedule.isDefault}} />\\n        </form.Item>\\n        <form.Item @label=\\\"Time Zone\\\" as |item|>\\n          <IcSelect\\n            @items={{this.timeZoneOptions}}\\n            @selectedValue={{@schedule.timeZoneName}}\\n            @filterPlaceholder=\\\"Choose the time zone\\\"\\n            @onSelectItem={{action (mut @schedule.timeZoneName)}}\\n            data-test-office-hours-time-zone\\n          />\\n        </form.Item>\\n      {{/unless}}\\n      <form.Item @label={{if @schedule.isDefault \\\"\\\" \\\"Schedule\\\"}} as |item|>\\n        <Text @styling='muted'>\\n          {{#if @schedule.isDefault}}\\n            Hours are set in your workspace’s timezone, <LinkTo @route=\\\"apps.app.settings.general\\\" @model={{@app}}>{{@schedule.formattedTimezone}}</LinkTo>.\\n          {{/if}}\\n          If you don’t specify hours here, we'll default to an always-on (24/7) schedule.\\n        </Text>\\n        <OfficeHours::TimeInterval\\n          @intervalGroups={{@schedule.intervalGroups}}\\n          @addRow={{@addRow}}\\n          @removeRow={{@removeRow}} />\\n      </form.Item>\\n    </Form>\\n  </div>\\n</@modal.body>\\n<@modal.footer\\n  @primaryButton={{hash\\n    label=(if @saveSchedule.isRunning \\\"Saving...\\\" \\\"Save\\\")\\n    disabled=@saveDisabled\\n    action=(perform @saveSchedule)\\n  }}\\n  @secondaryButton={{hash\\n    label=\\\"Cancel\\\"\\n    action=@closeModal\\n  }}\\n/>\\n\",\"moduleName\":\"embercom/components/office-hours/modal-form.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/office-hours/modal-form.hbs\"}});\nimport IntercomTimezoneOptions from 'embercom/lib/intercom-timezone-options';\nimport Component from '@glimmer/component';\n\nexport default class ModalForm extends Component {\n  get modalTitle() {\n    if (this.args.isEditingSchedule) {\n      return `Edit ${this.args.schedule.isDefault ? 'default' : 'custom'} office hours`;\n    } else {\n      return 'New office hours';\n    }\n  }\n\n  get timeZoneOptions() {\n    let timeZones = IntercomTimezoneOptions.map(item => ({\n      value: item.name,\n      text: item.description,\n    }));\n\n    if (this.args.schedule.timeZoneName) {\n      let scheduleTimeZoneInList = timeZones.find(\n        ({ value }) => value === this.args.schedule.timeZoneName,\n      );\n\n      if (!scheduleTimeZoneInList) {\n        return [\n          ...timeZones,\n          {\n            value: this.args.schedule.timeZoneName,\n            text: this.args.schedule.timeZoneName,\n          },\n        ];\n      }\n    }\n\n    return timeZones;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTable @data={{filter-by \\\"isDefault\\\" false @schedules}} @columns={{array\\n    (hash label=\\\"Name\\\" valuePath=\\\"name\\\" width=\\\"30%\\\")\\n    (hash label=\\\"Time zone\\\" valuePath=\\\"timeZone\\\")\\n    (hash label=\\\"Scheduled hours\\\" valuePath=\\\"label\\\")\\n    (hash label=\\\"Associated teams\\\" valuePath=\\\"teamsCount\\\")\\n  }} as |table|>\\n  <table.rows as |row index|>\\n    <row.actionCell\\n      @valuePath=\\\"name\\\"\\n      @rowActions={{array\\n        (hash\\n          icon=\\\"edit\\\"\\n          tooltip=\\\"Edit and add teams\\\"\\n          onClick=(fn @openSettingsModal row.data)\\n        )\\n        (hash\\n          secondaryType=\\\"destructive\\\"\\n          label=\\\"Delete\\\"\\n          onClick=(perform @attemptDeleteSchedule row.data)\\n          disabled=row.data.isDefault\\n        )\\n      }}\\n    >\\n      {{row.data.name}}\\n    </row.actionCell>\\n    <row.cell @valuePath=\\\"timeZone\\\">\\n      {{row.data.formattedTimezone}}\\n    </row.cell>\\n    <row.cell @valuePath=\\\"label\\\">\\n      {{row.data.label}}\\n    </row.cell>\\n    <row.cell @valuePath=\\\"teamsCount\\\">\\n      <LinkTo\\n        @route=\\\"apps.app.settings.teams\\\"\\n        class=\\\"t__em-link\\\"\\n      >\\n        {{unless row.data.isDefault (pluralize row.data.linkedTeamIds.length 'team')}}\\n      </LinkTo>\\n    </row.cell>\\n  </table.rows>\\n</IcTable>\", {\"contents\":\"<IcTable @data={{filter-by \\\"isDefault\\\" false @schedules}} @columns={{array\\n    (hash label=\\\"Name\\\" valuePath=\\\"name\\\" width=\\\"30%\\\")\\n    (hash label=\\\"Time zone\\\" valuePath=\\\"timeZone\\\")\\n    (hash label=\\\"Scheduled hours\\\" valuePath=\\\"label\\\")\\n    (hash label=\\\"Associated teams\\\" valuePath=\\\"teamsCount\\\")\\n  }} as |table|>\\n  <table.rows as |row index|>\\n    <row.actionCell\\n      @valuePath=\\\"name\\\"\\n      @rowActions={{array\\n        (hash\\n          icon=\\\"edit\\\"\\n          tooltip=\\\"Edit and add teams\\\"\\n          onClick=(fn @openSettingsModal row.data)\\n        )\\n        (hash\\n          secondaryType=\\\"destructive\\\"\\n          label=\\\"Delete\\\"\\n          onClick=(perform @attemptDeleteSchedule row.data)\\n          disabled=row.data.isDefault\\n        )\\n      }}\\n    >\\n      {{row.data.name}}\\n    </row.actionCell>\\n    <row.cell @valuePath=\\\"timeZone\\\">\\n      {{row.data.formattedTimezone}}\\n    </row.cell>\\n    <row.cell @valuePath=\\\"label\\\">\\n      {{row.data.label}}\\n    </row.cell>\\n    <row.cell @valuePath=\\\"teamsCount\\\">\\n      <LinkTo\\n        @route=\\\"apps.app.settings.teams\\\"\\n        class=\\\"t__em-link\\\"\\n      >\\n        {{unless row.data.isDefault (pluralize row.data.linkedTeamIds.length 'team')}}\\n      </LinkTo>\\n    </row.cell>\\n  </table.rows>\\n</IcTable>\",\"moduleName\":\"embercom/components/office-hours/schedule-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/office-hours/schedule-list.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { setDiff, filter } from '@ember/object/computed';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  tagName: '',\n  store: service(),\n  teams: [],\n  selectedTeams: filter('teams', ['selectedTeamIds.[]'], function(team) {\n    return this.selectedTeamIds.includes(team.id);\n  }),\n  selectableTeams: setDiff('teams', 'selectedTeams'),\n  groupList: computed('selectableTeams', function() {\n    let teamItems = this.selectableTeams.map(team => {\n      return {\n        text: team.name,\n        value: team.id,\n        component: 'office-hours/team-selector-dropdown-item',\n        componentAttrs: {\n          emoji: team.emoji,\n          scheduleName: team.get('currentSchedule.name'),\n        },\n      };\n    });\n    return [{ isFilterable: true, items: teamItems }];\n  }),\n  actions: {\n    onSelectTeam(teamId) {\n      // add team id to selected schedule\n      let newSelectedTeamIds = this.selectedTeamIds.slice(0);\n      newSelectedTeamIds.pushObject(teamId);\n      this.set('selectedTeamIds', newSelectedTeamIds);\n    },\n    onRemoveTeam(teamId) {\n      let newSelectedTeamIds = this.selectedTeamIds.slice(0);\n      newSelectedTeamIds.removeObject(teamId);\n      this.set('selectedTeamIds', newSelectedTeamIds);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  tagName: '',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"layout__box o__has-columns o__centers-vertically\\\" data-test-time-interval-row>\\n  <span class=\\\"twk__time-period-row-periods\\\" data-test-time-interval-row-interval>\\n    <IcSelect @items={{this.availablePeriods}} @selectedValue={{this.row.period}}\\n      @onSelectItem={{action \\\"periodSelectionChanged\\\"}} @filterPlaceholder=\\\"Choose period\\\" @mode=\\\"block\\\" />\\n  </span>\\n  <span class=\\\"twk__time-period-row-times\\\" data-test-time-interval-row-start-time>\\n    <IcSelect @items={{this.availableStartTimes}} @selectedValue={{this.row.startMinute}}\\n      @onSelectItem={{action \\\"updateStartTimeSelection\\\"}} @filterPlaceholder=\\\"Choose start time\\\"\\n      @mode=\\\"block\\\" />\\n  </span>\\n  <span class=\\\"twk__time-period-row-divider t__light-text\\\">\\n    to\\n  </span>\\n  <span class=\\\"twk__time-period-row-times\\\" data-test-time-interval-row-end-time>\\n    <IcSelect @items={{this.availableEndTimes}} @selectedValue={{this.row.endMinute}}\\n      @onSelectItem={{action \\\"updateEndTimeSelection\\\"}} @filterPlaceholder=\\\"Choose end time\\\" @mode=\\\"block\\\" />\\n  </span>\\n  <span class=\\\"quick-action o__destructive\\\" data-test-time-interval-row-delete {{on 'click' (fn this.removeRow this.row)}}>\\n    {{ic-interface-icon \\\"trash\\\" color=\\\"black\\\" solo=true}}\\n  </span>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"layout__box o__has-columns o__centers-vertically\\\" data-test-time-interval-row>\\n  <span class=\\\"twk__time-period-row-periods\\\" data-test-time-interval-row-interval>\\n    <IcSelect @items={{this.availablePeriods}} @selectedValue={{this.row.period}}\\n      @onSelectItem={{action \\\"periodSelectionChanged\\\"}} @filterPlaceholder=\\\"Choose period\\\" @mode=\\\"block\\\" />\\n  </span>\\n  <span class=\\\"twk__time-period-row-times\\\" data-test-time-interval-row-start-time>\\n    <IcSelect @items={{this.availableStartTimes}} @selectedValue={{this.row.startMinute}}\\n      @onSelectItem={{action \\\"updateStartTimeSelection\\\"}} @filterPlaceholder=\\\"Choose start time\\\"\\n      @mode=\\\"block\\\" />\\n  </span>\\n  <span class=\\\"twk__time-period-row-divider t__light-text\\\">\\n    to\\n  </span>\\n  <span class=\\\"twk__time-period-row-times\\\" data-test-time-interval-row-end-time>\\n    <IcSelect @items={{this.availableEndTimes}} @selectedValue={{this.row.endMinute}}\\n      @onSelectItem={{action \\\"updateEndTimeSelection\\\"}} @filterPlaceholder=\\\"Choose end time\\\" @mode=\\\"block\\\" />\\n  </span>\\n  <span class=\\\"quick-action o__destructive\\\" data-test-time-interval-row-delete {{on 'click' (fn this.removeRow this.row)}}>\\n    {{ic-interface-icon \\\"trash\\\" color=\\\"black\\\" solo=true}}\\n  </span>\\n</div>\\n\",\"moduleName\":\"embercom/components/office-hours/time-interval-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/office-hours/time-interval-row.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport TimePeriod from 'embercom/models/settings/time-period';\nimport TimesByHalfHour from 'embercom/models/data/times-by-half-hour';\nimport { DAY_IN_MINUTES } from 'embercom/components/matching-system/matching-timetable-editor';\nimport TimePeriods from 'embercom/models/data/time-periods';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  tagName: '',\n  store: service(),\n  availablePeriods: computed(\n    'row.period',\n    'row.timeIntervals.@each.{startMinute,endMinute}',\n    function() {\n      if (!TimePeriods.map(period => period.value).includes(this.row.period)) {\n        let periods = TimePeriods.slice();\n        periods.push({ text: this.row.period, value: this.row.period });\n        return periods;\n      }\n      return TimePeriods;\n    },\n  ),\n  availableStartTimes: TimesByHalfHour.slice(0, TimesByHalfHour.length - 1),\n  availableEndTimes: computed('row.startMinute', function() {\n    return TimesByHalfHour.filter(({ value }) => value > this.row.startMinute);\n  }),\n  actions: {\n    periodSelectionChanged(value) {\n      let periodValues = TimePeriod.periodValueMapping[value];\n      let newIntervals = [];\n      for (let day = periodValues.startDay; day <= periodValues.endDay; day++) {\n        let addition = DAY_IN_MINUTES * day;\n        let interval = this.store.createFragment('matching-system/timetable/time-interval', {\n          startMinute: this.row.startMinute + addition,\n          endMinute: this.row.endMinute + addition,\n        });\n        newIntervals.pushObject(interval);\n      }\n      this.set('row.timeIntervals', newIntervals);\n    },\n    updatePeriodsOnSchedule(row, newIntervals) {\n      this.set('row.timeIntervals', newIntervals);\n    },\n    updateStartTimeSelection(value) {\n      this.set('row.startMinute', value);\n      if (this.row.endMinute <= value) {\n        this.set('row.endMinute', undefined);\n      }\n      this.row.timeIntervals.forEach(interval => {\n        interval.set('startMinute', value + interval.startMinuteOffset);\n      });\n    },\n    updateEndTimeSelection(value) {\n      this.set('row.endMinute', value);\n      this.row.timeIntervals.forEach(interval => {\n        interval.set('endMinute', value + interval.endMinuteOffset);\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Form as |form|>\\n  <form.Item>\\n    {{#each @intervalGroups as |row|}}\\n      <OfficeHours::TimeIntervalRow\\n        @row={{row}}\\n        @removeRow={{fn @removeRow row}}\\n      />\\n    {{/each}}\\n    <a\\n      data-test-add-time-period\\n      id=\\\"add-time-period-row-button\\\"\\n      class=\\\"btn__tertiary u__display-inline-block\\\"\\n      {{on 'click' @addRow}}\\n    >\\n    {{ic-interface-icon \\\"new\\\" color=\\\"blue\\\"}} Add hours\\n    </a>\\n  </form.Item>\\n</Form>\\n\", {\"contents\":\"<Form as |form|>\\n  <form.Item>\\n    {{#each @intervalGroups as |row|}}\\n      <OfficeHours::TimeIntervalRow\\n        @row={{row}}\\n        @removeRow={{fn @removeRow row}}\\n      />\\n    {{/each}}\\n    <a\\n      data-test-add-time-period\\n      id=\\\"add-time-period-row-button\\\"\\n      class=\\\"btn__tertiary u__display-inline-block\\\"\\n      {{on 'click' @addRow}}\\n    >\\n    {{ic-interface-icon \\\"new\\\" color=\\\"blue\\\"}} Add hours\\n    </a>\\n  </form.Item>\\n</Form>\\n\",\"moduleName\":\"embercom/components/office-hours/time-interval.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/office-hours/time-interval.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class TimeInterval extends Component {}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcConfirmModal\\n  @title=\\\"Add inbox seats?\\\"\\n  @onModalClose={{action (toggle \\\"showModal\\\" this)}}\\n  @confirmLabel=\\\"Invite and fill seats\\\"\\n  @confirmAction={{perform sendInvites}}\\n  @isOpen={{showModal}}\\n>\\n  {{#if emailsFillingFreeSeats}}\\n    {{emailsFillingFreeSeatsString}} will fill your available inbox {{pluralize emailsFillingFreeSeats.length \\\"seat\\\" without-count=true}}.\\n    {{#if seatsToBeCharged}}\\n      The other\\n      {{if (gt seatsToBeCharged 1) seatsToBeCharged}}\\n      inbox\\n      {{pluralize seatsToBeCharged \\\"seat\\\" without-count=true}}\\n      will add\\n      {{formattedTotalToBeCharged}}\\n      to your monthly subscription.\\n    {{/if}}\\n  {{else if seatsToBeCharged}}\\n    These inbox seat additions will add\\n    {{formattedTotalToBeCharged}}\\n    to your monthly subscription.\\n  {{/if}}\\n</IcConfirmModal>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcConfirmModal\\n  @title=\\\"Add inbox seats?\\\"\\n  @onModalClose={{action (toggle \\\"showModal\\\" this)}}\\n  @confirmLabel=\\\"Invite and fill seats\\\"\\n  @confirmAction={{perform sendInvites}}\\n  @isOpen={{showModal}}\\n>\\n  {{#if emailsFillingFreeSeats}}\\n    {{emailsFillingFreeSeatsString}} will fill your available inbox {{pluralize emailsFillingFreeSeats.length \\\"seat\\\" without-count=true}}.\\n    {{#if seatsToBeCharged}}\\n      The other\\n      {{if (gt seatsToBeCharged 1) seatsToBeCharged}}\\n      inbox\\n      {{pluralize seatsToBeCharged \\\"seat\\\" without-count=true}}\\n      will add\\n      {{formattedTotalToBeCharged}}\\n      to your monthly subscription.\\n    {{/if}}\\n  {{else if seatsToBeCharged}}\\n    These inbox seat additions will add\\n    {{formattedTotalToBeCharged}}\\n    to your monthly subscription.\\n  {{/if}}\\n</IcConfirmModal>\\n\",\"moduleName\":\"embercom/components/onboarding/add-inbox-seat-confirmation-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/add-inbox-seat-confirmation-modal.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport currencyFormatter from 'embercom/lib/currency-formatter';\n\nexport default Component.extend({\n  inviteEmailAddresses: [],\n  seatsToBeCharged: computed('inviteEmailAddresses.[]', 'seatsLeft', function() {\n    return Math.max(this.inviteEmailAddresses.length - this.seatsLeft, 0);\n  }),\n  formattedTotalToBeCharged: computed('pricePerSeat', 'seatsToBeCharged', function() {\n    let totalToBeCharged = this.pricePerSeat * this.seatsToBeCharged;\n    return currencyFormatter(totalToBeCharged);\n  }),\n  emailsFillingFreeSeats: computed('inviteEmailAddresses', 'seatsLeft', function() {\n    return this.inviteEmailAddresses.slice(0, this.seatsLeft);\n  }),\n  emailsFillingFreeSeatsString: computed('emailsFillingFreeSeats.[]', function() {\n    return this.emailsFillingFreeSeats.join(', ');\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if this.guide}}\\n  <div\\n    data-test-onboarding-home-banner-wrapper\\n    class=\\\"onboarding__home__banner__wrapper {{if this.showStepCompletedBanner \\\"o__green\\\"}}\\\"\\n  >\\n    {{#if this.levelCompleted}}\\n      <Onboarding::Home::Banners::LevelCompleted\\n        @bannerText={{this.externalStep.stepData.bannerText}}\\n        @hideBanner={{this.inRouteWithoutBanners}}\\n        @trackBannerClick={{action this.trackBannerClick this.externalStep}}\\n      />\\n    {{else if this.showStepCompletedBanner}}\\n      <Onboarding::Home::Banners::StepCompleted\\n        @stepIdentifier={{this.externalStep.identifier}}\\n        @bannerText={{this.externalStep.stepData.bannerText}}\\n        @nextStep={{this.externalStep.nextStep}}\\n        @hideBanner={{this.inRouteWithoutBanners}}\\n        @trackBannerClick={{action this.trackBannerClick this.externalStep}}\\n      />\\n    {{else if this.externalStep}}\\n      <Onboarding::Home::Banners::StepInProgress\\n        @bannerText={{this.externalStep.stepData.bannerText}}\\n        @productTourId={{if (and (has-feature \\\"hasOsa2OnboardingHome\\\") this.externalStep.stepData.osa2ProductTourId) this.externalStep.stepData.osa2ProductTourId this.externalStep.stepData.productTourId}}\\n        @hideBanner={{this.inRouteWithoutBanners}}\\n        @trackBannerClick={{action this.trackBannerClick this.externalStep}}\\n      />\\n    {{else if this.noBannersDismissed}}\\n      {{#if this.showInstallVisitorsMessengerStep}}\\n        <Onboarding::Home::Banners::StepAvailable\\n          @bannerText={{this.installVisitorsMessengerStep.stepData.bannerText}}\\n          @stepIdentifier={{this.installVisitorsMessengerStep.identifier}}\\n          @hideBanner={{or\\n            this.inRouteWithoutBanners\\n            this.dismissInstallVisitorsMessengerBanner.isRunning\\n          }}\\n          @dismissBannerTask={{this.dismissInstallVisitorsMessengerBanner}}\\n          @trackBannerClick={{action this.trackBannerClick this.installVisitorsMessengerStep}}\\n        />\\n      {{else if this.showInstallLoggedInMessengerStep}}\\n        <Onboarding::Home::Banners::StepAvailable\\n          @bannerText={{this.installLoggedInMessengerStep.stepData.bannerText}}\\n          @stepIdentifier={{this.installLoggedInMessengerStep.identifier}}\\n          @hideBanner={{or\\n            this.inRouteWithoutBanners\\n            this.dismissInstallLoggedInMessengerBanner.isRunning\\n          }}\\n          @dismissBannerTask={{this.dismissInstallLoggedInMessengerBanner}}\\n          @trackBannerClick={{action this.trackBannerClick this.installLoggedInMessengerStep}}\\n        />\\n      {{else if this.showInstallMessengerStep}}\\n        <Onboarding::Home::Banners::StepAvailable\\n          @bannerText={{this.installMessengerStep.stepData.bannerText}}\\n          @stepIdentifier={{this.installMessengerStep.identifier}}\\n          @hideBanner={{or\\n            this.inRouteWithoutBanners\\n            this.dismissInstallMessengerBanner.isRunning\\n          }}\\n          @dismissBannerTask={{this.dismissInstallMessengerBanner}}\\n          @trackBannerClick={{action this.trackBannerClick this.installMessengerStep}}\\n        />\\n      {{else if this.showInviteTeammatesStep}}\\n        <Onboarding::Home::Banners::StepAvailable\\n          @bannerText={{this.inviteTeammatesStep.stepData.bannerText}}\\n          @stepIdentifier={{this.inviteTeammatesStep.identifier}}\\n          @hideBanner={{or\\n            this.inRouteWithoutBanners\\n            this.dismissInviteTeammatesBanner.isRunning\\n          }}\\n          @dismissBannerTask={{this.dismissInviteTeammatesBanner}}\\n          @trackBannerClick={{action this.trackBannerClick this.inviteTeammatesStep}}\\n        />\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if this.guide}}\\n  <div\\n    data-test-onboarding-home-banner-wrapper\\n    class=\\\"onboarding__home__banner__wrapper {{if this.showStepCompletedBanner \\\"o__green\\\"}}\\\"\\n  >\\n    {{#if this.levelCompleted}}\\n      <Onboarding::Home::Banners::LevelCompleted\\n        @bannerText={{this.externalStep.stepData.bannerText}}\\n        @hideBanner={{this.inRouteWithoutBanners}}\\n        @trackBannerClick={{action this.trackBannerClick this.externalStep}}\\n      />\\n    {{else if this.showStepCompletedBanner}}\\n      <Onboarding::Home::Banners::StepCompleted\\n        @stepIdentifier={{this.externalStep.identifier}}\\n        @bannerText={{this.externalStep.stepData.bannerText}}\\n        @nextStep={{this.externalStep.nextStep}}\\n        @hideBanner={{this.inRouteWithoutBanners}}\\n        @trackBannerClick={{action this.trackBannerClick this.externalStep}}\\n      />\\n    {{else if this.externalStep}}\\n      <Onboarding::Home::Banners::StepInProgress\\n        @bannerText={{this.externalStep.stepData.bannerText}}\\n        @productTourId={{if (and (has-feature \\\"hasOsa2OnboardingHome\\\") this.externalStep.stepData.osa2ProductTourId) this.externalStep.stepData.osa2ProductTourId this.externalStep.stepData.productTourId}}\\n        @hideBanner={{this.inRouteWithoutBanners}}\\n        @trackBannerClick={{action this.trackBannerClick this.externalStep}}\\n      />\\n    {{else if this.noBannersDismissed}}\\n      {{#if this.showInstallVisitorsMessengerStep}}\\n        <Onboarding::Home::Banners::StepAvailable\\n          @bannerText={{this.installVisitorsMessengerStep.stepData.bannerText}}\\n          @stepIdentifier={{this.installVisitorsMessengerStep.identifier}}\\n          @hideBanner={{or\\n            this.inRouteWithoutBanners\\n            this.dismissInstallVisitorsMessengerBanner.isRunning\\n          }}\\n          @dismissBannerTask={{this.dismissInstallVisitorsMessengerBanner}}\\n          @trackBannerClick={{action this.trackBannerClick this.installVisitorsMessengerStep}}\\n        />\\n      {{else if this.showInstallLoggedInMessengerStep}}\\n        <Onboarding::Home::Banners::StepAvailable\\n          @bannerText={{this.installLoggedInMessengerStep.stepData.bannerText}}\\n          @stepIdentifier={{this.installLoggedInMessengerStep.identifier}}\\n          @hideBanner={{or\\n            this.inRouteWithoutBanners\\n            this.dismissInstallLoggedInMessengerBanner.isRunning\\n          }}\\n          @dismissBannerTask={{this.dismissInstallLoggedInMessengerBanner}}\\n          @trackBannerClick={{action this.trackBannerClick this.installLoggedInMessengerStep}}\\n        />\\n      {{else if this.showInstallMessengerStep}}\\n        <Onboarding::Home::Banners::StepAvailable\\n          @bannerText={{this.installMessengerStep.stepData.bannerText}}\\n          @stepIdentifier={{this.installMessengerStep.identifier}}\\n          @hideBanner={{or\\n            this.inRouteWithoutBanners\\n            this.dismissInstallMessengerBanner.isRunning\\n          }}\\n          @dismissBannerTask={{this.dismissInstallMessengerBanner}}\\n          @trackBannerClick={{action this.trackBannerClick this.installMessengerStep}}\\n        />\\n      {{else if this.showInviteTeammatesStep}}\\n        <Onboarding::Home::Banners::StepAvailable\\n          @bannerText={{this.inviteTeammatesStep.stepData.bannerText}}\\n          @stepIdentifier={{this.inviteTeammatesStep.identifier}}\\n          @hideBanner={{or\\n            this.inRouteWithoutBanners\\n            this.dismissInviteTeammatesBanner.isRunning\\n          }}\\n          @dismissBannerTask={{this.dismissInviteTeammatesBanner}}\\n          @trackBannerClick={{action this.trackBannerClick this.inviteTeammatesStep}}\\n        />\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/onboarding/home/banner-wrapper.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/banner-wrapper.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { and, not, or, readOnly, match } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport RouteRegexes from 'embercom/lib/route-regexes';\nimport { task, timeout } from 'ember-concurrency';\nimport ENV from 'embercom/config/environment';\nimport storage from 'embercom/vendor/intercom/storage';\n\nexport default Component.extend({\n  tagName: '',\n  appService: service(),\n  router: service(),\n  onboardingHomeService: service(),\n  guide: readOnly('onboardingHomeService.guide'),\n  onboardingHomeExternalStepService: service(),\n  intercomEventService: service(),\n\n  inRouteWithoutBanners: match(\n    'router.currentRouteName',\n    RouteRegexes.excludedFromOnboardingRoutes,\n  ),\n  externalStep: readOnly('onboardingHomeExternalStepService.externalStep'),\n  levelCompleted: readOnly('externalStep.level.allStepsComplete'),\n  levelNotCompleted: not('levelCompleted'),\n  showStepCompletedBanner: and(\n    'levelNotCompleted',\n    'onboardingHomeExternalStepService.externalStepIsCompletedOrPendingCompleted',\n  ),\n  installMessengerStep: readOnly('guide.installMessengerStep'),\n  installVisitorsMessengerStep: readOnly('guide.installVisitorsMessengerStep'),\n  installLoggedInMessengerStep: readOnly('guide.installLoggedInMessengerStep'),\n  inviteTeammatesStep: computed('guide.allSteps.@each.identifier', function() {\n    return this.guide.findStepByIdentifier('invite_teammates');\n  }),\n  showInstallMessengerStep: and(\n    'installMessengerStep.available',\n    'installMessengerTaskRunningOrBannerNotDismissed',\n  ),\n  showInstallVisitorsMessengerStep: and(\n    'installVisitorsMessengerStep.available',\n    'installVisitorsMessengerTaskRunningOrBannerNotDismissed',\n  ),\n  showInstallLoggedInMessengerStep: and(\n    'installLoggedInMessengerStep.available',\n    'installLoggedInMessengerTaskRunningOrBannerNotDismissed',\n  ),\n  showInviteTeammatesStep: and(\n    'inviteTeammatesStep.available',\n    'inviteTeammatesDismissTaskRunningOrBannerNotDismissed',\n  ),\n  installMessengerTaskRunningOrBannerNotDismissed: or(\n    'installMessengerBannerNotDismissed',\n    'dismissInstallMessengerBanner.isRunning',\n  ),\n  installVisitorsMessengerTaskRunningOrBannerNotDismissed: or(\n    'installVisitorsMessengerBannerNotDismissed',\n    'dismissInstallVisitorsMessengerBanner.isRunning',\n  ),\n  installLoggedInMessengerTaskRunningOrBannerNotDismissed: or(\n    'installLoggedInMessengerBannerNotDismissed',\n    'dismissInstallLoggedInMessengerBanner.isRunning',\n  ),\n  inviteTeammatesDismissTaskRunningOrBannerNotDismissed: or(\n    'inviteTeammatesBannerNotDismissed',\n    'dismissInviteTeammatesBanner.isRunning',\n  ),\n  installMessengerBannerDismissed: computed(\n    'installMessengerStep.identifier',\n    'dismissInstallMessengerBanner.lastSuccessful',\n    function() {\n      return this._isBannerDismissed(this.get('installMessengerStep.identifier'));\n    },\n  ),\n  installMessengerBannerNotDismissed: not('installMessengerBannerDismissed'),\n  installVisitorsMessengerBannerDismissed: computed(\n    'installVisitorsMessengerStep.identifier',\n    'dismissInstallVisitorsMessengerBanner.lastSuccessful',\n    function() {\n      return this._isBannerDismissed(this.get('installVisitorsMessengerStep.identifier'));\n    },\n  ),\n  installVisitorsMessengerBannerNotDismissed: not('installVisitorsMessengerBannerDismissed'),\n  installLoggedInMessengerBannerDismissed: computed(\n    'installLoggedInMessengerStep.identifier',\n    'dismissInstallLoggedInMessengerBanner.lastSuccessful',\n    function() {\n      return this._isBannerDismissed(this.get('installLoggedInMessengerStep.identifier'));\n    },\n  ),\n  installLoggedInMessengerBannerNotDismissed: not('installLoggedInMessengerBannerDismissed'),\n  inviteTeammatesBannerDismissed: computed(\n    'inviteTeammatesStep.identifier',\n    'dismissInviteTeammatesBanner.lastSuccessful',\n    function() {\n      return this._isBannerDismissed(this.inviteTeammatesStep.identifier);\n    },\n  ),\n  inviteTeammatesBannerNotDismissed: not('inviteTeammatesBannerDismissed'),\n  isAnyBannerDismissed: false,\n  noBannersDismissed: not('isAnyBannerDismissed'),\n\n  dismissInstallMessengerBanner: task(function*() {\n    yield this.dismissBanner.perform(this.installMessengerStep);\n  }).drop(),\n  dismissInstallVisitorsMessengerBanner: task(function*() {\n    yield this.dismissBanner.perform(this.installVisitorsMessengerStep);\n  }).drop(),\n  dismissInstallLoggedInMessengerBanner: task(function*() {\n    yield this.dismissBanner.perform(this.installLoggedInMessengerStep);\n  }).drop(),\n  dismissInviteTeammatesBanner: task(function*() {\n    yield this.dismissBanner.perform(this.inviteTeammatesStep);\n  }).drop(),\n  dismissBanner: task(function*(step) {\n    this.set('isAnyBannerDismissed', true);\n    storage.set(this._storageKeyForStep(step.identifier), true);\n    yield timeout(ENV.APP._7000MS);\n  }),\n  trackBannerClick(step, action, object) {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...step.analyticsMetadata,\n      action,\n      object,\n      context: 'onboarding_home_banner',\n    });\n  },\n\n  _storageKeyForStep(stepIdentifier) {\n    return `onboarding_home_banner_${this.appService.app.id}_${stepIdentifier}`;\n  },\n  _isBannerDismissed(stepIdentifier) {\n    return storage.get(this._storageKeyForStep(stepIdentifier));\n  },\n\n  init() {\n    this._super(...arguments);\n    if (!this.get('appService.app.id')) {\n      return;\n    }\n    this.onboardingHomeService.findOrLoadGuide(false);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"onboarding__home__banner__banner onboarding__home__banner__level-completed layout__box o__has-columns o__centers-all o__flexes-to-1 {{if showBackToHomeBanner \\\"o__back-to-home\\\"}} {{if hideBanner \\\"o__no-banner\\\"}}\\\"\\n  data-test-level-completed\\n>\\n  <Onboarding::Home::Banners::PhilHead\\n    @medium={{showBackToHomeBanner}}\\n    @hidePhil={{not showBackToHomeBanner}}\\n  />\\n  {{#unless showBackToHomeBanner}}\\n    <Onboarding::Home::Banners::PhilHead />\\n  {{/unless}}\\n  {{#if showBackToHomeBanner}}\\n    <span class=\\\"mr-4\\\">\\n      Explore more ways to get the most out of Intercom\\n    </span>\\n    <IcButton\\n      data-test-go-to-home-button\\n      @type=\\\"primary-on-blue\\\"\\n      @label=\\\"Continue setup\\\"\\n      @onClick={{action \\\"goToHome\\\"}}\\n    />\\n  {{else}}\\n    {{bannerText.completed}}\\n  {{/if}}\\n  <img\\n    class=\\\"ml-6 onboarding__home__banner__illustration {{unless showBackToHomeBanner \\\"opacity-0\\\"}}\\\"\\n    src=\\\"/assets/images/onboarding/home/guide-illustration.png\\\"\\n  />\\n</div>\\n{{#unless hideBanner}}\\n  <ConfettiRain />\\n{{/unless}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"onboarding__home__banner__banner onboarding__home__banner__level-completed layout__box o__has-columns o__centers-all o__flexes-to-1 {{if showBackToHomeBanner \\\"o__back-to-home\\\"}} {{if hideBanner \\\"o__no-banner\\\"}}\\\"\\n  data-test-level-completed\\n>\\n  <Onboarding::Home::Banners::PhilHead\\n    @medium={{showBackToHomeBanner}}\\n    @hidePhil={{not showBackToHomeBanner}}\\n  />\\n  {{#unless showBackToHomeBanner}}\\n    <Onboarding::Home::Banners::PhilHead />\\n  {{/unless}}\\n  {{#if showBackToHomeBanner}}\\n    <span class=\\\"mr-4\\\">\\n      Explore more ways to get the most out of Intercom\\n    </span>\\n    <IcButton\\n      data-test-go-to-home-button\\n      @type=\\\"primary-on-blue\\\"\\n      @label=\\\"Continue setup\\\"\\n      @onClick={{action \\\"goToHome\\\"}}\\n    />\\n  {{else}}\\n    {{bannerText.completed}}\\n  {{/if}}\\n  <img\\n    class=\\\"ml-6 onboarding__home__banner__illustration {{unless showBackToHomeBanner \\\"opacity-0\\\"}}\\\"\\n    src=\\\"/assets/images/onboarding/home/guide-illustration.png\\\"\\n  />\\n</div>\\n{{#unless hideBanner}}\\n  <ConfettiRain />\\n{{/unless}}\\n\",\"moduleName\":\"embercom/components/onboarding/home/banners/level-completed.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/banners/level-completed.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { task, timeout } from 'ember-concurrency';\nimport ENV from 'embercom/config/environment';\n\nexport default Component.extend({\n  tagName: '',\n  router: service(),\n  onboardingHomeService: service(),\n  guide: readOnly('onboardingHomeService.guide'),\n  showBackToHomeBanner: false,\n\n  init() {\n    this._super(...arguments);\n    this._transitionToBackToHomeBanner.perform();\n  },\n\n  _transitionToBackToHomeBanner: task(function*() {\n    yield timeout(ENV.APP._3000MS);\n    this.set('showBackToHomeBanner', true);\n  }).restartable(),\n\n  actions: {\n    goToHome() {\n      this.trackBannerClick('clicked', 'level_completed_banner');\n      return this.router.transitionTo('apps.app.home');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"u__relative onboarding__home__banner__phil-wrapper {{if @medium \\\"o__medium\\\"}} {{if @hidePhil \\\"opacity-0\\\"}}\\\"\\n  data-test-phil-wrapper\\n>\\n  <Onboarding::Home::GuideAssistantComponent\\n    @sizeClass={{if @medium \\\"o__medium\\\" \\\"o__small\\\"}}\\n  />\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"u__relative onboarding__home__banner__phil-wrapper {{if @medium \\\"o__medium\\\"}} {{if @hidePhil \\\"opacity-0\\\"}}\\\"\\n  data-test-phil-wrapper\\n>\\n  <Onboarding::Home::GuideAssistantComponent\\n    @sizeClass={{if @medium \\\"o__medium\\\" \\\"o__small\\\"}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/banners/phil-head.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/banners/phil-head.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"onboarding__home__banner__banner onboarding__home__banner__step-available layout__box o__has-columns o__centers-all o__flexes-to-1 {{if this.hideBanner \\\"o__no-banner\\\"}}\\\"\\n  data-test-step-available\\n>\\n  <Onboarding::Home::Banners::PhilHead\\n    @medium={{true}}\\n  />\\n  <span class=\\\"mr-4\\\">\\n    {{this.bannerText.available}}\\n  </span>\\n  <IcButton\\n    data-test-go-to-home-button\\n    @type=\\\"primary-on-blue\\\"\\n    @label={{if @goHomeButtonLabel @goHomeButtonLabel \\\"Continue setup\\\"}}\\n    @onClick={{action \\\"goToHome\\\"}}\\n  />\\n  <img\\n    class=\\\"ml-6 onboarding__home__banner__illustration\\\"\\n    src=\\\"/assets/images/onboarding/home/guide-illustration.png\\\"\\n  />\\n  <a\\n    class=\\\"onboarding__home__banner__dismiss-icon\\\"\\n    onclick={{action \\\"dismissBanner\\\"}}\\n    data-test-dismiss-banner\\n  >\\n    {{ic-interface-icon \\\"close\\\"}}\\n  </a>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"onboarding__home__banner__banner onboarding__home__banner__step-available layout__box o__has-columns o__centers-all o__flexes-to-1 {{if this.hideBanner \\\"o__no-banner\\\"}}\\\"\\n  data-test-step-available\\n>\\n  <Onboarding::Home::Banners::PhilHead\\n    @medium={{true}}\\n  />\\n  <span class=\\\"mr-4\\\">\\n    {{this.bannerText.available}}\\n  </span>\\n  <IcButton\\n    data-test-go-to-home-button\\n    @type=\\\"primary-on-blue\\\"\\n    @label={{if @goHomeButtonLabel @goHomeButtonLabel \\\"Continue setup\\\"}}\\n    @onClick={{action \\\"goToHome\\\"}}\\n  />\\n  <img\\n    class=\\\"ml-6 onboarding__home__banner__illustration\\\"\\n    src=\\\"/assets/images/onboarding/home/guide-illustration.png\\\"\\n  />\\n  <a\\n    class=\\\"onboarding__home__banner__dismiss-icon\\\"\\n    onclick={{action \\\"dismissBanner\\\"}}\\n    data-test-dismiss-banner\\n  >\\n    {{ic-interface-icon \\\"close\\\"}}\\n  </a>\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/banners/step-available.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/banners/step-available.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  tagName: '',\n  router: service(),\n\n  actions: {\n    goToHome() {\n      this.trackBannerClick('clicked', 'step_available_banner');\n      return this.router.transitionTo('apps.app.home', {\n        queryParams: { step: this.stepIdentifier },\n      });\n    },\n\n    dismissBanner() {\n      this.trackBannerClick('dismissed', 'step_available_banner');\n      this.dismissBannerTask.perform();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"onboarding__home__banner__banner onboarding__home__banner__step-completed layout__box o__has-columns o__centers-all o__flexes-to-1 {{if @hideBanner \\\"o__no-banner\\\"}}\\\"\\n  data-test-step-completed\\n>\\n  <Onboarding::Home::Banners::PhilHead />\\n  <span class=\\\"mr-4\\\">\\n    {{or @bannerText.completed \\\"Nice work!\\\"}}\\n  </span>\\n  <IcButton\\n    class=\\\"onboarding__home__banner__secondary-on-green-button\\\"\\n    @type=\\\"secondary\\\"\\n    @onClick={{perform this.startNextTourOrGoToHome}}\\n    @label=\\\"Continue\\\"\\n    data-test-continue-link={{true}}\\n  />\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"onboarding__home__banner__banner onboarding__home__banner__step-completed layout__box o__has-columns o__centers-all o__flexes-to-1 {{if @hideBanner \\\"o__no-banner\\\"}}\\\"\\n  data-test-step-completed\\n>\\n  <Onboarding::Home::Banners::PhilHead />\\n  <span class=\\\"mr-4\\\">\\n    {{or @bannerText.completed \\\"Nice work!\\\"}}\\n  </span>\\n  <IcButton\\n    class=\\\"onboarding__home__banner__secondary-on-green-button\\\"\\n    @type=\\\"secondary\\\"\\n    @onClick={{perform this.startNextTourOrGoToHome}}\\n    @label=\\\"Continue\\\"\\n    data-test-continue-link={{true}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/banners/step-completed.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/banners/step-completed.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport { captureException } from 'embercom/lib/sentry';\n\nexport default class StepCompleted extends Component {\n  @service router;\n  @service onboardingHomeExternalStepService;\n\n  @task\n  *startNextTourOrGoToHome() {\n    this.args.trackBannerClick('clicked', 'step_completed_banner');\n    if (this.args.nextStep && this.args.nextStep.stepData.productTourId) {\n      if (this.args.nextStep.hasGenerateDataCommand) {\n        try {\n          yield this.onboardingHomeExternalStepService.generateExampleDataForStep(\n            this.args.nextStep.identifier,\n          );\n        } catch (e) {\n          captureException(e, {\n            fingerprint: ['generate_example_data', 'step-completed', this.args.stepIdentifier],\n            tags: { responsible_team: 'team-activation' },\n          });\n          this.router.transitionTo('apps.app.home', {\n            queryParams: { step: this.args.stepIdentifier },\n          });\n          return;\n        }\n      }\n      this.onboardingHomeExternalStepService.start(this.args.nextStep.identifier, {\n        source: 'banner',\n      });\n    } else {\n      this.router.transitionTo('apps.app.home', {\n        queryParams: { step: this.args.stepIdentifier },\n      });\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"layout__box o__has-columns o__centers-all o__flexes-to-1 onboarding__home__banner__banner {{if @hideBanner \\\"o__no-banner\\\"}}\\\"\\n  data-test-in-progress\\n>\\n  <Onboarding::Home::Banners::PhilHead />\\n  <span data-test-in-progress-text>\\n    {{@bannerText.inProgress}}\\n  </span>\\n  <Pulse::HelpContent::Tour\\n    @title=\\\"Show tour\\\"\\n    @linkStyling=\\\"inline\\\"\\n    @tourId={{@productTourId}}\\n    {{on 'click' (fn @trackBannerClick \\\"clicked\\\" \\\"step_in_progress_banner\\\")}}\\n    class=\\\"ml-2\\\"\\n    data-test-show-tour\\n  />\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"layout__box o__has-columns o__centers-all o__flexes-to-1 onboarding__home__banner__banner {{if @hideBanner \\\"o__no-banner\\\"}}\\\"\\n  data-test-in-progress\\n>\\n  <Onboarding::Home::Banners::PhilHead />\\n  <span data-test-in-progress-text>\\n    {{@bannerText.inProgress}}\\n  </span>\\n  <Pulse::HelpContent::Tour\\n    @title=\\\"Show tour\\\"\\n    @linkStyling=\\\"inline\\\"\\n    @tourId={{@productTourId}}\\n    {{on 'click' (fn @trackBannerClick \\\"clicked\\\" \\\"step_in_progress_banner\\\")}}\\n    class=\\\"ml-2\\\"\\n    data-test-show-tour\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/banners/step-in-progress.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/banners/step-in-progress.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.isLoading}}\\n  <IcButton @type=\\\"secondary\\\" @disabled={{true}}>\\n    <IcLoadingIndicator @inline=\\\"true\\\" @size=\\\"tiny\\\" data-test-loading-indicator/>\\n    <Text @styling=\\\"muted\\\" data-test-loading-message>\\n      {{this.loadingMessage}}\\n    </Text>\\n  </IcButton>\\n{{else}}\\n  <IcSelect\\n    data-test-select-guide\\n    @items={{this.availableGuides}}\\n    @onSelectItem={{this.onSelectedGuideChange}}\\n    @selectedValue={{this.selectedGuide}}\\n    @hasFilter={{true}}\\n    @filterPlaceholder=\\\"Select guide type...\\\"\\n  />\\n{{/if}}\\n  <IcConfirmModal\\n    @title=\\\"Switch guide type for this App?\\\"\\n    @onModalClose={{this.resetState}}\\n    @confirmLabel=\\\"Switch guide\\\"\\n    @confirmAction={{perform this.changeGuideTask}}\\n    @isOpen={{this.confirmationModalOpen}}\\n  >\\n    <p>\\n      This will change the available levels and steps for this app.<br>\\n      Do you want to change the guide type for this App?\\n    </p>\\n  </IcConfirmModal>\\n{{#if this.errorMessage}}\\n  <IcBanner\\n    data-test-error-banner\\n    class=\\\"onboarding__home__change-guide__error-banner\\\"\\n    @text={{this.errorMessage}}\\n    @type=\\\"error\\\"\\n    @floating={{true}}\\n    @buttonLabel=\\\"👍🏽\\\"\\n    @onButtonClick={{this.resetState}}\\n  />\\n{{/if}}\", {\"contents\":\"{{#if this.isLoading}}\\n  <IcButton @type=\\\"secondary\\\" @disabled={{true}}>\\n    <IcLoadingIndicator @inline=\\\"true\\\" @size=\\\"tiny\\\" data-test-loading-indicator/>\\n    <Text @styling=\\\"muted\\\" data-test-loading-message>\\n      {{this.loadingMessage}}\\n    </Text>\\n  </IcButton>\\n{{else}}\\n  <IcSelect\\n    data-test-select-guide\\n    @items={{this.availableGuides}}\\n    @onSelectItem={{this.onSelectedGuideChange}}\\n    @selectedValue={{this.selectedGuide}}\\n    @hasFilter={{true}}\\n    @filterPlaceholder=\\\"Select guide type...\\\"\\n  />\\n{{/if}}\\n  <IcConfirmModal\\n    @title=\\\"Switch guide type for this App?\\\"\\n    @onModalClose={{this.resetState}}\\n    @confirmLabel=\\\"Switch guide\\\"\\n    @confirmAction={{perform this.changeGuideTask}}\\n    @isOpen={{this.confirmationModalOpen}}\\n  >\\n    <p>\\n      This will change the available levels and steps for this app.<br>\\n      Do you want to change the guide type for this App?\\n    </p>\\n  </IcConfirmModal>\\n{{#if this.errorMessage}}\\n  <IcBanner\\n    data-test-error-banner\\n    class=\\\"onboarding__home__change-guide__error-banner\\\"\\n    @text={{this.errorMessage}}\\n    @type=\\\"error\\\"\\n    @floating={{true}}\\n    @buttonLabel=\\\"👍🏽\\\"\\n    @onButtonClick={{this.resetState}}\\n  />\\n{{/if}}\",\"moduleName\":\"embercom/components/onboarding/home/change-guide.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/change-guide.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action, get } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { dropTask } from 'ember-concurrency-decorators';\n\nexport default class OnboardingHomeChangeGuideComponent extends Component {\n  @service appService;\n  @service onboardingHomeService;\n  @tracked confirmationModalOpen = false;\n  @tracked selectedGuide = null;\n  @tracked loadingMessage = null;\n  @tracked errorMessage = null;\n\n  constructor() {\n    super(...arguments);\n    this.availableGuidesTask.perform();\n    this.resetState();\n  }\n\n  @action\n  resetState() {\n    this.selectedGuide = this.currentGuideId;\n    this.errorMessage = null;\n    this.confirmationModalOpen = false;\n  }\n\n  get availableGuides() {\n    if (\n      !this.availableGuidesTask.lastSuccessful ||\n      !this.availableGuidesTask.lastSuccessful.value\n    ) {\n      return [];\n    }\n\n    return this.availableGuidesTask.lastSuccessful.value.map(item => {\n      return { text: item.display_name, value: item.identifier };\n    });\n  }\n\n  get currentGuideId() {\n    return get(this.onboardingHomeService, 'guide.id');\n  }\n\n  get isLoading() {\n    return this.availableGuidesTask.isRunning || this.changeGuideTask.isRunning;\n  }\n\n  displayError(message) {\n    this.errorMessage = `Something went wrong: ${message}`;\n  }\n\n  @dropTask\n  *availableGuidesTask() {\n    this.loadingMessage = 'Loading Available Guides...';\n    return yield this.onboardingHomeService.getAvailableGuides().catch(error => {\n      this.displayError('Failed to load available guides');\n    });\n  }\n\n  @dropTask\n  *changeGuideTask() {\n    this.loadingMessage = 'Changing Guide...';\n    this.confirmationModalOpen = false;\n    yield this.onboardingHomeService\n      .changeGuide({ identifier: this.selectedGuide })\n      .then(() => {\n        if (!Ember.testing) {\n          window.location.reload();\n        }\n      })\n      .catch(error => {\n        let errorMessage = `Failed to change guide - ${error.errorThrown}`;\n        this.displayError(errorMessage);\n      });\n  }\n\n  @action\n  onSelectedGuideChange(selectedGuideId) {\n    if (selectedGuideId !== this.currentGuideId) {\n      this.selectedGuide = selectedGuideId;\n      this.confirmationModalOpen = true;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"u__one-truncated-line\\\">\\n  <div class=\\\"flex flex-row gap-4\\\">\\n    <div class=\\\"flex flex-col flex-3\\\">\\n      <input\\n        {{auto-select-element}}\\n        class=\\\"f__text onboarding__home__copy-link-input\\\"\\n        value={{@link}}\\n        type=\\\"text\\\"\\n        readonly=\\\"readonly\\\"\\n      />\\n    </div>\\n    <div class=\\\"flex flex-col flex-1\\\" {{copy-to-clipboard text=@link}}>\\n      <IcButton\\n        data-test-copy-link-button\\n        @icon=\\\"duplicate\\\"\\n        @label=\\\"Copy\\\"\\n        @type=\\\"secondary\\\"\\n        class=\\\"o__secondary\\\"\\n        @onClick={{this.sendAnalyticsEvent}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"u__one-truncated-line\\\">\\n  <div class=\\\"flex flex-row gap-4\\\">\\n    <div class=\\\"flex flex-col flex-3\\\">\\n      <input\\n        {{auto-select-element}}\\n        class=\\\"f__text onboarding__home__copy-link-input\\\"\\n        value={{@link}}\\n        type=\\\"text\\\"\\n        readonly=\\\"readonly\\\"\\n      />\\n    </div>\\n    <div class=\\\"flex flex-col flex-1\\\" {{copy-to-clipboard text=@link}}>\\n      <IcButton\\n        data-test-copy-link-button\\n        @icon=\\\"duplicate\\\"\\n        @label=\\\"Copy\\\"\\n        @type=\\\"secondary\\\"\\n        class=\\\"o__secondary\\\"\\n        @onClick={{this.sendAnalyticsEvent}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/copy-link.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/copy-link.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class extends Component {\n  @service intercomEventService;\n\n  @action\n  sendAnalyticsEvent() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'copy_link',\n      context: this.args.linkContext,\n      ...this.args.analyticsMetadata,\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Paragraph data-test-guide-escape-hatch>\\n  {{#if @forceAllGuide}}\\n    <a href=\\\"#\\\" data-test-guide-escape-hatch-link=\\\"use_case\\\" {{on \\\"click\\\" (fn @setForceAllGuide false)}}>\\n      <Text @linkStyling=\\\"standalone\\\">\\n        ← Go back to your custom guide\\n      </Text>\\n    </a>\\n  {{else}}\\n    We curated this custom guide for you based on your product and needs.\\n    <a href=\\\"#\\\" data-test-guide-escape-hatch-link=\\\"all_of_intercom\\\" {{on \\\"click\\\" (fn @setForceAllGuide true)}}>\\n      <Text @linkStyling=\\\"standalone\\\">\\n        See more steps in our full guide →\\n      </Text>\\n    </a>\\n  {{/if}}\\n</Paragraph>\\n\", {\"contents\":\"<Paragraph data-test-guide-escape-hatch>\\n  {{#if @forceAllGuide}}\\n    <a href=\\\"#\\\" data-test-guide-escape-hatch-link=\\\"use_case\\\" {{on \\\"click\\\" (fn @setForceAllGuide false)}}>\\n      <Text @linkStyling=\\\"standalone\\\">\\n        ← Go back to your custom guide\\n      </Text>\\n    </a>\\n  {{else}}\\n    We curated this custom guide for you based on your product and needs.\\n    <a href=\\\"#\\\" data-test-guide-escape-hatch-link=\\\"all_of_intercom\\\" {{on \\\"click\\\" (fn @setForceAllGuide true)}}>\\n      <Text @linkStyling=\\\"standalone\\\">\\n        See more steps in our full guide →\\n      </Text>\\n    </a>\\n  {{/if}}\\n</Paragraph>\\n\",\"moduleName\":\"embercom/components/onboarding/home/escape-hatch.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/escape-hatch.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span\\n  class=\\\"onboarding__home__guide-accordion__icon-wrapper u__center-layout\\\"\\n  data-test-icon-wrapper\\n>\\n  {{#if iconName}}\\n    <div data-test-illustrative-icon>\\n      <IcIllustrativeIcon @name={{iconName}} />\\n    </div>\\n  {{else}}\\n    <span\\n      class=\\\"onboarding__home__guide-accordion__icon-circle u__display-block u__center-layout o__center-text {{if completed \\\"o__completed\\\"}}\\\"\\n      data-test-circle-icon\\n    >\\n      {{#if completed}}\\n        <div data-test-checkmark>\\n          {{ic-interface-icon \\\"check\\\" solo=true}}\\n        </div>\\n      {{else if number}}\\n        <div data-test-number>\\n          {{number}}\\n        </div>\\n      {{/if}}\\n    </span>\\n  {{/if}}\\n  {{#if (and iconName completed)}}\\n    <span\\n      class=\\\"onboarding__home__guide-accordion__icon-badge\\\"\\n      data-test-complete-badge\\n    >\\n      <span\\n        class=\\\"onboarding__home__guide-accordion__icon-circle o__small-badge u__display-block u__center-layout o__completed o__center-text\\\"\\n      >\\n        {{ic-interface-icon \\\"check\\\" solo=true}}\\n      </span>\\n    </span>\\n  {{/if}}\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span\\n  class=\\\"onboarding__home__guide-accordion__icon-wrapper u__center-layout\\\"\\n  data-test-icon-wrapper\\n>\\n  {{#if iconName}}\\n    <div data-test-illustrative-icon>\\n      <IcIllustrativeIcon @name={{iconName}} />\\n    </div>\\n  {{else}}\\n    <span\\n      class=\\\"onboarding__home__guide-accordion__icon-circle u__display-block u__center-layout o__center-text {{if completed \\\"o__completed\\\"}}\\\"\\n      data-test-circle-icon\\n    >\\n      {{#if completed}}\\n        <div data-test-checkmark>\\n          {{ic-interface-icon \\\"check\\\" solo=true}}\\n        </div>\\n      {{else if number}}\\n        <div data-test-number>\\n          {{number}}\\n        </div>\\n      {{/if}}\\n    </span>\\n  {{/if}}\\n  {{#if (and iconName completed)}}\\n    <span\\n      class=\\\"onboarding__home__guide-accordion__icon-badge\\\"\\n      data-test-complete-badge\\n    >\\n      <span\\n        class=\\\"onboarding__home__guide-accordion__icon-circle o__small-badge u__display-block u__center-layout o__completed o__center-text\\\"\\n      >\\n        {{ic-interface-icon \\\"check\\\" solo=true}}\\n      </span>\\n    </span>\\n  {{/if}}\\n</span>\\n\",\"moduleName\":\"embercom/components/onboarding/home/guide-accordion/icon.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/guide-accordion/icon.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport { equal } from '@ember/object/computed';\n\nexport default Component.extend({\n  state: null,\n  iconName: null,\n  number: null,\n  iconSize: ternary('iconName', 24, 20),\n  completed: equal('state', 'completed'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"t__body u__mr__20 u__center-layout\\\">\\n  {{#if (or @isComplete (eq @availableStepsCount 0))}}\\n    <span class=\\\"text-green\\\">\\n      All steps complete!\\n    </span>\\n  {{else}}\\n    <span class=\\\"t__h4 mr-1\\\">\\n      {{pluralize @availableStepsCount \\\"step\\\"}} left\\n    </span>\\n    {{if @showTimeToComplete (concat \\\"· About \\\" @timeToCompleteInMinutes \\\" min\\\")}}\\n  {{/if}}\\n  <div class=\\\"onboarding__home__guide-accordion__level-unseen-badge-wrapper\\\">\\n    {{#if @showUnseenBadge}}\\n      <div\\n        class=\\\"onboarding__home__guide-accordion__level-unseen-badge\\\"\\n        data-test-level-unseen-badge\\n      ></div>\\n    {{/if}}\\n  </div>\\n  {{#if @showResetButton}}\\n    <IcButton\\n      data-test-reset-level-button\\n      class=\\\"u__ml__20\\\"\\n      @type=\\\"secondary-destructive\\\"\\n      @label=\\\"Reset Level\\\"\\n      @onClick={{perform @resetLevel @level}}\\n    />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"t__body u__mr__20 u__center-layout\\\">\\n  {{#if (or @isComplete (eq @availableStepsCount 0))}}\\n    <span class=\\\"text-green\\\">\\n      All steps complete!\\n    </span>\\n  {{else}}\\n    <span class=\\\"t__h4 mr-1\\\">\\n      {{pluralize @availableStepsCount \\\"step\\\"}} left\\n    </span>\\n    {{if @showTimeToComplete (concat \\\"· About \\\" @timeToCompleteInMinutes \\\" min\\\")}}\\n  {{/if}}\\n  <div class=\\\"onboarding__home__guide-accordion__level-unseen-badge-wrapper\\\">\\n    {{#if @showUnseenBadge}}\\n      <div\\n        class=\\\"onboarding__home__guide-accordion__level-unseen-badge\\\"\\n        data-test-level-unseen-badge\\n      ></div>\\n    {{/if}}\\n  </div>\\n  {{#if @showResetButton}}\\n    <IcButton\\n      data-test-reset-level-button\\n      class=\\\"u__ml__20\\\"\\n      @type=\\\"secondary-destructive\\\"\\n      @label=\\\"Reset Level\\\"\\n      @onClick={{perform @resetLevel @level}}\\n    />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/guide-accordion/level-header-action.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/guide-accordion/level-header-action.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n\\n<div data-test-progress-bar class=\\\"layout__box o__has-columns onboarding__home__guide-accordion__progress-bar\\\">\\n  <div\\n    data-test-progress-bar-complete={{completedPercentage}}\\n    class=\\\"layout__box onboarding__home__guide-accordion__progress-bar-complete\\\"\\n    style=\\\"width: {{completedPercentage}}%\\\"\\n  ></div>\\n  <div class=\\\"layout__box o__flexes-to-1 onboarding__home__guide-accordion__progress-bar-incomplete\\\"></div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n\\n<div data-test-progress-bar class=\\\"layout__box o__has-columns onboarding__home__guide-accordion__progress-bar\\\">\\n  <div\\n    data-test-progress-bar-complete={{completedPercentage}}\\n    class=\\\"layout__box onboarding__home__guide-accordion__progress-bar-complete\\\"\\n    style=\\\"width: {{completedPercentage}}%\\\"\\n  ></div>\\n  <div class=\\\"layout__box o__flexes-to-1 onboarding__home__guide-accordion__progress-bar-incomplete\\\"></div>\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/guide-accordion/progress-bar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/guide-accordion/progress-bar.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { percentage } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  level: null,\n\n  completedPercentage: percentage('level.completedSteps.length', 'level.steps.length'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__flexes-to-1 o__has-columns u__center-layout\\\">\\n  <div class=\\\"u__mr__20\\\">\\n    <Onboarding::Home::GuideAccordion::Icon\\n      @state={{state}}\\n      @iconName={{iconName}}\\n      @number={{number}}\\n    />\\n  </div>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <h3 class=\\\"onboarding__home__guide-accordion__section-header__title t__h3\\\">\\n      {{title}}\\n    </h3>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__flexes-to-1 o__has-columns u__center-layout\\\">\\n  <div class=\\\"u__mr__20\\\">\\n    <Onboarding::Home::GuideAccordion::Icon\\n      @state={{state}}\\n      @iconName={{iconName}}\\n      @number={{number}}\\n    />\\n  </div>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <h3 class=\\\"onboarding__home__guide-accordion__section-header__title t__h3\\\">\\n      {{title}}\\n    </h3>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/guide-accordion/section-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/guide-accordion/section-header.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport { computed } from '@ember/object';\nimport { and, not, equal } from '@ember/object/computed';\n\nexport default Component.extend({\n  classNames: ['onboarding__home__guide-accordion__section-header'],\n  'data-test-onboarding-accordion-section-header': true,\n  classNameBindings: [\n    'stateClass',\n    'paddingClass',\n    'shouldFadeComponent:o__faded',\n    'level:o__level',\n  ],\n  title: null,\n  iconName: null,\n  state: null,\n  isOpen: false,\n\n  level: null,\n  step: null,\n\n  paddingClass: ternary('step', 'u__pad__15', 'u__pad__20 u__padl__25'),\n  stateClass: computed('state', function() {\n    return `o__${this.state}`;\n  }),\n  isClosed: not('isOpen'),\n  completed: equal('state', 'completed'),\n  shouldFadeComponent: and('completed', 'isClosed'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  completionCallback: null,\n\n  didRender() {\n    this._super(...arguments);\n    if (this.get('step.pendingCompleted')) {\n      this.completionCallback();\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"onboarding__home__guide-assistant__circle-backdrop__right {{sizeClass}}\\\">\\n  {{#if includeSpeechBubble}}\\n    <div class=\\\"onboarding__home__guide-assistant__speech-bubble__right\\\">\\n      <div class=\\\"t__light-text u__padb__5\\\">\\n        {{onboardingAssistant.name}} from Intercom\\n      </div>\\n      <AnimatedContainer>\\n        {{#animated-each\\n          guideAssistantService.scriptLines\\n          use=transition\\n          duration=transitionDuration as |line|\\n        }}\\n          <div class=\\\"t__h2\\\">\\n            {{line}}\\n          </div>\\n        {{/animated-each}}\\n      </AnimatedContainer>\\n    </div>\\n  {{/if}}\\n  <img\\n    class=\\\"onboarding__home__guide-assistant__asset {{sizeClass}}\\\"\\n    src=\\\"{{onboardingAssistant.avatarLink}}\\\"\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"onboarding__home__guide-assistant__circle-backdrop__right {{sizeClass}}\\\">\\n  {{#if includeSpeechBubble}}\\n    <div class=\\\"onboarding__home__guide-assistant__speech-bubble__right\\\">\\n      <div class=\\\"t__light-text u__padb__5\\\">\\n        {{onboardingAssistant.name}} from Intercom\\n      </div>\\n      <AnimatedContainer>\\n        {{#animated-each\\n          guideAssistantService.scriptLines\\n          use=transition\\n          duration=transitionDuration as |line|\\n        }}\\n          <div class=\\\"t__h2\\\">\\n            {{line}}\\n          </div>\\n        {{/animated-each}}\\n      </AnimatedContainer>\\n    </div>\\n  {{/if}}\\n  <img\\n    class=\\\"onboarding__home__guide-assistant__asset {{sizeClass}}\\\"\\n    src=\\\"{{onboardingAssistant.avatarLink}}\\\"\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/guide-assistant-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/guide-assistant-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport {\n  guideAssistantTextTransition,\n  GUIDE_ASSISTANT_TEXT_TRANSITION_DURATION,\n} from 'embercom/transition-maps/onboarding-transitions';\n\nexport default Component.extend({\n  appService: service(),\n  onboardingHomeService: service(),\n  guideAssistantService: service(),\n  onboardingAssistant: readOnly('guideAssistantService.onboardingAssistant'),\n  app: readOnly('appService.app'),\n  currentAdmin: readOnly('app.currentAdmin'),\n  sizeClass: null,\n\n  transition: guideAssistantTextTransition,\n  transitionDuration: GUIDE_ASSISTANT_TEXT_TRANSITION_DURATION,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box pt-10 px-10 onboarding__home__content-wrapper\\\">\\n  <Onboarding::Home::GuideHeaderComponent />\\n</div>\\n<Common::AccordionComponent\\n  {{did-insert this.scrollToInitiallyOpenLevel}}\\n  @initiallyOpenSectionName={{this.initiallyOpenLevel.identifier}}\\n  @sectionDidOpen={{perform this.onboardingHomeService.createPageViewForLevel}}\\n  @parentViewportClassName={{@viewportClass}} as |levelAccordion|\\n>\\n  {{#each this.formattedSectionHeadersWithLevels as |section index|}}\\n    <div class=\\\"pb-10 onboarding__home__guide-section__wrapper {{if (gt index 0) \\\"o__white\\\"}} {{if (is-equal index 1) \\\"pt-10\\\"}}\\\">\\n      <div class=\\\"layout__box px-10 onboarding__home__content-wrapper\\\">\\n        <div\\n          class=\\\"{{if (gt index 0) \\\"t__h2\\\" \\\"t__h1\\\"}} onboarding__home__guide-section__heading\\\"\\n          data-test-home-guide-section-heading={{section.title}}\\n        >\\n          {{section.title}}\\n        </div>\\n        {{#each section.levels as |level index|}}\\n          <Onboarding::Home::LevelComponent\\n            @level={{level}}\\n            @levelAccordion={{levelAccordion}}\\n            @initiallyOpenStep={{@initiallyOpenStep}}\\n            @completionCallback={{perform this.onStepComplete}}\\n            @shouldShowConnector={{lt (add index 1) this.guide.basicsLevels.length}}\\n            @viewportClass={{@viewportClass}}\\n            @selectedAppPackage={{@selectedAppPackage}}\\n            @onSelectAppPackage={{@onSelectAppPackage}}\\n            @onCloseAppPackageModal={{@onCloseAppPackageModal}}\\n          />\\n        {{/each}}\\n      </div>\\n    </div>\\n  {{/each}}\\n</Common::AccordionComponent>\\n\", {\"contents\":\"<div class=\\\"layout__box pt-10 px-10 onboarding__home__content-wrapper\\\">\\n  <Onboarding::Home::GuideHeaderComponent />\\n</div>\\n<Common::AccordionComponent\\n  {{did-insert this.scrollToInitiallyOpenLevel}}\\n  @initiallyOpenSectionName={{this.initiallyOpenLevel.identifier}}\\n  @sectionDidOpen={{perform this.onboardingHomeService.createPageViewForLevel}}\\n  @parentViewportClassName={{@viewportClass}} as |levelAccordion|\\n>\\n  {{#each this.formattedSectionHeadersWithLevels as |section index|}}\\n    <div class=\\\"pb-10 onboarding__home__guide-section__wrapper {{if (gt index 0) \\\"o__white\\\"}} {{if (is-equal index 1) \\\"pt-10\\\"}}\\\">\\n      <div class=\\\"layout__box px-10 onboarding__home__content-wrapper\\\">\\n        <div\\n          class=\\\"{{if (gt index 0) \\\"t__h2\\\" \\\"t__h1\\\"}} onboarding__home__guide-section__heading\\\"\\n          data-test-home-guide-section-heading={{section.title}}\\n        >\\n          {{section.title}}\\n        </div>\\n        {{#each section.levels as |level index|}}\\n          <Onboarding::Home::LevelComponent\\n            @level={{level}}\\n            @levelAccordion={{levelAccordion}}\\n            @initiallyOpenStep={{@initiallyOpenStep}}\\n            @completionCallback={{perform this.onStepComplete}}\\n            @shouldShowConnector={{lt (add index 1) this.guide.basicsLevels.length}}\\n            @viewportClass={{@viewportClass}}\\n            @selectedAppPackage={{@selectedAppPackage}}\\n            @onSelectAppPackage={{@onSelectAppPackage}}\\n            @onCloseAppPackageModal={{@onCloseAppPackageModal}}\\n          />\\n        {{/each}}\\n      </div>\\n    </div>\\n  {{/each}}\\n</Common::AccordionComponent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/guide-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/guide-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { scrollToLevel } from 'embercom/lib/home/scroll-to-level';\nimport { action } from '@ember/object';\nimport { sectionHeader } from 'embercom/lib/home/sections';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  appService: service(),\n  notificationsService: service(),\n  onboardingHomeService: service(),\n  guideAssistantService: service(),\n  store: service(),\n  router: service(),\n\n  guide: readOnly('onboardingHomeService.guide'),\n  initiallyOpenLevel: null,\n\n  formattedSectionHeadersWithLevels: computed('guide.levels.[]', function() {\n    let result = [];\n    this.guide.levels.forEach(level => {\n      let { guide_section } = level;\n      if (!result[guide_section]) {\n        result[guide_section] = {\n          title: sectionHeader(this.guide.identifier, guide_section, this.guide.forceAllGuide),\n          levels: [level],\n        };\n      } else {\n        result[guide_section].levels.push(level);\n      }\n    });\n    return result;\n  }),\n\n  onStepComplete: task(function*() {\n    yield this.guideAssistantService.refreshScript();\n  }),\n\n  init() {\n    this._super(...arguments);\n    this._setInitiallyOpenLevel();\n  },\n\n  scrollToInitiallyOpenLevel: action(function() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: 'index',\n      section: 'index',\n      guide_identifier: this.guide.identifier,\n    });\n\n    if (this.initiallyOpenLevel) {\n      scrollToLevel(this.get('initiallyOpenLevel.identifier'));\n    }\n  }),\n\n  _setInitiallyOpenLevel() {\n    if (this.initiallyOpenStep) {\n      this.intercomEventService.trackAnalyticsEvent({\n        ...this.initiallyOpenStep.analyticsMetadata,\n        action: 'viewed',\n        object: this.initiallyOpenStep.identifier,\n        section: 'inline_step',\n      });\n      return this._setInitiallyOpenLevelAndCreatePageView(this.get('initiallyOpenStep.level'));\n    }\n\n    return this._setInitiallyOpenLevelAndCreatePageView(this.get('guide.latestAvailableLevel'));\n  },\n\n  _setInitiallyOpenLevelAndCreatePageView(level) {\n    if (!level) {\n      return;\n    }\n    this.set('initiallyOpenLevel', level);\n    this.get('onboardingHomeService.createPageViewForLevel').perform(level.get('identifier'));\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<div data-test-guide-footer>\\n  <IcContent class=\\\"mb-8\\\">\\n    <Heading @size=\\\"2\\\">\\n      Explore stories and resources\\n    </Heading>\\n  </IcContent>\\n\\n  <div class=\\\"flex flex-row gap-10\\\">\\n    <div class=\\\"flex flex-col flex-2 gap-6\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        <a href=\\\"{{@content.helpCenterUrl}}\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" data-test-help-center-link>\\n          <Heading @size=\\\"3\\\" @linkStyling=\\\"subtle\\\">\\n            Help Center ↗\\n          </Heading>\\n        </a>\\n        <Paragraph>\\n          Advice and answers from the Intercom team\\n        </Paragraph>\\n      </div>\\n      <div class=\\\"flex flex-col\\\">\\n        <a href=\\\"{{@content.customerStory.url}}\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" data-test-customer-story-link>\\n          <Heading @size=\\\"3\\\" @linkStyling=\\\"subtle\\\">\\n            {{@content.customerStory.title}} ↗\\n          </Heading>\\n        </a>\\n        <Paragraph data-test-customer-story-description>\\n          {{@content.customerStory.description}}\\n        </Paragraph>\\n      </div>\\n    </div>\\n    <div class=\\\"flex flex-row items-center flex-3 gap-4\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        <a href=\\\"{{@content.videos.url}}\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" data-test-videos-thumbnail-link>\\n          <Onboarding::Home::VideoThumbnail\\n            @size=\\\"small\\\"\\n            @src=\\\"{{@content.videos.images.1x}}\\\"\\n            @srcset=\\\"{{@content.videos.images.2x}} 2x\\\"\\n            @onClick={{@onVideoClick}}\\n            @blackArrow={{true}}\\n          />\\n        </a>\\n      </div>\\n      <div class=\\\"flex flex-col\\\">\\n        <IcContent>\\n          <Paragraph data-test-videos-description>\\n            {{@content.videos.description}}\\n          </Paragraph>\\n\\n          <Paragraph>\\n            <a href=\\\"{{@content.videos.url}}\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" data-test-videos-link>\\n              <Text @linkStyling=\\\"standalone\\\" {{on \\\"click\\\" @onVideoClick}} data-test-videos-link-text>\\n                {{#unless @isOnboardAndEngage}}\\n                  Learn more on Academy ↗\\n                {{else}}\\n                  Watch now ↗\\n                {{/unless}}\\n              </Text>\\n            </a>\\n          </Paragraph>\\n        </IcContent>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<div data-test-guide-footer>\\n  <IcContent class=\\\"mb-8\\\">\\n    <Heading @size=\\\"2\\\">\\n      Explore stories and resources\\n    </Heading>\\n  </IcContent>\\n\\n  <div class=\\\"flex flex-row gap-10\\\">\\n    <div class=\\\"flex flex-col flex-2 gap-6\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        <a href=\\\"{{@content.helpCenterUrl}}\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" data-test-help-center-link>\\n          <Heading @size=\\\"3\\\" @linkStyling=\\\"subtle\\\">\\n            Help Center ↗\\n          </Heading>\\n        </a>\\n        <Paragraph>\\n          Advice and answers from the Intercom team\\n        </Paragraph>\\n      </div>\\n      <div class=\\\"flex flex-col\\\">\\n        <a href=\\\"{{@content.customerStory.url}}\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" data-test-customer-story-link>\\n          <Heading @size=\\\"3\\\" @linkStyling=\\\"subtle\\\">\\n            {{@content.customerStory.title}} ↗\\n          </Heading>\\n        </a>\\n        <Paragraph data-test-customer-story-description>\\n          {{@content.customerStory.description}}\\n        </Paragraph>\\n      </div>\\n    </div>\\n    <div class=\\\"flex flex-row items-center flex-3 gap-4\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        <a href=\\\"{{@content.videos.url}}\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" data-test-videos-thumbnail-link>\\n          <Onboarding::Home::VideoThumbnail\\n            @size=\\\"small\\\"\\n            @src=\\\"{{@content.videos.images.1x}}\\\"\\n            @srcset=\\\"{{@content.videos.images.2x}} 2x\\\"\\n            @onClick={{@onVideoClick}}\\n            @blackArrow={{true}}\\n          />\\n        </a>\\n      </div>\\n      <div class=\\\"flex flex-col\\\">\\n        <IcContent>\\n          <Paragraph data-test-videos-description>\\n            {{@content.videos.description}}\\n          </Paragraph>\\n\\n          <Paragraph>\\n            <a href=\\\"{{@content.videos.url}}\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" data-test-videos-link>\\n              <Text @linkStyling=\\\"standalone\\\" {{on \\\"click\\\" @onVideoClick}} data-test-videos-link-text>\\n                {{#unless @isOnboardAndEngage}}\\n                  Learn more on Academy ↗\\n                {{else}}\\n                  Watch now ↗\\n                {{/unless}}\\n              </Text>\\n            </a>\\n          </Paragraph>\\n        </IcContent>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/guide-footer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/guide-footer.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"onboarding__home__guide-header layout__box o__flexes-to-1 o__has-columns\\\"\\n>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <Onboarding::Home::GuideAssistantComponent\\n      @sizeClass=\\\"o__large\\\"\\n      @includeSpeechBubble={{true}}\\n    />\\n  </div>\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"onboarding__home__guide-header layout__box o__flexes-to-1 o__has-columns\\\"\\n>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <Onboarding::Home::GuideAssistantComponent\\n      @sizeClass=\\\"o__large\\\"\\n      @includeSpeechBubble={{true}}\\n    />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/guide-header-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/guide-header-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if hasBlock}}\\n  <IcButton\\n    @type={{if @buttonType @buttonType \\\"primary\\\"}}\\n    @onClick={{action \\\"openHostedMessengerWindow\\\"}}\\n    @disabled={{or this.disabled this.hostedMessengerWindowOpen}}\\n    data-test-hosted-messenger-opener={{true}}\\n    data-ghost-inspector=\\\"open-hosted-messenger-button\\\"\\n  >\\n    {{yield}}\\n  </IcButton>\\n{{else}}\\n  <IcButton\\n    @icon={{if @buttonIcon @buttonIcon \\\"new-window\\\"}}\\n    @type={{if @buttonType @buttonType \\\"primary\\\"}}\\n    @label={{this.label}}\\n    @onClick={{action \\\"openHostedMessengerWindow\\\"}}\\n    @disabled={{or this.disabled this.hostedMessengerWindowOpen}}\\n    data-test-hosted-messenger-opener={{true}}\\n    data-ghost-inspector=\\\"open-hosted-messenger-button\\\"\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if hasBlock}}\\n  <IcButton\\n    @type={{if @buttonType @buttonType \\\"primary\\\"}}\\n    @onClick={{action \\\"openHostedMessengerWindow\\\"}}\\n    @disabled={{or this.disabled this.hostedMessengerWindowOpen}}\\n    data-test-hosted-messenger-opener={{true}}\\n    data-ghost-inspector=\\\"open-hosted-messenger-button\\\"\\n  >\\n    {{yield}}\\n  </IcButton>\\n{{else}}\\n  <IcButton\\n    @icon={{if @buttonIcon @buttonIcon \\\"new-window\\\"}}\\n    @type={{if @buttonType @buttonType \\\"primary\\\"}}\\n    @label={{this.label}}\\n    @onClick={{action \\\"openHostedMessengerWindow\\\"}}\\n    @disabled={{or this.disabled this.hostedMessengerWindowOpen}}\\n    data-test-hosted-messenger-opener={{true}}\\n    data-ghost-inspector=\\\"open-hosted-messenger-button\\\"\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/onboarding/home/hosted-messenger-opener.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/hosted-messenger-opener.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport openCenteredWindow from 'embercom/lib/open-centered-window';\nimport { later } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  tagName: '',\n  hostedMessengerWindowOpen: false,\n  onboardingHome: false,\n  router: service(),\n  label: 'Open Hosted Messenger',\n\n  waitForChildWindow(childWindow) {\n    if (childWindow.closed) {\n      this.set('hostedMessengerWindowOpen', false);\n      if (typeof this.onHostedMessengerClose === 'function') {\n        this.onHostedMessengerClose();\n      }\n    } else {\n      later(this.waitForChildWindow.bind(this, childWindow), 300);\n    }\n  },\n\n  actions: {\n    openHostedMessengerWindow() {\n      let url = this.router.urlFor(`apps.app.test-conversation`, {\n        queryParams: { onboardingHome: this.onboardingHome },\n      });\n      let window = openCenteredWindow(url, 800, 1280, 'Hosted Messenger');\n\n      this.waitForChildWindow(window);\n      window.focus();\n      this.set('hostedMessengerWindowOpen', true);\n      if (typeof this.onHostedMessengerOpen === 'function') {\n        this.onHostedMessengerOpen();\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{on-window \\\"message\\\" this.handleHostedMessengerWindowMessage}}\\n<div class=\\\"u__relative layout__box o__flexes-to-1\\\"\\n  {{did-insert this.listenForThreadsCreated}}\\n  {{did-insert (fn this._trackAnalyticsEvent (hash action=\\\"viewed\\\" object=\\\"hosted_messenger\\\"))}}\\n>\\n  <div class=\\\"layout__box onboarding__home__hosted-messenger__header\\\">\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"onboarding__home__hosted-messenger__header-placeholder o__title u__ml__40\\\" />\\n    </div>\\n    <div class=\\\"layout__box o__has-columns u__mr__40\\\">\\n      {{#each (repeat 3)}}\\n        <div class=\\\"onboarding__home__hosted-messenger__header-placeholder u__ml__50\\\" />\\n      {{/each}}\\n    </div>\\n  </div>\\n  <div class=\\\"layout__box o__has-rows onboarding__home__hosted-messenger__prompt\\\">\\n    {{#if this.conversationId}}\\n      <div class=\\\"flex flex-row\\\">\\n        <div class=\\\"flex flex-col gap-4 onboarding__home__hosted-messenger__prompt-text\\\" data-test-hosted-messenger-prompt-text data-ghost-inspector=\\\"onboarding__home__hosted-messenger__sent-message-confirmation\\\">\\n          <IcContent data-test-hosted-messenger-conversation-started-text>\\n            <Heading @size=\\\"1\\\">\\n              You just started a conversation!\\n            </Heading>\\n            <Paragraph>\\n              Now you know how easy it is for customers to reach out to your team through your Messenger.\\n            </Paragraph>\\n            {{#if @onboardingHome}}\\n              <Paragraph>\\n                In the next step, you’ll see how your team can reply to incoming conversations like this one.\\n              </Paragraph>\\n            {{/if}}\\n          </IcContent>\\n          <div class=\\\"onboarding__home__hosted-messenger__close-and-continue-button\\\">\\n            <IcButton\\n              data-test-hosted-messenger-close-button\\n              @type=\\\"primary\\\"\\n              @label=\\\"Close and continue\\\"\\n              @onClick={{this.closeWindow}}\\n            />\\n          </div>\\n        </div>\\n      </div>\\n    {{else if this.messengerReady}}\\n      <div class=\\\"flex flex-row\\\">\\n        <div\\n          class=\\\"layout__box u__mb__20 onboarding__home__hosted-messenger__prompt-text\\\"\\n          data-test-hosted-messenger-prompt-text\\n          data-ghost-inspector=\\\"onboarding__home__hosted-messenger__sent-message-confirmation\\\"\\n        >\\n          <h1 class=\\\"t__h1 mb-4\\\">\\n            This is <span class=\\\"onboarding__home__hosted-messenger__prompt-emphasis\\\">your</span> Messenger - give it a try!\\n          </h1>\\n          <p>Pretend you’re a customer with a question.</p>\\n          <p>Type it here, and then hit Enter to start a conversation.</p>\\n        </div>\\n      </div>\\n\\n      {{#if this.messengerOpen}}\\n        <div class=\\\"flex flex-col flex-1 u__relative onboarding__home__hosted-messenger__arrow-container ml-16\\\">\\n          <img\\n            class=\\\"onboarding__home__hosted-messenger__arrow\\\"\\n            src=\\\"/assets/svgs/onboarding/hosted-messenger-arrow.svg\\\"\\n          />\\n        </div>\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n</div>\\n{{#if this.isLoading}}\\n  <div class=\\\"onboarding__home__hosted-messenger__loading-indicator\\\">\\n    <IcLoadingIndicator @size=\\\"small\\\" class=\\\"u__center-item\\\" />\\n  </div>\\n{{/if}}\\n<iframe\\n  id=\\\"hosted-messenger-sandbox\\\"\\n  class=\\\"onboarding__home__hosted-messenger__iframe {{unless this.messengerReady \\\"u__hidden\\\"}}\\\"\\n  src=\\\"{{this.iframeUrl}}\\\"\\n  sandbox=\\\"allow-scripts allow-same-origin allow-popups allow-forms\\\"\\n  scrolling=\\\"no\\\"\\n/>\\n\", {\"contents\":\"{{on-window \\\"message\\\" this.handleHostedMessengerWindowMessage}}\\n<div class=\\\"u__relative layout__box o__flexes-to-1\\\"\\n  {{did-insert this.listenForThreadsCreated}}\\n  {{did-insert (fn this._trackAnalyticsEvent (hash action=\\\"viewed\\\" object=\\\"hosted_messenger\\\"))}}\\n>\\n  <div class=\\\"layout__box onboarding__home__hosted-messenger__header\\\">\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <div class=\\\"onboarding__home__hosted-messenger__header-placeholder o__title u__ml__40\\\" />\\n    </div>\\n    <div class=\\\"layout__box o__has-columns u__mr__40\\\">\\n      {{#each (repeat 3)}}\\n        <div class=\\\"onboarding__home__hosted-messenger__header-placeholder u__ml__50\\\" />\\n      {{/each}}\\n    </div>\\n  </div>\\n  <div class=\\\"layout__box o__has-rows onboarding__home__hosted-messenger__prompt\\\">\\n    {{#if this.conversationId}}\\n      <div class=\\\"flex flex-row\\\">\\n        <div class=\\\"flex flex-col gap-4 onboarding__home__hosted-messenger__prompt-text\\\" data-test-hosted-messenger-prompt-text data-ghost-inspector=\\\"onboarding__home__hosted-messenger__sent-message-confirmation\\\">\\n          <IcContent data-test-hosted-messenger-conversation-started-text>\\n            <Heading @size=\\\"1\\\">\\n              You just started a conversation!\\n            </Heading>\\n            <Paragraph>\\n              Now you know how easy it is for customers to reach out to your team through your Messenger.\\n            </Paragraph>\\n            {{#if @onboardingHome}}\\n              <Paragraph>\\n                In the next step, you’ll see how your team can reply to incoming conversations like this one.\\n              </Paragraph>\\n            {{/if}}\\n          </IcContent>\\n          <div class=\\\"onboarding__home__hosted-messenger__close-and-continue-button\\\">\\n            <IcButton\\n              data-test-hosted-messenger-close-button\\n              @type=\\\"primary\\\"\\n              @label=\\\"Close and continue\\\"\\n              @onClick={{this.closeWindow}}\\n            />\\n          </div>\\n        </div>\\n      </div>\\n    {{else if this.messengerReady}}\\n      <div class=\\\"flex flex-row\\\">\\n        <div\\n          class=\\\"layout__box u__mb__20 onboarding__home__hosted-messenger__prompt-text\\\"\\n          data-test-hosted-messenger-prompt-text\\n          data-ghost-inspector=\\\"onboarding__home__hosted-messenger__sent-message-confirmation\\\"\\n        >\\n          <h1 class=\\\"t__h1 mb-4\\\">\\n            This is <span class=\\\"onboarding__home__hosted-messenger__prompt-emphasis\\\">your</span> Messenger - give it a try!\\n          </h1>\\n          <p>Pretend you’re a customer with a question.</p>\\n          <p>Type it here, and then hit Enter to start a conversation.</p>\\n        </div>\\n      </div>\\n\\n      {{#if this.messengerOpen}}\\n        <div class=\\\"flex flex-col flex-1 u__relative onboarding__home__hosted-messenger__arrow-container ml-16\\\">\\n          <img\\n            class=\\\"onboarding__home__hosted-messenger__arrow\\\"\\n            src=\\\"/assets/svgs/onboarding/hosted-messenger-arrow.svg\\\"\\n          />\\n        </div>\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n</div>\\n{{#if this.isLoading}}\\n  <div class=\\\"onboarding__home__hosted-messenger__loading-indicator\\\">\\n    <IcLoadingIndicator @size=\\\"small\\\" class=\\\"u__center-item\\\" />\\n  </div>\\n{{/if}}\\n<iframe\\n  id=\\\"hosted-messenger-sandbox\\\"\\n  class=\\\"onboarding__home__hosted-messenger__iframe {{unless this.messengerReady \\\"u__hidden\\\"}}\\\"\\n  src=\\\"{{this.iframeUrl}}\\\"\\n  sandbox=\\\"allow-scripts allow-same-origin allow-popups allow-forms\\\"\\n  scrolling=\\\"no\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/onboarding/home/hosted-messenger.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/hosted-messenger.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { timeout } from 'ember-concurrency';\n\nexport default class HostedMessenger extends Component {\n  @service appService;\n  @service store;\n  @service intercomEventService;\n  @service realTimeEventService;\n\n  @tracked messengerReady = false;\n  @tracked messengerOpen = false;\n  @tracked conversationId = false;\n\n  get appIdCode() {\n    return this.appService.app.id;\n  }\n\n  get iframeUrl() {\n    return `${window.location.origin}/hosted_messenger/${this.appIdCode}`;\n  }\n\n  get hostedMessengerIframe() {\n    return window.frames['hosted-messenger-sandbox'];\n  }\n\n  get hostedMessengerWindow() {\n    return this.hostedMessengerIframe.contentWindow;\n  }\n\n  get visitorId() {\n    return this.hostedMessengerWindow.Intercom?.('getVisitorId');\n  }\n\n  get messengerClosed() {\n    return !this.messengerOpen;\n  }\n\n  get waitingForMessage() {\n    return this.pollForBooted.isRunning;\n  }\n\n  get isLoading() {\n    return this.messengerReady && this.waitingForMessage;\n  }\n\n  @task({ restartable: true })\n  *pollForBooted() {\n    if (this.visitorId) {\n      this.messengerReady = true;\n      return;\n    }\n    yield timeout(200);\n    this.pollForBooted.perform();\n  }\n\n  @action\n  handleHostedMessengerWindowMessage(event) {\n    switch (event.data.key) {\n      case 'hosted-messenger-opened':\n      case 'hosted-messenger-closed':\n        this.syncMessengerOpenState(event);\n        break;\n      default:\n        console.log('Unhandled message', event);\n    }\n  }\n\n  @action\n  syncMessengerOpenState(event) {\n    if (event.data.key === 'hosted-messenger-opened') {\n      this.messengerReady = true;\n      this.messengerOpen = true;\n    } else if (event.data.key === 'hosted-messenger-closed') {\n      this.messengerOpen = false;\n    }\n  }\n\n  @action\n  listenForThreadsCreated() {\n    this.realTimeEventService.on('ThreadCreated', this, async event => {\n      await this.checkForHostedMessengerCreatedConversation.perform(event.conversationId);\n    });\n    // We may not need this if we only use manual messages instead of user initiated\n    // messages to start conversations.\n    this.realTimeEventService.on('ThreadAssigned', this, event => {\n      this.checkForHostedMessengerCreatedConversation.perform(event.conversationId);\n    });\n    this.realTimeEventService.on('ThreadReopened', this, event => {\n      this.checkForHostedMessengerCreatedConversation.perform(event.conversationId);\n    });\n  }\n\n  @task\n  *checkForHostedMessengerCreatedConversation(conversationId) {\n    if (this.conversationId) {\n      return;\n    }\n\n    let conversationRecords = yield this.store.query(\n      'onboarding/hosted-messenger-created-conversation',\n      { conversation_id: conversationId },\n    );\n    let conversationRecord = conversationRecords.get('firstObject');\n    if (conversationRecord && conversationRecord.get('user_anonymous_id') === this.visitorId) {\n      this.conversationId = conversationId;\n\n      this._trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'send_message',\n      });\n\n      this.notifyOpener(conversationId);\n      yield conversationRecord.claim();\n    }\n  }\n\n  notifyOpener(conversationId) {\n    if (!window.opener) {\n      return;\n    }\n    window.opener.postMessage(\n      { key: 'hosted-messenger-conversation-started', conversationId },\n      window.location.origin,\n    );\n  }\n\n  @action\n  _trackAnalyticsEvent(metadata) {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.args.step.analyticsMetadata,\n      ...metadata,\n    });\n  }\n\n  @action\n  closeWindow() {\n    this._trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'close_button',\n    });\n    window.close();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  data-test-invite-card\\n  class=\\\"onboarding__home__steps__tile o__inactive u__padl__20 u__padr__20 u__padt__15 u__padb__15\\\"\\n>\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"layout__box o__centers-vertically\\\">\\n      <img\\n        class=\\\"u__mr__10\\\"\\n        src=\\\"/assets/images/onboarding/home/install/need-help-icon.png\\\"\\n        height=\\\"26\\\"\\n      />\\n      <span class=\\\"t__h4 u__mr__10\\\">\\n        {{#if @header}}\\n          {{@header}}\\n        {{else}}\\n          Need help?\\n        {{/if}}\\n      </span>\\n      <span>\\n        {{#if @text}}\\n          {{@text}}\\n        {{else}}\\n          Ask a teammate to complete this step.\\n        {{/if}}\\n      </span>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n    <div class=\\\"layout__box o__centers-vertically\\\">\\n      <Onboarding::Home::InviteLinkComponent\\n        @step={{@step}}\\n        @baseAnalyticsMetadata={{@baseAnalyticsMetadata}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div\\n  data-test-invite-card\\n  class=\\\"onboarding__home__steps__tile o__inactive u__padl__20 u__padr__20 u__padt__15 u__padb__15\\\"\\n>\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"layout__box o__centers-vertically\\\">\\n      <img\\n        class=\\\"u__mr__10\\\"\\n        src=\\\"/assets/images/onboarding/home/install/need-help-icon.png\\\"\\n        height=\\\"26\\\"\\n      />\\n      <span class=\\\"t__h4 u__mr__10\\\">\\n        {{#if @header}}\\n          {{@header}}\\n        {{else}}\\n          Need help?\\n        {{/if}}\\n      </span>\\n      <span>\\n        {{#if @text}}\\n          {{@text}}\\n        {{else}}\\n          Ask a teammate to complete this step.\\n        {{/if}}\\n      </span>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n    <div class=\\\"layout__box o__centers-vertically\\\">\\n      <Onboarding::Home::InviteLinkComponent\\n        @step={{@step}}\\n        @baseAnalyticsMetadata={{@baseAnalyticsMetadata}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/invite-card-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/invite-card-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcTooltip\\n  @isDisabled={{not app.isTestApp}}\\n  @willHideOverlayOnClick={{false}}\\n  as |t|\\n>\\n  <t.opener>\\n    <IcButton\\n      @type=\\\"secondary\\\"\\n      @onClick={{action \\\"showInviteLink\\\"}}\\n      data-test-invite-link-cta={{true}}\\n      @disabled={{app.isTestApp}}\\n    >\\n      {{#if showInviteLink.isRunning}}\\n        <IcLoadingIndicator @size=\\\"tiny\\\" />\\n      {{else}}\\n        {{ic-interface-icon \\\"link\\\"}}\\n      {{/if}}\\n      Get link\\n    </IcButton>\\n  </t.opener>\\n  <t.content>\\n    Head back to your main workspace to invite teammates.\\n  </t.content>\\n</IcTooltip>\\n{{#if (and inviteLink showModal)}}\\n  {{!-- template-lint-disable intercom/no-legacy-modal --}}\\n  <Common::ModalComponent\\n    @closeModal={{action \\\"closeModal\\\"}}\\n    data-test-invite-link-modal\\n    as |modal|\\n  >\\n    <modal.components.header @title=\\\"Share this link with a teammate\\\" />\\n    <modal.components.body>\\n      Copy the link below, and send it to a teammate who can help complete this step. <AutoFocusComponent\\n        @shouldSelect={{true}}\\n      >\\n        <Input\\n          data-test-invite-link={{true}}\\n          @value={{inviteLink}}\\n          @classNames=\\\"f__text u__mt__15 u__mb__15\\\"\\n          @readonly={{true}}\\n          {{auto-select-element}}\\n        />\\n      </AutoFocusComponent>\\n      <div class=\\\"text-gray mb-4\\\">\\n        Anyone with this link will get full access to your Intercom workspace.\\n      </div>\\n      <Settings::Teammates::SeatsCostChangeCard::InviteLink />\\n    </modal.components.body>\\n    <modal.components.footer as |footer|>\\n      <footer.mainButtons as |buttons|>\\n        <buttons.button\\n          @type=\\\"secondary\\\"\\n          @label=\\\"Close\\\"\\n          @onClick={{action \\\"closeModal\\\"}}\\n          data-test-invite-link-modal-close={{true}}\\n        />\\n        <buttons.button\\n          data-test-copy-invite-link\\n          @type=\\\"primary\\\"\\n          @label=\\\"Copy link\\\"\\n          @icon=\\\"duplicate\\\"\\n          {{copy-to-clipboard text=this.inviteLink}}\\n          @onClick={{action \\\"sendCopyLinkAnalyticsEvent\\\"}}\\n        />\\n      </footer.mainButtons>\\n    </modal.components.footer>\\n  </Common::ModalComponent>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcTooltip\\n  @isDisabled={{not app.isTestApp}}\\n  @willHideOverlayOnClick={{false}}\\n  as |t|\\n>\\n  <t.opener>\\n    <IcButton\\n      @type=\\\"secondary\\\"\\n      @onClick={{action \\\"showInviteLink\\\"}}\\n      data-test-invite-link-cta={{true}}\\n      @disabled={{app.isTestApp}}\\n    >\\n      {{#if showInviteLink.isRunning}}\\n        <IcLoadingIndicator @size=\\\"tiny\\\" />\\n      {{else}}\\n        {{ic-interface-icon \\\"link\\\"}}\\n      {{/if}}\\n      Get link\\n    </IcButton>\\n  </t.opener>\\n  <t.content>\\n    Head back to your main workspace to invite teammates.\\n  </t.content>\\n</IcTooltip>\\n{{#if (and inviteLink showModal)}}\\n  {{!-- template-lint-disable intercom/no-legacy-modal --}}\\n  <Common::ModalComponent\\n    @closeModal={{action \\\"closeModal\\\"}}\\n    data-test-invite-link-modal\\n    as |modal|\\n  >\\n    <modal.components.header @title=\\\"Share this link with a teammate\\\" />\\n    <modal.components.body>\\n      Copy the link below, and send it to a teammate who can help complete this step. <AutoFocusComponent\\n        @shouldSelect={{true}}\\n      >\\n        <Input\\n          data-test-invite-link={{true}}\\n          @value={{inviteLink}}\\n          @classNames=\\\"f__text u__mt__15 u__mb__15\\\"\\n          @readonly={{true}}\\n          {{auto-select-element}}\\n        />\\n      </AutoFocusComponent>\\n      <div class=\\\"text-gray mb-4\\\">\\n        Anyone with this link will get full access to your Intercom workspace.\\n      </div>\\n      <Settings::Teammates::SeatsCostChangeCard::InviteLink />\\n    </modal.components.body>\\n    <modal.components.footer as |footer|>\\n      <footer.mainButtons as |buttons|>\\n        <buttons.button\\n          @type=\\\"secondary\\\"\\n          @label=\\\"Close\\\"\\n          @onClick={{action \\\"closeModal\\\"}}\\n          data-test-invite-link-modal-close={{true}}\\n        />\\n        <buttons.button\\n          data-test-copy-invite-link\\n          @type=\\\"primary\\\"\\n          @label=\\\"Copy link\\\"\\n          @icon=\\\"duplicate\\\"\\n          {{copy-to-clipboard text=this.inviteLink}}\\n          @onClick={{action \\\"sendCopyLinkAnalyticsEvent\\\"}}\\n        />\\n      </footer.mainButtons>\\n    </modal.components.footer>\\n  </Common::ModalComponent>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/onboarding/home/invite-link-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/invite-link-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  store: service(),\n  appService: service(),\n  intercomEventService: service(),\n  notificationsService: service(),\n\n  app: readOnly('appService.app'),\n  inviteLink: null,\n  step: null,\n  host: window.location.host,\n  protocol: window.location.protocol,\n  showModal: false,\n\n  didUpdateAttrs() {\n    this._super(...arguments);\n    this.set('inviteLink', null);\n  },\n\n  findOrCreateInviteLink: task(function*() {\n    if (!this.inviteLink) {\n      let inviteLink = yield this.store.peekAll('invite').find(inviteLink => {\n        return inviteLink.onboardingHomeStepIdentifier === this.step.identifier;\n      });\n\n      if (!inviteLink) {\n        inviteLink = yield this.store\n          .createRecord('invite', {\n            onboardingHomeStepIdentifier: this.step.identifier,\n          })\n          .save();\n      }\n      this.set('inviteLink', `${this.protocol}//${this.host}/invites/${inviteLink.get('token')}`);\n    }\n  }).drop(),\n\n  showInviteLink: task(function*() {\n    yield this.findOrCreateInviteLink.perform();\n    this.set('showModal', true);\n  }),\n\n  sendAnalyticsEvent(analyticsMetadata) {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.baseAnalyticsMetadata,\n      ...analyticsMetadata,\n      context: 'need_help',\n    });\n  },\n\n  actions: {\n    showInviteLink() {\n      this.showInviteLink.perform();\n      this.sendAnalyticsEvent({\n        action: 'clicked',\n        object: 'get_link',\n      });\n    },\n\n    sendCopyLinkAnalyticsEvent() {\n      this.sendAnalyticsEvent({\n        action: 'clicked',\n        object: 'copy_link',\n      });\n    },\n\n    closeModal() {\n      this.set('showModal', false);\n      if (this.clipboard) {\n        this.clipboard.destroy();\n        this.set('clipboard', null);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  data-test-language-selector\\n  class=\\\"layout__box o__has-columns o__centers-vertically\\\"\\n>\\n  <span data-test-language-selector-label-text class=\\\"mr-2\\\">\\n    {{or @labelText \\\"Language:\\\"}}\\n  </span>\\n  <IcSelect\\n    @items={{@items}}\\n    @onSelectItem={{action (mut @selectedValue)}}\\n    @selectedValue={{@selectedValue}}\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  data-test-language-selector\\n  class=\\\"layout__box o__has-columns o__centers-vertically\\\"\\n>\\n  <span data-test-language-selector-label-text class=\\\"mr-2\\\">\\n    {{or @labelText \\\"Language:\\\"}}\\n  </span>\\n  <IcSelect\\n    @items={{@items}}\\n    @onSelectItem={{action (mut @selectedValue)}}\\n    @selectedValue={{@selectedValue}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/language-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/language-selector.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<@levelAccordion.section\\n  @name={{identifier}}\\n  class=\\\"onboarding__home__guide-accordion__level-accordion-section\\\" as |levelSection|\\n>\\n  <levelSection.header as |header|>\\n    <Onboarding::Home::GuideAccordion::SectionHeader\\n      @title={{levelData.title}}\\n      @iconName={{icon}}\\n      @state={{level.state}}\\n      @isOpen={{header.isOpen}}\\n      @level={{level}}\\n    />\\n  </levelSection.header>\\n  <levelSection.header-action as |headerAction|>\\n    <Onboarding::Home::GuideAccordion::LevelHeaderAction\\n      @isComplete={{level.completed}}\\n      @availableStepsCount={{level.availableSteps.length}}\\n      @timeToCompleteInMinutes={{level.timeToCompleteInMinutes}}\\n      @showTimeToComplete={{levelData.showTimeToComplete}}\\n      @showResetButton={{app.hasIntercomHomeDevelopmentMode}}\\n      @resetLevel={{resetLevel}}\\n      @level={{level}}\\n      @showUnseenBadge={{showUnseenBadge}}\\n    />\\n  </levelSection.header-action>\\n  <levelSection.header-after>\\n    <Onboarding::Home::GuideAccordion::ProgressBar @level={{level}} />\\n    <canvas\\n      id=\\\"confetti-canvas\\\"\\n      class=\\\"onboarding__home__guide-accordion__level__confetti-canvas\\\"\\n    ></canvas>\\n  </levelSection.header-after>\\n  <levelSection.body as |levelBody|>\\n    <div class=\\\"h-2\\\"></div>\\n    <Common::AccordionComponent\\n      @initiallyOpenSectionName={{if\\n        initiallyOpenStepInLevel\\n        initiallyOpenStep.identifier\\n        null\\n      }}\\n      @sectionDidOpen={{action \\\"sectionDidOpen\\\"}}\\n      @parentViewportClassName={{viewportClass}}\\n      @sectionDidClose={{action \\\"sectionDidClose\\\"}} as |stepAccordion|\\n    >\\n      {{#each level.steps as |step index|}}\\n        <Onboarding::Home::StepComponent\\n          @step={{step}}\\n          @stepAccordion={{stepAccordion}}\\n          @number={{add index 1}}\\n          @completionCallback={{perform onStepComplete levelBody.accordionAPI}}\\n          @openStepInDifferentLevelCallback={{perform\\n            openStepInDifferentLevel\\n            levelBody.accordionAPI\\n          }}\\n          @selectedAppPackage={{@selectedAppPackage}}\\n          @onSelectAppPackage={{@onSelectAppPackage}}\\n          @onCloseAppPackageModal={{@onCloseAppPackageModal}}\\n        />\\n      {{/each}}\\n    </Common::AccordionComponent>\\n  </levelSection.body>\\n</@levelAccordion.section>\\n{{#if shouldShowConnector}}\\n  <div class=\\\"mt-6\\\"></div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<@levelAccordion.section\\n  @name={{identifier}}\\n  class=\\\"onboarding__home__guide-accordion__level-accordion-section\\\" as |levelSection|\\n>\\n  <levelSection.header as |header|>\\n    <Onboarding::Home::GuideAccordion::SectionHeader\\n      @title={{levelData.title}}\\n      @iconName={{icon}}\\n      @state={{level.state}}\\n      @isOpen={{header.isOpen}}\\n      @level={{level}}\\n    />\\n  </levelSection.header>\\n  <levelSection.header-action as |headerAction|>\\n    <Onboarding::Home::GuideAccordion::LevelHeaderAction\\n      @isComplete={{level.completed}}\\n      @availableStepsCount={{level.availableSteps.length}}\\n      @timeToCompleteInMinutes={{level.timeToCompleteInMinutes}}\\n      @showTimeToComplete={{levelData.showTimeToComplete}}\\n      @showResetButton={{app.hasIntercomHomeDevelopmentMode}}\\n      @resetLevel={{resetLevel}}\\n      @level={{level}}\\n      @showUnseenBadge={{showUnseenBadge}}\\n    />\\n  </levelSection.header-action>\\n  <levelSection.header-after>\\n    <Onboarding::Home::GuideAccordion::ProgressBar @level={{level}} />\\n    <canvas\\n      id=\\\"confetti-canvas\\\"\\n      class=\\\"onboarding__home__guide-accordion__level__confetti-canvas\\\"\\n    ></canvas>\\n  </levelSection.header-after>\\n  <levelSection.body as |levelBody|>\\n    <div class=\\\"h-2\\\"></div>\\n    <Common::AccordionComponent\\n      @initiallyOpenSectionName={{if\\n        initiallyOpenStepInLevel\\n        initiallyOpenStep.identifier\\n        null\\n      }}\\n      @sectionDidOpen={{action \\\"sectionDidOpen\\\"}}\\n      @parentViewportClassName={{viewportClass}}\\n      @sectionDidClose={{action \\\"sectionDidClose\\\"}} as |stepAccordion|\\n    >\\n      {{#each level.steps as |step index|}}\\n        <Onboarding::Home::StepComponent\\n          @step={{step}}\\n          @stepAccordion={{stepAccordion}}\\n          @number={{add index 1}}\\n          @completionCallback={{perform onStepComplete levelBody.accordionAPI}}\\n          @openStepInDifferentLevelCallback={{perform\\n            openStepInDifferentLevel\\n            levelBody.accordionAPI\\n          }}\\n          @selectedAppPackage={{@selectedAppPackage}}\\n          @onSelectAppPackage={{@onSelectAppPackage}}\\n          @onCloseAppPackageModal={{@onCloseAppPackageModal}}\\n        />\\n      {{/each}}\\n    </Common::AccordionComponent>\\n  </levelSection.body>\\n</@levelAccordion.section>\\n{{#if shouldShowConnector}}\\n  <div class=\\\"mt-6\\\"></div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/onboarding/home/level-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/level-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport $ from 'jquery';\nimport { readOnly } from '@ember/object/computed';\nimport {\n  containsByProperty,\n  equalToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport { task, timeout } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport confetti from '@intercom/interconfetti';\nimport { scrollToLevel } from 'embercom/lib/home/scroll-to-level';\nimport ENV from 'embercom/config/environment';\n\nconst CONFETTI_CONFIG = {\n  particleCount: 150,\n  spread: 100,\n  ticks: 1000,\n  origin: {\n    y: 0.7,\n  },\n};\n\nconst ANIMATION_DELAY = {\n  afterConfetti: 1900,\n  afterScript: ENV.APP._300MS,\n  beforeScript: ENV.APP._200MS,\n  accordionSection: ENV.APP._500MS,\n};\n\nexport default Component.extend({\n  notificationsService: service(),\n  guideAssistantService: service(),\n  onboardingHomeService: service(),\n  intercomEventService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  router: service(),\n\n  guide: readOnly('onboardingHomeService.guide'),\n  latestAvailableLevel: readOnly('guide.latestAvailableLevel'),\n  completionCallback: null,\n  level: null,\n  identifier: readOnly('level.identifier'),\n  levelData: readOnly('level.levelData'),\n  icon: readOnly('levelData.icon'),\n  initiallyOpenStepInLevel: equalToProperty(\n    'initiallyOpenStep.level.identifier',\n    'level.identifier',\n  ),\n  showUnseenBadge: containsByProperty('onboardingHomeService.incompleteAndUnseenLevels', 'level'),\n\n  onStepComplete: task(function*(accordionAPI) {\n    yield this.performAnimationsAndCallback.perform(accordionAPI);\n  }),\n\n  performAnimationsAndCallback: task(function*(accordionAPI) {\n    if (this.level.allStepsComplete) {\n      yield this.levelCompleteAnimation.perform(accordionAPI);\n      yield this.nextLevelOpenAnimation.perform(accordionAPI);\n    }\n    this.completionCallback();\n  }),\n\n  levelCompleteAnimation: task(function*(accordionAPI) {\n    yield timeout(ANIMATION_DELAY.beforeScript);\n    this.guideAssistantService.triggerTransitionalScript();\n    yield timeout(ANIMATION_DELAY.afterScript);\n    confetti({\n      canvas: $('#confetti-canvas', this.element)[0],\n      ...CONFETTI_CONFIG,\n    });\n    yield timeout(ANIMATION_DELAY.afterConfetti);\n    accordionAPI.closeSection(this.identifier);\n  }),\n\n  nextLevelOpenAnimation: task(function*(accordionAPI) {\n    if (this.get('level.nextAvailableLevel')) {\n      let levelIdentifier = this.get('level.nextAvailableLevel.identifier');\n      yield timeout(ANIMATION_DELAY.accordionSection);\n      accordionAPI.openSection(levelIdentifier);\n      yield scrollToLevel(levelIdentifier, ANIMATION_DELAY.accordionSection);\n    }\n  }),\n\n  openStepInDifferentLevel: task(function*(accordionAPI, stepToOpen) {\n    accordionAPI.closeSection(this.identifier);\n    yield timeout(ANIMATION_DELAY.accordionSection);\n    this.set('initiallyOpenStep', stepToOpen);\n    let levelIdentifier = stepToOpen.level.get('identifier');\n    accordionAPI.openSection(levelIdentifier);\n    yield scrollToLevel(levelIdentifier, ANIMATION_DELAY.accordionSection);\n  }),\n\n  resetLevel: task(function*() {\n    let stepIdentifiers = this.level.steps.mapBy('identifier');\n    yield this.onboardingHomeService.resetGuide({\n      levels: [this.identifier],\n      steps: stepIdentifiers,\n    });\n  }),\n\n  actions: {\n    sectionDidOpen(sectionName) {\n      this.router.replaceWith({ queryParams: { step: sectionName } });\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'viewed',\n        object: sectionName,\n        step_identifier: sectionName,\n        level_identifier: this.identifier,\n        guide_identifier: this.guide.identifier,\n        section: 'inline_step',\n      });\n    },\n\n    sectionDidClose(sectionName) {\n      this.router.replaceWith({ queryParams: { step: null } });\n\n      if (!this.initiallyOpenStep) {\n        return;\n      }\n\n      if (sectionName === this.initiallyOpenStep.identifier) {\n        this.set('initiallyOpenStep', null);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div>\\n  <div class=\\\"signup__new__mobile-welcome-link-icon mr-2\\\">\\n    {{ic-interface-icon @icon color=\\\"blue\\\" solo=true}}\\n  </div>\\n  <div class=\\\"mb-2\\\">\\n    <a href=\\\"{{@url}}\\\" class=\\\"signup__new__mobile-welcome-link-title\\\">\\n      {{@title}}\\n    </a>\\n  </div>\\n  <div class=\\\"signup__new__mobile-welcome-link-description\\\">\\n    {{@description}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div>\\n  <div class=\\\"signup__new__mobile-welcome-link-icon mr-2\\\">\\n    {{ic-interface-icon @icon color=\\\"blue\\\" solo=true}}\\n  </div>\\n  <div class=\\\"mb-2\\\">\\n    <a href=\\\"{{@url}}\\\" class=\\\"signup__new__mobile-welcome-link-title\\\">\\n      {{@title}}\\n    </a>\\n  </div>\\n  <div class=\\\"signup__new__mobile-welcome-link-description\\\">\\n    {{@description}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/mobile-welcome-link.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/mobile-welcome-link.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcModal\\n  @onModalClose={{action toggleModal}}\\n  @isOpen={{isOpen}}\\n  @disabled={{true}} as |modal|\\n>\\n  <modal.header @title=\\\"Reset Onboarding Home?\\\" />\\n  <modal.body>\\n    <div>\\n      This will reset all levels and steps for this app.\\n    </div>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Reset\\\"\\n      type=\\\"destructive\\\"\\n      action=(perform resetOnboardingHome)\\n    }}\\n    @secondaryButton={{hash label=\\\"Cancel\\\" action=(action toggleModal)}}\\n  />\\n</IcModal>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcModal\\n  @onModalClose={{action toggleModal}}\\n  @isOpen={{isOpen}}\\n  @disabled={{true}} as |modal|\\n>\\n  <modal.header @title=\\\"Reset Onboarding Home?\\\" />\\n  <modal.body>\\n    <div>\\n      This will reset all levels and steps for this app.\\n    </div>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Reset\\\"\\n      type=\\\"destructive\\\"\\n      action=(perform resetOnboardingHome)\\n    }}\\n    @secondaryButton={{hash label=\\\"Cancel\\\" action=(action toggleModal)}}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/onboarding/home/reset-home-modal-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/reset-home-modal-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  onboardingHomeService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  resetOnboardingHome: task(function*() {\n    yield this.onboardingHomeService.resetGuide();\n    this.toggleModal();\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<@stepAccordion.section\\n  @name={{identifier}}\\n  class=\\\"onboarding__home__guide-accordion__step-accordion-section u__padl__15 u__padr__15\\\" as |stepSection|\\n>\\n  <stepSection.header as |header|>\\n    <Onboarding::Home::GuideAccordion::SectionHeader\\n      @title={{if (and (has-feature \\\"hasOsa2OnboardingHome\\\") stepData.osa2Title) stepData.osa2Title stepData.title}}\\n      @state={{step.state}}\\n      @number={{number}}\\n      @isOpen={{header.isOpen}}\\n      @step={{step}}\\n    />\\n  </stepSection.header>\\n  <stepSection.header-action />\\n  <stepSection.body as |stepBody|>\\n    <Onboarding::Home::GuideAccordion::StepUpdater\\n      @step={{step}}\\n      @completionCallback={{perform\\n        updateStepState\\n        \\\"completed\\\"\\n        stepBody.accordionAPI\\n      }}\\n    />\\n    {{component\\n      stepData.componentName\\n      step=step\\n      completionCallback=(perform\\n        updateStepState \\\"completed\\\" stepBody.accordionAPI\\n      )\\n      openStepCallback=(perform openStep stepBody.accordionAPI)\\n      accordionAPI=stepBody.accordionAPI\\n      selectedAppPackage=selectedAppPackage\\n      onSelectAppPackage=onSelectAppPackage\\n      onCloseAppPackageModal=onCloseAppPackageModal\\n      onVideoClose=onVideoClose\\n    }}\\n    {{#if app.hasIntercomHomeDevelopmentMode}}\\n      <div\\n        class=\\\"onboarding__home__development-mode-step-container\\\"\\n        data-test-onboarding-home-development-mode\\n      >\\n        {{#if step.available}}\\n          <IcButton\\n            data-test-bypass-step-button\\n            class=\\\"u__mr__20 u__mb__10\\\"\\n            @type=\\\"secondary\\\"\\n            @label=\\\"Bypass Step\\\"\\n            @isProcessing={{updatingStep}}\\n            @disabled={{updatingStep}}\\n            @onClick={{perform updateStepState \\\"completed\\\" stepBody.accordionAPI}}\\n          />\\n        {{else}}\\n          <IcButton\\n            data-test-reset-step-button\\n            class=\\\"u__mr__20 u__mb__10\\\"\\n            @type=\\\"secondary-destructive\\\"\\n            @label=\\\"Reset Step\\\"\\n            @onClick={{perform resetStep stepBody.accordionAPI}}\\n          />\\n        {{/if}}\\n      </div>\\n    {{/if}}\\n  </stepSection.body>\\n</@stepAccordion.section>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<@stepAccordion.section\\n  @name={{identifier}}\\n  class=\\\"onboarding__home__guide-accordion__step-accordion-section u__padl__15 u__padr__15\\\" as |stepSection|\\n>\\n  <stepSection.header as |header|>\\n    <Onboarding::Home::GuideAccordion::SectionHeader\\n      @title={{if (and (has-feature \\\"hasOsa2OnboardingHome\\\") stepData.osa2Title) stepData.osa2Title stepData.title}}\\n      @state={{step.state}}\\n      @number={{number}}\\n      @isOpen={{header.isOpen}}\\n      @step={{step}}\\n    />\\n  </stepSection.header>\\n  <stepSection.header-action />\\n  <stepSection.body as |stepBody|>\\n    <Onboarding::Home::GuideAccordion::StepUpdater\\n      @step={{step}}\\n      @completionCallback={{perform\\n        updateStepState\\n        \\\"completed\\\"\\n        stepBody.accordionAPI\\n      }}\\n    />\\n    {{component\\n      stepData.componentName\\n      step=step\\n      completionCallback=(perform\\n        updateStepState \\\"completed\\\" stepBody.accordionAPI\\n      )\\n      openStepCallback=(perform openStep stepBody.accordionAPI)\\n      accordionAPI=stepBody.accordionAPI\\n      selectedAppPackage=selectedAppPackage\\n      onSelectAppPackage=onSelectAppPackage\\n      onCloseAppPackageModal=onCloseAppPackageModal\\n      onVideoClose=onVideoClose\\n    }}\\n    {{#if app.hasIntercomHomeDevelopmentMode}}\\n      <div\\n        class=\\\"onboarding__home__development-mode-step-container\\\"\\n        data-test-onboarding-home-development-mode\\n      >\\n        {{#if step.available}}\\n          <IcButton\\n            data-test-bypass-step-button\\n            class=\\\"u__mr__20 u__mb__10\\\"\\n            @type=\\\"secondary\\\"\\n            @label=\\\"Bypass Step\\\"\\n            @isProcessing={{updatingStep}}\\n            @disabled={{updatingStep}}\\n            @onClick={{perform updateStepState \\\"completed\\\" stepBody.accordionAPI}}\\n          />\\n        {{else}}\\n          <IcButton\\n            data-test-reset-step-button\\n            class=\\\"u__mr__20 u__mb__10\\\"\\n            @type=\\\"secondary-destructive\\\"\\n            @label=\\\"Reset Step\\\"\\n            @onClick={{perform resetStep stepBody.accordionAPI}}\\n          />\\n        {{/if}}\\n      </div>\\n    {{/if}}\\n  </stepSection.body>\\n</@stepAccordion.section>\\n\",\"moduleName\":\"embercom/components/onboarding/home/step-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/step-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { task, timeout } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default Component.extend({\n  notificationsService: service(),\n  onboardingHomeService: service(),\n  appService: service(),\n  intercomEventService: service(),\n  store: service(),\n\n  app: readOnly('appService.app'),\n  guide: readOnly('onboardingHomeService.guide'),\n  latestAvailableStep: readOnly('guide.latestAvailableStep'),\n  completionCallback: null,\n  openStepInDifferentLevelCallback: null,\n  step: null,\n  stepBannerCompleteDuration: 2000,\n\n  identifier: readOnly('step.identifier'),\n  stepData: readOnly('step.stepData'),\n\n  updateStepState: task(function*(state, accordionAPI, options = {}) {\n    if (this.step.completed) {\n      this.performAnimationsAndCallback.perform(accordionAPI);\n      return this._displayCompletionBanner(options);\n    }\n\n    yield this.updateStep.perform(state, options);\n    this.performAnimationsAndCallback.perform(accordionAPI);\n\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.step.analyticsMetadata,\n      ...options.analyticsMetadata,\n      action: 'completed',\n      object: this.identifier,\n      section: 'inline_step',\n    });\n  }),\n\n  updateStep: task(function*(state, options) {\n    this.step.set('state', state);\n    this._displayCompletionBanner(options);\n    yield this.step.saveAndRefreshGuide();\n  }),\n\n  performAnimationsAndCallback: task(function*(accordionAPI) {\n    yield this.stepCompleteAnimation.perform(accordionAPI);\n    yield this.nextStepOpenAnimation.perform(accordionAPI);\n    this.completionCallback();\n  }),\n\n  stepCompleteAnimation: task(function*(accordionAPI) {\n    yield timeout(800);\n    accordionAPI.closeSection(this.identifier);\n    yield timeout(400);\n  }),\n\n  nextStepOpenAnimation: task(function*(accordionAPI) {\n    if (this.step.get('nextStep.available')) {\n      yield accordionAPI.openSection(this.step.nextStep.identifier);\n    } else if (!this.step.get('level.allStepsComplete')) {\n      yield accordionAPI.openSection(this.latestAvailableStep.identifier);\n    }\n  }),\n\n  openStep: task(function*(accordionAPI, stepIdentifier) {\n    let stepToOpen = this.store.peekRecord('onboarding/home/step', stepIdentifier);\n    if (!stepToOpen) {\n      return;\n    }\n    accordionAPI.closeSection(this.identifier);\n    yield timeout(500);\n    if (this.step.level.get('identifier') === stepToOpen.level.get('identifier')) {\n      accordionAPI.openSection(stepToOpen.identifier);\n    } else {\n      this.openStepInDifferentLevelCallback(stepToOpen);\n    }\n  }),\n\n  resetStep: task(function*(accordionAPI) {\n    yield this.onboardingHomeService.resetGuide({ steps: [this.identifier] });\n    accordionAPI.closeSection(this.identifier);\n  }),\n\n  _displayCompletionBanner(options) {\n    if (options.stepCompletedText) {\n      return this.notificationsService.notifyConfirmation(\n        options.stepCompletedText,\n        this.stepBannerCompleteDuration,\n      );\n    }\n  },\n  onVideoClose: action(function(object, accordionAPI) {\n    if (!this.step.completed) {\n      this.intercomEventService.trackAnalyticsEvent({\n        ...this.step.analyticsMetadata,\n        action: 'viewed',\n        object,\n        section: 'index',\n      });\n      this.updateStepState.perform('completed', accordionAPI);\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"onboarding__home__steps__accordion-wrapper\\\" data-test-onboarding-home-steps-accordion-wrapper=\\\"{{@step.identifier}}\\\">\\n  {{yield (hash\\n    banner=(component \\\"onboarding/home/step-state-banner-component\\\" step=@step)\\n    container=(component \\\"onboarding/home/step-content/container\\\")\\n    left=(component \\\"onboarding/home/step-content/left\\\")\\n    right=(component \\\"onboarding/home/step-content/right\\\")\\n  )}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"onboarding__home__steps__accordion-wrapper\\\" data-test-onboarding-home-steps-accordion-wrapper=\\\"{{@step.identifier}}\\\">\\n  {{yield (hash\\n    banner=(component \\\"onboarding/home/step-state-banner-component\\\" step=@step)\\n    container=(component \\\"onboarding/home/step-content/container\\\")\\n    left=(component \\\"onboarding/home/step-content/left\\\")\\n    right=(component \\\"onboarding/home/step-content/right\\\")\\n  )}}\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/step-content.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/step-content.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row gap-8\\\">\\n  {{yield}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row gap-8\\\">\\n  {{yield}}\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/step-content/container.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/step-content/container.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"flex flex-col items-start flex-1 gap-8 onboarding__home__steps__left-content\\\"\\n  data-test-step-left-content\\n  ...attributes\\n>\\n  {{yield}}\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"flex flex-col items-start flex-1 gap-8 onboarding__home__steps__left-content\\\"\\n  data-test-step-left-content\\n  ...attributes\\n>\\n  {{yield}}\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/step-content/left.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/step-content/left.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col justify-center items-center flex-1\\\" data-test-step-right-content>\\n  {{yield}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col justify-center items-center flex-1\\\" data-test-step-right-content>\\n  {{yield}}\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/step-content/right.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/step-content/right.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isVisible}}\\n  <div\\n    data-test-step-state-banner\\n    data-ghost-inspector=\\\"onboarding__home__{{step.identifier}}-state-banner\\\"\\n  >\\n    <IcBanner\\n      data-test-step-complete-banner\\n      @type=\\\"confirmation\\\"\\n      @analyticsMetadata={{analyticsMetadata}}\\n    >\\n      {{#if hasBlock}}\\n        {{yield (action \\\"transitionToRoute\\\")}}\\n      {{else}}\\n        {{#if linkToRoute}}\\n          {{bodyText}} <a data-test-cta-link onclick={{action \\\"transitionToRoute\\\" linkToRoute}}>{{linkToText}}</a>.\\n        {{else}}\\n          {{bodyText}}.\\n        {{/if}}\\n      {{/if}}\\n    </IcBanner>\\n    <div class=\\\"h-8\\\"></div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isVisible}}\\n  <div\\n    data-test-step-state-banner\\n    data-ghost-inspector=\\\"onboarding__home__{{step.identifier}}-state-banner\\\"\\n  >\\n    <IcBanner\\n      data-test-step-complete-banner\\n      @type=\\\"confirmation\\\"\\n      @analyticsMetadata={{analyticsMetadata}}\\n    >\\n      {{#if hasBlock}}\\n        {{yield (action \\\"transitionToRoute\\\")}}\\n      {{else}}\\n        {{#if linkToRoute}}\\n          {{bodyText}} <a data-test-cta-link onclick={{action \\\"transitionToRoute\\\" linkToRoute}}>{{linkToText}}</a>.\\n        {{else}}\\n          {{bodyText}}.\\n        {{/if}}\\n      {{/if}}\\n    </IcBanner>\\n    <div class=\\\"h-8\\\"></div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/onboarding/home/step-state-banner-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/step-state-banner-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { or } from '@ember/object/computed';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  router: service(),\n\n  step: null,\n  linkToText: null,\n  linkToRoute: null,\n  linkToQueryParams: null,\n\n  ctaBodyText: null,\n  fallbackCtaBodyText: 'Nice work! This step is done',\n  bodyText: or('ctaBodyText', 'fallbackCtaBodyText'),\n\n  init() {\n    this._super(...arguments);\n    if (this.step.completed) {\n      this.set('isVisible', true);\n    }\n  },\n\n  actions: {\n    transitionToRoute(route) {\n      this.intercomEventService.trackAnalyticsEvent({\n        ...this.step.analyticsMetadata,\n        action: 'clicked',\n        object: `${this.step.analyticsMetadata.step_identifier}_cta`,\n      });\n      this.router.transitionTo(route, { queryParams: this.linkToQueryParams });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"onboarding__home__steps__accordion-wrapper\\\">\\n  <Onboarding::Home::StepStateBannerComponent\\n    @step={{step}}\\n    @ctaBodyText=\\\"Well done! You can make changes to task bots in\\\"\\n    @linkToText=\\\"Operator settings\\\"\\n    @linkToRoute=\\\"apps.app.operator.task-bots.leads\\\"\\n  />\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"layout__box u__padr__30 o__flexes-to-1\\\">\\n      <div class=\\\"layout__box onboarding__home__steps__left-content\\\">\\n        <div class=\\\"mb-4\\\">\\n          <IcContent>\\n            <p>\\n              Stay connected to your customers when they start conversations with you.\\n            </p>\\n            <p>\\n              If we don’t already have their contact details, we’ll automatically suggest that customers leave their email address or\\n            their mobile number to get notified whenever you reply.\\n            </p>\\n          </IcContent>\\n        </div>\\n        {{#if contactCollectionDisabled}}\\n          <IcBanner\\n            @type=\\\"help\\\"\\n            class=\\\"mt-8 mb-6\\\"\\n            data-test-task-bot-off-banner={{true}}\\n          >\\n            Contact details collection has been turned off.\\n            To turn it back on, visit <LinkTo @route=\\\"apps.app.operator.task-bots.leads\\\">Operator settings</LinkTo>.\\n          </IcBanner>\\n        {{/if}}\\n        <TaskBots::ContactCollection::RadioForm\\n          @contactCollection={{contactCollection}}\\n          @disabled={{contactCollectionDisabled}}\\n        />\\n        <Tooltips::RestrictedAccess\\n          @isDisabled={{adminCanChangeContactDetails}}\\n          @permission=\\\"can_access_workspace_settings\\\"\\n          @intent=\\\"edit Operator settings\\\"\\n          @object=\\\"operator_settings\\\"\\n          class=\\\"mt-6 onboarding__home__steps__permissions-tooltip-opener\\\"\\n        >\\n          <IcButton\\n            @label=\\\"Continue\\\"\\n            @disabled={{not isSaveEnabled}}\\n            @processingLabel=\\\"Saving…\\\"\\n            @type=\\\"primary\\\"\\n            @onClick={{perform completeStep}}\\n            data-test-contact-details-complete-step={{true}}\\n          />\\n        </Tooltips::RestrictedAccess>\\n      </div>\\n    </div>\\n    <div\\n      class=\\\"layout__box u__mb__20 onboarding__home__steps__customize-messenger-preview-wrapper\\\"\\n    >\\n      <TaskBots::MessengerPreview\\n        @settings={{settings}}\\n        @openSectionName=\\\"contact-collection\\\"\\n        @previewableTasks={{array \\\"contact-collection\\\"}}\\n        @configuration={{messengerSettings.previewConfiguration}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"onboarding__home__steps__accordion-wrapper\\\">\\n  <Onboarding::Home::StepStateBannerComponent\\n    @step={{step}}\\n    @ctaBodyText=\\\"Well done! You can make changes to task bots in\\\"\\n    @linkToText=\\\"Operator settings\\\"\\n    @linkToRoute=\\\"apps.app.operator.task-bots.leads\\\"\\n  />\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"layout__box u__padr__30 o__flexes-to-1\\\">\\n      <div class=\\\"layout__box onboarding__home__steps__left-content\\\">\\n        <div class=\\\"mb-4\\\">\\n          <IcContent>\\n            <p>\\n              Stay connected to your customers when they start conversations with you.\\n            </p>\\n            <p>\\n              If we don’t already have their contact details, we’ll automatically suggest that customers leave their email address or\\n            their mobile number to get notified whenever you reply.\\n            </p>\\n          </IcContent>\\n        </div>\\n        {{#if contactCollectionDisabled}}\\n          <IcBanner\\n            @type=\\\"help\\\"\\n            class=\\\"mt-8 mb-6\\\"\\n            data-test-task-bot-off-banner={{true}}\\n          >\\n            Contact details collection has been turned off.\\n            To turn it back on, visit <LinkTo @route=\\\"apps.app.operator.task-bots.leads\\\">Operator settings</LinkTo>.\\n          </IcBanner>\\n        {{/if}}\\n        <TaskBots::ContactCollection::RadioForm\\n          @contactCollection={{contactCollection}}\\n          @disabled={{contactCollectionDisabled}}\\n        />\\n        <Tooltips::RestrictedAccess\\n          @isDisabled={{adminCanChangeContactDetails}}\\n          @permission=\\\"can_access_workspace_settings\\\"\\n          @intent=\\\"edit Operator settings\\\"\\n          @object=\\\"operator_settings\\\"\\n          class=\\\"mt-6 onboarding__home__steps__permissions-tooltip-opener\\\"\\n        >\\n          <IcButton\\n            @label=\\\"Continue\\\"\\n            @disabled={{not isSaveEnabled}}\\n            @processingLabel=\\\"Saving…\\\"\\n            @type=\\\"primary\\\"\\n            @onClick={{perform completeStep}}\\n            data-test-contact-details-complete-step={{true}}\\n          />\\n        </Tooltips::RestrictedAccess>\\n      </div>\\n    </div>\\n    <div\\n      class=\\\"layout__box u__mb__20 onboarding__home__steps__customize-messenger-preview-wrapper\\\"\\n    >\\n      <TaskBots::MessengerPreview\\n        @settings={{settings}}\\n        @openSectionName=\\\"contact-collection\\\"\\n        @previewableTasks={{array \\\"contact-collection\\\"}}\\n        @configuration={{messengerSettings.previewConfiguration}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/ask-for-contact-details.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/ask-for-contact-details.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport EmberObject, { computed } from '@ember/object';\nimport { readOnly, not } from '@ember/object/computed';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  appService: service(),\n  intercomEventService: service(),\n  completionCallback: null,\n  contactCollection: readOnly('step.modelData.contactCollection'),\n  collectSms: readOnly('contactCollection.collectSms'),\n  contactCollectionDisabled: not('contactCollection.enabled'),\n  messengerSettings: readOnly('step.modelData.messengerSettings'),\n  settingsAreDirty: readOnly('contactCollection.hasDirtyAttributes'),\n  adminCanChangeContactDetails: readOnly(\n    'appService.app.currentAdmin.currentAppPermissions.can_create_and_edit_bots',\n  ),\n\n  settings: computed('contactCollection', function() {\n    return EmberObject.create({ contactCollection: this.contactCollection });\n  }),\n\n  isSaveEnabled: computed(\n    'step.available',\n    'settingsAreDirty',\n    'adminCanChangeContactDetails',\n    function() {\n      if (!this.adminCanChangeContactDetails) {\n        return false;\n      }\n\n      return this.step.available || this.settingsAreDirty;\n    },\n  ),\n\n  completeStep: task(function*() {\n    try {\n      let settingsHaveChanged = this.settingsAreDirty;\n      yield this.contactCollection.save();\n      if (settingsHaveChanged) {\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'changed',\n          object: 'ask_for_contact_details',\n          ...this.step.analyticsMetadata,\n        });\n      }\n    } catch (error) {\n      this.notificationsService.notifyResponseError(error, {\n        default: 'Your Operator settings have not been updated, Please try later',\n      });\n    }\n\n    if (this.step.completed) {\n      return this.completionCallback({\n        stepCompletedText: 'Your Operator settings have been saved!',\n      });\n    }\n    yield this.completionCallback();\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Onboarding::Home::StepStateBannerComponent\\n  @step={{step}} as |transitionToRoute|\\n>\\n  Your ongoing message is live.\\n  {{#if (and noLoggedOutInstall noLoggedInInstall)}}\\n    <a {{action \\\"openStep\\\" \\\"install_messenger\\\"}}>\\n      Install your Messenger\\n    </a>\\n    for customers to see this ongoing message.\\n  {{else}}\\n    Go to\\n    <a onclick={{action transitionToRoute \\\"apps.app.outbound\\\"}}>\\n      Outbound\\n    </a>\\n    to edit this message or create a new one.\\n  {{/if}}\\n</Onboarding::Home::StepStateBannerComponent>\\n<div\\n  class=\\\"layout__box o__has-columns onboarding__home__steps__auto-message-content-container\\\"\\n>\\n  <div\\n    class=\\\"layout__box onboarding__home__steps__auto-message-left-content o__flexes-to-1\\\"\\n  >\\n    <Onboarding::Home::Steps::Chat::ChatDescriptionComponent\\n      @completed={{step.completed}}\\n      @audienceTypes={{audienceTypes}}\\n      @selectedAudience={{selectedAudience}}\\n      @setSelectedAudience={{action \\\"setSelectedAudience\\\"}}\\n    />\\n    <div class=\\\"h-10\\\"></div>\\n    <Onboarding::Home::Steps::AutoMessage::SaveButtonComponent\\n      @completed={{step.completed}}\\n      @messageToEdit={{chatRuleset}}\\n      @adminCanSendMessages={{adminCanSendMessages}}\\n      @messagesPlanId={{messagesPlanId}}\\n      @analyticsMetadata={{step.analyticsMetadata}}\\n      @saveAndSetLive={{saveAndSetLive}}\\n      @closeSection={{action \\\"closeSection\\\"}}\\n      @isOnFree={{isOnFree}}\\n    />\\n  </div>\\n  <div class=\\\"layout__box {{if step.completed \\\"opacity-50\\\"}}\\\">\\n    <Onboarding::Home::Steps::Chat::ChatEditorComponent\\n      @chat={{this.chat}}\\n      @selectedAudience={{selectedAudience}}\\n      @chatRuleset={{this.chatRuleset}}\\n      @isEditing={{not step.completed}}\\n    />\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Onboarding::Home::StepStateBannerComponent\\n  @step={{step}} as |transitionToRoute|\\n>\\n  Your ongoing message is live.\\n  {{#if (and noLoggedOutInstall noLoggedInInstall)}}\\n    <a {{action \\\"openStep\\\" \\\"install_messenger\\\"}}>\\n      Install your Messenger\\n    </a>\\n    for customers to see this ongoing message.\\n  {{else}}\\n    Go to\\n    <a onclick={{action transitionToRoute \\\"apps.app.outbound\\\"}}>\\n      Outbound\\n    </a>\\n    to edit this message or create a new one.\\n  {{/if}}\\n</Onboarding::Home::StepStateBannerComponent>\\n<div\\n  class=\\\"layout__box o__has-columns onboarding__home__steps__auto-message-content-container\\\"\\n>\\n  <div\\n    class=\\\"layout__box onboarding__home__steps__auto-message-left-content o__flexes-to-1\\\"\\n  >\\n    <Onboarding::Home::Steps::Chat::ChatDescriptionComponent\\n      @completed={{step.completed}}\\n      @audienceTypes={{audienceTypes}}\\n      @selectedAudience={{selectedAudience}}\\n      @setSelectedAudience={{action \\\"setSelectedAudience\\\"}}\\n    />\\n    <div class=\\\"h-10\\\"></div>\\n    <Onboarding::Home::Steps::AutoMessage::SaveButtonComponent\\n      @completed={{step.completed}}\\n      @messageToEdit={{chatRuleset}}\\n      @adminCanSendMessages={{adminCanSendMessages}}\\n      @messagesPlanId={{messagesPlanId}}\\n      @analyticsMetadata={{step.analyticsMetadata}}\\n      @saveAndSetLive={{saveAndSetLive}}\\n      @closeSection={{action \\\"closeSection\\\"}}\\n      @isOnFree={{isOnFree}}\\n    />\\n  </div>\\n  <div class=\\\"layout__box {{if step.completed \\\"opacity-50\\\"}}\\\">\\n    <Onboarding::Home::Steps::Chat::ChatEditorComponent\\n      @chat={{this.chat}}\\n      @selectedAudience={{selectedAudience}}\\n      @chatRuleset={{this.chatRuleset}}\\n      @isEditing={{not step.completed}}\\n    />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/auto-message-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/auto-message-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { not, or, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { MESSAGES_ESSENTIAL_ID } from 'embercom/lib/billing';\n\nlet userRole = {\n  attribute: 'role',\n  type: 'role',\n  comparison: 'in',\n  value: ['user_role'],\n};\n\nlet visitorRole = {\n  attribute: 'role',\n  type: 'role',\n  comparison: 'in',\n  value: ['contact_role', 'visitor_role'],\n};\n\nexport default Component.extend({\n  appService: service(),\n  store: service(),\n  app: readOnly('appService.app'),\n  onboardingHomeService: service(),\n  guide: readOnly('onboardingHomeService.guide'),\n  completionCallback: null,\n  openStepCallback: null,\n  classNames: ['onboarding__home__steps__accordion-wrapper'],\n\n  isOnFree: readOnly('app.isOnFree'),\n  messagesPlanId: MESSAGES_ESSENTIAL_ID,\n  chatRuleset: readOnly('step.modelData.chatRuleset'),\n  chat: readOnly('chatRuleset.rulesetLinks.firstObject.object'),\n  adminCanSendMessages: readOnly('app.currentAdmin.canSendMessages'),\n\n  audienceTypes: ['visitors', 'users'],\n  selectedAudience: 'visitors',\n\n  loggedOutInstallTimestamp: or('app.first_anonymous_request_at', 'app.verifiedLoggedOutInstallAt'),\n  noLoggedOutInstall: not('loggedOutInstallTimestamp'),\n  loggedInInstallTimestamp: or('app.first_identified_request_at', 'app.verifiedLoggedInInstallAt'),\n  noLoggedInInstall: not('loggedInInstallTimestamp'),\n\n  init() {\n    this._setSelectedAudience();\n    this._super(...arguments);\n  },\n\n  _setSelectedAudience() {\n    if (this.chatRuleset && this.chatRuleset.userType === 'non_user') {\n      this.set('selectedAudience', 'visitors');\n    } else {\n      this.set('selectedAudience', 'users');\n    }\n  },\n\n  saveAndSetLive: task(function*() {\n    let selectedRolePredicate = this.selectedAudience === 'visitors' ? visitorRole : userRole;\n    let rolePredicate = this.store.createFragment('predicates/predicate-group', {\n      predicates: [selectedRolePredicate],\n    });\n    this.chatRuleset.set('rolePredicateGroup', rolePredicate);\n\n    try {\n      yield this.chatRuleset.save();\n    } catch (e) {\n      this.notificationsService.notifyError(\n        'Something went wrong and we couldn’t save your message. Please try again.',\n      );\n      return;\n    }\n\n    try {\n      yield this.chatRuleset.activate();\n    } catch (e) {\n      this.notificationsService.notifyError(\n        'Something went wrong and we couldn’t set your message live. Please try again.',\n      );\n      return;\n    }\n    yield this._fetchInstallMessengerStepData();\n\n    yield this.completionCallback({\n      analyticsMetadata: {\n        context: this.selectedAudience,\n        assignment: 'auto',\n      },\n    });\n  }),\n\n  async _fetchInstallMessengerStepData() {\n    let installMessengerStep = this.guide.installMessengerStep;\n    if (installMessengerStep) {\n      await installMessengerStep.loadModelData();\n    }\n  },\n\n  actions: {\n    closeSection() {\n      this.accordionAPI.closeSection();\n    },\n\n    setSelectedAudience(audience) {\n      this.intercomEventService.trackAnalyticsEvent({\n        section: 'inline_step',\n        object: 'send_auto_message',\n        action: 'toggled',\n        context: audience,\n      });\n\n      this.set('selectedAudience', audience);\n    },\n\n    openStep(stepIdentifier) {\n      this.openStepCallback(stepIdentifier);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__flexes-to-1\\\" data-test-deleted-preview>\\n  <div class=\\\"layout__box o__has-rows\\\">\\n    <div id=\\\"embedded_messenger\\\" class=\\\"o__read-only\\\">\\n      <div class=\\\"message__editor__chrome__container web-chrome__container {{message-style-class 'chat'}}\\\">\\n        <div class=\\\"web-chrome__browser-header layout__box o__has-columns\\\">\\n          <img src=\\\"/assets/images/message-editor/chrome-browser-header-left@2x.png\\\" height=\\\"74px\\\" width=\\\"357px\\\">\\n          <img class=\\\"layout__box o__flexes-to-1\\\" src=\\\"/assets/images/message-editor/chrome-browser-header-middle@2x.png\\\"\\n            height=\\\"74px\\\">\\n          <img src=\\\"/assets/images/message-editor/chrome-browser-header-right@2x.png\\\" height=\\\"74px\\\">\\n          <span class=\\\"web-chrome__app-name u__truncate\\\">{{appName}}</span>\\n        </div>\\n        <div class=\\\"u__relative\\\">\\n          <span class=\\\"web-chrome__app-nav layout__box o__has-columns\\\">\\n            <img src=\\\"/assets/images/message-editor/chrome-app-nav-left@2x.png\\\" height=\\\"51px\\\" width=\\\"357px\\\">\\n            <img class=\\\"layout__box o__flexes-to-1\\\" src=\\\"/assets/images/message-editor/chrome-app-nav-middle@2x.png\\\" height=\\\"51px\\\">\\n            <img src=\\\"/assets/images/message-editor/chrome-app-nav-right@2x.png\\\" height=\\\"51px\\\" width=\\\"37px\\\">\\n          </span>\\n          <div class=\\\"web-chrome__app-body\\\"></div>\\n          <div class=\\\"u__relative onboarding__home__steps__auto-message__deleted-preview-container\\\">\\n            <div class=\\\"onboarding__home__steps__auto-message__deleted-preview\\\">\\n              {{inline-svg 'onboarding/home/auto-message-deleted'}}\\n            </div>\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__flexes-to-1\\\" data-test-deleted-preview>\\n  <div class=\\\"layout__box o__has-rows\\\">\\n    <div id=\\\"embedded_messenger\\\" class=\\\"o__read-only\\\">\\n      <div class=\\\"message__editor__chrome__container web-chrome__container {{message-style-class 'chat'}}\\\">\\n        <div class=\\\"web-chrome__browser-header layout__box o__has-columns\\\">\\n          <img src=\\\"/assets/images/message-editor/chrome-browser-header-left@2x.png\\\" height=\\\"74px\\\" width=\\\"357px\\\">\\n          <img class=\\\"layout__box o__flexes-to-1\\\" src=\\\"/assets/images/message-editor/chrome-browser-header-middle@2x.png\\\"\\n            height=\\\"74px\\\">\\n          <img src=\\\"/assets/images/message-editor/chrome-browser-header-right@2x.png\\\" height=\\\"74px\\\">\\n          <span class=\\\"web-chrome__app-name u__truncate\\\">{{appName}}</span>\\n        </div>\\n        <div class=\\\"u__relative\\\">\\n          <span class=\\\"web-chrome__app-nav layout__box o__has-columns\\\">\\n            <img src=\\\"/assets/images/message-editor/chrome-app-nav-left@2x.png\\\" height=\\\"51px\\\" width=\\\"357px\\\">\\n            <img class=\\\"layout__box o__flexes-to-1\\\" src=\\\"/assets/images/message-editor/chrome-app-nav-middle@2x.png\\\" height=\\\"51px\\\">\\n            <img src=\\\"/assets/images/message-editor/chrome-app-nav-right@2x.png\\\" height=\\\"51px\\\" width=\\\"37px\\\">\\n          </span>\\n          <div class=\\\"web-chrome__app-body\\\"></div>\\n          <div class=\\\"u__relative onboarding__home__steps__auto-message__deleted-preview-container\\\">\\n            <div class=\\\"onboarding__home__steps__auto-message__deleted-preview\\\">\\n              {{inline-svg 'onboarding/home/auto-message-deleted'}}\\n            </div>\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/auto-message/deleted-preview-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/auto-message/deleted-preview-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if @completed}}\\n  <IcButton\\n    @type=\\\"secondary\\\"\\n    @label=\\\"Close\\\"\\n    @onClick={{action @closeSection}}\\n    data-test-close-message-step={{true}}\\n  />\\n{{else if @messageToEdit}}\\n  <div>\\n    <Paywall\\n      @featureKey='auto_messaging'\\n      @analyticsMetadata={{@analyticsMetadata}}\\n      @forceInactive={{@isOnFree}} as |paywall|\\n    >\\n      <paywall.Block>\\n        <Tooltips::RestrictedAccess\\n          @isDisabled={{@adminCanSendMessages}}\\n          @permission=\\\"can_send_messages\\\"\\n          @intent=\\\"send auto messages\\\"\\n          @object=\\\"send_auto_message\\\"\\n          class=\\\"onboarding__home__steps__permissions-tooltip-opener w-full\\\"\\n        >\\n          <IcButton\\n            @type=\\\"primary\\\"\\n            @onClick={{perform @saveAndSetLive}}\\n            @disabled={{or\\n              prompt.isActive\\n              (or paywall.isActive (or @saveAndSetLive.isRunning (not @adminCanSendMessages)))\\n            }}\\n            data-test-save-and-continue={{true}}\\n          >\\n            {{if @saveAndSetLive.isRunning \\\"Saving...\\\" \\\"Save and continue\\\"}}\\n          </IcButton>\\n        </Tooltips::RestrictedAccess>\\n      </paywall.Block>\\n    </Paywall>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if @completed}}\\n  <IcButton\\n    @type=\\\"secondary\\\"\\n    @label=\\\"Close\\\"\\n    @onClick={{action @closeSection}}\\n    data-test-close-message-step={{true}}\\n  />\\n{{else if @messageToEdit}}\\n  <div>\\n    <Paywall\\n      @featureKey='auto_messaging'\\n      @analyticsMetadata={{@analyticsMetadata}}\\n      @forceInactive={{@isOnFree}} as |paywall|\\n    >\\n      <paywall.Block>\\n        <Tooltips::RestrictedAccess\\n          @isDisabled={{@adminCanSendMessages}}\\n          @permission=\\\"can_send_messages\\\"\\n          @intent=\\\"send auto messages\\\"\\n          @object=\\\"send_auto_message\\\"\\n          class=\\\"onboarding__home__steps__permissions-tooltip-opener w-full\\\"\\n        >\\n          <IcButton\\n            @type=\\\"primary\\\"\\n            @onClick={{perform @saveAndSetLive}}\\n            @disabled={{or\\n              prompt.isActive\\n              (or paywall.isActive (or @saveAndSetLive.isRunning (not @adminCanSendMessages)))\\n            }}\\n            data-test-save-and-continue={{true}}\\n          >\\n            {{if @saveAndSetLive.isRunning \\\"Saving...\\\" \\\"Save and continue\\\"}}\\n          </IcButton>\\n        </Tooltips::RestrictedAccess>\\n      </paywall.Block>\\n    </Paywall>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/auto-message/save-button-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/auto-message/save-button-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Onboarding::Home::Steps::InboxExternalStep\\n  @step={{@step}}\\n  @imgSrc=\\\"/assets/images/onboarding/home/steps/conversation-routing@1x.jpg\\\"\\n  @imgSrcSet=\\\"/assets/images/onboarding/home/steps/conversation-routing@2x.jpg 2x\\\"\\n  @completionCallback={{@completionCallback}}\\n  @openStepCallback={{@openStepCallback}}\\n  @generateExampleData={{true}}\\n  @needsHostedMessengerConversation={{false}}\\n  @collapsedSubmenuOnTour={{false}}\\n  @featureKey=\\\"inbox\\\"\\n>\\n  <p>\\n    {{#if (has-feature \\\"hasOsa2OnboardingHome\\\")}}\\n      Give faster support by automatically assigning, tagging and more using Rules.\\n    {{else}}\\n      Give faster support by making sure your conversations get answered by the right person.\\n    {{/if}}\\n  </p>\\n</Onboarding::Home::Steps::InboxExternalStep>\\n\", {\"contents\":\"<Onboarding::Home::Steps::InboxExternalStep\\n  @step={{@step}}\\n  @imgSrc=\\\"/assets/images/onboarding/home/steps/conversation-routing@1x.jpg\\\"\\n  @imgSrcSet=\\\"/assets/images/onboarding/home/steps/conversation-routing@2x.jpg 2x\\\"\\n  @completionCallback={{@completionCallback}}\\n  @openStepCallback={{@openStepCallback}}\\n  @generateExampleData={{true}}\\n  @needsHostedMessengerConversation={{false}}\\n  @collapsedSubmenuOnTour={{false}}\\n  @featureKey=\\\"inbox\\\"\\n>\\n  <p>\\n    {{#if (has-feature \\\"hasOsa2OnboardingHome\\\")}}\\n      Give faster support by automatically assigning, tagging and more using Rules.\\n    {{else}}\\n      Give faster support by making sure your conversations get answered by the right person.\\n    {{/if}}\\n  </p>\\n</Onboarding::Home::Steps::InboxExternalStep>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/automatic-assignments.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/automatic-assignments.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Onboarding::Home::StepContent as |content|>\\n  <content.container>\\n    <div class=\\\"flex flex-col items-start gap-4\\\">\\n      <p class=\\\"mb-8\\\" data-test-book-meeting-from-the-inbox-component>\\n        Book more meetings at the right time directly in the Messenger with apps like Google Calendar, Outlook, Calendly and more.\\n      </p>\\n      <div class=\\\"flex flex-row justify-start gap-4\\\">\\n        <div class=\\\"flex flex-col flex-1\\\">\\n          <Appstore::AppCard\\n            @appPackage={{googleCalendarAppPackage}}\\n            @onClick={{action \\\"openModal\\\"}}\\n          />\\n        </div>\\n        <div class=\\\"flex flex-col flex-1\\\">\\n          <Appstore::AppCard\\n            @appPackage={{calendlyAppPackage}}\\n            @onClick={{action \\\"openModal\\\"}}\\n          />\\n        </div>\\n        <div class=\\\"flex flex-col flex-1\\\">\\n          <Appstore::AppCard\\n            @appPackage={{outlookCalendarAppPackage}}\\n            @onClick={{action \\\"openModal\\\"}}\\n          />\\n        </div>\\n      </div>\\n      {{#if step.available}}\\n        <a\\n          data-test-mark-done-link\\n          class=\\\"u__display-block t__em-link mb-10\\\"\\n          onclick={{action \\\"markAsCompleted\\\"}}\\n        >\\n          Mark as done — I use a different calendar\\n        </a>\\n      {{/if}}\\n    </div>\\n  </content.container>\\n  {{#if step.available}}\\n    <Onboarding::Home::InviteCardComponent\\n      @step={{step}}\\n      @baseAnalyticsMetadata={{step.analyticsMetadata}}\\n    />\\n  {{/if}}\\n</Onboarding::Home::StepContent>\\n{{#if googleModalOpen}}\\n  <Appstore::AppPackage::Modal\\n    data-test-app-package-modal-google\\n    @appPackage={{googleCalendarAppPackage}}\\n    @hideAdditionalAppPackageContent={{true}}\\n    @installSource=\\\"onboarding-flow\\\"\\n    @closeModal={{action \\\"closeModal\\\"}}\\n  />\\n{{/if}}\\n{{#if outlookModalOpen}}\\n  <Appstore::AppPackage::Modal\\n    data-test-app-package-modal-outlook\\n    @appPackage={{outlookCalendarAppPackage}}\\n    @hideAdditionalAppPackageContent={{true}}\\n    @installSource=\\\"onboarding-flow\\\"\\n    @closeModal={{action \\\"closeModal\\\"}}\\n  />\\n{{/if}}\\n{{#if calendlyModalOpen}}\\n  <Appstore::AppPackage::Modal\\n    data-test-app-package-modal-calendly\\n    @appPackage={{calendlyAppPackage}}\\n    @hideAdditionalAppPackageContent={{true}}\\n    @installSource=\\\"onboarding-flow\\\"\\n    @closeModal={{action \\\"closeModal\\\"}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Onboarding::Home::StepContent as |content|>\\n  <content.container>\\n    <div class=\\\"flex flex-col items-start gap-4\\\">\\n      <p class=\\\"mb-8\\\" data-test-book-meeting-from-the-inbox-component>\\n        Book more meetings at the right time directly in the Messenger with apps like Google Calendar, Outlook, Calendly and more.\\n      </p>\\n      <div class=\\\"flex flex-row justify-start gap-4\\\">\\n        <div class=\\\"flex flex-col flex-1\\\">\\n          <Appstore::AppCard\\n            @appPackage={{googleCalendarAppPackage}}\\n            @onClick={{action \\\"openModal\\\"}}\\n          />\\n        </div>\\n        <div class=\\\"flex flex-col flex-1\\\">\\n          <Appstore::AppCard\\n            @appPackage={{calendlyAppPackage}}\\n            @onClick={{action \\\"openModal\\\"}}\\n          />\\n        </div>\\n        <div class=\\\"flex flex-col flex-1\\\">\\n          <Appstore::AppCard\\n            @appPackage={{outlookCalendarAppPackage}}\\n            @onClick={{action \\\"openModal\\\"}}\\n          />\\n        </div>\\n      </div>\\n      {{#if step.available}}\\n        <a\\n          data-test-mark-done-link\\n          class=\\\"u__display-block t__em-link mb-10\\\"\\n          onclick={{action \\\"markAsCompleted\\\"}}\\n        >\\n          Mark as done — I use a different calendar\\n        </a>\\n      {{/if}}\\n    </div>\\n  </content.container>\\n  {{#if step.available}}\\n    <Onboarding::Home::InviteCardComponent\\n      @step={{step}}\\n      @baseAnalyticsMetadata={{step.analyticsMetadata}}\\n    />\\n  {{/if}}\\n</Onboarding::Home::StepContent>\\n{{#if googleModalOpen}}\\n  <Appstore::AppPackage::Modal\\n    data-test-app-package-modal-google\\n    @appPackage={{googleCalendarAppPackage}}\\n    @hideAdditionalAppPackageContent={{true}}\\n    @installSource=\\\"onboarding-flow\\\"\\n    @closeModal={{action \\\"closeModal\\\"}}\\n  />\\n{{/if}}\\n{{#if outlookModalOpen}}\\n  <Appstore::AppPackage::Modal\\n    data-test-app-package-modal-outlook\\n    @appPackage={{outlookCalendarAppPackage}}\\n    @hideAdditionalAppPackageContent={{true}}\\n    @installSource=\\\"onboarding-flow\\\"\\n    @closeModal={{action \\\"closeModal\\\"}}\\n  />\\n{{/if}}\\n{{#if calendlyModalOpen}}\\n  <Appstore::AppPackage::Modal\\n    data-test-app-package-modal-calendly\\n    @appPackage={{calendlyAppPackage}}\\n    @hideAdditionalAppPackageContent={{true}}\\n    @installSource=\\\"onboarding-flow\\\"\\n    @closeModal={{action \\\"closeModal\\\"}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/book-a-meeting-from-the-inbox.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/book-a-meeting-from-the-inbox.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  googleCalendarAppPackage: readOnly('step.modelData.googleCalendarAppPackage'),\n  outlookCalendarAppPackage: readOnly('step.modelData.outlookCalendarAppPackage'),\n  calendlyAppPackage: readOnly('step.modelData.calendlyAppPackage'),\n  googleModalOpen: false,\n  outlookModalOpen: false,\n  calendlyModalOpen: false,\n  selectedAppPackage: null,\n  actions: {\n    openModal(appPackage) {\n      this.set('selectedAppPackage', appPackage);\n      if (this.selectedAppPackage === this.googleCalendarAppPackage) {\n        this.set('googleModalOpen', true);\n      }\n      if (this.selectedAppPackage === this.outlookCalendarAppPackage) {\n        this.set('outlookModalOpen', true);\n      }\n      if (this.selectedAppPackage === this.calendlyAppPackage) {\n        this.set('calendlyModalOpen', true);\n      }\n    },\n    markAsCompleted() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'step_skipped',\n        object: 'book_a_meeting_from_the_inbox',\n        ...this.step.analyticsMetadata,\n      });\n      this.completionCallback();\n    },\n    closeModal() {\n      this.set('googleModalOpen', false);\n      this.set('outlookModalOpen', false);\n      this.set('calendlyModalOpen', false);\n\n      if (\n        this.googleCalendarAppPackage.isInstalled ||\n        this.outlookCalendarAppPackage.isInstalled ||\n        this.calendlyAppPackage.isInstalled\n      ) {\n        this.intercomEventService.trackAnalyticsEvent({\n          context: this.selectedAppPackage.id,\n          action: 'app_package_installed',\n          object: 'route_support_conversations',\n          ...this.step.analyticsMetadata,\n        });\n        this.completionCallback();\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<td class=\\\"onboarding__home__cda-list-item o__description\\\">\\n  <Input\\n    data-attribute-input-description\\n    data-test-attribute-input-description\\n    @type=\\\"text\\\"\\n    class=\\\"f__text\\\"\\n    @value={{this.description}}\\n  />\\n</td>\\n<td class=\\\"onboarding__home__cda-list-item o__name\\\">\\n  <Input\\n    data-attribute-input-name\\n    data-test-attribute-input-name\\n    @type=\\\"text\\\"\\n    class=\\\"f__text {{if this.hasError 'o__error'}}\\\"\\n    @value={{this.name}}\\n  />\\n</td>\\n<td class=\\\"onboarding__home__cda-list-item o__type\\\">\\n  <SelectComponent\\n    data-attribute-input-type\\n    data-test-attribute-input-type\\n    @options={{this.typeOptions}}\\n    @selectedValue={{this.type}}\\n    @fit={{true}}\\n  />\\n</td>\\n \\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<td class=\\\"onboarding__home__cda-list-item o__description\\\">\\n  <Input\\n    data-attribute-input-description\\n    data-test-attribute-input-description\\n    @type=\\\"text\\\"\\n    class=\\\"f__text\\\"\\n    @value={{this.description}}\\n  />\\n</td>\\n<td class=\\\"onboarding__home__cda-list-item o__name\\\">\\n  <Input\\n    data-attribute-input-name\\n    data-test-attribute-input-name\\n    @type=\\\"text\\\"\\n    class=\\\"f__text {{if this.hasError 'o__error'}}\\\"\\n    @value={{this.name}}\\n  />\\n</td>\\n<td class=\\\"onboarding__home__cda-list-item o__type\\\">\\n  <SelectComponent\\n    data-attribute-input-type\\n    data-test-attribute-input-type\\n    @options={{this.typeOptions}}\\n    @selectedValue={{this.type}}\\n    @fit={{true}}\\n  />\\n</td>\\n \\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/cda-input-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/cda-input-row.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nexport default Component.extend({\n  hasError: computed('erroredCdas', 'erroredCdas.length', 'name', function() {\n    if (this.erroredCdas.length > 0) {\n      return this.erroredCdas.find(cda => {\n        return cda === this.name;\n      });\n    }\n  }),\n\n  tagName: 'tr',\n\n  name: '',\n  description: '',\n  type: '',\n\n  typeOptions: [\n    { label: 'String', value: 'String' },\n    { label: 'Number', value: 'Number' },\n    { label: 'Boolean', value: 'Boolean' },\n    { label: 'Date', value: 'Date' },\n  ],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (has-feature \\\"hasOsa2OnboardingHome\\\")}}\\n  <p>With your Messenger installed, you can automatically target messages to the right people at the right time to welcome people, offer proactive support, and more.</p>\\n{{else}}\\n  <p>With your Messenger installed, you can reach out to customers automatically.</p>\\n{{/if}}\\n<p class=\\\"mt-6 mb-16\\\">\\n  An ongoing welcome message helps you build a great relationship with customers as they visit your website. Let's create one now!\\n</p>\\n<div\\n  class=\\\"t__h4 layout__box o__has-columns f__group-label\\\"\\n  data-test-auto-message-step-prompt\\n>\\n  <div>\\n    Who do you want to reach with this ongoing message?\\n    <IcTooltipIcon\\n      @content=\\\"Choose one for now. You can create more auto messages later on.\\\"\\n    />\\n  </div>\\n  <div class=\\\"layout__box u__relative z-10 u__padl__5\\\">\\n    {{#unless @completed}}\\n      <div class=\\\"onboarding__home__steps__auto-message-arrow\\\">\\n        {{inline-svg \\\"onboarding/home/auto-message-step-arrow\\\"}}\\n      </div>\\n    {{/unless}}\\n  </div>\\n</div>\\n{{#each @audienceTypes as |audienceType|}}\\n  <label>\\n    <div class=\\\"u__mt__20 u__mb__5\\\">\\n      {{#if (and (eq audienceType \\\"users\\\") @isOnFree (not @completed))}}\\n        <Paywall\\n          @featureKey='auto_messaging'\\n          @analyticsMetadata={{step.analyticsMetadata}} as |paywall|\\n        >\\n          <input\\n            type=\\\"radio\\\"\\n            class=\\\"u__mr__5\\\"\\n            checked={{eq @selectedAudience audienceType}}\\n            onchange={{action @setSelectedAudience audienceType}}\\n            disabled={{paywall.isActive}}\\n            data-test-audience-radio={{audienceType}}\\n          />\\n          Logged-in users <paywall.Badge />\\n        </Paywall>\\n      {{else}}\\n        <input\\n          type=\\\"radio\\\"\\n          class=\\\"u__mr__5\\\"\\n          checked={{eq @selectedAudience audienceType}}\\n          onchange={{action @setSelectedAudience audienceType}}\\n          disabled={{@completed}}\\n          data-test-audience-radio={{audienceType}}\\n        />\\n        {{if (eq audienceType \\\"visitors\\\") \\\"Website visitors\\\" \\\"Logged-in users\\\"}}\\n      {{/if}}\\n    </div>\\n    <div class=\\\"u__ml__20 text-gray\\\">\\n      Write {{if\\n        (eq audienceType \\\"visitors\\\")\\n        \\\"a welcome message\\\"\\n        \\\"an ongoing message\\\"\\n      }} that will appear to new {{audienceType}} when they {{if\\n        (eq audienceType \\\"visitors\\\")\\n        \\\"land on your website\\\"\\n        \\\"open your app\\\"\\n      }}.\\n    </div>\\n  </label>\\n{{/each}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (has-feature \\\"hasOsa2OnboardingHome\\\")}}\\n  <p>With your Messenger installed, you can automatically target messages to the right people at the right time to welcome people, offer proactive support, and more.</p>\\n{{else}}\\n  <p>With your Messenger installed, you can reach out to customers automatically.</p>\\n{{/if}}\\n<p class=\\\"mt-6 mb-16\\\">\\n  An ongoing welcome message helps you build a great relationship with customers as they visit your website. Let's create one now!\\n</p>\\n<div\\n  class=\\\"t__h4 layout__box o__has-columns f__group-label\\\"\\n  data-test-auto-message-step-prompt\\n>\\n  <div>\\n    Who do you want to reach with this ongoing message?\\n    <IcTooltipIcon\\n      @content=\\\"Choose one for now. You can create more auto messages later on.\\\"\\n    />\\n  </div>\\n  <div class=\\\"layout__box u__relative z-10 u__padl__5\\\">\\n    {{#unless @completed}}\\n      <div class=\\\"onboarding__home__steps__auto-message-arrow\\\">\\n        {{inline-svg \\\"onboarding/home/auto-message-step-arrow\\\"}}\\n      </div>\\n    {{/unless}}\\n  </div>\\n</div>\\n{{#each @audienceTypes as |audienceType|}}\\n  <label>\\n    <div class=\\\"u__mt__20 u__mb__5\\\">\\n      {{#if (and (eq audienceType \\\"users\\\") @isOnFree (not @completed))}}\\n        <Paywall\\n          @featureKey='auto_messaging'\\n          @analyticsMetadata={{step.analyticsMetadata}} as |paywall|\\n        >\\n          <input\\n            type=\\\"radio\\\"\\n            class=\\\"u__mr__5\\\"\\n            checked={{eq @selectedAudience audienceType}}\\n            onchange={{action @setSelectedAudience audienceType}}\\n            disabled={{paywall.isActive}}\\n            data-test-audience-radio={{audienceType}}\\n          />\\n          Logged-in users <paywall.Badge />\\n        </Paywall>\\n      {{else}}\\n        <input\\n          type=\\\"radio\\\"\\n          class=\\\"u__mr__5\\\"\\n          checked={{eq @selectedAudience audienceType}}\\n          onchange={{action @setSelectedAudience audienceType}}\\n          disabled={{@completed}}\\n          data-test-audience-radio={{audienceType}}\\n        />\\n        {{if (eq audienceType \\\"visitors\\\") \\\"Website visitors\\\" \\\"Logged-in users\\\"}}\\n      {{/if}}\\n    </div>\\n    <div class=\\\"u__ml__20 text-gray\\\">\\n      Write {{if\\n        (eq audienceType \\\"visitors\\\")\\n        \\\"a welcome message\\\"\\n        \\\"an ongoing message\\\"\\n      }} that will appear to new {{audienceType}} when they {{if\\n        (eq audienceType \\\"visitors\\\")\\n        \\\"land on your website\\\"\\n        \\\"open your app\\\"\\n      }}.\\n    </div>\\n  </label>\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/chat/chat-description-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/chat/chat-description-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @chatRuleset}}\\n  <Chat::Composer\\n    @chat={{@chat}}\\n    @preset={{'inAppChatVideo'}}\\n    @isEditing={{@isEditing}}\\n    @deviceType={{'web'}}\\n  />\\n{{else}}\\n  <Onboarding::Home::Steps::AutoMessage::DeletedPreviewComponent />\\n{{/if}}\\n\", {\"contents\":\"{{#if @chatRuleset}}\\n  <Chat::Composer\\n    @chat={{@chat}}\\n    @preset={{'inAppChatVideo'}}\\n    @isEditing={{@isEditing}}\\n    @deviceType={{'web'}}\\n  />\\n{{else}}\\n  <Onboarding::Home::Steps::AutoMessage::DeletedPreviewComponent />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/chat/chat-editor-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/chat/chat-editor-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if @completed}}\\n  <IcButton\\n    @type=\\\"secondary\\\"\\n    @label=\\\"Close\\\"\\n    @onClick={{action @closeSection}}\\n    data-test-close-message-step={{true}}\\n  />\\n{{else if @chatRuleset}}\\n  <div>\\n    <Paywall\\n      @featureKey='auto_messaging'\\n      @analyticsMetadata={{@analyticsMetadata}}\\n      @forceInactive={{@isOnFree}} as |paywall|\\n    >\\n      <paywall.Block>\\n        <Tooltips::RestrictedAccess\\n          @isDisabled={{@adminCanSendMessages}}\\n          @permission=\\\"can_send_messages\\\"\\n          @intent=\\\"send auto messages\\\"\\n          @object=\\\"send_auto_message\\\"\\n          class=\\\"onboarding__home__steps__permissions-tooltip-opener w-full\\\"\\n        >\\n          <IcButton\\n            @type=\\\"primary\\\"\\n            @onClick={{perform @saveAndSetLive}}\\n            @disabled={{or\\n              prompt.isActive\\n              (or paywall.isActive (or @saveAndSetLive.isRunning (not @adminCanSendMessages)))\\n            }}\\n            data-test-save-and-continue={{true}}\\n          >\\n            {{if @saveAndSetLive.isRunning \\\"Saving...\\\" \\\"Save and continue\\\"}}\\n          </IcButton>\\n        </Tooltips::RestrictedAccess>\\n      </paywall.Block>\\n    </Paywall>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if @completed}}\\n  <IcButton\\n    @type=\\\"secondary\\\"\\n    @label=\\\"Close\\\"\\n    @onClick={{action @closeSection}}\\n    data-test-close-message-step={{true}}\\n  />\\n{{else if @chatRuleset}}\\n  <div>\\n    <Paywall\\n      @featureKey='auto_messaging'\\n      @analyticsMetadata={{@analyticsMetadata}}\\n      @forceInactive={{@isOnFree}} as |paywall|\\n    >\\n      <paywall.Block>\\n        <Tooltips::RestrictedAccess\\n          @isDisabled={{@adminCanSendMessages}}\\n          @permission=\\\"can_send_messages\\\"\\n          @intent=\\\"send auto messages\\\"\\n          @object=\\\"send_auto_message\\\"\\n          class=\\\"onboarding__home__steps__permissions-tooltip-opener w-full\\\"\\n        >\\n          <IcButton\\n            @type=\\\"primary\\\"\\n            @onClick={{perform @saveAndSetLive}}\\n            @disabled={{or\\n              prompt.isActive\\n              (or paywall.isActive (or @saveAndSetLive.isRunning (not @adminCanSendMessages)))\\n            }}\\n            data-test-save-and-continue={{true}}\\n          >\\n            {{if @saveAndSetLive.isRunning \\\"Saving...\\\" \\\"Save and continue\\\"}}\\n          </IcButton>\\n        </Tooltips::RestrictedAccess>\\n      </paywall.Block>\\n    </Paywall>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/chat/save-button-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/chat/save-button-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Onboarding::Home::Steps::InboxExternalStep\\n  @step={{@step}}\\n  @imgSrc=\\\"/assets/images/onboarding/home/steps/give-better-support@1x.jpg\\\"\\n  @imgSrcSet=\\\"/assets/images/onboarding/home/steps/give-better-support@2x.jpg 2x\\\"\\n  @completionCallback={{@completionCallback}}\\n  @openStepCallback={{@openStepCallback}}\\n  @collapsedSubmenuOnTour={{false}}\\n  @featureKey=\\\"inbox\\\"\\n>\\n  <p>\\n    Now you’ll learn how to collaborate with your teammates in Inbox using notes.\\n  </p>\\n\\n  <p>\\n    Take a quick tour to get started.\\n  </p>\\n</Onboarding::Home::Steps::InboxExternalStep>\\n\", {\"contents\":\"<Onboarding::Home::Steps::InboxExternalStep\\n  @step={{@step}}\\n  @imgSrc=\\\"/assets/images/onboarding/home/steps/give-better-support@1x.jpg\\\"\\n  @imgSrcSet=\\\"/assets/images/onboarding/home/steps/give-better-support@2x.jpg 2x\\\"\\n  @completionCallback={{@completionCallback}}\\n  @openStepCallback={{@openStepCallback}}\\n  @collapsedSubmenuOnTour={{false}}\\n  @featureKey=\\\"inbox\\\"\\n>\\n  <p>\\n    Now you’ll learn how to collaborate with your teammates in Inbox using notes.\\n  </p>\\n\\n  <p>\\n    Take a quick tour to get started.\\n  </p>\\n</Onboarding::Home::Steps::InboxExternalStep>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/collaborate-for-better-support.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/collaborate-for-better-support.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"onboarding__home__steps__accordion-wrapper\\\"\\n  data-test-connect-social-media-component\\n>\\n  <Onboarding::Home::StepStateBannerComponent @step={{@step}} />\\n  <div class=\\\"mb-8\\\">\\n    Connect your company’s social media accounts to Intercom to answer Facebook and Twitter messages from your inbox.\\n  </div>\\n  <div class=\\\"flex flex-row gap-4 mb-3\\\">\\n    {{#each this.appPackages as |appPackage|}}\\n      <Appstore::AppCard\\n        @appPackage={{appPackage}}\\n        @onClick={{action \\\"selectAppPackage\\\"}}\\n        class=\\\"onboarding__home__steps__install-app__app-card\\\"\\n      />\\n    {{/each}}\\n  </div>\\n  {{#if @step.available}}\\n    <a\\n      data-test-mark-done-link\\n      class=\\\"u__display-block t__em-link mb-10\\\"\\n      onclick={{action \\\"markAsCompleted\\\"}}\\n    >\\n      {{this.markAsDoneText}}\\n    </a>\\n    <Onboarding::Home::InviteCardComponent\\n      @step={{@step}}\\n      class=\\\"mb-8\\\"\\n      @baseAnalyticsMetadata={{@step.analyticsMetadata}}\\n    />\\n  {{/if}}\\n</div>\\n{{#if this.selectedAppPackage}}\\n  <Appstore::AppPackage::Modal\\n    @appPackage={{this.selectedAppPackage}}\\n    @hideAdditionalAppPackageContent={{true}}\\n    @installSource=\\\"onboarding-flow\\\"\\n    @closeModal={{action \\\"closeModal\\\"}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"onboarding__home__steps__accordion-wrapper\\\"\\n  data-test-connect-social-media-component\\n>\\n  <Onboarding::Home::StepStateBannerComponent @step={{@step}} />\\n  <div class=\\\"mb-8\\\">\\n    Connect your company’s social media accounts to Intercom to answer Facebook and Twitter messages from your inbox.\\n  </div>\\n  <div class=\\\"flex flex-row gap-4 mb-3\\\">\\n    {{#each this.appPackages as |appPackage|}}\\n      <Appstore::AppCard\\n        @appPackage={{appPackage}}\\n        @onClick={{action \\\"selectAppPackage\\\"}}\\n        class=\\\"onboarding__home__steps__install-app__app-card\\\"\\n      />\\n    {{/each}}\\n  </div>\\n  {{#if @step.available}}\\n    <a\\n      data-test-mark-done-link\\n      class=\\\"u__display-block t__em-link mb-10\\\"\\n      onclick={{action \\\"markAsCompleted\\\"}}\\n    >\\n      {{this.markAsDoneText}}\\n    </a>\\n    <Onboarding::Home::InviteCardComponent\\n      @step={{@step}}\\n      class=\\\"mb-8\\\"\\n      @baseAnalyticsMetadata={{@step.analyticsMetadata}}\\n    />\\n  {{/if}}\\n</div>\\n{{#if this.selectedAppPackage}}\\n  <Appstore::AppPackage::Modal\\n    @appPackage={{this.selectedAppPackage}}\\n    @hideAdditionalAppPackageContent={{true}}\\n    @installSource=\\\"onboarding-flow\\\"\\n    @closeModal={{action \\\"closeModal\\\"}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/connect-social-media.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/connect-social-media.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { isAny, isEvery } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  tagName: '',\n  store: service(),\n  appService: service(),\n  router: service(),\n  app: readOnly('appService.app'),\n\n  selectedAppPackage: null,\n\n  appPackages: readOnly('step.modelData.appPackages'),\n  areAllAppsInstalled: isEvery('appPackages', 'isInstalled'),\n  isAnyAppInstalled: isAny('appPackages', 'isInstalled'),\n\n  markAsDoneText: computed('appPackages.@each.isInstalled', function() {\n    if (!this.isAnyAppInstalled) {\n      return 'Mark as done — I don’t have social media accounts';\n    } else if (!this.areAllAppsInstalled) {\n      let firstUninstalledAppPackage = this.appPackages.findBy('isNotInstalled');\n      return `Mark as done — I don’t have a ${firstUninstalledAppPackage.name} account`;\n    }\n  }),\n\n  _trackAnalyticsEvent(options) {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...options,\n      ...this.step.analyticsMetadata,\n    });\n  },\n\n  actions: {\n    markAsCompleted() {\n      this._trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'mark_as_done',\n      });\n      this.completionCallback();\n    },\n\n    selectAppPackage(appPackage) {\n      this.set('selectedAppPackage', appPackage);\n      this._trackAnalyticsEvent({\n        context: this.selectedAppPackage.id,\n        action: 'clicked',\n        object: 'app_package',\n      });\n    },\n\n    closeModal() {\n      this._trackAnalyticsEvent({\n        context: this.selectedAppPackage.id,\n        action: 'clicked',\n        object: 'close_app_modal',\n      });\n\n      this.set('selectedAppPackage', null);\n\n      // This prevents appstore/app-package/modal.js from overwriting the appPackage if the app_package_code query param is present\n      this.router.replaceWith({\n        queryParams: { app_package_code: null, step: this.step.identifier },\n      });\n\n      if (this.areAllAppsInstalled) {\n        this.completionCallback();\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Onboarding::Home::StepContent as |content|>\\n  <div data-test-create-short-article-content>\\n    <content.banner @step={{@step}} />\\n    <content.container>\\n      <content.left>\\n        <p>\\n          Take a quick tour through the article creation process. Then create a short article.\\n        </p>\\n        <Pulse::HelpContent::Tour\\n          @tourId={{@step.stepData.productTourId}}\\n          @handleTourExternally={{true}}\\n        >\\n          <IcButton\\n            data-test-create-short-article-tour-trigger\\n            @type=\\\"primary\\\"\\n            @icon=\\\"cursor\\\"\\n            @label=\\\"Take the tour\\\"\\n            @onClick={{this.transitionToTour}}\\n          />\\n        </Pulse::HelpContent::Tour>\\n      </content.left>\\n      <content.right>\\n        <img\\n          class=\\\"onboarding__home__steps__preview-image\\\"\\n          src=\\\"/assets/images/onboarding/home/steps/create-short-article@2x.png\\\"\\n          width=\\\"180\\\"\\n        />\\n      </content.right>\\n    </content.container>\\n  </div>\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"<Onboarding::Home::StepContent as |content|>\\n  <div data-test-create-short-article-content>\\n    <content.banner @step={{@step}} />\\n    <content.container>\\n      <content.left>\\n        <p>\\n          Take a quick tour through the article creation process. Then create a short article.\\n        </p>\\n        <Pulse::HelpContent::Tour\\n          @tourId={{@step.stepData.productTourId}}\\n          @handleTourExternally={{true}}\\n        >\\n          <IcButton\\n            data-test-create-short-article-tour-trigger\\n            @type=\\\"primary\\\"\\n            @icon=\\\"cursor\\\"\\n            @label=\\\"Take the tour\\\"\\n            @onClick={{this.transitionToTour}}\\n          />\\n        </Pulse::HelpContent::Tour>\\n      </content.left>\\n      <content.right>\\n        <img\\n          class=\\\"onboarding__home__steps__preview-image\\\"\\n          src=\\\"/assets/images/onboarding/home/steps/create-short-article@2x.png\\\"\\n          width=\\\"180\\\"\\n        />\\n      </content.right>\\n    </content.container>\\n  </div>\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/create-short-article.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/create-short-article.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { action } from '@ember/object';\n\nexport default Component.extend({\n  router: service(),\n  appService: service(),\n  onboardingHomeExternalStepService: service(),\n\n  step: null,\n\n  app: readOnly('appService.app'),\n\n  trackClickedAnalyticsEvent() {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.step.analyticsMetadata,\n      action: 'clicked',\n      object: 'go_to_articles',\n      section: 'inline_step',\n    });\n  },\n\n  async _ensureArticlesExist() {\n    await this.onboardingHomeExternalStepService.generateExampleDataForStep(this.step.identifier);\n  },\n\n  transitionToTour: action(async function() {\n    this.trackClickedAnalyticsEvent();\n\n    await this._ensureArticlesExist();\n\n    this.router.transitionTo('apps.app.articles.articles', {\n      queryParams: {\n        external_step: 'create_short_article',\n      },\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"onboarding__home__steps__accordion-wrapper u__padt__10\\\">\\n  <Onboarding::Home::StepStateBannerComponent\\n    @step={{this.step}}\\n    @ctaBodyText=\\\"Looks great! You can always make more changes to your Messenger in\\\"\\n    @linkToText=\\\"Settings\\\"\\n    @linkToRoute=\\\"apps.app.messenger\\\"\\n  />\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"layout__box u__padr__30 o__flexes-to-1\\\">\\n      <div class=\\\"layout__box onboarding__home__steps__left-content\\\">\\n        <div>\\n          Your Messenger is the key way you’ll communicate with your customers. It lets anyone start a conversation with you from your app or website.\\n        </div>\\n        <div class=\\\"h-5\\\"></div>\\n        <div>\\n          In this step, you’ll customize your Messenger to fit your brand, and add a friendly intro to make people feel welcome.\\n        </div>\\n        <div class=\\\"h-8\\\"></div>\\n        <Paywall\\n          @featureKey=\\\"customize_logo\\\"\\n          @analyticsMetadata={{this.step.analyticsMetadata}} as |paywall|\\n        >\\n          <paywall.Block>\\n            <Tooltips::RestrictedAccess\\n              @isDisabled={{this.adminCanChangeMessengerSettings}}\\n              @permission=\\\"can_manage_messenger_settings\\\"\\n              @intent=\\\"upload logo\\\"\\n              @object=\\\"upload_logo\\\"\\n              class=\\\"onboarding__home__steps__permissions-tooltip-opener\\\"\\n              data-ghost-inspector=\\\"onboarding__home__steps__customize-messenger-upload-logo-button\\\"\\n            >\\n              <span class=\\\"t__h4 u__padb__10 f__group-label\\\">\\n                Add your company logo\\n                <IcTooltipIcon @content=\\\"Add a PNG, JPG, or GIF. Your image may be scaled up to 312×32px.\\\" />\\n              </span>\\n              <MessengerSettings::LookAndFeel::LogoUploadComponent\\n                data-test-introduce-company-upload-logo\\n                @lookAndFeelSettings={{this.lookAndFeelSettings}}\\n                @disabled={{or paywall.isActive (not this.adminCanChangeMessengerSettings)}}\\n                @app={{this.app}}\\n              />\\n            </Tooltips::RestrictedAccess>\\n          </paywall.Block>\\n        </Paywall>\\n        <div class=\\\"h-10\\\"></div>\\n        <div class=\\\"t__h4 u__padb__10 f__group-label\\\">\\n          Choose a background color for your Messenger\\n        </div>\\n        <div class=\\\"color-select__hex-container\\\">\\n          <Settings::Appearance::ColorEditComponent\\n            data-test-secondary-color-input\\n            @value={{this.lookAndFeelSettings.secondaryColor}}\\n            @classNames=\\\"f__text color-select__hex-input\\\"\\n            @setColor=\\\"setSecondaryColor\\\"\\n          />\\n          <span class=\\\"color-select__color-picker-opener-component-container\\\">\\n            <Settings::Appearance::ColorPicker\\n              @colpickLayout=\\\"custom\\\"\\n              @value={{this.lookAndFeelSettings.secondaryColorHex}}\\n              @colorOptions={{this.colorOptions}}\\n              @setColor=\\\"setSecondaryColor\\\"\\n            />\\n          </span>\\n        </div>\\n        <div class=\\\"h-10\\\"></div>\\n        <div class=\\\"t__h4 u__padb__10 f__group-label\\\">\\n          Choose a color for buttons and links\\n        </div>\\n        <div class=\\\"color-select__hex-container\\\">\\n          <Settings::Appearance::ColorEditComponent\\n            data-test-primary-color-input\\n            @value={{this.lookAndFeelSettings.primaryColor}}\\n            @classNames=\\\"f__text color-select__hex-input\\\"\\n            @setColor=\\\"setPrimaryColor\\\"\\n          />\\n          <span class=\\\"color-select__color-picker-opener-component-container\\\">\\n            <Settings::Appearance::ColorPicker\\n              @colpickLayout=\\\"custom\\\"\\n              @value={{this.lookAndFeelSettings.primaryColorHex}}\\n              @colorOptions={{this.colorOptions}}\\n              @setColor=\\\"setPrimaryColor\\\"\\n            />\\n          </span>\\n        </div>\\n        <div class=\\\"h-10\\\"></div>\\n        <h3 class=\\\"t__h4 u__padb__10 f__group-label f__group-label\\\">\\n          Write a few lines to introduce your team\\n        </h3>\\n        <div\\n          data-ghost-inspector=\\\"onboarding__home__steps__customize-messenger-introduction-text-area\\\"\\n        >\\n          <MessengerSettings::LocaleTextareaWithCount\\n            @placeholder=\\\"Tell people how you can help\\\"\\n            @locale={{this.defaultLocaleObject}}\\n            @showLocale={{false}}\\n          />\\n        </div>\\n        <div class=\\\"h-5\\\"></div>\\n        <Tooltips::RestrictedAccess\\n          @isDisabled={{this.adminCanChangeMessengerSettings}}\\n          @permission=\\\"can_manage_messenger_settings\\\"\\n          @intent=\\\"edit messenger settings\\\"\\n          @object=\\\"customize_messenger\\\"\\n          class=\\\"onboarding__home__steps__permissions-tooltip-opener\\\"\\n          data-ghost-inspector=\\\"onboarding__home__steps__customize-messenger-save-button\\\"\\n        >\\n          <IcButton\\n            data-test-customize-messenger-complete-step\\n            @label=\\\"Continue\\\"\\n            @onClick={{perform this.completeStep}}\\n            @processingLabel=\\\"Saving…\\\"\\n            @disabled={{not this.isSaveEnabled}}\\n            @type=\\\"primary\\\"\\n          />\\n        </Tooltips::RestrictedAccess>\\n      </div>\\n    </div>\\n    <div\\n      class=\\\"layout__box u__mt__10 u__mb__20 onboarding__home__steps__customize-messenger-preview-wrapper\\\"\\n    >\\n      <MessengerPreview::TranslationLoaderWrapper\\n        @locale={{this.messengerSettings.previewConfiguration.locale}}\\n      >\\n        <MessengerPreview::Home\\n          data-test-customize-messenger-messenger-preview\\n          @configuration={{this.messengerSettings.previewConfiguration}}\\n          @hideUserTypeButtonGroup={{true}}\\n          @hideBorders={{true}}\\n        />\\n      </MessengerPreview::TranslationLoaderWrapper>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"onboarding__home__steps__accordion-wrapper u__padt__10\\\">\\n  <Onboarding::Home::StepStateBannerComponent\\n    @step={{this.step}}\\n    @ctaBodyText=\\\"Looks great! You can always make more changes to your Messenger in\\\"\\n    @linkToText=\\\"Settings\\\"\\n    @linkToRoute=\\\"apps.app.messenger\\\"\\n  />\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"layout__box u__padr__30 o__flexes-to-1\\\">\\n      <div class=\\\"layout__box onboarding__home__steps__left-content\\\">\\n        <div>\\n          Your Messenger is the key way you’ll communicate with your customers. It lets anyone start a conversation with you from your app or website.\\n        </div>\\n        <div class=\\\"h-5\\\"></div>\\n        <div>\\n          In this step, you’ll customize your Messenger to fit your brand, and add a friendly intro to make people feel welcome.\\n        </div>\\n        <div class=\\\"h-8\\\"></div>\\n        <Paywall\\n          @featureKey=\\\"customize_logo\\\"\\n          @analyticsMetadata={{this.step.analyticsMetadata}} as |paywall|\\n        >\\n          <paywall.Block>\\n            <Tooltips::RestrictedAccess\\n              @isDisabled={{this.adminCanChangeMessengerSettings}}\\n              @permission=\\\"can_manage_messenger_settings\\\"\\n              @intent=\\\"upload logo\\\"\\n              @object=\\\"upload_logo\\\"\\n              class=\\\"onboarding__home__steps__permissions-tooltip-opener\\\"\\n              data-ghost-inspector=\\\"onboarding__home__steps__customize-messenger-upload-logo-button\\\"\\n            >\\n              <span class=\\\"t__h4 u__padb__10 f__group-label\\\">\\n                Add your company logo\\n                <IcTooltipIcon @content=\\\"Add a PNG, JPG, or GIF. Your image may be scaled up to 312×32px.\\\" />\\n              </span>\\n              <MessengerSettings::LookAndFeel::LogoUploadComponent\\n                data-test-introduce-company-upload-logo\\n                @lookAndFeelSettings={{this.lookAndFeelSettings}}\\n                @disabled={{or paywall.isActive (not this.adminCanChangeMessengerSettings)}}\\n                @app={{this.app}}\\n              />\\n            </Tooltips::RestrictedAccess>\\n          </paywall.Block>\\n        </Paywall>\\n        <div class=\\\"h-10\\\"></div>\\n        <div class=\\\"t__h4 u__padb__10 f__group-label\\\">\\n          Choose a background color for your Messenger\\n        </div>\\n        <div class=\\\"color-select__hex-container\\\">\\n          <Settings::Appearance::ColorEditComponent\\n            data-test-secondary-color-input\\n            @value={{this.lookAndFeelSettings.secondaryColor}}\\n            @classNames=\\\"f__text color-select__hex-input\\\"\\n            @setColor=\\\"setSecondaryColor\\\"\\n          />\\n          <span class=\\\"color-select__color-picker-opener-component-container\\\">\\n            <Settings::Appearance::ColorPicker\\n              @colpickLayout=\\\"custom\\\"\\n              @value={{this.lookAndFeelSettings.secondaryColorHex}}\\n              @colorOptions={{this.colorOptions}}\\n              @setColor=\\\"setSecondaryColor\\\"\\n            />\\n          </span>\\n        </div>\\n        <div class=\\\"h-10\\\"></div>\\n        <div class=\\\"t__h4 u__padb__10 f__group-label\\\">\\n          Choose a color for buttons and links\\n        </div>\\n        <div class=\\\"color-select__hex-container\\\">\\n          <Settings::Appearance::ColorEditComponent\\n            data-test-primary-color-input\\n            @value={{this.lookAndFeelSettings.primaryColor}}\\n            @classNames=\\\"f__text color-select__hex-input\\\"\\n            @setColor=\\\"setPrimaryColor\\\"\\n          />\\n          <span class=\\\"color-select__color-picker-opener-component-container\\\">\\n            <Settings::Appearance::ColorPicker\\n              @colpickLayout=\\\"custom\\\"\\n              @value={{this.lookAndFeelSettings.primaryColorHex}}\\n              @colorOptions={{this.colorOptions}}\\n              @setColor=\\\"setPrimaryColor\\\"\\n            />\\n          </span>\\n        </div>\\n        <div class=\\\"h-10\\\"></div>\\n        <h3 class=\\\"t__h4 u__padb__10 f__group-label f__group-label\\\">\\n          Write a few lines to introduce your team\\n        </h3>\\n        <div\\n          data-ghost-inspector=\\\"onboarding__home__steps__customize-messenger-introduction-text-area\\\"\\n        >\\n          <MessengerSettings::LocaleTextareaWithCount\\n            @placeholder=\\\"Tell people how you can help\\\"\\n            @locale={{this.defaultLocaleObject}}\\n            @showLocale={{false}}\\n          />\\n        </div>\\n        <div class=\\\"h-5\\\"></div>\\n        <Tooltips::RestrictedAccess\\n          @isDisabled={{this.adminCanChangeMessengerSettings}}\\n          @permission=\\\"can_manage_messenger_settings\\\"\\n          @intent=\\\"edit messenger settings\\\"\\n          @object=\\\"customize_messenger\\\"\\n          class=\\\"onboarding__home__steps__permissions-tooltip-opener\\\"\\n          data-ghost-inspector=\\\"onboarding__home__steps__customize-messenger-save-button\\\"\\n        >\\n          <IcButton\\n            data-test-customize-messenger-complete-step\\n            @label=\\\"Continue\\\"\\n            @onClick={{perform this.completeStep}}\\n            @processingLabel=\\\"Saving…\\\"\\n            @disabled={{not this.isSaveEnabled}}\\n            @type=\\\"primary\\\"\\n          />\\n        </Tooltips::RestrictedAccess>\\n      </div>\\n    </div>\\n    <div\\n      class=\\\"layout__box u__mt__10 u__mb__20 onboarding__home__steps__customize-messenger-preview-wrapper\\\"\\n    >\\n      <MessengerPreview::TranslationLoaderWrapper\\n        @locale={{this.messengerSettings.previewConfiguration.locale}}\\n      >\\n        <MessengerPreview::Home\\n          data-test-customize-messenger-messenger-preview\\n          @configuration={{this.messengerSettings.previewConfiguration}}\\n          @hideUserTypeButtonGroup={{true}}\\n          @hideBorders={{true}}\\n        />\\n      </MessengerPreview::TranslationLoaderWrapper>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/customize-messenger-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/customize-messenger-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { readOnly, or } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { DEFAULT_MESSENGER_COLORS } from 'embercom/lib/messenger-settings-defaults';\nimport { findByProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  store: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  completionCallback: null,\n  step: null,\n\n  messengerSettings: readOnly('step.modelData.messengerSettings'),\n  lookAndFeelSettings: readOnly('messengerSettings.lookAndFeel'),\n  languageSettings: readOnly('messengerSettings.languages'),\n  adminCanChangeMessengerSettings: readOnly(\n    'app.currentAdmin.currentAppPermissions.can_manage_messenger_settings',\n  ),\n\n  colorOptions: DEFAULT_MESSENGER_COLORS,\n  settingsAreDirty: or(\n    'lookAndFeelSettings.hasDirtyAttributes',\n    'languageSettings.hasDirtyAttributes',\n  ),\n\n  isSaveEnabled: computed(\n    'step.available',\n    'settingsAreDirty',\n    'adminCanChangeMessengerSettings',\n    'lookAndFeelSettings.isValid',\n    'languageSettings.isValid',\n    function() {\n      if (!this.adminCanChangeMessengerSettings) {\n        return false;\n      }\n\n      if (!(this.languageSettings.isValid && this.lookAndFeelSettings.isValid)) {\n        return false;\n      }\n\n      return this.step.available || this.settingsAreDirty;\n    },\n  ),\n\n  defaultLocaleObject: findByProperty(\n    'languageSettings.supportedLocales',\n    'localeId',\n    'languageSettings.defaultLocale',\n  ),\n\n  completeStep: task(function*() {\n    yield this.saveMessengerChanges.perform();\n    if (this.step.completed) {\n      return this.completionCallback({\n        stepCompletedText: 'Your Messenger settings have been saved!',\n      });\n    }\n\n    yield this.completionCallback();\n  }),\n\n  saveMessengerChanges: task(function*() {\n    try {\n      this.lookAndFeelSettings.expandColors();\n      yield this.lookAndFeelSettings.save();\n      yield this.languageSettings.save();\n    } catch (error) {\n      this.notificationsService.notifyResponseError(error, {\n        default: 'Your Intercom Messenger settings have not been updated, Please try later',\n      });\n    }\n  }),\n\n  actions: {\n    setSecondaryColor(color) {\n      this.set('lookAndFeelSettings.secondaryColor', color);\n    },\n\n    setPrimaryColor(color) {\n      this.set('lookAndFeelSettings.primaryColor', color);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable no-action --}}\\n<Onboarding::Home::StepContent @step={{@step}} as |content|>\\n  <content.banner>\\n    This step is done, but you can always <LinkTo @route=\\\"apps.app.settings.people-data\\\">create more data attributes</LinkTo>.\\n  </content.banner>\\n\\n  {{#if (and @step.available this.needsDependentStep)}}\\n    <IcBanner @type='help' @class='mb-8' data-test-dependency-warning-banner={{true}}>\\n      To complete this step, you need to have the <a {{action this.openStepCallback this.dependentStepIdentifier}} data-test-dependency-banner-link>{{this.dependentStepTitle}}</a>.\\n    </IcBanner>\\n  {{/if}}\\n\\n  <IcContent>\\n    <p>\\n      To create custom data attributes, first identify what you'll use the data for. Then name your attribute and select its format.\\n      <br>\\n      Here are examples:\\n    </p>\\n\\n    <div class=\\\"flex flex-row gap-6\\\">\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <IcCard class=\\\"h-full\\\">\\n          <IcContent>\\n            <Heading @size=\\\"3\\\">\\n              Example A\\n            </Heading>\\n            <p>\\n              You want to send an email reminding customers on their free trial to create a profile.\\n              You create 2 data attributes that you can use together.\\n              You name the first span <strong>Trial end</strong> and specify the data format as <strong>Date</strong>.\\n              You name the second <strong>Account is created</strong> and specify that the data format is <strong>True or False</strong>.\\n            </p>\\n          </IcContent>\\n        </IcCard>\\n      </div>\\n\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <IcCard class=\\\"h-full\\\">\\n          <IcContent>\\n            <Heading @size=\\\"3\\\">\\n              Example B\\n            </Heading>\\n            <p>\\n              You want to provide faster support to your premium customers by routing their questions to a special inbox.\\n              You create a data attribute called <strong>Premium customer</strong> and specify the data attribute as <strong>True or False</strong>.\\n            </p>\\n          </IcContent>\\n        </IcCard>\\n      </div>\\n    </div>\\n\\n    <p>\\n      Now it's your turn to define your needs and create custom attributes. You can always update these later.\\n      <br>\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/en/articles/213\\\"\\n        @title=\\\"Learn more about custom data attributes\\\"\\n        @type=\\\"article\\\"\\n        @linkStyling=\\\"inline\\\"\\n      />\\n    </p>\\n\\n    {{!-- template-lint-disable intercom/no-custom-table --}}\\n    <table class=\\\"tbl o__fit mb-0\\\">\\n      {{!-- template-lint-enable intercom/no-custom-table --}}\\n      <tr class=\\\"onboarding__home__cda-table\\\">\\n        <th class=\\\"t__label onboarding__home__cda-list-header\\\">\\n          Your goal (optional description)\\n        </th>\\n        <th class=\\\"t__label onboarding__home__cda-list-header\\\">\\n          Your attribute name\\n        </th>\\n        <th class=\\\"t__label onboarding__home__cda-list-header\\\">\\n          Format\\n        </th>\\n      </tr>\\n\\n      {{#each this.attributes as |attribute|}}\\n        <Onboarding::Home::Steps::CdaInputRow\\n          data-test-cda-input\\n          @name={{attribute.name}}\\n          @description={{attribute.description}}\\n          @type={{attribute.type}}\\n          @erroredCdas={{this.erroredCdas}}\\n        />\\n      {{/each}}\\n    </table>\\n\\n    <IcButton\\n      data-test-add-attribute-button\\n      @type=\\\"secondary\\\"\\n      @subtle={{true}}\\n      @onClick={{action \\\"addAttribute\\\"}}\\n      @icon=\\\"new\\\"\\n      @label=\\\"Add another attribute\\\"\\n      @disabled={{this.needsDependentStep}}\\n    />\\n  </IcContent>\\n\\n  <p class=\\\"mt-6 mb-6\\\">\\n    Before you can use the attributes you’ve just defined, you'll need to add them to your Messenger. We’ll show you how in the next step.\\n  </p>\\n\\n  <IcContent>\\n    <IcButton\\n      data-test-continue-button\\n      @type=\\\"primary\\\"\\n      @onClick={{perform this.createCda}}\\n      @label=\\\"Continue\\\"\\n      @disabled={{or (not this.filledCdas.length) this.needsDependentStep this.createCda.isRunning}}\\n    />\\n  </IcContent>\\n\\n  {{#if @step.available}}\\n    <div class=\\\"h-8\\\"></div>\\n    <Onboarding::Home::InviteCardComponent\\n      @step={{@step}}\\n      @baseAnalyticsMetadata={{this.analyticsMetadata}}\\n    />\\n  {{/if}}\\n\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable no-action --}}\\n<Onboarding::Home::StepContent @step={{@step}} as |content|>\\n  <content.banner>\\n    This step is done, but you can always <LinkTo @route=\\\"apps.app.settings.people-data\\\">create more data attributes</LinkTo>.\\n  </content.banner>\\n\\n  {{#if (and @step.available this.needsDependentStep)}}\\n    <IcBanner @type='help' @class='mb-8' data-test-dependency-warning-banner={{true}}>\\n      To complete this step, you need to have the <a {{action this.openStepCallback this.dependentStepIdentifier}} data-test-dependency-banner-link>{{this.dependentStepTitle}}</a>.\\n    </IcBanner>\\n  {{/if}}\\n\\n  <IcContent>\\n    <p>\\n      To create custom data attributes, first identify what you'll use the data for. Then name your attribute and select its format.\\n      <br>\\n      Here are examples:\\n    </p>\\n\\n    <div class=\\\"flex flex-row gap-6\\\">\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <IcCard class=\\\"h-full\\\">\\n          <IcContent>\\n            <Heading @size=\\\"3\\\">\\n              Example A\\n            </Heading>\\n            <p>\\n              You want to send an email reminding customers on their free trial to create a profile.\\n              You create 2 data attributes that you can use together.\\n              You name the first span <strong>Trial end</strong> and specify the data format as <strong>Date</strong>.\\n              You name the second <strong>Account is created</strong> and specify that the data format is <strong>True or False</strong>.\\n            </p>\\n          </IcContent>\\n        </IcCard>\\n      </div>\\n\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <IcCard class=\\\"h-full\\\">\\n          <IcContent>\\n            <Heading @size=\\\"3\\\">\\n              Example B\\n            </Heading>\\n            <p>\\n              You want to provide faster support to your premium customers by routing their questions to a special inbox.\\n              You create a data attribute called <strong>Premium customer</strong> and specify the data attribute as <strong>True or False</strong>.\\n            </p>\\n          </IcContent>\\n        </IcCard>\\n      </div>\\n    </div>\\n\\n    <p>\\n      Now it's your turn to define your needs and create custom attributes. You can always update these later.\\n      <br>\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/en/articles/213\\\"\\n        @title=\\\"Learn more about custom data attributes\\\"\\n        @type=\\\"article\\\"\\n        @linkStyling=\\\"inline\\\"\\n      />\\n    </p>\\n\\n    {{!-- template-lint-disable intercom/no-custom-table --}}\\n    <table class=\\\"tbl o__fit mb-0\\\">\\n      {{!-- template-lint-enable intercom/no-custom-table --}}\\n      <tr class=\\\"onboarding__home__cda-table\\\">\\n        <th class=\\\"t__label onboarding__home__cda-list-header\\\">\\n          Your goal (optional description)\\n        </th>\\n        <th class=\\\"t__label onboarding__home__cda-list-header\\\">\\n          Your attribute name\\n        </th>\\n        <th class=\\\"t__label onboarding__home__cda-list-header\\\">\\n          Format\\n        </th>\\n      </tr>\\n\\n      {{#each this.attributes as |attribute|}}\\n        <Onboarding::Home::Steps::CdaInputRow\\n          data-test-cda-input\\n          @name={{attribute.name}}\\n          @description={{attribute.description}}\\n          @type={{attribute.type}}\\n          @erroredCdas={{this.erroredCdas}}\\n        />\\n      {{/each}}\\n    </table>\\n\\n    <IcButton\\n      data-test-add-attribute-button\\n      @type=\\\"secondary\\\"\\n      @subtle={{true}}\\n      @onClick={{action \\\"addAttribute\\\"}}\\n      @icon=\\\"new\\\"\\n      @label=\\\"Add another attribute\\\"\\n      @disabled={{this.needsDependentStep}}\\n    />\\n  </IcContent>\\n\\n  <p class=\\\"mt-6 mb-6\\\">\\n    Before you can use the attributes you’ve just defined, you'll need to add them to your Messenger. We’ll show you how in the next step.\\n  </p>\\n\\n  <IcContent>\\n    <IcButton\\n      data-test-continue-button\\n      @type=\\\"primary\\\"\\n      @onClick={{perform this.createCda}}\\n      @label=\\\"Continue\\\"\\n      @disabled={{or (not this.filledCdas.length) this.needsDependentStep this.createCda.isRunning}}\\n    />\\n  </IcContent>\\n\\n  {{#if @step.available}}\\n    <div class=\\\"h-8\\\"></div>\\n    <Onboarding::Home::InviteCardComponent\\n      @step={{@step}}\\n      @baseAnalyticsMetadata={{this.analyticsMetadata}}\\n    />\\n  {{/if}}\\n\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/define-the-data-you-need.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/define-the-data-you-need.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { scheduleOnce } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport { readOnly, or, not } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { task } from 'ember-concurrency';\nimport ajax from 'embercom/lib/ajax';\nimport validation from 'embercom/lib/cda-onboarding/validation';\nimport { filter } from '@ember/object/computed';\n\nexport const DEFAULT_ATTRIBUTES = [{ name: '', type: 'String' }];\n\nfunction generateDefaultAttributes() {\n  return [{ name: '', type: 'String' }];\n}\n\nexport default Component.extend({\n  router: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  store: service(),\n\n  step: null,\n  attributes: null,\n  completionCallback: null,\n\n  openStepCallback: null,\n  loggedInInstallTimestamp: or('app.first_identified_request_at', 'app.verifiedLoggedInInstallAt'),\n  noLoggedInInstall: not('loggedInInstallTimestamp'),\n  needsDependentStep: readOnly('noLoggedInInstall'),\n  dependentStepIdentifier: 'set_up_messenger_logged_in',\n  dependentStepTitle: 'Messenger installed for logged-in users',\n\n  erroredCdas: [],\n  duplicateCdas: [],\n  existingCdas: [],\n\n  filledCdas: filter('attributes.@each.name', function(cda) {\n    return cda.name;\n  }),\n  filledCdaCount: readOnly('filledCdas.length'),\n\n  analyticsMetadata: computed('step.analyticsMetadata', function() {\n    return {\n      ...this.step.analyticsMetadata,\n    };\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.set('attributes', generateDefaultAttributes());\n  },\n\n  trackClickedAnalyticsEvent(object, params = {}) {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.step.analyticsMetadata,\n      ...params,\n      action: 'clicked',\n      object,\n    });\n  },\n\n  focusLastAttributeDescriptionInput() {\n    let attributeWrappers = this.element.querySelectorAll('[data-attribute-input-description]');\n    attributeWrappers.item(attributeWrappers.length - 1).focus();\n  },\n\n  createCda: task(function*() {\n    let erroredCdas = validation.getInvalidNames(this.filledCdas);\n    let duplicateCdas = validation.getDuplicateNames(this.filledCdas);\n\n    this.set('erroredCdas', erroredCdas);\n    this.set('duplicateCdas', duplicateCdas);\n    if (erroredCdas.length > 0) {\n      return this.notificationsService.notifyError(validation.getInvalidErrorMessage(erroredCdas));\n    }\n\n    if (duplicateCdas.length > 0) {\n      return this.notificationsService.notifyError(\n        validation.getDuplicateErrorMessage(duplicateCdas),\n      );\n    }\n\n    let promise = yield ajax({\n      url: '/ember/untracked_custom_data_attributes',\n      type: 'POST',\n      data: JSON.stringify({\n        app_id: this.get('app.id'),\n        custom_data_attributes: this.filledCdas,\n      }),\n    })\n      .then(response => {\n        this.intercomEventService.trackEvent('untracked-attribute-added', {\n          action: 'added',\n          object: this.filledCdas.mapBy('name'),\n          place: 'home_cda_onboarding_step',\n          owner: 'onboarding',\n        });\n        this.store.pushPayload({ attributes: response });\n        let attributes = response.map(attribute =>\n          this.store.peekRecord('attribute', attribute.identifier),\n        );\n        this.app.attributes.pushObjects(attributes);\n        this.completionCallback();\n      })\n      .catch(error => {\n        let response = error.jqXHR.responseJSON;\n\n        if (response && response.errors.type === 'duplicate') {\n          let erroredCdas = response.errors.cdas;\n\n          this.set('existingCdas', erroredCdas);\n          this.notificationsService.notifyError(\n            validation.getAlreadyExistsErrorMessage(erroredCdas),\n          );\n        } else if (response && response.errors.type === 'cda_limit') {\n          this.notificationsService.notifyError(response.errors.message);\n        } else {\n          this.notificationsService.notifyError(error.jqXHR.statusText);\n        }\n      });\n\n    return promise;\n  }).drop(),\n\n  actions: {\n    addAttribute() {\n      this.attributes.pushObject({ name: '', type: 'String' });\n      scheduleOnce('afterRender', this, this.focusLastAttributeDescriptionInput);\n      this.trackClickedAnalyticsEvent('add_attribute_button');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcButton\\n  @icon=\\\"article\\\"\\n  @label=\\\"Complete this step\\\"\\n  @onClick={{fn this.demoCompletionAction \\\"completed\\\"}}\\n  @type=\\\"primary\\\"\\n/>\\n<div>\\n  Step state: {{@step.state}}\\n</div>\\n\", {\"contents\":\"<IcButton\\n  @icon=\\\"article\\\"\\n  @label=\\\"Complete this step\\\"\\n  @onClick={{fn this.demoCompletionAction \\\"completed\\\"}}\\n  @type=\\\"primary\\\"\\n/>\\n<div>\\n  Step state: {{@step.state}}\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/demo-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/demo-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\n\nexport default Component.extend({\n  tagName: '',\n\n  completionCallback: null,\n  demoCompletionAction: action(function(state) {\n    console.log('Action happening');\n    this.completionCallback(state);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Onboarding::Home::StepContent as |content|>\\n  <div data-test-explore-how-it-works-content>\\n    <content.banner @step={{@step}} />\\n    <content.container>\\n      <content.left>\\n        <p>\\n          Messages in your product can be up to <strong>10x</strong> more effective at\\n          driving customer engagement than email. But you don't have to choose\\n          &mdash; we'll help you send engaging chat, email, and mobile push\\n          messages that get results.\\n        </p>\\n        <p>\\n          Take the tour to get started.\\n        </p>\\n        <Pulse::HelpContent::Tour\\n          @title=\\\"Take the tour\\\"\\n          @tourId={{@step.stepData.productTourId}}\\n          @handleTourExternally={{true}}\\n        >\\n          <IcButton data-test-explore-how-it-works-tour-trigger \\n            @type=\\\"primary\\\"\\n            @icon=\\\"cursor\\\" \\n            @label=\\\"Continue\\\"\\n            @onClick={{this.startTour}}\\n          />\\n        </Pulse::HelpContent::Tour>\\n      </content.left>\\n      <content.right>\\n        <img class=\\\"onboarding__home__steps__preview-image\\\"\\n          src=\\\"/assets/images/onboarding/home/steps/explore-how-it-works@2x.png\\\" />\\n      </content.right>\\n    </content.container>\\n  </div>\\n</Onboarding::Home::StepContent>\", {\"contents\":\"<Onboarding::Home::StepContent as |content|>\\n  <div data-test-explore-how-it-works-content>\\n    <content.banner @step={{@step}} />\\n    <content.container>\\n      <content.left>\\n        <p>\\n          Messages in your product can be up to <strong>10x</strong> more effective at\\n          driving customer engagement than email. But you don't have to choose\\n          &mdash; we'll help you send engaging chat, email, and mobile push\\n          messages that get results.\\n        </p>\\n        <p>\\n          Take the tour to get started.\\n        </p>\\n        <Pulse::HelpContent::Tour\\n          @title=\\\"Take the tour\\\"\\n          @tourId={{@step.stepData.productTourId}}\\n          @handleTourExternally={{true}}\\n        >\\n          <IcButton data-test-explore-how-it-works-tour-trigger \\n            @type=\\\"primary\\\"\\n            @icon=\\\"cursor\\\" \\n            @label=\\\"Continue\\\"\\n            @onClick={{this.startTour}}\\n          />\\n        </Pulse::HelpContent::Tour>\\n      </content.left>\\n      <content.right>\\n        <img class=\\\"onboarding__home__steps__preview-image\\\"\\n          src=\\\"/assets/images/onboarding/home/steps/explore-how-it-works@2x.png\\\" />\\n      </content.right>\\n    </content.container>\\n  </div>\\n</Onboarding::Home::StepContent>\",\"moduleName\":\"embercom/components/onboarding/home/steps/explore-how-it-works.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/explore-how-it-works.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { action } from '@ember/object';\n\nexport default Component.extend({\n  tagName: '',\n  router: service(),\n  appService: service(),\n  onboardingHomeExternalStepService: service(),\n\n  step: null,\n\n  app: readOnly('appService.app'),\n\n  trackClickedAnalyticsEvent() {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.step.analyticsMetadata,\n      action: 'clicked',\n      object: `${this.step.identifier}_tour`,\n      section: 'index',\n    });\n  },\n\n  startTour: action(function() {\n    this.trackClickedAnalyticsEvent();\n    this.onboardingHomeExternalStepService.start(this.step.identifier, {\n      source: 'explore-how-it-works',\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"onboarding__home__steps__accordion-wrapper\\\"\\n  data-test-forward-emails-component\\n>\\n  <Onboarding::Home::StepStateBannerComponent @step={{step}}>\\n    This step is done, but you can forward multiple email addresses. Add another address to get started.\\n  </Onboarding::Home::StepStateBannerComponent>\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div\\n      class=\\\"layout__box onboarding__home__steps__left-content o__flexes-to-1\\\"\\n    >\\n      <IcContent>\\n        <p class=\\\"mb-6\\\">\\n          The Intercom Inbox makes it easy to talk with your customers however they choose. Forward your support or sales email to {{app.inboxProduct.name}} so you can manage all your conversations in one place.\\n        </p>\\n        <Paywall\\n          @featureKey=\\\"email_forwarding\\\"\\n          @analyticsMetadata={{@step.analyticsMetadata}} as |paywall|\\n        >\\n          <paywall.Block>\\n            <div class=\\\"text-gray mb-1\\\">\\n              Your support or sales email address\\n            </div>\\n            <form {{action \\\"setEmail\\\" on=\\\"submit\\\"}}>\\n              <div class=\\\"mb-6\\\">\\n                <div class=\\\"flex flex-row gap-4\\\">\\n                  <div class=\\\"flex flex-col flex-1\\\">\\n                    <div class=\\\"onboarding__home__steps__forward-emails-input\\\">\\n                      <Input\\n                        data-test-email-input\\n                        class=\\\"f__text\\\"\\n                        @disabled={{or paywall.isActive emailSet}}\\n                        @value={{email}}\\n                        placeholder=\\\"help@myapp.com\\\"\\n                      />\\n                      {{#if emailSet}}\\n                        <div\\n                          class=\\\"onboarding__home__steps__forward-emails-input-checkmark\\\"\\n                        >\\n                          {{ic-interface-icon \\\"check\\\" color=\\\"green\\\"}}\\n                        </div>\\n                      {{/if}}\\n                    </div>\\n                  </div>\\n                  {{#if emailSet}}\\n                    <IcButton\\n                      data-test-unset-email-button\\n                      @type=\\\"secondary\\\"\\n                      @onClick={{action \\\"unsetEmail\\\"}}\\n                      @label=\\\"Edit\\\"\\n                      @disabled={{paywall.isActive}}\\n                    />\\n                  {{else}}\\n                    <IcButton\\n                      data-test-set-email-button\\n                      @type=\\\"primary\\\"\\n                      @onClick={{action \\\"setEmail\\\"}}\\n                      @label=\\\"Continue\\\"\\n                      @disabled={{or paywall.isActive (not isValidEmail)}}\\n                    />\\n                  {{/if}}\\n                </div>\\n              </div>\\n            </form>\\n          </paywall.Block>\\n        </Paywall>\\n\\n        {{#unless (or showForwardingPanel step.completed)}}\\n          <a\\n            data-test-mark-completed-link\\n            class=\\\"t__em-link\\\"\\n            onclick={{action \\\"markAsCompleted\\\"}}\\n          >\\n            Mark as done — I don’t have a support or sales email\\n          </a>\\n        {{/unless}}\\n      </IcContent>\\n      {{#if showForwardingPanel}}\\n        <Onboarding::Home::Steps::ForwardEmails::InstructionsComponent\\n          @inboxEmailAddress={{inboxEmailAddress}}\\n          @analyticsMetadata={{step.analyticsMetadata}}\\n        />\\n        <div class=\\\"ml-8 u__relative\\\">\\n          {{#unless (eq verification true)}}\\n            <IcButton\\n              data-test-send-test-email-button\\n              @type=\\\"primary\\\"\\n              @onClick={{perform verifyEmailForwarding}}\\n              @label=\\\"Send test email\\\"\\n              @processingLabel=\\\"Sending test email...\\\"\\n              @disabled={{or verifyEmailForwarding.isRunning (not emailSet)}}\\n            />\\n          {{/unless}}\\n          {{#if (eq verification true)}}\\n            <span class=\\\"text-green mb-6\\\" data-test-verification-successful>\\n              {{ic-interface-icon \\\"check\\\" color=\\\"green\\\"}} Success! Your email is now forwarded into your Inbox.\\n            </span>\\n          {{else if (eq verification false)}}\\n            <span\\n              class=\\\"ml-4 text-red u__center-item-vertically\\\"\\n              data-test-verification-failed\\n            >\\n              Email forwarding is not set up. Check your forwarding settings.\\n            </span>\\n          {{else if verifyEmailForwarding.isRunning}}\\n            <span\\n              class=\\\"ml-4 text-gray u__center-item-vertically\\\"\\n              data-test-verification-running\\n            >\\n              This will take a few seconds\\n            </span>\\n          {{/if}}\\n        </div>\\n      {{/if}}\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 t__right\\\">\\n      <div class=\\\"u__center-layout\\\">\\n        <img\\n          class=\\\"onboarding__home__steps__preview-image\\\"\\n          src=\\\"/assets/images/onboarding/home/steps/forward-emails@1x.jpg\\\"\\n          srcset=\\\"/assets/images/onboarding/home/steps/forward-emails@2x.jpg 2x\\\"\\n        />\\n      </div>\\n    </div>\\n  </div>\\n  {{#if showForwardingPanel}}\\n    <div class=\\\"mt-6\\\">\\n      <Onboarding::Home::InviteCardComponent\\n        @step={{step}}\\n        @baseAnalyticsMetadata={{step.analyticsMetadata}}\\n      />\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"onboarding__home__steps__accordion-wrapper\\\"\\n  data-test-forward-emails-component\\n>\\n  <Onboarding::Home::StepStateBannerComponent @step={{step}}>\\n    This step is done, but you can forward multiple email addresses. Add another address to get started.\\n  </Onboarding::Home::StepStateBannerComponent>\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div\\n      class=\\\"layout__box onboarding__home__steps__left-content o__flexes-to-1\\\"\\n    >\\n      <IcContent>\\n        <p class=\\\"mb-6\\\">\\n          The Intercom Inbox makes it easy to talk with your customers however they choose. Forward your support or sales email to {{app.inboxProduct.name}} so you can manage all your conversations in one place.\\n        </p>\\n        <Paywall\\n          @featureKey=\\\"email_forwarding\\\"\\n          @analyticsMetadata={{@step.analyticsMetadata}} as |paywall|\\n        >\\n          <paywall.Block>\\n            <div class=\\\"text-gray mb-1\\\">\\n              Your support or sales email address\\n            </div>\\n            <form {{action \\\"setEmail\\\" on=\\\"submit\\\"}}>\\n              <div class=\\\"mb-6\\\">\\n                <div class=\\\"flex flex-row gap-4\\\">\\n                  <div class=\\\"flex flex-col flex-1\\\">\\n                    <div class=\\\"onboarding__home__steps__forward-emails-input\\\">\\n                      <Input\\n                        data-test-email-input\\n                        class=\\\"f__text\\\"\\n                        @disabled={{or paywall.isActive emailSet}}\\n                        @value={{email}}\\n                        placeholder=\\\"help@myapp.com\\\"\\n                      />\\n                      {{#if emailSet}}\\n                        <div\\n                          class=\\\"onboarding__home__steps__forward-emails-input-checkmark\\\"\\n                        >\\n                          {{ic-interface-icon \\\"check\\\" color=\\\"green\\\"}}\\n                        </div>\\n                      {{/if}}\\n                    </div>\\n                  </div>\\n                  {{#if emailSet}}\\n                    <IcButton\\n                      data-test-unset-email-button\\n                      @type=\\\"secondary\\\"\\n                      @onClick={{action \\\"unsetEmail\\\"}}\\n                      @label=\\\"Edit\\\"\\n                      @disabled={{paywall.isActive}}\\n                    />\\n                  {{else}}\\n                    <IcButton\\n                      data-test-set-email-button\\n                      @type=\\\"primary\\\"\\n                      @onClick={{action \\\"setEmail\\\"}}\\n                      @label=\\\"Continue\\\"\\n                      @disabled={{or paywall.isActive (not isValidEmail)}}\\n                    />\\n                  {{/if}}\\n                </div>\\n              </div>\\n            </form>\\n          </paywall.Block>\\n        </Paywall>\\n\\n        {{#unless (or showForwardingPanel step.completed)}}\\n          <a\\n            data-test-mark-completed-link\\n            class=\\\"t__em-link\\\"\\n            onclick={{action \\\"markAsCompleted\\\"}}\\n          >\\n            Mark as done — I don’t have a support or sales email\\n          </a>\\n        {{/unless}}\\n      </IcContent>\\n      {{#if showForwardingPanel}}\\n        <Onboarding::Home::Steps::ForwardEmails::InstructionsComponent\\n          @inboxEmailAddress={{inboxEmailAddress}}\\n          @analyticsMetadata={{step.analyticsMetadata}}\\n        />\\n        <div class=\\\"ml-8 u__relative\\\">\\n          {{#unless (eq verification true)}}\\n            <IcButton\\n              data-test-send-test-email-button\\n              @type=\\\"primary\\\"\\n              @onClick={{perform verifyEmailForwarding}}\\n              @label=\\\"Send test email\\\"\\n              @processingLabel=\\\"Sending test email...\\\"\\n              @disabled={{or verifyEmailForwarding.isRunning (not emailSet)}}\\n            />\\n          {{/unless}}\\n          {{#if (eq verification true)}}\\n            <span class=\\\"text-green mb-6\\\" data-test-verification-successful>\\n              {{ic-interface-icon \\\"check\\\" color=\\\"green\\\"}} Success! Your email is now forwarded into your Inbox.\\n            </span>\\n          {{else if (eq verification false)}}\\n            <span\\n              class=\\\"ml-4 text-red u__center-item-vertically\\\"\\n              data-test-verification-failed\\n            >\\n              Email forwarding is not set up. Check your forwarding settings.\\n            </span>\\n          {{else if verifyEmailForwarding.isRunning}}\\n            <span\\n              class=\\\"ml-4 text-gray u__center-item-vertically\\\"\\n              data-test-verification-running\\n            >\\n              This will take a few seconds\\n            </span>\\n          {{/if}}\\n        </div>\\n      {{/if}}\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 t__right\\\">\\n      <div class=\\\"u__center-layout\\\">\\n        <img\\n          class=\\\"onboarding__home__steps__preview-image\\\"\\n          src=\\\"/assets/images/onboarding/home/steps/forward-emails@1x.jpg\\\"\\n          srcset=\\\"/assets/images/onboarding/home/steps/forward-emails@2x.jpg 2x\\\"\\n        />\\n      </div>\\n    </div>\\n  </div>\\n  {{#if showForwardingPanel}}\\n    <div class=\\\"mt-6\\\">\\n      <Onboarding::Home::InviteCardComponent\\n        @step={{step}}\\n        @baseAnalyticsMetadata={{step.analyticsMetadata}}\\n      />\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/forward-emails.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/forward-emails.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { notEmpty, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { task, timeout } from 'ember-concurrency';\nimport ajax from 'embercom/lib/ajax';\nimport { isValidEmail } from '@intercom/embercom-core/lib/computed-properties';\nimport ENV from 'embercom/config/environment';\nimport storage from 'embercom/vendor/intercom/storage';\nimport { captureException } from 'embercom/lib/sentry';\n\nconst LOCALSTORAGE_EMAIL_KEY = 'forward-emails-component-email';\n\nexport default Component.extend({\n  tagName: '',\n  store: service(),\n  realTimeEventService: service(),\n  intercomEventService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  email: '',\n  emailSet: false,\n  showForwardingPanel: false,\n  verification: null,\n  maxRetryAttempts: 10,\n  retryAttempts: 0,\n\n  isValidEmail: isValidEmail('email'),\n  hasForwardingEmail: notEmpty('email'),\n  inboxEmailAddress: readOnly('app.inbox_email'),\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.restoreEmailFromStorage();\n    this.realTimeEventService.on('ForwardMailVerified', this, '_handleForwardMailVerifiedMessage');\n  },\n\n  willDestroyElement() {\n    this.realTimeEventService.off('ForwardMailVerified', this, '_handleForwardMailVerifiedMessage');\n    this._super(...arguments);\n  },\n\n  restoreEmailFromStorage() {\n    if (this.email !== '') {\n      return;\n    }\n    let email = storage.get(LOCALSTORAGE_EMAIL_KEY);\n    if (!email) {\n      return;\n    }\n    this.set('email', email);\n  },\n\n  verifyEmailForwarding: task(function*() {\n    this._trackAnalyticsEvent({ action: 'clicked', object: 'send_test_email' });\n\n    yield this._createSetupAttempt();\n    yield this._sendForwardingEmail();\n\n    let verification = yield this._verifyEmailForwarding();\n    try {\n      while (!verification && this.retryAttempts < this.maxRetryAttempts) {\n        timeout(ENV.APP._1000MS); // wait for nexus event\n        this.incrementProperty('retryAttempts');\n        verification = yield this._verifyEmailForwarding();\n      }\n    } catch (e) {\n      captureException(e, {\n        fingerprint: ['forward-emails', 'verify_email_forwarding'],\n        tags: { responsible_team: 'team-activation' },\n      });\n      this.set('retryAttempts', 0);\n    }\n\n    if (!this.verification) {\n      this._updateVerification(verification);\n      this._trackAnalyticsEvent({\n        action: verification ? 'completed' : 'failed',\n        context: 'verify_endpoint',\n        object: 'send_test_email',\n      });\n    }\n  }),\n\n  async _createSetupAttempt() {\n    let forwardMailSetupAttempt = await this.store\n      .createRecord('forward-mail-setup-attempt', {\n        appId: this.get('app.id'),\n        forwardingEmailAddress: this.email,\n      })\n      .save();\n\n    this.set('forwardMailSetupAttempt', forwardMailSetupAttempt);\n  },\n\n  async _sendForwardingEmail() {\n    await ajax({\n      url: '/ember/forward_emails',\n      data: JSON.stringify({\n        app_id: this.get('app.id'),\n        email: this.email,\n      }),\n      type: 'POST',\n      contentType: 'application/json',\n      dataType: 'JSON',\n    });\n  },\n\n  async _verifyEmailForwarding() {\n    return await ajax({\n      url: '/ember/forward_mail_setup_attempts/verify',\n      type: 'GET',\n      data: {\n        app_id: this.get('app.id'),\n        forwarding_email_address: this.email,\n      },\n    });\n  },\n\n  _handleForwardMailVerifiedMessage() {\n    this._updateVerification(true);\n    this._trackAnalyticsEvent({\n      action: 'completed',\n      object: 'send_test_email',\n      context: 'nexus_event',\n    });\n  },\n\n  _updateVerification(status) {\n    this.set('verification', status);\n    if (this.verification) {\n      this.completionCallback();\n    }\n  },\n\n  _trackAnalyticsEvent(options) {\n    this.intercomEventService.trackAnalyticsEvent({\n      email: this.email,\n      ...options,\n      ...this.step.analyticsMetadata,\n    });\n  },\n\n  actions: {\n    setEmail() {\n      if (this.isValidEmail) {\n        storage.set(LOCALSTORAGE_EMAIL_KEY, this.email);\n        this.set('emailSet', true);\n        this.set('showForwardingPanel', true);\n        this._trackAnalyticsEvent({\n          action: 'clicked',\n          object: 'set_email',\n        });\n      }\n    },\n\n    unsetEmail() {\n      storage.remove(LOCALSTORAGE_EMAIL_KEY);\n      this.set('verification', null);\n      this.set('emailSet', false);\n      this._trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'unset_email',\n      });\n    },\n\n    markAsCompleted() {\n      this.completionCallback('completed');\n      this._trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'mark_as_completed',\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"mt-6 mb-6\\\">\\n  <IcContent>\\n    <p>\\n      To set up email forwarding:\\n    </p>\\n    <ol class=\\\"onboarding__home__list\\\">\\n      <li class=\\\"onboarding__home__list-item mb-6\\\">\\n        <div class=\\\"mb-4\\\">\\n          Copy your forwarding address below:\\n        </div>\\n        <Onboarding::Home::CopyLink\\n          @link={{@inboxEmailAddress}}\\n          @analyticsMetadata={{@analyticsMetadata}}\\n          @linkContext=\\\"forwarding_address\\\"\\n        />\\n      </li>\\n      <li class=\\\"onboarding__home__list-item mb-6\\\">\\n        <p>\\n          Sign into your email provider and find the settings for email forwarding. Then, save the address above as your forwarding address. Need help?\\n          <Pulse::HelpContent::Link\\n            @href=\\\"https://www.intercom.com/help/configure-intercom/configure-intercom-for-your-team/forward-your-email-to-your-team-inbox#2-set-up-forwarding-in-your-email-client\\\"\\n            @title=\\\"View step by step instructions\\\"\\n            @type=\\\"article\\\"\\n            @linkStyling=\\\"inline\\\"\\n            data-test-documentation-link\\n            data-track-analytics-event-object=\\\"view_step_by_step_instructions\\\"\\n            data-track-analytics-event-data-property-name=\\\"analyticsMetadata\\\"\\n          />\\n        </p>\\n      </li>\\n      <li class=\\\"onboarding__home__list-item mb-6\\\">\\n        Check that Intercom is receiving your incoming email by sending a test message.\\n      </li>\\n    </ol>\\n  </IcContent>\\n</div>\\n\", {\"contents\":\"<div class=\\\"mt-6 mb-6\\\">\\n  <IcContent>\\n    <p>\\n      To set up email forwarding:\\n    </p>\\n    <ol class=\\\"onboarding__home__list\\\">\\n      <li class=\\\"onboarding__home__list-item mb-6\\\">\\n        <div class=\\\"mb-4\\\">\\n          Copy your forwarding address below:\\n        </div>\\n        <Onboarding::Home::CopyLink\\n          @link={{@inboxEmailAddress}}\\n          @analyticsMetadata={{@analyticsMetadata}}\\n          @linkContext=\\\"forwarding_address\\\"\\n        />\\n      </li>\\n      <li class=\\\"onboarding__home__list-item mb-6\\\">\\n        <p>\\n          Sign into your email provider and find the settings for email forwarding. Then, save the address above as your forwarding address. Need help?\\n          <Pulse::HelpContent::Link\\n            @href=\\\"https://www.intercom.com/help/configure-intercom/configure-intercom-for-your-team/forward-your-email-to-your-team-inbox#2-set-up-forwarding-in-your-email-client\\\"\\n            @title=\\\"View step by step instructions\\\"\\n            @type=\\\"article\\\"\\n            @linkStyling=\\\"inline\\\"\\n            data-test-documentation-link\\n            data-track-analytics-event-object=\\\"view_step_by_step_instructions\\\"\\n            data-track-analytics-event-data-property-name=\\\"analyticsMetadata\\\"\\n          />\\n        </p>\\n      </li>\\n      <li class=\\\"onboarding__home__list-item mb-6\\\">\\n        Check that Intercom is receiving your incoming email by sending a test message.\\n      </li>\\n    </ol>\\n  </IcContent>\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/forward-emails/instructions-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/forward-emails/instructions-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}} />\\n  <content.container>\\n    <content.left>\\n      <p>\\n        {{#if (has-feature \\\"hasOsa2OnboardingHome\\\")}}\\n          Now you’re ready to start creating tours to onboard your users and provide proactive support.\\n        {{else}}\\n          Now you’re ready to start creating tours to onboard your users!\\n        {{/if}}\\n      </p>\\n      <p>\\n        <span class=\\\"onboarding__home__steps__inline-bold\\\">\\n          Visit Product Tours\\n        </span>\\n        to see how to create your first tour.\\n      </p>\\n      <Pulse::HelpContent::Tour\\n        @tourId={{@step.stepData.productTourId}}\\n        @handleTourExternally={{true}}\\n      >\\n        <IcButton\\n          data-test-start-tour-of-tours-button={{true}}\\n          @type=\\\"primary\\\"\\n          @icon=\\\"cursor\\\"\\n          @label={{if @step.completed \\\"Visit Product Tours\\\" \\\"Get started\\\"}}\\n          @onClick={{this.getStarted}}\\n        />\\n      </Pulse::HelpContent::Tour>\\n    </content.left>\\n    <content.right>\\n      <img\\n        class=\\\"onboarding__home__steps__get-started-with-product-tours__illustration\\\"\\n        src=\\\"/assets/images/onboarding/home/steps/get-started-with-product-tours@1x.png\\\"\\n        srcset=\\\"/assets/images/onboarding/home/steps/get-started-with-product-tours@2x.png 2x\\\"\\n      />\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}} />\\n  <content.container>\\n    <content.left>\\n      <p>\\n        {{#if (has-feature \\\"hasOsa2OnboardingHome\\\")}}\\n          Now you’re ready to start creating tours to onboard your users and provide proactive support.\\n        {{else}}\\n          Now you’re ready to start creating tours to onboard your users!\\n        {{/if}}\\n      </p>\\n      <p>\\n        <span class=\\\"onboarding__home__steps__inline-bold\\\">\\n          Visit Product Tours\\n        </span>\\n        to see how to create your first tour.\\n      </p>\\n      <Pulse::HelpContent::Tour\\n        @tourId={{@step.stepData.productTourId}}\\n        @handleTourExternally={{true}}\\n      >\\n        <IcButton\\n          data-test-start-tour-of-tours-button={{true}}\\n          @type=\\\"primary\\\"\\n          @icon=\\\"cursor\\\"\\n          @label={{if @step.completed \\\"Visit Product Tours\\\" \\\"Get started\\\"}}\\n          @onClick={{this.getStarted}}\\n        />\\n      </Pulse::HelpContent::Tour>\\n    </content.left>\\n    <content.right>\\n      <img\\n        class=\\\"onboarding__home__steps__get-started-with-product-tours__illustration\\\"\\n        src=\\\"/assets/images/onboarding/home/steps/get-started-with-product-tours@1x.png\\\"\\n        srcset=\\\"/assets/images/onboarding/home/steps/get-started-with-product-tours@2x.png 2x\\\"\\n      />\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/get-started-with-product-tours.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/get-started-with-product-tours.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { openOverflowMenuIfLinkNotVisible } from 'embercom/lib/primary-nav/open-overflow-menu';\n\nconst PRODUCT_TOURS_TARGET_NAME = 'PrimaryNav Product Tours link';\n\nexport default Component.extend({\n  router: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  onboardingHomeService: service(),\n  onboardingHomeExternalStepService: service(),\n  step: null,\n  completionCallback: null,\n\n  trackStartedTourAnalyticsEvent() {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.step.analyticsMetadata,\n      action: 'started',\n      object: 'get_started_with_product_tours_tour',\n      section: 'index',\n    });\n  },\n\n  getStarted: action(function() {\n    this.trackStartedTourAnalyticsEvent();\n    openOverflowMenuIfLinkNotVisible(PRODUCT_TOURS_TARGET_NAME);\n    this.onboardingHomeExternalStepService.start('get_started_with_product_tours');\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}} />\\n  <content.container>\\n    <content.left>\\n      <p>\\n        Now you’re ready to start building a series to onboard and engage your users.\\n      </p>\\n      <p>\\n        <span class=\\\"onboarding__home__steps__inline-bold\\\">\\n          Visit Series\\n        </span>\\n        to design your ideal customer journey.\\n      </p>\\n\\n        <Pulse::HelpContent::Tour\\n          @tourId={{@step.stepData.productTourId}}\\n          @handleTourExternally={{true}}\\n        >\\n          <IcButton data-test-start-tour-of-tours-button\\n            @type=\\\"primary\\\"\\n            @icon=\\\"cursor\\\"\\n            @label=\\\"Visit Series\\\"\\n            @onClick={{this.getStarted}}\\n          />\\n        </Pulse::HelpContent::Tour>\\n    </content.left>\\n    <content.right>\\n      <img\\n        class=\\\"m-auto w-64\\\"\\n        src=\\\"/assets/images/onboarding/home/steps/get-started-with-series.svg\\\"\\n      />\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}} />\\n  <content.container>\\n    <content.left>\\n      <p>\\n        Now you’re ready to start building a series to onboard and engage your users.\\n      </p>\\n      <p>\\n        <span class=\\\"onboarding__home__steps__inline-bold\\\">\\n          Visit Series\\n        </span>\\n        to design your ideal customer journey.\\n      </p>\\n\\n        <Pulse::HelpContent::Tour\\n          @tourId={{@step.stepData.productTourId}}\\n          @handleTourExternally={{true}}\\n        >\\n          <IcButton data-test-start-tour-of-tours-button\\n            @type=\\\"primary\\\"\\n            @icon=\\\"cursor\\\"\\n            @label=\\\"Visit Series\\\"\\n            @onClick={{this.getStarted}}\\n          />\\n        </Pulse::HelpContent::Tour>\\n    </content.left>\\n    <content.right>\\n      <img\\n        class=\\\"m-auto w-64\\\"\\n        src=\\\"/assets/images/onboarding/home/steps/get-started-with-series.svg\\\"\\n      />\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/get-started-with-series.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/get-started-with-series.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class GetStartedWithSeries extends Component {\n  @service router;\n  @service onboardingHomeExternalStepService;\n\n  @action\n  getStarted() {\n    this.onboardingHomeExternalStepService.start('get_started_with_series');\n    this.router.transitionTo('apps.app.outbound.series');\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Onboarding::Home::StepContent @step={{@step}} as |content|>\\n  {{#if @stepStateBannerBodyText}}\\n    <content.banner\\n      @step={{@step}}\\n      @ctaBodyText={{@stepStateBannerBodyText}}\\n      @linkToText={{@stepStateBannerLinkToText}}\\n      @linkToRoute={{@stepStateBannerLinkToRoute}}\\n    />\\n  {{else}}\\n    <content.banner @step={{@step}} />\\n  {{/if}}\\n  {{#if (and step.available showDependentStepWarning)}}\\n    <IcBanner @type='help' @class='mb-8' data-test-dependency-warning-banner={{true}}>\\n      <a {{action openStepCallback dependentStepIdentifier}} data-test-dependency-banner-link>Complete \\\"{{dependentStepTitle}}\\\"</a> above before doing this step! It’ll only take a minute.\\n    </IcBanner>\\n  {{/if}}\\n  <content.container>\\n    <content.left>\\n      {{yield}}\\n      <div class=\\\"onboarding__home__steps__paywall-container\\\">\\n        <Paywall\\n          @featureKey={{featureKey}}\\n          @analyticsMetadata={{@step.analyticsMetadata}}\\n          @forceInactive={{isOnFreeWithInboxAccess}} as |paywall|\\n        >\\n          <paywall.Block>\\n            <Tooltips::RestrictedAccess\\n              @isDisabled={{or adminHasInboxAccess paywall.isActive}}\\n              @permission=\\\"has_inbox_access\\\"\\n              @intent=\\\"reply to this conversation\\\"\\n              @object={{@step.identifier}}\\n              class=\\\"onboarding__home__steps__permissions-tooltip-opener\\\"\\n              data-ghost-inspector=\\\"onboarding__home__steps__open-inbox-external-task-button\\\"\\n            >\\n              <IcTooltip\\n                @isInteractive={{true}}\\n                @isDisabled={{or (not showDependentStepWarning) adminDoesNotHaveInboxAccess paywall.isActive}}\\n                as |t|\\n              >\\n                <t.opener>\\n                  <Pulse::HelpContent::Tour\\n                    @title=\\\"Take the tour\\\"\\n                    @tourId={{@step.stepData.productTourId}}\\n                    @handleTourExternally={{true}}\\n                  >\\n                    <IcButton\\n                      @type='primary'\\n                      @disabled={{or\\n                        paywall.isActive\\n                        (and needsHostedMessengerConversation missingConversationId)\\n                        adminDoesNotHaveInboxAccess\\n                        showDependentStepWarning\\n                      }}\\n                      @onClick={{this.transitionToOnboardingInboxFlow}}\\n                      data-test-inbox-external-step-button\\n                    >\\n                      {{ic-interface-icon 'cursor'}} Continue\\n                    </IcButton>\\n                  </Pulse::HelpContent::Tour>\\n                </t.opener>\\n                <t.content>\\n                  <a {{action openStepCallback dependentStepIdentifier}}>Complete \\\"{{dependentStepTitle}}\\\"</a> above before doing this step! It’ll only take a minute.\\n                </t.content>\\n              </IcTooltip>\\n            </Tooltips::RestrictedAccess>\\n          </paywall.Block>\\n        </Paywall>\\n      </div>\\n    </content.left>\\n\\n    <content.right>\\n      <img\\n        class=\\\"onboarding__home__steps__preview-image\\\"\\n        src={{imgSrc}}\\n        srcset={{imgSrcSet}}\\n      >\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Onboarding::Home::StepContent @step={{@step}} as |content|>\\n  {{#if @stepStateBannerBodyText}}\\n    <content.banner\\n      @step={{@step}}\\n      @ctaBodyText={{@stepStateBannerBodyText}}\\n      @linkToText={{@stepStateBannerLinkToText}}\\n      @linkToRoute={{@stepStateBannerLinkToRoute}}\\n    />\\n  {{else}}\\n    <content.banner @step={{@step}} />\\n  {{/if}}\\n  {{#if (and step.available showDependentStepWarning)}}\\n    <IcBanner @type='help' @class='mb-8' data-test-dependency-warning-banner={{true}}>\\n      <a {{action openStepCallback dependentStepIdentifier}} data-test-dependency-banner-link>Complete \\\"{{dependentStepTitle}}\\\"</a> above before doing this step! It’ll only take a minute.\\n    </IcBanner>\\n  {{/if}}\\n  <content.container>\\n    <content.left>\\n      {{yield}}\\n      <div class=\\\"onboarding__home__steps__paywall-container\\\">\\n        <Paywall\\n          @featureKey={{featureKey}}\\n          @analyticsMetadata={{@step.analyticsMetadata}}\\n          @forceInactive={{isOnFreeWithInboxAccess}} as |paywall|\\n        >\\n          <paywall.Block>\\n            <Tooltips::RestrictedAccess\\n              @isDisabled={{or adminHasInboxAccess paywall.isActive}}\\n              @permission=\\\"has_inbox_access\\\"\\n              @intent=\\\"reply to this conversation\\\"\\n              @object={{@step.identifier}}\\n              class=\\\"onboarding__home__steps__permissions-tooltip-opener\\\"\\n              data-ghost-inspector=\\\"onboarding__home__steps__open-inbox-external-task-button\\\"\\n            >\\n              <IcTooltip\\n                @isInteractive={{true}}\\n                @isDisabled={{or (not showDependentStepWarning) adminDoesNotHaveInboxAccess paywall.isActive}}\\n                as |t|\\n              >\\n                <t.opener>\\n                  <Pulse::HelpContent::Tour\\n                    @title=\\\"Take the tour\\\"\\n                    @tourId={{@step.stepData.productTourId}}\\n                    @handleTourExternally={{true}}\\n                  >\\n                    <IcButton\\n                      @type='primary'\\n                      @disabled={{or\\n                        paywall.isActive\\n                        (and needsHostedMessengerConversation missingConversationId)\\n                        adminDoesNotHaveInboxAccess\\n                        showDependentStepWarning\\n                      }}\\n                      @onClick={{this.transitionToOnboardingInboxFlow}}\\n                      data-test-inbox-external-step-button\\n                    >\\n                      {{ic-interface-icon 'cursor'}} Continue\\n                    </IcButton>\\n                  </Pulse::HelpContent::Tour>\\n                </t.opener>\\n                <t.content>\\n                  <a {{action openStepCallback dependentStepIdentifier}}>Complete \\\"{{dependentStepTitle}}\\\"</a> above before doing this step! It’ll only take a minute.\\n                </t.content>\\n              </IcTooltip>\\n            </Tooltips::RestrictedAccess>\\n          </paywall.Block>\\n        </Paywall>\\n      </div>\\n    </content.left>\\n\\n    <content.right>\\n      <img\\n        class=\\\"onboarding__home__steps__preview-image\\\"\\n        src={{imgSrc}}\\n        srcset={{imgSrcSet}}\\n      >\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/inbox-external-step.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/inbox-external-step.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport { readOnly, and, not } from '@ember/object/computed';\nimport { action, computed } from '@ember/object';\nimport { INBOX_ESSENTIAL_ID } from 'embercom/lib/billing';\nimport steps from 'embercom/lib/home/steps';\nimport { captureException } from 'embercom/lib/sentry';\n\nexport default Component.extend({\n  router: service(),\n  hostedMessengerConversationService: service(),\n  onboardingHomeService: service(),\n  navbarCollapsingService: service(),\n  appService: service(),\n  onboardingHomeExternalStepService: service(),\n  store: service(),\n\n  step: null,\n  completionCallback: null,\n\n  dependentStepIdentifier: 'send_test_message',\n  dependentStepTitle: computed('dependentStepIdentifier', function() {\n    if (!this.dependentStepIdentifier) {\n      return '';\n    }\n    return steps[this.dependentStepIdentifier].title;\n  }),\n\n  inboxEssentialPlanId: INBOX_ESSENTIAL_ID,\n  app: readOnly('appService.app'),\n  adminHasInboxAccess: readOnly('app.currentAdminHasInboxAccess'),\n  adminDoesNotHaveInboxAccess: not('adminHasInboxAccess'),\n  needsHostedMessengerConversation: true,\n  conversationId: readOnly('hostedMessengerConversationService.latestConversationId'),\n  missingConversationId: not('conversationId'),\n  isOnFreeWithInboxAccess: and('app.isOnFree', 'app.currentAdminHasInboxAccess'),\n  sendTestMessageStep: computed('onboardingHomeService.guide.steps.@each.identifier', function() {\n    return this.get('onboardingHomeService.guide').findStepByIdentifier('send_test_message');\n  }),\n  sendTestMessageStepCompleted: readOnly('sendTestMessageStep.completed'),\n  showDependentStepWarning: and('needsHostedMessengerConversation', 'missingConversationId'),\n  collapsedSubmenuOnTour: true,\n\n  completeStep: task(function*() {\n    yield this.completionCallback();\n  }),\n\n  init() {\n    this._super(...arguments);\n    if (this.needsHostedMessengerConversation && this.sendTestMessageStepCompleted) {\n      this.get('hostedMessengerConversationService.fetchConversationIdIfNecessary').perform();\n    }\n  },\n\n  trackClickedAnalyticsEvent() {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.step.analyticsMetadata,\n      action: 'clicked',\n      object: 'go_to_inbox',\n      section: 'inline_step',\n    });\n  },\n\n  async _generateAndLoadExampleData() {\n    await this._generateExampleData();\n    return this._loadExampleData();\n  },\n\n  async _generateExampleData() {\n    if (!this.generateExampleData) {\n      return;\n    }\n    try {\n      await this.onboardingHomeExternalStepService.generateExampleDataForStep(this.step.identifier);\n    } catch (e) {\n      captureException(e, {\n        fingerprint: ['generate_example_data', this.step.identifier, e.message],\n        tags: {\n          responsible_team: 'team-activation',\n        },\n        extra: {\n          conversation_id: this.conversationId,\n        },\n      });\n      throw e;\n    }\n  },\n\n  _loadExampleData() {\n    switch (this.step.identifier) {\n      case 'respond_faster':\n        if (this.app.savedReplies.length) {\n          return;\n        }\n        return this.store.findAll('saved-reply');\n    }\n  },\n\n  transitionToOnboardingInboxFlow: action(async function() {\n    this.trackClickedAnalyticsEvent();\n    await this._generateAndLoadExampleData();\n\n    if (this.collapsedSubmenuOnTour) {\n      this.navbarCollapsingService.setCollapsedSubmenu('Inbox');\n    } else {\n      this.navbarCollapsingService.removeCollapsedSubmenu('Inbox');\n    }\n\n    this.onboardingHomeExternalStepService.startAfterTransition(this.step.identifier, {\n      source: 'home/inbox-external-step transitionToOnboardingInboxFlow',\n      method: 'startAfterTransition',\n    });\n\n    if (this.get('app.hasOsa2OnboardingHome') && this.step.identifier === 'automatic_assignments') {\n      return this.router.transitionTo('apps.app.inbox.automation.workflows.list');\n    }\n\n    if (!this.needsHostedMessengerConversation) {\n      this.router.transitionTo(this.get('app.inboxRoute'));\n      return;\n    }\n\n    this.router.transitionTo(\n      this.get('app.inboxConversationsConversationRoute'),\n      this.get('app.currentAdmin.email'),\n      this.conversationId,\n    );\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Onboarding::Home::StepContent as |content|>\\n  <content.container>\\n    <content.left>\\n      <p class=\\\"mb-8\\\" data-test-reply-directly-via-slack-component>\\n        Let chatbots automatically qualify leads on your website 24/7 and route them to your sales reps when you’re not\\n        online. Custom Bots can proactively reach out to visitors on your website, and engage with them when you’re not\\n        around.\\n      </p>\\n      <Pulse::HelpContent::Tour\\n        @tourId={{@step.stepData.productTourId}}\\n        @handleTourExternally={{true}}\\n      >\\n        <IcButton\\n          data-test-increase-conversion-with-chatbots-button\\n          @type=\\\"primary\\\"\\n          @icon=\\\"cursor\\\"\\n          @label=\\\"Set up Custom Bot\\\"\\n          @onClick={{this.setupCustomBot}}\\n        />\\n      </Pulse::HelpContent::Tour>\\n    </content.left>\\n    <content.right>\\n      <img\\n        class=\\\"onboarding__home__steps__preview-image\\\"\\n        src=\\\"/assets/images/onboarding/home/steps/increase-conversions-with-chatbots@1x.jpg\\\"\\n        srcset=\\\"/assets/images/onboarding/home/steps/increase-conversions-with-chatbots@2x.jpg 2x\\\"\\n      />\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"<Onboarding::Home::StepContent as |content|>\\n  <content.container>\\n    <content.left>\\n      <p class=\\\"mb-8\\\" data-test-reply-directly-via-slack-component>\\n        Let chatbots automatically qualify leads on your website 24/7 and route them to your sales reps when you’re not\\n        online. Custom Bots can proactively reach out to visitors on your website, and engage with them when you’re not\\n        around.\\n      </p>\\n      <Pulse::HelpContent::Tour\\n        @tourId={{@step.stepData.productTourId}}\\n        @handleTourExternally={{true}}\\n      >\\n        <IcButton\\n          data-test-increase-conversion-with-chatbots-button\\n          @type=\\\"primary\\\"\\n          @icon=\\\"cursor\\\"\\n          @label=\\\"Set up Custom Bot\\\"\\n          @onClick={{this.setupCustomBot}}\\n        />\\n      </Pulse::HelpContent::Tour>\\n    </content.left>\\n    <content.right>\\n      <img\\n        class=\\\"onboarding__home__steps__preview-image\\\"\\n        src=\\\"/assets/images/onboarding/home/steps/increase-conversions-with-chatbots@1x.jpg\\\"\\n        srcset=\\\"/assets/images/onboarding/home/steps/increase-conversions-with-chatbots@2x.jpg 2x\\\"\\n      />\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/increase-conversions-with-chatbots.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/increase-conversions-with-chatbots.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default Component.extend({\n  router: service(),\n  onboardingHomeExternalStepService: service(),\n  setupCustomBot: action(function() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'tour_started',\n      object: 'increase_conversions_with_chatbots',\n      ...this.step.analyticsMetadata,\n    });\n    this.onboardingHomeExternalStepService.start('increase_conversions_with_chatbots');\n    this.router.transitionTo('apps.app.operator.custom-bots', {\n      queryParams: { target: 'non-user' },\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if @selectedAppPackage}}\\n  <Appstore::AppPackage::Modal\\n    @appPackage={{@selectedAppPackage}}\\n    @installSource=\\\"onboarding-flow\\\"\\n    @closeModal={{action 'closeModal' @selectedAppPackage}}\\n  />\\n{{/if}}\\n<Onboarding::Home::StepContent as |content|>\\n  <p class=\\\"mb-4\\\">\\n    Here are some apps we’ve recommended for you based on companies similar to you.\\n  </p>\\n  {{#each this.recommendationRows as |appCardRow index|}}\\n    {{#if (lt index this.visibleAppRows)}}\\n      <div class=\\\"flex flex-row gap-4 u__padb__30\\\" data-test-app-card-row={{index}}>\\n      {{#each appCardRow as |appPackage|}}\\n        <Appstore::AppCard\\n          class=\\\"onboarding__home__steps__install-app__app-card\\\"\\n          @appPackage={{appPackage}}\\n          @onClick={{action 'openModal' appPackage}}\\n        />\\n      {{/each}}\\n      </div>\\n    {{/if}}\\n  {{/each}}\\n  <div class=\\\"onboarding__home__steps__install-app__btn-wrapper u__mb__10\\\">\\n    {{#unless this.hideMoreAppsButton}}\\n      <IcButton\\n        class=\\\"u__mr__20\\\"\\n        @type=\\\"secondary\\\"\\n        @label={{this.showMoreAppsButtonLabel}}\\n        @onClick={{action 'showMoreApps'}}\\n        data-test-show-more-apps\\n      />\\n    {{/unless}}\\n    {{#unless (eq this.step.state 'completed')}}\\n      <a\\n        data-test-mark-step-complete\\n        class=\\\"btn__tertiary onboarding__home__steps__install-app__mark-complete\\\"\\n        {{action 'markStepComplete'}}\\n      >\\n        Mark as done — I’ll install an app later\\n      </a>\\n    {{/unless}}\\n  </div>\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if @selectedAppPackage}}\\n  <Appstore::AppPackage::Modal\\n    @appPackage={{@selectedAppPackage}}\\n    @installSource=\\\"onboarding-flow\\\"\\n    @closeModal={{action 'closeModal' @selectedAppPackage}}\\n  />\\n{{/if}}\\n<Onboarding::Home::StepContent as |content|>\\n  <p class=\\\"mb-4\\\">\\n    Here are some apps we’ve recommended for you based on companies similar to you.\\n  </p>\\n  {{#each this.recommendationRows as |appCardRow index|}}\\n    {{#if (lt index this.visibleAppRows)}}\\n      <div class=\\\"flex flex-row gap-4 u__padb__30\\\" data-test-app-card-row={{index}}>\\n      {{#each appCardRow as |appPackage|}}\\n        <Appstore::AppCard\\n          class=\\\"onboarding__home__steps__install-app__app-card\\\"\\n          @appPackage={{appPackage}}\\n          @onClick={{action 'openModal' appPackage}}\\n        />\\n      {{/each}}\\n      </div>\\n    {{/if}}\\n  {{/each}}\\n  <div class=\\\"onboarding__home__steps__install-app__btn-wrapper u__mb__10\\\">\\n    {{#unless this.hideMoreAppsButton}}\\n      <IcButton\\n        class=\\\"u__mr__20\\\"\\n        @type=\\\"secondary\\\"\\n        @label={{this.showMoreAppsButtonLabel}}\\n        @onClick={{action 'showMoreApps'}}\\n        data-test-show-more-apps\\n      />\\n    {{/unless}}\\n    {{#unless (eq this.step.state 'completed')}}\\n      <a\\n        data-test-mark-step-complete\\n        class=\\\"btn__tertiary onboarding__home__steps__install-app__mark-complete\\\"\\n        {{action 'markStepComplete'}}\\n      >\\n        Mark as done — I’ll install an app later\\n      </a>\\n    {{/unless}}\\n  </div>\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/install-a-recommended-app.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/install-a-recommended-app.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport pluralise from 'embercom/lib/inflector';\n\nexport default Component.extend({\n  tagName: '',\n  appService: service(),\n  appstoreService: service(),\n  intercomEventService: service(),\n\n  app: readOnly('appService.app'),\n\n  visibleAppRows: 1,\n  appsPerRow: 4,\n\n  completionCallback: null,\n\n  showMoreAppsButtonLabel: computed('visibleAppRows', 'recommendationRows.[]', function() {\n    if (!this.recommendationRows.length || this.hideMoreAppsButton) {\n      return;\n    }\n\n    let nextAppCardRowLength = this.recommendationRows[this.visibleAppRows].length;\n\n    return `Show ${nextAppCardRowLength} more ${pluralise('app', nextAppCardRowLength)}`;\n  }),\n\n  showMoreAppsButtonvisible: computed('recommendationRows.[]', function() {\n    return this.recommendationRows && this.recommendationRows.length > 1;\n  }),\n\n  hideMoreAppsButton: computed('visibleAppRows', 'recommendationRows.[]', function() {\n    return !this.recommendationRows || this.recommendationRows.length === this.visibleAppRows;\n  }),\n\n  recommendationRows: computed('step.modelData.recommendations.[]', function() {\n    let sortedRecommendations = this._findAndBumpInstalledRecommendation(\n      this.step.modelData.recommendations,\n    );\n    return this._splitRecommendations(sortedRecommendations);\n  }),\n\n  _findAndBumpInstalledRecommendation(recommendations) {\n    let firstInstalledRecommendation = recommendations.find(r => r.isInstalled);\n    if (!firstInstalledRecommendation) {\n      return recommendations;\n    }\n    let firstInstalledIndex = recommendations.indexOf(firstInstalledRecommendation);\n    return [firstInstalledRecommendation].concat(\n      recommendations.slice(0, firstInstalledIndex),\n      recommendations.slice(firstInstalledIndex + 1),\n    );\n  },\n\n  _splitRecommendations(recommendations) {\n    let rows = [];\n    for (let i = 0; i < recommendations.length; i += this.appsPerRow) {\n      rows.push(recommendations.slice(i, i + this.appsPerRow));\n    }\n    return rows;\n  },\n\n  _dispatchAnalyticEvent({ action, object }) {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.step.analyticsMetadata,\n      section: 'inline_step',\n      action,\n      object,\n    });\n  },\n\n  actions: {\n    showMoreApps() {\n      this.set('visibleAppRows', this.visibleAppRows + 1);\n      this._dispatchAnalyticEvent({\n        action: 'clicked',\n        object: 'show_more_apps',\n      });\n    },\n\n    markStepComplete() {\n      this.completionCallback();\n      this._dispatchAnalyticEvent({\n        action: 'clicked',\n        object: 'skip_install_app',\n      });\n    },\n\n    openModal(modalAppPackage) {\n      this.onSelectAppPackage(modalAppPackage);\n      this._dispatchAnalyticEvent({\n        action: 'clicked',\n        object: modalAppPackage,\n      });\n    },\n\n    closeModal(modalAppPackage) {\n      if (modalAppPackage.isInstalled && !this.step.completed) {\n        this.completionCallback();\n      }\n      this.onCloseAppPackageModal();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}} as |transitionToRoute|>\\n    {{#if this.isBetaStep}}\\n      Nice work! This step is done.\\n    {{else}}\\n      You've installed an app. Go to the <LinkTo @route=\\\"apps.app.appstore\\\">App Store</LinkTo> to explore and install more.\\n    {{/if}}\\n  </content.banner>\\n  <content.container>\\n    <content.left>\\n      <p>\\n        Start creating more efficient workflows and better customer experiences through apps in our App Store.\\n      </p>\\n      <p>\\n        {{#if this.isBetaStep}}\\n          In this step, you’ll explore the App Store and learn how you can discover apps to get more from Intercom. Let’s go!\\n        {{else}}\\n          In this step, you’ll explore the App Store and install an app that suits your needs. Let’s go!\\n        {{/if}}\\n      </p>\\n      <Pulse::HelpContent::Tour\\n        @tourId={{@step.stepData.productTourId}}\\n        @handleTourExternally={{true}}\\n      >\\n        <IcButton\\n          data-test-visit-app-store-button\\n          @type=\\\"primary\\\"\\n          @icon=\\\"cursor\\\"\\n          @label=\\\"Visit the App Store\\\"\\n          @onClick={{this.visitAppStore}}\\n        />\\n      </Pulse::HelpContent::Tour>\\n    </content.left>\\n    <content.right>\\n      <img\\n        class=\\\"onboarding__home__steps__preview-image\\\"\\n        src=\\\"/assets/images/onboarding/home/steps/install-an-app@1x.jpg\\\"\\n        srcset=\\\"/assets/images/onboarding/home/steps/install-an-app@2x.jpg 2x\\\"\\n      />\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}} as |transitionToRoute|>\\n    {{#if this.isBetaStep}}\\n      Nice work! This step is done.\\n    {{else}}\\n      You've installed an app. Go to the <LinkTo @route=\\\"apps.app.appstore\\\">App Store</LinkTo> to explore and install more.\\n    {{/if}}\\n  </content.banner>\\n  <content.container>\\n    <content.left>\\n      <p>\\n        Start creating more efficient workflows and better customer experiences through apps in our App Store.\\n      </p>\\n      <p>\\n        {{#if this.isBetaStep}}\\n          In this step, you’ll explore the App Store and learn how you can discover apps to get more from Intercom. Let’s go!\\n        {{else}}\\n          In this step, you’ll explore the App Store and install an app that suits your needs. Let’s go!\\n        {{/if}}\\n      </p>\\n      <Pulse::HelpContent::Tour\\n        @tourId={{@step.stepData.productTourId}}\\n        @handleTourExternally={{true}}\\n      >\\n        <IcButton\\n          data-test-visit-app-store-button\\n          @type=\\\"primary\\\"\\n          @icon=\\\"cursor\\\"\\n          @label=\\\"Visit the App Store\\\"\\n          @onClick={{this.visitAppStore}}\\n        />\\n      </Pulse::HelpContent::Tour>\\n    </content.left>\\n    <content.right>\\n      <img\\n        class=\\\"onboarding__home__steps__preview-image\\\"\\n        src=\\\"/assets/images/onboarding/home/steps/install-an-app@1x.jpg\\\"\\n        srcset=\\\"/assets/images/onboarding/home/steps/install-an-app@2x.jpg 2x\\\"\\n      />\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/install-an-app-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/install-an-app-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { openOverflowMenuIfLinkNotVisible } from 'embercom/lib/primary-nav/open-overflow-menu';\nimport { equal } from '@ember/object/computed';\nimport { action } from '@ember/object';\n\nconst APP_STORE_TARGET_NAME = 'PrimaryNav App Store link';\n\nexport default Component.extend({\n  tagName: '',\n  appService: service(),\n  onboardingHomeExternalStepService: service(),\n\n  step: null,\n  completionCallback: null,\n\n  isBetaStep: equal('step.identifier', 'check_out_app_store'),\n\n  trackStartedTourAnalyticsEvent() {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.step.analyticsMetadata,\n      action: 'started',\n      object: `${this.step.identifier}_tour`,\n      section: 'index',\n    });\n  },\n\n  visitAppStore: action(function() {\n    this.trackStartedTourAnalyticsEvent();\n    openOverflowMenuIfLinkNotVisible(APP_STORE_TARGET_NAME);\n    this.onboardingHomeExternalStepService.start(this.step.identifier);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if @selectedAppPackage}}\\n  <Appstore::AppPackage::Modal\\n    @appPackage={{@selectedAppPackage}}\\n    @installSource=\\\"onboarding-flow\\\"\\n    @closeModal={{action 'closeModal' @selectedAppPackage}}\\n  />\\n{{/if}}\\n\\n<Onboarding::Home::StepContent as |content|>\\n  <p class=\\\"mb-4\\\" data-test-job-description>\\n    {{this.subtitle}}\\n  </p>\\n\\n  <div class=\\\"flex flex-row gap-4 u__padb__30\\\">\\n    {{#each this.recommendedApps as |appPackage|}}\\n      <Appstore::AppCard\\n        class=\\\"onboarding__home__steps__unblock-potential-with-apps__app-card\\\"\\n        @appPackage={{appPackage}}\\n        @onClick={{action 'openModal' appPackage}}\\n      />\\n    {{/each}}\\n  </div>\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if @selectedAppPackage}}\\n  <Appstore::AppPackage::Modal\\n    @appPackage={{@selectedAppPackage}}\\n    @installSource=\\\"onboarding-flow\\\"\\n    @closeModal={{action 'closeModal' @selectedAppPackage}}\\n  />\\n{{/if}}\\n\\n<Onboarding::Home::StepContent as |content|>\\n  <p class=\\\"mb-4\\\" data-test-job-description>\\n    {{this.subtitle}}\\n  </p>\\n\\n  <div class=\\\"flex flex-row gap-4 u__padb__30\\\">\\n    {{#each this.recommendedApps as |appPackage|}}\\n      <Appstore::AppCard\\n        class=\\\"onboarding__home__steps__unblock-potential-with-apps__app-card\\\"\\n        @appPackage={{appPackage}}\\n        @onClick={{action 'openModal' appPackage}}\\n      />\\n    {{/each}}\\n  </div>\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/install-use-case-app.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/install-use-case-app.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  tagName: '',\n  intercomEventService: service(),\n\n  completionCallback: null,\n\n  recommendedApps: readOnly('step.modelData.recommendedApps'),\n  subtitle: readOnly('step.modelData.subtitle'),\n\n  _dispatchAnalyticEvent({ action, object }) {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.step.analyticsMetadata,\n      section: 'inline_step',\n      action,\n      object,\n    });\n  },\n\n  actions: {\n    openModal(modalAppPackage) {\n      this.onSelectAppPackage(modalAppPackage);\n      this._dispatchAnalyticEvent({\n        action: 'clicked',\n        object: modalAppPackage,\n      });\n    },\n\n    closeModal(modalAppPackage) {\n      if (modalAppPackage.isInstalled && !this.step.completed) {\n        this.completionCallback();\n      }\n      this.onCloseAppPackageModal();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Onboarding::Home::Steps::Install::SetUpMessenger \\n  @selectedAudience='logged-in'\\n  @step={{@step}} \\n  @completionCallback={{@completionCallback}} \\n/>\", {\"contents\":\"<Onboarding::Home::Steps::Install::SetUpMessenger \\n  @selectedAudience='logged-in'\\n  @step={{@step}} \\n  @completionCallback={{@completionCallback}} \\n/>\",\"moduleName\":\"embercom/components/onboarding/home/steps/install/set-up-messenger-logged-in.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/install/set-up-messenger-logged-in.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Onboarding::Home::Steps::Install::SetUpMessenger \\n  @selectedAudience='logged-out'\\n  @step={{@step}} \\n  @completionCallback={{@completionCallback}}\\n/>\", {\"contents\":\"<Onboarding::Home::Steps::Install::SetUpMessenger \\n  @selectedAudience='logged-out'\\n  @step={{@step}} \\n  @completionCallback={{@completionCallback}}\\n/>\",\"moduleName\":\"embercom/components/onboarding/home/steps/install/set-up-messenger-visitors.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/install/set-up-messenger-visitors.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"onboarding__home__steps__accordion-wrapper\\\">\\n  <Onboarding::Home::StepStateBannerComponent @step={{@step}}>\\n    {{completionText}}\\n  </Onboarding::Home::StepStateBannerComponent>\\n\\n  <div class=\\\"layout__box mb-4\\\">\\n    {{descriptionText}}\\n  </div>\\n\\n  <MessengerInstallation::InstallMethodSelector\\n    data-test-install-method-selector\\n    @selectedInstallMethod={{selectedInstallMethod}}\\n    @baseAnalyticsMetadata={{baseAnalyticsMetadata}}\\n  />\\n\\n  {{#if selectedInstallMethod}}\\n    <MessengerInstallation::InstallMethodWrapperComponent\\n      data-test-install-method-wrapper-component\\n      @verified={{@step.completed}}\\n      @dropdownItems={{dropdownItems}}\\n      @selectedAudience={{selectedAudience}}\\n      @selectedCodeInstallType={{selectedCodeInstallType}}\\n      @baseAnalyticsMetadata={{baseAnalyticsMetadata}}\\n      class=\\\"mt-6\\\"\\n      as |installMethod|\\n    >\\n      {{#unless @step.completed}}\\n        <MessengerInstallation::InstallVerificationComponent\\n          data-test-install-verification-component\\n          @verificationKey={{installMethod.verificationKey}}\\n          @sourceKey={{installMethod.sourceKey}}\\n          @selectedAudience={{installMethod.selectedAudience}}\\n          @completionCallback={{completionCallback}}\\n          @baseAnalyticsMetadata={{installMethod.analyticsMetadata}}\\n        />\\n      {{/unless}}\\n    </MessengerInstallation::InstallMethodWrapperComponent>\\n  {{/if}}\\n\\n  {{#unless step.completed}}\\n    <p class=\\\"my-10\\\">\\n      {{markAsDoneText}} — <a class=\\\"t__em-link\\\" data-test-mark-done-link onclick={{action 'markAsCompleted'}}>Skip this step and mark it as done</a>\\n    </p>\\n    <Onboarding::Home::InviteCardComponent @step={{@step}} @baseAnalyticsMetadata={{baseAnalyticsMetadata}} />\\n  {{/unless}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"onboarding__home__steps__accordion-wrapper\\\">\\n  <Onboarding::Home::StepStateBannerComponent @step={{@step}}>\\n    {{completionText}}\\n  </Onboarding::Home::StepStateBannerComponent>\\n\\n  <div class=\\\"layout__box mb-4\\\">\\n    {{descriptionText}}\\n  </div>\\n\\n  <MessengerInstallation::InstallMethodSelector\\n    data-test-install-method-selector\\n    @selectedInstallMethod={{selectedInstallMethod}}\\n    @baseAnalyticsMetadata={{baseAnalyticsMetadata}}\\n  />\\n\\n  {{#if selectedInstallMethod}}\\n    <MessengerInstallation::InstallMethodWrapperComponent\\n      data-test-install-method-wrapper-component\\n      @verified={{@step.completed}}\\n      @dropdownItems={{dropdownItems}}\\n      @selectedAudience={{selectedAudience}}\\n      @selectedCodeInstallType={{selectedCodeInstallType}}\\n      @baseAnalyticsMetadata={{baseAnalyticsMetadata}}\\n      class=\\\"mt-6\\\"\\n      as |installMethod|\\n    >\\n      {{#unless @step.completed}}\\n        <MessengerInstallation::InstallVerificationComponent\\n          data-test-install-verification-component\\n          @verificationKey={{installMethod.verificationKey}}\\n          @sourceKey={{installMethod.sourceKey}}\\n          @selectedAudience={{installMethod.selectedAudience}}\\n          @completionCallback={{completionCallback}}\\n          @baseAnalyticsMetadata={{installMethod.analyticsMetadata}}\\n        />\\n      {{/unless}}\\n    </MessengerInstallation::InstallMethodWrapperComponent>\\n  {{/if}}\\n\\n  {{#unless step.completed}}\\n    <p class=\\\"my-10\\\">\\n      {{markAsDoneText}} — <a class=\\\"t__em-link\\\" data-test-mark-done-link onclick={{action 'markAsCompleted'}}>Skip this step and mark it as done</a>\\n    </p>\\n    <Onboarding::Home::InviteCardComponent @step={{@step}} @baseAnalyticsMetadata={{baseAnalyticsMetadata}} />\\n  {{/unless}}\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/install/set-up-messenger.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/install/set-up-messenger.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport { equal } from '@ember/object/computed';\nimport {\n  INSTALL_TYPE,\n  AUDIENCE,\n  LOGGED_IN_CODE_DROPDOWN_ITEMS,\n  LOGGED_OUT_CODE_DROPDOWN_ITEMS,\n  THIRD_PARTY_DROPDOWN_ITEMS,\n} from 'embercom/lib/messenger/installation-constants';\n\nexport default Component.extend({\n  intercomEventService: service(),\n\n  completionCallback: null,\n\n  selectedInstallMethod: null,\n  selectedAudience: null,\n\n  completionText: computed('selectedAudience', function() {\n    if (this.selectedAudience === AUDIENCE.LOGGED_OUT) {\n      return 'Your Messenger is installed for people who visit your website.';\n    }\n    return 'Your Messenger is installed for logged-in users.';\n  }),\n\n  descriptionText: computed('selectedAudience', function() {\n    if (this.selectedAudience === AUDIENCE.LOGGED_OUT) {\n      return \"Setting up the Messenger for visitors lets you chat with people when they're on your website.\";\n    }\n    return 'When you set up your Messenger for logged-in users, you know who your users are when they chat with you or use your product. This helps you support your customers and answer questions via live chat.';\n  }),\n\n  dropdownItems: computed('selectedAudience', 'selectedThirdPartyInstallType', function() {\n    if (this.selectedThirdPartyInstallType) {\n      return THIRD_PARTY_DROPDOWN_ITEMS;\n    }\n    switch (this.selectedAudience) {\n      case AUDIENCE.LOGGED_OUT:\n        return LOGGED_OUT_CODE_DROPDOWN_ITEMS;\n      case AUDIENCE.LOGGED_IN:\n        return LOGGED_IN_CODE_DROPDOWN_ITEMS;\n    }\n  }),\n\n  selectedCodeInstallType: equal('selectedInstallMethod', INSTALL_TYPE.CODE),\n  selectedThirdPartyInstallType: equal('selectedInstallMethod', INSTALL_TYPE.THIRD_PARTY),\n\n  markAsDoneText: computed('selectedAudience', function() {\n    return this.selectedAudience === AUDIENCE.LOGGED_OUT\n      ? \"Don't need to chat with new site visitors or logged-out users?\"\n      : \"Don't need to see who your users are?\";\n  }),\n\n  selectedInstallTypeAnalyticsName: ternary('selectedCodeInstallType', 'code', 'third_party_app'),\n  baseAnalyticsMetadata: computed(\n    'step.analyticsMetadata',\n    'selectedInstallTypeAnalyticsName',\n    function() {\n      return {\n        ...this.step.analyticsMetadata,\n        install_with: this.selectedInstallTypeAnalyticsName,\n      };\n    },\n  ),\n  linkAnalyticsMetadata: computed('step.analyticsMetadata', function() {\n    return {\n      ...this.step.analyticsMetadata,\n      context: 'completed_step',\n    };\n  }),\n\n  sendAnalyticsEvent(object) {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.step.analyticsMetadata,\n      action: 'clicked',\n      object,\n    });\n  },\n\n  actions: {\n    markAsCompleted() {\n      this.sendAnalyticsEvent('mark_as_done');\n      this.completionCallback();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n<Onboarding::Home::StepContent as |content|>\\n  <content.container>\\n    <div class=\\\"flex flex-col items-start gap-4\\\">\\n      <p class=\\\"mb-8\\\" data-test-integrate-with-crms-component>\\n        Streamline your sales process and close deals faster by installing one of our CRM integrations.\\n      </p>\\n      <div class=\\\"flex flex-row justify-start gap-4\\\">\\n        <div class=\\\"flex flex-col flex-1\\\">\\n          <Appstore::AppCard\\n            @appPackage={{this.salesforceAppPackage}}\\n            @onClick={{action \\\"openModal\\\"}}\\n          />\\n        </div>\\n        <div class=\\\"flex flex-col flex-1\\\">\\n          <Appstore::AppCard\\n            @appPackage={{this.hubspotAppPackage}}\\n            @onClick={{action \\\"openModal\\\"}}\\n          />\\n        </div>\\n        <div class=\\\"flex flex-col flex-1\\\">\\n          <Appstore::AppCard\\n            @appPackage={{this.pipedriveAppPackage}}\\n            @onClick={{action \\\"openModal\\\"}}\\n          />\\n        </div>\\n      </div>\\n      {{#if @step.available}}\\n        <div class=\\\"flex flex-row gap-1\\\">\\n          <p>\\n            Use a different CRM? —\\n          </p>\\n          <a\\n            data-test-mark-done-link\\n            class=\\\"u__display-block t__em-link mb-10\\\"\\n            onclick={{action \\\"markAsCompleted\\\"}}\\n          >\\n            Skip this step and mark it as done\\n          </a>\\n        </div>\\n      {{/if}}\\n    </div>\\n  </content.container>\\n  {{#if @step.available}}\\n    <Onboarding::Home::InviteCardComponent\\n      @step={{@step}}\\n      @baseAnalyticsMetadata={{@step.analyticsMetadata}}\\n    />\\n  {{/if}}\\n</Onboarding::Home::StepContent>\\n{{#if this.salesforceModalOpen}}\\n  <Appstore::AppPackage::Modal\\n    data-test-app-package-modal-salesforce\\n    @appPackage={{this.salesforceAppPackage}}\\n    @hideAdditionalAppPackageContent={{true}}\\n    @installSource=\\\"onboarding-flow\\\"\\n    @closeModal={{action \\\"closeModal\\\"}}\\n  />\\n{{/if}}\\n{{#if this.hubspotModalOpen}}\\n  <Appstore::AppPackage::Modal\\n    data-test-app-package-modal-hubspot\\n    @appPackage={{this.hubspotAppPackage}}\\n    @hideAdditionalAppPackageContent={{true}}\\n    @installSource=\\\"onboarding-flow\\\"\\n    @closeModal={{action \\\"closeModal\\\"}}\\n  />\\n{{/if}}\\n{{#if this.pipedriveModalOpen}}\\n  <Appstore::AppPackage::Modal\\n    data-test-app-package-modal-pipedrive\\n    @appPackage={{this.pipedriveAppPackage}}\\n    @hideAdditionalAppPackageContent={{true}}\\n    @installSource=\\\"onboarding-flow\\\"\\n    @closeModal={{action \\\"closeModal\\\"}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n<Onboarding::Home::StepContent as |content|>\\n  <content.container>\\n    <div class=\\\"flex flex-col items-start gap-4\\\">\\n      <p class=\\\"mb-8\\\" data-test-integrate-with-crms-component>\\n        Streamline your sales process and close deals faster by installing one of our CRM integrations.\\n      </p>\\n      <div class=\\\"flex flex-row justify-start gap-4\\\">\\n        <div class=\\\"flex flex-col flex-1\\\">\\n          <Appstore::AppCard\\n            @appPackage={{this.salesforceAppPackage}}\\n            @onClick={{action \\\"openModal\\\"}}\\n          />\\n        </div>\\n        <div class=\\\"flex flex-col flex-1\\\">\\n          <Appstore::AppCard\\n            @appPackage={{this.hubspotAppPackage}}\\n            @onClick={{action \\\"openModal\\\"}}\\n          />\\n        </div>\\n        <div class=\\\"flex flex-col flex-1\\\">\\n          <Appstore::AppCard\\n            @appPackage={{this.pipedriveAppPackage}}\\n            @onClick={{action \\\"openModal\\\"}}\\n          />\\n        </div>\\n      </div>\\n      {{#if @step.available}}\\n        <div class=\\\"flex flex-row gap-1\\\">\\n          <p>\\n            Use a different CRM? —\\n          </p>\\n          <a\\n            data-test-mark-done-link\\n            class=\\\"u__display-block t__em-link mb-10\\\"\\n            onclick={{action \\\"markAsCompleted\\\"}}\\n          >\\n            Skip this step and mark it as done\\n          </a>\\n        </div>\\n      {{/if}}\\n    </div>\\n  </content.container>\\n  {{#if @step.available}}\\n    <Onboarding::Home::InviteCardComponent\\n      @step={{@step}}\\n      @baseAnalyticsMetadata={{@step.analyticsMetadata}}\\n    />\\n  {{/if}}\\n</Onboarding::Home::StepContent>\\n{{#if this.salesforceModalOpen}}\\n  <Appstore::AppPackage::Modal\\n    data-test-app-package-modal-salesforce\\n    @appPackage={{this.salesforceAppPackage}}\\n    @hideAdditionalAppPackageContent={{true}}\\n    @installSource=\\\"onboarding-flow\\\"\\n    @closeModal={{action \\\"closeModal\\\"}}\\n  />\\n{{/if}}\\n{{#if this.hubspotModalOpen}}\\n  <Appstore::AppPackage::Modal\\n    data-test-app-package-modal-hubspot\\n    @appPackage={{this.hubspotAppPackage}}\\n    @hideAdditionalAppPackageContent={{true}}\\n    @installSource=\\\"onboarding-flow\\\"\\n    @closeModal={{action \\\"closeModal\\\"}}\\n  />\\n{{/if}}\\n{{#if this.pipedriveModalOpen}}\\n  <Appstore::AppPackage::Modal\\n    data-test-app-package-modal-pipedrive\\n    @appPackage={{this.pipedriveAppPackage}}\\n    @hideAdditionalAppPackageContent={{true}}\\n    @installSource=\\\"onboarding-flow\\\"\\n    @closeModal={{action \\\"closeModal\\\"}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/integrate-with-crms.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/integrate-with-crms.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  salesforceAppPackage: readOnly('step.modelData.salesforceAppPackage'),\n  hubspotAppPackage: readOnly('step.modelData.hubspotAppPackage'),\n  pipedriveAppPackage: readOnly('step.modelData.pipedriveAppPackage'),\n  salesforceModalOpen: false,\n  hubspotModalOpen: false,\n  pipedriveModalOpen: false,\n  selectedAppPackage: null,\n  actions: {\n    openModal(appPackage) {\n      this.set('selectedAppPackage', appPackage);\n      if (this.selectedAppPackage === this.salesforceAppPackage) {\n        this.set('salesforceModalOpen', true);\n      }\n      if (this.selectedAppPackage === this.hubspotAppPackage) {\n        this.set('hubspotModalOpen', true);\n      }\n      if (this.selectedAppPackage === this.pipedriveAppPackage) {\n        this.set('pipedriveModalOpen', true);\n      }\n    },\n    markAsCompleted() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'step_skipped',\n        object: 'integrate_with_crms',\n        ...this.step.analyticsMetadata,\n      });\n      this.completionCallback();\n    },\n    closeModal() {\n      this.set('salesforceModalOpen', false);\n      this.set('hubspotModalOpen', false);\n      this.set('pipedriveModalOpen', false);\n\n      if (\n        this.salesforceAppPackage.isInstalled ||\n        this.hubspotAppPackage.isInstalled ||\n        this.pipedriveAppPackage.isInstalled\n      ) {\n        this.intercomEventService.trackAnalyticsEvent({\n          context: this.selectedAppPackage.id,\n          action: 'app_package_installed',\n          object: 'integrate_with_crms',\n          ...this.step.analyticsMetadata,\n        });\n        this.completionCallback();\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"onboarding__home__steps__accordion-wrapper\\\"\\n  data-test-send-test-message-content\\n>\\n  <Onboarding::Home::StepStateBannerComponent\\n    @step={{this.step}}\\n    @ctaBodyText=\\\"Nice work! This step is done. You can manage invites and permissions in\\\"\\n    @linkToText=\\\"Teammate Settings\\\"\\n    @linkToRoute=\\\"apps.app.settings.teammates\\\"\\n  />\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div\\n      class=\\\"layout__box onboarding__home__steps__left-content o__flexes-to-1\\\"\\n    >\\n      <p class=\\\"mb-4\\\">\\n        Now that you’re talking with customers, it’s time to bring in the rest of your team to help.\\n      </p>\\n      <p class=\\\"mb-4\\\">\\n        Start by inviting your teammates — you can always add more later too.\\n      </p>\\n      {{#if this.appFlaggedForEmailApproval}}\\n        <IcBanner @type=\\\"warning\\\" class=\\\"mb-4\\\">\\n          <span data-test-invite-teammates-email-approval-required>\\n            Team invite emails can’t be sent right now as your app is\\n            being reviewed. We’ve emailed you with more details.\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://www.intercom.com/help/pricing-privacy-and-terms/terms-of-service/intercoms-app-review-process\\\"\\n              @title=\\\"Read more on our approval process\\\"\\n              @type=\\\"article\\\"\\n              @linkStyling=\\\"inline\\\"\\n            />.\\n          </span>\\n        </IcBanner>\\n      {{/if}}\\n      <div class=\\\"text-gray u__mb__5\\\">\\n        Email{{#if this.canInviteSeats}}\\n          <IcTooltip as |t|>\\n            <t.opener>\\n              {{ic-interface-icon \\\"info\\\"}}\\n            </t.opener>\\n            <t.content>\\n              Inbox access for the first 2 teammates is included in your subscription. Each additional teammate with Inbox access will cost {{this.formattedPricePerSeat}}/month.\\n            </t.content>\\n          </IcTooltip>\\n        {{/if}}\\n      </div>\\n      <div class=\\\"flex flex-col gap-6 mb-6\\\">\\n        {{#each this.invites as |invite index|}}\\n          <Onboarding::Home::Steps::InviteTeammates::InviteInput\\n            @invite={{invite}}\\n            @isInputDisabled={{or this.sendInvites.isRunning (gt this.invites.length this.inviteLimit)}}\\n            @canInviteSeats={{this.canInviteSeats}}\\n            @showInboxCheckbox={{and\\n              this.shouldSeePerProductPricing\\n              this.showInboxAccessOption\\n            }}\\n            @showValidationErrors={{this.showValidationErrors}}\\n            @removeInvite={{action \\\"removeInvite\\\"}}\\n            @index={{index}}\\n          />\\n        {{/each}}\\n        {{#if (lt this.invites.length this.inviteLimit) }}\\n          <a\\n            data-test-add-input-link\\n            class=\\\"t__em-link\\\"\\n            onclick={{action \\\"addInvite\\\"}}\\n          >\\n            + Add teammate\\n          </a>\\n        {{/if}}\\n        {{#if this.inviteHasInboxAccess}}\\n          <div class=\\\"text-green\\\" data-test-inbox-access-price-data>\\n            {{this.inviteWithInboxAccessText}}\\n          </div>\\n        {{/if}}\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 t__right\\\">\\n      <img\\n        class=\\\"onboarding__home__steps__preview-image\\\"\\n        src=\\\"/assets/images/onboarding/home/steps/invite-teammates@1x.jpg\\\"\\n        srcset=\\\"/assets/images/onboarding/home/steps/invite-teammates@2x.jpg 2x\\\"\\n      />\\n    </div>\\n  </div>\\n  <IcTooltip @isDisabled={{not this.app.isTestApp}} as |t|>\\n    <t.opener>\\n      <div class=\\\"layout__box o__has-columns o__flexes-to-1 mb-4\\\">\\n        <div class=\\\"layout__box\\\">\\n          <Tooltips::RestrictedAccess\\n            @isDisabled={{or this.app.isTestApp this.adminCanInviteTeammates}}\\n            @permission=\\\"can_access_workspace_settings\\\"\\n            @intent=\\\"invite teammates\\\"\\n            @object=\\\"invite_teammates\\\"\\n            class=\\\"onboarding__home__steps__permissions-tooltip-opener\\\"\\n            data-ghost-inspector=\\\"onboarding__home__steps__invite-teammates-invite-button\\\"\\n          >\\n            <IcButton\\n              data-test-invite-teammates-send-button\\n              @type=\\\"primary\\\"\\n              @onClick={{perform this.validateAndSendInvites}}\\n              @label=\\\"Send and continue\\\"\\n              @processingLabel=\\\"Sending Invite…\\\"\\n              @disabled={{or this.sendInvites.isRunning this.disableInboxInviteForm}}\\n            />\\n          </Tooltips::RestrictedAccess>\\n        </div>\\n        <div class=\\\"layout__box o__flexes-to-1 u__center-layout\\\">\\n          {{#if this.showValidationErrors}}\\n            <span class=\\\"ml-4 text-red\\\" data-test-validation-error-message>\\n              Please check and make sure your emails are valid.\\n            </span>\\n          {{/if}}\\n        </div>\\n      </div>\\n    </t.opener>\\n    <t.content>\\n      <div data-test-test-workspace-tooltip>\\n        This is a test workspace. Invite teammates to your main workspace instead.\\n      </div>\\n    </t.content>\\n  </IcTooltip>\\n  <Settings::Teammates::SeatsCostChangeCard::EmailInvite @changeInSeats={{this.invites.length}} />\\n</div>\\n<Onboarding::AddInboxSeatConfirmationModal\\n  @inviteEmailAddresses={{this.invitesWithInboxAccessEmailAddresses}}\\n  @showModal={{this.showModal}}\\n  @seatsLeft={{this.permissionsMutatorService.seatsLeft}}\\n  @pricePerSeat={{this.customer.pricePerSeat}}\\n  @sendInvites={{this.sendInvites}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"onboarding__home__steps__accordion-wrapper\\\"\\n  data-test-send-test-message-content\\n>\\n  <Onboarding::Home::StepStateBannerComponent\\n    @step={{this.step}}\\n    @ctaBodyText=\\\"Nice work! This step is done. You can manage invites and permissions in\\\"\\n    @linkToText=\\\"Teammate Settings\\\"\\n    @linkToRoute=\\\"apps.app.settings.teammates\\\"\\n  />\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div\\n      class=\\\"layout__box onboarding__home__steps__left-content o__flexes-to-1\\\"\\n    >\\n      <p class=\\\"mb-4\\\">\\n        Now that you’re talking with customers, it’s time to bring in the rest of your team to help.\\n      </p>\\n      <p class=\\\"mb-4\\\">\\n        Start by inviting your teammates — you can always add more later too.\\n      </p>\\n      {{#if this.appFlaggedForEmailApproval}}\\n        <IcBanner @type=\\\"warning\\\" class=\\\"mb-4\\\">\\n          <span data-test-invite-teammates-email-approval-required>\\n            Team invite emails can’t be sent right now as your app is\\n            being reviewed. We’ve emailed you with more details.\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://www.intercom.com/help/pricing-privacy-and-terms/terms-of-service/intercoms-app-review-process\\\"\\n              @title=\\\"Read more on our approval process\\\"\\n              @type=\\\"article\\\"\\n              @linkStyling=\\\"inline\\\"\\n            />.\\n          </span>\\n        </IcBanner>\\n      {{/if}}\\n      <div class=\\\"text-gray u__mb__5\\\">\\n        Email{{#if this.canInviteSeats}}\\n          <IcTooltip as |t|>\\n            <t.opener>\\n              {{ic-interface-icon \\\"info\\\"}}\\n            </t.opener>\\n            <t.content>\\n              Inbox access for the first 2 teammates is included in your subscription. Each additional teammate with Inbox access will cost {{this.formattedPricePerSeat}}/month.\\n            </t.content>\\n          </IcTooltip>\\n        {{/if}}\\n      </div>\\n      <div class=\\\"flex flex-col gap-6 mb-6\\\">\\n        {{#each this.invites as |invite index|}}\\n          <Onboarding::Home::Steps::InviteTeammates::InviteInput\\n            @invite={{invite}}\\n            @isInputDisabled={{or this.sendInvites.isRunning (gt this.invites.length this.inviteLimit)}}\\n            @canInviteSeats={{this.canInviteSeats}}\\n            @showInboxCheckbox={{and\\n              this.shouldSeePerProductPricing\\n              this.showInboxAccessOption\\n            }}\\n            @showValidationErrors={{this.showValidationErrors}}\\n            @removeInvite={{action \\\"removeInvite\\\"}}\\n            @index={{index}}\\n          />\\n        {{/each}}\\n        {{#if (lt this.invites.length this.inviteLimit) }}\\n          <a\\n            data-test-add-input-link\\n            class=\\\"t__em-link\\\"\\n            onclick={{action \\\"addInvite\\\"}}\\n          >\\n            + Add teammate\\n          </a>\\n        {{/if}}\\n        {{#if this.inviteHasInboxAccess}}\\n          <div class=\\\"text-green\\\" data-test-inbox-access-price-data>\\n            {{this.inviteWithInboxAccessText}}\\n          </div>\\n        {{/if}}\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 t__right\\\">\\n      <img\\n        class=\\\"onboarding__home__steps__preview-image\\\"\\n        src=\\\"/assets/images/onboarding/home/steps/invite-teammates@1x.jpg\\\"\\n        srcset=\\\"/assets/images/onboarding/home/steps/invite-teammates@2x.jpg 2x\\\"\\n      />\\n    </div>\\n  </div>\\n  <IcTooltip @isDisabled={{not this.app.isTestApp}} as |t|>\\n    <t.opener>\\n      <div class=\\\"layout__box o__has-columns o__flexes-to-1 mb-4\\\">\\n        <div class=\\\"layout__box\\\">\\n          <Tooltips::RestrictedAccess\\n            @isDisabled={{or this.app.isTestApp this.adminCanInviteTeammates}}\\n            @permission=\\\"can_access_workspace_settings\\\"\\n            @intent=\\\"invite teammates\\\"\\n            @object=\\\"invite_teammates\\\"\\n            class=\\\"onboarding__home__steps__permissions-tooltip-opener\\\"\\n            data-ghost-inspector=\\\"onboarding__home__steps__invite-teammates-invite-button\\\"\\n          >\\n            <IcButton\\n              data-test-invite-teammates-send-button\\n              @type=\\\"primary\\\"\\n              @onClick={{perform this.validateAndSendInvites}}\\n              @label=\\\"Send and continue\\\"\\n              @processingLabel=\\\"Sending Invite…\\\"\\n              @disabled={{or this.sendInvites.isRunning this.disableInboxInviteForm}}\\n            />\\n          </Tooltips::RestrictedAccess>\\n        </div>\\n        <div class=\\\"layout__box o__flexes-to-1 u__center-layout\\\">\\n          {{#if this.showValidationErrors}}\\n            <span class=\\\"ml-4 text-red\\\" data-test-validation-error-message>\\n              Please check and make sure your emails are valid.\\n            </span>\\n          {{/if}}\\n        </div>\\n      </div>\\n    </t.opener>\\n    <t.content>\\n      <div data-test-test-workspace-tooltip>\\n        This is a test workspace. Invite teammates to your main workspace instead.\\n      </div>\\n    </t.content>\\n  </IcTooltip>\\n  <Settings::Teammates::SeatsCostChangeCard::EmailInvite @changeInSeats={{this.invites.length}} />\\n</div>\\n<Onboarding::AddInboxSeatConfirmationModal\\n  @inviteEmailAddresses={{this.invitesWithInboxAccessEmailAddresses}}\\n  @showModal={{this.showModal}}\\n  @seatsLeft={{this.permissionsMutatorService.seatsLeft}}\\n  @pricePerSeat={{this.customer.pricePerSeat}}\\n  @sendInvites={{this.sendInvites}}\\n/>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/invite-teammates.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/invite-teammates.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { bool, filterBy, mapBy, empty, or, readOnly, not } from '@ember/object/computed';\nimport EmberObject, { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport {\n  applyFunction,\n  isEvery,\n  isValidEmail,\n  templateString,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport {\n  notifySendDenialError,\n  SEND_FAIL_STRING,\n  APP_NOT_APPROVED_FOR_EMAILS,\n} from 'embercom/lib/invite-error-strings';\nimport { A } from '@ember/array';\nimport currencyFormatter from 'embercom/lib/currency-formatter';\nimport { pluralize } from 'ember-inflector';\nimport { post } from 'embercom/lib/ajax';\n\nlet EmailInvite = EmberObject.extend({\n  email: '',\n  has_inbox_access: false,\n  isValid: isValidEmail('email'),\n  invalidEmail: not('isValid'),\n  isBlank: empty('email'),\n});\n\nexport default Component.extend({\n  store: service(),\n  permissionsMutatorService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  customer: readOnly('app.customer'),\n  showModal: false,\n  showValidationErrors: false,\n  completionCallback: null,\n  step: null,\n  invites: null,\n  invitedAdmins: readOnly('step.modelData.invitedAdmins'),\n  invitesWithInboxAccess: filterBy('invites', 'has_inbox_access'),\n  invitesWithInboxAccessEmailAddresses: mapBy('invitesWithInboxAccess', 'email'),\n  pricePerSeat: readOnly('customer.pricePerSeat'),\n  formattedPricePerSeat: applyFunction(currencyFormatter, 'pricePerSeat'),\n  isEarlyStageCustomer: or('app.validEarlyStageApplicant', 'customer.currentlyOnEarlyStage'),\n  numberOfInboxSeats: readOnly('customer.freeSeatCount'),\n  inviteWithInboxAccessText: templateString(\n    '${numberOfInboxSeats} Inbox seats are free with your subscription. Add another seat for ${formattedPricePerSeat}/month.',\n  ),\n  appFlaggedForEmailApproval: bool('app.awaiting_email_approval'),\n  adminCanInviteTeammates: computed('permissionsService', function() {\n    return this.permissionsService.currentAdminCan('can_access_workspace_settings');\n  }),\n  allInvitesBlank: isEvery('invites', 'isBlank'),\n  allEmailsAreValid: isEvery('invites', 'isValid'),\n  disableInboxInviteForm: computed(\n    'app.isTestApp',\n    'appFlaggedForEmailApproval',\n    'adminCanInviteTeammates',\n    'allInvitesBlank',\n    function() {\n      return (\n        this.get('app.isTestApp') ||\n        this.appFlaggedForEmailApproval ||\n        this.allInvitesBlank ||\n        !this.adminCanInviteTeammates\n      );\n    },\n  ),\n  canInviteSeats: computed('app.{inboxIsActive,canUseFree}', 'email', function() {\n    return this.get('app.inboxIsActive') && !this.get('app.canUseFree');\n  }),\n  showInboxAccessOption: false,\n  shouldSeePerProductPricing: computed(\n    'customer.{hasActiveSubscription,subscriptionPricedPerProduct}',\n    function() {\n      return (\n        this.get('customer.subscriptionPricedPerProduct') ||\n        !this.get('customer.hasActiveSubscription')\n      );\n    },\n  ),\n\n  hasUnlimitedSeats: computed(\n    'app.{hasActiveSubscription,usesVbp}',\n    'customer.{seatLimit,isAnnuallyContracted}',\n    function() {\n      if (!this.get('app.usesVbp') && !this.get('customer.isAnnuallyContracted')) {\n        return true;\n      }\n      return this.get('app.hasActiveSubscription') && this.get('customer.seatLimit') === null;\n    },\n  ),\n  maxInviteLimit: 10,\n  defaultSeatLimit: 5,\n  inviteLimit: computed(\n    'app.{humanAdmins.length,hasActiveSubscription}',\n    'customer.seatLimit',\n    'hasUnlimitedSeats',\n    'maxInviteLimit',\n    'defaultSeatLimit',\n    'invitedAdmins.@each.active',\n    function() {\n      if (this.hasUnlimitedSeats) {\n        return this.maxInviteLimit;\n      }\n      let seatLimit = this.get('customer.seatLimit') || this.defaultSeatLimit;\n      let numAvailableInvites = Math.max(\n        seatLimit -\n          this.get('app.humanAdmins.length') -\n          this.invitedAdmins.filter(invite => invite.active).length,\n        0,\n      );\n      return Math.min(numAvailableInvites, this.maxInviteLimit);\n    },\n  ),\n\n  init() {\n    this._super(...arguments);\n    this._setInboxAccessDisplayOption();\n    this.set('invites', [EmailInvite.create()]);\n    this.permissionsMutatorService.set('invitedAdmins', this.invitedAdmins);\n  },\n\n  _setInboxAccessDisplayOption() {\n    if (this.isEarlyStageCustomer || this.app.isOnFree || !this.app.inboxIsActive) {\n      return this.set('showInboxAccessOption', false);\n    }\n\n    this.set('showInboxAccessOption', true);\n  },\n\n  fetchEmailInvites: task(function*() {\n    yield this.step.loadModelData();\n  }),\n\n  validateAndSendInvites: task(function*() {\n    if (!this.allEmailsAreValid) {\n      return this.set('showValidationErrors', true);\n    }\n\n    if (this.invitesWithInboxAccess.length > 0) {\n      return this.set('showModal', true);\n    }\n\n    yield this.sendInvites.perform();\n  }),\n\n  sendInvites: task(function*() {\n    let inviteCount = this.invites.length;\n    try {\n      yield post('/ember/invite_admin_groups', {\n        invitees: this.invites,\n        app_id: this.get('app.id'),\n      });\n      yield this._resetStepState();\n\n      let userString = pluralize(inviteCount, 'user', { withoutCount: true });\n      this.completionCallback({\n        stepCompletedText: `You have invited ${inviteCount} ${userString} to work with you in Intercom!`,\n      });\n    } catch (error) {\n      if (error.jqXHR.responseJSON.errors[0] === APP_NOT_APPROVED_FOR_EMAILS) {\n        return notifySendDenialError(this.notificationsService);\n      }\n\n      this.notificationsService.notifyResponseError(error, {\n        default: SEND_FAIL_STRING,\n      });\n    }\n  }),\n\n  async _resetStepState() {\n    this.set('showModal', false);\n    this.set('showValidationErrors', false);\n    this.set('invites', A([EmailInvite.create()]));\n    await this.fetchEmailInvites.perform();\n    this.permissionsMutatorService.set('invitedAdmins', this.invitedAdmins);\n  },\n\n  actions: {\n    addInvite() {\n      this.invites.addObject(EmailInvite.create());\n    },\n\n    removeInvite(invite) {\n      this.invites.removeObject(invite);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"layout__box o__flexes-to-1\\\" data-ghost-inspector=\\\"onboarding__home__steps__invite-teammates-email-input\\\">\\n  <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n    <Input\\n      @disabled={{@isInputDisabled}}\\n      @value={{@invite.email}}\\n      @placeholder='teammate@domain.com'\\n      data-test-invite-teammates-email-input={{@index}}\\n      class={{concat 'f__text' (if @isInputDisabled ' o__disabled') (if this.hideRemoveButton ' mr-8') (if this.showErrorState ' o__error')}}\\n    />\\n    {{#unless this.hideRemoveButton}}\\n      <span data-test-remove-input-button={{@index}} class=\\\"quick-action o__destructive p-1\\\" {{action @removeInvite @invite}}>\\n        {{ic-interface-icon 'trash' color='black'}}\\n      </span>\\n    {{/unless}}\\n  </div>\\n  {{#if (and this.showErrorState this.hasErrorMessage)}}\\n    <p data-test-validation-error-message={{@index}} class=\\\"t__label text-red mt-2\\\">\\n      {{@invite.errorMessage}}\\n    </p>\\n  {{/if}}\\n  {{#if @showInboxCheckbox}}\\n    <div class=\\\"mt-2\\\" data-test-add-teammates-inbox-seats-checkbox-wrapper>\\n      <label class=\\\"f__checkbox-label\\\">\\n        <span class=\\\"f__checkbox-wrapper\\\">\\n          <Input\\n            @type=\\\"checkbox\\\"\\n            @checked={{@invite.has_inbox_access}}\\n            @disabled={{not @canInviteSeats}}\\n            @data-test-inbox-seat-checkbox={{@index}}\\n          />\\n        </span>\\n        <span class=\\\"f__checkbox-content\\\">Include access to Inbox</span>\\n      </label>\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<div class=\\\"layout__box o__flexes-to-1\\\" data-ghost-inspector=\\\"onboarding__home__steps__invite-teammates-email-input\\\">\\n  <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n    <Input\\n      @disabled={{@isInputDisabled}}\\n      @value={{@invite.email}}\\n      @placeholder='teammate@domain.com'\\n      data-test-invite-teammates-email-input={{@index}}\\n      class={{concat 'f__text' (if @isInputDisabled ' o__disabled') (if this.hideRemoveButton ' mr-8') (if this.showErrorState ' o__error')}}\\n    />\\n    {{#unless this.hideRemoveButton}}\\n      <span data-test-remove-input-button={{@index}} class=\\\"quick-action o__destructive p-1\\\" {{action @removeInvite @invite}}>\\n        {{ic-interface-icon 'trash' color='black'}}\\n      </span>\\n    {{/unless}}\\n  </div>\\n  {{#if (and this.showErrorState this.hasErrorMessage)}}\\n    <p data-test-validation-error-message={{@index}} class=\\\"t__label text-red mt-2\\\">\\n      {{@invite.errorMessage}}\\n    </p>\\n  {{/if}}\\n  {{#if @showInboxCheckbox}}\\n    <div class=\\\"mt-2\\\" data-test-add-teammates-inbox-seats-checkbox-wrapper>\\n      <label class=\\\"f__checkbox-label\\\">\\n        <span class=\\\"f__checkbox-wrapper\\\">\\n          <Input\\n            @type=\\\"checkbox\\\"\\n            @checked={{@invite.has_inbox_access}}\\n            @disabled={{not @canInviteSeats}}\\n            @data-test-inbox-seat-checkbox={{@index}}\\n          />\\n        </span>\\n        <span class=\\\"f__checkbox-content\\\">Include access to Inbox</span>\\n      </label>\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/invite-teammates/invite-input.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/invite-teammates/invite-input.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { and, equal, notEmpty, or } from '@ember/object/computed';\n\nexport default Component.extend({\n  hasValidationError: or('invite.invalidEmail', 'hasErrorMessage'),\n  hasErrorMessage: notEmpty('invite.errorMessage'),\n  showErrorState: and('showValidationErrors', 'hasValidationError'),\n  hideRemoveButton: equal('index', 0),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Onboarding::Home::StepContent as |content|>\\n  <div data-test-learn-about-custom-data-attributes-content>\\n    <content.banner @step={{@step}} />\\n    <content.container>\\n      <content.left>\\n        <p>\\n          The Messenger can collect data about customers when you communicate with them in conversations or when they visit your website\\n          or use your app.\\n        </p>\\n        <p>\\n          This can be unique information about a person, their device or location, and we call these data attributes. Here, you’ll\\n          learn about data attributes and see how to use them to improve how you serve your customers.\\n        </p>\\n        <Pulse::HelpContent::Tour\\n          @tourId={{@step.stepData.productTourId}}\\n          @handleTourExternally={{true}}\\n        >\\n          <IcButton\\n            data-test-learn-about-custom-data-tour-trigger\\n            @type=\\\"primary\\\"\\n            @icon=\\\"cursor\\\"\\n            @label=\\\"Discover attributes\\\"\\n            @onClick={{this.transitionToOnboardingCustomDataFlow}}\\n          />\\n        </Pulse::HelpContent::Tour>\\n      </content.left>\\n      <content.right>\\n        <img\\n          class=\\\"onboarding__home__steps__preview-image\\\"\\n          src=\\\"/assets/images/onboarding/home/steps/learn-about-custom-data-attributes@2x.png\\\"\\n        />\\n      </content.right>\\n    </content.container>\\n  </div>\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Onboarding::Home::StepContent as |content|>\\n  <div data-test-learn-about-custom-data-attributes-content>\\n    <content.banner @step={{@step}} />\\n    <content.container>\\n      <content.left>\\n        <p>\\n          The Messenger can collect data about customers when you communicate with them in conversations or when they visit your website\\n          or use your app.\\n        </p>\\n        <p>\\n          This can be unique information about a person, their device or location, and we call these data attributes. Here, you’ll\\n          learn about data attributes and see how to use them to improve how you serve your customers.\\n        </p>\\n        <Pulse::HelpContent::Tour\\n          @tourId={{@step.stepData.productTourId}}\\n          @handleTourExternally={{true}}\\n        >\\n          <IcButton\\n            data-test-learn-about-custom-data-tour-trigger\\n            @type=\\\"primary\\\"\\n            @icon=\\\"cursor\\\"\\n            @label=\\\"Discover attributes\\\"\\n            @onClick={{this.transitionToOnboardingCustomDataFlow}}\\n          />\\n        </Pulse::HelpContent::Tour>\\n      </content.left>\\n      <content.right>\\n        <img\\n          class=\\\"onboarding__home__steps__preview-image\\\"\\n          src=\\\"/assets/images/onboarding/home/steps/learn-about-custom-data-attributes@2x.png\\\"\\n        />\\n      </content.right>\\n    </content.container>\\n  </div>\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/learn-about-custom-data-attributes-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/learn-about-custom-data-attributes-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { action } from '@ember/object';\n\nexport default Component.extend({\n  router: service(),\n  appService: service(),\n  onboardingHomeExternalStepService: service(),\n\n  step: null,\n\n  app: readOnly('appService.app'),\n\n  trackClickedAnalyticsEvent() {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.step.analyticsMetadata,\n      action: 'clicked',\n      object: 'go_to_custom_data_settings',\n      section: 'inline_step',\n    });\n  },\n\n  async _getUserId() {\n    let userResponse = await this.onboardingHomeExternalStepService.generateExampleDataForStep(\n      this.step.identifier,\n    );\n\n    return userResponse.id;\n  },\n\n  transitionToOnboardingCustomDataFlow: action(async function() {\n    this.trackClickedAnalyticsEvent();\n\n    let userId = await this._getUserId();\n\n    this.router.transitionTo('apps.app.users.user.all-conversations', userId, {\n      queryParams: {\n        external_step: 'learn_about_custom_data_attributes',\n      },\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}} >\\n    {{#if (has-feature \\\"hasOsa2OnboardingHome\\\")}}\\n      Well done! Next, visit your <LinkTo @route=\\\"apps.app.reports.customer-support.conversations-flexible\\\" data-test-performance-reporting-link>Conversations report</LinkTo>.\\n    {{else}}\\n      Well done! Click here to find <LinkTo @route=\\\"apps.app.reports.inbox.performance\\\" data-test-performance-reporting-link>performance reporting</LinkTo>.\\n    {{/if}}\\n  </content.banner>\\n  <content.container>\\n    <content.left>\\n      <p class=\\\"mt-4 mb-10\\\" data-test-reply-directly-via-slack-component>\\n        {{#if (has-feature \\\"hasOsa2OnboardingHome\\\")}}\\n          Use reports to understand and increase your team's effectiveness, responsiveness, customer satisfaction and more.\\n        {{else}}\\n          Manage your team more effectively and improve your support with insights from our performance report.\\n        {{/if}}\\n      </p>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"5l3wb7sge1\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"measure_and_improve_team_performance\\\" @accordionAPI}}\\n      >\\n        <IcButton\\n          data-test-watch-team-performance-button\\n          @type=\\\"primary\\\"\\n          @label=\\\"Watch video\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.left>\\n    <content.right>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"5l3wb7sge1\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"measure_and_improve_team_performance\\\" @accordionAPI}}\\n      >\\n        <img\\n          class=\\\"onboarding__home__steps__video-opener-image\\\"\\n          src=\\\"/assets/images/onboarding/home/steps/measure-and-improve-team-performance-video.png\\\"/>\\n      </Pulse::HelpContent::Video>\\n    </content.right>\\n\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}} >\\n    {{#if (has-feature \\\"hasOsa2OnboardingHome\\\")}}\\n      Well done! Next, visit your <LinkTo @route=\\\"apps.app.reports.customer-support.conversations-flexible\\\" data-test-performance-reporting-link>Conversations report</LinkTo>.\\n    {{else}}\\n      Well done! Click here to find <LinkTo @route=\\\"apps.app.reports.inbox.performance\\\" data-test-performance-reporting-link>performance reporting</LinkTo>.\\n    {{/if}}\\n  </content.banner>\\n  <content.container>\\n    <content.left>\\n      <p class=\\\"mt-4 mb-10\\\" data-test-reply-directly-via-slack-component>\\n        {{#if (has-feature \\\"hasOsa2OnboardingHome\\\")}}\\n          Use reports to understand and increase your team's effectiveness, responsiveness, customer satisfaction and more.\\n        {{else}}\\n          Manage your team more effectively and improve your support with insights from our performance report.\\n        {{/if}}\\n      </p>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"5l3wb7sge1\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"measure_and_improve_team_performance\\\" @accordionAPI}}\\n      >\\n        <IcButton\\n          data-test-watch-team-performance-button\\n          @type=\\\"primary\\\"\\n          @label=\\\"Watch video\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.left>\\n    <content.right>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"5l3wb7sge1\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"measure_and_improve_team_performance\\\" @accordionAPI}}\\n      >\\n        <img\\n          class=\\\"onboarding__home__steps__video-opener-image\\\"\\n          src=\\\"/assets/images/onboarding/home/steps/measure-and-improve-team-performance-video.png\\\"/>\\n      </Pulse::HelpContent::Video>\\n    </content.right>\\n\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/measure-and-improve-team-performance.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/measure-and-improve-team-performance.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Onboarding::Home::StepContent @step={{@step}} as |content|>\\n  <content.banner />\\n  <content.container>\\n    <content.left>\\n      <p>\\n        You can send articles without publishing them to the web. But to give your customers the option of quick self-service, you’ll need to publish your articles by turning on your Help Center.\\n      </p>\\n      <Pulse::HelpContent::Tour\\n        @tourId={{@step.stepData.productTourId}}\\n        @handleTourExternally={{true}}\\n      >\\n        <IcButton\\n          data-test-publish-to-web-tour-button\\n          @type=\\\"primary\\\"\\n          @icon=\\\"cursor\\\"\\n          @label=\\\"Take the tour\\\"\\n          @onClick={{this.transitionToTour}}\\n        />\\n      </Pulse::HelpContent::Tour>\\n    </content.left>\\n    <content.right>\\n      <img\\n        class=\\\"onboarding__home__steps__preview-image\\\"\\n        src=\\\"/assets/images/onboarding/home/steps/publish-article@2x.png\\\"\\n        width=\\\"180\\\"\\n      />\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"<Onboarding::Home::StepContent @step={{@step}} as |content|>\\n  <content.banner />\\n  <content.container>\\n    <content.left>\\n      <p>\\n        You can send articles without publishing them to the web. But to give your customers the option of quick self-service, you’ll need to publish your articles by turning on your Help Center.\\n      </p>\\n      <Pulse::HelpContent::Tour\\n        @tourId={{@step.stepData.productTourId}}\\n        @handleTourExternally={{true}}\\n      >\\n        <IcButton\\n          data-test-publish-to-web-tour-button\\n          @type=\\\"primary\\\"\\n          @icon=\\\"cursor\\\"\\n          @label=\\\"Take the tour\\\"\\n          @onClick={{this.transitionToTour}}\\n        />\\n      </Pulse::HelpContent::Tour>\\n    </content.left>\\n    <content.right>\\n      <img\\n        class=\\\"onboarding__home__steps__preview-image\\\"\\n        src=\\\"/assets/images/onboarding/home/steps/publish-article@2x.png\\\"\\n        width=\\\"180\\\"\\n      />\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/publish-to-web.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/publish-to-web.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { action } from '@ember/object';\n\nexport default Component.extend({\n  router: service(),\n  appService: service(),\n  onboardingHomeExternalStepService: service(),\n\n  step: null,\n\n  app: readOnly('appService.app'),\n\n  trackClickedAnalyticsEvent() {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.step.analyticsMetadata,\n      action: 'clicked',\n      object: 'go_to_articles',\n      section: 'inline_step',\n    });\n  },\n\n  async _ensureArticlesExist() {\n    await this.onboardingHomeExternalStepService.generateExampleDataForStep(this.step.identifier);\n  },\n\n  transitionToTour: action(async function() {\n    this.trackClickedAnalyticsEvent();\n\n    await this._ensureArticlesExist();\n\n    this.router.transitionTo('apps.app.articles.articles', {\n      queryParams: {\n        external_step: this.step.identifier,\n      },\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Onboarding::Home::StepContent as |content|>\\n  <content.container>\\n    <content.left>\\n      <div class=\\\"mb-8\\\">\\n        Operator can automatically qualify leads 24/7 so your sales team has the right information at hand.\\n      </div>\\n      <Pulse::HelpContent::Tour\\n        @tourId={{@step.stepData.productTourId}}\\n        @handleTourExternally={{true}}\\n      >\\n        <IcButton\\n          data-test-qualify-lead-button={{true}}\\n          @type=\\\"primary\\\"\\n          @icon=\\\"cursor\\\"\\n          @label=\\\"Explore Lead Qualification\\\"\\n          @onClick={{this.setupLeadQualification}}\\n        />\\n      </Pulse::HelpContent::Tour>\\n    </content.left>\\n    <content.right>\\n      <div class=\\\"onboarding__home__steps__customize-messenger-preview-wrapper\\\">\\n        <TaskBots::MessengerPreview\\n          @settings={{this.settings}}\\n          @openSectionName=\\\"qualify-leads\\\"\\n          @previewableTasks={{array \\\"qualify-leads\\\"}}\\n          @configuration={{this.messengerSettings.previewConfiguration}}\\n        />\\n      </div>\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"<Onboarding::Home::StepContent as |content|>\\n  <content.container>\\n    <content.left>\\n      <div class=\\\"mb-8\\\">\\n        Operator can automatically qualify leads 24/7 so your sales team has the right information at hand.\\n      </div>\\n      <Pulse::HelpContent::Tour\\n        @tourId={{@step.stepData.productTourId}}\\n        @handleTourExternally={{true}}\\n      >\\n        <IcButton\\n          data-test-qualify-lead-button={{true}}\\n          @type=\\\"primary\\\"\\n          @icon=\\\"cursor\\\"\\n          @label=\\\"Explore Lead Qualification\\\"\\n          @onClick={{this.setupLeadQualification}}\\n        />\\n      </Pulse::HelpContent::Tour>\\n    </content.left>\\n    <content.right>\\n      <div class=\\\"onboarding__home__steps__customize-messenger-preview-wrapper\\\">\\n        <TaskBots::MessengerPreview\\n          @settings={{this.settings}}\\n          @openSectionName=\\\"qualify-leads\\\"\\n          @previewableTasks={{array \\\"qualify-leads\\\"}}\\n          @configuration={{this.messengerSettings.previewConfiguration}}\\n        />\\n      </div>\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/qualify-leads.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/qualify-leads.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport EmberObject, { computed, action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  onboardingHomeExternalStepService: service(),\n  router: service(),\n  messengerSettings: readOnly('step.modelData.messengerSettings'),\n  qualifyLeads: readOnly('step.modelData.qualifyLeads'),\n  settings: computed('qualifyLeads', function() {\n    return EmberObject.create({ qualifyLeads: this.qualifyLeads });\n  }),\n  setupLeadQualification: action(function() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'tour_started',\n      object: 'qualify_leads',\n      ...this.step.analyticsMetadata,\n    });\n    this.onboardingHomeExternalStepService.start('qualify_leads');\n    this.router.transitionTo('apps.app.operator.task-bots.leads', {\n      queryParams: { section: 'qualify-leads' },\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Onboarding::Home::StepContent as |content|>\\n  <content.container>\\n    <content.left>\\n      <p class=\\\"mb-8\\\" data-test-reply-directly-via-slack-component>\\n        Don't miss one single lead. Connect to Slack - reply to leads before they leave your site, and\\n        convert them in real time\\n      </p>\\n      <div>\\n        <Appstore::AppCard\\n          @appPackage={{slackAppPackage}}\\n          @onClick={{set slackModalOpen}}\\n        />\\n      </div>\\n      {{#if step.available}}\\n        <a\\n          data-test-mark-done-link\\n          class=\\\"u__display-block t__em-link mb-10\\\"\\n          {{on \\\"click\\\" this.markAsCompleted}}\\n        >\\n          Mark as done — I don’t use Slack\\n        </a>\\n      {{/if}}\\n    </content.left>\\n    <content.right>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"6to0wc9z5v\\\"\\n        @onVideoClose={{this.onVideoClose}}\\n      >\\n        <img\\n          class=\\\"onboarding__home__steps__video-opener-image\\\"\\n          src=\\\"/assets/images/onboarding/home/steps/reply-directly-via-slack@1x.png\\\"\\n          srcset=\\\"/assets/images/onboarding/home/steps/reply-directly-via-slack@2x.png 2x\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.right>\\n  </content.container>\\n  {{#if step.available}}\\n    <Onboarding::Home::InviteCardComponent\\n      @step={{step}}\\n      @baseAnalyticsMetadata={{step.analyticsMetadata}}\\n    />\\n  {{/if}}\\n</Onboarding::Home::StepContent>\\n{{#if slackModalOpen}}\\n  <Appstore::AppPackage::Modal\\n    data-test-app-package-modal-slack\\n    @appPackage={{slackAppPackage}}\\n    @hideAdditionalAppPackageContent={{true}}\\n    @installSource=\\\"onboarding-flow\\\"\\n    @closeModal={{this.closeModal}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Onboarding::Home::StepContent as |content|>\\n  <content.container>\\n    <content.left>\\n      <p class=\\\"mb-8\\\" data-test-reply-directly-via-slack-component>\\n        Don't miss one single lead. Connect to Slack - reply to leads before they leave your site, and\\n        convert them in real time\\n      </p>\\n      <div>\\n        <Appstore::AppCard\\n          @appPackage={{slackAppPackage}}\\n          @onClick={{set slackModalOpen}}\\n        />\\n      </div>\\n      {{#if step.available}}\\n        <a\\n          data-test-mark-done-link\\n          class=\\\"u__display-block t__em-link mb-10\\\"\\n          {{on \\\"click\\\" this.markAsCompleted}}\\n        >\\n          Mark as done — I don’t use Slack\\n        </a>\\n      {{/if}}\\n    </content.left>\\n    <content.right>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"6to0wc9z5v\\\"\\n        @onVideoClose={{this.onVideoClose}}\\n      >\\n        <img\\n          class=\\\"onboarding__home__steps__video-opener-image\\\"\\n          src=\\\"/assets/images/onboarding/home/steps/reply-directly-via-slack@1x.png\\\"\\n          srcset=\\\"/assets/images/onboarding/home/steps/reply-directly-via-slack@2x.png 2x\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.right>\\n  </content.container>\\n  {{#if step.available}}\\n    <Onboarding::Home::InviteCardComponent\\n      @step={{step}}\\n      @baseAnalyticsMetadata={{step.analyticsMetadata}}\\n    />\\n  {{/if}}\\n</Onboarding::Home::StepContent>\\n{{#if slackModalOpen}}\\n  <Appstore::AppPackage::Modal\\n    data-test-app-package-modal-slack\\n    @appPackage={{slackAppPackage}}\\n    @hideAdditionalAppPackageContent={{true}}\\n    @installSource=\\\"onboarding-flow\\\"\\n    @closeModal={{this.closeModal}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/reply-directly-via-slack.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/reply-directly-via-slack.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  slackAppPackage: readOnly('step.modelData.slackAppPackage'),\n  slackModalOpen: false,\n\n  markAsCompleted: action(function() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'step_skipped',\n      object: 'reply_directly_via_slack',\n      ...this.step.analyticsMetadata,\n    });\n    this.completionCallback();\n  }),\n  closeModal: action(function() {\n    this.set('slackModalOpen', false);\n\n    if (this.get('slackAppPackage.isInstalled')) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'app_package_installed',\n        object: 'reply_directly_via_slack',\n        ...this.step.analyticsMetadata,\n      });\n      this.completionCallback();\n    }\n  }),\n  onVideoClose: action(function() {\n    if (!this.step.completed) {\n      this.intercomEventService.trackAnalyticsEvent({\n        ...this.step.analyticsMetadata,\n        action: 'viewed',\n        object: 'see_what_data_attributes_can_do',\n        section: 'index',\n      });\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Onboarding::Home::Steps::InboxExternalStep\\n  @step={{@step}}\\n  @imgSrc=\\\"/assets/images/onboarding/home/steps/reply-in-inbox@1x.jpg\\\"\\n  @imgSrcSet=\\\"/assets/images/onboarding/home/steps/reply-in-inbox@2x.jpg 2x\\\"\\n  @completionCallback={{@completionCallback}}\\n  @openStepCallback={{@openStepCallback}}\\n  @generateExampleData={{false}}\\n  @featureKey=\\\"inbox\\\"\\n>\\n  <p>\\n    You’ve seen how customers can start a conversation. Now let’s learn how your team can respond from your inbox.\\n  </p>\\n  <p>\\n    Your Intercom inbox is like a communication hub for your business. You can read, manage, assign, and reply to customer conversations  – all from one place!\\n  </p>\\n</Onboarding::Home::Steps::InboxExternalStep>\\n\", {\"contents\":\"<Onboarding::Home::Steps::InboxExternalStep\\n  @step={{@step}}\\n  @imgSrc=\\\"/assets/images/onboarding/home/steps/reply-in-inbox@1x.jpg\\\"\\n  @imgSrcSet=\\\"/assets/images/onboarding/home/steps/reply-in-inbox@2x.jpg 2x\\\"\\n  @completionCallback={{@completionCallback}}\\n  @openStepCallback={{@openStepCallback}}\\n  @generateExampleData={{false}}\\n  @featureKey=\\\"inbox\\\"\\n>\\n  <p>\\n    You’ve seen how customers can start a conversation. Now let’s learn how your team can respond from your inbox.\\n  </p>\\n  <p>\\n    Your Intercom inbox is like a communication hub for your business. You can read, manage, assign, and reply to customer conversations  – all from one place!\\n  </p>\\n</Onboarding::Home::Steps::InboxExternalStep>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/reply-in-inbox-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/reply-in-inbox-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Onboarding::Home::Steps::InboxExternalStep\\n  @step={{@step}}\\n  @imgSrc=\\\"/assets/images/onboarding/home/steps/resolve-a-conversation@2x.png\\\"\\n  @completionCallback={{@completionCallback}}\\n  @openStepCallback={{@openStepCallback}}\\n  @generateExampleData={{true}}\\n  @stepStateBannerBodyText=\\\"You’ve closed your first conversation. Talk to your leads and customers in \\\"\\n  @stepStateBannerLinkToText=\\\"Inbox\\\"\\n  @stepStateBannerLinkToRoute=\\\"apps.app.inbox\\\"\\n  @featureKey=\\\"inbox\\\"\\n>\\n  <p>\\n    Now that you have conversations arriving in your Inbox, let’s learn more about how to have rich and personalized interactions with your customers.\\n  </p>\\n  <p>\\n    Take a quick tour of the most important features of your Intercom Inbox and close the conversation when you’re done.\\n  </p>\\n</Onboarding::Home::Steps::InboxExternalStep>\\n\", {\"contents\":\"<Onboarding::Home::Steps::InboxExternalStep\\n  @step={{@step}}\\n  @imgSrc=\\\"/assets/images/onboarding/home/steps/resolve-a-conversation@2x.png\\\"\\n  @completionCallback={{@completionCallback}}\\n  @openStepCallback={{@openStepCallback}}\\n  @generateExampleData={{true}}\\n  @stepStateBannerBodyText=\\\"You’ve closed your first conversation. Talk to your leads and customers in \\\"\\n  @stepStateBannerLinkToText=\\\"Inbox\\\"\\n  @stepStateBannerLinkToRoute=\\\"apps.app.inbox\\\"\\n  @featureKey=\\\"inbox\\\"\\n>\\n  <p>\\n    Now that you have conversations arriving in your Inbox, let’s learn more about how to have rich and personalized interactions with your customers.\\n  </p>\\n  <p>\\n    Take a quick tour of the most important features of your Intercom Inbox and close the conversation when you’re done.\\n  </p>\\n</Onboarding::Home::Steps::InboxExternalStep>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/resolve-a-conversation.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/resolve-a-conversation.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Onboarding::Home::Steps::InboxExternalStep\\n  @step={{@step}}\\n  @imgSrc=\\\"/assets/images/onboarding/home/steps/saved-replies@1x.jpg\\\"\\n  @imgSrcSet=\\\"/assets/images/onboarding/home/steps/saved-replies@2x.jpg 2x\\\"\\n  @completionCallback={{@completionCallback}}\\n  @openStepCallback={{@openStepCallback}}\\n  @generateExampleData={{true}}\\n  @collapsedSubmenuOnTour={{false}}\\n  @featureKey=\\\"saved_content\\\"\\n>\\n  <p>\\n    In this step, you'll learn how to support your customers faster and better in Intercom’s shared Inbox.\\n  </p>\\n\\n  <p>\\n    First, let’s see how your team can save time with saved replies.\\n  </p>\\n</Onboarding::Home::Steps::InboxExternalStep>\\n\", {\"contents\":\"<Onboarding::Home::Steps::InboxExternalStep\\n  @step={{@step}}\\n  @imgSrc=\\\"/assets/images/onboarding/home/steps/saved-replies@1x.jpg\\\"\\n  @imgSrcSet=\\\"/assets/images/onboarding/home/steps/saved-replies@2x.jpg 2x\\\"\\n  @completionCallback={{@completionCallback}}\\n  @openStepCallback={{@openStepCallback}}\\n  @generateExampleData={{true}}\\n  @collapsedSubmenuOnTour={{false}}\\n  @featureKey=\\\"saved_content\\\"\\n>\\n  <p>\\n    In this step, you'll learn how to support your customers faster and better in Intercom’s shared Inbox.\\n  </p>\\n\\n  <p>\\n    First, let’s see how your team can save time with saved replies.\\n  </p>\\n</Onboarding::Home::Steps::InboxExternalStep>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/respond-faster.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/respond-faster.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Onboarding::Home::StepContent as |content|>\\n  <content.banner\\n    @step={{step}}\\n    @ctaBodyText=\\\"Well done! You can make changes to task bots in\\\"\\n    @linkToText=\\\"Operator settings\\\"\\n    @linkToRoute=\\\"apps.app.operator.task-bots.leads\\\"\\n    @linkToQueryParams={{hash section=\\\"conversation-routing\\\"}}\\n  />\\n  <content.container>\\n    <content.left>\\n      {{#if conversationRoutingDisabled}}\\n        <IcBanner @type=\\\"help\\\" data-test-task-bot-off-banner={{true}}>\\n          Routing support conversations is turned off.\\n          To turn it back on, visit\\n          <LinkTo\\n            @route=\\\"apps.app.operator.task-bots.leads\\\"\\n            @query={{hash section=\\\"conversation-routing\\\"}}\\n            data-test-operator-settings-link=\\\"conversation-routing\\\"\\n          >Operator settings</LinkTo>.\\n        </IcBanner>\\n      {{/if}}\\n      <TaskBots::ConversationRouting::Settings\\n        @disabled={{conversationRoutingDisabled}}\\n        @conversationRouting={{conversationRouting}}\\n      />\\n      <div class=\\\"onboarding__home__steps__paywall-container\\\">\\n        <Paywall\\n          @featureKey=\\\"conversation_routing\\\" as |paywall|\\n        >\\n          <paywall.Block>\\n            <Tooltips::RestrictedAccess\\n              @isDisabled={{adminCanAccessProductSettings}}\\n              @permission=\\\"can_create_and_edit_bots\\\"\\n              @intent=\\\"edit Operator settings\\\"\\n              @object=\\\"operator_settings\\\"\\n            >\\n              <IcButton\\n                @label={{if paywall.isActive \\\"Turn on\\\" \\\"Continue\\\"}}\\n                @disabled={{or paywall.isActive (not isSaveEnabled)}}\\n                @processingLabel=\\\"Saving…\\\"\\n                @type=\\\"primary\\\"\\n                @onClick={{perform completeStep}}\\n                data-test-route-support-conversations-complete-step={{true}}\\n              />\\n            </Tooltips::RestrictedAccess>\\n          </paywall.Block>\\n        </Paywall>\\n      </div>\\n      {{#if step.available}}\\n        <a\\n          data-test-mark-done-link\\n          class=\\\"u__display-block t__em-link mt-8\\\"\\n          onclick={{action \\\"markAsCompleted\\\"}}\\n        >\\n          Skip this step and mark it as done\\n        </a>\\n      {{/if}}\\n      <div class=\\\"onboarding__home__steps__redirect-arrow\\\">\\n        {{inline-svg \\\"onboarding/home/redirect-arrow\\\"}}\\n      </div>\\n    </content.left>\\n    <content.right>\\n      <div class=\\\"onboarding__home__steps__customize-messenger-preview-wrapper\\\">\\n        <TaskBots::MessengerPreview\\n          @settings={{settings}}\\n          @openSectionName=\\\"conversation-routing\\\"\\n          @previewableTasks={{array \\\"conversation-routing\\\"}}\\n          @configuration={{messengerSettings.previewConfiguration}}\\n        />\\n      </div>\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Onboarding::Home::StepContent as |content|>\\n  <content.banner\\n    @step={{step}}\\n    @ctaBodyText=\\\"Well done! You can make changes to task bots in\\\"\\n    @linkToText=\\\"Operator settings\\\"\\n    @linkToRoute=\\\"apps.app.operator.task-bots.leads\\\"\\n    @linkToQueryParams={{hash section=\\\"conversation-routing\\\"}}\\n  />\\n  <content.container>\\n    <content.left>\\n      {{#if conversationRoutingDisabled}}\\n        <IcBanner @type=\\\"help\\\" data-test-task-bot-off-banner={{true}}>\\n          Routing support conversations is turned off.\\n          To turn it back on, visit\\n          <LinkTo\\n            @route=\\\"apps.app.operator.task-bots.leads\\\"\\n            @query={{hash section=\\\"conversation-routing\\\"}}\\n            data-test-operator-settings-link=\\\"conversation-routing\\\"\\n          >Operator settings</LinkTo>.\\n        </IcBanner>\\n      {{/if}}\\n      <TaskBots::ConversationRouting::Settings\\n        @disabled={{conversationRoutingDisabled}}\\n        @conversationRouting={{conversationRouting}}\\n      />\\n      <div class=\\\"onboarding__home__steps__paywall-container\\\">\\n        <Paywall\\n          @featureKey=\\\"conversation_routing\\\" as |paywall|\\n        >\\n          <paywall.Block>\\n            <Tooltips::RestrictedAccess\\n              @isDisabled={{adminCanAccessProductSettings}}\\n              @permission=\\\"can_create_and_edit_bots\\\"\\n              @intent=\\\"edit Operator settings\\\"\\n              @object=\\\"operator_settings\\\"\\n            >\\n              <IcButton\\n                @label={{if paywall.isActive \\\"Turn on\\\" \\\"Continue\\\"}}\\n                @disabled={{or paywall.isActive (not isSaveEnabled)}}\\n                @processingLabel=\\\"Saving…\\\"\\n                @type=\\\"primary\\\"\\n                @onClick={{perform completeStep}}\\n                data-test-route-support-conversations-complete-step={{true}}\\n              />\\n            </Tooltips::RestrictedAccess>\\n          </paywall.Block>\\n        </Paywall>\\n      </div>\\n      {{#if step.available}}\\n        <a\\n          data-test-mark-done-link\\n          class=\\\"u__display-block t__em-link mt-8\\\"\\n          onclick={{action \\\"markAsCompleted\\\"}}\\n        >\\n          Skip this step and mark it as done\\n        </a>\\n      {{/if}}\\n      <div class=\\\"onboarding__home__steps__redirect-arrow\\\">\\n        {{inline-svg \\\"onboarding/home/redirect-arrow\\\"}}\\n      </div>\\n    </content.left>\\n    <content.right>\\n      <div class=\\\"onboarding__home__steps__customize-messenger-preview-wrapper\\\">\\n        <TaskBots::MessengerPreview\\n          @settings={{settings}}\\n          @openSectionName=\\\"conversation-routing\\\"\\n          @previewableTasks={{array \\\"conversation-routing\\\"}}\\n          @configuration={{messengerSettings.previewConfiguration}}\\n        />\\n      </div>\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/route-support-conversations.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/route-support-conversations.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport EmberObject, { computed } from '@ember/object';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  appService: service(),\n  intercomEventService: service(),\n  completionCallback: null,\n  conversationRouting: readOnly('step.modelData.conversationRouting'),\n  conversationRoutingDisabled: computed(\n    'conversationRouting.enabled',\n    'step.available',\n    function() {\n      return !this.conversationRouting.enabled && !this.step.available;\n    },\n  ),\n  messengerSettings: readOnly('step.modelData.messengerSettings'),\n  adminCanAccessProductSettings: readOnly('appService.app.currentAdmin.canAccessProductSettings'),\n\n  settings: computed('conversationRouting', function() {\n    return EmberObject.create({ conversationRouting: this.conversationRouting });\n  }),\n\n  isSaveEnabled: computed(\n    'conversationRouting.isValid',\n    'adminCanAccessProductSettings',\n    'conversationRoutingDisabled',\n    function() {\n      if (!this.adminCanAccessProductSettings) {\n        return false;\n      }\n      if (this.conversationRoutingDisabled) {\n        return false;\n      }\n      return this.conversationRouting.isValid;\n    },\n  ),\n\n  completeStep: task(function*() {\n    try {\n      let settingsHaveChanged = this.get('conversationRouting.hasDirtyAttributes');\n      this.set('conversationRouting.enabled', true);\n      yield this.conversationRouting.save();\n      if (settingsHaveChanged) {\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'changed',\n          object: 'route_support_conversations',\n          ...this.step.analyticsMetadata,\n        });\n      }\n    } catch (error) {\n      this.notificationsService.notifyResponseError(error, {\n        default: 'Your Operator settings have not been updated, Please try later',\n      });\n      return;\n    }\n\n    if (this.step.completed) {\n      return this.completionCallback({\n        stepCompletedText: 'Your Operator settings have been saved!',\n      });\n    }\n    yield this.completionCallback();\n  }),\n  actions: {\n    markAsCompleted() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'step_skipped',\n        object: 'route_support_conversations',\n        ...this.step.analyticsMetadata,\n      });\n      this.completionCallback();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}} as |transitionToRoute|>\\n    This step is done, but you can always\\n    <Pulse::HelpContent::Video\\n      @wistiaId=\\\"9ym1qu3xlr\\\"\\n      @title=\\\"watch the video\\\"\\n      @linkStyling=\\\"inline\\\"\\n      @onVideoClose={{fn @onVideoClose \\\"apps_video\\\" @accordionAPI}}\\n      class=\\\"font-medium\\\"\\n    /> again.\\n  </content.banner>\\n  <content.container>\\n    <content.left>\\n      <p>Use apps to connect Intercom to your existing tools like Slack, Stripe, Calendly, Google Calendar, HubSpot, Pipedrive and more.</p>\\n      <p>First, watch a quick video to learn how to use apps in places like conversations and ongoing messages to create seamless\\n        experiences for you and your customers.</p>\\n      <div data-ghost-inspector=\\\"onboarding__home__steps__watch-welcome-video-button\\\">\\n        <Pulse::HelpContent::Video\\n          @wistiaId=\\\"9ym1qu3xlr\\\"\\n          @onVideoClose={{fn @onVideoClose \\\"apps_video\\\" @accordionAPI}}\\n        >\\n          <IcButton data-test-watch-welcome-video-button @type='primary' @label='Watch video' />\\n        </Pulse::HelpContent::Video>\\n      </div>\\n    </content.left>\\n    <content.right>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"9ym1qu3xlr\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"apps_video\\\" @accordionAPI}}\\n      >\\n        <Onboarding::Home::VideoThumbnail\\n          @src=\\\"/assets/images/onboarding/home/steps/watch-apps-video@1x.jpg\\\"\\n          @srcset=\\\"/assets/images/onboarding/home/steps/watch-apps-video@2x.jpg 2x\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}} as |transitionToRoute|>\\n    This step is done, but you can always\\n    <Pulse::HelpContent::Video\\n      @wistiaId=\\\"9ym1qu3xlr\\\"\\n      @title=\\\"watch the video\\\"\\n      @linkStyling=\\\"inline\\\"\\n      @onVideoClose={{fn @onVideoClose \\\"apps_video\\\" @accordionAPI}}\\n      class=\\\"font-medium\\\"\\n    /> again.\\n  </content.banner>\\n  <content.container>\\n    <content.left>\\n      <p>Use apps to connect Intercom to your existing tools like Slack, Stripe, Calendly, Google Calendar, HubSpot, Pipedrive and more.</p>\\n      <p>First, watch a quick video to learn how to use apps in places like conversations and ongoing messages to create seamless\\n        experiences for you and your customers.</p>\\n      <div data-ghost-inspector=\\\"onboarding__home__steps__watch-welcome-video-button\\\">\\n        <Pulse::HelpContent::Video\\n          @wistiaId=\\\"9ym1qu3xlr\\\"\\n          @onVideoClose={{fn @onVideoClose \\\"apps_video\\\" @accordionAPI}}\\n        >\\n          <IcButton data-test-watch-welcome-video-button @type='primary' @label='Watch video' />\\n        </Pulse::HelpContent::Video>\\n      </div>\\n    </content.left>\\n    <content.right>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"9ym1qu3xlr\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"apps_video\\\" @accordionAPI}}\\n      >\\n        <Onboarding::Home::VideoThumbnail\\n          @src=\\\"/assets/images/onboarding/home/steps/watch-apps-video@1x.jpg\\\"\\n          @srcset=\\\"/assets/images/onboarding/home/steps/watch-apps-video@2x.jpg 2x\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/see-how-apps-work-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/see-how-apps-work-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}}>\\n    This step is done, but you can always\\n    <Pulse::HelpContent::Video\\n      @wistiaId=\\\"rfyi95lmwk\\\"\\n      @title=\\\"watch the video\\\"\\n      @linkStyling=\\\"inline\\\"\\n      @onVideoClose={{fn @onVideoClose \\\"see_what_data_attributes_can_do\\\" @accordionAPI}}\\n      class=\\\"font-medium\\\"\\n    /> again.\\n  </content.banner>\\n  <content.container>\\n    <content.left>\\n      <p>Craft targeted messages for different customer segments or see customer information as you chat.</p>\\n      <p>Data attributes let you use what you know about your customers across all of Intercom. Watch this quick video to get oriented with standard and custom data.</p>\\n      <div data-ghost-inspector=\\\"onboarding__home__steps__see-what-data-attributes-can-do-video-button\\\">\\n        <Pulse::HelpContent::Video\\n          @wistiaId=\\\"rfyi95lmwk\\\"\\n          @onVideoClose={{fn @onVideoClose \\\"see_what_data_attributes_can_do\\\" @accordionAPI}}\\n        >\\n          <IcButton data-test-watch-data-attributes-video-button @type='primary' @label='Watch video' />\\n        </Pulse::HelpContent::Video>\\n      </div>\\n    </content.left>\\n    <content.right>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"rfyi95lmwk\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"see_what_data_attributes_can_do\\\" @accordionAPI}}\\n      >\\n        <Onboarding::Home::VideoThumbnail\\n          @src=\\\"/assets/images/onboarding/home/steps/see-what-attributes-can-do@1x.jpg\\\"\\n          @srcset=\\\"/assets/images/onboarding/home/steps/see-what-attributes-can-do@2x.jpg 2x\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}}>\\n    This step is done, but you can always\\n    <Pulse::HelpContent::Video\\n      @wistiaId=\\\"rfyi95lmwk\\\"\\n      @title=\\\"watch the video\\\"\\n      @linkStyling=\\\"inline\\\"\\n      @onVideoClose={{fn @onVideoClose \\\"see_what_data_attributes_can_do\\\" @accordionAPI}}\\n      class=\\\"font-medium\\\"\\n    /> again.\\n  </content.banner>\\n  <content.container>\\n    <content.left>\\n      <p>Craft targeted messages for different customer segments or see customer information as you chat.</p>\\n      <p>Data attributes let you use what you know about your customers across all of Intercom. Watch this quick video to get oriented with standard and custom data.</p>\\n      <div data-ghost-inspector=\\\"onboarding__home__steps__see-what-data-attributes-can-do-video-button\\\">\\n        <Pulse::HelpContent::Video\\n          @wistiaId=\\\"rfyi95lmwk\\\"\\n          @onVideoClose={{fn @onVideoClose \\\"see_what_data_attributes_can_do\\\" @accordionAPI}}\\n        >\\n          <IcButton data-test-watch-data-attributes-video-button @type='primary' @label='Watch video' />\\n        </Pulse::HelpContent::Video>\\n      </div>\\n    </content.left>\\n    <content.right>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"rfyi95lmwk\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"see_what_data_attributes_can_do\\\" @accordionAPI}}\\n      >\\n        <Onboarding::Home::VideoThumbnail\\n          @src=\\\"/assets/images/onboarding/home/steps/see-what-attributes-can-do@1x.jpg\\\"\\n          @srcset=\\\"/assets/images/onboarding/home/steps/see-what-attributes-can-do@2x.jpg 2x\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/see-what-data-attributes-can-do.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/see-what-data-attributes-can-do.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"onboarding__home__steps__accordion-wrapper\\\"\\n  data-test-send-test-message-content\\n>\\n  <Onboarding::Home::StepStateBannerComponent @step={{step}} @ctaBodyText='This step is done, but you can always start a new conversation' />\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"layout__box o__flexes-to-1 u__mt__10\\\">\\n      <div\\n        class=\\\"layout__box onboarding__home__steps__left-content o__flexes-to-1\\\"\\n      >\\n        <p class=\\\"t__body\\\">\\n          {{#if (has-feature \\\"hasOsa2OnboardingHome\\\")}}\\n            Your Intercom Messenger makes it easy for your business to chat with your customers so you can build better relationships with them across their entire journey.\\n          {{else}}\\n            Your Intercom Messenger makes it easy for your business to chat with your customers.\\n          {{/if}}\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n        <p class=\\\"t__body\\\">\\n          In this step, you’ll put yourself in your customers’ shoes and see what it’s like to start a conversation through the Messenger.\\n        </p>\\n        <div class=\\\"h-10\\\"></div>\\n        <Paywall\\n          @featureKey=\\\"inbox\\\"\\n          @analyticsMetadata={{step.analyticsMetadata}}\\n          @forceInactive={{isOnFreeWithInboxAccess}} as |paywall|\\n        >\\n          <paywall.Block>\\n            <Onboarding::Home::HostedMessengerOpener\\n              @onHostedMessengerClose={{perform checkCompletion}}\\n              @disabled={{paywall.isActive}}\\n              @onboardingHome={{true}}\\n            >\\n              {{ic-interface-icon \\\"new-window\\\"}} Continue\\n            </Onboarding::Home::HostedMessengerOpener>\\n          </paywall.Block>\\n        </Paywall>\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 t__right\\\">\\n      <img\\n        class=\\\"onboarding__home__steps__preview-image\\\"\\n        src=\\\"/assets/images/onboarding/home/steps/send-test-message@1x.jpg\\\"\\n        srcset=\\\"/assets/images/onboarding/home/steps/send-test-message@2x.jpg 2x\\\"\\n      />\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"onboarding__home__steps__accordion-wrapper\\\"\\n  data-test-send-test-message-content\\n>\\n  <Onboarding::Home::StepStateBannerComponent @step={{step}} @ctaBodyText='This step is done, but you can always start a new conversation' />\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"layout__box o__flexes-to-1 u__mt__10\\\">\\n      <div\\n        class=\\\"layout__box onboarding__home__steps__left-content o__flexes-to-1\\\"\\n      >\\n        <p class=\\\"t__body\\\">\\n          {{#if (has-feature \\\"hasOsa2OnboardingHome\\\")}}\\n            Your Intercom Messenger makes it easy for your business to chat with your customers so you can build better relationships with them across their entire journey.\\n          {{else}}\\n            Your Intercom Messenger makes it easy for your business to chat with your customers.\\n          {{/if}}\\n        </p>\\n        <div class=\\\"h-5\\\"></div>\\n        <p class=\\\"t__body\\\">\\n          In this step, you’ll put yourself in your customers’ shoes and see what it’s like to start a conversation through the Messenger.\\n        </p>\\n        <div class=\\\"h-10\\\"></div>\\n        <Paywall\\n          @featureKey=\\\"inbox\\\"\\n          @analyticsMetadata={{step.analyticsMetadata}}\\n          @forceInactive={{isOnFreeWithInboxAccess}} as |paywall|\\n        >\\n          <paywall.Block>\\n            <Onboarding::Home::HostedMessengerOpener\\n              @onHostedMessengerClose={{perform checkCompletion}}\\n              @disabled={{paywall.isActive}}\\n              @onboardingHome={{true}}\\n            >\\n              {{ic-interface-icon \\\"new-window\\\"}} Continue\\n            </Onboarding::Home::HostedMessengerOpener>\\n          </paywall.Block>\\n        </Paywall>\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 t__right\\\">\\n      <img\\n        class=\\\"onboarding__home__steps__preview-image\\\"\\n        src=\\\"/assets/images/onboarding/home/steps/send-test-message@1x.jpg\\\"\\n        srcset=\\\"/assets/images/onboarding/home/steps/send-test-message@2x.jpg 2x\\\"\\n      />\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/send-test-message-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/send-test-message-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { addEventListener, runDisposables } from 'ember-lifeline';\nimport { inject as service } from '@ember/service';\nimport { INBOX_ESSENTIAL_ID } from 'embercom/lib/billing';\nimport { readOnly, and } from '@ember/object/computed';\n\nexport default Component.extend({\n  completionCallback: null,\n  hostedMessengerConversationStarted: false,\n  hostedMessengerConversationService: service(),\n  step: null,\n  inboxEssentialPlanId: INBOX_ESSENTIAL_ID,\n  appService: service(),\n  app: readOnly('appService.app'),\n  isOnFreeWithInboxAccess: and('app.isOnFree', 'app.currentAdminHasInboxAccess'),\n\n  checkCompletion: task(function*() {\n    if (this.hostedMessengerConversationStarted) {\n      yield this.completionCallback();\n    }\n  }),\n\n  init() {\n    this._super(...arguments);\n    addEventListener(this, window, 'message', event => {\n      if (event.data.key === 'hosted-messenger-conversation-started') {\n        this.set('hostedMessengerConversationStarted', true);\n        this.set(\n          'hostedMessengerConversationService.latestConversationId',\n          event.data.conversationId,\n        );\n      }\n    });\n  },\n\n  destroy() {\n    runDisposables(this);\n    this._super(...arguments);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"onboarding__home__steps__accordion-wrapper mt-4\\\">\\n  <Onboarding::Home::StepStateBannerComponent\\n    @step={{step}}\\n    @ctaBodyText=\\\"Nice job! You can always adjust your availability in\\\"\\n    @linkToText=\\\"Messenger settings\\\"\\n    @linkToRoute=\\\"apps.app.messenger\\\"\\n  />\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"layout__box u__padr__30 o__flexes-to-1\\\">\\n      <div class=\\\"layout__box onboarding__home__steps__left-content\\\">\\n        <IcContent>\\n          <p>\\n            Your Messenger makes it easy for customers to reach out to you at any time.\\n          </p>\\n          <p>\\n            Give your customers a good experience around the clock by letting them know when your team is working and when to expect a reply.\\n          </p>\\n        </IcContent>\\n        <MessengerSettings::AvailabilitySettings\\n          @availabilitySettings={{messengerSettings.availability}}\\n          @classNames=\\\"u__padl__0 u__mt__30\\\"\\n          @hideSaveButtonAndSimplifyContent={{true}}\\n        />\\n        <div class=\\\"h-10\\\"></div>\\n        <Tooltips::RestrictedAccess\\n          @isDisabled={{adminCanAccessProductSettings}}\\n          @permission=\\\"can_create_and_edit_bots\\\"\\n          @intent=\\\"edit messenger settings\\\"\\n          @object=\\\"customize_messenger\\\"\\n          class=\\\"onboarding__home__steps__permissions-tooltip-opener\\\"\\n        >\\n          <IcButton\\n            @label=\\\"Continue\\\"\\n            @disabled={{not isSaveEnabled}}\\n            @processingLabel=\\\"Saving…\\\"\\n            @type=\\\"primary\\\"\\n            @onClick={{perform completeStep}}\\n            data-test-set-expectations-complete-step={{true}}\\n          />\\n        </Tooltips::RestrictedAccess>\\n      </div>\\n    </div>\\n    <div\\n      class=\\\"layout__box u__mb__20 onboarding__home__steps__customize-messenger-preview-wrapper\\\"\\n    >\\n      <MessengerPreview::TranslationLoaderWrapper\\n        @locale={{messengerSettings.previewConfiguration.locale}}\\n      >\\n        <MessengerPreview::Home\\n          @configuration={{messengerSettings.previewConfiguration}}\\n          @hideUserTypeButtonGroup={{true}}\\n          @hideBorders={{true}}\\n        />\\n      </MessengerPreview::TranslationLoaderWrapper>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"onboarding__home__steps__accordion-wrapper mt-4\\\">\\n  <Onboarding::Home::StepStateBannerComponent\\n    @step={{step}}\\n    @ctaBodyText=\\\"Nice job! You can always adjust your availability in\\\"\\n    @linkToText=\\\"Messenger settings\\\"\\n    @linkToRoute=\\\"apps.app.messenger\\\"\\n  />\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"layout__box u__padr__30 o__flexes-to-1\\\">\\n      <div class=\\\"layout__box onboarding__home__steps__left-content\\\">\\n        <IcContent>\\n          <p>\\n            Your Messenger makes it easy for customers to reach out to you at any time.\\n          </p>\\n          <p>\\n            Give your customers a good experience around the clock by letting them know when your team is working and when to expect a reply.\\n          </p>\\n        </IcContent>\\n        <MessengerSettings::AvailabilitySettings\\n          @availabilitySettings={{messengerSettings.availability}}\\n          @classNames=\\\"u__padl__0 u__mt__30\\\"\\n          @hideSaveButtonAndSimplifyContent={{true}}\\n        />\\n        <div class=\\\"h-10\\\"></div>\\n        <Tooltips::RestrictedAccess\\n          @isDisabled={{adminCanAccessProductSettings}}\\n          @permission=\\\"can_create_and_edit_bots\\\"\\n          @intent=\\\"edit messenger settings\\\"\\n          @object=\\\"customize_messenger\\\"\\n          class=\\\"onboarding__home__steps__permissions-tooltip-opener\\\"\\n        >\\n          <IcButton\\n            @label=\\\"Continue\\\"\\n            @disabled={{not isSaveEnabled}}\\n            @processingLabel=\\\"Saving…\\\"\\n            @type=\\\"primary\\\"\\n            @onClick={{perform completeStep}}\\n            data-test-set-expectations-complete-step={{true}}\\n          />\\n        </Tooltips::RestrictedAccess>\\n      </div>\\n    </div>\\n    <div\\n      class=\\\"layout__box u__mb__20 onboarding__home__steps__customize-messenger-preview-wrapper\\\"\\n    >\\n      <MessengerPreview::TranslationLoaderWrapper\\n        @locale={{messengerSettings.previewConfiguration.locale}}\\n      >\\n        <MessengerPreview::Home\\n          @configuration={{messengerSettings.previewConfiguration}}\\n          @hideUserTypeButtonGroup={{true}}\\n          @hideBorders={{true}}\\n        />\\n      </MessengerPreview::TranslationLoaderWrapper>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/set-expectations.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/set-expectations.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { task } from 'ember-concurrency';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  appService: service(),\n  completionCallback: null,\n  messengerSettings: readOnly('step.modelData.messengerSettings'),\n  settingsAreDirty: readOnly('messengerSettings.availability.hasDirtyAttributes'),\n  availabilityValid: readOnly('messengerSettings.availability.isValid'),\n  adminCanAccessProductSettings: readOnly('appService.app.currentAdmin.canAccessProductSettings'),\n\n  isSaveEnabled: computed(\n    'step.available',\n    'settingsAreDirty',\n    'adminCanAccessProductSettings',\n    'availabilityValid',\n    function() {\n      if (!this.adminCanAccessProductSettings) {\n        return false;\n      }\n\n      return this.availabilityValid && (this.step.available || this.settingsAreDirty);\n    },\n  ),\n\n  completeStep: task(function*() {\n    let hasUpdatedOfficeHours =\n      this.messengerSettings.availability.invervalGroupsAreDirty ||\n      this.messengerSettings.availability.intervalsWereAddedOrRemoved;\n    let hasUpdatedResponseTime = this.messengerSettings.availability.hasResponseTimeChanged;\n    try {\n      yield this.get('messengerSettings.availability').save();\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'saved',\n        object: 'availability_settings',\n        updated_office_hours: hasUpdatedOfficeHours,\n        updated_response_time: hasUpdatedResponseTime,\n        ...this.step.analyticsMetadata,\n      });\n    } catch (error) {\n      this.notificationsService.notifyResponseError(error, {\n        default: 'Your Intercom Messenger settings have not been updated, Please try later',\n      });\n    }\n\n    if (this.step.completed) {\n      return this.completionCallback({\n        stepCompletedText: 'Your Messenger settings have been saved!',\n      });\n    }\n    yield this.completionCallback();\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"onboarding__home__steps__accordion-wrapper\\\"\\n  data-test-setup-custom-data-attributes-content\\n>\\n  <Onboarding::Home::StepStateBannerComponent @step={{step}} />\\n  <div class=\\\"flex flex-col gap-8\\\">\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      <div class=\\\"layout__box o__flexes-to-1 u__mt__10\\\">\\n        <div\\n          class=\\\"layout__box onboarding__home__steps__left-content o__flexes-to-1\\\"\\n        >\\n          <IcContent>\\n            <p>\\n              Now that you know about data attributes, let’s create a few custom attributes that are specific for your business. Don’t worry, you can always change these later on.\\n            </p>\\n            <h4 class=\\\"t__h4\\\">\\n              What do you want to use attributes for?\\n              <IcTooltipIcon\\n                @content=\\\"These are some examples to get you started. Feel free to add or remove any attributes that don’t match your needs.\\\"\\n              />\\n            </h4>\\n            <IcRadioButtonGroup\\n              data-test-use-cases-radio-button-group\\n              @selectedValue={{useCase}}\\n              @onSelectionChange={{action \\\"onUseCaseChange\\\"}} as |group|\\n            >\\n              <group.button @label=\\\"Marketing\\\" @value=\\\"marketing\\\" />\\n              <group.button @label=\\\"Support\\\" @value=\\\"support\\\" />\\n              <group.button @label=\\\"Other\\\" @value=\\\"other\\\" />\\n            </IcRadioButtonGroup>\\n            <label class=\\\"t__label\\\">\\n              Attribute name\\n            </label>\\n            {{#each attributes as |attribute|}}\\n              <div\\n                data-test-attribute\\n                data-attribute\\n                class=\\\"layout__box o__has-columns o__centers-vertically\\\"\\n              >\\n                <input\\n                  data-test-attribute-input\\n                  data-attribute-input\\n                  class=\\\"f__text\\\"\\n                  value={{attribute.name}}\\n                  oninput={{action (mut attribute.name) value=\\\"target.value\\\"}}\\n                />\\n                <a\\n                  data-test-remove-attribute-button\\n                  class=\\\"u__pointer-cursor p-1\\\"\\n                  {{action \\\"removeAttribute\\\" attribute}}\\n                >\\n                  {{ic-interface-icon \\\"trash\\\" color=\\\"red\\\" solo=true}}\\n                </a>\\n              </div>\\n            {{/each}}\\n            <IcButton\\n              data-test-add-attribute-button\\n              @type=\\\"secondary\\\"\\n              @subtle={{true}}\\n              @onClick={{action \\\"addAttribute\\\"}}\\n              @icon=\\\"new\\\"\\n              @label=\\\"Add another attribute\\\"\\n            />\\n            {{#unless showCodeInstructions}}\\n              <IcButton\\n                data-test-continue-button\\n                @type=\\\"primary\\\"\\n                @onClick={{action \\\"showCode\\\"}}\\n                @label=\\\"Continue\\\"\\n              />\\n            {{/unless}}\\n          </IcContent>\\n        </div>\\n      </div>\\n      <div class=\\\"layout__box o__flexes-to-1 t__right\\\">\\n        <img\\n          class=\\\"onboarding__home__steps__preview-image\\\"\\n          src=\\\"/assets/images/onboarding/home/steps/setup-custom-data-attributes@2x.png\\\"\\n        />\\n      </div>\\n    </div>\\n    {{#if showCodeInstructions}}\\n      <hr />\\n      <div data-test-code-section class=\\\"layout__box o__flexes-to-1\\\">\\n        <IcContent>\\n          <p>\\n            Let’s start tracking your attributes with the Messenger. How did you install the Messenger?\\n          </p>\\n          <IcTabControl\\n            data-test-install-type-tabs\\n            @onSelectionChange={{action \\\"onInstallTypeChange\\\"}}\\n            @selectedTab={{selectedInstallType}} as |tabControl|\\n          >\\n            {{#each installTypes as |installType|}}\\n              <tabControl.tab\\n                @label={{installType.text}}\\n                @value={{installType.value}}\\n              />\\n            {{/each}}\\n          </IcTabControl>\\n          <div\\n            data-test-install-type={{selectedInstallType}}\\n            class=\\\"layout__box o__has-columns\\\"\\n          >\\n            <Onboarding::Home::Steps::SetupCustomDataAttributes::InstallMethod\\n              @attributes={{attributes}}\\n              @installMethodOptions={{installMethodOptions}}\\n              @selectedInstallMethod={{selectedInstallMethod}}\\n              @onChangeSelectedInstallMethod={{action\\n                (mut selectedInstallMethod)\\n              }}\\n              @verify={{perform verify}}\\n              @verified={{verified}}\\n              @errorMessage={{errorMessage}}\\n              @onCopyCode={{action trackInstallationMethodAnalyticsEvent \\\"copy_code\\\"}}\\n            />\\n          </div>\\n        </IcContent>\\n      </div>\\n    {{/if}}\\n    {{#if verified}}\\n      <IcContent>\\n        <hr />\\n        <IcButton\\n          data-test-continue-button\\n          @type=\\\"primary\\\"\\n          @onClick={{action \\\"complete\\\"}}\\n          @label=\\\"Continue\\\"\\n          @disabled={{step.completed}}\\n        />\\n      </IcContent>\\n    {{else}}\\n      <Onboarding::Home::InviteCardComponent\\n        @step={{step}}\\n        @baseAnalyticsMetadata={{installationMethodAnalyticsMetadata}}\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"onboarding__home__steps__accordion-wrapper\\\"\\n  data-test-setup-custom-data-attributes-content\\n>\\n  <Onboarding::Home::StepStateBannerComponent @step={{step}} />\\n  <div class=\\\"flex flex-col gap-8\\\">\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      <div class=\\\"layout__box o__flexes-to-1 u__mt__10\\\">\\n        <div\\n          class=\\\"layout__box onboarding__home__steps__left-content o__flexes-to-1\\\"\\n        >\\n          <IcContent>\\n            <p>\\n              Now that you know about data attributes, let’s create a few custom attributes that are specific for your business. Don’t worry, you can always change these later on.\\n            </p>\\n            <h4 class=\\\"t__h4\\\">\\n              What do you want to use attributes for?\\n              <IcTooltipIcon\\n                @content=\\\"These are some examples to get you started. Feel free to add or remove any attributes that don’t match your needs.\\\"\\n              />\\n            </h4>\\n            <IcRadioButtonGroup\\n              data-test-use-cases-radio-button-group\\n              @selectedValue={{useCase}}\\n              @onSelectionChange={{action \\\"onUseCaseChange\\\"}} as |group|\\n            >\\n              <group.button @label=\\\"Marketing\\\" @value=\\\"marketing\\\" />\\n              <group.button @label=\\\"Support\\\" @value=\\\"support\\\" />\\n              <group.button @label=\\\"Other\\\" @value=\\\"other\\\" />\\n            </IcRadioButtonGroup>\\n            <label class=\\\"t__label\\\">\\n              Attribute name\\n            </label>\\n            {{#each attributes as |attribute|}}\\n              <div\\n                data-test-attribute\\n                data-attribute\\n                class=\\\"layout__box o__has-columns o__centers-vertically\\\"\\n              >\\n                <input\\n                  data-test-attribute-input\\n                  data-attribute-input\\n                  class=\\\"f__text\\\"\\n                  value={{attribute.name}}\\n                  oninput={{action (mut attribute.name) value=\\\"target.value\\\"}}\\n                />\\n                <a\\n                  data-test-remove-attribute-button\\n                  class=\\\"u__pointer-cursor p-1\\\"\\n                  {{action \\\"removeAttribute\\\" attribute}}\\n                >\\n                  {{ic-interface-icon \\\"trash\\\" color=\\\"red\\\" solo=true}}\\n                </a>\\n              </div>\\n            {{/each}}\\n            <IcButton\\n              data-test-add-attribute-button\\n              @type=\\\"secondary\\\"\\n              @subtle={{true}}\\n              @onClick={{action \\\"addAttribute\\\"}}\\n              @icon=\\\"new\\\"\\n              @label=\\\"Add another attribute\\\"\\n            />\\n            {{#unless showCodeInstructions}}\\n              <IcButton\\n                data-test-continue-button\\n                @type=\\\"primary\\\"\\n                @onClick={{action \\\"showCode\\\"}}\\n                @label=\\\"Continue\\\"\\n              />\\n            {{/unless}}\\n          </IcContent>\\n        </div>\\n      </div>\\n      <div class=\\\"layout__box o__flexes-to-1 t__right\\\">\\n        <img\\n          class=\\\"onboarding__home__steps__preview-image\\\"\\n          src=\\\"/assets/images/onboarding/home/steps/setup-custom-data-attributes@2x.png\\\"\\n        />\\n      </div>\\n    </div>\\n    {{#if showCodeInstructions}}\\n      <hr />\\n      <div data-test-code-section class=\\\"layout__box o__flexes-to-1\\\">\\n        <IcContent>\\n          <p>\\n            Let’s start tracking your attributes with the Messenger. How did you install the Messenger?\\n          </p>\\n          <IcTabControl\\n            data-test-install-type-tabs\\n            @onSelectionChange={{action \\\"onInstallTypeChange\\\"}}\\n            @selectedTab={{selectedInstallType}} as |tabControl|\\n          >\\n            {{#each installTypes as |installType|}}\\n              <tabControl.tab\\n                @label={{installType.text}}\\n                @value={{installType.value}}\\n              />\\n            {{/each}}\\n          </IcTabControl>\\n          <div\\n            data-test-install-type={{selectedInstallType}}\\n            class=\\\"layout__box o__has-columns\\\"\\n          >\\n            <Onboarding::Home::Steps::SetupCustomDataAttributes::InstallMethod\\n              @attributes={{attributes}}\\n              @installMethodOptions={{installMethodOptions}}\\n              @selectedInstallMethod={{selectedInstallMethod}}\\n              @onChangeSelectedInstallMethod={{action\\n                (mut selectedInstallMethod)\\n              }}\\n              @verify={{perform verify}}\\n              @verified={{verified}}\\n              @errorMessage={{errorMessage}}\\n              @onCopyCode={{action trackInstallationMethodAnalyticsEvent \\\"copy_code\\\"}}\\n            />\\n          </div>\\n        </IcContent>\\n      </div>\\n    {{/if}}\\n    {{#if verified}}\\n      <IcContent>\\n        <hr />\\n        <IcButton\\n          data-test-continue-button\\n          @type=\\\"primary\\\"\\n          @onClick={{action \\\"complete\\\"}}\\n          @label=\\\"Continue\\\"\\n          @disabled={{step.completed}}\\n        />\\n      </IcContent>\\n    {{else}}\\n      <Onboarding::Home::InviteCardComponent\\n        @step={{step}}\\n        @baseAnalyticsMetadata={{installationMethodAnalyticsMetadata}}\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/setup-custom-data-attributes-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/setup-custom-data-attributes-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { scheduleOnce } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { notImplemented, templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport {\n  INSTALL_METHODS as MESSENGER_INSTALL_METHODS,\n  INSTALL_METHOD_ANALYTICS_NAMES,\n} from 'embercom/lib/messenger/installation-constants';\nimport { task } from 'ember-concurrency';\nimport { captureException } from 'embercom/lib/sentry';\nimport ajax from 'embercom/lib/ajax';\n\nexport const USE_CASE_DEFAULT_ATTRIBUTES = {\n  marketing: [{ name: 'Pricing plan' }, { name: 'Subscription status' }],\n  support: [{ name: 'Power user' }, { name: 'On trial' }],\n  other: [{ name: 'Home address' }],\n};\n\nexport const INSTALL_TYPES = [\n  {\n    text: 'With code',\n    value: 'code',\n  },\n  {\n    text: 'With third-party app',\n    value: 'third-party',\n  },\n];\n\nexport const INSTALL_METHODS = {\n  code: [\n    MESSENGER_INSTALL_METHODS.JAVASCRIPT,\n    MESSENGER_INSTALL_METHODS.SINGLE_PAGE,\n    MESSENGER_INSTALL_METHODS.RAILS,\n    MESSENGER_INSTALL_METHODS.IOS,\n    MESSENGER_INSTALL_METHODS.ANDROID,\n    MESSENGER_INSTALL_METHODS.CORDOVA,\n  ],\n  'third-party': [\n    MESSENGER_INSTALL_METHODS.SEGMENT,\n    MESSENGER_INSTALL_METHODS.WORDPRESS,\n    MESSENGER_INSTALL_METHODS.SHOPIFY,\n  ],\n};\n\nexport const VERIFICATION_ERROR_TEXT =\n  'We’re sorry, we didn’t receive any attribute data. Check your code and try again.';\n\nexport const VERIFICATION_REQUEST_FAILED_TEXT =\n  'There was a problem on our end, please try again later or let us know.';\n\nexport default Component.extend({\n  router: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  step: null,\n  attributes: null,\n  completionCallback: notImplemented('completionCallback is required'),\n  verified: false,\n\n  showCodeInstructions: false,\n  useCase: Object.keys(USE_CASE_DEFAULT_ATTRIBUTES)[0],\n\n  installTypes: INSTALL_TYPES,\n\n  selectedInstallType: 'code',\n\n  installMethodComponentName: templateString(\n    'onboarding/home/steps/setup-custom-data-attributes/install-methods/${selectedInstallType}',\n  ),\n\n  selectedInstallMethod: null,\n\n  installMethodOptions: computed('selectedInstallType', function() {\n    return INSTALL_METHODS[this.selectedInstallType];\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.resetAttributes(this.useCase);\n    this.set('selectedInstallMethod', this.defaultSelectedInstallMethod);\n  },\n\n  resetAttributes(useCase) {\n    this.set('attributes', USE_CASE_DEFAULT_ATTRIBUTES[useCase].slice());\n  },\n\n  defaultSelectedInstallMethod: computed('selectedInstallType', function() {\n    return INSTALL_METHODS[this.selectedInstallType].firstObject.value;\n  }),\n\n  installationMethodAnalyticsMetadata: computed(\n    'step.analyticsMetadata',\n    'selectedInstallMethod',\n    'selectedInstallType',\n    'showCodeInstructions',\n    function() {\n      return {\n        ...this.step.analyticsMetadata,\n        install_language: this.showCodeInstructions\n          ? INSTALL_METHOD_ANALYTICS_NAMES[this.selectedInstallMethod]\n          : undefined,\n        install_with: this.selectedInstallType,\n      };\n    },\n  ),\n\n  trackClickedAnalyticsEvent(object, params = {}) {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.step.analyticsMetadata,\n      ...params,\n      action: 'clicked',\n      object,\n    });\n  },\n\n  trackInstallationMethodAnalyticsEvent(object) {\n    this.trackClickedAnalyticsEvent(object, this.installationMethodAnalyticsMetadata);\n  },\n\n  focusLastAttributeInput() {\n    let attributeWrappers = this.element.querySelectorAll('[data-attribute-input]');\n    attributeWrappers.item(attributeWrappers.length - 1).focus();\n  },\n\n  verify: task(function*() {\n    this.setProperties({\n      errorMessage: null,\n      verified: false,\n    });\n\n    try {\n      let result = yield ajax({\n        url: '/ember/onboarding/home/steps/setup_custom_data_attributes/verify',\n        type: 'GET',\n        data: {\n          app_id: this.app.id,\n        },\n      });\n\n      this.set('verified', result.verified);\n\n      if (!this.verified) {\n        this.set('errorMessage', VERIFICATION_ERROR_TEXT);\n      }\n    } catch (e) {\n      this.setProperties({\n        errorMessage: VERIFICATION_REQUEST_FAILED_TEXT,\n        verified: false,\n      });\n      captureException(e);\n    }\n\n    this.trackInstallationMethodAnalyticsEvent('check_tracking');\n  }),\n\n  actions: {\n    addAttribute() {\n      this.attributes.pushObject({ name: '' });\n      scheduleOnce('afterRender', this, this.focusLastAttributeInput);\n      this.trackClickedAnalyticsEvent('add_attribute_button');\n    },\n\n    removeAttribute(attribute) {\n      this.attributes.removeObject(attribute);\n    },\n\n    onUseCaseChange(useCase) {\n      this.set('useCase', useCase);\n      this.resetAttributes(useCase);\n    },\n\n    showCode() {\n      this.trackClickedAnalyticsEvent('show_code_button', { context: this.useCase });\n      this.set('showCodeInstructions', true);\n    },\n\n    onInstallTypeChange(installMethod) {\n      this.set('selectedInstallType', installMethod);\n      this.set('selectedInstallMethod', this.defaultSelectedInstallMethod);\n    },\n\n    complete() {\n      this.completionCallback();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcContent>\\n  <IcSelect\\n    @items={{@installMethodOptions}}\\n    @onSelectItem={{@onChangeSelectedInstallMethod}}\\n    @selectedValue={{@selectedInstallMethod}}\\n  />\\n  <ol class=\\\"onboarding__home__list\\\">\\n    <li class=\\\"onboarding__home__list-item mb-6\\\">\\n      {{component\\n        (concat\\n          \\\"onboarding/home/steps/setup-custom-data-attributes/install-methods/\\\"\\n          @selectedInstallMethod\\n        )\\n        formattedAttributes=formattedAttributes\\n        onCopyCode=@onCopyCode\\n      }}\\n    </li>\\n    <li class=\\\"onboarding__home__list-item mb-6\\\">\\n      Log into your app or website as a user, then visit any page with the Messenger installed.\\n    </li>\\n    <li class=\\\"onboarding__home__list-item mb-6\\\">\\n      <IcContent>\\n        <p>\\n          Make sure your {{inflector-helper \\\"attribute\\\" attributes.length}} {{inflector-helper \\\"is\\\" attributes.length \\\"are\\\"}} being sent to Intercom.\\n        </p>\\n        <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n          <IcButton\\n            data-test-verify-custom-data-button\\n            @label=\\\"Check tracking\\\"\\n            @onClick={{verify}}\\n            @type=\\\"secondary\\\"\\n            @disabled={{disableVerifyButton}}\\n          />\\n          {{#if (and errorMessage (not verified))}}\\n            <p\\n              data-test-verification-error-message\\n              class=\\\"text-red u__display-inline-block u__padl__15 messenger-installation__messenger-install__verification-message\\\"\\n            >\\n              {{errorMessage}}\\n            </p>\\n          {{/if}}\\n          {{#if verified}}\\n            <p\\n              data-test-verification-success-message\\n              class=\\\"text-green-dark u__display-inline-block u__padl__15 messenger-installation__messenger-install__verification-message\\\"\\n            >\\n              Great job! Your attributes are set up correctly.\\n            </p>\\n          {{/if}}\\n        </div>\\n        <p class=\\\"t__light-text\\\">\\n          Need help? See our\\n          <Pulse::HelpContent::Link\\n            @href=\\\"https://www.intercom.com/help/configure-intercom/customize-intercom-to-be-about-your-users/send-custom-user-attributes-to-intercom\\\"\\n            @title=\\\"troubleshooting doc\\\"\\n            @type=\\\"article\\\"\\n            @linkStyling=\\\"inline\\\"\\n          />\\n          or <a {{action \\\"openMessenger\\\"}}>contact us</a>.\\n        </p>\\n      </IcContent>\\n    </li>\\n  </ol>\\n</IcContent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcContent>\\n  <IcSelect\\n    @items={{@installMethodOptions}}\\n    @onSelectItem={{@onChangeSelectedInstallMethod}}\\n    @selectedValue={{@selectedInstallMethod}}\\n  />\\n  <ol class=\\\"onboarding__home__list\\\">\\n    <li class=\\\"onboarding__home__list-item mb-6\\\">\\n      {{component\\n        (concat\\n          \\\"onboarding/home/steps/setup-custom-data-attributes/install-methods/\\\"\\n          @selectedInstallMethod\\n        )\\n        formattedAttributes=formattedAttributes\\n        onCopyCode=@onCopyCode\\n      }}\\n    </li>\\n    <li class=\\\"onboarding__home__list-item mb-6\\\">\\n      Log into your app or website as a user, then visit any page with the Messenger installed.\\n    </li>\\n    <li class=\\\"onboarding__home__list-item mb-6\\\">\\n      <IcContent>\\n        <p>\\n          Make sure your {{inflector-helper \\\"attribute\\\" attributes.length}} {{inflector-helper \\\"is\\\" attributes.length \\\"are\\\"}} being sent to Intercom.\\n        </p>\\n        <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n          <IcButton\\n            data-test-verify-custom-data-button\\n            @label=\\\"Check tracking\\\"\\n            @onClick={{verify}}\\n            @type=\\\"secondary\\\"\\n            @disabled={{disableVerifyButton}}\\n          />\\n          {{#if (and errorMessage (not verified))}}\\n            <p\\n              data-test-verification-error-message\\n              class=\\\"text-red u__display-inline-block u__padl__15 messenger-installation__messenger-install__verification-message\\\"\\n            >\\n              {{errorMessage}}\\n            </p>\\n          {{/if}}\\n          {{#if verified}}\\n            <p\\n              data-test-verification-success-message\\n              class=\\\"text-green-dark u__display-inline-block u__padl__15 messenger-installation__messenger-install__verification-message\\\"\\n            >\\n              Great job! Your attributes are set up correctly.\\n            </p>\\n          {{/if}}\\n        </div>\\n        <p class=\\\"t__light-text\\\">\\n          Need help? See our\\n          <Pulse::HelpContent::Link\\n            @href=\\\"https://www.intercom.com/help/configure-intercom/customize-intercom-to-be-about-your-users/send-custom-user-attributes-to-intercom\\\"\\n            @title=\\\"troubleshooting doc\\\"\\n            @type=\\\"article\\\"\\n            @linkStyling=\\\"inline\\\"\\n          />\\n          or <a {{action \\\"openMessenger\\\"}}>contact us</a>.\\n        </p>\\n      </IcContent>\\n    </li>\\n  </ol>\\n</IcContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-method.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-method.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\nimport { computed } from '@ember/object';\nimport { underscore } from '@ember/string';\nimport { mapBy, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { showNewMessageInIntercomWidget } from 'embercom/lib/intercom-widget-helper';\n\nexport default Component.extend({\n  'data-test-install-method': readOnly('selectedInstallMethod'),\n  intercomEventService: service(),\n\n  verify: null,\n  completionCallback: null,\n  disableVerifyButton: false,\n  onCopyCode: null,\n\n  attributes: notImplemented('Must pass attributes to install-method'),\n\n  attributeNames: mapBy('attributes', 'name'),\n\n  formattedAttributes: computed('attributeNames', function() {\n    return this.attributeNames.map(underscore).map(name => name.replace(/\\W*/g, ''));\n  }),\n\n  actions: {\n    openMessenger() {\n      showNewMessageInIntercomWidget(\n        'Hello, I need some help with setting up custom data attributes!',\n      );\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcContent>\\n  <p>\\n    Replace the placeholders with your own dynamic values, and copy the snippet into your app’s code. For how to do this,\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://developers.intercom.com/installing-intercom/docs/android-configuration\\\"\\n      @title=\\\"see the instructions\\\"\\n      @type=\\\"developer\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />.\\n  </p>\\n\\n  <InstallationInstructions::CodeComponent @language=\\\"java\\\" @onCopyCode={{@onCopyCode}}>\\n    UserAttributes userAttributes = new UserAttributes.Builder()\\n    {{#each @formattedAttributes as |attribute|}}\\n      .withCustomAttribute(\\\"{{attribute}}\\\", ________);\\n    {{else}}\\n      // add your attributes here\\n    {{/each}}\\n      .build();\\n\\n    Intercom.client().updateUser(userAttributes);\\n  </InstallationInstructions::CodeComponent>\\n</IcContent>\\n\", {\"contents\":\"<IcContent>\\n  <p>\\n    Replace the placeholders with your own dynamic values, and copy the snippet into your app’s code. For how to do this,\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://developers.intercom.com/installing-intercom/docs/android-configuration\\\"\\n      @title=\\\"see the instructions\\\"\\n      @type=\\\"developer\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />.\\n  </p>\\n\\n  <InstallationInstructions::CodeComponent @language=\\\"java\\\" @onCopyCode={{@onCopyCode}}>\\n    UserAttributes userAttributes = new UserAttributes.Builder()\\n    {{#each @formattedAttributes as |attribute|}}\\n      .withCustomAttribute(\\\"{{attribute}}\\\", ________);\\n    {{else}}\\n      // add your attributes here\\n    {{/each}}\\n      .build();\\n\\n    Intercom.client().updateUser(userAttributes);\\n  </InstallationInstructions::CodeComponent>\\n</IcContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/android.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/android.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcContent>\\n  <p>\\n    Replace the placeholders with your own dynamic values, and copy the snippet into your app’s code. For how to do this,\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://developers.intercom.com/installing-intercom/docs/cordova-phonegap-configuration\\\"\\n      @title=\\\"see the instructions\\\"\\n      @type=\\\"developer\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />.\\n  </p>\\n\\n  <InstallationInstructions::CodeComponent @language=\\\"javascript\\\" @onCopyCode={{@onCopyCode}}>\\n    intercom.updateUser({\\n      custom_attributes: {\\n      {{#each @formattedAttributes as |attribute|}}\\n        {{attribute}}: ________,\\n      {{else}}\\n        // add your attributes here\\n      {{/each}}\\n      }\\n    });\\n  </InstallationInstructions::CodeComponent>\\n</IcContent>\\n\", {\"contents\":\"<IcContent>\\n  <p>\\n    Replace the placeholders with your own dynamic values, and copy the snippet into your app’s code. For how to do this,\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://developers.intercom.com/installing-intercom/docs/cordova-phonegap-configuration\\\"\\n      @title=\\\"see the instructions\\\"\\n      @type=\\\"developer\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />.\\n  </p>\\n\\n  <InstallationInstructions::CodeComponent @language=\\\"javascript\\\" @onCopyCode={{@onCopyCode}}>\\n    intercom.updateUser({\\n      custom_attributes: {\\n      {{#each @formattedAttributes as |attribute|}}\\n        {{attribute}}: ________,\\n      {{else}}\\n        // add your attributes here\\n      {{/each}}\\n      }\\n    });\\n  </InstallationInstructions::CodeComponent>\\n</IcContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/cordova.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/cordova.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcContent>\\n  <p>\\n    Replace the placeholders with your own dynamic values, and copy the snippet into your app’s code. For how to do this,\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://developers.intercom.com/installing-intercom/docs/ios-configuration\\\"\\n      @title=\\\"see the instructions\\\"\\n      @type=\\\"developer\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />.\\n  </p>\\n\\n  <Onboarding::Home::LanguageSelector\\n    @items={{this.languages}}\\n    @selectedValue={{this.selectedLanguage}}\\n    @labelText=\\\"Show examples for:\\\"\\n  />\\n\\n  {{#if (eq this.selectedLanguage 'swift')}}\\n    <InstallationInstructions::CodeComponent @language=\\\"swift\\\" @onCopyCode={{@onCopyCode}}>\\n      Intercom.client().updateUser(userAttributes)\\n      let userAttributes = ICMUserAttributes()\\n      userAttributes.customAttributes = [\\n      {{#each @formattedAttributes as |attribute|}}\\n        \\\"{{attribute}}\\\": _________,\\n      {{else}}\\n        // add your attributes here\\n      {{/each}}\\n      ]\\n      Intercom.updateUser(userAttributes)\\n    </InstallationInstructions::CodeComponent>\\n  {{else}}\\n    <InstallationInstructions::CodeComponent @language=\\\"obj-c\\\" @onCopyCode={{@onCopyCode}}>\\n      ICMUserAttributes *userAttributes = [ICMUserAttributes new];\\n      userAttributes.customAttributes = @{\\n      {{#each @formattedAttributes as |attribute|}}\\n        @\\\"{{attribute}}\\\" : __________,\\n      {{else}}\\n        // add your attributes here\\n      {{/each}}\\n      };\\n      [Intercom updateUser:userAttributes];\\n    </InstallationInstructions::CodeComponent>\\n  {{/if}}\\n</IcContent>\\n\", {\"contents\":\"<IcContent>\\n  <p>\\n    Replace the placeholders with your own dynamic values, and copy the snippet into your app’s code. For how to do this,\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://developers.intercom.com/installing-intercom/docs/ios-configuration\\\"\\n      @title=\\\"see the instructions\\\"\\n      @type=\\\"developer\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />.\\n  </p>\\n\\n  <Onboarding::Home::LanguageSelector\\n    @items={{this.languages}}\\n    @selectedValue={{this.selectedLanguage}}\\n    @labelText=\\\"Show examples for:\\\"\\n  />\\n\\n  {{#if (eq this.selectedLanguage 'swift')}}\\n    <InstallationInstructions::CodeComponent @language=\\\"swift\\\" @onCopyCode={{@onCopyCode}}>\\n      Intercom.client().updateUser(userAttributes)\\n      let userAttributes = ICMUserAttributes()\\n      userAttributes.customAttributes = [\\n      {{#each @formattedAttributes as |attribute|}}\\n        \\\"{{attribute}}\\\": _________,\\n      {{else}}\\n        // add your attributes here\\n      {{/each}}\\n      ]\\n      Intercom.updateUser(userAttributes)\\n    </InstallationInstructions::CodeComponent>\\n  {{else}}\\n    <InstallationInstructions::CodeComponent @language=\\\"obj-c\\\" @onCopyCode={{@onCopyCode}}>\\n      ICMUserAttributes *userAttributes = [ICMUserAttributes new];\\n      userAttributes.customAttributes = @{\\n      {{#each @formattedAttributes as |attribute|}}\\n        @\\\"{{attribute}}\\\" : __________,\\n      {{else}}\\n        // add your attributes here\\n      {{/each}}\\n      };\\n      [Intercom updateUser:userAttributes];\\n    </InstallationInstructions::CodeComponent>\\n  {{/if}}\\n</IcContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/ios.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/ios.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport const LANGUAGES = [\n  {\n    text: 'Swift',\n    value: 'swift',\n  },\n  {\n    text: 'Objective-C',\n    value: 'obj-c',\n  },\n];\n\nexport default Component.extend({\n  languages: LANGUAGES,\n\n  selectedLanguage: 'swift',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcContent>\\n  <p>\\n    Replace the placeholders with your own dynamic values. Then add your attributes to the <code class=\\\"start__inline-code\\\">window.intercomSettings</code> object in your Messenger snippet.\\n  </p>\\n\\n  <InstallationInstructions::CodeComponent @language=\\\"javascript\\\" @onCopyCode={{@onCopyCode}}>\\n    // Add this to the window.intercomSettings object in your code:\\n    window.intercomSettings = {\\n    {{#each @formattedAttributes as |attribute|}}\\n      {{attribute}}: ________,\\n    {{else}}\\n      // add your attributes here\\n    {{/each}}\\n    }\\n  </InstallationInstructions::CodeComponent>\\n</IcContent>\\n\", {\"contents\":\"<IcContent>\\n  <p>\\n    Replace the placeholders with your own dynamic values. Then add your attributes to the <code class=\\\"start__inline-code\\\">window.intercomSettings</code> object in your Messenger snippet.\\n  </p>\\n\\n  <InstallationInstructions::CodeComponent @language=\\\"javascript\\\" @onCopyCode={{@onCopyCode}}>\\n    // Add this to the window.intercomSettings object in your code:\\n    window.intercomSettings = {\\n    {{#each @formattedAttributes as |attribute|}}\\n      {{attribute}}: ________,\\n    {{else}}\\n      // add your attributes here\\n    {{/each}}\\n    }\\n  </InstallationInstructions::CodeComponent>\\n</IcContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/javascript.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/javascript.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcContent>\\n  <p>\\n    Replace the placeholders with your own dynamic values, and copy the snippet into your app’s code. For how to do this, <a href=\\\"https://github.com/intercom/intercom-rails#user-custom-data-attributes\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">see the instructions</a>.\\n  </p>\\n\\n  <InstallationInstructions::CodeComponent @language=\\\"ruby\\\" @onCopyCode={{@onCopyCode}}>\\n    # Add this to config.user.custom.data in your code:\\n    config.user.custom_data = {\\n    {{#each @formattedAttributes as |attribute|}}\\n      {{attribute}}: ________,\\n    {{else}}\\n      # add your attributes here\\n    {{/each}}\\n    }\\n  </InstallationInstructions::CodeComponent>\\n</IcContent>\\n\", {\"contents\":\"<IcContent>\\n  <p>\\n    Replace the placeholders with your own dynamic values, and copy the snippet into your app’s code. For how to do this, <a href=\\\"https://github.com/intercom/intercom-rails#user-custom-data-attributes\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">see the instructions</a>.\\n  </p>\\n\\n  <InstallationInstructions::CodeComponent @language=\\\"ruby\\\" @onCopyCode={{@onCopyCode}}>\\n    # Add this to config.user.custom.data in your code:\\n    config.user.custom_data = {\\n    {{#each @formattedAttributes as |attribute|}}\\n      {{attribute}}: ________,\\n    {{else}}\\n      # add your attributes here\\n    {{/each}}\\n    }\\n  </InstallationInstructions::CodeComponent>\\n</IcContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/rails.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/rails.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcContent>\\n  <p>\\n    Any data you track in Segment will automatically send to Intercom. Make sure you’re tracking the attributes you’ve defined above.\\n    <a\\n      class=\\\"btn__tertiary\\\"\\n      href=\\\"https://segment.com/docs/spec/identify/\\\"\\n      target=\\\"_blank\\\"\\n      rel=\\\"noopener noreferrer\\\"\\n    >\\n      {{ic-interface-icon \\\"book\\\"}} Learn more\\n    </a>\\n  </p>\\n</IcContent>\\n\", {\"contents\":\"<IcContent>\\n  <p>\\n    Any data you track in Segment will automatically send to Intercom. Make sure you’re tracking the attributes you’ve defined above.\\n    <a\\n      class=\\\"btn__tertiary\\\"\\n      href=\\\"https://segment.com/docs/spec/identify/\\\"\\n      target=\\\"_blank\\\"\\n      rel=\\\"noopener noreferrer\\\"\\n    >\\n      {{ic-interface-icon \\\"book\\\"}} Learn more\\n    </a>\\n  </p>\\n</IcContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/segment.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/segment.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcContent>\\n  <p>\\n    Shopify\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/apps-in-intercom/messenger-apps/shopify-provide-live-chat-support#how-shopify-syncs-with-intercom\\\"\\n      @title=\\\"automatically tracks a fixed set of attributes\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />, including your users’ total spend and the last item they ordered in your store.\\n  </p>\\n</IcContent>\\n\", {\"contents\":\"<IcContent>\\n  <p>\\n    Shopify\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/apps-in-intercom/messenger-apps/shopify-provide-live-chat-support#how-shopify-syncs-with-intercom\\\"\\n      @title=\\\"automatically tracks a fixed set of attributes\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />, including your users’ total spend and the last item they ordered in your store.\\n  </p>\\n</IcContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/shopify.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/shopify.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcContent>\\n  <p>\\n    Replace the placeholders with your own dynamic values. Then add your attributes to the boot call of your Messenger snippet.\\n  </p>\\n\\n  <InstallationInstructions::CodeComponent @language=\\\"javascript\\\" @onCopyCode={{@onCopyCode}}>\\n    // Add this to window.Intercom(“boot”, {...} in your code:\\n    window.Intercom(\\\"boot\\\", {\\n    {{#each @formattedAttributes as |attribute|}}\\n      {{attribute}}: ________,\\n    {{else}}\\n      // add your attributes here\\n    {{/each}}\\n    });\\n  </InstallationInstructions::CodeComponent>\\n</IcContent>\\n\", {\"contents\":\"<IcContent>\\n  <p>\\n    Replace the placeholders with your own dynamic values. Then add your attributes to the boot call of your Messenger snippet.\\n  </p>\\n\\n  <InstallationInstructions::CodeComponent @language=\\\"javascript\\\" @onCopyCode={{@onCopyCode}}>\\n    // Add this to window.Intercom(“boot”, {...} in your code:\\n    window.Intercom(\\\"boot\\\", {\\n    {{#each @formattedAttributes as |attribute|}}\\n      {{attribute}}: ________,\\n    {{else}}\\n      // add your attributes here\\n    {{/each}}\\n    });\\n  </InstallationInstructions::CodeComponent>\\n</IcContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/single-page.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/single-page.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcContent>\\n  <p>\\n    We highly recommend creating a child theme so that your attribute tracking doesn’t break if your theme is updated. <a class=\\\"btn__tertiary\\\" href=\\\"https://developer.wordpress.org/themes/advanced-topics/child-themes/\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">{{ic-interface-icon 'book'}} Learn more</a>\\n  </p>\\n  <p>\\n    Paste the following code in your theme’s functions.php, and replace the placeholders with your own values.\\n  </p>\\n\\n  <InstallationInstructions::CodeComponent @language=\\\"php\\\" @onCopyCode={{@onCopyCode}}>\\n    &lt;?php\\n      function add_this_script_footer() {\\n    ?&gt;\\n      &lt;script&gt;\\n        // intercomSettings must already be defined at this point\\n      {{#each @formattedAttributes as |attribute|}}\\n        intercomSettings['{{attribute}}'] = ________;\\n      {{/each}}\\n        Intercom('update');\\n      &lt;/script&gt;\\n    &lt;?php\\n      }\\n\\n      add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );\\n\\n      function theme_enqueue_styles() {\\n        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );\\n      }\\n\\n      add_action('wp_footer', 'add_this_script_footer');\\n    ?>\\n  </InstallationInstructions::CodeComponent>\\n</IcContent>\\n\", {\"contents\":\"<IcContent>\\n  <p>\\n    We highly recommend creating a child theme so that your attribute tracking doesn’t break if your theme is updated. <a class=\\\"btn__tertiary\\\" href=\\\"https://developer.wordpress.org/themes/advanced-topics/child-themes/\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">{{ic-interface-icon 'book'}} Learn more</a>\\n  </p>\\n  <p>\\n    Paste the following code in your theme’s functions.php, and replace the placeholders with your own values.\\n  </p>\\n\\n  <InstallationInstructions::CodeComponent @language=\\\"php\\\" @onCopyCode={{@onCopyCode}}>\\n    &lt;?php\\n      function add_this_script_footer() {\\n    ?&gt;\\n      &lt;script&gt;\\n        // intercomSettings must already be defined at this point\\n      {{#each @formattedAttributes as |attribute|}}\\n        intercomSettings['{{attribute}}'] = ________;\\n      {{/each}}\\n        Intercom('update');\\n      &lt;/script&gt;\\n    &lt;?php\\n      }\\n\\n      add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );\\n\\n      function theme_enqueue_styles() {\\n        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );\\n      }\\n\\n      add_action('wp_footer', 'add_this_script_footer');\\n    ?>\\n  </InstallationInstructions::CodeComponent>\\n</IcContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/wordpress.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/setup-custom-data-attributes/install-methods/wordpress.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}}>\\n    This step is done, but you can always\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/en/articles/213\\\"\\n      @title=\\\"create more data attributes\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />.\\n  </content.banner>\\n\\n  {{#if (and @step.available this.needsDependentStep)}}\\n    <IcBanner @type='help' @class='mb-8' data-test-dependency-warning-banner={{true}}>\\n      To complete this step, you need to <a {{action this.openStepCallback this.dependentStepIdentifier}} data-test-dependency-banner-link>{{this.dependentStepTitle}}</a>.\\n    </IcBanner>\\n  {{/if}}\\n\\n  <content.container>\\n    <div class=\\\"flex flex-col\\\">\\n      <div data-test-code-section class=\\\"flex-1\\\">\\n        <IcContent>\\n          <p>\\n          Now that you've defined your custom attributes, lets add them to your Messenger.\\n          <br>\\n          To get started, select how you set up your Messenger.\\n          </p>\\n          <IcTabControl\\n            data-test-install-type-tabs\\n            @onSelectionChange={{action \\\"onInstallTypeChange\\\"}}\\n            @selectedTab={{this.selectedInstallType}} as |tabControl|\\n          >\\n            {{#each this.installTypes as |installType|}}\\n              <tabControl.tab\\n                @label={{installType.text}}\\n                @value={{installType.value}}\\n              />\\n            {{/each}}\\n          </IcTabControl>\\n          <div\\n            data-test-install-type={{this.selectedInstallType}}\\n            class=\\\"layout__box o__has-columns\\\"\\n          >\\n            <Onboarding::Home::Steps::SetupCustomDataAttributes::InstallMethod\\n              @attributes={{this.attributes}}\\n              @installMethodOptions={{this.installMethodOptions}}\\n              @selectedInstallMethod={{this.selectedInstallMethod}}\\n              @onChangeSelectedInstallMethod={{action\\n                (mut this.selectedInstallMethod)\\n              }}\\n              @verify={{perform this.verify}}\\n              @verified={{this.verified}}\\n              @errorMessage={{this.errorMessage}}\\n              @onCopyCode={{action this.trackInstallationMethodAnalyticsEvent \\\"copy_code\\\"}}\\n            />\\n          </div>\\n        </IcContent>\\n      </div>\\n\\n      {{#if this.verified}}\\n        <IcContent>\\n          <IcButton\\n            data-test-continue-button\\n            @type=\\\"primary\\\"\\n            @onClick={{action \\\"complete\\\"}}\\n            @label=\\\"Continue\\\"\\n            @disabled={{or @step.completed this.needsDependentStep}}\\n          />\\n        </IcContent>\\n      {{else}}\\n        <Onboarding::Home::InviteCardComponent\\n          @step={{@step}}\\n          @baseAnalyticsMetadata={{this.installationMethodAnalyticsMetadata}}\\n        />\\n      {{/if}}\\n    </div>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}}>\\n    This step is done, but you can always\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/en/articles/213\\\"\\n      @title=\\\"create more data attributes\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />.\\n  </content.banner>\\n\\n  {{#if (and @step.available this.needsDependentStep)}}\\n    <IcBanner @type='help' @class='mb-8' data-test-dependency-warning-banner={{true}}>\\n      To complete this step, you need to <a {{action this.openStepCallback this.dependentStepIdentifier}} data-test-dependency-banner-link>{{this.dependentStepTitle}}</a>.\\n    </IcBanner>\\n  {{/if}}\\n\\n  <content.container>\\n    <div class=\\\"flex flex-col\\\">\\n      <div data-test-code-section class=\\\"flex-1\\\">\\n        <IcContent>\\n          <p>\\n          Now that you've defined your custom attributes, lets add them to your Messenger.\\n          <br>\\n          To get started, select how you set up your Messenger.\\n          </p>\\n          <IcTabControl\\n            data-test-install-type-tabs\\n            @onSelectionChange={{action \\\"onInstallTypeChange\\\"}}\\n            @selectedTab={{this.selectedInstallType}} as |tabControl|\\n          >\\n            {{#each this.installTypes as |installType|}}\\n              <tabControl.tab\\n                @label={{installType.text}}\\n                @value={{installType.value}}\\n              />\\n            {{/each}}\\n          </IcTabControl>\\n          <div\\n            data-test-install-type={{this.selectedInstallType}}\\n            class=\\\"layout__box o__has-columns\\\"\\n          >\\n            <Onboarding::Home::Steps::SetupCustomDataAttributes::InstallMethod\\n              @attributes={{this.attributes}}\\n              @installMethodOptions={{this.installMethodOptions}}\\n              @selectedInstallMethod={{this.selectedInstallMethod}}\\n              @onChangeSelectedInstallMethod={{action\\n                (mut this.selectedInstallMethod)\\n              }}\\n              @verify={{perform this.verify}}\\n              @verified={{this.verified}}\\n              @errorMessage={{this.errorMessage}}\\n              @onCopyCode={{action this.trackInstallationMethodAnalyticsEvent \\\"copy_code\\\"}}\\n            />\\n          </div>\\n        </IcContent>\\n      </div>\\n\\n      {{#if this.verified}}\\n        <IcContent>\\n          <IcButton\\n            data-test-continue-button\\n            @type=\\\"primary\\\"\\n            @onClick={{action \\\"complete\\\"}}\\n            @label=\\\"Continue\\\"\\n            @disabled={{or @step.completed this.needsDependentStep}}\\n          />\\n        </IcContent>\\n      {{else}}\\n        <Onboarding::Home::InviteCardComponent\\n          @step={{@step}}\\n          @baseAnalyticsMetadata={{this.installationMethodAnalyticsMetadata}}\\n        />\\n      {{/if}}\\n    </div>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/track-your-data-attributes.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/track-your-data-attributes.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly, or, not, empty } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport {\n  notImplemented,\n  templateString,\n  ternary,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport {\n  INSTALL_METHODS as MESSENGER_INSTALL_METHODS,\n  INSTALL_METHOD_ANALYTICS_NAMES,\n} from 'embercom/lib/messenger/installation-constants';\nimport { task } from 'ember-concurrency';\nimport { captureException } from 'embercom/lib/sentry';\nimport ajax from 'embercom/lib/ajax';\n\nexport const INSTALL_TYPES = [\n  {\n    text: 'With code',\n    value: 'code',\n  },\n  {\n    text: 'With third-party app',\n    value: 'third-party',\n  },\n];\n\nexport const INSTALL_METHODS = {\n  code: [\n    MESSENGER_INSTALL_METHODS.JAVASCRIPT,\n    MESSENGER_INSTALL_METHODS.SINGLE_PAGE,\n    MESSENGER_INSTALL_METHODS.RAILS,\n    MESSENGER_INSTALL_METHODS.IOS,\n    MESSENGER_INSTALL_METHODS.ANDROID,\n    MESSENGER_INSTALL_METHODS.CORDOVA,\n  ],\n  'third-party': [\n    MESSENGER_INSTALL_METHODS.SEGMENT,\n    MESSENGER_INSTALL_METHODS.WORDPRESS,\n    MESSENGER_INSTALL_METHODS.SHOPIFY,\n  ],\n};\n\nexport const VERIFICATION_ERROR_TEXT =\n  'We’re sorry, we didn’t receive any attribute data. Check your code and try again.';\n\nexport const VERIFICATION_REQUEST_FAILED_TEXT =\n  'There was a problem on our end, please try again later or let us know.';\n\nconst ATTRIBUTE_TYPES_TO_HIDE = ['role', 'anonymous'];\n\nexport default Component.extend({\n  router: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  attributeService: service(),\n  attributes: computed('attributeService.allUserAttributes.[]', function() {\n    return this.get('attributeService.allUserAttributes')\n      .filter(\n        setting =>\n          !ATTRIBUTE_TYPES_TO_HIDE.includes(setting.get('attribute.type')) &&\n          setting.get('attribute.tracked') === false,\n      )\n      .map(setting => {\n        return { name: setting.get('attribute.name') };\n      });\n  }),\n  noAttributes: empty('attributes'),\n\n  step: null,\n  completionCallback: notImplemented('completionCallback is required'),\n  verified: false,\n\n  openStepCallback: null,\n  loggedInInstallTimestamp: or('app.first_identified_request_at', 'app.verifiedLoggedInInstallAt'),\n  noLoggedInInstall: not('loggedInInstallTimestamp'),\n  needsDependentStep: or('noAttributes', 'noLoggedInInstall'),\n  dependentStepIdentifier: ternary(\n    'noLoggedInInstall',\n    'set_up_messenger_logged_in',\n    'define_the_data_you_need',\n  ),\n  dependentStepTitle: ternary(\n    'noLoggedInInstall',\n    'have the Messenger installed for logged-in users',\n    'choose your data attributes first',\n  ),\n\n  installTypes: INSTALL_TYPES,\n\n  selectedInstallType: 'code',\n\n  installMethodComponentName: templateString(\n    'onboarding/home/steps/setup-custom-data-attributes/install-methods/${selectedInstallType}',\n  ),\n\n  selectedInstallMethod: null,\n\n  installMethodOptions: computed('selectedInstallType', function() {\n    return INSTALL_METHODS[this.selectedInstallType];\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.set('selectedInstallMethod', this.defaultSelectedInstallMethod);\n  },\n\n  defaultSelectedInstallMethod: computed('selectedInstallType', function() {\n    return INSTALL_METHODS[this.selectedInstallType].firstObject.value;\n  }),\n\n  installationMethodAnalyticsMetadata: computed(\n    'step.analyticsMetadata',\n    'selectedInstallMethod',\n    'selectedInstallType',\n    'showCodeInstructions',\n    function() {\n      return {\n        ...this.step.analyticsMetadata,\n        install_language: this.showCodeInstructions\n          ? INSTALL_METHOD_ANALYTICS_NAMES[this.selectedInstallMethod]\n          : undefined,\n        install_with: this.selectedInstallType,\n      };\n    },\n  ),\n\n  trackClickedAnalyticsEvent(object, params = {}) {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.step.analyticsMetadata,\n      ...params,\n      action: 'clicked',\n      object,\n    });\n  },\n\n  trackInstallationMethodAnalyticsEvent(object) {\n    this.trackClickedAnalyticsEvent(object, this.installationMethodAnalyticsMetadata);\n  },\n\n  verify: task(function*() {\n    this.setProperties({\n      errorMessage: null,\n      verified: false,\n    });\n\n    try {\n      let result = yield ajax({\n        url: '/ember/onboarding/home/steps/setup_custom_data_attributes/verify',\n        type: 'GET',\n        data: {\n          app_id: this.app.id,\n        },\n      });\n\n      this.set('verified', result.verified);\n\n      if (!this.verified) {\n        this.set('errorMessage', VERIFICATION_ERROR_TEXT);\n      }\n    } catch (e) {\n      this.setProperties({\n        errorMessage: VERIFICATION_REQUEST_FAILED_TEXT,\n        verified: false,\n      });\n      captureException(e);\n    }\n\n    this.trackInstallationMethodAnalyticsEvent('check_tracking');\n  }),\n\n  actions: {\n    showCode() {\n      this.trackClickedAnalyticsEvent('show_code_button', { context: this.useCase });\n      this.set('showCodeInstructions', true);\n    },\n\n    onInstallTypeChange(installMethod) {\n      this.set('selectedInstallType', installMethod);\n      this.set('selectedInstallMethod', this.defaultSelectedInstallMethod);\n    },\n\n    complete() {\n      this.completionCallback();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}}>\\n    This step is done, but you can always\\n    <Pulse::HelpContent::Video\\n      @wistiaId=\\\"6to0wc9z5v\\\"\\n      @title=\\\"watch the video\\\"\\n      @linkStyling=\\\"inline\\\"\\n      @onVideoClose={{fn @onVideoClose \\\"get_the_most_messenger_video\\\" @accordionAPI}}\\n      class=\\\"font-medium\\\"\\n    /> again.\\n  </content.banner>\\n  <content.container>\\n    <content.left>\\n      {{#if (has-feature \\\"hasOsa2OnboardingHome\\\")}}\\n        <p>Now that you've customized your Messenger, you're ready to start chatting with your customers so you can build better relationships with them. See how to get started by watching this video.</p>\\n      {{else}}\\n        <p>Now that you've customized your Messenger, you're ready to start talking with your customers. See how to get started by watching this video.</p>\\n      {{/if}}\\n      <div data-ghost-inspector=\\\"onboarding__home__steps__watch-get-the-most-messenger-video-button\\\">\\n        <Pulse::HelpContent::Video\\n          @wistiaId=\\\"6to0wc9z5v\\\"\\n          @onVideoClose={{fn @onVideoClose \\\"get_the_most_messenger_video\\\" @accordionAPI}}\\n        >\\n          <IcButton data-test-watch-welcome-video-button @type='primary' @label='Watch video' />\\n        </Pulse::HelpContent::Video>\\n      </div>\\n    </content.left>\\n    <content.right>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"6to0wc9z5v\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"get_the_most_messenger_video\\\" @accordionAPI}}\\n      >\\n        <Onboarding::Home::VideoThumbnail\\n          @src=\\\"/assets/images/onboarding/home/steps/get-the-most-messenger@1x.jpg\\\"\\n          @srcset=\\\"/assets/images/onboarding/home/steps/get-the-most-messenger@2x.jpg 2x\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.right>\\n  </content.container>\\n\\n  <div class=\\\"h-8\\\" />\\n\\n  <Onboarding::Home::InviteCardComponent @step={{@step}} @baseAnalyticsMetadata={{@step.analyticsMetadata}} @header=\\\"Need help deciding how to set up your Messenger?\\\"\\n    @text=\\\"Share this step with a teammate.\\\" />\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}}>\\n    This step is done, but you can always\\n    <Pulse::HelpContent::Video\\n      @wistiaId=\\\"6to0wc9z5v\\\"\\n      @title=\\\"watch the video\\\"\\n      @linkStyling=\\\"inline\\\"\\n      @onVideoClose={{fn @onVideoClose \\\"get_the_most_messenger_video\\\" @accordionAPI}}\\n      class=\\\"font-medium\\\"\\n    /> again.\\n  </content.banner>\\n  <content.container>\\n    <content.left>\\n      {{#if (has-feature \\\"hasOsa2OnboardingHome\\\")}}\\n        <p>Now that you've customized your Messenger, you're ready to start chatting with your customers so you can build better relationships with them. See how to get started by watching this video.</p>\\n      {{else}}\\n        <p>Now that you've customized your Messenger, you're ready to start talking with your customers. See how to get started by watching this video.</p>\\n      {{/if}}\\n      <div data-ghost-inspector=\\\"onboarding__home__steps__watch-get-the-most-messenger-video-button\\\">\\n        <Pulse::HelpContent::Video\\n          @wistiaId=\\\"6to0wc9z5v\\\"\\n          @onVideoClose={{fn @onVideoClose \\\"get_the_most_messenger_video\\\" @accordionAPI}}\\n        >\\n          <IcButton data-test-watch-welcome-video-button @type='primary' @label='Watch video' />\\n        </Pulse::HelpContent::Video>\\n      </div>\\n    </content.left>\\n    <content.right>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"6to0wc9z5v\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"get_the_most_messenger_video\\\" @accordionAPI}}\\n      >\\n        <Onboarding::Home::VideoThumbnail\\n          @src=\\\"/assets/images/onboarding/home/steps/get-the-most-messenger@1x.jpg\\\"\\n          @srcset=\\\"/assets/images/onboarding/home/steps/get-the-most-messenger@2x.jpg 2x\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.right>\\n  </content.container>\\n\\n  <div class=\\\"h-8\\\" />\\n\\n  <Onboarding::Home::InviteCardComponent @step={{@step}} @baseAnalyticsMetadata={{@step.analyticsMetadata}} @header=\\\"Need help deciding how to set up your Messenger?\\\"\\n    @text=\\\"Share this step with a teammate.\\\" />\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/watch-get-the-most-messenger-video.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/watch-get-the-most-messenger-video.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}} as |transitionToRoute|>\\n    This step is done, but you can always\\n    <Pulse::HelpContent::Video\\n      @wistiaId=\\\"ohw90yqxim\\\"\\n      @title=\\\"watch the video\\\"\\n      @linkStyling=\\\"inline\\\"\\n      @onVideoClose={{fn @onVideoClose \\\"articles_video\\\" @accordionAPI}}\\n      class=\\\"font-medium\\\"\\n    /> again.\\n  </content.banner>\\n  <content.container>\\n    <content.left>\\n      {{#if (has-feature \\\"hasOsa2OnboardingHome\\\")}}\\n        <p>\\n          Share articles on your site or in your product to provide self-serve support. Use them in outbound messages for targeted proactive support. Your team can also share them in chats to answer questions.\\n        </p>\\n        <p>\\n          This video helps you start.\\n        </p>\\n      {{else}}\\n        <p>\\n          Articles let you scale your support operations while giving your customers a trusted source of truth. Share articles on your site or in your product, with outbound messages or in chat.\\n        </p>\\n        <p>\\n          This video will get you started.\\n        </p>\\n        {{/if}}\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"ohw90yqxim\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"articles_video\\\" @accordionAPI}}\\n      >\\n        <IcButton\\n          data-test-watch-articles-video-button\\n          @type=\\\"primary\\\"\\n          @label=\\\"Watch video\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.left>\\n    <content.right>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"ohw90yqxim\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"articles_video\\\" @accordionAPI}}\\n      >\\n        <Onboarding::Home::VideoThumbnail\\n          @src=\\\"/assets/images/onboarding/home/steps/watch-how-to-use-articles-video@1x.jpg\\\"\\n          @srcset=\\\"/assets/images/onboarding/home/steps/watch-how-to-use-articles-video@2x.jpg 2x\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}} as |transitionToRoute|>\\n    This step is done, but you can always\\n    <Pulse::HelpContent::Video\\n      @wistiaId=\\\"ohw90yqxim\\\"\\n      @title=\\\"watch the video\\\"\\n      @linkStyling=\\\"inline\\\"\\n      @onVideoClose={{fn @onVideoClose \\\"articles_video\\\" @accordionAPI}}\\n      class=\\\"font-medium\\\"\\n    /> again.\\n  </content.banner>\\n  <content.container>\\n    <content.left>\\n      {{#if (has-feature \\\"hasOsa2OnboardingHome\\\")}}\\n        <p>\\n          Share articles on your site or in your product to provide self-serve support. Use them in outbound messages for targeted proactive support. Your team can also share them in chats to answer questions.\\n        </p>\\n        <p>\\n          This video helps you start.\\n        </p>\\n      {{else}}\\n        <p>\\n          Articles let you scale your support operations while giving your customers a trusted source of truth. Share articles on your site or in your product, with outbound messages or in chat.\\n        </p>\\n        <p>\\n          This video will get you started.\\n        </p>\\n        {{/if}}\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"ohw90yqxim\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"articles_video\\\" @accordionAPI}}\\n      >\\n        <IcButton\\n          data-test-watch-articles-video-button\\n          @type=\\\"primary\\\"\\n          @label=\\\"Watch video\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.left>\\n    <content.right>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"ohw90yqxim\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"articles_video\\\" @accordionAPI}}\\n      >\\n        <Onboarding::Home::VideoThumbnail\\n          @src=\\\"/assets/images/onboarding/home/steps/watch-how-to-use-articles-video@1x.jpg\\\"\\n          @srcset=\\\"/assets/images/onboarding/home/steps/watch-how-to-use-articles-video@2x.jpg 2x\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/watch-how-to-use-articles-video.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/watch-how-to-use-articles-video.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}} as |transitionToRoute|>\\n    This step is done, but you can always\\n    <Pulse::HelpContent::Video\\n      @wistiaId=\\\"ycjepdx45s\\\"\\n      @title=\\\"watch the video\\\"\\n      @linkStyling=\\\"inline\\\"\\n      @onVideoClose={{fn @onVideoClose \\\"product_tours_video\\\" @accordionAPI}}\\n      class=\\\"font-medium\\\"\\n    /> again.\\n  </content.banner>\\n  <content.container>\\n    <content.left>\\n      {{#if (has-feature \\\"hasOsa2OnboardingHome\\\")}}\\n        <p>\\n          Help people see your product's value faster and provide proactive support. Product Tours can give you\\n          <span\\n            class=\\\"onboarding__home__steps__inline-bold\\\"\\n          >\\n            7x\\n          </span>\\n          more customer engagement than email.\\n        </p>\\n        <p>You can set up a tours without any code — watch the video to see how.</p>\\n      {{else}}\\n        <p>\\n          Want people to explore the products you build? Product Tours can give you\\n          <span\\n            class=\\\"onboarding__home__steps__inline-bold\\\"\\n          >\\n            7x\\n          </span>\\n          more customer engagement than email. And you can set up a Product Tour without code — watch the video to see how it works.\\n        </p>\\n      {{/if}}\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"ycjepdx45s\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"product_tours_video\\\" @accordionAPI}}\\n      >\\n        <IcButton\\n          data-test-watch-product-tours-video-button\\n          @type=\\\"primary\\\"\\n          @label=\\\"Watch video\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.left>\\n    <content.right>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"ycjepdx45s\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"product_tours_video\\\" @accordionAPI}}\\n      >\\n        <Onboarding::Home::VideoThumbnail\\n          @src=\\\"/assets/images/onboarding/home/steps/watch-product-tours-video@1x.png\\\"\\n          @srcset=\\\"/assets/images/onboarding/home/steps/watch-product-tours-video@2x.png 2x\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}} as |transitionToRoute|>\\n    This step is done, but you can always\\n    <Pulse::HelpContent::Video\\n      @wistiaId=\\\"ycjepdx45s\\\"\\n      @title=\\\"watch the video\\\"\\n      @linkStyling=\\\"inline\\\"\\n      @onVideoClose={{fn @onVideoClose \\\"product_tours_video\\\" @accordionAPI}}\\n      class=\\\"font-medium\\\"\\n    /> again.\\n  </content.banner>\\n  <content.container>\\n    <content.left>\\n      {{#if (has-feature \\\"hasOsa2OnboardingHome\\\")}}\\n        <p>\\n          Help people see your product's value faster and provide proactive support. Product Tours can give you\\n          <span\\n            class=\\\"onboarding__home__steps__inline-bold\\\"\\n          >\\n            7x\\n          </span>\\n          more customer engagement than email.\\n        </p>\\n        <p>You can set up a tours without any code — watch the video to see how.</p>\\n      {{else}}\\n        <p>\\n          Want people to explore the products you build? Product Tours can give you\\n          <span\\n            class=\\\"onboarding__home__steps__inline-bold\\\"\\n          >\\n            7x\\n          </span>\\n          more customer engagement than email. And you can set up a Product Tour without code — watch the video to see how it works.\\n        </p>\\n      {{/if}}\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"ycjepdx45s\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"product_tours_video\\\" @accordionAPI}}\\n      >\\n        <IcButton\\n          data-test-watch-product-tours-video-button\\n          @type=\\\"primary\\\"\\n          @label=\\\"Watch video\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.left>\\n    <content.right>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"ycjepdx45s\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"product_tours_video\\\" @accordionAPI}}\\n      >\\n        <Onboarding::Home::VideoThumbnail\\n          @src=\\\"/assets/images/onboarding/home/steps/watch-product-tours-video@1x.png\\\"\\n          @srcset=\\\"/assets/images/onboarding/home/steps/watch-product-tours-video@2x.png 2x\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/watch-product-tours-video-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/watch-product-tours-video-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}} as |transitionToRoute|>\\n    This step is done, but you can always\\n    <Pulse::HelpContent::Video\\n      @wistiaId=\\\"t8glq32w3e\\\"\\n      @title=\\\"watch the video\\\"\\n      @linkStyling=\\\"inline\\\"\\n      @onVideoClose={{fn @onVideoClose \\\"send_targeted_outbound_messages_video\\\" @accordionAPI}}\\n      class=\\\"font-medium\\\"\\n    /> again.\\n  </content.banner>\\n  <content.container>\\n    <content.left>\\n      <p>\\n        With Outbound, you can send targeted messages to people based on <strong>who they are</strong> and <strong>what they do</strong> on your website or product.\\n      </p>\\n      <p>\\n        And &mdash; because timing is everything &mdash; you can specify the exact page or customer action that triggers a message.\\n      </p>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"t8glq32w3e\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"send_targeted_outbound_messages_video\\\" @accordionAPI}}\\n      >\\n        <IcButton\\n          data-test-watch-targeted-outbound-messages-video-button\\n          @type=\\\"primary\\\"\\n          @label=\\\"Watch video\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.left>\\n    <content.right>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"t8glq32w3e\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"send_targeted_outbound_messages_video\\\" @accordionAPI}}\\n      >\\n        <Onboarding::Home::VideoThumbnail\\n          @src=\\\"/assets/images/onboarding/home/steps/send-targeted-outbound-messages@1x.jpg\\\"\\n          @srcset=\\\"/assets/images/onboarding/home/steps/send-targeted-outbound-messages@2x.jpg 2x\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}} as |transitionToRoute|>\\n    This step is done, but you can always\\n    <Pulse::HelpContent::Video\\n      @wistiaId=\\\"t8glq32w3e\\\"\\n      @title=\\\"watch the video\\\"\\n      @linkStyling=\\\"inline\\\"\\n      @onVideoClose={{fn @onVideoClose \\\"send_targeted_outbound_messages_video\\\" @accordionAPI}}\\n      class=\\\"font-medium\\\"\\n    /> again.\\n  </content.banner>\\n  <content.container>\\n    <content.left>\\n      <p>\\n        With Outbound, you can send targeted messages to people based on <strong>who they are</strong> and <strong>what they do</strong> on your website or product.\\n      </p>\\n      <p>\\n        And &mdash; because timing is everything &mdash; you can specify the exact page or customer action that triggers a message.\\n      </p>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"t8glq32w3e\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"send_targeted_outbound_messages_video\\\" @accordionAPI}}\\n      >\\n        <IcButton\\n          data-test-watch-targeted-outbound-messages-video-button\\n          @type=\\\"primary\\\"\\n          @label=\\\"Watch video\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.left>\\n    <content.right>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"t8glq32w3e\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"send_targeted_outbound_messages_video\\\" @accordionAPI}}\\n      >\\n        <Onboarding::Home::VideoThumbnail\\n          @src=\\\"/assets/images/onboarding/home/steps/send-targeted-outbound-messages@1x.jpg\\\"\\n          @srcset=\\\"/assets/images/onboarding/home/steps/send-targeted-outbound-messages@2x.jpg 2x\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/watch-send-targeted-outbound-messages-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/watch-send-targeted-outbound-messages-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}} as |transitionToRoute|>\\n    This step is done, but you can always\\n    <Pulse::HelpContent::Video\\n      @wistiaId=\\\"vvl5ilinua\\\"\\n      @title=\\\"watch the video\\\"\\n      @linkStyling=\\\"inline\\\"\\n      @onVideoClose={{fn @onVideoClose \\\"series_video\\\" @accordionAPI}}\\n      class=\\\"font-medium\\\"\\n    /> again.\\n  </content.banner>\\n  <content.container>\\n    <content.left>\\n      <p>Create multi-channel campaigns of targeted messages that drive customer action both inside and outside your product.</p>\\n\\n      <p>Drag and drop to create engaging campaigns in minutes — watch the video to see how.</p>\\n\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"vvl5ilinua\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"series_video\\\" @accordionAPI}}\\n      >\\n        <IcButton\\n          data-test-watch-product-tours-video-button\\n          @type=\\\"primary\\\"\\n          @label=\\\"Watch video\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.left>\\n    <content.right>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"vvl5ilinua\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"series_video\\\" @accordionAPI}}\\n      >\\n        <Onboarding::Home::VideoThumbnail\\n          @src=\\\"/assets/images/onboarding/home/steps/watch-series-video@1x.png\\\"\\n          @srcset=\\\"/assets/images/onboarding/home/steps/watch-series-video@2x.png 2x\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}} as |transitionToRoute|>\\n    This step is done, but you can always\\n    <Pulse::HelpContent::Video\\n      @wistiaId=\\\"vvl5ilinua\\\"\\n      @title=\\\"watch the video\\\"\\n      @linkStyling=\\\"inline\\\"\\n      @onVideoClose={{fn @onVideoClose \\\"series_video\\\" @accordionAPI}}\\n      class=\\\"font-medium\\\"\\n    /> again.\\n  </content.banner>\\n  <content.container>\\n    <content.left>\\n      <p>Create multi-channel campaigns of targeted messages that drive customer action both inside and outside your product.</p>\\n\\n      <p>Drag and drop to create engaging campaigns in minutes — watch the video to see how.</p>\\n\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"vvl5ilinua\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"series_video\\\" @accordionAPI}}\\n      >\\n        <IcButton\\n          data-test-watch-product-tours-video-button\\n          @type=\\\"primary\\\"\\n          @label=\\\"Watch video\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.left>\\n    <content.right>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"vvl5ilinua\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"series_video\\\" @accordionAPI}}\\n      >\\n        <Onboarding::Home::VideoThumbnail\\n          @src=\\\"/assets/images/onboarding/home/steps/watch-series-video@1x.png\\\"\\n          @srcset=\\\"/assets/images/onboarding/home/steps/watch-series-video@2x.png 2x\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/watch-series-video-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/watch-series-video-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}} as |transitionToRoute|>\\n    This step is done, but you can always\\n    <Pulse::HelpContent::Video\\n      @wistiaId=\\\"sb2mx33k1p\\\"\\n      @title=\\\"watch the video\\\"\\n      @linkStyling=\\\"inline\\\"\\n      @onVideoClose={{fn @onVideoClose \\\"welcome_video\\\" @accordionAPI}}\\n      class=\\\"font-medium\\\"\\n    /> again.\\n  </content.banner>\\n  <content.container>\\n    <content.left>\\n      <p>\\n        {{#if (has-feature \\\"hasOsa2OnboardingHome\\\")}}\\n          Welcome to Intercom, your new Conversational Relationship Platform! We're excited to help you build better relationships with your customers.\\n        {{else}}\\n          Welcome to Intercom! Your path to great relationships with your customers starts here.\\n        {{/if}}\\n      </p>\\n      <p>\\n        First, watch a quick video to get an overview of the steps you’ll take to set up Intercom for your business, and what you’ll learn along the way.\\n      </p>\\n      <div\\n        data-ghost-inspector=\\\"onboarding__home__steps__watch-welcome-video-button\\\"\\n      >\\n        <Pulse::HelpContent::Video\\n          @wistiaId=\\\"sb2mx33k1p\\\"\\n          @onVideoClose={{fn @onVideoClose \\\"welcome_video\\\" @accordionAPI}}\\n        >\\n          <IcButton\\n            data-test-watch-welcome-video-button\\n            @type=\\\"primary\\\"\\n            @label=\\\"Get started\\\"\\n          />\\n        </Pulse::HelpContent::Video>\\n      </div>\\n    </content.left>\\n    <content.right>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"sb2mx33k1p\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"welcome_video\\\" @accordionAPI}}\\n      >\\n        <Onboarding::Home::VideoThumbnail\\n          @src=\\\"/assets/images/onboarding/home/steps/watch-welcome-video@1x.jpg\\\"\\n          @srcset=\\\"/assets/images/onboarding/home/steps/watch-welcome-video@2x.jpg 2x\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Onboarding::Home::StepContent as |content|>\\n  <content.banner @step={{@step}} as |transitionToRoute|>\\n    This step is done, but you can always\\n    <Pulse::HelpContent::Video\\n      @wistiaId=\\\"sb2mx33k1p\\\"\\n      @title=\\\"watch the video\\\"\\n      @linkStyling=\\\"inline\\\"\\n      @onVideoClose={{fn @onVideoClose \\\"welcome_video\\\" @accordionAPI}}\\n      class=\\\"font-medium\\\"\\n    /> again.\\n  </content.banner>\\n  <content.container>\\n    <content.left>\\n      <p>\\n        {{#if (has-feature \\\"hasOsa2OnboardingHome\\\")}}\\n          Welcome to Intercom, your new Conversational Relationship Platform! We're excited to help you build better relationships with your customers.\\n        {{else}}\\n          Welcome to Intercom! Your path to great relationships with your customers starts here.\\n        {{/if}}\\n      </p>\\n      <p>\\n        First, watch a quick video to get an overview of the steps you’ll take to set up Intercom for your business, and what you’ll learn along the way.\\n      </p>\\n      <div\\n        data-ghost-inspector=\\\"onboarding__home__steps__watch-welcome-video-button\\\"\\n      >\\n        <Pulse::HelpContent::Video\\n          @wistiaId=\\\"sb2mx33k1p\\\"\\n          @onVideoClose={{fn @onVideoClose \\\"welcome_video\\\" @accordionAPI}}\\n        >\\n          <IcButton\\n            data-test-watch-welcome-video-button\\n            @type=\\\"primary\\\"\\n            @label=\\\"Get started\\\"\\n          />\\n        </Pulse::HelpContent::Video>\\n      </div>\\n    </content.left>\\n    <content.right>\\n      <Pulse::HelpContent::Video\\n        @wistiaId=\\\"sb2mx33k1p\\\"\\n        @onVideoClose={{fn @onVideoClose \\\"welcome_video\\\" @accordionAPI}}\\n      >\\n        <Onboarding::Home::VideoThumbnail\\n          @src=\\\"/assets/images/onboarding/home/steps/watch-welcome-video@1x.jpg\\\"\\n          @srcset=\\\"/assets/images/onboarding/home/steps/watch-welcome-video@2x.jpg 2x\\\"\\n        />\\n      </Pulse::HelpContent::Video>\\n    </content.right>\\n  </content.container>\\n</Onboarding::Home::StepContent>\\n\",\"moduleName\":\"embercom/components/onboarding/home/steps/watch-welcome-video-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/steps/watch-welcome-video-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"onboarding__home__steps__video-opener-container u__relative u__pointer\\\" {{on \\\"click\\\" (if @onClick @onClick (noop))}} data-test-video-thumbnail>\\n  <div class=\\\"onboarding__home__steps__video-opener-icon u__center-item {{if @blackArrow \\\"o__black\\\"}}\\\">\\n    {{inline-svg \\\"arrow-right-thick\\\" class=\\\"onboarding__home__steps__video-opener-icon-arrow u__center-item\\\"}}\\n  </div>\\n  <img\\n    data-test-video-thumbnail-image\\n    class={{concat \\\"onboarding__home__steps__video-opener__image \\\" (if @size (concat \\\"o__\\\" @size))}}\\n    src=\\\"{{@src}}\\\"\\n    srcset=\\\"{{@srcset}}\\\"\\n  />\\n</div>\\n\", {\"contents\":\"<div class=\\\"onboarding__home__steps__video-opener-container u__relative u__pointer\\\" {{on \\\"click\\\" (if @onClick @onClick (noop))}} data-test-video-thumbnail>\\n  <div class=\\\"onboarding__home__steps__video-opener-icon u__center-item {{if @blackArrow \\\"o__black\\\"}}\\\">\\n    {{inline-svg \\\"arrow-right-thick\\\" class=\\\"onboarding__home__steps__video-opener-icon-arrow u__center-item\\\"}}\\n  </div>\\n  <img\\n    data-test-video-thumbnail-image\\n    class={{concat \\\"onboarding__home__steps__video-opener__image \\\" (if @size (concat \\\"o__\\\" @size))}}\\n    src=\\\"{{@src}}\\\"\\n    srcset=\\\"{{@srcset}}\\\"\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/home/video-thumbnail.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/home/video-thumbnail.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<button\\n  class=\\\"btn o__fit onboarding__intent-survey__btn {{if @cta 'o__cta '}}\\\"\\n  disabled={{@disabled}}\\n  {{on 'click' @onClick}}\\n  data-test-intent-survey-next-button\\n>\\n  {{@label}}\\n</button>\\n\", {\"contents\":\"<button\\n  class=\\\"btn o__fit onboarding__intent-survey__btn {{if @cta 'o__cta '}}\\\"\\n  disabled={{@disabled}}\\n  {{on 'click' @onClick}}\\n  data-test-intent-survey-next-button\\n>\\n  {{@label}}\\n</button>\\n\",\"moduleName\":\"embercom/components/onboarding/intent-survey/button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/intent-survey/button.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  {{on \\\"mouseleave\\\" (fn (mut this.isHovering) false)}}\\n  {{on \\\"mouseenter\\\" (fn (mut this.isHovering) true)}}\\n  data-ghost-inspector=\\\"intent__survey-option-select-{{@option.id}}\\\"\\n  class=\\\"{{if @option.allowOtherInput \\\"mb-4\\\"}}\\\"\\n>\\n  <IcCard\\n    @isInteractive={{true}}\\n    @padding=\\\"none\\\"\\n    class={{this.cardClassName}}\\n    data-test-survey-card={{@option.id}}\\n    {{on \\\"click\\\" (action this.handleCardClick)}}\\n  >\\n    {{#if @option.selected}}\\n      <div\\n        data-test-survey-card-checkmark\\n        class=\\\"onboarding__intent-survey__card-checkmark {{if this.hasIcon \\\"o__icon\\\"}}\\\"\\n      >\\n        {{ic-interface-icon \\\"small-check\\\" color=\\\"blue\\\" solo=true}}\\n      </div>\\n    {{/if}}\\n    <div class=\\\"flex flex-col justify-start flex-1\\\">\\n      {{#if this.hasIcon}}\\n        <div data-test-survey-card-icon class=\\\"o__center-text u__mb__10\\\">\\n          <img\\n            class={{unless this.showColoredIcon \\\"u__hidden\\\"}}\\n            width=\\\"70\\\"\\n            height=\\\"70\\\"\\n            src={{@option.colorIcon2x}}\\n            srcset=\\\"{{concat @option.colorIcon \\\", \\\" @option.colorIcon2x}} 2x\\\"\\n            alt={{@option.title}}\\n          />\\n          <img\\n            class={{if this.showColoredIcon \\\"u__hidden\\\"}}\\n            width=\\\"70\\\"\\n            height=\\\"70\\\"\\n            src={{@option.monochromeIcon2x}}\\n            srcset=\\\"{{concat @option.monochromeIcon \\\", \\\" @option.monochromeIcon2x}} 2x\\\"\\n            alt={{@option.title}}\\n          />\\n        </div>\\n      {{/if}}\\n      <div\\n        class=\\\"onboarding__intent-survey__card-title-wrapper layout__box o__center-text\\\"\\n      >\\n        {{#if this.editingOtherText}}\\n          <div\\n            class=\\\"layout__box o__has-columns o__centers-vertically onboarding__intent-survey__card-other\\\"\\n          >\\n            <AutoFocusComponent\\n              class=\\\"layout__box o__flexes-to-1\\\"\\n              @focusIf={{this.editingOtherText}}\\n            >\\n              <Input\\n                data-test-survey-card-other-input\\n                @type=\\\"text\\\"\\n                placeholder=\\\"Other (please specify)\\\"\\n                @value={{@option.otherText}}\\n                class=\\\"onboarding__intent-survey__card-other-input\\\"\\n                @insert-newline={{action \\\"setAndSelect\\\"}}\\n                @focus-out={{action \\\"deselectOther\\\"}}\\n              />\\n            </AutoFocusComponent>\\n            <IcButton\\n              data-test-survey-card-other-save-button\\n              class=\\\"onboarding__intent-survey__card-save-button\\\"\\n              @type=\\\"primary\\\"\\n              @icon=\\\"check\\\"\\n              @onClick={{action \\\"setAndSelect\\\"}}\\n            />\\n          </div>\\n        {{else}}\\n          <Heading\\n            data-test-survey-card-title\\n            @size={{if this.hasIcon \\\"3\\\" \\\"4\\\"}}\\n            class=\\\"{{if this.hasIcon \\\"m-4\\\"}} {{if @option.selected \\\"text-blue\\\"}} {{if this.isHovering (unless this.mobileDevice \\\"text-blue\\\")}} {{if @option.otherText \\\"u__one-truncated-line\\\"}}\\\"\\n          >\\n            {{or @option.otherText @option.title}}\\n          </Heading>\\n        {{/if}}\\n      </div>\\n    </div>\\n  </IcCard>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  {{on \\\"mouseleave\\\" (fn (mut this.isHovering) false)}}\\n  {{on \\\"mouseenter\\\" (fn (mut this.isHovering) true)}}\\n  data-ghost-inspector=\\\"intent__survey-option-select-{{@option.id}}\\\"\\n  class=\\\"{{if @option.allowOtherInput \\\"mb-4\\\"}}\\\"\\n>\\n  <IcCard\\n    @isInteractive={{true}}\\n    @padding=\\\"none\\\"\\n    class={{this.cardClassName}}\\n    data-test-survey-card={{@option.id}}\\n    {{on \\\"click\\\" (action this.handleCardClick)}}\\n  >\\n    {{#if @option.selected}}\\n      <div\\n        data-test-survey-card-checkmark\\n        class=\\\"onboarding__intent-survey__card-checkmark {{if this.hasIcon \\\"o__icon\\\"}}\\\"\\n      >\\n        {{ic-interface-icon \\\"small-check\\\" color=\\\"blue\\\" solo=true}}\\n      </div>\\n    {{/if}}\\n    <div class=\\\"flex flex-col justify-start flex-1\\\">\\n      {{#if this.hasIcon}}\\n        <div data-test-survey-card-icon class=\\\"o__center-text u__mb__10\\\">\\n          <img\\n            class={{unless this.showColoredIcon \\\"u__hidden\\\"}}\\n            width=\\\"70\\\"\\n            height=\\\"70\\\"\\n            src={{@option.colorIcon2x}}\\n            srcset=\\\"{{concat @option.colorIcon \\\", \\\" @option.colorIcon2x}} 2x\\\"\\n            alt={{@option.title}}\\n          />\\n          <img\\n            class={{if this.showColoredIcon \\\"u__hidden\\\"}}\\n            width=\\\"70\\\"\\n            height=\\\"70\\\"\\n            src={{@option.monochromeIcon2x}}\\n            srcset=\\\"{{concat @option.monochromeIcon \\\", \\\" @option.monochromeIcon2x}} 2x\\\"\\n            alt={{@option.title}}\\n          />\\n        </div>\\n      {{/if}}\\n      <div\\n        class=\\\"onboarding__intent-survey__card-title-wrapper layout__box o__center-text\\\"\\n      >\\n        {{#if this.editingOtherText}}\\n          <div\\n            class=\\\"layout__box o__has-columns o__centers-vertically onboarding__intent-survey__card-other\\\"\\n          >\\n            <AutoFocusComponent\\n              class=\\\"layout__box o__flexes-to-1\\\"\\n              @focusIf={{this.editingOtherText}}\\n            >\\n              <Input\\n                data-test-survey-card-other-input\\n                @type=\\\"text\\\"\\n                placeholder=\\\"Other (please specify)\\\"\\n                @value={{@option.otherText}}\\n                class=\\\"onboarding__intent-survey__card-other-input\\\"\\n                @insert-newline={{action \\\"setAndSelect\\\"}}\\n                @focus-out={{action \\\"deselectOther\\\"}}\\n              />\\n            </AutoFocusComponent>\\n            <IcButton\\n              data-test-survey-card-other-save-button\\n              class=\\\"onboarding__intent-survey__card-save-button\\\"\\n              @type=\\\"primary\\\"\\n              @icon=\\\"check\\\"\\n              @onClick={{action \\\"setAndSelect\\\"}}\\n            />\\n          </div>\\n        {{else}}\\n          <Heading\\n            data-test-survey-card-title\\n            @size={{if this.hasIcon \\\"3\\\" \\\"4\\\"}}\\n            class=\\\"{{if this.hasIcon \\\"m-4\\\"}} {{if @option.selected \\\"text-blue\\\"}} {{if this.isHovering (unless this.mobileDevice \\\"text-blue\\\")}} {{if @option.otherText \\\"u__one-truncated-line\\\"}}\\\"\\n          >\\n            {{or @option.otherText @option.title}}\\n          </Heading>\\n        {{/if}}\\n      </div>\\n    </div>\\n  </IcCard>\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/intent-survey/survey-card-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/intent-survey/survey-card-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { templateString, ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport { or } from '@ember/object/computed';\nimport { action } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  tagName: '',\n  isHovering: false,\n  editingOtherText: false,\n  mobileDevice: readOnly('media.isMobile'),\n  hasIcon: or('option.monochromeIcon', 'option.monochromeIcon2x'),\n  iconClassName: ternary('hasIcon', 'o__icon', ''),\n  selectedClassName: ternary('option.selected', 'o__selected', ''),\n  editingClassName: ternary('editingOtherText', 'o__editing', ''),\n  showColoredIcon: or('isHovering', 'editingOtherText', 'option.selected'),\n  cardClassName: templateString(\n    'onboarding__intent-survey__card ${iconClassName} ${selectedClassName} ${editingClassName} u__relative',\n  ),\n\n  handleCardClick: action(function(event) {\n    if (event.target.type === 'text') {\n      return;\n    }\n    if (this.get('option.allowOtherInput')) {\n      if (this.editingOtherText) {\n        return;\n      }\n      this.toggleProperty('editingOtherText');\n    } else {\n      this.option.toggleProperty('selected');\n    }\n    if (this.onClick) {\n      this.onClick(this.option);\n    }\n  }),\n  actions: {\n    setAndSelect() {\n      this.set('editingOtherText', false);\n      this.set('option.selected', true);\n    },\n    deselectOther() {\n      if (!this.isHovering && this.editingOtherText) {\n        this.set('editingOtherText', false);\n        this.set('option.selected', false);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"flex flex-row items-center justify-center flex-wrap mb-8 onboarding__intent-survey__card-wrapper\\\"\\n>\\n  {{#each @surveyOptions as |option|}}\\n    <Onboarding::IntentSurvey::SurveyCardComponent @onClick={{if this.singleSelect this.unselectOlderSelections}} @option={{option}} />\\n  {{/each}}\\n</div>\\n<div class=\\\"onboarding__intent-survey__button-wrapper mb-2\\\" data-ghost-inspector=\\\"intent__survey-continue-button\\\">\\n  <Onboarding::IntentSurvey::Button\\n    @label={{this.buttonLabel}}\\n    @disabled={{this.buttonDisabled}}\\n    @onClick={{action \\\"nextPage\\\"}}\\n    data-test-intent-survey-next-button={{true}}\\n  />\\n</div>\\n<div class=\\\"flex items-center justify-center mb-10\\\">\\n  <Onboarding::IntentSurvey::SurveyStepsComponent\\n    @numberOfSteps={{@numberOfSteps}}\\n    @activeStep={{@activeStep}}\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"flex flex-row items-center justify-center flex-wrap mb-8 onboarding__intent-survey__card-wrapper\\\"\\n>\\n  {{#each @surveyOptions as |option|}}\\n    <Onboarding::IntentSurvey::SurveyCardComponent @onClick={{if this.singleSelect this.unselectOlderSelections}} @option={{option}} />\\n  {{/each}}\\n</div>\\n<div class=\\\"onboarding__intent-survey__button-wrapper mb-2\\\" data-ghost-inspector=\\\"intent__survey-continue-button\\\">\\n  <Onboarding::IntentSurvey::Button\\n    @label={{this.buttonLabel}}\\n    @disabled={{this.buttonDisabled}}\\n    @onClick={{action \\\"nextPage\\\"}}\\n    data-test-intent-survey-next-button={{true}}\\n  />\\n</div>\\n<div class=\\\"flex items-center justify-center mb-10\\\">\\n  <Onboarding::IntentSurvey::SurveyStepsComponent\\n    @numberOfSteps={{@numberOfSteps}}\\n    @activeStep={{@activeStep}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/intent-survey/survey-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/intent-survey/survey-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { filterBy, readOnly, empty } from '@ember/object/computed';\nimport { sendIntercomUpdate } from 'embercom/lib/intercom-widget-helper';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { assert } from '@ember/debug';\n\nexport default Component.extend({\n  tagName: '',\n  purchaseAnalyticsService: service(),\n  numberOfQuestions: readOnly('surveyOptions.length'),\n  buttonLabel: 'Continue',\n  selectedOptions: filterBy('surveyOptions', 'selected', true),\n  buttonDisabled: empty('selectedOptions'),\n  otherText: '',\n  singleSelect: false,\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.purchaseAnalyticsService.trackAnalyticsAndGtmEvent({\n      action: 'viewed',\n      object: 'intent_category',\n      context: 'intent_survey',\n      question: this.surveyQuestionKey,\n    });\n  },\n\n  setCustomDataAttribute() {\n    sendIntercomUpdate({\n      [`intent_survey_${this.surveyQuestionKey}`]: this.selectedOptions.mapBy('id').join(', '),\n    });\n  },\n\n  async recordResponse() {\n    this.selectedOptions.forEach(option => {\n      this.purchaseAnalyticsService.trackAnalyticsAndGtmEvent({\n        action: 'submitted',\n        object: 'intent_category',\n        context: 'intent_survey',\n        question: this.surveyQuestionKey,\n        selection: option.id,\n        other_text: option.otherText || null,\n      });\n    });\n    if (this.onRecordResponse) {\n      await this.onRecordResponse(this.selectedOptions);\n    }\n  },\n\n  unselectOlderSelections: action(function(currentSelectedOption) {\n    this.selectedOptions.forEach(option => {\n      if (option.id !== currentSelectedOption.id) {\n        option.set('selected', false);\n      }\n    });\n  }),\n\n  actions: {\n    async nextPage() {\n      if (!this.surveyQuestionKey) {\n        return assert(\n          'You must pass a surveyQuestionKey to the survey component in order to record responses',\n        );\n      }\n      await this.recordResponse();\n      this.setCustomDataAttribute();\n      this.nextPage();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__has-columns\\\">\\n  {{#each (range 1 @numberOfSteps true) as |index|}}\\n    <div class='{{if (eq index @activeStep) \\\"o__selected\\\"}} u__mt__20 onboarding__intent-survey__steps'></div>\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__has-columns\\\">\\n  {{#each (range 1 @numberOfSteps true) as |index|}}\\n    <div class='{{if (eq index @activeStep) \\\"o__selected\\\"}} u__mt__20 onboarding__intent-survey__steps'></div>\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/onboarding/intent-survey/survey-steps-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/onboarding/intent-survey/survey-steps-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","define(\"embercom/components/one-way-checkbox\", [\"exports\", \"ember-one-way-controls/components/one-way-checkbox\"], function (_exports, _oneWayCheckbox) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _oneWayCheckbox.default;\n    }\n  });\n});\n","define(\"embercom/components/one-way-color\", [\"exports\", \"ember-one-way-controls/components/one-way-color\"], function (_exports, _oneWayColor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _oneWayColor.default;\n    }\n  });\n});\n","define(\"embercom/components/one-way-date\", [\"exports\", \"ember-one-way-controls/components/one-way-date\"], function (_exports, _oneWayDate) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _oneWayDate.default;\n    }\n  });\n});\n","define(\"embercom/components/one-way-datetime-local\", [\"exports\", \"ember-one-way-controls/components/one-way-datetime-local\"], function (_exports, _oneWayDatetimeLocal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _oneWayDatetimeLocal.default;\n    }\n  });\n});\n","define(\"embercom/components/one-way-email\", [\"exports\", \"ember-one-way-controls/components/one-way-email\"], function (_exports, _oneWayEmail) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _oneWayEmail.default;\n    }\n  });\n});\n","define(\"embercom/components/one-way-file\", [\"exports\", \"ember-one-way-controls/components/one-way-file\"], function (_exports, _oneWayFile) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _oneWayFile.default;\n    }\n  });\n});\n","define(\"embercom/components/one-way-hidden\", [\"exports\", \"ember-one-way-controls/components/one-way-hidden\"], function (_exports, _oneWayHidden) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _oneWayHidden.default;\n    }\n  });\n});\n","define(\"embercom/components/one-way-input\", [\"exports\", \"ember-one-way-controls/components/one-way-input\"], function (_exports, _oneWayInput) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _oneWayInput.default;\n    }\n  });\n});\n","define(\"embercom/components/one-way-month\", [\"exports\", \"ember-one-way-controls/components/one-way-month\"], function (_exports, _oneWayMonth) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _oneWayMonth.default;\n    }\n  });\n});\n","define(\"embercom/components/one-way-number\", [\"exports\", \"ember-one-way-controls/components/one-way-number\"], function (_exports, _oneWayNumber) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _oneWayNumber.default;\n    }\n  });\n});\n","define(\"embercom/components/one-way-password\", [\"exports\", \"ember-one-way-controls/components/one-way-password\"], function (_exports, _oneWayPassword) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _oneWayPassword.default;\n    }\n  });\n});\n","define(\"embercom/components/one-way-radio\", [\"exports\", \"ember-one-way-controls/components/one-way-radio\"], function (_exports, _oneWayRadio) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _oneWayRadio.default;\n    }\n  });\n});\n","define(\"embercom/components/one-way-range\", [\"exports\", \"ember-one-way-controls/components/one-way-range\"], function (_exports, _oneWayRange) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _oneWayRange.default;\n    }\n  });\n});\n","define(\"embercom/components/one-way-search\", [\"exports\", \"ember-one-way-controls/components/one-way-search\"], function (_exports, _oneWaySearch) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _oneWaySearch.default;\n    }\n  });\n});\n","define(\"embercom/components/one-way-select\", [\"exports\", \"ember-one-way-controls/components/one-way-select\"], function (_exports, _oneWaySelect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _oneWaySelect.default;\n    }\n  });\n});\n","define(\"embercom/components/one-way-select/option\", [\"exports\", \"ember-one-way-controls/components/one-way-select/option\"], function (_exports, _option) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _option.default;\n    }\n  });\n});\n","define(\"embercom/components/one-way-tel\", [\"exports\", \"ember-one-way-controls/components/one-way-tel\"], function (_exports, _oneWayTel) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _oneWayTel.default;\n    }\n  });\n});\n","define(\"embercom/components/one-way-text\", [\"exports\", \"ember-one-way-controls/components/one-way-text\"], function (_exports, _oneWayText) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _oneWayText.default;\n    }\n  });\n});\n","define(\"embercom/components/one-way-textarea\", [\"exports\", \"ember-one-way-controls/components/one-way-textarea\"], function (_exports, _oneWayTextarea) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _oneWayTextarea.default;\n    }\n  });\n});\n","define(\"embercom/components/one-way-time\", [\"exports\", \"ember-one-way-controls/components/one-way-time\"], function (_exports, _oneWayTime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _oneWayTime.default;\n    }\n  });\n});\n","define(\"embercom/components/one-way-url\", [\"exports\", \"ember-one-way-controls/components/one-way-url\"], function (_exports, _oneWayUrl) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _oneWayUrl.default;\n    }\n  });\n});\n","define(\"embercom/components/one-way-week\", [\"exports\", \"ember-one-way-controls/components/one-way-week\"], function (_exports, _oneWayWeek) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _oneWayWeek.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span\\n  class=\\\"tabs__discrete-tab u__all-pointer-events {{if isSelected \\\"o__selected\\\" \\\"u__pointer-cursor\\\"}}\\\"\\n  data-test-branching-qualification-answer\\n>\\n  {{#if isEditing}}\\n    <AutoFocusComponent>\\n      <Common::ExpandingOneWayInput\\n        data-test-branching-answer-label-editor\\n        @value={{answer.label}}\\n        placeholder={{concat \\\"e.g. \\\" categoryExample}}\\n        @update={{action (mut answer.label)}}\\n        @onenter={{action \\\"completeEditing\\\"}}\\n        @onescape={{action \\\"cancelEditing\\\"}}\\n        @focusOut={{action \\\"completeEditing\\\"}}\\n        @maxlength={{34}}\\n        class={{concat\\n          \\\"f__text o__small \\\"\\n          (if\\n            (and displayValidationErrors (not answer.validations.isValid))\\n            \\\"o__error\\\"\\n          )\\n        }}\\n      />\\n    </AutoFocusComponent>\\n  {{else}}\\n    <div\\n      class=\\\"branching-qualification__category-option\\\"\\n      data-test-branching-qualification-answer-label={{answer.label}}\\n    >\\n      {{answer.label}} <span\\n        class=\\\"branching-qualification__category-options__icon u__display-inline-block\\\"\\n      >\\n        {{#if isSelected}}\\n          <IcDropdownOpener @groupList={{answerActions}}>\\n            <div\\n              class=\\\"branching-qualification__options-dropdown-icon-svg u__pointer-cursor\\\"\\n              data-test-branching-qualification-answer-dropdown\\n            >\\n              {{ic-interface-icon \\\"small-ellipsis\\\" solo=true color=\\\"black\\\"}}\\n            </div>\\n          </IcDropdownOpener>\\n        {{/if}}\\n      </span>\\n    </div>\\n  {{/if}}\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span\\n  class=\\\"tabs__discrete-tab u__all-pointer-events {{if isSelected \\\"o__selected\\\" \\\"u__pointer-cursor\\\"}}\\\"\\n  data-test-branching-qualification-answer\\n>\\n  {{#if isEditing}}\\n    <AutoFocusComponent>\\n      <Common::ExpandingOneWayInput\\n        data-test-branching-answer-label-editor\\n        @value={{answer.label}}\\n        placeholder={{concat \\\"e.g. \\\" categoryExample}}\\n        @update={{action (mut answer.label)}}\\n        @onenter={{action \\\"completeEditing\\\"}}\\n        @onescape={{action \\\"cancelEditing\\\"}}\\n        @focusOut={{action \\\"completeEditing\\\"}}\\n        @maxlength={{34}}\\n        class={{concat\\n          \\\"f__text o__small \\\"\\n          (if\\n            (and displayValidationErrors (not answer.validations.isValid))\\n            \\\"o__error\\\"\\n          )\\n        }}\\n      />\\n    </AutoFocusComponent>\\n  {{else}}\\n    <div\\n      class=\\\"branching-qualification__category-option\\\"\\n      data-test-branching-qualification-answer-label={{answer.label}}\\n    >\\n      {{answer.label}} <span\\n        class=\\\"branching-qualification__category-options__icon u__display-inline-block\\\"\\n      >\\n        {{#if isSelected}}\\n          <IcDropdownOpener @groupList={{answerActions}}>\\n            <div\\n              class=\\\"branching-qualification__options-dropdown-icon-svg u__pointer-cursor\\\"\\n              data-test-branching-qualification-answer-dropdown\\n            >\\n              {{ic-interface-icon \\\"small-ellipsis\\\" solo=true color=\\\"black\\\"}}\\n            </div>\\n          </IcDropdownOpener>\\n        {{/if}}\\n      </span>\\n    </div>\\n  {{/if}}\\n</span>\\n\",\"moduleName\":\"embercom/components/operator-settings/qualify-leads/branching-qualification-answer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/operator-settings/qualify-leads/branching-qualification-answer.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { isEmpty } from '@ember/utils';\nimport { reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  notificationsService: service(),\n  tagName: '',\n  isEditing: reads('answer.justAdded'),\n  displayValidationErrors: false,\n\n  init() {\n    this._super(...arguments);\n    this.set('answerActions', [\n      {\n        items: [\n          {\n            text: 'Edit reply button',\n            icon: 'edit',\n            onSelectItem: () => this.enableEditing(),\n          },\n          {\n            text: 'Delete reply button',\n            icon: 'delete',\n            onSelectItem: () => this.removeBranchingAnswer(),\n          },\n        ],\n      },\n    ]);\n  },\n\n  enableEditing() {\n    this.set('isEditing', true);\n    this.onBeginEditing();\n  },\n\n  removeBranchingAnswer() {\n    this.onRemoveAnswer(this.answer);\n  },\n\n  actions: {\n    completeEditing() {\n      let answer = this.answer;\n      if (isEmpty(answer.get('label'))) {\n        if (answer.get('justAdded')) {\n          this.removeBranchingAnswer();\n        } else {\n          this.set('displayValidationErrors', true);\n          this.notificationsService.notifyError(\"Lead category can't be blank.\");\n        }\n        return;\n      }\n      this.set('displayValidationErrors', false);\n      this.set('isEditing', false);\n      this.set('justAdded', false);\n      this.onCompleteEditing(answer);\n    },\n\n    cancelEditing() {\n      let answer = this.answer;\n      answer.rollbackAttributes();\n      if (isEmpty(answer.get('label'))) {\n        return this.onRemoveAnswer(answer);\n      }\n      this.set('isEditing', false);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box\\\">\\n  <div\\n    class=\\\"layout__box o__has-columns u__ml__10\\\"\\n    data-test-branching-qualification-container\\n  >\\n    <div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n      <div class=\\\"u__padb__10 u__mt__20\\\">\\n        <div\\n          class=\\\"layout__box o__centers-vertically branching-qualification__category-options {{if hasBranchingQualificationAnswers \\\"branching-qualification__category-options__underline\\\"}}\\\"\\n        >\\n          {{#each branchingQualificationAnswers as |answer index|}}\\n            <span {{action \\\"setSelection\\\" answer}}>\\n              <OperatorSettings::QualifyLeads::BranchingQualificationAnswer\\n                @answer={{answer}}\\n                @isSelected={{eq answer selectedAnswer}}\\n                @categoryExample={{get categoryExamples index}}\\n                @displayValidationErrors={{displayValidationErrors}}\\n                @onRemoveAnswer={{action \\\"removeBranchingAnswer\\\"}}\\n                @onBeginEditing={{action \\\"beganEditingAnswer\\\"}}\\n                @onCompleteEditing={{action \\\"completedEditingAnswer\\\"}}\\n              />\\n            </span>\\n          {{/each}}\\n          {{#if canAddBranchingQualificationAnswer}}\\n            <a\\n              class=\\\"btn__tertiary branching-qualification__category__add {{if isEditingAnswerLabel \\\"o__disabled\\\"}}\\\"\\n              data-test-branching-qualification-add\\n              {{action \\\"addBranchingAnswer\\\"}}\\n            >\\n              {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add reply button\\n            </a>\\n          {{/if}}\\n        </div>\\n      </div>\\n      {{#if selectedAnswer}}\\n        <div class=\\\"u__ml__20\\\">\\n          <OperatorSettings::QualifyLeads::QualificationEditor\\n            @attributesInUse={{selectedAnswer.qualificationAttributes}}\\n            @rules={{selectedAnswer.followUpRules}}\\n            @isEnabled={{hasBranchingQualification}}\\n            @attributeEdited={{action (optional \\\"recordAttributeEdited\\\")}}\\n            @attributesDescription=\\\"Next, Operator can qualify leads by asking for more information. You can leave this section empty to skip straight to follow up rules\\\"\\n            @rulesDescription={{concat\\n              'Operator can follow up with leads who reply with \\\"'\\n              selectedAnswer.label\\n              '\\\" and match the following rules'\\n            }}\\n          />\\n        </div>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box\\\">\\n  <div\\n    class=\\\"layout__box o__has-columns u__ml__10\\\"\\n    data-test-branching-qualification-container\\n  >\\n    <div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n      <div class=\\\"u__padb__10 u__mt__20\\\">\\n        <div\\n          class=\\\"layout__box o__centers-vertically branching-qualification__category-options {{if hasBranchingQualificationAnswers \\\"branching-qualification__category-options__underline\\\"}}\\\"\\n        >\\n          {{#each branchingQualificationAnswers as |answer index|}}\\n            <span {{action \\\"setSelection\\\" answer}}>\\n              <OperatorSettings::QualifyLeads::BranchingQualificationAnswer\\n                @answer={{answer}}\\n                @isSelected={{eq answer selectedAnswer}}\\n                @categoryExample={{get categoryExamples index}}\\n                @displayValidationErrors={{displayValidationErrors}}\\n                @onRemoveAnswer={{action \\\"removeBranchingAnswer\\\"}}\\n                @onBeginEditing={{action \\\"beganEditingAnswer\\\"}}\\n                @onCompleteEditing={{action \\\"completedEditingAnswer\\\"}}\\n              />\\n            </span>\\n          {{/each}}\\n          {{#if canAddBranchingQualificationAnswer}}\\n            <a\\n              class=\\\"btn__tertiary branching-qualification__category__add {{if isEditingAnswerLabel \\\"o__disabled\\\"}}\\\"\\n              data-test-branching-qualification-add\\n              {{action \\\"addBranchingAnswer\\\"}}\\n            >\\n              {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add reply button\\n            </a>\\n          {{/if}}\\n        </div>\\n      </div>\\n      {{#if selectedAnswer}}\\n        <div class=\\\"u__ml__20\\\">\\n          <OperatorSettings::QualifyLeads::QualificationEditor\\n            @attributesInUse={{selectedAnswer.qualificationAttributes}}\\n            @rules={{selectedAnswer.followUpRules}}\\n            @isEnabled={{hasBranchingQualification}}\\n            @attributeEdited={{action (optional \\\"recordAttributeEdited\\\")}}\\n            @attributesDescription=\\\"Next, Operator can qualify leads by asking for more information. You can leave this section empty to skip straight to follow up rules\\\"\\n            @rulesDescription={{concat\\n              'Operator can follow up with leads who reply with \\\"'\\n              selectedAnswer.label\\n              '\\\" and match the following rules'\\n            }}\\n          />\\n        </div>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/operator-settings/qualify-leads/branching-qualification-answers-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/operator-settings/qualify-leads/branching-qualification-answers-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { lt, gt } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  categoryExamples: ['Developer', 'Product manager', 'Designer'],\n  selectedAnswer: null,\n  isEditingAnswerLabel: false,\n\n  init() {\n    this._super(...arguments);\n    this.setSelectedAnswer(this.get('branchingQualificationAnswers.firstObject'));\n  },\n\n  canAddBranchingQualificationAnswer: lt('branchingQualificationAnswers.length', 3),\n  hasBranchingQualificationAnswers: gt('branchingQualificationAnswers.length', 0),\n\n  setSelectedAnswer(answer) {\n    this.set('selectedAnswer', answer);\n    this.set('isEditingAnswerLabel', false);\n  },\n\n  actions: {\n    addBranchingAnswer() {\n      let answer = this.branchingQualificationAnswers.createFragment({\n        justAdded: true,\n      });\n      answer.get('qualificationAttributes').createFragment({ identifier: 'email' });\n      this.set('isEditingAnswerLabel', true);\n    },\n\n    removeBranchingAnswer(answer) {\n      this.branchingQualificationAnswers.removeFragment(answer);\n      if (answer === this.selectedAnswer) {\n        this.setSelectedAnswer(this.get('branchingQualificationAnswers.firstObject'));\n      }\n      this.set('isEditingAnswerLabel', false);\n    },\n\n    setSelection(answer) {\n      this.setSelectedAnswer(answer);\n    },\n\n    beganEditingAnswer() {\n      this.set('isEditingAnswerLabel', true);\n    },\n\n    completedEditingAnswer(answer) {\n      this.setSelectedAnswer(answer);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if qualificationAttributes}}\\n  <p class=\\\"u__mb__10\\\">\\n    {{attributesDescription}}\\n    <IcTooltipIcon @isInteractive={{true}}>\\n      <p>Operator can't collect time or date data.</p>\\n      <a href={{href-to 'apps.app.settings.qualification-settings'}}>Manage your qualification data</a>\\n    </IcTooltipIcon>\\n  </p>\\n  <QualificationAttributes::AttributeSelector\\n    @qualificationAttributes={{qualificationAttributes}}\\n    @attributesInUse={{attributesInUse}}\\n    @isEditable={{isEnabled}}\\n    @attributeEdited={{attributeEdited}}\\n    @allowNoAttributes={{allowNoAttributes}}\\n  />\\n  <div\\n    class=\\\"layout__box o__has-columns o__flexes-to-1\\\"\\n    data-test-qualification-follow-up\\n  >\\n    <div class=\\\"u__mt__30 u__mb__30 flex-auto min-w-0\\\">\\n      <p class=\\\"u__mb__10\\\">\\n        {{rulesDescription}}\\n        <IcTooltipIcon @isInteractive={{true}}>\\n          <p>We'll apply the first rule that matches.</p>\\n          <Pulse::HelpContent::Link\\n            @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/live-chat-for-sales/how-do-i-set-up-follow-up-rules-for-my-leads\\\"\\n            @title=\\\"How follow up rules work.\\\"\\n            @type=\\\"article\\\"\\n            @linkStyling=\\\"inline\\\"\\n          />\\n        </IcTooltipIcon>\\n      </p>\\n      <Rules::RulesEditor\\n        @rules={{rules}}\\n        @allowedRuleActions={{allowedRuleActions}}\\n        @allowedRuleConditionalAttributes={{allowedRuleConditionalAttributes}}\\n        @actionEditorContext={{hash canRemoveAssignee=\\\"true\\\"}}\\n        @isDisabled={{not isEnabled}}\\n      />\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if qualificationAttributes}}\\n  <p class=\\\"u__mb__10\\\">\\n    {{attributesDescription}}\\n    <IcTooltipIcon @isInteractive={{true}}>\\n      <p>Operator can't collect time or date data.</p>\\n      <a href={{href-to 'apps.app.settings.qualification-settings'}}>Manage your qualification data</a>\\n    </IcTooltipIcon>\\n  </p>\\n  <QualificationAttributes::AttributeSelector\\n    @qualificationAttributes={{qualificationAttributes}}\\n    @attributesInUse={{attributesInUse}}\\n    @isEditable={{isEnabled}}\\n    @attributeEdited={{attributeEdited}}\\n    @allowNoAttributes={{allowNoAttributes}}\\n  />\\n  <div\\n    class=\\\"layout__box o__has-columns o__flexes-to-1\\\"\\n    data-test-qualification-follow-up\\n  >\\n    <div class=\\\"u__mt__30 u__mb__30 flex-auto min-w-0\\\">\\n      <p class=\\\"u__mb__10\\\">\\n        {{rulesDescription}}\\n        <IcTooltipIcon @isInteractive={{true}}>\\n          <p>We'll apply the first rule that matches.</p>\\n          <Pulse::HelpContent::Link\\n            @href=\\\"https://www.intercom.com/help/faqs-and-troubleshooting/live-chat-for-sales/how-do-i-set-up-follow-up-rules-for-my-leads\\\"\\n            @title=\\\"How follow up rules work.\\\"\\n            @type=\\\"article\\\"\\n            @linkStyling=\\\"inline\\\"\\n          />\\n        </IcTooltipIcon>\\n      </p>\\n      <Rules::RulesEditor\\n        @rules={{rules}}\\n        @allowedRuleActions={{allowedRuleActions}}\\n        @allowedRuleConditionalAttributes={{allowedRuleConditionalAttributes}}\\n        @actionEditorContext={{hash canRemoveAssignee=\\\"true\\\"}}\\n        @isDisabled={{not isEnabled}}\\n      />\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/operator-settings/qualify-leads/qualification-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/operator-settings/qualify-leads/qualification-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly, mapBy } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { inject } from '@ember/service';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  attributeService: inject(),\n  appService: inject(),\n  store: inject(),\n  allowNoAttributes: true,\n\n  init() {\n    this._super(...arguments);\n    this.fetchQualificationAttributes.perform();\n  },\n\n  app: readOnly('appService.app'),\n  currentQualificationAttributeIdentifiers: mapBy('attributesInUse', 'identifier'),\n\n  fetchQualificationAttributes: task(function*() {\n    let qualificationAttributes = yield this.store.findAll('people/qualification-attribute');\n    this.set('qualificationAttributes', qualificationAttributes);\n  }).drop(),\n\n  allowedRuleConditionalAttributes: computed(\n    'currentQualificationAttributeIdentifiers',\n    function() {\n      let selectedIdentifiers = this.currentQualificationAttributeIdentifiers;\n      let attributeService = this.attributeService;\n\n      let selectableAttributeIdentifiers = selectedIdentifiers\n        .compact()\n        .concat([\n          'email',\n          'phone',\n          'geoip_data.country_name',\n          'geoip_data.region_name',\n          'geoip_data.city_name',\n        ])\n        .uniq();\n\n      selectableAttributeIdentifiers.push('owner_id');\n\n      return [\n        {\n          attributes: attributeService.findByIdentifiers(selectableAttributeIdentifiers),\n        },\n      ];\n    },\n  ),\n\n  allowedRuleActions: computed(\n    'app.hasMarketoEnrichmentIntegration',\n    'app.hasSalesforceIntegration',\n    'app.canUseBranchingQualification',\n    'app.hasHubSpotIntegration',\n    'app.canUsePriorityRules',\n    function() {\n      let actions = ['assign-conversation', 'tag-user', 'add-tag-to-conversation'];\n\n      if (this.get('app.hasSalesforceIntegration')) {\n        actions.push('send-to-salesforce');\n      }\n\n      if (this.get('app.hasHubSpotIntegration')) {\n        actions.push('send-to-hubspot');\n      }\n\n      if (this.get('app.hasMarketoEnrichmentIntegration')) {\n        actions.push('send-to-marketo');\n        if (this.get('app.canUseMarketoTriggerCampaigns')) {\n          actions.push('trigger-marketo-campaign');\n        }\n      }\n\n      if (this.get('app.canUsePriorityRules')) {\n        actions.push('change-conversation-priority');\n      }\n\n      if (this.get('app.canUseBranchingQualification')) {\n        actions.push('send-app-with-introduction');\n        actions.pushObjects(['send-follow-up-reply', 'close-conversation-with']);\n      }\n\n      return actions;\n    },\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showBanner}}\\n  <div\\n    class=\\\"layout__box answer-bot__import-prompt-banner__wrapper u__padl__40 u__padr__40 u__padb__40\\\"\\n  >\\n    <div\\n      class=\\\"o__center answer-bot__import-prompt-banner u__pad__30\\\"\\n      data-test-import-prompt-banner\\n    >\\n      <div class=\\\"layout__box\\\">\\n        <h2 class=\\\"t__h2\\\">\\n          Give Resolution Bot a head start\\n        </h2>\\n        <div class=\\\"h-2\\\"></div>\\n        <div>\\n          The bot works best when it can draw from your team’s past conversations. <a\\n            class=\\\"t__em-link\\\"\\n            data-test-open-modal-link\\n            {{action openModal}}\\n          >\\n            Import conversation history.\\n          </a>\\n        </div>\\n      </div>\\n      <a\\n        class=\\\"answer-bot__import-prompt-banner__close-button\\\"\\n        role=\\\"button\\\"\\n        data-test-close-banner-button\\n        onClick={{action \\\"closeBanner\\\"}}\\n      >\\n        {{ic-interface-icon \\\"close\\\" solo=true}}\\n      </a>\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showBanner}}\\n  <div\\n    class=\\\"layout__box answer-bot__import-prompt-banner__wrapper u__padl__40 u__padr__40 u__padb__40\\\"\\n  >\\n    <div\\n      class=\\\"o__center answer-bot__import-prompt-banner u__pad__30\\\"\\n      data-test-import-prompt-banner\\n    >\\n      <div class=\\\"layout__box\\\">\\n        <h2 class=\\\"t__h2\\\">\\n          Give Resolution Bot a head start\\n        </h2>\\n        <div class=\\\"h-2\\\"></div>\\n        <div>\\n          The bot works best when it can draw from your team’s past conversations. <a\\n            class=\\\"t__em-link\\\"\\n            data-test-open-modal-link\\n            {{action openModal}}\\n          >\\n            Import conversation history.\\n          </a>\\n        </div>\\n      </div>\\n      <a\\n        class=\\\"answer-bot__import-prompt-banner__close-button\\\"\\n        role=\\\"button\\\"\\n        data-test-close-banner-button\\n        onClick={{action \\\"closeBanner\\\"}}\\n      >\\n        {{ic-interface-icon \\\"close\\\" solo=true}}\\n      </a>\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/operator/answer-bot/import-prompt-banner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/operator/answer-bot/import-prompt-banner.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { markViewAsSeen } from 'embercom/lib/admin-view-tracking';\nimport { inject as service } from '@ember/service';\nimport { IMPORT_BANNER_PAGEVIEW_KEY } from 'embercom/lib/operator/answer-bot/constants';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  showBanner: true,\n  store: service(),\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: 'import_conversation_history_banner',\n      context: 'from_import_conversation_history_banner',\n    });\n  },\n\n  actions: {\n    closeBanner() {\n      markViewAsSeen(this.store, IMPORT_BANNER_PAGEVIEW_KEY);\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'dismissed',\n        object: 'import_conversation_history_banner',\n        context: 'from_import_conversation_history_banner',\n      });\n\n      this.set('showBanner', false);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Common::AttributeSelect\\n  @filterPlaceholder=\\\"Search an attribute\\\"\\n  @label={{@label}}\\n  @hasError={{@hasError}}\\n  @attributeGroupList={{@attributeGroupList}}\\n  @selectedAttributeIdentifier={{@selectedAttributeIdentifier}}\\n  @onSelectAttribute={{@onSelectAttribute}}\\n  @buttonIsSubtle={{@buttonIsSubtle}}\\n  @dropdownDisplayMode={{@dropdownDisplayMode}}\\n  data-test-field-dropdown={{true}}\\n  @footerActions={{hash\\n    text=\\\"New attribute\\\"\\n    icon=\\\"new\\\"\\n    action=(toggle \\\"showAttributeCreationTypeModal\\\" this)\\n  }}\\n  ...attributes\\n/>\\n\\n{{#if this.showAttributeCreationTypeModal}}\\n  <Settings::AttributeCreationTypeModal\\n    @onModalClose={{toggle \\\"showAttributeCreationTypeModal\\\" this}}\\n    @openAttributeModal={{this.openAttributeModal}}\\n  />\\n{{/if}}\\n{{#if this.showConversationAttributeCreationModal}}\\n  <Settings::ConversationAttributes::DescriptorDetailsModal\\n    @onModalClose={{toggle \\\"showConversationAttributeCreationModal\\\" this}}\\n    @availableTypes={{@availableTypes}}\\n    @onDescriptorCreated={{this.conversationAttributeCreated}}\\n  />\\n{{/if}}\", {\"contents\":\"<Common::AttributeSelect\\n  @filterPlaceholder=\\\"Search an attribute\\\"\\n  @label={{@label}}\\n  @hasError={{@hasError}}\\n  @attributeGroupList={{@attributeGroupList}}\\n  @selectedAttributeIdentifier={{@selectedAttributeIdentifier}}\\n  @onSelectAttribute={{@onSelectAttribute}}\\n  @buttonIsSubtle={{@buttonIsSubtle}}\\n  @dropdownDisplayMode={{@dropdownDisplayMode}}\\n  data-test-field-dropdown={{true}}\\n  @footerActions={{hash\\n    text=\\\"New attribute\\\"\\n    icon=\\\"new\\\"\\n    action=(toggle \\\"showAttributeCreationTypeModal\\\" this)\\n  }}\\n  ...attributes\\n/>\\n\\n{{#if this.showAttributeCreationTypeModal}}\\n  <Settings::AttributeCreationTypeModal\\n    @onModalClose={{toggle \\\"showAttributeCreationTypeModal\\\" this}}\\n    @openAttributeModal={{this.openAttributeModal}}\\n  />\\n{{/if}}\\n{{#if this.showConversationAttributeCreationModal}}\\n  <Settings::ConversationAttributes::DescriptorDetailsModal\\n    @onModalClose={{toggle \\\"showConversationAttributeCreationModal\\\" this}}\\n    @availableTypes={{@availableTypes}}\\n    @onDescriptorCreated={{this.conversationAttributeCreated}}\\n  />\\n{{/if}}\",\"moduleName\":\"embercom/components/operator/attribute-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/operator/attribute-selector.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport Component from '@glimmer/component';\n\nexport default class AttributeSelector extends Component {\n  @service attributeService;\n  @service modalService;\n  @service permissionsService;\n  @tracked showAttributeCreationTypeModal = false;\n  @tracked showConversationAttributeCreationModal = false;\n\n  @action\n  openAttributeModal(type) {\n    this.showAttributeCreationTypeModal = false;\n    this.permissionsService.checkPermission('can_access_product_settings').then(() => {\n      if (type === 'conversation') {\n        this.showConversationAttributeCreationModal = true;\n      } else {\n        this.modalService.openModal('apps/app/settings/modals/attribute-details', {\n          allowArchival: false,\n          typeToCreate: type,\n          availableTypes: this.args.availableTypes,\n          showPeopleAndCompanyToggleTab: false,\n          onSave: this.attributeCreated,\n        });\n      }\n    });\n  }\n\n  @action\n  attributeCreated(attribute) {\n    this.attributeCreatedCallbacks(attribute);\n  }\n\n  @action\n  conversationAttributeCreated(descriptor) {\n    let attribute = this.attributeService.findByIdentifier(descriptor.identifier);\n    this.attributeCreatedCallbacks(attribute);\n  }\n\n  attributeCreatedCallbacks(attribute) {\n    this.args.onSelectAttribute(attribute);\n    if (this.args.onAttributeCreated) {\n      this.args.onAttributeCreated(attribute);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"operator__settings__avatar-editor-upload\\\">\\n  {{#if fileWasChosen}}\\n    <IcTooltip @isInteractive={{true}} as |context|>\\n      <context.opener>\\n        <img\\n          src=\\\"{{identityPreview.avatarData.url}}\\\"\\n          alt=\\\"custom avatar\\\"\\n          class=\\\"operator__settings__avatar-editor-upload__preview\\\"\\n        />\\n      </context.opener>\\n      <context.content>\\n        <a class=\\\"quick-action\\\" onclick={{action openFilePicker}}>\\n          {{ic-interface-icon \\\"filled-cloud-upload\\\"}}\\n        </a>\\n        <a\\n          class=\\\"quick-action o__destructive\\\"\\n          onclick={{action removeCustomAvatar}}\\n        >\\n          {{ic-interface-icon \\\"trash\\\"}}\\n        </a>\\n      </context.content>\\n    </IcTooltip>\\n  {{else}}\\n    <div\\n      class=\\\"operator__settings__avatar-editor-upload__container\\\"\\n      {{action openFilePicker}}\\n    >\\n      <span class=\\\"u__mr__10\\\">\\n        {{ic-interface-icon \\\"filled-cloud-upload\\\" solo=true}}\\n      </span>\\n      Upload an image\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"operator__settings__avatar-editor-upload\\\">\\n  {{#if fileWasChosen}}\\n    <IcTooltip @isInteractive={{true}} as |context|>\\n      <context.opener>\\n        <img\\n          src=\\\"{{identityPreview.avatarData.url}}\\\"\\n          alt=\\\"custom avatar\\\"\\n          class=\\\"operator__settings__avatar-editor-upload__preview\\\"\\n        />\\n      </context.opener>\\n      <context.content>\\n        <a class=\\\"quick-action\\\" onclick={{action openFilePicker}}>\\n          {{ic-interface-icon \\\"filled-cloud-upload\\\"}}\\n        </a>\\n        <a\\n          class=\\\"quick-action o__destructive\\\"\\n          onclick={{action removeCustomAvatar}}\\n        >\\n          {{ic-interface-icon \\\"trash\\\"}}\\n        </a>\\n      </context.content>\\n    </IcTooltip>\\n  {{else}}\\n    <div\\n      class=\\\"operator__settings__avatar-editor-upload__container\\\"\\n      {{action openFilePicker}}\\n    >\\n      <span class=\\\"u__mr__10\\\">\\n        {{ic-interface-icon \\\"filled-cloud-upload\\\" solo=true}}\\n      </span>\\n      Upload an image\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/operator/avatar-editor-upload.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/operator/avatar-editor-upload.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__m__15\\\">\\n  <label>\\n    <span class=\\\"f__radio-wrapper\\\">\\n      <input\\n        type=\\\"radio\\\"\\n        value=\\\"custom_colors\\\"\\n        name=\\\"identity.avatarType\\\"\\n        checked={{isSelectingCustomColors}}\\n        onclick={{action \\\"setAvatarType\\\" \\\"custom_colors\\\"}}\\n      />\\n    </span>\\n    <div class=\\\"f__radio-content\\\">\\n      Change colors\\n    </div>\\n  </label>\\n  {{#if isSelectingCustomColors}}\\n    <div class=\\\"h-1\\\"></div>\\n    <div class=\\\"layout__box u__ml__20\\\">\\n      <Operator::CustomAvatarBuilder\\n        @identity={{identity}}\\n        @onChange={{action \\\"setCustomAvatar\\\"}}\\n      />\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n  {{/if}}\\n  <div class=\\\"h-1\\\"></div>\\n  <label>\\n    <span class=\\\"f__radio-wrapper\\\">\\n      <input\\n        type=\\\"radio\\\"\\n        value=\\\"custom\\\"\\n        name=\\\"identity.avatarType\\\"\\n        checked={{isSelectingCustomAvatar}}\\n        onclick={{action \\\"setAvatarType\\\" \\\"custom\\\"}}\\n      />\\n    </span>\\n    <div class=\\\"f__radio-content\\\">\\n      Upload your own image\\n    </div>\\n  </label>\\n  {{#if isSelectingCustomAvatar}}\\n    <div class=\\\"u__ml__20 u__mt__10\\\">\\n      <div class=\\\"operator__settings__avatar-editor-upload\\\">\\n        {{#if fileWasChosen}}\\n          <IcTooltip @isInteractive={{true}} as |context|>\\n            <context.opener>\\n              <img\\n                class=\\\"operator__settings__avatar-editor-upload__preview\\\"\\n                src={{identityPreview.avatarData.url}}\\n              />\\n            </context.opener>\\n            <context.content>\\n              <a class=\\\"quick-action\\\" onclick={{action \\\"openFilePicker\\\"}}>\\n                {{ic-interface-icon \\\"filled-cloud-upload\\\"}}\\n              </a>\\n              <a\\n                class=\\\"quick-action o__destructive\\\"\\n                onclick={{action \\\"removeCustomAvatar\\\"}}\\n              >\\n                {{ic-interface-icon \\\"trash\\\"}}\\n              </a>\\n            </context.content>\\n          </IcTooltip>\\n        {{else}}\\n          <div\\n            class=\\\"operator__settings__avatar-editor-upload__container\\\"\\n            {{action \\\"openFilePicker\\\"}}\\n          >\\n            <span class=\\\"u__mr__10\\\">\\n              {{ic-interface-icon \\\"filled-cloud-upload\\\" solo=true}}\\n            </span>\\n            Upload an image\\n          </div>\\n        {{/if}}\\n      </div>\\n    </div>\\n    <input\\n      class=\\\"u__hidden\\\"\\n      type=\\\"file\\\"\\n      accept=\\\"image/gif, image/jpeg, image/png\\\"\\n      onchange={{action \\\"setCustomAvatarFromFilePicker\\\" value=\\\"target.files\\\"}}\\n    />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__m__15\\\">\\n  <label>\\n    <span class=\\\"f__radio-wrapper\\\">\\n      <input\\n        type=\\\"radio\\\"\\n        value=\\\"custom_colors\\\"\\n        name=\\\"identity.avatarType\\\"\\n        checked={{isSelectingCustomColors}}\\n        onclick={{action \\\"setAvatarType\\\" \\\"custom_colors\\\"}}\\n      />\\n    </span>\\n    <div class=\\\"f__radio-content\\\">\\n      Change colors\\n    </div>\\n  </label>\\n  {{#if isSelectingCustomColors}}\\n    <div class=\\\"h-1\\\"></div>\\n    <div class=\\\"layout__box u__ml__20\\\">\\n      <Operator::CustomAvatarBuilder\\n        @identity={{identity}}\\n        @onChange={{action \\\"setCustomAvatar\\\"}}\\n      />\\n    </div>\\n    <div class=\\\"h-1\\\"></div>\\n  {{/if}}\\n  <div class=\\\"h-1\\\"></div>\\n  <label>\\n    <span class=\\\"f__radio-wrapper\\\">\\n      <input\\n        type=\\\"radio\\\"\\n        value=\\\"custom\\\"\\n        name=\\\"identity.avatarType\\\"\\n        checked={{isSelectingCustomAvatar}}\\n        onclick={{action \\\"setAvatarType\\\" \\\"custom\\\"}}\\n      />\\n    </span>\\n    <div class=\\\"f__radio-content\\\">\\n      Upload your own image\\n    </div>\\n  </label>\\n  {{#if isSelectingCustomAvatar}}\\n    <div class=\\\"u__ml__20 u__mt__10\\\">\\n      <div class=\\\"operator__settings__avatar-editor-upload\\\">\\n        {{#if fileWasChosen}}\\n          <IcTooltip @isInteractive={{true}} as |context|>\\n            <context.opener>\\n              <img\\n                class=\\\"operator__settings__avatar-editor-upload__preview\\\"\\n                src={{identityPreview.avatarData.url}}\\n              />\\n            </context.opener>\\n            <context.content>\\n              <a class=\\\"quick-action\\\" onclick={{action \\\"openFilePicker\\\"}}>\\n                {{ic-interface-icon \\\"filled-cloud-upload\\\"}}\\n              </a>\\n              <a\\n                class=\\\"quick-action o__destructive\\\"\\n                onclick={{action \\\"removeCustomAvatar\\\"}}\\n              >\\n                {{ic-interface-icon \\\"trash\\\"}}\\n              </a>\\n            </context.content>\\n          </IcTooltip>\\n        {{else}}\\n          <div\\n            class=\\\"operator__settings__avatar-editor-upload__container\\\"\\n            {{action \\\"openFilePicker\\\"}}\\n          >\\n            <span class=\\\"u__mr__10\\\">\\n              {{ic-interface-icon \\\"filled-cloud-upload\\\" solo=true}}\\n            </span>\\n            Upload an image\\n          </div>\\n        {{/if}}\\n      </div>\\n    </div>\\n    <input\\n      class=\\\"u__hidden\\\"\\n      type=\\\"file\\\"\\n      accept=\\\"image/gif, image/jpeg, image/png\\\"\\n      onchange={{action \\\"setCustomAvatarFromFilePicker\\\" value=\\\"target.files\\\"}}\\n    />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/operator/avatar-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/operator/avatar-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport $ from 'jquery';\nimport { equal, not } from '@ember/object/computed';\nimport { defer } from 'rsvp';\n\nexport default Component.extend({\n  init() {\n    this._super(...arguments);\n    this.set('fileWasChosen', this.get('identity.avatarType') === 'custom');\n  },\n  isDefault: equal('identity.avatarType', 'default'),\n  isSelectingCustomColors: not('isSelectingCustomAvatar'),\n  isSelectingCustomAvatar: equal('identity.avatarType', 'custom'),\n  actions: {\n    openFilePicker() {\n      $('input:file', this.element).click();\n    },\n    setAvatarType(type) {\n      if (type !== 'custom') {\n        this.set('fileWasChosen', false);\n      }\n      this.set('identity.avatarType', type);\n    },\n    setCustomAvatar(file) {\n      this.set('identity.avatarUpload', file);\n      this._readFileAsDataURL(file).then(dataURL => this.onChange(dataURL));\n    },\n    setCustomAvatarFromFilePicker(fileList) {\n      if (fileList.length < 1) {\n        this.set('fileWasChosen', false);\n        this.send('setCustomAvatar', null);\n      } else {\n        this.set('fileWasChosen', true);\n        this.send('setCustomAvatar', fileList[0]);\n      }\n    },\n    removeCustomAvatar() {\n      this.set('fileWasChosen', false);\n      this.send('setAvatarType', 'default');\n    },\n  },\n  _readFileAsDataURL(file) {\n    let deferred = defer();\n    let reader = new FileReader();\n    reader.onload = e => deferred.resolve(e.target.result);\n    reader.readAsDataURL(file);\n    return deferred.promise;\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__padl__10\\\">\\n  <div class=\\\"layout__box\\\">\\n    <div>\\n      <div class=\\\"layout__box o__has-columns\\\">\\n        <div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n          {{#if isTestApp}}\\n            <div class=\\\"f__v2__group\\\">\\n              <IcBanner\\n                @type=\\\"help\\\"\\n                @text=\\\"Choosing a bot identity is not supported for a test workspace. Please switch to the main workspace to use this feature.\\\"\\n                @floating={{false}}\\n                data-test-bot-identity-test-workspace-banner={{true}}\\n              />\\n            </div>\\n          {{/if}}\\n          <div\\n            class=\\\"layout__box operator__settings__bot-identity__form-container\\\"\\n          >\\n            <div class=\\\"f__v2__group\\\">\\n              <div class=\\\"t__h4 f__group-label u__padb__0\\\">\\n                Name\\n              </div>\\n              <div class=\\\"h-2\\\"></div>\\n              <input\\n                data-test-settings-component-name-input\\n                type=\\\"text\\\"\\n                class=\\\"f__text\\\"\\n                value={{identity.name}}\\n                disabled={{isTestApp}}\\n                placeholder=\\\"Operator\\\"\\n                maxlength=\\\"70\\\"\\n                oninput={{action (mut identity.name) value=\\\"target.value\\\"}}\\n              />\\n            </div>\\n            <div class=\\\"f__v2__group\\\">\\n              <div\\n                class=\\\"t__h4 f__group-label u__display-inline-block u__padb__0\\\"\\n              >\\n                Profile picture\\n              </div>\\n              <IcTooltipIcon\\n                @content=\\\"Bot interactions go better when the end user knows they're not talking to a human. We recommend choosing an image that reminds users they're interacting with a bot.\\\"\\n              />\\n              <div class=\\\"h-2\\\"></div>\\n              <div class=\\\"layout__box o__has-columns\\\">\\n                <div>\\n                  {{ic-avatar model=identityPreview}}\\n                </div>\\n                {{#unless isTestApp}}\\n                  <div class=\\\"u__ml__10 u__center-layout\\\">\\n                    <Popover\\n                      @placement=\\\"bottom-start\\\"\\n                      @fallbackPlacements={{array 'top-start'}}\\n                      as |popover|\\n                    >\\n                      <popover.Opener>\\n                        <a\\n                          class=\\\"btn__tertiary\\\"\\n                          data-test-settings-component-edit-avatar\\n                        >\\n                          Edit\\n                        </a>\\n                      </popover.Opener>\\n                      <popover.Content>\\n                        <div\\n                          data-test-operator-avatar-editor\\n                          class=\\\"operator__settings__avatar-editor-overlay\\\"\\n                        >\\n                          <Operator::AvatarEditor\\n                            @identity={{identity}}\\n                            @identityPreview={{identityPreview}}\\n                            @onChange={{action setCustomAvatar}}\\n                          />\\n                        </div>\\n                        <div class=\\\"u__centered-text-block layout__box filter-block__popover__done\\\">\\n                          <a\\n                            class=\\\"btn__tertiary\\\"\\n                            {{on 'click' popover.hide}}\\n                          >\\n                            Done\\n                          </a>\\n                        </div>\\n                      </popover.Content>\\n                    </Popover>\\n                  </div>\\n                {{/unless}}\\n              </div>\\n              {{#if (and hasRestoreDefaultButton (not isTestApp))}}\\n                <div class=\\\"u__mt__15\\\">\\n                  <a\\n                    class=\\\"t__label t__solo-link\\\"\\n                    onclick={{action restoreDefaults}}\\n                    data-test-settings-component-restore-default\\n                  >\\n                    Restore default\\n                  </a>\\n                </div>\\n              {{/if}}\\n            </div>\\n          </div>\\n        </div>\\n        <div class=\\\"layout__box\\\">\\n          <div class=\\\"operator__settings__messenger-preview\\\">\\n            <MessengerPreview::Conversation\\n              @configuration={{previewConfiguration}}\\n              @admin={{identityPreview}}\\n              @showUpfrontEmailCollection={{false}}\\n              @hideLauncher={{true}}\\n              @newConversation={{false}}\\n              @conversationParts={{previewConversationParts}}\\n              @targetUserType={{targetUserType}}\\n              class=\\\"messenger-preview__conversation__upfront-email-collector u__padb__20\\\"\\n            />\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n  <Common::AccordionComponent::BodyButtonAction\\n    @model={{identity}}\\n    @isDisabled={{or fup.isActive isTestApp}}\\n    @saveLabel=\\\"Save changes\\\"\\n    @saveButtonType=\\\"primary\\\"\\n    @context=\\\"Bot Identity settings\\\"\\n    @allowSaving={{identity.hasDirtyAttributes}}\\n    @body={{body}}\\n    @paywallFeature={{paywallFeature}}\\n    @paywallCTA={{paywallCTA}}\\n    @customSaveAction={{action save}}\\n    @customDiscardAction={{action cancel}}\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"u__padl__10\\\">\\n  <div class=\\\"layout__box\\\">\\n    <div>\\n      <div class=\\\"layout__box o__has-columns\\\">\\n        <div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n          {{#if isTestApp}}\\n            <div class=\\\"f__v2__group\\\">\\n              <IcBanner\\n                @type=\\\"help\\\"\\n                @text=\\\"Choosing a bot identity is not supported for a test workspace. Please switch to the main workspace to use this feature.\\\"\\n                @floating={{false}}\\n                data-test-bot-identity-test-workspace-banner={{true}}\\n              />\\n            </div>\\n          {{/if}}\\n          <div\\n            class=\\\"layout__box operator__settings__bot-identity__form-container\\\"\\n          >\\n            <div class=\\\"f__v2__group\\\">\\n              <div class=\\\"t__h4 f__group-label u__padb__0\\\">\\n                Name\\n              </div>\\n              <div class=\\\"h-2\\\"></div>\\n              <input\\n                data-test-settings-component-name-input\\n                type=\\\"text\\\"\\n                class=\\\"f__text\\\"\\n                value={{identity.name}}\\n                disabled={{isTestApp}}\\n                placeholder=\\\"Operator\\\"\\n                maxlength=\\\"70\\\"\\n                oninput={{action (mut identity.name) value=\\\"target.value\\\"}}\\n              />\\n            </div>\\n            <div class=\\\"f__v2__group\\\">\\n              <div\\n                class=\\\"t__h4 f__group-label u__display-inline-block u__padb__0\\\"\\n              >\\n                Profile picture\\n              </div>\\n              <IcTooltipIcon\\n                @content=\\\"Bot interactions go better when the end user knows they're not talking to a human. We recommend choosing an image that reminds users they're interacting with a bot.\\\"\\n              />\\n              <div class=\\\"h-2\\\"></div>\\n              <div class=\\\"layout__box o__has-columns\\\">\\n                <div>\\n                  {{ic-avatar model=identityPreview}}\\n                </div>\\n                {{#unless isTestApp}}\\n                  <div class=\\\"u__ml__10 u__center-layout\\\">\\n                    <Popover\\n                      @placement=\\\"bottom-start\\\"\\n                      @fallbackPlacements={{array 'top-start'}}\\n                      as |popover|\\n                    >\\n                      <popover.Opener>\\n                        <a\\n                          class=\\\"btn__tertiary\\\"\\n                          data-test-settings-component-edit-avatar\\n                        >\\n                          Edit\\n                        </a>\\n                      </popover.Opener>\\n                      <popover.Content>\\n                        <div\\n                          data-test-operator-avatar-editor\\n                          class=\\\"operator__settings__avatar-editor-overlay\\\"\\n                        >\\n                          <Operator::AvatarEditor\\n                            @identity={{identity}}\\n                            @identityPreview={{identityPreview}}\\n                            @onChange={{action setCustomAvatar}}\\n                          />\\n                        </div>\\n                        <div class=\\\"u__centered-text-block layout__box filter-block__popover__done\\\">\\n                          <a\\n                            class=\\\"btn__tertiary\\\"\\n                            {{on 'click' popover.hide}}\\n                          >\\n                            Done\\n                          </a>\\n                        </div>\\n                      </popover.Content>\\n                    </Popover>\\n                  </div>\\n                {{/unless}}\\n              </div>\\n              {{#if (and hasRestoreDefaultButton (not isTestApp))}}\\n                <div class=\\\"u__mt__15\\\">\\n                  <a\\n                    class=\\\"t__label t__solo-link\\\"\\n                    onclick={{action restoreDefaults}}\\n                    data-test-settings-component-restore-default\\n                  >\\n                    Restore default\\n                  </a>\\n                </div>\\n              {{/if}}\\n            </div>\\n          </div>\\n        </div>\\n        <div class=\\\"layout__box\\\">\\n          <div class=\\\"operator__settings__messenger-preview\\\">\\n            <MessengerPreview::Conversation\\n              @configuration={{previewConfiguration}}\\n              @admin={{identityPreview}}\\n              @showUpfrontEmailCollection={{false}}\\n              @hideLauncher={{true}}\\n              @newConversation={{false}}\\n              @conversationParts={{previewConversationParts}}\\n              @targetUserType={{targetUserType}}\\n              class=\\\"messenger-preview__conversation__upfront-email-collector u__padb__20\\\"\\n            />\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n  <Common::AccordionComponent::BodyButtonAction\\n    @model={{identity}}\\n    @isDisabled={{or fup.isActive isTestApp}}\\n    @saveLabel=\\\"Save changes\\\"\\n    @saveButtonType=\\\"primary\\\"\\n    @context=\\\"Bot Identity settings\\\"\\n    @allowSaving={{identity.hasDirtyAttributes}}\\n    @body={{body}}\\n    @paywallFeature={{paywallFeature}}\\n    @paywallCTA={{paywallCTA}}\\n    @customSaveAction={{action save}}\\n    @customDiscardAction={{action cancel}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/operator/bot-identity-settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/operator/bot-identity-settings.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  appService: service(),\n  isTestApp: readOnly('appService.app.isTestApp'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__padl__10\\\">\\n  <div class=\\\"flex flex-col gap-4\\\">\\n    <div class=\\\"flex flex-row items-start gap-4\\\">\\n      <Paywall @featureKey=\\\"bot_inbox\\\" as |paywall|>\\n        <paywall.Hover>\\n          <IcOnOffToggle\\n            data-test-operator-inbox-toggle\\n            @isDisabled={{paywall.isActive}}\\n            @isOn={{@botInboxSettings.assignConversationsToBots}}\\n            @onClick={{@toggleOperatorInboxSetting}}\\n            class=\\\"mt-2\\\"\\n          />\\n        </paywall.Hover>\\n      </Paywall>\\n      <div class=\\\"flex flex-col gap-4\\\">\\n        <Paragraph>\\n          Automatically assign conversations to a separate bot inbox while Resolution Bot or a Custom Bot is active.<br />\\n          When the bot ends, any relevant assignment rules are applied, and otherwise the conversation moves into Unassigned.\\n        </Paragraph>\\n\\n        <Form as |form|>\\n          <form.Item as |item|>\\n            <item.Checkbox\\n              @label=\\\"Exclude the time conversations spend in the bot inbox from SLA targets\\\"\\n              @checked={{@botInboxSettings.deferSlas}}\\n              @disabled={{not @botInboxSettings.assignConversationsToBots}}/>\\n          </form.Item>\\n        </Form>\\n      </div>\\n    </div>\\n    <div class=\\\"flex flex-row\\\">\\n      <Common::AccordionComponent::BodyButtonAction\\n        @model={{@botInboxSettings}}\\n        @saveLabel=\\\"Save changes\\\"\\n        @saveButtonType=\\\"primary\\\"\\n        @context=\\\"Operator settings\\\"\\n        @allowSaving={{@botInboxSettings.hasDirtyAttributes}}\\n        @afterSave={{@trackSettingsChange}}\\n        @body={{@body}}\\n      />\\n      <div class=\\\"flex flex-row items-center u__ml__20 u__mt__20\\\">\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/en/articles/3722087-keep-bot-conversations-in-a-separate-inbox\\\"\\n          @title=\\\"How the bot inbox works\\\"\\n          @type=\\\"article\\\"\\n        />\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__padl__10\\\">\\n  <div class=\\\"flex flex-col gap-4\\\">\\n    <div class=\\\"flex flex-row items-start gap-4\\\">\\n      <Paywall @featureKey=\\\"bot_inbox\\\" as |paywall|>\\n        <paywall.Hover>\\n          <IcOnOffToggle\\n            data-test-operator-inbox-toggle\\n            @isDisabled={{paywall.isActive}}\\n            @isOn={{@botInboxSettings.assignConversationsToBots}}\\n            @onClick={{@toggleOperatorInboxSetting}}\\n            class=\\\"mt-2\\\"\\n          />\\n        </paywall.Hover>\\n      </Paywall>\\n      <div class=\\\"flex flex-col gap-4\\\">\\n        <Paragraph>\\n          Automatically assign conversations to a separate bot inbox while Resolution Bot or a Custom Bot is active.<br />\\n          When the bot ends, any relevant assignment rules are applied, and otherwise the conversation moves into Unassigned.\\n        </Paragraph>\\n\\n        <Form as |form|>\\n          <form.Item as |item|>\\n            <item.Checkbox\\n              @label=\\\"Exclude the time conversations spend in the bot inbox from SLA targets\\\"\\n              @checked={{@botInboxSettings.deferSlas}}\\n              @disabled={{not @botInboxSettings.assignConversationsToBots}}/>\\n          </form.Item>\\n        </Form>\\n      </div>\\n    </div>\\n    <div class=\\\"flex flex-row\\\">\\n      <Common::AccordionComponent::BodyButtonAction\\n        @model={{@botInboxSettings}}\\n        @saveLabel=\\\"Save changes\\\"\\n        @saveButtonType=\\\"primary\\\"\\n        @context=\\\"Operator settings\\\"\\n        @allowSaving={{@botInboxSettings.hasDirtyAttributes}}\\n        @afterSave={{@trackSettingsChange}}\\n        @body={{@body}}\\n      />\\n      <div class=\\\"flex flex-row items-center u__ml__20 u__mt__20\\\">\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/en/articles/3722087-keep-bot-conversations-in-a-separate-inbox\\\"\\n          @title=\\\"How the bot inbox works\\\"\\n          @type=\\\"article\\\"\\n        />\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/operator/bot-inbox-settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/operator/bot-inbox-settings.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns\\\">\\n  <div class=\\\"layout__box o__flexes-to-1 u__mr__10\\\">\\n    <label class=\\\"t__label\\\">\\n      Background\\n    </label>\\n    <div class=\\\"h-1\\\"></div>\\n    <div class=\\\"color-select__hex-container\\\">\\n      <Settings::Appearance::ColorEditComponent\\n        data-test-settings-component-background-input\\n        @value={{backgroundColor}}\\n        @classNames=\\\"f__text color-select__hex-input\\\"\\n        @setColor=\\\"setBackgroundColor\\\"\\n      />\\n      <span class=\\\"color-select__color-picker-opener-component-container\\\">\\n        <Settings::Appearance::ColorPicker\\n          @colpickLayout=\\\"custom\\\"\\n          @value={{backgroundColor}}\\n          @setColor=\\\"setBackgroundColor\\\"\\n        />\\n      </span>\\n    </div>\\n  </div>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <label class=\\\"t__label\\\">\\n      Foreground\\n    </label>\\n    <div class=\\\"h-1\\\"></div>\\n    <div class=\\\"color-select__hex-container\\\">\\n      <Settings::Appearance::ColorEditComponent\\n        data-test-settings-component-foreground-input\\n        @value={{foregroundColor}}\\n        @classNames=\\\"f__text color-select__hex-input\\\"\\n        @setColor=\\\"setForegroundColor\\\"\\n      />\\n      <span class=\\\"color-select__color-picker-opener-component-container\\\">\\n        <Settings::Appearance::ColorPicker\\n          @colpickLayout=\\\"custom\\\"\\n          @value={{foregroundColor}}\\n          @setColor=\\\"setForegroundColor\\\"\\n        />\\n      </span>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns\\\">\\n  <div class=\\\"layout__box o__flexes-to-1 u__mr__10\\\">\\n    <label class=\\\"t__label\\\">\\n      Background\\n    </label>\\n    <div class=\\\"h-1\\\"></div>\\n    <div class=\\\"color-select__hex-container\\\">\\n      <Settings::Appearance::ColorEditComponent\\n        data-test-settings-component-background-input\\n        @value={{backgroundColor}}\\n        @classNames=\\\"f__text color-select__hex-input\\\"\\n        @setColor=\\\"setBackgroundColor\\\"\\n      />\\n      <span class=\\\"color-select__color-picker-opener-component-container\\\">\\n        <Settings::Appearance::ColorPicker\\n          @colpickLayout=\\\"custom\\\"\\n          @value={{backgroundColor}}\\n          @setColor=\\\"setBackgroundColor\\\"\\n        />\\n      </span>\\n    </div>\\n  </div>\\n  <div class=\\\"layout__box o__flexes-to-1\\\">\\n    <label class=\\\"t__label\\\">\\n      Foreground\\n    </label>\\n    <div class=\\\"h-1\\\"></div>\\n    <div class=\\\"color-select__hex-container\\\">\\n      <Settings::Appearance::ColorEditComponent\\n        data-test-settings-component-foreground-input\\n        @value={{foregroundColor}}\\n        @classNames=\\\"f__text color-select__hex-input\\\"\\n        @setColor=\\\"setForegroundColor\\\"\\n      />\\n      <span class=\\\"color-select__color-picker-opener-component-container\\\">\\n        <Settings::Appearance::ColorPicker\\n          @colpickLayout=\\\"custom\\\"\\n          @value={{foregroundColor}}\\n          @setColor=\\\"setForegroundColor\\\"\\n        />\\n      </span>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/operator/custom-avatar-builder.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/operator/custom-avatar-builder.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport SvgToPngRenderer from 'embercom/lib/operator/svg-to-png-renderer';\n\nconst OPERATOR_AVATAR_SVG_SIZE = 16;\nconst OPERATOR_AVATAR_SVG_PATH =\n  '<path d=\"M12.5 1C13.881 1 15 2.119 15 3.5v9c0 1.381-1.119 2.5-2.5 2.5h-9C2.119 15 1 13.881 1 12.5v-9C1 2.119 2.119 1 3.5 1h9zm0 13c.828 0 1.5-.672 1.5-1.5v-9c0-.828-.672-1.5-1.5-1.5h-9C2.672 2 2 2.672 2 3.5v9c0 .828.672 1.5 1.5 1.5h9zM2 12v-1h12v1H2zm8.5701-7c1.104 0 2 .895 2 2s-.896 2-2 2h-5.14c-1.105 0-2-.895-2-2s.895-2 2-2h5.14zm0 3c.552 0 1-.448 1-1s-.448-1-1-1h-5.14c-.552 0-1 .448-1 1s.448 1 1 1h5.14z\"/>';\n\nexport default Component.extend({\n  init() {\n    this._super(...arguments);\n  },\n  didInsertElement() {\n    this._super(...arguments);\n    this.drawSvg();\n  },\n  svg: computed(function() {\n    let svg = document.createElement('svg');\n    svg.innerHTML = OPERATOR_AVATAR_SVG_PATH;\n    svg.setAttribute('width', OPERATOR_AVATAR_SVG_SIZE);\n    svg.setAttribute('height', OPERATOR_AVATAR_SVG_SIZE);\n    svg.setAttribute('xmlns', 'http://www.w3.org/2000/svg');\n    svg.setAttribute('viewBox', `0 0 ${OPERATOR_AVATAR_SVG_SIZE} ${OPERATOR_AVATAR_SVG_SIZE}`);\n    return svg;\n  }),\n  backgroundColor: readOnly('identity.customAvatarBackgroundColor'),\n  foregroundColor: readOnly('identity.customAvatarForegroundColor'),\n  drawSvg() {\n    new SvgToPngRenderer(this.svg)\n      .drawToFile(this.backgroundColor, this.foregroundColor)\n      .then(file => this.onChange && this.onChange(file));\n  },\n  actions: {\n    setBackgroundColor(hexColor) {\n      this.setProperties({\n        'identity.avatarType': 'custom_colors',\n        'identity.customAvatarBackgroundColor': hexColor,\n        'identity.customAvatarForegroundColor': this.foregroundColor,\n      });\n      this.drawSvg();\n    },\n    setForegroundColor(hexColor) {\n      this.setProperties({\n        'identity.avatarType': 'custom_colors',\n        'identity.customAvatarForegroundColor': hexColor,\n        'identity.customAvatarBackgroundColor': this.backgroundColor,\n      });\n      this.drawSvg();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\" {{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n\\n<div class=\\\"u__padl__10\\\">\\n  <div class=\\\"flex flex-col gap-4 mb-10\\\">\\n    <label>\\n      <Input\\n        @type=\\\"checkbox\\\"\\n        @checked={{@customBotsSettings.autoClosingForUsers}}\\n        data-test-auto-close-toggle=\\\"for-users\\\"\\n      />\\n      <span class=\\\"t__label u__ml__5\\\">\\n        For users\\n      </span>\\n    </label>\\n    <label>\\n      <Input\\n        @type=\\\"checkbox\\\"\\n        @checked={{@customBotsSettings.autoClosingForVisitors}}\\n        data-test-auto-close-toggle=\\\"for-visitors\\\"\\n      />\\n      <span class=\\\"t__label u__ml__5\\\">\\n        For visitors\\n      </span>\\n    </label>\\n    <label>\\n      <Input\\n        @type=\\\"checkbox\\\"\\n        @checked={{@customBotsSettings.autoClosingFromButton}}\\n        data-test-auto-close-toggle=\\\"from-button\\\"\\n      />\\n      <span class=\\\"t__label u__ml__5\\\">\\n        From a button\\n      </span>\\n    </label>\\n    <label>\\n      <Input\\n        @type=\\\"checkbox\\\"\\n        @checked={{@customBotsSettings.autoClosingFromNewConversationUsers}}\\n        data-test-auto-close-toggle=\\\"from-new-conversation-users\\\"\\n      />\\n      <span class=\\\"t__label u__ml__5\\\">\\n        From new conversations (Users)\\n      </span>\\n    </label>\\n    <label>\\n      <Input\\n        @type=\\\"checkbox\\\"\\n        @checked={{@customBotsSettings.autoClosingFromNewConversationVisitors}}\\n        data-test-auto-close-toggle=\\\"from-new-conversation-visitors\\\"\\n      />\\n      <span class=\\\"t__label u__ml__5\\\">\\n        From new conversations (Visitors)\\n      </span>\\n    </label>\\n  </div>\\n\\n  <Common::AccordionComponent::BodyButtonAction\\n    @model={{@customBotsSettings}}\\n    @saveLabel=\\\"Save changes\\\"\\n    @saveButtonType=\\\"primary\\\"\\n    @context=\\\"Custom Bots settings\\\"\\n    @allowSaving={{@customBotsSettings.hasDirtyAttributes}}\\n    @afterSave={{@trackCustomBotAutoCloseSettings}}\\n    @paywallFeature=\\\"bot_auto_close\\\"\\n    @body={{@body}}\\n  />\\n</div>\\n\", {\"contents\":\" {{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n\\n<div class=\\\"u__padl__10\\\">\\n  <div class=\\\"flex flex-col gap-4 mb-10\\\">\\n    <label>\\n      <Input\\n        @type=\\\"checkbox\\\"\\n        @checked={{@customBotsSettings.autoClosingForUsers}}\\n        data-test-auto-close-toggle=\\\"for-users\\\"\\n      />\\n      <span class=\\\"t__label u__ml__5\\\">\\n        For users\\n      </span>\\n    </label>\\n    <label>\\n      <Input\\n        @type=\\\"checkbox\\\"\\n        @checked={{@customBotsSettings.autoClosingForVisitors}}\\n        data-test-auto-close-toggle=\\\"for-visitors\\\"\\n      />\\n      <span class=\\\"t__label u__ml__5\\\">\\n        For visitors\\n      </span>\\n    </label>\\n    <label>\\n      <Input\\n        @type=\\\"checkbox\\\"\\n        @checked={{@customBotsSettings.autoClosingFromButton}}\\n        data-test-auto-close-toggle=\\\"from-button\\\"\\n      />\\n      <span class=\\\"t__label u__ml__5\\\">\\n        From a button\\n      </span>\\n    </label>\\n    <label>\\n      <Input\\n        @type=\\\"checkbox\\\"\\n        @checked={{@customBotsSettings.autoClosingFromNewConversationUsers}}\\n        data-test-auto-close-toggle=\\\"from-new-conversation-users\\\"\\n      />\\n      <span class=\\\"t__label u__ml__5\\\">\\n        From new conversations (Users)\\n      </span>\\n    </label>\\n    <label>\\n      <Input\\n        @type=\\\"checkbox\\\"\\n        @checked={{@customBotsSettings.autoClosingFromNewConversationVisitors}}\\n        data-test-auto-close-toggle=\\\"from-new-conversation-visitors\\\"\\n      />\\n      <span class=\\\"t__label u__ml__5\\\">\\n        From new conversations (Visitors)\\n      </span>\\n    </label>\\n  </div>\\n\\n  <Common::AccordionComponent::BodyButtonAction\\n    @model={{@customBotsSettings}}\\n    @saveLabel=\\\"Save changes\\\"\\n    @saveButtonType=\\\"primary\\\"\\n    @context=\\\"Custom Bots settings\\\"\\n    @allowSaving={{@customBotsSettings.hasDirtyAttributes}}\\n    @afterSave={{@trackCustomBotAutoCloseSettings}}\\n    @paywallFeature=\\\"bot_auto_close\\\"\\n    @body={{@body}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/operator/custom-bots-auto-close-settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/operator/custom-bots-auto-close-settings.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box u__padl__10\\\">\\n  <div>\\n    <p>\\n      Resolution Bot works best when it can draw from past conversations. Pull in your team’s history for the bot to review.\\n    </p>\\n    <div class=\\\"mb-2\\\"></div>\\n    <a class=\\\"btn__tertiary\\\" data-test-import-modal-link {{on \\\"click\\\" @openModal}}>\\n      Launch the importer {{ic-interface-icon \\\"new-window\\\"}}\\n    </a>\\n  </div>\\n  <div class=\\\"mb-8\\\"></div>\\n  <Common::AccordionComponent::BodyButtonAction\\n    @saveLabel=\\\"Save changes\\\"\\n    @saveButtonType=\\\"primary\\\"\\n    @context=\\\"Resolution Bot settings\\\"\\n    @allowSaving={{false}}\\n    @body={{@body}}\\n    @paywallFeature={{@paywallFeature}}\\n    @paywallCTA={{@paywallCTA}}\\n  />\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box u__padl__10\\\">\\n  <div>\\n    <p>\\n      Resolution Bot works best when it can draw from past conversations. Pull in your team’s history for the bot to review.\\n    </p>\\n    <div class=\\\"mb-2\\\"></div>\\n    <a class=\\\"btn__tertiary\\\" data-test-import-modal-link {{on \\\"click\\\" @openModal}}>\\n      Launch the importer {{ic-interface-icon \\\"new-window\\\"}}\\n    </a>\\n  </div>\\n  <div class=\\\"mb-8\\\"></div>\\n  <Common::AccordionComponent::BodyButtonAction\\n    @saveLabel=\\\"Save changes\\\"\\n    @saveButtonType=\\\"primary\\\"\\n    @context=\\\"Resolution Bot settings\\\"\\n    @allowSaving={{false}}\\n    @body={{@body}}\\n    @paywallFeature={{@paywallFeature}}\\n    @paywallCTA={{@paywallCTA}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/operator/resolution-bot-import-settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/operator/resolution-bot-import-settings.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row\\\" data-test-resolution-bot-looping-settings>\\n  <div class=\\\"flex flex-col flex-1 mb-5\\\" data-test-resolution-bot-looping-editor>\\n    <Paywall @featureKey=\\\"answer_workflows\\\" as |paywall|>\\n      <Pulse::LargeRadioButtonGroup\\n        @selectedValue={{this.selectedMode}}\\n        @onSelect={{this.selectResolutionBotMode}}\\n        class=\\\"h-32 mt-4 mb-10\\\"\\n        as |group|\\n      >\\n        <group.Option\\n          @value=\\\"default\\\"\\n          @svg=\\\"manual-message\\\"\\n          @label=\\\"One-time\\\"\\n          data-test-resolution-bot-default-option\\n          as |option|\\n        >\\n          <option.Contents />\\n        </group.Option>\\n        <group.Option\\n          @value=\\\"looping\\\"\\n          @svg=\\\"conversation\\\"\\n          @label=\\\"Looping\\\"\\n          @isDisabled={{paywall.isActive}}\\n          data-test-resolution-bot-looping-option\\n          as |option|\\n        >\\n          <paywall.Hover class=\\\"h-full block\\\">\\n            <option.Contents />\\n          </paywall.Hover>\\n        </group.Option>\\n      </Pulse::LargeRadioButtonGroup>\\n    </Paywall>\\n\\n    <Heading @size='4'>Bot behaviour</Heading>\\n    {{#if (eq this.selectedMode \\\"default\\\")}}\\n      <div data-test-resolution-bot-looping-default-explanation>\\n        Resolution Bot will only try to <strong>answer the first question asked</strong>. Any additional questions will automatically be routed to a teammate.\\n      </div>\\n    {{else}}\\n      <div data-test-resolution-bot-looping-explanation>\\n        Resolution Bot will try to <strong>answer every question asked</strong>. If the customer needs further help:\\n        <div class=\\\"pt-4\\\">\\n          <Form as |form|>\\n            <form.Item as |item|>\\n              <item.RadioGroup @selected={{@resolutionBotLoopingSettings.accessToTeammateEnabled}} as |group|>\\n                <group.RadioButton @value={{true}} as |radio|>\\n                  <radio.Label>\\n                    Pass the conversation to a teammate\\n                  </radio.Label>\\n                  <radio.Hint class=\\\"mb-2\\\">\\n                    The conversation is assigned based on <a href=\\\"{{href-to \\\"apps.app.inbox.rules\\\"}}\\\">Inbox Rules</a>.\\n                  </radio.Hint>\\n                </group.RadioButton>\\n                <group.RadioButton @value={{false}} as |radio|>\\n                  <radio.Label data-test-resolution-bot-looping-disable-access-to-teammate>\\n                    Send a link of your choice, then close the conversation\\n                  </radio.Label>\\n                  <radio.Hint>\\n                  Customers interacting with Resolution Bot will not reach teammates.\\n                  <IcTooltipIcon @content=\\\"Your Messenger homescreen will no longer present teammate avatars to avoid expectations of talking to a teammate. You can preview this in Messenger Settings.\\\" />\\n                  </radio.Hint>\\n                </group.RadioButton>\\n              </item.RadioGroup>\\n            </form.Item>\\n\\n            {{#unless @resolutionBotLoopingSettings.accessToTeammateEnabled}}\\n              <form.Item\\n                class=\\\"w-8/12 ml-5\\\"\\n                @isInvalid={{this.isSupportLinkInvalid}}\\n                @errorMessage={{this.supportLinkErrorMessage}}\\n                as |item|>\\n                <item.Input\\n                  @prefix=\\\"https://\\\"\\n                  @value={{this.supportLink}}\\n                  @placeholder=\\\"example.com\\\"\\n                  {{on \\\"keyup\\\" this.updateSupportLink}}\\n                  data-test-resolution-bot-looping-support-link\\n                />\\n              </form.Item>\\n            {{/unless}}\\n          </Form>\\n        </div>\\n      </div>\\n    {{/if}}\\n  </div>\\n\\n  <Operator::ResolutionBotLoopingSettings::MessengerPreview\\n    @configuration={{@previewConfiguration}}\\n    @resolutionBotLoopingSettings={{@resolutionBotLoopingSettings}}\\n  />\\n</div>\\n\\n<Common::AccordionComponent::BodyButtonAction\\n  class=\\\"mt-5\\\"\\n  @model={{@resolutionBotLoopingSettings}}\\n  @saveLabel=\\\"Save changes\\\"\\n  @saveButtonType=\\\"primary\\\"\\n  @context=\\\"Resolution Bot Configuration\\\"\\n  @allowSaving={{@resolutionBotLoopingSettings.hasDirtyAttributes}}\\n  @afterSave={{@trackSettingsChange}}\\n  @body={{@body}}\\n/>\\n\", {\"contents\":\"<div class=\\\"flex flex-row\\\" data-test-resolution-bot-looping-settings>\\n  <div class=\\\"flex flex-col flex-1 mb-5\\\" data-test-resolution-bot-looping-editor>\\n    <Paywall @featureKey=\\\"answer_workflows\\\" as |paywall|>\\n      <Pulse::LargeRadioButtonGroup\\n        @selectedValue={{this.selectedMode}}\\n        @onSelect={{this.selectResolutionBotMode}}\\n        class=\\\"h-32 mt-4 mb-10\\\"\\n        as |group|\\n      >\\n        <group.Option\\n          @value=\\\"default\\\"\\n          @svg=\\\"manual-message\\\"\\n          @label=\\\"One-time\\\"\\n          data-test-resolution-bot-default-option\\n          as |option|\\n        >\\n          <option.Contents />\\n        </group.Option>\\n        <group.Option\\n          @value=\\\"looping\\\"\\n          @svg=\\\"conversation\\\"\\n          @label=\\\"Looping\\\"\\n          @isDisabled={{paywall.isActive}}\\n          data-test-resolution-bot-looping-option\\n          as |option|\\n        >\\n          <paywall.Hover class=\\\"h-full block\\\">\\n            <option.Contents />\\n          </paywall.Hover>\\n        </group.Option>\\n      </Pulse::LargeRadioButtonGroup>\\n    </Paywall>\\n\\n    <Heading @size='4'>Bot behaviour</Heading>\\n    {{#if (eq this.selectedMode \\\"default\\\")}}\\n      <div data-test-resolution-bot-looping-default-explanation>\\n        Resolution Bot will only try to <strong>answer the first question asked</strong>. Any additional questions will automatically be routed to a teammate.\\n      </div>\\n    {{else}}\\n      <div data-test-resolution-bot-looping-explanation>\\n        Resolution Bot will try to <strong>answer every question asked</strong>. If the customer needs further help:\\n        <div class=\\\"pt-4\\\">\\n          <Form as |form|>\\n            <form.Item as |item|>\\n              <item.RadioGroup @selected={{@resolutionBotLoopingSettings.accessToTeammateEnabled}} as |group|>\\n                <group.RadioButton @value={{true}} as |radio|>\\n                  <radio.Label>\\n                    Pass the conversation to a teammate\\n                  </radio.Label>\\n                  <radio.Hint class=\\\"mb-2\\\">\\n                    The conversation is assigned based on <a href=\\\"{{href-to \\\"apps.app.inbox.rules\\\"}}\\\">Inbox Rules</a>.\\n                  </radio.Hint>\\n                </group.RadioButton>\\n                <group.RadioButton @value={{false}} as |radio|>\\n                  <radio.Label data-test-resolution-bot-looping-disable-access-to-teammate>\\n                    Send a link of your choice, then close the conversation\\n                  </radio.Label>\\n                  <radio.Hint>\\n                  Customers interacting with Resolution Bot will not reach teammates.\\n                  <IcTooltipIcon @content=\\\"Your Messenger homescreen will no longer present teammate avatars to avoid expectations of talking to a teammate. You can preview this in Messenger Settings.\\\" />\\n                  </radio.Hint>\\n                </group.RadioButton>\\n              </item.RadioGroup>\\n            </form.Item>\\n\\n            {{#unless @resolutionBotLoopingSettings.accessToTeammateEnabled}}\\n              <form.Item\\n                class=\\\"w-8/12 ml-5\\\"\\n                @isInvalid={{this.isSupportLinkInvalid}}\\n                @errorMessage={{this.supportLinkErrorMessage}}\\n                as |item|>\\n                <item.Input\\n                  @prefix=\\\"https://\\\"\\n                  @value={{this.supportLink}}\\n                  @placeholder=\\\"example.com\\\"\\n                  {{on \\\"keyup\\\" this.updateSupportLink}}\\n                  data-test-resolution-bot-looping-support-link\\n                />\\n              </form.Item>\\n            {{/unless}}\\n          </Form>\\n        </div>\\n      </div>\\n    {{/if}}\\n  </div>\\n\\n  <Operator::ResolutionBotLoopingSettings::MessengerPreview\\n    @configuration={{@previewConfiguration}}\\n    @resolutionBotLoopingSettings={{@resolutionBotLoopingSettings}}\\n  />\\n</div>\\n\\n<Common::AccordionComponent::BodyButtonAction\\n  class=\\\"mt-5\\\"\\n  @model={{@resolutionBotLoopingSettings}}\\n  @saveLabel=\\\"Save changes\\\"\\n  @saveButtonType=\\\"primary\\\"\\n  @context=\\\"Resolution Bot Configuration\\\"\\n  @allowSaving={{@resolutionBotLoopingSettings.hasDirtyAttributes}}\\n  @afterSave={{@trackSettingsChange}}\\n  @body={{@body}}\\n/>\\n\",\"moduleName\":\"embercom/components/operator/resolution-bot-looping-settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/operator/resolution-bot-looping-settings.hbs\"}});\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport Component from '@glimmer/component';\n\nexport default class ResolutionBotLoopingSettings extends Component {\n  @service intercomEventService;\n  @tracked selectedMode;\n  @tracked supportLink;\n\n  constructor() {\n    super(...arguments);\n    this.selectedMode = this.resolutionBotLoopingSettings.enabled ? 'looping' : 'default';\n    if (this.resolutionBotLoopingSettings.supportLink) {\n      this.supportLink = this.resolutionBotLoopingSettings.supportLink.replaceAll('https://', '');\n    }\n  }\n\n  teammateAccessDisabledFollowUpPart = {\n    admin: this.args.identityPreview,\n    blocks: [\n      {\n        type: 'paragraph',\n        text: 'You can check out the link below for additional help.',\n      },\n    ],\n  };\n\n  get resolutionBotLoopingSettings() {\n    return this.args.resolutionBotLoopingSettings;\n  }\n\n  get isSupportLinkInvalid() {\n    return !this.resolutionBotLoopingSettings.validations.attrs.supportLink.isValid;\n  }\n\n  get supportLinkErrorMessage() {\n    return this.resolutionBotLoopingSettings.validations.attrs.supportLink.messages[0];\n  }\n\n  @action\n  selectResolutionBotMode(mode) {\n    this.resolutionBotLoopingSettings.enabled = mode === 'looping';\n    this.selectedMode = mode;\n  }\n\n  @action\n  updateSupportLink() {\n    this.resolutionBotLoopingSettings.supportLink = `https://${this.supportLink}`;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"messenger-preview__conversation ml-16 mr-4 mt-4 mb-4\\\" data-test-resolution-bot-looping-messenger-preview>\\n  <MessengerPreview::TranslationLoaderWrapper @locale={{@configuration.locale}}>\\n    <MessengerPreview::Styles @configuration={{@configuration}} />\\n    <div class=\\\"operator__settings__resolution-bot-looping-settings__preview flex flex-col py-6\\\">\\n      <div class=\\\"flex flex-col justify-center items-center gap-2 mt-2\\\">\\n        <div class=\\\"flex flex-col justify-center items-center\\\">\\n          <Text @styling=\\\"small\\\" class=\\\"operator__settings__resolution-bot-looping-settings__horizontal-line\\\">\\n            After customer sends a message, if Resolution Bot:\\n          </Text>\\n        </div>\\n        <div class=\\\"flex flex-col justify-center items-center operator__settings__resolution-bot-looping-settings__has-answer-toggle\\\">\\n          <IcRadioButtonGroup\\n            @selectedValue={{this.answerToggleValue}}\\n            @onSelectionChange={{this.toggleHasAnswers}} as |group|\\n          >\\n            <group.button @label=\\\"Has an answer\\\" @value=\\\"has-an-answer\\\" />\\n            <group.button @label=\\\"Has no answer\\\" @value=\\\"has-no-answer\\\" />\\n          </IcRadioButtonGroup>\\n        </div>\\n      </div>\\n\\n      <MessengerPreview::Stream as |stream|>\\n        {{#if (or this.hasAnswers @resolutionBotLoopingSettings.enabled)}}\\n          <stream.operatorPart @useOperatorIdentity={{true}} as |operatorPart|>\\n            {{#if this.hasAnswers}}\\n              <operatorPart.comment class=\\\"italic\\\" data-test-messenger-preview-operator-answers-placeholder>\\n                Relevant answers, followed by <span class=\\\"inline-block transform rotate-90\\\">{{ic-interface-icon \\\"arrow\\\" solo=true}}</span>\\n              </operatorPart.comment>\\n            {{/if}}\\n            <operatorPart.comment data-test-messenger-preview-operator-comment>\\n              {{this.operatorComment}}\\n            </operatorPart.comment>\\n          </stream.operatorPart>\\n          <stream.quickReplies\\n            @replies={{this.suggestions}}\\n            data-test-messsenger-preview-quick-replies\\n          />\\n        {{else}}\\n          <div class=\\\"operator__settings__resolution-looping-bot-settings__one-time-no-answer-empty-state\\\">\\n            <stream.emptyState>\\n              <span class=\\\"italic\\\">\\n                Pass the conversation to a teammate\\n              </span>\\n            </stream.emptyState>\\n          </div>\\n        {{/if}}\\n      </MessengerPreview::Stream>\\n\\n      {{#if (and @resolutionBotLoopingSettings.enabled (not @resolutionBotLoopingSettings.accessToTeammateEnabled))}}\\n        <div class=\\\"flex flex-col justify-center items-center mt-7\\\" data-test-messenger-preview-support-link>\\n          <Text @styling=\\\"small\\\" class=\\\"operator__settings__resolution-bot-looping-settings__horizontal-line\\\">\\n          If the customer selects {{this.getMoreHelpSuggestion}}\\n          </Text>\\n        </div>\\n        <MessengerPreview::Stream as |stream|>\\n          <stream.operatorPart @useOperatorIdentity={{true}} as |operatorPart|>\\n            <operatorPart.comment data-test-messenger-preview-operator-comment>\\n              {{this.operatorSupportLinkIntroduction}}\\n            </operatorPart.comment>\\n            <operatorPart.comment data-test-messenger-preview-operator-comment>\\n              <span class=\\\"operator__settings__resolution-bo-looping-settings__support-link\\\">{{this.supportLink}}</span>\\n            </operatorPart.comment>\\n          </stream.operatorPart>\\n          <div class=\\\"ml-16 font-lg font-medium text-gray\\\">\\n            <span class=\\\"mr-2\\\">{{ic-interface-icon \\\"check\\\" solo=true}}</span> Close the conversation\\n          </div>\\n        </MessengerPreview::Stream>\\n      {{/if}}\\n    </div>\\n  </MessengerPreview::TranslationLoaderWrapper>\\n</div>\\n\", {\"contents\":\"<div class=\\\"messenger-preview__conversation ml-16 mr-4 mt-4 mb-4\\\" data-test-resolution-bot-looping-messenger-preview>\\n  <MessengerPreview::TranslationLoaderWrapper @locale={{@configuration.locale}}>\\n    <MessengerPreview::Styles @configuration={{@configuration}} />\\n    <div class=\\\"operator__settings__resolution-bot-looping-settings__preview flex flex-col py-6\\\">\\n      <div class=\\\"flex flex-col justify-center items-center gap-2 mt-2\\\">\\n        <div class=\\\"flex flex-col justify-center items-center\\\">\\n          <Text @styling=\\\"small\\\" class=\\\"operator__settings__resolution-bot-looping-settings__horizontal-line\\\">\\n            After customer sends a message, if Resolution Bot:\\n          </Text>\\n        </div>\\n        <div class=\\\"flex flex-col justify-center items-center operator__settings__resolution-bot-looping-settings__has-answer-toggle\\\">\\n          <IcRadioButtonGroup\\n            @selectedValue={{this.answerToggleValue}}\\n            @onSelectionChange={{this.toggleHasAnswers}} as |group|\\n          >\\n            <group.button @label=\\\"Has an answer\\\" @value=\\\"has-an-answer\\\" />\\n            <group.button @label=\\\"Has no answer\\\" @value=\\\"has-no-answer\\\" />\\n          </IcRadioButtonGroup>\\n        </div>\\n      </div>\\n\\n      <MessengerPreview::Stream as |stream|>\\n        {{#if (or this.hasAnswers @resolutionBotLoopingSettings.enabled)}}\\n          <stream.operatorPart @useOperatorIdentity={{true}} as |operatorPart|>\\n            {{#if this.hasAnswers}}\\n              <operatorPart.comment class=\\\"italic\\\" data-test-messenger-preview-operator-answers-placeholder>\\n                Relevant answers, followed by <span class=\\\"inline-block transform rotate-90\\\">{{ic-interface-icon \\\"arrow\\\" solo=true}}</span>\\n              </operatorPart.comment>\\n            {{/if}}\\n            <operatorPart.comment data-test-messenger-preview-operator-comment>\\n              {{this.operatorComment}}\\n            </operatorPart.comment>\\n          </stream.operatorPart>\\n          <stream.quickReplies\\n            @replies={{this.suggestions}}\\n            data-test-messsenger-preview-quick-replies\\n          />\\n        {{else}}\\n          <div class=\\\"operator__settings__resolution-looping-bot-settings__one-time-no-answer-empty-state\\\">\\n            <stream.emptyState>\\n              <span class=\\\"italic\\\">\\n                Pass the conversation to a teammate\\n              </span>\\n            </stream.emptyState>\\n          </div>\\n        {{/if}}\\n      </MessengerPreview::Stream>\\n\\n      {{#if (and @resolutionBotLoopingSettings.enabled (not @resolutionBotLoopingSettings.accessToTeammateEnabled))}}\\n        <div class=\\\"flex flex-col justify-center items-center mt-7\\\" data-test-messenger-preview-support-link>\\n          <Text @styling=\\\"small\\\" class=\\\"operator__settings__resolution-bot-looping-settings__horizontal-line\\\">\\n          If the customer selects {{this.getMoreHelpSuggestion}}\\n          </Text>\\n        </div>\\n        <MessengerPreview::Stream as |stream|>\\n          <stream.operatorPart @useOperatorIdentity={{true}} as |operatorPart|>\\n            <operatorPart.comment data-test-messenger-preview-operator-comment>\\n              {{this.operatorSupportLinkIntroduction}}\\n            </operatorPart.comment>\\n            <operatorPart.comment data-test-messenger-preview-operator-comment>\\n              <span class=\\\"operator__settings__resolution-bo-looping-settings__support-link\\\">{{this.supportLink}}</span>\\n            </operatorPart.comment>\\n          </stream.operatorPart>\\n          <div class=\\\"ml-16 font-lg font-medium text-gray\\\">\\n            <span class=\\\"mr-2\\\">{{ic-interface-icon \\\"check\\\" solo=true}}</span> Close the conversation\\n          </div>\\n        </MessengerPreview::Stream>\\n      {{/if}}\\n    </div>\\n  </MessengerPreview::TranslationLoaderWrapper>\\n</div>\\n\",\"moduleName\":\"embercom/components/operator/resolution-bot-looping-settings/messenger-preview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/operator/resolution-bot-looping-settings/messenger-preview.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class MessengerPreview extends Component {\n  @service intl;\n  @tracked answerToggleValue = 'has-an-answer';\n\n  get hasAnswers() {\n    return this.answerToggleValue === 'has-an-answer';\n  }\n\n  get operatorComment() {\n    if (this.hasAnswers) {\n      return this.intl.t('answer_bot_did_that_help');\n    } else {\n      return this.intl.t('answer_bot_no_answer_found');\n    }\n  }\n\n  get operatorSupportLinkIntroduction() {\n    return this.intl.t('answer_bot_get_more_help_followup');\n  }\n\n  get getMoreHelpSuggestion() {\n    return this.intl.t('answer_bot_get_more_help');\n  }\n\n  get supportLink() {\n    return this.args.resolutionBotLoopingSettings.supportLink || 'https://example.com';\n  }\n\n  get suggestions() {\n    let suggestions = [];\n\n    if (this.hasAnswers) {\n      suggestions.push(this.intl.t('answer_bot_all_done'));\n      suggestions.push(this.intl.t('answer_bot_more_answers'));\n    }\n\n    if (this.args.resolutionBotLoopingSettings.enabled) {\n      suggestions.push(this.intl.t('answer_bot_ask_another_question'));\n    }\n\n    if (\n      this.args.resolutionBotLoopingSettings.enabled &&\n      !this.args.resolutionBotLoopingSettings.accessToTeammateEnabled\n    ) {\n      suggestions.push(this.intl.t('answer_bot_get_more_help'));\n    } else {\n      suggestions.push(this.intl.t('answer_bot_wait_for_the_team'));\n    }\n\n    return suggestions;\n  }\n\n  @action\n  toggleHasAnswers(value) {\n    this.answerToggleValue = value;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"pl-2\\\" data-test-resolution-bot-suggestion-settings>\\n  <IcRadioButtonGroup\\n    @selectedValue={{this.targetUserType}}\\n    @onSelectionChange={{this.changeTargetUserType}} as |group|\\n  >\\n    {{#each this.targetUserTypeOptions as |targetUserTypeOption|}}\\n      <group.button\\n        @label={{targetUserTypeOption.label}}\\n        @value={{targetUserTypeOption.value}}\\n      />\\n    {{/each}}\\n  </IcRadioButtonGroup>\\n  <div class=\\\"flex flex-col gap-5 pt-5\\\" data-test-resolution-bot-suggestion-settings>\\n    <div>\\n      <div class=\\\"t__h4 mb-4\\\">\\n        Suggest answers:\\n      </div>\\n      <div class=\\\"flex flex-col gap-4\\\">\\n        <Operator::ResolutionBotSuggestionSettings::PredictiveAnswersToggle\\n          @resolutionBotSettings={{@resolutionBotSettings}}\\n          @isDisplayingUserGroup={{this.isDisplayingUserGroup}}\\n        />\\n        <Operator::ResolutionBotSuggestionSettings::ContentSuggestionsToggle\\n          @resolutionBotSettings={{@resolutionBotSettings}}\\n          @isDisplayingUserGroup={{this.isDisplayingUserGroup}}\\n        />\\n      </div>\\n    </div>\\n    <div class=\\\"flex flex-row\\\">\\n      <Common::AccordionComponent::BodyButtonAction\\n        @model={{this.resolutionBotSettings}}\\n        @saveLabel=\\\"Save changes\\\"\\n        @saveButtonType=\\\"primary\\\"\\n        @context=\\\"Resolution Bot Settings\\\"\\n        @allowSaving={{this.resolutionBotSettings.hasDirtyAttributes}}\\n        @body={{@body}}\\n      />\\n      <div class=\\\"flex flex-row items-center u__ml__20 u__mt__20\\\">\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/en/articles/3711671-automatically-suggest-answers-as-your-customers-type\\\"\\n          @title=\\\"How answer suggestions work\\\"\\n          @type=\\\"article\\\"\\n        />\\n      </div>\\n    </div>\\n  </div>\\n</div>\", {\"contents\":\"<div class=\\\"pl-2\\\" data-test-resolution-bot-suggestion-settings>\\n  <IcRadioButtonGroup\\n    @selectedValue={{this.targetUserType}}\\n    @onSelectionChange={{this.changeTargetUserType}} as |group|\\n  >\\n    {{#each this.targetUserTypeOptions as |targetUserTypeOption|}}\\n      <group.button\\n        @label={{targetUserTypeOption.label}}\\n        @value={{targetUserTypeOption.value}}\\n      />\\n    {{/each}}\\n  </IcRadioButtonGroup>\\n  <div class=\\\"flex flex-col gap-5 pt-5\\\" data-test-resolution-bot-suggestion-settings>\\n    <div>\\n      <div class=\\\"t__h4 mb-4\\\">\\n        Suggest answers:\\n      </div>\\n      <div class=\\\"flex flex-col gap-4\\\">\\n        <Operator::ResolutionBotSuggestionSettings::PredictiveAnswersToggle\\n          @resolutionBotSettings={{@resolutionBotSettings}}\\n          @isDisplayingUserGroup={{this.isDisplayingUserGroup}}\\n        />\\n        <Operator::ResolutionBotSuggestionSettings::ContentSuggestionsToggle\\n          @resolutionBotSettings={{@resolutionBotSettings}}\\n          @isDisplayingUserGroup={{this.isDisplayingUserGroup}}\\n        />\\n      </div>\\n    </div>\\n    <div class=\\\"flex flex-row\\\">\\n      <Common::AccordionComponent::BodyButtonAction\\n        @model={{this.resolutionBotSettings}}\\n        @saveLabel=\\\"Save changes\\\"\\n        @saveButtonType=\\\"primary\\\"\\n        @context=\\\"Resolution Bot Settings\\\"\\n        @allowSaving={{this.resolutionBotSettings.hasDirtyAttributes}}\\n        @body={{@body}}\\n      />\\n      <div class=\\\"flex flex-row items-center u__ml__20 u__mt__20\\\">\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/en/articles/3711671-automatically-suggest-answers-as-your-customers-type\\\"\\n          @title=\\\"How answer suggestions work\\\"\\n          @type=\\\"article\\\"\\n        />\\n      </div>\\n    </div>\\n  </div>\\n</div>\",\"moduleName\":\"embercom/components/operator/resolution-bot-suggestion-settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/operator/resolution-bot-suggestion-settings.hbs\"}});\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport Component from '@glimmer/component';\n\nconst LEADS_AND_VISITORS_TARGET_TYPE = 'leads_and_visitors';\nconst LEADS_AND_VISITORS_TARGET_LABEL = 'Visitors and leads';\nconst USER_TARGET_TYPE = 'users';\nconst USER_TARGET_LABEL = 'Users';\n\nexport default class ResolutionBotSuggestionSettings extends Component {\n  @service intercomEventService;\n\n  @tracked targetUserType = LEADS_AND_VISITORS_TARGET_TYPE;\n\n  targetUserTypeOptions = [\n    { value: LEADS_AND_VISITORS_TARGET_TYPE, label: 'Visitors and leads' },\n    { value: USER_TARGET_TYPE, label: 'Users' },\n  ];\n\n  get isDisplayingUserGroup() {\n    return this.targetUserType === USER_TARGET_TYPE;\n  }\n\n  get targetLabel() {\n    if (this.isDisplayingUserGroup) {\n      return USER_TARGET_LABEL;\n    } else {\n      return LEADS_AND_VISITORS_TARGET_LABEL;\n    }\n  }\n\n  get activeContentSuggestionsSetting() {\n    if (this.isDisplayingUserGroup) {\n      return this.resolutionBotSettings.contentSuggestionsEnabledForUsers;\n    } else {\n      return this.resolutionBotSettings.contentSuggestionsEnabledForVisitors;\n    }\n  }\n\n  @action\n  toggleActiveContentSuggestionsSetting() {\n    if (this.isDisplayingUserGroup) {\n      return (this.resolutionBotSettings.contentSuggestionsEnabledForUsers = !this\n        .activeContentSuggestionsSetting);\n    } else {\n      return (this.resolutionBotSettings.contentSuggestionsEnabledForVisitors = !this\n        .activeContentSuggestionsSetting);\n    }\n  }\n\n  get activePredictiveAnswersSetting() {\n    if (this.isDisplayingUserGroup) {\n      return this.resolutionBotSettings.predictiveAnswersEnabledForUsers;\n    } else {\n      return this.resolutionBotSettings.predictiveAnswersEnabledForVisitors;\n    }\n  }\n\n  @action\n  toggleActivePredictiveAnswersSetting() {\n    if (this.isDisplayingUserGroup) {\n      return (this.resolutionBotSettings.predictiveAnswersEnabledForUsers = !this\n        .activePredictiveAnswersSetting);\n    } else {\n      return (this.resolutionBotSettings.predictiveAnswersEnabledForVisitors = !this\n        .activePredictiveAnswersSetting);\n    }\n  }\n\n  @action\n  changeTargetUserType(value) {\n    this.targetUserType = value;\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: `operator_settings_resolution_bot_${value}`,\n      context: 'from_panel',\n    });\n  }\n\n  get resolutionBotSettings() {\n    return this.args.resolutionBotSettings;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @isDisplayingUserGroup}}\\n  <Operator::ResolutionBotSuggestionSettings::ToggleWithPredicates\\n    @settings={{@resolutionBotSettings}}\\n    @selection={{this.userSelection}}\\n    @attributes={{this.attributeGroupListForUsers}}\\n    @isDisplayingUserGroup={{@isDisplayingUserGroup}}\\n    @togglePaywall=\\\"automatically_suggest_content\\\"\\n    @enabledScope=\\\"contentSuggestionsEnabledForUsers\\\"\\n    @predicatesScope=\\\"contentSuggestionsForUsersPredicateGroup\\\"\\n    @labelPrefix=\\\"While\\\"\\n    @label=\\\"customers are typing\\\"\\n    @labelDescription=\\\"Your customers will see relevant suggestions as they type — even before they hit the enter key.\\\"\\n  />\\n{{else}}\\n  <Operator::ResolutionBotSuggestionSettings::ToggleWithPredicates\\n    @settings={{@resolutionBotSettings}}\\n    @selection={{this.visitorSelection}}\\n    @attributes={{this.attributeGroupListForVisitors}}\\n    @isDisplayingUserGroup={{@isDisplayingUserGroup}}\\n    @togglePaywall=\\\"automatically_suggest_content\\\"\\n    @enabledScope=\\\"contentSuggestionsEnabledForVisitors\\\"\\n    @predicatesScope=\\\"contentSuggestionsForVisitorsPredicateGroup\\\"\\n    @labelPrefix=\\\"While\\\"\\n    @label=\\\"customers are typing\\\"\\n    @labelDescription=\\\"Your customers will see relevant suggestions as they type — even before they hit the enter key.\\\"\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{#if @isDisplayingUserGroup}}\\n  <Operator::ResolutionBotSuggestionSettings::ToggleWithPredicates\\n    @settings={{@resolutionBotSettings}}\\n    @selection={{this.userSelection}}\\n    @attributes={{this.attributeGroupListForUsers}}\\n    @isDisplayingUserGroup={{@isDisplayingUserGroup}}\\n    @togglePaywall=\\\"automatically_suggest_content\\\"\\n    @enabledScope=\\\"contentSuggestionsEnabledForUsers\\\"\\n    @predicatesScope=\\\"contentSuggestionsForUsersPredicateGroup\\\"\\n    @labelPrefix=\\\"While\\\"\\n    @label=\\\"customers are typing\\\"\\n    @labelDescription=\\\"Your customers will see relevant suggestions as they type — even before they hit the enter key.\\\"\\n  />\\n{{else}}\\n  <Operator::ResolutionBotSuggestionSettings::ToggleWithPredicates\\n    @settings={{@resolutionBotSettings}}\\n    @selection={{this.visitorSelection}}\\n    @attributes={{this.attributeGroupListForVisitors}}\\n    @isDisplayingUserGroup={{@isDisplayingUserGroup}}\\n    @togglePaywall=\\\"automatically_suggest_content\\\"\\n    @enabledScope=\\\"contentSuggestionsEnabledForVisitors\\\"\\n    @predicatesScope=\\\"contentSuggestionsForVisitorsPredicateGroup\\\"\\n    @labelPrefix=\\\"While\\\"\\n    @label=\\\"customers are typing\\\"\\n    @labelDescription=\\\"Your customers will see relevant suggestions as they type — even before they hit the enter key.\\\"\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/operator/resolution-bot-suggestion-settings/content-suggestions-toggle.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/operator/resolution-bot-suggestion-settings/content-suggestions-toggle.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class ContentSuggestionsToggle extends Component {\n  @service appService;\n  @service attributeService;\n\n  @tracked userSelection = this.allowContentSuggestionsForAllUsers ? 'all' : 'match';\n  @tracked visitorSelection = this.allowContentSuggestionsForAllVisitors ? 'all' : 'match';\n\n  get allowContentSuggestionsForAllUsers() {\n    return (\n      this.args.resolutionBotSettings.contentSuggestionsForUsersPredicateGroup.predicates.length ===\n      0\n    );\n  }\n\n  get allowContentSuggestionsForAllVisitors() {\n    return (\n      this.args.resolutionBotSettings.contentSuggestionsForVisitorsPredicateGroup.predicates\n        .length === 0\n    );\n  }\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get attributeGroupList() {\n    return this.attributeService.attributeGroupListForUsers;\n  }\n\n  get attributeGroupListForVisitors() {\n    return this.attributeService.attributeGroupListForAnonymous;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @isDisplayingUserGroup}}\\n  <Operator::ResolutionBotSuggestionSettings::ToggleWithPredicates\\n    @settings={{@resolutionBotSettings}}\\n    @selection={{this.userSelection}}\\n    @attributes={{this.attributeGroupListForUsers}}\\n    @isDisplayingUserGroup={{@isDisplayingUserGroup}}\\n    @noDataWarning={{and (not @resolutionBotSettings.hasGeneratedPredictiveAnswers) @resolutionBotSettings.predictiveAnswersEnabledForUsers}}\\n    @togglePaywall=\\\"predictive_answers\\\"\\n    @enabledScope=\\\"predictiveAnswersEnabledForUsers\\\"\\n    @predicatesScope=\\\"predictiveAnswersForUsersPredicateGroup\\\"\\n    @labelPrefix=\\\"Before\\\"\\n    @label=\\\"customers start typing\\\"\\n    @labelDescription=\\\"Over time, Resolution Bot will learn to recognize customer context, and suggest relevant answers.\\\"\\n  />\\n{{else}}\\n  <Operator::ResolutionBotSuggestionSettings::ToggleWithPredicates\\n    @settings={{@resolutionBotSettings}}\\n    @selection={{this.visitorSelection}}\\n    @attributes={{this.attributeGroupListForVisitors}}\\n    @isDisplayingUserGroup={{@isDisplayingUserGroup}}\\n    @noDataWarning={{and (not @resolutionBotSettings.hasGeneratedPredictiveAnswers) @resolutionBotSettings.predictiveAnswersEnabledForVisitors}}\\n    @togglePaywall=\\\"predictive_answers\\\"\\n    @enabledScope=\\\"predictiveAnswersEnabledForVisitors\\\"\\n    @predicatesScope=\\\"predictiveAnswersForVisitorsPredicateGroup\\\"\\n    @labelPrefix=\\\"Before\\\"\\n    @label=\\\"customers start typing\\\"\\n    @labelDescription=\\\"Over time, Resolution Bot will learn to recognize customer context, and suggest relevant answers.\\\"\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{#if @isDisplayingUserGroup}}\\n  <Operator::ResolutionBotSuggestionSettings::ToggleWithPredicates\\n    @settings={{@resolutionBotSettings}}\\n    @selection={{this.userSelection}}\\n    @attributes={{this.attributeGroupListForUsers}}\\n    @isDisplayingUserGroup={{@isDisplayingUserGroup}}\\n    @noDataWarning={{and (not @resolutionBotSettings.hasGeneratedPredictiveAnswers) @resolutionBotSettings.predictiveAnswersEnabledForUsers}}\\n    @togglePaywall=\\\"predictive_answers\\\"\\n    @enabledScope=\\\"predictiveAnswersEnabledForUsers\\\"\\n    @predicatesScope=\\\"predictiveAnswersForUsersPredicateGroup\\\"\\n    @labelPrefix=\\\"Before\\\"\\n    @label=\\\"customers start typing\\\"\\n    @labelDescription=\\\"Over time, Resolution Bot will learn to recognize customer context, and suggest relevant answers.\\\"\\n  />\\n{{else}}\\n  <Operator::ResolutionBotSuggestionSettings::ToggleWithPredicates\\n    @settings={{@resolutionBotSettings}}\\n    @selection={{this.visitorSelection}}\\n    @attributes={{this.attributeGroupListForVisitors}}\\n    @isDisplayingUserGroup={{@isDisplayingUserGroup}}\\n    @noDataWarning={{and (not @resolutionBotSettings.hasGeneratedPredictiveAnswers) @resolutionBotSettings.predictiveAnswersEnabledForVisitors}}\\n    @togglePaywall=\\\"predictive_answers\\\"\\n    @enabledScope=\\\"predictiveAnswersEnabledForVisitors\\\"\\n    @predicatesScope=\\\"predictiveAnswersForVisitorsPredicateGroup\\\"\\n    @labelPrefix=\\\"Before\\\"\\n    @label=\\\"customers start typing\\\"\\n    @labelDescription=\\\"Over time, Resolution Bot will learn to recognize customer context, and suggest relevant answers.\\\"\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/operator/resolution-bot-suggestion-settings/predictive-answers-toggle.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/operator/resolution-bot-suggestion-settings/predictive-answers-toggle.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class PredictiveAnswersToggle extends Component {\n  @service appService;\n  @service attributeService;\n\n  @tracked userSelection = this.allowPredictiveAnswersForAllUsers ? 'all' : 'match';\n  @tracked visitorSelection = this.allowPredictiveAnswersForAllVisitors ? 'all' : 'match';\n\n  get allowPredictiveAnswersForAllUsers() {\n    return (\n      this.args.resolutionBotSettings.predictiveAnswersForUsersPredicateGroup.predicates.length ===\n      0\n    );\n  }\n\n  get allowPredictiveAnswersForAllVisitors() {\n    return (\n      this.args.resolutionBotSettings.predictiveAnswersForVisitorsPredicateGroup.predicates\n        .length === 0\n    );\n  }\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get attributeGroupListForUsers() {\n    return this.attributeService.attributeGroupListForUsers;\n  }\n\n  get attributeGroupListForVisitors() {\n    return this.attributeService.attributeGroupListForAnonymous;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Paywall @featureKey={{@togglePaywall}} as |togglePaywall|>\\n    <div class=\\\"flex flex-col gap-2\\\">\\n      <div class=\\\"flex flex-col gap-2\\\">\\n        <div class=\\\"flex flex-row items-start gap-4\\\">\\n          <togglePaywall.Hover>\\n            <IcOnOffToggle\\n              class={{if @noDataWarning \\\"operator__settings__suspendable-toggle\\\" \\\"\\\"}}\\n              @isOn={{this.isEnabled}}\\n              @onClick={{this.toggleEnabled}}\\n              @isDisabled={{togglePaywall.isActive}}\\n              data-test-toggle={{@enabledScope}}\\n            />\\n          </togglePaywall.Hover>\\n          <div class=\\\"flex flex-col\\\">\\n            <Text @styling='strong' class=\\\"mt-px\\\">\\n              <strong class=\\\"font-bold\\\">{{@labelPrefix}}</strong>\\n              {{@label}}\\n            </Text>\\n            <Paragraph @styling='small'>\\n              {{@labelDescription}}\\n            </Paragraph>\\n          </div>\\n        </div>\\n        {{#if @noDataWarning}}\\n          <IcBanner\\n            @text=\\\"This will take effect after Resolution Bot has learned more about your customers' questions\\\"\\n            @type=\\\"warning\\\"\\n            data-test-resolution-bot-no-predictive-data-warning\\n          />\\n        {{/if}}\\n      </div>\\n      {{#if (and this.isEnabled togglePaywall.isInactive)}}\\n        <div class=\\\"flex flex-col ml-3 mb-1\\\">\\n          <Paywall @featureKey={{@targetingPaywall}} as |targetingPaywall|>\\n            <targetingPaywall.Block>\\n              <MessengerSettings::Common::PredicatesRadio\\n                @predicatesScope={{@predicatesScope}}\\n                @selection={{@selection}}\\n                @resetPredicates={{this.resetPredicates}}\\n                @isDisabled={{targetingPaywall.isActive}}\\n                @predicatesGroup={{this.predicatesGroup}}\\n                @attributes={{@attributes}}\\n                @isDisplayingUserGroup={{@isDisplayingUserGroup}}\\n                @attributePickerLabel=\\\"Add a rule\\\"\\n              />\\n            </targetingPaywall.Block>\\n          </Paywall>\\n        </div>\\n      {{/if}}\\n    </div>\\n</Paywall>\\n\", {\"contents\":\"<Paywall @featureKey={{@togglePaywall}} as |togglePaywall|>\\n    <div class=\\\"flex flex-col gap-2\\\">\\n      <div class=\\\"flex flex-col gap-2\\\">\\n        <div class=\\\"flex flex-row items-start gap-4\\\">\\n          <togglePaywall.Hover>\\n            <IcOnOffToggle\\n              class={{if @noDataWarning \\\"operator__settings__suspendable-toggle\\\" \\\"\\\"}}\\n              @isOn={{this.isEnabled}}\\n              @onClick={{this.toggleEnabled}}\\n              @isDisabled={{togglePaywall.isActive}}\\n              data-test-toggle={{@enabledScope}}\\n            />\\n          </togglePaywall.Hover>\\n          <div class=\\\"flex flex-col\\\">\\n            <Text @styling='strong' class=\\\"mt-px\\\">\\n              <strong class=\\\"font-bold\\\">{{@labelPrefix}}</strong>\\n              {{@label}}\\n            </Text>\\n            <Paragraph @styling='small'>\\n              {{@labelDescription}}\\n            </Paragraph>\\n          </div>\\n        </div>\\n        {{#if @noDataWarning}}\\n          <IcBanner\\n            @text=\\\"This will take effect after Resolution Bot has learned more about your customers' questions\\\"\\n            @type=\\\"warning\\\"\\n            data-test-resolution-bot-no-predictive-data-warning\\n          />\\n        {{/if}}\\n      </div>\\n      {{#if (and this.isEnabled togglePaywall.isInactive)}}\\n        <div class=\\\"flex flex-col ml-3 mb-1\\\">\\n          <Paywall @featureKey={{@targetingPaywall}} as |targetingPaywall|>\\n            <targetingPaywall.Block>\\n              <MessengerSettings::Common::PredicatesRadio\\n                @predicatesScope={{@predicatesScope}}\\n                @selection={{@selection}}\\n                @resetPredicates={{this.resetPredicates}}\\n                @isDisabled={{targetingPaywall.isActive}}\\n                @predicatesGroup={{this.predicatesGroup}}\\n                @attributes={{@attributes}}\\n                @isDisplayingUserGroup={{@isDisplayingUserGroup}}\\n                @attributePickerLabel=\\\"Add a rule\\\"\\n              />\\n            </targetingPaywall.Block>\\n          </Paywall>\\n        </div>\\n      {{/if}}\\n    </div>\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/operator/resolution-bot-suggestion-settings/toggle-with-predicates.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/operator/resolution-bot-suggestion-settings/toggle-with-predicates.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class ToggleWithPredicates extends Component {\n  @service intercomEventService;\n\n  get predicatesGroup() {\n    return this.args.settings[this.args.predicatesScope];\n  }\n\n  get isEnabled() {\n    return this.args.settings[this.args.enabledScope];\n  }\n\n  @action\n  toggleEnabled() {\n    this.args.settings.toggleProperty(this.args.enabledScope);\n    this.intercomEventService.trackEvent('resolution-bot-setting-changed', {\n      action: 'changed',\n      object: this.args.enabledScope,\n      owner: 'resolution-bot',\n      newValue: this.isEnabled,\n    });\n  }\n\n  @action\n  resetPredicates() {\n    this.predicatesGroup.set('predicates', []);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__flexes-to-1 o__has-rows u__padl__30 u__padr__30\\\">\\n  <Common::AccordionComponent\\n    @initiallyOpenSectionName={{@initialSection}}\\n    @sectionDidOpen={{this.sectionDidOpen}}\\n    @sectionDidClose={{this.sectionDidClose}}\\n    @sectionCanClose={{this.sectionCanClose}}\\n    data-test-settings-accordion as |accordion|>\\n    <accordion.section @name=\\\"bot-identity\\\" as |section|>\\n      <section.header as |header|>\\n        <Common::AccordionComponent::WhiteHeaderTitle\\n          @heading=\\\"Choose an identity for your bots\\\"\\n          @subheading=\\\"This is how your Task Bots, Custom Bots, and Resolution Bot will appear to customers\\\"\\n          @icon=\\\"operator\\\"\\n        />\\n      </section.header>\\n      <section.header-action />\\n      <section.body as |body|>\\n        <div class=\\\"u__padl__60 u__padr__30 u__padb__30\\\">\\n          <Operator::BotIdentitySettings\\n            @identity={{identity}}\\n            @body={{body}}\\n            @identityPreview={{identityPreview}}\\n            @setCustomAvatar={{action \\\"setCustomAvatar\\\"}}\\n            @hasRestoreDefaultButton={{hasRestoreDefaultButton}}\\n            @restoreDefaults={{action \\\"restoreDefaults\\\"}}\\n            @previewConfiguration={{previewConfiguration}}\\n            @previewConversationParts={{previewConversationParts}}\\n            @targetUserType={{targetUserType}}\\n            @cancel={{action \\\"cancel\\\"}}\\n            @save={{action \\\"save\\\"}}\\n            @paywallFeature=\\\"bot_identity\\\"\\n            @paywallCTA=\\\"Set a bot identity with\\\"\\n          />\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n    <accordion.section @name=\\\"suggestion-settings\\\" as |section|>\\n      <section.header as |header|>\\n        <Common::AccordionComponent::WhiteHeaderTitle\\n          @heading=\\\"Suggest relevant answers\\\"\\n          @subheading=\\\"Give Resolution Bot the chance to resolve conversations before they begin\\\"\\n          @icon=\\\"optimize-performance\\\"\\n        />\\n      </section.header>\\n      <section.header-action />\\n      <section.body as |body|>\\n        <div class=\\\"u__padl__60 u__padr__30 u__padb__30\\\">\\n          <Operator::ResolutionBotSuggestionSettings\\n            @resolutionBotSettings={{@resolutionBotSettings}}\\n            @body={{body}}\\n          />\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n    {{#if canUseLoopingBot}}\\n      <accordion.section @name=\\\"resolution-bot-looping\\\" data-test-resolution-bot-looping-settings as |section|>\\n        <section.header as |header|>\\n          <Common::AccordionComponent::WhiteHeaderTitle\\n            @heading=\\\"Give Resolution Bot more chances to resolve\\\"\\n            @subheading=\\\"Let Resolution Bot answer multiple questions in one conversation\\\"\\n            @icon=\\\"visitor-auto-message\\\"\\n          />\\n        </section.header>\\n        <section.header-action />\\n        <section.body as |body|>\\n          <div class=\\\"u__padl__60 u__padr__30 u__padb__30\\\">\\n            <Operator::ResolutionBotLoopingSettings\\n              @resolutionBotLoopingSettings={{resolutionBotLoopingSettings}}\\n              @body={{body}}\\n              @identityPreview={{identityPreview}}\\n              @previewConfiguration={{previewConfiguration}}\\n              @trackSettingsChange={{this.trackLoopingBotSettingsChange}}\\n            />\\n          </div>\\n        </section.body>\\n      </accordion.section>\\n    {{/if}}\\n    <accordion.section @name=\\\"operator-inbox\\\" as |section|>\\n      <section.header as |header|>\\n        <Common::AccordionComponent::WhiteHeaderTitle\\n          @heading=\\\"Turn on the bot inbox\\\"\\n          @subheading=\\\"Keep your conversations in a separate inbox while Resolution Bot or a Custom Bot is active\\\"\\n          @icon=\\\"conversation\\\"\\n        />\\n      </section.header>\\n      <section.header-action />\\n      <section.body as |body|>\\n        <div class=\\\"u__padl__60 u__padr__30 u__padb__30\\\">\\n          <Operator::BotInboxSettings\\n            @botInboxSettings={{botInboxSettings}}\\n            @body={{body}}\\n            @toggleOperatorInboxSetting={{action \\\"toggleOperatorInboxSetting\\\"}}\\n            @trackSettingsChange={{action \\\"trackOperatorInboxSettingsChange\\\"}}\\n          />\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n    <accordion.section @name=\\\"custom-bot\\\" data-test-custom-bots-auto-close-settings as |section|>\\n      <section.header as |header|>\\n        <Common::AccordionComponent::WhiteHeaderTitle\\n          @heading=\\\"Auto-close abandoned Custom Bot conversations\\\"\\n          @subheading=\\\"If a customer hasn't replied in 3 minutes, the conversation will be automatically closed. Further replies will re-open the conversation.\\\"\\n          @icon=\\\"live\\\"\\n        />\\n      </section.header>\\n      <section.header-action />\\n      <section.body as |body|>\\n        <div class=\\\"u__padl__60 u__padr__30 u__padb__30\\\">\\n          <Operator::CustomBotsAutoCloseSettings\\n            @customBotsSettings={{customBotsSettings}}\\n            @trackCustomBotAutoCloseSettings={{action \\\"trackCustomBotAutoCloseSettings\\\"}}\\n            @body={{body}}\\n          />\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n    <accordion.section @name=\\\"answer-bot\\\" as |section|>\\n      <section.header as |header|>\\n        <Common::AccordionComponent::WhiteHeaderTitle\\n          @heading=\\\"Import Zendesk conversation history\\\"\\n          @subheading=\\\"Give Resolution Bot a headstart on understanding your most commonly asked questions\\\"\\n          @icon=\\\"integration\\\"\\n        />\\n      </section.header>\\n      <section.header-action />\\n      <section.body as |body|>\\n        <div class=\\\"u__padl__60 u__padr__30 u__padb__30\\\">\\n          <Operator::ResolutionBotImportSettings\\n            @body={{body}}\\n            @openModal={{openModal}}\\n            @paywallFeature=\\\"answer_workflows\\\"\\n            @paywallCTA=\\\"Start automating answers with\\\"\\n          />\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n  </Common::AccordionComponent>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__flexes-to-1 o__has-rows u__padl__30 u__padr__30\\\">\\n  <Common::AccordionComponent\\n    @initiallyOpenSectionName={{@initialSection}}\\n    @sectionDidOpen={{this.sectionDidOpen}}\\n    @sectionDidClose={{this.sectionDidClose}}\\n    @sectionCanClose={{this.sectionCanClose}}\\n    data-test-settings-accordion as |accordion|>\\n    <accordion.section @name=\\\"bot-identity\\\" as |section|>\\n      <section.header as |header|>\\n        <Common::AccordionComponent::WhiteHeaderTitle\\n          @heading=\\\"Choose an identity for your bots\\\"\\n          @subheading=\\\"This is how your Task Bots, Custom Bots, and Resolution Bot will appear to customers\\\"\\n          @icon=\\\"operator\\\"\\n        />\\n      </section.header>\\n      <section.header-action />\\n      <section.body as |body|>\\n        <div class=\\\"u__padl__60 u__padr__30 u__padb__30\\\">\\n          <Operator::BotIdentitySettings\\n            @identity={{identity}}\\n            @body={{body}}\\n            @identityPreview={{identityPreview}}\\n            @setCustomAvatar={{action \\\"setCustomAvatar\\\"}}\\n            @hasRestoreDefaultButton={{hasRestoreDefaultButton}}\\n            @restoreDefaults={{action \\\"restoreDefaults\\\"}}\\n            @previewConfiguration={{previewConfiguration}}\\n            @previewConversationParts={{previewConversationParts}}\\n            @targetUserType={{targetUserType}}\\n            @cancel={{action \\\"cancel\\\"}}\\n            @save={{action \\\"save\\\"}}\\n            @paywallFeature=\\\"bot_identity\\\"\\n            @paywallCTA=\\\"Set a bot identity with\\\"\\n          />\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n    <accordion.section @name=\\\"suggestion-settings\\\" as |section|>\\n      <section.header as |header|>\\n        <Common::AccordionComponent::WhiteHeaderTitle\\n          @heading=\\\"Suggest relevant answers\\\"\\n          @subheading=\\\"Give Resolution Bot the chance to resolve conversations before they begin\\\"\\n          @icon=\\\"optimize-performance\\\"\\n        />\\n      </section.header>\\n      <section.header-action />\\n      <section.body as |body|>\\n        <div class=\\\"u__padl__60 u__padr__30 u__padb__30\\\">\\n          <Operator::ResolutionBotSuggestionSettings\\n            @resolutionBotSettings={{@resolutionBotSettings}}\\n            @body={{body}}\\n          />\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n    {{#if canUseLoopingBot}}\\n      <accordion.section @name=\\\"resolution-bot-looping\\\" data-test-resolution-bot-looping-settings as |section|>\\n        <section.header as |header|>\\n          <Common::AccordionComponent::WhiteHeaderTitle\\n            @heading=\\\"Give Resolution Bot more chances to resolve\\\"\\n            @subheading=\\\"Let Resolution Bot answer multiple questions in one conversation\\\"\\n            @icon=\\\"visitor-auto-message\\\"\\n          />\\n        </section.header>\\n        <section.header-action />\\n        <section.body as |body|>\\n          <div class=\\\"u__padl__60 u__padr__30 u__padb__30\\\">\\n            <Operator::ResolutionBotLoopingSettings\\n              @resolutionBotLoopingSettings={{resolutionBotLoopingSettings}}\\n              @body={{body}}\\n              @identityPreview={{identityPreview}}\\n              @previewConfiguration={{previewConfiguration}}\\n              @trackSettingsChange={{this.trackLoopingBotSettingsChange}}\\n            />\\n          </div>\\n        </section.body>\\n      </accordion.section>\\n    {{/if}}\\n    <accordion.section @name=\\\"operator-inbox\\\" as |section|>\\n      <section.header as |header|>\\n        <Common::AccordionComponent::WhiteHeaderTitle\\n          @heading=\\\"Turn on the bot inbox\\\"\\n          @subheading=\\\"Keep your conversations in a separate inbox while Resolution Bot or a Custom Bot is active\\\"\\n          @icon=\\\"conversation\\\"\\n        />\\n      </section.header>\\n      <section.header-action />\\n      <section.body as |body|>\\n        <div class=\\\"u__padl__60 u__padr__30 u__padb__30\\\">\\n          <Operator::BotInboxSettings\\n            @botInboxSettings={{botInboxSettings}}\\n            @body={{body}}\\n            @toggleOperatorInboxSetting={{action \\\"toggleOperatorInboxSetting\\\"}}\\n            @trackSettingsChange={{action \\\"trackOperatorInboxSettingsChange\\\"}}\\n          />\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n    <accordion.section @name=\\\"custom-bot\\\" data-test-custom-bots-auto-close-settings as |section|>\\n      <section.header as |header|>\\n        <Common::AccordionComponent::WhiteHeaderTitle\\n          @heading=\\\"Auto-close abandoned Custom Bot conversations\\\"\\n          @subheading=\\\"If a customer hasn't replied in 3 minutes, the conversation will be automatically closed. Further replies will re-open the conversation.\\\"\\n          @icon=\\\"live\\\"\\n        />\\n      </section.header>\\n      <section.header-action />\\n      <section.body as |body|>\\n        <div class=\\\"u__padl__60 u__padr__30 u__padb__30\\\">\\n          <Operator::CustomBotsAutoCloseSettings\\n            @customBotsSettings={{customBotsSettings}}\\n            @trackCustomBotAutoCloseSettings={{action \\\"trackCustomBotAutoCloseSettings\\\"}}\\n            @body={{body}}\\n          />\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n    <accordion.section @name=\\\"answer-bot\\\" as |section|>\\n      <section.header as |header|>\\n        <Common::AccordionComponent::WhiteHeaderTitle\\n          @heading=\\\"Import Zendesk conversation history\\\"\\n          @subheading=\\\"Give Resolution Bot a headstart on understanding your most commonly asked questions\\\"\\n          @icon=\\\"integration\\\"\\n        />\\n      </section.header>\\n      <section.header-action />\\n      <section.body as |body|>\\n        <div class=\\\"u__padl__60 u__padr__30 u__padb__30\\\">\\n          <Operator::ResolutionBotImportSettings\\n            @body={{body}}\\n            @openModal={{openModal}}\\n            @paywallFeature=\\\"answer_workflows\\\"\\n            @paywallCTA=\\\"Start automating answers with\\\"\\n          />\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n  </Common::AccordionComponent>\\n</div>\\n\",\"moduleName\":\"embercom/components/operator/settings-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/operator/settings-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport EmberObject from '@ember/object';\nimport { readOnly, equal, or, and, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport { action } from '@ember/object';\n\nconst CONFIRM_NOT_SAVED = {\n  title: 'Close without saving?',\n  primaryButtonType: 'primary-destructive',\n  confirmButtonText: 'Continue without saving',\n  cancelButtonText: 'Keep editing',\n  body: \"You'll lose your changes if you don't save first.\",\n};\n\nconst SECTION_MODEL_MAP = {\n  'bot-identity': 'identity',\n  'suggestion-settings': 'resolutionBotSettings',\n  'resolution-bot-looping': 'resolutionBotLoopingSettings',\n  'operator-inbox': 'botInboxSettings',\n  'custom-bot': 'customBotsSettings',\n  'answer-bot': '',\n};\n\nexport default Component.extend({\n  intercomEventService: service(),\n  confirmService: service(),\n  notificationsService: service(),\n  init() {\n    this._super(...arguments);\n    this.set('hasRestoreDefaultButton', this._hasRestoreDefaultButton);\n  },\n  classNames: ['layout__box', 'o__has-rows', 'o__flexes-to-1'],\n  appService: service(),\n  app: readOnly('appService.app'),\n  canUseLoopingBot: readOnly('app.canUseLoopingBot'),\n  identityPreview: computed('avatarUrl', 'identity.name', 'identity.isOperator', function() {\n    let identity = this.identity.getProperties('name', 'isOperator');\n    identity = EmberObject.create(identity);\n    identity.set('avatarData', { url: this.avatarUrl });\n    return identity;\n  }),\n  isSelectingCustomColors: equal('identity.avatarType', 'custom_colors'),\n  isSelectingCustomAvatar: equal('identity.avatarType', 'custom'),\n  hasDefaultName: equal('identity.name', 'Operator'),\n  hasDefaultAvatarType: equal('identity.avatarType', 'default'),\n  hasDefaultValues: and('hasDefaultName', 'hasDefaultAvatarType'),\n  hasCustomValues: not('hasDefaultValues'),\n  avatarUrl: or('previewUrl', 'identity.avatar.image_urls.square_128'),\n  previewConversationParts: computed('identityPreview.avatarData.url', function() {\n    return [\n      {\n        app_id: this.get('app.id'),\n        admin: this.identityPreview,\n        sub_type: 'comment',\n        blocks: [\n          {\n            type: 'paragraph',\n            text: 'Hi there! What brings you here today?',\n          },\n        ],\n      },\n    ];\n  }),\n  isSaving: readOnly('identity.isSaving'),\n  _hasRestoreDefaultButton: readOnly('hasCustomValues'),\n\n  trackLoopingBotSettingsChange: action(function() {\n    let settingSnapshot = this.resolutionBotLoopingSettings.getProperties(\n      'enabled',\n      'accessToTeammateEnabled',\n    );\n\n    this.intercomEventService.trackAnalyticsEvent({\n      context: 'looping_bot_settings',\n      object: 'looping_bot_settings',\n      action: 'save',\n      ...settingSnapshot,\n    });\n  }),\n\n  sectionDidOpen: action(function(sectionName) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'opened',\n      context: 'operator_settings',\n      object: `${sectionName}-section`,\n    });\n  }),\n  sectionDidClose: action(function(sectionName) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'closed',\n      context: 'operator_settings',\n      object: `${sectionName}-section`,\n    });\n  }),\n  sectionCanClose: action(async function(sectionName) {\n    let model = this.get(SECTION_MODEL_MAP[sectionName]);\n\n    if (!model || !model.hasDirtyAttributes) {\n      return true;\n    }\n\n    let confirmed = await this.confirmService.show(this, CONFIRM_NOT_SAVED);\n\n    if (confirmed) {\n      model.rollbackAttributes();\n      return true;\n    } else {\n      return false;\n    }\n  }),\n\n  actions: {\n    save() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'update',\n        object: 'operator-identity',\n        place: 'operator-settings',\n        avatar_type: this.identity.get('avatarType'),\n        operator_name: this.identity.get('name'),\n      });\n\n      this.identity\n        .save()\n        .then(() => this.notificationsService.notifyConfirmation('Saved successfully'))\n        .then(() => this.set('hasRestoreDefaultButton', this._hasRestoreDefaultButton))\n        .catch(() => this.notificationsService.notifyError('Oops! Something went wrong'));\n    },\n\n    toggleOperatorInboxSetting() {\n      this.toggleProperty('botInboxSettings.assignConversationsToBots');\n\n      if (!this.botInboxSettings.assignConversationsToBots) {\n        this.botInboxSettings.set('deferSlas', false);\n      }\n    },\n\n    trackCustomBotAutoCloseSettings() {\n      let settingSnapshot = this.customBotsSettings.getProperties(\n        'autoClosingForUsers',\n        'autoClosingForVisitors',\n        'autoClosingFromButton',\n        'autoClosingFromNewConversationUsers',\n        'autoClosingFromNewConversationVisitors',\n      );\n\n      this.intercomEventService.trackAnalyticsEvent({\n        context: 'bot_inbox_settings',\n        object: 'custom_bot_auto_close_settings',\n        action: 'save',\n        ...settingSnapshot,\n      });\n    },\n\n    trackOperatorInboxSettingsChange() {\n      this.intercomEventService.trackAnalyticsEvent({\n        context: 'bot_inbox_settings',\n        object: 'bot_inbox_toggle',\n        action: this.botInboxSettings.assignConversationsToBots ? 'turned_on' : 'turned_off',\n      });\n    },\n\n    cancel() {\n      this.identity.rollbackAttributes();\n      this.set('previewUrl', null);\n      this.set('hasRestoreDefaultButton', this._hasRestoreDefaultButton);\n    },\n    setCustomAvatar(dataUrl) {\n      if (this.isDestroying) {\n        return;\n      }\n      this.set('previewUrl', dataUrl);\n    },\n    restoreDefaults() {\n      let confirmOptions = {\n        title: 'Restore default bot identity?',\n        confirmButtonText: 'Restore default',\n        cancelButtonText: 'Cancel',\n        body:\n          \"You'll lose the changes that you made and the default Operator name and profile picture will be used.\",\n      };\n      intercomConfirm(this, confirmOptions)\n        .then(() => this._doRestoreDefaults())\n        .then(() => this.set('hasRestoreDefaultButton', this._hasRestoreDefaultButton))\n        .then(() => this.notificationsService.notifyConfirmation('Saved successfully'));\n    },\n  },\n  _doRestoreDefaults() {\n    this.set('previewUrl', null);\n    return this.identity\n      .revert()\n      .catch(() => this.notificationsService.notifyError('Oops! Something went wrong'));\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcButton\\n  @label=\\\"Tag\\\"\\n  @type=\\\"secondary\\\"\\n  @icon=\\\"tag\\\"\\n  @onClick={{action (mut this.showTagModal) true}}\\n  data-test-tag-button={{true}}\\n/>\\n\\n<IcModal\\n  @width=\\\"m\\\"\\n  @onModalClose={{action (mut this.showTagModal) false}}\\n  @showCloseIcon={{false}}\\n  @isOpen={{this.showTagModal}}\\n>\\n  <Common::TaggingComponent\\n    @title={{this.tagModalTitle}}\\n    @taggable={{this.taggable}}\\n    @type=\\\"content\\\"\\n    @location=\\\"content-list\\\"\\n    @afterSave={{action 'afterTagSave'}}\\n    @closeModalAction={{action (mut this.showTagModal) false}}\\n  />\\n</IcModal>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcButton\\n  @label=\\\"Tag\\\"\\n  @type=\\\"secondary\\\"\\n  @icon=\\\"tag\\\"\\n  @onClick={{action (mut this.showTagModal) true}}\\n  data-test-tag-button={{true}}\\n/>\\n\\n<IcModal\\n  @width=\\\"m\\\"\\n  @onModalClose={{action (mut this.showTagModal) false}}\\n  @showCloseIcon={{false}}\\n  @isOpen={{this.showTagModal}}\\n>\\n  <Common::TaggingComponent\\n    @title={{this.tagModalTitle}}\\n    @taggable={{this.taggable}}\\n    @type=\\\"content\\\"\\n    @location=\\\"content-list\\\"\\n    @afterSave={{action 'afterTagSave'}}\\n    @closeModalAction={{action (mut this.showTagModal) false}}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/outbound/bulk-tag.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/bulk-tag.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { task } from 'ember-concurrency';\nimport { put } from 'embercom/lib/ajax';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  bulkTaggingUrl: '/ember/content_service/contents/bulk_tag',\n  tagModalTitle: computed('selectedContentWrappers.length', function() {\n    if (this.selectedContentWrappers.length === 1) {\n      return 'Tag this message';\n    }\n    return `Tag these ${this.selectedContentWrappers.length} messages`;\n  }),\n  taggable: computed(function() {\n    return {\n      tags: [],\n      taggings: [],\n      type: 'content',\n      updateTaggings: (admin, addedTags, removedTags) =>\n        this.updateTaggingsTask.perform(addedTags, removedTags),\n    };\n  }),\n  updateTaggingsTask: task(function*(addedTags, removedTags) {\n    yield put(this.bulkTaggingUrl, {\n      app_id: this.get('app.id'),\n      added_tag_ids: addedTags.map(tag => tag.get('id')),\n      removed_tag_ids: removedTags.map(tag => tag.get('id')),\n      content_wrapper_ids: this.selectedContentWrappers.map(contentWrapper =>\n        contentWrapper.get('id'),\n      ),\n    });\n  }),\n\n  actions: {\n    afterTagSave() {\n      this.set('showTagModal', false);\n      this.notificationsService.notifyConfirmation('Messages tagged!');\n      if (this.onAfterSave) {\n        this.onAfterSave();\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcRadioButtonGroup\\n    @onSelectionChange={{this.filterByMatchBehavior}}\\n    @selectedValue={{this.selectedMatchBehavior}}\\n    data-test-tab-filter-component=\\\"match-behavior\\\"\\n    data-intercom-target=\\\"Outbound Home match behavior\\\"\\n    as |control|\\n  >\\n  {{#each this.behaviors as |behavior|}}\\n    <control.button @label={{behavior.text}} @value={{behavior.value}} />\\n  {{/each}}\\n</IcRadioButtonGroup>\\n\", {\"contents\":\"<IcRadioButtonGroup\\n    @onSelectionChange={{this.filterByMatchBehavior}}\\n    @selectedValue={{this.selectedMatchBehavior}}\\n    data-test-tab-filter-component=\\\"match-behavior\\\"\\n    data-intercom-target=\\\"Outbound Home match behavior\\\"\\n    as |control|\\n  >\\n  {{#each this.behaviors as |behavior|}}\\n    <control.button @label={{behavior.text}} @value={{behavior.value}} />\\n  {{/each}}\\n</IcRadioButtonGroup>\\n\",\"moduleName\":\"embercom/components/outbound/delivery-type-tab-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/delivery-type-tab-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { behaviorMap } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class DeliveryTypeTabComponent extends Component {\n  @service appService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get behaviors() {\n    return Object.keys(behaviorMap).map(name => ({\n      text: name.capitalize(),\n      value: name,\n    }));\n  }\n\n  get selectedMatchBehavior() {\n    return Object.keys(behaviorMap).find(\n      key =>\n        JSON.stringify(behaviorMap[key]) === JSON.stringify(this.args.selectedMatchBehaviorValues),\n    );\n  }\n\n  @action\n  filterByMatchBehavior(behavior) {\n    let behaviorValues = behaviorMap[behavior];\n    this.args.filterContent('selectedMatchBehaviorValues', behaviorValues);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcEmptyState\\n  data-test-empty-state-wrapper\\n  @icon={{@icon}}\\n  @title={{this.title}}\\n>\\n  <p class=\\\"empty-state__description pt-2\\\">\\n    {{#if @hasAppliedFilter}}\\n      <a {{on \\\"click\\\" @resetFilters}} data-test-reset-filter-link>Reset your filters</a> to see all {{this.pluralizedObjectType}}\\n    {{else}}\\n      <a {{on \\\"click\\\" @createContent}} data-test-create-content-link>Create a new {{or @humanReadableObjectName 'message'}}</a> {{if @creationReason @creationReason}}\\n    {{/if}}\\n  </p>\\n</IcEmptyState>\\n\", {\"contents\":\"<IcEmptyState\\n  data-test-empty-state-wrapper\\n  @icon={{@icon}}\\n  @title={{this.title}}\\n>\\n  <p class=\\\"empty-state__description pt-2\\\">\\n    {{#if @hasAppliedFilter}}\\n      <a {{on \\\"click\\\" @resetFilters}} data-test-reset-filter-link>Reset your filters</a> to see all {{this.pluralizedObjectType}}\\n    {{else}}\\n      <a {{on \\\"click\\\" @createContent}} data-test-create-content-link>Create a new {{or @humanReadableObjectName 'message'}}</a> {{if @creationReason @creationReason}}\\n    {{/if}}\\n  </p>\\n</IcEmptyState>\\n\",\"moduleName\":\"embercom/components/outbound/empty-state.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/empty-state.hbs\"}});\nimport Component from '@glimmer/component';\nimport { pluralize } from 'ember-inflector';\n\nexport default class OutboundEmptyState extends Component {\n  get pluralizedObjectType() {\n    if (!this.args.humanReadableObjectName) {\n      return 'messages';\n    }\n    return pluralize(this.args.humanReadableObjectName);\n  }\n\n  get title() {\n    let fullTitle = `No ${this.pluralizedObjectType}`;\n    if (this.args.hasAppliedFilter) {\n      fullTitle += ' match these filters';\n    }\n    return fullTitle;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row gap-2\\\" data-test-filters-list data-intercom-target=\\\"Outbound Home filters\\\">\\n  {{#if (has-feature 'canUseContentOrientedNavigation')}}\\n    {{#unless @hideDeliveryTypeTabs}}\\n      <div class=\\\"flex flex-row gap-2\\\" data-test-delivery-type-filter>\\n        <Outbound::DeliveryTypeTabComponent @selectedMatchBehaviorValues={{@selectedMatchBehaviorValues}}\\n          @filterContent={{@filterContent}} />\\n      </div>\\n      <div class=\\\"vertical-line\\\"></div>\\n    {{/unless}}\\n  {{/if}}\\n  {{#unless @hideAudienceComponent}}\\n  <Outbound::Filters::AudienceComponent @selectedAudienceValues={{@selectedAudienceValues}}\\n    @filterContent={{@filterContent}} @selectedMatchBehaviorValues={{@selectedMatchBehaviorValues}}/>\\n  {{/unless}}\\n  {{#if (has-feature 'canUseContentOrientedNavigation')}}\\n    <Outbound::Filters::StateComponent @selectedStateValue={{@selectedStateValue}}\\n      @filterContent={{@filterContent}} @selectedMatchBehaviorValues={{@selectedMatchBehaviorValues}} />\\n  {{else}}\\n    <Outbound::Filters::StateComponent @selectedStateValue={{@selectedStateValue}}\\n      @filterContent={{@filterContent}} />\\n  {{/if}}\\n  {{#unless @hideSenderComponent}}\\n    <Outbound::Filters::SenderComponent @selectedSenderValue={{@selectedSenderValue}}\\n      @filterContent={{@filterContent}} />\\n  {{/unless}}\\n  {{#if (has-feature 'canUseContentOrientedNavigation')}}\\n    <Outbound::Filters::TagComponent @selectedTagValues={{@selectedTagValues}}\\n      @filterContent={{@filterContent}}\\n      @messagesTags={{@messagesTags}} />\\n  {{/if}}\\n</div>\\n\\n\", {\"contents\":\"<div class=\\\"flex flex-row gap-2\\\" data-test-filters-list data-intercom-target=\\\"Outbound Home filters\\\">\\n  {{#if (has-feature 'canUseContentOrientedNavigation')}}\\n    {{#unless @hideDeliveryTypeTabs}}\\n      <div class=\\\"flex flex-row gap-2\\\" data-test-delivery-type-filter>\\n        <Outbound::DeliveryTypeTabComponent @selectedMatchBehaviorValues={{@selectedMatchBehaviorValues}}\\n          @filterContent={{@filterContent}} />\\n      </div>\\n      <div class=\\\"vertical-line\\\"></div>\\n    {{/unless}}\\n  {{/if}}\\n  {{#unless @hideAudienceComponent}}\\n  <Outbound::Filters::AudienceComponent @selectedAudienceValues={{@selectedAudienceValues}}\\n    @filterContent={{@filterContent}} @selectedMatchBehaviorValues={{@selectedMatchBehaviorValues}}/>\\n  {{/unless}}\\n  {{#if (has-feature 'canUseContentOrientedNavigation')}}\\n    <Outbound::Filters::StateComponent @selectedStateValue={{@selectedStateValue}}\\n      @filterContent={{@filterContent}} @selectedMatchBehaviorValues={{@selectedMatchBehaviorValues}} />\\n  {{else}}\\n    <Outbound::Filters::StateComponent @selectedStateValue={{@selectedStateValue}}\\n      @filterContent={{@filterContent}} />\\n  {{/if}}\\n  {{#unless @hideSenderComponent}}\\n    <Outbound::Filters::SenderComponent @selectedSenderValue={{@selectedSenderValue}}\\n      @filterContent={{@filterContent}} />\\n  {{/unless}}\\n  {{#if (has-feature 'canUseContentOrientedNavigation')}}\\n    <Outbound::Filters::TagComponent @selectedTagValues={{@selectedTagValues}}\\n      @filterContent={{@filterContent}}\\n      @messagesTags={{@messagesTags}} />\\n  {{/if}}\\n</div>\\n\\n\",\"moduleName\":\"embercom/components/outbound/filters.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/filters.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcMultiselect\\n  @label=\\\"This label will be ignored. It needs to be static or else ic-multi-select breaks horribly.\\\"\\n  @items={{this.audiences}}\\n  @onSelectionChange={{this.filterByAudiences}}\\n  @onClose={{this.onClose}}\\n  @hasFilter={{false}}\\n  class=\\\"u__pointer-cursor\\\"\\n  as |select|\\n>\\n  <select.opener>\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"multiple-people\\\"\\n      @name={{this.name}}\\n      @isClickable={{true}}\\n      data-test-filter-component=\\\"audience\\\"\\n      data-intercom-target=\\\"audience-filter\\\"\\n    />\\n  </select.opener>\\n</IcMultiselect>\\n\", {\"contents\":\"<IcMultiselect\\n  @label=\\\"This label will be ignored. It needs to be static or else ic-multi-select breaks horribly.\\\"\\n  @items={{this.audiences}}\\n  @onSelectionChange={{this.filterByAudiences}}\\n  @onClose={{this.onClose}}\\n  @hasFilter={{false}}\\n  class=\\\"u__pointer-cursor\\\"\\n  as |select|\\n>\\n  <select.opener>\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"multiple-people\\\"\\n      @name={{this.name}}\\n      @isClickable={{true}}\\n      data-test-filter-component=\\\"audience\\\"\\n      data-intercom-target=\\\"audience-filter\\\"\\n    />\\n  </select.opener>\\n</IcMultiselect>\\n\",\"moduleName\":\"embercom/components/outbound/filters/audience-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/filters/audience-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { action, computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport {\n  matchBehaviors,\n  roleNames,\n  roleTypes,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { isPresent } from '@ember/utils';\nimport { audienceTypes } from 'embercom/helpers/audience-types';\n\nexport default Component.extend({\n  tagName: '',\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  isOneOff: computed('selectedMatchBehaviorValues.[]', function() {\n    let selectedMatchBehavior = this.selectedMatchBehaviorValues;\n\n    return (\n      selectedMatchBehavior?.length === 1 && selectedMatchBehavior[0] === matchBehaviors.static\n    );\n  }),\n\n  _allowedRoles: computed('isOneOff', function() {\n    if (this.isOneOff) {\n      return [roleTypes.leadRole, roleTypes.userRole];\n    } else {\n      return [roleTypes.visitorRole, roleTypes.leadRole, roleTypes.userRole];\n    }\n  }),\n\n  didUpdateAttrs() {\n    this._super(...arguments);\n    this.set('selectedValues', this.selectedAudienceValues);\n  },\n\n  audiences: computed('_allowedRoles.[]', 'selectedAudienceValues.[]', function() {\n    return this._allowedRoles.map(type => {\n      return {\n        text: roleNames[type].pluralize().capitalize(),\n        value: type,\n        isSelected: this.selectedAudienceValues?.includes(type) || false,\n      };\n    });\n  }),\n\n  name: computed('selectedValues.[]', 'selectedAudienceValues.[]', 'isOneOff', function() {\n    let selected = this.selectedValues || this.selectedAudienceValues;\n    if (isPresent(selected)) {\n      return audienceTypes(selected);\n    }\n    if (this.isOneOff) {\n      return 'Leads or Users';\n    }\n    return 'Visitors, Leads, or Users';\n  }),\n\n  filterByAudiences: action(function(selectedValues) {\n    this.set('selectedValues', selectedValues);\n  }),\n\n  onClose: action(function() {\n    this.filterContent('selectedAudienceValues', this.selectedValues);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"pt-4 pb-4 outbound__filters__empty-tags-component u__center-layout o__center-text\\\">\\n  <Heading @size='2' data-test-tag-filter-empty-state>{{@item.text}}</Heading>\\n</div>\\n\", {\"contents\":\"<div class=\\\"pt-4 pb-4 outbound__filters__empty-tags-component u__center-layout o__center-text\\\">\\n  <Heading @size='2' data-test-tag-filter-empty-state>{{@item.text}}</Heading>\\n</div>\\n\",\"moduleName\":\"embercom/components/outbound/filters/empty-tags-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/filters/empty-tags-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcSelect\\n  @items={{this.senders}}\\n  @hasFilter={{true}}\\n  @filterPlaceholder=\\\"Search senders\\\"\\n  @onSelectItem={{this.filterBySender}}\\n  @selectedValue={{@selectedSenderValue}} as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"person\\\"\\n      @name=\\\"Sender is\\\"\\n      @isClickable={{true}}\\n      data-test-filter-component=\\\"sender\\\" as |filterBlock|\\n    >\\n      <filterBlock.components.details>\\n        {{#if this.selectedSender.icon}}\\n          {{ic-interface-icon this.selectedSender.icon}}&nbsp;\\n        {{else if this.selectedAvatarData}}\\n          {{ic-avatar direct=this.selectedAvatarData size=\\\"xs\\\"}}&nbsp;\\n        {{/if}}{{this.selectedName}}\\n      </filterBlock.components.details>\\n    </IcFilterBlock>\\n  </select.opener>\\n</IcSelect>\\n\", {\"contents\":\"<IcSelect\\n  @items={{this.senders}}\\n  @hasFilter={{true}}\\n  @filterPlaceholder=\\\"Search senders\\\"\\n  @onSelectItem={{this.filterBySender}}\\n  @selectedValue={{@selectedSenderValue}} as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"person\\\"\\n      @name=\\\"Sender is\\\"\\n      @isClickable={{true}}\\n      data-test-filter-component=\\\"sender\\\" as |filterBlock|\\n    >\\n      <filterBlock.components.details>\\n        {{#if this.selectedSender.icon}}\\n          {{ic-interface-icon this.selectedSender.icon}}&nbsp;\\n        {{else if this.selectedAvatarData}}\\n          {{ic-avatar direct=this.selectedAvatarData size=\\\"xs\\\"}}&nbsp;\\n        {{/if}}{{this.selectedName}}\\n      </filterBlock.components.details>\\n    </IcFilterBlock>\\n  </select.opener>\\n</IcSelect>\\n\",\"moduleName\":\"embercom/components/outbound/filters/sender-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/filters/sender-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { senderTypes } from 'embercom/models/data/outbound/constants';\n\nexport default class SenderComponent extends Component {\n  @service appService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get selectedSender() {\n    return this.senders.find(sender => sender.value === this.args.selectedSenderValue);\n  }\n\n  get selectedAvatarData() {\n    return this.selectedSender.avatarData;\n  }\n\n  get selectedName() {\n    return this.selectedSender.text;\n  }\n\n  get senders() {\n    let defaultSender = { name: 'Any', id: null };\n    let allSenders = [defaultSender];\n\n    let owner = { name: 'Owner', id: -1 };\n    allSenders.push(owner);\n\n    let operator = this.app.get('operatorBot');\n    allSenders.push(operator);\n\n    let admins = this.app.get('humanAdmins');\n    allSenders.push(admins);\n\n    let teams = this.app.get('teams');\n    allSenders.push(teams);\n\n    let emails = this.app.get('verifiedCustomEmailAddresses');\n    allSenders.push(emails);\n\n    return this._mapSendersToDropdownItems(allSenders.flat());\n  }\n\n  _mapSendersToDropdownItems(senders) {\n    return senders.map(sender => {\n      if (sender.type === 'admin') {\n        let senderType = sender.isTeam ? senderTypes.team : senderTypes.admin;\n        return {\n          text: sender.name,\n          value: `${senderType}_${sender.id}`,\n          avatarData: sender.avatarData,\n          component: 'common/avatar-and-name-dropdown-item',\n          componentAttrs: {\n            model: sender,\n            modelDisplayName: sender.name,\n            avatarSize: 'xs',\n          },\n        };\n      } else if (sender.id === null) {\n        return {\n          text: sender.name,\n          value: null,\n        };\n      } else if (sender.id === -1) {\n        return {\n          text: sender.name,\n          value: `${senderTypes.owner}_`,\n          icon: 'owner',\n        };\n      } else {\n        return {\n          text: `${sender.name} <${sender.email}>`,\n          value: `${senderTypes.customEmailAddress}_${sender.id}`,\n          icon: 'email',\n        };\n      }\n    });\n  }\n\n  @action\n  filterBySender(senderId) {\n    this.args.filterContent('selectedSenderValue', senderId);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcSelect\\n  @items={{this.states}}\\n  @hasFilter={{false}}\\n  @onSelectItem={{this.filterByState}}\\n  @selectedValue={{@selectedStateValue}} as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"active\\\"\\n      @name={{this.selectedState}}\\n      @isClickable={{true}}\\n      data-test-filter-component=\\\"state\\\"\\n    />\\n  </select.opener>\\n</IcSelect>\\n\", {\"contents\":\"<IcSelect\\n  @items={{this.states}}\\n  @hasFilter={{false}}\\n  @onSelectItem={{this.filterByState}}\\n  @selectedValue={{@selectedStateValue}} as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"active\\\"\\n      @name={{this.selectedState}}\\n      @isClickable={{true}}\\n      data-test-filter-component=\\\"state\\\"\\n    />\\n  </select.opener>\\n</IcSelect>\\n\",\"moduleName\":\"embercom/components/outbound/filters/state-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/filters/state-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport {\n  states as ongoingStates,\n  matchBehaviors,\n  oneOffStates,\n  objectTypes,\n} from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class StateComponent extends Component {\n  @service appService;\n  @service outboundHomeService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get selectedState() {\n    let state = this.states.find(state => state.value === this.args.selectedStateValue);\n    return `State is ${state.text}`;\n  }\n\n  get systemStates() {\n    let isOneOff =\n      this.args.selectedMatchBehaviorValues?.length === 1 &&\n      this.args.selectedMatchBehaviorValues[0] === matchBehaviors.static;\n\n    if (this.app.canUseContentOrientedNavigation && isOneOff) {\n      return oneOffStates;\n    } else {\n      let filterableStates = { ...ongoingStates };\n      delete filterableStates.ended;\n      if (this.outboundHomeService.activeList === objectTypes.tour) {\n        delete filterableStates.scheduled;\n      }\n      return filterableStates;\n    }\n  }\n\n  get states() {\n    let defaultState = { text: 'Any', value: null };\n    let allStates = this._mapSystemStatesToObjects();\n    let states = allStates.concat(defaultState).sortBy('value');\n    return states;\n  }\n\n  _mapSystemStatesToObjects() {\n    return Object.keys(this.systemStates).map(state => {\n      return {\n        text: state.capitalize(),\n        value: this.systemStates[state],\n      };\n    });\n  }\n\n  @action\n  filterByState(state) {\n    this.args.filterContent('selectedStateValue', state);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcMultiselect\\n  data-intercom-target=\\\"Outbound Home tag filter\\\"\\n  @label=\\\"Selected tags\\\"\\n  @items={{this.tags}}\\n  @hasFilter={{this.hasMessagesTags}}\\n  @filterPlaceholder=\\\"Search tags\\\"\\n  @onSelectionChange={{this.filterByTags}}\\n  @onClose={{this.onClose}}\\n  as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"tag\\\"\\n      @name={{this.name}}\\n      @isClickable={{true}}\\n      data-test-filter-component=\\\"tag\\\"\\n      data-intercom-target=\\\"tag-filter\\\"\\n    />\\n  </select.opener>\\n</IcMultiselect>\\n\", {\"contents\":\"<IcMultiselect\\n  data-intercom-target=\\\"Outbound Home tag filter\\\"\\n  @label=\\\"Selected tags\\\"\\n  @items={{this.tags}}\\n  @hasFilter={{this.hasMessagesTags}}\\n  @filterPlaceholder=\\\"Search tags\\\"\\n  @onSelectionChange={{this.filterByTags}}\\n  @onClose={{this.onClose}}\\n  as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"tag\\\"\\n      @name={{this.name}}\\n      @isClickable={{true}}\\n      data-test-filter-component=\\\"tag\\\"\\n      data-intercom-target=\\\"tag-filter\\\"\\n    />\\n  </select.opener>\\n</IcMultiselect>\\n\",\"moduleName\":\"embercom/components/outbound/filters/tag-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/filters/tag-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { isPresent } from '@ember/utils';\nimport { action, computed, get } from '@ember/object';\nimport { gt, not, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport pluralize from 'embercom/lib/inflector';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  store: service(),\n  tagName: '',\n\n  additionalTagCount: computed('selectedValues.[]', 'selectedTagValues.[]', function() {\n    let selected = this.selectedValues || this.selectedTagValues;\n    return selected.length - 1;\n  }),\n\n  didUpdateAttrs() {\n    this._super(...arguments);\n    this.set('selectedValues', this.selectedTagValues);\n  },\n\n  hasMessagesTags: gt('messagesTags.length', 0),\n  hasNoMessagesTags: not('hasMessagesTags'),\n\n  sampleSelectedTagName: computed('selectedValues.[]', 'selectedTagValues.[]', function() {\n    let selected = this.selectedValues || this.selectedTagValues;\n    if (isPresent(selected)) {\n      return this.store.peekRecord('tag', selected[0]).name;\n    }\n  }),\n\n  tags: computed('messagesTags', 'selectedTagValues.[]', function() {\n    if (this.hasNoMessagesTags) {\n      return [\n        {\n          text: 'No tags applied to messages',\n          value: 'name',\n          component: 'outbound/filters/empty-tags-component',\n          isDisabled: true,\n        },\n      ];\n    }\n    return this._getSortedTags();\n  }),\n\n  name: computed('sampleSelectedTagName', 'additionalTagCount', function() {\n    if (isPresent(this.sampleSelectedTagName)) {\n      let label = `Tag is ${this.sampleSelectedTagName}`;\n      if (this.additionalTagCount > 0) {\n        label += ` and ${this.additionalTagCount} ${pluralize('other', this.additionalTagCount)}`;\n      }\n      return label;\n    }\n    return 'Tag is any';\n  }),\n\n  filterByTags: action(function(selectedValues) {\n    this.set('selectedValues', selectedValues);\n  }),\n\n  onClose: action(function() {\n    this.filterContent('selectedTagValues', this.selectedValues);\n  }),\n\n  _getSortedTags() {\n    let tagObjects = this.messagesTags.map(tag => ({\n      text: get(tag, 'name'),\n      value: get(tag, 'id'),\n      isSelected: this.selectedTagValues ? this.selectedTagValues.includes(get(tag, 'id')) : false,\n    }));\n    return tagObjects.sortBy('isSelected').reverse();\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTable\\n  class=\\\"overflow-x-auto\\\"\\n  @data={{this.data}}\\n  @columns={{@columns}}\\n  @onLoadMore={{perform this.onLoadMore}}\\n  @canLoadMore={{not @lastPageHit}}\\n  @isLoadingMore={{this.onLoadMore.isRunning}}\\n  @onSort={{perform this.onSortUpdate}}\\n  @sortState={{hash valuePath=@sortBy direction=@sortDirection}}\\n  @loadingRowCount={{@pageSize}}\\n  {{intercom-sortable-group onChange=@onReorder}} as |table|\\n>\\n  <table.rows {{sortable-item distance=10 model=table.currentData isDraggingDisabled=(not (service 'outboundHomeService.isPrioritizable'))}} as |row|>\\n    <row.cell @valuePath=\\\"checkBox\\\">\\n      <Outbound::List::CheckboxCell @wrapper={{row.data}} @index={{row.index}} />\\n    </row.cell>\\n    <row.cell {{sortable-handle}} @valuePath=\\\"priority\\\">\\n      <span class=\\\"cursor-move\\\">\\n        {{ic-interface-icon 'vertical-order' color='gray'}}\\n      </span>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"title\\\">\\n      {{component (or this.columnsHash.title.component \\\"outbound/list/title-cell\\\") wrapper=row.data}}\\n    </row.cell>\\n    <row.cell @valuePath=\\\"version\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        {{#each row.data.contents as |content|}}\\n          <Outbound::List::TypeCell\\n            @content={{content}}\\n            @wrapper={{row.data}}\\n          />\\n        {{/each}}\\n      </div>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"state\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        {{#each row.data.contents as |content|}}\\n          <Outbound::List::StateCell @content={{content}} @matchBehavior={{row.data.matchBehavior}}/>\\n        {{/each}}\\n      </div>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"lastUpdatedBy\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        {{#each row.data.contentsWithoutControlGroups as |content|}}\\n          <Outbound::List::LastUpdatedByCell @content={{content}} />\\n        {{/each}}\\n      </div>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"sender\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        {{#each row.data.contentsWithoutControlGroups as |content|}}\\n          <Outbound::List::SenderCell @content={{content}} />\\n        {{/each}}\\n      </div>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"insertable\\\">\\n      {{#each row.data.contentsWithoutControlGroups as |content|}}\\n        <Outbound::List::InsertableCell @content={{content}} />\\n      {{/each}}\\n    </row.cell>\\n    <row.cell @valuePath=\\\"contentTypes\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        {{#each row.data.contents as |content|}}\\n          <Outbound::List::ContentTypeCell @content={{content}} />\\n        {{/each}}\\n      </div>\\n    </row.cell>\\n    {{#each @statisticColumns as |statisticColumn|}}\\n      <row.cell @valuePath={{statisticColumn.valuePath}}>\\n        <div class=\\\"flex flex-col\\\">\\n          {{#each row.data.contents as |content index|}}\\n            <Outbound::List::StatisticCell\\n              @contentWrapper={{row.data}}\\n              @content={{content}}\\n              @key={{statisticColumn.key}}\\n              @index={{index}}\\n            />\\n          {{/each}}\\n        </div>\\n      </row.cell>\\n    {{/each}}\\n    <row.cell @valuePath=\\\"audienceTypes\\\">\\n      <Outbound::List::AudienceTypeCell @wrapper={{row.data}} />\\n    </row.cell>\\n    <row.cell @valuePath=\\\"lastSent\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        {{#each row.data.contents as |content|}}\\n          <Outbound::List::StatisticCell\\n            @content={{content}}\\n            @key={{this.statisticKeys.lastSent}}\\n          />\\n        {{/each}}\\n      </div>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"createdAt\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        {{#each row.data.contentsWithoutControlGroups as |content|}}\\n          <Outbound::List::DateCell @date={{content.createdAt}} />\\n        {{/each}}\\n      </div>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"firstWentLiveAt\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        {{#each row.data.contentsWithoutControlGroups as |content|}}\\n          <Outbound::List::DateCell @date={{content.wentLiveAt}} />\\n        {{/each}}\\n      </div>\\n    </row.cell>\\n  </table.rows>\\n</IcTable>\\n{{#if @lastPageHit}}\\n  <div class=\\\"mb-16\\\"></div>\\n{{/if}}\\n\", {\"contents\":\"<IcTable\\n  class=\\\"overflow-x-auto\\\"\\n  @data={{this.data}}\\n  @columns={{@columns}}\\n  @onLoadMore={{perform this.onLoadMore}}\\n  @canLoadMore={{not @lastPageHit}}\\n  @isLoadingMore={{this.onLoadMore.isRunning}}\\n  @onSort={{perform this.onSortUpdate}}\\n  @sortState={{hash valuePath=@sortBy direction=@sortDirection}}\\n  @loadingRowCount={{@pageSize}}\\n  {{intercom-sortable-group onChange=@onReorder}} as |table|\\n>\\n  <table.rows {{sortable-item distance=10 model=table.currentData isDraggingDisabled=(not (service 'outboundHomeService.isPrioritizable'))}} as |row|>\\n    <row.cell @valuePath=\\\"checkBox\\\">\\n      <Outbound::List::CheckboxCell @wrapper={{row.data}} @index={{row.index}} />\\n    </row.cell>\\n    <row.cell {{sortable-handle}} @valuePath=\\\"priority\\\">\\n      <span class=\\\"cursor-move\\\">\\n        {{ic-interface-icon 'vertical-order' color='gray'}}\\n      </span>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"title\\\">\\n      {{component (or this.columnsHash.title.component \\\"outbound/list/title-cell\\\") wrapper=row.data}}\\n    </row.cell>\\n    <row.cell @valuePath=\\\"version\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        {{#each row.data.contents as |content|}}\\n          <Outbound::List::TypeCell\\n            @content={{content}}\\n            @wrapper={{row.data}}\\n          />\\n        {{/each}}\\n      </div>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"state\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        {{#each row.data.contents as |content|}}\\n          <Outbound::List::StateCell @content={{content}} @matchBehavior={{row.data.matchBehavior}}/>\\n        {{/each}}\\n      </div>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"lastUpdatedBy\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        {{#each row.data.contentsWithoutControlGroups as |content|}}\\n          <Outbound::List::LastUpdatedByCell @content={{content}} />\\n        {{/each}}\\n      </div>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"sender\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        {{#each row.data.contentsWithoutControlGroups as |content|}}\\n          <Outbound::List::SenderCell @content={{content}} />\\n        {{/each}}\\n      </div>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"insertable\\\">\\n      {{#each row.data.contentsWithoutControlGroups as |content|}}\\n        <Outbound::List::InsertableCell @content={{content}} />\\n      {{/each}}\\n    </row.cell>\\n    <row.cell @valuePath=\\\"contentTypes\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        {{#each row.data.contents as |content|}}\\n          <Outbound::List::ContentTypeCell @content={{content}} />\\n        {{/each}}\\n      </div>\\n    </row.cell>\\n    {{#each @statisticColumns as |statisticColumn|}}\\n      <row.cell @valuePath={{statisticColumn.valuePath}}>\\n        <div class=\\\"flex flex-col\\\">\\n          {{#each row.data.contents as |content index|}}\\n            <Outbound::List::StatisticCell\\n              @contentWrapper={{row.data}}\\n              @content={{content}}\\n              @key={{statisticColumn.key}}\\n              @index={{index}}\\n            />\\n          {{/each}}\\n        </div>\\n      </row.cell>\\n    {{/each}}\\n    <row.cell @valuePath=\\\"audienceTypes\\\">\\n      <Outbound::List::AudienceTypeCell @wrapper={{row.data}} />\\n    </row.cell>\\n    <row.cell @valuePath=\\\"lastSent\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        {{#each row.data.contents as |content|}}\\n          <Outbound::List::StatisticCell\\n            @content={{content}}\\n            @key={{this.statisticKeys.lastSent}}\\n          />\\n        {{/each}}\\n      </div>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"createdAt\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        {{#each row.data.contentsWithoutControlGroups as |content|}}\\n          <Outbound::List::DateCell @date={{content.createdAt}} />\\n        {{/each}}\\n      </div>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"firstWentLiveAt\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        {{#each row.data.contentsWithoutControlGroups as |content|}}\\n          <Outbound::List::DateCell @date={{content.wentLiveAt}} />\\n        {{/each}}\\n      </div>\\n    </row.cell>\\n  </table.rows>\\n</IcTable>\\n{{#if @lastPageHit}}\\n  <div class=\\\"mb-16\\\"></div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/outbound/list-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/list-component.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport ENV from 'embercom/config/environment';\nimport { statisticKeys } from 'embercom/models/data/outbound/constants';\n\nexport default class ListComponent extends Component {\n  @service store;\n  @service appService;\n  @service outboundHomeService;\n\n  statisticKeys = statisticKeys;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get data() {\n    if (this.outboundHomeService.isPrioritizable) {\n      return this.args.data.sort((w1, w2) => w1.priority - w2.priority);\n    }\n    return this.args.data;\n  }\n\n  get columnsHash() {\n    let seenValuePaths = new Set();\n    return this.args.columns.reduce((acc, column) => {\n      seenValuePaths.add(column.valuePath);\n      return Object.assign(acc, {\n        [column.valuePath]: column,\n      });\n    }, {});\n  }\n\n  @task\n  *onLoadMore() {\n    yield this.args.loadMore(this.args.pageSize, this.args.currentPage + 1, ENV.APP._500MS);\n  }\n\n  @task\n  *onSortUpdate(sortBy) {\n    yield this.args.sortUpdate(sortBy);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @hasSelectedContentWrappers}}\\n  <h2 class=\\\"t__h2\\\" data-test-list-tag-count>\\n    {{number-formatter-helper @selectedCount}} {{pluralize @selectedCount @contentType without-count=true}} selected\\n    <span class=\\\"t__h2__deem\\\">\\n      of {{number-formatter-helper @totalCount}}\\n    </span>\\n  </h2>\\n{{else}}\\n  <h2 class=\\\"t__h2\\\" data-test-list-count>\\n    {{#if @totalCount}}\\n      {{number-formatter-helper @totalCount}} {{pluralize @totalCount @contentType without-count=true}}\\n    {{/if}}\\n  </h2>\\n{{/if}}\\n\", {\"contents\":\"{{#if @hasSelectedContentWrappers}}\\n  <h2 class=\\\"t__h2\\\" data-test-list-tag-count>\\n    {{number-formatter-helper @selectedCount}} {{pluralize @selectedCount @contentType without-count=true}} selected\\n    <span class=\\\"t__h2__deem\\\">\\n      of {{number-formatter-helper @totalCount}}\\n    </span>\\n  </h2>\\n{{else}}\\n  <h2 class=\\\"t__h2\\\" data-test-list-count>\\n    {{#if @totalCount}}\\n      {{number-formatter-helper @totalCount}} {{pluralize @totalCount @contentType without-count=true}}\\n    {{/if}}\\n  </h2>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/outbound/list-count.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/list-count.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @data.isToursSelected}}\\n  <Tours::UpgradeInstallBanner\\n   data-test-tours-upgrade-banner />\\n{{/if}}\\n<Pulse::HeroBanner\\n  @svg={{@data.icon}}\\n  @title={{@data.pageTitle}}\\n  @description={{@data.description}}\\n  @isLoading={{not @data}}\\n  @scrollSelector='.main__content-outlet .o__scrolls'\\n  as |banner|\\n>\\n  <banner.Links as |links|>\\n    {{#each @data.links as |linkData|}}\\n      {{#if linkData.wistiaId}}\\n        <links.Video\\n          @title={{linkData.description}}\\n          @wistiaId={{linkData.wistiaId}}\\n          @videoTitle={{linkData.videoTitle}}\\n          tabindex=\\\"0\\\"\\n          data-test-banner-link={{linkData.description}}\\n          data-track-analytics-event-object={{linkData.analyticsObject}}\\n        />\\n      {{else if linkData.tourId}}\\n        <links.Tour\\n          @title={{linkData.description}}\\n          @tourId={{linkData.tourId}}\\n          tabindex=\\\"0\\\"\\n          data-test-banner-link={{linkData.description}}\\n          data-track-analytics-event-object={{linkData.analyticsObject}}\\n        />\\n      {{else}}\\n        <links.Link\\n          @title={{linkData.description}}\\n          @href={{linkData.target}}\\n          @type=\\\"article\\\"\\n          tabindex=\\\"0\\\"\\n          data-test-banner-link={{linkData.description}}\\n          data-track-analytics-event-object={{linkData.analyticsObject}}\\n        />\\n      {{/if}}\\n    {{/each}}\\n  </banner.Links>\\n  <banner.Action>\\n    <IcTooltip @isDisabled={{not @data.buttonDisabled}} as |t|>\\n      <t.opener>\\n        <IcButton\\n          data-test-create-new-message\\n          @type=\\\"primary\\\"\\n          @isDisabled={{@data.buttonDisabled}}\\n          data-intercom-target=\\\"Outbound Home {{@data.button}} button\\\"\\n          @onClick={{this.toggleContentCreationModal}}\\n          class=\\\"js__ghostinspector__create-new-message\\\"\\n        >\\n          {{@data.button}}\\n        </IcButton>\\n      </t.opener>\\n      <t.content>\\n        <span data-test-new-message-disabled-tooltip>\\n          {{@data.buttonDisabledTooltip}}\\n        </span>\\n      </t.content>\\n    </IcTooltip>\\n  </banner.Action>\\n</Pulse::HeroBanner>\\n{{#if this.showContentCreationModal}}\\n  <Messages::MessageCreationModal\\n    @isTargetingLeads={{false}}\\n    @createNewMessage={{@createContent}}\\n    @closeModal={{this.toggleContentCreationModal}}\\n    @templates={{@templates}}\\n    @selectedObjectType={{@data.selectedObjectType}}\\n  />\\n{{/if}}\", {\"contents\":\"{{#if @data.isToursSelected}}\\n  <Tours::UpgradeInstallBanner\\n   data-test-tours-upgrade-banner />\\n{{/if}}\\n<Pulse::HeroBanner\\n  @svg={{@data.icon}}\\n  @title={{@data.pageTitle}}\\n  @description={{@data.description}}\\n  @isLoading={{not @data}}\\n  @scrollSelector='.main__content-outlet .o__scrolls'\\n  as |banner|\\n>\\n  <banner.Links as |links|>\\n    {{#each @data.links as |linkData|}}\\n      {{#if linkData.wistiaId}}\\n        <links.Video\\n          @title={{linkData.description}}\\n          @wistiaId={{linkData.wistiaId}}\\n          @videoTitle={{linkData.videoTitle}}\\n          tabindex=\\\"0\\\"\\n          data-test-banner-link={{linkData.description}}\\n          data-track-analytics-event-object={{linkData.analyticsObject}}\\n        />\\n      {{else if linkData.tourId}}\\n        <links.Tour\\n          @title={{linkData.description}}\\n          @tourId={{linkData.tourId}}\\n          tabindex=\\\"0\\\"\\n          data-test-banner-link={{linkData.description}}\\n          data-track-analytics-event-object={{linkData.analyticsObject}}\\n        />\\n      {{else}}\\n        <links.Link\\n          @title={{linkData.description}}\\n          @href={{linkData.target}}\\n          @type=\\\"article\\\"\\n          tabindex=\\\"0\\\"\\n          data-test-banner-link={{linkData.description}}\\n          data-track-analytics-event-object={{linkData.analyticsObject}}\\n        />\\n      {{/if}}\\n    {{/each}}\\n  </banner.Links>\\n  <banner.Action>\\n    <IcTooltip @isDisabled={{not @data.buttonDisabled}} as |t|>\\n      <t.opener>\\n        <IcButton\\n          data-test-create-new-message\\n          @type=\\\"primary\\\"\\n          @isDisabled={{@data.buttonDisabled}}\\n          data-intercom-target=\\\"Outbound Home {{@data.button}} button\\\"\\n          @onClick={{this.toggleContentCreationModal}}\\n          class=\\\"js__ghostinspector__create-new-message\\\"\\n        >\\n          {{@data.button}}\\n        </IcButton>\\n      </t.opener>\\n      <t.content>\\n        <span data-test-new-message-disabled-tooltip>\\n          {{@data.buttonDisabledTooltip}}\\n        </span>\\n      </t.content>\\n    </IcTooltip>\\n  </banner.Action>\\n</Pulse::HeroBanner>\\n{{#if this.showContentCreationModal}}\\n  <Messages::MessageCreationModal\\n    @isTargetingLeads={{false}}\\n    @createNewMessage={{@createContent}}\\n    @closeModal={{this.toggleContentCreationModal}}\\n    @templates={{@templates}}\\n    @selectedObjectType={{@data.selectedObjectType}}\\n  />\\n{{/if}}\",\"moduleName\":\"embercom/components/outbound/list-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/list-header.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\n\nexport default class ListHeader extends Component {\n  @tracked showContentCreationModal = false;\n\n  @action\n  toggleContentCreationModal() {\n    this.showContentCreationModal = !this.showContentCreationModal;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span data-test-audience-type-cell>\\n  {{audience-types @wrapper.audienceTypes}}\\n</span>\\n\", {\"contents\":\"<span data-test-audience-type-cell>\\n  {{audience-types @wrapper.audienceTypes}}\\n</span>\\n\",\"moduleName\":\"embercom/components/outbound/list/audience-type-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/list/audience-type-cell.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<Input @type=\\\"checkbox\\\" @checked={{@wrapper.isSelected}} data-test-content-checkbox={{@index}} />\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<Input @type=\\\"checkbox\\\" @checked={{@wrapper.isSelected}} data-test-content-checkbox={{@index}} />\",\"moduleName\":\"embercom/components/outbound/list/checkbox-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/list/checkbox-cell.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"outbound__table__content-cell\\\" data-test-content-type-cell>\\n  {{#if @content.contentTypeIcon}}\\n    {{ic-interface-icon @content.contentTypeIcon color='gray'}}\\n  {{/if}}\\n  {{capitalize @content.humanReadableContentName}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"outbound__table__content-cell\\\" data-test-content-type-cell>\\n  {{#if @content.contentTypeIcon}}\\n    {{ic-interface-icon @content.contentTypeIcon color='gray'}}\\n  {{/if}}\\n  {{capitalize @content.humanReadableContentName}}\\n</div>\\n\",\"moduleName\":\"embercom/components/outbound/list/content-type-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/list/content-type-cell.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"outbound__table__content-cell\\\" data-test-date-cell>\\n  <IcTooltip as |t|>\\n    <t.opener\\n      @willHideOverlayOnClick={{false}}\\n      @isDisabled={{not (is-present @date)}}\\n    >\\n      {{full-relative-time-ago-helper @date fallback=\\\"Never\\\"}}\\n    </t.opener>\\n    <t.content>\\n      {{full-date-and-time-helper @date}}\\n    </t.content>\\n  </IcTooltip>\\n</div>\", {\"contents\":\"<div class=\\\"outbound__table__content-cell\\\" data-test-date-cell>\\n  <IcTooltip as |t|>\\n    <t.opener\\n      @willHideOverlayOnClick={{false}}\\n      @isDisabled={{not (is-present @date)}}\\n    >\\n      {{full-relative-time-ago-helper @date fallback=\\\"Never\\\"}}\\n    </t.opener>\\n    <t.content>\\n      {{full-date-and-time-helper @date}}\\n    </t.content>\\n  </IcTooltip>\\n</div>\",\"moduleName\":\"embercom/components/outbound/list/date-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/list/date-cell.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<div class=\\\"outbound__table__content-cell\\\" data-test-insertable-cell>\\n  {{#unless (or @content.showAutomatically @content.insertable)}}\\n    <div class=\\\"text-gray m-1\\\" data-test-can-show-empty>\\n      &mdash;\\n    </div>\\n  {{/unless}}\\n  {{#if @content.showAutomatically }}\\n    <div class=\\\"text-gray m-1\\\" data-test-can-show-automatically>\\n      {{ic-interface-icon 'auto-message'}} Shows automatically\\n    </div>\\n  {{/if}}\\n  {{#if @content.insertable}}\\n    <div class=\\\"text-gray m-1\\\" data-test-can-show-inserted>\\n      {{ic-interface-icon 'messenger'}} Can be inserted\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<div class=\\\"outbound__table__content-cell\\\" data-test-insertable-cell>\\n  {{#unless (or @content.showAutomatically @content.insertable)}}\\n    <div class=\\\"text-gray m-1\\\" data-test-can-show-empty>\\n      &mdash;\\n    </div>\\n  {{/unless}}\\n  {{#if @content.showAutomatically }}\\n    <div class=\\\"text-gray m-1\\\" data-test-can-show-automatically>\\n      {{ic-interface-icon 'auto-message'}} Shows automatically\\n    </div>\\n  {{/if}}\\n  {{#if @content.insertable}}\\n    <div class=\\\"text-gray m-1\\\" data-test-can-show-inserted>\\n      {{ic-interface-icon 'messenger'}} Can be inserted\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/outbound/list/insertable-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/list/insertable-cell.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"outbound__table__content-cell\\\" data-test-last-updated-by-cell>\\n  <span class=\\\"avatar__container o__s\\\">\\n    <a href=\\\"{{href-to 'apps.app.admins.admin' @content.lastUpdatedById}}\\\" class=\\\"t__solo-link\\\">\\n      {{ic-avatar model=@content.lastUpdatedBy size='s' contained=true}}\\n      <span class=\\\"outbound__table__truncated-sender-cell truncate inline-block\\\">{{@content.lastUpdatedBy.nameOrEmail}}</span>\\n    </a>\\n  </span>\\n</div>\\n\", {\"contents\":\"<div class=\\\"outbound__table__content-cell\\\" data-test-last-updated-by-cell>\\n  <span class=\\\"avatar__container o__s\\\">\\n    <a href=\\\"{{href-to 'apps.app.admins.admin' @content.lastUpdatedById}}\\\" class=\\\"t__solo-link\\\">\\n      {{ic-avatar model=@content.lastUpdatedBy size='s' contained=true}}\\n      <span class=\\\"outbound__table__truncated-sender-cell truncate inline-block\\\">{{@content.lastUpdatedBy.nameOrEmail}}</span>\\n    </a>\\n  </span>\\n</div>\\n\",\"moduleName\":\"embercom/components/outbound/list/last-updated-by-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/list/last-updated-by-cell.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"outbound__table__content-cell\\\" data-test-sender-cell>\\n{{#if @content.hasCustomEmailAddress}}\\n    <div class=\\\"avatar__container o__1\\\" data-test-email-address>\\n      <div class=\\\"flex flex-row items-center gap-2\\\">\\n        {{ic-interface-icon 'email' solo=true size=24}}\\n        <span class=\\\"outbound__table__truncated-sender-cell u__truncated-inline-block\\\">\\n          {{@content.sender.nameOrEmail}}\\n        </span>\\n      </div>\\n    </div>\\n  {{else if @content.hasDynamicSender}}\\n    <div class=\\\"flex flex-row items-center gap-2\\\">\\n      {{ic-interface-icon 'owner' solo=true size=24}}\\n      <span data-test-owner>Owner</span>\\n    </div>\\n  {{else if @content.sender}}\\n    <span class=\\\"avatar__container o__s\\\">\\n      {{#if @content.sender.is_team}}\\n        {{ic-avatar model=@content.sender size='s' contained=true}}\\n        <span class=\\\"outbound__table__truncated-sender-cell u__truncated-inline-block\\\">{{@content.sender.nameOrEmail}}</span>\\n      {{else}}\\n        <a href=\\\"{{href-to 'apps.app.admins.admin' @content.sender.id}}\\\" class=\\\"t__solo-link\\\">\\n          {{ic-avatar model=@content.sender size='s' contained=true}}\\n          <span class=\\\"outbound__table__truncated-sender-cell u__truncated-inline-block\\\">{{@content.sender.nameOrEmail}}</span>\\n        </a>\\n      {{/if}}\\n    </span>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"outbound__table__content-cell\\\" data-test-sender-cell>\\n{{#if @content.hasCustomEmailAddress}}\\n    <div class=\\\"avatar__container o__1\\\" data-test-email-address>\\n      <div class=\\\"flex flex-row items-center gap-2\\\">\\n        {{ic-interface-icon 'email' solo=true size=24}}\\n        <span class=\\\"outbound__table__truncated-sender-cell u__truncated-inline-block\\\">\\n          {{@content.sender.nameOrEmail}}\\n        </span>\\n      </div>\\n    </div>\\n  {{else if @content.hasDynamicSender}}\\n    <div class=\\\"flex flex-row items-center gap-2\\\">\\n      {{ic-interface-icon 'owner' solo=true size=24}}\\n      <span data-test-owner>Owner</span>\\n    </div>\\n  {{else if @content.sender}}\\n    <span class=\\\"avatar__container o__s\\\">\\n      {{#if @content.sender.is_team}}\\n        {{ic-avatar model=@content.sender size='s' contained=true}}\\n        <span class=\\\"outbound__table__truncated-sender-cell u__truncated-inline-block\\\">{{@content.sender.nameOrEmail}}</span>\\n      {{else}}\\n        <a href=\\\"{{href-to 'apps.app.admins.admin' @content.sender.id}}\\\" class=\\\"t__solo-link\\\">\\n          {{ic-avatar model=@content.sender size='s' contained=true}}\\n          <span class=\\\"outbound__table__truncated-sender-cell u__truncated-inline-block\\\">{{@content.sender.nameOrEmail}}</span>\\n        </a>\\n      {{/if}}\\n    </span>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/outbound/list/sender-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/list/sender-cell.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"outbound__table__content-cell\\\" data-test-state-cell>\\n  {{ic-stamp (state-name objectType=@content.contentType state=@content.state matchBehavior=@matchBehavior)}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"outbound__table__content-cell\\\" data-test-state-cell>\\n  {{ic-stamp (state-name objectType=@content.contentType state=@content.state matchBehavior=@matchBehavior)}}\\n</div>\\n\",\"moduleName\":\"embercom/components/outbound/list/state-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/list/state-cell.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"outbound__table__content-cell\\\" data-test-statistic-cell data-test-statistic-cell-id=\\\"{{this.statisticCellId}}\\\">\\n  {{#if (eq this.statistic.type this.statisticTypes.date)}}\\n    <IcTooltip @willHideOverlayOnClick={{false}} as |t|>\\n      <t.opener>\\n        {{full-relative-time-ago-helper this.statistic.value}}\\n      </t.opener>\\n      <t.content>\\n        {{full-date-and-time-helper this.statistic.value}}\\n      </t.content>\\n    </IcTooltip>\\n  {{else if (eq this.statistic.type this.statisticTypes.percentage)}}\\n    {{#if this.shouldLinkStat}}\\n      <LinkTo\\n        @route={{@contentWrapper.routeForShowPage}}\\n        @model={{@contentWrapper.contentWrapperId}}\\n        @query={{this.queryParams}}\\n        @classNames=\\\"t__solo-link\\\"\\n      >\\n        <span class={{this.colorClass}}>\\n          {{or (format-percentage this.statistic.denominator this.statistic.value) \\\"—\\\"}}\\n        </span>\\n      </LinkTo>\\n    {{else}}\\n      <span class={{this.colorClass}}>\\n        {{or (format-percentage this.statistic.denominator this.statistic.value) \\\"—\\\"}}\\n      </span>\\n    {{/if}}\\n  {{else if (is-present this.statistic)}}\\n    {{#if this.shouldLinkStat}}\\n      <LinkTo\\n        @route={{@contentWrapper.routeForShowPage}}\\n        @model={{@contentWrapper.contentWrapperId}}\\n        @query={{this.queryParams}}\\n        @classNames=\\\"t__solo-link\\\"\\n      >\\n        <span class={{this.colorClass}}>\\n          {{or (number-formatter-helper this.statistic.value) \\\"—\\\"}}\\n        </span>\\n      </LinkTo>\\n    {{else}}\\n      <span class={{this.colorClass}}>\\n        {{or (number-formatter-helper this.statistic.value) \\\"—\\\"}}\\n      </span>\\n    {{/if}}\\n  {{else}}\\n    <span class={{this.colorClass}}>\\n      &mdash;\\n    </span>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"outbound__table__content-cell\\\" data-test-statistic-cell data-test-statistic-cell-id=\\\"{{this.statisticCellId}}\\\">\\n  {{#if (eq this.statistic.type this.statisticTypes.date)}}\\n    <IcTooltip @willHideOverlayOnClick={{false}} as |t|>\\n      <t.opener>\\n        {{full-relative-time-ago-helper this.statistic.value}}\\n      </t.opener>\\n      <t.content>\\n        {{full-date-and-time-helper this.statistic.value}}\\n      </t.content>\\n    </IcTooltip>\\n  {{else if (eq this.statistic.type this.statisticTypes.percentage)}}\\n    {{#if this.shouldLinkStat}}\\n      <LinkTo\\n        @route={{@contentWrapper.routeForShowPage}}\\n        @model={{@contentWrapper.contentWrapperId}}\\n        @query={{this.queryParams}}\\n        @classNames=\\\"t__solo-link\\\"\\n      >\\n        <span class={{this.colorClass}}>\\n          {{or (format-percentage this.statistic.denominator this.statistic.value) \\\"—\\\"}}\\n        </span>\\n      </LinkTo>\\n    {{else}}\\n      <span class={{this.colorClass}}>\\n        {{or (format-percentage this.statistic.denominator this.statistic.value) \\\"—\\\"}}\\n      </span>\\n    {{/if}}\\n  {{else if (is-present this.statistic)}}\\n    {{#if this.shouldLinkStat}}\\n      <LinkTo\\n        @route={{@contentWrapper.routeForShowPage}}\\n        @model={{@contentWrapper.contentWrapperId}}\\n        @query={{this.queryParams}}\\n        @classNames=\\\"t__solo-link\\\"\\n      >\\n        <span class={{this.colorClass}}>\\n          {{or (number-formatter-helper this.statistic.value) \\\"—\\\"}}\\n        </span>\\n      </LinkTo>\\n    {{else}}\\n      <span class={{this.colorClass}}>\\n        {{or (number-formatter-helper this.statistic.value) \\\"—\\\"}}\\n      </span>\\n    {{/if}}\\n  {{else}}\\n    <span class={{this.colorClass}}>\\n      &mdash;\\n    </span>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/outbound/list/statistic-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/list/statistic-cell.hbs\"}});\nimport Component from '@glimmer/component';\nimport { statisticTypes, statisticKeys } from 'embercom/models/data/outbound/constants';\nimport { characterIndex } from 'embercom/helpers/character-index';\nimport { isEmpty } from '@ember/utils';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\n\nexport default class StatisticCell extends Component {\n  get statistic() {\n    if (\n      this.args.content.contentType === objectTypes.post &&\n      this.args.key === statisticKeys.replies\n    ) {\n      return this._repliesOrReactionStats;\n    }\n    return this.args.content.stats.find(stat => stat.key === this.args.key);\n  }\n  get statisticTypes() {\n    return statisticTypes;\n  }\n  get statisticCellId() {\n    return this.args.key + this._versionQueryParam;\n  }\n\n  get colorClass() {\n    let colorMap = {\n      [statisticKeys.receipts]: 'outbound__recipients-stat',\n      [statisticKeys.clicks]: 'outbound__clicks-stat',\n      [statisticKeys.goals]: 'outbound__goal-stat',\n      [statisticKeys.replies]: 'outbound__replies-stat',\n      [statisticKeys.opens]: 'outbound__opens-stat',\n    };\n    return colorMap[this.args.key];\n  }\n  get _versionQueryParam() {\n    return characterIndex([this.args.index]);\n  }\n\n  get _viewingQueryParam() {\n    let viewingParams = {\n      [statisticKeys.receipts]: 'sent',\n      [statisticKeys.clicks]: 'clicked',\n      [statisticKeys.goals]: 'goal',\n      [statisticKeys.replies]: 'conversations',\n      [statisticKeys.opens]: 'opened',\n      [statisticKeys.emailFailures]: 'failed',\n    };\n    return viewingParams[this.args.key];\n  }\n\n  get _repliesOrReactionStats() {\n    let repliesStats = this.args.content.stats.find(stat => stat.key === statisticKeys.replies);\n    let reactionStats = this.args.content.stats.find(stat => stat.key === statisticKeys.reactions);\n    return {\n      id: repliesStats.id,\n      denominator: repliesStats.denominator,\n      value: reactionStats.value + repliesStats.value,\n      type: repliesStats.type,\n      key: repliesStats.key,\n    };\n  }\n\n  get _getViewKey() {\n    let reactionStats = this.args.content.stats.find(stat => stat.key === statisticKeys.reactions);\n    if (this.args.key === statisticKeys.replies && reactionStats && reactionStats.value) {\n      return statisticKeys.reactions;\n    } else {\n      return this.args.key;\n    }\n  }\n\n  get queryParams() {\n    let contentType = this.args.content.contentType;\n    if (contentType >= 12 && contentType <= 15) {\n      return {\n        viewing: this._optionalViewingQueryParam,\n        version: this._versionQueryParam,\n      };\n    } else if (contentType === objectTypes.tour) {\n      let statParam = {\n        [statisticKeys.receipts]: stats.receipt,\n        [statisticKeys.completions]: stats.completion,\n        [statisticKeys.goals]: stats.goalSuccess,\n        [statisticKeys.tourStepFailures]: stats.tourStepFailure,\n      };\n      return {\n        stat: statParam[this.args.key],\n      };\n    } else {\n      let view = Object.keys(statisticKeys).find(key => statisticKeys[key] === this._getViewKey);\n      return {\n        test: this.args.content.rulesetLinkId,\n        view,\n      };\n    }\n  }\n\n  get sentStatistic() {\n    return this.args.content.stats.find(stat => stat.key === statisticKeys.receipts);\n  }\n\n  get _optionalViewingQueryParam() {\n    return this.sentStatistic.value === 0 ? null : this._viewingQueryParam;\n  }\n\n  get hasSent() {\n    return !isEmpty(this.sentStatistic.value);\n  }\n\n  get shouldLinkStat() {\n    return this.hasSent;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @wrapper.relations.series}}\\n  <a\\n    href=\\\"{{href-to 'apps.app.outbound.series.series' @wrapper.relations.series.series_id (query-params nodeId=@wrapper.relations.series.node_id mode=\\\"view\\\")}}\\\"\\n    class=\\\"t__h3 t__solo-link\\\"\\n    data-test-title-cell-series-link\\n  >\\n    <span class=\\\"outbound__table__truncated-title-cell u__one-truncated-line\\\">\\n      {{or @wrapper.title \\\"Untitled\\\"}}\\n    </span>\\n  </a>\\n{{else}}\\n  <a\\n    href=\\\"{{href-to @wrapper.routeForShowPage @wrapper.contentWrapperId}}\\\"\\n    class=\\\"t__h3 t__solo-link\\\"\\n    data-test-title-cell-link={{true}}\\n  >\\n    <span class=\\\"outbound__table__truncated-title-cell u__one-truncated-line\\\">\\n      {{or @wrapper.title \\\"Untitled\\\"}}\\n    </span>\\n  </a>\\n{{/if}}\\n\\n<div class=\\\"flex flex-row items-center flex-wrap gap-3\\\">\\n  {{#if @wrapper.relations.series}}\\n    <div class=\\\"flex flex-row gap-1 mt-1\\\">\\n      <span>\\n        {{ic-interface-icon \\\"series\\\" color=\\\"gray\\\"}}\\n      </span>\\n      <Text @styling=\\\"muted\\\" class=\\\"outbound__table__truncated-title-cell u__one-truncated-line\\\">\\n        <a\\n          href=\\\"{{href-to \\\"apps.app.outbound.series.series\\\" @wrapper.relations.series.series_id (query-params mode=\\\"view\\\")}}\\\"\\n          class=\\\"t__solo-link\\\"\\n          data-test-outbound-list-series-link={{true}}\\n        >\\n          {{or @wrapper.relations.series.series_title \\\"Untitled series\\\"}}\\n        </a>\\n      </Text>\\n    </div>\\n  {{else if @wrapper.relations.campaign}}\\n    <div class=\\\"flex flex-row gap-1 mt-1\\\">\\n      <span>\\n        {{ic-interface-icon \\\"campaign\\\" color=\\\"gray\\\"}}\\n      </span>\\n      <Text @styling=\\\"muted\\\" class=\\\"outbound__table__truncated-title-cell u__one-truncated-line\\\">\\n        <a\\n          href=\\\"{{href-to \\\"apps.app.outbound.messages.auto.campaigns.campaign\\\" @wrapper.relations.campaign.campaign_id}}\\\"\\n          class=\\\"t__solo-link\\\"\\n          data-test-outbound-list-campaign-link={{true}}\\n        >\\n          {{@wrapper.relations.campaign.campaign_title}}\\n        </a>\\n      </Text>\\n    </div>\\n  {{/if}}\\n\\n  {{#let\\n    (take 4 @wrapper.tags)\\n    (drop 4 @wrapper.tags)\\n    as |visibleTags hiddenTags|\\n  }}\\n    {{#each visibleTags as |tag|}}\\n      <div class=\\\"flex flex-row gap-1 mt-1\\\" data-test-message-tag-pill={{tag.id}}>\\n        <span>\\n          {{ic-interface-icon 'tag' set='tiny' color='gray' solo=true}}\\n        </span>\\n        <Text @styling=\\\"muted\\\">{{tag.name}}</Text>\\n      </div>\\n    {{/each}}\\n\\n    {{#if hiddenTags}}\\n      <IcTooltip class=\\\"mt-1\\\" as |t|>\\n        <t.opener>\\n          <Text\\n            @linkStyling=\\\"subtle\\\"\\n            @styling=\\\"muted\\\"\\n            data-test-show-more-tags\\n          >\\n            + {{hiddenTags.length}} more\\n          </Text>\\n        </t.opener>\\n        <t.content>\\n          {{#each hiddenTags as |tag|}}\\n            <div class=\\\"flex flex-row gap-1 mt-1\\\" data-test-message-tag-pill={{tag.id}}>\\n              <span>\\n                {{ic-interface-icon 'tag' set='tiny' color='gray' solo=true}}\\n              </span>\\n              <Text @styling=\\\"muted\\\">{{tag.name}}</Text>\\n            </div>\\n          {{/each}}\\n        </t.content>\\n      </IcTooltip>\\n    {{/if}}\\n  {{/let}}\\n</div>\\n\", {\"contents\":\"{{#if @wrapper.relations.series}}\\n  <a\\n    href=\\\"{{href-to 'apps.app.outbound.series.series' @wrapper.relations.series.series_id (query-params nodeId=@wrapper.relations.series.node_id mode=\\\"view\\\")}}\\\"\\n    class=\\\"t__h3 t__solo-link\\\"\\n    data-test-title-cell-series-link\\n  >\\n    <span class=\\\"outbound__table__truncated-title-cell u__one-truncated-line\\\">\\n      {{or @wrapper.title \\\"Untitled\\\"}}\\n    </span>\\n  </a>\\n{{else}}\\n  <a\\n    href=\\\"{{href-to @wrapper.routeForShowPage @wrapper.contentWrapperId}}\\\"\\n    class=\\\"t__h3 t__solo-link\\\"\\n    data-test-title-cell-link={{true}}\\n  >\\n    <span class=\\\"outbound__table__truncated-title-cell u__one-truncated-line\\\">\\n      {{or @wrapper.title \\\"Untitled\\\"}}\\n    </span>\\n  </a>\\n{{/if}}\\n\\n<div class=\\\"flex flex-row items-center flex-wrap gap-3\\\">\\n  {{#if @wrapper.relations.series}}\\n    <div class=\\\"flex flex-row gap-1 mt-1\\\">\\n      <span>\\n        {{ic-interface-icon \\\"series\\\" color=\\\"gray\\\"}}\\n      </span>\\n      <Text @styling=\\\"muted\\\" class=\\\"outbound__table__truncated-title-cell u__one-truncated-line\\\">\\n        <a\\n          href=\\\"{{href-to \\\"apps.app.outbound.series.series\\\" @wrapper.relations.series.series_id (query-params mode=\\\"view\\\")}}\\\"\\n          class=\\\"t__solo-link\\\"\\n          data-test-outbound-list-series-link={{true}}\\n        >\\n          {{or @wrapper.relations.series.series_title \\\"Untitled series\\\"}}\\n        </a>\\n      </Text>\\n    </div>\\n  {{else if @wrapper.relations.campaign}}\\n    <div class=\\\"flex flex-row gap-1 mt-1\\\">\\n      <span>\\n        {{ic-interface-icon \\\"campaign\\\" color=\\\"gray\\\"}}\\n      </span>\\n      <Text @styling=\\\"muted\\\" class=\\\"outbound__table__truncated-title-cell u__one-truncated-line\\\">\\n        <a\\n          href=\\\"{{href-to \\\"apps.app.outbound.messages.auto.campaigns.campaign\\\" @wrapper.relations.campaign.campaign_id}}\\\"\\n          class=\\\"t__solo-link\\\"\\n          data-test-outbound-list-campaign-link={{true}}\\n        >\\n          {{@wrapper.relations.campaign.campaign_title}}\\n        </a>\\n      </Text>\\n    </div>\\n  {{/if}}\\n\\n  {{#let\\n    (take 4 @wrapper.tags)\\n    (drop 4 @wrapper.tags)\\n    as |visibleTags hiddenTags|\\n  }}\\n    {{#each visibleTags as |tag|}}\\n      <div class=\\\"flex flex-row gap-1 mt-1\\\" data-test-message-tag-pill={{tag.id}}>\\n        <span>\\n          {{ic-interface-icon 'tag' set='tiny' color='gray' solo=true}}\\n        </span>\\n        <Text @styling=\\\"muted\\\">{{tag.name}}</Text>\\n      </div>\\n    {{/each}}\\n\\n    {{#if hiddenTags}}\\n      <IcTooltip class=\\\"mt-1\\\" as |t|>\\n        <t.opener>\\n          <Text\\n            @linkStyling=\\\"subtle\\\"\\n            @styling=\\\"muted\\\"\\n            data-test-show-more-tags\\n          >\\n            + {{hiddenTags.length}} more\\n          </Text>\\n        </t.opener>\\n        <t.content>\\n          {{#each hiddenTags as |tag|}}\\n            <div class=\\\"flex flex-row gap-1 mt-1\\\" data-test-message-tag-pill={{tag.id}}>\\n              <span>\\n                {{ic-interface-icon 'tag' set='tiny' color='gray' solo=true}}\\n              </span>\\n              <Text @styling=\\\"muted\\\">{{tag.name}}</Text>\\n            </div>\\n          {{/each}}\\n        </t.content>\\n      </IcTooltip>\\n    {{/if}}\\n  {{/let}}\\n</div>\\n\",\"moduleName\":\"embercom/components/outbound/list/title-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/list/title-cell.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"outbound__table__content-cell\\\">\\n  <LinkTo\\n    @route={{@wrapper.routeForShowPage}}\\n    @model={{@wrapper.contentWrapperId}}\\n    @query={{this.queryParams}}\\n    @classNames=\\\"t__solo-link\\\"\\n    data-test-content-version-name=\\\"{{or this.queryParams.version this.queryParams.test}}\\\"\\n  >\\n    {{capitalize this.contentName}}\\n  </LinkTo>\\n</div>\\n\", {\"contents\":\"<div class=\\\"outbound__table__content-cell\\\">\\n  <LinkTo\\n    @route={{@wrapper.routeForShowPage}}\\n    @model={{@wrapper.contentWrapperId}}\\n    @query={{this.queryParams}}\\n    @classNames=\\\"t__solo-link\\\"\\n    data-test-content-version-name=\\\"{{or this.queryParams.version this.queryParams.test}}\\\"\\n  >\\n    {{capitalize this.contentName}}\\n  </LinkTo>\\n</div>\\n\",\"moduleName\":\"embercom/components/outbound/list/type-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/list/type-cell.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport {\n  objectTypes,\n  humanReadableObjectNames,\n} from 'embercom/models/data/matching-system/matching-constants';\n\nconst LETTER_A_CODE = 65;\n\nexport default class TypeCell extends Component {\n  @service appService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get contentName() {\n    if (this.args.wrapper.hasMultipleContentFragments) {\n      let contentType = this.args.content.contentType;\n\n      if (contentType === objectTypes.legacyControlGroup) {\n        return humanReadableObjectNames[contentType];\n      } else if (this.args.wrapper.contents.length === 2 && this.args.wrapper.hasControlGroup) {\n        return humanReadableObjectNames[contentType];\n      } else {\n        return `Test ${String.fromCharCode(\n          LETTER_A_CODE + this.args.wrapper.contents.indexOf(this.args.content),\n        )}`;\n      }\n    }\n  }\n\n  get queryParams() {\n    let contentType = this.args.content.contentType;\n    if (contentType >= 12 && contentType <= 15) {\n      return {\n        version: this._versionQueryParam,\n      };\n    } else {\n      return {\n        test: this.args.content.rulesetLinkId,\n      };\n    }\n  }\n\n  get _versionQueryParam() {\n    if (this.args.content.contentType === objectTypes.legacyControlGroup) {\n      return 'control';\n    } else {\n      return String.fromCharCode(\n        LETTER_A_CODE + this.args.wrapper.contents.indexOf(this.args.content),\n      );\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal data-test-new-content-modal\\n  @onModalClose={{@onClose}}\\n  @width=\\\"xl\\\"\\n  as |modal|\\n>\\n  {{#if this.selectedTemplate}}\\n    <modal.header class=\\\"new-content-modal__header-border-bottom\\\">\\n      <div class=\\\"flex flex-row items-start justify-between\\\" data-test-template-preview-container>\\n        <div class=\\\"flex flex-row items-start gap-2\\\">\\n          <span data-test-template-back-button\\n            class=\\\"new-content-modal__back-button pt-1\\\"\\n            {{on 'click' (set this.selectedTemplate undefined)}}\\n          >\\n            {{ic-interface-icon 'back'}}\\n          </span>\\n\\n          <div class=\\\"flex flex-col\\\">\\n            <Heading data-test-template-heading @size=\\\"2\\\">\\n              {{this.selectedTemplate.title}}\\n            </Heading>\\n          </div>\\n        </div>\\n\\n        <IcButton data-test-use-template-button\\n          @type=\\\"primary\\\"\\n          @label=\\\"Use this template\\\"\\n          @onClick={{fn @createContent this.selectedTemplate.objectType null null this.selectedTemplate.id}}\\n          data-intercom-target=\\\"use-template\\\"\\n        />\\n      </div>\\n    </modal.header>\\n  {{/if}}\\n\\n  <modal.body @fullBleed={{true}} class=\\\"new-content-modal__body {{if this.selectedTemplate \\\"o__with-header flex flex-row h-full\\\"}}\\\">\\n    {{#if this.selectedTemplate}}\\n      <div class=\\\"p-6\\\">\\n        <div class=\\\"flex flex-col new-content-modal__description\\\">\\n          <Heading @size='3'>About this template</Heading>\\n          <Text data-test-template-description @styling=\\\"muted\\\">{{this.selectedTemplate.description}}</Text>\\n        </div>\\n        {{#if this.selectedTemplate.metadata.goodFor}}\\n          <div class=\\\"flex flex-col new-content-modal__description mt-4\\\" data-test-template-metadata>\\n            <Text data-test-template-metadata-goodfor @styling=\\\"muted\\\">{{this.selectedTemplate.metadata.goodFor}}</Text>\\n          </div>\\n        {{/if}}\\n      </div>\\n      <Outbound::NewContentModal::TemplatePreview\\n        @template={{this.selectedTemplate}}\\n      />\\n    {{else}}\\n      <Outbound::NewContentModal::TemplateSelector\\n        @createContent={{@createContent}}\\n        @templates={{@templates}}\\n        @onSelect={{set this.selectedTemplate}}\\n      />\\n    {{/if}}\\n  </modal.body>\\n</IcModal> \\n\", {\"contents\":\"<IcModal data-test-new-content-modal\\n  @onModalClose={{@onClose}}\\n  @width=\\\"xl\\\"\\n  as |modal|\\n>\\n  {{#if this.selectedTemplate}}\\n    <modal.header class=\\\"new-content-modal__header-border-bottom\\\">\\n      <div class=\\\"flex flex-row items-start justify-between\\\" data-test-template-preview-container>\\n        <div class=\\\"flex flex-row items-start gap-2\\\">\\n          <span data-test-template-back-button\\n            class=\\\"new-content-modal__back-button pt-1\\\"\\n            {{on 'click' (set this.selectedTemplate undefined)}}\\n          >\\n            {{ic-interface-icon 'back'}}\\n          </span>\\n\\n          <div class=\\\"flex flex-col\\\">\\n            <Heading data-test-template-heading @size=\\\"2\\\">\\n              {{this.selectedTemplate.title}}\\n            </Heading>\\n          </div>\\n        </div>\\n\\n        <IcButton data-test-use-template-button\\n          @type=\\\"primary\\\"\\n          @label=\\\"Use this template\\\"\\n          @onClick={{fn @createContent this.selectedTemplate.objectType null null this.selectedTemplate.id}}\\n          data-intercom-target=\\\"use-template\\\"\\n        />\\n      </div>\\n    </modal.header>\\n  {{/if}}\\n\\n  <modal.body @fullBleed={{true}} class=\\\"new-content-modal__body {{if this.selectedTemplate \\\"o__with-header flex flex-row h-full\\\"}}\\\">\\n    {{#if this.selectedTemplate}}\\n      <div class=\\\"p-6\\\">\\n        <div class=\\\"flex flex-col new-content-modal__description\\\">\\n          <Heading @size='3'>About this template</Heading>\\n          <Text data-test-template-description @styling=\\\"muted\\\">{{this.selectedTemplate.description}}</Text>\\n        </div>\\n        {{#if this.selectedTemplate.metadata.goodFor}}\\n          <div class=\\\"flex flex-col new-content-modal__description mt-4\\\" data-test-template-metadata>\\n            <Text data-test-template-metadata-goodfor @styling=\\\"muted\\\">{{this.selectedTemplate.metadata.goodFor}}</Text>\\n          </div>\\n        {{/if}}\\n      </div>\\n      <Outbound::NewContentModal::TemplatePreview\\n        @template={{this.selectedTemplate}}\\n      />\\n    {{else}}\\n      <Outbound::NewContentModal::TemplateSelector\\n        @createContent={{@createContent}}\\n        @templates={{@templates}}\\n        @onSelect={{set this.selectedTemplate}}\\n      />\\n    {{/if}}\\n  </modal.body>\\n</IcModal> \\n\",\"moduleName\":\"embercom/components/outbound/new-content-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/new-content-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class NewContentModal extends Component {\n  @tracked selectedTemplate = this.args.selectedTemplate;\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col gap-4 overflow-scroll\\\" data-test-template-preview>\\n  <div class=\\\"flex flex-col flex-1\\\">\\n    {{#if this.isSeries}}\\n      <img\\n        class=\\\"new-content-modal__template-preview__image\\\"\\n        src={{or\\n          @template.preview\\n          \\\"https://downloads.intercomcdn.com/i/o/229700637/1238890dcac35aefd4b30db4/preview-placeholder.png\\\"\\n        }}\\n      />\\n    {{/if}}\\n  </div>\\n</div> \", {\"contents\":\"<div class=\\\"flex flex-col gap-4 overflow-scroll\\\" data-test-template-preview>\\n  <div class=\\\"flex flex-col flex-1\\\">\\n    {{#if this.isSeries}}\\n      <img\\n        class=\\\"new-content-modal__template-preview__image\\\"\\n        src={{or\\n          @template.preview\\n          \\\"https://downloads.intercomcdn.com/i/o/229700637/1238890dcac35aefd4b30db4/preview-placeholder.png\\\"\\n        }}\\n      />\\n    {{/if}}\\n  </div>\\n</div> \",\"moduleName\":\"embercom/components/outbound/new-content-modal/template-preview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/new-content-modal/template-preview.hbs\"}});\nimport Component from '@glimmer/component';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class TemplatePreview extends Component {\n  get isSeries() {\n    return this.args.template.objectType === objectTypes.series;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row h-full\\\">\\n  <div class=\\\"new-content-modal__sidebar flex flex-col p-6\\\">\\n    <div class=\\\"flex flex-col gap-3\\\" data-test-template-objectives-container>\\n      <Heading @size=\\\"3\\\">Objectives</Heading>\\n\\n      <Text\\n        class=\\\"new-content-modal__sidenav__item {{if (eq this.selectedObjective undefined) 'o__selected'}}\\\"\\n        {{on 'click' (set this.selectedObjective undefined)}}\\n      >\\n        All\\n      </Text>\\n\\n      {{#each-in this.objectives as |objective value|}}\\n        <Text\\n          class=\\\"new-content-modal__sidenav__item {{if (eq this.selectedObjective value) 'o__selected'}}\\\"\\n          {{on 'click' (set this.selectedObjective value)}}\\n        >\\n          {{capitalize (get this.humanReadableObjectiveName objective)}}\\n        </Text>\\n      {{/each-in}}\\n    </div>\\n  </div>\\n\\n  <div class=\\\"flex flex-col flex-1 p-6 overflow-y-auto\\\" data-intercom-target=\\\"template-modal\\\">\\n    <div class=\\\"flex flex-col gap-4\\\">\\n      <Heading @size=\\\"2\\\">Start from scratch</Heading>\\n      <div class=\\\"flex flex-row flex-wrap gap-4\\\">\\n        <div data-test-new-content-button={{this.objectTypes.series}}\\n          class=\\\"flex flex-row items-center flex-1 new-content-modal__card o__small p-4 mb-4\\\"\\n          {{on 'click' (fn @createContent this.objectTypes.series)}}\\n        >\\n          {{ic-interface-icon \\\"series\\\"}}\\n          <div class=\\\"new-content-modal__card__title ml-1\\\">New series</div>\\n        </div>\\n      </div>\\n    </div>\\n\\n    <div class=\\\"flex flex-col gap-4 pt-10\\\">\\n      <Heading @size=\\\"2\\\">Or choose a template</Heading>\\n      <div class=\\\"flex-row flex-wrap gap-4\\\" data-test-templates-container>\\n        <Outbound::NewContentModal::TemplatesList\\n          @templates={{this.templates}}\\n          @onSelect={{@onSelect}}\\n        />\\n      </div>\\n\\n      {{#if (not (has-feature 'campaignsDeprecated'))}}\\n        <Text class=\\\"mt-8 pb-8\\\" @linkStyling=\\\"standalone\\\" @styling='strong' data-test-campaign-migration-nudge>\\n          <LinkTo @route=\\\"apps.app.outbound.messages.auto.campaigns\\\" @tagName='span'>\\n            Or you can also copy one of your existing campaigns {{ic-interface-icon 'regular-path'}}\\n          </LinkTo>\\n        </Text>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div> \\n\", {\"contents\":\"<div class=\\\"flex flex-row h-full\\\">\\n  <div class=\\\"new-content-modal__sidebar flex flex-col p-6\\\">\\n    <div class=\\\"flex flex-col gap-3\\\" data-test-template-objectives-container>\\n      <Heading @size=\\\"3\\\">Objectives</Heading>\\n\\n      <Text\\n        class=\\\"new-content-modal__sidenav__item {{if (eq this.selectedObjective undefined) 'o__selected'}}\\\"\\n        {{on 'click' (set this.selectedObjective undefined)}}\\n      >\\n        All\\n      </Text>\\n\\n      {{#each-in this.objectives as |objective value|}}\\n        <Text\\n          class=\\\"new-content-modal__sidenav__item {{if (eq this.selectedObjective value) 'o__selected'}}\\\"\\n          {{on 'click' (set this.selectedObjective value)}}\\n        >\\n          {{capitalize (get this.humanReadableObjectiveName objective)}}\\n        </Text>\\n      {{/each-in}}\\n    </div>\\n  </div>\\n\\n  <div class=\\\"flex flex-col flex-1 p-6 overflow-y-auto\\\" data-intercom-target=\\\"template-modal\\\">\\n    <div class=\\\"flex flex-col gap-4\\\">\\n      <Heading @size=\\\"2\\\">Start from scratch</Heading>\\n      <div class=\\\"flex flex-row flex-wrap gap-4\\\">\\n        <div data-test-new-content-button={{this.objectTypes.series}}\\n          class=\\\"flex flex-row items-center flex-1 new-content-modal__card o__small p-4 mb-4\\\"\\n          {{on 'click' (fn @createContent this.objectTypes.series)}}\\n        >\\n          {{ic-interface-icon \\\"series\\\"}}\\n          <div class=\\\"new-content-modal__card__title ml-1\\\">New series</div>\\n        </div>\\n      </div>\\n    </div>\\n\\n    <div class=\\\"flex flex-col gap-4 pt-10\\\">\\n      <Heading @size=\\\"2\\\">Or choose a template</Heading>\\n      <div class=\\\"flex-row flex-wrap gap-4\\\" data-test-templates-container>\\n        <Outbound::NewContentModal::TemplatesList\\n          @templates={{this.templates}}\\n          @onSelect={{@onSelect}}\\n        />\\n      </div>\\n\\n      {{#if (not (has-feature 'campaignsDeprecated'))}}\\n        <Text class=\\\"mt-8 pb-8\\\" @linkStyling=\\\"standalone\\\" @styling='strong' data-test-campaign-migration-nudge>\\n          <LinkTo @route=\\\"apps.app.outbound.messages.auto.campaigns\\\" @tagName='span'>\\n            Or you can also copy one of your existing campaigns {{ic-interface-icon 'regular-path'}}\\n          </LinkTo>\\n        </Text>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div> \\n\",\"moduleName\":\"embercom/components/outbound/new-content-modal/template-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/new-content-modal/template-selector.hbs\"}});\nimport Component from '@glimmer/component';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport { tracked } from '@glimmer/tracking';\nimport { objectives, objectiveNames } from 'embercom/models/data/outbound/template-constants';\n\nexport default class TemplateSelector extends Component {\n  @tracked selectedObjective;\n\n  get templates() {\n    if (typeof this.selectedObjective === 'number') {\n      return this.args.templates.filter(template => template.objective === this.selectedObjective);\n    } else {\n      return this.args.templates;\n    }\n  }\n\n  get isSeries() {\n    return this.args.selectedObjectType === objectTypes.series;\n  }\n\n  get objectTypes() {\n    return objectTypes;\n  }\n\n  get objectives() {\n    return objectives;\n  }\n\n  get humanReadableObjectiveName() {\n    return objectiveNames;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#each @templates as |template index|}}\\n  <IcTooltip\\n    @isDisabled={{template.isAvailable}}\\n    as |t|\\n  >\\n    <t.opener>\\n      <div\\n        {{on 'click' (fn this.onTemplateClick template)}}\\n        data-test-template={{index}}\\n        data-intercom-target={{template.title}}\\n        class=\\\"\\n          flex flex-col flex-1 new-content-modal__card o__large mb-4\\n          {{if (not template.isAvailable) \\\"opacity-50 pointer-events-none\\\"}}\\\"\\n      >\\n        <div data-test-template-thumbnail class=\\\"new-content-modal__card__image-container\\\">\\n          <img\\n            class=\\\"new-content-modal__card__image\\\"\\n            src=\\\"{{or template.thumbnail \\\"https://downloads.intercomcdn.com/i/o/229700637/1238890dcac35aefd4b30db4/preview-placeholder.png\\\"}}\\\"\\n          />\\n        </div>\\n        <div class=\\\"flex flex-col flex-1 gap-2 p-4\\\" data-test-template-title>\\n          <div class=\\\"new-content-modal__card__title new-content-modal__card__title-with-thumbnail\\\">\\n            {{template.title}}\\n          </div>\\n        </div>\\n      </div>\\n    </t.opener>\\n    <t.content>\\n      You need to upload a push certificate for iOS or a FCM key for Android to use this template\\n    </t.content>\\n  </IcTooltip>\\n{{else}}\\n  <Text @styling=\\\"muted\\\">No templates found</Text>\\n{{/each}}\", {\"contents\":\"{{#each @templates as |template index|}}\\n  <IcTooltip\\n    @isDisabled={{template.isAvailable}}\\n    as |t|\\n  >\\n    <t.opener>\\n      <div\\n        {{on 'click' (fn this.onTemplateClick template)}}\\n        data-test-template={{index}}\\n        data-intercom-target={{template.title}}\\n        class=\\\"\\n          flex flex-col flex-1 new-content-modal__card o__large mb-4\\n          {{if (not template.isAvailable) \\\"opacity-50 pointer-events-none\\\"}}\\\"\\n      >\\n        <div data-test-template-thumbnail class=\\\"new-content-modal__card__image-container\\\">\\n          <img\\n            class=\\\"new-content-modal__card__image\\\"\\n            src=\\\"{{or template.thumbnail \\\"https://downloads.intercomcdn.com/i/o/229700637/1238890dcac35aefd4b30db4/preview-placeholder.png\\\"}}\\\"\\n          />\\n        </div>\\n        <div class=\\\"flex flex-col flex-1 gap-2 p-4\\\" data-test-template-title>\\n          <div class=\\\"new-content-modal__card__title new-content-modal__card__title-with-thumbnail\\\">\\n            {{template.title}}\\n          </div>\\n        </div>\\n      </div>\\n    </t.opener>\\n    <t.content>\\n      You need to upload a push certificate for iOS or a FCM key for Android to use this template\\n    </t.content>\\n  </IcTooltip>\\n{{else}}\\n  <Text @styling=\\\"muted\\\">No templates found</Text>\\n{{/each}}\",\"moduleName\":\"embercom/components/outbound/new-content-modal/templates-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/new-content-modal/templates-list.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class TemplateList extends Component {\n  @action\n  onTemplateClick(template) {\n    if (template.isAvailable) {\n      this.args.onSelect(template);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<SubmenuComponent @title=\\\"Outbound\\\" data-test-outbound-navigation as |submenu|>\\n  <submenu.header\\n    @searchAction={{@toggleSearch}}\\n    @searchIsSelected={{@showSearch}}\\n    data-test-outbound-submenu-header={{true}}\\n  />\\n  <submenu.sections as |sections|>\\n    <sections.section data-intercom-target=\\\"Outbound Home navbar\\\"\\n      @isOpen={{not this.isOnSeriesOrCampaignRoute}}\\n      as |section|\\n    >\\n      <section.title\\n        @title=\\\"Messages\\\"\\n        @url={{href-to \\\"apps.app.outbound.all\\\"}}\\n      />\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.all\\\"\\n          @current-when=\\\"apps.app.outbound.all\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-outbound-submenu-item=\\\"auto-all\\\"\\n          data-intercom-target=\\\"Outbound Home All navbar link\\\"\\n        >\\n          All\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.chat\\\"\\n          @current-when={{eq this.activeList this.objectTypeConstants.chat}}\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-outbound-submenu-item=\\\"chat\\\"\\n          data-intercom-target=\\\"Outbound Home Chat navbar link\\\"\\n        >\\n          Chats\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.post\\\"\\n          @current-when={{eq this.activeList this.objectTypeConstants.post}}\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-outbound-submenu-item=\\\"post\\\"\\n          data-intercom-target=\\\"Outbound Home Post navbar link\\\"\\n        >\\n          Posts\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.email\\\"\\n          @current-when={{eq this.activeList this.objectTypeConstants.email}}\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-outbound-submenu-item=\\\"auto-email\\\"\\n          data-intercom-target=\\\"Outbound Home Email navbar link\\\"\\n        >\\n          Emails\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.custom-bot\\\"\\n          @current-when={{eq this.activeList this.objectTypeConstants.customBot}}\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-outbound-submenu-item=\\\"custom-bot\\\"\\n          data-intercom-target=\\\"Outbound Home Custom Bot navbar link\\\"\\n        >\\n          Custom Bots\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.tour.index\\\"\\n          @current-when={{eq this.activeList this.objectTypeConstants.tour}}\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-outbound-submenu-item=\\\"auto-tour\\\"\\n          data-intercom-target=\\\"Outbound Home Tours navbar link\\\"\\n        >\\n          Product Tours\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.push.index\\\"\\n          @current-when={{eq this.activeList this.objectTypeConstants.push}}\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-outbound-submenu-item=\\\"auto-push\\\"\\n          data-intercom-target=\\\"Outbound Home Push navbar link\\\"\\n        >\\n          Mobile Push\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.carousel\\\"\\n          @current-when={{eq this.activeList this.objectTypeConstants.carousel}}\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-outbound-submenu-item=\\\"carousel\\\"\\n          data-intercom-target=\\\"Outbound Home Carousel navbar link\\\"\\n        >\\n          Mobile Carousels\\n        </LinkTo>\\n        {{#if this.app.canUseBanners}}\\n          <LinkTo\\n            @route=\\\"apps.app.outbound.banners\\\"\\n            @current-when={{eq this.activeList this.objectTypeConstants.banner}}\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n            data-test-outbound-submenu-item=\\\"banner\\\"\\n            data-intercom-target=\\\"Outbound Home Banner navbar link\\\"\\n          >\\n            Banners {{ic-stamp \\\"beta\\\"}}\\n          </LinkTo>\\n        {{/if}}\\n        {{#if this.app.canUseSMS}}\\n          <LinkTo\\n            @route=\\\"apps.app.outbound.sms\\\"\\n            @current-when={{eq this.activeList this.objectTypeConstants.sms}}\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n            data-test-outbound-submenu-item=\\\"sms\\\"\\n            data-intercom-target=\\\"Outbound Home SMS navbar link\\\"\\n          >\\n            SMS {{ic-stamp \\\"beta\\\"}}\\n          </LinkTo>\\n        {{/if}}\\n      </section.items>\\n    </sections.section>\\n\\n    <sections.section @isOpen={{true}} as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.series.index\\\"\\n          @current-when=\\\"apps.app.outbound.series.index\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-outbound-submenu-title=\\\"series\\\"\\n          data-intercom-target=\\\"Outbound Home Series navbar link\\\"\\n        >\\n          Series {{ic-stamp \\\"new\\\"}}\\n        </LinkTo>\\n      </section.title>\\n    </sections.section>\\n\\n    {{#if (not (has-feature 'campaignsDeprecated'))}}\\n      <sections.section @isOpen={{true}} as |section|>\\n        <section.title>\\n          <LinkTo\\n            @route=\\\"apps.app.outbound.messages.auto.campaigns\\\"\\n            @query={{hash\\n              state=undefined\\n              sortColumn=undefined\\n              sortDirection=undefined\\n            }}\\n            @current-when=\\\"apps.app.outbound.messages.auto.campaigns\\\"\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n            data-test-outbound-submenu-title=\\\"campaigns\\\"\\n            data-intercom-target=\\\"Outbound Home Campaigns navbar link\\\"\\n          >\\n            Campaigns\\n          </LinkTo>\\n        </section.title>\\n      </sections.section>\\n    {{/if}}\\n  </submenu.sections>\\n</SubmenuComponent>\\n\", {\"contents\":\"<SubmenuComponent @title=\\\"Outbound\\\" data-test-outbound-navigation as |submenu|>\\n  <submenu.header\\n    @searchAction={{@toggleSearch}}\\n    @searchIsSelected={{@showSearch}}\\n    data-test-outbound-submenu-header={{true}}\\n  />\\n  <submenu.sections as |sections|>\\n    <sections.section data-intercom-target=\\\"Outbound Home navbar\\\"\\n      @isOpen={{not this.isOnSeriesOrCampaignRoute}}\\n      as |section|\\n    >\\n      <section.title\\n        @title=\\\"Messages\\\"\\n        @url={{href-to \\\"apps.app.outbound.all\\\"}}\\n      />\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.all\\\"\\n          @current-when=\\\"apps.app.outbound.all\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-outbound-submenu-item=\\\"auto-all\\\"\\n          data-intercom-target=\\\"Outbound Home All navbar link\\\"\\n        >\\n          All\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.chat\\\"\\n          @current-when={{eq this.activeList this.objectTypeConstants.chat}}\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-outbound-submenu-item=\\\"chat\\\"\\n          data-intercom-target=\\\"Outbound Home Chat navbar link\\\"\\n        >\\n          Chats\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.post\\\"\\n          @current-when={{eq this.activeList this.objectTypeConstants.post}}\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-outbound-submenu-item=\\\"post\\\"\\n          data-intercom-target=\\\"Outbound Home Post navbar link\\\"\\n        >\\n          Posts\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.email\\\"\\n          @current-when={{eq this.activeList this.objectTypeConstants.email}}\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-outbound-submenu-item=\\\"auto-email\\\"\\n          data-intercom-target=\\\"Outbound Home Email navbar link\\\"\\n        >\\n          Emails\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.custom-bot\\\"\\n          @current-when={{eq this.activeList this.objectTypeConstants.customBot}}\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-outbound-submenu-item=\\\"custom-bot\\\"\\n          data-intercom-target=\\\"Outbound Home Custom Bot navbar link\\\"\\n        >\\n          Custom Bots\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.tour.index\\\"\\n          @current-when={{eq this.activeList this.objectTypeConstants.tour}}\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-outbound-submenu-item=\\\"auto-tour\\\"\\n          data-intercom-target=\\\"Outbound Home Tours navbar link\\\"\\n        >\\n          Product Tours\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.push.index\\\"\\n          @current-when={{eq this.activeList this.objectTypeConstants.push}}\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-outbound-submenu-item=\\\"auto-push\\\"\\n          data-intercom-target=\\\"Outbound Home Push navbar link\\\"\\n        >\\n          Mobile Push\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.carousel\\\"\\n          @current-when={{eq this.activeList this.objectTypeConstants.carousel}}\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-outbound-submenu-item=\\\"carousel\\\"\\n          data-intercom-target=\\\"Outbound Home Carousel navbar link\\\"\\n        >\\n          Mobile Carousels\\n        </LinkTo>\\n        {{#if this.app.canUseBanners}}\\n          <LinkTo\\n            @route=\\\"apps.app.outbound.banners\\\"\\n            @current-when={{eq this.activeList this.objectTypeConstants.banner}}\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n            data-test-outbound-submenu-item=\\\"banner\\\"\\n            data-intercom-target=\\\"Outbound Home Banner navbar link\\\"\\n          >\\n            Banners {{ic-stamp \\\"beta\\\"}}\\n          </LinkTo>\\n        {{/if}}\\n        {{#if this.app.canUseSMS}}\\n          <LinkTo\\n            @route=\\\"apps.app.outbound.sms\\\"\\n            @current-when={{eq this.activeList this.objectTypeConstants.sms}}\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n            data-test-outbound-submenu-item=\\\"sms\\\"\\n            data-intercom-target=\\\"Outbound Home SMS navbar link\\\"\\n          >\\n            SMS {{ic-stamp \\\"beta\\\"}}\\n          </LinkTo>\\n        {{/if}}\\n      </section.items>\\n    </sections.section>\\n\\n    <sections.section @isOpen={{true}} as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.series.index\\\"\\n          @current-when=\\\"apps.app.outbound.series.index\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-outbound-submenu-title=\\\"series\\\"\\n          data-intercom-target=\\\"Outbound Home Series navbar link\\\"\\n        >\\n          Series {{ic-stamp \\\"new\\\"}}\\n        </LinkTo>\\n      </section.title>\\n    </sections.section>\\n\\n    {{#if (not (has-feature 'campaignsDeprecated'))}}\\n      <sections.section @isOpen={{true}} as |section|>\\n        <section.title>\\n          <LinkTo\\n            @route=\\\"apps.app.outbound.messages.auto.campaigns\\\"\\n            @query={{hash\\n              state=undefined\\n              sortColumn=undefined\\n              sortDirection=undefined\\n            }}\\n            @current-when=\\\"apps.app.outbound.messages.auto.campaigns\\\"\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n            data-test-outbound-submenu-title=\\\"campaigns\\\"\\n            data-intercom-target=\\\"Outbound Home Campaigns navbar link\\\"\\n          >\\n            Campaigns\\n          </LinkTo>\\n        </section.title>\\n      </sections.section>\\n    {{/if}}\\n  </submenu.sections>\\n</SubmenuComponent>\\n\",\"moduleName\":\"embercom/components/outbound/submenu-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/outbound/submenu-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class SubmenuComponent extends Component {\n  @service router;\n  @service appService;\n  @service outboundHomeService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get isOnSeriesOrCampaignRoute() {\n    return (\n      /^apps\\.app\\.outbound(\\.messages)?\\.auto\\.(campaigns|loading)/.test(\n        this.router.currentRouteName,\n      ) || /^apps\\.app\\.outbound\\.series/.test(this.router.currentRouteName)\n    );\n  }\n\n  get isOnAutoMessagesRoute() {\n    let routeRegex = /^apps\\.app\\.messages(\\.messages)?\\.auto/;\n    return routeRegex.test(this.router.currentRouteName);\n  }\n\n  get activeList() {\n    return this.outboundHomeService.activeList;\n  }\n\n  get objectTypeConstants() {\n    return objectTypes;\n  }\n\n  @action\n  trackStartGuideEvent() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'start_guide_clicked',\n      context: 'from_messages_submenu',\n      place: 'start_guide',\n    });\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { schedule } from '@ember/runloop';\nimport { assert } from '@ember/debug';\nimport $ from 'jquery';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport ENV from 'embercom/config/environment';\nimport { task } from 'ember-concurrency';\nimport RunMixin from 'ember-lifeline/mixins/run';\nimport { addEventListener, runDisposables } from 'ember-lifeline';\n\nexport default Component.extend(RunMixin, {\n  itemSelector: null,\n  pageWhenWithinPixels: 300,\n  _lastPagedAtHeight: -1,\n\n  $viewport: computed('viewportSelector', function() {\n    return $(this.viewportSelector);\n  }),\n\n  $scrollingContent: computed('scrollingContentSelector', function() {\n    return this.$viewport.find(this.scrollingContentSelector);\n  }),\n\n  didInsertElement() {\n    this._super(...arguments);\n    assert('You must specify an `onPageRequested` action', this.onPageRequested !== undefined);\n    assert('You must specify a `viewportSelector` property', this.viewportSelector);\n    assert('You must specify a `scrollingContentSelector` property', this.scrollingContentSelector);\n\n    addEventListener(this, this.$viewport.get(0), 'scroll', this.debouncedPaginateIfAppropriate);\n    this.autoPaginateIfAppropriate();\n  },\n\n  destroy() {\n    this._super(...arguments);\n    runDisposables(this);\n  },\n\n  willDestroyElement() {\n    this.set('$viewport', null);\n    this.set('$scrollingContent', null);\n    this._super(...arguments);\n  },\n\n  debouncedPaginateIfAppropriate() {\n    this.debounceTask('paginateIfAppropriate', ENV.APP._150MS);\n  },\n\n  autoPaginateIfAppropriate() {\n    if (this.get('requestPage.isRunning')) {\n      return;\n    }\n\n    if (this.contentHeight() <= this.viewportHeight() && this.hasWatermarkChanged()) {\n      this.requestPage.perform();\n    }\n  },\n\n  paginateIfAppropriate() {\n    if (this.get('requestPage.isRunning')) {\n      return;\n    }\n    if (this.isNearBottom()) {\n      this.requestPage.perform();\n    }\n  },\n\n  hasWatermarkChanged() {\n    return this.watermark !== this.$scrollingContent.height();\n  },\n\n  setWatermark() {\n    let contentHeight = this.$scrollingContent.height();\n    this.set('watermark', contentHeight);\n  },\n\n  requestPage: task(function*() {\n    this.setWatermark();\n\n    yield this.onPageRequested();\n    schedule('afterRender', () => {\n      this.autoPaginateIfAppropriate();\n    });\n  }).enqueue(),\n\n  viewportHeight() {\n    return this.$viewport.height();\n  },\n\n  contentHeight() {\n    return this.$scrollingContent.height();\n  },\n\n  scrollBottom() {\n    let $viewport = this.$viewport;\n    if (!$viewport) {\n      return 0;\n    }\n    return this.viewportHeight() + $viewport.scrollTop();\n  },\n\n  pageTriggerPoint() {\n    return this.contentHeight() - this.pageWhenWithinPixels;\n  },\n\n  isNearBottom() {\n    if (!this.$viewport || !this.$scrollingContent) {\n      return false;\n    }\n    return this.scrollBottom() > this.pageTriggerPoint();\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"{{if isUserTable \\\"pagination__for-user-table\\\" \\\"pagination__for-table\\\"}} o__white\\\"\\n>\\n  {{#if isPaginating}}\\n    {{#if hasErrored}}\\n      <div class=\\\"pagination__error\\\">\\n        {{#if reloadCurrentPage}}\\n          <IcBanner\\n            @type=\\\"error\\\"\\n            @text={{errorText}}\\n            @buttonLabel=\\\"Try again…\\\"\\n            @onButtonClick={{reloadCurrentPage}}\\n            data-test-paginator-error\\n          />\\n        {{else}}\\n          <IcBanner @type=\\\"error\\\" @text={{errorText}} data-test-paginator-error />\\n        {{/if}}\\n      </div>\\n    {{else}}\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"{{if isUserTable \\\"pagination__for-user-table\\\" \\\"pagination__for-table\\\"}} o__white\\\"\\n>\\n  {{#if isPaginating}}\\n    {{#if hasErrored}}\\n      <div class=\\\"pagination__error\\\">\\n        {{#if reloadCurrentPage}}\\n          <IcBanner\\n            @type=\\\"error\\\"\\n            @text={{errorText}}\\n            @buttonLabel=\\\"Try again…\\\"\\n            @onButtonClick={{reloadCurrentPage}}\\n            data-test-paginator-error\\n          />\\n        {{else}}\\n          <IcBanner @type=\\\"error\\\" @text={{errorText}} data-test-paginator-error />\\n        {{/if}}\\n      </div>\\n    {{else}}\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/paginator-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/paginator-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  isPaginating: false,\n  hasErrored: false,\n  // Used in error message\n  objectName: 'users',\n  paginationErrorMessage: null,\n  errorText: computed('objectName', 'paginationErrorMessage', function() {\n    if (this.paginationErrorMessage) {\n      return this.paginationErrorMessage;\n    } else {\n      return `An error occurred while loading more ${this.objectName}.`;\n    }\n  }),\n});\n","define(\"embercom/components/paragraph\", [\"exports\", \"@intercom/embercom-core/components/paragraph\"], function (_exports, _paragraph) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _paragraph.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- documentation for using the paywall system: https://stackoverflow.com/c/intercom/questions/908 --}}\\n{{yield (hash\\n  isActive=this.isActive\\n  isInactive=this.isInactive\\n  openUpgradeModal=this.openUpgradeModal\\n  usageLimit=this.usageLimit\\n  Block=(component 'paywalls/block'\\n    isActive=this.isActive\\n    openUpgradeModal=this.openUpgradeModal\\n    analyticsEventData=this.analyticsEventData\\n    featureKey=this.featureKey\\n  )\\n  Banner=(component 'paywalls/banner'\\n    isActive=this.isActive\\n    isFrozenForNonPayment=this.isFrozenForNonPayment\\n    openUpgradeModal=this.openUpgradeModal\\n    analyticsEventData=this.analyticsEventData\\n  )\\n  Hover=(component 'paywalls/hover'\\n    isActive=this.isActive\\n    openUpgradeModal=this.openUpgradeModal\\n    planText=this.planText\\n    feature=this.feature\\n    analyticsEventData=this.analyticsEventData\\n  )\\n  MiniSplash=(component 'paywalls/mini-splash'\\n    isActive=this.isActive\\n    openUpgradeModal=this.openUpgradeModal\\n    planText=this.planText\\n    feature=this.feature\\n    analyticsEventData=this.analyticsEventData\\n  )\\n  Splash=(component 'paywalls/splash'\\n    isActive=this.isActive\\n    isFrozenForNonPayment=this.isFrozenForNonPayment\\n    openUpgradeModal=this.openUpgradeModal\\n    feature=this.feature\\n    analyticsEventData=this.analyticsEventData\\n  )\\n  Badge=(component 'paywalls/badge'\\n    isActive=this.isActive\\n    openUpgradeModal=this.openUpgradeModal\\n    badgeOnly=true\\n  )\\n  UpgradeButton=(component 'paywalls/upgrade-button'\\n    isActive=this.isActive\\n    onClick=this.openUpgradeModal\\n  )\\n)}}\\n\\n{{#if (and this.showUpgradeModal this.isActive)}}\\n  <Paywalls::UpgradeModal\\n    @showUpgradeModal={{this.showUpgradeModal}}\\n    @closeUpgradeModal={{this.closeUpgradeModal}}\\n    @plan={{this.plansWithFeature.firstObject}}\\n    @feature={{this.feature}}\\n    @isLoading={{this.modalIsLoading}}\\n    @disableFeatureHighlighting={{this.disableFeatureHighlighting}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- documentation for using the paywall system: https://stackoverflow.com/c/intercom/questions/908 --}}\\n{{yield (hash\\n  isActive=this.isActive\\n  isInactive=this.isInactive\\n  openUpgradeModal=this.openUpgradeModal\\n  usageLimit=this.usageLimit\\n  Block=(component 'paywalls/block'\\n    isActive=this.isActive\\n    openUpgradeModal=this.openUpgradeModal\\n    analyticsEventData=this.analyticsEventData\\n    featureKey=this.featureKey\\n  )\\n  Banner=(component 'paywalls/banner'\\n    isActive=this.isActive\\n    isFrozenForNonPayment=this.isFrozenForNonPayment\\n    openUpgradeModal=this.openUpgradeModal\\n    analyticsEventData=this.analyticsEventData\\n  )\\n  Hover=(component 'paywalls/hover'\\n    isActive=this.isActive\\n    openUpgradeModal=this.openUpgradeModal\\n    planText=this.planText\\n    feature=this.feature\\n    analyticsEventData=this.analyticsEventData\\n  )\\n  MiniSplash=(component 'paywalls/mini-splash'\\n    isActive=this.isActive\\n    openUpgradeModal=this.openUpgradeModal\\n    planText=this.planText\\n    feature=this.feature\\n    analyticsEventData=this.analyticsEventData\\n  )\\n  Splash=(component 'paywalls/splash'\\n    isActive=this.isActive\\n    isFrozenForNonPayment=this.isFrozenForNonPayment\\n    openUpgradeModal=this.openUpgradeModal\\n    feature=this.feature\\n    analyticsEventData=this.analyticsEventData\\n  )\\n  Badge=(component 'paywalls/badge'\\n    isActive=this.isActive\\n    openUpgradeModal=this.openUpgradeModal\\n    badgeOnly=true\\n  )\\n  UpgradeButton=(component 'paywalls/upgrade-button'\\n    isActive=this.isActive\\n    onClick=this.openUpgradeModal\\n  )\\n)}}\\n\\n{{#if (and this.showUpgradeModal this.isActive)}}\\n  <Paywalls::UpgradeModal\\n    @showUpgradeModal={{this.showUpgradeModal}}\\n    @closeUpgradeModal={{this.closeUpgradeModal}}\\n    @plan={{this.plansWithFeature.firstObject}}\\n    @feature={{this.feature}}\\n    @isLoading={{this.modalIsLoading}}\\n    @disableFeatureHighlighting={{this.disableFeatureHighlighting}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/paywall.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/paywall.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { task } from 'ember-concurrency-decorators';\nimport { isPresent } from '@ember/utils';\n\nexport default class Paywall extends Component {\n  @service appService;\n  @service customerService;\n  @service paywallService;\n  @service modalService;\n  @tracked showUpgradeModal = false;\n  @service stripev3;\n  @service purchaseAnalyticsService;\n\n  constructor() {\n    super(...arguments);\n    if (this.args.launchModal) {\n      this.openUpgradeModal();\n    }\n  }\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get pricingMetric() {\n    return this.args.pricingMetric;\n  }\n\n  get analyticsEventData() {\n    return {\n      plan: this.plan?.id,\n      feature: this.featureKey,\n      productId: this.plan?.product?.id,\n      productName: this.plan?.product?.key,\n      ...this.analyticsMetadata,\n    };\n  }\n\n  get activeProducts() {\n    return this.app.activeProducts;\n  }\n\n  get plans() {\n    return this.app.products.reduce(\n      (previous, product) => previous.concat(product.plans.toArray()),\n      [],\n    );\n  }\n\n  get activePlans() {\n    return this.activeProducts.map(product => product.plans.find(plan => plan.active === true));\n  }\n\n  get activePlanIds() {\n    return this.activePlans.mapBy('id');\n  }\n\n  get activePlansUsageLimit() {\n    let maximumsForActivePlans = this.activePlans\n      .map(plan => this.pricingStrategyFromPlanForMetric(plan)?.maximum)\n      .compact();\n    if (isPresent(maximumsForActivePlans)) {\n      return Math.max(...maximumsForActivePlans);\n    }\n    return null;\n  }\n\n  get planText() {\n    return this.plansWithFeature.mapBy('nameWithProduct').join(' or ');\n  }\n\n  get isMetricPaywall() {\n    return isPresent(this.pricingMetric);\n  }\n\n  get isActive() {\n    if (this.args.isActiveOverride !== undefined) {\n      return this.args.isActiveOverride;\n    }\n\n    return (\n      (this.featureKey || this.isMetricPaywall) &&\n      this.notForcedInactive &&\n      (this.appDoesNotHaveFeature || this.usageLimitReached)\n    );\n  }\n\n  get isFrozenForNonPayment() {\n    return this.app.isFrozenForNonPayment;\n  }\n\n  get appDoesNotHaveFeature() {\n    if (this.isMetricPaywall) {\n      return false;\n    }\n    return !this.app?.canUseFeature(this.args.featureKey);\n  }\n\n  get isInactive() {\n    return !this.isActive;\n  }\n\n  get notForcedInactive() {\n    return !this.args.forceInactive;\n  }\n\n  get canSelfServeUpgrade() {\n    return this.plansWithFeature.any(p => p.selfServe);\n  }\n\n  get featureKey() {\n    return this.args.featureKey;\n  }\n\n  get plansWithMetricUsageAvailable() {\n    return this.plans.filter(\n      plan => this.pricingStrategyFromPlanForMetric(plan)?.maximum > this.featureUsage,\n    );\n  }\n\n  get plansWithFeature() {\n    if (this.isMetricPaywall) {\n      return this.plansWithMetricUsageAvailable;\n    }\n    return this.app.products\n      .map(product =>\n        product.plans.find(plan => plan.features.any(feature => feature.key === this.featureKey)),\n      )\n      .compact();\n  }\n\n  get plan() {\n    return this.plansWithFeature.firstObject;\n  }\n\n  get feature() {\n    if (this.isMetricPaywall) {\n      return { key: 'teammates', name: 'Teammates' };\n    }\n    if (!this.plansWithFeature.length) {\n      return;\n    }\n    return this.plansWithFeature.firstObject.features.find(\n      feature => feature.key === this.featureKey,\n    );\n  }\n\n  get analyticsMetadata() {\n    return this.args.analyticsMetadata || {};\n  }\n\n  get modalIsLoading() {\n    return this.openModalAndSetData.isRunning;\n  }\n\n  get featureUsage() {\n    return this.args.featureUsage || 0;\n  }\n\n  get appIsOnFree() {\n    return this.app.canUseFree;\n  }\n\n  get usageLimitReached() {\n    if (!this.usageLimit || !this.featureUsage) {\n      return false;\n    }\n    return this.featureUsage > this.usageLimit;\n  }\n\n  get isPricedOnSeats() {\n    return (\n      (this.pricingMetric === 'inbox_seats' &&\n        this.app.activePricingMetrics.includes('inbox_seats')) ||\n      (this.pricingMetric === 'latest_daily_admin_count' &&\n        this.app.activePricingMetrics.includes('latest_daily_admin_count'))\n    );\n  }\n\n  get isAnnuallyContracted() {\n    return this.customerService.customer?.isAnnuallyContracted;\n  }\n\n  get contractedUsageLimit() {\n    if (\n      !this.app.canUseFeature('team-people-seat-blocking-opt-out') &&\n      this.app.canUseFeature('team-people-show-seat-cost-change-card') &&\n      this.isPricedOnSeats &&\n      this.isAnnuallyContracted\n    ) {\n      return this.customerService.customer.freeSeatCount;\n    }\n  }\n\n  get usageLimit() {\n    if (this.isMetricPaywall) {\n      // the usage limit in the customer's contract should\n      // always take precence over the limit in the active plan\n      if (this.contractedUsageLimit) {\n        return this.contractedUsageLimit;\n      }\n\n      if (this.activePlansUsageLimit) {\n        return this.activePlansUsageLimit;\n      }\n    }\n\n    if (this.args.usageLimit) {\n      return this.args.usageLimit;\n    }\n\n    // App feature is a feature model, while `this.feature` is a feature-fragment...\n    //  and feature-fragment(s) do not have limits or limited\n    let appFeature = this.app.features.find(feature => feature.id === this.featureKey);\n    if (this.appIsOnFree && appFeature?.limited) {\n      return appFeature.limit;\n    }\n    return null;\n  }\n\n  get disableFeatureHighlighting() {\n    return this.args.disableFeatureHighlighting || false;\n  }\n\n  removePlanIdsFromActivePlans(planIds) {\n    return this.customerService.activePlanIds.filter(planId => {\n      return !planIds.includes(planId);\n    });\n  }\n\n  pricingStrategyFromPlanForMetric(plan) {\n    return plan\n      .get('pricingStrategies')\n      .find(strategy => strategy.pricingMetric === this.pricingMetric);\n  }\n\n  allRequiredPriceCombinations() {\n    let activePlanIds = this.customerService.activePlanIds;\n    let planId = this.plan.idAsNumber;\n    let productPlanIds = this.plan.product.plans.mapBy('idAsNumber');\n    let activePlanIdsWithoutThisProduct = this.removePlanIdsFromActivePlans(productPlanIds);\n    let activePlanIdsWithNewPlanId = [...activePlanIdsWithoutThisProduct, planId];\n\n    let combinations = [activePlanIds, activePlanIdsWithNewPlanId];\n\n    productPlanIds.forEach(planId => combinations.push([planId]));\n    return combinations;\n  }\n\n  async loadPrices() {\n    let combinations = this.allRequiredPriceCombinations();\n    let priceSets = combinations.map(combination => ({ planIds: combination, includeTiers: 35 }));\n\n    await this.customerService.bulkLoadPrices(priceSets);\n  }\n\n  @task *openModalAndSetData() {\n    yield this.customerService.ensureDataIsLoaded.perform();\n\n    if (!this.customerService.customer.hasActiveSubscription) {\n      if (this.app.validEarlyStageApplicant) {\n        return this.paywallService.redirectToPurchase(this.featureKey);\n      }\n      yield this.stripev3.load();\n    }\n\n    if (this.args.useExternalModal) {\n      //Use ExternalModal is neccessary when we can't trust the paywall to\n      //still be rendered on the screen while interacting with the modal.\n\n      this.modalService.openModal('apps/app/modals/change-plan-modal', {\n        planIds: [this.plan.id],\n        featureName: this.featureKey,\n      });\n    } else {\n      this.showUpgradeModal = true;\n    }\n\n    yield this.loadPrices();\n\n    this.customerService.updateData({\n      planIds: [this.plan.id],\n    });\n\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'viewed',\n      context: 'paywall',\n      object: 'change_plan_modal',\n      ...this.analyticsEventData,\n    });\n  }\n\n  @action openUpgradeModal() {\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'clicked',\n      object: 'open_modal_button',\n      context: 'unknown',\n      place: 'paywall',\n      feature: this.featureKey,\n      planId: this.plan?.id,\n      ...this.analyticsMetadata,\n    });\n    this.openModalAndSetData.perform();\n  }\n\n  @action closeUpgradeModal() {\n    this.customerService.resetAll();\n    this.showUpgradeModal = false;\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'clicked',\n      object: 'close_modal',\n      context: 'change_plan_modal',\n      place: 'change_plan_modal',\n      feature: this.featureKey,\n      planId: this.plan?.id,\n      ...this.analyticsMetadata,\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @isActive}}\\n  <span\\n    {{on 'click' (stop-propagation @openUpgradeModal)}}\\n    class='paywall__badge {{if @badgeOnly 'paywall__badge-only' 'paywall__badge-nested u__right'}}'\\n    data-test-paywall-badge\\n    {{did-insert\\n      (purchase-analytics-event\\n        action=\\\"viewed\\\"\\n        context=\\\"unknown\\\"\\n        place=\\\"paywall\\\"\\n        object=(if @badgeOnly 'paywall_badge' 'paywall_block')\\n        metadata=@analyticsEventData\\n      )\\n    }}\\n  >\\n    {{inline-svg \\\"paywall-up-arrow\\\" class='paywall__icon'}}\\n    <strong>Get feature</strong>\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{#if @isActive}}\\n  <span\\n    {{on 'click' (stop-propagation @openUpgradeModal)}}\\n    class='paywall__badge {{if @badgeOnly 'paywall__badge-only' 'paywall__badge-nested u__right'}}'\\n    data-test-paywall-badge\\n    {{did-insert\\n      (purchase-analytics-event\\n        action=\\\"viewed\\\"\\n        context=\\\"unknown\\\"\\n        place=\\\"paywall\\\"\\n        object=(if @badgeOnly 'paywall_badge' 'paywall_block')\\n        metadata=@analyticsEventData\\n      )\\n    }}\\n  >\\n    {{inline-svg \\\"paywall-up-arrow\\\" class='paywall__icon'}}\\n    <strong>Get feature</strong>\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/paywalls/badge.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/paywalls/badge.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @isActive}}\\n  <Pulse::FullWidthBanner\\n    class=\\\"cursor-pointer paywall__banner\\\"\\n    data-test-paywall-banner\\n    data-ghost-test-paywall-banner\\n    {{on 'click' @openUpgradeModal}}\\n    {{did-insert (purchase-analytics-event action=\\\"viewed\\\" context=\\\"unknown\\\" place=\\\"paywall\\\" object=\\\"paywall_banner\\\" metadata=@analyticsEventData)}}\\n  >\\n    {{inline-svg \\\"paywall-up-arrow\\\" class='paywall__icon'}}\\n    {{#if @isFrozenForNonPayment}}\\n      Your access has been restricted due to non-payment of invoices.\\n    {{else if @content}}\\n      {{@content}}\\n    {{else}}\\n      {{yield}}\\n    {{/if}}\\n  </Pulse::FullWidthBanner>\\n{{/if}}\", {\"contents\":\"{{#if @isActive}}\\n  <Pulse::FullWidthBanner\\n    class=\\\"cursor-pointer paywall__banner\\\"\\n    data-test-paywall-banner\\n    data-ghost-test-paywall-banner\\n    {{on 'click' @openUpgradeModal}}\\n    {{did-insert (purchase-analytics-event action=\\\"viewed\\\" context=\\\"unknown\\\" place=\\\"paywall\\\" object=\\\"paywall_banner\\\" metadata=@analyticsEventData)}}\\n  >\\n    {{inline-svg \\\"paywall-up-arrow\\\" class='paywall__icon'}}\\n    {{#if @isFrozenForNonPayment}}\\n      Your access has been restricted due to non-payment of invoices.\\n    {{else if @content}}\\n      {{@content}}\\n    {{else}}\\n      {{yield}}\\n    {{/if}}\\n  </Pulse::FullWidthBanner>\\n{{/if}}\",\"moduleName\":\"embercom/components/paywalls/banner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/paywalls/banner.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @isActive}}\\n  <IcCard\\n    class=\\\"paywall__block\\\"\\n    data-test-paywall-block={{@featureKey}}\\n  >\\n    <Paywalls::Badge\\n      @isActive={{@isActive}}\\n      @openUpgradeModal={{@openUpgradeModal}}\\n    />\\n    {{yield}}\\n  </IcCard>\\n{{else}}\\n  {{yield}}\\n{{/if}}\\n\", {\"contents\":\"{{#if @isActive}}\\n  <IcCard\\n    class=\\\"paywall__block\\\"\\n    data-test-paywall-block={{@featureKey}}\\n  >\\n    <Paywalls::Badge\\n      @isActive={{@isActive}}\\n      @openUpgradeModal={{@openUpgradeModal}}\\n    />\\n    {{yield}}\\n  </IcCard>\\n{{else}}\\n  {{yield}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/paywalls/block.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/paywalls/block.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip\\n  @willHideOverlayOnClick={{false}}\\n  @isDisabled={{not @isActive}}\\n  @isInteractive={{true}}\\n  ...attributes\\n  data-test-paywall-hover={{@isActive}}\\n  as |t|\\n>\\n  <t.opener>\\n    {{yield (hash isActive=@isActive)}}\\n  </t.opener>\\n  <t.content>\\n    <span {{did-insert this.trackEvent}}>\\n      <Paywalls::Private::HoverInner\\n        @planText={{@planText}}\\n        @customFeatureText={{@customFeatureText}}\\n        @feature={{@feature}}\\n        @openUpgradeModal={{@openUpgradeModal}}\\n      />\\n     </span>\\n  </t.content>\\n</IcTooltip>\\n\", {\"contents\":\"<IcTooltip\\n  @willHideOverlayOnClick={{false}}\\n  @isDisabled={{not @isActive}}\\n  @isInteractive={{true}}\\n  ...attributes\\n  data-test-paywall-hover={{@isActive}}\\n  as |t|\\n>\\n  <t.opener>\\n    {{yield (hash isActive=@isActive)}}\\n  </t.opener>\\n  <t.content>\\n    <span {{did-insert this.trackEvent}}>\\n      <Paywalls::Private::HoverInner\\n        @planText={{@planText}}\\n        @customFeatureText={{@customFeatureText}}\\n        @feature={{@feature}}\\n        @openUpgradeModal={{@openUpgradeModal}}\\n      />\\n     </span>\\n  </t.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/paywalls/hover.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/paywalls/hover.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class Hover extends Component {\n  @service purchaseAnalyticsService;\n\n  @action trackEvent() {\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'viewed',\n      context: 'unknown',\n      place: 'paywall',\n      object: 'paywall_hover',\n      ...this.args.analyticsEventData,\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col pl-1 pr-1 pt-2 pb-2\\\" data-test-limit-reached-hover-card ...attributes>\\n  <div class=\\\"flex flex-row mb-4 pb-4 paywalls__limit-reached-hover-card__divider\\\">\\n    <div class=\\\"flex flex-col mr-4\\\">\\n      <span class=\\\"paywalls__limit-reached-hover-card__feature-upgrade-arrow\\\">\\n        {{inline-svg 'paywall-up-arrow-large'}}\\n      </span>\\n    </div>\\n\\n    <div class=\\\"flex flex-col justify-center flex-1\\\">\\n      <Text @styling=\\\"strong\\\">You’ve reached your seat limit.</Text>\\n      <Paragraph @styling=\\\"muted\\\">\\n        To add more, go to billing and consult with your relationship manager.\\n      </Paragraph>\\n    </div>\\n  </div>\\n  <IcButton @label=\\\"Go to billing\\\" @type=\\\"primary\\\" @onClick={{transition-to \\\"apps.app.billing\\\"}} />\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col pl-1 pr-1 pt-2 pb-2\\\" data-test-limit-reached-hover-card ...attributes>\\n  <div class=\\\"flex flex-row mb-4 pb-4 paywalls__limit-reached-hover-card__divider\\\">\\n    <div class=\\\"flex flex-col mr-4\\\">\\n      <span class=\\\"paywalls__limit-reached-hover-card__feature-upgrade-arrow\\\">\\n        {{inline-svg 'paywall-up-arrow-large'}}\\n      </span>\\n    </div>\\n\\n    <div class=\\\"flex flex-col justify-center flex-1\\\">\\n      <Text @styling=\\\"strong\\\">You’ve reached your seat limit.</Text>\\n      <Paragraph @styling=\\\"muted\\\">\\n        To add more, go to billing and consult with your relationship manager.\\n      </Paragraph>\\n    </div>\\n  </div>\\n  <IcButton @label=\\\"Go to billing\\\" @type=\\\"primary\\\" @onClick={{transition-to \\\"apps.app.billing\\\"}} />\\n</div>\\n\",\"moduleName\":\"embercom/components/paywalls/limit-reached-hover-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/paywalls/limit-reached-hover-card.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @isActive}}\\n  <div class=\\\"flex flex-col justify-center items-center flex-1\\\">\\n      <Paywalls::Private::HoverInner\\n        @planText={{@planText}}\\n        @customFeatureText={{@customFeatureText}}\\n        @feature={{@feature}}\\n        @openUpgradeModal={{@openUpgradeModal}}\\n      />\\n  </div>\\n{{else}}\\n  {{yield}}\\n{{/if}}\\n\", {\"contents\":\"{{#if @isActive}}\\n  <div class=\\\"flex flex-col justify-center items-center flex-1\\\">\\n      <Paywalls::Private::HoverInner\\n        @planText={{@planText}}\\n        @customFeatureText={{@customFeatureText}}\\n        @feature={{@feature}}\\n        @openUpgradeModal={{@openUpgradeModal}}\\n      />\\n  </div>\\n{{else}}\\n  {{yield}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/paywalls/mini-splash.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/paywalls/mini-splash.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col paywall__hover__tooltip-content\\\" data-test-paywall-hover-tooltip>\\n  <div class=\\\"flex flex-row gap-2\\\">\\n    <div class=\\\"paywall__hover__icon-container\\\">\\n      {{inline-svg \\\"upgrade-modal-arrow\\\" class='paywall__hover__icon'}}\\n    </div>\\n    <div>\\n      <Paragraph @styling='strong' data-test-paywall-hover-heading>Upgrade to {{@planText}}</Paragraph>\\n      <Text @styling='small'>\\n        {{#if @customFeatureText}}\\n          {{@customFeatureText}}\\n        {{else}}\\n          Get {{lowercase @feature.name}} and more\\n        {{/if}}\\n      </Text>\\n    </div>\\n  </div>\\n  <hr class=\\\"paywall__hover__divider\\\"/>\\n  <IcButton @label=\\\"Get feature\\\" {{on 'click' @openUpgradeModal}} class=\\\"paywall__button\\\" />\\n</div>\\n\\n\", {\"contents\":\"<div class=\\\"flex flex-col paywall__hover__tooltip-content\\\" data-test-paywall-hover-tooltip>\\n  <div class=\\\"flex flex-row gap-2\\\">\\n    <div class=\\\"paywall__hover__icon-container\\\">\\n      {{inline-svg \\\"upgrade-modal-arrow\\\" class='paywall__hover__icon'}}\\n    </div>\\n    <div>\\n      <Paragraph @styling='strong' data-test-paywall-hover-heading>Upgrade to {{@planText}}</Paragraph>\\n      <Text @styling='small'>\\n        {{#if @customFeatureText}}\\n          {{@customFeatureText}}\\n        {{else}}\\n          Get {{lowercase @feature.name}} and more\\n        {{/if}}\\n      </Text>\\n    </div>\\n  </div>\\n  <hr class=\\\"paywall__hover__divider\\\"/>\\n  <IcButton @label=\\\"Get feature\\\" {{on 'click' @openUpgradeModal}} class=\\\"paywall__button\\\" />\\n</div>\\n\\n\",\"moduleName\":\"embercom/components/paywalls/private/hover-inner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/paywalls/private/hover-inner.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @item.noFreeItems }}\\n  <div class=\\\"no-free-items\\\"/>\\n{{/if}}\\n<Paywalls::Block @isActive={{true}} @openUpgradeModal={{@item.openUpgradeModal}} @analyticsEventData={{@item.analyticsEventData}} @featureKey={{@item.paywallFeatureKey}}>\\n  {{#each @item.paywalledItems as |item|}}\\n    <IcDropdownItem @item={{item}} @canBeMarkedAsSelected={{false}} @onClick={{perform this.openUpgradeModal}} @jsBindingClass=\\\"js__paywalled__dropdown__item\\\" data-test-paywalled-select-group-option >\\n      <div class=\\\"flex items-start\\\">\\n        {{#if item.icon}}\\n          <div class=\\\"layout__box u__mr__10\\\">\\n            {{ic-interface-icon item.icon solo=true}}\\n          </div>\\n        {{/if}}\\n        <div class=\\\"flex-auto min-w-0\\\">\\n          <div class=\\\"flex items-start\\\">\\n            <div class=\\\"u__one-truncated-line\\\">{{item.text}}</div>\\n            {{#if item.count}}\\n              <div class=\\\"flex-auto min-w-0 text-gray u__normal-weight u__ml__5\\\">{{item.count}}</div>\\n            {{/if}}\\n          </div>\\n        </div>\\n      </div>\\n    </IcDropdownItem>\\n  {{/each}}\\n\\n</Paywalls::Block>\\n\", {\"contents\":\"{{#if @item.noFreeItems }}\\n  <div class=\\\"no-free-items\\\"/>\\n{{/if}}\\n<Paywalls::Block @isActive={{true}} @openUpgradeModal={{@item.openUpgradeModal}} @analyticsEventData={{@item.analyticsEventData}} @featureKey={{@item.paywallFeatureKey}}>\\n  {{#each @item.paywalledItems as |item|}}\\n    <IcDropdownItem @item={{item}} @canBeMarkedAsSelected={{false}} @onClick={{perform this.openUpgradeModal}} @jsBindingClass=\\\"js__paywalled__dropdown__item\\\" data-test-paywalled-select-group-option >\\n      <div class=\\\"flex items-start\\\">\\n        {{#if item.icon}}\\n          <div class=\\\"layout__box u__mr__10\\\">\\n            {{ic-interface-icon item.icon solo=true}}\\n          </div>\\n        {{/if}}\\n        <div class=\\\"flex-auto min-w-0\\\">\\n          <div class=\\\"flex items-start\\\">\\n            <div class=\\\"u__one-truncated-line\\\">{{item.text}}</div>\\n            {{#if item.count}}\\n              <div class=\\\"flex-auto min-w-0 text-gray u__normal-weight u__ml__5\\\">{{item.count}}</div>\\n            {{/if}}\\n          </div>\\n        </div>\\n      </div>\\n    </IcDropdownItem>\\n  {{/each}}\\n\\n</Paywalls::Block>\\n\",\"moduleName\":\"embercom/components/paywalls/select-group-block.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/paywalls/select-group-block.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class SelectGroupBlock extends Component {\n  @task\n  *openUpgradeModal() {\n    yield this.args.hideDropdownOverlay();\n    yield this.args.item.openUpgradeModal();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  {{on \\\"click\\\" (perform this.openUpgradeModal)}}\\n  class=\\\"px-3 py-1 border-t-2 border-b-2 border-white font-medium text-gray cursor-pointer\\\"\\n  data-test-paywalled-select-item-option\\n>\\n  <div class=\\\"flex\\\">\\n    {{#if @item.icon}}\\n      <div class=\\\"u__mr__10\\\">\\n        {{ic-interface-icon @item.icon solo=true}}\\n      </div>\\n    {{/if}}\\n    <div class=\\\"flex-grow flex justify-between\\\">\\n      <div class=\\\"u__one-truncated-line\\\">{{@item.text}}</div>\\n      <Paywalls::Badge @badgeOnly={{true}} @isActive={{true}} @openUpgradeModal={{perform this.openUpgradeModal}} @analyticsEventData={{@item.paywallAnalyticsEventData}}/>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div\\n  {{on \\\"click\\\" (perform this.openUpgradeModal)}}\\n  class=\\\"px-3 py-1 border-t-2 border-b-2 border-white font-medium text-gray cursor-pointer\\\"\\n  data-test-paywalled-select-item-option\\n>\\n  <div class=\\\"flex\\\">\\n    {{#if @item.icon}}\\n      <div class=\\\"u__mr__10\\\">\\n        {{ic-interface-icon @item.icon solo=true}}\\n      </div>\\n    {{/if}}\\n    <div class=\\\"flex-grow flex justify-between\\\">\\n      <div class=\\\"u__one-truncated-line\\\">{{@item.text}}</div>\\n      <Paywalls::Badge @badgeOnly={{true}} @isActive={{true}} @openUpgradeModal={{perform this.openUpgradeModal}} @analyticsEventData={{@item.paywallAnalyticsEventData}}/>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/paywalls/select-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/paywalls/select-item.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class SelectItem extends Component {\n  @task\n  *openUpgradeModal() {\n    yield this.args.hideDropdownOverlay();\n    yield this.args.item.paywallOpenUpgradeModal();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @isActive}}\\n<div class=\\\"flex flex-row items-center justify-center flex-1 gap-4 m-16\\\" data-test-paywall-splash {{did-insert (purchase-analytics-event action=\\\"viewed\\\" context=\\\"unknown\\\" place=\\\"paywall\\\" object=\\\"paywall_splash\\\" metadata=@analyticsEventData)}}>\\n    <div class=\\\"flex flex-col gap-4 paywall__splash__text\\\">\\n      <Heading @size=\\\"1\\\" data-test-paywall-splash-title>\\n        {{#if @isFrozenForNonPayment}}\\n          Access restricted due to non-payment\\n        {{else}}\\n          {{@title}}\\n        {{/if}}\\n      </Heading>\\n      <div>\\n        <Paragraph>\\n          {{#if @isFrozenForNonPayment}}\\n            Please reach out to <a href='mailto:accountsreceivable@intercom.io'><Text @linkStyling=\\\"inline\\\">accountsreceivable@intercom.io</Text></a> or via the Messenger to arrange a payment and have your service reinstated.\\n          {{else}}\\n            {{@description}}\\n          {{/if}}\\n        </Paragraph>\\n      </div>\\n      <div>\\n        <IcButton @label={{if @isFrozenForNonPayment \\\"Chat with us\\\" \\\"Get feature\\\"}} {{on 'click' @openUpgradeModal}} class=\\\"paywall__button\\\" data-test-paywall-cta />\\n      </div>\\n    </div>\\n    <div class=\\\"flex flex-col \\\">\\n      <img width=\\\"400px\\\" src={{@imgSrc}} alt={{@feature.name}} />\\n    </div>\\n  </div>\\n{{else}}\\n  {{yield}}\\n{{/if}}\\n\", {\"contents\":\"{{#if @isActive}}\\n<div class=\\\"flex flex-row items-center justify-center flex-1 gap-4 m-16\\\" data-test-paywall-splash {{did-insert (purchase-analytics-event action=\\\"viewed\\\" context=\\\"unknown\\\" place=\\\"paywall\\\" object=\\\"paywall_splash\\\" metadata=@analyticsEventData)}}>\\n    <div class=\\\"flex flex-col gap-4 paywall__splash__text\\\">\\n      <Heading @size=\\\"1\\\" data-test-paywall-splash-title>\\n        {{#if @isFrozenForNonPayment}}\\n          Access restricted due to non-payment\\n        {{else}}\\n          {{@title}}\\n        {{/if}}\\n      </Heading>\\n      <div>\\n        <Paragraph>\\n          {{#if @isFrozenForNonPayment}}\\n            Please reach out to <a href='mailto:accountsreceivable@intercom.io'><Text @linkStyling=\\\"inline\\\">accountsreceivable@intercom.io</Text></a> or via the Messenger to arrange a payment and have your service reinstated.\\n          {{else}}\\n            {{@description}}\\n          {{/if}}\\n        </Paragraph>\\n      </div>\\n      <div>\\n        <IcButton @label={{if @isFrozenForNonPayment \\\"Chat with us\\\" \\\"Get feature\\\"}} {{on 'click' @openUpgradeModal}} class=\\\"paywall__button\\\" data-test-paywall-cta />\\n      </div>\\n    </div>\\n    <div class=\\\"flex flex-col \\\">\\n      <img width=\\\"400px\\\" src={{@imgSrc}} alt={{@feature.name}} />\\n    </div>\\n  </div>\\n{{else}}\\n  {{yield}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/paywalls/splash.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/paywalls/splash.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcButton\\n  class=\\\"paywall__button\\\"\\n  @type=\\\"primary-live\\\"\\n  @label={{or @label \\\"Upgrade\\\"}}\\n  @disabled={{false}}\\n  @onClick={{@onClick}}\\n  data-test-upgrade-button\\n/>\", {\"contents\":\"<IcButton\\n  class=\\\"paywall__button\\\"\\n  @type=\\\"primary-live\\\"\\n  @label={{or @label \\\"Upgrade\\\"}}\\n  @disabled={{false}}\\n  @onClick={{@onClick}}\\n  data-test-upgrade-button\\n/>\",\"moduleName\":\"embercom/components/paywalls/upgrade-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/paywalls/upgrade-button.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row paywalls__upgrade-card p-6 mb-4\\\" ...attributes>\\n\\n  <div class=\\\"flex flex-col\\\">\\n    <span class=\\\"paywalls__upgrade-card__feature-upgrade-icon mr-4\\\">\\n      <span class=\\\"paywalls__upgrade-card__feature-upgrade-arrow\\\">\\n        {{inline-svg 'paywall-up-arrow-large'}}\\n      </span>\\n    </span>\\n  </div>\\n\\n  <div class=\\\"flex flex-col justify-center flex-1\\\">\\n    {{yield}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row paywalls__upgrade-card p-6 mb-4\\\" ...attributes>\\n\\n  <div class=\\\"flex flex-col\\\">\\n    <span class=\\\"paywalls__upgrade-card__feature-upgrade-icon mr-4\\\">\\n      <span class=\\\"paywalls__upgrade-card__feature-upgrade-arrow\\\">\\n        {{inline-svg 'paywall-up-arrow-large'}}\\n      </span>\\n    </span>\\n  </div>\\n\\n  <div class=\\\"flex flex-col justify-center flex-1\\\">\\n    {{yield}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/paywalls/upgrade-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/paywalls/upgrade-card.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- documentation for using the paywall system: https://stackoverflow.com/c/intercom/questions/908 --}}\\n<IcModal\\n  @onModalClose={{@closeUpgradeModal}}\\n  @isOpen={{@showUpgradeModal}}\\n  @width=\\\"xl\\\"\\n  @neverRenderInPlace={{true}}\\n  data-test-upgrade-modal as |modal|\\n>\\n  {{#if @isLoading}}\\n    <IcCard class=\\\"paywalls__upgrade-modal__loading-indicator\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\" class=\\\"u__center-item\\\" />\\n    </IcCard>\\n  {{else}}\\n    <modal.body @fullBleed={{true}}>\\n      <Paywalls::UpgradeModal::Content\\n        @closeUpgradeModal={{@closeUpgradeModal}}\\n        @plan={{@plan}}\\n        @feature={{@feature}}\\n        @disableFeatureHighlighting={{@disableFeatureHighlighting}}\\n      />\\n    </modal.body>\\n  {{/if}}\\n</IcModal>\\n\", {\"contents\":\"{{!-- documentation for using the paywall system: https://stackoverflow.com/c/intercom/questions/908 --}}\\n<IcModal\\n  @onModalClose={{@closeUpgradeModal}}\\n  @isOpen={{@showUpgradeModal}}\\n  @width=\\\"xl\\\"\\n  @neverRenderInPlace={{true}}\\n  data-test-upgrade-modal as |modal|\\n>\\n  {{#if @isLoading}}\\n    <IcCard class=\\\"paywalls__upgrade-modal__loading-indicator\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\" class=\\\"u__center-item\\\" />\\n    </IcCard>\\n  {{else}}\\n    <modal.body @fullBleed={{true}}>\\n      <Paywalls::UpgradeModal::Content\\n        @closeUpgradeModal={{@closeUpgradeModal}}\\n        @plan={{@plan}}\\n        @feature={{@feature}}\\n        @disableFeatureHighlighting={{@disableFeatureHighlighting}}\\n      />\\n    </modal.body>\\n  {{/if}}\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/paywalls/upgrade-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/paywalls/upgrade-modal.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row\\\">\\n  <div class=\\\"flex flex-col flex-1 gap-6 paywalls__upgrade-modal__content\\\">\\n    <div class=\\\"flex flex-col\\\" data-test-upgrade-modal-header>\\n      <div class=\\\"flex flex-row gap-4\\\">\\n        <div class=\\\"paywalls__upgrade-modal__icon-container\\\">{{inline-svg \\\"upgrade-modal-arrow\\\" class=\\\"paywalls__upgrade-modal__icon\\\"}}</div>\\n        <div class=\\\"paywalls__upgrade-modal__header-title\\\">\\n          <Heading data-test-upgrade-modal-heading @size=\\\"1\\\">\\n            Upgrade to {{this.fakePlan.nameWithProduct}}\\n          </Heading>\\n          {{#if (gt this.fakePlan.price.amount 0)}}\\n            <Heading @size=\\\"2\\\" as |H|>\\n              <H.Muted>\\n                {{if this.fakeProduct.addon 'Add-on, '}}from {{this.fakePlan.price.formattedStartingPrice}}/mo\\n              </H.Muted>\\n            </Heading>\\n          {{/if}}\\n        </div>\\n      </div>\\n      <span class=\\\"paywalls__upgrade-modal__header-horizontal-rule\\\"></span>\\n    </div>\\n    <div class=\\\"flex flex-col gap-8\\\" data-test-upgrade-modal-body>\\n      {{#if this.modalInfo}}\\n        <IcContent>\\n          <Heading @size=\\\"3\\\">{{this.modalInfo.description}}</Heading>\\n          <div class=\\\"flex flex-col paywalls__upgrade-modal__highlight-grid\\\">\\n            {{#each this.modalInfo.benefits as |highlight|}}\\n              <Paywalls::UpgradeModal::Highlight @highlight={{highlight}} @showIcon={{this.shouldShowBenefitIcons}} />\\n            {{/each}}\\n          </div>\\n        </IcContent>\\n      {{/if}}\\n      {{#unless this.modalInfo.hideFeatures}}\\n        <IcContent>\\n          <Heading @size=\\\"3\\\">\\n            Everything you {{if this.fakeProduct.adding 'add' 'get with the upgrade'}}\\n          </Heading>\\n          <ul class=\\\"paywalls__upgrade-modal__feature-list\\\">\\n            {{#each this.planFeatures as |feature|}}\\n              {{#if feature.name}}\\n                <li class=\\\"paywalls__upgrade-modal__feature {{if (and this.shouldHighlightFeatureInFeatureList (eq feature.key this.featureKey)) \\\"o__highlighted\\\"}}\\\" data-test-upgrade-modal-feature>\\n                  {{feature.name}}\\n                </li>\\n              {{/if}}\\n            {{/each}}\\n          </ul>\\n        </IcContent>\\n      {{/unless}}\\n      {{#if this.productVideo}}\\n        <IcContent>\\n          <iframe\\n            class=\\\"u__mt__20\\\"\\n            src=\\\"https://fast.wistia.net/embed/iframe/{{this.productVideo}}?autoPlay=false\\\"\\n            width=\\\"100%\\\"\\n            height=\\\"395px\\\"\\n          ></iframe>\\n        </IcContent>\\n      {{/if}}\\n    </div>\\n  </div>\\n  <Paywalls::UpgradeModal::Sidebar\\n    @hasBillingPermission={{this.hasBillingPermission}}\\n    @closeUpgradeModal={{@closeUpgradeModal}}\\n    @fakePlan={{this.fakePlan}}\\n    @planPrice={{this.planPrice}}\\n    @feature={{@feature}}\\n    @showPricingLink={{true}}\\n  />\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row\\\">\\n  <div class=\\\"flex flex-col flex-1 gap-6 paywalls__upgrade-modal__content\\\">\\n    <div class=\\\"flex flex-col\\\" data-test-upgrade-modal-header>\\n      <div class=\\\"flex flex-row gap-4\\\">\\n        <div class=\\\"paywalls__upgrade-modal__icon-container\\\">{{inline-svg \\\"upgrade-modal-arrow\\\" class=\\\"paywalls__upgrade-modal__icon\\\"}}</div>\\n        <div class=\\\"paywalls__upgrade-modal__header-title\\\">\\n          <Heading data-test-upgrade-modal-heading @size=\\\"1\\\">\\n            Upgrade to {{this.fakePlan.nameWithProduct}}\\n          </Heading>\\n          {{#if (gt this.fakePlan.price.amount 0)}}\\n            <Heading @size=\\\"2\\\" as |H|>\\n              <H.Muted>\\n                {{if this.fakeProduct.addon 'Add-on, '}}from {{this.fakePlan.price.formattedStartingPrice}}/mo\\n              </H.Muted>\\n            </Heading>\\n          {{/if}}\\n        </div>\\n      </div>\\n      <span class=\\\"paywalls__upgrade-modal__header-horizontal-rule\\\"></span>\\n    </div>\\n    <div class=\\\"flex flex-col gap-8\\\" data-test-upgrade-modal-body>\\n      {{#if this.modalInfo}}\\n        <IcContent>\\n          <Heading @size=\\\"3\\\">{{this.modalInfo.description}}</Heading>\\n          <div class=\\\"flex flex-col paywalls__upgrade-modal__highlight-grid\\\">\\n            {{#each this.modalInfo.benefits as |highlight|}}\\n              <Paywalls::UpgradeModal::Highlight @highlight={{highlight}} @showIcon={{this.shouldShowBenefitIcons}} />\\n            {{/each}}\\n          </div>\\n        </IcContent>\\n      {{/if}}\\n      {{#unless this.modalInfo.hideFeatures}}\\n        <IcContent>\\n          <Heading @size=\\\"3\\\">\\n            Everything you {{if this.fakeProduct.adding 'add' 'get with the upgrade'}}\\n          </Heading>\\n          <ul class=\\\"paywalls__upgrade-modal__feature-list\\\">\\n            {{#each this.planFeatures as |feature|}}\\n              {{#if feature.name}}\\n                <li class=\\\"paywalls__upgrade-modal__feature {{if (and this.shouldHighlightFeatureInFeatureList (eq feature.key this.featureKey)) \\\"o__highlighted\\\"}}\\\" data-test-upgrade-modal-feature>\\n                  {{feature.name}}\\n                </li>\\n              {{/if}}\\n            {{/each}}\\n          </ul>\\n        </IcContent>\\n      {{/unless}}\\n      {{#if this.productVideo}}\\n        <IcContent>\\n          <iframe\\n            class=\\\"u__mt__20\\\"\\n            src=\\\"https://fast.wistia.net/embed/iframe/{{this.productVideo}}?autoPlay=false\\\"\\n            width=\\\"100%\\\"\\n            height=\\\"395px\\\"\\n          ></iframe>\\n        </IcContent>\\n      {{/if}}\\n    </div>\\n  </div>\\n  <Paywalls::UpgradeModal::Sidebar\\n    @hasBillingPermission={{this.hasBillingPermission}}\\n    @closeUpgradeModal={{@closeUpgradeModal}}\\n    @fakePlan={{this.fakePlan}}\\n    @planPrice={{this.planPrice}}\\n    @feature={{@feature}}\\n    @showPricingLink={{true}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/paywalls/upgrade-modal/content.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/paywalls/upgrade-modal/content.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport {\n  MODAL_FEATURE_INFO,\n  MODAL_ADD_PLAN_INFO,\n  MODAL_UPGRADE_PLAN_INFO,\n} from 'embercom/lib/billing';\n\nexport default class UpgradeModal extends Component {\n  @service appService;\n  @service customerService;\n  @service permissionsService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get planPrice() {\n    return this.customerService.getPriceFromPlanIds([this.args.plan.idAsNumber]);\n  }\n\n  // Fake plan and product are object proxies used to manipulate plans for billing changes\n  // and not affect the actual app\n  get fakePlan() {\n    return this.customerService.plans.find(plan => plan.id === this.args.plan.id);\n  }\n\n  get fakeProduct() {\n    return this.customerService.products.find(product => product.id === this.args.plan.product.id);\n  }\n\n  get productVideo() {\n    return this.modalInfo?.productVideo;\n  }\n\n  get featureKey() {\n    return this.args.feature.key || this.args.feature;\n  }\n\n  get hasBillingPermission() {\n    return this.permissionsService.currentAdminCan('can_access_billing_settings');\n  }\n\n  get shouldShowFeatureHighlights() {\n    return this.featureKey in MODAL_FEATURE_INFO;\n  }\n\n  get shouldHighlightFeatureInFeatureList() {\n    return !this.shouldShowFeatureHighlights && !this.args.disableFeatureHighlighting;\n  }\n\n  get planFeatures() {\n    let allFeatures = this.args.plan.features.uniqBy('name');\n\n    if (this.app.canUseFeature('series-paywall-feature-list-enabled')) {\n      allFeatures = allFeatures.reject(feature => feature.key === 'smart_campaigns');\n    } else {\n      allFeatures = allFeatures.reject(feature => feature.key === 'series');\n    }\n\n    return allFeatures;\n  }\n\n  get modalInfo() {\n    if (this.shouldShowFeatureHighlights) {\n      return MODAL_FEATURE_INFO[this.featureKey];\n    }\n    return this.fakeProduct.upgrading\n      ? MODAL_UPGRADE_PLAN_INFO[this.args.plan.id]\n      : MODAL_ADD_PLAN_INFO[this.args.plan.id];\n  }\n\n  get shouldShowBenefitIcons() {\n    // Every benefit should have an icon present.\n    return this.modalInfo?.benefits.every(benefit => benefit.icon);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row\\\" data-test-upgrade-modal-highlight>\\n  {{#if @showIcon}}\\n    {{#if @highlight.hasIcIllustrativeIcon}}\\n      <IcIllustrativeIcon @name={{@highlight.icon}} class=\\\"mr-4\\\"/>\\n    {{else}}\\n      {{inline-svg\\n        @highlight.icon\\n        class=\\\"paywalls__upgrade-modal__highlight-icon-svg mr-4\\\"\\n      }}\\n    {{/if}}\\n  {{/if}}\\n  <IcContent>\\n    <Heading @size=\\\"4\\\">{{@highlight.title}}</Heading>\\n    <Paragraph>{{@highlight.description}}</Paragraph>\\n  </IcContent>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row\\\" data-test-upgrade-modal-highlight>\\n  {{#if @showIcon}}\\n    {{#if @highlight.hasIcIllustrativeIcon}}\\n      <IcIllustrativeIcon @name={{@highlight.icon}} class=\\\"mr-4\\\"/>\\n    {{else}}\\n      {{inline-svg\\n        @highlight.icon\\n        class=\\\"paywalls__upgrade-modal__highlight-icon-svg mr-4\\\"\\n      }}\\n    {{/if}}\\n  {{/if}}\\n  <IcContent>\\n    <Heading @size=\\\"4\\\">{{@highlight.title}}</Heading>\\n    <Paragraph>{{@highlight.description}}</Paragraph>\\n  </IcContent>\\n</div>\\n\",\"moduleName\":\"embercom/components/paywalls/upgrade-modal/highlight.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/paywalls/upgrade-modal/highlight.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.showBreakdown}}\\n  <IcTooltipIcon\\n    @isInteractive={{true}}\\n    class=\\\"change-plan-modal__breakdown-icon ml-1\\\"\\n  >\\n    {{#if this.fixedPricing}}\\n      <div class=\\\"layout__box o__has-rows o__flexes-to-1 signup__teams__pricing-table__pricing-wrapper\\\">\\n        <Text>{{@productName}} has fixed pricing.</Text>\\n      </div>\\n    {{else}}\\n      <div class=\\\"flex flex-col p-2\\\">\\n        <ChangePlanModal::PriceBreakdownDisplay @sections={{this.tooltipData}} />\\n      </div>\\n    {{/if}}\\n  </IcTooltipIcon>\\n{{/if}}\\n\", {\"contents\":\"{{#if this.showBreakdown}}\\n  <IcTooltipIcon\\n    @isInteractive={{true}}\\n    class=\\\"change-plan-modal__breakdown-icon ml-1\\\"\\n  >\\n    {{#if this.fixedPricing}}\\n      <div class=\\\"layout__box o__has-rows o__flexes-to-1 signup__teams__pricing-table__pricing-wrapper\\\">\\n        <Text>{{@productName}} has fixed pricing.</Text>\\n      </div>\\n    {{else}}\\n      <div class=\\\"flex flex-col p-2\\\">\\n        <ChangePlanModal::PriceBreakdownDisplay @sections={{this.tooltipData}} />\\n      </div>\\n    {{/if}}\\n  </IcTooltipIcon>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/paywalls/upgrade-modal/price-breakdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/paywalls/upgrade-modal/price-breakdown.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport PricingMetric from 'embercom/lib/purchase/pricing-metric';\nimport numericFormatter from 'embercom/lib/numeric-formatter';\n\nexport default class PriceBreakdown extends Component {\n  @service appService;\n  @service customerService;\n\n  get showBreakdown() {\n    let canModifyPlan = this.customerService.customer.canModifyOrRemoveProducts;\n    let isNotEarlyStage = !this.earlyStageCustomer;\n    return canModifyPlan && isNotEarlyStage && this.args.price;\n  }\n\n  get price() {\n    return this.args.price;\n  }\n\n  get breakdown() {\n    return this.price.breakdown.firstObject;\n  }\n\n  get productName() {\n    return this.breakdown?.name;\n  }\n\n  get fixedPricing() {\n    return (\n      this.args.price?.breakdown?.firstObject?.charges?.firstObject?.pricing_metric === 'fixed'\n    );\n  }\n\n  get tooltipData() {\n    let price = this.args.price;\n    let breakdown = price?.breakdown?.firstObject;\n    let charge = breakdown?.charges?.firstObject;\n    let baseCharge = price?.breakdown.find(({ plan_id }) =>\n      ['base_lite', 'base_standard'].includes(plan_id),\n    );\n\n    if (charge && charge.pricing_metric !== 'fixed') {\n      let rowSummaries = new PricingMetric(charge).tooltipSummary;\n      return [\n        {\n          label: this.productName,\n          metrics: [\n            {\n              label: 'Plan starting price',\n              value: `$${numericFormatter(breakdown.plan_starting_price / 100, 2, true)}`,\n            },\n            ...rowSummaries,\n            {\n              label: 'Base charge',\n              value: `$${numericFormatter(baseCharge?.amount / 100, 2, true)}`,\n              include: !baseCharge,\n            },\n            { label: 'Total price', value: price.formattedPreDiscountAmount },\n          ].filter(({ value }) => value !== '$0.00'),\n        },\n      ];\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col paywalls__upgrade-modal__sidebar\\\" data-test-upgrade-modal-sidebar>\\n  {{#if @fakePlan}}\\n    {{#if @hasBillingPermission}}\\n      <div class=\\\"flex flex-col justify-between flex-1\\\" data-test-upgrade-modal-subscription-change>\\n        <Paywalls::UpgradeModal::SubscriptionUpgrade\\n          @postTask={{@closeUpgradeModal}}\\n          @plan={{@fakePlan}}\\n          @newPlanPrice={{@planPrice}}\\n          @feature={{@feature}}\\n          @teammateLimitReached={{@teammateLimitReached}}\\n        />\\n      {{#if @showPricingLink}}\\n        <a href=\\\"https://www.intercom.com/pricing\\\"\\n          {{on \\\"click\\\" (track-analytics-event action=\\\"clicked\\\" object=\\\"compare_all_plans_link\\\" context=\\\"change_plan_modal\\\")}}\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n          data-test-upgrade-modal-compare-all-plans-link\\n        >\\n          <Text @linkStyling=\\\"inline\\\" @styling='muted'>Compare all plans</Text>\\n        </a>\\n      {{else if this.upgradeModalPlan}}\\n        <a {{on 'click' (toggle 'showEditPlanModal' this)}}>\\n          <Text @linkStyling=\\\"inline\\\" @styling='muted'>Compare all plans</Text>\\n        </a>\\n        {{#if this.showEditPlanModal}}\\n          <Billing::EditPlanModal\\n            @closeEditPlanModal={{toggle 'showEditPlanModal' this}}\\n          />\\n        {{/if}}\\n      {{/if}}\\n      </div>\\n    {{else}}\\n      <IcContent data-test-upgrade-modal-request-upgrade>\\n        <Heading @size=\\\"3\\\" class=\\\"mb-2\\\">Recommend this upgrade</Heading>\\n        <Paragraph>Share this link with a colleague who has permissions to change your plan.</Paragraph>\\n        <Form as |form|>\\n          <form.Item as |item|>\\n            <item.Input @disabled={{true}} @value={{this.url}} @placeholder={{this.url}} />\\n          </form.Item>\\n        </Form>\\n        <a class=\\\"btn__tertiary invite-link-copy\\\"\\n          {{copy-to-clipboard\\n            text=this.url\\n          }}\\n        >\\n          {{ic-interface-icon 'link'}} Copy link\\n        </a>\\n        {{#each (service 'appService.app.adminsWithBillingPermissions') as |admin|}}\\n          <div class=\\\"flex flex-row gap-4\\\">\\n            <IcAvatarComponent @model={{admin}} @size=\\\"s\\\"/>\\n            <Text>{{admin.name}}</Text>\\n          </div>\\n        {{/each}}\\n      </IcContent>\\n    {{/if}}\\n  {{else}}\\n    <Text @styling='muted'>Make an edit to your subscription on the left to see pricing change.</Text>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col paywalls__upgrade-modal__sidebar\\\" data-test-upgrade-modal-sidebar>\\n  {{#if @fakePlan}}\\n    {{#if @hasBillingPermission}}\\n      <div class=\\\"flex flex-col justify-between flex-1\\\" data-test-upgrade-modal-subscription-change>\\n        <Paywalls::UpgradeModal::SubscriptionUpgrade\\n          @postTask={{@closeUpgradeModal}}\\n          @plan={{@fakePlan}}\\n          @newPlanPrice={{@planPrice}}\\n          @feature={{@feature}}\\n          @teammateLimitReached={{@teammateLimitReached}}\\n        />\\n      {{#if @showPricingLink}}\\n        <a href=\\\"https://www.intercom.com/pricing\\\"\\n          {{on \\\"click\\\" (track-analytics-event action=\\\"clicked\\\" object=\\\"compare_all_plans_link\\\" context=\\\"change_plan_modal\\\")}}\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n          data-test-upgrade-modal-compare-all-plans-link\\n        >\\n          <Text @linkStyling=\\\"inline\\\" @styling='muted'>Compare all plans</Text>\\n        </a>\\n      {{else if this.upgradeModalPlan}}\\n        <a {{on 'click' (toggle 'showEditPlanModal' this)}}>\\n          <Text @linkStyling=\\\"inline\\\" @styling='muted'>Compare all plans</Text>\\n        </a>\\n        {{#if this.showEditPlanModal}}\\n          <Billing::EditPlanModal\\n            @closeEditPlanModal={{toggle 'showEditPlanModal' this}}\\n          />\\n        {{/if}}\\n      {{/if}}\\n      </div>\\n    {{else}}\\n      <IcContent data-test-upgrade-modal-request-upgrade>\\n        <Heading @size=\\\"3\\\" class=\\\"mb-2\\\">Recommend this upgrade</Heading>\\n        <Paragraph>Share this link with a colleague who has permissions to change your plan.</Paragraph>\\n        <Form as |form|>\\n          <form.Item as |item|>\\n            <item.Input @disabled={{true}} @value={{this.url}} @placeholder={{this.url}} />\\n          </form.Item>\\n        </Form>\\n        <a class=\\\"btn__tertiary invite-link-copy\\\"\\n          {{copy-to-clipboard\\n            text=this.url\\n          }}\\n        >\\n          {{ic-interface-icon 'link'}} Copy link\\n        </a>\\n        {{#each (service 'appService.app.adminsWithBillingPermissions') as |admin|}}\\n          <div class=\\\"flex flex-row gap-4\\\">\\n            <IcAvatarComponent @model={{admin}} @size=\\\"s\\\"/>\\n            <Text>{{admin.name}}</Text>\\n          </div>\\n        {{/each}}\\n      </IcContent>\\n    {{/if}}\\n  {{else}}\\n    <Text @styling='muted'>Make an edit to your subscription on the left to see pricing change.</Text>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/paywalls/upgrade-modal/sidebar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/paywalls/upgrade-modal/sidebar.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\n\nexport default class Sidebar extends Component {\n  @tracked showEditPlanModal = false;\n  @service notificationsService;\n  @service appService;\n\n  get upgradeModalPlan() {\n    return !this.args.showPricingLink && !this.args.fakePlan.product.addon;\n  }\n\n  get url() {\n    let featureKey = this.args.feature?.key;\n    let url = `${window.location.protocol}//${window.location.host}/a/apps/${this.appService.app.id}/billing`;\n    if (featureKey) {\n      return `${url}?feature=${this.args.feature.key}`;\n    }\n    return url;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col flex-1 gap-2\\\">\\n  {{#unless this.appFrozenForNonPayment}}\\n    {{#each this.priceRows as |priceRowData|}}\\n      <div class=\\\"flex flex-row {{priceRowData.class}} {{if priceRowData.hideBreakdown 'mr-6'}}\\\">\\n        <Text>{{priceRowData.label}}</Text>\\n        <div class=\\\"flex flex-col flex-1\\\">\\n          {{#unless priceRowData.hidePrice}}\\n            <Text class=\\\"change-plan-modal__price\\\">\\n              {{priceRowData.formattedPrice}}\\n              {{#if this.app.hasValueBasedPricing}}\\n                <ChangePlanModal::PricingTooltipCore\\n                  @price={{priceRowData.price}}\\n                  @product={{this.product}}\\n                  @label={{priceRowData.breakdownLabel}}\\n                  @hideBreakdown={{priceRowData.hideBreakdown}}\\n                />\\n              {{else if (not priceRowData.hideBreakdown)}}\\n                <Paywalls::UpgradeModal::PriceBreakdown @price={{priceRowData.price}} />\\n              {{/if}}\\n            </Text>\\n          {{/unless}}\\n        </div>\\n      </div>\\n    {{/each}}\\n\\n    {{#if this.showCreditCardForm}}\\n      <div class=\\\"text-gray u__mb__05 u__mt__10\\\">\\n        Credit card information\\n      </div>\\n      <Billing::StripeCardComponent\\n        @cardError={{this.cardError}}\\n        @stripeElement={{this.stripeElement}}\\n        class=\\\"u__mb__15\\\"\\n      />\\n      <ChangePlanModal::FormFieldComponent\\n        @label=\\\"Card location\\\"\\n        @error={{this.billingAddressErrors.countryCode}}\\n      >\\n        <Signup::CountrySelectComponent\\n          @countryCodeError={{this.billingAddressErrors.countryCode}}\\n          @onSelect={{action \\\"onCountrySelected\\\"}}\\n          @classesForSelect=\\\"signup__new__form__input__select change-plan-modal__cta__select\\\"\\n        />\\n      </ChangePlanModal::FormFieldComponent>\\n\\n      <ChangePlanModal::FormFieldComponent @label=\\\"Street address\\\" @error={{this.billingAddressErrors.streetAddress}} @for=\\\"streetAddress\\\">\\n        <Input @value={{this.billingAddress.streetAddress}} placeholder=\\\"Enter your street address\\\"\\n          class=\\\"change-plan-modal__cta__form\\\" data-test-input=\\\"streetAddress\\\" name=\\\"streetAddress\\\" maxlength={{this.addressConfiguration.maxLengths.streetAddress}}\\n        />\\n      </ChangePlanModal::FormFieldComponent>\\n      <ChangePlanModal::FormFieldComponent @label=\\\"City\\\" @error={{this.billingAddressErrors.city}} @for=\\\"city\\\">\\n        <Input @value={{this.billingAddress.city}} placeholder=\\\"Enter your city\\\"\\n          class=\\\"change-plan-modal__cta__form\\\" data-test-input=\\\"city\\\" name=\\\"city\\\" maxlength={{this.addressConfiguration.maxLengths.city}}\\n        />\\n      </ChangePlanModal::FormFieldComponent>\\n\\n      {{#if this.addressConfiguration.showState}}\\n        <ChangePlanModal::FormFieldComponent\\n          @label={{this.addressConfiguration.stateLabel}}\\n          @error={{this.billingAddressErrors.stateCode}}\\n        >\\n          <Signup::StateSelectComponent\\n            @countryCode={{this.billingAddress.countryCode}}\\n            @state={{this.billingAddress.stateCode}}\\n            @stateCodeError={{this.billingAddressErrors.stateCode}}\\n            @onSelect={{action \\\"onStateSelected\\\"}}\\n            @classesForSelect=\\\"signup__new__form__input__select change-plan-modal__cta__select\\\"\\n          />\\n        </ChangePlanModal::FormFieldComponent>\\n      {{/if}}\\n\\n      <ChangePlanModal::FormFieldComponent\\n        @label={{this.addressConfiguration.postCodeLabel}}\\n        @error={{this.billingAddressErrors.postcode}}\\n        @for=\\\"postcode\\\"\\n      >\\n        <Input @value={{this.billingAddress.postcode}} placeholder=\\\"00000\\\"\\n          class=\\\"flex w-full change-plan-modal__cta__select\\\" data-test-input=\\\"postcode\\\" name=\\\"postcode\\\" maxlength={{this.addressConfiguration.maxLengths.postcode}}\\n        />\\n      </ChangePlanModal::FormFieldComponent>\\n    {{/if}}\\n  {{/unless}}\\n  <Text @styling=\\\"small\\\" data-test-upgrade-description-text={{true}}>\\n    {{this.descriptionText}}\\n  </Text>\\n  <IcButton\\n    @label={{if\\n      this.sendNewOrUpdateSubscriptionTask.isRunning\\n      \\\"Processing\\\"\\n      this.buttonText\\n    }}\\n    @type=\\\"primary-live\\\"\\n    @disabled={{this.sendNewOrUpdateSubscriptionTask.isRunning}}\\n    @onClick={{action this.buttonAction}}\\n    @fit={{true}}\\n    @class=\\\"paywall__button\\\"\\n    {{auto-focus-element}}\\n    class=\\\"mt-2\\\"\\n    data-test-subscription-upgrade-action-button={{true}}\\n  />\\n  {{#if this.showNewSubscriptionLegalText}}\\n    <Text @styling=\\\"small\\\">\\n      By clicking \\\"{{this.buttonText}}\\\" you agree to Intercom’s <a\\n        target=\\\"_blank\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n        href=\\\"https://www.intercom.com/terms-and-policies#terms\\\"\\n      >\\n        Terms of Service\\n      </a>\\n      and <a\\n        target=\\\"_blank\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n        href=\\\"https://www.intercom.com/terms-and-policies#privacy\\\"\\n      >\\n        Privacy Policy.\\n      </a>\\n      After your free trial, your credit card will be charged monthly &amp; your fees may vary based on how we bill.\\n    </Text>\\n  {{else if this.showTrialWithActiveSubscriptionText}}\\n    <ul class=\\\"u__mt__0 pl-6\\\">\\n      <li class=\\\"change-plan-modal__cta__li\\\">\\n        <Text @styling=\\\"muted\\\">You won't be charged until {{this.date14DaysFromToday}}.</Text>\\n      </li>\\n    </ul>\\n  {{/if}}\\n</div>\\n<div id=\\\"confirm-subscription-payment-button-id\\\"></div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col flex-1 gap-2\\\">\\n  {{#unless this.appFrozenForNonPayment}}\\n    {{#each this.priceRows as |priceRowData|}}\\n      <div class=\\\"flex flex-row {{priceRowData.class}} {{if priceRowData.hideBreakdown 'mr-6'}}\\\">\\n        <Text>{{priceRowData.label}}</Text>\\n        <div class=\\\"flex flex-col flex-1\\\">\\n          {{#unless priceRowData.hidePrice}}\\n            <Text class=\\\"change-plan-modal__price\\\">\\n              {{priceRowData.formattedPrice}}\\n              {{#if this.app.hasValueBasedPricing}}\\n                <ChangePlanModal::PricingTooltipCore\\n                  @price={{priceRowData.price}}\\n                  @product={{this.product}}\\n                  @label={{priceRowData.breakdownLabel}}\\n                  @hideBreakdown={{priceRowData.hideBreakdown}}\\n                />\\n              {{else if (not priceRowData.hideBreakdown)}}\\n                <Paywalls::UpgradeModal::PriceBreakdown @price={{priceRowData.price}} />\\n              {{/if}}\\n            </Text>\\n          {{/unless}}\\n        </div>\\n      </div>\\n    {{/each}}\\n\\n    {{#if this.showCreditCardForm}}\\n      <div class=\\\"text-gray u__mb__05 u__mt__10\\\">\\n        Credit card information\\n      </div>\\n      <Billing::StripeCardComponent\\n        @cardError={{this.cardError}}\\n        @stripeElement={{this.stripeElement}}\\n        class=\\\"u__mb__15\\\"\\n      />\\n      <ChangePlanModal::FormFieldComponent\\n        @label=\\\"Card location\\\"\\n        @error={{this.billingAddressErrors.countryCode}}\\n      >\\n        <Signup::CountrySelectComponent\\n          @countryCodeError={{this.billingAddressErrors.countryCode}}\\n          @onSelect={{action \\\"onCountrySelected\\\"}}\\n          @classesForSelect=\\\"signup__new__form__input__select change-plan-modal__cta__select\\\"\\n        />\\n      </ChangePlanModal::FormFieldComponent>\\n\\n      <ChangePlanModal::FormFieldComponent @label=\\\"Street address\\\" @error={{this.billingAddressErrors.streetAddress}} @for=\\\"streetAddress\\\">\\n        <Input @value={{this.billingAddress.streetAddress}} placeholder=\\\"Enter your street address\\\"\\n          class=\\\"change-plan-modal__cta__form\\\" data-test-input=\\\"streetAddress\\\" name=\\\"streetAddress\\\" maxlength={{this.addressConfiguration.maxLengths.streetAddress}}\\n        />\\n      </ChangePlanModal::FormFieldComponent>\\n      <ChangePlanModal::FormFieldComponent @label=\\\"City\\\" @error={{this.billingAddressErrors.city}} @for=\\\"city\\\">\\n        <Input @value={{this.billingAddress.city}} placeholder=\\\"Enter your city\\\"\\n          class=\\\"change-plan-modal__cta__form\\\" data-test-input=\\\"city\\\" name=\\\"city\\\" maxlength={{this.addressConfiguration.maxLengths.city}}\\n        />\\n      </ChangePlanModal::FormFieldComponent>\\n\\n      {{#if this.addressConfiguration.showState}}\\n        <ChangePlanModal::FormFieldComponent\\n          @label={{this.addressConfiguration.stateLabel}}\\n          @error={{this.billingAddressErrors.stateCode}}\\n        >\\n          <Signup::StateSelectComponent\\n            @countryCode={{this.billingAddress.countryCode}}\\n            @state={{this.billingAddress.stateCode}}\\n            @stateCodeError={{this.billingAddressErrors.stateCode}}\\n            @onSelect={{action \\\"onStateSelected\\\"}}\\n            @classesForSelect=\\\"signup__new__form__input__select change-plan-modal__cta__select\\\"\\n          />\\n        </ChangePlanModal::FormFieldComponent>\\n      {{/if}}\\n\\n      <ChangePlanModal::FormFieldComponent\\n        @label={{this.addressConfiguration.postCodeLabel}}\\n        @error={{this.billingAddressErrors.postcode}}\\n        @for=\\\"postcode\\\"\\n      >\\n        <Input @value={{this.billingAddress.postcode}} placeholder=\\\"00000\\\"\\n          class=\\\"flex w-full change-plan-modal__cta__select\\\" data-test-input=\\\"postcode\\\" name=\\\"postcode\\\" maxlength={{this.addressConfiguration.maxLengths.postcode}}\\n        />\\n      </ChangePlanModal::FormFieldComponent>\\n    {{/if}}\\n  {{/unless}}\\n  <Text @styling=\\\"small\\\" data-test-upgrade-description-text={{true}}>\\n    {{this.descriptionText}}\\n  </Text>\\n  <IcButton\\n    @label={{if\\n      this.sendNewOrUpdateSubscriptionTask.isRunning\\n      \\\"Processing\\\"\\n      this.buttonText\\n    }}\\n    @type=\\\"primary-live\\\"\\n    @disabled={{this.sendNewOrUpdateSubscriptionTask.isRunning}}\\n    @onClick={{action this.buttonAction}}\\n    @fit={{true}}\\n    @class=\\\"paywall__button\\\"\\n    {{auto-focus-element}}\\n    class=\\\"mt-2\\\"\\n    data-test-subscription-upgrade-action-button={{true}}\\n  />\\n  {{#if this.showNewSubscriptionLegalText}}\\n    <Text @styling=\\\"small\\\">\\n      By clicking \\\"{{this.buttonText}}\\\" you agree to Intercom’s <a\\n        target=\\\"_blank\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n        href=\\\"https://www.intercom.com/terms-and-policies#terms\\\"\\n      >\\n        Terms of Service\\n      </a>\\n      and <a\\n        target=\\\"_blank\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n        href=\\\"https://www.intercom.com/terms-and-policies#privacy\\\"\\n      >\\n        Privacy Policy.\\n      </a>\\n      After your free trial, your credit card will be charged monthly &amp; your fees may vary based on how we bill.\\n    </Text>\\n  {{else if this.showTrialWithActiveSubscriptionText}}\\n    <ul class=\\\"u__mt__0 pl-6\\\">\\n      <li class=\\\"change-plan-modal__cta__li\\\">\\n        <Text @styling=\\\"muted\\\">You won't be charged until {{this.date14DaysFromToday}}.</Text>\\n      </li>\\n    </ul>\\n  {{/if}}\\n</div>\\n<div id=\\\"confirm-subscription-payment-button-id\\\"></div>\\n\",\"moduleName\":\"embercom/components/paywalls/upgrade-modal/subscription-upgrade.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/paywalls/upgrade-modal/subscription-upgrade.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\nimport ConfirmComponent from 'embercom/components/billing/confirm-component';\nimport { inject as service } from '@ember/service';\nimport { readOnly, not, and, alias } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport usageFormatter from 'embercom/lib/usage-formatter';\nimport numericFormatter from 'embercom/lib/numeric-formatter';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport {\n  showNewMessageInIntercomWidget,\n  sendIntercomUpdate,\n} from 'embercom/lib/intercom-widget-helper';\nimport { CORE_SEAT_METRIC } from 'embercom/lib/billing';\n\nexport default ConfirmComponent.extend({\n  purchaseAnalyticsService: service(),\n  customerService: service(),\n  appService: service(),\n  router: service(),\n  paywallService: service(),\n\n  customer: readOnly('customerService.customer'),\n  product: alias('plan.product'),\n  productName: readOnly('product.name'),\n  app: alias('appService.app'),\n  metricNumber: computed('product', 'customerService.prices', function() {\n    if (!this.product || !this.customerService.prices) {\n      return '';\n    }\n    let metric = this.get('product.pricingMetric');\n    if (metric && metric !== 'fixed') {\n      let price = this.get('customerService.prices').find(price =>\n        price.hasSamePlans([this.get('plan.idAsNumber')]),\n      );\n      return price && price.get(metric);\n    }\n  }),\n\n  priceRows: computed('showSinglePrice', 'showCurrentVsNewPrice', function() {\n    if (this.showSinglePrice) {\n      return [\n        {\n          price: this.newPlanPrice,\n          label: this.plan.get('nameWithProduct'),\n          breakdownLabel: this.plan.get('nameWithProduct'),\n          formattedPrice: this.formattedPriceDifferential,\n          class: this.product.removing && 'change-plan-modal__removing-text',\n          hideBreakdown: !this.newPlanPrice || this.product.removing,\n        },\n      ];\n    }\n\n    if (this.showCurrentVsNewPrice) {\n      let currentPlan = this.product.plans.find(plan => plan.inCurrentSubscription);\n      let currentPlanPrice =\n        currentPlan && this.customerService.getPriceFromPlanIds([currentPlan.idAsNumber]);\n\n      return [\n        {\n          price: currentPlanPrice,\n          label: 'Current price',\n          breakdownLabel: `Current price - ${currentPlanPrice?.breakdown?.firstObject.name}`,\n          formattedPrice: this.formattedOriginalPrice,\n          hideBreakdown: !currentPlanPrice,\n        },\n        {\n          price: this.newPlanPrice,\n          label: 'New price',\n          breakdownLabel: `New price - ${this.newPlanPrice?.breakdown?.firstObject.name}`,\n          formattedPrice: this.formattedCurrentPrice,\n          hideBreakdown: !this.newPlanPrice,\n        },\n        {\n          label: 'Difference',\n          formattedPrice: this.formattedPriceDifferential,\n          hideBreakdown: true,\n        },\n      ];\n    }\n    return [];\n  }),\n\n  addOnLimit: computed('product.pricingMetric', function() {\n    let LIMITS = {\n      active_people: 20000,\n      people_count: 10000,\n      monthly_active_people: 10000,\n      quarterly_active_people: 10000,\n    };\n    return LIMITS[this.get('product.pricingMetric')];\n  }),\n\n  addOnIsSelfServe: computed('product', function() {\n    return !this.metricNumber || !this.get('product.addon') || this.metricNumber < this.addOnLimit;\n  }),\n\n  onProPlan: computed('product.hasProPlan', 'product.hasOnePlan', function() {\n    return this.get('product.hasProPlan') && !this.get('product.hasOnePlan');\n  }),\n\n  isPurchasingAddonWithoutSubscription: computed(\n    'customer.hasActiveSubscription',\n    'product.addon',\n    function() {\n      return !this.customer.hasActiveSubscription && this.product.addon;\n    },\n  ),\n\n  showNewSubscriptionLegalText: computed('selfServe', 'app.hasActiveSubscription', function() {\n    return this.selfServe && !this.app.hasActiveSubscription;\n  }),\n\n  showTrialWithActiveSubscriptionText: and('selfServe', 'app.hasActiveSubscription', 'isNewTrial'),\n\n  selfServe: and(\n    'plan.selfServe',\n    'addOnIsSelfServe',\n    'customerCanEditCurrentSubscription',\n    'isNotAddonWithoutSubscription',\n  ),\n  customerCanEditCurrentSubscription: readOnly('customer.canEditCurrentSubscription'),\n  isNotAddonWithoutSubscription: not('isPurchasingAddonWithoutSubscription'),\n  planIsCustom: not('customer.canModifyOrRemoveProducts'),\n  planIsAddon: readOnly('product.addon'),\n\n  prices: readOnly('customerService.prices'),\n  plans: readOnly('product.plans'),\n\n  plan: null,\n\n  formattedCurrentPrice: computed('customerService.currentPrice', function() {\n    let currPrice = this.get('customerService.currentPrice.amount');\n    return `$${numericFormatter(currPrice / 100, 2, true)}`;\n  }),\n\n  formattedOriginalPrice: computed('customerService.originalPrice', function() {\n    let originalPrice = this.get('customerService.originalPrice.amount');\n    return `$${numericFormatter(originalPrice / 100, 2, true)}`;\n  }),\n\n  showSinglePrice: computed('selfServe', 'product.adding', 'product.removing', function() {\n    return (\n      (this.product.adding || this.product.removing) &&\n      this.selfServe &&\n      !this.downgradingAndLimitReached\n    );\n  }),\n\n  showCurrentVsNewPrice: computed('selfServe', 'downgradingAndLimitReached', function() {\n    return this.selfServe && !this.downgradingAndLimitReached;\n  }),\n\n  downgradingAndLimitReached: and('product.downgrading', 'teammateLimitReached'),\n  appFrozenForNonPayment: readOnly('app.isFrozenForNonPayment'),\n\n  descriptionText: computed(\n    'appFrozenForNonPayment',\n    'planIsCustom',\n    'customer.currentEarlyStageCustomer',\n    'selfServe',\n    'downgradingAndLimitReached',\n    'isPurchasingAddonWithoutSubscription',\n    function() {\n      if (this.appFrozenForNonPayment) {\n        return 'Your subscription has been restricted due to non-payment of invoices. Please reach out to accountsreceivable@intercom.io or via the Messenger to arrange a payment and have your service reinstated.';\n      } else if (this.isPurchasingAddonWithoutSubscription) {\n        return 'This product is an Addon and needs a subscription with a standard product. Please choose a starting plan.';\n      } else if (this.customer.currentEarlyStageCustomer) {\n        return 'You are currently on an Early Stage plan. To change your subscription, contact sales and someone will help you shortly!';\n      } else if (this.planIsCustom) {\n        return 'Your Intercom subscription has custom pricing. To upgrade your subscription, contact sales and someone will help you shortly!';\n      } else if (this.downgradingAndLimitReached) {\n        return `The plan you've selected is limited to ${\n          this.plan.get('pricingStrategies').findBy('pricingMetric', CORE_SEAT_METRIC)?.maximum\n        } teammates and you have exceeded that limit. Please go to the Teammates page to remove some teammates before changing to this plan`;\n      } else if (!this.selfServe) {\n        return \"We'll ask you about your needs, help you understand how pricing works, and get you started with new features.\";\n      } else {\n        return '';\n      }\n    },\n  ),\n\n  showCreditCardForm: computed(\n    'selfServe',\n    'app.hasActiveSubscription',\n    'trialWithCreditCard',\n    function() {\n      return this.selfServe && !this.app.hasActiveSubscription && this.trialWithCreditCard;\n    },\n  ),\n\n  formattedPriceDifferential: computed(\n    'customerService.currentPrice',\n    'customerService.originalPrice',\n    function() {\n      let currPrice = this.get('customerService.currentPrice.amount');\n      let oldPrice = this.get('customerService.originalPrice.amount') || 0;\n      let priceDifferential = currPrice - oldPrice;\n      let sign = '';\n      if (priceDifferential !== 0) {\n        sign = priceDifferential < 0 ? '-' : '+';\n      }\n\n      return `${sign}$${numericFormatter(Math.abs(priceDifferential) / 100, 2, true)}`;\n    },\n  ),\n\n  productIsTrialable: and('product.inactive', 'product.trialable'),\n\n  buttonText: computed(\n    'productIsTrialable',\n    'selfServe',\n    'app.hasActiveSubscription',\n    'appFrozenForNonPayment',\n    'product',\n    'downgradingAndLimitReached',\n    'isPurchasingAddonWithoutSubscription',\n    function() {\n      if (this.appFrozenForNonPayment) {\n        return 'Chat with us';\n      } else if (this.isPurchasingAddonWithoutSubscription) {\n        return 'Choose plan';\n      } else if (!this.selfServe) {\n        return 'Chat with us';\n      } else if (this.productIsTrialable) {\n        return 'Start your 14 day free trial';\n      } else if (!this.app.hasActiveSubscription) {\n        return 'Start your subscription';\n      } else if (this.downgradingAndLimitReached) {\n        return 'Go to Teammates';\n      } else if (this.product.upgrading || this.product.adding) {\n        return 'Upgrade now';\n      } else if (this.product.downgrading || this.product.removing) {\n        return 'Downgrade now';\n      }\n      return 'Chat with us';\n    },\n  ),\n\n  buttonAction: computed(\n    'app.hasActiveSubscription',\n    'appFrozenForNonPayment',\n    'selfServe',\n    'downgradingAndLimitReached',\n    'isPurchasingAddonWithoutSubscription',\n    function() {\n      if (this.appFrozenForNonPayment) {\n        return 'openMessenger';\n      } else if (this.isPurchasingAddonWithoutSubscription) {\n        return 'redirectToPurchase';\n      } else if (!this.selfServe) {\n        return 'openMessenger';\n      }\n      if (this.downgradingAndLimitReached) {\n        return 'redirectToTeammates';\n      }\n      return this.app.hasActiveSubscription ? 'updateSubscription' : 'submitStripeElement';\n    },\n  ),\n\n  submitAction: ternary('app.hasActiveSubscription', 'updateSubscription', 'submitStripeElement'),\n\n  date14DaysFromToday: computed(function() {\n    let options = { year: 'numeric', month: 'long', day: 'numeric' };\n    return new Date(Date.now() + 12096e5).toLocaleDateString('en-US', options);\n  }),\n\n  subscriptionWithoutCreditCard: and(\n    'app.hasActiveSubscription',\n    'customer.hasActiveTrialWithoutCreditCard',\n  ),\n  trialWithCreditCard: not('customer.hasActiveTrialWithoutCreditCard'),\n  subscriptionWithCreditCard: and('app.hasActiveSubscription', 'trialWithCreditCard'),\n\n  isNewTrial: and('product.trialable', 'product.inactive'),\n\n  actions: {\n    redirectToBilling() {\n      this.postTask();\n      this.router.transitionTo('apps.app.billing.details');\n    },\n\n    redirectToTeammates() {\n      this.postTask();\n      this.router.transitionTo('apps.app.settings.teammates');\n    },\n\n    redirectToPurchase() {\n      this.paywallService.redirectToPurchase(this.feature.key);\n    },\n\n    openMessengerForCustom() {\n      this.postTask();\n\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'clicked',\n        object: 'chat_with_sales_custom_button',\n        planIds: this.activePlanIds,\n        context: 'change_plan_modal',\n      });\n\n      showNewMessageInIntercomWidget(\"Hi, I'd like to know more about pricing.\");\n    },\n\n    openMessengerForPlan() {\n      this.postTask();\n\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'clicked',\n        object: 'chat_with_sales_premium_button',\n        planIds: this.activePlanIds,\n        context: 'change_plan_modal',\n      });\n\n      sendIntercomUpdate({ request_type: 'premium_tiers' });\n      showNewMessageInIntercomWidget(this.get('plan.messengerText'));\n    },\n\n    openMessengerForAddOn() {\n      this.postTask();\n\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'clicked',\n        object: 'chat_with_sales_addon_button',\n        planIds: this.activePlanIds,\n        context: 'change_plan_modal',\n      });\n\n      let metric = this.metricNumber\n        ? `for ${this.metricNumber} ${usageFormatter.startCase(this.get('product.pricingMetric'))}`\n        : '';\n      showNewMessageInIntercomWidget(\n        `Hi, I'm interested in learning more about ${this.productName} ${metric}.`,\n      );\n    },\n\n    openMessengerForEarlyStage() {\n      this.postTask();\n\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'clicked',\n        object: 'chat_with_sales_early_stage_button',\n        planIds: this.activePlanIds,\n        context: 'change_plan_modal',\n      });\n\n      showNewMessageInIntercomWidget(\n        `Hi, I’m interested in getting ${this.productName} and upgrading from the Early Stage program.`,\n      );\n    },\n\n    openMessengerForAccountFreeze() {\n      this.postTask();\n\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'clicked',\n        object: 'chat_with_accounting_account_frozen_button',\n        planIds: this.activePlanIds,\n        context: 'change_plan_modal',\n      });\n\n      showNewMessageInIntercomWidget(\n        'Hi, my workspace has been restricted due to non-payment of invoices. Please connect me with the Accounts Receivable team to arrange a payment.',\n      );\n    },\n\n    openMessenger() {\n      if (this.appFrozenForNonPayment) {\n        this.send('openMessengerForAccountFreeze');\n      } else if (this.customer.currentEarlyStageCustomer) {\n        this.send('openMessengerForEarlyStage');\n      } else if (this.planIsCustom) {\n        this.send('openMessengerForCustom');\n      } else if (this.planIsAddon) {\n        this.send('openMessengerForAddOn');\n      } else {\n        this.send('openMessengerForPlan');\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#unless this.app.canUseApnsBasedToken}}\\n  <Heading data-test-pem-file-component @size='2'>\\n    Enable Push Notifications\\n  </Heading>\\n\\n  <Paragraph>\\n    To send push notifications through Intercom, add the PEM file of your Apple Push Certificate:\\n  </Paragraph>\\n{{/unless}}\\n\\n{{#if this.isSdkAppCertificatePresent}}\\n  {{#if this.iosCertificateExpirationPassed }}\\n    <IcBanner\\n      @type=\\\"error\\\"\\n      @text=\\\"Your PEM file has expired.\\\"\\n    />\\n  {{/if}}\\n  {{#if this.iosCertificateExpirationPending }}\\n    <IcBanner\\n      @type=\\\"warning\\\"\\n      @text=\\\"Your PEM file expires within the next 30 days.\\\"\\n    />\\n  {{/if}}\\n\\n  {{#if this.app.canUseApnsBasedToken}}\\n    <IcBanner\\n      @text=\\\"Intercom will no longer support new PEM certificates. Please make sure to enable APNs auth keys when your PEM file expires\\\"\\n      @type=\\\"warning\\\"\\n    />\\n  {{/if}}\\n\\n  <Text data-test-pem-file-component @styling='label'>\\n    Your PEM file name\\n  </Text>\\n  <Paragraph>\\n    {{this.iosCertificateFilename}}\\n  </Paragraph>\\n  <Text @styling='label'>\\n    Your PEM file expiration\\n  </Text>\\n  <Paragraph>\\n    {{#if @sdkApp.certificate_expiration_date}}\\n      {{this.iosCertificateExpiration}}\\n    {{else}}\\n      <Text @styling='small'>\\n        <IcLoadingIndicator @size=\\\"tiny\\\" @inline={{true}}/>\\n        Loading...\\n      </Text>\\n    {{/if}}\\n  </Paragraph>\\n  <IcButton\\n    @icon=\\\"delete\\\"\\n    @label=\\\"Delete PEM file\\\"\\n    @type=\\\"secondary-destructive\\\"\\n    @onClick={{action \\\"deletePemFile\\\"}}\\n  />\\n{{else}}\\n  <input\\n    type=\\\"file\\\"\\n    data-ios-cert-file-input\\n    class=\\\"hidden\\\"\\n    onchange={{action \\\"uploadPemFile\\\"}}\\n  >\\n  <IcButton\\n    @label=\\\"Upload PEM file\\\"\\n    @type=\\\"secondary\\\"\\n    @onClick={{action \\\"triggerPemFileInput\\\"}}\\n  />\\n  <Paragraph>\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://developers.intercom.com/docs/ios-push-notifications\\\"\\n      @title=\\\"Find out how to create a PEM file in the Developer Docs\\\"\\n      @type=\\\"developer\\\"\\n    />\\n  </Paragraph>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#unless this.app.canUseApnsBasedToken}}\\n  <Heading data-test-pem-file-component @size='2'>\\n    Enable Push Notifications\\n  </Heading>\\n\\n  <Paragraph>\\n    To send push notifications through Intercom, add the PEM file of your Apple Push Certificate:\\n  </Paragraph>\\n{{/unless}}\\n\\n{{#if this.isSdkAppCertificatePresent}}\\n  {{#if this.iosCertificateExpirationPassed }}\\n    <IcBanner\\n      @type=\\\"error\\\"\\n      @text=\\\"Your PEM file has expired.\\\"\\n    />\\n  {{/if}}\\n  {{#if this.iosCertificateExpirationPending }}\\n    <IcBanner\\n      @type=\\\"warning\\\"\\n      @text=\\\"Your PEM file expires within the next 30 days.\\\"\\n    />\\n  {{/if}}\\n\\n  {{#if this.app.canUseApnsBasedToken}}\\n    <IcBanner\\n      @text=\\\"Intercom will no longer support new PEM certificates. Please make sure to enable APNs auth keys when your PEM file expires\\\"\\n      @type=\\\"warning\\\"\\n    />\\n  {{/if}}\\n\\n  <Text data-test-pem-file-component @styling='label'>\\n    Your PEM file name\\n  </Text>\\n  <Paragraph>\\n    {{this.iosCertificateFilename}}\\n  </Paragraph>\\n  <Text @styling='label'>\\n    Your PEM file expiration\\n  </Text>\\n  <Paragraph>\\n    {{#if @sdkApp.certificate_expiration_date}}\\n      {{this.iosCertificateExpiration}}\\n    {{else}}\\n      <Text @styling='small'>\\n        <IcLoadingIndicator @size=\\\"tiny\\\" @inline={{true}}/>\\n        Loading...\\n      </Text>\\n    {{/if}}\\n  </Paragraph>\\n  <IcButton\\n    @icon=\\\"delete\\\"\\n    @label=\\\"Delete PEM file\\\"\\n    @type=\\\"secondary-destructive\\\"\\n    @onClick={{action \\\"deletePemFile\\\"}}\\n  />\\n{{else}}\\n  <input\\n    type=\\\"file\\\"\\n    data-ios-cert-file-input\\n    class=\\\"hidden\\\"\\n    onchange={{action \\\"uploadPemFile\\\"}}\\n  >\\n  <IcButton\\n    @label=\\\"Upload PEM file\\\"\\n    @type=\\\"secondary\\\"\\n    @onClick={{action \\\"triggerPemFileInput\\\"}}\\n  />\\n  <Paragraph>\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://developers.intercom.com/docs/ios-push-notifications\\\"\\n      @title=\\\"Find out how to create a PEM file in the Developer Docs\\\"\\n      @type=\\\"developer\\\"\\n    />\\n  </Paragraph>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/pem-file-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/pem-file-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { computed } from '@ember/object';\nimport { lte, readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport { inject as service } from '@ember/service';\nimport moment from 'moment';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  tagName: '',\n\n  isSdkAppCertificatePresent: readOnly('sdkApp.has_certificate'),\n  fallbackFilename: 'Certificate.pem',\n  iosCertificateFilename: ternaryToProperty(\n    'sdkApp.certificate_filename',\n    'sdkApp.certificate_filename',\n    'fallbackFilename',\n  ),\n\n  iosCertificateExpiration: computed('sdkApp.certificate_expiration_date', function() {\n    return moment(this.get('sdkApp.certificate_expiration_date')).format(\n      dateAndTimeFormats.dateHumanized,\n    );\n  }),\n\n  certExpirationDateFromNow: computed('sdkApp.certificate_expiration_date', function() {\n    let now = moment();\n    return moment(this.get('sdkApp.certificate_expiration_date')).diff(now, 'days');\n  }),\n\n  iosCertificateExpirationPassed: lte('certExpirationDateFromNow', 0),\n\n  iosCertificateExpirationPending: computed('certExpirationDateFromNow', function() {\n    return this.certExpirationDateFromNow > 0 && this.certExpirationDateFromNow < 31;\n  }),\n\n  savePemFile(file) {\n    this.sdkApp.setProperties({\n      certificate: file,\n      certificate_filename: file.name,\n      has_certificate: true,\n    });\n\n    this.sdkApp\n      .save()\n      .then(() => {\n        this.notificationsService.notifyConfirmation(\n          'Your PEM file has been successfully uploaded.',\n        );\n        this.intercomEventService.trackEvent('mobile-push-credential-updated', {\n          platform: 'iOS',\n          owner: 'messenger',\n        });\n      })\n      .catch(error => {\n        this.notificationsService.notifyError(error.jqXHR.responseJSON.errors);\n        this.sdkApp.set('has_certificate', false);\n      });\n  },\n\n  actions: {\n    uploadPemFile(e) {\n      this.savePemFile(e.target.files[0]);\n    },\n    triggerPemFileInput() {\n      let fileInput = document.querySelector('[data-ios-cert-file-input]');\n      fileInput.click();\n    },\n    deletePemFile() {\n      this.sdkApp.setProperties({\n        certificate: null,\n        certificate_filename: null,\n        certificate_expiration_date: null,\n        has_certificate: false,\n      });\n      this.sdkApp.save().then(() => {\n        this.notificationsService.notifyConfirmation(\n          'Your PEM certificate has been successfully deleted.',\n        );\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip\\n  @isDelayed={{true}}\\n  @isInteractive={{true}}\\n  data-name={{@attribute.name}}\\n  ...attributes\\n  as |t|\\n>\\n  <t.opener>\\n    {{#unless @hideIcon}}\\n      {{ic-interface-icon @attribute.icon color=(or @color \\\"gray\\\")}}\\n    {{/unless}}\\n    {{or @attribute.human_friendly_name @attribute.humanFriendlyName @attribute.name}}\\n  </t.opener>\\n  <t.content>\\n    <Tooltips::AttributeAndEventDescriptionContent\\n      @isDescriptionModifiable={{@attribute.isDescriptionModifiable}}\\n      @settingsPath={{@attribute.settingsPath}}\\n      @attrIdentifier={{@attribute.identifier}}\\n      @description={{@attribute.description}}\\n      @hideName={{@hideName}}\\n      @name={{unless @hideName @attribute.name}}\\n    />\\n  </t.content>\\n</IcTooltip>\", {\"contents\":\"<IcTooltip\\n  @isDelayed={{true}}\\n  @isInteractive={{true}}\\n  data-name={{@attribute.name}}\\n  ...attributes\\n  as |t|\\n>\\n  <t.opener>\\n    {{#unless @hideIcon}}\\n      {{ic-interface-icon @attribute.icon color=(or @color \\\"gray\\\")}}\\n    {{/unless}}\\n    {{or @attribute.human_friendly_name @attribute.humanFriendlyName @attribute.name}}\\n  </t.opener>\\n  <t.content>\\n    <Tooltips::AttributeAndEventDescriptionContent\\n      @isDescriptionModifiable={{@attribute.isDescriptionModifiable}}\\n      @settingsPath={{@attribute.settingsPath}}\\n      @attrIdentifier={{@attribute.identifier}}\\n      @description={{@attribute.description}}\\n      @hideName={{@hideName}}\\n      @name={{unless @hideName @attribute.name}}\\n    />\\n  </t.content>\\n</IcTooltip>\",\"moduleName\":\"embercom/components/people/attribute-and-event-description-tooltip.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/people/attribute-and-event-description-tooltip.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"attribute__info-tooltip\\\">\\n  <h4 class=\\\"attribute__info-tooltip__value t__h4\\\" data-test-attribute-value>\\n    {{#if @attribute.isEmail}}\\n      {{this.emailParts.firstObject}}@<a class=\\\"attribute__info-tooltip__email-domain\\\" href=\\\"//{{this.emailParts.lastObject}}\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">{{this.emailParts.lastObject}}</a>\\n      <span\\n        class=\\\"tooltips__email-link__copy-icon\\\"\\n        {{copy-to-clipboard text=@value onSuccess=@hideTooltip}}\\n        data-test-attribute-copy\\n      >\\n        {{ic-interface-icon \\\"duplicate\\\"}}\\n      </span>\\n    {{else if (eq @attribute.type \\\"date\\\")}}\\n      {{format-date date=@value format=\\\"dateHumanized\\\"}}\\n    {{else}}\\n      {{@value}}\\n    {{/if}}\\n  </h4>\\n  {{#if @attributeIdentifiesUser}}\\n    <div class=\\\"attribute__info-tooltip__uneditable\\\" data-test-attribute-uneditable>\\n      This identifies this customer in Intercom, so can't be edited\\n    </div>\\n  {{else if this.dataSource}}\\n    <div class=\\\"attribute__info-tooltip__edited-by\\\" data-test-attribute-edited-by>\\n      Edited by <IcAvatarComponent @model={{this.admin}} @size=\\\"xs\\\" /> {{this.admin.name}} {{lowercase (full-relative-time-ago-helper this.dataSourceChangedAt)}}\\n    </div>\\n  {{/if}}\\n</div>\", {\"contents\":\"<div class=\\\"attribute__info-tooltip\\\">\\n  <h4 class=\\\"attribute__info-tooltip__value t__h4\\\" data-test-attribute-value>\\n    {{#if @attribute.isEmail}}\\n      {{this.emailParts.firstObject}}@<a class=\\\"attribute__info-tooltip__email-domain\\\" href=\\\"//{{this.emailParts.lastObject}}\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">{{this.emailParts.lastObject}}</a>\\n      <span\\n        class=\\\"tooltips__email-link__copy-icon\\\"\\n        {{copy-to-clipboard text=@value onSuccess=@hideTooltip}}\\n        data-test-attribute-copy\\n      >\\n        {{ic-interface-icon \\\"duplicate\\\"}}\\n      </span>\\n    {{else if (eq @attribute.type \\\"date\\\")}}\\n      {{format-date date=@value format=\\\"dateHumanized\\\"}}\\n    {{else}}\\n      {{@value}}\\n    {{/if}}\\n  </h4>\\n  {{#if @attributeIdentifiesUser}}\\n    <div class=\\\"attribute__info-tooltip__uneditable\\\" data-test-attribute-uneditable>\\n      This identifies this customer in Intercom, so can't be edited\\n    </div>\\n  {{else if this.dataSource}}\\n    <div class=\\\"attribute__info-tooltip__edited-by\\\" data-test-attribute-edited-by>\\n      Edited by <IcAvatarComponent @model={{this.admin}} @size=\\\"xs\\\" /> {{this.admin.name}} {{lowercase (full-relative-time-ago-helper this.dataSourceChangedAt)}}\\n    </div>\\n  {{/if}}\\n</div>\",\"moduleName\":\"embercom/components/people/attributes/attribute-value-info-tooltip.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/people/attributes/attribute-value-info-tooltip.hbs\"}});\nimport { get } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport moment from 'moment';\nimport DataUpdateContext from 'embercom/models/data/data-update-context';\nimport Admin from 'embercom/models/admin';\nimport Component from '@glimmer/component';\n\nexport default class PeopleAttributesAttributeValueInfoTooltip extends Component {\n  @service store;\n\n  get emailParts() {\n    return this.args.value.split('@');\n  }\n\n  get dataSource() {\n    return get(\n      this,\n      `args.model.metadata.data_sources.${this.args.attribute?.identifierWithoutCompanyPrefix}`,\n    );\n  }\n\n  get admin() {\n    if (this.dataSource && this.dataSource.source === DataUpdateContext.TEAMMATE_SOURCE) {\n      return Admin.peekAndMaybeLoad(this.store, this.dataSource.changed_by);\n    }\n  }\n\n  get dataSourceChangedAt() {\n    return moment.unix(this.dataSource.changed_at).toString();\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { computed } from '@ember/object';\nimport MultipleChoiceEditor from './multiple-choice-editor';\n\nexport default MultipleChoiceEditor.extend({\n  layoutName: 'components/people/attributes/multiple-choice-editor',\n  selectOptions: ['True', 'False'],\n\n  _valueFromString(value) {\n    switch (value) {\n      case 'True':\n        return true;\n      case 'False':\n        return false;\n      default:\n        return null;\n    }\n  },\n  stringFromValue: computed('value', function() {\n    let value = this.value;\n    switch (value) {\n      case true:\n        return 'True';\n      case false:\n        return 'False';\n      default:\n        return 'Add';\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns o__flexes-to-1 o__centers-vertically\\\">\\n  <IcButton @type=\\\"secondary\\\" @forcedActive={{true}} @fit={{true}}>\\n    <span class=\\\"u__one-truncated-line\\\">\\n      {{#if (is-present currentValue)}}\\n        {{format-date date=currentValue format=\\\"dateHumanized\\\"}}\\n      {{else}}\\n        Choose a date\\n      {{/if}}\\n      {{ic-interface-icon \\\"small-down-arrow\\\"}}\\n    </span>\\n  </IcButton>\\n</div>\\n<div class=\\\"dropdown o__opened z__2 attribute__editor-dropdown attribute__date-editor-dropdown u__pad__0 u__m__0\\\">\\n  <IcDatepicker\\n    @classNames=\\\"u__padt__20 u__padl__20\\\"\\n    @selected={{currentValueAsDateObject}}\\n    @onSelect={{action completeEditing value=\\\"date\\\"}}\\n  />\\n  <div\\n    class=\\\"attribute__editor-action flex items-center\\\"\\n    {{action completeEditing null}}\\n  >\\n    <div class=\\\"u__mr__10\\\">\\n      {{ic-interface-icon \\\"small-close\\\" solo=true}}\\n    </div>\\n    <div class=\\\"flex-auto min-w-0\\\">\\n      Clear\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns o__flexes-to-1 o__centers-vertically\\\">\\n  <IcButton @type=\\\"secondary\\\" @forcedActive={{true}} @fit={{true}}>\\n    <span class=\\\"u__one-truncated-line\\\">\\n      {{#if (is-present currentValue)}}\\n        {{format-date date=currentValue format=\\\"dateHumanized\\\"}}\\n      {{else}}\\n        Choose a date\\n      {{/if}}\\n      {{ic-interface-icon \\\"small-down-arrow\\\"}}\\n    </span>\\n  </IcButton>\\n</div>\\n<div class=\\\"dropdown o__opened z__2 attribute__editor-dropdown attribute__date-editor-dropdown u__pad__0 u__m__0\\\">\\n  <IcDatepicker\\n    @classNames=\\\"u__padt__20 u__padl__20\\\"\\n    @selected={{currentValueAsDateObject}}\\n    @onSelect={{action completeEditing value=\\\"date\\\"}}\\n  />\\n  <div\\n    class=\\\"attribute__editor-action flex items-center\\\"\\n    {{action completeEditing null}}\\n  >\\n    <div class=\\\"u__mr__10\\\">\\n      {{ic-interface-icon \\\"small-close\\\" solo=true}}\\n    </div>\\n    <div class=\\\"flex-auto min-w-0\\\">\\n      Clear\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/people/attributes/date-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/people/attributes/date-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { copy } from 'ember-copy';\nimport { computed } from '@ember/object';\nimport DropdownStyleEditor from './dropdown-style-editor';\n\nexport default DropdownStyleEditor.extend({\n  classNames: ['u__relative'],\n  currentValueAsDateObject: computed('currentValue', function() {\n    if (this.currentValue) {\n      return new Date(this.currentValue);\n    }\n  }),\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.set('currentValue', copy(this.value));\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield\\n  (hash\\n    attribute=copiedAttribute\\n    main=(component\\n      \\\"people/attributes/detail-view/main-component\\\"\\n      attribute=copiedAttribute\\n      creatingNewAttribute=creatingNewAttribute\\n      availableTypes=availableTypes\\n      showPeopleAndCompanyToggleTab=showPeopleAndCompanyToggleTab\\n    )\\n    saveTask=saveTask\\n    archiveTask=archiveTask\\n  )\\n}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield\\n  (hash\\n    attribute=copiedAttribute\\n    main=(component\\n      \\\"people/attributes/detail-view/main-component\\\"\\n      attribute=copiedAttribute\\n      creatingNewAttribute=creatingNewAttribute\\n      availableTypes=availableTypes\\n      showPeopleAndCompanyToggleTab=showPeopleAndCompanyToggleTab\\n    )\\n    saveTask=saveTask\\n    archiveTask=archiveTask\\n  )\\n}}\\n\",\"moduleName\":\"embercom/components/people/attributes/detail-view.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/people/attributes/detail-view.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { put, post } from 'embercom/lib/ajax';\n\nexport default Component.extend({\n  notificationsService: service(),\n  tagName: '',\n  appService: service(),\n  attributeService: service(),\n  app: readOnly('appService.app'),\n  modelDataCacheService: service(),\n  store: service(),\n  copiedAttribute: null,\n  didInsertElement() {\n    this._super(...arguments);\n    this._createAttributeCopy();\n  },\n  willDestroyElement() {\n    this._super(...arguments);\n    if (this.copiedAttribute && this.copiedAttribute.isNew) {\n      this.store.unloadRecord(this.copiedAttribute);\n    }\n  },\n  _createAttributeCopy() {\n    let attributeJSON = {\n      type: 'string',\n    };\n    if (this.attribute) {\n      attributeJSON = this.attribute.serialize();\n      // Standarise types by converting `integer` to `fixnum` on opening the component.\n      if (attributeJSON.type === 'integer') {\n        attributeJSON.type = 'fixnum';\n      }\n      delete attributeJSON.id;\n      delete attributeJSON.options;\n    } else {\n      this.set('creatingNewAttribute', true);\n      // initialize as a CDA\n      attributeJSON.identifier =\n        this.typeToCreate === 'company' ? 'company.custom_data.' : 'custom_data.';\n      attributeJSON.tracked = false;\n    }\n    let copiedAttribute = this.store.createRecord('attribute', attributeJSON);\n    let options = this.get('attribute.options') || [];\n    options.forEach(option => {\n      let copiedOption = this.store.createRecord('people/attribute-option', {\n        value: option.value,\n      });\n      copiedAttribute.options.pushObject(copiedOption);\n    });\n    this.set('copiedAttribute', copiedAttribute);\n  },\n\n  saveTask: task(function*() {\n    if (this.attribute) {\n      return yield this.updateAttribute.perform();\n    } else {\n      return yield this.createAttribute.perform();\n    }\n  }),\n\n  createAttribute: task(function*() {\n    try {\n      let properties = this.copiedAttribute.getProperties('name');\n      let createQualificationAttribute = this.dataContext === 'qualification';\n      let params = Object.assign(\n        properties,\n        { create_qualification_attribute: createQualificationAttribute },\n        this.generalParamData(),\n      );\n      let response = yield this._post('ember/custom_data_attributes', params);\n      this.store.pushPayload({ attribute: response });\n      let attribute = this.store.peekRecord('attribute', response.identifier);\n\n      this.get('attributeService.attributes').pushObject(attribute);\n\n      let qualificationAttribute = response.qualification_attribute;\n      if (qualificationAttribute) {\n        let store = this.store;\n        store.push(\n          store.normalize('people/qualification-attribute', {\n            id: qualificationAttribute.id,\n            identifier: attribute.get('identifier'),\n          }),\n        );\n      }\n      this.app.updateLocalCache(this.modelDataCacheService);\n      this.hooks.afterCreate(attribute);\n\n      return attribute;\n    } catch (error) {\n      console.error(error);\n      this.notificationsService.notifyResponseError(error, {\n        default: `An error occured while creating the data, please try again`,\n      });\n    }\n  }),\n\n  updateAttribute: task(function*() {\n    try {\n      let response = yield this._put(\n        `ember/custom_data_attributes/${this.get('attribute.cda_id')}`,\n        this.generalParamData(),\n      );\n      this.store.pushPayload({ attribute: response });\n      this.app.updateLocalCache(this.modelDataCacheService);\n      this.hooks.afterUpdate(this.attribute);\n    } catch (error) {\n      console.error(error);\n      this.notificationsService.notifyResponseError(error, {\n        default: `An error occured while updating the data, please try again`,\n      });\n    }\n  }),\n\n  generalParamData() {\n    return {\n      app_id: this.get('app.id'),\n      admin_id: this.get('app.currentAdmin.id'),\n      data_type: this.get('copiedAttribute.inferredType'),\n      options: this.get('copiedAttribute.options').map(option => ({ value: option.value })),\n      description: this.get('copiedAttribute.description'),\n      company: this.get('copiedAttribute.isCompany'),\n    };\n  },\n\n  // Visible for testing\n  _put() {\n    return put(...arguments);\n  },\n\n  _post() {\n    return post(...arguments);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (and attribute.created_at (not creatingNewAttribute))}}\\n  <div class=\\\"t__label\\\">\\n    Created\\n  </div>\\n  <span\\n    data-test-created-at\\n    {{tooltip content=(format-date date=attribute.created_at format=\\\"dateHumanized\\\")}}\\n  >\\n    {{full-relative-time-ago-helper attribute.created_at}}\\n  </span>\\n  <div class=\\\"h-5\\\"></div>\\n{{/if}}\\n{{#if creatingNewAttribute}}\\n  {{#if showPeopleAndCompanyToggleTab}}\\n    <div class=\\\"t__label\\\">\\n      Applies to\\n    </div>\\n    <div class=\\\"btn__toggle-list\\\">\\n      <a\\n        class=\\\"btn o__toggle {{unless attribute.isCompany \\\"o__selected\\\"}}\\\"\\n        data-test-switch-to-people-attribute\\n        {{action \\\"toggleCompany\\\" false}}\\n      >\\n        People\\n      </a>\\n      <a\\n        class=\\\"btn o__toggle {{if attribute.isCompany \\\"o__selected\\\"}}\\\"\\n        data-test-switch-to-company-attribute\\n        {{action \\\"toggleCompany\\\" true}}\\n      >\\n        Companies\\n      </a>\\n    </div>\\n    <div class=\\\"h-5\\\"></div>\\n  {{/if}}\\n  <div class=\\\"t__label\\\">\\n    Name\\n  </div>\\n  <OneWayInput\\n    class=\\\"f__text\\\"\\n    @value={{attribute.name}}\\n    placeholder=\\\"e.g. Plan Type\\\"\\n    @update={{action \\\"updateNameAndIdentifier\\\"}}\\n    data-test-name-input=\\\"true\\\"\\n  />\\n  <p class=\\\"t__light-text\\\">\\n    This name could appear in conversations with customers if you ever ask Operator to collect this data.\\n  </p>\\n  <div class=\\\"h-5\\\"></div>\\n{{/if}}\\n{{#if attribute.isCustomData}}\\n  <div class=\\\"t__label\\\">\\n    Optional Description\\n  </div>\\n  <Input\\n    class=\\\"f__text\\\"\\n    @value={{attribute.description}}\\n    placeholder=\\\"e.g. The customer's favorite color\\\"\\n    data-test-editable-description={{true}}\\n  />\\n{{else}}\\n  <div class=\\\"t__label\\\">\\n    Description\\n  </div>\\n  <div data-test-read-only-description>\\n    {{attribute.description}}\\n  </div>\\n{{/if}}\\n<div class=\\\"h-5\\\"></div>\\n<div class=\\\"t__label\\\">\\n  Format\\n</div>\\n{{#if attribute.isCustomData}}\\n  <IcSelect\\n    @defaultLabel={{attribute.inferredType}}\\n    @items={{typeDropdownItems}}\\n    @selectedValue={{attribute.inferredType}}\\n    @onSelectItem={{action \\\"updateType\\\"}}\\n    data-test-format-select={{true}}\\n  />\\n{{else}}\\n  <p data-test-read-only-format>\\n    {{readableTypeName}}\\n  </p>\\n{{/if}}\\n<div class=\\\"h-2\\\"></div>\\n{{#each attribute.options as |option index|}}\\n  <div class=\\\"layout__box o__has-columns {{unless (eq index 0) \\\"u__mt__10\\\"}}\\\">\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <Input\\n        class=\\\"f__text\\\"\\n        @value={{option.value}}\\n        placeholder=\\\"e.g. Apples or 1-10\\\"\\n        data-test-attribute-option={{true}}\\n        data-test-attribute-option-index={{index}}\\n      />\\n    </div>\\n    <div class=\\\"layout__box u__ml__10 o__centers-all {{if (lte attribute.options.length 2) \\\"u__invisible\\\"}}\\\">\\n      <a\\n        data-test-remove-option=\\\"{{option.value}}\\\"\\n        {{action \\\"removeOption\\\" index}}\\n      >\\n        {{ic-interface-icon \\\"trash\\\"}}\\n      </a>\\n    </div>\\n  </div>\\n{{/each}}\\n{{#if attribute.hasOptions}}\\n  <div class=\\\"h-2\\\"></div>\\n  {{#if optionLimitReached}}\\n    <span\\n      class=\\\"btn__tertiary__deemphasized o__disabled\\\"\\n      {{tooltip content=\\\"You have reached the limit of 20 options for this data attribute\\\"}}\\n      data-test-option-limit-reached\\n    >\\n      Add more\\n    </span>\\n  {{else}}\\n    <a\\n      class=\\\"btn__tertiary__deemphasized\\\"\\n      data-test-add-option\\n      {{action \\\"addOption\\\"}}\\n    >\\n      Add more\\n    </a>\\n  {{/if}}\\n{{/if}}\\n{{#if (and hasChangedAttributeType attribute.tracked)}}\\n  <div class=\\\"h-2\\\" data-test-format-change-warning></div>\\n  <IcBanner\\n    @type=\\\"warning\\\"\\n    @text=\\\"You may lose some existing values by changing the format\\\"\\n  />\\n{{/if}}\\n{{#if (and attribute.isCustomData (is-present attribute.name))}}\\n  <div class=\\\"h-5\\\"></div>\\n  <div class=\\\"t__label\\\">\\n    Key\\n    <IcTooltipIcon @isInteractive={{true}}>\\n      The key is used in your code snippet to track data automatically.\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/configure-intercom-for-your-product-or-site/customize-intercom-to-be-about-your-users/send-custom-user-attributes-to-intercom\\\"\\n        @title=\\\"Learn more\\\"\\n        @type=\\\"article\\\"\\n        @linkStyling=\\\"inline\\\"\\n      />\\n    </IcTooltipIcon>\\n  </div>\\n  <code data-test-attribute-key>\\n    {{attribute.name}}\\n  </code>\\n{{/if}}\\n{{#unless (or attribute.tracked creatingNewAttribute)}}\\n  <div class=\\\"h-5\\\" data-test-untracked-warning></div>\\n  <IcBanner @type=\\\"help\\\">\\n    <p>\\n      You're not tracking this data automatically right now.\\n    </p>\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/configure-intercom-for-your-product-or-site/customize-intercom-to-be-about-your-users/send-custom-user-attributes-to-intercom\\\"\\n      @title=\\\"Learn how to add it to your code\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />\\n  </IcBanner>\\n{{/unless}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (and attribute.created_at (not creatingNewAttribute))}}\\n  <div class=\\\"t__label\\\">\\n    Created\\n  </div>\\n  <span\\n    data-test-created-at\\n    {{tooltip content=(format-date date=attribute.created_at format=\\\"dateHumanized\\\")}}\\n  >\\n    {{full-relative-time-ago-helper attribute.created_at}}\\n  </span>\\n  <div class=\\\"h-5\\\"></div>\\n{{/if}}\\n{{#if creatingNewAttribute}}\\n  {{#if showPeopleAndCompanyToggleTab}}\\n    <div class=\\\"t__label\\\">\\n      Applies to\\n    </div>\\n    <div class=\\\"btn__toggle-list\\\">\\n      <a\\n        class=\\\"btn o__toggle {{unless attribute.isCompany \\\"o__selected\\\"}}\\\"\\n        data-test-switch-to-people-attribute\\n        {{action \\\"toggleCompany\\\" false}}\\n      >\\n        People\\n      </a>\\n      <a\\n        class=\\\"btn o__toggle {{if attribute.isCompany \\\"o__selected\\\"}}\\\"\\n        data-test-switch-to-company-attribute\\n        {{action \\\"toggleCompany\\\" true}}\\n      >\\n        Companies\\n      </a>\\n    </div>\\n    <div class=\\\"h-5\\\"></div>\\n  {{/if}}\\n  <div class=\\\"t__label\\\">\\n    Name\\n  </div>\\n  <OneWayInput\\n    class=\\\"f__text\\\"\\n    @value={{attribute.name}}\\n    placeholder=\\\"e.g. Plan Type\\\"\\n    @update={{action \\\"updateNameAndIdentifier\\\"}}\\n    data-test-name-input=\\\"true\\\"\\n  />\\n  <p class=\\\"t__light-text\\\">\\n    This name could appear in conversations with customers if you ever ask Operator to collect this data.\\n  </p>\\n  <div class=\\\"h-5\\\"></div>\\n{{/if}}\\n{{#if attribute.isCustomData}}\\n  <div class=\\\"t__label\\\">\\n    Optional Description\\n  </div>\\n  <Input\\n    class=\\\"f__text\\\"\\n    @value={{attribute.description}}\\n    placeholder=\\\"e.g. The customer's favorite color\\\"\\n    data-test-editable-description={{true}}\\n  />\\n{{else}}\\n  <div class=\\\"t__label\\\">\\n    Description\\n  </div>\\n  <div data-test-read-only-description>\\n    {{attribute.description}}\\n  </div>\\n{{/if}}\\n<div class=\\\"h-5\\\"></div>\\n<div class=\\\"t__label\\\">\\n  Format\\n</div>\\n{{#if attribute.isCustomData}}\\n  <IcSelect\\n    @defaultLabel={{attribute.inferredType}}\\n    @items={{typeDropdownItems}}\\n    @selectedValue={{attribute.inferredType}}\\n    @onSelectItem={{action \\\"updateType\\\"}}\\n    data-test-format-select={{true}}\\n  />\\n{{else}}\\n  <p data-test-read-only-format>\\n    {{readableTypeName}}\\n  </p>\\n{{/if}}\\n<div class=\\\"h-2\\\"></div>\\n{{#each attribute.options as |option index|}}\\n  <div class=\\\"layout__box o__has-columns {{unless (eq index 0) \\\"u__mt__10\\\"}}\\\">\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <Input\\n        class=\\\"f__text\\\"\\n        @value={{option.value}}\\n        placeholder=\\\"e.g. Apples or 1-10\\\"\\n        data-test-attribute-option={{true}}\\n        data-test-attribute-option-index={{index}}\\n      />\\n    </div>\\n    <div class=\\\"layout__box u__ml__10 o__centers-all {{if (lte attribute.options.length 2) \\\"u__invisible\\\"}}\\\">\\n      <a\\n        data-test-remove-option=\\\"{{option.value}}\\\"\\n        {{action \\\"removeOption\\\" index}}\\n      >\\n        {{ic-interface-icon \\\"trash\\\"}}\\n      </a>\\n    </div>\\n  </div>\\n{{/each}}\\n{{#if attribute.hasOptions}}\\n  <div class=\\\"h-2\\\"></div>\\n  {{#if optionLimitReached}}\\n    <span\\n      class=\\\"btn__tertiary__deemphasized o__disabled\\\"\\n      {{tooltip content=\\\"You have reached the limit of 20 options for this data attribute\\\"}}\\n      data-test-option-limit-reached\\n    >\\n      Add more\\n    </span>\\n  {{else}}\\n    <a\\n      class=\\\"btn__tertiary__deemphasized\\\"\\n      data-test-add-option\\n      {{action \\\"addOption\\\"}}\\n    >\\n      Add more\\n    </a>\\n  {{/if}}\\n{{/if}}\\n{{#if (and hasChangedAttributeType attribute.tracked)}}\\n  <div class=\\\"h-2\\\" data-test-format-change-warning></div>\\n  <IcBanner\\n    @type=\\\"warning\\\"\\n    @text=\\\"You may lose some existing values by changing the format\\\"\\n  />\\n{{/if}}\\n{{#if (and attribute.isCustomData (is-present attribute.name))}}\\n  <div class=\\\"h-5\\\"></div>\\n  <div class=\\\"t__label\\\">\\n    Key\\n    <IcTooltipIcon @isInteractive={{true}}>\\n      The key is used in your code snippet to track data automatically.\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/configure-intercom-for-your-product-or-site/customize-intercom-to-be-about-your-users/send-custom-user-attributes-to-intercom\\\"\\n        @title=\\\"Learn more\\\"\\n        @type=\\\"article\\\"\\n        @linkStyling=\\\"inline\\\"\\n      />\\n    </IcTooltipIcon>\\n  </div>\\n  <code data-test-attribute-key>\\n    {{attribute.name}}\\n  </code>\\n{{/if}}\\n{{#unless (or attribute.tracked creatingNewAttribute)}}\\n  <div class=\\\"h-5\\\" data-test-untracked-warning></div>\\n  <IcBanner @type=\\\"help\\\">\\n    <p>\\n      You're not tracking this data automatically right now.\\n    </p>\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/configure-intercom-for-your-product-or-site/customize-intercom-to-be-about-your-users/send-custom-user-attributes-to-intercom\\\"\\n      @title=\\\"Learn how to add it to your code\\\"\\n      @type=\\\"article\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />\\n  </IcBanner>\\n{{/unless}}\\n\",\"moduleName\":\"embercom/components/people/attributes/detail-view/main-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/people/attributes/detail-view/main-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { isPresent } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport { gte } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { notEqualToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\n\nconst OPTION_LIMIT = 20;\nconst IDENTIFIER_REPLACEMENT_REGEX = /(company\\.custom_data\\.|custom_data\\.)(.*)/;\n\nconst defaultTypes = [\n  { text: 'Text', value: 'string' },\n  { text: 'Number', value: 'fixnum' },\n  { text: 'Decimal number', value: 'float' },\n  { text: 'True or False', value: 'boolean' },\n  { text: 'Date', value: 'date' },\n  { text: 'List', value: 'options' },\n];\n\nexport default Component.extend({\n  store: service(),\n  classNames: ['data-test-people-attributes-detail-view'],\n  didReceiveAttrs() {\n    this._super(...arguments);\n    if (this.attribute) {\n      let options = this.attribute.options || [];\n      this.setProperties({\n        originalType: this.attribute.inferredType,\n        originalOptions: options.map(option => option.value),\n      });\n    }\n  },\n  hasChangedAttributeType: notEqualToProperty('originalType', 'attribute.inferredType'),\n  typeDropdownItems: computed('availableTypes', function() {\n    return this.availableTypes || defaultTypes;\n  }),\n  optionLimitReached: gte('attribute.options.length', OPTION_LIMIT),\n  readableTypeName: computed('attribute.inferredType', function() {\n    let inferredType = this.get('attribute.inferredType');\n    let typeDropdownItems = this.typeDropdownItems;\n    if (isPresent(inferredType)) {\n      return typeDropdownItems.find(item => item.value === inferredType).text;\n    } else {\n      return 'Unknown';\n    }\n  }),\n\n  addOption(value = '') {\n    let newOption = this.store.createRecord('people/attribute-option', { value });\n    this.attribute.options.pushObject(newOption);\n  },\n\n  actions: {\n    updateType(type) {\n      this.set('attribute.options', []);\n      if (type === 'options') {\n        this.originalOptions.forEach(value => this.addOption(value));\n        if (this.attribute.options.length === 0) {\n          this.addOption();\n          this.addOption();\n        }\n      }\n      this.set('attribute.type', type);\n    },\n    addOption() {\n      this.addOption();\n    },\n    removeOption(index) {\n      if (this.get('attribute.options.length') > 2) {\n        this.get('attribute.options').removeAt(index);\n      }\n    },\n    updateNameAndIdentifier(text) {\n      if (this.creatingNewAttribute) {\n        let updatedIdentifier = this.get('attribute.identifier').replace(\n          IDENTIFIER_REPLACEMENT_REGEX,\n          `$1${text}`,\n        );\n        this.setProperties({\n          'attribute.name': text,\n          'attribute.identifier': updatedIdentifier,\n        });\n      }\n    },\n    toggleCompany(changingToCompany) {\n      let regexReplacementString = changingToCompany ? `company.custom_data.$2` : `custom_data.$2`;\n      let updatedIdentifier = this.get('attribute.identifier').replace(\n        IDENTIFIER_REPLACEMENT_REGEX,\n        regexReplacementString,\n      );\n      this.set('attribute.identifier', updatedIdentifier);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport $ from 'jquery';\nimport { addEventListener, runDisposables } from 'ember-lifeline';\n\nexport default Component.extend({\n  classNames: ['u__relative'],\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.set('isInitialClick', true);\n    addEventListener(this, document, 'click', this._closeOnDocumentClick);\n  },\n\n  destroy() {\n    this._super(...arguments);\n    runDisposables(this);\n  },\n\n  // These components are created as a result of a click action.\n  // We ingore the initial click as part of this handler. To prevent immediately closing the component.\n  _closeOnDocumentClick(e) {\n    let isInitialClick = this.isInitialClick;\n    if (!this.isDestroying && !isInitialClick && $(this.element).find(e.target).length === 0) {\n      this.cancelEditing();\n    }\n    this.set('isInitialClick', false);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"attribute__editor-row {{if disabled \\\"o__disabled\\\"}} layout__box o__has-columns o__flexes-to-1 o__centers-vertically\\\"\\n  data-attribute={{attribute.name}}\\n>\\n  <div class=\\\"layout__box\\\">\\n    {{#if leadQualification}}\\n      <div class=\\\"attribute__completion {{if hasAttributeValue \\\"o__complete\\\"}}\\\">\\n        <div class=\\\"attribute__completion-icon layout__box o__centers-all\\\">\\n          {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n        </div>\\n      </div>\\n    {{else}}\\n      {{ic-interface-icon attribute.icon color=\\\"gray\\\"}}\\n    {{/if}}\\n  </div>\\n  <div class=\\\"layout__box o__has-columns u__one-truncated-line attribute__collapsable-name ml-1 text-gray {{if isEditing 'o__collapsed'}}\\\">\\n    <People::AttributeAndEventDescriptionTooltip\\n      @attribute={{attribute}}\\n      @hideIcon={{true}}\\n    />\\n  </div>\\n  <div class=\\\"layout__box o__has-columns o__flexes-to-1 u__ml__5 {{if isNotEditing \\\"attribute__fit-content\\\"}}\\\">\\n    {{#if isEditing}}\\n      {{component\\n        editorComponentPath\\n        class=\\\"attribute__editor-component\\\"\\n        app=app\\n        person=person\\n        attribute=attribute\\n        value=currentAttributeValue\\n        isEditing=isEditing\\n        completeEditing=(action \\\"completeEditing\\\")\\n        cancelEditing=(action \\\"cancelEditing\\\")\\n      }}\\n    {{else}}\\n      <People::Attributes::FormattedValue\\n        @hasAttributeValue={{hasAttributeValue}}\\n        @disabled={{disabled}}\\n        @attributeIdentifiesUser={{attributeIdentifiesUser}}\\n        @attribute={{attribute}}\\n        @editableObject={{editableObject}}\\n        @value={{currentAttributeValue}}\\n        @beginEditing={{action \\\"beginEditing\\\"}}\\n      />\\n    {{/if}}\\n  </div>\\n  {{#if (and hasAttributeValue isNotEditing isNotDisabled)}}\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      {{#if isUrlValue}}\\n        <a href=\\\"{{linkUrl}}\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">\\n          <span class=\\\"layout__box u__pointer-cursor quick-action attribute__link-icon\\\">\\n            {{ic-interface-icon \\\"new-window\\\" solo=true}}\\n          </span>\\n        </a>\\n      {{/if}}\\n      {{#if collectedByTeammate}}\\n        <span\\n          class=\\\"layout__box u__pointer-cursor quick-action attribute__resync-icon\\\"\\n          {{action \\\"resyncData\\\"}}\\n          {{tooltip content=\\\"Update with data sent automatically from your app or site. This will delete manually edited data.\\\"}}\\n        >\\n          {{ic-interface-icon \\\"reload\\\" solo=true}}\\n        </span>\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n</div>\\n{{#if (and hasAttributeValue isNotEditing collectedByOperator)}}\\n  <span\\n    class=\\\"layout__box attribute__operator-icon\\\"\\n    {{tooltip content=\\\"This data was manually entered by this person via Operator\\\"}}\\n  >\\n    {{ic-interface-icon \\\"operator\\\" solo=true}}\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"attribute__editor-row {{if disabled \\\"o__disabled\\\"}} layout__box o__has-columns o__flexes-to-1 o__centers-vertically\\\"\\n  data-attribute={{attribute.name}}\\n>\\n  <div class=\\\"layout__box\\\">\\n    {{#if leadQualification}}\\n      <div class=\\\"attribute__completion {{if hasAttributeValue \\\"o__complete\\\"}}\\\">\\n        <div class=\\\"attribute__completion-icon layout__box o__centers-all\\\">\\n          {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n        </div>\\n      </div>\\n    {{else}}\\n      {{ic-interface-icon attribute.icon color=\\\"gray\\\"}}\\n    {{/if}}\\n  </div>\\n  <div class=\\\"layout__box o__has-columns u__one-truncated-line attribute__collapsable-name ml-1 text-gray {{if isEditing 'o__collapsed'}}\\\">\\n    <People::AttributeAndEventDescriptionTooltip\\n      @attribute={{attribute}}\\n      @hideIcon={{true}}\\n    />\\n  </div>\\n  <div class=\\\"layout__box o__has-columns o__flexes-to-1 u__ml__5 {{if isNotEditing \\\"attribute__fit-content\\\"}}\\\">\\n    {{#if isEditing}}\\n      {{component\\n        editorComponentPath\\n        class=\\\"attribute__editor-component\\\"\\n        app=app\\n        person=person\\n        attribute=attribute\\n        value=currentAttributeValue\\n        isEditing=isEditing\\n        completeEditing=(action \\\"completeEditing\\\")\\n        cancelEditing=(action \\\"cancelEditing\\\")\\n      }}\\n    {{else}}\\n      <People::Attributes::FormattedValue\\n        @hasAttributeValue={{hasAttributeValue}}\\n        @disabled={{disabled}}\\n        @attributeIdentifiesUser={{attributeIdentifiesUser}}\\n        @attribute={{attribute}}\\n        @editableObject={{editableObject}}\\n        @value={{currentAttributeValue}}\\n        @beginEditing={{action \\\"beginEditing\\\"}}\\n      />\\n    {{/if}}\\n  </div>\\n  {{#if (and hasAttributeValue isNotEditing isNotDisabled)}}\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      {{#if isUrlValue}}\\n        <a href=\\\"{{linkUrl}}\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">\\n          <span class=\\\"layout__box u__pointer-cursor quick-action attribute__link-icon\\\">\\n            {{ic-interface-icon \\\"new-window\\\" solo=true}}\\n          </span>\\n        </a>\\n      {{/if}}\\n      {{#if collectedByTeammate}}\\n        <span\\n          class=\\\"layout__box u__pointer-cursor quick-action attribute__resync-icon\\\"\\n          {{action \\\"resyncData\\\"}}\\n          {{tooltip content=\\\"Update with data sent automatically from your app or site. This will delete manually edited data.\\\"}}\\n        >\\n          {{ic-interface-icon \\\"reload\\\" solo=true}}\\n        </span>\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n</div>\\n{{#if (and hasAttributeValue isNotEditing collectedByOperator)}}\\n  <span\\n    class=\\\"layout__box attribute__operator-icon\\\"\\n    {{tooltip content=\\\"This data was manually entered by this person via Operator\\\"}}\\n  >\\n    {{ic-interface-icon \\\"operator\\\" solo=true}}\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/people/attributes/editable-attribute.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/people/attributes/editable-attribute.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { isBlank, isPresent } from '@ember/utils';\nimport { computed, get } from '@ember/object';\nimport { alias, not, notEmpty, and, equal } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport DataUpdateContext from 'embercom/models/data/data-update-context';\nimport AttributeUpdater from 'embercom/components/mixins/people/attribute-updater';\n\nconst KNOWN_DATA_TYPES = ['string', 'integer', 'boolean', 'date', 'float'];\n\nexport default Component.extend(AttributeUpdater, {\n  classNames: ['layout__box', 'o__has-columns', 'data-test-editable-attribute'],\n  appService: service(),\n  app: alias('appService.app'),\n  leadQualification: false,\n  disabled: false,\n  isNotCentered: not('centered'),\n  isNotEditing: not('isEditing'),\n  isNotDisabled: not('disabled'),\n  hasAttributeValue: notEmpty('currentAttributeValue'),\n  hasQualificationCompany: and('attribute.isCompany', 'person.qualificationCompany'),\n  attributeIdentifiesUser: computed(\n    'person.isUserRole',\n    'person.user_id',\n    'attribute.isEmail',\n    function() {\n      if (this.get('person.isUserRole') && this.get('attribute.isEmail')) {\n        return !this.get('person.user_id');\n      }\n    },\n  ),\n  collectedByOperator: computed('sourceMetadata.source', function() {\n    let isOperatorSource = this.get('sourceMetadata.source') === DataUpdateContext.OPERATOR_SOURCE;\n    if (this.get('attribute.isCompany')) {\n      return isOperatorSource && this.get('sourceMetadata.changed_by') === this.get('person.id');\n    }\n    return isOperatorSource;\n  }),\n  collectedByTeammate: equal('sourceMetadata.source', DataUpdateContext.TEAMMATE_SOURCE),\n  sourceMetadata: computed('editableObject.metadata', 'attribute', function() {\n    return get(\n      this,\n      `editableObject.metadata.data_sources.${this.get(\n        'attribute.identifierWithoutCompanyPrefix',\n      )}`,\n    );\n  }),\n  previousValueOrEmpty: computed('sourceMetadata.previous', function() {\n    let previous = this.get('sourceMetadata.previous');\n    return isBlank(previous) ? 'empty' : `'${previous}'`;\n  }),\n\n  editorDataTypeMap: {\n    integer: 'numeric',\n    float: 'numeric',\n    date: 'date',\n    string: 'string',\n    boolean: 'boolean',\n  },\n\n  isUrlValue: computed('currentAttributeValue', function() {\n    if (this.currentAttributeValue && !(this.get('attribute.type') === 'date')) {\n      let value = this.currentAttributeValue.toString();\n      return value.match(/^https?:\\/\\//) || value.match(/^www\\./) || value.split('.').length >= 2;\n    }\n  }),\n  linkUrl: computed('currentAttributeValue', 'attribute.isEmail', function() {\n    let value = this.currentAttributeValue.toString();\n    if (value.match(/^https?:\\/\\//)) {\n      return value;\n    } else if (this.get('attribute.isEmail')) {\n      value = value.split('@').get('lastObject');\n    }\n    return `//${value}`;\n  }),\n\n  editorComponentPath: computed('attribute.type', function() {\n    if (isPresent(this.get('attribute.options'))) {\n      return `people/attributes/multiple-choice-editor`;\n    }\n\n    if (this.get('attribute.identifier') === 'company.name') {\n      return `people/profile/editable-company-name`;\n    }\n\n    let dataType = this.get('attribute.type');\n    if (KNOWN_DATA_TYPES.includes(dataType)) {\n      return `people/attributes/${this.editorDataTypeMap[dataType]}-editor`;\n    }\n  }),\n\n  actions: {\n    beginEditing() {\n      if (!this.disabled && !this.attributeIdentifiesUser) {\n        this.set('isEditing', true);\n      }\n    },\n    completeEditing(value) {\n      if (value !== this.currentAttributeValue) {\n        this._performUpdateTask('updateAttributeValue', value);\n      }\n      this.set('isEditing', false);\n    },\n    cancelEditing() {\n      this.set('isEditing', false);\n    },\n    resyncData() {\n      this._performUpdateTask('resyncAttributeData');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"attribute__label-wrapper layout__box o__has-columns {{if (or disabled attributeIdentifiesUser) 'o__disabled'}} {{if (or attribute.hasOptions attribute.isDateFilter) 'o__dropdown'}}\\\" {{action 'attributeClicked'}} data-test-qualification-attribute-value>\\n  <div class=\\\"u__one-truncated-line\\\">\\n    {{#if hasAttributeValue}}\\n      <IcTooltip @isInteractive={{attribute.isEmail}} as |tooltip|>\\n        <tooltip.opener>\\n          <div data-value={{value}}>\\n            <span class=\\\"u__one-truncated-line attribute__value-label\\\">\\n              {{#if (eq attribute.type 'date')}}\\n                {{format-date date=value format=\\\"dateHumanized\\\"}}\\n              {{else if attribute.isEmail}}\\n                {{emailParts.firstObject}}@<a href=\\\"http://{{emailParts.lastObject}}\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">{{emailParts.lastObject}}</a>\\n              {{else}}\\n                {{stringifiedValue}}\\n              {{/if}}\\n            </span>\\n          </div>\\n        </tooltip.opener>\\n        <tooltip.content>\\n          <People::Attributes::AttributeValueInfoTooltip\\n            @model={{editableObject}}\\n            @attribute={{attribute}}\\n            @value={{value}}\\n            @attributeIdentifiesUser={{attributeIdentifiesUser}}\\n            @hideTooltip={{tooltip.hide}}\\n          />\\n        </tooltip.content>\\n      </IcTooltip>\\n    {{else if disabled}}\\n      <div class=\\\"t__light-text\\\">Unknown</div>\\n    {{else}}\\n      <div class=\\\"text-gray attribute__add-value-label\\\">Add</div>\\n    {{/if}}\\n  </div>\\n  {{#if (or attribute.hasOptions attribute.isDateFilter)}}\\n    <span class=\\\"attribute__dropdown-caret\\\">{{ic-interface-icon 'small-down-arrow' solo=true}}</span>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"attribute__label-wrapper layout__box o__has-columns {{if (or disabled attributeIdentifiesUser) 'o__disabled'}} {{if (or attribute.hasOptions attribute.isDateFilter) 'o__dropdown'}}\\\" {{action 'attributeClicked'}} data-test-qualification-attribute-value>\\n  <div class=\\\"u__one-truncated-line\\\">\\n    {{#if hasAttributeValue}}\\n      <IcTooltip @isInteractive={{attribute.isEmail}} as |tooltip|>\\n        <tooltip.opener>\\n          <div data-value={{value}}>\\n            <span class=\\\"u__one-truncated-line attribute__value-label\\\">\\n              {{#if (eq attribute.type 'date')}}\\n                {{format-date date=value format=\\\"dateHumanized\\\"}}\\n              {{else if attribute.isEmail}}\\n                {{emailParts.firstObject}}@<a href=\\\"http://{{emailParts.lastObject}}\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">{{emailParts.lastObject}}</a>\\n              {{else}}\\n                {{stringifiedValue}}\\n              {{/if}}\\n            </span>\\n          </div>\\n        </tooltip.opener>\\n        <tooltip.content>\\n          <People::Attributes::AttributeValueInfoTooltip\\n            @model={{editableObject}}\\n            @attribute={{attribute}}\\n            @value={{value}}\\n            @attributeIdentifiesUser={{attributeIdentifiesUser}}\\n            @hideTooltip={{tooltip.hide}}\\n          />\\n        </tooltip.content>\\n      </IcTooltip>\\n    {{else if disabled}}\\n      <div class=\\\"t__light-text\\\">Unknown</div>\\n    {{else}}\\n      <div class=\\\"text-gray attribute__add-value-label\\\">Add</div>\\n    {{/if}}\\n  </div>\\n  {{#if (or attribute.hasOptions attribute.isDateFilter)}}\\n    <span class=\\\"attribute__dropdown-caret\\\">{{ic-interface-icon 'small-down-arrow' solo=true}}</span>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/people/attributes/formatted-value.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/people/attributes/formatted-value.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nexport default Component.extend({\n  tagName: '',\n  emailParts: computed('value', function() {\n    return this.value.split('@');\n  }),\n  stringifiedValue: computed('value', function() {\n    return this.value.toString();\n  }),\n\n  actions: {\n    attributeClicked() {\n      this.beginEditing();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { computed } from '@ember/object';\nimport { mapBy, empty } from '@ember/object/computed';\nimport DropdownStyleEditor from './dropdown-style-editor';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default DropdownStyleEditor.extend({\n  classNames: ['attribute__multiple-choice-editor'],\n  selectOptions: mapBy('attribute.options', 'value'),\n  _valueFromString(value) {\n    if (value === 'Unknown') {\n      return null;\n    } else {\n      return value;\n    }\n  },\n  emptyValue: empty('value'),\n  defaultValue: computed('attribute.name', function() {\n    return `Add ${this.get('attribute.name').toLowerCase()}`;\n  }),\n  stringFromValue: ternaryToProperty('emptyValue', 'defaultValue', 'value'),\n  actions: {\n    completeEditing(value) {\n      let valueForUpdate = this._valueFromString(value);\n      this.completeEditing(valueForUpdate);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport StringEditor from './string-editor';\n\nexport default StringEditor.extend({\n  layoutName: 'components/people/attributes/string-editor',\n  inputType: 'number',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each qualificationAttributes as |qualificationAttribute|}}\\n  <People::Attributes::EditableAttribute\\n    @person={{person}}\\n    @attribute={{qualificationAttribute.dataAttribute}}\\n    @leadQualification={{true}}\\n  />\\n{{/each}}\\n{{#if adminCanChangeSettings}}\\n  <div class=\\\"u__padt__10\\\">\\n    <a\\n      class=\\\"btn__tertiary__deemphasized u__mr__5\\\"\\n      href=\\\"{{href-to \\\"apps.app.settings.qualification-settings\\\"}}\\\"\\n      target=\\\"_blank\\\"\\n      rel=\\\"noopener noreferrer\\\"\\n      data-test-qualification-attributes-manage-settings\\n    >\\n      Settings ↗\\n    </a>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each qualificationAttributes as |qualificationAttribute|}}\\n  <People::Attributes::EditableAttribute\\n    @person={{person}}\\n    @attribute={{qualificationAttribute.dataAttribute}}\\n    @leadQualification={{true}}\\n  />\\n{{/each}}\\n{{#if adminCanChangeSettings}}\\n  <div class=\\\"u__padt__10\\\">\\n    <a\\n      class=\\\"btn__tertiary__deemphasized u__mr__5\\\"\\n      href=\\\"{{href-to \\\"apps.app.settings.qualification-settings\\\"}}\\\"\\n      target=\\\"_blank\\\"\\n      rel=\\\"noopener noreferrer\\\"\\n      data-test-qualification-attributes-manage-settings\\n    >\\n      Settings ↗\\n    </a>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/people/attributes/qualification-attribute-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/people/attributes/qualification-attribute-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { alias, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { findByProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  classNames: ['attribute__qualification-list'],\n\n  appService: service(),\n  app: alias('appService.app'),\n\n  adminPermission: findByProperty('app.currentAdmin.permissions', 'app_id', 'app.id'),\n  adminCanChangeSettings: readOnly('adminPermission.can_access_product_settings'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { copy } from 'ember-copy';\nimport $ from 'jquery';\nimport { next, scheduleOnce } from '@ember/runloop';\nimport Component from '@ember/component';\nexport default Component.extend({\n  inputType: 'text',\n\n  didInsertElement() {\n    this._super(...arguments);\n    // Due to an issue with Firefox and numeric input focus https://github.com/intercom/intercom/issues/84748\n    // We must run this in the next run loop, otherwise the focus-out event will fire incorrectly and\n    // immediately close the editor.\n    next(this, () => {\n      if (!this.isDestroying && $('input', this.element)) {\n        $('input', this.element)\n          .focus()\n          .select();\n      }\n    });\n  },\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.set('copiedValue', copy(this.value));\n  },\n  _completeUpdate() {\n    this.completeEditing(this.copiedValue);\n  },\n  actions: {\n    cancelEditing() {\n      this.set('copiedValue', this.value);\n      this.cancelEditing();\n    },\n    editingCompletedViaBlur() {\n      scheduleOnce('afterRender', this, this._completeUpdate);\n    },\n    editingCompletedViaEnter() {\n      $('input', this.element).blur();\n      scheduleOnce('afterRender', this, this._completeUpdate);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isEditing}}\\n  {{#if addToCompany.isRunning}}\\n    <div class=\\\"flex items-center\\\">\\n      <IcLoadingIndicator @size=\\\"tiny\\\" @inline={{true}} />\\n      <div class=\\\"flex items-start__right t__light-text\\\">\\n        Saving...\\n      </div>\\n    </div>\\n  {{else}}\\n    <OneWayInput\\n      class=\\\"f__text attribute__editor-text-field js__company-name\\\"\\n      @value={{searchTerm}}\\n      @update={{action \\\"startSearching\\\"}}\\n      placeholder=\\\"Add company name\\\"\\n      @type=\\\"text\\\"\\n      @keyEvents={{hash\\n        13=(action \\\"completeEditing\\\")\\n        27=(action \\\"cancelEditing\\\")\\n      }}\\n      data-test-qualification-company-name-input\\n    />\\n  {{/if}}\\n  {{#if shouldShowDropdown}}\\n    <div class=\\\"dropdown attribute__dropdown__fit-content o__opened attribute__editor-dropdown attribute__editor-company-dropdown z__2 u__padb__10\\\">\\n      {{#if findCompanies.isRunning}}\\n        <IcLoadingIndicator @size=\\\"small\\\" />\\n      {{else}}\\n        {{#if hasSearchResults}}\\n          <span class=\\\"u__pad__15 text-gray t__label\\\" data-test-qualification-company-name-dropdown>\\n            Existing Companies\\n          </span>\\n          {{#each selectableItems as |item|}}\\n            <a\\n              onmousedown={{action \\\"selectItem\\\" item}}\\n              class=\\\"dropdown__list-item o__hoverable u__one-truncated-line {{if item.isHighlighted \\\"o__selected\\\"}}\\\"\\n              data-test-qualification-company-name-dropdown-item=\\\"{{item.id}}\\\"\\n            >\\n              {{ic-interface-icon item.icon}} {{item.name}}\\n            </a>\\n          {{/each}}\\n        {{/if}}\\n        {{#if hasCompanyAssigned}}\\n          <a\\n            onmousedown={{action \\\"removeFromCompany\\\"}}\\n            class=\\\"dropdown__list-item o__hoverable u__one-truncated-line\\\"\\n          >\\n            {{ic-interface-icon \\\"small-close\\\" color=\\\"gray\\\"}} Clear\\n          </a>\\n        {{/if}}\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isEditing}}\\n  {{#if addToCompany.isRunning}}\\n    <div class=\\\"flex items-center\\\">\\n      <IcLoadingIndicator @size=\\\"tiny\\\" @inline={{true}} />\\n      <div class=\\\"flex items-start__right t__light-text\\\">\\n        Saving...\\n      </div>\\n    </div>\\n  {{else}}\\n    <OneWayInput\\n      class=\\\"f__text attribute__editor-text-field js__company-name\\\"\\n      @value={{searchTerm}}\\n      @update={{action \\\"startSearching\\\"}}\\n      placeholder=\\\"Add company name\\\"\\n      @type=\\\"text\\\"\\n      @keyEvents={{hash\\n        13=(action \\\"completeEditing\\\")\\n        27=(action \\\"cancelEditing\\\")\\n      }}\\n      data-test-qualification-company-name-input\\n    />\\n  {{/if}}\\n  {{#if shouldShowDropdown}}\\n    <div class=\\\"dropdown attribute__dropdown__fit-content o__opened attribute__editor-dropdown attribute__editor-company-dropdown z__2 u__padb__10\\\">\\n      {{#if findCompanies.isRunning}}\\n        <IcLoadingIndicator @size=\\\"small\\\" />\\n      {{else}}\\n        {{#if hasSearchResults}}\\n          <span class=\\\"u__pad__15 text-gray t__label\\\" data-test-qualification-company-name-dropdown>\\n            Existing Companies\\n          </span>\\n          {{#each selectableItems as |item|}}\\n            <a\\n              onmousedown={{action \\\"selectItem\\\" item}}\\n              class=\\\"dropdown__list-item o__hoverable u__one-truncated-line {{if item.isHighlighted \\\"o__selected\\\"}}\\\"\\n              data-test-qualification-company-name-dropdown-item=\\\"{{item.id}}\\\"\\n            >\\n              {{ic-interface-icon item.icon}} {{item.name}}\\n            </a>\\n          {{/each}}\\n        {{/if}}\\n        {{#if hasCompanyAssigned}}\\n          <a\\n            onmousedown={{action \\\"removeFromCompany\\\"}}\\n            class=\\\"dropdown__list-item o__hoverable u__one-truncated-line\\\"\\n          >\\n            {{ic-interface-icon \\\"small-close\\\" color=\\\"gray\\\"}} Clear\\n          </a>\\n        {{/if}}\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/people/profile/editable-company-name.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/people/profile/editable-company-name.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-jquery */\nimport { isPresent, isEmpty } from '@ember/utils';\nimport $ from 'jquery';\nimport { next } from '@ember/runloop';\nimport { copy } from 'ember-copy';\nimport { A } from '@ember/array';\nimport EmberObject, { computed } from '@ember/object';\nimport { empty, not, or, gt } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport KeyboardSelectableDropdown from 'embercom/components/mixins/keyboard-selectable-dropdown';\nimport AttributeUpdater from 'embercom/components/mixins/people/attribute-updater';\nimport { findBy } from '@intercom/embercom-core/lib/computed-properties';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport { task, timeout } from 'ember-concurrency';\nimport ENV from 'embercom/config/environment';\nimport Company from 'embercom/models/company';\nimport DropdownStyleEditor from 'embercom/components/people/attributes/dropdown-style-editor';\n\nexport default DropdownStyleEditor.extend(AttributeUpdater, KeyboardSelectableDropdown, {\n  classNames: ['data-test-editable-company-name'],\n  notificationsService: service(),\n  selectBoxSelector: '.js__company-name',\n  shouldShowCompany: false,\n  hasNoCompanyAssigned: empty('person.companies'),\n  hasCompanyAssigned: not('hasNoCompanyAssigned'),\n  shouldShowDropdown: or('hasCompanyAssigned', 'findCompanies.isRunning', 'hasSearchResults'),\n  attribute: findBy('app.attributes', 'identifier', 'company.name'),\n  selectableItems: computed('companies', 'findCompanies.isRunning', 'companies.length', function() {\n    if (this.get('findCompanies.isRunning')) {\n      return [EmberObject.create({ name: 'spinner' })];\n    }\n    let memberCompanyIds = this.get('person.companies').mapBy('id');\n    let companiesExcludingQualification = (this.companies || A()).rejectBy(\n      'id',\n      this.get('person.qualificationCompanyId'),\n    );\n    let memberCompanies = companiesExcludingQualification.filter(company =>\n      memberCompanyIds.includes(company.get('id')),\n    );\n    let nonMemberCompanies = companiesExcludingQualification.reject(company =>\n      memberCompanyIds.includes(company.get('id')),\n    );\n    let companies = memberCompanies.concat(nonMemberCompanies);\n    return companies.map(company =>\n      EmberObject.create({\n        id: company.get('remote_company_id'),\n        name: company.get('name'),\n        icon: 'company',\n      }),\n    );\n  }),\n  selectedItem: null,\n  hasSearchResults: gt('selectableItems.length', 0),\n  noQualificationCompany: empty('person.qualificationCompanyId'),\n  findCompanies: task(function*(searchTerm) {\n    yield timeout(ENV.APP._500MS);\n    try {\n      let response = yield Company.search(\n        this.app,\n        [\n          {\n            attribute: 'company.name',\n            comparison: 'contains',\n            value: searchTerm.trim(),\n            type: 'string',\n          },\n        ],\n        { per_page: 20 },\n      );\n      this.set('companies', response.companies);\n    } catch (error) {\n      console.log('Error: ', error);\n      this.notificationsService.notifyResponseError(error, {\n        default: `Something went wrong and we couldn't search for companies.`,\n      });\n    }\n  }).restartable(),\n\n  addToCompany: task(function*(remoteCompanyId) {\n    try {\n      let response = yield this.person.addToCompany(remoteCompanyId);\n      this._updateLocalModel(response.users[0]);\n      this.cancelEditing();\n    } catch (error) {\n      this.notificationsService.notifyResponseError(error, {\n        default: `Something went wrong and we couldn't add this company`,\n      });\n    } finally {\n      this._reset();\n    }\n  }),\n  removeFromCompanyTask: task(function*() {\n    try {\n      let qualificationCompany = this.get('person.qualificationCompany');\n      let name = this.get('person.displayAs');\n      let response = yield this.person.removeFromCompany(qualificationCompany.get('id'));\n      this._updateLocalModel(response.users[0]);\n      this.notificationsService.notifyConfirmation(\n        `${name} has been removed from ${qualificationCompany.get('name')}`,\n      );\n      this.cancelEditing();\n    } catch (error) {\n      this.notificationsService.notifyResponseError(error, {\n        default: `Something went wrong and we couldn't remove the user from this company`,\n      });\n    }\n  }),\n  // We need to overwrite the default click behaviour of the dropdown style editor as otherwise\n  // clicks to the addTask might be cancelled too early\n  _closeOnDocumentClick(e) {\n    let isInitialClick = this.isInitialClick;\n    let hasClickedOutside = $(this.element).find(e.target).length === 0;\n    let hasClickedOutsideWithoutClear =\n      hasClickedOutside && this.hasCompanyAssigned && this.get('value.length') > 0;\n    let hasClickedOutsideWithoutConfirm =\n      !this.isDestroying && hasClickedOutside && !this.openingConfirm;\n\n    if (!isInitialClick && (hasClickedOutsideWithoutClear || hasClickedOutsideWithoutConfirm)) {\n      this.send('completeEditing', this.searchTerm);\n    }\n\n    this.set('isInitialClick', false);\n  },\n  _reset() {\n    this.setProperties({\n      searchTerm: copy(this.get('editableObject.name')),\n      companies: A(),\n    });\n  },\n\n  _focusInput() {\n    next(this, function() {\n      if (!this.isDestroying) {\n        $('input', this.element)\n          .focus()\n          .select();\n      }\n    });\n  },\n\n  _confirmAddCompany(item) {\n    let options = {\n      title: 'Add to an existing company?',\n      confirmButtonText: 'Add to company',\n      cancelButtonText: 'Cancel',\n      body: `Adding ${this.get('person.displayAs')} to the company '${item.get(\n        'name',\n      )}'. They'll inherit all its company data and could receive messages that use this data`,\n      center: true,\n    };\n    return intercomConfirm(this, options);\n  },\n\n  _confirmExistingCompany(value) {\n    let options = {\n      title: `There's already a '${value}' company`,\n      confirmButtonText: 'Create new company',\n      cancelButtonText: 'Use existing company',\n      body: `You can create a new company called '${value}' or use the existing one (if you do, ${this.get(\n        'person.displayAs',\n      )} will inherit its data and could receive messages targeting the company).`,\n      center: true,\n    };\n    return intercomConfirm(this, options);\n  },\n\n  _confirmEdit(value) {\n    let options = {\n      title: 'Change company name?',\n      confirmButtonText: 'Confirm',\n      cancelButtonText: 'Cancel',\n      body: `You're about to change this company name from '${\n        this.currentAttributeValue\n      }' to '${value}' for ${this.get('editableObject.user_count')} customers`,\n      center: true,\n    };\n    return intercomConfirm(this, options);\n  },\n\n  _performTaskOnConfirm(taskName, confirm, param) {\n    this.set('openingConfirm', true);\n    return confirm\n      .then(() => {\n        return this.get(taskName).perform(param);\n      })\n      .catch(() => this._reset())\n      .finally(() => this.set('openingConfirm', false));\n  },\n\n  _addToExistingOrCreateCompany(value, existingCompany) {\n    this.set('openingConfirm', true);\n    return this._confirmExistingCompany(value)\n      .then(() => {\n        this.updateAttributeValue.perform(value);\n      })\n      .catch(e => {\n        this.person\n          .addToCompany(existingCompany.get('remoteCompanyId'))\n          .then(response => {\n            this._updateLocalModel(response.users[0]);\n            this.cancelEditing();\n          })\n          .catch(error => {\n            this.notificationsService.notifyResponseError(error, {\n              default: `Something went wrong and we couldn't add this company`,\n            });\n          });\n      })\n      .finally(() => {\n        this.set('openingConfirm', false);\n        this._reset();\n      });\n  },\n\n  didInsertElement() {\n    this._super();\n    this.set('searchTerm', copy(this.get('editableObject.name')));\n    this._focusInput();\n  },\n\n  actions: {\n    beginEditing() {\n      this.setProperties({\n        searchTerm: copy(this.get('editableObject.name')),\n        isEditing: true,\n      });\n      this._focusInput();\n    },\n    completeEditing(value) {\n      if (this.selectedItem) {\n        // This is to fix issue with bubbling events.\n        // When selectedItem is present then it shouldn't show any other modal since add to company modal is already shown.\n        return;\n      }\n      if (isPresent(this.currentAttributeValue) && isEmpty(value)) {\n        this.send('removeFromCompany');\n      } else if (value !== this.currentAttributeValue) {\n        let companies = this.companies || [];\n        let existingCompany = companies.findBy('name', value);\n\n        if (this.noQualificationCompany && existingCompany) {\n          this._addToExistingOrCreateCompany(value, existingCompany);\n        } else if (this.get('editableObject.user_count') <= 1) {\n          this.updateAttributeValue.perform(value);\n        } else {\n          this._performTaskOnConfirm('updateAttributeValue', this._confirmEdit(value), value);\n        }\n      } else {\n        this.send('cancelEditing');\n      }\n    },\n    cancelEditing() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('cancelEditing');\n    },\n    close() {\n      return;\n    },\n    async selectItem(item) {\n      let itemId = item.get('id');\n      if (itemId !== this.get('editableObject.remote_company_id')) {\n        this.set('selectedItem', item);\n        try {\n          await this._confirmAddCompany(item);\n          let response = await this.person.addToCompany(itemId);\n          this._updateLocalModel(response.users[0]);\n          this.cancelEditing();\n        } catch (e) {\n          this.notificationsService.notifyResponseError(e, {\n            default: `Something went wrong and we couldn't add this company`,\n          });\n        }\n        this.set('selectedItem', null);\n      }\n    },\n    startSearching(searchTerm) {\n      this.set('searchTerm', searchTerm);\n      if (searchTerm.trim() !== '') {\n        this.findCompanies.perform(searchTerm);\n      }\n    },\n    removeFromCompany() {\n      this.removeFromCompanyTask.perform();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"attribute__editor-row layout__box o__has-columns o__flexes-to-1 {{if centered \\\"u__center-layout profile-sidebar-section__centered-name__wrapper\\\" \\\"o__centers-vertically\\\"}}\\\"\\n>\\n  <div\\n    class=\\\"{{if (or isNotCentered isEditing) \\\"layout__box o__has-columns o__flexes-to-1\\\"}} {{if (and isNotCentered isNotEditing) \\\"attribute__fit-content\\\"}} {{if centered \\\"profile-sidebar-section__centered-name\\\"}}\\\"\\n  >\\n    {{#if isEditing}}\\n      <People::Attributes::StringEditor\\n        class=\\\"attribute__editor-component\\\"\\n        @attribute={{attribute}}\\n        @value={{currentAttributeValue}}\\n        @isEditing={{isEditing}}\\n        @completeEditing={{action \\\"completeEditing\\\"}}\\n        @cancelEditing={{action \\\"cancelEditing\\\"}}\\n      />\\n    {{else if centered}}\\n      <div class=\\\"profile-sidebar-section__centered-name__name-wrapper\\\">\\n        <LinkTo\\n          @route=\\\"apps.app.users.user\\\"\\n          @model={{person.id}}\\n          class=\\\"attribute__label-wrapper u__one-truncated-line t__solo-link profile-sidebar-section__centered-name__first-displayed\\\"\\n        >\\n          {{person.displayAs}}\\n        </LinkTo>\\n        <div class=\\\"profile-sidebar-section__centered-name__second-displayed flex items-center\\\">\\n          <LinkTo\\n            @route=\\\"apps.app.users.user\\\"\\n            @model={{person.id}}\\n            class=\\\"attribute__label-wrapper u__one-truncated-line t__solo-link flex-auto min-w-0\\\"\\n          >\\n            {{person.displayAs}}\\n          </LinkTo>\\n          <div\\n            class=\\\"layout__box u__pointer-cursor quick-action attribute__edit-icon {{if centered \\\"o__takes-space\\\"}}\\\"\\n            data-test-attribute-edit-icon\\n            {{action \\\"beginEditing\\\"}}\\n          >\\n            {{ic-interface-icon \\\"edit\\\" solo=true}}\\n          </div>\\n        </div>\\n      </div>\\n    {{else}}\\n      <LinkTo\\n        @route=\\\"apps.app.users.user\\\"\\n        @model={{person.id}}\\n        class=\\\"attribute__label-wrapper u__one-truncated-line t__solo-link\\\"\\n      >\\n        {{person.displayAs}}\\n      </LinkTo>\\n    {{/if}}\\n  </div>\\n  {{#unless (or person.isAdmin isEditing centered)}}\\n    <div\\n      class=\\\"layout__box u__pointer-cursor quick-action attribute__edit-icon {{if centered \\\"o__takes-space\\\"}}\\\"\\n      data-test-attribute-edit-icon\\n      {{action \\\"beginEditing\\\"}}\\n    >\\n      {{ic-interface-icon \\\"edit\\\" solo=true}}\\n    </div>\\n  {{/unless}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"attribute__editor-row layout__box o__has-columns o__flexes-to-1 {{if centered \\\"u__center-layout profile-sidebar-section__centered-name__wrapper\\\" \\\"o__centers-vertically\\\"}}\\\"\\n>\\n  <div\\n    class=\\\"{{if (or isNotCentered isEditing) \\\"layout__box o__has-columns o__flexes-to-1\\\"}} {{if (and isNotCentered isNotEditing) \\\"attribute__fit-content\\\"}} {{if centered \\\"profile-sidebar-section__centered-name\\\"}}\\\"\\n  >\\n    {{#if isEditing}}\\n      <People::Attributes::StringEditor\\n        class=\\\"attribute__editor-component\\\"\\n        @attribute={{attribute}}\\n        @value={{currentAttributeValue}}\\n        @isEditing={{isEditing}}\\n        @completeEditing={{action \\\"completeEditing\\\"}}\\n        @cancelEditing={{action \\\"cancelEditing\\\"}}\\n      />\\n    {{else if centered}}\\n      <div class=\\\"profile-sidebar-section__centered-name__name-wrapper\\\">\\n        <LinkTo\\n          @route=\\\"apps.app.users.user\\\"\\n          @model={{person.id}}\\n          class=\\\"attribute__label-wrapper u__one-truncated-line t__solo-link profile-sidebar-section__centered-name__first-displayed\\\"\\n        >\\n          {{person.displayAs}}\\n        </LinkTo>\\n        <div class=\\\"profile-sidebar-section__centered-name__second-displayed flex items-center\\\">\\n          <LinkTo\\n            @route=\\\"apps.app.users.user\\\"\\n            @model={{person.id}}\\n            class=\\\"attribute__label-wrapper u__one-truncated-line t__solo-link flex-auto min-w-0\\\"\\n          >\\n            {{person.displayAs}}\\n          </LinkTo>\\n          <div\\n            class=\\\"layout__box u__pointer-cursor quick-action attribute__edit-icon {{if centered \\\"o__takes-space\\\"}}\\\"\\n            data-test-attribute-edit-icon\\n            {{action \\\"beginEditing\\\"}}\\n          >\\n            {{ic-interface-icon \\\"edit\\\" solo=true}}\\n          </div>\\n        </div>\\n      </div>\\n    {{else}}\\n      <LinkTo\\n        @route=\\\"apps.app.users.user\\\"\\n        @model={{person.id}}\\n        class=\\\"attribute__label-wrapper u__one-truncated-line t__solo-link\\\"\\n      >\\n        {{person.displayAs}}\\n      </LinkTo>\\n    {{/if}}\\n  </div>\\n  {{#unless (or person.isAdmin isEditing centered)}}\\n    <div\\n      class=\\\"layout__box u__pointer-cursor quick-action attribute__edit-icon {{if centered \\\"o__takes-space\\\"}}\\\"\\n      data-test-attribute-edit-icon\\n      {{action \\\"beginEditing\\\"}}\\n    >\\n      {{ic-interface-icon \\\"edit\\\" solo=true}}\\n    </div>\\n  {{/unless}}\\n</div>\\n\",\"moduleName\":\"embercom/components/people/profile/editable-name.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/people/profile/editable-name.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable promise/prefer-await-to-then */\nimport { inject as service } from '@ember/service';\nimport EditableAttribute from 'embercom/components/people/attributes/editable-attribute';\nimport { findBy } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default EditableAttribute.extend({\n  userUpdaterService: service(),\n  attribute: findBy('app.attributes', 'identifier', 'name'),\n  _updateDisplayName() {\n    let mainParticipant = this.get('displayedConversation.main_participant');\n    if (mainParticipant && mainParticipant.get('user_id') === this.get('person.id')) {\n      this.userUpdaterService.updateData(mainParticipant, {\n        display_as: this.currentAttributeValue,\n      });\n    }\n    this.person.updateLeadName(this.currentAttributeValue);\n  },\n  actions: {\n    completeEditing(value) {\n      if (value !== this.currentAttributeValue) {\n        this.updateAttributeValue.perform(value).then(() => this._updateDisplayName());\n      }\n      this.set('isEditing', false);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-start\\\">\\n  <span class=\\\"u__mr__10\\\">{{ic-interface-icon 'location' solo=true}}</span>\\n  <div class=\\\"flex-auto min-w-0\\\" data-test-time-and-location>\\n    {{#if hasTimeOrLocation}}\\n      {{#if hasTime}}\\n        <span>{{person.localTime}}</span>\\n      {{/if}}\\n      {{#if hasTimeAndLocation}}\\n        <span>in</span>\\n      {{/if}}\\n      {{#if (and isUSAddress hasCityAndRegionAndCountry)}}\\n        {{city}},&nbsp;{{regionCode}},&nbsp;{{country}}\\n      {{else if hasCityAndCountry}}\\n        {{city}},&nbsp;{{country}}\\n      {{else if hasCountry}}\\n        {{country}}\\n      {{/if}}\\n    {{else}}\\n      <span {{tooltip content=(concat \\\"We were unable to determine a time and location for \\\" person.first_name)}}>\\n        Unknown\\n      </span>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-start\\\">\\n  <span class=\\\"u__mr__10\\\">{{ic-interface-icon 'location' solo=true}}</span>\\n  <div class=\\\"flex-auto min-w-0\\\" data-test-time-and-location>\\n    {{#if hasTimeOrLocation}}\\n      {{#if hasTime}}\\n        <span>{{person.localTime}}</span>\\n      {{/if}}\\n      {{#if hasTimeAndLocation}}\\n        <span>in</span>\\n      {{/if}}\\n      {{#if (and isUSAddress hasCityAndRegionAndCountry)}}\\n        {{city}},&nbsp;{{regionCode}},&nbsp;{{country}}\\n      {{else if hasCityAndCountry}}\\n        {{city}},&nbsp;{{country}}\\n      {{else if hasCountry}}\\n        {{country}}\\n      {{/if}}\\n    {{else}}\\n      <span {{tooltip content=(concat \\\"We were unable to determine a time and location for \\\" person.first_name)}}>\\n        Unknown\\n      </span>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/people/profile/time-and-location.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/people/profile/time-and-location.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, and, notEmpty, equal, or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  attributeService: service(),\n\n  city: readOnly('person.geoip_data.city_name'),\n  country: readOnly('person.geoip_data.country_name'),\n  regionCode: readOnly('person.geoip_data.region_code'),\n  hasCityAndRegionAndCountry: and('city', 'regionCode', 'country'),\n  hasCityAndCountry: and('city', 'country'),\n  hasCountry: notEmpty('country'),\n  hasRegion: notEmpty('regionName'),\n  isUSAddress: equal('person.geoip_data.country_code2', 'US'),\n  hasTime: readOnly('person.hasTimezone'),\n  hasTimeOrLocation: or('hasCountry', 'hasTime'),\n  hasTimeAndLocation: and('hasCountry', 'hasTime'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (and this.isActive (has-feature @requiredFeatureFlag))}}\\n  {{performance/capture-render-start subject=@subject id=this.guid version=@version}}\\n  {{yield}}\\n  {{performance/capture-render-end subject=@subject id=this.guid sampleRate=@sampleRate}}\\n{{else}}\\n  {{yield}}\\n{{/if}}\\n\", {\"contents\":\"{{#if (and this.isActive (has-feature @requiredFeatureFlag))}}\\n  {{performance/capture-render-start subject=@subject id=this.guid version=@version}}\\n  {{yield}}\\n  {{performance/capture-render-end subject=@subject id=this.guid sampleRate=@sampleRate}}\\n{{else}}\\n  {{yield}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/performance/measure-render-time.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/performance/measure-render-time.hbs\"}});\nimport Component from '@glimmer/component';\nimport { guidFor } from '@ember/object/internals';\n\nexport default class MeasureRenderTimeComponent extends Component {\n  guid;\n  isActive = true;\n\n  constructor() {\n    super(...arguments);\n\n    if (this.args.sampleRate) {\n      this.isActive = this.args.sampleRate > Math.random();\n    }\n\n    if (this.isActive) {\n      this.guid = guidFor(this);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<SubmenuComponent @title={{if app.canUseUpdatedNavigation \\\"Contacts\\\" \\\"Platform\\\"}} as |submenu|>\\n  <submenu.header\\n    @searchAction={{action \\\"toggleSearch\\\"}}\\n    @searchIsSelected={{searchController.searchActive}}\\n  />\\n  <submenu.sections as |sections|>\\n    <sections.section\\n      @isOpen={{isOnUsersRoute}}\\n      @isScrollableList={{true}} as |section|\\n    >\\n      <section.title\\n        @title=\\\"People\\\"\\n        @url={{href-to \\\"apps.app.users.segments.segment\\\" \\\"all-users\\\"}}\\n        @isSelected={{isOnUserRoute}}\\n        @onClick={{action \\\"exitSearch\\\"}}\\n      />\\n      <section.items @isUserSegmentList={{true}}>\\n        <VerticalSegmentList\\n          @segments={{app.userSegments}}\\n          @activeSegment={{userSegmentController.model}}\\n          @exitSearch={{action \\\"exitSearch\\\"}}\\n        />\\n      </section.items>\\n    </sections.section>\\n    {{#if showCompanyLink}}\\n      <sections.section\\n        @isOpen={{isOnCompaniesRoute}}\\n        @isScrollableList={{true}} as |section|\\n      >\\n        <section.title\\n          @title=\\\"Companies\\\"\\n          @url={{href-to \\\"apps.app.companies.segments.segment\\\" \\\"all\\\"}}\\n          @isSelected={{isOnCompanyRoute}}\\n          data-test-companies-section-link=\\\"true\\\"\\n        />\\n        <section.items @isCompanySegmentList={{true}}>\\n          <VerticalSegmentList\\n            @segments={{app.companySegments}}\\n            @activeSegment={{companySegmentController.model}}\\n            @isCompany={{true}}\\n          />\\n        </section.items>\\n      </sections.section>\\n    {{/if}}\\n    <sections.section as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.accounts\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Accounts\\n        </LinkTo>\\n      </section.title>\\n    </sections.section>\\n    <sections.section as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.feed\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Conversations\\n          {{#if (and app.inboxIsNotActive app.unreadCount)}}\\n            <span class=\\\"nav__counter-text\\\">\\n              ({{app.unreadCount}})\\n            </span>\\n          {{/if}}\\n        </LinkTo>\\n      </section.title>\\n    </sections.section>\\n  </submenu.sections>\\n</SubmenuComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<SubmenuComponent @title={{if app.canUseUpdatedNavigation \\\"Contacts\\\" \\\"Platform\\\"}} as |submenu|>\\n  <submenu.header\\n    @searchAction={{action \\\"toggleSearch\\\"}}\\n    @searchIsSelected={{searchController.searchActive}}\\n  />\\n  <submenu.sections as |sections|>\\n    <sections.section\\n      @isOpen={{isOnUsersRoute}}\\n      @isScrollableList={{true}} as |section|\\n    >\\n      <section.title\\n        @title=\\\"People\\\"\\n        @url={{href-to \\\"apps.app.users.segments.segment\\\" \\\"all-users\\\"}}\\n        @isSelected={{isOnUserRoute}}\\n        @onClick={{action \\\"exitSearch\\\"}}\\n      />\\n      <section.items @isUserSegmentList={{true}}>\\n        <VerticalSegmentList\\n          @segments={{app.userSegments}}\\n          @activeSegment={{userSegmentController.model}}\\n          @exitSearch={{action \\\"exitSearch\\\"}}\\n        />\\n      </section.items>\\n    </sections.section>\\n    {{#if showCompanyLink}}\\n      <sections.section\\n        @isOpen={{isOnCompaniesRoute}}\\n        @isScrollableList={{true}} as |section|\\n      >\\n        <section.title\\n          @title=\\\"Companies\\\"\\n          @url={{href-to \\\"apps.app.companies.segments.segment\\\" \\\"all\\\"}}\\n          @isSelected={{isOnCompanyRoute}}\\n          data-test-companies-section-link=\\\"true\\\"\\n        />\\n        <section.items @isCompanySegmentList={{true}}>\\n          <VerticalSegmentList\\n            @segments={{app.companySegments}}\\n            @activeSegment={{companySegmentController.model}}\\n            @isCompany={{true}}\\n          />\\n        </section.items>\\n      </sections.section>\\n    {{/if}}\\n    <sections.section as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.accounts\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Accounts\\n        </LinkTo>\\n      </section.title>\\n    </sections.section>\\n    <sections.section as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.feed\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Conversations\\n          {{#if (and app.inboxIsNotActive app.unreadCount)}}\\n            <span class=\\\"nav__counter-text\\\">\\n              ({{app.unreadCount}})\\n            </span>\\n          {{/if}}\\n        </LinkTo>\\n      </section.title>\\n    </sections.section>\\n  </submenu.sections>\\n</SubmenuComponent>\\n\",\"moduleName\":\"embercom/components/platform-nav-bar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/platform-nav-bar.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { readOnly, none, match } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport RouteRegexes from 'embercom/lib/route-regexes';\n\nexport default Component.extend({\n  tagName: '',\n  classNames: ['layout__box', 'o__has-columns'],\n  appService: service(),\n  router: service(),\n  app: readOnly('appService.app'),\n  searchController: ternaryToProperty(\n    'isOnCompaniesRoute',\n    'companiesController',\n    'usersController',\n  ),\n  noActiveSegment: none('segmentController.model'),\n  isOnCompanyRoute: match('router.currentRouteName', RouteRegexes.companyRoute),\n  isOnUserRoute: match('router.currentRouteName', RouteRegexes.userRoute),\n\n  actions: {\n    toggleSearch() {\n      this.searchController.send('toggleSearch');\n    },\n    exitSearch() {\n      this.searchController.send('exitSearch');\n    },\n  },\n});\n","define(\"embercom/components/popover-content\", [\"exports\", \"@intercom/embercom-core/components/popover-content\"], function (_exports, _popoverContent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _popoverContent.default;\n    }\n  });\n});\n","import PopoverCoordinator from '@intercom/embercom-composer/components/popover-coordinator';\nexport default PopoverCoordinator;\n","import PopoverHeader from '@intercom/embercom-composer/components/popover-header';\nexport default PopoverHeader;\n","define(\"embercom/components/popover-opener\", [\"exports\", \"@intercom/embercom-core/components/popover-opener\"], function (_exports, _popoverOpener) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _popoverOpener.default;\n    }\n  });\n});\n","define(\"embercom/components/popover\", [\"exports\", \"@intercom/embercom-core/components/popover\"], function (_exports, _popover) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _popover.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (service 'app-service.app') as |app|}}\\n  <MessageEditor::Content::InApp::Styles @appColor={{app.base_color}} />\\n{{/let}}\\n\\n<div id=\\\"embedded_messenger\\\">\\n  {{#if (eq @deviceType 'ios')}}\\n    <Post::Chrome::Ios @isEditing={{@isEditing}} @post={{@post}}>\\n      {{yield}}\\n    </Post::Chrome::Ios>\\n  {{else if (eq @deviceType 'android')}}\\n    <Post::Chrome::Android @isEditing={{@isEditing}} @post={{@post}}>\\n      {{yield}}\\n    </Post::Chrome::Android>\\n  {{else}}\\n    <Post::Chrome::Web @isEditing={{@isEditing}}  @deviceType={{@deviceType}} @post={{@post}}>\\n      {{yield}}\\n    </Post::Chrome::Web>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{#let (service 'app-service.app') as |app|}}\\n  <MessageEditor::Content::InApp::Styles @appColor={{app.base_color}} />\\n{{/let}}\\n\\n<div id=\\\"embedded_messenger\\\">\\n  {{#if (eq @deviceType 'ios')}}\\n    <Post::Chrome::Ios @isEditing={{@isEditing}} @post={{@post}}>\\n      {{yield}}\\n    </Post::Chrome::Ios>\\n  {{else if (eq @deviceType 'android')}}\\n    <Post::Chrome::Android @isEditing={{@isEditing}} @post={{@post}}>\\n      {{yield}}\\n    </Post::Chrome::Android>\\n  {{else}}\\n    <Post::Chrome::Web @isEditing={{@isEditing}}  @deviceType={{@deviceType}} @post={{@post}}>\\n      {{yield}}\\n    </Post::Chrome::Web>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/post/chrome.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/post/chrome.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col justify-end post__chrome__android__main-shell\\\" data-test-android-chrome>\\n  <div class=\\\"post__chrome__android__inner-overlay\\\">\\n    {{#if @post.isSmall}}\\n      <div class=\\\"post__chrome__android__messenger-container\\\">\\n        <Post::Chrome::MobileSmall @device=\\\"android\\\"  @isEditing={{@isEditing}} @post={{@post}}>\\n          {{yield}}\\n        </Post::Chrome::MobileSmall>\\n      </div>\\n    {{else}}\\n      <Post::Chrome::MobileLarge @device=\\\"android\\\"  @isEditing={{@isEditing}} @post={{@post}}>\\n        {{yield}}\\n      </Post::Chrome::MobileLarge>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col justify-end post__chrome__android__main-shell\\\" data-test-android-chrome>\\n  <div class=\\\"post__chrome__android__inner-overlay\\\">\\n    {{#if @post.isSmall}}\\n      <div class=\\\"post__chrome__android__messenger-container\\\">\\n        <Post::Chrome::MobileSmall @device=\\\"android\\\"  @isEditing={{@isEditing}} @post={{@post}}>\\n          {{yield}}\\n        </Post::Chrome::MobileSmall>\\n      </div>\\n    {{else}}\\n      <Post::Chrome::MobileLarge @device=\\\"android\\\"  @isEditing={{@isEditing}} @post={{@post}}>\\n        {{yield}}\\n      </Post::Chrome::MobileLarge>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/post/chrome/android.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/post/chrome/android.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col post__chrome__ios__main-shell\\\" data-test-ios-chrome>\\n  <div class=\\\"post__chrome__ios__inner-shell\\\">\\n    {{#if @post.isSmall}}\\n      <div class=\\\"post__chrome__ios__messenger-container\\\">\\n        <Post::Chrome::MobileSmall @device=\\\"ios\\\" @isEditing={{@isEditing}} @post={{@post}}>\\n          {{yield}}\\n        </Post::Chrome::MobileSmall>\\n      </div>\\n    {{else}}\\n      <Post::Chrome::MobileLarge @device=\\\"ios\\\" @isEditing={{@isEditing}} @post={{@post}}>\\n        {{yield}}\\n      </Post::Chrome::MobileLarge>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col post__chrome__ios__main-shell\\\" data-test-ios-chrome>\\n  <div class=\\\"post__chrome__ios__inner-shell\\\">\\n    {{#if @post.isSmall}}\\n      <div class=\\\"post__chrome__ios__messenger-container\\\">\\n        <Post::Chrome::MobileSmall @device=\\\"ios\\\" @isEditing={{@isEditing}} @post={{@post}}>\\n          {{yield}}\\n        </Post::Chrome::MobileSmall>\\n      </div>\\n    {{else}}\\n      <Post::Chrome::MobileLarge @device=\\\"ios\\\" @isEditing={{@isEditing}} @post={{@post}}>\\n        {{yield}}\\n      </Post::Chrome::MobileLarge>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/post/chrome/ios.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/post/chrome/ios.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col post__chrome__mobile-large mobile__messenger mobile__post-{{@device}}\\\" data-test-post-large-mobile-chrome ...attributes>\\n  <div class=\\\"flex flex-row mobile-messenger__header o__{{@device}} {{if (eq @device 'ios') \\\"mt-10\\\"}}\\\">\\n    <div class=\\\"flex flex-col flex-1 mobile-messenger__header__from o__post o__{{@device}}\\\">\\n      <img src=\\\"{{@post.localizedPostContents.firstObject.sender.avatar.image_urls.square_50}}\\\" class=\\\"mobile-messenger__from-avatar o__post\\\">\\n      <div class=\\\"u__truncate\\\">\\n        <span>{{@post.localizedPostContents.firstObject.senderName}}</span>\\n        {{#let (service 'app-service.app') as |app|}}\\n          <span>from {{app.name}}</span>\\n        {{/let}}\\n      </div>\\n      <span class=\\\"mobile-messenger__header-last-seen o__{{@device}} o__post\\\">Active</span>\\n    </div>\\n    <span class=\\\"mobile__ios-android-icons o__{{@device}}-close o__post\\\"></span>\\n  </div>\\n  <div class=\\\"flex flex-col flex-1 mobile__post-{{@device}}__content\\\" id=\\\"intercom-embed-container\\\">\\n    {{yield}}\\n  </div>\\n  <div class=\\\"flex flex-row mobile__messenger__reply-bar mb-4 o__{{@device}}\\\">\\n    {{#if @post.isReactionsReply}}\\n      <div class=\\\"flex flex-col flex-1 post__chrome__mobile-large-reply-reaction o__post\\\">\\n        <ContentEditor::Panels::Content::Reactions::ReactionPicker @deviceType={{@device}} @isEditing={{@isEditing}} @content={{@post}} @contentType='post'/>\\n      </div>\\n    {{else}}\\n      <div class=\\\"flex flex-col flex-1 post__chrome__ios__reply-text mobile__messenger__reply-text o__post\\\">\\n        Write a reply...\\n      </div>\\n      <span class=\\\"post__chrome__ios__reply-text mobile__messenger__reply-text o__post\\\">\\n        {{#if (eq @device 'android')}}\\n          {{inline-svg 'mobile/android/attachment'}}\\n        {{else}}\\n          Send\\n        {{/if}}\\n      </span>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col post__chrome__mobile-large mobile__messenger mobile__post-{{@device}}\\\" data-test-post-large-mobile-chrome ...attributes>\\n  <div class=\\\"flex flex-row mobile-messenger__header o__{{@device}} {{if (eq @device 'ios') \\\"mt-10\\\"}}\\\">\\n    <div class=\\\"flex flex-col flex-1 mobile-messenger__header__from o__post o__{{@device}}\\\">\\n      <img src=\\\"{{@post.localizedPostContents.firstObject.sender.avatar.image_urls.square_50}}\\\" class=\\\"mobile-messenger__from-avatar o__post\\\">\\n      <div class=\\\"u__truncate\\\">\\n        <span>{{@post.localizedPostContents.firstObject.senderName}}</span>\\n        {{#let (service 'app-service.app') as |app|}}\\n          <span>from {{app.name}}</span>\\n        {{/let}}\\n      </div>\\n      <span class=\\\"mobile-messenger__header-last-seen o__{{@device}} o__post\\\">Active</span>\\n    </div>\\n    <span class=\\\"mobile__ios-android-icons o__{{@device}}-close o__post\\\"></span>\\n  </div>\\n  <div class=\\\"flex flex-col flex-1 mobile__post-{{@device}}__content\\\" id=\\\"intercom-embed-container\\\">\\n    {{yield}}\\n  </div>\\n  <div class=\\\"flex flex-row mobile__messenger__reply-bar mb-4 o__{{@device}}\\\">\\n    {{#if @post.isReactionsReply}}\\n      <div class=\\\"flex flex-col flex-1 post__chrome__mobile-large-reply-reaction o__post\\\">\\n        <ContentEditor::Panels::Content::Reactions::ReactionPicker @deviceType={{@device}} @isEditing={{@isEditing}} @content={{@post}} @contentType='post'/>\\n      </div>\\n    {{else}}\\n      <div class=\\\"flex flex-col flex-1 post__chrome__ios__reply-text mobile__messenger__reply-text o__post\\\">\\n        Write a reply...\\n      </div>\\n      <span class=\\\"post__chrome__ios__reply-text mobile__messenger__reply-text o__post\\\">\\n        {{#if (eq @device 'android')}}\\n          {{inline-svg 'mobile/android/attachment'}}\\n        {{else}}\\n          Send\\n        {{/if}}\\n      </span>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/post/chrome/mobile-large.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/post/chrome/mobile-large.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col mobile__messenger mobile__note-{{@device}}\\\" data-test-post-small-mobile-chrome ...attributes>\\n  <div class=\\\"flex flex-row mobile-messenger__header o__{{@device}}\\\">\\n    <div class=\\\"flex flex-col flex-1 mobile-messenger__header__from o__{{@device}}\\\">\\n      <img src=\\\"{{@post.localizedPostContents.firstObject.sender.avatar.image_urls.square_50}}\\\" class=\\\"mobile-messenger__from-avatar o__note\\\">\\n      <div class=\\\"u__truncate\\\">\\n        <span>{{@post.localizedPostContents.firstObject.senderName}}</span>\\n        {{#let (service 'app-service.app') as |app|}}\\n          <span>from {{app.name}}</span>\\n        {{/let}}\\n      </div>\\n      <span class=\\\"mobile-messenger__header-last-seen o__{{@device}} o__note\\\">Active</span>\\n    </div>\\n    <span class=\\\"mobile__ios-android-icons o__{{@device}}-close o__note\\\"></span>\\n  </div>\\n  <div class=\\\"flex flex-col mobile__note-{{@device}}__content\\\" id=\\\"intercom-embed-container\\\">\\n    {{yield}}\\n  </div>\\n  <div class=\\\"flex flex-row mobile__messenger__reply-bar o__{{@device}}\\\">\\n    {{#if @post.isReactionsReply}}\\n      <div class=\\\"flex flex-col flex-1 post__chrome__mobile-small-reply-reaction o__post\\\">\\n        <ContentEditor::Panels::Content::Reactions::ReactionPicker @deviceType={{@device}} @isEditing={{@isEditing}} @content={{@post}} @contentType='post' />\\n      </div>\\n    {{else}}\\n      <div class=\\\"flex flex-col flex-1 post__chrome__ios__reply-text mobile__messenger__reply-text\\\">\\n        Write a reply...\\n      </div>\\n      <span class=\\\"post__chrome__ios__reply-text mobile__messenger__reply-text\\\">\\n        {{#if (eq @device 'android')}}\\n          {{inline-svg 'mobile/android/attachment'}}\\n        {{else}}\\n          Send\\n        {{/if}}\\n      </span>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col mobile__messenger mobile__note-{{@device}}\\\" data-test-post-small-mobile-chrome ...attributes>\\n  <div class=\\\"flex flex-row mobile-messenger__header o__{{@device}}\\\">\\n    <div class=\\\"flex flex-col flex-1 mobile-messenger__header__from o__{{@device}}\\\">\\n      <img src=\\\"{{@post.localizedPostContents.firstObject.sender.avatar.image_urls.square_50}}\\\" class=\\\"mobile-messenger__from-avatar o__note\\\">\\n      <div class=\\\"u__truncate\\\">\\n        <span>{{@post.localizedPostContents.firstObject.senderName}}</span>\\n        {{#let (service 'app-service.app') as |app|}}\\n          <span>from {{app.name}}</span>\\n        {{/let}}\\n      </div>\\n      <span class=\\\"mobile-messenger__header-last-seen o__{{@device}} o__note\\\">Active</span>\\n    </div>\\n    <span class=\\\"mobile__ios-android-icons o__{{@device}}-close o__note\\\"></span>\\n  </div>\\n  <div class=\\\"flex flex-col mobile__note-{{@device}}__content\\\" id=\\\"intercom-embed-container\\\">\\n    {{yield}}\\n  </div>\\n  <div class=\\\"flex flex-row mobile__messenger__reply-bar o__{{@device}}\\\">\\n    {{#if @post.isReactionsReply}}\\n      <div class=\\\"flex flex-col flex-1 post__chrome__mobile-small-reply-reaction o__post\\\">\\n        <ContentEditor::Panels::Content::Reactions::ReactionPicker @deviceType={{@device}} @isEditing={{@isEditing}} @content={{@post}} @contentType='post' />\\n      </div>\\n    {{else}}\\n      <div class=\\\"flex flex-col flex-1 post__chrome__ios__reply-text mobile__messenger__reply-text\\\">\\n        Write a reply...\\n      </div>\\n      <span class=\\\"post__chrome__ios__reply-text mobile__messenger__reply-text\\\">\\n        {{#if (eq @device 'android')}}\\n          {{inline-svg 'mobile/android/attachment'}}\\n        {{else}}\\n          Send\\n        {{/if}}\\n      </span>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/post/chrome/mobile-small.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/post/chrome/mobile-small.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col {{if @post.isSmall \\\"chat__chrome__web-wrapper\\\"}}\\\" data-test-post-web-chrome>\\n  {{#if @post.isSmall}}\\n    <div class=\\\"flex flex-col post__web-chrome__browser-top o__small\\\" data-test-post-web-chrome-top></div>\\n  {{else}}\\n    <div class=\\\"flex flex-row post__web-chrome__browser-top o__large\\\" data-test-post-web-chrome-top>\\n      <div class=\\\"post__web-chrome__browser-top__left\\\" data-test-post-web-chrome-top-left></div>\\n      <div class=\\\"flex-1 post__web-chrome__browser-top__middle\\\" data-test-post-web-chrome-top-middle></div>\\n      <div class=\\\"post__web-chrome__browser-top__right\\\" data-test-post-web-chrome-top-right></div>\\n    </div>\\n  {{/if}}\\n  <div class=\\\"flex flex-col flex-1 post__web-chrome__main-shell o__{{@post.readableFormat}}\\n    {{if @post.isSmall 'justify-end items-end' 'justify-center items-center'}}\\n  \\\">\\n    <div class=\\\"post__chrome__bubble o__{{@post.readableFormat}} m-8\\\">\\n      <div class=\\\"flex flex-col intercom-authored-container\\\">\\n        <div class=\\\"flex flex-row p-6 pb-4\\\">\\n          {{#let @post.localizedPostContents.firstObject as |content|}}\\n            <div class=\\\"flex flex-col\\\">\\n              <ContentEditor::Panels::Content::Chrome::Avatar @chatContent={{content}} class=\\\"intercom-authored-container-avatar o__web\\\" />\\n            </div>\\n            <div class=\\\"flex flex-col flex-1\\\">\\n              <ContentEditor::Panels::Content::Chrome::SenderSummary\\n                @sender={{content.sender}}\\n                @senderName={{content.senderName}}\\n                @showLastActive={{true}}\\n              />\\n            </div>\\n          {{/let}}\\n        </div>\\n        {{#let (if @post.isSmall 'note' 'post') as |legacyStyleClass|}}\\n          <div class=\\\"flex flex-col\\\">\\n            <div class=\\\"intercom-{{legacyStyleClass}}-body\\\">\\n              <div id=\\\"intercom-embed-container\\\" class=\\\"intercom-blocks intercom-embed-{{legacyStyleClass}}\\\">\\n                {{yield}}\\n              </div>\\n            </div>\\n          </div>\\n          <div class=\\\"flex flex-col intercom-{{legacyStyleClass}}-footer intercom-{{legacyStyleClass}}-footer-visible\\\">\\n            {{#if @post.isReactionsReply}}\\n              <ContentEditor::Panels::Content::Reactions::ReactionPicker @deviceType={{@deviceType}} @isEditing={{@isEditing}} @content={{@post}} @contentType='post' />\\n            {{else}}\\n              <div class=\\\"intercom-{{legacyStyleClass}}-composer\\\">\\n                <span class=\\\"intercom-composer-write-reply\\\">\\n                  Write a reply...\\n                </span>\\n                <span class=\\\"intercom-composer-emoji-button\\\"></span>\\n                <span class=\\\"intercom-composer-upload-button\\\"></span>\\n              </div>\\n            {{/if}}\\n          </div>\\n        {{/let}}\\n      </div>\\n    </div>\\n    {{#if @post.isSmall}}\\n      <ContentEditor::Panels::Content::Chrome::Bottom data-test-post-web-chrome-bottom/>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col {{if @post.isSmall \\\"chat__chrome__web-wrapper\\\"}}\\\" data-test-post-web-chrome>\\n  {{#if @post.isSmall}}\\n    <div class=\\\"flex flex-col post__web-chrome__browser-top o__small\\\" data-test-post-web-chrome-top></div>\\n  {{else}}\\n    <div class=\\\"flex flex-row post__web-chrome__browser-top o__large\\\" data-test-post-web-chrome-top>\\n      <div class=\\\"post__web-chrome__browser-top__left\\\" data-test-post-web-chrome-top-left></div>\\n      <div class=\\\"flex-1 post__web-chrome__browser-top__middle\\\" data-test-post-web-chrome-top-middle></div>\\n      <div class=\\\"post__web-chrome__browser-top__right\\\" data-test-post-web-chrome-top-right></div>\\n    </div>\\n  {{/if}}\\n  <div class=\\\"flex flex-col flex-1 post__web-chrome__main-shell o__{{@post.readableFormat}}\\n    {{if @post.isSmall 'justify-end items-end' 'justify-center items-center'}}\\n  \\\">\\n    <div class=\\\"post__chrome__bubble o__{{@post.readableFormat}} m-8\\\">\\n      <div class=\\\"flex flex-col intercom-authored-container\\\">\\n        <div class=\\\"flex flex-row p-6 pb-4\\\">\\n          {{#let @post.localizedPostContents.firstObject as |content|}}\\n            <div class=\\\"flex flex-col\\\">\\n              <ContentEditor::Panels::Content::Chrome::Avatar @chatContent={{content}} class=\\\"intercom-authored-container-avatar o__web\\\" />\\n            </div>\\n            <div class=\\\"flex flex-col flex-1\\\">\\n              <ContentEditor::Panels::Content::Chrome::SenderSummary\\n                @sender={{content.sender}}\\n                @senderName={{content.senderName}}\\n                @showLastActive={{true}}\\n              />\\n            </div>\\n          {{/let}}\\n        </div>\\n        {{#let (if @post.isSmall 'note' 'post') as |legacyStyleClass|}}\\n          <div class=\\\"flex flex-col\\\">\\n            <div class=\\\"intercom-{{legacyStyleClass}}-body\\\">\\n              <div id=\\\"intercom-embed-container\\\" class=\\\"intercom-blocks intercom-embed-{{legacyStyleClass}}\\\">\\n                {{yield}}\\n              </div>\\n            </div>\\n          </div>\\n          <div class=\\\"flex flex-col intercom-{{legacyStyleClass}}-footer intercom-{{legacyStyleClass}}-footer-visible\\\">\\n            {{#if @post.isReactionsReply}}\\n              <ContentEditor::Panels::Content::Reactions::ReactionPicker @deviceType={{@deviceType}} @isEditing={{@isEditing}} @content={{@post}} @contentType='post' />\\n            {{else}}\\n              <div class=\\\"intercom-{{legacyStyleClass}}-composer\\\">\\n                <span class=\\\"intercom-composer-write-reply\\\">\\n                  Write a reply...\\n                </span>\\n                <span class=\\\"intercom-composer-emoji-button\\\"></span>\\n                <span class=\\\"intercom-composer-upload-button\\\"></span>\\n              </div>\\n            {{/if}}\\n          </div>\\n        {{/let}}\\n      </div>\\n    </div>\\n    {{#if @post.isSmall}}\\n      <ContentEditor::Panels::Content::Chrome::Bottom data-test-post-web-chrome-bottom/>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/post/chrome/web.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/post/chrome/web.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row\\\" data-test-post-editor ...attributes {{did-update this.setupCurrentModel @post}}>\\n  <div class=\\\"flex flex-col\\\">\\n    {{#liquid-if @isEditing class=\\\"content-editor__animated-sidebar\\\"}}\\n      <Post::Sidebar @post={{@post}} />\\n    {{/liquid-if}}\\n  </div>\\n\\n  <div class=\\\"flex flex-col flex-1 gap-4\\\">\\n    <div class=\\\"flex flex-col post__editor__content-container o__{{@post.readableFormat}}\\\" data-test-post-content-container>\\n      {{#if (and @isEditing this.contentEditorService.isUploadingImage)}}\\n        <span class=\\\"message__editor__content__upload-indicator\\\">\\n          <IcLoadingIndicator @size=\\\"tiny\\\" />\\n          <span class=\\\"t__light-text\\\">\\n            Uploading...\\n          </span>\\n        </span>\\n      {{/if}}\\n      <Post::Chrome @post={{@post}} @isEditing={{@isEditing}} @deviceType={{this.currentDevice}}>\\n        <div id=\\\"intercom_composer\\\">\\n          <ComposerV2\\n            @app={{this.appService.app}}\\n            @attributes={{this.attributeService.userEditorAttributes}}\\n            @preset={{this.composerPreset}}\\n            @isReadOnly={{not @isEditing}}\\n            @blocks={{this.serializedBlocks}}\\n            @actionReceiver={{this.composer}}\\n            @onChange={{this.updateBlocks}}\\n            @startedUploading={{this.contentEditorService.uploadImageStarted}}\\n            @finishedUploading={{this.contentEditorService.uploadImageFinished}}\\n            @editorClass=\\\"post__editor__composer o__{{this.currentDevice}} o__{{@post.readableFormat}}\\\"\\n            @viewportSelector=\\\".content-editor__main\\\"\\n            @inserters={{array\\n              (component\\n                \\\"composer-inserter\\\"\\n                data-test-composer-inserter=\\\"emoji\\\"\\n                data=(hash\\n                  icon=\\\"lwr-happy\\\"\\n                  title=\\\"Insert emoji\\\"\\n                  configurator=(component \\\"message-editor/content/emoji-inserter\\\")\\n                )\\n              )\\n              (component\\n                \\\"composer-inserter\\\"\\n                data-test-composer-inserter=\\\"messenger-app\\\"\\n                data=(hash\\n                  icon=\\\"app-store\\\"\\n                  title=\\\"Insert app\\\"\\n                  configurator=(component\\n                    \\\"content-editor/panels/content/inserters/app\\\"\\n                    messengerApps=this.messengerApps\\n                    objectId=@post.id\\n                    objectType=this.objectType\\n                    inserterTitle=\\\"Insert into post\\\"\\n                    capability=\\\"messages\\\"\\n                  )\\n                )\\n              )\\n              (if\\n                this.toursMessengerApp\\n                (component\\n                  \\\"composer-inserter\\\"\\n                  data-test-composer-inserter=\\\"tour\\\"\\n                  data=(hash\\n                    icon=\\\"product-tours\\\"\\n                    title=\\\"Insert tour\\\"\\n                    configurator=(component\\n                      \\\"tours/tour-inserter\\\"\\n                      toursMessengerApp=this.toursMessengerApp\\n                      contextualData=this.tourInserterContext\\n                    )\\n                  )\\n                )\\n              )\\n            }}\\n            data-test-post-composer-preset={{this.composerPreset}}\\n            data-test-post-composer\\n          />\\n        </div>\\n      </Post::Chrome>\\n\\n      <ContentEditor::Panels::Content::PreferredDevices::PreviewSwitcher\\n        @preferredDevices={{@post.preferredDevices}}\\n        @updateCurrentDevice={{this.updateCurrentPreviewDevice}}\\n        @currentDevice={{this.currentDevice}}\\n      />\\n      {{#if (and (not @isEditing) this.areFollowUpActionsAllowed)}}\\n        <div class=\\\"flex flex-col p-8\\\" data-test-chat-follow-up-actions-view>\\n          <ContentEditor::Panels::Content::FollowUpActions::Editor\\n            @followUpActions={{@post.localizedPostContents.firstObject.followUpActions}}\\n            @isDisabled={{true}}\\n          />\\n        </div>\\n      {{/if}}\\n    </div>\\n    {{#if (and @isEditing this.areFollowUpActionsAllowed)}}\\n      <div class=\\\"flex flex-col chat__editor__follow-up-actions p-8\\\" data-test-post-follow-up-actions>\\n        <ContentEditor::Panels::Content::FollowUpActions::Editor\\n          @followUpActions={{@post.localizedPostContents.firstObject.followUpActions}}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row\\\" data-test-post-editor ...attributes {{did-update this.setupCurrentModel @post}}>\\n  <div class=\\\"flex flex-col\\\">\\n    {{#liquid-if @isEditing class=\\\"content-editor__animated-sidebar\\\"}}\\n      <Post::Sidebar @post={{@post}} />\\n    {{/liquid-if}}\\n  </div>\\n\\n  <div class=\\\"flex flex-col flex-1 gap-4\\\">\\n    <div class=\\\"flex flex-col post__editor__content-container o__{{@post.readableFormat}}\\\" data-test-post-content-container>\\n      {{#if (and @isEditing this.contentEditorService.isUploadingImage)}}\\n        <span class=\\\"message__editor__content__upload-indicator\\\">\\n          <IcLoadingIndicator @size=\\\"tiny\\\" />\\n          <span class=\\\"t__light-text\\\">\\n            Uploading...\\n          </span>\\n        </span>\\n      {{/if}}\\n      <Post::Chrome @post={{@post}} @isEditing={{@isEditing}} @deviceType={{this.currentDevice}}>\\n        <div id=\\\"intercom_composer\\\">\\n          <ComposerV2\\n            @app={{this.appService.app}}\\n            @attributes={{this.attributeService.userEditorAttributes}}\\n            @preset={{this.composerPreset}}\\n            @isReadOnly={{not @isEditing}}\\n            @blocks={{this.serializedBlocks}}\\n            @actionReceiver={{this.composer}}\\n            @onChange={{this.updateBlocks}}\\n            @startedUploading={{this.contentEditorService.uploadImageStarted}}\\n            @finishedUploading={{this.contentEditorService.uploadImageFinished}}\\n            @editorClass=\\\"post__editor__composer o__{{this.currentDevice}} o__{{@post.readableFormat}}\\\"\\n            @viewportSelector=\\\".content-editor__main\\\"\\n            @inserters={{array\\n              (component\\n                \\\"composer-inserter\\\"\\n                data-test-composer-inserter=\\\"emoji\\\"\\n                data=(hash\\n                  icon=\\\"lwr-happy\\\"\\n                  title=\\\"Insert emoji\\\"\\n                  configurator=(component \\\"message-editor/content/emoji-inserter\\\")\\n                )\\n              )\\n              (component\\n                \\\"composer-inserter\\\"\\n                data-test-composer-inserter=\\\"messenger-app\\\"\\n                data=(hash\\n                  icon=\\\"app-store\\\"\\n                  title=\\\"Insert app\\\"\\n                  configurator=(component\\n                    \\\"content-editor/panels/content/inserters/app\\\"\\n                    messengerApps=this.messengerApps\\n                    objectId=@post.id\\n                    objectType=this.objectType\\n                    inserterTitle=\\\"Insert into post\\\"\\n                    capability=\\\"messages\\\"\\n                  )\\n                )\\n              )\\n              (if\\n                this.toursMessengerApp\\n                (component\\n                  \\\"composer-inserter\\\"\\n                  data-test-composer-inserter=\\\"tour\\\"\\n                  data=(hash\\n                    icon=\\\"product-tours\\\"\\n                    title=\\\"Insert tour\\\"\\n                    configurator=(component\\n                      \\\"tours/tour-inserter\\\"\\n                      toursMessengerApp=this.toursMessengerApp\\n                      contextualData=this.tourInserterContext\\n                    )\\n                  )\\n                )\\n              )\\n            }}\\n            data-test-post-composer-preset={{this.composerPreset}}\\n            data-test-post-composer\\n          />\\n        </div>\\n      </Post::Chrome>\\n\\n      <ContentEditor::Panels::Content::PreferredDevices::PreviewSwitcher\\n        @preferredDevices={{@post.preferredDevices}}\\n        @updateCurrentDevice={{this.updateCurrentPreviewDevice}}\\n        @currentDevice={{this.currentDevice}}\\n      />\\n      {{#if (and (not @isEditing) this.areFollowUpActionsAllowed)}}\\n        <div class=\\\"flex flex-col p-8\\\" data-test-chat-follow-up-actions-view>\\n          <ContentEditor::Panels::Content::FollowUpActions::Editor\\n            @followUpActions={{@post.localizedPostContents.firstObject.followUpActions}}\\n            @isDisabled={{true}}\\n          />\\n        </div>\\n      {{/if}}\\n    </div>\\n    {{#if (and @isEditing this.areFollowUpActionsAllowed)}}\\n      <div class=\\\"flex flex-col chat__editor__follow-up-actions p-8\\\" data-test-post-follow-up-actions>\\n        <ContentEditor::Panels::Content::FollowUpActions::Editor\\n          @followUpActions={{@post.localizedPostContents.firstObject.followUpActions}}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/post/editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/post/editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { schedule } from '@ember/runloop';\nimport { tracked } from '@glimmer/tracking';\nimport createFragmentFromBlock from 'embercom/lib/blocks/create-fragment-from-block';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport { replyTypeOptions } from 'embercom/models/posts/post';\nimport { compareBlocks } from 'embercom/lib/developer-hub/diff-calculator';\nimport { preferredDevices } from 'embercom/models/data/outbound/constants';\n\nconst intercomToursPackageId = 'intercom-tours';\n\nexport default class PostEditorComponent extends Component {\n  @service attributeService;\n  @service appService;\n  @service contentEditorService;\n  @service store;\n\n  @tracked serializedBlocks = [];\n  @tracked currentPostContent;\n  @tracked currentDevice = this._firstPreferredDevice();\n  @tracked messengerApps = [];\n\n  constructor() {\n    super(...arguments);\n    this.setupCurrentModel();\n    this.fetchMessengerApps.perform();\n  }\n\n  get composerPreset() {\n    if (!this.args.isEditing) {\n      return 'readOnly';\n    }\n\n    let presetBase = this.args.post.isSmall ? 'inAppAnnouncement' : 'inAppBigAnnouncement';\n    let presetVariant = this.isWeb ? 'Video' : 'Mobile';\n    return `${presetBase}${presetVariant}`;\n  }\n\n  get areFollowUpActionsAllowed() {\n    return this.args.post.replyType === replyTypeOptions.text;\n  }\n\n  get isWeb() {\n    return this.currentDevice === 'web';\n  }\n\n  get isIos() {\n    return this.currentDevice === 'ios';\n  }\n\n  get isAndroid() {\n    return this.currentDevice === 'android';\n  }\n\n  get toursMessengerApp() {\n    return this.messengerApps.find(app => app.app_package_id === intercomToursPackageId);\n  }\n\n  get objectType() {\n    return objectTypes.post;\n  }\n\n  get tourInserterContext() {\n    return {\n      object_type: this.objectType,\n      object_id: this.args.post.id,\n      location: 'message',\n    };\n  }\n\n  _firstPreferredDevice() {\n    let contentPlatform = this.args.post.preferredDevices.firstObject;\n    switch (contentPlatform) {\n      case preferredDevices.ios:\n        return 'ios';\n      case preferredDevices.android:\n        return 'android';\n      default:\n        return 'web';\n    }\n  }\n\n  @task({ drop: true })\n  *fetchMessengerApps() {\n    let messengerApps = yield this.store.query('messenger-app', { restrict_to: 'messages' });\n    this.messengerApps = messengerApps;\n  }\n\n  @action\n  setupCurrentModel() {\n    this.currentPostContent = this.args.post.localizedPostContents.firstObject;\n    schedule('afterRender', () => {\n      this.serializedBlocks = this.currentPostContent.blocks.serialize();\n      if (this.composer) {\n        this.composer.send('load', this.serializedBlocks);\n      }\n    });\n  }\n\n  @action\n  updateBlocks() {\n    if (!this.composer) {\n      return;\n    }\n    let blocks = this.composer.getBlocks();\n    if (compareBlocks(blocks, this.currentPostContent.blocks.serialize()).hasDifference) {\n      let blockFragments = blocks.map(block => createFragmentFromBlock(this.store, block));\n      this.currentPostContent.set('blocks', blockFragments);\n      this.serializedBlocks = this.currentPostContent.blocks.serialize();\n    }\n  }\n\n  @action\n  updateCurrentPreviewDevice(device) {\n    this.currentDevice = device;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col content-editor__sidebar-container\\\" data-test-post-editor-sidebar>\\n  <div class=\\\"flex flex-col flex-1 gap-6 content-editor__sidebar p-8\\\">\\n\\n    <ContentEditor::Panels::Content::AssigneeDropdownWithFallback\\n      @label=\\\"From\\\"\\n      @selectedValueId={{@post.localizedPostContents.firstObject.senderId}}\\n      @selectedValueType={{@post.localizedPostContents.firstObject.senderType}}\\n      @onChangeId={{set @post.localizedPostContents.firstObject.senderId}}\\n      @onChangeType={{set @post.localizedPostContents.firstObject.senderType}}\\n      @isEmailMode={{false}}\\n      @filterPlaceholder=\\\"Search teammates and teams...\\\"\\n      data-test-from-dropdown\\n    />\\n\\n    {{#let (service 'app-service.app') as |app|}}\\n      {{#if app.inboxIsActive}}\\n        <ContentEditor::Panels::Content::AssigneeDropdownWithFallback\\n          @label=\\\"Assign replies to\\\"\\n          @selectedValueId={{@post.localizedPostContents.firstObject.assignToId}}\\n          @selectedValueType={{@post.localizedPostContents.firstObject.assignToType}}\\n          @onChangeId={{set @post.localizedPostContents.firstObject.assignToId}}\\n          @onChangeType={{set @post.localizedPostContents.firstObject.assignToType}}\\n          @allowUnassigned={{true}}\\n          @isEmailMode={{false}}\\n          @filterPlaceholder=\\\"Search teammates and teams...\\\"\\n          data-test-assign-to-dropdown\\n        />\\n      {{/if}}\\n    {{/let}}\\n\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling=\\\"label\\\">Format</Text>\\n      <PulseCandidate::VerticalRadioButtonGroup\\n        @onChange={{set @post.format}}\\n        @selected={{@post.format}}\\n        data-test-format-selector as |group|>\\n        <group.Button @icon=\\\"inapp-snippet\\\" @label=\\\"Small\\\" @value={{this.formatOptions.small}} />\\n        <group.Button @icon=\\\"inapp-post\\\" @label=\\\"Large\\\" @value={{this.formatOptions.large}} />\\n      </PulseCandidate::VerticalRadioButtonGroup>\\n    </div>\\n\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling=\\\"label\\\">Reply type</Text>\\n      <PulseCandidate::VerticalRadioButtonGroup\\n        @onChange={{this.updateReplyType}}\\n        @selected={{@post.replyType}}\\n        data-test-reply-type-selector as |group|>\\n        <group.Button @icon=\\\"chat-bubble-line\\\" @label=\\\"Text\\\" @value={{this.replyTypeOptions.text}} />\\n        <group.Button @icon=\\\"lwr-happy\\\" @label=\\\"Reaction\\\" @value={{this.replyTypeOptions.reaction}} />\\n      </PulseCandidate::VerticalRadioButtonGroup>\\n    </div>\\n\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling=\\\"label\\\">Sent as</Text>\\n      <PulseCandidate::VerticalRadioButtonGroup\\n        @onChange={{set @post.sentAs}}\\n        @selected={{@post.sentAs}}\\n        data-test-sent-as-selector as |group|>\\n        <group.Button @icon=\\\"inapp-badge\\\" @label=\\\"Badge\\\" @value={{this.sentAsOptions.badge}} />\\n        <group.Button @icon=\\\"inapp-snippet\\\" @label=\\\"Snippet\\\" @value={{this.sentAsOptions.snippet}} />\\n        <group.Button @icon=\\\"inapp-full\\\" @label=\\\"Show the full message\\\" @value={{this.sentAsOptions.full}} />\\n      </PulseCandidate::VerticalRadioButtonGroup>\\n    </div>\\n\\n    <ContentEditor::Panels::Content::PreferredDevices::Switcher @label={{\\\"Show first on\\\"}} @content={{@post}} />\\n\\n    {{#if this.showPushMessageToggle}}\\n      <div class=\\\"flex flex-col gap-1\\\">\\n        <ContentEditor::Panels::Content::PushNotificationToggle\\n          @sendPushNotification={{@post.sendPushNotification}}\\n          @togglePushNotification={{this.changePushNotificationOption}}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col content-editor__sidebar-container\\\" data-test-post-editor-sidebar>\\n  <div class=\\\"flex flex-col flex-1 gap-6 content-editor__sidebar p-8\\\">\\n\\n    <ContentEditor::Panels::Content::AssigneeDropdownWithFallback\\n      @label=\\\"From\\\"\\n      @selectedValueId={{@post.localizedPostContents.firstObject.senderId}}\\n      @selectedValueType={{@post.localizedPostContents.firstObject.senderType}}\\n      @onChangeId={{set @post.localizedPostContents.firstObject.senderId}}\\n      @onChangeType={{set @post.localizedPostContents.firstObject.senderType}}\\n      @isEmailMode={{false}}\\n      @filterPlaceholder=\\\"Search teammates and teams...\\\"\\n      data-test-from-dropdown\\n    />\\n\\n    {{#let (service 'app-service.app') as |app|}}\\n      {{#if app.inboxIsActive}}\\n        <ContentEditor::Panels::Content::AssigneeDropdownWithFallback\\n          @label=\\\"Assign replies to\\\"\\n          @selectedValueId={{@post.localizedPostContents.firstObject.assignToId}}\\n          @selectedValueType={{@post.localizedPostContents.firstObject.assignToType}}\\n          @onChangeId={{set @post.localizedPostContents.firstObject.assignToId}}\\n          @onChangeType={{set @post.localizedPostContents.firstObject.assignToType}}\\n          @allowUnassigned={{true}}\\n          @isEmailMode={{false}}\\n          @filterPlaceholder=\\\"Search teammates and teams...\\\"\\n          data-test-assign-to-dropdown\\n        />\\n      {{/if}}\\n    {{/let}}\\n\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling=\\\"label\\\">Format</Text>\\n      <PulseCandidate::VerticalRadioButtonGroup\\n        @onChange={{set @post.format}}\\n        @selected={{@post.format}}\\n        data-test-format-selector as |group|>\\n        <group.Button @icon=\\\"inapp-snippet\\\" @label=\\\"Small\\\" @value={{this.formatOptions.small}} />\\n        <group.Button @icon=\\\"inapp-post\\\" @label=\\\"Large\\\" @value={{this.formatOptions.large}} />\\n      </PulseCandidate::VerticalRadioButtonGroup>\\n    </div>\\n\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling=\\\"label\\\">Reply type</Text>\\n      <PulseCandidate::VerticalRadioButtonGroup\\n        @onChange={{this.updateReplyType}}\\n        @selected={{@post.replyType}}\\n        data-test-reply-type-selector as |group|>\\n        <group.Button @icon=\\\"chat-bubble-line\\\" @label=\\\"Text\\\" @value={{this.replyTypeOptions.text}} />\\n        <group.Button @icon=\\\"lwr-happy\\\" @label=\\\"Reaction\\\" @value={{this.replyTypeOptions.reaction}} />\\n      </PulseCandidate::VerticalRadioButtonGroup>\\n    </div>\\n\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling=\\\"label\\\">Sent as</Text>\\n      <PulseCandidate::VerticalRadioButtonGroup\\n        @onChange={{set @post.sentAs}}\\n        @selected={{@post.sentAs}}\\n        data-test-sent-as-selector as |group|>\\n        <group.Button @icon=\\\"inapp-badge\\\" @label=\\\"Badge\\\" @value={{this.sentAsOptions.badge}} />\\n        <group.Button @icon=\\\"inapp-snippet\\\" @label=\\\"Snippet\\\" @value={{this.sentAsOptions.snippet}} />\\n        <group.Button @icon=\\\"inapp-full\\\" @label=\\\"Show the full message\\\" @value={{this.sentAsOptions.full}} />\\n      </PulseCandidate::VerticalRadioButtonGroup>\\n    </div>\\n\\n    <ContentEditor::Panels::Content::PreferredDevices::Switcher @label={{\\\"Show first on\\\"}} @content={{@post}} />\\n\\n    {{#if this.showPushMessageToggle}}\\n      <div class=\\\"flex flex-col gap-1\\\">\\n        <ContentEditor::Panels::Content::PushNotificationToggle\\n          @sendPushNotification={{@post.sendPushNotification}}\\n          @togglePushNotification={{this.changePushNotificationOption}}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/post/sidebar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/post/sidebar.hbs\"}});\nimport Component from '@glimmer/component';\nimport { replyTypeOptions, formatOptions, defaultReactions } from 'embercom/models/posts/post';\nimport { action } from '@ember/object';\nimport { sentAsOptions } from 'embercom/models/data/outbound/constants';\nimport { preferredDevices } from 'embercom/models/data/outbound/constants';\n\nexport default class Sidebar extends Component {\n  replyTypeOptions = replyTypeOptions;\n  sentAsOptions = sentAsOptions;\n  formatOptions = formatOptions;\n\n  resetFollowUpActions() {\n    let followUpActions = this.args.post.localizedPostContents.firstObject.followUpActions;\n    followUpActions.answerBotEnabled = false;\n    followUpActions.leadQualificationEnabled = false;\n  }\n\n  get showPushMessageToggle() {\n    return (\n      this.args.post.preferredDevices.includes(preferredDevices.ios) ||\n      this.args.post.preferredDevices.includes(preferredDevices.android)\n    );\n  }\n\n  @action\n  updateReplyType(replyOption) {\n    this.args.post.replyType = replyOption;\n\n    if (replyOption === replyTypeOptions.reaction) {\n      this.resetFollowUpActions();\n      if (this.args.post.reactionSet.length === 0) {\n        this.args.post.reactionSet = defaultReactions;\n      }\n    } else {\n      this.args.post.reactionSet = [];\n    }\n  }\n\n  @action\n  changePushNotificationOption() {\n    this.args.post.sendPushNotification = !this.args.post.sendPushNotification;\n  }\n}\n","define(\"embercom/components/power-calendar-multiple\", [\"exports\", \"ember-power-calendar/components/power-calendar-multiple\"], function (_exports, _powerCalendarMultiple) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _powerCalendarMultiple.default;\n    }\n  });\n});\n","define(\"embercom/components/power-calendar-multiple/days\", [\"exports\", \"ember-power-calendar/components/power-calendar-multiple/days\"], function (_exports, _days) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _days.default;\n    }\n  });\n});\n","define(\"embercom/components/power-calendar-range\", [\"exports\", \"ember-power-calendar/components/power-calendar-range\"], function (_exports, _powerCalendarRange) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _powerCalendarRange.default;\n    }\n  });\n});\n","define(\"embercom/components/power-calendar-range/days\", [\"exports\", \"ember-power-calendar/components/power-calendar-range/days\"], function (_exports, _days) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _days.default;\n    }\n  });\n});\n","define(\"embercom/components/power-calendar\", [\"exports\", \"ember-power-calendar/components/power-calendar\"], function (_exports, _powerCalendar) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _powerCalendar.default;\n    }\n  });\n});\n","define(\"embercom/components/power-calendar/days\", [\"exports\", \"ember-power-calendar/components/power-calendar/days\"], function (_exports, _days) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _days.default;\n    }\n  });\n});\n","define(\"embercom/components/power-calendar/nav\", [\"exports\", \"ember-power-calendar/components/power-calendar/nav\"], function (_exports, _nav) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _nav.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::Inline::ComparisonEditor\\n  @content={{userEventOptions}}\\n  @value={{predicate.userEventAttributeType}}\\n  @scrollParentSelector={{scrollParentSelector}}\\n  @selectionChanged=\\\"selectionChanged\\\"\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::Inline::ComparisonEditor\\n  @content={{userEventOptions}}\\n  @value={{predicate.userEventAttributeType}}\\n  @scrollParentSelector={{scrollParentSelector}}\\n  @selectionChanged=\\\"selectionChanged\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/predicates/attribute-editors/user-event-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/predicates/attribute-editors/user-event-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  classNames: ['u__display-inline-block'],\n  userEventOptions: [\n    { label: 'count', value: 'count' },\n    { label: 'first occurred', value: 'first' },\n    { label: 'last occurred', value: 'last' },\n  ],\n\n  actions: {\n    selectionChanged(eventType) {\n      this.predicate.changeUserEventType(eventType);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if useTertiaryToggleButton}}\\n  <a {{action 'toggleOpenState'}} class=\\\"btn__tertiary predicate-editor__dropdown-toggle {{toggleTestBindingClasses}}\\\">{{ic-interface-icon 'new' set='tiny'}} {{dropdownText}}</a>\\n{{else}}\\n  <div class=\\\"predicate-editor__dropdown-toggle\\\">\\n    <IcButton\\n      @label={{dropdownText}}\\n      @icon=\\\"new\\\"\\n      @type=\\\"secondary\\\"\\n      @disabled={{disabled}}\\n      @iconOnly={{not dropdownText}}\\n      @onClick={{action \\\"toggleOpenState\\\"}}\\n      @testBindingClass={{toggleTestBindingClasses}}\\n    />\\n  </div>\\n{{/if}}\\n{{#if isOpen}}\\n  <div class=\\\"dropdown o__opened o__fixed f__custom-select__dropdown z__2 {{dropdownClass}}\\\">\\n   {{partial 'components/messages/partials/attribute-selector-inner'}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if useTertiaryToggleButton}}\\n  <a {{action 'toggleOpenState'}} class=\\\"btn__tertiary predicate-editor__dropdown-toggle {{toggleTestBindingClasses}}\\\">{{ic-interface-icon 'new' set='tiny'}} {{dropdownText}}</a>\\n{{else}}\\n  <div class=\\\"predicate-editor__dropdown-toggle\\\">\\n    <IcButton\\n      @label={{dropdownText}}\\n      @icon=\\\"new\\\"\\n      @type=\\\"secondary\\\"\\n      @disabled={{disabled}}\\n      @iconOnly={{not dropdownText}}\\n      @onClick={{action \\\"toggleOpenState\\\"}}\\n      @testBindingClass={{toggleTestBindingClasses}}\\n    />\\n  </div>\\n{{/if}}\\n{{#if isOpen}}\\n  <div class=\\\"dropdown o__opened o__fixed f__custom-select__dropdown z__2 {{dropdownClass}}\\\">\\n   {{partial 'components/messages/partials/attribute-selector-inner'}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/predicates/attribute-selector-dropdown-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/predicates/attribute-selector-dropdown-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/no-on-calls-in-components */\nimport { on } from '@ember/object/evented';\nimport MessageFilterSelectorComponent from 'embercom/components/message-filter-selector-component';\n\nexport default MessageFilterSelectorComponent.extend({\n  resetClassNames: on('init', function() {\n    this.set('classNames', ['ember-view', 'u__kill-focus']);\n  }),\n\n  userType: 'User',\n\n  selectBoxSelector: '.predicate-editor__dropdown-toggle',\n  closeOnScroll: true,\n  dropdownMinWidth: 300,\n\n  actions: {\n    insertFilter(filter) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('insertFilter', filter);\n      this.set('isOpen', false);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if descriptions}}\\n  {{#each descriptions as |description index|}}\\n    {{#if index}}<b> {{joinWord}} </b>{{/if}}\\n    {{#if description.text}}{{description.text}}{{/if}}\\n    {{#if description.predicates}}\\n      <b>{{description.joinDescription}} [</b>\\n      <Predicates::DescriptionComponent\\n        @joinWord={{joinWord}}\\n        @descriptions={{description.predicates}}\\n      />\\n      <b>]</b>\\n    {{/if}}\\n  {{/each}}\\n{{else}}\\n  {{noDescriptionsText}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if descriptions}}\\n  {{#each descriptions as |description index|}}\\n    {{#if index}}<b> {{joinWord}} </b>{{/if}}\\n    {{#if description.text}}{{description.text}}{{/if}}\\n    {{#if description.predicates}}\\n      <b>{{description.joinDescription}} [</b>\\n      <Predicates::DescriptionComponent\\n        @joinWord={{joinWord}}\\n        @descriptions={{description.predicates}}\\n      />\\n      <b>]</b>\\n    {{/if}}\\n  {{/each}}\\n{{else}}\\n  {{noDescriptionsText}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/predicates/description-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/predicates/description-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  tagName: 'span',\n  classNames: ['predicate__description', 't__light-text'],\n  noDescriptionsText: 'No rules added yet',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if predicateDescriptions}}\\n  {{yield predicateDescriptions}}\\n{{else if emptyFiltersText}}\\n  <span>{{emptyFiltersText}}</span>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if predicateDescriptions}}\\n  {{yield predicateDescriptions}}\\n{{else if emptyFiltersText}}\\n  <span>{{emptyFiltersText}}</span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/predicates/description-text.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/predicates/description-text.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  predicateDescriptions: ternaryToProperty(\n    'isGoalPredicate',\n    'predicateGroup.baseUserAddedGoalPredicateDescriptions',\n    'predicateGroup.baseUserAddedPredicateDescriptions',\n  ),\n});\n","define(\"embercom/components/predicates/editors/anonymous-editor\", [\"exports\", \"predicates/components/editors/anonymous-editor\"], function (_exports, _anonymousEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _anonymousEditor.default;\n    }\n  });\n});\n","define(\"embercom/components/predicates/editors/boolean-editor\", [\"exports\", \"predicates/components/editors/boolean-editor\"], function (_exports, _booleanEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _booleanEditor.default;\n    }\n  });\n});\n","define(\"embercom/components/predicates/editors/campaign-behavior-editor\", [\"exports\", \"predicates/components/editors/campaign-behavior-editor\"], function (_exports, _campaignBehaviorEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _campaignBehaviorEditor.default;\n    }\n  });\n});\n","define(\"embercom/components/predicates/editors/content-event-editor\", [\"exports\", \"predicates/components/editors/content-event-editor\"], function (_exports, _contentEventEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _contentEventEditor.default;\n    }\n  });\n});\n","define(\"embercom/components/predicates/editors/date-editor\", [\"exports\", \"predicates/components/editors/date-editor\"], function (_exports, _dateEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _dateEditor.default;\n    }\n  });\n});\n","define(\"embercom/components/predicates/editors/datetime-editor\", [\"exports\", \"predicates/components/editors/datetime-editor\"], function (_exports, _datetimeEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _datetimeEditor.default;\n    }\n  });\n});\n","define(\"embercom/components/predicates/editors/numeric-editor\", [\"exports\", \"predicates/components/editors/numeric-editor\"], function (_exports, _numericEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _numericEditor.default;\n    }\n  });\n});\n","define(\"embercom/components/predicates/editors/numeric-select-editor\", [\"exports\", \"predicates/components/editors/numeric-select-editor\"], function (_exports, _numericSelectEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _numericSelectEditor.default;\n    }\n  });\n});\n","define(\"embercom/components/predicates/editors/office-hours-schedule-editor\", [\"exports\", \"predicates/components/editors/office-hours-schedule-editor\"], function (_exports, _officeHoursScheduleEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _officeHoursScheduleEditor.default;\n    }\n  });\n});\n","define(\"embercom/components/predicates/editors/optional-select-editor\", [\"exports\", \"predicates/components/editors/optional-select-editor\"], function (_exports, _optionalSelectEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _optionalSelectEditor.default;\n    }\n  });\n});\n","define(\"embercom/components/predicates/editors/select-editor\", [\"exports\", \"predicates/components/editors/select-editor\"], function (_exports, _selectEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _selectEditor.default;\n    }\n  });\n});\n","define(\"embercom/components/predicates/editors/string-editor\", [\"exports\", \"predicates/components/editors/string-editor\"], function (_exports, _stringEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _stringEditor.default;\n    }\n  });\n});\n","define(\"embercom/components/predicates/editors/url-visit-editor\", [\"exports\", \"predicates/components/editors/url-visit-editor\"], function (_exports, _urlVisitEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _urlVisitEditor.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each predicateGroup.userAddedPredicates as |predicate|}}\\n  <Predicates::InlineGoalEditor\\n    @predicate={{predicate}}\\n    @scrollParentSelector={{scrollParentSelector}}\\n    @removePredicate={{action \\\"removePredicate\\\"}}\\n    @predicateContext={{predicateContext}}\\n    @changeComparison={{action \\\"changeComparison\\\" predicate}}\\n    @changeValue={{action \\\"changeValue\\\" predicate}}\\n    @initializeDefaultValue={{action \\\"initializeDefaultValue\\\" predicate}}\\n  />\\n{{/each}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each predicateGroup.userAddedPredicates as |predicate|}}\\n  <Predicates::InlineGoalEditor\\n    @predicate={{predicate}}\\n    @scrollParentSelector={{scrollParentSelector}}\\n    @removePredicate={{action \\\"removePredicate\\\"}}\\n    @predicateContext={{predicateContext}}\\n    @changeComparison={{action \\\"changeComparison\\\" predicate}}\\n    @changeValue={{action \\\"changeValue\\\" predicate}}\\n    @initializeDefaultValue={{action \\\"initializeDefaultValue\\\" predicate}}\\n  />\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/predicates/goal-list-editor-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/predicates/goal-list-editor-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport ListEditorComponent from 'embercom/components/predicates/list-editor-component';\n\nexport default ListEditorComponent.extend({});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseValueEditor from 'embercom/components/predicates/value-editors/base-value-editor';\nimport GoalsPredicateFilterMap from 'embercom/models/data/goals-predicate-filter-map';\n\nexport default BaseValueEditor.extend({\n  context: { isGoalPredicate: true },\n  layoutName: 'components/predicates/partials/-inline-comparison-editor',\n  comparisonOptions: GoalsPredicateFilterMap.boolean.comparison,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseValueEditor from 'embercom/components/predicates/value-editors/base-value-editor';\n\nexport default BaseValueEditor.extend({\n  context: { isGoalPredicate: true },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span class=\\\"predicate-editor__info-description\\\">has any value</span>\\n\", {\"contents\":\"<span class=\\\"predicate-editor__info-description\\\">has any value</span>\\n\",\"moduleName\":\"embercom/components/predicates/goal-value-editors/date-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/predicates/goal-value-editors/date-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport BaseValueEditor from 'embercom/components/predicates/value-editors/base-value-editor';\n\nexport default BaseValueEditor.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  context: { isGoalPredicate: true },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport NumericEditor from 'embercom/components/predicates/value-editors/numeric-editor';\nimport GoalsPredicateFilterMap from 'embercom/models/data/goals-predicate-filter-map';\n\nexport default NumericEditor.extend({\n  context: { isGoalPredicate: true },\n  layoutName: 'components/predicates/value-editors/numeric-editor',\n  comparisonOptions: GoalsPredicateFilterMap.numeric.comparison,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport NumericTagEditor from 'embercom/components/predicates/value-editors/numeric-tag-editor';\nimport GoalsPredicateFilterMap from 'embercom/models/data/goals-predicate-filter-map';\n\nexport default NumericTagEditor.extend({\n  context: { isGoalPredicate: true },\n  layoutName: 'components/predicates/value-editors/tag-editor',\n  comparisonOptions: GoalsPredicateFilterMap.numericTag.comparison,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport OptionalTagEditor from 'embercom/components/predicates/value-editors/optional-tag-editor';\nimport GoalsPredicateFilterMap from 'embercom/models/data/goals-predicate-filter-map';\n\nexport default OptionalTagEditor.extend({\n  context: { isGoalPredicate: true },\n  layoutName: 'components/predicates/value-editors/tag-editor',\n  comparisonOptions: GoalsPredicateFilterMap.optionalTag.comparison,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport StringEditor from 'embercom/components/predicates/value-editors/string-editor';\nimport GoalsPredicateFilterMap from 'embercom/models/data/goals-predicate-filter-map';\n\nexport default StringEditor.extend({\n  context: { isGoalPredicate: true },\n  layoutName: 'components/predicates/value-editors/string-editor',\n  comparisonOptions: GoalsPredicateFilterMap.string.comparison,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport TagEditor from 'embercom/components/predicates/value-editors/tag-editor';\nimport GoalsPredicateFilterMap from 'embercom/models/data/goals-predicate-filter-map';\n\nexport default TagEditor.extend({\n  context: { isGoalPredicate: true },\n  layoutName: 'components/predicates/value-editors/tag-editor',\n  comparisonOptions: GoalsPredicateFilterMap.tag.comparison,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::Inline::ComparisonEditor\\n  @content={{userEventComparisonOptions}}\\n  @value={{predicate.comparison}}\\n  @scrollParentSelector={{scrollParentSelector}}\\n  @selectionChanged=\\\"changeComparison\\\"\\n/>\\n{{#unless predicate.isTriggeredComparison}}\\n  <Input\\n    @type=\\\"number\\\"\\n    @value={{predicate.value}}\\n    placeholder=\\\"123...\\\"\\n    class=\\\"f__text o__small o__numeric predicate-editor__subtle-input-field o__max-width\\\"\\n  />\\n{{/unless}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::Inline::ComparisonEditor\\n  @content={{userEventComparisonOptions}}\\n  @value={{predicate.comparison}}\\n  @scrollParentSelector={{scrollParentSelector}}\\n  @selectionChanged=\\\"changeComparison\\\"\\n/>\\n{{#unless predicate.isTriggeredComparison}}\\n  <Input\\n    @type=\\\"number\\\"\\n    @value={{predicate.value}}\\n    placeholder=\\\"123...\\\"\\n    class=\\\"f__text o__small o__numeric predicate-editor__subtle-input-field o__max-width\\\"\\n  />\\n{{/unless}}\\n\",\"moduleName\":\"embercom/components/predicates/goal-value-editors/user-event-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/predicates/goal-value-editors/user-event-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseValueEditor from 'embercom/components/predicates/value-editors/base-value-editor';\nimport GoalsPredicateFilterMap from 'embercom/models/data/goals-predicate-filter-map';\n\nexport default BaseValueEditor.extend({\n  context: { isGoalPredicate: true },\n  userEventComparisonOptions: GoalsPredicateFilterMap.user_event.comparison,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if predicates}}\\n  {{#if isOrMode}}\\n    <span class=\\\"u__prevent-breaks\\\">\\n      <b>{{orGroupText}}</b>\\n    </span>\\n  {{/if}}\\n  {{#each predicates as |predicate|}}\\n    <span class=\\\"message__list-legacy__filter\\\" title=\\\"{{description.text}}\\\">\\n      {{#if predicate.description.icon}}{{ic-interface-icon predicate.description.icon}}{{/if}}{{capitalize predicate.description.text}}\\n    </span>\\n  {{/each}}\\n  {{#each examplePredicates as |predicate|}}\\n    <span class=\\\"message__list-legacy__filter\\\">\\n      {{ic-interface-icon 'transfer'}} {{capitalize predicate.title}} {{predicate.description}}\\n    </span>\\n  {{/each}}\\n{{else}}\\n  {{noDescriptionsText}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if predicates}}\\n  {{#if isOrMode}}\\n    <span class=\\\"u__prevent-breaks\\\">\\n      <b>{{orGroupText}}</b>\\n    </span>\\n  {{/if}}\\n  {{#each predicates as |predicate|}}\\n    <span class=\\\"message__list-legacy__filter\\\" title=\\\"{{description.text}}\\\">\\n      {{#if predicate.description.icon}}{{ic-interface-icon predicate.description.icon}}{{/if}}{{capitalize predicate.description.text}}\\n    </span>\\n  {{/each}}\\n  {{#each examplePredicates as |predicate|}}\\n    <span class=\\\"message__list-legacy__filter\\\">\\n      {{ic-interface-icon 'transfer'}} {{capitalize predicate.title}} {{predicate.description}}\\n    </span>\\n  {{/each}}\\n{{else}}\\n  {{noDescriptionsText}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/predicates/icon-description-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/predicates/icon-description-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport DescriptionComponent from 'embercom/components/predicates/description-component';\n\nexport default DescriptionComponent.extend({\n  orGroupText: 'Matches any of:',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"predicate-editor__info-name\\\">\\n  <b>{{predicate.info.name}}</b>\\n</span>\\n{{#if predicate.info.isUserEvent}}\\n  <Predicates::AttributeEditors::UserEventEditor\\n    @predicate={{predicate}}\\n    @scrollParentSelector={{scrollParentSelector}}\\n    @changeComparison={{changeComparison}}\\n    @changeValue={{changeValue}}\\n    @initializeDefaultValue={{initializeDefaultValue}}\\n  />\\n{{/if}}\\n{{#component (concat 'predicates/value-editors/' (dasherize predicate.genericType) '-editor')\\n  predicate=predicate\\n  scrollParentSelector=scrollParentSelector\\n  changeComparison=changeComparison\\n  changeValue=changeValue\\n  initializeDefaultValue=initializeDefaultValue\\n}}\\n  <Predicates::Inline::RemoveButton\\n    @predicate={{predicate}}\\n    @removePredicate={{removePredicate}}\\n    @addHighlight={{action \\\"addHighlight\\\"}}\\n    @removeHighlight={{action \\\"removeHighlight\\\"}}\\n  />\\n{{/component}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"predicate-editor__info-name\\\">\\n  <b>{{predicate.info.name}}</b>\\n</span>\\n{{#if predicate.info.isUserEvent}}\\n  <Predicates::AttributeEditors::UserEventEditor\\n    @predicate={{predicate}}\\n    @scrollParentSelector={{scrollParentSelector}}\\n    @changeComparison={{changeComparison}}\\n    @changeValue={{changeValue}}\\n    @initializeDefaultValue={{initializeDefaultValue}}\\n  />\\n{{/if}}\\n{{#component (concat 'predicates/value-editors/' (dasherize predicate.genericType) '-editor')\\n  predicate=predicate\\n  scrollParentSelector=scrollParentSelector\\n  changeComparison=changeComparison\\n  changeValue=changeValue\\n  initializeDefaultValue=initializeDefaultValue\\n}}\\n  <Predicates::Inline::RemoveButton\\n    @predicate={{predicate}}\\n    @removePredicate={{removePredicate}}\\n    @addHighlight={{action \\\"addHighlight\\\"}}\\n    @removeHighlight={{action \\\"removeHighlight\\\"}}\\n  />\\n{{/component}}\\n\",\"moduleName\":\"embercom/components/predicates/inline-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/predicates/inline-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  classNames: [\n    'predicate-editor__inline-editor o__max-width test__predicate-editor__inline-editor',\n  ],\n  classNameBindings: ['isHighlighted:predicate-editor__highlighted-editor'],\n  actions: {\n    removePredicate(predicate) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('removePredicate', predicate);\n    },\n    addHighlight() {\n      this.set('isHighlighted', true);\n    },\n    removeHighlight() {\n      this.set('isHighlighted', false);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"predicate-editor__info-name\\\">\\n  <b>\\n    {{predicate.info.name}}\\n  </b>\\n</span>{{~#if predicate.info.isUserEvent~}}\\n  <Predicates::GoalValueEditors::UserEventEditor\\n    @predicate={{predicate}}\\n    @scrollParentSelector={{scrollParentSelector}}\\n    @changeComparison={{changeComparison}}\\n    @changeValue={{changeValue}}\\n    @initializeDefaultValue={{action \\\"initializeDefaultValue\\\"}}\\n  />\\n{{~else~}}\\n  {{component\\n    (concat\\n      \\\"predicates/goal-value-editors/\\\"\\n      (dasherize predicate.genericType)\\n      \\\"-editor\\\"\\n    )\\n    predicate=predicate\\n    scrollParentSelector=scrollParentSelector\\n    predicateContext=predicateContext\\n    changeComparison=changeComparison\\n    changeValue=changeValue\\n    initializeDefaultValue=(action \\\"initializeDefaultValue\\\")\\n  }}\\n{{~/if~}}\\n<Predicates::Inline::RemoveButton\\n  @predicate={{predicate}}\\n  @removePredicate={{removePredicate}}\\n  @addHighlight={{action \\\"addHighlight\\\"}}\\n  @removeHighlight={{action \\\"removeHighlight\\\"}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"predicate-editor__info-name\\\">\\n  <b>\\n    {{predicate.info.name}}\\n  </b>\\n</span>{{~#if predicate.info.isUserEvent~}}\\n  <Predicates::GoalValueEditors::UserEventEditor\\n    @predicate={{predicate}}\\n    @scrollParentSelector={{scrollParentSelector}}\\n    @changeComparison={{changeComparison}}\\n    @changeValue={{changeValue}}\\n    @initializeDefaultValue={{action \\\"initializeDefaultValue\\\"}}\\n  />\\n{{~else~}}\\n  {{component\\n    (concat\\n      \\\"predicates/goal-value-editors/\\\"\\n      (dasherize predicate.genericType)\\n      \\\"-editor\\\"\\n    )\\n    predicate=predicate\\n    scrollParentSelector=scrollParentSelector\\n    predicateContext=predicateContext\\n    changeComparison=changeComparison\\n    changeValue=changeValue\\n    initializeDefaultValue=(action \\\"initializeDefaultValue\\\")\\n  }}\\n{{~/if~}}\\n<Predicates::Inline::RemoveButton\\n  @predicate={{predicate}}\\n  @removePredicate={{removePredicate}}\\n  @addHighlight={{action \\\"addHighlight\\\"}}\\n  @removeHighlight={{action \\\"removeHighlight\\\"}}\\n/>\\n\",\"moduleName\":\"embercom/components/predicates/inline-goal-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/predicates/inline-goal-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/no-attrs-in-components */\n/* eslint-disable ember/no-on-calls-in-components */\nimport { on } from '@ember/object/evented';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport InlineEditor from 'embercom/components/predicates/inline-editor';\n\nexport default InlineEditor.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  setupInlineEditorClasses: on('init', function() {\n    this.classNames = ['ember-view', 'test__predicate-editor__inline-editor'];\n  }),\n  actions: {\n    initializeDefaultValue(context) {\n      if (this.attrs.initializeDefaultValue) {\n        this.attrs.initializeDefaultValue(context);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"predicate-editor__inline-dropdown test__predicate-editor__comparison u__prevent-breaks {{if isOpen 'o__opened'}} {{if disabled 'o__disabled u__disable-pointer-events'}} {{if showError 'o__error'}}\\\" {{action 'toggleOpenState'}}>\\n  <span class=\\\"{{if disabled 'text-gray'}} {{unless disabled 'predicate-editor__comparison-toggle'}} {{toggleClasses}} test__comparison__toggle\\\">\\n    {{#if _mappedValue.icon}}{{ic-interface-icon _mappedValue.icon}}{{/if}}\\n    {{_mappedValue.label}}\\n    {{#if _mappedValue.tooltip}}\\n      <IcTooltip @isInteractive={{true}} as |t|>\\n        <t.opener>\\n          {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\" solo=true}}\\n        </t.opener>\\n        <t.content>\\n          {{_mappedValue.tooltip}}\\n        </t.content>\\n      </IcTooltip>\\n    {{/if}}\\n  </span>{{!\\n}}<span class=\\\"predicate-editor__arrow-icon u__disable-pointer-events\\\">{{!\\n  }}{{~#if isOpen~}}\\n      {{ic-interface-icon 'small-up-arrow' solo=true}}\\n    {{~else~}}\\n      {{ic-interface-icon 'small-down-arrow' solo=true}}\\n    {{~/if~}}\\n  </span>{{!\\n}}{{yield}}{{!\\n}}</span>\\n{{partial 'components/partials/intercom-select-dropdown'}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"predicate-editor__inline-dropdown test__predicate-editor__comparison u__prevent-breaks {{if isOpen 'o__opened'}} {{if disabled 'o__disabled u__disable-pointer-events'}} {{if showError 'o__error'}}\\\" {{action 'toggleOpenState'}}>\\n  <span class=\\\"{{if disabled 'text-gray'}} {{unless disabled 'predicate-editor__comparison-toggle'}} {{toggleClasses}} test__comparison__toggle\\\">\\n    {{#if _mappedValue.icon}}{{ic-interface-icon _mappedValue.icon}}{{/if}}\\n    {{_mappedValue.label}}\\n    {{#if _mappedValue.tooltip}}\\n      <IcTooltip @isInteractive={{true}} as |t|>\\n        <t.opener>\\n          {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\" solo=true}}\\n        </t.opener>\\n        <t.content>\\n          {{_mappedValue.tooltip}}\\n        </t.content>\\n      </IcTooltip>\\n    {{/if}}\\n  </span>{{!\\n}}<span class=\\\"predicate-editor__arrow-icon u__disable-pointer-events\\\">{{!\\n  }}{{~#if isOpen~}}\\n      {{ic-interface-icon 'small-up-arrow' solo=true}}\\n    {{~else~}}\\n      {{ic-interface-icon 'small-down-arrow' solo=true}}\\n    {{~/if~}}\\n  </span>{{!\\n}}{{yield}}{{!\\n}}</span>\\n{{partial 'components/partials/intercom-select-dropdown'}}\\n\",\"moduleName\":\"embercom/components/predicates/inline/comparison-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/predicates/inline/comparison-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport IntercomSelectComponent from 'embercom/components/intercom-select-component';\n\nexport default IntercomSelectComponent.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  classNames: ['predicate-editor__dropdown-container', 'u__display-inline-block'],\n  optionValuePath: 'value',\n  optionLabelPath: 'label',\n  handleSelectionExternally: true,\n  selectBoxSelector: '.predicate-editor__inline-dropdown',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{ic-interface-icon 'small-close' solo=true}}\", {\"contents\":\"{{ic-interface-icon 'small-close' solo=true}}\",\"moduleName\":\"embercom/components/predicates/inline/remove-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/predicates/inline/remove-button.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-attrs-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  tagName: 'span',\n  classNames: [\n    'u__pointer-cursor predicate-editor__remove-predicate test__predicate-editor__remove',\n  ],\n\n  mouseEnter() {\n    this.attrs.addHighlight();\n  },\n\n  mouseLeave() {\n    this.attrs.removeHighlight();\n  },\n\n  click() {\n    this.attrs.removePredicate(this.predicate);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::Inline::ComparisonEditor\\n  @content={{joinTypes}}\\n  @value={{joinType}}\\n  @scrollParentSelector={{scrollParentSelector}}\\n  @selectionChanged=\\\"selectionChanged\\\"\\n  @toggleClasses=\\\"campaign__match-selector\\\"\\n  @dropdownMinWidth={{dropdownMinWidth}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::Inline::ComparisonEditor\\n  @content={{joinTypes}}\\n  @value={{joinType}}\\n  @scrollParentSelector={{scrollParentSelector}}\\n  @selectionChanged=\\\"selectionChanged\\\"\\n  @toggleClasses=\\\"campaign__match-selector\\\"\\n  @dropdownMinWidth={{dropdownMinWidth}}\\n/>\\n\",\"moduleName\":\"embercom/components/predicates/join-type-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/predicates/join-type-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  classNameBindings: ['displayInline:u__display-inline-block'],\n  dropdownMinWidth: 0,\n  joinType: ternary('predicateGroup.isOrMode', 'or', 'and'),\n  actions: {\n    selectionChanged(type) {\n      this.predicateGroup.switchJoinType(type);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each predicateGroup.userAddedPredicates as |predicate|}}\\n  <Predicates::InlineEditor\\n    @predicate={{predicate}}\\n    @scrollParentSelector={{scrollParentSelector}}\\n    @removePredicate={{action \\\"removePredicate\\\"}}\\n    @changeComparison={{action \\\"changeComparison\\\" predicate}}\\n    @changeValue={{action \\\"changeValue\\\" predicate}}\\n    @initializeDefaultValue={{action \\\"initializeDefaultValue\\\" predicate}}\\n  />\\n{{/each}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each predicateGroup.userAddedPredicates as |predicate|}}\\n  <Predicates::InlineEditor\\n    @predicate={{predicate}}\\n    @scrollParentSelector={{scrollParentSelector}}\\n    @removePredicate={{action \\\"removePredicate\\\"}}\\n    @changeComparison={{action \\\"changeComparison\\\" predicate}}\\n    @changeValue={{action \\\"changeValue\\\" predicate}}\\n    @initializeDefaultValue={{action \\\"initializeDefaultValue\\\" predicate}}\\n  />\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/predicates/list-editor-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/predicates/list-editor-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  actions: {\n    removePredicate(predicate) {\n      this.predicateGroup.removePredicate(predicate);\n    },\n    changeComparison(predicate, comparison) {\n      predicate.changeComparison(comparison);\n    },\n    changeValue(predicate, value) {\n      predicate.changeValue(value);\n    },\n    initializeDefaultValue(predicate, predicateContext) {\n      predicate.initializeDefaultValue(predicateContext);\n    },\n  },\n});\n","define(\"embercom/components/predicates/logical-mode\", [\"exports\", \"predicates/components/logical-mode\"], function (_exports, _logicalMode) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _logicalMode.default;\n    }\n  });\n});\n","define(\"embercom/components/predicates/predicate-editor\", [\"exports\", \"predicates/components/predicate-editor\"], function (_exports, _predicateEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _predicateEditor.default;\n    }\n  });\n});\n","define(\"embercom/components/predicates/predicates-editor\", [\"exports\", \"predicates/components/predicates-editor\"], function (_exports, _predicatesEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _predicatesEditor.default;\n    }\n  });\n});\n","define(\"embercom/components/predicates/switchers/disableable-switcher\", [\"exports\", \"predicates/components/switchers/disableable-switcher\"], function (_exports, _disableableSwitcher) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _disableableSwitcher.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::Inline::ComparisonEditor\\n  @content={{comparisonOptions}}\\n  @value={{predicate.comparison}}\\n  @scrollParentSelector={{scrollParentSelector}}\\n  @selectionChanged=\\\"changeComparison\\\"\\n>{{yield}}</Predicates::Inline::ComparisonEditor>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::Inline::ComparisonEditor\\n  @content={{comparisonOptions}}\\n  @value={{predicate.comparison}}\\n  @scrollParentSelector={{scrollParentSelector}}\\n  @selectionChanged=\\\"changeComparison\\\"\\n>{{yield}}</Predicates::Inline::ComparisonEditor>\\n\",\"moduleName\":\"embercom/components/predicates/value-editors/anonymous-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/predicates/value-editors/anonymous-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseValueEditor from 'embercom/components/predicates/value-editors/base-value-editor';\n\nexport default BaseValueEditor.extend({\n  defaultComparison: 'false',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-attrs-in-components */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { on } from '@ember/object/evented';\nimport { or, and, reads } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  tagName: 'span',\n  context: { isGoal: false },\n  hideValueInput: or(\n    'predicate.isKnownOrUnknownComparison',\n    'predicate.isIncreaseOrDecreaseComparison',\n  ),\n  shouldSetDefaultComparison: and('defaultComparison', 'predicate.hasNoComparison'),\n  setupDefaults: on('init', function() {\n    if (this.shouldSetDefaultComparison) {\n      this.attrs.changeComparison(this.predicate.getDefaultComparison(this.context));\n    }\n    if (this.get('predicate.hasNoValue')) {\n      this.attrs.initializeDefaultValue(this.predicateContext);\n    }\n  }),\n  comparisonOptions: reads('predicate.comparisonOptions'),\n  actions: {\n    changeComparison(comparison) {\n      this.attrs.changeComparison(comparison);\n    },\n    changeValue(value) {\n      this.attrs.changeValue(value);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::Inline::ComparisonEditor\\n  @content={{comparisonOptions}}\\n  @value={{predicate.comparison}}\\n  @scrollParentSelector={{scrollParentSelector}}\\n  @selectionChanged=\\\"changeComparison\\\"\\n>{{yield}}</Predicates::Inline::ComparisonEditor>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::Inline::ComparisonEditor\\n  @content={{comparisonOptions}}\\n  @value={{predicate.comparison}}\\n  @scrollParentSelector={{scrollParentSelector}}\\n  @selectionChanged=\\\"changeComparison\\\"\\n>{{yield}}</Predicates::Inline::ComparisonEditor>\\n\",\"moduleName\":\"embercom/components/predicates/value-editors/boolean-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/predicates/value-editors/boolean-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseValueEditor from 'embercom/components/predicates/value-editors/base-value-editor';\n\nexport default BaseValueEditor.extend({\n  defaultComparison: 'true',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::Inline::ComparisonEditor\\n  @content={{comparisonOptions}}\\n  @value={{valueForOptions}}\\n  @scrollParentSelector={{scrollParentSelector}}\\n  @selectionChanged=\\\"changeComparison\\\"\\n  data-test-value={{valueForOptions}}\\n/>{{!\\n}}{{~#if predicate.isKnownOrUnknownComparison~}}\\n    {{yield}}\\n  {{~else~}}\\n    {{~#if predicate.valueIsString~}}\\n    <Common::ExpandingOneWayInput\\n      class=\\\"f__text o__small predicate-editor__subtle-input-field o__max-width\\\"\\n      @value={{predicate.value}}\\n      @update={{action changeValue}}\\n      placeholder=\\\"123...\\\"\\n      @type=\\\"number\\\"\\n    />{{!\\n      }}<span class=\\\"predicate-editor__info-description\\\">{{inflector-helper 'day' predicate.value}} ago{{!\\n        }}{{yield}}{{!\\n      }}</span>\\n    {{~else~}}\\n      {{! template-lint-disable intercom/no-legacy-datepicker }}\\n      <span class=\\\"predicate-editor__calendar-container u__prevent-breaks\\\">{{!\\n        }}<InlineCalendarDatePickerComponent\\n            @day={{predicate.value.day}}\\n            @month={{predicate.value.month}}\\n            @year={{predicate.value.year}}\\n            @scrollParent={{scrollParentSelector}}\\n          >{{yield}}</InlineCalendarDatePickerComponent>\\n      {{! template-lint-enable intercom/no-legacy-datepicker }}\\n      {{!\\n    }}</span>\\n    {{~/if~}}\\n{{~/if~}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::Inline::ComparisonEditor\\n  @content={{comparisonOptions}}\\n  @value={{valueForOptions}}\\n  @scrollParentSelector={{scrollParentSelector}}\\n  @selectionChanged=\\\"changeComparison\\\"\\n  data-test-value={{valueForOptions}}\\n/>{{!\\n}}{{~#if predicate.isKnownOrUnknownComparison~}}\\n    {{yield}}\\n  {{~else~}}\\n    {{~#if predicate.valueIsString~}}\\n    <Common::ExpandingOneWayInput\\n      class=\\\"f__text o__small predicate-editor__subtle-input-field o__max-width\\\"\\n      @value={{predicate.value}}\\n      @update={{action changeValue}}\\n      placeholder=\\\"123...\\\"\\n      @type=\\\"number\\\"\\n    />{{!\\n      }}<span class=\\\"predicate-editor__info-description\\\">{{inflector-helper 'day' predicate.value}} ago{{!\\n        }}{{yield}}{{!\\n      }}</span>\\n    {{~else~}}\\n      {{! template-lint-disable intercom/no-legacy-datepicker }}\\n      <span class=\\\"predicate-editor__calendar-container u__prevent-breaks\\\">{{!\\n        }}<InlineCalendarDatePickerComponent\\n            @day={{predicate.value.day}}\\n            @month={{predicate.value.month}}\\n            @year={{predicate.value.year}}\\n            @scrollParent={{scrollParentSelector}}\\n          >{{yield}}</InlineCalendarDatePickerComponent>\\n      {{! template-lint-enable intercom/no-legacy-datepicker }}\\n      {{!\\n    }}</span>\\n    {{~/if~}}\\n{{~/if~}}\\n\",\"moduleName\":\"embercom/components/predicates/value-editors/date-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/predicates/value-editors/date-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { readOnly, or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport {\n  templateString,\n  ternary,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport BaseValueEditor from 'embercom/components/predicates/value-editors/base-value-editor';\n\nexport default BaseValueEditor.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  defaultComparison: 'eq',\n  valueForOptions: ternaryToProperty(\n    'comparisonDoesNotRequiresSuffix',\n    'predicate.comparison',\n    'comparisonWithSuffix',\n  ),\n\n  comparisonDoesNotRequiresSuffix: or(\n    'predicate.isKnownComparison',\n    'predicate.isUnknownComparison',\n  ),\n  comparisonSuffix: ternary('predicate.isAbsoluteDate', ':absolute', ':relative'),\n  comparisonWithSuffix: templateString('${predicate.comparison}${comparisonSuffix}'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport BaseValueEditor from 'embercom/components/predicates/value-editors/base-value-editor';\n\nexport default BaseValueEditor.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport TagValueEditor from 'embercom/components/predicates/value-editors/tag-editor';\n\nexport default TagValueEditor.extend({\n  layoutName: 'components/predicates/value-editors/tag-editor',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport TagValueEditor from 'embercom/components/predicates/value-editors/tag-editor';\n\nexport default TagValueEditor.extend({\n  layoutName: 'components/predicates/value-editors/tag-editor',\n  defaultComparison: 'eq',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::Inline::ComparisonEditor\\n  @content={{valueOptions}}\\n  @value={{predicate.value}}\\n  @scrollParentSelector={{scrollParentSelector}}\\n  @selectionChanged=\\\"changeValue\\\"\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::Inline::ComparisonEditor\\n  @content={{valueOptions}}\\n  @value={{predicate.value}}\\n  @scrollParentSelector={{scrollParentSelector}}\\n  @selectionChanged=\\\"changeValue\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/predicates/value-editors/role-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/predicates/value-editors/role-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseValueEditor from 'embercom/components/predicates/value-editors/base-value-editor';\nimport PredicateFilterMap from 'embercom/models/data/predicate-filter-map';\n\nexport default BaseValueEditor.extend({\n  defaultComparison: 'eq',\n  valueOptions: PredicateFilterMap.role.comparison,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport BaseValueEditor from 'embercom/components/predicates/value-editors/base-value-editor';\n\nexport default BaseValueEditor.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  defaultComparison: 'eq',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { map } from '@ember/object/computed';\nimport BaseValueEditor from 'embercom/components/predicates/value-editors/base-value-editor';\n\nexport default BaseValueEditor.extend({\n  defaultComparison: 'in',\n  comparisonEditorOptions: map('predicate.optionsForType', function(option) {\n    option.label = option.label || option.text;\n    return option;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box {{if (not app.canUseUpdatedNavigation) \\\"mb-2\\\"}}\\\">\\n  {{#if app}}\\n    <PrimaryNav::ProductIconTooltip\\n      @productName=\\\"Home\\\"\\n      @logoAnalyticsMetadata={{logoAnalyticsMetadata}}\\n      @animationDuration={{tooltipAnimationDuration}}\\n      @classNames=\\\"\\n        {{if app.canUseUpdatedNavigation 'bg-gray-light'}}\\n        {{if (eq currentlyActiveTopNavEntryIndex 0) 'bg-gray-lightest'}}\\\"\\n    >\\n      <LinkTo\\n        @route=\\\"apps.app.home\\\"\\n        @model={{app}}\\n        @query={{hash forcePlatform=true}}\\n        data-track-analytics-event-object=\\\"intercom_home_logo\\\"\\n        data-track-analytics-event-data-property-name=\\\"logoAnalyticsMetadata\\\"\\n        data-test-main-logo={{true}}\\n        @activeClass=\\\"{{if (not app.canUseUpdatedNavigation) 'o__selected'}}\\\"\\n        @current-when=\\\"apps.app.home\\\"\\n        class=\\\"\\n          left-nav__link\\n          o__logo\\n          t__no-decoration\\n          {{if app.canUseUpdatedNavigation \\\"left-nav__updated\\\"}}\\n          {{if (and app.canUseUpdatedNavigation (eq currentlyActiveTopNavEntryIndex 0)) 'rounded-br-lg bg-gray-light'}}\\n          {{if isOnHomeRoute 'o__selected' }}\\\"\\n        data-intercom-target=\\\"Home\\\"\\n      >\\n        <NavHomeLogoComponent\\n          @showFreeBanner={{showFreeBanner}}\\n          @showUnseenLevelBadge={{showUnseenLevelBadge}}\\n          @useUpdatedIcon={{app.canUseUpdatedNavigation}}\\n          @isOnHomeRoute={{isOnHomeRoute}}\\n        />\\n      </LinkTo>\\n    </PrimaryNav::ProductIconTooltip>\\n  {{else}}\\n    <a href=\\\"/\\\" class=\\\"left-nav__link o__logo mt-4\\\">\\n      <div class=\\\"left-nav__icon\\\">\\n        {{inline-svg \\\"nav-primary-logo-loaded\\\"}}\\n      </div>\\n    </a>\\n  {{/if}}\\n</div>\\n{{#if app}}\\n  <div\\n    class=\\\"layout__box left-nav__top mb-4 {{if isTopNavSquashed \\\"o__squashed\\\"}} {{if (and (has-feature 'canUseToursInOutboundHome') (media 'isLeftNavSmall')) \\\"o__squashed\\\"}}\\\"\\n    data-left-nav-top-container\\n  >\\n    {{#each topNavEntries as |product index|}}\\n      {{#if (eq product.id  'platform')}}\\n        <PrimaryNav::ProductIconTooltip\\n          @productName={{platformPageName}}\\n          @animationDuration={{tooltipAnimationDuration}}\\n          @classNames=\\\"\\n            left-nav__link-opener\\n            {{if app.canUseUpdatedNavigation 'bg-gray-light'}}\\n            {{if (eq currentlyActiveTopNavEntryIndex (add index 1)) 'bg-gray-lightest'}}\\n            {{if (eq (add currentlyActiveTopNavEntryIndex 1) index ) 'bg-gray-lightest'}}\\\"\\n        >\\n          <LinkTo\\n            @route=\\\"apps.app.index\\\"\\n            @model={{app}}\\n            @query={{hash forcePlatform=true}}\\n            class=\\\"\\n              left-nav__link\\n              o__product\\n              o__subscribed\\n              product-icon__link\\n              js__ghostinspector__nav__platform\\n              {{if (eq currentlyActiveTopNavEntryIndex (add index 1)) 'rounded-br-lg bg-gray-light'}}\\n              {{if (eq (add currentlyActiveTopNavEntryIndex 1) index) 'rounded-tr-lg bg-gray-light'}}\\n              {{if (eq index currentlyActiveTopNavEntryIndex) 'o__selected' }}\\\"\\n            @current-when={{product.route}}\\n            @activeClass=\\\"{{if (not app.canUseUpdatedNavigation) 'o__selected'}}\\\"\\n            data-content={{platformPageName}}\\n            data-test-main-platform-icon={{true}}\\n            data-intercom-target=\\\"Platform\\\"\\n          >\\n            <div class=\\\"left-nav__icon {{if app.canUseUpdatedNavigation \\\"left-nav__updated-icon\\\"}}\\\">\\n              <ProductIconNavComponent\\n                @product={{\\n                  hash id=\\\"platform\\\"\\n                  svgId=\\\"products/2020/July/people\\\"\\n                  route=product.route\\n                }}\\n              />\\n            </div>\\n          </LinkTo>\\n        </PrimaryNav::ProductIconTooltip>\\n      {{else}}\\n        <PrimaryNav::ProductIconTooltip\\n          @productName={{product.productName}}\\n          @animationDuration={{tooltipAnimationDuration}}\\n          @classNames=\\\"left-nav__link-opener\\n            {{if app.canUseUpdatedNavigation 'bg-gray-light'}}\\n            {{if (eq currentlyActiveTopNavEntryIndex (add index 1)) 'bg-gray-lightest'}}\\n            {{if (eq (add currentlyActiveTopNavEntryIndex 1) index ) 'bg-gray-lightest'}}\\n            {{if (and (eq index 0) (and app.canUseUpdatedNavigation isOnHomeRoute)) 'bg-gray-lightest' }}\\\"\\n        >\\n          <LinkTo\\n            @route={{product.route}}\\n            @model={{app}}\\n            @replace={{true}}\\n            class=\\\"\\n              left-nav__link\\n              o__product\\n              product-icon__link\\n              js__product-tour-nav-wrapper\\n              {{if  product.active 'o__subscribed'}}\\n              {{if app.canUseFree 'o__subscribed'}}\\n              {{if (eq currentlyActiveTopNavEntryIndex (add index 1)) 'rounded-br-lg bg-gray-light'}}\\n              {{if (eq (add currentlyActiveTopNavEntryIndex 1) index) 'rounded-tr-lg bg-gray-light'}}\\n              {{if (and (eq index 0) (and app.canUseUpdatedNavigation isOnHomeRoute)) 'rounded-tr-lg bg-gray-light'}}\\n              {{if (eq index currentlyActiveTopNavEntryIndex) 'o__selected' }}\\\"\\n            @activeClass=\\\"{{if (not app.canUseUpdatedNavigation) 'o__selected'}}\\\"\\n            data-content={{product.productName}}\\n            data-test-product-icon={{product.productName}}\\n            data-track-analytics-event-object={{entry.analyticsEventObjectName}}\\n            data-intercom-target={{product.productName}}\\n          >\\n            <div class=\\\"left-nav__icon {{if app.canUseUpdatedNavigation \\\"left-nav__updated-icon\\\"}}\\\">\\n              <ProductIconNavComponent @product={{if (and (not app.canUseUpdatedNavigation) (eq product.productName \\\"Reports\\\")) (hash id=product.svgId) product}} />\\n              {{#unless (or product.active app.canUseFree app.hasValueBasedPricing)}}\\n                <div class=\\\"left-nav__icon__purchasable {{if app.canUseUpdatedNavigation \\\"left-nav__updated-icon__purchasable\\\"}}\\\" data-test-upgrade-badge>{{inline-svg 'paywall-up-arrow'}}</div>\\n              {{/unless}}\\n            </div>\\n          </LinkTo>\\n        </PrimaryNav::ProductIconTooltip>\\n      {{/if}}\\n    {{/each}}\\n    {{#if (eq topNavEntries.length (add currentlyActiveTopNavEntryIndex 1))}}\\n      <div class=\\\"left-nav__terminating-el-border w-full bg-gray-lightest\\\"><div class=\\\"bg-gray-light rounded-tr-lg w-full h-full\\\"></div></div>\\n    {{/if}}\\n  </div>\\n{{else}}\\n  <div class=\\\"layout__box\\\"></div>\\n{{/if}}\\n<div\\n  class=\\\"layout__box left-nav__bottom o__flexes-to-1\\\"\\n  data-left-nav-bottom-container\\n>\\n  {{#if app}}\\n    {{#if (and app.canUseUpdatedNavigation (gte currentlyActiveBottomNavEntryIndex 0)) }}\\n      <div class=\\\"left-nav__terminating-el-border w-full bg-gray-lightest\\\"><div class=\\\"bg-gray-light rounded-br-lg w-full h-full\\\"></div></div>\\n    {{/if}}\\n    {{#each visibleBottomNavEntries as |entry index|}}\\n      <PrimaryNav::ProductIconTooltip\\n        @productName={{entry.productName}}\\n        @animationDuration={{tooltipAnimationDuration}}\\n        @classNames=\\\"left-nav__link-opener\\n          {{if app.canUseUpdatedNavigation 'bg-gray-light'}}\\n          {{if (and app.canUseUpdatedNavigation (eq currentlyActiveBottomNavEntryIndex (add index 1))) 'bg-gray-lightest'}}\\n          {{if (and app.canUseUpdatedNavigation (eq (add currentlyActiveBottomNavEntryIndex 1) index )) 'bg-gray-lightest'}}\\\"\\n      >\\n        <LinkTo\\n          @route={{entry.route}}\\n          @model={{app}}\\n          @current-when={{entry.activeRoute}}\\n          @classNames=\\\"left-nav__link\\n            o__bottom__item\\n            {{entry.className}}\\n            {{if (eq currentlyActiveBottomNavEntryIndex (add index 1)) 'rounded-br-lg bg-gray-light'}}\\n            {{if (eq (add currentlyActiveBottomNavEntryIndex 1) index) 'rounded-tr-lg bg-gray-light'}}\\n            {{if (eq index currentlyActiveBottomNavEntryIndex) 'o__selected' }}\\\"\\n          @activeClass=\\\"{{if (not app.canUseUpdatedNavigation) 'o__selected'}}\\\"\\n          data-content={{entry.productName}}\\n          data-test-product-icon={{entry.productName}}\\n          data-track-analytics-event-object={{entry.analyticsEventObjectName}}\\n          data-intercom-target={{concat \\\"PrimaryNav \\\" entry.productName \\\" link\\\"\\n          }}\\n        >\\n          <div class=\\\"left-nav__icon {{if app.canUseUpdatedNavigation \\\"left-nav__updated-icon\\\"}}\\\">\\n            <div\\n              data-test-product-icon={{entry.productName}}\\n              class=\\\"unread__container left-nav__unread-container {{entry.className}}\\\"\\n            >\\n              <span>\\n                {{inline-svg entry.iconSvgName}}\\n              </span>\\n              {{#if entry.isUnread}}\\n                <span\\n                  class=\\\"left-nav__unread unread__small o__in-primary-nav\\\"\\n                  data-test-left-nav-unread-icon-badge\\n                ></span>\\n              {{/if}}\\n            </div>\\n          </div>\\n        </LinkTo>\\n      </PrimaryNav::ProductIconTooltip>\\n    {{/each}}\\n    {{#if (and app.canUseUpdatedNavigation (eq visibleBottomNavEntries.length (add currentlyActiveBottomNavEntryIndex 1))) }}\\n      <div class=\\\"left-nav__terminating-el-border w-full bg-gray-lightest\\\"><div class=\\\"bg-gray-light rounded-tr-lg w-full h-full\\\"></div></div>\\n    {{/if}}\\n  {{/if}}\\n</div>\\n<div class=\\\"layout__box left-nav__bottom\\\">\\n  {{#if this.hasOverflowBottomNavEntries}}\\n    <PrimaryNav::OverflowMenu @entries={{this.overflowBottomNavEntries}}>\\n      <div\\n        data-left-nav-overflow-opener\\n        data-intercom-target=\\\"primary-nav-overflow-menu-opener\\\"\\n        class=\\\"left-nav__link o__overflow-menu o__bottom__item u__pointer-cursor\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n      >\\n        <div class=\\\"left-nav__icon\\\">\\n          <div class=\\\"unread__container left-nav__unread-container o__overflow-menu\\\">\\n            <span>\\n              {{inline-svg \\\"nav-primary-ellipsis-icon\\\"}}\\n            </span>\\n            {{#if this.overflowMenuHasUnread}}\\n              <span\\n                class=\\\"left-nav__unread unread__small o__in-primary-nav\\\"\\n                data-test-left-nav-unread-icon-badge\\n              ></span>\\n            {{/if}}\\n          </div>\\n        </div>\\n      </div>\\n    </PrimaryNav::OverflowMenu>\\n  {{/if}}\\n  {{#if admin}}\\n    <PrimaryNav::ProductIconTooltip\\n      @productName=\\\"What's New\\\"\\n      @animationDuration={{tooltipAnimationDuration}}\\n    >\\n      <a\\n        class=\\\"u__pointer-cursor left-nav__link o__product-changes o__bottom__item\\\"\\n        href=\\\"https://www.intercom.com/changes\\\"\\n        target=\\\"_blank\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n        onclick={{action \\\"productChangesClicked\\\"}}\\n        data-test-product-changes-link\\n      >\\n        <span class=\\\"sr-only\\\">What's New</span>\\n        <div class=\\\"left-nav__icon {{if app.canUseUpdatedNavigation \\\"left-nav__updated-icon\\\"}}\\\">\\n          <div class=\\\"unread__container left-nav__unread-container o__product-changes\\\">\\n            <span data-test-product-changes-icon>\\n              {{#if app.canUseUpdatedNavigation}}\\n                {{inline-svg \\\"nav-primary-product-changes-2020-refresh\\\"}}\\n              {{else}}\\n                {{inline-svg \\\"nav-primary-product-changes\\\"}}\\n              {{/if}}\\n            </span>\\n            {{#if showUnreadProductChangesIndicator}}\\n              <span\\n                class=\\\"left-nav__unread unread__small o__in-primary-nav\\\"\\n                data-test-product-changes-unread-badge\\n              ></span>\\n            {{/if}}\\n          </div>\\n        </div>\\n      </a>\\n    </PrimaryNav::ProductIconTooltip>\\n  {{/if}}\\n\\n  <PrimaryNav::MenuPopover\\n    @openModifyProductsModal={{openModifyProductsModal}}\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box {{if (not app.canUseUpdatedNavigation) \\\"mb-2\\\"}}\\\">\\n  {{#if app}}\\n    <PrimaryNav::ProductIconTooltip\\n      @productName=\\\"Home\\\"\\n      @logoAnalyticsMetadata={{logoAnalyticsMetadata}}\\n      @animationDuration={{tooltipAnimationDuration}}\\n      @classNames=\\\"\\n        {{if app.canUseUpdatedNavigation 'bg-gray-light'}}\\n        {{if (eq currentlyActiveTopNavEntryIndex 0) 'bg-gray-lightest'}}\\\"\\n    >\\n      <LinkTo\\n        @route=\\\"apps.app.home\\\"\\n        @model={{app}}\\n        @query={{hash forcePlatform=true}}\\n        data-track-analytics-event-object=\\\"intercom_home_logo\\\"\\n        data-track-analytics-event-data-property-name=\\\"logoAnalyticsMetadata\\\"\\n        data-test-main-logo={{true}}\\n        @activeClass=\\\"{{if (not app.canUseUpdatedNavigation) 'o__selected'}}\\\"\\n        @current-when=\\\"apps.app.home\\\"\\n        class=\\\"\\n          left-nav__link\\n          o__logo\\n          t__no-decoration\\n          {{if app.canUseUpdatedNavigation \\\"left-nav__updated\\\"}}\\n          {{if (and app.canUseUpdatedNavigation (eq currentlyActiveTopNavEntryIndex 0)) 'rounded-br-lg bg-gray-light'}}\\n          {{if isOnHomeRoute 'o__selected' }}\\\"\\n        data-intercom-target=\\\"Home\\\"\\n      >\\n        <NavHomeLogoComponent\\n          @showFreeBanner={{showFreeBanner}}\\n          @showUnseenLevelBadge={{showUnseenLevelBadge}}\\n          @useUpdatedIcon={{app.canUseUpdatedNavigation}}\\n          @isOnHomeRoute={{isOnHomeRoute}}\\n        />\\n      </LinkTo>\\n    </PrimaryNav::ProductIconTooltip>\\n  {{else}}\\n    <a href=\\\"/\\\" class=\\\"left-nav__link o__logo mt-4\\\">\\n      <div class=\\\"left-nav__icon\\\">\\n        {{inline-svg \\\"nav-primary-logo-loaded\\\"}}\\n      </div>\\n    </a>\\n  {{/if}}\\n</div>\\n{{#if app}}\\n  <div\\n    class=\\\"layout__box left-nav__top mb-4 {{if isTopNavSquashed \\\"o__squashed\\\"}} {{if (and (has-feature 'canUseToursInOutboundHome') (media 'isLeftNavSmall')) \\\"o__squashed\\\"}}\\\"\\n    data-left-nav-top-container\\n  >\\n    {{#each topNavEntries as |product index|}}\\n      {{#if (eq product.id  'platform')}}\\n        <PrimaryNav::ProductIconTooltip\\n          @productName={{platformPageName}}\\n          @animationDuration={{tooltipAnimationDuration}}\\n          @classNames=\\\"\\n            left-nav__link-opener\\n            {{if app.canUseUpdatedNavigation 'bg-gray-light'}}\\n            {{if (eq currentlyActiveTopNavEntryIndex (add index 1)) 'bg-gray-lightest'}}\\n            {{if (eq (add currentlyActiveTopNavEntryIndex 1) index ) 'bg-gray-lightest'}}\\\"\\n        >\\n          <LinkTo\\n            @route=\\\"apps.app.index\\\"\\n            @model={{app}}\\n            @query={{hash forcePlatform=true}}\\n            class=\\\"\\n              left-nav__link\\n              o__product\\n              o__subscribed\\n              product-icon__link\\n              js__ghostinspector__nav__platform\\n              {{if (eq currentlyActiveTopNavEntryIndex (add index 1)) 'rounded-br-lg bg-gray-light'}}\\n              {{if (eq (add currentlyActiveTopNavEntryIndex 1) index) 'rounded-tr-lg bg-gray-light'}}\\n              {{if (eq index currentlyActiveTopNavEntryIndex) 'o__selected' }}\\\"\\n            @current-when={{product.route}}\\n            @activeClass=\\\"{{if (not app.canUseUpdatedNavigation) 'o__selected'}}\\\"\\n            data-content={{platformPageName}}\\n            data-test-main-platform-icon={{true}}\\n            data-intercom-target=\\\"Platform\\\"\\n          >\\n            <div class=\\\"left-nav__icon {{if app.canUseUpdatedNavigation \\\"left-nav__updated-icon\\\"}}\\\">\\n              <ProductIconNavComponent\\n                @product={{\\n                  hash id=\\\"platform\\\"\\n                  svgId=\\\"products/2020/July/people\\\"\\n                  route=product.route\\n                }}\\n              />\\n            </div>\\n          </LinkTo>\\n        </PrimaryNav::ProductIconTooltip>\\n      {{else}}\\n        <PrimaryNav::ProductIconTooltip\\n          @productName={{product.productName}}\\n          @animationDuration={{tooltipAnimationDuration}}\\n          @classNames=\\\"left-nav__link-opener\\n            {{if app.canUseUpdatedNavigation 'bg-gray-light'}}\\n            {{if (eq currentlyActiveTopNavEntryIndex (add index 1)) 'bg-gray-lightest'}}\\n            {{if (eq (add currentlyActiveTopNavEntryIndex 1) index ) 'bg-gray-lightest'}}\\n            {{if (and (eq index 0) (and app.canUseUpdatedNavigation isOnHomeRoute)) 'bg-gray-lightest' }}\\\"\\n        >\\n          <LinkTo\\n            @route={{product.route}}\\n            @model={{app}}\\n            @replace={{true}}\\n            class=\\\"\\n              left-nav__link\\n              o__product\\n              product-icon__link\\n              js__product-tour-nav-wrapper\\n              {{if  product.active 'o__subscribed'}}\\n              {{if app.canUseFree 'o__subscribed'}}\\n              {{if (eq currentlyActiveTopNavEntryIndex (add index 1)) 'rounded-br-lg bg-gray-light'}}\\n              {{if (eq (add currentlyActiveTopNavEntryIndex 1) index) 'rounded-tr-lg bg-gray-light'}}\\n              {{if (and (eq index 0) (and app.canUseUpdatedNavigation isOnHomeRoute)) 'rounded-tr-lg bg-gray-light'}}\\n              {{if (eq index currentlyActiveTopNavEntryIndex) 'o__selected' }}\\\"\\n            @activeClass=\\\"{{if (not app.canUseUpdatedNavigation) 'o__selected'}}\\\"\\n            data-content={{product.productName}}\\n            data-test-product-icon={{product.productName}}\\n            data-track-analytics-event-object={{entry.analyticsEventObjectName}}\\n            data-intercom-target={{product.productName}}\\n          >\\n            <div class=\\\"left-nav__icon {{if app.canUseUpdatedNavigation \\\"left-nav__updated-icon\\\"}}\\\">\\n              <ProductIconNavComponent @product={{if (and (not app.canUseUpdatedNavigation) (eq product.productName \\\"Reports\\\")) (hash id=product.svgId) product}} />\\n              {{#unless (or product.active app.canUseFree app.hasValueBasedPricing)}}\\n                <div class=\\\"left-nav__icon__purchasable {{if app.canUseUpdatedNavigation \\\"left-nav__updated-icon__purchasable\\\"}}\\\" data-test-upgrade-badge>{{inline-svg 'paywall-up-arrow'}}</div>\\n              {{/unless}}\\n            </div>\\n          </LinkTo>\\n        </PrimaryNav::ProductIconTooltip>\\n      {{/if}}\\n    {{/each}}\\n    {{#if (eq topNavEntries.length (add currentlyActiveTopNavEntryIndex 1))}}\\n      <div class=\\\"left-nav__terminating-el-border w-full bg-gray-lightest\\\"><div class=\\\"bg-gray-light rounded-tr-lg w-full h-full\\\"></div></div>\\n    {{/if}}\\n  </div>\\n{{else}}\\n  <div class=\\\"layout__box\\\"></div>\\n{{/if}}\\n<div\\n  class=\\\"layout__box left-nav__bottom o__flexes-to-1\\\"\\n  data-left-nav-bottom-container\\n>\\n  {{#if app}}\\n    {{#if (and app.canUseUpdatedNavigation (gte currentlyActiveBottomNavEntryIndex 0)) }}\\n      <div class=\\\"left-nav__terminating-el-border w-full bg-gray-lightest\\\"><div class=\\\"bg-gray-light rounded-br-lg w-full h-full\\\"></div></div>\\n    {{/if}}\\n    {{#each visibleBottomNavEntries as |entry index|}}\\n      <PrimaryNav::ProductIconTooltip\\n        @productName={{entry.productName}}\\n        @animationDuration={{tooltipAnimationDuration}}\\n        @classNames=\\\"left-nav__link-opener\\n          {{if app.canUseUpdatedNavigation 'bg-gray-light'}}\\n          {{if (and app.canUseUpdatedNavigation (eq currentlyActiveBottomNavEntryIndex (add index 1))) 'bg-gray-lightest'}}\\n          {{if (and app.canUseUpdatedNavigation (eq (add currentlyActiveBottomNavEntryIndex 1) index )) 'bg-gray-lightest'}}\\\"\\n      >\\n        <LinkTo\\n          @route={{entry.route}}\\n          @model={{app}}\\n          @current-when={{entry.activeRoute}}\\n          @classNames=\\\"left-nav__link\\n            o__bottom__item\\n            {{entry.className}}\\n            {{if (eq currentlyActiveBottomNavEntryIndex (add index 1)) 'rounded-br-lg bg-gray-light'}}\\n            {{if (eq (add currentlyActiveBottomNavEntryIndex 1) index) 'rounded-tr-lg bg-gray-light'}}\\n            {{if (eq index currentlyActiveBottomNavEntryIndex) 'o__selected' }}\\\"\\n          @activeClass=\\\"{{if (not app.canUseUpdatedNavigation) 'o__selected'}}\\\"\\n          data-content={{entry.productName}}\\n          data-test-product-icon={{entry.productName}}\\n          data-track-analytics-event-object={{entry.analyticsEventObjectName}}\\n          data-intercom-target={{concat \\\"PrimaryNav \\\" entry.productName \\\" link\\\"\\n          }}\\n        >\\n          <div class=\\\"left-nav__icon {{if app.canUseUpdatedNavigation \\\"left-nav__updated-icon\\\"}}\\\">\\n            <div\\n              data-test-product-icon={{entry.productName}}\\n              class=\\\"unread__container left-nav__unread-container {{entry.className}}\\\"\\n            >\\n              <span>\\n                {{inline-svg entry.iconSvgName}}\\n              </span>\\n              {{#if entry.isUnread}}\\n                <span\\n                  class=\\\"left-nav__unread unread__small o__in-primary-nav\\\"\\n                  data-test-left-nav-unread-icon-badge\\n                ></span>\\n              {{/if}}\\n            </div>\\n          </div>\\n        </LinkTo>\\n      </PrimaryNav::ProductIconTooltip>\\n    {{/each}}\\n    {{#if (and app.canUseUpdatedNavigation (eq visibleBottomNavEntries.length (add currentlyActiveBottomNavEntryIndex 1))) }}\\n      <div class=\\\"left-nav__terminating-el-border w-full bg-gray-lightest\\\"><div class=\\\"bg-gray-light rounded-tr-lg w-full h-full\\\"></div></div>\\n    {{/if}}\\n  {{/if}}\\n</div>\\n<div class=\\\"layout__box left-nav__bottom\\\">\\n  {{#if this.hasOverflowBottomNavEntries}}\\n    <PrimaryNav::OverflowMenu @entries={{this.overflowBottomNavEntries}}>\\n      <div\\n        data-left-nav-overflow-opener\\n        data-intercom-target=\\\"primary-nav-overflow-menu-opener\\\"\\n        class=\\\"left-nav__link o__overflow-menu o__bottom__item u__pointer-cursor\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n      >\\n        <div class=\\\"left-nav__icon\\\">\\n          <div class=\\\"unread__container left-nav__unread-container o__overflow-menu\\\">\\n            <span>\\n              {{inline-svg \\\"nav-primary-ellipsis-icon\\\"}}\\n            </span>\\n            {{#if this.overflowMenuHasUnread}}\\n              <span\\n                class=\\\"left-nav__unread unread__small o__in-primary-nav\\\"\\n                data-test-left-nav-unread-icon-badge\\n              ></span>\\n            {{/if}}\\n          </div>\\n        </div>\\n      </div>\\n    </PrimaryNav::OverflowMenu>\\n  {{/if}}\\n  {{#if admin}}\\n    <PrimaryNav::ProductIconTooltip\\n      @productName=\\\"What's New\\\"\\n      @animationDuration={{tooltipAnimationDuration}}\\n    >\\n      <a\\n        class=\\\"u__pointer-cursor left-nav__link o__product-changes o__bottom__item\\\"\\n        href=\\\"https://www.intercom.com/changes\\\"\\n        target=\\\"_blank\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n        onclick={{action \\\"productChangesClicked\\\"}}\\n        data-test-product-changes-link\\n      >\\n        <span class=\\\"sr-only\\\">What's New</span>\\n        <div class=\\\"left-nav__icon {{if app.canUseUpdatedNavigation \\\"left-nav__updated-icon\\\"}}\\\">\\n          <div class=\\\"unread__container left-nav__unread-container o__product-changes\\\">\\n            <span data-test-product-changes-icon>\\n              {{#if app.canUseUpdatedNavigation}}\\n                {{inline-svg \\\"nav-primary-product-changes-2020-refresh\\\"}}\\n              {{else}}\\n                {{inline-svg \\\"nav-primary-product-changes\\\"}}\\n              {{/if}}\\n            </span>\\n            {{#if showUnreadProductChangesIndicator}}\\n              <span\\n                class=\\\"left-nav__unread unread__small o__in-primary-nav\\\"\\n                data-test-product-changes-unread-badge\\n              ></span>\\n            {{/if}}\\n          </div>\\n        </div>\\n      </a>\\n    </PrimaryNav::ProductIconTooltip>\\n  {{/if}}\\n\\n  <PrimaryNav::MenuPopover\\n    @openModifyProductsModal={{openModifyProductsModal}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/primary-nav.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/primary-nav.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { and, not, readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { rejectBy } from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\nimport showUnderConstruction from 'embercom/lib/show-under-construction';\nimport { addEventListener, debounceTask, runTask, runDisposables } from 'ember-lifeline';\nimport ENV from 'embercom/config/environment';\nimport { post, get } from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  router: service(),\n  media: service(),\n  intercomEventService: service(),\n  onboardingHomeService: service(),\n  classNames: ['layout__box', 'o__has-rows', 'left-nav'],\n  classNameBindings: ['showUnderConstructionBanner:o__under-construction'],\n  app: null,\n  admin: null,\n  showModal: null,\n  openModal: null,\n\n  init() {\n    this._super(...arguments);\n    addEventListener(this, window, 'resize', this.debounceResizeHandler);\n\n    runTask(this, this.updateLeftNavBottomContainerHeight, ENV.APP._1000MS);\n    runTask(this, this.updateLeftNavBottomContainerHeight, ENV.APP._3000MS);\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.updateLeftNavBottomContainerHeight();\n    this.fetchUnreadProductChangesCount.perform();\n  },\n\n  willDestroy() {\n    runDisposables(this);\n    this._super(...arguments);\n  },\n\n  updateLeftNavBottomContainerHeight() {\n    if (this.isDestroying) {\n      return;\n    }\n\n    let LEFT_NAV_BOTTOM_CONTAINER_SELECTOR = '[data-left-nav-bottom-container]';\n    let LEFT_NAV_OVERFLOW_OPENER_SELECTOR = '[data-left-nav-overflow-opener]';\n    let container = this.element.querySelector(LEFT_NAV_BOTTOM_CONTAINER_SELECTOR);\n    let offset = 0;\n    if (this.hasOverflowBottomNavEntries) {\n      let opener = this.element.querySelector(LEFT_NAV_OVERFLOW_OPENER_SELECTOR);\n      offset = opener.clientHeight;\n    }\n    this.set('leftNavBottomContainerHeight', container.clientHeight + offset);\n  },\n\n  debounceResizeHandler() {\n    debounceTask(this, 'updateLeftNavBottomContainerHeight', ENV.APP._100MS);\n  },\n\n  products: rejectBy('app.products', 'addon', true),\n  messagesIsActive: readOnly('app.messagesIsActive'),\n  articlesIsActive: readOnly('app.articlesIsActive'),\n  inboxIsActive: readOnly('app.inboxIsActive'),\n  hasNoActiveSubscription: not('app.hasActiveSubscription'),\n  showFreeBanner: and('hasNoActiveSubscription', 'app.canUseFree'),\n  platformPageName: computed('app.canUseUpdatedNavigation', function() {\n    if (this.app?.canUseUpdatedNavigation) {\n      return 'Contacts';\n    } else {\n      return 'Platform';\n    }\n  }),\n  showUnderConstructionBanner: computed(\n    'router',\n    'app.{isTestApp,isDeveloperWorkspace}',\n    function() {\n      return showUnderConstruction(this.app, this.router);\n    },\n  ),\n\n  showUnseenLevelBadge: readOnly('onboardingHomeService.hasIncompleteAndUnseenLevels'),\n\n  logoAnalyticsMetadata: computed('showUnseenLevelBadge', function() {\n    return {\n      saw_unread_badge: this.showUnseenLevelBadge,\n    };\n  }),\n\n  leftNavBottomContainerHeight: null,\n  tooltipAnimationDuration: computed('app.canUseUpdatedNavigation', function() {\n    return this.app?.canUseUpdatedNavigation ? 0 : 300;\n  }),\n  isOnHomeRoute: computed('router.currentRouteName', function() {\n    return this.router?.currentRouteName?.includes('home');\n  }),\n\n  topNavEntries: computed(\n    'app.features.[]',\n    'app.canUseToursInOutboundHome',\n    'app.canUseUpdatedNavigation',\n    function() {\n      let navEntries = [];\n\n      let platformRoutes =\n        'apps.app.index apps.app.users apps.app.companies apps.app.feed apps.app.platform apps.app.accounts';\n\n      if (this.app?.canUseUpdatedNavigation) {\n        navEntries = navEntries.concat(\n          {\n            svgId: 'products/2020/July/inbox',\n            productName: 'Inbox',\n            route: 'apps.app.inbox',\n            id: '1',\n            active: this.inboxIsActive,\n          },\n          {\n            svgId: 'products/2020/July/outbound',\n            productName: this.app.canUseToursInOutboundHome ? 'Outbound' : 'Messages',\n            route: 'apps.app.outbound',\n            id: '2',\n            active: this.messagesIsActive,\n          },\n          {\n            id: 'platform',\n            route: platformRoutes,\n          },\n          {\n            svgId: 'products/2020/July/articles',\n            productName: 'Articles',\n            route: 'apps.app.articles',\n            id: '5',\n            active: this.articlesIsActive,\n          },\n        );\n\n        if (this.app?.canUseToursInOutboundHome) {\n          navEntries.pushObject({\n            svgId: 'products/2020/July/bots',\n            productName: 'Operator',\n            route: 'apps.app.operator',\n            activeRoute: 'apps.app.operator',\n            id: '7',\n            active: true,\n          });\n          navEntries.pushObject({\n            svgId: 'products/2020/July/reports',\n            productName: 'Reports',\n            route: 'apps.app.reports',\n            activeRoute: 'apps.app.reports',\n            className: 'o__reporting',\n            analyticsEventObjectName: 'reporting_side_bar_link',\n            active: true,\n          });\n        }\n      } else {\n        navEntries = navEntries.concat(\n          {\n            id: 'platform',\n            route: platformRoutes,\n          },\n          {\n            productName: this.app.canUseToursInOutboundHome ? 'Outbound' : 'Messages',\n            route: 'apps.app.outbound',\n            id: '2',\n            active: this.messagesIsActive,\n          },\n          {\n            productName: 'Inbox',\n            route: 'apps.app.inbox',\n            id: '1',\n            active: this.inboxIsActive,\n          },\n          {\n            productName: 'Articles',\n            route: 'apps.app.articles',\n            id: '5',\n            active: this.articlesIsActive,\n          },\n        );\n\n        if (this.app?.canUseToursInOutboundHome) {\n          navEntries.pushObject({\n            productName: 'Operator',\n            route: 'apps.app.operator',\n            activeRoute: 'apps.app.operator',\n            id: '7',\n            active: true,\n          });\n          navEntries.pushObject({\n            svgId: 'reports',\n            productName: 'Reports',\n            route: 'apps.app.reports',\n            activeRoute: 'apps.app.reports',\n            className: 'o__reporting',\n            analyticsEventObjectName: 'reporting_side_bar_link',\n            active: true,\n            id: '8',\n          });\n        }\n      }\n      return navEntries;\n    },\n  ),\n\n  currentlyActiveBottomNavEntryIndex: computed(\n    'visibleBottomNavEntries',\n    'router.currentRouteName',\n    'app.canUseUpdatedNavigation',\n    function() {\n      if (!this.app.canUseUpdatedNavigation) {\n        return -999;\n      }\n\n      let navEntryIndex = this.visibleBottomNavEntries.findIndex(navEntry => {\n        return navEntry?.route\n          ?.split(' ')\n          .any(route => this.router?.currentRouteName?.includes(route));\n      });\n\n      return navEntryIndex === -1 ? -999 : navEntryIndex;\n    },\n  ),\n\n  bottomNavEntries: computed(\n    'app.features.[]',\n    'app.canUseToursInOutboundHome',\n    'app.canUseUpdatedNavigation',\n    'router.currentRouteName',\n    function() {\n      let updatedSvgs = {\n        messenger: 'nav-primary-messenger',\n        appStore: 'nav-primary-app-store',\n      };\n\n      if (this.app?.canUseUpdatedNavigation) {\n        let currentRoute = this.get('router.currentRouteName');\n        Object.keys(updatedSvgs).forEach(product => {\n          updatedSvgs[product] += '-2020-refresh';\n\n          if (currentRoute.includes(product.toLowerCase())) {\n            updatedSvgs[product] += '-active';\n          }\n        });\n      }\n\n      let navEntries = [\n        {\n          productName: 'Messenger',\n          route: 'apps.app.messenger',\n          activeRoute: 'apps.app.messenger',\n          className: 'o__messenger',\n          iconSvgName: updatedSvgs.messenger,\n        },\n        {\n          productName: 'App Store',\n          route: 'apps.app.appstore',\n          activeRoute: 'apps.app.appstore',\n          className: 'o__appstore',\n          iconSvgName: updatedSvgs.appStore,\n          analyticsEventObjectName: 'app_store_side_bar_link',\n        },\n      ];\n      if (!this.app?.canUseToursInOutboundHome) {\n        navEntries.insertAt(1, {\n          productName: 'Operator',\n          route: 'apps.app.operator',\n          activeRoute: 'apps.app.operator',\n          className: 'o__operator',\n          iconSvgName: 'nav-primary-operator',\n        });\n        navEntries.insertAt(2, {\n          productName: 'Product Tours',\n          route: 'apps.app.tours',\n          activeRoute: 'apps.app.tours',\n          className: 'o__product-tours',\n          iconSvgName: 'nav-primary-product-tours',\n        });\n        navEntries.insertAt(3, {\n          productName: 'Reports',\n          route: 'apps.app.reports',\n          activeRoute: 'apps.app.reports',\n          className: 'o__reporting',\n          iconSvgName: 'nav-primary-reporting',\n          analyticsEventObjectName: 'reporting_side_bar_link',\n        });\n      }\n      return navEntries;\n    },\n  ),\n\n  currentlyActiveTopNavEntryIndex: computed(\n    'router.currentRouteName',\n    'topNavEntries',\n    'app.canUseUpdatedNavigation',\n    function() {\n      if (!this.app.canUseUpdatedNavigation) {\n        return -999;\n      }\n\n      let productIndex = this.topNavEntries.findIndex(product => {\n        return product?.route\n          ?.split(' ')\n          .any(route => this.router?.currentRouteName?.includes(route));\n      });\n      return productIndex === -1 ? -999 : productIndex;\n    },\n  ),\n\n  availableVisibleBottomNavEntrySlots: computed(\n    'bottomNavEntries.[]',\n    'leftNavBottomContainerHeight',\n    function() {\n      let BOTTOM_NAV_ENTRY_HEIGHT_PX = 48;\n      let availableVisibleBottomNavEntrySlots = Math.floor(\n        this.leftNavBottomContainerHeight / BOTTOM_NAV_ENTRY_HEIGHT_PX,\n      );\n\n      // if there isn't enough room for all the icons, then\n      // remove one from the available slots to take\n      // into account the overflow opener\n      if (availableVisibleBottomNavEntrySlots < this.bottomNavEntries.length) {\n        availableVisibleBottomNavEntrySlots -= 1;\n      }\n      return availableVisibleBottomNavEntrySlots;\n    },\n  ),\n  hasOverflowBottomNavEntries: computed(\n    'bottomNavEntries.[]',\n    'availableVisibleBottomNavEntrySlots',\n    function() {\n      return this.bottomNavEntries.length > this.availableVisibleBottomNavEntrySlots;\n    },\n  ),\n  visibleBottomNavEntries: computed(\n    'bottomNavEntries.[]',\n    'availableVisibleBottomNavEntrySlots',\n    'hasOverflowBottomNavEntries',\n    function() {\n      if (this.hasOverflowBottomNavEntries) {\n        return this.bottomNavEntries.slice(0, this.availableVisibleBottomNavEntrySlots);\n      } else {\n        return this.bottomNavEntries;\n      }\n    },\n  ),\n  overflowBottomNavEntries: computed(\n    'bottomNavEntries.[]',\n    'availableVisibleBottomNavEntrySlots',\n    'hasOverflowBottomNavEntries',\n    function() {\n      if (!this.hasOverflowBottomNavEntries) {\n        return [];\n      } else {\n        return this.bottomNavEntries.slice(this.availableVisibleBottomNavEntrySlots);\n      }\n    },\n  ),\n  isTopNavSquashed: computed(\n    'bottomNavEntries.[]',\n    'media.isLeftNavSmall',\n    'media.isLeftNavMedium',\n    'media.isLeftNavLarge',\n    'app.canUseToursInOutboundHome',\n    function() {\n      if (this.app?.canUseToursInOutboundHome) {\n        return false;\n      }\n\n      let { isLeftNavSmall, isLeftNavMedium, isLeftNavLarge } = this.media;\n      let bottomNavEntriesCount = this.bottomNavEntries.length;\n      return (\n        (bottomNavEntriesCount === 5 && isLeftNavLarge) ||\n        (bottomNavEntriesCount === 4 && isLeftNavMedium) ||\n        (bottomNavEntriesCount === 3 && isLeftNavSmall)\n      );\n    },\n  ),\n  overflowMenuHasUnread: computed('overflowBottomNavEntries.[]', function() {\n    return this.overflowBottomNavEntries.some(entry => entry.isUnread);\n  }),\n\n  fetchUnreadProductChangesCount: task(function*() {\n    let response = yield get('/ember/public/changes/get_admin_unread_count');\n    this.set('showUnreadProductChangesIndicator', response.count > 0);\n  }),\n\n  updateAdminLastViewedChanges: task(function*() {\n    yield post('/ember/public/changes/update_admin_last_viewed_changes');\n  }).restartable(),\n\n  actions: {\n    productChangesClicked() {\n      this.set('showUnreadProductChangesIndicator', false);\n      this.updateAdminLastViewedChanges.perform();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Popover\\n  @showOn={{array 'mouseenter'}}\\n  @hideOn={{array 'mouseleave'}}\\n  @placement=\\\"right-start\\\"\\n  @fallbackPlacements={{array}}\\n  @preventOverflow={{true}}\\n  @offsetDistance={{2}}\\n  @showDelay={{200}}\\n  @hideDelay={{200}}\\n  @modifiers={{array\\n    (hash\\n      name='primary-nav-app-switcher-dimensions-modifier'\\n      enabled=true\\n      phase='write'\\n      effect=this.matchPopoverDimensionsToMenuPopover\\n    )\\n  }}\\n  class=\\\"u__display-block\\\"\\n  data-app-switcher-opener\\n  data-test-app-switcher-opener\\n  ...attributes\\n  as |popover|\\n>\\n  <popover.Opener>\\n    <a class=\\\"menu__popover__item\\\">\\n      <div class=\\\"flex items-start\\\">\\n        <div class=\\\"flex-auto min-w-0\\\">\\n          {{#if this.app}}\\n            {{this.app.name}}\\n            <div class=\\\"menu__popover__item__deemphasized u__padb__10\\\">\\n              Create or switch workspaces\\n            </div>\\n          {{else}}\\n            Select app\\n          {{/if}}\\n        </div>\\n        <div class=\\\"u__ml__10\\\">\\n          {{ic-interface-icon 'small-thin-right-arrow' solo=true}}\\n        </div>\\n      </div>\\n    </a>\\n  </popover.Opener>\\n\\n  <popover.Content\\n    @fullBleed={{true}}\\n    class=\\\"h-full layout__box o__has-rows\\\"\\n    data-test-app-switcher\\n  >\\n    <div class=\\\"layout__box o__flexes-to-1 o__scrolls {{unless this.allowWorkspaceFilter 'pt-4'}}\\\">\\n      {{#if this.allowWorkspaceFilter}}\\n        <div class=\\\"u__mb__10\\\">\\n          <div class=\\\"ds-new__dropdown__group__filter__icon\\\">\\n            {{ic-interface-icon \\\"search\\\"}}\\n          </div>\\n\\n          <input\\n            autofocus=\\\"true\\\"\\n            type=\\\"text\\\"\\n            class=\\\"ds-new__dropdown__group__filter__input js__filter-role\\\"\\n            value={{this.productionAppsFilter}}\\n            placeholder=\\\"Search for a workspace…\\\"\\n            data-test-workspace-filter-input\\n            {{on \\\"input\\\" (pick \\\"target.value\\\" (set this.productionAppsFilter))}}\\n          />\\n        </div>\\n      {{/if}}\\n\\n      {{#each this.groupedApps as |group|}}\\n        <a\\n          href=\\\"/apps/{{group.app.id}}\\\"\\n          class=\\\"menu__popover__item {{if group.app.isCurrent \\\"o__selected\\\"}}\\\"\\n          data-test-app-switcher-item={{group.app.name}}\\n        >\\n          <div class=\\\"flex items-start\\\">\\n            <div class=\\\"flex-auto min-w-0\\\">\\n              {{group.app.name}}\\n            </div>\\n            {{#if group.app.isCurrent}}\\n              <div class=\\\"u__ml__10\\\">\\n                {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n              </div>\\n            {{/if}}\\n          </div>\\n        </a>\\n\\n        {{#if group.testApp}}\\n          <a\\n            href=\\\"/apps/{{group.testApp.id}}\\\"\\n            class=\\\"menu__popover__item {{if group.testApp.isCurrent 'o__selected'}}\\\"\\n          >\\n            <div class=\\\"flex items-start\\\">\\n              <div class=\\\"flex-auto min-w-0\\\">\\n                {{ic-interface-icon \\\"l-pipe\\\"}} {{group.testApp.name}}\\n              </div>\\n              {{#if group.testApp.isCurrent}}\\n                <div class=\\\"u__ml__10\\\">\\n                  {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n                </div>\\n              {{/if}}\\n            </div>\\n          </a>\\n        {{/if}}\\n      {{/each}}\\n    </div>\\n\\n    <div class=\\\"layout__box pb-4\\\">\\n      <hr class=\\\"menu__popover__hr\\\" />\\n\\n      <LinkTo\\n        @route=\\\"apps.new\\\"\\n        class=\\\"menu__popover__item\\\"\\n        data-test-add-new-app={{true}}\\n      >\\n        Add a new workspace…\\n      </LinkTo>\\n    </div>\\n  </popover.Content>\\n</Popover>\\n\", {\"contents\":\"<Popover\\n  @showOn={{array 'mouseenter'}}\\n  @hideOn={{array 'mouseleave'}}\\n  @placement=\\\"right-start\\\"\\n  @fallbackPlacements={{array}}\\n  @preventOverflow={{true}}\\n  @offsetDistance={{2}}\\n  @showDelay={{200}}\\n  @hideDelay={{200}}\\n  @modifiers={{array\\n    (hash\\n      name='primary-nav-app-switcher-dimensions-modifier'\\n      enabled=true\\n      phase='write'\\n      effect=this.matchPopoverDimensionsToMenuPopover\\n    )\\n  }}\\n  class=\\\"u__display-block\\\"\\n  data-app-switcher-opener\\n  data-test-app-switcher-opener\\n  ...attributes\\n  as |popover|\\n>\\n  <popover.Opener>\\n    <a class=\\\"menu__popover__item\\\">\\n      <div class=\\\"flex items-start\\\">\\n        <div class=\\\"flex-auto min-w-0\\\">\\n          {{#if this.app}}\\n            {{this.app.name}}\\n            <div class=\\\"menu__popover__item__deemphasized u__padb__10\\\">\\n              Create or switch workspaces\\n            </div>\\n          {{else}}\\n            Select app\\n          {{/if}}\\n        </div>\\n        <div class=\\\"u__ml__10\\\">\\n          {{ic-interface-icon 'small-thin-right-arrow' solo=true}}\\n        </div>\\n      </div>\\n    </a>\\n  </popover.Opener>\\n\\n  <popover.Content\\n    @fullBleed={{true}}\\n    class=\\\"h-full layout__box o__has-rows\\\"\\n    data-test-app-switcher\\n  >\\n    <div class=\\\"layout__box o__flexes-to-1 o__scrolls {{unless this.allowWorkspaceFilter 'pt-4'}}\\\">\\n      {{#if this.allowWorkspaceFilter}}\\n        <div class=\\\"u__mb__10\\\">\\n          <div class=\\\"ds-new__dropdown__group__filter__icon\\\">\\n            {{ic-interface-icon \\\"search\\\"}}\\n          </div>\\n\\n          <input\\n            autofocus=\\\"true\\\"\\n            type=\\\"text\\\"\\n            class=\\\"ds-new__dropdown__group__filter__input js__filter-role\\\"\\n            value={{this.productionAppsFilter}}\\n            placeholder=\\\"Search for a workspace…\\\"\\n            data-test-workspace-filter-input\\n            {{on \\\"input\\\" (pick \\\"target.value\\\" (set this.productionAppsFilter))}}\\n          />\\n        </div>\\n      {{/if}}\\n\\n      {{#each this.groupedApps as |group|}}\\n        <a\\n          href=\\\"/apps/{{group.app.id}}\\\"\\n          class=\\\"menu__popover__item {{if group.app.isCurrent \\\"o__selected\\\"}}\\\"\\n          data-test-app-switcher-item={{group.app.name}}\\n        >\\n          <div class=\\\"flex items-start\\\">\\n            <div class=\\\"flex-auto min-w-0\\\">\\n              {{group.app.name}}\\n            </div>\\n            {{#if group.app.isCurrent}}\\n              <div class=\\\"u__ml__10\\\">\\n                {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n              </div>\\n            {{/if}}\\n          </div>\\n        </a>\\n\\n        {{#if group.testApp}}\\n          <a\\n            href=\\\"/apps/{{group.testApp.id}}\\\"\\n            class=\\\"menu__popover__item {{if group.testApp.isCurrent 'o__selected'}}\\\"\\n          >\\n            <div class=\\\"flex items-start\\\">\\n              <div class=\\\"flex-auto min-w-0\\\">\\n                {{ic-interface-icon \\\"l-pipe\\\"}} {{group.testApp.name}}\\n              </div>\\n              {{#if group.testApp.isCurrent}}\\n                <div class=\\\"u__ml__10\\\">\\n                  {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n                </div>\\n              {{/if}}\\n            </div>\\n          </a>\\n        {{/if}}\\n      {{/each}}\\n    </div>\\n\\n    <div class=\\\"layout__box pb-4\\\">\\n      <hr class=\\\"menu__popover__hr\\\" />\\n\\n      <LinkTo\\n        @route=\\\"apps.new\\\"\\n        class=\\\"menu__popover__item\\\"\\n        data-test-add-new-app={{true}}\\n      >\\n        Add a new workspace…\\n      </LinkTo>\\n    </div>\\n  </popover.Content>\\n</Popover>\\n\",\"moduleName\":\"embercom/components/primary-nav/app-switcher.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/primary-nav/app-switcher.hbs\"}});\nimport Component from '@glimmer/component';\nimport EmberObject from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { isEmpty } from '@ember/utils';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class AppSwitcherPopover extends Component {\n  @service appService;\n\n  @tracked productionAppsFilter = '';\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get admin() {\n    return this.app?.currentAdmin;\n  }\n\n  get currentAppId() {\n    return this.app?.id;\n  }\n\n  get productionApps() {\n    return this.admin?.apps.filter(app => !app.is_test_app) || [];\n  }\n\n  get allowWorkspaceFilter() {\n    return this.productionApps.length > 5;\n  }\n\n  get filteredProductionApps() {\n    if (isEmpty(this.productionAppsFilter)) {\n      return this.productionApps;\n    }\n    let regexp = new RegExp(this.productionAppsFilter, 'i');\n    return this.productionApps.filter(app => regexp.test(app.name));\n  }\n\n  get sortedProductionApps() {\n    return [...this.filteredProductionApps].sort((a, b) => a.name.localeCompare(b.name));\n  }\n\n  get testApps() {\n    return this.admin?.apps.filter(app => Boolean(app.is_test_app)) || [];\n  }\n\n  get groupedApps() {\n    return this.sortedProductionApps.map(app => {\n      let testApp = this._findTestApp(app);\n      return {\n        app: this._makeMiniAppModel(app),\n        testApp: typeof testApp === 'undefined' ? undefined : this._makeMiniAppModel(testApp),\n      };\n    });\n  }\n\n  _makeMiniAppModel(app) {\n    return EmberObject.create({\n      name: app.name,\n      id: app.id,\n      isCurrent: app.id === this.currentAppId,\n    });\n  }\n\n  _findTestApp(app) {\n    return this.testApps.findBy('id', app?.test_app_id);\n  }\n\n  // This function is a Popper.js modifier (https://popper.js.org/docs/v2/modifiers/)\n  // that keeps the dimensions of the app switcher popover the same as those of\n  // the primary nav menu popover. This behaviour is a design requirement from\n  // the \"early 2018\" brand refresh.\n  matchPopoverDimensionsToMenuPopover(popperModifierData) {\n    let { reference: referenceElement, popper: popperElement } = popperModifierData.state.elements;\n    let referenceElementPopoverContainer = referenceElement.closest('[data-popover-content]');\n    popperElement.style.width = `${referenceElementPopoverContainer.offsetWidth}px`;\n    popperElement.style.height = `${referenceElementPopoverContainer.offsetHeight}px`;\n    popperElement.style.display = 'flex';\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Popover\\n  @showOn={{array 'mouseenter'}}\\n  @hideOn={{array 'mouseleave'}}\\n  @showArrow={{true}}\\n  @placement=\\\"right-end\\\"\\n  @fallbackPlacements={{array}}\\n  @preventOverflow={{true}}\\n  @isInteractive={{true}}\\n  @hideDelay={{500}}\\n  @animation={{hash\\n    class='a__menu-popover'\\n    timingFunction='ease-in-out'\\n    duration=300\\n  }}\\n  @offsetDistance={{0}}\\n  @repositionOnContentResize={{true}}\\n  class=\\\"u__display-block packaging__nav__person__link\\\"\\n  data-settings-menu-opener\\n  data-test-settings-menu-opener\\n  ...attributes\\n  as |popover|\\n>\\n  <popover.Opener>\\n    <span class=\\\"unread__container\\\">\\n      <span class=\\\"packaging__nav__person__image__background\\\">\\n        <a\\n          class=\\\"packaging__nav__person__image__avatar-wrapper {{if popover.isVisible \\\"o__selected\\\"}}\\\"\\n          {{did-insert this.onInitialRender}}\\n        >\\n          <IcAvatarComponent\\n            @model={{this.admin}}\\n            @size=\\\"m\\\"\\n            @onBackgroundColor=\\\"gray-light\\\"\\n            @displayAdminBadge={{true}}\\n          />\\n        </a>\\n      </span>\\n    </span>\\n  </popover.Opener>\\n\\n  <popover.Content @fullBleed={{true}}>\\n    {{#if this.app}}\\n      {{#if this.admin}}\\n        <Settings::NavSettingsAwayModeComponent @app={{this.app}} @admin={{this.admin}} />\\n      {{/if}}\\n\\n      {{#if this.isIntercomradesDomain}}\\n        <a\\n          class=\\\"menu__popover__item\\\"\\n          {{on 'click' (fn @openModifyProductsModal\\n            'apps/app/intercomrades-package-editor-modal'\\n            this.app\\n          )}}\\n        >\\n          Modify products {{if this.modifiedProducts '(modified)'}}\\n        </a>\\n        <hr class=\\\"menu__popover__hr\\\" />\\n      {{/if}}\\n    {{/if}}\\n\\n    {{#if this.admin}}\\n      <PrimaryNav::AppSwitcher />\\n\\n      {{#if this.app}}\\n        <LinkTo\\n          @route=\\\"apps.app.settings\\\"\\n          @model={{this.app}}\\n          class=\\\"menu__popover__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          {{ic-interface-icon \\\"settings\\\"}} Settings\\n        </LinkTo>\\n\\n        <LinkTo\\n          @route=\\\"apps.app.account.general\\\"\\n          @model={{this.app}}\\n          class=\\\"menu__popover__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          {{ic-interface-icon \\\"person\\\"}} Your account\\n        </LinkTo>\\n\\n        {{#if this.canSeeBillingPage}}\\n          <LinkTo\\n            @route=\\\"apps.app.billing\\\"\\n            @model={{this.app}}\\n            class=\\\"menu__popover__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n            data-test-billing-settings-link=\\\"true\\\"\\n          >\\n            {{ic-interface-icon \\\"creditcard\\\"}} Billing\\n          </LinkTo>\\n        {{/if}}\\n      {{/if}}\\n      <hr class=\\\"menu__popover__hr\\\" />\\n    {{/if}}\\n\\n    <div class=\\\"pb-4\\\">\\n      <a\\n        href=\\\"https://www.intercom.com/help/\\\"\\n        class=\\\"menu__popover__item\\\"\\n        target=\\\"_blank\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n        {{on 'click' (track-analytics-event action=\\\"clicked\\\" object=\\\"menu_popover_help_center\\\")}}\\n      >\\n        Intercom Help Center\\n      </a>\\n\\n      <a\\n        href=\\\"https://www.intercomstatus.com\\\"\\n        class=\\\"menu__popover__item\\\"\\n        target=\\\"_blank\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n        {{on 'click' (track-analytics-event action=\\\"clicked\\\" object=\\\"menu_popover_status_page\\\")}}\\n      >\\n        Status page\\n      </a>\\n\\n      <a\\n        href=\\\"https://www.intercom.com/terms-and-policies\\\"\\n        class=\\\"menu__popover__item\\\"\\n        target=\\\"_blank\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n        {{on 'click' (track-analytics-event action=\\\"clicked\\\" object=\\\"menu_popover_terms_and_policies\\\")}}\\n      >\\n        Terms &amp; policies\\n      </a>\\n\\n      {{#if this.admin}}\\n        <hr class=\\\"menu__popover__hr\\\" />\\n        <a\\n          class=\\\"menu__popover__item js__logout-link\\\"\\n          href=\\\"/admins/sign_out\\\"\\n          rel=\\\"nofollow noopener\\\"\\n        >\\n          Log out\\n        </a>\\n      {{/if}}\\n    </div>\\n  </popover.Content>\\n</Popover>\\n\", {\"contents\":\"<Popover\\n  @showOn={{array 'mouseenter'}}\\n  @hideOn={{array 'mouseleave'}}\\n  @showArrow={{true}}\\n  @placement=\\\"right-end\\\"\\n  @fallbackPlacements={{array}}\\n  @preventOverflow={{true}}\\n  @isInteractive={{true}}\\n  @hideDelay={{500}}\\n  @animation={{hash\\n    class='a__menu-popover'\\n    timingFunction='ease-in-out'\\n    duration=300\\n  }}\\n  @offsetDistance={{0}}\\n  @repositionOnContentResize={{true}}\\n  class=\\\"u__display-block packaging__nav__person__link\\\"\\n  data-settings-menu-opener\\n  data-test-settings-menu-opener\\n  ...attributes\\n  as |popover|\\n>\\n  <popover.Opener>\\n    <span class=\\\"unread__container\\\">\\n      <span class=\\\"packaging__nav__person__image__background\\\">\\n        <a\\n          class=\\\"packaging__nav__person__image__avatar-wrapper {{if popover.isVisible \\\"o__selected\\\"}}\\\"\\n          {{did-insert this.onInitialRender}}\\n        >\\n          <IcAvatarComponent\\n            @model={{this.admin}}\\n            @size=\\\"m\\\"\\n            @onBackgroundColor=\\\"gray-light\\\"\\n            @displayAdminBadge={{true}}\\n          />\\n        </a>\\n      </span>\\n    </span>\\n  </popover.Opener>\\n\\n  <popover.Content @fullBleed={{true}}>\\n    {{#if this.app}}\\n      {{#if this.admin}}\\n        <Settings::NavSettingsAwayModeComponent @app={{this.app}} @admin={{this.admin}} />\\n      {{/if}}\\n\\n      {{#if this.isIntercomradesDomain}}\\n        <a\\n          class=\\\"menu__popover__item\\\"\\n          {{on 'click' (fn @openModifyProductsModal\\n            'apps/app/intercomrades-package-editor-modal'\\n            this.app\\n          )}}\\n        >\\n          Modify products {{if this.modifiedProducts '(modified)'}}\\n        </a>\\n        <hr class=\\\"menu__popover__hr\\\" />\\n      {{/if}}\\n    {{/if}}\\n\\n    {{#if this.admin}}\\n      <PrimaryNav::AppSwitcher />\\n\\n      {{#if this.app}}\\n        <LinkTo\\n          @route=\\\"apps.app.settings\\\"\\n          @model={{this.app}}\\n          class=\\\"menu__popover__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          {{ic-interface-icon \\\"settings\\\"}} Settings\\n        </LinkTo>\\n\\n        <LinkTo\\n          @route=\\\"apps.app.account.general\\\"\\n          @model={{this.app}}\\n          class=\\\"menu__popover__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          {{ic-interface-icon \\\"person\\\"}} Your account\\n        </LinkTo>\\n\\n        {{#if this.canSeeBillingPage}}\\n          <LinkTo\\n            @route=\\\"apps.app.billing\\\"\\n            @model={{this.app}}\\n            class=\\\"menu__popover__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n            data-test-billing-settings-link=\\\"true\\\"\\n          >\\n            {{ic-interface-icon \\\"creditcard\\\"}} Billing\\n          </LinkTo>\\n        {{/if}}\\n      {{/if}}\\n      <hr class=\\\"menu__popover__hr\\\" />\\n    {{/if}}\\n\\n    <div class=\\\"pb-4\\\">\\n      <a\\n        href=\\\"https://www.intercom.com/help/\\\"\\n        class=\\\"menu__popover__item\\\"\\n        target=\\\"_blank\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n        {{on 'click' (track-analytics-event action=\\\"clicked\\\" object=\\\"menu_popover_help_center\\\")}}\\n      >\\n        Intercom Help Center\\n      </a>\\n\\n      <a\\n        href=\\\"https://www.intercomstatus.com\\\"\\n        class=\\\"menu__popover__item\\\"\\n        target=\\\"_blank\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n        {{on 'click' (track-analytics-event action=\\\"clicked\\\" object=\\\"menu_popover_status_page\\\")}}\\n      >\\n        Status page\\n      </a>\\n\\n      <a\\n        href=\\\"https://www.intercom.com/terms-and-policies\\\"\\n        class=\\\"menu__popover__item\\\"\\n        target=\\\"_blank\\\"\\n        rel=\\\"noopener noreferrer\\\"\\n        {{on 'click' (track-analytics-event action=\\\"clicked\\\" object=\\\"menu_popover_terms_and_policies\\\")}}\\n      >\\n        Terms &amp; policies\\n      </a>\\n\\n      {{#if this.admin}}\\n        <hr class=\\\"menu__popover__hr\\\" />\\n        <a\\n          class=\\\"menu__popover__item js__logout-link\\\"\\n          href=\\\"/admins/sign_out\\\"\\n          rel=\\\"nofollow noopener\\\"\\n        >\\n          Log out\\n        </a>\\n      {{/if}}\\n    </div>\\n  </popover.Content>\\n</Popover>\\n\",\"moduleName\":\"embercom/components/primary-nav/menu-popover.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/primary-nav/menu-popover.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport DetectsIntercomradesDomain from 'embercom/lib/detects-intercomrades-domain';\nimport IntercomradesProductsOverride from 'embercom/lib/intercomrades-products-override';\nimport FeatureFlags from 'embercom/models/mixins/feature-flags';\n\nexport default class SettingsMenuPopover extends Component.extend(\n  FeatureFlags,\n  DetectsIntercomradesDomain,\n) {\n  @service appService;\n  @service frontendStatsService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get admin() {\n    return this.app?.currentAdmin;\n  }\n\n  get modifiedProducts() {\n    return IntercomradesProductsOverride.isEnabled(this.app?.id);\n  }\n\n  get canSeeBillingPage() {\n    return !this.app?.isDeveloperWorkspace && !this.app?.isTestApp;\n  }\n\n  @action\n  onInitialRender() {\n    this.frontendStatsService.recordTimeToRender();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Popover\\n  @showOn={{array 'mouseenter'}}\\n  @hideOn={{array 'mouseleave'}}\\n  @placement=\\\"right\\\"\\n  @showArrow={{true}}\\n  @animation={{hash\\n    class='a__left-nav-tooltip'\\n    timingFunction='ease-in-out'\\n    duration=300\\n  }}\\n  class=\\\"u__display-block\\\"\\n  ...attributes\\n  as |popover|\\n>\\n  <popover.Opener>\\n    {{yield}}\\n  </popover.Opener>\\n  <popover.Content\\n    class=\\\"left-nav__overflow-menu\\\"\\n    data-test-overflow-nav\\n  >\\n    {{#each @entries as |entry|}}\\n      <LinkTo\\n        @route={{entry.route}}\\n        @model={{service 'appService.app'}}\\n        @current-when={{entry.activeRoute}}\\n        @classNames={{concat\\n          \\\"menu__popover__item left-nav__overflow-item left-nav__link \\\"\\n          entry.className\\n        }}\\n        @activeClass=\\\"o__selected\\\"\\n        data-content={{entry.productName}}\\n        data-test-product-icon={{entry.productName}}\\n        data-track-analytics-event-object={{entry.analyticsEventObjectName}}\\n        data-intercom-target={{concat \\\"OverflowNav \\\" entry.productName \\\" link\\\"}}\\n      >\\n        <div\\n          data-test-product-icon={{entry.name}}\\n          class=\\\"{{entry.className}} flex flex-row gap-3 py-1 items-center\\\"\\n        >\\n          {{inline-svg entry.iconSvgName}}\\n          <span class=\\\"left-nav__product-name\\\">\\n            {{entry.productName}}\\n          </span>\\n          {{#if entry.isUnread}}\\n            <div\\n              class=\\\"left-nav__overflow__unread-container unread-container {{entry.className}}\\\"\\n            >\\n              <span\\n                class=\\\"left-nav__unread unread__small o__in-primary-nav\\\"\\n                data-test-left-nav-unread-icon-badge\\n              ></span>\\n            </div>\\n          {{/if}}\\n        </div>\\n      </LinkTo>\\n    {{/each}}\\n  </popover.Content>\\n</Popover>\\n\", {\"contents\":\"<Popover\\n  @showOn={{array 'mouseenter'}}\\n  @hideOn={{array 'mouseleave'}}\\n  @placement=\\\"right\\\"\\n  @showArrow={{true}}\\n  @animation={{hash\\n    class='a__left-nav-tooltip'\\n    timingFunction='ease-in-out'\\n    duration=300\\n  }}\\n  class=\\\"u__display-block\\\"\\n  ...attributes\\n  as |popover|\\n>\\n  <popover.Opener>\\n    {{yield}}\\n  </popover.Opener>\\n  <popover.Content\\n    class=\\\"left-nav__overflow-menu\\\"\\n    data-test-overflow-nav\\n  >\\n    {{#each @entries as |entry|}}\\n      <LinkTo\\n        @route={{entry.route}}\\n        @model={{service 'appService.app'}}\\n        @current-when={{entry.activeRoute}}\\n        @classNames={{concat\\n          \\\"menu__popover__item left-nav__overflow-item left-nav__link \\\"\\n          entry.className\\n        }}\\n        @activeClass=\\\"o__selected\\\"\\n        data-content={{entry.productName}}\\n        data-test-product-icon={{entry.productName}}\\n        data-track-analytics-event-object={{entry.analyticsEventObjectName}}\\n        data-intercom-target={{concat \\\"OverflowNav \\\" entry.productName \\\" link\\\"}}\\n      >\\n        <div\\n          data-test-product-icon={{entry.name}}\\n          class=\\\"{{entry.className}} flex flex-row gap-3 py-1 items-center\\\"\\n        >\\n          {{inline-svg entry.iconSvgName}}\\n          <span class=\\\"left-nav__product-name\\\">\\n            {{entry.productName}}\\n          </span>\\n          {{#if entry.isUnread}}\\n            <div\\n              class=\\\"left-nav__overflow__unread-container unread-container {{entry.className}}\\\"\\n            >\\n              <span\\n                class=\\\"left-nav__unread unread__small o__in-primary-nav\\\"\\n                data-test-left-nav-unread-icon-badge\\n              ></span>\\n            </div>\\n          {{/if}}\\n        </div>\\n      </LinkTo>\\n    {{/each}}\\n  </popover.Content>\\n</Popover>\\n\",\"moduleName\":\"embercom/components/primary-nav/overflow-menu.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/primary-nav/overflow-menu.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Popover\\n  @showOn={{array 'mouseenter'}}\\n  @hideOn={{array 'mouseleave' 'click' 'clickout'}}\\n  @showArrow={{true}}\\n  @placement=\\\"right\\\"\\n  @isInteractive={{false}}\\n  @animation={{hash\\n    class='a__left-nav-tooltip'\\n    timingFunction='ease-in-out'\\n    duration=@animationDuration\\n  }}\\n  class=\\\"u__display-block {{@classNames}}\\\"\\n  ...attributes\\n  as |popover|\\n>\\n  <popover.Opener>\\n    {{yield}}\\n  </popover.Opener>\\n  <popover.Content>\\n    <Text @styling=\\\"strong\\\">\\n      {{@productName}}\\n    </Text>\\n  </popover.Content>\\n</Popover>\\n\", {\"contents\":\"<Popover\\n  @showOn={{array 'mouseenter'}}\\n  @hideOn={{array 'mouseleave' 'click' 'clickout'}}\\n  @showArrow={{true}}\\n  @placement=\\\"right\\\"\\n  @isInteractive={{false}}\\n  @animation={{hash\\n    class='a__left-nav-tooltip'\\n    timingFunction='ease-in-out'\\n    duration=@animationDuration\\n  }}\\n  class=\\\"u__display-block {{@classNames}}\\\"\\n  ...attributes\\n  as |popover|\\n>\\n  <popover.Opener>\\n    {{yield}}\\n  </popover.Opener>\\n  <popover.Content>\\n    <Text @styling=\\\"strong\\\">\\n      {{@productName}}\\n    </Text>\\n  </popover.Content>\\n</Popover>\\n\",\"moduleName\":\"embercom/components/primary-nav/product-icon-tooltip.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/primary-nav/product-icon-tooltip.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"{{optionClass}}\\\">\\n  {{inline-svg svgPath}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"{{optionClass}}\\\">\\n  {{inline-svg svgPath}}\\n</div>\\n\",\"moduleName\":\"embercom/components/product-icon-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/product-icon-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { PRODUCTS } from 'embercom/lib/billing';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  classNameBindings: [':product-icon', ':o__brand-refresh'],\n\n  product: null,\n\n  useSmallScale: false,\n\n  optionClass: computed('product', function() {\n    let productInfo = PRODUCTS[this.get('product.id')];\n\n    return productInfo && productInfo.optionClass;\n  }),\n\n  svgPath: computed('product.id', 'useSmallScale', function() {\n    let productId = this.get('product.id');\n    let path = `products/id-${productId}`;\n\n    if (!productId) {\n      path = 'products/id-platform';\n    }\n\n    let scaleSuffix = this.useSmallScale ? '-brand-refresh' : '-default-brand-refresh';\n    path += scaleSuffix;\n    return path;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"unread__container left-nav__unread-container\\\">\\n  <span data-test-product-icon=\\\"{{svgPath}}\\\">{{inline-svg svgPath}}</span>\\n  <span class=\\\"sr-only\\\">{{productKey}}</span>\\n\\n  {{#if (or showInboxCount showPlatformCount)}}\\n    <span data-test-nav-unread-badge class=\\\"unread {{if app.canUseUpdatedNavigation \\\"unread-updated\\\"}} o__in-primary-nav left-nav__unread\\\">\\n      {{app.unreadCount}} <span class=\\\"sr-only\\\">unread notifications</span>\\n    </span>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"unread__container left-nav__unread-container\\\">\\n  <span data-test-product-icon=\\\"{{svgPath}}\\\">{{inline-svg svgPath}}</span>\\n  <span class=\\\"sr-only\\\">{{productKey}}</span>\\n\\n  {{#if (or showInboxCount showPlatformCount)}}\\n    <span data-test-nav-unread-badge class=\\\"unread {{if app.canUseUpdatedNavigation \\\"unread-updated\\\"}} o__in-primary-nav left-nav__unread\\\">\\n      {{app.unreadCount}} <span class=\\\"sr-only\\\">unread notifications</span>\\n    </span>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/product-icon-nav-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/product-icon-nav-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { readOnly, gt, and, equal } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { PRODUCTS, INBOX_ID } from 'embercom/lib/billing';\n\nexport default Component.extend({\n  classNames: ['product-icon'],\n\n  appService: service(),\n  router: service(),\n\n  app: readOnly('appService.app'),\n  product: null,\n  isPlatform: equal('product.id', 'platform'),\n  isInbox: equal('product.id', INBOX_ID),\n\n  productKey: computed('product.id', function() {\n    let productId = this.get('product.id');\n    let product = PRODUCTS[productId];\n    return product?.key || productId;\n  }),\n\n  svgPath: computed(\n    'product.{id,svgId,route}',\n    'router.currentRouteName',\n    'app.canUseUpdatedNavigation',\n    function() {\n      let productId = this.get('product.id');\n      if (this.get('product.svgId') && this.app.canUseUpdatedNavigation) {\n        let currentRouteName = this.get('router.currentRouteName') || '';\n        let productRouteIsActive = this.get('product.route')\n          .split(' ')\n          .some(routeName => currentRouteName.includes(routeName));\n        if (productRouteIsActive) {\n          return `${this.get('product.svgId')}-active`;\n        }\n        return this.get('product.svgId');\n      }\n      return `products/id-${productId}-brand-refresh`;\n    },\n  ),\n\n  hasAnyUnread: gt('app.unreadCount', 0),\n  showInboxCount: and('isInbox', 'hasAnyUnread', 'app.inboxIsActive'),\n  showPlatformCount: and('isPlatform', 'hasAnyUnread', 'app.inboxIsNotActive'),\n});\n","import PseudonymWarner from '@intercom/embercom-composer/components/pseudonym-warner';\nexport default PseudonymWarner;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (or @numberOfAdminsToShow 3) as |numberOfAdmins|}}\\n  <span class=\\\"avatar-group\\\" data-test-avatar-group ...attributes>\\n    {{#if @admins.length}}\\n      {{#each (take numberOfAdmins @admins) as |admin|}}\\n        <IcTooltip as |tooltip|>\\n          <tooltip.opener>\\n            {{ic-avatar size=\\\"m\\\" model=admin}}\\n          </tooltip.opener>\\n          <tooltip.content data-test-avatar-group-tooltip-content>\\n            {{admin.displayAs}}\\n          </tooltip.content>\\n        </IcTooltip>\\n      {{/each}}\\n    {{else}}\\n      {{#each (repeat numberOfAdmins)}}\\n        <span class=\\\"avatar o__m\\\" data-test-empty-avatar>\\n          <span class=\\\"avatar__media\\\" />\\n        </span>\\n      {{/each}}\\n    {{/if}}\\n  </span>\\n  {{yield (hash otherAdmins=(drop numberOfAdmins @admins) isEmpty=(eq @admins.length 0))}}\\n{{/let}}\", {\"contents\":\"{{#let (or @numberOfAdminsToShow 3) as |numberOfAdmins|}}\\n  <span class=\\\"avatar-group\\\" data-test-avatar-group ...attributes>\\n    {{#if @admins.length}}\\n      {{#each (take numberOfAdmins @admins) as |admin|}}\\n        <IcTooltip as |tooltip|>\\n          <tooltip.opener>\\n            {{ic-avatar size=\\\"m\\\" model=admin}}\\n          </tooltip.opener>\\n          <tooltip.content data-test-avatar-group-tooltip-content>\\n            {{admin.displayAs}}\\n          </tooltip.content>\\n        </IcTooltip>\\n      {{/each}}\\n    {{else}}\\n      {{#each (repeat numberOfAdmins)}}\\n        <span class=\\\"avatar o__m\\\" data-test-empty-avatar>\\n          <span class=\\\"avatar__media\\\" />\\n        </span>\\n      {{/each}}\\n    {{/if}}\\n  </span>\\n  {{yield (hash otherAdmins=(drop numberOfAdmins @admins) isEmpty=(eq @admins.length 0))}}\\n{{/let}}\",\"moduleName\":\"embercom/components/pulse-candidate/avatar-group.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/pulse-candidate/avatar-group.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{enum-validation value=@size supportedValues=(array '1' '2' '3') required=true}}\\n{{enum-validation value=@tagName supportedValues=(array 'h1' 'h2' 'h3')}}\\n{{enum-validation value=@linkStyling supportedValues=(array 'standalone' 'subtle')}}\\n\\n{{#let\\n  (hash\\n    linkStyleClass=(if @linkStyling (concat 'o__' @linkStyling '-link'))\\n    qualifierClass=(if @qualifier 'o__qualifier')\\n    sizeClass=(concat 'o__size-' @size)\\n  )\\n  as |options|\\n}}\\n  {{~#if (eq @tagName 'h1')~}}\\n    <h1\\n      class=\\\"display-text {{options.sizeClass}} {{options.linkStyleClass}} {{options.qualifierClass}}\\\"\\n      data-test-display-text\\n      ...attributes\\n    >\\n      {{~yield~}}{{~#if @qualifier~}}<span class=\\\"display-text__qualifier\\\" data-test-display-text-qualifier>{{@qualifier}}</span>{{~/if~}}\\n    </h1>\\n  {{~else if (eq @tagName 'h2')~}}\\n    <h2\\n      class=\\\"display-text {{options.sizeClass}} {{options.linkStyleClass}} {{options.qualifierClass}}\\\"\\n      data-test-display-text\\n      ...attributes\\n    >\\n      {{~yield~}}{{~#if @qualifier~}}<span class=\\\"display-text__qualifier\\\" data-test-display-text-qualifier>{{@qualifier}}</span>{{~/if~}}\\n    </h2>\\n  {{~else if (eq @tagName 'h3')~}}\\n    <h3\\n      class=\\\"display-text {{options.sizeClass}} {{options.linkStyleClass}} {{options.qualifierClass}}\\\"\\n      data-test-display-text\\n      ...attributes\\n    >\\n      {{~yield~}}{{~#if @qualifier~}}<span class=\\\"display-text__qualifier\\\" data-test-display-text-qualifier>{{@qualifier}}</span>{{~/if~}}\\n    </h3>\\n  {{~else~}}\\n    <span\\n      class=\\\"display-text {{options.sizeClass}} {{options.linkStyleClass}} {{options.qualifierClass}}\\\"\\n      data-test-display-text\\n      ...attributes\\n    >\\n      {{~yield~}}{{~#if @qualifier~}}<span class=\\\"display-text__qualifier\\\" data-test-display-text-qualifier>{{@qualifier}}</span>{{~/if~}}\\n    </span>\\n  {{~/if~}}\\n{{/let}}\\n\", {\"contents\":\"{{enum-validation value=@size supportedValues=(array '1' '2' '3') required=true}}\\n{{enum-validation value=@tagName supportedValues=(array 'h1' 'h2' 'h3')}}\\n{{enum-validation value=@linkStyling supportedValues=(array 'standalone' 'subtle')}}\\n\\n{{#let\\n  (hash\\n    linkStyleClass=(if @linkStyling (concat 'o__' @linkStyling '-link'))\\n    qualifierClass=(if @qualifier 'o__qualifier')\\n    sizeClass=(concat 'o__size-' @size)\\n  )\\n  as |options|\\n}}\\n  {{~#if (eq @tagName 'h1')~}}\\n    <h1\\n      class=\\\"display-text {{options.sizeClass}} {{options.linkStyleClass}} {{options.qualifierClass}}\\\"\\n      data-test-display-text\\n      ...attributes\\n    >\\n      {{~yield~}}{{~#if @qualifier~}}<span class=\\\"display-text__qualifier\\\" data-test-display-text-qualifier>{{@qualifier}}</span>{{~/if~}}\\n    </h1>\\n  {{~else if (eq @tagName 'h2')~}}\\n    <h2\\n      class=\\\"display-text {{options.sizeClass}} {{options.linkStyleClass}} {{options.qualifierClass}}\\\"\\n      data-test-display-text\\n      ...attributes\\n    >\\n      {{~yield~}}{{~#if @qualifier~}}<span class=\\\"display-text__qualifier\\\" data-test-display-text-qualifier>{{@qualifier}}</span>{{~/if~}}\\n    </h2>\\n  {{~else if (eq @tagName 'h3')~}}\\n    <h3\\n      class=\\\"display-text {{options.sizeClass}} {{options.linkStyleClass}} {{options.qualifierClass}}\\\"\\n      data-test-display-text\\n      ...attributes\\n    >\\n      {{~yield~}}{{~#if @qualifier~}}<span class=\\\"display-text__qualifier\\\" data-test-display-text-qualifier>{{@qualifier}}</span>{{~/if~}}\\n    </h3>\\n  {{~else~}}\\n    <span\\n      class=\\\"display-text {{options.sizeClass}} {{options.linkStyleClass}} {{options.qualifierClass}}\\\"\\n      data-test-display-text\\n      ...attributes\\n    >\\n      {{~yield~}}{{~#if @qualifier~}}<span class=\\\"display-text__qualifier\\\" data-test-display-text-qualifier>{{@qualifier}}</span>{{~/if~}}\\n    </span>\\n  {{~/if~}}\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/pulse-candidate/display-text.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/pulse-candidate/display-text.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"pc__pill {{if @selected \\\"o__selected\\\"}} {{if this.hasHover \\\"o__hovered\\\"}} {{if @readonly \\\"o__disabled\\\"}}\\\"\\n  tabindex=\\\"0\\\"\\n  {{ on 'mouseenter' (set this.hasHover true) }}\\n  {{ on 'mouseleave' (set this.hasHover false) }}\\n  ...attributes\\n  data-test-pill>\\n  <div\\n    class=\\\"pc__pill-content pl-2 pr-2\\\">\\n    {{#if @type}}\\n      {{#if (eq @type \\\"user\\\")}}\\n        <span data-test-pill-value>\\n          {{#if @model.avatar}}\\n            <span data-test-pill-value-avatar>\\n              {{ic-avatar model=@model size=\\\"xs\\\"}}\\n            </span>\\n          {{/if}}\\n          {{@model.name}}\\n        </span>\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n  {{#if @onDelete}}\\n    <div class=\\\"pc__pill-delete pr-1 pl-6\\\">\\n      <a data-test-pill-delete {{on 'click' (fn @onDelete @model) }}>\\n        {{ic-interface-icon \\\"small-close\\\" color=\\\"blue\\\" solo=true}}\\n      </a>\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"pc__pill {{if @selected \\\"o__selected\\\"}} {{if this.hasHover \\\"o__hovered\\\"}} {{if @readonly \\\"o__disabled\\\"}}\\\"\\n  tabindex=\\\"0\\\"\\n  {{ on 'mouseenter' (set this.hasHover true) }}\\n  {{ on 'mouseleave' (set this.hasHover false) }}\\n  ...attributes\\n  data-test-pill>\\n  <div\\n    class=\\\"pc__pill-content pl-2 pr-2\\\">\\n    {{#if @type}}\\n      {{#if (eq @type \\\"user\\\")}}\\n        <span data-test-pill-value>\\n          {{#if @model.avatar}}\\n            <span data-test-pill-value-avatar>\\n              {{ic-avatar model=@model size=\\\"xs\\\"}}\\n            </span>\\n          {{/if}}\\n          {{@model.name}}\\n        </span>\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n  {{#if @onDelete}}\\n    <div class=\\\"pc__pill-delete pr-1 pl-6\\\">\\n      <a data-test-pill-delete {{on 'click' (fn @onDelete @model) }}>\\n        {{ic-interface-icon \\\"small-close\\\" color=\\\"blue\\\" solo=true}}\\n      </a>\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/pulse-candidate/pill.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/pulse-candidate/pill.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class Pill extends Component {\n  @tracked hasHover = false;\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col side-drawer__container\\\" data-test-side-drawer-container {{did-insert this.createKeydownListener}}>\\n  <div data-test-side-drawer-banner>\\n    {{yield (hash Banner=(component 'ic-banner' type='help' onHideClick=@onHideBanner))}}\\n  </div>\\n\\n  <div class=\\\"flex flex-row justify-between pt-6 pb-6 pl-8 pr-8\\\">\\n    <div data-test-side-drawer-header>\\n      {{yield (hash Header=(component 'heading' size='2'))}}\\n    </div>\\n\\n    <button\\n      class=\\\"u__pointer-cursor side-drawer__close-button\\\"\\n      aria-label=\\\"Close\\\"\\n      data-test-side-drawer-close-button\\n      {{on 'click' @onClose}}\\n    >\\n      {{ic-interface-icon 'close' solo=true}}\\n    </button>\\n  </div>\\n\\n  <div class=\\\"flex flex-col flex-1 side-drawer__body pl-8 pr-8\\\" data-test-side-drawer-body>\\n    {{yield (hash Body=(component 'div-with-splattributes' class=\\\"flex flex-col flex-1\\\"))}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col side-drawer__container\\\" data-test-side-drawer-container {{did-insert this.createKeydownListener}}>\\n  <div data-test-side-drawer-banner>\\n    {{yield (hash Banner=(component 'ic-banner' type='help' onHideClick=@onHideBanner))}}\\n  </div>\\n\\n  <div class=\\\"flex flex-row justify-between pt-6 pb-6 pl-8 pr-8\\\">\\n    <div data-test-side-drawer-header>\\n      {{yield (hash Header=(component 'heading' size='2'))}}\\n    </div>\\n\\n    <button\\n      class=\\\"u__pointer-cursor side-drawer__close-button\\\"\\n      aria-label=\\\"Close\\\"\\n      data-test-side-drawer-close-button\\n      {{on 'click' @onClose}}\\n    >\\n      {{ic-interface-icon 'close' solo=true}}\\n    </button>\\n  </div>\\n\\n  <div class=\\\"flex flex-col flex-1 side-drawer__body pl-8 pr-8\\\" data-test-side-drawer-body>\\n    {{yield (hash Body=(component 'div-with-splattributes' class=\\\"flex flex-col flex-1\\\"))}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/pulse-candidate/side-drawer-container.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/pulse-candidate/side-drawer-container.hbs\"}});\nimport Component from '@glimmer/component';\nimport keycodes from '@intercom/embercom-core/lib/keynames';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class SideDrawerContainer extends Component {\n  @service eventListenerStack;\n\n  @action\n  createKeydownListener() {\n    this.eventListenerStack.pushEventListener(this, 'keydown', this._handleKeypress);\n  }\n\n  willDestroy() {\n    this.eventListenerStack.runDisposables(this);\n    super.willDestroy(...arguments);\n  }\n\n  _handleKeypress(event) {\n    if (event.keyCode === keycodes.escape) {\n      this.args.onClose();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @isOpen}}\\n  <MaybeInElement @element={{this.alternateRenderContext}}>\\n    <div\\n      class=\\\"side-drawer__blanket\\\"\\n      tabindex=\\\"-1\\\"\\n      {{on \\\"click\\\" this.onBlanketClick}}\\n      data-side-drawer-blanket\\n      data-test-side-drawer-blanket\\n      {{trap-focus initialFocus=this.initialFocus}}\\n    >\\n      <div\\n        class=\\\"side-drawer__wrapper\\\"\\n        data-side-drawer-wrapper\\n        data-test-side-drawer-wrapper\\n        ...attributes\\n      >\\n        <PulseCandidate::SideDrawerContainer\\n          @onClose={{@onClose}}\\n          @onHideBanner={{@onHideBanner}}\\n          as |sideDrawerContainer|\\n        >\\n          {{yield sideDrawerContainer}}\\n        </PulseCandidate::SideDrawerContainer>\\n      </div>\\n    </div>\\n  </MaybeInElement>\\n{{/if}}\\n\", {\"contents\":\"{{#if @isOpen}}\\n  <MaybeInElement @element={{this.alternateRenderContext}}>\\n    <div\\n      class=\\\"side-drawer__blanket\\\"\\n      tabindex=\\\"-1\\\"\\n      {{on \\\"click\\\" this.onBlanketClick}}\\n      data-side-drawer-blanket\\n      data-test-side-drawer-blanket\\n      {{trap-focus initialFocus=this.initialFocus}}\\n    >\\n      <div\\n        class=\\\"side-drawer__wrapper\\\"\\n        data-side-drawer-wrapper\\n        data-test-side-drawer-wrapper\\n        ...attributes\\n      >\\n        <PulseCandidate::SideDrawerContainer\\n          @onClose={{@onClose}}\\n          @onHideBanner={{@onHideBanner}}\\n          as |sideDrawerContainer|\\n        >\\n          {{yield sideDrawerContainer}}\\n        </PulseCandidate::SideDrawerContainer>\\n      </div>\\n    </div>\\n  </MaybeInElement>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/pulse-candidate/side-drawer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/pulse-candidate/side-drawer.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { ROOT_PARENT_SELECTOR } from '@intercom/embercom-core/lib/popover-utils';\n\nexport default class SideDrawer extends Component {\n  // SideDrawer has different nesting expectation to IcModal, we never expect\n  // a drawer to be a child of another Popover. If that requirement ever\n  // changes we will need to reimplement/generalise the logic inside the\n  // IcModal component which dynamically renders the container \"in place\"\n  // instead of at the top of the DOM in cases where it is nested\n  alternateRenderContext = document.querySelector(ROOT_PARENT_SELECTOR);\n\n  initialFocus(element) {\n    return element;\n  }\n\n  @action\n  onBlanketClick(event) {\n    if (\n      event.target.hasAttribute('data-side-drawer-wrapper') ||\n      event.target.hasAttribute('data-side-drawer-blanket')\n    ) {\n      this.args.onClose();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @isOpen}}\\n  <div\\n    class=\\\"side-sheet\\\"\\n    data-test-side-sheet-container\\n    ...attributes\\n  >\\n    {{yield}}\\n  </div>\\n{{/if}}\", {\"contents\":\"{{#if @isOpen}}\\n  <div\\n    class=\\\"side-sheet\\\"\\n    data-test-side-sheet-container\\n    ...attributes\\n  >\\n    {{yield}}\\n  </div>\\n{{/if}}\",\"moduleName\":\"embercom/components/pulse-candidate/side-sheet.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/pulse-candidate/side-sheet.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport keycodes from '@intercom/embercom-core/lib/keynames';\n\nexport default class SideDrawer extends Component {\n  @service eventListenerStack;\n\n  constructor() {\n    super(...arguments);\n    this.createKeydownListener();\n  }\n\n  willDestroy() {\n    this.eventListenerStack.runDisposables(this);\n    super.willDestroy(...arguments);\n  }\n\n  createKeydownListener() {\n    this.eventListenerStack.pushEventListener(this, 'keydown', this._handleKeyPress);\n  }\n\n  _handleKeyPress(event) {\n    if (event.keyCode === keycodes.escape) {\n      this.args.onClose && this.args.onClose();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (eq @value @selected) as |isButtonSelected|}}\\n  <button\\n    data-test-vertical-radio-button-group-button={{@value}}\\n    class=\\\"vertical-radio-button-group-button {{if isButtonSelected \\\"o__selected\\\"}}\\\"\\n    {{on \\\"click\\\" (fn @onclick @value)}}\\n  >\\n    <div class=\\\"flex flex-row gap-2\\\">\\n      <span class=\\\"vertical-radio-button-group-button__icon {{if isButtonSelected \\\"o__selected\\\"}}\\\">\\n        {{ic-interface-icon @icon}}\\n      </span>\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <div class=\\\"flex flex-row\\\">\\n          <div class=\\\"flex flex-col flex-1\\\">\\n            <label class=\\\"o__label vertical-radio-button-group-button__label {{if isButtonSelected \\\"o__selected\\\"}} t__left\\\" data-test-vertical-radio-button-group-button-label>\\n              {{@label}}\\n            </label>\\n          </div>\\n          {{#if @tooltipContent}}\\n            <IcTooltipIcon @content={{@tooltipContent}} data-test-vertical-radio-button-group-button-tooltip={{true}} />\\n          {{/if}}\\n        </div>\\n        {{#if @description}}\\n          <Text @styling='small' class=\\\"vertical-radio-button-group-button__description {{if isButtonSelected \\\"o__selected\\\"}} t__left\\\">\\n            {{@description}}\\n          </Text>\\n        {{/if}}\\n      </div>\\n    </div>\\n  </button>\\n{{/let}}\\n\", {\"contents\":\"{{#let (eq @value @selected) as |isButtonSelected|}}\\n  <button\\n    data-test-vertical-radio-button-group-button={{@value}}\\n    class=\\\"vertical-radio-button-group-button {{if isButtonSelected \\\"o__selected\\\"}}\\\"\\n    {{on \\\"click\\\" (fn @onclick @value)}}\\n  >\\n    <div class=\\\"flex flex-row gap-2\\\">\\n      <span class=\\\"vertical-radio-button-group-button__icon {{if isButtonSelected \\\"o__selected\\\"}}\\\">\\n        {{ic-interface-icon @icon}}\\n      </span>\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <div class=\\\"flex flex-row\\\">\\n          <div class=\\\"flex flex-col flex-1\\\">\\n            <label class=\\\"o__label vertical-radio-button-group-button__label {{if isButtonSelected \\\"o__selected\\\"}} t__left\\\" data-test-vertical-radio-button-group-button-label>\\n              {{@label}}\\n            </label>\\n          </div>\\n          {{#if @tooltipContent}}\\n            <IcTooltipIcon @content={{@tooltipContent}} data-test-vertical-radio-button-group-button-tooltip={{true}} />\\n          {{/if}}\\n        </div>\\n        {{#if @description}}\\n          <Text @styling='small' class=\\\"vertical-radio-button-group-button__description {{if isButtonSelected \\\"o__selected\\\"}} t__left\\\">\\n            {{@description}}\\n          </Text>\\n        {{/if}}\\n      </div>\\n    </div>\\n  </button>\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/pulse-candidate/vertical-radio-button-group-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/pulse-candidate/vertical-radio-button-group-button.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"vertical-radio-button-group {{if @disabled \\\"o__disabled\\\"}}\\\"\\n  data-test-vertical-radio-button-group\\n  {{tooltip content=@disabledTooltip isDisabled=(and (not @disabled) (not @disabledTooltip))}}\\n  ...attributes\\n>\\n  <div class=\\\"flex flex-col\\\">\\n    {{yield (hash\\n      Button=(component 'pulse-candidate/vertical-radio-button-group-button'\\n        selected=@selected\\n        onclick=@onChange\\n      )\\n    )}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"vertical-radio-button-group {{if @disabled \\\"o__disabled\\\"}}\\\"\\n  data-test-vertical-radio-button-group\\n  {{tooltip content=@disabledTooltip isDisabled=(and (not @disabled) (not @disabledTooltip))}}\\n  ...attributes\\n>\\n  <div class=\\\"flex flex-col\\\">\\n    {{yield (hash\\n      Button=(component 'pulse-candidate/vertical-radio-button-group-button'\\n        selected=@selected\\n        onclick=@onChange\\n      )\\n    )}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/pulse-candidate/vertical-radio-button-group.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/pulse-candidate/vertical-radio-button-group.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","define(\"embercom/components/pulse/accordion\", [\"exports\", \"@intercom/embercom-core/components/pulse/accordion\"], function (_exports, _accordion) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _accordion.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/accordion/body\", [\"exports\", \"@intercom/embercom-core/components/pulse/accordion/body\"], function (_exports, _body) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _body.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/accordion/header-action\", [\"exports\", \"@intercom/embercom-core/components/pulse/accordion/header-action\"], function (_exports, _headerAction) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _headerAction.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/accordion/header\", [\"exports\", \"@intercom/embercom-core/components/pulse/accordion/header\"], function (_exports, _header) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _header.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/accordion/section\", [\"exports\", \"@intercom/embercom-core/components/pulse/accordion/section\"], function (_exports, _section) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _section.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/discovery-banner\", [\"exports\", \"@intercom/embercom-core/components/pulse/discovery-banner\"], function (_exports, _discoveryBanner) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _discoveryBanner.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/discovery-banner/link\", [\"exports\", \"@intercom/embercom-core/components/pulse/discovery-banner/link\"], function (_exports, _link) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _link.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/expanding-input\", [\"exports\", \"@intercom/embercom-core/components/pulse/expanding-input\"], function (_exports, _expandingInput) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _expandingInput.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/full-width-banner\", [\"exports\", \"@intercom/embercom-core/components/pulse/full-width-banner\"], function (_exports, _fullWidthBanner) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _fullWidthBanner.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/help-content/link\", [\"exports\", \"@intercom/embercom-core/components/pulse/help-content/link\"], function (_exports, _link) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _link.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/help-content/tour\", [\"exports\", \"@intercom/embercom-core/components/pulse/help-content/tour\"], function (_exports, _tour) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _tour.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/help-content/video\", [\"exports\", \"@intercom/embercom-core/components/pulse/help-content/video\"], function (_exports, _video) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _video.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/hero-banner\", [\"exports\", \"@intercom/embercom-core/components/pulse/hero-banner\"], function (_exports, _heroBanner) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _heroBanner.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/hero-banner/action\", [\"exports\", \"@intercom/embercom-core/components/pulse/hero-banner/action\"], function (_exports, _action) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _action.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/hero-banner/description\", [\"exports\", \"@intercom/embercom-core/components/pulse/hero-banner/description\"], function (_exports, _description) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _description.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/hero-banner/links\", [\"exports\", \"@intercom/embercom-core/components/pulse/hero-banner/links\"], function (_exports, _links) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _links.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/hero-banner/links/link\", [\"exports\", \"@intercom/embercom-core/components/pulse/hero-banner/links/link\"], function (_exports, _link) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _link.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/hero-banner/links/video\", [\"exports\", \"@intercom/embercom-core/components/pulse/hero-banner/links/video\"], function (_exports, _video) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _video.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/hero-banner/title\", [\"exports\", \"@intercom/embercom-core/components/pulse/hero-banner/title\"], function (_exports, _title) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _title.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/large-radio-button-group\", [\"exports\", \"@intercom/embercom-core/components/pulse/large-radio-button-group\"], function (_exports, _largeRadioButtonGroup) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _largeRadioButtonGroup.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/large-radio-button-group/option-contents-footer\", [\"exports\", \"@intercom/embercom-core/components/pulse/large-radio-button-group/option-contents-footer\"], function (_exports, _optionContentsFooter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _optionContentsFooter.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/large-radio-button-group/option-contents\", [\"exports\", \"@intercom/embercom-core/components/pulse/large-radio-button-group/option-contents\"], function (_exports, _optionContents) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _optionContents.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/large-radio-button-group/option\", [\"exports\", \"@intercom/embercom-core/components/pulse/large-radio-button-group/option\"], function (_exports, _option) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _option.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/settings-accordion\", [\"exports\", \"@intercom/embercom-core/components/pulse/settings-accordion\"], function (_exports, _settingsAccordion) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _settingsAccordion.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/settings-accordion/body\", [\"exports\", \"@intercom/embercom-core/components/pulse/settings-accordion/body\"], function (_exports, _body) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _body.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/settings-accordion/header\", [\"exports\", \"@intercom/embercom-core/components/pulse/settings-accordion/header\"], function (_exports, _header) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _header.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/settings-accordion/section\", [\"exports\", \"@intercom/embercom-core/components/pulse/settings-accordion/section\"], function (_exports, _section) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _section.default;\n    }\n  });\n});\n","define(\"embercom/components/pulse/video-modal\", [\"exports\", \"@intercom/embercom-core/components/pulse/video-modal\"], function (_exports, _videoModal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _videoModal.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Common::AttributeSelect\\n  @label={{label}}\\n  @dropdownDisplayMode=\\\"block\\\"\\n  @filterPlaceholder={{filterPlaceholder}}\\n  @attributeGroupList={{attributeGroupList}}\\n  @selectedAttributeIdentifier={{selectedAttributeIdentifier}}\\n  @initiallyOpened={{initiallyOpened}}\\n  @onSelectAttribute={{onSelectAttribute}}\\n  @isDisabled={{isDisabled}}\\n  @footerActions={{footerActions}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Common::AttributeSelect\\n  @label={{label}}\\n  @dropdownDisplayMode=\\\"block\\\"\\n  @filterPlaceholder={{filterPlaceholder}}\\n  @attributeGroupList={{attributeGroupList}}\\n  @selectedAttributeIdentifier={{selectedAttributeIdentifier}}\\n  @initiallyOpened={{initiallyOpened}}\\n  @onSelectAttribute={{onSelectAttribute}}\\n  @isDisabled={{isDisabled}}\\n  @footerActions={{footerActions}}\\n/>\\n\",\"moduleName\":\"embercom/components/qualification-attributes/attribute-select.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/qualification-attributes/attribute-select.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { mapBy } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  tagName: 'span',\n\n  attributeIdsInUse: mapBy('attributesInUse', 'identifier'),\n  attributeGroupList: computed(\n    'attributeIdsInUse.[]',\n    'availableAttributes.[]',\n    'selectedAttributeIdentifier',\n    'label',\n    function() {\n      let takenAttributeIds = this.attributeIdsInUse.reject(attributeId => {\n        return attributeId === this.selectedAttributeIdentifier;\n      });\n      let attributes = this.availableAttributes.reject(attribute =>\n        takenAttributeIds.includes(attribute.get('identifier')),\n      );\n\n      return [\n        {\n          heading: this.label,\n          attributes,\n        },\n      ];\n    },\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ul\\n  class=\\\"u__padl__20 u__m__0 attribute-selector__qualification-attributes\\\"\\n  data-test-attribute-selector\\n>\\n  {{#each uneditableAttributes as |qualificationAttribute|}}\\n    <li\\n      class=\\\"attribute-selector__qualification-attribute\\\"\\n      data-test-uneditable-qualification-attribute\\n    >\\n      <div class=\\\"flex items-center\\\">\\n        <div\\n          class=\\\"attribute-selector__qualification-attribute-dropdown-container u__mr__10\\\"\\n        >\\n          <div\\n            class=\\\"t__h4 attribute-selector__mandatory-qualification-attribute u__mt__5\\\"\\n          >\\n            <div class=\\\"flex items-start\\\">\\n              <div class=\\\"u__mr__10\\\">\\n                {{ic-interface-icon qualificationAttribute.icon solo=true}}\\n              </div>\\n              <div class=\\\"flex-auto min-w-0\\\">\\n                {{qualificationAttribute.name}} <span class=\\\"t__light-text\\\">\\n                  (mandatory)\\n                </span>\\n              </div>\\n            </div>\\n          </div>\\n        </div>\\n      </div>\\n    </li>\\n  {{/each}}\\n  {{#each editableAttributes as |qualificationAttribute|}}\\n    <li\\n      class=\\\"attribute-selector__qualification-attribute\\\"\\n      data-test-editable-qualification-attribute\\n    >\\n      <div class=\\\"flex items-center\\\">\\n        <div\\n          class=\\\"attribute-selector__qualification-attribute-dropdown-container u__mr__10\\\"\\n        >\\n          <QualificationAttributes::AttributeSelect\\n            @label=\\\"Choose...\\\"\\n            @filterPlaceholder=\\\"Search data\\\"\\n            @availableAttributes={{availableAttributes}}\\n            @attributesInUse={{attributesInUse}}\\n            @selectedAttributeIdentifier={{qualificationAttribute.identifier}}\\n            @initiallyOpened={{qualificationAttribute.justAdded}}\\n            @onSelectAttribute={{action\\n              \\\"updateAttributeIdentifier\\\"\\n              qualificationAttribute\\n            }}\\n            @isDisabled={{not isEditable}}\\n            @footerActions={{if\\n              allowAttributeCreation\\n              (hash\\n                text=\\\"Add new data\\\"\\n                icon=\\\"new\\\"\\n                action=(action \\\"showNewDataModal\\\")\\n              )\\n            }}\\n          />\\n        </div>\\n        {{#if\\n          (and\\n            isEditable (or allowNoAttributes (gt editableAttributes.length 1))\\n          )\\n        }}\\n          <div class=\\\"flex-auto min-w-0\\\">\\n            <a\\n              class=\\\"attribute-selector__remove-qualification-attribute quick-action o__destructive\\\"\\n              onclick={{action \\\"removeAttribute\\\" qualificationAttribute}}\\n              data-test-remove-qualification-attribute\\n            >\\n              {{ic-interface-icon \\\"trash\\\"}}\\n            </a>\\n          </div>\\n        {{/if}}\\n      </div>\\n    </li>\\n  {{/each}}\\n</ul>\\n{{#if canAddAttribute}}\\n  <div>\\n    <a\\n      class=\\\"btn__tertiary {{if addAttributeButtonIsDisabled \\\"o__disabled\\\"}}\\\"\\n      onclick={{action \\\"addAttribute\\\"}}\\n      data-test-add-qualification-attribute\\n    >\\n      {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add data\\n    </a>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<ul\\n  class=\\\"u__padl__20 u__m__0 attribute-selector__qualification-attributes\\\"\\n  data-test-attribute-selector\\n>\\n  {{#each uneditableAttributes as |qualificationAttribute|}}\\n    <li\\n      class=\\\"attribute-selector__qualification-attribute\\\"\\n      data-test-uneditable-qualification-attribute\\n    >\\n      <div class=\\\"flex items-center\\\">\\n        <div\\n          class=\\\"attribute-selector__qualification-attribute-dropdown-container u__mr__10\\\"\\n        >\\n          <div\\n            class=\\\"t__h4 attribute-selector__mandatory-qualification-attribute u__mt__5\\\"\\n          >\\n            <div class=\\\"flex items-start\\\">\\n              <div class=\\\"u__mr__10\\\">\\n                {{ic-interface-icon qualificationAttribute.icon solo=true}}\\n              </div>\\n              <div class=\\\"flex-auto min-w-0\\\">\\n                {{qualificationAttribute.name}} <span class=\\\"t__light-text\\\">\\n                  (mandatory)\\n                </span>\\n              </div>\\n            </div>\\n          </div>\\n        </div>\\n      </div>\\n    </li>\\n  {{/each}}\\n  {{#each editableAttributes as |qualificationAttribute|}}\\n    <li\\n      class=\\\"attribute-selector__qualification-attribute\\\"\\n      data-test-editable-qualification-attribute\\n    >\\n      <div class=\\\"flex items-center\\\">\\n        <div\\n          class=\\\"attribute-selector__qualification-attribute-dropdown-container u__mr__10\\\"\\n        >\\n          <QualificationAttributes::AttributeSelect\\n            @label=\\\"Choose...\\\"\\n            @filterPlaceholder=\\\"Search data\\\"\\n            @availableAttributes={{availableAttributes}}\\n            @attributesInUse={{attributesInUse}}\\n            @selectedAttributeIdentifier={{qualificationAttribute.identifier}}\\n            @initiallyOpened={{qualificationAttribute.justAdded}}\\n            @onSelectAttribute={{action\\n              \\\"updateAttributeIdentifier\\\"\\n              qualificationAttribute\\n            }}\\n            @isDisabled={{not isEditable}}\\n            @footerActions={{if\\n              allowAttributeCreation\\n              (hash\\n                text=\\\"Add new data\\\"\\n                icon=\\\"new\\\"\\n                action=(action \\\"showNewDataModal\\\")\\n              )\\n            }}\\n          />\\n        </div>\\n        {{#if\\n          (and\\n            isEditable (or allowNoAttributes (gt editableAttributes.length 1))\\n          )\\n        }}\\n          <div class=\\\"flex-auto min-w-0\\\">\\n            <a\\n              class=\\\"attribute-selector__remove-qualification-attribute quick-action o__destructive\\\"\\n              onclick={{action \\\"removeAttribute\\\" qualificationAttribute}}\\n              data-test-remove-qualification-attribute\\n            >\\n              {{ic-interface-icon \\\"trash\\\"}}\\n            </a>\\n          </div>\\n        {{/if}}\\n      </div>\\n    </li>\\n  {{/each}}\\n</ul>\\n{{#if canAddAttribute}}\\n  <div>\\n    <a\\n      class=\\\"btn__tertiary {{if addAttributeButtonIsDisabled \\\"o__disabled\\\"}}\\\"\\n      onclick={{action \\\"addAttribute\\\"}}\\n      data-test-add-qualification-attribute\\n    >\\n      {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add data\\n    </a>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/qualification-attributes/attribute-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/qualification-attributes/attribute-selector.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { computed } from '@ember/object';\nimport { filterBy, mapBy, lt, and } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { greaterThanProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\n\nconst DISALLOWED_ATTRIBUTE_IDENTIFIERS = [\n  'geoip_data.country_name',\n  'geoip_data.region_name',\n  'geoip_data.city_name',\n  'geoip_data.timezone',\n];\n\nconst SUPPORTED_ATTRIBUTE_TYPES = ['string', 'integer', 'boolean', 'float'];\n\nexport default Component.extend({\n  intercomEventService: service(),\n  store: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  tagName: '',\n  allowNoAttributes: true,\n\n  init() {\n    this._super(...arguments);\n  },\n\n  editableAttributes: filterBy('attributesInUse', 'mandatoryAttribute', false),\n\n  mandatoryAttributes: filterBy('attributesInUse', 'mandatoryAttribute', true),\n  mandatoryAttributeIdentifiers: mapBy('mandatoryAttributes', 'identifier'),\n  uneditableAttributes: computed('mandatoryAttributeIdentifiers', function() {\n    return this.qualificationAttributes.mapBy('dataAttribute').filter(attribute => {\n      return this.mandatoryAttributeIdentifiers.includes(attribute.get('identifier'));\n    });\n  }),\n\n  availableAttributes: computed('qualificationAttributes.[]', function() {\n    let qualificationAttributes = this.qualificationAttributes;\n    return qualificationAttributes.mapBy('dataAttribute').filter(attribute => {\n      let hasSupportedType = SUPPORTED_ATTRIBUTE_TYPES.includes(attribute.get('type'));\n      let isAllowedIdentifier = !DISALLOWED_ATTRIBUTE_IDENTIFIERS.includes(\n        attribute.get('identifier'),\n      );\n\n      return hasSupportedType && isAllowedIdentifier;\n    });\n  }),\n\n  hasUnaddedAvailableAttributes: greaterThanProperty(\n    'availableAttributes.length',\n    'attributesInUse.length',\n  ),\n  hasLessQualificationAttributesThanMax: lt('attributesInUse.length', 4),\n  canAddAttribute: and('hasLessQualificationAttributesThanMax', 'hasUnaddedAvailableAttributes'),\n\n  addAttributeButtonIsDisabled: computed(\n    'isEditable',\n    'attributesInUse.@each.identifier',\n    function() {\n      let selectedAttributes = this.attributesInUse.mapBy('identifier');\n      return !this.isEditable || selectedAttributes.includes(undefined);\n    },\n  ),\n\n  actions: {\n    addAttribute(e) {\n      e.stopPropagation();\n      this.attributesInUse.createFragment({\n        justAdded: true,\n      });\n    },\n    updateAttributeIdentifier(qualificationAttribute, attribute) {\n      let identifier = attribute.get('identifier');\n      qualificationAttribute.set('justAdded', false);\n      let isUpdate = Boolean(qualificationAttribute.get('identifier'));\n      let action = isUpdate ? 'updated' : 'added';\n      this.attributeEdited(action, identifier);\n\n      qualificationAttribute.set('identifier', identifier);\n    },\n    removeAttribute(qualificationAttribute) {\n      let identifier = qualificationAttribute.get('identifier');\n      if (identifier) {\n        this.attributeEdited('deleted', identifier);\n      }\n      this.attributesInUse.removeFragment(qualificationAttribute);\n    },\n    showNewDataModal() {\n      this.modalService.openModal('apps/app/settings/modals/attribute-details', {\n        allowArchival: false,\n        dataContext: 'qualification',\n      });\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'add-new-data',\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport $ from 'jquery';\nimport Component from '@ember/component';\nexport default Component.extend({\n  tagName: 'input',\n  type: 'radio',\n  attributeBindings: ['name', 'type', 'value', 'checked:checked', 'disabled', 'data-test-id'],\n  click() {\n    if (this.boolean) {\n      this.set('selection', $(this.element).val() === 'true');\n    } else {\n      this.set('selection', $(this.element).val());\n    }\n    let onSelectionChanged = this.onSelectionChanged;\n    if (onSelectionChanged) {\n      onSelectionChanged(this.selection);\n    }\n  },\n  checked: computed('selection', function() {\n    return this.value === this.selection;\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-new-mixins */\nimport { lt, lte } from '@ember/object/computed';\nimport { isArray } from '@ember/array';\nimport { computed } from '@ember/object';\nimport Mixin from '@ember/object/mixin';\nimport { axisBottom, axisLeft } from 'd3-axis';\nimport { scaleLinear, scaleBand } from 'd3-scale';\nimport moment from 'moment';\nimport { formatMinutes } from 'embercom/lib/duration-formatter';\nimport { makeDateFormatter } from 'embercom/lib/reporting/date-formatter';\nimport { unitFormatter } from 'embercom/helpers/unit-formatter';\n\nconst MINUTES_IN_HOUR = 60;\nconst MINUTES_IN_DAY = MINUTES_IN_HOUR * 24;\n\nexport default Mixin.create({\n  drawAxes() {\n    let chart = this.chart();\n    chart\n      .append('g')\n      .attr('class', 'x axis')\n      .attr('transform', `translate(0, ${this.chartHeight})`);\n\n    chart.append('g').attr('class', 'y axis');\n  },\n  redrawAxes() {\n    this._redrawXAxis();\n    this._redrawYAxisAndGridlines();\n  },\n  dates: computed('data', function() {\n    // Use date from signal if it exists, otherwise use date range from date picker (signal might be empty)\n    return this.datesFromSignal.length > 0 ? this.datesFromSignal : this.datesFromRangePicker;\n  }),\n  datesFromSignal: computed('data', function() {\n    // TODO We're assuming here that data.firstObject has a full set of dates, but this will not always be the case - LC\n    let data = isArray(this.get('data.firstObject.value'))\n      ? this.get('data.firstObject.value')\n      : this.data;\n    return data.map(d => new Date(d.key));\n  }),\n  datesFromRangePicker: computed('data', function() {\n    // If for some reason there is no datePickerRange default to last 7 days.\n    let defaultStartDate = moment()\n      .tz(this.timezone)\n      .subtract(7, 'days')\n      .toString();\n\n    let startDate = this.signal.get('datePickerRangeStart') || defaultStartDate;\n    let endDate = this.signal.get('datePickerRangeEnd') || moment().toString();\n\n    let days = Math.round(moment.duration(moment(endDate) - moment(startDate)).asDays());\n    let range = [];\n    let dayIndex;\n    let hourIndex = 0;\n    if (days > 1) {\n      // Range of days from start to end\n      for (dayIndex = 0; dayIndex < days; dayIndex++) {\n        range.push(moment(startDate).add(dayIndex, 'days'));\n      }\n    } else {\n      // Range of 24 hours increasing by 2 hours.\n      for (hourIndex = 0; hourIndex < 24; hourIndex += 2) {\n        range.push(moment(startDate).add(hourIndex, 'hours'));\n      }\n    }\n    return range;\n  }),\n  _xAxisStride: computed('chartWidth', 'dates.length', function() {\n    // This property is used to determine what fraction of the x-axis labels will be shown. If the number\n    // returned is 1 then all labels will be shown, if it's 4 then only a quarter of them will be shown.\n    let widthOfAxisLabel = 35;\n    let maxNumberOfTicks = this.chartWidth / widthOfAxisLabel;\n    return Math.ceil(this.get('dates.length') / maxNumberOfTicks);\n  }),\n\n  _redrawXAxis() {\n    let xAxisStride = this._xAxisStride;\n    let isRangeHours = this._isRangeHours;\n    let isRangeDays = this._isRangeDays;\n    let timezone = this.timezone;\n\n    let dateFormatter = makeDateFormatter({\n      timezone,\n      isRangeDays,\n      isRangeHours,\n      stride: xAxisStride,\n    });\n\n    let xAxis = axisBottom(this.xScale).tickFormat(dateFormatter);\n\n    let axis = this.chart().select('g.x.axis');\n\n    axis\n      .transition()\n      .duration(this.transitionDuration)\n      .call(xAxis);\n\n    axis.selectAll('.tick text').classed('reporting__chart__axis-label', true);\n  },\n  _redrawYAxisAndGridlines() {\n    let yAxis = axisLeft(this.axisYScale).ticks(5); // This is a hint, ultimately the number of ticks we get is defined here: https://github.com/d3/d3-array/#ticks\n\n    if (this.get('signal.valueUnitIsMinute')) {\n      let yAxisGranularity = this.yAxisGranularity;\n      let minutesInGranularity = 1;\n      if (yAxisGranularity === 'days') {\n        minutesInGranularity = MINUTES_IN_DAY;\n      } else if (yAxisGranularity === 'hours') {\n        minutesInGranularity = MINUTES_IN_HOUR;\n      }\n      yAxis = yAxis.tickFormat(scaleValue => formatMinutes(scaleValue * minutesInGranularity));\n    }\n\n    let formatYAxis = this.formatYAxis;\n    if (formatYAxis) {\n      yAxis.tickFormat(value => unitFormatter({ value, unit: formatYAxis }));\n    }\n\n    let axis = this.chart().select('g.y.axis');\n\n    axis\n      .transition()\n      .duration(this.transitionDuration)\n      .call(yAxis);\n\n    axis.selectAll('.tick text').classed('reporting__chart__axis-label', true);\n\n    axis.selectAll('.reporting__chart__grid-line').remove();\n    axis\n      .selectAll('.tick')\n      .append('line')\n      .classed('reporting__chart__grid-line', true)\n      .attr('x1', 0)\n      .attr('y1', 0)\n      .attr('x2', this.chartWidth)\n      .attr('y2', 0);\n  },\n  xScale: computed('chartWidth', 'dates', function() {\n    return scaleBand()\n      .rangeRound([0, this.chartWidth])\n      .domain(this.dates);\n  }),\n  maxChartValue: computed('data', 'isStacked', function() {\n    if (!this.renderComparisonData) {\n      return this.data.reduce((prev, current) => {\n        if (isArray(current.value)) {\n          if (this.isStacked) {\n            return Math.max(\n              prev,\n              current.value.reduce((sum, c) => sum + (c.value || 0), 0),\n            );\n          } else {\n            return Math.max(\n              prev,\n              current.value.reduce((p, c) => Math.max(p, c.value || 0), 0),\n            );\n          }\n        } else {\n          return Math.max(prev, current.value || 0);\n        }\n      }, 0);\n    }\n    return this.data.reduce((prev, current) => {\n      if (isArray(current.value)) {\n        return Math.max(\n          prev,\n          current.value.reduce(\n            (p, c) => Math.max(p, Math.max(c.value || 0, c.previousValue || 0)),\n            0,\n          ),\n        );\n      } else {\n        return Math.max(prev, Math.max(current.value || 0, current.previousValue || 0));\n      }\n    }, 0);\n  }),\n\n  maxChartValueWithDefault: computed('maxChartValue', function() {\n    return this.maxChartValue || 100;\n  }),\n  minChartValue: 0,\n  maxChartValueDuration: computed('maxChartValueWithDefault', function() {\n    return moment.duration(this.maxChartValueWithDefault, 'minutes');\n  }),\n  yAxisGranularity: computed('maxChartValueDuration', 'signal.valueUnitIsMinute', function() {\n    if (!this.get('signal.valueUnitIsMinute')) {\n      return 'units';\n    }\n    let duration = this.maxChartValueDuration;\n    if (duration.asMinutes() > MINUTES_IN_DAY) {\n      return 'days';\n    } else if (duration.asMinutes() > MINUTES_IN_HOUR) {\n      return 'hours';\n    } else {\n      return 'minutes';\n    }\n  }),\n  yAxisTopInLargestUnit: computed(\n    'maxChartValueWithDefault',\n    'signal.valueUnitIsMinute',\n    'yAxisGranularity',\n    function() {\n      let maxValue = this.maxChartValueWithDefault;\n      if (!this.get('signal.valueUnitIsMinute')) {\n        return maxValue;\n      }\n      let duration = this.maxChartValueDuration;\n      let yAxisGranularity = this.yAxisGranularity;\n      let durationAsLargestUnit;\n      if (yAxisGranularity === 'days') {\n        durationAsLargestUnit = duration.asDays();\n      } else if (yAxisGranularity === 'hours') {\n        durationAsLargestUnit = duration.asHours();\n      } else {\n        durationAsLargestUnit = maxValue;\n      }\n      return Math.ceil(durationAsLargestUnit);\n    },\n  ),\n  yAxisTopInUnits: computed('yAxisTopInLargestUnit', 'yAxisGranularity', function() {\n    if (this.yAxisGranularity === 'units') {\n      return this.yAxisTopInLargestUnit;\n    }\n    return moment.duration(this.yAxisTopInLargestUnit, this.yAxisGranularity).asMinutes();\n  }),\n  yScale: computed('chartHeight', 'minChartValue', 'yAxisTopInUnits', function() {\n    return scaleLinear()\n      .range([this.chartHeight, 0])\n      .domain([this.minChartValue, this.yAxisTopInUnits]);\n  }),\n  axisYScale: computed('chartHeight', 'minChartValue', 'yAxisTopInLargestUnit', function() {\n    return scaleLinear()\n      .range([this.chartHeight, 0])\n      .domain([this.minChartValue, this.yAxisTopInLargestUnit]);\n  }),\n  _isRangeHours: lt('_rangeInDays', 1),\n  _isRangeDays: lte('_rangeInDays', 178),\n  _rangeInDays: computed(\n    'datesFromRangePicker.firstObject',\n    'datesFromRangePicker.lastObject',\n    function() {\n      let rangeStart = moment(this.get('datesFromRangePicker.firstObject'));\n      let rangeEnd = moment(this.get('datesFromRangePicker.lastObject'));\n      let duration = moment.duration(rangeEnd.diff(rangeStart)).asDays();\n      if (duration < 1) {\n        return duration;\n      } else {\n        return Math.round(duration);\n      }\n    },\n  ),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { scheduleOnce } from '@ember/runloop';\nimport { readOnly } from '@ember/object/computed';\nimport { capitalize } from '@ember/string';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\nimport { select } from 'd3-selection';\nimport 'd3-transition'; // We need this for transitions\nimport PALETTE from '@intercom/embercom-core/lib/palette';\nimport defaultTo from '@intercom/embercom-core/lib/default-to';\n\nexport const DEFAULT_CHART_MARGIN = { top: 20, right: 0, bottom: 20, left: 70 };\n\nexport default Component.extend({\n  tagName: 'svg',\n\n  width: defaultTo(500),\n  height: defaultTo(250),\n  attributeBindings: ['width', 'height'],\n  margin: DEFAULT_CHART_MARGIN,\n  transitionDuration: 1000,\n  color: defaultTo(PALETTE['vis-blue-40']),\n  'data-test-base-chart': true,\n  timezone: readOnly('signal.timezone'),\n  signal: notImplemented(),\n\n  signalName: computed('signal.name', function() {\n    return capitalize(this.get('signal.name').replace('_', ' '));\n  }),\n\n  data: readOnly('signal.context'),\n\n  chart() {\n    return select(this.element).select('.chart');\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    scheduleOnce('render', this, this._drawChart);\n  },\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    scheduleOnce('render', this, this._redrawChart); // TODO Make this a task\n  },\n\n  drawChart() {},\n  drawAxes() {},\n  redrawChart() {},\n\n  _drawChart() {\n    let margin = this.margin;\n\n    select(this.element)\n      .append('g')\n      .classed('chart', true)\n      .attr('transform', `translate(${margin.left},${margin.top})`);\n\n    this.drawChart();\n    this.drawAxes();\n    this._redrawChart();\n  },\n\n  _redrawChart() {\n    this.redrawChart();\n  },\n\n  chartHeight: computed('height', 'margin', function() {\n    let margin = this.margin;\n    return Math.max(10, this.height - margin.top - margin.bottom);\n  }),\n\n  chartWidth: computed('width', 'margin', function() {\n    let margin = this.margin;\n    return Math.max(10, this.width - margin.left - margin.right);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__display-inline-block\\\" data-test-filter-bot-inbox-time>\\n  <IcSelect\\n    @items={{this.selectItems}}\\n    @onSelectItem={{@setSelected}}\\n    @selectedValue={{this.selected}}\\n  />\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__display-inline-block\\\" data-test-filter-bot-inbox-time>\\n  <IcSelect\\n    @items={{this.selectItems}}\\n    @onSelectItem={{@setSelected}}\\n    @selectedValue={{this.selected}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/bot-inbox-time-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/bot-inbox-time-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class BotInboxTimeFilterComponent extends Component {\n  @tracked selected;\n\n  constructor() {\n    super(...arguments);\n    this.selected = this.args.selected || 'included';\n  }\n\n  selectItems = [\n    { text: 'Bot inbox time included', value: 'included' },\n    { text: 'Bot inbox time excluded', value: 'excluded' },\n  ];\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<svg\\n  {{did-insert this.drawChart}}\\n  {{did-update this.drawChart @width @data}}\\n  width={{@width}}\\n  height={{@height}}\\n  data-bubble-chart-svg\\n>\\n</svg>\", {\"contents\":\"<svg\\n  {{did-insert this.drawChart}}\\n  {{did-update this.drawChart @width @data}}\\n  width={{@width}}\\n  height={{@height}}\\n  data-bubble-chart-svg\\n>\\n</svg>\",\"moduleName\":\"embercom/components/reporting/bubble-chart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/bubble-chart.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { hierarchy, pack } from 'd3-hierarchy';\nimport { select } from 'd3-selection';\n\nexport default class BubbleChartComponent extends Component {\n  organize(data) {\n    let packLayout = pack()\n      .size([this.args.width - 2, this.args.height - 2])\n      .padding(3);\n    return packLayout(hierarchy({ children: data }).sum(d => d.value));\n  }\n\n  @action\n  drawChart(element) {\n    let svg = select(element);\n    svg.selectAll('*').remove();\n    let root = this.organize(this.args.data);\n\n    let leaf = svg\n      .selectAll('.reporting__chart__bubble')\n      .data(root.leaves())\n      .join('g')\n      .attr('transform', d => `translate(${d.x + 1},${d.y + 1})`);\n\n    leaf\n      .append('circle')\n      .classed('reporting__chart__bubble', true)\n      .attr('r', d => d.r);\n\n    leaf\n      .append('text')\n      .classed('label', true)\n      .attr('dy', '.3em')\n      .style('text-anchor', 'middle')\n      .style('font-size', 11)\n      .text(d => d.data.name.toUpperCase())\n      .attr('fill', 'white');\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<div data-test-chart class=\\\"layout__box o__flexes-to-1 o__has-rows\\\" ...attributes>\\n  {{#if @isLoading}}\\n    <div\\n      class=\\\"layout__box o__flexes-to-1 o__centers-all reporting__empty-state__loading w-full\\\"\\n      style={{this.style}}\\n    >\\n      <IcLoadingIndicator @size={{or @spinner \\\"large\\\"}} />\\n    </div>\\n  {{else}}\\n    {{yield (hash width=(if (eq @size \\\"small\\\") 400 900) height=this.height)}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<div data-test-chart class=\\\"layout__box o__flexes-to-1 o__has-rows\\\" ...attributes>\\n  {{#if @isLoading}}\\n    <div\\n      class=\\\"layout__box o__flexes-to-1 o__centers-all reporting__empty-state__loading w-full\\\"\\n      style={{this.style}}\\n    >\\n      <IcLoadingIndicator @size={{or @spinner \\\"large\\\"}} />\\n    </div>\\n  {{else}}\\n    {{yield (hash width=(if (eq @size \\\"small\\\") 400 900) height=this.height)}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/chart-container.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/chart-container.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { fmtStyle } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  height: 280,\n  tagName: '',\n  style: fmtStyle('height: %@px; width: %@px', 'height', 'width'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<Reporting::ChartContainer @size={{@size}} as |chart|>\\n  <div class=\\\"layout__box o__flexes-to-1 o__has-columns items-end\\\">\\n    <Reporting::Element::Summary\\n      @title={{@title}}\\n      @titleTooltipText={{@titleTooltipText}}\\n      @titleTooltipComponent={{@titleTooltipComponent}}\\n      @currentValue={{@signal.value}}\\n      @previousValue={{@signal.previousValue}}\\n      @unit={{@unit}}\\n      @range={{@range}}\\n      @improvementDirection={{@improvementDirection}}\\n      @forceEmpty={{or @forceEmpty (not @signal)}}\\n    />\\n    {{#if (not (eq @size \\\"small\\\"))}}\\n      <Reporting::Element::BarChartLegend @color={{@color}} @range={{@range}} />\\n    {{/if}}\\n  </div>\\n  <div class=\\\"h-5\\\"></div>\\n  {{#if (and @forceEmpty @forceEmptyComponent)}}\\n    <div\\n      class=\\\"flex flex-1\\\"\\n      style=\\\"width: {{chart.width}}px; height: {{chart.height}}px;\\\"\\n    >\\n      {{component @forceEmptyComponent}}\\n    </div>\\n  {{else}}\\n   <Reporting::ChartContainer\\n      @isLoading={{not @signal}}\\n    >\\n      <Reporting::Chart::StackedBar\\n        @signal={{@signal}}\\n        @color={{or @color \\\"vis-blue-40\\\"}}\\n        @unit={{@signal.valueUnit}}\\n      />\\n    </Reporting::ChartContainer>\\n  {{/if}}\\n</Reporting::ChartContainer>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<Reporting::ChartContainer @size={{@size}} as |chart|>\\n  <div class=\\\"layout__box o__flexes-to-1 o__has-columns items-end\\\">\\n    <Reporting::Element::Summary\\n      @title={{@title}}\\n      @titleTooltipText={{@titleTooltipText}}\\n      @titleTooltipComponent={{@titleTooltipComponent}}\\n      @currentValue={{@signal.value}}\\n      @previousValue={{@signal.previousValue}}\\n      @unit={{@unit}}\\n      @range={{@range}}\\n      @improvementDirection={{@improvementDirection}}\\n      @forceEmpty={{or @forceEmpty (not @signal)}}\\n    />\\n    {{#if (not (eq @size \\\"small\\\"))}}\\n      <Reporting::Element::BarChartLegend @color={{@color}} @range={{@range}} />\\n    {{/if}}\\n  </div>\\n  <div class=\\\"h-5\\\"></div>\\n  {{#if (and @forceEmpty @forceEmptyComponent)}}\\n    <div\\n      class=\\\"flex flex-1\\\"\\n      style=\\\"width: {{chart.width}}px; height: {{chart.height}}px;\\\"\\n    >\\n      {{component @forceEmptyComponent}}\\n    </div>\\n  {{else}}\\n   <Reporting::ChartContainer\\n      @isLoading={{not @signal}}\\n    >\\n      <Reporting::Chart::StackedBar\\n        @signal={{@signal}}\\n        @color={{or @color \\\"vis-blue-40\\\"}}\\n        @unit={{@signal.valueUnit}}\\n      />\\n    </Reporting::ChartContainer>\\n  {{/if}}\\n</Reporting::ChartContainer>\\n\",\"moduleName\":\"embercom/components/reporting/chart/bar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/chart/bar.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Element::VisualizationContainer\\n  @signal={{@signal}}\\n  @unit={{@signal.valueUnit}}\\n  @comparison={{true}}\\n  @isStacked={{false}} \\nas |visualizationContainer|>\\n  <Reporting::Element::ChartComparisonBar\\n    @signal={{@signal}}\\n    @xScale={{visualizationContainer.xScale}}\\n    @yScale={{visualizationContainer.yScale}}\\n    @width={{visualizationContainer.width}}\\n    @maxValue={{visualizationContainer.maxValue}}\\n    @keys={{@keys}}\\n    @color={{@color}}\\n    @keyColorHash={{or @keyColorHash this.defaultKeyColorHash}}\\n    @units={{@units}}\\n    @unit={{or @unit @signal.valueUnit}}\\n    @tooltips={{@tooltips}}\\n    @tooltipComponent={{@tooltipComponent}}\\n  />\\n  <div class=\\\"h-2\\\"></div>\\n</Reporting::Element::VisualizationContainer>\\n\", {\"contents\":\"<Reporting::Element::VisualizationContainer\\n  @signal={{@signal}}\\n  @unit={{@signal.valueUnit}}\\n  @comparison={{true}}\\n  @isStacked={{false}} \\nas |visualizationContainer|>\\n  <Reporting::Element::ChartComparisonBar\\n    @signal={{@signal}}\\n    @xScale={{visualizationContainer.xScale}}\\n    @yScale={{visualizationContainer.yScale}}\\n    @width={{visualizationContainer.width}}\\n    @maxValue={{visualizationContainer.maxValue}}\\n    @keys={{@keys}}\\n    @color={{@color}}\\n    @keyColorHash={{or @keyColorHash this.defaultKeyColorHash}}\\n    @units={{@units}}\\n    @unit={{or @unit @signal.valueUnit}}\\n    @tooltips={{@tooltips}}\\n    @tooltipComponent={{@tooltipComponent}}\\n  />\\n  <div class=\\\"h-2\\\"></div>\\n</Reporting::Element::VisualizationContainer>\\n\",\"moduleName\":\"embercom/components/reporting/chart/comparison-bar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/chart/comparison-bar.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<Reporting::ChartContainer @size={{@size}} data-test-heatmap as |chart|>\\n  <div class=\\\"layout__box o__flexes-to-1 o__has-columns items-end\\\">\\n    <Reporting::Element::Summary\\n      @title={{@title}}\\n      @titleTooltipText={{@titleTooltipText}}\\n      @titleTooltipComponent={{@titleTooltipComponent}}\\n      @value={{if\\n        @signal.hasMultipleMaxBuckets\\n        \\\"Multiple periods\\\"\\n        (concat this.maxDay \\\", \\\" this.maxHours)\\n      }}\\n      @forceEmpty={{or @forceEmpty (or @signal.isEmpty (not @signal))}}\\n      @emptyStateString={{if (not @signal) \\\"-\\\" @emptyStateString}}\\n    />\\n    {{#if (not (eq @size \\\"small\\\"))}}\\n      <Reporting::Element::HeatmapLegend\\n        @scaleStartText={{@scaleStartText}}\\n        @scaleEndText={{@scaleEndText}}\\n        @colors={{@colors}}\\n      />\\n    {{/if}}\\n  </div>\\n  <div class=\\\"h-5\\\"></div>\\n  {{#if (and @forceEmpty @forceEmptyComponent)}}\\n    <div\\n      class=\\\"flex flex-1\\\"\\n      style=\\\"width: {{chart.width}}px; height: {{chart.height}}px;\\\"\\n    >\\n      {{component @forceEmptyComponent}}\\n    </div>\\n  {{else}}\\n    <Reporting::ChartContainer @height={{372}} @isLoading={{not @signal}}>\\n      <Reporting::Element::ChartHeatmap\\n        @signal={{@signal}}\\n        @unit={{@unit}}\\n        @colors={{@colors}}\\n        @maxValueLabel={{@labelText}}\\n        @width={{chart.width}}\\n        @forceEmpty={{@forceEmpty}}\\n        @tooltipComponent={{@chartTooltipComponent}}\\n      />\\n    </Reporting::ChartContainer>\\n  {{/if}}\\n</Reporting::ChartContainer>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<Reporting::ChartContainer @size={{@size}} data-test-heatmap as |chart|>\\n  <div class=\\\"layout__box o__flexes-to-1 o__has-columns items-end\\\">\\n    <Reporting::Element::Summary\\n      @title={{@title}}\\n      @titleTooltipText={{@titleTooltipText}}\\n      @titleTooltipComponent={{@titleTooltipComponent}}\\n      @value={{if\\n        @signal.hasMultipleMaxBuckets\\n        \\\"Multiple periods\\\"\\n        (concat this.maxDay \\\", \\\" this.maxHours)\\n      }}\\n      @forceEmpty={{or @forceEmpty (or @signal.isEmpty (not @signal))}}\\n      @emptyStateString={{if (not @signal) \\\"-\\\" @emptyStateString}}\\n    />\\n    {{#if (not (eq @size \\\"small\\\"))}}\\n      <Reporting::Element::HeatmapLegend\\n        @scaleStartText={{@scaleStartText}}\\n        @scaleEndText={{@scaleEndText}}\\n        @colors={{@colors}}\\n      />\\n    {{/if}}\\n  </div>\\n  <div class=\\\"h-5\\\"></div>\\n  {{#if (and @forceEmpty @forceEmptyComponent)}}\\n    <div\\n      class=\\\"flex flex-1\\\"\\n      style=\\\"width: {{chart.width}}px; height: {{chart.height}}px;\\\"\\n    >\\n      {{component @forceEmptyComponent}}\\n    </div>\\n  {{else}}\\n    <Reporting::ChartContainer @height={{372}} @isLoading={{not @signal}}>\\n      <Reporting::Element::ChartHeatmap\\n        @signal={{@signal}}\\n        @unit={{@unit}}\\n        @colors={{@colors}}\\n        @maxValueLabel={{@labelText}}\\n        @width={{chart.width}}\\n        @forceEmpty={{@forceEmpty}}\\n        @tooltipComponent={{@chartTooltipComponent}}\\n      />\\n    </Reporting::ChartContainer>\\n  {{/if}}\\n</Reporting::ChartContainer>\\n\",\"moduleName\":\"embercom/components/reporting/chart/heatmap.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/chart/heatmap.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport moment from 'moment';\nconst days = ['Mondays', 'Tuesdays', 'Wednesdays', 'Thursdays', 'Fridays', 'Saturdays', 'Sundays'];\n\nexport default Component.extend({\n  tagName: '',\n  maxBucket: readOnly('signal.maxBucket'),\n  maxDay: computed('maxBucket.outerKey', function() {\n    return days[this.get('maxBucket.outerKey') - 1];\n  }),\n  maxHours: computed('maxBucket.key', function() {\n    let date = moment();\n    date.hours(this.get('maxBucket.key'));\n    return date.format('ha');\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::ChartContainer @size={{@size}} as |chart|>\\n  <Reporting::Element::ChartHorizontalBar\\n    @report={{@report}}\\n    @keys={{@keys}}\\n    @tooltips={{@tooltips}}\\n    @tooltipComponent={{@tooltipComponent}}\\n    @rule={{@rule}}\\n    @keyColorHash={{@keyColorHash}}\\n    @unit={{@unit}}\\n    @forceEmpty={{@forceEmpty}}\\n  />\\n  <div class=\\\"h-2\\\"></div>\\n  <Reporting::Element::SimpleXAxis\\n    @width={{chart.width}}\\n    @from={{0}}\\n    @to={{100}}\\n    @size={{@size}}\\n    @unit=\\\"percent\\\"\\n  />\\n</Reporting::ChartContainer>\\n\", {\"contents\":\"<Reporting::ChartContainer @size={{@size}} as |chart|>\\n  <Reporting::Element::ChartHorizontalBar\\n    @report={{@report}}\\n    @keys={{@keys}}\\n    @tooltips={{@tooltips}}\\n    @tooltipComponent={{@tooltipComponent}}\\n    @rule={{@rule}}\\n    @keyColorHash={{@keyColorHash}}\\n    @unit={{@unit}}\\n    @forceEmpty={{@forceEmpty}}\\n  />\\n  <div class=\\\"h-2\\\"></div>\\n  <Reporting::Element::SimpleXAxis\\n    @width={{chart.width}}\\n    @from={{0}}\\n    @to={{100}}\\n    @size={{@size}}\\n    @unit=\\\"percent\\\"\\n  />\\n</Reporting::ChartContainer>\\n\",\"moduleName\":\"embercom/components/reporting/chart/horizontal-bar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/chart/horizontal-bar.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Element::VisualizationContainer\\n  @signal={{@signal}}\\n  @unit={{@unit}}\\n  @isStacked={{false}} as |visualizationContainer|\\n>\\n  <div class=\\\"u__relative\\\">\\n    <Reporting::Element::ChartLine\\n      @signal={{@signal}}\\n      @xScale={{visualizationContainer.xScale}}\\n      @yScale={{visualizationContainer.yScale}}\\n      @width={{visualizationContainer.width}}\\n      @height={{visualizationContainer.height}}\\n      @maxValue={{visualizationContainer.maxValue}}\\n      @keys={{@keys}}\\n      @keyColorHash={{or @keyColorHash this.defaultKeyColorHash}}\\n      @units={{@units}}\\n      @unit={{@unit}}\\n      @tooltips={{@tooltips}}\\n      @tooltipComponent={{@tooltipComponent}}\\n    />\\n    <div class=\\\"h-2\\\"></div>\\n  </div>\\n</Reporting::Element::VisualizationContainer>\\n\", {\"contents\":\"<Reporting::Element::VisualizationContainer\\n  @signal={{@signal}}\\n  @unit={{@unit}}\\n  @isStacked={{false}} as |visualizationContainer|\\n>\\n  <div class=\\\"u__relative\\\">\\n    <Reporting::Element::ChartLine\\n      @signal={{@signal}}\\n      @xScale={{visualizationContainer.xScale}}\\n      @yScale={{visualizationContainer.yScale}}\\n      @width={{visualizationContainer.width}}\\n      @height={{visualizationContainer.height}}\\n      @maxValue={{visualizationContainer.maxValue}}\\n      @keys={{@keys}}\\n      @keyColorHash={{or @keyColorHash this.defaultKeyColorHash}}\\n      @units={{@units}}\\n      @unit={{@unit}}\\n      @tooltips={{@tooltips}}\\n      @tooltipComponent={{@tooltipComponent}}\\n    />\\n    <div class=\\\"h-2\\\"></div>\\n  </div>\\n</Reporting::Element::VisualizationContainer>\\n\",\"moduleName\":\"embercom/components/reporting/chart/line.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/chart/line.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { createColorHashForKeys } from 'embercom/lib/reporting/visualization-helpers';\n\nexport default Component.extend({\n  tagName: '',\n  defaultKeyColorHash: computed('keys', function() {\n    return this.keys ? createColorHashForKeys(this.keys) : {};\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table class=\\\"tbl tbl__reporting__table u__mt__10 u__mb__0\\\">\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <thead>\\n    <tr>\\n      <th class=\\\"tbl__cell text-gray\\\">\\n        Grouping\\n      </th>\\n      <th class=\\\"tbl__cell text-gray\\\"></th>\\n      <th class=\\\"tbl__cell text-gray\\\"></th>\\n      {{#each @signal.context as |row|}}\\n        <th class=\\\"tbl__cell text-gray\\\">\\n          {{format-date\\n            date=row.key\\n            format=(if @range.isSingleDay \\\"fullDateAndTime\\\" \\\"date\\\")\\n          }}\\n        </th>\\n      {{/each}}\\n    </tr>\\n  </thead>\\n  <tbody>\\n    {{#each @items as |row|}}\\n      <tr class=\\\"tbl__data-row\\\">\\n        <td class=\\\"tbl__cell w-full\\\">\\n          <strong>\\n            {{row.label}}\\n          </strong>\\n        </td>\\n        <td class=\\\"tbl__cell t__right\\\">\\n          {{unit-formatter (get totalsByLegendItem row.value)}}\\n        </td>\\n        <td class=\\\"tbl__cell t__light-text\\\">\\n          {{format-percentage-reports (get percentsByLegendItem row.value)}}\\n        </td>\\n        {{#each @signal.context as |column|}}\\n          <td class=\\\"tbl__cell\\\">\\n            {{#let (find-by \\\"key\\\" row.value column.value) as |cell|}}\\n              {{unit-formatter (or cell.value 0)}}\\n            {{/let}}\\n          </td>\\n        {{/each}}\\n      </tr>\\n    {{/each}}\\n  </tbody>\\n</table>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table class=\\\"tbl tbl__reporting__table u__mt__10 u__mb__0\\\">\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <thead>\\n    <tr>\\n      <th class=\\\"tbl__cell text-gray\\\">\\n        Grouping\\n      </th>\\n      <th class=\\\"tbl__cell text-gray\\\"></th>\\n      <th class=\\\"tbl__cell text-gray\\\"></th>\\n      {{#each @signal.context as |row|}}\\n        <th class=\\\"tbl__cell text-gray\\\">\\n          {{format-date\\n            date=row.key\\n            format=(if @range.isSingleDay \\\"fullDateAndTime\\\" \\\"date\\\")\\n          }}\\n        </th>\\n      {{/each}}\\n    </tr>\\n  </thead>\\n  <tbody>\\n    {{#each @items as |row|}}\\n      <tr class=\\\"tbl__data-row\\\">\\n        <td class=\\\"tbl__cell w-full\\\">\\n          <strong>\\n            {{row.label}}\\n          </strong>\\n        </td>\\n        <td class=\\\"tbl__cell t__right\\\">\\n          {{unit-formatter (get totalsByLegendItem row.value)}}\\n        </td>\\n        <td class=\\\"tbl__cell t__light-text\\\">\\n          {{format-percentage-reports (get percentsByLegendItem row.value)}}\\n        </td>\\n        {{#each @signal.context as |column|}}\\n          <td class=\\\"tbl__cell\\\">\\n            {{#let (find-by \\\"key\\\" row.value column.value) as |cell|}}\\n              {{unit-formatter (or cell.value 0)}}\\n            {{/let}}\\n          </td>\\n        {{/each}}\\n      </tr>\\n    {{/each}}\\n  </tbody>\\n</table>\\n\",\"moduleName\":\"embercom/components/reporting/chart/pivot-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/chart/pivot-table.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport percent from 'embercom/lib/percentage-formatter';\n\nexport default Component.extend({\n  tagName: '',\n  totalsByLegendItem: computed('items', 'signal.context', function() {\n    return this.items.reduce(\n      (totalsByLegendItem, item) => ({\n        ...totalsByLegendItem,\n        [item.value]: this.signal.context.reduce((total, contextItem = { value: [] }) => {\n          let { value } = contextItem.value.find(valueItem => valueItem.key === item.value) || {\n            value: 0,\n          };\n          return total + value;\n        }, 0),\n      }),\n      {},\n    );\n  }),\n  total: computed('totalsByLegendItem', function() {\n    return Object.keys(this.totalsByLegendItem).reduce((total, key) => {\n      return total + this.totalsByLegendItem[key] || 0;\n    }, 0);\n  }),\n  percentsByLegendItem: computed('total', 'totalsByLegendItem', function() {\n    return Object.keys(this.totalsByLegendItem).reduce(\n      (percents, key) => ({\n        ...percents,\n        [key]: percent(this.total, this.totalsByLegendItem[key]) || 0,\n      }),\n      {},\n    );\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Element::YScale\\n  @hasAxis={{false}}\\n  @chartHeight={{or @height 40}}\\n  @isStacked={{false}}\\n  @signal={{@signal}} as |y|\\n>\\n  <Reporting::Element::XScale\\n    @signal={{@signal}}\\n    @width={{or @width 140}} as |x|\\n  >\\n    <div class=\\\"u__relative\\\">\\n      <Reporting::Element::Line\\n        @series={{this.series}}\\n        @height={{y.height}}\\n        @width={{or @width 140}}\\n        @xScale={{x.scale}}\\n        @yScale={{y.scale}}\\n        @keyColorHash={{@keyColorHash}}\\n      />\\n    </div>\\n  </Reporting::Element::XScale>\\n</Reporting::Element::YScale>\\n\", {\"contents\":\"<Reporting::Element::YScale\\n  @hasAxis={{false}}\\n  @chartHeight={{or @height 40}}\\n  @isStacked={{false}}\\n  @signal={{@signal}} as |y|\\n>\\n  <Reporting::Element::XScale\\n    @signal={{@signal}}\\n    @width={{or @width 140}} as |x|\\n  >\\n    <div class=\\\"u__relative\\\">\\n      <Reporting::Element::Line\\n        @series={{this.series}}\\n        @height={{y.height}}\\n        @width={{or @width 140}}\\n        @xScale={{x.scale}}\\n        @yScale={{y.scale}}\\n        @keyColorHash={{@keyColorHash}}\\n      />\\n    </div>\\n  </Reporting::Element::XScale>\\n</Reporting::Element::YScale>\\n\",\"moduleName\":\"embercom/components/reporting/chart/sparkline.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/chart/sparkline.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  tagName: '',\n  series: computed('signal.context', 'keys', function() {\n    return this.keys.map(key => ({\n      key,\n      value: this.signal.context.map(item => {\n        let { count = 0, value = 0 } = item.value.find(val => val.key === key) || {};\n\n        return {\n          key: item.key,\n          count,\n          value,\n        };\n      }),\n    }));\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Element::VisualizationContainer\\n  @signal={{@signal}}\\n  @unit={{@signal.valueUnit}}\\n  @isStacked={{true}} as |visualizationContainer|\\n>\\n  <Reporting::Element::ChartStackableBar\\n    @signal={{@signal}}\\n    @xScale={{visualizationContainer.xScale}}\\n    @yScale={{visualizationContainer.yScale}}\\n    @width={{visualizationContainer.width}}\\n    @maxValue={{visualizationContainer.maxValue}}\\n    @keys={{@keys}}\\n    @color={{@color}}\\n    @keyColorHash={{or @keyColorHash this.defaultKeyColorHash}}\\n    @units={{@units}}\\n    @unit={{or @unit @signal.valueUnit}}\\n    @tooltips={{@tooltips}}\\n    @tooltipComponent={{@tooltipComponent}}\\n  />\\n  <div class=\\\"h-2\\\"></div>\\n</Reporting::Element::VisualizationContainer>\\n\", {\"contents\":\"<Reporting::Element::VisualizationContainer\\n  @signal={{@signal}}\\n  @unit={{@signal.valueUnit}}\\n  @isStacked={{true}} as |visualizationContainer|\\n>\\n  <Reporting::Element::ChartStackableBar\\n    @signal={{@signal}}\\n    @xScale={{visualizationContainer.xScale}}\\n    @yScale={{visualizationContainer.yScale}}\\n    @width={{visualizationContainer.width}}\\n    @maxValue={{visualizationContainer.maxValue}}\\n    @keys={{@keys}}\\n    @color={{@color}}\\n    @keyColorHash={{or @keyColorHash this.defaultKeyColorHash}}\\n    @units={{@units}}\\n    @unit={{or @unit @signal.valueUnit}}\\n    @tooltips={{@tooltips}}\\n    @tooltipComponent={{@tooltipComponent}}\\n  />\\n  <div class=\\\"h-2\\\"></div>\\n</Reporting::Element::VisualizationContainer>\\n\",\"moduleName\":\"embercom/components/reporting/chart/stacked-bar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/chart/stacked-bar.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { createColorHashForKeys } from 'embercom/lib/reporting/visualization-helpers';\n\nexport default Component.extend({\n  tagName: '',\n  defaultKeyColorHash: computed('keys', function() {\n    return this.keys ? createColorHashForKeys(this.keys) : {};\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"flex flex-row items-center\\\"\\n  data-test-metric-with-comparison\\n>\\n  <span class=\\\"mr-2\\\">\\n    <Text class=\\\"display-text text-lg whitespace-no-wrap\\\">\\n      {{#if (eq @format 'seconds')}}\\n        {{seconds-formatter @current}}\\n      {{else if (eq @format 'percentage')}}\\n        {{format-percentage @current}}\\n      {{else}}\\n        {{format-number @current}}\\n      {{/if}}\\n    </Text>\\n  </span>\\n  {{#unless @hideTrend}}\\n    {{#if this.hasChange}}\\n      <span\\n        class={{if this.improving \\\"text-green\\\" \\\"text-red\\\"}}\\n        data-test-trend-color-span\\n      >\\n        <span>{{ic-interface-icon this.arrowIcon solo=true}}</span>\\n        <span class=\\\"text-base\\\">{{format-percentage this.changePercentage}}</span>\\n      </span>\\n    {{/if}}\\n  {{/unless}}\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"flex flex-row items-center\\\"\\n  data-test-metric-with-comparison\\n>\\n  <span class=\\\"mr-2\\\">\\n    <Text class=\\\"display-text text-lg whitespace-no-wrap\\\">\\n      {{#if (eq @format 'seconds')}}\\n        {{seconds-formatter @current}}\\n      {{else if (eq @format 'percentage')}}\\n        {{format-percentage @current}}\\n      {{else}}\\n        {{format-number @current}}\\n      {{/if}}\\n    </Text>\\n  </span>\\n  {{#unless @hideTrend}}\\n    {{#if this.hasChange}}\\n      <span\\n        class={{if this.improving \\\"text-green\\\" \\\"text-red\\\"}}\\n        data-test-trend-color-span\\n      >\\n        <span>{{ic-interface-icon this.arrowIcon solo=true}}</span>\\n        <span class=\\\"text-base\\\">{{format-percentage this.changePercentage}}</span>\\n      </span>\\n    {{/if}}\\n  {{/unless}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/conversational-insights/topics/metric-with-comparison.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/conversational-insights/topics/metric-with-comparison.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class MetricWithComparisonComponent extends Component {\n  get hasChange() {\n    return (\n      this.args.current !== this.args.previous &&\n      this.args.previous !== 0 &&\n      this.args.previous !== null\n    );\n  }\n\n  get changePercentage() {\n    return Math.abs(((this.args.current - this.args.previous) / this.args.previous) * 100);\n  }\n\n  get arrowIcon() {\n    if (this.args.current > this.args.previous) {\n      return 'small-up-arrow';\n    } else {\n      return 'small-down-arrow';\n    }\n  }\n\n  get improving() {\n    return (\n      (this.args.improvementDirection === 'increasing' && this.args.current > this.args.previous) ||\n      (this.args.improvementDirection === 'decreasing' && this.args.current < this.args.previous)\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"flex flex-row items-center\\\"\\n  data-test-number-with-comparison\\n>\\n  <Text class=\\\"mr-1\\\">\\n    {{#if hasBlock}}\\n      {{yield}}\\n    {{else}}\\n      {{format-number @current}}\\n    {{/if}}\\n  </Text>\\n  {{#if this.hasChange}}\\n    <span class={{if this.improving \\\"text-green\\\" \\\"text-red\\\"}}>{{ic-interface-icon this.arrowIcon solo=true}}</span>\\n    <Text @styling=\\\"small\\\">{{format-percentage this.changePercentage}}</Text>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"flex flex-row items-center\\\"\\n  data-test-number-with-comparison\\n>\\n  <Text class=\\\"mr-1\\\">\\n    {{#if hasBlock}}\\n      {{yield}}\\n    {{else}}\\n      {{format-number @current}}\\n    {{/if}}\\n  </Text>\\n  {{#if this.hasChange}}\\n    <span class={{if this.improving \\\"text-green\\\" \\\"text-red\\\"}}>{{ic-interface-icon this.arrowIcon solo=true}}</span>\\n    <Text @styling=\\\"small\\\">{{format-percentage this.changePercentage}}</Text>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/conversational-insights/topics/number-with-comparison.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/conversational-insights/topics/number-with-comparison.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class NumberWithComparisonComponent extends Component {\n  get hasChange() {\n    return (\n      this.args.current !== this.args.previous &&\n      this.args.previous !== 0 &&\n      this.args.previous !== null\n    );\n  }\n\n  get changePercentage() {\n    return Math.abs(((this.args.current - this.args.previous) / this.args.previous) * 100);\n  }\n\n  get arrowIcon() {\n    if (this.args.current > this.args.previous) {\n      return 'small-up-arrow';\n    } else {\n      return 'small-down-arrow';\n    }\n  }\n\n  get improving() {\n    return (\n      (this.args.improvementDirection === 'increasing' && this.args.current > this.args.previous) ||\n      (this.args.improvementDirection === 'decreasing' && this.args.current < this.args.previous)\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row gap-2\\\">\\n  <IcButton\\n    @label=\\\"Cancel\\\"\\n    @onClick={{this.cancelEdit}}\\n    data-test-topic-cancel-edit-button\\n  />\\n  <IcButton\\n    @type=\\\"primary\\\"\\n    @label=\\\"Add to your topics\\\"\\n    @onClick={{perform this.saveTopic}}\\n    @isDisabled={{or (not @topic.name) (not @topic.keyphrases)}}\\n    data-test-topic-save-button\\n  />\\n</div>\", {\"contents\":\"<div class=\\\"flex flex-row gap-2\\\">\\n  <IcButton\\n    @label=\\\"Cancel\\\"\\n    @onClick={{this.cancelEdit}}\\n    data-test-topic-cancel-edit-button\\n  />\\n  <IcButton\\n    @type=\\\"primary\\\"\\n    @label=\\\"Add to your topics\\\"\\n    @onClick={{perform this.saveTopic}}\\n    @isDisabled={{or (not @topic.name) (not @topic.keyphrases)}}\\n    data-test-topic-save-button\\n  />\\n</div>\",\"moduleName\":\"embercom/components/reporting/conversational-insights/topics/suggested-topic-buttons.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/conversational-insights/topics/suggested-topic-buttons.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\n\nexport default class SuggestedTopicButtonsComponent extends Component {\n  @service router;\n  @service store;\n  @service notificationsService;\n  @service appService;\n\n  @task\n  *saveTopic() {\n    try {\n      let topic = this.store.createRecord('conversational-insights/conversation-topic');\n      topic.name = this.args.topic.name;\n      topic.keyphrases = this.args.keyphrases;\n      yield topic.save();\n      this.notificationsService.notifyConfirmation('Topic successfully saved!');\n      this.destroySuggestedTopics.perform(this.args.topic.ids, topic);\n    } catch (err) {\n      this.notificationsService.notifyError('Unable to save topic.');\n    }\n  }\n\n  @task\n  *destroySuggestedTopics(topic_ids, new_topic) {\n    return yield ajax({\n      url: '/ember/conversational_insights/suggested_conversation_topics/destroy_by_ids',\n      type: 'DELETE',\n      contentType: 'application/json',\n      data: JSON.stringify({\n        app_id: this.appService.app.id,\n        topic_ids,\n      }),\n    }).then(() => {\n      this.router.transitionTo(\n        'apps.app.reports.conversational-insights.tracked-topics.topic.show',\n        new_topic.id,\n      );\n    });\n  }\n\n  @action\n  cancelEdit() {\n    this.router.transitionTo('apps.app.reports.conversational-insights.suggested-topics');\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row justify-between mb-6 gap-6\\\">\\n  <Common::HamburgerMenu @includePadding={{false}} @title=\\\"Suggestions\\\" />\\n</div>\\n\\n{{#if (not-eq this.topicsSelected 0)}}\\n  <div class=\\\"flex flex-row align-center\\\">\\n    <Heading @size=\\\"2\\\" class=\\\"mr-2\\\" data-test-topics-selected>\\n      {{pluralize this.topicsSelected 'topic'}} selected\\n    </Heading>\\n    <IcButton\\n      @type='secondary'\\n      class=\\\"mr-2\\\"\\n      {{on \\\"click\\\" (perform this.createTopics)}}\\n      data-test-create-topics-button\\n    >\\n      {{ic-interface-icon 'ab-test'}}\\n      Add to your topics\\n    </IcButton>\\n    {{#if (not-eq this.topicsSelected 1)}}\\n      <IcButton\\n        @type='secondary'\\n        {{on \\\"click\\\" (fn this.showTopics this.topicsToMerge)}}\\n        data-test-merge-topics-button\\n      >\\n        {{ic-interface-icon 'follow'}}\\n        Merge topics\\n      </IcButton>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n<IcLightTable\\n  @data={{this.rows}}\\n  @sortState={{this.sortState}}\\n  @columns={{array\\n    (hash label=\\\"Topic\\\" valuePath=\\\"name\\\" isSortable=true)\\n    (hash label=\\\"Conversations\\\" valuePath=\\\"stats.currentCount\\\" isSortable=true)\\n    (hash label=\\\"Response Time\\\" valuePath=\\\"stats.currentResponseTime\\\" isSortable=true)\\n    (hash label=\\\"Time to close\\\" valuePath=\\\"stats.currentTimeToClose\\\" isSortable=true)\\n    (hash label=\\\"Satisfaction\\\" valuePath=\\\"stats.currentPositiveRate\\\" isSortable=true)\\n  }}\\n  as |table|\\n>\\n  <table.rows as |row|>\\n    <row.cell @valuePath=\\\"name\\\">\\n      <div class=\\\"flex flex-row\\\" data-test-suggested-topic-row>\\n        <div class=\\\"flex flex-col mr-2 mt-1\\\">\\n          <Form as |form|>\\n            <form.Item as |item|>\\n              <item.Checkbox\\n                data-test-row-check-box\\n                checked={{get this.checked row.data.topic.id}}\\n                {{on \\\"change\\\" (fn this.selectTopic row.data.topic)}}\\n              />\\n            </form.Item>\\n          </Form>\\n        </div>\\n        <div class=\\\"flex flex-col\\\">\\n          <a\\n            {{on \\\"click\\\" (fn this.showTopics row.data.topic.id)}}\\n            data-test-topic-name\\n          >\\n            <Text\\n              @styling=\\\"strong\\\"\\n              @linkStyling=\\\"subtle\\\"\\n              class=\\\"reporting__conversational-insights__topic-list-name truncate\\\"\\n            >\\n              {{row.data.topic.name}}\\n            </Text>\\n          </a>\\n          <Paragraph\\n            @styling=\\\"small\\\"\\n            class=\\\"reporting__conversational-insights__topic-list-name truncate\\\"\\n            data-test-topic-keyphrases\\n          >\\n            {{row.data.topic.keyphrasesText}}\\n          </Paragraph>\\n        </div>\\n      </div>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"stats.currentCount\\\">\\n      <Reporting::ConversationalInsights::Topics::NumberWithComparison\\n        @current={{row.data.stats.currentCount}}\\n        @previous={{row.data.stats.previousCount}}\\n        @improvementDirection=\\\"decreasing\\\"\\n      />\\n    </row.cell>\\n    <row.cell @valuePath=\\\"stats.currentResponseTime\\\">\\n      <Reporting::ConversationalInsights::Topics::NumberWithComparison\\n        @current={{row.data.stats.currentResponseTime}}\\n        @previous={{row.data.stats.previousResponseTime}}\\n        @improvementDirection=\\\"decreasing\\\"\\n      >\\n        {{seconds-formatter row.data.stats.currentResponseTime}}\\n      </Reporting::ConversationalInsights::Topics::NumberWithComparison>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"stats.currentTimeToClose\\\">\\n      <Reporting::ConversationalInsights::Topics::NumberWithComparison\\n        @current={{row.data.stats.currentTimeToClose}}\\n        @previous={{row.data.stats.previousTimeToClose}}\\n        @improvementDirection=\\\"decreasing\\\"\\n      >\\n        {{seconds-formatter row.data.stats.currentTimeToClose}}\\n      </Reporting::ConversationalInsights::Topics::NumberWithComparison>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"stats.currentPositiveRate\\\">\\n      <Reporting::ConversationalInsights::Topics::NumberWithComparison\\n        @current={{row.data.stats.currentPositiveRate}}\\n        @previous={{row.data.stats.previousPositiveRate}}\\n        @improvementDirection=\\\"increasing\\\"\\n      >\\n        {{format-percentage row.data.stats.currentPositiveRate}}\\n      </Reporting::ConversationalInsights::Topics::NumberWithComparison>\\n    </row.cell>\\n  </table.rows>\\n</IcLightTable>\\n\", {\"contents\":\"<div class=\\\"flex flex-row justify-between mb-6 gap-6\\\">\\n  <Common::HamburgerMenu @includePadding={{false}} @title=\\\"Suggestions\\\" />\\n</div>\\n\\n{{#if (not-eq this.topicsSelected 0)}}\\n  <div class=\\\"flex flex-row align-center\\\">\\n    <Heading @size=\\\"2\\\" class=\\\"mr-2\\\" data-test-topics-selected>\\n      {{pluralize this.topicsSelected 'topic'}} selected\\n    </Heading>\\n    <IcButton\\n      @type='secondary'\\n      class=\\\"mr-2\\\"\\n      {{on \\\"click\\\" (perform this.createTopics)}}\\n      data-test-create-topics-button\\n    >\\n      {{ic-interface-icon 'ab-test'}}\\n      Add to your topics\\n    </IcButton>\\n    {{#if (not-eq this.topicsSelected 1)}}\\n      <IcButton\\n        @type='secondary'\\n        {{on \\\"click\\\" (fn this.showTopics this.topicsToMerge)}}\\n        data-test-merge-topics-button\\n      >\\n        {{ic-interface-icon 'follow'}}\\n        Merge topics\\n      </IcButton>\\n    {{/if}}\\n  </div>\\n{{/if}}\\n<IcLightTable\\n  @data={{this.rows}}\\n  @sortState={{this.sortState}}\\n  @columns={{array\\n    (hash label=\\\"Topic\\\" valuePath=\\\"name\\\" isSortable=true)\\n    (hash label=\\\"Conversations\\\" valuePath=\\\"stats.currentCount\\\" isSortable=true)\\n    (hash label=\\\"Response Time\\\" valuePath=\\\"stats.currentResponseTime\\\" isSortable=true)\\n    (hash label=\\\"Time to close\\\" valuePath=\\\"stats.currentTimeToClose\\\" isSortable=true)\\n    (hash label=\\\"Satisfaction\\\" valuePath=\\\"stats.currentPositiveRate\\\" isSortable=true)\\n  }}\\n  as |table|\\n>\\n  <table.rows as |row|>\\n    <row.cell @valuePath=\\\"name\\\">\\n      <div class=\\\"flex flex-row\\\" data-test-suggested-topic-row>\\n        <div class=\\\"flex flex-col mr-2 mt-1\\\">\\n          <Form as |form|>\\n            <form.Item as |item|>\\n              <item.Checkbox\\n                data-test-row-check-box\\n                checked={{get this.checked row.data.topic.id}}\\n                {{on \\\"change\\\" (fn this.selectTopic row.data.topic)}}\\n              />\\n            </form.Item>\\n          </Form>\\n        </div>\\n        <div class=\\\"flex flex-col\\\">\\n          <a\\n            {{on \\\"click\\\" (fn this.showTopics row.data.topic.id)}}\\n            data-test-topic-name\\n          >\\n            <Text\\n              @styling=\\\"strong\\\"\\n              @linkStyling=\\\"subtle\\\"\\n              class=\\\"reporting__conversational-insights__topic-list-name truncate\\\"\\n            >\\n              {{row.data.topic.name}}\\n            </Text>\\n          </a>\\n          <Paragraph\\n            @styling=\\\"small\\\"\\n            class=\\\"reporting__conversational-insights__topic-list-name truncate\\\"\\n            data-test-topic-keyphrases\\n          >\\n            {{row.data.topic.keyphrasesText}}\\n          </Paragraph>\\n        </div>\\n      </div>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"stats.currentCount\\\">\\n      <Reporting::ConversationalInsights::Topics::NumberWithComparison\\n        @current={{row.data.stats.currentCount}}\\n        @previous={{row.data.stats.previousCount}}\\n        @improvementDirection=\\\"decreasing\\\"\\n      />\\n    </row.cell>\\n    <row.cell @valuePath=\\\"stats.currentResponseTime\\\">\\n      <Reporting::ConversationalInsights::Topics::NumberWithComparison\\n        @current={{row.data.stats.currentResponseTime}}\\n        @previous={{row.data.stats.previousResponseTime}}\\n        @improvementDirection=\\\"decreasing\\\"\\n      >\\n        {{seconds-formatter row.data.stats.currentResponseTime}}\\n      </Reporting::ConversationalInsights::Topics::NumberWithComparison>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"stats.currentTimeToClose\\\">\\n      <Reporting::ConversationalInsights::Topics::NumberWithComparison\\n        @current={{row.data.stats.currentTimeToClose}}\\n        @previous={{row.data.stats.previousTimeToClose}}\\n        @improvementDirection=\\\"decreasing\\\"\\n      >\\n        {{seconds-formatter row.data.stats.currentTimeToClose}}\\n      </Reporting::ConversationalInsights::Topics::NumberWithComparison>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"stats.currentPositiveRate\\\">\\n      <Reporting::ConversationalInsights::Topics::NumberWithComparison\\n        @current={{row.data.stats.currentPositiveRate}}\\n        @previous={{row.data.stats.previousPositiveRate}}\\n        @improvementDirection=\\\"increasing\\\"\\n      >\\n        {{format-percentage row.data.stats.currentPositiveRate}}\\n      </Reporting::ConversationalInsights::Topics::NumberWithComparison>\\n    </row.cell>\\n  </table.rows>\\n</IcLightTable>\\n\",\"moduleName\":\"embercom/components/reporting/conversational-insights/topics/suggested-topic-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/conversational-insights/topics/suggested-topic-list.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { allSettled } from 'rsvp';\nimport { task } from 'ember-concurrency-decorators';\nimport ajax from 'embercom/lib/ajax';\nimport { topicStatsForDisplay } from 'embercom/lib/conversational-insights/topic-stats-for-display';\n\nexport default class SuggestedTopicListComponent extends Component {\n  @service router;\n  @service store;\n  @service notificationsService;\n  @service appService;\n\n  @tracked topicsToMerge = [];\n  constructor() {\n    super(...arguments);\n  }\n\n  @action\n  selectTopic(topic) {\n    if (this.topicsToMerge.includes(topic.id)) {\n      this.topicsToMerge = this.topicsToMerge.filter(existingTopic => {\n        return existingTopic !== topic.id;\n      });\n    } else {\n      this.topicsToMerge = [...this.topicsToMerge, topic.id];\n    }\n  }\n\n  get topicsSelected() {\n    return this.topicsToMerge.length;\n  }\n\n  get checked() {\n    return this.args.topics.reduce(\n      (acc, topic) => ((acc[topic.id] = this.topicsToMerge.includes(topic.id)), acc),\n      {},\n    );\n  }\n\n  @task\n  *createTopics() {\n    let topicNames = '';\n    let topicsToCreate = this.args.topics.filter(topic => {\n      if (this.topicsToMerge.indexOf(topic.id) >= 0) {\n        topicNames = topicNames === '' ? topic.name : `${topicNames} and ${topic.name}`;\n        return true;\n      }\n    });\n    yield this.prepareTopics.perform(topicsToCreate);\n    this.notificationsService.notifyConfirmation(`${topicNames} added to your topics`);\n    yield this.destroySuggestedTopics.perform();\n  }\n\n  @task\n  *prepareTopics(topicsToCreate) {\n    yield allSettled(\n      topicsToCreate.map(topic => {\n        return this.saveTopic.perform(topic);\n      }),\n    );\n  }\n\n  @task\n  *saveTopic(topic) {\n    try {\n      let newTopic = this.store.createRecord('conversational-insights/conversation-topic', {\n        name: topic.name,\n        keyphrases: topic.keyphrases,\n      });\n      yield newTopic.save();\n    } catch (err) {\n      this.notificationsService.notifyError(`Unable to save topic ${topic.name}.`);\n    }\n  }\n\n  @task\n  *destroySuggestedTopics() {\n    yield ajax({\n      url: '/ember/conversational_insights/suggested_conversation_topics/destroy_by_ids',\n      type: 'DELETE',\n      contentType: 'application/json',\n      data: JSON.stringify({\n        app_id: this.appService.app.id,\n        topic_ids: this.topicsToMerge,\n      }),\n    });\n    this.args.topics.forEach(topic => {\n      if (this.topicsToMerge.includes(topic.id)) {\n        this.store.unloadRecord(topic);\n      }\n    });\n    this.topicsToMerge = [];\n  }\n\n  get rows() {\n    let topics = this.args.topics;\n    let statsObject = this.args.stats;\n    if (!topics.length) {\n      return [];\n    }\n\n    let rows = topics.map(topic => {\n      let rawStats = statsObject[topic.id];\n      let stats = topicStatsForDisplay(rawStats);\n      return {\n        topic,\n        stats,\n      };\n    });\n\n    return rows.sort((a, b) => b.stats.currentCount - a.stats.currentCount);\n  }\n\n  @action showTopics(topic_ids) {\n    let topicIdString = Array.isArray(topic_ids) ? topic_ids.join(',') : topic_ids;\n    return this.router.transitionTo(\n      'apps.app.reports.conversational-insights.suggested-topics.topic',\n      topicIdString,\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row justify-between items-center\\\">\\n  <Common::HamburgerMenu @includePadding={{false}}>\\n  <Pulse::ExpandingInput\\n    @value={{@topic.name}}\\n    @onUpdate={{set @topic.name}}\\n    placeholder=\\\"Enter a title\\\"\\n    class=\\\"t__h1 min-w-4 max-w-128 pr-2\\\"\\n    data-test-topic-edit-name-input\\n    />\\n  </Common::HamburgerMenu>\\n  <Reporting::ConversationalInsights::Topics::SuggestedTopicButtons @topic={{@topic}} @keyphrases={{this.keyphraseArray}} />\\n</div>\\n\\n<Form as |form|>\\n  <form.Item\\n    @label=\\\"Keyphrases\\\"\\n    @isInvalid={{not @topic.keyphrases}}\\n    as |item|\\n  >\\n    <item.Input\\n      {{on 'change' this.updateKeyphrases}}\\n      value={{@topic.keyphrases}}\\n      data-test-topic-edit-keyphrase-input\\n    />\\n  </form.Item>\\n</Form>\\n\\n<hr>\\n\\n<Reporting::ConversationalInsights::Topics::TopicStats\\n  @keyphrases={{this.keyphraseArray}}\\n  @range={{this.defaultRange}}\\n/>\\n\\n<Reporting::ConversationalInsights::Topics::TopicConversationsPreview\\n  @keyphrases={{this.keyphraseArray}}\\n  @range={{this.defaultRange}}\\n/>\\n\", {\"contents\":\"<div class=\\\"flex flex-row justify-between items-center\\\">\\n  <Common::HamburgerMenu @includePadding={{false}}>\\n  <Pulse::ExpandingInput\\n    @value={{@topic.name}}\\n    @onUpdate={{set @topic.name}}\\n    placeholder=\\\"Enter a title\\\"\\n    class=\\\"t__h1 min-w-4 max-w-128 pr-2\\\"\\n    data-test-topic-edit-name-input\\n    />\\n  </Common::HamburgerMenu>\\n  <Reporting::ConversationalInsights::Topics::SuggestedTopicButtons @topic={{@topic}} @keyphrases={{this.keyphraseArray}} />\\n</div>\\n\\n<Form as |form|>\\n  <form.Item\\n    @label=\\\"Keyphrases\\\"\\n    @isInvalid={{not @topic.keyphrases}}\\n    as |item|\\n  >\\n    <item.Input\\n      {{on 'change' this.updateKeyphrases}}\\n      value={{@topic.keyphrases}}\\n      data-test-topic-edit-keyphrase-input\\n    />\\n  </form.Item>\\n</Form>\\n\\n<hr>\\n\\n<Reporting::ConversationalInsights::Topics::TopicStats\\n  @keyphrases={{this.keyphraseArray}}\\n  @range={{this.defaultRange}}\\n/>\\n\\n<Reporting::ConversationalInsights::Topics::TopicConversationsPreview\\n  @keyphrases={{this.keyphraseArray}}\\n  @range={{this.defaultRange}}\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/conversational-insights/topics/suggested-topic-show.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/conversational-insights/topics/suggested-topic-show.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport moment from 'moment';\nimport Range from 'embercom/models/reporting/range';\n\nexport default class SuggestedTopicShowComponent extends Component {\n  @service appService;\n  @tracked keyphraseArray;\n  @tracked defaultRange;\n\n  defaultRange = new Range(\n    moment()\n      .subtract(365, 'days')\n      .format(),\n    moment().format(),\n    this.appService.app.timezone,\n  );\n\n  constructor() {\n    super(...arguments);\n    this.keyphraseArray = this.args.topic.keyphrases.split(', ');\n  }\n\n  @action\n  updateKeyphrases(event) {\n    let keyphrases = event.target.value;\n    this.keyphraseArray = keyphrases\n      .split(',')\n      .map(keyphrase => keyphrase.trim())\n      .filter(t => t.length > 0);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row\\\" data-test-topic-conversation>\\n  <IcAvatarComponent class=\\\"flex flex-col mr-3\\\" @model={{@conversationPart.participant}} @size=\\\"m\\\" data-test-user-avatar/>\\n  <div class=\\\"flex flex-col flex-1 mr-1\\\">\\n    <Paragraph class=\\\"mb-1\\\" data-test-conversation-participant={{@conversationPart.participant.id}}>\\n      {{@conversationPart.participant.name}}\\n      {{#if @conversationPart.participant.mostRecentCompany}}\\n        <Text @styling='small' data-test-conversation-company> from {{@conversationPart.participant.mostRecentCompany.name}} {{this.otherCompanies}}</Text>\\n      {{/if}}\\n    </Paragraph>\\n    <IcContent class=\\\"mb-4\\\" data-test-conversation-text>\\n      {{#each @conversationPart.blocks as |block|}}\\n      <TruncatedTextComponent @lines={{20}} data-test-conversation-block>\\n          {{render-html block.content}}\\n        </TruncatedTextComponent>\\n      {{/each}}\\n    </IcContent>\\n    <div class=\\\"flex flex-row gap-1 items-center\\\">\\n      <IcIllustrativeIcon @name=\\\"manual-message\\\" @size=\\\"small\\\"/>\\n      <a\\n        href={{href-to \\\"apps.app.inbox.conversation\\\" @conversationPart.conversation_id}}\\n        data-test-conversation-link\\n      >\\n        <Text @linkStyling=\\\"standalone\\\">See full conversation</Text>\\n      </a>\\n    </div>\\n  </div>\\n  <Paragraph @styling=\\\"small\\\" data-test-conversation-created-at>\\n    {{abbreviated-relative-time-ago-helper @conversationPart.created_at}}\\n  </Paragraph>\\n</div>\\n<hr>\\n\", {\"contents\":\"<div class=\\\"flex flex-row\\\" data-test-topic-conversation>\\n  <IcAvatarComponent class=\\\"flex flex-col mr-3\\\" @model={{@conversationPart.participant}} @size=\\\"m\\\" data-test-user-avatar/>\\n  <div class=\\\"flex flex-col flex-1 mr-1\\\">\\n    <Paragraph class=\\\"mb-1\\\" data-test-conversation-participant={{@conversationPart.participant.id}}>\\n      {{@conversationPart.participant.name}}\\n      {{#if @conversationPart.participant.mostRecentCompany}}\\n        <Text @styling='small' data-test-conversation-company> from {{@conversationPart.participant.mostRecentCompany.name}} {{this.otherCompanies}}</Text>\\n      {{/if}}\\n    </Paragraph>\\n    <IcContent class=\\\"mb-4\\\" data-test-conversation-text>\\n      {{#each @conversationPart.blocks as |block|}}\\n      <TruncatedTextComponent @lines={{20}} data-test-conversation-block>\\n          {{render-html block.content}}\\n        </TruncatedTextComponent>\\n      {{/each}}\\n    </IcContent>\\n    <div class=\\\"flex flex-row gap-1 items-center\\\">\\n      <IcIllustrativeIcon @name=\\\"manual-message\\\" @size=\\\"small\\\"/>\\n      <a\\n        href={{href-to \\\"apps.app.inbox.conversation\\\" @conversationPart.conversation_id}}\\n        data-test-conversation-link\\n      >\\n        <Text @linkStyling=\\\"standalone\\\">See full conversation</Text>\\n      </a>\\n    </div>\\n  </div>\\n  <Paragraph @styling=\\\"small\\\" data-test-conversation-created-at>\\n    {{abbreviated-relative-time-ago-helper @conversationPart.created_at}}\\n  </Paragraph>\\n</div>\\n<hr>\\n\",\"moduleName\":\"embercom/components/reporting/conversational-insights/topics/topic-conversation-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/conversational-insights/topics/topic-conversation-card.hbs\"}});\nimport Component from '@glimmer/component';\nimport { pluralize } from 'ember-inflector';\n\nexport default class TopicConversationsCardComponent extends Component {\n  get otherCompanies() {\n    let count = this.args.conversationPart.participant?.otherCompaniesCount;\n    if (count > 0) {\n      return `and ${pluralize(count, 'other')}`;\n    } else {\n      return '';\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Heading @size=\\\"2\\\"\\n  {{did-update (perform this.loadConversationsFromStart) @keyphrases @range}}\\n  {{did-insert (perform this.loadConversationsFromStart)}}\\n>\\n  Conversations\\n</Heading>\\n<PaginationComponent\\n  @viewportSelector='.main__content-outlet .o__scrolls'\\n  @scrollingContentSelector='[data-conversation-preview-content]'\\n  @onPageRequested={{perform this.loadMoreConversations}}\\n>\\n  <IcContent class=\\\"w-3/4\\\" data-conversation-preview-content>\\n    {{#each this.conversationParts as |conversationPart|}}\\n      <Reporting::ConversationalInsights::Topics::TopicConversationCard @conversationPart={{conversationPart}} />\\n    {{/each}}\\n  </IcContent>\\n</PaginationComponent>\\n{{#if this.loadConversations.isRunning}}\\n  <div class=\\\"flex justify-center\\\">\\n    <IcLoadingIndicator @size=\\\"large\\\" />\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"<Heading @size=\\\"2\\\"\\n  {{did-update (perform this.loadConversationsFromStart) @keyphrases @range}}\\n  {{did-insert (perform this.loadConversationsFromStart)}}\\n>\\n  Conversations\\n</Heading>\\n<PaginationComponent\\n  @viewportSelector='.main__content-outlet .o__scrolls'\\n  @scrollingContentSelector='[data-conversation-preview-content]'\\n  @onPageRequested={{perform this.loadMoreConversations}}\\n>\\n  <IcContent class=\\\"w-3/4\\\" data-conversation-preview-content>\\n    {{#each this.conversationParts as |conversationPart|}}\\n      <Reporting::ConversationalInsights::Topics::TopicConversationCard @conversationPart={{conversationPart}} />\\n    {{/each}}\\n  </IcContent>\\n</PaginationComponent>\\n{{#if this.loadConversations.isRunning}}\\n  <div class=\\\"flex justify-center\\\">\\n    <IcLoadingIndicator @size=\\\"large\\\" />\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/reporting/conversational-insights/topics/topic-conversations-preview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/conversational-insights/topics/topic-conversations-preview.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { allSettled, hash } from 'rsvp';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport ajax from 'embercom/lib/ajax';\nimport Admin from 'embercom/models/admin';\n\nconst PAGE_SIZE = 20;\n\nexport default class TopicConversationsPreviewComponent extends Component {\n  @service userCacheService;\n  @service appService;\n  @service store;\n  @tracked conversationParts = [];\n  @tracked users;\n  @tracked admins;\n  @tracked canLoadMore = false;\n  @tracked currentPage = 0;\n\n  @task\n  *loadConversationsFromStart() {\n    this.conversationParts = [];\n    this.currentPage = 0;\n    this.canLoadMore = true;\n    yield this.loadConversations.perform();\n  }\n\n  @task\n  *loadMoreConversations() {\n    if (this.canLoadMore) {\n      this.currentPage += 1;\n      yield this.loadConversations.perform();\n    }\n  }\n\n  @task({ restartable: true })\n  *loadConversations() {\n    if (this.args.keyphrases?.length) {\n      yield this.loadConversationParts.perform();\n      yield allSettled([this.loadUsers.perform(), this.loadAdmins.perform()]);\n      this.prepareConversations();\n    } else {\n      this.conversationParts = [];\n    }\n  }\n\n  @task\n  *loadConversationParts() {\n    let range = this.args.range;\n    let response = yield ajax({\n      url: '/ember/conversational_insights/conversation_topics/conversation_preview',\n      type: 'POST',\n      contentType: 'application/json',\n      data: JSON.stringify({\n        app_id: this.appService.app.id,\n        range_start: range.start,\n        range_end: range.end,\n        keyphrases: this.args.keyphrases,\n        page: this.currentPage,\n        page_size: PAGE_SIZE,\n      }),\n    });\n    let additionalConversationParts = response.conversation_preview.conversation_parts;\n    this.conversationParts.push(...additionalConversationParts);\n    if (additionalConversationParts.length < PAGE_SIZE) {\n      this.canLoadMore = false;\n    }\n  }\n\n  @task\n  *loadUsers() {\n    let userIdsArray = this.conversationParts\n      .map(({ user_id }) => user_id)\n      .filter(userId => userId);\n    let userIds = new Set(userIdsArray);\n    let users = [...userIds].reduce(\n      (acc, userId) => Object.assign(acc, { [userId]: this.userCacheService.getUser(userId) }),\n      {},\n    );\n    this.users = yield hash(users);\n  }\n\n  @task\n  *loadAdmins() {\n    let adminIdsArray = this.conversationParts\n      .map(({ admin_id }) => admin_id)\n      .filter(adminId => adminId);\n    let adminIds = new Set(adminIdsArray);\n    let admins = [...adminIds].reduce(\n      (acc, adminId) =>\n        Object.assign(acc, { [adminId]: Admin.peekAndMaybeLoad(this.store, adminId) }),\n      {},\n    );\n    this.admins = yield hash(admins);\n  }\n\n  prepareConversations() {\n    this.conversationParts = this.conversationParts.map(conversationPart => {\n      let user = this.users[conversationPart.user_id];\n      let admin = this.admins[conversationPart.admin_id];\n      if (user || admin) {\n        return {\n          ...conversationPart,\n          participant: user || admin,\n        };\n      } else {\n        return conversationPart;\n      }\n    });\n  }\n\n  get conversationCount() {\n    return this.conversationParts?.length || 0;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row gap-2\\\">\\n  <IcButton\\n    @label=\\\"Cancel\\\"\\n    @onClick={{this.cancelEdit}}\\n    data-test-topic-cancel-edit-button\\n  />\\n  <IcButton\\n    @type=\\\"primary\\\"\\n    @label=\\\"Save topic\\\"\\n    @onClick={{perform this.saveTopic}}\\n    @isDisabled={{or (not @topic.name) (not @topic.keyphrases)}}\\n    data-test-topic-save-button\\n  />\\n</div>\", {\"contents\":\"<div class=\\\"flex flex-row gap-2\\\">\\n  <IcButton\\n    @label=\\\"Cancel\\\"\\n    @onClick={{this.cancelEdit}}\\n    data-test-topic-cancel-edit-button\\n  />\\n  <IcButton\\n    @type=\\\"primary\\\"\\n    @label=\\\"Save topic\\\"\\n    @onClick={{perform this.saveTopic}}\\n    @isDisabled={{or (not @topic.name) (not @topic.keyphrases)}}\\n    data-test-topic-save-button\\n  />\\n</div>\",\"moduleName\":\"embercom/components/reporting/conversational-insights/topics/topic-edit-buttons.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/conversational-insights/topics/topic-edit-buttons.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class TopicShowButtonsComponent extends Component {\n  @service router;\n  @service notificationsService;\n\n  @task\n  *saveTopic() {\n    try {\n      yield this.args.topic.save();\n      this.notificationsService.notifyConfirmation('Topic successfully saved!');\n      this.router.transitionTo(\n        'apps.app.reports.conversational-insights.tracked-topics.topic.show',\n        this.args.topic.id,\n      );\n    } catch (err) {\n      this.notificationsService.notifyError('Unable to save topic.');\n    }\n  }\n\n  @action\n  cancelEdit() {\n    let isNew = this.args.topic.isNew;\n    this.args.topic.rollbackAttributes();\n    if (isNew) {\n      this.router.transitionTo('apps.app.reports.conversational-insights.tracked-topics');\n    } else {\n      this.router.transitionTo(\n        'apps.app.reports.conversational-insights.tracked-topics.topic.show',\n        this.args.topic.id,\n      );\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row justify-between items-center\\\">\\n  <Common::HamburgerMenu @includePadding={{false}}>\\n    <Pulse::ExpandingInput\\n      @value={{@topic.name}}\\n      @onUpdate={{set @topic.name}}\\n      placeholder=\\\"Enter a title\\\"\\n      class=\\\"t__h1 min-w-4 max-w-128 pr-2\\\"\\n      data-test-topic-edit-name-input\\n    />\\n  </Common::HamburgerMenu>\\n  <Reporting::ConversationalInsights::Topics::TopicEditButtons @topic={{@topic}} />\\n</div>\\n\\n<Form as |form|>\\n  <form.Item\\n    @label=\\\"Keyphrases\\\"\\n    @isInvalid={{not @topic.keyphrasesText}}\\n    as |item|\\n  >\\n    <item.Input\\n      {{on 'change' this.updateKeyphrases}}\\n      value={{@topic.keyphrasesText}}\\n      data-test-topic-edit-keyphrase-input\\n    />\\n  </form.Item>\\n</Form>\\n\\n<Reporting::ConversationalInsights::Topics::TopicStats\\n  @keyphrases={{@topic.keyphrases}}\\n  @range={{this.defaultRange}}\\n  @hideTrend={{true}}\\n/>\\n\\n<hr>\\n\\n<Reporting::ConversationalInsights::Topics::TopicConversationsPreview\\n  @keyphrases={{@topic.keyphrases}}\\n  @range={{this.defaultRange}}\\n/>\\n\", {\"contents\":\"<div class=\\\"flex flex-row justify-between items-center\\\">\\n  <Common::HamburgerMenu @includePadding={{false}}>\\n    <Pulse::ExpandingInput\\n      @value={{@topic.name}}\\n      @onUpdate={{set @topic.name}}\\n      placeholder=\\\"Enter a title\\\"\\n      class=\\\"t__h1 min-w-4 max-w-128 pr-2\\\"\\n      data-test-topic-edit-name-input\\n    />\\n  </Common::HamburgerMenu>\\n  <Reporting::ConversationalInsights::Topics::TopicEditButtons @topic={{@topic}} />\\n</div>\\n\\n<Form as |form|>\\n  <form.Item\\n    @label=\\\"Keyphrases\\\"\\n    @isInvalid={{not @topic.keyphrasesText}}\\n    as |item|\\n  >\\n    <item.Input\\n      {{on 'change' this.updateKeyphrases}}\\n      value={{@topic.keyphrasesText}}\\n      data-test-topic-edit-keyphrase-input\\n    />\\n  </form.Item>\\n</Form>\\n\\n<Reporting::ConversationalInsights::Topics::TopicStats\\n  @keyphrases={{@topic.keyphrases}}\\n  @range={{this.defaultRange}}\\n  @hideTrend={{true}}\\n/>\\n\\n<hr>\\n\\n<Reporting::ConversationalInsights::Topics::TopicConversationsPreview\\n  @keyphrases={{@topic.keyphrases}}\\n  @range={{this.defaultRange}}\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/conversational-insights/topics/topic-edit.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/conversational-insights/topics/topic-edit.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport moment from 'moment';\nimport Range from 'embercom/models/reporting/range';\n\nexport default class TopicShowButtonsComponent extends Component {\n  @service conversationalInsights;\n  @service appService;\n\n  @tracked conversations = this.args.conversations;\n\n  defaultRange = new Range(\n    moment()\n      .subtract(365 * 2, 'days')\n      .format(),\n    moment().format(),\n    this.appService.app.timezone,\n  );\n\n  @action\n  updateKeyphrases(event) {\n    let keyphrases = event.target.value;\n    this.args.topic.setKeyphrasesFromText(keyphrases);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row justify-between mb-6 gap-6\\\"\\n  {{did-insert (perform this.loadRows)}}\\n  {{did-update (perform this.loadRows) this.reportingService.range}}\\n  >\\n  <Common::HamburgerMenu @includePadding={{false}} @title=\\\"Your topics\\\" />\\n  <IcButton\\n    @label=\\\"New topic\\\"\\n    @onClick={{transition-to 'apps.app.reports.conversational-insights.tracked-topics.new'}}\\n    @type=\\\"primary\\\"\\n    data-test-topics-index-create-topic\\n  />\\n</div>\\n<div class=\\\"flex flex-row items-center\\\">\\n  <Reporting::DateRangeFilter\\n    @scrollParentSelector=\\\".js__main-container\\\"\\n    @range={{this.reportingService.range}}\\n    @timezone={{this.range.timezone}}\\n    @updateRange={{this.updateRange}}\\n    @maximumSelectionWindowInYears={{2}}\\n  />\\n</div>\\n<Reporting::ConversationalInsights::Topics::Visualization\\n  @topics={{@topics}}\\n  @stats={{this.stats}}\\n/>\\n<IcLightTable\\n  @data={{this.rows}}\\n  @sortState={{this.sortState}}\\n  @columns={{array\\n    (hash label=\\\"Topic\\\" valuePath=\\\"name\\\" isSortable=true)\\n    (hash label=\\\"Conversations\\\" valuePath=\\\"stats.currentCount\\\" isSortable=true)\\n    (hash label=\\\"Response Time\\\" valuePath=\\\"stats.currentResponseTime\\\" isSortable=true)\\n    (hash label=\\\"Time to close\\\" valuePath=\\\"stats.currentTimeToClose\\\" isSortable=true)\\n    (hash label=\\\"Satisfaction\\\" valuePath=\\\"stats.currentPositiveRate\\\" isSortable=true)\\n  }}\\n  @isLoading={{this.loadRows.isRunning}}\\n  as |table|\\n>\\n  <table.rows as |row|>\\n    <row.cell @valuePath=\\\"name\\\">\\n      <a\\n        href={{href-to \\\"apps.app.reports.conversational-insights.tracked-topics.topic\\\" row.data.topic}}\\n        data-test-topic-name\\n      >\\n        <Text\\n          @styling=\\\"strong\\\"\\n          @linkStyling=\\\"subtle\\\"\\n          class=\\\"reporting__conversational-insights__topic-list-name truncate\\\"\\n        >\\n          {{row.data.topic.name}}\\n        </Text>\\n      </a>\\n      <Paragraph\\n        @styling=\\\"small\\\"\\n        class=\\\"reporting__conversational-insights__topic-list-name truncate\\\"\\n        data-test-topic-keyphrases\\n      >\\n        {{row.data.topic.keyphrasesText}}\\n      </Paragraph>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"stats.currentCount\\\">\\n      <Reporting::ConversationalInsights::Topics::NumberWithComparison\\n        @current={{row.data.stats.currentCount}}\\n        @previous={{row.data.stats.previousCount}}\\n        @improvementDirection=\\\"decreasing\\\"\\n      />\\n    </row.cell>\\n    <row.cell @valuePath=\\\"stats.currentResponseTime\\\">\\n      <Reporting::ConversationalInsights::Topics::NumberWithComparison\\n        @current={{row.data.stats.currentResponseTime}}\\n        @previous={{row.data.stats.previousResponseTime}}\\n        @improvementDirection=\\\"decreasing\\\"\\n      >\\n        {{seconds-formatter row.data.stats.currentResponseTime}}\\n      </Reporting::ConversationalInsights::Topics::NumberWithComparison>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"stats.currentTimeToClose\\\">\\n      <Reporting::ConversationalInsights::Topics::NumberWithComparison\\n        @current={{row.data.stats.currentTimeToClose}}\\n        @previous={{row.data.stats.previousTimeToClose}}\\n        @improvementDirection=\\\"decreasing\\\"\\n      >\\n        {{seconds-formatter row.data.stats.currentTimeToClose}}\\n      </Reporting::ConversationalInsights::Topics::NumberWithComparison>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"stats.currentPositiveRate\\\">\\n      <Reporting::ConversationalInsights::Topics::NumberWithComparison\\n        @current={{row.data.stats.currentPositiveRate}}\\n        @previous={{row.data.stats.previousPositiveRate}}\\n        @improvementDirection=\\\"increasing\\\"\\n      >\\n        {{format-percentage row.data.stats.currentPositiveRate}}\\n      </Reporting::ConversationalInsights::Topics::NumberWithComparison>\\n    </row.cell>\\n  </table.rows>\\n</IcLightTable>\\n\", {\"contents\":\"<div class=\\\"flex flex-row justify-between mb-6 gap-6\\\"\\n  {{did-insert (perform this.loadRows)}}\\n  {{did-update (perform this.loadRows) this.reportingService.range}}\\n  >\\n  <Common::HamburgerMenu @includePadding={{false}} @title=\\\"Your topics\\\" />\\n  <IcButton\\n    @label=\\\"New topic\\\"\\n    @onClick={{transition-to 'apps.app.reports.conversational-insights.tracked-topics.new'}}\\n    @type=\\\"primary\\\"\\n    data-test-topics-index-create-topic\\n  />\\n</div>\\n<div class=\\\"flex flex-row items-center\\\">\\n  <Reporting::DateRangeFilter\\n    @scrollParentSelector=\\\".js__main-container\\\"\\n    @range={{this.reportingService.range}}\\n    @timezone={{this.range.timezone}}\\n    @updateRange={{this.updateRange}}\\n    @maximumSelectionWindowInYears={{2}}\\n  />\\n</div>\\n<Reporting::ConversationalInsights::Topics::Visualization\\n  @topics={{@topics}}\\n  @stats={{this.stats}}\\n/>\\n<IcLightTable\\n  @data={{this.rows}}\\n  @sortState={{this.sortState}}\\n  @columns={{array\\n    (hash label=\\\"Topic\\\" valuePath=\\\"name\\\" isSortable=true)\\n    (hash label=\\\"Conversations\\\" valuePath=\\\"stats.currentCount\\\" isSortable=true)\\n    (hash label=\\\"Response Time\\\" valuePath=\\\"stats.currentResponseTime\\\" isSortable=true)\\n    (hash label=\\\"Time to close\\\" valuePath=\\\"stats.currentTimeToClose\\\" isSortable=true)\\n    (hash label=\\\"Satisfaction\\\" valuePath=\\\"stats.currentPositiveRate\\\" isSortable=true)\\n  }}\\n  @isLoading={{this.loadRows.isRunning}}\\n  as |table|\\n>\\n  <table.rows as |row|>\\n    <row.cell @valuePath=\\\"name\\\">\\n      <a\\n        href={{href-to \\\"apps.app.reports.conversational-insights.tracked-topics.topic\\\" row.data.topic}}\\n        data-test-topic-name\\n      >\\n        <Text\\n          @styling=\\\"strong\\\"\\n          @linkStyling=\\\"subtle\\\"\\n          class=\\\"reporting__conversational-insights__topic-list-name truncate\\\"\\n        >\\n          {{row.data.topic.name}}\\n        </Text>\\n      </a>\\n      <Paragraph\\n        @styling=\\\"small\\\"\\n        class=\\\"reporting__conversational-insights__topic-list-name truncate\\\"\\n        data-test-topic-keyphrases\\n      >\\n        {{row.data.topic.keyphrasesText}}\\n      </Paragraph>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"stats.currentCount\\\">\\n      <Reporting::ConversationalInsights::Topics::NumberWithComparison\\n        @current={{row.data.stats.currentCount}}\\n        @previous={{row.data.stats.previousCount}}\\n        @improvementDirection=\\\"decreasing\\\"\\n      />\\n    </row.cell>\\n    <row.cell @valuePath=\\\"stats.currentResponseTime\\\">\\n      <Reporting::ConversationalInsights::Topics::NumberWithComparison\\n        @current={{row.data.stats.currentResponseTime}}\\n        @previous={{row.data.stats.previousResponseTime}}\\n        @improvementDirection=\\\"decreasing\\\"\\n      >\\n        {{seconds-formatter row.data.stats.currentResponseTime}}\\n      </Reporting::ConversationalInsights::Topics::NumberWithComparison>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"stats.currentTimeToClose\\\">\\n      <Reporting::ConversationalInsights::Topics::NumberWithComparison\\n        @current={{row.data.stats.currentTimeToClose}}\\n        @previous={{row.data.stats.previousTimeToClose}}\\n        @improvementDirection=\\\"decreasing\\\"\\n      >\\n        {{seconds-formatter row.data.stats.currentTimeToClose}}\\n      </Reporting::ConversationalInsights::Topics::NumberWithComparison>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"stats.currentPositiveRate\\\">\\n      <Reporting::ConversationalInsights::Topics::NumberWithComparison\\n        @current={{row.data.stats.currentPositiveRate}}\\n        @previous={{row.data.stats.previousPositiveRate}}\\n        @improvementDirection=\\\"increasing\\\"\\n      >\\n        {{format-percentage row.data.stats.currentPositiveRate}}\\n      </Reporting::ConversationalInsights::Topics::NumberWithComparison>\\n    </row.cell>\\n  </table.rows>\\n</IcLightTable>\\n\",\"moduleName\":\"embercom/components/reporting/conversational-insights/topics/topic-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/conversational-insights/topics/topic-list.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport ajax from 'embercom/lib/ajax';\nimport { topicStatsForDisplay } from 'embercom/lib/conversational-insights/topic-stats-for-display';\nimport { allSettled } from 'rsvp';\n\nexport default class TopicListComponent extends Component {\n  @service store;\n  @service appService;\n  @service reportingService;\n\n  @tracked stats;\n  @tracked rows;\n\n  sortState = { valuePath: 'topic.name', direction: 'desc' };\n\n  @task\n  *topicStatsQuery({ rangeStart, rangeEnd }) {\n    let reportingSettings = yield this.store.queryRecord('reporting/settings', {});\n\n    return yield ajax({\n      url: '/ember/conversational_insights/conversation_topics/stats',\n      type: 'POST',\n      contentType: 'application/json',\n      data: JSON.stringify({\n        app_id: this.appService.app.id,\n        range_start: rangeStart,\n        range_end: rangeEnd,\n        exclude_ooo_hours: reportingSettings.excludeOooHours,\n        exclude_bot_inbox: false,\n      }),\n    });\n  }\n\n  @task({ restartable: true })\n  *loadStats() {\n    let { start, end } = this.reportingService.range;\n    let response = yield this.topicStatsQuery.perform({ rangeStart: start, rangeEnd: end });\n\n    let statsObject = {};\n    response.stats.forEach(topicStats => {\n      statsObject[topicStats.topic_id] = topicStats;\n    });\n    this.stats = statsObject;\n  }\n\n  @task\n  *loadRows() {\n    yield allSettled([this.args.topics, this.loadStats.perform()]);\n    if (!this.args.topics?.length) {\n      return [];\n    }\n\n    let rows = this.args.topics.map(topic => {\n      let rawStats = this.stats[topic.id];\n      let stats = topicStatsForDisplay(rawStats);\n      return { topic, stats };\n    });\n\n    this.rows = rows.sort((a, b) => b.stats.currentCount - a.stats.currentCount);\n  }\n\n  @action\n  updateRange(range) {\n    this.reportingService.updateRange(range, null, false);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row gap-2\\\">\\n  <IcButton\\n    @label=\\\"Delete\\\" @onClick={{perform this.deleteTopic}}\\n    data-test-topic-delete-button\\n  />\\n  <LinkTo @route=\\\"apps.app.reports.conversational-insights.tracked-topics.topic.edit\\\">\\n    <IcButton\\n      @type=\\\"primary\\\"\\n      @label=\\\"Edit topic\\\"\\n      data-test-topic-edit-button\\n    />\\n  </LinkTo>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row gap-2\\\">\\n  <IcButton\\n    @label=\\\"Delete\\\" @onClick={{perform this.deleteTopic}}\\n    data-test-topic-delete-button\\n  />\\n  <LinkTo @route=\\\"apps.app.reports.conversational-insights.tracked-topics.topic.edit\\\">\\n    <IcButton\\n      @type=\\\"primary\\\"\\n      @label=\\\"Edit topic\\\"\\n      data-test-topic-edit-button\\n    />\\n  </LinkTo>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/conversational-insights/topics/topic-show-buttons.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/conversational-insights/topics/topic-show-buttons.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport { inject as service } from '@ember/service';\n\nexport default class TopicShowButtonsComponent extends Component {\n  @service notificationsService;\n  @service router;\n\n  @task\n  *deleteTopic() {\n    try {\n      yield this.args.topic.destroyRecord();\n      this.notificationsService.notifyConfirmation('Topic successfully deleted');\n      this.router.transitionTo('apps.app.reports.conversational-insights.tracked-topics');\n    } catch (err) {\n      this.notificationsService.notifyError('Unable to delete topic');\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row justify-between items-center\\\">\\n  <Common::HamburgerMenu @includePadding={{false}} @title={{@topic.name}} />\\n  <Reporting::ConversationalInsights::Topics::TopicShowButtons @topic={{@topic}} />\\n</div>\\n\\n<Heading @size=\\\"4\\\">Keyphrases</Heading>\\n<div class=\\\"flex flex-row gap-2\\\">\\n  {{#each @topic.keyphrases as |keyphrase|}}\\n    <div class=\\\"bg-gray-light rounded-sm px-2 py-1\\\">\\n      <Text data-test-topic-keyphrase={{keyphrase}}>{{keyphrase}}</Text>\\n    </div>\\n  {{/each}}\\n</div>\\n\\n<Reporting::DateRangeFilter\\n  @scrollParentSelector=\\\".js__main-container\\\"\\n  @range={{this.reportingService.range}}\\n  @timezone={{this.range.timezone}}\\n  @updateRange={{this.updateRange}}\\n  @maximumSelectionWindowInYears={{2}}\\n/>\\n\\n<Reporting::ConversationalInsights::Topics::TopicStats \\n  @keyphrases={{this.keyphraseArray}}\\n  @range={{this.reportingService.range}}\\n/>\\n\\n<hr>\\n\\n<Reporting::ConversationalInsights::Topics::TopicConversationsPreview\\n  @keyphrases={{this.keyphraseArray}}\\n  @range={{this.reportingService.range}}\\n/>\\n\", {\"contents\":\"<div class=\\\"flex flex-row justify-between items-center\\\">\\n  <Common::HamburgerMenu @includePadding={{false}} @title={{@topic.name}} />\\n  <Reporting::ConversationalInsights::Topics::TopicShowButtons @topic={{@topic}} />\\n</div>\\n\\n<Heading @size=\\\"4\\\">Keyphrases</Heading>\\n<div class=\\\"flex flex-row gap-2\\\">\\n  {{#each @topic.keyphrases as |keyphrase|}}\\n    <div class=\\\"bg-gray-light rounded-sm px-2 py-1\\\">\\n      <Text data-test-topic-keyphrase={{keyphrase}}>{{keyphrase}}</Text>\\n    </div>\\n  {{/each}}\\n</div>\\n\\n<Reporting::DateRangeFilter\\n  @scrollParentSelector=\\\".js__main-container\\\"\\n  @range={{this.reportingService.range}}\\n  @timezone={{this.range.timezone}}\\n  @updateRange={{this.updateRange}}\\n  @maximumSelectionWindowInYears={{2}}\\n/>\\n\\n<Reporting::ConversationalInsights::Topics::TopicStats \\n  @keyphrases={{this.keyphraseArray}}\\n  @range={{this.reportingService.range}}\\n/>\\n\\n<hr>\\n\\n<Reporting::ConversationalInsights::Topics::TopicConversationsPreview\\n  @keyphrases={{this.keyphraseArray}}\\n  @range={{this.reportingService.range}}\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/conversational-insights/topics/topic-show.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/conversational-insights/topics/topic-show.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class TopicShowComponent extends Component {\n  @service reportingService;\n  @tracked keyphraseArray;\n\n  constructor() {\n    super(...arguments);\n    this.keyphraseArray = this.args.topic.keyphrases;\n  }\n\n  @action\n  updateRange(range) {\n    this.reportingService.updateRange(range, null, false);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row mb-0 mt-6\\\"\\n  {{did-insert (perform this.loadStats)}}\\n  {{did-update (perform this.loadStats) @keyphrases @range}}\\n>\\n  <div class=\\\"ml-5 w-40 flex flex-col\\\" data-test-topic-stats-metric=\\\"conversation_count\\\">\\n    <Text @styling=\\\"label\\\" class=\\\"mb-2\\\">Conversations</Text>\\n    {{#if (is-present this.stats.currentCount)}}\\n      <Reporting::ConversationalInsights::Topics::MetricWithComparison\\n        @current={{this.stats.currentCount}}\\n        @previous={{this.stats.previousCount}}\\n        @improvementDirection=\\\"decreasing\\\"\\n        @hideTrend={{@hideTrend}}\\n      />\\n    {{else}}\\n      <div class=\\\"h-5 w-24 bg-gray-lightest rounded-sm\\\" data-test-skeleton></div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"ml-5 w-40 flex flex-col\\\" data-test-topic-stats-metric=\\\"response_time\\\">\\n    <Text @styling=\\\"label\\\" class=\\\"mb-2\\\">Response time</Text>\\n    {{#if (is-present this.stats.currentResponseTime)}}\\n      <Reporting::ConversationalInsights::Topics::MetricWithComparison\\n        @current={{this.stats.currentResponseTime}}\\n        @previous={{this.stats.previousResponseTime}}\\n        @improvementDirection=\\\"decreasing\\\"\\n        @format=\\\"seconds\\\"\\n        @hideTrend={{@hideTrend}}\\n      />\\n    {{else}}\\n      <div class=\\\"h-5 w-24 bg-gray-lightest rounded-sm\\\" data-test-skeleton></div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"ml-5 w-40 flex flex-col\\\" data-test-topic-stats-metric=\\\"time_to_close\\\">\\n    <Text @styling=\\\"label\\\" class=\\\"mb-2\\\">Time to close</Text>\\n    {{#if (is-present this.stats.currentTimeToClose)}}\\n      <Reporting::ConversationalInsights::Topics::MetricWithComparison\\n        @current={{this.stats.currentTimeToClose}}\\n        @previous={{this.stats.previousTimeToClose}}\\n        @improvementDirection=\\\"decreasing\\\"\\n        @format=\\\"seconds\\\"\\n        @hideTrend={{@hideTrend}}\\n      />\\n    {{else}}\\n      <div class=\\\"h-5 w-24 bg-gray-lightest rounded-sm\\\" data-test-skeleton></div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"ml-5 w-40 flex flex-col\\\" data-test-topic-stats-metric=\\\"csat\\\">\\n    <Text @styling=\\\"label\\\" class=\\\"mb-2\\\">Satisfaction</Text>\\n    {{#if (is-present this.stats.currentPositiveRate)}}\\n      <Reporting::ConversationalInsights::Topics::MetricWithComparison\\n        @current={{this.stats.currentPositiveRate}}\\n        @previous={{this.stats.previousPositiveRate}}\\n        @improvementDirection=\\\"increasing\\\"\\n        @format=\\\"percentage\\\"\\n        @hideTrend={{@hideTrend}}\\n      />\\n    {{else}}\\n      <div class=\\\"h-5 w-24 bg-gray-lightest rounded-sm\\\" data-test-skeleton></div>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row mb-0 mt-6\\\"\\n  {{did-insert (perform this.loadStats)}}\\n  {{did-update (perform this.loadStats) @keyphrases @range}}\\n>\\n  <div class=\\\"ml-5 w-40 flex flex-col\\\" data-test-topic-stats-metric=\\\"conversation_count\\\">\\n    <Text @styling=\\\"label\\\" class=\\\"mb-2\\\">Conversations</Text>\\n    {{#if (is-present this.stats.currentCount)}}\\n      <Reporting::ConversationalInsights::Topics::MetricWithComparison\\n        @current={{this.stats.currentCount}}\\n        @previous={{this.stats.previousCount}}\\n        @improvementDirection=\\\"decreasing\\\"\\n        @hideTrend={{@hideTrend}}\\n      />\\n    {{else}}\\n      <div class=\\\"h-5 w-24 bg-gray-lightest rounded-sm\\\" data-test-skeleton></div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"ml-5 w-40 flex flex-col\\\" data-test-topic-stats-metric=\\\"response_time\\\">\\n    <Text @styling=\\\"label\\\" class=\\\"mb-2\\\">Response time</Text>\\n    {{#if (is-present this.stats.currentResponseTime)}}\\n      <Reporting::ConversationalInsights::Topics::MetricWithComparison\\n        @current={{this.stats.currentResponseTime}}\\n        @previous={{this.stats.previousResponseTime}}\\n        @improvementDirection=\\\"decreasing\\\"\\n        @format=\\\"seconds\\\"\\n        @hideTrend={{@hideTrend}}\\n      />\\n    {{else}}\\n      <div class=\\\"h-5 w-24 bg-gray-lightest rounded-sm\\\" data-test-skeleton></div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"ml-5 w-40 flex flex-col\\\" data-test-topic-stats-metric=\\\"time_to_close\\\">\\n    <Text @styling=\\\"label\\\" class=\\\"mb-2\\\">Time to close</Text>\\n    {{#if (is-present this.stats.currentTimeToClose)}}\\n      <Reporting::ConversationalInsights::Topics::MetricWithComparison\\n        @current={{this.stats.currentTimeToClose}}\\n        @previous={{this.stats.previousTimeToClose}}\\n        @improvementDirection=\\\"decreasing\\\"\\n        @format=\\\"seconds\\\"\\n        @hideTrend={{@hideTrend}}\\n      />\\n    {{else}}\\n      <div class=\\\"h-5 w-24 bg-gray-lightest rounded-sm\\\" data-test-skeleton></div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"ml-5 w-40 flex flex-col\\\" data-test-topic-stats-metric=\\\"csat\\\">\\n    <Text @styling=\\\"label\\\" class=\\\"mb-2\\\">Satisfaction</Text>\\n    {{#if (is-present this.stats.currentPositiveRate)}}\\n      <Reporting::ConversationalInsights::Topics::MetricWithComparison\\n        @current={{this.stats.currentPositiveRate}}\\n        @previous={{this.stats.previousPositiveRate}}\\n        @improvementDirection=\\\"increasing\\\"\\n        @format=\\\"percentage\\\"\\n        @hideTrend={{@hideTrend}}\\n      />\\n    {{else}}\\n      <div class=\\\"h-5 w-24 bg-gray-lightest rounded-sm\\\" data-test-skeleton></div>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/conversational-insights/topics/topic-stats.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/conversational-insights/topics/topic-stats.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport ajax from 'embercom/lib/ajax';\nimport { topicStatsForDisplay } from 'embercom/lib/conversational-insights/topic-stats-for-display';\n\nexport default class TopicStatsComponent extends Component {\n  @service appService;\n  @service reportingService;\n  @service store;\n  @tracked stats;\n\n  reportingSettings = this.loadReportingSettings.perform();\n\n  @task\n  *loadReportingSettings() {\n    return yield this.store.queryRecord('reporting/settings', {});\n  }\n\n  @task\n  *loadStats() {\n    let { start, end } = this.args.range;\n    let reportingSettings = yield this.reportingSettings;\n\n    let {\n      stats: [rawStats],\n    } = yield ajax({\n      url: '/ember/conversational_insights/conversation_topics/stats',\n      type: 'POST',\n      contentType: 'application/json',\n      data: JSON.stringify({\n        app_id: this.appService.app.id,\n        range_start: start,\n        range_end: end,\n        exclude_ooo_hours: reportingSettings.excludeOooHours,\n        exclude_bot_inbox: false,\n        keyphrases: this.args.keyphrases,\n      }),\n    });\n\n    this.stats = topicStatsForDisplay(rawStats);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"bg-gray-lightest rounded p-6\\\"\\n  data-test-topic-visualization-container\\n>\\n  <Heading @size=\\\"3\\\" data-test-topic-visualization-heading>Top {{this.maxTopicCount}} topics by volume</Heading>\\n  <div\\n    {{did-insert this.updateChartWidth}}\\n    {{did-update this.updateChartWidth}}\\n    class=\\\"flex flex-row justify-center\\\"\\n  >\\n    {{#if this.data}}\\n      <Reporting::BubbleChart\\n        @width={{this.chartWidth}}\\n        @height={{400}}\\n        @data={{this.data}}\\n      />\\n    {{else}}\\n      <div class=\\\"reporting__conversational-insights__visualization-loading-state\\\"></div>\\n    {{/if}}\\n  </div>\\n</div>\", {\"contents\":\"<div\\n  class=\\\"bg-gray-lightest rounded p-6\\\"\\n  data-test-topic-visualization-container\\n>\\n  <Heading @size=\\\"3\\\" data-test-topic-visualization-heading>Top {{this.maxTopicCount}} topics by volume</Heading>\\n  <div\\n    {{did-insert this.updateChartWidth}}\\n    {{did-update this.updateChartWidth}}\\n    class=\\\"flex flex-row justify-center\\\"\\n  >\\n    {{#if this.data}}\\n      <Reporting::BubbleChart\\n        @width={{this.chartWidth}}\\n        @height={{400}}\\n        @data={{this.data}}\\n      />\\n    {{else}}\\n      <div class=\\\"reporting__conversational-insights__visualization-loading-state\\\"></div>\\n    {{/if}}\\n  </div>\\n</div>\",\"moduleName\":\"embercom/components/reporting/conversational-insights/topics/visualization.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/conversational-insights/topics/visualization.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\n\nconst MAX_TOPIC_COUNT = 20;\n\nexport default class VisualizationComponent extends Component {\n  @tracked chartWidth;\n  margin = { top: 0, right: 0, bottom: 0, left: 0 };\n  maxTopicCount = MAX_TOPIC_COUNT;\n\n  get data() {\n    if (!this.args.topics || !this.args.stats) {\n      return null;\n    }\n    let bubbleData = this.args.topics\n      .filter(topic => this.args.stats[topic.id] && this.args.stats[topic.id].current_count > 0)\n      .map(topic => ({\n        name: topic.name,\n        value: this.args.stats[topic.id].current_count,\n      }));\n    let sorted = bubbleData.sort((a, b) => b.value - a.value);\n    let truncated = sorted.slice(0, MAX_TOPIC_COUNT);\n    return truncated;\n  }\n\n  @action\n  updateChartWidth(element) {\n    this.chartWidth = element.offsetWidth;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col flex-grow\\\">\\n  <Reporting::Custom::ChartBuilder::Header\\n    @title={{@chartState.title}}\\n    @onUpdateTitle={{set @chartState.title}}\\n    @onFocusOutTitle={{fn this.trackAnalyticsEvent (hash action=\\\"edited_title\\\")}} \\n    @description={{@chartState.description}}\\n    @onUpdateDescription={{set @chartState.description}}\\n    @onFocusOutDescription={{fn this.trackAnalyticsEvent (hash action=\\\"edited_title\\\")}} \\n  >\\n    <IcButtonList as |list|>\\n      {{#if this.editMode}}\\n        <list.button @label=\\\"Delete\\\" @type=\\\"primary-destructive\\\" @onClick={{perform this.deleteChart}} data-test-chart-delete />\\n      {{/if}}\\n      <list.button @label=\\\"Cancel\\\" @type=\\\"secondary\\\" @onClick={{this.cancel}} data-test-chart-cancel />\\n      <list.button @label=\\\"Save and close\\\" @type=\\\"primary\\\" @onClick={{perform this.saveChart}} data-test-chart-save />\\n    </IcButtonList>\\n  </Reporting::Custom::ChartBuilder::Header>\\n  <div class=\\\"flex flex-grow flex-row gap-6\\\">\\n    <IcContent class=\\\"flex-1 min-w-128 pt-4 pl-6\\\">\\n      <Reporting::Custom::ChartBuilder::Filters\\n        @chartConfig={{this.renderableChart}}\\n        @filterableProperties={{this.renderableChart.filterableProperties}}\\n        @filterValues={{this.renderableChart.filters}}\\n        @onFiltersChanged={{this.onFiltersChanged}}\\n        @conversationAttributeDescriptors={{this.conversationAttributeDescriptors}}\\n        @conversationAttributeFilterValues={{this.renderableChart.conversationAttributeFilters}}\\n        @onConversationAttributesFilterChanged={{this.onConversationAttributesFilterChanged}}\\n        @onFiltersCleared={{this.onFiltersCleared}}\\n      />\\n      <IcCard class=\\\"flex flex-col flex-1 gap-4\\\">\\n        <Heading class=\\\"flex-grow\\\" @size=\\\"2\\\">{{this.chartTitle}}</Heading>\\n        <Reporting::Custom::ChartRenderer @renderableChart={{this.renderableChart}} as |chart|>\\n          <chart.Empty>\\n            <IcEmptyState\\n              @title=\\\"This chart has no data\\\"\\n              @description=\\\"To see data here, try changing the settings on this chart\\\"\\n              @icon=\\\"chart\\\"\\n            />\\n          </chart.Empty>\\n        </Reporting::Custom::ChartRenderer>\\n      </IcCard>\\n    </IcContent>\\n    <div class=\\\"flex-none flex flex-col gap-6 px-6 pt-6 reporting__custom__side-panel\\\">\\n      <Reporting::Custom::ChartBuilder::Metric\\n        @chartState={{@chartState}}\\n        @updateMetricFunction={{this.updateMetricFunction}}\\n        @updateMetricProperty={{this.updateMetricProperty}}\\n      />\\n      <Reporting::Custom::ChartBuilder::DateRange\\n        @chartState={{@chartState}}\\n        @onUpdateDateRange={{this.updateDateRange}}\\n        @updateTimeProperty={{this.updateTimeProperty}}\\n        @showDateOverwritten={{@report.hasDatesOverwritten}}\\n      />\\n      <hr class=\\\"mt-2 pb-1\\\" />\\n      <Reporting::Custom::ChartBuilder::Visualization\\n        @object={{@chartState.object}}\\n        @group={{@chartState.breakDownBy}}\\n        @visualizationType={{@chartState.visualizationType}}\\n        @updateVisualization={{this.updateVisualization}}\\n        @updateGroup={{this.updateGroup}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col flex-grow\\\">\\n  <Reporting::Custom::ChartBuilder::Header\\n    @title={{@chartState.title}}\\n    @onUpdateTitle={{set @chartState.title}}\\n    @onFocusOutTitle={{fn this.trackAnalyticsEvent (hash action=\\\"edited_title\\\")}} \\n    @description={{@chartState.description}}\\n    @onUpdateDescription={{set @chartState.description}}\\n    @onFocusOutDescription={{fn this.trackAnalyticsEvent (hash action=\\\"edited_title\\\")}} \\n  >\\n    <IcButtonList as |list|>\\n      {{#if this.editMode}}\\n        <list.button @label=\\\"Delete\\\" @type=\\\"primary-destructive\\\" @onClick={{perform this.deleteChart}} data-test-chart-delete />\\n      {{/if}}\\n      <list.button @label=\\\"Cancel\\\" @type=\\\"secondary\\\" @onClick={{this.cancel}} data-test-chart-cancel />\\n      <list.button @label=\\\"Save and close\\\" @type=\\\"primary\\\" @onClick={{perform this.saveChart}} data-test-chart-save />\\n    </IcButtonList>\\n  </Reporting::Custom::ChartBuilder::Header>\\n  <div class=\\\"flex flex-grow flex-row gap-6\\\">\\n    <IcContent class=\\\"flex-1 min-w-128 pt-4 pl-6\\\">\\n      <Reporting::Custom::ChartBuilder::Filters\\n        @chartConfig={{this.renderableChart}}\\n        @filterableProperties={{this.renderableChart.filterableProperties}}\\n        @filterValues={{this.renderableChart.filters}}\\n        @onFiltersChanged={{this.onFiltersChanged}}\\n        @conversationAttributeDescriptors={{this.conversationAttributeDescriptors}}\\n        @conversationAttributeFilterValues={{this.renderableChart.conversationAttributeFilters}}\\n        @onConversationAttributesFilterChanged={{this.onConversationAttributesFilterChanged}}\\n        @onFiltersCleared={{this.onFiltersCleared}}\\n      />\\n      <IcCard class=\\\"flex flex-col flex-1 gap-4\\\">\\n        <Heading class=\\\"flex-grow\\\" @size=\\\"2\\\">{{this.chartTitle}}</Heading>\\n        <Reporting::Custom::ChartRenderer @renderableChart={{this.renderableChart}} as |chart|>\\n          <chart.Empty>\\n            <IcEmptyState\\n              @title=\\\"This chart has no data\\\"\\n              @description=\\\"To see data here, try changing the settings on this chart\\\"\\n              @icon=\\\"chart\\\"\\n            />\\n          </chart.Empty>\\n        </Reporting::Custom::ChartRenderer>\\n      </IcCard>\\n    </IcContent>\\n    <div class=\\\"flex-none flex flex-col gap-6 px-6 pt-6 reporting__custom__side-panel\\\">\\n      <Reporting::Custom::ChartBuilder::Metric\\n        @chartState={{@chartState}}\\n        @updateMetricFunction={{this.updateMetricFunction}}\\n        @updateMetricProperty={{this.updateMetricProperty}}\\n      />\\n      <Reporting::Custom::ChartBuilder::DateRange\\n        @chartState={{@chartState}}\\n        @onUpdateDateRange={{this.updateDateRange}}\\n        @updateTimeProperty={{this.updateTimeProperty}}\\n        @showDateOverwritten={{@report.hasDatesOverwritten}}\\n      />\\n      <hr class=\\\"mt-2 pb-1\\\" />\\n      <Reporting::Custom::ChartBuilder::Visualization\\n        @object={{@chartState.object}}\\n        @group={{@chartState.breakDownBy}}\\n        @visualizationType={{@chartState.visualizationType}}\\n        @updateVisualization={{this.updateVisualization}}\\n        @updateGroup={{this.updateGroup}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport RenderableChart from 'embercom/models/reporting/custom/renderable-chart';\nimport { buildHumanizedChartDescription } from 'embercom/lib/reporting/custom/helpers';\nimport { task } from 'ember-concurrency-decorators';\n\nconst CONFIRMATION_MODAL_CONTENT = {\n  title: 'Do you want to delete this chart?',\n  body: `This action is permanent and can't be undone`,\n  primaryButtonType: 'primary-destructive',\n  confirmButtonText: 'Delete',\n};\n\nexport default class ChartBuilder extends Component {\n  @service appService;\n  @service intercomEventService;\n  @service router;\n  @service confirmService;\n  @service notificationsService;\n\n  @tracked conversationAttributeDescriptors = [];\n\n  get chartTitle() {\n    return buildHumanizedChartDescription(this.renderableChart);\n  }\n\n  get renderableChart() {\n    return new RenderableChart(this.args.chartState, { settings: this.args.settings });\n  }\n\n  get editMode() {\n    return !this.args.chartState.isNew;\n  }\n\n  get sharedAnalyticsData() {\n    return {\n      object: 'custom_chart',\n      custom_chart_id: this.args.chartState.id,\n      custom_chart_name: this.args.chartState.title || 'untitled',\n      custom_report_id: this.args.report.id,\n      custom_report_name: this.args.report.name || 'untitled',\n    };\n  }\n\n  get editedChartAnalyticsData() {\n    let chartChangedAttributes = this.args.chartState.changedAttributes();\n    let dateRangeChangedAttributes = this.args.chartState.dateRange.changedAttributes();\n    return {\n      title_changed: 'title' in chartChangedAttributes,\n      description_changed: 'description' in chartChangedAttributes,\n      metric_changed: 'metricProperty' in chartChangedAttributes,\n      aggregation_changed: 'metricFunction' in chartChangedAttributes,\n      visualisation_changed: 'visualizationType' in chartChangedAttributes,\n      grouping_changed: 'breakDownBy' in chartChangedAttributes,\n      date_range_property_changed: 'property' in dateRangeChangedAttributes,\n      date_range_date_changed:\n        'selection' in dateRangeChangedAttributes ||\n        'start' in dateRangeChangedAttributes ||\n        'end' in dateRangeChangedAttributes,\n      filters_changed: 'filters' in chartChangedAttributes,\n    };\n  }\n\n  @action\n  trackAnalyticsEvent(data) {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.sharedAnalyticsData,\n      ...data,\n    });\n  }\n\n  @task\n  *saveChart() {\n    if (this.editMode) {\n      this.trackAnalyticsEvent({\n        action: 'edited',\n        ...this.editedChartAnalyticsData,\n      });\n      yield this.args.chartState.save();\n    } else {\n      this.trackAnalyticsEvent({\n        action: 'saved',\n      });\n      yield this.args.chartState.save();\n      yield this.args.report.addNewChart(this.args.chartState);\n    }\n    this.notificationsService.notifyConfirmation('Your chart has been saved');\n    this.router.transitionTo(this.args.route, this.args.report.id);\n  }\n\n  @task\n  *deleteChart() {\n    let confirm = yield this.confirmService.show(this, CONFIRMATION_MODAL_CONTENT);\n    if (!confirm) {\n      return;\n    }\n    this.trackAnalyticsEvent({\n      action: 'deleted',\n    });\n    yield this.args.chartState.destroyRecord();\n    this.notificationsService.notifyConfirmation('Your chart has been deleted');\n    this.router.transitionTo(this.args.route, this.args.report.id);\n  }\n\n  @action\n  cancel() {\n    this.args.chartState.rollbackAttributes();\n    this.router.transitionTo(this.args.route, this.args.report.id, {\n      queryParams: { cancelling: true },\n    });\n  }\n\n  @action\n  updateDateRange(value) {\n    this.trackAnalyticsEvent({\n      action: 'edited_date_range_property',\n      date_range: value,\n    });\n    this.args.chartState.applyDateRange(value);\n  }\n\n  @action\n  updateTimeProperty(value) {\n    this.trackAnalyticsEvent({\n      action: 'edited_time_property',\n      time_property: value,\n    });\n    this.args.chartState.dateRange.property = value;\n  }\n\n  @action\n  updateMetricProperty(value) {\n    this.trackAnalyticsEvent({\n      action: 'edited_metric',\n      metric: value,\n    });\n    this.args.chartState.updateMetric(value);\n  }\n\n  @action\n  updateMetricFunction(value) {\n    this.trackAnalyticsEvent({\n      action: 'edited_metric_aggregation_function',\n      aggregation_function: value,\n    });\n    this.args.chartState.metricFunction = value;\n  }\n\n  @action\n  updateGroup(value) {\n    this.trackAnalyticsEvent({\n      action: 'edited_group',\n      group: value,\n    });\n    this.args.chartState.updateBreakDownBy(value);\n  }\n\n  @action\n  updateVisualization(value) {\n    this.trackAnalyticsEvent({\n      action: 'edited_vizualization',\n      visualization: value,\n    });\n    this.args.chartState.updateVisualization(value);\n  }\n\n  @action\n  onFiltersChanged(property, value) {\n    this.trackAnalyticsEvent({\n      action: 'filtered',\n      filter_name: property,\n    });\n    this.args.chartState.applyFilter(property, value);\n  }\n\n  @action\n  onConversationAttributesFilterChanged(id, values, operator) {\n    //TODO Fix this\n    //this.args.chartState.conversationAttributeFilters.updateValues(id, values, operator);\n  }\n\n  @action\n  onFiltersCleared() {\n    this.trackAnalyticsEvent({\n      action: 'cleared_filters',\n    });\n    this.args.chartState.filters = {};\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div>\\n  <div class=\\\"mb-1\\\">\\n    <Paragraph @styling='label'>Date range</Paragraph>\\n  </div>\\n  <Popover\\n    @fullBleed={{true}}\\n    @placement=\\\"bottom-start\\\"\\n    @showOn={{array 'click'}}\\n    @hideOn={{array 'clickout'}}\\n    @onShow={{set this.isOpen true}}\\n    @onHide={{set this.isOpen false}}\\n    as |popover|\\n  >\\n    <popover.Opener>\\n      <IcFilterBlock\\n        class=\\\"reporting__custom__date-range-filter\\\"\\n        @icon=\\\"calendar\\\"\\n        @name={{this.name}}\\n        @details={{this.details}}\\n        @isOpen={{this.isOpen}}\\n        @isOneLine={{true}}\\n        @displaysFullDescription={{true}}\\n        @isClickable={{true}}\\n        data-test-chart-builder-date-range\\n      />\\n      {{#if @showDateOverwritten}}\\n        <IcBanner @type=\\\"warning\\\" class=\\\"mt-2\\\">\\n          <Text>To change the date range for this chart, use the filter on the report.</Text>\\n        </IcBanner>\\n      {{/if}}\\n    </popover.Opener>\\n    <popover.Content>\\n      <Form class=\\\"p-4\\\" as |form|>\\n        <div class=\\\"flex flex-col flow-grow gap-4\\\">\\n          <form.Item @label=\\\"Property\\\" as |item|>\\n            <IcSelect\\n              class=\\\"min-w-full\\\"\\n              @items={{this.dateRangeProperties}}\\n              @onSelectItem={{@updateTimeProperty}}\\n              @selectedValue={{@chartState.dateRange.property}}\\n              data-test-chart-builder-date-range-property\\n            />\\n          </form.Item>\\n\\n          <form.Item @label=\\\"Date range\\\" as |item|>\\n            <Reporting::DateRangeFilter\\n              class=\\\"min-w-full\\\"\\n              @disabled={{false}}\\n              @range={{@chartState.range}}\\n              @timezone={{@chartState.range.timezone}}\\n              @updateRange={{@onUpdateDateRange}}\\n              data-test-chart-builder-date-range-dates\\n            />\\n          </form.Item>\\n        </div>\\n      </Form>\\n\\n      <hr class=\\\"m-0\\\">\\n\\n      <div class=\\\"flex justify-center items-center\\\">\\n        <a class=\\\"btn__tertiary my-2\\\" {{on 'click' popover.hide}}>Done</a>\\n      </div>\\n    </popover.Content>\\n  </Popover>\\n</div>\\n\", {\"contents\":\"<div>\\n  <div class=\\\"mb-1\\\">\\n    <Paragraph @styling='label'>Date range</Paragraph>\\n  </div>\\n  <Popover\\n    @fullBleed={{true}}\\n    @placement=\\\"bottom-start\\\"\\n    @showOn={{array 'click'}}\\n    @hideOn={{array 'clickout'}}\\n    @onShow={{set this.isOpen true}}\\n    @onHide={{set this.isOpen false}}\\n    as |popover|\\n  >\\n    <popover.Opener>\\n      <IcFilterBlock\\n        class=\\\"reporting__custom__date-range-filter\\\"\\n        @icon=\\\"calendar\\\"\\n        @name={{this.name}}\\n        @details={{this.details}}\\n        @isOpen={{this.isOpen}}\\n        @isOneLine={{true}}\\n        @displaysFullDescription={{true}}\\n        @isClickable={{true}}\\n        data-test-chart-builder-date-range\\n      />\\n      {{#if @showDateOverwritten}}\\n        <IcBanner @type=\\\"warning\\\" class=\\\"mt-2\\\">\\n          <Text>To change the date range for this chart, use the filter on the report.</Text>\\n        </IcBanner>\\n      {{/if}}\\n    </popover.Opener>\\n    <popover.Content>\\n      <Form class=\\\"p-4\\\" as |form|>\\n        <div class=\\\"flex flex-col flow-grow gap-4\\\">\\n          <form.Item @label=\\\"Property\\\" as |item|>\\n            <IcSelect\\n              class=\\\"min-w-full\\\"\\n              @items={{this.dateRangeProperties}}\\n              @onSelectItem={{@updateTimeProperty}}\\n              @selectedValue={{@chartState.dateRange.property}}\\n              data-test-chart-builder-date-range-property\\n            />\\n          </form.Item>\\n\\n          <form.Item @label=\\\"Date range\\\" as |item|>\\n            <Reporting::DateRangeFilter\\n              class=\\\"min-w-full\\\"\\n              @disabled={{false}}\\n              @range={{@chartState.range}}\\n              @timezone={{@chartState.range.timezone}}\\n              @updateRange={{@onUpdateDateRange}}\\n              data-test-chart-builder-date-range-dates\\n            />\\n          </form.Item>\\n        </div>\\n      </Form>\\n\\n      <hr class=\\\"m-0\\\">\\n\\n      <div class=\\\"flex justify-center items-center\\\">\\n        <a class=\\\"btn__tertiary my-2\\\" {{on 'click' popover.hide}}>Done</a>\\n      </div>\\n    </popover.Content>\\n  </Popover>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/date-range.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/date-range.hbs\"}});\nimport Component from '@glimmer/component';\nimport {\n  getObjectProperty,\n  getDateRangeProperties,\n} from 'embercom/lib/reporting/custom/object-catalog';\n\nexport default class DateRange extends Component {\n  get dateRangeProperties() {\n    return getDateRangeProperties(this.args.chartState.object).map(p => ({\n      text: p.humanizedName,\n      value: p.identifier,\n    }));\n  }\n\n  get name() {\n    return getObjectProperty(\n      this.args.chartState.object,\n      this.args.chartState.dateRange.property,\n    ).humanizedName.replace(/\\sat$/, '');\n  }\n\n  get details() {\n    if (this.args.chartState.range.isSingleDay) {\n      return `on ${this.args.chartState.range.startMoment.format('MMM D, YYYY')}`;\n    } else {\n      let start = this.args.chartState.range.startMoment.format('MMM D, YYYY');\n      let end = this.args.chartState.range.endMoment.format('MMM D, YYYY');\n      return `between ${start} - ${end}`;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__display-inline-block\\\" data-test-filter-bot-inbox-time>\\n\\n  <IcSelect\\n    @items={{this.selectItems}}\\n    @onSelectItem={{this.changeSelection}}\\n    @selectedValue={{this.selected}}\\n    @label={{this.selected}}\\n    @initiallyOpened={{@initiallyOpened}} as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"conversation\\\"\\n        @name=\\\"Bot inbox time is\\\"\\n        @details={{this.selected}}\\n        @onDelete={{@removeFilter}}\\n        @isClickable={{true}}\\n      />\\n    </select.opener>\\n  </IcSelect>\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__display-inline-block\\\" data-test-filter-bot-inbox-time>\\n\\n  <IcSelect\\n    @items={{this.selectItems}}\\n    @onSelectItem={{this.changeSelection}}\\n    @selectedValue={{this.selected}}\\n    @label={{this.selected}}\\n    @initiallyOpened={{@initiallyOpened}} as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"conversation\\\"\\n        @name=\\\"Bot inbox time is\\\"\\n        @details={{this.selected}}\\n        @onDelete={{@removeFilter}}\\n        @isClickable={{true}}\\n      />\\n    </select.opener>\\n  </IcSelect>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/bot-inbox-time-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/bot-inbox-time-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { isEmpty } from '@ember/utils';\nimport { action } from '@ember/object';\n\nexport default class BotInboxTimeFilterComponent extends Component {\n  get selected() {\n    if (isEmpty(this.args.selected)) {\n      return 'included';\n    } else {\n      return this.args.selected[0];\n    }\n  }\n\n  @action\n  changeSelection(selectedValue) {\n    this.args.setSelected([selectedValue]);\n  }\n\n  selectItems = [\n    { text: 'Bot inbox time included', value: 'included' },\n    { text: 'Bot inbox time excluded', value: 'excluded' },\n  ];\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__relative\\\">\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-channel\\n    @selectAllLabel=\\\"Any channel\\\"\\n    @initiallyOpened={{@initiallyOpened}}\\n    @label={{this.label}}\\n    @displayItems={{this.items}}\\n    @isDisabled={{this.disabled}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @hasFilter={{false}}\\n    @onClose={{this.onClose}}\\n    @filterPlaceholder=\\\"Search channels\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"multiplatform\\\"\\n        @name=\\\"Channel is\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n  {{#if this.loadKnownValues.isRunning}}\\n    <div class=\\\"absolute inset-0 bg-white opacity-50\\\">\\n      <IcLoadingIndicator @size=\\\"tiny\\\" class=\\\"u__center-item\\\" />\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__relative\\\">\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-channel\\n    @selectAllLabel=\\\"Any channel\\\"\\n    @initiallyOpened={{@initiallyOpened}}\\n    @label={{this.label}}\\n    @displayItems={{this.items}}\\n    @isDisabled={{this.disabled}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @hasFilter={{false}}\\n    @onClose={{this.onClose}}\\n    @filterPlaceholder=\\\"Search channels\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"multiplatform\\\"\\n        @name=\\\"Channel is\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n  {{#if this.loadKnownValues.isRunning}}\\n    <div class=\\\"absolute inset-0 bg-white opacity-50\\\">\\n      <IcLoadingIndicator @size=\\\"tiny\\\" class=\\\"u__center-item\\\" />\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/channel-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/channel-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { get } from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency-decorators';\nimport {\n  AVAILABLE_CHANNEL_MAPPINGS,\n  REPORTING_FILTER_SELECT_ALL,\n} from 'embercom/lib/reporting/flexible/constants';\n\nexport default class ChannelFilter extends Component {\n  @service appService;\n  @service intercomEventService;\n  @tracked label = this.formattedLabel;\n  @tracked availableChannels = [];\n  selectedDropdownItems = this.args.selected;\n\n  constructor() {\n    super(...arguments);\n    this.loadKnownValues.perform();\n  }\n\n  get allItems() {\n    return this.availableChannels\n      .map(channelName => ({\n        text: AVAILABLE_CHANNEL_MAPPINGS[channelName] || channelName,\n        value: channelName,\n        isSelected: this.args.selected.includes(channelName),\n      }))\n      .sort((channel1, channel2) => channel1.text.localeCompare(channel2.text));\n  }\n\n  get selectedChannels() {\n    return this.selectedDropdownItems.filter(item => item !== REPORTING_FILTER_SELECT_ALL);\n  }\n\n  get items() {\n    return this.groupList;\n  }\n\n  get groupList() {\n    return [\n      {\n        items: this.allItems,\n      },\n    ];\n  }\n\n  get disabled() {\n    return this.availableChannels && this.availableChannels.length === 0;\n  }\n\n  get formattedLabel() {\n    if (this.selectedChannels.length === 0) {\n      return 'Any';\n    }\n\n    let channels = this.selectedChannels.map(channel => {\n      return AVAILABLE_CHANNEL_MAPPINGS[channel] || channel;\n    });\n    return channels.join(', ');\n  }\n\n  @task\n  *loadKnownValues() {\n    this.availableChannels = yield get('/ember/reporting/known_values', {\n      app_id: this.appService.app.id,\n      source: 'teammate_response',\n      property: 'channel_type',\n    });\n  }\n\n  @action\n  onClose() {\n    if (!this.selectedDropdownItems.length) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_channel',\n      object: this.args.analyticsObject,\n      channels: this.selectedChannels,\n    });\n\n    this.args.setSelected(this.selectedDropdownItems);\n    this.label = this.formattedLabel;\n  }\n\n  @action\n  removeFilter() {\n    this.selectedDropdownItems = [];\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::ReportingMultiselect\\n  data-test-filter-continent\\n  @selectAllLabel=\\\"Any continent\\\"\\n  @initiallyOpened={{@initiallyOpened}}\\n  @label={{this.label}}\\n  @displayItems={{this.items}}\\n  @onSelectionChanged={{set this.selectedDropdownItems}}\\n  @onClose={{this.onClose}}\\n  @filterPlaceholder=\\\"Search continents\\\" as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"globe\\\"\\n      @name=\\\"Continent is\\\"\\n      @details={{this.label}}\\n      @onDelete={{this.removeFilter}}\\n      @isClickable={{true}} as |filterBlock|\\n    />\\n  </select.opener>\\n</Reporting::ReportingMultiselect>\\n\", {\"contents\":\"<Reporting::ReportingMultiselect\\n  data-test-filter-continent\\n  @selectAllLabel=\\\"Any continent\\\"\\n  @initiallyOpened={{@initiallyOpened}}\\n  @label={{this.label}}\\n  @displayItems={{this.items}}\\n  @onSelectionChanged={{set this.selectedDropdownItems}}\\n  @onClose={{this.onClose}}\\n  @filterPlaceholder=\\\"Search continents\\\" as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"globe\\\"\\n      @name=\\\"Continent is\\\"\\n      @details={{this.label}}\\n      @onDelete={{this.removeFilter}}\\n      @isClickable={{true}} as |filterBlock|\\n    />\\n  </select.opener>\\n</Reporting::ReportingMultiselect>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/continent-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/continent-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { AVAILABLE_CONTINENT_MAPPINGS } from 'embercom/lib/reporting/flexible/constants';\nimport { tracked } from '@glimmer/tracking';\nimport { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\n\nexport default class ContinentFilter extends Component {\n  @service intercomEventService;\n  @tracked label = this.currentLabel;\n  // store the selection here so that the UI doesn't update until the drop down is closed\n  selectedDropdownItems = this.args.selected;\n\n  get items() {\n    return this.groupList;\n  }\n\n  get selectedContinents() {\n    return this.selectedDropdownItems.filter(item => item !== REPORTING_FILTER_SELECT_ALL);\n  }\n\n  get allItems() {\n    return Object.entries(AVAILABLE_CONTINENT_MAPPINGS).map(([value, text]) => ({\n      text,\n      value,\n      icon: 'globe',\n      isSelected: this.args.selected.includes(value),\n    }));\n  }\n\n  get groupList() {\n    return [\n      {\n        heading: 'Continents',\n        items: this.allItems,\n      },\n    ];\n  }\n\n  get currentLabel() {\n    if (this.selectedContinents.length === 0) {\n      return 'Any';\n    }\n\n    let continentNames = this.selectedContinents.map(continentId => {\n      return AVAILABLE_CONTINENT_MAPPINGS[continentId];\n    });\n    return continentNames.join(', ');\n  }\n\n  @action\n  onClose() {\n    if (!this.selectedDropdownItems.length) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_continent',\n      object: this.args.analyticsObject,\n      continent: this.selectedContinents,\n    });\n\n    this.args.setSelected(this.selectedDropdownItems);\n    this.label = this.currentLabel;\n  }\n\n  @action\n  removeFilter() {\n    this.selectedDropdownItems = [];\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::ReportingMultiselect\\n  data-test-filter-continent\\n  @selectAllLabel=\\\"Any\\\"\\n  @initiallyOpened={{@initiallyOpened}}\\n  @label={{this.label}}\\n  @displayItems={{this.items}}\\n  @onSelectionChanged={{set this.selectedDropdownItems}}\\n  @onClose={{this.onClose}}\\n  @hasFilter={{false}} as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"relationship\\\"\\n      @name=\\\"Conversation rating is\\\"\\n      @details={{this.label}}\\n      @onDelete={{this.removeFilter}}\\n      @isClickable={{true}} as |filterBlock|\\n    />\\n  </select.opener>\\n</Reporting::ReportingMultiselect>\\n\", {\"contents\":\"<Reporting::ReportingMultiselect\\n  data-test-filter-continent\\n  @selectAllLabel=\\\"Any\\\"\\n  @initiallyOpened={{@initiallyOpened}}\\n  @label={{this.label}}\\n  @displayItems={{this.items}}\\n  @onSelectionChanged={{set this.selectedDropdownItems}}\\n  @onClose={{this.onClose}}\\n  @hasFilter={{false}} as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"relationship\\\"\\n      @name=\\\"Conversation rating is\\\"\\n      @details={{this.label}}\\n      @onDelete={{this.removeFilter}}\\n      @isClickable={{true}} as |filterBlock|\\n    />\\n  </select.opener>\\n</Reporting::ReportingMultiselect>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/conversation-rating-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/conversation-rating-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\nimport { CONVERSATION_RATINGS } from 'predicates/models/data/conversation-ratings';\n\nconst AVAILABLE_VALUES = Object.fromEntries([...CONVERSATION_RATINGS.map(r => [r.value, r.label])]);\n\nexport default class UserTypeFilter extends Component {\n  @service intercomEventService;\n  @tracked label = this.currentLabel;\n  // store the selection here so that the UI doesn't update until the drop down is closed\n  selectedDropdownItems = this.args.selected;\n\n  get items() {\n    return this.groupList;\n  }\n\n  get selectedItems() {\n    return this.selectedDropdownItems.filter(item => item !== REPORTING_FILTER_SELECT_ALL);\n  }\n\n  get allItems() {\n    return Object.entries(AVAILABLE_VALUES).map(([value, text]) => ({\n      text,\n      value,\n      isSelected: this.args.selected.includes(value),\n    }));\n  }\n\n  get groupList() {\n    return [\n      {\n        items: this.allItems,\n      },\n    ];\n  }\n\n  get currentLabel() {\n    if (\n      this.selectedDropdownItems?.length &&\n      this.selectedDropdownItems[0] !== REPORTING_FILTER_SELECT_ALL\n    ) {\n      return this.selectedDropdownItems.map(value => AVAILABLE_VALUES[value]).join(', ');\n    } else {\n      return 'Any';\n    }\n  }\n\n  @action\n  onClose() {\n    if (!this.selectedDropdownItems.length) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_conversation_rating',\n      object: this.args.analyticsObject,\n      continent: this.selectedContinents,\n    });\n\n    this.args.setSelected(this.selectedDropdownItems);\n    this.label = this.currentLabel;\n  }\n\n  @action\n  removeFilter() {\n    this.selectedDropdownItems = [];\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__relative\\\">\\n  <IcSelect\\n    data-test-filter-conversation-type\\n    data-test-filter-started-by\\n    @items={{this.conversationTypes}}\\n    @initiallyOpened={{@initiallyOpened}}\\n    @onSelectItem={{this.changeSelection}}\\n    @selectedValue={{this.selectedValue}}\\n    @label={{this.label}}\\n    @onClose={{this.onClose}} as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"conversation\\\"\\n        @name=\\\"Started by\\\"\\n        @details={{this.label}}\\n        @onDelete={{@removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </IcSelect>\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__relative\\\">\\n  <IcSelect\\n    data-test-filter-conversation-type\\n    data-test-filter-started-by\\n    @items={{this.conversationTypes}}\\n    @initiallyOpened={{@initiallyOpened}}\\n    @onSelectItem={{this.changeSelection}}\\n    @selectedValue={{this.selectedValue}}\\n    @label={{this.label}}\\n    @onClose={{this.onClose}} as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"conversation\\\"\\n        @name=\\\"Started by\\\"\\n        @details={{this.label}}\\n        @onDelete={{@removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </IcSelect>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/conversation-type-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/conversation-type-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { isEmpty } from '@ember/utils';\nimport {\n  INBOUND,\n  INBOUND_TEXT,\n  OUTBOUND,\n  OUTBOUND_TEXT,\n  CONVERSATION_TYPE_MAPPINGS,\n} from 'embercom/lib/reporting/flexible/constants';\n\nexport default class ConversationTypeFilter extends Component {\n  @service intercomEventService;\n  internalSelection = INBOUND;\n\n  conversationTypes = [\n    { text: INBOUND_TEXT, value: INBOUND },\n    { text: OUTBOUND_TEXT, value: OUTBOUND },\n  ];\n\n  get selectedValue() {\n    let result = OUTBOUND;\n\n    if (isEmpty(this.args.selected) || this._isInboundValues(this.args.selected)) {\n      result = INBOUND;\n    }\n\n    return result;\n  }\n\n  get label() {\n    if (this.selectedValue === INBOUND) {\n      return INBOUND_TEXT;\n    }\n    return OUTBOUND_TEXT;\n  }\n\n  @action\n  changeSelection(selectedValue) {\n    this.internalSelection = selectedValue;\n\n    if (!this.args.setSelected) {\n      return;\n    }\n    this.args.setSelected(CONVERSATION_TYPE_MAPPINGS[selectedValue]);\n  }\n\n  @action\n  onClose() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_conversation_type',\n      object: this.args.analyticsObject,\n      type: this.internalSelection,\n    });\n  }\n\n  _isInboundValues(values) {\n    return values?.length === 1 && values[0] === CONVERSATION_TYPE_MAPPINGS[INBOUND][0];\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::ReportingMultiselect\\n  data-test-filter-country\\n  @selectAllLabel=\\\"Any country\\\"\\n  @initiallyOpened={{@initiallyOpened}}\\n  @label={{this.label}}\\n  @displayItems={{this.items}}\\n  @onSelectionChanged={{set this.selectedDropdownItems}}\\n  @onClose={{this.onClose}}\\n  @hasFilter={{true}}\\n  @filterPlaceholder=\\\"Search countries\\\"  as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"globe\\\"\\n      @name=\\\"Country is\\\"\\n      @details={{this.label}}\\n      @onDelete={{this.removeFilter}}\\n      @isClickable={{true}} as |filterBlock|\\n    />\\n  </select.opener>\\n</Reporting::ReportingMultiselect>\\n{{#if this.loadKnownValues.isRunning}}\\n  <div class=\\\"absolute inset-0 bg-white opacity-50\\\">\\n    <IcLoadingIndicator @size=\\\"tiny\\\" class=\\\"u__center-item\\\" />\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"<Reporting::ReportingMultiselect\\n  data-test-filter-country\\n  @selectAllLabel=\\\"Any country\\\"\\n  @initiallyOpened={{@initiallyOpened}}\\n  @label={{this.label}}\\n  @displayItems={{this.items}}\\n  @onSelectionChanged={{set this.selectedDropdownItems}}\\n  @onClose={{this.onClose}}\\n  @hasFilter={{true}}\\n  @filterPlaceholder=\\\"Search countries\\\"  as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"globe\\\"\\n      @name=\\\"Country is\\\"\\n      @details={{this.label}}\\n      @onDelete={{this.removeFilter}}\\n      @isClickable={{true}} as |filterBlock|\\n    />\\n  </select.opener>\\n</Reporting::ReportingMultiselect>\\n{{#if this.loadKnownValues.isRunning}}\\n  <div class=\\\"absolute inset-0 bg-white opacity-50\\\">\\n    <IcLoadingIndicator @size=\\\"tiny\\\" class=\\\"u__center-item\\\" />\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/country-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/country-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { get } from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\nimport { lookupCountryName } from 'embercom/lib/countries';\n\nexport default class CountryFilter extends Component {\n  @service appService;\n  @service intercomEventService;\n  @tracked availableCountries = [];\n  @tracked label = this.currentLabel;\n  // store the selection here so that the UI doesn't update until the drop down is closed\n  selectedDropdownItems = this.args.selected;\n  // We transform the values back and forth from a list of country to a list of names of country\n  // We do this to link a label (Russia) to its multiple values (Russia, Russian Federation) in the backend\n\n  constructor() {\n    super(...arguments);\n    this.loadKnownValues.perform();\n  }\n\n  get groupList() {\n    return [\n      {\n        heading: 'Countries',\n        items: this.allItems,\n      },\n    ];\n  }\n\n  get allItems() {\n    return this.availableCountries.map(countryCode => {\n      return {\n        text: lookupCountryName(countryCode),\n        value: countryCode,\n        icon: 'globe',\n        isSelected: this.args.selected.includes(countryCode),\n      };\n    });\n  }\n\n  get selectedCountries() {\n    return this.selectedDropdownItems.filter(item => item !== REPORTING_FILTER_SELECT_ALL);\n  }\n\n  get items() {\n    return this.groupList;\n  }\n\n  get disabled() {\n    return this.availableCountries && this.availableCountries.length === 0;\n  }\n\n  removeEmptyCountry(countries) {\n    return countries.filter(row => row.trim().length > 0);\n  }\n\n  @task\n  *loadKnownValues() {\n    let countries = yield get('/ember/reporting/known_values', {\n      app_id: this.appService.app.id,\n      source: 'conversation',\n      property: 'user_location.country_code',\n    });\n    this.availableCountries = this.removeEmptyCountry(countries);\n    this.availableCountries.sort();\n  }\n\n  get currentLabel() {\n    let numSelected = this.selectedCountries.length;\n    if (numSelected === 0) {\n      return 'Any';\n    }\n\n    return this.selectedCountries.map(c => lookupCountryName(c)).join(', ');\n  }\n\n  @action\n  onClose() {\n    if (!this.selectedDropdownItems.length) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_country',\n      object: this.args.analyticsObject,\n      countries: this.selectedCountries,\n    });\n\n    this.args.setSelected(this.selectedDropdownItems);\n    this.label = this.currentLabel;\n  }\n\n  @action\n  removeFilter() {\n    this.selectedDropdownItems = [];\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Paywall @featureKey={{this.paywallFeatureKey}} as |paywall|>\\n  <IcDropdownAndOpenerPair\\n    @initiallyOpened={{@initiallyOpened}}\\n    @onClose={{this.onClose}}\\n    as |pair|>\\n    <pair.opener>\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"transfer\\\"\\n        @name={{this.name}}\\n        @details={{this.label}}\\n        @isClickable={{true}}\\n        @onDelete={{this.removeFilter}}\\n        data-test-filter-type={{@type}}\\n      />\\n    </pair.opener>\\n    <pair.dropdown as |dropdown|>\\n      <Form as |form|>\\n        <form.Item as |formItem|>\\n          <formItem.RadioGroup @selected={{this.selected}} as |group|>\\n            <div class=\\\"pl-4 pt-2 pr-4\\\">\\n              <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                @value={{true}}\\n                @label=\\\"is true\\\"\\n                @group={{group}}\\n                />\\n              <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                @value={{false}}\\n                @label=\\\"is false\\\"\\n                @group={{group}}\\n                />\\n              <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                @value=\\\"not_exists\\\"\\n                @label=\\\"is unknown\\\"\\n                @group={{group}}\\n                />\\n              <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                @value=\\\"exists\\\"\\n                @label=\\\"has any value\\\"\\n                @group={{group}}\\n                />\\n            </div>\\n            <div class=\\\"u__centered-text-block filter-block__popover__done\\\">\\n              <a class=\\\"btn__tertiary\\\" data-test-filter-block-done {{on \\\"click\\\" dropdown.hideDropdownOverlay}}>\\n                Done\\n              </a>\\n            </div>\\n          </formItem.RadioGroup>\\n        </form.Item>\\n      </Form>\\n    </pair.dropdown>\\n  </IcDropdownAndOpenerPair>\\n</Paywall>\\n\", {\"contents\":\"<Paywall @featureKey={{this.paywallFeatureKey}} as |paywall|>\\n  <IcDropdownAndOpenerPair\\n    @initiallyOpened={{@initiallyOpened}}\\n    @onClose={{this.onClose}}\\n    as |pair|>\\n    <pair.opener>\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"transfer\\\"\\n        @name={{this.name}}\\n        @details={{this.label}}\\n        @isClickable={{true}}\\n        @onDelete={{this.removeFilter}}\\n        data-test-filter-type={{@type}}\\n      />\\n    </pair.opener>\\n    <pair.dropdown as |dropdown|>\\n      <Form as |form|>\\n        <form.Item as |formItem|>\\n          <formItem.RadioGroup @selected={{this.selected}} as |group|>\\n            <div class=\\\"pl-4 pt-2 pr-4\\\">\\n              <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                @value={{true}}\\n                @label=\\\"is true\\\"\\n                @group={{group}}\\n                />\\n              <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                @value={{false}}\\n                @label=\\\"is false\\\"\\n                @group={{group}}\\n                />\\n              <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                @value=\\\"not_exists\\\"\\n                @label=\\\"is unknown\\\"\\n                @group={{group}}\\n                />\\n              <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                @value=\\\"exists\\\"\\n                @label=\\\"has any value\\\"\\n                @group={{group}}\\n                />\\n            </div>\\n            <div class=\\\"u__centered-text-block filter-block__popover__done\\\">\\n              <a class=\\\"btn__tertiary\\\" data-test-filter-block-done {{on \\\"click\\\" dropdown.hideDropdownOverlay}}>\\n                Done\\n              </a>\\n            </div>\\n          </formItem.RadioGroup>\\n        </form.Item>\\n      </Form>\\n    </pair.dropdown>\\n  </IcDropdownAndOpenerPair>\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/custom-attributes/boolean-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/custom-attributes/boolean-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { isPresent } from '@ember/utils';\n\nconst VALUE_LABEL_MAPPING = {\n  true: 'is true',\n  false: 'is false',\n  exists: 'has any value',\n  not_exists: 'is unknown',\n};\n\nconst VALUE_OPERATOR_MAPPING = {\n  true: 'category',\n  false: 'category',\n  not_exists: 'not_exists',\n  exists: 'exists',\n};\n\nexport default class BooleanFilter extends Component {\n  @service store;\n  @service intercomEventService;\n\n  // store the selection here so that the UI doesn't update until the drop down is closed\n  @tracked label = this.currentLabel;\n  @tracked selected = this.startingSelectedValue;\n\n  get startingSelectedValue() {\n    let operator = this.args.selected.operator;\n    let passedValue = this.args.selected.values?.[0];\n\n    switch (operator) {\n      case 'category':\n        return isPresent(passedValue) ? passedValue : true;\n      case 'exists':\n      case 'not_exists':\n        return operator;\n      default:\n        return true;\n    }\n  }\n\n  get customField() {\n    let id = this.args.type;\n    return this.store.peekRecord('conversation-attributes/descriptor', id);\n  }\n\n  get name() {\n    return this.customField.name;\n  }\n\n  get currentLabel() {\n    return VALUE_LABEL_MAPPING[this.selected] || '';\n  }\n\n  get operator() {\n    return VALUE_OPERATOR_MAPPING[this.selected];\n  }\n\n  get values() {\n    return this.operator === 'category' ? [this.selected] : [];\n  }\n\n  @action\n  onClose() {\n    if (!this.values.length && !this.operator) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_custom_field',\n      object: this.args.analyticsObject,\n      custom_field_type: 'boolean',\n    });\n\n    this.args.setSelected(this.values, this.operator);\n    this.label = this.currentLabel;\n  }\n\n  @action\n  removeFilter() {\n    this.selected = null;\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"mb-2 mt-2\\\" data-test-filter-radio={{@label}}>\\n  <@group.RadioButton\\n    @value={{@value}}\\n    @label={{@label}}\\n    />\\n  {{#if (eq @selected @value)}}\\n    <div class=\\\"pl-4 ml-1\\\">\\n      {{yield}}\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"mb-2 mt-2\\\" data-test-filter-radio={{@label}}>\\n  <@group.RadioButton\\n    @value={{@value}}\\n    @label={{@label}}\\n    />\\n  {{#if (eq @selected @value)}}\\n    <div class=\\\"pl-4 ml-1\\\">\\n      {{yield}}\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/custom-attributes/filter-radio-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/custom-attributes/filter-radio-button.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcMultiselect\\n  @label={{'options'}}\\n  @items={{@items}}\\n  @onSelectionChange={{@onSelectionChange}}\\n  @hasFilter=\\\"true\\\"\\n  @componentClasses=\\\"reporting__list-filter-options__opener\\\"\\n  @filterPlaceholder=\\\"Search\\\" as |select|\\n>\\n  <select.opener>\\n    <IcButton\\n      @isDropdownOpener={{true}}\\n      @isForcedActive={{false}}\\n      @isTruncated={{true}}\\n      @label={{@openerLabel}}\\n      @fit={{true}}\\n    />\\n  </select.opener>\\n</IcMultiselect>\\n\", {\"contents\":\"<IcMultiselect\\n  @label={{'options'}}\\n  @items={{@items}}\\n  @onSelectionChange={{@onSelectionChange}}\\n  @hasFilter=\\\"true\\\"\\n  @componentClasses=\\\"reporting__list-filter-options__opener\\\"\\n  @filterPlaceholder=\\\"Search\\\" as |select|\\n>\\n  <select.opener>\\n    <IcButton\\n      @isDropdownOpener={{true}}\\n      @isForcedActive={{false}}\\n      @isTruncated={{true}}\\n      @label={{@openerLabel}}\\n      @fit={{true}}\\n    />\\n  </select.opener>\\n</IcMultiselect>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/custom-attributes/list-filter-options.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/custom-attributes/list-filter-options.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Paywall @featureKey={{this.paywallFeatureKey}} as |paywall|>\\n  <IcDropdownAndOpenerPair\\n    @initiallyOpened={{@initiallyOpened}}\\n    @onClose={{this.onClose}}\\n    @minWidthOfOverlay={{215}}\\n    as |pair|>\\n    <pair.opener>\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"transfer\\\"\\n        @name={{this.name}}\\n        @details={{this.label}}\\n        @isClickable={{true}}\\n        @onDelete={{this.removeFilter}}\\n        data-test-filter-type={{@type}}\\n      />\\n    </pair.opener>\\n    <pair.dropdown\\n      @minWidthOfOpenerWidth={{false}}\\n      data-test-list-filter\\n      as |dropdown|>\\n        <Form as |form|>\\n          <form.Item as |formItem|>\\n            <formItem.RadioGroup @selected={{this.operator}} as |group|>\\n              <div class=\\\"pl-4 pt-2 pr-4\\\">\\n                <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                  @value=\\\"category\\\"\\n                  @label=\\\"is\\\"\\n                  @group={{group}}\\n                  @selected={{this.operator}}\\n                >\\n                  <Reporting::Flexible::FilterBar::CustomAttributes::ListFilterOptions\\n                    @items={{this.items}}\\n                    @onSelectionChange={{set this.values}}\\n                    @openerLabel={{this.openerLabel}}\\n                  />\\n                </Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton>\\n                <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                  @value=\\\"not_in_category\\\"\\n                  @label=\\\"is not\\\"\\n                  @group={{group}}\\n                  @selected={{this.operator}}\\n                >\\n                  <Reporting::Flexible::FilterBar::CustomAttributes::ListFilterOptions\\n                    @items={{this.items}}\\n                    @onSelectionChange={{set this.values}}\\n                    @openerLabel={{this.openerLabel}}\\n                  />\\n                </Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton>\\n                <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                  @value=\\\"not_exists\\\"\\n                  @label=\\\"is unknown\\\"\\n                  @group={{group}}\\n                />\\n                <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                  @value=\\\"exists\\\"\\n                  @label=\\\"has any value\\\"\\n                  @group={{group}}\\n                />\\n              </div>\\n              <div class=\\\"u__centered-text-block filter-block__popover__done\\\">\\n                <a class=\\\"btn__tertiary\\\" data-test-filter-block-done {{on \\\"click\\\" dropdown.hideDropdownOverlay}}>\\n                  Done\\n                </a>\\n              </div>\\n            </formItem.RadioGroup>\\n          </form.Item>\\n        </Form>\\n      </pair.dropdown>\\n    </IcDropdownAndOpenerPair>\\n</Paywall>\\n\", {\"contents\":\"<Paywall @featureKey={{this.paywallFeatureKey}} as |paywall|>\\n  <IcDropdownAndOpenerPair\\n    @initiallyOpened={{@initiallyOpened}}\\n    @onClose={{this.onClose}}\\n    @minWidthOfOverlay={{215}}\\n    as |pair|>\\n    <pair.opener>\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"transfer\\\"\\n        @name={{this.name}}\\n        @details={{this.label}}\\n        @isClickable={{true}}\\n        @onDelete={{this.removeFilter}}\\n        data-test-filter-type={{@type}}\\n      />\\n    </pair.opener>\\n    <pair.dropdown\\n      @minWidthOfOpenerWidth={{false}}\\n      data-test-list-filter\\n      as |dropdown|>\\n        <Form as |form|>\\n          <form.Item as |formItem|>\\n            <formItem.RadioGroup @selected={{this.operator}} as |group|>\\n              <div class=\\\"pl-4 pt-2 pr-4\\\">\\n                <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                  @value=\\\"category\\\"\\n                  @label=\\\"is\\\"\\n                  @group={{group}}\\n                  @selected={{this.operator}}\\n                >\\n                  <Reporting::Flexible::FilterBar::CustomAttributes::ListFilterOptions\\n                    @items={{this.items}}\\n                    @onSelectionChange={{set this.values}}\\n                    @openerLabel={{this.openerLabel}}\\n                  />\\n                </Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton>\\n                <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                  @value=\\\"not_in_category\\\"\\n                  @label=\\\"is not\\\"\\n                  @group={{group}}\\n                  @selected={{this.operator}}\\n                >\\n                  <Reporting::Flexible::FilterBar::CustomAttributes::ListFilterOptions\\n                    @items={{this.items}}\\n                    @onSelectionChange={{set this.values}}\\n                    @openerLabel={{this.openerLabel}}\\n                  />\\n                </Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton>\\n                <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                  @value=\\\"not_exists\\\"\\n                  @label=\\\"is unknown\\\"\\n                  @group={{group}}\\n                />\\n                <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                  @value=\\\"exists\\\"\\n                  @label=\\\"has any value\\\"\\n                  @group={{group}}\\n                />\\n              </div>\\n              <div class=\\\"u__centered-text-block filter-block__popover__done\\\">\\n                <a class=\\\"btn__tertiary\\\" data-test-filter-block-done {{on \\\"click\\\" dropdown.hideDropdownOverlay}}>\\n                  Done\\n                </a>\\n              </div>\\n            </formItem.RadioGroup>\\n          </form.Item>\\n        </Form>\\n      </pair.dropdown>\\n    </IcDropdownAndOpenerPair>\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/custom-attributes/list-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/custom-attributes/list-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\n\nconst OPERATOR_LABEL_MAPPINGS = {\n  category: 'is',\n  not_in_category: 'is not',\n  exists: 'has any value',\n  not_exists: 'is unknown',\n};\n\nexport default class ListFilter extends Component {\n  @service appService;\n  @service store;\n  @service intercomEventService;\n  @tracked label = this.currentLabel;\n  // store the selection here so that the UI doesn't update until the drop down is closed\n  @tracked values = this.startingValues;\n  @tracked operator = this.startingOperator;\n\n  get startingValues() {\n    let values = this.args.selected.values || [this.listOptions[0].id];\n    return values[0] === REPORTING_FILTER_SELECT_ALL ? [] : values;\n  }\n\n  get startingOperator() {\n    return this.args.selected.operator || 'category';\n  }\n\n  get customField() {\n    let id = this.args.type;\n    return this.store.peekRecord('conversation-attributes/descriptor', id);\n  }\n\n  get name() {\n    return this.customField.name;\n  }\n\n  get listOptions() {\n    // get the options based on the conversation attribute descriptor id\n    return this.customField.listOptions\n      .map(option => ({\n        id: option.id,\n        label: option.label,\n        archived: option.archived,\n      }))\n      .sort((a, b) => a.archived - b.archived);\n  }\n\n  get items() {\n    return [\n      {\n        items: this.allItems,\n      },\n    ];\n  }\n\n  get allItems() {\n    return this.listOptions.map(option => ({\n      text: option.label,\n      value: option.id,\n      isSelected: this.values.includes(option.id),\n      count: option.archived ? '(Archived)' : '',\n    }));\n  }\n\n  get currentLabel() {\n    switch (this.operator) {\n      case 'category':\n      case 'not_in_category': {\n        let label = this.optionNames || 'Any';\n        return `${OPERATOR_LABEL_MAPPINGS[this.operator]} ${label}`;\n      }\n      case 'exists':\n      case 'not_exists':\n        return OPERATOR_LABEL_MAPPINGS[this.operator];\n    }\n  }\n\n  get optionNames() {\n    return this.values\n      .map(optionId => {\n        return this.listOptions.find(option => option.id === optionId).label;\n      })\n      .join(', ');\n  }\n\n  get openerLabel() {\n    return this.optionNames || 'Add';\n  }\n\n  get valuesForFilter() {\n    let valuesOrPlaceholder = this.values.length ? this.values : [REPORTING_FILTER_SELECT_ALL];\n    return ['category', 'not_in_category'].includes(this.operator) ? valuesOrPlaceholder : [];\n  }\n\n  @action\n  onClose() {\n    if (!this.valuesForFilter.length && !this.operator) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_custom_field',\n      object: this.args.analyticsObject,\n      custom_field_type: 'list',\n    });\n\n    this.args.setSelected(this.valuesForFilter, this.operator);\n    this.label = this.currentLabel;\n  }\n\n  @action\n  removeFilter() {\n    this.values = [];\n    this.operator = null;\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::DateRangeFilter\\n  @scrollParentSelector=\\\".js__main-container\\\"\\n  @range={{this.range}}\\n  @timezone={{this.range.timezone}}\\n  @updateRange={{@setSelected}}\\n  @initiallyOpened={{@initiallyOpened}}\\n  @maximumSelectionWindowInYears={{2}} as |filter|\\n>\\n  <IcFilterBlock\\n    data-test-date-dropdown-opener\\n    @icon=\\\"calendar\\\"\\n    @name=\\\" \\\"\\n    @isOneLine={{true}}\\n    @isClickable={{true}}\\n  >\\n    {{#if this.range.isSingleDay}}\\n      {{moment-format this.range.startMoment \\\"MMM D, YYYY\\\" timeZone=this.range.timezone}}\\n    {{else}}\\n      {{moment-format this.range.startMoment \\\"MMM D, YYYY\\\" timeZone=this.range.timezone}}\\n      -\\n      {{moment-format this.range.endMoment \\\"MMM D, YYYY\\\" timeZone=this.range.timezone}}\\n    {{/if}}\\n  </IcFilterBlock>\\n</Reporting::DateRangeFilter>\\n\", {\"contents\":\"<Reporting::DateRangeFilter\\n  @scrollParentSelector=\\\".js__main-container\\\"\\n  @range={{this.range}}\\n  @timezone={{this.range.timezone}}\\n  @updateRange={{@setSelected}}\\n  @initiallyOpened={{@initiallyOpened}}\\n  @maximumSelectionWindowInYears={{2}} as |filter|\\n>\\n  <IcFilterBlock\\n    data-test-date-dropdown-opener\\n    @icon=\\\"calendar\\\"\\n    @name=\\\" \\\"\\n    @isOneLine={{true}}\\n    @isClickable={{true}}\\n  >\\n    {{#if this.range.isSingleDay}}\\n      {{moment-format this.range.startMoment \\\"MMM D, YYYY\\\" timeZone=this.range.timezone}}\\n    {{else}}\\n      {{moment-format this.range.startMoment \\\"MMM D, YYYY\\\" timeZone=this.range.timezone}}\\n      -\\n      {{moment-format this.range.endMoment \\\"MMM D, YYYY\\\" timeZone=this.range.timezone}}\\n    {{/if}}\\n  </IcFilterBlock>\\n</Reporting::DateRangeFilter>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/date-filter-block.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/date-filter-block.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport Range from 'embercom/models/reporting/range';\n\nexport default class DateFilterBlock extends Component {\n  @service appService;\n  range = this.setDateRange();\n\n  setDateRange() {\n    return (\n      this.args.selected || Range.createFromPreset('past_4_weeks', this.appService.app.timezone)\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-center flex-wrap gap-3 reporting__filters-container\\\">\\n  {{#each this.enabledFilters as |filter index|}}\\n    <span data-test-filter-bar-item={{filter.label}}>\\n      {{component\\n        filter.component\\n        type=filter.type\\n        label=filter.params.label\\n        selected=(get this.allFilters filter.type)\\n        setSelected=(fn this.onFiltersChanged filter.type)\\n        analyticsObject=@analyticsObject\\n        initiallyOpened=filter.isOpen\\n        removeFilter=(fn this.removeFilter index)\\n      }}\\n    </span>\\n  {{/each}}\\n  <div class=\\\"flex flex-row flex-wrap gap-4 pl-1\\\">\\n    <IcDropdownOpener\\n      @groupList={{array (hash isMain=true isFilterable=true items=this.supportedFilters)}}\\n      @onSelectItem={{this.addFilter}}\\n      @hasFilter={{true}}\\n      @filterPlaceholder=\\\"Search filters...\\\"\\n      @isDisabled={{@isDisabled}}\\n    >\\n      {{#if (gt this.supportedFilters.length 0)}}\\n        <div class=\\\"pt-2 pb-2\\\">\\n          <a class=\\\"btn__tertiary {{if @isDisabled 'o__disabled'}}\\\" data-test-add-filter-button>\\n            {{ic-interface-icon 'new' set='tiny'}}\\n            Add filter\\n          </a>\\n        </div>\\n      {{/if}}\\n    </IcDropdownOpener>\\n    {{#if (gt this.enabledFilters.length 0)}}\\n      <div class=\\\"pt-2 pb-2\\\">\\n        <a class=\\\"btn__tertiary\\\" onclick={{this.clearFilters}} data-test-clear-button>\\n          Clear\\n        </a>\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row items-center flex-wrap gap-3 reporting__filters-container\\\">\\n  {{#each this.enabledFilters as |filter index|}}\\n    <span data-test-filter-bar-item={{filter.label}}>\\n      {{component\\n        filter.component\\n        type=filter.type\\n        label=filter.params.label\\n        selected=(get this.allFilters filter.type)\\n        setSelected=(fn this.onFiltersChanged filter.type)\\n        analyticsObject=@analyticsObject\\n        initiallyOpened=filter.isOpen\\n        removeFilter=(fn this.removeFilter index)\\n      }}\\n    </span>\\n  {{/each}}\\n  <div class=\\\"flex flex-row flex-wrap gap-4 pl-1\\\">\\n    <IcDropdownOpener\\n      @groupList={{array (hash isMain=true isFilterable=true items=this.supportedFilters)}}\\n      @onSelectItem={{this.addFilter}}\\n      @hasFilter={{true}}\\n      @filterPlaceholder=\\\"Search filters...\\\"\\n      @isDisabled={{@isDisabled}}\\n    >\\n      {{#if (gt this.supportedFilters.length 0)}}\\n        <div class=\\\"pt-2 pb-2\\\">\\n          <a class=\\\"btn__tertiary {{if @isDisabled 'o__disabled'}}\\\" data-test-add-filter-button>\\n            {{ic-interface-icon 'new' set='tiny'}}\\n            Add filter\\n          </a>\\n        </div>\\n      {{/if}}\\n    </IcDropdownOpener>\\n    {{#if (gt this.enabledFilters.length 0)}}\\n      <div class=\\\"pt-2 pb-2\\\">\\n        <a class=\\\"btn__tertiary\\\" onclick={{this.clearFilters}} data-test-clear-button>\\n          Clear\\n        </a>\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/filter-bar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/filter-bar.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { AVAILABLE_FILTER_CONFIGS } from 'embercom/lib/reporting/custom/filter-helpers';\n\nconst FILTERABLE_CUSTOM_ATTRIBUTE_TYPES = ['list', 'boolean'];\n\nexport default class FilterBar extends Component {\n  @service appService;\n  @tracked filterTypeAdded = null;\n\n  get addedFilterTypes() {\n    let filters = this.initialFiltersAdded;\n    if (this.filterTypeAdded) {\n      filters.push(this.filterTypeAdded);\n    }\n    return filters;\n  }\n\n  get customAttributeFiltersConfig() {\n    let descriptors = this.args.conversationAttributeDescriptors || [];\n\n    let filters = {};\n    if (!this.appService.app.canFilterByConversationAttributes) {\n      return filters;\n    }\n\n    descriptors.forEach(descriptor => {\n      filters[descriptor.id] = {\n        selectorLabel: descriptor.name,\n        selectorValue: descriptor.id,\n        component: `reporting/flexible/filter-bar/custom-attributes/${descriptor.dataType}-filter`,\n        isArchived: descriptor.archived,\n        icon: 'transfer',\n      };\n    });\n\n    return filters;\n  }\n\n  get supportedFiltersConfig() {\n    let filters = { ...AVAILABLE_FILTER_CONFIGS, ...this.customAttributeFiltersConfig };\n\n    if (!this.appService.app.canAssignToTeamAndTeammate) {\n      delete filters.teammatesAssigned;\n      delete filters.teamsAssigned;\n    }\n\n    return filters;\n  }\n\n  // filters available for selection when user clicks on \"+ Add filter\" button\n  get supportedFilters() {\n    //ignore any non-supported filter type\n    let filterTypes = this.filterTypesNotAdded.filter(filterType =>\n      Object.keys(this.supportedFiltersConfig).includes(filterType),\n    );\n\n    let configuredFilters = filterTypes\n      .map(filterType => this.supportedFiltersConfig[filterType])\n      .sort((configA, configB) => {\n        if (configA.isArchived && !configB.isArchived) {\n          return 1;\n        } else if (!configA.isArchived && configB.isArchived) {\n          return -1;\n        } else {\n          return configA.selectorLabel.localeCompare(configB.selectorLabel);\n        }\n      });\n\n    configuredFilters = this.ensureDateRangeIsFirst(configuredFilters);\n\n    let filters = configuredFilters.map(config => ({\n      text: config.selectorLabel,\n      value: config.selectorValue,\n      icon: config.icon,\n      count: config.isArchived ? '(Archived)' : '',\n    }));\n\n    return filters;\n  }\n\n  ensureDateRangeIsFirst(filters) {\n    return filters.sort((filterA, filterB) => {\n      if (filterA.selectorValue === 'dateRange') {\n        return -1;\n      } else if (filterB.selectorValue === 'dateRange') {\n        return 1;\n      } else {\n        return 0;\n      }\n    });\n  }\n\n  // filters added to the page\n  get enabledFilters() {\n    let filters = [];\n\n    this.addedFilterTypes.forEach(filterType => {\n      let filterConfig = this.supportedFiltersConfig[filterType];\n      filters.pushObject({\n        component: filterConfig.component,\n        type: filterType,\n        isOpen: filterType === this.filterTypeAdded,\n        label: filterConfig.selectorValue,\n      });\n    });\n\n    return filters;\n  }\n\n  get customAttributeFilters() {\n    return (\n      this.args.conversationAttributeDescriptors?.reduce((filters, descriptor) => {\n        if (FILTERABLE_CUSTOM_ATTRIBUTE_TYPES.includes(descriptor.dataType)) {\n          filters[descriptor.id] = this.args.conversationCustomAttributes[descriptor.id] || {};\n        }\n        return filters;\n      }, {}) || []\n    );\n  }\n\n  // all filters including custom attribute filters\n  get allFilters() {\n    return Object.assign({}, this.args.barFilters, this.customAttributeFilters);\n  }\n\n  get filterTypesNotAdded() {\n    return Object.keys(this.allFilters).filter(\n      filterType => !this.initialFiltersAdded.includes(filterType),\n    );\n  }\n\n  get initialFiltersAdded() {\n    return Object.entries(this.allFilters)\n      .filter(([_, filterValues]) => {\n        if (Array.isArray(filterValues)) {\n          return Object.keys(filterValues).length;\n        } else {\n          return filterValues ? 1 : 0;\n        }\n      })\n      .map(([filterType, _]) => filterType);\n  }\n\n  @action\n  addFilter(filterType) {\n    this.filterTypeAdded = filterType;\n  }\n\n  @action\n  clearFilters() {\n    this.filterTypeAdded = null;\n    this.args.onFiltersCleared();\n  }\n\n  @action\n  removeFilter(index) {\n    let filterTypeToRemove = this.initialFiltersAdded[index];\n    this.filterTypeAdded = null;\n    this.args.onFiltersChanged(filterTypeToRemove, [], null);\n  }\n\n  @action\n  onFiltersChanged(filterType, filterValues, operator) {\n    this.filterTypeAdded = null;\n    this.args.onFiltersChanged(filterType, filterValues, operator);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcSelect\\n  data-test-filter-sla\\n  @initiallyOpened={{@initiallyOpened}}\\n  @label={{this.currentLabel}}\\n  @items={{this.items}}\\n  @onSelectItem={{set this.selectedSlaId}}\\n  @selectedValue={{this.selectedSla}}\\n  @onClose={{this.onClose}}\\n  @hasFilter=\\\"true\\\"\\n  @filterPlaceholder=\\\"Search SLAs\\\" as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"sla\\\"\\n      @name=\\\"SLA is\\\"\\n      @details={{this.currentLabel}}\\n      @onDelete={{this.removeFilter}}\\n      @isClickable={{true}}\\n    />\\n  </select.opener>\\n</IcSelect>\\n{{#if this.loadKnownValues.isRunning}}\\n  <div class=\\\"absolute inset-0 bg-white opacity-50\\\">\\n    <IcLoadingIndicator @size=\\\"tiny\\\" class=\\\"u__center-item\\\" />\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"<IcSelect\\n  data-test-filter-sla\\n  @initiallyOpened={{@initiallyOpened}}\\n  @label={{this.currentLabel}}\\n  @items={{this.items}}\\n  @onSelectItem={{set this.selectedSlaId}}\\n  @selectedValue={{this.selectedSla}}\\n  @onClose={{this.onClose}}\\n  @hasFilter=\\\"true\\\"\\n  @filterPlaceholder=\\\"Search SLAs\\\" as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"sla\\\"\\n      @name=\\\"SLA is\\\"\\n      @details={{this.currentLabel}}\\n      @onDelete={{this.removeFilter}}\\n      @isClickable={{true}}\\n    />\\n  </select.opener>\\n</IcSelect>\\n{{#if this.loadKnownValues.isRunning}}\\n  <div class=\\\"absolute inset-0 bg-white opacity-50\\\">\\n    <IcLoadingIndicator @size=\\\"tiny\\\" class=\\\"u__center-item\\\" />\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/sla-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/sla-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\nimport { action } from '@ember/object';\n\nexport default class SlaFilter extends Component {\n  @service appService;\n  @service intercomEventService;\n  @service store;\n  @tracked slas = [];\n  @tracked selectedSlaId = this.args.selected[0];\n\n  constructor() {\n    super(...arguments);\n    this.loadKnownValues.perform();\n  }\n\n  @task\n  *loadKnownValues() {\n    this.slas = yield this.store.findAll('inbox/conversation-sla');\n    // This is necessary to ensure the default item is selected correctly\n    this.args.setSelected(this.selectedSla ? [this.selectedSla] : []);\n  }\n\n  get selectedSla() {\n    let selectedExistingSlaId = this._findSla(this.args.selected[0])?.id;\n    return selectedExistingSlaId || this.slas.firstObject?.id;\n  }\n\n  _findSla(id) {\n    return this.slas.find(sla => sla.id === this.args.selected[0]);\n  }\n\n  get items() {\n    return this.slas.map(sla => ({\n      text: sla.name,\n      value: sla.id,\n      isSelected: this.args.selected.includes(sla.id),\n    }));\n  }\n\n  get currentLabel() {\n    return this._findSla(this.selectedSla)?.name || '';\n  }\n\n  @action\n  onClose() {\n    if (!this.selectedSlaId) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_sla',\n      object: this.args.analyticsObject,\n    });\n\n    this.args.setSelected(this.selectedSlaId ? [this.selectedSlaId] : []);\n  }\n\n  @action\n  removeFilter() {\n    this.selectedSlaId = null;\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Paywall @featureKey={{this.paywallFeatureKey}} as |paywall|>\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-tag\\n    {{did-insert (set this.paywall paywall)}}\\n    @selectAllLabel=\\\"Any tag\\\"\\n    @initiallyOpened={{@initiallyOpened}}\\n    @label={{this.label}}\\n    @displayItems={{this.items}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @onClose={{this.onClose}}\\n    @hasFilter=\\\"true\\\"\\n    @filterPlaceholder=\\\"Search tags\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"tag\\\"\\n        @name=\\\"Tag is\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n</Paywall>\\n\", {\"contents\":\"<Paywall @featureKey={{this.paywallFeatureKey}} as |paywall|>\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-tag\\n    {{did-insert (set this.paywall paywall)}}\\n    @selectAllLabel=\\\"Any tag\\\"\\n    @initiallyOpened={{@initiallyOpened}}\\n    @label={{this.label}}\\n    @displayItems={{this.items}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @onClose={{this.onClose}}\\n    @hasFilter=\\\"true\\\"\\n    @filterPlaceholder=\\\"Search tags\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"tag\\\"\\n        @name=\\\"Tag is\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/tag-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/tag-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\n\nexport default class TagFilter extends Component {\n  @service appService;\n  @service intercomEventService;\n  @tracked tags = this.appService.app.tags;\n  @tracked label = this.currentLabel;\n\n  // store the selection here so that the UI doesn't update until the drop down is closed\n  selectedDropdownItems = this.args.selected;\n\n  get items() {\n    return [\n      {\n        heading: 'Tags',\n        items: this.allItems,\n      },\n    ];\n  }\n\n  get selectedTags() {\n    return this.selectedDropdownItems.filter(item => item !== REPORTING_FILTER_SELECT_ALL);\n  }\n\n  get allItems() {\n    return this.tags.map(tag => ({\n      text: tag.name,\n      value: tag.id,\n      isSelected: this.args.selected.includes(tag.id),\n    }));\n  }\n\n  get currentLabel() {\n    if (this.selectedTags.length === 0) {\n      return 'Any';\n    }\n\n    let tagNames = this.selectedTags.map(tagId => {\n      return this.tags.find(tag => tag.id === tagId).name;\n    });\n    return tagNames.join(', ');\n  }\n\n  @action\n  onClose() {\n    if (!this.selectedDropdownItems.length) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_tag',\n      object: this.args.analyticsObject,\n    });\n\n    this.args.setSelected(this.selectedDropdownItems);\n    this.label = this.currentLabel;\n  }\n\n  @action\n  removeFilter() {\n    this.selectedDropdownItems = [];\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__relative\\\">\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-team-assigned\\n    @label={{this.label}}\\n    @selectAllLabel=\\\"Any team assigned\\\"\\n    @initiallyOpened={{@initiallyOpened}}\\n    @displayItems={{this.items}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @hasFilter=\\\"true\\\"\\n    @onClose={{this.onClose}}\\n    @filterPlaceholder=\\\"Search teams\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"multiple-people\\\"\\n        @name=\\\"Team assigned is\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__relative\\\">\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-team-assigned\\n    @label={{this.label}}\\n    @selectAllLabel=\\\"Any team assigned\\\"\\n    @initiallyOpened={{@initiallyOpened}}\\n    @displayItems={{this.items}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @hasFilter=\\\"true\\\"\\n    @onClose={{this.onClose}}\\n    @filterPlaceholder=\\\"Search teams\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"multiple-people\\\"\\n        @name=\\\"Team assigned is\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/team-assigned-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/team-assigned-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\n\nconst UNASSIGNED_TEAM_TEXT = 'Unassigned team';\nconst UNASSIGNED_TEAM_ID = '0';\n\nexport default class TeamAssignedFilter extends Component {\n  @service appService;\n  @service intercomEventService;\n  @tracked availableTeams = this.teamsWithUnassigned;\n  @tracked label = this.currentLabel;\n  selectedDropdownItems = this.args.selected;\n\n  get items() {\n    return [\n      {\n        heading: 'Teams',\n        items: this.allItems,\n      },\n    ];\n  }\n\n  get teamsWithUnassigned() {\n    //Unassigned team uses the same icon and value as unassigned admin\n    return [this.appService.app.unassignedAdmin].concat(this.appService.app.teams);\n  }\n\n  teamItemLabel(teammate) {\n    if (teammate.id === UNASSIGNED_TEAM_ID) {\n      return UNASSIGNED_TEAM_TEXT;\n    } else {\n      return teammate.display_as_assignee;\n    }\n  }\n\n  get allItems() {\n    return this.availableTeams.map(team => ({\n      model: team,\n      text: this.teamItemLabel(team),\n      value: team.id.toString(),\n      component: 'reporting/flexible/filter-bar/teammate-item',\n      isSelected: this.args.selected.includes(team.id.toString()),\n    }));\n  }\n\n  get selectedTeamIds() {\n    return this.selectedDropdownItems.filter(item => item !== REPORTING_FILTER_SELECT_ALL);\n  }\n\n  get currentLabel() {\n    if (this.selectedTeamIds.length === 0) {\n      return 'Any';\n    }\n\n    let teamNames = this.selectedTeamIds.map(teammateId => {\n      return this.availableTeams.find(teammate => teammate.id.toString() === teammateId)\n        .display_as_assignee;\n    });\n    return teamNames.join(', ');\n  }\n\n  @action\n  onClose() {\n    if (!this.selectedDropdownItems.length) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_assigned_team',\n      object: this.args.analyticsObject,\n      team_count: this.selectedTeamIds.length,\n    });\n\n    this.args.setSelected(this.selectedDropdownItems);\n    this.label = this.currentLabel;\n  }\n\n  @action\n  removeFilter() {\n    this.selectedDropdownItems = [];\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__relative\\\">\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-team-participated\\n    @label={{this.label}}\\n    @initiallyOpened={{@initiallyOpened}}\\n    @selectAllLabel=\\\"Any team participated\\\"\\n    @displayItems={{this.items}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @hasFilter=\\\"true\\\"\\n    @onClose={{this.onClose}}\\n    @filterPlaceholder=\\\"Search teams\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"multiple-people\\\"\\n        @name=\\\"Team participated is\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__relative\\\">\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-team-participated\\n    @label={{this.label}}\\n    @initiallyOpened={{@initiallyOpened}}\\n    @selectAllLabel=\\\"Any team participated\\\"\\n    @displayItems={{this.items}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @hasFilter=\\\"true\\\"\\n    @onClose={{this.onClose}}\\n    @filterPlaceholder=\\\"Search teams\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"multiple-people\\\"\\n        @name=\\\"Team participated is\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/team-participated-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/team-participated-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\n\nexport default class TeamParticipatedFilter extends Component {\n  @service appService;\n  @service intercomEventService;\n  @tracked availableTeams = this.appService.app.teams;\n  @tracked label = this.currentLabel;\n  selectedDropdownItems = this.args.selected;\n\n  get items() {\n    return [\n      {\n        heading: 'Teams',\n        items: this.allItems,\n      },\n    ];\n  }\n\n  get allItems() {\n    return this.availableTeams.map(team => ({\n      model: team,\n      text: team.display_as_assignee,\n      value: team.id.toString(),\n      component: 'reporting/flexible/filter-bar/teammate-item',\n      isSelected: this.args.selected.includes(team.id.toString()),\n    }));\n  }\n\n  get selectedTeamIds() {\n    return this.selectedDropdownItems.filter(item => item !== REPORTING_FILTER_SELECT_ALL);\n  }\n\n  get currentLabel() {\n    if (this.selectedTeamIds.length === 0) {\n      return 'Any';\n    }\n\n    let teamNames = this.selectedTeamIds.map(teamId => {\n      return this.availableTeams.find(team => team.id.toString() === teamId).display_as_assignee;\n    });\n    return teamNames.join(', ');\n  }\n\n  @action\n  onClose() {\n    if (!this.selectedDropdownItems.length) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_participated_team',\n      object: this.args.analyticsObject,\n      team_count: this.selectedTeamIds.length,\n    });\n\n    this.args.setSelected(this.selectedDropdownItems);\n    this.label = this.currentLabel;\n  }\n\n  @action\n  removeFilter() {\n    this.selectedDropdownItems = [];\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__relative\\\">\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-teammate-assigned\\n    @label={{this.label}}\\n    @selectAllLabel=\\\"Any teammate assigned\\\"\\n    @initiallyOpened={{@initiallyOpened}}\\n    @displayItems={{this.items}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @hasFilter=\\\"true\\\"\\n    @onClose={{this.onClose}}\\n    @filterPlaceholder=\\\"Search teammates\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"person\\\"\\n        @name=\\\"Teammate assigned is\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__relative\\\">\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-teammate-assigned\\n    @label={{this.label}}\\n    @selectAllLabel=\\\"Any teammate assigned\\\"\\n    @initiallyOpened={{@initiallyOpened}}\\n    @displayItems={{this.items}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @hasFilter=\\\"true\\\"\\n    @onClose={{this.onClose}}\\n    @filterPlaceholder=\\\"Search teammates\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"person\\\"\\n        @name=\\\"Teammate assigned is\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/teammate-assigned-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/teammate-assigned-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\n\nconst UNASSIGNED_TEAMMATE_TEXT = 'Unassigned teammate';\nconst UNASSIGNED_TEAMMATE_ID = '0';\n\nexport default class TeammateAssignedFilter extends Component {\n  @service appService;\n  @service intercomEventService;\n  @tracked availableTeammates = this.teammatesWithUnassigned;\n  @tracked label = this.currentLabel;\n  selectedDropdownItems = this.args.selected;\n\n  get items() {\n    return [\n      {\n        heading: 'Teammates',\n        items: this.allItems,\n      },\n    ];\n  }\n\n  get teammatesWithUnassigned() {\n    return [this.appService.app.unassignedAdmin].concat(this.appService.app.humanAdmins);\n  }\n\n  teammateItemLabel(teammate) {\n    if (teammate.id === UNASSIGNED_TEAMMATE_ID) {\n      return UNASSIGNED_TEAMMATE_TEXT;\n    } else {\n      return teammate.display_as_assignee;\n    }\n  }\n\n  get allItems() {\n    return this.availableTeammates.map(teammate => ({\n      model: teammate,\n      text: this.teammateItemLabel(teammate),\n      value: teammate.id.toString(),\n      component: 'reporting/flexible/filter-bar/teammate-item',\n      isSelected: this.args.selected.includes(teammate.id.toString()),\n    }));\n  }\n\n  get selectedTeammateIds() {\n    return this.selectedDropdownItems.filter(item => item !== REPORTING_FILTER_SELECT_ALL);\n  }\n\n  get currentLabel() {\n    if (this.selectedTeammateIds.length === 0) {\n      return 'Any';\n    }\n\n    let teammateNames = this.selectedTeammateIds.map(teammateId => {\n      return this.availableTeammates.find(teammate => teammate.id.toString() === teammateId)\n        .display_as_assignee;\n    });\n    return teammateNames.join(', ');\n  }\n\n  @action\n  onClose() {\n    if (!this.selectedDropdownItems.length) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_assigned_teammate',\n      object: this.args.analyticsObject,\n      teammate_count: this.selectedTeammateIds.length,\n    });\n\n    this.args.setSelected(this.selectedDropdownItems);\n    this.label = this.currentLabel;\n  }\n\n  @action\n  removeFilter() {\n    this.selectedDropdownItems = [];\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span class=\\\"avatar__container o__s\\\">\\n    {{ic-avatar model=@item.model size=\\\"s\\\" contained=true}}\\n  <span class=\\\"u__truncated-inline-block assignee-selector__assignee-details\\\">\\n    <div class=\\\"assignee-selector__assignee-name u__left\\\">\\n      {{@item.text}}\\n    </div>\\n  </span>\\n</span>\\n\", {\"contents\":\"<span class=\\\"avatar__container o__s\\\">\\n    {{ic-avatar model=@item.model size=\\\"s\\\" contained=true}}\\n  <span class=\\\"u__truncated-inline-block assignee-selector__assignee-details\\\">\\n    <div class=\\\"assignee-selector__assignee-name u__left\\\">\\n      {{@item.text}}\\n    </div>\\n  </span>\\n</span>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/teammate-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/teammate-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__relative\\\">\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-teammate-participated\\n    @label={{this.label}}\\n    @initiallyOpened={{@initiallyOpened}}\\n    @selectAllLabel=\\\"Any teammate participated\\\"\\n    @displayItems={{this.items}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @hasFilter=\\\"true\\\"\\n    @onClose={{this.onClose}}\\n    @filterPlaceholder=\\\"Search teammates\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"person\\\"\\n        @name=\\\"Teammate participated is\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__relative\\\">\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-teammate-participated\\n    @label={{this.label}}\\n    @initiallyOpened={{@initiallyOpened}}\\n    @selectAllLabel=\\\"Any teammate participated\\\"\\n    @displayItems={{this.items}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @hasFilter=\\\"true\\\"\\n    @onClose={{this.onClose}}\\n    @filterPlaceholder=\\\"Search teammates\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"person\\\"\\n        @name=\\\"Teammate participated is\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/teammate-participated-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/teammate-participated-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\n\nexport default class TeammateParticipatedFilter extends Component {\n  @service appService;\n  @service intercomEventService;\n  @tracked availableTeammates = this.appService.app.humanAdmins;\n  @tracked label = this.currentLabel;\n  selectedDropdownItems = this.args.selected;\n\n  get items() {\n    return [\n      {\n        heading: 'Teammates',\n        items: this.allItems,\n      },\n    ];\n  }\n\n  get allItems() {\n    return this.availableTeammates.map(teammate => ({\n      model: teammate,\n      text: teammate.display_as_assignee,\n      value: teammate.id.toString(),\n      component: 'reporting/flexible/filter-bar/teammate-item',\n      isSelected: this.args.selected.includes(teammate.id.toString()),\n    }));\n  }\n\n  get selectedTeammateIds() {\n    return this.selectedDropdownItems.filter(item => item !== REPORTING_FILTER_SELECT_ALL);\n  }\n\n  get currentLabel() {\n    if (this.selectedTeammateIds.length === 0) {\n      return 'Any';\n    }\n\n    let teammateNames = this.selectedTeammateIds.map(teammateId => {\n      return this.availableTeammates.find(teammate => teammate.id.toString() === teammateId)\n        .display_as_assignee;\n    });\n    return teammateNames.join(', ');\n  }\n\n  @action\n  onClose() {\n    if (!this.selectedDropdownItems.length) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_participated_teammate',\n      object: this.args.analyticsObject,\n      teammate_count: this.selectedTeammateIds.length,\n    });\n\n    this.args.setSelected(this.selectedDropdownItems);\n    this.label = this.currentLabel;\n  }\n\n  @action\n  removeFilter() {\n    this.selectedDropdownItems = [];\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::ReportingMultiselect\\n  data-test-filter-continent\\n  @selectAllLabel=\\\"Any\\\"\\n  @initiallyOpened={{@initiallyOpened}}\\n  @label={{this.label}}\\n  @displayItems={{this.items}}\\n  @onSelectionChanged={{set this.selectedDropdownItems}}\\n  @onClose={{this.onClose}}\\n  @hasFilter={{false}} as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"person\\\"\\n      @name=\\\"User type is\\\"\\n      @details={{this.label}}\\n      @onDelete={{this.removeFilter}}\\n      @isClickable={{true}} as |filterBlock|\\n    />\\n  </select.opener>\\n</Reporting::ReportingMultiselect>\\n\", {\"contents\":\"<Reporting::ReportingMultiselect\\n  data-test-filter-continent\\n  @selectAllLabel=\\\"Any\\\"\\n  @initiallyOpened={{@initiallyOpened}}\\n  @label={{this.label}}\\n  @displayItems={{this.items}}\\n  @onSelectionChanged={{set this.selectedDropdownItems}}\\n  @onClose={{this.onClose}}\\n  @hasFilter={{false}} as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"person\\\"\\n      @name=\\\"User type is\\\"\\n      @details={{this.label}}\\n      @onDelete={{this.removeFilter}}\\n      @isClickable={{true}} as |filterBlock|\\n    />\\n  </select.opener>\\n</Reporting::ReportingMultiselect>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/user-type-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/filter-bar/user-type-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\n\nconst AVAILABLE_VALUES = {\n  user_role: 'User',\n  contact_role: 'Lead',\n};\n\nexport default class UserTypeFilter extends Component {\n  @service intercomEventService;\n  @tracked label = this.currentLabel;\n  // store the selection here so that the UI doesn't update until the drop down is closed\n  selectedDropdownItems = this.args.selected;\n\n  get items() {\n    return this.groupList;\n  }\n\n  get selectedItems() {\n    return this.selectedDropdownItems.filter(item => item !== REPORTING_FILTER_SELECT_ALL);\n  }\n\n  get allItems() {\n    return Object.entries(AVAILABLE_VALUES).map(([value, text]) => ({\n      text,\n      value,\n      isSelected: this.args.selected.includes(value),\n    }));\n  }\n\n  get groupList() {\n    return [\n      {\n        items: this.allItems,\n      },\n    ];\n  }\n\n  get currentLabel() {\n    if (this.selectedDropdownItems?.length && this.selectedDropdownItems[0] !== 'any') {\n      return this.selectedDropdownItems.map(value => AVAILABLE_VALUES[value]).join(', ');\n    } else {\n      return 'Any';\n    }\n  }\n\n  @action\n  onClose() {\n    if (!this.selectedDropdownItems.length) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_user_role',\n      object: this.args.analyticsObject,\n      continent: this.selectedContinents,\n    });\n\n    this.args.setSelected(this.selectedDropdownItems);\n    this.label = this.currentLabel;\n  }\n\n  @action\n  removeFilter() {\n    this.selectedDropdownItems = [];\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-center flex-wrap gap-4\\\">\\n  <Reporting::Custom::ChartBuilder::FilterBar::FilterBar\\n    @barFilters={{this.transformedFilters}}\\n    @conversationCustomAttributes={{this.transformedConversationAttributeFilters}}\\n    @conversationAttributeDescriptors={{@conversationAttributeDescriptors}}\\n    @onFiltersChanged={{this.onFiltersChanged}}\\n    @onFiltersCleared={{@onFiltersCleared}}\\n    @analyticsObject=\\\"custom\\\"\\n  />\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row items-center flex-wrap gap-4\\\">\\n  <Reporting::Custom::ChartBuilder::FilterBar::FilterBar\\n    @barFilters={{this.transformedFilters}}\\n    @conversationCustomAttributes={{this.transformedConversationAttributeFilters}}\\n    @conversationAttributeDescriptors={{@conversationAttributeDescriptors}}\\n    @onFiltersChanged={{this.onFiltersChanged}}\\n    @onFiltersCleared={{@onFiltersCleared}}\\n    @analyticsObject=\\\"custom\\\"\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/filters.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/filters.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport {\n  mapFromPropertyIdentifierToFilterIdentifier,\n  mapFromFilterIdentifierToPropertyIdentifier,\n} from 'embercom/lib/reporting/custom/filter-helpers';\n\nexport default class Filters extends Component {\n  get transformedFilters() {\n    return this.args.filterableProperties.reduce((accum, property) => {\n      let filterKey = mapFromPropertyIdentifierToFilterIdentifier(\n        property,\n        this.args.chartConfig.object,\n      );\n      accum[filterKey] = this.args.filterValues[property] || [];\n      return accum;\n    }, {});\n  }\n\n  get transformedConversationAttributeFilters() {\n    return this.args.conversationAttributeFilterValues.toFilterValues();\n  }\n\n  @action\n  onFiltersChanged(filterType, filterValues, operator) {\n    if (this.customAttributeIds.includes(filterType)) {\n      this.args.onConversationAttributesFilterChanged(filterType, filterValues, operator);\n    } else {\n      let propertyIdentifier = mapFromFilterIdentifierToPropertyIdentifier(\n        filterType,\n        this.args.chartConfig.object,\n      );\n      this.args.onFiltersChanged(propertyIdentifier, filterValues);\n    }\n  }\n\n  get customAttributeIds() {\n    return this.args.conversationAttributeDescriptors.map(descriptor => descriptor.id);\n  }\n\n  isConversationAttribute(filterIdentifier) {\n    return this.args.conversationAttributeDescriptors.find(attr => attr.name === filterIdentifier);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"reporting__custom__chart-builder-header-spacing\\\">\\n  <div class=\\\"flex flex-row items-start justify-between px-6 py-4 reporting__custom__header-shadow absolute w-full bg-white\\\">\\n    <Common::HamburgerMenu @includePadding={{false}} class=\\\"mt-1\\\" />\\n    <div class=\\\"flex flex-col flex-grow gap-2\\\">\\n      <Pulse::ExpandingInput\\n        @value={{@title}}\\n        @onUpdate={{@onUpdateTitle}}\\n        @onFocusOut={{@onFocusOutTitle}}\\n        placeholder=\\\"Enter a title\\\"\\n        class=\\\"t__h1 min-w-32 max-w-128\\\"\\n        data-test-edit-chart-title\\n      />\\n      <Pulse::ExpandingInput\\n        @value={{@description}}\\n        @onUpdate={{@onUpdateDescription}}\\n        @onFocusOut={{@onFocusOutDescription}}\\n        placeholder=\\\"Enter a description\\\"\\n        class=\\\"text-base text-gray min-w-32 max-w-2/5\\\"\\n        data-test-edit-chart-description\\n      />\\n    </div>\\n    {{yield}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"reporting__custom__chart-builder-header-spacing\\\">\\n  <div class=\\\"flex flex-row items-start justify-between px-6 py-4 reporting__custom__header-shadow absolute w-full bg-white\\\">\\n    <Common::HamburgerMenu @includePadding={{false}} class=\\\"mt-1\\\" />\\n    <div class=\\\"flex flex-col flex-grow gap-2\\\">\\n      <Pulse::ExpandingInput\\n        @value={{@title}}\\n        @onUpdate={{@onUpdateTitle}}\\n        @onFocusOut={{@onFocusOutTitle}}\\n        placeholder=\\\"Enter a title\\\"\\n        class=\\\"t__h1 min-w-32 max-w-128\\\"\\n        data-test-edit-chart-title\\n      />\\n      <Pulse::ExpandingInput\\n        @value={{@description}}\\n        @onUpdate={{@onUpdateDescription}}\\n        @onFocusOut={{@onFocusOutDescription}}\\n        placeholder=\\\"Enter a description\\\"\\n        class=\\\"text-base text-gray min-w-32 max-w-2/5\\\"\\n        data-test-edit-chart-description\\n      />\\n    </div>\\n    {{yield}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Form as |form|>\\n  <div class=\\\"flex flex-col flex-grow gap-4\\\">\\n    <form.Item @label=\\\"Metric\\\" as |item|>\\n      <IcSelect\\n        class=\\\"min-w-full\\\"\\n        @items={{this.metricProperties}}\\n        @onSelectItem={{@updateMetricProperty}}\\n        @selectedValue={{@chartState.metricProperty}}\\n        data-test-chart-builder-metric\\n      />\\n    </form.Item>\\n    {{#if this.metricFunctions.length}}\\n      <form.Item @label=\\\"Aggregation\\\" as |item|>\\n        <IcSelect\\n          class=\\\"min-w-full\\\"\\n          @items={{this.metricFunctions}}\\n          @onSelectItem={{@updateMetricFunction}}\\n          @selectedValue={{@chartState.metricFunction}}\\n          data-test-chart-builder-aggregation\\n        />\\n      </form.Item>\\n    {{/if}}\\n  </div>\\n</Form>\\n\", {\"contents\":\"<Form as |form|>\\n  <div class=\\\"flex flex-col flex-grow gap-4\\\">\\n    <form.Item @label=\\\"Metric\\\" as |item|>\\n      <IcSelect\\n        class=\\\"min-w-full\\\"\\n        @items={{this.metricProperties}}\\n        @onSelectItem={{@updateMetricProperty}}\\n        @selectedValue={{@chartState.metricProperty}}\\n        data-test-chart-builder-metric\\n      />\\n    </form.Item>\\n    {{#if this.metricFunctions.length}}\\n      <form.Item @label=\\\"Aggregation\\\" as |item|>\\n        <IcSelect\\n          class=\\\"min-w-full\\\"\\n          @items={{this.metricFunctions}}\\n          @onSelectItem={{@updateMetricFunction}}\\n          @selectedValue={{@chartState.metricFunction}}\\n          data-test-chart-builder-aggregation\\n        />\\n      </form.Item>\\n    {{/if}}\\n  </div>\\n</Form>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/metric.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/metric.hbs\"}});\nimport Component from '@glimmer/component';\nimport {\n  getMetricProperties,\n  getMetricFunctions,\n} from 'embercom/lib/reporting/custom/object-catalog';\n\nexport default class Metric extends Component {\n  get metricProperties() {\n    return this.buildPropertyDropdownItems(getMetricProperties());\n  }\n\n  get metricFunctions() {\n    return this.buildPropertyDropdownItems(\n      getMetricFunctions(this.args.chartState.object, this.args.chartState.metricProperty),\n    );\n  }\n\n  buildPropertyDropdownItems(items) {\n    return items.map(p => ({\n      text: p.humanizedName,\n      value: p.identifier,\n    }));\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div>\\n  <Form as |form|>\\n    <div class=\\\"flex flex-col flex-grow gap-6\\\">\\n      <form.Item @label=\\\"Chart type\\\" as |item|>\\n        <item.RadioGroup @selected={{@visualizationType}} as |group|>\\n          <div class=\\\"flex flex-row gap-4 mt-2\\\">\\n            <group.RadioButton @value=\\\"bar\\\" @label=\\\"Bar chart\\\" @onchange={{@updateVisualization}} data-test-chart-builder-visualization-item/>\\n            <group.RadioButton @value=\\\"counter\\\" @label=\\\"Count\\\" @onchange={{@updateVisualization}} data-test-chart-builder-visualization-item/>\\n          </div>\\n        </item.RadioGroup>\\n      </form.Item>\\n\\n      <form.Item @label=\\\"Break down by\\\">\\n        <IcSelect\\n          class=\\\"min-w-full\\\"\\n          @items={{this.groupProperties}}\\n          @hasFilter={{true}}\\n          @defaultLabel=\\\"No break down\\\"\\n          @filterPlaceholder=\\\"Search properties\\\"\\n          @onSelectItem={{@updateGroup}}\\n          @selectedValue={{if @group @group}}\\n          data-test-chart-builder-breakdown\\n        />\\n      </form.Item>\\n    </div>\\n  </Form>\\n</div>\\n\", {\"contents\":\"<div>\\n  <Form as |form|>\\n    <div class=\\\"flex flex-col flex-grow gap-6\\\">\\n      <form.Item @label=\\\"Chart type\\\" as |item|>\\n        <item.RadioGroup @selected={{@visualizationType}} as |group|>\\n          <div class=\\\"flex flex-row gap-4 mt-2\\\">\\n            <group.RadioButton @value=\\\"bar\\\" @label=\\\"Bar chart\\\" @onchange={{@updateVisualization}} data-test-chart-builder-visualization-item/>\\n            <group.RadioButton @value=\\\"counter\\\" @label=\\\"Count\\\" @onchange={{@updateVisualization}} data-test-chart-builder-visualization-item/>\\n          </div>\\n        </item.RadioGroup>\\n      </form.Item>\\n\\n      <form.Item @label=\\\"Break down by\\\">\\n        <IcSelect\\n          class=\\\"min-w-full\\\"\\n          @items={{this.groupProperties}}\\n          @hasFilter={{true}}\\n          @defaultLabel=\\\"No break down\\\"\\n          @filterPlaceholder=\\\"Search properties\\\"\\n          @onSelectItem={{@updateGroup}}\\n          @selectedValue={{if @group @group}}\\n          data-test-chart-builder-breakdown\\n        />\\n      </form.Item>\\n    </div>\\n  </Form>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-builder/visualization.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-builder/visualization.hbs\"}});\nimport Component from '@glimmer/component';\nimport { getGroupableProperties } from 'embercom/lib/reporting/custom/object-catalog';\n\nexport default class Visualization extends Component {\n  get groupProperties() {\n    return getGroupableProperties(this.args.object).map(p => ({\n      text: p.humanizedName,\n      value: p.identifier,\n      icon: p.icon,\n    }));\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (eq @renderableChart.visualizationType \\\"bar\\\")}}\\n  <Reporting::Flexible::Columnchart\\n    @dataConfig={{this.dataConfig}}\\n    @viewConfig={{this.viewConfig}}\\n    @range={{@renderableChart.dateRange}}\\n    as |chart|\\n  >\\n    {{yield (hash Empty=chart.Empty)}}\\n  </Reporting::Flexible::Columnchart>\\n{{else if (eq @renderableChart.visualizationType \\\"counter\\\")}}\\n  <Reporting::Flexible::Counter\\n    @dataConfig={{this.dataConfig}}\\n    @viewConfig={{this.viewConfig}}\\n    @range={{@renderableChart.dateRange}}\\n  >\\n  </Reporting::Flexible::Counter>\\n{{/if}}\\n\", {\"contents\":\"{{#if (eq @renderableChart.visualizationType \\\"bar\\\")}}\\n  <Reporting::Flexible::Columnchart\\n    @dataConfig={{this.dataConfig}}\\n    @viewConfig={{this.viewConfig}}\\n    @range={{@renderableChart.dateRange}}\\n    as |chart|\\n  >\\n    {{yield (hash Empty=chart.Empty)}}\\n  </Reporting::Flexible::Columnchart>\\n{{else if (eq @renderableChart.visualizationType \\\"counter\\\")}}\\n  <Reporting::Flexible::Counter\\n    @dataConfig={{this.dataConfig}}\\n    @viewConfig={{this.viewConfig}}\\n    @range={{@renderableChart.dateRange}}\\n  >\\n  </Reporting::Flexible::Counter>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-renderer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-renderer.hbs\"}});\nimport Component from '@glimmer/component';\nimport { cached } from 'tracked-toolbox';\n\nexport default class ChartRenderer extends Component {\n  @cached\n  get viewConfig() {\n    return this.args.renderableChart.buildViewConfig();\n  }\n\n  @cached\n  get dataConfig() {\n    return this.args.renderableChart.buildDataConfig();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Heading class=\\\"flex-grow\\\" @size=\\\"2\\\" data-test-chart-title>{{this.chartTitle}}</Heading>\\n\", {\"contents\":\"<Heading class=\\\"flex-grow\\\" @size=\\\"2\\\" data-test-chart-title>{{this.chartTitle}}</Heading>\\n\",\"moduleName\":\"embercom/components/reporting/custom/chart-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/chart-title.hbs\"}});\nimport Component from '@glimmer/component';\nimport { buildHumanizedChartDescription } from 'embercom/lib/reporting/custom/helpers';\n\nexport default class ChartTitle extends Component {\n  get chartTitle() {\n    if (this.args.chartTitle) {\n      return this.args.chartTitle;\n    }\n    return buildHumanizedChartDescription(this.args.renderableChart);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-grow justify-center items-center\\\" {{did-insert (perform this.saveNewReportAndTransition)}}>\\n  <IcLoadingIndicator @size=\\\"large\\\" data-test-loading-indicator/>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-grow justify-center items-center\\\" {{did-insert (perform this.saveNewReportAndTransition)}}>\\n  <IcLoadingIndicator @size=\\\"large\\\" data-test-loading-indicator/>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/custom/new-report.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/new-report.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class NewReport extends Component {\n  @service router;\n\n  @task\n  *saveNewReportAndTransition() {\n    let report = this.args.report;\n    if (report.isNew) {\n      yield report.save();\n      this.router.replaceWith('apps.app.reports.custom-reports.report.show', report.id);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcContent class=\\\"flex flex-col flex-grow px-6 py-4\\\">\\n  <div class=\\\"flex flex-row items-start justify-between gap-2 mb-6\\\">\\n    <Common::HamburgerMenu class=\\\"mt-1\\\" @includePadding={{false}}  />\\n    <div class=\\\"flex flex-col flex-grow gap-2\\\">\\n      <Pulse::ExpandingInput\\n        @value={{@report.title}}\\n        @onUpdate={{set @report.title}}\\n        @onFocusOut={{fn this.trackAnalyticsEvent (hash action=\\\"edited_title\\\")}} \\n        placeholder=\\\"Enter a title\\\"\\n        class=\\\"t__h1 min-w-32 max-w-2/5\\\"\\n        data-test-report-title\\n      />\\n      <Pulse::ExpandingInput\\n        @value={{@report.description}}\\n        @onUpdate={{set @report.description}}\\n        @onFocusOut={{fn this.trackAnalyticsEvent (hash action=\\\"edited_description\\\")}} \\n        placeholder=\\\"Enter a description\\\"\\n        class=\\\"text-base text-gray min-w-32 max-w-2/5\\\"\\n        data-test-report-description\\n      />\\n    </div>\\n    <IcButtonList as |list|>\\n      <list.button @label=\\\"Delete\\\" @type=\\\"secondary-destructive\\\" @onClick={{perform this.deleteReport}} data-test-report-delete/>\\n      <list.button @label=\\\"Save report\\\" @type=\\\"secondary\\\" @disabled={{not @report.hasDirtyAttributes}} @onClick={{perform this.saveReport}} data-test-report-save/>\\n      {{#if @report.hasCharts }}\\n        <list.button @label=\\\"Add chart\\\" @type=\\\"primary\\\" @icon=\\\"new\\\" @onClick={{fn this.addChart \\\"header\\\"}} data-test-report-new-chart/>\\n      {{/if}}\\n    </IcButtonList>\\n  </div>\\n  <div class=\\\"flex flex-row px-3\\\">\\n    <Reporting::Custom::ChartBuilder::FilterBar::FilterBar\\n      @barFilters={{this.filtersWithDateRange}}\\n      @onFiltersChanged={{this.updateFilter}}\\n      @onFiltersCleared={{this.clearFilters}}\\n      @isDisabled={{this.isFilterBarDisabled}}\\n      @analyticsObject=\\\"custom\\\"\\n    />\\n  </div>\\n  {{#if @report.hasCharts}}\\n    <Reporting::Custom::Report::ChartLayout\\n      @charts={{@report.charts}}\\n      @reportState={{this.reportState}}\\n      @deleteChart={{perform this.deleteChart}} \\n      @editChart={{this.editChart}}\\n    />\\n    <Paragraph @styling=\\\"muted\\\" class=\\\"px-3\\\" data-test-report-time-range-info>\\n      Charts are in {{format-timezone this.appService.app.timezone}} {{if @settings.excludeOooHours 'and calculated within office hours only' ''}}\\n    </Paragraph>\\n  {{else}}\\n    <div class=\\\"flex flex-row flex-wrap h-full justify-center\\\">\\n      <div class=\\\"text-center\\\">\\n        <IcEmptyState\\n          @title=\\\"No charts yet\\\"\\n          @description=\\\"After you create your charts, you can find them here.\\\"\\n          @icon=\\\"chart\\\"\\n        />\\n        <IcButton @label=\\\"Add chart\\\" @type=\\\"primary\\\" @icon=\\\"new\\\" @onClick={{fn this.addChart \\\"empty_state\\\"}} data-test-report-empty-new-chart/>\\n      </div>\\n    </div>\\n  {{/if}}\\n</IcContent>\\n\", {\"contents\":\"<IcContent class=\\\"flex flex-col flex-grow px-6 py-4\\\">\\n  <div class=\\\"flex flex-row items-start justify-between gap-2 mb-6\\\">\\n    <Common::HamburgerMenu class=\\\"mt-1\\\" @includePadding={{false}}  />\\n    <div class=\\\"flex flex-col flex-grow gap-2\\\">\\n      <Pulse::ExpandingInput\\n        @value={{@report.title}}\\n        @onUpdate={{set @report.title}}\\n        @onFocusOut={{fn this.trackAnalyticsEvent (hash action=\\\"edited_title\\\")}} \\n        placeholder=\\\"Enter a title\\\"\\n        class=\\\"t__h1 min-w-32 max-w-2/5\\\"\\n        data-test-report-title\\n      />\\n      <Pulse::ExpandingInput\\n        @value={{@report.description}}\\n        @onUpdate={{set @report.description}}\\n        @onFocusOut={{fn this.trackAnalyticsEvent (hash action=\\\"edited_description\\\")}} \\n        placeholder=\\\"Enter a description\\\"\\n        class=\\\"text-base text-gray min-w-32 max-w-2/5\\\"\\n        data-test-report-description\\n      />\\n    </div>\\n    <IcButtonList as |list|>\\n      <list.button @label=\\\"Delete\\\" @type=\\\"secondary-destructive\\\" @onClick={{perform this.deleteReport}} data-test-report-delete/>\\n      <list.button @label=\\\"Save report\\\" @type=\\\"secondary\\\" @disabled={{not @report.hasDirtyAttributes}} @onClick={{perform this.saveReport}} data-test-report-save/>\\n      {{#if @report.hasCharts }}\\n        <list.button @label=\\\"Add chart\\\" @type=\\\"primary\\\" @icon=\\\"new\\\" @onClick={{fn this.addChart \\\"header\\\"}} data-test-report-new-chart/>\\n      {{/if}}\\n    </IcButtonList>\\n  </div>\\n  <div class=\\\"flex flex-row px-3\\\">\\n    <Reporting::Custom::ChartBuilder::FilterBar::FilterBar\\n      @barFilters={{this.filtersWithDateRange}}\\n      @onFiltersChanged={{this.updateFilter}}\\n      @onFiltersCleared={{this.clearFilters}}\\n      @isDisabled={{this.isFilterBarDisabled}}\\n      @analyticsObject=\\\"custom\\\"\\n    />\\n  </div>\\n  {{#if @report.hasCharts}}\\n    <Reporting::Custom::Report::ChartLayout\\n      @charts={{@report.charts}}\\n      @reportState={{this.reportState}}\\n      @deleteChart={{perform this.deleteChart}} \\n      @editChart={{this.editChart}}\\n    />\\n    <Paragraph @styling=\\\"muted\\\" class=\\\"px-3\\\" data-test-report-time-range-info>\\n      Charts are in {{format-timezone this.appService.app.timezone}} {{if @settings.excludeOooHours 'and calculated within office hours only' ''}}\\n    </Paragraph>\\n  {{else}}\\n    <div class=\\\"flex flex-row flex-wrap h-full justify-center\\\">\\n      <div class=\\\"text-center\\\">\\n        <IcEmptyState\\n          @title=\\\"No charts yet\\\"\\n          @description=\\\"After you create your charts, you can find them here.\\\"\\n          @icon=\\\"chart\\\"\\n        />\\n        <IcButton @label=\\\"Add chart\\\" @type=\\\"primary\\\" @icon=\\\"new\\\" @onClick={{fn this.addChart \\\"empty_state\\\"}} data-test-report-empty-new-chart/>\\n      </div>\\n    </div>\\n  {{/if}}\\n</IcContent>\\n\",\"moduleName\":\"embercom/components/reporting/custom/report.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/report.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport ReportFilters from 'embercom/models/reporting/custom/report-filters';\nimport { mapFromFilterIdentifierToPropertyIdentifier } from '../../../lib/reporting/custom/filter-helpers';\nimport { CONVERSATION_OBJECT_IDENTIFIER } from 'embercom/lib/reporting/custom/object-catalog';\n\nconst DELETE_CHART_CONFIRMATION_MODAL_CONTENT = {\n  title: 'Do you want to delete this chart?',\n  body: `This action is permanent and can't be undone`,\n  primaryButtonType: 'primary-destructive',\n  confirmButtonText: 'Delete',\n};\n\nconst DELETE_REPORT_CONFIRMATION_MODAL_CONTENT = {\n  title: 'Do you want to delete this report?',\n  body: `This action is permanent and can't be undone`,\n  primaryButtonType: 'primary-destructive',\n  confirmButtonText: 'Delete',\n};\n\nconst OVERWRITE_WARNING_KEY = 'custom_report_filter_overwrite_warning';\n\nexport default class Report extends Component {\n  @service store;\n  @service appService;\n  @service confirmService;\n  @service intercomEventService;\n  @service notificationsService;\n  @service router;\n\n  @tracked filters = new ReportFilters(this.args.report.filters);\n  @tracked dateRange;\n\n  get reportState() {\n    return {\n      settings: this.args.settings,\n      dateRange: this.args.report.range,\n      filters: this.filters,\n    };\n  }\n\n  get filtersWithDateRange() {\n    return Object.assign({}, this.filters.toHash, { dateRange: this.args.report.range });\n  }\n\n  get isFilterBarDisabled() {\n    return this.args.report.charts.length === 0;\n  }\n\n  get storageKey() {\n    return `${OVERWRITE_WARNING_KEY}_${this.args.report.id}`;\n  }\n\n  get shouldDisplayDateFilterWarning() {\n    return (\n      !window.sessionStorage ||\n      (window.sessionStorage && !window.sessionStorage.getItem(this.storageKey))\n    );\n  }\n\n  get sharedAnalyticsData() {\n    return {\n      object: 'custom_report',\n      custom_report_id: this.args.report.id,\n      custom_report_name: this.args.report.name || 'untitled',\n    };\n  }\n\n  get editedReportAnalyticsData() {\n    let reportChangedAttributes = this.args.report.changedAttributes();\n    return {\n      title_changed: 'title' in reportChangedAttributes,\n      description_changed: 'description' in reportChangedAttributes,\n      filters_changed: 'filters' in reportChangedAttributes,\n      number_of_charts: this.args.report.charts.length,\n    };\n  }\n\n  @action\n  trackAnalyticsEvent(data) {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.sharedAnalyticsData,\n      ...data,\n    });\n  }\n\n  @task\n  *saveReport() {\n    let isNew = this.args.report.isNew;\n    let editedAttributesData = this.editedReportAnalyticsData;\n    let report = yield this.args.report.save();\n    this.args.report.hasPendingNewCharts = false;\n    if (isNew) {\n      this.router.transitionTo('apps.app.reports.custom-reports.report.show', report.id);\n    }\n    this.notificationsService.notifyConfirmation('Your report has been saved');\n    this.trackAnalyticsEvent({\n      action: 'edited',\n      object: 'custom_report',\n      ...editedAttributesData,\n    });\n    if (this.args.onReportSaved) {\n      this.args.onReportSaved(report);\n    }\n  }\n\n  @task\n  *deleteReport() {\n    let confirm = yield this.confirmService.show(this, DELETE_REPORT_CONFIRMATION_MODAL_CONTENT);\n    if (!confirm) {\n      return;\n    }\n    this.trackAnalyticsEvent({\n      action: 'deleted',\n      object: 'custom_report',\n    });\n    yield this.args.report.destroyRecord();\n    this.notificationsService.notifyConfirmation('Your report has been deleted');\n    this.router.transitionTo('apps.app.reports.custom-reports.index');\n  }\n\n  @action\n  editChart(chartId) {\n    this.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'edit_chart',\n    });\n    this.router.transitionTo('apps.app.reports.custom-reports.report.show.chart.edit', chartId);\n  }\n\n  @task\n  *deleteChart(chartId) {\n    let confirm = yield this.confirmService.show(this, DELETE_CHART_CONFIRMATION_MODAL_CONTENT);\n    if (!confirm) {\n      return;\n    }\n    let chart = this.store.peekRecord('reporting/custom/chart', chartId);\n    yield chart.destroyRecord();\n    this.trackAnalyticsEvent({\n      action: 'deleted',\n      custom_chart_name: chart.name || 'untitled',\n      custom_chart_id: chartId,\n    });\n    this.notificationsService.notifyConfirmation('Your chart has been deleted');\n  }\n\n  @action\n  updateFilter(filterType, filterValues, _operator) {\n    this.trackAnalyticsEvent({\n      action: 'filtered',\n      filter_name: filterType,\n    });\n\n    if (filterType === 'dateRange') {\n      if (this.shouldDisplayDateFilterWarning) {\n        this.notificationsService.notifyWarning(\n          'We’ve updated all of the charts in your report to use the date range you selected.',\n        );\n        if (window.sessionStorage) {\n          try {\n            window.sessionStorage.setItem(this.storageKey, 'true');\n          } catch {} // eslint-disable-line no-empty\n        }\n      }\n      this.args.report.applyDateRange(filterValues);\n    } else {\n      this.filters.updateFilter(filterType, filterValues);\n      let propertyIdentifier = mapFromFilterIdentifierToPropertyIdentifier(\n        filterType,\n        CONVERSATION_OBJECT_IDENTIFIER,\n      );\n      this.args.report.applyFilter(propertyIdentifier, filterValues);\n    }\n  }\n\n  @action\n  clearFilters() {\n    this.trackAnalyticsEvent({\n      action: 'clear_filters',\n    });\n    this.args.report.dateRange = null;\n    this.filters.clearFilters();\n    this.args.report.filters = {};\n  }\n\n  @action\n  addChart(buttonPosition) {\n    this.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'add_chart',\n      button_position: buttonPosition,\n    });\n    this.transitionToNewChartPage();\n  }\n\n  transitionToNewChartPage() {\n    this.router.transitionTo('apps.app.reports.custom-reports.report.show.chart.new', {\n      queryParams: { source: 'custom_report' },\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"w-1/2 min-w-128 mb-6 px-3 box-border\\\"\\n  {{on 'mouseenter' (set this.isHovered true)}}\\n  {{on 'mouseleave' (set this.isHovered false)}}\\n  data-test-custom-report-chart\\n>\\n  <IcCard class=\\\"flex flex-col gap-4\\\">\\n    <div>\\n      <div class=\\\"flex flex-row justify-between\\\">\\n        <Reporting::Custom::ChartTitle\\n          @renderableChart={{this.renderableChart}}\\n          @chartTitle={{@chartState.title}}\\n        />\\n        <IcButtonList class=\\\"transition duration-300 ease-in-out {{unless this.isHovered 'opacity-0'}}\\\" as |list|>\\n          <list.button @icon=\\\"edit\\\" @type=\\\"secondary\\\" @onClick={{fn @editChart @chartState.id}} data-test-custom-report-chart-edit/>\\n          <list.button @icon=\\\"trash\\\" @type=\\\"primary-destructive\\\" @onClick={{fn @deleteChart @chartState.id}} data-test-custom-report-chart-delete/>\\n        </IcButtonList>\\n      </div>\\n      <Paragraph @styling=\\\"muted\\\" data-test-chart-description>{{@chartState.description}}</Paragraph>\\n    </div>\\n    <Reporting::Custom::ChartRenderer @renderableChart={{this.renderableChart}} as |chart|>\\n      <chart.Empty>\\n        <IcEmptyState\\n          @title=\\\"This chart has no data\\\"\\n          @description=\\\"To see data here, try changing your report filters or the settings on this chart\\\"\\n          @icon=\\\"chart\\\"\\n        />\\n      </chart.Empty>\\n    </Reporting::Custom::ChartRenderer>\\n  </IcCard>\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"w-1/2 min-w-128 mb-6 px-3 box-border\\\"\\n  {{on 'mouseenter' (set this.isHovered true)}}\\n  {{on 'mouseleave' (set this.isHovered false)}}\\n  data-test-custom-report-chart\\n>\\n  <IcCard class=\\\"flex flex-col gap-4\\\">\\n    <div>\\n      <div class=\\\"flex flex-row justify-between\\\">\\n        <Reporting::Custom::ChartTitle\\n          @renderableChart={{this.renderableChart}}\\n          @chartTitle={{@chartState.title}}\\n        />\\n        <IcButtonList class=\\\"transition duration-300 ease-in-out {{unless this.isHovered 'opacity-0'}}\\\" as |list|>\\n          <list.button @icon=\\\"edit\\\" @type=\\\"secondary\\\" @onClick={{fn @editChart @chartState.id}} data-test-custom-report-chart-edit/>\\n          <list.button @icon=\\\"trash\\\" @type=\\\"primary-destructive\\\" @onClick={{fn @deleteChart @chartState.id}} data-test-custom-report-chart-delete/>\\n        </IcButtonList>\\n      </div>\\n      <Paragraph @styling=\\\"muted\\\" data-test-chart-description>{{@chartState.description}}</Paragraph>\\n    </div>\\n    <Reporting::Custom::ChartRenderer @renderableChart={{this.renderableChart}} as |chart|>\\n      <chart.Empty>\\n        <IcEmptyState\\n          @title=\\\"This chart has no data\\\"\\n          @description=\\\"To see data here, try changing your report filters or the settings on this chart\\\"\\n          @icon=\\\"chart\\\"\\n        />\\n      </chart.Empty>\\n    </Reporting::Custom::ChartRenderer>\\n  </IcCard>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/custom/report/chart-chrome.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/report/chart-chrome.hbs\"}});\nimport Component from '@glimmer/component';\nimport RenderableChart from 'embercom/models/reporting/custom/renderable-chart';\n\nexport default class ChartChrome extends Component {\n  isHovered = false;\n  get renderableChart() {\n    return new RenderableChart(this.args.chartState, this.args.reportState);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row flex-wrap mb-0\\\">\\n  {{#each this.items as |chart index|}}\\n    {{#if chart}}\\n      <Reporting::Custom::Report::ChartChrome\\n        @chartState={{chart}}\\n        @reportState={{@reportState}}\\n        @deleteChart={{@deleteChart}}\\n        @editChart={{fn @editChart chart.id}}\\n      />\\n    {{else}}\\n      <div class=\\\"w-1/2 min-w-128 px-3 box-border\\\" data-test-custom-report-chart-spacer data-test-item-index={{index}} />\\n    {{/if}}\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row flex-wrap mb-0\\\">\\n  {{#each this.items as |chart index|}}\\n    {{#if chart}}\\n      <Reporting::Custom::Report::ChartChrome\\n        @chartState={{chart}}\\n        @reportState={{@reportState}}\\n        @deleteChart={{@deleteChart}}\\n        @editChart={{fn @editChart chart.id}}\\n      />\\n    {{else}}\\n      <div class=\\\"w-1/2 min-w-128 px-3 box-border\\\" data-test-custom-report-chart-spacer data-test-item-index={{index}} />\\n    {{/if}}\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/custom/report/chart-layout.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/custom/report/chart-layout.hbs\"}});\nimport Component from '@glimmer/component';\n\nconst NUMBER_OF_COLUMNS = 2;\n\nexport default class ChartLayout extends Component {\n  get items() {\n    // the only time a counter can appear inline with a different chart type is when there’s only 2 charts on a report.\n    if (this.args.charts.length < 3) {\n      return this.args.charts;\n    }\n\n    let items = [];\n    let previousChart;\n    this.args.charts.forEach(currentChart => {\n      let columnIndex = items.length % NUMBER_OF_COLUMNS;\n      // spacers can only appear in the right column\n      // and only when a counter would appear next to a non-counter\n      if (\n        columnIndex === 1 &&\n        previousChart &&\n        previousChart.isCounter !== currentChart.isCounter\n      ) {\n        // we represent a spacer with a null rather that anything fancy\n        items.push(null);\n      }\n      items.push(currentChart);\n      previousChart = currentChart;\n    });\n    return items;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcSelect\\n  class=\\\"u__display-inline-block\\\"\\n  @isDisabled={{disabled}}\\n  @onSelectItem={{this.setDefaultDateRange}}\\n  @initiallyOpened={{@initiallyOpened}}\\n  as |select|\\n>\\n  <select.opener as |opener|>\\n    {{#if (not hasBlock)}}\\n      <IcButton\\n        data-test-date-dropdown-opener\\n        @type=\\\"secondary\\\"\\n        @isDropdownOpener={{true}}\\n        @isForcedActive={{opener.dropdownIsOpen}}\\n      >\\n        {{ic-interface-icon \\\"calendar\\\"}}\\n        {{#if range.isSingleDay}}\\n          {{moment-format range.startMoment \\\"MMM D, YYYY\\\" timeZone=timezone}}\\n        {{else}}\\n          {{moment-format range.startMoment \\\"MMM D, YYYY\\\" timeZone=timezone}}\\n          -\\n          {{moment-format range.endMoment \\\"MMM D, YYYY\\\" timeZone=timezone}}\\n        {{/if}}\\n        {{ic-interface-icon \\\"small-down-arrow\\\"}}\\n      </IcButton>\\n    {{else}}\\n      {{yield\\n        (hash\\n          startMoment=range.startMoment\\n          endMoment=range.endMoment\\n          isOpen=opener.dropdownIsOpen\\n        )\\n      }}\\n    {{/if}}\\n  </select.opener>\\n\\n  <select.items @isMain={{false}} as |items|>\\n    <div class=\\\"dropdown\\\" data-test-date-dropdown-opened>\\n      {{#each-in range.defaultRanges as |key defaultRange|}}\\n        <items.item @value={{key}} data-test-date-dropdown-key={{key}}>\\n          {{ic-interface-icon \\\"calendar\\\" color=\\\"gray\\\"}}\\n          <span>{{humanize key}}</span>\\n          {{#if (eq range.selectedRange key)}}\\n            <span\\n              class=\\\"f__custom-select__check reporting__date-range-filter__selected-check\\\"\\n              data-test-date-dropdown-check\\n            >\\n              {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n            </span>\\n          {{/if}}\\n        </items.item>\\n      {{/each-in}}\\n\\n      <hr class=\\\"sp__hr u__mt__10 u__mb__10\\\" />\\n\\n      <Popover\\n        @showOn={{array 'click'}}\\n        @hideOn={{array 'clickout'}}\\n        @placement={{or @customDatePlacement \\\"right\\\"}}\\n        @fallbackPlacements={{array \\\"right\\\" \\\"left\\\" \\\"bottom\\\" \\\"top\\\"}}\\n        @showArrow={{true}}\\n        @hideDelay={{200}}\\n        @preventOverflow={{true}}\\n        role=\\\"menuitem\\\"\\n        tabindex=\\\"-1\\\"\\n        class=\\\"ds-new__dropdown__block__item flex items-start\\\"\\n        data-test-date-dropdown-custom\\n        as |popover|\\n      >\\n        <popover.Opener>\\n          <div class=\\\"flex-auto min-w-0 ds-new__dropdown__block__item__object\\\">\\n            {{ic-interface-icon \\\"edit\\\" color=\\\"gray\\\"}}\\n            <span>Custom</span>\\n            {{#if (eq range.selectedRange \\\"custom\\\")}}\\n              <span\\n                class=\\\"f__custom-select__check reporting__date-range-filter__selected-check\\\"\\n                data-test-date-dropdown-check\\n              >\\n                {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n              </span>\\n            {{/if}}\\n          </div>\\n        </popover.Opener>\\n        <popover.Content\\n          @fullBleed={{true}}\\n          data-test-custom-date-range-popover\\n        >\\n          <Common::DateRangePicker\\n            @range={{hash start=range.startMoment end=range.endMoment}}\\n            @maximumSelectionWindowInYears={{@maximumSelectionWindowInYears}}\\n            @setRange={{fn this.setCustomRange popover.hide}}\\n            @canSelectAppCreationDate={{@canSelectAppCreationDate}}\\n            @cancel={{popover.hide}}\\n          />\\n        </popover.Content>\\n      </Popover>\\n    </div>\\n  </select.items>\\n</IcSelect>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcSelect\\n  class=\\\"u__display-inline-block\\\"\\n  @isDisabled={{disabled}}\\n  @onSelectItem={{this.setDefaultDateRange}}\\n  @initiallyOpened={{@initiallyOpened}}\\n  as |select|\\n>\\n  <select.opener as |opener|>\\n    {{#if (not hasBlock)}}\\n      <IcButton\\n        data-test-date-dropdown-opener\\n        @type=\\\"secondary\\\"\\n        @isDropdownOpener={{true}}\\n        @isForcedActive={{opener.dropdownIsOpen}}\\n      >\\n        {{ic-interface-icon \\\"calendar\\\"}}\\n        {{#if range.isSingleDay}}\\n          {{moment-format range.startMoment \\\"MMM D, YYYY\\\" timeZone=timezone}}\\n        {{else}}\\n          {{moment-format range.startMoment \\\"MMM D, YYYY\\\" timeZone=timezone}}\\n          -\\n          {{moment-format range.endMoment \\\"MMM D, YYYY\\\" timeZone=timezone}}\\n        {{/if}}\\n        {{ic-interface-icon \\\"small-down-arrow\\\"}}\\n      </IcButton>\\n    {{else}}\\n      {{yield\\n        (hash\\n          startMoment=range.startMoment\\n          endMoment=range.endMoment\\n          isOpen=opener.dropdownIsOpen\\n        )\\n      }}\\n    {{/if}}\\n  </select.opener>\\n\\n  <select.items @isMain={{false}} as |items|>\\n    <div class=\\\"dropdown\\\" data-test-date-dropdown-opened>\\n      {{#each-in range.defaultRanges as |key defaultRange|}}\\n        <items.item @value={{key}} data-test-date-dropdown-key={{key}}>\\n          {{ic-interface-icon \\\"calendar\\\" color=\\\"gray\\\"}}\\n          <span>{{humanize key}}</span>\\n          {{#if (eq range.selectedRange key)}}\\n            <span\\n              class=\\\"f__custom-select__check reporting__date-range-filter__selected-check\\\"\\n              data-test-date-dropdown-check\\n            >\\n              {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n            </span>\\n          {{/if}}\\n        </items.item>\\n      {{/each-in}}\\n\\n      <hr class=\\\"sp__hr u__mt__10 u__mb__10\\\" />\\n\\n      <Popover\\n        @showOn={{array 'click'}}\\n        @hideOn={{array 'clickout'}}\\n        @placement={{or @customDatePlacement \\\"right\\\"}}\\n        @fallbackPlacements={{array \\\"right\\\" \\\"left\\\" \\\"bottom\\\" \\\"top\\\"}}\\n        @showArrow={{true}}\\n        @hideDelay={{200}}\\n        @preventOverflow={{true}}\\n        role=\\\"menuitem\\\"\\n        tabindex=\\\"-1\\\"\\n        class=\\\"ds-new__dropdown__block__item flex items-start\\\"\\n        data-test-date-dropdown-custom\\n        as |popover|\\n      >\\n        <popover.Opener>\\n          <div class=\\\"flex-auto min-w-0 ds-new__dropdown__block__item__object\\\">\\n            {{ic-interface-icon \\\"edit\\\" color=\\\"gray\\\"}}\\n            <span>Custom</span>\\n            {{#if (eq range.selectedRange \\\"custom\\\")}}\\n              <span\\n                class=\\\"f__custom-select__check reporting__date-range-filter__selected-check\\\"\\n                data-test-date-dropdown-check\\n              >\\n                {{ic-interface-icon \\\"small-check\\\" solo=true}}\\n              </span>\\n            {{/if}}\\n          </div>\\n        </popover.Opener>\\n        <popover.Content\\n          @fullBleed={{true}}\\n          data-test-custom-date-range-popover\\n        >\\n          <Common::DateRangePicker\\n            @range={{hash start=range.startMoment end=range.endMoment}}\\n            @maximumSelectionWindowInYears={{@maximumSelectionWindowInYears}}\\n            @setRange={{fn this.setCustomRange popover.hide}}\\n            @canSelectAppCreationDate={{@canSelectAppCreationDate}}\\n            @cancel={{popover.hide}}\\n          />\\n        </popover.Content>\\n      </Popover>\\n    </div>\\n  </select.items>\\n</IcSelect>\\n\",\"moduleName\":\"embercom/components/reporting/date-range-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/date-range-filter.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { action, computed } from '@ember/object';\nimport { humanize } from 'ember-cli-string-helpers/helpers/humanize';\n\nexport default Component.extend({\n  tagName: 'span',\n  dropdownOptions: computed('range.defaultRanges', function() {\n    return Object.keys(this.get('range.defaultRanges')).map(range => ({\n      text: humanize([range]),\n      icon: 'calendar',\n      value: range,\n    }));\n  }),\n\n  setDefaultDateRange: action(function(selectedRange) {\n    let range = this.range;\n    range.setDefaultRange(selectedRange);\n    this.updateRange(range);\n  }),\n  setRange: action(function(start, end) {\n    let range = this.range;\n    range.updateRange(start, end);\n    this.updateRange(range);\n  }),\n  setCustomRange: action(function(hideCustomDateRangePopover, start, end) {\n    this.setRange(start, end);\n    hideCustomDateRangePopover();\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.downloading}}\\n  <IcButton class=\\\"download-report__loading-spinner\\\" data-test-download-report-button-spinner>\\n    <IcLoadingIndicator @size=\\\"tiny\\\"/>\\n  </IcButton>\\n{{else}}\\n  <IcButton\\n    @type=\\\"secondary\\\"\\n    @label=\\\"Email PDF\\\"\\n    @disabled={{@dashboard.isPaywalled}}\\n    @onClick={{perform this.download}}\\n    data-test-download-report-button\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{#if this.downloading}}\\n  <IcButton class=\\\"download-report__loading-spinner\\\" data-test-download-report-button-spinner>\\n    <IcLoadingIndicator @size=\\\"tiny\\\"/>\\n  </IcButton>\\n{{else}}\\n  <IcButton\\n    @type=\\\"secondary\\\"\\n    @label=\\\"Email PDF\\\"\\n    @disabled={{@dashboard.isPaywalled}}\\n    @onClick={{perform this.download}}\\n    data-test-download-report-button\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/reporting/download.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/download.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class DownloadReport extends Component {\n  @service intercomEventService;\n  @service notificationsService;\n  @service reportSubscriptionService;\n  @service appService;\n  @tracked downloading;\n\n  constructor() {\n    super(...arguments);\n  }\n\n  get dashboardId() {\n    return this.args.dashboard.dashboardId;\n  }\n\n  get adminEmail() {\n    return this.appService.app.currentAdmin.email;\n  }\n\n  get bannerMessage() {\n    return `We're sending a PDF version of this report to your ${this.adminEmail} email address.`;\n  }\n\n  @task\n  *download() {\n    this.downloading = true;\n    this.subscription = this.reportSubscriptionService.createNewDefaultSubscription();\n    this.subscription.jsonBlob = this.args.dashboard.toJson();\n    this.subscription.cadence = 'one_time';\n    yield this.subscription.save();\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'download',\n      object: 'report_schedule',\n      dashboard_id: this.dashboardId,\n    });\n    this.downloading = false;\n    this.notificationsService.notifyConfirmation(this.bannerMessage);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Element::Legend>\\n  <Reporting::Element::LegendItem @color=\\\"gray-light\\\">\\n    Previous {{@range.inDays}} days\\n  </Reporting::Element::LegendItem>\\n  <Reporting::Element::LegendItem @color={{@color}} class=\\\"u__ml__20\\\">\\n    {{format-date date=@range.startMoment format=\\\"dateWithoutYear\\\"}} - {{format-date date=@range.endMoment format=\\\"dateWithoutYear\\\"}}\\n  </Reporting::Element::LegendItem>\\n</Reporting::Element::Legend>\\n\", {\"contents\":\"<Reporting::Element::Legend>\\n  <Reporting::Element::LegendItem @color=\\\"gray-light\\\">\\n    Previous {{@range.inDays}} days\\n  </Reporting::Element::LegendItem>\\n  <Reporting::Element::LegendItem @color={{@color}} class=\\\"u__ml__20\\\">\\n    {{format-date date=@range.startMoment format=\\\"dateWithoutYear\\\"}} - {{format-date date=@range.endMoment format=\\\"dateWithoutYear\\\"}}\\n  </Reporting::Element::LegendItem>\\n</Reporting::Element::Legend>\\n\",\"moduleName\":\"embercom/components/reporting/element/bar-chart-legend.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/bar-chart-legend.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"reporting__chart__bar-group-container {{if isVertical \\\"o__vertical\\\" \\\"o__horizontal\\\"}} w-full absolute flex flex-col justify-end reporting__chart__transform\\\"\\n  style={{style}}\\n>\\n  <div class=\\\"reporting__chart__bar-group {{if isVertical \\\"o__vertical\\\" \\\"o__horizontal\\\"}}\\\">\\n    {{#each stack key=\\\"key\\\" as |bar|}}\\n      <Reporting::Element::Bar\\n        @orientation={{@orientation}}\\n        @start={{bar.start}}\\n        @scale={{bar.scale}}\\n        @key={{bar.key}}\\n        @currentValue={{bar.value}}\\n        @count={{bar.count}}\\n        @maxValue={{@maxValue}}\\n        @color={{get @keyColorHash bar.key}}\\n        @unit={{or @unit (get @units bar.key)}}\\n        @tooltip={{get @tooltips bar.key}}\\n        @tooltipComponent={{@tooltipComponent}}\\n      />\\n    {{/each}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"reporting__chart__bar-group-container {{if isVertical \\\"o__vertical\\\" \\\"o__horizontal\\\"}} w-full absolute flex flex-col justify-end reporting__chart__transform\\\"\\n  style={{style}}\\n>\\n  <div class=\\\"reporting__chart__bar-group {{if isVertical \\\"o__vertical\\\" \\\"o__horizontal\\\"}}\\\">\\n    {{#each stack key=\\\"key\\\" as |bar|}}\\n      <Reporting::Element::Bar\\n        @orientation={{@orientation}}\\n        @start={{bar.start}}\\n        @scale={{bar.scale}}\\n        @key={{bar.key}}\\n        @currentValue={{bar.value}}\\n        @count={{bar.count}}\\n        @maxValue={{@maxValue}}\\n        @color={{get @keyColorHash bar.key}}\\n        @unit={{or @unit (get @units bar.key)}}\\n        @tooltip={{get @tooltips bar.key}}\\n        @tooltipComponent={{@tooltipComponent}}\\n      />\\n    {{/each}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/bar-group.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/bar-group.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { fmtStyle } from '@intercom/embercom-core/lib/computed-properties';\nimport { computed } from '@ember/object';\nimport { equal } from '@ember/object/computed';\nimport { stack } from 'd3-shape';\nimport { createScaledStackItem } from 'embercom/lib/reporting/visualization-helpers';\n\nlet convertArrayToKeyedHash = list =>\n  list.reduce(\n    (agg, item) => ({\n      ...agg,\n      [item.key]: item,\n    }),\n    {},\n  );\n\nlet createRelativeStackItem = (start, end, maxValue) => ({\n  start,\n  scale: (end - start) / maxValue,\n});\n\nexport default Component.extend({\n  tagName: '',\n  isVertical: equal('orientation', 'vertical'),\n  style: fmtStyle('transform: translate3d(%@px, 0, 0) scale3d(%@, 1, 1);', 'x', 'scaleX'),\n  keyedGroups: computed('group', function() {\n    return this.group && this.group.length >= 0 ? convertArrayToKeyedHash(this.group) : this.group;\n  }),\n  layers: computed('keys', 'keyedGroups', function() {\n    return stack()\n      .keys(this.keys)\n      .value((d, key) => (d[key] ? d[key].value || 0 : 0))([this.keyedGroups]);\n  }),\n  stack: computed('layers', 'keyedGroups', 'scale', function() {\n    return this.layers.map(layer => {\n      let [start, end] = layer[0];\n\n      return {\n        ...this.keyedGroups[layer.key],\n        key: layer.key,\n        ...(this.scale\n          ? createScaledStackItem(start, end, this.scale)\n          : createRelativeStackItem(start, end, this.maxValue)),\n      };\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-bar class=\\\"reporting__chart__bar-animation-container\\\">\\n  <div\\n    class=\\\"reporting__chart__bar-container {{if isVertical \\\"o__vertical\\\" \\\"o__horizontal\\\"}} reporting__chart__transform\\\"\\n    style={{containerStyle}}\\n  >\\n    <div\\n      class=\\\"reporting__chart__bar o__{{or @size \\\"medium\\\"}} {{if @rounded \\\"o__rounded\\\"}} {{if isVertical \\\"o__vertical\\\" \\\"o__horizontal\\\"}} u__relative w-full o__{{@color}}\\\"\\n      data-test-group-percentage={{@currentValue}}\\n      data-test-group-key={{@key}}\\n    >\\n      {{#if @tooltipComponent}}\\n        <IcTooltip\\n          class=\\\"u__absolute-shim\\\"\\n          data-test-group-tooltip={{@key}}\\n          as |t|\\n        >\\n          <t.opener></t.opener>\\n          <t.content>\\n            {{component\\n              @tooltipComponent\\n              key=@key\\n              currentValue=@currentValue\\n              count=@count\\n              tooltip=@tooltip\\n              unit=@unit\\n            }}\\n          </t.content>\\n        </IcTooltip>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-bar class=\\\"reporting__chart__bar-animation-container\\\">\\n  <div\\n    class=\\\"reporting__chart__bar-container {{if isVertical \\\"o__vertical\\\" \\\"o__horizontal\\\"}} reporting__chart__transform\\\"\\n    style={{containerStyle}}\\n  >\\n    <div\\n      class=\\\"reporting__chart__bar o__{{or @size \\\"medium\\\"}} {{if @rounded \\\"o__rounded\\\"}} {{if isVertical \\\"o__vertical\\\" \\\"o__horizontal\\\"}} u__relative w-full o__{{@color}}\\\"\\n      data-test-group-percentage={{@currentValue}}\\n      data-test-group-key={{@key}}\\n    >\\n      {{#if @tooltipComponent}}\\n        <IcTooltip\\n          class=\\\"u__absolute-shim\\\"\\n          data-test-group-tooltip={{@key}}\\n          as |t|\\n        >\\n          <t.opener></t.opener>\\n          <t.content>\\n            {{component\\n              @tooltipComponent\\n              key=@key\\n              currentValue=@currentValue\\n              count=@count\\n              tooltip=@tooltip\\n              unit=@unit\\n            }}\\n          </t.content>\\n        </IcTooltip>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/bar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/bar.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { fmtStyle, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport { equal } from '@ember/object/computed';\n\nexport default Component.extend({\n  tagName: '',\n  isVertical: equal('orientation', 'vertical'),\n  horizontalGroupStyle: fmtStyle(\n    'transform: translate3d(%@%,0,0) scale3d(%@,1,1);',\n    'start',\n    'scale',\n  ),\n  verticalGroupStyle: fmtStyle(\n    'transform: translate3d(0,%@px,0) scale3d(1,%@,1);',\n    'start',\n    'scale',\n  ),\n  containerStyle: ternaryToProperty('isVertical', 'verticalGroupStyle', 'horizontalGroupStyle'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::LegacyChartTooltips>\\n  <Reporting::Element::ChartBar\\n    @signal={{@signal}}\\n    @color={{@color}}\\n    @width={{@width}}\\n    @height={{@height}}\\n    @range={{@range}}\\n    @showComparison={{@showComparison}}\\n    @hoverTextUnit={{@hoverTextUnit}}\\n  />\\n</Reporting::LegacyChartTooltips>\\n\", {\"contents\":\"<Reporting::LegacyChartTooltips>\\n  <Reporting::Element::ChartBar\\n    @signal={{@signal}}\\n    @color={{@color}}\\n    @width={{@width}}\\n    @height={{@height}}\\n    @range={{@range}}\\n    @showComparison={{@showComparison}}\\n    @hoverTextUnit={{@hoverTextUnit}}\\n  />\\n</Reporting::LegacyChartTooltips>\\n\",\"moduleName\":\"embercom/components/reporting/element/chart-bar-with-tooltips.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/chart-bar-with-tooltips.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { computed } from '@ember/object';\nimport { and } from '@ember/object/computed';\nimport BaseChart from 'embercom/components/reporting/base-chart';\nimport AxesMixin from 'embercom/components/reporting/axes-mixin';\nimport d3Color from 'd3-color';\nimport { select } from 'd3-selection';\nimport { buildPalette } from 'embercom/helpers/palette';\nimport defaultTo from '@intercom/embercom-core/lib/default-to';\n\nexport default BaseChart.extend(AxesMixin, {\n  'data-test-reporting-bar-chart': true,\n  classNames: ['reporting__chart__bar-chart'],\n  showComparison: defaultTo(true),\n  renderComparisonData: and('showComparison', 'signal.comparison'),\n\n  bucketWidth: computed('chartWidth', 'data.length', function() {\n    let maxBucketWidth = 30;\n    let minBucketWidth = 2;\n    let minGapWidth = 5;\n\n    let availableBarSpace = this.chartWidth / this.get('data.length');\n    let cappedBucketWidth = Math.min(availableBarSpace - minGapWidth, maxBucketWidth);\n    return Math.max(minBucketWidth, cappedBucketWidth);\n  }),\n  gapWidth: computed('data.length', 'chartWidth', 'bucketWidth', function() {\n    let bucketCount = this.get('data.length');\n    let chartWidth = this.chartWidth;\n    let bucketWidth = this.bucketWidth;\n    return Math.max(2, (chartWidth - bucketCount * bucketWidth) / bucketCount);\n  }),\n\n  redrawChart() {\n    let data = this.data;\n    let transitionDuration = this.transitionDuration;\n    let xScale = this.xScale;\n    let yScale = this.yScale;\n    let chartHeight = this.chartHeight;\n    let barWidth = this.bucketWidth / 2;\n    let gapWidth = this.gapWidth;\n    let color = buildPalette([this.color]);\n    let renderComparisonData = this.renderComparisonData;\n\n    let valueUnit = this.hoverTextUnit || this.get('signal.valueUnit');\n\n    let bars = this.chart()\n      .selectAll('.reporting__chart__bar-container')\n      .data(data, d => d.key);\n\n    bars\n      .exit()\n      .transition()\n      .duration(transitionDuration)\n      .remove()\n      .selectAll('rect')\n      .attr('y', chartHeight)\n      .attr('height', 0);\n\n    let enterJoinBars = bars\n      .enter()\n      .append('g')\n      .classed('reporting__chart__bar-container', true);\n\n    function xTransform(d) {\n      let x_val = xScale(new Date(d.key)) + gapWidth / 2;\n      return `translate(${x_val}, 0)`;\n    }\n\n    enterJoinBars\n      .append('rect')\n      .classed('reporting__chart__bar', true)\n      .classed('js__legacy-reporting-tooltip', true)\n      .classed('reporting__chart__transition', true)\n      .attr('data-component', 'tooltips/reporting-chart-datum')\n      .attr('data-value-unit', valueUnit)\n      .attr('data-value-unit-is-minute', this.get('signal.valueUnitIsMinute'))\n      .attr('transform', d => xTransform(d))\n      .attr('x', d => (renderComparisonData ? barWidth : barWidth / 2)) // if there's no comparison bar we center this single bar.\n      .attr('y', chartHeight)\n      .attr('height', 0)\n      .style('opacity', 0)\n      .attr('fill', color)\n      .on('mouseover', function() {\n        select(this).attr('fill', d3Color.color(color).darker(0.2));\n      })\n      .on('mouseout', function() {\n        select(this).attr('fill', color);\n      });\n\n    enterJoinBars\n      .merge(bars)\n      .select('rect.reporting__chart__bar')\n      .attr('data-current-date', d => d.key)\n      .attr('data-timezone', this.timezone)\n      .attr('data-comparison-date', d => d.previousKey)\n      .attr('data-current-value', d => d.value)\n      .attr('data-range-start', this.get('range.start'))\n      .attr('data-range-end', this.get('range.end'))\n      .attr('data-aggregation-interval', this.get('range.interval'))\n      .transition()\n      .duration(transitionDuration)\n      .attr('transform', d => xTransform(d))\n      .attr('width', barWidth)\n      .attr('y', d => yScale(d.value))\n      .style('opacity', 1)\n      .attr('height', d => chartHeight - yScale(d.value));\n\n    if (renderComparisonData) {\n      enterJoinBars\n        .append('rect')\n        .classed('reporting__chart__bar-comparison', true)\n        .classed('js__legacy-reporting-tooltip', true)\n        .attr('data-component', 'tooltips/reporting-chart-datum')\n        .attr('data-value-unit', valueUnit)\n        .attr('data-value-unit-is-minute', this.get('signal.valueUnitIsMinute'))\n        .attr('transform', d => xTransform(d))\n        .attr('y', chartHeight)\n        .attr('height', 0)\n        .style('opacity', 0);\n\n      enterJoinBars\n        .merge(bars)\n        .select('rect.reporting__chart__bar-comparison')\n        .attr('data-current-date', d => d.previousKey)\n        .attr('data-timezone', this.timezone)\n        .attr('data-current-value', d => d.previousValue)\n        .attr('data-range-start', this.get('range.comparisonStart'))\n        .attr('data-range-end', this.get('range.comparisonEnd'))\n        .attr('data-previous-period', true)\n        .attr('data-comparison-date', d => d.key)\n        .attr('data-aggregation-interval', this.get('range.interval'))\n        .transition()\n        .duration(transitionDuration)\n        .attr('transform', d => xTransform(d))\n        .attr('width', barWidth)\n        .attr('x', -2)\n        .attr('y', d => yScale(d.previousValue))\n        .style('opacity', 1)\n        .attr('height', d => chartHeight - yScale(d.previousValue));\n    }\n\n    this.redrawAxes();\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"reporting__chart u__relative w-full\\\" data-test-reporting-comparison-bar-chart data-test-reporting-bar-chart>\\n  {{#each this.series key=\\\"key\\\" as |group|}}\\n    <Reporting::Element::ComparisonBarGroup\\n      @maxValue={{@maxValue}}\\n      @signal={{@signal}}\\n      @total={{@report.total}}\\n      @units={{@units}}\\n      @unit={{@unit}}\\n      @tooltips={{@tooltips}}\\n      @tooltipComponent={{component (or @tooltipComponent \\\"reporting/tooltip/default-tooltip\\\")\\n        rangeStart=@signal.datePickerRangeStart\\n        rangeEnd=@signal.datePickerRangeEnd\\n        aggregationInterval=@signal.interval\\n        timezone=@signal.timezone\\n        currentDate=group.key\\n        total=group.current.count\\n      }}\\n      @current={{group.current}}\\n      @previous={{group.previous}}\\n      @color={{@color}}\\n      @scale={{@yScale}}\\n      @x={{add group.x this.offset}}\\n      @scaleX={{this.barScale}}\\n    />\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"reporting__chart u__relative w-full\\\" data-test-reporting-comparison-bar-chart data-test-reporting-bar-chart>\\n  {{#each this.series key=\\\"key\\\" as |group|}}\\n    <Reporting::Element::ComparisonBarGroup\\n      @maxValue={{@maxValue}}\\n      @signal={{@signal}}\\n      @total={{@report.total}}\\n      @units={{@units}}\\n      @unit={{@unit}}\\n      @tooltips={{@tooltips}}\\n      @tooltipComponent={{component (or @tooltipComponent \\\"reporting/tooltip/default-tooltip\\\")\\n        rangeStart=@signal.datePickerRangeStart\\n        rangeEnd=@signal.datePickerRangeEnd\\n        aggregationInterval=@signal.interval\\n        timezone=@signal.timezone\\n        currentDate=group.key\\n        total=group.current.count\\n      }}\\n      @current={{group.current}}\\n      @previous={{group.previous}}\\n      @color={{@color}}\\n      @scale={{@yScale}}\\n      @x={{add group.x this.offset}}\\n      @scaleX={{this.barScale}}\\n    />\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/chart-comparison-bar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/chart-comparison-bar.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport moment from 'moment';\n\nconst ITEM_WIDTH = 46; //corresponds to max-width set in reporting/_axes.scss\nconst BAR_WIDTH = 40 + 2; //corresponds to width set in reporting/_chart.scss\n\nexport default Component.extend({\n  tagName: '',\n  offset: (ITEM_WIDTH - BAR_WIDTH) / 2,\n  barScale: computed('width', 'signal.context.length', function() {\n    return Math.min(this.width / (this.signal.context.length * (BAR_WIDTH + 10)), 1); //prevent bars from scaling larger than 100% their set width\n  }),\n  series: computed('signal.{context,previousContext,timezone}', 'xScale', function() {\n    if (!this.signal.context || !this.signal.previousContext || !this.xScale) {\n      return;\n    }\n\n    return this.signal.context.map((current, i) => ({\n      key: current.key,\n      current,\n      x: this.xScale(moment.tz(current.key, this.signal.timezone)),\n      previous: this.signal.previousContext[i],\n    }));\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row\\\" data-test-chart-heatmap>\\n  <div class=\\\"reporting__chart__heatmap-axis mr-2\\\">\\n    {{#each this.hours as |hour|}}\\n      <div class=\\\"reporting__chart__cell-column-label-container\\\" data-test-heatmap-y-axis-item>\\n        <div class=\\\"reporting__chart__heatmap-axis-label reporting__axes__label-text t__light-text\\\"> {{hour}} </div>\\n      </div>\\n    {{/each}}\\n  </div>\\n  <div class=\\\"flex flex-row flex-1\\\">\\n    {{#each @signal.context key=\\\"key\\\" as |column index|}}\\n      <div class=\\\"reporting__chart__cell-column w-full\\\">\\n        <Reporting::Element::HeatmapColumn\\n          @maxValue={{this.maxValue}}\\n          @maxValueLabel={{@maxValueLabel}}\\n          @data={{column.value}}\\n          @label={{get this.days index}}\\n          @colorScale={{this.colorScale}}\\n          @unit={{@signal.valueUnit}}\\n          @tooltip={{@tooltip}}\\n        />\\n      </div>\\n    {{/each}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row\\\" data-test-chart-heatmap>\\n  <div class=\\\"reporting__chart__heatmap-axis mr-2\\\">\\n    {{#each this.hours as |hour|}}\\n      <div class=\\\"reporting__chart__cell-column-label-container\\\" data-test-heatmap-y-axis-item>\\n        <div class=\\\"reporting__chart__heatmap-axis-label reporting__axes__label-text t__light-text\\\"> {{hour}} </div>\\n      </div>\\n    {{/each}}\\n  </div>\\n  <div class=\\\"flex flex-row flex-1\\\">\\n    {{#each @signal.context key=\\\"key\\\" as |column index|}}\\n      <div class=\\\"reporting__chart__cell-column w-full\\\">\\n        <Reporting::Element::HeatmapColumn\\n          @maxValue={{this.maxValue}}\\n          @maxValueLabel={{@maxValueLabel}}\\n          @data={{column.value}}\\n          @label={{get this.days index}}\\n          @colorScale={{this.colorScale}}\\n          @unit={{@signal.valueUnit}}\\n          @tooltip={{@tooltip}}\\n        />\\n      </div>\\n    {{/each}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/chart-heatmap.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/chart-heatmap.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { scaleQuantize } from 'd3-scale';\n\nconst DEFAULT_HEATMAP_COLORS = [\n  'vis-blue-80',\n  'vis-blue-70',\n  'vis-blue-60',\n  'vis-blue-40',\n  'vis-blue-30',\n];\nconst DAYS = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'];\nconst HOURS = ['12am', '3am', '6am', '9am', '12pm', '3pm', '6pm', '9pm'];\n\nexport default Component.extend({\n  tagName: '',\n  days: DAYS,\n  hours: HOURS,\n  colorScale: computed('maxValue', 'colors', function() {\n    return scaleQuantize()\n      .domain([0, this.maxValue])\n      .range(this.colors || DEFAULT_HEATMAP_COLORS);\n  }),\n  maxValue: computed('signal.context', function() {\n    let bucketMax = bucket => Math.max(...bucket.map(item => item.value));\n    return Math.max(...this.signal.context.map(({ value }) => bucketMax(value)));\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"overflow-hidden\\\">\\n  <div class=\\\"reporting__chart__runner w-full u__relative {{if @rule \\\"u__mt__10 u__mb__10\\\"}}\\\">\\n    <div class=\\\"reporting__chart__bar-group o__horizontal\\\">\\n      {{#each this.series key=\\\"key\\\" as |group|}}\\n        <Reporting::Element::Bar\\n          @start={{group.start}}\\n          @scale={{group.scale}}\\n          @key={{group.key}}\\n          @unit={{@unit}}\\n          @color={{get @keyColorHash group.key}}\\n          @currentValue={{get @report.percentagesByKey group.key}}\\n          @count={{get @report.totalsPerKey group.key}}\\n          @tooltip={{get @tooltips group.key}}\\n          @tooltipComponent={{component\\n            (or @tooltipComponent \\\"reporting/tooltip/horizontal-bar\\\")\\n            total=@report.total\\n          }}\\n        />\\n        {{#if (and @rule (eq @rule.key group.key))}}\\n          <Reporting::Element::HorizontalBarRule\\n            @visible={{not @forceEmpty}}\\n            @color={{@rule.color}}\\n            @start={{group.end}}\\n          />\\n        {{/if}}\\n      {{/each}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"overflow-hidden\\\">\\n  <div class=\\\"reporting__chart__runner w-full u__relative {{if @rule \\\"u__mt__10 u__mb__10\\\"}}\\\">\\n    <div class=\\\"reporting__chart__bar-group o__horizontal\\\">\\n      {{#each this.series key=\\\"key\\\" as |group|}}\\n        <Reporting::Element::Bar\\n          @start={{group.start}}\\n          @scale={{group.scale}}\\n          @key={{group.key}}\\n          @unit={{@unit}}\\n          @color={{get @keyColorHash group.key}}\\n          @currentValue={{get @report.percentagesByKey group.key}}\\n          @count={{get @report.totalsPerKey group.key}}\\n          @tooltip={{get @tooltips group.key}}\\n          @tooltipComponent={{component\\n            (or @tooltipComponent \\\"reporting/tooltip/horizontal-bar\\\")\\n            total=@report.total\\n          }}\\n        />\\n        {{#if (and @rule (eq @rule.key group.key))}}\\n          <Reporting::Element::HorizontalBarRule\\n            @visible={{not @forceEmpty}}\\n            @color={{@rule.color}}\\n            @start={{group.end}}\\n          />\\n        {{/if}}\\n      {{/each}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/chart-horizontal-bar-with-rule.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/chart-horizontal-bar-with-rule.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { stack } from 'd3-shape';\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  'data-test-reporting-horizontal-bar-chart-with-rule': true,\n  series: computed('keys', 'report.percentagesByKey', function() {\n    let layers = stack()\n      .keys(this.keys)\n      .value((d, key) => d[key] || 0)([this.report.percentagesByKey]);\n\n    return layers.map(layer => {\n      let [start, end] = layer[0];\n\n      return {\n        start,\n        end,\n        scale: (end - start) / 100,\n        key: layer.key,\n      };\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"overflow-hidden\\\" data-test-reporting-horizontal-bar-chart>\\n  <div class=\\\"reporting__chart__runner w-full u__relative\\\">\\n    <Reporting::Element::BarGroup\\n      @orientation=\\\"horizontal\\\"\\n      @maxValue={{100}}\\n      @report={{@report}}\\n      @unit={{@unit}}\\n      @tooltips={{@tooltips}}\\n      @tooltipComponent={{component\\n        (or @tooltipComponent \\\"reporting/tooltip/horizontal-bar\\\")\\n        total=@report.value\\n      }}\\n      @keyColorHash={{@keyColorHash}}\\n      @keys={{@keys}}\\n      @group={{@report.context}}\\n      @x={{0}}\\n    />\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"overflow-hidden\\\" data-test-reporting-horizontal-bar-chart>\\n  <div class=\\\"reporting__chart__runner w-full u__relative\\\">\\n    <Reporting::Element::BarGroup\\n      @orientation=\\\"horizontal\\\"\\n      @maxValue={{100}}\\n      @report={{@report}}\\n      @unit={{@unit}}\\n      @tooltips={{@tooltips}}\\n      @tooltipComponent={{component\\n        (or @tooltipComponent \\\"reporting/tooltip/horizontal-bar\\\")\\n        total=@report.value\\n      }}\\n      @keyColorHash={{@keyColorHash}}\\n      @keys={{@keys}}\\n      @group={{@report.context}}\\n      @x={{0}}\\n    />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/chart-horizontal-bar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/chart-horizontal-bar.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"reporting__chart__line-container\\\" data-test-reporting-line-chart>\\n  {{#if (not this.isEmpty)}}\\n    <Reporting::Element::Line\\n      @series={{this.series}}\\n      @height={{@height}}\\n      @width={{@width}}\\n      @xScale={{@xScale}}\\n      @yScale={{@yScale}}\\n      @keyColorHash={{@keyColorHash}}\\n    />\\n    {{#each this.plots key=\\\"key\\\" as |line i|}}\\n      {{#each line.points key=\\\"key\\\" as |point|}}\\n        <Reporting::Element::Point\\n          @key={{point.key}}\\n          @currentValue={{point.value}}\\n          @x={{point.x}}\\n          @y={{point.y}}\\n          @color={{get @keyColorHash line.key}}\\n          @unit={{or @unit (get @units line.key)}}\\n          @tooltip={{get @tooltips line.key}}\\n          @tooltipComponent={{component\\n            \\\"reporting/tooltip/default-tooltip\\\"\\n            rangeStart=@signal.datePickerRangeStart\\n            rangeEnd=@signal.datePickerRangeEnd\\n            aggregationInterval=@signal.interval\\n            timezone=@signal.timezone\\n            currentDate=point.key\\n          }}\\n        />\\n      {{/each}}\\n    {{/each}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"reporting__chart__line-container\\\" data-test-reporting-line-chart>\\n  {{#if (not this.isEmpty)}}\\n    <Reporting::Element::Line\\n      @series={{this.series}}\\n      @height={{@height}}\\n      @width={{@width}}\\n      @xScale={{@xScale}}\\n      @yScale={{@yScale}}\\n      @keyColorHash={{@keyColorHash}}\\n    />\\n    {{#each this.plots key=\\\"key\\\" as |line i|}}\\n      {{#each line.points key=\\\"key\\\" as |point|}}\\n        <Reporting::Element::Point\\n          @key={{point.key}}\\n          @currentValue={{point.value}}\\n          @x={{point.x}}\\n          @y={{point.y}}\\n          @color={{get @keyColorHash line.key}}\\n          @unit={{or @unit (get @units line.key)}}\\n          @tooltip={{get @tooltips line.key}}\\n          @tooltipComponent={{component\\n            \\\"reporting/tooltip/default-tooltip\\\"\\n            rangeStart=@signal.datePickerRangeStart\\n            rangeEnd=@signal.datePickerRangeEnd\\n            aggregationInterval=@signal.interval\\n            timezone=@signal.timezone\\n            currentDate=point.key\\n          }}\\n        />\\n      {{/each}}\\n    {{/each}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/chart-line.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/chart-line.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  tagName: '',\n  series: computed('signal.context', 'keys', function() {\n    return this.keys.map(key => ({\n      key,\n      value: this.signal.context.map(item => {\n        let { count = 0, value = 0 } = item.value.find(val => val.key === key) || {};\n\n        return {\n          key: item.key,\n          count,\n          value,\n        };\n      }),\n    }));\n  }),\n\n  plots: computed('series', 'height', 'xScale', 'yScale', function() {\n    return this.series.map(line => ({\n      key: line.key,\n      points: line.value.map(point => ({\n        ...point,\n        x: this.xScale(new Date(point.key)) + 46 / 2,\n        y: this.height - this.yScale(point.value),\n      })),\n    }));\n  }),\n\n  isEmpty: computed('signal.context', function() {\n    return this.signal.context.every(contextItem => {\n      if (Array.isArray(contextItem.value)) {\n        return (\n          contextItem.count === 0 &&\n          contextItem.value.every(valueItem => {\n            return valueItem.count === 0 && valueItem.value === 0;\n          })\n        );\n      } else {\n        return contextItem.count === 0 && contextItem.value === 0;\n      }\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"reporting__chart u__relative w-full\\\" data-test-stacked-bar-chart data-test-reporting-bar-chart>\\n  {{#each this.series key=\\\"key\\\" as |group|}}\\n    <Reporting::Element::BarGroup\\n      @orientation=\\\"vertical\\\"\\n      @maxValue={{@maxValue}}\\n      @report={{@report}}\\n      @total={{@report.total}}\\n      @units={{@units}}\\n      @unit={{@unit}}\\n      @tooltips={{@tooltips}}\\n      @tooltipComponent={{component (or @tooltipComponent \\\"reporting/tooltip/default-tooltip\\\")\\n        rangeStart=@signal.datePickerRangeStart\\n        rangeEnd=@signal.datePickerRangeEnd\\n        aggregationInterval=@signal.interval\\n        timezone=@signal.timezone\\n        currentDate=group.key\\n        total=group.count\\n      }}\\n      @keyColorHash={{if @color (hash key=@color) @keyColorHash}}\\n      @keys={{or @keys (array 'key')}}\\n      @group={{group.value}}\\n      @scale={{@yScale}}\\n      @x={{add group.x this.offset}}\\n      @scaleX={{this.barScale}}\\n    />\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"reporting__chart u__relative w-full\\\" data-test-stacked-bar-chart data-test-reporting-bar-chart>\\n  {{#each this.series key=\\\"key\\\" as |group|}}\\n    <Reporting::Element::BarGroup\\n      @orientation=\\\"vertical\\\"\\n      @maxValue={{@maxValue}}\\n      @report={{@report}}\\n      @total={{@report.total}}\\n      @units={{@units}}\\n      @unit={{@unit}}\\n      @tooltips={{@tooltips}}\\n      @tooltipComponent={{component (or @tooltipComponent \\\"reporting/tooltip/default-tooltip\\\")\\n        rangeStart=@signal.datePickerRangeStart\\n        rangeEnd=@signal.datePickerRangeEnd\\n        aggregationInterval=@signal.interval\\n        timezone=@signal.timezone\\n        currentDate=group.key\\n        total=group.count\\n      }}\\n      @keyColorHash={{if @color (hash key=@color) @keyColorHash}}\\n      @keys={{or @keys (array 'key')}}\\n      @group={{group.value}}\\n      @scale={{@yScale}}\\n      @x={{add group.x this.offset}}\\n      @scaleX={{this.barScale}}\\n    />\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/chart-stackable-bar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/chart-stackable-bar.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport moment from 'moment';\n\nconst ITEM_WIDTH = 46; //corresponds to max-width set in reporting/_axes.scss\nconst BAR_WIDTH = 20; //corresponds to width set in reporting/_chart.scss\n\nconst valuesAreArrays = ({ context }) => context.every(item => Array.isArray(item.value));\n\nconst convertSignalContextToStack = ({ context }) => {\n  return valuesAreArrays({ context })\n    ? context\n    : context.map(({ key, count, value }) => ({\n        key,\n        count,\n        value: [{ key: 'key', count, value }],\n      }));\n};\n\nexport default Component.extend({\n  'data-test-reporting-stackable-bar-chart': true,\n  offset: (ITEM_WIDTH - BAR_WIDTH) / 2,\n  barScale: computed('width', 'signal.context.length', function() {\n    return Math.min(this.width / (this.signal.context.length * (BAR_WIDTH + 10)), 1); //prevent bars from scaling larger than 100% their set width\n  }),\n  data: computed('signal.context', function() {\n    return convertSignalContextToStack(this.signal);\n  }),\n  series: computed('data', 'signal.timezone', 'xScale', function() {\n    if (!this.data || !this.xScale) {\n      return;\n    }\n\n    return this.data.map(d => ({\n      ...d,\n      x: this.xScale(moment.tz(d.key, this.signal.timezone)),\n    }));\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<div\\n  class=\\\"reporting__chart__bar-group-container o__vertical w-full absolute flex flex-col justify-end reporting__chart__transform o__comparison\\\"\\n  style={{this.style}}\\n>\\n  <div class=\\\"reporting__chart__bar-group o__vertical o__comparison\\\" >\\n    {{#if this.hasPreviousBar}}\\n      <Reporting::Element::Bar\\n        @orientation=\\\"vertical\\\"\\n        @start={{this.previousBar.start}}\\n        @scale={{this.previousBar.scale}}\\n        @key={{this.previousBar.key}}\\n        @currentValue={{this.previousBar.value}}\\n        @count={{this.previousBar.count}}\\n        @maxValue={{@maxValue}}\\n        @color=\\\"gray-light\\\"\\n        @unit={{or @unit (get @units this.previousBar.key)}}\\n        @tooltip={{get @tooltips 'comparison'}}\\n        @tooltipComponent={{component @tooltipComponent\\n          currentDate=this.previousBar.key\\n          comparison=true\\n        }}\\n      />\\n    {{/if}}\\n  </div>\\n  <div class=\\\"reporting__chart__bar-group o__vertical o__current\\\">\\n    <Reporting::Element::Bar\\n      @orientation=\\\"vertical\\\"\\n      @start={{this.currentBar.start}}\\n      @scale={{this.currentBar.scale}}\\n      @key={{this.currentBar.key}}\\n      @currentValue={{this.currentBar.value}}\\n      @count={{this.currentBar.count}}\\n      @maxValue={{@maxValue}}\\n      @color={{@color}}\\n      @unit={{or @unit (get @units this.currentBar.key)}}\\n      @tooltip={{get @tooltips 'current'}}\\n      @tooltipComponent={{@tooltipComponent}}\\n    />\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<div\\n  class=\\\"reporting__chart__bar-group-container o__vertical w-full absolute flex flex-col justify-end reporting__chart__transform o__comparison\\\"\\n  style={{this.style}}\\n>\\n  <div class=\\\"reporting__chart__bar-group o__vertical o__comparison\\\" >\\n    {{#if this.hasPreviousBar}}\\n      <Reporting::Element::Bar\\n        @orientation=\\\"vertical\\\"\\n        @start={{this.previousBar.start}}\\n        @scale={{this.previousBar.scale}}\\n        @key={{this.previousBar.key}}\\n        @currentValue={{this.previousBar.value}}\\n        @count={{this.previousBar.count}}\\n        @maxValue={{@maxValue}}\\n        @color=\\\"gray-light\\\"\\n        @unit={{or @unit (get @units this.previousBar.key)}}\\n        @tooltip={{get @tooltips 'comparison'}}\\n        @tooltipComponent={{component @tooltipComponent\\n          currentDate=this.previousBar.key\\n          comparison=true\\n        }}\\n      />\\n    {{/if}}\\n  </div>\\n  <div class=\\\"reporting__chart__bar-group o__vertical o__current\\\">\\n    <Reporting::Element::Bar\\n      @orientation=\\\"vertical\\\"\\n      @start={{this.currentBar.start}}\\n      @scale={{this.currentBar.scale}}\\n      @key={{this.currentBar.key}}\\n      @currentValue={{this.currentBar.value}}\\n      @count={{this.currentBar.count}}\\n      @maxValue={{@maxValue}}\\n      @color={{@color}}\\n      @unit={{or @unit (get @units this.currentBar.key)}}\\n      @tooltip={{get @tooltips 'current'}}\\n      @tooltipComponent={{@tooltipComponent}}\\n    />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/comparison-bar-group.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/comparison-bar-group.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { fmtStyle } from '@intercom/embercom-core/lib/computed-properties';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { createScaledStackItem } from 'embercom/lib/reporting/visualization-helpers';\n\nexport default Component.extend({\n  tagName: '',\n  style: fmtStyle('transform: translate3d(%@px,0,0) scale3d(%@,1,1);', 'x', 'scaleX'),\n  currentBar: computed('current', function() {\n    return {\n      ...this.current,\n      ...createScaledStackItem(0, this.current.value, this.scale),\n    };\n  }),\n  hasPreviousBar: readOnly('previous'),\n  previousBar: computed('previous', function() {\n    return {\n      ...this.previous,\n      ...createScaledStackItem(0, this.previous.value, this.scale),\n    };\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div ...attributes class=\\\"layout__box o__flexes-to-1\\\" data-test-comparison-statistic>\\n  <div class={{if (eq @size \\\"small\\\") \\\"t__body\\\" \\\"paywall__h1\\\"}} data-test-value={{@title}}>\\n    {{#if (or @forceEmpty (and (eq @currentValue 0) (eq @previousValue 0)))}}\\n      {{if @emptyStateString @emptyStateString \\\"-\\\"}}\\n    {{else if (eq @unit 'percent')}}\\n      {{format-percentage-reports @currentValue}}\\n    {{else}}\\n      {{unit-formatter @currentValue @unit}}\\n    {{/if}}\\n  </div>\\n  {{#if @title}}\\n    <p class=\\\"my-2\\\"> {{@title}} </p>\\n  {{/if}}\\n  <Reporting::Element::SummaryComparison\\n    @currentValue={{@currentValue}}\\n    @previousValue={{@previousValue}}\\n    @range={{@range}}\\n    @valueUnit={{@unit}}\\n    @improvementDirection={{@improvementDirection}}\\n  />\\n</div>\\n\", {\"contents\":\"<div ...attributes class=\\\"layout__box o__flexes-to-1\\\" data-test-comparison-statistic>\\n  <div class={{if (eq @size \\\"small\\\") \\\"t__body\\\" \\\"paywall__h1\\\"}} data-test-value={{@title}}>\\n    {{#if (or @forceEmpty (and (eq @currentValue 0) (eq @previousValue 0)))}}\\n      {{if @emptyStateString @emptyStateString \\\"-\\\"}}\\n    {{else if (eq @unit 'percent')}}\\n      {{format-percentage-reports @currentValue}}\\n    {{else}}\\n      {{unit-formatter @currentValue @unit}}\\n    {{/if}}\\n  </div>\\n  {{#if @title}}\\n    <p class=\\\"my-2\\\"> {{@title}} </p>\\n  {{/if}}\\n  <Reporting::Element::SummaryComparison\\n    @currentValue={{@currentValue}}\\n    @previousValue={{@previousValue}}\\n    @range={{@range}}\\n    @valueUnit={{@unit}}\\n    @improvementDirection={{@improvementDirection}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/comparison-statistic.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/comparison-statistic.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{yield this.width}}\\n\", {\"contents\":\"{{yield this.width}}\\n\",\"moduleName\":\"embercom/components/reporting/element/container-width.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/container-width.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { addEventListener, debounceTask, runDisposables } from 'ember-lifeline';\nimport ENV from 'embercom/config/environment';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  width: 0,\n  didInsertElement() {\n    this._super(...arguments);\n    this.setComponentWidth();\n    addEventListener(this, window, 'resize', () => this.setComponentWidthDebounced());\n  },\n  navbarCollapsed: notImplemented(\n    'reporting/element/container-width: you must pass the `collapsed` property of the navbarCollapsing service',\n  ),\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    // the navbar collapse animation is set to run for 300ms,\n    // we need to wait for that to complete before updating the width of the component\n    setTimeout(() => this.setComponentWidthDebounced(), 300);\n  },\n\n  destroy() {\n    this._super(...arguments);\n    runDisposables(this);\n  },\n\n  setComponentWidthDebounced() {\n    debounceTask(this, 'setComponentWidth', ENV.APP._50MS);\n  },\n\n  setComponentWidth() {\n    if (this.element) {\n      this.set('width', this.element.clientWidth);\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (and (eq @currentValue 0) (eq @previousValue 0))}}\\n  <Heading @size=\\\"1\\\" data-test-empty-state>-</Heading>\\n{{else if (eq @currentValue 0)}}\\n  <Heading @size=\\\"1\\\" data-test-empty-state>\\n    {{unit-formatter @currentValue}}\\n  </Heading>\\n{{else}}\\n  <IcTooltip as |t|>\\n    <t.opener>\\n      <PulseCandidate::DisplayText\\n        @size=\\\"2\\\"\\n        @linkStyling=\\\"subtle\\\"\\n        {{on \\\"click\\\" (fn @linkAction @currentValue)}}\\n        data-test-summary-value\\n      >\\n        {{unit-formatter @currentValue}}\\n    </PulseCandidate::DisplayText>\\n  </t.opener>\\n  <t.content>\\n    Click to see conversations\\n  </t.content>\\n  </IcTooltip>\\n{{/if}}\\n\", {\"contents\":\"{{#if (and (eq @currentValue 0) (eq @previousValue 0))}}\\n  <Heading @size=\\\"1\\\" data-test-empty-state>-</Heading>\\n{{else if (eq @currentValue 0)}}\\n  <Heading @size=\\\"1\\\" data-test-empty-state>\\n    {{unit-formatter @currentValue}}\\n  </Heading>\\n{{else}}\\n  <IcTooltip as |t|>\\n    <t.opener>\\n      <PulseCandidate::DisplayText\\n        @size=\\\"2\\\"\\n        @linkStyling=\\\"subtle\\\"\\n        {{on \\\"click\\\" (fn @linkAction @currentValue)}}\\n        data-test-summary-value\\n      >\\n        {{unit-formatter @currentValue}}\\n    </PulseCandidate::DisplayText>\\n  </t.opener>\\n  <t.content>\\n    Click to see conversations\\n  </t.content>\\n  </IcTooltip>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/reporting/element/conversations-link-summary-value.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/conversations-link-summary-value.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"t__h1\\\">\\n  <IcTooltip as |context|>\\n    <context.opener>\\n      <PulseCandidate::DisplayText @size='2' data-test-summary-value>\\n        {{format-percentage-reports @currentValue}}\\n        <span class=\\\"reporting__conversation-ratings-emoji conversation-rating__rating-4\\\"></span> or <span class=\\\"reporting__conversation-ratings-emoji conversation-rating__rating-5\\\"></span>\\n      </PulseCandidate::DisplayText>\\n    </context.opener>\\n    <context.content>\\n      <span data-test-tooltip-content>\\n        {{or @count 0}} of {{or @total 0}} conversations\\n      </span>\\n    </context.content>\\n  </IcTooltip>\\n</div>\\n\", {\"contents\":\"<div class=\\\"t__h1\\\">\\n  <IcTooltip as |context|>\\n    <context.opener>\\n      <PulseCandidate::DisplayText @size='2' data-test-summary-value>\\n        {{format-percentage-reports @currentValue}}\\n        <span class=\\\"reporting__conversation-ratings-emoji conversation-rating__rating-4\\\"></span> or <span class=\\\"reporting__conversation-ratings-emoji conversation-rating__rating-5\\\"></span>\\n      </PulseCandidate::DisplayText>\\n    </context.opener>\\n    <context.content>\\n      <span data-test-tooltip-content>\\n        {{or @count 0}} of {{or @total 0}} conversations\\n      </span>\\n    </context.content>\\n  </IcTooltip>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/happiness-summary-value.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/happiness-summary-value.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip as |t|>\\n  <t.opener>\\n    <div class=\\\"flex flex-col justify-center items-center flex-1 reporting__chart__cell u__absolute-shim w-full o__{{or @color 'vis-blue-40'}} {{if @empty 'o__empty'}}\\\" data-test-heatmap-cell>\\n      {{#if @isMaxCell}}\\n        <span data-test-heatmap-label>{{@label}}</span>\\n      {{/if}}\\n    </div>\\n  </t.opener>\\n  <t.content>\\n    {{component (or @tooltipComponent 'reporting/tooltip/heatmap-tooltip')\\n      key=@key\\n      currentValue=@currentValue\\n      tooltip=@tooltip\\n      unit=@unit\\n    }}\\n  </t.content>\\n</IcTooltip>\\n\", {\"contents\":\"<IcTooltip as |t|>\\n  <t.opener>\\n    <div class=\\\"flex flex-col justify-center items-center flex-1 reporting__chart__cell u__absolute-shim w-full o__{{or @color 'vis-blue-40'}} {{if @empty 'o__empty'}}\\\" data-test-heatmap-cell>\\n      {{#if @isMaxCell}}\\n        <span data-test-heatmap-label>{{@label}}</span>\\n      {{/if}}\\n    </div>\\n  </t.opener>\\n  <t.content>\\n    {{component (or @tooltipComponent 'reporting/tooltip/heatmap-tooltip')\\n      key=@key\\n      currentValue=@currentValue\\n      tooltip=@tooltip\\n      unit=@unit\\n    }}\\n  </t.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/reporting/element/heatmap-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/heatmap-cell.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col justify-start items-center flex-1\\\" data-test-heatmap-column>\\n  <div class=\\\"reporting__chart__heatmap-axis-label reporting__axes__label-text t__light-text mb-1\\\">\\n    {{@label}}\\n  </div>\\n\\n  {{#each this.series key=\\\"key\\\" as |cell|}}\\n    <div class=\\\"reporting__chart__cell-container w-full u__relative\\\">\\n      <Reporting::Element::HeatmapCell\\n        @isMaxCell={{cell.isMaxCell}}\\n        @label={{@maxValueLabel}}\\n        @empty={{eq cell.value 0}}\\n        @color={{cell.color}}\\n        @currentValue={{cell.value}}\\n        @count={{cell.count}}\\n        @key={{cell.key}}\\n        @maxValue={{@maxValue}}\\n        @unit={{or @unit (get @units cell.key)}}\\n        @tooltip={{or @tooltip (get @tooltips cell.key)}}\\n        @tooltipComponent={{component (or @tooltipComponent 'reporting/tooltip/heatmap-tooltip')\\n          column=@label\\n          cell=cell.hour\\n        }}\\n      />\\n    </div>\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col justify-start items-center flex-1\\\" data-test-heatmap-column>\\n  <div class=\\\"reporting__chart__heatmap-axis-label reporting__axes__label-text t__light-text mb-1\\\">\\n    {{@label}}\\n  </div>\\n\\n  {{#each this.series key=\\\"key\\\" as |cell|}}\\n    <div class=\\\"reporting__chart__cell-container w-full u__relative\\\">\\n      <Reporting::Element::HeatmapCell\\n        @isMaxCell={{cell.isMaxCell}}\\n        @label={{@maxValueLabel}}\\n        @empty={{eq cell.value 0}}\\n        @color={{cell.color}}\\n        @currentValue={{cell.value}}\\n        @count={{cell.count}}\\n        @key={{cell.key}}\\n        @maxValue={{@maxValue}}\\n        @unit={{or @unit (get @units cell.key)}}\\n        @tooltip={{or @tooltip (get @tooltips cell.key)}}\\n        @tooltipComponent={{component (or @tooltipComponent 'reporting/tooltip/heatmap-tooltip')\\n          column=@label\\n          cell=cell.hour\\n        }}\\n      />\\n    </div>\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/heatmap-column.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/heatmap-column.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nconst HOUR_INTERVAL_TIMES = [\n  '12am',\n  '1am',\n  '2am',\n  '3am',\n  '4am',\n  '5am',\n  '6am',\n  '7am',\n  '8am',\n  '9am',\n  '10am',\n  '11am',\n  '12pm',\n  '1pm',\n  '2pm',\n  '3pm',\n  '4pm',\n  '5pm',\n  '6pm',\n  '7pm',\n  '8pm',\n  '9pm',\n  '10pm',\n  '11pm',\n];\n\nexport default Component.extend({\n  tagName: '',\n  series: computed('data', 'colorScale', function() {\n    if (!this.data || !this.colorScale) {\n      return [];\n    }\n\n    return this.data.map(item => ({\n      ...item,\n      hour: HOUR_INTERVAL_TIMES[item.key],\n      isMaxCell: item.value === this.maxValue,\n      color: this.colorScale(item.value),\n    }));\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Element::Legend>\\n  <span class=\\\"t__light-text\\\" data-test-legend-start>\\n    {{@scaleStartText}}\\n  </span>\\n  <span class=\\\"reporting__legend__heatmap-color-container\\\">\\n    {{#each\\n      (or\\n        @colors\\n        (array\\n          \\\"vis-blue-80\\\"\\n          \\\"vis-blue-70\\\"\\n          \\\"vis-blue-60\\\"\\n          \\\"vis-blue-40\\\"\\n          \\\"vis-blue-30\\\"\\n        )\\n      ) as |color|\\n    }}\\n      <Reporting::Element::LegendIcon @shape=\\\"square\\\" @color={{color}} />\\n    {{/each}}\\n  </span>\\n  <span class=\\\"t__light-text\\\" data-test-legend-end>\\n    {{@scaleEndText}}\\n  </span>\\n</Reporting::Element::Legend>\\n\", {\"contents\":\"<Reporting::Element::Legend>\\n  <span class=\\\"t__light-text\\\" data-test-legend-start>\\n    {{@scaleStartText}}\\n  </span>\\n  <span class=\\\"reporting__legend__heatmap-color-container\\\">\\n    {{#each\\n      (or\\n        @colors\\n        (array\\n          \\\"vis-blue-80\\\"\\n          \\\"vis-blue-70\\\"\\n          \\\"vis-blue-60\\\"\\n          \\\"vis-blue-40\\\"\\n          \\\"vis-blue-30\\\"\\n        )\\n      ) as |color|\\n    }}\\n      <Reporting::Element::LegendIcon @shape=\\\"square\\\" @color={{color}} />\\n    {{/each}}\\n  </span>\\n  <span class=\\\"t__light-text\\\" data-test-legend-end>\\n    {{@scaleEndText}}\\n  </span>\\n</Reporting::Element::Legend>\\n\",\"moduleName\":\"embercom/components/reporting/element/heatmap-legend.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/heatmap-legend.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  data-test-rule\\n  class=\\\"reporting__chart__rule-container reporting__chart__transform absolute w-full\\\"\\n  style={{style}}\\n>\\n  <div class=\\\"reporting__chart__rule o__{{@color}} {{if (not @visible) \\\"opacity-0\\\"}}\\\"></div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  data-test-rule\\n  class=\\\"reporting__chart__rule-container reporting__chart__transform absolute w-full\\\"\\n  style={{style}}\\n>\\n  <div class=\\\"reporting__chart__rule o__{{@color}} {{if (not @visible) \\\"opacity-0\\\"}}\\\"></div>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/horizontal-bar-rule.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/horizontal-bar-rule.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { fmtStyle } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  tagName: '',\n  style: fmtStyle('transform: translateX(%@%);', 'start'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (eq @shape \\\"square\\\")}}\\n  <svg height=\\\"15\\\" width=\\\"30\\\">\\n    <rect data-test-legend-color class=\\\"reporting__chart__legend o__{{@color}}\\\" width=\\\"30\\\" height=\\\"15\\\"></rect>\\n  </svg>\\n{{else}}\\n  <svg height=\\\"10\\\" width=\\\"10\\\" class=\\\"u__mr__5\\\">\\n    <circle data-test-legend-color class=\\\"reporting__chart__legend o__{{@color}}\\\" cx=\\\"5\\\" cy=\\\"5\\\" r=\\\"5\\\"></circle>\\n  </svg>\\n{{/if}}\\n\", {\"contents\":\"{{#if (eq @shape \\\"square\\\")}}\\n  <svg height=\\\"15\\\" width=\\\"30\\\">\\n    <rect data-test-legend-color class=\\\"reporting__chart__legend o__{{@color}}\\\" width=\\\"30\\\" height=\\\"15\\\"></rect>\\n  </svg>\\n{{else}}\\n  <svg height=\\\"10\\\" width=\\\"10\\\" class=\\\"u__mr__5\\\">\\n    <circle data-test-legend-color class=\\\"reporting__chart__legend o__{{@color}}\\\" cx=\\\"5\\\" cy=\\\"5\\\" r=\\\"5\\\"></circle>\\n  </svg>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/reporting/element/legend-icon.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/legend-icon.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span ...attributes data-test-legend-item>\\n  <Reporting::Element::LegendIcon @color={{@color}} />\\n  <span class=\\\"t__light-text\\\" data-test-legend-text>\\n    {{#if hasBlock}}\\n      {{yield}}\\n    {{else}}\\n      {{@label}}\\n    {{/if}}\\n  </span>\\n</span>\\n\", {\"contents\":\"<span ...attributes data-test-legend-item>\\n  <Reporting::Element::LegendIcon @color={{@color}} />\\n  <span class=\\\"t__light-text\\\" data-test-legend-text>\\n    {{#if hasBlock}}\\n      {{yield}}\\n    {{else}}\\n      {{@label}}\\n    {{/if}}\\n  </span>\\n</span>\\n\",\"moduleName\":\"embercom/components/reporting/element/legend-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/legend-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex flex-row flex-wrap gap-6\\\" data-test-legend-list=\\\"true\\\">\\n  {{#each @items gutter=\\\"none\\\" as |item index|}}\\n    <div class=\\\"reporting__legend__legend-list-item u__padt__10 u__padb__10 u__padr__10\\\" >\\n      <Reporting::Element::LegendItem\\n        @label={{item.label}}\\n        @color={{get (or @keyColorHash defaultKeyColorHash) item.value}}\\n      />\\n    </div>\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex flex-row flex-wrap gap-6\\\" data-test-legend-list=\\\"true\\\">\\n  {{#each @items gutter=\\\"none\\\" as |item index|}}\\n    <div class=\\\"reporting__legend__legend-list-item u__padt__10 u__padb__10 u__padr__10\\\" >\\n      <Reporting::Element::LegendItem\\n        @label={{item.label}}\\n        @color={{get (or @keyColorHash defaultKeyColorHash) item.value}}\\n      />\\n    </div>\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/legend-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/legend-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { createColorHashForKeys } from 'embercom/lib/reporting/visualization-helpers';\n\nexport default Component.extend({\n  defaultKeyColorHash: computed('items', function() {\n    return this.items ? createColorHashForKeys(this.items) : {};\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div ...attributes data-test-reporting-legend class=\\\"flex justify-end\\\">\\n  {{#if hasBlock}}\\n    {{yield}}\\n  {{else}}\\n    {{#each @list as |item|}}\\n      <Reporting::Element::LegendItem\\n        class=\\\"ml-5\\\"\\n        @color={{item.color}}\\n        @label={{item.label}}\\n      />\\n    {{/each}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div ...attributes data-test-reporting-legend class=\\\"flex justify-end\\\">\\n  {{#if hasBlock}}\\n    {{yield}}\\n  {{else}}\\n    {{#each @list as |item|}}\\n      <Reporting::Element::LegendItem\\n        class=\\\"ml-5\\\"\\n        @color={{item.color}}\\n        @label={{item.label}}\\n      />\\n    {{/each}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/legend.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/legend.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<svg class=\\\"block overflow-visible\\\" width={{@width}} height={{@height}}>\\n  <g class=\\\"line\\\"></g>\\n</svg>\\n\", {\"contents\":\"<svg class=\\\"block overflow-visible\\\" width={{@width}} height={{@height}}>\\n  <g class=\\\"line\\\"></g>\\n</svg>\\n\",\"moduleName\":\"embercom/components/reporting/element/line.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/line.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { select } from 'd3-selection';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { line } from 'd3-shape';\nimport { interpolatePath } from 'd3-interpolate-path';\nimport { easeCubicOut } from 'd3-ease';\nimport 'd3-transition';\n\nlet createLine = ({ xScale, yScale = () => 0, height }) =>\n  line()\n    .x(d => xScale(new Date(d.key)) + 46 / 2)\n    .y(d => height - yScale(d.value));\n\nlet drawLines = ({ series, xScale, yScale, height, keyColorHash }) => chart => {\n  let initialLineFn = createLine({ xScale, height });\n  let finalLineFn = createLine({ xScale, yScale, height });\n\n  let points = chart.selectAll('.reporting__chart__series').data(series, d => d.key);\n\n  points.exit().remove();\n\n  let enterPoints = points\n    .enter()\n    .append('g')\n    .attr('class', d => `reporting__chart__series _${d.key}`);\n\n  enterPoints\n    .append('path')\n    .attr('class', 'reporting__chart__line')\n    .attr('d', d => initialLineFn(d.value));\n\n  return enterPoints\n    .merge(points)\n    .select('.reporting__chart__line')\n    .attr('class', (d, i) => `reporting__chart__line o__${keyColorHash[d.key]}`)\n    .transition()\n    .ease(easeCubicOut)\n    .duration(1000)\n    .attrTween('d', function(d) {\n      let previous = select(this).attr('d');\n      let current = finalLineFn(d.value);\n      return interpolatePath(previous, current);\n    });\n};\n\nexport default Component.extend({\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.drawLines.perform();\n  },\n  didInsertElement() {\n    this._super(...arguments);\n    this.drawLines.perform();\n  },\n\n  drawLines: task(function*() {\n    let line = select(this.element).select('.line');\n    yield drawLines({\n      series: this.series,\n      xScale: this.xScale,\n      yScale: this.yScale,\n      height: this.height,\n      keyColorHash: this.keyColorHash,\n    })(line);\n  }).restartable(),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"reporting__chart__point-container reporting__chart__transform absolute\\\"\\n  data-test-chart-point={{@currentValue}}\\n  style={{style}}\\n>\\n  <IcTooltip as |t|>\\n    <t.opener>\\n      <div class=\\\"reporting__chart__point-opener layout__box o__centers-all\\\">\\n        <div class=\\\"reporting__chart__point o__html o__{{@color}}\\\"></div>\\n      </div>\\n    </t.opener>\\n    <t.content>\\n      {{component\\n        @tooltipComponent\\n        key=@key\\n        currentValue=@currentValue\\n        tooltip=@tooltip\\n        unit=@unit\\n      }}\\n    </t.content>\\n  </IcTooltip>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"reporting__chart__point-container reporting__chart__transform absolute\\\"\\n  data-test-chart-point={{@currentValue}}\\n  style={{style}}\\n>\\n  <IcTooltip as |t|>\\n    <t.opener>\\n      <div class=\\\"reporting__chart__point-opener layout__box o__centers-all\\\">\\n        <div class=\\\"reporting__chart__point o__html o__{{@color}}\\\"></div>\\n      </div>\\n    </t.opener>\\n    <t.content>\\n      {{component\\n        @tooltipComponent\\n        key=@key\\n        currentValue=@currentValue\\n        tooltip=@tooltip\\n        unit=@unit\\n      }}\\n    </t.content>\\n  </IcTooltip>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/point.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/point.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { fmtStyle } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  tagName: '',\n  style: fmtStyle('transform: translateX(%@px) translateY(%@px);', 'x', 'y'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"reporting__axes__x-axis-rule mb-2\\\"></div>\\n\\n<div class=\\\"flex flex-row justify-between items-center\\\">\\n  {{#each this.axisItems as |item|}}\\n    <Reporting::Element::XAxisSimpleLabel\\n      @showTick={{this.showTicks}}\\n      @label={{unit-formatter item @unit}}\\n    />\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"reporting__axes__x-axis-rule mb-2\\\"></div>\\n\\n<div class=\\\"flex flex-row justify-between items-center\\\">\\n  {{#each this.axisItems as |item|}}\\n    <Reporting::Element::XAxisSimpleLabel\\n      @showTick={{this.showTicks}}\\n      @label={{unit-formatter item @unit}}\\n    />\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/simple-x-axis.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/simple-x-axis.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { scaleLinear } from 'd3-scale';\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  showTicks: true,\n  axisItems: computed('ticks', 'from', 'to', 'size', function() {\n    let scale = scaleLinear().domain([this.from, this.to]);\n\n    return scale.ticks(this.ticks || this.size === 'small' ? 1 : 5);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span\\n  data-test-previous-period-tooltip\\n  {{tooltip content=tooltipText isDisabled=(not @range)}}\\n>\\n  {{#if (and (or signalHasNotChanged @hideDelta) showDeltaText)}}\\n    {{#if (or showNotChangedText @hideDelta)}}\\n      <span\\n        class=\\\"reporting__summary-comparison__not-changed test__summary__no-change t__light-text\\\"\\n      >\\n        {{or @notChangedText \\\"Same as previous period\\\"}}\\n      </span>\\n    {{/if}}\\n  {{else}}\\n    <span class=\\\"reporting__summary__change test__summary__change o__small-arrow {{if signalHasIncreased \\\"o__increased\\\" \\\"o__decreased\\\"}} {{if signalHasImproved \\\"o__improved\\\" \\\"o__worsened\\\"}}\\\">\\n      <span class=\\\"reporting__summary__change-icon\\\">\\n        {{ic-interface-icon arrowIcon solo=true}}\\n      </span>\\n      {{#if (eq @valueUnit \\\"minute\\\")}}\\n        {{minutes-formatter (abs previousRangeDelta)}}\\n      {{else if (eq @valueUnit \\\"seconds\\\")}}\\n        {{seconds-formatter (abs previousRangeDelta)}}\\n      {{else if (eq @valueUnit \\\"dollars\\\")}}\\n        {{currency-formatter-helper (multiply previousRangeDelta 100) 1 false true}}\\n      {{else if (eq @valueUnit \\\"percent\\\")}}\\n        {{format-percentage-reports (abs previousRangeDelta)}}\\n      {{else}}\\n        {{number-formatter-helper (abs previousRangeDelta)}}\\n      {{/if}}\\n    </span>\\n    {{#if (and @range showRangeText)}}\\n      <span class=\\\"reporting__summary-comparison t__light-text\\\" data-test-from-previous>\\n        from previous {{@range.inDays}} {{inflector-helper \\\"day\\\" @range.inDays}}\\n      </span>\\n    {{/if}}\\n  {{/if}}\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span\\n  data-test-previous-period-tooltip\\n  {{tooltip content=tooltipText isDisabled=(not @range)}}\\n>\\n  {{#if (and (or signalHasNotChanged @hideDelta) showDeltaText)}}\\n    {{#if (or showNotChangedText @hideDelta)}}\\n      <span\\n        class=\\\"reporting__summary-comparison__not-changed test__summary__no-change t__light-text\\\"\\n      >\\n        {{or @notChangedText \\\"Same as previous period\\\"}}\\n      </span>\\n    {{/if}}\\n  {{else}}\\n    <span class=\\\"reporting__summary__change test__summary__change o__small-arrow {{if signalHasIncreased \\\"o__increased\\\" \\\"o__decreased\\\"}} {{if signalHasImproved \\\"o__improved\\\" \\\"o__worsened\\\"}}\\\">\\n      <span class=\\\"reporting__summary__change-icon\\\">\\n        {{ic-interface-icon arrowIcon solo=true}}\\n      </span>\\n      {{#if (eq @valueUnit \\\"minute\\\")}}\\n        {{minutes-formatter (abs previousRangeDelta)}}\\n      {{else if (eq @valueUnit \\\"seconds\\\")}}\\n        {{seconds-formatter (abs previousRangeDelta)}}\\n      {{else if (eq @valueUnit \\\"dollars\\\")}}\\n        {{currency-formatter-helper (multiply previousRangeDelta 100) 1 false true}}\\n      {{else if (eq @valueUnit \\\"percent\\\")}}\\n        {{format-percentage-reports (abs previousRangeDelta)}}\\n      {{else}}\\n        {{number-formatter-helper (abs previousRangeDelta)}}\\n      {{/if}}\\n    </span>\\n    {{#if (and @range showRangeText)}}\\n      <span class=\\\"reporting__summary-comparison t__light-text\\\" data-test-from-previous>\\n        from previous {{@range.inDays}} {{inflector-helper \\\"day\\\" @range.inDays}}\\n      </span>\\n    {{/if}}\\n  {{/if}}\\n</span>\\n\",\"moduleName\":\"embercom/components/reporting/element/summary-comparison.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/summary-comparison.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport {\n  equalToProperty,\n  greaterThanProperty,\n  lessThanProperty,\n  subtractProperties,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport moment from 'moment';\n\nconst formattedRangeDate = (date, timezone) => {\n  return (\n    date &&\n    timezone &&\n    moment(date)\n      .tz(timezone)\n      .format(dateAndTimeFormats.dateWithoutYear)\n  );\n};\n\nconst DEFAULT_IMPROVEMENT_DIRECTION = 'increasing';\nconst directions = {\n  INCREASING: DEFAULT_IMPROVEMENT_DIRECTION,\n  DECREASING: 'decreasing',\n};\nexport const improvementDirections = directions;\nexport default Component.extend({\n  'data-test-summary-comparison': true,\n  tagName: 'span',\n  improvementDirection: DEFAULT_IMPROVEMENT_DIRECTION,\n  showNotChangedText: true,\n  showDeltaText: true,\n  showRangeText: true,\n  previousRangeDelta: subtractProperties('currentValue', 'previousValue'),\n\n  signalHasIncreased: greaterThanProperty('currentValue', 'previousValue'),\n  signalHasDecreased: lessThanProperty('currentValue', 'previousValue'),\n  signalHasNotChanged: equalToProperty('currentValue', 'previousValue'),\n  signalHasImproved: computed(\n    'signalHasIncreased',\n    'signalHasDecreased',\n    'improvementDirection',\n    function() {\n      let improvementDirection = this.improvementDirection || DEFAULT_IMPROVEMENT_DIRECTION;\n\n      let hasIncreasedAndImproved =\n        this.signalHasIncreased && improvementDirection === directions.INCREASING;\n      let hasDecreasedAndImproved =\n        this.signalHasDecreased && improvementDirection === directions.DECREASING;\n      return hasIncreasedAndImproved || hasDecreasedAndImproved;\n    },\n  ),\n\n  arrowIcon: computed('signalHasIncreased', function() {\n    let signalHasIncreased = this.signalHasIncreased;\n    let arrow = signalHasIncreased ? 'up-arrow' : 'down-arrow';\n    return `small-${arrow}`;\n  }),\n  formattedComparisonStart: computed('range.{comparisonStart,timezone}', function() {\n    return formattedRangeDate(this.range.comparisonStart, this.range.timezone);\n  }),\n  formattedComparisonEnd: computed('range.{comparisonEnd,timezone}', function() {\n    return formattedRangeDate(this.range.comparisonEnd, this.range.timezone);\n  }),\n  tooltipText: computed('range', 'formattedComparisonStart', 'formattedComparisonEnd', function() {\n    if (!this.range) {\n      return;\n    }\n    let baseline = `Compared to ${this.formattedComparisonStart}`;\n    if (this.formattedComparisonStart !== this.formattedComparisonEnd) {\n      baseline += ` - ${this.formattedComparisonEnd}`;\n    }\n    return baseline;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (gt value previousValue)}}\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__has-columns reporting__summary__change o__improved o__small-arrow\\\"\\n    data-test-summary-difference-improved\\n  >\\n    <div class=\\\"layout__box\\\">\\n      {{ic-interface-icon \\\"small-up-arrow\\\"}}\\n    </div>\\n    <div class=\\\"layout__box\\\">\\n      {{number-formatter-helper (sub value previousValue)}}\\n    </div>\\n  </div>\\n{{else if (gt previousValue value)}}\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__has-columns reporting__summary__change o__worsened o__small-arrow\\\"\\n    data-test-summary-difference-worsened\\n  >\\n    <div class=\\\"layout__box\\\">\\n      {{ic-interface-icon \\\"small-down-arrow\\\"}}\\n    </div>\\n    <div class=\\\"layout__box\\\">\\n      {{number-formatter-helper (sub previousValue value)}}\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if (gt value previousValue)}}\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__has-columns reporting__summary__change o__improved o__small-arrow\\\"\\n    data-test-summary-difference-improved\\n  >\\n    <div class=\\\"layout__box\\\">\\n      {{ic-interface-icon \\\"small-up-arrow\\\"}}\\n    </div>\\n    <div class=\\\"layout__box\\\">\\n      {{number-formatter-helper (sub value previousValue)}}\\n    </div>\\n  </div>\\n{{else if (gt previousValue value)}}\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__has-columns reporting__summary__change o__worsened o__small-arrow\\\"\\n    data-test-summary-difference-worsened\\n  >\\n    <div class=\\\"layout__box\\\">\\n      {{ic-interface-icon \\\"small-down-arrow\\\"}}\\n    </div>\\n    <div class=\\\"layout__box\\\">\\n      {{number-formatter-helper (sub previousValue value)}}\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/reporting/element/summary-difference.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/summary-difference.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  value: notImplemented(),\n  previousValue: notImplemented(),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__centers-vertically pb-4\\\">\\n  <h2 data-test-summary-title={{@title}} data-ghost-test-summary-title={{@title}} class=\\\"t__h2 u__mr__5\\\">\\n    {{@title}}\\n  </h2>\\n  {{#if (or @titleTooltipText @titleTooltipComponent)}}\\n    <IcTooltip\\n      @isInteractive={{true}}\\n      data-test-summary-title-text-tooltip-opener\\n      as |context|\\n    >\\n      <context.opener>\\n        {{ic-interface-icon \\\"tooltip\\\" solo=true}}\\n      </context.opener>\\n      <context.content data-test-summary-title-text-tooltip-content>\\n        {{#if @titleTooltipText}}\\n          {{@titleTooltipText}}\\n        {{else if @titleTooltipComponent}}\\n          {{component @titleTooltipComponent}}\\n        {{/if}}\\n      </context.content>\\n    </IcTooltip>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__centers-vertically pb-4\\\">\\n  <h2 data-test-summary-title={{@title}} data-ghost-test-summary-title={{@title}} class=\\\"t__h2 u__mr__5\\\">\\n    {{@title}}\\n  </h2>\\n  {{#if (or @titleTooltipText @titleTooltipComponent)}}\\n    <IcTooltip\\n      @isInteractive={{true}}\\n      data-test-summary-title-text-tooltip-opener\\n      as |context|\\n    >\\n      <context.opener>\\n        {{ic-interface-icon \\\"tooltip\\\" solo=true}}\\n      </context.opener>\\n      <context.content data-test-summary-title-text-tooltip-content>\\n        {{#if @titleTooltipText}}\\n          {{@titleTooltipText}}\\n        {{else if @titleTooltipComponent}}\\n          {{component @titleTooltipComponent}}\\n        {{/if}}\\n      </context.content>\\n    </IcTooltip>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/summary-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/summary-title.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (or @forceEmpty (and (eq @currentValue 0) (eq @previousValue 0)))}}\\n  <PulseCandidate::DisplayText @size='2' data-test-empty-state>\\n    {{if @emptyStateString @emptyStateString \\\"-\\\"}}\\n  </PulseCandidate::DisplayText>\\n{{else if (or (gt @currentValue 0) (gt @previousValue 0))}}\\n  <PulseCandidate::DisplayText @size='2' data-test-summary-value>\\n  {{#if (eq @unit 'percent')}}\\n    {{format-percentage-reports @currentValue}}\\n  {{else}}\\n    {{unit-formatter @currentValue @unit}}\\n  {{/if}}\\n  </PulseCandidate::DisplayText>\\n{{else}}\\n  <PulseCandidate::DisplayText @size='2' data-test-summary-value>\\n    {{@value}}\\n  </PulseCandidate::DisplayText>\\n{{/if}}\\n\", {\"contents\":\"{{#if (or @forceEmpty (and (eq @currentValue 0) (eq @previousValue 0)))}}\\n  <PulseCandidate::DisplayText @size='2' data-test-empty-state>\\n    {{if @emptyStateString @emptyStateString \\\"-\\\"}}\\n  </PulseCandidate::DisplayText>\\n{{else if (or (gt @currentValue 0) (gt @previousValue 0))}}\\n  <PulseCandidate::DisplayText @size='2' data-test-summary-value>\\n  {{#if (eq @unit 'percent')}}\\n    {{format-percentage-reports @currentValue}}\\n  {{else}}\\n    {{unit-formatter @currentValue @unit}}\\n  {{/if}}\\n  </PulseCandidate::DisplayText>\\n{{else}}\\n  <PulseCandidate::DisplayText @size='2' data-test-summary-value>\\n    {{@value}}\\n  </PulseCandidate::DisplayText>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/reporting/element/summary-value.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/summary-value.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"layout__box o__flexes-to-1\\\"\\n  data-test-reporting-horizontal-bar-chart-summary\\n>\\n  {{#if @title}}\\n    <Reporting::Element::SummaryTitle\\n      @title={{@title}}\\n      @titleTooltipText={{@titleTooltipText}}\\n      @titleTooltipComponent={{@titleTooltipComponent}}\\n    />\\n  {{/if}}\\n  <div class=\\\"flex flex-row items-center\\\">\\n    <div class=\\\"u__mr__20\\\">\\n      {{component\\n        (or @valueComponent \\\"reporting/element/summary-value\\\")\\n        forceEmpty=@forceEmpty\\n        currentValue=@currentValue\\n        previousValue=@previousValue\\n        value=@value\\n        emptyStateString=@emptyStateString\\n        unit=@unit\\n      }}\\n    </div>\\n    {{#if (or (gt @currentValue 0) (gt @previousValue 0))}}\\n      <Reporting::Element::SummaryComparison\\n        @currentValue={{or @currentValue 0}}\\n        @previousValue={{or @previousValue 0}}\\n        @range={{@range}}\\n        @valueUnit={{@unit}}\\n        @improvementDirection={{@improvementDirection}}\\n        @notChangedText={{@notChangedText}}\\n        @hideDelta={{@hideDelta}}\\n      />\\n    {{/if}}\\n    <span class=\\\"layout__box o__flexes-to-1\\\"></span>\\n    <span>\\n      {{yield}}\\n    </span>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"layout__box o__flexes-to-1\\\"\\n  data-test-reporting-horizontal-bar-chart-summary\\n>\\n  {{#if @title}}\\n    <Reporting::Element::SummaryTitle\\n      @title={{@title}}\\n      @titleTooltipText={{@titleTooltipText}}\\n      @titleTooltipComponent={{@titleTooltipComponent}}\\n    />\\n  {{/if}}\\n  <div class=\\\"flex flex-row items-center\\\">\\n    <div class=\\\"u__mr__20\\\">\\n      {{component\\n        (or @valueComponent \\\"reporting/element/summary-value\\\")\\n        forceEmpty=@forceEmpty\\n        currentValue=@currentValue\\n        previousValue=@previousValue\\n        value=@value\\n        emptyStateString=@emptyStateString\\n        unit=@unit\\n      }}\\n    </div>\\n    {{#if (or (gt @currentValue 0) (gt @previousValue 0))}}\\n      <Reporting::Element::SummaryComparison\\n        @currentValue={{or @currentValue 0}}\\n        @previousValue={{or @previousValue 0}}\\n        @range={{@range}}\\n        @valueUnit={{@unit}}\\n        @improvementDirection={{@improvementDirection}}\\n        @notChangedText={{@notChangedText}}\\n        @hideDelta={{@hideDelta}}\\n      />\\n    {{/if}}\\n    <span class=\\\"layout__box o__flexes-to-1\\\"></span>\\n    <span>\\n      {{yield}}\\n    </span>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<tr ...attributes class=\\\"tbl__data-row\\\" data-test-table-data-row-key={{@testKey}}>\\n  <td\\n    data-test-table-data-row-title\\n    class=\\\"tbl__cell w-full reporting__table-data-row__title-small\\\"\\n  >\\n    <div>\\n      <IcTooltip class=\\\"u__display-block u__one-truncated-line\\\" as |t|>\\n        <t.opener @isDisabled={{not @expandLabelTextToTooltip}}>\\n          {{#if (or @labelLinkRoute @labelLinkHref)}}\\n            <a\\n              class=\\\"t__solo-link\\\"\\n              href=\\\"{{if\\n                  @labelLinkRoute\\n                  (href-to @labelLinkRoute @labelLinkTo)\\n                  @labelLinkHref\\n                }}\\\"\\n              target={{if @opensInNewTab \\\"_blank\\\" \\\"_self\\\"}}\\n              rel=\\\"noopener noreferrer\\\"\\n              data-track-analytics-event-object=\\\"{{@analyticsObject}}\\\"\\n            >\\n              {{@label}}\\n            </a>\\n          {{else}}\\n            {{#if @color}}\\n              <Reporting::Element::LegendIcon @color={{@color}} />\\n            {{/if}}\\n            {{@label}}\\n          {{/if}}\\n          {{#if @labelTooltip}}\\n            <span class=\\\"text-gray\\\">\\n              <IcTooltipIcon\\n                @content={{@labelTooltip}}\\n              />\\n            </span>\\n          {{/if}}\\n        </t.opener>\\n        <t.content>\\n          <span class=\\\"u__force-breaks\\\">\\n            {{@label}}\\n          </span>\\n        </t.content>\\n      </IcTooltip>\\n    </div>\\n  </td>\\n  <td data-test-table-data-row-value class=\\\"tbl__cell t__right\\\">\\n    <p>\\n    {{#if (eq @unit 'percent')}}\\n      {{format-percentage-reports @currentValue}}\\n    {{else}}\\n      {{unit-formatter @currentValue @unit}}\\n    {{/if}}\\n    </p>\\n  </td>\\n  {{#if (not @hideComparison)}}\\n    <td data-test-table-data-row-delta class=\\\"tbl__cell t__left\\\">\\n      <Reporting::Element::SummaryComparison\\n        @currentValue={{or @currentValue 0}}\\n        @previousValue={{or @previousValue 0}}\\n        @valueUnit={{@unit}}\\n        @improvementDirection={{@improvementDirection}}\\n        @notChangedText={{@notChangedText}}\\n        @hideDelta={{@hideDelta}}\\n      />\\n    </td>\\n  {{/if}}\\n</tr>\\n\", {\"contents\":\"<tr ...attributes class=\\\"tbl__data-row\\\" data-test-table-data-row-key={{@testKey}}>\\n  <td\\n    data-test-table-data-row-title\\n    class=\\\"tbl__cell w-full reporting__table-data-row__title-small\\\"\\n  >\\n    <div>\\n      <IcTooltip class=\\\"u__display-block u__one-truncated-line\\\" as |t|>\\n        <t.opener @isDisabled={{not @expandLabelTextToTooltip}}>\\n          {{#if (or @labelLinkRoute @labelLinkHref)}}\\n            <a\\n              class=\\\"t__solo-link\\\"\\n              href=\\\"{{if\\n                  @labelLinkRoute\\n                  (href-to @labelLinkRoute @labelLinkTo)\\n                  @labelLinkHref\\n                }}\\\"\\n              target={{if @opensInNewTab \\\"_blank\\\" \\\"_self\\\"}}\\n              rel=\\\"noopener noreferrer\\\"\\n              data-track-analytics-event-object=\\\"{{@analyticsObject}}\\\"\\n            >\\n              {{@label}}\\n            </a>\\n          {{else}}\\n            {{#if @color}}\\n              <Reporting::Element::LegendIcon @color={{@color}} />\\n            {{/if}}\\n            {{@label}}\\n          {{/if}}\\n          {{#if @labelTooltip}}\\n            <span class=\\\"text-gray\\\">\\n              <IcTooltipIcon\\n                @content={{@labelTooltip}}\\n              />\\n            </span>\\n          {{/if}}\\n        </t.opener>\\n        <t.content>\\n          <span class=\\\"u__force-breaks\\\">\\n            {{@label}}\\n          </span>\\n        </t.content>\\n      </IcTooltip>\\n    </div>\\n  </td>\\n  <td data-test-table-data-row-value class=\\\"tbl__cell t__right\\\">\\n    <p>\\n    {{#if (eq @unit 'percent')}}\\n      {{format-percentage-reports @currentValue}}\\n    {{else}}\\n      {{unit-formatter @currentValue @unit}}\\n    {{/if}}\\n    </p>\\n  </td>\\n  {{#if (not @hideComparison)}}\\n    <td data-test-table-data-row-delta class=\\\"tbl__cell t__left\\\">\\n      <Reporting::Element::SummaryComparison\\n        @currentValue={{or @currentValue 0}}\\n        @previousValue={{or @previousValue 0}}\\n        @valueUnit={{@unit}}\\n        @improvementDirection={{@improvementDirection}}\\n        @notChangedText={{@notChangedText}}\\n        @hideDelta={{@hideDelta}}\\n      />\\n    </td>\\n  {{/if}}\\n</tr>\\n\",\"moduleName\":\"embercom/components/reporting/element/table-data-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/table-data-row.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  tagName: '',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-center gap-4\\\">\\n  <div\\n    class={{if (eq @size \\\"small\\\") \\\"t__body\\\" \\\"paywall__h1\\\"}}\\n    data-test-value={{@title}}\\n  >\\n    {{#if (or @forceEmpty (and (eq @currentValue 0) (eq @previousValue 0)))}}\\n      {{if @emptyStateString @emptyStateString \\\"-\\\"}}\\n    {{else if (eq @unit 'percent')}}\\n      {{format-percentage-reports @currentValue}}\\n    {{else}}\\n      {{unit-formatter @currentValue @unit}}\\n    {{/if}}\\n  </div>\\n\\n  <Reporting::Element::SummaryComparison\\n    @currentValue={{@currentValue}}\\n    @previousValue={{@previousValue}}\\n    @range={{@range}}\\n    @valueUnit={{@unit}}\\n    @improvementDirection={{@improvementDirection}}\\n    @notChangedText={{@notChangedText}}\\n    @hideDelta={{@hideDelta}}\\n  />\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row items-center gap-4\\\">\\n  <div\\n    class={{if (eq @size \\\"small\\\") \\\"t__body\\\" \\\"paywall__h1\\\"}}\\n    data-test-value={{@title}}\\n  >\\n    {{#if (or @forceEmpty (and (eq @currentValue 0) (eq @previousValue 0)))}}\\n      {{if @emptyStateString @emptyStateString \\\"-\\\"}}\\n    {{else if (eq @unit 'percent')}}\\n      {{format-percentage-reports @currentValue}}\\n    {{else}}\\n      {{unit-formatter @currentValue @unit}}\\n    {{/if}}\\n  </div>\\n\\n  <Reporting::Element::SummaryComparison\\n    @currentValue={{@currentValue}}\\n    @previousValue={{@previousValue}}\\n    @range={{@range}}\\n    @valueUnit={{@unit}}\\n    @improvementDirection={{@improvementDirection}}\\n    @notChangedText={{@notChangedText}}\\n    @hideDelta={{@hideDelta}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/value-comparison.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/value-comparison.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<div style={{this.style}}>\\n  {{ yield }}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<div style={{this.style}}>\\n  {{ yield }}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/visualization-canvas.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/visualization-canvas.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { fmtStyle } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  tagName: '',\n  style: fmtStyle('width: %@px; height: %@px;', 'width', 'height'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Element::YScale @isStacked={{@isStacked}} @signal={{@signal}} @comparison={{@comparison}} as |y|>\\n  <Reporting::Element::YAxis @unit={{@unit}} @scale={{y.axisScale}} @scaleUnit={{y.scaleUnit}}>\\n    <Common::NavbarCollapsed as |collapsed|>\\n      <Reporting::Element::ContainerWidth @navbarCollapsed={{collapsed}} as |containerWidth|>\\n        {{#if (gt containerWidth 0)}}\\n          <Reporting::Element::XScale @signal={{@signal}} @width={{containerWidth}} as |x|>\\n            {{yield (hash\\n              xScale=x.scale\\n              yScale=y.scale\\n              width=containerWidth\\n              maxValue=y.max\\n              height=y.height\\n            )}}\\n            <Reporting::Element::XAxis\\n              @width={{containerWidth}}\\n              @timezone={{@signal.timezone}}\\n              @ticks={{x.ticks}}\\n              @from={{x.from}}\\n              @to={{x.to}}\\n              @scale={{x.scale}}\\n              @stride={{x.stride}}\\n            />\\n          </Reporting::Element::XScale>\\n        {{/if}}\\n      </Reporting::Element::ContainerWidth>\\n    </Common::NavbarCollapsed>\\n  </Reporting::Element::YAxis>\\n</Reporting::Element::YScale>\", {\"contents\":\"<Reporting::Element::YScale @isStacked={{@isStacked}} @signal={{@signal}} @comparison={{@comparison}} as |y|>\\n  <Reporting::Element::YAxis @unit={{@unit}} @scale={{y.axisScale}} @scaleUnit={{y.scaleUnit}}>\\n    <Common::NavbarCollapsed as |collapsed|>\\n      <Reporting::Element::ContainerWidth @navbarCollapsed={{collapsed}} as |containerWidth|>\\n        {{#if (gt containerWidth 0)}}\\n          <Reporting::Element::XScale @signal={{@signal}} @width={{containerWidth}} as |x|>\\n            {{yield (hash\\n              xScale=x.scale\\n              yScale=y.scale\\n              width=containerWidth\\n              maxValue=y.max\\n              height=y.height\\n            )}}\\n            <Reporting::Element::XAxis\\n              @width={{containerWidth}}\\n              @timezone={{@signal.timezone}}\\n              @ticks={{x.ticks}}\\n              @from={{x.from}}\\n              @to={{x.to}}\\n              @scale={{x.scale}}\\n              @stride={{x.stride}}\\n            />\\n          </Reporting::Element::XScale>\\n        {{/if}}\\n      </Reporting::Element::ContainerWidth>\\n    </Common::NavbarCollapsed>\\n  </Reporting::Element::YAxis>\\n</Reporting::Element::YScale>\",\"moduleName\":\"embercom/components/reporting/element/visualization-container.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/visualization-container.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"reporting__axes__x-axis-group o__fixed-width absolute reporting__chart__transform u__centered-text-block\\\"\\n  style={{style}}\\n>\\n  <span class=\\\"t__light-text reporting__axes__label-text\\\">\\n    {{@label}}\\n  </span>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"reporting__axes__x-axis-group o__fixed-width absolute reporting__chart__transform u__centered-text-block\\\"\\n  style={{style}}\\n>\\n  <span class=\\\"t__light-text reporting__axes__label-text\\\">\\n    {{@label}}\\n  </span>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/x-axis-label.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/x-axis-label.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { fmtStyle } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  tagName: '',\n  x: 0,\n  style: fmtStyle('transform: translate3d(%@px,0,0);', 'x'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"reporting__axes__x-axis-group flex flex-col items-center relative\\\">\\n  <div class=\\\"reporting__axes__x-axis-tick absolute {{if (not @showTick) 'hidden'}}\\\"></div>\\n  <span class=\\\"t__light-text reporting__axes__label-text\\\">\\n    {{@label}}\\n  </span>\\n</div>\\n\", {\"contents\":\"<div class=\\\"reporting__axes__x-axis-group flex flex-col items-center relative\\\">\\n  <div class=\\\"reporting__axes__x-axis-tick absolute {{if (not @showTick) 'hidden'}}\\\"></div>\\n  <span class=\\\"t__light-text reporting__axes__label-text\\\">\\n    {{@label}}\\n  </span>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/x-axis-simple-label.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/x-axis-simple-label.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"reporting__axes__x-axis u__relative\\\">\\n  {{#each this.axisItems key=\\\"label\\\" as |item|}}\\n    <Reporting::Element::XAxisLabel @x={{item.x}} @label={{item.label}} />\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"reporting__axes__x-axis u__relative\\\">\\n  {{#each this.axisItems key=\\\"label\\\" as |item|}}\\n    <Reporting::Element::XAxisLabel @x={{item.x}} @label={{item.label}} />\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/x-axis.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/x-axis.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { makeDateFormatter } from 'embercom/lib/reporting/date-formatter';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\nimport moment from 'moment';\n\nexport default Component.extend({\n  tagName: '',\n  scale: notImplemented(\n    '`reporting/element/x-axis`: you must pass a D3 scale as \"scale\". Consider wrapping this component with `reporting/element/x-scale`.',\n  ),\n  rangeInDays: computed('from', 'to', function() {\n    let rangeStart = moment(this.from);\n    let rangeEnd = moment(this.to);\n    let duration = moment.duration(rangeEnd.diff(rangeStart)).asDays();\n\n    return duration < 1 ? duration : Math.round(duration);\n  }),\n  axisItems: computed('scale', 'ticks', 'stride', 'rangeInDays', function() {\n    let formatDate = makeDateFormatter({\n      timezone: this.timezone,\n      stride: this.stride,\n      isRangeHours: this.rangeInDays < 1,\n      isRangeDays: this.rangeInDays <= 91,\n    });\n\n    return this.ticks.map((item, i) => ({\n      x: this.scale(moment.tz(item, this.timezone)),\n      label: formatDate(item, i),\n    }));\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{yield (hash\\n  scale=this.xScale\\n  from=this.from\\n  to=this.to\\n  ticks=this.ticks\\n  stride=this.stride\\n)}}\\n\", {\"contents\":\"{{yield (hash\\n  scale=this.xScale\\n  from=this.from\\n  to=this.to\\n  ticks=this.ticks\\n  stride=this.stride\\n)}}\\n\",\"moduleName\":\"embercom/components/reporting/element/x-scale.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/x-scale.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { scaleTime } from 'd3-scale';\nimport moment from 'moment';\n\nconst X_AXIS_ITEM_WIDTH = 46; //corresponds to max-width set in reporting/_axes.scss\n\nlet createRangeTuple = (availiableWidth, itemsCount, itemWidth) => {\n  let spacePerItem = availiableWidth / itemsCount;\n  let spaceAroundItems = spacePerItem - itemWidth;\n  let spaceBeforeItems = spaceAroundItems / 2;\n\n  return [spaceBeforeItems, availiableWidth - spaceBeforeItems];\n};\n\nexport default Component.extend({\n  tagName: '',\n  data: readOnly('signal.context'),\n  timezone: readOnly('signal.timezone'),\n  dates: computed('data', function() {\n    // Use date from signal if it exists, otherwise use date range from date picker (signal might be empty)\n    return this.datesFromSignal.length > 0 ? this.datesFromSignal : this.datesFromRangePicker;\n  }),\n  datesFromSignal: computed('data', 'timezone', function() {\n    return this.data.map(d => moment.tz(d.key, this.timezone));\n  }),\n  datesFromRangePicker: computed('data', function() {\n    // If for some reason there is no datePickerRange default to last 7 days.\n    let defaultStartDate = moment()\n      .tz(this.timezone)\n      .subtract(7, 'days')\n      .toString();\n\n    let startDate = this.signal.get('datePickerRangeStart') || defaultStartDate;\n    let endDate = this.signal.get('datePickerRangeEnd') || moment().toString();\n\n    let days = Math.round(moment.duration(moment(endDate) - moment(startDate)).asDays());\n    let range = [];\n    let dayIndex;\n    let hourIndex = 0;\n\n    if (days > 1) {\n      // Range of days from start to end\n      for (dayIndex = 0; dayIndex < days; dayIndex++) {\n        range.push(moment(startDate).add(dayIndex, 'days'));\n      }\n    } else {\n      // Range of 24 hours increasing by 2 hours.\n      for (hourIndex = 0; hourIndex < 24; hourIndex += 2) {\n        range.push(moment(startDate).add(hourIndex, 'hours'));\n      }\n    }\n\n    return range;\n  }),\n  fromTo: computed('dates', function() {\n    return [\n      moment.tz(this.dates[0], this.timezone),\n      moment.tz(this.dates[this.dates.length - 1], this.timezone),\n    ];\n  }),\n  from: readOnly('fromTo.firstObject'),\n  to: readOnly('fromTo.lastObject'),\n  stride: computed('width', 'dates.length', function() {\n    let maxNumberOfTicks = this.width / X_AXIS_ITEM_WIDTH;\n    return Math.ceil(this.get('dates.length') / maxNumberOfTicks);\n  }),\n  ticks: readOnly('dates'),\n  xScale: computed('width', 'fromTo', function() {\n    let range = createRangeTuple(\n      this.width - X_AXIS_ITEM_WIDTH,\n      this.dates.length,\n      X_AXIS_ITEM_WIDTH,\n    );\n\n    return scaleTime()\n      .domain(this.fromTo)\n      .range(range);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"reporting__axes__y-axis-row reporting__chart__fade-in absolute reporting__chart__transform layout__box o__has-columns o__centers-vertically\\\"\\n  style={{style}}\\n>\\n  <div class=\\\"reporting__axes__y-axis-label-container\\\">\\n    <div\\n      class=\\\"reporting__axes__y-axis-label t__light-text reporting__axes__label-text reporting__chart__transform\\\"\\n      style={{labelOffsetStyle}}\\n    >\\n      {{@label}}\\n    </div>\\n  </div>\\n  <div\\n    class=\\\"reporting__axes__y-axis-line w-full layout__box o__flexes-to-1\\\"\\n  ></div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"reporting__axes__y-axis-row reporting__chart__fade-in absolute reporting__chart__transform layout__box o__has-columns o__centers-vertically\\\"\\n  style={{style}}\\n>\\n  <div class=\\\"reporting__axes__y-axis-label-container\\\">\\n    <div\\n      class=\\\"reporting__axes__y-axis-label t__light-text reporting__axes__label-text reporting__chart__transform\\\"\\n      style={{labelOffsetStyle}}\\n    >\\n      {{@label}}\\n    </div>\\n  </div>\\n  <div\\n    class=\\\"reporting__axes__y-axis-line w-full layout__box o__flexes-to-1\\\"\\n  ></div>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/y-axis-line.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/y-axis-line.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { fmtStyle } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  tagName: '',\n  y: 0,\n  style: fmtStyle('transform: translate3d(0,%@px,0);', 'y'),\n  labelOffsetStyle: fmtStyle('transform:translate3d(-%@px,0,0)', 'labelOffset'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__relative\\\">\\n  {{#each this.axisItems key=\\\"label\\\" as |item|}}\\n    <Reporting::Element::YAxisLine\\n      @label={{item.label}}\\n      @y={{sub item.y 20}}\\n      @labelOffset={{this.labelOffset}}\\n    />\\n  {{/each}}\\n  <div class=\\\"reporting__axes__y-axis-container\\\">\\n    {{yield}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__relative\\\">\\n  {{#each this.axisItems key=\\\"label\\\" as |item|}}\\n    <Reporting::Element::YAxisLine\\n      @label={{item.label}}\\n      @y={{sub item.y 20}}\\n      @labelOffset={{this.labelOffset}}\\n    />\\n  {{/each}}\\n  <div class=\\\"reporting__axes__y-axis-container\\\">\\n    {{yield}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/element/y-axis.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/y-axis.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\nimport { unitFormatter } from 'embercom/helpers/unit-formatter';\n\nconst MAX_CHARACTERS = 6;\nconst CHARACTER_WIDTH = 7;\n\nconst MINUTES_IN_HOUR = 60;\nconst MINUTES_IN_DAY = MINUTES_IN_HOUR * 24;\n\nlet convertScaleUnitToMinutes = (value, scaleUnit) => {\n  if (scaleUnit === 'days') {\n    return MINUTES_IN_DAY * value;\n  } else if (scaleUnit === 'hours') {\n    return MINUTES_IN_HOUR * value;\n  } else {\n    return value;\n  }\n};\n\nexport default Component.extend({\n  tagName: '',\n  scale: notImplemented(\n    '`reporting/element/y-axis`: you must pass a D3 scale as \"scale\". Consider wrapping this component with `reporting/element/y-scale`.',\n  ),\n  axisItems: computed('scale', 'scaleUnit', function() {\n    return this.scale.ticks(5).map(item => {\n      let value = this.unit === 'minute' ? convertScaleUnitToMinutes(item, this.scaleUnit) : item;\n\n      return {\n        y: -this.scale(item),\n        label: unitFormatter({ value, unit: this.unit, abbreviate: true, hideDefaultUnit: true }),\n      };\n    });\n  }),\n  labelOffset: computed('axisItems', function() {\n    let localMaxCharacters = this.axisItems\n      .map(({ label }) => label.split(''))\n      .reduce((max, item) => Math.max(max, item.length), 0);\n\n    return (MAX_CHARACTERS - localMaxCharacters) * CHARACTER_WIDTH - 1; // 1px offset to adjust for the eye\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"\\n{{yield\\n  (hash\\n    scale=this.scale\\n    axisScale=this.axisScale\\n    max=this.yAxesTop\\n    height=this.chartHeight\\n    scaleUnit=this.scaleUnit\\n  )\\n}}\\n\", {\"contents\":\"\\n{{yield\\n  (hash\\n    scale=this.scale\\n    axisScale=this.axisScale\\n    max=this.yAxesTop\\n    height=this.chartHeight\\n    scaleUnit=this.scaleUnit\\n  )\\n}}\\n\",\"moduleName\":\"embercom/components/reporting/element/y-scale.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/element/y-scale.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport AxesMixin from 'embercom/components/reporting/axes-mixin';\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { scaleLinear } from 'd3-scale';\n\nconst Y_AXIS_ITEM_HEIGHT = 20;\n\nexport default Component.extend(AxesMixin, {\n  tagName: '',\n  data: readOnly('signal.context'),\n  chartHeight: 250,\n  isStacked: true,\n  hasAxis: true,\n  renderComparisonData: readOnly('comparison'),\n  chartMaxValue: readOnly('yAxisTopInUnits'),\n  yAxesTop: readOnly('yAxisTopInLargestUnit'),\n  scaleUnit: readOnly('yAxisGranularity'),\n  scale: computed('chartHeight', 'minChartValue', 'chartMaxValue', 'hasAxis', function() {\n    let rangeMax = this.hasAxis ? this.chartHeight - Y_AXIS_ITEM_HEIGHT : this.chartHeight;\n    return scaleLinear()\n      .domain([this.minChartValue, this.chartMaxValue])\n      .range([0, rangeMax]);\n  }),\n  axisScale: computed('chartHeight', 'minChartValue', 'yAxesTop', function() {\n    return scaleLinear()\n      .domain([this.minChartValue, this.yAxesTop])\n      .range([0, this.chartHeight - Y_AXIS_ITEM_HEIGHT]);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  data-test-app-required={{@appName}}\\n  class=\\\"reporting__empty-state__card o__large layout__box o__centers-all u__pad__20 o__flexes-to-1\\\"\\n>\\n  <div class=\\\"w-3/4\\\">\\n    <IcIllustrativeIcon @name=\\\"app-store\\\" @appearance=\\\"standard\\\" />\\n    <div class=\\\"h-2\\\"></div>\\n    <div class=\\\"t__h3\\\">\\n      No data yet\\n    </div>\\n    <p class=\\\"t__centered text-gray u__padt__10\\\">\\n      {{@subtext}}\\n    </p>\\n    <div class=\\\"h-2\\\"></div>\\n    <LinkTo\\n      @route=\\\"apps.app.appstore\\\"\\n      @query={{hash app_package_code=@appCode}}\\n      @classNames=\\\"t__em-link\\\"\\n    >\\n      Install the {{@appName}} app\\n    </LinkTo>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div\\n  data-test-app-required={{@appName}}\\n  class=\\\"reporting__empty-state__card o__large layout__box o__centers-all u__pad__20 o__flexes-to-1\\\"\\n>\\n  <div class=\\\"w-3/4\\\">\\n    <IcIllustrativeIcon @name=\\\"app-store\\\" @appearance=\\\"standard\\\" />\\n    <div class=\\\"h-2\\\"></div>\\n    <div class=\\\"t__h3\\\">\\n      No data yet\\n    </div>\\n    <p class=\\\"t__centered text-gray u__padt__10\\\">\\n      {{@subtext}}\\n    </p>\\n    <div class=\\\"h-2\\\"></div>\\n    <LinkTo\\n      @route=\\\"apps.app.appstore\\\"\\n      @query={{hash app_package_code=@appCode}}\\n      @classNames=\\\"t__em-link\\\"\\n    >\\n      Install the {{@appName}} app\\n    </LinkTo>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/empty-state/app-required.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/empty-state/app-required.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{ghost-text 90}}\\n\", {\"contents\":\"{{ghost-text 90}}\\n\",\"moduleName\":\"embercom/components/reporting/empty-state/ghost-field.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/empty-state/ghost-field.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__relative u__mt__10\\\" data-test-empty-line-chart-legend>\\n  <div class=\\\"reporting__empty-state reporting__empty-state__line-chart\\\">\\n    {{yield}}\\n  </div>\\n  {{#each (array 180 120 140 160 140 180) as |elementWidth|}}\\n    <p>\\n      {{ghost-text elementWidth}} \\n      <span class=\\\"u__right u__padl__10\\\">\\n        {{ghost-text 10}}\\n      </span>\\n      <span class=\\\"u__right u__padl__10\\\">\\n        {{ghost-text 10}}\\n      </span>\\n    </p>\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__relative u__mt__10\\\" data-test-empty-line-chart-legend>\\n  <div class=\\\"reporting__empty-state reporting__empty-state__line-chart\\\">\\n    {{yield}}\\n  </div>\\n  {{#each (array 180 120 140 160 140 180) as |elementWidth|}}\\n    <p>\\n      {{ghost-text elementWidth}} \\n      <span class=\\\"u__right u__padl__10\\\">\\n        {{ghost-text 10}}\\n      </span>\\n      <span class=\\\"u__right u__padl__10\\\">\\n        {{ghost-text 10}}\\n      </span>\\n    </p>\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/empty-state/line-chart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/empty-state/line-chart.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"layout__box o__flexes-to-1 o__centers-all reporting__empty-state__summary\\\"\\n  data-test-reporting-no-data\\n>\\n  <div class=\\\"t__centered {{if (eq @size 50) \\\"w-1/2\\\" \\\"w-1/3\\\"}}\\\">\\n    {{#if (or @image @icon)}}\\n      {{#if @image}}\\n        <img\\n          src={{concat @image \\\".png\\\"}}\\n          srcset={{concat @image \\\"@2x.png 2x, \\\" @image \\\"@3x.png 3x\\\"}}\\n        />\\n      {{else}}\\n        <IcIllustrativeIcon @name={{@icon}} @appearance={{@iconAppearance}} />\\n      {{/if}}\\n      <div class=\\\"h-5\\\"></div>\\n    {{/if}}\\n    {{#if @title}}\\n      <p class=\\\"t__h2\\\">\\n        {{@title}}\\n      </p>\\n      <div class=\\\"h-2\\\"></div>\\n    {{/if}}\\n    <p class=\\\"text-gray\\\">\\n      {{@body}}\\n    </p>\\n    <div class=\\\"h-5\\\"></div>\\n    {{yield (hash cta=(component \\\"ic-button\\\" type=\\\"primary\\\"))}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"layout__box o__flexes-to-1 o__centers-all reporting__empty-state__summary\\\"\\n  data-test-reporting-no-data\\n>\\n  <div class=\\\"t__centered {{if (eq @size 50) \\\"w-1/2\\\" \\\"w-1/3\\\"}}\\\">\\n    {{#if (or @image @icon)}}\\n      {{#if @image}}\\n        <img\\n          src={{concat @image \\\".png\\\"}}\\n          srcset={{concat @image \\\"@2x.png 2x, \\\" @image \\\"@3x.png 3x\\\"}}\\n        />\\n      {{else}}\\n        <IcIllustrativeIcon @name={{@icon}} @appearance={{@iconAppearance}} />\\n      {{/if}}\\n      <div class=\\\"h-5\\\"></div>\\n    {{/if}}\\n    {{#if @title}}\\n      <p class=\\\"t__h2\\\">\\n        {{@title}}\\n      </p>\\n      <div class=\\\"h-2\\\"></div>\\n    {{/if}}\\n    <p class=\\\"text-gray\\\">\\n      {{@body}}\\n    </p>\\n    <div class=\\\"h-5\\\"></div>\\n    {{yield (hash cta=(component \\\"ic-button\\\" type=\\\"primary\\\"))}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/empty-state/no-data-cta.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/empty-state/no-data-cta.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"reporting__empty-state__table-loading\\\">\\n  <div class=\\\"u__center-item\\\">\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"reporting__empty-state__table-loading\\\">\\n  <div class=\\\"u__center-item\\\">\\n    <IcLoadingIndicator @size=\\\"small\\\" />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/empty-state/table-loading.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/empty-state/table-loading.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<IcLegacyTable\\n  class=\\\"tbl__reporting__table\\\"\\n  @inline={{true}}\\n  @columns={{ghostColumns}}\\n  @rows={{rows}}\\n  @height=\\\"auto\\\"\\n/>\\n{{!-- template-lint-enable intercom/no-custom-table --}}\\n{{#if isLoading}}\\n  <Reporting::EmptyState::TableLoading />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<IcLegacyTable\\n  class=\\\"tbl__reporting__table\\\"\\n  @inline={{true}}\\n  @columns={{ghostColumns}}\\n  @rows={{rows}}\\n  @height=\\\"auto\\\"\\n/>\\n{{!-- template-lint-enable intercom/no-custom-table --}}\\n{{#if isLoading}}\\n  <Reporting::EmptyState::TableLoading />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/reporting/empty-state/table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/empty-state/table.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  tagName: 'div',\n  classNames: ['reporting__empty-state__table'],\n\n  rowCount: 5,\n  isLoading: false,\n\n  ghostColumns: computed('columns', function() {\n    return this.columns.map(col =>\n      Object.assign({}, col, {\n        valueComponent: 'reporting/empty-state/ghost-field',\n        component: null,\n      }),\n    );\n  }),\n\n  row: computed('columns', function() {\n    let row = this.columns.reduce(\n      (acc, current) =>\n        Object.assign(acc, {\n          [current.propertyName]: current.label.length * 9,\n        }),\n      {},\n    );\n    return row;\n  }),\n\n  rows: computed('rowCount', function() {\n    return Array(this.rowCount).fill(this.row);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::EmptyState::LineChart>\\n  <p>\\n    No conversations were tagged\\n  </p>\\n  <Pulse::HelpContent::Link\\n    @href=\\\"https://www.intercom.com/help/learning-from-your-customers/organizing-the-feedback-you-get-with-tags\\\"\\n    @title=\\\"How to tag conversations\\\"\\n    @type=\\\"article\\\"\\n    @linkStyling=\\\"inline\\\"\\n  />\\n</Reporting::EmptyState::LineChart>\\n\", {\"contents\":\"<Reporting::EmptyState::LineChart>\\n  <p>\\n    No conversations were tagged\\n  </p>\\n  <Pulse::HelpContent::Link\\n    @href=\\\"https://www.intercom.com/help/learning-from-your-customers/organizing-the-feedback-you-get-with-tags\\\"\\n    @title=\\\"How to tag conversations\\\"\\n    @type=\\\"article\\\"\\n    @linkStyling=\\\"inline\\\"\\n  />\\n</Reporting::EmptyState::LineChart>\\n\",\"moduleName\":\"embercom/components/reporting/empty-state/tags.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/empty-state/tags.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div ...attributes>\\n  <Reporting::DateRangeFilter\\n          @scrollParentSelector={{@scrollParentSelector}}\\n          @range={{@range}}\\n          @timezone={{@range.timezone}}\\n          @updateRange={{action @updateRange}}\\n          @maximumSelectionWindowInYears={{@maximumSelectionWindowInYears\\n  }} as |filter|\\n  >\\n    <IcFilterBlock\\n            @icon=\\\"calendar\\\"\\n            @name=\\\"Started between\\\"\\n            @details={{concat\\n            (moment-format filter.startMoment \\\"MMM D, YYYY\\\" timeZone=@timezone)\\n            \\\" - \\\"\\n            (moment-format filter.endMoment \\\"MMM D, YYYY\\\" timeZone=@timezone)\\n    }}\\n            @isOneLine={{true}}\\n            @isClickable={{true}}\\n            @isOpen={{filter.dropdownIsOpen}}\\n    />\\n  </Reporting::DateRangeFilter>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div ...attributes>\\n  <Reporting::DateRangeFilter\\n          @scrollParentSelector={{@scrollParentSelector}}\\n          @range={{@range}}\\n          @timezone={{@range.timezone}}\\n          @updateRange={{action @updateRange}}\\n          @maximumSelectionWindowInYears={{@maximumSelectionWindowInYears\\n  }} as |filter|\\n  >\\n    <IcFilterBlock\\n            @icon=\\\"calendar\\\"\\n            @name=\\\"Started between\\\"\\n            @details={{concat\\n            (moment-format filter.startMoment \\\"MMM D, YYYY\\\" timeZone=@timezone)\\n            \\\" - \\\"\\n            (moment-format filter.endMoment \\\"MMM D, YYYY\\\" timeZone=@timezone)\\n    }}\\n            @isOneLine={{true}}\\n            @isClickable={{true}}\\n            @isOpen={{filter.dropdownIsOpen}}\\n    />\\n  </Reporting::DateRangeFilter>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/explorer/date-filter-block.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/explorer/date-filter-block.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#each this.selectedFilterBlocks as |filterBlock index|}}\\n  <IcSelect\\n    data-test-block={{filterBlock.name}}\\n    @tagName=\\\"div\\\"\\n    @defaultLabel=\\\"add a filter\\\"\\n    @label=\\\"add a filter\\\"\\n    @hasFilter={{gt @items.length 10}}\\n    @filterPlaceholder=\\\"Search options...\\\"\\n    @items={{sort-by \\\"count:desc\\\" filterBlock.dropdown}}\\n    @onSelectItem={{action @setFilterValue index filterBlock.name filterBlock.options }}\\n    @onClose={{action (mut this.initiallyOpened) false }}\\n    @minWidthOfOverlay={{270}}\\n    @initiallyOpened={{and\\n      (eq this.selectedFilterBlocks.length (add index 1))\\n      this.initiallyOpened\\n    }} as |select|\\n  >\\n    <select.opener as |opener|>\\n      <div class=\\\"mr-2\\\">\\n        <IcFilterBlock\\n          @icon={{filterBlock.icon}}\\n          @name={{filterBlock.name}}\\n          @details={{filterBlock.blockDetails}}\\n          @isOneLine={{true}}\\n          @isClickable={{true}}\\n          @isOpen={{opener.dropdownIsOpen}}\\n          @isInvalid={{and\\n            (not filterBlock.selectedLabel)\\n            (not opener.dropdownIsOpen)\\n          }}\\n          @onDelete={{if\\n            (not opener.dropdownIsOpen)\\n            (action @removeFilter index)\\n            null\\n          }}\\n          @deleteTooltipContent=\\\"Click to delete\\\"\\n          @showDelete={{filterBlock.deletable}}\\n        />\\n      </div>\\n    </select.opener>\\n  </IcSelect>\\n  {{#if (lt (add index 1) this.selectedFilterBlocks.length)}}\\n    <span class=\\\"t__light-text mr-4 mt-2\\\">\\n      and\\n    </span>\\n  {{/if}}\\n{{/each}}\\n<div class=\\\"u__relative\\\" data-test-add-block>\\n  {{#if @singleFilterKey}}\\n    <span class=\\\"pt-px pb-px u__display-inline-block u__ml__10\\\">\\n      <a class=\\\"btn__tertiary {{if (not @allFiltersHaveValues) \\\"o__disabled\\\"}}\\\" {{action \\\"onAddFilter\\\" @singleFilterKey}}>\\n        {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add {{@singleFilterKey}} filter\\n      </a>\\n    </span>\\n  {{else}}\\n    <IcDropdownOpener\\n      @groupList={{array (hash items=(sort-by \\\"text\\\" this.filtersDropdown))}}\\n      @isDisabled={{not @allFiltersHaveValues}}\\n      @onSelectItem={{action \\\"onAddFilter\\\"}}\\n      @minWidthOfOverlay={{270}}\\n      class=\\\"pt-px pb-px u__display-inline-block\\\">\\n      <div class=\\\"pt-2 pb-2\\\">\\n        <a class=\\\"btn__tertiary {{if (not @allFiltersHaveValues) \\\"o__disabled\\\"}}\\\">\\n          {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add filter\\n        </a>\\n      </div>\\n    </IcDropdownOpener>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#each this.selectedFilterBlocks as |filterBlock index|}}\\n  <IcSelect\\n    data-test-block={{filterBlock.name}}\\n    @tagName=\\\"div\\\"\\n    @defaultLabel=\\\"add a filter\\\"\\n    @label=\\\"add a filter\\\"\\n    @hasFilter={{gt @items.length 10}}\\n    @filterPlaceholder=\\\"Search options...\\\"\\n    @items={{sort-by \\\"count:desc\\\" filterBlock.dropdown}}\\n    @onSelectItem={{action @setFilterValue index filterBlock.name filterBlock.options }}\\n    @onClose={{action (mut this.initiallyOpened) false }}\\n    @minWidthOfOverlay={{270}}\\n    @initiallyOpened={{and\\n      (eq this.selectedFilterBlocks.length (add index 1))\\n      this.initiallyOpened\\n    }} as |select|\\n  >\\n    <select.opener as |opener|>\\n      <div class=\\\"mr-2\\\">\\n        <IcFilterBlock\\n          @icon={{filterBlock.icon}}\\n          @name={{filterBlock.name}}\\n          @details={{filterBlock.blockDetails}}\\n          @isOneLine={{true}}\\n          @isClickable={{true}}\\n          @isOpen={{opener.dropdownIsOpen}}\\n          @isInvalid={{and\\n            (not filterBlock.selectedLabel)\\n            (not opener.dropdownIsOpen)\\n          }}\\n          @onDelete={{if\\n            (not opener.dropdownIsOpen)\\n            (action @removeFilter index)\\n            null\\n          }}\\n          @deleteTooltipContent=\\\"Click to delete\\\"\\n          @showDelete={{filterBlock.deletable}}\\n        />\\n      </div>\\n    </select.opener>\\n  </IcSelect>\\n  {{#if (lt (add index 1) this.selectedFilterBlocks.length)}}\\n    <span class=\\\"t__light-text mr-4 mt-2\\\">\\n      and\\n    </span>\\n  {{/if}}\\n{{/each}}\\n<div class=\\\"u__relative\\\" data-test-add-block>\\n  {{#if @singleFilterKey}}\\n    <span class=\\\"pt-px pb-px u__display-inline-block u__ml__10\\\">\\n      <a class=\\\"btn__tertiary {{if (not @allFiltersHaveValues) \\\"o__disabled\\\"}}\\\" {{action \\\"onAddFilter\\\" @singleFilterKey}}>\\n        {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add {{@singleFilterKey}} filter\\n      </a>\\n    </span>\\n  {{else}}\\n    <IcDropdownOpener\\n      @groupList={{array (hash items=(sort-by \\\"text\\\" this.filtersDropdown))}}\\n      @isDisabled={{not @allFiltersHaveValues}}\\n      @onSelectItem={{action \\\"onAddFilter\\\"}}\\n      @minWidthOfOverlay={{270}}\\n      class=\\\"pt-px pb-px u__display-inline-block\\\">\\n      <div class=\\\"pt-2 pb-2\\\">\\n        <a class=\\\"btn__tertiary {{if (not @allFiltersHaveValues) \\\"o__disabled\\\"}}\\\">\\n          {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add filter\\n        </a>\\n      </div>\\n    </IcDropdownOpener>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/explorer/filter-bank.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/explorer/filter-bank.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { isNone } from '@ember/utils';\n\nlet buildOptions = (options, selectedOption) =>\n  options.map(option => ({\n    text: option.name,\n    value: option.value,\n    count: option.count,\n    isSelected: selectedOption && option.value === selectedOption.value,\n  }));\n\nlet buildDropdown = blocks =>\n  blocks.map(block => ({\n    text: block.name,\n    icon: block.icon,\n    value: block.key,\n    isSelected: false,\n  }));\n\nlet buildTense = ({ block, suffix = '' }) => {\n  let tense = 'was';\n\n  if (block.tense === 'present') {\n    tense = block.multiple ? 'includes' : 'is';\n  }\n\n  return `${tense}${suffix}`;\n};\n\nlet buildBlockDetails = (block, selectedLabel) => {\n  if (block.tense === 'none') {\n    return selectedLabel;\n  }\n\n  if (selectedLabel) {\n    return `${buildTense({ block })} ${selectedLabel}`;\n  } else {\n    return buildTense({ block, suffix: '...' });\n  }\n};\n\nexport default Component.extend({\n  initiallyOpened: false,\n  tagName: '',\n\n  selectedFilterBlocks: computed('selectedFilters', 'availableFilters', function() {\n    return this.selectedFilters.map(filter => {\n      let block = this.availableFilters[filter.key];\n      let selectedOption = block.options.find(option => option.value === filter.value);\n      let selectedLabel = selectedOption && selectedOption.name;\n      let blockDetails = buildBlockDetails(block, selectedLabel);\n\n      return {\n        ...block,\n        deletable: isNone(filter.deletable) && true,\n        dropdown: buildOptions(block.options, selectedOption),\n        selectedLabel,\n        blockDetails,\n        ...filter,\n      };\n    });\n  }),\n\n  filtersDropdown: computed('availableFilters', function() {\n    return buildDropdown(Object.keys(this.availableFilters).map(key => this.availableFilters[key]));\n  }),\n\n  actions: {\n    onAddFilter(key) {\n      event.stopPropagation();\n\n      this.set('initiallyOpened', true);\n      return this.addFilter(key);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{yield\\n  (hash\\n    component=(component\\n      \\\"reporting/explorer/filter-bank\\\"\\n      selectedFilters=this.filters\\n      availableFilters=this.availableFilters\\n      allFiltersHaveValues=this.allFiltersHaveValues\\n      singleFilterKey=@singleFilterKey\\n      addFilter=(action \\\"addFilterFieldByKey\\\")\\n      removeFilter=(action \\\"removeFilterByIndex\\\")\\n      setFilterValue=(action \\\"updateFilterValueByIndex\\\")\\n    )\\n    filters=this.query\\n  )\\n}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{yield\\n  (hash\\n    component=(component\\n      \\\"reporting/explorer/filter-bank\\\"\\n      selectedFilters=this.filters\\n      availableFilters=this.availableFilters\\n      allFiltersHaveValues=this.allFiltersHaveValues\\n      singleFilterKey=@singleFilterKey\\n      addFilter=(action \\\"addFilterFieldByKey\\\")\\n      removeFilter=(action \\\"removeFilterByIndex\\\")\\n      setFilterValue=(action \\\"updateFilterValueByIndex\\\")\\n    )\\n    filters=this.query\\n  )\\n}}\\n\",\"moduleName\":\"embercom/components/reporting/explorer/filter-manager.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/explorer/filter-manager.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  appService: service(),\n  tagName: '',\n\n  init() {\n    this._super(...arguments);\n    this.set('filters', []);\n    this.set('populatedFilters', []);\n  },\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.set('filters', this.savedFilters || []);\n    this.set('populatedFilters', this.savedFilters);\n  },\n\n  allFiltersHaveValues: computed('filters', function() {\n    return this.filters.every(filter => filter.value);\n  }),\n\n  availableFilters: computed('whitelist', 'blocksByKey', function() {\n    return (this.whitelist && this.whitelist.length\n      ? this.whitelist\n      : Object.keys(this.blocksByKey)\n    ).reduce(\n      (availableFilterBlocks, key) => ({\n        ...availableFilterBlocks,\n        [key]: this.blocksByKey[key],\n      }),\n      {},\n    );\n  }),\n\n  query: computed('blocksByKey', 'populatedFilters', function() {\n    return this.filters\n      .reduce(\n        (filters, filter) => [\n          ...filters,\n          filter.value && { [this.blocksByKey[filter.key].field]: filter.value },\n        ],\n        [],\n      )\n      .filter(filter => filter);\n  }),\n\n  actions: {\n    addFilterFieldByKey(key) {\n      this.set('filters', [...this.filters, { key }]);\n    },\n\n    removeFilterByIndex(index) {\n      let toRemove = this.filters[index];\n      let filters = this.filters.filter((filter, i) => i !== index);\n\n      this.set('filters', filters);\n      if (toRemove.value) {\n        this.set('populatedFilters', filters);\n      }\n\n      this.updateView({ filters });\n    },\n\n    updateFilterValueByIndex(index, name, valueOptions, value) {\n      let filters = this.filters.reduce((filters, filter, i) => {\n        let updatedValue = filter.value === value ? undefined : value;\n        let valueLabel = valueOptions.find(option => option.value === value).name;\n\n        return [\n          ...filters,\n          i === index ? { key: filter.key, value: updatedValue, name, valueLabel } : filter,\n        ];\n      }, []);\n      this.set('filters', filters);\n      this.set('populatedFilters', filters);\n      this.updateView({ filters });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcRadioButtonGroup\\n  @selectedValue={{@interval}}\\n  @onSelectionChange={{action @updateInterval}} as |group|\\n>\\n  <group.button @label=\\\"Hour\\\" @value=\\\"hour\\\" />\\n  <group.button @label=\\\"Day\\\" @value=\\\"day\\\" />\\n  <group.button @label=\\\"Week\\\" @value=\\\"week\\\" />\\n  <group.button @label=\\\"Month\\\" @value=\\\"month\\\" />\\n</IcRadioButtonGroup>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcRadioButtonGroup\\n  @selectedValue={{@interval}}\\n  @onSelectionChange={{action @updateInterval}} as |group|\\n>\\n  <group.button @label=\\\"Hour\\\" @value=\\\"hour\\\" />\\n  <group.button @label=\\\"Day\\\" @value=\\\"day\\\" />\\n  <group.button @label=\\\"Week\\\" @value=\\\"week\\\" />\\n  <group.button @label=\\\"Month\\\" @value=\\\"month\\\" />\\n</IcRadioButtonGroup>\\n\",\"moduleName\":\"embercom/components/reporting/explorer/interval-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/explorer/interval-selector.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcMultiselect\\n  @label={{concat @name \\\" \\\" \\\"(\\\" @selectedOptions.length \\\"/\\\" this.items.length \\\")\\\"}}\\n  @limit={{20}}\\n  @items={{this.items}}\\n  @isDisabled={{eq this.items.length 1}}\\n  @onSelectionChange={{action (mut this.localOptions)}}\\n  @onClose={{action \\\"updateSelectedOptions\\\"}}\\n  @hasFilter={{true}}\\n  @hasError={{lt this.localOptions.length 1}}\\n  @minWidthOfOverlay={{270}}\\n  @filterPlaceholder={{concat \\\"Search\\\" \\\" \\\" (lowercase @name) \\\"...\\\"}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcMultiselect\\n  @label={{concat @name \\\" \\\" \\\"(\\\" @selectedOptions.length \\\"/\\\" this.items.length \\\")\\\"}}\\n  @limit={{20}}\\n  @items={{this.items}}\\n  @isDisabled={{eq this.items.length 1}}\\n  @onSelectionChange={{action (mut this.localOptions)}}\\n  @onClose={{action \\\"updateSelectedOptions\\\"}}\\n  @hasFilter={{true}}\\n  @hasError={{lt this.localOptions.length 1}}\\n  @minWidthOfOverlay={{270}}\\n  @filterPlaceholder={{concat \\\"Search\\\" \\\" \\\" (lowercase @name) \\\"...\\\"}}\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/explorer/legend-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/explorer/legend-filter.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { reads } from '@ember/object/computed';\nimport { unitFormatter } from 'embercom/helpers/unit-formatter';\n\nlet buildOptions = (options, selectedOptions = [], unit) =>\n  options.map(option => ({\n    text: option.label,\n    value: option.label,\n    count: unitFormatter({ value: option.count, unit }),\n    isSelected: selectedOptions.includes(option.label),\n  }));\n\nexport default Component.extend({\n  localOptions: reads('selectedOptions'),\n  items: computed('options', 'selectedOptions', 'unit', function() {\n    return buildOptions(this.options, this.selectedOptions, this.unit);\n  }),\n\n  actions: {\n    updateSelectedOptions() {\n      // only update the options if not the default case\n      if (this.localOptions.length >= 1 && this.localOptions[0] !== 'Conversations') {\n        return this.setSelectedOptions(this.localOptions);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcRadioButtonGroup\\n  @selectedValue={{@metric}}\\n  @onSelectionChange={{action @updateMetric}} as |group|\\n>\\n  <group.button @label=\\\"Volume\\\" @value=\\\"volume\\\" />\\n  <group.button @label=\\\"Response time\\\" @value=\\\"response-time\\\" />\\n  <group.button @label=\\\"First response time\\\" @value=\\\"first-response-time\\\" />\\n  <group.button @label=\\\"Time to close\\\" @value=\\\"time-to-close\\\" />\\n</IcRadioButtonGroup>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcRadioButtonGroup\\n  @selectedValue={{@metric}}\\n  @onSelectionChange={{action @updateMetric}} as |group|\\n>\\n  <group.button @label=\\\"Volume\\\" @value=\\\"volume\\\" />\\n  <group.button @label=\\\"Response time\\\" @value=\\\"response-time\\\" />\\n  <group.button @label=\\\"First response time\\\" @value=\\\"first-response-time\\\" />\\n  <group.button @label=\\\"Time to close\\\" @value=\\\"time-to-close\\\" />\\n</IcRadioButtonGroup>\\n\",\"moduleName\":\"embercom/components/reporting/explorer/metric-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/explorer/metric-selector.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Reporting::Explorer::QueryBuilder\\n  @excludeOoOHours={{@excludeOoOHours}}\\n  @onUpdateView={{@onUpdateView}}\\n  @view={{@view}}\\n  @query={{@savedQuery}}\\n  @range={{@range}} as |builder|\\n>\\n  <Reporting::Explorer::FilterManager\\n    @blocksByKey={{builder.blocksByKey}}\\n    @savedFilters={{@view.json_view.filters}}\\n    @updateView={{action @onUpdateView}} as |filter-manager|\\n  >\\n    {{yield\\n      (hash\\n        filter-manager=(component filter-manager.component)\\n        filters=(hash list_filters=filter-manager.filters)\\n        grouping-selector=(component\\n          \\\"ic-select\\\"\\n          items=builder.groupings\\n          onSelectItem=builder.actions.setGrouping\\n          selectedValue=builder.selectedGrouping\\n          hasFilter=true\\n          filterPlaceholder=\\\"Search fields\\\"\\n          defaultLabel=\\\"Select a field to group by\\\"\\n          footerActions=(hash\\n            text=\\\"Remove grouping\\\"\\n            icon=\\\"remove\\\"\\n            action=(action builder.actions.removeGrouping)\\n          )\\n        )\\n        legend-filter=(component\\n          \\\"reporting/explorer/legend-filter\\\"\\n          name=(or\\n            (get (get builder.blocksByKey builder.selectedGrouping) \\\"name\\\")\\n            \\\"Conversations\\\"\\n          )\\n          unit=builder.legend.unit\\n          options=builder.legend.options\\n          selectedOptions=(or\\n            (get builder.selectedGroupingValuesByKey builder.selectedGrouping)\\n            (array \\\"Conversations\\\")\\n          )\\n          setSelectedOptions=(action\\n            builder.actions.setBlockValues \\\"grouping\\\" builder.selectedGrouping\\n          )\\n        )\\n        metric-selector=(component\\n          \\\"reporting/explorer/metric-selector\\\"\\n          metric=builder.query.metric\\n          updateMetric=builder.actions.setMetric\\n        )\\n        visualization-selector=(component\\n          \\\"reporting/explorer/visualization-selector\\\"\\n          metric=builder.query.metric\\n          visualization=builder.query.visualization\\n          updateVisualization=builder.actions.setVisualization\\n        )\\n        interval-selector=(component\\n          \\\"reporting/explorer/interval-selector\\\"\\n          interval=builder.query.interval\\n          updateInterval=builder.actions.setRangeInterval\\n        )\\n        query=builder.query\\n        legend=builder.legend\\n        view=builder.view\\n      )\\n    }}\\n  </Reporting::Explorer::FilterManager>\\n</Reporting::Explorer::QueryBuilder>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Reporting::Explorer::QueryBuilder\\n  @excludeOoOHours={{@excludeOoOHours}}\\n  @onUpdateView={{@onUpdateView}}\\n  @view={{@view}}\\n  @query={{@savedQuery}}\\n  @range={{@range}} as |builder|\\n>\\n  <Reporting::Explorer::FilterManager\\n    @blocksByKey={{builder.blocksByKey}}\\n    @savedFilters={{@view.json_view.filters}}\\n    @updateView={{action @onUpdateView}} as |filter-manager|\\n  >\\n    {{yield\\n      (hash\\n        filter-manager=(component filter-manager.component)\\n        filters=(hash list_filters=filter-manager.filters)\\n        grouping-selector=(component\\n          \\\"ic-select\\\"\\n          items=builder.groupings\\n          onSelectItem=builder.actions.setGrouping\\n          selectedValue=builder.selectedGrouping\\n          hasFilter=true\\n          filterPlaceholder=\\\"Search fields\\\"\\n          defaultLabel=\\\"Select a field to group by\\\"\\n          footerActions=(hash\\n            text=\\\"Remove grouping\\\"\\n            icon=\\\"remove\\\"\\n            action=(action builder.actions.removeGrouping)\\n          )\\n        )\\n        legend-filter=(component\\n          \\\"reporting/explorer/legend-filter\\\"\\n          name=(or\\n            (get (get builder.blocksByKey builder.selectedGrouping) \\\"name\\\")\\n            \\\"Conversations\\\"\\n          )\\n          unit=builder.legend.unit\\n          options=builder.legend.options\\n          selectedOptions=(or\\n            (get builder.selectedGroupingValuesByKey builder.selectedGrouping)\\n            (array \\\"Conversations\\\")\\n          )\\n          setSelectedOptions=(action\\n            builder.actions.setBlockValues \\\"grouping\\\" builder.selectedGrouping\\n          )\\n        )\\n        metric-selector=(component\\n          \\\"reporting/explorer/metric-selector\\\"\\n          metric=builder.query.metric\\n          updateMetric=builder.actions.setMetric\\n        )\\n        visualization-selector=(component\\n          \\\"reporting/explorer/visualization-selector\\\"\\n          metric=builder.query.metric\\n          visualization=builder.query.visualization\\n          updateVisualization=builder.actions.setVisualization\\n        )\\n        interval-selector=(component\\n          \\\"reporting/explorer/interval-selector\\\"\\n          interval=builder.query.interval\\n          updateInterval=builder.actions.setRangeInterval\\n        )\\n        query=builder.query\\n        legend=builder.legend\\n        view=builder.view\\n      )\\n    }}\\n  </Reporting::Explorer::FilterManager>\\n</Reporting::Explorer::QueryBuilder>\\n\",\"moduleName\":\"embercom/components/reporting/explorer/query-builder-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/explorer/query-builder-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield\\n  (hash\\n    blocksByKey=blocksByKey\\n    availableFilterKeys=availableFilterKeys\\n    selectedFilterKeys=selectedFilterKeys\\n    selectedFilterValuesByKey=selectedFilterValuesByKey\\n    allSelectedFiltersHaveValue=allSelectedFiltersHaveValue\\n    availableGroupingKeys=availableGroupingKeys\\n    selectedGroupingKeys=selectedGroupingKeys\\n    selectedGroupingValuesByKey=selectedGroupingValuesByKey\\n    allSelectedGroupingsHaveValue=allSelectedGroupingsHaveValue\\n    groupings=groupings\\n    selectedGrouping=selectedGrouping\\n    actions=(hash\\n      setBlockValues=(action \\\"setBlockValues\\\")\\n      setVisualization=(action \\\"setVisualization\\\")\\n      setMetric=(action \\\"setMetric\\\")\\n      setRangeInterval=(action \\\"setRangeInterval\\\")\\n      setGrouping=(action \\\"setGrouping\\\")\\n      removeGrouping=(action \\\"removeGrouping\\\")\\n    )\\n    query=(hash\\n      metric=metric\\n      visualization=visualization\\n      interval=interval\\n      fields=signalQuery\\n      groupings=queryGroupings\\n    )\\n    legend=(hash\\n      options=legendItemOptions\\n      items=legendItems\\n      keys=legendItemKeys\\n      currentKeys=currentLegendItemKeys\\n      colors=legendKeyColorHash\\n      units=units\\n      unit=signalQuery.unit\\n    )\\n  )\\n}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield\\n  (hash\\n    blocksByKey=blocksByKey\\n    availableFilterKeys=availableFilterKeys\\n    selectedFilterKeys=selectedFilterKeys\\n    selectedFilterValuesByKey=selectedFilterValuesByKey\\n    allSelectedFiltersHaveValue=allSelectedFiltersHaveValue\\n    availableGroupingKeys=availableGroupingKeys\\n    selectedGroupingKeys=selectedGroupingKeys\\n    selectedGroupingValuesByKey=selectedGroupingValuesByKey\\n    allSelectedGroupingsHaveValue=allSelectedGroupingsHaveValue\\n    groupings=groupings\\n    selectedGrouping=selectedGrouping\\n    actions=(hash\\n      setBlockValues=(action \\\"setBlockValues\\\")\\n      setVisualization=(action \\\"setVisualization\\\")\\n      setMetric=(action \\\"setMetric\\\")\\n      setRangeInterval=(action \\\"setRangeInterval\\\")\\n      setGrouping=(action \\\"setGrouping\\\")\\n      removeGrouping=(action \\\"removeGrouping\\\")\\n    )\\n    query=(hash\\n      metric=metric\\n      visualization=visualization\\n      interval=interval\\n      fields=signalQuery\\n      groupings=queryGroupings\\n    )\\n    legend=(hash\\n      options=legendItemOptions\\n      items=legendItems\\n      keys=legendItemKeys\\n      currentKeys=currentLegendItemKeys\\n      colors=legendKeyColorHash\\n      units=units\\n      unit=signalQuery.unit\\n    )\\n  )\\n}}\\n\",\"moduleName\":\"embercom/components/reporting/explorer/query-builder.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/explorer/query-builder.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly, mapBy, setDiff, union } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { resolve } from 'rsvp';\nimport { task } from 'ember-concurrency';\nimport { createColorHashForKeys } from 'embercom/lib/reporting/visualization-helpers';\n\nimport BLOCKS, {\n  CONVERSATION_TAG,\n  USER_TAG_IDS,\n  CURRENT_TEAMMATE_ID,\n  CURRENT_INBOX_ID,\n  ORIGINAL_INBOX_ID,\n} from 'embercom/lib/reporting/conversation-event-blocks';\nimport QUERIES from 'embercom/lib/reporting/queries-conversation-explorer';\n\nconst VALUE_TYPE_KEY_MAP = {\n  grouping: 'selectedGroupingValuesByKey',\n  filter: 'selectedFilterValuesByKey',\n};\n\nconst METRIC_TO_QUERY_MAP = {\n  volume: QUERIES.CONVERSATIONS_VOLUME,\n  'response-time': QUERIES.RESPONSE_TIME,\n  'first-response-time': QUERIES.FIRST_RESPONSE_TIME,\n  'time-to-close': QUERIES.TIME_TO_CLOSE,\n};\n\nconst DEFAULT_VISUALIZATION = 'stacked-bar';\nconst DEFAULT_METRIC = 'volume';\nconst DEFAULT_INTERVAL = 'day';\n\nlet buildFilter = ({ options, value = [] }) => {\n  let filterProperties = value.map(value => options.find(option => option.name === value).value);\n\n  return filterProperties && filterProperties.length ? filterProperties : [];\n};\n\nexport default Component.extend({\n  appService: service(),\n  reportingService: service(),\n  intercomEventService: service(),\n  app: readOnly('appService.app'),\n\n  metric: DEFAULT_METRIC,\n  visualization: DEFAULT_VISUALIZATION,\n  interval: DEFAULT_INTERVAL,\n\n  signalQuery: computed('metric', 'excludeOoOHours', function() {\n    return {\n      ...METRIC_TO_QUERY_MAP[this.metric](this.excludeOoOHours),\n      keys_are_dates: true,\n      nested_keys_are_dates: false,\n    };\n  }),\n\n  defaultKey: computed('signalQuery', function() {\n    return this.signalQuery.filters['event.type'];\n  }),\n\n  tags: readOnly('app.tags'),\n  teams: readOnly('app.teamsWithoutAppTeam'),\n  teammates: readOnly('app.humanAdmins'),\n\n  // messages: [],\n  // bots: [],\n  // urls: [],\n  // emailDomains: [],\n  // companies: [],\n\n  selectedGrouping: undefined,\n\n  groupingBlacklistKeys: ['originalUserRole'],\n  selectedGroupingKeys: [],\n  selectedGroupingValuesByKey: {},\n  groupingKeys: setDiff('blockKeys', 'groupingBlacklistKeys'),\n\n  groupings: computed('groupingKeys', 'blocksByKey', function() {\n    return this.groupingKeys.map(key => {\n      let { name, icon } = this.blocksByKey[key];\n\n      return {\n        text: name,\n        value: key,\n        icon,\n      };\n    });\n  }),\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    if (this.view) {\n      let {\n        groupingValuesByKey = {},\n        visualization = DEFAULT_VISUALIZATION,\n        metric = DEFAULT_METRIC,\n        interval = DEFAULT_INTERVAL,\n        filters = [],\n      } = this.view.json_view || {};\n\n      return this.setProperties({\n        selectedGrouping: Object.keys(groupingValuesByKey)[0],\n        selectedGroupingValuesByKey: groupingValuesByKey,\n        filters,\n        visualization,\n        metric,\n        interval,\n      });\n    }\n  },\n\n  allSelectedGroupingsHaveValue: computed(\n    'selectedGroupingKeys',\n    'selectedGroupingValuesByKey',\n    function() {\n      return this.selectedGroupingKeys.every(key => this.selectedGroupingValuesByKey[key]);\n    },\n  ),\n\n  blocks: computed('tags', 'teammates', 'teams', function() {\n    return [\n      ...BLOCKS,\n\n      CONVERSATION_TAG(this.tags),\n      USER_TAG_IDS(this.tags),\n      CURRENT_TEAMMATE_ID(this.teammates),\n      CURRENT_INBOX_ID(this.teams),\n      ORIGINAL_INBOX_ID(this.teams),\n    ];\n  }),\n\n  blockKeys: mapBy('blocks', 'key'),\n\n  blocksByKey: computed('blocks', function() {\n    return this.blocks.reduce(\n      (blocksByKey, block) => ({\n        ...blocksByKey,\n        [block.key]: block,\n      }),\n      {},\n    );\n  }),\n\n  queryGroupings: computed(\n    'range.baseAggregations',\n    'blocksByKey',\n    'selectedGroupingValuesByKey',\n    'interval',\n    function() {\n      let keys =\n        this.selectedGrouping &&\n        buildFilter({\n          options: this.blocksByKey[this.selectedGrouping].options,\n          value: this.selectedGroupingValuesByKey[this.selectedGrouping],\n        });\n\n      let grouping = this.selectedGrouping\n        ? this.blocksByKey[this.selectedGrouping].field\n        : 'event.type';\n      let interval = this.app.canUseExplorerIteration ? this.interval : this.range.interval;\n\n      return [\n        {\n          grouping: 'date',\n          interval,\n        },\n        {\n          grouping,\n          interval: 1,\n          ...(keys && keys.length && { keys }),\n        },\n      ];\n    },\n  ),\n\n  optionCounts: readOnly('fetchTopKeys.lastSuccessful.value'),\n\n  legendItemOptions: computed(\n    'blocksByKey',\n    'selectedGroupingValuesByKey',\n    'defaultKey',\n    'optionCounts.@each.value',\n    function() {\n      let groupingKey = this.selectedGrouping;\n      let defaultOption = [{ name: 'Conversations', value: this.defaultKey }];\n\n      let options = groupingKey ? this.blocksByKey[groupingKey].options : defaultOption;\n\n      return options\n        .map(option => {\n          let { value = 0 } =\n            (this.optionCounts || []).find(item => item.key === option.value) || {};\n\n          return {\n            label: option.name,\n            value: option.value,\n            count: value,\n          };\n        })\n        .sort((a, b) => b.count - a.count);\n    },\n  ),\n\n  legendItems: computed('blocksByKey', 'selectedGroupingValuesByKey', 'defaultKey', function() {\n    let groupingKey = this.selectedGrouping;\n    let defaultOption = [{ name: 'Conversations', value: this.defaultKey }];\n\n    let options = groupingKey\n      ? this.selectedGroupingValuesByKey[groupingKey].map(value =>\n          this.blocksByKey[groupingKey].options.find(option => option.name === value),\n        )\n      : defaultOption;\n\n    return options.map(option => ({\n      label: option.name,\n      value: option.value,\n    }));\n  }),\n\n  previousLegendItemKeys: [],\n  currentLegendItemKeys: mapBy('legendItems', 'value'),\n\n  legendItemKeys: union('previousLegendItemKeys', 'currentLegendItemKeys'),\n  legendKeyColorHash: computed('currentLegendItemKeys', 'previousLegendItemKeys', function() {\n    return {\n      ...createColorHashForKeys(this.previousLegendItemKeys),\n      ...createColorHashForKeys(this.currentLegendItemKeys),\n    };\n  }),\n\n  units: computed('legendItems', function() {\n    return this.legendItems.reduce(\n      (units, item) => ({\n        ...units,\n        [item.value]: item.label,\n      }),\n      {},\n    );\n  }),\n\n  updateView() {\n    if (this.onUpdateView) {\n      this.onUpdateView({\n        groupingValuesByKey: this.selectedGroupingValuesByKey,\n        visualization: this.visualization,\n        metric: this.metric,\n        interval: this.interval,\n      });\n    }\n  },\n\n  fetchTopKeys: task(function*() {\n    let groupingKey = this.selectedGrouping;\n    let grouping = groupingKey ? this.blocksByKey[groupingKey].field : 'event.type';\n\n    let query = {\n      ...this.signalQuery,\n      debug_name: 'top_items',\n    };\n\n    let range = this.range;\n    let filters = this.filters;\n\n    let keysSignal = yield resolve(\n      this.reportingService.fetchSignal(\n        query,\n        groupingKey,\n        range,\n        {\n          list_filters: filters,\n          ...query.filters,\n        },\n        [\n          {\n            grouping,\n            interval: 1,\n          },\n        ],\n      ),\n    );\n\n    return keysSignal.originalContext;\n  }),\n\n  topKeys: task(function*({ options, threshold }) {\n    if (options.length > threshold) {\n      let keys = yield this.fetchTopKeys.perform();\n\n      return keys\n        .sort((a, b) => b.count - a.count)\n        .map(item => item.key)\n        .slice(0, 10);\n    }\n\n    this.fetchTopKeys.perform();\n\n    return yield resolve(options);\n  }),\n\n  async addValuesForGrouping(groupingKey) {\n    let options = this.blocksByKey[groupingKey].options.map(option => option.value);\n\n    let keys = await this.topKeys.perform({ options, threshold: 20 });\n\n    this.set('selectedGroupingValuesByKey', {\n      ...this.selectedGroupingValuesByKey,\n      [groupingKey]: keys\n        .map(key => {\n          let option = this.blocksByKey[groupingKey].options.find(option => option.value === key);\n          return option ? option.name : undefined;\n        })\n        .filter(option => option),\n    });\n\n    console.log(this.selectedGroupingValuesByKey);\n\n    this.updateView();\n  },\n\n  actions: {\n    setBlockValues(type, key, values) {\n      let valueProperty = VALUE_TYPE_KEY_MAP[type];\n      let blockValuesByKey = this.get(valueProperty);\n\n      this.set('previousLegendItemKeys', this.currentLegendItemKeys);\n\n      this.set(valueProperty, {\n        ...blockValuesByKey,\n        [key]: values,\n      });\n\n      this.updateView();\n    },\n\n    async setGrouping(key) {\n      this.set('selectedGrouping', key);\n      this.set('previousLegendItemKeys', this.currentLegendItemKeys);\n\n      if (!this.selectedGroupingValuesByKey[key]) {\n        return await this.addValuesForGrouping(key);\n      }\n    },\n\n    removeGrouping() {\n      this.set('selectedGrouping', undefined);\n      this.set('selectedGroupingValuesByKey', {});\n    },\n\n    setMetric(type) {\n      this.set('metric', type);\n\n      if (type !== 'volume') {\n        this.set('visualization', 'line');\n      }\n\n      this.fetchTopKeys.perform();\n\n      this.updateView();\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: `clicked`,\n        object: 'select_metric',\n        type,\n      });\n    },\n\n    setVisualization(type) {\n      this.set('visualization', type);\n\n      this.updateView();\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: `clicked`,\n        object: 'select_visualization',\n        type,\n      });\n    },\n\n    setRangeInterval(interval) {\n      this.set('interval', interval);\n\n      this.updateView();\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: `clicked`,\n        object: 'select_interval',\n        interval,\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Element::VisualizationContainer\\n  @visualization={{@visualization}}\\n  @signal={{@signal}}\\n  @unit={{@unit}}\\n  @isStacked={{eq @visualization \\\"stacked-bar\\\"}} as |visualizationContainer|\\n>\\n  <div class=\\\"reporting__chart\\\">\\n    {{#if (eq @visualization \\\"stacked-bar\\\")}}\\n      <div class=\\\"absolute\\\">\\n        <Reporting::Element::ChartStackableBar\\n          @signal={{@signal}}\\n          @xScale={{visualizationContainer.xScale}}\\n          @yScale={{visualizationContainer.yScale}}\\n          @width={{visualizationContainer.width}}\\n          @maxValue={{visualizationContainer.maxValue}}\\n          @keys={{@keys}}\\n          @keyColorHash={{@keyColorHash}}\\n          @units={{@units}}\\n          @unit={{@unit}}\\n          @tooltips={{@tooltips}}\\n          @tooltipComponent={{@tooltipComponent}}\\n        />\\n      </div>\\n    {{/if}}\\n    {{#if (eq @visualization \\\"line\\\")}}\\n      <div class=\\\"absolute\\\">\\n        <Reporting::Element::ChartLine\\n          @signal={{@signal}}\\n          @xScale={{visualizationContainer.xScale}}\\n          @yScale={{visualizationContainer.yScale}}\\n          @width={{visualizationContainer.width}}\\n          @maxValue={{visualizationContainer.maxValue}}\\n          @height={{visualizationContainer.height}}\\n          @keys={{@currentKeys}}\\n          @keyColorHash={{@keyColorHash}}\\n          @units={{@units}}\\n          @unit={{@unit}}\\n          @tooltips={{@tooltips}}\\n          @tooltipComponent={{@tooltipComponent}}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"h-2\\\"></div>\\n</Reporting::Element::VisualizationContainer>\\n\", {\"contents\":\"<Reporting::Element::VisualizationContainer\\n  @visualization={{@visualization}}\\n  @signal={{@signal}}\\n  @unit={{@unit}}\\n  @isStacked={{eq @visualization \\\"stacked-bar\\\"}} as |visualizationContainer|\\n>\\n  <div class=\\\"reporting__chart\\\">\\n    {{#if (eq @visualization \\\"stacked-bar\\\")}}\\n      <div class=\\\"absolute\\\">\\n        <Reporting::Element::ChartStackableBar\\n          @signal={{@signal}}\\n          @xScale={{visualizationContainer.xScale}}\\n          @yScale={{visualizationContainer.yScale}}\\n          @width={{visualizationContainer.width}}\\n          @maxValue={{visualizationContainer.maxValue}}\\n          @keys={{@keys}}\\n          @keyColorHash={{@keyColorHash}}\\n          @units={{@units}}\\n          @unit={{@unit}}\\n          @tooltips={{@tooltips}}\\n          @tooltipComponent={{@tooltipComponent}}\\n        />\\n      </div>\\n    {{/if}}\\n    {{#if (eq @visualization \\\"line\\\")}}\\n      <div class=\\\"absolute\\\">\\n        <Reporting::Element::ChartLine\\n          @signal={{@signal}}\\n          @xScale={{visualizationContainer.xScale}}\\n          @yScale={{visualizationContainer.yScale}}\\n          @width={{visualizationContainer.width}}\\n          @maxValue={{visualizationContainer.maxValue}}\\n          @height={{visualizationContainer.height}}\\n          @keys={{@currentKeys}}\\n          @keyColorHash={{@keyColorHash}}\\n          @units={{@units}}\\n          @unit={{@unit}}\\n          @tooltips={{@tooltips}}\\n          @tooltipComponent={{@tooltipComponent}}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"h-2\\\"></div>\\n</Reporting::Element::VisualizationContainer>\\n\",\"moduleName\":\"embercom/components/reporting/explorer/selectable-visualization.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/explorer/selectable-visualization.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Common::HamburgerMenu class=\\\"o__flexes-to-1\\\">\\n  <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n    {{#if @showPageTitle}}\\n      <h1 class=\\\"t__h1\\\" data-test-page-title>\\n        {{@pageTitle}}\\n      </h1>\\n    {{else}}\\n      <Pulse::ExpandingInput\\n        @value={{@viewTitle}}\\n        @onUpdate={{@onViewTitleUpdate}}\\n        placeholder=\\\"Untitled view\\\"\\n        maxlength={{255}}\\n        class=\\\"t__h1 min-w-5 max-w-128\\\"\\n        data-test-view-title\\n      />\\n    {{/if}}\\n    {{ic-stamp \\\"Beta\\\" \\\"u__ml__5\\\"}}\\n  </div>\\n  <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n  {{#if (has-feature \\\"canSaveExplorerViews\\\")}}\\n    <IcSelect\\n      data-test-select-view=\\\"true\\\"\\n      @label=\\\"Saved views\\\"\\n      @filterPlaceholder=\\\"Search saved views...\\\"\\n      @items={{this.viewList}}\\n      @onSelectItem={{action @onSelectView}}\\n      @minWidthOfOverlay={{270}}\\n      @footerActions={{hash\\n        text=\\\"New view\\\"\\n        icon=\\\"new\\\"\\n        action=(action @onCreateNewView)\\n      }}\\n    />\\n    <IcButton\\n      data-test-save-view=\\\"true\\\"\\n      @type=\\\"primary\\\"\\n      @icon=\\\"check\\\"\\n      @label={{if @showPageTitle \\\"Save as view\\\" \\\"Save\\\"}}\\n      @onClick={{action @onSaveView}}\\n      @isDisabled={{not @canSave}}\\n      @inRightList={{true}}\\n      class=\\\"u__ml__10\\\"\\n    />\\n  {{/if}}\\n</Common::HamburgerMenu>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Common::HamburgerMenu class=\\\"o__flexes-to-1\\\">\\n  <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n    {{#if @showPageTitle}}\\n      <h1 class=\\\"t__h1\\\" data-test-page-title>\\n        {{@pageTitle}}\\n      </h1>\\n    {{else}}\\n      <Pulse::ExpandingInput\\n        @value={{@viewTitle}}\\n        @onUpdate={{@onViewTitleUpdate}}\\n        placeholder=\\\"Untitled view\\\"\\n        maxlength={{255}}\\n        class=\\\"t__h1 min-w-5 max-w-128\\\"\\n        data-test-view-title\\n      />\\n    {{/if}}\\n    {{ic-stamp \\\"Beta\\\" \\\"u__ml__5\\\"}}\\n  </div>\\n  <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n  {{#if (has-feature \\\"canSaveExplorerViews\\\")}}\\n    <IcSelect\\n      data-test-select-view=\\\"true\\\"\\n      @label=\\\"Saved views\\\"\\n      @filterPlaceholder=\\\"Search saved views...\\\"\\n      @items={{this.viewList}}\\n      @onSelectItem={{action @onSelectView}}\\n      @minWidthOfOverlay={{270}}\\n      @footerActions={{hash\\n        text=\\\"New view\\\"\\n        icon=\\\"new\\\"\\n        action=(action @onCreateNewView)\\n      }}\\n    />\\n    <IcButton\\n      data-test-save-view=\\\"true\\\"\\n      @type=\\\"primary\\\"\\n      @icon=\\\"check\\\"\\n      @label={{if @showPageTitle \\\"Save as view\\\" \\\"Save\\\"}}\\n      @onClick={{action @onSaveView}}\\n      @isDisabled={{not @canSave}}\\n      @inRightList={{true}}\\n      class=\\\"u__ml__10\\\"\\n    />\\n  {{/if}}\\n</Common::HamburgerMenu>\\n\",\"moduleName\":\"embercom/components/reporting/explorer/title-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/explorer/title-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  viewList: computed('views', function() {\n    return (this.views || []).map(view => ({\n      text: view.title,\n      value: view.id,\n      isSelected: view.id === this.selectedView,\n    }));\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{yield\\n  (hash\\n    views=this.views\\n    selectedView=this.selectedView\\n    canSaveSelectedView=this.canSaveSelectedView\\n    selectedViewIsNamed=this.selectedViewIsNamed\\n    createNewView=(action \\\"createNewView\\\")\\n    saveView=(perform this.saveSelectedView)\\n    updateViewJson=(action \\\"updateJSONView\\\")\\n  )\\n}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{yield\\n  (hash\\n    views=this.views\\n    selectedView=this.selectedView\\n    canSaveSelectedView=this.canSaveSelectedView\\n    selectedViewIsNamed=this.selectedViewIsNamed\\n    createNewView=(action \\\"createNewView\\\")\\n    saveView=(perform this.saveSelectedView)\\n    updateViewJson=(action \\\"updateJSONView\\\")\\n  )\\n}}\\n\",\"moduleName\":\"embercom/components/reporting/explorer/view-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/explorer/view-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { computed } from '@ember/object';\nimport { readOnly, and, or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  store: service(),\n  notificationsService: service(),\n  intercomEventService: service(),\n\n  views: readOnly('fetchViews.lastSuccessful.value'),\n  selectedViewId: undefined,\n\n  selectedView: computed('selectedViewId', 'views', function() {\n    if (this.selectedViewId && this.views && this.views.length) {\n      return this.views.find(view => view.id === this.selectedViewId);\n    } else {\n      return this.store.createRecord('reporting/view', {});\n    }\n  }),\n  canSaveSelectedView: and('selectedView.hasDirtyAttributes', 'selectedView.json_view'),\n\n  selectedViewHasBeenSaved: readOnly('selectedView.id'),\n  selectedViewIsNew: false,\n  selectedViewIsNamed: or('selectedViewIsNew', 'selectedViewHasBeenSaved'),\n\n  fetchViews: task(function*() {\n    return yield this.store.query('reporting/view', {});\n  }).restartable(),\n\n  saveSelectedView: task(function*() {\n    let { id, title } = yield this.selectedView.save();\n\n    this.notificationsService.notifyConfirmation('View succesfully saved', 1000, 'viewSaved');\n    this.onSelectViewId(id);\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'save',\n      object: 'view',\n      title,\n      id,\n    });\n\n    yield this.fetchViews.perform();\n  }),\n\n  didInsertElement() {\n    this._super(...arguments);\n    return this.fetchViews.perform();\n  },\n\n  actions: {\n    createNewView() {\n      this.onSelectViewId(undefined);\n      this.set('selectedViewIsNew', true);\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'new view',\n        object: 'view',\n      });\n    },\n    updateJSONView(update) {\n      this.set('selectedView.json_view', { ...this.selectedView.json_view, ...update });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcRadioButtonGroup\\n  @selectedValue={{@visualization}}\\n  @onSelectionChange={{action @updateVisualization}} as |group|\\n>\\n  <group.button\\n    @disabled={{not (eq @metric \\\"volume\\\")}}\\n    @label=\\\"Stacked bar\\\"\\n    @icon=\\\"bar-charts\\\"\\n    @value=\\\"stacked-bar\\\"\\n  />\\n  <group.button @label=\\\"Line\\\" @icon=\\\"ab-test\\\" @value=\\\"line\\\" />\\n</IcRadioButtonGroup>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcRadioButtonGroup\\n  @selectedValue={{@visualization}}\\n  @onSelectionChange={{action @updateVisualization}} as |group|\\n>\\n  <group.button\\n    @disabled={{not (eq @metric \\\"volume\\\")}}\\n    @label=\\\"Stacked bar\\\"\\n    @icon=\\\"bar-charts\\\"\\n    @value=\\\"stacked-bar\\\"\\n  />\\n  <group.button @label=\\\"Line\\\" @icon=\\\"ab-test\\\" @value=\\\"line\\\" />\\n</IcRadioButtonGroup>\\n\",\"moduleName\":\"embercom/components/reporting/explorer/visualization-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/explorer/visualization-selector.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Form as |form|>\\n  <Heading @size='4'>\\n    Select fields to export\\n  </Heading>\\n  <Common::AccordionComponent as |accordion|>\\n    {{#each this.columns as |columnSection|}}\\n      <accordion.section @name={{columnSection.sectionName}} as |section|>\\n        <section.header\\n          data-test-export-section={{columnSection.sectionName}}\\n          as |header|\\n        >\\n          <Common::AccordionComponent::WhiteHeaderTitle\\n            @heading={{columnSection.sectionTitle}}\\n            @subheading={{columnSection.sectionSubtitle}}\\n            @icon={{columnSection.sectionIcon}}\\n          />\\n        </section.header>\\n        <section.header-action />\\n        <section.body as |body|>\\n          <form.Item as |item|>\\n            <item.Checkbox\\n              @label=\\\"Select all\\\"\\n              checked={{get this.selectAllChecked columnSection.sectionName}}\\n              {{on \\\"change\\\" (fn this.toggleSelectAll columnSection.sectionName)}}\\n              data-test-export-select-all={{columnSection.sectionName}}\\n            />\\n            {{#each columnSection.columns as |column|}}\\n              <item.Checkbox\\n                {{on 'change' (fn this.updateColumn column.name)}}\\n                checked={{get this.checked column.name}}\\n                data-test-export-column={{column.name}}\\n                as |checkbox|\\n              >\\n                <checkbox.Label>\\n                  {{column.label}}\\n                  {{#if column.hint}}\\n                    <span class=\\\"text-gray\\\">\\n                      <IcTooltipIcon @content={{column.hint}} />\\n                    </span>\\n                  {{/if}}\\n                </checkbox.Label>\\n              </item.Checkbox>\\n            {{/each}}\\n          </form.Item>\\n        </section.body>\\n      </accordion.section>\\n    {{/each}}\\n  </Common::AccordionComponent>\\n</Form>\\n\", {\"contents\":\"<Form as |form|>\\n  <Heading @size='4'>\\n    Select fields to export\\n  </Heading>\\n  <Common::AccordionComponent as |accordion|>\\n    {{#each this.columns as |columnSection|}}\\n      <accordion.section @name={{columnSection.sectionName}} as |section|>\\n        <section.header\\n          data-test-export-section={{columnSection.sectionName}}\\n          as |header|\\n        >\\n          <Common::AccordionComponent::WhiteHeaderTitle\\n            @heading={{columnSection.sectionTitle}}\\n            @subheading={{columnSection.sectionSubtitle}}\\n            @icon={{columnSection.sectionIcon}}\\n          />\\n        </section.header>\\n        <section.header-action />\\n        <section.body as |body|>\\n          <form.Item as |item|>\\n            <item.Checkbox\\n              @label=\\\"Select all\\\"\\n              checked={{get this.selectAllChecked columnSection.sectionName}}\\n              {{on \\\"change\\\" (fn this.toggleSelectAll columnSection.sectionName)}}\\n              data-test-export-select-all={{columnSection.sectionName}}\\n            />\\n            {{#each columnSection.columns as |column|}}\\n              <item.Checkbox\\n                {{on 'change' (fn this.updateColumn column.name)}}\\n                checked={{get this.checked column.name}}\\n                data-test-export-column={{column.name}}\\n                as |checkbox|\\n              >\\n                <checkbox.Label>\\n                  {{column.label}}\\n                  {{#if column.hint}}\\n                    <span class=\\\"text-gray\\\">\\n                      <IcTooltipIcon @content={{column.hint}} />\\n                    </span>\\n                  {{/if}}\\n                </checkbox.Label>\\n              </item.Checkbox>\\n            {{/each}}\\n          </form.Item>\\n        </section.body>\\n      </accordion.section>\\n    {{/each}}\\n  </Common::AccordionComponent>\\n</Form>\\n\",\"moduleName\":\"embercom/components/reporting/export/column-selection.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/export/column-selection.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { COLUMN_DATA, COLUMN_NAMES } from 'embercom/lib/reporting/export-columns';\n\nexport default class ColumnSelection extends Component {\n  columns = COLUMN_DATA;\n\n  get checked() {\n    return COLUMN_NAMES.reduce(\n      (acc, columnName) => (\n        (acc[columnName] = this.args.selectedColumns.includes(columnName)), acc\n      ),\n      {},\n    );\n  }\n\n  get selectAllChecked() {\n    return COLUMN_DATA.reduce((acc, section) => {\n      let shouldBeChecked = section.columns.every(column =>\n        this.args.selectedColumns.includes(column.name),\n      );\n      acc[section.sectionName] = shouldBeChecked;\n      return acc;\n    }, {});\n  }\n\n  _updateColumns(columnNames, newValue) {\n    let selectedColumnSet = new Set(this.args.selectedColumns);\n    columnNames.forEach(column => {\n      if (newValue) {\n        selectedColumnSet.add(column);\n      } else {\n        selectedColumnSet.delete(column);\n      }\n    });\n    let selectedColumns = COLUMN_NAMES.filter(column => selectedColumnSet.has(column));\n    this.args.updateSelectedColumns(selectedColumns);\n  }\n\n  @action\n  updateColumn(columnName, event) {\n    let checkedValue = event?.target?.checked;\n    this._updateColumns([columnName], checkedValue);\n  }\n\n  @action\n  toggleSelectAll(sectionName, event) {\n    let section = COLUMN_DATA.find(section => section.sectionName === sectionName);\n    let checkedValue = event?.target?.checked;\n    let columnNames = section.columns.map(column => column.name);\n    this._updateColumns(columnNames, checkedValue);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureKey=\\\"inbox_csv_export\\\" as |paywall|>\\n  <div\\n    class=\\\"card reporting__report-card-filters\\\"\\n    data-test-reporting-export-card\\n  >\\n    <paywall.Block>\\n      <div class=\\\"card__inner layout__box o__flexes-to-1\\\">\\n        <div class=\\\"layout__box o__flexes-to-1\\\">\\n          <h2 class=\\\"t__h2\\\">\\n            {{#if (has-feature \\\"canUseNewReportingIa\\\")}}\\n              Export\\n            {{else}}\\n              Get all your {{dataTypeDisplayName}} data\\n            {{/if}}\\n          </h2>\\n          <div class=\\\"h-2\\\"></div>\\n          Export a CSV of all {{dataTypeDisplayName}} data sent within the selected date range.\\n        </div>\\n          <div class=\\\"h-2\\\"></div>\\n          <div class=\\\"layout__box o__centers-vertically\\\">\\n            <IcButton\\n              @type=\\\"secondary\\\"\\n              @action={{action \\\"openExportModal\\\"}}\\n              @disabled={{or enqueuingExport paywall.isActive}}\\n              @testBindingClass=\\\"test__message-list__message-data-export-modal-button\\\"\\n            >\\n              Export {{dataTypeDisplayName}} data\\n            </IcButton>\\n          </div>\\n      </div>\\n    </paywall.Block>\\n  </div>\\n</Paywall>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureKey=\\\"inbox_csv_export\\\" as |paywall|>\\n  <div\\n    class=\\\"card reporting__report-card-filters\\\"\\n    data-test-reporting-export-card\\n  >\\n    <paywall.Block>\\n      <div class=\\\"card__inner layout__box o__flexes-to-1\\\">\\n        <div class=\\\"layout__box o__flexes-to-1\\\">\\n          <h2 class=\\\"t__h2\\\">\\n            {{#if (has-feature \\\"canUseNewReportingIa\\\")}}\\n              Export\\n            {{else}}\\n              Get all your {{dataTypeDisplayName}} data\\n            {{/if}}\\n          </h2>\\n          <div class=\\\"h-2\\\"></div>\\n          Export a CSV of all {{dataTypeDisplayName}} data sent within the selected date range.\\n        </div>\\n          <div class=\\\"h-2\\\"></div>\\n          <div class=\\\"layout__box o__centers-vertically\\\">\\n            <IcButton\\n              @type=\\\"secondary\\\"\\n              @action={{action \\\"openExportModal\\\"}}\\n              @disabled={{or enqueuingExport paywall.isActive}}\\n              @testBindingClass=\\\"test__message-list__message-data-export-modal-button\\\"\\n            >\\n              Export {{dataTypeDisplayName}} data\\n            </IcButton>\\n          </div>\\n      </div>\\n    </paywall.Block>\\n  </div>\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/reporting/export/export-data.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/export/export-data.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  permissionsService: service(),\n\n  dataTypeDisplayName: computed('exportFlag', function() {\n    switch (this.exportFlag) {\n      case 'engage':\n        return 'message';\n      default:\n        return '';\n    }\n  }),\n\n  actions: {\n    openExportModal() {\n      if (this.permissionsService.currentAdminCan('can_export_data')) {\n        this.modalService.openModal('apps/app/outbound/message-data-export-modal', {\n          exportFlag: this.exportFlag,\n        });\n      } else {\n        this.permissionsService.loadAllAdminsAndShowPermissionRequestModal('can_export_data');\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-center flex-wrap gap-2 reporting__filters-container\\\">\\n  <Reporting::Flexible::FilterBar::FilterBar\\n    @range={{@range}}\\n    @updateRange={{@updateRange}}\\n    @barFilters={{hash\\n      teammatesAssigned=@filterSet.teammatesAssigned\\n      teamsAssigned=@filterSet.teamsAssigned\\n      teammatesParticipated=@filterSet.teammatesParticipated\\n      teamsParticipated=@filterSet.teamsParticipated\\n      continents=@filterSet.continents\\n      countries=@filterSet.countries\\n      channels=@filterSet.channels\\n      conversationTypes=@filterSet.conversationTypes\\n      scopingTagIds=@filterSet.scopingTagIds\\n    }}\\n    @conversationCustomAttributes={{@filterSet.customAttributes}}\\n    @conversationAttributeDescriptors={{@conversationAttributeDescriptors}}\\n    @onFiltersChanged={{@filterBarSelectionChanged}}\\n    @onFiltersCleared={{@clearFilterSet}}\\n    @analyticsObject={{@analyticsObject}}\\n    @initialFiltersAddedDirty={{@initialFiltersAddedDirty}}\\n    @initialFiltersAddedCleaned={{@initialFiltersAddedCleaned}}\\n  />\\n</div>\", {\"contents\":\"<div class=\\\"flex flex-row items-center flex-wrap gap-2 reporting__filters-container\\\">\\n  <Reporting::Flexible::FilterBar::FilterBar\\n    @range={{@range}}\\n    @updateRange={{@updateRange}}\\n    @barFilters={{hash\\n      teammatesAssigned=@filterSet.teammatesAssigned\\n      teamsAssigned=@filterSet.teamsAssigned\\n      teammatesParticipated=@filterSet.teammatesParticipated\\n      teamsParticipated=@filterSet.teamsParticipated\\n      continents=@filterSet.continents\\n      countries=@filterSet.countries\\n      channels=@filterSet.channels\\n      conversationTypes=@filterSet.conversationTypes\\n      scopingTagIds=@filterSet.scopingTagIds\\n    }}\\n    @conversationCustomAttributes={{@filterSet.customAttributes}}\\n    @conversationAttributeDescriptors={{@conversationAttributeDescriptors}}\\n    @onFiltersChanged={{@filterBarSelectionChanged}}\\n    @onFiltersCleared={{@clearFilterSet}}\\n    @analyticsObject={{@analyticsObject}}\\n    @initialFiltersAddedDirty={{@initialFiltersAddedDirty}}\\n    @initialFiltersAddedCleaned={{@initialFiltersAddedCleaned}}\\n  />\\n</div>\",\"moduleName\":\"embercom/components/reporting/export/filter-bar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/export/filter-bar.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @editMode}}\\n  <IcButton\\n    @label=\\\"Delete\\\"\\n    @onClick={{set this.showDeleteModal true}}\\n    data-test-export-delete-schedule-button\\n  />\\n  <IcButton\\n    @type=\\\"primary\\\"\\n    @label=\\\"Edit schedule\\\"\\n    @onClick={{set this.showScheduleModal true}}\\n    @icon=\\\"edit\\\"\\n    data-test-export-edit-schedule-button\\n  />\\n{{else}}\\n  <IcDropdownOpener\\n    @groupList={{this.scheduleGroupList}}\\n    @isDisabled={{@isScheduleDisabled}}\\n    data-test-export-schedule-dropdown-opener\\n  >\\n    <IcTooltip\\n      @isDisabled={{not @isScheduleDisabled}}\\n      as |t|\\n    >\\n      <t.opener>\\n        <IcButton\\n          @isDropdownOpener={{true}}\\n          @label=\\\"Schedule\\\"\\n          @disabled={{@isScheduleDisabled}}\\n          data-test-export-schedule-dropdown-button\\n        />\\n      </t.opener>\\n      <t.content data-test-export-schedule-dropdown-toolip-content>\\n        Sorry, we can't support custom date ranges. Please choose a predefined date range to schedule this export.\\n      </t.content>\\n    </IcTooltip>\\n  </IcDropdownOpener>\\n  <IcButton\\n    @type=\\\"primary\\\"\\n    @label=\\\"Export CSV\\\"\\n    @onClick={{@enqueueExport}}\\n    @disabled={{@enqueuingExport}}\\n    @icon=\\\"download-conversation\\\"\\n    data-test-reporting-export-button\\n  />\\n{{/if}}\\n<Reporting::Export::ScheduleModal\\n  @showScheduleModal={{this.showScheduleModal}}\\n  @closeScheduleModal={{set this.showScheduleModal false}}\\n  @scheduleToEdit={{@scheduleToEdit}}\\n  @submitSchedule={{@submitSchedule}}\\n  @editMode={{@editMode}}\\n  @resetSchedule={{@resetSchedule}}\\n/>\\n<Reporting::Export::ScheduleDeleteModal\\n  @showDeleteModal={{this.showDeleteModal}}\\n  @closeDeleteModal={{set this.showDeleteModal false}}\\n  @deleteSchedule={{this.deleteSchedule}}\\n/>\", {\"contents\":\"{{#if @editMode}}\\n  <IcButton\\n    @label=\\\"Delete\\\"\\n    @onClick={{set this.showDeleteModal true}}\\n    data-test-export-delete-schedule-button\\n  />\\n  <IcButton\\n    @type=\\\"primary\\\"\\n    @label=\\\"Edit schedule\\\"\\n    @onClick={{set this.showScheduleModal true}}\\n    @icon=\\\"edit\\\"\\n    data-test-export-edit-schedule-button\\n  />\\n{{else}}\\n  <IcDropdownOpener\\n    @groupList={{this.scheduleGroupList}}\\n    @isDisabled={{@isScheduleDisabled}}\\n    data-test-export-schedule-dropdown-opener\\n  >\\n    <IcTooltip\\n      @isDisabled={{not @isScheduleDisabled}}\\n      as |t|\\n    >\\n      <t.opener>\\n        <IcButton\\n          @isDropdownOpener={{true}}\\n          @label=\\\"Schedule\\\"\\n          @disabled={{@isScheduleDisabled}}\\n          data-test-export-schedule-dropdown-button\\n        />\\n      </t.opener>\\n      <t.content data-test-export-schedule-dropdown-toolip-content>\\n        Sorry, we can't support custom date ranges. Please choose a predefined date range to schedule this export.\\n      </t.content>\\n    </IcTooltip>\\n  </IcDropdownOpener>\\n  <IcButton\\n    @type=\\\"primary\\\"\\n    @label=\\\"Export CSV\\\"\\n    @onClick={{@enqueueExport}}\\n    @disabled={{@enqueuingExport}}\\n    @icon=\\\"download-conversation\\\"\\n    data-test-reporting-export-button\\n  />\\n{{/if}}\\n<Reporting::Export::ScheduleModal\\n  @showScheduleModal={{this.showScheduleModal}}\\n  @closeScheduleModal={{set this.showScheduleModal false}}\\n  @scheduleToEdit={{@scheduleToEdit}}\\n  @submitSchedule={{@submitSchedule}}\\n  @editMode={{@editMode}}\\n  @resetSchedule={{@resetSchedule}}\\n/>\\n<Reporting::Export::ScheduleDeleteModal\\n  @showDeleteModal={{this.showDeleteModal}}\\n  @closeDeleteModal={{set this.showDeleteModal false}}\\n  @deleteSchedule={{this.deleteSchedule}}\\n/>\",\"moduleName\":\"embercom/components/reporting/export/schedule-buttons.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/export/schedule-buttons.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\n\nexport default class ExportScheduleButtonsComponent extends Component {\n  @service intercomEventService;\n  @tracked showScheduleModal = false;\n  @tracked showDeleteModal = false;\n\n  get scheduleGroupList() {\n    return [\n      {\n        items: [\n          {\n            text: 'Schedule export',\n            icon: 'schedule',\n            onSelectItem: () => this._openScheduleModal(),\n          },\n          {\n            text: 'Manage schedules',\n            icon: 'edit',\n            onSelectItem: () => this.args.openSidebar(),\n            isDisabled: this.args.isScheduleManagementDisabled,\n          },\n        ],\n      },\n    ];\n  }\n\n  _openScheduleModal() {\n    this.showScheduleModal = true;\n  }\n\n  @action\n  deleteSchedule() {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'message_data_export',\n      action: 'schedule_deleted',\n    });\n    this.args.deleteSchedule();\n    this.showDeleteModal = false;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcConfirmModal\\n  @title=\\\"Delete this scheduled export?\\\"\\n  @onModalClose={{@closeDeleteModal}}\\n  @type=\\\"destructive\\\"\\n  @confirmLabel=\\\"Delete\\\"\\n  @confirmAction={{@deleteSchedule}}\\n  @isOpen={{@showDeleteModal}}\\n>\\n  <Paragraph>\\n    We'll stop emailing the scheduled Export CSV file to you. You can reschedule this export to be sent any time.\\n  </Paragraph>\\n</IcConfirmModal>\", {\"contents\":\"<IcConfirmModal\\n  @title=\\\"Delete this scheduled export?\\\"\\n  @onModalClose={{@closeDeleteModal}}\\n  @type=\\\"destructive\\\"\\n  @confirmLabel=\\\"Delete\\\"\\n  @confirmAction={{@deleteSchedule}}\\n  @isOpen={{@showDeleteModal}}\\n>\\n  <Paragraph>\\n    We'll stop emailing the scheduled Export CSV file to you. You can reschedule this export to be sent any time.\\n  </Paragraph>\\n</IcConfirmModal>\",\"moduleName\":\"embercom/components/reporting/export/schedule-delete-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/export/schedule-delete-modal.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{this.cancelSchedule}}\\n  @width=\\\"s\\\"\\n  @isOpen={{@showScheduleModal}}\\n  @focusElement=\\\"body\\\"\\n  as |modal|\\n>\\n  <modal.header as |header|>\\n    <div class=\\\"flex flex-row items-center justify-start gap-4\\\">\\n      <header.title>Schedule export</header.title>\\n    </div>\\n  </modal.header>\\n  <modal.body>\\n    <Form as |form|>\\n      <form.Item\\n        @label=\\\"Name\\\"\\n        @isInvalid={{not @scheduleToEdit.name}}\\n        as |item|\\n      >\\n        <item.Input\\n          @value={{@scheduleToEdit.name}}\\n          data-test-name-input\\n        />\\n      </form.Item>\\n      <form.Item\\n        @label=\\\"Frequency\\\"\\n        as |item|\\n      >\\n        <IcSelect\\n          @selectedValue={{this.cadence}}\\n          @items={{this.frequencies}}\\n          @mode=\\\"block\\\"\\n          @onSelectItem={{this.updateScheduleFromCadence}}\\n          data-test-frequencies-input\\n        />\\n      </form.Item>\\n      <form.Item\\n        @label=\\\"Start export\\\"\\n        as |item|\\n      >\\n        <div class=\\\"flex flex-row justify-around gap-4\\\">\\n          <div class=\\\"flex flex-col flex-1\\\">\\n            {{#if this.isMonthlyFrequency}}\\n              <IcSelect\\n                @selectedValue={{@scheduleToEdit.dayOfMonth}}\\n                @items={{this.monthlyDaysGroup}}\\n                @mode=\\\"block\\\"\\n                @filterPlaceholder=\\\"Select a day\\\"\\n                @onSelectItem={{set @scheduleToEdit.dayOfMonth}}\\n                data-test-monthly-days-input\\n              />\\n            {{else if this.isWeeklyFrequency}}\\n              <IcSelect\\n                @selectedValue={{@scheduleToEdit.dayOfWeek}}\\n                @items={{this.days}}\\n                @mode=\\\"block\\\"\\n                @onSelectItem={{set @scheduleToEdit.dayOfWeek}}\\n                data-test-days-input\\n              />\\n            {{else}}\\n              <IcSelect\\n                @selectedValue={{this.readOnlyDay}}\\n                @items={{this.readOnlyDayGroup}}\\n                @isDisabled={{true}}\\n                @mode=\\\"block\\\"\\n                data-test-readonly-days-input\\n              />\\n            {{/if}}\\n          </div>\\n          <div class=\\\"flex flex-col flex-1\\\">\\n            <IcSelect\\n              @filterPlaceholder=\\\"Select an hour\\\"\\n              @selectedValue={{@scheduleToEdit.timeToExport}}\\n              @items={{this.hoursGroup}}\\n              @mode=\\\"block\\\"\\n              @onSelectItem={{set @scheduleToEdit.timeToExport}}\\n              data-test-hour-input\\n            />\\n          </div>\\n        </div>\\n      </form.Item>\\n      <Paragraph @styling=\\\"small\\\">\\n        We’ll start exporting your data at the time you set. You'll get an email when it's ready.\\n      </Paragraph>\\n    </Form>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=(if @editMode 'Update' 'Schedule')\\n      action=this.submitSchedule\\n      disabled=(not @scheduleToEdit.name)\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=this.cancelSchedule\\n    }}\\n  />\\n</IcModal>\", {\"contents\":\"<IcModal\\n  @onModalClose={{this.cancelSchedule}}\\n  @width=\\\"s\\\"\\n  @isOpen={{@showScheduleModal}}\\n  @focusElement=\\\"body\\\"\\n  as |modal|\\n>\\n  <modal.header as |header|>\\n    <div class=\\\"flex flex-row items-center justify-start gap-4\\\">\\n      <header.title>Schedule export</header.title>\\n    </div>\\n  </modal.header>\\n  <modal.body>\\n    <Form as |form|>\\n      <form.Item\\n        @label=\\\"Name\\\"\\n        @isInvalid={{not @scheduleToEdit.name}}\\n        as |item|\\n      >\\n        <item.Input\\n          @value={{@scheduleToEdit.name}}\\n          data-test-name-input\\n        />\\n      </form.Item>\\n      <form.Item\\n        @label=\\\"Frequency\\\"\\n        as |item|\\n      >\\n        <IcSelect\\n          @selectedValue={{this.cadence}}\\n          @items={{this.frequencies}}\\n          @mode=\\\"block\\\"\\n          @onSelectItem={{this.updateScheduleFromCadence}}\\n          data-test-frequencies-input\\n        />\\n      </form.Item>\\n      <form.Item\\n        @label=\\\"Start export\\\"\\n        as |item|\\n      >\\n        <div class=\\\"flex flex-row justify-around gap-4\\\">\\n          <div class=\\\"flex flex-col flex-1\\\">\\n            {{#if this.isMonthlyFrequency}}\\n              <IcSelect\\n                @selectedValue={{@scheduleToEdit.dayOfMonth}}\\n                @items={{this.monthlyDaysGroup}}\\n                @mode=\\\"block\\\"\\n                @filterPlaceholder=\\\"Select a day\\\"\\n                @onSelectItem={{set @scheduleToEdit.dayOfMonth}}\\n                data-test-monthly-days-input\\n              />\\n            {{else if this.isWeeklyFrequency}}\\n              <IcSelect\\n                @selectedValue={{@scheduleToEdit.dayOfWeek}}\\n                @items={{this.days}}\\n                @mode=\\\"block\\\"\\n                @onSelectItem={{set @scheduleToEdit.dayOfWeek}}\\n                data-test-days-input\\n              />\\n            {{else}}\\n              <IcSelect\\n                @selectedValue={{this.readOnlyDay}}\\n                @items={{this.readOnlyDayGroup}}\\n                @isDisabled={{true}}\\n                @mode=\\\"block\\\"\\n                data-test-readonly-days-input\\n              />\\n            {{/if}}\\n          </div>\\n          <div class=\\\"flex flex-col flex-1\\\">\\n            <IcSelect\\n              @filterPlaceholder=\\\"Select an hour\\\"\\n              @selectedValue={{@scheduleToEdit.timeToExport}}\\n              @items={{this.hoursGroup}}\\n              @mode=\\\"block\\\"\\n              @onSelectItem={{set @scheduleToEdit.timeToExport}}\\n              data-test-hour-input\\n            />\\n          </div>\\n        </div>\\n      </form.Item>\\n      <Paragraph @styling=\\\"small\\\">\\n        We’ll start exporting your data at the time you set. You'll get an email when it's ready.\\n      </Paragraph>\\n    </Form>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=(if @editMode 'Update' 'Schedule')\\n      action=this.submitSchedule\\n      disabled=(not @scheduleToEdit.name)\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=this.cancelSchedule\\n    }}\\n  />\\n</IcModal>\",\"moduleName\":\"embercom/components/reporting/export/schedule-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/export/schedule-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport moment from 'moment';\nimport { set } from '@ember/object';\nimport { WEEK_DAYS } from 'embercom/lib/reporting/week-days';\nimport formatTimezoneToUTC from 'embercom/lib/format-timezone-to-utc';\n\nconst FREQUENCIES = [\n  { text: 'Daily', value: 'daily' },\n  { text: 'Weekly', value: 'weekly' },\n  { text: 'Monthly', value: 'monthly' },\n];\nexport default class ExportScheduleModalComponent extends Component {\n  @service appService;\n  @service notificationsService;\n  @service store;\n\n  frequencies = FREQUENCIES;\n  days = WEEK_DAYS.map((name, i) => ({ text: name, value: i }));\n\n  constructor() {\n    super(...arguments);\n\n    this._loadHours();\n    this.monthlyDays = Array.from(Array(28), (d, i) => ({\n      text: `on day ${i + 1}`,\n      value: i + 1,\n    }));\n    this.monthlyDays.push({ text: 'Last day', value: 32 });\n    // Settings the icSelect groups\n    this.hoursGroup = [{ items: this.hours, isFilterable: false }];\n    this.monthlyDaysGroup = [{ items: this.monthlyDays, isFilterable: false }];\n    this.readOnlyDayGroup = [{ text: 'Every day', value: null }];\n\n    this.readOnlyDay = null;\n  }\n\n  get isMonthlyFrequency() {\n    return Boolean(this.args.scheduleToEdit.dayOfMonth);\n  }\n\n  get isWeeklyFrequency() {\n    return (\n      this.args.scheduleToEdit.dayOfWeek !== null &&\n      this.args.scheduleToEdit.dayOfWeek !== undefined\n    );\n  }\n\n  get cadence() {\n    if (this.isMonthlyFrequency) {\n      return 'monthly';\n    } else if (this.isWeeklyFrequency) {\n      return 'weekly';\n    } else {\n      return 'daily';\n    }\n  }\n\n  _loadHours() {\n    let timezoneString = formatTimezoneToUTC(this.appService.app.timezone);\n    this.hours = Array.from(Array(24), (_, i) => ({\n      text: `${moment({ hour: i }).format('h:mmA')} ${timezoneString}`,\n      value: i,\n    }));\n  }\n\n  @action\n  submitSchedule() {\n    this.args.submitSchedule();\n    this.args.closeScheduleModal();\n  }\n\n  @action\n  updateScheduleFromCadence(cadence) {\n    switch (cadence) {\n      case 'monthly':\n        if (!this.args.scheduleToEdit.dayOfMonth) {\n          set(this, 'args.scheduleToEdit.dayOfMonth', this.monthlyDays[0].value);\n        }\n        set(this, 'args.scheduleToEdit.dayOfWeek', null);\n        break;\n      case 'weekly':\n        if (!this.args.scheduleToEdit.dayOfWeek) {\n          set(this, 'args.scheduleToEdit.dayOfWeek', 0);\n        }\n        set(this, 'args.scheduleToEdit.dayOfMonth', null);\n        break;\n      case 'daily':\n        set(this, 'args.scheduleToEdit.dayOfWeek', null);\n        set(this, 'args.scheduleToEdit.dayOfMonth', null);\n        break;\n    }\n  }\n\n  @action\n  cancelSchedule() {\n    this.args.closeScheduleModal();\n    this.args.resetSchedule();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row justify-between\\\">\\n  <div\\n    class=\\\"flex flex-col flex-grow cursor-pointer\\\"\\n    {{on 'click' @selectSchedule}}\\n    data-test-export-schedule-sidebar-item={{@scheduleId}}\\n  >\\n    <Paragraph\\n      @styling=\\\"strong\\\"\\n      class=\\\"export__schedule-label {{if @selected 'text-blue'}}\\\"\\n      data-test-export-schedule-sidebar-item-name={{@scheduleId}}\\n    >\\n      {{@name}}\\n    </Paragraph>\\n    <Paragraph\\n      @styling=\\\"small\\\"\\n      data-test-export-schedule-sidebar-item-description={{@scheduleId}}\\n    >\\n      {{@description}}\\n    </Paragraph>\\n  </div>\\n  {{#if @selected}}\\n    <span data-test-export-schedule-sidebar-item-icon={{@scheduleId}}>{{ic-interface-icon \\\"check\\\" color=\\\"blue\\\"}}</span>\\n  {{/if}}\\n</div>\", {\"contents\":\"<div class=\\\"flex flex-row justify-between\\\">\\n  <div\\n    class=\\\"flex flex-col flex-grow cursor-pointer\\\"\\n    {{on 'click' @selectSchedule}}\\n    data-test-export-schedule-sidebar-item={{@scheduleId}}\\n  >\\n    <Paragraph\\n      @styling=\\\"strong\\\"\\n      class=\\\"export__schedule-label {{if @selected 'text-blue'}}\\\"\\n      data-test-export-schedule-sidebar-item-name={{@scheduleId}}\\n    >\\n      {{@name}}\\n    </Paragraph>\\n    <Paragraph\\n      @styling=\\\"small\\\"\\n      data-test-export-schedule-sidebar-item-description={{@scheduleId}}\\n    >\\n      {{@description}}\\n    </Paragraph>\\n  </div>\\n  {{#if @selected}}\\n    <span data-test-export-schedule-sidebar-item-icon={{@scheduleId}}>{{ic-interface-icon \\\"check\\\" color=\\\"blue\\\"}}</span>\\n  {{/if}}\\n</div>\",\"moduleName\":\"embercom/components/reporting/export/schedule-sidebar-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/export/schedule-sidebar-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col flex-1 gap-4 border-l h-full p-4 export__schedule-sidebar\\\">\\n  <div class=\\\"flex flex-row justify-between items-center\\\">\\n    <Heading\\n      @size=\\\"3\\\"\\n      data-test-export-schedule-sidebar-heading\\n    >\\n      Manage schedules\\n    </Heading>\\n    <Paragraph\\n      @styling='label'\\n      {{on \\\"click\\\" @closeSidebar}}\\n      class=\\\"cursor-pointer\\\"\\n      data-test-export-schedule-sidebar-hide-button\\n    >\\n      Hide\\n    </Paragraph>\\n  </div>\\n  {{#each this.schedules as |schedule|}}\\n    <Reporting::Export::ScheduleSidebarItem\\n      @scheduleId={{schedule.id}}\\n      @name={{schedule.name}}\\n      @description={{schedule.description}}\\n      @selected={{eq @selectedScheduleId schedule.id}}\\n      @selectSchedule={{fn @loadSchedule schedule.id}}\\n    />\\n  {{/each}}\\n</div>\", {\"contents\":\"<div class=\\\"flex flex-col flex-1 gap-4 border-l h-full p-4 export__schedule-sidebar\\\">\\n  <div class=\\\"flex flex-row justify-between items-center\\\">\\n    <Heading\\n      @size=\\\"3\\\"\\n      data-test-export-schedule-sidebar-heading\\n    >\\n      Manage schedules\\n    </Heading>\\n    <Paragraph\\n      @styling='label'\\n      {{on \\\"click\\\" @closeSidebar}}\\n      class=\\\"cursor-pointer\\\"\\n      data-test-export-schedule-sidebar-hide-button\\n    >\\n      Hide\\n    </Paragraph>\\n  </div>\\n  {{#each this.schedules as |schedule|}}\\n    <Reporting::Export::ScheduleSidebarItem\\n      @scheduleId={{schedule.id}}\\n      @name={{schedule.name}}\\n      @description={{schedule.description}}\\n      @selected={{eq @selectedScheduleId schedule.id}}\\n      @selectSchedule={{fn @loadSchedule schedule.id}}\\n    />\\n  {{/each}}\\n</div>\",\"moduleName\":\"embercom/components/reporting/export/schedule-sidebar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/export/schedule-sidebar.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { WEEK_DAYS } from 'embercom/lib/reporting/week-days';\nimport moment from 'moment';\n\nexport default class ScheduleSidebarComponent extends Component {\n  @service store;\n\n  get schedules() {\n    // Sort the array of schedule IDs by descending order of creation, so that last schedule is displayed on top\n    return this.args.scheduleIds\n      .sort()\n      .reverse()\n      .map(schId => {\n        let scheduleRecord = this.store.peekRecord('reporting/message-data-export-schedule', schId);\n        return {\n          id: schId,\n          name: scheduleRecord.name,\n          description: this._description(\n            scheduleRecord.timeToExport,\n            scheduleRecord.dayOfWeek,\n            scheduleRecord.dayOfMonth,\n          ),\n        };\n      });\n  }\n\n  _description(timeToExport, dayOfWeek, dayOfMonth) {\n    let frequency = 'Daily';\n    if (dayOfMonth) {\n      frequency = `Monthly on day ${dayOfMonth}`;\n    } else if (dayOfWeek !== undefined && dayOfWeek !== null) {\n      frequency = `Weekly on ${WEEK_DAYS[dayOfWeek]}`;\n    }\n    let time = `at ${moment({ hour: timeToExport }).format('h:mmA')}`;\n    return `${frequency} ${time}`;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield report (hash isLoading=updateChart.isRunning)}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield report (hash isLoading=updateChart.isRunning)}}\\n\",\"moduleName\":\"embercom/components/reporting/fetch-report.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/fetch-report.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { isArray } from '@ember/array';\nimport DidChangeAttrs from 'ember-did-change-attrs';\nimport { buildNestedFieldFilters } from 'embercom/lib/reporting/nested-field-filters';\n\nlet filtersChanged = ({ current, previous }) => {\n  let filtersUnchanged = Object.keys(current)\n    .filter(key => key !== 'list_filters' || key !== 'custom_fields')\n    .every(key => previous[key] === current[key]);\n\n  let customAttributesFiltersUnchanged =\n    Object.keys(current.custom_attributes || {}).length ===\n      Object.keys(previous.custom_attributes || {}).length &&\n    JSON.stringify(current.custom_attributes || {}) ===\n      JSON.stringify(previous.custom_attributes || {});\n\n  let listFiltersUnchanged =\n    current.list_filters &&\n    current.list_filters.length === previous.list_filters.length &&\n    JSON.stringify(current.list_filters) === JSON.stringify(previous.list_filters);\n\n  return !filtersUnchanged || !listFiltersUnchanged || !customAttributesFiltersUnchanged;\n};\n\nlet groupingChanged = ({ current, previous }) => {\n  return !(\n    current &&\n    current.every(grouping => previous.includes(grouping)) &&\n    current.length === previous.length\n  );\n};\n\nexport default Component.extend(DidChangeAttrs, {\n  tagName: '',\n  didChangeAttrsConfig: {\n    attrs: ['query', 'unit', 'range', 'filters', 'groupings', 'name'],\n  },\n  reportingService: service(),\n  signalType: 'comparison',\n  groupOverTime: true,\n  groupings: [],\n  report: readOnly('updateChart.lastSuccessful.value'),\n  updateChart: task(function*() {\n    if (!this.range || !this.query) {\n      return null;\n    }\n\n    let queryOptions = {\n      keys_are_dates: this.groupOverTime,\n      nested_keys_are_dates: false,\n      ...this.query,\n      debug_name: this.debugName,\n    };\n\n    let { custom_attributes, ...normalFilters } = this.filters || {};\n\n    let filters = {\n      ...this.query.filters,\n      ...normalFilters,\n    };\n\n    let nestedFilters = buildNestedFieldFilters(custom_attributes);\n\n    if (nestedFilters) {\n      filters.nested_filters = nestedFilters;\n    }\n\n    let groupings = this.groupOverTime\n      ? [...this.range.baseAggregations, ...this.groupings]\n      : this.groupings;\n\n    let signal;\n    if (this.signalType === 'conversation-rating') {\n      signal = yield this.reportingService.fetchConversationRatingSignal(\n        queryOptions,\n        this.unit,\n        this.range,\n        filters,\n        groupings,\n        this.name,\n      );\n    } else if (this.signalType === 'comparison') {\n      signal = yield this.reportingService.fetchComparisonSignal(\n        queryOptions,\n        this.unit,\n        this.range,\n        filters,\n        groupings,\n        this.name,\n      );\n    } else if (this.signalType === 'tabular') {\n      signal = yield this.reportingService.fetchTabularSignal(queryOptions, this.range, filters);\n    } else if (this.signalType === 'lead-source') {\n      signal = yield this.reportingService.fetchLeadSourceSignal(this.range);\n    } else if (this.signalType === 'heatmap') {\n      signal = yield this.reportingService.fetchHeatmapSignal(\n        queryOptions,\n        this.unit,\n        this.range,\n        filters,\n      );\n    } else {\n      // basic\n      signal = yield this.reportingService.fetchSignal(\n        queryOptions,\n        this.unit,\n        this.range,\n        filters,\n        groupings,\n        this.name,\n      );\n    }\n\n    return isArray(this.transforms) ? signal.transform(...this.transforms) : signal;\n  }).restartable(),\n\n  didChangeAttrs({ range, query, unit, filters, groupings } = {}) {\n    this._super(...arguments);\n\n    if (\n      range ||\n      query ||\n      unit ||\n      (filters && filtersChanged(filters)) ||\n      (groupings && groupingChanged(groupings))\n    ) {\n      this.updateChart.perform();\n    }\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.updateChart.perform();\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div {{did-update (perform this.loadAllData) @dataConfig}}>\\n  {{#if this.isLoading}}\\n    <div class=\\\"flex flex-col justify-center items-center reporting__flexible__chart__placeholder\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\"/>\\n    </div>\\n  {{else}}\\n    <IcTable\\n      data-test-reporting-bucket-range-table\\n      @data={{this.data}}\\n      @columns={{this.columns}} as |table|\\n    >\\n      <table.rows as |row| >\\n        <row.cell @valuePath=\\\"bucketRange\\\">\\n          {{format-bucket-range row.data.key}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"percentage\\\">\\n          <IcTooltip as |t|>\\n            <t.opener>\\n              {{format-percentage-reports row.data.value}}\\n            </t.opener>\\n            <t.content>\\n              {{row.data.count}} of {{this.sumOfAllDocuments}}\\n            </t.content>\\n          </IcTooltip>\\n        </row.cell>\\n      </table.rows>\\n    </IcTable>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div {{did-update (perform this.loadAllData) @dataConfig}}>\\n  {{#if this.isLoading}}\\n    <div class=\\\"flex flex-col justify-center items-center reporting__flexible__chart__placeholder\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\"/>\\n    </div>\\n  {{else}}\\n    <IcTable\\n      data-test-reporting-bucket-range-table\\n      @data={{this.data}}\\n      @columns={{this.columns}} as |table|\\n    >\\n      <table.rows as |row| >\\n        <row.cell @valuePath=\\\"bucketRange\\\">\\n          {{format-bucket-range row.data.key}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"percentage\\\">\\n          <IcTooltip as |t|>\\n            <t.opener>\\n              {{format-percentage-reports row.data.value}}\\n            </t.opener>\\n            <t.content>\\n              {{row.data.count}} of {{this.sumOfAllDocuments}}\\n            </t.content>\\n          </IcTooltip>\\n        </row.cell>\\n      </table.rows>\\n    </IcTable>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/bucket-range-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/bucket-range-table.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport ViewAbstractionComponent from './view-abstraction-component';\n\nexport default class BucketRangeTable extends ViewAbstractionComponent {\n  get hasData() {\n    return this.chartData.some(singleSeries => {\n      return singleSeries.data.some(dataArray => dataArray[1]);\n    });\n  }\n\n  get columns() {\n    let columnWidth = (100 / this.args.viewConfig.tableChart.columns.length).toFixed(1);\n    return this.args.viewConfig.tableChart.columns.map(({ label, valuePath }) => {\n      return {\n        label,\n        valuePath,\n        width: `${columnWidth}%`,\n      };\n    });\n  }\n\n  get rawTableData() {\n    return this.dataResponses[0].aggregations[0].values[0];\n  }\n\n  get sumOfAllDocuments() {\n    return this.rawTableData.map(x => x.doc_count).reduce((acc, v) => (acc += v));\n  }\n\n  get data() {\n    let rawTableData = this.rawTableData;\n    let sumOfAllDocuments = this.sumOfAllDocuments;\n\n    return rawTableData.map(value => {\n      let percentageOfValues;\n      let key;\n\n      if (value.from === undefined) {\n        key = `*-${value.to}`;\n      } else if (value.to === undefined) {\n        key = `${value.from}-*`;\n      } else {\n        key = `${value.from}-${value.to}`;\n      }\n\n      if (sumOfAllDocuments === 0) {\n        percentageOfValues = 0;\n      } else {\n        percentageOfValues = (value.doc_count / sumOfAllDocuments) * 100;\n      }\n\n      return {\n        key,\n        count: value.doc_count,\n        value: percentageOfValues,\n      };\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Layout::ViewCard\\n  class=\\\"reporting__flexible__chart reporting__flexible__chart-{{this.chartCanonicalName}}\\\"\\n  data-test-name={{@dataTestName}}\\n  @useEmptyComponent={{@useEmptyComponent}}\\n  {{ did-insert this.addToDashboard }}\\n  @cardCssClasses={{this.cardCssClasses}}\\n  data-test-reporting={{this.chartCanonicalName}}\\n>\\n\\n  <div class=\\\"flex flex-row justify-between {{if this.isComparisonCounter \\\"pb-2\\\" \\\"pb-4\\\"}}\\\">\\n    <div class=\\\"flex flex-row items-center u__mr__10\\\">\\n      <Heading @size=\\\"2\\\" class=\\\"u__mr__5\\\" data-test-reporting=\\\"chart-header\\\">\\n        {{this.chartHeadingText}}\\n        {{#if this.titleTooltipText}}\\n          <IcTooltip\\n            @isInteractive={{true}}\\n            class=\\\"reporting__flexible__chart__tooltip\\\"\\n            data-test-reporting=\\\"title-tooltip-opener\\\"\\n            as |context|\\n          >\\n            <context.opener>\\n              {{ic-interface-icon \\\"tooltip\\\" solo=true}}\\n            </context.opener>\\n            <context.content data-test-reporting=\\\"title-tooltip-content\\\">\\n              {{this.titleTooltipText}}\\n            </context.content>\\n          </IcTooltip>\\n        {{/if}}\\n      </Heading>\\n    </div>\\n\\n    {{#if (and this.canEditChart (not @useEmptyComponent))}}\\n    <div class=\\\"reporting__flexible__chart__edit-button-container {{if this.showChartOptionsOnlyOnHover 'o__show-only-on-hover'}}\\\">\\n        <IcButton\\n          @showsIconOnly={{true}}\\n          @icon=\\\"settings\\\"\\n          @type=\\\"secondary\\\"\\n          class=\\\"reporting__flexible__chart__edit-button\\\"\\n          data-test-chart-options-button\\n          {{on \\\"click\\\" this.openEditor }}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n  {{#if (or @useEmptyComponent @dashboard.isPaywalled)}}\\n    {{component this.emptyComponent isCounter=this.isCounter}}\\n  {{else}}\\n    {{component @chartComponent dataConfig=this.dataConfig width=@width range=@range viewConfig=this.currentViewConfig}}\\n  {{/if}}\\n</Reporting::Layout::ViewCard>\\n\\n<IcConfirmModal\\n  @title=\\\"{{this.chartHeadingText}}\\\"\\n  @onModalClose={{this.closeEditor}}\\n  @confirmLabel=\\\"Save changes\\\"\\n  @confirmAction={{perform this.saveSelectedAggregation}}\\n  @isOpen={{this.showEditor}}\\n>\\n  <Form as |form|>\\n    {{#if (gt @viewConfig.groupings.length 1)}}\\n      <form.Item @label=\\\"Group by\\\">\\n        <Paywall @featureKey={{@viewConfig.paywallFeatureKey}} as |paywall|>\\n          <IcSelect\\n            @mode=\\\"block\\\"\\n            {{did-insert (fn this.isPaywalled paywall)}}\\n            @items={{this.groupingItems}}\\n            @onSelectItem={{set this.selectedGrouping}}\\n            @selectedValue={{this.selectedGrouping}}\\n            data-test-grouping-list\\n          />\\n        </Paywall>\\n      </form.Item>\\n    {{/if}}\\n\\n    {{#if (gt @viewConfig.aggregations.length 1)}}\\n      <form.Item @label=\\\"Choose aggregation\\\">\\n        <Paywall @featureKey={{@viewConfig.paywallFeatureKey}} as |paywall|>\\n          <IcSelect\\n            @mode=\\\"block\\\"\\n            {{did-insert (fn this.isPaywalled paywall)}}\\n            @items={{this.aggregationItems}}\\n            @onSelectItem={{set this.selectedAggregation}}\\n            @selectedValue={{this.selectedAggregation}}\\n            data-test-aggregation-list\\n          />\\n        </Paywall>\\n      </form.Item>\\n    {{/if}}\\n  </Form>\\n</IcConfirmModal>\\n\", {\"contents\":\"<Reporting::Layout::ViewCard\\n  class=\\\"reporting__flexible__chart reporting__flexible__chart-{{this.chartCanonicalName}}\\\"\\n  data-test-name={{@dataTestName}}\\n  @useEmptyComponent={{@useEmptyComponent}}\\n  {{ did-insert this.addToDashboard }}\\n  @cardCssClasses={{this.cardCssClasses}}\\n  data-test-reporting={{this.chartCanonicalName}}\\n>\\n\\n  <div class=\\\"flex flex-row justify-between {{if this.isComparisonCounter \\\"pb-2\\\" \\\"pb-4\\\"}}\\\">\\n    <div class=\\\"flex flex-row items-center u__mr__10\\\">\\n      <Heading @size=\\\"2\\\" class=\\\"u__mr__5\\\" data-test-reporting=\\\"chart-header\\\">\\n        {{this.chartHeadingText}}\\n        {{#if this.titleTooltipText}}\\n          <IcTooltip\\n            @isInteractive={{true}}\\n            class=\\\"reporting__flexible__chart__tooltip\\\"\\n            data-test-reporting=\\\"title-tooltip-opener\\\"\\n            as |context|\\n          >\\n            <context.opener>\\n              {{ic-interface-icon \\\"tooltip\\\" solo=true}}\\n            </context.opener>\\n            <context.content data-test-reporting=\\\"title-tooltip-content\\\">\\n              {{this.titleTooltipText}}\\n            </context.content>\\n          </IcTooltip>\\n        {{/if}}\\n      </Heading>\\n    </div>\\n\\n    {{#if (and this.canEditChart (not @useEmptyComponent))}}\\n    <div class=\\\"reporting__flexible__chart__edit-button-container {{if this.showChartOptionsOnlyOnHover 'o__show-only-on-hover'}}\\\">\\n        <IcButton\\n          @showsIconOnly={{true}}\\n          @icon=\\\"settings\\\"\\n          @type=\\\"secondary\\\"\\n          class=\\\"reporting__flexible__chart__edit-button\\\"\\n          data-test-chart-options-button\\n          {{on \\\"click\\\" this.openEditor }}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n  {{#if (or @useEmptyComponent @dashboard.isPaywalled)}}\\n    {{component this.emptyComponent isCounter=this.isCounter}}\\n  {{else}}\\n    {{component @chartComponent dataConfig=this.dataConfig width=@width range=@range viewConfig=this.currentViewConfig}}\\n  {{/if}}\\n</Reporting::Layout::ViewCard>\\n\\n<IcConfirmModal\\n  @title=\\\"{{this.chartHeadingText}}\\\"\\n  @onModalClose={{this.closeEditor}}\\n  @confirmLabel=\\\"Save changes\\\"\\n  @confirmAction={{perform this.saveSelectedAggregation}}\\n  @isOpen={{this.showEditor}}\\n>\\n  <Form as |form|>\\n    {{#if (gt @viewConfig.groupings.length 1)}}\\n      <form.Item @label=\\\"Group by\\\">\\n        <Paywall @featureKey={{@viewConfig.paywallFeatureKey}} as |paywall|>\\n          <IcSelect\\n            @mode=\\\"block\\\"\\n            {{did-insert (fn this.isPaywalled paywall)}}\\n            @items={{this.groupingItems}}\\n            @onSelectItem={{set this.selectedGrouping}}\\n            @selectedValue={{this.selectedGrouping}}\\n            data-test-grouping-list\\n          />\\n        </Paywall>\\n      </form.Item>\\n    {{/if}}\\n\\n    {{#if (gt @viewConfig.aggregations.length 1)}}\\n      <form.Item @label=\\\"Choose aggregation\\\">\\n        <Paywall @featureKey={{@viewConfig.paywallFeatureKey}} as |paywall|>\\n          <IcSelect\\n            @mode=\\\"block\\\"\\n            {{did-insert (fn this.isPaywalled paywall)}}\\n            @items={{this.aggregationItems}}\\n            @onSelectItem={{set this.selectedAggregation}}\\n            @selectedValue={{this.selectedAggregation}}\\n            data-test-aggregation-list\\n          />\\n        </Paywall>\\n      </form.Item>\\n    {{/if}}\\n  </Form>\\n</IcConfirmModal>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/chart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/chart.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { copy } from 'ember-copy';\nimport { task } from 'ember-concurrency-decorators';\nimport { inject as service } from '@ember/service';\nimport { capitalize } from '@ember/string';\nimport { buildFilters } from 'embercom/lib/reporting/flexible/filter-helpers';\n\nexport const FILTER_PROPERTY_PLACEHOLDER = '_placeholder_';\n\nexport default class ChartComponent extends Component {\n  @service intercomEventService;\n  @service appService;\n  @tracked selectedGrouping = this.grouping;\n  @tracked selectedAggregation = this.aggregation;\n  @tracked showEditor = false;\n  @tracked paywall = null;\n\n  showChartOptionsOnlyOnHover = !this.appService.app.canUseFlexibleGeolocationFilter;\n  persistentDataConfig = this.args.persistentDataConfig;\n\n  get chartHeadingText() {\n    let text = '';\n\n    if (this.savedAggregationDisplay) {\n      text = `${capitalize(this.savedAggregationDisplay)} ${this.args.title}`;\n    } else {\n      text = `${capitalize(this.args.title)}`;\n    }\n\n    if (this.savedGroupingDisplay) {\n      let lowerGroupingDisplay = this.savedGroupingDisplay.toLowerCase();\n      if (lowerGroupingDisplay === 'time') {\n        text += ` by ${this.args.range.interval}`;\n      } else {\n        text += ` by ${lowerGroupingDisplay}`;\n      }\n    }\n\n    return text;\n  }\n\n  get titleTooltipText() {\n    let selectedGroupingObj = this.findSelectedGroupingObj;\n\n    if (selectedGroupingObj.createTitleTooltipText) {\n      return selectedGroupingObj.createTitleTooltipText(\n        this.findSelectedAggregationObj.text.toLowerCase(),\n      );\n    }\n  }\n\n  get currentViewConfig() {\n    return {\n      ...this.args.viewConfig.toHash(),\n      grouping: this.findSelectedGroupingObj,\n      aggregation: this.findSelectedAggregationObj,\n    };\n  }\n\n  get savedAggregationDisplay() {\n    return this.findSelectedAggregationObj.text;\n  }\n\n  get savedGroupingDisplay() {\n    if (this.args.viewConfig.groupings.length > 1) {\n      return this.findSelectedGroupingObj.text;\n    } else {\n      return;\n    }\n  }\n\n  get canEditChart() {\n    return (\n      this.args.viewConfig.aggregations.length > 1 || this.args.viewConfig.groupings.length > 1\n    );\n  }\n\n  @action\n  addToDashboard() {\n    if (this.args.dashboard) {\n      this.args.dashboard.registerChart(this);\n    }\n  }\n\n  @action\n  isPaywalled(paywall) {\n    if (paywall?.isActive) {\n      this.paywall = paywall;\n      this.selectedAggregation = this.aggregation;\n      this.selectedGrouping = this.grouping;\n    }\n  }\n\n  get aggregationItems() {\n    if (this.paywall?.isActive) {\n      return this.args.viewConfig.aggregationsWithPaywall({\n        paywall: this.paywall,\n      });\n    } else {\n      return this.args.viewConfig.aggregations;\n    }\n  }\n\n  get groupingItems() {\n    if (this.paywall?.isActive) {\n      return this.args.viewConfig.groupingsWithPaywall({\n        paywall: this.paywall,\n      });\n    } else {\n      return this.args.viewConfig.groupings;\n    }\n  }\n\n  @action\n  openEditor() {\n    this.showEditor = true;\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'edit_chart',\n      chart_id: this.persistentDataConfig.chart_identifier,\n      dashboard_id: this.persistentDataConfig.dashboard_identifier,\n    });\n  }\n\n  @action\n  closeEditor() {\n    this.showEditor = false;\n    this.selectedAggregation = this.aggregation;\n    this.selectedGrouping = this.grouping;\n  }\n\n  @task\n  *saveSelectedAggregation() {\n    this.showEditor = false;\n    this.persistentDataConfig.aggregation_method = this.selectedAggregation;\n    this.persistentDataConfig.grouping_method = this.selectedGrouping;\n\n    this.persistentDataConfig = yield this.persistentDataConfig.save();\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'saved',\n      object: 'edit_chart',\n      aggregation: this.selectedAggregation,\n      grouping: this.selectedGrouping,\n      chart_id: this.persistentDataConfig.chart_identifier,\n      dashboard_id: this.persistentDataConfig.dashboard_identifier,\n    });\n  }\n\n  get defaultAggregationOptionValue() {\n    return this.args.viewConfig.aggregations.find(agg => agg.defaultOption).value;\n  }\n\n  get aggregation() {\n    if (this.paywall?.isActive) {\n      return this.defaultAggregationOptionValue;\n    }\n\n    if (this.persistentDataConfig?.aggregation_method) {\n      let persistedAggregationMethod = this.args.viewConfig.aggregations.find(\n        agg => agg.value === this.persistentDataConfig.aggregation_method,\n      );\n\n      if (persistedAggregationMethod) {\n        return persistedAggregationMethod.value;\n      }\n    }\n\n    return this.defaultAggregationOptionValue;\n  }\n\n  get grouping() {\n    let { groupings } = this.args.viewConfig;\n    let defaultGrouping = groupings.find(({ defaultOption }) => defaultOption);\n\n    if (this.paywall?.isActive) {\n      return defaultGrouping.value;\n    }\n\n    if (this.persistentDataConfig?.grouping_method) {\n      let persistedGrouping = groupings.find(\n        ({ value }) => value === this.persistentDataConfig.grouping_method,\n      );\n\n      if (persistedGrouping) {\n        return persistedGrouping.value;\n      }\n    }\n\n    return defaultGrouping.value;\n  }\n\n  get filters() {\n    return this.args.filters || {};\n  }\n\n  get dataConfig() {\n    let mergedDataConfig = copy(this.args.dataConfig, true);\n\n    if (mergedDataConfig.xAxis) {\n      mergedDataConfig.xAxis = this.buildXAxis(mergedDataConfig.xAxis);\n    }\n\n    mergedDataConfig = this.transformSeriesFilters(mergedDataConfig);\n\n    let filterList = [...this.getFilterList(mergedDataConfig.filter), ...this.mainFilterList()];\n    mergedDataConfig.filter = this.transformFilterList(filterList);\n\n    if (this.canEditChart) {\n      mergedDataConfig = this.setAggregation(mergedDataConfig);\n    }\n\n    return mergedDataConfig;\n  }\n\n  transformFilterList(list) {\n    if (list.length === 0) {\n      return;\n    } else if (list.length === 1) {\n      return list[0];\n    } else {\n      return { type: 'and', filters: list };\n    }\n  }\n\n  buildXAxis(xAxis) {\n    let selectedGroupingObj = this.findSelectedGroupingObj;\n    let newXAxis = {};\n\n    newXAxis['type'] = selectedGroupingObj.type;\n    newXAxis['data'] = { property: selectedGroupingObj.value };\n\n    if (selectedGroupingObj.type === 'temporal') {\n      newXAxis['data']['interval'] = selectedGroupingObj.interval || this.args.range.interval;\n    }\n\n    if (selectedGroupingObj.type === 'nominal') {\n      if (selectedGroupingObj.limit) {\n        newXAxis['data']['limit'] = selectedGroupingObj.limit;\n      }\n\n      if (selectedGroupingObj.sorting) {\n        newXAxis['data']['sorting'] = selectedGroupingObj.sorting;\n      }\n\n      if (selectedGroupingObj.termSize) {\n        newXAxis['data']['term_size'] = selectedGroupingObj.termSize;\n      }\n\n      if (selectedGroupingObj.excludeMissingGroup) {\n        newXAxis['data']['exclude_missing_group'] = selectedGroupingObj.excludeMissingGroup;\n      }\n\n      if (selectedGroupingObj.labelMappings) {\n        newXAxis['data']['labelMappings'] = selectedGroupingObj.labelMappings;\n      }\n\n      if (selectedGroupingObj.defaultLabel) {\n        newXAxis['data']['defaultLabel'] = selectedGroupingObj.defaultLabel;\n      }\n    }\n\n    return newXAxis;\n  }\n\n  getFilterList(filter) {\n    if (!filter) {\n      return [];\n    }\n\n    return filter.filters || [filter];\n  }\n\n  getTimeConstraintsValues({ comparison = false }) {\n    return comparison\n      ? [\n          this.args.range.comparisonStartMoment.valueOf(),\n          this.args.range.comparisonEndMoment.valueOf(),\n        ]\n      : [this.args.range.startMoment.valueOf(), this.args.range.endMoment.valueOf()];\n  }\n\n  mainFilterList() {\n    let filtersList = [];\n\n    for (let [key, value] of Object.entries(this.filters)) {\n      if (value !== undefined) {\n        let filters = buildFilters(key, value);\n        filtersList.push(...filters);\n      }\n    }\n    return filtersList;\n  }\n\n  setAggregation(mergedDataConfig) {\n    for (let seriesData of mergedDataConfig.series) {\n      seriesData.type = this.aggregation;\n    }\n    return mergedDataConfig;\n  }\n\n  get chartCanonicalName() {\n    return this.args.chartComponent.split('/').lastObject;\n  }\n\n  transformSeriesFilters(defaultConfig) {\n    let selectedGroupingObj = this.findSelectedGroupingObj;\n    let previousPeriodSeries = [];\n\n    defaultConfig.series.forEach(singleSeries => {\n      if (selectedGroupingObj.isComparison) {\n        let previousSeriesToCreate = copy(singleSeries, true);\n\n        if (previousSeriesToCreate.filter) {\n          previousSeriesToCreate.filter = this.transformFilterList(\n            this.getFilterList(previousSeriesToCreate.filter),\n          );\n        }\n\n        [\n          previousSeriesToCreate.time.start,\n          previousSeriesToCreate.time.end,\n        ] = this.getTimeConstraintsValues({ comparison: true });\n\n        previousSeriesToCreate.name += '_previous';\n        previousPeriodSeries.push(previousSeriesToCreate);\n      }\n\n      if (singleSeries.filter) {\n        singleSeries.filter = this.transformFilterList(this.getFilterList(singleSeries.filter));\n      }\n\n      [singleSeries.time.start, singleSeries.time.end] = this.getTimeConstraintsValues({\n        comparison: false,\n      });\n    });\n\n    defaultConfig.series = [...previousPeriodSeries, ...defaultConfig.series];\n    return defaultConfig;\n  }\n\n  get findSelectedGroupingObj() {\n    return this.args.viewConfig.groupings.find(grouping => grouping.value === this.grouping);\n  }\n\n  get findSelectedAggregationObj() {\n    return this.args.viewConfig.aggregations.find(agg => agg.value === this.selectedAggregation);\n  }\n\n  get isComparisonCounter() {\n    return this.args.chartComponent.split('/').lastObject === 'comparison-counter';\n  }\n\n  get isCounter() {\n    return this.args.chartComponent.split('/').lastObject === 'counter' || this.isComparisonCounter;\n  }\n\n  get cardCssClasses() {\n    if (this.args.useEmptyComponent) {\n      return 'reporting__flexible__chart__empty-state';\n    } else if (this.isComparisonCounter) {\n      return 'reporting__flexible__chart__comparison-counter-card';\n    } else {\n      return '';\n    }\n  }\n\n  get emptyComponent() {\n    return this.args.forceEmptyComponent || 'reporting/flexible/default-empty-chart';\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div {{did-update (perform this.loadAllData) @dataConfig}}>\\n  {{#if this.isLoading}}\\n    <div class=\\\"flex flex-col justify-center items-center reporting__flexible__chart__placeholder\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\"/>\\n    </div>\\n  {{else}}\\n    {{#if (not this.hasData)}}\\n      <div class=\\\"flex flex-col justify-center items-center reporting__flexible__chart__placeholder\\\">\\n        {{#if (has-block)}}\\n          {{yield (hash Empty=(component 'div-with-splattributes' class=\\\"flex flex-col flex-1\\\"))}}\\n        {{else}}\\n          <IcEmptyState\\n            @title=\\\"No data to display\\\"\\n            @description=\\\"Try changing the filters at the top of the page\\\"\\n            @icon=\\\"chart\\\"\\n          />\\n        {{/if}}\\n      </div>\\n    {{else}}\\n      <Reporting::Flexible::HighchartsComponent\\n        @content={{this.chartData}}\\n        @chartOptions={{this.chartOptions}}\\n        @width={{@width}}\\n      />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div {{did-update (perform this.loadAllData) @dataConfig}}>\\n  {{#if this.isLoading}}\\n    <div class=\\\"flex flex-col justify-center items-center reporting__flexible__chart__placeholder\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\"/>\\n    </div>\\n  {{else}}\\n    {{#if (not this.hasData)}}\\n      <div class=\\\"flex flex-col justify-center items-center reporting__flexible__chart__placeholder\\\">\\n        {{#if (has-block)}}\\n          {{yield (hash Empty=(component 'div-with-splattributes' class=\\\"flex flex-col flex-1\\\"))}}\\n        {{else}}\\n          <IcEmptyState\\n            @title=\\\"No data to display\\\"\\n            @description=\\\"Try changing the filters at the top of the page\\\"\\n            @icon=\\\"chart\\\"\\n          />\\n        {{/if}}\\n      </div>\\n    {{else}}\\n      <Reporting::Flexible::HighchartsComponent\\n        @content={{this.chartData}}\\n        @chartOptions={{this.chartOptions}}\\n        @width={{@width}}\\n      />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/columnchart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/columnchart.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport ViewAbstractionComponent from './view-abstraction-component';\nimport ColumnchartBuilder from 'embercom/lib/reporting/flexible/columnchart-builder';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport moment from 'moment';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport percent from 'embercom/lib/percentage-formatter';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\nimport { SORTING_LABEL_NAME } from 'embercom/lib/reporting/flexible/constants';\n\nexport default class Columnchart extends ViewAbstractionComponent {\n  get legend() {\n    if (this.args.viewConfig.legend) {\n      return this.args.viewConfig.legend;\n    }\n\n    return {\n      comparison_columnchart: () => {\n        return `${moment(this.args.range.startMoment).format(\n          dateAndTimeFormats.dateWithoutYear,\n        )} - ${moment(this.args.range.endMoment).format(dateAndTimeFormats.dateWithoutYear)}`;\n      },\n      comparison_columnchart_previous: () => {\n        return `Previous ${this.args.range.inDays} days`;\n      },\n    };\n  }\n\n  mapToSameAxis(dataResponses) {\n    let currentPeriod = dataResponses.lastObject;\n    currentPeriod.groups[0].names = currentPeriod.groups[0].values;\n\n    if (dataResponses.length === 1) {\n      return dataResponses;\n    }\n\n    if (this.args.viewConfig.formatUnit.unit === units.percent) {\n      this.updateCurrentPeriodWithPercentValues({\n        currentPeriod,\n        previousPeriod: dataResponses.firstObject,\n      });\n      return [currentPeriod];\n    }\n\n    // we care only about a single nesting level of groups\n    // we also rely on the presence of the group. Add validation in the future\n    dataResponses.slice(0, dataResponses.length - 1).forEach(period => {\n      period.groups[0].names = period.groups[0].values;\n      period.groups[0].values = Object.assign(currentPeriod.groups[0].values, []);\n    });\n\n    return dataResponses;\n  }\n\n  convertToTargetVisualisation(transformedResponses) {\n    let groupingTransformation = this.args.viewConfig.grouping?.dataTransformation;\n    this.dataModified = {};\n    return transformedResponses.map(response => {\n      if (groupingTransformation) {\n        response = groupingTransformation(response);\n      }\n\n      let data = this.buildVisualisationData(response);\n      data = this.sortAndLimitValuesIfNeeded(data);\n\n      let options = {\n        name: response.name,\n        data,\n        legendLabel: this.legend[response.name] && this.legend[response.name].call(),\n        tooltipDisplayUnit: this.args.viewConfig.columnChart?.series?.tooltips[response.name],\n        showInLegend: transformedResponses.length > 1,\n        dataModified: this.dataModified,\n        isComparison: this.args.viewConfig.grouping?.isComparison,\n      };\n\n      return options;\n    });\n  }\n\n  buildVisualisationData(dataResponse) {\n    // we assume there's only one group for a simple barchart\n    let group = dataResponse.groups[0];\n    let aggregation = group.aggregations[0];\n    let xAxisType = this.args.dataConfig.xAxis.type;\n\n    return group.values.map((gv, index) => {\n      let x = gv;\n      let y = aggregation.values[index] !== 0 ? aggregation.values[index] : null;\n\n      if (xAxisType === 'nominal') {\n        let mappedX = this.mapLabel(x);\n        return [mappedX, y, mappedX];\n      } else {\n        let name = group?.names?.get(index);\n        return [x, y, name];\n      }\n    });\n  }\n\n  aggregateValuesForOtherColumn(visualisationData) {\n    let values = visualisationData.map(point => point[1]);\n    let aggregationFunction = this.args.dataConfig?.series?.firstObject?.type;\n\n    if (aggregationFunction === 'min') {\n      return Math.min(...values);\n    }\n\n    if (aggregationFunction === 'max') {\n      return Math.max(...values);\n    }\n\n    if (aggregationFunction === 'median') {\n      let midpoint = Math.floor(values.length / 2);\n      let sortedValues = values.sort();\n      if (sortedValues.length % 2 !== 0) {\n        return sortedValues[midpoint];\n      }\n      return (sortedValues[midpoint - 1] + sortedValues[midpoint]) / 2;\n    }\n\n    let sum = values.reduce((acc, v) => acc + v);\n    if (aggregationFunction === 'mean') {\n      return sum / values.length;\n    }\n    return sum;\n  }\n\n  sortAndLimitValuesIfNeeded(visualisationData) {\n    let limit = this.args.dataConfig.xAxis.data.limit;\n\n    //sort by label name\n    if (this.args.dataConfig.xAxis.data.sorting === SORTING_LABEL_NAME) {\n      visualisationData.sort(function(pointA, pointB) {\n        return pointA[2].localeCompare(pointB[2]);\n      });\n    }\n\n    //limit results and create 'Other' bucket\n    if (limit && visualisationData.length > limit) {\n      this.dataModified.truncated = visualisationData.length - limit;\n      let truncatedData = visualisationData.slice(0, limit);\n      let otherData = visualisationData.slice(limit);\n      let otherBucketValue = this.aggregateValuesForOtherColumn(otherData);\n      truncatedData.push(['Other', otherBucketValue, 'Other']);\n\n      visualisationData = truncatedData;\n    }\n\n    return visualisationData;\n  }\n\n  mapLabel(label) {\n    let labelMappingFunction = this.args.viewConfig.labelMappingFunction;\n    if (labelMappingFunction) {\n      return labelMappingFunction(label);\n    }\n    let labelMappings = this.args.dataConfig.xAxis.data.labelMappings;\n    let defaultLabel = this.args.dataConfig.xAxis.data.defaultLabel;\n    if (labelMappings) {\n      return labelMappings[label] || defaultLabel || label;\n    }\n    return label;\n  }\n\n  get chartOptions() {\n    let options = {\n      range: this.args.range,\n      chartData: this.chartData,\n      width: this.args.width,\n      viewConfig: this.args.viewConfig,\n      xAxisType: this.args.dataConfig.xAxis.type,\n      stacking: this.args.viewConfig.columnChart?.stacking,\n    };\n\n    if (this.args.viewConfig.seriesColors) {\n      options['seriesColors'] = this.args.viewConfig.seriesColors;\n    } else if (this.chartData.length > 1) {\n      options['seriesColors'] = [PALETTE['vis-azure-80'], PALETTE['vis-azure-50']];\n    }\n\n    let builder = new ColumnchartBuilder(options);\n\n    return builder.buildTheme();\n  }\n\n  get hasData() {\n    return this.chartData.some(singleSeries => {\n      return singleSeries.data.some(dataArray => dataArray[1]);\n    });\n  }\n\n  updateCurrentPeriodWithPercentValues({ currentPeriod, previousPeriod }) {\n    currentPeriod.groups[0].aggregations[0].values.forEach((dividend, index) => {\n      let divisor = previousPeriod.groups[0].aggregations[0].values[index];\n      let percentValue = percent(divisor, dividend);\n\n      currentPeriod.groups[0].aggregations[0].values[index] = percentValue;\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-baseline gap-2\\\" {{did-update (perform this.loadAllData) @dataConfig}}>\\n  {{#if this.isLoading}}\\n    <div class=\\\"flex flex-col justify-center items-center mb-4 pt-2\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\"/>\\n    </div>\\n  {{else}}\\n    <PulseCandidate::DisplayText @size='1'>{{ this.formattedLabel }}</PulseCandidate::DisplayText>\\n    <Reporting::Element::SummaryComparison\\n      @currentValue={{or this.currentCounter 0}}\\n      @previousValue={{or this.previousCounter 0}}\\n      @valueUnit={{@viewConfig.formatUnit.unit}}\\n      @improvementDirection={{this.improvementDirection}}\\n      @range={{this.timeRangeData}}\\n      @showRangeText={{false}}\\n      @showDeltaText={{true}}\\n      @notChangedText={{\\\"-\\\"}}\\n    />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row items-baseline gap-2\\\" {{did-update (perform this.loadAllData) @dataConfig}}>\\n  {{#if this.isLoading}}\\n    <div class=\\\"flex flex-col justify-center items-center mb-4 pt-2\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\"/>\\n    </div>\\n  {{else}}\\n    <PulseCandidate::DisplayText @size='1'>{{ this.formattedLabel }}</PulseCandidate::DisplayText>\\n    <Reporting::Element::SummaryComparison\\n      @currentValue={{or this.currentCounter 0}}\\n      @previousValue={{or this.previousCounter 0}}\\n      @valueUnit={{@viewConfig.formatUnit.unit}}\\n      @improvementDirection={{this.improvementDirection}}\\n      @range={{this.timeRangeData}}\\n      @showRangeText={{false}}\\n      @showDeltaText={{true}}\\n      @notChangedText={{\\\"-\\\"}}\\n    />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/comparison-counter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/comparison-counter.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport ViewAbstractionComponent from './view-abstraction-component';\nimport Formatters, { units } from 'embercom/lib/reporting/flexible/formatters';\nimport percent from 'embercom/lib/percentage-formatter';\nimport toSentence from 'embercom/lib/to-sentence';\n\nexport default class ComparisonCounter extends ViewAbstractionComponent {\n  constructor() {\n    super(...arguments);\n    this.formatter = new Formatters[this.args.viewConfig.formatUnit.unit](\n      this.args.viewConfig.formatUnit.displayUnit,\n    );\n  }\n\n  get currentCounter() {\n    return this.formatter.formatData(this._currentCounterValue);\n  }\n\n  get previousCounter() {\n    return this.formatter.formatData(this._previousCounterValue);\n  }\n\n  get improvementDirection() {\n    let improvementDirection = null;\n    let names = this.dataResponses.map(response => response.name);\n\n    names.forEach(name => {\n      if (this.viewConfig.counter && this.viewConfig.counter[name]?.improvementDirection) {\n        improvementDirection = this.viewConfig.counter[name]?.improvementDirection;\n        return;\n      }\n    });\n\n    if (improvementDirection) {\n      return improvementDirection;\n    } else {\n      throw new Error(`Improvement direction for any of ${toSentence(names)} is missing`);\n    }\n  }\n\n  get timeRangeData() {\n    return {\n      inDays: this.args.range.inDays || 0,\n      comparisonStart: this.args.range.comparisonStartMoment,\n      comparisonEnd: this.args.range.comparisonEndMoment,\n      timezone: this.args.range.timezone,\n    };\n  }\n\n  get formattedLabel() {\n    return this.formatter.formatCounter(this._currentCounterValue);\n  }\n\n  get _currentCounterValue() {\n    if (this.args.viewConfig.formatUnit.unit === units.percent) {\n      return percent(\n        this.dataResponses[3].aggregations[0].values[0],\n        this.dataResponses[2].aggregations[0].values[0],\n      );\n    } else {\n      return this.dataResponses[1].aggregations[0].values[0];\n    }\n  }\n\n  get _previousCounterValue() {\n    if (this.args.viewConfig.formatUnit.unit === units.percent) {\n      return percent(\n        this.dataResponses[1].aggregations[0].values[0],\n        this.dataResponses[0].aggregations[0].values[0],\n      );\n    } else {\n      return this.dataResponses[0].aggregations[0].values[0];\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-baseline gap-2\\\" {{did-update (perform this.loadAllData) @dataConfig}}>\\n  {{#if this.isLoading}}\\n    <div class=\\\"flex flex-col justify-center items-center mb-4 pt-2\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\"/>\\n    </div>\\n  {{else}}\\n    <PulseCandidate::DisplayText @size='1'>{{ this.chartData }}</PulseCandidate::DisplayText>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row items-baseline gap-2\\\" {{did-update (perform this.loadAllData) @dataConfig}}>\\n  {{#if this.isLoading}}\\n    <div class=\\\"flex flex-col justify-center items-center mb-4 pt-2\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\"/>\\n    </div>\\n  {{else}}\\n    <PulseCandidate::DisplayText @size='1'>{{ this.chartData }}</PulseCandidate::DisplayText>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/counter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/counter.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport ViewAbstractionComponent from './view-abstraction-component';\nimport Formatters from 'embercom/lib/reporting/flexible/formatters';\n\nexport default class Counter extends ViewAbstractionComponent {\n  constructor() {\n    super(...arguments);\n  }\n\n  convertResponsesToVisualisation(responses) {\n    let result = responses;\n\n    if (this.viewConfig.grouping?.dataTransformation) {\n      result = this.viewConfig.grouping.dataTransformation(result);\n    } else {\n      result = responses[0].aggregations[0].values[0];\n      result = new Formatters[this.viewConfig.formatUnit.unit](\n        this.viewConfig.formatUnit.displayUnit,\n      ).formatCounter(result);\n    }\n\n    return result || '-';\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Paywall @featureKey={{@paywallFeatureKey}} as |paywall|>\\n  <div {{did-insert (set this.paywall paywall)}}></div>\\n\\n  <paywall.Banner @content={{this.paywallBannerContent}} />\\n\\n  {{yield this}}\\n</Paywall>\\n\", {\"contents\":\"<Paywall @featureKey={{@paywallFeatureKey}} as |paywall|>\\n  <div {{did-insert (set this.paywall paywall)}}></div>\\n\\n  <paywall.Banner @content={{this.paywallBannerContent}} />\\n\\n  {{yield this}}\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/dashboard.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/dashboard.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { copy } from 'ember-copy';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class Dashboard extends Component {\n  @service router;\n  @tracked paywall;\n\n  dashboardId = this.args.dashboardId;\n  dashboardName = this.args.dashboardName;\n  reverseFilterMappings = this.args.reverseFilterMappings;\n  charts = [];\n\n  registerChart(chart) {\n    this.charts.push(chart);\n  }\n\n  get url() {\n    let routePrefix = 'reports';\n    let currentUrl = this.router.urlFor(this.router.currentRouteName);\n    return `/${currentUrl.substring(currentUrl.indexOf(routePrefix))}`;\n  }\n\n  get chartConfigurations() {\n    return this.charts.map(chart => ({\n      id: chart.args.id,\n      name: chart.args.title,\n      type: chart.chartCanonicalName,\n      dataConfig: chart.args.dataConfig,\n      viewConfig: chart.currentViewConfig,\n    }));\n  }\n\n  get range() {\n    let { start, end, timezone, selectedRange } = this.args.range;\n    return {\n      start,\n      end,\n      timezone,\n      selectedRange,\n    };\n  }\n\n  get isPaywalled() {\n    return this.paywall?.isActive;\n  }\n\n  get paywallBannerContent() {\n    return `Upgrade to use the ${this.args.dashboardName} report`;\n  }\n\n  @action\n  toJson() {\n    let filters = { ...this.args.filters, ...this.args.customFilters };\n\n    let chartConfigurations = copy(this.chartConfigurations, true);\n\n    chartConfigurations.forEach(x => {\n      let legend = x.viewConfig.legend;\n      if (legend && Object.keys(legend).length > 0) {\n        let legendKeys = Object.keys(legend);\n        legendKeys.forEach(key => {\n          legend[key] = legend[key]();\n        });\n      }\n    });\n\n    return {\n      dashboardId: this.dashboardId,\n      dashboardName: this.dashboardName,\n      url: this.url,\n      charts: chartConfigurations,\n      range: this.range,\n      filters,\n      filterModifiers: this.reverseFilterMappings,\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @isCounter}}\\n  <div class=\\\"flex flex-row items-baseline\\\">\\n    <PulseCandidate::DisplayText @size='1'>-</PulseCandidate::DisplayText>\\n  </div>\\n{{else}}\\n  <div class=\\\"flex flex-auto reporting__flexible__chart__placeholder\\\">\\n    <IcEmptyState @title=\\\"No data to display\\\" @icon=\\\"chart\\\" />\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if @isCounter}}\\n  <div class=\\\"flex flex-row items-baseline\\\">\\n    <PulseCandidate::DisplayText @size='1'>-</PulseCandidate::DisplayText>\\n  </div>\\n{{else}}\\n  <div class=\\\"flex flex-auto reporting__flexible__chart__placeholder\\\">\\n    <IcEmptyState @title=\\\"No data to display\\\" @icon=\\\"chart\\\" />\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/reporting/flexible/default-empty-chart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/default-empty-chart.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__display-inline-block\\\" data-test-filter-bot-inbox-time>\\n\\n  <IcSelect\\n    @items={{this.selectItems}}\\n    @onSelectItem={{this.changeSelection}}\\n    @selectedValue={{this.selected}}\\n    @label={{this.selected}}\\n    @initiallyOpened={{@initiallyOpened}} as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"conversation\\\"\\n        @name=\\\"Bot inbox time is\\\"\\n        @details={{this.selected}}\\n        @onDelete={{@removeFilter}}\\n        @isClickable={{true}}\\n      />\\n    </select.opener>\\n  </IcSelect>\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__display-inline-block\\\" data-test-filter-bot-inbox-time>\\n\\n  <IcSelect\\n    @items={{this.selectItems}}\\n    @onSelectItem={{this.changeSelection}}\\n    @selectedValue={{this.selected}}\\n    @label={{this.selected}}\\n    @initiallyOpened={{@initiallyOpened}} as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"conversation\\\"\\n        @name=\\\"Bot inbox time is\\\"\\n        @details={{this.selected}}\\n        @onDelete={{@removeFilter}}\\n        @isClickable={{true}}\\n      />\\n    </select.opener>\\n  </IcSelect>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/filter-bar/bot-inbox-time-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/filter-bar/bot-inbox-time-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { isEmpty } from '@ember/utils';\nimport { action } from '@ember/object';\n\nexport default class BotInboxTimeFilterComponent extends Component {\n  get selected() {\n    if (isEmpty(this.args.selected)) {\n      return 'included';\n    } else {\n      return this.args.selected[0];\n    }\n  }\n\n  @action\n  changeSelection(selectedValue) {\n    this.args.setSelected([selectedValue]);\n  }\n\n  selectItems = [\n    { text: 'Bot inbox time included', value: 'included' },\n    { text: 'Bot inbox time excluded', value: 'excluded' },\n  ];\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__relative\\\">\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-channel\\n    @selectAllLabel=\\\"Any channel\\\"\\n    @initiallyOpened={{@initiallyOpened}}\\n    @label={{this.label}}\\n    @displayItems={{this.items}}\\n    @isDisabled={{this.disabled}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @hasFilter={{false}}\\n    @onClose={{this.onClose}}\\n    @filterPlaceholder=\\\"Search channels\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"multiplatform\\\"\\n        @name=\\\"Channel\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n  {{#if this.loadKnownValues.isRunning}}\\n    <div class=\\\"absolute inset-0 bg-white opacity-50\\\">\\n      <IcLoadingIndicator @size=\\\"tiny\\\" class=\\\"u__center-item\\\" />\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__relative\\\">\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-channel\\n    @selectAllLabel=\\\"Any channel\\\"\\n    @initiallyOpened={{@initiallyOpened}}\\n    @label={{this.label}}\\n    @displayItems={{this.items}}\\n    @isDisabled={{this.disabled}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @hasFilter={{false}}\\n    @onClose={{this.onClose}}\\n    @filterPlaceholder=\\\"Search channels\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"multiplatform\\\"\\n        @name=\\\"Channel\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n  {{#if this.loadKnownValues.isRunning}}\\n    <div class=\\\"absolute inset-0 bg-white opacity-50\\\">\\n      <IcLoadingIndicator @size=\\\"tiny\\\" class=\\\"u__center-item\\\" />\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/filter-bar/channel-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/filter-bar/channel-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { get } from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency-decorators';\nimport {\n  AVAILABLE_CHANNEL_MAPPINGS,\n  REPORTING_FILTER_SELECT_ALL,\n} from 'embercom/lib/reporting/flexible/constants';\n\nexport default class ChannelFilter extends Component {\n  @service appService;\n  @service intercomEventService;\n  @tracked label = this.formattedLabel;\n  @tracked availableChannels = [];\n  selectedDropdownItems = this.args.selected;\n\n  constructor() {\n    super(...arguments);\n    this.loadKnownValues.perform();\n  }\n\n  get allItems() {\n    return this.availableChannels\n      .map(channelName => ({\n        text: AVAILABLE_CHANNEL_MAPPINGS[channelName] || channelName,\n        value: channelName,\n        isSelected: this.args.selected.includes(channelName),\n      }))\n      .sort((channel1, channel2) => channel1.text.localeCompare(channel2.text));\n  }\n\n  get selectedChannels() {\n    return this.selectedDropdownItems.filter(item => item !== REPORTING_FILTER_SELECT_ALL);\n  }\n\n  get items() {\n    return this.groupList;\n  }\n\n  get groupList() {\n    return [\n      {\n        items: this.allItems,\n      },\n    ];\n  }\n\n  get disabled() {\n    return this.availableChannels && this.availableChannels.length === 0;\n  }\n\n  get formattedLabel() {\n    if (this.selectedChannels.length === 0) {\n      return 'is Any';\n    }\n\n    let channels = this.selectedChannels.map(channel => {\n      return AVAILABLE_CHANNEL_MAPPINGS[channel] || channel;\n    });\n    return `is ${channels.join(', ')}`;\n  }\n\n  @task\n  *loadKnownValues() {\n    this.availableChannels = yield get('/ember/reporting/known_values', {\n      app_id: this.appService.app.id,\n      source: 'teammate_response',\n      property: 'channel_type',\n    });\n  }\n\n  @action\n  onClose() {\n    if (!this.selectedDropdownItems.length) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_channel',\n      object: this.args.analyticsObject,\n      channels: this.selectedChannels,\n    });\n\n    this.args.setSelected(this.selectedDropdownItems);\n    this.label = this.formattedLabel;\n  }\n\n  @action\n  removeFilter() {\n    this.selectedDropdownItems = [];\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::ReportingMultiselect\\n  data-test-filter-continent\\n  @selectAllLabel=\\\"Any continent\\\"\\n  @initiallyOpened={{@initiallyOpened}}\\n  @label={{this.label}}\\n  @displayItems={{this.items}}\\n  @onSelectionChanged={{set this.selectedDropdownItems}}\\n  @onClose={{this.onClose}}\\n  @filterPlaceholder=\\\"Search continents\\\" as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"globe\\\"\\n      @name=\\\"Continent\\\"\\n      @details={{this.label}}\\n      @onDelete={{this.removeFilter}}\\n      @isClickable={{true}} as |filterBlock|\\n    />\\n  </select.opener>\\n</Reporting::ReportingMultiselect>\\n\", {\"contents\":\"<Reporting::ReportingMultiselect\\n  data-test-filter-continent\\n  @selectAllLabel=\\\"Any continent\\\"\\n  @initiallyOpened={{@initiallyOpened}}\\n  @label={{this.label}}\\n  @displayItems={{this.items}}\\n  @onSelectionChanged={{set this.selectedDropdownItems}}\\n  @onClose={{this.onClose}}\\n  @filterPlaceholder=\\\"Search continents\\\" as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"globe\\\"\\n      @name=\\\"Continent\\\"\\n      @details={{this.label}}\\n      @onDelete={{this.removeFilter}}\\n      @isClickable={{true}} as |filterBlock|\\n    />\\n  </select.opener>\\n</Reporting::ReportingMultiselect>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/filter-bar/continent-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/filter-bar/continent-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { AVAILABLE_CONTINENT_MAPPINGS } from 'embercom/lib/reporting/flexible/constants';\nimport { tracked } from '@glimmer/tracking';\nimport { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\n\nexport default class ContinentFilter extends Component {\n  @service intercomEventService;\n  @tracked label = this.currentLabel;\n  // store the selection here so that the UI doesn't update until the drop down is closed\n  selectedDropdownItems = this.args.selected;\n\n  get items() {\n    return this.groupList;\n  }\n\n  get selectedContinents() {\n    return this.selectedDropdownItems.filter(item => item !== REPORTING_FILTER_SELECT_ALL);\n  }\n\n  get allItems() {\n    return Object.entries(AVAILABLE_CONTINENT_MAPPINGS).map(([value, text]) => ({\n      text,\n      value,\n      icon: 'globe',\n      isSelected: this.args.selected.includes(value),\n    }));\n  }\n\n  get groupList() {\n    return [\n      {\n        heading: 'Continents',\n        items: this.allItems,\n      },\n    ];\n  }\n\n  get currentLabel() {\n    if (this.selectedContinents.length === 0) {\n      return 'is Any';\n    }\n\n    let continentNames = this.selectedContinents.map(continentId => {\n      return AVAILABLE_CONTINENT_MAPPINGS[continentId];\n    });\n    return `is ${continentNames.join(', ')}`;\n  }\n\n  @action\n  onClose() {\n    if (!this.selectedDropdownItems.length) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_continent',\n      object: this.args.analyticsObject,\n      continent: this.selectedContinents,\n    });\n\n    this.args.setSelected(this.selectedDropdownItems);\n    this.label = this.currentLabel;\n  }\n\n  @action\n  removeFilter() {\n    this.selectedDropdownItems = [];\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__relative\\\">\\n  <IcSelect\\n    data-test-filter-conversation-type\\n    data-test-filter-started-by\\n    @items={{this.conversationTypes}}\\n    @initiallyOpened={{@initiallyOpened}}\\n    @onSelectItem={{this.changeSelection}}\\n    @selectedValue={{this.selectedValue}}\\n    @label={{this.label}}\\n    @onClose={{this.onClose}} as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"conversation\\\"\\n        @name=\\\"Started by\\\"\\n        @details={{this.label}}\\n        @onDelete={{@removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </IcSelect>\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__relative\\\">\\n  <IcSelect\\n    data-test-filter-conversation-type\\n    data-test-filter-started-by\\n    @items={{this.conversationTypes}}\\n    @initiallyOpened={{@initiallyOpened}}\\n    @onSelectItem={{this.changeSelection}}\\n    @selectedValue={{this.selectedValue}}\\n    @label={{this.label}}\\n    @onClose={{this.onClose}} as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"conversation\\\"\\n        @name=\\\"Started by\\\"\\n        @details={{this.label}}\\n        @onDelete={{@removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </IcSelect>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/filter-bar/conversation-type-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/filter-bar/conversation-type-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { isEmpty } from '@ember/utils';\nimport {\n  INBOUND,\n  INBOUND_TEXT,\n  OUTBOUND,\n  OUTBOUND_TEXT,\n  CONVERSATION_TYPE_MAPPINGS,\n} from 'embercom/lib/reporting/flexible/constants';\n\nexport default class ConversationTypeFilter extends Component {\n  @service intercomEventService;\n  internalSelection = INBOUND;\n\n  conversationTypes = [\n    { text: INBOUND_TEXT, value: INBOUND },\n    { text: OUTBOUND_TEXT, value: OUTBOUND },\n  ];\n\n  get selectedValue() {\n    let result = OUTBOUND;\n\n    if (isEmpty(this.args.selected) || this._isInboundValues(this.args.selected)) {\n      result = INBOUND;\n    }\n\n    return result;\n  }\n\n  get label() {\n    if (this.selectedValue === INBOUND) {\n      return INBOUND_TEXT;\n    }\n    return OUTBOUND_TEXT;\n  }\n\n  @action\n  changeSelection(selectedValue) {\n    this.internalSelection = selectedValue;\n\n    if (!this.args.setSelected) {\n      return;\n    }\n    this.args.setSelected(CONVERSATION_TYPE_MAPPINGS[selectedValue]);\n  }\n\n  @action\n  onClose() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_conversation_type',\n      object: this.args.analyticsObject,\n      type: this.internalSelection,\n    });\n  }\n\n  _isInboundValues(values) {\n    return values?.length === 1 && values[0] === CONVERSATION_TYPE_MAPPINGS[INBOUND][0];\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::ReportingMultiselect\\n  data-test-filter-country\\n  @selectAllLabel=\\\"Any country\\\"\\n  @initiallyOpened={{@initiallyOpened}}\\n  @label={{this.label}}\\n  @displayItems={{this.items}}\\n  @onSelectionChanged={{set this.selectedDropdownItems}}\\n  @hasFilter={{true}}\\n  @onClose={{this.onClose}}\\n  @filterPlaceholder=\\\"Search countries\\\"  as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"globe\\\"\\n      @name=\\\"Country\\\"\\n      @details={{this.label}}\\n      @onDelete={{this.removeFilter}}\\n      @isClickable={{true}} as |filterBlock|\\n    />\\n  </select.opener>\\n</Reporting::ReportingMultiselect>\\n{{#if this.loadKnownValues.isRunning}}\\n  <div class=\\\"absolute inset-0 bg-white opacity-50\\\">\\n    <IcLoadingIndicator @size=\\\"tiny\\\" class=\\\"u__center-item\\\" />\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"<Reporting::ReportingMultiselect\\n  data-test-filter-country\\n  @selectAllLabel=\\\"Any country\\\"\\n  @initiallyOpened={{@initiallyOpened}}\\n  @label={{this.label}}\\n  @displayItems={{this.items}}\\n  @onSelectionChanged={{set this.selectedDropdownItems}}\\n  @hasFilter={{true}}\\n  @onClose={{this.onClose}}\\n  @filterPlaceholder=\\\"Search countries\\\"  as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"globe\\\"\\n      @name=\\\"Country\\\"\\n      @details={{this.label}}\\n      @onDelete={{this.removeFilter}}\\n      @isClickable={{true}} as |filterBlock|\\n    />\\n  </select.opener>\\n</Reporting::ReportingMultiselect>\\n{{#if this.loadKnownValues.isRunning}}\\n  <div class=\\\"absolute inset-0 bg-white opacity-50\\\">\\n    <IcLoadingIndicator @size=\\\"tiny\\\" class=\\\"u__center-item\\\" />\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/reporting/flexible/filter-bar/country-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/filter-bar/country-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { get } from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport {\n  COUNTRY_ALIASES,\n  COUNTRY_NAME_TO_VALUE_LOOKUP,\n} from 'embercom/lib/reporting/flexible/constants';\nimport { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\n\nexport default class CountryFilter extends Component {\n  @service appService;\n  @service intercomEventService;\n  @tracked availableCountries = [];\n  @tracked label = this.currentLabel;\n  // store the selection here so that the UI doesn't update until the drop down is closed\n  selectedDropdownItems = this.args.selected;\n  // We transform the values back and forth from a list of country to a list of names of country\n  // We do this to link a label (Russia) to its multiple values (Russia, Russian Federation) in the backend\n\n  constructor() {\n    super(...arguments);\n    this.loadKnownValues.perform();\n  }\n\n  get groupList() {\n    return [\n      {\n        heading: 'Countries',\n        items: this.allItems,\n      },\n    ];\n  }\n\n  get allItems() {\n    return this.availableCountries.map(countryName => ({\n      text: countryName,\n      value: COUNTRY_NAME_TO_VALUE_LOOKUP[countryName] || [countryName],\n      icon: 'globe',\n      isSelected: this.args.selected.includes(countryName),\n    }));\n  }\n\n  get selectedCountries() {\n    return this.selectedDropdownItems.filter(item => item !== REPORTING_FILTER_SELECT_ALL);\n  }\n\n  get items() {\n    return this.groupList;\n  }\n\n  get disabled() {\n    return this.availableCountries && this.availableCountries.length === 0;\n  }\n\n  removeEmptyCountry(countries) {\n    return countries.filter(row => row.trim().length > 0);\n  }\n\n  getCanonicalCountryNames(countries) {\n    return Array.from(\n      countries.reduce((acc, country, index) => {\n        let _country = COUNTRY_ALIASES[country] || country;\n        acc.add(_country);\n\n        return acc;\n      }, new Set()),\n    );\n  }\n\n  cleanData(data) {\n    let filteredCountries = this.removeEmptyCountry(data);\n    return this.getCanonicalCountryNames(filteredCountries);\n  }\n\n  @task\n  *loadKnownValues() {\n    let countries = yield get('/ember/reporting/known_values', {\n      app_id: this.appService.app.id,\n      source: 'conversation_started',\n      property: 'user_location.country_name',\n    });\n    this.availableCountries = this.cleanData(countries);\n    this.availableCountries.sort();\n  }\n\n  get currentLabel() {\n    let numSelected = this.getCanonicalCountryNames(this.selectedCountries).length;\n    if (numSelected === 0) {\n      return 'is Any';\n    }\n\n    return `is ${this.selectedCountries.join(', ')}`;\n  }\n\n  @action\n  onClose() {\n    if (!this.selectedDropdownItems.length) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_country',\n      object: this.args.analyticsObject,\n      countries: this.selectedCountries,\n    });\n\n    this.args.setSelected(this.selectedDropdownItems);\n    this.label = this.currentLabel;\n  }\n\n  @action\n  removeFilter() {\n    this.selectedDropdownItems = [];\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Paywall @featureKey={{this.paywallFeatureKey}} as |paywall|>\\n  <IcDropdownAndOpenerPair\\n    @initiallyOpened={{@initiallyOpened}}\\n    @onClose={{this.onClose}}\\n    as |pair|>\\n    <pair.opener>\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"transfer\\\"\\n        @name={{this.name}}\\n        @details={{this.label}}\\n        @isClickable={{true}}\\n        @onDelete={{this.removeFilter}}\\n        data-test-filter-type={{@type}}\\n      />\\n    </pair.opener>\\n    <pair.dropdown as |dropdown|>\\n      <Form as |form|>\\n        <form.Item as |formItem|>\\n          <formItem.RadioGroup @selected={{this.selected}} as |group|>\\n            <div class=\\\"pl-4 pt-2 pr-4\\\">\\n              <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                @value={{true}}\\n                @label=\\\"is true\\\"\\n                @group={{group}}\\n                />\\n              <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                @value={{false}}\\n                @label=\\\"is false\\\"\\n                @group={{group}}\\n                />\\n              <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                @value=\\\"not_exists\\\"\\n                @label=\\\"is unknown\\\"\\n                @group={{group}}\\n                />\\n              <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                @value=\\\"exists\\\"\\n                @label=\\\"has any value\\\"\\n                @group={{group}}\\n                />\\n            </div>\\n            <div class=\\\"u__centered-text-block filter-block__popover__done\\\">\\n              <a class=\\\"btn__tertiary\\\" data-test-filter-block-done {{on \\\"click\\\" dropdown.hideDropdownOverlay}}>\\n                Done\\n              </a>\\n            </div>\\n          </formItem.RadioGroup>\\n        </form.Item>\\n      </Form>\\n    </pair.dropdown>\\n  </IcDropdownAndOpenerPair>\\n</Paywall>\\n\", {\"contents\":\"<Paywall @featureKey={{this.paywallFeatureKey}} as |paywall|>\\n  <IcDropdownAndOpenerPair\\n    @initiallyOpened={{@initiallyOpened}}\\n    @onClose={{this.onClose}}\\n    as |pair|>\\n    <pair.opener>\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"transfer\\\"\\n        @name={{this.name}}\\n        @details={{this.label}}\\n        @isClickable={{true}}\\n        @onDelete={{this.removeFilter}}\\n        data-test-filter-type={{@type}}\\n      />\\n    </pair.opener>\\n    <pair.dropdown as |dropdown|>\\n      <Form as |form|>\\n        <form.Item as |formItem|>\\n          <formItem.RadioGroup @selected={{this.selected}} as |group|>\\n            <div class=\\\"pl-4 pt-2 pr-4\\\">\\n              <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                @value={{true}}\\n                @label=\\\"is true\\\"\\n                @group={{group}}\\n                />\\n              <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                @value={{false}}\\n                @label=\\\"is false\\\"\\n                @group={{group}}\\n                />\\n              <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                @value=\\\"not_exists\\\"\\n                @label=\\\"is unknown\\\"\\n                @group={{group}}\\n                />\\n              <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                @value=\\\"exists\\\"\\n                @label=\\\"has any value\\\"\\n                @group={{group}}\\n                />\\n            </div>\\n            <div class=\\\"u__centered-text-block filter-block__popover__done\\\">\\n              <a class=\\\"btn__tertiary\\\" data-test-filter-block-done {{on \\\"click\\\" dropdown.hideDropdownOverlay}}>\\n                Done\\n              </a>\\n            </div>\\n          </formItem.RadioGroup>\\n        </form.Item>\\n      </Form>\\n    </pair.dropdown>\\n  </IcDropdownAndOpenerPair>\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/filter-bar/custom-attributes/boolean-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/filter-bar/custom-attributes/boolean-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { isPresent } from '@ember/utils';\n\nconst VALUE_LABEL_MAPPING = {\n  true: 'is true',\n  false: 'is false',\n  exists: 'has any value',\n  not_exists: 'is unknown',\n};\n\nconst VALUE_OPERATOR_MAPPING = {\n  true: 'category',\n  false: 'category',\n  not_exists: 'not_exists',\n  exists: 'exists',\n};\n\nexport default class BooleanFilter extends Component {\n  @service store;\n  @service intercomEventService;\n\n  // store the selection here so that the UI doesn't update until the drop down is closed\n  @tracked label = this.currentLabel;\n  @tracked selected = this.startingSelectedValue;\n\n  get startingSelectedValue() {\n    let operator = this.args.selected.operator;\n    let passedValue = this.args.selected.values?.[0];\n\n    switch (operator) {\n      case 'category':\n        return isPresent(passedValue) ? passedValue : true;\n      case 'exists':\n      case 'not_exists':\n        return operator;\n      default:\n        return true;\n    }\n  }\n\n  get customField() {\n    let id = this.args.type;\n    return this.store.peekRecord('conversation-attributes/descriptor', id);\n  }\n\n  get name() {\n    if (this.customField.archived) {\n      return `${this.customField.name} (Archived)`;\n    } else {\n      return this.customField.name;\n    }\n  }\n\n  get currentLabel() {\n    return VALUE_LABEL_MAPPING[this.selected] || '';\n  }\n\n  get operator() {\n    return VALUE_OPERATOR_MAPPING[this.selected];\n  }\n\n  get values() {\n    return this.operator === 'category' ? [this.selected] : [];\n  }\n\n  @action\n  onClose() {\n    if (!this.values.length && !this.operator) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_custom_field',\n      object: this.args.analyticsObject,\n      custom_field_type: 'boolean',\n    });\n\n    this.args.setSelected(this.values, this.operator);\n    this.label = this.currentLabel;\n  }\n\n  @action\n  removeFilter() {\n    this.selected = null;\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"mb-2 mt-2\\\" data-test-filter-radio={{@label}}>\\n  <@group.RadioButton\\n    @value={{@value}}\\n    @label={{@label}}\\n    />\\n  {{#if (eq @selected @value)}}\\n    <div class=\\\"pl-4 ml-1\\\">\\n      {{yield}}\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"mb-2 mt-2\\\" data-test-filter-radio={{@label}}>\\n  <@group.RadioButton\\n    @value={{@value}}\\n    @label={{@label}}\\n    />\\n  {{#if (eq @selected @value)}}\\n    <div class=\\\"pl-4 ml-1\\\">\\n      {{yield}}\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/filter-bar/custom-attributes/filter-radio-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/filter-bar/custom-attributes/filter-radio-button.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcMultiselect\\n  @label={{'options'}}\\n  @items={{@items}}\\n  @onSelectionChange={{@onSelectionChange}}\\n  @hasFilter=\\\"true\\\"\\n  @componentClasses=\\\"reporting__list-filter-options__opener\\\"\\n  @filterPlaceholder=\\\"Search\\\" as |select|\\n>\\n  <select.opener>\\n    <IcButton\\n      @isDropdownOpener={{true}}\\n      @isForcedActive={{false}}\\n      @isTruncated={{true}}\\n      @label={{@openerLabel}}\\n      @fit={{true}}\\n    />\\n  </select.opener>\\n</IcMultiselect>\\n\", {\"contents\":\"<IcMultiselect\\n  @label={{'options'}}\\n  @items={{@items}}\\n  @onSelectionChange={{@onSelectionChange}}\\n  @hasFilter=\\\"true\\\"\\n  @componentClasses=\\\"reporting__list-filter-options__opener\\\"\\n  @filterPlaceholder=\\\"Search\\\" as |select|\\n>\\n  <select.opener>\\n    <IcButton\\n      @isDropdownOpener={{true}}\\n      @isForcedActive={{false}}\\n      @isTruncated={{true}}\\n      @label={{@openerLabel}}\\n      @fit={{true}}\\n    />\\n  </select.opener>\\n</IcMultiselect>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/filter-bar/custom-attributes/list-filter-options.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/filter-bar/custom-attributes/list-filter-options.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Paywall @featureKey={{this.paywallFeatureKey}} as |paywall|>\\n  <IcDropdownAndOpenerPair\\n    @initiallyOpened={{@initiallyOpened}}\\n    @onClose={{this.onClose}}\\n    @minWidthOfOverlay={{215}}\\n    as |pair|>\\n    <pair.opener>\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"transfer\\\"\\n        @name={{this.name}}\\n        @details={{this.label}}\\n        @isClickable={{true}}\\n        @onDelete={{this.removeFilter}}\\n        data-test-filter-type={{@type}}\\n      />\\n    </pair.opener>\\n    <pair.dropdown\\n      @minWidthOfOpenerWidth={{false}}\\n      data-test-list-filter\\n      as |dropdown|>\\n        <Form as |form|>\\n          <form.Item as |formItem|>\\n            <formItem.RadioGroup @selected={{this.operator}} as |group|>\\n              <div class=\\\"pl-4 pt-2 pr-4\\\">\\n                <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                  @value=\\\"category\\\"\\n                  @label=\\\"is\\\"\\n                  @group={{group}}\\n                  @selected={{this.operator}}\\n                >\\n                  <Reporting::Flexible::FilterBar::CustomAttributes::ListFilterOptions\\n                    @items={{this.items}}\\n                    @onSelectionChange={{set this.values}}\\n                    @openerLabel={{this.openerLabel}}\\n                  />\\n                </Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton>\\n                <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                  @value=\\\"not_in_category\\\"\\n                  @label=\\\"is not\\\"\\n                  @group={{group}}\\n                  @selected={{this.operator}}\\n                >\\n                  <Reporting::Flexible::FilterBar::CustomAttributes::ListFilterOptions\\n                    @items={{this.items}}\\n                    @onSelectionChange={{set this.values}}\\n                    @openerLabel={{this.openerLabel}}\\n                  />\\n                </Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton>\\n                <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                  @value=\\\"not_exists\\\"\\n                  @label=\\\"is unknown\\\"\\n                  @group={{group}}\\n                />\\n                <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                  @value=\\\"exists\\\"\\n                  @label=\\\"has any value\\\"\\n                  @group={{group}}\\n                />\\n              </div>\\n              <div class=\\\"u__centered-text-block filter-block__popover__done\\\">\\n                <a class=\\\"btn__tertiary\\\" data-test-filter-block-done {{on \\\"click\\\" dropdown.hideDropdownOverlay}}>\\n                  Done\\n                </a>\\n              </div>\\n            </formItem.RadioGroup>\\n          </form.Item>\\n        </Form>\\n      </pair.dropdown>\\n    </IcDropdownAndOpenerPair>\\n</Paywall>\\n\", {\"contents\":\"<Paywall @featureKey={{this.paywallFeatureKey}} as |paywall|>\\n  <IcDropdownAndOpenerPair\\n    @initiallyOpened={{@initiallyOpened}}\\n    @onClose={{this.onClose}}\\n    @minWidthOfOverlay={{215}}\\n    as |pair|>\\n    <pair.opener>\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"transfer\\\"\\n        @name={{this.name}}\\n        @details={{this.label}}\\n        @isClickable={{true}}\\n        @onDelete={{this.removeFilter}}\\n        data-test-filter-type={{@type}}\\n      />\\n    </pair.opener>\\n    <pair.dropdown\\n      @minWidthOfOpenerWidth={{false}}\\n      data-test-list-filter\\n      as |dropdown|>\\n        <Form as |form|>\\n          <form.Item as |formItem|>\\n            <formItem.RadioGroup @selected={{this.operator}} as |group|>\\n              <div class=\\\"pl-4 pt-2 pr-4\\\">\\n                <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                  @value=\\\"category\\\"\\n                  @label=\\\"is\\\"\\n                  @group={{group}}\\n                  @selected={{this.operator}}\\n                >\\n                  <Reporting::Flexible::FilterBar::CustomAttributes::ListFilterOptions\\n                    @items={{this.items}}\\n                    @onSelectionChange={{set this.values}}\\n                    @openerLabel={{this.openerLabel}}\\n                  />\\n                </Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton>\\n                <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                  @value=\\\"not_in_category\\\"\\n                  @label=\\\"is not\\\"\\n                  @group={{group}}\\n                  @selected={{this.operator}}\\n                >\\n                  <Reporting::Flexible::FilterBar::CustomAttributes::ListFilterOptions\\n                    @items={{this.items}}\\n                    @onSelectionChange={{set this.values}}\\n                    @openerLabel={{this.openerLabel}}\\n                  />\\n                </Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton>\\n                <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                  @value=\\\"not_exists\\\"\\n                  @label=\\\"is unknown\\\"\\n                  @group={{group}}\\n                />\\n                <Reporting::Flexible::FilterBar::CustomAttributes::FilterRadioButton\\n                  @value=\\\"exists\\\"\\n                  @label=\\\"has any value\\\"\\n                  @group={{group}}\\n                />\\n              </div>\\n              <div class=\\\"u__centered-text-block filter-block__popover__done\\\">\\n                <a class=\\\"btn__tertiary\\\" data-test-filter-block-done {{on \\\"click\\\" dropdown.hideDropdownOverlay}}>\\n                  Done\\n                </a>\\n              </div>\\n            </formItem.RadioGroup>\\n          </form.Item>\\n        </Form>\\n      </pair.dropdown>\\n    </IcDropdownAndOpenerPair>\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/filter-bar/custom-attributes/list-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/filter-bar/custom-attributes/list-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\n\nconst OPERATOR_LABEL_MAPPINGS = {\n  category: 'is',\n  not_in_category: 'is not',\n  exists: 'has any value',\n  not_exists: 'is unknown',\n};\n\nexport default class ListFilter extends Component {\n  @service appService;\n  @service store;\n  @service intercomEventService;\n  @tracked label = this.currentLabel;\n  // store the selection here so that the UI doesn't update until the drop down is closed\n  @tracked values = this.startingValues;\n  @tracked operator = this.startingOperator;\n\n  get startingValues() {\n    let values = this.args.selected.values || [this.listOptions[0].id];\n    return values[0] === REPORTING_FILTER_SELECT_ALL ? [] : values;\n  }\n\n  get startingOperator() {\n    return this.args.selected.operator || 'category';\n  }\n\n  get customField() {\n    let id = this.args.type;\n    return this.store.peekRecord('conversation-attributes/descriptor', id);\n  }\n\n  get name() {\n    if (this.customField.archived) {\n      return `${this.customField.name} (Archived)`;\n    } else {\n      return this.customField.name;\n    }\n  }\n\n  get listOptions() {\n    // get the options based on the conversation attribute descriptor id\n    return this.customField.listOptions\n      .map(option => ({\n        id: option.id,\n        label: option.label,\n        archived: option.archived,\n      }))\n      .sort((a, b) => a.archived - b.archived);\n  }\n\n  get items() {\n    return [\n      {\n        items: this.allItems,\n      },\n    ];\n  }\n\n  get allItems() {\n    return this.listOptions.map(option => ({\n      text: option.label,\n      value: option.id,\n      isSelected: this.values.includes(option.id),\n      count: option.archived ? '(Archived)' : '',\n    }));\n  }\n\n  get currentLabel() {\n    switch (this.operator) {\n      case 'category':\n      case 'not_in_category': {\n        let label = this.optionNames || 'Any';\n        return `${OPERATOR_LABEL_MAPPINGS[this.operator]} ${label}`;\n      }\n      case 'exists':\n      case 'not_exists':\n        return OPERATOR_LABEL_MAPPINGS[this.operator];\n    }\n  }\n\n  get optionNames() {\n    return this.values\n      .map(optionId => {\n        return this.listOptions.find(option => option.id === optionId).label;\n      })\n      .join(', ');\n  }\n\n  get openerLabel() {\n    return this.optionNames || 'Add';\n  }\n\n  get valuesForFilter() {\n    let valuesOrPlaceholder = this.values.length ? this.values : [REPORTING_FILTER_SELECT_ALL];\n    return ['category', 'not_in_category'].includes(this.operator) ? valuesOrPlaceholder : [];\n  }\n\n  @action\n  onClose() {\n    if (!this.valuesForFilter.length && !this.operator) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_custom_field',\n      object: this.args.analyticsObject,\n      custom_field_type: 'list',\n    });\n\n    this.args.setSelected(this.valuesForFilter, this.operator);\n    this.label = this.currentLabel;\n  }\n\n  @action\n  removeFilter() {\n    this.values = [];\n    this.operator = null;\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::DateRangeFilter\\n  @scrollParentSelector={{@scrollParentSelector}}\\n  @range={{@range}}\\n  @timezone={{@range.timezone}}\\n  @updateRange={{@updateRange}}\\n  @maximumSelectionWindowInYears={{@maximumSelectionWindowInYears}} as |filter|\\n>\\n  <IcFilterBlock\\n    data-test-date-dropdown-opener\\n    @icon=\\\"calendar\\\"\\n    @name=\\\" \\\"\\n    @isOneLine={{true}}\\n    @isClickable={{true}}\\n    @isOpen={{filter.dropdownIsOpen}}\\n  >\\n    {{#if @range.isSingleDay}}\\n      {{moment-format @range.startMoment \\\"MMM D, YYYY\\\" timeZone=@range.timezone}}\\n    {{else}}\\n      {{moment-format @range.startMoment \\\"MMM D, YYYY\\\" timeZone=@range.timezone}}\\n      -\\n      {{moment-format @range.endMoment \\\"MMM D, YYYY\\\" timeZone=@range.timezone}}\\n    {{/if}}\\n  </IcFilterBlock>\\n</Reporting::DateRangeFilter>\\n\", {\"contents\":\"<Reporting::DateRangeFilter\\n  @scrollParentSelector={{@scrollParentSelector}}\\n  @range={{@range}}\\n  @timezone={{@range.timezone}}\\n  @updateRange={{@updateRange}}\\n  @maximumSelectionWindowInYears={{@maximumSelectionWindowInYears}} as |filter|\\n>\\n  <IcFilterBlock\\n    data-test-date-dropdown-opener\\n    @icon=\\\"calendar\\\"\\n    @name=\\\" \\\"\\n    @isOneLine={{true}}\\n    @isClickable={{true}}\\n    @isOpen={{filter.dropdownIsOpen}}\\n  >\\n    {{#if @range.isSingleDay}}\\n      {{moment-format @range.startMoment \\\"MMM D, YYYY\\\" timeZone=@range.timezone}}\\n    {{else}}\\n      {{moment-format @range.startMoment \\\"MMM D, YYYY\\\" timeZone=@range.timezone}}\\n      -\\n      {{moment-format @range.endMoment \\\"MMM D, YYYY\\\" timeZone=@range.timezone}}\\n    {{/if}}\\n  </IcFilterBlock>\\n</Reporting::DateRangeFilter>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/filter-bar/date-filter-block.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/filter-bar/date-filter-block.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"flex flex-row items-center flex-wrap gap-3 reporting__filters-container\\\"\\n  {{did-update this.refreshAddedFilterTypes @initialFiltersAddedDirty}}\\n>\\n  {{#if @range}}\\n    <Reporting::Flexible::FilterBar::DateFilterBlock\\n      @scrollParentSelector=\\\".js__main-container\\\"\\n      @range={{@range}}\\n      @timezone={{this.app.timezone}}\\n      @updateRange={{@updateRange}}\\n      @maximumSelectionWindowInYears={{2}}\\n    />\\n  {{/if}}\\n  {{#each this.enabledFilters as |filter index|}}\\n    {{component\\n      filter.component\\n      type=filter.type\\n      label=filter.params.label\\n      selected=(get this.allFilters filter.type)\\n      setSelected=(fn this.onFiltersChanged filter.type)\\n      analyticsObject=@analyticsObject\\n      initiallyOpened=filter.isOpen\\n      removeFilter=(fn this.removeFilter index)\\n    }}\\n  {{/each}}\\n  <div class=\\\"flex flex-row flex-wrap gap-4 pl-1\\\">\\n    <Paywall @featureKey={{this.paywallFeatureKey}} as |paywall|>\\n      <IcDropdownOpener\\n        @groupList={{array (hash isMain=true isFilterable=true items=this.supportedFilters)}}\\n        {{did-insert (fn this.updatePaywall paywall)}}\\n        @onSelectItem={{this.addFilter}}\\n        @hasFilter={{true}}\\n        @filterPlaceholder=\\\"Search filters...\\\"\\n        data-test-add-filter-button\\n      >\\n        {{#if (gt this.supportedFilters.length 0)}}\\n          <div class=\\\"pt-2 pb-2\\\">\\n            <a class=\\\"btn__tertiary\\\">\\n              {{ic-interface-icon 'new' set='tiny'}}\\n              Add filter\\n            </a>\\n          </div>\\n        {{/if}}\\n      </IcDropdownOpener>\\n    </Paywall>\\n    {{#if (gt this.enabledFilters.length 0)}}\\n      <div class=\\\"pt-2 pb-2\\\">\\n        <a class=\\\"btn__tertiary\\\" onclick={{this.clearFilters}} data-test-clear-button>\\n          Clear\\n        </a>\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"flex flex-row items-center flex-wrap gap-3 reporting__filters-container\\\"\\n  {{did-update this.refreshAddedFilterTypes @initialFiltersAddedDirty}}\\n>\\n  {{#if @range}}\\n    <Reporting::Flexible::FilterBar::DateFilterBlock\\n      @scrollParentSelector=\\\".js__main-container\\\"\\n      @range={{@range}}\\n      @timezone={{this.app.timezone}}\\n      @updateRange={{@updateRange}}\\n      @maximumSelectionWindowInYears={{2}}\\n    />\\n  {{/if}}\\n  {{#each this.enabledFilters as |filter index|}}\\n    {{component\\n      filter.component\\n      type=filter.type\\n      label=filter.params.label\\n      selected=(get this.allFilters filter.type)\\n      setSelected=(fn this.onFiltersChanged filter.type)\\n      analyticsObject=@analyticsObject\\n      initiallyOpened=filter.isOpen\\n      removeFilter=(fn this.removeFilter index)\\n    }}\\n  {{/each}}\\n  <div class=\\\"flex flex-row flex-wrap gap-4 pl-1\\\">\\n    <Paywall @featureKey={{this.paywallFeatureKey}} as |paywall|>\\n      <IcDropdownOpener\\n        @groupList={{array (hash isMain=true isFilterable=true items=this.supportedFilters)}}\\n        {{did-insert (fn this.updatePaywall paywall)}}\\n        @onSelectItem={{this.addFilter}}\\n        @hasFilter={{true}}\\n        @filterPlaceholder=\\\"Search filters...\\\"\\n        data-test-add-filter-button\\n      >\\n        {{#if (gt this.supportedFilters.length 0)}}\\n          <div class=\\\"pt-2 pb-2\\\">\\n            <a class=\\\"btn__tertiary\\\">\\n              {{ic-interface-icon 'new' set='tiny'}}\\n              Add filter\\n            </a>\\n          </div>\\n        {{/if}}\\n      </IcDropdownOpener>\\n    </Paywall>\\n    {{#if (gt this.enabledFilters.length 0)}}\\n      <div class=\\\"pt-2 pb-2\\\">\\n        <a class=\\\"btn__tertiary\\\" onclick={{this.clearFilters}} data-test-clear-button>\\n          Clear\\n        </a>\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/filter-bar/filter-bar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/filter-bar/filter-bar.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { AVAILABLE_FILTER_CONFIGS } from 'embercom/lib/reporting/flexible/filter-helpers';\n\nconst FILTERABLE_CUSTOM_ATTRIBUTE_TYPES = ['list', 'boolean'];\n\nexport default class FilterBar extends Component {\n  @service appService;\n  @tracked addedFilterTypes = this.initialFiltersAdded;\n  @tracked paywall;\n  filterTypeAdded = null;\n  paywallFeatureKey = this.args.paywallFeatureKey || 'reporting_drilldowns';\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get customAttributeFiltersConfig() {\n    if (!this.app.canUseFeature('conversation_attributes')) {\n      return [];\n    }\n\n    let descriptors = this.args.conversationAttributeDescriptors || [];\n\n    let filters = {};\n\n    descriptors.forEach(descriptor => {\n      filters[descriptor.id] = {\n        selectorLabel: descriptor.name,\n        selectorValue: descriptor.id,\n        component: `reporting/flexible/filter-bar/custom-attributes/${descriptor.dataType}-filter`,\n        isArchived: descriptor.archived,\n        icon: 'transfer',\n      };\n    });\n\n    return filters;\n  }\n\n  get supportedFiltersConfig() {\n    let filters = { ...AVAILABLE_FILTER_CONFIGS, ...this.customAttributeFiltersConfig };\n\n    if (!this.app.canAssignToTeamAndTeammate) {\n      delete filters.teammatesAssigned;\n      delete filters.teamsAssigned;\n    }\n\n    if (!this.app.canUseFeature('team_inboxes')) {\n      delete filters.teamsAssigned;\n      delete filters.teamsParticipated;\n    }\n\n    return filters;\n  }\n\n  // filters available for selection when user clicks on \"+ Add filter\" button\n  get supportedFilters() {\n    //ignore any non-supported filter type\n    let filterTypes = this.filterTypesNotAdded.filter(filterType =>\n      Object.keys(this.supportedFiltersConfig).includes(filterType),\n    );\n\n    let configuredFilters = filterTypes\n      .map(filterType => this.supportedFiltersConfig[filterType])\n      .sort((configA, configB) => {\n        if (configA.isArchived && !configB.isArchived) {\n          return 1;\n        } else if (!configA.isArchived && configB.isArchived) {\n          return -1;\n        } else {\n          return configA.selectorLabel.localeCompare(configB.selectorLabel);\n        }\n      });\n\n    let filters = configuredFilters.map(config => ({\n      text: config.selectorLabel,\n      value: config.selectorValue,\n      icon: config.icon,\n      count: config.isArchived ? '(Archived)' : '',\n      isPaywalled: config.isPaywalled,\n    }));\n\n    if (this.paywall?.isActive) {\n      return this.filtersWithPaywall(filters);\n    } else {\n      return filters;\n    }\n  }\n\n  filtersWithPaywall(filters) {\n    let nonPaywalledFilters = [];\n    let paywalledFilters = [];\n\n    filters.forEach(filter => {\n      if (filter.isPaywalled) {\n        paywalledFilters.push(filter);\n      } else {\n        nonPaywalledFilters.push(filter);\n      }\n    });\n\n    return [\n      ...nonPaywalledFilters,\n      {\n        component: 'paywalls/select-group-block',\n        componentShouldReplaceItem: true,\n        paywallFeatureKey: this.paywallFeatureKey,\n        openUpgradeModal: this.paywall.openUpgradeModal,\n        analyticsEventData: this.paywall.analyticsEventData,\n        noFreeItems: !nonPaywalledFilters.length,\n        paywalledItems: paywalledFilters.map(filter => ({ isDisabled: true, ...filter })),\n        value: 'paywalled',\n      },\n    ];\n  }\n\n  // filters added to the page\n  get enabledFilters() {\n    let filters = [];\n\n    this.addedFilterTypes.forEach(filterType => {\n      let filterConfig = this.supportedFiltersConfig[filterType];\n      filters.pushObject({\n        component: filterConfig.component,\n        type: filterType,\n        isOpen: filterType === this.filterTypeAdded,\n      });\n    });\n    return filters;\n  }\n\n  get customAttributeFilters() {\n    return (\n      this.args.conversationAttributeDescriptors?.reduce((filters, descriptor) => {\n        if (FILTERABLE_CUSTOM_ATTRIBUTE_TYPES.includes(descriptor.dataType)) {\n          filters[descriptor.id] =\n            this.args.conversationCustomAttributes?.getAttributes(descriptor.id) || {};\n        }\n        return filters;\n      }, {}) || []\n    );\n  }\n\n  // all filters including custom attribute filters\n  get allFilters() {\n    return Object.assign({}, this.args.barFilters, this.customAttributeFilters);\n  }\n\n  get filterTypesNotAdded() {\n    return Object.keys(this.allFilters).filter(\n      filterType => !this.addedFilterTypes.includes(filterType),\n    );\n  }\n\n  get initialFiltersAdded() {\n    return Object.entries(this.allFilters)\n      .filter(([_, filterValues]) => Object.keys(filterValues).length)\n      .filter(([filterType, _]) => this.supportedFiltersConfig[filterType])\n      .map(([filterType, _]) => filterType);\n  }\n\n  @action\n  refreshAddedFilterTypes() {\n    if (this.args.initialFiltersAddedDirty) {\n      this.addedFilterTypes = this.initialFiltersAdded || [];\n      this.args.initialFiltersAddedCleaned();\n    }\n  }\n\n  @action\n  addFilter(filterType) {\n    this.filterTypeAdded = filterType;\n    this.addedFilterTypes.pushObject(filterType);\n  }\n\n  @action\n  clearFilters() {\n    this.filterTypeAdded = null;\n    this.addedFilterTypes.map(filterTypeAdded => {\n      this.args.onFiltersChanged(filterTypeAdded, [], null);\n    });\n    this.addedFilterTypes = [];\n    if (this.args.onFiltersCleared) {\n      this.args.onFiltersCleared();\n    }\n  }\n\n  @action\n  removeFilter(index) {\n    let newFilterTypes = [];\n    let filterTypeToRemove;\n\n    this.addedFilterTypes.forEach((type, i) => {\n      if (index === i) {\n        filterTypeToRemove = type;\n      } else {\n        newFilterTypes.push(type);\n      }\n    });\n\n    this.filterTypeAdded = null;\n    this.addedFilterTypes = newFilterTypes;\n    this.args.onFiltersChanged(filterTypeToRemove, [], null);\n  }\n\n  @action\n  onFiltersChanged(filterType, filterValues, operator) {\n    this.filterTypeAdded = null;\n    this.args.onFiltersChanged(filterType, filterValues, operator);\n  }\n\n  @action\n  updatePaywall(paywall) {\n    let resetFilters = false;\n\n    this.paywall = paywall;\n\n    // In case someone tries to apply a value to the url params for\n    // a filter that is paywalled. Very unlikely but we will reset all filter\n    // selection if that were to happen\n    resetFilters = this.addedFilterTypes.find(filterType => {\n      let filterConfig = this.supportedFiltersConfig[filterType];\n\n      return filterConfig.isPaywalled && this.paywall?.isActive;\n    });\n\n    if (resetFilters) {\n      this.clearFilters();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcSelect\\n  data-test-filter-sla\\n  @initiallyOpened={{@initiallyOpened}}\\n  @label={{this.currentLabel}}\\n  @items={{this.items}}\\n  @onSelectItem={{set this.selectedSlaId}}\\n  @selectedValue={{this.selectedSla}}\\n  @onClose={{this.onClose}}\\n  @hasFilter=\\\"true\\\"\\n  @filterPlaceholder=\\\"Search SLAs\\\" as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"sla\\\"\\n      @name=\\\"SLA is\\\"\\n      @details={{this.currentLabel}}\\n      @onDelete={{this.removeFilter}}\\n      @isClickable={{true}}\\n    />\\n  </select.opener>\\n</IcSelect>\\n{{#if this.loadKnownValues.isRunning}}\\n  <div class=\\\"absolute inset-0 bg-white opacity-50\\\">\\n    <IcLoadingIndicator @size=\\\"tiny\\\" class=\\\"u__center-item\\\" />\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"<IcSelect\\n  data-test-filter-sla\\n  @initiallyOpened={{@initiallyOpened}}\\n  @label={{this.currentLabel}}\\n  @items={{this.items}}\\n  @onSelectItem={{set this.selectedSlaId}}\\n  @selectedValue={{this.selectedSla}}\\n  @onClose={{this.onClose}}\\n  @hasFilter=\\\"true\\\"\\n  @filterPlaceholder=\\\"Search SLAs\\\" as |select|\\n>\\n  <select.opener class=\\\"u__pointer-cursor\\\">\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @icon=\\\"sla\\\"\\n      @name=\\\"SLA is\\\"\\n      @details={{this.currentLabel}}\\n      @onDelete={{this.removeFilter}}\\n      @isClickable={{true}}\\n    />\\n  </select.opener>\\n</IcSelect>\\n{{#if this.loadKnownValues.isRunning}}\\n  <div class=\\\"absolute inset-0 bg-white opacity-50\\\">\\n    <IcLoadingIndicator @size=\\\"tiny\\\" class=\\\"u__center-item\\\" />\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/reporting/flexible/filter-bar/sla-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/filter-bar/sla-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\nimport { action } from '@ember/object';\n\nexport default class SlaFilter extends Component {\n  @service appService;\n  @service intercomEventService;\n  @service store;\n  @tracked slas = [];\n  @tracked selectedSlaId = this.args.selected[0];\n\n  constructor() {\n    super(...arguments);\n    this.loadKnownValues.perform();\n  }\n\n  @task\n  *loadKnownValues() {\n    this.slas = yield this.store.findAll('inbox/conversation-sla');\n    // This is necessary to ensure the default item is selected correctly\n    this.args.setSelected(this.selectedSla ? [this.selectedSla] : []);\n  }\n\n  get selectedSla() {\n    let selectedExistingSlaId = this._findSla(this.args.selected[0])?.id;\n    return selectedExistingSlaId || this.slas.firstObject?.id;\n  }\n\n  _findSla(id) {\n    return this.slas.find(sla => sla.id === this.args.selected[0]);\n  }\n\n  get items() {\n    return this.slas.map(sla => ({\n      text: sla.name,\n      value: sla.id,\n      isSelected: this.args.selected.includes(sla.id),\n      count: sla.archived ? '(Archived)' : '',\n    }));\n  }\n\n  get currentLabel() {\n    let currentSla = this._findSla(this.selectedSla);\n\n    if (currentSla) {\n      return currentSla.archived ? `${currentSla.name} (Archived)` : `${currentSla.name}`;\n    } else {\n      return '';\n    }\n  }\n\n  @action\n  onClose() {\n    if (!this.selectedSlaId) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_sla',\n      object: this.args.analyticsObject,\n    });\n\n    this.args.setSelected(this.selectedSlaId ? [this.selectedSlaId] : []);\n  }\n\n  @action\n  removeFilter() {\n    this.selectedSlaId = null;\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Paywall @featureKey={{this.paywallFeatureKey}} as |paywall|>\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-tag\\n    {{did-insert (set this.paywall paywall)}}\\n    @selectAllLabel=\\\"Any tag\\\"\\n    @initiallyOpened={{@initiallyOpened}}\\n    @label={{this.label}}\\n    @displayItems={{this.items}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @onClose={{this.onClose}}\\n    @hasFilter=\\\"true\\\"\\n    @filterPlaceholder=\\\"Search tags\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"tag\\\"\\n        @name=\\\"Tag\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n</Paywall>\\n\", {\"contents\":\"<Paywall @featureKey={{this.paywallFeatureKey}} as |paywall|>\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-tag\\n    {{did-insert (set this.paywall paywall)}}\\n    @selectAllLabel=\\\"Any tag\\\"\\n    @initiallyOpened={{@initiallyOpened}}\\n    @label={{this.label}}\\n    @displayItems={{this.items}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @onClose={{this.onClose}}\\n    @hasFilter=\\\"true\\\"\\n    @filterPlaceholder=\\\"Search tags\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"tag\\\"\\n        @name=\\\"Tag\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/filter-bar/tag-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/filter-bar/tag-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\n\nexport default class TagFilter extends Component {\n  @service appService;\n  @service intercomEventService;\n  @tracked tags = this.appService.app.tags;\n  @tracked label = this.currentLabel;\n\n  // store the selection here so that the UI doesn't update until the drop down is closed\n  selectedDropdownItems = this.args.selected;\n\n  get items() {\n    return [\n      {\n        heading: 'Tags',\n        items: this.allItems,\n      },\n    ];\n  }\n\n  get selectedTags() {\n    return this.selectedDropdownItems.filter(item => item !== REPORTING_FILTER_SELECT_ALL);\n  }\n\n  get allItems() {\n    return this.tags.map(tag => ({\n      text: tag.name,\n      value: tag.id,\n      isSelected: this.args.selected.includes(tag.id),\n    }));\n  }\n\n  get currentLabel() {\n    if (this.selectedTags.length === 0) {\n      return 'is Any';\n    }\n\n    let tagNames = this.selectedTags.map(tagId => {\n      return this.tags.find(tag => tag.id === tagId).name;\n    });\n    return `is ${tagNames.join(', ')}`;\n  }\n\n  @action\n  onClose() {\n    if (!this.selectedDropdownItems.length) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_tag',\n      object: this.args.analyticsObject,\n    });\n\n    this.args.setSelected(this.selectedDropdownItems);\n    this.label = this.currentLabel;\n  }\n\n  @action\n  removeFilter() {\n    this.selectedDropdownItems = [];\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__relative\\\">\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-team-assigned\\n    @label={{this.label}}\\n    @selectAllLabel=\\\"Any team assigned\\\"\\n    @initiallyOpened={{@initiallyOpened}}\\n    @displayItems={{this.items}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @hasFilter=\\\"true\\\"\\n    @onClose={{this.onClose}}\\n    @filterPlaceholder=\\\"Search teams\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"multiple-people\\\"\\n        @name=\\\"Team assigned\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__relative\\\">\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-team-assigned\\n    @label={{this.label}}\\n    @selectAllLabel=\\\"Any team assigned\\\"\\n    @initiallyOpened={{@initiallyOpened}}\\n    @displayItems={{this.items}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @hasFilter=\\\"true\\\"\\n    @onClose={{this.onClose}}\\n    @filterPlaceholder=\\\"Search teams\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"multiple-people\\\"\\n        @name=\\\"Team assigned\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/filter-bar/team-assigned-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/filter-bar/team-assigned-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\n\nconst UNASSIGNED_TEAM_TEXT = 'None';\nconst UNASSIGNED_TEAM_ID = '0';\n\nexport default class TeamAssignedFilter extends Component {\n  @service appService;\n  @service intercomEventService;\n  @tracked availableTeams = this.teamsWithUnassigned;\n  @tracked label = this.currentLabel;\n  selectedDropdownItems = this.args.selected;\n\n  get items() {\n    return [\n      {\n        heading: 'Teams',\n        items: this.allItems,\n      },\n    ];\n  }\n\n  get teamsWithUnassigned() {\n    //Unassigned team uses the same icon and value as unassigned admin\n    return [this.appService.app.unassignedAdmin].concat(this.appService.app.teams);\n  }\n\n  teamItemLabel(teammate) {\n    if (teammate.id === UNASSIGNED_TEAM_ID) {\n      return UNASSIGNED_TEAM_TEXT;\n    } else {\n      return teammate.display_as_assignee;\n    }\n  }\n\n  get allItems() {\n    return this.availableTeams.map(team => ({\n      model: team,\n      text: this.teamItemLabel(team),\n      value: team.id.toString(),\n      component: 'reporting/flexible/filter-bar/teammate-item',\n      isSelected: this.args.selected.includes(team.id.toString()),\n    }));\n  }\n\n  get selectedTeamIds() {\n    return this.selectedDropdownItems.filter(item => item !== REPORTING_FILTER_SELECT_ALL);\n  }\n\n  get currentLabel() {\n    if (this.selectedTeamIds.length === 0) {\n      return 'is Any';\n    }\n\n    let teamNames = this.selectedTeamIds.map(teamId => {\n      let team = this.availableTeams.find(team => team.id.toString() === teamId);\n      return this.teamItemLabel(team);\n    });\n    return `is ${teamNames.join(', ')}`;\n  }\n\n  @action\n  onClose() {\n    if (!this.selectedDropdownItems.length) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_assigned_team',\n      object: this.args.analyticsObject,\n      team_count: this.selectedTeamIds.length,\n    });\n\n    this.args.setSelected(this.selectedDropdownItems);\n    this.label = this.currentLabel;\n  }\n\n  @action\n  removeFilter() {\n    this.selectedDropdownItems = [];\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__relative\\\">\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-team-participated\\n    @label={{this.label}}\\n    @initiallyOpened={{@initiallyOpened}}\\n    @selectAllLabel=\\\"Any team participated\\\"\\n    @displayItems={{this.items}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @hasFilter=\\\"true\\\"\\n    @onClose={{this.onClose}}\\n    @filterPlaceholder=\\\"Search teams\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"multiple-people\\\"\\n        @name=\\\"Team participated\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__relative\\\">\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-team-participated\\n    @label={{this.label}}\\n    @initiallyOpened={{@initiallyOpened}}\\n    @selectAllLabel=\\\"Any team participated\\\"\\n    @displayItems={{this.items}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @hasFilter=\\\"true\\\"\\n    @onClose={{this.onClose}}\\n    @filterPlaceholder=\\\"Search teams\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"multiple-people\\\"\\n        @name=\\\"Team participated\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/filter-bar/team-participated-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/filter-bar/team-participated-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\n\nexport default class TeamParticipatedFilter extends Component {\n  @service appService;\n  @service intercomEventService;\n  @tracked availableTeams = this.appService.app.teams;\n  @tracked label = this.currentLabel;\n  selectedDropdownItems = this.args.selected;\n\n  get items() {\n    return [\n      {\n        heading: 'Teams',\n        items: this.allItems,\n      },\n    ];\n  }\n\n  get allItems() {\n    return this.availableTeams.map(team => ({\n      model: team,\n      text: team.display_as_assignee,\n      value: team.id.toString(),\n      component: 'reporting/flexible/filter-bar/teammate-item',\n      isSelected: this.args.selected.includes(team.id.toString()),\n    }));\n  }\n\n  get selectedTeamIds() {\n    return this.selectedDropdownItems.filter(item => item !== REPORTING_FILTER_SELECT_ALL);\n  }\n\n  get currentLabel() {\n    if (this.selectedTeamIds.length === 0) {\n      return 'is Any';\n    }\n\n    let teamNames = this.selectedTeamIds.map(teamId => {\n      return this.availableTeams.find(team => team.id.toString() === teamId).display_as_assignee;\n    });\n    return `is ${teamNames.join(', ')}`;\n  }\n\n  @action\n  onClose() {\n    if (!this.selectedDropdownItems.length) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_participated_team',\n      object: this.args.analyticsObject,\n      team_count: this.selectedTeamIds.length,\n    });\n\n    this.args.setSelected(this.selectedDropdownItems);\n    this.label = this.currentLabel;\n  }\n\n  @action\n  removeFilter() {\n    this.selectedDropdownItems = [];\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__relative\\\">\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-teammate-assigned\\n    @label={{this.label}}\\n    @selectAllLabel=\\\"Any teammate assigned\\\"\\n    @initiallyOpened={{@initiallyOpened}}\\n    @displayItems={{this.items}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @hasFilter=\\\"true\\\"\\n    @onClose={{this.onClose}}\\n    @filterPlaceholder=\\\"Search teammates\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"person\\\"\\n        @name=\\\"Teammate assigned\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__relative\\\">\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-teammate-assigned\\n    @label={{this.label}}\\n    @selectAllLabel=\\\"Any teammate assigned\\\"\\n    @initiallyOpened={{@initiallyOpened}}\\n    @displayItems={{this.items}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @hasFilter=\\\"true\\\"\\n    @onClose={{this.onClose}}\\n    @filterPlaceholder=\\\"Search teammates\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"person\\\"\\n        @name=\\\"Teammate assigned\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/filter-bar/teammate-assigned-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/filter-bar/teammate-assigned-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\n\nconst UNASSIGNED_TEAMMATE_TEXT = 'None';\nconst UNASSIGNED_TEAMMATE_ID = '0';\n\nexport default class TeammateAssignedFilter extends Component {\n  @service appService;\n  @service intercomEventService;\n  @tracked availableTeammates = this.teammatesWithUnassigned;\n  @tracked label = this.currentLabel;\n  selectedDropdownItems = this.args.selected;\n\n  get items() {\n    return [\n      {\n        heading: 'Teammates',\n        items: this.allItems,\n      },\n    ];\n  }\n\n  get teammatesWithUnassigned() {\n    return [this.appService.app.unassignedAdmin].concat(this.appService.app.humanAdmins);\n  }\n\n  teammateItemLabel(teammate) {\n    if (teammate.id === UNASSIGNED_TEAMMATE_ID) {\n      return UNASSIGNED_TEAMMATE_TEXT;\n    } else {\n      return teammate.display_as_assignee;\n    }\n  }\n\n  get allItems() {\n    return this.availableTeammates.map(teammate => ({\n      model: teammate,\n      text: this.teammateItemLabel(teammate),\n      value: teammate.id.toString(),\n      component: 'reporting/flexible/filter-bar/teammate-item',\n      isSelected: this.args.selected.includes(teammate.id.toString()),\n    }));\n  }\n\n  get selectedTeammateIds() {\n    return this.selectedDropdownItems.filter(item => item !== REPORTING_FILTER_SELECT_ALL);\n  }\n\n  get currentLabel() {\n    if (this.selectedTeammateIds.length === 0) {\n      return 'is Any';\n    }\n\n    let teammateNames = this.selectedTeammateIds.map(teammateId => {\n      let teammate = this.availableTeammates.find(\n        teammate => teammate.id.toString() === teammateId,\n      );\n      return this.teammateItemLabel(teammate);\n    });\n    return `is ${teammateNames.join(', ')}`;\n  }\n\n  @action\n  onClose() {\n    if (!this.selectedDropdownItems.length) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_assigned_teammate',\n      object: this.args.analyticsObject,\n      teammate_count: this.selectedTeammateIds.length,\n    });\n\n    this.args.setSelected(this.selectedDropdownItems);\n    this.label = this.currentLabel;\n  }\n\n  @action\n  removeFilter() {\n    this.selectedDropdownItems = [];\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span class=\\\"avatar__container o__s\\\">\\n    {{#if @item.model.isUnassignedAdmin}}\\n      <span class=\\\"avatar__proxy\\\">\\n        {{ic-interface-icon \\\"unassigned\\\" size=24}}\\n      </span>\\n    {{else}}\\n      {{ic-avatar model=@item.model size=\\\"s\\\" contained=true}}\\n    {{/if}}\\n  <span class=\\\"u__truncated-inline-block assignee-selector__assignee-details\\\">\\n    <div class=\\\"assignee-selector__assignee-name u__left\\\">\\n      {{@item.text}}\\n    </div>\\n  </span>\\n</span>\\n\", {\"contents\":\"<span class=\\\"avatar__container o__s\\\">\\n    {{#if @item.model.isUnassignedAdmin}}\\n      <span class=\\\"avatar__proxy\\\">\\n        {{ic-interface-icon \\\"unassigned\\\" size=24}}\\n      </span>\\n    {{else}}\\n      {{ic-avatar model=@item.model size=\\\"s\\\" contained=true}}\\n    {{/if}}\\n  <span class=\\\"u__truncated-inline-block assignee-selector__assignee-details\\\">\\n    <div class=\\\"assignee-selector__assignee-name u__left\\\">\\n      {{@item.text}}\\n    </div>\\n  </span>\\n</span>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/filter-bar/teammate-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/filter-bar/teammate-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__relative\\\">\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-teammate\\n    @label={{this.label}}\\n    @initiallyOpened={{@initiallyOpened}}\\n    @selectAllLabel=\\\"Any teammate\\\"\\n    @displayItems={{this.items}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @hasFilter=\\\"true\\\"\\n    @onClose={{this.onClose}}\\n    @filterPlaceholder=\\\"Search teammates\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"person\\\"\\n        @name=\\\"Teammate\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__relative\\\">\\n  <Reporting::ReportingMultiselect\\n    data-test-filter-teammate\\n    @label={{this.label}}\\n    @initiallyOpened={{@initiallyOpened}}\\n    @selectAllLabel=\\\"Any teammate\\\"\\n    @displayItems={{this.items}}\\n    @onSelectionChanged={{set this.selectedDropdownItems}}\\n    @hasFilter=\\\"true\\\"\\n    @onClose={{this.onClose}}\\n    @filterPlaceholder=\\\"Search teammates\\\" as |select|\\n  >\\n    <select.opener class=\\\"u__pointer-cursor\\\">\\n      <IcFilterBlock\\n        @isOneLine={{true}}\\n        @icon=\\\"person\\\"\\n        @name=\\\"Teammate\\\"\\n        @details={{this.label}}\\n        @onDelete={{this.removeFilter}}\\n        @isClickable={{true}} as |filterBlock|\\n      />\\n    </select.opener>\\n  </Reporting::ReportingMultiselect>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/filter-bar/teammate-participated-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/filter-bar/teammate-participated-filter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\n\nexport default class TeammateParticipatedFilter extends Component {\n  @service appService;\n  @service intercomEventService;\n  @tracked availableTeammates = this.appService.app.humanAdmins;\n  @tracked label = this.currentLabel;\n  selectedDropdownItems = this.args.selected;\n\n  get items() {\n    return [\n      {\n        heading: 'Teammates',\n        items: this.allItems,\n      },\n    ];\n  }\n\n  get allItems() {\n    return this.availableTeammates.map(teammate => ({\n      model: teammate,\n      text: teammate.display_as_assignee,\n      value: teammate.id.toString(),\n      component: 'reporting/flexible/filter-bar/teammate-item',\n      isSelected: this.args.selected.includes(teammate.id.toString()),\n    }));\n  }\n\n  get selectedTeammateIds() {\n    return this.selectedDropdownItems.filter(item => item !== REPORTING_FILTER_SELECT_ALL);\n  }\n\n  get currentLabel() {\n    if (this.selectedTeammateIds.length === 0) {\n      return 'is Any';\n    }\n\n    let teammateNames = this.selectedTeammateIds.map(teammateId => {\n      let teammate = this.availableTeammates.find(\n        teammate => teammate.id.toString() === teammateId,\n      );\n      return teammate ? teammate.display_as_assignee : 'Deleted teammate';\n    });\n    return `is ${teammateNames.join(', ')}`;\n  }\n\n  @action\n  onClose() {\n    if (!this.selectedDropdownItems.length) {\n      return;\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_participated_teammate',\n      object: this.args.analyticsObject,\n      teammate_count: this.selectedTeammateIds.length,\n    });\n\n    this.args.setSelected(this.selectedDropdownItems);\n    this.label = this.currentLabel;\n  }\n\n  @action\n  removeFilter() {\n    this.selectedDropdownItems = [];\n    this.args.removeFilter();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div {{did-update (perform this.loadAllData) @dataConfig}}>\\n  {{#if this.isLoading}}\\n    <div class=\\\"flex flex-col justify-center items-center reporting__flexible__chart__placeholder\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\"/>\\n    </div>\\n  {{else}}\\n    {{#if (not this.hasData)}}\\n      <div class=\\\"flex flex-col justify-center items-center reporting__flexible__chart__placeholder\\\">\\n        <IcEmptyState\\n          @title=\\\"No data to display\\\"\\n          @description=\\\"Try changing the filters at the top of the page\\\"\\n          @icon=\\\"chart\\\"\\n        />\\n      </div>\\n    {{else}}\\n      <Reporting::Flexible::HighchartsComponent\\n        @content={{this.chartData}}\\n        @chartOptions={{this.chartOptions}}\\n        @width={{@width}}\\n      />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div {{did-update (perform this.loadAllData) @dataConfig}}>\\n  {{#if this.isLoading}}\\n    <div class=\\\"flex flex-col justify-center items-center reporting__flexible__chart__placeholder\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\"/>\\n    </div>\\n  {{else}}\\n    {{#if (not this.hasData)}}\\n      <div class=\\\"flex flex-col justify-center items-center reporting__flexible__chart__placeholder\\\">\\n        <IcEmptyState\\n          @title=\\\"No data to display\\\"\\n          @description=\\\"Try changing the filters at the top of the page\\\"\\n          @icon=\\\"chart\\\"\\n        />\\n      </div>\\n    {{else}}\\n      <Reporting::Flexible::HighchartsComponent\\n        @content={{this.chartData}}\\n        @chartOptions={{this.chartOptions}}\\n        @width={{@width}}\\n      />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/heatmap.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/heatmap.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport ViewAbstractionComponent from './view-abstraction-component';\nimport HeatmapBuilder from 'embercom/lib/reporting/flexible/heatmap-builder';\n\nexport default class Heatmap extends ViewAbstractionComponent {\n  convertToTargetVisualisation(transformedResponses) {\n    return transformedResponses.map(response => {\n      let days = response.groups[0].values;\n      let data = days.reduce((acc, curr, dayIndex) => {\n        let hourValues = curr.groups[0].aggregations[0].values;\n        let formattedValues = hourValues.map((value, hourIndex) => ({\n          x: hourIndex,\n          y: dayIndex,\n          value,\n        }));\n        return acc.concat(formattedValues);\n      }, []);\n      return {\n        name: response.name,\n        data,\n        showInLegend: false,\n      };\n    });\n  }\n\n  get chartOptions() {\n    let builder = new HeatmapBuilder({\n      range: this.args.range,\n      chartData: this.chartData,\n      width: this.args.width,\n      viewConfig: this.args.viewConfig,\n    });\n    return builder.buildTheme();\n  }\n\n  get hasData() {\n    return this.chartData.some(singleSeries => {\n      return singleSeries.data.some(({ value }) => value);\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{on-document \\\"scroll\\\" this.hideActiveTooltips capture=true passive=true}}\\n<div class=\\\"highcharts-wrapper\\\" {{did-insert this.draw}} {{did-update this.update @content}}></div>\\n\", {\"contents\":\"{{on-document \\\"scroll\\\" this.hideActiveTooltips capture=true passive=true}}\\n<div class=\\\"highcharts-wrapper\\\" {{did-insert this.draw}} {{did-update this.update @content}}></div>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/highcharts-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/highcharts-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport Highcharts from 'highcharts';\nimport Heatmap from 'highcharts/modules/heatmap.js';\n\nexport default class HighchartsComponent extends Component {\n  @tracked chart;\n\n  @action\n  draw(element) {\n    this.initializeHeatmapLibrary();\n    let series =\n      this.args.content && this.args.content.length\n        ? this.args.content\n        : [{ id: 'noData', data: 0, color: '#aaa', showInLegend: false }];\n    this.chart = Highcharts.chart(element, { ...this.args.chartOptions, series });\n  }\n\n  @action\n  update(element, content) {\n    // TODO: Right now we are re-creating Highcharts on every render.\n    // A more performant way would be to create a Highcharts instance once\n    // and then update its series and config if needs be on this update function.\n    // This requires a certain type of refactoring and knowledge that we will employ\n    // later once we have more examples.\n  }\n\n  @action\n  hideActiveTooltips() {\n    let tooltip = this.chart.tooltip;\n\n    if (tooltip && !tooltip.isHidden) {\n      tooltip.hide(0);\n    }\n  }\n\n  initializeHeatmapLibrary() {\n    Heatmap(Highcharts);\n  }\n\n  willDestroy() {\n    this.chart.destroy();\n    super.willDestroy(...arguments);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div {{did-update (perform this.loadAllData) @dataConfig}}>\\n  {{#if this.isLoading}}\\n    <div class=\\\"flex flex-col justify-center items-center reporting__flexible__chart__placeholder\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\"/>\\n    </div>\\n  {{else}}\\n    {{#if (not this.hasData)}}\\n      <div class=\\\"flex flex-col justify-center items-center reporting__flexible__chart__placeholder\\\">\\n        <IcEmptyState\\n          @title=\\\"No data to display\\\"\\n          @description=\\\"Try changing the filters at the top of the page\\\"\\n          @icon=\\\"chart\\\"\\n        />\\n      </div>\\n    {{else}}\\n      <Reporting::Flexible::HighchartsComponent\\n        @content={{this.chartData}}\\n        @chartOptions={{this.chartOptions}}\\n        @width={{@width}}\\n      />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div {{did-update (perform this.loadAllData) @dataConfig}}>\\n  {{#if this.isLoading}}\\n    <div class=\\\"flex flex-col justify-center items-center reporting__flexible__chart__placeholder\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\"/>\\n    </div>\\n  {{else}}\\n    {{#if (not this.hasData)}}\\n      <div class=\\\"flex flex-col justify-center items-center reporting__flexible__chart__placeholder\\\">\\n        <IcEmptyState\\n          @title=\\\"No data to display\\\"\\n          @description=\\\"Try changing the filters at the top of the page\\\"\\n          @icon=\\\"chart\\\"\\n        />\\n      </div>\\n    {{else}}\\n      <Reporting::Flexible::HighchartsComponent\\n        @content={{this.chartData}}\\n        @chartOptions={{this.chartOptions}}\\n        @width={{@width}}\\n      />\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/linechart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/linechart.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport ViewAbstractionComponent from './view-abstraction-component';\nimport LinechartBuilder from 'embercom/lib/reporting/flexible/linechart-builder';\nimport { SORTING_LABEL_NAME } from 'embercom/lib/reporting/flexible/constants';\n\nexport default class Linechart extends ViewAbstractionComponent {\n  convertToTargetVisualisation(responses) {\n    let seriesDefaultOptions = {\n      marker: {\n        symbol: 'circle',\n      },\n    };\n\n    return this.buildVisualisationData(responses, seriesDefaultOptions);\n  }\n\n  buildVisualisationData(dataResponse, seriesDefaultOptions) {\n    let group = dataResponse[0]?.groups[0];\n    let allLineNames = [\n      ...new Set(\n        group.values.flatMap(groupItem =>\n          groupItem.groups.flatMap(innerGroup => innerGroup.values),\n        ),\n      ),\n    ];\n    let allXValues = group.values.map(groupItem => groupItem.value);\n\n    //Set all lines to 0\n    let resultLines = [];\n    allLineNames.forEach(lineName => {\n      let data = allXValues.map(xValue => [xValue, 0]);\n      resultLines.push({\n        name: this.mapLineLabel(lineName),\n        data,\n        ...seriesDefaultOptions,\n      });\n    });\n\n    //Update the lines to the correct values\n    group.values.forEach(groupItem => {\n      let x = groupItem.value;\n      groupItem.groups.forEach(innerGroup => {\n        let aggregation = innerGroup.aggregations[0];\n\n        innerGroup.values.forEach((innerGroupValue, index) => {\n          let y = aggregation.values[index] !== 0 ? aggregation.values[index] : null;\n\n          let lineName = this.mapLineLabel(innerGroupValue);\n          let resultLine = resultLines.find(line => line.name === lineName);\n          let resultData = resultLine.data.find(data => data[0] === x);\n          resultData[1] = y;\n        });\n      });\n    });\n\n    //limit and sort results\n    resultLines = this.sortAndLimitValuesIfNeeded(resultLines);\n\n    return resultLines;\n  }\n\n  sortAndLimitValuesIfNeeded(resultLines) {\n    if (this.args.dataConfig.yAxis?.data?.sorting === SORTING_LABEL_NAME) {\n      resultLines.sort(function(lineA, lineB) {\n        return lineA.name.localeCompare(lineB.name);\n      });\n    }\n\n    let limit = this.args.dataConfig.yAxis?.data?.limit;\n    if (limit) {\n      resultLines = resultLines.slice(0, limit);\n    }\n\n    return resultLines;\n  }\n\n  mapLineLabel(label) {\n    let labelMappings = this.args.dataConfig.yAxis.data.labelMappings;\n    let defaultLabel = this.args.dataConfig.yAxis.data.defaultLabel;\n    if (labelMappings) {\n      return labelMappings[label] || defaultLabel || label;\n    }\n    return label;\n  }\n\n  get chartOptions() {\n    let options = {\n      range: this.args.range,\n      chartData: this.chartData,\n      width: this.args.width,\n      viewConfig: this.args.viewConfig,\n      xAxisType: this.args.dataConfig.xAxis.type,\n    };\n\n    let builder = new LinechartBuilder(options);\n\n    return builder.buildTheme();\n  }\n\n  get hasData() {\n    return this.chartData.some(singleSeries => {\n      return singleSeries.data.some(dataArray => dataArray[1]);\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span class='avatar__container o__s'>\\n  <IcAvatarComponent @model={{this.author}} @size={{'s'}} @contained={{true}} />  \\n  {{this.author.name}}\\n</span>\\n\", {\"contents\":\"<span class='avatar__container o__s'>\\n  <IcAvatarComponent @model={{this.author}} @size={{'s'}} @contained={{true}} />  \\n  {{this.author.name}}\\n</span>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/table-article-author-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/table-article-author-cell.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class TableComponent extends Component {\n  @tracked author = null;\n\n  constructor() {\n    super(...arguments);\n    this.loadAuthor.perform();\n  }\n\n  @task\n  *loadAuthor() {\n    let article = yield this.args.data.articleCollection.get(this.args.row.groupName);\n    this.author = this.args.data.getCellValue(article);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{this.cellValue}}\\n\", {\"contents\":\"{{this.cellValue}}\\n\",\"moduleName\":\"embercom/components/reporting/flexible/table-article-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/table-article-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\n\nexport default class TableComponent extends Component {\n  @service store;\n  @tracked cellValue = null;\n\n  constructor() {\n    super(...arguments);\n\n    this.groupName = this.args.row.groupName;\n    this.args.data.articleCollection\n      .get(this.groupName)\n      .then(article => (this.cellValue = this.args.data.getCellValue(article)))\n      .catch(() => (this.cellValue = 'Unknown'));\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex\\\">\\n  {{#if this.article}}  \\n    <a href=\\\"{{href-to 'apps.app.articles.articles.article.show' this.articleId }}\\\" class=\\\"t__h3 flex-auto\\\">\\n      <span {{on \\\"click\\\" this.trackInsightsArticle}}>\\n        {{this.title}}\\n      </span>\\n    </a>\\n    <a href=\\\"{{href-to 'apps.app.articles.articles.article.edit' this.articleId }}\\\">\\n      {{ic-interface-icon \\\"edit\\\"}}\\n    </a>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex\\\">\\n  {{#if this.article}}  \\n    <a href=\\\"{{href-to 'apps.app.articles.articles.article.show' this.articleId }}\\\" class=\\\"t__h3 flex-auto\\\">\\n      <span {{on \\\"click\\\" this.trackInsightsArticle}}>\\n        {{this.title}}\\n      </span>\\n    </a>\\n    <a href=\\\"{{href-to 'apps.app.articles.articles.article.edit' this.articleId }}\\\">\\n      {{ic-interface-icon \\\"edit\\\"}}\\n    </a>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/table-article-title-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/table-article-title-cell.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\nimport { action } from '@ember/object';\nimport { later } from '@ember/runloop';\nimport ENV from 'embercom/config/environment';\n\nexport default class TableComponent extends Component {\n  @service educateEventService;\n  @tracked article;\n  @tracked title;\n\n  constructor() {\n    super(...arguments);\n\n    this.groupName = this.args.row.groupName;\n    this.loadArticle.perform();\n  }\n\n  get articleId() {\n    return this.article?.id;\n  }\n\n  @task\n  *loadArticle() {\n    this.article = yield this.args.data.articleCollection.get(this.args.row.groupName);\n    this.title = this.args.data.getCellValue(this.article);\n  }\n\n  @action\n  trackInsightsArticle() {\n    if (this.article === null || this.article === undefined) {\n      return;\n    }\n\n    later(\n      this,\n      () => {\n        this.educateEventService.trackEducateArticleEvent(this.article, {\n          action: 'visited',\n          place: 'insights',\n        });\n      },\n      ENV.APP._2000MS,\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.hasValue}}\\n  <span>\\n    {{this.percentage}}\\n    <span class=\\\"t__light-text\\\">\\n      ({{this.total}})\\n    </span>\\n  </span>\\n{{else}}\\n  <span>\\n    -\\n  </span>\\n{{/if}}\", {\"contents\":\"{{#if this.hasValue}}\\n  <span>\\n    {{this.percentage}}\\n    <span class=\\\"t__light-text\\\">\\n      ({{this.total}})\\n    </span>\\n  </span>\\n{{else}}\\n  <span>\\n    -\\n  </span>\\n{{/if}}\",\"moduleName\":\"embercom/components/reporting/flexible/table-csat-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/table-csat-cell.hbs\"}});\nimport Component from '@glimmer/component';\nimport percent, { toPercentString } from 'embercom/lib/percentage-formatter';\n\nexport default class CSATCellComponent extends Component {\n  complexValue = this.args.row['col-group-csat'];\n\n  constructor() {\n    super(...arguments);\n  }\n\n  get hasValue() {\n    return this.complexValue && this.complexValue.total;\n  }\n\n  get percentage() {\n    let rawPercentage = percent(this.complexValue.total, this.complexValue.value || 0);\n    return toPercentString(rawPercentage, 2);\n  }\n\n  get total() {\n    return this.complexValue.total;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class='flex flex-col filter-block__container u__one-truncated-line reporting__filter'>\\n  <Reporting::ReportingMultiselect\\n    @label={{this.teammateFilterLabel}}\\n    @selectAllLabel='All teammates'\\n    @displayItems={{this.teammateItems}}\\n    @onSelectionChanged={{set this.currentSelectedDropdownTeammates}}\\n    @hasFilter='true'\\n    @onClose={{this.onTeammateFilterClose}}\\n    @filterPlaceholder='Search teammates'\\n    @analyticsObject={{@analyticsObject}}\\n  />\\n</div>\\n<div class='flex flex-col filter-block__container u__one-truncated-line reporting__filter'>\\n  <Reporting::ReportingMultiselect\\n    @label={{this.teamFilterLabel}}\\n    @selectAllLabel='All teams'\\n    @displayItems={{this.teamItems}}\\n    @onSelectionChanged={{set this.currentSelectedDropdownTeams}}\\n    @hasFilter='true'\\n    @onClose={{this.onTeamFilterClose}}\\n    @filterPlaceholder='Search teams'\\n    @placement='bottom-end'\\n    @analyticsObject={{@analyticsObject}}\\n  />\\n</div>\\n\", {\"contents\":\"<div class='flex flex-col filter-block__container u__one-truncated-line reporting__filter'>\\n  <Reporting::ReportingMultiselect\\n    @label={{this.teammateFilterLabel}}\\n    @selectAllLabel='All teammates'\\n    @displayItems={{this.teammateItems}}\\n    @onSelectionChanged={{set this.currentSelectedDropdownTeammates}}\\n    @hasFilter='true'\\n    @onClose={{this.onTeammateFilterClose}}\\n    @filterPlaceholder='Search teammates'\\n    @analyticsObject={{@analyticsObject}}\\n  />\\n</div>\\n<div class='flex flex-col filter-block__container u__one-truncated-line reporting__filter'>\\n  <Reporting::ReportingMultiselect\\n    @label={{this.teamFilterLabel}}\\n    @selectAllLabel='All teams'\\n    @displayItems={{this.teamItems}}\\n    @onSelectionChanged={{set this.currentSelectedDropdownTeams}}\\n    @hasFilter='true'\\n    @onClose={{this.onTeamFilterClose}}\\n    @filterPlaceholder='Search teams'\\n    @placement='bottom-end'\\n    @analyticsObject={{@analyticsObject}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/table-local-filters.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/table-local-filters.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\n\nexport default class TableLocalFilters extends Component {\n  @service intercomEventService;\n\n  @tracked teamFilterLabel = 'All teams';\n  @tracked teammateFilterLabel = 'All teammates';\n\n  @tracked selectedDropdownTeams = [];\n  @tracked selectedDropdownTeammates = [];\n\n  @tracked currentSelectedDropdownTeams = [];\n  @tracked currentSelectedDropdownTeamsBuffer = [];\n\n  @tracked currentSelectedDropdownTeammates = [];\n  @tracked currentSelectedDropdownTeammatesBuffer = [];\n\n  @service appService;\n\n  // ------------------ team filter ------------------\n  get teamItems() {\n    return [\n      {\n        heading: 'Members of',\n        items: this.allTeamItems,\n      },\n    ];\n  }\n\n  get selectedTeamIds() {\n    return this.currentSelectedDropdownTeams.filter(item => item !== REPORTING_FILTER_SELECT_ALL);\n  }\n\n  get allTeamItems() {\n    return this.appService.app.teams.map(team => ({\n      model: team,\n      text: team.display_as_assignee,\n      value: team.id.toString(),\n      component: 'reporting/flexible/filter-bar/teammate-item',\n      isSelected: this.currentSelectedDropdownTeamsBuffer.includes(team.id.toString()),\n    }));\n  }\n\n  get currentTeamFilterLabel() {\n    if (this.selectedTeamIds.length === 0) {\n      return 'All teams';\n    }\n\n    let teamNames = this.selectedTeamIds.map(teammateId => {\n      return this.appService.app.teams.find(teammate => teammate.id.toString() === teammateId)\n        .display_as_assignee;\n    });\n\n    return `Members of ${teamNames.join(', ')}`;\n  }\n\n  @action\n  onTeamFilterClose() {\n    this.teamFilterLabel = this.currentTeamFilterLabel;\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_teammate_table_by_team_filter',\n      object: this.args.analyticsObject,\n      team_count: this.selectedTeamIds.length,\n    });\n    this.currentSelectedDropdownTeamsBuffer = this.currentSelectedDropdownTeams;\n\n    let isSelectionChanged =\n      this.selectedDropdownTeams.length !== this.currentSelectedDropdownTeams.length ||\n      this.selectedDropdownTeams.some((sdt, i) => sdt !== this.currentSelectedDropdownTeams[i]);\n\n    if (isSelectionChanged) {\n      this.selectedDropdownTeams = this.currentSelectedDropdownTeams;\n\n      if (this.args.onTeamFilterSelection) {\n        this.args.onTeamFilterSelection(this.selectedDropdownTeams);\n      }\n    }\n  }\n\n  // ----------------------------------------------------------------\n  // ------------------ teammate filter ------------------\n  get selectedTeammateIds() {\n    return this.currentSelectedDropdownTeammates\n      .filter(item => item !== REPORTING_FILTER_SELECT_ALL)\n      .map(id => parseInt(id, 10));\n  }\n\n  get currentTeammateFilterLabel() {\n    if (this.selectedTeammateIds.length === 0) {\n      return 'All teammates';\n    }\n\n    let teammateNames = this.selectedTeammateIds.map(teammateId => {\n      return this.appService.app.humanAdmins.find(admin => parseInt(admin.id, 10) === teammateId)\n        .name;\n    });\n\n    return `${teammateNames.join(', ')}`;\n  }\n\n  get teammateItems() {\n    return [\n      {\n        heading: 'Teammates',\n        items: this.allTeammateItems,\n      },\n    ];\n  }\n\n  get allTeammateItems() {\n    return this.appService.app.humanAdmins.map(teammate => ({\n      model: teammate,\n      text: teammate.display_as_assignee,\n      value: teammate.id.toString(),\n      component: 'reporting/flexible/filter-bar/teammate-item',\n      isSelected: this.currentSelectedDropdownTeammatesBuffer.includes(teammate.id.toString()),\n    }));\n  }\n\n  @action\n  onTeammateFilterClose() {\n    let selectedTeammates = this.currentSelectedDropdownTeammates;\n    this.currentSelectedDropdownTeammatesBuffer = this.currentSelectedDropdownTeammates;\n\n    if (selectedTeammates && selectedTeammates.firstObject === 'any') {\n      selectedTeammates = [];\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_teammate_table_by_teammate_filter',\n      object: this.args.analyticsObject,\n      team_count: selectedTeammates.length,\n    });\n\n    this.teammateFilterLabel = this.currentTeammateFilterLabel;\n\n    let isSelectionChanged =\n      this.selectedDropdownTeammates.length !== selectedTeammates.length ||\n      this.selectedDropdownTeammates.some((sdt, i) => sdt !== selectedTeammates[i]);\n\n    if (isSelectionChanged) {\n      this.selectedDropdownTeammates = selectedTeammates;\n\n      if (this.args.onTeammateFilterSelection) {\n        this.args.onTeammateFilterSelection(selectedTeammates.map(t => parseInt(t, 10)));\n      }\n    }\n  }\n  // ----------------------------------------------------------------\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (and this.isTeammate this.teammate)}}\\n  <span class='avatar__container o__s'>\\n    <span class='avatar o__s o__contained'>\\n      <img src=\\\"{{this.teammate.avatar.image_urls.square_25}}\\\" class='avatar__media' />\\n    </span>\\n    <span class='u__truncated-inline-block'>\\n      {{this.name}}\\n    </span>\\n  </span>\\n{{else}}\\n  <span class='u__truncated-inline-block'>\\n    {{this.name}}\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{#if (and this.isTeammate this.teammate)}}\\n  <span class='avatar__container o__s'>\\n    <span class='avatar o__s o__contained'>\\n      <img src=\\\"{{this.teammate.avatar.image_urls.square_25}}\\\" class='avatar__media' />\\n    </span>\\n    <span class='u__truncated-inline-block'>\\n      {{this.name}}\\n    </span>\\n  </span>\\n{{else}}\\n  <span class='u__truncated-inline-block'>\\n    {{this.name}}\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/reporting/flexible/table-teammate-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/table-teammate-cell.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class TableComponent extends Component {\n  col = this.args.col;\n\n  constructor() {\n    super(...arguments);\n\n    this.groupName = this.args.row.groupName;\n  }\n\n  get isTeammate() {\n    return !isNaN(this.groupName);\n  }\n\n  get teammate() {\n    return this.args.data[this.groupName];\n  }\n\n  get name() {\n    if (this.isTeammate && this.teammate) {\n      return this.teammate.name;\n    } else if (this.col.aliases) {\n      return this.col.aliases[this.groupName] || 'unknown';\n    } else {\n      return this.groupName;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Layout::ViewCard\\n  {{did-update (perform this._loadAllData) @range @filters this.teamDropdownFilterIds}}\\n  {{did-insert (perform this._loadAllData) @range @filters this.teamDropdownFilterIds}}\\n  class=\\\"reporting__flexible__chart\\\"\\n  data-test-name=\\\"{{@dataTestName}}\\\"\\n>\\n  <div class=\\\"flex flex-row justify-between pb-4\\\">\\n    <div class=\\\"flex flex-row items-center\\\">\\n      <Heading @size=\\\"2\\\" class=\\\"u__mr__5\\\" data-test-reporting=\\\"chart-header\\\">\\n        {{@headingText}}\\n        {{#if @titleTooltipText}}\\n          <IcTooltip\\n            @isInteractive={{true}}\\n            class=\\\"reporting__flexible__chart__tooltip\\\"\\n            data-test-reporting=\\\"title-tooltip-opener\\\"\\n            as |context|\\n          >\\n            <context.opener>\\n              {{ic-interface-icon \\\"tooltip\\\" solo=true}}\\n            </context.opener>\\n            <context.content data-test-reporting=\\\"title-tooltip-content\\\">\\n              {{@titleTooltipText}}\\n            </context.content>\\n          </IcTooltip>\\n        {{/if}}\\n      </Heading>\\n    </div>\\n    {{#if (has-block)}}\\n      <div class=\\\"flex flex-row items-center gap-3\\\">\\n        {{yield}}\\n      </div>\\n    {{/if}}\\n    {{#if @enableDownloadCSV}}\\n      <div class=\\\"flex flex-row items-center gap-3\\\">\\n        <IcButton\\n          @label=\\\"Download CSV\\\"\\n          @type=\\\"secondary\\\"\\n          @disabled={{this.isLoading}}\\n          data-test-download-csv-button\\n          {{on \\\"click\\\" (queue\\n            this.downloadCSV\\n            (track-analytics-event action=\\\"clicked\\\" object=\\\"team_performance_csv_export\\\")\\n          )}}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n\\n  <div class=\\\"flex flex-col u__overflow-x-auto\\\">\\n    <IcTable\\n      @data={{this.visibleTableData}}\\n      @columns={{@columns}}\\n      @sortState={{this.sortState}}\\n      @onSort={{this.onSortUpdate}}\\n      @canLoadMore={{this.canLoadMore}}\\n      @isLoading={{this.isLoading}}\\n      @onLoadMore={{this.onLoadMoreRows}} as |table|\\n    >\\n      <table.rows as |row|>\\n        {{#each @columns as |col|}}\\n          {{#component row.cell label=col.label valuePath=col.valuePath}}\\n            <div class=\\\"reporting__flexible__table__cell\\\">\\n              {{#if col.component}}\\n                {{component col.component row=row.data col=col data=col.componentData}}\\n              {{else}}\\n                {{compute (fn this.getCellValue col row.data)}}\\n              {{/if}}\\n            </div>\\n          {{/component}}\\n        {{/each}}\\n      </table.rows>\\n    </IcTable>\\n\\n    {{#if @dashboard.isPaywalled}}\\n      <Reporting::Flexible::DefaultEmptyChart />\\n    {{/if}}\\n  </div>\\n</Reporting::Layout::ViewCard>\\n\", {\"contents\":\"<Reporting::Layout::ViewCard\\n  {{did-update (perform this._loadAllData) @range @filters this.teamDropdownFilterIds}}\\n  {{did-insert (perform this._loadAllData) @range @filters this.teamDropdownFilterIds}}\\n  class=\\\"reporting__flexible__chart\\\"\\n  data-test-name=\\\"{{@dataTestName}}\\\"\\n>\\n  <div class=\\\"flex flex-row justify-between pb-4\\\">\\n    <div class=\\\"flex flex-row items-center\\\">\\n      <Heading @size=\\\"2\\\" class=\\\"u__mr__5\\\" data-test-reporting=\\\"chart-header\\\">\\n        {{@headingText}}\\n        {{#if @titleTooltipText}}\\n          <IcTooltip\\n            @isInteractive={{true}}\\n            class=\\\"reporting__flexible__chart__tooltip\\\"\\n            data-test-reporting=\\\"title-tooltip-opener\\\"\\n            as |context|\\n          >\\n            <context.opener>\\n              {{ic-interface-icon \\\"tooltip\\\" solo=true}}\\n            </context.opener>\\n            <context.content data-test-reporting=\\\"title-tooltip-content\\\">\\n              {{@titleTooltipText}}\\n            </context.content>\\n          </IcTooltip>\\n        {{/if}}\\n      </Heading>\\n    </div>\\n    {{#if (has-block)}}\\n      <div class=\\\"flex flex-row items-center gap-3\\\">\\n        {{yield}}\\n      </div>\\n    {{/if}}\\n    {{#if @enableDownloadCSV}}\\n      <div class=\\\"flex flex-row items-center gap-3\\\">\\n        <IcButton\\n          @label=\\\"Download CSV\\\"\\n          @type=\\\"secondary\\\"\\n          @disabled={{this.isLoading}}\\n          data-test-download-csv-button\\n          {{on \\\"click\\\" (queue\\n            this.downloadCSV\\n            (track-analytics-event action=\\\"clicked\\\" object=\\\"team_performance_csv_export\\\")\\n          )}}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n\\n  <div class=\\\"flex flex-col u__overflow-x-auto\\\">\\n    <IcTable\\n      @data={{this.visibleTableData}}\\n      @columns={{@columns}}\\n      @sortState={{this.sortState}}\\n      @onSort={{this.onSortUpdate}}\\n      @canLoadMore={{this.canLoadMore}}\\n      @isLoading={{this.isLoading}}\\n      @onLoadMore={{this.onLoadMoreRows}} as |table|\\n    >\\n      <table.rows as |row|>\\n        {{#each @columns as |col|}}\\n          {{#component row.cell label=col.label valuePath=col.valuePath}}\\n            <div class=\\\"reporting__flexible__table__cell\\\">\\n              {{#if col.component}}\\n                {{component col.component row=row.data col=col data=col.componentData}}\\n              {{else}}\\n                {{compute (fn this.getCellValue col row.data)}}\\n              {{/if}}\\n            </div>\\n          {{/component}}\\n        {{/each}}\\n      </table.rows>\\n    </IcTable>\\n\\n    {{#if @dashboard.isPaywalled}}\\n      <Reporting::Flexible::DefaultEmptyChart />\\n    {{/if}}\\n  </div>\\n</Reporting::Layout::ViewCard>\\n\",\"moduleName\":\"embercom/components/reporting/flexible/table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/table.hbs\"}});\nimport { sortBy } from 'underscore';\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { debounce } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport { all } from 'ember-concurrency';\nimport { task } from 'ember-concurrency-decorators';\nimport ajax from 'embercom/lib/ajax';\nimport { convert } from 'embercom/lib/reporting/flexible/table-datarequest-builder';\nimport moment from 'moment';\nimport { isEmpty, clone, some, omit } from 'underscore';\nimport TableDataResponseMapper from 'embercom/lib/reporting/flexible/table-dataresponse-mapper';\nimport {\n  formatFilterDisplayName,\n  formatFilterDisplayValues,\n  formatCustomAttributeDisplayName,\n  formatCustomAttributeDisplayValues,\n} from 'embercom/lib/reporting/flexible/filter-display-formatter';\n\nimport { buildFilters } from 'embercom/lib/reporting/flexible/filter-helpers';\n\nconst DEFAULT_ROWS_VISIBLE = 20;\n\nexport default class TableComponent extends Component {\n  @service appService;\n  @service csv;\n  @service intercomEventService;\n  @service notificationsService;\n  @service store;\n\n  @tracked tableData = [];\n  @tracked numberOfRowsVisible = this.viewConfig.rowsVisible || DEFAULT_ROWS_VISIBLE;\n  @tracked isLoading = true;\n  @tracked sortState = this.viewConfig.sortState;\n\n  columns = this.args.columns;\n  viewConfig = this.args.viewConfig;\n  dataConfig = this.args.dataConfig;\n\n  get canLoadMore() {\n    return this.tableData > this.visibleTableData;\n  }\n\n  get visibleTableData() {\n    return this.tableData.slice(0, this.numberOfRowsVisible);\n  }\n\n  get globalFilters() {\n    return this.args.filters || {};\n  }\n\n  get timeRange() {\n    return this.args.range;\n  }\n\n  @action\n  onLoadMoreRows() {\n    this.numberOfRowsVisible += this.viewConfig.rowsVisible || DEFAULT_ROWS_VISIBLE;\n  }\n\n  @task\n  *_loadAllData() {\n    if (this.args.dashboard.isPaywalled) {\n      this.isLoading = false;\n      return;\n    }\n\n    this.isLoading = true;\n    let childTasks = [];\n\n    let updatedDataConfig = this._addGlobalFilters({\n      dataConfig: this.dataConfig,\n      filters: this.globalFilters,\n      timeRange: this.timeRange,\n    });\n\n    let dataRequests = convert(updatedDataConfig);\n\n    for (let dataRequest of dataRequests) {\n      childTasks.push(this.fetchData.perform(dataRequest));\n    }\n\n    let responses = yield all(childTasks);\n\n    if (!responses.includes(undefined)) {\n      this.tableData = this._convertToTableData(responses);\n      // generic method that includes all pre-processing of data returned from the server and mapped\n      // to the table input format but before it gets to rendering\n      // this includes filtering some unwanted rows or merging rows with front-end defined ones\n      this.tableData = this._processRows({\n        tableData: this.tableData,\n        viewConfig: this.viewConfig,\n      });\n      // performs front-end based calculations for columns\n      this.tableData = this._calculateCustomValues(this.tableData);\n      this._sort();\n      this.isLoading = false;\n    }\n  }\n\n  @task\n  *fetchData(dataRequest) {\n    try {\n      return yield ajax({\n        url: '/ember/reporting/signal_flexible',\n        type: 'POST',\n        data: JSON.stringify({\n          app_id: this.appService.app.id,\n          admin_id: this.appService.app.currentAdmin.id,\n          ...dataRequest,\n        }),\n      });\n    } catch (_e) {\n      debounce(\n        this.notificationsService,\n        this.notificationsService.notifyError,\n        'Something went wrong, try reloading the page.',\n        1000,\n        1000,\n        true,\n      );\n    }\n  }\n\n  _processRows({ tableData, viewConfig }) {\n    let result = tableData;\n\n    // merging\n    if (viewConfig.mergeableRows) {\n      let tableDataMap = tableData.reduce((acc, td) => {\n        acc[td[viewConfig.mergeableRows.valuePath]] = td;\n        return acc;\n      }, {});\n\n      let mergedMaps = Object.assign(viewConfig.mergeableRows.getRowsMap(), tableDataMap);\n      result = Object.values(mergedMaps);\n    }\n\n    // filtering out\n    if (viewConfig.isVisibleRow) {\n      result = result.filter(td => viewConfig.isVisibleRow(td));\n    }\n\n    return result;\n  }\n\n  _calculateCustomValues(tableData) {\n    // find main column to use its valuePath as a row name\n    let mainColumn = this.columns.find(c => c.isMain) || this.columns.first;\n    let rowNameProperty = mainColumn.valuePath;\n\n    this.dataConfig.rows.forEach(r => {\n      if (!r.columnCustomFunctions) {\n        return;\n      }\n\n      // insert row if it's missing in the results from the server\n      let customRow = tableData.find(td => td[rowNameProperty] === r.name);\n      if (!customRow) {\n        // the row name is the valuePath of the main column (see the first line of this function)\n        customRow = { [rowNameProperty]: r.name };\n        tableData.push(customRow);\n      }\n      // we don't need to pass the custom row to its custom calculation functions,\n      // this is why we filter it out from all the rows\n      let rowsWithoutCustom = tableData.filter(td => td[rowNameProperty] !== r.name);\n\n      r.columnCustomFunctions.forEach(ccf => {\n        customRow[ccf.columnName] = ccf.customFunction(rowsWithoutCustom);\n      });\n    });\n\n    return tableData;\n  }\n\n  _addGlobalFilters({ dataConfig, filters, timeRange }) {\n    let columnTypes = ['common'];\n    let rowsWithIgnoreColumns = {};\n\n    // if there's any rows with ignore filter requirements\n    if (some(dataConfig.rows, r => r.ignoreFilters)) {\n      rowsWithIgnoreColumns = dataConfig.rows\n        .filter(r => r.ignoreFilters)\n        .reduce((acc, r) => {\n          acc[r.name] = r.ignoreFilters;\n          return acc;\n        }, {});\n\n      columnTypes = columnTypes.concat(Object.keys(rowsWithIgnoreColumns));\n    }\n\n    let updatedDataConfig = { ...dataConfig, columns: {} };\n\n    // filling all the columns with filters taking into account all filter ignores from rows\n    columnTypes.forEach(ct => {\n      updatedDataConfig.columns[ct] = dataConfig.columns.map(col => {\n        // shallow copy of original column data config\n        let newCol = clone(col);\n\n        // update time\n        newCol.time.start = timeRange.startMoment.valueOf();\n        newCol.time.end = timeRange.endMoment.valueOf();\n\n        // update filters\n        let allFilters = [];\n\n        allFilters = [\n          ...this._getColumnFilterList(newCol.filter),\n          ...this._getGlobalFilters(filters, newCol, rowsWithIgnoreColumns[ct]),\n        ];\n\n        allFilters = allFilters.filter(f => !isEmpty(f));\n        newCol.filter = this._transformFilterList(allFilters);\n\n        return newCol;\n      });\n    });\n\n    return updatedDataConfig;\n  }\n\n  _convertToTableData(responses) {\n    let rawFormatted = TableDataResponseMapper.mapToTableInput(responses);\n    return rawFormatted;\n  }\n\n  // -------- sorting --------\n  @action\n  onSortUpdate(valuePath) {\n    let direction = 'asc';\n\n    if (this.sortState.valuePath === valuePath && this.sortState.direction === 'asc') {\n      direction = 'desc';\n    }\n\n    this.sortState = { valuePath, direction };\n    this._sort();\n  }\n\n  _sort() {\n    let { regularRows: newRows, positionedRows } = this._splitPositionalAndRegularRows(\n      this.tableData.slice(),\n    );\n\n    let { direction, valuePath } = this.sortState;\n\n    // supporting artificial sort properties\n    let specialSortingColumn = this.columns.find(\n      col => col.valuePath === valuePath && col.sortingHelper,\n    );\n    let getSortValue = specialSortingColumn\n      ? specialSortingColumn.sortingHelper\n      : row => row[valuePath];\n\n    newRows.sort(function(a, b) {\n      // TODO implement ability to pass default sorting value per column\n      let valA = getSortValue(a) || 0;\n      let valB = getSortValue(b) || 0;\n\n      switch (typeof valA) {\n        case 'string':\n          return valA.localeCompare(valB);\n        default:\n          return valA - valB;\n      }\n    });\n\n    if (direction === 'desc') {\n      newRows = newRows.reverse();\n    }\n\n    this.tableData.clear();\n    this.tableData.addObjects(positionedRows.concat(newRows));\n  }\n\n  _splitPositionalAndRegularRows(tableData) {\n    if (!this.viewConfig.rowOrder) {\n      return { regularRows: tableData, positionedRows: [] };\n    }\n\n    let rowsData = tableData.reduce(\n      (acc, row) => {\n        let found = this.viewConfig.rowOrder.find(ro => row[ro.valuePath] === ro.value);\n\n        if (found) {\n          row.position = found.position;\n          acc.positionedRows.push(row);\n          acc.positionedRows = sortBy(acc.positionedRows, 'position');\n        } else {\n          acc.regularRows.push(row);\n        }\n\n        return acc;\n      },\n      { regularRows: [], positionedRows: [] },\n    );\n\n    return { regularRows: rowsData.regularRows, positionedRows: rowsData.positionedRows };\n  }\n  // -------------------------\n\n  // -------- global filters merging --------\n  _transformFilterList(list) {\n    if (list.length === 0) {\n      return;\n    } else if (list.length === 1) {\n      return list[0];\n    } else {\n      return { type: 'and', filters: list };\n    }\n  }\n\n  _getColumnFilterList(filter) {\n    if (!filter) {\n      return [];\n    }\n\n    return filter.filters || [filter];\n  }\n\n  _getGlobalFilters(globalFilters, col, rowIgnores) {\n    // this means we have a row for which we need to exclude a filter from the global filters\n    if (rowIgnores && rowIgnores.columns.includes(col.name)) {\n      rowIgnores.filters.forEach(f => {\n        globalFilters = omit(globalFilters, f);\n      });\n    }\n\n    let filterAlias = col.filterAlias;\n    let filtersList = [];\n\n    for (let [key, value] of Object.entries(globalFilters)) {\n      if (value !== undefined) {\n        if (filterAlias?.[key]) {\n          key = filterAlias[key];\n        }\n        let filters = buildFilters(key, value, { mergeCombined: true });\n        filtersList.push(...filters);\n      }\n    }\n    return filtersList;\n  }\n\n  _getAttributeType(dataType) {\n    switch (dataType) {\n      case 'list':\n        return 'list_option_id';\n      default:\n        return dataType;\n    }\n  }\n  // -------------------------\n  _prepositionRows() {\n    let { regularRows: newRows, positionedRows } = this._splitPositionalAndRegularRows(\n      this.tableData.slice(),\n    );\n\n    this.tableData.clear();\n    this.tableData.addObjects(positionedRows.concat(newRows));\n  }\n\n  @action\n  getCellValue(column, row) {\n    let value;\n    if (column.aliases?.[row.groupName]) {\n      value = column.aliases[row.groupName];\n    } else if (column.getRowValue) {\n      value = column.getRowValue(row);\n    } else if (column.formatter) {\n      value = column.formatter(row[column.valuePath]);\n    } else {\n      value = row[column.valuePath];\n    }\n    return value || '-';\n  }\n\n  //  -------- csv export --------\n\n  @action\n  downloadCSV() {\n    return this.exportCSVTask.perform();\n  }\n\n  @task\n  *exportCSVTask() {\n    let DATE_WITHOUT_TIME = 'YYYY-MM-DD';\n    let CSV_EMPTY_LINE = [[]];\n\n    let filename = `${this.args.csvFilenamePrefix}_${this.dateFormatter(\n      this.args.range.startMoment,\n      DATE_WITHOUT_TIME,\n    )}_${this.dateFormatter(this.args.range.endMoment, DATE_WITHOUT_TIME)}.csv`;\n\n    let title = [[this.args.headingText]];\n    let data = title\n      .concat(CSV_EMPTY_LINE)\n      .concat(this.csvHeaders())\n      .concat(CSV_EMPTY_LINE)\n      .concat(this.csvFilters())\n      .concat(CSV_EMPTY_LINE)\n      .concat(this.csvTableData());\n    return yield this.csv.export(data, {\n      fileName: filename,\n      withSeparator: false,\n    });\n  }\n\n  csvHeaders() {\n    let headers = ['Export date', 'Time Zone', 'Time period from', 'Time period to'];\n    let now = this.dateFormatter(moment());\n    let timezone = this.appService.app.timezone;\n    let from = this.dateFormatter(this.args.range.startMoment);\n    let to = this.dateFormatter(this.args.range.endMoment);\n    return [headers, [now, timezone, from, to]];\n  }\n\n  csvFilters() {\n    let title = ['Filters'];\n    let formattedFilters = Object.entries(this.args.rawFilters).map(\n      ([filterName, filterValues]) => {\n        if (filterName === 'customAttributes') {\n          return this.csvFormatCustomAttributeFilters(filterValues);\n        }\n\n        let displayFilterName = formatFilterDisplayName(filterName);\n        let displayFilterValues = formatFilterDisplayValues(\n          filterName,\n          filterValues,\n          this.appService.app,\n        );\n\n        return `${displayFilterName}:${displayFilterValues.join('|')}`;\n      },\n    );\n    return [title, formattedFilters.flat()];\n  }\n\n  csvFormatCustomAttributeFilters(filterValues) {\n    let displayFilterName;\n    let displayFilterValues;\n    let formattedCustomAttibutes = [];\n    for (let [customAttribute, customAttributeValues] of Object.entries(filterValues)) {\n      let conversationAttributeDescriptor = this.args.conversationAttributeDescriptors.find(\n        descriptor => descriptor.id === customAttribute,\n      );\n      displayFilterName = formatCustomAttributeDisplayName(\n        customAttribute,\n        conversationAttributeDescriptor,\n      );\n      displayFilterValues = formatCustomAttributeDisplayValues(\n        customAttributeValues,\n        conversationAttributeDescriptor,\n      );\n      formattedCustomAttibutes.push(`${displayFilterName}:${displayFilterValues.join('|')}`);\n    }\n    return formattedCustomAttibutes;\n  }\n\n  dateFormatter(moment, format) {\n    return moment.tz(this.appService.app.timezone).format(format || 'YYYY-MM-DD HH:mm:ss');\n  }\n\n  csvTableData() {\n    let columnLabels = this.columns.map(column => column.csvLabel || column.label);\n    let tableData = this.tableData.map(row => {\n      let rowData = [];\n      for (let column of this.columns) {\n        let value = this.getCellValue(column, row);\n        rowData.push(value);\n      }\n      return rowData;\n    });\n\n    return [columnLabels].concat(tableData);\n  }\n  // ------------------------------\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"\", {\"contents\":\"\",\"moduleName\":\"embercom/components/reporting/flexible/view-abstraction-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/flexible/view-abstraction-component.hbs\"}});\nimport { debounce } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport { all } from 'ember-concurrency';\nimport ajax from 'embercom/lib/ajax';\nimport DataRequestBuilder from 'embercom/lib/reporting/flexible/datarequest-builder';\n\nexport default class ViewAbstractionComponent extends Component {\n  @tracked dataResponses;\n  @tracked isLoading = false;\n  @tracked chartData;\n\n  @service appService;\n  @service notificationsService;\n\n  constructor() {\n    super(...arguments);\n    this.viewConfig = this.args.viewConfig || {};\n    this.loadAllData.perform();\n  }\n\n  @task\n  *loadAllData() {\n    this.isLoading = true;\n    let childTasks = [];\n\n    let requestBuilder = new DataRequestBuilder({ dataInputConfiguration: this.args.dataConfig });\n    let dataRequests = requestBuilder.convert();\n\n    for (let dataRequest of dataRequests) {\n      childTasks.push(this.fetchData.perform(dataRequest));\n    }\n\n    let responses = yield all(childTasks);\n\n    if (!responses.includes(undefined)) {\n      this.dataResponses = responses;\n      this.isLoading = false;\n      this.chartData = this.convertResponsesToVisualisation(this.dataResponses);\n    }\n  }\n\n  @task\n  *fetchData(dataRequest) {\n    try {\n      return yield ajax({\n        url: '/ember/reporting/signal_flexible',\n        type: 'POST',\n        data: JSON.stringify({\n          app_id: this.appService.app.id,\n          admin_id: this.appService.app.currentAdmin.id,\n          ...dataRequest,\n        }),\n      });\n    } catch (_e) {\n      debounce(\n        this.notificationsService,\n        this.notificationsService.notifyError,\n        'Something went wrong, try reloading the page.',\n        1000,\n        1000,\n        true,\n      );\n    }\n  }\n\n  convertResponsesToVisualisation(responses) {\n    let result = responses;\n\n    // For cases when there're multiple series and we need to map all of them to the same axis.\n    if (this.mapToSameAxis) {\n      result = this.mapToSameAxis(result);\n    }\n\n    // For cases when we want to parse the responses into concrete visualisation data.\n    if (this.convertToTargetVisualisation) {\n      return this.convertToTargetVisualisation(result);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"reporting__funnel-percentage\\\">\\n  <svg width=\\\"60\\\" height=\\\"40\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n    <path\\n      d=\\\"M51.08 1l6.947 18.597-6.948 18.23H1l3.719-18.23L1 1z\\\"\\n      stroke=\\\"#E5E5E5\\\"\\n      fill=\\\"none\\\"\\n      fill-rule=\\\"evenodd\\\"\\n    ></path>\\n    <text\\n      class=\\\"reporting__funnel-percentage__text\\\"\\n      data-test-funnel-percentage\\n      text-anchor=\\\"middle\\\"\\n      dominant-baseline=\\\"central\\\"\\n      x=\\\"30\\\"\\n      y=\\\"20\\\"\\n    >\\n      {{if active percentage \\\"-\\\"}}\\n    </text>\\n  </svg>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"reporting__funnel-percentage\\\">\\n  <svg width=\\\"60\\\" height=\\\"40\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n    <path\\n      d=\\\"M51.08 1l6.947 18.597-6.948 18.23H1l3.719-18.23L1 1z\\\"\\n      stroke=\\\"#E5E5E5\\\"\\n      fill=\\\"none\\\"\\n      fill-rule=\\\"evenodd\\\"\\n    ></path>\\n    <text\\n      class=\\\"reporting__funnel-percentage__text\\\"\\n      data-test-funnel-percentage\\n      text-anchor=\\\"middle\\\"\\n      dominant-baseline=\\\"central\\\"\\n      x=\\\"30\\\"\\n      y=\\\"20\\\"\\n    >\\n      {{if active percentage \\\"-\\\"}}\\n    </text>\\n  </svg>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/funnel-percentage.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/funnel-percentage.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport percent, {\n  toPercentString,\n  REPORTS_PRECISION_DEFAULT,\n} from 'embercom/lib/percentage-formatter';\n\nexport default Component.extend({\n  tagName: '',\n  percentage: computed('from', 'to', function() {\n    return toPercentString(percent(this.from, this.to), REPORTS_PRECISION_DEFAULT);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"reporting__report-tab__title u__mb__10 u__one-truncated-line\\\">\\n  {{title}}\\n</div>\\n<div>\\n  <span class=\\\"reporting__report-tab__value\\\">\\n    {{#if (not active)}}\\n      -\\n    {{else if (eq format \\\"dollars\\\")}}\\n      {{currency-formatter-helper (multiply currentValue 100) 1 false true}}\\n    {{else}}\\n      {{number-formatter-helper currentValue}}\\n    {{/if}}\\n  </span>\\n  <span class=\\\"u__mr__30\\\">\\n    {{#if active}}\\n      {{#if showPercentage}}\\n        <span class=\\\"reporting__funnel-percentage__text\\\">\\n          ({{format-percentage-reports this.totalValue this.currentValue}})\\n        </span>\\n      {{else}}\\n        <Reporting::Element::SummaryComparison\\n          @valueUnit={{if (eq format \\\"dollars\\\") \\\"dollars\\\"}}\\n          @currentValue={{currentValue}}\\n          @previousValue={{previousValue}}\\n          @showNotChangedText={{false}}\\n          @smallArrow={{true}}\\n        />\\n      {{/if}}\\n    {{/if}}\\n  </span>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"reporting__report-tab__title u__mb__10 u__one-truncated-line\\\">\\n  {{title}}\\n</div>\\n<div>\\n  <span class=\\\"reporting__report-tab__value\\\">\\n    {{#if (not active)}}\\n      -\\n    {{else if (eq format \\\"dollars\\\")}}\\n      {{currency-formatter-helper (multiply currentValue 100) 1 false true}}\\n    {{else}}\\n      {{number-formatter-helper currentValue}}\\n    {{/if}}\\n  </span>\\n  <span class=\\\"u__mr__30\\\">\\n    {{#if active}}\\n      {{#if showPercentage}}\\n        <span class=\\\"reporting__funnel-percentage__text\\\">\\n          ({{format-percentage-reports this.totalValue this.currentValue}})\\n        </span>\\n      {{else}}\\n        <Reporting::Element::SummaryComparison\\n          @valueUnit={{if (eq format \\\"dollars\\\") \\\"dollars\\\"}}\\n          @currentValue={{currentValue}}\\n          @previousValue={{previousValue}}\\n          @showNotChangedText={{false}}\\n          @smallArrow={{true}}\\n        />\\n      {{/if}}\\n    {{/if}}\\n  </span>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/funnel-step.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/funnel-step.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  active: true,\n  tagName: '',\n  showPercentage: computed('totalValue', function() {\n    let total = this.totalValue;\n    if (total && total > 0) {\n      return true;\n    }\n    return false;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__flexes-to-1 u__relative o__scrolls report_content_container\\\">\\n  <div class=\\\"ml-8 mr-8\\\">\\n    <div class=\\\"reporting__content o__fluid pl-6\\\">\\n      <div class=\\\"flex flex-col gap-6\\\">\\n        {{yield}}\\n      </div>\\n      <p class=\\\"t__light-text mb-16 mt-8\\\">\\n        Reports are in {{format-timezone @timezone}}\\n      </p>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__flexes-to-1 u__relative o__scrolls report_content_container\\\">\\n  <div class=\\\"ml-8 mr-8\\\">\\n    <div class=\\\"reporting__content o__fluid pl-6\\\">\\n      <div class=\\\"flex flex-col gap-6\\\">\\n        {{yield}}\\n      </div>\\n      <p class=\\\"t__light-text mb-16 mt-8\\\">\\n        Reports are in {{format-timezone @timezone}}\\n      </p>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/layout/report-content.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/layout/report-content.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<SubmenuComponent\\n  data-test-reporting-nav-bar=\\\"true\\\"\\n  @title=\\\"Reports\\\" as |submenu|\\n>\\n  {{submenu.header}}\\n  <submenu.sections as |sections|>\\n    <sections.section as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.reports.overview\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-track-analytics-event-object=\\\"reports_navbar_overview_link\\\"\\n        >\\n          Overview\\n        </LinkTo>\\n      </section.title>\\n    </sections.section>\\n    {{#if (has-feature \\\"canUseNewReportingIa\\\")}}\\n      <sections.section @isOpen={{this.isOnLeadGenerationReports}} as |section|>\\n        <section.title @title=\\\"Lead generation\\\" @url={{href-to \\\"apps.app.reports.lead-generation\\\"}} />\\n        <section.items>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.lead-generation.leads\\\"\\n            data-test-reporting-nav-bar-leads\\n            data-track-analytics-event-object=\\\"reports_navbar_inbox_leads_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Leads\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.lead-generation.sales\\\"\\n            data-test-reporting-nav-bar-sales\\n            data-track-analytics-event-object=\\\"reports_navbar_lead_generation_sales_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Sales\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.lead-generation.custom-bots\\\"\\n            data-test-reporting-nav-bar-summary\\n            data-track-analytics-event-object=\\\"reports_navbar_lead_generation_custom_bots_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Custom Bots\\n          </LinkTo>\\n        </section.items>\\n      </sections.section>\\n      <sections.section as |section|>\\n        <section.title>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-engagement\\\"\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n            data-track-analytics-event-object=\\\"reports_navbar_overview_link\\\"\\n          >\\n            Customer engagement\\n          </LinkTo>\\n        </section.title>\\n      </sections.section>\\n      <sections.section @isOpen={{this.isOnCustomerSupportReports}} as |section|>\\n        <section.title @title=\\\"Customer support\\\" @url={{href-to \\\"apps.app.reports.customer-support.overview\\\"}} />\\n        <section.items>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-support.overview\\\"\\n            @query={{this.trustedListFilterQueryParams}}\\n            data-test-reporting-nav-bar-summary\\n            data-track-analytics-event-object=\\\"reports_navbar_inbox_summary_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Overview\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-support.conversations-flexible\\\"\\n            @query={{this.trustedListFilterQueryParams}}\\n            data-test-reporting-nav-bar-conversations\\n            data-track-analytics-event-object=\\\"reports_navbar_inbox_conversations_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Conversations {{ic-stamp \\\"New\\\"}}\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-support.team-performance\\\"\\n            @query={{this.trustedListFilterQueryParams}}\\n            data-test-reporting-nav-bar-team-performance\\n            data-track-analytics-event-object=\\\"reports_navbar_inbox_team_performance_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Team performance {{ic-stamp \\\"New\\\"}}\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-support.customer-satisfaction\\\"\\n            data-test-reporting-nav-bar-customer-satisfaction\\n            @query={{this.trustedListFilterQueryParams}}\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n            data-track-analytics-event-object=\\\"reports_navbar_performance_link\\\"\\n          >\\n            Customer satisfaction\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-support.responsiveness\\\"\\n            @query={{this.trustedListFilterQueryParams}}\\n            data-test-reporting-nav-bar-responsiveness\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n            data-track-analytics-event-object=\\\"reports_navbar_performance_link\\\"\\n          >\\n            Responsiveness\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-support.effectiveness\\\"\\n            @query={{this.trustedListFilterQueryParams}}\\n            data-test-reporting-nav-bar-effectiveness\\n            data-track-analytics-event-object=\\\"reports_navbar_inbox_effectiveness_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Effectiveness {{ic-stamp \\\"New\\\"}}\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-support.conversation-tags\\\"\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n            data-track-analytics-event-object=\\\"reports_navbar_conversation_tags_link\\\"\\n          >\\n            Conversation tags\\n          </LinkTo>\\n          {{#if (has-feature \\\"canUseInboxSlas\\\")}}\\n            <LinkTo\\n              @route=\\\"apps.app.reports.customer-support.slas\\\"\\n              @query={{this.trustedListFilterQueryParams}}\\n              data-test-reporting-nav-bar-slas\\n              data-track-analytics-event-object=\\\"reports_navbar_inbox_slas_link\\\"\\n              class=\\\"nav-vertical__link link__opaque\\\"\\n              @activeClass=\\\"o__selected\\\"\\n            >\\n              SLAs\\n            </LinkTo>\\n          {{/if}}\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-support.articles\\\"\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            data-track-analytics-event-object=\\\"reports_navbar_articles_link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Articles\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-support.resolution-bot\\\"\\n            data-test-reporting-nav-bar-conversations\\n            data-track-analytics-event-object=\\\"reports_navbar_operator_answer-bot_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Resolution Bot\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-support.custom-bots\\\"\\n            data-test-reporting-nav-bar-summary\\n            data-track-analytics-event-object=\\\"reports_navbar_operator_custom-bots_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Custom Bots\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-support.export\\\"\\n            data-test-reporting-nav-bar-export\\n            data-track-analytics-event-object=\\\"reports_navbar_inbox_export_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Export\\n          </LinkTo>\\n        </section.items>\\n      </sections.section>\\n      {{#if (has-feature \\\"canSeePowerfulReportingNav\\\")}}\\n        <sections.section @isOpen={{this.isOnCustomReports}} as |section|>\\n          <section.title>\\n            <LinkTo\\n              @route=\\\"apps.app.reports.custom-reports\\\"\\n              class=\\\"submenu__sections__section__title__link\\\"\\n              @activeClass=\\\"o__selected\\\"\\n              data-test-submenu-section-title=\\\"Custom Reports\\\"\\n            >\\n              Custom Reports\\n              {{ic-stamp \\\"Beta\\\"}}\\n            </LinkTo>\\n          </section.title>\\n          <section.items>\\n            <LinkTo\\n              @route=\\\"apps.app.reports.custom-reports.index\\\"\\n              data-track-analytics-event-object=\\\"reports_navbar_custom_reports_link\\\"\\n              class=\\\"nav-vertical__link link__opaque\\\"\\n              @activeClass=\\\"o__selected\\\"\\n              data-test-reporting-nav-bar-custom-report-all\\n            >\\n              All\\n            </LinkTo>\\n            <div {{did-insert (route-action \\\"loadCustomReports\\\")}}>\\n              {{#each @customReports as |customReport index|}}\\n                <LinkTo\\n                  @route=\\\"apps.app.reports.custom-reports.report.show\\\"\\n                  @model={{customReport.id}}\\n                  data-track-analytics-event-object=\\\"reports_navbar_custom_report_link\\\"\\n                  class=\\\"nav-vertical__link link__opaque\\\"\\n                  @activeClass=\\\"o__selected\\\"\\n                  data-test-reporting-nav-bar-custom-report={{index}}\\n                >\\n                  {{customReport.titleForDisplay}}\\n                </LinkTo>\\n              {{/each}}\\n            </div>\\n            <LinkTo\\n              @route=\\\"apps.app.reports.custom-reports.report.new\\\"\\n              data-track-analytics-event-object=\\\"reports_navbar_custom_reports_create\\\"\\n              class=\\\"nav-vertical__link link__opaque\\\"\\n              data-test-reporting-nav-bar-custom-report-create\\n            >\\n              <span class=\\\"text-gray\\\">\\n                {{ic-interface-icon \\\"new\\\"}} New report\\n              </span>\\n            </LinkTo>\\n          </section.items>\\n        </sections.section>\\n      {{/if}}\\n    {{else}}\\n      <sections.section @isOpen={{this.isOnInboxReports}} as |section|>\\n        <section.title @title=\\\"Inbox reports\\\" @url={{href-to \\\"apps.app.reports.inbox.summary\\\"}} />\\n        <section.items>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.inbox.summary\\\"\\n            data-test-reporting-nav-bar-summary\\n            data-track-analytics-event-object=\\\"reports_navbar_inbox_summary_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Inbox summary\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.inbox.conversation-tags\\\"\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n            data-track-analytics-event-object=\\\"reports_navbar_conversation_tags_link\\\"\\n          >\\n            Conversation tags\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.inbox.leads\\\"\\n            data-test-reporting-nav-bar-leads\\n            data-track-analytics-event-object=\\\"reports_navbar_inbox_leads_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Leads\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.inbox.export\\\"\\n            data-test-reporting-nav-bar-export\\n            data-track-analytics-event-object=\\\"reports_navbar_inbox_export_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Export\\n          </LinkTo>\\n        </section.items>\\n      </sections.section>\\n      <sections.section as |section|>\\n        <section.title>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.messages\\\"\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            data-track-analytics-event-object=\\\"reports_navbar_messages_link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Messages report\\n          </LinkTo>\\n        </section.title>\\n      </sections.section>\\n      <sections.section as |section|>\\n        <section.title>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.articles\\\"\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            data-track-analytics-event-object=\\\"reports_navbar_articles_link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Articles report\\n          </LinkTo>\\n        </section.title>\\n      </sections.section>\\n      <sections.section @isOpen={{this.isOnOperatorReports}} as |section|>\\n        <section.title @title=\\\"Operator reports\\\" @url={{href-to \\\"apps.app.reports.operator.custom-bots\\\"}} />\\n        <section.items>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.operator.custom-bots\\\"\\n            data-test-reporting-nav-bar-summary\\n            data-track-analytics-event-object=\\\"reports_navbar_operator_custom-bots_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Custom Bots\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.operator.resolution-bot\\\"\\n            data-test-reporting-nav-bar-conversations\\n            data-track-analytics-event-object=\\\"reports_navbar_operator_answer-bot_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Resolution Bot\\n          </LinkTo>\\n        </section.items>\\n      </sections.section>\\n  {{/if}}\\n  {{#if (and (has-feature \\\"canSeeConversationalInsights\\\") (has-feature \\\"canSeeConversationalInsightsLinks\\\"))}}\\n    <hr>\\n    <sections.section @isOpen={{this.isOnConversationalInsights}} as |section|>\\n      <section.title\\n        data-test-reporting-nav-bar-conversational-insights\\n        @title=\\\"Conversation Topics\\\"\\n        @url={{href-to \\\"apps.app.reports.conversational-insights.tracked-topics\\\"}}\\n      />\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.reports.conversational-insights.tracked-topics\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Topics\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.reports.conversational-insights.suggested-topics\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Suggestions\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n  {{/if}}\\n    {{#if (has-feature \\\"canUseConversationExplorer\\\")}}\\n      <sections.section as |section|>\\n          <section.title>\\n            <LinkTo\\n              @route=\\\"apps.app.reports.conversations\\\"\\n              class=\\\"submenu__sections__section__title__link\\\"\\n              data-track-analytics-event-object=\\\"reports_navbar_explorer_link\\\"\\n              @activeClass=\\\"o__selected\\\"\\n            >\\n              Explorer\\n            </LinkTo>\\n          </section.title>\\n      </sections.section>\\n    {{/if}}\\n  </submenu.sections>\\n</SubmenuComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<SubmenuComponent\\n  data-test-reporting-nav-bar=\\\"true\\\"\\n  @title=\\\"Reports\\\" as |submenu|\\n>\\n  {{submenu.header}}\\n  <submenu.sections as |sections|>\\n    <sections.section as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.reports.overview\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-track-analytics-event-object=\\\"reports_navbar_overview_link\\\"\\n        >\\n          Overview\\n        </LinkTo>\\n      </section.title>\\n    </sections.section>\\n    {{#if (has-feature \\\"canUseNewReportingIa\\\")}}\\n      <sections.section @isOpen={{this.isOnLeadGenerationReports}} as |section|>\\n        <section.title @title=\\\"Lead generation\\\" @url={{href-to \\\"apps.app.reports.lead-generation\\\"}} />\\n        <section.items>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.lead-generation.leads\\\"\\n            data-test-reporting-nav-bar-leads\\n            data-track-analytics-event-object=\\\"reports_navbar_inbox_leads_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Leads\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.lead-generation.sales\\\"\\n            data-test-reporting-nav-bar-sales\\n            data-track-analytics-event-object=\\\"reports_navbar_lead_generation_sales_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Sales\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.lead-generation.custom-bots\\\"\\n            data-test-reporting-nav-bar-summary\\n            data-track-analytics-event-object=\\\"reports_navbar_lead_generation_custom_bots_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Custom Bots\\n          </LinkTo>\\n        </section.items>\\n      </sections.section>\\n      <sections.section as |section|>\\n        <section.title>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-engagement\\\"\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n            data-track-analytics-event-object=\\\"reports_navbar_overview_link\\\"\\n          >\\n            Customer engagement\\n          </LinkTo>\\n        </section.title>\\n      </sections.section>\\n      <sections.section @isOpen={{this.isOnCustomerSupportReports}} as |section|>\\n        <section.title @title=\\\"Customer support\\\" @url={{href-to \\\"apps.app.reports.customer-support.overview\\\"}} />\\n        <section.items>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-support.overview\\\"\\n            @query={{this.trustedListFilterQueryParams}}\\n            data-test-reporting-nav-bar-summary\\n            data-track-analytics-event-object=\\\"reports_navbar_inbox_summary_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Overview\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-support.conversations-flexible\\\"\\n            @query={{this.trustedListFilterQueryParams}}\\n            data-test-reporting-nav-bar-conversations\\n            data-track-analytics-event-object=\\\"reports_navbar_inbox_conversations_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Conversations {{ic-stamp \\\"New\\\"}}\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-support.team-performance\\\"\\n            @query={{this.trustedListFilterQueryParams}}\\n            data-test-reporting-nav-bar-team-performance\\n            data-track-analytics-event-object=\\\"reports_navbar_inbox_team_performance_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Team performance {{ic-stamp \\\"New\\\"}}\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-support.customer-satisfaction\\\"\\n            data-test-reporting-nav-bar-customer-satisfaction\\n            @query={{this.trustedListFilterQueryParams}}\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n            data-track-analytics-event-object=\\\"reports_navbar_performance_link\\\"\\n          >\\n            Customer satisfaction\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-support.responsiveness\\\"\\n            @query={{this.trustedListFilterQueryParams}}\\n            data-test-reporting-nav-bar-responsiveness\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n            data-track-analytics-event-object=\\\"reports_navbar_performance_link\\\"\\n          >\\n            Responsiveness\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-support.effectiveness\\\"\\n            @query={{this.trustedListFilterQueryParams}}\\n            data-test-reporting-nav-bar-effectiveness\\n            data-track-analytics-event-object=\\\"reports_navbar_inbox_effectiveness_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Effectiveness {{ic-stamp \\\"New\\\"}}\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-support.conversation-tags\\\"\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n            data-track-analytics-event-object=\\\"reports_navbar_conversation_tags_link\\\"\\n          >\\n            Conversation tags\\n          </LinkTo>\\n          {{#if (has-feature \\\"canUseInboxSlas\\\")}}\\n            <LinkTo\\n              @route=\\\"apps.app.reports.customer-support.slas\\\"\\n              @query={{this.trustedListFilterQueryParams}}\\n              data-test-reporting-nav-bar-slas\\n              data-track-analytics-event-object=\\\"reports_navbar_inbox_slas_link\\\"\\n              class=\\\"nav-vertical__link link__opaque\\\"\\n              @activeClass=\\\"o__selected\\\"\\n            >\\n              SLAs\\n            </LinkTo>\\n          {{/if}}\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-support.articles\\\"\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            data-track-analytics-event-object=\\\"reports_navbar_articles_link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Articles\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-support.resolution-bot\\\"\\n            data-test-reporting-nav-bar-conversations\\n            data-track-analytics-event-object=\\\"reports_navbar_operator_answer-bot_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Resolution Bot\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-support.custom-bots\\\"\\n            data-test-reporting-nav-bar-summary\\n            data-track-analytics-event-object=\\\"reports_navbar_operator_custom-bots_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Custom Bots\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.customer-support.export\\\"\\n            data-test-reporting-nav-bar-export\\n            data-track-analytics-event-object=\\\"reports_navbar_inbox_export_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Export\\n          </LinkTo>\\n        </section.items>\\n      </sections.section>\\n      {{#if (has-feature \\\"canSeePowerfulReportingNav\\\")}}\\n        <sections.section @isOpen={{this.isOnCustomReports}} as |section|>\\n          <section.title>\\n            <LinkTo\\n              @route=\\\"apps.app.reports.custom-reports\\\"\\n              class=\\\"submenu__sections__section__title__link\\\"\\n              @activeClass=\\\"o__selected\\\"\\n              data-test-submenu-section-title=\\\"Custom Reports\\\"\\n            >\\n              Custom Reports\\n              {{ic-stamp \\\"Beta\\\"}}\\n            </LinkTo>\\n          </section.title>\\n          <section.items>\\n            <LinkTo\\n              @route=\\\"apps.app.reports.custom-reports.index\\\"\\n              data-track-analytics-event-object=\\\"reports_navbar_custom_reports_link\\\"\\n              class=\\\"nav-vertical__link link__opaque\\\"\\n              @activeClass=\\\"o__selected\\\"\\n              data-test-reporting-nav-bar-custom-report-all\\n            >\\n              All\\n            </LinkTo>\\n            <div {{did-insert (route-action \\\"loadCustomReports\\\")}}>\\n              {{#each @customReports as |customReport index|}}\\n                <LinkTo\\n                  @route=\\\"apps.app.reports.custom-reports.report.show\\\"\\n                  @model={{customReport.id}}\\n                  data-track-analytics-event-object=\\\"reports_navbar_custom_report_link\\\"\\n                  class=\\\"nav-vertical__link link__opaque\\\"\\n                  @activeClass=\\\"o__selected\\\"\\n                  data-test-reporting-nav-bar-custom-report={{index}}\\n                >\\n                  {{customReport.titleForDisplay}}\\n                </LinkTo>\\n              {{/each}}\\n            </div>\\n            <LinkTo\\n              @route=\\\"apps.app.reports.custom-reports.report.new\\\"\\n              data-track-analytics-event-object=\\\"reports_navbar_custom_reports_create\\\"\\n              class=\\\"nav-vertical__link link__opaque\\\"\\n              data-test-reporting-nav-bar-custom-report-create\\n            >\\n              <span class=\\\"text-gray\\\">\\n                {{ic-interface-icon \\\"new\\\"}} New report\\n              </span>\\n            </LinkTo>\\n          </section.items>\\n        </sections.section>\\n      {{/if}}\\n    {{else}}\\n      <sections.section @isOpen={{this.isOnInboxReports}} as |section|>\\n        <section.title @title=\\\"Inbox reports\\\" @url={{href-to \\\"apps.app.reports.inbox.summary\\\"}} />\\n        <section.items>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.inbox.summary\\\"\\n            data-test-reporting-nav-bar-summary\\n            data-track-analytics-event-object=\\\"reports_navbar_inbox_summary_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Inbox summary\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.inbox.conversation-tags\\\"\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n            data-track-analytics-event-object=\\\"reports_navbar_conversation_tags_link\\\"\\n          >\\n            Conversation tags\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.inbox.leads\\\"\\n            data-test-reporting-nav-bar-leads\\n            data-track-analytics-event-object=\\\"reports_navbar_inbox_leads_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Leads\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.inbox.export\\\"\\n            data-test-reporting-nav-bar-export\\n            data-track-analytics-event-object=\\\"reports_navbar_inbox_export_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Export\\n          </LinkTo>\\n        </section.items>\\n      </sections.section>\\n      <sections.section as |section|>\\n        <section.title>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.messages\\\"\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            data-track-analytics-event-object=\\\"reports_navbar_messages_link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Messages report\\n          </LinkTo>\\n        </section.title>\\n      </sections.section>\\n      <sections.section as |section|>\\n        <section.title>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.articles\\\"\\n            class=\\\"submenu__sections__section__title__link\\\"\\n            data-track-analytics-event-object=\\\"reports_navbar_articles_link\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Articles report\\n          </LinkTo>\\n        </section.title>\\n      </sections.section>\\n      <sections.section @isOpen={{this.isOnOperatorReports}} as |section|>\\n        <section.title @title=\\\"Operator reports\\\" @url={{href-to \\\"apps.app.reports.operator.custom-bots\\\"}} />\\n        <section.items>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.operator.custom-bots\\\"\\n            data-test-reporting-nav-bar-summary\\n            data-track-analytics-event-object=\\\"reports_navbar_operator_custom-bots_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Custom Bots\\n          </LinkTo>\\n          <LinkTo\\n            @route=\\\"apps.app.reports.operator.resolution-bot\\\"\\n            data-test-reporting-nav-bar-conversations\\n            data-track-analytics-event-object=\\\"reports_navbar_operator_answer-bot_link\\\"\\n            class=\\\"nav-vertical__link link__opaque\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Resolution Bot\\n          </LinkTo>\\n        </section.items>\\n      </sections.section>\\n  {{/if}}\\n  {{#if (and (has-feature \\\"canSeeConversationalInsights\\\") (has-feature \\\"canSeeConversationalInsightsLinks\\\"))}}\\n    <hr>\\n    <sections.section @isOpen={{this.isOnConversationalInsights}} as |section|>\\n      <section.title\\n        data-test-reporting-nav-bar-conversational-insights\\n        @title=\\\"Conversation Topics\\\"\\n        @url={{href-to \\\"apps.app.reports.conversational-insights.tracked-topics\\\"}}\\n      />\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.reports.conversational-insights.tracked-topics\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Topics\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.reports.conversational-insights.suggested-topics\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Suggestions\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n  {{/if}}\\n    {{#if (has-feature \\\"canUseConversationExplorer\\\")}}\\n      <sections.section as |section|>\\n          <section.title>\\n            <LinkTo\\n              @route=\\\"apps.app.reports.conversations\\\"\\n              class=\\\"submenu__sections__section__title__link\\\"\\n              data-track-analytics-event-object=\\\"reports_navbar_explorer_link\\\"\\n              @activeClass=\\\"o__selected\\\"\\n            >\\n              Explorer\\n            </LinkTo>\\n          </section.title>\\n      </sections.section>\\n    {{/if}}\\n  </submenu.sections>\\n</SubmenuComponent>\\n\",\"moduleName\":\"embercom/components/reporting/layout/submenu.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/layout/submenu.hbs\"}});\nimport RouteRegexes from 'embercom/lib/route-regexes';\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { AVAILABLE_FILTERS_WITH_CUSTOM_ATTRIBUTES } from 'embercom/lib/reporting/flexible/filter-helpers';\n\nexport default class Submenu extends Component {\n  @service router;\n  @service store;\n\n  get isOnCustomerSupportReports() {\n    return this.router.currentRouteName.match(RouteRegexes.reports.customerSupportReports);\n  }\n\n  get isOnLeadGenerationReports() {\n    return this.router.currentRouteName.match(RouteRegexes.reports.leadGenerationReports);\n  }\n\n  get isOnInboxReports() {\n    return this.router.currentRouteName.match(RouteRegexes.reports.inboxReports);\n  }\n\n  get isOnOperatorReports() {\n    return this.router.currentRouteName.match(RouteRegexes.reports.operatorReports);\n  }\n\n  get isOnConversationalInsights() {\n    return this.router.currentRouteName.match(RouteRegexes.reports.conversationalInsights);\n  }\n\n  get isOnCustomReports() {\n    return this.router.currentRouteName.match(RouteRegexes.reports.customReports);\n  }\n\n  get trustedListFilterQueryParams() {\n    return Object.fromEntries(\n      Object.entries(this.router.currentRoute.queryParams).filter(([key, _value]) =>\n        AVAILABLE_FILTERS_WITH_CUSTOM_ATTRIBUTES.includes(key),\n      ),\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcCard class=\\\"reporting__sticky__card\\\" ...attributes @padding='none' as |card|>\\n  <card.section @padding='none' class=\\\"reporting__sticky-bevel__container\\\">\\n    <div class=\\\"reporting__sticky-bevel\\\"></div>\\n  </card.section>\\n  <card.section @padding=\\\"none\\\" class=\\\"p-6 {{or @cardCssClasses '' }}\\\">\\n    {{yield}}\\n  </card.section>\\n</IcCard>\\n\", {\"contents\":\"<IcCard class=\\\"reporting__sticky__card\\\" ...attributes @padding='none' as |card|>\\n  <card.section @padding='none' class=\\\"reporting__sticky-bevel__container\\\">\\n    <div class=\\\"reporting__sticky-bevel\\\"></div>\\n  </card.section>\\n  <card.section @padding=\\\"none\\\" class=\\\"p-6 {{or @cardCssClasses '' }}\\\">\\n    {{yield}}\\n  </card.section>\\n</IcCard>\\n\",\"moduleName\":\"embercom/components/reporting/layout/view-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/layout/view-card.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  {{on \\\"mouseover\\\" this.handleMouseOver}}\\n  {{on \\\"mouseout\\\" this.handleMouseOut}}\\n>\\n  <IcTooltip\\n    @element={{this.tooltipOpenerElement}}\\n  as |t|>\\n    <t.content>\\n      {{component this.tooltipData.component data=this.tooltipData}} \\n    </t.content>\\n  </IcTooltip>\\n  {{yield}}\\n</div>\", {\"contents\":\"<div\\n  {{on \\\"mouseover\\\" this.handleMouseOver}}\\n  {{on \\\"mouseout\\\" this.handleMouseOut}}\\n>\\n  <IcTooltip\\n    @element={{this.tooltipOpenerElement}}\\n  as |t|>\\n    <t.content>\\n      {{component this.tooltipData.component data=this.tooltipData}} \\n    </t.content>\\n  </IcTooltip>\\n  {{yield}}\\n</div>\",\"moduleName\":\"embercom/components/reporting/legacy-chart-tooltips.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/legacy-chart-tooltips.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\n\n//@pat - borrowed/stolen from jQuery $(el).data() https://github.com/jquery/jquery/blob/0b676ae12d20721e2df6f6f32f37f7302f8805bf/src/data.js#L20-L43\nlet rbrace = /^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/;\nfunction castData(data) {\n  if (data === 'true') {\n    return true;\n  }\n\n  if (data === 'false') {\n    return false;\n  }\n\n  if (data === 'null') {\n    return null;\n  }\n\n  // Only convert to a number if it doesn't change the string\n  if (data === `${+data}`) {\n    return +data;\n  }\n\n  if (rbrace.test(data)) {\n    return JSON.parse(data);\n  }\n\n  return data;\n}\n\nexport default class ReportingChartTooltipsComponent extends Component {\n  @tracked tooltipOpenerElement = null;\n  @tracked tooltipData = null;\n\n  @action\n  handleMouseOver(event) {\n    let element = event.target.closest('.js__legacy-reporting-tooltip');\n    if (element) {\n      this.tooltipData = this.extractData(element);\n      this.tooltipOpenerElement = element;\n    }\n  }\n\n  @action\n  handleMouseOut() {\n    this.tooltipOpenerElement = null;\n    this.tooltipData = null;\n  }\n\n  extractData(element) {\n    let data = {};\n    let dataset = element.dataset;\n    Object.keys(dataset).forEach(key => {\n      let datum = dataset[key];\n      data[key] = castData(datum);\n    });\n    return data;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<td class=\\\"w-full\\\">\\n  <div class=\\\"layout__box o__flexes-to-1 o__has-columns t__light-text reporting__chart__legend-label-container\\\">\\n    <div class=\\\"layout__box reporting__chart__icon {{concat \\\"o__\\\" normalisedIndex}}\\\" data-test-line-chart-legend-icon={{index}} >\\n      {{ic-interface-icon comparison.icon}}\\n    </div>\\n    <div class=\\\"layout__box reporting__chart__legend-label-filler\\\"></div>\\n    <div\\n      class=\\\"layout__box o__flexes-to-1 reporting__chart__legend-label\\\"\\n      data-test-line-chart-legend-label\\n    >\\n      <span class=\\\"reporting__chart__legend-label-text\\\">\\n        {{#if comparison.url}}\\n          <a\\n            data-test-line-chart-legend-linked\\n            href={{comparison.url}}\\n            target=\\\"_blank\\\"\\n            rel=\\\"noopener noreferrer\\\"\\n          >\\n            {{comparison.label}}\\n          </a>\\n        {{else}}\\n          {{comparison.label}}\\n        {{/if}}\\n      </span>\\n    </div>\\n  </div>\\n</td>\\n<td class=\\\"reporting__line-chart-legend-value\\\" data-test-line-chart-legend-value>\\n  {{number-formatter-helper comparison.value}}\\n</td>\\n<td data-test-line-chart-legend-comparison>\\n  <Reporting::Element::SummaryDifference\\n    class=\\\"u__ml__5\\\"\\n    @value={{comparison.value}}\\n    @previousValue={{comparison.previousValue}}\\n  />\\n</td>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<td class=\\\"w-full\\\">\\n  <div class=\\\"layout__box o__flexes-to-1 o__has-columns t__light-text reporting__chart__legend-label-container\\\">\\n    <div class=\\\"layout__box reporting__chart__icon {{concat \\\"o__\\\" normalisedIndex}}\\\" data-test-line-chart-legend-icon={{index}} >\\n      {{ic-interface-icon comparison.icon}}\\n    </div>\\n    <div class=\\\"layout__box reporting__chart__legend-label-filler\\\"></div>\\n    <div\\n      class=\\\"layout__box o__flexes-to-1 reporting__chart__legend-label\\\"\\n      data-test-line-chart-legend-label\\n    >\\n      <span class=\\\"reporting__chart__legend-label-text\\\">\\n        {{#if comparison.url}}\\n          <a\\n            data-test-line-chart-legend-linked\\n            href={{comparison.url}}\\n            target=\\\"_blank\\\"\\n            rel=\\\"noopener noreferrer\\\"\\n          >\\n            {{comparison.label}}\\n          </a>\\n        {{else}}\\n          {{comparison.label}}\\n        {{/if}}\\n      </span>\\n    </div>\\n  </div>\\n</td>\\n<td class=\\\"reporting__line-chart-legend-value\\\" data-test-line-chart-legend-value>\\n  {{number-formatter-helper comparison.value}}\\n</td>\\n<td data-test-line-chart-legend-comparison>\\n  <Reporting::Element::SummaryDifference\\n    class=\\\"u__ml__5\\\"\\n    @value={{comparison.value}}\\n    @previousValue={{comparison.previousValue}}\\n  />\\n</td>\\n\",\"moduleName\":\"embercom/components/reporting/line-chart-legend-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/line-chart-legend-row.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nexport const TAG_COLOR_COUNT = 20; // this should match the count of $tagColors in reporting/_chart.scss\n\nexport default Component.extend({\n  tagName: 'tr',\n  classNames: ['reporting__tag-line-chart__legend-row', 'u__pointer-cursor'],\n  index: 0,\n  normalisedIndex: computed('index', function() {\n    return this.index % TAG_COLOR_COUNT;\n  }),\n\n  mouseEnter() {\n    this.setHoveredItem(this.index);\n  },\n\n  mouseLeave() {\n    this.setHoveredItem();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly, sort, setDiff } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport {\n  rejectByProperty,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport { MAX_CHART_LINES } from 'embercom/components/reporting/signal-card';\n\nexport default Component.extend({\n  'data-test-line-chart-legend': true,\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  showContextMultiselectDropdown: false,\n  displayedItemCount: MAX_CHART_LINES,\n  sortKey: ['value:desc'],\n  scopingTagId: null,\n  classNames: ['reporting__tag-line-chart__legend'],\n\n  sortedSignalComparisons: sort('signal.comparisons', 'sortKey'),\n  signalComparisonsLimitedByDisplayedItemCount: computed(\n    'sortedSignalComparisons.[]',\n    'displayedItemCount',\n    function() {\n      return this.sortedSignalComparisons.slice(0, this.displayedItemCount);\n    },\n  ),\n\n  signalComparisonsWithoutScopingTagComparison: rejectByProperty(\n    'sortedSignalComparisons',\n    'key',\n    'scopingTagId',\n  ),\n\n  scopingTagComparison: setDiff(\n    'sortedSignalComparisons',\n    'signalComparisonsWithoutScopingTagComparison',\n  ),\n  displayedSignalComparisons: ternaryToProperty(\n    'showContextMultiselectDropdown',\n    'signalComparisonsWithoutScopingTagComparison',\n    'signalComparisonsLimitedByDisplayedItemCount',\n  ),\n\n  hiddenItemCount: computed('signal.context', 'displayedItemCount', function() {\n    let count = 0;\n    this.get('signal.context').forEach((context, i) => {\n      if (i >= this.displayedItemCount) {\n        count += context.count;\n      }\n    });\n    return count;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Reporting::Element::SummaryTitle\\n  @title={{title}}\\n  @titleTooltipText={{titleTooltipText}}\\n  @titleTooltipComponent={{titleTooltipComponent}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Reporting::Element::SummaryTitle\\n  @title={{title}}\\n  @titleTooltipText={{titleTooltipText}}\\n  @titleTooltipComponent={{titleTooltipComponent}}\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/line-chart-summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/line-chart-summary.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::LegacyChartTooltips>\\n  {{#let (component \\\"reporting/line-chart\\\"\\n      hoverTextUnit=@hoverTextUnit\\n      color=@color\\n      width=@width\\n      range=@range\\n      filters=@filters\\n      chartType=@chartType\\n      greenBlueScheme=@greenBlueScheme\\n      selectedIndex=@selectedIndex\\n      tooltipText=@tooltipText\\n      tooltipComponent=@tooltipComponent\\n      interpolateZeroCounts=@interpolateZeroCounts\\n      formatYAxis=@formatYAxis\\n      compressYAxis=@compressYAxis\\n      signalNameColorIndex=@signalNameColorIndex\\n      displayedItemCount=@displayedItemCount\\n    ) as |LineChart|\\n  }}\\n    {{#if @signal}}\\n      <LineChart @signal={{@signal}} ...attributes />\\n    {{else}}\\n      <LineChart ...attributes />\\n    {{/if}}\\n  {{/let}}\\n</Reporting::LegacyChartTooltips>\\n\", {\"contents\":\"<Reporting::LegacyChartTooltips>\\n  {{#let (component \\\"reporting/line-chart\\\"\\n      hoverTextUnit=@hoverTextUnit\\n      color=@color\\n      width=@width\\n      range=@range\\n      filters=@filters\\n      chartType=@chartType\\n      greenBlueScheme=@greenBlueScheme\\n      selectedIndex=@selectedIndex\\n      tooltipText=@tooltipText\\n      tooltipComponent=@tooltipComponent\\n      interpolateZeroCounts=@interpolateZeroCounts\\n      formatYAxis=@formatYAxis\\n      compressYAxis=@compressYAxis\\n      signalNameColorIndex=@signalNameColorIndex\\n      displayedItemCount=@displayedItemCount\\n    ) as |LineChart|\\n  }}\\n    {{#if @signal}}\\n      <LineChart @signal={{@signal}} ...attributes />\\n    {{else}}\\n      <LineChart ...attributes />\\n    {{/if}}\\n  {{/let}}\\n</Reporting::LegacyChartTooltips>\\n\",\"moduleName\":\"embercom/components/reporting/line-chart-with-tooltips.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/line-chart-with-tooltips.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { computed } from '@ember/object';\nimport { sort } from '@ember/object/computed';\nimport AxesMixin from 'embercom/components/reporting/axes-mixin';\nimport BaseChart from 'embercom/components/reporting/base-chart';\nimport { line } from 'd3-shape';\nimport { select } from 'd3-selection';\nimport { interpolatePath } from 'd3-interpolate-path';\nimport { TAG_COLOR_COUNT } from 'embercom/components/reporting/line-chart-legend-row';\nimport { MAX_CHART_LINES } from 'embercom/components/reporting/signal-card';\nimport setupLineChartSignal from 'embercom/lib/inbox/reporting/setup-line-chart-signal';\nimport defaultTo from '@intercom/embercom-core/lib/default-to';\n\nlet chartLineClasses = (index, selectedIndex) =>\n  `reporting__chart__line o__${index % TAG_COLOR_COUNT} ${\n    index === selectedIndex ? 'o__selected' : ''\n  }`;\n\nlet chartColorId = (index, greenBlueScheme) => {\n  if (greenBlueScheme) {\n    return index === 0 ? 7 : 0;\n  }\n  return index;\n};\n\nfunction setMinYAxis(data) {\n  let [first, ...rest] = data.map(({ value = [] }) => value.map(({ value }) => value));\n  let flattened = first.concat(...rest);\n  let max = Math.max(...flattened);\n  let min = Math.min(...flattened);\n\n  // we want to always show a scale that is an increment of 10 if possible,\n  // but not lower than 0\n  let adjustedMin = max === min ? Math.max(min - 10, 0) : min;\n\n  return flattened.length > 0 ? adjustedMin : 0;\n}\n\nexport default BaseChart.extend(AxesMixin, {\n  'data-test-reporting-line-chart': true,\n  classNames: ['reporting__chart__line-chart'],\n\n  displayedItemCount: defaultTo(MAX_CHART_LINES),\n\n  sortKey: ['value:desc'],\n  sortedSignalComparisons: sort('signal.comparisons', 'sortKey'),\n  signal: computed('raw', function() {\n    if (this.raw.length > 0) {\n      return setupLineChartSignal([...this.raw]);\n    } else {\n      return this.raw;\n    }\n  }),\n\n  sortedData: computed('data', 'sortedSignalComparisons', function() {\n    let sortedKeys = this.sortedSignalComparisons.mapBy('key');\n    let indexedData = this.data.reduce((acc, value) => ({ ...acc, [value.key]: value }), {});\n    return sortedKeys.map(key => indexedData[key]);\n  }),\n\n  tagData: computed('sortedData', 'displayedItemCount', function() {\n    return this.sortedData.slice(0, this.displayedItemCount);\n  }),\n\n  bucketWidth: 15,\n  gapWidth: computed('dates.length', 'chartWidth', 'bucketWidth', function() {\n    let numberOfDates = this.get('dates.length');\n    let chartWidth = this.chartWidth;\n    let bucketWidth = this.bucketWidth;\n    return (chartWidth - numberOfDates * bucketWidth) / numberOfDates;\n  }),\n  interpolateZeroCounts: defaultTo(false),\n\n  redrawChart() {\n    let bucketWidth = this.bucketWidth;\n    let gapWidth = this.gapWidth;\n    let xScale = this.xScale;\n    let selectedIndex = this.selectedIndex;\n    let interpolateZeroCounts = this.interpolateZeroCounts;\n    let compressYAxis = this.compressYAxis;\n    let signalNameColorIndex = this.signalNameColorIndex;\n    let data = this.tagData.map(series => ({\n      ...series,\n      value: series.value.filter(point => (interpolateZeroCounts ? point.count > 0 : true)),\n    }));\n\n    if (compressYAxis && data.length > 0) {\n      this.set('minChartValue', setMinYAxis(data));\n    }\n\n    let baseLine = line()\n      .x(d => xScale(new Date(d.key)) + (gapWidth + bucketWidth) / 2)\n      .y(this.chartHeight);\n\n    let tags = this.chart()\n      .selectAll('.reporting__chart__icon')\n      .data(data, d => d.key);\n\n    let enterTags = tags\n      .enter()\n      .append('g')\n      .attr('class', d => `reporting__chart__icon _${d.key}`);\n\n    enterTags\n      .append('path')\n      .attr('class', (d, i) => `reporting__chart__line o__hovers`)\n      .attr('data-test-reporting-chart-line', true)\n      .attr('d', d => baseLine(d.value));\n\n    let transitionDuration = this.transitionDuration;\n\n    tags.exit().remove();\n\n    let yScale = this.yScale;\n\n    let l = line()\n      .x(d => xScale(new Date(d.key)) + (gapWidth + bucketWidth) / 2)\n      .y(d => yScale(d.value));\n\n    let shouldUseGB = this.greenBlueScheme;\n\n    enterTags\n      .merge(tags)\n      .select('.reporting__chart__line')\n      .attr('class', (d, i) =>\n        chartLineClasses(\n          signalNameColorIndex ? signalNameColorIndex[d.name] : chartColorId(i, shouldUseGB),\n          selectedIndex,\n        ),\n      )\n      .transition()\n      .duration(transitionDuration)\n      .attrTween('d', function(d) {\n        let previous = select(this).attr('d');\n        let current = l(d.value);\n        return interpolatePath(previous, current);\n      });\n\n    this._renderDots({ data, interpolateZeroCounts, signalNameColorIndex });\n    this.redrawAxes();\n  },\n\n  _renderDots({ data, interpolateZeroCounts, signalNameColorIndex }) {\n    let transitionDuration = this.transitionDuration;\n    let yScale = this.yScale;\n    let xScale = this.xScale;\n    let bucketWidth = this.bucketWidth;\n    let gapWidth = this.gapWidth;\n    let valueUnit = this.hoverTextUnit || this.get('signal.valueUnit');\n    let shouldUseGB = this.greenBlueScheme;\n    let tooltipComponent = this.tooltipComponent || 'tooltips/reporting-chart-datum';\n\n    data.forEach((lineData, i) => {\n      let circles = this.chart()\n        .select(`.reporting__chart__icon._${lineData.key}`)\n        .selectAll('.reporting__chart__point')\n        .data(\n          lineData.value.filter(d => (interpolateZeroCounts ? d.count : true)),\n          (d, i) => `${d.key} - ${i}`,\n        );\n\n      circles.exit().remove();\n\n      let colorId = signalNameColorIndex\n        ? signalNameColorIndex[lineData.name]\n        : chartColorId(i, shouldUseGB);\n\n      let enterCircles = circles\n        .enter()\n        .append('circle')\n        .attr(\n          'class',\n          `js__legacy-reporting-tooltip reporting__chart__point o__${colorId % TAG_COLOR_COUNT} _${\n            lineData.key\n          }`,\n        )\n        .attr('cx', d => xScale(new Date(d.key)) + (gapWidth + bucketWidth) / 2)\n        .attr('cy', d => yScale(d.value))\n        .attr('r', 0)\n        .attr('data-component', tooltipComponent)\n        .attr('data-icon', lineData.icon)\n        .attr('data-icon-label', lineData.label)\n        .attr('data-value-unit', valueUnit)\n        .attr('data-series', lineData.name)\n        .attr('data-test-reporting-chart-point', true)\n        .attr('data-range-start', this.get('range.start'))\n        .attr('data-range-end', this.get('range.end'))\n        .attr('data-timezone', this.timezone)\n        .attr('data-aggregation-interval', this.get('range.interval'))\n        .attr('data-value-unit-is-minute', this.get('signal.valueUnitIsMinute'));\n\n      enterCircles\n        .transition()\n        .delay(transitionDuration)\n        .duration(transitionDuration)\n        .attr('r', 4);\n\n      enterCircles\n        .on('mouseover', function() {\n          select(this).attr('r', 6);\n        })\n        .on('mouseout', function() {\n          select(this).attr('r', 4);\n        });\n\n      enterCircles\n        .merge(circles)\n        .attr(\n          'class',\n          `js__legacy-reporting-tooltip reporting__chart__point o__${colorId % TAG_COLOR_COUNT} _${\n            lineData.key\n          }`,\n        )\n        .attr('cx', d => xScale(new Date(d.key)) + (gapWidth + bucketWidth) / 2)\n        .attr('cy', d => yScale(d.value))\n        .attr('data-current-date', d => d.key)\n        .attr('data-current-value', d => d.value);\n    });\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::ChartContainer @size=\\\"large\\\" @isLoading={{not @signal}} as |chart|>\\n  <div class=\\\"flex flex-col gap-4 mt-4\\\">\\n    <div class=\\\"flex flex-row items-end\\\">\\n      <div class=\\\"flex-grow\\\">\\n        {{#if @currency}}\\n          {{currency-formatter-helper (multiply @partValue 100) 1 false true}} of {{currency-formatter-helper (multiply @totalValue 100) 1 false true}} total {{@unitDescriptor}} for this period\\n        {{else}}\\n          {{@partValue}} of {{@totalValue}} total {{@unitDescriptor}} for this period\\n        {{/if}}\\n      </div>\\n\\n      <Reporting::Element::Legend\\n        @list={{array\\n          (hash label=\\\"All opportunities\\\" color=\\\"vis-green-40\\\")\\n          (hash\\n            label=\\\"Opportunities influenced by Intercom\\\"\\n            color=\\\"vis-blue-40\\\"\\n          )\\n        }}\\n      />\\n    </div>\\n\\n    <Reporting::LineChartWithTooltips\\n      @filters={{@filters}}\\n      @chartType=\\\"line\\\"\\n      @signal={{@signal}}\\n      @range={{@range}}\\n      @width={{chart.width}}\\n      @greenBlueScheme={{true}}\\n    />\\n  </div>\\n</Reporting::ChartContainer>\\n\", {\"contents\":\"<Reporting::ChartContainer @size=\\\"large\\\" @isLoading={{not @signal}} as |chart|>\\n  <div class=\\\"flex flex-col gap-4 mt-4\\\">\\n    <div class=\\\"flex flex-row items-end\\\">\\n      <div class=\\\"flex-grow\\\">\\n        {{#if @currency}}\\n          {{currency-formatter-helper (multiply @partValue 100) 1 false true}} of {{currency-formatter-helper (multiply @totalValue 100) 1 false true}} total {{@unitDescriptor}} for this period\\n        {{else}}\\n          {{@partValue}} of {{@totalValue}} total {{@unitDescriptor}} for this period\\n        {{/if}}\\n      </div>\\n\\n      <Reporting::Element::Legend\\n        @list={{array\\n          (hash label=\\\"All opportunities\\\" color=\\\"vis-green-40\\\")\\n          (hash\\n            label=\\\"Opportunities influenced by Intercom\\\"\\n            color=\\\"vis-blue-40\\\"\\n          )\\n        }}\\n      />\\n    </div>\\n\\n    <Reporting::LineChartWithTooltips\\n      @filters={{@filters}}\\n      @chartType=\\\"line\\\"\\n      @signal={{@signal}}\\n      @range={{@range}}\\n      @width={{chart.width}}\\n      @greenBlueScheme={{true}}\\n    />\\n  </div>\\n</Reporting::ChartContainer>\\n\",\"moduleName\":\"embercom/components/reporting/pipeline-chart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/pipeline-chart.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  classNames: ['layout__box', 'o__flexes-to-1', 'o__scrolls', 'u__padt__0'],\n  reportName: notImplemented(),\n  updateRange: notImplemented(),\n  range: notImplemented(),\n  timezone: notImplemented(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  canFilterByTag: false,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"reporting__report-tab-tooltip\\\">\\n  <span class=\\\"reporting__report-tab-tooltip__title\\\">\\n    {{title}}\\n  </span>\\n  <span class=\\\"reporting__report-tab-tooltip__value\\\">\\n    {{#if (eq format \\\"dollars\\\")}}\\n      {{currency-formatter-helper (multiply currentValue 100) 1 false true}}\\n    {{else}}\\n      {{number-formatter-helper currentValue}}\\n    {{/if}}\\n  </span>\\n  <Reporting::Element::SummaryComparison\\n    @currentValue={{currentValue}}\\n    @previousValue={{previousValue}}\\n    @showNotChangedText={{false}}\\n    @smallArrow={{true}}\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"reporting__report-tab-tooltip\\\">\\n  <span class=\\\"reporting__report-tab-tooltip__title\\\">\\n    {{title}}\\n  </span>\\n  <span class=\\\"reporting__report-tab-tooltip__value\\\">\\n    {{#if (eq format \\\"dollars\\\")}}\\n      {{currency-formatter-helper (multiply currentValue 100) 1 false true}}\\n    {{else}}\\n      {{number-formatter-helper currentValue}}\\n    {{/if}}\\n  </span>\\n  <Reporting::Element::SummaryComparison\\n    @currentValue={{currentValue}}\\n    @previousValue={{previousValue}}\\n    @showNotChangedText={{false}}\\n    @smallArrow={{true}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/report-tab-tooltip.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/report-tab-tooltip.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<LinkTo\\n  @route={{@route}}\\n  class=\\\"reporting__report-tab o__flexes-to-1 u__mr__20\\\"\\n  @activeClass=\\\"o__active\\\"\\n  data-test-report-tab={{@route}}\\n  data-track-analytics-event-object={{@analyticsObject}}\\n>\\n  {{yield}}\\n</LinkTo>\\n\", {\"contents\":\"<LinkTo\\n  @route={{@route}}\\n  class=\\\"reporting__report-tab o__flexes-to-1 u__mr__20\\\"\\n  @activeClass=\\\"o__active\\\"\\n  data-test-report-tab={{@route}}\\n  data-track-analytics-event-object={{@analyticsObject}}\\n>\\n  {{yield}}\\n</LinkTo>\\n\",\"moduleName\":\"embercom/components/reporting/report-tab.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/report-tab.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport IcMultiselect from '@intercom/embercom-core/components/ic-multiselect';\nimport { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\n\n/*\n    === ⚠️ Disclamer: do not copy/reuse this code pattern ⚠️ ===\n    Subclassing components should not be the norm, this is a temporary workaround the limitations of the IcMultiselect base class.\n    See this comment for more information: https://github.com/intercom/embercom/pull/43872/files#r423822788\n*/\nexport default class ReportingMultiselect extends IcMultiselect {\n  // Deactivate the selectAll when any other options changes\n  onSelectionChange(values) {\n    //Due to a strange behaviour of ic-select, values does not have all selected items the first time the dropdown is open. Using selectedItems directly is more accurate\n    let selectedValues = this.selectedItems.map(item => item.value);\n\n    if (this.isSelectAllActive !== this.shouldSelectAllBeActive) {\n      this.groupTree.toggleSelectItemByValue(REPORTING_FILTER_SELECT_ALL);\n    }\n    if (this.shouldSelectAllBeActive) {\n      this.executePropertyIfItIsAFunction('onSelectionChanged', [REPORTING_FILTER_SELECT_ALL]);\n    } else {\n      this.executePropertyIfItIsAFunction(\n        'onSelectionChanged',\n        selectedValues.filter(v => v !== REPORTING_FILTER_SELECT_ALL),\n      );\n    }\n  }\n\n  get isSelectAllActive() {\n    return !!this.selectedItems.find(item => item.text === this.selectAllLabel);\n  }\n\n  get shouldSelectAllBeActive() {\n    return (\n      !this.selectedItems ||\n      this.selectedItems?.length === 0 ||\n      (this.selectedItems?.length === 1 && this.selectedItems[0].text === this.selectAllLabel)\n    );\n  }\n\n  buildSelectAllItem(isSelected) {\n    return {\n      hasItemsMarkableAsSelected: true,\n      items: [\n        {\n          value: REPORTING_FILTER_SELECT_ALL,\n          text: this.selectAllLabel,\n          onSelectItem: this.onSelectAllClick(),\n          isSelected,\n        },\n      ],\n    };\n  }\n\n  // Add the selectAll Group to the list of renderable items\n  set displayItems(_items) {\n    let items = _items || [];\n    let hasItemsSelected = items[0]?.items?.some(item => item.isSelected);\n    let selectAllItem = this.buildSelectAllItem(!hasItemsSelected);\n    let itemsWithSelectAll = [selectAllItem].concat(items);\n\n    this.set('items', itemsWithSelectAll);\n  }\n\n  // Ensure selectAll stays active onClick and reset any other options\n  onSelectAllClick() {\n    let ctx = this;\n    return function() {\n      this.set('isSelected', true);\n      ctx.selectedItems\n        ?.filter(item => item.value !== REPORTING_FILTER_SELECT_ALL)\n        ?.forEach(item => ctx.groupTree.toggleSelectItemByValue(item.value));\n      ctx.setSelectedItemByValue(REPORTING_FILTER_SELECT_ALL);\n      ctx.executePropertyIfItIsAFunction('onSelectionChanged', [REPORTING_FILTER_SELECT_ALL]);\n      event.stopPropagation();\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table\\n  class=\\\"tbl tbl__reporting__table u__mt__10 u__mb__0\\\"\\n  data-test-common-answers-report-table\\n>\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <tr>\\n    <td class=\\\"tbl__cell text-gray\\\">\\n      Title\\n    </td>\\n    <td class=\\\"tbl__cell text-gray t__right\\\">\\n      Sent\\n    </td>\\n    <td class=\\\"tbl__cell t__left\\\"></td>\\n  </tr>\\n  {{#each this.commonAnswersContext as |answer index|}}\\n    <Reporting::Element::TableDataRow\\n      @testKey={{answer.key}}\\n      @currentValue={{answer.value}}\\n      @previousValue={{answer.previousValue}}\\n      @labelLinkRoute={{answer.linkRoute}}\\n      @labelLinkTo={{answer.id}}\\n      @label={{answer.label}}\\n      @expandLabelTextToTooltip={{true}}\\n      @analyticsObject=\\\"top_answers\\\"\\n      @notChangedText=\\\"—\\\"\\n      @hideDelta={{@hideDelta}}\\n    />\\n  {{else}}\\n    {{#each (array 1 2 3 4 5 6) as |index|}}\\n      <tr class=\\\"tbl__data-row\\\">\\n        <td class=\\\"tbl__cell w-full\\\">\\n          {{ghost-text 200}}\\n        </td>\\n        <td class=\\\"tbl__cell t__right\\\">\\n          {{ghost-text 50}}\\n        </td>\\n        <td class=\\\"tbl__cell t__left\\\">\\n          {{ghost-text 50}}\\n        </td>\\n      </tr>\\n    {{/each}}\\n  {{/each}}\\n</table>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table\\n  class=\\\"tbl tbl__reporting__table u__mt__10 u__mb__0\\\"\\n  data-test-common-answers-report-table\\n>\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <tr>\\n    <td class=\\\"tbl__cell text-gray\\\">\\n      Title\\n    </td>\\n    <td class=\\\"tbl__cell text-gray t__right\\\">\\n      Sent\\n    </td>\\n    <td class=\\\"tbl__cell t__left\\\"></td>\\n  </tr>\\n  {{#each this.commonAnswersContext as |answer index|}}\\n    <Reporting::Element::TableDataRow\\n      @testKey={{answer.key}}\\n      @currentValue={{answer.value}}\\n      @previousValue={{answer.previousValue}}\\n      @labelLinkRoute={{answer.linkRoute}}\\n      @labelLinkTo={{answer.id}}\\n      @label={{answer.label}}\\n      @expandLabelTextToTooltip={{true}}\\n      @analyticsObject=\\\"top_answers\\\"\\n      @notChangedText=\\\"—\\\"\\n      @hideDelta={{@hideDelta}}\\n    />\\n  {{else}}\\n    {{#each (array 1 2 3 4 5 6) as |index|}}\\n      <tr class=\\\"tbl__data-row\\\">\\n        <td class=\\\"tbl__cell w-full\\\">\\n          {{ghost-text 200}}\\n        </td>\\n        <td class=\\\"tbl__cell t__right\\\">\\n          {{ghost-text 50}}\\n        </td>\\n        <td class=\\\"tbl__cell t__left\\\">\\n          {{ghost-text 50}}\\n        </td>\\n      </tr>\\n    {{/each}}\\n  {{/each}}\\n</table>\\n\",\"moduleName\":\"embercom/components/reporting/reports/answer-bot-common-answers.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/answer-bot-common-answers.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { allSettled } from 'rsvp';\n\nconst COMMON_ANSWERS_COUNT = 5;\n\nconst DELETED_ANSWER_TITLE = '(Answer deleted)';\n\nconst COMMON_ANSWERS_PARAMS = {\n  valueUnit: 'answers',\n  debugName: 'answer_bot_common_answers',\n  signalConfig: {\n    name: 'default_query',\n    document_type: 'answer_bot_effectiveness',\n    range_field: 'conversation_created_at',\n    aggregation_type: 'value_count',\n    aggregation_field: 'last_sent_answer_id',\n    keys_are_dates: false,\n  },\n  aggregations: [{ grouping: 'last_sent_answer_id', interval: 1 }],\n  filters: {},\n};\n\nexport default Component.extend({\n  reportingService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  store: service(),\n  commonAnswersContext: readOnly('fetchSignalAndModel.lastSuccessful.value'),\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.fetchSignalAndModel.perform();\n  },\n\n  fetchAnswers: task(function*(ids) {\n    let models = yield allSettled(\n      ids.map(id => {\n        return this.store.findRecord('answers/answer', id, { backgroundReload: false });\n      }),\n    );\n\n    return models.map(result => (result.state === 'fulfilled' ? result.value : null));\n  }).restartable(),\n\n  fetchSignal: task(function*() {\n    return yield this.reportingService.fetchStackedSignal({\n      ...COMMON_ANSWERS_PARAMS,\n      range: this.range,\n    });\n  }).restartable(),\n\n  fetchSignalAndModel: task(function*() {\n    let commonAnswers = yield this.fetchSignal.perform();\n\n    let modelKeys = commonAnswers.context.slice(0, COMMON_ANSWERS_COUNT).map(c => c.key);\n    let models = yield this.fetchAnswers.perform(modelKeys);\n    return commonAnswers.context.slice(0, COMMON_ANSWERS_COUNT).map((bucket, index) => ({\n      ...bucket,\n      id: models[index] ? models[index].id : null,\n      label: models[index] ? models[index].title : DELETED_ANSWER_TITLE,\n      linkRoute: models[index] ? 'apps.app.operator.resolution-bot.answers.answer.show' : null,\n    }));\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table\\n  class=\\\"tbl tbl__reporting__table u__mt__10 u__mb__0\\\"\\n  data-test-article-top-views\\n>\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <tr>\\n    <td class=\\\"tbl__cell text-gray\\\">\\n      Title\\n    </td>\\n    <td class=\\\"tbl__cell text-gray t__right\\\">\\n      Views\\n    </td>\\n  </tr>\\n  {{#each this.topArticles as |article index|}}\\n    <Reporting::Element::TableDataRow\\n      @testKey={{article.articleId}}\\n      @currentValue={{article.views}}\\n      @labelLinkRoute=\\\"apps.app.articles.articles.article.show\\\"\\n      @labelLinkTo={{article.articleId}}\\n      @label={{article.title}}\\n      @expandLabelTextToTooltip={{true}}\\n      @hideComparison=\\\"true\\\"\\n      @analyticsObject=\\\"top_articles\\\"\\n    />\\n  {{else}}\\n    {{#each (array 1 2 3 4 5 6) as |index|}}\\n      <tr class=\\\"tbl__data-row\\\">\\n        <td class=\\\"tbl__cell w-full\\\">\\n          {{ghost-text 200}}\\n        </td>\\n        <td class=\\\"tbl__cell t__left\\\">\\n          {{ghost-text 50}}\\n        </td>\\n      </tr>\\n    {{/each}}\\n  {{/each}}\\n</table>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table\\n  class=\\\"tbl tbl__reporting__table u__mt__10 u__mb__0\\\"\\n  data-test-article-top-views\\n>\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <tr>\\n    <td class=\\\"tbl__cell text-gray\\\">\\n      Title\\n    </td>\\n    <td class=\\\"tbl__cell text-gray t__right\\\">\\n      Views\\n    </td>\\n  </tr>\\n  {{#each this.topArticles as |article index|}}\\n    <Reporting::Element::TableDataRow\\n      @testKey={{article.articleId}}\\n      @currentValue={{article.views}}\\n      @labelLinkRoute=\\\"apps.app.articles.articles.article.show\\\"\\n      @labelLinkTo={{article.articleId}}\\n      @label={{article.title}}\\n      @expandLabelTextToTooltip={{true}}\\n      @hideComparison=\\\"true\\\"\\n      @analyticsObject=\\\"top_articles\\\"\\n    />\\n  {{else}}\\n    {{#each (array 1 2 3 4 5 6) as |index|}}\\n      <tr class=\\\"tbl__data-row\\\">\\n        <td class=\\\"tbl__cell w-full\\\">\\n          {{ghost-text 200}}\\n        </td>\\n        <td class=\\\"tbl__cell t__left\\\">\\n          {{ghost-text 50}}\\n        </td>\\n      </tr>\\n    {{/each}}\\n  {{/each}}\\n</table>\\n\",\"moduleName\":\"embercom/components/reporting/reports/articles-top-views.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/articles-top-views.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nconst INSIGHTS_INTERVAL = 28;\nconst TOP_ARTICLES_COUNT = 5;\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  store: service(),\n  topArticles: readOnly('fetchTopArticles.lastSuccessful.value'),\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.fetchTopArticles.perform();\n  },\n\n  fetchTopArticles: task(function*() {\n    let params = { app_id: this.app.id, interval: INSIGHTS_INTERVAL };\n    let insightsResponse = yield this.store.query('insights/articles', params);\n    return insightsResponse.firstObject.articlePerformance.slice(0, TOP_ARTICLES_COUNT);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Table\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{this.filters}}\\n  @columns={{this.columns}}\\n  @headingText='Engagement'\\n  @enableDownloadCSV={{false}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName='articles-engagement-table'\\n></Reporting::Flexible::Table>\\n\", {\"contents\":\"<Reporting::Flexible::Table\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{this.filters}}\\n  @columns={{this.columns}}\\n  @headingText='Engagement'\\n  @enableDownloadCSV={{false}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName='articles-engagement-table'\\n></Reporting::Flexible::Table>\\n\",\"moduleName\":\"embercom/components/reporting/reports/articles/engagement-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/articles/engagement-table.hbs\"}});\nimport Component from '@glimmer/component';\nimport Formatters, { units } from 'embercom/lib/reporting/flexible/formatters';\nimport percent, { toPercentString } from 'embercom/lib/percentage-formatter';\nimport { inject as service } from '@ember/service';\nimport {\n  articleViewsDataConfig,\n  conversationsCreatedFromArticlesDataConfig,\n  negativeReactionsDataConfig,\n} from 'embercom/lib/reporting/flexible/articles';\nimport abbreviatedRelativeTimeAgo from 'embercom/lib/abbreviated-relative-time-ago';\nimport { tracked } from '@glimmer/tracking';\n\nclass CachedArticleStore {\n  @tracked articles = {};\n\n  constructor(store) {\n    this.store = store;\n  }\n\n  get(id) {\n    if (this.articles[id]) {\n      return this.articles[id];\n    }\n    this.articles[id] = this.store.findRecord('article-multilingual', id);\n    return this.articles[id];\n  }\n}\n\nexport default class ArticlesEngagementTable extends Component {\n  @service appService;\n  @service store;\n  @service helpCenterService;\n  @tracked teammatesMap = {};\n\n  constructor() {\n    super(...arguments);\n    this.timeFormatter = new Formatters[units.seconds]();\n    this.articleCollection = new CachedArticleStore(this.store);\n    this.helpCenterService.maybeFetchSite();\n    this.buildTeammatesMap();\n  }\n\n  articleTitle(article) {\n    return this.relevantArticleContent(article).title;\n  }\n\n  articleUpdatedAt(article) {\n    return abbreviatedRelativeTimeAgo(this.relevantArticleContent(article).updatedAt);\n  }\n\n  relevantArticleContent(article) {\n    return article.defaultLocalizedContent || article.articleContents.firstObject;\n  }\n\n  author(article) {\n    let articleContent = this.relevantArticleContent(article);\n    return this.teammatesMap[articleContent.authorId];\n  }\n\n  buildTeammatesMap() {\n    let admins = this.appService.app.humanAdmins;\n    this.teammatesMap = admins.reduce((acc, a) => {\n      acc[a.id] = {\n        id: a.id,\n        name: a.name,\n        avatarData: a.avatarData,\n      };\n\n      return acc;\n    }, {});\n  }\n\n  get columns() {\n    return [\n      {\n        label: 'Article',\n        isMain: true,\n        valuePath: 'groupName',\n        component: 'reporting/flexible/table-article-title-cell',\n        componentData: {\n          getCellValue: article => this.articleTitle(article),\n          articleCollection: this.articleCollection,\n        },\n        isSortable: false,\n      },\n      {\n        label: 'Written by',\n        isMain: true,\n        valuePath: 'writtenBy',\n        component: 'reporting/flexible/table-article-author-cell',\n        componentData: {\n          getCellValue: article => this.author(article),\n          articleCollection: this.articleCollection,\n        },\n        isSortable: false,\n      },\n      {\n        label: 'Updated',\n        isMain: true,\n        valuePath: 'updatedAt',\n        component: 'reporting/flexible/table-article-cell',\n        componentData: {\n          getCellValue: article => this.articleUpdatedAt(article),\n          articleCollection: this.articleCollection,\n        },\n        isSortable: false,\n      },\n      {\n        label: 'Viewers',\n        valuePath: 'col-views',\n        type: 'number',\n        isSortable: true,\n        tooltip: 'Number of times an article was viewed.',\n      },\n      {\n        label: 'Conversations',\n        valuePath: 'col-conversations-percent',\n        type: 'number',\n        isSortable: true,\n        tooltip: 'Percentage of article views that resulted in a new conversation',\n        sortingHelper: row =>\n          this.getPercentageForSorting(row['col-conversations-percent'], row['col-views']),\n        getRowValue: row =>\n          this.formatPercentage(row['col-conversations-percent'], row['col-views']),\n      },\n      {\n        label: 'Reacted 😞',\n        valuePath: 'col-negative-reactions-percent',\n        type: 'number',\n        isSortable: true,\n        tooltip: 'Percentage of article views that resulted in negative reaction',\n        sortingHelper: row =>\n          this.getPercentageForSorting(row['col-negative-reactions-percent'], row['col-views']),\n        getRowValue: row =>\n          this.formatPercentage(row['col-negative-reactions-percent'], row['col-views']),\n      },\n    ];\n  }\n\n  get dataConfig() {\n    return {\n      columns: [\n        {\n          name: 'col-views',\n          aggregation: {\n            type: 'cardinality',\n            data: {\n              property: 'user.id',\n            },\n          },\n          ...articleViewsDataConfig(),\n        },\n        {\n          name: 'col-conversations-percent',\n          aggregation: {\n            type: 'cardinality',\n            data: {\n              property: 'user.id',\n            },\n          },\n          ...conversationsCreatedFromArticlesDataConfig(),\n        },\n        {\n          name: 'col-negative-reactions-percent',\n          aggregation: {\n            type: 'cardinality',\n            data: {\n              property: 'user.id',\n            },\n          },\n          ...negativeReactionsDataConfig(),\n        },\n      ],\n      rows: [\n        {\n          name: 'row-teammates',\n          type: 'term',\n          data: {\n            term_size: 10000,\n            property: 'article.id',\n          },\n        },\n      ],\n    };\n  }\n\n  get viewConfig() {\n    return {\n      rowsVisible: 10,\n      sortState: { valuePath: 'col-views', direction: 'desc' },\n    };\n  }\n\n  formatPercentage(value, total) {\n    if (!total) {\n      return '-';\n    }\n\n    let rawPercentage = percent(total, value || 0);\n    let percentageValue = toPercentString(rawPercentage, 2);\n    return `${percentageValue} (${total})`;\n  }\n\n  getPercentageForSorting(value, total) {\n    if (!total) {\n      return -1;\n    }\n\n    return percent(total, value || 0);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Table\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{this.filters}}\\n  @columns={{this.columns}}\\n  @headingText='Opportunities'\\n  @enableDownloadCSV={{false}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName='articles-opportunities-table'\\n></Reporting::Flexible::Table>\", {\"contents\":\"<Reporting::Flexible::Table\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{this.filters}}\\n  @columns={{this.columns}}\\n  @headingText='Opportunities'\\n  @enableDownloadCSV={{false}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName='articles-opportunities-table'\\n></Reporting::Flexible::Table>\",\"moduleName\":\"embercom/components/reporting/reports/articles/opportunities-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/articles/opportunities-table.hbs\"}});\nimport Component from '@glimmer/component';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\n\nexport default class ArticlesOpportunitiesTable extends Component {\n  get columns() {\n    return [\n      {\n        label: 'Search Terms With No Results',\n        isMain: true,\n        valuePath: 'groupName',\n        isSortable: false,\n      },\n      {\n        label: 'Search Frequency',\n        valuePath: 'search-frequency',\n        tooltip: 'The number of times the term is being searched.',\n      },\n    ];\n  }\n\n  get dataConfig() {\n    let baseConfig = {\n      source: 'article_search_event',\n      filter: {\n        type: 'and',\n        filters: [\n          {\n            type: 'exists',\n            data: {\n              property: 'normalized_query',\n            },\n          },\n          {\n            type: 'category',\n            data: {\n              property: 'profanity',\n              values: [false],\n            },\n          },\n          {\n            type: 'category',\n            data: {\n              property: 'result_count',\n              values: [0],\n            },\n          },\n          {\n            type: 'range',\n            data: {\n              operators: ['gt'],\n              property: 'length',\n              values: [3],\n            },\n          },\n        ],\n      },\n      time: {\n        property: 'created_at',\n        start: FILTER_PROPERTY_PLACEHOLDER,\n        end: FILTER_PROPERTY_PLACEHOLDER,\n      },\n    };\n\n    return {\n      columns: [\n        {\n          name: 'query',\n          aggregation: {\n            type: 'cardinality',\n            data: {\n              property: 'normalized_query',\n            },\n          },\n          ...baseConfig,\n        },\n        {\n          name: 'search-frequency',\n          aggregation: {\n            type: 'count',\n            data: {\n              property: '_id',\n            },\n          },\n          ...baseConfig,\n        },\n      ],\n      rows: [\n        {\n          name: 'row-queries',\n          type: 'term',\n          data: {\n            term_size: 10000,\n            property: 'normalized_query',\n          },\n        },\n      ],\n    };\n  }\n\n  get viewConfig() {\n    return {\n      rowsVisible: 10,\n      sortState: { valuePath: 'search-frequency', direction: 'desc' },\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @id=\\\"articles-unique-view-counter\\\"\\n  @title=\\\"Help Center Visitors\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width=\\\"small\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"articles-unique-view-counter\\\"\\n/>\\n\\n\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @id=\\\"articles-unique-view-counter\\\"\\n  @title=\\\"Help Center Visitors\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width=\\\"small\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"articles-unique-view-counter\\\"\\n/>\\n\\n\",\"moduleName\":\"embercom/components/reporting/reports/articles/unique-view-counter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/articles/unique-view-counter.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig from 'embercom/lib/reporting/flexible/view-config';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport { CARDINALITY } from 'embercom/lib/reporting/flexible/constants';\nimport { articleViewsDataConfig } from 'embercom/lib/reporting/flexible/articles';\nimport { improvementDirections } from 'embercom/components/reporting/element/summary-comparison';\n\nconst seriesName = 'help_center_views_unique';\n\nexport default class ArticlesUniqueViewCounter extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.value };\n    viewConfig.aggregations = { defaultOption: CARDINALITY };\n    viewConfig.groupings = {\n      defaultOption: {\n        value: 'event.created_at',\n        text: 'Time',\n        type: 'temporal',\n        isComparison: true,\n        createTitleTooltipText: () => {\n          return 'The number of unique people that visited your help center.';\n        },\n      },\n    };\n    viewConfig.counter = {\n      [seriesName]: {\n        improvementDirection: improvementDirections.INCREASING,\n      },\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      series: [\n        {\n          name: seriesName,\n          type: CARDINALITY,\n          data: { property: 'user.id' },\n          ...articleViewsDataConfig(),\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @id=\\\"articles-view-counter\\\"\\n  @title=\\\"Article Views\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width=\\\"small\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"articles-view-counter\\\"\\n/>\\n\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @id=\\\"articles-view-counter\\\"\\n  @title=\\\"Article Views\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width=\\\"small\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"articles-view-counter\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/reports/articles/view-counter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/articles/view-counter.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig from 'embercom/lib/reporting/flexible/view-config';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport { COUNT } from 'embercom/lib/reporting/flexible/constants';\nimport { articleViewsDataConfig } from 'embercom/lib/reporting/flexible/articles';\nimport { improvementDirections } from 'embercom/components/reporting/element/summary-comparison';\n\nconst seriesName = 'help_center_views';\n\nexport default class ArticlesViewCounter extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.value };\n    viewConfig.aggregations = { defaultOption: COUNT };\n    viewConfig.groupings = {\n      defaultOption: {\n        value: 'event.created_at',\n        text: 'Time',\n        type: 'temporal',\n        isComparison: true,\n        createTitleTooltipText: () => {\n          return 'The total number of articles viewed. The same person viewing multiple articles counts as multiple views.';\n        },\n      },\n    };\n    viewConfig.counter = {\n      [seriesName]: {\n        improvementDirection: improvementDirections.INCREASING,\n      },\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      series: [\n        {\n          name: seriesName,\n          type: COUNT,\n          data: { property: 'user.id' },\n          ...articleViewsDataConfig(),\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"Help center traffic\\\"\\n  @id=\\\"articles-views-chart\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @viewConfig={{this.viewConfig}}\\n  @dataConfig={{this.dataConfig}}\\n  @filters={{@filters}}\\n  @range={{@range}}\\n  @dashboard={{@dashboard}}\\n  @width=\\\"small\\\"\\n  @dataTestName=\\\"articles-views-bar-chart\\\"\\n  />\\n\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"Help center traffic\\\"\\n  @id=\\\"articles-views-chart\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @viewConfig={{this.viewConfig}}\\n  @dataConfig={{this.dataConfig}}\\n  @filters={{@filters}}\\n  @range={{@range}}\\n  @dashboard={{@dashboard}}\\n  @width=\\\"small\\\"\\n  @dataTestName=\\\"articles-views-bar-chart\\\"\\n  />\\n\",\"moduleName\":\"embercom/components/reporting/reports/articles/views-chart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/articles/views-chart.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { COUNT, CARDINALITY } from 'embercom/lib/reporting/flexible/constants';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport { articleViewsDataConfig } from 'embercom/lib/reporting/flexible/articles';\n\nexport default class ArticlesViewChart extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = {\n      unit: units.value,\n    };\n    viewConfig.aggregations = { defaultOption: COUNT };\n    viewConfig.groupings = {\n      defaultOption: {\n        value: 'event.created_at',\n        text: 'Time',\n        type: 'temporal',\n        createTitleTooltipText: () => {\n          return 'The number of unique people visiting your help center against the number of articles visited.';\n        },\n      },\n    };\n    viewConfig.legend = {\n      article_unique_views: () => 'Unique visitors',\n      article_total_views: () => 'Article Views',\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      xAxis: {\n        type: 'temporal',\n        data: {\n          interval: FILTER_PROPERTY_PLACEHOLDER,\n          property: 'event.created_at',\n        },\n      },\n      series: [\n        {\n          name: 'article_unique_views',\n          type: CARDINALITY,\n          data: { property: 'user.id' },\n          ...articleViewsDataConfig(),\n        },\n        {\n          name: 'article_total_views',\n          type: COUNT,\n          data: { property: 'user.id' },\n          ...articleViewsDataConfig(),\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::FetchReport\\n  @debugName=\\\"conversation_ratings\\\"\\n  @unit=\\\"conversations\\\"\\n  @query={{this.query}}\\n  @range={{@range}}\\n  @groupings={{this.groupings}}\\n  @groupOverTime={{false}}\\n  @signalType=\\\"comparison\\\"\\n  @transforms={{this.transforms}} as |report|\\n>\\n  {{#if report}}\\n    <Reporting::Element::Summary\\n      @currentValue={{add\\n        (or (get (find-by \\\"key\\\" \\\"4\\\" report.context) \\\"value\\\") 0)\\n        (or (get (find-by \\\"key\\\" \\\"5\\\" report.context) \\\"value\\\") 0)\\n      }}\\n      @previousValue={{add\\n        (or (get (find-by \\\"key\\\" \\\"4\\\" report.previousContext) \\\"value\\\") 0)\\n        (or (get (find-by \\\"key\\\" \\\"5\\\" report.previousContext) \\\"value\\\") 0)\\n      }}\\n      @unit=\\\"percent\\\"\\n      @improvementDirection=\\\"increasing\\\"\\n      @range={{@range}}\\n      @hideDelta={{@hideDelta}}\\n      @valueComponent={{component\\n        \\\"reporting/element/happiness-summary-value\\\"\\n        total=report.value\\n        count=(add\\n          (or (get (find-by \\\"key\\\" \\\"4\\\" report.context) \\\"count\\\") 0)\\n          (or (get (find-by \\\"key\\\" \\\"5\\\" report.context) \\\"count\\\") 0)\\n        )\\n      }}\\n    >\\n      <Reporting::Element::Legend>\\n        {{#each (array \\\"5\\\" \\\"4\\\" \\\"3\\\" \\\"2\\\" \\\"1\\\") as |rating|}}\\n          <Reporting::Element::LegendItem\\n            class=\\\"u__ml__20\\\"\\n            @color={{get this.ratingColorMap rating}}\\n          >\\n            <span\\n              data-test-emoji\\n              class=\\\"reporting__conversation-ratings-emoji o__small conversation-rating__rating-{{rating}}\\\"\\n            ></span>\\n            <span data-test-reporting-legend-label class=\\\"t__light-text\\\">\\n              {{format-percentage-reports (or (get (find-by \\\"key\\\" rating report.context) \\\"value\\\") 0)}}\\n            </span>\\n          </Reporting::Element::LegendItem>\\n        {{/each}}\\n      </Reporting::Element::Legend>\\n    </Reporting::Element::Summary>\\n    <div class=\\\"h-5\\\"></div>\\n    <Reporting::Chart::HorizontalBar\\n      @size=\\\"large\\\"\\n      @report={{report}}\\n      @keys={{array \\\"5\\\" \\\"4\\\" \\\"3\\\" \\\"2\\\" \\\"1\\\"}}\\n      @unit=\\\"conversation ratings\\\"\\n      @tooltipComponent={{component \\\"reporting/tooltip/horizontal-bar-ratings\\\"}}\\n      @keyColorHash={{this.ratingColorMap}}\\n    />\\n  {{/if}}\\n</Reporting::FetchReport>\\n\", {\"contents\":\"<Reporting::FetchReport\\n  @debugName=\\\"conversation_ratings\\\"\\n  @unit=\\\"conversations\\\"\\n  @query={{this.query}}\\n  @range={{@range}}\\n  @groupings={{this.groupings}}\\n  @groupOverTime={{false}}\\n  @signalType=\\\"comparison\\\"\\n  @transforms={{this.transforms}} as |report|\\n>\\n  {{#if report}}\\n    <Reporting::Element::Summary\\n      @currentValue={{add\\n        (or (get (find-by \\\"key\\\" \\\"4\\\" report.context) \\\"value\\\") 0)\\n        (or (get (find-by \\\"key\\\" \\\"5\\\" report.context) \\\"value\\\") 0)\\n      }}\\n      @previousValue={{add\\n        (or (get (find-by \\\"key\\\" \\\"4\\\" report.previousContext) \\\"value\\\") 0)\\n        (or (get (find-by \\\"key\\\" \\\"5\\\" report.previousContext) \\\"value\\\") 0)\\n      }}\\n      @unit=\\\"percent\\\"\\n      @improvementDirection=\\\"increasing\\\"\\n      @range={{@range}}\\n      @hideDelta={{@hideDelta}}\\n      @valueComponent={{component\\n        \\\"reporting/element/happiness-summary-value\\\"\\n        total=report.value\\n        count=(add\\n          (or (get (find-by \\\"key\\\" \\\"4\\\" report.context) \\\"count\\\") 0)\\n          (or (get (find-by \\\"key\\\" \\\"5\\\" report.context) \\\"count\\\") 0)\\n        )\\n      }}\\n    >\\n      <Reporting::Element::Legend>\\n        {{#each (array \\\"5\\\" \\\"4\\\" \\\"3\\\" \\\"2\\\" \\\"1\\\") as |rating|}}\\n          <Reporting::Element::LegendItem\\n            class=\\\"u__ml__20\\\"\\n            @color={{get this.ratingColorMap rating}}\\n          >\\n            <span\\n              data-test-emoji\\n              class=\\\"reporting__conversation-ratings-emoji o__small conversation-rating__rating-{{rating}}\\\"\\n            ></span>\\n            <span data-test-reporting-legend-label class=\\\"t__light-text\\\">\\n              {{format-percentage-reports (or (get (find-by \\\"key\\\" rating report.context) \\\"value\\\") 0)}}\\n            </span>\\n          </Reporting::Element::LegendItem>\\n        {{/each}}\\n      </Reporting::Element::Legend>\\n    </Reporting::Element::Summary>\\n    <div class=\\\"h-5\\\"></div>\\n    <Reporting::Chart::HorizontalBar\\n      @size=\\\"large\\\"\\n      @report={{report}}\\n      @keys={{array \\\"5\\\" \\\"4\\\" \\\"3\\\" \\\"2\\\" \\\"1\\\"}}\\n      @unit=\\\"conversation ratings\\\"\\n      @tooltipComponent={{component \\\"reporting/tooltip/horizontal-bar-ratings\\\"}}\\n      @keyColorHash={{this.ratingColorMap}}\\n    />\\n  {{/if}}\\n</Reporting::FetchReport>\\n\",\"moduleName\":\"embercom/components/reporting/reports/conversation-ratings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/conversation-ratings.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { CONVERSATION_RATINGS } from 'embercom/lib/reporting/queries';\nimport {\n  createBucketsForKeys,\n  stackBucketsToPercents,\n} from 'embercom/lib/reporting/signal-transformations';\nimport { CONVERSATION_RATING_IDS } from 'predicates/models/data/conversation-ratings';\n\nconst RATING_COLOR_MAP = {\n  [CONVERSATION_RATING_IDS.AMAZING]: 'vis-green-40',\n  [CONVERSATION_RATING_IDS.GREAT]: 'vis-green-60',\n  [CONVERSATION_RATING_IDS.OK]: 'vis-yellow-70',\n  [CONVERSATION_RATING_IDS.BAD]: 'vis-yellow-50',\n  [CONVERSATION_RATING_IDS.TERRIBLE]: 'vis-salmon-40',\n};\n\nexport default Component.extend({\n  query: CONVERSATION_RATINGS,\n  groupings: [{ grouping: 'rating_index', interval: 1 }],\n  transforms: [createBucketsForKeys([5, 4, 3, 2, 1]), stackBucketsToPercents],\n  ratingColorMap: RATING_COLOR_MAP,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::FetchReport\\n  @query={{this.conversationsQuery}}\\n  @range={{@range}}\\n  @signalType=\\\"comparison\\\"\\n  @debugName=\\\"tags-over-time\\\"\\n  @filters={{hash list_filters=@globalFilters}}\\n  @groupings={{array (hash grouping=\\\"event.type\\\" interval=1)}}\\n  @groupOverTime={{true}} as |filteredConversationsSignal|\\n>\\n  <Reporting::FetchReport\\n    @query={{this.allConversationsQuery}}\\n    @range={{@range}}\\n    @debugName=\\\"all-conversations\\\" as |allConversationsSignal|\\n  >\\n    <div class=\\\"flex flex-col gap-6\\\">\\n      <Reporting::Element::Summary\\n        @currentValue={{or filteredConversationsSignal.value 0}}\\n        @previousValue={{or filteredConversationsSignal.previousValue 0}}\\n        @improvementDirection=\\\"increasing\\\"\\n        @range={{@range}}\\n        @notChangedText=\\\"—\\\"\\n        @valueComponent={{component this.summaryValueComponent linkAction=@linkAction}}\\n      >\\n        {{#if (and filteredConversationsSignal allConversationsSignal)}}\\n          <Paragraph>\\n            <Text @styling=\\\"strong\\\">\\n              {{number-formatter-helper filteredConversationsSignal.value}}\\n              {{concat \\\"of \\\" (unit-formatter allConversationsSignal.value)}}\\n            </Text>\\n            <Text @styling=\\\"small\\\">total conversations</Text>\\n          </Paragraph>\\n        {{/if}}\\n      </Reporting::Element::Summary>\\n      <Reporting::ChartContainer @height={{280}} @isLoading={{not filteredConversationsSignal}}>\\n        {{#if @forceEmpty}}\\n          <div class=\\\"flex reporting__fixed-height-empty-state\\\">\\n            <IcEmptyState\\n              @title=\\\"No tagged conversations\\\"\\n              @icon=\\\"tag\\\"\\n              @description=\\\"Any conversations with tagged replies will appear here.\\\"\\n            />\\n          </div>\\n        {{else}}\\n          <Reporting::Chart::Line\\n            @keys={{array @baseQuery.key}}\\n            @signal={{filteredConversationsSignal}}\\n            @tooltips={{this.tooltipText}}\\n            @range={{@range}}\\n            @visualization=\\\"line\\\"\\n          />\\n        {{/if}}\\n      </Reporting::ChartContainer>\\n    </div>\\n  </Reporting::FetchReport>\\n</Reporting::FetchReport>\\n\", {\"contents\":\"<Reporting::FetchReport\\n  @query={{this.conversationsQuery}}\\n  @range={{@range}}\\n  @signalType=\\\"comparison\\\"\\n  @debugName=\\\"tags-over-time\\\"\\n  @filters={{hash list_filters=@globalFilters}}\\n  @groupings={{array (hash grouping=\\\"event.type\\\" interval=1)}}\\n  @groupOverTime={{true}} as |filteredConversationsSignal|\\n>\\n  <Reporting::FetchReport\\n    @query={{this.allConversationsQuery}}\\n    @range={{@range}}\\n    @debugName=\\\"all-conversations\\\" as |allConversationsSignal|\\n  >\\n    <div class=\\\"flex flex-col gap-6\\\">\\n      <Reporting::Element::Summary\\n        @currentValue={{or filteredConversationsSignal.value 0}}\\n        @previousValue={{or filteredConversationsSignal.previousValue 0}}\\n        @improvementDirection=\\\"increasing\\\"\\n        @range={{@range}}\\n        @notChangedText=\\\"—\\\"\\n        @valueComponent={{component this.summaryValueComponent linkAction=@linkAction}}\\n      >\\n        {{#if (and filteredConversationsSignal allConversationsSignal)}}\\n          <Paragraph>\\n            <Text @styling=\\\"strong\\\">\\n              {{number-formatter-helper filteredConversationsSignal.value}}\\n              {{concat \\\"of \\\" (unit-formatter allConversationsSignal.value)}}\\n            </Text>\\n            <Text @styling=\\\"small\\\">total conversations</Text>\\n          </Paragraph>\\n        {{/if}}\\n      </Reporting::Element::Summary>\\n      <Reporting::ChartContainer @height={{280}} @isLoading={{not filteredConversationsSignal}}>\\n        {{#if @forceEmpty}}\\n          <div class=\\\"flex reporting__fixed-height-empty-state\\\">\\n            <IcEmptyState\\n              @title=\\\"No tagged conversations\\\"\\n              @icon=\\\"tag\\\"\\n              @description=\\\"Any conversations with tagged replies will appear here.\\\"\\n            />\\n          </div>\\n        {{else}}\\n          <Reporting::Chart::Line\\n            @keys={{array @baseQuery.key}}\\n            @signal={{filteredConversationsSignal}}\\n            @tooltips={{this.tooltipText}}\\n            @range={{@range}}\\n            @visualization=\\\"line\\\"\\n          />\\n        {{/if}}\\n      </Reporting::ChartContainer>\\n    </div>\\n  </Reporting::FetchReport>\\n</Reporting::FetchReport>\\n\",\"moduleName\":\"embercom/components/reporting/reports/conversation-tags-over-time.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/conversation-tags-over-time.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  tooltipText: computed('baseQuery', function() {\n    return { [this.baseQuery.key]: 'tagged conversations' };\n  }),\n  allConversationsQuery: {\n    name: 'default_query',\n    document_type: 'events',\n    range_field: 'conversation.created_at',\n    aggregation_type: 'value_count',\n    aggregation_field: 'conversation.id',\n    filters: {\n      'event.type': 'conversation_created',\n      exists_fields: ['current.conversation.started_at'],\n    },\n  },\n\n  conversationsQuery: computed('baseQuery', function() {\n    return { ...this.baseQuery.query, nested_keys_are_dates: false };\n  }),\n  summaryValueComponent: computed('this.canUseConversationList', 'this.linkAction', function() {\n    return this.canUseConversationList && this.linkAction\n      ? 'reporting/element/conversations-link-summary-value'\n      : 'reporting/element/summary-value';\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n<Reporting::TableDataManager\\n  @data={{@signal.context}}\\n  @filterState={{hash valuePath=\\\"name\\\" filter=@filter}}\\n  @sortState={{hash valuePath=\\\"value\\\" direction=\\\"desc\\\"}}\\n  @triggerAnalyticsEvent={{@triggerAnalyticsEvent}}\\n  @sortAliases={{hash name=\\\"tag_name\\\" value=\\\"conversations\\\"}}\\n  @size={{or @pageSize 5}} as |reportTable|\\n>\\n  {{#if (and (gt @globalFilters.length 0) (gt reportTable.data.length 0))}}\\n    <IcBanner @text='These tags have been applied to conversations that match the {{pluralize @globalFilters.length \\\"selected filter\\\"}}.' @type='help' class=\\\"mt-4 mb-4\\\"/>\\n  {{/if}}\\n  <IcTable\\n    @data={{reportTable.data}}\\n    @columns={{array\\n      (hash label=\\\"Tag name\\\" valuePath=\\\"name\\\" isSortable=true width=\\\"300px\\\" maxWidth=\\\"400px\\\")\\n      (hash label=\\\"Conversations\\\" valuePath=\\\"value\\\" width=\\\"110px\\\" maxWidth=\\\"110px\\\" isSortable=true type=\\\"number\\\")\\n      (hash label=\\\"\\\" valuePath=\\\"bar\\\" width=\\\"200px\\\")\\n      (hash label=\\\"\\\" valuePath=\\\"sparkline\\\" width=\\\"216px\\\" type=\\\"number\\\")\\n    }}\\n    @sortState={{reportTable.sortState}}\\n    @onSort={{reportTable.onSort}}\\n    @onLoadMore={{reportTable.onLoadMore}}\\n    @canLoadMore={{reportTable.canLoadMore}}\\n    @isLoadingMore={{reportTable.isLoadingMore}}\\n    @loadingRowCount={{max reportTable.data.length (or @pageSize 5)}}\\n    @isLoading={{@isLoading}} as |table|\\n  >\\n    <table.rows as |row|>\\n      <row.actionCell @valuePath='name' @rowActions={{array\\n        (hash\\n          label='Add to filters'\\n          onClick=(action @onTagSelect row.data)\\n        )\\n      }}>\\n        {{row.data.name}}\\n      </row.actionCell>\\n      <row.cell @valuePath=\\\"value\\\">\\n        {{unit-formatter row.data.value}}\\n      </row.cell>\\n      <row.cell @valuePath=\\\"bar\\\">\\n        <div class=\\\"flex flex-col justify-center\\\" style=\\\"witdh:200px\\\">\\n          <Reporting::Element::Bar\\n            @start={{0}}\\n            @rounded={{true}}\\n            @size=\\\"small\\\"\\n            @scale={{div row.data.value (max (map-by \\\"value\\\" @signal.context))}}\\n            @color=\\\"vis-blue-40\\\"\\n          />\\n        </div>\\n      </row.cell>\\n      <row.cell @valuePath=\\\"sparkline\\\">\\n        <Reporting::FetchReport\\n          @query={{@sparklineQuery}}\\n          @debugName=\\\"all_tags_sparkline\\\"\\n          @groupings={{array (hash grouping=\\\"event.type\\\" interval=1)}}\\n          @range={{@range}}\\n          @groupOverTime={{true}}\\n          @filters={{hash list_filters=(append @globalFilters (reporting/filter \\\"current.conversation.tag_ids\\\" row.data.key))\\n          }} as |sparklineReport sparklineStatus|\\n        >\\n          <Reporting::ChartContainer\\n            @spinner=\\\"small\\\"\\n            @height={{20}}\\n            @width={{200}}\\n            @isLoading={{or (not sparklineReport) sparklineStatus.isLoading}}\\n            class=\\\"items-end\\\"\\n          >\\n            <Reporting::Chart::Sparkline\\n              @signal={{sparklineReport}}\\n              @keys={{array @sparklineQueryKey}}\\n              @keyColorHash={{hash conversation_created=\\\"vis-blue-40\\\"}}\\n              @height={{20}}\\n              @width={{200}}\\n            />\\n          </Reporting::ChartContainer>\\n        </Reporting::FetchReport>\\n      </row.cell>\\n    </table.rows>\\n  </IcTable>\\n  {{#if (and (not @isLoading) (not reportTable.data))}}\\n    <div class=\\\"flex reporting__fixed-height-empty-state\\\">\\n      {{#if @hasTags}}\\n        <IcEmptyState @title=\\\"No tagged conversations match\\\" @icon=\\\"tag\\\" />\\n      {{else}}\\n        <IcEmptyState @title=\\\"No tagged conversations\\\" @icon=\\\"tag\\\" />\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n</Reporting::TableDataManager>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n<Reporting::TableDataManager\\n  @data={{@signal.context}}\\n  @filterState={{hash valuePath=\\\"name\\\" filter=@filter}}\\n  @sortState={{hash valuePath=\\\"value\\\" direction=\\\"desc\\\"}}\\n  @triggerAnalyticsEvent={{@triggerAnalyticsEvent}}\\n  @sortAliases={{hash name=\\\"tag_name\\\" value=\\\"conversations\\\"}}\\n  @size={{or @pageSize 5}} as |reportTable|\\n>\\n  {{#if (and (gt @globalFilters.length 0) (gt reportTable.data.length 0))}}\\n    <IcBanner @text='These tags have been applied to conversations that match the {{pluralize @globalFilters.length \\\"selected filter\\\"}}.' @type='help' class=\\\"mt-4 mb-4\\\"/>\\n  {{/if}}\\n  <IcTable\\n    @data={{reportTable.data}}\\n    @columns={{array\\n      (hash label=\\\"Tag name\\\" valuePath=\\\"name\\\" isSortable=true width=\\\"300px\\\" maxWidth=\\\"400px\\\")\\n      (hash label=\\\"Conversations\\\" valuePath=\\\"value\\\" width=\\\"110px\\\" maxWidth=\\\"110px\\\" isSortable=true type=\\\"number\\\")\\n      (hash label=\\\"\\\" valuePath=\\\"bar\\\" width=\\\"200px\\\")\\n      (hash label=\\\"\\\" valuePath=\\\"sparkline\\\" width=\\\"216px\\\" type=\\\"number\\\")\\n    }}\\n    @sortState={{reportTable.sortState}}\\n    @onSort={{reportTable.onSort}}\\n    @onLoadMore={{reportTable.onLoadMore}}\\n    @canLoadMore={{reportTable.canLoadMore}}\\n    @isLoadingMore={{reportTable.isLoadingMore}}\\n    @loadingRowCount={{max reportTable.data.length (or @pageSize 5)}}\\n    @isLoading={{@isLoading}} as |table|\\n  >\\n    <table.rows as |row|>\\n      <row.actionCell @valuePath='name' @rowActions={{array\\n        (hash\\n          label='Add to filters'\\n          onClick=(action @onTagSelect row.data)\\n        )\\n      }}>\\n        {{row.data.name}}\\n      </row.actionCell>\\n      <row.cell @valuePath=\\\"value\\\">\\n        {{unit-formatter row.data.value}}\\n      </row.cell>\\n      <row.cell @valuePath=\\\"bar\\\">\\n        <div class=\\\"flex flex-col justify-center\\\" style=\\\"witdh:200px\\\">\\n          <Reporting::Element::Bar\\n            @start={{0}}\\n            @rounded={{true}}\\n            @size=\\\"small\\\"\\n            @scale={{div row.data.value (max (map-by \\\"value\\\" @signal.context))}}\\n            @color=\\\"vis-blue-40\\\"\\n          />\\n        </div>\\n      </row.cell>\\n      <row.cell @valuePath=\\\"sparkline\\\">\\n        <Reporting::FetchReport\\n          @query={{@sparklineQuery}}\\n          @debugName=\\\"all_tags_sparkline\\\"\\n          @groupings={{array (hash grouping=\\\"event.type\\\" interval=1)}}\\n          @range={{@range}}\\n          @groupOverTime={{true}}\\n          @filters={{hash list_filters=(append @globalFilters (reporting/filter \\\"current.conversation.tag_ids\\\" row.data.key))\\n          }} as |sparklineReport sparklineStatus|\\n        >\\n          <Reporting::ChartContainer\\n            @spinner=\\\"small\\\"\\n            @height={{20}}\\n            @width={{200}}\\n            @isLoading={{or (not sparklineReport) sparklineStatus.isLoading}}\\n            class=\\\"items-end\\\"\\n          >\\n            <Reporting::Chart::Sparkline\\n              @signal={{sparklineReport}}\\n              @keys={{array @sparklineQueryKey}}\\n              @keyColorHash={{hash conversation_created=\\\"vis-blue-40\\\"}}\\n              @height={{20}}\\n              @width={{200}}\\n            />\\n          </Reporting::ChartContainer>\\n        </Reporting::FetchReport>\\n      </row.cell>\\n    </table.rows>\\n  </IcTable>\\n  {{#if (and (not @isLoading) (not reportTable.data))}}\\n    <div class=\\\"flex reporting__fixed-height-empty-state\\\">\\n      {{#if @hasTags}}\\n        <IcEmptyState @title=\\\"No tagged conversations match\\\" @icon=\\\"tag\\\" />\\n      {{else}}\\n        <IcEmptyState @title=\\\"No tagged conversations\\\" @icon=\\\"tag\\\" />\\n      {{/if}}\\n    </div>\\n  {{/if}}\\n</Reporting::TableDataManager>\\n\",\"moduleName\":\"embercom/components/reporting/reports/conversation-tags-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/conversation-tags-table.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"Busiest period for new conversations\\\"\\n  @id=\\\"busiest-day-of-week-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @chartComponent=\\\"reporting/flexible/counter\\\"\\n  @width=\\\"small\\\"\\n  @filters={{@filters}}\\n  @range={{@range}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-busiest-day-of-week-counter\\\"\\n/>\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"Busiest period for new conversations\\\"\\n  @id=\\\"busiest-day-of-week-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @chartComponent=\\\"reporting/flexible/counter\\\"\\n  @width=\\\"small\\\"\\n  @filters={{@filters}}\\n  @range={{@range}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-busiest-day-of-week-counter\\\"\\n/>\",\"moduleName\":\"embercom/components/reporting/reports/conversations-flexible/busiest-period-counter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/conversations-flexible/busiest-period-counter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport {\n  COUNT,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n  MAX_FIRST_USER_CONVERSATION_PART_CREATED_AT_DAY_OF_WEEK,\n} from 'embercom/lib/reporting/flexible/constants';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\n\nexport default class BusiestPeriodCounter extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n    viewConfig.aggregations = { defaultOption: COUNT };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[MAX_FIRST_USER_CONVERSATION_PART_CREATED_AT_DAY_OF_WEEK],\n        createTitleTooltipText: () => '',\n      },\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      yAxis: {\n        name: 'hour_of_day',\n        type: 'temporal',\n        data: {\n          interval: 'hour_of_day',\n          property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n        },\n      },\n      xAxis: {\n        name: 'day_of_week',\n        type: 'temporal',\n        data: {\n          interval: 'day_of_week',\n          property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n        },\n      },\n      series: [\n        {\n          name: 'busiest_period_counter',\n          source: 'conversation_with_message_thread',\n          type: COUNT,\n          data: { property: FIRST_USER_CONVERSATION_PART_CREATED_AT },\n          time: {\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"busiest period for new conversations\\\"\\n  @id=\\\"busiest-period-for-new-conversations\\\"\\n  @chartComponent=\\\"reporting/flexible/heatmap\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-conversations-heatmap\\\"\\n/>\\n\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"busiest period for new conversations\\\"\\n  @id=\\\"busiest-period-for-new-conversations\\\"\\n  @chartComponent=\\\"reporting/flexible/heatmap\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-conversations-heatmap\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/reports/conversations-flexible/busiest-period-heatmap.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/conversations-flexible/busiest-period-heatmap.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  COUNT,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT_DAY_OF_WEEK,\n} from 'embercom/lib/reporting/flexible/constants';\n\nexport default class BusiestPeriodHeatmap extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.aggregations = { defaultOption: COUNT };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT_DAY_OF_WEEK],\n        createTitleTooltipText: () => {\n          return 'The number of new conversations, grouped by time and day of the week.';\n        },\n      },\n    };\n    viewConfig.formatUnit = {\n      unit: units.value,\n      displayUnit: 'new conversation',\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      yAxis: {\n        type: 'temporal',\n        data: {\n          interval: 'hour_of_day',\n          property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n        },\n      },\n      xAxis: {\n        name: 'conversation_created_at_day',\n        type: 'temporal',\n        data: {\n          interval: 'day_of_week',\n          property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n        },\n      },\n      series: [\n        {\n          name: 'conversation_count_heatmap',\n          source: 'conversation_with_message_thread',\n          type: COUNT,\n          data: { property: FIRST_USER_CONVERSATION_PART_CREATED_AT },\n          time: {\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"closed conversations\\\"\\n  @id=\\\"closed-conversations\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width=\\\"small\\\"\\n  @range={{@range}}\\n  @filters={{this.modifiedFilters}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-closed-conversations-counter\\\"\\n/>\\n\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"closed conversations\\\"\\n  @id=\\\"closed-conversations\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width=\\\"small\\\"\\n  @range={{@range}}\\n  @filters={{this.modifiedFilters}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-closed-conversations-counter\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/reports/conversations-flexible/closed-conversations-comparison-counter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/conversations-flexible/closed-conversations-comparison-counter.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  CARDINALITY,\n  CONVERSATION_ID,\n  COMMENT_CREATED_AT,\n  NEW_CONVERSATION_STATE,\n} from 'embercom/lib/reporting/flexible/constants';\nimport { improvementDirections } from 'embercom/components/reporting/element/summary-comparison';\n\nconst seriesName = 'closed_conversations_counter';\n\nexport default class ClosedConversationsComparisonCounter extends Component {\n  get modifiedFilters() {\n    let newFilters = { ...this.args.filters };\n\n    if (newFilters.admin_participant_ids) {\n      newFilters.teammate_id = newFilters.admin_participant_ids;\n      delete newFilters.admin_participant_ids;\n    }\n\n    return newFilters;\n  }\n\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.value };\n    viewConfig.aggregations = { defaultOption: CARDINALITY };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[COMMENT_CREATED_AT],\n        isComparison: true,\n        createTitleTooltipText: () => {\n          return 'The number of unique conversations closed.';\n        },\n      },\n    };\n    viewConfig.counter = {\n      [seriesName]: {\n        improvementDirection: improvementDirections.INCREASING,\n      },\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      series: [\n        {\n          name: seriesName,\n          source: 'reporting_conversation_part',\n          type: CARDINALITY,\n          data: { property: CONVERSATION_ID },\n          time: {\n            property: COMMENT_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n          filter: {\n            type: 'category',\n            data: {\n              property: NEW_CONVERSATION_STATE,\n              values: ['closed'],\n            },\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"closed vs. reopened conversations\\\"\\n  @id=\\\"closed-vs-reopened-conversations\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @width={{@width}}\\n  @range={{@range}}\\n  @filters={{this.modifiedFilters}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-new-reopened-conversations-columnchart\\\"\\n/>\\n\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"closed vs. reopened conversations\\\"\\n  @id=\\\"closed-vs-reopened-conversations\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @width={{@width}}\\n  @range={{@range}}\\n  @filters={{this.modifiedFilters}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-new-reopened-conversations-columnchart\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/reports/conversations-flexible/closed-reopened-conversations-columnchart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/conversations-flexible/closed-reopened-conversations-columnchart.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  CARDINALITY,\n  STATE_START,\n  COMMENT_CREATED_AT,\n  NEW_CONVERSATION_STATE,\n  CONVERSATION_ID,\n  CONVERSATION_STATE,\n  PREVIOUS_CONVERSATION_STATE,\n} from 'embercom/lib/reporting/flexible/constants';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\n\nexport default class ClosedReopendConversationsColumnchart extends Component {\n  get modifiedFilters() {\n    let newFilters = { ...this.args.filters };\n\n    if (newFilters.admin_participant_ids) {\n      newFilters.teammate_id = newFilters.admin_participant_ids;\n      delete newFilters.admin_participant_ids;\n    }\n\n    return newFilters;\n  }\n\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.aggregations = { defaultOption: CARDINALITY };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[STATE_START],\n        createTitleTooltipText: () => {\n          return 'A comparison of the number of unique conversations that were closed, grouped by the date the conversation was first closed, and the number of unique conversations that were reopened, grouped by the date the conversation was first reopened.';\n        },\n      },\n    };\n    viewConfig.formatUnit = {\n      unit: units.value,\n      displayUnit: 'conversation',\n    };\n    viewConfig.legend = {\n      closed_conversations_columnchart: () => {\n        return 'Closed';\n      },\n      reopened_conversations_columnchart: () => {\n        return 'Reopened';\n      },\n    };\n    viewConfig.seriesColors = [PALETTE['vis-slateblue-50'], PALETTE['vis-turquoise-50']];\n\n    return viewConfig;\n  }\n  get dataConfig() {\n    return {\n      xAxis: {\n        type: 'temporal',\n        data: {\n          interval: FILTER_PROPERTY_PLACEHOLDER,\n          property: STATE_START,\n        },\n      },\n      series: [\n        {\n          name: 'closed_conversations_columnchart',\n          source: 'reporting_conversation_part',\n          type: CARDINALITY,\n          data: { property: CONVERSATION_ID },\n          time: {\n            property: COMMENT_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n          filter: {\n            type: 'category',\n            data: {\n              property: NEW_CONVERSATION_STATE,\n              values: ['closed'],\n            },\n          },\n        },\n        {\n          name: 'reopened_conversations_columnchart',\n          source: 'conversation_state',\n          type: CARDINALITY,\n          data: { property: CONVERSATION_ID },\n          time: {\n            property: STATE_START,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n          filter: {\n            type: 'and',\n            filters: [\n              {\n                type: 'category',\n                data: {\n                  property: CONVERSATION_STATE,\n                  values: ['opened'],\n                },\n              },\n              {\n                type: 'category',\n                data: {\n                  property: PREVIOUS_CONVERSATION_STATE,\n                  values: ['closed'],\n                },\n              },\n            ],\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"new conversations\\\"\\n  @id=\\\"new-conversations-channels\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @width={{@width}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @persistentDataConfig={{@persistentDataConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-new-conversations-channels-columnchart\\\"\\n/>\\n\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"new conversations\\\"\\n  @id=\\\"new-conversations-channels\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @width={{@width}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @persistentDataConfig={{@persistentDataConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-new-conversations-channels-columnchart\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/reports/conversations-flexible/new-conversations-channels-columnchart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/conversations-flexible/new-conversations-channels-columnchart.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  AVAILABLE_CHANNEL_MAPPINGS,\n  CHANNEL,\n  CHANNEL_GROUPING_TERM_SIZE,\n  CONTINENT,\n  COUNT,\n  COUNTRY,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n} from 'embercom/lib/reporting/flexible/constants';\n\nexport default class NewConversationsChannelsColumnchart extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    let groupings = [\n      {\n        ...GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT],\n        isComparison: true,\n        createTitleTooltipText: () => {\n          return 'The number of new conversations started, grouped by the date the first end-user message was sent at.';\n        },\n      },\n      {\n        ...GROUPINGS[CONTINENT],\n        createTitleTooltipText: () => {\n          return 'The number of new conversations started, grouped by the continent they were created in.';\n        },\n      },\n      {\n        ...GROUPINGS[COUNTRY],\n        createTitleTooltipText: () => {\n          return 'The number of new conversations started, grouped by the country they were created in.';\n        },\n      },\n    ];\n\n    viewConfig.formatUnit = { unit: units.value, displayUnit: 'conversation' };\n    viewConfig.aggregations = { defaultOption: COUNT };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[CHANNEL],\n        createTitleTooltipText: () => {\n          return 'The number of new conversations started, grouped by the channel they were created in.';\n        },\n      },\n      rest: groupings,\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      xAxis: {\n        type: 'nominal',\n        data: {\n          property: CHANNEL,\n          term_size: CHANNEL_GROUPING_TERM_SIZE,\n          labelMappings: AVAILABLE_CHANNEL_MAPPINGS,\n        },\n      },\n      series: [\n        {\n          name: 'comparison_columnchart',\n          source: 'conversation_with_message_thread',\n          type: COUNT,\n          data: { property: FIRST_USER_CONVERSATION_PART_CREATED_AT },\n          time: {\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"new conversations\\\"\\n  @id=\\\"new-conversations\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @persistentDataConfig={{@persistentDataConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-new-conversations-columnchart\\\"\\n/>\\n\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"new conversations\\\"\\n  @id=\\\"new-conversations\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @persistentDataConfig={{@persistentDataConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-new-conversations-columnchart\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/reports/conversations-flexible/new-conversations-columnchart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/conversations-flexible/new-conversations-columnchart.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  COUNT,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n  CONTINENT,\n  COUNTRY,\n  CHANNEL,\n} from 'embercom/lib/reporting/flexible/constants';\n\nexport default class NewConversationsColumnchart extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    let groupings = [\n      {\n        ...GROUPINGS[CONTINENT],\n        createTitleTooltipText: () => {\n          return 'The number of new conversations started, grouped by the continet they were created in.';\n        },\n      },\n      {\n        ...GROUPINGS[COUNTRY],\n        createTitleTooltipText: () => {\n          return 'The number of new conversations started, grouped by the country they were created in.';\n        },\n      },\n    ];\n    if (this.args.canUseReportingChannelDrilldown) {\n      groupings.push({\n        ...GROUPINGS[CHANNEL],\n        createTitleTooltipText: () => {\n          return 'The number of new conversations started, grouped by the channel they were created in.';\n        },\n      });\n    }\n\n    viewConfig.formatUnit = { unit: units.value, displayUnit: 'conversation' };\n    viewConfig.aggregations = { defaultOption: COUNT };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT],\n        isComparison: true,\n        createTitleTooltipText: () => {\n          return 'The number of new conversations started, grouped by the date the first end-user message was sent at.';\n        },\n      },\n      rest: groupings,\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      xAxis: {\n        type: 'temporal',\n        data: {\n          interval: FILTER_PROPERTY_PLACEHOLDER,\n          property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n        },\n      },\n      series: [\n        {\n          name: 'comparison_columnchart',\n          source: 'conversation_with_message_thread',\n          type: COUNT,\n          data: { property: FIRST_USER_CONVERSATION_PART_CREATED_AT },\n          time: {\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"new conversations\\\"\\n  @id=\\\"new-conversations-comparison-counter\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width=\\\"small\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-new-conversations-counter\\\"\\n/>\\n\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"new conversations\\\"\\n  @id=\\\"new-conversations-comparison-counter\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width=\\\"small\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-new-conversations-counter\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/reports/conversations-flexible/new-conversations-comparison-counter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/conversations-flexible/new-conversations-comparison-counter.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  COUNT,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n} from 'embercom/lib/reporting/flexible/constants';\nimport { improvementDirections } from 'embercom/components/reporting/element/summary-comparison';\n\nconst seriesName = 'new_conversations_counter';\n\nexport default class NewConversationsComparisonCounter extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.value };\n    viewConfig.aggregations = { defaultOption: COUNT };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT],\n        isComparison: true,\n        createTitleTooltipText: () => {\n          return 'The number of new conversations started, grouped by the date the conversation was created at.';\n        },\n      },\n    };\n    viewConfig.counter = {\n      [seriesName]: {\n        improvementDirection: improvementDirections.INCREASING,\n      },\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      series: [\n        {\n          name: seriesName,\n          source: 'conversation_with_message_thread',\n          type: COUNT,\n          data: { property: FIRST_USER_CONVERSATION_PART_CREATED_AT },\n          time: {\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"new inbound conversations\\\"\\n  @id=\\\"new-inbound-conversations-comparison-counter\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width=\\\"small\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-new-inbound-conversations-counter\\\"\\n/>\\n\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"new inbound conversations\\\"\\n  @id=\\\"new-inbound-conversations-comparison-counter\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width=\\\"small\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-new-inbound-conversations-counter\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/reports/conversations-flexible/new-inbound-conversations-comparison-counter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/conversations-flexible/new-inbound-conversations-comparison-counter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport {\n  COUNT,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n} from 'embercom/lib/reporting/flexible/constants';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport { improvementDirections } from 'embercom/components/reporting/element/summary-comparison';\n\nconst SERIES_NAME = 'new_inbound_conversations_comparison_counter';\n\nexport default class NewInboundConversationsComparisonCounter extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.value };\n    viewConfig.aggregations = { defaultOption: COUNT };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT],\n        isComparison: true,\n        createTitleTooltipText: () => {\n          return 'The number of new conversations started by an inbound message.';\n        },\n      },\n    };\n    viewConfig.counter = {\n      [SERIES_NAME]: {\n        improvementDirection: improvementDirections.INCREASING,\n      },\n    };\n\n    return viewConfig;\n  }\n  get dataConfig() {\n    return {\n      series: [\n        {\n          name: SERIES_NAME,\n          source: 'conversation_with_message_thread',\n          type: COUNT,\n          data: { property: FIRST_USER_CONVERSATION_PART_CREATED_AT },\n          time: {\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n          filter: {\n            type: 'category',\n            data: {\n              property: 'message_subclass_type',\n              values: this.messageSubclassTypeValues,\n            },\n          },\n        },\n      ],\n    };\n  }\n\n  // Since this counter is only for inbound conversations, when filtering\n  // via non UserMessage we don't want to show any results\n  // Passing an empty array will force ES to return an empty dataset\n  get messageSubclassTypeValues() {\n    if (\n      this.args.filters.message_subclass_type &&\n      this.args.filters.message_subclass_type.length === 1 &&\n      this.args.filters.message_subclass_type[0] !== 'UserMessage'\n    ) {\n      return [];\n    } else {\n      return ['UserMessage'];\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"open and snoozed conversations\\\"\\n  @id=\\\"open-and-snoozed-conversations\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @width={{@width}}\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-open-snoozed-conversations-columnchart\\\"\\n/>\\n\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"open and snoozed conversations\\\"\\n  @id=\\\"open-and-snoozed-conversations\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @width={{@width}}\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-open-snoozed-conversations-columnchart\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/reports/conversations-flexible/open-snoozed-columnchart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/conversations-flexible/open-snoozed-columnchart.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  COUNT,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n} from 'embercom/lib/reporting/flexible/constants';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\n\nexport default class OpenSnoozedColumnchart extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.value };\n    viewConfig.aggregations = { defaultOption: COUNT };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT],\n        createTitleTooltipText: () => {\n          return 'The number of conversations with a status of “Open” or \"Snoozed\" at the end of the time period.';\n        },\n      },\n    };\n    viewConfig.legend = {\n      open_conversations_columnchart: () => {\n        return 'Open';\n      },\n      snoozed_conversations_columnchart: () => {\n        return 'Snoozed';\n      },\n    };\n    viewConfig.seriesColors = [PALETTE['vis-pink-50'], PALETTE['vis-turquoise-50']];\n    viewConfig.columnChart = {\n      stacking: 'normal',\n      series: {\n        tooltips: {\n          open_conversations_columnchart: 'open conversation',\n          snoozed_conversations_columnchart: 'snoozed conversation',\n        },\n      },\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      xAxis: {\n        type: 'temporal',\n        data: {\n          interval: FILTER_PROPERTY_PLACEHOLDER,\n          property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n        },\n      },\n      series: [\n        {\n          name: 'open_conversations_columnchart',\n          source: 'conversation_state',\n          type: COUNT,\n          data: { property: FIRST_USER_CONVERSATION_PART_CREATED_AT },\n          time: {\n            property: 'state',\n            data_model: 'interval',\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n          filter: {\n            type: 'category',\n            data: {\n              property: 'conversation_state',\n              values: ['opened'],\n            },\n          },\n        },\n        {\n          name: 'snoozed_conversations_columnchart',\n          source: 'conversation_state',\n          type: COUNT,\n          data: { property: FIRST_USER_CONVERSATION_PART_CREATED_AT },\n          time: {\n            property: 'state',\n            data_model: 'interval',\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n          filter: {\n            type: 'category',\n            data: {\n              property: 'conversation_state',\n              values: ['snoozed'],\n            },\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"open conversations\\\"\\n  @id=\\\"opened-conversations\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width=\\\"small\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-open-conversations-counter\\\"\\n/>\\n\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"open conversations\\\"\\n  @id=\\\"opened-conversations\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width=\\\"small\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-open-conversations-counter\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/reports/conversations-flexible/opened-conversations-comparison-counter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/conversations-flexible/opened-conversations-comparison-counter.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  COUNT,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n} from 'embercom/lib/reporting/flexible/constants';\nimport { improvementDirections } from 'embercom/components/reporting/element/summary-comparison';\n\nconst seriesName = 'opened_conversations_counter';\n\nexport default class OpenedConversationsComparisonCounter extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.value };\n    viewConfig.aggregations = { defaultOption: COUNT };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT],\n        isComparison: true,\n        createTitleTooltipText: () => {\n          return 'The number of conversations with a status of “Open” at the end of the time period which includes reopened conversations.';\n        },\n      },\n    };\n    viewConfig.counter = {\n      [seriesName]: {\n        improvementDirection: improvementDirections.DECREASING,\n      },\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      series: [\n        {\n          name: seriesName,\n          source: 'conversation_state',\n          type: COUNT,\n          data: { property: FIRST_USER_CONVERSATION_PART_CREATED_AT },\n          time: {\n            property: 'state',\n            data_model: 'interval',\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n          filter: {\n            type: 'category',\n            data: {\n              property: 'conversation_state',\n              values: ['opened'],\n            },\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"reopened conversations\\\"\\n  @id=\\\"reopened-conversations\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width=\\\"small\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-reopened-conversations-counter\\\"\\n/>\\n\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"reopened conversations\\\"\\n  @id=\\\"reopened-conversations\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width=\\\"small\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-reopened-conversations-counter\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/reports/conversations-flexible/reopened-conversations-comparison-counter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/conversations-flexible/reopened-conversations-comparison-counter.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  CARDINALITY,\n  STATE_START,\n  CONVERSATION_ID,\n  CONVERSATION_STATE,\n  PREVIOUS_CONVERSATION_STATE,\n} from 'embercom/lib/reporting/flexible/constants';\nimport { improvementDirections } from 'embercom/components/reporting/element/summary-comparison';\n\nconst seriesName = 'reopened_conversations_counter';\n\nexport default class ReopenedConversationsComparisonCounter extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.value };\n    viewConfig.aggregations = { defaultOption: CARDINALITY };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[STATE_START],\n        isComparison: true,\n        createTitleTooltipText: () => {\n          return 'The number of conversations that were reopened.';\n        },\n      },\n    };\n    viewConfig.counter = {\n      [seriesName]: {\n        improvementDirection: improvementDirections.DECREASING,\n      },\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      series: [\n        {\n          name: seriesName,\n          source: 'conversation_state',\n          type: CARDINALITY,\n          data: { property: CONVERSATION_ID },\n          time: {\n            property: STATE_START,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n          filter: {\n            type: 'and',\n            filters: [\n              {\n                type: 'category',\n                data: {\n                  property: CONVERSATION_STATE,\n                  values: ['opened'],\n                },\n              },\n              {\n                type: 'category',\n                data: {\n                  property: PREVIOUS_CONVERSATION_STATE,\n                  values: ['closed'],\n                },\n              },\n            ],\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"new vs. conversations replied to\\\"\\n  @id=\\\"new-vs-conversations-replied-to\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @range={{@range}}\\n  @filters={{this.modifiedFilters}}\\n  @width={{@width}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-conversations-replied-to-columnchart\\\"\\n/>\\n\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"new vs. conversations replied to\\\"\\n  @id=\\\"new-vs-conversations-replied-to\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @range={{@range}}\\n  @filters={{this.modifiedFilters}}\\n  @width={{@width}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-conversations-replied-to-columnchart\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/reports/conversations-flexible/replied-to-conversations-columnchart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/conversations-flexible/replied-to-conversations-columnchart.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  COUNT,\n  CARDINALITY,\n  COMMENT_CREATED_AT,\n  CONVERSATION_ID,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n} from 'embercom/lib/reporting/flexible/constants';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\n\nimport { buildFilters } from 'embercom/lib/reporting/flexible/filter-helpers';\n\nexport default class RepliedToConversationsColumnchart extends Component {\n  get modifiedFilters() {\n    // remove admin_participant_ids from global filters as readding at series level with correct renaming\n    let newFilters = { ...this.args.filters };\n\n    if (newFilters.admin_participant_ids) {\n      delete newFilters.admin_participant_ids;\n    }\n\n    return newFilters;\n  }\n\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.value, displayUnit: 'conversation' };\n    viewConfig.aggregations = { defaultOption: CARDINALITY };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[COMMENT_CREATED_AT],\n        createTitleTooltipText: () => {\n          return 'The number of new conversations started, grouped by the date the first end-user message was sent at, and the number of conversations that a teammate replied to, grouped by the date the reply was sent. Note that the conversations included in this chart may have been started prior to the selected date range.';\n        },\n      },\n    };\n    viewConfig.legend = {\n      new_conversations_columnchart: () => {\n        return 'New';\n      },\n      replied_conversations_columnchart: () => {\n        return 'Replied to';\n      },\n    };\n    viewConfig.seriesColors = [PALETTE['vis-azure-50'], PALETTE['vis-mantis-50']];\n\n    return viewConfig;\n  }\n\n  buildTeammateFilter(source) {\n    // renaming of teammate property based on index used\n    if (this.args.filters.admin_participant_ids) {\n      let filterName = source === 'teammate_reply' ? 'teammate_id' : 'admin_participant_ids';\n      let filters = buildFilters(filterName, this.args.filters.admin_participant_ids);\n\n      if (filters.length > 1) {\n        return { type: 'and', filters };\n      } else {\n        return filters[0];\n      }\n    }\n\n    return {};\n  }\n\n  get dataConfig() {\n    return {\n      xAxis: {\n        type: 'temporal',\n        data: {\n          interval: FILTER_PROPERTY_PLACEHOLDER,\n          property: COMMENT_CREATED_AT,\n        },\n      },\n      series: [\n        {\n          name: 'new_conversations_columnchart',\n          source: 'conversation_with_message_thread',\n          type: COUNT,\n          data: { property: FIRST_USER_CONVERSATION_PART_CREATED_AT },\n          time: {\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n          filter: this.buildTeammateFilter('conversation_with_message_thread'),\n        },\n        {\n          name: 'replied_conversations_columnchart',\n          source: 'teammate_reply',\n          type: CARDINALITY,\n          data: { property: CONVERSATION_ID },\n          time: {\n            property: COMMENT_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n          filter: this.buildTeammateFilter('teammate_reply'),\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"conversations replied to\\\"\\n  @id=\\\"conversations-replied-to\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width=\\\"small\\\"\\n  @range={{@range}}\\n  @filters={{this.modifiedFilters}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-replied-conversations-counter\\\"\\n/>\\n\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"conversations replied to\\\"\\n  @id=\\\"conversations-replied-to\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width=\\\"small\\\"\\n  @range={{@range}}\\n  @filters={{this.modifiedFilters}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-replied-conversations-counter\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/reports/conversations-flexible/replied-to-conversations-comparison-counter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/conversations-flexible/replied-to-conversations-comparison-counter.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  CARDINALITY,\n  COMMENT_CREATED_AT,\n  CONVERSATION_ID,\n} from 'embercom/lib/reporting/flexible/constants';\nimport { improvementDirections } from 'embercom/components/reporting/element/summary-comparison';\n\nconst seriesName = 'conversations_replied_to_counter';\n\nexport default class RepliedToConversationsComparisonCounter extends Component {\n  get modifiedFilters() {\n    let newFilters = { ...this.args.filters };\n\n    if (newFilters.admin_participant_ids) {\n      newFilters.teammate_id = newFilters.admin_participant_ids;\n      delete newFilters.admin_participant_ids;\n    }\n\n    return newFilters;\n  }\n\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.value };\n    viewConfig.aggregations = { defaultOption: CARDINALITY };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[COMMENT_CREATED_AT],\n        isComparison: true,\n        createTitleTooltipText: () => {\n          return 'The number of conversations that a teammate replied to, grouped by the date the reply was sent. Note that the conversations included in this chart may have been started prior to the selected date range.';\n        },\n      },\n    };\n    viewConfig.counter = {\n      [seriesName]: {\n        improvementDirection: improvementDirections.INCREASING,\n      },\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      series: [\n        {\n          name: seriesName,\n          source: 'teammate_reply',\n          type: CARDINALITY,\n          data: { property: CONVERSATION_ID },\n          time: {\n            property: COMMENT_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"replies sent\\\"\\n  @id=\\\"replies-sent\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @range={{@range}}\\n  @filters={{this.modifiedFilters}}\\n  @width={{@width}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-replies-sent-columnchart\\\"\\n/>\\n\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"replies sent\\\"\\n  @id=\\\"replies-sent\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @range={{@range}}\\n  @filters={{this.modifiedFilters}}\\n  @width={{@width}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-replies-sent-columnchart\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/reports/conversations-flexible/replies-sent-columnchart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/conversations-flexible/replies-sent-columnchart.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport { COUNT, COMMENT_CREATED_AT } from 'embercom/lib/reporting/flexible/constants';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\n\nexport default class RepliesSentColumnchart extends Component {\n  get modifiedFilters() {\n    let newFilters = { ...this.args.filters };\n\n    if (newFilters.admin_participant_ids) {\n      newFilters.teammate_id = newFilters.admin_participant_ids;\n      delete newFilters.admin_participant_ids;\n    }\n\n    return newFilters;\n  }\n\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.value, displayUnit: 'reply' };\n    viewConfig.aggregations = { defaultOption: COUNT };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[COMMENT_CREATED_AT],\n        createTitleTooltipText: () => {\n          return 'Number of replies the selected team or teammate sent in all conversations, grouped by the date the reply was sent.';\n        },\n      },\n    };\n    viewConfig.seriesColors = [PALETTE['vis-mantis-50']];\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      xAxis: {\n        type: 'temporal',\n        data: {\n          interval: FILTER_PROPERTY_PLACEHOLDER,\n          property: COMMENT_CREATED_AT,\n        },\n      },\n      series: [\n        {\n          name: 'replies_sent_columnchart',\n          source: 'teammate_reply',\n          type: COUNT,\n          data: { property: COMMENT_CREATED_AT },\n          time: {\n            property: COMMENT_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"replies sent\\\"\\n  @id=\\\"replies-sent-comparison-counter\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width=\\\"small\\\"\\n  @range={{@range}}\\n  @filters={{this.modifiedFilters}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-replies-sent-counter\\\"\\n/>\\n\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"replies sent\\\"\\n  @id=\\\"replies-sent-comparison-counter\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width=\\\"small\\\"\\n  @range={{@range}}\\n  @filters={{this.modifiedFilters}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-replies-sent-counter\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/reports/conversations-flexible/replies-sent-comparison-counter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/conversations-flexible/replies-sent-comparison-counter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { COUNT, COMMENT_CREATED_AT } from 'embercom/lib/reporting/flexible/constants';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport { improvementDirections } from 'embercom/components/reporting/element/summary-comparison';\n\nconst SERIES_NAME = 'replies_sent_comparison_counter';\n\nexport default class RepliesSentComparisonCounter extends Component {\n  get modifiedFilters() {\n    let newFilters = { ...this.args.filters };\n\n    if (newFilters.admin_participant_ids) {\n      newFilters.teammate_id = newFilters.admin_participant_ids;\n      delete newFilters.admin_participant_ids;\n    }\n\n    return newFilters;\n  }\n\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.value };\n    viewConfig.aggregations = { defaultOption: COUNT };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[COMMENT_CREATED_AT],\n        isComparison: true,\n        createTitleTooltipText: () => {\n          return 'The total number of replies sent.';\n        },\n      },\n    };\n    viewConfig.counter = {\n      [SERIES_NAME]: {\n        improvementDirection: improvementDirections.INCREASING,\n      },\n    };\n\n    return viewConfig;\n  }\n  get dataConfig() {\n    return {\n      series: [\n        {\n          name: SERIES_NAME,\n          source: 'teammate_reply',\n          type: COUNT,\n          data: { property: COMMENT_CREATED_AT },\n          time: {\n            property: COMMENT_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"snoozed conversations\\\"\\n  @id=\\\"snoozed-conversations\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-snoozed-conversations-comparison-counter\\\"\\n/>\\n\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"snoozed conversations\\\"\\n  @id=\\\"snoozed-conversations\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-snoozed-conversations-comparison-counter\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/reports/conversations-flexible/snoozed-conversations-comparison-counter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/conversations-flexible/snoozed-conversations-comparison-counter.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  COUNT,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n} from 'embercom/lib/reporting/flexible/constants';\nimport { improvementDirections } from 'embercom/components/reporting/element/summary-comparison';\n\nconst seriesName = 'snoozed_conversations_counter';\n\nexport default class SnoozedConversationsColumnchart extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.value };\n    viewConfig.aggregations = { defaultOption: COUNT };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT],\n        isComparison: true,\n        createTitleTooltipText: () => {\n          return 'The number of conversations with a status of “Snoozed” at the end of the time period.';\n        },\n      },\n    };\n    viewConfig.counter = {\n      [seriesName]: {\n        improvementDirection: improvementDirections.INCREASING,\n      },\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      series: [\n        {\n          name: seriesName,\n          source: 'conversation_state',\n          type: COUNT,\n          data: { property: FIRST_USER_CONVERSATION_PART_CREATED_AT },\n          time: {\n            property: 'state',\n            data_model: 'interval',\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n          filter: {\n            type: 'category',\n            data: {\n              property: 'conversation_state',\n              values: ['snoozed'],\n            },\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table\\n  class=\\\"tbl tbl__reporting__table u__mt__10 u__mb__0\\\"\\n  data-test-most-engaging-report-table\\n>\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <tr>\\n    <td class=\\\"tbl__cell text-gray\\\">\\n      Title\\n    </td>\\n    <td class=\\\"tbl__cell text-gray t__right\\\">\\n      Conversations\\n    </td>\\n    <td class=\\\"tbl__cell t__left\\\"></td>\\n  </tr>\\n  {{#each this.data.topListContext as |bucket index|}}\\n    <Reporting::Element::TableDataRow\\n      @testKey={{bucket.key}}\\n      @currentValue={{bucket.value}}\\n      @previousValue={{bucket.previousValue}}\\n      @labelLinkRoute={{bucket.linkRoute}}\\n      @labelLinkTo={{bucket.id}}\\n      @label={{bucket.label}}\\n      @expandLabelTextToTooltip={{not (eq bucket.label \\\"All others\\\")}}\\n      @improvementDirection=\\\"increasing\\\"\\n      @notChangedText=\\\"—\\\"\\n      @analyticsObject=\\\"top_messages_or_bots\\\"\\n      @hideDelta={{@hideDelta}}\\n    />\\n  {{else}}\\n    {{#each (array 1 2 3 4 5 6) as |index|}}\\n      <tr class=\\\"tbl__data-row\\\">\\n        <td class=\\\"tbl__cell w-full\\\">\\n          {{ghost-text 200}}\\n        </td>\\n        <td class=\\\"tbl__cell t__right\\\">\\n          {{ghost-text 50}}\\n        </td>\\n        <td class=\\\"tbl__cell t__left\\\">\\n          {{ghost-text 50}}\\n        </td>\\n      </tr>\\n    {{/each}}\\n  {{/each}}\\n</table>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table\\n  class=\\\"tbl tbl__reporting__table u__mt__10 u__mb__0\\\"\\n  data-test-most-engaging-report-table\\n>\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <tr>\\n    <td class=\\\"tbl__cell text-gray\\\">\\n      Title\\n    </td>\\n    <td class=\\\"tbl__cell text-gray t__right\\\">\\n      Conversations\\n    </td>\\n    <td class=\\\"tbl__cell t__left\\\"></td>\\n  </tr>\\n  {{#each this.data.topListContext as |bucket index|}}\\n    <Reporting::Element::TableDataRow\\n      @testKey={{bucket.key}}\\n      @currentValue={{bucket.value}}\\n      @previousValue={{bucket.previousValue}}\\n      @labelLinkRoute={{bucket.linkRoute}}\\n      @labelLinkTo={{bucket.id}}\\n      @label={{bucket.label}}\\n      @expandLabelTextToTooltip={{not (eq bucket.label \\\"All others\\\")}}\\n      @improvementDirection=\\\"increasing\\\"\\n      @notChangedText=\\\"—\\\"\\n      @analyticsObject=\\\"top_messages_or_bots\\\"\\n      @hideDelta={{@hideDelta}}\\n    />\\n  {{else}}\\n    {{#each (array 1 2 3 4 5 6) as |index|}}\\n      <tr class=\\\"tbl__data-row\\\">\\n        <td class=\\\"tbl__cell w-full\\\">\\n          {{ghost-text 200}}\\n        </td>\\n        <td class=\\\"tbl__cell t__right\\\">\\n          {{ghost-text 50}}\\n        </td>\\n        <td class=\\\"tbl__cell t__left\\\">\\n          {{ghost-text 50}}\\n        </td>\\n      </tr>\\n    {{/each}}\\n  {{/each}}\\n</table>\\n\",\"moduleName\":\"embercom/components/reporting/reports/conversations-most-engaging-message-and-bots.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/conversations-most-engaging-message-and-bots.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { hash, allSettled } from 'rsvp';\nimport {\n  NEW_CONVERSATIONS_EVENT_TYPE,\n  FILTER_AUTO_MESSAGES_CONVERSATION,\n  FILTER_CUSTOM_BOT_CONVERSATION,\n  FILTER_CUSTOM_BOT_AND_AUTO_MESSAGES_CONVERSATION,\n  GROUP_BY_CONVERSATION_MESSAGE_TYPE,\n  FILTER_STARTED_CONVERSATIONS,\n} from 'embercom/lib/reporting/events';\nimport {\n  topValuesSignalToContextSignal,\n  concatAndSortSignalWith,\n  prefixContextKey,\n  reverse,\n} from 'embercom/lib/reporting/signal-transformations';\n\nconst TOP_MESSAGES_PARAMS = {\n  valueUnit: 'conversations',\n  signalConfig: {\n    name: 'default_query',\n    document_type: 'events',\n    range_field: 'event.created_at',\n    aggregation_type: 'terms',\n    aggregation_field: 'conversation.message_id',\n    keys_are_dates: false,\n  },\n  aggregations: [],\n  filters: {\n    ...NEW_CONVERSATIONS_EVENT_TYPE,\n    ...FILTER_AUTO_MESSAGES_CONVERSATION,\n    ...FILTER_STARTED_CONVERSATIONS,\n  },\n};\n\nconst TOP_CUSTOM_BOTS_PARAMS = {\n  valueUnit: 'conversations',\n  signalConfig: {\n    name: 'default_query',\n    document_type: 'events',\n    range_field: 'event.created_at',\n    aggregation_type: 'terms',\n    aggregation_field: 'current.conversation.custom_bot_id',\n    keys_are_dates: false,\n  },\n  aggregations: [],\n  filters: {\n    ...NEW_CONVERSATIONS_EVENT_TYPE,\n    ...FILTER_CUSTOM_BOT_CONVERSATION,\n    ...FILTER_STARTED_CONVERSATIONS,\n  },\n};\n\nconst ALL_SIGNAL = {\n  valueUnit: 'conversations',\n  signalConfig: {\n    name: 'default_query',\n    document_type: 'events',\n    range_field: 'event.created_at',\n    keys_are_dates: false,\n    aggregation_type: 'value_count',\n    aggregation_field: 'conversation.id',\n  },\n  aggregations: [GROUP_BY_CONVERSATION_MESSAGE_TYPE],\n  filters: {\n    ...NEW_CONVERSATIONS_EVENT_TYPE,\n    ...FILTER_CUSTOM_BOT_AND_AUTO_MESSAGES_CONVERSATION,\n    ...FILTER_STARTED_CONVERSATIONS,\n  },\n};\n\nconst modelToRoute = model => {\n  switch (model.constructor.modelName) {\n    case 'operator/custom-bot':\n      return 'apps.app.operator.custom-bots.custom-bot.show';\n    case 'message':\n      return 'apps.app.outbound.message';\n  }\n};\n\nconst keyToLabelFallback = key => {\n  let [prefix, id] = key.split(':');\n  switch (prefix) {\n    case 'operator/custom-bot':\n      return `Custom Bot ID ${id} (Deleted)`;\n    case 'message':\n      return `Message ID ${id} (Deleted)`;\n  }\n};\n\nexport default Component.extend({\n  reportingService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  store: service(),\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.fetchSignalsAndModels.perform();\n  },\n\n  topListCount: 5,\n\n  fetchTopModels: task(function*(keys) {\n    let models = yield allSettled(\n      keys.map(key => {\n        let [modelName, id] = key.split(':');\n        return this.store.findRecord(modelName, id, { backgroundReload: false });\n      }),\n    );\n\n    return models.map(result => (result.state === 'fulfilled' ? result.value : null));\n  }),\n\n  fetchSignals: task(function*() {\n    let signals = yield hash({\n      topMessages: this.reportingService.fetchStackedSignal(\n        {\n          debugName: 'top_messages_conversations',\n          ...TOP_MESSAGES_PARAMS,\n          range: this.range,\n        },\n        signal => signal.transform(topValuesSignalToContextSignal, prefixContextKey('message')),\n      ),\n      topCustomBots: this.reportingService.fetchStackedSignal(\n        {\n          debugName: 'top_custom_bot_conversations',\n          ...TOP_CUSTOM_BOTS_PARAMS,\n          range: this.range,\n        },\n        signal =>\n          signal.transform(topValuesSignalToContextSignal, prefixContextKey('operator/custom-bot')),\n      ),\n      allSignal: this.reportingService.fetchStackedSignal({\n        debugName: 'all_messages_and_bots_conversations',\n        ...ALL_SIGNAL,\n        range: this.range,\n      }),\n    });\n\n    return {\n      combinedTopSignal: signals.topMessages.transform(\n        concatAndSortSignalWith(signals.topCustomBots),\n        reverse,\n      ),\n      allSignal: signals.allSignal,\n    };\n  }),\n\n  fetchSignalsAndModels: task(function*() {\n    let { combinedTopSignal, allSignal } = yield this.fetchSignals.perform();\n\n    let modelKeys = combinedTopSignal.context.slice(0, this.topListCount).map(c => c.key);\n    let models = yield this.fetchTopModels.perform(modelKeys);\n\n    let topListContext = combinedTopSignal.context\n      .slice(0, this.topListCount)\n      .map((bucket, index) => ({\n        ...bucket,\n        id: models[index] ? models[index].id : null,\n        label: models[index] ? models[index].title : keyToLabelFallback(bucket.key),\n        linkRoute: models[index] ? modelToRoute(models[index]) : null,\n      }));\n\n    let otherRow = {\n      key: 'others',\n      label: 'All others',\n      value: allSignal.originalValue - topListContext.reduce((sum, c) => sum + c.value, 0),\n      previousValue:\n        allSignal.previousValue -\n        topListContext.reduce((sum, c) => sum + (c.previousValue || 0), 0),\n    };\n\n    topListContext = [...topListContext, ...(otherRow.value > 0 ? [otherRow] : [])];\n\n    this.set('data', {\n      topListContext,\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table class=\\\"tbl tbl__reporting__table u__mt__10 u__mb__0\\\" data-test-table>\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <tr>\\n    <td class=\\\"tbl__cell text-gray\\\">\\n      URL\\n    </td>\\n    <td class=\\\"tbl__cell text-gray t__right\\\">\\n      Conversations\\n    </td>\\n    <td class=\\\"tbl__cell t__left\\\"></td>\\n  </tr>\\n  {{#each this.data as |bucket index|}}\\n    <Reporting::Element::TableDataRow\\n      @testKey={{bucket.key}}\\n      @currentValue={{bucket.value}}\\n      @previousValue={{bucket.previousValue}}\\n      @label={{bucket.label}}\\n      @labelLinkHref={{if (not (eq bucket.label \\\"All others\\\")) bucket.label}}\\n      @labelLinkTo={{bucket.id}}\\n      @expandLabelTextToTooltip={{not (eq bucket.label \\\"All others\\\")}}\\n      @improvementDirection=\\\"increasing\\\"\\n      @notChangedText=\\\"—\\\"\\n      @analyticsObject=\\\"top_urls\\\"\\n      @hideDelta={{@hideDelta}}\\n      @opensInNewTab={{true}}\\n    />\\n  {{else}}\\n    {{#each (array 1 2 3 4 5 6) as |index|}}\\n      <tr class=\\\"tbl__data-row\\\">\\n        <td class=\\\"tbl__cell w-full\\\">\\n          {{ghost-text 200}}\\n        </td>\\n        <td class=\\\"tbl__cell t__right\\\">\\n          {{ghost-text 50}}\\n        </td>\\n        <td class=\\\"tbl__cell t__left\\\">\\n          {{ghost-text 50}}\\n        </td>\\n      </tr>\\n    {{/each}}\\n  {{/each}}\\n</table>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<table class=\\\"tbl tbl__reporting__table u__mt__10 u__mb__0\\\" data-test-table>\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n  <tr>\\n    <td class=\\\"tbl__cell text-gray\\\">\\n      URL\\n    </td>\\n    <td class=\\\"tbl__cell text-gray t__right\\\">\\n      Conversations\\n    </td>\\n    <td class=\\\"tbl__cell t__left\\\"></td>\\n  </tr>\\n  {{#each this.data as |bucket index|}}\\n    <Reporting::Element::TableDataRow\\n      @testKey={{bucket.key}}\\n      @currentValue={{bucket.value}}\\n      @previousValue={{bucket.previousValue}}\\n      @label={{bucket.label}}\\n      @labelLinkHref={{if (not (eq bucket.label \\\"All others\\\")) bucket.label}}\\n      @labelLinkTo={{bucket.id}}\\n      @expandLabelTextToTooltip={{not (eq bucket.label \\\"All others\\\")}}\\n      @improvementDirection=\\\"increasing\\\"\\n      @notChangedText=\\\"—\\\"\\n      @analyticsObject=\\\"top_urls\\\"\\n      @hideDelta={{@hideDelta}}\\n      @opensInNewTab={{true}}\\n    />\\n  {{else}}\\n    {{#each (array 1 2 3 4 5 6) as |index|}}\\n      <tr class=\\\"tbl__data-row\\\">\\n        <td class=\\\"tbl__cell w-full\\\">\\n          {{ghost-text 200}}\\n        </td>\\n        <td class=\\\"tbl__cell t__right\\\">\\n          {{ghost-text 50}}\\n        </td>\\n        <td class=\\\"tbl__cell t__left\\\">\\n          {{ghost-text 50}}\\n        </td>\\n      </tr>\\n    {{/each}}\\n  {{/each}}\\n</table>\\n\",\"moduleName\":\"embercom/components/reporting/reports/conversations-top-urls.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/conversations-top-urls.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport {\n  NEW_CONVERSATIONS_EVENT_TYPE,\n  FILTER_INBOUND_CONVERSATION,\n  GROUP_BY_CONVERSATION_MESSAGE_TYPE,\n  FILTER_STARTED_CONVERSATIONS,\n} from 'embercom/lib/reporting/events';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { readOnly } from '@ember/object/computed';\nimport { hash } from 'rsvp';\nimport { topValuesSignalToContextSignal } from 'embercom/lib/reporting/signal-transformations';\n\nconst TOP_URLS_INBOUND = {\n  valueUnit: 'conversations',\n  signalConfig: {\n    name: 'default_query',\n    document_type: 'events',\n    range_field: 'event.created_at',\n    aggregation_type: 'terms',\n    aggregation_field: 'conversation.url',\n    keys_are_dates: false,\n  },\n  aggregations: [],\n  filters: {\n    ...NEW_CONVERSATIONS_EVENT_TYPE,\n    ...FILTER_INBOUND_CONVERSATION,\n    ...FILTER_STARTED_CONVERSATIONS,\n  },\n};\n\nconst ALL_INBOUND = {\n  valueUnit: 'conversations',\n  signalConfig: {\n    name: 'default_query',\n    document_type: 'events',\n    range_field: 'event.created_at',\n    keys_are_dates: false,\n    aggregation_type: 'value_count',\n    aggregation_field: 'conversation.id',\n  },\n  aggregations: [GROUP_BY_CONVERSATION_MESSAGE_TYPE],\n  filters: {\n    ...NEW_CONVERSATIONS_EVENT_TYPE,\n    ...FILTER_INBOUND_CONVERSATION,\n    ...FILTER_STARTED_CONVERSATIONS,\n  },\n};\n\nexport default Component.extend({\n  reportingService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  topListCount: 5,\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.fetchSignals.perform();\n  },\n\n  fetchSignals: task(function*() {\n    let signals = yield hash({\n      topUrls: this.reportingService.fetchStackedSignal(\n        {\n          debugName: 'top_urls_conversations',\n          ...TOP_URLS_INBOUND,\n          range: this.range,\n        },\n        signal => signal.transform(topValuesSignalToContextSignal),\n      ),\n      allInbound: this.reportingService.fetchStackedSignal({\n        debugName: 'all_inbound_conversations_count',\n        ...ALL_INBOUND,\n        range: this.range,\n      }),\n    });\n\n    let topUrlsContext = signals.topUrls.context\n      .slice(0, this.topListCount)\n      .map(context => ({ ...context, label: context.key }));\n\n    let otherRow = {\n      key: 'others',\n      label: 'All others',\n      value: signals.allInbound.originalValue - topUrlsContext.reduce((sum, c) => sum + c.value, 0),\n      previousValue:\n        signals.allInbound.previousValue -\n        topUrlsContext.reduce((sum, c) => sum + (c.previousValue || 0), 0),\n    };\n\n    topUrlsContext = [...topUrlsContext, ...(otherRow.value > 0 ? [otherRow] : [])];\n\n    this.set('data', topUrlsContext);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"closed conversations on first contact rate\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width={{@width}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-closed-on-first-contact-columnchart\\\"\\n/>\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"closed conversations on first contact rate\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width={{@width}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-closed-on-first-contact-columnchart\\\"\\n/>\",\"moduleName\":\"embercom/components/reporting/reports/effectiveness/closed-on-first-contact-columnchart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/effectiveness/closed-on-first-contact-columnchart.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  COUNT,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n  IS_RESOLVED_FIRST_CONTACT,\n} from 'embercom/lib/reporting/flexible/constants';\n\nexport default class ClosedOnFirstContactColumnchart extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.aggregations = { defaultOption: COUNT };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT],\n        createTitleTooltipText: () => {\n          return 'The percentage of conversations that were closed once with one participating teammate, grouped by the date the first end-user message was sent at.';\n        },\n      },\n    };\n    viewConfig.formatUnit = {\n      unit: units.percent,\n      displayUnit: 'of closed conversations',\n    };\n\n    return viewConfig;\n  }\n  get dataConfig() {\n    return {\n      xAxis: {\n        type: 'temporal',\n        data: {\n          interval: FILTER_PROPERTY_PLACEHOLDER,\n          property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n        },\n      },\n      series: [\n        {\n          name: 'closed_on_first_contact_all_columnchart',\n          source: 'conversation_with_message_thread',\n          type: COUNT,\n          data: {\n            property: IS_RESOLVED_FIRST_CONTACT,\n          },\n          time: {\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n        {\n          name: 'closed_on_first_contact_filtered_columnchart',\n          source: 'conversation_with_message_thread',\n          type: COUNT,\n          data: {\n            property: IS_RESOLVED_FIRST_CONTACT,\n          },\n          time: {\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n          filter: {\n            type: 'category',\n            data: {\n              property: IS_RESOLVED_FIRST_CONTACT,\n              values: [true],\n            },\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"closed conversations on first contact rate\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @width={{@width}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"closed-on-first-contact-counter\\\"\\n/>\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"closed conversations on first contact rate\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @width={{@width}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"closed-on-first-contact-counter\\\"\\n/>\",\"moduleName\":\"embercom/components/reporting/reports/effectiveness/closed-on-first-contact-counter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/effectiveness/closed-on-first-contact-counter.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  COUNT,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n  IS_RESOLVED_FIRST_CONTACT,\n} from 'embercom/lib/reporting/flexible/constants';\nimport { improvementDirections } from 'embercom/components/reporting/element/summary-comparison';\n\nexport default class ClosedOnFirstContactCounter extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.percent };\n    viewConfig.aggregations = { defaultOption: COUNT };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT],\n        isComparison: true,\n        createTitleTooltipText: () => {\n          return 'The percentage of conversations that were closed once with one participating teammate.';\n        },\n      },\n    };\n    viewConfig.counter = {\n      closed_on_first_contact_filtered: {\n        improvementDirection: improvementDirections.INCREASING,\n      },\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      series: [\n        {\n          name: 'closed_on_first_contact_filtered',\n          source: 'conversation_with_message_thread',\n          type: COUNT,\n          data: {\n            property: IS_RESOLVED_FIRST_CONTACT,\n          },\n          time: {\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n          filter: {\n            type: 'category',\n            data: {\n              property: IS_RESOLVED_FIRST_CONTACT,\n              values: [true],\n            },\n          },\n        },\n        {\n          name: 'closed_on_first_contact_all',\n          source: 'conversation_with_message_thread',\n          type: COUNT,\n          data: {\n            property: IS_RESOLVED_FIRST_CONTACT,\n          },\n          time: {\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"time to first assignment\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @persistentDataConfig={{@persistentDataConfig}}\\n  @width={{@width}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"first-assigment-time-columnchart\\\"\\n/>\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"time to first assignment\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @persistentDataConfig={{@persistentDataConfig}}\\n  @width={{@width}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"first-assigment-time-columnchart\\\"\\n/>\",\"moduleName\":\"embercom/components/reporting/reports/effectiveness/first-assignment-time-columnchart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/effectiveness/first-assignment-time-columnchart.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  MEDIAN,\n  MEAN,\n  MIN,\n  MAX,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n  ASSIGNMENT_BEFORE_FIRST_ADMIN_REPLY_TIME,\n} from 'embercom/lib/reporting/flexible/constants';\nimport { botInboxAndOfficeHoursField } from 'embercom/lib/reporting/office-hours-field';\n\nexport default class FirstAssignmentTimeColumnchart extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.seconds };\n    viewConfig.aggregations = { defaultOption: MEDIAN, rest: [MIN, MAX, MEAN] };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT],\n        createTitleTooltipText: aggregation => {\n          return `The ${aggregation} amount of time for conversations to be assigned before a teammate reply, grouped by the date the first end-user message was sent at.`;\n        },\n      },\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      xAxis: {\n        type: 'temporal',\n        data: {\n          interval: FILTER_PROPERTY_PLACEHOLDER,\n          property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n        },\n      },\n      series: [\n        {\n          name: 'first_assignment_time_columnchart',\n          source: 'conversation_with_message_thread',\n          type: MEDIAN,\n          data: {\n            property: this.aggregationProperty,\n          },\n          filter: {\n            type: 'range',\n            data: {\n              operators: ['gt'],\n              property: this.aggregationProperty,\n              values: [0],\n            },\n          },\n          time: {\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n      ],\n    };\n  }\n\n  get aggregationProperty() {\n    return botInboxAndOfficeHoursField(\n      ASSIGNMENT_BEFORE_FIRST_ADMIN_REPLY_TIME,\n      this.args.settings.reportingExcludeOooHours,\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"time to first assignment\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @width={{@width}}\\n  @persistentDataConfig={{@persistentDataConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"first-assignment-time-counter\\\"\\n/>\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"time to first assignment\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @width={{@width}}\\n  @persistentDataConfig={{@persistentDataConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"first-assignment-time-counter\\\"\\n/>\",\"moduleName\":\"embercom/components/reporting/reports/effectiveness/first-assignment-time-counter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/effectiveness/first-assignment-time-counter.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  MEDIAN,\n  MEAN,\n  MIN,\n  MAX,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n  ASSIGNMENT_BEFORE_FIRST_ADMIN_REPLY_TIME,\n} from 'embercom/lib/reporting/flexible/constants';\nimport { improvementDirections } from 'embercom/components/reporting/element/summary-comparison';\nimport { botInboxAndOfficeHoursField } from 'embercom/lib/reporting/office-hours-field';\n\nexport default class FirstAssignmentTimeCounter extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.seconds };\n    viewConfig.aggregations = { defaultOption: MEDIAN, rest: [MIN, MAX, MEAN] };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT],\n        isComparison: true,\n        createTitleTooltipText: aggregation => {\n          return `The ${aggregation} amount of time for conversations to be assigned before a teammate reply.`;\n        },\n      },\n    };\n    viewConfig.counter = {\n      first_assignment_time_counter: {\n        improvementDirection: improvementDirections.DECREASING,\n      },\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      series: [\n        {\n          name: 'first_assignment_time_counter',\n          source: 'conversation_with_message_thread',\n          type: MEDIAN,\n          data: {\n            property: this.aggregationProperty,\n          },\n          filter: {\n            type: 'range',\n            data: {\n              operators: ['gt'],\n              property: this.aggregationProperty,\n              values: [0],\n            },\n          },\n          time: {\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n      ],\n    };\n  }\n\n  get aggregationProperty() {\n    return botInboxAndOfficeHoursField(\n      ASSIGNMENT_BEFORE_FIRST_ADMIN_REPLY_TIME,\n      this.args.settings.reportingExcludeOooHours,\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"first assignment time to close breakdown\\\"\\n  @id=\\\"first-assignment-to-close-breakdown\\\"\\n  @chartComponent=\\\"reporting/flexible/bucket-range-table\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @filters={{@filters}}\\n  @dashboard={{@dashboard}}\\n  @range={{@range}}\\n  @width=\\\"small\\\"\\n  @dataTestName=\\\"first-assignment-to-close-breakdown\\\"\\n/>\\n\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"first assignment time to close breakdown\\\"\\n  @id=\\\"first-assignment-to-close-breakdown\\\"\\n  @chartComponent=\\\"reporting/flexible/bucket-range-table\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @filters={{@filters}}\\n  @dashboard={{@dashboard}}\\n  @range={{@range}}\\n  @width=\\\"small\\\"\\n  @dataTestName=\\\"first-assignment-to-close-breakdown\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/reports/effectiveness/first-assignment-to-close-breakdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/effectiveness/first-assignment-to-close-breakdown.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport {\n  COUNT,\n  MEDIAN,\n  MEAN,\n  MAX,\n  MIN,\n  CONVERSATION_CREATED_AT,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n  LAST_ASSIGNMENT_TO_CLOSE_TIME,\n} from 'embercom/lib/reporting/flexible/constants';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport { botInboxAndOfficeHoursField } from 'embercom/lib/reporting/office-hours-field';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\n\nexport default class FirstAssignmentToCloseBreakdown extends Component {\n  get dataConfig() {\n    return {\n      series: [\n        {\n          name: 'first-assignment-to-close-breakdown',\n          source: 'conversation_with_message_thread',\n          type: 'range',\n          data: {\n            property: botInboxAndOfficeHoursField(\n              LAST_ASSIGNMENT_TO_CLOSE_TIME,\n              this.args.settings.reportingExcludeOooHours,\n            ),\n            ranges: [\n              { to: 5 * 60 },\n              { from: 5 * 60, to: 15 * 60 },\n              { from: 15 * 60, to: 30 * 60 },\n              { from: 30 * 60, to: 60 * 60 },\n              { from: 60 * 60, to: 3 * 60 * 60 },\n              { from: 3 * 60 * 60, to: 8 * 60 * 60 },\n              { from: 8 * 60 * 60 },\n            ],\n          },\n          time: {\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n      ],\n    };\n  }\n\n  get viewConfig() {\n    return this.buildViewConfig({\n      unit: units.percent,\n      aggregations: { defaultOption: COUNT },\n      groupings: {\n        defaultOption: GROUPINGS[CONVERSATION_CREATED_AT],\n      },\n      tableChart: {\n        columns: [\n          { label: 'First assignment time to close', valuePath: 'bucketRange' },\n          { label: '% conversations', valuePath: 'percentage' },\n        ],\n      },\n    });\n  }\n\n  buildViewConfig({\n    unit,\n    displayUnit = '',\n    aggregations = { defaultOption: MEDIAN, rest: [MIN, MAX, MEAN] },\n    groupings,\n    tableChart = {},\n    counter = {},\n  }) {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.aggregations = aggregations;\n    if (Object.keys(groupings).length) {\n      viewConfig.groupings = groupings;\n    }\n    viewConfig.formatUnit = { unit, displayUnit };\n    viewConfig.counter = counter;\n    viewConfig.tableChart = tableChart;\n\n    return viewConfig;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"time from first assignment to close\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @width={{@width}}\\n  @persistentDataConfig={{@persistentDataConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"first-assignment-to-last-close-time-columnchart\\\"\\n/>\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"time from first assignment to close\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @width={{@width}}\\n  @persistentDataConfig={{@persistentDataConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"first-assignment-to-last-close-time-columnchart\\\"\\n/>\",\"moduleName\":\"embercom/components/reporting/reports/effectiveness/first-assignment-to-last-close-time-columnchart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/effectiveness/first-assignment-to-last-close-time-columnchart.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  MEDIAN,\n  MEAN,\n  MIN,\n  MAX,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n  LAST_ASSIGNMENT_TO_CLOSE_TIME,\n} from 'embercom/lib/reporting/flexible/constants';\nimport { botInboxAndOfficeHoursField } from 'embercom/lib/reporting/office-hours-field';\n\nexport default class FirstAssignmentToLastCloseTimeColumnchart extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.seconds };\n    viewConfig.aggregations = { defaultOption: MEDIAN, rest: [MIN, MAX, MEAN] };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT],\n        createTitleTooltipText: aggregation => {\n          return `The ${aggregation} amount of time from the last conversation assignment (before the first teammate reply) to close, grouped by the date the conversation was created at.`;\n        },\n      },\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      xAxis: {\n        type: 'temporal',\n        data: {\n          interval: FILTER_PROPERTY_PLACEHOLDER,\n          property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n        },\n      },\n      series: [\n        {\n          name: 'first_assignment_to_last_close_time_columnchart',\n          source: 'conversation_with_message_thread',\n          type: MEDIAN,\n          data: {\n            property: this.aggregationProperty,\n          },\n          filter: {\n            type: 'range',\n            data: {\n              operators: ['gt'],\n              property: this.aggregationProperty,\n              values: [0],\n            },\n          },\n          time: {\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n      ],\n    };\n  }\n\n  get aggregationProperty() {\n    return botInboxAndOfficeHoursField(\n      LAST_ASSIGNMENT_TO_CLOSE_TIME,\n      this.args.settings.reportingExcludeOooHours,\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"time from first assignment to close\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @width={{@width}}\\n  @dashboard={{@dashboard}}\\n  @persistentDataConfig={{@persistentDataConfig}}\\n  @dataTestName=\\\"first-assignment-to-last-close-time-counter\\\"\\n/>\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"time from first assignment to close\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @width={{@width}}\\n  @dashboard={{@dashboard}}\\n  @persistentDataConfig={{@persistentDataConfig}}\\n  @dataTestName=\\\"first-assignment-to-last-close-time-counter\\\"\\n/>\",\"moduleName\":\"embercom/components/reporting/reports/effectiveness/first-assignment-to-last-close-time-counter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/effectiveness/first-assignment-to-last-close-time-counter.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  MEDIAN,\n  MEAN,\n  MIN,\n  MAX,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n  LAST_ASSIGNMENT_TO_CLOSE_TIME,\n} from 'embercom/lib/reporting/flexible/constants';\nimport { improvementDirections } from 'embercom/components/reporting/element/summary-comparison';\nimport { botInboxAndOfficeHoursField } from 'embercom/lib/reporting/office-hours-field';\n\nexport default class FirstAssignmentToLastCloseTimeCounter extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.seconds };\n    viewConfig.aggregations = { defaultOption: MEDIAN, rest: [MIN, MAX, MEAN] };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT],\n        isComparison: true,\n        createTitleTooltipText: aggregation => {\n          return `The ${aggregation} amount of time from the last conversation assignment (before the first teammate reply) to close.`;\n        },\n      },\n    };\n    viewConfig.counter = {\n      first_assignment_to_last_close_time_counter: {\n        improvementDirection: improvementDirections.DECREASING,\n      },\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      series: [\n        {\n          name: 'first_assignment_to_last_close_time_counter',\n          source: 'conversation_with_message_thread',\n          type: MEDIAN,\n          data: {\n            property: this.aggregationProperty,\n          },\n          filter: {\n            type: 'range',\n            data: {\n              operators: ['gt'],\n              property: this.aggregationProperty,\n              values: [0],\n            },\n          },\n          time: {\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n      ],\n    };\n  }\n\n  get aggregationProperty() {\n    return botInboxAndOfficeHoursField(\n      LAST_ASSIGNMENT_TO_CLOSE_TIME,\n      this.args.settings.reportingExcludeOooHours,\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"teammate replies to close a conversation\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width={{@width}}\\n  @persistentDataConfig={{@persistentDataConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"number-of-teammate-replies-to-close-columnchart\\\"\\n/>\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"teammate replies to close a conversation\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width={{@width}}\\n  @persistentDataConfig={{@persistentDataConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"number-of-teammate-replies-to-close-columnchart\\\"\\n/>\",\"moduleName\":\"embercom/components/reporting/reports/effectiveness/number-of-teammate-replies-to-close-columnchart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/effectiveness/number-of-teammate-replies-to-close-columnchart.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  MEDIAN,\n  MIN,\n  MAX,\n  MEAN,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n  CLUSTERED_TEAMMATE_REPLIES_COUNT,\n  CONVERSATION_STATE,\n} from 'embercom/lib/reporting/flexible/constants';\n\nexport default class NumberOfTeammateRepliesToCloseColumnchart extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.aggregations = { defaultOption: MEDIAN, rest: [MIN, MAX, MEAN] };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT],\n        createTitleTooltipText: aggregation => {\n          return `The ${aggregation} number of replies for teammates to close conversations, grouped by the date the first end-user message was sent. If teammates send multiple replies before an end-user responds, they’ll only count as one reply.`;\n        },\n      },\n    };\n    viewConfig.formatUnit = {\n      unit: units.value,\n      displayUnit: 'reply',\n    };\n\n    return viewConfig;\n  }\n  get dataConfig() {\n    return {\n      xAxis: {\n        type: 'temporal',\n        data: {\n          interval: FILTER_PROPERTY_PLACEHOLDER,\n          property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n        },\n      },\n      series: [\n        {\n          name: 'number_of_teammate_replies_to_close_columnchart',\n          source: 'conversation_with_message_thread',\n          type: MEDIAN,\n          data: {\n            property: CLUSTERED_TEAMMATE_REPLIES_COUNT,\n          },\n          time: {\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n          filter: {\n            type: 'and',\n            filters: [\n              {\n                type: 'category',\n                data: {\n                  property: CONVERSATION_STATE,\n                  values: ['closed'],\n                },\n              },\n              {\n                type: 'range',\n                data: {\n                  operators: ['gte'],\n                  property: CLUSTERED_TEAMMATE_REPLIES_COUNT,\n                  values: [1],\n                },\n              },\n            ],\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"teammate replies to close a conversation\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @width={{@width}}\\n  @persistentDataConfig={{@persistentDataConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"number-of-teammate-replies-to-close-counter\\\"\\n/>\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"teammate replies to close a conversation\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @width={{@width}}\\n  @persistentDataConfig={{@persistentDataConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"number-of-teammate-replies-to-close-counter\\\"\\n/>\",\"moduleName\":\"embercom/components/reporting/reports/effectiveness/number-of-teammate-replies-to-close-counter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/effectiveness/number-of-teammate-replies-to-close-counter.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n  CLUSTERED_TEAMMATE_REPLIES_COUNT,\n  CONVERSATION_STATE,\n  MIN,\n  MAX,\n  MEAN,\n  MEDIAN,\n} from 'embercom/lib/reporting/flexible/constants';\nimport { improvementDirections } from 'embercom/components/reporting/element/summary-comparison';\n\nexport default class numberOfTeammateRepliesToCloseCounter extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.value };\n    viewConfig.aggregations = { defaultOption: MEDIAN, rest: [MIN, MAX, MEAN] };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT],\n        isComparison: true,\n        createTitleTooltipText: aggregation => {\n          return `The ${aggregation} number of replies for teammates to close conversations. If teammates send multiple replies before an end-user responds, they’ll only count as one reply.`;\n        },\n      },\n    };\n    viewConfig.counter = {\n      number_of_teammate_replies_to_close_counter: {\n        improvementDirection: improvementDirections.DECREASING,\n      },\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      series: [\n        {\n          name: 'number_of_teammate_replies_to_close_counter',\n          source: 'conversation_with_message_thread',\n          type: MEDIAN,\n          data: {\n            property: CLUSTERED_TEAMMATE_REPLIES_COUNT,\n          },\n          time: {\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n          filter: {\n            type: 'and',\n            filters: [\n              {\n                type: 'category',\n                data: {\n                  property: CONVERSATION_STATE,\n                  values: ['closed'],\n                },\n              },\n              {\n                type: 'range',\n                data: {\n                  operators: ['gte'],\n                  property: CLUSTERED_TEAMMATE_REPLIES_COUNT,\n                  values: [1],\n                },\n              },\n            ],\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"conversations reassigned\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @width={{@width}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"reassignments-columnchart\\\"\\n/>\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"conversations reassigned\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @width={{@width}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"reassignments-columnchart\\\"\\n/>\",\"moduleName\":\"embercom/components/reporting/reports/effectiveness/reassignments-columnchart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/effectiveness/reassignments-columnchart.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  COUNT,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n  REASSIGNMENTS_COUNT_AFTER_ADMIN_REPLY,\n} from 'embercom/lib/reporting/flexible/constants';\n\nexport default class ReassignmentsColumnchart extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.value, displayUnit: 'conversation' };\n    viewConfig.aggregations = { defaultOption: COUNT };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT],\n        createTitleTooltipText: () => {\n          return 'The number of conversations that have been assigned more than once after a teammate reply, grouped by the date the first end-user message was sent at.';\n        },\n      },\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      xAxis: {\n        type: 'temporal',\n        data: {\n          interval: FILTER_PROPERTY_PLACEHOLDER,\n          property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n        },\n      },\n      series: [\n        {\n          name: 'reassignments_columnchart',\n          source: 'conversation_with_message_thread',\n          type: COUNT,\n          data: {\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n          },\n          time: {\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n          filter: {\n            type: 'range',\n            data: {\n              operators: ['gte'],\n              property: REASSIGNMENTS_COUNT_AFTER_ADMIN_REPLY,\n              values: [1],\n            },\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"conversations reassigned\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @width={{@width}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"reassignments-counter\\\"\\n/>\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"conversations reassigned\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @width={{@width}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"reassignments-counter\\\"\\n/>\",\"moduleName\":\"embercom/components/reporting/reports/effectiveness/reassignments-counter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/effectiveness/reassignments-counter.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  COUNT,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n  REASSIGNMENTS_COUNT_AFTER_ADMIN_REPLY,\n} from 'embercom/lib/reporting/flexible/constants';\nimport { improvementDirections } from 'embercom/components/reporting/element/summary-comparison';\n\nexport default class ReassignmentsCounter extends Component {\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.value };\n    viewConfig.aggregations = { defaultOption: COUNT };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT],\n        isComparison: true,\n        createTitleTooltipText: () => {\n          return 'The number of conversations that have been assigned more than once after a teammate reply.';\n        },\n      },\n    };\n    viewConfig.counter = {\n      reassignments_counter: {\n        improvementDirection: improvementDirections.DECREASING,\n      },\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      series: [\n        {\n          name: 'reassignments_counter',\n          source: 'conversation_with_message_thread',\n          type: COUNT,\n          data: {\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n          },\n          time: {\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n          filter: {\n            type: 'range',\n            data: {\n              operators: ['gte'],\n              property: REASSIGNMENTS_COUNT_AFTER_ADMIN_REPLY,\n              values: [1],\n            },\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"conversations replied to\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width=\\\"small\\\"\\n  @range={{@range}}\\n  @filters={{this.modifiedFilters}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-replied-conversations-counter\\\"\\n/>\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"conversations replied to\\\"\\n  @chartComponent=\\\"reporting/flexible/comparison-counter\\\"\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @width=\\\"small\\\"\\n  @range={{@range}}\\n  @filters={{this.modifiedFilters}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-replied-conversations-counter\\\"\\n/>\",\"moduleName\":\"embercom/components/reporting/reports/effectiveness/replied-to-conversations-counter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/effectiveness/replied-to-conversations-counter.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  CARDINALITY,\n  COMMENT_CREATED_AT,\n  CONVERSATION_ID,\n} from 'embercom/lib/reporting/flexible/constants';\nimport { improvementDirections } from 'embercom/components/reporting/element/summary-comparison';\n\nconst seriesName = 'conversations_replied_to_counter';\n\nexport default class RepliedToConversationsCounter extends Component {\n  get modifiedFilters() {\n    let newFilters = { ...this.args.filters };\n\n    if (newFilters.admin_participant_ids) {\n      newFilters.teammate_id = newFilters.admin_participant_ids;\n      delete newFilters.admin_participant_ids;\n    }\n\n    return newFilters;\n  }\n\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.value };\n    viewConfig.aggregations = { defaultOption: CARDINALITY };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[COMMENT_CREATED_AT],\n        isComparison: true,\n        createTitleTooltipText: () => {\n          return 'The number of conversations that a teammate replied to. Note that the conversations included in this chart may have been started prior to the selected date range.';\n        },\n      },\n    };\n    viewConfig.counter = {\n      [seriesName]: {\n        improvementDirection: improvementDirections.INCREASING,\n      },\n    };\n\n    return viewConfig;\n  }\n\n  get dataConfig() {\n    return {\n      series: [\n        {\n          name: seriesName,\n          source: 'teammate_reply',\n          type: CARDINALITY,\n          data: { property: CONVERSATION_ID },\n          time: {\n            property: COMMENT_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n<h4 class=\\\"t__h4\\\">\\n  Breakdown by source\\n</h4>\\n{{#if this.fetchSignals.lastSuccessful}}\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <table class=\\\"tbl tbl__reporting__table u__mt__10 u__mb__0\\\" data-test-table>\\n    {{!-- template-lint-enable intercom/no-custom-table --}}\\n    <tr>\\n      <td class=\\\"tbl__cell\\\">\\n        <h4 class=\\\"t__h4\\\">\\n          Inbound\\n        </h4>\\n      </td>\\n      <td class=\\\"tbl__cell t__right\\\" data-test-category-group-total=\\\"inbound\\\">\\n        {{format-percentage-reports (or this.data.inbound.originalValue 0)}}\\n      </td>\\n      <td class=\\\"tbl__cell t__left\\\">\\n        <Reporting::Element::SummaryComparison\\n          @currentValue={{or this.data.inbound.originalValue 0}}\\n          @previousValue={{or this.data.inbound.previousValue 0}}\\n          @valueUnit=\\\"percent\\\"\\n          @improvementDirection=\\\"increasing\\\"\\n          @notChangedText=\\\"—\\\"\\n          @hideDelta={{@hideDelta}}\\n        />\\n      </td>\\n    </tr>\\n    {{#each this.data.inbound.context as |bucket|}}\\n      {{#let (find-by \\\"key\\\" bucket.key this.categories) as |category|}}\\n        <Reporting::Element::TableDataRow\\n          @testKey={{bucket.key}}\\n          @currentValue={{bucket.value}}\\n          @previousValue={{bucket.previousValue}}\\n          @label={{category.label}}\\n          class=\\\"o__row-before-gap\\\"\\n          @unit=\\\"percent\\\"\\n          @notChangedText=\\\"—\\\"\\n          @hideDelta={{@hideDelta}}\\n        />\\n      {{/let}}\\n    {{/each}}\\n    <tr class=\\\"tbl__row-gap\\\">\\n      <td colspan=\\\"3\\\"></td>\\n    </tr>\\n    <tr>\\n      <td class=\\\"tbl__cell\\\">\\n        <h4 class=\\\"t__h4\\\">\\n          Outbound\\n        </h4>\\n      </td>\\n      <td class=\\\"tbl__cell t__right\\\" data-test-category-group-total=\\\"outbound\\\">\\n        {{format-percentage (or this.data.outbound.originalValue 0)}}\\n      </td>\\n      <td class=\\\"tbl__cell t__left\\\">\\n        <Reporting::Element::SummaryComparison\\n          @currentValue={{or this.data.outbound.originalValue 0}}\\n          @previousValue={{or this.data.outbound.previousValue 0}}\\n          @valueUnit=\\\"percent\\\"\\n          @improvementDirection=\\\"increasing\\\"\\n          @notChangedText=\\\"—\\\"\\n          @hideDelta={{@hideDelta}}\\n        />\\n      </td>\\n    </tr>\\n    {{#each this.data.outbound.context as |bucket|}}\\n      {{#let (find-by \\\"key\\\" bucket.key this.categories) as |category|}}\\n        <Reporting::Element::TableDataRow\\n          @testKey={{bucket.key}}\\n          @currentValue={{or bucket.value 0}}\\n          @previousValue={{or bucket.previousValue 0}}\\n          @label={{category.label}}\\n          @unit=\\\"percent\\\"\\n          @notChangedText=\\\"—\\\"\\n          @hideDelta={{@hideDelta}}\\n        />\\n      {{/let}}\\n    {{/each}}\\n  </table>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n<h4 class=\\\"t__h4\\\">\\n  Breakdown by source\\n</h4>\\n{{#if this.fetchSignals.lastSuccessful}}\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <table class=\\\"tbl tbl__reporting__table u__mt__10 u__mb__0\\\" data-test-table>\\n    {{!-- template-lint-enable intercom/no-custom-table --}}\\n    <tr>\\n      <td class=\\\"tbl__cell\\\">\\n        <h4 class=\\\"t__h4\\\">\\n          Inbound\\n        </h4>\\n      </td>\\n      <td class=\\\"tbl__cell t__right\\\" data-test-category-group-total=\\\"inbound\\\">\\n        {{format-percentage-reports (or this.data.inbound.originalValue 0)}}\\n      </td>\\n      <td class=\\\"tbl__cell t__left\\\">\\n        <Reporting::Element::SummaryComparison\\n          @currentValue={{or this.data.inbound.originalValue 0}}\\n          @previousValue={{or this.data.inbound.previousValue 0}}\\n          @valueUnit=\\\"percent\\\"\\n          @improvementDirection=\\\"increasing\\\"\\n          @notChangedText=\\\"—\\\"\\n          @hideDelta={{@hideDelta}}\\n        />\\n      </td>\\n    </tr>\\n    {{#each this.data.inbound.context as |bucket|}}\\n      {{#let (find-by \\\"key\\\" bucket.key this.categories) as |category|}}\\n        <Reporting::Element::TableDataRow\\n          @testKey={{bucket.key}}\\n          @currentValue={{bucket.value}}\\n          @previousValue={{bucket.previousValue}}\\n          @label={{category.label}}\\n          class=\\\"o__row-before-gap\\\"\\n          @unit=\\\"percent\\\"\\n          @notChangedText=\\\"—\\\"\\n          @hideDelta={{@hideDelta}}\\n        />\\n      {{/let}}\\n    {{/each}}\\n    <tr class=\\\"tbl__row-gap\\\">\\n      <td colspan=\\\"3\\\"></td>\\n    </tr>\\n    <tr>\\n      <td class=\\\"tbl__cell\\\">\\n        <h4 class=\\\"t__h4\\\">\\n          Outbound\\n        </h4>\\n      </td>\\n      <td class=\\\"tbl__cell t__right\\\" data-test-category-group-total=\\\"outbound\\\">\\n        {{format-percentage (or this.data.outbound.originalValue 0)}}\\n      </td>\\n      <td class=\\\"tbl__cell t__left\\\">\\n        <Reporting::Element::SummaryComparison\\n          @currentValue={{or this.data.outbound.originalValue 0}}\\n          @previousValue={{or this.data.outbound.previousValue 0}}\\n          @valueUnit=\\\"percent\\\"\\n          @improvementDirection=\\\"increasing\\\"\\n          @notChangedText=\\\"—\\\"\\n          @hideDelta={{@hideDelta}}\\n        />\\n      </td>\\n    </tr>\\n    {{#each this.data.outbound.context as |bucket|}}\\n      {{#let (find-by \\\"key\\\" bucket.key this.categories) as |category|}}\\n        <Reporting::Element::TableDataRow\\n          @testKey={{bucket.key}}\\n          @currentValue={{or bucket.value 0}}\\n          @previousValue={{or bucket.previousValue 0}}\\n          @label={{category.label}}\\n          @unit=\\\"percent\\\"\\n          @notChangedText=\\\"—\\\"\\n          @hideDelta={{@hideDelta}}\\n        />\\n      {{/let}}\\n    {{/each}}\\n  </table>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/reporting/reports/new-conversations-breakdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/new-conversations-breakdown.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport {\n  FILTER_STARTED_CONVERSATIONS,\n  GROUP_BY_CONVERSATION_MESSAGE_TYPE,\n  NEW_CONVERSATIONS_EVENT_TYPE,\n} from 'embercom/lib/reporting/events';\nimport { NEW_CONVERSATIONS_EVENTS } from 'embercom/lib/reporting/queries';\nimport {\n  asPercentages,\n  filterContextKeys,\n  reverse,\n  sortContext,\n  sumBucketsToCategories,\n} from 'embercom/lib/reporting/signal-transformations';\n\nconst BREAKDOWN_FETCH_SIGNAL_PARAMS = {\n  valueUnit: 'new conversations',\n  signalConfig: {\n    ...NEW_CONVERSATIONS_EVENTS,\n    keys_are_dates: false,\n  },\n  aggregations: [GROUP_BY_CONVERSATION_MESSAGE_TYPE],\n  filters: {\n    ...NEW_CONVERSATIONS_EVENT_TYPE,\n    ...FILTER_STARTED_CONVERSATIONS,\n  },\n};\n\nconst BREAKDOWN_CATEGORIES_INBOUND = [\n  {\n    key: 'incoming_message',\n    label: 'New incoming message',\n    sumKeys: ['UserMessage'],\n  },\n];\n\nconst BREAKDOWN_CATEGORIES_OUTBOUND = [\n  {\n    key: 'replied_to_ongoing_message',\n    label: 'Replied to ongoing message',\n    sumKeys: ['AutoMessage', 'VisitorAutoMessage', 'CampaignMessage'],\n  },\n  {\n    key: 'replied_to_custom_bot',\n    label: 'Replied to custom bot',\n    sumKeys: ['BotAutoMessage', 'TriggeredMessage'],\n  },\n  {\n    key: 'replied_to_one_off_message',\n    label: 'Replied to one-off message',\n    sumKeys: ['ManualMessage'],\n  },\n  {\n    key: 'reacted_to_article',\n    label: 'Reacted to Help Center article',\n    sumKeys: ['DisplayableContent'],\n  },\n];\n\nconst BREAKDOWN_CATEGORIES = [...BREAKDOWN_CATEGORIES_INBOUND, ...BREAKDOWN_CATEGORIES_OUTBOUND];\n\nexport default Component.extend({\n  reportingService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.fetchSignals.perform();\n  },\n\n  categories: BREAKDOWN_CATEGORIES,\n\n  fetchSignals: task(function*() {\n    let signal = yield this.reportingService.fetchStackedSignal(\n      {\n        debugName: 'new_conversations_breakdown',\n        ...BREAKDOWN_FETCH_SIGNAL_PARAMS,\n        range: this.range,\n      },\n      signal =>\n        signal.transform(\n          sumBucketsToCategories(BREAKDOWN_CATEGORIES),\n          asPercentages,\n          sortContext,\n          reverse,\n        ),\n    );\n\n    this.set('data', {\n      inbound: signal.transform(filterContextKeys(BREAKDOWN_CATEGORIES_INBOUND.map(c => c.key))),\n      outbound: signal.transform(filterContextKeys(BREAKDOWN_CATEGORIES_OUTBOUND.map(c => c.key))),\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::FetchReport\\n  @debugName=\\\"new_conversations_timeline\\\"\\n  @query={{this.query}}\\n  @filters={{this.filters}}\\n  @groupings={{this.groupings}}\\n  @unit=\\\"new conversations\\\"\\n  @range={{@range}}\\n  @groupOverTime={{true}}\\n  @signalType=\\\"comparison\\\" as |report|\\n>\\n  <Reporting::Element::Summary\\n    @currentValue={{or report.value 0}}\\n    @previousValue={{or report.previousValue 0}}\\n    @improvementDirection=\\\"increasing\\\"\\n    @range={{@range}}\\n    @notChangedText=\\\"—\\\"\\n    @hideDelta={{@hideDelta}}\\n  />\\n  <div class=\\\"h-5\\\"></div>\\n  <Reporting::ChartContainer @height={{280}} @isLoading={{not report}}>\\n    <Reporting::Chart::StackedBar\\n      @signal={{report}}\\n      @color=\\\"vis-blue-40\\\"\\n    />\\n  </Reporting::ChartContainer>\\n</Reporting::FetchReport>\\n\", {\"contents\":\"<Reporting::FetchReport\\n  @debugName=\\\"new_conversations_timeline\\\"\\n  @query={{this.query}}\\n  @filters={{this.filters}}\\n  @groupings={{this.groupings}}\\n  @unit=\\\"new conversations\\\"\\n  @range={{@range}}\\n  @groupOverTime={{true}}\\n  @signalType=\\\"comparison\\\" as |report|\\n>\\n  <Reporting::Element::Summary\\n    @currentValue={{or report.value 0}}\\n    @previousValue={{or report.previousValue 0}}\\n    @improvementDirection=\\\"increasing\\\"\\n    @range={{@range}}\\n    @notChangedText=\\\"—\\\"\\n    @hideDelta={{@hideDelta}}\\n  />\\n  <div class=\\\"h-5\\\"></div>\\n  <Reporting::ChartContainer @height={{280}} @isLoading={{not report}}>\\n    <Reporting::Chart::StackedBar\\n      @signal={{report}}\\n      @color=\\\"vis-blue-40\\\"\\n    />\\n  </Reporting::ChartContainer>\\n</Reporting::FetchReport>\\n\",\"moduleName\":\"embercom/components/reporting/reports/new-conversations-timeline.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/new-conversations-timeline.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  query: {\n    name: 'default_query',\n    debug_name: 'new-conversations-timeline',\n    document_type: 'conversation_with_message_thread',\n    range_field: 'first_user_conversation_part_created_at',\n    aggregation_type: 'value_count',\n    aggregation_field: 'first_user_conversation_part_created_at',\n    nested_keys_are_dates: false,\n  },\n  groupings: [],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Table\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{this.filters}}\\n  @columns={{this.columns}}\\n  @headingText='Teammates'\\n  @enableDownloadCSV={{false}}\\n  @analyticsObject={{@analyticsObject}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName='flexible-overview-teammate-table'\\n>\\n  <Reporting::Flexible::TableLocalFilters\\n    @analyticsObject={{@analyticsObject}}\\n    @onTeamFilterSelection={{this.onTeamFilterSelection}}\\n    @onTeammateFilterSelection={{this.onTeammateFilterSelection}}\\n  />\\n</Reporting::Flexible::Table>\", {\"contents\":\"<Reporting::Flexible::Table\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{this.filters}}\\n  @columns={{this.columns}}\\n  @headingText='Teammates'\\n  @enableDownloadCSV={{false}}\\n  @analyticsObject={{@analyticsObject}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName='flexible-overview-teammate-table'\\n>\\n  <Reporting::Flexible::TableLocalFilters\\n    @analyticsObject={{@analyticsObject}}\\n    @onTeamFilterSelection={{this.onTeamFilterSelection}}\\n    @onTeammateFilterSelection={{this.onTeammateFilterSelection}}\\n  />\\n</Reporting::Flexible::Table>\",\"moduleName\":\"embercom/components/reporting/reports/overview/teammate-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/overview/teammate-table.hbs\"}});\nimport Component from '@glimmer/component';\nimport Formatters, { units } from 'embercom/lib/reporting/flexible/formatters';\nimport { isEmpty, pick } from 'underscore';\nimport percent, { toPercentString } from 'embercom/lib/percentage-formatter';\nimport { tracked } from '@glimmer/tracking';\nimport { A } from '@ember/array';\nimport { inject as service } from '@ember/service';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { bind } from '@ember/runloop';\nimport { action } from '@ember/object';\nimport { officeHoursField } from 'embercom/lib/reporting/office-hours-field';\n\nconst TEAM_TEAMMATE_DEFAULT_FILTER_NAME = 'admin_participant_ids';\n\nexport default class TeammateTable extends Component {\n  @service appService;\n  @tracked filteredTeammates = A([]);\n  filterSelectedTeamTeammates = [];\n  filterSelectedTeammates = [];\n\n  constructor() {\n    super(...arguments);\n    this.timeFormatter = new Formatters[units.seconds]();\n    // to prevent rebuilding of a potentially expensive map\n    this.precalculatedAllTeammatesMap = this.getTeammates();\n  }\n\n  get filters() {\n    if (!this.filteredTeammates || this.filterSelectedTeammates.length === 0) {\n      return {};\n    }\n\n    return { [TEAM_TEAMMATE_DEFAULT_FILTER_NAME]: this.filteredTeammates };\n  }\n\n  get columns() {\n    return [\n      {\n        label: 'Name',\n        isMain: true,\n        valuePath: 'groupName',\n        component: 'reporting/flexible/table-teammate-cell',\n        componentData: this.teammatesMap,\n        // this is required to support sorting not on response values but on derive data instead\n        // e.g. we can't simply sort by teammate names because we have only teammate ids returned\n        // in the response. This function is used to map teammate ids (stored in `groupName`)\n        // to teammate names\n        getRowValue: row => this.teammateName(row.groupName),\n        aliases: { 'row-summary': 'Summary of teammates' },\n        isSortable: true,\n        sortingHelper: row => this.teammateName(row.groupName),\n      },\n      {\n        label: 'Participated',\n        valuePath: 'col-participated',\n        type: 'number',\n        isSortable: true,\n        tooltip: 'The number of unique conversations replied to.',\n      },\n      {\n        label: 'Closed by teammate',\n        valuePath: 'col-closed',\n        type: 'number',\n        isSortable: true,\n        tooltip: 'The number of unique conversations closed by teammates.',\n      },\n      {\n        label: 'Median response time',\n        valuePath: 'col-mrt',\n        isSortable: true,\n        type: 'number',\n        formatter: bind(this, this.formatTime),\n        minWidth: '160px',\n        tooltip:\n          'The median time to reply to customers at any point during a conversation, including the first response and any subsequent response.',\n      },\n      {\n        label: '🤩 or 😀',\n        csvLabel: 'Very high or high conversation rating',\n        valuePath: 'col-group-csat',\n        type: 'number',\n        isSortable: true,\n        component: 'reporting/flexible/table-csat-cell',\n        sortingHelper: row => this.getPercentageForSorting(row['col-group-csat']),\n        getRowValue: row => this.formatPercentage(row['col-group-csat']),\n        minWidth: '100px',\n        tooltip:\n          'The percentage of positively rated conversations, out of all conversations rated.',\n      },\n    ];\n  }\n\n  get dataConfig() {\n    return {\n      columns: [\n        {\n          name: 'col-participated',\n          filter: {\n            type: 'exists',\n            data: {\n              property: 'teammate_id',\n            },\n          },\n          filterAlias: {\n            admin_participant_ids: 'teammate_id',\n          },\n          source: 'teammate_reply',\n          aggregation: {\n            type: 'cardinality',\n            data: {\n              property: 'conversation_id',\n            },\n          },\n          time: {\n            property: 'comment_created_at',\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n        {\n          name: 'col-closed',\n          filter: {\n            type: 'and',\n            filters: [\n              {\n                type: 'category',\n                data: {\n                  property: 'new_conversation_state',\n                  values: ['closed'],\n                },\n              },\n              {\n                type: 'exists',\n                data: {\n                  property: 'teammate_id',\n                },\n              },\n            ],\n          },\n          source: 'reporting_conversation_part',\n          aggregation: {\n            type: 'cardinality',\n            data: {\n              property: 'conversation_id',\n            },\n          },\n          time: {\n            property: 'comment_created_at',\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n        {\n          name: 'col-mrt',\n          filter: {\n            type: 'exists',\n            data: {\n              property: 'teammate_id',\n            },\n          },\n          filterAlias: {\n            admin_participant_ids: 'teammate_id',\n          },\n          source: 'teammate_response',\n          aggregation: {\n            type: 'median',\n            data: {\n              property: officeHoursField(\n                'response_time',\n                this.args.settings.reportingExcludeOooHours,\n              ),\n            },\n          },\n          time: {\n            property: 'conversation_created_at',\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n        {\n          name: 'col-group-csat_[value]',\n          filter: {\n            type: 'and',\n            filters: [\n              {\n                type: 'category',\n                data: {\n                  property: 'rating_index',\n                  values: [4, 5],\n                },\n              },\n              {\n                type: 'exists',\n                data: {\n                  property: 'teammate_id',\n                },\n              },\n            ],\n          },\n          filterAlias: {\n            admin_participant_ids: 'teammate_id',\n          },\n          source: 'conversation_rating',\n          aggregation: {\n            type: 'count',\n            data: {\n              property: 'rating_updated_at',\n            },\n          },\n          time: {\n            property: 'rating_updated_at',\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n        {\n          name: 'col-group-csat_[total]',\n          filter: {\n            type: 'and',\n            filters: [\n              {\n                type: 'exists',\n                data: {\n                  property: 'teammate_id',\n                },\n              },\n              {\n                type: 'exists',\n                data: {\n                  property: 'rating_index',\n                },\n              },\n            ],\n          },\n          filterAlias: {\n            admin_participant_ids: 'teammate_id',\n          },\n          source: 'conversation_rating',\n          aggregation: {\n            type: 'count',\n            data: {\n              property: 'rating_updated_at',\n            },\n          },\n          time: {\n            property: 'rating_updated_at',\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n      ],\n      rows: [\n        {\n          name: 'row-teammates',\n          type: 'term',\n          ignoreFilters: {\n            // we're skipping participation filters for all teammate rows\n            columns: [\n              'col-participated',\n              'col-closed',\n              'col-mrt',\n              'col-group-csat_[value]',\n              'col-group-csat_[total]',\n            ],\n            filters: [TEAM_TEAMMATE_DEFAULT_FILTER_NAME],\n          },\n          data: {\n            term_size: 10000,\n            property: 'teammate_id',\n          },\n        },\n        {\n          name: 'row-summary',\n          type: 'allRecords',\n          ignoreFilters: {\n            // we're skipping participation filters for all teammate rows\n            columns: ['col-participated', 'col-closed'],\n            filters: [TEAM_TEAMMATE_DEFAULT_FILTER_NAME],\n          },\n          // custom functions to calculate column value for a specific row. Only single-type rows are supported\n          columnCustomFunctions: [\n            {\n              columnName: 'col-participated',\n              customFunction: this.sumRowValues('col-participated'),\n            },\n            {\n              columnName: 'col-closed',\n              customFunction: this.sumRowValues('col-closed'),\n            },\n          ],\n        },\n      ],\n    };\n  }\n\n  get viewConfig() {\n    return {\n      rowsVisible: 10,\n      rowOrder: [{ position: 0, valuePath: 'groupName', value: 'row-summary' }],\n      sortState: { valuePath: 'col-participated', direction: 'desc' },\n      // allows controlling row visibility based on the data returned from the server\n      isVisibleRow: row => {\n        return !isEmpty(this.teammatesMap[row.groupName]) || row.groupName === 'row-summary';\n      },\n      // allows merging front-end defined rows with rows fetched from the server\n      mergeableRows: {\n        // property of a row based on which merging happens\n        valuePath: 'groupName',\n        // front-end defined rows as map to speed up merging\n        getRowsMap: () =>\n          Object.values(this.teammatesMap).reduce((acc, t) => {\n            acc[t.id] = { groupName: t.id };\n            return acc;\n          }, {}),\n      },\n    };\n  }\n\n  sumRowValues(columnName) {\n    return rows => rows.reduce((sum, r) => sum + (r[columnName] || 0), 0);\n  }\n\n  get teammatesMap() {\n    if (isEmpty(this.filteredTeammates)) {\n      return this.precalculatedAllTeammatesMap;\n    }\n\n    let result = pick(this.precalculatedAllTeammatesMap, ...this.filteredTeammates);\n    return result;\n  }\n\n  teammateName(teammateId) {\n    let teammate = this.teammatesMap[teammateId];\n    return teammate ? teammate.name : 'unknown';\n  }\n\n  formatTime(value) {\n    let result = value ? this.timeFormatter.formatCounter(value) : '-';\n    return result;\n  }\n\n  formatPercentage(complexValue) {\n    if (!complexValue || !complexValue.total) {\n      return '-';\n    }\n\n    let rawPercentage = percent(complexValue.total, complexValue.value || 0);\n    let percentageValue = toPercentString(rawPercentage, 2);\n    return `${percentageValue} (${complexValue.total})`;\n  }\n\n  getPercentageForSorting(complexValue) {\n    if (!complexValue || !complexValue.total) {\n      return -1;\n    }\n\n    return percent(complexValue.total, complexValue.value || 0);\n  }\n\n  getTeammates() {\n    let admins = this.appService.app.humanAdmins;\n    return admins.reduce((acc, a) => {\n      acc[a.id] = {\n        id: a.id,\n        name: a.name,\n        avatar: a.avatar,\n      };\n\n      return acc;\n    }, {});\n  }\n\n  get teamsData() {\n    let admins = this.appService.app.assignableAdmins;\n    return admins.filter(admin => admin.isTeam);\n  }\n\n  @action\n  onTeamFilterSelection(selectedFilterItems) {\n    let selectedTeams = this.teamsData.filter(td => selectedFilterItems.includes(td.id));\n\n    if (!selectedTeams) {\n      return;\n    }\n\n    this.filterSelectedTeamTeammates = selectedTeams.flatMap(st => st.member_ids);\n    this.filteredTeammates.setObjects(\n      this.filterSelectedTeamTeammates.concat(this.filterSelectedTeammates),\n    );\n  }\n\n  @action\n  onTeammateFilterSelection(selectedFilterItems) {\n    if (!selectedFilterItems) {\n      return;\n    }\n\n    this.filterSelectedTeammates = selectedFilterItems;\n    this.filteredTeammates.setObjects(\n      this.filterSelectedTeammates.concat(this.filterSelectedTeamTeammates),\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n<h4 class=\\\"t__h4\\\">\\n  Breakdown by the first interaction\\n</h4>\\n<div class=\\\"h-5\\\"></div>\\n<Reporting::FetchReport\\n  @debugName=\\\"new_people_breakdown\\\"\\n  @query={{this.query}}\\n  @filters={{this.filters}}\\n  @groupings={{this.groupings}}\\n  @unit=\\\"new people\\\"\\n  @range={{@range}}\\n  @transforms={{this.transforms}}\\n  @groupOverTime={{false}}\\n  @signalType=\\\"comparison\\\" as |report|\\n>\\n  <Reporting::ChartContainer @isLoading={{not report}} @height={{69}}>\\n    <Reporting::Chart::HorizontalBar\\n      @size=\\\"small\\\"\\n      @report={{report}}\\n      @keys={{map-by \\\"key\\\" this.categories}}\\n      @keyColorHash={{this.categoriesColors}}\\n      @unit=\\\"people\\\"\\n      @tooltips={{hash\\n        started_new_conversation=\\\"Started a new conversation\\\"\\n        replied_to_message_or_bot=\\\"Replied to a message or bot\\\"\\n        reacted_to_article=\\\"Reacted to Help Center article\\\"\\n        other=\\\"No interaction\\\"\\n      }}\\n    />\\n  </Reporting::ChartContainer>\\n  <div class=\\\"h-2\\\"></div>\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <table class=\\\"tbl tbl__reporting__table u__mt__0 u__mb__0\\\">\\n    {{!-- template-lint-enable intercom/no-custom-table --}}\\n    {{#if report}}\\n      {{#each this.categories as |category|}}\\n        <Reporting::Element::TableDataRow\\n          @testKey={{category.key}}\\n          @color={{category.color}}\\n          @labelTooltip={{category.tooltip}}\\n          @currentValue={{or\\n            (get (find-by \\\"key\\\" category.key report.context) \\\"value\\\")\\n            0\\n          }}\\n          @previousValue={{or\\n            (get (find-by \\\"key\\\" category.key report.previousContext) \\\"value\\\")\\n            0\\n          }}\\n          @label={{category.label}}\\n          @unit=\\\"percent\\\"\\n          @notChangedText=\\\"—\\\"\\n          @hideDelta={{@hideDelta}}\\n        />\\n      {{/each}}\\n    {{else}}\\n      {{#each (array 1 2 3 4) as |index|}}\\n        <tr class=\\\"tbl__data-row\\\">\\n          <td class=\\\"tbl__cell w-full\\\">\\n            {{ghost-text 200}}\\n          </td>\\n          <td class=\\\"tbl__cell t__right\\\">\\n            {{ghost-text 50}}\\n          </td>\\n          <td class=\\\"tbl__cell t__left\\\">\\n            {{ghost-text 50}}\\n          </td>\\n        </tr>\\n      {{/each}}\\n    {{/if}}\\n  </table>\\n</Reporting::FetchReport>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n<h4 class=\\\"t__h4\\\">\\n  Breakdown by the first interaction\\n</h4>\\n<div class=\\\"h-5\\\"></div>\\n<Reporting::FetchReport\\n  @debugName=\\\"new_people_breakdown\\\"\\n  @query={{this.query}}\\n  @filters={{this.filters}}\\n  @groupings={{this.groupings}}\\n  @unit=\\\"new people\\\"\\n  @range={{@range}}\\n  @transforms={{this.transforms}}\\n  @groupOverTime={{false}}\\n  @signalType=\\\"comparison\\\" as |report|\\n>\\n  <Reporting::ChartContainer @isLoading={{not report}} @height={{69}}>\\n    <Reporting::Chart::HorizontalBar\\n      @size=\\\"small\\\"\\n      @report={{report}}\\n      @keys={{map-by \\\"key\\\" this.categories}}\\n      @keyColorHash={{this.categoriesColors}}\\n      @unit=\\\"people\\\"\\n      @tooltips={{hash\\n        started_new_conversation=\\\"Started a new conversation\\\"\\n        replied_to_message_or_bot=\\\"Replied to a message or bot\\\"\\n        reacted_to_article=\\\"Reacted to Help Center article\\\"\\n        other=\\\"No interaction\\\"\\n      }}\\n    />\\n  </Reporting::ChartContainer>\\n  <div class=\\\"h-2\\\"></div>\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <table class=\\\"tbl tbl__reporting__table u__mt__0 u__mb__0\\\">\\n    {{!-- template-lint-enable intercom/no-custom-table --}}\\n    {{#if report}}\\n      {{#each this.categories as |category|}}\\n        <Reporting::Element::TableDataRow\\n          @testKey={{category.key}}\\n          @color={{category.color}}\\n          @labelTooltip={{category.tooltip}}\\n          @currentValue={{or\\n            (get (find-by \\\"key\\\" category.key report.context) \\\"value\\\")\\n            0\\n          }}\\n          @previousValue={{or\\n            (get (find-by \\\"key\\\" category.key report.previousContext) \\\"value\\\")\\n            0\\n          }}\\n          @label={{category.label}}\\n          @unit=\\\"percent\\\"\\n          @notChangedText=\\\"—\\\"\\n          @hideDelta={{@hideDelta}}\\n        />\\n      {{/each}}\\n    {{else}}\\n      {{#each (array 1 2 3 4) as |index|}}\\n        <tr class=\\\"tbl__data-row\\\">\\n          <td class=\\\"tbl__cell w-full\\\">\\n            {{ghost-text 200}}\\n          </td>\\n          <td class=\\\"tbl__cell t__right\\\">\\n            {{ghost-text 50}}\\n          </td>\\n          <td class=\\\"tbl__cell t__left\\\">\\n            {{ghost-text 50}}\\n          </td>\\n        </tr>\\n      {{/each}}\\n    {{/if}}\\n  </table>\\n</Reporting::FetchReport>\\n\",\"moduleName\":\"embercom/components/reporting/reports/people-overview-breakdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/people-overview-breakdown.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport {\n  PERSON_IDENTIFIED_EVENT_TYPE,\n  GROUP_BY_USER_FIRST_CONVERSATION_MESSAGE_TYPE,\n} from 'embercom/lib/reporting/events';\nimport {\n  sumBucketsToCategories,\n  stackBucketsToPercents,\n} from 'embercom/lib/reporting/signal-transformations';\nimport { NEW_PEOPLE_BY_USER } from 'embercom/lib/reporting/queries';\n\nconst BREAKDOWN_CATEGORIES = [\n  {\n    key: 'started_new_conversation',\n    label: 'Started new conversation',\n    color: 'vis-green-40',\n    sumKeys: ['UserMessage'],\n  },\n  {\n    key: 'replied_to_message_or_bot',\n    label: 'Replied to message or bot',\n    color: 'vis-green-60',\n    sumKeys: [\n      'BotAutoMessage',\n      'VisitorAutoMessage',\n      'AutoMessage',\n      'TriggeredMessage',\n      'ManualMessage',\n      'CampaignMessage',\n    ],\n  },\n  {\n    key: 'reacted_to_article',\n    label: 'Reacted to Help Center article',\n    tooltip:\n      'Any users or leads who started their first conversation from your Help Center or by reacting negatively to an article.',\n    color: 'vis-green-70',\n    sumKeys: ['DisplayableContent'],\n  },\n  {\n    key: 'other',\n    label: 'No interaction',\n    tooltip:\n      'Users or leads who were created without interacting with the Messenger, for example via an API call, CSV import, or user login.',\n    color: 'vis-green-80',\n    sumKeys: ['other'],\n  },\n];\n\nexport default Component.extend({\n  categoriesColors: BREAKDOWN_CATEGORIES.reduce(\n    (hash, cat) => ({ ...hash, [cat.key]: cat.color }),\n    {},\n  ),\n  categories: BREAKDOWN_CATEGORIES,\n\n  query: {\n    ...NEW_PEOPLE_BY_USER,\n    keys_are_dates: false,\n  },\n  filters: { ...PERSON_IDENTIFIED_EVENT_TYPE },\n  groupings: [GROUP_BY_USER_FIRST_CONVERSATION_MESSAGE_TYPE],\n  transforms: [sumBucketsToCategories(BREAKDOWN_CATEGORIES), stackBucketsToPercents],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Element::Summary\\n  @currentValue={{or this.signal.value 0}}\\n  @previousValue={{or this.signal.previousValue 0}}\\n  @improvementDirection=\\\"increasing\\\"\\n  @range={{@range}}\\n  @hideDelta={{@hideDelta}}\\n  @notChangedText=\\\"—\\\"\\n>\\n  <Reporting::Element::Legend\\n    @list={{array\\n      (hash label=\\\"Leads\\\" color=\\\"vis-blue-60\\\")\\n      (hash label=\\\"Users\\\" color=\\\"vis-blue-40\\\")\\n    }}\\n  />\\n</Reporting::Element::Summary>\\n<div class=\\\"h-5\\\"></div>\\n<Reporting::ChartContainer @height={{280}} @isLoading={{not this.signal}}>\\n  <Reporting::Chart::StackedBar\\n    @signal={{this.signal}}\\n    @keys={{array \\\"user\\\" \\\"lead\\\"}}\\n    @keyColorHash={{hash user=\\\"vis-blue-40\\\" lead=\\\"vis-blue-60\\\"\\n    }}\\n    @units={{hash user=\\\"users\\\" lead=\\\"leads\\\"}}\\n  />\\n</Reporting::ChartContainer>\\n\", {\"contents\":\"<Reporting::Element::Summary\\n  @currentValue={{or this.signal.value 0}}\\n  @previousValue={{or this.signal.previousValue 0}}\\n  @improvementDirection=\\\"increasing\\\"\\n  @range={{@range}}\\n  @hideDelta={{@hideDelta}}\\n  @notChangedText=\\\"—\\\"\\n>\\n  <Reporting::Element::Legend\\n    @list={{array\\n      (hash label=\\\"Leads\\\" color=\\\"vis-blue-60\\\")\\n      (hash label=\\\"Users\\\" color=\\\"vis-blue-40\\\")\\n    }}\\n  />\\n</Reporting::Element::Summary>\\n<div class=\\\"h-5\\\"></div>\\n<Reporting::ChartContainer @height={{280}} @isLoading={{not this.signal}}>\\n  <Reporting::Chart::StackedBar\\n    @signal={{this.signal}}\\n    @keys={{array \\\"user\\\" \\\"lead\\\"}}\\n    @keyColorHash={{hash user=\\\"vis-blue-40\\\" lead=\\\"vis-blue-60\\\"\\n    }}\\n    @units={{hash user=\\\"users\\\" lead=\\\"leads\\\"}}\\n  />\\n</Reporting::ChartContainer>\\n\",\"moduleName\":\"embercom/components/reporting/reports/people-overview-timeline.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/people-overview-timeline.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { PERSON_IDENTIFIED_EVENT_TYPE, GROUP_BY_USER_ROLE } from 'embercom/lib/reporting/events';\nimport { NEW_PEOPLE_BY_USER } from 'embercom/lib/reporting/queries';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nconst PEOPLE_CREATED = {\n  signalConfig: {\n    ...NEW_PEOPLE_BY_USER,\n    nested_keys_are_dates: false,\n  },\n  filters: PERSON_IDENTIFIED_EVENT_TYPE,\n};\n\nexport default Component.extend({\n  reportingService: service(),\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.fetchSignals.perform();\n  },\n\n  signal: readOnly('fetchSignals.lastSuccessful.value'),\n\n  fetchSignals: task(function*() {\n    return yield this.reportingService.fetchStackedSignal({\n      debugName: 'new_people_users_timeline',\n      ...PEOPLE_CREATED,\n      aggregations: [...this.range.baseAggregations, GROUP_BY_USER_ROLE],\n      range: this.range,\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"Conversations assigned by team\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @width={{@width}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-conversations-assigned-team-columnchart\\\"\\n/>\\n\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"Conversations assigned by team\\\"\\n  @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @width={{@width}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName=\\\"flexible-conversations-assigned-team-columnchart\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/reports/team-performance/conversations-assigned-team-columnchart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/team-performance/conversations-assigned-team-columnchart.hbs\"}});\nimport Component from '@glimmer/component';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  CARDINALITY,\n  COMMENT_TEAM_ASSIGNED,\n  COMMENT_CREATED_AT,\n  CONVERSATION_ID,\n} from 'embercom/lib/reporting/flexible/constants';\nimport { inject as service } from '@ember/service';\n\nexport default class ConversationsAssignedTeamColumnchart extends Component {\n  @service appService;\n  teams = this.appService.app.teams;\n\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.value, displayUnit: 'conversation' };\n    viewConfig.aggregations = { defaultOption: CARDINALITY };\n    viewConfig.seriesColors = [\n      PALETTE['vis-azure-50'],\n      PALETTE['vis-yellow-50'],\n      PALETTE['vis-mint-50'],\n      PALETTE['vis-salmon-50'],\n      PALETTE['vis-slateblue-50'],\n      PALETTE['vis-olive-50'],\n      PALETTE['vis-pink-50'],\n      PALETTE['vis-turquoise-50'],\n      PALETTE['vis-orange-50'],\n      PALETTE['vis-blue-50'],\n    ];\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[COMMENT_TEAM_ASSIGNED],\n        labelMappings: this.labelMappings,\n        defaultLabel: 'Deleted team',\n        isComparison: false,\n        createTitleTooltipText: () => {\n          return 'The number of unique conversations assigned to a team in the selected time period, ordered by the team name.';\n        },\n      },\n      rest: [],\n    };\n\n    return viewConfig;\n  }\n\n  get labelMappings() {\n    let teamMapping = {};\n    this.teams.forEach(team => (teamMapping[team.id] = team.display_as_assignee));\n    return teamMapping;\n  }\n\n  get dataConfig() {\n    return {\n      xAxis: {\n        type: 'nominal',\n        data: {\n          property: COMMENT_TEAM_ASSIGNED,\n        },\n      },\n      series: [\n        {\n          name: 'conversations_assigned_team_columnchart',\n          source: 'reporting_conversation_part',\n          type: CARDINALITY,\n          data: { property: CONVERSATION_ID },\n          time: {\n            property: COMMENT_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n          filter: {\n            type: 'range',\n            data: {\n              property: COMMENT_TEAM_ASSIGNED,\n              operators: ['gt'],\n              values: ['0'], //filter out unassigned teams\n            },\n          },\n        },\n      ],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Chart\\n  @title=\\\"first response time by team assigned\\\"\\n  @chartComponent=\\\"reporting/flexible/linechart\\\"\\n  @range={{@range}}\\n  @filters={{this.modifiedFilters}}\\n  @width={{@width}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @dashboard={{@dashboard}}\\n  @persistentDataConfig={{@persistentDataConfig}}\\n  @dataTestName=\\\"flexible-conversations-assigned-team-columnchart\\\"\\n/>\\n\", {\"contents\":\"<Reporting::Flexible::Chart\\n  @title=\\\"first response time by team assigned\\\"\\n  @chartComponent=\\\"reporting/flexible/linechart\\\"\\n  @range={{@range}}\\n  @filters={{this.modifiedFilters}}\\n  @width={{@width}}\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @dashboard={{@dashboard}}\\n  @persistentDataConfig={{@persistentDataConfig}}\\n  @dataTestName=\\\"flexible-conversations-assigned-team-columnchart\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/reports/team-performance/first-response-by-team-linechart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/team-performance/first-response-by-team-linechart.hbs\"}});\nimport Component from '@glimmer/component';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  LAST_TEAM_ASSIGNED_BEFORE_REPLY,\n  MEDIAN,\n  MIN,\n  MAX,\n  MEAN,\n  TEAMMATE_RESPONSE_TIME,\n  COMMENT_CREATED_AT,\n  TEAM_GROUPING_LIMIT,\n  TEAM_GROUPING_TERM_SIZE,\n  SORTING_LABEL_NAME,\n} from 'embercom/lib/reporting/flexible/constants';\nimport { botInboxAndOfficeHoursField } from 'embercom/lib/reporting/office-hours-field';\n\nimport { inject as service } from '@ember/service';\n\nexport default class FirstResponseByTeamLinechart extends Component {\n  @service appService;\n  teams = this.appService.app.teams;\n\n  get modifiedFilters() {\n    let newFilters = { ...this.args.filters };\n\n    if (newFilters.admin_participant_ids) {\n      newFilters.teammate_id = newFilters.admin_participant_ids;\n      delete newFilters.admin_participant_ids;\n    }\n\n    return newFilters;\n  }\n\n  get viewConfig() {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.formatUnit = { unit: units.seconds };\n    viewConfig.aggregations = { defaultOption: MEDIAN, rest: [MIN, MAX, MEAN] };\n    viewConfig.groupings = {\n      defaultOption: {\n        ...GROUPINGS[COMMENT_CREATED_AT],\n        isComparison: false,\n        createTitleTooltipText: () => {\n          return 'The median time to reply to the first incoming message in a conversation, grouped by the team assigned at the time of the first reply. Ordered by the team name.';\n        },\n      },\n      rest: [],\n    };\n\n    return viewConfig;\n  }\n\n  get labelMappings() {\n    let teamMapping = {};\n    this.teams.forEach(team => (teamMapping[team.id] = team.display_as_assignee));\n    return teamMapping;\n  }\n\n  get dataConfig() {\n    return {\n      //hack the yAxis to do a line per team\n      yAxis: {\n        type: 'nominal',\n        data: {\n          sorting: SORTING_LABEL_NAME,\n          limit: TEAM_GROUPING_LIMIT,\n          term_size: TEAM_GROUPING_TERM_SIZE,\n          exclude_missing_group: true,\n          labelMappings: this.labelMappings,\n          defaultLabel: 'Deleted team',\n          property: LAST_TEAM_ASSIGNED_BEFORE_REPLY,\n        },\n      },\n      xAxis: {\n        name: 'first_admin_reply_by_team',\n        type: 'temporal',\n        data: {\n          interval: FILTER_PROPERTY_PLACEHOLDER,\n          property: COMMENT_CREATED_AT,\n        },\n      },\n      series: [\n        {\n          source: 'initial_admin_reply',\n          type: MEDIAN,\n          data: {\n            property: botInboxAndOfficeHoursField(\n              TEAMMATE_RESPONSE_TIME,\n              this.args.settings.reportingExcludeOooHours,\n              this.botInboxTimeExcluded,\n            ),\n          },\n          time: {\n            property: COMMENT_CREATED_AT,\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n          filter: {\n            type: 'range',\n            data: {\n              property: LAST_TEAM_ASSIGNED_BEFORE_REPLY,\n              operators: ['gt'],\n              values: ['0'], //filter out unassigned teams\n            },\n          },\n        },\n      ],\n    };\n  }\n\n  get botInboxTimeExcluded() {\n    return this.args.botInboxTime?.[0] === 'excluded';\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::Flexible::Table\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @rawFilters={{@rawFilters}}\\n  @conversationAttributeDescriptors={{@conversationAttributeDescriptors}}\\n  @columns={{this.columns}}\\n  @headingText='Teammate performance'\\n  @enableDownloadCSV={{true}}\\n  @csvFilenamePrefix='teammate_performance'\\n  @analyticsObject={{@analyticsObject}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName='flexible-teammate-table'\\n/>\\n\", {\"contents\":\"<Reporting::Flexible::Table\\n  @dataConfig={{this.dataConfig}}\\n  @viewConfig={{this.viewConfig}}\\n  @range={{@range}}\\n  @filters={{@filters}}\\n  @rawFilters={{@rawFilters}}\\n  @conversationAttributeDescriptors={{@conversationAttributeDescriptors}}\\n  @columns={{this.columns}}\\n  @headingText='Teammate performance'\\n  @enableDownloadCSV={{true}}\\n  @csvFilenamePrefix='teammate_performance'\\n  @analyticsObject={{@analyticsObject}}\\n  @dashboard={{@dashboard}}\\n  @dataTestName='flexible-teammate-table'\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/reports/team-performance/teammate-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/reports/team-performance/teammate-table.hbs\"}});\nimport Component from '@glimmer/component';\nimport Formatters, { units } from 'embercom/lib/reporting/flexible/formatters';\nimport percent, { toPercentString } from 'embercom/lib/percentage-formatter';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { bind } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport {\n  botInboxAndOfficeHoursField,\n  timeTimeToCloseField,\n  officeHoursField,\n} from 'embercom/lib/reporting/office-hours-field';\nimport { isEmpty, pick, isObject, isArray } from 'underscore';\n\nconst TEAMMATE_PARTICIPATED_FILTER = 'admin_participant_ids';\nconst COMBINED_TEAM_TEAMMATES_FILTER = 'combined-same-filter-field';\n\nexport default class TeammateTable extends Component {\n  @service appService;\n\n  constructor() {\n    super(...arguments);\n    this.timeFormatter = new Formatters[units.seconds]();\n    // to prevent rebuilding of a potentially expensive map\n    this.precalculatedAllTeammatesMap = this.getTeammates();\n  }\n\n  get filteredTeammates() {\n    let teamFilterValues = this.args.filters[TEAMMATE_PARTICIPATED_FILTER];\n\n    if (isArray(teamFilterValues)) {\n      // if it's an array, we assume it's an array of teammate ids\n      return teamFilterValues.map(v => parseInt(v, 10));\n    } else if (\n      isObject(teamFilterValues) &&\n      teamFilterValues.type === COMBINED_TEAM_TEAMMATES_FILTER\n    ) {\n      // support a special case of colliding team and teammate ids when they use the same filter name\n      return teamFilterValues.values.flat().map(v => parseInt(v, 10));\n    }\n\n    return [];\n  }\n\n  get columns() {\n    return [\n      {\n        label: 'Name',\n        isMain: true,\n        valuePath: 'groupName',\n        component: 'reporting/flexible/table-teammate-cell',\n        componentData: this.teammatesMap,\n        // this is required to support sorting not on response values but on derive data instead\n        // e.g. we can't simply sort by teammate names because we have only teammate ids returned\n        // in the response. This function is used to map teammate ids (stored in `groupName`)\n        // to teammate names\n        getRowValue: row => this.teammateName(row.groupName),\n        // this is required to provide a display name for columns with cell component or formatter rendering when\n        // they need to render rows that they do not support.\n        // e.g. we need to render 'All teammates' row in a cell that shows teammate userpic and name\n        aliases: { 'row-summary': 'Summary of teammates' },\n        isSortable: true,\n        sortingHelper: row => this.teammateName(row.groupName),\n      },\n      {\n        label: 'Assigned',\n        valuePath: 'col-assigned',\n        type: 'number',\n        isSortable: true,\n        tooltip: 'The number of unique conversations assigned.',\n      },\n      {\n        label: 'Participated',\n        valuePath: 'col-participated',\n        type: 'number',\n        isSortable: true,\n        tooltip: 'The number of unique conversations replied to.',\n      },\n      {\n        label: 'Replies sent',\n        valuePath: 'col-replies',\n        isSortable: true,\n        type: 'number',\n        tooltip: 'The total number of replies sent.',\n      },\n      {\n        label: 'Closed by teammate',\n        valuePath: 'col-closed',\n        type: 'number',\n        isSortable: true,\n        tooltip: 'The number of unique conversations closed by teammates.',\n      },\n      {\n        label: '🤩 or 😀',\n        csvLabel: 'Very high or high conversation rating',\n        valuePath: 'col-group-csat',\n        type: 'number',\n        isSortable: true,\n        component: 'reporting/flexible/table-csat-cell',\n        sortingHelper: row => this.getPercentageForSorting(row['col-group-csat']),\n        getRowValue: row => this.formatPercentage(row['col-group-csat']),\n        minWidth: '145px',\n        tooltip:\n          'The percentage of positively rated conversations, out of all conversations rated.',\n      },\n      {\n        label: 'Median response time',\n        labelCanWrap: true,\n        valuePath: 'col-mrt',\n        isSortable: true,\n        type: 'number',\n        formatter: bind(this, this.formatTime),\n        minWidth: '160px',\n        tooltip:\n          'The median time to reply to customers at any point during a conversation, including the first response and any subsequent response.',\n      },\n      {\n        label: 'Median first response time',\n        labelCanWrap: true,\n        valuePath: 'col-mfrt',\n        isSortable: true,\n        type: 'number',\n        formatter: bind(this, this.formatTime),\n        minWidth: '190px',\n        tooltip: 'The median time to reply to the first incoming message in a conversation.',\n      },\n      {\n        label: 'Median time to close',\n        labelCanWrap: true,\n        valuePath: 'col-mtc',\n        isSortable: true,\n        type: 'number',\n        formatter: bind(this, this.formatTime),\n        minWidth: '140px',\n        tooltip:\n          'The median time to close a conversation. Calculated from the date of the first customer message or reply, to the date it was last closed.',\n      },\n      {\n        label: 'Notes',\n        valuePath: 'col-notes',\n        isSortable: true,\n        type: 'number',\n        tooltip: 'The number of internal notes created.',\n      },\n      {\n        label: 'Mentions',\n        valuePath: 'col-mentions',\n        isSortable: true,\n        type: 'number',\n        tooltip: 'The number of mentions in internal notes.',\n      },\n    ];\n  }\n\n  get dataConfig() {\n    return {\n      columns: [\n        {\n          name: 'col-assigned',\n          groupAlias: {\n            teammate_id: 'comment_admin_assignee_id',\n          },\n          filter: {\n            type: 'range',\n            data: {\n              property: 'comment_admin_assignee_id',\n              operators: ['gt'],\n              values: ['0'],\n            },\n          },\n          source: 'reporting_conversation_part',\n          aggregation: {\n            type: 'cardinality',\n            data: {\n              property: 'conversation_id',\n            },\n          },\n          time: {\n            property: 'comment_created_at',\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n        {\n          name: 'col-participated',\n          filter: {\n            type: 'exists',\n            data: {\n              property: 'teammate_id',\n            },\n          },\n          filterAlias: {\n            admin_participant_ids: 'teammate_id',\n          },\n          source: 'teammate_reply',\n          aggregation: {\n            type: 'cardinality',\n            data: {\n              property: 'conversation_id',\n            },\n          },\n          time: {\n            property: 'comment_created_at',\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n        {\n          name: 'col-closed',\n          filter: {\n            type: 'and',\n            filters: [\n              {\n                type: 'category',\n                data: {\n                  property: 'new_conversation_state',\n                  values: ['closed'],\n                },\n              },\n              {\n                type: 'exists',\n                data: {\n                  property: 'teammate_id',\n                },\n              },\n            ],\n          },\n          source: 'reporting_conversation_part',\n          aggregation: {\n            type: 'cardinality',\n            data: {\n              property: 'conversation_id',\n            },\n          },\n          time: {\n            property: 'comment_created_at',\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n        {\n          name: 'col-group-csat_[value]',\n          filter: {\n            type: 'and',\n            filters: [\n              {\n                type: 'category',\n                data: {\n                  property: 'rating_index',\n                  values: [4, 5],\n                },\n              },\n              {\n                type: 'exists',\n                data: {\n                  property: 'teammate_id',\n                },\n              },\n            ],\n          },\n          filterAlias: {\n            admin_participant_ids: 'teammate_id',\n          },\n          source: 'conversation_rating',\n          aggregation: {\n            type: 'count',\n            data: {\n              property: 'rating_updated_at',\n            },\n          },\n          time: {\n            property: 'rating_updated_at',\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n        {\n          name: 'col-group-csat_[total]',\n          filter: {\n            type: 'and',\n            filters: [\n              {\n                type: 'exists',\n                data: {\n                  property: 'teammate_id',\n                },\n              },\n              {\n                type: 'exists',\n                data: {\n                  property: 'rating_index',\n                },\n              },\n            ],\n          },\n          filterAlias: {\n            admin_participant_ids: 'teammate_id',\n          },\n          source: 'conversation_rating',\n          aggregation: {\n            type: 'count',\n            data: {\n              property: 'rating_updated_at',\n            },\n          },\n          time: {\n            property: 'rating_updated_at',\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n        {\n          name: 'col-mrt',\n          filter: {\n            type: 'exists',\n            data: {\n              property: 'teammate_id',\n            },\n          },\n          filterAlias: {\n            admin_participant_ids: 'teammate_id',\n          },\n          source: 'teammate_response',\n          aggregation: {\n            type: 'median',\n            data: {\n              property: officeHoursField(\n                'response_time',\n                this.args.settings.reportingExcludeOooHours,\n              ),\n            },\n          },\n          time: {\n            // conversation_created_at field is used on purpose to make it consistent with the same metric on other dashboards\n            property: 'conversation_created_at',\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n        {\n          name: 'col-mfrt',\n          filter: {\n            type: 'exists',\n            data: {\n              property: 'teammate_id',\n            },\n          },\n          filterAlias: {\n            admin_participant_ids: 'teammate_id',\n          },\n          source: 'initial_admin_reply',\n          aggregation: {\n            type: 'median',\n            data: {\n              property: botInboxAndOfficeHoursField(\n                'response_time',\n                this.args.settings.reportingExcludeOooHours,\n                this.botInboxTimeExcluded,\n              ),\n            },\n          },\n          time: {\n            // conversation_created_at field is used on purpose to make it consistent with the same metric on other dashboards\n            property: 'conversation_created_at',\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n        this.dataConfigForTimeToClose,\n        {\n          name: 'col-notes',\n          filter: {\n            type: 'and',\n            filters: [\n              {\n                type: 'exists',\n                data: {\n                  property: 'teammate_id',\n                },\n              },\n              {\n                type: 'category',\n                data: {\n                  property: 'is_note',\n                  values: [true],\n                },\n              },\n            ],\n          },\n          source: 'reporting_conversation_part',\n          aggregation: {\n            type: 'count',\n            data: {\n              property: 'comment_created_at',\n            },\n          },\n          time: {\n            property: 'comment_created_at',\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n        {\n          name: 'col-replies',\n          filter: {\n            type: 'exists',\n            data: {\n              property: 'teammate_id',\n            },\n          },\n          filterAlias: {\n            admin_participant_ids: 'teammate_id',\n          },\n          source: 'teammate_reply',\n          aggregation: {\n            type: 'count',\n            data: {\n              property: 'comment_created_at',\n            },\n          },\n          time: {\n            property: 'comment_created_at',\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n        {\n          name: 'col-mentions',\n          groupAlias: {\n            teammate_id: 'mentions',\n          },\n          filter: {\n            type: 'exists',\n            data: {\n              property: 'mentions',\n            },\n          },\n          source: 'reporting_conversation_part',\n          aggregation: {\n            type: 'count',\n            data: {\n              property: 'comment_created_at',\n            },\n          },\n          time: {\n            property: 'comment_created_at',\n            start: FILTER_PROPERTY_PLACEHOLDER,\n            end: FILTER_PROPERTY_PLACEHOLDER,\n          },\n        },\n      ],\n      rows: [\n        {\n          name: 'row-teammates',\n          type: 'term',\n          ignoreFilters: {\n            // we're skipping participation filters for all teammate rows\n            columns: [\n              'col-assigned',\n              'col-participated',\n              'col-closed',\n              'col-mrt',\n              'col-mfrt',\n              'col-mtc',\n              'col-group-csat_[value]',\n              'col-group-csat_[total]',\n              'col-notes',\n              'col-replies',\n              'col-mentions',\n            ],\n            filters: [TEAMMATE_PARTICIPATED_FILTER],\n          },\n          data: {\n            term_size: 10000,\n            property: 'teammate_id',\n          },\n        },\n        {\n          name: 'row-summary',\n          type: 'allRecords',\n          ignoreFilters: {\n            // we're not skipping participation filters for median-* columns because\n            // median calculations happens on the back-end with ES means\n            columns: [\n              'col-assigned',\n              'col-participated',\n              'col-closed',\n              'col-notes',\n              'col-replies',\n              'col-mentions',\n            ],\n            filters: [TEAMMATE_PARTICIPATED_FILTER],\n          },\n          // custom functions to calculate column value for a specific row. Only single-type rows are supported\n          columnCustomFunctions: [\n            {\n              columnName: 'col-assigned',\n              customFunction: this.sumRowValues('col-assigned'),\n            },\n            {\n              columnName: 'col-participated',\n              customFunction: this.sumRowValues('col-participated'),\n            },\n            {\n              columnName: 'col-closed',\n              customFunction: this.sumRowValues('col-closed'),\n            },\n            {\n              columnName: 'col-replies',\n              customFunction: this.sumRowValues('col-replies'),\n            },\n            {\n              columnName: 'col-notes',\n              customFunction: this.sumRowValues('col-notes'),\n            },\n            {\n              columnName: 'col-mentions',\n              customFunction: this.sumRowValues('col-mentions'),\n            },\n          ],\n        },\n      ],\n    };\n  }\n\n  get viewConfig() {\n    return {\n      rowsVisible: 10,\n      sortState: { valuePath: 'col-assigned', direction: 'desc' },\n      rowOrder: [{ position: 0, valuePath: 'groupName', value: 'row-summary' }],\n      // allows controlling row visibility based on the data returned from the server\n      isVisibleRow: row =>\n        !isEmpty(this.teammatesMap[row.groupName]) || row.groupName === 'row-summary',\n      // allows merging front-end defined rows with rows fetched from the server\n      mergeableRows: {\n        // property of a row based on which merging happens\n        valuePath: 'groupName',\n        // front-end defined rows as map to speed up merging\n        getRowsMap: () =>\n          Object.values(this.teammatesMap).reduce((acc, t) => {\n            acc[t.id] = { groupName: t.id };\n            return acc;\n          }, {}),\n      },\n    };\n  }\n\n  formatTime(value) {\n    let result = value ? this.timeFormatter.formatCounter(value) : '-';\n    return result;\n  }\n\n  teammateName(teammateId) {\n    let teammate = this.teammatesMap[teammateId];\n    return teammate ? teammate.name : 'unknown';\n  }\n\n  getPercentageForSorting(complexValue) {\n    if (!complexValue || !complexValue.total) {\n      return -1;\n    }\n\n    return percent(complexValue.total, complexValue.value || 0);\n  }\n\n  formatPercentage(complexValue) {\n    if (!complexValue || !complexValue.total) {\n      return '-';\n    }\n\n    let rawPercentage = percent(complexValue.total, complexValue.value || 0);\n    let percentageValue = toPercentString(rawPercentage, 2);\n    return `${percentageValue} (${complexValue.total})`;\n  }\n\n  sumRowValues(columnName) {\n    return rows => rows.reduce((sum, r) => sum + (r[columnName] || 0), 0);\n  }\n\n  getTeammates() {\n    let admins = this.appService.app.humanAdmins;\n    return admins.reduce((acc, a) => {\n      acc[a.id] = {\n        id: a.id,\n        name: a.name,\n        avatar: a.avatar,\n      };\n\n      return acc;\n    }, {});\n  }\n\n  get dataConfigForTimeToClose() {\n    if (this.appService.app.canQueryPowerfulIndices) {\n      return {\n        name: 'col-mtc',\n        filter: {\n          type: 'and',\n          filters: [\n            {\n              type: 'exists',\n              data: {\n                property: 'last_human_authored_closer_teammate_id',\n              },\n            },\n            {\n              type: 'category',\n              data: {\n                property: 'has_human_authored_closer',\n                values: [true],\n              },\n            },\n          ],\n        },\n        filterAlias: {\n          admin_participant_ids: 'last_human_authored_closer_teammate_id',\n        },\n        groupAlias: {\n          teammate_id: 'last_human_authored_closer_teammate_id',\n        },\n        excludeMissingGroup: true,\n        source: 'conversation',\n        aggregation: {\n          type: 'median',\n          data: {\n            property: botInboxAndOfficeHoursField(\n              timeTimeToCloseField(this.botInboxTimeExcluded),\n              this.args.settings.reportingExcludeOooHours,\n              this.botInboxTimeExcluded,\n            ),\n          },\n        },\n        time: {\n          property: 'first_user_conversation_part_created_at',\n          start: FILTER_PROPERTY_PLACEHOLDER,\n          end: FILTER_PROPERTY_PLACEHOLDER,\n        },\n      };\n    } else {\n      return {\n        name: 'col-mtc',\n        filter: {\n          type: 'exists',\n          data: {\n            property: 'teammate_id',\n          },\n        },\n        filterAlias: {\n          admin_participant_ids: 'teammate_id',\n        },\n        source: 'conversation_closed',\n        aggregation: {\n          type: 'median',\n          data: {\n            property: botInboxAndOfficeHoursField(\n              timeTimeToCloseField(this.botInboxTimeExcluded),\n              this.args.settings.reportingExcludeOooHours,\n              this.botInboxTimeExcluded,\n            ),\n          },\n        },\n        time: {\n          property: 'first_user_conversation_part_created_at',\n          start: FILTER_PROPERTY_PLACEHOLDER,\n          end: FILTER_PROPERTY_PLACEHOLDER,\n        },\n      };\n    }\n  }\n  get teamsData() {\n    let admins = this.appService.app.assignableAdmins;\n    return admins.filter(admin => admin.isTeam);\n  }\n\n  get teammatesMap() {\n    if (isEmpty(this.filteredTeammates)) {\n      return this.precalculatedAllTeammatesMap;\n    }\n\n    let result = pick(this.precalculatedAllTeammatesMap, ...this.filteredTeammates);\n    return result;\n  }\n\n  get botInboxTimeExcluded() {\n    return this.args.botInboxTime?.[0] === 'excluded';\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex flex-row gap-6\\\">\\n  <div class=\\\"flex flex-col flex-1\\\">\\n    <Reporting::Flexible::Chart\\n      @title=\\\"meetings booked\\\"\\n      @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n      @dataConfig={{this.columnChartConfigs.meetingsBooked.dataConfig}}\\n      @viewConfig={{this.columnChartConfigs.meetingsBooked.viewConfig}}\\n      @range={{this.rangeParams}}\\n      @width=\\\"small\\\"\\n      @filters={{this.filters}}\\n      @useEmptyComponent={{not hasMeetingBooked}}\\n      @forceEmptyComponent={{component\\n                               \\\"reporting/empty-state/app-required\\\"\\n                               subtext=\\\"Add the Google Calendar app to allow to schedule meetings.\\\"\\n                               appName=\\\"Google Calendar\\\"\\n                               appCode=\\\"google-calendar-meetings\\\"\\n                           }}\\n      @dataTestName=\\\"meetings-booked\\\"\\n    />\\n  </div>\\n  <div class=\\\"flex flex-col flex-1\\\">\\n    <Reporting::Flexible::Chart\\n      @title=\\\"time to close opportunity\\\"\\n      @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n      @dataConfig={{this.columnChartConfigs.timeToCloseOpportunity.dataConfig}}\\n      @viewConfig={{this.columnChartConfigs.timeToCloseOpportunity.viewConfig}}\\n      @range={{this.rangeParams}}\\n      @width=\\\"small\\\"\\n      @filters={{this.filters}}\\n      @persistentDataConfig={{get this.dataConfigs \\\"time-to-close-opportunity\\\"}}\\n      @useEmptyComponent={{not (has-feature \\\"hasSalesforceIntegration\\\")}}\\n      @forceEmptyComponent={{component\\n                               \\\"reporting/empty-state/app-required\\\"\\n                               subtext=\\\"Connect with your Salesforce account to see how Intercom is contributing to your opportunities.\\\"\\n                               appName=\\\"Salesforce\\\"\\n                               appCode=\\\"salesforce-by-intercom\\\"}}\\n      @dataTestName=\\\"time-to-close-opportunity\\\"\\n    />\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex flex-row gap-6\\\">\\n  <div class=\\\"flex flex-col flex-1\\\">\\n    <Reporting::Flexible::Chart\\n      @title=\\\"meetings booked\\\"\\n      @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n      @dataConfig={{this.columnChartConfigs.meetingsBooked.dataConfig}}\\n      @viewConfig={{this.columnChartConfigs.meetingsBooked.viewConfig}}\\n      @range={{this.rangeParams}}\\n      @width=\\\"small\\\"\\n      @filters={{this.filters}}\\n      @useEmptyComponent={{not hasMeetingBooked}}\\n      @forceEmptyComponent={{component\\n                               \\\"reporting/empty-state/app-required\\\"\\n                               subtext=\\\"Add the Google Calendar app to allow to schedule meetings.\\\"\\n                               appName=\\\"Google Calendar\\\"\\n                               appCode=\\\"google-calendar-meetings\\\"\\n                           }}\\n      @dataTestName=\\\"meetings-booked\\\"\\n    />\\n  </div>\\n  <div class=\\\"flex flex-col flex-1\\\">\\n    <Reporting::Flexible::Chart\\n      @title=\\\"time to close opportunity\\\"\\n      @chartComponent=\\\"reporting/flexible/columnchart\\\"\\n      @dataConfig={{this.columnChartConfigs.timeToCloseOpportunity.dataConfig}}\\n      @viewConfig={{this.columnChartConfigs.timeToCloseOpportunity.viewConfig}}\\n      @range={{this.rangeParams}}\\n      @width=\\\"small\\\"\\n      @filters={{this.filters}}\\n      @persistentDataConfig={{get this.dataConfigs \\\"time-to-close-opportunity\\\"}}\\n      @useEmptyComponent={{not (has-feature \\\"hasSalesforceIntegration\\\")}}\\n      @forceEmptyComponent={{component\\n                               \\\"reporting/empty-state/app-required\\\"\\n                               subtext=\\\"Connect with your Salesforce account to see how Intercom is contributing to your opportunities.\\\"\\n                               appName=\\\"Salesforce\\\"\\n                               appCode=\\\"salesforce-by-intercom\\\"}}\\n      @dataTestName=\\\"time-to-close-opportunity\\\"\\n    />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/sales-performance-charts.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/sales-performance-charts.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  store: service(),\n  hasMeetingBooked: true,\n\n  init() {\n    this._super(...arguments);\n    this.setHasMeetingBooked.perform();\n  },\n\n  setHasMeetingBooked: task(function*() {\n    let settings = yield this.store.findRecord('appstore/app-package', 'google-calendar-meetings');\n    this.set('hasMeetingBooked', settings.get('isInstalled'));\n  }).drop(),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-signal-card class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n  {{#if (and signal fetchComparisonTagSignal.isIdle)}}\\n    {{#if canHaveChildEmptyState}}\\n      <div class=\\\"layout__box o__flexes-to-1 o__has-columns items-end\\\">\\n        <div class=\\\"layout__box o__flexes-to-1\\\">\\n          {{#if (and (has-block) emptyStateActive)}}\\n            <Reporting::Element::SummaryTitle\\n              @title={{title}}\\n              @titleTooltipText={{titleTooltipText}}\\n              @titleTooltipComponent={{titleTooltipComponent}}\\n            />\\n          {{else if isLineChart}}\\n            <Reporting::LineChartSummary\\n              @title={{title}}\\n              @titleTooltipText={{titleTooltipText}}\\n              @titleTooltipComponent={{titleTooltipComponent}}\\n              @signal={{signal}}\\n            />\\n          {{else if isStackedBarChart}}\\n            <Reporting::StackedBarChartSummary\\n              @title={{title}}\\n              @titleTooltipText={{titleTooltipText}}\\n              @titleTooltipComponent={{titleTooltipComponent}}\\n              @signal={{signal}}\\n              @range={{this.range}}\\n              @improvementDirection={{improvementDirection}}\\n              @emptyStateString={{emptyStateString}}\\n            />\\n          {{/if}}\\n        </div>\\n        {{#unless summary}}\\n          <div class=\\\"layout__box\\\">\\n            {{#if isStackedBarChart}}\\n              <Reporting::StackedBarChartLegend @signal={{signal}} />\\n            {{/if}}\\n          </div>\\n        {{/unless}}\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      {{#if (and (has-block) emptyStateActive canHaveChildEmptyState)}}\\n        <div style=\\\"width:{{width}}px; height:{{height}}px; display:flex;\\\" class=\\\"layout__box o__flexes-to-1 u__mt__20\\\">\\n          {{yield}}\\n        </div>\\n      {{else if isLineChart}}\\n        <div class=\\\"layout__box o__flexes-to-1 o__has-columns\\\">\\n          {{#unless summary}}\\n            <div class=\\\"layout__box\\\">\\n              <Reporting::LineChartWithTooltips\\n                @signal={{signal}}\\n                @selectedIndex={{hoveredLineChartIndex}}\\n                @width={{600}}\\n                @hoverTextUnit={{hoverTextUnit}}\\n                @range={{this.range}}\\n              />\\n            </div>\\n          {{/unless}}\\n          <div class=\\\"layout__box o__flexes-to-1\\\">\\n            {{#if isTagLineChart}}\\n              <Reporting::TagLineChartLegend\\n                @signal={{signal}}\\n                @hiddenItemType={{hiddenLineChartItemType}}\\n                @emptyStateComponentPath={{lineChartEmptyStateComponentPath}}\\n                @showContextMultiselectDropdown={{showContextMultiselectDropdown\\n                }}\\n                @scopedTagIds={{scopedTagIds}}\\n                @scopingTag={{scopingTag}}\\n                @setHoveredItem={{action \\\"setHoveredItem\\\"}}\\n                @refetchSignalFromSignalId={{action \\\"refetchSignalFromSignalId\\\"\\n                }}\\n              />\\n            {{else}}\\n              <Reporting::LineChartLegend\\n                @signal={{signal}}\\n                @hiddenItemType={{hiddenLineChartItemType}}\\n                @setHoveredItem={{action \\\"setHoveredItem\\\"}}\\n                @emptyStateComponentPath={{lineChartEmptyStateComponentPath}}\\n              />\\n            {{/if}}\\n          </div>\\n        </div>\\n      {{else if isStackedBarChart}}\\n        {{#if summary}}\\n          <Reporting::StackedBarChartWithTooltips\\n            @signal={{signal}}\\n            @width={{width}}\\n            @range={{this.range}}\\n          />\\n        {{else}}\\n          <Reporting::StackedBarChartWithTooltips\\n            @signal={{signal}}\\n            @width={{width}}\\n            @height={{280}}\\n            @range={{this.range}}\\n          />\\n        {{/if}}\\n      {{/if}}\\n    {{else}}\\n      {{yield (hash width=width)}}\\n    {{/if}}\\n  {{else}}\\n    <Reporting::Element::SummaryTitle\\n      @title={{title}}\\n      @titleTooltipText={{titleTooltipText}}\\n    />\\n    <div class=\\\"layout__box o__flexes-to-1 o__centers-all reporting__empty-state__loading\\\" >\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-signal-card class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n  {{#if (and signal fetchComparisonTagSignal.isIdle)}}\\n    {{#if canHaveChildEmptyState}}\\n      <div class=\\\"layout__box o__flexes-to-1 o__has-columns items-end\\\">\\n        <div class=\\\"layout__box o__flexes-to-1\\\">\\n          {{#if (and (has-block) emptyStateActive)}}\\n            <Reporting::Element::SummaryTitle\\n              @title={{title}}\\n              @titleTooltipText={{titleTooltipText}}\\n              @titleTooltipComponent={{titleTooltipComponent}}\\n            />\\n          {{else if isLineChart}}\\n            <Reporting::LineChartSummary\\n              @title={{title}}\\n              @titleTooltipText={{titleTooltipText}}\\n              @titleTooltipComponent={{titleTooltipComponent}}\\n              @signal={{signal}}\\n            />\\n          {{else if isStackedBarChart}}\\n            <Reporting::StackedBarChartSummary\\n              @title={{title}}\\n              @titleTooltipText={{titleTooltipText}}\\n              @titleTooltipComponent={{titleTooltipComponent}}\\n              @signal={{signal}}\\n              @range={{this.range}}\\n              @improvementDirection={{improvementDirection}}\\n              @emptyStateString={{emptyStateString}}\\n            />\\n          {{/if}}\\n        </div>\\n        {{#unless summary}}\\n          <div class=\\\"layout__box\\\">\\n            {{#if isStackedBarChart}}\\n              <Reporting::StackedBarChartLegend @signal={{signal}} />\\n            {{/if}}\\n          </div>\\n        {{/unless}}\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      {{#if (and (has-block) emptyStateActive canHaveChildEmptyState)}}\\n        <div style=\\\"width:{{width}}px; height:{{height}}px; display:flex;\\\" class=\\\"layout__box o__flexes-to-1 u__mt__20\\\">\\n          {{yield}}\\n        </div>\\n      {{else if isLineChart}}\\n        <div class=\\\"layout__box o__flexes-to-1 o__has-columns\\\">\\n          {{#unless summary}}\\n            <div class=\\\"layout__box\\\">\\n              <Reporting::LineChartWithTooltips\\n                @signal={{signal}}\\n                @selectedIndex={{hoveredLineChartIndex}}\\n                @width={{600}}\\n                @hoverTextUnit={{hoverTextUnit}}\\n                @range={{this.range}}\\n              />\\n            </div>\\n          {{/unless}}\\n          <div class=\\\"layout__box o__flexes-to-1\\\">\\n            {{#if isTagLineChart}}\\n              <Reporting::TagLineChartLegend\\n                @signal={{signal}}\\n                @hiddenItemType={{hiddenLineChartItemType}}\\n                @emptyStateComponentPath={{lineChartEmptyStateComponentPath}}\\n                @showContextMultiselectDropdown={{showContextMultiselectDropdown\\n                }}\\n                @scopedTagIds={{scopedTagIds}}\\n                @scopingTag={{scopingTag}}\\n                @setHoveredItem={{action \\\"setHoveredItem\\\"}}\\n                @refetchSignalFromSignalId={{action \\\"refetchSignalFromSignalId\\\"\\n                }}\\n              />\\n            {{else}}\\n              <Reporting::LineChartLegend\\n                @signal={{signal}}\\n                @hiddenItemType={{hiddenLineChartItemType}}\\n                @setHoveredItem={{action \\\"setHoveredItem\\\"}}\\n                @emptyStateComponentPath={{lineChartEmptyStateComponentPath}}\\n              />\\n            {{/if}}\\n          </div>\\n        </div>\\n      {{else if isStackedBarChart}}\\n        {{#if summary}}\\n          <Reporting::StackedBarChartWithTooltips\\n            @signal={{signal}}\\n            @width={{width}}\\n            @range={{this.range}}\\n          />\\n        {{else}}\\n          <Reporting::StackedBarChartWithTooltips\\n            @signal={{signal}}\\n            @width={{width}}\\n            @height={{280}}\\n            @range={{this.range}}\\n          />\\n        {{/if}}\\n      {{/if}}\\n    {{else}}\\n      {{yield (hash width=width)}}\\n    {{/if}}\\n  {{else}}\\n    <Reporting::Element::SummaryTitle\\n      @title={{title}}\\n      @titleTooltipText={{titleTooltipText}}\\n    />\\n    <div class=\\\"layout__box o__flexes-to-1 o__centers-all reporting__empty-state__loading\\\" >\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/signal-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/signal-card.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { assert } from '@ember/debug';\nimport { equal } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport { task } from 'ember-concurrency';\nimport { SIGNAL_CONFIGS } from 'embercom/models/reporting/signal';\n\nconst ALLOWED_SIGNAL_IDS = [\n  SIGNAL_CONFIGS.CONVERSATIONS_PARTICIPATED_IN,\n  SIGNAL_CONFIGS.NEW_CONVERSATIONS,\n];\nexport const MAX_CHART_LINES = 10;\n\nexport default Component.extend({\n  reportingService: service(),\n  zeroColor: '#f7fafc',\n  summary: false,\n  lineChartEmptyStateComponentPath: 'reporting/empty-state/tags',\n  hiddenLineChartItemType: 'tag',\n  hoveredLineChartIndex: undefined,\n  range: null,\n\n  isBarChart: equal('chartType', 'bar'),\n  isHeatmapChart: equal('chartType', 'heatmap'),\n  isLineChart: equal('chartType', 'line'),\n  isStackedBarChart: equal('chartType', 'stacked-bar'),\n  isHorizontalBarChart: equal('chartType', 'horizontal-bar'),\n\n  width: ternary('summary', 400, 900),\n  height: 250,\n  showComparison: false,\n  emptyStateActive: false,\n  canHaveChildEmptyState: true,\n\n  init() {\n    this._super(...arguments);\n    this.set('selectedTagIds', []);\n  },\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n\n    if (this.signalId) {\n      this._fetchSignalFromSignalId();\n    }\n  },\n\n  _fetchSignalFromSignalId() {\n    if (ALLOWED_SIGNAL_IDS.includes(this.signalId)) {\n      this.fetchScopedTagIdsAndComparisonTagSignal.perform();\n    } else {\n      assert(\n        'reporting/signal-card: `signalId` must be either `SIGNAL_CONFIGS.CONVERSATIONS_PARTICIPATED_IN` or `SIGNAL_CONFIGS.NEW_CONVERSATIONS`.',\n      );\n    }\n  },\n\n  _uniqueConcat(firstArray, secondArray) {\n    return [...new Set(firstArray.concat(secondArray))];\n  },\n\n  fetchScopedTagIdsAndComparisonTagSignal: task(function*() {\n    let scopedTagIds = yield this.fetchScopedTagIds.perform();\n    yield this.fetchComparisonTagSignal.perform(scopedTagIds);\n  }),\n\n  fetchScopedTagIds: task(function*() {\n    let scopedTagIds = yield this.reportingService.listTags(\n      this.signalId,\n      this.range,\n      this.get('scopingTag.id'),\n      this.filters['teammate_ids'],\n    );\n    this.set('scopedTagIds', scopedTagIds);\n    return scopedTagIds;\n  }),\n\n  fetchComparisonTagSignal: task(function*(displayConversationTagIds) {\n    let filters = Object.assign({}, this.filters);\n    if (displayConversationTagIds.length === 0) {\n      filters['conversation_tag_ids'] = [0];\n    } else {\n      filters['conversation_tag_ids'] = displayConversationTagIds\n        .slice(0, MAX_CHART_LINES)\n        .map(id => parseInt(id, 10));\n    }\n\n    if (this.get('scopingTag.id')) {\n      filters['conversation_tag_ids'] = this._uniqueConcat(\n        filters['conversation_tag_ids'],\n        parseInt(this.get('scopingTag.id'), 10),\n      );\n    }\n\n    let signal = yield this.reportingService.fetchComparisonTagSignal(\n      this.signalId,\n      'conversation',\n      this.range,\n      filters,\n    );\n    this.set('signal', signal);\n  }),\n\n  actions: {\n    refetchSignalFromSignalId(displayConversationTagIds) {\n      this.fetchComparisonTagSignal.perform(displayConversationTagIds);\n    },\n    setHoveredItem(itemIndex) {\n      this.set('hoveredLineChartIndex', itemIndex);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__flexes-to-1 o__centers-vertically\\\">\\n  <div class=\\\"u__mr__20 reporting__single-stat__icon u__relative layout__box u__center-layout o__center-text\\\">\\n    <div class=\\\"u__absolute-shim opacity-25 rounded-full\\\" style=\\\"background-color: {{iconColor}};\\\"></div>\\n    <div style=\\\"margin-left: 3px; margin-top: 2px;\\\">\\n      {{ic-interface-icon icon color=color}}\\n    </div>\\n  </div>\\n  <div class=\\\"paywall__h1\\\" data-test-single-stat-value={{title}}>\\n    {{#if (or stat showData)}}\\n      {{stat}} {{statType}}\\n    {{else}}\\n      -\\n    {{/if}}\\n  </div>\\n</div>\\n<div class=\\\"layout__box u__mt__20 u__ml__50\\\">\\n  <p>\\n    {{title}}\\n  </p>\\n  <p class=\\\"t__light-text\\\">\\n    {{description}}\\n  </p>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__flexes-to-1 o__centers-vertically\\\">\\n  <div class=\\\"u__mr__20 reporting__single-stat__icon u__relative layout__box u__center-layout o__center-text\\\">\\n    <div class=\\\"u__absolute-shim opacity-25 rounded-full\\\" style=\\\"background-color: {{iconColor}};\\\"></div>\\n    <div style=\\\"margin-left: 3px; margin-top: 2px;\\\">\\n      {{ic-interface-icon icon color=color}}\\n    </div>\\n  </div>\\n  <div class=\\\"paywall__h1\\\" data-test-single-stat-value={{title}}>\\n    {{#if (or stat showData)}}\\n      {{stat}} {{statType}}\\n    {{else}}\\n      -\\n    {{/if}}\\n  </div>\\n</div>\\n<div class=\\\"layout__box u__mt__20 u__ml__50\\\">\\n  <p>\\n    {{title}}\\n  </p>\\n  <p class=\\\"t__light-text\\\">\\n    {{description}}\\n  </p>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/single-stat.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/single-stat.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\n\nexport default Component.extend({\n  'data-test-single-stat': true,\n  iconColor: computed('color', function() {\n    return PALETTE[this.color];\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span class=\\\"u__ml__20\\\" data-test-reporting-legend-item>\\n  <IcTooltip as |context|>\\n    <context.opener>\\n      <svg height=\\\"10\\\" width=\\\"10\\\" class=\\\"u__mr__5\\\">\\n        <circle data-test-reporting-legend-color cx=\\\"5\\\" cy=\\\"5\\\" r=\\\"5\\\" fill={{@fillColor}}></circle>\\n      </svg>\\n      <span data-test-emoji  class=\\\"reporting__conversation-ratings-emoji o__small conversation-rating__rating-{{@ratingIndex}}\\\"></span>\\n      <span data-test-reporting-legend-label class=\\\"t__light-text\\\">\\n        {{format-percentage-reports @percentage}}\\n      </span>\\n    </context.opener>\\n    <context.content>\\n      <span data-test-tooltip-content>\\n        <span class=\\\"reporting__conversation-ratings-emoji o__small conversation-rating__rating-{{@ratingIndex}}\\\"></span>\\n        {{format-percentage-reports-detailed @percentage}} - {{@count}} of {{@total}} {{@unit}}\\n      </span>\\n    </context.content>\\n  </IcTooltip>\\n</span>\\n\", {\"contents\":\"<span class=\\\"u__ml__20\\\" data-test-reporting-legend-item>\\n  <IcTooltip as |context|>\\n    <context.opener>\\n      <svg height=\\\"10\\\" width=\\\"10\\\" class=\\\"u__mr__5\\\">\\n        <circle data-test-reporting-legend-color cx=\\\"5\\\" cy=\\\"5\\\" r=\\\"5\\\" fill={{@fillColor}}></circle>\\n      </svg>\\n      <span data-test-emoji  class=\\\"reporting__conversation-ratings-emoji o__small conversation-rating__rating-{{@ratingIndex}}\\\"></span>\\n      <span data-test-reporting-legend-label class=\\\"t__light-text\\\">\\n        {{format-percentage-reports @percentage}}\\n      </span>\\n    </context.opener>\\n    <context.content>\\n      <span data-test-tooltip-content>\\n        <span class=\\\"reporting__conversation-ratings-emoji o__small conversation-rating__rating-{{@ratingIndex}}\\\"></span>\\n        {{format-percentage-reports-detailed @percentage}} - {{@count}} of {{@total}} {{@unit}}\\n      </span>\\n    </context.content>\\n  </IcTooltip>\\n</span>\\n\",\"moduleName\":\"embercom/components/reporting/stacked-bar-chart-legend-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/stacked-bar-chart-legend-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each data as |rating|}}\\n  <Reporting::StackedBarChartLegendItem\\n    @fillColor={{rating.color}}\\n    @ratingIndex={{rating.index}}\\n    @percentage={{rating.rawPercentage}}\\n    @count={{rating.count}}\\n    @total={{totalCount}}\\n    @unit={{unit}}\\n    @tagName=\\\"\\\"\\n  />\\n{{/each}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each data as |rating|}}\\n  <Reporting::StackedBarChartLegendItem\\n    @fillColor={{rating.color}}\\n    @ratingIndex={{rating.index}}\\n    @percentage={{rating.rawPercentage}}\\n    @count={{rating.count}}\\n    @total={{totalCount}}\\n    @unit={{unit}}\\n    @tagName=\\\"\\\"\\n  />\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/reporting/stacked-bar-chart-legend.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/stacked-bar-chart-legend.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { CONVERSATION_RATING_IDS } from 'predicates/models/data/conversation-ratings';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\n\nlet ORDERED_HAPPINESS_RATING_INDEXES = [\n  CONVERSATION_RATING_IDS.AMAZING,\n  CONVERSATION_RATING_IDS.GREAT,\n  CONVERSATION_RATING_IDS.OK,\n  CONVERSATION_RATING_IDS.BAD,\n  CONVERSATION_RATING_IDS.TERRIBLE,\n];\n\nlet HAPPINESS_PALETTE = {\n  [CONVERSATION_RATING_IDS.AMAZING]: PALETTE['vis-green-40'],\n  [CONVERSATION_RATING_IDS.GREAT]: PALETTE['vis-green-60'],\n  [CONVERSATION_RATING_IDS.OK]: PALETTE['vis-yellow-70'],\n  [CONVERSATION_RATING_IDS.BAD]: PALETTE['vis-yellow-50'],\n  [CONVERSATION_RATING_IDS.TERRIBLE]: PALETTE['vis-salmon-40'],\n};\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  'data-test-reporting-stacked-bar-chart-legend': true,\n  unit: 'conversations',\n\n  totalCount: computed('aggregate', 'signal', function() {\n    return this.aggregate ? this.signal.total : this.signal.sumOfAllBuckets();\n  }),\n\n  data: computed('signal', function() {\n    if (this.aggregate) {\n      return ORDERED_HAPPINESS_RATING_INDEXES.map(index => ({\n        index,\n        count: this.signal.totalsPerKey[index],\n        rawPercentage: this.signal.percentagesByKey[index],\n        color: HAPPINESS_PALETTE[index],\n      }));\n    }\n\n    return ORDERED_HAPPINESS_RATING_INDEXES.map(index => ({\n      index,\n      count: this.signal.sumForBucketIndex(index),\n      rawPercentage: this.signal.percentForBucketIndex(index),\n      color: HAPPINESS_PALETTE[index],\n    }));\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Reporting::Element::SummaryTitle\\n  @title={{@title}}\\n  @titleTooltipText={{@titleTooltipText}}\\n  @titleTooltipComponent={{@titleTooltipComponent}}\\n/>\\n<span class=\\\"t__h1 u__mr__20\\\">\\n  <IcTooltip as |context|>\\n    <context.opener>\\n      <PulseCandidate::DisplayText @size='2' data-test-summary-value>\\n        {{format-percentage-reports amazingOrGoodPercentage}}\\n        <span class=\\\"reporting__conversation-ratings-emoji conversation-rating__rating-4\\\" ></span> or <span class=\\\"reporting__conversation-ratings-emoji conversation-rating__rating-5\\\"></span>\\n      </PulseCandidate::DisplayText>\\n    </context.opener>\\n    <context.content>\\n      <span data-test-tooltip-content>\\n        {{or amazingOrGoodCount 0}} of {{or totalCount 0}} conversations\\n      </span>\\n    </context.content>\\n  </IcTooltip>\\n</span>\\n\\n<Reporting::Element::SummaryComparison\\n  @currentValue={{amazingOrGoodPercentage}}\\n  @previousValue={{previousAmazingOrGoodPercentage}}\\n  @range={{@range}}\\n  @valueUnit=\\\"percent\\\"\\n  @improvementDirection={{@improvementDirection}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Reporting::Element::SummaryTitle\\n  @title={{@title}}\\n  @titleTooltipText={{@titleTooltipText}}\\n  @titleTooltipComponent={{@titleTooltipComponent}}\\n/>\\n<span class=\\\"t__h1 u__mr__20\\\">\\n  <IcTooltip as |context|>\\n    <context.opener>\\n      <PulseCandidate::DisplayText @size='2' data-test-summary-value>\\n        {{format-percentage-reports amazingOrGoodPercentage}}\\n        <span class=\\\"reporting__conversation-ratings-emoji conversation-rating__rating-4\\\" ></span> or <span class=\\\"reporting__conversation-ratings-emoji conversation-rating__rating-5\\\"></span>\\n      </PulseCandidate::DisplayText>\\n    </context.opener>\\n    <context.content>\\n      <span data-test-tooltip-content>\\n        {{or amazingOrGoodCount 0}} of {{or totalCount 0}} conversations\\n      </span>\\n    </context.content>\\n  </IcTooltip>\\n</span>\\n\\n<Reporting::Element::SummaryComparison\\n  @currentValue={{amazingOrGoodPercentage}}\\n  @previousValue={{previousAmazingOrGoodPercentage}}\\n  @range={{@range}}\\n  @valueUnit=\\\"percent\\\"\\n  @improvementDirection={{@improvementDirection}}\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/stacked-bar-chart-summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/stacked-bar-chart-summary.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { CONVERSATION_RATING_IDS } from 'predicates/models/data/conversation-ratings';\n\nfunction calculateAggregatePercentage({ signal, usePreviousContext = false }) {\n  let amazing = signal.roundedPercentForBucketIndex(\n    CONVERSATION_RATING_IDS.AMAZING,\n    usePreviousContext,\n  );\n  let good = signal.roundedPercentForBucketIndex(CONVERSATION_RATING_IDS.GREAT, usePreviousContext);\n  return amazing + good;\n}\n\nfunction calculateAggregateCount({ signal, usePreviousContext = false }) {\n  let amazing = signal.sumForBucketIndex(CONVERSATION_RATING_IDS.AMAZING, usePreviousContext);\n  let good = signal.sumForBucketIndex(CONVERSATION_RATING_IDS.GREAT, usePreviousContext);\n  return amazing + good;\n}\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  'data-test-reporting-stacked-bar-chart-summary': true,\n\n  totalCount: computed('signal', 'aggregate', function() {\n    return this.aggregate ? this.signal.current.total : this.signal.sumOfAllBuckets(false);\n  }),\n\n  previousTotalCount: computed('signal', 'aggregate', function() {\n    return this.aggregate ? this.signal.previous.total : this.signal.sumOfAllBuckets(true);\n  }),\n\n  amazingOrGoodCount: computed('signal', 'aggregate', function() {\n    if (this.aggregate) {\n      return (\n        (this.signal.current.totalsPerKey[CONVERSATION_RATING_IDS.AMAZING] || 0) +\n        (this.signal.current.totalsPerKey[CONVERSATION_RATING_IDS.GREAT] || 0)\n      );\n    }\n    return calculateAggregateCount({\n      signal: this.signal,\n    });\n  }),\n\n  amazingOrGoodPercentage: computed('signal', 'aggregate', function() {\n    if (this.aggregate) {\n      return (\n        (this.signal.current.percentagesByKey[CONVERSATION_RATING_IDS.AMAZING] || 0) +\n        (this.signal.current.percentagesByKey[CONVERSATION_RATING_IDS.GREAT] || 0)\n      );\n    }\n\n    return calculateAggregatePercentage({\n      signal: this.signal,\n    });\n  }),\n\n  previousAmazingOrGoodPercentage: computed('signal', 'aggregate', function() {\n    if (this.aggregate) {\n      return (\n        (this.signal.previous.percentagesByKey[CONVERSATION_RATING_IDS.AMAZING] || 0) +\n        (this.signal.previous.percentagesByKey[CONVERSATION_RATING_IDS.GREAT] || 0)\n      );\n    }\n\n    return calculateAggregatePercentage({\n      signal: this.signal,\n      usePreviousContext: true,\n    });\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::LegacyChartTooltips>\\n  <Reporting::StackedBarChart\\n    @signal={{@signal}}\\n    @width={{@width}}\\n    @height={{@height}}\\n    @range={{@range}}\\n  />\\n</Reporting::LegacyChartTooltips>\\n\", {\"contents\":\"<Reporting::LegacyChartTooltips>\\n  <Reporting::StackedBarChart\\n    @signal={{@signal}}\\n    @width={{@width}}\\n    @height={{@height}}\\n    @range={{@range}}\\n  />\\n</Reporting::LegacyChartTooltips>\\n\",\"moduleName\":\"embercom/components/reporting/stacked-bar-chart-with-tooltips.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/stacked-bar-chart-with-tooltips.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { assign } from '@ember/polyfills';\nimport BaseChart from 'embercom/components/reporting/base-chart';\nimport { stack } from 'd3-shape';\nimport { scaleLinear, scaleBand, scaleOrdinal } from 'd3-scale';\nimport { axisBottom, axisLeft } from 'd3-axis';\nimport { extent } from 'd3-array';\nimport moment from 'moment';\nimport { CONVERSATION_RATINGS } from 'predicates/models/data/conversation-ratings';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\nimport { color } from 'd3-color';\nimport { select } from 'd3-selection';\nimport { makeDateFormatter } from 'embercom/lib/reporting/date-formatter';\n\nexport default BaseChart.extend({\n  'data-test-reporting-stacked-bar-chart': true,\n  classNames: ['reporting__chart__stacked-bar-chart'],\n\n  redrawChart() {\n    // this chart doesn't support re-drawing\n    // instead just nuke everything and start from scratch\n    if (this.element.getElementsByClassName('y axis').length) {\n      this.element.removeChild(this.element.childNodes[0]);\n      this._drawChart();\n      return;\n    }\n\n    let chart = this.chart();\n    let chartHeight = this.chartHeight;\n    let xScale = scaleLinear().rangeRound([0, this.chartWidth]);\n    let yScale = scaleBand()\n      .rangeRound([chartHeight, 0])\n      .padding(0.1);\n    let colors = scaleOrdinal([\n      PALETTE['vis-green-40'],\n      PALETTE['vis-green-60'],\n      PALETTE['vis-yellow-70'],\n      PALETTE['vis-yellow-50'],\n      PALETTE['vis-salmon-40'],\n    ]);\n    let data = this.get('signal.signalAsStackablePercentageData');\n    let dates = data.map(d => new Date(d.date));\n\n    let xAxis = axisBottom(xScale)\n      .ticks(5)\n      .tickFormat(d => `${d}%`);\n\n    let dateExtent = extent(dates);\n    let rangeInDays = Math.round(moment.duration(dateExtent[1] - dateExtent[0]).asDays());\n    let isRangeHours = rangeInDays <= 1;\n    let isRangeDays = rangeInDays <= 178;\n    let heightOfAxisLabel = 15;\n    let maxNumberOfTicks = chartHeight / heightOfAxisLabel;\n    let yAxisStride = Math.ceil(dates.length / maxNumberOfTicks);\n\n    let dateFormatter = makeDateFormatter({\n      stride: yAxisStride,\n      isRangeHours,\n      isRangeDays,\n      timezone: this.timezone,\n    });\n\n    let yAxis = axisLeft(yScale).tickFormat(dateFormatter);\n\n    let s = stack().keys([5, 4, 3, 2, 1]);\n\n    let layers = s(data);\n    yScale.domain(dates);\n    xScale.domain([0, 100]);\n\n    let layer = chart\n      .selectAll('.reporting__chart__stack-layer')\n      .data(layers)\n      .enter()\n      .append('g')\n      .classed('reporting__chart__stack-layer', true)\n      .style('fill', function(d, i) {\n        return colors(i);\n      });\n\n    layer\n      .selectAll('rect')\n      .data(function(d) {\n        // By default D3 doesn't include the index in its returned\n        // object, only the original data object. We create a custom\n        // object and include the index.\n        return d.map(function(elem) {\n          return assign(elem, { index: d.index });\n        });\n      })\n      .enter()\n      .append('rect')\n      .classed('js__legacy-reporting-tooltip', true)\n      .classed('reporting__chart__transition', true)\n      .attr('data-component', 'tooltips/reporting-stacked-bar-datum')\n      .attr('data-percentage', d => d.data.roundedPercentagesPerRating[5 - d.index] || 0) // The index starts at 0 which corresponds to the highest rating (5)\n      .attr('data-conversations', function(d) {\n        return d.data.totalConversations;\n      })\n      .attr('data-range-start', this.get('range.start'))\n      .attr('data-range-end', this.get('range.end'))\n      .attr('data-aggregation-interval', this.get('range.interval'))\n      .attr('data-total-conversations-per-rating', d => d.data.totalsPerRating[5 - d.index]) // The index starts at 0 which corresponds to the highest rating (5)\n      .attr('data-date', function(d) {\n        return d.data.date;\n      })\n      .attr('data-emoji-value', function(d) {\n        return CONVERSATION_RATINGS[4 - d.index].value;\n      }) // Reverse index when using to look up emoji value\n      .attr('y', function(d) {\n        return yScale(new Date(d.data.date));\n      })\n      .attr('x', function(d) {\n        return xScale(d[0]);\n      })\n      .attr('height', yScale.bandwidth())\n      .attr('width', function(d) {\n        let width = xScale(d[1]) - xScale(d[0]);\n        let emptyStateWidth = 0;\n        return width || emptyStateWidth;\n      })\n      .on('mouseover', function(d, i) {\n        select(this).style('fill', color(colors(d.index)).darker(0.2));\n      })\n      .on('mouseout', function(d, i) {\n        select(this).style('fill', colors(d.index));\n      });\n\n    chart\n      .append('g')\n      .attr('class', 'x axis')\n      .attr('transform', `translate(0, ${chartHeight})`)\n      .call(xAxis);\n\n    chart\n      .append('g')\n      .attr('class', 'y axis')\n      .call(yAxis);\n\n    chart.selectAll('.tick text').classed('reporting__chart__axis-label', true);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip\\n  @isDisabled={{this.scheduleButtonTooltipDisabled}}\\n  as |t|\\n>\\n  <t.opener>\\n    <IcButton\\n            @type=\\\"primary\\\"\\n            @icon=\\\"schedule\\\"\\n            @label=\\\"Schedule report\\\"\\n            @processingLabel=\\\"Saving…\\\"\\n            @disabled={{this.scheduleButtonDisabled}}\\n            @onClick={{this.openSubscriptionModal}}\\n            data-test-schedule-report-button\\n    />\\n  </t.opener>\\n  <t.content>\\n    <Paragraph data-test-schedule-report-disabled-tooltip>\\n      Sorry, we can't support custom date ranges. Please choose a predefined date range to schedule this report.\\n    </Paragraph>\\n  </t.content>\\n</IcTooltip>\\n\\n\\n<IcModal\\n  @onModalClose={{this.cancel}}\\n  @width=\\\"s\\\"\\n  @isOpen={{this.showSubscriptionModal}}\\n  data-test-subscription-modal\\n  @focusElement=\\\"body\\\" as |modal|\\n>\\n  <modal.header as |header|>\\n    <div class=\\\"flex flex-row items-center justify-start gap-4\\\">\\n      <header.title>{{if this.editMode \\\"Update report schedule\\\" \\\"Schedule report\\\"}}</header.title>\\n      {{ic-stamp \\\"Beta\\\"}}\\n    </div>\\n  </modal.header>\\n  <modal.body>\\n    <div class=\\\"flex flex-col gap-4\\\">\\n      <Form as |form|>\\n        <form.Item\\n          as |item|\\n        >\\n          <item.Label>\\n            Recipients\\n            <IcTooltipIcon @isInteractive={{true}}>\\n              Add teammates who should receive this report by email.\\n              <LinkTo @route=\\\"apps.app.settings.teammates.invite\\\" target=\\\"_blank\\\">Invite your teammates to Intercom.</LinkTo>\\n            </IcTooltipIcon>\\n          </item.Label>\\n          <div class=\\\"flex flex-col\\\">\\n            <Common::InputWithPills::InputWithDropdown\\n              @searchPlaceholder=\\\"Search for users...\\\"\\n              @noItemPlaceholder=\\\"No matching teammates\\\"\\n              @onChange={{this.updateTeammates}}\\n              @options={{this.adminsOptions}}\\n              data-test-recipients-input/>\\n          </div>\\n        </form.Item>\\n        <form.Item\\n          @label=\\\"Frequency\\\"\\n          as |item|\\n        >\\n          <IcSelect\\n            @selectedValue={{this.subscription.cadence}}\\n            @items={{this.frequencies}}\\n            @mode=\\\"block\\\"\\n            @onSelectItem={{this.updateFrequency}}\\n            data-test-frequencies-input\\n          />\\n        </form.Item>\\n        <form.Item\\n          @label=\\\"Send\\\"\\n          as |item|\\n        >\\n          <div class=\\\"flex flex-row justify-around gap-4\\\">\\n            <div class=\\\"flex flex-col flex-1\\\">\\n              {{#if this.isMonthlyFrequency}}\\n                <IcSelect\\n                  @selectedValue={{this.subscription.cadenceDateOfMonth}}\\n                  @items={{this.monthlyDaysGroup}}\\n                  @mode=\\\"block\\\"\\n                  @filterPlaceholder=\\\"Select a day\\\"\\n                  @onSelectItem={{set this.subscription.cadenceDateOfMonth}}\\n                  data-test-monthly-days-input\\n                />\\n              {{else if this.isWeeklyFrequency}}\\n                <IcSelect\\n                  @selectedValue={{this.subscription.cadenceDayOfWeek}}\\n                  @items={{this.days}}\\n                  @mode=\\\"block\\\"\\n                  @onSelectItem={{set this.subscription.cadenceDayOfWeek}}\\n                  data-test-days-input\\n                />\\n              {{else}}\\n              <IcSelect\\n                @selectedValue={{this.readOnlyDay}}\\n                @items={{this.readOnlyDayGroup}}\\n                @isDisabled={{true}}\\n                @mode=\\\"block\\\"\\n                data-test-readonly-days-input\\n              />\\n              {{/if}}\\n            </div>\\n            <div class=\\\"flex flex-col flex-1\\\">\\n              <IcSelect\\n                @filterPlaceholder=\\\"Select an hour\\\"\\n                @selectedValue={{this.subscription.cadenceTimeOfDay}}\\n                @items={{this.hoursGroup}}\\n                @mode=\\\"block\\\"\\n                @onSelectItem={{set this.subscription.cadenceTimeOfDay}}\\n                data-test-hour-input\\n              />\\n            </div>\\n          </div>\\n        </form.Item>\\n      </Form>\\n      <Paragraph @styling='muted'>We'll email a PDF of this report on a selected cadence.</Paragraph>\\n    </div>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=(if this.editMode 'Update' 'Schedule')\\n      action=this.submit\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=this.cancel\\n    }}\\n    @tertiaryButton={{this.deleteSubscriptionButton}}\\n  />\\n</IcModal>\\n<IcConfirmModal\\n  @title=\\\"Stop sending this scheduled report?\\\"\\n  @onModalClose={{this.closeDeleteSubscriptionConfirmModal}}\\n  @type=\\\"destructive\\\"\\n  @confirmLabel=\\\"Stop sending\\\"\\n  @confirmAction={{this.deleteSubscription}}\\n  @isOpen={{this.showDeleteSubscriptionConfirmModal}}\\n>\\n  <Paragraph data-test-delete-subscription-confirm-modal>\\n    We'll stop emailing the <strong>{{@dashboard.dashboardName}}</strong> report to all recipients. You can reschedule this report to be sent any time.\\n  </Paragraph>\\n</IcConfirmModal>\\n\\n<IcConfirmModal\\n  @title=\\\"Unsubscribe from this report?\\\"\\n  @isOpen={{this.showUnsubscribeModal}}\\n  @type=\\\"destructive\\\"\\n  @confirmLabel=\\\"Unsubscribe\\\"\\n  @confirmAction={{this.unsubscribe}}\\n  @onModalClose={{this.cancelUnsubscribe}}\\n>\\n  <Paragraph data-test-unsubscribe-modal>\\n    If you unsubscribe, we’ll stop emailing you the <strong>{{@dashboard.dashboardName}}</strong> report. You can reschedule this report to be sent any time.\\n  </Paragraph>\\n</IcConfirmModal>\\n\", {\"contents\":\"<IcTooltip\\n  @isDisabled={{this.scheduleButtonTooltipDisabled}}\\n  as |t|\\n>\\n  <t.opener>\\n    <IcButton\\n            @type=\\\"primary\\\"\\n            @icon=\\\"schedule\\\"\\n            @label=\\\"Schedule report\\\"\\n            @processingLabel=\\\"Saving…\\\"\\n            @disabled={{this.scheduleButtonDisabled}}\\n            @onClick={{this.openSubscriptionModal}}\\n            data-test-schedule-report-button\\n    />\\n  </t.opener>\\n  <t.content>\\n    <Paragraph data-test-schedule-report-disabled-tooltip>\\n      Sorry, we can't support custom date ranges. Please choose a predefined date range to schedule this report.\\n    </Paragraph>\\n  </t.content>\\n</IcTooltip>\\n\\n\\n<IcModal\\n  @onModalClose={{this.cancel}}\\n  @width=\\\"s\\\"\\n  @isOpen={{this.showSubscriptionModal}}\\n  data-test-subscription-modal\\n  @focusElement=\\\"body\\\" as |modal|\\n>\\n  <modal.header as |header|>\\n    <div class=\\\"flex flex-row items-center justify-start gap-4\\\">\\n      <header.title>{{if this.editMode \\\"Update report schedule\\\" \\\"Schedule report\\\"}}</header.title>\\n      {{ic-stamp \\\"Beta\\\"}}\\n    </div>\\n  </modal.header>\\n  <modal.body>\\n    <div class=\\\"flex flex-col gap-4\\\">\\n      <Form as |form|>\\n        <form.Item\\n          as |item|\\n        >\\n          <item.Label>\\n            Recipients\\n            <IcTooltipIcon @isInteractive={{true}}>\\n              Add teammates who should receive this report by email.\\n              <LinkTo @route=\\\"apps.app.settings.teammates.invite\\\" target=\\\"_blank\\\">Invite your teammates to Intercom.</LinkTo>\\n            </IcTooltipIcon>\\n          </item.Label>\\n          <div class=\\\"flex flex-col\\\">\\n            <Common::InputWithPills::InputWithDropdown\\n              @searchPlaceholder=\\\"Search for users...\\\"\\n              @noItemPlaceholder=\\\"No matching teammates\\\"\\n              @onChange={{this.updateTeammates}}\\n              @options={{this.adminsOptions}}\\n              data-test-recipients-input/>\\n          </div>\\n        </form.Item>\\n        <form.Item\\n          @label=\\\"Frequency\\\"\\n          as |item|\\n        >\\n          <IcSelect\\n            @selectedValue={{this.subscription.cadence}}\\n            @items={{this.frequencies}}\\n            @mode=\\\"block\\\"\\n            @onSelectItem={{this.updateFrequency}}\\n            data-test-frequencies-input\\n          />\\n        </form.Item>\\n        <form.Item\\n          @label=\\\"Send\\\"\\n          as |item|\\n        >\\n          <div class=\\\"flex flex-row justify-around gap-4\\\">\\n            <div class=\\\"flex flex-col flex-1\\\">\\n              {{#if this.isMonthlyFrequency}}\\n                <IcSelect\\n                  @selectedValue={{this.subscription.cadenceDateOfMonth}}\\n                  @items={{this.monthlyDaysGroup}}\\n                  @mode=\\\"block\\\"\\n                  @filterPlaceholder=\\\"Select a day\\\"\\n                  @onSelectItem={{set this.subscription.cadenceDateOfMonth}}\\n                  data-test-monthly-days-input\\n                />\\n              {{else if this.isWeeklyFrequency}}\\n                <IcSelect\\n                  @selectedValue={{this.subscription.cadenceDayOfWeek}}\\n                  @items={{this.days}}\\n                  @mode=\\\"block\\\"\\n                  @onSelectItem={{set this.subscription.cadenceDayOfWeek}}\\n                  data-test-days-input\\n                />\\n              {{else}}\\n              <IcSelect\\n                @selectedValue={{this.readOnlyDay}}\\n                @items={{this.readOnlyDayGroup}}\\n                @isDisabled={{true}}\\n                @mode=\\\"block\\\"\\n                data-test-readonly-days-input\\n              />\\n              {{/if}}\\n            </div>\\n            <div class=\\\"flex flex-col flex-1\\\">\\n              <IcSelect\\n                @filterPlaceholder=\\\"Select an hour\\\"\\n                @selectedValue={{this.subscription.cadenceTimeOfDay}}\\n                @items={{this.hoursGroup}}\\n                @mode=\\\"block\\\"\\n                @onSelectItem={{set this.subscription.cadenceTimeOfDay}}\\n                data-test-hour-input\\n              />\\n            </div>\\n          </div>\\n        </form.Item>\\n      </Form>\\n      <Paragraph @styling='muted'>We'll email a PDF of this report on a selected cadence.</Paragraph>\\n    </div>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=(if this.editMode 'Update' 'Schedule')\\n      action=this.submit\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=this.cancel\\n    }}\\n    @tertiaryButton={{this.deleteSubscriptionButton}}\\n  />\\n</IcModal>\\n<IcConfirmModal\\n  @title=\\\"Stop sending this scheduled report?\\\"\\n  @onModalClose={{this.closeDeleteSubscriptionConfirmModal}}\\n  @type=\\\"destructive\\\"\\n  @confirmLabel=\\\"Stop sending\\\"\\n  @confirmAction={{this.deleteSubscription}}\\n  @isOpen={{this.showDeleteSubscriptionConfirmModal}}\\n>\\n  <Paragraph data-test-delete-subscription-confirm-modal>\\n    We'll stop emailing the <strong>{{@dashboard.dashboardName}}</strong> report to all recipients. You can reschedule this report to be sent any time.\\n  </Paragraph>\\n</IcConfirmModal>\\n\\n<IcConfirmModal\\n  @title=\\\"Unsubscribe from this report?\\\"\\n  @isOpen={{this.showUnsubscribeModal}}\\n  @type=\\\"destructive\\\"\\n  @confirmLabel=\\\"Unsubscribe\\\"\\n  @confirmAction={{this.unsubscribe}}\\n  @onModalClose={{this.cancelUnsubscribe}}\\n>\\n  <Paragraph data-test-unsubscribe-modal>\\n    If you unsubscribe, we’ll stop emailing you the <strong>{{@dashboard.dashboardName}}</strong> report. You can reschedule this report to be sent any time.\\n  </Paragraph>\\n</IcConfirmModal>\\n\",\"moduleName\":\"embercom/components/reporting/subscription.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/subscription.hbs\"}});\nimport Component from '@glimmer/component';\nimport EmberObject, { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport ENV from 'embercom/config/environment';\nimport moment from 'moment';\nimport { task } from 'ember-concurrency-decorators';\nimport { isPresent, isEmpty } from '@ember/utils';\nimport formatTimezoneToUTC from 'embercom/lib/format-timezone-to-utc';\n\nexport default class Subscription extends Component {\n  @tracked submitted = false;\n  @tracked showSubscriptionModal = false;\n  @tracked showDeleteSubscriptionConfirmModal = false;\n  @tracked showUnsubscribeModal = false;\n  @tracked fetchingSubscription = false;\n  @tracked frequency;\n  @service intercomEventService;\n  @service notificationsService;\n  @service store;\n  @service appService;\n  @service reportSubscriptionService;\n\n  bannerTimeToLive = ENV.APP.default_notification_timeout;\n  frequencies = [\n    { text: 'Daily', value: 'daily' },\n    { text: 'Weekly', value: 'weekly' },\n    { text: 'Monthly', value: 'monthly' },\n  ];\n  days = [\n    { text: 'Monday', value: 'monday' },\n    { text: 'Tuesday', value: 'tuesday' },\n    { text: 'Wednesday', value: 'wednesday' },\n    { text: 'Thursday', value: 'thursday' },\n    { text: 'Friday', value: 'friday' },\n    { text: 'Saturday', value: 'saturday' },\n    { text: 'Sunday', value: 'sunday' },\n  ];\n\n  constructor() {\n    super(...arguments);\n    // Settings the items\n    this.loadHours();\n    this.monthlyDays = Array.from(Array(28), (d, i) => ({\n      text: `on day ${i + 1}`,\n      value: i + 1,\n    }));\n    this.monthlyDays.push({ text: 'Last day', value: 32 });\n    // Settings the icSelect groups\n    this.hoursGroup = [{ items: this.hours, isFilterable: false }];\n    this.monthlyDaysGroup = [{ items: this.monthlyDays, isFilterable: false }];\n    this.readOnlyDayGroup = [{ text: 'Every day', value: null }];\n\n    this.readOnlyDay = null;\n    this.loadSubscription.perform();\n  }\n\n  @task *loadSubscription() {\n    this.fetchingSubscription = true;\n    let status = yield this.reportSubscriptionService.retrieveSubscription.perform(\n      this.args.subscriptionId,\n    );\n    this.handleSubscriptionNotFound(status);\n    this.autoOpenModal();\n    this.fetchingSubscription = false;\n  }\n\n  handleSubscriptionNotFound(status) {\n    if (status === 404) {\n      this.notificationsService.notifyHelp(\n        'You are no longer subscribed to this scheduled report.',\n        this.bannerTimeToLive,\n        'SubscriptionNotFound',\n      );\n    }\n  }\n\n  autoOpenModal() {\n    if (this.editMode) {\n      this.currentAdminIsOwner ? this.openSubscriptionModal() : this.openUnsubscribeModal();\n    }\n  }\n\n  openUnsubscribeModal() {\n    this.showUnsubscribeModal = true;\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'opened',\n      object: 'report_schedule_unsubscribe_modal',\n      dashboard_id: this.dashboardId,\n      is_owner: false,\n    });\n  }\n\n  get currentAdminIsOwner() {\n    return this.currentAdmin.id === this.subscription.adminId;\n  }\n\n  loadHours() {\n    let timezoneString = formatTimezoneToUTC(this.appService.app.timezone);\n    this.hours = Array.from(Array(24), (d, i) => ({\n      text: `${moment({ hour: i }).format('h:mmA')} ${timezoneString}`,\n      value: i,\n    }));\n  }\n\n  get subscription() {\n    return this.reportSubscriptionService.subscription;\n  }\n\n  get editMode() {\n    return isPresent(this.subscription) ? !this.subscription.isNew : false;\n  }\n\n  get scheduleButtonTooltipDisabled() {\n    return !this.customDateRange;\n  }\n\n  get scheduleButtonDisabled() {\n    return this.fetchingSubscription || this.customDateRange || this.args.dashboard.isPaywalled;\n  }\n\n  get customDateRange() {\n    return this.args.dashboard.range.selectedRange === 'custom';\n  }\n\n  get dashboardId() {\n    return this.args.dashboard.dashboardId;\n  }\n\n  get dayToString() {\n    if (this.subscription.cadence === 'daily') {\n      return '';\n    } else if (this.subscription.cadence === 'weekly') {\n      let day = this.days.find(f => f.value === this.subscription.cadenceDayOfWeek).text;\n      return `on ${day} `;\n    } else if (this.subscription.cadence === 'monthly') {\n      return this.monthlyDayBannerMessage;\n    }\n  }\n\n  get monthlyDayBannerMessage() {\n    if (this.subscription.cadenceDateOfMonth === 32) {\n      return 'on the last day of the month ';\n    } else {\n      return `${\n        this.monthlyDays.find(f => f.value === this.subscription.cadenceDateOfMonth).text\n      } `;\n    }\n  }\n\n  get frequencyToString() {\n    return this.frequencies.find(f => f.value === this.subscription.cadence).text;\n  }\n\n  get hourToString() {\n    return this.hours.find(f => f.value === this.subscription.cadenceTimeOfDay).text;\n  }\n\n  get bannerMessage() {\n    return `Thanks for scheduling the report! We'll email this report ${this.frequencyToString.toLowerCase()} ${\n      this.dayToString\n    }at ${this.hourToString}.`;\n  }\n\n  get isMonthlyFrequency() {\n    return this.subscription.cadence === this.frequencies[2].value;\n  }\n\n  get isWeeklyFrequency() {\n    return this.subscription.cadence === this.frequencies[1].value;\n  }\n\n  get admins() {\n    return this.appService.app.humanAdmins;\n  }\n\n  get currentAdmin() {\n    return this.appService.app.currentAdmin;\n  }\n\n  get adminsOptions() {\n    return this.admins.map(admin => {\n      let isCurrentAdmin = this.currentAdmin.id === admin.id;\n      let isSelected =\n        isCurrentAdmin || this.subscription.teammateIds.includes(parseInt(admin.id, 10));\n      return EmberObject.create({\n        value: admin.id,\n        text: isCurrentAdmin ? 'You' : admin.name,\n        avatar: admin.avatar,\n        avatarData: admin.avatarData,\n        readonly: isCurrentAdmin,\n        isSelected,\n      });\n    });\n  }\n\n  get deleteSubscriptionButton() {\n    if (this.editMode) {\n      return {\n        label: 'Stop sending',\n        icon: 'unfollow',\n        destructive: 'true',\n        action: this.openDeleteSubscriptionConfirmModal,\n      };\n    } else {\n      return null;\n    }\n  }\n\n  get noExistingSubscription() {\n    return (\n      isEmpty(this.args.subscriptionId) || isEmpty(this.subscription) || this.subscription.isDeleted\n    );\n  }\n\n  notifySubscriptionUpdated() {\n    this.notificationsService.notifyConfirmation(\n      'Your report schedule was updated',\n      this.bannerTimeToLive,\n      'SubscriptionUpdated',\n    );\n  }\n\n  notifySubscriptionSaved() {\n    this.notificationsService.notifyConfirmationWithButton(\n      this.bannerMessage,\n      {\n        label: 'Edit',\n        action: this.openSubscriptionModal,\n      },\n      this.bannerTimeToLive,\n      'SubscriptionSaved',\n    );\n  }\n\n  getSendDayForFrequency(frequency) {\n    let frequencyToDateMap = {\n      daily: 'daily',\n      weekly: this.subscription.cadenceDayOfWeek,\n      monthly: this.subscription.cadenceDateOfMonth,\n    };\n\n    return frequencyToDateMap[frequency];\n  }\n\n  @action\n  updateTeammates(teammateIds) {\n    if (teammateIds.length > this.subscription.teammateIds.length) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'participant_added',\n        object: 'report_schedule',\n        dashboard_id: this.dashboardId,\n      });\n    }\n    this.subscription.teammateIds = teammateIds;\n  }\n\n  @action\n  updateFrequency(frequency) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'frequency_updated',\n      object: 'report_schedule',\n      dashboard_id: this.dashboardId,\n      send_time: this.subscription.cadenceTimeOfDay,\n      send_day: this.getSendDayForFrequency(frequency),\n      frequency,\n    });\n    this.subscription.cadence = frequency;\n  }\n\n  @action\n  openSubscriptionModal() {\n    if (this.editMode) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'opened',\n        object: 'report_schedule_edit_modal',\n        is_owner: this.currentAdminIsOwner,\n        dashboard_id: this.dashboardId,\n      });\n    } else {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'opened',\n        object: 'report_schedule_create_modal',\n        dashboard_id: this.dashboardId,\n      });\n    }\n    this.showSubscriptionModal = true;\n  }\n\n  @action\n  async submit() {\n    this.showSubscriptionModal = false;\n    this.submitted = true;\n    let updatingSubscription = this.editMode;\n    if (!updatingSubscription) {\n      this.subscription.jsonBlob = this.args.dashboard.toJson();\n    }\n    await this.subscription.save();\n\n    if (updatingSubscription) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'edited',\n        object: 'report_schedule',\n        dashboard_id: this.dashboardId,\n        recipients_length: this.subscription.teammateIds.length,\n      });\n      this.notifySubscriptionUpdated();\n    } else {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'created',\n        object: 'report_schedule',\n        dashboard_id: this.dashboardId,\n        recipients_length: this.subscription.teammateIds.length,\n      });\n      this.notifySubscriptionSaved();\n    }\n  }\n\n  @action\n  async unsubscribe() {\n    this.showUnsubscribeModal = false;\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'unsubscribed',\n      object: 'report_schedule',\n      dashboard_id: this.dashboardId,\n    });\n    await this.subscription.unsubscribe();\n    this.notificationsService.notifyConfirmation(\n      \"You've been successfully unsubscribed\",\n      this.bannerTimeToLive,\n      'UnsubscribedFromSubscription',\n    );\n    this.reportSubscriptionService.resetSubscription();\n  }\n\n  @action\n  cancel() {\n    this.showSubscriptionModal = false;\n    this.reportSubscriptionService.rollbackSubscriptionChanges();\n  }\n\n  @action\n  cancelUnsubscribe() {\n    this.showUnsubscribeModal = false;\n    this.reportSubscriptionService.resetSubscription();\n  }\n\n  @action\n  openDeleteSubscriptionConfirmModal() {\n    this.showDeleteSubscriptionConfirmModal = true;\n    this.showSubscriptionModal = false;\n  }\n\n  @action\n  closeDeleteSubscriptionConfirmModal() {\n    this.showSubscriptionModal = true;\n    this.showDeleteSubscriptionConfirmModal = false;\n  }\n\n  @action\n  async deleteSubscription() {\n    this.showDeleteSubscriptionConfirmModal = false;\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'deleted',\n      object: 'report_schedule',\n      dashboard_id: this.dashboardId,\n    });\n    await this.subscription.destroyRecord();\n    this.notificationsService.notifyConfirmation(\n      'Sending of this scheduled report was stopped',\n      this.bannerTimeToLive,\n      'SubscriptionDeleted',\n    );\n    this.reportSubscriptionService.resetSubscription();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Reporting::ChartContainer @size=\\\"large\\\" @isLoading={{not @signal}} as |chart|>\\n  <div class=\\\"layout__box o__flexes-to-1 o__has-columns mb-5\\\">\\n    <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n    <div class=\\\"layout__box\\\">\\n      <Reporting::Element::BarChartLegend @color={{@color}} @range={{@range}} />\\n    </div>\\n  </div>\\n  <Reporting::Element::ChartBarWithTooltips\\n    @signal={{@signal}}\\n    @color={{@color}}\\n    @width={{chart.width}}\\n    @range={{@range}}\\n  />\\n</Reporting::ChartContainer>\\n\", {\"contents\":\"<Reporting::ChartContainer @size=\\\"large\\\" @isLoading={{not @signal}} as |chart|>\\n  <div class=\\\"layout__box o__flexes-to-1 o__has-columns mb-5\\\">\\n    <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n    <div class=\\\"layout__box\\\">\\n      <Reporting::Element::BarChartLegend @color={{@color}} @range={{@range}} />\\n    </div>\\n  </div>\\n  <Reporting::Element::ChartBarWithTooltips\\n    @signal={{@signal}}\\n    @color={{@color}}\\n    @width={{chart.width}}\\n    @range={{@range}}\\n  />\\n</Reporting::ChartContainer>\\n\",\"moduleName\":\"embercom/components/reporting/tab-signal-chart.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/tab-signal-chart.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield\\n  (hash\\n    data=currentData\\n    sortState=currentSortState\\n    canLoadMore=canLoadMore\\n    isLoadingMore=isLoadingMore\\n    isLoading=isLoading\\n    onSort=(action \\\"onSort\\\")\\n    onLoadMore=(action \\\"onLoadMore\\\")\\n  )\\n}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield\\n  (hash\\n    data=currentData\\n    sortState=currentSortState\\n    canLoadMore=canLoadMore\\n    isLoadingMore=isLoadingMore\\n    isLoading=isLoading\\n    onSort=(action \\\"onSort\\\")\\n    onLoadMore=(action \\\"onLoadMore\\\")\\n  )\\n}}\\n\",\"moduleName\":\"embercom/components/reporting/table-data-manager.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/table-data-manager.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { isBlank } from '@ember/utils';\n\n// replaces accents with ascii versions where possible\n// and converts to lower-case\n//\n// String.prototype.normalize is supported everywhere apart from IE\n// so just convert to lower-case for them\n//\n// Eg \"Crème Brulée\" -> \"creme brulee\"\nfunction normalizeString(str) {\n  if ('normalize' in String.prototype) {\n    return str\n      .normalize('NFD')\n      .replace(/[\\u0300-\\u036f]/g, '')\n      .toLowerCase();\n  } else {\n    return str.toLowerCase();\n  }\n}\n\nexport default Component.extend({\n  data: [],\n  sortState: null,\n  currentSortState: null,\n  filterState: null,\n\n  size: 5,\n  numPagesShowing: 1,\n\n  isLoadingMore: false,\n  isLoading: false,\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    this.set('numPagesShowing', 1);\n  },\n\n  init() {\n    this._super(...arguments);\n    this.set('currentSortState', this.sortState);\n  },\n\n  sortedData: computed('data', 'currentSortState', function() {\n    let data = this.data || [];\n    let { direction, valuePath } = this.currentSortState;\n\n    let asc = [...data].sort((a, b) => {\n      let valA = a[valuePath];\n      let valB = b[valuePath];\n\n      switch (typeof valA) {\n        case 'string':\n          return valA.localeCompare(valB);\n        default:\n          return valA - valB;\n      }\n    });\n\n    if (direction === 'desc') {\n      return asc.reverse();\n    } else {\n      return asc;\n    }\n  }),\n\n  filteredData: computed('sortedData', 'filterState', function() {\n    let { valuePath, filter } = this.filterState || {};\n\n    if (isBlank(filter)) {\n      return this.sortedData;\n    }\n\n    let normalizedFilter = normalizeString(filter);\n    return this.sortedData.filter(\n      record => normalizeString(record[valuePath]).indexOf(normalizedFilter) !== -1,\n    );\n  }),\n\n  numRecordsShowing: computed('size', 'numPagesShowing', function() {\n    return this.size * this.numPagesShowing;\n  }),\n\n  currentData: computed('filteredData', 'numRecordsShowing', function() {\n    return this.filteredData.slice(0, this.numRecordsShowing);\n  }),\n\n  canLoadMore: computed('numRecordsShowing', 'filteredData', function() {\n    return this.numRecordsShowing < this.filteredData.length;\n  }),\n\n  actions: {\n    onSort(valuePath) {\n      let direction = 'asc';\n\n      if (\n        this.currentSortState.valuePath === valuePath &&\n        this.currentSortState.direction === 'asc'\n      ) {\n        direction = 'desc';\n      }\n\n      this.set('currentSortState', { valuePath, direction });\n      this.set('numPagesShowing', 1);\n\n      this.triggerAnalyticsEvent({\n        action: 'conversation_tags_table_sort',\n        columnName: this.sortAliases ? this.sortAliases[valuePath] : valuePath,\n        direction,\n      });\n    },\n\n    onLoadMore() {\n      this.set('numPagesShowing', this.numPagesShowing + 1);\n\n      this.triggerAnalyticsEvent({\n        action: 'conversation_tags_table_load_more',\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"reporting__filter\\\">\\n  <IcSelect\\n    @items={{groupList}}\\n    @onSelectItem={{action \\\"setSelectedItem\\\"}}\\n    @hasFilter={{true}}\\n    @filterPlaceholder=\\\"Search tags\\\"\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"reporting__filter\\\">\\n  <IcSelect\\n    @items={{groupList}}\\n    @onSelectItem={{action \\\"setSelectedItem\\\"}}\\n    @hasFilter={{true}}\\n    @filterPlaceholder=\\\"Search tags\\\"\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/tag-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/tag-filter.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { map } from '@ember/object/computed';\nimport { isNone } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  noFilterDescriptor: 'All tags',\n  tagName: 'span',\n  groupList: computed('rawTags', 'selected', function() {\n    let selectedTag = this.selected;\n    return [\n      {\n        items: [\n          {\n            text: this.noFilterDescriptor,\n            value: null,\n            isSelected: isNone(selectedTag),\n          },\n        ],\n      },\n      {\n        heading: 'Filter by tag',\n        items: this.rawTags.map(tag => ({\n          text: tag.get('name'),\n          value: tag,\n          isSelected: tag === selectedTag,\n          icon: 'tag',\n        })),\n      },\n    ];\n  }),\n  tags: map('rawTags', function(tag) {\n    return this.buildItem(tag);\n  }),\n  rawTags: notImplemented('reporting/tag-filter: You must override the `tags` property'),\n  selected: notImplemented('reporting/tag-filter: You must override the `selected` property'),\n  setSelected: notImplemented('reporting/tag-filter: You must override the `setSelected` property'),\n\n  actions: {\n    setSelectedItem(tag) {\n      this.intercomEventService.trackEvent('filtered-report-by-tag', {\n        action: 'filtered',\n        object: this.analyticsObject,\n        place: 'reporting',\n        context: 'by_tag',\n        owner: 'respond',\n      });\n\n      this.setSelected(tag);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { computed } from '@ember/object';\nimport LineChartLegend from 'embercom/components/reporting/line-chart-legend';\nimport { inject as service } from '@ember/service';\nimport { MAX_CHART_LINES } from 'embercom/components/reporting/signal-card';\n\nexport default LineChartLegend.extend({\n  intercomEventService: service(),\n  layoutName: 'components/reporting/line-chart-legend',\n\n  scopingTagId: computed('scopingTag.id', function() {\n    return parseInt(this.get('scopingTag.id'), 10);\n  }),\n\n  init() {\n    this._super(...arguments);\n\n    let signalContextKeys = this.get('signal.context')\n      .mapBy('key')\n      .map(String);\n    let scopedTagIds = this.scopedTagIds ? this.scopedTagIds.map(String) : null;\n    let selectedSignalContextKeysWithoutScopingTag = signalContextKeys\n      .filter(key => key !== this.get('scopingTag.id'))\n      .slice(0, MAX_CHART_LINES);\n\n    let selectionDropdownItems = this.get('app.tags')\n      .filter(tag => !scopedTagIds || scopedTagIds.includes(tag.get('id')))\n      .rejectBy('id', this.get('scopingTag.id'))\n      .map(tag => ({\n        text: tag.get('name'),\n        value: tag.get('id'),\n        isSelected: selectedSignalContextKeysWithoutScopingTag.includes(tag.get('id')),\n      }));\n\n    this.setProperties({\n      selectionDropdownItems,\n      selectedTagIds: signalContextKeys,\n      previousSelectedTagIds: signalContextKeys,\n    });\n  },\n\n  _didSelectedTagIdsChange(selectedTagIds) {\n    let sortedSelectedTagIds = selectedTagIds ? selectedTagIds.toArray().sort() : [];\n    let sortedPreviousSelectedTagIds = this.previousSelectedTagIds.toArray().sort();\n    return (\n      sortedSelectedTagIds.length !== sortedPreviousSelectedTagIds.length ||\n      sortedSelectedTagIds.any((v, i) => v !== sortedPreviousSelectedTagIds[i])\n    );\n  },\n\n  _considerRefetchingSignal(selectedTagIds) {\n    if (this._didSelectedTagIdsChange(selectedTagIds) && this.refetchSignalFromSignalId) {\n      this.refetchSignalFromSignalId(selectedTagIds);\n      this.set('previousSelectedTagIds', selectedTagIds);\n    }\n  },\n\n  onSelectionChange(selectedTagIds) {\n    this.set('selectedTagIds', selectedTagIds);\n  },\n\n  onMultiselectClosed() {\n    let selectedTagIds = this.selectedTagIds;\n\n    this.intercomEventService.trackEvent('selected-tags-in-multiselect-dropdown', {\n      action: 'selected-tags-in-multiselect-dropdown',\n      object: `${this.get('signal.name')}_signal`,\n      context: this.get('signal.analyticsContext'),\n      place: 'reporting',\n      owner: 'respond',\n      selected_count: selectedTagIds.get('length'),\n    });\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'multiselect-dropdown-closed',\n      object: `${this.get('signal.name')}_signal`,\n      context: this.get('signal.analyticsContext'),\n      place: 'reporting',\n    });\n\n    this._considerRefetchingSignal(selectedTagIds);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Admin::NewSelector\\n  @assignees={{teammatesAndTeams}}\\n  @selectedValue={{selected.id}}\\n  @onSelectItem={{setSelected}}\\n  @showTeams={{true}}\\n  @showAwayAndReassigningStatus={{false}}\\n  @teammatesHeading=\\\"Teammates\\\"\\n  @teamsHeading=\\\"Teams\\\"\\n  @defaultLabel=\\\"All teammates and teams\\\"\\n  @showRemoveAdmin={{true}}\\n  @removeAdminValue={{app.appTeam.id}}\\n  @readOnly={{false}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Admin::NewSelector\\n  @assignees={{teammatesAndTeams}}\\n  @selectedValue={{selected.id}}\\n  @onSelectItem={{setSelected}}\\n  @showTeams={{true}}\\n  @showAwayAndReassigningStatus={{false}}\\n  @teammatesHeading=\\\"Teammates\\\"\\n  @teamsHeading=\\\"Teams\\\"\\n  @defaultLabel=\\\"All teammates and teams\\\"\\n  @showRemoveAdmin={{true}}\\n  @removeAdminValue={{app.appTeam.id}}\\n  @readOnly={{false}}\\n/>\\n\",\"moduleName\":\"embercom/components/reporting/team-or-teammate-filter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/team-or-teammate-filter.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, union } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  tagName: 'span',\n  appService: service(),\n  reportingService: service(),\n  app: readOnly('appService.app'),\n  teams: readOnly('app.teamsWithoutAppTeam'),\n  teammatesAndTeams: union('rawTeammates', 'teams'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"{{if this.comparison 'reporting__report-tab-tooltip__title'}}\\\" data-test-tooltip-period={{if this.comparison 'previous' 'current'}}>\\n  <strong>\\n    {{#if (eq @unit 'percent')}}\\n      {{format-percentage-reports-detailed @currentValue}}\\n    {{else}}\\n      {{unit-formatter @currentValue @unit}} {{@tooltip}}\\n    {{/if}}\\n  </strong>\\n  <br />\\n  ({{if this.isBucketGreaterThanDay this.formattedCurrentRangeDate this.formattedCurrentDate}})\\n</div>\\n\", {\"contents\":\"<div class=\\\"{{if this.comparison 'reporting__report-tab-tooltip__title'}}\\\" data-test-tooltip-period={{if this.comparison 'previous' 'current'}}>\\n  <strong>\\n    {{#if (eq @unit 'percent')}}\\n      {{format-percentage-reports-detailed @currentValue}}\\n    {{else}}\\n      {{unit-formatter @currentValue @unit}} {{@tooltip}}\\n    {{/if}}\\n  </strong>\\n  <br />\\n  ({{if this.isBucketGreaterThanDay this.formattedCurrentRangeDate this.formattedCurrentDate}})\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/tooltip/default-tooltip.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/tooltip/default-tooltip.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport moment from 'moment';\nimport {\n  dateRangeBucketFormatter,\n  isBucketGreaterThanDay,\n} from 'embercom/lib/inbox/date-range-bucket-formatter';\n\nconst CURRENCIES = {\n  dollars: '$',\n};\n\nexport default Component.extend({\n  tagName: '',\n  datePattern: computed('currentDate', 'comparisonDate', 'rangeStart', 'rangeEnd', function() {\n    let duration = moment.duration(moment(this.rangeEnd).diff(moment(this.rangeStart))).asDays();\n\n    let isOneDayPickedRange = duration <= 1;\n\n    return isOneDayPickedRange ? 'MMM D, ddd HH:mm' : 'MMM D, ddd';\n  }),\n  formattedCurrentDate: computed('currentDate', 'timezone', function() {\n    return moment(this.currentDate)\n      .tz(this.timezone)\n      .format(this.datePattern);\n  }),\n\n  formattedCurrentRangeDate: computed(\n    'currentDate',\n    'aggregationInterval',\n    'currentStart',\n    'currentEnd',\n    function() {\n      return dateRangeBucketFormatter(\n        this.currentDate,\n        this.aggregationInterval,\n        this.rangeStart,\n        this.rangeEnd,\n      );\n    },\n  ),\n  isBucketGreaterThanDay: computed('aggregationInterval', function() {\n    return isBucketGreaterThanDay(this.aggregationInterval);\n  }),\n  isCurrency: computed('valueUnit', function() {\n    return this.valueUnit in CURRENCIES;\n  }),\n  currencySymbol: computed('valueUnit', 'isCurrency', function() {\n    if (this.isCurrency) {\n      return CURRENCIES[this.valueUnit];\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<strong>\\n{{#if (eq @unit 'percent')}}\\n  {{format-percentage-reports-detailed @currentValue}}\\n{{else}}\\n  {{unit-formatter @currentValue @unit}}\\n{{/if}} {{@tooltip}}\\n</strong>\\n<br />\\n({{@column}}, {{@cell}})\\n\", {\"contents\":\"<strong>\\n{{#if (eq @unit 'percent')}}\\n  {{format-percentage-reports-detailed @currentValue}}\\n{{else}}\\n  {{unit-formatter @currentValue @unit}}\\n{{/if}} {{@tooltip}}\\n</strong>\\n<br />\\n({{@column}}, {{@cell}})\\n\",\"moduleName\":\"embercom/components/reporting/tooltip/heatmap-tooltip.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/tooltip/heatmap-tooltip.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-reporting-horizontal-bar-tooltip>\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <strong>\\n      {{format-percentage-reports-detailed (or @percent @currentValue)}}\\n    </strong>\\n    <span class=\\\"reporting__conversation-ratings-emoji conversation-rating__rating-{{@key}} u__ml__5\\\"></span>\\n    <span class=\\\"t__light-text\\\">\\n      ・{{unit-formatter (or @count (get @countsByKey @key))}} in {{unit-formatter @total}} conversations\\n    </span>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div data-test-reporting-horizontal-bar-tooltip>\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <strong>\\n      {{format-percentage-reports-detailed (or @percent @currentValue)}}\\n    </strong>\\n    <span class=\\\"reporting__conversation-ratings-emoji conversation-rating__rating-{{@key}} u__ml__5\\\"></span>\\n    <span class=\\\"t__light-text\\\">\\n      ・{{unit-formatter (or @count (get @countsByKey @key))}} in {{unit-formatter @total}} conversations\\n    </span>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/tooltip/horizontal-bar-ratings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/tooltip/horizontal-bar-ratings.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-reporting-horizontal-bar-tooltip>\\n  <strong>\\n    {{format-percentage-reports-detailed (or @percent @currentValue)}}\\n  </strong>\\n  <span class=\\\"t__light-text\\\">\\n    ・{{unit-formatter @count}} in {{unit-formatter @total}} {{@unit}}\\n  </span>\\n  {{#if @tooltip}}\\n    <br />{{@tooltip}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div data-test-reporting-horizontal-bar-tooltip>\\n  <strong>\\n    {{format-percentage-reports-detailed (or @percent @currentValue)}}\\n  </strong>\\n  <span class=\\\"t__light-text\\\">\\n    ・{{unit-formatter @count}} in {{unit-formatter @total}} {{@unit}}\\n  </span>\\n  {{#if @tooltip}}\\n    <br />{{@tooltip}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/tooltip/horizontal-bar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/tooltip/horizontal-bar.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-reporting-simple-percentage-tooltip>\\n  {{format-percentage-reports-detailed @total @value}} {{@text}}\\n</div>\\n\", {\"contents\":\"<div data-test-reporting-simple-percentage-tooltip>\\n  {{format-percentage-reports-detailed @total @value}} {{@text}}\\n</div>\\n\",\"moduleName\":\"embercom/components/reporting/tooltip/simple-percentage.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/reporting/tooltip/simple-percentage.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","define(\"embercom/components/resize-text\", [\"exports\", \"ember-resize-text/components/resize-text\"], function (_exports, _resizeText) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _resizeText.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row\\\" data-intercom-target=\\\"actions-editor\\\">\\n  <div class=\\\"mr-4\\\">\\n    <IcIfThisThenThat @type={{or @actionsType this.actionsType}} />\\n  </div>\\n  <div class=\\\"flex flex-col justify-center gap-4\\\">\\n    {{#if @rule.actions }}\\n      <div>\\n      {{#each @rule.actions as |ruleAction index|}}\\n          <div class={{if (gt index 0) \\\"u__mt__10\\\"}}>\\n            {{component\\n              ruleAction.componentPath\\n              action=ruleAction\\n              allRuleActions=@rule.actions\\n              actionEditorContext=@actionEditorContext\\n              onChange=@onChange\\n              onDelete=(fn this.removeAction ruleAction)\\n              isDisabled=@isDisabled\\n              rule=@rule\\n            }}\\n          </div>\\n        {{/each}}\\n      </div>\\n    {{/if}}\\n    {{#if this.availableActionIdentifiers}}\\n      <div>\\n        {{#if (and @actionEditorContext.singleActionMode (eq @allowedRuleActions.length 1))}}\\n          {{#let this.availableActionConfigs.firstObject as |item|}}\\n            <a\\n              {{on \\\"click\\\" (fn this.addAction item)}}\\n              class=\\\"btn__tertiary u__display-inline-block {{if @isDisabled \\\"o__disabled\\\"}}\\\"\\n              data-test-add-action\\n            >\\n              {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} {{item.text}}\\n            </a>\\n          {{/let}}\\n        {{else}}\\n          <IcDropdownOpener\\n            @label=\\\"More\\\"\\n            @groupList={{this.availableActionsGroupList}}\\n            @onSelectItem={{this.addAction}}\\n            @isDisabled={{@isDisabled}}\\n            data-intercom-target=\\\"Add Action\\\"\\n          >\\n            <a\\n              class=\\\"btn__tertiary u__display-inline-block {{if @isDisabled \\\"o__disabled\\\"}}\\\"\\n              data-test-add-action\\n            >\\n              {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add action\\n            </a>\\n          </IcDropdownOpener>\\n        {{/if}}\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row\\\" data-intercom-target=\\\"actions-editor\\\">\\n  <div class=\\\"mr-4\\\">\\n    <IcIfThisThenThat @type={{or @actionsType this.actionsType}} />\\n  </div>\\n  <div class=\\\"flex flex-col justify-center gap-4\\\">\\n    {{#if @rule.actions }}\\n      <div>\\n      {{#each @rule.actions as |ruleAction index|}}\\n          <div class={{if (gt index 0) \\\"u__mt__10\\\"}}>\\n            {{component\\n              ruleAction.componentPath\\n              action=ruleAction\\n              allRuleActions=@rule.actions\\n              actionEditorContext=@actionEditorContext\\n              onChange=@onChange\\n              onDelete=(fn this.removeAction ruleAction)\\n              isDisabled=@isDisabled\\n              rule=@rule\\n            }}\\n          </div>\\n        {{/each}}\\n      </div>\\n    {{/if}}\\n    {{#if this.availableActionIdentifiers}}\\n      <div>\\n        {{#if (and @actionEditorContext.singleActionMode (eq @allowedRuleActions.length 1))}}\\n          {{#let this.availableActionConfigs.firstObject as |item|}}\\n            <a\\n              {{on \\\"click\\\" (fn this.addAction item)}}\\n              class=\\\"btn__tertiary u__display-inline-block {{if @isDisabled \\\"o__disabled\\\"}}\\\"\\n              data-test-add-action\\n            >\\n              {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} {{item.text}}\\n            </a>\\n          {{/let}}\\n        {{else}}\\n          <IcDropdownOpener\\n            @label=\\\"More\\\"\\n            @groupList={{this.availableActionsGroupList}}\\n            @onSelectItem={{this.addAction}}\\n            @isDisabled={{@isDisabled}}\\n            data-intercom-target=\\\"Add Action\\\"\\n          >\\n            <a\\n              class=\\\"btn__tertiary u__display-inline-block {{if @isDisabled \\\"o__disabled\\\"}}\\\"\\n              data-test-add-action\\n            >\\n              {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add action\\n            </a>\\n          </IcDropdownOpener>\\n        {{/if}}\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/rules/actions/actions-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/actions/actions-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { computed } from '@ember/object';\nimport { map, mapBy, setDiff, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { CONVERSATION_PRIORITIES } from 'embercom/lib/inbox/constants';\nimport {\n  RULE_ACTION_MAP,\n  createConversationDataAttributeItems,\n} from 'embercom/lib/inbox/constants';\nimport { action } from '@ember/object';\n\nexport default Component.extend({\n  tagName: '',\n\n  intercomEventService: service(),\n  attributeService: service(),\n\n  usedActionIdentifiers: mapBy('rule.actions', 'type'),\n  multiActionIdentifiers: ['add-tag-to-conversation'],\n  removedActionIdentifiers: setDiff('usedActionIdentifiers', 'multiActionIdentifiers'),\n  unusedActionIdentifiers: setDiff('allowedRuleActions', 'removedActionIdentifiers'),\n\n  conversationAttributeIdentifier: 'set-conversation-data-attribute',\n  conversationCustomAttributes: readOnly(\n    'attributeService.nonArchivedConversationCustomAttributes',\n  ),\n  conversationCustomAttributeItems: computed('conversationCustomAttributes.[]', function() {\n    return createConversationDataAttributeItems(this.conversationCustomAttributes);\n  }),\n  usedConversationCustomAttributeRuleActions: computed(\n    'rule.actions.[]',\n    'conversationAttributeIdentifier',\n    function() {\n      return this.rule.actions.filter(ruleAction => {\n        return ruleAction.type === this.conversationAttributeIdentifier;\n      });\n    },\n  ),\n  usedConversationCustomAttributeRuleActionIdentifiers: computed(\n    'usedConversationCustomAttributeRuleActions.[]',\n    function() {\n      return this.usedConversationCustomAttributeRuleActions.map(\n        ruleAction => ruleAction.actionData.attribute_identifier,\n      );\n    },\n  ),\n  availableConversationCustomAttributeItems: computed(\n    'conversationCustomAttributeItems.[]',\n    'usedConversationCustomAttributeRuleActionIdentifiers.[]',\n    function() {\n      return this.conversationCustomAttributeItems.filter(item => {\n        return !this.usedConversationCustomAttributeRuleActionIdentifiers.includes(\n          item.attribute_identifier,\n        );\n      });\n    },\n  ),\n\n  availableActionIdentifiers: computed(\n    'usedActionIdentifiers.[]',\n    'unusedActionIdentifiers.[]',\n    function() {\n      let availableActionIdentifiers = this.unusedActionIdentifiers.slice();\n\n      let hasCustomerFacingAction = this.usedActionIdentifiers.any(\n        action => RULE_ACTION_MAP[action].isCustomerFacing,\n      );\n      if (hasCustomerFacingAction) {\n        availableActionIdentifiers = availableActionIdentifiers.reject(\n          action => RULE_ACTION_MAP[action].isCustomerFacing,\n        );\n      }\n      if (this.hasUsedAnyAssignmentActionIdentifier) {\n        availableActionIdentifiers = availableActionIdentifiers.reject(\n          action => RULE_ACTION_MAP[action].isAssignment,\n        );\n      }\n\n      return availableActionIdentifiers;\n    },\n  ),\n\n  actionsType: 'then',\n\n  hasUsedAnyAssignmentActionIdentifier: computed('usedActionIdentifiers.[]', function() {\n    return this.usedActionIdentifiers.any(action => RULE_ACTION_MAP[action].isAssignment);\n  }),\n\n  availableActionConfigs: map('availableActionIdentifiers', function(ruleAction) {\n    return RULE_ACTION_MAP[ruleAction];\n  }),\n\n  availableActionsGroupList: computed(\n    'availableActionConfigs.[]',\n    'availableConversationCustomAttributeItems.[]',\n    function() {\n      let items = this.availableActionConfigs.sortBy('order');\n\n      if (this.allowConversationAttributes) {\n        if (this.availableConversationCustomAttributeItems) {\n          items = items.concat(this.availableConversationCustomAttributeItems);\n        }\n      }\n\n      if (this.slaPaywall?.isActive) {\n        let slaItem = items.find(item => item.identifier === 'apply-conversation-sla');\n        slaItem = Object.assign({}, slaItem, {\n          component: 'rules/actions/actions-select-paywalled-item-component',\n          componentShouldReplaceItem: true,\n          isPaywalled: true,\n          paywallOpenUpgradeModal: this.slaPaywall.openUpgradeModal,\n          paywallAnalyticsEventData: this.slaPaywall.analyticsEventData,\n        });\n        items = items.reject(item => item.identifier === 'apply-conversation-sla');\n        items = items.concat(slaItem);\n      }\n      return [{ items }];\n    },\n  ),\n\n  trackAppInserterEvent() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'messenger_app_inserter',\n    });\n  },\n\n  addAction: action(function(item, event) {\n    if (event && event.stopImmediatePropagation) {\n      event.stopImmediatePropagation();\n    }\n    if (item.isPaywalled) {\n      return;\n    }\n\n    let actions = this.rule.actions;\n    let identifier = item.identifier;\n    let actionData = {};\n\n    if (identifier === 'send-app') {\n      this.trackAppInserterEvent();\n    }\n\n    if (identifier === this.conversationAttributeIdentifier) {\n      actionData.attribute_identifier = item.attribute_identifier;\n\n      // boolean and list types need default values due to pulse component requirements\n      if (item.attribute_type === 'boolean') {\n        actionData.value = true;\n      }\n      if (item.attribute_type === 'conversation_attribute_list') {\n        let firstValue = this.conversationCustomAttributes\n          .find(attribute => attribute.identifier === item.attribute_identifier)\n          .get('options.firstObject.identifier');\n\n        actionData.value = firstValue;\n      }\n    }\n\n    actions.createFragment({\n      type: identifier,\n      justAdded: true,\n      actionData,\n    });\n\n    if (identifier === 'change-conversation-priority') {\n      let actionData = Object.assign({}, actions.firstObject.actionData, {\n        priority: CONVERSATION_PRIORITIES.priority,\n      });\n      actions.firstObject.set('actionData', actionData);\n    }\n\n    let onChange = this.onChange;\n    if (onChange) {\n      onChange();\n    }\n  }),\n\n  removeAction: action(function(action) {\n    let actions = this.get('rule.actions');\n    actions.removeFragment(action);\n\n    let onChange = this.onChange;\n    if (onChange) {\n      onChange();\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  {{on \\\"click\\\" @item.paywallOpenUpgradeModal}}\\n  class=\\\"flex flex-row cursor-pointer pl-3 pr-3 pt-1 pb-1\\\"\\n  data-test-dropdown-item={{@item.text}}\\n>\\n  <div class=\\\"mr-2 opacity-50\\\">{{ic-interface-icon @item.icon}}</div>\\n  <div class=\\\"flex flex-row gap-2\\\">\\n    <span class=\\\"u__one-truncated-line opacity-50\\\">{{@item.text}}</span>\\n    <Paywalls::Badge\\n      @badgeOnly={{true}}\\n      @isActive={{true}}\\n      @openUpgradeModal={{@item.paywallOpenUpgradeModal}}\\n      @analyticsEventData={{@item.paywallAnalyticsEventData}}\\n    />\\n  </div>\\n</div>\\n\", {\"contents\":\"<div\\n  {{on \\\"click\\\" @item.paywallOpenUpgradeModal}}\\n  class=\\\"flex flex-row cursor-pointer pl-3 pr-3 pt-1 pb-1\\\"\\n  data-test-dropdown-item={{@item.text}}\\n>\\n  <div class=\\\"mr-2 opacity-50\\\">{{ic-interface-icon @item.icon}}</div>\\n  <div class=\\\"flex flex-row gap-2\\\">\\n    <span class=\\\"u__one-truncated-line opacity-50\\\">{{@item.text}}</span>\\n    <Paywalls::Badge\\n      @badgeOnly={{true}}\\n      @isActive={{true}}\\n      @openUpgradeModal={{@item.paywallOpenUpgradeModal}}\\n      @analyticsEventData={{@item.paywallAnalyticsEventData}}\\n    />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/rules/actions/actions-select-paywalled-item-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/actions/actions-select-paywalled-item-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcSelect\\n  @items={{if this.tagItems.length this.tagItems this.noTags}}\\n  @selectedValue={{@action.actionData.tag_id}}\\n  @onSelectItem={{this.updateTag}}\\n  @hasFilter={{this.tagItems.length}}\\n  @filterPlaceholder=\\\"Search tags\\\"\\n  @initiallyOpened={{@action.justAdded}}\\n  @onClose={{action (mut @action.justAdded) false}}\\n  as |select|\\n>\\n  <select.opener as |opener|>\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @appearance=\\\"action\\\"\\n      @name=\\\"Tag conversation\\\"\\n      @icon=\\\"tag\\\"\\n      @details={{concat \\\"with \\\" this.actionTagName}}\\n      @attributeDescription={{@action.info.actionDescription}}\\n      @deleteTooltipContent=\\\"Remove this action\\\"\\n      @isClickable={{true}}\\n      @isOpen={{opener.dropdownIsOpen}}\\n      @isInvalid={{and @action.isInvalid (not @action.justAdded)}}\\n      @onDelete={{@onDelete}}\\n      data-test-tag-selection={{true}}\\n    />\\n  </select.opener>\\n</IcSelect>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcSelect\\n  @items={{if this.tagItems.length this.tagItems this.noTags}}\\n  @selectedValue={{@action.actionData.tag_id}}\\n  @onSelectItem={{this.updateTag}}\\n  @hasFilter={{this.tagItems.length}}\\n  @filterPlaceholder=\\\"Search tags\\\"\\n  @initiallyOpened={{@action.justAdded}}\\n  @onClose={{action (mut @action.justAdded) false}}\\n  as |select|\\n>\\n  <select.opener as |opener|>\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @appearance=\\\"action\\\"\\n      @name=\\\"Tag conversation\\\"\\n      @icon=\\\"tag\\\"\\n      @details={{concat \\\"with \\\" this.actionTagName}}\\n      @attributeDescription={{@action.info.actionDescription}}\\n      @deleteTooltipContent=\\\"Remove this action\\\"\\n      @isClickable={{true}}\\n      @isOpen={{opener.dropdownIsOpen}}\\n      @isInvalid={{and @action.isInvalid (not @action.justAdded)}}\\n      @onDelete={{@onDelete}}\\n      data-test-tag-selection={{true}}\\n    />\\n  </select.opener>\\n</IcSelect>\\n\",\"moduleName\":\"embercom/components/rules/actions/add-tag-to-conversation.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/actions/add-tag-to-conversation.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { readOnly, map } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport { computed } from '@ember/object';\nimport { isPresent } from '@ember/utils';\n\nexport default Component.extend({\n  tagName: '',\n\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  selectableTags: computed('app.tags.[]', 'allRuleActions.@each.actionData', function() {\n    let allOtherTagActions = this.allRuleActions.filter(\n      action =>\n        action !== this.action &&\n        action.type === 'add-tag-to-conversation' &&\n        isPresent(action.get('actionData.tag_id')),\n    );\n    let allUsedTagsInActions = allOtherTagActions.map(action => action.actionData.tag_id);\n    return this.app.tags.reject(tag => tag.archived || allUsedTagsInActions.includes(tag.id));\n  }),\n\n  actionTagName: computed('action.actionData.tag_id', 'app.tags.[]', function() {\n    let tagId = this.get('action.actionData.tag_id');\n\n    if (!tagId) {\n      return '';\n    }\n\n    let tag = this.app.tags.findBy('id', tagId);\n    return tag.name;\n  }),\n\n  tagItems: map('selectableTags.[]', function(tag) {\n    return {\n      text: tag.name,\n      value: tag.id,\n    };\n  }),\n\n  updateTag: action(function(tag) {\n    this.set('action.actionData', { tag_id: tag });\n\n    let onChange = this.onChange;\n    if (onChange) {\n      onChange();\n    }\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.set('noTags', [\n      {\n        text: 'No tags found',\n        value: null,\n        isDisabled: true,\n      },\n    ]);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcSelect\\n  @items={{this.tagItems}}\\n  @selectedValue={{@action.actionData.tag}}\\n  @onSelectItem={{action \\\"updateTag\\\"}}\\n  @hasFilter={{true}}\\n  @filterPlaceholder=\\\"Search tags\\\"\\n  @initiallyOpened={{@action.justAdded}}\\n  @onClose={{action (mut @action.justAdded) false}}\\n  as |select|\\n>\\n  <select.opener as |opener|>\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @appearance=\\\"action\\\"\\n      @name=\\\"Tag\\\"\\n      @icon=\\\"tag\\\"\\n      @details={{concat \\\"with \\\" @action.actionData.tags.firstObject.name}}\\n      @attributeDescription={{@action.info.actionDescription}}\\n      @deleteTooltipContent=\\\"Remove this action\\\"\\n      @isClickable={{true}}\\n      @isOpen={{opener.dropdownIsOpen}}\\n      @isInvalid={{and @action.isInvalid (not @action.justAdded)}}\\n      @onDelete={{action @onDelete @action}}\\n    />\\n  </select.opener>\\n</IcSelect>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcSelect\\n  @items={{this.tagItems}}\\n  @selectedValue={{@action.actionData.tag}}\\n  @onSelectItem={{action \\\"updateTag\\\"}}\\n  @hasFilter={{true}}\\n  @filterPlaceholder=\\\"Search tags\\\"\\n  @initiallyOpened={{@action.justAdded}}\\n  @onClose={{action (mut @action.justAdded) false}}\\n  as |select|\\n>\\n  <select.opener as |opener|>\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @appearance=\\\"action\\\"\\n      @name=\\\"Tag\\\"\\n      @icon=\\\"tag\\\"\\n      @details={{concat \\\"with \\\" @action.actionData.tags.firstObject.name}}\\n      @attributeDescription={{@action.info.actionDescription}}\\n      @deleteTooltipContent=\\\"Remove this action\\\"\\n      @isClickable={{true}}\\n      @isOpen={{opener.dropdownIsOpen}}\\n      @isInvalid={{and @action.isInvalid (not @action.justAdded)}}\\n      @onDelete={{action @onDelete @action}}\\n    />\\n  </select.opener>\\n</IcSelect>\\n\",\"moduleName\":\"embercom/components/rules/actions/add-tags-to-conversation.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/actions/add-tags-to-conversation.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { readOnly, map } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  tagName: '',\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  tagItems: map('app.tags', function(tag) {\n    return {\n      text: tag.get('name'),\n      value: tag.get('name'),\n    };\n  }),\n\n  actions: {\n    updateTag(tag) {\n      this.set('action.actionData', {\n        tags: [\n          {\n            name: tag,\n            creator_id: parseInt(this.get('app.currentAdmin.id'), 10),\n          },\n        ],\n      });\n\n      let onChange = this.onChange;\n      if (onChange) {\n        onChange();\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Rules::PickConversationSla\\n  @action={{@action}}\\n  @onChange={{@onChange}}\\n  @isDisabled={{@isDisabled}}\\n  @onDelete={{@onDelete}}\\n  @actionEditorContext={{@actionEditorContext}}\\n/>\\n\", {\"contents\":\"<Rules::PickConversationSla\\n  @action={{@action}}\\n  @onChange={{@onChange}}\\n  @isDisabled={{@isDisabled}}\\n  @onDelete={{@onDelete}}\\n  @actionEditorContext={{@actionEditorContext}}\\n/>\\n\",\"moduleName\":\"embercom/components/rules/actions/apply-conversation-sla.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/actions/apply-conversation-sla.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Rules::PickAssignee\\n  @name=\\\"Assign to\\\"\\n  @icon=\\\"assignment\\\"\\n  @action={{@action}}\\n  @onChange={{@onChange}}\\n  @isDisabled={{@isDisabled}}\\n  @onDelete={{@onDelete}}\\n  @actionEditorContext={{@actionEditorContext}}\\n/>\\n\", {\"contents\":\"<Rules::PickAssignee\\n  @name=\\\"Assign to\\\"\\n  @icon=\\\"assignment\\\"\\n  @action={{@action}}\\n  @onChange={{@onChange}}\\n  @isDisabled={{@isDisabled}}\\n  @onDelete={{@onDelete}}\\n  @actionEditorContext={{@actionEditorContext}}\\n/>\\n\",\"moduleName\":\"embercom/components/rules/actions/assign-conversation-to-owner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/actions/assign-conversation-to-owner.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-center\\\">\\n  <Rules::PickAssignee\\n    @name=\\\"Assign to\\\"\\n    @icon=\\\"assignment\\\"\\n    @action={{@action}}\\n    @onChange={{@onChange}}\\n    @isDisabled={{@isDisabled}}\\n    @onDelete={{@onDelete}}\\n    @actionEditorContext={{@actionEditorContext}}\\n  />\\n  {{#if (eq @rule.triggerType 'reply_to_outbound')}}\\n    <span class=\\\"text-gray ml-2\\\">\\n      This action will not override outbound reply-tos <IcTooltipIcon @content=\\\"To assign replies to an outbound chat, post or email set its reply-to to unassigned\\\" />\\n    </span>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row items-center\\\">\\n  <Rules::PickAssignee\\n    @name=\\\"Assign to\\\"\\n    @icon=\\\"assignment\\\"\\n    @action={{@action}}\\n    @onChange={{@onChange}}\\n    @isDisabled={{@isDisabled}}\\n    @onDelete={{@onDelete}}\\n    @actionEditorContext={{@actionEditorContext}}\\n  />\\n  {{#if (eq @rule.triggerType 'reply_to_outbound')}}\\n    <span class=\\\"text-gray ml-2\\\">\\n      This action will not override outbound reply-tos <IcTooltipIcon @content=\\\"To assign replies to an outbound chat, post or email set its reply-to to unassigned\\\" />\\n    </span>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/rules/actions/assign-conversation.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/actions/assign-conversation.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-mark-as-priority-action>\\n  {{#if @actionEditorContext.isRulePage}}\\n    <div\\n      class=\\\"layout__box o__centers-vertically inbox__rule-action__then__wrapper\\\"\\n    >\\n      <h4 class=\\\"t__h4\\\">\\n        {{ic-interface-icon \\\"star\\\"}} Mark as priority\\n      </h4>\\n    </div>\\n  {{else}}\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @name=\\\"Mark as priority\\\"\\n      @icon=\\\"star\\\"\\n      @appearance=\\\"action\\\"\\n      @onDelete={{@onDelete}}\\n      @deleteTooltipContent=\\\"Remove this action\\\"\\n    />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div data-test-mark-as-priority-action>\\n  {{#if @actionEditorContext.isRulePage}}\\n    <div\\n      class=\\\"layout__box o__centers-vertically inbox__rule-action__then__wrapper\\\"\\n    >\\n      <h4 class=\\\"t__h4\\\">\\n        {{ic-interface-icon \\\"star\\\"}} Mark as priority\\n      </h4>\\n    </div>\\n  {{else}}\\n    <IcFilterBlock\\n      @isOneLine={{true}}\\n      @name=\\\"Mark as priority\\\"\\n      @icon=\\\"star\\\"\\n      @appearance=\\\"action\\\"\\n      @onDelete={{@onDelete}}\\n      @deleteTooltipContent=\\\"Remove this action\\\"\\n    />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/rules/actions/change-conversation-priority.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/actions/change-conversation-priority.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcFilterBlock\\n  @name=\\\"Close conversation\\\"\\n  @icon=\\\"check\\\"\\n  @isClickable={{false}}\\n  @appearance=\\\"action\\\"\\n  @isOneLine={{true}}\\n  @onDelete={{@onDelete}}\\n  @deleteTooltipContent=\\\"Remove this action\\\"\\n/>\\n\", {\"contents\":\"<IcFilterBlock\\n  @name=\\\"Close conversation\\\"\\n  @icon=\\\"check\\\"\\n  @isClickable={{false}}\\n  @appearance=\\\"action\\\"\\n  @isOneLine={{true}}\\n  @onDelete={{@onDelete}}\\n  @deleteTooltipContent=\\\"Remove this action\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/rules/actions/close-conversation.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/actions/close-conversation.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<FilterBlock::FilterBlockPopoverHousing\\n  @completeEditingFilterBlock={{action \\\"completeEditingFilterBlock\\\"}}\\n>\\n  {{#if componentAttrs.action.info.overlayPrompt}}\\n    <p class=\\\"u__mb__10\\\">\\n      {{componentAttrs.action.info.overlayPrompt}}\\n    </p>\\n  {{/if}}\\n  <div\\n    class=\\\"u__mb__10 operator__heading__bot__message\\\"\\n    data-test-introduction-sent-from\\n  >\\n    Bot message\\n  </div>\\n  <div>\\n    <textarea\\n      data-test-app-introduction-input\\n      value={{componentAttrs.action.actionData.introduction}}\\n      oninput={{action \\\"update\\\" value=\\\"target.value\\\"}}\\n      class=\\\"f__text o__min-four-lines u__pad__10 o__no-resize\\\"\\n      placeholder={{componentAttrs.action.info.placeholder}}\\n      {{auto-focus-element}}\\n    >\\n\\n    </textarea>\\n  </div>\\n  <AppFramework::MessengerApps::Inserter::AppInserter\\n    @initializeType=\\\"canvas\\\"\\n    @contextualData={{hash location=\\\"operator\\\"}}\\n    class=\\\"inbox__conversation-controls__inserter-opener\\\"\\n    data-test-inserter=\\\"messenger-app\\\"\\n    @insertApp={{action \\\"selectApp\\\"}}\\n    @restrictTo=\\\"operator\\\"\\n    @shouldInitializeCanvas={{false}}\\n    @isOpen={{true}}\\n    @inserterTitle=\\\"Send as a follow up action\\\"\\n    @capability=\\\"operator\\\" as |appInserter|\\n  >\\n    <div class=\\\"u__mt__10\\\">\\n      {{#if (not componentAttrs.action.actionData.appName)}}\\n        <a class=\\\"btn__tertiary\\\">\\n          + Add an app\\n        </a>\\n      {{else}}\\n        <IcFilterBlock\\n          @name=\\\"Send app\\\"\\n          @details={{componentAttrs.action.actionData.appName}}\\n          @icon=\\\"app-store\\\"\\n          @isClickable={{false}}\\n          @appearance=\\\"action\\\"\\n          @isOneLine={{true}}\\n        />\\n      {{/if}}\\n    </div>\\n  </AppFramework::MessengerApps::Inserter::AppInserter>\\n</FilterBlock::FilterBlockPopoverHousing>\\n<div class=\\\"u__centered-text-block layout__box filter-block__popover__done\\\">\\n  <a class=\\\"btn__tertiary\\\" {{action \\\"completeEditingFilterBlock\\\"}}>\\n    Done\\n  </a>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<FilterBlock::FilterBlockPopoverHousing\\n  @completeEditingFilterBlock={{action \\\"completeEditingFilterBlock\\\"}}\\n>\\n  {{#if componentAttrs.action.info.overlayPrompt}}\\n    <p class=\\\"u__mb__10\\\">\\n      {{componentAttrs.action.info.overlayPrompt}}\\n    </p>\\n  {{/if}}\\n  <div\\n    class=\\\"u__mb__10 operator__heading__bot__message\\\"\\n    data-test-introduction-sent-from\\n  >\\n    Bot message\\n  </div>\\n  <div>\\n    <textarea\\n      data-test-app-introduction-input\\n      value={{componentAttrs.action.actionData.introduction}}\\n      oninput={{action \\\"update\\\" value=\\\"target.value\\\"}}\\n      class=\\\"f__text o__min-four-lines u__pad__10 o__no-resize\\\"\\n      placeholder={{componentAttrs.action.info.placeholder}}\\n      {{auto-focus-element}}\\n    >\\n\\n    </textarea>\\n  </div>\\n  <AppFramework::MessengerApps::Inserter::AppInserter\\n    @initializeType=\\\"canvas\\\"\\n    @contextualData={{hash location=\\\"operator\\\"}}\\n    class=\\\"inbox__conversation-controls__inserter-opener\\\"\\n    data-test-inserter=\\\"messenger-app\\\"\\n    @insertApp={{action \\\"selectApp\\\"}}\\n    @restrictTo=\\\"operator\\\"\\n    @shouldInitializeCanvas={{false}}\\n    @isOpen={{true}}\\n    @inserterTitle=\\\"Send as a follow up action\\\"\\n    @capability=\\\"operator\\\" as |appInserter|\\n  >\\n    <div class=\\\"u__mt__10\\\">\\n      {{#if (not componentAttrs.action.actionData.appName)}}\\n        <a class=\\\"btn__tertiary\\\">\\n          + Add an app\\n        </a>\\n      {{else}}\\n        <IcFilterBlock\\n          @name=\\\"Send app\\\"\\n          @details={{componentAttrs.action.actionData.appName}}\\n          @icon=\\\"app-store\\\"\\n          @isClickable={{false}}\\n          @appearance=\\\"action\\\"\\n          @isOneLine={{true}}\\n        />\\n      {{/if}}\\n    </div>\\n  </AppFramework::MessengerApps::Inserter::AppInserter>\\n</FilterBlock::FilterBlockPopoverHousing>\\n<div class=\\\"u__centered-text-block layout__box filter-block__popover__done\\\">\\n  <a class=\\\"btn__tertiary\\\" {{action \\\"completeEditingFilterBlock\\\"}}>\\n    Done\\n  </a>\\n</div>\\n\",\"moduleName\":\"embercom/components/rules/actions/send-app-with-introduction-overlay.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/actions/send-app-with-introduction-overlay.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { readOnly, or } from '@ember/object/computed';\nimport BaseFilterBlockPopover from 'predicates/components/filter-block/base-filter-block-popover';\nimport { inject } from '@ember/service';\nimport { findBy } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default BaseFilterBlockPopover.extend({\n  appService: inject(),\n  app: readOnly('appService.app'),\n  operator: findBy('app.admins', 'isOperator'),\n  adminFromMessage: readOnly('componentAttrs.message.variationA.from'),\n  fromAdmin: or('adminFromMessage', 'operator'),\n\n  _onChange() {\n    let onChange = this.get('componentAttrs.onChange');\n    if (onChange) {\n      onChange();\n    }\n  },\n\n  actions: {\n    update(introduction) {\n      let actionData = this.get('componentAttrs.action.actionData');\n      this.set(\n        'componentAttrs.action.actionData',\n        Object.assign({}, actionData, {\n          introduction,\n          reply_from_admin_id: this.get('fromAdmin.id'),\n        }),\n      );\n      this._onChange();\n    },\n\n    selectApp(options, messengerApp) {\n      let actionData = this.get('componentAttrs.action.actionData');\n      this.set(\n        'componentAttrs.action.actionData',\n        Object.assign({}, actionData, {\n          appName: messengerApp.get('name'),\n          messengerAppId: messengerApp.get('id'),\n          options,\n        }),\n      );\n      this._onChange();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<FilterBlock::FilterBlockEditor\\n  @name=\\\"Send bot message and app\\\"\\n  @details={{concat @action.actionData.appName ' | \\\"' @action.actionData.introduction '\\\"'}}\\n  @icon={{@action.info.icon}}\\n  @displaysFullDescription={{true}}\\n  @appearance=\\\"action\\\"\\n  @attributeDescription={{@action.info.actionDescription}}\\n  @deleteTooltipContent=\\\"Remove this action\\\"\\n  @isInvalid={{@action.isInvalid}}\\n  @justAdded={{@action.justAdded}}\\n  @onClose={{action (mut @action.justAdded) false}}\\n  @onDelete={{@onDelete}}\\n  @overlayComponent=\\\"rules/actions/send-app-with-introduction-overlay\\\"\\n  @isWide={{true}}\\n  @componentAttrs={{hash\\n    action=@action\\n    message=@actionEditorContext.message\\n    onChange=@onChange\\n  }}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<FilterBlock::FilterBlockEditor\\n  @name=\\\"Send bot message and app\\\"\\n  @details={{concat @action.actionData.appName ' | \\\"' @action.actionData.introduction '\\\"'}}\\n  @icon={{@action.info.icon}}\\n  @displaysFullDescription={{true}}\\n  @appearance=\\\"action\\\"\\n  @attributeDescription={{@action.info.actionDescription}}\\n  @deleteTooltipContent=\\\"Remove this action\\\"\\n  @isInvalid={{@action.isInvalid}}\\n  @justAdded={{@action.justAdded}}\\n  @onClose={{action (mut @action.justAdded) false}}\\n  @onDelete={{@onDelete}}\\n  @overlayComponent=\\\"rules/actions/send-app-with-introduction-overlay\\\"\\n  @isWide={{true}}\\n  @componentAttrs={{hash\\n    action=@action\\n    message=@actionEditorContext.message\\n    onChange=@onChange\\n  }}\\n/>\\n\",\"moduleName\":\"embercom/components/rules/actions/send-app-with-introduction.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/actions/send-app-with-introduction.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<AppFramework::MessengerApps::Inserter::AppInserter\\n  @initializeType=\\\"canvas\\\"\\n  @contextualData={{hash location=\\\"operator\\\"}}\\n  data-test-inserter=\\\"messenger-app\\\"\\n  @insertApp={{action \\\"selectApp\\\"}}\\n  @initiallyOpened={{this.action.justAdded}}\\n  @restrictTo=\\\"operator\\\"\\n  @shouldInitializeCanvas={{false}}\\n  @inserterTitle=\\\"Send as a follow up action\\\"\\n  @capability=\\\"operator\\\" as |appInserter|\\n>\\n  <IcFilterBlock\\n    @name=\\\"Send app\\\"\\n    @icon=\\\"interface\\\"\\n    @details={{messengerAppName}}\\n    @isClickable={{true}}\\n    @isInvalid={{not this.action.actionData.appName}}\\n    @appearance=\\\"action\\\"\\n    @isOneLine={{true}}\\n    @onDelete={{@onDelete}}\\n    @deleteTooltipContent=\\\"Remove this action\\\"\\n    @isOpen={{appInserter.isOpen}}\\n  />\\n</AppFramework::MessengerApps::Inserter::AppInserter>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<AppFramework::MessengerApps::Inserter::AppInserter\\n  @initializeType=\\\"canvas\\\"\\n  @contextualData={{hash location=\\\"operator\\\"}}\\n  data-test-inserter=\\\"messenger-app\\\"\\n  @insertApp={{action \\\"selectApp\\\"}}\\n  @initiallyOpened={{this.action.justAdded}}\\n  @restrictTo=\\\"operator\\\"\\n  @shouldInitializeCanvas={{false}}\\n  @inserterTitle=\\\"Send as a follow up action\\\"\\n  @capability=\\\"operator\\\" as |appInserter|\\n>\\n  <IcFilterBlock\\n    @name=\\\"Send app\\\"\\n    @icon=\\\"interface\\\"\\n    @details={{messengerAppName}}\\n    @isClickable={{true}}\\n    @isInvalid={{not this.action.actionData.appName}}\\n    @appearance=\\\"action\\\"\\n    @isOneLine={{true}}\\n    @onDelete={{@onDelete}}\\n    @deleteTooltipContent=\\\"Remove this action\\\"\\n    @isOpen={{appInserter.isOpen}}\\n  />\\n</AppFramework::MessengerApps::Inserter::AppInserter>\\n\",\"moduleName\":\"embercom/components/rules/actions/send-app.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/actions/send-app.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  appService: service(),\n  init() {\n    this._super(...arguments);\n    this.set('messengerAppName', this.get('action.actionData.appName'));\n  },\n  actions: {\n    selectApp(options, messengerApp) {\n      let appName = messengerApp.get('name');\n      this.set('messengerAppName', appName);\n      this.set('action.actionData', {\n        appName,\n        messengerAppId: messengerApp.get('id'),\n        options,\n      });\n\n      let onChange = this.onChange;\n      if (onChange) {\n        onChange();\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<FilterBlock::FilterBlockPopoverHousing\\n  @openOn={{positionName}}\\n  @completeEditingFilterBlock={{action \\\"completeEditingFilterBlock\\\"}}\\n>\\n  {{#if componentAttrs.action.info.overlayPrompt}}\\n    <p class=\\\"u__mb__10\\\">\\n      {{componentAttrs.action.info.overlayPrompt}}\\n    </p>\\n  {{/if}}\\n  <div class=\\\"u__mb__10\\\" data-test-reply-sent-from>\\n    From <span class=\\\"avatar__container o__s\\\">\\n      <IcAvatarComponent @model={{fromAdmin}} @size=\\\"s\\\" @contained={{true}} />\\n      {{fromAdmin.first_name}}\\n    </span>\\n  </div>\\n  <div>\\n    <textarea\\n      class=\\\"f__text u__pad__10 o__no-resize\\\"\\n      value={{componentAttrs.action.actionData.reply}}\\n      placeholder={{componentAttrs.action.info.placeholder}}\\n      data-test-follow-up-reply-input\\n      oninput={{action \\\"updateReply\\\" value=\\\"target.value\\\"}}\\n      {{auto-focus-element}}\\n      rows=\\\"4\\\"\\n      maxlength=\\\"500\\\"\\n    >\\n\\n    </textarea>\\n  </div>\\n</FilterBlock::FilterBlockPopoverHousing>\\n<div class=\\\"u__centered-text-block layout__box filter-block__popover__done\\\">\\n  <a\\n    class=\\\"btn__tertiary\\\"\\n    data-test-filter-block-done\\n    {{action \\\"completeEditingFilterBlock\\\"}}\\n  >\\n    Done\\n  </a>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<FilterBlock::FilterBlockPopoverHousing\\n  @openOn={{positionName}}\\n  @completeEditingFilterBlock={{action \\\"completeEditingFilterBlock\\\"}}\\n>\\n  {{#if componentAttrs.action.info.overlayPrompt}}\\n    <p class=\\\"u__mb__10\\\">\\n      {{componentAttrs.action.info.overlayPrompt}}\\n    </p>\\n  {{/if}}\\n  <div class=\\\"u__mb__10\\\" data-test-reply-sent-from>\\n    From <span class=\\\"avatar__container o__s\\\">\\n      <IcAvatarComponent @model={{fromAdmin}} @size=\\\"s\\\" @contained={{true}} />\\n      {{fromAdmin.first_name}}\\n    </span>\\n  </div>\\n  <div>\\n    <textarea\\n      class=\\\"f__text u__pad__10 o__no-resize\\\"\\n      value={{componentAttrs.action.actionData.reply}}\\n      placeholder={{componentAttrs.action.info.placeholder}}\\n      data-test-follow-up-reply-input\\n      oninput={{action \\\"updateReply\\\" value=\\\"target.value\\\"}}\\n      {{auto-focus-element}}\\n      rows=\\\"4\\\"\\n      maxlength=\\\"500\\\"\\n    >\\n\\n    </textarea>\\n  </div>\\n</FilterBlock::FilterBlockPopoverHousing>\\n<div class=\\\"u__centered-text-block layout__box filter-block__popover__done\\\">\\n  <a\\n    class=\\\"btn__tertiary\\\"\\n    data-test-filter-block-done\\n    {{action \\\"completeEditingFilterBlock\\\"}}\\n  >\\n    Done\\n  </a>\\n</div>\\n\",\"moduleName\":\"embercom/components/rules/actions/send-follow-up-reply-overlay.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/actions/send-follow-up-reply-overlay.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { readOnly, or } from '@ember/object/computed';\nimport BaseFilterBlockPopover from 'predicates/components/filter-block/base-filter-block-popover';\nimport { inject } from '@ember/service';\nimport { findBy } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default BaseFilterBlockPopover.extend({\n  appService: inject(),\n  app: readOnly('appService.app'),\n  operator: findBy('app.admins', 'isOperator'),\n  adminFromMessage: readOnly('componentAttrs.message.variationA.from'),\n  fromAdmin: or('adminFromMessage', 'operator'),\n\n  actions: {\n    updateReply(reply) {\n      this.set('componentAttrs.action.actionData', {\n        reply,\n        reply_from_admin_id: this.get('fromAdmin.id'),\n      });\n\n      let onChange = this.get('componentAttrs.onChange');\n      if (onChange) {\n        onChange();\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<FilterBlock::FilterBlockEditor\\n  @name={{@action.info.description}}\\n  @details={{concat ' \\\"' @action.actionData.reply '\\\"'}}\\n  @icon={{@action.info.icon}}\\n  @isOneLine={{true}}\\n  @appearance=\\\"action\\\"\\n  @attributeDescription={{@action.info.actionDescription}}\\n  @deleteTooltipContent=\\\"Remove this action\\\"\\n  @isInvalid={{@action.isInvalid}}\\n  @justAdded={{@action.justAdded}}\\n  @onClose={{action (mut @action.justAdded) false}}\\n  @onDelete={{@onDelete}}\\n  @overlayComponent=\\\"rules/actions/send-follow-up-reply-overlay\\\"\\n  @componentAttrs={{hash\\n    action=@action\\n    message=@actionEditorContext.message\\n    onChange=@onChange\\n  }}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<FilterBlock::FilterBlockEditor\\n  @name={{@action.info.description}}\\n  @details={{concat ' \\\"' @action.actionData.reply '\\\"'}}\\n  @icon={{@action.info.icon}}\\n  @isOneLine={{true}}\\n  @appearance=\\\"action\\\"\\n  @attributeDescription={{@action.info.actionDescription}}\\n  @deleteTooltipContent=\\\"Remove this action\\\"\\n  @isInvalid={{@action.isInvalid}}\\n  @justAdded={{@action.justAdded}}\\n  @onClose={{action (mut @action.justAdded) false}}\\n  @onDelete={{@onDelete}}\\n  @overlayComponent=\\\"rules/actions/send-follow-up-reply-overlay\\\"\\n  @componentAttrs={{hash\\n    action=@action\\n    message=@actionEditorContext.message\\n    onChange=@onChange\\n  }}\\n/>\\n\",\"moduleName\":\"embercom/components/rules/actions/send-follow-up-reply.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/actions/send-follow-up-reply.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcFilterBlock\\n  @name=\\\"Create contact in HubSpot\\\"\\n  @icon=\\\"person\\\"\\n  @isClickable={{false}}\\n  @appearance=\\\"action\\\"\\n  @isOneLine={{true}}\\n  @onDelete={{@onDelete}}\\n/>\\n\", {\"contents\":\"<IcFilterBlock\\n  @name=\\\"Create contact in HubSpot\\\"\\n  @icon=\\\"person\\\"\\n  @isClickable={{false}}\\n  @appearance=\\\"action\\\"\\n  @isOneLine={{true}}\\n  @onDelete={{@onDelete}}\\n/>\\n\",\"moduleName\":\"embercom/components/rules/actions/send-to-hubspot.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/actions/send-to-hubspot.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcFilterBlock\\n  @name=\\\"Enrich lead in Marketo\\\"\\n  @icon=\\\"person\\\"\\n  @isClickable={{false}}\\n  @appearance=\\\"action\\\"\\n  @isOneLine={{true}}\\n  @onDelete={{@onDelete}}\\n/>\\n\", {\"contents\":\"<IcFilterBlock\\n  @name=\\\"Enrich lead in Marketo\\\"\\n  @icon=\\\"person\\\"\\n  @isClickable={{false}}\\n  @appearance=\\\"action\\\"\\n  @isOneLine={{true}}\\n  @onDelete={{@onDelete}}\\n/>\\n\",\"moduleName\":\"embercom/components/rules/actions/send-to-marketo.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/actions/send-to-marketo.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n  <IcFilterBlock\\n    @name=\\\"Create lead\\\"\\n    @icon={{this.action.info.icon}}\\n    @isClickable={{false}}\\n    @appearance=\\\"action\\\"\\n    @isOneLine={{true}}\\n    @onDelete={{onDelete}}\\n  />\\n  <span class=\\\"ml-3\\\">\\n    <input\\n      value={{this.action.actionData.lead_source}}\\n      placeholder={{this.action.info.placeholder}}\\n      oninput={{action \\\"updateLeadSource\\\" value=\\\"target.value\\\"}}\\n      maxlength=\\\"30\\\"\\n      data-test-lead-source-input\\n      class=\\\"f__text\\\"\\n    />\\n  </span>\\n  <span class=\\\"ml-3\\\">\\n    <IcTooltipIcon @isInteractive={{true}}>\\n      <p class=\\\"t__h4\\\">\\n        Lead Source\\n      </p>\\n      <p>\\n        Add a custom lead source to associate leads with specific message or bot in Intercom.\\n      </p>\\n    </IcTooltipIcon>\\n  </span>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n  <IcFilterBlock\\n    @name=\\\"Create lead\\\"\\n    @icon={{this.action.info.icon}}\\n    @isClickable={{false}}\\n    @appearance=\\\"action\\\"\\n    @isOneLine={{true}}\\n    @onDelete={{onDelete}}\\n  />\\n  <span class=\\\"ml-3\\\">\\n    <input\\n      value={{this.action.actionData.lead_source}}\\n      placeholder={{this.action.info.placeholder}}\\n      oninput={{action \\\"updateLeadSource\\\" value=\\\"target.value\\\"}}\\n      maxlength=\\\"30\\\"\\n      data-test-lead-source-input\\n      class=\\\"f__text\\\"\\n    />\\n  </span>\\n  <span class=\\\"ml-3\\\">\\n    <IcTooltipIcon @isInteractive={{true}}>\\n      <p class=\\\"t__h4\\\">\\n        Lead Source\\n      </p>\\n      <p>\\n        Add a custom lead source to associate leads with specific message or bot in Intercom.\\n      </p>\\n    </IcTooltipIcon>\\n  </span>\\n</div>\\n\",\"moduleName\":\"embercom/components/rules/actions/send-to-salesforce.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/actions/send-to-salesforce.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject } from '@ember/service';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  appService: inject(),\n  app: readOnly('appService.app'),\n\n  actions: {\n    updateLeadSource(lead_source) {\n      this.set('action.actionData', {\n        lead_source,\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-center\\\">\\n  <Rules::PickConversationDataAttributeValue\\n    @action={{@action}}\\n    @onChange={{@onChange}}\\n    @isDisabled={{@isDisabled}}\\n    @onDelete={{@onDelete}}\\n    @actionEditorContext={{@actionEditorContext}}\\n  />\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row items-center\\\">\\n  <Rules::PickConversationDataAttributeValue\\n    @action={{@action}}\\n    @onChange={{@onChange}}\\n    @isDisabled={{@isDisabled}}\\n    @onDelete={{@onDelete}}\\n    @actionEditorContext={{@actionEditorContext}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/rules/actions/set-conversation-data-attribute.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/actions/set-conversation-data-attribute.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcSelect\\n  @items={{tagItems}}\\n  @selectedValue={{this.action.actionData.tag}}\\n  @onSelectItem={{action \\\"updateTag\\\"}}\\n  @hasFilter={{true}}\\n  @filterPlaceholder=\\\"Search tags\\\"\\n  @initiallyOpened={{this.action.justAdded}}\\n  @onClose={{action (mut this.action.justAdded) false}} as |select|\\n>\\n  <select.opener>\\n    <IcFilterBlock\\n      @name=\\\"Tag person\\\"\\n      @icon=\\\"tag\\\"\\n      @details={{concat \\\"with \\\" this.action.actionData.tag}}\\n      @attributeDescription={{this.action.info.actionDescription}}\\n      @deleteTooltipContent=\\\"Remove this action\\\"\\n      @isClickable={{true}}\\n      @isInvalid={{and this.action.isInvalid (not this.action.justAdded)}}\\n      @isOpen={{opener.dropdownIsOpen}}\\n      @appearance=\\\"action\\\"\\n      @isOneLine={{true}}\\n      @onDelete={{@onDelete}}\\n    />\\n  </select.opener>\\n</IcSelect>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcSelect\\n  @items={{tagItems}}\\n  @selectedValue={{this.action.actionData.tag}}\\n  @onSelectItem={{action \\\"updateTag\\\"}}\\n  @hasFilter={{true}}\\n  @filterPlaceholder=\\\"Search tags\\\"\\n  @initiallyOpened={{this.action.justAdded}}\\n  @onClose={{action (mut this.action.justAdded) false}} as |select|\\n>\\n  <select.opener>\\n    <IcFilterBlock\\n      @name=\\\"Tag person\\\"\\n      @icon=\\\"tag\\\"\\n      @details={{concat \\\"with \\\" this.action.actionData.tag}}\\n      @attributeDescription={{this.action.info.actionDescription}}\\n      @deleteTooltipContent=\\\"Remove this action\\\"\\n      @isClickable={{true}}\\n      @isInvalid={{and this.action.isInvalid (not this.action.justAdded)}}\\n      @isOpen={{opener.dropdownIsOpen}}\\n      @appearance=\\\"action\\\"\\n      @isOneLine={{true}}\\n      @onDelete={{@onDelete}}\\n    />\\n  </select.opener>\\n</IcSelect>\\n\",\"moduleName\":\"embercom/components/rules/actions/tag-user.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/actions/tag-user.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, map } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  appService: service(),\n  tags: readOnly('appService.app.tags'),\n  tagItems: map('tags', function(tag) {\n    return {\n      text: tag.get('name'),\n      value: tag.get('name'),\n    };\n  }),\n\n  actions: {\n    updateTag(tag) {\n      this.set('action.actionData', { tag });\n\n      let onChange = this.onChange;\n      if (onChange) {\n        onChange();\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<FilterBlock::FilterBlockPopoverHousing\\n  @completeEditingFilterBlock={{this.completeEditingFilterBlock}}\\n  data-test-trigger-campaign-overlay\\n>\\n  <p class=\\\"u__mb__10\\\">\\n    {{@componentAttrs.action.info.overlayPrompt}}\\n  </p>\\n  <div>\\n    <Form as |form|>\\n      <form.Item as |item|>\\n        <item.Input\\n          @placeholder={{@componentAttrs.action.info.placeholder}}\\n          @value={{@componentAttrs.campaignUrl}}\\n          {{on \\\"input\\\" @componentAttrs.setCampaignUrl}}\\n          data-test-campaign-url-input\\n        />\\n      </form.Item>\\n    </Form>\\n  </div>\\n</FilterBlock::FilterBlockPopoverHousing>\\n<div class=\\\"u__centered-text-block layout__box filter-block__popover__done\\\">\\n  <a\\n    class=\\\"btn__tertiary\\\"\\n    data-test-validate-campaign-url-done-button\\n    {{on \\\"click\\\" this.onDone}}\\n  >\\n    Done\\n  </a>\\n</div>\\n\", {\"contents\":\"<FilterBlock::FilterBlockPopoverHousing\\n  @completeEditingFilterBlock={{this.completeEditingFilterBlock}}\\n  data-test-trigger-campaign-overlay\\n>\\n  <p class=\\\"u__mb__10\\\">\\n    {{@componentAttrs.action.info.overlayPrompt}}\\n  </p>\\n  <div>\\n    <Form as |form|>\\n      <form.Item as |item|>\\n        <item.Input\\n          @placeholder={{@componentAttrs.action.info.placeholder}}\\n          @value={{@componentAttrs.campaignUrl}}\\n          {{on \\\"input\\\" @componentAttrs.setCampaignUrl}}\\n          data-test-campaign-url-input\\n        />\\n      </form.Item>\\n    </Form>\\n  </div>\\n</FilterBlock::FilterBlockPopoverHousing>\\n<div class=\\\"u__centered-text-block layout__box filter-block__popover__done\\\">\\n  <a\\n    class=\\\"btn__tertiary\\\"\\n    data-test-validate-campaign-url-done-button\\n    {{on \\\"click\\\" this.onDone}}\\n  >\\n    Done\\n  </a>\\n</div>\\n\",\"moduleName\":\"embercom/components/rules/actions/trigger-marketo-campaign-overlay.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/actions/trigger-marketo-campaign-overlay.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseFilterBlockPopover from 'predicates/components/filter-block/base-filter-block-popover';\nimport { action } from '@ember/object';\n\nexport default class TriggerMarketoCampaignOverlay extends BaseFilterBlockPopover {\n  @action\n  onDone() {\n    this.componentAttrs.fetchAndSaveCampaignInfo();\n    this.hideDropdownOverlay();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if this.fetchingCampaignInfo.isRunning}}\\n  <IcLoadingIndicator @inline=\\\"true\\\" @size=\\\"tiny\\\" />\\n  <Text @styling='muted'>Fetching campaign details from Marketo...</Text>\\n{{else}}\\n  <FilterBlock::FilterBlockEditor\\n    data-test-trigger-marketo-campaign-block-editor\\n    @name={{@action.info.description}}\\n    @details={{concat ' \\\"' @action.actionData.marketo_campaign_name '\\\"'}}\\n    @icon={{@action.info.icon}}\\n    @isOneLine={{true}}\\n    @appearance=\\\"action\\\"\\n    @attributeDescription={{@action.info.actionDescription}}\\n    @deleteTooltipContent=\\\"Remove this action\\\"\\n    @isInvalid={{@action.isInvalid}}\\n    @justAdded={{@action.justAdded}}\\n    @onClose={{action (mut @action.justAdded) false}}\\n    @onDelete={{@onDelete}}\\n    @overlayComponent=\\\"rules/actions/trigger-marketo-campaign-overlay\\\"\\n    @componentAttrs={{hash\\n      action=@action\\n      message=@actionEditorContext.message\\n      onChange=@onChange\\n      setCampaignUrl=this.setCampaignUrl\\n      campaignUrl=this.campaignUrl\\n      fetchAndSaveCampaignInfo=this.fetchAndSaveCampaignInfo\\n    }}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if this.fetchingCampaignInfo.isRunning}}\\n  <IcLoadingIndicator @inline=\\\"true\\\" @size=\\\"tiny\\\" />\\n  <Text @styling='muted'>Fetching campaign details from Marketo...</Text>\\n{{else}}\\n  <FilterBlock::FilterBlockEditor\\n    data-test-trigger-marketo-campaign-block-editor\\n    @name={{@action.info.description}}\\n    @details={{concat ' \\\"' @action.actionData.marketo_campaign_name '\\\"'}}\\n    @icon={{@action.info.icon}}\\n    @isOneLine={{true}}\\n    @appearance=\\\"action\\\"\\n    @attributeDescription={{@action.info.actionDescription}}\\n    @deleteTooltipContent=\\\"Remove this action\\\"\\n    @isInvalid={{@action.isInvalid}}\\n    @justAdded={{@action.justAdded}}\\n    @onClose={{action (mut @action.justAdded) false}}\\n    @onDelete={{@onDelete}}\\n    @overlayComponent=\\\"rules/actions/trigger-marketo-campaign-overlay\\\"\\n    @componentAttrs={{hash\\n      action=@action\\n      message=@actionEditorContext.message\\n      onChange=@onChange\\n      setCampaignUrl=this.setCampaignUrl\\n      campaignUrl=this.campaignUrl\\n      fetchAndSaveCampaignInfo=this.fetchAndSaveCampaignInfo\\n    }}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/rules/actions/trigger-marketo-campaign.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/actions/trigger-marketo-campaign.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\nimport { inject as service } from '@ember/service';\nimport { get } from 'embercom/lib/ajax';\n\nexport default class TriggerMarketoCampaign extends Component {\n  @service appService;\n  @service notificationsService;\n  @service intercomEventService;\n\n  @tracked activeCampaigns = [];\n  @tracked campaignUrl = this.args.action.actionData?.marketo_campaign_url;\n\n  @task\n  *fetchingCampaignInfo() {\n    try {\n      if (!this.campaignUrl) {\n        this.resetCampaign();\n        return;\n      }\n\n      let { marketo_campaign_url } = this.args.action.actionData || {};\n      if (this.campaignUrl === marketo_campaign_url) {\n        return;\n      }\n\n      let { app } = this.appService;\n      let params = {\n        app_id: app.id,\n        campaign_url: this.campaignUrl,\n      };\n      return yield get('/ember/marketo_integrations/campaign', params);\n    } catch (e) {\n      this.resetCampaign();\n      this.notificationsService.notifyError('There was a problem fetching your Marketo campaigns.');\n      this.trackEvent('failed');\n    }\n  }\n\n  @action\n  resetCampaign() {\n    this.args.action.set('actionData', {\n      marketo_campaign_id: null,\n      marketo_campaign_name: null,\n      marketo_campaign_url: null,\n    });\n  }\n\n  @action\n  setCampaignUrl(e) {\n    this.campaignUrl = e.currentTarget.value;\n  }\n\n  @action\n  async fetchAndSaveCampaignInfo() {\n    let campaign = await this.fetchingCampaignInfo.perform();\n    if (!campaign) {\n      return;\n    }\n\n    if (!campaign.is_active || !campaign.is_requestable) {\n      this.notificationsService.notifyError(\n        'The Marketo campaign is not active or not requestable via the Marketo API',\n      );\n      this.trackEvent('invalid');\n      return;\n    }\n\n    this.trackEvent('added');\n\n    this.args.action.set('actionData', {\n      marketo_campaign_id: campaign.id,\n      marketo_campaign_name: campaign.name,\n      marketo_campaign_url: this.campaignUrl,\n    });\n  }\n\n  @action\n  onClose() {\n    this.args.action.set('justAdded', false);\n  }\n\n  trackEvent(action) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action,\n      object: 'marketo_campaign',\n      context: 'follow_up_action',\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{! template-lint-disable no-implicit-this }}\\n<div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n  <div class=\\\"layout__box\\\">\\n    <IcSelect\\n      @items={{groupedItems}}\\n      @onSelectItem={{action 'updateAssignee'}}\\n      @selectedValue={{assignee.id}}\\n      @hasFilter={{true}}\\n      @filterPlaceholder=\\\"Search teammates\\\"\\n      @initiallyOpened={{this.action.justAdded}}\\n      @onClose={{action (mut this.action.justAdded) false}} as |select|\\n    >\\n      <select.opener>\\n        {{#if (and @actionEditorContext.isRulePage (not assignee))}}\\n          <div class=\\\"layout__box o__centers-vertically inbox__rule-action__then__wrapper\\\">\\n            <a class=\\\"btn__tertiary u__display-inline-block\\\" data-test-assign-to>\\n              {{ic-interface-icon 'assignment'}}\\n              Assign to\\n            </a>\\n          </div>\\n        {{else}}\\n          <IcFilterBlock\\n            @name={{name}}\\n            @icon={{icon}}\\n            @deleteTooltipContent=\\\"Remove this action\\\"\\n            @isClickable={{true}}\\n            @isInvalid={{and this.action.isInvalid (not this.action.justAdded)}}\\n            @appearance=\\\"action\\\"\\n            @attributeDescription={{this.action.info.actionDescription}}\\n            @isOneLine={{true}}\\n            @isOpen={{opener.dropdownIsOpen}}\\n            @onDelete={{if\\n              (or @actionEditorContext.isRulePage @actionEditorContext.canRemoveAssignee)\\n              @onDelete\\n            }} as |filterBlock|\\n          >\\n            <filterBlock.components.details>\\n              {{#if hasBlock}}\\n                {{yield assignee}}\\n              {{else}}\\n                {{ic-avatar model=assignee size='xs'}} {{assignee.displayAs}}\\n              {{/if}}\\n            </filterBlock.components.details>\\n          </IcFilterBlock>\\n        {{/if}}\\n      </select.opener>\\n    </IcSelect>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{! template-lint-disable no-implicit-this }}\\n<div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n  <div class=\\\"layout__box\\\">\\n    <IcSelect\\n      @items={{groupedItems}}\\n      @onSelectItem={{action 'updateAssignee'}}\\n      @selectedValue={{assignee.id}}\\n      @hasFilter={{true}}\\n      @filterPlaceholder=\\\"Search teammates\\\"\\n      @initiallyOpened={{this.action.justAdded}}\\n      @onClose={{action (mut this.action.justAdded) false}} as |select|\\n    >\\n      <select.opener>\\n        {{#if (and @actionEditorContext.isRulePage (not assignee))}}\\n          <div class=\\\"layout__box o__centers-vertically inbox__rule-action__then__wrapper\\\">\\n            <a class=\\\"btn__tertiary u__display-inline-block\\\" data-test-assign-to>\\n              {{ic-interface-icon 'assignment'}}\\n              Assign to\\n            </a>\\n          </div>\\n        {{else}}\\n          <IcFilterBlock\\n            @name={{name}}\\n            @icon={{icon}}\\n            @deleteTooltipContent=\\\"Remove this action\\\"\\n            @isClickable={{true}}\\n            @isInvalid={{and this.action.isInvalid (not this.action.justAdded)}}\\n            @appearance=\\\"action\\\"\\n            @attributeDescription={{this.action.info.actionDescription}}\\n            @isOneLine={{true}}\\n            @isOpen={{opener.dropdownIsOpen}}\\n            @onDelete={{if\\n              (or @actionEditorContext.isRulePage @actionEditorContext.canRemoveAssignee)\\n              @onDelete\\n            }} as |filterBlock|\\n          >\\n            <filterBlock.components.details>\\n              {{#if hasBlock}}\\n                {{yield assignee}}\\n              {{else}}\\n                {{ic-avatar model=assignee size='xs'}} {{assignee.displayAs}}\\n              {{/if}}\\n            </filterBlock.components.details>\\n          </IcFilterBlock>\\n        {{/if}}\\n      </select.opener>\\n    </IcSelect>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/rules/pick-assignee.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/pick-assignee.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\n\nconst OWNER_ID = '-1';\nconst ASSIGN_TO = 'assign-conversation';\nconst ASSIGN_TO_OWNER = 'assign-conversation-to-owner';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  allowTeams: true,\n  allowUnassignedAdmin: readOnly('actionEditorContext.allowUnassignedAdminForAssign'),\n  enableRoundRobin: true,\n  groupedItems: computed(\n    'action.type',\n    'items.[]',\n    'app.assignableHumanAdmins.[]',\n    'app.assignableTeams.[]',\n    'app.unassignedAdmin',\n    'allowUnassignedAdmin',\n    'allowTeams',\n    function() {\n      let items = this.items;\n\n      if (items) {\n        return items;\n      }\n\n      let assignableHumanAdmins = this.get('app.assignableHumanAdmins');\n      let teams = this.allowTeams && this.get('app.assignableTeams');\n      let unassigned = this.allowUnassignedAdmin && this.get('app.unassignedAdmin');\n      let assignees = this._mapAssigneesToDropdownItems(assignableHumanAdmins);\n\n      assignees.unshift({\n        text: this.get('app.owner.name'),\n        value: this.get('app.owner.id'),\n        component: 'common/avatar-and-name-dropdown-item',\n        componentAttrs: {\n          model: this.get('app.owner'),\n          modelDisplayName: this.get('app.owner.name'),\n          avatarSize: 'xs',\n        },\n      });\n\n      return [\n        teams && {\n          heading: 'Teams',\n          hasItemsMarkableAsSelected: true,\n          items: this._mapAssigneesToDropdownItems(teams),\n        },\n        {\n          heading: 'Teammates',\n          hasItemsMarkableAsSelected: true,\n          items: assignees,\n        },\n        unassigned && {\n          heading: 'Other',\n          hasItemsMarkableAsSelected: true,\n          items: this._mapAssigneesToDropdownItems([unassigned]),\n        },\n      ].filter(Boolean);\n    },\n  ),\n\n  assignee: computed('action.type', 'action.actionData.assignee_id', function() {\n    if (\n      this.get('action.actionData.assignee_id') === undefined &&\n      this.get('action.type') === ASSIGN_TO_OWNER\n    ) {\n      return this.get('app.owner');\n    }\n\n    let assigneeId = this.get('action.actionData.assignee_id');\n    if (assigneeId) {\n      return this._getAssigneeById(`${assigneeId}`);\n    }\n  }),\n\n  actions: {\n    updateAssignee(assigneeId) {\n      if (assigneeId === OWNER_ID) {\n        this._setActionDataForOwnerAssignment();\n        return;\n      }\n      let assignee = this._getAssigneeById(assigneeId);\n      let actionData = { assignee_id: assigneeId };\n      if (!assignee.get('isTeam')) {\n        actionData.round_robin = false;\n      }\n      this._setActionData(actionData);\n    },\n  },\n\n  _mapAssigneesToDropdownItems(assignees) {\n    return assignees.map(assignee => {\n      return {\n        text: assignee.get('name'),\n        value: assignee.get('id'),\n        component: 'common/avatar-and-name-dropdown-item',\n        componentAttrs: {\n          model: assignee,\n          modelDisplayName: assignee.get('name'),\n          avatarSize: 'xs',\n        },\n      };\n    });\n  },\n\n  _getAssigneeById(assigneeId) {\n    let assignee = this.get('app.teams').findBy('id', assigneeId);\n\n    if (assignee === undefined) {\n      assignee = this.get('app.admins').findBy('id', assigneeId);\n    }\n\n    return assignee;\n  },\n\n  _setActionDataForOwnerAssignment() {\n    this.setProperties({\n      'action.type': ASSIGN_TO_OWNER,\n      'action.actionData': {},\n    });\n\n    this._updateOnChange();\n  },\n\n  _setActionData(data) {\n    if (this.get('action.type') === ASSIGN_TO_OWNER) {\n      this.set('action.type', ASSIGN_TO);\n    }\n    this.set('action.actionData', data);\n\n    this._updateOnChange();\n  },\n\n  _updateOnChange() {\n    let onChange = this.onChange;\n    if (onChange) {\n      onChange();\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcSelect\\n  @items={{this.items}}\\n  @selectedValue={{this.selectedValue}}\\n  @onSelectItem={{this.selectListItem}}\\n  @hasFilter={{false}}\\n  @initiallyOpened={{@initiallyOpened}}\\n  data-test-ccda-list-select\\n  @onClose={{@onClose}} as |select|\\n>\\n  <select.opener as |opener|>\\n    <IcFilterBlock\\n      @name={{concat \\\"Set \\\" @conversationDataAttribute.name}}\\n      @icon=\\\"transfer\\\"\\n      @details={{concat \\\"to \\\" this.selectedAttributeName}}\\n      @deleteTooltipContent=\\\"Remove this action\\\"\\n      @isClickable={{true}}\\n      @isOpen={{opener.dropdownIsOpen}}\\n      @appearance=\\\"action\\\"\\n      @isOneLine={{true}}\\n      @onDelete={{@onDelete}}\\n      @isInvalid={{@isInvalid}}\\n    />\\n  </select.opener>\\n</IcSelect>\\n\", {\"contents\":\"<IcSelect\\n  @items={{this.items}}\\n  @selectedValue={{this.selectedValue}}\\n  @onSelectItem={{this.selectListItem}}\\n  @hasFilter={{false}}\\n  @initiallyOpened={{@initiallyOpened}}\\n  data-test-ccda-list-select\\n  @onClose={{@onClose}} as |select|\\n>\\n  <select.opener as |opener|>\\n    <IcFilterBlock\\n      @name={{concat \\\"Set \\\" @conversationDataAttribute.name}}\\n      @icon=\\\"transfer\\\"\\n      @details={{concat \\\"to \\\" this.selectedAttributeName}}\\n      @deleteTooltipContent=\\\"Remove this action\\\"\\n      @isClickable={{true}}\\n      @isOpen={{opener.dropdownIsOpen}}\\n      @appearance=\\\"action\\\"\\n      @isOneLine={{true}}\\n      @onDelete={{@onDelete}}\\n      @isInvalid={{@isInvalid}}\\n    />\\n  </select.opener>\\n</IcSelect>\\n\",\"moduleName\":\"embercom/components/rules/pick-conversation-data-attribute-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/pick-conversation-data-attribute-list.hbs\"}});\nimport { tracked } from '@glimmer/tracking';\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class PickConversationDataAttributeList extends Component {\n  @tracked selectedValue = this.args.selectedValue;\n  @tracked onUpdate = this.args.onUpdate;\n\n  get selectedAttributeName() {\n    return this.args.conversationDataAttribute.options.find(\n      option => option.identifier === this.selectedValue,\n    )?.value;\n  }\n\n  get items() {\n    return [\n      {\n        items: this.args.conversationDataAttribute.options.map(option => {\n          return { value: option.identifier, text: option.value };\n        }),\n      },\n    ];\n  }\n\n  @action\n  selectListItem(value) {\n    this.selectedValue = value;\n    this.args.onUpdate(value);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<FilterBlock::FilterBlockPopoverHousing\\n  @completeEditingFilterBlock={{this.completeEditingFilterBlock}}\\n  data-test-conversation-data-attribute-value-overlay\\n>\\n  <div class=\\\"flex flex-col justify-center gap-2\\\">\\n    <div class=\\\"flex flex-col justify-start\\\">\\n      <Text @styling='label'>\\n        {{this.conversationDataAttribute.name}}\\n      </Text>\\n    </div>\\n    <div class=\\\"flex flex-col justify-start\\\">\\n      <Form {{on 'submit' this.updateAndClose}} as |form|>\\n        <form.Item as |item|>\\n          {{#if (eq this.type 'boolean')}}\\n            <item.RadioGroup @selected={{this.selectedValue}} as |group|>\\n              <group.RadioButton\\n                @value={{true}}\\n                @label=\\\"True\\\"\\n                data-test-ccda-overlay-radio-true\\n              />\\n              <group.RadioButton\\n                @value={{false}}\\n                @label=\\\"False\\\"\\n                data-test-ccda-overlay-radio-false\\n              />\\n            </item.RadioGroup>\\n          {{/if}}\\n\\n          {{#if (eq this.type 'string')}}\\n            <item.Input\\n              @value={{this.selectedValue}}\\n              @type=\\\"text\\\"\\n              data-test-ccda-overlay-text\\n            />\\n          {{/if}}\\n\\n          {{#if (eq this.type 'float')}}\\n            <item.Input\\n              @value={{this.selectedValue}}\\n              @type=\\\"number\\\"\\n              step=\\\"any\\\"\\n              data-test-ccda-overlay-decimal\\n            />\\n          {{/if}}\\n\\n          {{#if (eq this.type 'integer')}}\\n            <item.Input\\n              @value={{this.selectedValue}}\\n              @type=\\\"number\\\"\\n              data-test-ccda-overlay-number\\n            />\\n          {{/if}}\\n        </form.Item>\\n      </Form>\\n    </div>\\n  </div>\\n</FilterBlock::FilterBlockPopoverHousing>\\n\\n<div class=\\\"u__centered-text-block layout__box filter-block__popover__done\\\">\\n  <a class=\\\"btn__tertiary\\\" {{on \\\"click\\\" this.updateAndClose}} data-test-ccda-overlay-done>\\n    Done\\n  </a>\\n</div>\\n\", {\"contents\":\"<FilterBlock::FilterBlockPopoverHousing\\n  @completeEditingFilterBlock={{this.completeEditingFilterBlock}}\\n  data-test-conversation-data-attribute-value-overlay\\n>\\n  <div class=\\\"flex flex-col justify-center gap-2\\\">\\n    <div class=\\\"flex flex-col justify-start\\\">\\n      <Text @styling='label'>\\n        {{this.conversationDataAttribute.name}}\\n      </Text>\\n    </div>\\n    <div class=\\\"flex flex-col justify-start\\\">\\n      <Form {{on 'submit' this.updateAndClose}} as |form|>\\n        <form.Item as |item|>\\n          {{#if (eq this.type 'boolean')}}\\n            <item.RadioGroup @selected={{this.selectedValue}} as |group|>\\n              <group.RadioButton\\n                @value={{true}}\\n                @label=\\\"True\\\"\\n                data-test-ccda-overlay-radio-true\\n              />\\n              <group.RadioButton\\n                @value={{false}}\\n                @label=\\\"False\\\"\\n                data-test-ccda-overlay-radio-false\\n              />\\n            </item.RadioGroup>\\n          {{/if}}\\n\\n          {{#if (eq this.type 'string')}}\\n            <item.Input\\n              @value={{this.selectedValue}}\\n              @type=\\\"text\\\"\\n              data-test-ccda-overlay-text\\n            />\\n          {{/if}}\\n\\n          {{#if (eq this.type 'float')}}\\n            <item.Input\\n              @value={{this.selectedValue}}\\n              @type=\\\"number\\\"\\n              step=\\\"any\\\"\\n              data-test-ccda-overlay-decimal\\n            />\\n          {{/if}}\\n\\n          {{#if (eq this.type 'integer')}}\\n            <item.Input\\n              @value={{this.selectedValue}}\\n              @type=\\\"number\\\"\\n              data-test-ccda-overlay-number\\n            />\\n          {{/if}}\\n        </form.Item>\\n      </Form>\\n    </div>\\n  </div>\\n</FilterBlock::FilterBlockPopoverHousing>\\n\\n<div class=\\\"u__centered-text-block layout__box filter-block__popover__done\\\">\\n  <a class=\\\"btn__tertiary\\\" {{on \\\"click\\\" this.updateAndClose}} data-test-ccda-overlay-done>\\n    Done\\n  </a>\\n</div>\\n\",\"moduleName\":\"embercom/components/rules/pick-conversation-data-attribute-value-overlay.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/pick-conversation-data-attribute-value-overlay.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseFilterBlockPopover from 'predicates/components/filter-block/base-filter-block-popover';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\n\nexport default class PickConversationDataAttributeValueOverlay extends BaseFilterBlockPopover {\n  @tracked selectedValue = this.componentAttrs.selectedValue;\n  @tracked conversationDataAttribute = this.componentAttrs.conversationDataAttribute;\n  @tracked onUpdate = this.componentAttrs.onUpdate;\n\n  get type() {\n    return this.conversationDataAttribute.type;\n  }\n\n  @action\n  updateAndClose() {\n    this.onUpdate(this.selectedValue);\n    this.hideDropdownOverlay();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-set-conversation-data-attribute>\\n  {{#if @actionEditorContext.isRulePage}}\\n    <div lass=\\\"layout__box o__centers-vertically inbox__rule-action__then__wrapper\\\">\\n      <h4 class=\\\"t__h4\\\">\\n        {{ic-interface-icon \\\"star\\\"}} Set {{this.label}} to {{this.details}}\\n      </h4>\\n    </div>\\n  {{else}}\\n    {{#if (eq this.conversationDataAttributeType 'conversation_attribute_list')}}\\n      <Rules::PickConversationDataAttributeList\\n        @conversationDataAttribute={{this.conversationDataAttribute}}\\n        @onDelete={{@onDelete}}\\n        @isInvalid={{and this.action.isInvalid (not this.action.justAdded)}}\\n        @onClose={{fn (mut this.action.justAdded) false}}\\n        @initiallyOpened={{this.action.justAdded}}\\n        @onUpdate={{this.updateValue}}\\n        @selectedValue={{this.value}}\\n      />\\n    {{else}}\\n      <IcDropdownOpener\\n        @mode=\\\"inline\\\"\\n        @initiallyOpened={{this.action.justAdded}}\\n        @minWidthOfOverlay={{215}}\\n        @dropdownComponent={{this.overlayComponent}}\\n        @dropdownComponentAttrs={{this.overlayComponentHash}}\\n        @onClose={{fn (mut this.action.justAdded) false}}\\n        as |opener|\\n      >\\n        <IcFilterBlock\\n          @name={{this.label}}\\n          @details={{this.details}}\\n          @icon=\\\"transfer\\\"\\n          @appearance=\\\"action\\\"\\n          @isOneLine={{true}}\\n          @isClickable={{true}}\\n          @deleteTooltipContent=\\\"Remove this action\\\"\\n          @onDelete={{@onDelete}}\\n          @isInvalid={{and this.action.isInvalid (not this.action.justAdded)}}\\n        />\\n      </IcDropdownOpener>\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div data-test-set-conversation-data-attribute>\\n  {{#if @actionEditorContext.isRulePage}}\\n    <div lass=\\\"layout__box o__centers-vertically inbox__rule-action__then__wrapper\\\">\\n      <h4 class=\\\"t__h4\\\">\\n        {{ic-interface-icon \\\"star\\\"}} Set {{this.label}} to {{this.details}}\\n      </h4>\\n    </div>\\n  {{else}}\\n    {{#if (eq this.conversationDataAttributeType 'conversation_attribute_list')}}\\n      <Rules::PickConversationDataAttributeList\\n        @conversationDataAttribute={{this.conversationDataAttribute}}\\n        @onDelete={{@onDelete}}\\n        @isInvalid={{and this.action.isInvalid (not this.action.justAdded)}}\\n        @onClose={{fn (mut this.action.justAdded) false}}\\n        @initiallyOpened={{this.action.justAdded}}\\n        @onUpdate={{this.updateValue}}\\n        @selectedValue={{this.value}}\\n      />\\n    {{else}}\\n      <IcDropdownOpener\\n        @mode=\\\"inline\\\"\\n        @initiallyOpened={{this.action.justAdded}}\\n        @minWidthOfOverlay={{215}}\\n        @dropdownComponent={{this.overlayComponent}}\\n        @dropdownComponentAttrs={{this.overlayComponentHash}}\\n        @onClose={{fn (mut this.action.justAdded) false}}\\n        as |opener|\\n      >\\n        <IcFilterBlock\\n          @name={{this.label}}\\n          @details={{this.details}}\\n          @icon=\\\"transfer\\\"\\n          @appearance=\\\"action\\\"\\n          @isOneLine={{true}}\\n          @isClickable={{true}}\\n          @deleteTooltipContent=\\\"Remove this action\\\"\\n          @onDelete={{@onDelete}}\\n          @isInvalid={{and this.action.isInvalid (not this.action.justAdded)}}\\n        />\\n      </IcDropdownOpener>\\n    {{/if}}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/rules/pick-conversation-data-attribute-value.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/pick-conversation-data-attribute-value.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\n\nexport default class PickConversationDataAttributeValue extends Component {\n  @tracked action = this.args.action;\n  @tracked actionEditorContext = this.args.actionEditorContext;\n  @service attributeService;\n\n  get conversationDataAttribute() {\n    return this.attributeService.conversationCustomAttributes.find(\n      attribute => attribute.identifier === this.identifier,\n    );\n  }\n\n  get conversationDataAttributeType() {\n    return this.conversationDataAttribute.type;\n  }\n\n  get identifier() {\n    return this.action.get('actionData.attribute_identifier');\n  }\n\n  get label() {\n    return `Set ${this.conversationDataAttribute.name}`;\n  }\n\n  get details() {\n    if (this.formatValue) {\n      return `to ${this.formatValue}`;\n    }\n    return '';\n  }\n\n  get value() {\n    return this.action.get('actionData.value');\n  }\n\n  get overlayComponent() {\n    return 'rules/pick-conversation-data-attribute-value-overlay';\n  }\n\n  get overlayComponentHash() {\n    return {\n      onUpdate: this.updateValue,\n      selectedValue: this.value,\n      conversationDataAttribute: this.conversationDataAttribute,\n    };\n  }\n\n  get formatValue() {\n    switch (this.conversationDataAttribute.type) {\n      case 'conversation_attribute_list':\n        return this.conversationDataAttribute.options.find(\n          option => option.identifier === this.value,\n        )?.value;\n      case 'boolean':\n        return this.value ? 'True' : 'False';\n      default:\n        return this.value;\n    }\n  }\n\n  @action\n  updateValue(value) {\n    let normalizedValue = this.normalizeValue(value);\n    this.action.set('actionData.value', normalizedValue);\n    let onChange = this.onChange;\n    if (onChange) {\n      onChange();\n    }\n  }\n\n  normalizeValue(value) {\n    let type = this.conversationDataAttribute.type;\n    if (type === 'integer' || type === 'decimal') {\n      let casted = Number(value);\n      if (value === '' || isNaN(casted)) {\n        value = null;\n      } else {\n        value = type === 'integer' ? Math.round(casted) : casted;\n      }\n    }\n    if (type === 'string') {\n      value = value.trim();\n      if (value === '') {\n        value = null;\n      }\n    }\n    return value;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n  <IcSelect\\n    @items={{selectItems}}\\n    @hasFilter={{true}}\\n    @filterPlaceholder=\\\"Search SLAs...\\\"\\n    @onSelectItem={{action \\\"updateConversationSla\\\"}}\\n    @selectedValue={{this.action.actionData.conversation_sla_id}}\\n    @initiallyOpened={{and actionEditorContext.isWorkflows this.action.justAdded}}\\n    @footerActions={{hash\\n      text=\\\"New SLA\\\"\\n      icon=\\\"new\\\"\\n      action=(action \\\"showSlaModal\\\")\\n    }}\\n    @onClose={{action (mut this.action.justAdded) false}} as |select|\\n  >\\n    <select.opener>\\n      {{#if (or actionEditorContext.isWorkflows selectedConversationSla)}}\\n        <span>\\n          <IcFilterBlock\\n            @displaysFullDescription={{true}}\\n            @isClickable={{true}}\\n            @icon=\\\"sla\\\"\\n            @name=\\\"Apply SLA\\\"\\n            @appearance=\\\"action\\\"\\n            @isInvalid={{and this.action.isInvalid (not this.action.justAdded)}}\\n            @onDelete={{this.slaOnDelete}}\\n            @deleteTooltipContent=\\\"Remove this action\\\"\\n            @isOpen={{opener.dropdownIsOpen}}\\n            @isOneLine={{true}}\\n            data-test-sla-selection={{true}}\\n          >\\n            {{filterBlockDetail}}\\n          </IcFilterBlock>\\n        </span>\\n      {{else}}\\n        <div\\n          class=\\\"layout__box o__centers-vertically inbox__rule-action__then__wrapper\\\"\\n        >\\n          <a class=\\\"btn__tertiary u__display-inline-block\\\" data-test-apply-sla>\\n            {{ic-interface-icon \\\"sla\\\"}} Apply SLA\\n          </a>\\n        </div>\\n      {{/if}}\\n    </select.opener>\\n  </IcSelect>\\n  {{#if showNewSlaModal}}\\n    <Inbox::Slas::SlaModal\\n      @conversationSlas={{conversationSlas}}\\n      @officeHoursSchedules={{officeHoursSchedules}}\\n      @showNewSlaModal={{showNewSlaModal}}\\n      @onSlaCreated={{action \\\"onSlaCreated\\\"}}\\n    />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n  <IcSelect\\n    @items={{selectItems}}\\n    @hasFilter={{true}}\\n    @filterPlaceholder=\\\"Search SLAs...\\\"\\n    @onSelectItem={{action \\\"updateConversationSla\\\"}}\\n    @selectedValue={{this.action.actionData.conversation_sla_id}}\\n    @initiallyOpened={{and actionEditorContext.isWorkflows this.action.justAdded}}\\n    @footerActions={{hash\\n      text=\\\"New SLA\\\"\\n      icon=\\\"new\\\"\\n      action=(action \\\"showSlaModal\\\")\\n    }}\\n    @onClose={{action (mut this.action.justAdded) false}} as |select|\\n  >\\n    <select.opener>\\n      {{#if (or actionEditorContext.isWorkflows selectedConversationSla)}}\\n        <span>\\n          <IcFilterBlock\\n            @displaysFullDescription={{true}}\\n            @isClickable={{true}}\\n            @icon=\\\"sla\\\"\\n            @name=\\\"Apply SLA\\\"\\n            @appearance=\\\"action\\\"\\n            @isInvalid={{and this.action.isInvalid (not this.action.justAdded)}}\\n            @onDelete={{this.slaOnDelete}}\\n            @deleteTooltipContent=\\\"Remove this action\\\"\\n            @isOpen={{opener.dropdownIsOpen}}\\n            @isOneLine={{true}}\\n            data-test-sla-selection={{true}}\\n          >\\n            {{filterBlockDetail}}\\n          </IcFilterBlock>\\n        </span>\\n      {{else}}\\n        <div\\n          class=\\\"layout__box o__centers-vertically inbox__rule-action__then__wrapper\\\"\\n        >\\n          <a class=\\\"btn__tertiary u__display-inline-block\\\" data-test-apply-sla>\\n            {{ic-interface-icon \\\"sla\\\"}} Apply SLA\\n          </a>\\n        </div>\\n      {{/if}}\\n    </select.opener>\\n  </IcSelect>\\n  {{#if showNewSlaModal}}\\n    <Inbox::Slas::SlaModal\\n      @conversationSlas={{conversationSlas}}\\n      @officeHoursSchedules={{officeHoursSchedules}}\\n      @showNewSlaModal={{showNewSlaModal}}\\n      @onSlaCreated={{action \\\"onSlaCreated\\\"}}\\n    />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/rules/pick-conversation-sla.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/pick-conversation-sla.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-get-with-default */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { reads, readOnly, filterBy } from '@ember/object/computed';\nimport { capitalize } from '@ember/string';\nimport { formatSeconds } from 'embercom/lib/duration-formatter';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  conversationSlas: readOnly('actionEditorContext.conversationSlas'),\n  officeHoursSchedules: readOnly('actionEditorContext.officeHoursSchedules'),\n  liveConversationSlas: filterBy('conversationSlas', 'archived', false),\n\n  slaOnDelete: computed('actionEditorContext.allowSlaOnDelete', 'onDelete', function() {\n    if (this.actionEditorContext.allowSlaOnDelete && this.onDelete) {\n      return this.onDelete;\n    }\n    return null;\n  }),\n\n  selectItems: computed('liveConversationSlas.@each.{name,id}', function() {\n    return this.getWithDefault('liveConversationSlas', []).map(sla => {\n      return {\n        text: sla.get('name'),\n        value: sla.get('id'),\n        description: `${slaDescription(this.app, sla, this.officeHoursSchedules)}`,\n      };\n    });\n  }),\n\n  selectedConversationSla: computed(\n    'action.actionData.conversation_sla_id',\n    'liveConversationSlas.@each.id',\n    function() {\n      let slaId = this.get('action.actionData.conversation_sla_id');\n      if (slaId) {\n        return this.getWithDefault('liveConversationSlas', []).findBy('id', slaId);\n      }\n    },\n  ),\n  selectedOfficeHoursId: reads('selectedConversationSla.officeHoursScheduleId'),\n  officeHoursLabel: computed('selectedOfficeHoursId', function() {\n    let officeHoursSchedule = this.officeHoursSchedules.findBy('id', this.selectedOfficeHoursId);\n    return `${officeHoursSchedule.name} office hours`;\n  }),\n\n  filterBlockDetail: computed('selectedConversationSla', function() {\n    let sla = this.selectedConversationSla;\n    if (sla) {\n      return `${sla.get('name')}`;\n    }\n  }),\n\n  filterBlockDetailTooltip: computed('selectedConversationSla', function() {\n    let sla = this.selectedConversationSla;\n    if (sla) {\n      return `${slaDescription(this.app, sla, this.officeHoursSchedules)}`;\n    }\n  }),\n\n  actions: {\n    updateConversationSla(slaId) {\n      this.set('action.actionData', { conversation_sla_id: slaId });\n\n      let onChange = this.onChange;\n      if (onChange) {\n        onChange();\n      }\n    },\n    showSlaModal() {\n      this.set('showNewSlaModal', true);\n    },\n    onSlaCreated(sla) {\n      this.send('updateConversationSla', sla.get('id'));\n    },\n  },\n});\n\nfunction slaDescription(app, sla, officeHoursSchedules) {\n  if (officeHoursSchedules) {\n    let officeHoursSchedule = officeHoursSchedules.findBy('id', sla.officeHoursScheduleId);\n    if (officeHoursSchedule) {\n      let officeHoursLabel = `${officeHoursSchedule.name}`;\n      return `${formatConversationSlaResponseTimes(sla)}, office hours: ${officeHoursLabel}`;\n    }\n  }\n  return `${formatConversationSlaResponseTimes(sla)}`;\n}\n\nfunction formatConversationSlaResponseTimes(sla) {\n  return capitalize(\n    [\n      ['first response', sla.get('firstReplyTimeInSeconds')],\n      ['next response', sla.get('nextReplyTimeInSeconds')],\n    ]\n      .filter(([label, seconds]) => {\n        return !!seconds;\n      })\n      .map(([label, seconds]) => {\n        return `${label}: ${formatSeconds(seconds)}`;\n      })\n      .join(', '),\n  );\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if hasBlock}}\\n  {{yield}}\\n{{else}}\\n  <div class=\\\"u__ml__10\\\">\\n    <Rules::Actions::ActionsEditor\\n      @rule={{@rule}}\\n      @allowedRuleActions={{@allowedRuleActions}}\\n      @actionEditorContext={{@actionEditorContext}}\\n      @allowConversationAttributes={{@allowConversationAttributes}}\\n      @onChange={{@onChange}}\\n      @isDisabled={{@isDisabled}}\\n    />\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if hasBlock}}\\n  {{yield}}\\n{{else}}\\n  <div class=\\\"u__ml__10\\\">\\n    <Rules::Actions::ActionsEditor\\n      @rule={{@rule}}\\n      @allowedRuleActions={{@allowedRuleActions}}\\n      @actionEditorContext={{@actionEditorContext}}\\n      @allowConversationAttributes={{@allowConversationAttributes}}\\n      @onChange={{@onChange}}\\n      @isDisabled={{@isDisabled}}\\n    />\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/rules/rule-editor-actions-section.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/rule-editor-actions-section.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasBlock}}\\n  <Predicates::PredicatesEditor\\n    @predicates={{rule.predicates}}\\n    @requiresUserPredicate={{false}}\\n    @attributeGroupList={{attributeGroupList}}\\n    @onUpdate={{action \\\"onPredicatesUpdate\\\" rule}}\\n    @isDisabled={{isDisabled}} as |predicatesEditor|\\n  >\\n    {{yield predicatesEditor}}\\n  </Predicates::PredicatesEditor>\\n{{else}}\\n  <Predicates::PredicatesEditor\\n    @predicates={{rule.predicates}}\\n    @attributeGroupList={{attributeGroupList}}\\n    @onUpdate={{action \\\"onPredicatesUpdate\\\" rule}}\\n    @isDisabled={{isDisabled}} as |predicatesEditor|\\n  >\\n    <div class=\\\"u__mb__5 u__display-inline-block\\\">\\n      {{predicatesEditor.components.logicalSwitcher}}\\n    </div>\\n    <div class=\\\"u__ml__10\\\" data-intercom-target=\\\"predicates\\\">\\n      {{#if predicatesEditor.predicates}}\\n        {{#each predicatesEditor.predicates as |predicate index|}}\\n          <div class=\\\"flex items-start {{if (gt index 0) \\\"u__mt__10\\\"}}\\\">\\n            <div class=\\\"mr-4\\\">\\n              <IcIfThisThenThat\\n                @type={{if (eq index 0) \\\"if\\\" rule.logicalMode}}\\n              />\\n            </div>\\n            <div class=\\\"flex-auto min-w-0\\\">\\n              <predicatesEditor.components.predicateEditor\\n                class=\\\"rule-editor__block\\\"\\n                @isOneLine={{true}}\\n                @index={{index}}\\n                @predicate={{predicate}}\\n              />\\n            </div>\\n          </div>\\n        {{/each}}\\n        <div class=\\\"h-2\\\"></div>\\n        <div class=\\\"flex items-start\\\">\\n          <div style=\\\"width: 78px; height: 36px;\\\"></div>\\n          <div class=\\\"flex-auto min-w-0\\\">\\n            <predicatesEditor.components.attributePickerOpener\\n              @label=\\\"Add data\\\"\\n            />\\n          </div>\\n        </div>\\n      {{else}}\\n        <div class=\\\"flex items-start u__mb__10\\\">\\n          <div class=\\\"u__mr__15\\\">\\n            <IcIfThisThenThat @type=\\\"if\\\" />\\n          </div>\\n          <div class=\\\"flex-auto min-w-0 mt-2\\\">\\n            <predicatesEditor.components.attributePickerOpener\\n              @label=\\\"Add data\\\"\\n            />\\n          </div>\\n        </div>\\n      {{/if}}\\n    </div>\\n  </Predicates::PredicatesEditor>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasBlock}}\\n  <Predicates::PredicatesEditor\\n    @predicates={{rule.predicates}}\\n    @requiresUserPredicate={{false}}\\n    @attributeGroupList={{attributeGroupList}}\\n    @onUpdate={{action \\\"onPredicatesUpdate\\\" rule}}\\n    @isDisabled={{isDisabled}} as |predicatesEditor|\\n  >\\n    {{yield predicatesEditor}}\\n  </Predicates::PredicatesEditor>\\n{{else}}\\n  <Predicates::PredicatesEditor\\n    @predicates={{rule.predicates}}\\n    @attributeGroupList={{attributeGroupList}}\\n    @onUpdate={{action \\\"onPredicatesUpdate\\\" rule}}\\n    @isDisabled={{isDisabled}} as |predicatesEditor|\\n  >\\n    <div class=\\\"u__mb__5 u__display-inline-block\\\">\\n      {{predicatesEditor.components.logicalSwitcher}}\\n    </div>\\n    <div class=\\\"u__ml__10\\\" data-intercom-target=\\\"predicates\\\">\\n      {{#if predicatesEditor.predicates}}\\n        {{#each predicatesEditor.predicates as |predicate index|}}\\n          <div class=\\\"flex items-start {{if (gt index 0) \\\"u__mt__10\\\"}}\\\">\\n            <div class=\\\"mr-4\\\">\\n              <IcIfThisThenThat\\n                @type={{if (eq index 0) \\\"if\\\" rule.logicalMode}}\\n              />\\n            </div>\\n            <div class=\\\"flex-auto min-w-0\\\">\\n              <predicatesEditor.components.predicateEditor\\n                class=\\\"rule-editor__block\\\"\\n                @isOneLine={{true}}\\n                @index={{index}}\\n                @predicate={{predicate}}\\n              />\\n            </div>\\n          </div>\\n        {{/each}}\\n        <div class=\\\"h-2\\\"></div>\\n        <div class=\\\"flex items-start\\\">\\n          <div style=\\\"width: 78px; height: 36px;\\\"></div>\\n          <div class=\\\"flex-auto min-w-0\\\">\\n            <predicatesEditor.components.attributePickerOpener\\n              @label=\\\"Add data\\\"\\n            />\\n          </div>\\n        </div>\\n      {{else}}\\n        <div class=\\\"flex items-start u__mb__10\\\">\\n          <div class=\\\"u__mr__15\\\">\\n            <IcIfThisThenThat @type=\\\"if\\\" />\\n          </div>\\n          <div class=\\\"flex-auto min-w-0 mt-2\\\">\\n            <predicatesEditor.components.attributePickerOpener\\n              @label=\\\"Add data\\\"\\n            />\\n          </div>\\n        </div>\\n      {{/if}}\\n    </div>\\n  </Predicates::PredicatesEditor>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/rules/rule-editor-predicates-section.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/rule-editor-predicates-section.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { copy } from 'ember-copy';\n\nexport default Component.extend({\n  attributeService: service(),\n\n  init() {\n    this._super(...arguments);\n\n    this.set('groupList', [\n      {\n        hasItemsMarkableAsSelected: true,\n        items: [\n          {\n            text: 'AND',\n            value: 'and',\n          },\n          {\n            text: 'OR',\n            value: 'or',\n          },\n        ],\n      },\n    ]);\n  },\n\n  allowedRuleConditionalAttributes: undefined, //this can be overridden externally\n\n  defaultAllowedRuleConditionalAttributes: computed(\n    'attributeService.allUserAttributes.[]',\n    'attributeService.allCompanyAttributes.[]',\n    function() {\n      let peopleAttributes = this.get('attributeService.allUserAttributes').mapBy('attribute');\n      let companyAttributes = this.get('attributeService.allCompanyAttributes').mapBy('attribute');\n      return [\n        {\n          heading: 'People data',\n          attributes: peopleAttributes,\n        },\n        {\n          heading: 'Company data',\n          attributes: companyAttributes,\n        },\n      ];\n    },\n  ),\n\n  attributeGroupList: computed(\n    'allowedRuleConditionalAttributes.[]',\n    'defaultAllowedRuleConditionalAttributes',\n    function() {\n      if (this.allowedRuleConditionalAttributes) {\n        return this.allowedRuleConditionalAttributes;\n      } else {\n        return this.defaultAllowedRuleConditionalAttributes;\n      }\n    },\n  ),\n\n  actions: {\n    onPredicatesUpdate(rule, predicates) {\n      rule.set('predicates', copy(predicates));\n\n      if (this.onChange) {\n        this.onChange();\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__mb__10 p-1 pr-3 pb-3 {{if @isCard 'card' 'u__relative'}}\\\">\\n  {{#let\\n    (hash\\n      predicates-section=(component\\n        \\\"rules/rule-editor-predicates-section\\\"\\n        rule=@rule\\n        allowedRuleConditionalAttributes=@allowedRuleConditionalAttributes\\n        onChange=@onChange\\n        isDisabled=@isDisabled\\n      )\\n      actions-section=(component\\n        \\\"rules/rule-editor-actions-section\\\"\\n        rule=@rule\\n        allowedRuleActions=@allowedRuleActions\\n        actionEditorContext=@actionEditorContext\\n        allowConversationAttributes=@allowConversationAttributes\\n        onChange=@onChange\\n        isDisabled=@isDisabled\\n      )\\n    ) as |components|\\n  }}\\n    <div data-test-rule-editor class=\\\"u__pad__10\\\">\\n      {{#if hasBlock}}\\n        {{yield (hash predicates-section=components.predicates-section)}}\\n        {{yield (hash actions-section=components.actions-section)}}\\n      {{else}}\\n        {{component components.predicates-section}}\\n        <hr class=\\\"m-0 mb-4 border-dashed border-top\\\" />\\n        {{component components.actions-section}}\\n      {{/if}}\\n      {{#if @onRemove}}\\n        <div class=\\\"rule-editor__delete\\\">\\n          <a\\n            {{on \\\"click\\\" (fn @onRemove @rule)}}\\n            class=\\\"quick-action {{if @isDisabled \\\"o__disabled\\\"}}\\\"\\n            data-test-delete-rule-icon\\n          >\\n            {{ic-interface-icon \\\"trash\\\" solo=true}}\\n          </a>\\n        </div>\\n      {{/if}}\\n    </div>\\n  {{/let}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__mb__10 p-1 pr-3 pb-3 {{if @isCard 'card' 'u__relative'}}\\\">\\n  {{#let\\n    (hash\\n      predicates-section=(component\\n        \\\"rules/rule-editor-predicates-section\\\"\\n        rule=@rule\\n        allowedRuleConditionalAttributes=@allowedRuleConditionalAttributes\\n        onChange=@onChange\\n        isDisabled=@isDisabled\\n      )\\n      actions-section=(component\\n        \\\"rules/rule-editor-actions-section\\\"\\n        rule=@rule\\n        allowedRuleActions=@allowedRuleActions\\n        actionEditorContext=@actionEditorContext\\n        allowConversationAttributes=@allowConversationAttributes\\n        onChange=@onChange\\n        isDisabled=@isDisabled\\n      )\\n    ) as |components|\\n  }}\\n    <div data-test-rule-editor class=\\\"u__pad__10\\\">\\n      {{#if hasBlock}}\\n        {{yield (hash predicates-section=components.predicates-section)}}\\n        {{yield (hash actions-section=components.actions-section)}}\\n      {{else}}\\n        {{component components.predicates-section}}\\n        <hr class=\\\"m-0 mb-4 border-dashed border-top\\\" />\\n        {{component components.actions-section}}\\n      {{/if}}\\n      {{#if @onRemove}}\\n        <div class=\\\"rule-editor__delete\\\">\\n          <a\\n            {{on \\\"click\\\" (fn @onRemove @rule)}}\\n            class=\\\"quick-action {{if @isDisabled \\\"o__disabled\\\"}}\\\"\\n            data-test-delete-rule-icon\\n          >\\n            {{ic-interface-icon \\\"trash\\\" solo=true}}\\n          </a>\\n        </div>\\n      {{/if}}\\n    </div>\\n  {{/let}}\\n</div>\\n\",\"moduleName\":\"embercom/components/rules/rule-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/rule-editor.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#each @rules as |rule|}}\\n  <Rules::RuleEditor\\n    @isCard={{true}}\\n    @rule={{rule}}\\n    @allowedRuleActions={{@allowedRuleActions}}\\n    @allowedRuleConditionalAttributes={{@allowedRuleConditionalAttributes}}\\n    @allowConversationAttributes={{@allowConversationAttributes}}\\n    @actionEditorContext={{@actionEditorContext}}\\n    @onRemove={{this.removeRule}}\\n    @onChange={{@onChange}}\\n    @isDisabled={{@isDisabled}}\\n  />\\n{{/each}}\\n<a\\n  class=\\\"btn__tertiary {{if @isDisabled \\\"o__disabled\\\"}}\\\"\\n  {{on 'click' this.addRule}}\\n  data-test-new-rule-button\\n>\\n  {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add rule\\n</a>\\n\", {\"contents\":\"{{#each @rules as |rule|}}\\n  <Rules::RuleEditor\\n    @isCard={{true}}\\n    @rule={{rule}}\\n    @allowedRuleActions={{@allowedRuleActions}}\\n    @allowedRuleConditionalAttributes={{@allowedRuleConditionalAttributes}}\\n    @allowConversationAttributes={{@allowConversationAttributes}}\\n    @actionEditorContext={{@actionEditorContext}}\\n    @onRemove={{this.removeRule}}\\n    @onChange={{@onChange}}\\n    @isDisabled={{@isDisabled}}\\n  />\\n{{/each}}\\n<a\\n  class=\\\"btn__tertiary {{if @isDisabled \\\"o__disabled\\\"}}\\\"\\n  {{on 'click' this.addRule}}\\n  data-test-new-rule-button\\n>\\n  {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Add rule\\n</a>\\n\",\"moduleName\":\"embercom/components/rules/rules-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/rules/rules-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\n\nexport default Component.extend({\n  tagName: '',\n  addRule: action(function() {\n    this.rules.createFragment();\n\n    let onChange = this.onChange;\n    if (onChange) {\n      onChange();\n    }\n  }),\n\n  removeRule: action(function(rule) {\n    this.rules.removeFragment(rule);\n\n    let onChange = this.onChange;\n    if (onChange) {\n      onChange();\n    }\n  }),\n});\n","import SavedReplyInserterComponent from '@intercom/embercom-composer/components/saved-reply-inserter';\nexport default SavedReplyInserterComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"t__centered u__center-item\\\" data-test-search-empty-state-wrapper>\\n  <div class=\\\"search__empty-state__illustration o__{{context}}\\\"></div>\\n  <div class=\\\"t__h2\\\">\\n    {{labels.title}}\\n  </div>\\n  <div class=\\\"h-2\\\"></div>\\n  <div class=\\\"search__empty-state__text\\\">\\n    {{labels.content}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"t__centered u__center-item\\\" data-test-search-empty-state-wrapper>\\n  <div class=\\\"search__empty-state__illustration o__{{context}}\\\"></div>\\n  <div class=\\\"t__h2\\\">\\n    {{labels.title}}\\n  </div>\\n  <div class=\\\"h-2\\\"></div>\\n  <div class=\\\"search__empty-state__text\\\">\\n    {{labels.content}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/search-empty-state.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/search-empty-state.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { isEmpty } from '@ember/utils';\nimport Component from '@ember/component';\nimport { selectFromObject } from '@intercom/embercom-core/lib/computed-properties';\n\nconst LABELS = {\n  platform: {\n    title: 'Search people and companies',\n    content: 'You can search for users, leads and companies by name and tags',\n  },\n  inbox: {\n    title: 'Search conversations',\n    content: 'You can search for conversations by keyword or tag',\n  },\n  messages: {\n    title: 'Search messages',\n    content: 'You can search for messages by title or sender',\n  },\n  outbound: {\n    title: 'Search messages',\n    content: 'You can search messages by title',\n  },\n};\n\nexport default Component.extend({\n  classNames: 'layout__box o__has-rows o__flexes-to-1 u__center-layout',\n  context: null,\n  allLabels: LABELS,\n  labels: selectFromObject('allLabels', 'context'),\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    if (isEmpty(this.context)) {\n      throw new Error('`context` must be defined when invoking `search-empty-state`.');\n    }\n  },\n\n  click() {\n    let exitSearch = this.exitSearch;\n    if (typeof exitSearch === 'function') {\n      exitSearch();\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span\\n  class=\\\"f__custom-select__box {{if disabled \\\"o__disabled\\\"}} filter-bar__anonymous-dropdown {{if isOpen \\\"o__opened\\\"}}\\\"\\n  {{action \\\"toggleOpenState\\\"}}\\n>\\n  <span class=\\\"u__one-truncated-line filter-bar__anonymous-dropdown__selected\\\">\\n    {{#if _mappedValue.icon}}\\n      <span class=\\\"filter-bar__anonymous-dropdown__selected-icon\\\">\\n        {{ic-interface-icon _mappedValue.icon}}\\n      </span>\\n    {{/if}}\\n    <span class=\\\"t__h3 filter-bar__anonymous-dropdown__selected-text\\\">\\n      {{_mappedValue.label}}\\n    </span>\\n  </span>\\n  <span class=\\\"filter-bar__anonymous-dropdown__caret-large\\\">\\n    {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n  </span>\\n</span>\\n{{#if isOpen}}\\n  <div\\n    class=\\\"dropdown o__opened f__custom-select__dropdown filter-bar__anonymous-dropdown z__1\\\"\\n  >\\n    {{#each _mappedContentWithEnabled as |value index|}}\\n      {{partial\\n        \\\"components/segment-filter/partials/anonymous-select-component-item\\\"\\n      }}\\n    {{/each}}\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span\\n  class=\\\"f__custom-select__box {{if disabled \\\"o__disabled\\\"}} filter-bar__anonymous-dropdown {{if isOpen \\\"o__opened\\\"}}\\\"\\n  {{action \\\"toggleOpenState\\\"}}\\n>\\n  <span class=\\\"u__one-truncated-line filter-bar__anonymous-dropdown__selected\\\">\\n    {{#if _mappedValue.icon}}\\n      <span class=\\\"filter-bar__anonymous-dropdown__selected-icon\\\">\\n        {{ic-interface-icon _mappedValue.icon}}\\n      </span>\\n    {{/if}}\\n    <span class=\\\"t__h3 filter-bar__anonymous-dropdown__selected-text\\\">\\n      {{_mappedValue.label}}\\n    </span>\\n  </span>\\n  <span class=\\\"filter-bar__anonymous-dropdown__caret-large\\\">\\n    {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n  </span>\\n</span>\\n{{#if isOpen}}\\n  <div\\n    class=\\\"dropdown o__opened f__custom-select__dropdown filter-bar__anonymous-dropdown z__1\\\"\\n  >\\n    {{#each _mappedContentWithEnabled as |value index|}}\\n      {{partial\\n        \\\"components/segment-filter/partials/anonymous-select-component-item\\\"\\n      }}\\n    {{/each}}\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/segment-filter/anonymous-select-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/segment-filter/anonymous-select-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { assign } from '@ember/polyfills';\nimport { computed } from '@ember/object';\nimport { mapBy, equal, map } from '@ember/object/computed';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport IntercomSelectComponent from 'embercom/components/intercom-select-component';\n\nlet SegmentFilterAnonymousSelectComponent = IntercomSelectComponent.extend({\n  leadsEnabled: true,\n  contentLabels: mapBy('_mappedContent', 'label'),\n  isInApp: equal('messageType', 'in-app'),\n  isMobilePush: equal('messageType', 'push-only'),\n  channelMessage: computed('isInApp', 'isMobilePush', function() {\n    if (this.isInApp) {\n      return 'in-app';\n    }\n    if (this.isMobilePush) {\n      return 'a push message';\n    }\n    return '';\n  }),\n  leadsWarning: templateString(\n    'Messaging leads is unavailable while your channel is ${channelMessage}',\n  ),\n  contactIndex: computed('contentLabels', function() {\n    return this.contentLabels.indexOf('Leads');\n  }),\n\n  _mappedContentWithEnabled: map('_mappedContent', function(content) {\n    let enabled = content.label !== 'Users' ? this.leadsEnabled : true;\n    return assign(content, { enabled });\n  }).property('_mappedContent', 'leadsEnabled'),\n});\n\nexport default SegmentFilterAnonymousSelectComponent;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"h-2\\\"></div>\\n<div class=\\\"u__cf\\\">\\n  <div class=\\\"u__left\\\">\\n    <h3 class=\\\"t__h3\\\">\\n      Segments\\n    </h3>\\n  </div>\\n  <div class=\\\"u__right\\\">\\n    {{#if segments}}\\n      <TagsOrSegmentsVisibilityOverlayOldStyleOpener @segments={{segments}} />\\n    {{/if}}\\n  </div>\\n</div>\\n<div class=\\\"u__cf pl_tag_and_segments\\\">\\n  <SegmentsList\\n    @app={{app}}\\n    @admin={{admin}}\\n    @segments={{visibility/visible-segments (get segments \\\"[]\\\")}}\\n    @taggable={{model}}\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"h-2\\\"></div>\\n<div class=\\\"u__cf\\\">\\n  <div class=\\\"u__left\\\">\\n    <h3 class=\\\"t__h3\\\">\\n      Segments\\n    </h3>\\n  </div>\\n  <div class=\\\"u__right\\\">\\n    {{#if segments}}\\n      <TagsOrSegmentsVisibilityOverlayOldStyleOpener @segments={{segments}} />\\n    {{/if}}\\n  </div>\\n</div>\\n<div class=\\\"u__cf pl_tag_and_segments\\\">\\n  <SegmentsList\\n    @app={{app}}\\n    @admin={{admin}}\\n    @segments={{visibility/visible-segments (get segments \\\"[]\\\")}}\\n    @taggable={{model}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/segment-links-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/segment-links-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"nav-vertical__filter__input__wrapper\\\">\\n  <span class=\\\"nav-vertical__filter__input__icon\\\">\\n    {{ic-interface-icon \\\"search\\\"}}\\n  </span>\\n  {{#if objectFilter}}\\n    <a\\n      class=\\\"nav-vertical__filter__clear-text__icon\\\"\\n      {{action (mut objectFilter) \\\"\\\"}}\\n    >\\n      {{ic-interface-icon \\\"small-close\\\"}}\\n    </a>\\n  {{/if}}\\n  <Input\\n    @autocomplete=\\\"off\\\"\\n    class=\\\"f__text nav-vertical__filter__text__input u__mt__10 u__padl__30\\\"\\n    placeholder=\\\"Search segments…\\\"\\n    @value={{objectFilter}}\\n  />\\n</div>\\n<div class=\\\"u__mt__5\\\" style={{objectWrapperHeight}}>\\n  <VerticalCollection\\n    @items={{objectsToDisplay}}\\n    @estimateHeight={{objectHeight}}\\n    @initialRenderCount={{25}}\\n    @staticHeight={{true}}\\n    @containerSelector={{containerSelector}} as |segment|\\n  >\\n    <VerticalSegmentLink\\n      @segment={{segment}}\\n      @activeSegment={{activeSegment}}\\n      @exitSearch={{exitSearch}}\\n    />\\n  </VerticalCollection>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"nav-vertical__filter__input__wrapper\\\">\\n  <span class=\\\"nav-vertical__filter__input__icon\\\">\\n    {{ic-interface-icon \\\"search\\\"}}\\n  </span>\\n  {{#if objectFilter}}\\n    <a\\n      class=\\\"nav-vertical__filter__clear-text__icon\\\"\\n      {{action (mut objectFilter) \\\"\\\"}}\\n    >\\n      {{ic-interface-icon \\\"small-close\\\"}}\\n    </a>\\n  {{/if}}\\n  <Input\\n    @autocomplete=\\\"off\\\"\\n    class=\\\"f__text nav-vertical__filter__text__input u__mt__10 u__padl__30\\\"\\n    placeholder=\\\"Search segments…\\\"\\n    @value={{objectFilter}}\\n  />\\n</div>\\n<div class=\\\"u__mt__5\\\" style={{objectWrapperHeight}}>\\n  <VerticalCollection\\n    @items={{objectsToDisplay}}\\n    @estimateHeight={{objectHeight}}\\n    @initialRenderCount={{25}}\\n    @staticHeight={{true}}\\n    @containerSelector={{containerSelector}} as |segment|\\n  >\\n    <VerticalSegmentLink\\n      @segment={{segment}}\\n      @activeSegment={{activeSegment}}\\n      @exitSearch={{exitSearch}}\\n    />\\n  </VerticalCollection>\\n</div>\\n\",\"moduleName\":\"embercom/components/segment-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/segment-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport FilteredObjectList from 'embercom/components/filtered-object-list';\n\nconst SEGMENT_HEIGHT = 33;\n\nexport default FilteredObjectList.extend({\n  objectHeight: SEGMENT_HEIGHT,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<NavSearchComponent\\n  @items={{tags}}\\n  @placeholderText={{placeholderText}}\\n  @searchString={{search.rawText}}\\n  @testBindingClass=\\\"test__search-users-and-tags\\\"\\n  @resetSearch={{action \\\"resetSearch\\\"}}\\n  @doSearch={{doSearch}}\\n  @disabled={{disabled}} as |item|\\n>\\n  {{#if item.isStandardSearch}}\\n    <span class=\\\"nav__search__result__type\\\">\\n      {{ic-interface-icon iconForStandardSearch}} {{standardSearchObject}} for\\n    </span>\\n    \\\"{{item.name}}\\\"\\n  {{else}}\\n    <span class=\\\"nav__search__result__type\\\">\\n      {{ic-interface-icon \\\"tag\\\"}} Tag\\n    </span>\\n    {{item.name}}\\n  {{/if}}\\n</NavSearchComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<NavSearchComponent\\n  @items={{tags}}\\n  @placeholderText={{placeholderText}}\\n  @searchString={{search.rawText}}\\n  @testBindingClass=\\\"test__search-users-and-tags\\\"\\n  @resetSearch={{action \\\"resetSearch\\\"}}\\n  @doSearch={{doSearch}}\\n  @disabled={{disabled}} as |item|\\n>\\n  {{#if item.isStandardSearch}}\\n    <span class=\\\"nav__search__result__type\\\">\\n      {{ic-interface-icon iconForStandardSearch}} {{standardSearchObject}} for\\n    </span>\\n    \\\"{{item.name}}\\\"\\n  {{else}}\\n    <span class=\\\"nav__search__result__type\\\">\\n      {{ic-interface-icon \\\"tag\\\"}} Tag\\n    </span>\\n    {{item.name}}\\n  {{/if}}\\n</NavSearchComponent>\\n\",\"moduleName\":\"embercom/components/segment-search-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/segment-search-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { ternary, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  appService: service(),\n  classNames: ['layout__box'],\n  preventDropdownToggleFromWithin: true,\n  isCompanySearch: readOnly('activeSegment.isCompany'),\n  placeholderText: ternaryToProperty(\n    'isCompanySearch',\n    'companyPlaceholderText',\n    'peopleOrUsersPlaceholderText',\n  ),\n  iconForStandardSearch: ternary('isCompanySearch', 'company', 'person'),\n  standardSearchObject: ternary('isCompanySearch', 'Companies', 'People'),\n  companyPlaceholderText: 'Search companies and tags…',\n  peopleOrUsersPlaceholderText: 'Search people and tags…',\n\n  actions: {\n    resetSearch() {\n      this.search.reset();\n      this.set('searchController.searchTerm', '');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip\\n  @isDisabled={{not @segment.hasCreationMetaData}}\\n  class=\\\"u__left max-w-full\\\"\\n  as |t|\\n>\\n  <t.opener>\\n    {{#if hasBlock}}\\n      {{yield}}\\n    {{else}}\\n      <TagOrSegmentPillComponent\\n        @tagOrSegment={{@segment}}\\n        @taggable={{@taggable}}\\n        @link={{@link}}\\n      />\\n    {{/if}}\\n  </t.opener>\\n  <t.content>\\n    Segment created\\n\\n    {{#if @segment.hasCreator}}\\n      by <IcAvatarComponent @model={{@segment.creator}} @size=\\\"xs\\\" />\\n      {{display-admin-as @admin @segment.creator false false true}}\\n    {{/if}}\\n\\n    {{#if @segment.hasCreationDate}}\\n      <time\\n        class=\\\"js__relative-time\\\"\\n        data-formatter=\\\"full-relative-time-ago-helper\\\"\\n        datetime=\\\"{{@segment.created_at}}\\\"\\n      >\\n        {{full-relative-time-ago-helper @segment.created_at}}\\n      </time>\\n    {{/if}}\\n  </t.content>\\n</IcTooltip>\\n\", {\"contents\":\"<IcTooltip\\n  @isDisabled={{not @segment.hasCreationMetaData}}\\n  class=\\\"u__left max-w-full\\\"\\n  as |t|\\n>\\n  <t.opener>\\n    {{#if hasBlock}}\\n      {{yield}}\\n    {{else}}\\n      <TagOrSegmentPillComponent\\n        @tagOrSegment={{@segment}}\\n        @taggable={{@taggable}}\\n        @link={{@link}}\\n      />\\n    {{/if}}\\n  </t.opener>\\n  <t.content>\\n    Segment created\\n\\n    {{#if @segment.hasCreator}}\\n      by <IcAvatarComponent @model={{@segment.creator}} @size=\\\"xs\\\" />\\n      {{display-admin-as @admin @segment.creator false false true}}\\n    {{/if}}\\n\\n    {{#if @segment.hasCreationDate}}\\n      <time\\n        class=\\\"js__relative-time\\\"\\n        data-formatter=\\\"full-relative-time-ago-helper\\\"\\n        datetime=\\\"{{@segment.created_at}}\\\"\\n      >\\n        {{full-relative-time-ago-helper @segment.created_at}}\\n      </time>\\n    {{/if}}\\n  </t.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/segment-with-tooltip.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/segment-with-tooltip.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#each @segments as |segment|}}\\n  <SegmentWithTooltip\\n    @segment={{segment}}\\n    @admin={{@admin}}\\n    @taggable={{@taggable}}\\n    @app={{@app}}\\n    @link={{true}}\\n  />\\n{{/each}}\\n\", {\"contents\":\"{{#each @segments as |segment|}}\\n  <SegmentWithTooltip\\n    @segment={{segment}}\\n    @admin={{@admin}}\\n    @taggable={{@taggable}}\\n    @app={{@app}}\\n    @link={{true}}\\n  />\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/segments-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/segments-list.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"f__custom-select {{if fit 'o__fit'}}\\\">\\n  <span class=\\\"f__custom-select__box {{if isOpen 'o__opened'}}\\\">\\n    {{selectedOption.label}}\\n    <span class=\\\"f__custom-select__caret\\\">{{ic-interface-icon 'small-down-arrow' solo=true}}</span>\\n  </span>\\n  {{#if isOpen}}\\n  <div class=\\\"dropdown o__opened f__custom-select__dropdown z__1\\\">\\n    {{#each optionsHash as |option|}}\\n      <span class=\\\"dropdown__list-item o__hoverable u__prevent-breaks\\\" {{action 'optionSelected' option.value}} data-test-dropdown-item={{option.value}}> {{option.label}}</span>\\n    {{/each}}\\n  </div>\\n  {{/if}}\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"f__custom-select {{if fit 'o__fit'}}\\\">\\n  <span class=\\\"f__custom-select__box {{if isOpen 'o__opened'}}\\\">\\n    {{selectedOption.label}}\\n    <span class=\\\"f__custom-select__caret\\\">{{ic-interface-icon 'small-down-arrow' solo=true}}</span>\\n  </span>\\n  {{#if isOpen}}\\n  <div class=\\\"dropdown o__opened f__custom-select__dropdown z__1\\\">\\n    {{#each optionsHash as |option|}}\\n      <span class=\\\"dropdown__list-item o__hoverable u__prevent-breaks\\\" {{action 'optionSelected' option.value}} data-test-dropdown-item={{option.value}}> {{option.label}}</span>\\n    {{/each}}\\n  </div>\\n  {{/if}}\\n</span>\\n\",\"moduleName\":\"embercom/components/select-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/select-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { isEmpty } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\n// eslint-disable-next-line @intercom/intercom/no-legacy-dropdown\nimport ComponentDropdownToggler from 'embercom/components/mixins/component-dropdown-toggler';\n\nlet SelectComponent = Component.extend(ComponentDropdownToggler, {\n  tagName: 'span',\n  selectedValue: null,\n  options: null,\n  fit: false,\n\n  optionsHash: computed('options', 'selectedValue', function() {\n    let properties = this.getProperties('options', 'selectedValue');\n    let optionsHash = properties.options.map(function(item) {\n      let hash = {};\n      hash.label = item.label;\n      hash.value = item.value;\n      hash.selected = item.value === properties.selectedValue;\n      return hash;\n    });\n    if (isEmpty(optionsHash.filterBy('selected', true))) {\n      optionsHash[0].selected = true;\n    }\n    return optionsHash;\n  }),\n\n  selectedOption: computed('optionsHash', 'selectedValue', function() {\n    let selectedOption = this.optionsHash.filterBy('selected', true);\n    return selectedOption[0];\n  }),\n\n  actions: {\n    optionSelected(value) {\n      this.set('selectedValue', value);\n    },\n  },\n});\n\nexport default SelectComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"series__campaign-migration-checklist\\\" data-test-series-campaign-migration-checklist>\\n  <div class=\\\"mx-4 mt-4 mb-0\\\">\\n    <p>Move your campaign to Series:</p>\\n    <ol class=\\\"series__campaign-migration-checklist__list\\\">\\n      <li class=\\\"series__campaign-migration-checklist__list-item line-through opacity-50 o__completed\\\"><span class=\\\"ml-1\\\">Copy your campaign</span></li>\\n      <li class=\\\"series__campaign-migration-checklist__list-item {{if this.hasTakenTour 'line-through opacity-50 o__completed'}}\\\" data-test-tour-text>\\n       <Pulse::HelpContent::Tour\\n          @title=\\\"Take the tour\\\"\\n          @tourId={{145808}}\\n          @linkStyling=\\\"inline\\\"\\n          data-test-tour-link\\n          {{on \\\"click\\\" (set this.hasTakenTour true)}}\\n        />\\n      </li>\\n\\n      <li class=\\\"series__campaign-migration-checklist__list-item\\\">\\n        <a class=\\\"no-underline hover:underline\\\" {{on \\\"click\\\" (toggle \\\"showExpandedSetLiveCampaignBehaviorSection\\\" this)}} data-test-set-series-live-link>\\n          Sequence your messages and <br><span class=\\\"ml-9\\\">set it live</span> {{ic-interface-icon (if this.showExpandedSetLiveCampaignBehaviorSection 'small-up-arrow' 'small-down-arrow') solo=true}}\\n        </a>\\n      </li>\\n    </ol>\\n    {{#if this.showExpandedSetLiveCampaignBehaviorSection}}\\n      <div class=\\\"ml-9\\\">\\n        <Series::Header::CampaignStateSelector @dark={{true}} />\\n      </div>\\n    {{/if}}\\n  </div>\\n  <hr class=\\\"series__campaign-migration-checklist__divider\\\" />\\n  <div class=\\\"mx-4 mt-0 mb-4\\\">\\n    <p>Questions? Reach out to us</p>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"series__campaign-migration-checklist\\\" data-test-series-campaign-migration-checklist>\\n  <div class=\\\"mx-4 mt-4 mb-0\\\">\\n    <p>Move your campaign to Series:</p>\\n    <ol class=\\\"series__campaign-migration-checklist__list\\\">\\n      <li class=\\\"series__campaign-migration-checklist__list-item line-through opacity-50 o__completed\\\"><span class=\\\"ml-1\\\">Copy your campaign</span></li>\\n      <li class=\\\"series__campaign-migration-checklist__list-item {{if this.hasTakenTour 'line-through opacity-50 o__completed'}}\\\" data-test-tour-text>\\n       <Pulse::HelpContent::Tour\\n          @title=\\\"Take the tour\\\"\\n          @tourId={{145808}}\\n          @linkStyling=\\\"inline\\\"\\n          data-test-tour-link\\n          {{on \\\"click\\\" (set this.hasTakenTour true)}}\\n        />\\n      </li>\\n\\n      <li class=\\\"series__campaign-migration-checklist__list-item\\\">\\n        <a class=\\\"no-underline hover:underline\\\" {{on \\\"click\\\" (toggle \\\"showExpandedSetLiveCampaignBehaviorSection\\\" this)}} data-test-set-series-live-link>\\n          Sequence your messages and <br><span class=\\\"ml-9\\\">set it live</span> {{ic-interface-icon (if this.showExpandedSetLiveCampaignBehaviorSection 'small-up-arrow' 'small-down-arrow') solo=true}}\\n        </a>\\n      </li>\\n    </ol>\\n    {{#if this.showExpandedSetLiveCampaignBehaviorSection}}\\n      <div class=\\\"ml-9\\\">\\n        <Series::Header::CampaignStateSelector @dark={{true}} />\\n      </div>\\n    {{/if}}\\n  </div>\\n  <hr class=\\\"series__campaign-migration-checklist__divider\\\" />\\n  <div class=\\\"mx-4 mt-0 mb-4\\\">\\n    <p>Questions? Reach out to us</p>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/series/campaign-migration-checklist.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/campaign-migration-checklist.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class CampaignMigrationChecklist extends Component {\n  @tracked hasTakenTour = false;\n  @tracked showExpandedSetLiveCampaignBehaviorSection = false;\n  selectedSetLiveCampaignBehavior = 0;\n\n  setLiveCampaignBehaviors = [\n    { value: 0, label: 'stop entering' },\n    { value: 1, label: 'keep entering' },\n  ];\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{@onModalClose}}\\n  @isOpen={{@isOpen}}\\n  @size=\\\"m\\\"\\n  data-test-series-delete-modal\\n  @focusElement=\\\"body\\\" as |modal|\\n>\\n  <modal.header @title=\\\"Delete '{{@seriesTitle}}'\\\"/>\\n  <modal.body>\\n    Are you sure you want to delete this series?\\n  </modal.body>\\n\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Delete\\\"\\n      type=\\\"destructive\\\"\\n      action=(perform @deleteAction)\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=@onModalClose\\n    }}\\n  />\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{@onModalClose}}\\n  @isOpen={{@isOpen}}\\n  @size=\\\"m\\\"\\n  data-test-series-delete-modal\\n  @focusElement=\\\"body\\\" as |modal|\\n>\\n  <modal.header @title=\\\"Delete '{{@seriesTitle}}'\\\"/>\\n  <modal.body>\\n    Are you sure you want to delete this series?\\n  </modal.body>\\n\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Delete\\\"\\n      type=\\\"destructive\\\"\\n      action=(perform @deleteAction)\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=@onModalClose\\n    }}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/series/delete-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/delete-modal.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport StandardEdgeGenerator from 'graph-editor/models/graph-editor/edge/generator';\n// eslint-disable-next-line ember/no-computed-properties-in-native-classes\nimport { computed } from '@ember/object';\nimport { isEmpty } from '@ember/utils';\n\nexport default class SeriesEdgeGenerator extends StandardEdgeGenerator {\n  get pathClass() {\n    return 'series__edge';\n  }\n\n  get hoverPathClass() {\n    return 'series__edge__hover-path';\n  }\n\n  get arrowPathClass() {\n    return 'series__edge__arrowhead';\n  }\n\n  // Replace this with @cached in Ember 3.19\n  @computed('edge.predecessor.connectionPoints.@each.coordinates')\n  get fromConnectionPoints() {\n    let connectionPoints = this.edge.predecessor.connectionPoints.filter(connectionPoint =>\n      this.isUsableOutwardConnectionPoint(connectionPoint),\n    );\n    if (isEmpty(connectionPoints)) {\n      return this.edge.predecessor.connectionPoints;\n    }\n    return connectionPoints;\n  }\n\n  isUsableOutwardConnectionPoint(connectionPoint) {\n    if (\n      connectionPoint.dataObject?.edgeTypes &&\n      !connectionPoint.dataObject.edgeTypes.includes(this.edge.dataObject?.edgeType)\n    ) {\n      return false;\n    }\n\n    if (connectionPoint.direction !== 'outwards' && connectionPoint.direction !== 'both') {\n      return false;\n    }\n\n    return true;\n  }\n\n  isUsableInwardConnectionPoint(connectionPoint) {\n    if (connectionPoint.direction !== 'inwards' && connectionPoint.direction !== 'both') {\n      return false;\n    }\n    return true;\n  }\n\n  // Replace this with @cached in Ember 3.19\n  @computed('edge.successor.connectionPoints.@each.coordinates')\n  get toConnectionPoints() {\n    return (\n      this.edge.successor?.connectionPoints.filter(connectionPoint =>\n        this.isUsableInwardConnectionPoint(connectionPoint),\n      ) || []\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{on-document \\\"keydown\\\" this.shortcutsHandler}}\\n\\n<div class=\\\"series__container flex flex-col flex-1 h-full {{if this.seriesEditorService.isViewMode 'u__overflow-scroll'}}\\\">\\n  <Series::Header />\\n\\n  {{#if this.seriesEditorService.isViewMode}}\\n    <ContentEditor::ViewMode::Tabs @config={{this.tabsConfiguration}} class=\\\"series__tabs-wrapper z-50\\\" />\\n  {{/if}}\\n\\n  <GraphEditor\\n    @graph={{this.graph}}\\n    @interactionMode={{if this.seriesEditorService.isViewMode 'direct-only' 'any'}}\\n    {{did-insert this.onInsert}}\\n    {{will-destroy this.onDestroy}}\\n    class=\\\"\\n      series__graph\\n      {{if this.seriesEditorService.isViewMode 'o__view-mode'}}\\n      {{if this.graph.state.inPanningMode 'o__panning-mode'}}\\n      {{if this.graph.state.isPanning 'o__panning'}}\\n    \\\"\\n    as |graphComponent|\\n  >\\n    {{#each this.graph.nodes as |node|}}\\n      <graphComponent.Node @node={{node}} class=\\\"series__node__wrapper\\\" as |nodeComponent|>\\n        {{#if node.dataObject.isNewlyInserted}}\\n          <nodeComponent.DraggableArea>\\n            {{component node.dataObject.inserterConfig.loadingComponentConfig.component\\n              config=node.dataObject.inserterConfig.loadingComponentConfig\\n            }}\\n          </nodeComponent.DraggableArea>\\n        {{else}}\\n          <nodeComponent.InlineArea>\\n            <div class=\\\"flex flex-row\\\">\\n              <div class=\\\"flex flex-col\\\">\\n                <nodeComponent.DraggableArea>\\n                  {{component node.dataObject.graphConfiguration.componentConfig.component\\n                    config=node.dataObject.graphConfiguration.componentConfig\\n                    graphNode=node\\n                    seriesNode=node.dataObject\\n                  }}\\n                </nodeComponent.DraggableArea>\\n              </div>\\n              <Series::Node::Connectors @node={{node}} />\\n              <Series::Node::SurroundingConnectors @node={{node}} />\\n            </div>\\n          </nodeComponent.InlineArea>\\n        {{/if}}\\n      </graphComponent.Node>\\n    {{/each}}\\n\\n    {{#each this.graph.edges as |edge|}}\\n      <graphComponent.Edge @edge={{edge}} as |edgeComponent|>\\n        {{#if this.seriesEditorService.isEditMode}}\\n          <edgeComponent.ClickPoint>\\n            <div class=\\\"series__edge__controls flex flex-row items-center\\\" data-test-delete-edge {{on 'click' (fn this.deleteEdge edge)}}>\\n              <div class=\\\"series__edge__controls-text flex flex-row items-center flex-1 gap-4\\\" >\\n                {{ic-interface-icon 'trash'}} <span class=\\\"ml-2\\\">Delete path</span>\\n              </div>\\n              <span class=\\\"shortcut\\\">Del</span>\\n            </div>\\n          </edgeComponent.ClickPoint>\\n        {{/if}}\\n\\n        {{#if (not (eq edge.uiProperties.startAlignment 'right'))}}\\n          <edgeComponent.YieldLocation @coordinates={{edge.uiProperties.endpoint}} class=\\\"series__edge__vertical-label o__{{edge.uiProperties.endAlignment}} {{if (not edge.isDragging) 'o__visible'}}\\\">\\n            <span class=\\\"series__edge__text {{if edge.isSelected 'o__selected'}}\\\">\\n              {{series-edge-label edge=edge}}\\n            </span>\\n          </edgeComponent.YieldLocation>\\n        {{/if}}\\n        <g {{did-update this.onEdgeRender edge.uiProperties}}></g>\\n      </graphComponent.Edge>\\n    {{/each}}\\n\\n    <graphComponent.SelectionArea>\\n      <div class=\\\"series__selection-area\\\"></div>\\n    </graphComponent.SelectionArea>\\n\\n    <graphComponent.VerticalAlignmentArea>\\n      <div class=\\\"series__alignment-area o__vertical\\\"></div>\\n    </graphComponent.VerticalAlignmentArea>\\n\\n    <graphComponent.HorizontalAlignmentArea>\\n      <div class=\\\"series__alignment-area o__horizontal\\\"></div>\\n    </graphComponent.HorizontalAlignmentArea>\\n\\n    {{#if this.seriesEditorService.isEditMode}}\\n      <graphComponent.OverlaidArea>\\n        <Series::Sidebar />\\n      </graphComponent.OverlaidArea>\\n    {{/if}}\\n\\n    <graphComponent.InlineArea>\\n      <Series::StartingState @series={{@series}} />\\n    </graphComponent.InlineArea>\\n\\n    <graphComponent.Controls class=\\\"series__graph-controls\\\" as |graphControls|>\\n      <div class=\\\"flex flex-row gap-2\\\">\\n        <div class=\\\"flex flex-row items-center series__graph-controls__section gap-2\\\">\\n          <Popover\\n            @dark={{true}}\\n            @showOn={{array 'mouseenter'}}\\n            @hideOn={{array 'mouseleave'}}\\n            as |popover|\\n          >\\n            <popover.Opener>\\n              <graphControls.ZoomOut class=\\\"series__graph-controls__zoom-button\\\">\\n                <b>–</b>\\n              </graphControls.ZoomOut>\\n            </popover.Opener>\\n            <popover.Content>\\n              Zoom out <span class=\\\"shortcut o__dark ml-1\\\">{{this.modifierKey}}</span><span class=\\\"shortcut o__dark ml-1\\\">-</span>\\n            </popover.Content>\\n          </Popover>\\n\\n          <graphControls.ZoomPercentage as |percentage|>\\n            <div class=\\\"series__graph-controls__zoom-percentage\\\">\\n              <b>{{percentage}}</b>\\n            </div>\\n          </graphControls.ZoomPercentage>\\n\\n          <Popover\\n            @dark={{true}}\\n            @showOn={{array 'mouseenter'}}\\n            @hideOn={{array 'mouseleave'}}\\n            as |popover|\\n          >\\n            <popover.Opener>\\n              <graphControls.ZoomIn class=\\\"series__graph-controls__zoom-button\\\">\\n                <b>+</b>\\n              </graphControls.ZoomIn>\\n            </popover.Opener>\\n            <popover.Content>\\n              Zoom in <span class=\\\"shortcut o__dark ml-1\\\">{{this.modifierKey}}</span><span class=\\\"shortcut o__dark ml-1\\\">+</span>\\n            </popover.Content>\\n          </Popover>\\n        </div>\\n        <div class=\\\"flex flex-row items-center justify-center series__graph-controls__section\\\">\\n          <Popover\\n            @dark={{true}}\\n            @showOn={{array 'mouseenter'}}\\n            @hideOn={{array 'mouseleave'}}\\n            as |popover|\\n          >\\n            <popover.Opener>\\n              <graphControls.PanningToggle class=\\\"series__graph-controls__panning-button {{if this.graph.state.inPanningMode 'o__panning-mode'}}\\\">\\n                {{inline-svg 'series/hand'}}\\n              </graphControls.PanningToggle>\\n            </popover.Opener>\\n            <popover.Content>\\n              Hold <span class=\\\"shortcut o__dark ml-1\\\">Space</span> to pan\\n            </popover.Content>\\n          </Popover>\\n        </div>\\n        <div class=\\\"flex flex-col justify-center items-center series__graph-controls__section {{if (or (not this.graph.nodes) this.graph.state.hasVisibleNodes) 'o__invisible'}} \\\">\\n          <Popover\\n            @dark={{true}}\\n            @showOn={{array 'mouseenter'}}\\n            @hideOn={{array 'mouseleave'}}\\n            as |popover|\\n          >\\n            <popover.Opener>\\n              <graphControls.RefocusNodes class=\\\"series__graph-controls__refocus-button\\\">\\n                {{inline-svg 'series/eye'}}\\n              </graphControls.RefocusNodes>\\n            </popover.Opener>\\n            <popover.Content>\\n              Refocus content\\n            </popover.Content>\\n          </Popover>\\n        </div>\\n      </div>\\n    </graphComponent.Controls>\\n  </GraphEditor>\\n\\n  <Series::RulesetEditor::Sheet @node={{this.seriesEditorService.activeSeriesNode}} />\\n  <Series::Settings />\\n\\n  {{#if this.seriesEditorService.isViewMode}}\\n    <Series::Editor::ActiveView @config={{this.activeViewConfiguration}} />\\n  {{/if}}\\n\\n  {{#if (and this.seriesEditorService.isEditMode this.seriesEditorService.series.isDraft this.seriesEditorService.series.migrationFromCampaignHasStarted)}}\\n    <Series::CampaignMigrationChecklist />\\n  {{/if}}\\n\\n  <IcModal\\n    @isOpen={{or this.seriesEditorService.series.duplicationInProgress this.seriesEditorService.series.duplicationFailed}}\\n    @onModalClose={{this.transitionToSeriesIndex}}\\n    @closeOnBlanketClick={{false}}\\n    @width=\\\"s\\\"\\n    data-test-series-duplication-in-progress-modal\\n    as |modal|\\n  >\\n    <modal.header @title=\\\"Series Duplication In Progress\\\" />\\n    <modal.body>\\n      {{#if this.seriesEditorService.series.duplicationInProgress}}\\n        <p>\\n          This Series is still being duplicated. Refresh this page in a few minutes or return to the Series menu.\\n        </p>\\n      {{else}}\\n        <IcBanner @type=\\\"warning\\\" data-test-duplication-error>\\n          We've encountered an error while duplicating your Series.\\n        </IcBanner>\\n        <br>The team will investigate the cause of this error as soon as possible.<br>Please reach out to Customer Support if you need more information.\\n      {{/if}}\\n    </modal.body>\\n  </IcModal>\\n</div>\\n\", {\"contents\":\"{{on-document \\\"keydown\\\" this.shortcutsHandler}}\\n\\n<div class=\\\"series__container flex flex-col flex-1 h-full {{if this.seriesEditorService.isViewMode 'u__overflow-scroll'}}\\\">\\n  <Series::Header />\\n\\n  {{#if this.seriesEditorService.isViewMode}}\\n    <ContentEditor::ViewMode::Tabs @config={{this.tabsConfiguration}} class=\\\"series__tabs-wrapper z-50\\\" />\\n  {{/if}}\\n\\n  <GraphEditor\\n    @graph={{this.graph}}\\n    @interactionMode={{if this.seriesEditorService.isViewMode 'direct-only' 'any'}}\\n    {{did-insert this.onInsert}}\\n    {{will-destroy this.onDestroy}}\\n    class=\\\"\\n      series__graph\\n      {{if this.seriesEditorService.isViewMode 'o__view-mode'}}\\n      {{if this.graph.state.inPanningMode 'o__panning-mode'}}\\n      {{if this.graph.state.isPanning 'o__panning'}}\\n    \\\"\\n    as |graphComponent|\\n  >\\n    {{#each this.graph.nodes as |node|}}\\n      <graphComponent.Node @node={{node}} class=\\\"series__node__wrapper\\\" as |nodeComponent|>\\n        {{#if node.dataObject.isNewlyInserted}}\\n          <nodeComponent.DraggableArea>\\n            {{component node.dataObject.inserterConfig.loadingComponentConfig.component\\n              config=node.dataObject.inserterConfig.loadingComponentConfig\\n            }}\\n          </nodeComponent.DraggableArea>\\n        {{else}}\\n          <nodeComponent.InlineArea>\\n            <div class=\\\"flex flex-row\\\">\\n              <div class=\\\"flex flex-col\\\">\\n                <nodeComponent.DraggableArea>\\n                  {{component node.dataObject.graphConfiguration.componentConfig.component\\n                    config=node.dataObject.graphConfiguration.componentConfig\\n                    graphNode=node\\n                    seriesNode=node.dataObject\\n                  }}\\n                </nodeComponent.DraggableArea>\\n              </div>\\n              <Series::Node::Connectors @node={{node}} />\\n              <Series::Node::SurroundingConnectors @node={{node}} />\\n            </div>\\n          </nodeComponent.InlineArea>\\n        {{/if}}\\n      </graphComponent.Node>\\n    {{/each}}\\n\\n    {{#each this.graph.edges as |edge|}}\\n      <graphComponent.Edge @edge={{edge}} as |edgeComponent|>\\n        {{#if this.seriesEditorService.isEditMode}}\\n          <edgeComponent.ClickPoint>\\n            <div class=\\\"series__edge__controls flex flex-row items-center\\\" data-test-delete-edge {{on 'click' (fn this.deleteEdge edge)}}>\\n              <div class=\\\"series__edge__controls-text flex flex-row items-center flex-1 gap-4\\\" >\\n                {{ic-interface-icon 'trash'}} <span class=\\\"ml-2\\\">Delete path</span>\\n              </div>\\n              <span class=\\\"shortcut\\\">Del</span>\\n            </div>\\n          </edgeComponent.ClickPoint>\\n        {{/if}}\\n\\n        {{#if (not (eq edge.uiProperties.startAlignment 'right'))}}\\n          <edgeComponent.YieldLocation @coordinates={{edge.uiProperties.endpoint}} class=\\\"series__edge__vertical-label o__{{edge.uiProperties.endAlignment}} {{if (not edge.isDragging) 'o__visible'}}\\\">\\n            <span class=\\\"series__edge__text {{if edge.isSelected 'o__selected'}}\\\">\\n              {{series-edge-label edge=edge}}\\n            </span>\\n          </edgeComponent.YieldLocation>\\n        {{/if}}\\n        <g {{did-update this.onEdgeRender edge.uiProperties}}></g>\\n      </graphComponent.Edge>\\n    {{/each}}\\n\\n    <graphComponent.SelectionArea>\\n      <div class=\\\"series__selection-area\\\"></div>\\n    </graphComponent.SelectionArea>\\n\\n    <graphComponent.VerticalAlignmentArea>\\n      <div class=\\\"series__alignment-area o__vertical\\\"></div>\\n    </graphComponent.VerticalAlignmentArea>\\n\\n    <graphComponent.HorizontalAlignmentArea>\\n      <div class=\\\"series__alignment-area o__horizontal\\\"></div>\\n    </graphComponent.HorizontalAlignmentArea>\\n\\n    {{#if this.seriesEditorService.isEditMode}}\\n      <graphComponent.OverlaidArea>\\n        <Series::Sidebar />\\n      </graphComponent.OverlaidArea>\\n    {{/if}}\\n\\n    <graphComponent.InlineArea>\\n      <Series::StartingState @series={{@series}} />\\n    </graphComponent.InlineArea>\\n\\n    <graphComponent.Controls class=\\\"series__graph-controls\\\" as |graphControls|>\\n      <div class=\\\"flex flex-row gap-2\\\">\\n        <div class=\\\"flex flex-row items-center series__graph-controls__section gap-2\\\">\\n          <Popover\\n            @dark={{true}}\\n            @showOn={{array 'mouseenter'}}\\n            @hideOn={{array 'mouseleave'}}\\n            as |popover|\\n          >\\n            <popover.Opener>\\n              <graphControls.ZoomOut class=\\\"series__graph-controls__zoom-button\\\">\\n                <b>–</b>\\n              </graphControls.ZoomOut>\\n            </popover.Opener>\\n            <popover.Content>\\n              Zoom out <span class=\\\"shortcut o__dark ml-1\\\">{{this.modifierKey}}</span><span class=\\\"shortcut o__dark ml-1\\\">-</span>\\n            </popover.Content>\\n          </Popover>\\n\\n          <graphControls.ZoomPercentage as |percentage|>\\n            <div class=\\\"series__graph-controls__zoom-percentage\\\">\\n              <b>{{percentage}}</b>\\n            </div>\\n          </graphControls.ZoomPercentage>\\n\\n          <Popover\\n            @dark={{true}}\\n            @showOn={{array 'mouseenter'}}\\n            @hideOn={{array 'mouseleave'}}\\n            as |popover|\\n          >\\n            <popover.Opener>\\n              <graphControls.ZoomIn class=\\\"series__graph-controls__zoom-button\\\">\\n                <b>+</b>\\n              </graphControls.ZoomIn>\\n            </popover.Opener>\\n            <popover.Content>\\n              Zoom in <span class=\\\"shortcut o__dark ml-1\\\">{{this.modifierKey}}</span><span class=\\\"shortcut o__dark ml-1\\\">+</span>\\n            </popover.Content>\\n          </Popover>\\n        </div>\\n        <div class=\\\"flex flex-row items-center justify-center series__graph-controls__section\\\">\\n          <Popover\\n            @dark={{true}}\\n            @showOn={{array 'mouseenter'}}\\n            @hideOn={{array 'mouseleave'}}\\n            as |popover|\\n          >\\n            <popover.Opener>\\n              <graphControls.PanningToggle class=\\\"series__graph-controls__panning-button {{if this.graph.state.inPanningMode 'o__panning-mode'}}\\\">\\n                {{inline-svg 'series/hand'}}\\n              </graphControls.PanningToggle>\\n            </popover.Opener>\\n            <popover.Content>\\n              Hold <span class=\\\"shortcut o__dark ml-1\\\">Space</span> to pan\\n            </popover.Content>\\n          </Popover>\\n        </div>\\n        <div class=\\\"flex flex-col justify-center items-center series__graph-controls__section {{if (or (not this.graph.nodes) this.graph.state.hasVisibleNodes) 'o__invisible'}} \\\">\\n          <Popover\\n            @dark={{true}}\\n            @showOn={{array 'mouseenter'}}\\n            @hideOn={{array 'mouseleave'}}\\n            as |popover|\\n          >\\n            <popover.Opener>\\n              <graphControls.RefocusNodes class=\\\"series__graph-controls__refocus-button\\\">\\n                {{inline-svg 'series/eye'}}\\n              </graphControls.RefocusNodes>\\n            </popover.Opener>\\n            <popover.Content>\\n              Refocus content\\n            </popover.Content>\\n          </Popover>\\n        </div>\\n      </div>\\n    </graphComponent.Controls>\\n  </GraphEditor>\\n\\n  <Series::RulesetEditor::Sheet @node={{this.seriesEditorService.activeSeriesNode}} />\\n  <Series::Settings />\\n\\n  {{#if this.seriesEditorService.isViewMode}}\\n    <Series::Editor::ActiveView @config={{this.activeViewConfiguration}} />\\n  {{/if}}\\n\\n  {{#if (and this.seriesEditorService.isEditMode this.seriesEditorService.series.isDraft this.seriesEditorService.series.migrationFromCampaignHasStarted)}}\\n    <Series::CampaignMigrationChecklist />\\n  {{/if}}\\n\\n  <IcModal\\n    @isOpen={{or this.seriesEditorService.series.duplicationInProgress this.seriesEditorService.series.duplicationFailed}}\\n    @onModalClose={{this.transitionToSeriesIndex}}\\n    @closeOnBlanketClick={{false}}\\n    @width=\\\"s\\\"\\n    data-test-series-duplication-in-progress-modal\\n    as |modal|\\n  >\\n    <modal.header @title=\\\"Series Duplication In Progress\\\" />\\n    <modal.body>\\n      {{#if this.seriesEditorService.series.duplicationInProgress}}\\n        <p>\\n          This Series is still being duplicated. Refresh this page in a few minutes or return to the Series menu.\\n        </p>\\n      {{else}}\\n        <IcBanner @type=\\\"warning\\\" data-test-duplication-error>\\n          We've encountered an error while duplicating your Series.\\n        </IcBanner>\\n        <br>The team will investigate the cause of this error as soon as possible.<br>Please reach out to Customer Support if you need more information.\\n      {{/if}}\\n    </modal.body>\\n  </IcModal>\\n</div>\\n\",\"moduleName\":\"embercom/components/series/editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { getOwner } from '@ember/application';\nimport SeriesStatTabConfiguration from 'embercom/objects/series/tabs/series-stat-tab-configuration';\nimport TabsConfiguration from 'embercom/objects/content-editor/tabs-configuration';\nimport SeriesOverviewTabConfiguration from 'embercom/objects/series/tabs/series-overview-tab-configuration';\n// eslint-disable-next-line ember/no-computed-properties-in-native-classes\nimport { readOnly } from '@ember/object/computed';\nimport ActiveViewConfiguration from 'embercom/objects/content-editor/active-view-configuration';\nimport StandardStatListConfiguration from 'embercom/objects/series/stats/standard-stat-list-configuration';\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\nimport ComponentConfiguration from 'embercom/objects/component-configuration';\nimport { intercomPromiseConfirm } from 'embercom/lib/intercom-confirm';\nimport pluralize from 'embercom/lib/inflector';\nimport { isPresent, isEmpty } from '@ember/utils';\nimport { schedule } from '@ember/runloop';\nimport platform from 'embercom/lib/browser-platform';\n\nexport default class Editor extends Component {\n  @service appService;\n  @service seriesEditorService;\n  @service store;\n  @service intercomEventService;\n  @service notificationsService;\n  @service router;\n  graph = undefined;\n  clipboard = {};\n\n  constructor() {\n    super(...arguments);\n\n    this.seriesEditorService.register({\n      series: this.args.series,\n      mode: this.args.mode,\n      view: this.args.view,\n      filter: this.args.filter,\n      onChangeMode: this.args.onChangeMode,\n      onChangeView: this.args.onChangeView,\n      onChangeFilter: this.args.onChangeFilter,\n    });\n    this.graph = this.seriesEditorService.graph;\n\n    if (this.args.initialNodeId) {\n      let initialNode = this.args.series.nodes.find(node => node.id === this.args.initialNodeId);\n      if (initialNode) {\n        this.seriesEditorService.registerActiveSeriesNode(initialNode);\n      }\n    }\n    this._trackAnalyticsEvent('viewed');\n  }\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get modifierKey() {\n    return platform.isMac ? '⌘' : 'ctrl';\n  }\n\n  @action onInsert() {\n    schedule('afterRender', this, () => {\n      this.seriesEditorService.lastRenderedEdgesAt = new Date();\n    });\n  }\n\n  @action onDestroy() {\n    this.seriesEditorService.unregister(this.args.series);\n  }\n\n  @action onEdgeRender() {\n    this.seriesEditorService.updateRenderedEdges.perform();\n  }\n\n  @action deleteEdge(edge) {\n    this.graph.deleteEdge(edge);\n    this.seriesEditorService.updateRenderedEdges.perform();\n  }\n\n  @action shortcutsHandler(event) {\n    if (this.seriesEditorService.shortcutsDisabled) {\n      return;\n    }\n    if (this.ctrlCmdKey(event) && event.key === 'd') {\n      this.onDuplicateShortcut(event);\n    } else if (this.ctrlCmdKey(event) && event.key === 'c') {\n      this.onCopyShortcut();\n    } else if (this.ctrlCmdKey(event) && event.key === 'v') {\n      this.onPasteShortcut();\n    } else if (this.ctrlCmdKey(event) && (event.key === '=' || event.key === '+')) {\n      this.onZoomInShortcut(event);\n    } else if (this.ctrlCmdKey(event) && event.key === '-') {\n      this.onZoomOutShortcut(event);\n    } else if (this.ctrlCmdKey(event) && event.key === 'a') {\n      this.onSelectAllShortcut(event);\n    } else if (event.key === 'Delete' || event.key === 'Backspace') {\n      this.onDeleteShortcut();\n    } else if (['ArrowDown', 'ArrowLeft', 'ArrowRight', 'ArrowUp'].includes(event.key)) {\n      this.onArrowShortcut(event);\n    }\n  }\n\n  ctrlCmdKey(event) {\n    return event.ctrlKey || event.metaKey;\n  }\n\n  onDuplicateShortcut(event) {\n    event.preventDefault(); // Chrome bookmarks a page on Cmd + d\n    if (this.graph.state.selectedNodes.length > 0 && !this.seriesEditorService.activeSeriesNode) {\n      if (this.seriesEditorService.isEditMode) {\n        this.seriesEditorService.duplicateNodes.perform(this.graph.state.selectedNodes);\n      }\n    }\n  }\n\n  onCopyShortcut() {\n    if (!this.seriesEditorService.activeSeriesNode) {\n      this.clipboard.nodes = [...this.graph.state.selectedNodes];\n    }\n  }\n\n  onPasteShortcut() {\n    if (this.clipboard.nodes.length > 0 && !this.seriesEditorService.activeSeriesNode) {\n      if (this.seriesEditorService.isEditMode) {\n        this.seriesEditorService.duplicateNodes.perform(this.clipboard.nodes);\n      }\n    }\n  }\n\n  onZoomOutShortcut(event) {\n    if (!this.seriesEditorService.activeSeriesNode) {\n      this.graph.state.zoomOut(this.graph.settings.scale.zoomFactor);\n      event.preventDefault();\n    }\n  }\n\n  onZoomInShortcut(event) {\n    if (!this.seriesEditorService.activeSeriesNode) {\n      this.graph.state.zoomIn(this.graph.settings.scale.zoomFactor);\n      event.preventDefault();\n    }\n  }\n\n  async onDeleteShortcut() {\n    if (this.graph.state.selectedEdge && isEmpty(this.graph.state.selectedNodes)) {\n      this.graph.deleteEdge(this.graph.state.selectedEdge);\n    } else if (\n      !this.seriesEditorService.activeSeriesNode &&\n      isPresent(this.graph.state.selectedNodes)\n    ) {\n      let confirmOptions = {\n        title: `Delete selected ${pluralize('block', this.graph.state.selectedNodes.length)}`,\n        body: `You won't be able to undo this action`,\n        primaryButtonType: 'primary-destructive',\n        confirmButtonText: `Delete ${pluralize('block', this.graph.state.selectedNodes.length)}`,\n      };\n\n      let confirmed = await intercomPromiseConfirm(this, confirmOptions);\n\n      if (!confirmed) {\n        return;\n      }\n\n      this.graph.state.selectedNodes.forEach(node => this.graph.deleteNode(node));\n    }\n  }\n\n  onSelectAllShortcut(event) {\n    if (!this.seriesEditorService.activeSeriesNode) {\n      this.graph.state.selectedNodes.clear();\n      this.graph.nodes.forEach(node => this.graph.state.addSelectedNode(node));\n      event.preventDefault();\n    }\n  }\n\n  onArrowShortcut(event) {\n    if (!this.seriesEditorService.activeSeriesNode) {\n      if (event.key === 'ArrowDown') {\n        this._moveSelectedNodes(0, this.graph.settings.grid.spacing);\n      } else if (event.key === 'ArrowLeft') {\n        this._moveSelectedNodes(-this.graph.settings.grid.spacing, 0);\n      } else if (event.key === 'ArrowRight') {\n        this._moveSelectedNodes(this.graph.settings.grid.spacing, 0);\n      } else if (event.key === 'ArrowUp') {\n        this._moveSelectedNodes(0, -this.graph.settings.grid.spacing);\n      }\n      // Prevent the arrow key event from propagating to the\n      // canvas causing it to scroll.\n      event.preventDefault();\n    }\n  }\n\n  get tabsConfiguration() {\n    let container = getOwner(this);\n    return TabsConfiguration.create({\n      container,\n      tabComponentConfigs: [\n        SeriesOverviewTabConfiguration.create({\n          label: 'Series',\n          subtitle: 'Overview',\n          view: 'overview',\n        }),\n        SeriesStatTabConfiguration.create({\n          label: 'Started',\n          view: 'receipts',\n          container,\n        }),\n        SeriesStatTabConfiguration.create({\n          label: 'Finished',\n          view: 'seriesCompletions',\n          container,\n        }),\n        SeriesStatTabConfiguration.create({\n          label: 'Disengaged',\n          view: 'seriesDisengagements',\n          container,\n        }),\n        SeriesStatTabConfiguration.extend({\n          isVisible: readOnly('seriesEditorService.series.hasExitRules'),\n        }).create({\n          label: 'Exited',\n          view: 'seriesExits',\n          container,\n        }),\n        SeriesStatTabConfiguration.extend({\n          isVisible: readOnly('seriesEditorService.series.hasGoal'),\n        }).create({\n          label: 'Series goal hit',\n          view: 'goals',\n          container,\n        }),\n      ],\n    });\n  }\n\n  get activeViewConfiguration() {\n    let container = getOwner(this);\n    return ActiveViewConfiguration.create({\n      overview: [\n        new ComponentConfiguration({\n          component: 'series/editor/overview-list',\n          container,\n        }),\n      ],\n      receipts: [\n        new StandardStatListConfiguration({\n          headerTitleComponent: 'stats-system/list/header/series-started-title',\n          stat: 'receipt',\n          columns: [\n            { label: 'Name', valuePath: 'user.displayAs', type: 'avatar-with-text' },\n            { label: 'Where they started', valuePath: 'rulesetId' },\n            { label: 'When they started', valuePath: 'createdAt' },\n          ],\n          noun: 'start',\n          verb: 'started',\n          emptyStateDescription: \"As people start your series, we'll show you when they started\",\n          container,\n        }),\n      ],\n      seriesCompletions: [\n        new StandardStatListConfiguration({ stat: 'seriesCompletion', container }),\n      ],\n      seriesDisengagements: [\n        new StandardStatListConfiguration({ stat: 'seriesDisengagement', container }),\n      ],\n      seriesExits: [new StandardStatListConfiguration({ stat: 'seriesExit', container })],\n      goals: [\n        new StandardStatListConfiguration({\n          stat: 'goalSuccess',\n          filters: [\n            { text: 'Hit the goal after finishing', value: stats.seriesCompletion },\n            { text: 'Hit the goal after disengaging', value: stats.seriesDisengagement },\n            { text: 'Hit the goal after exiting', value: stats.seriesExit },\n          ],\n          container,\n        }),\n      ],\n    });\n  }\n\n  _moveSelectedNodes(x, y) {\n    this.graph.state.selectedNodes.forEach(node => {\n      node.position.x += x;\n      node.position.y += y;\n      node.calculateBounds();\n    });\n  }\n\n  _trackAnalyticsEvent(action) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action,\n      object: 'series',\n      place: 'series_editor',\n    });\n  }\n\n  @action transitionToSeriesIndex() {\n    this.router.transitionTo('apps.app.outbound.series.index');\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col\\\" data-test-series-editor-active-view=\\\"{{this.seriesEditorService.activeView}}\\\">\\n  {{#each this.activeConfig as |config index|}}\\n    {{component config.component\\n                config=config\\n    }}\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col\\\" data-test-series-editor-active-view=\\\"{{this.seriesEditorService.activeView}}\\\">\\n  {{#each this.activeConfig as |config index|}}\\n    {{component config.component\\n                config=config\\n    }}\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/series/editor/active-view.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/editor/active-view.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { isNone } from '@ember/utils';\n\nexport default class ActiveView extends Component {\n  @service seriesEditorService;\n\n  get activeConfig() {\n    let config = this.args.config[this.seriesEditorService.activeView];\n    if (isNone(config)) {\n      throw new Error(\n        `No configuration found to render a view for ${this.seriesEditorService.activeView}`,\n      );\n    }\n    return config;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (not this.series.isDraft)}}\\n  <div class=\\\"p-8\\\" data-test-series-overview-list>\\n    <Heading @size='3'>How are messages of this Series performing?</Heading>\\n\\n    {{#if this.isLoading}}\\n      <div class=\\\"flex justify-center\\\">\\n        <IcLoadingIndicator @size=\\\"large\\\" />\\n      </div>\\n    {{else}}\\n      <Outbound::ListComponent\\n        @columns={{array\\n          (hash valuePath=\\\"title\\\" label=\\\"Message\\\" component=\\\"series/editor/overview-list/title-cell\\\")\\n          (hash valuePath=\\\"version\\\" minWidth=\\\"130px\\\")\\n          (hash valuePath=\\\"sender\\\" label=\\\"Sender\\\")\\n          (hash valuePath=\\\"sentCount\\\" label=\\\"Sent\\\")\\n          (hash valuePath=\\\"goalPercent\\\" label=\\\"Message goal\\\")\\n        }}\\n        @currentPage={{this.currentPage}}\\n        @data={{this.data}}\\n        @lastPageHit={{this.lastPageHit}}\\n        @loadMore={{this.loadMore}}\\n        @statisticColumns={{array\\n          (hash valuePath=\\\"sentCount\\\" key=this.statisticKeys.receipts)\\n          (hash valuePath=\\\"goalPercent\\\" key=this.statisticKeys.goals)\\n        }}\\n      />\\n    {{/if}}\\n\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if (not this.series.isDraft)}}\\n  <div class=\\\"p-8\\\" data-test-series-overview-list>\\n    <Heading @size='3'>How are messages of this Series performing?</Heading>\\n\\n    {{#if this.isLoading}}\\n      <div class=\\\"flex justify-center\\\">\\n        <IcLoadingIndicator @size=\\\"large\\\" />\\n      </div>\\n    {{else}}\\n      <Outbound::ListComponent\\n        @columns={{array\\n          (hash valuePath=\\\"title\\\" label=\\\"Message\\\" component=\\\"series/editor/overview-list/title-cell\\\")\\n          (hash valuePath=\\\"version\\\" minWidth=\\\"130px\\\")\\n          (hash valuePath=\\\"sender\\\" label=\\\"Sender\\\")\\n          (hash valuePath=\\\"sentCount\\\" label=\\\"Sent\\\")\\n          (hash valuePath=\\\"goalPercent\\\" label=\\\"Message goal\\\")\\n        }}\\n        @currentPage={{this.currentPage}}\\n        @data={{this.data}}\\n        @lastPageHit={{this.lastPageHit}}\\n        @loadMore={{this.loadMore}}\\n        @statisticColumns={{array\\n          (hash valuePath=\\\"sentCount\\\" key=this.statisticKeys.receipts)\\n          (hash valuePath=\\\"goalPercent\\\" key=this.statisticKeys.goals)\\n        }}\\n      />\\n    {{/if}}\\n\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/series/editor/overview-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/editor/overview-list.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { statisticKeys } from 'embercom/models/data/outbound/constants';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\nimport { action } from '@ember/object';\n\nexport default class OverviewList extends Component {\n  @service seriesEditorService;\n  @service outboundHomeService;\n\n  @tracked pageFrom = 0;\n  @tracked data = [];\n  @tracked lastPageHit = true;\n\n  statisticKeys = statisticKeys;\n\n  constructor() {\n    super(...arguments);\n\n    if (!this.series.isDraft) {\n      this._fetch.perform();\n    }\n  }\n\n  get isLoading() {\n    return this.data.length === 0 && this._fetch.isRunning;\n  }\n\n  get series() {\n    return this.seriesEditorService.series;\n  }\n\n  @task({ drop: true })\n  *_fetch() {\n    yield this.outboundHomeService\n      .contentSearchWithFilters({\n        app_id: this.outboundHomeService.app.id,\n        object_types: this.outboundHomeService.allObjectTypes,\n        page_from: this.pageFrom,\n        per_page: 10,\n        series_id: this.series.id,\n        statistics: [statisticKeys.receipts, statisticKeys.goals],\n      })\n      .then(result => {\n        this.data.pushObjects(result.contentWrappers);\n        this.lastPageHit = result.lastPageHit;\n        this.pageFrom = result.pageFrom;\n      });\n  }\n\n  @action\n  async loadMore() {\n    this.pageFrom += 1;\n    await this._fetch.perform();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span class=\\\"outbound__table__truncated-title-cell u__one-truncated-line\\\" data-test-overview-list-title-cell>\\n  <StatsSystem::List::Row::RulesetCell @rulesetId={{@wrapper.contentWrapperId}} />\\n</span>\", {\"contents\":\"<span class=\\\"outbound__table__truncated-title-cell u__one-truncated-line\\\" data-test-overview-list-title-cell>\\n  <StatsSystem::List::Row::RulesetCell @rulesetId={{@wrapper.contentWrapperId}} />\\n</span>\",\"moduleName\":\"embercom/components/series/editor/overview-list/title-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/editor/overview-list/title-cell.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col flex-1 u__relative p-8 series__stats__list-container\\\" data-test-series-standard-stats-list>\\n  {{component\\n    (concat \\\"stats-system/list/\\\" (dasherize @config.stat) \\\"-list\\\")\\n    changeView=this.changeFilter\\n    filter=this.seriesEditorService.activeFilter\\n    filterConfig=@config.filters\\n    statsParameters=this.statsParameters\\n    headerTitleComponent=@config.headerTitleComponent\\n    hideCreatedVia=@config.hideCreatedVia\\n    overrideColumns=@config.columns\\n    overrideNoun=@config.noun\\n    overrideVerb=@config.verb\\n    overrideEmptyStateTitle=@config.emptyStateTitle\\n    overrideEmptyStateDescription=@config.emptyStateDescription\\n  }}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col flex-1 u__relative p-8 series__stats__list-container\\\" data-test-series-standard-stats-list>\\n  {{component\\n    (concat \\\"stats-system/list/\\\" (dasherize @config.stat) \\\"-list\\\")\\n    changeView=this.changeFilter\\n    filter=this.seriesEditorService.activeFilter\\n    filterConfig=@config.filters\\n    statsParameters=this.statsParameters\\n    headerTitleComponent=@config.headerTitleComponent\\n    hideCreatedVia=@config.hideCreatedVia\\n    overrideColumns=@config.columns\\n    overrideNoun=@config.noun\\n    overrideVerb=@config.verb\\n    overrideEmptyStateTitle=@config.emptyStateTitle\\n    overrideEmptyStateDescription=@config.emptyStateDescription\\n  }}\\n</div>\\n\",\"moduleName\":\"embercom/components/series/editor/standard-stats-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/editor/standard-stats-list.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { makeStatsParametersForSeries } from 'embercom/helpers/stats-system/stats-parameters';\nimport { action } from '@ember/object';\n\nexport default class StandardStatsList extends Component {\n  @service seriesEditorService;\n\n  @action\n  changeFilter(_, filter) {\n    this.seriesEditorService.changeActiveFilter(filter);\n  }\n\n  get statsParameters() {\n    let series = this.seriesEditorService.series;\n    return makeStatsParametersForSeries(series);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Series::Editor::Tabs::StandardTab @config={{@config}}>\\n  <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\" data-test-series-overview-tab-label=\\\"{{@config.label}}\\\" class=\\\"content-editor__tabs__tab-title\\\">\\n    {{@config.label}}\\n  </Heading>\\n\\n  <p class=\\\"t__label content-editor__tabs__tab-label\\\" data-test-series-overview-tab-subtitle>\\n    {{@config.subtitle}}\\n  </p>\\n</Series::Editor::Tabs::StandardTab>\\n\", {\"contents\":\"<Series::Editor::Tabs::StandardTab @config={{@config}}>\\n  <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\" data-test-series-overview-tab-label=\\\"{{@config.label}}\\\" class=\\\"content-editor__tabs__tab-title\\\">\\n    {{@config.label}}\\n  </Heading>\\n\\n  <p class=\\\"t__label content-editor__tabs__tab-label\\\" data-test-series-overview-tab-subtitle>\\n    {{@config.subtitle}}\\n  </p>\\n</Series::Editor::Tabs::StandardTab>\\n\",\"moduleName\":\"embercom/components/series/editor/tabs/overview-tab.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/editor/tabs/overview-tab.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @config.isVisible}}\\n  <div class=\\\"content-editor__tabs__tab {{if this.isActive 'o__active'}}\\\" {{on \\\"click\\\" this.changeView}} data-test-series-tab-wrapper={{@config.view}}>\\n    {{yield}}\\n  </div>\\n{{/if}}\", {\"contents\":\"{{#if @config.isVisible}}\\n  <div class=\\\"content-editor__tabs__tab {{if this.isActive 'o__active'}}\\\" {{on \\\"click\\\" this.changeView}} data-test-series-tab-wrapper={{@config.view}}>\\n    {{yield}}\\n  </div>\\n{{/if}}\",\"moduleName\":\"embercom/components/series/editor/tabs/standard-tab.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/editor/tabs/standard-tab.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class StandardTab extends Component {\n  @service seriesEditorService;\n  @service intercomEventService;\n\n  get isActive() {\n    return this.args.config.view === this.seriesEditorService.activeView;\n  }\n\n  @action changeView() {\n    if (!this.isActive) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: `${this.args.config.view}_tab`,\n        series_id: this.seriesEditorService.series.id,\n      });\n      this.seriesEditorService.changeActiveView(this.args.config.view);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Series::Editor::Tabs::StandardTab @config={{@config}}>\\n  <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\" class=\\\"content-editor__tabs__tab-value\\\" data-test-stat-tab-value>\\n    {{#if (eq @config.statistic.type this.statisticTypes.percentage)}}\\n      {{or (format-percentage @config.statistic.denominator @config.statistic.value) \\\"—\\\"}}\\n    {{else if (eq @config.statistic.type this.statisticTypes.integer)}}\\n      {{or (number-formatter-helper @config.statistic.value) \\\"—\\\"}}\\n    {{else}}\\n      &mdash;\\n    {{/if}}\\n  </Heading>\\n\\n  <p class=\\\"t__label content-editor__tabs__tab-label\\\" data-test-tab-label=\\\"{{@config.label}}\\\">\\n    {{@config.label}}\\n  </p>\\n</Series::Editor::Tabs::StandardTab>\\n\", {\"contents\":\"<Series::Editor::Tabs::StandardTab @config={{@config}}>\\n  <Heading @size=\\\"2\\\" @tagName=\\\"h2\\\" class=\\\"content-editor__tabs__tab-value\\\" data-test-stat-tab-value>\\n    {{#if (eq @config.statistic.type this.statisticTypes.percentage)}}\\n      {{or (format-percentage @config.statistic.denominator @config.statistic.value) \\\"—\\\"}}\\n    {{else if (eq @config.statistic.type this.statisticTypes.integer)}}\\n      {{or (number-formatter-helper @config.statistic.value) \\\"—\\\"}}\\n    {{else}}\\n      &mdash;\\n    {{/if}}\\n  </Heading>\\n\\n  <p class=\\\"t__label content-editor__tabs__tab-label\\\" data-test-tab-label=\\\"{{@config.label}}\\\">\\n    {{@config.label}}\\n  </p>\\n</Series::Editor::Tabs::StandardTab>\\n\",\"moduleName\":\"embercom/components/series/editor/tabs/stat-tab.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/editor/tabs/stat-tab.hbs\"}});\nimport Component from '@glimmer/component';\nimport { statisticTypes } from 'embercom/models/data/outbound/constants';\n\nexport default class StatTab extends Component {\n  get statisticTypes() {\n    return statisticTypes;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col gap-4 p-6 pl-8\\\" data-test-exit-rules-editor>\\n  <Paragraph>\\n    Choose what type of people should exit the series.\\n    <Pulse::HelpContent::Link\\n     @linkStyling=\\\"inline\\\"\\n     @href=\\\"https://www.intercom.com/help/en/articles/4425227-when-do-people-enter-and-exit-a-series\\\"\\n     @title=\\\"Learn more\\\"\\n     @type=\\\"article\\\"\\n    />\\n  </Paragraph>\\n  <div>\\n    <Series::ExitRules::Predicates />\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col gap-4 p-6 pl-8\\\" data-test-exit-rules-editor>\\n  <Paragraph>\\n    Choose what type of people should exit the series.\\n    <Pulse::HelpContent::Link\\n     @linkStyling=\\\"inline\\\"\\n     @href=\\\"https://www.intercom.com/help/en/articles/4425227-when-do-people-enter-and-exit-a-series\\\"\\n     @title=\\\"Learn more\\\"\\n     @type=\\\"article\\\"\\n    />\\n  </Paragraph>\\n  <div>\\n    <Series::ExitRules::Predicates />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/series/exit-rules/editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/exit-rules/editor.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<UsersAndCompanies::RulesEditor\\n  @attributeDropdownFilterPlaceholder=\\\"Search people and company data\\\"\\n  @attributeGroupList={{this.attributeGroupList}}\\n  @hideAddFilterGroupButton={{@isDisabled}}\\n  @isDisabled={{@isDisabled}}\\n  @onUpdate={{this.onUpdate}}\\n  @predicateGroup={{this.series.exitPredicateGroup}}\\n  @showUserData={{false}}\\n  @showUserSwitcher={{false}}\\n  as |editor|\\n>\\n  {{#unless @isDisabled}}\\n    <editor.attributePickerOpener @label='Add a rule'/>\\n  {{/unless}}\\n</UsersAndCompanies::RulesEditor>\\n\", {\"contents\":\"<UsersAndCompanies::RulesEditor\\n  @attributeDropdownFilterPlaceholder=\\\"Search people and company data\\\"\\n  @attributeGroupList={{this.attributeGroupList}}\\n  @hideAddFilterGroupButton={{@isDisabled}}\\n  @isDisabled={{@isDisabled}}\\n  @onUpdate={{this.onUpdate}}\\n  @predicateGroup={{this.series.exitPredicateGroup}}\\n  @showUserData={{false}}\\n  @showUserSwitcher={{false}}\\n  as |editor|\\n>\\n  {{#unless @isDisabled}}\\n    <editor.attributePickerOpener @label='Add a rule'/>\\n  {{/unless}}\\n</UsersAndCompanies::RulesEditor>\\n\",\"moduleName\":\"embercom/components/series/exit-rules/predicates.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/exit-rules/predicates.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { seriesExitBehaviors } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class Predicates extends Component {\n  @service appService;\n  @service attributeService;\n  @service seriesEditorService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get attributeGroupList() {\n    let groups = [];\n\n    groups.push({\n      heading: 'Person Data',\n      attributes: this.attributeService.filterableUserAttributesForMessaging,\n    });\n\n    if (this.app.companiesActive) {\n      groups.push({\n        heading: 'Company Data',\n        attributes: this.attributeService.filterableCompanyAttributesForMessaging,\n      });\n    }\n\n    return groups;\n  }\n\n  get series() {\n    return this.seriesEditorService.series;\n  }\n\n  @action\n  onUpdate() {\n    let isEmpty = this.series.exitPredicateGroup.editablePredicates.length === 0;\n    this.series.exitBehavior = isEmpty ? seriesExitBehaviors.none : seriesExitBehaviors.exitRules;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.seriesEditorService.isViewMode}}\\n  <Series::Header::ViewMode />\\n{{else}}\\n  <Series::Header::EditMode />\\n{{/if}}\\n\", {\"contents\":\"{{#if this.seriesEditorService.isViewMode}}\\n  <Series::Header::ViewMode />\\n{{else}}\\n  <Series::Header::EditMode />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/series/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/header.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class Header extends Component {\n  @service seriesEditorService;\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-campaign-state-selector>\\n  Once it's live, customers will: \\n  <IcSelect\\n    class=\\\"cursor-pointer float-left\\\"\\n    @items={{array\\n    (hash text=\\\"stop entering\\\" value=this.linkedCampaignStates.draining)\\n    (hash text=\\\"continue entering\\\" value=this.linkedCampaignStates.notDraining)}}\\n    @onSelectItem={{fn (mut this.seriesEditorService.selectedCampaignState)}}\\n    @selectedValue={{this.seriesEditorService.selectedCampaignState}}\\n    @defaultLabel=\\\"stop entering\\\" as |select|\\n  >\\n    <select.opener>\\n      <span class={{if @dark \\\"text-white\\\" \\\"text-blue\\\"}}>{{select.selectedItemTextOrDefaultLabel}}{{ic-interface-icon 'down-arrow' set='tiny' color=(if @dark 'white' 'blue')}}</span>\\n    </select.opener>\\n  </IcSelect>\\n  &nbsp;your\\n  <LinkTo\\n    @route=\\\"apps.app.outbound.messages.auto.campaigns.campaign\\\"\\n    @model={{this.series.migratedCampaign.id}}\\n    class=\\\"no-underline {{if @dark \\\"hover:text-white\\\" \\\"hover:text-blue\\\"}}\\\" data-test-campaign-link\\n  >\\n  original campaign\\n  </LinkTo>\\n   and enter this series instead.\\n</div>\\n\", {\"contents\":\"<div data-test-campaign-state-selector>\\n  Once it's live, customers will: \\n  <IcSelect\\n    class=\\\"cursor-pointer float-left\\\"\\n    @items={{array\\n    (hash text=\\\"stop entering\\\" value=this.linkedCampaignStates.draining)\\n    (hash text=\\\"continue entering\\\" value=this.linkedCampaignStates.notDraining)}}\\n    @onSelectItem={{fn (mut this.seriesEditorService.selectedCampaignState)}}\\n    @selectedValue={{this.seriesEditorService.selectedCampaignState}}\\n    @defaultLabel=\\\"stop entering\\\" as |select|\\n  >\\n    <select.opener>\\n      <span class={{if @dark \\\"text-white\\\" \\\"text-blue\\\"}}>{{select.selectedItemTextOrDefaultLabel}}{{ic-interface-icon 'down-arrow' set='tiny' color=(if @dark 'white' 'blue')}}</span>\\n    </select.opener>\\n  </IcSelect>\\n  &nbsp;your\\n  <LinkTo\\n    @route=\\\"apps.app.outbound.messages.auto.campaigns.campaign\\\"\\n    @model={{this.series.migratedCampaign.id}}\\n    class=\\\"no-underline {{if @dark \\\"hover:text-white\\\" \\\"hover:text-blue\\\"}}\\\" data-test-campaign-link\\n  >\\n  original campaign\\n  </LinkTo>\\n   and enter this series instead.\\n</div>\\n\",\"moduleName\":\"embercom/components/series/header/campaign-state-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/header/campaign-state-selector.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { linkedCampaignStates } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class CampaignStateSelector extends Component {\n  @service seriesEditorService;\n  linkedCampaignStates = linkedCampaignStates;\n\n  get series() {\n    return this.seriesEditorService.series;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{@onClose}}\\n  @isOpen={{@isOpen}}\\n  {{did-insert (perform this.fetchContentObjects)}}\\n  {{will-destroy (set this.searchString \\\"\\\")}}\\n  data-test-duplicate-into-series-modal\\n  as |modal|\\n>\\n  <modal.header @title=\\\"Copy existing message into series\\\" />\\n  <modal.body>\\n    <div class=\\\"flex flex-col gap-2\\\" {{did-insert @onOpen}}>\\n      <Paragraph>\\n        Choose a message you would like to duplicate into this series:\\n      </Paragraph>\\n      <Form as |form|>\\n        <form.Item as |item|>\\n          <item.Input data-test-content-objects-search\\n            @value={{this.searchString}}\\n            @placeholder=\\\"Search messages...\\\"\\n            {{on 'keyup' (perform this.fetchContentObjects)}}\\n            autocomplete=\\\"off\\\"\\n          />\\n        </form.Item>\\n      </Form>\\n\\n      {{#if this.fetchContentObjects.isRunning}}\\n        <div class=\\\"flex flex-col items-center duplicate-ruleset-in-series__container pt-3\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\" />\\n        </div>\\n      {{else}}\\n        <div class=\\\"flex flex-col gap-3 duplicate-ruleset-in-series__container pt-3\\\" data-test-content-objects-container {{on 'scroll' this.handleScrollEvent}}>\\n          {{#each this.contentObjectItems as |contentObject index|}}\\n            {{#let (eq contentObject this.selectedContentObject) as |isSelected|}}\\n              <div class=\\\"flex flex-row justify-between duplicate-ruleset-in-series__item {{if isSelected \\\"o__selected\\\"}}\\\" data-test-content-object-item={{index}} data-test-content-objected-selected={{isSelected}} {{on 'click' (set this.selectedContentObject contentObject)}}>\\n                <span>\\n                  {{ic-interface-icon contentObject.icon}}\\n                  {{contentObject.text}}\\n                </span>\\n                {{#if isSelected}} {{ic-interface-icon 'check'}} {{/if}}\\n              </div>\\n            {{/let}}\\n          {{else}}\\n            {{#unless this.fetchContentObjects.isRunning}}\\n              <Paragraph data-test-content-objects-empty-state\\n                @styling=\\\"muted\\\"\\n              >\\n                No messages found\\n              </Paragraph>\\n            {{/unless}}\\n          {{/each}}\\n\\n          {{#if this.fetchMoreContentObjects.isRunning}}\\n            <div class=\\\"flex flex-col items-center pt-4\\\">\\n              <IcLoadingIndicator @size=\\\"small\\\" />\\n            </div>\\n          {{/if}}\\n        </div>\\n      {{/if}}\\n    </div>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Copy\\\"\\n      action=this.copy\\n      disabled=(not this.selectedContentObject)\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=@onClose\\n    }}\\n  />\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{@onClose}}\\n  @isOpen={{@isOpen}}\\n  {{did-insert (perform this.fetchContentObjects)}}\\n  {{will-destroy (set this.searchString \\\"\\\")}}\\n  data-test-duplicate-into-series-modal\\n  as |modal|\\n>\\n  <modal.header @title=\\\"Copy existing message into series\\\" />\\n  <modal.body>\\n    <div class=\\\"flex flex-col gap-2\\\" {{did-insert @onOpen}}>\\n      <Paragraph>\\n        Choose a message you would like to duplicate into this series:\\n      </Paragraph>\\n      <Form as |form|>\\n        <form.Item as |item|>\\n          <item.Input data-test-content-objects-search\\n            @value={{this.searchString}}\\n            @placeholder=\\\"Search messages...\\\"\\n            {{on 'keyup' (perform this.fetchContentObjects)}}\\n            autocomplete=\\\"off\\\"\\n          />\\n        </form.Item>\\n      </Form>\\n\\n      {{#if this.fetchContentObjects.isRunning}}\\n        <div class=\\\"flex flex-col items-center duplicate-ruleset-in-series__container pt-3\\\">\\n          <IcLoadingIndicator @size=\\\"small\\\" />\\n        </div>\\n      {{else}}\\n        <div class=\\\"flex flex-col gap-3 duplicate-ruleset-in-series__container pt-3\\\" data-test-content-objects-container {{on 'scroll' this.handleScrollEvent}}>\\n          {{#each this.contentObjectItems as |contentObject index|}}\\n            {{#let (eq contentObject this.selectedContentObject) as |isSelected|}}\\n              <div class=\\\"flex flex-row justify-between duplicate-ruleset-in-series__item {{if isSelected \\\"o__selected\\\"}}\\\" data-test-content-object-item={{index}} data-test-content-objected-selected={{isSelected}} {{on 'click' (set this.selectedContentObject contentObject)}}>\\n                <span>\\n                  {{ic-interface-icon contentObject.icon}}\\n                  {{contentObject.text}}\\n                </span>\\n                {{#if isSelected}} {{ic-interface-icon 'check'}} {{/if}}\\n              </div>\\n            {{/let}}\\n          {{else}}\\n            {{#unless this.fetchContentObjects.isRunning}}\\n              <Paragraph data-test-content-objects-empty-state\\n                @styling=\\\"muted\\\"\\n              >\\n                No messages found\\n              </Paragraph>\\n            {{/unless}}\\n          {{/each}}\\n\\n          {{#if this.fetchMoreContentObjects.isRunning}}\\n            <div class=\\\"flex flex-col items-center pt-4\\\">\\n              <IcLoadingIndicator @size=\\\"small\\\" />\\n            </div>\\n          {{/if}}\\n        </div>\\n      {{/if}}\\n    </div>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Copy\\\"\\n      action=this.copy\\n      disabled=(not this.selectedContentObject)\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=@onClose\\n    }}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/series/header/duplicate-ruleset-into-series-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/header/duplicate-ruleset-into-series-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { task, taskGroup } from 'ember-concurrency-decorators';\nimport { action } from '@ember/object';\nimport {\n  humanReadableObjectNames,\n  objectInterfaceIcons,\n  objectTypes,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { post } from 'embercom/lib/ajax';\nimport { PAGE_SIZE } from 'embercom/models/data/outbound/constants';\n\nexport default class DuplicateRulesetIntoSeriesModal extends Component {\n  @service store;\n  @service appService;\n  @service outboundHomeService;\n  @service seriesEditorService;\n  @service notificationsService;\n\n  @tracked contentObjectItems = [];\n  @tracked selectedContentObject;\n  @tracked searchString;\n  @tracked currentPage;\n  @tracked totalPages;\n  @tracked lastPageHit;\n\n  @taskGroup({ drop: true }) contentSearchTasks;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get series() {\n    return this.seriesEditorService.series;\n  }\n\n  @task({ group: 'contentSearchTasks' })\n  *fetchContentObjects() {\n    let contentWrappers = yield this.contentSearch({ title: this.searchString });\n    this.contentObjectItems = contentWrappers.map(contentWrapper => {\n      return this._createContentObjectItem(contentWrapper);\n    });\n  }\n\n  @task({ group: 'contentSearchTasks' })\n  *fetchMoreContentObjects() {\n    if (this.lastPageHit) {\n      return;\n    }\n\n    let contentWrappers = yield this.contentSearch({\n      title: this.searchString,\n      pageFrom: this.currentPage + 1,\n    });\n\n    contentWrappers.map(contentWrapper => {\n      this.contentObjectItems.pushObject(this._createContentObjectItem(contentWrapper));\n    });\n  }\n\n  async contentSearch(options) {\n    let response = await this.outboundHomeService.contentSearchWithFilters({\n      title: options.title || null,\n      object_types: [\n        objectTypes.push,\n        objectTypes.chat,\n        objectTypes.post,\n        objectTypes.carousel,\n        objectTypes.tour,\n        objectTypes.email,\n        objectTypes.customBot,\n        objectTypes.legacyMessageEmail,\n        objectTypes.banner,\n      ],\n      app_id: this.app.id,\n      per_page: PAGE_SIZE,\n      page_from: options.pageFrom || 0,\n      statistics: [],\n    });\n\n    this.currentPage = response.pageFrom;\n    this.totalPages = response.totalPages;\n    this.lastPageHit = response.lastPageHit;\n\n    return response.contentWrappers.filter(contentWrapper => {\n      return Number(contentWrapper.relations?.series?.series_id) !== Number(this.series.id);\n    });\n  }\n\n  @action\n  handleScrollEvent(event) {\n    if (event.target.scrollTop >= event.target.scrollHeight - event.target.offsetHeight) {\n      this.fetchMoreContentObjects.perform();\n    }\n  }\n\n  @action\n  async copy() {\n    let bounds = this.seriesEditorService.graph.state.viewportBounds;\n\n    let params = {\n      app_id: this.app.id,\n      series_id: this.series.id,\n      node_x_position: bounds.left + 100,\n      node_y_position: bounds.top + 100,\n    };\n\n    try {\n      let response;\n      if (this.selectedContentObject.contentType === objectTypes.legacyMessageEmail) {\n        response = await this._duplicateLegacyEmail({\n          ...params,\n          message_id: this.selectedContentObject.value,\n        });\n      } else {\n        response = await this._duplicateRuleset({\n          ...params,\n          ruleset_id: this.selectedContentObject.value,\n        });\n      }\n\n      let graphNodes = this._createGraphNodes(response.nodes);\n      let conditionNode = this._findConditionNode(graphNodes);\n      if (conditionNode) {\n        this._createGraphEdge(conditionNode, this._findContentNode(graphNodes));\n      }\n      if (this.args.onClose) {\n        this.args.onClose();\n      }\n    } catch (error) {\n      console.error(error);\n      this.notificationsService.notifyResponseError(error, {\n        default: 'We encoutered an error while copying this message',\n      });\n    }\n  }\n\n  _duplicateRuleset(params) {\n    return post('ember/series/series/import_ruleset', params);\n  }\n\n  _duplicateLegacyEmail(params) {\n    return post('ember/series/series/import_legacy_email', params);\n  }\n\n  _createGraphNodes(nodes) {\n    return nodes.map(node => {\n      let newNode = this.store.push(this.store.normalize('series/node', node));\n      this.series.nodes.pushObject(newNode);\n      return this.seriesEditorService.addNode(newNode);\n    });\n  }\n\n  _createGraphEdge(predecessor, successor) {\n    this.seriesEditorService.createGraphEdge(predecessor, successor);\n  }\n\n  _findConditionNode(nodes) {\n    return nodes.filter(node => node.dataObject.objectTypes.firstObject === objectTypes.condition)\n      .firstObject;\n  }\n\n  _findContentNode(nodes) {\n    return nodes.filter(node => node.dataObject.objectTypes.firstObject !== objectTypes.condition)\n      .firstObject;\n  }\n\n  _createContentObjectItem(contentWrapper) {\n    let contentType = contentWrapper.contents.firstObject.contentType;\n\n    return {\n      text: contentWrapper.title || `Untitled ${humanReadableObjectNames[contentType]}`,\n      value: contentWrapper.contentWrapperId,\n      contentType,\n      icon: objectInterfaceIcons[contentType],\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{on-document \\\"keydown\\\" this.onKeyDown}}\\n\\n<div class=\\\"flex flex-row justify-between series__header o__shadow\\\" data-test-series-header-edit-mode>\\n  <div class=\\\"flex flex-row items-center gap-4\\\">\\n    {{#let (service 'navbar-collapsing-service') as |navbarCollapsingService|}}\\n      <a {{on 'click' navbarCollapsingService.toggleNavbarCollapsed}}>\\n        {{ic-interface-icon 'hamburger' solo=true}}\\n      </a>\\n    {{/let}}\\n    <Pulse::ExpandingInput\\n      @value={{this.seriesEditorService.series.title}}\\n      @onUpdate={{set this.seriesEditorService.series.title}}\\n      @onFocusIn={{set this.seriesEditorService.isEditingTitle true}}\\n      @onFocusOut={{set this.seriesEditorService.isEditingTitle false}}\\n      placeholder=\\\"Enter a title\\\"\\n      autocomplete=\\\"off\\\"\\n      class=\\\"t__h1 mr-3 min-w-3 pt-px max-w-128\\\"\\n      data-test-series-editor-header-title-input\\n    />\\n    <div data-test-series-state-stamp>\\n      {{ic-stamp (\\n        state-name objectType=this.seriesEditorService.seriesObjectType state=this.seriesEditorService.series.state\\n      )}}\\n    </div>\\n  </div>\\n\\n  <div class=\\\"flex flex-row items-center series__header__buttons {{if this.seriesEditorService.activeSeriesNode 'o__hidden'}}\\\">\\n    {{#if this.seriesEditorService.series.migrationFromCampaignHasStarted}}\\n      <Text @styling=\\\"small\\\" class=\\\"pr-4\\\" data-test-copied-from-campaign-text>Copied from <LinkTo @route=\\\"apps.app.outbound.messages.auto.campaigns.campaign\\\" @model=\\\"{{this.seriesEditorService.series.migratedCampaign.id}}\\\">campaign</LinkTo></Text>\\n    {{/if}}\\n\\n    <div class=\\\"flex flex-col mr-3\\\">\\n      <IcDropdownOpener data-test-series-editor-more-dropdown\\n        @groupList={{this.moreDropdownItems}}\\n        @label=\\\"More\\\"\\n      />\\n    </div>\\n\\n    <div class=\\\"button__list\\\">\\n      <IcButton\\n        @type=\\\"secondary\\\"\\n        @label=\\\"Show settings\\\"\\n        {{on \\\"click\\\" this.openSettings}}\\n        data-test-series-editor-settings-toggle\\n        data-intercom-target=\\\"series-settings-toggle\\\"\\n      />\\n\\n      {{#if this.seriesEditorService.series.isLive}}\\n        <Paywall @featureKey=\\\"series\\\" as |paywall|>\\n          <IcTooltip @isDisabled={{or paywall.isActive (not this.seriesEditorService.hasPaywalledNodes)}} as |t|>\\n            <t.opener>\\n              <IcButton\\n                @type=\\\"secondary\\\"\\n                @label=\\\"Save and close\\\"\\n                @disabled={{or this.seriesEditorService.apiTasks.isRunning this.seriesEditorService.hasPaywalledNodes}}\\n                @onClick={{this.openModalFromButton}}\\n                data-test-series-editor-save-button\\n              />\\n            </t.opener>\\n            <t.content data-test-series-save-paywall-tooltip>\\n              You are using paywalled blocks in your Series. Upgrade or delete them to save a live Series.\\n            </t.content>\\n          </IcTooltip>\\n        </Paywall>\\n        <IcConfirmModal data-test-series-editor-live-modal\\n          @title=\\\"Ready to save these changes?\\\"\\n          @onModalClose={{this.closeModal}}\\n          @confirmLabel=\\\"Yes\\\"\\n          @confirmAction={{this.confirmSave}}\\n          @isOpen={{this.showSaveModal}}\\n        >\\n          <p>\\n            Are you sure you want to save these changes? They will go live right away!\\n          </p>\\n        </IcConfirmModal>\\n      {{else}}\\n        <IcButton\\n          @type=\\\"secondary\\\"\\n          @label=\\\"Save and close\\\"\\n          @disabled={{this.seriesEditorService.apiTasks.isRunning}}\\n          {{on \\\"click\\\"\\n            (queue\\n              (perform this.seriesEditorService.saveAndClose)\\n              (track-analytics-event action=\\\"clicked\\\" object=\\\"save\\\" place=\\\"series_editor\\\" section=\\\"series\\\")\\n            )\\n          }}\\n          data-test-series-editor-save-button\\n        />\\n      {{/if}}\\n      <Series::Header::SetLiveButton />\\n      <Series::Header::DuplicateRulesetIntoSeriesModal\\n        @isOpen={{this.showDuplicateIntoSeriesModal}}\\n        @onOpen={{this.onDuplicateRulesetModalOpened}}\\n        @onClose={{this.onDuplicateRulesetModalClosed}}\\n      />\\n      <Series::DeleteModal\\n        @seriesTitle={{this.seriesEditorService.series.title}}\\n        @onModalClose={{this.closeDeleteSeriesModal}}\\n        @deleteAction={{this.seriesEditorService.delete}}\\n        @isOpen={{this.showDeleteSeriesModal}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\\n<Series::Header::MigrationModal />\\n\", {\"contents\":\"{{on-document \\\"keydown\\\" this.onKeyDown}}\\n\\n<div class=\\\"flex flex-row justify-between series__header o__shadow\\\" data-test-series-header-edit-mode>\\n  <div class=\\\"flex flex-row items-center gap-4\\\">\\n    {{#let (service 'navbar-collapsing-service') as |navbarCollapsingService|}}\\n      <a {{on 'click' navbarCollapsingService.toggleNavbarCollapsed}}>\\n        {{ic-interface-icon 'hamburger' solo=true}}\\n      </a>\\n    {{/let}}\\n    <Pulse::ExpandingInput\\n      @value={{this.seriesEditorService.series.title}}\\n      @onUpdate={{set this.seriesEditorService.series.title}}\\n      @onFocusIn={{set this.seriesEditorService.isEditingTitle true}}\\n      @onFocusOut={{set this.seriesEditorService.isEditingTitle false}}\\n      placeholder=\\\"Enter a title\\\"\\n      autocomplete=\\\"off\\\"\\n      class=\\\"t__h1 mr-3 min-w-3 pt-px max-w-128\\\"\\n      data-test-series-editor-header-title-input\\n    />\\n    <div data-test-series-state-stamp>\\n      {{ic-stamp (\\n        state-name objectType=this.seriesEditorService.seriesObjectType state=this.seriesEditorService.series.state\\n      )}}\\n    </div>\\n  </div>\\n\\n  <div class=\\\"flex flex-row items-center series__header__buttons {{if this.seriesEditorService.activeSeriesNode 'o__hidden'}}\\\">\\n    {{#if this.seriesEditorService.series.migrationFromCampaignHasStarted}}\\n      <Text @styling=\\\"small\\\" class=\\\"pr-4\\\" data-test-copied-from-campaign-text>Copied from <LinkTo @route=\\\"apps.app.outbound.messages.auto.campaigns.campaign\\\" @model=\\\"{{this.seriesEditorService.series.migratedCampaign.id}}\\\">campaign</LinkTo></Text>\\n    {{/if}}\\n\\n    <div class=\\\"flex flex-col mr-3\\\">\\n      <IcDropdownOpener data-test-series-editor-more-dropdown\\n        @groupList={{this.moreDropdownItems}}\\n        @label=\\\"More\\\"\\n      />\\n    </div>\\n\\n    <div class=\\\"button__list\\\">\\n      <IcButton\\n        @type=\\\"secondary\\\"\\n        @label=\\\"Show settings\\\"\\n        {{on \\\"click\\\" this.openSettings}}\\n        data-test-series-editor-settings-toggle\\n        data-intercom-target=\\\"series-settings-toggle\\\"\\n      />\\n\\n      {{#if this.seriesEditorService.series.isLive}}\\n        <Paywall @featureKey=\\\"series\\\" as |paywall|>\\n          <IcTooltip @isDisabled={{or paywall.isActive (not this.seriesEditorService.hasPaywalledNodes)}} as |t|>\\n            <t.opener>\\n              <IcButton\\n                @type=\\\"secondary\\\"\\n                @label=\\\"Save and close\\\"\\n                @disabled={{or this.seriesEditorService.apiTasks.isRunning this.seriesEditorService.hasPaywalledNodes}}\\n                @onClick={{this.openModalFromButton}}\\n                data-test-series-editor-save-button\\n              />\\n            </t.opener>\\n            <t.content data-test-series-save-paywall-tooltip>\\n              You are using paywalled blocks in your Series. Upgrade or delete them to save a live Series.\\n            </t.content>\\n          </IcTooltip>\\n        </Paywall>\\n        <IcConfirmModal data-test-series-editor-live-modal\\n          @title=\\\"Ready to save these changes?\\\"\\n          @onModalClose={{this.closeModal}}\\n          @confirmLabel=\\\"Yes\\\"\\n          @confirmAction={{this.confirmSave}}\\n          @isOpen={{this.showSaveModal}}\\n        >\\n          <p>\\n            Are you sure you want to save these changes? They will go live right away!\\n          </p>\\n        </IcConfirmModal>\\n      {{else}}\\n        <IcButton\\n          @type=\\\"secondary\\\"\\n          @label=\\\"Save and close\\\"\\n          @disabled={{this.seriesEditorService.apiTasks.isRunning}}\\n          {{on \\\"click\\\"\\n            (queue\\n              (perform this.seriesEditorService.saveAndClose)\\n              (track-analytics-event action=\\\"clicked\\\" object=\\\"save\\\" place=\\\"series_editor\\\" section=\\\"series\\\")\\n            )\\n          }}\\n          data-test-series-editor-save-button\\n        />\\n      {{/if}}\\n      <Series::Header::SetLiveButton />\\n      <Series::Header::DuplicateRulesetIntoSeriesModal\\n        @isOpen={{this.showDuplicateIntoSeriesModal}}\\n        @onOpen={{this.onDuplicateRulesetModalOpened}}\\n        @onClose={{this.onDuplicateRulesetModalClosed}}\\n      />\\n      <Series::DeleteModal\\n        @seriesTitle={{this.seriesEditorService.series.title}}\\n        @onModalClose={{this.closeDeleteSeriesModal}}\\n        @deleteAction={{this.seriesEditorService.delete}}\\n        @isOpen={{this.showDeleteSeriesModal}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\\n<Series::Header::MigrationModal />\\n\",\"moduleName\":\"embercom/components/series/header/edit-mode.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/header/edit-mode.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport HeaderComponent from 'embercom/components/series/header';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\n\nconst MODAL_STATES = {\n  closed: 0,\n  openedFromButton: 1,\n  openedFromShortcut: 2,\n};\nexport default class EditMode extends HeaderComponent {\n  @service appService;\n  @service seriesEditorService;\n  @service notificationsService;\n  @service intercomEventService;\n  @tracked modalState = MODAL_STATES.closed;\n  @tracked showDuplicateIntoSeriesModal = false;\n  @tracked showDeleteSeriesModal = false;\n\n  willDestroy() {\n    super.willDestroy(...arguments);\n    this.seriesEditorService.isEditingTitle = false;\n  }\n\n  @action\n  openDeleteSeriesModal() {\n    this.showDeleteSeriesModal = true;\n  }\n\n  @action\n  closeDeleteSeriesModal() {\n    this.showDeleteSeriesModal = false;\n  }\n\n  @action\n  onDuplicateRulesetModalOpened() {\n    this.seriesEditorService.isDuplicatingNode = true;\n  }\n\n  @action\n  onDuplicateRulesetModalClosed() {\n    this.showDuplicateIntoSeriesModal = false;\n    this.seriesEditorService.isDuplicatingNode = false;\n  }\n\n  @action\n  openSettings() {\n    this.seriesEditorService.storeSettingsState();\n    this.seriesEditorService.set('isShowingSettings', true);\n  }\n\n  get moreDropdownItems() {\n    return [\n      {\n        items: [\n          {\n            text: 'Duplicate series',\n            icon: 'duplicate',\n            onSelectItem: () => this.seriesEditorService.duplicate.perform(),\n          },\n          {\n            text: 'Copy existing message into series',\n            icon: 'outbound-filled',\n            onSelectItem: () => {\n              this.showDuplicateIntoSeriesModal = true;\n            },\n          },\n          {\n            text: 'Delete series',\n            icon: 'trash',\n            onSelectItem: () => this.openDeleteSeriesModal(),\n          },\n        ],\n      },\n    ];\n  }\n\n  get showSaveModal() {\n    return (\n      this.modalState === MODAL_STATES.openedFromButton ||\n      this.modalState === MODAL_STATES.openedFromShortcut\n    );\n  }\n\n  @action openModalFromButton() {\n    this.modalState = MODAL_STATES.openedFromButton;\n  }\n\n  @action closeModal() {\n    this.modalState = MODAL_STATES.closed;\n  }\n\n  @action\n  confirmSave() {\n    if (this.modalState === MODAL_STATES.openedFromShortcut) {\n      this.seriesEditorService.save.perform().catch(err =>\n        this.notificationsService.notifyResponseError(err, {\n          default: 'Error saving the Series',\n        }),\n      );\n    } else {\n      this.seriesEditorService.saveAndClose.perform().catch(err =>\n        this.notificationsService.notifyResponseError(err, {\n          default: 'Error saving the Series',\n        }),\n      );\n    }\n    this.closeModal();\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'save',\n      place: 'series_editor',\n      section: 'series',\n    });\n  }\n\n  @action\n  onKeyDown() {\n    if ((event.ctrlKey || event.metaKey) && event.key === 's') {\n      this.onSaveShortcut(event);\n    }\n  }\n\n  onSaveShortcut(event) {\n    event.preventDefault();\n    if (!this.seriesEditorService.activeSeriesNode && this.seriesEditorService.isEditMode) {\n      if (this.seriesEditorService.series.isLive) {\n        this.modalState = MODAL_STATES.openedFromShortcut;\n      } else {\n        this.seriesEditorService.save.perform();\n      }\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @width=\\\"s\\\"\\n  @isOpen={{or this.seriesEditorService.series.migrationFromCampaignInProgress this.seriesEditorService.series.migrationFromCampaignHasFailed}}\\n  @showCloseIcon={{false}} as |modal|\\n>\\n  <modal.header @title=\\\"Migration in progress\\\"/>\\n  <modal.body>\\n    <div data-test-migration-modal>\\n      {{#if this.seriesEditorService.series.migrationFromCampaignInProgress}}\\n        This Series is in the process of being migrated from your Campaign:\\n        \\\"<LinkTo @route=\\\"apps.app.outbound.messages.auto.campaigns.campaign\\\" @model={{this.seriesEditorService.series.migratedCampaign.id}} data-test-campaign-link>{{this.seriesEditorService.series.migratedCampaign.title}}</LinkTo>\\\"\\n        <br><br>\\n        This process can take several minutes. Please refresh the page to check if the migration has finished.\\n      {{else}}\\n        <IcBanner @type=\\\"warning\\\" data-test-migration-error>\\n          We've encountered an error while migrating your Campaign\\n        </IcBanner>\\n        <br><b>This does not affect your existing Campaign</b><br><br>\\n        The team will investigate the cause of this error as soon as possible.<br>Please reach out to Customer Support if you need more information.\\n      {{/if}}\\n    </div>\\n  </modal.body>\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @width=\\\"s\\\"\\n  @isOpen={{or this.seriesEditorService.series.migrationFromCampaignInProgress this.seriesEditorService.series.migrationFromCampaignHasFailed}}\\n  @showCloseIcon={{false}} as |modal|\\n>\\n  <modal.header @title=\\\"Migration in progress\\\"/>\\n  <modal.body>\\n    <div data-test-migration-modal>\\n      {{#if this.seriesEditorService.series.migrationFromCampaignInProgress}}\\n        This Series is in the process of being migrated from your Campaign:\\n        \\\"<LinkTo @route=\\\"apps.app.outbound.messages.auto.campaigns.campaign\\\" @model={{this.seriesEditorService.series.migratedCampaign.id}} data-test-campaign-link>{{this.seriesEditorService.series.migratedCampaign.title}}</LinkTo>\\\"\\n        <br><br>\\n        This process can take several minutes. Please refresh the page to check if the migration has finished.\\n      {{else}}\\n        <IcBanner @type=\\\"warning\\\" data-test-migration-error>\\n          We've encountered an error while migrating your Campaign\\n        </IcBanner>\\n        <br><b>This does not affect your existing Campaign</b><br><br>\\n        The team will investigate the cause of this error as soon as possible.<br>Please reach out to Customer Support if you need more information.\\n      {{/if}}\\n    </div>\\n  </modal.body>\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/series/header/migration-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/header/migration-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class MigrationModal extends Component {\n  @service seriesEditorService;\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-series-set-live-button>\\n  {{#if this.seriesEditorService.series.isLive}}\\n    <IcButton\\n      @type=\\\"secondary\\\"\\n      @label=\\\"Pause\\\"\\n      @disabled={{this.seriesEditorService.apiTasks.isRunning}}\\n      {{on 'click' (perform this.seriesEditorService.deactivate)}}\\n      data-test-series-editor-deactivate-button\\n    />\\n  {{else}}\\n    <Paywall @featureKey=\\\"series\\\" as |paywall|>\\n      <paywall.Hover>\\n        <IcTooltip\\n          @isDisabled={{and (or paywall.isActive (not this.seriesEditorService.hasPaywalledNodes)) (not this.series.hasInvalidStartingNodes)}}\\n          @isInteractive={{this.series.hasInvalidStartingNodes}}\\n        as |t|>\\n          <t.opener>\\n            <IcButton\\n              @type=\\\"primary\\\"\\n              @label=\\\"Set series live\\\"\\n              @disabled={{or this.seriesEditorService.apiTasks.isRunning paywall.isActive this.seriesEditorService.hasPaywalledNodes this.series.hasInvalidStartingNodes}}\\n              {{on 'click' (perform this.openSetLiveConfirmation)}}\\n              data-test-series-editor-activate-button\\n            >\\n              {{#if this.seriesEditorService.saveAndSetLive.isRunning}}\\n                 <IcLoadingIndicator @color=\\\"white\\\" @size=\\\"tiny\\\" /> Setting live\\n              {{else}}\\n                Set live\\n              {{/if}}\\n            </IcButton>\\n          </t.opener>\\n          <t.content data-test-series-set-live-tooltip>\\n            {{#if this.seriesEditorService.hasPaywalledNodes}}\\n              You are using paywalled blocks in your Series. Upgrade or delete them to set this Series live.\\n            {{else if this.series.hasInvalidStartingNodes}}\\n              {{#if this.series.invalidStartingNodes}}\\n                <div class=\\\"p-2\\\">\\n                  Your Series has some invalid starting blocks, connect other blocks to these first.\\n                  {{#each this.series.invalidStartingNodes as |invalidNode|}}\\n                    <ul>\\n                      <li><a {{on \\\"click\\\" (fn this.focusNode invalidNode)}}>{{invalidNode.title}}</a></li>\\n                    </ul>\\n                  {{/each}}\\n                </div>\\n              {{/if}}\\n            {{else}}\\n            {{/if}}\\n          </t.content>\\n        </IcTooltip>\\n      </paywall.Hover>\\n    </Paywall>\\n\\n    <IcConfirmModal data-test-series-editor-live-modal\\n      @title=\\\"Ready to set your Series live?\\\"\\n      @onModalClose={{toggle \\\"showSetLiveModal\\\" this}}\\n      @confirmLabel=\\\"Set live\\\"\\n      @confirmAction={{this.confirmSetLive}}\\n      @isOpen={{this.showSetLiveModal}}\\n    >\\n      <div class=\\\"flex flex-col gap-4\\\">\\n        <img\\n          src=\\\"/assets/svgs/series/set-live-illustration.svg\\\"\\n          alt=\\\"Set live illustration\\\"\\n        />\\n        {{#if (gt this.setLiveConfirmationData.nodes.length 1)}}\\n          <p data-test-set-live-node-count>There {{inflector-helper \\\"is\\\" this.series.startingNodes.length \\\"are\\\"}} <b>{{number-formatter-helper this.series.startingNodes.length}}</b> starting {{inflector-helper \\\"rule\\\" this.series.startingNodes.length}} in your Series:</p>\\n\\n          <div class=\\\"flex flex-col gap-2\\\">\\n            {{#each this.setLiveConfirmationData.nodes as |startingNode|}}\\n              <div class=\\\"flex flex-row items-center gap-2\\\" data-test-set-live-node-info>\\n                <div class=\\\"series__node__icon\\\">{{inline-svg 'series/content/condition'}}</div>\\n                <div class=\\\"flex flex-col flex-1\\\">{{startingNode.title}}</div>\\n                <div class=\\\"flex flex-col\\\">{{number-formatter-helper startingNode.audienceCount}} matching {{inflector-helper \\\"person\\\" startingNode.audienceCount}}</div>\\n              </div>\\n            {{/each}}\\n          </div>\\n          <p data-test-set-live-total>In total, <b>{{number-formatter-helper this.setLiveConfirmationData.total}} unique {{inflector-helper \\\"person\\\" this.setLiveConfirmationData.total}}</b> will enter this Series when you set it live.\\n          {{#if this.series.migrationFromCampaignHasCompleted}}\\n            <br><br>\\n            <Series::Header::CampaignStateSelector/>\\n          {{else}}\\n             Once live, additional people will enter the Series if they match these starting rules.\\n          {{/if}}\\n          </p>\\n        {{else}}\\n          <p data-test-set-live-total><b>{{number-formatter-helper this.setLiveConfirmationData.total}} {{inflector-helper \\\"person\\\" this.setLiveConfirmationData.total}}</b> will enter this Series when you set it live.</p>\\n          {{#if this.series.migrationFromCampaignHasCompleted}}\\n            <br><br>\\n            <Series::Header::CampaignStateSelector/>\\n          {{else}}\\n            Once live, additional people will enter the Series if they match these starting rules.\\n          {{/if}}\\n        {{/if}}\\n      </div>\\n    </IcConfirmModal>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div data-test-series-set-live-button>\\n  {{#if this.seriesEditorService.series.isLive}}\\n    <IcButton\\n      @type=\\\"secondary\\\"\\n      @label=\\\"Pause\\\"\\n      @disabled={{this.seriesEditorService.apiTasks.isRunning}}\\n      {{on 'click' (perform this.seriesEditorService.deactivate)}}\\n      data-test-series-editor-deactivate-button\\n    />\\n  {{else}}\\n    <Paywall @featureKey=\\\"series\\\" as |paywall|>\\n      <paywall.Hover>\\n        <IcTooltip\\n          @isDisabled={{and (or paywall.isActive (not this.seriesEditorService.hasPaywalledNodes)) (not this.series.hasInvalidStartingNodes)}}\\n          @isInteractive={{this.series.hasInvalidStartingNodes}}\\n        as |t|>\\n          <t.opener>\\n            <IcButton\\n              @type=\\\"primary\\\"\\n              @label=\\\"Set series live\\\"\\n              @disabled={{or this.seriesEditorService.apiTasks.isRunning paywall.isActive this.seriesEditorService.hasPaywalledNodes this.series.hasInvalidStartingNodes}}\\n              {{on 'click' (perform this.openSetLiveConfirmation)}}\\n              data-test-series-editor-activate-button\\n            >\\n              {{#if this.seriesEditorService.saveAndSetLive.isRunning}}\\n                 <IcLoadingIndicator @color=\\\"white\\\" @size=\\\"tiny\\\" /> Setting live\\n              {{else}}\\n                Set live\\n              {{/if}}\\n            </IcButton>\\n          </t.opener>\\n          <t.content data-test-series-set-live-tooltip>\\n            {{#if this.seriesEditorService.hasPaywalledNodes}}\\n              You are using paywalled blocks in your Series. Upgrade or delete them to set this Series live.\\n            {{else if this.series.hasInvalidStartingNodes}}\\n              {{#if this.series.invalidStartingNodes}}\\n                <div class=\\\"p-2\\\">\\n                  Your Series has some invalid starting blocks, connect other blocks to these first.\\n                  {{#each this.series.invalidStartingNodes as |invalidNode|}}\\n                    <ul>\\n                      <li><a {{on \\\"click\\\" (fn this.focusNode invalidNode)}}>{{invalidNode.title}}</a></li>\\n                    </ul>\\n                  {{/each}}\\n                </div>\\n              {{/if}}\\n            {{else}}\\n            {{/if}}\\n          </t.content>\\n        </IcTooltip>\\n      </paywall.Hover>\\n    </Paywall>\\n\\n    <IcConfirmModal data-test-series-editor-live-modal\\n      @title=\\\"Ready to set your Series live?\\\"\\n      @onModalClose={{toggle \\\"showSetLiveModal\\\" this}}\\n      @confirmLabel=\\\"Set live\\\"\\n      @confirmAction={{this.confirmSetLive}}\\n      @isOpen={{this.showSetLiveModal}}\\n    >\\n      <div class=\\\"flex flex-col gap-4\\\">\\n        <img\\n          src=\\\"/assets/svgs/series/set-live-illustration.svg\\\"\\n          alt=\\\"Set live illustration\\\"\\n        />\\n        {{#if (gt this.setLiveConfirmationData.nodes.length 1)}}\\n          <p data-test-set-live-node-count>There {{inflector-helper \\\"is\\\" this.series.startingNodes.length \\\"are\\\"}} <b>{{number-formatter-helper this.series.startingNodes.length}}</b> starting {{inflector-helper \\\"rule\\\" this.series.startingNodes.length}} in your Series:</p>\\n\\n          <div class=\\\"flex flex-col gap-2\\\">\\n            {{#each this.setLiveConfirmationData.nodes as |startingNode|}}\\n              <div class=\\\"flex flex-row items-center gap-2\\\" data-test-set-live-node-info>\\n                <div class=\\\"series__node__icon\\\">{{inline-svg 'series/content/condition'}}</div>\\n                <div class=\\\"flex flex-col flex-1\\\">{{startingNode.title}}</div>\\n                <div class=\\\"flex flex-col\\\">{{number-formatter-helper startingNode.audienceCount}} matching {{inflector-helper \\\"person\\\" startingNode.audienceCount}}</div>\\n              </div>\\n            {{/each}}\\n          </div>\\n          <p data-test-set-live-total>In total, <b>{{number-formatter-helper this.setLiveConfirmationData.total}} unique {{inflector-helper \\\"person\\\" this.setLiveConfirmationData.total}}</b> will enter this Series when you set it live.\\n          {{#if this.series.migrationFromCampaignHasCompleted}}\\n            <br><br>\\n            <Series::Header::CampaignStateSelector/>\\n          {{else}}\\n             Once live, additional people will enter the Series if they match these starting rules.\\n          {{/if}}\\n          </p>\\n        {{else}}\\n          <p data-test-set-live-total><b>{{number-formatter-helper this.setLiveConfirmationData.total}} {{inflector-helper \\\"person\\\" this.setLiveConfirmationData.total}}</b> will enter this Series when you set it live.</p>\\n          {{#if this.series.migrationFromCampaignHasCompleted}}\\n            <br><br>\\n            <Series::Header::CampaignStateSelector/>\\n          {{else}}\\n            Once live, additional people will enter the Series if they match these starting rules.\\n          {{/if}}\\n        {{/if}}\\n      </div>\\n    </IcConfirmModal>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/series/header/set-live-button.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/header/set-live-button.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class SetLiveButton extends Component {\n  @service seriesEditorService;\n  @service appService;\n  @service notificationsService;\n  @service intercomEventService;\n  @tracked showSetLiveModal = false;\n  @tracked setLiveConfirmationData;\n\n  get series() {\n    return this.seriesEditorService.series;\n  }\n\n  @task\n  *openSetLiveConfirmation() {\n    let audiencePreview = yield this.seriesEditorService.series.fetchAudiencePreview();\n\n    this.setLiveConfirmationData = audiencePreview;\n    this.setLiveConfirmationData.nodes = Object.keys(\n      this.setLiveConfirmationData.startingNodes,\n    ).reduce((nodes, nodeId) => {\n      let audienceCount = this.setLiveConfirmationData.startingNodes[nodeId];\n      nodes.pushObject({\n        title: this.series.nodes.findBy('id', nodeId).title,\n        audienceCount,\n      });\n      return nodes;\n    }, []);\n    this.showSetLiveModal = true;\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'set_series_live',\n      place: 'series_editor',\n      section: 'series',\n      migrated_from_campaign: this.series.migrationFromCampaignHasStarted,\n    });\n  }\n\n  @action focusNode(node) {\n    let graphNode = this.seriesEditorService.graph.nodeForDataObject(node);\n    this.seriesEditorService.graph.focusNode(graphNode);\n  }\n\n  @action\n  confirmSetLive() {\n    this.seriesEditorService.saveAndSetLive.perform().catch(err =>\n      this.notificationsService.notifyResponseError(err, {\n        default: 'Error setting the Series Live',\n      }),\n    );\n    this.showSetLiveModal = !this.showSetLiveModal;\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'set_live',\n      place: 'series_editor',\n      section: 'series',\n      migrated_from_campaign: this.series.migrationFromCampaignHasStarted,\n      campaign_behavior: this.series.migrationFromCampaignHasStarted\n        ? this.seriesEditorService.selectedCampaignState\n        : null,\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row justify-between series__header\\\" data-test-series-header-view-mode>\\n  <div class=\\\"flex flex-row items-center gap-4 series__header-view-mode-title\\\">\\n    {{#let (service 'navbar-collapsing-service') as |navbarCollapsingService|}}\\n      <a {{on 'click' navbarCollapsingService.toggleNavbarCollapsed}}>\\n        {{ic-interface-icon 'hamburger' solo=true}}\\n      </a>\\n    {{/let}}\\n    <Heading @size='1' class=\\\"u__one-truncated-line\\\" data-test-standard-header-read-only-title>\\n      {{or this.seriesEditorService.series.title \\\"Untitled Series\\\"}}\\n    </Heading>\\n    <div data-test-series-state-stamp>\\n      {{ic-stamp (\\n        state-name objectType=this.seriesEditorService.seriesObjectType state=this.seriesEditorService.series.state\\n      )}}\\n    </div>\\n  </div>\\n\\n  <div class=\\\"flex flex-row items-center series__header__buttons {{if this.seriesEditorService.activeSeriesNode 'o__hidden'}}\\\">\\n    {{#if this.seriesEditorService.series.migrationFromCampaignHasStarted}}\\n      <Text @styling=\\\"small\\\" class=\\\"pr-4\\\" data-test-copied-from-campaign-text>Copied from <LinkTo @route=\\\"apps.app.outbound.messages.auto.campaigns.campaign\\\" @model=\\\"{{this.seriesEditorService.series.migratedCampaign.id}}\\\">campaign</LinkTo></Text>\\n    {{/if}}\\n    <div class=\\\"flex flex-col mr-3\\\">\\n      <IcDropdownOpener data-test-series-editor-more-dropdown\\n        @groupList={{this.moreDropdownItems}}\\n        @label=\\\"More\\\"\\n      />\\n    </div>\\n\\n    <div class=\\\"button__list\\\">\\n      <IcButton\\n        @type=\\\"secondary\\\"\\n        @label=\\\"Show settings\\\"\\n        {{on \\\"click\\\" this.openSettings}}\\n        data-test-series-editor-settings-toggle\\n      />\\n      <Series::Header::SetLiveButton />\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @label=\\\"Edit\\\"\\n        {{on 'click' this.enableEdit}}\\n        data-test-series-editor-edit-button\\n      />\\n      <Series::DeleteModal\\n        @seriesTitle={{this.seriesEditorService.series.title}}\\n        @onModalClose={{this.closeDeleteSeriesModal}}\\n        @deleteAction={{this.seriesEditorService.delete}}\\n        @isOpen={{this.showDeleteSeriesModal}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\\n<Series::Header::MigrationModal />\\n\", {\"contents\":\"<div class=\\\"flex flex-row justify-between series__header\\\" data-test-series-header-view-mode>\\n  <div class=\\\"flex flex-row items-center gap-4 series__header-view-mode-title\\\">\\n    {{#let (service 'navbar-collapsing-service') as |navbarCollapsingService|}}\\n      <a {{on 'click' navbarCollapsingService.toggleNavbarCollapsed}}>\\n        {{ic-interface-icon 'hamburger' solo=true}}\\n      </a>\\n    {{/let}}\\n    <Heading @size='1' class=\\\"u__one-truncated-line\\\" data-test-standard-header-read-only-title>\\n      {{or this.seriesEditorService.series.title \\\"Untitled Series\\\"}}\\n    </Heading>\\n    <div data-test-series-state-stamp>\\n      {{ic-stamp (\\n        state-name objectType=this.seriesEditorService.seriesObjectType state=this.seriesEditorService.series.state\\n      )}}\\n    </div>\\n  </div>\\n\\n  <div class=\\\"flex flex-row items-center series__header__buttons {{if this.seriesEditorService.activeSeriesNode 'o__hidden'}}\\\">\\n    {{#if this.seriesEditorService.series.migrationFromCampaignHasStarted}}\\n      <Text @styling=\\\"small\\\" class=\\\"pr-4\\\" data-test-copied-from-campaign-text>Copied from <LinkTo @route=\\\"apps.app.outbound.messages.auto.campaigns.campaign\\\" @model=\\\"{{this.seriesEditorService.series.migratedCampaign.id}}\\\">campaign</LinkTo></Text>\\n    {{/if}}\\n    <div class=\\\"flex flex-col mr-3\\\">\\n      <IcDropdownOpener data-test-series-editor-more-dropdown\\n        @groupList={{this.moreDropdownItems}}\\n        @label=\\\"More\\\"\\n      />\\n    </div>\\n\\n    <div class=\\\"button__list\\\">\\n      <IcButton\\n        @type=\\\"secondary\\\"\\n        @label=\\\"Show settings\\\"\\n        {{on \\\"click\\\" this.openSettings}}\\n        data-test-series-editor-settings-toggle\\n      />\\n      <Series::Header::SetLiveButton />\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @label=\\\"Edit\\\"\\n        {{on 'click' this.enableEdit}}\\n        data-test-series-editor-edit-button\\n      />\\n      <Series::DeleteModal\\n        @seriesTitle={{this.seriesEditorService.series.title}}\\n        @onModalClose={{this.closeDeleteSeriesModal}}\\n        @deleteAction={{this.seriesEditorService.delete}}\\n        @isOpen={{this.showDeleteSeriesModal}}\\n      />\\n    </div>\\n  </div>\\n</div>\\n\\n<Series::Header::MigrationModal />\\n\",\"moduleName\":\"embercom/components/series/header/view-mode.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/header/view-mode.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport HeaderComponent from 'embercom/components/series/header';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class ViewMode extends HeaderComponent {\n  @service seriesEditorService;\n  @service notificationsService;\n  @service intercomEventService;\n\n  @tracked showDeleteSeriesModal = false;\n\n  @action\n  enableEdit() {\n    this.seriesEditorService.changeMode('edit');\n  }\n\n  @action\n  openDeleteSeriesModal() {\n    this.showDeleteSeriesModal = true;\n  }\n\n  @action\n  closeDeleteSeriesModal() {\n    this.showDeleteSeriesModal = false;\n  }\n\n  @action\n  openSettings() {\n    this.seriesEditorService.storeSettingsState();\n    this.seriesEditorService.set('isShowingSettings', true);\n  }\n\n  get moreDropdownItems() {\n    return [\n      {\n        items: [\n          {\n            text: 'Duplicate series',\n            icon: 'duplicate',\n            onSelectItem: () => this.seriesEditorService.duplicate.perform(),\n          },\n          {\n            text: 'Delete series',\n            icon: 'trash',\n            onSelectItem: () => this.openDeleteSeriesModal(),\n          },\n        ],\n      },\n    ];\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"series__node__actions-wrapper {{if (or @graphNode.isHovered this.isOpen) 'o__visible'}}\\\">\\n  <IcDropdownAndOpenerPair\\n    @mode=\\\"block\\\"\\n    @placement={{\\\"bottom-end\\\"}}\\n    @onOpen={{this.onOpen}}\\n    @onClose={{this.onClose}}\\n    {{on \\\"click\\\" (stop-propagation this.selectNode)}}\\n  as |pair|>\\n    <pair.opener>\\n      <IcButton\\n        @showsIconOnly={{true}}\\n        @icon=\\\"small-ellipsis\\\"\\n        @type=\\\"secondary\\\"\\n        class=\\\"series__node__actions-button {{if (or @graphNode.isHovered this.isOpen) 'o__visible'}}\\\"\\n        data-test-node-actions-opener\\n      />\\n    </pair.opener>\\n    <pair.dropdown @minWidthOfOverlay={{220}} class=\\\"series__popover\\\" as |dropdown|>\\n      <style>\\n        .popover__content-container {\\n          box-shadow: none;\\n        }\\n      </style>\\n      <dropdown.group @isMain={{true}} class=\\\"series__node__action-items\\\" as |group|>\\n        <group.item {{on 'click' (fn this.edit dropdown)}} data-test-edit-node>\\n          <div class=\\\"flex flex-row items-center gap-2 series__node__action-item\\\">\\n            {{ic-interface-icon 'edit'}} \\n            <div class=\\\"flex flex-row flex-1\\\">\\n              Edit\\n            </div>\\n          </div>\\n        </group.item>\\n        <group.item {{on 'click' (fn this.duplicate dropdown)}} data-test-duplicate-node>\\n          <div class=\\\"flex flex-row items-center gap-2 series__node__action-item\\\">\\n            {{ic-interface-icon 'duplicate'}} \\n            <div class=\\\"flex flex-row flex-1\\\">\\n              Duplicate\\n            </div>\\n            <span class=\\\"shortcut\\\">{{this.modifierKey}}</span>\\n            <span class=\\\"shortcut\\\">D</span>\\n          </div>\\n        </group.item>\\n        <group.item {{on 'click' (fn this.delete dropdown)}} data-test-delete-node>\\n          <div class=\\\"flex flex-row items-center gap-2 series__node__action-item\\\">\\n            {{ic-interface-icon 'trash'}} \\n            <div class=\\\"flex flex-row flex-1\\\">\\n              Delete\\n            </div>\\n            <span class=\\\"shortcut\\\">Del</span>\\n          </div>\\n        </group.item>\\n      </dropdown.group>\\n    </pair.dropdown>\\n  </IcDropdownAndOpenerPair>\\n</div>\\n\", {\"contents\":\"<div class=\\\"series__node__actions-wrapper {{if (or @graphNode.isHovered this.isOpen) 'o__visible'}}\\\">\\n  <IcDropdownAndOpenerPair\\n    @mode=\\\"block\\\"\\n    @placement={{\\\"bottom-end\\\"}}\\n    @onOpen={{this.onOpen}}\\n    @onClose={{this.onClose}}\\n    {{on \\\"click\\\" (stop-propagation this.selectNode)}}\\n  as |pair|>\\n    <pair.opener>\\n      <IcButton\\n        @showsIconOnly={{true}}\\n        @icon=\\\"small-ellipsis\\\"\\n        @type=\\\"secondary\\\"\\n        class=\\\"series__node__actions-button {{if (or @graphNode.isHovered this.isOpen) 'o__visible'}}\\\"\\n        data-test-node-actions-opener\\n      />\\n    </pair.opener>\\n    <pair.dropdown @minWidthOfOverlay={{220}} class=\\\"series__popover\\\" as |dropdown|>\\n      <style>\\n        .popover__content-container {\\n          box-shadow: none;\\n        }\\n      </style>\\n      <dropdown.group @isMain={{true}} class=\\\"series__node__action-items\\\" as |group|>\\n        <group.item {{on 'click' (fn this.edit dropdown)}} data-test-edit-node>\\n          <div class=\\\"flex flex-row items-center gap-2 series__node__action-item\\\">\\n            {{ic-interface-icon 'edit'}} \\n            <div class=\\\"flex flex-row flex-1\\\">\\n              Edit\\n            </div>\\n          </div>\\n        </group.item>\\n        <group.item {{on 'click' (fn this.duplicate dropdown)}} data-test-duplicate-node>\\n          <div class=\\\"flex flex-row items-center gap-2 series__node__action-item\\\">\\n            {{ic-interface-icon 'duplicate'}} \\n            <div class=\\\"flex flex-row flex-1\\\">\\n              Duplicate\\n            </div>\\n            <span class=\\\"shortcut\\\">{{this.modifierKey}}</span>\\n            <span class=\\\"shortcut\\\">D</span>\\n          </div>\\n        </group.item>\\n        <group.item {{on 'click' (fn this.delete dropdown)}} data-test-delete-node>\\n          <div class=\\\"flex flex-row items-center gap-2 series__node__action-item\\\">\\n            {{ic-interface-icon 'trash'}} \\n            <div class=\\\"flex flex-row flex-1\\\">\\n              Delete\\n            </div>\\n            <span class=\\\"shortcut\\\">Del</span>\\n          </div>\\n        </group.item>\\n      </dropdown.group>\\n    </pair.dropdown>\\n  </IcDropdownAndOpenerPair>\\n</div>\\n\",\"moduleName\":\"embercom/components/series/node/actions.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/node/actions.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport platform from 'embercom/lib/browser-platform';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nexport default class SeriesNodeActionsComponent extends Component {\n  @service seriesEditorService;\n  @tracked isOpen = false;\n\n  get modifierKey() {\n    return platform.isMac ? '⌘' : 'ctrl';\n  }\n\n  @action onOpen() {\n    console.log('onOpen');\n    this.isOpen = true;\n  }\n\n  @action onClose() {\n    console.log('onClose');\n    this.isOpen = false;\n  }\n\n  @action selectNode() {\n    let state = this.seriesEditorService.graph.state;\n    state.selectedNodes.clear();\n    state.selectedNodes.pushObject(this.args.graphNode);\n  }\n\n  @action edit(dropdown) {\n    this.seriesEditorService.registerActiveSeriesNode(this.args.seriesNode);\n    dropdown.hideDropdownOverlay();\n  }\n\n  @action duplicate(dropdown) {\n    this.seriesEditorService.duplicateNodes.perform([this.args.graphNode]);\n    dropdown.hideDropdownOverlay();\n  }\n\n  @action delete(dropdown) {\n    this.seriesEditorService.graph.deleteNode(this.args.graphNode);\n    dropdown.hideDropdownOverlay();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @seriesNode.isInternal}}\\n  <div class=\\\"series__node__options-block flex flex-col\\\" data-test-condition-delay-editor>\\n    <Series::Node::ExplicitWaitingSettings\\n        @graphNode={{@graphNode}}\\n        @seriesNode={{@seriesNode}}\\n        @onPopoverChange={{this.onPopoverChange}}\\n      />\\n  </div>\\n{{/if}}\", {\"contents\":\"{{#if @seriesNode.isInternal}}\\n  <div class=\\\"series__node__options-block flex flex-col\\\" data-test-condition-delay-editor>\\n    <Series::Node::ExplicitWaitingSettings\\n        @graphNode={{@graphNode}}\\n        @seriesNode={{@seriesNode}}\\n        @onPopoverChange={{this.onPopoverChange}}\\n      />\\n  </div>\\n{{/if}}\",\"moduleName\":\"embercom/components/series/node/condition-delay-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/node/condition-delay-editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class SeriesNodeConditionDelayEditorComponent extends Component {\n  @tracked popoverOpen = false;\n\n  @action onPopoverChange(openState) {\n    this.popoverOpen = openState;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col gap-4 series__edge__single-connector-wrapper {{if this.isVisible 'o__visible'}}\\\" data-test-series-connector-wrapper>\\n  {{component @connector.component\\n    node=@node\\n    connector=@connector\\n    index=@index\\n    isHovered=@isHovered\\n    isSelected=this.isSelected\\n    isShifted=@isShifted\\n  }}\\n  <div class=\\\"series__edge__connector__spacer-inner\\\"></div>\\n</div>\", {\"contents\":\"<div class=\\\"flex flex-col gap-4 series__edge__single-connector-wrapper {{if this.isVisible 'o__visible'}}\\\" data-test-series-connector-wrapper>\\n  {{component @connector.component\\n    node=@node\\n    connector=@connector\\n    index=@index\\n    isHovered=@isHovered\\n    isSelected=this.isSelected\\n    isShifted=@isShifted\\n  }}\\n  <div class=\\\"series__edge__connector__spacer-inner\\\"></div>\\n</div>\",\"moduleName\":\"embercom/components/series/node/connector-wrapper.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/node/connector-wrapper.hbs\"}});\nimport Component from '@glimmer/component';\nimport { seriesEdgeTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport { inject as service } from '@ember/service';\n\nexport default class SeriesNodeConnectorWrapperComponent extends Component {\n  @service seriesEditorService;\n\n  get isVisible() {\n    return (\n      (this.args.isHovered && this._canBeVisible) ||\n      this.args.node.outwardEdges.some(\n        edge =>\n          edge.uiProperties.startAlignment === 'right' &&\n          edge.dataObject.edgeType === this.args.connector.edgeType,\n      )\n    );\n  }\n\n  get isSelected() {\n    return this.args.node.outwardEdges.some(\n      edge =>\n        edge.uiProperties.startAlignment === 'right' &&\n        edge.dataObject.edgeType === this.args.connector.edgeType &&\n        edge.isSelected,\n    );\n  }\n\n  get _canBeVisible() {\n    if (this.seriesEditorService.isShowingShortcuts) {\n      return this.args.connector.edgeType === seriesEdgeTypes.primary;\n    } else {\n      return true;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"\\n    flex flex-col series__edge__connector__wrapper\\n    {{if this.isShifted 'o__shifted-vertically'}}\\n    {{if (or this.isVisible this.isHovered) 'o__visible'}}\\n  \\\"\\n  data-test-edge-connector-outer-container\\n  {{did-insert this.toggleVisibility @node.isHovered}}\\n  {{did-update this.toggleVisibility @node.isHovered}}\\n  {{did-update this.onEdgesChanged this.seriesEditorService.lastRenderedEdgesAt @node.edges this.seriesEditorService.graph.state.draggingNode}}\\n  {{on 'mouseenter' this.onMouseEnter}}\\n  {{on 'mouseleave' this.onMouseLeave}}\\n>\\n  {{#each @node.dataObject.graphConfiguration.connectors as |connector index|}}\\n    <Series::Node::ConnectorWrapper\\n      @connector={{connector}}\\n      @index={{index}}\\n      @node={{@node}}\\n      @isHovered={{this.isHovered}}\\n      @isShifted={{this.isShifted}}\\n    />\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"\\n    flex flex-col series__edge__connector__wrapper\\n    {{if this.isShifted 'o__shifted-vertically'}}\\n    {{if (or this.isVisible this.isHovered) 'o__visible'}}\\n  \\\"\\n  data-test-edge-connector-outer-container\\n  {{did-insert this.toggleVisibility @node.isHovered}}\\n  {{did-update this.toggleVisibility @node.isHovered}}\\n  {{did-update this.onEdgesChanged this.seriesEditorService.lastRenderedEdgesAt @node.edges this.seriesEditorService.graph.state.draggingNode}}\\n  {{on 'mouseenter' this.onMouseEnter}}\\n  {{on 'mouseleave' this.onMouseLeave}}\\n>\\n  {{#each @node.dataObject.graphConfiguration.connectors as |connector index|}}\\n    <Series::Node::ConnectorWrapper\\n      @connector={{connector}}\\n      @index={{index}}\\n      @node={{@node}}\\n      @isHovered={{this.isHovered}}\\n      @isShifted={{this.isShifted}}\\n    />\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/series/node/connectors.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/node/connectors.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\nimport { timeout } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport { isPresent } from '@ember/utils';\n\nexport default class SeriesNodeConnectorsComponent extends Component {\n  @service seriesEditorService;\n  @tracked showConnectors = false;\n  @tracked isShifted = false;\n  connectorsAreHovered = false;\n\n  lastLayoutForGraphUpdateTime = undefined;\n  numberOfCalculationsForCurrentLayout = 0;\n\n  get isHovered() {\n    return this.showConnectors && this.seriesEditorService.isEditMode;\n  }\n\n  get rightwardEdges() {\n    return this.args.node.outwardEdges.filter(edge => edge.uiProperties.startAlignment === 'right');\n  }\n\n  get isVisible() {\n    return isPresent(this.rightwardEdges);\n  }\n\n  get isInLoopedShift() {\n    return this.numberOfCalculationsForCurrentLayout >= 2;\n  }\n\n  @action onEdgesChanged() {\n    if (this.lastLayoutForGraphUpdateTime !== this.seriesEditorService.lastGraphUpdateTime) {\n      this.numberOfCalculationsForCurrentLayout = 0;\n    }\n\n    if (this.isInLoopedShift) {\n      return;\n    }\n\n    if (\n      this.seriesEditorService.graph.state.draggingEdge ||\n      this.seriesEditorService.graph.state.draggingNode\n    ) {\n      return;\n    }\n\n    if (this.isVisible && this.rightwardEdges.every(edge => edge.dataObject.isAlternative)) {\n      this._setShiftedValue(true);\n    } else {\n      this._setShiftedValue(false);\n    }\n  }\n\n  _setShiftedValue(value) {\n    if (this.isShifted !== value) {\n      this.lastLayoutForGraphUpdateTime = this.seriesEditorService.lastGraphUpdateTime;\n      this.numberOfCalculationsForCurrentLayout += 1;\n      this.isShifted = value;\n    }\n  }\n\n  @action onMouseEnter() {\n    this.connectorsAreHovered = true;\n    this.toggleVisibility();\n  }\n\n  @action onMouseLeave() {\n    this.connectorsAreHovered = false;\n    this.toggleVisibility();\n  }\n\n  @action toggleVisibility() {\n    if (this.args.node.isHovered || this.connectorsAreHovered) {\n      this.showConnectors = true;\n      this.unsetHoveredState.cancelAll();\n    } else {\n      this.unsetHoveredState.perform();\n    }\n  }\n\n  @task({ restartable: true })\n  *unsetHoveredState() {\n    yield timeout(150);\n    this.showConnectors = false;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div {{on 'mouseenter' this.onMouseEnter}} {{on 'mouseleave' this.onMouseLeave}}>\\n  <Series::Node::Connectors::StandardConnector\\n    @node={{@node}}\\n    @connector={{@connector}}\\n    @index={{@index}}\\n    @isHovered={{@isHovered}}\\n    @isShifted={{@isShifted}}\\n    as |connector|\\n  >\\n    <connector.labelArea>\\n      {{#if this.seriesEditorService.isEditMode}}\\n        <div class=\\\"series__edge__shortcuts {{if this.hideShortcuts 'o__hide-shortcuts'}}\\\" data-test-shortcuts-wrapper>\\n          <Series::Node::Shortcuts\\n            @node={{@node}}\\n            @edgeDataObject={{hash edgeType=@connector.edgeType isTemporary=true}}\\n          />\\n        </div>\\n      {{/if}}\\n    </connector.labelArea>\\n  </Series::Node::Connectors::StandardConnector>\\n</div>\\n\", {\"contents\":\"<div {{on 'mouseenter' this.onMouseEnter}} {{on 'mouseleave' this.onMouseLeave}}>\\n  <Series::Node::Connectors::StandardConnector\\n    @node={{@node}}\\n    @connector={{@connector}}\\n    @index={{@index}}\\n    @isHovered={{@isHovered}}\\n    @isShifted={{@isShifted}}\\n    as |connector|\\n  >\\n    <connector.labelArea>\\n      {{#if this.seriesEditorService.isEditMode}}\\n        <div class=\\\"series__edge__shortcuts {{if this.hideShortcuts 'o__hide-shortcuts'}}\\\" data-test-shortcuts-wrapper>\\n          <Series::Node::Shortcuts\\n            @node={{@node}}\\n            @edgeDataObject={{hash edgeType=@connector.edgeType isTemporary=true}}\\n          />\\n        </div>\\n      {{/if}}\\n    </connector.labelArea>\\n  </Series::Node::Connectors::StandardConnector>\\n</div>\\n\",\"moduleName\":\"embercom/components/series/node/connectors/content-shortcuts-connector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/node/connectors/content-shortcuts-connector.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\n\nexport default class ContentShortcutsConnector extends Component {\n  @service appService;\n  @service attributeService;\n  @service seriesEditorService;\n  @tracked isHoveringLabel = false;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get hideShortcuts() {\n    return (\n      this.hasOutwardEdges ||\n      !this.NodeHasContentAttributes ||\n      this.seriesEditorService.graph.state.draggingEdge\n    );\n  }\n\n  get hasOutwardEdges() {\n    return (\n      this.args.node.outwardEdges.filter(edge => edge.edgeType === this.args.connector.edgeType)\n        .length > 0\n    );\n  }\n\n  get NodeHasContentAttributes() {\n    let objectType = this.args.node.dataObject.objectTypes.firstObject;\n    return this.attributeService.contentEventAttributesFor(objectType).length > 0;\n  }\n\n  @action\n  onMouseEnter() {\n    if (this.NodeHasContentAttributes) {\n      this.seriesEditorService.isShowingShortcuts = true;\n    }\n  }\n\n  @action\n  onMouseLeave() {\n    this.seriesEditorService.isShowingShortcuts = false;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"series__edge__inserter {{if this.seriesEditorService.isViewMode 'u__disable-pointer-events'}}\\\">\\n  <div class=\\\"series__edge__connector\\\" data-test-edge-connector>\\n    <div class=\\\"flex flex-col\\\">\\n      <div class=\\\"flex flex-row items-center series__edge__connector-label-icon-pair {{if @isSelected 'o__selected'}}\\\">\\n        {{#if @connector.label}}\\n          <div class=\\\"series__edge__connector-svg\\\">{{inline-svg 'series/edge-connector-point'}}</div>\\n          <div class=\\\"series__edge__text u__relative\\\" data-test-connector-label>\\n            <Popover\\n              @showArrow={{true}}\\n              @placement={{\\\"top\\\"}}\\n              @showOn={{array 'mouseenter'}}\\n              @hideOn={{array 'mouseleave'}}\\n              @isDisabled={{not this.hasCloseNextBlock}}\\n              as |popover|\\n            >\\n              <popover.Opener>\\n                {{this.labelText}}\\n              </popover.Opener>\\n              <popover.Content class=\\\"series__edge__text-tooltip\\\">\\n                {{sentence-case @connector.label}}\\n              </popover.Content>\\n            </Popover>\\n            {{yield (hash labelArea=(component 'series/node/connectors/yield-area'))}}\\n          </div>\\n        {{/if}}\\n        <div\\n          {{did-insert (fn this.addNewConnectionPoint @connector.edgeType)}}\\n          {{did-update this.calculateBlockDistance this.seriesEditorService.lastUpdatedNodesAt}}\\n          {{did-update this.updateConnectionPoint this.labelText @isShifted}}\\n          data-test-connector-add\\n        >\\n          <Popover data-test-popover-opener\\n            @showOn={{array 'click'}}\\n            @hideOn={{array 'clickout'}}\\n            @placement='right'\\n            @fallbackPlacements={{array 'left' 'top' 'bottom'}}\\n            @showArrow={{true}}\\n            @animation={{hash\\n              class=\\\"series__inserter-list__inserter__animation\\\"\\n              duration=150\\n              timingFunction=\\\"ease-in-out\\\"\\n            }}\\n            as |popover|\\n          >\\n            <popover.Opener>\\n              <GraphEditor::Edge::DraggableConnector\\n                @predecessor={{@node}}\\n                @didStartDragging={{fn this.onEdgeDragStart @connector.edgeType}}\\n                class=\\\"series__edge__add-button-container {{if @isHovered 'o__hovered'}} {{if this.seriesEditorService.graph.state.draggingEdge 'o__dragging'}} {{if this.seriesEditorService.isViewMode 'hidden'}}\\\"\\n              >\\n                <div class=\\\"series__edge__add__bg\\\"></div>\\n                {{inline-svg 'series/edge-add-arrow' class=\\\"h-4 w-4 absolute pointer-events-none\\\"}}\\n              </GraphEditor::Edge::DraggableConnector>\\n            </popover.Opener>\\n            <popover.Content class=\\\"series__popover\\\" @fullBleed={{true}}>\\n              <div class=\\\"flex flex-col series__inserter-list__popover pt-4\\\" data-test-inserter-popover>\\n                <Series::Node::Inserters::List\\n                  @onInsertionEnd={{popover.hide}}\\n                  @insertionContext={{hash\\n                    type='insert-successor'\\n                    predecessor=@node\\n                    additonalNodeDataObjectProperties=(hash hasTemporaryEdge=true)\\n                    edgeDataObject=(hash edgeType=@connector.edgeType isTemporary=true)\\n                  }}\\n                />\\n              </div>\\n            </popover.Content>\\n          </Popover>\\n        </div>\\n      </div>\\n      {{yield (hash footerArea=(component 'series/node/connectors/yield-area'))}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"series__edge__inserter {{if this.seriesEditorService.isViewMode 'u__disable-pointer-events'}}\\\">\\n  <div class=\\\"series__edge__connector\\\" data-test-edge-connector>\\n    <div class=\\\"flex flex-col\\\">\\n      <div class=\\\"flex flex-row items-center series__edge__connector-label-icon-pair {{if @isSelected 'o__selected'}}\\\">\\n        {{#if @connector.label}}\\n          <div class=\\\"series__edge__connector-svg\\\">{{inline-svg 'series/edge-connector-point'}}</div>\\n          <div class=\\\"series__edge__text u__relative\\\" data-test-connector-label>\\n            <Popover\\n              @showArrow={{true}}\\n              @placement={{\\\"top\\\"}}\\n              @showOn={{array 'mouseenter'}}\\n              @hideOn={{array 'mouseleave'}}\\n              @isDisabled={{not this.hasCloseNextBlock}}\\n              as |popover|\\n            >\\n              <popover.Opener>\\n                {{this.labelText}}\\n              </popover.Opener>\\n              <popover.Content class=\\\"series__edge__text-tooltip\\\">\\n                {{sentence-case @connector.label}}\\n              </popover.Content>\\n            </Popover>\\n            {{yield (hash labelArea=(component 'series/node/connectors/yield-area'))}}\\n          </div>\\n        {{/if}}\\n        <div\\n          {{did-insert (fn this.addNewConnectionPoint @connector.edgeType)}}\\n          {{did-update this.calculateBlockDistance this.seriesEditorService.lastUpdatedNodesAt}}\\n          {{did-update this.updateConnectionPoint this.labelText @isShifted}}\\n          data-test-connector-add\\n        >\\n          <Popover data-test-popover-opener\\n            @showOn={{array 'click'}}\\n            @hideOn={{array 'clickout'}}\\n            @placement='right'\\n            @fallbackPlacements={{array 'left' 'top' 'bottom'}}\\n            @showArrow={{true}}\\n            @animation={{hash\\n              class=\\\"series__inserter-list__inserter__animation\\\"\\n              duration=150\\n              timingFunction=\\\"ease-in-out\\\"\\n            }}\\n            as |popover|\\n          >\\n            <popover.Opener>\\n              <GraphEditor::Edge::DraggableConnector\\n                @predecessor={{@node}}\\n                @didStartDragging={{fn this.onEdgeDragStart @connector.edgeType}}\\n                class=\\\"series__edge__add-button-container {{if @isHovered 'o__hovered'}} {{if this.seriesEditorService.graph.state.draggingEdge 'o__dragging'}} {{if this.seriesEditorService.isViewMode 'hidden'}}\\\"\\n              >\\n                <div class=\\\"series__edge__add__bg\\\"></div>\\n                {{inline-svg 'series/edge-add-arrow' class=\\\"h-4 w-4 absolute pointer-events-none\\\"}}\\n              </GraphEditor::Edge::DraggableConnector>\\n            </popover.Opener>\\n            <popover.Content class=\\\"series__popover\\\" @fullBleed={{true}}>\\n              <div class=\\\"flex flex-col series__inserter-list__popover pt-4\\\" data-test-inserter-popover>\\n                <Series::Node::Inserters::List\\n                  @onInsertionEnd={{popover.hide}}\\n                  @insertionContext={{hash\\n                    type='insert-successor'\\n                    predecessor=@node\\n                    additonalNodeDataObjectProperties=(hash hasTemporaryEdge=true)\\n                    edgeDataObject=(hash edgeType=@connector.edgeType isTemporary=true)\\n                  }}\\n                />\\n              </div>\\n            </popover.Content>\\n          </Popover>\\n        </div>\\n      </div>\\n      {{yield (hash footerArea=(component 'series/node/connectors/yield-area'))}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/series/node/connectors/standard-connector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/node/connectors/standard-connector.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport SeriesEdgeGenerator from 'embercom/components/series/edge/generator';\nimport { schedule } from '@ember/runloop';\nimport TruncateString from 'embercom/lib/truncate-string';\nimport { tracked } from '@glimmer/tracking';\nimport ENV from 'embercom/config/environment';\nimport { task } from 'ember-concurrency-decorators';\nimport { timeout } from 'ember-concurrency';\n\nexport default class StandardConnector extends Component {\n  @service seriesEditorService;\n  @tracked connectionPoint = undefined;\n  @tracked hasCloseNextBlock = false;\n\n  get labelText() {\n    if (this.hasCloseNextBlock) {\n      return TruncateString(this.args.connector.label, 6);\n    } else {\n      return this.args.connector.label;\n    }\n  }\n\n  @action calculateBlockDistance() {\n    this.debouncedCalculateBlockDistance.perform();\n  }\n\n  @task({ restartable: true })\n  *debouncedCalculateBlockDistance() {\n    yield timeout(ENV.APP._250MS);\n    let hasCloseBlock = this.seriesEditorService.graph.nodes.some(node => {\n      if (this.hasCloseNextBlock) {\n        // If we are already tuncated, would untruncating cover a block?\n        return node.bounds.coversCoordinates({\n          x: this.connectionPoint.coordinates.x + 100,\n          y: this.connectionPoint.coordinates.y,\n        });\n      } else {\n        return node.bounds.coversCoordinates(this.connectionPoint.coordinates);\n      }\n    });\n    if (this.hasCloseNextBlock !== hasCloseBlock) {\n      this.hasCloseNextBlock = hasCloseBlock;\n    }\n  }\n\n  @action onEdgeDragStart(edgeType, edge) {\n    this.seriesEditorService.edgeTypeForNewEdge = edgeType;\n    edge.dataObject = { edgeType };\n    edge.generator = new SeriesEdgeGenerator(edge);\n  }\n\n  @action addNewConnectionPoint(edgeType, element) {\n    schedule('afterRender', this, () => {\n      let [x, y] = this._offsetsFromNodeTopRight(element);\n      let connectionPoint = {\n        x,\n        y,\n        alignment: 'right',\n        direction: 'outwards',\n        dataObject: { edgeTypes: [edgeType] },\n      };\n      this.connectionPoint = this.args.node.addConnectionPoint(connectionPoint);\n      this.calculateBlockDistance();\n    });\n  }\n\n  @action updateConnectionPoint(element) {\n    schedule('afterRender', this, () => {\n      let [x, y] = this._offsetsFromNodeTopRight(element);\n      if (this.connectionPoint.x !== x) {\n        this.connectionPoint.x = x;\n      }\n      if (this.connectionPoint.y !== y) {\n        this.connectionPoint.y = y;\n      }\n    });\n  }\n\n  _offsetsFromNodeTopRight(element) {\n    let scale = this.seriesEditorService.graph.state.scale;\n    let elementRect = element.getBoundingClientRect();\n    let parentRect = this.args.node.element.getBoundingClientRect();\n\n    let nodeTopRight = {\n      x: parentRect.right,\n      y: parentRect.top,\n    };\n\n    let leftPad = 4;\n\n    let connectorCenter = {\n      x: elementRect.left + leftPad,\n      y: elementRect.top + elementRect.height / 2,\n    };\n\n    let x = Math.round(Math.abs(connectorCenter.x - nodeTopRight.x) / scale);\n    let y = Math.round(Math.abs(connectorCenter.y - nodeTopRight.y) / scale);\n\n    return [x, y];\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{yield}}\\n\", {\"contents\":\"{{yield}}\\n\",\"moduleName\":\"embercom/components/series/node/connectors/yield-area.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/node/connectors/yield-area.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div {{on 'click' (stop-propagation (noop))}}>\\n  <Popover\\n    @showOn={{array 'click'}}\\n    @hideOn={{array 'clickout'}}\\n    @showArrow={{true}}\\n    @placement=\\\"bottom\\\"\\n    @isDisabled={{not this.seriesEditorService.isEditMode}}\\n    @fallbackPlacements={{array 'top' 'left' 'right' 'auto'}}\\n    class=\\\"flex flex-row flex-grow\\\"\\n    as |popover|\\n  >\\n    <popover.Opener>\\n      <div class=\\\"series__node__options-block-inner flex flex-row flex-grow series__node-wait-settings__block {{if this.seriesEditorService.isViewMode 'series__node__options-block-inner-view-mode'}}\\\">\\n        <div class=\\\"series__node-wait-settings\\\" data-test-explicit-wait-settings>\\n          <span data-test-description-prefix>{{ic-interface-icon 'clock' set='tiny'}} {{this.descriptionPrefix}}</span>\\n          <span data-test-description-value>{{this.descriptionValue}}</span>\\n        </div>\\n      </div>\\n    </popover.Opener>\\n    <popover.Content class=\\\"series__popover series__waiting-popover\\\">\\n      <div class=\\\"flex flex-col gap-4\\\">\\n        <Text @styling=\\\"strong\\\">Select how long to keep trying to match the rules</Text>\\n        <Form data-test-editor-popover as |form|>\\n          <form.Item as |item|>\\n            <item.RadioGroup @selected={{@seriesNode.delayBehavior}} as |group|>\\n              <group.RadioButton @value={{0}} {{on \\\"click\\\" this.disableDelay}} @label=\\\"Try to match the rules once\\\" data-test-dont-keep-checking />\\n              <group.RadioButton @value={{1}} {{on \\\"click\\\" this.enableDelay}}  @label=\\\"Try to match the rules for\\\" data-test-keep-checking />\\n            </item.RadioGroup>\\n          </form.Item>\\n        </Form>\\n        {{#if @seriesNode.isDelayable}}\\n          <Common::DayHourMinuteInput @duration={{this.evaluationTimeInMilliseconds}} @onUpdate={{this.updateNodeEvaluationTime}}/>\\n        {{else}}\\n          <Common::DayHourMinuteInput @duration={{0}} @isDisabled={{true}} />\\n        {{/if}}\\n        <Text @styling=\\\"muted\\\">\\n          <span data-test-description-suffix>\\n            {{this.descriptionSuffix}}\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://www.intercom.com/help/en/articles/4425226-troubleshooting-series\\\"\\n              @linkStyling=\\\"inline\\\"\\n              @title=\\\"Learn more\\\"\\n              @type=\\\"article\\\"\\n            />\\n          </span>\\n        </Text>\\n      </div>\\n    </popover.Content>\\n  </Popover>\\n</div>\", {\"contents\":\"<div {{on 'click' (stop-propagation (noop))}}>\\n  <Popover\\n    @showOn={{array 'click'}}\\n    @hideOn={{array 'clickout'}}\\n    @showArrow={{true}}\\n    @placement=\\\"bottom\\\"\\n    @isDisabled={{not this.seriesEditorService.isEditMode}}\\n    @fallbackPlacements={{array 'top' 'left' 'right' 'auto'}}\\n    class=\\\"flex flex-row flex-grow\\\"\\n    as |popover|\\n  >\\n    <popover.Opener>\\n      <div class=\\\"series__node__options-block-inner flex flex-row flex-grow series__node-wait-settings__block {{if this.seriesEditorService.isViewMode 'series__node__options-block-inner-view-mode'}}\\\">\\n        <div class=\\\"series__node-wait-settings\\\" data-test-explicit-wait-settings>\\n          <span data-test-description-prefix>{{ic-interface-icon 'clock' set='tiny'}} {{this.descriptionPrefix}}</span>\\n          <span data-test-description-value>{{this.descriptionValue}}</span>\\n        </div>\\n      </div>\\n    </popover.Opener>\\n    <popover.Content class=\\\"series__popover series__waiting-popover\\\">\\n      <div class=\\\"flex flex-col gap-4\\\">\\n        <Text @styling=\\\"strong\\\">Select how long to keep trying to match the rules</Text>\\n        <Form data-test-editor-popover as |form|>\\n          <form.Item as |item|>\\n            <item.RadioGroup @selected={{@seriesNode.delayBehavior}} as |group|>\\n              <group.RadioButton @value={{0}} {{on \\\"click\\\" this.disableDelay}} @label=\\\"Try to match the rules once\\\" data-test-dont-keep-checking />\\n              <group.RadioButton @value={{1}} {{on \\\"click\\\" this.enableDelay}}  @label=\\\"Try to match the rules for\\\" data-test-keep-checking />\\n            </item.RadioGroup>\\n          </form.Item>\\n        </Form>\\n        {{#if @seriesNode.isDelayable}}\\n          <Common::DayHourMinuteInput @duration={{this.evaluationTimeInMilliseconds}} @onUpdate={{this.updateNodeEvaluationTime}}/>\\n        {{else}}\\n          <Common::DayHourMinuteInput @duration={{0}} @isDisabled={{true}} />\\n        {{/if}}\\n        <Text @styling=\\\"muted\\\">\\n          <span data-test-description-suffix>\\n            {{this.descriptionSuffix}}\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://www.intercom.com/help/en/articles/4425226-troubleshooting-series\\\"\\n              @linkStyling=\\\"inline\\\"\\n              @title=\\\"Learn more\\\"\\n              @type=\\\"article\\\"\\n            />\\n          </span>\\n        </Text>\\n      </div>\\n    </popover.Content>\\n  </Popover>\\n</div>\",\"moduleName\":\"embercom/components/series/node/explicit-waiting-settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/node/explicit-waiting-settings.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { nodeDelayBehaviors } from 'embercom/models/data/matching-system/matching-constants';\nimport moment from 'moment';\nimport { inject as service } from '@ember/service';\nexport default class SeriesNodeExplicitWaitingSettingsComponent extends Component {\n  @service seriesEditorService;\n\n  get evaluationTimeInMilliseconds() {\n    return this.args.seriesNode.maxEvaluationTime * 1000;\n  }\n\n  get hasFalsePath() {\n    return this.args.graphNode.outwardEdges.some(edge => edge.dataObject.isAlternative);\n  }\n\n  get descriptionPrefix() {\n    if (this.args.seriesNode.isDelayable) {\n      return `Try to match for`;\n    } else {\n      return `Try to match`;\n    }\n  }\n\n  get descriptionValue() {\n    if (this.args.seriesNode.isDelayable) {\n      return `${this.args.seriesNode.delayDescription}`;\n    } else {\n      return `once`;\n    }\n  }\n\n  get descriptionSuffix() {\n    if (this.args.seriesNode.isDelayable) {\n      if (this.hasFalsePath) {\n        return `If the person does not match the rules after ${this.descriptionValue}, they will take the 'not matched' path.`;\n      } else {\n        return `If the person does not match the rules after ${this.descriptionValue}, they will leave this path.`;\n      }\n    } else if (this.hasFalsePath) {\n      return `If the person does not match the rules, they will take the 'not matched' path.`;\n    } else {\n      return `If the person does not match the rules, they will leave this path.`;\n    }\n  }\n\n  @action disableDelay() {\n    this.args.seriesNode.delayBehavior = nodeDelayBehaviors.noDelay;\n    this.args.seriesNode.maxEvaluationTime = -1;\n  }\n\n  @action enableDelay() {\n    this.args.seriesNode.maxEvaluationTime = moment.duration(1, 'week').asSeconds();\n    this.args.seriesNode.delayBehavior = nodeDelayBehaviors.delayable;\n  }\n\n  @action updateNodeEvaluationTime(timeInMilliseconds) {\n    this.args.seriesNode.maxEvaluationTime = timeInMilliseconds / 1000;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"series__node\\\" data-test-series-node-loading>\\n  <div class=\\\"flex flex-col flex-1 series__node__content\\\">\\n    <div class=\\\"flex flex-row gap-1 items-center mb-2 relative\\\">\\n      <div class=\\\"series__node__icon\\\" data-test-series-node-loading-icon>{{inline-svg @config.icon}}</div>\\n      <div class=\\\"series__node__object-name-label\\\">\\n        {{@config.objectLabel}}\\n      </div>\\n      <div class=\\\"flex flex-col flex-1\\\"></div>\\n    </div>\\n\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling='strong' data-test-series-node-loading-title>{{@config.title}}</Text>\\n    </div>\\n    <div class=\\\"flex flex-col flex-1\\\"></div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"series__node\\\" data-test-series-node-loading>\\n  <div class=\\\"flex flex-col flex-1 series__node__content\\\">\\n    <div class=\\\"flex flex-row gap-1 items-center mb-2 relative\\\">\\n      <div class=\\\"series__node__icon\\\" data-test-series-node-loading-icon>{{inline-svg @config.icon}}</div>\\n      <div class=\\\"series__node__object-name-label\\\">\\n        {{@config.objectLabel}}\\n      </div>\\n      <div class=\\\"flex flex-col flex-1\\\"></div>\\n    </div>\\n\\n    <div class=\\\"flex flex-col gap-1\\\">\\n      <Text @styling='strong' data-test-series-node-loading-title>{{@config.title}}</Text>\\n    </div>\\n    <div class=\\\"flex flex-col flex-1\\\"></div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/series/node/graph/loading.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/node/graph/loading.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"  <div class=\\\"\\n      series__node\\n      {{if @graphNode.isHovered 'o__hovered'}}\\n      {{if (or @graphNode.isSelected (and this.isActive this.seriesEditorService.isEditMode)) 'o__selected'}}\\n      {{if @graphNode.isDragging 'o__dragging' }}\\n      {{if this.isConnectableNode 'o__connectable'}}\\n      {{if this.seriesEditorService.isViewMode 'o__view-mode'}}\\n    \\\"\\n    {{on 'click' this.onNodeClick}}\\n    data-test-series-node\\n  >\\n    <div class=\\\"flex flex-col flex-1 series__node__content\\\">\\n      <div class=\\\"flex flex-row gap-1 items-center mb-2 relative\\\">\\n        {{#if this.showError}}\\n          <div class=\\\"series__node__icon\\\" data-test-series-node-error-icon>{{inline-svg this.errorIcon}}</div>\\n          <div class=\\\"series__node__object-name-label {{@config.objectLabelClass}}\\\">\\n            {{@config.objectLabel}}\\n          </div>\\n        {{else}}\\n          {{#if (or this.hasAccessToRequiredFeature (not @config.paywallIcon))}}\\n            <div class=\\\"series__node__icon\\\">{{inline-svg @config.icon}}</div>\\n          {{else}}\\n            <div class=\\\"series__node__icon\\\">{{inline-svg @config.paywallIcon}}</div>\\n          {{/if}}\\n          <div class=\\\"series__node__object-name-label {{@config.objectLabelClass}}\\\">\\n            <IcTooltip data-test-series-node-label\\n              @isDisabled={{not this.showEntryRuleTooltip}}\\n              @isInteractive={{true}}\\n              as |t|\\n            >\\n              <t.opener>\\n                {{@config.objectLabel}}\\n              </t.opener>\\n              <t.content data-test-series-entry-rule-tooltip>\\n                People will enter series here.\\n                <Pulse::HelpContent::Link\\n                  @href=\\\"https://www.intercom.com/help/en/articles/4425227-when-do-people-enter-and-exit-a-series\\\"\\n                  @title=\\\"Learn more\\\"\\n                  @linkStyling=\\\"inline\\\"\\n                  @type=\\\"article\\\"\\n                />\\n              </t.content>\\n            </IcTooltip>\\n          </div>\\n        {{/if}}\\n        <div class=\\\"flex flex-col flex-1\\\"></div>\\n        {{#if this.seriesEditorService.isEditMode}}\\n          <Series::Node::Actions @seriesNode={{@seriesNode}} @graphNode={{@graphNode}}/>\\n        {{/if}}\\n      </div>\\n\\n      <div class=\\\"flex flex-col gap-1\\\">\\n        <IcTooltip @isDelayed={{true}} @isDisabled={{this.hasShortTitle}} as |t|>\\n          <t.opener>\\n              {{!-- Nolaneo – There's a bug with the CSS compiler which does not allow webkit-box-orient through --}}\\n              {{!-- template-lint-disable no-inline-styles --}}\\n              <div class=\\\"series__node__title\\\" style=\\\"-webkit-box-orient: vertical;\\\">\\n                <b class=\\\"{{if this.showError 'u__one-truncated-line'}}\\\" data-test-series-node-title>\\n                  {{@seriesNode.title}}\\n                </b>\\n              </div>\\n          </t.opener>\\n          <t.content>\\n            <p>{{@seriesNode.title}}</p>\\n          </t.content>\\n        </IcTooltip>\\n\\n\\n        {{#if this.showError}}\\n          <Text @styling='small' class=\\\"series__node__error\\\" data-test-series-node-error-message>\\n            {{@seriesNode.rulesetErrors.messages.firstObject}}\\n          </Text>\\n        {{/if}}\\n      </div>\\n      <div class=\\\"flex flex-col flex-1\\\"></div>\\n\\n      {{#if (and @config.delayConfigurationComponent (not this.showError))}}\\n        {{component @config.delayConfigurationComponent.component\\n          graphNode=@graphNode\\n          seriesNode=@seriesNode\\n        }}\\n      {{/if}}\\n    </div>\\n  </div>\\n  {{#if @config.statsSummaryConfigurationComponent}}\\n    {{component @config.statsSummaryConfigurationComponent.component\\n      config=@config.statsSummaryConfigurationComponent\\n      node=@seriesNode\\n    }}\\n  {{/if}}\\n  {{#each @seriesNode.contentPreviews as |previewData|}}\\n    <span {{did-insert previewData.onLoad}} {{did-update previewData.onLoad previewData.generatedAt}}></span>\\n  {{/each}}\", {\"contents\":\"  <div class=\\\"\\n      series__node\\n      {{if @graphNode.isHovered 'o__hovered'}}\\n      {{if (or @graphNode.isSelected (and this.isActive this.seriesEditorService.isEditMode)) 'o__selected'}}\\n      {{if @graphNode.isDragging 'o__dragging' }}\\n      {{if this.isConnectableNode 'o__connectable'}}\\n      {{if this.seriesEditorService.isViewMode 'o__view-mode'}}\\n    \\\"\\n    {{on 'click' this.onNodeClick}}\\n    data-test-series-node\\n  >\\n    <div class=\\\"flex flex-col flex-1 series__node__content\\\">\\n      <div class=\\\"flex flex-row gap-1 items-center mb-2 relative\\\">\\n        {{#if this.showError}}\\n          <div class=\\\"series__node__icon\\\" data-test-series-node-error-icon>{{inline-svg this.errorIcon}}</div>\\n          <div class=\\\"series__node__object-name-label {{@config.objectLabelClass}}\\\">\\n            {{@config.objectLabel}}\\n          </div>\\n        {{else}}\\n          {{#if (or this.hasAccessToRequiredFeature (not @config.paywallIcon))}}\\n            <div class=\\\"series__node__icon\\\">{{inline-svg @config.icon}}</div>\\n          {{else}}\\n            <div class=\\\"series__node__icon\\\">{{inline-svg @config.paywallIcon}}</div>\\n          {{/if}}\\n          <div class=\\\"series__node__object-name-label {{@config.objectLabelClass}}\\\">\\n            <IcTooltip data-test-series-node-label\\n              @isDisabled={{not this.showEntryRuleTooltip}}\\n              @isInteractive={{true}}\\n              as |t|\\n            >\\n              <t.opener>\\n                {{@config.objectLabel}}\\n              </t.opener>\\n              <t.content data-test-series-entry-rule-tooltip>\\n                People will enter series here.\\n                <Pulse::HelpContent::Link\\n                  @href=\\\"https://www.intercom.com/help/en/articles/4425227-when-do-people-enter-and-exit-a-series\\\"\\n                  @title=\\\"Learn more\\\"\\n                  @linkStyling=\\\"inline\\\"\\n                  @type=\\\"article\\\"\\n                />\\n              </t.content>\\n            </IcTooltip>\\n          </div>\\n        {{/if}}\\n        <div class=\\\"flex flex-col flex-1\\\"></div>\\n        {{#if this.seriesEditorService.isEditMode}}\\n          <Series::Node::Actions @seriesNode={{@seriesNode}} @graphNode={{@graphNode}}/>\\n        {{/if}}\\n      </div>\\n\\n      <div class=\\\"flex flex-col gap-1\\\">\\n        <IcTooltip @isDelayed={{true}} @isDisabled={{this.hasShortTitle}} as |t|>\\n          <t.opener>\\n              {{!-- Nolaneo – There's a bug with the CSS compiler which does not allow webkit-box-orient through --}}\\n              {{!-- template-lint-disable no-inline-styles --}}\\n              <div class=\\\"series__node__title\\\" style=\\\"-webkit-box-orient: vertical;\\\">\\n                <b class=\\\"{{if this.showError 'u__one-truncated-line'}}\\\" data-test-series-node-title>\\n                  {{@seriesNode.title}}\\n                </b>\\n              </div>\\n          </t.opener>\\n          <t.content>\\n            <p>{{@seriesNode.title}}</p>\\n          </t.content>\\n        </IcTooltip>\\n\\n\\n        {{#if this.showError}}\\n          <Text @styling='small' class=\\\"series__node__error\\\" data-test-series-node-error-message>\\n            {{@seriesNode.rulesetErrors.messages.firstObject}}\\n          </Text>\\n        {{/if}}\\n      </div>\\n      <div class=\\\"flex flex-col flex-1\\\"></div>\\n\\n      {{#if (and @config.delayConfigurationComponent (not this.showError))}}\\n        {{component @config.delayConfigurationComponent.component\\n          graphNode=@graphNode\\n          seriesNode=@seriesNode\\n        }}\\n      {{/if}}\\n    </div>\\n  </div>\\n  {{#if @config.statsSummaryConfigurationComponent}}\\n    {{component @config.statsSummaryConfigurationComponent.component\\n      config=@config.statsSummaryConfigurationComponent\\n      node=@seriesNode\\n    }}\\n  {{/if}}\\n  {{#each @seriesNode.contentPreviews as |previewData|}}\\n    <span {{did-insert previewData.onLoad}} {{did-update previewData.onLoad previewData.generatedAt}}></span>\\n  {{/each}}\",\"moduleName\":\"embercom/components/series/node/graph/standard.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/node/graph/standard.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nconst SHOW_TRUNCATION_TOOLTIP_CHAR_COUNT = 50;\nexport default class Standard extends Component {\n  @service seriesEditorService;\n  @service appService;\n  errorIcon = 'series/content/error';\n\n  get hasShortTitle() {\n    return this.args.seriesNode.title.length < SHOW_TRUNCATION_TOOLTIP_CHAR_COUNT;\n  }\n\n  get graph() {\n    return this.seriesEditorService?.graph;\n  }\n\n  get isActive() {\n    return this.args.seriesNode === this.seriesEditorService.activeSeriesNode;\n  }\n\n  get isConnectableNode() {\n    if (!this.graph) {\n      return;\n    }\n\n    if (!this.graph.state.draggingEdge) {\n      return false;\n    }\n\n    if (this.graph.state.hoveredNodes.firstObject !== this.args.graphNode) {\n      return false;\n    }\n\n    return this.graph.hooks.canInsertEdge(\n      this.graph.state.draggingEdge.predecessor,\n      this.args.graphNode,\n    );\n  }\n\n  get hasAccessToRequiredFeature() {\n    return this.args.config.hasAccessToRequiredFeature(this.appService.app);\n  }\n\n  @action\n  onNodeClick(event) {\n    if (event.shiftKey || event.metaKey) {\n      let graph = this.seriesEditorService.graph;\n      if (graph.state.selectedNodes.includes(this.args.graphNode)) {\n        graph.state.removeSelectedNode(this.args.graphNode);\n      } else {\n        graph.state.addSelectedNode(this.args.graphNode);\n      }\n    } else {\n      this.seriesEditorService.registerActiveSeriesNode(this.args.seriesNode);\n    }\n  }\n\n  get showError() {\n    return (\n      this.seriesEditorService.canShowErrorOnNode(this.args.seriesNode) &&\n      this.args.seriesNode.hasErrors\n    );\n  }\n\n  get showEntryRuleTooltip() {\n    if (this.args.seriesNode.isCondition) {\n      return this.args.seriesNode.isStarting;\n    }\n\n    return false;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div {{on 'click' (stop-propagation (noop))}}>\\n  <Popover\\n    @showOn={{array 'click'}}\\n    @hideOn={{array 'clickout'}}\\n    @showArrow={{true}}\\n    @placement=\\\"bottom\\\"\\n    @isDisabled={{not this.seriesEditorService.isEditMode}}\\n    @fallbackPlacements={{array 'top' 'left' 'right' 'auto'}}\\n    class=\\\"flex flex-row flex-grow\\\"\\n    as |popover|\\n  >\\n    <popover.Opener>\\n      <div class=\\\"series__node__options-block-inner flex flex-row flex-grow series__node-wait-settings__block {{if this.seriesEditorService.isViewMode 'series__node__options-block-inner-view-mode'}}\\\">\\n        <div class=\\\"series__node-wait-settings\\\" data-test-implicit-wait-settings>\\n          <span data-test-description-prefix>{{ic-interface-icon 'clock' set='tiny'}} {{this.descriptionPrefix}}</span>\\n          <span data-test-description-value>\\n            <span data-test-implicit-wait-value>\\n              {{this.descriptionValue}}\\n            </span>\\n          </span>\\n        </div>\\n      </div>\\n    </popover.Opener>\\n    <popover.Content class=\\\"series__popover series__waiting-popover\\\">\\n      <div class=\\\"flex flex-col gap-4\\\">\\n        <Text @styling=\\\"strong\\\">Set how long to wait for a person to come online to deliver this message</Text>\\n        <Common::DayHourMinuteInput @duration={{this.timeOrDefaultInMilliseconds}} @onUpdate={{this.updateNodeEvaluationTime}}/>\\n        <Text @styling=\\\"muted\\\">\\n          <span data-test-description-suffix>\\n            {{this.descriptionSuffix}}\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://www.intercom.com/help/en/articles/4425226-troubleshooting-series\\\"\\n              @linkStyling=\\\"inline\\\"\\n              @title=\\\"Learn more\\\"\\n              @type=\\\"article\\\"\\n            />\\n          </span>\\n        </Text>\\n      </div>\\n    </popover.Content>\\n  </Popover>\\n</div>\", {\"contents\":\"<div {{on 'click' (stop-propagation (noop))}}>\\n  <Popover\\n    @showOn={{array 'click'}}\\n    @hideOn={{array 'clickout'}}\\n    @showArrow={{true}}\\n    @placement=\\\"bottom\\\"\\n    @isDisabled={{not this.seriesEditorService.isEditMode}}\\n    @fallbackPlacements={{array 'top' 'left' 'right' 'auto'}}\\n    class=\\\"flex flex-row flex-grow\\\"\\n    as |popover|\\n  >\\n    <popover.Opener>\\n      <div class=\\\"series__node__options-block-inner flex flex-row flex-grow series__node-wait-settings__block {{if this.seriesEditorService.isViewMode 'series__node__options-block-inner-view-mode'}}\\\">\\n        <div class=\\\"series__node-wait-settings\\\" data-test-implicit-wait-settings>\\n          <span data-test-description-prefix>{{ic-interface-icon 'clock' set='tiny'}} {{this.descriptionPrefix}}</span>\\n          <span data-test-description-value>\\n            <span data-test-implicit-wait-value>\\n              {{this.descriptionValue}}\\n            </span>\\n          </span>\\n        </div>\\n      </div>\\n    </popover.Opener>\\n    <popover.Content class=\\\"series__popover series__waiting-popover\\\">\\n      <div class=\\\"flex flex-col gap-4\\\">\\n        <Text @styling=\\\"strong\\\">Set how long to wait for a person to come online to deliver this message</Text>\\n        <Common::DayHourMinuteInput @duration={{this.timeOrDefaultInMilliseconds}} @onUpdate={{this.updateNodeEvaluationTime}}/>\\n        <Text @styling=\\\"muted\\\">\\n          <span data-test-description-suffix>\\n            {{this.descriptionSuffix}}\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://www.intercom.com/help/en/articles/4425226-troubleshooting-series\\\"\\n              @linkStyling=\\\"inline\\\"\\n              @title=\\\"Learn more\\\"\\n              @type=\\\"article\\\"\\n            />\\n          </span>\\n        </Text>\\n      </div>\\n    </popover.Content>\\n  </Popover>\\n</div>\",\"moduleName\":\"embercom/components/series/node/implicit-waiting-settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/node/implicit-waiting-settings.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport {\n  nodeDelayBehaviors,\n  defaultDelayTimes,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport moment from 'moment';\nimport { inject as service } from '@ember/service';\nimport { defaultDelayDescription } from 'embercom/lib/series/constants';\n\nexport default class SeriesNodeExplicitWaitingSettingsComponent extends Component {\n  @service seriesEditorService;\n\n  get hasAlternativePath() {\n    return this.args.graphNode.outwardEdges.some(edge => edge.dataObject.isAlternative);\n  }\n\n  get descriptionPrefix() {\n    return `Wait up to`;\n  }\n\n  get descriptionValue() {\n    if (this.args.seriesNode.isDelayable) {\n      return `${this.args.seriesNode.delayDescription}`;\n    } else {\n      return defaultDelayDescription;\n    }\n  }\n\n  get descriptionSuffix() {\n    if (this.hasAlternativePath) {\n      return `If the person still hasn’t come online after ${this.descriptionValue}, they will take the 'not online' path.`;\n    } else {\n      return `If the person still hasn’t come online after ${this.descriptionValue}, they will leave this path.`;\n    }\n  }\n\n  get timeOrDefaultInMilliseconds() {\n    if (this.args.seriesNode.delayBehavior === nodeDelayBehaviors.noDelay) {\n      return defaultDelayTimes.implicit * 1000;\n    } else {\n      return this.args.seriesNode.maxEvaluationTime * 1000;\n    }\n  }\n\n  @action disableDelay() {\n    this.args.seriesNode.delayBehavior = nodeDelayBehaviors.noDelay;\n    this.args.seriesNode.maxEvaluationTime = -1;\n  }\n\n  @action enableDelay() {\n    this.args.seriesNode.maxEvaluationTime = moment.duration(1, 'week').asSeconds();\n    this.args.seriesNode.delayBehavior = nodeDelayBehaviors.delayable;\n  }\n\n  @action updateNodeEvaluationTime(timeInMilliseconds) {\n    this.args.seriesNode.delayBehavior = nodeDelayBehaviors.delayable;\n    this.args.seriesNode.maxEvaluationTime = timeInMilliseconds / 1000;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @seriesNode.isInternal}}\\n  <div class=\\\"series__node__options-block flex flex-col\\\" data-test-condition-delay-editor>\\n    <Series::Node::ImplicitWaitingSettings\\n        @graphNode={{@graphNode}}\\n        @seriesNode={{@seriesNode}}\\n        @onPopoverChange={{this.onPopoverChange}}\\n      />\\n  </div>\\n{{/if}}\", {\"contents\":\"{{#if @seriesNode.isInternal}}\\n  <div class=\\\"series__node__options-block flex flex-col\\\" data-test-condition-delay-editor>\\n    <Series::Node::ImplicitWaitingSettings\\n        @graphNode={{@graphNode}}\\n        @seriesNode={{@seriesNode}}\\n        @onPopoverChange={{this.onPopoverChange}}\\n      />\\n  </div>\\n{{/if}}\",\"moduleName\":\"embercom/components/series/node/in-app-delay-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/node/in-app-delay-editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class SeriesNodeInAppDelayEditorComponent extends Component {\n  @tracked popoverOpen = false;\n\n  @action onPopoverChange(openState) {\n    this.popoverOpen = openState;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Series::Node::Inserters::List::Section\\n@title={{\\\"Audience to target\\\"}}\\n  @isOpen={{this.isOpen}}\\n  @insertionContext={{@insertionContext}}\\n  @inserterConfigs={{this.conditionInserterConfigs}}\\n  @connectionPoints={{this.connectionPoints}}\\n  @onInsertionStart={{this.onInsertionStart}}\\n  @onInsertionEnd={{this.onInsertionEnd}}\\n/>\\n\\n<Series::Node::Inserters::List::Section\\n  @title={{\\\"Messages to send\\\"}}\\n  @isOpen={{this.isOpen}}\\n  @insertionContext={{@insertionContext}}\\n  @inserterConfigs={{this.contentInserterConfigs}}\\n  @connectionPoints={{this.connectionPoints}}\\n  @onInsertionStart={{this.onInsertionStart}}\\n  @onInsertionEnd={{this.onInsertionEnd}}\\n/>\\n\\n<Series::Node::Inserters::List::Section\\n  @title={{\\\"Actions to take\\\"}}\\n  @isOpen={{this.isOpen}}\\n  @insertionContext={{@insertionContext}}\\n  @inserterConfigs={{this.actionsInserterConfigs}}\\n  @connectionPoints={{this.connectionPoints}}\\n  @onInsertionStart={{this.onInsertionStart}}\\n  @onInsertionEnd={{this.onInsertionEnd}}\\n/>\\n\", {\"contents\":\"<Series::Node::Inserters::List::Section\\n@title={{\\\"Audience to target\\\"}}\\n  @isOpen={{this.isOpen}}\\n  @insertionContext={{@insertionContext}}\\n  @inserterConfigs={{this.conditionInserterConfigs}}\\n  @connectionPoints={{this.connectionPoints}}\\n  @onInsertionStart={{this.onInsertionStart}}\\n  @onInsertionEnd={{this.onInsertionEnd}}\\n/>\\n\\n<Series::Node::Inserters::List::Section\\n  @title={{\\\"Messages to send\\\"}}\\n  @isOpen={{this.isOpen}}\\n  @insertionContext={{@insertionContext}}\\n  @inserterConfigs={{this.contentInserterConfigs}}\\n  @connectionPoints={{this.connectionPoints}}\\n  @onInsertionStart={{this.onInsertionStart}}\\n  @onInsertionEnd={{this.onInsertionEnd}}\\n/>\\n\\n<Series::Node::Inserters::List::Section\\n  @title={{\\\"Actions to take\\\"}}\\n  @isOpen={{this.isOpen}}\\n  @insertionContext={{@insertionContext}}\\n  @inserterConfigs={{this.actionsInserterConfigs}}\\n  @connectionPoints={{this.connectionPoints}}\\n  @onInsertionStart={{this.onInsertionStart}}\\n  @onInsertionEnd={{this.onInsertionEnd}}\\n/>\\n\",\"moduleName\":\"embercom/components/series/node/inserters/list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/node/inserters/list.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { CONNECTION_POINTS } from 'embercom/services/series-editor-service';\nimport { NODE_CATEGORIES } from 'embercom/objects/series/node-configuration';\nimport { action } from '@ember/object';\n\nexport default class SeriesNodeInserterList extends Component {\n  @service seriesEditorService;\n  connectionPoints = CONNECTION_POINTS;\n\n  get isOpen() {\n    if (this.args.isOpen === undefined) {\n      return true;\n    } else {\n      return this.args.isOpen;\n    }\n  }\n\n  get conditionInserterConfigs() {\n    return this.seriesEditorService.nodeConfigurations\n      .filter(config => config.category === NODE_CATEGORIES.condition)\n      .map(config => config.inserterConfiguration);\n  }\n\n  get contentInserterConfigs() {\n    return this.seriesEditorService.nodeConfigurations\n      .filter(config => config.category === NODE_CATEGORIES.content)\n      .map(config => config.inserterConfiguration);\n  }\n\n  get actionsInserterConfigs() {\n    return this.seriesEditorService.nodeConfigurations\n      .filter(config => config.category === NODE_CATEGORIES.action)\n      .map(config => config.inserterConfiguration);\n  }\n\n  @action onInsertionStart() {\n    if (this.args.onInsertionStart) {\n      this.args.onInsertionStart();\n    }\n  }\n\n  @action onInsertionEnd() {\n    if (this.args.onInsertionEnd) {\n      this.args.onInsertionEnd();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"series__inserter-list__section-header {{if @isOpen 'o__open'}}\\\" data-test-section-title>\\n  {{@title}}\\n</div>\\n\\n<div class=\\\"flex flex-col series__inserter-list__section\\\" data-test-inserter-list-section-inserters={{@title}}>\\n  {{#each @inserterConfigs as |inserterConfig|}}\\n    {{#if (eq @insertionContext.type 'drag-to-insert')}}\\n      <GraphEditor::Node::Inserter\\n        @graph={{get (service 'seriesEditorService') 'graph'}}\\n        @connectionPoints={{@connectionPoints}}\\n        @dataObject={{inserterConfig.placeholderGraphNodeDataObject}}\\n        @onDrag={{@onInsertionStart}}\\n        @onDrop={{@onInsertionEnd}}\\n        data-test-node-inserter-title={{inserterConfig.componentConfig.title}}\\n      >\\n        {{component inserterConfig.componentConfig.component\\n          inserterConfig=inserterConfig\\n          config=inserterConfig.componentConfig\\n          isOpen=@isOpen\\n        }}\\n      </GraphEditor::Node::Inserter>\\n    {{else if (eq @insertionContext.type 'insert-successor')}}\\n      <GraphEditor::Node::SuccessorInserter\\n        @predecessor={{@insertionContext.predecessor}}\\n        @connectionPoints={{@connectionPoints}}\\n        @nodeDataObject={{merge-objects inserterConfig.placeholderGraphNodeDataObject @insertionContext.additonalNodeDataObjectProperties}}\\n        @edgeDataObject={{@insertionContext.edgeDataObject}}\\n        @onInsert={{@onInsertionEnd}}\\n      >\\n        {{component inserterConfig.componentConfig.component\\n          inserterConfig=inserterConfig\\n          config=inserterConfig.componentConfig\\n          isOpen=@isOpen\\n        }}\\n      </GraphEditor::Node::SuccessorInserter>\\n    {{/if}}\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"series__inserter-list__section-header {{if @isOpen 'o__open'}}\\\" data-test-section-title>\\n  {{@title}}\\n</div>\\n\\n<div class=\\\"flex flex-col series__inserter-list__section\\\" data-test-inserter-list-section-inserters={{@title}}>\\n  {{#each @inserterConfigs as |inserterConfig|}}\\n    {{#if (eq @insertionContext.type 'drag-to-insert')}}\\n      <GraphEditor::Node::Inserter\\n        @graph={{get (service 'seriesEditorService') 'graph'}}\\n        @connectionPoints={{@connectionPoints}}\\n        @dataObject={{inserterConfig.placeholderGraphNodeDataObject}}\\n        @onDrag={{@onInsertionStart}}\\n        @onDrop={{@onInsertionEnd}}\\n        data-test-node-inserter-title={{inserterConfig.componentConfig.title}}\\n      >\\n        {{component inserterConfig.componentConfig.component\\n          inserterConfig=inserterConfig\\n          config=inserterConfig.componentConfig\\n          isOpen=@isOpen\\n        }}\\n      </GraphEditor::Node::Inserter>\\n    {{else if (eq @insertionContext.type 'insert-successor')}}\\n      <GraphEditor::Node::SuccessorInserter\\n        @predecessor={{@insertionContext.predecessor}}\\n        @connectionPoints={{@connectionPoints}}\\n        @nodeDataObject={{merge-objects inserterConfig.placeholderGraphNodeDataObject @insertionContext.additonalNodeDataObjectProperties}}\\n        @edgeDataObject={{@insertionContext.edgeDataObject}}\\n        @onInsert={{@onInsertionEnd}}\\n      >\\n        {{component inserterConfig.componentConfig.component\\n          inserterConfig=inserterConfig\\n          config=inserterConfig.componentConfig\\n          isOpen=@isOpen\\n        }}\\n      </GraphEditor::Node::SuccessorInserter>\\n    {{/if}}\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/series/node/inserters/list/section.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/node/inserters/list/section.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip @isDisabled={{and this.isTooltipDisabled @isOpen}} @placement=\\\"left\\\" as |t|>\\n  <t.opener>\\n  <div data-test-inserter=\\\"{{@config.title}}\\\" class=\\\"flex flex-row items-center flex-1 series__inserter-list__inserter {{if @isOpen 'o__open'}} {{if (not this.isTooltipDisabled) 'opacity-50'}}\\\">\\n      {{#if (or this.hasAccessToRequiredFeature (not @config.paywallIcon))}}\\n        {{inline-svg @config.icon class=\\\"series__inserter-list__inserter__icon\\\"}}\\n      {{else}}\\n      <Paywall @featureKey={{@config.requiredFeature}} as |paywall|>\\n      <paywall.Hover>\\n        {{inline-svg @config.paywallIcon class=\\\"series__inserter-list__inserter__icon\\\"}}\\n      </paywall.Hover>\\n      </Paywall>\\n      {{/if}}\\n      <b class=\\\"series__inserter-list__inserter__text {{if @isOpen 'o__open'}}\\\">{{@config.title}}</b>\\n    </div>\\n  </t.opener>\\n  <t.content>\\n    {{#if this.isTooltipDisabled}}\\n      {{@config.title}}\\n    {{else}}\\n      {{this.disabledTooltipContent}}\\n    {{/if}}\\n  </t.content>\\n</IcTooltip>\\n\", {\"contents\":\"<IcTooltip @isDisabled={{and this.isTooltipDisabled @isOpen}} @placement=\\\"left\\\" as |t|>\\n  <t.opener>\\n  <div data-test-inserter=\\\"{{@config.title}}\\\" class=\\\"flex flex-row items-center flex-1 series__inserter-list__inserter {{if @isOpen 'o__open'}} {{if (not this.isTooltipDisabled) 'opacity-50'}}\\\">\\n      {{#if (or this.hasAccessToRequiredFeature (not @config.paywallIcon))}}\\n        {{inline-svg @config.icon class=\\\"series__inserter-list__inserter__icon\\\"}}\\n      {{else}}\\n      <Paywall @featureKey={{@config.requiredFeature}} as |paywall|>\\n      <paywall.Hover>\\n        {{inline-svg @config.paywallIcon class=\\\"series__inserter-list__inserter__icon\\\"}}\\n      </paywall.Hover>\\n      </Paywall>\\n      {{/if}}\\n      <b class=\\\"series__inserter-list__inserter__text {{if @isOpen 'o__open'}}\\\">{{@config.title}}</b>\\n    </div>\\n  </t.opener>\\n  <t.content>\\n    {{#if this.isTooltipDisabled}}\\n      {{@config.title}}\\n    {{else}}\\n      {{this.disabledTooltipContent}}\\n    {{/if}}\\n  </t.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/series/node/inserters/standard.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/node/inserters/standard.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class SeriesNodeInserterStandard extends Component {\n  @service appService;\n\n  get hasAccessToRequiredFeature() {\n    return this.args.config.hasAccessToRequiredFeature(this.appService.app);\n  }\n\n  get isTooltipDisabled() {\n    return this.args.inserterConfig.isTooltipDisabled(this.appService.app);\n  }\n\n  get disabledTooltipContent() {\n    return this.args.inserterConfig.disabledTooltipContent();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row gap-1\\\" data-test-shortcuts>\\n  <div class=\\\"flex flex-col series__edge__shortcut__dash\\\"></div>\\n  <div class=\\\"flex flex-col mt-1 series__edge__shortcut__connector\\\">AND </div>\\n  <div class=\\\"flex flex-col series__edge__shortcut__dash\\\"></div>\\n  <div class=\\\"flex flex-col gap-1 series__edge__shortcut__wrapper\\\">\\n  {{#if (not this.expandShortcuts)}}\\n    <div class=\\\"series__edge__shortcut__content\\\">\\n      <GraphEditor::Node::SuccessorInserter\\n        @predecessor={{@node}}\\n        @connectionPoints={{this.connectionPoints}}\\n        @nodeDataObject={{this.shortcuts.firstObject.placeholderDataObject}}\\n        @edgeDataObject={{@edgeDataObject}}\\n        @onInsert={{@onInsertionEnd}}\\n      >\\n        <div class=\\\"flex flex-row series__edge__shortcut__text\\\" data-test-shortcut-inserter>\\n          <div class=\\\"series__edge__shortcut__svg\\\">{{inline-svg this.successorIcon}}</div>\\n          <div class=\\\"u__ml__5\\\" data-test-shortcut-label>{{this.shortcuts.firstObject.label}}</div>\\n        </div>\\n      </GraphEditor::Node::SuccessorInserter>\\n    </div>\\n    <div class=\\\"series__edge__shortcut__separator\\\"></div>\\n    <div class=\\\"series__edge__shortcut__content\\\">\\n      <div class=\\\"flex flex-row series__edge__shortcut__text\\\" data-test-shortcut-inserter {{on \\\"click\\\" (fn (mut this.showMore) true)}}>\\n        <div class=\\\"series__edge__shortcut__svg\\\">{{inline-svg this.successorIcon}}</div>\\n        <div class=\\\"u__ml__5\\\" data-test-shortcut-label>{{sub this.shortcuts.length 1}} MORE...</div>\\n      </div>\\n    </div>\\n  {{else}}\\n    {{#each this.shortcuts as |shortcut index|}}\\n      <div class=\\\"series__edge__shortcut__content\\\">\\n        <GraphEditor::Node::SuccessorInserter\\n          @predecessor={{@node}}\\n          @connectionPoints={{this.connectionPoints}}\\n          @nodeDataObject={{shortcut.placeholderDataObject}}\\n          @edgeDataObject={{@edgeDataObject}}\\n          @onInsert={{@onInsertionEnd}}\\n        >\\n          <div class=\\\"flex flex-row series__edge__shortcut__text\\\" data-test-shortcut-inserter>\\n            <div class=\\\"series__edge__shortcut__svg\\\">{{inline-svg this.successorIcon}}</div>\\n            <div class=\\\"u__ml__5\\\" data-test-shortcut-label>{{shortcut.label}}</div>\\n          </div>\\n        </GraphEditor::Node::SuccessorInserter>\\n      </div>\\n      {{#if (not-eq index (sub this.shortcuts.length 1))}}\\n        <div class=\\\"series__edge__shortcut__separator\\\"></div>\\n      {{/if}}\\n    {{/each}}\\n  {{/if}}\\n  </div>\\n</div>\", {\"contents\":\"<div class=\\\"flex flex-row gap-1\\\" data-test-shortcuts>\\n  <div class=\\\"flex flex-col series__edge__shortcut__dash\\\"></div>\\n  <div class=\\\"flex flex-col mt-1 series__edge__shortcut__connector\\\">AND </div>\\n  <div class=\\\"flex flex-col series__edge__shortcut__dash\\\"></div>\\n  <div class=\\\"flex flex-col gap-1 series__edge__shortcut__wrapper\\\">\\n  {{#if (not this.expandShortcuts)}}\\n    <div class=\\\"series__edge__shortcut__content\\\">\\n      <GraphEditor::Node::SuccessorInserter\\n        @predecessor={{@node}}\\n        @connectionPoints={{this.connectionPoints}}\\n        @nodeDataObject={{this.shortcuts.firstObject.placeholderDataObject}}\\n        @edgeDataObject={{@edgeDataObject}}\\n        @onInsert={{@onInsertionEnd}}\\n      >\\n        <div class=\\\"flex flex-row series__edge__shortcut__text\\\" data-test-shortcut-inserter>\\n          <div class=\\\"series__edge__shortcut__svg\\\">{{inline-svg this.successorIcon}}</div>\\n          <div class=\\\"u__ml__5\\\" data-test-shortcut-label>{{this.shortcuts.firstObject.label}}</div>\\n        </div>\\n      </GraphEditor::Node::SuccessorInserter>\\n    </div>\\n    <div class=\\\"series__edge__shortcut__separator\\\"></div>\\n    <div class=\\\"series__edge__shortcut__content\\\">\\n      <div class=\\\"flex flex-row series__edge__shortcut__text\\\" data-test-shortcut-inserter {{on \\\"click\\\" (fn (mut this.showMore) true)}}>\\n        <div class=\\\"series__edge__shortcut__svg\\\">{{inline-svg this.successorIcon}}</div>\\n        <div class=\\\"u__ml__5\\\" data-test-shortcut-label>{{sub this.shortcuts.length 1}} MORE...</div>\\n      </div>\\n    </div>\\n  {{else}}\\n    {{#each this.shortcuts as |shortcut index|}}\\n      <div class=\\\"series__edge__shortcut__content\\\">\\n        <GraphEditor::Node::SuccessorInserter\\n          @predecessor={{@node}}\\n          @connectionPoints={{this.connectionPoints}}\\n          @nodeDataObject={{shortcut.placeholderDataObject}}\\n          @edgeDataObject={{@edgeDataObject}}\\n          @onInsert={{@onInsertionEnd}}\\n        >\\n          <div class=\\\"flex flex-row series__edge__shortcut__text\\\" data-test-shortcut-inserter>\\n            <div class=\\\"series__edge__shortcut__svg\\\">{{inline-svg this.successorIcon}}</div>\\n            <div class=\\\"u__ml__5\\\" data-test-shortcut-label>{{shortcut.label}}</div>\\n          </div>\\n        </GraphEditor::Node::SuccessorInserter>\\n      </div>\\n      {{#if (not-eq index (sub this.shortcuts.length 1))}}\\n        <div class=\\\"series__edge__shortcut__separator\\\"></div>\\n      {{/if}}\\n    {{/each}}\\n  {{/if}}\\n  </div>\\n</div>\",\"moduleName\":\"embercom/components/series/node/shortcuts.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/node/shortcuts.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport {\n  objectTypes,\n  nodeDelayBehaviors,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { isNone } from '@ember/utils';\nimport { CONNECTION_POINTS } from 'embercom/services/series-editor-service';\nimport { allNodeConfigurations } from 'embercom/objects/series/configuration-list';\nimport { tracked } from '@glimmer/tracking';\nimport { contentEvents } from 'embercom/models/data/stats-system/stats-constants';\nimport moment from 'moment';\n\nconst DEFAULT_MAX_EVALUATION_TIME_IN_SECONDS = moment.duration(3, 'days').asSeconds();\n\nexport default class SeriesNodeShortcuts extends Component {\n  @service attributeService;\n  @tracked showMore = false;\n  connectionPoints = CONNECTION_POINTS;\n  successorObjectType = objectTypes.condition;\n  expandedLimit = 3;\n\n  get expandShortcuts() {\n    return this.shortcuts.length <= this.expandedLimit || this.showMore;\n  }\n\n  get node() {\n    return this.args.node.dataObject;\n  }\n\n  get shortcuts() {\n    let seriesNode = this.node;\n\n    return this.filteredContentAttributes.map(attribute => {\n      let predicate = {\n        attribute: attribute.identifier,\n        type: 'content_event',\n        comparison: 'in',\n        value: seriesNode.rulesetId,\n      };\n      let placeholderDataObject = {\n        ...this.successorInserterConfig.placeholderGraphNodeDataObject,\n        hasTemporaryEdge: true,\n        defaultParams: {\n          predicate_group: { predicates: [predicate] },\n          max_evaluation_time: DEFAULT_MAX_EVALUATION_TIME_IN_SECONDS,\n          delay_behavior: nodeDelayBehaviors.delayable,\n        },\n      };\n      let label = `${this.eventDescription(attribute.identifier)}`;\n      return { label, placeholderDataObject };\n    });\n  }\n\n  eventDescription(identifier) {\n    let customDescriptions = new Map();\n    customDescriptions.set('clicked', 'clicked link');\n    customDescriptions.set('replied', 'replied to');\n    customDescriptions.set('goal_hit', 'hit goal');\n    customDescriptions.set('collected_email', 'collected email');\n\n    let verb = contentEvents[identifier].statistic;\n    return customDescriptions.get(verb) || verb;\n  }\n\n  get contentEventAttributes() {\n    let seriesNode = this.node;\n    return this.attributeService.contentEventAttributesFor(seriesNode.objectTypes.firstObject);\n  }\n\n  get filteredContentAttributes() {\n    // For shortcuts, remove any 'received' content events. These are implied\n    // by connecting two nodes with paths so are irrelevant for the shortcuts.\n    let contentAttributes = this.contentEventAttributes.filter(\n      attribute =>\n        !attribute.identifier.endsWith('_received') && !attribute.identifier.endsWith('_viewed'),\n    );\n\n    if (!this.rulesetHasGoal) {\n      contentAttributes = contentAttributes.filter(\n        attribute => !attribute.identifier.includes('_goal_hit'),\n      );\n    }\n    return contentAttributes;\n  }\n\n  get successorInserterConfig() {\n    let conditionNodeConfig = allNodeConfigurations.filter(\n      config => config.inserterConfiguration.objectType === this.successorObjectType,\n    ).firstObject;\n    return conditionNodeConfig.inserterConfiguration;\n  }\n\n  get successorIcon() {\n    return this.successorInserterConfig.componentConfig.icon;\n  }\n\n  get rulesetHasGoal() {\n    if (this.node.hasFetchedRuleset) {\n      return !isNone(this.node.ruleset.goal);\n    } else {\n      return this.node.rulesetHasGoal;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.showNodeStat}}\\n\\n  <div class=\\\"series__node__stats-block\\\" data-test-standard-stats-summary>\\n    <Popover\\n        @showOn={{array 'mouseenter'}}\\n        @hideOn={{array 'mouseleave'}}\\n        @isDisabled={{this.disablePopover}}\\n        @showArrow={{true}}\\n        @dark={{true}}\\n        @placement=\\\"bottom\\\"\\n        @showDelay={{200}}\\n        @hideDelay={{200}}\\n        as |popover|\\n      >\\n        <popover.Opener>\\n          <Text @styling=\\\"strong\\\" class=\\\"series__node__stats-block-text\\\" data-test-standard-stats-summary-count>\\n            <span class=\\\"font-bold\\\">{{number-formatter-helper this.value}}</span>\\n          </Text>\\n          <Text class=\\\"series__node__stats-block-text\\\" data-test-standard-stats-summary-verb>\\n            {{this.verb}}\\n          </Text>\\n          {{#if (not this.disablePopover)}}\\n            {{ic-interface-icon 'small-down-arrow' solo=true}}\\n          {{/if}}\\n        </popover.Opener>\\n        <popover.Content>\\n          <ul class=\\\"list-none p-0 m-0\\\">\\n            {{#each this.statsBreakdown as |stat|}}\\n              {{#if stat.value}}\\n                <li>\\n                  <Text @styling='strong'>\\n                    <span class='text-white'>{{stat.value}}</span>\\n                  </Text>\\n                  <Text>\\n                    <span class='text-white'>{{stat.label}}</span>\\n                  </Text>\\n                </li>\\n              {{/if}}\\n            {{/each}}\\n          </ul>\\n        </popover.Content>\\n      </Popover>\\n    </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if this.showNodeStat}}\\n\\n  <div class=\\\"series__node__stats-block\\\" data-test-standard-stats-summary>\\n    <Popover\\n        @showOn={{array 'mouseenter'}}\\n        @hideOn={{array 'mouseleave'}}\\n        @isDisabled={{this.disablePopover}}\\n        @showArrow={{true}}\\n        @dark={{true}}\\n        @placement=\\\"bottom\\\"\\n        @showDelay={{200}}\\n        @hideDelay={{200}}\\n        as |popover|\\n      >\\n        <popover.Opener>\\n          <Text @styling=\\\"strong\\\" class=\\\"series__node__stats-block-text\\\" data-test-standard-stats-summary-count>\\n            <span class=\\\"font-bold\\\">{{number-formatter-helper this.value}}</span>\\n          </Text>\\n          <Text class=\\\"series__node__stats-block-text\\\" data-test-standard-stats-summary-verb>\\n            {{this.verb}}\\n          </Text>\\n          {{#if (not this.disablePopover)}}\\n            {{ic-interface-icon 'small-down-arrow' solo=true}}\\n          {{/if}}\\n        </popover.Opener>\\n        <popover.Content>\\n          <ul class=\\\"list-none p-0 m-0\\\">\\n            {{#each this.statsBreakdown as |stat|}}\\n              {{#if stat.value}}\\n                <li>\\n                  <Text @styling='strong'>\\n                    <span class='text-white'>{{stat.value}}</span>\\n                  </Text>\\n                  <Text>\\n                    <span class='text-white'>{{stat.label}}</span>\\n                  </Text>\\n                </li>\\n              {{/if}}\\n            {{/each}}\\n          </ul>\\n        </popover.Content>\\n      </Popover>\\n    </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/series/node/standard-stats-summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/node/standard-stats-summary.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class SeriesNodeStandardStatsSummaryComponent extends Component {\n  @service seriesEditorService;\n\n  get activeView() {\n    return this.seriesEditorService.activeView;\n  }\n\n  get value() {\n    switch (this.activeView) {\n      case 'seriesCompletions':\n        return this.args.node.completedCount;\n      case 'seriesDisengagements':\n        return this.args.node.disengagedCount;\n      case 'seriesExits':\n        return this.args.node.exitedCheckpointCount;\n      default:\n        return this.nonEmptyStats.firstObject?.value || this.args.node.completedCheckpointCount;\n    }\n  }\n\n  get verb() {\n    switch (this.activeView) {\n      case 'receipts':\n        return 'started';\n      case 'seriesCompletions':\n        return 'finished';\n      case 'seriesDisengagements':\n        return 'disengaged';\n      case 'seriesExits':\n        return 'exited';\n      default:\n        return this.nonEmptyStats.firstObject?.label || this.args.config.verb;\n    }\n  }\n\n  get nonEmptyStats() {\n    return this.args.node.graphConfiguration.checkpointStats.filter(stat => stat.value > 0);\n  }\n\n  get showNodeStat() {\n    if (this.seriesEditorService.isEditMode || this.seriesEditorService.series.isDraft) {\n      return false;\n    }\n\n    switch (this.activeView) {\n      case 'overview':\n        return true;\n      case 'receipts':\n        return this.args.node.isStarting;\n      case 'seriesCompletions':\n        return this.args.node.isEnding;\n      case 'seriesDisengagements':\n        return this.args.node.isInternal;\n      case 'seriesExits':\n        return this.args.node.isInternal;\n      default:\n        return false;\n    }\n  }\n\n  get statsBreakdown() {\n    return this.args.node.graphConfiguration.checkpointStats;\n  }\n\n  get disablePopover() {\n    return (\n      this.args.node.graphConfiguration.checkpointStatsOverviewValue === 0 ||\n      this.args.node.graphConfiguration.disableStatsPopover ||\n      this.nonEmptyStats.length <= 1 ||\n      this.activeView !== 'overview'\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div {{did-insert this.addConnectionPoints}}>\\n</div>\", {\"contents\":\"<div {{did-insert this.addConnectionPoints}}>\\n</div>\",\"moduleName\":\"embercom/components/series/node/surrounding-connectors.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/node/surrounding-connectors.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { seriesEdgeTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nconst NODE_WIDTH = 192;\nconst DEFAULT_OFFSET = 8;\nconst HORIZONTAL_CONNECTOR_SPACING = 32;\nexport default class SeriesNodeSurroundingConnectorsComponent extends Component {\n  get connectionPoints() {\n    return [\n      {\n        x: NODE_WIDTH / 2,\n        y: -DEFAULT_OFFSET,\n        alignment: 'top',\n        direction: 'both',\n        dataObject: { edgeTypes: [seriesEdgeTypes.primary, seriesEdgeTypes.alternative] },\n      },\n      {\n        x: NODE_WIDTH / 2 - HORIZONTAL_CONNECTOR_SPACING,\n        y: -DEFAULT_OFFSET,\n        alignment: 'top',\n        direction: 'inwards',\n        dataObject: { edgeTypes: [seriesEdgeTypes.primary, seriesEdgeTypes.alternative] },\n      },\n      {\n        x: NODE_WIDTH / 2 + HORIZONTAL_CONNECTOR_SPACING,\n        y: -DEFAULT_OFFSET,\n        alignment: 'top',\n        direction: 'outwards',\n        dataObject: { edgeTypes: [seriesEdgeTypes.alternative] },\n      },\n      {\n        x: NODE_WIDTH / 2,\n        y: DEFAULT_OFFSET,\n        alignment: 'bottom',\n        direction: 'both',\n        dataObject: { edgeTypes: [seriesEdgeTypes.primary, seriesEdgeTypes.alternative] },\n      },\n      {\n        x: NODE_WIDTH / 2 - HORIZONTAL_CONNECTOR_SPACING,\n        y: DEFAULT_OFFSET,\n        alignment: 'bottom',\n        direction: 'inwards',\n        dataObject: { edgeTypes: [seriesEdgeTypes.primary, seriesEdgeTypes.alternative] },\n      },\n      {\n        x: NODE_WIDTH / 2 + HORIZONTAL_CONNECTOR_SPACING,\n        y: DEFAULT_OFFSET,\n        alignment: 'bottom',\n        direction: 'outwards',\n        dataObject: { edgeTypes: [seriesEdgeTypes.alternative] },\n      },\n    ];\n  }\n\n  @action addConnectionPoints() {\n    this.connectionPoints.forEach(connectionPoint => {\n      this.args.node.addConnectionPoint(connectionPoint);\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<PulseCandidate::SideSheet\\n  @isOpen={{this.seriesEditorService.showRulesetEditor}}\\n  @onClose={{this.closeEditor}}\\n  class=\\\"\\n    series__editor-sheet\\n    content-editor__main\\n    {{this.sheetOptionClass}}\\n  \\\"\\n>\\n  <div\\n    {{did-insert (perform this.loadRuleset)}}\\n    {{did-insert this.addClickListener}}\\n    {{did-update this.onRulesetChanged @node}}\\n    {{will-destroy this.removeClickListener}}\\n    class=\\\"series__ruleset-editor\\\"\\n  >\\n    {{#if (and this.loadRuleset.isIdle this.ruleset)}}\\n      <ContentEditor\\n        @ruleset={{this.ruleset}}\\n        @mode={{this.seriesEditorService.mode}}\\n        @view=\\\"content\\\"\\n      />\\n    {{else}}\\n      <div class=\\\"flex flex-col justify-center items-center flex-1\\\">\\n        <div class=\\\"u__center-item\\\">\\n          <IcLoadingIndicator @size=\\\"large\\\" />\\n        </div>\\n      </div>\\n    {{/if}}\\n  </div>\\n</PulseCandidate::SideSheet>\\n\\n<IcConfirmModal data-test-cancel-confirm-modal\\n  @title=\\\"Close without saving?\\\"\\n  @onModalClose={{toggle \\\"showCancelChangesConfirmation\\\" this}}\\n  @type=\\\"destructive\\\"\\n  @confirmLabel=\\\"Close without saving\\\"\\n  @confirmAction={{this.cancelChanges}}\\n  @isOpen={{this.showCancelChangesConfirmation}}\\n>\\n  <p>\\n    You'll lose your changes to this {{this.contentEditorService.activeRulesetLink.humanReadableObjectName}} if you don't save first.\\n  </p>\\n</IcConfirmModal>\\n\\n{{#if (and this.seriesEditorService.isViewMode this.seriesEditorService.showRulesetEditor)}}\\n  <div class=\\\"side-drawer__blanket\\\" data-test-side-sheet-blanket></div>\\n{{/if}}\\n\", {\"contents\":\"<PulseCandidate::SideSheet\\n  @isOpen={{this.seriesEditorService.showRulesetEditor}}\\n  @onClose={{this.closeEditor}}\\n  class=\\\"\\n    series__editor-sheet\\n    content-editor__main\\n    {{this.sheetOptionClass}}\\n  \\\"\\n>\\n  <div\\n    {{did-insert (perform this.loadRuleset)}}\\n    {{did-insert this.addClickListener}}\\n    {{did-update this.onRulesetChanged @node}}\\n    {{will-destroy this.removeClickListener}}\\n    class=\\\"series__ruleset-editor\\\"\\n  >\\n    {{#if (and this.loadRuleset.isIdle this.ruleset)}}\\n      <ContentEditor\\n        @ruleset={{this.ruleset}}\\n        @mode={{this.seriesEditorService.mode}}\\n        @view=\\\"content\\\"\\n      />\\n    {{else}}\\n      <div class=\\\"flex flex-col justify-center items-center flex-1\\\">\\n        <div class=\\\"u__center-item\\\">\\n          <IcLoadingIndicator @size=\\\"large\\\" />\\n        </div>\\n      </div>\\n    {{/if}}\\n  </div>\\n</PulseCandidate::SideSheet>\\n\\n<IcConfirmModal data-test-cancel-confirm-modal\\n  @title=\\\"Close without saving?\\\"\\n  @onModalClose={{toggle \\\"showCancelChangesConfirmation\\\" this}}\\n  @type=\\\"destructive\\\"\\n  @confirmLabel=\\\"Close without saving\\\"\\n  @confirmAction={{this.cancelChanges}}\\n  @isOpen={{this.showCancelChangesConfirmation}}\\n>\\n  <p>\\n    You'll lose your changes to this {{this.contentEditorService.activeRulesetLink.humanReadableObjectName}} if you don't save first.\\n  </p>\\n</IcConfirmModal>\\n\\n{{#if (and this.seriesEditorService.isViewMode this.seriesEditorService.showRulesetEditor)}}\\n  <div class=\\\"side-drawer__blanket\\\" data-test-side-sheet-blanket></div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/series/ruleset-editor/sheet.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/ruleset-editor/sheet.hbs\"}});\nimport Component from '@glimmer/component';\nimport { timeout } from 'ember-concurrency';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { next } from '@ember/runloop';\nimport { addEventListener, runDisposables } from 'ember-lifeline';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class Editor extends Component {\n  @tracked ruleset;\n  @service seriesEditorService;\n  @service contentEditorService;\n  @tracked showCancelChangesConfirmation = false;\n\n  get sheetOptionClass() {\n    let contentType = this.seriesEditorService.activeSeriesNode.objectTypes.firstObject;\n    if (contentType === objectTypes.wait || contentType === objectTypes.tagger) {\n      return 'o__small';\n    }\n    if (contentType === objectTypes.condition) {\n      return 'o__medium';\n    }\n    if (contentType === objectTypes.tour) {\n      return 'o__large';\n    }\n  }\n\n  @action\n  onRulesetChanged() {\n    if (this.contentEditorService.ruleset.hasUnsavedChanges) {\n      this.showCancelChangesConfirmation = true;\n    } else {\n      this.loadRuleset.perform();\n    }\n  }\n\n  @action\n  addClickListener() {\n    next(this, () => {\n      addEventListener(this, document, 'click', this.handleDocumentClick);\n    });\n  }\n\n  @action\n  removeClickListener() {\n    runDisposables(this);\n  }\n\n  @action\n  closeEditor() {\n    if (this.contentEditorService.ruleset.hasUnsavedChanges) {\n      this.showCancelChangesConfirmation = true;\n    } else {\n      this.seriesEditorService.closeRulesetEditor();\n    }\n  }\n\n  @action\n  async cancelChanges() {\n    await this.contentEditorService.cancelRulesetChanges.perform();\n    this.seriesEditorService.closeRulesetEditor();\n    this.showCancelChangesConfirmation = false;\n  }\n\n  @task\n  *loadRuleset() {\n    yield timeout(50);\n    this.ruleset = yield this.seriesEditorService.activeSeriesNode.fetchRuleset();\n  }\n\n  handleDocumentClick(event) {\n    if (this.seriesEditorService.isViewMode) {\n      let blanket = document.querySelector('.side-drawer__blanket');\n      if (blanket.contains(event.target)) {\n        this.closeEditor();\n      }\n    } else if (this.seriesEditorService.graph.element === event.target) {\n      this.closeEditor();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<PulseCandidate::SideSheet\\n  @isOpen={{this.seriesEditorService.isShowingSettings}}\\n  @onClose={{this.onSettingsClose}}\\n  class=\\\"series__editor-sheet o__medium\\\"\\n>\\n  <div class=\\\"flex flex-col flex-1 gap-8 p-6 pt-4\\\">\\n    <div class=\\\"flex flex-row\\\">\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <h1 class=\\\"t__h1 ml-8\\\">Settings</h1>\\n      </div>\\n      <span>\\n        {{#if this.seriesEditorService.isViewMode}}\\n          <IcButtonList @align=\\\"right\\\" as |list|>\\n            <list.button data-test-series-editor-edit-button\\n              @type=\\\"primary\\\"\\n              @label=\\\"Edit\\\"\\n              {{on 'click' this.enableEditMode}}\\n            />\\n            <list.button data-test-series-editor-settings-toggle\\n              @type=\\\"secondary\\\"\\n              @icon=\\\"small-close\\\"\\n              {{on 'click' (toggle \\\"isShowingSettings\\\" this.seriesEditorService)}}\\n            />\\n          </IcButtonList>\\n        {{else}}\\n          <IcButtonList @align=\\\"right\\\" as |list|>\\n            <list.button data-test-series-editor-settings-cancel\\n              @onClick={{perform this.cancelChanges}}\\n              @type=\\\"secondary\\\"\\n              @label=\\\"Cancel\\\"\\n            />\\n            <list.button\\n              @onClick={{perform this.saveChanges}}\\n              @type=\\\"primary\\\"\\n              @label=\\\"Save Settings\\\"\\n              data-test-series-editor-settings-save\\n            />\\n          </IcButtonList>\\n        {{/if}}\\n      </span>\\n    </div>\\n    {{#if this.seriesEditorService.isEditMode}}\\n      <Series::Settings::EditMode />\\n    {{else}}\\n      <Series::Settings::ViewMode />\\n    {{/if}}\\n  </div>\\n</PulseCandidate::SideSheet>\\n\\n{{#if (and this.seriesEditorService.isViewMode this.seriesEditorService.isShowingSettings)}}\\n  <div class=\\\"side-drawer__blanket\\\" data-test-side-sheet-blanket></div>\\n{{/if}}\\n\", {\"contents\":\"<PulseCandidate::SideSheet\\n  @isOpen={{this.seriesEditorService.isShowingSettings}}\\n  @onClose={{this.onSettingsClose}}\\n  class=\\\"series__editor-sheet o__medium\\\"\\n>\\n  <div class=\\\"flex flex-col flex-1 gap-8 p-6 pt-4\\\">\\n    <div class=\\\"flex flex-row\\\">\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <h1 class=\\\"t__h1 ml-8\\\">Settings</h1>\\n      </div>\\n      <span>\\n        {{#if this.seriesEditorService.isViewMode}}\\n          <IcButtonList @align=\\\"right\\\" as |list|>\\n            <list.button data-test-series-editor-edit-button\\n              @type=\\\"primary\\\"\\n              @label=\\\"Edit\\\"\\n              {{on 'click' this.enableEditMode}}\\n            />\\n            <list.button data-test-series-editor-settings-toggle\\n              @type=\\\"secondary\\\"\\n              @icon=\\\"small-close\\\"\\n              {{on 'click' (toggle \\\"isShowingSettings\\\" this.seriesEditorService)}}\\n            />\\n          </IcButtonList>\\n        {{else}}\\n          <IcButtonList @align=\\\"right\\\" as |list|>\\n            <list.button data-test-series-editor-settings-cancel\\n              @onClick={{perform this.cancelChanges}}\\n              @type=\\\"secondary\\\"\\n              @label=\\\"Cancel\\\"\\n            />\\n            <list.button\\n              @onClick={{perform this.saveChanges}}\\n              @type=\\\"primary\\\"\\n              @label=\\\"Save Settings\\\"\\n              data-test-series-editor-settings-save\\n            />\\n          </IcButtonList>\\n        {{/if}}\\n      </span>\\n    </div>\\n    {{#if this.seriesEditorService.isEditMode}}\\n      <Series::Settings::EditMode />\\n    {{else}}\\n      <Series::Settings::ViewMode />\\n    {{/if}}\\n  </div>\\n</PulseCandidate::SideSheet>\\n\\n{{#if (and this.seriesEditorService.isViewMode this.seriesEditorService.isShowingSettings)}}\\n  <div class=\\\"side-drawer__blanket\\\" data-test-side-sheet-blanket></div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/series/settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/settings.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class SeriesSettingsComponent extends Component {\n  @service seriesEditorService;\n\n  seriesEntityType = objectTypes.series;\n\n  @action\n  onSettingsClose() {\n    this.seriesEditorService.isShowingSettings = false;\n  }\n\n  @action\n  enableEditMode() {\n    this.seriesEditorService.changeMode('edit');\n  }\n\n  defaultGoalTimeConstraint = 2160;\n\n  @task\n  *saveChanges() {\n    yield this.seriesEditorService.updateSettings.perform();\n    this.seriesEditorService.isShowingSettings = false;\n  }\n\n  @task\n  *cancelChanges() {\n    yield this.seriesEditorService.cancelSettingsChanges.perform();\n    this.seriesEditorService.isShowingSettings = false;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-series-settings-edit-mode>\\n  <Common::AccordionComponent as |accordion|>\\n    <accordion.section\\n      @name=\\\"goal\\\"\\n      @headerClass=\\\"accordion__lightweight-header o__series\\\"\\n      @shouldNotAddPaddingToBody={{true}}\\n      @lightweight={{true}}\\n      as |section| >\\n      <section.header as |header|>\\n        <Common::AccordionComponent::LightweightHeaderTitle\\n          @isOpen={{header.isOpen}}\\n          @title=\\\"Goal\\\"\\n        >\\n          <div class=\\\"flex flex-row items-center\\\">\\n            <StatsSystem::Goals::GoalSummary @goal={{this.seriesEditorService.series.goal}} />\\n          </div>\\n        </Common::AccordionComponent::LightweightHeaderTitle>\\n      </section.header>\\n      <section.body as |body|>\\n        <div class=\\\"flex flex-row justify-start gap-2\\\">\\n          <StatsSystem::Goals::GoalEditor\\n            @introText=\\\"Understand how your series drives people to take action in your product.\\\"\\n            @learnMoreLink=\\\"https://www.intercom.com/help/en/articles/4425229-measure-the-impact-of-your-series-with-goals\\\"\\n            @entity={{this.seriesEditorService.series}}\\n            @entityName=\\\"series\\\"\\n            @entityType={{this.seriesEntityType}}\\n            @defaultTimeConstraint={{this.defaultGoalTimeConstraint}}\\n          />\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n\\n    <accordion.section\\n      @name=\\\"exit-rules\\\"\\n      @headerClass=\\\"accordion__lightweight-header o__series\\\"\\n      @shouldNotAddPaddingToBody={{true}}\\n      @lightweight={{true}}\\n      as |section| >\\n      <section.header as |header|>\\n        <Common::AccordionComponent::LightweightHeaderTitle\\n          @isOpen={{header.isOpen}}\\n          @title=\\\"Exit rules\\\"\\n        >\\n          <div class=\\\"flex flex-row items-center\\\">\\n            <Series::Summaries::ExitRules::Summary />\\n          </div>\\n        </Common::AccordionComponent::LightweightHeaderTitle>\\n      </section.header>\\n      <section.body as |body|>\\n        <div class=\\\"flex flex-row justify-start gap-2\\\">\\n          <Series::ExitRules::Editor />\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n  </Common::AccordionComponent>\\n</div>\", {\"contents\":\"<div data-test-series-settings-edit-mode>\\n  <Common::AccordionComponent as |accordion|>\\n    <accordion.section\\n      @name=\\\"goal\\\"\\n      @headerClass=\\\"accordion__lightweight-header o__series\\\"\\n      @shouldNotAddPaddingToBody={{true}}\\n      @lightweight={{true}}\\n      as |section| >\\n      <section.header as |header|>\\n        <Common::AccordionComponent::LightweightHeaderTitle\\n          @isOpen={{header.isOpen}}\\n          @title=\\\"Goal\\\"\\n        >\\n          <div class=\\\"flex flex-row items-center\\\">\\n            <StatsSystem::Goals::GoalSummary @goal={{this.seriesEditorService.series.goal}} />\\n          </div>\\n        </Common::AccordionComponent::LightweightHeaderTitle>\\n      </section.header>\\n      <section.body as |body|>\\n        <div class=\\\"flex flex-row justify-start gap-2\\\">\\n          <StatsSystem::Goals::GoalEditor\\n            @introText=\\\"Understand how your series drives people to take action in your product.\\\"\\n            @learnMoreLink=\\\"https://www.intercom.com/help/en/articles/4425229-measure-the-impact-of-your-series-with-goals\\\"\\n            @entity={{this.seriesEditorService.series}}\\n            @entityName=\\\"series\\\"\\n            @entityType={{this.seriesEntityType}}\\n            @defaultTimeConstraint={{this.defaultGoalTimeConstraint}}\\n          />\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n\\n    <accordion.section\\n      @name=\\\"exit-rules\\\"\\n      @headerClass=\\\"accordion__lightweight-header o__series\\\"\\n      @shouldNotAddPaddingToBody={{true}}\\n      @lightweight={{true}}\\n      as |section| >\\n      <section.header as |header|>\\n        <Common::AccordionComponent::LightweightHeaderTitle\\n          @isOpen={{header.isOpen}}\\n          @title=\\\"Exit rules\\\"\\n        >\\n          <div class=\\\"flex flex-row items-center\\\">\\n            <Series::Summaries::ExitRules::Summary />\\n          </div>\\n        </Common::AccordionComponent::LightweightHeaderTitle>\\n      </section.header>\\n      <section.body as |body|>\\n        <div class=\\\"flex flex-row justify-start gap-2\\\">\\n          <Series::ExitRules::Editor />\\n        </div>\\n      </section.body>\\n    </accordion.section>\\n  </Common::AccordionComponent>\\n</div>\",\"moduleName\":\"embercom/components/series/settings/edit-mode.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/settings/edit-mode.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class SettingsEditMode extends Component {\n  @service seriesEditorService;\n\n  seriesEntityType = objectTypes.series;\n  defaultGoalTimeConstraint = 2160;\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col pl-8\\\" data-test-series-settings-view-mode>\\n  <ContentEditor::Summaries::StandardSummary @config={{this.goalConfig}}>\\n    <div class=\\\"text o__muted\\\" data-test-series-settings-goal-summary>\\n      <StatsSystem::Goals::GoalSummary @goal={{this.seriesEditorService.series.goal}} />\\n    </div>\\n  </ContentEditor::Summaries::StandardSummary>\\n  <ContentEditor::Summaries::StandardSummary @config={{this.exitRulesConfig}}>\\n    <div class=\\\"text o__muted\\\" data-test-series-settings-exit-rules-summary>\\n      <Series::Summaries::ExitRules::Summary />\\n    </div>\\n  </ContentEditor::Summaries::StandardSummary>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col pl-8\\\" data-test-series-settings-view-mode>\\n  <ContentEditor::Summaries::StandardSummary @config={{this.goalConfig}}>\\n    <div class=\\\"text o__muted\\\" data-test-series-settings-goal-summary>\\n      <StatsSystem::Goals::GoalSummary @goal={{this.seriesEditorService.series.goal}} />\\n    </div>\\n  </ContentEditor::Summaries::StandardSummary>\\n  <ContentEditor::Summaries::StandardSummary @config={{this.exitRulesConfig}}>\\n    <div class=\\\"text o__muted\\\" data-test-series-settings-exit-rules-summary>\\n      <Series::Summaries::ExitRules::Summary />\\n    </div>\\n  </ContentEditor::Summaries::StandardSummary>\\n</div>\\n\",\"moduleName\":\"embercom/components/series/settings/view-mode.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/settings/view-mode.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { getOwner } from '@ember/application';\nimport StandardGoalSummaryConfiguration from 'embercom/objects/series/summaries/standard-goal-summary-configuration';\nimport StandardExitRulesSummaryConfiguration from 'embercom/objects/series/summaries/standard-exit-rules-summary-configuration';\n\nexport default class SettingsViewMode extends Component {\n  @service seriesEditorService;\n\n  get goalConfig() {\n    let container = getOwner(this);\n    return StandardGoalSummaryConfiguration.create({ container });\n  }\n\n  get exitRulesConfig() {\n    let container = getOwner(this);\n    return StandardExitRulesSummaryConfiguration.create({ container });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"series__sidebar z-50 {{if this.isOpen 'o__open'}}\\\" data-test-series-sidebar data-intercom-target=\\\"series-sidebar\\\">\\n  <div class=\\\"flex flex-col\\\">\\n    <div class=\\\"flex flex-row items-center\\\">\\n      <a class=\\\"series__sidebar__chevron\\\" {{on \\\"click\\\" (fn (mut this.isOpen) (not this.isOpen))}} data-test-series-sidebar-chevron>\\n        <div class=\\\"u__center-item\\\">\\n          <span class=\\\"u__flippable {{if this.isOpen \\\"o__flipped\\\"}}\\\">\\n            {{ic-interface-icon \\\"thin-up-arrow\\\" solo=true}}\\n          </span>\\n        </div>\\n      </a>\\n    </div>\\n\\n    <Series::Node::Inserters::List\\n      @isOpen={{this.isOpen}}\\n      @onInsertionStart={{this.onInsertionStart}}\\n      @onInsertionEnd={{this.onInsertionEnd}}\\n      @insertionContext={{hash\\n        type=\\\"drag-to-insert\\\"\\n      }}\\n    />\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"series__sidebar z-50 {{if this.isOpen 'o__open'}}\\\" data-test-series-sidebar data-intercom-target=\\\"series-sidebar\\\">\\n  <div class=\\\"flex flex-col\\\">\\n    <div class=\\\"flex flex-row items-center\\\">\\n      <a class=\\\"series__sidebar__chevron\\\" {{on \\\"click\\\" (fn (mut this.isOpen) (not this.isOpen))}} data-test-series-sidebar-chevron>\\n        <div class=\\\"u__center-item\\\">\\n          <span class=\\\"u__flippable {{if this.isOpen \\\"o__flipped\\\"}}\\\">\\n            {{ic-interface-icon \\\"thin-up-arrow\\\" solo=true}}\\n          </span>\\n        </div>\\n      </a>\\n    </div>\\n\\n    <Series::Node::Inserters::List\\n      @isOpen={{this.isOpen}}\\n      @onInsertionStart={{this.onInsertionStart}}\\n      @onInsertionEnd={{this.onInsertionEnd}}\\n      @insertionContext={{hash\\n        type=\\\"drag-to-insert\\\"\\n      }}\\n    />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/series/sidebar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/sidebar.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class SeriesSidebar extends Component {\n  @tracked isOpen = true;\n  wasPreviouslyOpen = true;\n\n  @action onInsertionStart() {\n    this.wasPreviouslyOpen = this.isOpen;\n    this.isOpen = false;\n  }\n\n  @action onInsertionEnd() {\n    if (this.wasPreviouslyOpen) {\n      this.isOpen = true;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (service 'series-editor-service') as |seriesEditorService|}}\\n  <div class=\\\"series__starting-state {{if @series.nodes 'o__has-nodes'}}\\\" data-test-series-starting-state>\\n    {{#if seriesEditorService.isViewMode}}\\n      {{inline-svg 'series/starting-state-view-mode'}}\\n    {{else}}\\n      {{inline-svg 'series/starting-state'}}\\n    {{/if}}\\n  </div>\\n{{/let}}\", {\"contents\":\"{{#let (service 'series-editor-service') as |seriesEditorService|}}\\n  <div class=\\\"series__starting-state {{if @series.nodes 'o__has-nodes'}}\\\" data-test-series-starting-state>\\n    {{#if seriesEditorService.isViewMode}}\\n      {{inline-svg 'series/starting-state-view-mode'}}\\n    {{else}}\\n      {{inline-svg 'series/starting-state'}}\\n    {{/if}}\\n  </div>\\n{{/let}}\",\"moduleName\":\"embercom/components/series/starting-state.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/starting-state.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-exit-rules-summary>\\n  {{#let (service 'series-editor-service.series') as |series|}}\\n    {{#if series.exitPredicateGroup.editablePredicates}}\\n      <Series::ExitRules::Predicates @isDisabled={{true}} />\\n    {{else}}\\n      <span class=\\\"text o__muted\\\">No exit rule set</span>\\n    {{/if}}\\n  {{/let}}\\n</div>\", {\"contents\":\"<div data-test-exit-rules-summary>\\n  {{#let (service 'series-editor-service.series') as |series|}}\\n    {{#if series.exitPredicateGroup.editablePredicates}}\\n      <Series::ExitRules::Predicates @isDisabled={{true}} />\\n    {{else}}\\n      <span class=\\\"text o__muted\\\">No exit rule set</span>\\n    {{/if}}\\n  {{/let}}\\n</div>\",\"moduleName\":\"embercom/components/series/summaries/exit-rules/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/series/summaries/exit-rules/summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<td class=\\\"tbl__cell o__contains-button\\\">\\n  {{#if segment.isPredefined}}\\n    <div class=\\\"flex items-start\\\">\\n      <label class=\\\"flex-auto min-w-0 editable-text__text-itself\\\">\\n        {{segment.name}}\\n        <span class=\\\"t__light-text\\\">\\n          (Predefined Segment)\\n        </span>\\n      </label>\\n    </div>\\n  {{else}}\\n    <EditableTextComponent\\n      @text={{segment.name}}\\n      @saveAction=\\\"saveSegment\\\"\\n      @classNames=\\\"test__segment-editable-text\\\"\\n    />\\n  {{/if}}\\n</td>\\n<td class=\\\"tbl__cell\\\">\\n  {{#if isCompany}}\\n    <LinkTo\\n      @route=\\\"apps.app.companies.segments.segment\\\"\\n      @model={{segment}}\\n      class=\\\"t__em-link\\\"\\n    >\\n      See {{segment.count}} {{inflector-helper \\\"company\\\" segment.user_count pluralForm=\\\"companies\\\"}}\\n    </LinkTo>\\n  {{else}}\\n    <LinkTo\\n      @route=\\\"apps.app.users.segments.segment\\\"\\n      @model={{segment}}\\n      class=\\\"t__em-link\\\"\\n    >\\n      See {{segment.user_count}} {{inflector-helper \\\"user\\\" segment.user_count pluralForm=\\\"users\\\"}}\\n    </LinkTo>\\n  {{/if}}\\n</td>\\n<td class=\\\"tbl__cell o__contains-button\\\">\\n  {{#unless segment.isPredefined}}\\n    <IcButton\\n      @type=\\\"secondary-destructive\\\"\\n      @inCell={{true}}\\n      @iconOnly={{true}}\\n      @onClick={{action \\\"requestDeletion\\\"}}\\n      @testBindingClass=\\\"test__request-segment-deletion\\\"\\n    >\\n      {{ic-interface-icon \\\"delete\\\" solo=true}}\\n    </IcButton>\\n  {{/unless}}\\n</td>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<td class=\\\"tbl__cell o__contains-button\\\">\\n  {{#if segment.isPredefined}}\\n    <div class=\\\"flex items-start\\\">\\n      <label class=\\\"flex-auto min-w-0 editable-text__text-itself\\\">\\n        {{segment.name}}\\n        <span class=\\\"t__light-text\\\">\\n          (Predefined Segment)\\n        </span>\\n      </label>\\n    </div>\\n  {{else}}\\n    <EditableTextComponent\\n      @text={{segment.name}}\\n      @saveAction=\\\"saveSegment\\\"\\n      @classNames=\\\"test__segment-editable-text\\\"\\n    />\\n  {{/if}}\\n</td>\\n<td class=\\\"tbl__cell\\\">\\n  {{#if isCompany}}\\n    <LinkTo\\n      @route=\\\"apps.app.companies.segments.segment\\\"\\n      @model={{segment}}\\n      class=\\\"t__em-link\\\"\\n    >\\n      See {{segment.count}} {{inflector-helper \\\"company\\\" segment.user_count pluralForm=\\\"companies\\\"}}\\n    </LinkTo>\\n  {{else}}\\n    <LinkTo\\n      @route=\\\"apps.app.users.segments.segment\\\"\\n      @model={{segment}}\\n      class=\\\"t__em-link\\\"\\n    >\\n      See {{segment.user_count}} {{inflector-helper \\\"user\\\" segment.user_count pluralForm=\\\"users\\\"}}\\n    </LinkTo>\\n  {{/if}}\\n</td>\\n<td class=\\\"tbl__cell o__contains-button\\\">\\n  {{#unless segment.isPredefined}}\\n    <IcButton\\n      @type=\\\"secondary-destructive\\\"\\n      @inCell={{true}}\\n      @iconOnly={{true}}\\n      @onClick={{action \\\"requestDeletion\\\"}}\\n      @testBindingClass=\\\"test__request-segment-deletion\\\"\\n    >\\n      {{ic-interface-icon \\\"delete\\\" solo=true}}\\n    </IcButton>\\n  {{/unless}}\\n</td>\\n\",\"moduleName\":\"embercom/components/settings-segment-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings-segment-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport SegmentService from 'embercom/lib/segments/segment-service';\n\nlet SettingsSegmentComponent = Component.extend({\n  tagName: 'tr',\n  actions: {\n    requestDeletion() {\n      let modalController = 'apps/app/settings/modals/checking-dependents';\n      let segment = this.segment;\n      let segmentService = SegmentService.create({\n        appId: this.get('app.id'),\n        segment,\n      });\n      let options = { dependentObjectService: segmentService };\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('openDeleteModal', modalController, segment, options);\n    },\n    saveSegment(newName) {\n      let segment = this.segment;\n      segment.set('name', newName);\n      segment.save();\n    },\n  },\n});\n\nexport default SettingsSegmentComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<SubmenuComponent @title=\\\"Settings\\\" as |submenu|>\\n  {{submenu.header}} <submenu.sections as |sections|>\\n    <sections.section @isOpen={{isOnAppAndTeamsRoute}} as |section|>\\n      <section.title\\n        @title=\\\"General\\\"\\n        @url={{href-to this.generalSectionLink}}\\n      />\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.general\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-settings-general-link=\\\"true\\\"\\n        >\\n          General settings\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.teammates\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Teammates\\n        </LinkTo>\\n        {{#if app.canUseRoles}}\\n          <LinkTo\\n            @route=\\\"apps.app.settings.teams\\\"\\n            @current-when=\\\"apps.app.settings.teams apps.app.settings.roles\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n            data-test-settings-nav-teams-and-roles\\n          >\\n            Teams &amp; roles\\n          </LinkTo>\\n        {{else}}\\n          <LinkTo\\n            @route=\\\"apps.app.settings.teams\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Teams\\n          </LinkTo>\\n        {{/if}}\\n        <LinkTo\\n          @route=\\\"apps.app.settings.logs\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Teammate activity logs\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.office-hours\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-settings-office-hours-link=\\\"true\\\"\\n        >\\n          Office hours\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnDataRoute}} as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route={{if this.shouldRedirectToSavedRepliesSection \\\"apps.app.settings.saved-replies\\\" (if this.shouldRedirectToTagsSection \\\"apps.app.settings.tags\\\" \\\"apps.app.settings.people-segments\\\")}}\\n          class=\\\"submenu__sections__section__title__link\\\"\\n        >\\n          <div class=\\\"flex items-start\\\">\\n            <span class=\\\"flex items-start flex-initial min-w-0 min-h-0\\\">\\n              <span class=\\\"u__one-truncated-line\\\">\\n                {{app.name}}\\n              </span>\\n            </span>\\n            <span class=\\\"flex-auto flex-shrink-0 whitespace-no-wrap\\\">\\n              &nbsp;data <SubmenuSectionsSectionTitleArrow\\n                @isOpen={{isOnDataRoute}}\\n              />\\n            </span>\\n          </div>\\n        </LinkTo>\\n      </section.title>\\n      <section.items>\\n        <LinkTo\\n          @route={{if\\n            app.canUseNewTagSettings\\n            'apps.app.settings.tags-new'\\n            'apps.app.settings.tags'\\n          }}\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          {{#if app.canUseContentOrientedNavigation}}\\n            Tags\\n          {{else}}\\n            People and company tags\\n          {{/if}}\\n        </LinkTo>\\n\\n        <LinkTo\\n          @route=\\\"apps.app.settings.people-segments\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          People segments\\n        </LinkTo>\\n        {{#if app.companiesActive}}\\n          <LinkTo\\n            @route=\\\"apps.app.settings.company-segments\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Company segments\\n          </LinkTo>\\n        {{/if}}\\n        <LinkTo\\n          @route=\\\"apps.app.settings.people-data\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          People data\\n        </LinkTo>\\n        {{#if app.companiesActive}}\\n          <LinkTo\\n            @route=\\\"apps.app.settings.company-data\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Company data\\n          </LinkTo>\\n        {{/if}}\\n        {{#if (has-feature \\\"canUseConversationAttributeData\\\")}}\\n          <LinkTo\\n            @route=\\\"apps.app.settings.conversation-data\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Conversation data\\n            {{ic-stamp \\\"New\\\"}}\\n          </LinkTo>\\n        {{/if}}\\n        <LinkTo\\n          @route=\\\"apps.app.settings.qualification-settings\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Qualification settings\\n        </LinkTo>\\n        {{#if (has-feature \\\"canUseSavedRepliesManagement\\\")}}\\n          <LinkTo\\n            @route=\\\"apps.app.settings.saved-replies\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Saved replies\\n          </LinkTo>\\n        {{/if}}\\n        <LinkTo\\n          @route=\\\"apps.app.settings.events\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Events\\n        </LinkTo>\\n        {{#if app.canUseInboxSlas}}\\n          <LinkTo\\n            @route=\\\"apps.app.settings.slas\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            SLAs\\n          </LinkTo>\\n        {{/if}}\\n        <LinkTo\\n          @route=\\\"apps.app.settings.imports\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Import history\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.delete-user\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Deleting people data\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnMessagesAndEmailRoute}} as |section|>\\n      <section.title\\n        @title=\\\"Outbound\\\"\\n        @url={{href-to \\\"apps.app.settings.messaging\\\"}}\\n      />\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.messaging\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Message settings\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.senders\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Addresses & domains\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.email-forwarding\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Email forwarding\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.email-templates\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Email templates\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.universal-linking\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Universal linking\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnSpamRoute}} as |section|>\\n      <section.title\\n        @title=\\\"Spam\\\"\\n        @url={{href-to \\\"apps.app.settings.blocked-users\\\"}}\\n      />\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.blocked-users\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Blocked people\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.spam-messages\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Spam\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnInstallationRoute}} as |section|>\\n      <section.title\\n        @title=\\\"Installation\\\"\\n        @url={{href-to \\\"apps.app.settings.web\\\"}}\\n      />\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.web\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Web\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.ios\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          iOS\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.android\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Android\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnSecurityRoute}} as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.security\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n        >\\n          <span>\\n            Security{{#if showIdentityVerificationWarningIcon}}\\n              <span class=\\\"c__warning u__padt__5 u__padb__5\\\">\\n                {{ic-interface-icon \\\"alert-circle\\\"}}\\n              </span>\\n            {{/if}}\\n            <SubmenuSectionsSectionTitleArrow @isOpen={{isOnSecurityRoute}} />\\n          </span>\\n        </LinkTo>\\n      </section.title>\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.security\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Security settings\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.attachment-settings\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Attachment settings\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.identity-verification.web\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Enforce identity on web\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.identity-verification.ios\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Enforce identity on iOS\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.identity-verification.android\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Enforce identity on Android\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnDevelopersRoute}} as |section|>\\n      <section.title\\n        @title=\\\"Developers\\\"\\n        @url={{href-to \\\"apps.app.settings.webhooks\\\"}}\\n      />\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.webhooks\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Legacy Webhooks\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n          target=\\\"_blank\\\"\\n        >\\n          Developer\\n          Hub <span\\n            class=\\\"settings__developer-tools__new-window-icon text-gray\\\"\\n          >\\n            {{ic-interface-icon \\\"new-window\\\"}}\\n          </span>\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    {{#if app.canUseAdminEvents}}\\n      <sections.section @isOpen={{isOnIntercomOnlyRoute}} as |section|>\\n        <section.title\\n          @title=\\\"Intercom only\\\"\\n          @url={{href-to \\\"apps.app.settings.logs\\\"}}\\n        />\\n        <section.items>\\n          <LinkTo\\n            @route=\\\"apps.app.settings.logs\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Logs\\n          </LinkTo>\\n        </section.items>\\n      </sections.section>\\n    {{/if}}\\n  </submenu.sections>\\n</SubmenuComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<SubmenuComponent @title=\\\"Settings\\\" as |submenu|>\\n  {{submenu.header}} <submenu.sections as |sections|>\\n    <sections.section @isOpen={{isOnAppAndTeamsRoute}} as |section|>\\n      <section.title\\n        @title=\\\"General\\\"\\n        @url={{href-to this.generalSectionLink}}\\n      />\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.general\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-settings-general-link=\\\"true\\\"\\n        >\\n          General settings\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.teammates\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Teammates\\n        </LinkTo>\\n        {{#if app.canUseRoles}}\\n          <LinkTo\\n            @route=\\\"apps.app.settings.teams\\\"\\n            @current-when=\\\"apps.app.settings.teams apps.app.settings.roles\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n            data-test-settings-nav-teams-and-roles\\n          >\\n            Teams &amp; roles\\n          </LinkTo>\\n        {{else}}\\n          <LinkTo\\n            @route=\\\"apps.app.settings.teams\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Teams\\n          </LinkTo>\\n        {{/if}}\\n        <LinkTo\\n          @route=\\\"apps.app.settings.logs\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Teammate activity logs\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.office-hours\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          data-test-settings-office-hours-link=\\\"true\\\"\\n        >\\n          Office hours\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnDataRoute}} as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route={{if this.shouldRedirectToSavedRepliesSection \\\"apps.app.settings.saved-replies\\\" (if this.shouldRedirectToTagsSection \\\"apps.app.settings.tags\\\" \\\"apps.app.settings.people-segments\\\")}}\\n          class=\\\"submenu__sections__section__title__link\\\"\\n        >\\n          <div class=\\\"flex items-start\\\">\\n            <span class=\\\"flex items-start flex-initial min-w-0 min-h-0\\\">\\n              <span class=\\\"u__one-truncated-line\\\">\\n                {{app.name}}\\n              </span>\\n            </span>\\n            <span class=\\\"flex-auto flex-shrink-0 whitespace-no-wrap\\\">\\n              &nbsp;data <SubmenuSectionsSectionTitleArrow\\n                @isOpen={{isOnDataRoute}}\\n              />\\n            </span>\\n          </div>\\n        </LinkTo>\\n      </section.title>\\n      <section.items>\\n        <LinkTo\\n          @route={{if\\n            app.canUseNewTagSettings\\n            'apps.app.settings.tags-new'\\n            'apps.app.settings.tags'\\n          }}\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          {{#if app.canUseContentOrientedNavigation}}\\n            Tags\\n          {{else}}\\n            People and company tags\\n          {{/if}}\\n        </LinkTo>\\n\\n        <LinkTo\\n          @route=\\\"apps.app.settings.people-segments\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          People segments\\n        </LinkTo>\\n        {{#if app.companiesActive}}\\n          <LinkTo\\n            @route=\\\"apps.app.settings.company-segments\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Company segments\\n          </LinkTo>\\n        {{/if}}\\n        <LinkTo\\n          @route=\\\"apps.app.settings.people-data\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          People data\\n        </LinkTo>\\n        {{#if app.companiesActive}}\\n          <LinkTo\\n            @route=\\\"apps.app.settings.company-data\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Company data\\n          </LinkTo>\\n        {{/if}}\\n        {{#if (has-feature \\\"canUseConversationAttributeData\\\")}}\\n          <LinkTo\\n            @route=\\\"apps.app.settings.conversation-data\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Conversation data\\n            {{ic-stamp \\\"New\\\"}}\\n          </LinkTo>\\n        {{/if}}\\n        <LinkTo\\n          @route=\\\"apps.app.settings.qualification-settings\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Qualification settings\\n        </LinkTo>\\n        {{#if (has-feature \\\"canUseSavedRepliesManagement\\\")}}\\n          <LinkTo\\n            @route=\\\"apps.app.settings.saved-replies\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Saved replies\\n          </LinkTo>\\n        {{/if}}\\n        <LinkTo\\n          @route=\\\"apps.app.settings.events\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Events\\n        </LinkTo>\\n        {{#if app.canUseInboxSlas}}\\n          <LinkTo\\n            @route=\\\"apps.app.settings.slas\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            SLAs\\n          </LinkTo>\\n        {{/if}}\\n        <LinkTo\\n          @route=\\\"apps.app.settings.imports\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Import history\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.delete-user\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Deleting people data\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnMessagesAndEmailRoute}} as |section|>\\n      <section.title\\n        @title=\\\"Outbound\\\"\\n        @url={{href-to \\\"apps.app.settings.messaging\\\"}}\\n      />\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.messaging\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Message settings\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.senders\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Addresses & domains\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.email-forwarding\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Email forwarding\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.email-templates\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Email templates\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.universal-linking\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Universal linking\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnSpamRoute}} as |section|>\\n      <section.title\\n        @title=\\\"Spam\\\"\\n        @url={{href-to \\\"apps.app.settings.blocked-users\\\"}}\\n      />\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.blocked-users\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Blocked people\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.spam-messages\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Spam\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnInstallationRoute}} as |section|>\\n      <section.title\\n        @title=\\\"Installation\\\"\\n        @url={{href-to \\\"apps.app.settings.web\\\"}}\\n      />\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.web\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Web\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.ios\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          iOS\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.android\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Android\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnSecurityRoute}} as |section|>\\n      <section.title>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.security\\\"\\n          class=\\\"submenu__sections__section__title__link\\\"\\n        >\\n          <span>\\n            Security{{#if showIdentityVerificationWarningIcon}}\\n              <span class=\\\"c__warning u__padt__5 u__padb__5\\\">\\n                {{ic-interface-icon \\\"alert-circle\\\"}}\\n              </span>\\n            {{/if}}\\n            <SubmenuSectionsSectionTitleArrow @isOpen={{isOnSecurityRoute}} />\\n          </span>\\n        </LinkTo>\\n      </section.title>\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.security\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Security settings\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.attachment-settings\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Attachment settings\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.identity-verification.web\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Enforce identity on web\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.identity-verification.ios\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Enforce identity on iOS\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.identity-verification.android\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Enforce identity on Android\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    <sections.section @isOpen={{isOnDevelopersRoute}} as |section|>\\n      <section.title\\n        @title=\\\"Developers\\\"\\n        @url={{href-to \\\"apps.app.settings.webhooks\\\"}}\\n      />\\n      <section.items>\\n        <LinkTo\\n          @route=\\\"apps.app.settings.webhooks\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n        >\\n          Legacy Webhooks\\n        </LinkTo>\\n        <LinkTo\\n          @route=\\\"apps.app.developer-hub\\\"\\n          class=\\\"submenu__sections__section__items__item\\\"\\n          @activeClass=\\\"o__selected\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n          target=\\\"_blank\\\"\\n        >\\n          Developer\\n          Hub <span\\n            class=\\\"settings__developer-tools__new-window-icon text-gray\\\"\\n          >\\n            {{ic-interface-icon \\\"new-window\\\"}}\\n          </span>\\n        </LinkTo>\\n      </section.items>\\n    </sections.section>\\n    {{#if app.canUseAdminEvents}}\\n      <sections.section @isOpen={{isOnIntercomOnlyRoute}} as |section|>\\n        <section.title\\n          @title=\\\"Intercom only\\\"\\n          @url={{href-to \\\"apps.app.settings.logs\\\"}}\\n        />\\n        <section.items>\\n          <LinkTo\\n            @route=\\\"apps.app.settings.logs\\\"\\n            class=\\\"submenu__sections__section__items__item\\\"\\n            @activeClass=\\\"o__selected\\\"\\n          >\\n            Logs\\n          </LinkTo>\\n        </section.items>\\n      </sections.section>\\n    {{/if}}\\n  </submenu.sections>\\n</SubmenuComponent>\\n\",\"moduleName\":\"embercom/components/settings/app-settings-submenu.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/app-settings-submenu.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/no-side-effects */\nimport { match, readOnly, and, not } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport RouteRegexes from 'embercom/lib/route-regexes';\nimport BaseSettingsSubmenu from 'embercom/components/base-settings-submenu';\n\nexport default BaseSettingsSubmenu.extend({\n  appService: service(),\n  intercomEventService: service(),\n  identityVerificationRiskStateService: service(),\n  permissionsService: service(),\n  showIdentityVerificationWarningIcon: computed(\n    'identityVerificationRiskStateService.shouldShowLowNotification',\n    function() {\n      let shouldShow = this.get('identityVerificationRiskStateService.shouldShowLowNotification');\n      if (shouldShow) {\n        this.send('trackIdentityVerificationNotificationEvent', {\n          action: 'viewed',\n          object: 'sidebar',\n        });\n      }\n      return shouldShow;\n    },\n  ),\n  isOnAppAndTeamsRoute: match('internalCurrentRouteName', RouteRegexes.appSettings.appAndTeams),\n  isOnMessagesAndEmailRoute: match(\n    'internalCurrentRouteName',\n    RouteRegexes.appSettings.messagesAndEmail,\n  ),\n  isOnMessengerRoute: match('internalCurrentRouteName', RouteRegexes.appSettings.messenger),\n  isOnDataRoute: match('internalCurrentRouteName', RouteRegexes.appSettings.data),\n  isOnSpamRoute: match('internalCurrentRouteName', RouteRegexes.appSettings.spam),\n  isOnInboxRoute: match('internalCurrentRouteName', RouteRegexes.appSettings.inbox),\n  isOnInstallationRoute: match('internalCurrentRouteName', RouteRegexes.appSettings.installation),\n  isOnDevelopersRoute: match('internalCurrentRouteName', RouteRegexes.appSettings.developers),\n  isOnIntercomOnlyRoute: match('internalCurrentRouteName', RouteRegexes.appSettings.intercomOnly),\n  isOnSecurityRoute: match('internalCurrentRouteName', RouteRegexes.appSettings.security),\n  canManageSavedRepliesPermission: readOnly(\n    'app.currentAdmin.currentAppPermissions.can_manage_saved_replies',\n  ),\n  noAccessProductSettingsPermission: not(\n    'app.currentAdmin.currentAppPermissions.can_access_product_settings',\n  ),\n  shouldRedirectToTagsSection: computed(\n    'app.{currentAdmin.canManageTags,canUseTagManagement}',\n    function() {\n      if (this.app.canUseTagManagement) {\n        return this.app.currentAdmin.canManageTags;\n      }\n      return true;\n    },\n  ),\n  shouldRedirectToSavedRepliesSection: and(\n    'canManageSavedRepliesPermission',\n    'noAccessProductSettingsPermission',\n  ),\n\n  generalSectionLink: computed('permissionsService', function() {\n    return (\n      this.permissionsService.getFirstAccessibleGeneralSettingsRoute() ||\n      'apps.app.settings.general'\n    );\n  }),\n\n  actions: {\n    trackIdentityVerificationNotificationEvent(data) {\n      this.intercomEventService.trackEvent(`identity-verification-notification-${data.action}`, {\n        action: data.action,\n        object: data.object,\n        place: 'settings',\n        owner: 'growth',\n      });\n    },\n    trackIdentityVerificationNotificationEventSidebar() {\n      if (this.showIdentityVerificationWarningIcon) {\n        this.send('trackIdentityVerificationNotificationEvent', {\n          action: 'clicked',\n          object: 'sidebar',\n        });\n      }\n    },\n    requestCanManageSavedRepliesPermission() {\n      this.permissionsService.loadAllAdminsAndShowPermissionRequestModal(\n        'can_manage_saved_replies',\n      );\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<style>\\n  * {\\n    --background_select_spacer_color: #{{@pickerColorHex}};\\n  }\\n</style>\\n<div\\n  {{on \\\"click\\\" (fn @onSelect @background)}}\\n  class=\\\"background-select__background-selector-container {{this.backgroundClass}} {{if this.selected 'o__selected'}}\\\"\\n>\\n  <div class=\\\"background-select__spacer {{this.selectedClass}}\\\">\\n    <div class=\\\"background-select__background-selector {{this.backgroundClass}} {{@additionalClassNames}} {{this.selectedClass}}\\\"></div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<style>\\n  * {\\n    --background_select_spacer_color: #{{@pickerColorHex}};\\n  }\\n</style>\\n<div\\n  {{on \\\"click\\\" (fn @onSelect @background)}}\\n  class=\\\"background-select__background-selector-container {{this.backgroundClass}} {{if this.selected 'o__selected'}}\\\"\\n>\\n  <div class=\\\"background-select__spacer {{this.selectedClass}}\\\">\\n    <div class=\\\"background-select__background-selector {{this.backgroundClass}} {{@additionalClassNames}} {{this.selectedClass}}\\\"></div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/appearance/background-select-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/appearance/background-select-component.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class BackgroundSelectComponent extends Component {\n  get backgroundClass() {\n    return `o__m4__${this.args.background}`;\n  }\n\n  get selected() {\n    return this.args.background === this.args.selectedBackground;\n  }\n\n  get selectedClass() {\n    return this.selected ? 'o__selected' : '';\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { on } from '@ember/object/evented';\nimport $ from 'jquery';\nimport { reads } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { task, timeout } from 'ember-concurrency';\n\nconst KEY_CODE_HASH = 51;\nconst KEY_CODE_BACKSPACE = 8;\nconst KEY_CODE_C = 67;\nconst KEY_CODE_V = 86;\nconst KEY_CODE_X = 88;\nconst KEY_CODE_LOWER_LIMIT = 48;\nconst KEY_CODE_UPPER_LIMIT = 70;\nconst KEY_CODES_CMD = [\n  91, // Left command (Chrome & Safari)\n  93, // Right command (Chrome & Safari)\n  224, // Left & right command (Firefox)\n];\n\nexport default Component.extend({\n  tagName: 'input',\n  type: 'input',\n  maxlength: 7,\n  colorHexCodeRegex: /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,\n  attributeBindings: ['type', 'maxlength', 'value'],\n  'data-test-color-edit-component': true,\n  lastUsedColor: reads('value'),\n  invalidColor(color) {\n    return this.colorHexCodeRegex.exec(color) === null;\n  },\n  throttleColorChange: task(function*() {\n    this.changeColor();\n    yield timeout(100);\n  }).restartable(),\n  changeColor() {\n    let color = $(this.element).val();\n\n    if (!this.invalidColor(color)) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('setColor', color);\n      this.set('lastUsedColor', color);\n    }\n  },\n  isInvalidKeyCodePressed(keyCode, altKeyPressed, ctrlKeyPressed) {\n    // Handling # key\n    if (altKeyPressed && keyCode !== KEY_CODE_HASH) {\n      return true;\n    }\n\n    // Handling copy, paste, cut\n    if (\n      (ctrlKeyPressed || this.cmdKeyPressed) &&\n      (keyCode === KEY_CODE_C || keyCode === KEY_CODE_V || keyCode === KEY_CODE_X)\n    ) {\n      return false;\n    }\n\n    return (\n      (keyCode < KEY_CODE_LOWER_LIMIT || keyCode > KEY_CODE_UPPER_LIMIT) &&\n      keyCode !== KEY_CODE_BACKSPACE &&\n      !altKeyPressed\n    );\n  },\n  handleCommandKeyDown: on('keyDown', function(e) {\n    if (KEY_CODES_CMD.indexOf(e.which) !== -1) {\n      this.set('cmdKeyPressed', true);\n    }\n    return true;\n  }),\n  handleCommandKeyUp: on('keyUp', function(e) {\n    if (KEY_CODES_CMD.indexOf(e.which) !== -1) {\n      this.set('cmdKeyPressed', false);\n    }\n    return true;\n  }),\n  handleKeyUp: on('keyUp', function() {\n    this.throttleColorChange.perform();\n  }),\n  handleKeyDown: on('keyDown', function(e) {\n    if (this.isInvalidKeyCodePressed(e.which, e.altKey, e.ctrlKey)) {\n      e.preventDefault();\n      return false;\n    }\n  }),\n  handleFocusOut: on('focusOut', function() {\n    if (this.invalidColor($(this.element).val())) {\n      $(this.element).val(this.lastUsedColor);\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<Popover\\n  @showArrow={{true}}\\n  @placement=\\\"top\\\"\\n  @fallbackPlacements={{array 'bottom' 'left' 'right'}}\\n  as |popover|\\n>\\n  <popover.Opener>\\n    <div\\n      class=\\\"color-select__color-select-circle\\\"\\n      style=\\\"background-color: {{this.colorWithHashtag}}\\\"\\n      data-test-color-picker-opener\\n    ></div>\\n  </popover.Opener>\\n\\n  <popover.Content>\\n    <ColPick @value={{this._value}} @colpickLayout={{@colpickLayout}} />\\n    {{#if @colorOptions}}\\n      <div class=\\\"color-select__color-selector-layout\\\">\\n        {{#each @colorOptions as |option|}}\\n          <Settings::Appearance::ColorSelectComponent\\n            @color={{option}}\\n            @updateValue=\\\"updateValue\\\"\\n            @value={{this.value}}\\n          />\\n        {{/each}}\\n      </div>\\n    {{/if}}\\n  </popover.Content>\\n</Popover>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<Popover\\n  @showArrow={{true}}\\n  @placement=\\\"top\\\"\\n  @fallbackPlacements={{array 'bottom' 'left' 'right'}}\\n  as |popover|\\n>\\n  <popover.Opener>\\n    <div\\n      class=\\\"color-select__color-select-circle\\\"\\n      style=\\\"background-color: {{this.colorWithHashtag}}\\\"\\n      data-test-color-picker-opener\\n    ></div>\\n  </popover.Opener>\\n\\n  <popover.Content>\\n    <ColPick @value={{this._value}} @colpickLayout={{@colpickLayout}} />\\n    {{#if @colorOptions}}\\n      <div class=\\\"color-select__color-selector-layout\\\">\\n        {{#each @colorOptions as |option|}}\\n          <Settings::Appearance::ColorSelectComponent\\n            @color={{option}}\\n            @updateValue=\\\"updateValue\\\"\\n            @value={{this.value}}\\n          />\\n        {{/each}}\\n      </div>\\n    {{/if}}\\n  </popover.Content>\\n</Popover>\\n\",\"moduleName\":\"embercom/components/settings/appearance/color-picker.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/appearance/color-picker.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-observers */\nimport Component from '@ember/component';\nimport { computed, observer } from '@ember/object';\nimport { task, timeout } from 'ember-concurrency';\nimport { reads } from '@ember/object/computed';\n\nexport default Component.extend({\n  tagName: '',\n\n  _value: reads('value'),\n\n  colorWithHashtag: computed('_value', function() {\n    if (!this._value) {\n      return '#FFFFFF';\n    } else if (this._value.startsWith('#')) {\n      return this._value;\n    } else {\n      return `#${this._value}`;\n    }\n  }),\n\n  throttleValueChange: task(function*() {\n    this.send('setColor', this._value);\n    yield timeout(100);\n  }).restartable(),\n\n  handleValueChange: observer({\n    dependentKeys: ['_value'],\n\n    fn() {\n      this.throttleValueChange.perform();\n    },\n\n    sync: true,\n  }),\n\n  actions: {\n    setColor(color) {\n      if (color !== this.value) {\n        // eslint-disable-next-line ember/closure-actions\n        this.sendAction('setColor', `#${color}`);\n      }\n    },\n    updateValue(color) {\n      this.set('_value', color);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"color-select__color-selector\\\" style={{style}}></div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"color-select__color-selector\\\" style={{style}}></div>\\n\",\"moduleName\":\"embercom/components/settings/appearance/color-select-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/appearance/color-select-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { on } from '@ember/object/evented';\nimport Component from '@ember/component';\nimport { fmtStyle } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  classNames: 'color-select__color-selector-container',\n  handleClick: on('click', function() {\n    // eslint-disable-next-line ember/closure-actions\n    this.sendAction('updateValue', this.color.slice(1));\n  }),\n  style: fmtStyle('background-color: %@;', 'color'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{@onModalClose}}\\n  @width=\\\"m\\\"\\n  @isOpen={{true}}\\n  @focusElement=\\\"body\\\"\\n  data-test-attribute-creation-type-modal\\n  as |modal|\\n>\\n  <modal.header @title=\\\"What data do you want to collect?\\\" />\\n  <modal.body>\\n    <div class=\\\"flex flex-row items-center gap-4\\\">\\n      {{#if (has-feature \\\"canUseConversationAttributeData\\\")}}\\n        <div class=\\\"flex flex-col flex-1\\\">\\n          <IcCard class=\\\"attribute-creation-type-modal__card\\\" {{on \\\"click\\\" (fn @openAttributeModal 'conversation')}} data-test-conversation-attribute-creation-modal>\\n            <div class=\\\"u__centered-text-block\\\">\\n              <IcIllustrativeIcon @name=\\\"respond\\\" />\\n              <h2 class=\\\"t__h2 attribute-creation-type-modal__title\\\">Conversation data</h2>\\n              <div class=\\\"attribute-creation-type-modal__description t__light-text\\\"> e.g. type, product area, urgency etc.</div>\\n            </div>\\n          </IcCard>\\n        </div>\\n      {{/if}}\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <IcCard class=\\\"attribute-creation-type-modal__card\\\" {{on \\\"click\\\" (fn @openAttributeModal 'people')}} data-test-people-attribute-creation-modal>\\n          <div class=\\\"u__centered-text-block\\\">\\n            <IcIllustrativeIcon @name=\\\"lead-qualification\\\" />\\n            <h2 class=\\\"t__h2 attribute-creation-type-modal__title\\\">People data</h2>\\n            <div class=\\\"attribute-creation-type-modal__description t__light-text\\\"> e.g. number of purchases, VIP etc.</div>\\n          </div>\\n        </IcCard>\\n      </div>\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <IcCard class=\\\"attribute-creation-type-modal__card\\\" {{on \\\"click\\\" (fn @openAttributeModal 'company')}} data-test-company-attribute-creation-modal>\\n          <div class=\\\"u__centered-text-block\\\">\\n            <IcIllustrativeIcon @name=\\\"company\\\" />\\n            <h2 class=\\\"t__h2 attribute-creation-type-modal__title\\\">Company data</h2>\\n            <div class=\\\"attribute-creation-type-modal__description t__light-text\\\"> e.g. price plan, date subscriptions ends etc.</div>\\n          </div>\\n        </IcCard>\\n      </div>\\n    </div>\\n  </modal.body>\\n  <modal.footer class=\\\"min-h-8\\\">\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/en/articles/213\\\"\\n      @title=\\\"Learn more about data attributes\\\"\\n      @type=\\\"article\\\"\\n    />\\n  </modal.footer>\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{@onModalClose}}\\n  @width=\\\"m\\\"\\n  @isOpen={{true}}\\n  @focusElement=\\\"body\\\"\\n  data-test-attribute-creation-type-modal\\n  as |modal|\\n>\\n  <modal.header @title=\\\"What data do you want to collect?\\\" />\\n  <modal.body>\\n    <div class=\\\"flex flex-row items-center gap-4\\\">\\n      {{#if (has-feature \\\"canUseConversationAttributeData\\\")}}\\n        <div class=\\\"flex flex-col flex-1\\\">\\n          <IcCard class=\\\"attribute-creation-type-modal__card\\\" {{on \\\"click\\\" (fn @openAttributeModal 'conversation')}} data-test-conversation-attribute-creation-modal>\\n            <div class=\\\"u__centered-text-block\\\">\\n              <IcIllustrativeIcon @name=\\\"respond\\\" />\\n              <h2 class=\\\"t__h2 attribute-creation-type-modal__title\\\">Conversation data</h2>\\n              <div class=\\\"attribute-creation-type-modal__description t__light-text\\\"> e.g. type, product area, urgency etc.</div>\\n            </div>\\n          </IcCard>\\n        </div>\\n      {{/if}}\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <IcCard class=\\\"attribute-creation-type-modal__card\\\" {{on \\\"click\\\" (fn @openAttributeModal 'people')}} data-test-people-attribute-creation-modal>\\n          <div class=\\\"u__centered-text-block\\\">\\n            <IcIllustrativeIcon @name=\\\"lead-qualification\\\" />\\n            <h2 class=\\\"t__h2 attribute-creation-type-modal__title\\\">People data</h2>\\n            <div class=\\\"attribute-creation-type-modal__description t__light-text\\\"> e.g. number of purchases, VIP etc.</div>\\n          </div>\\n        </IcCard>\\n      </div>\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <IcCard class=\\\"attribute-creation-type-modal__card\\\" {{on \\\"click\\\" (fn @openAttributeModal 'company')}} data-test-company-attribute-creation-modal>\\n          <div class=\\\"u__centered-text-block\\\">\\n            <IcIllustrativeIcon @name=\\\"company\\\" />\\n            <h2 class=\\\"t__h2 attribute-creation-type-modal__title\\\">Company data</h2>\\n            <div class=\\\"attribute-creation-type-modal__description t__light-text\\\"> e.g. price plan, date subscriptions ends etc.</div>\\n          </div>\\n        </IcCard>\\n      </div>\\n    </div>\\n  </modal.body>\\n  <modal.footer class=\\\"min-h-8\\\">\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/en/articles/213\\\"\\n      @title=\\\"Learn more about data attributes\\\"\\n      @type=\\\"article\\\"\\n    />\\n  </modal.footer>\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/settings/attribute-creation-type-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/attribute-creation-type-modal.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"f__group\\\">\\n  {{#each rows as |row index|}}\\n    <Settings::Availability::TimePeriodRowComponent\\n      @row={{row}}\\n      @onDelete={{action rowRemovalAction index}}\\n    />\\n    <div class=\\\"h-2\\\"></div>\\n  {{/each}}\\n  <a\\n    id=\\\"add-time-period-row-button\\\"\\n    class=\\\"btn__tertiary\\\"\\n    data-test-add-time-period\\n    {{action \\\"addRow\\\"}}\\n  >\\n    {{#if @paywall}}\\n      <@paywall.Block>{{ic-interface-icon \\\"new\\\" color=\\\"blue\\\"}} {{addRowText}}</@paywall.Block>\\n    {{else}}\\n      {{ic-interface-icon \\\"new\\\" color=\\\"blue\\\"}} {{addRowText}}\\n    {{/if}}\\n  </a>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"f__group\\\">\\n  {{#each rows as |row index|}}\\n    <Settings::Availability::TimePeriodRowComponent\\n      @row={{row}}\\n      @onDelete={{action rowRemovalAction index}}\\n    />\\n    <div class=\\\"h-2\\\"></div>\\n  {{/each}}\\n  <a\\n    id=\\\"add-time-period-row-button\\\"\\n    class=\\\"btn__tertiary\\\"\\n    data-test-add-time-period\\n    {{action \\\"addRow\\\"}}\\n  >\\n    {{#if @paywall}}\\n      <@paywall.Block>{{ic-interface-icon \\\"new\\\" color=\\\"blue\\\"}} {{addRowText}}</@paywall.Block>\\n    {{else}}\\n      {{ic-interface-icon \\\"new\\\" color=\\\"blue\\\"}} {{addRowText}}\\n    {{/if}}\\n  </a>\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/availability/time-period-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/availability/time-period-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { readOnly, equal, or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  tagName: '',\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  defaultStartTime: 9 * 60,\n  defaultEndTime: 17 * 60,\n\n  computedAddFirstRowText: or('addFirstRowText', 'addRowText'),\n  addRowText: 'Add hours',\n  store: service(),\n  hasSingleRow: equal('rows.length', 1),\n  rowRemovalAction: ternary('hasSingleRow', 'removeLastRow', 'removeRow'),\n  disabled: false,\n\n  actions: {\n    addRow() {\n      if (this.disabled) {\n        return;\n      }\n\n      let defaultTimes = this.store.createFragment('settings/time-period', {\n        startTime: this.defaultStartTime,\n        endTime: this.defaultEndTime,\n      });\n      this.rows.pushObject(defaultTimes);\n\n      let onRowAdded = this.onRowAdded;\n      if (onRowAdded) {\n        onRowAdded();\n      }\n    },\n\n    removeRow(index) {\n      if (this.disabled) {\n        return;\n      }\n      this.rows.removeAt(index);\n\n      let onRowRemoved = this.onRowRemoved;\n      if (onRowRemoved) {\n        onRowRemoved(index);\n      }\n    },\n\n    async removeLastRow() {\n      if (this.disabled) {\n        return;\n      }\n      let onBeforeRemoveLastRow = this.onBeforeRemoveLastRow;\n      let success = !onBeforeRemoveLastRow || (await onBeforeRemoveLastRow());\n      if (success) {\n        this.send('removeRow', 0);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"layout__box o__has-columns o__centers-vertically\\\"\\n  data-test-time-period-row\\n>\\n  <span class=\\\"twk__time-period-row-periods\\\" data-test-time-period-row-period>\\n    <IcSelect\\n      @items={{availablePeriods}}\\n      @selectedValue={{row.period}}\\n      @onSelectItem={{action \\\"periodSelectionChanged\\\"}}\\n      @filterPlaceholder=\\\"Choose period\\\"\\n      @mode=\\\"block\\\"\\n    />\\n  </span>\\n  <span class=\\\"twk__time-period-row-times\\\" data-test-time-period-row-start-time>\\n    <IcSelect\\n      @items={{availableStartTimes}}\\n      @selectedValue={{row.startTime}}\\n      @onSelectItem={{action \\\"timeSelectionChanged\\\" \\\"startTime\\\"}}\\n      @filterPlaceholder=\\\"Choose start time\\\"\\n      @mode=\\\"block\\\"\\n    />\\n  </span>\\n  <span class=\\\"twk__time-period-row-divider t__light-text\\\">\\n    to\\n  </span>\\n  <span class=\\\"twk__time-period-row-times\\\" data-test-time-period-row-end-time>\\n    <IcSelect\\n      @items={{availableEndTimes}}\\n      @selectedValue={{endTime}}\\n      @onSelectItem={{action \\\"timeSelectionChanged\\\" \\\"endTime\\\"}}\\n      @filterPlaceholder=\\\"Choose end time\\\"\\n      @mode=\\\"block\\\"\\n    />\\n  </span>\\n  <span\\n    class=\\\"quick-action o__destructive\\\"\\n    data-test-time-period-row-delete\\n    {{action onDelete}}\\n  >\\n    {{ic-interface-icon \\\"trash\\\" color=\\\"black\\\" solo=true}}\\n  </span>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"layout__box o__has-columns o__centers-vertically\\\"\\n  data-test-time-period-row\\n>\\n  <span class=\\\"twk__time-period-row-periods\\\" data-test-time-period-row-period>\\n    <IcSelect\\n      @items={{availablePeriods}}\\n      @selectedValue={{row.period}}\\n      @onSelectItem={{action \\\"periodSelectionChanged\\\"}}\\n      @filterPlaceholder=\\\"Choose period\\\"\\n      @mode=\\\"block\\\"\\n    />\\n  </span>\\n  <span class=\\\"twk__time-period-row-times\\\" data-test-time-period-row-start-time>\\n    <IcSelect\\n      @items={{availableStartTimes}}\\n      @selectedValue={{row.startTime}}\\n      @onSelectItem={{action \\\"timeSelectionChanged\\\" \\\"startTime\\\"}}\\n      @filterPlaceholder=\\\"Choose start time\\\"\\n      @mode=\\\"block\\\"\\n    />\\n  </span>\\n  <span class=\\\"twk__time-period-row-divider t__light-text\\\">\\n    to\\n  </span>\\n  <span class=\\\"twk__time-period-row-times\\\" data-test-time-period-row-end-time>\\n    <IcSelect\\n      @items={{availableEndTimes}}\\n      @selectedValue={{endTime}}\\n      @onSelectItem={{action \\\"timeSelectionChanged\\\" \\\"endTime\\\"}}\\n      @filterPlaceholder=\\\"Choose end time\\\"\\n      @mode=\\\"block\\\"\\n    />\\n  </span>\\n  <span\\n    class=\\\"quick-action o__destructive\\\"\\n    data-test-time-period-row-delete\\n    {{action onDelete}}\\n  >\\n    {{ic-interface-icon \\\"trash\\\" color=\\\"black\\\" solo=true}}\\n  </span>\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/availability/time-period-row-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/availability/time-period-row-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { readOnly, gt, equal } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport TimePeriod from 'embercom/models/settings/time-period';\nimport TimesByHalfHour from 'embercom/models/data/times-by-half-hour';\nimport TimePeriods from 'embercom/models/data/time-periods';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  tagName: '',\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  availablePeriods: TimePeriods,\n  availableStartTimes: TimesByHalfHour,\n  availableEndTimes: computed('row.startTime', function() {\n    let startTime = this.get('row.startTime');\n    return TimesByHalfHour.filter(time => time.value > startTime);\n  }),\n  endTime: computed('row.startTime', 'row.endTime', function() {\n    let startTime = this.get('row.startTime');\n    let endTime = this.get('row.endTime');\n    if (endTime <= startTime) {\n      return undefined;\n    }\n    return endTime;\n  }),\n  hasTimes: gt('availableTimes.length', 0),\n  hasSingleRow: equal('availableTimes.length', 1),\n  rowRemovalAction: ternary('hasSingleRow', 'removeLastRow', 'removeRow'),\n\n  actions: {\n    timeSelectionChanged(key, value) {\n      let row = this.row;\n      row.set(key, value);\n    },\n\n    periodSelectionChanged(value) {\n      let row = this.row;\n      let periodValues = TimePeriod.periodValueMapping[value];\n      row.setProperties(periodValues);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if displayEmptyState}}\\n  {{#unless isInitializing}}\\n    <IcEmptyState\\n      @icon=\\\"people\\\"\\n      @title=\\\"No blocked people\\\"\\n      @description=\\\"To block a person from sending messages, click the block button at the dropdown next to a person’s profile.\\\"\\n    />\\n  {{/unless}}\\n{{else}}\\n  <IcTable\\n    @data={{this.blockedUsers}}\\n    @onLoadMore={{action \\\"nextPage\\\"}}\\n    @canLoadMore={{not this.hasReachedLastPage}}\\n    @isLoading={{and this.isLoading this.hasEmptyItemList}}\\n    @isLoadingMore={{and this.isLoading (not this.hasEmptyItemList)}}\\n    @loadingRowCount={{this.pageVars.per_page}}\\n    class=\\\"mb-8\\\"\\n    @columns={{array\\n      (hash label=\\\"Name\\\" valuePath=\\\"nameOrEmail\\\" type=\\\"avatar-with-text\\\")\\n      (hash label=\\\"Email\\\" valuePath=\\\"email\\\")\\n      (hash label=\\\"Blocked by\\\" valuePath=\\\"blockedBy.display_as\\\")\\n      (hash label=\\\"Blocked at\\\" valuePath=\\\"blockedAt\\\")\\n    }} as |table|\\n  >\\n    <table.rows as |row|>\\n      {{#let row.data as |blockedUser|}}\\n        <row.actionCell\\n          @valuePath=\\\"nameOrEmail\\\"\\n          @rowActions={{array\\n            (hash label=\\\"Unblock\\\" onClick=(action unblockUser blockedUser))\\n          }}\\n        >\\n          <span class=\\\"avatar__container o__s\\\">\\n            {{ic-avatar direct=blockedUser.avatarData size=\\\"s\\\" contained=true}}\\n            <span class=\\\"whitespace-no-wrap text-gray\\\">\\n              {{blockedUser.nameOrEmail}}\\n            </span>\\n          </span>\\n        </row.actionCell>\\n        <row.cell @valuePath=\\\"email\\\">\\n          {{#if blockedUser.hasEmail}}\\n            <span class=\\\"whitespace-no-wrap\\\">\\n              {{blockedUser.email}}\\n            </span>\\n          {{else}}\\n            <span class=\\\"text-gray\\\">\\n              Unknown\\n            </span>\\n          {{/if}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"blockedBy.display_as\\\">\\n          {{#if blockedUser.blockedByAutomation}}\\n            <span class=\\\"o__s whitespace-no-wrap\\\">\\n              Automation\\n            </span>\\n          {{else}}\\n            <span class=\\\"avatar__container o__s\\\">\\n              {{ic-avatar model=blockedUser.blockedBy size=\\\"s\\\" contained=true}}\\n              <span class=\\\"whitespace-no-wrap\\\">\\n                {{blockedUser.blockedBy.display_as}}\\n              </span>\\n            </span>\\n          {{/if}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"blockedAt\\\">\\n          <CreatedAtWithTooltip @datetime={{blockedUser.blockedAt}} @notInInbox={{true}}/>\\n        </row.cell>\\n      {{/let}}\\n    </table.rows>\\n  </IcTable>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if displayEmptyState}}\\n  {{#unless isInitializing}}\\n    <IcEmptyState\\n      @icon=\\\"people\\\"\\n      @title=\\\"No blocked people\\\"\\n      @description=\\\"To block a person from sending messages, click the block button at the dropdown next to a person’s profile.\\\"\\n    />\\n  {{/unless}}\\n{{else}}\\n  <IcTable\\n    @data={{this.blockedUsers}}\\n    @onLoadMore={{action \\\"nextPage\\\"}}\\n    @canLoadMore={{not this.hasReachedLastPage}}\\n    @isLoading={{and this.isLoading this.hasEmptyItemList}}\\n    @isLoadingMore={{and this.isLoading (not this.hasEmptyItemList)}}\\n    @loadingRowCount={{this.pageVars.per_page}}\\n    class=\\\"mb-8\\\"\\n    @columns={{array\\n      (hash label=\\\"Name\\\" valuePath=\\\"nameOrEmail\\\" type=\\\"avatar-with-text\\\")\\n      (hash label=\\\"Email\\\" valuePath=\\\"email\\\")\\n      (hash label=\\\"Blocked by\\\" valuePath=\\\"blockedBy.display_as\\\")\\n      (hash label=\\\"Blocked at\\\" valuePath=\\\"blockedAt\\\")\\n    }} as |table|\\n  >\\n    <table.rows as |row|>\\n      {{#let row.data as |blockedUser|}}\\n        <row.actionCell\\n          @valuePath=\\\"nameOrEmail\\\"\\n          @rowActions={{array\\n            (hash label=\\\"Unblock\\\" onClick=(action unblockUser blockedUser))\\n          }}\\n        >\\n          <span class=\\\"avatar__container o__s\\\">\\n            {{ic-avatar direct=blockedUser.avatarData size=\\\"s\\\" contained=true}}\\n            <span class=\\\"whitespace-no-wrap text-gray\\\">\\n              {{blockedUser.nameOrEmail}}\\n            </span>\\n          </span>\\n        </row.actionCell>\\n        <row.cell @valuePath=\\\"email\\\">\\n          {{#if blockedUser.hasEmail}}\\n            <span class=\\\"whitespace-no-wrap\\\">\\n              {{blockedUser.email}}\\n            </span>\\n          {{else}}\\n            <span class=\\\"text-gray\\\">\\n              Unknown\\n            </span>\\n          {{/if}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"blockedBy.display_as\\\">\\n          {{#if blockedUser.blockedByAutomation}}\\n            <span class=\\\"o__s whitespace-no-wrap\\\">\\n              Automation\\n            </span>\\n          {{else}}\\n            <span class=\\\"avatar__container o__s\\\">\\n              {{ic-avatar model=blockedUser.blockedBy size=\\\"s\\\" contained=true}}\\n              <span class=\\\"whitespace-no-wrap\\\">\\n                {{blockedUser.blockedBy.display_as}}\\n              </span>\\n            </span>\\n          {{/if}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"blockedAt\\\">\\n          <CreatedAtWithTooltip @datetime={{blockedUser.blockedAt}} @notInInbox={{true}}/>\\n        </row.cell>\\n      {{/let}}\\n    </table.rows>\\n  </IcTable>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/settings/blocked-user-list-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/blocked-user-list-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { readOnly, alias, and } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport UserOrCompanyListComponentBase from 'embercom/components/base/user-or-company-list-base';\nimport { task } from 'ember-concurrency';\n\nexport default UserOrCompanyListComponentBase.extend({\n  classNames: ['layout__box', 'o__has-rows', 'o__flexes-to-1'],\n  appService: service(),\n  app: readOnly('appService.app'),\n  store: service(),\n  responseArrayName: 'blockedUsers',\n  items: alias('blockedUsers'),\n  displayEmptyState: and('isNotLoading', 'hasEmptyItemList'),\n  hasReachedLastPage: false,\n  isLoading: true,\n\n  // Called in the nextPage action defined in UserOrCompanyListComponentBase\n  searchFunction(_app, _predicates, options) {\n    return this._searchFunction.perform(options);\n  },\n\n  _searchFunction: task(function*(options) {\n    let blockedUsers = yield this.store.query('blocked-user', {\n      page: options.page || 1,\n      per_page: options.per_page || 30,\n    });\n\n    let { page: currentPage, total_pages: lastPage } = blockedUsers.meta;\n    if (currentPage === lastPage) {\n      this.set('hasReachedLastPage', true);\n    }\n\n    return {\n      blockedUsers,\n      totalCount: (blockedUsers.meta && blockedUsers.meta.total_count) || 0,\n    };\n  }).drop(),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcModal @onModalClose={{@onModalClose}} @width=\\\"m\\\" @isOpen={{@isOpen}} @focusElement=\\\"body\\\" as |modal|>\\n    <modal.header @title=\\\"Invite teammates\\\" />\\n    <modal.body>\\n      <div class=\\\"flex flex-col\\\">\\n        <Paragraph class=\\\"pb-3\\\">\\n          To import several contacts at once, your file must be a CSV. You only need to have one column with their email addresses. You'll assign permissions later.\\n        </Paragraph>\\n        {{#if @seatInfo}}\\n          <Paywall @pricingMetric=\\\"latest_daily_admin_count\\\" @featureUsage={{@seatInfo.numberOfSeatsInUseAfter}} as |paywall|>\\n            <paywall.Hover @customFeatureText=\\\"Add more teammates and more\\\">\\n              <Importers::TeammateUploadComponent\\n                @isDisabled={{paywall.isActive}}\\n                @fileSizeLimitInMegabytes={{1}}\\n                @file={{this.file}}\\n                @fileIsValid={{this.fileIsValid}}\\n                @fileFailedToUpload={{gt this.parsingErrorMessage.length 0}}\\n                @uploadErrorMessage={{this.parsingErrorMessage}}\\n              />\\n            </paywall.Hover>\\n          </Paywall>\\n        {{else}}\\n          <Importers::TeammateUploadComponent\\n            @fileSizeLimitInMegabytes={{1}}\\n            @file={{this.file}}\\n            @fileIsValid={{this.fileIsValid}}\\n            @fileFailedToUpload={{gt this.parsingErrorMessage.length 0}}\\n            @uploadErrorMessage={{this.parsingErrorMessage}}\\n          />\\n        {{/if}}\\n      </div>\\n    </modal.body>\\n    <modal.footer\\n      @primaryButton={{hash\\n        label=\\\"Next\\\"\\n        disabled=(not this.fileIsValid)\\n        action=(action \\\"parseCsvFile\\\")\\n      }}\\n      @secondaryButton={{hash\\n        label=\\\"Cancel\\\"\\n        action=@onModalClose\\n      }}\\n    />\\n</IcModal>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcModal @onModalClose={{@onModalClose}} @width=\\\"m\\\" @isOpen={{@isOpen}} @focusElement=\\\"body\\\" as |modal|>\\n    <modal.header @title=\\\"Invite teammates\\\" />\\n    <modal.body>\\n      <div class=\\\"flex flex-col\\\">\\n        <Paragraph class=\\\"pb-3\\\">\\n          To import several contacts at once, your file must be a CSV. You only need to have one column with their email addresses. You'll assign permissions later.\\n        </Paragraph>\\n        {{#if @seatInfo}}\\n          <Paywall @pricingMetric=\\\"latest_daily_admin_count\\\" @featureUsage={{@seatInfo.numberOfSeatsInUseAfter}} as |paywall|>\\n            <paywall.Hover @customFeatureText=\\\"Add more teammates and more\\\">\\n              <Importers::TeammateUploadComponent\\n                @isDisabled={{paywall.isActive}}\\n                @fileSizeLimitInMegabytes={{1}}\\n                @file={{this.file}}\\n                @fileIsValid={{this.fileIsValid}}\\n                @fileFailedToUpload={{gt this.parsingErrorMessage.length 0}}\\n                @uploadErrorMessage={{this.parsingErrorMessage}}\\n              />\\n            </paywall.Hover>\\n          </Paywall>\\n        {{else}}\\n          <Importers::TeammateUploadComponent\\n            @fileSizeLimitInMegabytes={{1}}\\n            @file={{this.file}}\\n            @fileIsValid={{this.fileIsValid}}\\n            @fileFailedToUpload={{gt this.parsingErrorMessage.length 0}}\\n            @uploadErrorMessage={{this.parsingErrorMessage}}\\n          />\\n        {{/if}}\\n      </div>\\n    </modal.body>\\n    <modal.footer\\n      @primaryButton={{hash\\n        label=\\\"Next\\\"\\n        disabled=(not this.fileIsValid)\\n        action=(action \\\"parseCsvFile\\\")\\n      }}\\n      @secondaryButton={{hash\\n        label=\\\"Cancel\\\"\\n        action=@onModalClose\\n      }}\\n    />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/settings/bulk-invite-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/bulk-invite-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport csvParser from 'papaparse';\nimport { Promise as EmberPromise } from 'rsvp';\nimport { inject as service } from '@ember/service';\n\nconst MAXIMUM_NUMBER_OF_LINES_TO_PARSE = 1000;\n\nexport default class BulkInviteModal extends Component {\n  @service router;\n  @service intercomEventService;\n\n  @tracked file = null;\n  @tracked fileIsValid = false;\n  @tracked parsingErrorMessage = '';\n\n  constructor() {\n    super(...arguments);\n    this.file = null;\n  }\n\n  async _parseCsvFile(file) {\n    // the CSV parser uses callbacks, so this is just a shim so we can use it as a Promise\n    return new EmberPromise((resolve, reject) => {\n      let complete = results => {\n        if (results.errors.length) {\n          // An UndetectableDelimiter happens with single column CSV files (because no line contains a ,)\n          if (results.errors.any(error => error.code !== 'UndetectableDelimiter')) {\n            reject(results);\n          }\n        }\n        resolve(results);\n      };\n      csvParser.parse(file, { complete, preview: MAXIMUM_NUMBER_OF_LINES_TO_PARSE, error: reject });\n    });\n  }\n\n  @action\n  async parseCsvFile() {\n    try {\n      this.parsingErrorMessage = '';\n      let results = await this._parseCsvFile(this.file);\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'csv-file-parsed',\n        object: 'teammate-invite',\n        place: 'teammate-list',\n        numberOfLinesParsed: results.data.length,\n      });\n\n      if (results.data.length === 0) {\n        throw new Error('The file contained no data');\n      }\n\n      this.args.onModalClose();\n\n      let transition = this.router.transitionTo('apps.app.settings.teammates.invite.csv-import');\n      transition.data.parsedCsv = results;\n    } catch (error) {\n      console.error(error);\n      this.parsingErrorMessage = error.message || 'There was a problem processing this file.';\n      this.fileIsValid = false;\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n  classNames: ['layout__box'],\n  classNameBindings: [\n    'flexes:o__flexes-to-1',\n    'flexes:o__scrolls',\n    'hasPadding:u__padt__20',\n    'hasPadding:u__padb__20',\n    'hasPadding:u__padl__30',\n    'hasPadding:u__padr__30',\n    'jsBindingClass',\n  ],\n  hasPadding: true,\n  flexes: true,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall\\n  @featureKey='activity_logs'\\n  as |paywall|\\n>\\n  <paywall.Splash\\n    @title=\\\"See what your teammates are doing in Intercom\\\"\\n    @description=\\\"Track your colleagues around Intercom, see what they're up to!\\\"\\n    @imgSrc=\\\"/assets/images/activity_logs/activity_logs.png\\\"\\n  >\\n    {{#if (or notValidRequest query.failedLoading)}}\\n      <div class=\\\"h-2\\\"></div>\\n      {{#if notValidRequest}}\\n        <IcBanner @type=\\\"warning\\\">\\n          You are requesting <strong>{{requestedDays}} days</strong>, but the current limit is <strong>{{maxDays}} days</strong>.\\n          Please select a shorter date range\\n        </IcBanner>\\n      {{else if query.failedLoading}}\\n        <IcBanner @type=\\\"error\\\">\\n          An error occurred, <a {{action load}}> retry</a>\\n        </IcBanner>\\n      {{/if}}\\n      <div class=\\\"h-5\\\"></div>\\n    {{/if}}\\n    <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n      <span class=\\\"t__label u__mr__10\\\">\\n        Filter by\\n      </span>\\n      {{!-- template-lint-disable intercom/no-legacy-datepicker --}}\\n      <CalendarDatePickerComponent\\n        @dateFormat=\\\"MMM DD\\\"\\n        @disableFuture={{true}}\\n        @day={{fromDate.day}}\\n        @month={{fromDate.month}}\\n        @year={{fromDate.year}}\\n        @onUpdate={{action \\\"updateDate\\\" \\\"from_date\\\"}}\\n      />\\n      {{!-- template-lint-enable intercom/no-legacy-datepicker --}}\\n      <span class=\\\"u__ml__5 u__mr__5\\\">\\n        &mdash;\\n      </span>\\n      {{!-- template-lint-disable intercom/no-legacy-datepicker --}}\\n      <CalendarDatePickerComponent\\n        @dateFormat=\\\"MMM DD\\\"\\n        @disableFuture={{true}}\\n        @day={{toDate.day}}\\n        @month={{toDate.month}}\\n        @year={{toDate.year}}\\n        @onUpdate={{action \\\"updateDate\\\" \\\"to_date\\\"}}\\n      />\\n      {{!-- template-lint-enable intercom/no-legacy-datepicker --}}\\n      <span class=\\\"u__ml__10\\\"></span>\\n      <Admin::NewSelector\\n        @assignees={{admins}}\\n        @showRemoveAdmin={{true}}\\n        @onSelectItem={{action \\\"setFilterByAdmin\\\"}}\\n        @showTeams={{false}}\\n        @showAwayAndReassigningStatus={{false}}\\n        @defaultLabel=\\\"All teammates\\\"\\n        @teammatesHeading=\\\"Choose a teammate\\\"\\n      />\\n      <span class=\\\"u__ml__10\\\"></span>\\n      <IcSelect\\n        @defaultLabel=\\\"All activity\\\"\\n        @items={{adminEventTypes}}\\n        @onSelectItem={{action \\\"setFilterByEventType\\\"}}\\n        @minWidthOfOverlay={{350}}\\n      />\\n      <span class=\\\"u__ml__10\\\"></span>\\n      <IcTooltip as |context|>\\n        <context.opener>\\n          {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\" solo=true}}\\n        </context.opener>\\n        <context.content>\\n          All dates are in {{app.humanReadableTimezone}}\\n        </context.content>\\n      </IcTooltip>\\n    </div>\\n    <div class=\\\"h-5\\\"></div>\\n    {{#if query.loadBetweenDates.isRunning}}\\n      <div class=\\\"layout__box o__flexes-to-1 o__centers-all mt-16\\\">\\n        <IcLoadingIndicator @size=\\\"large\\\" />\\n      </div>\\n    {{else if (eq rows.length 0)}}\\n      <IcEmptyState @icon=\\\"campaign\\\" @title=\\\"No results for your search\\\" />\\n    {{else}}\\n      {{!-- template-lint-disable intercom/no-custom-table --}}\\n      <IcLegacyTable @columns={{columns}} @rows={{rows}} @height=\\\"flex\\\" />\\n      {{!-- template-lint-enable intercom/no-custom-table --}}\\n    {{/if}}\\n  </paywall.Splash>\\n</Paywall>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall\\n  @featureKey='activity_logs'\\n  as |paywall|\\n>\\n  <paywall.Splash\\n    @title=\\\"See what your teammates are doing in Intercom\\\"\\n    @description=\\\"Track your colleagues around Intercom, see what they're up to!\\\"\\n    @imgSrc=\\\"/assets/images/activity_logs/activity_logs.png\\\"\\n  >\\n    {{#if (or notValidRequest query.failedLoading)}}\\n      <div class=\\\"h-2\\\"></div>\\n      {{#if notValidRequest}}\\n        <IcBanner @type=\\\"warning\\\">\\n          You are requesting <strong>{{requestedDays}} days</strong>, but the current limit is <strong>{{maxDays}} days</strong>.\\n          Please select a shorter date range\\n        </IcBanner>\\n      {{else if query.failedLoading}}\\n        <IcBanner @type=\\\"error\\\">\\n          An error occurred, <a {{action load}}> retry</a>\\n        </IcBanner>\\n      {{/if}}\\n      <div class=\\\"h-5\\\"></div>\\n    {{/if}}\\n    <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n      <span class=\\\"t__label u__mr__10\\\">\\n        Filter by\\n      </span>\\n      {{!-- template-lint-disable intercom/no-legacy-datepicker --}}\\n      <CalendarDatePickerComponent\\n        @dateFormat=\\\"MMM DD\\\"\\n        @disableFuture={{true}}\\n        @day={{fromDate.day}}\\n        @month={{fromDate.month}}\\n        @year={{fromDate.year}}\\n        @onUpdate={{action \\\"updateDate\\\" \\\"from_date\\\"}}\\n      />\\n      {{!-- template-lint-enable intercom/no-legacy-datepicker --}}\\n      <span class=\\\"u__ml__5 u__mr__5\\\">\\n        &mdash;\\n      </span>\\n      {{!-- template-lint-disable intercom/no-legacy-datepicker --}}\\n      <CalendarDatePickerComponent\\n        @dateFormat=\\\"MMM DD\\\"\\n        @disableFuture={{true}}\\n        @day={{toDate.day}}\\n        @month={{toDate.month}}\\n        @year={{toDate.year}}\\n        @onUpdate={{action \\\"updateDate\\\" \\\"to_date\\\"}}\\n      />\\n      {{!-- template-lint-enable intercom/no-legacy-datepicker --}}\\n      <span class=\\\"u__ml__10\\\"></span>\\n      <Admin::NewSelector\\n        @assignees={{admins}}\\n        @showRemoveAdmin={{true}}\\n        @onSelectItem={{action \\\"setFilterByAdmin\\\"}}\\n        @showTeams={{false}}\\n        @showAwayAndReassigningStatus={{false}}\\n        @defaultLabel=\\\"All teammates\\\"\\n        @teammatesHeading=\\\"Choose a teammate\\\"\\n      />\\n      <span class=\\\"u__ml__10\\\"></span>\\n      <IcSelect\\n        @defaultLabel=\\\"All activity\\\"\\n        @items={{adminEventTypes}}\\n        @onSelectItem={{action \\\"setFilterByEventType\\\"}}\\n        @minWidthOfOverlay={{350}}\\n      />\\n      <span class=\\\"u__ml__10\\\"></span>\\n      <IcTooltip as |context|>\\n        <context.opener>\\n          {{ic-interface-icon \\\"info\\\" color=\\\"gray\\\" solo=true}}\\n        </context.opener>\\n        <context.content>\\n          All dates are in {{app.humanReadableTimezone}}\\n        </context.content>\\n      </IcTooltip>\\n    </div>\\n    <div class=\\\"h-5\\\"></div>\\n    {{#if query.loadBetweenDates.isRunning}}\\n      <div class=\\\"layout__box o__flexes-to-1 o__centers-all mt-16\\\">\\n        <IcLoadingIndicator @size=\\\"large\\\" />\\n      </div>\\n    {{else if (eq rows.length 0)}}\\n      <IcEmptyState @icon=\\\"campaign\\\" @title=\\\"No results for your search\\\" />\\n    {{else}}\\n      {{!-- template-lint-disable intercom/no-custom-table --}}\\n      <IcLegacyTable @columns={{columns}} @rows={{rows}} @height=\\\"flex\\\" />\\n      {{!-- template-lint-enable intercom/no-custom-table --}}\\n    {{/if}}\\n  </paywall.Splash>\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/settings/content-components/logs.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/content-components/logs.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport EmberObject, { computed } from '@ember/object';\nimport { A } from '@ember/array';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport BaseContentComponent from 'embercom/components/settings/content-components/base';\nimport { ADMIN_EVENT_TYPES } from 'embercom/lib/admins/app-admin-events-constants';\n\nexport default BaseContentComponent.extend({\n  intercomEventService: service(),\n  appService: service(),\n  app: alias('appService.app'),\n  admins: alias('app.admins'),\n  classNames: ['o__has-rows', 'o__flexes-to-1'],\n\n  notValidRequest: null,\n  filterByAdmin: null,\n  filterByEventType: 'AppAdminEvents::All',\n  load: null,\n  maxDays: null,\n  fromDate: null,\n  toDate: null,\n\n  columns: A([\n    EmberObject.create({\n      label: 'Activity',\n      canExpandToFit: true,\n      component: 'table-cells/admin-events/description-cell',\n    }),\n    EmberObject.create({\n      label: 'Date',\n      canExpandToFit: true,\n      component: 'table-cells/admin-events/date-cell',\n    }),\n    EmberObject.create({\n      label: 'IP address',\n      canExpandToFit: true,\n      propertyName: 'eventAdminIp',\n    }),\n  ]),\n\n  rows: computed('filteredEvents.[]', function() {\n    return this.filteredEvents.map(event => this.buildRow(event)).compact();\n  }),\n\n  buildRow(event) {\n    let eventType = ADMIN_EVENT_TYPES.findBy('value', event.get('type'));\n    if (!eventType) {\n      return;\n    }\n    return EmberObject.create({\n      event,\n      eventAdminIp: event.get('admin_ip'),\n    });\n  },\n\n  buildEventType(eventType) {\n    return {\n      text: eventType.text,\n      value: eventType.value,\n      isSelected: this.filterByEventType === eventType.value,\n    };\n  },\n\n  matchesAdmin(event) {\n    let filterByAdminId = this.get('filterByAdmin.id');\n    return filterByAdminId ? event.get('admin.id') === filterByAdminId : true;\n  },\n\n  matchesEventType(event) {\n    let filterByEventType = this.filterByEventType;\n    let shouldFilterEvent = !!filterByEventType && filterByEventType !== 'AppAdminEvents::All';\n    return shouldFilterEvent ? event.get('type') === filterByEventType : true;\n  },\n\n  filteredEvents: computed('displayedEvents.[]', 'filterByEventType', 'filterByAdmin', function() {\n    let displayedEvents = this.displayedEvents;\n    let filterByEventType = this.filterByEventType;\n    let filterByAdmin = this.filterByAdmin;\n\n    if ((!filterByEventType || filterByEventType === 'AppAdminEvents::All') && !filterByAdmin) {\n      return displayedEvents;\n    }\n\n    return displayedEvents.filter(event => {\n      return this.matchesEventType(event) && this.matchesAdmin(event);\n    });\n  }),\n\n  adminEventTypes: computed('filterByEventType', function() {\n    let options = ADMIN_EVENT_TYPES.map(type => this.buildEventType(type));\n\n    return [\n      {\n        hasItemsMarkableAsSelected: true,\n        items: options.sortBy('text'),\n      },\n    ];\n  }),\n\n  actions: {\n    load() {\n      this.load();\n    },\n    setFilterByAdmin(adminId) {\n      let admin = this.admins.findBy('id', adminId);\n      this.set('filterByAdmin', admin);\n      if (admin) {\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'filtered_by_admin',\n          object: admin,\n          models: [admin],\n        });\n      }\n    },\n    setFilterByEventType(eventType) {\n      this.set('filterByEventType', eventType);\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'filtered_by_event',\n        object: eventType,\n      });\n    },\n    updateDate(dateType) {\n      this.send('load');\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'filtered_by_date',\n        object: dateType,\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showModal}}\\n  {{!-- template-lint-disable intercom/no-legacy-modal --}}\\n  <Common::ModalComponent\\n    @closeModal={{action (mut showModal) false}}\\n    as |modal|\\n  >\\n    <modal.components.header @title=\\\"Are you sure?\\\" />\\n    <modal.components.body>\\n      <p data-test-modal-content>\\n        Deleting these people from Intercom is permanent and there is no way to get back their data.\\n        If they're still active, it might take a few minutes before they disappear from your people list.\\n      </p>\\n    </modal.components.body>\\n    <modal.components.footer as |footer|>\\n      <footer.mainButtons as |list|>\\n        <list.button\\n          @label=\\\"Cancel\\\"\\n          @onClick={{action (mut showModal) false}}\\n        />\\n        <list.button\\n          data-test-modal-delete-user-button\\n          @type=\\\"primary-destructive\\\"\\n          @label=\\\"Yes, permanently delete\\\"\\n          @onClick={{action (perform requestDeletion)}}\\n        />\\n      </footer.mainButtons>\\n    </modal.components.footer>\\n  </Common::ModalComponent>\\n{{/if}}\\n<p class=\\\"u__padb__30\\\">\\n  Permanently delete any user or lead and their conversation history from Intercom to comply with European data protection laws (GDPR).\\n  You can search for active users, leads, or people you've already archived from your people list.\\n</p>\\n<h1>\\n  {{isSearchDisabled}}\\n</h1>\\n<div class=\\\"f__group\\\">\\n  <h3 class=\\\"t__h3 u__mb__10\\\">\\n    Find a user or lead\\n  </h3>\\n  <form {{action (perform searchUsers) on=\\\"submit\\\"}}>\\n    <label for=\\\"delete-user-search-input\\\" class=\\\"t__label f__group-label\\\">\\n      Enter their user ID or email address\\n    </label>\\n    <div class=\\\"u__cf\\\">\\n      <input\\n        value={{searchValue}}\\n        id=\\\"delete-user-search-input\\\"\\n        type=\\\"text\\\"\\n        placeholder=\\\"Ex: 23452 or john@theircompany.com\\\"\\n        class=\\\"f__text u__left settings__delete-user__input u__mr__10\\\"\\n        data-test-search-users-input\\n        oninput={{action (mut searchValue) value=\\\"target.value\\\"}}\\n      />\\n      <IcButton\\n        data-test-search-users-button\\n        @type=\\\"primary\\\"\\n        @label=\\\"Find user or lead\\\"\\n        @onClick={{action (perform searchUsers)}}\\n        @disabled={{not searchValue}}\\n      />\\n    </div>\\n  </form>\\n  {{#unless noSearchResults}}\\n    <h3 class=\\\"t__h3 u__padt__30 u__padb__10\\\">\\n      Found {{pluralize tableRows.length \\\"person\\\"}}\\n    </h3>\\n    {{#if emptySearchResults}}\\n      <IcEmptyState\\n        data-test-search-users-empty-state\\n        @icon=\\\"people\\\"\\n        @title=\\\"No results found for that user or lead\\\"\\n      />\\n    {{else}}\\n      {{!-- template-lint-disable intercom/no-custom-table --}}\\n      <IcLegacyTable\\n        data-test-users-table\\n        @inline={{true}}\\n        @columns={{tableColumns}}\\n        @rows={{tableRows}}\\n        @tableActions={{hash showDeleteModal=(action \\\"showDeleteModal\\\")}}\\n      />\\n      {{!-- template-lint-enable intercom/no-custom-table --}}\\n    {{/if}}\\n  {{/unless}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showModal}}\\n  {{!-- template-lint-disable intercom/no-legacy-modal --}}\\n  <Common::ModalComponent\\n    @closeModal={{action (mut showModal) false}}\\n    as |modal|\\n  >\\n    <modal.components.header @title=\\\"Are you sure?\\\" />\\n    <modal.components.body>\\n      <p data-test-modal-content>\\n        Deleting these people from Intercom is permanent and there is no way to get back their data.\\n        If they're still active, it might take a few minutes before they disappear from your people list.\\n      </p>\\n    </modal.components.body>\\n    <modal.components.footer as |footer|>\\n      <footer.mainButtons as |list|>\\n        <list.button\\n          @label=\\\"Cancel\\\"\\n          @onClick={{action (mut showModal) false}}\\n        />\\n        <list.button\\n          data-test-modal-delete-user-button\\n          @type=\\\"primary-destructive\\\"\\n          @label=\\\"Yes, permanently delete\\\"\\n          @onClick={{action (perform requestDeletion)}}\\n        />\\n      </footer.mainButtons>\\n    </modal.components.footer>\\n  </Common::ModalComponent>\\n{{/if}}\\n<p class=\\\"u__padb__30\\\">\\n  Permanently delete any user or lead and their conversation history from Intercom to comply with European data protection laws (GDPR).\\n  You can search for active users, leads, or people you've already archived from your people list.\\n</p>\\n<h1>\\n  {{isSearchDisabled}}\\n</h1>\\n<div class=\\\"f__group\\\">\\n  <h3 class=\\\"t__h3 u__mb__10\\\">\\n    Find a user or lead\\n  </h3>\\n  <form {{action (perform searchUsers) on=\\\"submit\\\"}}>\\n    <label for=\\\"delete-user-search-input\\\" class=\\\"t__label f__group-label\\\">\\n      Enter their user ID or email address\\n    </label>\\n    <div class=\\\"u__cf\\\">\\n      <input\\n        value={{searchValue}}\\n        id=\\\"delete-user-search-input\\\"\\n        type=\\\"text\\\"\\n        placeholder=\\\"Ex: 23452 or john@theircompany.com\\\"\\n        class=\\\"f__text u__left settings__delete-user__input u__mr__10\\\"\\n        data-test-search-users-input\\n        oninput={{action (mut searchValue) value=\\\"target.value\\\"}}\\n      />\\n      <IcButton\\n        data-test-search-users-button\\n        @type=\\\"primary\\\"\\n        @label=\\\"Find user or lead\\\"\\n        @onClick={{action (perform searchUsers)}}\\n        @disabled={{not searchValue}}\\n      />\\n    </div>\\n  </form>\\n  {{#unless noSearchResults}}\\n    <h3 class=\\\"t__h3 u__padt__30 u__padb__10\\\">\\n      Found {{pluralize tableRows.length \\\"person\\\"}}\\n    </h3>\\n    {{#if emptySearchResults}}\\n      <IcEmptyState\\n        data-test-search-users-empty-state\\n        @icon=\\\"people\\\"\\n        @title=\\\"No results found for that user or lead\\\"\\n      />\\n    {{else}}\\n      {{!-- template-lint-disable intercom/no-custom-table --}}\\n      <IcLegacyTable\\n        data-test-users-table\\n        @inline={{true}}\\n        @columns={{tableColumns}}\\n        @rows={{tableRows}}\\n        @tableActions={{hash showDeleteModal=(action \\\"showDeleteModal\\\")}}\\n      />\\n      {{!-- template-lint-enable intercom/no-custom-table --}}\\n    {{/if}}\\n  {{/unless}}\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/content-components/permanent-user-deletion.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/content-components/permanent-user-deletion.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { none, empty } from '@ember/object/computed';\nimport EmberObject, { get } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport BaseContentComponent from 'embercom/components/settings/content-components/base';\nimport { isValidEmail } from 'embercom/lib/email';\nimport ajax from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\nimport pluralize from 'embercom/lib/inflector';\nimport fullRelativeTimeAgo from 'embercom/lib/full-relative-time-ago';\n\nconst tableColumns = [\n  {\n    label: 'Name',\n    canExpandToFit: true,\n    valueComponent: 'table-cells/gdpr-settings/avatar-name-company',\n    propertyName: 'avatarUser',\n  },\n  {\n    label: 'Type',\n    canExpandToFit: true,\n    propertyName: 'type',\n  },\n  {\n    label: 'Conversation history',\n    canExpandToFit: true,\n    propertyName: 'conversationCount',\n  },\n  {\n    label: 'Last seen',\n    canExpandToFit: true,\n    propertyName: 'lastRequestAt',\n  },\n  {\n    label: 'Status',\n    canExpandToFit: true,\n    propertyName: 'status',\n  },\n  {\n    canExpandToFit: true,\n    component: 'ic-legacy-table-cell-button',\n    buttonProperties: {\n      type: 'secondary-destructive',\n      label: 'Permanently delete',\n    },\n    tableActionName: 'showDeleteModal',\n    propertyName: 'id',\n  },\n];\n\nexport default BaseContentComponent.extend({\n  notificationsService: service(),\n  router: service(),\n\n  _sendAjaxRequest(endpoint, params, type) {\n    return ajax({\n      url: `/ember/user_deletion/${endpoint}`,\n      data: JSON.stringify({\n        app_id: this.get('app.id'),\n        ...params,\n      }),\n      type,\n    });\n  },\n\n  _formatCompanies: companies => ({\n    displayCompany: companies[0],\n    additionalCompanies: companies.slice(1, companies.length).map(company => company),\n  }),\n\n  _createUserRows(users) {\n    return users.map(user => ({\n      avatarUser: EmberObject.create({\n        name: user.display_as,\n        archived: user.archived,\n        companies: user.companies.length ? this._formatCompanies(user.companies) : null,\n        id: user.id,\n        avatarData: {\n          color: get(user, 'avatar_data.color'),\n          url: get(user, 'avatar_data.image_urls.normal'),\n          initials: get(user, 'avatar_data.initials'),\n          isCustomer: true,\n        },\n      }),\n      type: user.type === 'user_role' ? 'User' : 'Lead',\n      conversationCount: `${user.conversation_count} ${pluralize(\n        'conversation',\n        user.conversation_count,\n      )}`,\n      lastRequestAt: user.last_request_at ? fullRelativeTimeAgo(user.last_request_at) : '-',\n      status: user.archived ? 'Archived' : 'Active',\n      id: user.id,\n    }));\n  },\n\n  _getErrorMessage: findOrDelete =>\n    `There was an error and we couldn't ${findOrDelete} this person. Try again in a few minutes, or ask us for help via our Messenger.`,\n\n  tableRows: null,\n  tableColumns,\n  showModal: false,\n\n  noSearchResults: none('tableRows'),\n  emptySearchResults: empty('tableRows'),\n\n  searchUsers: task(function*() {\n    if (!this.searchValue.length) {\n      return;\n    }\n    let params = { [isValidEmail(this.searchValue) ? 'email' : 'user_id']: this.searchValue };\n    try {\n      let { users } = yield this._sendAjaxRequest('show', params, 'POST');\n      this.set('tableRows', this._createUserRows(users));\n    } catch (error) {\n      this.notificationsService.notifyError(this._getErrorMessage('find'));\n    }\n  }).drop(),\n\n  requestDeletion: task(function*() {\n    let params = { id: this.selectedUserId };\n    try {\n      yield this._sendAjaxRequest('delete', params, 'POST');\n      this.setProperties({\n        tableRows: null,\n        showModal: false,\n        searchValue: '',\n      });\n      this.notificationsService.notifyConfirmation(\n        \"You've permanently deleted 1 person. If they were active, it might take a few minutes for them to disappear from your people list.\",\n      );\n    } catch (error) {\n      this.notificationsService.notifyError(this._getErrorMessage('delete'));\n    }\n  }).drop(),\n\n  actions: {\n    showDeleteModal(userId) {\n      this.set('selectedUserId', userId);\n      this.set('showModal', true);\n    },\n  },\n\n  init() {\n    this._super(...arguments);\n    let searchValue =\n      this.get('router._router.currentState.routerJsState.fullQueryParams.searchValue') || '';\n    this.set('searchValue', searchValue);\n    this.searchUsers.perform();\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if\\n  (and\\n    (has-feature \\\"canSeePerProductPricingChanges\\\")\\n    this.autoSeatAssignmentDone\\n    this.hasNotActivatedBilling\\n    this.app.inboxIsActive\\n  )\\n}}\\n  <div class=\\\"u__mb__10\\\">\\n    <IcBanner data-test-new-pricing-banner @type=\\\"help\\\">\\n      Inbox pricing will now be based on seats.\\n\\n      {{#if this.hasNotManuallyAssignedSeat}}\\n        {{#if this.fallbackAdminsAssigned}}\\n          Based on your team’s usage, we have assigned\\n          {{if (eq this.adminsWithInboxAccessCount 1) \\\"a seat\\\" \\\"seats\\\"}}\\n          to the last\\n          {{pluralize this.adminsWithInboxAccessCount \\\"teammate\\\"}}\\n          who logged into Intercom.\\n        {{else}}\\n          Based on your team’s usage, we have automatically assigned\\n          {{if (eq this.adminsWithInboxAccessCount 1) \\\"a seat\\\" \\\"seats\\\"}} to\\n          {{pluralize this.adminsWithInboxAccessCount \\\"teammate\\\"}}.\\n        {{/if}}\\n        {{#if (gt this.adminsWithoutInboxAccessCount 0)}}\\n          The remaining {{this.adminsWithoutInboxAccessCount}}\\n          {{if (eq this.adminsWithoutInboxAccessCount 1) \\\"teammate has\\\" \\\"teammates have\\\"}}\\n          not been active in Inbox recently, and\\n          {{if (eq this.adminsWithoutInboxAccessCount 1) \\\"has\\\" \\\"have\\\"}}\\n          not been assigned\\n          {{if (eq this.adminsWithoutInboxAccessCount 1) \\\"a seat.\\\" \\\"seats.\\\"}}\\n        {{/if}}\\n      {{else}}\\n        {{this.adminsWithInboxAccessCount}}\\n        {{if\\n          (eq this.adminsWithInboxAccessCount 1)\\n          \\\"teammate has an Inbox seat\\\"\\n          \\\"teammates have Inbox seats\\\"\\n        }}.\\n      {{/if}}\\n      You can review and make changes before Intercom’s new pricing takes effect on {{moment-format\\n        @migrationState.date_migration_complete\\n        \\\"MMM D\\\"\\n      }}.\\n      You will continue to be billed at\\n      <LinkTo @route=\\\"apps.app.billing\\\">your current plan</LinkTo>\\n      until then.\\n    </IcBanner>\\n  </div>\\n{{/if}}\\n<div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n  <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n    <div class=\\\"u__mb__10\\\">\\n      {{#if this.app.isTestApp}}\\n        <IcBanner\\n          @type=\\\"warning\\\"\\n          @text=\\\"Changes made to teammates in this workspace will also reflect to your live workspace. Inviting teammates to a test workspace is restricted.\\\"\\n          data-test-test-app-banner\\n        />\\n        <br />\\n      {{/if}}\\n      <div class=\\\"tabs\\\">\\n        <a\\n          data-test-teammates-tab\\n          class=\\\"tabs__tab {{if (eq this.selectedTab \\\"teammates\\\") \\\"o__selected\\\"}}\\\"\\n          {{action (mut this.selectedTab) \\\"teammates\\\"}}\\n        >\\n          Teammates\\n          {{#if @teammates.length}}\\n            ({{@teammates.length}})\\n          {{/if}}\\n        </a>\\n        <a\\n          data-test-invites-tab\\n          class=\\\"tabs__tab {{if (eq this.selectedTab \\\"invites\\\") \\\"o__selected\\\"}}\\\"\\n          {{action (mut this.selectedTab) \\\"invites\\\"}}\\n        >\\n          Invite sent\\n          {{#if @activeInvitedAdmins.length}}\\n            ({{@activeInvitedAdmins.length}})\\n          {{/if}}\\n        </a>\\n        {{#if @activeInviteLinks.length}}\\n          <a\\n            data-test-invite-links-tab\\n            class=\\\"tabs__tab {{if (eq this.selectedTab \\\"inviteLinks\\\") \\\"o__selected\\\"}}\\\"\\n            {{action (mut this.selectedTab) \\\"inviteLinks\\\"}}\\n          >\\n            Invite links ({{@activeInviteLinks.length}})\\n          </a>\\n        {{/if}}\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n      {{#if (eq this.selectedTab \\\"teammates\\\")}}\\n        <Settings::Teams::TeammateListComponent\\n          @teammates={{@teammates}}\\n          @roles={{@roles}}\\n          @selectedRoleFilterValue={{@selectedRoleFilterValue}}\\n          @toggleInboxSeat={{action \\\"toggleInboxSeat\\\"}}\\n          @loadInboxSeatInfo={{this.loadInboxSeatInfo}}\\n        />\\n      {{else if (eq this.selectedTab \\\"invites\\\")}}\\n        <Settings::Teams::InviteListComponent\\n          @invites={{@activeInvitedAdmins}}\\n          @tableActions={{hash updatePaywalls=this.updatePaywalls}}\\n        />\\n      {{else if (eq this.selectedTab \\\"inviteLinks\\\")}}\\n        <Settings::Teams::InviteLinkListComponent\\n          @inviteLinks={{@activeInviteLinks}}\\n          @tableActions={{hash resetLinks=(action \\\"resetLinks\\\")}}\\n        />\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if\\n  (and\\n    (has-feature \\\"canSeePerProductPricingChanges\\\")\\n    this.autoSeatAssignmentDone\\n    this.hasNotActivatedBilling\\n    this.app.inboxIsActive\\n  )\\n}}\\n  <div class=\\\"u__mb__10\\\">\\n    <IcBanner data-test-new-pricing-banner @type=\\\"help\\\">\\n      Inbox pricing will now be based on seats.\\n\\n      {{#if this.hasNotManuallyAssignedSeat}}\\n        {{#if this.fallbackAdminsAssigned}}\\n          Based on your team’s usage, we have assigned\\n          {{if (eq this.adminsWithInboxAccessCount 1) \\\"a seat\\\" \\\"seats\\\"}}\\n          to the last\\n          {{pluralize this.adminsWithInboxAccessCount \\\"teammate\\\"}}\\n          who logged into Intercom.\\n        {{else}}\\n          Based on your team’s usage, we have automatically assigned\\n          {{if (eq this.adminsWithInboxAccessCount 1) \\\"a seat\\\" \\\"seats\\\"}} to\\n          {{pluralize this.adminsWithInboxAccessCount \\\"teammate\\\"}}.\\n        {{/if}}\\n        {{#if (gt this.adminsWithoutInboxAccessCount 0)}}\\n          The remaining {{this.adminsWithoutInboxAccessCount}}\\n          {{if (eq this.adminsWithoutInboxAccessCount 1) \\\"teammate has\\\" \\\"teammates have\\\"}}\\n          not been active in Inbox recently, and\\n          {{if (eq this.adminsWithoutInboxAccessCount 1) \\\"has\\\" \\\"have\\\"}}\\n          not been assigned\\n          {{if (eq this.adminsWithoutInboxAccessCount 1) \\\"a seat.\\\" \\\"seats.\\\"}}\\n        {{/if}}\\n      {{else}}\\n        {{this.adminsWithInboxAccessCount}}\\n        {{if\\n          (eq this.adminsWithInboxAccessCount 1)\\n          \\\"teammate has an Inbox seat\\\"\\n          \\\"teammates have Inbox seats\\\"\\n        }}.\\n      {{/if}}\\n      You can review and make changes before Intercom’s new pricing takes effect on {{moment-format\\n        @migrationState.date_migration_complete\\n        \\\"MMM D\\\"\\n      }}.\\n      You will continue to be billed at\\n      <LinkTo @route=\\\"apps.app.billing\\\">your current plan</LinkTo>\\n      until then.\\n    </IcBanner>\\n  </div>\\n{{/if}}\\n<div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n  <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n    <div class=\\\"u__mb__10\\\">\\n      {{#if this.app.isTestApp}}\\n        <IcBanner\\n          @type=\\\"warning\\\"\\n          @text=\\\"Changes made to teammates in this workspace will also reflect to your live workspace. Inviting teammates to a test workspace is restricted.\\\"\\n          data-test-test-app-banner\\n        />\\n        <br />\\n      {{/if}}\\n      <div class=\\\"tabs\\\">\\n        <a\\n          data-test-teammates-tab\\n          class=\\\"tabs__tab {{if (eq this.selectedTab \\\"teammates\\\") \\\"o__selected\\\"}}\\\"\\n          {{action (mut this.selectedTab) \\\"teammates\\\"}}\\n        >\\n          Teammates\\n          {{#if @teammates.length}}\\n            ({{@teammates.length}})\\n          {{/if}}\\n        </a>\\n        <a\\n          data-test-invites-tab\\n          class=\\\"tabs__tab {{if (eq this.selectedTab \\\"invites\\\") \\\"o__selected\\\"}}\\\"\\n          {{action (mut this.selectedTab) \\\"invites\\\"}}\\n        >\\n          Invite sent\\n          {{#if @activeInvitedAdmins.length}}\\n            ({{@activeInvitedAdmins.length}})\\n          {{/if}}\\n        </a>\\n        {{#if @activeInviteLinks.length}}\\n          <a\\n            data-test-invite-links-tab\\n            class=\\\"tabs__tab {{if (eq this.selectedTab \\\"inviteLinks\\\") \\\"o__selected\\\"}}\\\"\\n            {{action (mut this.selectedTab) \\\"inviteLinks\\\"}}\\n          >\\n            Invite links ({{@activeInviteLinks.length}})\\n          </a>\\n        {{/if}}\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n      {{#if (eq this.selectedTab \\\"teammates\\\")}}\\n        <Settings::Teams::TeammateListComponent\\n          @teammates={{@teammates}}\\n          @roles={{@roles}}\\n          @selectedRoleFilterValue={{@selectedRoleFilterValue}}\\n          @toggleInboxSeat={{action \\\"toggleInboxSeat\\\"}}\\n          @loadInboxSeatInfo={{this.loadInboxSeatInfo}}\\n        />\\n      {{else if (eq this.selectedTab \\\"invites\\\")}}\\n        <Settings::Teams::InviteListComponent\\n          @invites={{@activeInvitedAdmins}}\\n          @tableActions={{hash updatePaywalls=this.updatePaywalls}}\\n        />\\n      {{else if (eq this.selectedTab \\\"inviteLinks\\\")}}\\n        <Settings::Teams::InviteLinkListComponent\\n          @inviteLinks={{@activeInviteLinks}}\\n          @tableActions={{hash resetLinks=(action \\\"resetLinks\\\")}}\\n        />\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/content-components/teammates.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/content-components/teammates.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { getInboxSeatInfo } from 'embercom/lib/admins/inbox-seat-info';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  classNames: [\n    'layout__box',\n    'o__flexes-to-1',\n    'o__has-rows',\n    'u__ml__30',\n    'u__mr__30',\n    'u__mb__20',\n  ],\n  appService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  modelDataCacheService: service(),\n  permissionsMutatorService: service(),\n  app: readOnly('appService.app'),\n\n  teammates: null,\n  adminToEdit: null,\n  activeInvitedAdmins: null,\n  activeInviteLinks: null,\n  selectedTab: 'teammates',\n\n  fallbackAdminsAssigned: readOnly('migrationState.fallback_admins_assigned'),\n  adminsWithInboxAccessCount: readOnly('permissionsMutatorService.adminsWithInboxAccessCount'),\n  adminsWithoutInboxAccessCount: readOnly(\n    'permissionsMutatorService.adminsWithoutInboxAccessCount',\n  ),\n  autoSeatAssignmentDone: readOnly('migrationState.auto_seat_assignment_done'),\n  hasNotActivatedBilling: not('migrationState.billing_activated'),\n  hasNotManuallyAssignedSeat: not('migrationState.manually_assigned_seat'),\n\n  loadInboxSeatInfo: task(function*() {\n    return yield getInboxSeatInfo(1);\n  }),\n\n  actions: {\n    reloadPermissions() {\n      return this.reloadPermissions(...arguments);\n    },\n    removeAllRestrictions() {\n      return this.removeAllRestrictions(...arguments);\n    },\n    resetLinks() {\n      return this.resetLinks(...arguments);\n    },\n    async toggleInboxSeat(admin) {\n      if (admin.get('hasInboxAccess')) {\n        await this.permissionsMutatorService.removeInboxSeat(admin, this.teammates);\n        this.loadInboxSeatInfo.perform();\n      } else {\n        await this.permissionsMutatorService.giveInboxSeat(admin);\n        this.loadInboxSeatInfo.perform();\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{@onModalClose}}\\n  @width=\\\"m\\\"\\n  @isOpen={{true}}\\n  @focusElement=\\\"body\\\"\\n  data-test-conversation-archive-modal\\n  as |modal|\\n>\\n  <modal.header @title={{this.modalTitle}} />\\n  <modal.body>\\n    <div {{did-insert (perform this.fetchDependentObjects)}} />\\n    <div class=\\\"flex flex-col gap-4\\\">\\n      {{#if this.isChecking}}\\n        <div class=\\\"flex flex-col items-center\\\">\\n          <IcLoadingIndicator @size=\\\"large\\\" />\\n        </div>\\n      {{else if this.canArchive}}\\n        <p>This attribute will no longer be available to set, but conversations that already have it will stay as is. You'll still be able to filter your reports by this attribute.</p>\\n        <p>Are you sure you want to archive this attribute?</p>\\n      {{else}}\\n        <p class=\\\"mb-4\\\">\\n          You can't archive this attribute because it's used elsewhere. Remove it and then try again.\\n        </p>\\n        <div>\\n          {{#if this.hasDependentCustomBots }}\\n            <h3 class=\\\"t__h3\\\">\\n              Custom bots:\\n            </h3>\\n            <ul>\\n              {{#each this.dependentObjects.customBots as |customBot|}}\\n                <li>\\n                  <LinkTo\\n                    @route=\\\"apps.app.operator.custom-bots.custom-bot.show\\\"\\n                    @model={{customBot.id}}\\n                    target=\\\"_blank\\\"\\n                  >\\n                    {{customBot.title}}\\n                  </LinkTo>\\n                </li>\\n              {{/each}}\\n            </ul>\\n          {{/if}}\\n          {{#if this.hasDependentTaskBots}}\\n            <h3 class=\\\"t__h3\\\">\\n              Task bots:\\n            </h3>\\n            <ul>\\n              {{#each this.dependentObjects.taskBots as |taskBot|}}\\n                {{#if (eq taskBot \\\"upfront_collection\\\")}}\\n                  <li>\\n                    <LinkTo\\n                      @route=\\\"apps.app.operator.task-bots.users\\\"\\n                      @query={{hash section=\\\"upfront-collection-users\\\"}}\\n                      target=\\\"_blank\\\"\\n                    >\\n                      Upfront collection bot\\n                    </LinkTo>\\n                  </li>\\n                {{else}}\\n                  <li>\\n                    <LinkTo @route=\\\"apps.app.operator.task-bots\\\" target=\\\"_blank\\\">\\n                      Manage Task Bots\\n                    </LinkTo>\\n                  </li>\\n                {{/if}}\\n              {{/each}}\\n            </ul>\\n          {{/if}}\\n        </div>\\n      {{/if}}\\n    </div>\\n  </modal.body>\\n  {{#if this.isChecking}}\\n    <modal.footer\\n      @primaryButton={{hash\\n        label=\\\"Cancel\\\"\\n        action=@onModalClose\\n      }}\\n    />\\n  {{else if this.canArchive}}\\n    <modal.footer\\n      @secondaryButton={{hash\\n        label=\\\"Cancel\\\"\\n        action=@onModalClose\\n      }}\\n      @primaryButton={{hash\\n        label=\\\"Archive\\\"\\n        type=\\\"destructive\\\"\\n        action=(perform this.archiveAttribute)\\n      }}\\n    />\\n  {{else}}\\n    <modal.footer\\n      @primaryButton={{hash\\n        label=\\\"Okay\\\"\\n        action=@onModalClose\\n      }}\\n    />\\n  {{/if}}\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{@onModalClose}}\\n  @width=\\\"m\\\"\\n  @isOpen={{true}}\\n  @focusElement=\\\"body\\\"\\n  data-test-conversation-archive-modal\\n  as |modal|\\n>\\n  <modal.header @title={{this.modalTitle}} />\\n  <modal.body>\\n    <div {{did-insert (perform this.fetchDependentObjects)}} />\\n    <div class=\\\"flex flex-col gap-4\\\">\\n      {{#if this.isChecking}}\\n        <div class=\\\"flex flex-col items-center\\\">\\n          <IcLoadingIndicator @size=\\\"large\\\" />\\n        </div>\\n      {{else if this.canArchive}}\\n        <p>This attribute will no longer be available to set, but conversations that already have it will stay as is. You'll still be able to filter your reports by this attribute.</p>\\n        <p>Are you sure you want to archive this attribute?</p>\\n      {{else}}\\n        <p class=\\\"mb-4\\\">\\n          You can't archive this attribute because it's used elsewhere. Remove it and then try again.\\n        </p>\\n        <div>\\n          {{#if this.hasDependentCustomBots }}\\n            <h3 class=\\\"t__h3\\\">\\n              Custom bots:\\n            </h3>\\n            <ul>\\n              {{#each this.dependentObjects.customBots as |customBot|}}\\n                <li>\\n                  <LinkTo\\n                    @route=\\\"apps.app.operator.custom-bots.custom-bot.show\\\"\\n                    @model={{customBot.id}}\\n                    target=\\\"_blank\\\"\\n                  >\\n                    {{customBot.title}}\\n                  </LinkTo>\\n                </li>\\n              {{/each}}\\n            </ul>\\n          {{/if}}\\n          {{#if this.hasDependentTaskBots}}\\n            <h3 class=\\\"t__h3\\\">\\n              Task bots:\\n            </h3>\\n            <ul>\\n              {{#each this.dependentObjects.taskBots as |taskBot|}}\\n                {{#if (eq taskBot \\\"upfront_collection\\\")}}\\n                  <li>\\n                    <LinkTo\\n                      @route=\\\"apps.app.operator.task-bots.users\\\"\\n                      @query={{hash section=\\\"upfront-collection-users\\\"}}\\n                      target=\\\"_blank\\\"\\n                    >\\n                      Upfront collection bot\\n                    </LinkTo>\\n                  </li>\\n                {{else}}\\n                  <li>\\n                    <LinkTo @route=\\\"apps.app.operator.task-bots\\\" target=\\\"_blank\\\">\\n                      Manage Task Bots\\n                    </LinkTo>\\n                  </li>\\n                {{/if}}\\n              {{/each}}\\n            </ul>\\n          {{/if}}\\n        </div>\\n      {{/if}}\\n    </div>\\n  </modal.body>\\n  {{#if this.isChecking}}\\n    <modal.footer\\n      @primaryButton={{hash\\n        label=\\\"Cancel\\\"\\n        action=@onModalClose\\n      }}\\n    />\\n  {{else if this.canArchive}}\\n    <modal.footer\\n      @secondaryButton={{hash\\n        label=\\\"Cancel\\\"\\n        action=@onModalClose\\n      }}\\n      @primaryButton={{hash\\n        label=\\\"Archive\\\"\\n        type=\\\"destructive\\\"\\n        action=(perform this.archiveAttribute)\\n      }}\\n    />\\n  {{else}}\\n    <modal.footer\\n      @primaryButton={{hash\\n        label=\\\"Okay\\\"\\n        action=@onModalClose\\n      }}\\n    />\\n  {{/if}}\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/settings/conversation-attributes/descriptor-archive-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/conversation-attributes/descriptor-archive-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class extends Component {\n  @service store;\n  @service appService;\n  @service notificationsService;\n\n  @tracked dependentObjects = null;\n  @tracked hasDependentObjects = null;\n\n  get modalTitle() {\n    return this.isChecking\n      ? 'Checking for dependencies of this attribute'\n      : `Archive “${this.args.attributeToArchive.name}”`;\n  }\n\n  get isChecking() {\n    return this.fetchDependentObjects.isRunning;\n  }\n\n  get canArchive() {\n    return !this.isChecking && this.hasDependentObjects === false;\n  }\n\n  get hasDependentTaskBots() {\n    return this.dependentObjects && this.dependentObjects.taskBots.length > 0;\n  }\n\n  get hasDependentCustomBots() {\n    return this.dependentObjects && this.dependentObjects.customBots.length > 0;\n  }\n\n  @task({ drop: true })\n  *fetchDependentObjects() {\n    let attribute = this.args.attributeToArchive;\n\n    try {\n      let response = yield ajax({\n        url: `/ember/conversation_attributes/descriptors/${this.args.attributeToArchive.id}/dependent_objects`,\n        type: 'GET',\n        data: {\n          app_id: this.appService.app.id,\n        },\n      });\n      this.dependentObjects = {\n        customBots: response.dependent_custom_bots,\n        taskBots: response.dependent_task_bots,\n      };\n      this.hasDependentObjects = response.has_dependents;\n    } catch (error) {\n      this.args.onModalClose();\n      this.notificationsService.notifyError(\n        `Failed to archive ${attribute.name}, please try again!`,\n      );\n    }\n  }\n\n  @task({ drop: true })\n  *archiveAttribute() {\n    let attribute = this.args.attributeToArchive;\n\n    try {\n      attribute.archived = true;\n      yield attribute.save();\n      this.notificationsService.notifyConfirmation(`${attribute.name} was archived`);\n      this.args.onModalClose();\n    } catch (error) {\n      console.error(error);\n      attribute.rollbackAttributes();\n      this.notificationsService.notifyError(\n        `Failed to archive ${attribute.name}, please try again!`,\n      );\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{@onModalClose}}\\n  @width=\\\"m\\\"\\n  @isOpen={{true}}\\n  @focusElement=\\\"body\\\"\\n  @closeOnBlanketClick={{false}}\\n  data-test-conversation-data-modal\\n  as |modal|\\n>\\n  <modal.header @title={{this.modalTitle}} />\\n  <modal.body>\\n    <div class=\\\"flex flex-col gap-4\\\">\\n      <Form class=\\\"max-w-full\\\" as |form|>\\n        <form.Item @label=\\\"Name\\\" as |item|>\\n          <item.Input @placeholder=\\\"e.g. Type\\\" @value={{this.name}} data-test-conversation-data-modal-name />\\n          <div class=\\\"t__light-text\\\">\\n            This name could appear in conversations with customers if you ever ask Operator to collect this data.\\n          </div>\\n        </form.Item>\\n        <form.Item @label=\\\"Description\\\" as |item|>\\n          <item.Input @placeholder=\\\"e.g. Type of conversation\\\" @value={{this.description}} data-test-conversation-data-modal-description />\\n        </form.Item>\\n        <div>\\n          <div class=\\\"t__label\\\">\\n            Format\\n          </div>\\n          {{#if this.editMode}}\\n            {{this.displayableDataType}}\\n            <IcTooltipIcon @content=\\\"Attribute format can’t be changed after it’s been created. You can create a new attribute with a different format.\\\" />\\n          {{else}}\\n            <IcSelect\\n              @defaultLabel={{this.dataType}}\\n              @items={{this.typeDropdownItems}}\\n              @selectedValue={{this.dataType}}\\n              @onSelectItem={{this.updateType}}\\n            />\\n          {{/if}}\\n          <div class=\\\"flex flex-col gap-2 mt-2 mb-2\\\">\\n            {{#each this.listOptions as |option index|}}\\n              <div class=\\\"flex flex-row items-center justify-between gap-2\\\">\\n                <div class=\\\"flex flex-col flex-1\\\">\\n                    <form.Item as |item|>\\n                      <item.Input @value={{option.label}} @placeholder=\\\"e.g. Apples or 1-10\\\" data-test-conversation-data-modal-option={{index}}/>\\n                    </form.Item>\\n                </div>\\n                <div class=\\\"flex flex-col\\\">\\n                  {{~#if this.editMode ~}}\\n                    <IcButton\\n                      @type=\\\"secondary\\\"\\n                      @onClick={{fn this.removeListOption index}}\\n                      @disabled={{lte this.listOptions.length 2}}\\n                      @label=\\\"Archive\\\"\\n                      data-test-conversation-data-modal-remove-option={{index}}\\n                    />\\n                  {{else}}\\n                    <IcButton\\n                      @icon={{\\\"delete\\\"}}\\n                      @type=\\\"secondary\\\"\\n                      @onClick={{fn this.removeListOption index}}\\n                      @disabled={{lte this.listOptions.length 2}}\\n                      data-test-conversation-data-modal-remove-option={{index}}\\n                    />\\n                  {{/if}}\\n                </div>\\n              </div>\\n            {{/each}}\\n          </div>\\n          {{#if (gt this.listOptions.length 0)}}\\n            <IcTooltip @isDisabled={{not this.optionLimitReached}} as |context|>\\n              <context.opener>\\n                <a class=\\\"btn__tertiary {{if this.optionLimitReached \\\"o__disabled\\\"}}\\\" {{on \\\"click\\\" this.addListOption}} data-test-conversation-data-modal-add-option >\\n                  Add option\\n                </a>\\n              </context.opener>\\n              <context.content>\\n                You have reached the limit of {{this.optionsLimit}} options for this conversation attribute.\\n              </context.content>\\n            </IcTooltip>\\n          {{/if}}\\n        </div>\\n      </Form>\\n    </div>\\n  </modal.body>\\n  <modal.footer>\\n    <Paywall @featureKey=\\\"conversation_attributes\\\" as |paywall|>\\n      {{#if this.canArchiveAttribute}}\\n        <div>\\n          <IcButton\\n            @label=\\\"Archive\\\"\\n            @type=\\\"secondary-destructive\\\"\\n            @icon=\\\"archive\\\"\\n            {{on \\\"click\\\" @archiveAttribute}}\\n            data-test-conversation-data-archive-button={{true}}\\n          />\\n        </div>\\n      {{/if}}\\n\\n      <div class=\\\"ml-auto\\\">\\n        <IcButtonList @align=\\\"right\\\" as |list|>\\n          <list.button\\n            @label=\\\"Cancel\\\"\\n            @type=\\\"secondary\\\"\\n            {{on \\\"click\\\" this.rollbackAttributeAndCloseModal}}\\n            data-test-conversation-data-cancel-button={{true}}\\n          />\\n\\n          <paywall.Hover>\\n            <list.button\\n              @label=\\\"Save\\\"\\n              @type=\\\"primary\\\"\\n              @disabled={{or (not this.isValid) paywall.isActive}}\\n              {{on \\\"click\\\" this.saveAttribute}}\\n              data-test-conversation-data-save-button={{true}}\\n            />\\n          </paywall.Hover>\\n        </IcButtonList>\\n      </div>\\n    </Paywall>\\n  </modal.footer>\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{@onModalClose}}\\n  @width=\\\"m\\\"\\n  @isOpen={{true}}\\n  @focusElement=\\\"body\\\"\\n  @closeOnBlanketClick={{false}}\\n  data-test-conversation-data-modal\\n  as |modal|\\n>\\n  <modal.header @title={{this.modalTitle}} />\\n  <modal.body>\\n    <div class=\\\"flex flex-col gap-4\\\">\\n      <Form class=\\\"max-w-full\\\" as |form|>\\n        <form.Item @label=\\\"Name\\\" as |item|>\\n          <item.Input @placeholder=\\\"e.g. Type\\\" @value={{this.name}} data-test-conversation-data-modal-name />\\n          <div class=\\\"t__light-text\\\">\\n            This name could appear in conversations with customers if you ever ask Operator to collect this data.\\n          </div>\\n        </form.Item>\\n        <form.Item @label=\\\"Description\\\" as |item|>\\n          <item.Input @placeholder=\\\"e.g. Type of conversation\\\" @value={{this.description}} data-test-conversation-data-modal-description />\\n        </form.Item>\\n        <div>\\n          <div class=\\\"t__label\\\">\\n            Format\\n          </div>\\n          {{#if this.editMode}}\\n            {{this.displayableDataType}}\\n            <IcTooltipIcon @content=\\\"Attribute format can’t be changed after it’s been created. You can create a new attribute with a different format.\\\" />\\n          {{else}}\\n            <IcSelect\\n              @defaultLabel={{this.dataType}}\\n              @items={{this.typeDropdownItems}}\\n              @selectedValue={{this.dataType}}\\n              @onSelectItem={{this.updateType}}\\n            />\\n          {{/if}}\\n          <div class=\\\"flex flex-col gap-2 mt-2 mb-2\\\">\\n            {{#each this.listOptions as |option index|}}\\n              <div class=\\\"flex flex-row items-center justify-between gap-2\\\">\\n                <div class=\\\"flex flex-col flex-1\\\">\\n                    <form.Item as |item|>\\n                      <item.Input @value={{option.label}} @placeholder=\\\"e.g. Apples or 1-10\\\" data-test-conversation-data-modal-option={{index}}/>\\n                    </form.Item>\\n                </div>\\n                <div class=\\\"flex flex-col\\\">\\n                  {{~#if this.editMode ~}}\\n                    <IcButton\\n                      @type=\\\"secondary\\\"\\n                      @onClick={{fn this.removeListOption index}}\\n                      @disabled={{lte this.listOptions.length 2}}\\n                      @label=\\\"Archive\\\"\\n                      data-test-conversation-data-modal-remove-option={{index}}\\n                    />\\n                  {{else}}\\n                    <IcButton\\n                      @icon={{\\\"delete\\\"}}\\n                      @type=\\\"secondary\\\"\\n                      @onClick={{fn this.removeListOption index}}\\n                      @disabled={{lte this.listOptions.length 2}}\\n                      data-test-conversation-data-modal-remove-option={{index}}\\n                    />\\n                  {{/if}}\\n                </div>\\n              </div>\\n            {{/each}}\\n          </div>\\n          {{#if (gt this.listOptions.length 0)}}\\n            <IcTooltip @isDisabled={{not this.optionLimitReached}} as |context|>\\n              <context.opener>\\n                <a class=\\\"btn__tertiary {{if this.optionLimitReached \\\"o__disabled\\\"}}\\\" {{on \\\"click\\\" this.addListOption}} data-test-conversation-data-modal-add-option >\\n                  Add option\\n                </a>\\n              </context.opener>\\n              <context.content>\\n                You have reached the limit of {{this.optionsLimit}} options for this conversation attribute.\\n              </context.content>\\n            </IcTooltip>\\n          {{/if}}\\n        </div>\\n      </Form>\\n    </div>\\n  </modal.body>\\n  <modal.footer>\\n    <Paywall @featureKey=\\\"conversation_attributes\\\" as |paywall|>\\n      {{#if this.canArchiveAttribute}}\\n        <div>\\n          <IcButton\\n            @label=\\\"Archive\\\"\\n            @type=\\\"secondary-destructive\\\"\\n            @icon=\\\"archive\\\"\\n            {{on \\\"click\\\" @archiveAttribute}}\\n            data-test-conversation-data-archive-button={{true}}\\n          />\\n        </div>\\n      {{/if}}\\n\\n      <div class=\\\"ml-auto\\\">\\n        <IcButtonList @align=\\\"right\\\" as |list|>\\n          <list.button\\n            @label=\\\"Cancel\\\"\\n            @type=\\\"secondary\\\"\\n            {{on \\\"click\\\" this.rollbackAttributeAndCloseModal}}\\n            data-test-conversation-data-cancel-button={{true}}\\n          />\\n\\n          <paywall.Hover>\\n            <list.button\\n              @label=\\\"Save\\\"\\n              @type=\\\"primary\\\"\\n              @disabled={{or (not this.isValid) paywall.isActive}}\\n              {{on \\\"click\\\" this.saveAttribute}}\\n              data-test-conversation-data-save-button={{true}}\\n            />\\n          </paywall.Hover>\\n        </IcButtonList>\\n      </div>\\n    </Paywall>\\n  </modal.footer>\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/settings/conversation-attributes/descriptor-details-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/conversation-attributes/descriptor-details-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { isPresent } from '@ember/utils';\nimport { task } from 'ember-concurrency-decorators';\n\nconst LIST_OPTIONS_LIMIT = 20;\nexport default class extends Component {\n  @service store;\n  @service notificationsService;\n\n  @tracked editMode = isPresent(this.args.attributeToEdit);\n  @tracked name = this.editMode ? this.args.attributeToEdit.name : '';\n  @tracked description = this.editMode ? this.args.attributeToEdit.description : '';\n  @tracked dataType = this.editMode\n    ? this.args.attributeToEdit.dataType\n    : this.typeDropdownItems.firstObject.value;\n  @tracked displayableDataType = this.editMode\n    ? this.args.attributeToEdit.displayableDataType\n    : this.typeDropdownItems.firstObject.text;\n  @tracked listOptions = this.editMode ? this.args.attributeToEdit.unArchivedListOptions : [];\n\n  constructor() {\n    super(...arguments);\n    if (this.args.descriptorTemplateParams) {\n      this.name = this.args.descriptorTemplateParams.name;\n      this.description = this.args.descriptorTemplateParams.description;\n      this.dataType = this.args.descriptorTemplateParams.dataType;\n      this.listOptions = this.args.descriptorTemplateParams.listOptionLabels.map(label =>\n        this.createListOptionObject(label),\n      );\n    }\n  }\n\n  get typeDropdownItems() {\n    if (this.args.availableTypes) {\n      return this.args.availableTypes;\n    }\n\n    return [\n      { text: 'Text', value: 'string' },\n      { text: 'List', value: 'list' },\n      { text: 'Number', value: 'integer' },\n      { text: 'Decimal Number', value: 'decimal' },\n      { text: 'Boolean', value: 'boolean' },\n    ];\n  }\n\n  get modalTitle() {\n    return this.editMode ? 'Edit attribute' : 'Create a new conversation attribute';\n  }\n\n  get optionsLimit() {\n    return LIST_OPTIONS_LIMIT;\n  }\n\n  get optionLimitReached() {\n    return this.listOptions.length >= LIST_OPTIONS_LIMIT;\n  }\n\n  get attributeIsArchived() {\n    return this.args.attributeToEdit?.archived;\n  }\n\n  get canArchiveAttribute() {\n    return this.editMode && !this.attributeIsArchived;\n  }\n\n  createListOptionObject(label = '') {\n    return this.store.createRecord('conversation-attributes/list-option', { label });\n  }\n\n  get isValid() {\n    return this.name.trim() !== '';\n  }\n\n  @action\n  addListOption() {\n    let newListOption = this.createListOptionObject();\n    this.listOptions.pushObject(newListOption);\n  }\n\n  @action\n  removeListOption(index) {\n    if (this.listOptions.length > 2) {\n      this.listOptions.removeAt(index);\n    }\n  }\n\n  @action\n  updateType(type) {\n    this.listOptions = [];\n    if (type === 'list') {\n      if (this.listOptions.length === 0) {\n        this.addListOption();\n        this.addListOption();\n      }\n    }\n    this.dataType = type;\n  }\n\n  @action\n  saveAttribute() {\n    if (!this.listOptions.every(option => option.label.length > 0)) {\n      this.notificationsService.notifyError(\n        'Failed to update conversation attribute, all list options must have values',\n      );\n      return;\n    }\n\n    if (this.editMode) {\n      this.updateAttribute.perform();\n    } else {\n      this.createAttribute.perform();\n    }\n  }\n\n  @action\n  rollbackAttributeAndCloseModal() {\n    this.args.onModalClose();\n    this.args.attributeToEdit?.rollbackAttributes();\n    if (this.args.attributeToEdit?.listOptions) {\n      this.args.attributeToEdit?.listOptions.forEach(option => option?.rollbackAttributes());\n    }\n  }\n\n  @task({ drop: true })\n  *updateAttribute() {\n    let conversationAttributeDescriptor = this.args.attributeToEdit;\n\n    try {\n      conversationAttributeDescriptor.setProperties({\n        name: this.name,\n        description: this.description,\n        listOptions: this.listOptions,\n      });\n\n      yield conversationAttributeDescriptor.save();\n      this.notificationsService.notifyConfirmation(\n        'Your conversation attribute was successfully updated.',\n      );\n      this.args.onModalClose();\n    } catch (error) {\n      conversationAttributeDescriptor.rollbackAttributes();\n      this.notificationsService.notifyError(\n        'Failed to update conversation attribute, please try again.',\n      );\n    }\n  }\n\n  @task({ drop: true })\n  *createAttribute() {\n    let conversationAttributeDescriptor = this.store.createRecord(\n      'conversation-attributes/descriptor',\n      {\n        name: this.name,\n        description: this.description,\n        dataType: this.dataType,\n        listOptions: this.listOptions,\n      },\n    );\n\n    try {\n      yield conversationAttributeDescriptor.save();\n      this.notificationsService.notifyConfirmation(\n        'Your conversation attribute was successfully created.',\n      );\n      this.args.onModalClose();\n      if (this.args.onDescriptorCreated) {\n        this.args.onDescriptorCreated(conversationAttributeDescriptor);\n      }\n    } catch (error) {\n      this.store.unloadRecord(conversationAttributeDescriptor);\n      this.notificationsService.notifyError(\n        'Failed to create conversation attribute, please try again.',\n      );\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col justify-center items-center gap-4 h-full m-8 conversation-attributes__getting-started__container\\\" data-test-conversation-attributes-descriptors-empty-state>\\n  <div>\\n    <IcIllustrativeIcon @name=\\\"conversation\\\" @appearance=\\\"empty\\\" />\\n  </div>\\n  <div class=\\\"u__centered-text-block\\\">\\n    <div class=\\\"t__h2 empty-state__title\\\">Get started with conversation data</div>\\n  </div>\\n  <div class=\\\"u__centered-text-block conversation-attributes__getting-started-description\\\">\\n    <Text @styling='muted'>Collect structured data about a conversation by creating a custom attribute. You can use that data across Messenger, Inbox, Reporting, and more to create a ticketing workflow to manage complex conversations more efficiently in Intercom.\\n    </Text>\\n  </div>\\n  <div>\\n    <IcButton\\n      @label=\\\"Create attribute\\\"\\n      @type=\\\"primary\\\"\\n      @onClick={{fn (set this.showDescriptorDetailsModal true)}}\\n      data-test-empty-state-create-attribute-button\\n    />\\n  </div>\\n  <div>\\n    <div class=\\\"flex flex-row items-center gap-4 h-full m-3\\\">\\n      <div class=\\\"flex flex-col flex-3\\\">\\n      <IcCard class=\\\"conversation-attributes__getting-started-template\\\" {{on \\\"click\\\" (fn this.onTemplateClick 'type')}} data-test-empty-state-create-attribute-button-for-type>\\n        <div class=\\\"u__centered-text-block\\\">\\n          <IcIllustrativeIcon @name=\\\"respond\\\" />\\n          <h2 class=\\\"t__h2 empty-state__title\\\">Type</h2>\\n          <div class=\\\"empty-state__description font-normal text-sm\\\">\\n            e.g. question, bug, feature request, etc.\\n          </div>\\n        </div>\\n      </IcCard>\\n      </div>\\n      <div class=\\\"flex flex-col flex-3\\\">\\n      <IcCard class=\\\"conversation-attributes__getting-started-template\\\" {{on \\\"click\\\" (fn this.onTemplateClick 'productArea')}} data-test-empty-state-create-attribute-button-for-product-area>\\n          <div class=\\\"u__centered-text-block\\\">\\n          <IcIllustrativeIcon @name=\\\"lead-qualification\\\" />\\n          <h2 class=\\\"t__h2 empty-state__title\\\">Product area</h2>\\n          <div class=\\\"empty-state__description font-normal text-sm\\\">\\n            e.g. home, mobile, settings, etc.\\n          </div>\\n        </div>\\n\\n      </IcCard>\\n      </div>\\n      <div class=\\\"flex flex-col flex-3\\\">\\n      <IcCard class=\\\"conversation-attributes__getting-started-template\\\" {{on \\\"click\\\" (fn this.onTemplateClick 'urgency')}} data-test-empty-state-create-attribute-button-for-urgency>\\n        <div class=\\\"u__centered-text-block\\\">\\n          <IcIllustrativeIcon @name=\\\"stop-automatically\\\" />\\n          <h2 class=\\\"t__h2 empty-state__title\\\">Urgency</h2>\\n          <div class=\\\"empty-state__description font-normal text-sm\\\">\\n            e.g. high, normal, low, etc.\\n          </div>\\n        </div>\\n      </IcCard>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n{{#if this.showDescriptorDetailsModal}}\\n  <Settings::ConversationAttributes::DescriptorDetailsModal @onModalClose={{this.onClose}} @descriptorTemplateParams={{this.descriptorTemplateParams}} />\\n{{/if}}\\n\", {\"contents\":\"<div class=\\\"flex flex-col justify-center items-center gap-4 h-full m-8 conversation-attributes__getting-started__container\\\" data-test-conversation-attributes-descriptors-empty-state>\\n  <div>\\n    <IcIllustrativeIcon @name=\\\"conversation\\\" @appearance=\\\"empty\\\" />\\n  </div>\\n  <div class=\\\"u__centered-text-block\\\">\\n    <div class=\\\"t__h2 empty-state__title\\\">Get started with conversation data</div>\\n  </div>\\n  <div class=\\\"u__centered-text-block conversation-attributes__getting-started-description\\\">\\n    <Text @styling='muted'>Collect structured data about a conversation by creating a custom attribute. You can use that data across Messenger, Inbox, Reporting, and more to create a ticketing workflow to manage complex conversations more efficiently in Intercom.\\n    </Text>\\n  </div>\\n  <div>\\n    <IcButton\\n      @label=\\\"Create attribute\\\"\\n      @type=\\\"primary\\\"\\n      @onClick={{fn (set this.showDescriptorDetailsModal true)}}\\n      data-test-empty-state-create-attribute-button\\n    />\\n  </div>\\n  <div>\\n    <div class=\\\"flex flex-row items-center gap-4 h-full m-3\\\">\\n      <div class=\\\"flex flex-col flex-3\\\">\\n      <IcCard class=\\\"conversation-attributes__getting-started-template\\\" {{on \\\"click\\\" (fn this.onTemplateClick 'type')}} data-test-empty-state-create-attribute-button-for-type>\\n        <div class=\\\"u__centered-text-block\\\">\\n          <IcIllustrativeIcon @name=\\\"respond\\\" />\\n          <h2 class=\\\"t__h2 empty-state__title\\\">Type</h2>\\n          <div class=\\\"empty-state__description font-normal text-sm\\\">\\n            e.g. question, bug, feature request, etc.\\n          </div>\\n        </div>\\n      </IcCard>\\n      </div>\\n      <div class=\\\"flex flex-col flex-3\\\">\\n      <IcCard class=\\\"conversation-attributes__getting-started-template\\\" {{on \\\"click\\\" (fn this.onTemplateClick 'productArea')}} data-test-empty-state-create-attribute-button-for-product-area>\\n          <div class=\\\"u__centered-text-block\\\">\\n          <IcIllustrativeIcon @name=\\\"lead-qualification\\\" />\\n          <h2 class=\\\"t__h2 empty-state__title\\\">Product area</h2>\\n          <div class=\\\"empty-state__description font-normal text-sm\\\">\\n            e.g. home, mobile, settings, etc.\\n          </div>\\n        </div>\\n\\n      </IcCard>\\n      </div>\\n      <div class=\\\"flex flex-col flex-3\\\">\\n      <IcCard class=\\\"conversation-attributes__getting-started-template\\\" {{on \\\"click\\\" (fn this.onTemplateClick 'urgency')}} data-test-empty-state-create-attribute-button-for-urgency>\\n        <div class=\\\"u__centered-text-block\\\">\\n          <IcIllustrativeIcon @name=\\\"stop-automatically\\\" />\\n          <h2 class=\\\"t__h2 empty-state__title\\\">Urgency</h2>\\n          <div class=\\\"empty-state__description font-normal text-sm\\\">\\n            e.g. high, normal, low, etc.\\n          </div>\\n        </div>\\n      </IcCard>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n{{#if this.showDescriptorDetailsModal}}\\n  <Settings::ConversationAttributes::DescriptorDetailsModal @onModalClose={{this.onClose}} @descriptorTemplateParams={{this.descriptorTemplateParams}} />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/settings/conversation-attributes/getting-started.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/conversation-attributes/getting-started.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\n\nconst DESCRIPTOR_TEMPLATES = {\n  type: {\n    name: 'Type',\n    description: 'Type of the conversation',\n    dataType: 'list',\n    listOptionLabels: ['Question', 'Bug', 'Feature request'],\n  },\n  productArea: {\n    name: 'Product Area',\n    description: 'Product Area of the conversation',\n    dataType: 'list',\n    listOptionLabels: ['Home', 'Mobile', 'Settings'],\n  },\n  urgency: {\n    name: 'Urgency',\n    description: 'Urgency of the conversation',\n    dataType: 'list',\n    listOptionLabels: ['High', 'Normal', 'Low'],\n  },\n};\nexport default class extends Component {\n  @tracked showDescriptorDetailsModal = false;\n  @tracked descriptorTemplateParams;\n\n  @action\n  onTemplateClick(type) {\n    this.descriptorTemplateParams = DESCRIPTOR_TEMPLATES[type];\n    this.showDescriptorDetailsModal = true;\n  }\n\n  @action\n  onClose() {\n    this.showDescriptorDetailsModal = false;\n    this.descriptorTemplateParams = null;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (or (eq @conversationAttributeDescriptors.length 0) @paywallIsActive)}}\\n  <Settings::ConversationAttributes::GettingStarted/>\\n{{else}}\\n  <Pulse::DiscoveryBanner\\n    @heading=\\\"Collect structured data about your conversations\\\"\\n    @description=\\\"Create conversation data attributes to collect info about a conversation and use it across Intercom – surface it in the Inbox, use it to automatically organize and triage new requests to the right team, and track it in your reports.\\\"\\n    @dismissalType=\\\"close-icon\\\"\\n    @dismissalKey=\\\"conversation_data_settings_introduction\\\"\\n    @dismissalService={{service 'banner-dismissal-service'}}\\n    data-test-conversation-attribute-settings-intro-banner\\n    as |banner|\\n  >\\n    <banner.HelpLink\\n      @type=\\\"article\\\"\\n      @title=\\\"Learn more about using conversation data across Intercom\\\"\\n      @href=\\\"https://www.intercom.com/help/en/articles/4323898-what-is-conversation-data\\\"\\n    />\\n  </Pulse::DiscoveryBanner>\\n\\n  {{#if (gt this.archivedConversationAttributeDescriptors.length 0)}}\\n    <div class=\\\"flex flex-col gap-8\\\">\\n      <IcTabControl @selectedTab={{this.currentTab}} @onSelectionChange={{this.switchTab}} data-test-conversation-data-tabs as |tabs|>\\n        <tabs.tab @label=\\\"Live\\\" @value=\\\"live\\\" @attribute={{this.liveConversationAttributeDescriptors.length}} />\\n        <tabs.tab @label=\\\"Archived\\\" @value=\\\"archived\\\" @attribute={{this.archivedConversationAttributeDescriptors.length}} />\\n      </IcTabControl>\\n    </div>\\n  {{/if}}\\n\\n  {{#if this.selectedConversationAttributeDescriptors }}\\n    <IcLightTable\\n      @data={{this.selectedConversationAttributeDescriptors}}\\n      @columns={{array\\n        (hash label=\\\"Name\\\" valuePath=\\\"nameLowercase\\\" isSortable=true)\\n        (hash label=\\\"Format\\\" valuePath=\\\"dataType\\\" isSortable=true)\\n        (hash label=this.dateLabel valuePath=this.dateValuePath isSortable=true)\\n      }}\\n      @sortState={{hash valuePath=\\\"nameLowercase\\\" direction=\\\"asc\\\"}}\\n      as |table|\\n    >\\n      <table.rows as |row|>\\n        <row.actionCell\\n          @valuePath=\\\"nameLowercase\\\"\\n          @rowActions={{if this.liveTabActive\\n            (array\\n              (hash\\n                icon=\\\"edit\\\"\\n                tooltip=\\\"Edit attribute\\\"\\n                onClick=(fn this.editAttribute row.data)\\n              )\\n            )\\n            (array\\n              (hash\\n                label=\\\"Restore\\\"\\n                onClick=(perform this.unarchiveAttribute row.data)\\n              )\\n              (hash\\n                icon=\\\"edit\\\"\\n                tooltip=\\\"Edit attribute\\\"\\n                onClick=(fn this.editAttribute row.data)\\n              )\\n            )\\n          }}\\n        >\\n          {{row.data.name}}\\n        </row.actionCell>\\n        <row.cell @valuePath=\\\"dataType\\\">\\n          {{row.data.displayableDataType}}\\n        </row.cell>\\n        {{#if this.liveTabActive}}\\n          <row.cell @valuePath=\\\"createdAt\\\">\\n            {{full-relative-time-ago-helper row.data.createdAt}}\\n          </row.cell>\\n        {{else}}\\n          <row.cell @valuePath=\\\"archivedAt\\\">\\n            {{full-relative-time-ago-helper row.data.archivedAt}}\\n          </row.cell>\\n        {{/if}}\\n      </table.rows>\\n    </IcLightTable>\\n  {{else}}\\n    <IcEmptyState\\n      @icon=\\\"conversation\\\"\\n      @title=\\\"No live conversation data\\\"\\n      data-test-empty-state={{true}} as |emptyState|\\n    />\\n  {{/if}}\\n\\n  {{#if this.showDescriptorArchiveModal}}\\n    <Settings::ConversationAttributes::DescriptorArchiveModal @onModalClose={{this.closeModals}} @attributeToArchive={{this.selectedAttribute}} />\\n  {{else if this.showDescriptorDetailsModal}}\\n    <Settings::ConversationAttributes::DescriptorDetailsModal @onModalClose={{this.closeModals}} @archiveAttribute={{this.archiveAttribute}} @attributeToEdit={{this.selectedAttribute}} />\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{#if (or (eq @conversationAttributeDescriptors.length 0) @paywallIsActive)}}\\n  <Settings::ConversationAttributes::GettingStarted/>\\n{{else}}\\n  <Pulse::DiscoveryBanner\\n    @heading=\\\"Collect structured data about your conversations\\\"\\n    @description=\\\"Create conversation data attributes to collect info about a conversation and use it across Intercom – surface it in the Inbox, use it to automatically organize and triage new requests to the right team, and track it in your reports.\\\"\\n    @dismissalType=\\\"close-icon\\\"\\n    @dismissalKey=\\\"conversation_data_settings_introduction\\\"\\n    @dismissalService={{service 'banner-dismissal-service'}}\\n    data-test-conversation-attribute-settings-intro-banner\\n    as |banner|\\n  >\\n    <banner.HelpLink\\n      @type=\\\"article\\\"\\n      @title=\\\"Learn more about using conversation data across Intercom\\\"\\n      @href=\\\"https://www.intercom.com/help/en/articles/4323898-what-is-conversation-data\\\"\\n    />\\n  </Pulse::DiscoveryBanner>\\n\\n  {{#if (gt this.archivedConversationAttributeDescriptors.length 0)}}\\n    <div class=\\\"flex flex-col gap-8\\\">\\n      <IcTabControl @selectedTab={{this.currentTab}} @onSelectionChange={{this.switchTab}} data-test-conversation-data-tabs as |tabs|>\\n        <tabs.tab @label=\\\"Live\\\" @value=\\\"live\\\" @attribute={{this.liveConversationAttributeDescriptors.length}} />\\n        <tabs.tab @label=\\\"Archived\\\" @value=\\\"archived\\\" @attribute={{this.archivedConversationAttributeDescriptors.length}} />\\n      </IcTabControl>\\n    </div>\\n  {{/if}}\\n\\n  {{#if this.selectedConversationAttributeDescriptors }}\\n    <IcLightTable\\n      @data={{this.selectedConversationAttributeDescriptors}}\\n      @columns={{array\\n        (hash label=\\\"Name\\\" valuePath=\\\"nameLowercase\\\" isSortable=true)\\n        (hash label=\\\"Format\\\" valuePath=\\\"dataType\\\" isSortable=true)\\n        (hash label=this.dateLabel valuePath=this.dateValuePath isSortable=true)\\n      }}\\n      @sortState={{hash valuePath=\\\"nameLowercase\\\" direction=\\\"asc\\\"}}\\n      as |table|\\n    >\\n      <table.rows as |row|>\\n        <row.actionCell\\n          @valuePath=\\\"nameLowercase\\\"\\n          @rowActions={{if this.liveTabActive\\n            (array\\n              (hash\\n                icon=\\\"edit\\\"\\n                tooltip=\\\"Edit attribute\\\"\\n                onClick=(fn this.editAttribute row.data)\\n              )\\n            )\\n            (array\\n              (hash\\n                label=\\\"Restore\\\"\\n                onClick=(perform this.unarchiveAttribute row.data)\\n              )\\n              (hash\\n                icon=\\\"edit\\\"\\n                tooltip=\\\"Edit attribute\\\"\\n                onClick=(fn this.editAttribute row.data)\\n              )\\n            )\\n          }}\\n        >\\n          {{row.data.name}}\\n        </row.actionCell>\\n        <row.cell @valuePath=\\\"dataType\\\">\\n          {{row.data.displayableDataType}}\\n        </row.cell>\\n        {{#if this.liveTabActive}}\\n          <row.cell @valuePath=\\\"createdAt\\\">\\n            {{full-relative-time-ago-helper row.data.createdAt}}\\n          </row.cell>\\n        {{else}}\\n          <row.cell @valuePath=\\\"archivedAt\\\">\\n            {{full-relative-time-ago-helper row.data.archivedAt}}\\n          </row.cell>\\n        {{/if}}\\n      </table.rows>\\n    </IcLightTable>\\n  {{else}}\\n    <IcEmptyState\\n      @icon=\\\"conversation\\\"\\n      @title=\\\"No live conversation data\\\"\\n      data-test-empty-state={{true}} as |emptyState|\\n    />\\n  {{/if}}\\n\\n  {{#if this.showDescriptorArchiveModal}}\\n    <Settings::ConversationAttributes::DescriptorArchiveModal @onModalClose={{this.closeModals}} @attributeToArchive={{this.selectedAttribute}} />\\n  {{else if this.showDescriptorDetailsModal}}\\n    <Settings::ConversationAttributes::DescriptorDetailsModal @onModalClose={{this.closeModals}} @archiveAttribute={{this.archiveAttribute}} @attributeToEdit={{this.selectedAttribute}} />\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/settings/conversation-attributes/list-descriptors.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/conversation-attributes/list-descriptors.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { task } from 'ember-concurrency-decorators';\nimport { inject as service } from '@ember/service';\n\nexport default class extends Component {\n  @service notificationsService;\n\n  @tracked selectedAttribute;\n  @tracked showDescriptorDetailsModal = false;\n  @tracked showDescriptorArchiveModal = false;\n\n  @tracked currentTab = 'live';\n\n  get liveConversationAttributeDescriptors() {\n    return this.args.conversationAttributeDescriptors.rejectBy('archived');\n  }\n\n  get archivedConversationAttributeDescriptors() {\n    return this.args.conversationAttributeDescriptors.filterBy('archived');\n  }\n\n  get selectedConversationAttributeDescriptors() {\n    if (this.currentTab === 'archived') {\n      return this.archivedConversationAttributeDescriptors;\n    } else {\n      return this.liveConversationAttributeDescriptors;\n    }\n  }\n\n  get liveTabActive() {\n    return this.currentTab === 'live';\n  }\n\n  get dateLabel() {\n    return this.liveTabActive ? 'Created' : 'Archived';\n  }\n\n  get dateValuePath() {\n    return this.liveTabActive ? 'createdAt' : 'archivedAt';\n  }\n\n  @action\n  editAttribute(attribute) {\n    this.selectedAttribute = attribute;\n    this.showDescriptorDetailsModal = true;\n  }\n\n  @action\n  archiveAttribute() {\n    this.showDescriptorArchiveModal = true;\n  }\n\n  @action\n  switchTab(tab) {\n    this.currentTab = tab;\n  }\n\n  @action\n  closeModals() {\n    this.showDescriptorDetailsModal = false;\n    this.showDescriptorArchiveModal = false;\n  }\n\n  @task({ drop: true })\n  *unarchiveAttribute(attribute) {\n    try {\n      attribute.archived = false;\n      yield attribute.save();\n      this.notificationsService.notifyConfirmation(`${attribute.name} was unarchived`);\n      if (this.archivedConversationAttributeDescriptors.length === 0) {\n        this.currentTab = 'live';\n      }\n    } catch (error) {\n      attribute.rollbackAttributes();\n      this.notificationsService.notifyError(\n        `Failed to unarchive ${attribute.name}, please try again.`,\n      );\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"pl-8 pt-4\\\">\\n  <Form as |form|>\\n    <form.Item as |item|>\\n      <item.Input \\n        @value={{this.tagSearchString}}\\n        @placeholder=\\\"Search tags...\\\" \\n        data-test-tag-search\\n      /> \\n    </form.Item>\\n  </Form>\\n</div>\\n<div class=\\\"layout__box o__flexes-to-1 o__scrolls mt-2 pb-6 pl-8 pr-8\\\" data-test-tags-table>\\n  {{#if (and this.hasSearchString (not this.rows.length))}}\\n    <IcEmptyState\\n      @icon=\\\"untracked-attribute\\\"\\n      @title=\\\"No tag matches your search.\\\"\\n      data-test-empty-state\\n    />\\n  {{else}}\\n    <IcLightTable\\n      @data={{this.rows}}\\n      @isLoading={{false}}\\n      @columns={{this.columns}} \\n      as |table|\\n    >\\n      <table.rows as |row|>\\n        <row.cell @valuePath=\\\"tag.name\\\">\\n          <TableCellEditName\\n            @tag={{row.data.tag}}\\n          />\\n        </row.cell>\\n        <row.cell @valuePath=\\\"messages\\\">\\n          <a onclick={{action \\\"transitionToMessages\\\" row.data.tag}}>\\n            <Text @linkStyling=\\\"inline\\\">See messages</Text>\\n          </a>  \\n        </row.cell>\\n        <row.cell @valuePath=\\\"users\\\">\\n          <a href=\\\"{{row.data.usersLink}}\\\">\\n            <Text @linkStyling=\\\"inline\\\">See users</Text>\\n          </a>\\n        </row.cell>\\n        <row.cell @valuePath=\\\"companies\\\">\\n          <a href=\\\"{{row.data.companiesLink}}\\\">\\n            <Text @linkStyling=\\\"inline\\\">See companies</Text>\\n          </a> \\n        </row.cell>\\n        <row.cell @valuePath=\\\"conversations\\\">\\n          <a href=\\\"{{row.data.conversationsLink}}\\\">\\n            <Text @linkStyling=\\\"inline\\\">See conversations</Text>\\n          </a>  \\n        </row.cell>\\n        <row.cell @valuePath=\\\"delete\\\">\\n          <IcButton \\n            @showsIconOnly={{true}} \\n            @onClick={{action \\\"requestDeletion\\\" row.data.tag}}\\n            @icon=\\\"delete\\\" \\n            @type=\\\"secondary-destructive\\\"\\n            data-test-request-tag-deletion\\n          />\\n        </row.cell>  \\n      </table.rows>\\n    </IcLightTable>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"pl-8 pt-4\\\">\\n  <Form as |form|>\\n    <form.Item as |item|>\\n      <item.Input \\n        @value={{this.tagSearchString}}\\n        @placeholder=\\\"Search tags...\\\" \\n        data-test-tag-search\\n      /> \\n    </form.Item>\\n  </Form>\\n</div>\\n<div class=\\\"layout__box o__flexes-to-1 o__scrolls mt-2 pb-6 pl-8 pr-8\\\" data-test-tags-table>\\n  {{#if (and this.hasSearchString (not this.rows.length))}}\\n    <IcEmptyState\\n      @icon=\\\"untracked-attribute\\\"\\n      @title=\\\"No tag matches your search.\\\"\\n      data-test-empty-state\\n    />\\n  {{else}}\\n    <IcLightTable\\n      @data={{this.rows}}\\n      @isLoading={{false}}\\n      @columns={{this.columns}} \\n      as |table|\\n    >\\n      <table.rows as |row|>\\n        <row.cell @valuePath=\\\"tag.name\\\">\\n          <TableCellEditName\\n            @tag={{row.data.tag}}\\n          />\\n        </row.cell>\\n        <row.cell @valuePath=\\\"messages\\\">\\n          <a onclick={{action \\\"transitionToMessages\\\" row.data.tag}}>\\n            <Text @linkStyling=\\\"inline\\\">See messages</Text>\\n          </a>  \\n        </row.cell>\\n        <row.cell @valuePath=\\\"users\\\">\\n          <a href=\\\"{{row.data.usersLink}}\\\">\\n            <Text @linkStyling=\\\"inline\\\">See users</Text>\\n          </a>\\n        </row.cell>\\n        <row.cell @valuePath=\\\"companies\\\">\\n          <a href=\\\"{{row.data.companiesLink}}\\\">\\n            <Text @linkStyling=\\\"inline\\\">See companies</Text>\\n          </a> \\n        </row.cell>\\n        <row.cell @valuePath=\\\"conversations\\\">\\n          <a href=\\\"{{row.data.conversationsLink}}\\\">\\n            <Text @linkStyling=\\\"inline\\\">See conversations</Text>\\n          </a>  \\n        </row.cell>\\n        <row.cell @valuePath=\\\"delete\\\">\\n          <IcButton \\n            @showsIconOnly={{true}} \\n            @onClick={{action \\\"requestDeletion\\\" row.data.tag}}\\n            @icon=\\\"delete\\\" \\n            @type=\\\"secondary-destructive\\\"\\n            data-test-request-tag-deletion\\n          />\\n        </row.cell>  \\n      </table.rows>\\n    </IcLightTable>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/data/people-and-company-tags-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/data/people-and-company-tags-table.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { computed } from '@ember/object';\nimport { readOnly, notEmpty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { tagFilterUrl } from 'embercom/vendor/intercom/tag-filter-url';\nimport TagHelper from 'embercom/lib/tags/tag-helper';\nimport escapeRegExp from 'embercom/lib/escape-regular-expression';\n\nexport default Component.extend({\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  notificationsService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  outboundHomeService: service(),\n  router: service(),\n  tagName: '',\n  tagSearchString: null,\n  hasSearchString: notEmpty('tagSearchString'),\n\n  filteredTags: computed('tags.@each.name', 'tagSearchString', function() {\n    if (this.hasSearchString) {\n      let filterRegex = new RegExp(escapeRegExp(this.tagSearchString), 'i');\n      return this.tags.filter(tag => filterRegex.test(tag.get('name')));\n    } else {\n      return this.tags;\n    }\n  }),\n\n  rows: computed('filteredTags.[]', 'tagSearchString', function() {\n    return this.filteredTags.map(tag => ({\n      tag,\n      usersLink: tagFilterUrl(tag, 'user'),\n      companiesLink: tagFilterUrl(tag, 'company'),\n      conversationsLink: tagFilterUrl(tag, 'conversation'),\n    }));\n  }),\n\n  columns: computed('model', 'app.canUseContentOrientedNavigation', function() {\n    let columns = [];\n\n    if (this.get('app.canUseContentOrientedNavigation')) {\n      columns.push(\n        {\n          label: 'Tag name',\n          valuePath: 'tag.name',\n          isSortable: true,\n          width: '50%',\n        },\n        {\n          label: 'Messages',\n          valuePath: 'messages',\n        },\n      );\n    } else {\n      columns.push({\n        label: 'Tag name',\n        valuePath: 'tag.name',\n        isSortable: true,\n        width: '60%',\n      });\n    }\n    columns.push(\n      {\n        label: 'Users',\n        valuePath: 'users',\n      },\n      {\n        label: 'Companies',\n        valuePath: 'companies',\n      },\n      {\n        label: 'Conversations',\n        valuePath: 'conversations',\n      },\n      {\n        label: '',\n        valuePath: 'delete',\n      },\n    );\n    return columns;\n  }),\n\n  actions: {\n    transitionToMessages(tag) {\n      this.outboundHomeService.resetFilters();\n      this.set('outboundHomeService.selectedTagValues', [tag.id]);\n      this.router.transitionTo('apps.app.outbound.all');\n    },\n    requestDeletion(tag) {\n      let modalController = 'apps/app/settings/modals/checking-dependents';\n      let options = {\n        dependentObjectService: TagHelper.create({\n          appId: this.get('app.id'),\n          tagId: tag.get('id'),\n        }),\n        promptMessage: 'Please note tag deletion can take some time to complete',\n      };\n      this.modalService.openModal(modalController, tag, options);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.hasSlas}}\\n  <div class=\\\"layout__box py-5 px-8\\\">\\n    <div>\\n      <p>\\n        SLAs (or Service Level Agreements) let you manage your team’s response times.\\n        <a href={{href-to (if this.app.canUseWorkflows \\\"apps.app.inbox.automation.workflows.list\\\" \\\"apps.app.inbox.automation.sla\\\")}}>\\n          {{~#if this.app.canUseWorkflows~}}\\n            Go to rules to apply SLAs to conversations\\n          {{~else~}}\\n            Go to SLA rules to apply SLAs to incoming conversations\\n          {{~/if~}}\\n        </a>.\\n      </p>\\n    </div>\\n  </div>\\n\\n  {{#if this.hasArchivedSlas}}\\n    <div class=\\\"px-8 pb-8\\\">\\n      <IcTabControl @selectedTab={{this.currentTab}} @onSelectionChange={{this.changeTab}} data-test-sla-tabs as |tabs|>\\n        <tabs.tab @label=\\\"Live\\\" @value=\\\"live\\\" @attribute={{this.liveSlaList.length}} />\\n        <tabs.tab @label=\\\"Archived\\\" @value=\\\"archived\\\" @attribute={{this.archivedSlaList.length}} />\\n      </IcTabControl>\\n    </div>\\n  {{/if}}\\n\\n  <div class=\\\"layout__box o__flexes-to-1 o__scrolls mt-2 pb-6 pl-8 pr-8\\\">\\n    <IcLightTable\\n      @data={{this.slaList}}\\n      @columns={{this.columns}}\\n      @sortState={{hash valuePath=\\\"name\\\" direction=\\\"asc\\\"}}\\n      as |table|\\n    >\\n      <table.rows as |row|>\\n        <row.actionCell\\n          @valuePath=\\\"name\\\"\\n          @rowActions={{if (eq this.currentTab \\\"live\\\")\\n            (array\\n              (hash\\n                secondaryType=\\\"destructive\\\"\\n                label=\\\"Archive\\\"\\n                onClick=(fn this.confirmArchiveSla row.data)\\n              )\\n            )\\n            (array\\n              (hash\\n                label=\\\"Restore\\\"\\n                onClick=(perform this.restoreSla row.data)\\n              )\\n              (hash\\n                secondaryType=\\\"destructive\\\"\\n                label=\\\"Delete\\\"\\n                onClick=(fn this.confirmDeleteSla row.data)\\n              )\\n            )\\n          }}\\n        >\\n          <h4>{{row.data.name}}</h4>\\n\\n          {{#if row.data.firstReplyTimeInSeconds}}\\n            <Paragraph @styling=\\\"muted\\\">First response time: {{seconds-formatter row.data.firstReplyTimeInSeconds}}</Paragraph>\\n          {{/if}}\\n\\n          {{#if row.data.nextReplyTimeInSeconds}}\\n            <Paragraph @styling=\\\"muted\\\">Next response time: {{seconds-formatter row.data.nextReplyTimeInSeconds}}</Paragraph>\\n          {{/if}}\\n\\n          {{#if row.data.officeHoursSchedule}}\\n            <Paragraph @styling=\\\"muted\\\">Office Hours: {{row.data.officeHoursSchedule.name}} ({{row.data.officeHoursSchedule.labelWithTimezone}})</Paragraph>\\n          {{/if}}\\n        </row.actionCell>\\n        {{#if this.liveTabActive}}\\n          <row.cell @valuePath=\\\"createdAt\\\">\\n            <TimeFromNowComponent @timestamp={{row.data.createdAt}} />\\n          </row.cell>\\n        {{else}}\\n          <row.cell @valuePath=\\\"archivedAt\\\">\\n            <TimeFromNowComponent @timestamp={{row.data.archivedAt}} />\\n          </row.cell>\\n        {{/if}}\\n      </table.rows>\\n    </IcLightTable>\\n  </div>\\n\\n  {{#if this.showArchiveModal}}\\n    <Settings::SlaArchiveModal\\n      @sla={{this.slaToArchive}}\\n      @onClose={{this.closeArchiveModal}}\\n      @archiveSla={{this.archiveSla}}\\n    />\\n  {{/if}}\\n\\n  {{#if this.showDeleteModal}}\\n    <Settings::SlaDeleteModal\\n      @sla={{this.slaToDelete}}\\n      @onClose={{this.closeDeleteModal}}\\n      @deleteSla={{this.deleteSla}}\\n    />\\n  {{/if}}\\n{{else}}\\n  <IcEmptyState\\n    @icon=\\\"delivery-window\\\"\\n    @title=\\\"No SLAs yet\\\">\\n    <div class=\\\"text-gray mt-2\\\">\\n      <a href={{href-to \\\"apps.app.inbox.automation.sla\\\"}}>Go to SLA rules</a> to apply SLAs to\\n      <br />incoming conversations.\\n    </div>\\n  </IcEmptyState>\\n{{/if}}\\n\", {\"contents\":\"{{#if this.hasSlas}}\\n  <div class=\\\"layout__box py-5 px-8\\\">\\n    <div>\\n      <p>\\n        SLAs (or Service Level Agreements) let you manage your team’s response times.\\n        <a href={{href-to (if this.app.canUseWorkflows \\\"apps.app.inbox.automation.workflows.list\\\" \\\"apps.app.inbox.automation.sla\\\")}}>\\n          {{~#if this.app.canUseWorkflows~}}\\n            Go to rules to apply SLAs to conversations\\n          {{~else~}}\\n            Go to SLA rules to apply SLAs to incoming conversations\\n          {{~/if~}}\\n        </a>.\\n      </p>\\n    </div>\\n  </div>\\n\\n  {{#if this.hasArchivedSlas}}\\n    <div class=\\\"px-8 pb-8\\\">\\n      <IcTabControl @selectedTab={{this.currentTab}} @onSelectionChange={{this.changeTab}} data-test-sla-tabs as |tabs|>\\n        <tabs.tab @label=\\\"Live\\\" @value=\\\"live\\\" @attribute={{this.liveSlaList.length}} />\\n        <tabs.tab @label=\\\"Archived\\\" @value=\\\"archived\\\" @attribute={{this.archivedSlaList.length}} />\\n      </IcTabControl>\\n    </div>\\n  {{/if}}\\n\\n  <div class=\\\"layout__box o__flexes-to-1 o__scrolls mt-2 pb-6 pl-8 pr-8\\\">\\n    <IcLightTable\\n      @data={{this.slaList}}\\n      @columns={{this.columns}}\\n      @sortState={{hash valuePath=\\\"name\\\" direction=\\\"asc\\\"}}\\n      as |table|\\n    >\\n      <table.rows as |row|>\\n        <row.actionCell\\n          @valuePath=\\\"name\\\"\\n          @rowActions={{if (eq this.currentTab \\\"live\\\")\\n            (array\\n              (hash\\n                secondaryType=\\\"destructive\\\"\\n                label=\\\"Archive\\\"\\n                onClick=(fn this.confirmArchiveSla row.data)\\n              )\\n            )\\n            (array\\n              (hash\\n                label=\\\"Restore\\\"\\n                onClick=(perform this.restoreSla row.data)\\n              )\\n              (hash\\n                secondaryType=\\\"destructive\\\"\\n                label=\\\"Delete\\\"\\n                onClick=(fn this.confirmDeleteSla row.data)\\n              )\\n            )\\n          }}\\n        >\\n          <h4>{{row.data.name}}</h4>\\n\\n          {{#if row.data.firstReplyTimeInSeconds}}\\n            <Paragraph @styling=\\\"muted\\\">First response time: {{seconds-formatter row.data.firstReplyTimeInSeconds}}</Paragraph>\\n          {{/if}}\\n\\n          {{#if row.data.nextReplyTimeInSeconds}}\\n            <Paragraph @styling=\\\"muted\\\">Next response time: {{seconds-formatter row.data.nextReplyTimeInSeconds}}</Paragraph>\\n          {{/if}}\\n\\n          {{#if row.data.officeHoursSchedule}}\\n            <Paragraph @styling=\\\"muted\\\">Office Hours: {{row.data.officeHoursSchedule.name}} ({{row.data.officeHoursSchedule.labelWithTimezone}})</Paragraph>\\n          {{/if}}\\n        </row.actionCell>\\n        {{#if this.liveTabActive}}\\n          <row.cell @valuePath=\\\"createdAt\\\">\\n            <TimeFromNowComponent @timestamp={{row.data.createdAt}} />\\n          </row.cell>\\n        {{else}}\\n          <row.cell @valuePath=\\\"archivedAt\\\">\\n            <TimeFromNowComponent @timestamp={{row.data.archivedAt}} />\\n          </row.cell>\\n        {{/if}}\\n      </table.rows>\\n    </IcLightTable>\\n  </div>\\n\\n  {{#if this.showArchiveModal}}\\n    <Settings::SlaArchiveModal\\n      @sla={{this.slaToArchive}}\\n      @onClose={{this.closeArchiveModal}}\\n      @archiveSla={{this.archiveSla}}\\n    />\\n  {{/if}}\\n\\n  {{#if this.showDeleteModal}}\\n    <Settings::SlaDeleteModal\\n      @sla={{this.slaToDelete}}\\n      @onClose={{this.closeDeleteModal}}\\n      @deleteSla={{this.deleteSla}}\\n    />\\n  {{/if}}\\n{{else}}\\n  <IcEmptyState\\n    @icon=\\\"delivery-window\\\"\\n    @title=\\\"No SLAs yet\\\">\\n    <div class=\\\"text-gray mt-2\\\">\\n      <a href={{href-to \\\"apps.app.inbox.automation.sla\\\"}}>Go to SLA rules</a> to apply SLAs to\\n      <br />incoming conversations.\\n    </div>\\n  </IcEmptyState>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/settings/data/sla-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/data/sla-table.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\nimport { inject as service } from '@ember/service';\n\nexport default class SlaTable extends Component {\n  @service appService;\n\n  @tracked currentTab = 'live';\n  @tracked showArchiveModal = false;\n  @tracked showDeleteModal = false;\n  @tracked slaToArchive = null;\n  @tracked slaToDelete = null;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get liveTabActive() {\n    return this.currentTab === 'live';\n  }\n\n  get slaList() {\n    return this.currentTab === 'live' ? this.liveSlaList : this.archivedSlaList;\n  }\n\n  get liveSlaList() {\n    return this.rows.rejectBy('archived');\n  }\n\n  get archivedSlaList() {\n    return this.rows.filterBy('archived');\n  }\n\n  get rows() {\n    return this.slasWithOfficeHours;\n  }\n\n  get hasSlas() {\n    return this.slasWithOfficeHours.length > 0;\n  }\n\n  get hasArchivedSlas() {\n    return this.archivedSlaList.length > 0;\n  }\n\n  get slasWithOfficeHours() {\n    return this.args.slas.map(sla => {\n      if (sla.officeHoursSchedule === undefined) {\n        sla.officeHoursSchedule = this.args.officeHoursSchedules.findBy(\n          'id',\n          sla.officeHoursScheduleId,\n        );\n      }\n\n      return sla;\n    });\n  }\n\n  get columns() {\n    let columns = [];\n    columns.push({\n      label: 'Name',\n      valuePath: 'name',\n      isSortable: true,\n      sortedAscending: true,\n      width: '60%',\n    });\n\n    let dateLabel;\n    let datePath;\n\n    if (this.liveTabActive) {\n      dateLabel = 'Created';\n      datePath = 'createdAt';\n    } else {\n      dateLabel = 'Archived';\n      datePath = 'archivedAt';\n    }\n\n    columns.push({\n      label: dateLabel,\n      valuePath: datePath,\n      isSortable: true,\n      sortedAscending: false,\n    });\n\n    return columns;\n  }\n\n  @action\n  changeTab(tab) {\n    this.currentTab = tab;\n  }\n\n  @action\n  confirmArchiveSla(sla) {\n    this.showArchiveModal = true;\n    this.slaToArchive = sla;\n  }\n\n  @action\n  confirmDeleteSla(sla) {\n    this.showDeleteModal = true;\n    this.slaToDelete = sla;\n  }\n\n  @action\n  closeArchiveModal() {\n    this.showArchiveModal = false;\n    this.slaToArchive = null;\n  }\n\n  @action\n  closeDeleteModal() {\n    this.showDeleteModal = false;\n    this.slaToDelete = null;\n  }\n\n  @task({ drop: true })\n  *archiveSla() {\n    let sla = this.slaToArchive;\n    yield this.toggleArchiveState.perform(sla, true);\n    this.closeArchiveModal();\n  }\n\n  @task({ drop: true })\n  *restoreSla(sla) {\n    yield this.toggleArchiveState.perform(sla, false);\n    if (this.hasArchivedSlas === false) {\n      this.changeTab('live');\n    }\n  }\n\n  @task({ drop: true })\n  *toggleArchiveState(sla, newState) {\n    sla.archived = newState;\n    yield sla.save();\n  }\n\n  @task({ drop: true })\n  *deleteSla() {\n    let sla = this.slaToDelete;\n    yield sla.destroyRecord();\n    this.closeDeleteModal();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- There is currently no good form component for inline edit --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<Settings::StandardHeader @titleToken=\\\"Tags\\\">\\n  <div class=\\\"flex flex-row items-center gap-4\\\">\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/intercom-s-key-features-explained/grouping-users/group-your-users-by-tags\\\"\\n      @title=\\\"Learn more about tagging\\\"\\n      @type=\\\"article\\\"\\n    />\\n\\n    {{#if this.hasTags}}\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @label=\\\"New tag\\\"\\n        @icon=\\\"new\\\"\\n        @onClick={{this.createTag}}\\n        data-test-add-tag-button\\n      />\\n    {{/if}}\\n  </div>\\n</Settings::StandardHeader>\\n\\n{{#if (not this.hasTags)}}\\n  <IcEmptyState\\n    @icon=\\\"tag\\\"\\n    @title=\\\"No tags yet\\\"\\n    @description=\\\"To create one, click the new tag button.\\\"\\n    @buttonLabel=\\\"New tag\\\"\\n    @onButtonClick={{this.createTag}}\\n  />\\n{{else}}\\n  {{#if (has-feature \\\"canUseArchivedTags\\\")}}\\n    <div class=\\\"pb-8 pl-8 pr-8 pt-12\\\">\\n      <IcTabControl @selectedTab={{this.currentTab}} @onSelectionChange={{this.switchTab}} data-test-tag-tabs as |tabs|>\\n        <tabs.tab @label=\\\"Live\\\" @value=\\\"live\\\" @attribute={{this.liveTagList.rows.length}} />\\n        <tabs.tab @label=\\\"Archived\\\" @value=\\\"archived\\\" @attribute={{this.archivedTagList.rows.length}} />\\n      </IcTabControl>\\n    </div>\\n  {{/if}}\\n  <div class=\\\"pb-8 pl-8 pr-8 pt-12\\\">\\n    <Form as |form|>\\n      <form.Item as |item|>\\n        <item.Input\\n          @value={{this.tagList.tagSearchString}}\\n          @placeholder=\\\"Search tags...\\\"\\n          {{on \\\"focus\\\" this.focusSearchInput}}\\n          {{on \\\"input\\\" (perform this.debouncedSearch)}}\\n          data-test-tag-search\\n        />\\n      </form.Item>\\n    </Form>\\n  </div>\\n  <div class=\\\"layout__box o__flexes-to-1 o__scrolls mt-2 pb-6 pl-8 pr-8\\\">\\n    <IcTable\\n      @data={{this.tagList.displayableRows}}\\n      @columns={{this.columns}}\\n      @sortState={{this.tagList.sortState}}\\n      @onSort={{this.onSort}}\\n      @canLoadMore={{this.tagList.hasMoreRows}}\\n      @onLoadMore={{this.onLoadMore}}\\n      as |table|\\n    >\\n      <table.rows as |row|>\\n        {{#if row.data.editing}}\\n          <row.cell @valuePath=\\\"tag.name\\\">\\n            <div class=\\\"flex flex-row items-center\\\">\\n              <div class=\\\"flex flex-col justify-center\\\">\\n                {{ic-interface-icon 'tag'}}\\n              </div>\\n              <Input\\n                class=\\\"settings__tags__name-edit flex items-start_ext f__text editable-text__text-input\\\"\\n                @value={{row.data.tag.name}}\\n                @enter={{perform this.saveTag row.data}}\\n                @escape-press={{perform this.abortEditing}}\\n                id={{concat \\\"tag-name-editor-\\\" row.data.tag.id}}\\n                @maxlength=\\\"255\\\"\\n                data-test-tag-name-input\\n                {{auto-focus-element}}\\n              />\\n              <IcButton\\n                @type=\\\"secondary\\\"\\n                @onClick={{perform this.saveTag row.data}}\\n                @iconOnly={{true}}\\n                @subtle={{true}}\\n                data-test-tag-save-button\\n              >\\n                {{ic-interface-icon \\\"check\\\" solo=true}}\\n              </IcButton>\\n            </div>\\n          </row.cell>\\n        {{else}}\\n          <row.actionCell\\n            @valuePath=\\\"tag.name\\\"\\n            @rowActions={{if (has-feature \\\"canUseArchivedTags\\\")\\n              (if (eq this.currentTab \\\"live\\\")\\n                (array\\n                  (hash\\n                    icon=\\\"edit\\\"\\n                    tooltip=\\\"Edit tag\\\"\\n                    onClick=(fn this.editTag row.data)\\n                  )\\n                  (hash\\n                    secondaryType=\\\"destructive\\\"\\n                    label=\\\"Archive\\\"\\n                    onClick=(fn this.requestArchive row.data)\\n                  )\\n                )\\n                (array\\n                  (hash\\n                    label=\\\"Restore\\\"\\n                    onClick=(perform this.restoreTag row.data)\\n                  )\\n                  (hash\\n                    secondaryType=\\\"destructive\\\"\\n                    label=\\\"Delete\\\"\\n                    onClick=(fn this.requestDeletion row.data)\\n                  )\\n                )\\n              )\\n              (array\\n                (hash\\n                  icon=\\\"edit\\\"\\n                  tooltip=\\\"Edit tag\\\"\\n                  onClick=(fn this.editTag row.data)\\n                )\\n                (hash\\n                  secondaryType=\\\"destructive\\\"\\n                  label=\\\"Delete\\\"\\n                  onClick=(fn this.requestDeletion row.data)\\n                )\\n              )\\n            }}\\n          >\\n            <div class=\\\"flex flex-row items-center settings__tags__name-view\\\">\\n              <div class=\\\"flex flex-col justify-center\\\">\\n                {{ic-interface-icon 'tag'}}\\n              </div>\\n              <Text class=\\\"settings__tags__name-view-text\\\" data-test-tag-name={{true}}>\\n                {{row.data.tag.name}}\\n              </Text>\\n            </div>\\n          </row.actionCell>\\n        {{/if}}\\n        <row.cell @valuePath=\\\"tag.created_at\\\">\\n          <TimeFromNowComponent @timestamp={{row.data.tag.created_at}} />\\n        </row.cell>\\n        <row.cell @valuePath=\\\"tag.createdBy.name\\\">\\n          {{#if row.data.tag.createdBy}}\\n            <div class=\\\"avatar__container o__s whitespace-no-wrap\\\">\\n              {{ic-avatar\\n                model=row.data.tag.createdBy\\n                size=\\\"s\\\"\\n                contained=true\\n              }}\\n              {{row.data.tag.createdBy.name}}\\n            </div>\\n          {{else}}\\n            –\\n          {{/if}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"tag.archived_at\\\">\\n          <TimeFromNowComponent @timestamp={{row.data.tag.archived_at}} />\\n        </row.cell>\\n        <row.cell @valuePath=\\\"tag.archivedBy.name\\\">\\n          {{#if row.data.tag.archivedBy.name}}\\n            <div class=\\\"avatar__container o__s whitespace-no-wrap\\\">\\n              {{ic-avatar\\n                model=row.data.tag.archivedBy\\n                size=\\\"s\\\"\\n                contained=true\\n              }}\\n              {{row.data.tag.archivedBy.name}}\\n            </div>\\n          {{else}}\\n            –\\n          {{/if}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"tag.stats.userCount\\\">\\n          <Settings::TagUsageLink @loading={{this.loadStats.isRunning}} @count={{row.data.tag.stats.userCount}} @link={{row.data.usersLink}} />\\n        </row.cell>\\n        <row.cell @valuePath=\\\"tag.stats.companyCount\\\">\\n          <Settings::TagUsageLink @loading={{this.loadStats.isRunning}} @count={{row.data.tag.stats.companyCount}} @link={{row.data.companiesLink}} />\\n        </row.cell>\\n        <row.cell @valuePath=\\\"tag.stats.conversationCount\\\">\\n          <Settings::TagUsageLink @loading={{this.loadStats.isRunning}} @count={{row.data.tag.stats.conversationCount}} @link={{row.data.conversationsLink}} />\\n        </row.cell>\\n        <row.cell @valuePath=\\\"tag.stats.messageCount\\\">\\n          <Settings::TagUsageLink @loading={{this.loadStats.isRunning}} @count={{row.data.tag.stats.messageCount}} @onClick={{fn this.transitionToMessages row.data}} />\\n        </row.cell>\\n      </table.rows>\\n    </IcTable>\\n  </div>\\n{{/if}}\\n\\n{{#if this.rowBeingDeleted}}\\n  <Settings::TagDeletionModal @tag={{this.rowBeingDeleted.tag}} @onClose={{this.tagDeletionFinished}} />\\n{{/if}}\\n\\n{{#if this.rowBeingArchived}}\\n  <Settings::TagArchiveModal @tag={{this.rowBeingArchived.tag}} @onClose={{this.tagArchiveFinished}} />\\n{{/if}}\\n\", {\"contents\":\"{{!-- There is currently no good form component for inline edit --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<Settings::StandardHeader @titleToken=\\\"Tags\\\">\\n  <div class=\\\"flex flex-row items-center gap-4\\\">\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/intercom-s-key-features-explained/grouping-users/group-your-users-by-tags\\\"\\n      @title=\\\"Learn more about tagging\\\"\\n      @type=\\\"article\\\"\\n    />\\n\\n    {{#if this.hasTags}}\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @label=\\\"New tag\\\"\\n        @icon=\\\"new\\\"\\n        @onClick={{this.createTag}}\\n        data-test-add-tag-button\\n      />\\n    {{/if}}\\n  </div>\\n</Settings::StandardHeader>\\n\\n{{#if (not this.hasTags)}}\\n  <IcEmptyState\\n    @icon=\\\"tag\\\"\\n    @title=\\\"No tags yet\\\"\\n    @description=\\\"To create one, click the new tag button.\\\"\\n    @buttonLabel=\\\"New tag\\\"\\n    @onButtonClick={{this.createTag}}\\n  />\\n{{else}}\\n  {{#if (has-feature \\\"canUseArchivedTags\\\")}}\\n    <div class=\\\"pb-8 pl-8 pr-8 pt-12\\\">\\n      <IcTabControl @selectedTab={{this.currentTab}} @onSelectionChange={{this.switchTab}} data-test-tag-tabs as |tabs|>\\n        <tabs.tab @label=\\\"Live\\\" @value=\\\"live\\\" @attribute={{this.liveTagList.rows.length}} />\\n        <tabs.tab @label=\\\"Archived\\\" @value=\\\"archived\\\" @attribute={{this.archivedTagList.rows.length}} />\\n      </IcTabControl>\\n    </div>\\n  {{/if}}\\n  <div class=\\\"pb-8 pl-8 pr-8 pt-12\\\">\\n    <Form as |form|>\\n      <form.Item as |item|>\\n        <item.Input\\n          @value={{this.tagList.tagSearchString}}\\n          @placeholder=\\\"Search tags...\\\"\\n          {{on \\\"focus\\\" this.focusSearchInput}}\\n          {{on \\\"input\\\" (perform this.debouncedSearch)}}\\n          data-test-tag-search\\n        />\\n      </form.Item>\\n    </Form>\\n  </div>\\n  <div class=\\\"layout__box o__flexes-to-1 o__scrolls mt-2 pb-6 pl-8 pr-8\\\">\\n    <IcTable\\n      @data={{this.tagList.displayableRows}}\\n      @columns={{this.columns}}\\n      @sortState={{this.tagList.sortState}}\\n      @onSort={{this.onSort}}\\n      @canLoadMore={{this.tagList.hasMoreRows}}\\n      @onLoadMore={{this.onLoadMore}}\\n      as |table|\\n    >\\n      <table.rows as |row|>\\n        {{#if row.data.editing}}\\n          <row.cell @valuePath=\\\"tag.name\\\">\\n            <div class=\\\"flex flex-row items-center\\\">\\n              <div class=\\\"flex flex-col justify-center\\\">\\n                {{ic-interface-icon 'tag'}}\\n              </div>\\n              <Input\\n                class=\\\"settings__tags__name-edit flex items-start_ext f__text editable-text__text-input\\\"\\n                @value={{row.data.tag.name}}\\n                @enter={{perform this.saveTag row.data}}\\n                @escape-press={{perform this.abortEditing}}\\n                id={{concat \\\"tag-name-editor-\\\" row.data.tag.id}}\\n                @maxlength=\\\"255\\\"\\n                data-test-tag-name-input\\n                {{auto-focus-element}}\\n              />\\n              <IcButton\\n                @type=\\\"secondary\\\"\\n                @onClick={{perform this.saveTag row.data}}\\n                @iconOnly={{true}}\\n                @subtle={{true}}\\n                data-test-tag-save-button\\n              >\\n                {{ic-interface-icon \\\"check\\\" solo=true}}\\n              </IcButton>\\n            </div>\\n          </row.cell>\\n        {{else}}\\n          <row.actionCell\\n            @valuePath=\\\"tag.name\\\"\\n            @rowActions={{if (has-feature \\\"canUseArchivedTags\\\")\\n              (if (eq this.currentTab \\\"live\\\")\\n                (array\\n                  (hash\\n                    icon=\\\"edit\\\"\\n                    tooltip=\\\"Edit tag\\\"\\n                    onClick=(fn this.editTag row.data)\\n                  )\\n                  (hash\\n                    secondaryType=\\\"destructive\\\"\\n                    label=\\\"Archive\\\"\\n                    onClick=(fn this.requestArchive row.data)\\n                  )\\n                )\\n                (array\\n                  (hash\\n                    label=\\\"Restore\\\"\\n                    onClick=(perform this.restoreTag row.data)\\n                  )\\n                  (hash\\n                    secondaryType=\\\"destructive\\\"\\n                    label=\\\"Delete\\\"\\n                    onClick=(fn this.requestDeletion row.data)\\n                  )\\n                )\\n              )\\n              (array\\n                (hash\\n                  icon=\\\"edit\\\"\\n                  tooltip=\\\"Edit tag\\\"\\n                  onClick=(fn this.editTag row.data)\\n                )\\n                (hash\\n                  secondaryType=\\\"destructive\\\"\\n                  label=\\\"Delete\\\"\\n                  onClick=(fn this.requestDeletion row.data)\\n                )\\n              )\\n            }}\\n          >\\n            <div class=\\\"flex flex-row items-center settings__tags__name-view\\\">\\n              <div class=\\\"flex flex-col justify-center\\\">\\n                {{ic-interface-icon 'tag'}}\\n              </div>\\n              <Text class=\\\"settings__tags__name-view-text\\\" data-test-tag-name={{true}}>\\n                {{row.data.tag.name}}\\n              </Text>\\n            </div>\\n          </row.actionCell>\\n        {{/if}}\\n        <row.cell @valuePath=\\\"tag.created_at\\\">\\n          <TimeFromNowComponent @timestamp={{row.data.tag.created_at}} />\\n        </row.cell>\\n        <row.cell @valuePath=\\\"tag.createdBy.name\\\">\\n          {{#if row.data.tag.createdBy}}\\n            <div class=\\\"avatar__container o__s whitespace-no-wrap\\\">\\n              {{ic-avatar\\n                model=row.data.tag.createdBy\\n                size=\\\"s\\\"\\n                contained=true\\n              }}\\n              {{row.data.tag.createdBy.name}}\\n            </div>\\n          {{else}}\\n            –\\n          {{/if}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"tag.archived_at\\\">\\n          <TimeFromNowComponent @timestamp={{row.data.tag.archived_at}} />\\n        </row.cell>\\n        <row.cell @valuePath=\\\"tag.archivedBy.name\\\">\\n          {{#if row.data.tag.archivedBy.name}}\\n            <div class=\\\"avatar__container o__s whitespace-no-wrap\\\">\\n              {{ic-avatar\\n                model=row.data.tag.archivedBy\\n                size=\\\"s\\\"\\n                contained=true\\n              }}\\n              {{row.data.tag.archivedBy.name}}\\n            </div>\\n          {{else}}\\n            –\\n          {{/if}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"tag.stats.userCount\\\">\\n          <Settings::TagUsageLink @loading={{this.loadStats.isRunning}} @count={{row.data.tag.stats.userCount}} @link={{row.data.usersLink}} />\\n        </row.cell>\\n        <row.cell @valuePath=\\\"tag.stats.companyCount\\\">\\n          <Settings::TagUsageLink @loading={{this.loadStats.isRunning}} @count={{row.data.tag.stats.companyCount}} @link={{row.data.companiesLink}} />\\n        </row.cell>\\n        <row.cell @valuePath=\\\"tag.stats.conversationCount\\\">\\n          <Settings::TagUsageLink @loading={{this.loadStats.isRunning}} @count={{row.data.tag.stats.conversationCount}} @link={{row.data.conversationsLink}} />\\n        </row.cell>\\n        <row.cell @valuePath=\\\"tag.stats.messageCount\\\">\\n          <Settings::TagUsageLink @loading={{this.loadStats.isRunning}} @count={{row.data.tag.stats.messageCount}} @onClick={{fn this.transitionToMessages row.data}} />\\n        </row.cell>\\n      </table.rows>\\n    </IcTable>\\n  </div>\\n{{/if}}\\n\\n{{#if this.rowBeingDeleted}}\\n  <Settings::TagDeletionModal @tag={{this.rowBeingDeleted.tag}} @onClose={{this.tagDeletionFinished}} />\\n{{/if}}\\n\\n{{#if this.rowBeingArchived}}\\n  <Settings::TagArchiveModal @tag={{this.rowBeingArchived.tag}} @onClose={{this.tagArchiveFinished}} />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/settings/data/tags-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/data/tags-table.hbs\"}});\nimport { timeout } from 'ember-concurrency';\nimport { task } from 'ember-concurrency-decorators';\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\nimport { tagFilterUrl } from 'embercom/vendor/intercom/tag-filter-url';\nimport EmberObject, { action } from '@ember/object';\nimport TagList from 'embercom/lib/tags/tag-settings-list';\nimport ENV from 'embercom/config/environment';\nimport { captureException } from 'embercom/lib/sentry';\nimport { tracked } from '@glimmer/tracking';\n\nconst CONFIRMATION_MODAL_CONTENT = {\n  title: 'You have unsaved changes',\n  body: 'You have edited the name of this tag. Do you want to discard these changes?',\n  confirmButtonText: 'Continue editing',\n  cancelButtonText: 'Discard',\n};\n\nexport default class TagsTable extends Component {\n  @service intercomEventService;\n  @service appService;\n  @service store;\n  @service notificationsService;\n  @service confirmService;\n  @service outboundHomeService;\n  @service router;\n  @service modelDataCacheService;\n\n  @tracked rowBeingDeleted = null;\n  @tracked rowBeingArchived = null;\n  @tracked currentTab = 'live';\n\n  get app() {\n    return this.appService.app;\n  }\n\n  constructor() {\n    super(...arguments);\n\n    this.rows = this.args.tags.map(tag => {\n      return EmberObject.create({\n        usersLink: tagFilterUrl(tag, 'user'),\n        companiesLink: tagFilterUrl(tag, 'company'),\n        conversationsLink: tagFilterUrl(tag, 'conversation'),\n        editing: false,\n        tag,\n      });\n    });\n\n    this.allTagList = new TagList(this.rows);\n    this.liveTagList = new TagList(this.rows.reject(row => row.tag.archived));\n    this.archivedTagList = new TagList(this.rows.filter(row => row.tag.archived));\n\n    this.loadStats.perform();\n  }\n\n  get hasTags() {\n    return this.liveTagList.rows.length > 0 || this.archivedTagList.rows.length > 0;\n  }\n\n  get tagList() {\n    if (!this.app.canUseArchivedTags) {\n      return this.allTagList;\n    }\n\n    return this.currentTab === 'live' ? this.liveTagList : this.archivedTagList;\n  }\n\n  get columns() {\n    let columns = [];\n    columns.push({ label: 'Tag name', valuePath: 'tag.name', width: '30%', isSortable: true });\n\n    if (this.currentTab === 'live') {\n      columns.push({ label: 'Created', valuePath: 'tag.created_at', isSortable: true });\n      columns.push({ label: 'Created by', valuePath: 'tag.createdBy.name', isSortable: true });\n    } else {\n      columns.push({ label: 'Archived', valuePath: 'tag.archived_at', isSortable: true });\n      columns.push({ label: 'Archived by', valuePath: 'tag.archivedBy.name', isSortable: true });\n    }\n\n    columns.push({\n      label: 'People',\n      valuePath: 'tag.stats.userCount',\n      type: 'number',\n      isSortable: true,\n    });\n    columns.push({\n      label: 'Companies',\n      valuePath: 'tag.stats.companyCount',\n      type: 'number',\n      isSortable: true,\n    });\n    columns.push({\n      label: 'Conversations',\n      valuePath: 'tag.stats.conversationCount',\n      type: 'number',\n      isSortable: true,\n    });\n\n    if (this.app.canUseContentOrientedNavigation) {\n      columns.push({\n        label: 'Messages',\n        valuePath: 'tag.stats.messageCount',\n        type: 'number',\n        isSortable: true,\n      });\n    }\n\n    return columns;\n  }\n\n  get rowBeingEdited() {\n    return this.tagList.rows.findBy('editing', true);\n  }\n\n  setRowBeingEdited(row) {\n    this.clearRowBeingEdited();\n    row.set('editing', true);\n  }\n\n  clearRowBeingEdited() {\n    this.tagList.rows.setEach('editing', false);\n  }\n\n  @task({ drop: true })\n  *saveTag(row) {\n    let tag = row.tag;\n    let tagName = tag.name.trim();\n\n    if (!tagName) {\n      this.notificationsService.notifyError('Cannot save a tag without a name.');\n    } else if (\n      this.tagList.rows.some(row => {\n        return (\n          row.tag !== tag &&\n          row.tag.name.localeCompare(tagName, undefined, { sensitivity: 'accent' }) === 0\n        );\n      })\n    ) {\n      this.notificationsService.notifyError('Name is already taken');\n    } else {\n      try {\n        yield tag.save();\n        this.app.tags.addObject(tag);\n        this.app.updateLocalCache(this.modelDataCacheService);\n        this.clearRowBeingEdited();\n      } catch (error) {\n        captureException(error);\n        this.notificationsService.notifyError('Failed to save tag.');\n      }\n    }\n  }\n\n  @action\n  async onSort(valuePath) {\n    let canContinue = await this.abortEditing.perform();\n\n    if (!canContinue) {\n      return;\n    }\n    this.tagList.updateSort(valuePath);\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'sorted',\n      object: valuePath,\n    });\n  }\n\n  @action\n  onLoadMore() {\n    this.tagList.loadMoreRows();\n  }\n\n  @task\n  *abortEditing() {\n    if (!this.rowBeingEdited) {\n      return true;\n    }\n\n    let tag = this.rowBeingEdited.tag;\n\n    let canAbandonWithoutChecking = !tag.hasDirtyAttributes;\n    let userWantsToContinue;\n    if (!canAbandonWithoutChecking) {\n      userWantsToContinue = yield this.confirmService.show(this, CONFIRMATION_MODAL_CONTENT);\n    }\n    let shouldAbandonChanges = canAbandonWithoutChecking || !userWantsToContinue;\n\n    if (shouldAbandonChanges) {\n      if (tag.isNew) {\n        this.tagList.remove(this.rowBeingEdited);\n        tag.deleteRecord();\n      } else {\n        tag.rollbackAttributes();\n      }\n\n      this.clearRowBeingEdited();\n      return true;\n    } else {\n      let tagId = this.rowBeingEdited.tag.id ? this.rowBeingEdited.tag.id : '';\n      let input = document.getElementById(`tag-name-editor-${tagId}`);\n      input.focus();\n      return false;\n    }\n  }\n\n  @action\n  tagDeletionFinished(result) {\n    if (result?.success) {\n      this.tagList.remove(this.rowBeingDeleted);\n    }\n    this.rowBeingDeleted = null;\n  }\n\n  @action\n  tagArchiveFinished(result) {\n    if (result?.success) {\n      this.liveTagList.remove(this.rowBeingArchived);\n      if (result.action === 'archived') {\n        this.archivedTagList.add(this.rowBeingArchived);\n      }\n    }\n    this.rowBeingArchived = null;\n  }\n\n  @action\n  async createTag() {\n    if (!(await this.abortEditing.perform())) {\n      return;\n    }\n\n    await this.switchTab('live');\n\n    let newTagStats = this.store.createRecord('tag-stats');\n    let newTag = this.store.createRecord('tag', {\n      created_at: Date.now(),\n      createdBy: this.app.get('currentAdmin'),\n      stats: newTagStats,\n    });\n\n    let newRow = EmberObject.create({\n      tag: newTag,\n    });\n\n    this.tagList.addToTop(newRow);\n    this.setRowBeingEdited(newRow);\n    return newRow;\n  }\n\n  @action\n  async editTag(row) {\n    let canEditThisRow = await this.abortEditing.perform();\n\n    if (!canEditThisRow) {\n      return;\n    }\n\n    this.setRowBeingEdited(row);\n  }\n\n  @action\n  requestDeletion(row) {\n    this.rowBeingDeleted = row;\n  }\n\n  @action\n  requestArchive(row) {\n    this.rowBeingArchived = row;\n  }\n\n  @task({ drop: true })\n  *restoreTag(row) {\n    try {\n      let tag = row.tag;\n      tag.archived = false;\n      yield tag.save();\n\n      this.archivedTagList.remove(row);\n      this.liveTagList.add(row);\n\n      this.notificationsService.notifyConfirmation(`${tag.name} was restored`);\n      this.app.updateLocalCache(this.modelDataCacheService);\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'restored',\n        object: tag,\n      });\n    } catch (error) {\n      console.error(error);\n      this.notificationsService.notifyError('Restore request failed, please try again.');\n    }\n  }\n\n  @action\n  async focusSearchInput(row) {\n    return this.abortEditing.perform();\n  }\n\n  @task({ restartable: true })\n  *debouncedSearch(event) {\n    let query = event.target.value;\n    yield timeout(ENV.APP._200MS);\n    this.tagList.filterBy(query);\n  }\n\n  @action\n  transitionToMessages(row) {\n    this.outboundHomeService.resetFilters();\n    this.outboundHomeService.set('selectedTagValues', [row.tag.id]);\n    this.router.transitionTo('apps.app.outbound.all');\n  }\n\n  @task({ drop: true })\n  *loadStats() {\n    yield this.store.findAll('tag', { include: 'stats', reload: true });\n  }\n\n  @action\n  async switchTab(tab) {\n    if (!(await this.abortEditing.perform())) {\n      return;\n    }\n    this.currentTab = tab;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"email_preview custom_email_template\\\">\\n  <div class=\\\"email_template m__html-editor__template\\\">\\n    <div class='m__iframe-container js__iframe-container test__template-editor__iframe-container'></div>\\n  </div>\\n</div>\\n\\n\", {\"contents\":\"<div class=\\\"email_preview custom_email_template\\\">\\n  <div class=\\\"email_template m__html-editor__template\\\">\\n    <div class='m__iframe-container js__iframe-container test__template-editor__iframe-container'></div>\\n  </div>\\n</div>\\n\\n\",\"moduleName\":\"embercom/components/settings/email-templates/template-iframe-preview-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/email-templates/template-iframe-preview-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { later } from '@ember/runloop';\nimport { reads } from '@ember/object/computed';\nimport renderTemplate from '@intercom/embercom-core/lib/render-template';\nimport IframePreviewComponent from 'embercom/components/iframe-preview-component';\nimport render from 'embercom/vendor/intercom/render';\nimport DOMPurify from 'dompurify';\n\nexport default IframePreviewComponent.extend({\n  usingCustomTemplate: true,\n  iframeContent: reads('template.template'),\n  unsubscribeText: '<a href=\"#\" class=\"ic-unsubscribe-link\">Unsubscribe from our emails</a>',\n\n  sanitizeContent() {\n    if (!this.isDestroying) {\n      let content = renderTemplate(this.iframeContent, {\n        content: render(['email-templates/email-templates-default-content']),\n        unsubscribe_link: this.unsubscribeText,\n        unsubscribe_url: '',\n      });\n      this.set('safeIframeContent', DOMPurify.sanitize(content, { WHOLE_DOCUMENT: true }));\n    }\n  },\n\n  // nolaneo - do this without a run later?\n  // Solution: Hook up image load events from within the iframe to this function\n  afterCreateIframe() {\n    later(\n      this,\n      function() {\n        if (!this.isDestroying) {\n          let $iFrame = $('.m__html-editor__preview');\n          let iFrameContent = $iFrame[0].contentDocument.documentElement;\n          if (iFrameContent) {\n            $iFrame.css('width', iFrameContent.scrollWidth);\n            $iFrame.css('height', iFrameContent.scrollHeight);\n          }\n        }\n      },\n      250,\n    );\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasAnyEvents}}\\n  <Input\\n    placeholder=\\\"Search events...\\\"\\n    @value={{eventSearchString}}\\n    class=\\\"f__text test__event-search\\\"\\n  />\\n  {{#if (and hasSearchString (not rows.length))}}\\n    <IcEmptyState\\n      @icon=\\\"untracked-attribute\\\"\\n      @title=\\\"No event matches your search.\\\"\\n    />\\n  {{else}}\\n    {{!-- template-lint-disable intercom/no-custom-table --}}\\n    <IcLegacyTable\\n      @columns={{columns}}\\n      @rows={{rows}}\\n      @height=\\\"flex\\\"\\n      @tableActions={{hash openDetailsView=(action \\\"openDetailsView\\\")}}\\n      @toggleSort={{action \\\"toggleSort\\\"}}\\n      @testBindingClass=\\\"test__events-table\\\"\\n    />\\n    {{!-- template-lint-enable intercom/no-custom-table --}}\\n  {{/if}}\\n{{else}}\\n  <IcEmptyState\\n    @icon=\\\"event\\\"\\n    @title=\\\"No events yet\\\"\\n    @description=\\\"\\\"\\n    data-test-event-settings-no-events={{true}}\\n  >\\n    <div class=\\\"h-2\\\"></div>\\n    <div class=\\\"text-gray\\\">\\n      Learn how to create events in\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/the-intercom-platform/track-events-in-intercom#how-to-create-and-track-events\\\"\\n        @title=\\\"our documentation\\\"\\n        @type=\\\"article\\\"\\n        @linkStyling=\\\"inline\\\"\\n      />\\n    </div>\\n  </IcEmptyState>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasAnyEvents}}\\n  <Input\\n    placeholder=\\\"Search events...\\\"\\n    @value={{eventSearchString}}\\n    class=\\\"f__text test__event-search\\\"\\n  />\\n  {{#if (and hasSearchString (not rows.length))}}\\n    <IcEmptyState\\n      @icon=\\\"untracked-attribute\\\"\\n      @title=\\\"No event matches your search.\\\"\\n    />\\n  {{else}}\\n    {{!-- template-lint-disable intercom/no-custom-table --}}\\n    <IcLegacyTable\\n      @columns={{columns}}\\n      @rows={{rows}}\\n      @height=\\\"flex\\\"\\n      @tableActions={{hash openDetailsView=(action \\\"openDetailsView\\\")}}\\n      @toggleSort={{action \\\"toggleSort\\\"}}\\n      @testBindingClass=\\\"test__events-table\\\"\\n    />\\n    {{!-- template-lint-enable intercom/no-custom-table --}}\\n  {{/if}}\\n{{else}}\\n  <IcEmptyState\\n    @icon=\\\"event\\\"\\n    @title=\\\"No events yet\\\"\\n    @description=\\\"\\\"\\n    data-test-event-settings-no-events={{true}}\\n  >\\n    <div class=\\\"h-2\\\"></div>\\n    <div class=\\\"text-gray\\\">\\n      Learn how to create events in\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/the-intercom-platform/track-events-in-intercom#how-to-create-and-track-events\\\"\\n        @title=\\\"our documentation\\\"\\n        @type=\\\"article\\\"\\n        @linkStyling=\\\"inline\\\"\\n      />\\n    </div>\\n  </IcEmptyState>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/settings/events/events-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/events/events-table.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { isPresent } from '@ember/utils';\nimport EmberObject, { computed } from '@ember/object';\nimport { sort, union, notEmpty } from '@ember/object/computed';\nimport { A } from '@ember/array';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport escapeRegExp from 'embercom/lib/escape-regular-expression';\nimport { findBy } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n\n  tagName: '',\n\n  activeEvents: A(),\n  archivedEvents: A(),\n  eventTrackers: A(),\n\n  currentSortColumn: findBy('columns', 'isSortColumn', true),\n  sortDefinition: computed('currentSortColumn', 'currentSortColumn.sortedAscending', function() {\n    let sortColumn = this.currentSortColumn;\n    return sortColumn.sortedAscending\n      ? [sortColumn.propertyName]\n      : [`${sortColumn.propertyName}:desc`];\n  }),\n\n  sortedActiveEvents: sort('activeEvents', 'sortDefinition'),\n  allEvents: union('sortedActiveEvents', 'archivedEvents'),\n  hasAnyEvents: notEmpty('allEvents'),\n\n  columns: A([\n    EmberObject.create({\n      label: 'Event Name',\n      canExpandToFit: true,\n      component: 'table-cells/events/name-and-description-cell',\n      sortable: true,\n      isSortColumn: false,\n      sortedAscending: true,\n      propertyName: 'name',\n    }),\n    EmberObject.create({\n      label: 'Created',\n      component: 'table-cells/events/created-at-cell',\n      sortable: true,\n      isSortColumn: true,\n      sortedAscending: false,\n      propertyName: 'created_at',\n    }),\n  ]),\n\n  eventSearchString: null,\n  hasSearchString: notEmpty('eventSearchString'),\n\n  rows: computed('eventSearchString', 'allEvents.[]', 'eventTrackers.@each.id', function() {\n    let filteredEvents = this._filterEventsBySearchString(this.allEvents);\n    return filteredEvents.map(event => this.createRow(event));\n  }),\n\n  createRow(event) {\n    return EmberObject.create({\n      event,\n      eventTracker: this.eventTrackers.findBy('name', event.get('name')),\n    });\n  },\n\n  _filterEventsBySearchString(events) {\n    let eventSearchString = this.eventSearchString;\n    if (isPresent(eventSearchString)) {\n      let filterRegex = new RegExp(escapeRegExp(this.eventSearchString), 'i');\n      return events.filter(event =>\n        filterRegex.test([event.get('humanFriendlyName'), event.get('description')].join(' ')),\n      );\n    } else {\n      return events;\n    }\n  },\n\n  onArchive(event) {\n    event.set('archived', true);\n    this.archivedEvents.pushObject(event);\n  },\n\n  onUnarchive(event) {\n    event.set('archived', false);\n    this.archivedEvents.removeObject(event);\n  },\n\n  onDeleteEventTracker(row) {\n    row.set('eventTracker', null);\n  },\n\n  actions: {\n    openDetailsView(row) {\n      let event = row.get('event');\n      let eventTracker = row.get('eventTracker');\n      let customEventDetailsModal = 'apps/app/settings/modals/custom-event-details';\n      let model = {\n        event,\n        eventTracker,\n        onArchive: () => this.onArchive(event),\n        onUnarchive: () => this.onUnarchive(event),\n        onDeleteEventTracker: () => this.onDeleteEventTracker(row),\n      };\n      this.modalService.openModal(customEventDetailsModal, model);\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'opened',\n        object: 'event_details_modal',\n        event_name: event.name,\n      });\n    },\n\n    toggleSort(column) {\n      let columns = this.columns;\n      let currentSortColumn = this.currentSortColumn;\n\n      if (currentSortColumn.get('propertyName') === column.propertyName) {\n        currentSortColumn.toggleProperty('sortedAscending');\n      } else {\n        currentSortColumn.set('isSortColumn', false);\n\n        let newSortColumn = columns.findBy('propertyName', column.propertyName);\n        newSortColumn.set('isSortColumn', true);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Heading @size='2'>\\n  Identity verification\\n</Heading>\\n\\n<Paragraph>\\n  Ensure that you’re always talking with actual users.\\n  <Pulse::HelpContent::Link\\n    @href={{this.helpArticle}}\\n    @title=\\\"How identity verification works.\\\"\\n    @linkStyling=\\\"inline\\\"\\n    @type=\\\"article\\\"\\n  />\\n</Paragraph>\\n\\n<Paragraph>\\n  {{#if this.identityVerified}}\\n    {{ic-interface-icon \\\"rounded-check\\\"}}\\n    Identity verification is active for {{this.platformName}}\\n    <LinkTo\\n      @route={{this.identityVerificationSettingsRoute}}\\n      class=\\\"ml-4\\\"\\n    >\\n      <Text @linkStyling='standalone'>\\n        View setting\\n      </Text>\\n    </LinkTo>\\n  {{else}}\\n    <LinkTo @route={{this.identityVerificationSettingsRoute}}>\\n      <Text @linkStyling='standalone'>\\n        Set up {{this.platformName}} identity verification\\n      </Text>\\n    </LinkTo>\\n  {{/if}}\\n</Paragraph>\\n\", {\"contents\":\"<Heading @size='2'>\\n  Identity verification\\n</Heading>\\n\\n<Paragraph>\\n  Ensure that you’re always talking with actual users.\\n  <Pulse::HelpContent::Link\\n    @href={{this.helpArticle}}\\n    @title=\\\"How identity verification works.\\\"\\n    @linkStyling=\\\"inline\\\"\\n    @type=\\\"article\\\"\\n  />\\n</Paragraph>\\n\\n<Paragraph>\\n  {{#if this.identityVerified}}\\n    {{ic-interface-icon \\\"rounded-check\\\"}}\\n    Identity verification is active for {{this.platformName}}\\n    <LinkTo\\n      @route={{this.identityVerificationSettingsRoute}}\\n      class=\\\"ml-4\\\"\\n    >\\n      <Text @linkStyling='standalone'>\\n        View setting\\n      </Text>\\n    </LinkTo>\\n  {{else}}\\n    <LinkTo @route={{this.identityVerificationSettingsRoute}}>\\n      <Text @linkStyling='standalone'>\\n        Set up {{this.platformName}} identity verification\\n      </Text>\\n    </LinkTo>\\n  {{/if}}\\n</Paragraph>\\n\",\"moduleName\":\"embercom/components/settings/identity-verification-installation-setup-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/identity-verification-installation-setup-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { computed } from '@ember/object';\nimport { equal } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  tagName: '',\n\n  userSource: null,\n  identityVerified: null,\n  platformNames: {\n    web: 'web',\n    ios: 'iOS',\n    android: 'Android',\n  },\n\n  identityVerificationSettingsRoutes: {\n    web: 'apps.app.settings.identity-verification.web',\n    ios: 'apps.app.settings.identity-verification.ios',\n    android: 'apps.app.settings.identity-verification.android',\n  },\n\n  helpArticles: {\n    web:\n      'https://www.intercom.com/help/configure-intercom-for-your-product-or-site/staying-secure/enable-identity-verification-on-your-web-product',\n    ios: 'https://developers.intercom.com/installing-intercom/docs/ios-identity-verification',\n    android:\n      'https://developers.intercom.com/installing-intercom/docs/android-identity-verification',\n  },\n\n  isWeb: equal('userSource', 'web'),\n\n  platformName: computed('userSource', function() {\n    return this.platformNames[this.userSource];\n  }),\n\n  identityVerificationSettingsRoute: computed('userSource', function() {\n    return this.identityVerificationSettingsRoutes[this.userSource];\n  }),\n\n  helpArticle: computed('userSource', function() {\n    return this.helpArticles[this.userSource];\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{@toggleIsModalShown}}\\n  @width=\\\"m\\\"\\n  @isOpen={{true}}\\n  @focusElement=\\\"body\\\" as |modal|\\n>\\n  <modal.header @title={{if @showDefaultSettings \\\"Default Settings\\\" (concat @pingDomain.domain \\\" Settings\\\")}} />\\n  <modal.body>\\n    <Form as |form|>\\n      <form.SectionHeading>Turn identity verification on/off</form.SectionHeading>\\n      <form.Item>\\n        <div class=\\\"flex flex-row items-center gap-2\\\">\\n          <IcOnOffToggle\\n            data-test-iv-toggle={{true}}\\n            @isOn={{this.isEnabled}}\\n            @onClick={{set this.isEnabled (not this.isEnabled)}}\\n          />\\n          <Text>\\n            {{#if this.isEnabled}}\\n              Identity Verification will be enforced {{if @showDefaultSettings \\\"for new domains\\\" (concat \\\"on \\\" @pingDomain.domain)}}.\\n            {{else}}\\n              Identity Verification will not be enforced {{if @showDefaultSettings \\\"for new domains\\\" (concat \\\"on \\\" @pingDomain.domain)}}.\\n            {{/if}}\\n          </Text>\\n        </div>\\n      </form.Item>\\n      <form.SectionHeading>Strictness</form.SectionHeading>\\n      <form.SectionDescription>Set the user identifier(s) that identity verification will enforce {{if @showDefaultSettings \\\"for new domains\\\" (concat \\\"on \\\" @pingDomain.domain)}}.</form.SectionDescription>\\n      <form.Item\\n        @hint=\\\"You will use these identifiers to calculate the hash that you send to Intercom. The first option is the least secure, and the last option is the most secure.\\\"\\n      as |item|>\\n        <item.RadioGroup @selected={{this.selectedStrictness}} as |group|>\\n          {{#each this.strictnessButtons as |strictnessButton|}}\\n            <group.RadioButton @value={{strictnessButton.value}} @label={{strictnessButton.label}} />\\n          {{/each}}\\n        </item.RadioGroup>\\n      </form.Item>\\n    </Form>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Save\\\"\\n      action=this.onSave\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=@toggleIsModalShown\\n    }}\\n  />\\n</IcModal>\", {\"contents\":\"<IcModal\\n  @onModalClose={{@toggleIsModalShown}}\\n  @width=\\\"m\\\"\\n  @isOpen={{true}}\\n  @focusElement=\\\"body\\\" as |modal|\\n>\\n  <modal.header @title={{if @showDefaultSettings \\\"Default Settings\\\" (concat @pingDomain.domain \\\" Settings\\\")}} />\\n  <modal.body>\\n    <Form as |form|>\\n      <form.SectionHeading>Turn identity verification on/off</form.SectionHeading>\\n      <form.Item>\\n        <div class=\\\"flex flex-row items-center gap-2\\\">\\n          <IcOnOffToggle\\n            data-test-iv-toggle={{true}}\\n            @isOn={{this.isEnabled}}\\n            @onClick={{set this.isEnabled (not this.isEnabled)}}\\n          />\\n          <Text>\\n            {{#if this.isEnabled}}\\n              Identity Verification will be enforced {{if @showDefaultSettings \\\"for new domains\\\" (concat \\\"on \\\" @pingDomain.domain)}}.\\n            {{else}}\\n              Identity Verification will not be enforced {{if @showDefaultSettings \\\"for new domains\\\" (concat \\\"on \\\" @pingDomain.domain)}}.\\n            {{/if}}\\n          </Text>\\n        </div>\\n      </form.Item>\\n      <form.SectionHeading>Strictness</form.SectionHeading>\\n      <form.SectionDescription>Set the user identifier(s) that identity verification will enforce {{if @showDefaultSettings \\\"for new domains\\\" (concat \\\"on \\\" @pingDomain.domain)}}.</form.SectionDescription>\\n      <form.Item\\n        @hint=\\\"You will use these identifiers to calculate the hash that you send to Intercom. The first option is the least secure, and the last option is the most secure.\\\"\\n      as |item|>\\n        <item.RadioGroup @selected={{this.selectedStrictness}} as |group|>\\n          {{#each this.strictnessButtons as |strictnessButton|}}\\n            <group.RadioButton @value={{strictnessButton.value}} @label={{strictnessButton.label}} />\\n          {{/each}}\\n        </item.RadioGroup>\\n      </form.Item>\\n    </Form>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Save\\\"\\n      action=this.onSave\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=@toggleIsModalShown\\n    }}\\n  />\\n</IcModal>\",\"moduleName\":\"embercom/components/settings/identity-verification/identity-verification-settings-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/identity-verification/identity-verification-settings-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport STRICTNESS from 'embercom/lib/identity-verification-strictness';\nimport { capitalize } from '@ember/string';\n\nexport default class IdentityVerificationSettingsModal extends Component {\n  @service store;\n\n  @tracked isEnabled = this.args.showDefaultSettings\n    ? this.settings.enabledByDefault\n    : this.settings.get('identityVerificationEnabled');\n  @tracked selectedStrictness = this.args.showDefaultSettings\n    ? this.settings.defaultStrictness\n    : this.settings.get('identityVerificationStrictness');\n\n  get settings() {\n    return this.args.showDefaultSettings\n      ? this.args.identityVerificationSettings\n      : this.args.pingDomain.settings;\n  }\n\n  get strictnessButtons() {\n    return [\n      { value: STRICTNESS.any.value, label: capitalize(STRICTNESS.any.label) },\n      { value: STRICTNESS.user_id.value, label: capitalize(STRICTNESS.user_id.label) },\n      { value: STRICTNESS.email.value, label: capitalize(STRICTNESS.email.label) },\n      {\n        value: STRICTNESS.user_id_and_email.value,\n        label: capitalize(STRICTNESS.user_id_and_email.label),\n      },\n    ];\n  }\n\n  updateDefaultSettings() {\n    this.settings.set('enabledByDefault', this.isEnabled);\n    this.settings.set('defaultStrictness', this.selectedStrictness);\n    this.args.identityVerificationSettings.save();\n  }\n\n  updatePingDomainSettings() {\n    this.settings.set('identityVerificationEnabled', this.isEnabled);\n    this.settings.set('identityVerificationStrictness', this.selectedStrictness);\n    this.args.pingDomain.save();\n  }\n\n  @action\n  onSave() {\n    if (this.args.showDefaultSettings) {\n      this.updateDefaultSettings();\n    } else {\n      this.updatePingDomainSettings();\n    }\n\n    this.args.toggleIsModalShown();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcLightTable\\n  @data={{this.sortedPingDomains}}\\n  @columns={{this.columns}} as |table|\\n>\\n  <table.rows as |row|>\\n    {{#if (has-feature \\\"canEditIdentityVerificationV2Settings\\\")}}\\n      <row.actionCell\\n        @valuePath=\\\"domain\\\"\\n        @rowActions={{array\\n          (hash\\n            icon=\\\"edit\\\"\\n            tooltip=\\\"Configure settings\\\"\\n            onClick=(fn this.showSettingsModal row.data)\\n          )\\n        }}\\n      >\\n        {{row.data.domain}}\\n      </row.actionCell>\\n    {{else}}\\n      <row.cell @valuePath=\\\"domain\\\">\\n        {{row.data.domain}}\\n      </row.cell>\\n    {{/if}}\\n    <row.cell @valuePath=\\\"status\\\">\\n      {{#if row.data.hasError}}\\n        {{ic-interface-icon 'close' color='red-dark'}}\\n      {{else}}\\n        {{ic-interface-icon 'small-check' color='green'}}\\n      {{/if}}\\n    </row.cell>\\n    <row.cell @valuePath=\\\"lastModified\\\">\\n      {{row.data.lastModified}}\\n    </row.cell>\\n    <row.cell @valuePath=\\\"errors\\\">\\n      {{#if row.data.hasError}}\\n        <a {{on \\\"click\\\" @openUserHashChecker}} class=\\\"t__em-link\\\">{{row.data.errorMessage.short}}</a>\\n      {{else}}\\n        <span class=\\\"t__light-text\\\">{{row.data.errorMessage.short}}</span>\\n      {{/if}}\\n      {{#if row.data.errorMessage.long}}\\n        <IcTooltipIcon @content={{row.data.errorMessage.long}} />\\n      {{/if}}\\n    </row.cell>\\n    {{#if (has-feature \\\"canEditIdentityVerificationV2Settings\\\")}}\\n      <row.cell @valuePath=\\\"identityVerificationEnabled\\\">\\n        {{row.data.settings.identityVerificationEnabled}}\\n      </row.cell>\\n      <row.cell @valuePath=\\\"identityVerificationStrictness\\\">\\n        {{row.data.settings.identityVerificationStrictnessLabel}}\\n      </row.cell>\\n    {{/if}}\\n  </table.rows>\\n</IcLightTable>\\n\\n{{#if (and (has-feature \\\"canEditIdentityVerificationV2Settings\\\") this.isSettingsModalShown)}}\\n  <Settings::IdentityVerification::IdentityVerificationSettingsModal\\n    @showDefaultSettings={{false}}\\n    @pingDomain={{this.currentPingDomain}}\\n    @toggleIsModalShown={{this.hideSettingsModal}}\\n  />\\n{{/if}}\", {\"contents\":\"<IcLightTable\\n  @data={{this.sortedPingDomains}}\\n  @columns={{this.columns}} as |table|\\n>\\n  <table.rows as |row|>\\n    {{#if (has-feature \\\"canEditIdentityVerificationV2Settings\\\")}}\\n      <row.actionCell\\n        @valuePath=\\\"domain\\\"\\n        @rowActions={{array\\n          (hash\\n            icon=\\\"edit\\\"\\n            tooltip=\\\"Configure settings\\\"\\n            onClick=(fn this.showSettingsModal row.data)\\n          )\\n        }}\\n      >\\n        {{row.data.domain}}\\n      </row.actionCell>\\n    {{else}}\\n      <row.cell @valuePath=\\\"domain\\\">\\n        {{row.data.domain}}\\n      </row.cell>\\n    {{/if}}\\n    <row.cell @valuePath=\\\"status\\\">\\n      {{#if row.data.hasError}}\\n        {{ic-interface-icon 'close' color='red-dark'}}\\n      {{else}}\\n        {{ic-interface-icon 'small-check' color='green'}}\\n      {{/if}}\\n    </row.cell>\\n    <row.cell @valuePath=\\\"lastModified\\\">\\n      {{row.data.lastModified}}\\n    </row.cell>\\n    <row.cell @valuePath=\\\"errors\\\">\\n      {{#if row.data.hasError}}\\n        <a {{on \\\"click\\\" @openUserHashChecker}} class=\\\"t__em-link\\\">{{row.data.errorMessage.short}}</a>\\n      {{else}}\\n        <span class=\\\"t__light-text\\\">{{row.data.errorMessage.short}}</span>\\n      {{/if}}\\n      {{#if row.data.errorMessage.long}}\\n        <IcTooltipIcon @content={{row.data.errorMessage.long}} />\\n      {{/if}}\\n    </row.cell>\\n    {{#if (has-feature \\\"canEditIdentityVerificationV2Settings\\\")}}\\n      <row.cell @valuePath=\\\"identityVerificationEnabled\\\">\\n        {{row.data.settings.identityVerificationEnabled}}\\n      </row.cell>\\n      <row.cell @valuePath=\\\"identityVerificationStrictness\\\">\\n        {{row.data.settings.identityVerificationStrictnessLabel}}\\n      </row.cell>\\n    {{/if}}\\n  </table.rows>\\n</IcLightTable>\\n\\n{{#if (and (has-feature \\\"canEditIdentityVerificationV2Settings\\\") this.isSettingsModalShown)}}\\n  <Settings::IdentityVerification::IdentityVerificationSettingsModal\\n    @showDefaultSettings={{false}}\\n    @pingDomain={{this.currentPingDomain}}\\n    @toggleIsModalShown={{this.hideSettingsModal}}\\n  />\\n{{/if}}\",\"moduleName\":\"embercom/components/settings/identity-verification/ping-domains-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/identity-verification/ping-domains-table.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class PingDomainsTable extends Component {\n  @service appService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  @tracked isSettingsModalShown = false;\n  @tracked currentPingDomain;\n  get sortedPingDomains() {\n    return this.args.pingDomains.sortBy('hasError', 'domain');\n  }\n\n  get columns() {\n    let columns = [\n      { label: 'Domain', valuePath: 'domain' },\n      { label: 'Status', valuePath: 'status' },\n      { label: 'Last modified', valuePath: 'lastModified' },\n      { label: 'Errors', valuePath: 'errors' },\n    ];\n    if (this.app.canUseFeature('identity-verification-v2')) {\n      columns.push(\n        { label: 'Enforced', valuePath: 'identityVerificationEnabled' },\n        { label: 'Strictness', valuePath: 'identityVerificationStrictness' },\n      );\n    }\n    return columns;\n  }\n\n  @action\n  showSettingsModal(pingDomain) {\n    this.currentPingDomain = pingDomain;\n    this.isSettingsModalShown = true;\n  }\n\n  @action\n  hideSettingsModal() {\n    this.currentPingDomain = undefined;\n    this.isSettingsModalShown = false;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n<Settings::StandardHeader\\n  @titleToken={{concat \\\"Identity verification for \\\" this.platformName}}\\n>\\n  <Pulse::HelpContent::Link\\n    @href={{this.helpArticle}}\\n    @title=\\\"Learn more about {{this.platformName}} identity verification\\\"\\n    @type=\\\"article\\\"\\n  />\\n</Settings::StandardHeader>\\n<Settings::ContentComponents::Base>\\n  <div class=\\\"layout__box\\\">\\n    <h3 class=\\\"t__h3\\\">\\n      Setup\\n    </h3>\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <h3 class=\\\"t__label\\\" data-test-secret>\\n      Identity verification secret\\n    </h3>\\n\\n    {{#each @secrets as |secret index|}}\\n      <Input\\n        class=\\\"v2-guide__todo-list__input-readonly {{if (not-eq index 0) \\\"o__old\\\"}}\\\"\\n        @value={{if this.showSecret secret this.maskedSecret}}\\n        @readOnly={{true}}\\n        @mouseEnter={{set this.showSecret true}}\\n        @mouseLeave={{set this.showSecret false}}\\n      />\\n\\n      <div class=\\\"h-2\\\"></div>\\n\\n      <div class=\\\"t__light-text\\\">\\n        Having trouble with your user hash?\\n        <a {{on \\\"click\\\"\\n          (queue\\n            (set this.showUserHashCheckerModal true)\\n            (set this.secretUsedInModal secret)\\n          )}}\\n        >\\n          Verify it with our hash calculator.\\n        </a>\\n      </div>\\n\\n      {{#if (has-feature \\\"team-cto-multiple-api-secrets\\\")}}\\n        {{#if (eq @secrets.length 1)}}\\n          <div class=\\\"t__light-text\\\">\\n            Interested in rotating your secret?\\n            <a {{on \\\"click\\\" this.maybeCreateSecret}}>Create a new secret</a>\\n            and delete the current secret when it's not in use anymore.\\n          </div>\\n        {{else if (eq index (sub @secrets.length 1))}}\\n          <div class=\\\"t__light-text\\\">\\n            Once this secret is not in use in your codebase,\\n            <a {{on \\\"click\\\" this.maybeDeleteSecret}}>click here to delete it.</a>\\n          </div>\\n        {{/if}}\\n      {{/if}}\\n      <div class=\\\"h-5\\\"></div>\\n    {{/each}}\\n\\n    {{#if this.isWeb}}\\n      <div class=\\\"h-5\\\"></div>\\n      {{#if this.installMethodSelected}}\\n        <a\\n          class=\\\"t__light-text t__solo-link\\\"\\n          onclick={{action \\\"chooseInstallationMethod\\\" \\\"\\\"}}\\n        >\\n          Install methods\\n          <span>\\n            {{ic-interface-icon \\\"small-thin-right-arrow\\\"}}\\n          </span>\\n        </a>\\n        {{component this.installationComponentPath app=this.app}}\\n      {{else}}\\n        <Guide::StartScreen::UserSourceSelectorComponent\\n          @showDescription={{false}}\\n          @hideMobile={{true}}\\n          @chooseUserSourceAction={{action \\\"chooseInstallationMethod\\\"}}\\n        />\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n\\n  <div class=\\\"h-5\\\"></div>\\n\\n  <div class=\\\"layout__box\\\">\\n    <h3 class=\\\"t__h3\\\">\\n      Configuration\\n    </h3>\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    {{#if this.isNotInstalled}}\\n      <IcBanner @type=\\\"warning\\\" data-test-banner=\\\"not_installed\\\">\\n        You are not currently tracking logged-in users on {{this.platformName}}.\\n        <Pulse::HelpContent::Link\\n          @href={{this.installationHelpArticle}}\\n          @title=\\\"Learn how to track logged-in users on {{this.platformName}}\\\"\\n          @linkStyling=\\\"inline\\\"\\n          @type=\\\"article\\\"\\n        />\\n      </IcBanner>\\n    {{else if (or this.isNotWeb this.noDomainsHaveErrors)}}\\n      {{#if this.identityVerified}}\\n        <IcBanner @type=\\\"confirmation\\\" data-test-banner=\\\"identity_verified\\\">\\n          You have enforced identity verification on {{this.platformName}}.\\n        </IcBanner>\\n      {{else}}\\n        <IcBanner @type=\\\"warning\\\" data-test-banner=\\\"identity_unverified\\\">\\n          Enforce identity verification to prevent third parties from impersonating logged-in users on {{this.platformName}}.\\n        </IcBanner>\\n      {{/if}}\\n    {{else}}\\n      <IcBanner @type=\\\"warning\\\" data-test-banner=\\\"errors\\\">\\n        {{#if this.identityVerified}}\\n          Intercom Messenger will not load for logged-in users on domains with errors.\\n        {{else}}\\n          Review the errors below before enforcing identity verification.\\n        {{/if}}\\n      </IcBanner>\\n    {{/if}}\\n\\n    <div class=\\\"h-5\\\"></div>\\n\\n    {{#if (and this.isWeb this.isInstalled)}}\\n      <h3 class=\\\"t__label u__left\\\">\\n        Active integrations with logged-in users\\n      </h3>\\n\\n      <div class=\\\"h-2\\\"></div>\\n\\n      <div data-test-ping-domains-table>\\n        <Settings::IdentityVerification::PingDomainsTable\\n          @pingDomains={{this.pingDomains}}\\n          @openUserHashChecker={{set this.showUserHashCheckerModal true}}\\n        />\\n      </div>\\n\\n      <div class=\\\"h-5\\\"></div>\\n    {{/if}}\\n\\n    {{#if (and this.isWeb (has-feature \\\"canEditIdentityVerificationV2Settings\\\"))}}\\n      <h3 class=\\\"t__label u__mb__10\\\">\\n        Default settings\\n      </h3>\\n      <p class=\\\"u__mb__10\\\">\\n        Identity verification is currently {{unless @identityVerificationSettings.enabledByDefault \\\"not\\\"}} enabled for new domains. {{if @identityVerificationSettings.enabledByDefault (concat \\\"It is enforcing \\\" this.defaultStrictnessLabel \\\".\\\")}}\\n      </p>\\n      <IcButton @type=\\\"secondary\\\" @label=\\\"Configure\\\" @onClick={{set this.isDefaultSettingsModalShown true}} />\\n    {{else}}\\n      <div class=\\\"t__label\\\">\\n        Enforce identity verification\\n      </div>\\n\\n      <div class=\\\"h-2\\\"></div>\\n\\n      {{#if (and this.isNotWeb this.sdkApp.disallowManualIdentityVerificationEnable)}}\\n        To enforce identity verification on {{this.platformName}},\\n        <a class=\\\"t__em-link\\\" {{action \\\"openMessenger\\\"}}>\\n          send us a message\\n        </a>.\\n      {{else}}\\n        <span\\n          {{tooltip\\n            content=\\\"You must have at least one domain with a valid user hash in order to enforce identity verification\\\"\\n            isDisabled=(not (and this.isWeb this.noDomainHasValidUserHash this.identityUnverified))\\n          }}\\n        >\\n          <IcOnOffToggle\\n            @disabled={{and this.isWeb this.noDomainHasValidUserHash this.identityUnverified}}\\n            @isOn={{this.identityVerified}}\\n            @onClick={{perform this.confirmAndToggleIdentityVerification}}\\n            data-test-identity-verification-toggle={{concat this.identityVerified}}\\n          />\\n        </span>\\n      {{/if}}\\n\\n      <div class=\\\"h-2\\\"></div>\\n\\n      <div class=\\\"t__light-text\\\">\\n        Once enforced, the Intercom Messenger will not load for unverified logged-in users.\\n      </div>\\n    {{/if}}\\n  </div>\\n\\n  {{#if this.showUserHashCheckerModal}}\\n    <UserHashCheckerComponent\\n      @secret={{this.secretUsedInModal}}\\n      @closeModal={{action \\\"closeUserHashChecker\\\"}}\\n    />\\n  {{/if}}\\n\\n  {{#if (and (has-feature \\\"canEditIdentityVerificationV2Settings\\\") this.isDefaultSettingsModalShown)}}\\n    <Settings::IdentityVerification::IdentityVerificationSettingsModal\\n      @showDefaultSettings={{true}}\\n      @identityVerificationSettings={{@identityVerificationSettings}}\\n      @toggleIsModalShown={{set this.isDefaultSettingsModalShown false}}\\n    />\\n  {{/if}}\\n</Settings::ContentComponents::Base>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n<Settings::StandardHeader\\n  @titleToken={{concat \\\"Identity verification for \\\" this.platformName}}\\n>\\n  <Pulse::HelpContent::Link\\n    @href={{this.helpArticle}}\\n    @title=\\\"Learn more about {{this.platformName}} identity verification\\\"\\n    @type=\\\"article\\\"\\n  />\\n</Settings::StandardHeader>\\n<Settings::ContentComponents::Base>\\n  <div class=\\\"layout__box\\\">\\n    <h3 class=\\\"t__h3\\\">\\n      Setup\\n    </h3>\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    <h3 class=\\\"t__label\\\" data-test-secret>\\n      Identity verification secret\\n    </h3>\\n\\n    {{#each @secrets as |secret index|}}\\n      <Input\\n        class=\\\"v2-guide__todo-list__input-readonly {{if (not-eq index 0) \\\"o__old\\\"}}\\\"\\n        @value={{if this.showSecret secret this.maskedSecret}}\\n        @readOnly={{true}}\\n        @mouseEnter={{set this.showSecret true}}\\n        @mouseLeave={{set this.showSecret false}}\\n      />\\n\\n      <div class=\\\"h-2\\\"></div>\\n\\n      <div class=\\\"t__light-text\\\">\\n        Having trouble with your user hash?\\n        <a {{on \\\"click\\\"\\n          (queue\\n            (set this.showUserHashCheckerModal true)\\n            (set this.secretUsedInModal secret)\\n          )}}\\n        >\\n          Verify it with our hash calculator.\\n        </a>\\n      </div>\\n\\n      {{#if (has-feature \\\"team-cto-multiple-api-secrets\\\")}}\\n        {{#if (eq @secrets.length 1)}}\\n          <div class=\\\"t__light-text\\\">\\n            Interested in rotating your secret?\\n            <a {{on \\\"click\\\" this.maybeCreateSecret}}>Create a new secret</a>\\n            and delete the current secret when it's not in use anymore.\\n          </div>\\n        {{else if (eq index (sub @secrets.length 1))}}\\n          <div class=\\\"t__light-text\\\">\\n            Once this secret is not in use in your codebase,\\n            <a {{on \\\"click\\\" this.maybeDeleteSecret}}>click here to delete it.</a>\\n          </div>\\n        {{/if}}\\n      {{/if}}\\n      <div class=\\\"h-5\\\"></div>\\n    {{/each}}\\n\\n    {{#if this.isWeb}}\\n      <div class=\\\"h-5\\\"></div>\\n      {{#if this.installMethodSelected}}\\n        <a\\n          class=\\\"t__light-text t__solo-link\\\"\\n          onclick={{action \\\"chooseInstallationMethod\\\" \\\"\\\"}}\\n        >\\n          Install methods\\n          <span>\\n            {{ic-interface-icon \\\"small-thin-right-arrow\\\"}}\\n          </span>\\n        </a>\\n        {{component this.installationComponentPath app=this.app}}\\n      {{else}}\\n        <Guide::StartScreen::UserSourceSelectorComponent\\n          @showDescription={{false}}\\n          @hideMobile={{true}}\\n          @chooseUserSourceAction={{action \\\"chooseInstallationMethod\\\"}}\\n        />\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n\\n  <div class=\\\"h-5\\\"></div>\\n\\n  <div class=\\\"layout__box\\\">\\n    <h3 class=\\\"t__h3\\\">\\n      Configuration\\n    </h3>\\n\\n    <div class=\\\"h-2\\\"></div>\\n\\n    {{#if this.isNotInstalled}}\\n      <IcBanner @type=\\\"warning\\\" data-test-banner=\\\"not_installed\\\">\\n        You are not currently tracking logged-in users on {{this.platformName}}.\\n        <Pulse::HelpContent::Link\\n          @href={{this.installationHelpArticle}}\\n          @title=\\\"Learn how to track logged-in users on {{this.platformName}}\\\"\\n          @linkStyling=\\\"inline\\\"\\n          @type=\\\"article\\\"\\n        />\\n      </IcBanner>\\n    {{else if (or this.isNotWeb this.noDomainsHaveErrors)}}\\n      {{#if this.identityVerified}}\\n        <IcBanner @type=\\\"confirmation\\\" data-test-banner=\\\"identity_verified\\\">\\n          You have enforced identity verification on {{this.platformName}}.\\n        </IcBanner>\\n      {{else}}\\n        <IcBanner @type=\\\"warning\\\" data-test-banner=\\\"identity_unverified\\\">\\n          Enforce identity verification to prevent third parties from impersonating logged-in users on {{this.platformName}}.\\n        </IcBanner>\\n      {{/if}}\\n    {{else}}\\n      <IcBanner @type=\\\"warning\\\" data-test-banner=\\\"errors\\\">\\n        {{#if this.identityVerified}}\\n          Intercom Messenger will not load for logged-in users on domains with errors.\\n        {{else}}\\n          Review the errors below before enforcing identity verification.\\n        {{/if}}\\n      </IcBanner>\\n    {{/if}}\\n\\n    <div class=\\\"h-5\\\"></div>\\n\\n    {{#if (and this.isWeb this.isInstalled)}}\\n      <h3 class=\\\"t__label u__left\\\">\\n        Active integrations with logged-in users\\n      </h3>\\n\\n      <div class=\\\"h-2\\\"></div>\\n\\n      <div data-test-ping-domains-table>\\n        <Settings::IdentityVerification::PingDomainsTable\\n          @pingDomains={{this.pingDomains}}\\n          @openUserHashChecker={{set this.showUserHashCheckerModal true}}\\n        />\\n      </div>\\n\\n      <div class=\\\"h-5\\\"></div>\\n    {{/if}}\\n\\n    {{#if (and this.isWeb (has-feature \\\"canEditIdentityVerificationV2Settings\\\"))}}\\n      <h3 class=\\\"t__label u__mb__10\\\">\\n        Default settings\\n      </h3>\\n      <p class=\\\"u__mb__10\\\">\\n        Identity verification is currently {{unless @identityVerificationSettings.enabledByDefault \\\"not\\\"}} enabled for new domains. {{if @identityVerificationSettings.enabledByDefault (concat \\\"It is enforcing \\\" this.defaultStrictnessLabel \\\".\\\")}}\\n      </p>\\n      <IcButton @type=\\\"secondary\\\" @label=\\\"Configure\\\" @onClick={{set this.isDefaultSettingsModalShown true}} />\\n    {{else}}\\n      <div class=\\\"t__label\\\">\\n        Enforce identity verification\\n      </div>\\n\\n      <div class=\\\"h-2\\\"></div>\\n\\n      {{#if (and this.isNotWeb this.sdkApp.disallowManualIdentityVerificationEnable)}}\\n        To enforce identity verification on {{this.platformName}},\\n        <a class=\\\"t__em-link\\\" {{action \\\"openMessenger\\\"}}>\\n          send us a message\\n        </a>.\\n      {{else}}\\n        <span\\n          {{tooltip\\n            content=\\\"You must have at least one domain with a valid user hash in order to enforce identity verification\\\"\\n            isDisabled=(not (and this.isWeb this.noDomainHasValidUserHash this.identityUnverified))\\n          }}\\n        >\\n          <IcOnOffToggle\\n            @disabled={{and this.isWeb this.noDomainHasValidUserHash this.identityUnverified}}\\n            @isOn={{this.identityVerified}}\\n            @onClick={{perform this.confirmAndToggleIdentityVerification}}\\n            data-test-identity-verification-toggle={{concat this.identityVerified}}\\n          />\\n        </span>\\n      {{/if}}\\n\\n      <div class=\\\"h-2\\\"></div>\\n\\n      <div class=\\\"t__light-text\\\">\\n        Once enforced, the Intercom Messenger will not load for unverified logged-in users.\\n      </div>\\n    {{/if}}\\n  </div>\\n\\n  {{#if this.showUserHashCheckerModal}}\\n    <UserHashCheckerComponent\\n      @secret={{this.secretUsedInModal}}\\n      @closeModal={{action \\\"closeUserHashChecker\\\"}}\\n    />\\n  {{/if}}\\n\\n  {{#if (and (has-feature \\\"canEditIdentityVerificationV2Settings\\\") this.isDefaultSettingsModalShown)}}\\n    <Settings::IdentityVerification::IdentityVerificationSettingsModal\\n      @showDefaultSettings={{true}}\\n      @identityVerificationSettings={{@identityVerificationSettings}}\\n      @toggleIsModalShown={{set this.isDefaultSettingsModalShown false}}\\n    />\\n  {{/if}}\\n</Settings::ContentComponents::Base>\\n\",\"moduleName\":\"embercom/components/settings/identity-verification/verify-user-identity-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/identity-verification/verify-user-identity-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { A } from '@ember/array';\nimport { action, computed } from '@ember/object';\nimport { readOnly, not, notEmpty, equal, gt } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport {\n  itemAtPropertyIndex,\n  templateString,\n  ternaryToProperty,\n  valueOrDefault,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport ajax from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\nimport { intercomPromiseConfirm } from 'embercom/lib/intercom-confirm';\nimport { showNewMessageInIntercomWidget } from 'embercom/lib/intercom-widget-helper';\nimport STRICTNESS from 'embercom/lib/identity-verification-strictness';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  store: service(),\n  classNames: ['layout__box', 'o__flexes-to-1', 'o__has-rows'],\n\n  identityVerificationRiskStateService: service(),\n\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  showSecret: false,\n  maskedSecret: '****************************************',\n  showUserHashCheckerModal: false,\n\n  sdkApp: computed('app.iosSdkApps.[]', 'app.androidSdkApps.[]', 'userSource', function() {\n    let sdkApps = {\n      ios: this.get('app.iosSdkApps'),\n      android: this.get('app.androidSdkApps'),\n    }[this.userSource];\n\n    if (sdkApps) {\n      return sdkApps.get('firstObject');\n    }\n  }),\n  pingDomains: A(),\n  userSource: null,\n  identityVerified: valueOrDefault('sdkApp.identityVerified', false),\n  identityUnverified: not('identityVerified'),\n\n  installationComponentPath: templateString(\n    'guide/start-screen/tasks/identity-verification/${installMethod}-component',\n  ),\n\n  platformNames: {\n    web: 'web',\n    ios: 'iOS',\n    android: 'Android',\n  },\n  installationHelpArticles: {\n    web:\n      'https://www.intercom.com/help/install-on-your-product-or-site/quick-install/install-intercom-on-your-web-app-for-logged-in-users',\n    ios:\n      'https://www.intercom.com/help/install-on-your-product-or-site/quick-install/install-and-configure-intercom-on-your-mobile-app',\n    android:\n      'https://www.intercom.com/help/install-on-your-product-or-site/quick-install/install-and-configure-intercom-on-your-mobile-app',\n  },\n  platformName: itemAtPropertyIndex('platformNames', 'userSource'),\n  installationHelpArticle: itemAtPropertyIndex('installationHelpArticles', 'userSource'),\n  installMethodSelected: notEmpty('installMethod'),\n\n  helpArticles: {\n    web:\n      'https://www.intercom.com/help/configure-intercom-for-your-product-or-site/staying-secure/enable-identity-verification-on-your-web-product',\n    ios: 'https://developers.intercom.com/installing-intercom/docs/ios-identity-verification',\n    android:\n      'https://developers.intercom.com/installing-intercom/docs/android-identity-verification',\n  },\n  helpArticle: itemAtPropertyIndex('helpArticles', 'userSource'),\n\n  isWeb: equal('userSource', 'web'),\n  isNotWeb: not('isWeb'),\n\n  isInstalled: ternaryToProperty('isWeb', 'hasPingDomains', 'sdkApp.is_activated'),\n  isNotInstalled: not('isInstalled'),\n\n  hasPingDomains: gt('pingDomains.length', 0),\n  noDomainsHaveErrors: computed('pingDomains.@each.errorCode', function() {\n    return this.pingDomains.isEvery('errorCode', null);\n  }),\n  domainsHaveErrors: not('noDomainsHaveErrors'),\n  noDomainHasValidUserHash: computed('pingDomains.@each.validUserHash', function() {\n    return this.pingDomains.isEvery('validUserHash', false);\n  }),\n\n  identityVerificationSettings: null,\n  defaultStrictnessLabel: computed('identityVerificationSettings.defaultStrictness', function() {\n    return STRICTNESS[this.identityVerificationSettings.defaultStrictness].label;\n  }),\n\n  isDefaultSettingsModalShown: false,\n\n  confirmAndToggleIdentityVerification: task(function*() {\n    let confirmed = yield this._confirmIdentityVerificationTask.perform();\n\n    this._toggleIdentityVerificationTask.perform(this.identityVerified, confirmed);\n  }),\n\n  _confirmIdentityVerificationTask: task(function*() {\n    if (this.identityVerified) {\n      return true;\n    } else if (!this.isWeb) {\n      return yield intercomPromiseConfirm(\n        this,\n        this._identityVerificationMobileConfirmationOptions(),\n      );\n    } else if (this.domainsHaveErrors) {\n      return yield intercomPromiseConfirm(this, this._identityVerificationWebConfirmationOptions());\n    } else {\n      return true;\n    }\n  }),\n\n  _toggleIdentityVerificationTask: task(function*(originalState, confirmed) {\n    if (confirmed) {\n      let newState = this.toggleProperty('identityVerified');\n\n      this._trackIdentityVerificationToggleEvent(newState);\n\n      try {\n        yield this._updateIdentityVerification(newState);\n        yield this._refreshIdentityVerificationRiskState(newState);\n      } catch (e) {\n        this.set('identityVerified', originalState);\n        this.notificationsService.notifyError(\n          'There was a problem updating your identity verification setting.',\n        );\n      }\n    }\n  }).drop(),\n\n  _createUserSource: task(function*() {\n    try {\n      let userSource = yield this.store\n        .createRecord('user-source', { name: this.userSource })\n        .save();\n      let sdkApp = yield this._createSdkAppForMobile(userSource.get('formattedName'));\n      if (sdkApp) {\n        this.get('app.sdkApps').pushObject(sdkApp);\n      }\n\n      this.userSources.pushObject(userSource);\n    } catch (error) {\n      this.notificationsService.notifyError(\n        'There was a problem adding your identity verification user source.',\n      );\n    }\n  }),\n\n  _deleteOldestSecret: task(function*() {\n    try {\n      yield ajax({\n        url: `/ember/apps/${this.get('app.id')}/delete_oldest_secret`,\n        type: 'post',\n        contentType: 'application/json',\n      });\n      yield this.get('app.fetchAPISecret').perform();\n    } catch (error) {\n      this.notificationsService.notifyError('There was a problem deleting this secret.');\n    }\n  }),\n\n  _createNewSecret: task(function*() {\n    try {\n      yield ajax({\n        url: `/ember/apps/${this.get('app.id')}/create_new_secret`,\n        type: 'post',\n        contentType: 'application/json',\n      });\n      yield this.get('app.fetchAPISecret').perform();\n    } catch (error) {\n      this.notificationsService.notifyError('There was a problem creating a new secret.');\n    }\n  }),\n\n  _identityVerificationWebConfirmationOptions() {\n    return {\n      title: 'Review domains with errors',\n      body:\n        'The Intercom Messenger will not load for logged-in users on domains with identity verification errors',\n      confirmButtonText: 'Ignore errors and enforce',\n      cancelButtonText: 'Go back and review',\n      secondaryButtonType: 'primary-destructive',\n      invertButtonTypes: true,\n      center: true,\n    };\n  },\n\n  _identityVerificationMobileConfirmationOptions() {\n    return {\n      title: 'Confirm before enforcing',\n      body:\n        'Once enforced, the Intercom Messenger will not load for logged-in users on app versions without identity verification configured.',\n      confirmButtonText: 'Enforce and disable old apps',\n      cancelButtonText: 'Go back',\n      secondaryButtonType: 'primary-destructive',\n      invertButtonTypes: true,\n      center: true,\n    };\n  },\n\n  _trackIdentityVerificationToggleEvent(enabled) {\n    let stateString = enabled ? 'enabled' : 'disabled';\n    this.intercomEventService.trackEvent(`secure-mode-${stateString}`, {\n      action: stateString,\n      object: 'secure_mode',\n      place: `${this.userSource}_settings`,\n      owner: 'growth',\n    });\n  },\n\n  _updateIdentityVerification(enabled) {\n    if (this.isWeb) {\n      this._updateWebIdentityVerification(enabled);\n    } else {\n      this._updateMobileIdentityVerification(enabled);\n    }\n  },\n\n  _updateWebIdentityVerification(enabled) {\n    return ajax({\n      url: `/ember/apps/${this.get('app.id')}/update_identity_verification`,\n      type: 'post',\n      contentType: 'application/json',\n      data: JSON.stringify({\n        identity_verified: enabled,\n      }),\n    });\n  },\n\n  _createSdkAppForMobile(userSourceFormattedName) {\n    if (['ios', 'android'].includes(this.userSource)) {\n      this.store\n        .createRecord('sdk-app', {\n          admin_id: this.get('admin.id'),\n          platform: userSourceFormattedName,\n        })\n        .save();\n    }\n  },\n\n  _updateMobileIdentityVerification(enabled) {\n    if (!this.sdkApp) {\n      this._createUserSource.perform().then(() => {\n        this.set('sdkApp.identityVerified', enabled);\n        this.sdkApp.save();\n      });\n    } else {\n      this.set('sdkApp.identityVerified', enabled);\n      this.sdkApp.save();\n    }\n  },\n\n  _refreshIdentityVerificationRiskState() {\n    return this.identityVerificationRiskStateService.start(this.app);\n  },\n\n  maybeCreateSecret: action(function() {\n    let options = {\n      title: 'Create new secret',\n      body:\n        'You can only have two secrets at a time. Please remember to delete your old secret when it’s not in use anymore.',\n      confirmButtonText: 'Create new secret',\n    };\n\n    intercomConfirm(this, options).then(() => {\n      this._createNewSecret.perform();\n    });\n  }),\n\n  maybeDeleteSecret: action(function() {\n    let options = {\n      title: 'Delete your oldest secret',\n      body:\n        'Are you sure you want to delete this secret? This action is permanent and can’t be undone. If this secret is still used in your production codebase, your integration will likely be broken.',\n      confirmButtonText: 'Delete',\n    };\n\n    intercomConfirm(this, options).then(() => {\n      this._deleteOldestSecret.perform();\n    });\n  }),\n\n  actions: {\n    openMessenger() {\n      showNewMessageInIntercomWidget(\n        `I would like to enable identity verification for my ${this.platformName} app.`,\n      );\n    },\n\n    chooseInstallationMethod(installMethod) {\n      this.set('installMethod', installMethod);\n    },\n\n    closeUserHashChecker() {\n      this.set('showUserHashCheckerModal', false);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n  <IcTabControl\\n    class=\\\"u__padl__30\\\"\\n    @onSelectionChange={{action (mut selectedType)}}\\n    @selectedTab={{selectedType}} as |t|\\n  >\\n    <t.tab @label=\\\"CSV\\\" @value=\\\"csv\\\" />\\n    <t.tab @label=\\\"Mixpanel\\\" @value=\\\"mixpanel\\\" />\\n    <t.tab @label=\\\"Mailchimp\\\" @value=\\\"mailchimp\\\" />\\n  </IcTabControl>\\n  <div\\n    class=\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls u__padl__30 u__padr__30 u__padb__10\\\"\\n  >\\n    {{#if showCsvWarning}}\\n      <div class=\\\"layout__box\\\" style=\\\"margin: 15px 0;\\\">\\n        <IcBanner\\n          @type=\\\"warning\\\"\\n          @text={{csvWarningText}}\\n          data-test-csv-progress-warning={{true}}\\n        />\\n      </div>\\n    {{/if}}\\n    {{#unless showNoImportsMessage}}\\n      <div class=\\\"layout__box\\\">\\n        {{!-- template-lint-disable intercom/no-custom-table --}}\\n        <table class=\\\"tbl o__fit\\\" data-test-summary-table>\\n          {{!-- template-lint-enable intercom/no-custom-table --}}\\n          <thead>\\n            <tr>\\n              <th class=\\\"tbl__cell t__label\\\">\\n                Created\\n              </th>\\n              <th class=\\\"tbl__cell t__label\\\">\\n                Auto Tag Name\\n              </th>\\n              <th class=\\\"tbl__cell t__label\\\">\\n                Users\\n              </th>\\n              <th class=\\\"tbl__cell t__label\\\">\\n                Status\\n              </th>\\n              <th class=\\\"tbl__cell t__label\\\">\\n                Errors\\n              </th>\\n            </tr>\\n          </thead>\\n          <tbody class=\\\"tbl__body\\\">\\n            {{#each selectedImports as |import|}}\\n              <tr>\\n                <td class=\\\"tbl__cell\\\">\\n                  <span\\n                    class=\\\"time js__user-list-link user-list__cell-link\\\"\\n                    {{tooltip content=(full-date-and-time-helper import.createdAt)}}\\n                  >\\n                    {{full-relative-time-ago-helper\\n                      import.createdAt\\n                      fallback=\\\"—\\\"\\n                    }}\\n                  </span>\\n                </td>\\n                <td class=\\\"tbl__cell\\\" data-test-manual-tag>\\n                  {{#if import.manualTagName}}\\n                    <Importers::AddedTagsComponent\\n                      @addedTag={{import.manualTagName}}\\n                    />\\n                  {{else}}\\n                    -\\n                  {{/if}}\\n                </td>\\n                <td class=\\\"tbl__cell\\\">\\n                  {{#if import.userListUrl}}\\n                    {{#if selectedTypeIsCsv}}\\n                      <a\\n                        data-test-csv-user-list-url\\n                        href=\\\"{{import.userListUrl}}\\\"\\n                      >\\n                        {{import.rowCount}} {{import.recordType}}\\n                      </a>\\n                    {{else}}\\n                      <a href=\\\"{{import.userListUrl}}\\\">\\n                        {{if import.userCount import.userCount 0}} users\\n                      </a>\\n                    {{/if}}\\n                  {{else}}\\n                    -\\n                  {{/if}}\\n                </td>\\n                <td class=\\\"tbl__cell {{if import.failed \\\"text-red\\\"}}\\\">\\n                  {{import.importStatus}}\\n                </td>\\n                <td class=\\\"tbl__cell\\\">\\n                  {{#if import.importSummary}}\\n                    <div>\\n                      {{#if (gt import.importedRowFailureCount 0)}}\\n                        <a\\n                          data-test-import-summary-link\\n                          {{action \\\"openImportSummary\\\" import.id}}\\n                        >\\n                          {{import.importedRowFailureCount}} {{import.pluralisedError}}\\n                        </a>\\n                      {{else}}\\n                        <p>\\n                          0 errors\\n                        </p>\\n                      {{/if}}\\n                    </div>\\n                  {{else}}\\n                    -\\n                  {{/if}}\\n                </td>\\n              </tr>\\n            {{/each}}\\n          </tbody>\\n        </table>\\n      </div>\\n    {{/unless}}\\n    {{#if showNoImportsMessage}}\\n      <IcEmptyState\\n        @icon=\\\"users\\\"\\n        @title=\\\"No imports yet\\\"\\n        data-test-empty-state={{true}}\\n        @buttonLabel={{importButtonText}}\\n        @onButtonClick={{action \\\"openImportInNewWindow\\\"}} as |emptyState|\\n      >\\n        <emptyState.description>\\n          {{#if (eq selectedType \\\"csv\\\")}}\\n            Import data from a CSV file to Intercom.\\n            <br />\\n            We’ll pull in people’s name, email address and\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://www.intercom.com/help/configure-intercom-for-your-product-or-site/customize-intercom-to-be-about-your-users/import-your-user-data-into-intercom#how-to-import-users-from-a-csv\\\"\\n              @title=\\\"more\\\"\\n              @type=\\\"article\\\"\\n              @linkStyling=\\\"inline\\\"\\n            />.\\n          {{else if (eq selectedType \\\"mailchimp\\\")}}\\n            Import data from your Mailchimp mailing list to Intercom.\\n            <br />\\n            We’ll pull in people’s name and email address.\\n          {{else if (eq selectedType \\\"mixpanel\\\")}}\\n            Import data from your Mixpanel account to Intercom.\\n            <br />\\n            We’ll pull in their name, email address, mixpanel id and\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://www.intercom.com/help/integrations/import-your-mixpanel-contacts\\\"\\n              @title=\\\"more\\\"\\n              @type=\\\"article\\\"\\n              @linkStyling=\\\"inline\\\"\\n            />.\\n          {{/if}}\\n        </emptyState.description>\\n      </IcEmptyState>\\n    {{/if}}\\n    <div class=\\\"layout__box\\\">\\n      {{#if showLoadImports}}\\n        {{#if isLoading}}\\n          <IcButton\\n            @label=\\\"Loading…\\\"\\n            @type=\\\"secondary\\\"\\n            @subtle={{true}}\\n            @disabled={{true}}\\n          />\\n        {{else}}\\n          <IcButton\\n            @label=\\\"Load more imports\\\"\\n            @type=\\\"secondary\\\"\\n            @onClick={{action \\\"nextPage\\\"}}\\n            @subtle={{true}}\\n            data-test-load-page={{true}}\\n          />\\n        {{/if}}\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n  <IcTabControl\\n    class=\\\"u__padl__30\\\"\\n    @onSelectionChange={{action (mut selectedType)}}\\n    @selectedTab={{selectedType}} as |t|\\n  >\\n    <t.tab @label=\\\"CSV\\\" @value=\\\"csv\\\" />\\n    <t.tab @label=\\\"Mixpanel\\\" @value=\\\"mixpanel\\\" />\\n    <t.tab @label=\\\"Mailchimp\\\" @value=\\\"mailchimp\\\" />\\n  </IcTabControl>\\n  <div\\n    class=\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls u__padl__30 u__padr__30 u__padb__10\\\"\\n  >\\n    {{#if showCsvWarning}}\\n      <div class=\\\"layout__box\\\" style=\\\"margin: 15px 0;\\\">\\n        <IcBanner\\n          @type=\\\"warning\\\"\\n          @text={{csvWarningText}}\\n          data-test-csv-progress-warning={{true}}\\n        />\\n      </div>\\n    {{/if}}\\n    {{#unless showNoImportsMessage}}\\n      <div class=\\\"layout__box\\\">\\n        {{!-- template-lint-disable intercom/no-custom-table --}}\\n        <table class=\\\"tbl o__fit\\\" data-test-summary-table>\\n          {{!-- template-lint-enable intercom/no-custom-table --}}\\n          <thead>\\n            <tr>\\n              <th class=\\\"tbl__cell t__label\\\">\\n                Created\\n              </th>\\n              <th class=\\\"tbl__cell t__label\\\">\\n                Auto Tag Name\\n              </th>\\n              <th class=\\\"tbl__cell t__label\\\">\\n                Users\\n              </th>\\n              <th class=\\\"tbl__cell t__label\\\">\\n                Status\\n              </th>\\n              <th class=\\\"tbl__cell t__label\\\">\\n                Errors\\n              </th>\\n            </tr>\\n          </thead>\\n          <tbody class=\\\"tbl__body\\\">\\n            {{#each selectedImports as |import|}}\\n              <tr>\\n                <td class=\\\"tbl__cell\\\">\\n                  <span\\n                    class=\\\"time js__user-list-link user-list__cell-link\\\"\\n                    {{tooltip content=(full-date-and-time-helper import.createdAt)}}\\n                  >\\n                    {{full-relative-time-ago-helper\\n                      import.createdAt\\n                      fallback=\\\"—\\\"\\n                    }}\\n                  </span>\\n                </td>\\n                <td class=\\\"tbl__cell\\\" data-test-manual-tag>\\n                  {{#if import.manualTagName}}\\n                    <Importers::AddedTagsComponent\\n                      @addedTag={{import.manualTagName}}\\n                    />\\n                  {{else}}\\n                    -\\n                  {{/if}}\\n                </td>\\n                <td class=\\\"tbl__cell\\\">\\n                  {{#if import.userListUrl}}\\n                    {{#if selectedTypeIsCsv}}\\n                      <a\\n                        data-test-csv-user-list-url\\n                        href=\\\"{{import.userListUrl}}\\\"\\n                      >\\n                        {{import.rowCount}} {{import.recordType}}\\n                      </a>\\n                    {{else}}\\n                      <a href=\\\"{{import.userListUrl}}\\\">\\n                        {{if import.userCount import.userCount 0}} users\\n                      </a>\\n                    {{/if}}\\n                  {{else}}\\n                    -\\n                  {{/if}}\\n                </td>\\n                <td class=\\\"tbl__cell {{if import.failed \\\"text-red\\\"}}\\\">\\n                  {{import.importStatus}}\\n                </td>\\n                <td class=\\\"tbl__cell\\\">\\n                  {{#if import.importSummary}}\\n                    <div>\\n                      {{#if (gt import.importedRowFailureCount 0)}}\\n                        <a\\n                          data-test-import-summary-link\\n                          {{action \\\"openImportSummary\\\" import.id}}\\n                        >\\n                          {{import.importedRowFailureCount}} {{import.pluralisedError}}\\n                        </a>\\n                      {{else}}\\n                        <p>\\n                          0 errors\\n                        </p>\\n                      {{/if}}\\n                    </div>\\n                  {{else}}\\n                    -\\n                  {{/if}}\\n                </td>\\n              </tr>\\n            {{/each}}\\n          </tbody>\\n        </table>\\n      </div>\\n    {{/unless}}\\n    {{#if showNoImportsMessage}}\\n      <IcEmptyState\\n        @icon=\\\"users\\\"\\n        @title=\\\"No imports yet\\\"\\n        data-test-empty-state={{true}}\\n        @buttonLabel={{importButtonText}}\\n        @onButtonClick={{action \\\"openImportInNewWindow\\\"}} as |emptyState|\\n      >\\n        <emptyState.description>\\n          {{#if (eq selectedType \\\"csv\\\")}}\\n            Import data from a CSV file to Intercom.\\n            <br />\\n            We’ll pull in people’s name, email address and\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://www.intercom.com/help/configure-intercom-for-your-product-or-site/customize-intercom-to-be-about-your-users/import-your-user-data-into-intercom#how-to-import-users-from-a-csv\\\"\\n              @title=\\\"more\\\"\\n              @type=\\\"article\\\"\\n              @linkStyling=\\\"inline\\\"\\n            />.\\n          {{else if (eq selectedType \\\"mailchimp\\\")}}\\n            Import data from your Mailchimp mailing list to Intercom.\\n            <br />\\n            We’ll pull in people’s name and email address.\\n          {{else if (eq selectedType \\\"mixpanel\\\")}}\\n            Import data from your Mixpanel account to Intercom.\\n            <br />\\n            We’ll pull in their name, email address, mixpanel id and\\n            <Pulse::HelpContent::Link\\n              @href=\\\"https://www.intercom.com/help/integrations/import-your-mixpanel-contacts\\\"\\n              @title=\\\"more\\\"\\n              @type=\\\"article\\\"\\n              @linkStyling=\\\"inline\\\"\\n            />.\\n          {{/if}}\\n        </emptyState.description>\\n      </IcEmptyState>\\n    {{/if}}\\n    <div class=\\\"layout__box\\\">\\n      {{#if showLoadImports}}\\n        {{#if isLoading}}\\n          <IcButton\\n            @label=\\\"Loading…\\\"\\n            @type=\\\"secondary\\\"\\n            @subtle={{true}}\\n            @disabled={{true}}\\n          />\\n        {{else}}\\n          <IcButton\\n            @label=\\\"Load more imports\\\"\\n            @type=\\\"secondary\\\"\\n            @onClick={{action \\\"nextPage\\\"}}\\n            @subtle={{true}}\\n            data-test-load-page={{true}}\\n          />\\n        {{/if}}\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/import-table-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/import-table-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-private-routing-service */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { getOwner } from '@ember/application';\nimport { later } from '@ember/runloop';\nimport { computed } from '@ember/object';\nimport { equal, or, alias, empty, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport openCenteredWindow from 'embercom/lib/open-centered-window';\nimport { selectFromObject } from '@intercom/embercom-core/lib/computed-properties';\n\nconst IMPORT_BUTTON_TEXT_MAPPINGS = {\n  csv: 'Upload CSV',\n  mailchimp: 'Import from Mailchimp',\n  mixpanel: 'Import from Mixpanel',\n};\n\nexport default Component.extend({\n  realTimeEventService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  store: service(),\n\n  classNames: ['layout__box', 'o__has-rows', 'o__flexes-to-1'],\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.bindImportProgress();\n  },\n\n  willDestroyElement() {\n    this._super(...arguments);\n    this.unbindImportProgress();\n  },\n\n  bindImportProgress() {\n    if (this.isBound) {\n      return;\n    }\n    this.realTimeEventService.subscribeTopics([\n      'csv-import-user-create-progress',\n      'mailchimp-import-user-create-progress',\n      'mixpanel-import-user-create-progress',\n    ]);\n    this.realTimeEventService.on('CsvImportUserCreateProgress', this, 'handleCsvImportProgress');\n    this.realTimeEventService.on(\n      'MailchimpImportUserCreateProgress',\n      this,\n      'handleMailchimpImportProgress',\n    );\n    this.realTimeEventService.on(\n      'MixpanelImportUserCreateProgress',\n      this,\n      'handleMixpanelImportProgress',\n    );\n    this.set('isBound', true);\n  },\n\n  unbindImportProgress() {\n    if (!this.isBound) {\n      return;\n    }\n    this.realTimeEventService.off('CsvImportUserCreateProgress', this, 'handleCsvImportProgress');\n    this.realTimeEventService.off(\n      'MailchimpImportUserCreateProgress',\n      this,\n      'handleMailchimpImportProgress',\n    );\n    this.realTimeEventService.off(\n      'MixpanelImportUserCreateProgress',\n      this,\n      'handleMixpanelImportProgress',\n    );\n    this.realTimeEventService.unsubscribeTopics([\n      'csv-import-user-create-progress',\n      'mailchimp-import-user-create-progress',\n      'mixpanel-import-user-create-progress',\n    ]);\n    this.set('isBound', false);\n  },\n\n  handleCsvImportProgress(data) {\n    let importModel = this.csvImports.findBy('id', data.id.toString());\n    if (!importModel) {\n      return;\n    }\n\n    if (data.complete) {\n      this.store.findRecord('csv-import', data.id).then(csv => {\n        importModel.setProperties({\n          importStatus: csv.get('importStatus'),\n          importSummary: csv.get('importSummary'),\n          importedRowFailureCount: csv.get('importedRowFailureCount'),\n          shouldLinkToUserListUrl: true,\n          rowCount: csv.get('rowCount'),\n          recordType: csv.get('recordType'),\n        });\n        if (importModel.get('importedRowFailureCount') > 0) {\n          importModel.set('shouldShowImportSummary', true);\n        }\n        this.decrementProperty('numberOfOpenCsvImportsForApp');\n      });\n    }\n\n    this.handleImportProgress(data, importModel);\n  },\n\n  handleImportProgress(data, importModel) {\n    if (!importModel) {\n      return;\n    }\n\n    let progress = parseInt(data.progress, 10);\n\n    if (progress < 100) {\n      importModel.set('importStatus', `In Progress - ${data.progress}%`);\n    } else {\n      importModel.set('importStatus', 'Complete');\n      if (this.verifyCompletion) {\n        this.verifyCompletion();\n      }\n    }\n  },\n\n  handleMailchimpImportProgress(data) {\n    let importModel = this.mailchimpImports.findBy('id', data.id.toString());\n    this.handleImportProgress(data, importModel);\n  },\n\n  handleMixpanelImportProgress(data) {\n    let importModel = this.mixpanelImports.findBy('id', data.id.toString());\n    this.handleImportProgress(data, importModel);\n  },\n\n  app: null,\n\n  selectedType: 'csv',\n  selectedTypeIsCsv: equal('selectedType', 'csv'),\n  selectedTypeIsMixpanel: equal('selectedType', 'mixpanel'),\n  selectedTypeIsMailchimp: equal('selectedType', 'mailchimp'),\n  selectedTypeIsCsvOrMailchimp: or('selectedTypeIsCsv', 'selectedTypeIsMailchimp'),\n  importButtonTextMappings: IMPORT_BUTTON_TEXT_MAPPINGS,\n  importButtonText: selectFromObject('importButtonTextMappings', 'selectedType'),\n  model: null,\n  csvImports: alias('model.csvImports'),\n  mailchimpImports: alias('model.mailchimpImports'),\n  mixpanelImports: alias('model.mixpanelImports'),\n  selectedImports: computed(\n    'selectedType',\n    'csvImports',\n    'mailchimpImports',\n    'mixpanelImports',\n    function() {\n      return this.get(`${this.selectedType}Imports`);\n    },\n  ),\n  numberOfOpenCsvImportsForApp: computed('csvImports', function() {\n    return this.csvImports.filter(currentImport => {\n      return (\n        currentImport.get('importStatus') !== 'Complete' &&\n        currentImport.get('importStatus') !== 'Failed'\n      );\n    }).length;\n  }),\n  showCsvWarning: computed('selectedTypeIsCsv', 'numberOfOpenCsvImportsForApp', function() {\n    return this.selectedTypeIsCsv && this.numberOfOpenCsvImportsForApp > 0;\n  }),\n  csvWarningText: computed('numberOfOpenCsvImportsForApp', function() {\n    let importsCopy =\n      this.numberOfOpenCsvImportsForApp > 1 ? `are ${this.numberOfOpenCsvImportsForApp}` : 'is 1';\n    return `There ${importsCopy} csv import currently being processed for this app. We recommend waiting until it has finished before uploading more files.`;\n  }),\n  showNoImportsMessage: empty('selectedImports'),\n  showLoadImports: computed('selectedType', function() {\n    return this.get(`hasMore${this.selectedType.capitalize()}Imports`);\n  }),\n\n  pageNumber: 2,\n  hasMoreCsvImports: readOnly('model.hasMoreCsvImports'),\n  hasMoreMailchimpImports: false,\n  hasMoreMixpanelImports: false,\n  isLoading: false,\n\n  openImportWindow(type) {\n    let router = getOwner(this).lookup('router:main');\n    let url = router.generate(`apps.app.import.${type}`);\n    let window = openCenteredWindow(url, 800, 1280, 'Import');\n\n    this.waitForChildWindow(window);\n    window.focus();\n  },\n\n  waitForChildWindow(childWindow) {\n    if (childWindow.closed) {\n      if (window.importSuccessful) {\n        // eslint-disable-next-line ember/closure-actions\n        this.sendAction('closeModal');\n        this.store.findAll(`${this.selectedType}-import`).then(imports => {\n          this.set(`${this.selectedType}Imports`, imports);\n        });\n      }\n    } else {\n      later(this.waitForChildWindow.bind(this, childWindow), 1000);\n    }\n  },\n\n  actions: {\n    nextPage() {\n      this.store\n        .query(`${this.selectedType.capitalize()}-import`, { page: this.pageNumber })\n        .then(page => {\n          this.incrementProperty('pageNumber');\n          this.set(`hasMore${this.selectedType.capitalize()}Imports`, page.meta.pages_left);\n        });\n    },\n\n    openImportSummary(importId) {\n      let importObject = this.store.peekRecord(`${this.selectedType}-import`, importId);\n      this.modalService.openModal('apps/app/modals/import-summary-modal', importObject);\n    },\n\n    openImportInNewWindow() {\n      let selectedType = this.selectedType;\n      this.openImportWindow(selectedType);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<LinkTo\\n  @route=\\\"apps.app.admins.admin\\\"\\n  @models={{array app admin.id}}\\n  class=\\\"menu__popover__item o__admin-profile-link\\\"\\n>\\n  <div class=\\\"flex items-start\\\">\\n    <div class=\\\"away-mode__admin-details__avatar-container\\\">\\n      <IcAvatarComponent\\n        @model={{admin}}\\n        @size=\\\"m\\\"\\n        @displayAdminBadge={{true}}\\n      />\\n    </div>\\n    <div class=\\\"away-mode__admin-details__container flex-auto min-w-0\\\">\\n      <div class=\\\"away-mode__admin-details__admin-name\\\">\\n        {{admin.name}}\\n      </div>\\n      <div\\n        class=\\\"away-mode__admin-details__admin-active-status menu__popover__item__deemphasized\\\"\\n      >\\n        {{#if admin.away_mode_enabled}}\\n          Away\\n        {{else}}\\n          Active\\n        {{/if}}\\n      </div>\\n    </div>\\n  </div>\\n</LinkTo>\\n\\n<hr class=\\\"menu__popover__hr\\\" />\\n\\n<IcTooltip @placement=\\\"right\\\" class=\\\"menu__popover__item\\\" as |t|>\\n  <t.opener>\\n    <div class=\\\"flex flex-row justify-between\\\">\\n      <Text @styling='muted'>\\n        Away mode\\n      </Text>\\n      <IcOnOffToggle\\n        @isOn={{admin.away_mode_enabled}}\\n        @onClick={{action \\\"toggleAwayMode\\\"}}\\n        data-test-toggle-away-mode\\n        class=\\\"away-mode__toggle\\\"\\n      />\\n    </div>\\n  </t.opener>\\n  <t.content>\\n    Appear away to customers and opt out of automatic assignments.\\n  </t.content>\\n</IcTooltip>\\n\\n{{#if (and app.inboxIsActive app.currentAdminHasInboxAccess)}}\\n  <div class=\\\"js__reassign-replies\\\" style=\\\"height: {{this.initialReassignHeight}}px; overflow: hidden\\\">\\n    <IcTooltip\\n      @placement=\\\"right\\\"\\n      class=\\\"menu__popover__item\\\"\\n      data-test-reassign-mode-toggle-wrapper\\n      as |t|\\n    >\\n      <t.opener>\\n        <div class=\\\"flex flex-row justify-between\\\">\\n          <Text @styling='muted'>\\n            Reassign replies\\n          </Text>\\n          <IcOnOffToggle\\n            @isOn={{admin.reassign_conversations}}\\n            @onClick={{action \\\"toggleReassignMode\\\"}}\\n            data-test-toggle-reassign-mode\\n            class=\\\"away-mode__toggle\\\"\\n          />\\n        </div>\\n      </t.opener>\\n      <t.content>\\n        {{this.awayModeTooltip}}\\n      </t.content>\\n    </IcTooltip>\\n  </div>\\n{{/if}}\\n\\n<hr class=\\\"menu__popover__hr\\\" />\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable style-concatenation --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<LinkTo\\n  @route=\\\"apps.app.admins.admin\\\"\\n  @models={{array app admin.id}}\\n  class=\\\"menu__popover__item o__admin-profile-link\\\"\\n>\\n  <div class=\\\"flex items-start\\\">\\n    <div class=\\\"away-mode__admin-details__avatar-container\\\">\\n      <IcAvatarComponent\\n        @model={{admin}}\\n        @size=\\\"m\\\"\\n        @displayAdminBadge={{true}}\\n      />\\n    </div>\\n    <div class=\\\"away-mode__admin-details__container flex-auto min-w-0\\\">\\n      <div class=\\\"away-mode__admin-details__admin-name\\\">\\n        {{admin.name}}\\n      </div>\\n      <div\\n        class=\\\"away-mode__admin-details__admin-active-status menu__popover__item__deemphasized\\\"\\n      >\\n        {{#if admin.away_mode_enabled}}\\n          Away\\n        {{else}}\\n          Active\\n        {{/if}}\\n      </div>\\n    </div>\\n  </div>\\n</LinkTo>\\n\\n<hr class=\\\"menu__popover__hr\\\" />\\n\\n<IcTooltip @placement=\\\"right\\\" class=\\\"menu__popover__item\\\" as |t|>\\n  <t.opener>\\n    <div class=\\\"flex flex-row justify-between\\\">\\n      <Text @styling='muted'>\\n        Away mode\\n      </Text>\\n      <IcOnOffToggle\\n        @isOn={{admin.away_mode_enabled}}\\n        @onClick={{action \\\"toggleAwayMode\\\"}}\\n        data-test-toggle-away-mode\\n        class=\\\"away-mode__toggle\\\"\\n      />\\n    </div>\\n  </t.opener>\\n  <t.content>\\n    Appear away to customers and opt out of automatic assignments.\\n  </t.content>\\n</IcTooltip>\\n\\n{{#if (and app.inboxIsActive app.currentAdminHasInboxAccess)}}\\n  <div class=\\\"js__reassign-replies\\\" style=\\\"height: {{this.initialReassignHeight}}px; overflow: hidden\\\">\\n    <IcTooltip\\n      @placement=\\\"right\\\"\\n      class=\\\"menu__popover__item\\\"\\n      data-test-reassign-mode-toggle-wrapper\\n      as |t|\\n    >\\n      <t.opener>\\n        <div class=\\\"flex flex-row justify-between\\\">\\n          <Text @styling='muted'>\\n            Reassign replies\\n          </Text>\\n          <IcOnOffToggle\\n            @isOn={{admin.reassign_conversations}}\\n            @onClick={{action \\\"toggleReassignMode\\\"}}\\n            data-test-toggle-reassign-mode\\n            class=\\\"away-mode__toggle\\\"\\n          />\\n        </div>\\n      </t.opener>\\n      <t.content>\\n        {{this.awayModeTooltip}}\\n      </t.content>\\n    </IcTooltip>\\n  </div>\\n{{/if}}\\n\\n<hr class=\\\"menu__popover__hr\\\" />\\n\",\"moduleName\":\"embercom/components/settings/nav-settings-away-mode-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/nav-settings-away-mode-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { Promise as EmberPromise } from 'rsvp';\nimport $ from 'jquery';\nimport { computed } from '@ember/object';\nimport { not, and } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { equalToProperty, ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport displayAdminAs from 'embercom/lib/inbox/display-admin-as';\nimport { task } from 'ember-concurrency';\nimport ENV from 'embercom/config/environment';\nimport { captureException } from 'embercom/lib/sentry';\n\nconst REASSIGN_HEIGHT = 34;\n\nexport default Component.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  app: null,\n  admin: null,\n  modelDataCacheService: service(),\n  logService: service(),\n  adminIsDefaultAssignee: equalToProperty('admin.id', 'app.defaultAssignee.id'),\n  adminIsNotDefaultAssignee: not('adminIsDefaultAssignee'),\n  willBeReassignedToDefaultAssignee: and('app.hasDefaultAssignee', 'adminIsNotDefaultAssignee'),\n  initialReassignHeight: ternary('admin.away_mode_enabled', REASSIGN_HEIGHT, 0),\n\n  awayModeTooltip: computed(\n    'admin',\n    'app.{defaultAssignee,canAssignToTeamAndTeammate}',\n    'willBeReassignedToDefaultAssignee',\n    function() {\n      if (this.app.canAssignToTeamAndTeammate) {\n        if (this.willBeReassignedToDefaultAssignee) {\n          if (this.get('app.defaultAssignee.isTeam')) {\n            let name = this.get('app.defaultAssignee.name');\n            return `Unassign yourself when someone replies to a conversation assigned to you. Conversations will be reassigned to the default assignee (${name}) unless already assigned to a team.`;\n          } else {\n            let name = displayAdminAs(this.admin, this.get('app.defaultAssignee'));\n            return `Reassign to default assignee (${name}) when someone replies to a conversation assigned to you. Any team assignment will remain.`;\n          }\n        } else {\n          return 'Unassign yourself when someone replies to a conversation assigned to you. Any team assignment will remain.';\n        }\n      } else if (this.willBeReassignedToDefaultAssignee) {\n        let name = displayAdminAs(this.admin, this.get('app.defaultAssignee'));\n        return `Reassign replies to conversations in your inbox to the ${name} inbox.`;\n      } else {\n        return `Reassign replies to conversations in your inbox to the Unassigned inbox.`;\n      }\n    },\n  ),\n  loggedAdminAndApp: computed('admin', 'app', function() {\n    return `for admin ${this.get('admin.id')} and app ${this.get('app.id')}`;\n  }),\n\n  getReassignElement() {\n    return $('.js__reassign-replies', this.element);\n  },\n\n  stopAnimation() {\n    this.getReassignElement().velocity('stop');\n  },\n\n  _expandReassign() {\n    return new EmberPromise((resolve, reject) => {\n      this.getReassignElement().velocity(\n        {\n          height: REASSIGN_HEIGHT,\n        },\n        {\n          complete: resolve,\n        },\n      );\n    });\n  },\n\n  _collapseReassign() {\n    return new EmberPromise((resolve, reject) => {\n      this.getReassignElement().velocity(\n        {\n          height: 0,\n        },\n        {\n          complete: resolve,\n        },\n      );\n    });\n  },\n\n  expand: task(function*() {\n    try {\n      yield this._expandReassign();\n    } finally {\n      this.stopAnimation();\n    }\n  }),\n\n  collapse: task(function*() {\n    try {\n      yield this._collapseReassign();\n    } finally {\n      this.stopAnimation();\n    }\n  }),\n\n  cancelAllAnimations() {\n    this.expand.cancelAll();\n    this.collapse.cancelAll();\n  },\n\n  _updateModelDataCache() {\n    let modelDataCacheService = this.modelDataCacheService;\n    this.app.updateLocalCache(modelDataCacheService);\n    this.admin.updateLocalCache(modelDataCacheService);\n  },\n\n  _logAdminModeUpdateFailure(mode, expectedValue, errorResp) {\n    let { errorThrown, textStatus } = errorResp;\n    let remoteErrorMessage = errorResp.responseJSON\n      ? `Error: ${errorResp.responseJSON.errors}`\n      : '';\n    let errorMessage = `Failed to update ${mode} mode to ${expectedValue} (${errorResp.status}, ${errorResp.statusText}, \"${remoteErrorMessage}\")`;\n\n    this.logService.log(errorMessage);\n    if (ENV.environment !== 'test') {\n      captureException(new Error(errorMessage), {\n        fingerprint: ['nav-settings-away-mode-component', `toggle-${mode}-mode`],\n        extra: {\n          errorThrown,\n          textStatus,\n          mode,\n          expectedValue,\n          remoteErrorMessage,\n        },\n      });\n    }\n  },\n  actions: {\n    toggleAwayMode() {\n      this.cancelAllAnimations();\n\n      let logger = this.logService;\n      let admin = this.admin;\n      let loggedAdminAndApp = this.loggedAdminAndApp;\n      let initialValues = admin.getProperties(['away_mode_enabled', 'reassign_conversations']);\n\n      let awayModeEnabled = admin.toggleProperty('away_mode_enabled');\n      logger.log(\n        `Begin updating away mode ${loggedAdminAndApp} to ${admin.get('away_mode_enabled')}`,\n      );\n      if (!awayModeEnabled) {\n        admin.set('reassign_conversations', false);\n      }\n      if (this.get('app.currentAdminHasInboxAccess')) {\n        this.get(awayModeEnabled ? 'expand' : 'collapse').perform();\n      }\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: awayModeEnabled ? 'enabled' : 'disabled',\n        object: 'away_mode',\n        context: 'from_profile',\n      });\n\n      admin\n        .saveOutOfOfficeSettings()\n        .then(() => {\n          logger.log(\n            `Successfully updated away mode ${loggedAdminAndApp} to ${admin.get(\n              'away_mode_enabled',\n            )}. Reassign mode of admin is set to ${admin.get('reassign_conversations')}`,\n          );\n        })\n        .catch(errorResp => {\n          logger.log(\n            `Exception in toggling away mode  ${loggedAdminAndApp} ${errorResp.status} ${errorResp.statusText}`,\n          );\n          let awayModeStatus = this.get('admin.away_mode_enabled');\n          this.notificationsService.notifyError(\n            `There was a problem turning ${awayModeStatus ? 'on' : 'off'} Away mode`,\n          );\n          admin.setProperties(initialValues);\n          this._logAdminModeUpdateFailure('away', awayModeStatus, errorResp);\n        })\n        .finally(() => {\n          this._updateModelDataCache();\n        });\n    },\n\n    toggleReassignMode() {\n      let logger = this.logService;\n      let admin = this.admin;\n      let loggedAdminAndApp = this.loggedAdminAndApp;\n\n      let reassignEnabled = admin.toggleProperty('reassign_conversations');\n      logger.log(\n        `Begin updating reassign mode ${loggedAdminAndApp} to ${admin.get(\n          'reassign_conversations',\n        )}`,\n      );\n      if (reassignEnabled) {\n        admin.set('away_mode_enabled', true);\n      }\n      this.intercomEventService.trackAnalyticsEvent({\n        action: reassignEnabled ? 'enabled' : 'disabled',\n        object: 'reassign_conversation_setting',\n        context: 'from_profile',\n      });\n\n      admin\n        .saveOutOfOfficeSettings()\n        .then(() => {\n          logger.log(\n            `Successfully updated reassign mode ${loggedAdminAndApp} to ${admin.get(\n              'reassign_conversations',\n            )}. Away mode of admin is set to ${admin.get('away_mode_enabled')}`,\n          );\n        })\n        .catch(errorResp => {\n          logger.log(\n            `Exception in toggling reassign mode ${loggedAdminAndApp} ${errorResp.status} ${errorResp.statusText}`,\n          );\n          let status = this.get('admin.reassign_conversations');\n          this.notificationsService.notifyError(\n            `There was a problem turning ${status ? 'on' : 'off'} conversation reassignment`,\n          );\n          admin.toggleProperty('reassign_conversations');\n          this._logAdminModeUpdateFailure('reassign', status, errorResp);\n        })\n        .finally(() => {\n          this._updateModelDataCache();\n        });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"t__label\\\">\\n  Filter by\\n</span>\\n<span class=\\\"layout__box o__has-column u__ml__10\\\">\\n  <span class=\\\"settings__attributes-events__search__icon\\\">\\n    {{ic-interface-icon \\\"search\\\"}}\\n  </span>\\n  <OneWayInput\\n    @value={{filterSearchTerm}}\\n    @update={{action (mut filterSearchTerm)}}\\n    placeholder=\\\"Field name…\\\"\\n    class=\\\"f__text settings__attributes-events__search__field\\\"\\n    data-test-search-input={{true}}\\n  />\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"t__label\\\">\\n  Filter by\\n</span>\\n<span class=\\\"layout__box o__has-column u__ml__10\\\">\\n  <span class=\\\"settings__attributes-events__search__icon\\\">\\n    {{ic-interface-icon \\\"search\\\"}}\\n  </span>\\n  <OneWayInput\\n    @value={{filterSearchTerm}}\\n    @update={{action (mut filterSearchTerm)}}\\n    placeholder=\\\"Field name…\\\"\\n    class=\\\"f__text settings__attributes-events__search__field\\\"\\n    data-test-search-input={{true}}\\n  />\\n</span>\\n\",\"moduleName\":\"embercom/components/settings/people-attributes/search-input.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/people-attributes/search-input.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  classNames: ['layout__box', 'o__has-columns', 'o__centers-vertically', 'u__mb__10'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"layout__box o__centers-vertically t__btn-label settings__qualification__row-content settings__qualification__row-name\\\"\\n  data-test-qualification-attribute-name\\n>\\n  <span class=\\\"u__one-truncated-line settings__qualification__attribute-name\\\">\\n    {{attribute.name}}\\n  </span>\\n</div>\\n<div\\n  class=\\\"layout__box o__centers-vertically o__flexes-to-1 t__light-text settings__qualification__row-content settings__qualification__row-description\\\"\\n  data-test-qualification-attribute-description\\n>\\n  <IcTooltip @content={{attribute.description}} @isDelayed={{true}} as |t|>\\n    <t.opener class=\\\"u__one-truncated-line\\\">{{attribute.description}}</t.opener>\\n    <t.content>{{attribute.description}}</t.content>\\n  </IcTooltip>\\n</div>\\n{{#if attribute.isCustomData}}\\n  <IcButton\\n    @type=\\\"secondary\\\"\\n    @icon=\\\"edit\\\"\\n    @subtle={{true}}\\n    @onClick={{action \\\"openDetailsModal\\\" attribute}}\\n    {{tooltip content=\\\"Edit\\\"}}\\n  />\\n{{/if}}\\n<IcButton\\n  data-test-qualification-attribute-delete-button\\n  @type=\\\"secondary-destructive\\\"\\n  @icon=\\\"small-close\\\"\\n  @subtle={{true}}\\n  @onClick={{action \\\"removeQualificationAttribute\\\" attribute}}\\n  {{tooltip content=\\\"Remove\\\"}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"layout__box o__centers-vertically t__btn-label settings__qualification__row-content settings__qualification__row-name\\\"\\n  data-test-qualification-attribute-name\\n>\\n  <span class=\\\"u__one-truncated-line settings__qualification__attribute-name\\\">\\n    {{attribute.name}}\\n  </span>\\n</div>\\n<div\\n  class=\\\"layout__box o__centers-vertically o__flexes-to-1 t__light-text settings__qualification__row-content settings__qualification__row-description\\\"\\n  data-test-qualification-attribute-description\\n>\\n  <IcTooltip @content={{attribute.description}} @isDelayed={{true}} as |t|>\\n    <t.opener class=\\\"u__one-truncated-line\\\">{{attribute.description}}</t.opener>\\n    <t.content>{{attribute.description}}</t.content>\\n  </IcTooltip>\\n</div>\\n{{#if attribute.isCustomData}}\\n  <IcButton\\n    @type=\\\"secondary\\\"\\n    @icon=\\\"edit\\\"\\n    @subtle={{true}}\\n    @onClick={{action \\\"openDetailsModal\\\" attribute}}\\n    {{tooltip content=\\\"Edit\\\"}}\\n  />\\n{{/if}}\\n<IcButton\\n  data-test-qualification-attribute-delete-button\\n  @type=\\\"secondary-destructive\\\"\\n  @icon=\\\"small-close\\\"\\n  @subtle={{true}}\\n  @onClick={{action \\\"removeQualificationAttribute\\\" attribute}}\\n  {{tooltip content=\\\"Remove\\\"}}\\n/>\\n\",\"moduleName\":\"embercom/components/settings/qualification/attribute-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/qualification/attribute-row.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nexport default Component.extend({\n  classNames: [\n    'layout__box',\n    'o__has-columns',\n    'settings__qualification__row',\n    'u__padt__10',\n    'u__padb__10',\n  ],\n  'data-test-qualification-attribute-row': true,\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n\n  actions: {\n    openDetailsModal(attribute) {\n      this.modalService.openModal('apps/app/settings/modals/attribute-details', {\n        attribute,\n        allowArchival: false,\n      });\n    },\n    removeQualificationAttribute() {\n      this.removeQualificationAttribute();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasQualificationAttributes}}\\n  <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <p>\\n        Choose the data you’d like to use to qualify potential customers.\\n        This data will appear in customer profiles in the inbox, and you can also collect it using Operator.<br />\\n        <a href={{href-to \\\"apps.app.operator.task-bots\\\" (query-params panel=\\\"qualify-leads\\\")}}\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n        >\\n          See the Operator qualification Task Bot\\n        </a>\\n      </p>\\n      <div class=\\\"h-5\\\"></div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-columns\\\">\\n      <div class=\\\"layout__box o__flexes-to-1 o__has-columns\\\">\\n        <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n          {{#each qualificationAttributes as |qualificationAttribute|}}\\n            <Settings::Qualification::AttributeRow\\n              @attribute={{qualificationAttribute.dataAttribute}}\\n              @removeQualificationAttribute={{action\\n                \\\"removeQualificationAttribute\\\"\\n                qualificationAttribute\\n              }}\\n            />\\n          {{/each}}\\n          <span\\n            class=\\\"settings__qualification__attribute-tooltip\\\"\\n            {{tooltip content=\\\"You can only show up to 30 attributes in a customer's qualification profile\\\" isDisabled=dropdownIsEnabled}}\\n          >\\n            <Common::AttributeSelect\\n              @label=\\\"Add data\\\"\\n              @searchPlaceholder=\\\"Search a lead attribute\\\"\\n              @attributeGroupList={{attributeGroupList}}\\n              @disabledAttributeIdentifiers={{qualificationAttributeIdentifiers}}\\n              @onSelectAttribute={{action \\\"addQualificationAttribute\\\"}}\\n              @buttonIsSubtle={{true}}\\n              @isDisabled={{dropdownIsDisabled}}\\n              @footerActions={{hash\\n                text=\\\"Create new data\\\"\\n                icon=\\\"new\\\"\\n                action=(action \\\"showNewAttributeModal\\\")\\n              }}\\n            >\\n              <span class=\\\"settings__qualification__add\\\">\\n                <IcButton\\n                  @label=\\\"Add data\\\"\\n                  @disabled={{dropdownIsDisabled}}\\n                  @type=\\\"primary\\\"\\n                />\\n              </span>\\n            </Common::AttributeSelect>\\n          </span>\\n          <span class=\\\"t__light-text\\\">\\n            Changing these settings will change the qualification data visible in every user and lead profile.\\n          </span>\\n        </div>\\n        <div class=\\\"layout__box settings__qualification__preview\\\">\\n          <img\\n            src=\\\"/assets/svgs/settings/qualification-preview.svg\\\"\\n            alt=\\\"Qualification profile preview\\\"\\n            width=\\\"208\\\"\\n          />\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n{{else}}\\n  <div class=\\\"u__pad__40 layout__box o__flexes-to-1 o__centers-all\\\">\\n    <div class=\\\"u__centered-text-block\\\">\\n      <div>\\n        <IcIllustrativeIcon @name=\\\"people\\\" @appearance=\\\"empty\\\" />\\n      </div>\\n      <h2\\n        data-test-settings-qualification-empty-state-title\\n        class=\\\"t__h2 settings__qualification__empty-title\\\"\\n      >\\n        Start qualifying new customers\\n      </h2>\\n      <div\\n        data-test-settings-qualification-empty-state-prompt\\n        class=\\\"settings__qualification__empty-description\\\"\\n      >\\n        Choose data you are already tracking, or add new data.\\n      </div>\\n      <div class=\\\"settings__qualification__empty-button\\\">\\n        <Common::AttributeSelect\\n          @label=\\\"Add data\\\"\\n          @searchPlaceholder=\\\"Search a lead attribute\\\"\\n          @attributeGroupList={{attributeGroupList}}\\n          @onSelectAttribute={{action \\\"addQualificationAttribute\\\"}}\\n          @footerActions={{hash\\n            text=\\\"Create new data\\\"\\n            icon=\\\"new\\\"\\n            action=(action \\\"showNewAttributeModal\\\")\\n          }}\\n        >\\n          <IcButton @label=\\\"Add data\\\" @type=\\\"primary\\\" />\\n        </Common::AttributeSelect>\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasQualificationAttributes}}\\n  <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      <p>\\n        Choose the data you’d like to use to qualify potential customers.\\n        This data will appear in customer profiles in the inbox, and you can also collect it using Operator.<br />\\n        <a href={{href-to \\\"apps.app.operator.task-bots\\\" (query-params panel=\\\"qualify-leads\\\")}}\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n        >\\n          See the Operator qualification Task Bot\\n        </a>\\n      </p>\\n      <div class=\\\"h-5\\\"></div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-columns\\\">\\n      <div class=\\\"layout__box o__flexes-to-1 o__has-columns\\\">\\n        <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n          {{#each qualificationAttributes as |qualificationAttribute|}}\\n            <Settings::Qualification::AttributeRow\\n              @attribute={{qualificationAttribute.dataAttribute}}\\n              @removeQualificationAttribute={{action\\n                \\\"removeQualificationAttribute\\\"\\n                qualificationAttribute\\n              }}\\n            />\\n          {{/each}}\\n          <span\\n            class=\\\"settings__qualification__attribute-tooltip\\\"\\n            {{tooltip content=\\\"You can only show up to 30 attributes in a customer's qualification profile\\\" isDisabled=dropdownIsEnabled}}\\n          >\\n            <Common::AttributeSelect\\n              @label=\\\"Add data\\\"\\n              @searchPlaceholder=\\\"Search a lead attribute\\\"\\n              @attributeGroupList={{attributeGroupList}}\\n              @disabledAttributeIdentifiers={{qualificationAttributeIdentifiers}}\\n              @onSelectAttribute={{action \\\"addQualificationAttribute\\\"}}\\n              @buttonIsSubtle={{true}}\\n              @isDisabled={{dropdownIsDisabled}}\\n              @footerActions={{hash\\n                text=\\\"Create new data\\\"\\n                icon=\\\"new\\\"\\n                action=(action \\\"showNewAttributeModal\\\")\\n              }}\\n            >\\n              <span class=\\\"settings__qualification__add\\\">\\n                <IcButton\\n                  @label=\\\"Add data\\\"\\n                  @disabled={{dropdownIsDisabled}}\\n                  @type=\\\"primary\\\"\\n                />\\n              </span>\\n            </Common::AttributeSelect>\\n          </span>\\n          <span class=\\\"t__light-text\\\">\\n            Changing these settings will change the qualification data visible in every user and lead profile.\\n          </span>\\n        </div>\\n        <div class=\\\"layout__box settings__qualification__preview\\\">\\n          <img\\n            src=\\\"/assets/svgs/settings/qualification-preview.svg\\\"\\n            alt=\\\"Qualification profile preview\\\"\\n            width=\\\"208\\\"\\n          />\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n{{else}}\\n  <div class=\\\"u__pad__40 layout__box o__flexes-to-1 o__centers-all\\\">\\n    <div class=\\\"u__centered-text-block\\\">\\n      <div>\\n        <IcIllustrativeIcon @name=\\\"people\\\" @appearance=\\\"empty\\\" />\\n      </div>\\n      <h2\\n        data-test-settings-qualification-empty-state-title\\n        class=\\\"t__h2 settings__qualification__empty-title\\\"\\n      >\\n        Start qualifying new customers\\n      </h2>\\n      <div\\n        data-test-settings-qualification-empty-state-prompt\\n        class=\\\"settings__qualification__empty-description\\\"\\n      >\\n        Choose data you are already tracking, or add new data.\\n      </div>\\n      <div class=\\\"settings__qualification__empty-button\\\">\\n        <Common::AttributeSelect\\n          @label=\\\"Add data\\\"\\n          @searchPlaceholder=\\\"Search a lead attribute\\\"\\n          @attributeGroupList={{attributeGroupList}}\\n          @onSelectAttribute={{action \\\"addQualificationAttribute\\\"}}\\n          @footerActions={{hash\\n            text=\\\"Create new data\\\"\\n            icon=\\\"new\\\"\\n            action=(action \\\"showNewAttributeModal\\\")\\n          }}\\n        >\\n          <IcButton @label=\\\"Add data\\\" @type=\\\"primary\\\" />\\n        </Common::AttributeSelect>\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/settings/qualification/attribute-table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/qualification/attribute-table.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly, gte, not, notEmpty, filterBy, union } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nconst ALLOWED_ATTRIBUTE_IDENTIFIERS = [\n  'name',\n  'email',\n  'phone',\n  'company.name',\n  'company.size',\n  'company.website',\n  'company.industry',\n];\nconst ATTRIBUTE_LIMIT = 30;\n\nexport default Component.extend({\n  notificationsService: service(),\n  classNames: ['settings__qualification__table'],\n  attributeService: service(),\n  appService: service(),\n  confirmService: service(),\n  app: readOnly('appService.app'),\n  store: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  dropdownIsDisabled: gte('qualificationAttributes.length', ATTRIBUTE_LIMIT),\n  dropdownIsEnabled: not('dropdownIsDisabled'),\n  hasQualificationAttributes: notEmpty('qualificationAttributes'),\n  allowedStandardAttributes: computed('attributeService.nonArchivedAttributes.[]', function() {\n    return ALLOWED_ATTRIBUTE_IDENTIFIERS.map(identifier => {\n      return this.get('attributeService.nonArchivedAttributes').findBy('identifier', identifier);\n    });\n  }),\n  customAttributes: filterBy('attributeService.nonArchivedAttributes', 'isCustomData', true),\n  attributes: union('allowedStandardAttributes', 'customAttributes'),\n  qualificationAttributeIdentifiers: computed('qualificationAttributes.[]', function() {\n    return new Set(this.qualificationAttributes.map(attribute => attribute.get('identifier')));\n  }),\n  userAttributesForDropdown: filterBy('attributes', 'canBeUsedForQualification', true),\n  companyAttributesForDropdown: filterBy('attributes', 'isUser', false),\n  attributeGroupList: computed(\n    'userAttributesForDropdown.[]',\n    'companyAttributesForDropdown.[]',\n    function() {\n      return [\n        {\n          heading: 'User data',\n          attributes: this.userAttributesForDropdown,\n        },\n        {\n          heading: 'Company data',\n          attributes: this.companyAttributesForDropdown,\n        },\n      ];\n    },\n  ),\n  addQualificationAttributeTask: task(function*(identifier) {\n    let qualificationAttribute = this.store.createRecord('people/qualification-attribute', {\n      identifier,\n    });\n    try {\n      yield qualificationAttribute.save();\n      this.app.qualification_attributes.pushObject(qualificationAttribute);\n    } catch (e) {\n      this.notificationsService.notifyResponseError(e, {\n        default: `Something went wrong and we couldn't add this qualification attribute.`,\n      });\n    }\n  }),\n  removeQualificationAttributeTask: task(function*(qualificationAttribute) {\n    try {\n      let name = qualificationAttribute.get('name');\n      yield qualificationAttribute.destroyRecord();\n      this.notificationsService.notifyConfirmation(\n        `You removed ${name} from your qualification settings. This doesn\\'t delete the data from Intercom.`,\n      );\n    } catch (e) {\n      if (e.jqXHR.responseJSON.errors[0].message === 'Attribute is in use') {\n        let name = qualificationAttribute.get('name');\n        this._confirmRemove(name).then(() => {\n          this.removeQualificationAttributeAndDependants.perform(qualificationAttribute);\n        });\n      } else {\n        this.notificationsService.notifyResponseError(e, {\n          default: `An error occured while removing the data, please try again`,\n        });\n      }\n    }\n  }),\n  removeQualificationAttributeAndDependants: task(function*(qualificationAttribute) {\n    try {\n      let name = qualificationAttribute.get('name');\n      let operatorSettings = yield this.store.findRecord(\n        'operator-settings/task-bots',\n        this.get('app.id'),\n      );\n      operatorSettings.removeQualificationAttribute(qualificationAttribute.get('identifier'));\n      yield operatorSettings.save();\n      yield qualificationAttribute.destroyRecord();\n      this.notificationsService.notifyConfirmation(\n        `You removed ${name}, which removes it from customer profiles and Operator's qualification Task Bot. This doesn't delete the data from Intercom.`,\n      );\n    } catch (e) {\n      this.notificationsService.notifyResponseError(e, {\n        default: `An error occured while removing the data, please try again`,\n      });\n    }\n  }),\n  _confirmRemove(attributeName) {\n    let options = {\n      title: 'This data will also be removed from Operator',\n      confirmButtonText: 'Remove',\n      cancleButtonText: 'Cancel',\n      body: `Operator will stop asking for ${attributeName}, and you won’t be able to update it on customer profiles.`,\n      primaryButtonType: 'primary-destructive',\n      center: true,\n    };\n    return this.confirmService.show(this, options);\n  },\n  actions: {\n    addQualificationAttribute(attribute) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('setIsSaving', true);\n      this.addQualificationAttributeTask.perform(attribute.get('identifier')).finally(() => {\n        // eslint-disable-next-line ember/closure-actions\n        this.sendAction('setIsSaving', false);\n      });\n    },\n    removeQualificationAttribute(attribute) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('setIsSaving', true);\n      this.removeQualificationAttributeTask.perform(attribute).finally(() => {\n        // eslint-disable-next-line ember/closure-actions\n        this.sendAction('setIsSaving', false);\n      });\n    },\n    showNewAttributeModal() {\n      this.modalService.openModal('apps/app/settings/modals/attribute-details', {\n        allowArchival: false,\n        dataContext: 'qualification',\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Paywall @featureKey=\\\"role_based_permissions\\\" as |paywall|>\\n  <paywall.Banner @content=\\\"Upgrade to create new roles\\\" />\\n</Paywall>\\n\\n<Settings::StandardHeader @titleToken=\\\"Roles\\\"}}>\\n  <Paywall @featureKey=\\\"team-people-role-based-permissions\\\" as |paywall|>\\n    <paywall.Hover>\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @label=\\\"New role\\\"\\n        @onClick={{transition-to \\\"apps.app.settings.roles.new\\\"}}\\n        @isDisabled={{paywall.isActive}}\\n        data-test-new-role-button\\n      />\\n    </paywall.Hover>\\n  </Paywall>\\n</Settings::StandardHeader>\\n\\n<IcTabControl\\n  class=\\\"pl-8\\\"\\n  @onSelectionChange={{perform this.transitionToTeamsIfPermitted}}\\n  @selectedTab=\\\"roles\\\" as |control|\\n>\\n  <control.tab @label=\\\"Teams\\\" @value=\\\"teams\\\" />\\n  <control.tab @label=\\\"Roles\\\" @value=\\\"roles\\\" />\\n</IcTabControl>\\n\\n<div class=\\\"flex flex-col flex-1 p-8 gap-8 overflow-y-scroll\\\">\\n  <Pulse::DiscoveryBanner\\n    @heading=\\\"Roles\\\"\\n    @description=\\\"Roles help set up permissions in a consistent way, which helps keep your workspace secure and compliant.\\\"\\n    data-test-discovery-banner-roles\\n    as |banner|\\n  >\\n    <banner.HelpLink\\n      @type=\\\"article\\\"\\n      @title=\\\"Learn more about roles\\\"\\n      @href=\\\"https://www.intercom.com/help/en/articles/3659500-manage-permissions-effortlessly-with-custom-roles\\\"\\n    />\\n  </Pulse::DiscoveryBanner>\\n\\n  {{#if (is-present @roles)}}\\n    <div class=\\\"flex flex-row flex-wrap gap-6\\\">\\n      {{#each @roles as |role|}}\\n        <Settings::Teammates::Roles::RoleCard @role={{role}} />\\n      {{/each}}\\n    </div>\\n  {{else}}\\n    <div class=\\\"flex flex-col justify-center flex-1\\\">\\n      <IcEmptyState\\n        @title=\\\"You have not created any roles yet\\\"\\n        @icon=\\\"token\\\"\\n        @description=\\\"Create your first role to get started\\\"\\n        @buttonLabel=\\\"New role\\\"\\n        @onButtonClick={{transition-to \\\"apps.app.settings.roles.new\\\"}}\\n      />\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<Paywall @featureKey=\\\"role_based_permissions\\\" as |paywall|>\\n  <paywall.Banner @content=\\\"Upgrade to create new roles\\\" />\\n</Paywall>\\n\\n<Settings::StandardHeader @titleToken=\\\"Roles\\\"}}>\\n  <Paywall @featureKey=\\\"team-people-role-based-permissions\\\" as |paywall|>\\n    <paywall.Hover>\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @label=\\\"New role\\\"\\n        @onClick={{transition-to \\\"apps.app.settings.roles.new\\\"}}\\n        @isDisabled={{paywall.isActive}}\\n        data-test-new-role-button\\n      />\\n    </paywall.Hover>\\n  </Paywall>\\n</Settings::StandardHeader>\\n\\n<IcTabControl\\n  class=\\\"pl-8\\\"\\n  @onSelectionChange={{perform this.transitionToTeamsIfPermitted}}\\n  @selectedTab=\\\"roles\\\" as |control|\\n>\\n  <control.tab @label=\\\"Teams\\\" @value=\\\"teams\\\" />\\n  <control.tab @label=\\\"Roles\\\" @value=\\\"roles\\\" />\\n</IcTabControl>\\n\\n<div class=\\\"flex flex-col flex-1 p-8 gap-8 overflow-y-scroll\\\">\\n  <Pulse::DiscoveryBanner\\n    @heading=\\\"Roles\\\"\\n    @description=\\\"Roles help set up permissions in a consistent way, which helps keep your workspace secure and compliant.\\\"\\n    data-test-discovery-banner-roles\\n    as |banner|\\n  >\\n    <banner.HelpLink\\n      @type=\\\"article\\\"\\n      @title=\\\"Learn more about roles\\\"\\n      @href=\\\"https://www.intercom.com/help/en/articles/3659500-manage-permissions-effortlessly-with-custom-roles\\\"\\n    />\\n  </Pulse::DiscoveryBanner>\\n\\n  {{#if (is-present @roles)}}\\n    <div class=\\\"flex flex-row flex-wrap gap-6\\\">\\n      {{#each @roles as |role|}}\\n        <Settings::Teammates::Roles::RoleCard @role={{role}} />\\n      {{/each}}\\n    </div>\\n  {{else}}\\n    <div class=\\\"flex flex-col justify-center flex-1\\\">\\n      <IcEmptyState\\n        @title=\\\"You have not created any roles yet\\\"\\n        @icon=\\\"token\\\"\\n        @description=\\\"Create your first role to get started\\\"\\n        @buttonLabel=\\\"New role\\\"\\n        @onButtonClick={{transition-to \\\"apps.app.settings.roles.new\\\"}}\\n      />\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/roles.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/roles.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport { inject as service } from '@ember/service';\n\nexport default class Roles extends Component {\n  @service router;\n  @service permissionsService;\n\n  @task\n  *transitionToTeamsIfPermitted() {\n    try {\n      yield this.permissionsService.checkPermission('can_access_product_settings');\n      this.router.transitionTo('apps.app.settings.teams');\n      //eslint-disable-next-line no-empty\n    } catch (err) {}\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col flex-8 mt-8 settings__saved-replies__composer\\\">\\n  <div class=\\\"flex flex-col\\\">\\n    <IcContent>\\n      <div class=\\\"flex flex-row justify-between pl-8 pr-4 mb-2\\\">\\n        <div class=\\\"flex flex-row items-center flex-2\\\">\\n          <Heading @size=\\\"1\\\"\\n            {{did-update this.setReplyName @selectedReply}}\\n            class=\\\"settings__saved-replies__composer-header\\\"\\n          >\\n            {{#if @isEditing}}\\n              <Common::TextareaTitle\\n                @value={{this.updatedReplyName}}\\n                @autofocus={{true}}\\n                class=\\\"\\n                  heading\\n                  o__size-1\\n                  p-0\\n                  pr-1\\n                  settings__saved-replies__reply__name-input\\n                \\\"\\n                maxlength=\\\"140\\\"\\n                placeholder=\\\"Untitled saved reply\\\"\\n                data-saved-replies-name-input\\n                {{on \\\"input\\\" this.replyNameChanged}}\\n              />\\n            {{else}}\\n              <span class=\\\"settings__saved-replies__reply__name\\\">\\n                {{@selectedReply.name}}\\n              </span>\\n            {{/if}}\\n          </Heading>\\n        </div>\\n\\n        <div class=\\\"flex flex-col justify-start flex-1 gap-2\\\">\\n          <IcButtonList\\n            @align=\\\"right\\\"\\n            @processing={{@saveReply.isRunning}} as |list|\\n          >\\n            {{#unless @selectedReply.isNew}}\\n              <IcConfirmModal\\n                @title=\\\"Delete saved reply\\\"\\n                @onModalClose={{set this.showDeleteConfirm false}}\\n                @type=\\\"destructive\\\"\\n                @confirmLabel=\\\"Delete\\\"\\n                @confirmAction={{queue (fn @deleteReply @selectedReply this.savedReplyReadOnlyComposer) (set this.showDeleteConfirm false)}}\\n                @isOpen={{this.showDeleteConfirm}}\\n              >\\n                <p>Are you sure you want to delete this saved reply?</p>\\n              </IcConfirmModal>\\n\\n              <list.button\\n                @label=\\\"Delete\\\"\\n                @type=\\\"secondary-destructive\\\"\\n                @onClick={{set this.showDeleteConfirm true}}\\n                data-test-settings-saved-replies-delete-button={{true}}\\n              />\\n            {{/unless}}\\n            {{#if @isEditing}}\\n              <list.button\\n                @label=\\\"Cancel\\\"\\n                @type=\\\"secondary\\\"\\n                {{on \\\"click\\\" @cancelEdit}}\\n                data-test-settings-saved-replies-cancel-button={{true}}\\n              />\\n              <list.button\\n                @label=\\\"Save\\\"\\n                @type=\\\"primary\\\"\\n                @processingLabel=\\\"Saving...\\\"\\n                @onClick={{fn @saveSelectedReply @selectedReply this.updatedReplyName this.savedReplyComposer}}\\n                @isDisabled={{this.isUploading}}\\n                data-test-settings-saved-replies-save-button={{true}}\\n              />\\n            {{else}}\\n              <list.button\\n                @label=\\\"Edit\\\"\\n                @type=\\\"primary\\\"\\n                @onClick={{fn @updateEditState true}}\\n                data-test-settings-saved-replies-edit-button={{true}}\\n              />\\n            {{/if}}\\n          </IcButtonList>\\n        </div>\\n      </div>\\n\\n      {{#unless @selectedReply.isNew }}\\n        <Paragraph @styling=\\\"muted\\\" class=\\\"pl-8 pr-8 mb-0\\\" data-test-settings-saved-replies-created-text>\\n          Created by\\n          <IcAvatarComponent\\n            @model={{this.replyAuthor}}\\n            @size=\\\"xs\\\"\\n            class=\\\"mt-1\\\"\\n          />\\n          {{this.replyAuthor.name}} {{lowercase (full-relative-time-ago-helper @selectedReply.created_at)}}\\n        </Paragraph>\\n      {{/unless}}\\n\\n      <div\\n        {{did-insert this.setComposerContents @selectedReply}}\\n        {{did-update this.setComposerContents @selectedReply}}\\n        class=\\\"conversation__text settings__saved-replies__editor {{if @isEditing \\\"f__text\\\"}}\\\">\\n        {{#if @isEditing}}\\n          <div class=\\\"settings__saved-replies__composer-wrapper\\\">\\n            <ComposerV2\\n              @preset=\\\"savedReply\\\"\\n              @actionReceiver={{this.savedReplyComposer}}\\n              @blocks={{this.selectedBlocks}}\\n              @app={{@app}}\\n              @attributes={{@app.allowedAttributes}}\\n              @editorClass=\\\"settings__saved-replies__composer-edit\\\"\\n              @outerContainerSelector=\\\".conversation__text settings__saved-replies__editor\\\"\\n              @viewportSelector=\\\".settings__saved-replies\\\"\\n              @onChange={{this.contentsChanged}}\\n              @startedUploading={{set this.isUploading true}}\\n              @finishedUploading={{set this.isUploading false}}\\n              class=\\\"settings__saved-replies__preview__editor\\\"\\n              data-test-saved-replies-content-composer\\n            />\\n\\n            <div class=\\\"settings__saved-replies__inserters\\\">\\n              {{#each this.editorInserters as |inserter|}}\\n                <Conversation::Controls::Inserter\\n                  @inserter={{inserter}}\\n                  @controlsAPI={{this.publicAPI}}\\n                />\\n              {{/each}}\\n            </div>\\n          </div>\\n        {{else}}\\n          <div class=\\\"settings__saved-replies__composer-wrapper\\\"\\n            {{on \\\"click\\\" (fn @updateEditState true)}}\\n          >\\n            <ComposerV2\\n              @preset=\\\"readOnly\\\"\\n              @actionReceiver={{this.savedReplyReadOnlyComposer}}\\n              @blocks={{this.selectedBlocks}}\\n              @app={{@app}}\\n              @attributes={{@app.allowedAttributes}}\\n              @editorClass=\\\"settings__saved-replies__composer-readonly\\\"\\n              @outerContainerSelector=\\\".conversation__text settings__saved-replies__preview\\\"\\n              class=\\\"settings__saved-replies__preview__readonly\\\"\\n            />\\n          </div>\\n        {{/if}}\\n      </div>\\n    </IcContent>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col flex-8 mt-8 settings__saved-replies__composer\\\">\\n  <div class=\\\"flex flex-col\\\">\\n    <IcContent>\\n      <div class=\\\"flex flex-row justify-between pl-8 pr-4 mb-2\\\">\\n        <div class=\\\"flex flex-row items-center flex-2\\\">\\n          <Heading @size=\\\"1\\\"\\n            {{did-update this.setReplyName @selectedReply}}\\n            class=\\\"settings__saved-replies__composer-header\\\"\\n          >\\n            {{#if @isEditing}}\\n              <Common::TextareaTitle\\n                @value={{this.updatedReplyName}}\\n                @autofocus={{true}}\\n                class=\\\"\\n                  heading\\n                  o__size-1\\n                  p-0\\n                  pr-1\\n                  settings__saved-replies__reply__name-input\\n                \\\"\\n                maxlength=\\\"140\\\"\\n                placeholder=\\\"Untitled saved reply\\\"\\n                data-saved-replies-name-input\\n                {{on \\\"input\\\" this.replyNameChanged}}\\n              />\\n            {{else}}\\n              <span class=\\\"settings__saved-replies__reply__name\\\">\\n                {{@selectedReply.name}}\\n              </span>\\n            {{/if}}\\n          </Heading>\\n        </div>\\n\\n        <div class=\\\"flex flex-col justify-start flex-1 gap-2\\\">\\n          <IcButtonList\\n            @align=\\\"right\\\"\\n            @processing={{@saveReply.isRunning}} as |list|\\n          >\\n            {{#unless @selectedReply.isNew}}\\n              <IcConfirmModal\\n                @title=\\\"Delete saved reply\\\"\\n                @onModalClose={{set this.showDeleteConfirm false}}\\n                @type=\\\"destructive\\\"\\n                @confirmLabel=\\\"Delete\\\"\\n                @confirmAction={{queue (fn @deleteReply @selectedReply this.savedReplyReadOnlyComposer) (set this.showDeleteConfirm false)}}\\n                @isOpen={{this.showDeleteConfirm}}\\n              >\\n                <p>Are you sure you want to delete this saved reply?</p>\\n              </IcConfirmModal>\\n\\n              <list.button\\n                @label=\\\"Delete\\\"\\n                @type=\\\"secondary-destructive\\\"\\n                @onClick={{set this.showDeleteConfirm true}}\\n                data-test-settings-saved-replies-delete-button={{true}}\\n              />\\n            {{/unless}}\\n            {{#if @isEditing}}\\n              <list.button\\n                @label=\\\"Cancel\\\"\\n                @type=\\\"secondary\\\"\\n                {{on \\\"click\\\" @cancelEdit}}\\n                data-test-settings-saved-replies-cancel-button={{true}}\\n              />\\n              <list.button\\n                @label=\\\"Save\\\"\\n                @type=\\\"primary\\\"\\n                @processingLabel=\\\"Saving...\\\"\\n                @onClick={{fn @saveSelectedReply @selectedReply this.updatedReplyName this.savedReplyComposer}}\\n                @isDisabled={{this.isUploading}}\\n                data-test-settings-saved-replies-save-button={{true}}\\n              />\\n            {{else}}\\n              <list.button\\n                @label=\\\"Edit\\\"\\n                @type=\\\"primary\\\"\\n                @onClick={{fn @updateEditState true}}\\n                data-test-settings-saved-replies-edit-button={{true}}\\n              />\\n            {{/if}}\\n          </IcButtonList>\\n        </div>\\n      </div>\\n\\n      {{#unless @selectedReply.isNew }}\\n        <Paragraph @styling=\\\"muted\\\" class=\\\"pl-8 pr-8 mb-0\\\" data-test-settings-saved-replies-created-text>\\n          Created by\\n          <IcAvatarComponent\\n            @model={{this.replyAuthor}}\\n            @size=\\\"xs\\\"\\n            class=\\\"mt-1\\\"\\n          />\\n          {{this.replyAuthor.name}} {{lowercase (full-relative-time-ago-helper @selectedReply.created_at)}}\\n        </Paragraph>\\n      {{/unless}}\\n\\n      <div\\n        {{did-insert this.setComposerContents @selectedReply}}\\n        {{did-update this.setComposerContents @selectedReply}}\\n        class=\\\"conversation__text settings__saved-replies__editor {{if @isEditing \\\"f__text\\\"}}\\\">\\n        {{#if @isEditing}}\\n          <div class=\\\"settings__saved-replies__composer-wrapper\\\">\\n            <ComposerV2\\n              @preset=\\\"savedReply\\\"\\n              @actionReceiver={{this.savedReplyComposer}}\\n              @blocks={{this.selectedBlocks}}\\n              @app={{@app}}\\n              @attributes={{@app.allowedAttributes}}\\n              @editorClass=\\\"settings__saved-replies__composer-edit\\\"\\n              @outerContainerSelector=\\\".conversation__text settings__saved-replies__editor\\\"\\n              @viewportSelector=\\\".settings__saved-replies\\\"\\n              @onChange={{this.contentsChanged}}\\n              @startedUploading={{set this.isUploading true}}\\n              @finishedUploading={{set this.isUploading false}}\\n              class=\\\"settings__saved-replies__preview__editor\\\"\\n              data-test-saved-replies-content-composer\\n            />\\n\\n            <div class=\\\"settings__saved-replies__inserters\\\">\\n              {{#each this.editorInserters as |inserter|}}\\n                <Conversation::Controls::Inserter\\n                  @inserter={{inserter}}\\n                  @controlsAPI={{this.publicAPI}}\\n                />\\n              {{/each}}\\n            </div>\\n          </div>\\n        {{else}}\\n          <div class=\\\"settings__saved-replies__composer-wrapper\\\"\\n            {{on \\\"click\\\" (fn @updateEditState true)}}\\n          >\\n            <ComposerV2\\n              @preset=\\\"readOnly\\\"\\n              @actionReceiver={{this.savedReplyReadOnlyComposer}}\\n              @blocks={{this.selectedBlocks}}\\n              @app={{@app}}\\n              @attributes={{@app.allowedAttributes}}\\n              @editorClass=\\\"settings__saved-replies__composer-readonly\\\"\\n              @outerContainerSelector=\\\".conversation__text settings__saved-replies__preview\\\"\\n              class=\\\"settings__saved-replies__preview__readonly\\\"\\n            />\\n          </div>\\n        {{/if}}\\n      </div>\\n    </IcContent>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/saved-replies/editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/saved-replies/editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { compareBlocks } from 'embercom/lib/developer-hub/diff-calculator';\n\nexport default class Editor extends Component {\n  showDeleteConfirm = false;\n\n  editorInserters = [\n    {\n      name: 'article',\n      icon: 'article',\n      descriptor: 'Add an article',\n      hasPopoverContentComponent: true,\n    },\n    {\n      name: 'emoji',\n      icon: 'lwr-happy',\n      descriptor: 'Add an emoji',\n      hasPopoverContentComponent: true,\n    },\n    {\n      name: 'gif',\n      icon: 'gif',\n      descriptor: 'Add a GIF',\n      hasPopoverContentComponent: true,\n    },\n    {\n      name: 'image',\n      icon: 'picture',\n      descriptor: 'Add an image',\n      hasPopoverContentComponent: false,\n    },\n    {\n      name: 'attachment',\n      icon: 'attachment',\n      descriptor: 'Add an attachment',\n      hasPopoverContentComponent: false,\n    },\n  ];\n\n  @tracked openInserters = [];\n  @tracked updatedReplyName = this.args.selectedReply.name;\n\n  get replyAuthor() {\n    return this.args.selectedReply.admin;\n  }\n\n  get selectedBlocks() {\n    return this.args.selectedReply.blocks;\n  }\n\n  get composer() {\n    return this.savedReplyReadOnlyComposer || this.savedReplyComposer;\n  }\n\n  get publicAPI() {\n    return {\n      app: this.args.app,\n      actions: {\n        registerOpenInserter: (...args) => this.registerOpenInserter(...args),\n        clearOpenInserter: (...args) => this.clearOpenInserter(...args),\n        paste: (...args) => this.paste(...args),\n        uploadImage: (...args) => this.uploadImage(...args),\n        uploadAttachment: (...args) => this.uploadAttachment(...args),\n        insertBlock: (...args) => this.insertBlock(...args),\n      },\n    };\n  }\n\n  get isDirty() {\n    return (\n      this.updatedReplyName !== this.args.selectedReply.name ||\n      compareBlocks(this.savedReplyComposer.getBlocks(), this.selectedBlocks).hasDifference\n    );\n  }\n\n  @action\n  setComposerContents() {\n    this.composer.send('load', this.args.selectedReply.blocks);\n  }\n\n  @action\n  setReplyName() {\n    this.updatedReplyName = this.args.selectedReply.name;\n  }\n\n  @action\n  replyNameChanged(event) {\n    this.updatedReplyName = event.target.value;\n    this.notifyDirtyState();\n  }\n\n  @action\n  contentsChanged() {\n    this.notifyDirtyState();\n  }\n\n  notifyDirtyState() {\n    if (this.args.updateDirtyState) {\n      this.args.updateDirtyState(this.isDirty);\n    }\n  }\n\n  registerOpenInserter(inserterName) {\n    this.openInserters.pushObject(inserterName);\n  }\n\n  clearOpenInserter(inserterName) {\n    if (!this.isDestroying) {\n      this.openInserters.removeObject(inserterName);\n    }\n  }\n\n  paste(text) {\n    this.savedReplyComposer.send('paste', text, 'plain');\n  }\n\n  uploadImage(files) {\n    this.savedReplyComposer.send('uploadImage', files);\n  }\n\n  uploadAttachment(files) {\n    this.savedReplyComposer.send('uploadAttachment', files);\n  }\n\n  insertBlock(type, block) {\n    this.savedReplyComposer.send('createBlock', type, block);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Settings::StandardHeader @titleToken={{@titleToken}}>\\n  <div class=\\\"flex flex-row items-center gap-4\\\">\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/en/articles/206-shorten-your-response-times-with-saved-replies\\\"\\n      @title=\\\"How saved replies work\\\"\\n      @type=\\\"article\\\"\\n      data-track-analytics-event-object=\\\"track_saved_replies_article\\\"\\n    />\\n\\n    {{#if @savedRepliesPresent}}\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @icon=\\\"new\\\"\\n        @label=\\\"New reply\\\"\\n        @onClick={{perform @createNewReplyTask}}\\n        @disabled={{@createDisabled}}\\n        data-test-settings-saved-replies-create-button={{true}}\\n        />\\n    {{/if}}\\n  </div>\\n</Settings::StandardHeader>\\n\", {\"contents\":\"<Settings::StandardHeader @titleToken={{@titleToken}}>\\n  <div class=\\\"flex flex-row items-center gap-4\\\">\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://www.intercom.com/help/en/articles/206-shorten-your-response-times-with-saved-replies\\\"\\n      @title=\\\"How saved replies work\\\"\\n      @type=\\\"article\\\"\\n      data-track-analytics-event-object=\\\"track_saved_replies_article\\\"\\n    />\\n\\n    {{#if @savedRepliesPresent}}\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @icon=\\\"new\\\"\\n        @label=\\\"New reply\\\"\\n        @onClick={{perform @createNewReplyTask}}\\n        @disabled={{@createDisabled}}\\n        data-test-settings-saved-replies-create-button={{true}}\\n        />\\n    {{/if}}\\n  </div>\\n</Settings::StandardHeader>\\n\",\"moduleName\":\"embercom/components/settings/saved-replies/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/saved-replies/header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col flex-5 mr-0 settings__saved-replies__replies\\\">\\n  <IcContent>\\n    <ul class=\\\"settings__saved-replies__list\\\">\\n      {{#each @sortedReplies as |reply|}}\\n        {{#unless reply.isNew}}\\n          <li\\n            class=\\\"\\n              pt-3\\n              pb-3\\n              pr-4\\n              pl-4\\n              u__one-truncated-line\\n              u__pointer-cursor\\n              settings__saved-replies__reply\\n              {{if (eq reply.id @currentlySelected.id) \\\"settings__saved-replies__selected\\\" \\\"\\\"}}\\n            \\\"\\n            data-test-saved-replies-list-item\\n            {{on \\\"click\\\" (fn @onItemClick reply)}}\\n          >\\n            {{reply.name}}\\n          </li>\\n        {{/unless}}\\n      {{/each}}\\n    </ul>\\n  </IcContent>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col flex-5 mr-0 settings__saved-replies__replies\\\">\\n  <IcContent>\\n    <ul class=\\\"settings__saved-replies__list\\\">\\n      {{#each @sortedReplies as |reply|}}\\n        {{#unless reply.isNew}}\\n          <li\\n            class=\\\"\\n              pt-3\\n              pb-3\\n              pr-4\\n              pl-4\\n              u__one-truncated-line\\n              u__pointer-cursor\\n              settings__saved-replies__reply\\n              {{if (eq reply.id @currentlySelected.id) \\\"settings__saved-replies__selected\\\" \\\"\\\"}}\\n            \\\"\\n            data-test-saved-replies-list-item\\n            {{on \\\"click\\\" (fn @onItemClick reply)}}\\n          >\\n            {{reply.name}}\\n          </li>\\n        {{/unless}}\\n      {{/each}}\\n    </ul>\\n  </IcContent>\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/saved-replies/list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/saved-replies/list.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col\\\" ...attributes>\\n  <span class=\\\"settings__search-component__search__icon\\\">\\n    {{ic-interface-icon \\\"search\\\"}}\\n  </span>\\n  <Form class=\\\"settings__search-component__form\\\" as |form| >\\n    <form.Item as |item|>\\n      <item.Input\\n        @value={{@value}}\\n        placeholder={{@placeholder}}\\n        class=\\\"settings__search-component__search\\\"\\n        {{on \\\"input\\\" @onChange}}\\n        data-test-search-input\\n      />\\n    </form.Item>\\n  </Form>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col\\\" ...attributes>\\n  <span class=\\\"settings__search-component__search__icon\\\">\\n    {{ic-interface-icon \\\"search\\\"}}\\n  </span>\\n  <Form class=\\\"settings__search-component__form\\\" as |form| >\\n    <form.Item as |item|>\\n      <item.Input\\n        @value={{@value}}\\n        placeholder={{@placeholder}}\\n        class=\\\"settings__search-component__search\\\"\\n        {{on \\\"input\\\" @onChange}}\\n        data-test-search-input\\n      />\\n    </form.Item>\\n  </Form>\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/search-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/search-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{@onClose}}\\n  @isOpen={{@isOpen}}\\n  @width=\\\"m\\\"\\n  as |modal|\\n>\\n  <modal.header @title={{\\\"Verify ownership of this domain\\\"}} data-test-title />\\n  <modal.body data-test-domain-verification-modal>\\n    <p>\\n      To allow this domain to authenticate using SAML SSO, you must verify ownership of it.\\n      Add the following DNS record to the {{@appSsoDomain.domain}} domain in order to do this.\\n    </p>\\n    <IcTable\\n      @data={{array\\n        (hash key=\\\"Name\\\" value=@appSsoDomain.verificationDomainName)\\n        (hash key=\\\"Type\\\" value=\\\"TXT\\\")\\n        (hash key=\\\"Value\\\" value=@appSsoDomain.verificationDomainValue)\\n      }}\\n      @columns={{array\\n        (hash valuePath=\\\"key\\\")\\n        (hash valuePath=\\\"value\\\")\\n      }}\\n      data-test-table\\n      as |table|\\n    >\\n      <table.rows as |row|>\\n        <row.cell @valuePath=\\\"key\\\">\\n          {{row.data.key}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"value\\\">\\n          {{row.data.value}}\\n        </row.cell>\\n      </table.rows>\\n    </IcTable>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=(if @isVerifying \\\"Verifying...\\\" \\\"Verify DNS record\\\")\\n      action=@onVerify\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=@onClose\\n    }}\\n  />\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{@onClose}}\\n  @isOpen={{@isOpen}}\\n  @width=\\\"m\\\"\\n  as |modal|\\n>\\n  <modal.header @title={{\\\"Verify ownership of this domain\\\"}} data-test-title />\\n  <modal.body data-test-domain-verification-modal>\\n    <p>\\n      To allow this domain to authenticate using SAML SSO, you must verify ownership of it.\\n      Add the following DNS record to the {{@appSsoDomain.domain}} domain in order to do this.\\n    </p>\\n    <IcTable\\n      @data={{array\\n        (hash key=\\\"Name\\\" value=@appSsoDomain.verificationDomainName)\\n        (hash key=\\\"Type\\\" value=\\\"TXT\\\")\\n        (hash key=\\\"Value\\\" value=@appSsoDomain.verificationDomainValue)\\n      }}\\n      @columns={{array\\n        (hash valuePath=\\\"key\\\")\\n        (hash valuePath=\\\"value\\\")\\n      }}\\n      data-test-table\\n      as |table|\\n    >\\n      <table.rows as |row|>\\n        <row.cell @valuePath=\\\"key\\\">\\n          {{row.data.key}}\\n        </row.cell>\\n        <row.cell @valuePath=\\\"value\\\">\\n          {{row.data.value}}\\n        </row.cell>\\n      </table.rows>\\n    </IcTable>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=(if @isVerifying \\\"Verifying...\\\" \\\"Verify DNS record\\\")\\n      action=@onVerify\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=@onClose\\n    }}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/settings/security/app-sso-domain-verification-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/security/app-sso-domain-verification-modal.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Form\\n  class=\\\"settings__security__form\\\"\\n  @onSubmit={{perform this.addDomain}}\\n  data-test-app-sso-domains\\n  as |form|\\n>\\n  <div class=\\\"flex flex-col gap-2\\\">\\n    <form.Item\\n      data-test-add-domain-form-item\\n      @label=\\\"Allowed domains\\\"\\n      @tooltip=\\\"Add domains which are allowed to authenticate using SAML SSO.\\\"\\n      @isInvalid={{@isInvalid}}\\n      @errorMessage={{@errorMessage}}\\n      @canShowError={{or this.canShowError @showAllErrors}}\\n      as |item|\\n    >\\n      <div class=\\\"flex flex-row\\\">\\n        {{#each this.appSsoDomains as |appSsoDomain|}}\\n          <span class=\\\"pill o__has-delete u__mt__0\\\" data-test-domain=\\\"{{appSsoDomain.domain}}\\\">\\n            <span class=\\\"pill__icon\\\">{{ic-interface-icon \\\"globe\\\" set=\\\"standard\\\" color=\\\"gray\\\" solo=true}}</span>\\n            {{appSsoDomain.domain}}\\n            <a data-test-delete-domain-button\\n              {{on \\\"click\\\" (fn this.deleteDomain appSsoDomain)}}\\n              class=\\\"pill__delete\\\"\\n              title=\\\"Remove domain\\\"\\n            >\\n              {{ic-interface-icon \\\"delete\\\" set=\\\"tiny\\\" color=\\\"gray\\\" solo=true}}\\n            </a>\\n          </span>\\n        {{/each}}\\n      </div>\\n    </form.Item>\\n\\n    <div class=\\\"flex flex-row gap-2\\\">\\n      <div class=\\\"flex flex-col flex-5\\\">\\n        <form.Item\\n          @isInvalid={{this.domainInputIsInvalid}}\\n          @errorMessage=\\\"This field must contain a valid domain such as: example.com\\\"\\n          as |item|\\n        >\\n          <item.Input\\n            @placeholder=\\\"e.g. mysite.com\\\"\\n            @value={{this.domain}}\\n            data-test-app-sso-domain-input\\n          />\\n        </form.Item>\\n      </div>\\n\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <form.Submit\\n          @label=\\\"Add domain\\\"\\n          @type=\\\"secondary\\\"\\n          @disabled={{this.domainButtonDisabled}}\\n          data-test-add-domain-button\\n        />\\n      </div>\\n    </div>\\n  </div>\\n\\n  <Settings::Security::AppSsoDomainVerificationModal\\n    @app={{@app}}\\n    @appSsoDomain={{this.newDomain}}\\n    @onVerify={{perform this.verifyDomain}}\\n    @onClose={{this.closeModal}}\\n    @isOpen={{this.showDnsModal}}\\n    @isVerifying={{this.isVerifying}}\\n  />\\n</Form>\\n\", {\"contents\":\"<Form\\n  class=\\\"settings__security__form\\\"\\n  @onSubmit={{perform this.addDomain}}\\n  data-test-app-sso-domains\\n  as |form|\\n>\\n  <div class=\\\"flex flex-col gap-2\\\">\\n    <form.Item\\n      data-test-add-domain-form-item\\n      @label=\\\"Allowed domains\\\"\\n      @tooltip=\\\"Add domains which are allowed to authenticate using SAML SSO.\\\"\\n      @isInvalid={{@isInvalid}}\\n      @errorMessage={{@errorMessage}}\\n      @canShowError={{or this.canShowError @showAllErrors}}\\n      as |item|\\n    >\\n      <div class=\\\"flex flex-row\\\">\\n        {{#each this.appSsoDomains as |appSsoDomain|}}\\n          <span class=\\\"pill o__has-delete u__mt__0\\\" data-test-domain=\\\"{{appSsoDomain.domain}}\\\">\\n            <span class=\\\"pill__icon\\\">{{ic-interface-icon \\\"globe\\\" set=\\\"standard\\\" color=\\\"gray\\\" solo=true}}</span>\\n            {{appSsoDomain.domain}}\\n            <a data-test-delete-domain-button\\n              {{on \\\"click\\\" (fn this.deleteDomain appSsoDomain)}}\\n              class=\\\"pill__delete\\\"\\n              title=\\\"Remove domain\\\"\\n            >\\n              {{ic-interface-icon \\\"delete\\\" set=\\\"tiny\\\" color=\\\"gray\\\" solo=true}}\\n            </a>\\n          </span>\\n        {{/each}}\\n      </div>\\n    </form.Item>\\n\\n    <div class=\\\"flex flex-row gap-2\\\">\\n      <div class=\\\"flex flex-col flex-5\\\">\\n        <form.Item\\n          @isInvalid={{this.domainInputIsInvalid}}\\n          @errorMessage=\\\"This field must contain a valid domain such as: example.com\\\"\\n          as |item|\\n        >\\n          <item.Input\\n            @placeholder=\\\"e.g. mysite.com\\\"\\n            @value={{this.domain}}\\n            data-test-app-sso-domain-input\\n          />\\n        </form.Item>\\n      </div>\\n\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <form.Submit\\n          @label=\\\"Add domain\\\"\\n          @type=\\\"secondary\\\"\\n          @disabled={{this.domainButtonDisabled}}\\n          data-test-add-domain-button\\n        />\\n      </div>\\n    </div>\\n  </div>\\n\\n  <Settings::Security::AppSsoDomainVerificationModal\\n    @app={{@app}}\\n    @appSsoDomain={{this.newDomain}}\\n    @onVerify={{perform this.verifyDomain}}\\n    @onClose={{this.closeModal}}\\n    @isOpen={{this.showDnsModal}}\\n    @isVerifying={{this.isVerifying}}\\n  />\\n</Form>\\n\",\"moduleName\":\"embercom/components/settings/security/app-sso-domains.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/security/app-sso-domains.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { task } from 'ember-concurrency-decorators';\n\nconst DOMAIN_REGEX = /^(?!:\\/\\/)([a-zA-Z0-9-_]+\\.)*[a-zA-Z0-9][a-zA-Z0-9-_]+\\.[a-zA-Z]{2,11}?$/;\n\nexport default class AppSsoDomains extends Component {\n  @service store;\n  @service appService;\n  @service notificationsService;\n  @service intercomEventService;\n\n  @tracked domain = '';\n  @tracked appSsoDomains = this.args.samlAccount.appSsoDomains;\n  @tracked newDomain = '';\n  @tracked showDnsModal = false;\n  @tracked isVerifying = false;\n  @tracked canShowError = false;\n\n  get domainInputIsInvalid() {\n    return this.domain && !this.domain.match(DOMAIN_REGEX);\n  }\n\n  get domainButtonDisabled() {\n    return !this.domain || this.domainInputIsInvalid || this.domainAlreadyAdded;\n  }\n\n  get domainAlreadyAdded() {\n    return this.appSsoDomains.toArray().some(appSsoDomain => appSsoDomain.domain === this.domain);\n  }\n\n  _addAppSsoDomain(appSsoDomain) {\n    this.appSsoDomains.pushObject(appSsoDomain);\n    this.args.samlAccount.appSsoDomainIds = this.appSsoDomains.mapBy('id');\n    this.canShowError = true;\n    this.showDnsModal = false;\n  }\n\n  @task\n  *addDomain() {\n    try {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'added',\n        object: 'app_sso_domain',\n      });\n      let newDomain = this.store.createRecord('app-sso-domain', {\n        domain: this.domain,\n      });\n      yield newDomain.save();\n\n      this.domain = '';\n      this.newDomain = newDomain;\n      if (newDomain.state === 'verified' || newDomain.state === 'active') {\n        this._addAppSsoDomain(newDomain);\n        this.notificationsService.notifyConfirmation('Your domain was successfully added.');\n      } else {\n        this.showDnsModal = true;\n      }\n    } catch (e) {\n      if (e?.jqXHR?.status === 422) {\n        this.notificationsService.notifyError(e.jqXHR.responseJSON.errors);\n      } else {\n        this.notificationsService.notifyError(\"We couldn't add that domain, please try again.\");\n      }\n    }\n  }\n\n  @action\n  deleteDomain(appSsoDomain) {\n    this.appSsoDomains.removeObject(appSsoDomain);\n    this.args.samlAccount.appSsoDomainIds = this.appSsoDomains.mapBy('id');\n    appSsoDomain.unloadRecord();\n    this.canShowError = true;\n  }\n\n  @task\n  *verifyDomain() {\n    this.isVerifying = true;\n    let errorMessage = `Unable to verify DNS record for ${this.newDomain.domain}. Try again later.`;\n\n    try {\n      let response = yield ajax({\n        url: '/ember/app_sso_domains/verify',\n        type: 'POST',\n        contentType: 'application/json',\n        data: JSON.stringify({\n          app_id: this.appService.app.id,\n          domain: this.newDomain.domain,\n        }),\n      });\n\n      if (response.domain_verified) {\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'verified',\n          object: 'app_sso_domain',\n        });\n        this._addAppSsoDomain(this.newDomain);\n        this.notificationsService.notifyConfirmation('Your domain was successfully verified.');\n      } else {\n        this.notificationsService.notifyError(errorMessage);\n      }\n    } catch (e) {\n      this.notificationsService.notifyError(errorMessage);\n    }\n    this.isVerifying = false;\n  }\n\n  @action\n  closeModal() {\n    this.showDnsModal = false;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @isOpen={{@isOpen}}\\n  @onModalClose={{@onClose}}\\n  @width=\\\"m\\\"\\n  data-enforce-saml-modal\\n  as |modal|\\n>\\n  <modal.header @title=\\\"You must log in using SAML SSO\\\" />\\n  <modal.body>\\n    <p>\\n      You need to log in using SAML SSO to enforce SAML for this workspace.\\n      Make sure you have an alternative authentication method to continue.\\n      You can disable the alternative authentication method after the SAML SSO setup is complete.\\n    </p>\\n  </modal.body>\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @isOpen={{@isOpen}}\\n  @onModalClose={{@onClose}}\\n  @width=\\\"m\\\"\\n  data-enforce-saml-modal\\n  as |modal|\\n>\\n  <modal.header @title=\\\"You must log in using SAML SSO\\\" />\\n  <modal.body>\\n    <p>\\n      You need to log in using SAML SSO to enforce SAML for this workspace.\\n      Make sure you have an alternative authentication method to continue.\\n      You can disable the alternative authentication method after the SAML SSO setup is complete.\\n    </p>\\n  </modal.body>\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/settings/security/enforce-saml-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/security/enforce-saml-modal.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-saml-settings-component>\\n  <Form class=\\\"settings__security__form\\\" as |form|>\\n    <form.SectionDescription>\\n      <Text @styling=\\\"muted\\\">\\n        Authentication via a SAML SSO integration with an identity provider, like Okta.\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/en/articles/3974587-Integrate-with-an-identity-provider-and-log-in-with-SAML-SSO\\\"\\n          @title=\\\"Learn more about configuring SAML SSO\\\"\\n          @type=\\\"article\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />.\\n      </Text>\\n    </form.SectionDescription>\\n\\n    <form.Item @label=\\\"SAML name for this workspace\\\" class=\\\"mb-4\\\" as |item|>\\n      <item.Input\\n        @disabled={{true}}\\n        @value={{@samlAccount.name}}\\n        data-test-workspace-saml-name\\n      />\\n    </form.Item>\\n\\n    <form.Item\\n      @label=\\\"Identity provider Single Sign-On URL\\\"\\n      @isInvalid={{@samlAccount.validations.attrs.idpSsoTargetUrl.isInvalid}}\\n      @errorMessage={{@samlAccount.validations.attrs.idpSsoTargetUrl.error.message}}\\n      @canShowError={{@showAllErrors}}\\n      class=\\\"mb-4\\\"\\n      data-test-identity-provider-url-form-item\\n      as |item|\\n    >\\n      <item.Input\\n        @prefix=\\\"https://\\\"\\n        @placeholder=\\\"example.com/identifier\\\"\\n        @value={{this.idpSsoTargetUrl}}\\n        {{on \\\"change\\\" this.updateIdpSsoTargetUrl}}\\n        data-test-identity-provider-url\\n      />\\n    </form.Item>\\n\\n    <form.Item\\n      @label=\\\"Public certificate\\\"\\n      @isInvalid={{@samlAccount.validations.attrs.idpCert.isInvalid}}\\n      @errorMessage={{@samlAccount.validations.attrs.idpCert.error.message}}\\n      @canShowError={{@showAllErrors}}\\n      class=\\\"mb-4\\\"\\n      data-test-public-certificate-form-item\\n      as |item|\\n    >\\n      <item.Textarea\\n        @value={{@samlAccount.idpCert}}\\n        data-test-public-certificate\\n      />\\n    </form.Item>\\n\\n    <div class=\\\"mb-4\\\">\\n      <Settings::Security::AppSsoDomains\\n        @samlAccount={{@samlAccount}}\\n        @isInvalid={{@samlAccount.validations.attrs.appSsoDomains.isInvalid}}\\n        @errorMessage={{@samlAccount.validations.attrs.appSsoDomains.error.message}}\\n        @showAllErrors={{@showAllErrors}}\\n      />\\n    </div>\\n\\n    <form.Item class=\\\"mb-4\\\" as |item|>\\n      {{#if this.canEnableJustInTimeProvisioning}}\\n        <item.Checkbox\\n          @label=\\\"Enable Just-in-Time provisioning\\\"\\n          @hint=\\\"New teammates can add themselves to this workspace and an account will be created for them in your identity provider.\\\"\\n          @checked={{@samlAccount.jitEnabled}}\\n          data-test-jit-checkbox\\n        >\\n          <Paragraph @styling=\\\"small\\\">\\n            Permissions for new teammates added via JIT provisioning:\\n            <strong data-test-permissions-label>\\n              {{if this.permissionsObject.hasFullAccess \\\"Full access\\\" \\\"Limited access\\\"}}\\n            </strong>\\n            <br>\\n            <a {{on \\\"click\\\" this.openPermissionsModal}} data-test-edit-permissions>\\n              Edit permissions\\n            </a>\\n          </Paragraph>\\n        </item.Checkbox>\\n      {{else}}\\n        <div class=\\\"settings__security__form__disabled\\\">\\n          <item.Checkbox\\n            @checked={{false}}\\n            @disabled={{true}}\\n            data-test-jit-checkbox\\n          >\\n            <item.Label>\\n              <Form::Label @inline={{true}} class=\\\"settings__security__form__disabled\\\">\\n                Enable Just-in-Time provisioning\\n              </Form::Label>\\n            </item.Label>\\n            <item.Hint>\\n              <Form::Hint>Not available for test workspaces</Form::Hint>\\n            </item.Hint>\\n          </item.Checkbox>\\n        </div>\\n      {{/if}}\\n    </form.Item>\\n\\n    <form.Item as |item|>\\n      <item.Checkbox\\n        @checked={{this.subOptionEnabled}}\\n        {{on \\\"change\\\" this.updateSubOptionEnabled}}\\n        data-test-sub-option-checkbox\\n        as |checkbox|>\\n        <checkbox.Label>\\n          <div class=\\\"flex flex-row gap-1\\\">\\n            <Text>\\n              Also allow teammates to log in with\\n            </Text>\\n            <IcSelect\\n              @items={{this.subOptionItems}}\\n              @onSelectItem={{this.updateSelectedSubOption}}\\n              @selectedValue={{this.subOptionSelected}}\\n              @defaultLabel={{this.defaultLabel}}\\n              data-test-sub-option-select\\n              as |select|\\n            >\\n              <select.opener class=\\\"u__pointer-cursor\\\">\\n                <u>{{select.selectedItemTextOrDefaultLabel}}</u>\\n              </select.opener>\\n            </IcSelect>\\n          </div>\\n        </checkbox.Label>\\n        <checkbox.Hint>\\n          Useful for transitioning from login with password to SAML SSO\\n        </checkbox.Hint>\\n      </item.Checkbox>\\n    </form.Item>\\n  </Form>\\n\\n  <IcModal\\n    @width=\\\"l\\\"\\n    @onModalClose={{this.closePermissionsModalAndRollback}}\\n    @isOpen={{this.shouldShowPermissionsModal}}\\n    as |modal|\\n  >\\n    <modal.header @title=\\\"Set permissions for new teammates added via JIT provisioning\\\" />\\n    <modal.body>\\n      {{#if (has-feature \\\"restrict-conversation-access\\\")}}\\n        <Settings::Teammates::ConversationAccessEditor\\n          @roleOrPermissionObject={{this.permissionsObject}}\\n        />\\n      {{/if}}\\n      <Settings::Teammates::Permissions::PermissionsEditor\\n        @app={{this.appService.app}}\\n        @permissionsObject={{this.permissionsObject}}\\n      />\\n    </modal.body>\\n    <modal.footer\\n      @primaryButton={{hash\\n        label=\\\"Update\\\"\\n        action=this.updatePermissions\\n      }}\\n      @secondaryButton={{hash\\n        label=\\\"Cancel\\\"\\n        action=this.closePermissionsModalAndRollback\\n      }}\\n    />\\n </IcModal>\\n</div>\\n\", {\"contents\":\"<div data-test-saml-settings-component>\\n  <Form class=\\\"settings__security__form\\\" as |form|>\\n    <form.SectionDescription>\\n      <Text @styling=\\\"muted\\\">\\n        Authentication via a SAML SSO integration with an identity provider, like Okta.\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/en/articles/3974587-Integrate-with-an-identity-provider-and-log-in-with-SAML-SSO\\\"\\n          @title=\\\"Learn more about configuring SAML SSO\\\"\\n          @type=\\\"article\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />.\\n      </Text>\\n    </form.SectionDescription>\\n\\n    <form.Item @label=\\\"SAML name for this workspace\\\" class=\\\"mb-4\\\" as |item|>\\n      <item.Input\\n        @disabled={{true}}\\n        @value={{@samlAccount.name}}\\n        data-test-workspace-saml-name\\n      />\\n    </form.Item>\\n\\n    <form.Item\\n      @label=\\\"Identity provider Single Sign-On URL\\\"\\n      @isInvalid={{@samlAccount.validations.attrs.idpSsoTargetUrl.isInvalid}}\\n      @errorMessage={{@samlAccount.validations.attrs.idpSsoTargetUrl.error.message}}\\n      @canShowError={{@showAllErrors}}\\n      class=\\\"mb-4\\\"\\n      data-test-identity-provider-url-form-item\\n      as |item|\\n    >\\n      <item.Input\\n        @prefix=\\\"https://\\\"\\n        @placeholder=\\\"example.com/identifier\\\"\\n        @value={{this.idpSsoTargetUrl}}\\n        {{on \\\"change\\\" this.updateIdpSsoTargetUrl}}\\n        data-test-identity-provider-url\\n      />\\n    </form.Item>\\n\\n    <form.Item\\n      @label=\\\"Public certificate\\\"\\n      @isInvalid={{@samlAccount.validations.attrs.idpCert.isInvalid}}\\n      @errorMessage={{@samlAccount.validations.attrs.idpCert.error.message}}\\n      @canShowError={{@showAllErrors}}\\n      class=\\\"mb-4\\\"\\n      data-test-public-certificate-form-item\\n      as |item|\\n    >\\n      <item.Textarea\\n        @value={{@samlAccount.idpCert}}\\n        data-test-public-certificate\\n      />\\n    </form.Item>\\n\\n    <div class=\\\"mb-4\\\">\\n      <Settings::Security::AppSsoDomains\\n        @samlAccount={{@samlAccount}}\\n        @isInvalid={{@samlAccount.validations.attrs.appSsoDomains.isInvalid}}\\n        @errorMessage={{@samlAccount.validations.attrs.appSsoDomains.error.message}}\\n        @showAllErrors={{@showAllErrors}}\\n      />\\n    </div>\\n\\n    <form.Item class=\\\"mb-4\\\" as |item|>\\n      {{#if this.canEnableJustInTimeProvisioning}}\\n        <item.Checkbox\\n          @label=\\\"Enable Just-in-Time provisioning\\\"\\n          @hint=\\\"New teammates can add themselves to this workspace and an account will be created for them in your identity provider.\\\"\\n          @checked={{@samlAccount.jitEnabled}}\\n          data-test-jit-checkbox\\n        >\\n          <Paragraph @styling=\\\"small\\\">\\n            Permissions for new teammates added via JIT provisioning:\\n            <strong data-test-permissions-label>\\n              {{if this.permissionsObject.hasFullAccess \\\"Full access\\\" \\\"Limited access\\\"}}\\n            </strong>\\n            <br>\\n            <a {{on \\\"click\\\" this.openPermissionsModal}} data-test-edit-permissions>\\n              Edit permissions\\n            </a>\\n          </Paragraph>\\n        </item.Checkbox>\\n      {{else}}\\n        <div class=\\\"settings__security__form__disabled\\\">\\n          <item.Checkbox\\n            @checked={{false}}\\n            @disabled={{true}}\\n            data-test-jit-checkbox\\n          >\\n            <item.Label>\\n              <Form::Label @inline={{true}} class=\\\"settings__security__form__disabled\\\">\\n                Enable Just-in-Time provisioning\\n              </Form::Label>\\n            </item.Label>\\n            <item.Hint>\\n              <Form::Hint>Not available for test workspaces</Form::Hint>\\n            </item.Hint>\\n          </item.Checkbox>\\n        </div>\\n      {{/if}}\\n    </form.Item>\\n\\n    <form.Item as |item|>\\n      <item.Checkbox\\n        @checked={{this.subOptionEnabled}}\\n        {{on \\\"change\\\" this.updateSubOptionEnabled}}\\n        data-test-sub-option-checkbox\\n        as |checkbox|>\\n        <checkbox.Label>\\n          <div class=\\\"flex flex-row gap-1\\\">\\n            <Text>\\n              Also allow teammates to log in with\\n            </Text>\\n            <IcSelect\\n              @items={{this.subOptionItems}}\\n              @onSelectItem={{this.updateSelectedSubOption}}\\n              @selectedValue={{this.subOptionSelected}}\\n              @defaultLabel={{this.defaultLabel}}\\n              data-test-sub-option-select\\n              as |select|\\n            >\\n              <select.opener class=\\\"u__pointer-cursor\\\">\\n                <u>{{select.selectedItemTextOrDefaultLabel}}</u>\\n              </select.opener>\\n            </IcSelect>\\n          </div>\\n        </checkbox.Label>\\n        <checkbox.Hint>\\n          Useful for transitioning from login with password to SAML SSO\\n        </checkbox.Hint>\\n      </item.Checkbox>\\n    </form.Item>\\n  </Form>\\n\\n  <IcModal\\n    @width=\\\"l\\\"\\n    @onModalClose={{this.closePermissionsModalAndRollback}}\\n    @isOpen={{this.shouldShowPermissionsModal}}\\n    as |modal|\\n  >\\n    <modal.header @title=\\\"Set permissions for new teammates added via JIT provisioning\\\" />\\n    <modal.body>\\n      {{#if (has-feature \\\"restrict-conversation-access\\\")}}\\n        <Settings::Teammates::ConversationAccessEditor\\n          @roleOrPermissionObject={{this.permissionsObject}}\\n        />\\n      {{/if}}\\n      <Settings::Teammates::Permissions::PermissionsEditor\\n        @app={{this.appService.app}}\\n        @permissionsObject={{this.permissionsObject}}\\n      />\\n    </modal.body>\\n    <modal.footer\\n      @primaryButton={{hash\\n        label=\\\"Update\\\"\\n        action=this.updatePermissions\\n      }}\\n      @secondaryButton={{hash\\n        label=\\\"Cancel\\\"\\n        action=this.closePermissionsModalAndRollback\\n      }}\\n    />\\n </IcModal>\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/security/saml-settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/security/saml-settings.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { SAML_AUTH_SUB_OPTIONS } from 'embercom/controllers/apps/app/settings/security';\n\nexport default class SamlSettings extends Component {\n  @service appService;\n  @service store;\n\n  @tracked idpSsoTargetUrl = this.args.samlAccount.idpSsoTargetUrl?.replace('https://', '');\n\n  @tracked shouldShowPermissionsModal = false;\n  @tracked permissionsObject = this._getDefaultPermissionsObject();\n\n  @tracked subOptionEnabled = this.args.samlSubMethodSelected !== SAML_AUTH_SUB_OPTIONS.none;\n  @tracked subOptionSelected = this._getDefaultSubOptionSelected();\n\n  defaultLabel = 'a password or Google sign on';\n\n  _getDefaultPermissionsObject() {\n    return this._getPermissionsObject(this.args.samlAccount.jitSettings);\n  }\n\n  _getPermissionsObject(permissions) {\n    permissions = this.args.samlAccount.jitSettings || {};\n    let permissionsObject = this.store.createRecord('jit-settings-permissions', permissions);\n    if (!this.appService.app.canUseFeature('app_permissions')) {\n      permissionsObject.setAllPermissions(true);\n    }\n    return permissionsObject;\n  }\n\n  _getDefaultSubOptionSelected() {\n    return this.args.samlSubMethodSelected === SAML_AUTH_SUB_OPTIONS.none\n      ? SAML_AUTH_SUB_OPTIONS.all\n      : this.args.samlSubMethodSelected;\n  }\n\n  get canEnableJustInTimeProvisioning() {\n    return !this.appService.app.is_test_app;\n  }\n\n  get subOptionItems() {\n    return [\n      { text: this.defaultLabel, value: SAML_AUTH_SUB_OPTIONS.all },\n      {\n        text: 'two-factor authentication or Google sign on',\n        value: SAML_AUTH_SUB_OPTIONS.googleAnd2fa,\n      },\n      { text: 'Google sign on', value: SAML_AUTH_SUB_OPTIONS.google },\n    ];\n  }\n\n  @action\n  updateSubOptionEnabled(event) {\n    if (event.currentTarget.checked) {\n      this.args.onUpdateSamlSubMethod(this.subOptionSelected);\n    } else {\n      this.args.onUpdateSamlSubMethod(SAML_AUTH_SUB_OPTIONS.none);\n    }\n  }\n\n  @action\n  updateSelectedSubOption(selectedOption) {\n    this.subOptionSelected = selectedOption;\n    this.subOptionEnabled = true;\n    this.args.onUpdateSamlSubMethod(this.subOptionSelected);\n  }\n\n  @action\n  updateIdpSsoTargetUrl() {\n    let targetUrl = this.idpSsoTargetUrl.trim().replace('https://', '') || '';\n    this.idpSsoTargetUrl = targetUrl;\n    this.args.samlAccount.idpSsoTargetUrl = `https://${targetUrl}`;\n  }\n\n  @action\n  openPermissionsModal() {\n    this.shouldShowPermissionsModal = true;\n  }\n\n  @action\n  updatePermissions() {\n    this.args.samlAccount.jitSettings = {\n      ...this.permissionsObject.permissions(),\n      ...this.permissionsObject.conversationAccess,\n    };\n    this.shouldShowPermissionsModal = false;\n  }\n\n  @action\n  closePermissionsModalAndRollback() {\n    this.permissionsObject = this._getPermissionsObject(this.args.samlAccount.jitSettings);\n    this.shouldShowPermissionsModal = false;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if\\n  (and\\n    (service 'identityVerificationRiskStateService.shouldShowLowNotification')\\n    (service 'identityVerificationRiskStateService.shouldShowLackOfSecurityContactEmailNotification')\\n  )\\n}}\\n  <Pulse::FullWidthBanner @color=\\\"yellow-light\\\" data-test-security-banner-two-issues\\n    {{did-insert (track-analytics-event\\n      action='viewed'\\n      object='banner'\\n      place='settings'\\n      owner='growth'\\n      context='trackTwoSecurityIssuesNotificationEvent'\\n    )}}\\n  >\\n    There are two security issues to be resolved.\\n    <LinkTo\\n      @route=\\\"apps.app.settings.identity-verification\\\"\\n      {{on \\\"click\\\" (track-analytics-event\\n        action=\\\"clicked\\\"\\n        object='banner'\\n        place='settings'\\n        owner='growth'\\n        context=\\\"trackTwoSecurityIssuesNotificationEvent\\\"\\n      )}}\\n    >\\n      Go to security settings.\\n    </LinkTo>\\n  </Pulse::FullWidthBanner>\\n{{else if (service 'identityVerificationRiskStateService.shouldShowLowNotification')}}\\n  <Pulse::FullWidthBanner @color=\\\"yellow-light\\\" data-test-security-banner-enforce-identity\\n    {{did-insert (track-analytics-event\\n      action='viewed'\\n      object='banner'\\n      place='settings'\\n      owner='growth'\\n      context='trackIdentityVerificationNotificationEvent'\\n    )}}\\n  >\\n    Enforce identity verification on all platforms to prevent third parties from impersonating logged-in users.\\n    <LinkTo\\n      @route=\\\"apps.app.settings.identity-verification\\\"\\n      {{on \\\"click\\\" (track-analytics-event\\n        action=\\\"clicked\\\"\\n        object='banner'\\n        place='settings'\\n        owner='growth'\\n        context=\\\"trackIdentityVerificationNotificationEvent\\\"\\n      )}}\\n    >\\n      Set up identity verification.\\n    </LinkTo>\\n  </Pulse::FullWidthBanner>\\n{{else if (service 'identityVerificationRiskStateService.shouldShowLackOfSecurityContactEmailNotification')}}\\n  <Pulse::FullWidthBanner @color=\\\"yellow-light\\\" data-test-security-banner-security-contact-email\\n    {{did-insert (track-analytics-event\\n      action='viewed'\\n      object='banner'\\n      place='settings'\\n      owner='growth'\\n      context='trackLackOfSecurityEmailEventNotification'\\n    )}}\\n  >\\n    Enter a security contact that should be contacted in case of a security incident.\\n    <LinkTo\\n      @route=\\\"apps.app.settings.identity-verification\\\"\\n      {{on \\\"click\\\" (track-analytics-event\\n        action=\\\"clicked\\\"\\n        object='banner'\\n        place='settings'\\n        owner='growth'\\n        context=\\\"trackLackOfSecurityEmailEventNotification\\\"\\n      )}}\\n    >\\n      Go to security settings.\\n    </LinkTo>\\n  </Pulse::FullWidthBanner>\\n{{/if}}\\n\", {\"contents\":\"{{#if\\n  (and\\n    (service 'identityVerificationRiskStateService.shouldShowLowNotification')\\n    (service 'identityVerificationRiskStateService.shouldShowLackOfSecurityContactEmailNotification')\\n  )\\n}}\\n  <Pulse::FullWidthBanner @color=\\\"yellow-light\\\" data-test-security-banner-two-issues\\n    {{did-insert (track-analytics-event\\n      action='viewed'\\n      object='banner'\\n      place='settings'\\n      owner='growth'\\n      context='trackTwoSecurityIssuesNotificationEvent'\\n    )}}\\n  >\\n    There are two security issues to be resolved.\\n    <LinkTo\\n      @route=\\\"apps.app.settings.identity-verification\\\"\\n      {{on \\\"click\\\" (track-analytics-event\\n        action=\\\"clicked\\\"\\n        object='banner'\\n        place='settings'\\n        owner='growth'\\n        context=\\\"trackTwoSecurityIssuesNotificationEvent\\\"\\n      )}}\\n    >\\n      Go to security settings.\\n    </LinkTo>\\n  </Pulse::FullWidthBanner>\\n{{else if (service 'identityVerificationRiskStateService.shouldShowLowNotification')}}\\n  <Pulse::FullWidthBanner @color=\\\"yellow-light\\\" data-test-security-banner-enforce-identity\\n    {{did-insert (track-analytics-event\\n      action='viewed'\\n      object='banner'\\n      place='settings'\\n      owner='growth'\\n      context='trackIdentityVerificationNotificationEvent'\\n    )}}\\n  >\\n    Enforce identity verification on all platforms to prevent third parties from impersonating logged-in users.\\n    <LinkTo\\n      @route=\\\"apps.app.settings.identity-verification\\\"\\n      {{on \\\"click\\\" (track-analytics-event\\n        action=\\\"clicked\\\"\\n        object='banner'\\n        place='settings'\\n        owner='growth'\\n        context=\\\"trackIdentityVerificationNotificationEvent\\\"\\n      )}}\\n    >\\n      Set up identity verification.\\n    </LinkTo>\\n  </Pulse::FullWidthBanner>\\n{{else if (service 'identityVerificationRiskStateService.shouldShowLackOfSecurityContactEmailNotification')}}\\n  <Pulse::FullWidthBanner @color=\\\"yellow-light\\\" data-test-security-banner-security-contact-email\\n    {{did-insert (track-analytics-event\\n      action='viewed'\\n      object='banner'\\n      place='settings'\\n      owner='growth'\\n      context='trackLackOfSecurityEmailEventNotification'\\n    )}}\\n  >\\n    Enter a security contact that should be contacted in case of a security incident.\\n    <LinkTo\\n      @route=\\\"apps.app.settings.identity-verification\\\"\\n      {{on \\\"click\\\" (track-analytics-event\\n        action=\\\"clicked\\\"\\n        object='banner'\\n        place='settings'\\n        owner='growth'\\n        context=\\\"trackLackOfSecurityEmailEventNotification\\\"\\n      )}}\\n    >\\n      Go to security settings.\\n    </LinkTo>\\n  </Pulse::FullWidthBanner>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/settings/security/security-warning-banner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/security/security-warning-banner.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<td class=\\\"tbl__cell\\\">\\n  {{companyEmailAddress.email_address}}\\n</td>\\n<td class=\\\"tbl__cell\\\">\\n  {{companyEmailAddress.address_source}}\\n</td>\\n<td class=\\\"tbl__cell o__contains-button\\\">\\n  <IcButton\\n    @type=\\\"secondary-destructive\\\"\\n    @inCell={{true}}\\n    @onClick={{action \\\"deleteCompanyEmailAddress\\\"}}\\n    @disabled={{isDeletingOrNew}}\\n    data-test-company-email-address-delete={{true}}\\n  >\\n    {{#if companyEmailAddress.isNew}}\\n      Saving…\\n    {{else if destroyEmailAddressTask.isRunning}}\\n      Deleting…\\n    {{else}}\\n      Delete\\n    {{/if}}\\n  </IcButton>\\n</td>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<td class=\\\"tbl__cell\\\">\\n  {{companyEmailAddress.email_address}}\\n</td>\\n<td class=\\\"tbl__cell\\\">\\n  {{companyEmailAddress.address_source}}\\n</td>\\n<td class=\\\"tbl__cell o__contains-button\\\">\\n  <IcButton\\n    @type=\\\"secondary-destructive\\\"\\n    @inCell={{true}}\\n    @onClick={{action \\\"deleteCompanyEmailAddress\\\"}}\\n    @disabled={{isDeletingOrNew}}\\n    data-test-company-email-address-delete={{true}}\\n  >\\n    {{#if companyEmailAddress.isNew}}\\n      Saving…\\n    {{else if destroyEmailAddressTask.isRunning}}\\n      Deleting…\\n    {{else}}\\n      Delete\\n    {{/if}}\\n  </IcButton>\\n</td>\\n\",\"moduleName\":\"embercom/components/settings/senders/company-email-address-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/senders/company-email-address-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { or } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  notificationsService: service(),\n  tagName: 'tr',\n  isDeletingOrNew: or('destroyEmailAddressTask.isRunning', 'companyEmailAddress.isNew'),\n  destroyEmailAddressTask: task(function*() {\n    try {\n      yield this.companyEmailAddress.destroyRecord();\n      this.notificationsService.notifyConfirmation(\n        `The company email address '${this.get('companyEmailAddress.email_address')}' was deleted.`,\n      );\n    } catch (e) {\n      this.notificationsService.notifyError(\n        \"Something went wrong and we couldn't delete that email address.\",\n      );\n    }\n  }),\n  _openConfirm(options) {\n    return intercomConfirm(this, options);\n  },\n  actions: {\n    deleteCompanyEmailAddress() {\n      let companyEmailAddress = this.companyEmailAddress;\n      this._openConfirm({\n        title: 'Delete company email address',\n        body: `Are you sure you want to delete the company email address ${companyEmailAddress.get(\n          'email_address',\n        )}?`,\n        confirmButtonText: 'Delete email address',\n        primaryButtonType: 'primary-destructive',\n      }).then(() => {\n        this.destroyEmailAddressTask.perform();\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if @dkimSettings.validRecordExists}}\\n  <p>\\n    DNS record:\\n  </p>\\n{{else}}\\n  <p>\\n    <div class=\\\"flex flex-col pb-2\\\">\\n      To give Intercom permission to send emails on your behalf, create a CNAME record in your DNS provider (e.g: GoDaddy, Cloudflare)\\n    </div>\\n  </p>\\n{{/if}}\\n<IcTable\\n  @data={{array\\n    (hash name=@dkimSettings.domainForCustomerDnsRecord type=\\\"CNAME\\\" value=@dkimSettings.domainForIntercomDnsRecord)\\n  }}\\n  @columns={{array\\n    (hash label=\\\"Type\\\" valuePath=\\\"type\\\")\\n    (hash label=\\\"Name\\\" valuePath=\\\"name\\\" width=\\\"30%\\\")\\n    (hash label=\\\"Value\\\" valuePath=\\\"value\\\")\\n  }} as |table|\\n>\\n  <table.rows as |row|>\\n    <row.cell @valuePath=\\\"type\\\">\\n      {{row.data.type}}\\n    </row.cell>\\n    <row.cell @valuePath=\\\"name\\\">\\n     <span {{copy-to-clipboard text=row.data.name}}>{{row.data.name}} {{ic-interface-icon \\\"duplicate\\\"}}</span>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"value\\\">\\n     <span {{copy-to-clipboard text=row.data.value}}>{{row.data.value}} {{ic-interface-icon \\\"duplicate\\\"}}</span>\\n    </row.cell>\\n  </table.rows>\\n</IcTable>\\n{{#unless @dkimSettings.validRecordExists}}\\n  <div class=\\\"flex flex-row justify-between gap-2 pt-8\\\">\\n    <p class=\\\"t__label text-blue\\\">\\n      {{ic-interface-icon 'book'}} <a href=\\\"{{@dkimHelpCentreUrl}}\\\" class=\\\"t__solo-link\\\" rel=\\\"noopener noreferrer nofollow\\\" target=\\\"_blank\\\">How to authenticate domains</a>\\n    </p>\\n\\n    <IcButton\\n      @type=\\\"primary\\\"\\n      @onClick={{action @verifyDomain @dkimSettings}}\\n      @disabled={{@isVerifying}}\\n      class=\\\"p-2\\\"\\n      data-test-authentication-button={{true}}\\n    >\\n      {{#if @isVerifying}}\\n        Verifying...\\n      {{else}}\\n        Verify authentication\\n      {{/if}}\\n    </IcButton>\\n  </div>\\n{{/unless}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if @dkimSettings.validRecordExists}}\\n  <p>\\n    DNS record:\\n  </p>\\n{{else}}\\n  <p>\\n    <div class=\\\"flex flex-col pb-2\\\">\\n      To give Intercom permission to send emails on your behalf, create a CNAME record in your DNS provider (e.g: GoDaddy, Cloudflare)\\n    </div>\\n  </p>\\n{{/if}}\\n<IcTable\\n  @data={{array\\n    (hash name=@dkimSettings.domainForCustomerDnsRecord type=\\\"CNAME\\\" value=@dkimSettings.domainForIntercomDnsRecord)\\n  }}\\n  @columns={{array\\n    (hash label=\\\"Type\\\" valuePath=\\\"type\\\")\\n    (hash label=\\\"Name\\\" valuePath=\\\"name\\\" width=\\\"30%\\\")\\n    (hash label=\\\"Value\\\" valuePath=\\\"value\\\")\\n  }} as |table|\\n>\\n  <table.rows as |row|>\\n    <row.cell @valuePath=\\\"type\\\">\\n      {{row.data.type}}\\n    </row.cell>\\n    <row.cell @valuePath=\\\"name\\\">\\n     <span {{copy-to-clipboard text=row.data.name}}>{{row.data.name}} {{ic-interface-icon \\\"duplicate\\\"}}</span>\\n    </row.cell>\\n    <row.cell @valuePath=\\\"value\\\">\\n     <span {{copy-to-clipboard text=row.data.value}}>{{row.data.value}} {{ic-interface-icon \\\"duplicate\\\"}}</span>\\n    </row.cell>\\n  </table.rows>\\n</IcTable>\\n{{#unless @dkimSettings.validRecordExists}}\\n  <div class=\\\"flex flex-row justify-between gap-2 pt-8\\\">\\n    <p class=\\\"t__label text-blue\\\">\\n      {{ic-interface-icon 'book'}} <a href=\\\"{{@dkimHelpCentreUrl}}\\\" class=\\\"t__solo-link\\\" rel=\\\"noopener noreferrer nofollow\\\" target=\\\"_blank\\\">How to authenticate domains</a>\\n    </p>\\n\\n    <IcButton\\n      @type=\\\"primary\\\"\\n      @onClick={{action @verifyDomain @dkimSettings}}\\n      @disabled={{@isVerifying}}\\n      class=\\\"p-2\\\"\\n      data-test-authentication-button={{true}}\\n    >\\n      {{#if @isVerifying}}\\n        Verifying...\\n      {{else}}\\n        Verify authentication\\n      {{/if}}\\n    </IcButton>\\n  </div>\\n{{/unless}}\\n\",\"moduleName\":\"embercom/components/settings/senders/dkim-settings-accordion.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/senders/dkim-settings-accordion.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<@row.cell @valuePath=\\\"name\\\">\\n  <EditableTextComponent\\n    @classNames=\\\"m__settings__editable-text__form\\\"\\n    @text={{@row.data.model.name}}\\n    @saveAction={{this.saveSender}}\\n    data-test-sender-email-name-accordion\\n  />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"email\\\">\\n    {{@row.data.email}}\\n</@row.cell>\\n<@row.cell @valuePath=\\\"status\\\">\\n    {{#if (eq @row.data.status \\\"Unverified domain\\\")}}\\n      {{ic-stamp  \\\"Unverified\\\"}}\\n    {{else}}\\n      {{ic-stamp  @row.data.status}}\\n    {{/if}}\\n</@row.cell>\\n<@row.cell @valuePath=\\\"delete\\\">\\n    <IcButton\\n    @type=\\\"secondary-destructive\\\"\\n    @inCell={{true}}\\n    @onClick={{action \\\"deleteSender\\\" @row.data.model}}\\n    @disabled={{isDeleting}}\\n    data-test-sender-email-delete={{@row.data.model.id}}\\n  >\\n    {{#if isDeleting}}\\n      Deleting…\\n    {{else}}\\n      {{ic-interface-icon \\\"trash\\\" solo=true}}\\n    {{/if}}\\n  </IcButton>\\n</@row.cell>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<@row.cell @valuePath=\\\"name\\\">\\n  <EditableTextComponent\\n    @classNames=\\\"m__settings__editable-text__form\\\"\\n    @text={{@row.data.model.name}}\\n    @saveAction={{this.saveSender}}\\n    data-test-sender-email-name-accordion\\n  />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"email\\\">\\n    {{@row.data.email}}\\n</@row.cell>\\n<@row.cell @valuePath=\\\"status\\\">\\n    {{#if (eq @row.data.status \\\"Unverified domain\\\")}}\\n      {{ic-stamp  \\\"Unverified\\\"}}\\n    {{else}}\\n      {{ic-stamp  @row.data.status}}\\n    {{/if}}\\n</@row.cell>\\n<@row.cell @valuePath=\\\"delete\\\">\\n    <IcButton\\n    @type=\\\"secondary-destructive\\\"\\n    @inCell={{true}}\\n    @onClick={{action \\\"deleteSender\\\" @row.data.model}}\\n    @disabled={{isDeleting}}\\n    data-test-sender-email-delete={{@row.data.model.id}}\\n  >\\n    {{#if isDeleting}}\\n      Deleting…\\n    {{else}}\\n      {{ic-interface-icon \\\"trash\\\" solo=true}}\\n    {{/if}}\\n  </IcButton>\\n</@row.cell>\\n\",\"moduleName\":\"embercom/components/settings/senders/email-address-accordion.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/senders/email-address-accordion.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class EmailAddress extends Component {\n  @service notificationsService;\n  @tracked tagName = 'tr';\n  @tracked isDeleting = false;\n\n  @action\n  async deleteSender(senderEmail) {\n    await intercomConfirm(this, {\n      title: 'Delete custom email address',\n      body: `Are you sure you want to delete the custom email address ${senderEmail.email}?`,\n      confirmButtonText: 'Delete email address',\n      primaryButtonType: 'primary-destructive',\n    });\n    this.isDeleting = true;\n    try {\n      await senderEmail.destroyRecord();\n      this.isDeleting = false;\n      this.notificationsService.notifyConfirmation(\n        `The custom address '${senderEmail.displayAs}' was deleted.`,\n      );\n    } catch (e) {\n      this.isDeleting = false;\n      this.notificationsService.notifyResponseError(e);\n    }\n  }\n\n  @action\n  saveSender(newName) {\n    let senderEmail = this.args.row.data.model;\n    senderEmail.name = newName;\n    senderEmail.save().then(() => {\n      this.notificationsService.notifyConfirmation('Your changes have been saved');\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if this.showSenderCreationStep}}\\n  <IcModal @onModalClose={{this.closeCreateCustomSender}} @isOpen={{@showAddCustomSenderModal}} as |modal|>\\n    <modal.header @title=\\\"Add custom address\\\" />\\n    <modal.body data-test-create-sender-modal={{true}}>\\n      <Settings::Senders::Modals::NewSenderForm\\n        @senderName={{this.senderName}}\\n        @senderAddress={{this.senderAddress}}\\n      />\\n    </modal.body>\\n    <modal.footer @primaryButton={{hash\\n        label=\\\"Confirm\\\"\\n        action=(action \\\"addNewSender\\\")\\n        disabled=this.disableCreateButton\\n      }} @secondaryButton={{hash label=\\\"Cancel\\\" action=(action \\\"cancelButton\\\")}}\\n    />\\n  </IcModal>\\n{{else if this.showSenderVerificationStep}}\\n  <IcModal @onModalClose={{this.closeCreateCustomSender}} @isOpen={{@showAddCustomSenderModal}} as |modal|>\\n    <modal.header @title=\\\"Add custom address\\\" />\\n    <modal.body data-test-verify-sender-modal={{true}}>\\n        <div>\\n          Click on the verification link we just sent to <b>{{this.senderAddress}}</b> to start using this custom address.\\n        </div>\\n    </modal.body>\\n    <modal.footer\\n      @primaryButton={{hash\\n        label=\\\"Done\\\"\\n        action=(action \\\"closeCreateCustomSender\\\")\\n      }}\\n      @tertiaryButton={{hash\\n        label=\\\"Resend verification link\\\"\\n        action=(action \\\"resendVerificationLink\\\")\\n      }}\\n    />\\n  </IcModal>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if this.showSenderCreationStep}}\\n  <IcModal @onModalClose={{this.closeCreateCustomSender}} @isOpen={{@showAddCustomSenderModal}} as |modal|>\\n    <modal.header @title=\\\"Add custom address\\\" />\\n    <modal.body data-test-create-sender-modal={{true}}>\\n      <Settings::Senders::Modals::NewSenderForm\\n        @senderName={{this.senderName}}\\n        @senderAddress={{this.senderAddress}}\\n      />\\n    </modal.body>\\n    <modal.footer @primaryButton={{hash\\n        label=\\\"Confirm\\\"\\n        action=(action \\\"addNewSender\\\")\\n        disabled=this.disableCreateButton\\n      }} @secondaryButton={{hash label=\\\"Cancel\\\" action=(action \\\"cancelButton\\\")}}\\n    />\\n  </IcModal>\\n{{else if this.showSenderVerificationStep}}\\n  <IcModal @onModalClose={{this.closeCreateCustomSender}} @isOpen={{@showAddCustomSenderModal}} as |modal|>\\n    <modal.header @title=\\\"Add custom address\\\" />\\n    <modal.body data-test-verify-sender-modal={{true}}>\\n        <div>\\n          Click on the verification link we just sent to <b>{{this.senderAddress}}</b> to start using this custom address.\\n        </div>\\n    </modal.body>\\n    <modal.footer\\n      @primaryButton={{hash\\n        label=\\\"Done\\\"\\n        action=(action \\\"closeCreateCustomSender\\\")\\n      }}\\n      @tertiaryButton={{hash\\n        label=\\\"Resend verification link\\\"\\n        action=(action \\\"resendVerificationLink\\\")\\n      }}\\n    />\\n  </IcModal>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/settings/senders/modals/create-sender-email-address.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/senders/modals/create-sender-email-address.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { isValidEmail } from 'embercom/lib/email';\nimport { isEmpty } from '@ember/utils';\nimport ajax from 'embercom/lib/ajax';\nexport default class CreateCustomSenderAddress extends Component {\n  @service intercomEventService;\n  @service notificationsService;\n  @service router;\n  @service store;\n  @service appService;\n\n  @tracked senderName = '';\n  @tracked senderAddress = '';\n  @tracked showSenderCreationStep = true;\n  @tracked showSenderVerificationStep = false;\n  @tracked createdAddressId = null;\n\n  get disableCreateButton() {\n    let emailOrNameValueEmpty = isEmpty(this.senderName) || isEmpty(this.senderAddress);\n    let emailIsInvalid = !isValidEmail(this.senderAddress);\n    return emailOrNameValueEmpty || emailIsInvalid;\n  }\n\n  @action\n  async addNewSender() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'create_custom_sender_address',\n      context: 'create_button',\n    });\n    try {\n      let response = await ajax({\n        url: '/ember/sender_emails/create_address_and_dkim_settings',\n        type: 'POST',\n        data: JSON.stringify({\n          name: this.senderName,\n          email: this.senderAddress,\n          app_id: this.appService.app.id,\n          admin_id: this.appService.app.currentAdmin.id,\n        }),\n      });\n      this.store.push(this.store.normalize('dkim-settings', response.dkim_settings));\n      this.store.pushPayload({ 'custom-email-address': response.sender_address });\n      this.createdAddressId = response.sender_address.id;\n      this.showSenderCreationStep = false;\n      this.showSenderVerificationStep = true;\n    } catch (e) {\n      this.notificationsService.notifyError(\n        \"We couldn't add that email. Please speak to support if this persists.\",\n      );\n    }\n  }\n\n  @action\n  closeCreateCustomSender() {\n    this.senderName = '';\n    this.senderAddress = '';\n    this.createdAddressId = null;\n    this.args.toggleDisplayCustomSenderModal();\n  }\n\n  @action\n  cancelButton() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'create_custom_sender_address',\n      context: 'cancel_button',\n    });\n    this.closeCreateCustomSender();\n  }\n\n  @action\n  async resendVerificationLink() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'create_custom_sender_address',\n      context: 'resend_verification_link',\n    });\n    try {\n      await ajax({\n        url: `/ember/sender_emails/${this.createdAddressId}/resend_verification_email`,\n        type: 'POST',\n        data: JSON.stringify({\n          app_id: this.appService.app.id,\n          admin_id: this.appService.app.currentAdmin.id,\n        }),\n      });\n      this.notificationsService.notifyConfirmation('Verification email resent.');\n    } catch (e) {\n      this.notificationsService.notifyError(\n        \"We couldn't do that. Please speak to support if this persists.\",\n      );\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Form as |form|>\\n  <form.Item @label=\\\"Display name\\\" as |item|>\\n    <item.Input @value={{@senderName}} placeholder=\\\"John Doe\\\" data-test-sender-name />\\n  </form.Item>\\n\\n  <form.Item @label=\\\"Email\\\" as |item|>\\n    <item.Input @value={{@senderAddress}} type=\\\"email\\\" placeholder=\\\"john.doe@example.com\\\" data-test-sender-email\\n      data-create-email />\\n  </form.Item>\\n</Form>\\n\", {\"contents\":\"<Form as |form|>\\n  <form.Item @label=\\\"Display name\\\" as |item|>\\n    <item.Input @value={{@senderName}} placeholder=\\\"John Doe\\\" data-test-sender-name />\\n  </form.Item>\\n\\n  <form.Item @label=\\\"Email\\\" as |item|>\\n    <item.Input @value={{@senderAddress}} type=\\\"email\\\" placeholder=\\\"john.doe@example.com\\\" data-test-sender-email\\n      data-create-email />\\n  </form.Item>\\n</Form>\\n\",\"moduleName\":\"embercom/components/settings/senders/modals/new-sender-form.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/senders/modals/new-sender-form.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"mr-6 ml-6 mb-6\\\">\\n  <div class=\\\"flex flex-col pb-8\\\">\\n\\n    <IcTabControl\\n      @onSelectionChange={{set this.selectedTab}}\\n      @selectedTab={{this.selectedTab}}\\n      data-test-tab-component as |control|\\n    >\\n      <control.tab @label=\\\"Addresses\\\" @value=\\\"addresses\\\" />\\n      <control.tab @label=\\\"DKIM Settings\\\" @value=\\\"dkim-settings\\\" />\\n    </IcTabControl>\\n  </div>\\n\\n  {{#unless @dkimSettings.validRecordExists}}\\n    <div class=\\\"mb-4\\\">\\n      <IcBanner @type=\\\"warning\\\" data-test-unauthenticated-banner>\\n        Give Intercom permission to send on your behalf to help prevent emails from getting caught in spam filters.\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/en/articles/182-a-guide-to-sending-email-from-your-own-address\\\"\\n          @title=\\\"Learn more\\\"\\n          @type=\\\"article\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n      </IcBanner>\\n    </div>\\n  {{/unless}}\\n\\n  {{#if (eq this.selectedTab \\\"addresses\\\")}}\\n    {{#if @customSenderAddresses}}\\n      <IcTable\\n        @data={{@customSenderAddresses}}\\n        @columns={{array\\n          (hash label=\\\"Name\\\" valuePath=\\\"name\\\" width=\\\"30%\\\")\\n          (hash label=\\\"Email\\\" valuePath=\\\"email\\\")\\n          (hash label=\\\"Status\\\" valuePath=\\\"status\\\")\\n          (hash label=\\\"\\\" valuePath=\\\"delete\\\")\\n        }}\\n        data-test-custom-sender-table as |table|\\n      >\\n        <table.rows as |row|>\\n          <Settings::Senders::EmailAddressAccordion\\n            @row={{row}}\\n            @senderEmail={{row.data.model}}\\n            data-test-sender-email={{true}}\\n          />\\n        </table.rows>\\n      </IcTable>\\n    {{else}}\\n      <IcEmptyState\\n        @title=\\\"No custom addresses have been added to this domain\\\"\\n        @icon=\\\"wave\\\"\\n      />\\n    {{/if}}\\n  {{else if (eq this.selectedTab \\\"dkim-settings\\\")}}\\n     <Settings::Senders::dkimSettingsAccordion\\n        @index={{@index}}\\n        @app={{service 'appService.app'}}\\n        @dkimSettings={{@dkimSettings}}\\n        @isVerifying={{@isVerifying}}\\n        @verifyDomain={{@verifyDomain}}\\n        @toggleExpandIndex=\\\"toggleExpandAdminEmailIndex\\\"\\n        @dkimHelpCentreUrl={{'https://www.intercom.com/help/en/articles/182-a-guide-to-sending-email-from-your-own-address#verify-your-domain'}}\\n        data-test-email-senders-previously-used-email\\n      />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"mr-6 ml-6 mb-6\\\">\\n  <div class=\\\"flex flex-col pb-8\\\">\\n\\n    <IcTabControl\\n      @onSelectionChange={{set this.selectedTab}}\\n      @selectedTab={{this.selectedTab}}\\n      data-test-tab-component as |control|\\n    >\\n      <control.tab @label=\\\"Addresses\\\" @value=\\\"addresses\\\" />\\n      <control.tab @label=\\\"DKIM Settings\\\" @value=\\\"dkim-settings\\\" />\\n    </IcTabControl>\\n  </div>\\n\\n  {{#unless @dkimSettings.validRecordExists}}\\n    <div class=\\\"mb-4\\\">\\n      <IcBanner @type=\\\"warning\\\" data-test-unauthenticated-banner>\\n        Give Intercom permission to send on your behalf to help prevent emails from getting caught in spam filters.\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/en/articles/182-a-guide-to-sending-email-from-your-own-address\\\"\\n          @title=\\\"Learn more\\\"\\n          @type=\\\"article\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n      </IcBanner>\\n    </div>\\n  {{/unless}}\\n\\n  {{#if (eq this.selectedTab \\\"addresses\\\")}}\\n    {{#if @customSenderAddresses}}\\n      <IcTable\\n        @data={{@customSenderAddresses}}\\n        @columns={{array\\n          (hash label=\\\"Name\\\" valuePath=\\\"name\\\" width=\\\"30%\\\")\\n          (hash label=\\\"Email\\\" valuePath=\\\"email\\\")\\n          (hash label=\\\"Status\\\" valuePath=\\\"status\\\")\\n          (hash label=\\\"\\\" valuePath=\\\"delete\\\")\\n        }}\\n        data-test-custom-sender-table as |table|\\n      >\\n        <table.rows as |row|>\\n          <Settings::Senders::EmailAddressAccordion\\n            @row={{row}}\\n            @senderEmail={{row.data.model}}\\n            data-test-sender-email={{true}}\\n          />\\n        </table.rows>\\n      </IcTable>\\n    {{else}}\\n      <IcEmptyState\\n        @title=\\\"No custom addresses have been added to this domain\\\"\\n        @icon=\\\"wave\\\"\\n      />\\n    {{/if}}\\n  {{else if (eq this.selectedTab \\\"dkim-settings\\\")}}\\n     <Settings::Senders::dkimSettingsAccordion\\n        @index={{@index}}\\n        @app={{service 'appService.app'}}\\n        @dkimSettings={{@dkimSettings}}\\n        @isVerifying={{@isVerifying}}\\n        @verifyDomain={{@verifyDomain}}\\n        @toggleExpandIndex=\\\"toggleExpandAdminEmailIndex\\\"\\n        @dkimHelpCentreUrl={{'https://www.intercom.com/help/en/articles/182-a-guide-to-sending-email-from-your-own-address#verify-your-domain'}}\\n        data-test-email-senders-previously-used-email\\n      />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/senders/outbound-sender-settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/senders/outbound-sender-settings.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class OutboundSenderSettings extends Component {\n  @tracked selectedTab = 'addresses';\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{@onClose}}\\n  as |modal|\\n>\\n  <modal.header @title={{this.title}} />\\n  <modal.body>\\n    {{#if this.checkForDependents.isRunning}}\\n      <div class=\\\"flex flex-col items-center\\\">\\n        <IcLoadingIndicator @size=\\\"large\\\" />\\n      </div>\\n    {{else if this.hasDependentObjects}}\\n      <p class=\\\"mb-4\\\">This SLA is used elsewhere:</p>\\n\\n      <p class=\\\"font-medium\\\">Rules</p>\\n      <ul class=\\\"list-none pl-0 mb-0 mt-0\\\">\\n        {{#each this.dependentRules as |dependentRule|}}\\n          <li>\\n            <a target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" href={{href-to \\\"apps.app.inbox.automation.sla\\\" (query-params id=dependentRule.id)}}>\\n              <Text @linkStyling=\\\"standalone\\\">{{dependentRule.name}}</Text>\\n            </a>\\n          </li>\\n        {{/each}}\\n\\n        {{#each this.dependentWorkflows as |dependentWorkflow|}}\\n          <li>\\n            <a target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" href={{href-to \\\"apps.app.inbox.automation.workflows.edit\\\" dependentWorkflow.id}}>\\n              <Text @linkStyling=\\\"standalone\\\">{{dependentWorkflow.name}}</Text>\\n            </a>\\n          </li>\\n        {{/each}}\\n      </ul>\\n    {{else}}\\n      <p>Are you sure you want to archive this SLA? You won't be able to apply it to new conversations, but it'll still be available in reporting.</p>\\n    {{/if}}\\n  </modal.body>\\n  {{#if this.hasDependentObjects}}\\n    <modal.footer\\n      @primaryButton={{hash\\n        label=\\\"Close\\\"\\n        action=@onClose\\n      }}\\n    />\\n  {{else}}\\n    {{#if this.checkForDependents.isRunning}}\\n      <modal.footer\\n        @primaryButton={{hash\\n          label=\\\"Cancel\\\"\\n          action=@onClose\\n        }}\\n      />\\n    {{else}}\\n      <modal.footer\\n        @secondaryButton={{hash\\n          label=\\\"Cancel\\\"\\n          action=@onClose\\n        }}\\n        @primaryButton={{hash\\n          label=\\\"Archive\\\"\\n          type=\\\"destructive\\\"\\n          action=(perform @archiveSla)\\n        }}\\n      />\\n    {{/if}}\\n  {{/if}}\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{@onClose}}\\n  as |modal|\\n>\\n  <modal.header @title={{this.title}} />\\n  <modal.body>\\n    {{#if this.checkForDependents.isRunning}}\\n      <div class=\\\"flex flex-col items-center\\\">\\n        <IcLoadingIndicator @size=\\\"large\\\" />\\n      </div>\\n    {{else if this.hasDependentObjects}}\\n      <p class=\\\"mb-4\\\">This SLA is used elsewhere:</p>\\n\\n      <p class=\\\"font-medium\\\">Rules</p>\\n      <ul class=\\\"list-none pl-0 mb-0 mt-0\\\">\\n        {{#each this.dependentRules as |dependentRule|}}\\n          <li>\\n            <a target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" href={{href-to \\\"apps.app.inbox.automation.sla\\\" (query-params id=dependentRule.id)}}>\\n              <Text @linkStyling=\\\"standalone\\\">{{dependentRule.name}}</Text>\\n            </a>\\n          </li>\\n        {{/each}}\\n\\n        {{#each this.dependentWorkflows as |dependentWorkflow|}}\\n          <li>\\n            <a target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\" href={{href-to \\\"apps.app.inbox.automation.workflows.edit\\\" dependentWorkflow.id}}>\\n              <Text @linkStyling=\\\"standalone\\\">{{dependentWorkflow.name}}</Text>\\n            </a>\\n          </li>\\n        {{/each}}\\n      </ul>\\n    {{else}}\\n      <p>Are you sure you want to archive this SLA? You won't be able to apply it to new conversations, but it'll still be available in reporting.</p>\\n    {{/if}}\\n  </modal.body>\\n  {{#if this.hasDependentObjects}}\\n    <modal.footer\\n      @primaryButton={{hash\\n        label=\\\"Close\\\"\\n        action=@onClose\\n      }}\\n    />\\n  {{else}}\\n    {{#if this.checkForDependents.isRunning}}\\n      <modal.footer\\n        @primaryButton={{hash\\n          label=\\\"Cancel\\\"\\n          action=@onClose\\n        }}\\n      />\\n    {{else}}\\n      <modal.footer\\n        @secondaryButton={{hash\\n          label=\\\"Cancel\\\"\\n          action=@onClose\\n        }}\\n        @primaryButton={{hash\\n          label=\\\"Archive\\\"\\n          type=\\\"destructive\\\"\\n          action=(perform @archiveSla)\\n        }}\\n      />\\n    {{/if}}\\n  {{/if}}\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/settings/sla-archive-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/sla-archive-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\nimport ajax from 'embercom/lib/ajax';\nimport { inject as service } from '@ember/service';\n\nexport default class SlaArchiveModal extends Component {\n  @service appService;\n  @tracked dependentRules = [];\n  @tracked dependentWorkflows = [];\n\n  constructor() {\n    super(...arguments);\n    this.checkForDependents.perform(this.args.sla);\n  }\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get dependentObjects() {\n    return this.dependentRules.concat(this.dependentWorkflows);\n  }\n\n  get hasDependentObjects() {\n    return this.dependentObjects.length > 0;\n  }\n\n  get title() {\n    if (this.checkForDependents.isRunning) {\n      return 'Checking dependencies for this SLA...';\n    }\n\n    if (this.hasDependentObjects) {\n      return `Can't archive \"${this.args.sla?.name}\"`;\n    }\n\n    return `Archive \"${this.args.sla?.name}\"`;\n  }\n\n  @task({ drop: true })\n  *checkForDependents(sla) {\n    let response = yield ajax({\n      url: `/ember/inbox/conversation_slas/${sla.id}/dependent_objects`,\n      type: 'GET',\n      data: {\n        app_id: this.app.id,\n      },\n    });\n\n    let { dependent_sla_rules, dependent_workflows } = response;\n    this.dependentRules = dependent_sla_rules === undefined ? [] : dependent_sla_rules;\n    this.dependentWorkflows = dependent_workflows === undefined ? [] : dependent_workflows;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{@onClose}}\\n  as |modal|\\n>\\n  <modal.header @title={{this.title}} />\\n  <modal.body>\\n    <p>Are you sure you want to delete this SLA? This will remove the SLA from conversations and it will no longer be available in reporting.</p>\\n  </modal.body>\\n  <modal.footer\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=@onClose\\n    }}\\n    @primaryButton={{hash\\n      label=\\\"Delete\\\"\\n      type=\\\"destructive\\\"\\n      action=(perform @deleteSla)\\n    }}\\n  />\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{@onClose}}\\n  as |modal|\\n>\\n  <modal.header @title={{this.title}} />\\n  <modal.body>\\n    <p>Are you sure you want to delete this SLA? This will remove the SLA from conversations and it will no longer be available in reporting.</p>\\n  </modal.body>\\n  <modal.footer\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=@onClose\\n    }}\\n    @primaryButton={{hash\\n      label=\\\"Delete\\\"\\n      type=\\\"destructive\\\"\\n      action=(perform @deleteSla)\\n    }}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/settings/sla-delete-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/sla-delete-modal.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class SlaDeleteModal extends Component {\n  get title() {\n    return `Delete \"${this.args.sla?.name}\"`;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasSlas}}\\n  <div>\\n    <p>\\n      SLAs (or Service Level Agreements) let you manage your team’s response times.\\n      <a href={{href-to (if this.app.canUseWorkflows \\\"apps.app.inbox.automation.workflows.list\\\" \\\"apps.app.inbox.automation.sla\\\")}}>\\n        {{~#if this.app.canUseWorkflows~}}\\n          Go to rules to apply SLAs to conversations\\n        {{~else~}}\\n          Go to SLA rules to apply SLAs to incoming conversations\\n        {{~/if~}}\\n      </a>.\\n    </p>\\n    <div class=\\\"h-5\\\"></div>\\n  </div>\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <IcLegacyTable\\n    @columns={{columns}}\\n    @rows={{rows}}\\n    @height=\\\"flex\\\"\\n    @toggleSort={{action \\\"toggleSort\\\"}}\\n  />\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n{{else}}\\n  <IcEmptyState @icon=\\\"delivery-window\\\" @title=\\\"No SLAs yet\\\">\\n    <div class=\\\"h-2\\\"></div>\\n    <div class=\\\"text-gray\\\">\\n      <a href={{href-to (if this.app.canUseWorkflows \\\"apps.app.inbox.automation.workflows.list\\\" \\\"apps.app.inbox.automation.sla\\\")}}>\\n        {{~#if this.app.canUseWorkflows~}}\\n          Go to rules to apply SLAs to conversations\\n        {{~else~}}\\n          Go to SLA rules to apply SLAs to incoming conversations\\n        {{~/if~}}\\n      </a>.\\n    </div>\\n  </IcEmptyState>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasSlas}}\\n  <div>\\n    <p>\\n      SLAs (or Service Level Agreements) let you manage your team’s response times.\\n      <a href={{href-to (if this.app.canUseWorkflows \\\"apps.app.inbox.automation.workflows.list\\\" \\\"apps.app.inbox.automation.sla\\\")}}>\\n        {{~#if this.app.canUseWorkflows~}}\\n          Go to rules to apply SLAs to conversations\\n        {{~else~}}\\n          Go to SLA rules to apply SLAs to incoming conversations\\n        {{~/if~}}\\n      </a>.\\n    </p>\\n    <div class=\\\"h-5\\\"></div>\\n  </div>\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <IcLegacyTable\\n    @columns={{columns}}\\n    @rows={{rows}}\\n    @height=\\\"flex\\\"\\n    @toggleSort={{action \\\"toggleSort\\\"}}\\n  />\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n{{else}}\\n  <IcEmptyState @icon=\\\"delivery-window\\\" @title=\\\"No SLAs yet\\\">\\n    <div class=\\\"h-2\\\"></div>\\n    <div class=\\\"text-gray\\\">\\n      <a href={{href-to (if this.app.canUseWorkflows \\\"apps.app.inbox.automation.workflows.list\\\" \\\"apps.app.inbox.automation.sla\\\")}}>\\n        {{~#if this.app.canUseWorkflows~}}\\n          Go to rules to apply SLAs to conversations\\n        {{~else~}}\\n          Go to SLA rules to apply SLAs to incoming conversations\\n        {{~/if~}}\\n      </a>.\\n    </div>\\n  </IcEmptyState>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/settings/slas/slas-page.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/slas/slas-page.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { A } from '@ember/array';\nimport Component from '@ember/component';\nimport EmberObject, { computed } from '@ember/object';\nimport { notEmpty, sort, readOnly } from '@ember/object/computed';\nimport { findBy } from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  currentSortColumn: findBy('columns', 'isSortColumn', true),\n  sortDefinition: computed('currentSortColumn', 'currentSortColumn.sortedAscending', function() {\n    let sortColumn = this.currentSortColumn;\n    return sortColumn.get('sortedAscending')\n      ? [sortColumn.get('propertyName')]\n      : [`${sortColumn.get('propertyName')}:desc`];\n  }),\n\n  slasWithOfficeHours: computed('slas', 'officeHoursSchedules', function() {\n    return this.slas.map(sla => {\n      sla.officeHoursSchedule = this.officeHoursSchedules.findBy('id', sla.officeHoursScheduleId);\n      return sla;\n    });\n  }),\n  hasSlas: notEmpty('slasWithOfficeHours'),\n  rows: sort('slasWithOfficeHours', 'sortDefinition'),\n\n  classNames: [\n    'layout__box',\n    'o__flexes-to-1',\n    'o__has-rows',\n    'u__padt__20',\n    'u__padb__20',\n    'u__padl__30',\n    'u__padr__30',\n  ],\n\n  columns: A([\n    EmberObject.create({\n      label: 'Name',\n      canExpandToFit: true,\n      component: 'table-cells/slas/name-cell',\n      sortable: true,\n      isSortColumn: false,\n      sortedAscending: true,\n      propertyName: 'name',\n    }),\n    EmberObject.create({\n      label: 'Created',\n      component: 'table-cells/slas/created-at-cell',\n      sortable: true,\n      isSortColumn: true,\n      sortedAscending: false,\n      propertyName: 'createdAt',\n    }),\n  ]),\n\n  actions: {\n    toggleSort(column) {\n      let columns = this.columns;\n      let currentSortColumn = this.currentSortColumn;\n\n      if (currentSortColumn.get('propertyName') === column.propertyName) {\n        currentSortColumn.toggleProperty('sortedAscending');\n      } else {\n        currentSortColumn.set('isSortColumn', false);\n\n        let newSortColumn = columns.findBy('propertyName', column.propertyName);\n        newSortColumn.set('isSortColumn', true);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"{{outerDivClasses}}\\\">\\n  <div class=\\\"{{innerDivClasses}}\\\">\\n    {{#if hasNoSpamMessages}}\\n      <IcEmptyState @icon=\\\"email\\\" @title=\\\"No spam messages\\\" />\\n    {{else}}\\n      <p>\\n        These are inbound messages Intercom has marked as spam. They're automatically deleted after 30 days.\\n      </p>\\n      <div class=\\\"h-5\\\"></div>\\n      {{!-- template-lint-disable intercom/no-custom-table --}}\\n      <table\\n        class=\\\"tbl o__fit o__fixed js__scrolling-content test__spam-message-content\\\"\\n      >\\n        {{!-- template-lint-enable intercom/no-custom-table --}}\\n        <thead>\\n          <tr>\\n            <th class=\\\"tbl__cell t__label w-1/5\\\">\\n              Name\\n            </th>\\n            <th class=\\\"tbl__cell t__label w-1/5\\\">\\n              Email\\n            </th>\\n            <th class=\\\"tbl__cell t__label w-2/5\\\">\\n              Subject\\n            </th>\\n            <th class=\\\"tbl__cell t__label w-1/12\\\">\\n              Date\\n            </th>\\n            <th class=\\\"tbl__cell t__label w-1/12\\\">\\n              &nbsp;\\n            </th>\\n            <th class=\\\"tbl__cell t__label w-1/12\\\">\\n              &nbsp;\\n            </th>\\n          </tr>\\n        </thead>\\n        <tbody class=\\\"tbl__body\\\">\\n          {{#each spamMessages as |spamMessage|}}\\n            {{#unless spamMessage.isDeleted}}\\n              <tr data-test-spam-message-row=\\\"{{spamMessage.name}}\\\">\\n                <td\\n                  class=\\\"tbl__cell u__restore-breaks twk__spam-message-table-cell\\\"\\n                >\\n                  <span class=\\\"avatar__container o__s\\\">\\n                    <IcAvatarComponent\\n                      @model={{spamMessage}}\\n                      @contained={{true}}\\n                      @size=\\\"s\\\"\\n                    />\\n                    <span\\n                      class=\\\"u__force-breaks text-gray\\\"\\n                      data-test-spam-message-row-name\\n                    >\\n                      {{spamMessage.name}}\\n                    </span>\\n                  </span>\\n                </td>\\n                <td\\n                  class=\\\"tbl__cell u__restore-breaks twk__spam-message-table-cell\\\"\\n                >\\n                  {{spamMessage.email}}\\n                </td>\\n                <td\\n                  class=\\\"tbl__cell u__restore-breaks twk__spam-message-table-cell\\\"\\n                >\\n                  <LinkTo\\n                    @route=\\\"apps.app.inbound-email\\\"\\n                    @model={{spamMessage.id}}\\n                    class=\\\"text-gray t__em-link\\\"\\n                    data-test-spam-message-email=\\\"{{spamMessage.name}}\\\"\\n                  >\\n                  {{#if spamMessage.emailSubject}}\\n                    {{spamMessage.emailSubject}}\\n                  {{else}}\\n                    Message has no subject\\n                  {{/if}}\\n                  </LinkTo>\\n                </td>\\n                <td class=\\\"tbl__cell u__restore-breaks\\\">\\n                  <CreatedAtWithTooltip @datetime={{spamMessage.createdAt}} @notInInbox={{true}}/>\\n                </td>\\n                                <td\\n                  class=\\\"tbl__cell u__restore-breaks twk__spam-message-table-cell\\\"\\n                >\\n                  <LinkTo\\n                    @route=\\\"apps.app.inbound-email\\\"\\n                    @model={{spamMessage.id}}\\n                    class=\\\"text-gray t__em-link\\\"\\n                  >\\n                  View email\\n                  </LinkTo>\\n                </td>\\n                <td class=\\\"tbl__cell o__contains-button\\\">\\n                  {{#if spamMessage.isProcessing}}\\n                    <IcLoadingIndicator @size=\\\"small\\\" />\\n                  {{else}}\\n                    <IcButton\\n                      @label=\\\"Not spam\\\"\\n                      @type=\\\"secondary-destructive\\\"\\n                      @inCell={{true}}\\n                      @onClick={{action \\\"processSpam\\\" spamMessage}}\\n                      data-test-spam-message-process-link={{true}}\\n                    />\\n                  {{/if}}\\n                </td>\\n              </tr>\\n            {{/unless}}\\n          {{/each}}\\n        </tbody>\\n      </table>\\n    {{/if}}\\n    {{#if isLoadingNextPage}}\\n      <MainContentLoading />\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"{{outerDivClasses}}\\\">\\n  <div class=\\\"{{innerDivClasses}}\\\">\\n    {{#if hasNoSpamMessages}}\\n      <IcEmptyState @icon=\\\"email\\\" @title=\\\"No spam messages\\\" />\\n    {{else}}\\n      <p>\\n        These are inbound messages Intercom has marked as spam. They're automatically deleted after 30 days.\\n      </p>\\n      <div class=\\\"h-5\\\"></div>\\n      {{!-- template-lint-disable intercom/no-custom-table --}}\\n      <table\\n        class=\\\"tbl o__fit o__fixed js__scrolling-content test__spam-message-content\\\"\\n      >\\n        {{!-- template-lint-enable intercom/no-custom-table --}}\\n        <thead>\\n          <tr>\\n            <th class=\\\"tbl__cell t__label w-1/5\\\">\\n              Name\\n            </th>\\n            <th class=\\\"tbl__cell t__label w-1/5\\\">\\n              Email\\n            </th>\\n            <th class=\\\"tbl__cell t__label w-2/5\\\">\\n              Subject\\n            </th>\\n            <th class=\\\"tbl__cell t__label w-1/12\\\">\\n              Date\\n            </th>\\n            <th class=\\\"tbl__cell t__label w-1/12\\\">\\n              &nbsp;\\n            </th>\\n            <th class=\\\"tbl__cell t__label w-1/12\\\">\\n              &nbsp;\\n            </th>\\n          </tr>\\n        </thead>\\n        <tbody class=\\\"tbl__body\\\">\\n          {{#each spamMessages as |spamMessage|}}\\n            {{#unless spamMessage.isDeleted}}\\n              <tr data-test-spam-message-row=\\\"{{spamMessage.name}}\\\">\\n                <td\\n                  class=\\\"tbl__cell u__restore-breaks twk__spam-message-table-cell\\\"\\n                >\\n                  <span class=\\\"avatar__container o__s\\\">\\n                    <IcAvatarComponent\\n                      @model={{spamMessage}}\\n                      @contained={{true}}\\n                      @size=\\\"s\\\"\\n                    />\\n                    <span\\n                      class=\\\"u__force-breaks text-gray\\\"\\n                      data-test-spam-message-row-name\\n                    >\\n                      {{spamMessage.name}}\\n                    </span>\\n                  </span>\\n                </td>\\n                <td\\n                  class=\\\"tbl__cell u__restore-breaks twk__spam-message-table-cell\\\"\\n                >\\n                  {{spamMessage.email}}\\n                </td>\\n                <td\\n                  class=\\\"tbl__cell u__restore-breaks twk__spam-message-table-cell\\\"\\n                >\\n                  <LinkTo\\n                    @route=\\\"apps.app.inbound-email\\\"\\n                    @model={{spamMessage.id}}\\n                    class=\\\"text-gray t__em-link\\\"\\n                    data-test-spam-message-email=\\\"{{spamMessage.name}}\\\"\\n                  >\\n                  {{#if spamMessage.emailSubject}}\\n                    {{spamMessage.emailSubject}}\\n                  {{else}}\\n                    Message has no subject\\n                  {{/if}}\\n                  </LinkTo>\\n                </td>\\n                <td class=\\\"tbl__cell u__restore-breaks\\\">\\n                  <CreatedAtWithTooltip @datetime={{spamMessage.createdAt}} @notInInbox={{true}}/>\\n                </td>\\n                                <td\\n                  class=\\\"tbl__cell u__restore-breaks twk__spam-message-table-cell\\\"\\n                >\\n                  <LinkTo\\n                    @route=\\\"apps.app.inbound-email\\\"\\n                    @model={{spamMessage.id}}\\n                    class=\\\"text-gray t__em-link\\\"\\n                  >\\n                  View email\\n                  </LinkTo>\\n                </td>\\n                <td class=\\\"tbl__cell o__contains-button\\\">\\n                  {{#if spamMessage.isProcessing}}\\n                    <IcLoadingIndicator @size=\\\"small\\\" />\\n                  {{else}}\\n                    <IcButton\\n                      @label=\\\"Not spam\\\"\\n                      @type=\\\"secondary-destructive\\\"\\n                      @inCell={{true}}\\n                      @onClick={{action \\\"processSpam\\\" spamMessage}}\\n                      data-test-spam-message-process-link={{true}}\\n                    />\\n                  {{/if}}\\n                </td>\\n              </tr>\\n            {{/unless}}\\n          {{/each}}\\n        </tbody>\\n      </table>\\n    {{/if}}\\n    {{#if isLoadingNextPage}}\\n      <MainContentLoading />\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/spam-message-list-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/spam-message-list-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, equal } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport Paging from 'embercom/components/mixins/paging';\n\nexport default Component.extend(Paging, {\n  notificationsService: service(),\n  store: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  nearPageBottomThreshold: 100,\n  listItemsContainerSelector: '.js__scrolling-content',\n  scrollingContainerSelector: '.js__settings-container',\n  hasNoSpamMessages: equal('spamMessages.length', 0),\n  actions: {\n    processSpam(spamMessage) {\n      spamMessage.set('isProcessing', true);\n      spamMessage\n        .processSpamMessage()\n        .then(() => {\n          spamMessage.set('isProcessing', false);\n          spamMessage.set('isDeleted', true);\n          this.notificationsService.notifyConfirmation(\n            `Message from ${spamMessage.get(\n              'nameOrEmail',\n            )} has been unmarked as spam and moved to the Inbox`,\n          );\n        })\n        .catch(() => {\n          spamMessage.set('isProcessing', false);\n          this.notificationsService.notifyError(\n            'An error occurred while processing the spam message',\n          );\n        });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"t__light-text u__padb__10\\\" data-test-sso-domain-whitelist-title>\\n  <strong>SSO Domain Whitelist</strong>\\n  <div class=\\\"t__light-text o__no-visual-margins\\\">\\n    Enforce which domains can be used when using SSO.\\n  </div>\\n</div>\\n<div class=\\\"u__padb__10 u__cf\\\">\\n  {{#each whitelist as |domain|}}\\n    <span data-test-domain class=\\\"pill o__has-delete\\\">\\n      <span class=\\\"pill__icon\\\">{{ic-interface-icon 'globe' set='standard' color='gray' solo=true}}</span>\\n      {{domain}}\\n      <a data-test-delete-domain {{action 'deleteDomain' domain}} class=\\\"pill__delete\\\" title=\\\"Remove {{tagOrSegment.name}} domain\\\">{{ic-interface-icon 'delete' set='tiny' color='gray' solo=true}}</a>\\n    </span>\\n  {{/each}}\\n</div>\\n<div>\\n  <Input\\n    @value={{domain}}\\n    @type=\\\"text\\\"\\n    class=\\\"f__text {{if showError 'o__error'}}\\\"\\n    @focusIn={{action (mut inputNotFocused) false}}\\n    @focusOut={{action (mut inputNotFocused) true}}\\n    data-test-sso-domain-input={{true}}\\n  />\\n  <IcButton\\n    @label=\\\"Add domain\\\"\\n    @type=\\\"secondary\\\"\\n    @onClick={{action \\\"addDomain\\\"}}\\n    data-test-add-domain=\\\"true\\\"\\n    @disabled={{v-get this \\\"domain\\\" \\\"isInvalid\\\"}}\\n  />\\n  {{#if showError}}\\n    <div class=\\\"text-red\\\" data-test-domain-validation-error>\\n      {{v-get this 'domain' 'message'}}\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"t__light-text u__padb__10\\\" data-test-sso-domain-whitelist-title>\\n  <strong>SSO Domain Whitelist</strong>\\n  <div class=\\\"t__light-text o__no-visual-margins\\\">\\n    Enforce which domains can be used when using SSO.\\n  </div>\\n</div>\\n<div class=\\\"u__padb__10 u__cf\\\">\\n  {{#each whitelist as |domain|}}\\n    <span data-test-domain class=\\\"pill o__has-delete\\\">\\n      <span class=\\\"pill__icon\\\">{{ic-interface-icon 'globe' set='standard' color='gray' solo=true}}</span>\\n      {{domain}}\\n      <a data-test-delete-domain {{action 'deleteDomain' domain}} class=\\\"pill__delete\\\" title=\\\"Remove {{tagOrSegment.name}} domain\\\">{{ic-interface-icon 'delete' set='tiny' color='gray' solo=true}}</a>\\n    </span>\\n  {{/each}}\\n</div>\\n<div>\\n  <Input\\n    @value={{domain}}\\n    @type=\\\"text\\\"\\n    class=\\\"f__text {{if showError 'o__error'}}\\\"\\n    @focusIn={{action (mut inputNotFocused) false}}\\n    @focusOut={{action (mut inputNotFocused) true}}\\n    data-test-sso-domain-input={{true}}\\n  />\\n  <IcButton\\n    @label=\\\"Add domain\\\"\\n    @type=\\\"secondary\\\"\\n    @onClick={{action \\\"addDomain\\\"}}\\n    data-test-add-domain=\\\"true\\\"\\n    @disabled={{v-get this \\\"domain\\\" \\\"isInvalid\\\"}}\\n  />\\n  {{#if showError}}\\n    <div class=\\\"text-red\\\" data-test-domain-validation-error>\\n      {{v-get this 'domain' 'message'}}\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/sso-domain-whitelist.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/sso-domain-whitelist.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { isEmpty } from '@ember/utils';\nimport { copy } from 'ember-copy';\nimport { isPresent } from '@ember/utils';\nimport { validator, buildValidations } from 'ember-cp-validations';\nimport { and, notEmpty } from '@ember/object/computed';\n\nconst Validations = buildValidations({\n  domain: validator('domain'),\n});\n\nexport default Component.extend(Validations, {\n  classNames: ['f__group', 'u__padt__5'],\n  domain: '',\n  domainHasValue: notEmpty('domain'),\n  inputNotFocused: false,\n  showError: and('domainHasValue', 'validations.attrs.domain.isInvalid', 'inputNotFocused'),\n\n  actions: {\n    addDomain() {\n      let domain = this.domain;\n      let whitelist = copy(this.whitelist);\n      if (isPresent(domain) && !whitelist.includes(domain)) {\n        whitelist.push(domain);\n        this.set('whitelist', whitelist);\n      }\n      this.set('domain', '');\n    },\n    deleteDomain(domain) {\n      let whitelist = copy(this.whitelist);\n      whitelist.removeObject(domain);\n      this.set('whitelist', whitelist);\n    },\n    showError() {\n      let domain = this.domain;\n      if (isEmpty(domain)) {\n        this.set('showError', false);\n      } else {\n        this.set('showError', this.get('validations.attrs.domain.isInvalid'));\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.hasBreadcrumb}}\\n  <div class=\\\"settings__standard-header__breadcrumb\\\">\\n    <LinkTo @route={{@breadcrumbRoute}}><Text @styling=\\\"small\\\" @linkStyling=\\\"subtle\\\">\\n      {{@breadcrumbTitle}}\\n    </Text></LinkTo>\\n    <Text @styling=\\\"muted\\\">\\n      {{ic-interface-icon \\\"small-thin-right-arrow\\\"}}\\n    </Text>\\n  </div>\\n{{/if}}\\n\\n<div\\n  class=\\\"u__padb__20 u__padl__30 u__padr__30 {{if this.hasBreadcrumb \\\"\\\" \\\"u__padt__20\\\"}}\\\"\\n>\\n  <Common::HamburgerMenu @includePadding={{false}}>\\n    <div class=\\\"flex flex-row items-center flex-1 gap-3\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        <Heading\\n          @size=\\\"1\\\"\\n          data-test-settings-header\\n          as |h|\\n        >\\n          {{@titleToken}}\\n\\n          {{#unless this.hideAppName}}\\n            <h.Muted>for {{this.app.name}}</h.Muted>\\n          {{/unless}}\\n        </Heading>\\n      </div>\\n      <div class=\\\"flex flex-row flex-1\\\">\\n        {{#if this.contractType}}\\n          <div class=\\\"flex flex-row gap-1 settings__standard-header__multiworkspace-badge\\\">\\n            <IcIllustrativeIcon @name=\\\"team\\\" @size=\\\"small\\\" @appearance=\\\"empty\\\" />\\n\\n            <Paragraph>\\n              {{this.contractType}}\\n            </Paragraph>\\n          </div>\\n\\n          <div class=\\\"flex flex-col flex-1\\\"></div>\\n        {{/if}}\\n      </div>\\n      {{#if hasBlock}}\\n        <div class=\\\"flex flex-col\\\">\\n          {{yield}}\\n        </div>\\n      {{/if}}\\n    </div>\\n  </Common::HamburgerMenu>\\n</div>\\n\", {\"contents\":\"{{#if this.hasBreadcrumb}}\\n  <div class=\\\"settings__standard-header__breadcrumb\\\">\\n    <LinkTo @route={{@breadcrumbRoute}}><Text @styling=\\\"small\\\" @linkStyling=\\\"subtle\\\">\\n      {{@breadcrumbTitle}}\\n    </Text></LinkTo>\\n    <Text @styling=\\\"muted\\\">\\n      {{ic-interface-icon \\\"small-thin-right-arrow\\\"}}\\n    </Text>\\n  </div>\\n{{/if}}\\n\\n<div\\n  class=\\\"u__padb__20 u__padl__30 u__padr__30 {{if this.hasBreadcrumb \\\"\\\" \\\"u__padt__20\\\"}}\\\"\\n>\\n  <Common::HamburgerMenu @includePadding={{false}}>\\n    <div class=\\\"flex flex-row items-center flex-1 gap-3\\\">\\n      <div class=\\\"flex flex-col\\\">\\n        <Heading\\n          @size=\\\"1\\\"\\n          data-test-settings-header\\n          as |h|\\n        >\\n          {{@titleToken}}\\n\\n          {{#unless this.hideAppName}}\\n            <h.Muted>for {{this.app.name}}</h.Muted>\\n          {{/unless}}\\n        </Heading>\\n      </div>\\n      <div class=\\\"flex flex-row flex-1\\\">\\n        {{#if this.contractType}}\\n          <div class=\\\"flex flex-row gap-1 settings__standard-header__multiworkspace-badge\\\">\\n            <IcIllustrativeIcon @name=\\\"team\\\" @size=\\\"small\\\" @appearance=\\\"empty\\\" />\\n\\n            <Paragraph>\\n              {{this.contractType}}\\n            </Paragraph>\\n          </div>\\n\\n          <div class=\\\"flex flex-col flex-1\\\"></div>\\n        {{/if}}\\n      </div>\\n      {{#if hasBlock}}\\n        <div class=\\\"flex flex-col\\\">\\n          {{yield}}\\n        </div>\\n      {{/if}}\\n    </div>\\n  </Common::HamburgerMenu>\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/standard-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/standard-header.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { readOnly, equal, not, and, or, match } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport RouteRegexes from 'embercom/lib/route-regexes';\n\nexport default Component.extend({\n  router: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  tagName: '',\n\n  hasNoBreadcrumbRoute: equal('breadcrumbRoute', undefined),\n  hasNoBreadcrumbTitle: equal('breadcrumbTitle', undefined),\n  hasBreadcrumbRoute: not('hasNoBreadcrumbRoute'),\n  hasBreadcrumbTitle: not('hasNoBreadcrumbTitle'),\n  hasBreadcrumb: and('hasBreadcrumbRoute', 'hasBreadcrumbTitle'),\n\n  isOnInboxPreferencesRoute: match('router.currentRouteName', RouteRegexes.inboxPreferencesRoute),\n  isOnYourAccountSettingsRoute: match('router.currentRouteName', RouteRegexes.accountSettings.root),\n  hideAppName: or('isOnInboxPreferencesRoute', 'isOnYourAccountSettingsRoute'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Settings::TagDependencies @tag={{@tag}} as |dependencies|>\\n  <IcModal\\n    @onModalClose={{@onClose}}\\n    @size=\\\"m\\\"\\n    @isOpen={{@tag}}\\n    @focusElement=\\\"body\\\" as |modal|\\n  >\\n    <modal.header @title={{concat \\\"Archive “\\\" @tag.name \\\"”\\\"}}/>\\n    <modal.body>\\n      {{#if dependencies.isRunning}}\\n        <div class=\\\"u__relative\\\">\\n          <div class=\\\"u__center-item pt-16\\\">\\n            <IcLoadingIndicator @size=\\\"large\\\" />\\n          </div>\\n        </div>\\n      {{else if (not dependencies.hasDependencies)}}\\n        Are you sure you want to archive this tag?\\n      {{else}}\\n        <p class=\\\"mb-2\\\">\\n          You cannot archive this tag, as it&rsquo;s used elsewhere.\\n        </p>\\n        <dependencies.Info />\\n      {{/if}}\\n\\n    </modal.body>\\n\\n    {{#if (not dependencies.isRunning)}}\\n      {{#if (not dependencies.hasDependencies)}}\\n        <modal.footer\\n          {{did-insert this.focusPrimaryButton}}\\n          @primaryButton={{hash\\n            label=\\\"Archive\\\"\\n            type=\\\"destructive\\\"\\n            action=(perform this.archiveTag)\\n          }}\\n          @secondaryButton={{hash\\n            label=\\\"Cancel\\\"\\n            action=@onClose\\n          }}\\n          @tertiaryButton={{hash\\n            label=\\\"Delete immediately\\\"\\n            icon=\\\"delete\\\"\\n            action=(perform this.deleteTag)\\n          }}\\n        />\\n      {{else}}\\n        <modal.footer\\n          {{did-insert this.focusPrimaryButton}}\\n          @primaryButton={{hash\\n            label=\\\"Okay\\\"\\n            action=@onClose\\n          }}\\n        />\\n      {{/if}}\\n    {{/if}}\\n  </IcModal>\\n</Settings::TagDependencies>\\n\", {\"contents\":\"<Settings::TagDependencies @tag={{@tag}} as |dependencies|>\\n  <IcModal\\n    @onModalClose={{@onClose}}\\n    @size=\\\"m\\\"\\n    @isOpen={{@tag}}\\n    @focusElement=\\\"body\\\" as |modal|\\n  >\\n    <modal.header @title={{concat \\\"Archive “\\\" @tag.name \\\"”\\\"}}/>\\n    <modal.body>\\n      {{#if dependencies.isRunning}}\\n        <div class=\\\"u__relative\\\">\\n          <div class=\\\"u__center-item pt-16\\\">\\n            <IcLoadingIndicator @size=\\\"large\\\" />\\n          </div>\\n        </div>\\n      {{else if (not dependencies.hasDependencies)}}\\n        Are you sure you want to archive this tag?\\n      {{else}}\\n        <p class=\\\"mb-2\\\">\\n          You cannot archive this tag, as it&rsquo;s used elsewhere.\\n        </p>\\n        <dependencies.Info />\\n      {{/if}}\\n\\n    </modal.body>\\n\\n    {{#if (not dependencies.isRunning)}}\\n      {{#if (not dependencies.hasDependencies)}}\\n        <modal.footer\\n          {{did-insert this.focusPrimaryButton}}\\n          @primaryButton={{hash\\n            label=\\\"Archive\\\"\\n            type=\\\"destructive\\\"\\n            action=(perform this.archiveTag)\\n          }}\\n          @secondaryButton={{hash\\n            label=\\\"Cancel\\\"\\n            action=@onClose\\n          }}\\n          @tertiaryButton={{hash\\n            label=\\\"Delete immediately\\\"\\n            icon=\\\"delete\\\"\\n            action=(perform this.deleteTag)\\n          }}\\n        />\\n      {{else}}\\n        <modal.footer\\n          {{did-insert this.focusPrimaryButton}}\\n          @primaryButton={{hash\\n            label=\\\"Okay\\\"\\n            action=@onClose\\n          }}\\n        />\\n      {{/if}}\\n    {{/if}}\\n  </IcModal>\\n</Settings::TagDependencies>\\n\",\"moduleName\":\"embercom/components/settings/tag-archive-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/tag-archive-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class TagArchiveModal extends Component {\n  @service intercomEventService;\n  @service notificationsService;\n  @service appService;\n  @service modelDataCacheService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  @task({ drop: true })\n  *archiveTag() {\n    try {\n      let tag = this.args.tag;\n      tag.archived = true;\n      yield tag.save();\n      this.app.updateLocalCache(this.modelDataCacheService);\n      this.notificationsService.notifyConfirmation(`${tag.name} was archived`);\n      this.args.onClose({ success: true, action: 'archived' });\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'archived',\n        object: tag,\n      });\n    } catch (error) {\n      console.error(error);\n      this.notificationsService.notifyError('Archive request failed, please try again.');\n      this.args.onClose({ success: false });\n    }\n  }\n\n  @task({ drop: true })\n  *deleteTag() {\n    try {\n      let tag = this.args.tag;\n      yield tag.destroyRecord();\n      this.app.tags.removeObject(tag);\n      this.app.updateLocalCache(this.modelDataCacheService);\n      this.notificationsService.notifyConfirmation(`${tag.name} was deleted`);\n      this.args.onClose({ success: true, action: 'deleted' });\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'deleted',\n        object: tag,\n      });\n    } catch (error) {\n      console.error(error);\n      this.notificationsService.notifyError('Delete request failed, please try again.');\n      this.args.onClose({ success: false });\n    }\n  }\n\n  @action\n  focusPrimaryButton(element) {\n    let buttonElement = element.querySelector('button[class*=\"o__primary\"]');\n    if (buttonElement) {\n      buttonElement.focus();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Settings::TagDependencies @tag={{@tag}} as |dependencies|>\\n  <IcModal\\n    @onModalClose={{@onClose}}\\n    @size=\\\"m\\\"\\n    @isOpen={{@tag}}\\n    @focusElement=\\\"body\\\" as |modal|\\n  >\\n    <modal.header @title={{concat \\\"Delete “\\\" @tag.name \\\"”\\\"}}/>\\n    <modal.body>\\n      {{#if dependencies.isRunning}}\\n        <div class=\\\"u__relative\\\">\\n          <div class=\\\"u__center-item pt-16\\\">\\n            <IcLoadingIndicator @size=\\\"large\\\" />\\n          </div>\\n        </div>\\n      {{else if (not dependencies.hasDependencies)}}\\n        Are you sure you want to delete this tag? Tag deletion can take some time to complete.\\n      {{else}}\\n        <p class=\\\"mb-2\\\">\\n          You cannot delete this tag, as it&rsquo;s used elsewhere.\\n        </p>\\n        <dependencies.Info />\\n      {{/if}}\\n    </modal.body>\\n\\n    {{#if (not dependencies.isRunning)}}\\n      {{#if (not dependencies.hasDependencies)}}\\n        <modal.footer\\n          {{did-insert this.focusPrimaryButton}}\\n          @primaryButton={{hash\\n            label=\\\"Delete\\\"\\n            type=\\\"destructive\\\"\\n            action=(perform this.deleteTag)\\n          }}\\n          @secondaryButton={{hash\\n            label=\\\"Cancel\\\"\\n            action=@onClose\\n          }}\\n        />\\n      {{else}}\\n        <modal.footer\\n          {{did-insert this.focusPrimaryButton}}\\n          @primaryButton={{hash\\n            label=\\\"Okay\\\"\\n            action=@onClose\\n          }}\\n        />\\n      {{/if}}\\n    {{/if}}\\n  </IcModal>\\n</Settings::TagDependencies>\\n\", {\"contents\":\"<Settings::TagDependencies @tag={{@tag}} as |dependencies|>\\n  <IcModal\\n    @onModalClose={{@onClose}}\\n    @size=\\\"m\\\"\\n    @isOpen={{@tag}}\\n    @focusElement=\\\"body\\\" as |modal|\\n  >\\n    <modal.header @title={{concat \\\"Delete “\\\" @tag.name \\\"”\\\"}}/>\\n    <modal.body>\\n      {{#if dependencies.isRunning}}\\n        <div class=\\\"u__relative\\\">\\n          <div class=\\\"u__center-item pt-16\\\">\\n            <IcLoadingIndicator @size=\\\"large\\\" />\\n          </div>\\n        </div>\\n      {{else if (not dependencies.hasDependencies)}}\\n        Are you sure you want to delete this tag? Tag deletion can take some time to complete.\\n      {{else}}\\n        <p class=\\\"mb-2\\\">\\n          You cannot delete this tag, as it&rsquo;s used elsewhere.\\n        </p>\\n        <dependencies.Info />\\n      {{/if}}\\n    </modal.body>\\n\\n    {{#if (not dependencies.isRunning)}}\\n      {{#if (not dependencies.hasDependencies)}}\\n        <modal.footer\\n          {{did-insert this.focusPrimaryButton}}\\n          @primaryButton={{hash\\n            label=\\\"Delete\\\"\\n            type=\\\"destructive\\\"\\n            action=(perform this.deleteTag)\\n          }}\\n          @secondaryButton={{hash\\n            label=\\\"Cancel\\\"\\n            action=@onClose\\n          }}\\n        />\\n      {{else}}\\n        <modal.footer\\n          {{did-insert this.focusPrimaryButton}}\\n          @primaryButton={{hash\\n            label=\\\"Okay\\\"\\n            action=@onClose\\n          }}\\n        />\\n      {{/if}}\\n    {{/if}}\\n  </IcModal>\\n</Settings::TagDependencies>\\n\",\"moduleName\":\"embercom/components/settings/tag-deletion-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/tag-deletion-modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class TagDeletionModal extends Component {\n  @service intercomEventService;\n  @service notificationsService;\n  @service appService;\n  @service modelDataCacheService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  @task({ drop: true })\n  *deleteTag() {\n    try {\n      let tag = this.args.tag;\n      yield tag.destroyRecord();\n      this.app.tags.removeObject(tag);\n      this.app.updateLocalCache(this.modelDataCacheService);\n      this.notificationsService.notifyConfirmation(`${tag.name} was deleted`);\n      this.args.onClose({ success: true });\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'deleted',\n        object: tag,\n      });\n    } catch (error) {\n      console.error(error);\n      this.notificationsService.notifyError('Delete request failed, please try again.');\n      this.args.onClose({ success: false });\n    }\n  }\n\n  @action\n  focusPrimaryButton(element) {\n    let buttonElement = element.querySelector('button[class*=\"o__primary\"]');\n    if (buttonElement) {\n      buttonElement.focus();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{yield (hash\\n  isRunning=this.checkForDependents.isRunning\\n  hasDependencies=this.hasDependencies\\n  Info=(component \\\"settings/tag-dependencies/info\\\" tag=@tag dependencies=this.dependencies)\\n)}}\\n\", {\"contents\":\"{{yield (hash\\n  isRunning=this.checkForDependents.isRunning\\n  hasDependencies=this.hasDependencies\\n  Info=(component \\\"settings/tag-dependencies/info\\\" tag=@tag dependencies=this.dependencies)\\n)}}\\n\",\"moduleName\":\"embercom/components/settings/tag-dependencies.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/tag-dependencies.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport ajax from 'embercom/lib/ajax';\nimport { inject as service } from '@ember/service';\n\nexport default class TagDependenciesComponent extends Component {\n  @tracked dependencies;\n\n  @service appService;\n  @service outboundHomeService;\n  @service router;\n\n  constructor() {\n    super(...arguments);\n    this.checkForDependents.perform();\n  }\n\n  hasDependency(name) {\n    if (!this.dependencies) {\n      return false;\n    }\n    return this.dependencies[name]?.length > 0;\n  }\n\n  get hasDependencies() {\n    return (\n      this.hasDependency('dependentSegments') ||\n      this.hasDependency('dependentAutoMessages') ||\n      this.hasDependency('dependentCampaigns') ||\n      this.hasDependency('dependentContents') ||\n      this.hasDependency('dependentTagRules') ||\n      this.hasDependency('dependentPriorityRules') ||\n      this.hasDependency('dependentSlaRules') ||\n      this.hasDependency('dependentAssignmentRules') ||\n      this.hasDependency('dependentWorkflows')\n    );\n  }\n\n  @task\n  *checkForDependents() {\n    if (!this.args.tag) {\n      return;\n    }\n\n    let response = yield ajax({\n      url: `/ember/tags/${this.args.tag.id}/dependent_objects`,\n      type: 'GET',\n      data: {\n        app_id: this.appService.app.id,\n      },\n    });\n\n    this.dependencies = {\n      dependentSegments: response.table.dependent_segments,\n      dependentAutoMessages: response.table.dependent_auto_messages,\n      dependentCampaigns: response.table.dependent_campaigns,\n      dependentContents: response.table.dependent_contents,\n      dependentTagRules: response.table.dependent_tag_rules,\n      dependentPriorityRules: response.table.dependent_priority_rules,\n      dependentSlaRules: response.table.dependent_sla_rules,\n      dependentAssignmentRules: response.table.dependent_assignment_rules,\n      dependentWorkflows: response.table.dependent_workflows,\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @dependencies.dependentSegments}}\\n  <h3 class=\\\"t__h3\\\">\\n    It&rsquo;s used in the following segments:\\n  </h3>\\n  <ul>\\n    {{#each @dependencies.dependentSegments as |segment|}}\\n      <li>\\n        {{#if segment.is_company}}\\n          <LinkTo\\n            @route=\\\"apps.app.companies.segments.segment\\\"\\n            @model={{segment._id}}\\n            target=\\\"_blank\\\"\\n          >\\n            {{segment.name}}\\n          </LinkTo>\\n        {{else}}\\n          <LinkTo\\n            @route=\\\"apps.app.users.segments.segment\\\"\\n            @model={{segment._id}}\\n            target=\\\"_blank\\\"\\n          >\\n            {{segment.name}}\\n          </LinkTo>\\n        {{/if}}\\n      </li>\\n    {{/each}}\\n  </ul>\\n  <div class=\\\"h-2\\\"></div>\\n{{/if}}\\n{{#if @dependencies.dependentCampaigns}}\\n  <h3 class=\\\"t__h3\\\">\\n    It&rsquo;s used in the following campaigns:\\n  </h3>\\n  <ul>\\n    {{#each @dependencies.dependentCampaigns as |campaign|}}\\n      <li>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.messages.auto.campaigns.campaign\\\"\\n          @model={{campaign.id}}\\n          target=\\\"_blank\\\"\\n        >\\n          {{campaign.title}}\\n        </LinkTo>\\n      </li>\\n    {{/each}}\\n  </ul>\\n{{/if}}\\n{{#if @dependencies.dependentAutoMessages}}\\n  <h3 class=\\\"t__h3\\\">\\n    It&rsquo;s used in the following auto-messages:\\n  </h3>\\n  <ul>\\n    {{#each @dependencies.dependentAutoMessages as |autoMessage|}}\\n      <li>\\n        <LinkTo\\n          @route=\\\"apps.app.messages.message\\\"\\n          @model={{autoMessage.id}}\\n          target=\\\"_blank\\\"\\n        >\\n          {{autoMessage.title}}\\n        </LinkTo>\\n      </li>\\n    {{/each}}\\n  </ul>\\n{{/if}}\\n{{#if @dependencies.dependentContents}}\\n  <h3 class=\\\"t__h3\\\">\\n    It&rsquo;s used to tag {{@dependencies.dependentContents.length}} message{{if (gt @dependencies.dependentContents.length 1) 's'}}.\\n  </h3>\\n  <div class=\\\"h-5\\\"></div>\\n  <a {{on \\\"click\\\" this.transitionToTaggedMessages}} data-test-tagged-messages>\\n    <Text @linkStyling=\\\"inline\\\">Go to tagged message(s)</Text>\\n  </a>\\n  <div class=\\\"h-2\\\"></div>\\n{{/if}}\\n{{#if @dependencies.dependentAssignmentRules}}\\n  <h3 class=\\\"t__h3\\\">\\n    It&rsquo;s used in the following assignment rules:\\n  </h3>\\n  <ul>\\n    {{#each @dependencies.dependentAssignmentRules as |assignmentRule|}}\\n      <li>\\n        <LinkTo\\n          @route=\\\"apps.app.inbox.automation.assignment\\\"\\n          @query={{hash id=assignmentRule.id}}\\n          target=\\\"_blank\\\"\\n        >\\n          {{assignmentRule.name}}\\n        </LinkTo>\\n      </li>\\n    {{/each}}\\n  </ul>\\n{{/if}}\\n{{#if @dependencies.dependentTagRules}}\\n  <h3 class=\\\"t__h3\\\">\\n    It&rsquo;s used in the following tag rules:\\n  </h3>\\n  <ul>\\n    {{#each @dependencies.dependentTagRules as |tagRule|}}\\n      <li>\\n        <LinkTo\\n          @route=\\\"apps.app.inbox.automation.tag\\\"\\n          @query={{hash id=tagRule.id}}\\n          target=\\\"_blank\\\"\\n        >\\n          {{tagRule.name}}\\n        </LinkTo>\\n      </li>\\n    {{/each}}\\n  </ul>\\n{{/if}}\\n{{#if @dependencies.dependentPriorityRules}}\\n  <h3 class=\\\"t__h3\\\">\\n    It&rsquo;s used in the following priority rules:\\n  </h3>\\n  <ul>\\n    {{#each @dependencies.dependentPriorityRules as |priorityRule|}}\\n      <li>\\n        <LinkTo\\n          @route=\\\"apps.app.inbox.automation.priority\\\"\\n          @query={{hash id=priorityRule.id}}\\n          target=\\\"_blank\\\"\\n        >\\n          {{priorityRule.name}}\\n        </LinkTo>\\n      </li>\\n    {{/each}}\\n  </ul>\\n{{/if}}\\n{{#if @dependencies.dependentSlaRules}}\\n  <h3 class=\\\"t__h3\\\">\\n    It&rsquo;s used in the following SLA rules:\\n  </h3>\\n  <ul>\\n    {{#each @dependencies.dependentSlaRules as |slaRule|}}\\n      <li>\\n        <LinkTo\\n          @route=\\\"apps.app.inbox.automation.sla\\\"\\n          @query={{hash id=slaRule.id}}\\n          target=\\\"_blank\\\"\\n        >\\n          {{slaRule.name}}\\n        </LinkTo>\\n      </li>\\n    {{/each}}\\n  </ul>\\n{{/if}}\\n{{#if @dependencies.dependentWorkflows}}\\n  <h3 class=\\\"t__h3\\\">\\n    It&rsquo;s used in the following rules:\\n  </h3>\\n  <ul>\\n    {{#each @dependencies.dependentWorkflows as |workflow|}}\\n      <li>\\n        <LinkTo\\n          @route=\\\"apps.app.inbox.automation.workflows.edit\\\"\\n          @model={{workflow.id}}\\n          target=\\\"_blank\\\"\\n        >\\n          {{workflow.name}}\\n        </LinkTo>\\n      </li>\\n    {{/each}}\\n  </ul>\\n{{/if}}\\n\", {\"contents\":\"{{#if @dependencies.dependentSegments}}\\n  <h3 class=\\\"t__h3\\\">\\n    It&rsquo;s used in the following segments:\\n  </h3>\\n  <ul>\\n    {{#each @dependencies.dependentSegments as |segment|}}\\n      <li>\\n        {{#if segment.is_company}}\\n          <LinkTo\\n            @route=\\\"apps.app.companies.segments.segment\\\"\\n            @model={{segment._id}}\\n            target=\\\"_blank\\\"\\n          >\\n            {{segment.name}}\\n          </LinkTo>\\n        {{else}}\\n          <LinkTo\\n            @route=\\\"apps.app.users.segments.segment\\\"\\n            @model={{segment._id}}\\n            target=\\\"_blank\\\"\\n          >\\n            {{segment.name}}\\n          </LinkTo>\\n        {{/if}}\\n      </li>\\n    {{/each}}\\n  </ul>\\n  <div class=\\\"h-2\\\"></div>\\n{{/if}}\\n{{#if @dependencies.dependentCampaigns}}\\n  <h3 class=\\\"t__h3\\\">\\n    It&rsquo;s used in the following campaigns:\\n  </h3>\\n  <ul>\\n    {{#each @dependencies.dependentCampaigns as |campaign|}}\\n      <li>\\n        <LinkTo\\n          @route=\\\"apps.app.outbound.messages.auto.campaigns.campaign\\\"\\n          @model={{campaign.id}}\\n          target=\\\"_blank\\\"\\n        >\\n          {{campaign.title}}\\n        </LinkTo>\\n      </li>\\n    {{/each}}\\n  </ul>\\n{{/if}}\\n{{#if @dependencies.dependentAutoMessages}}\\n  <h3 class=\\\"t__h3\\\">\\n    It&rsquo;s used in the following auto-messages:\\n  </h3>\\n  <ul>\\n    {{#each @dependencies.dependentAutoMessages as |autoMessage|}}\\n      <li>\\n        <LinkTo\\n          @route=\\\"apps.app.messages.message\\\"\\n          @model={{autoMessage.id}}\\n          target=\\\"_blank\\\"\\n        >\\n          {{autoMessage.title}}\\n        </LinkTo>\\n      </li>\\n    {{/each}}\\n  </ul>\\n{{/if}}\\n{{#if @dependencies.dependentContents}}\\n  <h3 class=\\\"t__h3\\\">\\n    It&rsquo;s used to tag {{@dependencies.dependentContents.length}} message{{if (gt @dependencies.dependentContents.length 1) 's'}}.\\n  </h3>\\n  <div class=\\\"h-5\\\"></div>\\n  <a {{on \\\"click\\\" this.transitionToTaggedMessages}} data-test-tagged-messages>\\n    <Text @linkStyling=\\\"inline\\\">Go to tagged message(s)</Text>\\n  </a>\\n  <div class=\\\"h-2\\\"></div>\\n{{/if}}\\n{{#if @dependencies.dependentAssignmentRules}}\\n  <h3 class=\\\"t__h3\\\">\\n    It&rsquo;s used in the following assignment rules:\\n  </h3>\\n  <ul>\\n    {{#each @dependencies.dependentAssignmentRules as |assignmentRule|}}\\n      <li>\\n        <LinkTo\\n          @route=\\\"apps.app.inbox.automation.assignment\\\"\\n          @query={{hash id=assignmentRule.id}}\\n          target=\\\"_blank\\\"\\n        >\\n          {{assignmentRule.name}}\\n        </LinkTo>\\n      </li>\\n    {{/each}}\\n  </ul>\\n{{/if}}\\n{{#if @dependencies.dependentTagRules}}\\n  <h3 class=\\\"t__h3\\\">\\n    It&rsquo;s used in the following tag rules:\\n  </h3>\\n  <ul>\\n    {{#each @dependencies.dependentTagRules as |tagRule|}}\\n      <li>\\n        <LinkTo\\n          @route=\\\"apps.app.inbox.automation.tag\\\"\\n          @query={{hash id=tagRule.id}}\\n          target=\\\"_blank\\\"\\n        >\\n          {{tagRule.name}}\\n        </LinkTo>\\n      </li>\\n    {{/each}}\\n  </ul>\\n{{/if}}\\n{{#if @dependencies.dependentPriorityRules}}\\n  <h3 class=\\\"t__h3\\\">\\n    It&rsquo;s used in the following priority rules:\\n  </h3>\\n  <ul>\\n    {{#each @dependencies.dependentPriorityRules as |priorityRule|}}\\n      <li>\\n        <LinkTo\\n          @route=\\\"apps.app.inbox.automation.priority\\\"\\n          @query={{hash id=priorityRule.id}}\\n          target=\\\"_blank\\\"\\n        >\\n          {{priorityRule.name}}\\n        </LinkTo>\\n      </li>\\n    {{/each}}\\n  </ul>\\n{{/if}}\\n{{#if @dependencies.dependentSlaRules}}\\n  <h3 class=\\\"t__h3\\\">\\n    It&rsquo;s used in the following SLA rules:\\n  </h3>\\n  <ul>\\n    {{#each @dependencies.dependentSlaRules as |slaRule|}}\\n      <li>\\n        <LinkTo\\n          @route=\\\"apps.app.inbox.automation.sla\\\"\\n          @query={{hash id=slaRule.id}}\\n          target=\\\"_blank\\\"\\n        >\\n          {{slaRule.name}}\\n        </LinkTo>\\n      </li>\\n    {{/each}}\\n  </ul>\\n{{/if}}\\n{{#if @dependencies.dependentWorkflows}}\\n  <h3 class=\\\"t__h3\\\">\\n    It&rsquo;s used in the following rules:\\n  </h3>\\n  <ul>\\n    {{#each @dependencies.dependentWorkflows as |workflow|}}\\n      <li>\\n        <LinkTo\\n          @route=\\\"apps.app.inbox.automation.workflows.edit\\\"\\n          @model={{workflow.id}}\\n          target=\\\"_blank\\\"\\n        >\\n          {{workflow.name}}\\n        </LinkTo>\\n      </li>\\n    {{/each}}\\n  </ul>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/settings/tag-dependencies/info.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/tag-dependencies/info.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class TagDependenciesComponent extends Component {\n  @service outboundHomeService;\n  @service router;\n\n  @action\n  transitionToTaggedMessages() {\n    this.outboundHomeService.resetFilters();\n    this.outboundHomeService.set('selectedTagValues', [this.args.tag.id]);\n    this.router.transitionTo('apps.app.messages.all');\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @loading}}\\n  <span class=\\\"settings__tags__cell-loading\\\"></span>\\n{{else if @count}}\\n  <Text @linkStyling=\\\"standalone\\\">\\n    {{#if @onClick}}\\n      <a {{on 'click' @onClick}}>{{@count}}</a>\\n    {{else}}\\n      <a href=\\\"{{@link}}\\\">{{@count}}</a>\\n    {{/if}}\\n  </Text>\\n{{else}}\\n  <Text @styling=\\\"muted\\\">\\n    {{@count}}\\n  </Text>\\n{{/if}}\\n\", {\"contents\":\"{{#if @loading}}\\n  <span class=\\\"settings__tags__cell-loading\\\"></span>\\n{{else if @count}}\\n  <Text @linkStyling=\\\"standalone\\\">\\n    {{#if @onClick}}\\n      <a {{on 'click' @onClick}}>{{@count}}</a>\\n    {{else}}\\n      <a href=\\\"{{@link}}\\\">{{@count}}</a>\\n    {{/if}}\\n  </Text>\\n{{else}}\\n  <Text @styling=\\\"muted\\\">\\n    {{@count}}\\n  </Text>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/settings/tag-usage-link.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/tag-usage-link.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col mb-6\\\">\\n  <Paragraph class=\\\"mb-3\\\">\\n    <Text @styling=\\\"strong\\\">Conversation access</Text>\\n  </Paragraph>\\n\\n  <div class=\\\"flex flex-row justify-between settings__teammate__permissions-editor__permission-toggle-row pl-2 pr-2\\\" data-test-conversation-access-editor>\\n    <div class=\\\"flex flex-col justify-center flex-1\\\">\\n      <Paragraph>\\n        Can access\\n      </Paragraph>\\n    </div>\\n\\n    <div class=\\\"flex flex-col justify-center mt-3 mb-3\\\">\\n      {{#if (eq this.accessType undefined)}}\\n        <IcButton\\n          data-test-conversation-access-editor-change-button\\n          @type=\\\"secondary\\\"\\n          @label=\\\"Change\\\"\\n          @onClick={{queue (set @roleOrPermissionObject.accessType \\\"all\\\") (optional @onChange)}}\\n          @isDisabled={{@accessDropdownDisabled}}\\n        />\\n      {{else}}\\n        <IcDropdownAndOpenerPair\\n          @isDisabled={{@accessDropdownDisabled}}\\n        as |pair|>\\n          <pair.opener>\\n            <IcTooltip @isDisabled={{not @accessDropdownDisabled}} as |t|>\\n              <t.opener>\\n                <div class=\\\"max-w-128\\\">\\n                  <IcButton\\n                    @label={{this.currentlySelectedItemLabel}}\\n                    @isDropdownOpener={{true}}\\n                    @disabled={{@accessDropdownDisabled}}\\n                    @truncated={{true}}\\n                    data-test-conversation-access-dropdown-opener\\n                  />\\n                </div>\\n              </t.opener>\\n              <t.content>To change conversation access, select <strong>No role</strong> from the Role menu above.</t.content>\\n            </IcTooltip>\\n          </pair.opener>\\n          <pair.dropdown as |dropdown|>\\n            <dropdown.group class=\\\"pt-3 pl-1\\\" as |group|>\\n              {{#each this.accessOptionItems as |option|}}\\n                <group.item>\\n                  {{#if option.isDisabled}}\\n                    <IcTooltip as |t|>\\n                      <t.opener>\\n                        <Settings::Teammates::ConversationAccessSelectItem\\n                          @label={{option.text}}\\n                          @value={{option.value}}\\n                          @currentlySelectedValue={{@roleOrPermissionObject.accessType}}\\n                          @isDisabled={{true}}\\n                          @onChange={{this.noop}}\\n                        />\\n                      </t.opener>\\n\\n                      <t.content>You don't have any teams yet</t.content>\\n                    </IcTooltip>\\n                  {{else}}\\n                    <Settings::Teammates::ConversationAccessSelectItem\\n                      @label={{if option.selectLabel option.selectLabel option.text}}\\n                      @value={{option.value}}\\n                      @currentlySelectedValue={{@roleOrPermissionObject.accessType}}\\n                      @isDisabled={{option.isDisabled}}\\n                      @onChange={{this.setOption}}\\n                    />\\n\\n                    {{#if (and (eq option.value \\\"all_except\\\") (eq this.accessType \\\"all_except\\\"))}}\\n                      <IcMultiselect\\n                        @label={{this.teamMultiselectLabel}}\\n                        @items={{this.teamSelectItems}}\\n                        @onSelectionChange={{this.setExcludedTeams}}\\n                        @hasFilter={{true}}\\n                        @filterPlaceholder=\\\"Search teams...\\\"\\n                        @mode=\\\"block\\\"\\n                        @onClose={{this.updateExcludedAssignees}}\\n                      />\\n                    {{/if}}\\n\\n                    {{#if (and (eq option.value \\\"only_them\\\") (eq this.accessType \\\"only_them\\\"))}}\\n                      <Form as |form|>\\n                        <form.Item as |item|>\\n                          <item.Checkbox\\n                            @checked={{@roleOrPermissionObject.includeUnassigned}}\\n                            @label=\\\"And unassigned conversations\\\"\\n                          />\\n                        </form.Item>\\n                      </Form>\\n                    {{/if}}\\n\\n                    {{#if (and (eq option.value \\\"only_them_or_their_teams\\\") (eq this.accessType \\\"only_them_or_their_teams\\\"))}}\\n                      <Form as |form|>\\n                        <form.Item as |item|>\\n                          <item.Checkbox\\n                            @checked={{@roleOrPermissionObject.includeUnassigned}}\\n                            @label=\\\"And unassigned conversations\\\"\\n                          />\\n                        </form.Item>\\n                      </Form>\\n                    {{/if}}\\n                  {{/if}}\\n                </group.item>\\n              {{/each}}\\n            </dropdown.group>\\n\\n            <dropdown.group as |group|>\\n              <div class=\\\"py-1 text-center\\\">\\n                <group.item\\n                  @item={{hash description=\\\"Done\\\" text=\\\"Done\\\"}}\\n                  @onClick={{fn this.closeDropdown dropdown}}\\n                />\\n              </div>\\n            </dropdown.group>\\n\\n          </pair.dropdown>\\n        </IcDropdownAndOpenerPair>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col mb-6\\\">\\n  <Paragraph class=\\\"mb-3\\\">\\n    <Text @styling=\\\"strong\\\">Conversation access</Text>\\n  </Paragraph>\\n\\n  <div class=\\\"flex flex-row justify-between settings__teammate__permissions-editor__permission-toggle-row pl-2 pr-2\\\" data-test-conversation-access-editor>\\n    <div class=\\\"flex flex-col justify-center flex-1\\\">\\n      <Paragraph>\\n        Can access\\n      </Paragraph>\\n    </div>\\n\\n    <div class=\\\"flex flex-col justify-center mt-3 mb-3\\\">\\n      {{#if (eq this.accessType undefined)}}\\n        <IcButton\\n          data-test-conversation-access-editor-change-button\\n          @type=\\\"secondary\\\"\\n          @label=\\\"Change\\\"\\n          @onClick={{queue (set @roleOrPermissionObject.accessType \\\"all\\\") (optional @onChange)}}\\n          @isDisabled={{@accessDropdownDisabled}}\\n        />\\n      {{else}}\\n        <IcDropdownAndOpenerPair\\n          @isDisabled={{@accessDropdownDisabled}}\\n        as |pair|>\\n          <pair.opener>\\n            <IcTooltip @isDisabled={{not @accessDropdownDisabled}} as |t|>\\n              <t.opener>\\n                <div class=\\\"max-w-128\\\">\\n                  <IcButton\\n                    @label={{this.currentlySelectedItemLabel}}\\n                    @isDropdownOpener={{true}}\\n                    @disabled={{@accessDropdownDisabled}}\\n                    @truncated={{true}}\\n                    data-test-conversation-access-dropdown-opener\\n                  />\\n                </div>\\n              </t.opener>\\n              <t.content>To change conversation access, select <strong>No role</strong> from the Role menu above.</t.content>\\n            </IcTooltip>\\n          </pair.opener>\\n          <pair.dropdown as |dropdown|>\\n            <dropdown.group class=\\\"pt-3 pl-1\\\" as |group|>\\n              {{#each this.accessOptionItems as |option|}}\\n                <group.item>\\n                  {{#if option.isDisabled}}\\n                    <IcTooltip as |t|>\\n                      <t.opener>\\n                        <Settings::Teammates::ConversationAccessSelectItem\\n                          @label={{option.text}}\\n                          @value={{option.value}}\\n                          @currentlySelectedValue={{@roleOrPermissionObject.accessType}}\\n                          @isDisabled={{true}}\\n                          @onChange={{this.noop}}\\n                        />\\n                      </t.opener>\\n\\n                      <t.content>You don't have any teams yet</t.content>\\n                    </IcTooltip>\\n                  {{else}}\\n                    <Settings::Teammates::ConversationAccessSelectItem\\n                      @label={{if option.selectLabel option.selectLabel option.text}}\\n                      @value={{option.value}}\\n                      @currentlySelectedValue={{@roleOrPermissionObject.accessType}}\\n                      @isDisabled={{option.isDisabled}}\\n                      @onChange={{this.setOption}}\\n                    />\\n\\n                    {{#if (and (eq option.value \\\"all_except\\\") (eq this.accessType \\\"all_except\\\"))}}\\n                      <IcMultiselect\\n                        @label={{this.teamMultiselectLabel}}\\n                        @items={{this.teamSelectItems}}\\n                        @onSelectionChange={{this.setExcludedTeams}}\\n                        @hasFilter={{true}}\\n                        @filterPlaceholder=\\\"Search teams...\\\"\\n                        @mode=\\\"block\\\"\\n                        @onClose={{this.updateExcludedAssignees}}\\n                      />\\n                    {{/if}}\\n\\n                    {{#if (and (eq option.value \\\"only_them\\\") (eq this.accessType \\\"only_them\\\"))}}\\n                      <Form as |form|>\\n                        <form.Item as |item|>\\n                          <item.Checkbox\\n                            @checked={{@roleOrPermissionObject.includeUnassigned}}\\n                            @label=\\\"And unassigned conversations\\\"\\n                          />\\n                        </form.Item>\\n                      </Form>\\n                    {{/if}}\\n\\n                    {{#if (and (eq option.value \\\"only_them_or_their_teams\\\") (eq this.accessType \\\"only_them_or_their_teams\\\"))}}\\n                      <Form as |form|>\\n                        <form.Item as |item|>\\n                          <item.Checkbox\\n                            @checked={{@roleOrPermissionObject.includeUnassigned}}\\n                            @label=\\\"And unassigned conversations\\\"\\n                          />\\n                        </form.Item>\\n                      </Form>\\n                    {{/if}}\\n                  {{/if}}\\n                </group.item>\\n              {{/each}}\\n            </dropdown.group>\\n\\n            <dropdown.group as |group|>\\n              <div class=\\\"py-1 text-center\\\">\\n                <group.item\\n                  @item={{hash description=\\\"Done\\\" text=\\\"Done\\\"}}\\n                  @onClick={{fn this.closeDropdown dropdown}}\\n                />\\n              </div>\\n            </dropdown.group>\\n\\n          </pair.dropdown>\\n        </IcDropdownAndOpenerPair>\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/teammates/conversation-access-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/conversation-access-editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport intermoji from '@intercom/intermoji';\nimport { htmlSafe } from '@ember/string';\n\nexport default class ConversationAccessEditor extends Component {\n  @service appService;\n\n  initialAssigneeBlockedList = this.assigneeBlockedList || [];\n\n  @tracked selectedAssigneeBlockedList = this.initialAssigneeBlockedList;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get accessType() {\n    if (this.overrideWithRole) {\n      return this.preselectedRole.accessType;\n    } else {\n      return this.args.roleOrPermissionObject.accessType;\n    }\n  }\n\n  get assigneeBlockedList() {\n    if (this.overrideWithRole) {\n      return this.preselectedRole.assigneeBlockedList;\n    } else {\n      return this.args.roleOrPermissionObject.assigneeBlockedList;\n    }\n  }\n\n  get preselectedRole() {\n    return this.args.roleOrPermissionObject.role;\n  }\n\n  get overrideWithRole() {\n    return !!(this.preselectedRole && this.args.accessDropdownDisabled);\n  }\n\n  get noTeamsForApp() {\n    return this.app.assignableTeams.length === 0;\n  }\n\n  get accessOptionItems() {\n    let disableableComponentAttrs = {\n      selectedValue: this.accessType,\n      buttonDisabled: this.noTeamsForApp,\n    };\n    let componentAttrs = {\n      selectedValue: this.accessType,\n      buttonDisabled: false,\n    };\n\n    return [\n      {\n        text: 'All conversations',\n        value: 'all',\n        isDisabled: false,\n        componentAttrs,\n      },\n      {\n        text: this.exceptAssignedLabel,\n        selectLabel: 'All conversations except assigned to',\n        value: 'all_except',\n        isDisabled: this.noTeamsForApp,\n        componentAttrs: disableableComponentAttrs,\n      },\n      {\n        text: 'Conversations assigned to them only',\n        value: 'only_them',\n        isDisabled: false,\n        componentAttrs,\n      },\n      {\n        text: 'Conversations assigned to their teams only',\n        value: 'only_them_or_their_teams',\n        isDisabled: this.noTeamsForApp,\n        componentAttrs: disableableComponentAttrs,\n      },\n    ];\n  }\n\n  get currentlySelectedItemLabel() {\n    return this.accessOptionItems.findBy('value', this.accessType).text;\n  }\n\n  get exceptAssignedLabel() {\n    let baseLabel = 'All conversations except assigned to';\n\n    if (\n      (this.overrideWithRole && this.assigneeBlockedList?.length > 0) ||\n      this.selectedAssigneeBlockedList.length > 0\n    ) {\n      let ids = this.overrideWithRole ? this.assigneeBlockedList : this.selectedAssigneeBlockedList;\n      let teams = this.filterTeams(ids);\n      baseLabel += ` ${this.stringifiedTeamNames(teams)}`;\n    } else {\n      baseLabel += '...';\n    }\n\n    return baseLabel;\n  }\n\n  get sortedTeams() {\n    return this.app.assignableTeams.sortBy('name');\n  }\n\n  get teamMultiselectLabel() {\n    if (this.excludedTeams.length > 0) {\n      return this.stringifiedTeamNames(this.excludedTeams);\n    } else {\n      return 'Select teams';\n    }\n  }\n\n  filterTeams(ids) {\n    return this.sortedTeams.filter(({ id }) => ids.includes(id));\n  }\n\n  stringifiedTeamNames(teamsToStringify) {\n    return teamsToStringify.mapBy('name').join(', ');\n  }\n\n  get excludedTeams() {\n    return this.filterTeams(this.selectedAssigneeBlockedList);\n  }\n\n  get teamSelectItems() {\n    return this.sortedTeams.map(({ name, id, avatar_emoji }) => ({\n      text: name,\n      value: id,\n      isSelected: this.selectedAssigneeBlockedList.includes(id),\n      component: 'settings/teammates/conversation-access-team-item',\n      componentAttrs: { teamAvatar: this.generateSafeEmoji(avatar_emoji) },\n    }));\n  }\n\n  @action setExcludedTeams(teamsToExclude) {\n    this.selectedAssigneeBlockedList = teamsToExclude;\n  }\n\n  @action resetExcludedTeamSelection() {\n    this.selectedAssigneeBlockedList = this.initialAssigneeBlockedList;\n  }\n\n  @action setOption(value) {\n    this.args.roleOrPermissionObject.accessType = value;\n    if (value !== 'all_except') {\n      this.resetExcludedTeamSelection();\n    }\n  }\n\n  @action updateExcludedAssignees() {\n    this.args.roleOrPermissionObject.assigneeBlockedList = this.selectedAssigneeBlockedList;\n  }\n\n  @action closeDropdown(dropdown) {\n    dropdown.hideDropdownOverlay();\n  }\n\n  @action generateSafeEmoji(emoji) {\n    return htmlSafe(\n      intermoji.fallbackImage(16, intermoji.getEmojiFromSupportedTwemoji(emoji), 'emoji__image'),\n    );\n  }\n\n  @action noop() {}\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip as |t|>\\n  <t.opener>\\n    <Settings::Teammates::ConversationAccessSelectItem\\n      @item={{@item}}\\n      @componentAttrs={{@componentAttrs}}\\n    />\\n  </t.opener>\\n\\n  <t.content>You don't have any teams yet</t.content>\\n</IcTooltip>\\n\", {\"contents\":\"<IcTooltip as |t|>\\n  <t.opener>\\n    <Settings::Teammates::ConversationAccessSelectItem\\n      @item={{@item}}\\n      @componentAttrs={{@componentAttrs}}\\n    />\\n  </t.opener>\\n\\n  <t.content>You don't have any teams yet</t.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/settings/teammates/conversation-access-select-item-disabled.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/conversation-access-select-item-disabled.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Form as |form|>\\n  <form.Item as |item|>\\n    <item.RadioGroup @selected={{@currentlySelectedValue}} as |group|>\\n      <group.RadioButton\\n        @label={{@label}}\\n        @value={{@value}}\\n        @disabled={{@isDisabled}}\\n        @onchange={{@onChange}}\\n      />\\n    </item.RadioGroup>\\n  </form.Item>\\n</Form>\\n\", {\"contents\":\"<Form as |form|>\\n  <form.Item as |item|>\\n    <item.RadioGroup @selected={{@currentlySelectedValue}} as |group|>\\n      <group.RadioButton\\n        @label={{@label}}\\n        @value={{@value}}\\n        @disabled={{@isDisabled}}\\n        @onchange={{@onChange}}\\n      />\\n    </item.RadioGroup>\\n  </form.Item>\\n</Form>\\n\",\"moduleName\":\"embercom/components/settings/teammates/conversation-access-select-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/conversation-access-select-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span class=\\\"pr-2\\\">{{@componentAttrs.teamAvatar}}</span>{{@item.text}}\\n\", {\"contents\":\"<span class=\\\"pr-2\\\">{{@componentAttrs.teamAvatar}}</span>{{@item.text}}\\n\",\"moduleName\":\"embercom/components/settings/teammates/conversation-access-team-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/conversation-access-team-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div {{did-update this.loadDataWhenChanged @dependentValue}} {{did-insert this.loadDataWhenChanged}} class=\\\"u__relative\\\" ...attributes>\\n  {{#if @loadDataTask.lastComplete}}\\n    {{#if @loadDataTask.lastComplete.isSuccessful}}\\n      {{yield @loadDataTask.lastComplete.value}}\\n    {{else}}\\n      {{yield}}\\n    {{/if}}\\n  {{/if}}\\n  {{#if @loadDataTask.isRunning}}\\n    <div class=\\\"absolute inset-0 bg-white opacity-50\\\">\\n      <IcLoadingIndicator @size=\\\"tiny\\\" class=\\\"u__center-item\\\" />\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div {{did-update this.loadDataWhenChanged @dependentValue}} {{did-insert this.loadDataWhenChanged}} class=\\\"u__relative\\\" ...attributes>\\n  {{#if @loadDataTask.lastComplete}}\\n    {{#if @loadDataTask.lastComplete.isSuccessful}}\\n      {{yield @loadDataTask.lastComplete.value}}\\n    {{else}}\\n      {{yield}}\\n    {{/if}}\\n  {{/if}}\\n  {{#if @loadDataTask.isRunning}}\\n    <div class=\\\"absolute inset-0 bg-white opacity-50\\\">\\n      <IcLoadingIndicator @size=\\\"tiny\\\" class=\\\"u__center-item\\\" />\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/teammates/data-loader.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/data-loader.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class DataLoader extends Component {\n  previousValue;\n\n  @action\n  loadDataWhenChanged() {\n    if (JSON.stringify(this.previousValue) !== JSON.stringify(this.args.dependentValue)) {\n      this.previousValue = this.args.dependentValue;\n      this.args.loadDataTask.perform();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.customerUsesInboxSeats}}\\n  <Settings::Teammates::DataLoader @loadDataTask={{this.loadData}} @dependentValue={{@numberOfSeatsRequired}} ...attributes as |seatInfo|>\\n    {{yield seatInfo}}\\n  </Settings::Teammates::DataLoader>\\n{{else}}\\n  {{yield}}\\n{{/if}}\", {\"contents\":\"{{#if this.customerUsesInboxSeats}}\\n  <Settings::Teammates::DataLoader @loadDataTask={{this.loadData}} @dependentValue={{@numberOfSeatsRequired}} ...attributes as |seatInfo|>\\n    {{yield seatInfo}}\\n  </Settings::Teammates::DataLoader>\\n{{else}}\\n  {{yield}}\\n{{/if}}\",\"moduleName\":\"embercom/components/settings/teammates/inbox-seat-info.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/inbox-seat-info.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\nimport { getInboxSeatInfo } from 'embercom/lib/admins/inbox-seat-info';\nimport { inject as service } from '@ember/service';\n\nexport default class InboxSeatInfo extends Component {\n  @service appService;\n\n  get numberOfSeatsRequired() {\n    return this.args.numberOfSeatsRequired || 1;\n  }\n\n  get customerUsesInboxSeats() {\n    return this.appService.app.activePricingMetrics.includes('inbox_seats');\n  }\n\n  @task *loadData() {\n    return yield getInboxSeatInfo(this.numberOfSeatsRequired);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (and @app.requiresInboxSeatAccess @teammate.hasInboxAccess)}}\\n  <IcBanner @type=\\\"warning\\\">\\n    You’re about to remove this teammate with an Inbox seat from {{@app.name}}.\\n    <Settings::Teammates::InboxSeatInfo as |seatInfo|>\\n      {{#if seatInfo}}\\n        {{#if (gt seatInfo.numberOfSeatsAvailable 0)}}\\n          The cost of your subscription will not change.\\n        {{else}}\\n          Removing a seat will <strong>decrease your subscription by {{seatInfo.formattedPricePerSeat}}.</strong>\\n        {{/if}}\\n      {{else}}\\n        {{!-- if we can't get billing data then at least give a general warning --}}\\n        This may affect the cost of your subscription.\\n      {{/if}}\\n    </Settings::Teammates::InboxSeatInfo>\\n  </IcBanner>\\n{{/if}}\", {\"contents\":\"{{#if (and @app.requiresInboxSeatAccess @teammate.hasInboxAccess)}}\\n  <IcBanner @type=\\\"warning\\\">\\n    You’re about to remove this teammate with an Inbox seat from {{@app.name}}.\\n    <Settings::Teammates::InboxSeatInfo as |seatInfo|>\\n      {{#if seatInfo}}\\n        {{#if (gt seatInfo.numberOfSeatsAvailable 0)}}\\n          The cost of your subscription will not change.\\n        {{else}}\\n          Removing a seat will <strong>decrease your subscription by {{seatInfo.formattedPricePerSeat}}.</strong>\\n        {{/if}}\\n      {{else}}\\n        {{!-- if we can't get billing data then at least give a general warning --}}\\n        This may affect the cost of your subscription.\\n      {{/if}}\\n    </Settings::Teammates::InboxSeatInfo>\\n  </IcBanner>\\n{{/if}}\",\"moduleName\":\"embercom/components/settings/teammates/inbox-seat-removal-banner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/inbox-seat-removal-banner.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"message__in-review-notifier\\\" data-test-invites-blocked-banner>\\n  {{ic-interface-icon 'alert'}}\\n  We've prevented your workspace from sending email, including invites, as your workspace\\n  failed our workspace review process. Please contact customer support or visit\\n  <Pulse::HelpContent::Link\\n    @href=\\\"https://www.intercom.com/help/pricing-privacy-and-terms/intercoms-app-review-process\\\"\\n    @title=\\\"our Help Center\\\"\\n    @type=\\\"article\\\"\\n    @linkStyling=\\\"inline\\\"\\n  />\\n  for more information.\\n</div>\\n\", {\"contents\":\"<div class=\\\"message__in-review-notifier\\\" data-test-invites-blocked-banner>\\n  {{ic-interface-icon 'alert'}}\\n  We've prevented your workspace from sending email, including invites, as your workspace\\n  failed our workspace review process. Please contact customer support or visit\\n  <Pulse::HelpContent::Link\\n    @href=\\\"https://www.intercom.com/help/pricing-privacy-and-terms/intercoms-app-review-process\\\"\\n    @title=\\\"our Help Center\\\"\\n    @type=\\\"article\\\"\\n    @linkStyling=\\\"inline\\\"\\n  />\\n  for more information.\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/teammates/invites-blocked-banner-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/invites-blocked-banner-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcCard \\n  @padding=\\\"none\\\" \\n  @isInteractive={{true}} \\n  class=\\\"settings__teammate__invite__csv-column mb-6 {{if this.isSelected 'o__selected'}}\\\"\\n  {{on \\\"click\\\" (action @onSelected @index)}}\\n  data-test-csv-column=\\\"{{@index}}\\\"\\n  as |card|>\\n  <card.section>\\n    <Heading @size=\\\"2\\\">\\n      Column {{add @index 1}}\\n    </Heading>\\n  </card.section>\\n  <card.section @padding=\\\"none\\\">\\n    {{#if @hasHeader}}\\n      <div class=\\\"layout__box o__flexes-to-1 settings__teammate__invite__csv-column__header-row\\\">\\n        <TruncatedTextComponent>\\n          {{this.headerRow}}\\n        </TruncatedTextComponent>\\n      </div>\\n    {{/if}}\\n    <ol class=\\\"layout__box o__has-rows o__flexes-to-1 settings__teammate__invite__csv-column__rows\\\">\\n      {{#each this.bodyRows as |row|}}\\n        <li class=\\\"layout__box o__flexes-to-1 settings__teammate__invite__csv-column__row\\\">\\n          <TruncatedTextComponent>\\n            {{row}}\\n          </TruncatedTextComponent>\\n        </li>\\n      {{/each}}\\n      <li class=\\\"layout__box o__flexes-to-1 settings__teammate__invite__csv-column__row\\\">\\n        +{{this.rowsLeftCount}} more\\n      </li>\\n    </ol>\\n  </card.section>\\n</IcCard>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcCard \\n  @padding=\\\"none\\\" \\n  @isInteractive={{true}} \\n  class=\\\"settings__teammate__invite__csv-column mb-6 {{if this.isSelected 'o__selected'}}\\\"\\n  {{on \\\"click\\\" (action @onSelected @index)}}\\n  data-test-csv-column=\\\"{{@index}}\\\"\\n  as |card|>\\n  <card.section>\\n    <Heading @size=\\\"2\\\">\\n      Column {{add @index 1}}\\n    </Heading>\\n  </card.section>\\n  <card.section @padding=\\\"none\\\">\\n    {{#if @hasHeader}}\\n      <div class=\\\"layout__box o__flexes-to-1 settings__teammate__invite__csv-column__header-row\\\">\\n        <TruncatedTextComponent>\\n          {{this.headerRow}}\\n        </TruncatedTextComponent>\\n      </div>\\n    {{/if}}\\n    <ol class=\\\"layout__box o__has-rows o__flexes-to-1 settings__teammate__invite__csv-column__rows\\\">\\n      {{#each this.bodyRows as |row|}}\\n        <li class=\\\"layout__box o__flexes-to-1 settings__teammate__invite__csv-column__row\\\">\\n          <TruncatedTextComponent>\\n            {{row}}\\n          </TruncatedTextComponent>\\n        </li>\\n      {{/each}}\\n      <li class=\\\"layout__box o__flexes-to-1 settings__teammate__invite__csv-column__row\\\">\\n        +{{this.rowsLeftCount}} more\\n      </li>\\n    </ol>\\n  </card.section>\\n</IcCard>\\n\",\"moduleName\":\"embercom/components/settings/teammates/invites/csv-column.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/invites/csv-column.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class CsvColumn extends Component {\n  previewRowCount = 6;\n\n  get bodyRows() {\n    let previewRows = this.args.rows.slice(0, this.previewRowCount);\n    return this.args.hasHeader ? previewRows.slice(1) : previewRows;\n  }\n\n  get rowCount() {\n    return this.args.rows.length;\n  }\n\n  get rowsLeftCount() {\n    return Math.max(0, this.rowCount - this.previewRowCount);\n  }\n\n  get headerRow() {\n    return this.args.rows[0];\n  }\n\n  get isSelected() {\n    return this.args.index === this.args.selectedIndex;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"  <div class=\\\"flex flex-row\\\">\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <Common::BreadcrumbsComponent @breadcrumbs={{array\\n        (hash text=\\\"All teammates\\\" route=\\\"apps.app.settings.teammates\\\")\\n      }}\\n      />\\n\\n      <Heading @size=\\\"1\\\" class=\\\"mt-2\\\" data-test-permissions-header-heading>\\n        Change {{@email}} permissions\\n      </Heading>\\n      <Paragraph @styling=\\\"muted\\\" class=\\\"pt-2\\\">\\n        Pending invite\\n      </Paragraph>\\n    </div>\\n    <div class=\\\"flex flex-col justify-center\\\">\\n      <IcButtonList as |list| >\\n        <list.button @label=\\\"Cancel\\\" @type=\\\"secondary\\\" @action={{@onCancel}} data-test-cancel-button />\\n        <list.button\\n          @label=\\\"Save changes\\\"\\n          @type=\\\"primary\\\"\\n          @disabled={{not @permissionsObject.hasDirtyAttributes}}\\n          {{on \\\"click\\\" @saveInvite}}\\n          data-test-permissions-header-save-button />\\n      </IcButtonList>\\n    </div>\\n  </div>\\n\", {\"contents\":\"  <div class=\\\"flex flex-row\\\">\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <Common::BreadcrumbsComponent @breadcrumbs={{array\\n        (hash text=\\\"All teammates\\\" route=\\\"apps.app.settings.teammates\\\")\\n      }}\\n      />\\n\\n      <Heading @size=\\\"1\\\" class=\\\"mt-2\\\" data-test-permissions-header-heading>\\n        Change {{@email}} permissions\\n      </Heading>\\n      <Paragraph @styling=\\\"muted\\\" class=\\\"pt-2\\\">\\n        Pending invite\\n      </Paragraph>\\n    </div>\\n    <div class=\\\"flex flex-col justify-center\\\">\\n      <IcButtonList as |list| >\\n        <list.button @label=\\\"Cancel\\\" @type=\\\"secondary\\\" @action={{@onCancel}} data-test-cancel-button />\\n        <list.button\\n          @label=\\\"Save changes\\\"\\n          @type=\\\"primary\\\"\\n          @disabled={{not @permissionsObject.hasDirtyAttributes}}\\n          {{on \\\"click\\\" @saveInvite}}\\n          data-test-permissions-header-save-button />\\n      </IcButtonList>\\n    </div>\\n  </div>\\n\",\"moduleName\":\"embercom/components/settings/teammates/invites/edit/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/invites/edit/header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"  {{on-window-throttled-resize this.handleWindowResize}}\\n  <div class=\\\"flex flex-row\\\">\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <Common::BreadcrumbsComponent @breadcrumbs={{array\\n        (hash text=\\\"All teammates\\\" route=\\\"apps.app.settings.teammates\\\")\\n        (hash text=\\\"Invite teammates\\\" route=\\\"apps.app.settings.teammates.invite\\\")\\n      }}\\n      />\\n\\n      <Heading @size=\\\"1\\\" class=\\\"mt-2\\\" data-test-permissions-header-heading>\\n        Set permissions\\n      </Heading>\\n    </div>\\n    <div class=\\\"flex flex-col justify-center\\\">\\n      <IcButtonList as |list| >\\n        <list.button @label=\\\"Cancel\\\" @type=\\\"secondary\\\" @action={{@onCancel}} data-test-cancel-button />\\n        <list.button @label=\\\"Send {{pluralize @emails.length \\\"Invite\\\" without-count=true}}\\\" @type=\\\"primary\\\" @disabled={{eq @emails.length 0}} {{on \\\"click\\\" @sendInvites}} data-test-send-invites-button />\\n      </IcButtonList>\\n    </div>\\n  </div>\\n\\n  <div class=\\\"flex flex-col mt-8\\\">\\n    <Paragraph @styling=\\\"muted\\\" class=\\\"pb-2\\\">{{pluralize @emails.length \\\"new teammate\\\"}}</Paragraph>\\n    <div class=\\\"flex flex-row flex-wrap gap-2 settings__teammate__invite__header__emails {{if this.showMore 'max-h-full'}}\\\" {{did-insert this.updateHiddenEmailCount}} {{did-update this.updateHiddenEmailCount this.windowWidth}}>\\n\\n      {{#each @emails as |email|}}\\n        <IcFilterBlock\\n          @isOneLine={{true}}\\n          @name={{email}}\\n          class=\\\"mb-2\\\"\\n          data-test-email-filter-block\\n        />\\n      {{/each}}\\n    </div>\\n    {{#if this.shouldShowMoreOption}}\\n      <Paragraph class=\\\"mt-2\\\">\\n        <a {{on 'click' (toggle \\\"showMore\\\" this)}}>\\n          <Text @linkStyling=\\\"standalone\\\">Show {{this.hiddenEmailCount}} more teammates {{ic-interface-icon 'down-arrow' set='tiny' color='gray'}}</Text>\\n        </a>\\n      </Paragraph>\\n    {{/if}}\\n  </div>\\n\", {\"contents\":\"  {{on-window-throttled-resize this.handleWindowResize}}\\n  <div class=\\\"flex flex-row\\\">\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <Common::BreadcrumbsComponent @breadcrumbs={{array\\n        (hash text=\\\"All teammates\\\" route=\\\"apps.app.settings.teammates\\\")\\n        (hash text=\\\"Invite teammates\\\" route=\\\"apps.app.settings.teammates.invite\\\")\\n      }}\\n      />\\n\\n      <Heading @size=\\\"1\\\" class=\\\"mt-2\\\" data-test-permissions-header-heading>\\n        Set permissions\\n      </Heading>\\n    </div>\\n    <div class=\\\"flex flex-col justify-center\\\">\\n      <IcButtonList as |list| >\\n        <list.button @label=\\\"Cancel\\\" @type=\\\"secondary\\\" @action={{@onCancel}} data-test-cancel-button />\\n        <list.button @label=\\\"Send {{pluralize @emails.length \\\"Invite\\\" without-count=true}}\\\" @type=\\\"primary\\\" @disabled={{eq @emails.length 0}} {{on \\\"click\\\" @sendInvites}} data-test-send-invites-button />\\n      </IcButtonList>\\n    </div>\\n  </div>\\n\\n  <div class=\\\"flex flex-col mt-8\\\">\\n    <Paragraph @styling=\\\"muted\\\" class=\\\"pb-2\\\">{{pluralize @emails.length \\\"new teammate\\\"}}</Paragraph>\\n    <div class=\\\"flex flex-row flex-wrap gap-2 settings__teammate__invite__header__emails {{if this.showMore 'max-h-full'}}\\\" {{did-insert this.updateHiddenEmailCount}} {{did-update this.updateHiddenEmailCount this.windowWidth}}>\\n\\n      {{#each @emails as |email|}}\\n        <IcFilterBlock\\n          @isOneLine={{true}}\\n          @name={{email}}\\n          class=\\\"mb-2\\\"\\n          data-test-email-filter-block\\n        />\\n      {{/each}}\\n    </div>\\n    {{#if this.shouldShowMoreOption}}\\n      <Paragraph class=\\\"mt-2\\\">\\n        <a {{on 'click' (toggle \\\"showMore\\\" this)}}>\\n          <Text @linkStyling=\\\"standalone\\\">Show {{this.hiddenEmailCount}} more teammates {{ic-interface-icon 'down-arrow' set='tiny' color='gray'}}</Text>\\n        </a>\\n      </Paragraph>\\n    {{/if}}\\n  </div>\\n\",\"moduleName\":\"embercom/components/settings/teammates/invites/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/invites/header.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\n\nexport default class Header extends Component {\n  @tracked showMore = false;\n  @tracked hiddenEmailCount = 0;\n  @tracked windowWidth = 0;\n\n  get shouldShowMoreOption() {\n    return this.hiddenEmailCount > 0 && !this.showMore;\n  }\n\n  isEmailHidden(emailElement, emailContainer) {\n    return emailElement.offsetTop >= emailContainer.offsetHeight;\n  }\n\n  @action handleWindowResize(dimensions) {\n    this.windowWidth = dimensions.width;\n  }\n\n  @action updateHiddenEmailCount(emailContainer) {\n    let emailElements = Array.from(emailContainer.children);\n\n    this.hiddenEmailCount = emailElements.reduce(\n      (count, emailElement) =>\n        this.isEmailHidden(emailElement, emailContainer) ? count + 1 : count,\n      0,\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col p-8 gap-8 overflow-y-scroll\\\">\\n  <div class=\\\"flex flex-row\\\">\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <Common::BreadcrumbsComponent @breadcrumbs={{array (hash text=\\\"All teammates\\\" route=\\\"apps.app.settings.teammates\\\")}} />\\n\\n      <Heading @size=\\\"1\\\" class=\\\"mt-2\\\" data-test-permissions-header-heading>\\n        Invite teammates\\n      </Heading>\\n    </div>\\n    <div class=\\\"flex flex-col justify-center\\\">\\n      <IcButtonList as |list| >\\n        <list.button @label=\\\"Cancel\\\" @type=\\\"secondary\\\" @action={{@onCancel}} data-test-cancel-button />\\n        <list.button @label=\\\"Continue and set permissions\\\" @type=\\\"primary\\\" @disabled={{not this.canContinue}} {{on \\\"click\\\" this.onContinue}} data-test-continue-button />\\n      </IcButtonList>\\n    </div>\\n  </div>\\n\\n  <IcContent class=\\\"settings__teammate__invite\\\">\\n    <Paragraph class=\\\"mb-2\\\">\\n      {{#if this.numberOfExtraSeatsRequired}}\\n        Invite {{pluralize this.numberOfExtraSeatsRequired \\\"teammate\\\"}}\\n      {{else}}\\n        Invite new teammates\\n      {{/if}}\\n    </Paragraph>\\n    <Paragraph @styling=\\\"small\\\">\\n      You can invite multiple teammates by separating them with a comma, space or newline.\\n    </Paragraph>\\n    <div class=\\\"flex flex-col settings__teammate__invite__multi-add-box p-2 pb-0 mb-6\\\" {{on \\\"click\\\" this.focusNewEmailInput}}>\\n      <div class=\\\"flex flex-row flex-wrap gap-2\\\">\\n        {{#each this.inviteEmails as |inviteEmail|}}\\n          <div class=\\\"flex flex-col\\\" data-test-email-filter-block>\\n            <Settings::Teammates::Permissions::TeammatePill\\n              @name={{inviteEmail.value}}\\n              @isInvalid={{inviteEmail.isInvalid}}\\n              @isDeletable={{true}}\\n              @onDelete={{fn this.removeEmail inviteEmail}}\\n              @invalidTooltipContent={{inviteEmail.invalidTooltipContent}}\\n              class=\\\"mb-2\\\"\\n            />\\n          </div>\\n        {{/each}}\\n        <div class=\\\"flex flex-col justify-start flex-1\\\">\\n          {{#if (or this.loadSeatInfo.lastComplete (not this.appService.app.canSeeCostChangeCard))}}\\n            {{#if this.emailInputMessage}}\\n              <Text @styling=\\\"muted\\\" class=\\\"settings__teammate__invite__multi-add-box__input pb-2 pt-1 mb-2\\\" data-test-email-input-message>\\n                {{this.emailInputMessage}}\\n              </Text>\\n            {{else}}\\n              <Input\\n                @value={{this.newEmail}}\\n                @type=\\\"email\\\"\\n                class=\\\"settings__teammate__invite__multi-add-box__input pb-2 pt-1 mb-2\\\"\\n                placeholder=\\\"Enter your teammates’ email addresses\\\"\\n                {{on \\\"keydown\\\" this.handleKeydown}}\\n                {{on \\\"paste\\\" this.handlePaste}}\\n                {{auto-focus-element}}\\n                autocomplete=\\\"off\\\"\\n                data-test-email-input\\n              />\\n            {{/if}}\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n    <Settings::Teammates::SeatsCostChangeCard::EmailInvite @changeInSeats={{this.numberOfExtraSeatsRequired}} @loadSeatInfo={{this.loadSeatInfo}} />\\n  </IcContent>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col p-8 gap-8 overflow-y-scroll\\\">\\n  <div class=\\\"flex flex-row\\\">\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <Common::BreadcrumbsComponent @breadcrumbs={{array (hash text=\\\"All teammates\\\" route=\\\"apps.app.settings.teammates\\\")}} />\\n\\n      <Heading @size=\\\"1\\\" class=\\\"mt-2\\\" data-test-permissions-header-heading>\\n        Invite teammates\\n      </Heading>\\n    </div>\\n    <div class=\\\"flex flex-col justify-center\\\">\\n      <IcButtonList as |list| >\\n        <list.button @label=\\\"Cancel\\\" @type=\\\"secondary\\\" @action={{@onCancel}} data-test-cancel-button />\\n        <list.button @label=\\\"Continue and set permissions\\\" @type=\\\"primary\\\" @disabled={{not this.canContinue}} {{on \\\"click\\\" this.onContinue}} data-test-continue-button />\\n      </IcButtonList>\\n    </div>\\n  </div>\\n\\n  <IcContent class=\\\"settings__teammate__invite\\\">\\n    <Paragraph class=\\\"mb-2\\\">\\n      {{#if this.numberOfExtraSeatsRequired}}\\n        Invite {{pluralize this.numberOfExtraSeatsRequired \\\"teammate\\\"}}\\n      {{else}}\\n        Invite new teammates\\n      {{/if}}\\n    </Paragraph>\\n    <Paragraph @styling=\\\"small\\\">\\n      You can invite multiple teammates by separating them with a comma, space or newline.\\n    </Paragraph>\\n    <div class=\\\"flex flex-col settings__teammate__invite__multi-add-box p-2 pb-0 mb-6\\\" {{on \\\"click\\\" this.focusNewEmailInput}}>\\n      <div class=\\\"flex flex-row flex-wrap gap-2\\\">\\n        {{#each this.inviteEmails as |inviteEmail|}}\\n          <div class=\\\"flex flex-col\\\" data-test-email-filter-block>\\n            <Settings::Teammates::Permissions::TeammatePill\\n              @name={{inviteEmail.value}}\\n              @isInvalid={{inviteEmail.isInvalid}}\\n              @isDeletable={{true}}\\n              @onDelete={{fn this.removeEmail inviteEmail}}\\n              @invalidTooltipContent={{inviteEmail.invalidTooltipContent}}\\n              class=\\\"mb-2\\\"\\n            />\\n          </div>\\n        {{/each}}\\n        <div class=\\\"flex flex-col justify-start flex-1\\\">\\n          {{#if (or this.loadSeatInfo.lastComplete (not this.appService.app.canSeeCostChangeCard))}}\\n            {{#if this.emailInputMessage}}\\n              <Text @styling=\\\"muted\\\" class=\\\"settings__teammate__invite__multi-add-box__input pb-2 pt-1 mb-2\\\" data-test-email-input-message>\\n                {{this.emailInputMessage}}\\n              </Text>\\n            {{else}}\\n              <Input\\n                @value={{this.newEmail}}\\n                @type=\\\"email\\\"\\n                class=\\\"settings__teammate__invite__multi-add-box__input pb-2 pt-1 mb-2\\\"\\n                placeholder=\\\"Enter your teammates’ email addresses\\\"\\n                {{on \\\"keydown\\\" this.handleKeydown}}\\n                {{on \\\"paste\\\" this.handlePaste}}\\n                {{auto-focus-element}}\\n                autocomplete=\\\"off\\\"\\n                data-test-email-input\\n              />\\n            {{/if}}\\n          {{/if}}\\n        </div>\\n      </div>\\n    </div>\\n    <Settings::Teammates::SeatsCostChangeCard::EmailInvite @changeInSeats={{this.numberOfExtraSeatsRequired}} @loadSeatInfo={{this.loadSeatInfo}} />\\n  </IcContent>\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/teammates/invites/invite.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/invites/invite.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { isValidEmail } from 'embercom/lib/email';\nimport { isEmpty } from '@ember/utils';\nimport { schedule } from '@ember/runloop';\nimport { getSeatInfo } from 'embercom/lib/admins/seat-info';\nimport { task } from 'ember-concurrency-decorators';\n\nconst EMAIL_SEPARATORS = [',', '|', ';', ' ', '\\n', '\\t'];\nconst EMAIL_SPLIT_REGEX = new RegExp(`[${EMAIL_SEPARATORS.join('\\\\')}]+`);\n\nexport default class Invite extends Component {\n  @service appService;\n  @service store;\n  @tracked inviteEmails = [];\n  @tracked newEmail = '';\n  @tracked seatInfo;\n  @tracked emailInputMessage;\n\n  constructor() {\n    super(...arguments);\n    this.loadInvitedAdmins();\n    this.addEmails(this.args.emails.join(','));\n  }\n\n  async loadInvitedAdmins() {\n    await this.store.findAll('invited-admin');\n  }\n\n  addEmails(value) {\n    this.emailInputMessage = undefined;\n    let existingEmails = new Set(this.inviteEmails.map(obj => obj.value));\n    let adminEmails = new Set(this.appService.app.admins.map(admin => admin.email));\n    let alreadyInvitedTeammateEmails = new Set(\n      this.store\n        .peekAll('invited-admin')\n        .filter(invite => invite.active)\n        .map(invite => invite.email),\n    );\n\n    this.extractEmails(value).forEach(email => {\n      let invalidReason = this.invalidTooltipMessage({\n        isExistingEmail: existingEmails.has(email),\n        isAlreadyInvitedEmail: alreadyInvitedTeammateEmails.has(email),\n        isAdminEmail: adminEmails.has(email),\n        isInvalidEmail: !isValidEmail(email),\n      });\n\n      this.inviteEmails.pushObject({\n        value: email,\n        isInvalid: invalidReason !== null,\n        invalidTooltipContent: invalidReason,\n      });\n      existingEmails.add(email);\n    });\n    this.truncateEmails();\n  }\n\n  extractEmails(value) {\n    return value\n      .trim()\n      .split(EMAIL_SPLIT_REGEX)\n      .map(email => email.trim())\n      .map(email => {\n        if (this.surroundedWithBrackets(email)) {\n          return email.slice(1, email.length - 1);\n        } else {\n          return email;\n        }\n      })\n      .filter(email => email !== '');\n  }\n\n  surroundedWithBrackets(email) {\n    if (email[0] === '<' && email[email.length - 1] === '>') {\n      return true;\n    }\n    return false;\n  }\n  truncateEmails() {\n    if (!this.seatInfo) {\n      return;\n    }\n    if (this.seatInfo.maximumNumberOfSeats === null) {\n      this.emailInputMessage = undefined;\n      return;\n    }\n\n    let maximumNumberOfAvailableSeats = Math.max(\n      0,\n      this.seatInfo.maximumNumberOfSeats - this.seatInfo.numberOfSeatsInUse,\n    );\n    if (this.inviteEmails.length < maximumNumberOfAvailableSeats) {\n      this.emailInputMessage = undefined;\n      return;\n    }\n\n    if (\n      this.inviteEmails.length === maximumNumberOfAvailableSeats &&\n      isEmpty(this.emailInputMessage)\n    ) {\n      this.emailInputMessage = `Upgrade to add more teammates`;\n      return;\n    }\n\n    if (this.inviteEmails.length > maximumNumberOfAvailableSeats) {\n      this.emailInputMessage = `${maximumNumberOfAvailableSeats} out of ${this.inviteEmails.length} emails added, upgrade to add more`;\n      this.inviteEmails = this.inviteEmails.splice(0, maximumNumberOfAvailableSeats);\n      return;\n    }\n  }\n\n  get canContinue() {\n    return (\n      (this.inviteEmails.length > 0 || this.newEmail.length > 0) &&\n      !this.inviteEmails.any(obj => obj.isInvalid)\n    );\n  }\n\n  addNewlyEnteredEmail() {\n    this.addEmails(this.newEmail);\n    this.newEmail = '';\n  }\n\n  invalidTooltipMessage({ isExistingEmail, isAlreadyInvitedEmail, isAdminEmail, isInvalidEmail }) {\n    if (isInvalidEmail) {\n      return 'This email is not in a valid format';\n    } else if (isExistingEmail) {\n      return 'This email is already provided';\n    } else if (isAdminEmail) {\n      return 'This email belongs to an existing teammate';\n    } else if (isAlreadyInvitedEmail) {\n      return 'The teammate with this email is already invited';\n    }\n    return null;\n  }\n\n  @action onContinue() {\n    this.addNewlyEnteredEmail();\n    if (this.canContinue) {\n      this.args.onEmailsChange(this.inviteEmails.map(obj => obj.value));\n      this.args.onContinue();\n    }\n  }\n\n  scrollIntoViewAfterRender(element) {\n    schedule('afterRender', () => {\n      element.scrollIntoView();\n    });\n  }\n\n  @action handlePaste(event) {\n    let value = (event.clipboardData || window.clipboardData).getData('text');\n    this.addEmails(value);\n    event.preventDefault();\n    this.scrollIntoViewAfterRender(event.target);\n  }\n\n  @action handleKeydown(event) {\n    if (event.key === 'Enter' || EMAIL_SEPARATORS.includes(event.key)) {\n      this.addNewlyEnteredEmail();\n      event.preventDefault();\n      return;\n    }\n    if (event.key === 'Backspace' && this.inviteEmails.length > 0 && isEmpty(this.newEmail)) {\n      this.inviteEmails.popObject();\n      event.preventDefault();\n    }\n    this.scrollIntoViewAfterRender(event.target);\n  }\n\n  @action removeEmail(obj) {\n    this.emailInputMessage = undefined;\n    this.inviteEmails.removeObject(obj);\n  }\n\n  @action focusNewEmailInput({ target, currentTarget }) {\n    if (currentTarget === target) {\n      let inputElement = currentTarget.getElementsByTagName('input')[0];\n      inputElement.focus();\n    }\n  }\n\n  get numberOfExtraSeatsRequired() {\n    return this.inviteEmails.length + this.extractEmails(this.newEmail).length;\n  }\n\n  @task({ restartable: true })\n  *loadSeatInfo() {\n    this.seatInfo = yield getSeatInfo(this.numberOfExtraSeatsRequired);\n    this.truncateEmails();\n    return this.seatInfo;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"p-8 overflow-y-scroll\\\">\\n  <Settings::Teammates::Invites::Header\\n    @emails={{@emails}}\\n    @onCancel={{@onCancel}}\\n    @sendInvites={{route-action \\\"confirmAndSendInvites\\\"}}\\n  />\\n\\n  <Settings::Teammates::Permissions::PermissionsEditorWithRoleSelector\\n    @app={{@app}}\\n    @permissionsObject={{@permissionsObject}}\\n    @numberOfTeammates={{@emails.length}}\\n    @roles={{@roles}}\\n  />\\n</div>\\n\", {\"contents\":\"<div class=\\\"p-8 overflow-y-scroll\\\">\\n  <Settings::Teammates::Invites::Header\\n    @emails={{@emails}}\\n    @onCancel={{@onCancel}}\\n    @sendInvites={{route-action \\\"confirmAndSendInvites\\\"}}\\n  />\\n\\n  <Settings::Teammates::Permissions::PermissionsEditorWithRoleSelector\\n    @app={{@app}}\\n    @permissionsObject={{@permissionsObject}}\\n    @numberOfTeammates={{@emails.length}}\\n    @roles={{@roles}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/teammates/invites/permissions.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/invites/permissions.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @onModalClose={{@onClose}}\\n  @width=\\\"s\\\"\\n  @isOpen={{@isOpen}}\\n  data-test-apply-changes-modal\\n  @focusElement=\\\"body\\\" as |modal|\\n>\\n  <modal.header @title=\\\"Apply changes\\\" />\\n  <modal.body>\\n    <div class=\\\"flex flex-col\\\">\\n      <Paragraph class=\\\"mb-4\\\" data-test-intro-text>\\n        {{#if this.isRoleChanging}}\\n          {{#let @permissionsObject as |role|}}\\n            The changes you made to this role will affect \\n            <a href={{href-to \\\"apps.app.settings.teammates\\\" (query-params role=role.id)}} \\n              target=\\\"_blank\\\" \\n              rel=\\\"noopener noreferrer\\\" \\n              class=\\\"t__em-link u__u\\\">{{role.admins.length}} teammates</a>.\\n          {{/let}}\\n        {{else}}\\n          The changes you made to this teammate will have immediate effect.\\n        {{/if}}\\n      </Paragraph>\\n      <IcCard @padding=\\\"none\\\" as |card|>\\n        <card.section>\\n          <Paragraph class=\\\"mb-3\\\" data-test-review-text>\\n            <Text @styling=\\\"strong\\\">Review {{pluralize this.changes.length \\\"change\\\"}}</Text>\\n          </Paragraph>\\n          {{#each this.changes as |change index|}}\\n            <div class=\\\"flex flex-row\\\">\\n              <div class=\\\"flex flex-col settings__teammate__apply-changes-modal__change-icon\\\">\\n                {{#if change.added}}\\n                  {{ic-interface-icon 'new' color='green'}}\\n                {{else}}\\n                  <svg class=\\\"interface-icon o__standard o__palette-red o__by-text\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M4 7v2h8V7H4z\\\"></path></svg>\\n                {{/if}}\\n              </div>\\n              <Paragraph class=\\\"mb-2\\\" data-test-change={{index}}>\\n                {{permission-label change.permissionName}} was turned {{if change.added 'on' 'off'}}\\n              </Paragraph>\\n            </div>\\n          {{/each}}\\n        </card.section>\\n      </IcCard>\\n    </div>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Apply changes\\\"\\n      action=@onAccept\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=@onClose\\n    }}\\n  />\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @onModalClose={{@onClose}}\\n  @width=\\\"s\\\"\\n  @isOpen={{@isOpen}}\\n  data-test-apply-changes-modal\\n  @focusElement=\\\"body\\\" as |modal|\\n>\\n  <modal.header @title=\\\"Apply changes\\\" />\\n  <modal.body>\\n    <div class=\\\"flex flex-col\\\">\\n      <Paragraph class=\\\"mb-4\\\" data-test-intro-text>\\n        {{#if this.isRoleChanging}}\\n          {{#let @permissionsObject as |role|}}\\n            The changes you made to this role will affect \\n            <a href={{href-to \\\"apps.app.settings.teammates\\\" (query-params role=role.id)}} \\n              target=\\\"_blank\\\" \\n              rel=\\\"noopener noreferrer\\\" \\n              class=\\\"t__em-link u__u\\\">{{role.admins.length}} teammates</a>.\\n          {{/let}}\\n        {{else}}\\n          The changes you made to this teammate will have immediate effect.\\n        {{/if}}\\n      </Paragraph>\\n      <IcCard @padding=\\\"none\\\" as |card|>\\n        <card.section>\\n          <Paragraph class=\\\"mb-3\\\" data-test-review-text>\\n            <Text @styling=\\\"strong\\\">Review {{pluralize this.changes.length \\\"change\\\"}}</Text>\\n          </Paragraph>\\n          {{#each this.changes as |change index|}}\\n            <div class=\\\"flex flex-row\\\">\\n              <div class=\\\"flex flex-col settings__teammate__apply-changes-modal__change-icon\\\">\\n                {{#if change.added}}\\n                  {{ic-interface-icon 'new' color='green'}}\\n                {{else}}\\n                  <svg class=\\\"interface-icon o__standard o__palette-red o__by-text\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M4 7v2h8V7H4z\\\"></path></svg>\\n                {{/if}}\\n              </div>\\n              <Paragraph class=\\\"mb-2\\\" data-test-change={{index}}>\\n                {{permission-label change.permissionName}} was turned {{if change.added 'on' 'off'}}\\n              </Paragraph>\\n            </div>\\n          {{/each}}\\n        </card.section>\\n      </IcCard>\\n    </div>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Apply changes\\\"\\n      action=@onAccept\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=@onClose\\n    }}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/settings/teammates/modals/apply-changes-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/modals/apply-changes-modal.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport Component from '@glimmer/component';\n// eslint-disable-next-line ember/no-computed-properties-in-native-classes\nimport { defineProperty, computed } from '@ember/object';\nimport ModelWithPermissions from 'embercom/models/model-with-permissions';\nimport Role from 'embercom/models/role';\n\nexport default class ApplyChangesModal extends Component {\n  permissionNames = Array.from(ModelWithPermissions.attributes.keys()).filter(\n    key => key !== 'can_access_settings_and_billing',\n  );\n\n  constructor() {\n    super(...arguments);\n    // Create a property that is dependent on any change in permissions\n    defineProperty(\n      this,\n      'changedPermissions',\n      computed(`args.permissionsObject.{${this.permissionNames.join(',')}}`, function() {\n        return this.args.permissionsObject.changedAttributes();\n      }),\n    );\n  }\n\n  get isRoleChanging() {\n    return this.args.permissionsObject instanceof Role;\n  }\n\n  get changes() {\n    let changedAttrs = this.changedPermissions;\n\n    return this.permissionNames\n      .map(permissionName => {\n        let permissionChange = changedAttrs[permissionName];\n        return permissionChange ? { permissionName, added: permissionChange[1] } : null;\n      })\n      .filter(p => p)\n      .sort(this.sortChanges);\n  }\n\n  sortChanges(a, b) {\n    if (a.added === b.added) {\n      return 0;\n    } else {\n      return a.added ? -1 : 1;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Settings::Teammates::Modals::ApplyChangesModal\\n  @isOpen={{this.showApplyChangesModal}}\\n  @onClose={{this.onChangesRejected}}\\n  @onAccept={{this.onChangesAccepted}}\\n  @permissionsObject={{@permissionsObject}}\\n/>\\n\\n<Settings::Teammates::Permissions::PermissionsHeader\\n  @app={{@app}}\\n  @teammates={{array @teammate}}\\n  @onCancel={{transition-to \\\"apps.app.settings.teammates\\\"}}\\n  @saveChanges={{this.saveChanges}}\\n  @canSaveChanges={{and @permissionsObject.hasDirtyAttributes this.reassignmentsAreValid}}\\n/>\\n\\n<Settings::Teammates::Permissions::PermissionsEditorWithRoleSelector\\n  @app={{@app}}\\n  @permissionsObject={{@permissionsObject}}\\n  @teammate={{@teammate}}\\n  @changeReassignments={{this.changeReassignments}}\\n  @roles={{@roles}}\\n/>\\n\", {\"contents\":\"<Settings::Teammates::Modals::ApplyChangesModal\\n  @isOpen={{this.showApplyChangesModal}}\\n  @onClose={{this.onChangesRejected}}\\n  @onAccept={{this.onChangesAccepted}}\\n  @permissionsObject={{@permissionsObject}}\\n/>\\n\\n<Settings::Teammates::Permissions::PermissionsHeader\\n  @app={{@app}}\\n  @teammates={{array @teammate}}\\n  @onCancel={{transition-to \\\"apps.app.settings.teammates\\\"}}\\n  @saveChanges={{this.saveChanges}}\\n  @canSaveChanges={{and @permissionsObject.hasDirtyAttributes this.reassignmentsAreValid}}\\n/>\\n\\n<Settings::Teammates::Permissions::PermissionsEditorWithRoleSelector\\n  @app={{@app}}\\n  @permissionsObject={{@permissionsObject}}\\n  @teammate={{@teammate}}\\n  @changeReassignments={{this.changeReassignments}}\\n  @roles={{@roles}}\\n/>\\n\",\"moduleName\":\"embercom/components/settings/teammates/permissions.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/permissions.hbs\"}});\nimport Component from '@glimmer/component';\nimport { Promise as EmberPromise } from 'rsvp';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class Permissions extends Component {\n  @service appService;\n  @tracked reassignmentsAreValid = true;\n  @tracked showApplyChangesModal = false;\n  resolveAcceptedFunction;\n  rejectAcceptedFunction;\n\n  @action\n  changeReassignments(isValid, reassignments) {\n    this.reassignmentsAreValid = isValid;\n    this.args.changeReassignments(reassignments);\n  }\n\n  async confirmApplyChanges() {\n    if (\n      this.args.permissionsObject.numberOfPermissionsChanged() === 0 ||\n      !this.appService.app.canUseRoles\n    ) {\n      return true;\n    } else {\n      this.showApplyChangesModal = true;\n\n      return new EmberPromise((resolve, reject) => {\n        this.resolveAcceptedFunction = () => {\n          resolve(true);\n        };\n        this.rejectAcceptedFunction = () => {\n          reject(false);\n        };\n      });\n    }\n  }\n\n  @action\n  async saveChanges() {\n    if (await this.confirmApplyChanges()) {\n      this.args.saveChanges(this.args.teammates);\n    }\n  }\n\n  @action\n  onChangesAccepted() {\n    this.resolveAcceptedFunction();\n    this.showApplyChangesModal = false;\n  }\n\n  @action\n  onChangesRejected() {\n    this.rejectAcceptedFunction();\n    this.showApplyChangesModal = false;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col mt-8\\\">\\n  <Paragraph @styling='muted' class=\\\"mb-2\\\">Seat allocation</Paragraph>\\n  <div class=\\\"flex flex-col\\\">\\n    <IcCard class=\\\"settings__teammate__seat-allocation-banner {{if this.isRemovingAnInboxSeat 'o__removing'}}\\\">\\n      <Settings::Teammates::InboxSeatInfo @numberOfSeatsRequired={{@numberOfTeammates}} as |seatInfo|>\\n        <div class=\\\"flex flex-row gap-4\\\" data-test-inbox-seat-allocation-banner>\\n          <div class=\\\"flex flex-col flex-1\\\">\\n            <Heading @size=\\\"3\\\" class=\\\"mb-1\\\">\\n              {{#if @permissionsObject.has_inbox_access}}\\n                Has Inbox seat\\n              {{else}}\\n                Doesn’t have Inbox seat\\n              {{/if}}\\n            </Heading>\\n            {{#if this.addingOrRemovingInboxSeat}}\\n              <Paragraph>\\n                {{#if @permissionsObject.has_inbox_access}}\\n                  {{#if seatInfo}}\\n                    {{#if seatInfo.numberOfSeatsAvailable}}\\n                      {{pluralize seatInfo.numberOfSeatsAvailable \\\"seat\\\"}} available.\\n                    {{/if}}\\n                    {{#if (gt seatInfo.pricePerSeat 0)}}\\n                      {{seatInfo.formattedPricePerSeat}}/month per additional seat.\\n                    {{/if}}\\n                  {{else}}\\n                    {{!-- if we can't get billing data then at least give a general warning --}}\\n                    This may affect the cost of your subscription.\\n                  {{/if}}\\n                  <Pulse::HelpContent::Link\\n                    @href=\\\"https://www.intercom.com/help/en/articles/2490825-how-do-inbox-seats-work\\\"\\n                    @title=\\\"Learn more\\\"\\n                    @type=\\\"article\\\"\\n                    @linkStyling=\\\"inline\\\"\\n                  />.\\n                {{/if}}\\n              </Paragraph>\\n            {{/if}}\\n          </div>\\n          <div class=\\\"flex flex-col justify-center\\\">\\n            <Paywall @pricingMetric=\\\"inbox_seats\\\" @featureUsage={{seatInfo.numberOfSeatsInUseAfter}} as |paywall|>\\n              {{#let (and paywall.isActive (not @permissionsObject.has_inbox_access)) as |paywalled|}}\\n                <IcTooltip\\n                  @isDisabled={{not paywalled}}\\n                  @isInteractive={{true}}\\n                  as |context|\\n                >\\n                  <context.opener>\\n                    <IcOnOffToggle\\n                      @isOn={{@permissionsObject.has_inbox_access}}\\n                      @onClick={{this.toggleInboxSeat}}\\n                      @isDisabled={{paywalled}}\\n                      data-test-inbox-seat-toggle\\n                    />\\n                  </context.opener>\\n                  <context.content>\\n                    <Paywalls::LimitReachedHoverCard />\\n                  </context.content>\\n                </IcTooltip>\\n              {{/let}}\\n            </Paywall>\\n          </div>\\n        </div>\\n      </Settings::Teammates::InboxSeatInfo>\\n\\n      {{#if this.isRemovingAnInboxSeat}}\\n        <Settings::Teammates::Remove::ReassignConversations\\n          @app={{@app}}\\n          @teammate={{@teammate}}\\n          @reassignments={{this.reassignments}}\\n          @updateSelection={{this.changeReassignments}}\\n        />\\n      {{/if}}\\n    </IcCard>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col mt-8\\\">\\n  <Paragraph @styling='muted' class=\\\"mb-2\\\">Seat allocation</Paragraph>\\n  <div class=\\\"flex flex-col\\\">\\n    <IcCard class=\\\"settings__teammate__seat-allocation-banner {{if this.isRemovingAnInboxSeat 'o__removing'}}\\\">\\n      <Settings::Teammates::InboxSeatInfo @numberOfSeatsRequired={{@numberOfTeammates}} as |seatInfo|>\\n        <div class=\\\"flex flex-row gap-4\\\" data-test-inbox-seat-allocation-banner>\\n          <div class=\\\"flex flex-col flex-1\\\">\\n            <Heading @size=\\\"3\\\" class=\\\"mb-1\\\">\\n              {{#if @permissionsObject.has_inbox_access}}\\n                Has Inbox seat\\n              {{else}}\\n                Doesn’t have Inbox seat\\n              {{/if}}\\n            </Heading>\\n            {{#if this.addingOrRemovingInboxSeat}}\\n              <Paragraph>\\n                {{#if @permissionsObject.has_inbox_access}}\\n                  {{#if seatInfo}}\\n                    {{#if seatInfo.numberOfSeatsAvailable}}\\n                      {{pluralize seatInfo.numberOfSeatsAvailable \\\"seat\\\"}} available.\\n                    {{/if}}\\n                    {{#if (gt seatInfo.pricePerSeat 0)}}\\n                      {{seatInfo.formattedPricePerSeat}}/month per additional seat.\\n                    {{/if}}\\n                  {{else}}\\n                    {{!-- if we can't get billing data then at least give a general warning --}}\\n                    This may affect the cost of your subscription.\\n                  {{/if}}\\n                  <Pulse::HelpContent::Link\\n                    @href=\\\"https://www.intercom.com/help/en/articles/2490825-how-do-inbox-seats-work\\\"\\n                    @title=\\\"Learn more\\\"\\n                    @type=\\\"article\\\"\\n                    @linkStyling=\\\"inline\\\"\\n                  />.\\n                {{/if}}\\n              </Paragraph>\\n            {{/if}}\\n          </div>\\n          <div class=\\\"flex flex-col justify-center\\\">\\n            <Paywall @pricingMetric=\\\"inbox_seats\\\" @featureUsage={{seatInfo.numberOfSeatsInUseAfter}} as |paywall|>\\n              {{#let (and paywall.isActive (not @permissionsObject.has_inbox_access)) as |paywalled|}}\\n                <IcTooltip\\n                  @isDisabled={{not paywalled}}\\n                  @isInteractive={{true}}\\n                  as |context|\\n                >\\n                  <context.opener>\\n                    <IcOnOffToggle\\n                      @isOn={{@permissionsObject.has_inbox_access}}\\n                      @onClick={{this.toggleInboxSeat}}\\n                      @isDisabled={{paywalled}}\\n                      data-test-inbox-seat-toggle\\n                    />\\n                  </context.opener>\\n                  <context.content>\\n                    <Paywalls::LimitReachedHoverCard />\\n                  </context.content>\\n                </IcTooltip>\\n              {{/let}}\\n            </Paywall>\\n          </div>\\n        </div>\\n      </Settings::Teammates::InboxSeatInfo>\\n\\n      {{#if this.isRemovingAnInboxSeat}}\\n        <Settings::Teammates::Remove::ReassignConversations\\n          @app={{@app}}\\n          @teammate={{@teammate}}\\n          @reassignments={{this.reassignments}}\\n          @updateSelection={{this.changeReassignments}}\\n        />\\n      {{/if}}\\n    </IcCard>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/teammates/permissions/inbox-seat-allocation.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/permissions/inbox-seat-allocation.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\n\nexport default class InboxSeatAllocation extends Component {\n  @service customerService;\n  @service appService;\n  @service store;\n\n  originallyHadInboxSeat = this.args.permissionsObject.has_inbox_access;\n  @tracked addingOrRemovingInboxSeat = false;\n  reassignments;\n\n  get numberOfSeatsRequired() {\n    return this.args.numberOfSeatsRequired || 1;\n  }\n\n  get isRemovingAnInboxSeat() {\n    return (\n      this.addingOrRemovingInboxSeat &&\n      this.args.permissionsObject.has_inbox_access === false &&\n      this.args.permissionsObject.admin_id\n    );\n  }\n\n  @action\n  toggleInboxSeat() {\n    let newValue = !this.args.permissionsObject.has_inbox_access;\n    this.args.permissionsObject.has_inbox_access = newValue;\n    this.addingOrRemovingInboxSeat = this.originallyHadInboxSeat !== newValue;\n    if (newValue) {\n      this.reassignments = undefined;\n      this.changeReassignments(true);\n    } else {\n      this.reassignments = { teams: {} };\n      this.changeReassignments(false);\n    }\n  }\n\n  @action\n  changeReassignments(isValid) {\n    if (this.args.changeReassignments) {\n      this.args.changeReassignments(isValid, this.reassignments);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row justify-between settings__teammate__permissions-editor__permission-toggle-row pl-2 pr-2\\\" data-test-permission-toggle-row>\\n  <div class=\\\"flex flex-col justify-center flex-1\\\">\\n    <Paragraph data-test-permission-toggle-title>\\n      {{permission-label @key}}\\n    </Paragraph>\\n  </div>\\n  <div class=\\\"flex flex-col justify-center mt-3 mb-3\\\">\\n    <IcTooltip @isDisabled={{not @isDisabledByRole}} as |t|>\\n      <t.opener>\\n        {{#if (eq (get @permissionsObject @key) undefined)}}\\n          <IcButton\\n            data-test-change-button\\n            @type=\\\"secondary\\\"\\n            @label=\\\"Change\\\"\\n            @onClick={{queue (fn @updatePermission @key false) (optional @changed)}}\\n            @isDisabled={{@isDisabled}}\\n          />\\n        {{else}}\\n          <IcOnOffToggle\\n            @isOn={{get @permissionsObject @key}}\\n            @onClick={{queue (toggle @key @permissionsObject) (optional @changed)}}\\n            @isDisabled={{@isDisabled}}\\n            data-test-permissions-toggler\\n          />\\n        {{/if}}\\n        </t.opener>\\n        <t.content>To change this permission, select <strong>No role</strong> from the Role menu above.</t.content>\\n    </IcTooltip>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row justify-between settings__teammate__permissions-editor__permission-toggle-row pl-2 pr-2\\\" data-test-permission-toggle-row>\\n  <div class=\\\"flex flex-col justify-center flex-1\\\">\\n    <Paragraph data-test-permission-toggle-title>\\n      {{permission-label @key}}\\n    </Paragraph>\\n  </div>\\n  <div class=\\\"flex flex-col justify-center mt-3 mb-3\\\">\\n    <IcTooltip @isDisabled={{not @isDisabledByRole}} as |t|>\\n      <t.opener>\\n        {{#if (eq (get @permissionsObject @key) undefined)}}\\n          <IcButton\\n            data-test-change-button\\n            @type=\\\"secondary\\\"\\n            @label=\\\"Change\\\"\\n            @onClick={{queue (fn @updatePermission @key false) (optional @changed)}}\\n            @isDisabled={{@isDisabled}}\\n          />\\n        {{else}}\\n          <IcOnOffToggle\\n            @isOn={{get @permissionsObject @key}}\\n            @onClick={{queue (toggle @key @permissionsObject) (optional @changed)}}\\n            @isDisabled={{@isDisabled}}\\n            data-test-permissions-toggler\\n          />\\n        {{/if}}\\n        </t.opener>\\n        <t.content>To change this permission, select <strong>No role</strong> from the Role menu above.</t.content>\\n    </IcTooltip>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/teammates/permissions/permission-toggle-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/permissions/permission-toggle-row.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<@card.section>\\n  <div class=\\\"flex flex-row\\\">\\n    <div class=\\\"flex flex-col justify-center flex-1\\\">\\n      <Paragraph data-test-permission-toggle-title>\\n        {{yield}}\\n      </Paragraph>\\n    </div>\\n    <div class=\\\"flex flex-col justify-center\\\">\\n      {{#if (eq (get @permissionsObject @key) undefined)}}\\n        <IcButton\\n          data-test-change-button\\n          @type=\\\"secondary\\\"\\n          @label=\\\"Change\\\"\\n          @onClick={{queue (action (mut (get @permissionsObject @key)) false) (optional @changed)}}\\n          @isDisabled={{@isDisabled}}\\n        />\\n      {{else}}\\n        <IcOnOffToggle\\n          @isOn={{get @permissionsObject @key}}\\n          @onClick={{queue (toggle @key @permissionsObject) (optional @changed)}}\\n          @isDisabled={{@isDisabled}}\\n          data-test-permissions-toggler\\n        />\\n      {{/if}}\\n    </div>\\n  </div>\\n</@card.section>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<@card.section>\\n  <div class=\\\"flex flex-row\\\">\\n    <div class=\\\"flex flex-col justify-center flex-1\\\">\\n      <Paragraph data-test-permission-toggle-title>\\n        {{yield}}\\n      </Paragraph>\\n    </div>\\n    <div class=\\\"flex flex-col justify-center\\\">\\n      {{#if (eq (get @permissionsObject @key) undefined)}}\\n        <IcButton\\n          data-test-change-button\\n          @type=\\\"secondary\\\"\\n          @label=\\\"Change\\\"\\n          @onClick={{queue (action (mut (get @permissionsObject @key)) false) (optional @changed)}}\\n          @isDisabled={{@isDisabled}}\\n        />\\n      {{else}}\\n        <IcOnOffToggle\\n          @isOn={{get @permissionsObject @key}}\\n          @onClick={{queue (toggle @key @permissionsObject) (optional @changed)}}\\n          @isDisabled={{@isDisabled}}\\n          data-test-permissions-toggler\\n        />\\n      {{/if}}\\n    </div>\\n  </div>\\n</@card.section>\\n\",\"moduleName\":\"embercom/components/settings/teammates/permissions/permission-toggle.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/permissions/permission-toggle.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.shouldShowInboxSeatToggle}}\\n  <Settings::Teammates::Permissions::InboxSeatAllocation\\n    @app={{@app}}\\n    @teammate={{@teammate}}\\n    @permissionsObject={{@permissionsObject}}\\n    @numberOfTeammates={{this.numberOfTeammates}}\\n    @changeReassignments={{@changeReassignments}}\\n  />\\n{{/if}}\\n\\n<div class=\\\"flex flex-col mt-8\\\">\\n  <Paywall @featureKey=\\\"app_permissions\\\" as |permissionsPaywall|>\\n    <permissionsPaywall.Block>\\n      {{#if this.shouldShowRoleSelector}}\\n        <div class=\\\"flex flex-row justify-between mb-4\\\">\\n          <div class=\\\"flex flex-col justify-start mb-2\\\">\\n            {{#if (has-feature \\\"app_permissions\\\")}}\\n              <Heading @size=\\\"3\\\">Permissions and roles</Heading>\\n              <Paragraph @styling='muted'>\\n                Set custom permissions, or assign a role.\\n              </Paragraph>\\n            {{else}}\\n              <Heading @size=\\\"3\\\">Permissions</Heading>\\n              <Paragraph @styling='muted'>\\n                Set custom permissions.\\n              </Paragraph>\\n            {{/if}}\\n          </div>\\n\\n          {{#if (has_feature \\\"app_permissions\\\")}}\\n            <div class=\\\"flex flex-row items-center gap-4\\\">\\n              <Paragraph @styling='muted' class=\\\"mr-2\\\">Role</Paragraph>\\n              <Paywall @featureKey=\\\"role_based_permissions\\\" as |rolesPaywall|>\\n                <rolesPaywall.Hover>\\n                  <IcSelect\\n                    @items={{this.rolesGroupList}}\\n                    @isDisabled={{rolesPaywall.isActive}}\\n                    @onSelectItem={{queue this.onChangeRole (optional @changed)}}\\n                    @selectedValue={{@permissionsObject.role}}\\n                    class=\\\"settings__teammate__permissions-editor__role-selector\\\"\\n                    data-test-role-selector />\\n                </rolesPaywall.Hover>\\n              </Paywall>\\n            </div>\\n          {{/if}}\\n        </div>\\n      {{/if}}\\n\\n      {{#if (has-feature \\\"restrict-conversation-access\\\")}}\\n        <Settings::Teammates::ConversationAccessEditor\\n          @roleOrPermissionObject={{@permissionsObject}}\\n          @onChange={{optional @changed}}\\n          @accessDropdownDisabled={{this.disableToggles}}\\n        />\\n      {{/if}}\\n\\n      <Settings::Teammates::Permissions::PermissionsEditor\\n        @permissionsObject={{@permissionsObject}}\\n        @changed={{@changed}}\\n        @disableToggles={{or this.disableToggles permissionsPaywall.isActive}}\\n      />\\n\\n    </permissionsPaywall.Block>\\n  </Paywall>\\n</div>\\n\", {\"contents\":\"{{#if this.shouldShowInboxSeatToggle}}\\n  <Settings::Teammates::Permissions::InboxSeatAllocation\\n    @app={{@app}}\\n    @teammate={{@teammate}}\\n    @permissionsObject={{@permissionsObject}}\\n    @numberOfTeammates={{this.numberOfTeammates}}\\n    @changeReassignments={{@changeReassignments}}\\n  />\\n{{/if}}\\n\\n<div class=\\\"flex flex-col mt-8\\\">\\n  <Paywall @featureKey=\\\"app_permissions\\\" as |permissionsPaywall|>\\n    <permissionsPaywall.Block>\\n      {{#if this.shouldShowRoleSelector}}\\n        <div class=\\\"flex flex-row justify-between mb-4\\\">\\n          <div class=\\\"flex flex-col justify-start mb-2\\\">\\n            {{#if (has-feature \\\"app_permissions\\\")}}\\n              <Heading @size=\\\"3\\\">Permissions and roles</Heading>\\n              <Paragraph @styling='muted'>\\n                Set custom permissions, or assign a role.\\n              </Paragraph>\\n            {{else}}\\n              <Heading @size=\\\"3\\\">Permissions</Heading>\\n              <Paragraph @styling='muted'>\\n                Set custom permissions.\\n              </Paragraph>\\n            {{/if}}\\n          </div>\\n\\n          {{#if (has_feature \\\"app_permissions\\\")}}\\n            <div class=\\\"flex flex-row items-center gap-4\\\">\\n              <Paragraph @styling='muted' class=\\\"mr-2\\\">Role</Paragraph>\\n              <Paywall @featureKey=\\\"role_based_permissions\\\" as |rolesPaywall|>\\n                <rolesPaywall.Hover>\\n                  <IcSelect\\n                    @items={{this.rolesGroupList}}\\n                    @isDisabled={{rolesPaywall.isActive}}\\n                    @onSelectItem={{queue this.onChangeRole (optional @changed)}}\\n                    @selectedValue={{@permissionsObject.role}}\\n                    class=\\\"settings__teammate__permissions-editor__role-selector\\\"\\n                    data-test-role-selector />\\n                </rolesPaywall.Hover>\\n              </Paywall>\\n            </div>\\n          {{/if}}\\n        </div>\\n      {{/if}}\\n\\n      {{#if (has-feature \\\"restrict-conversation-access\\\")}}\\n        <Settings::Teammates::ConversationAccessEditor\\n          @roleOrPermissionObject={{@permissionsObject}}\\n          @onChange={{optional @changed}}\\n          @accessDropdownDisabled={{this.disableToggles}}\\n        />\\n      {{/if}}\\n\\n      <Settings::Teammates::Permissions::PermissionsEditor\\n        @permissionsObject={{@permissionsObject}}\\n        @changed={{@changed}}\\n        @disableToggles={{or this.disableToggles permissionsPaywall.isActive}}\\n      />\\n\\n    </permissionsPaywall.Block>\\n  </Paywall>\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/teammates/permissions/permissions-editor-with-role-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/permissions/permissions-editor-with-role-selector.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class PermissionsEditor extends Component {\n  @service appService;\n\n  get shouldShowInboxSeatToggle() {\n    let app = this.args.app;\n    let permissionsObject = this.args.permissionsObject;\n    return (\n      !this.args.hideInboxToggle &&\n      permissionsObject.id !== undefined &&\n      app.inboxIsActive &&\n      app.requiresInboxSeatAccess\n    );\n  }\n\n  get shouldShowRoleSelector() {\n    return this.appService.app.canUseRoles && !!this.args.roles;\n  }\n\n  get disableToggles() {\n    return this.shouldShowRoleSelector && this.args.permissionsObject.role !== null;\n  }\n\n  get numberOfTeammates() {\n    return this.args.numberOfTeammates || 1;\n  }\n\n  get roles() {\n    return (this.args.roles || []).sortBy('name');\n  }\n\n  get rolesGroupList() {\n    let roleItems = this.roles.map(role => {\n      return { text: role.name, value: role };\n    });\n    return [\n      {\n        items: [{ text: 'No role', value: null }],\n      },\n      {\n        heading: 'Roles',\n        items: roleItems,\n      },\n    ];\n  }\n\n  @action\n  onChangeRole(role) {\n    if (role === null && !this.args.permissionsObject.isNew) {\n      this.args.permissionsObject.rollbackAttributes();\n    }\n    Object.assign(this.args.permissionsObject, role?.permissions(), { role_id: role?.id || null });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (has-feature \\\"canUseRoles\\\")}}\\n  <div class=\\\"settings__teammate__permissions-editor__permission-sections\\\">\\n    <Settings::Teammates::Permissions::PermissionsSectionPanel\\n      @permissionsObject={{@permissionsObject}}\\n      @changed={{@changed}}\\n      @isDisabled={{@disableToggles}}\\n      @isDisabledByRole={{@disableToggles}}\\n      @updatePermission={{this.updatePermission}}\\n      class=\\\"mb-8\\\" as |panel|>\\n      <panel.section @title=\\\"Settings\\\" as |section|>\\n        <section.toggle @key=\\\"can_access_workspace_settings\\\"/>\\n        <section.toggle @key=\\\"can_manage_teammates\\\"/>\\n        <section.toggle @key=\\\"can_manage_messenger_settings\\\"/>\\n        <section.toggle @key=\\\"can_access_billing_settings\\\"/>\\n        <section.toggle @key=\\\"can_manage_messages_settings\\\"/>\\n      </panel.section>\\n      <panel.section @title=\\\"Data and security\\\" as |section|>\\n        <section.toggle @key=\\\"can_access_product_settings\\\"/>\\n        <section.toggle @key=\\\"can_export_data\\\"/>\\n        {{#if (has-feature \\\"canUseTagManagement\\\")}}\\n          <section.toggle @key=\\\"can_manage_tags\\\"/>\\n        {{/if}}\\n      </panel.section>\\n      <panel.section @title=\\\"Apps and integrations\\\" as |section|>\\n        <section.toggle @key=\\\"can_access_developer_hub\\\"/>\\n        <section.toggle @key=\\\"can_manage_apps_and_integrations\\\"/>\\n      </panel.section>\\n      <panel.section @title=\\\"Articles\\\" as |section|>\\n        <section.toggle @key=\\\"can_manage_articles\\\"/>\\n      </panel.section>\\n      <panel.section @title=\\\"Automation\\\" as |section|>\\n        <section.toggle @key=\\\"can_create_and_edit_bots\\\"/>\\n      </panel.section>\\n      <panel.section @title=\\\"Outbound\\\" as |section|>\\n        <section.toggle @key=\\\"can_send_messages\\\"/>\\n      </panel.section>\\n      <panel.section @title=\\\"Inbox\\\" as |section|>\\n        <section.toggle @key=\\\"can_reassign_conversations\\\"/>\\n        <section.toggle @key=\\\"can_redact_conversation_parts\\\"/>\\n        {{#if (has-feature \\\"team-inbox-create-saved-reply-modal\\\")}}\\n          <section.toggle @key=\\\"can_manage_saved_replies\\\"/>\\n        {{/if}}\\n        {{#if (has-feature \\\"canUseInboxViews\\\")}}\\n          <section.toggle @key=\\\"can_manage_inbox_views\\\"/>\\n        {{/if}}\\n      </panel.section>\\n    </Settings::Teammates::Permissions::PermissionsSectionPanel>\\n  </div>\\n{{else}}\\n  <div class=\\\"settings__teammate__permissions-editor__permission-sections\\\">\\n    <Settings::Teammates::Permissions::PermissionsPanel @permissionsObject={{@permissionsObject}} @changed={{@changed}} @isDisabled={{@disableToggles}} as |panel| >\\n      <panel.section @title=\\\"Settings\\\"\\n        @icon=\\\"pencil\\\"\\n        @hasFullAccess={{and\\n          @permissionsObject.can_access_workspace_settings\\n          @permissionsObject.can_manage_teammates\\n          @permissionsObject.can_access_billing_settings\\n          @permissionsObject.can_manage_messenger_settings\\n          @permissionsObject.can_manage_messages_settings}} as |section| >\\n        <section.toggle @key=\\\"can_access_workspace_settings\\\">\\n          {{permission-label \\\"can_access_workspace_settings\\\"}}\\n        </section.toggle>\\n        <section.toggle @key=\\\"can_manage_teammates\\\">\\n          {{permission-label \\\"can_manage_teammates\\\"}}\\n        </section.toggle>\\n        <section.toggle @key=\\\"can_manage_messenger_settings\\\">\\n          {{permission-label \\\"can_manage_messenger_settings\\\"}}\\n        </section.toggle>\\n        <section.toggle @key=\\\"can_access_billing_settings\\\">\\n          {{permission-label \\\"can_access_billing_settings\\\"}}\\n        </section.toggle>\\n        <section.toggle @key=\\\"can_manage_messages_settings\\\">\\n          {{permission-label \\\"can_manage_messages_settings\\\"}}\\n        </section.toggle>\\n      </panel.section>\\n\\n      <panel.section @title=\\\"Data and security\\\" @icon=\\\"token\\\" @hasFullAccess={{and @permissionsObject.can_access_product_settings @permissionsObject.can_export_data}} as |section|>\\n        <section.toggle @key=\\\"can_access_product_settings\\\">\\n          {{permission-label \\\"can_access_product_settings\\\"}}\\n        </section.toggle>\\n        <section.toggle @key=\\\"can_export_data\\\">\\n          {{permission-label \\\"can_export_data\\\"}}\\n        </section.toggle>\\n        {{#if (has-feature \\\"canUseTagManagement\\\")}}\\n          <section.toggle @key=\\\"can_manage_tags\\\">\\n            {{permission-label \\\"can_manage_tags\\\"}}\\n          </section.toggle>\\n        {{/if}}\\n      </panel.section>\\n\\n      <panel.section @title=\\\"Apps and integrations\\\" @icon=\\\"app-store\\\" @hasFullAccess={{and @permissionsObject.can_access_developer_hub @permissionsObject.can_manage_apps_and_integrations}} as |section|>\\n        <section.toggle @key=\\\"can_access_developer_hub\\\">\\n        {{permission-label \\\"can_access_developer_hub\\\"}}\\n        </section.toggle>\\n        <section.toggle @key=\\\"can_manage_apps_and_integrations\\\">\\n          {{permission-label \\\"can_manage_apps_and_integrations\\\"}}\\n        </section.toggle>\\n      </panel.section>\\n\\n      <panel.section @title=\\\"Articles\\\" @icon=\\\"article\\\" @hasFullAccess={{@permissionsObject.can_manage_articles}} as |section|>\\n        <section.toggle @key=\\\"can_manage_articles\\\">\\n          {{permission-label \\\"can_manage_articles\\\"}}\\n        </section.toggle>\\n      </panel.section>\\n\\n      <panel.section @title=\\\"Automation\\\" @icon=\\\"operator\\\" @hasFullAccess={{@permissionsObject.can_create_and_edit_bots}} as |section|>\\n        <section.toggle @key=\\\"can_create_and_edit_bots\\\">\\n          {{permission-label \\\"can_create_and_edit_bots\\\"}}\\n        </section.toggle>\\n      </panel.section>\\n\\n      <panel.section @title=\\\"Outbound\\\" @icon=\\\"engage\\\" @hasFullAccess={{@permissionsObject.can_send_messages}} as |section| >\\n        <section.toggle @key=\\\"can_send_messages\\\">\\n          {{permission-label \\\"can_send_messages\\\"}}\\n        </section.toggle>\\n      </panel.section>\\n\\n      <panel.section @title=\\\"Inbox\\\" @icon=\\\"respond\\\" @hasFullAccess={{and\\n        @permissionsObject.can_redact_conversation_parts\\n        @permissionsObject.can_reassign_conversations\\n        (or (not (has-feature \\\"canUseManageSavedReplies\\\")) @permissionsObject.can_manage_saved_replies)\\n        (or (not (has-feature \\\"canUseInboxViews\\\")) @permissionsObject.can_manage_inbox_views)\\n      }} as |section|>\\n        <section.toggle @key=\\\"can_reassign_conversations\\\">\\n          {{permission-label \\\"can_reassign_conversations\\\"}}\\n        </section.toggle>\\n        <section.toggle @key=\\\"can_redact_conversation_parts\\\">\\n          {{permission-label \\\"can_redact_conversation_parts\\\"}}\\n        </section.toggle>\\n        {{#if (has-feature \\\"team-inbox-create-saved-reply-modal\\\")}}\\n          <section.toggle @key=\\\"can_manage_saved_replies\\\">\\n            {{permission-label \\\"can_manage_saved_replies\\\"}}\\n          </section.toggle>\\n        {{/if}}\\n        {{#if (has-feature \\\"canUseInboxViews\\\")}}\\n          <section.toggle @key=\\\"can_manage_inbox_views\\\">\\n            {{permission-label \\\"can_manage_inbox_views\\\"}}\\n          </section.toggle>\\n        {{/if}}\\n      </panel.section>\\n    </Settings::Teammates::Permissions::PermissionsPanel>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if (has-feature \\\"canUseRoles\\\")}}\\n  <div class=\\\"settings__teammate__permissions-editor__permission-sections\\\">\\n    <Settings::Teammates::Permissions::PermissionsSectionPanel\\n      @permissionsObject={{@permissionsObject}}\\n      @changed={{@changed}}\\n      @isDisabled={{@disableToggles}}\\n      @isDisabledByRole={{@disableToggles}}\\n      @updatePermission={{this.updatePermission}}\\n      class=\\\"mb-8\\\" as |panel|>\\n      <panel.section @title=\\\"Settings\\\" as |section|>\\n        <section.toggle @key=\\\"can_access_workspace_settings\\\"/>\\n        <section.toggle @key=\\\"can_manage_teammates\\\"/>\\n        <section.toggle @key=\\\"can_manage_messenger_settings\\\"/>\\n        <section.toggle @key=\\\"can_access_billing_settings\\\"/>\\n        <section.toggle @key=\\\"can_manage_messages_settings\\\"/>\\n      </panel.section>\\n      <panel.section @title=\\\"Data and security\\\" as |section|>\\n        <section.toggle @key=\\\"can_access_product_settings\\\"/>\\n        <section.toggle @key=\\\"can_export_data\\\"/>\\n        {{#if (has-feature \\\"canUseTagManagement\\\")}}\\n          <section.toggle @key=\\\"can_manage_tags\\\"/>\\n        {{/if}}\\n      </panel.section>\\n      <panel.section @title=\\\"Apps and integrations\\\" as |section|>\\n        <section.toggle @key=\\\"can_access_developer_hub\\\"/>\\n        <section.toggle @key=\\\"can_manage_apps_and_integrations\\\"/>\\n      </panel.section>\\n      <panel.section @title=\\\"Articles\\\" as |section|>\\n        <section.toggle @key=\\\"can_manage_articles\\\"/>\\n      </panel.section>\\n      <panel.section @title=\\\"Automation\\\" as |section|>\\n        <section.toggle @key=\\\"can_create_and_edit_bots\\\"/>\\n      </panel.section>\\n      <panel.section @title=\\\"Outbound\\\" as |section|>\\n        <section.toggle @key=\\\"can_send_messages\\\"/>\\n      </panel.section>\\n      <panel.section @title=\\\"Inbox\\\" as |section|>\\n        <section.toggle @key=\\\"can_reassign_conversations\\\"/>\\n        <section.toggle @key=\\\"can_redact_conversation_parts\\\"/>\\n        {{#if (has-feature \\\"team-inbox-create-saved-reply-modal\\\")}}\\n          <section.toggle @key=\\\"can_manage_saved_replies\\\"/>\\n        {{/if}}\\n        {{#if (has-feature \\\"canUseInboxViews\\\")}}\\n          <section.toggle @key=\\\"can_manage_inbox_views\\\"/>\\n        {{/if}}\\n      </panel.section>\\n    </Settings::Teammates::Permissions::PermissionsSectionPanel>\\n  </div>\\n{{else}}\\n  <div class=\\\"settings__teammate__permissions-editor__permission-sections\\\">\\n    <Settings::Teammates::Permissions::PermissionsPanel @permissionsObject={{@permissionsObject}} @changed={{@changed}} @isDisabled={{@disableToggles}} as |panel| >\\n      <panel.section @title=\\\"Settings\\\"\\n        @icon=\\\"pencil\\\"\\n        @hasFullAccess={{and\\n          @permissionsObject.can_access_workspace_settings\\n          @permissionsObject.can_manage_teammates\\n          @permissionsObject.can_access_billing_settings\\n          @permissionsObject.can_manage_messenger_settings\\n          @permissionsObject.can_manage_messages_settings}} as |section| >\\n        <section.toggle @key=\\\"can_access_workspace_settings\\\">\\n          {{permission-label \\\"can_access_workspace_settings\\\"}}\\n        </section.toggle>\\n        <section.toggle @key=\\\"can_manage_teammates\\\">\\n          {{permission-label \\\"can_manage_teammates\\\"}}\\n        </section.toggle>\\n        <section.toggle @key=\\\"can_manage_messenger_settings\\\">\\n          {{permission-label \\\"can_manage_messenger_settings\\\"}}\\n        </section.toggle>\\n        <section.toggle @key=\\\"can_access_billing_settings\\\">\\n          {{permission-label \\\"can_access_billing_settings\\\"}}\\n        </section.toggle>\\n        <section.toggle @key=\\\"can_manage_messages_settings\\\">\\n          {{permission-label \\\"can_manage_messages_settings\\\"}}\\n        </section.toggle>\\n      </panel.section>\\n\\n      <panel.section @title=\\\"Data and security\\\" @icon=\\\"token\\\" @hasFullAccess={{and @permissionsObject.can_access_product_settings @permissionsObject.can_export_data}} as |section|>\\n        <section.toggle @key=\\\"can_access_product_settings\\\">\\n          {{permission-label \\\"can_access_product_settings\\\"}}\\n        </section.toggle>\\n        <section.toggle @key=\\\"can_export_data\\\">\\n          {{permission-label \\\"can_export_data\\\"}}\\n        </section.toggle>\\n        {{#if (has-feature \\\"canUseTagManagement\\\")}}\\n          <section.toggle @key=\\\"can_manage_tags\\\">\\n            {{permission-label \\\"can_manage_tags\\\"}}\\n          </section.toggle>\\n        {{/if}}\\n      </panel.section>\\n\\n      <panel.section @title=\\\"Apps and integrations\\\" @icon=\\\"app-store\\\" @hasFullAccess={{and @permissionsObject.can_access_developer_hub @permissionsObject.can_manage_apps_and_integrations}} as |section|>\\n        <section.toggle @key=\\\"can_access_developer_hub\\\">\\n        {{permission-label \\\"can_access_developer_hub\\\"}}\\n        </section.toggle>\\n        <section.toggle @key=\\\"can_manage_apps_and_integrations\\\">\\n          {{permission-label \\\"can_manage_apps_and_integrations\\\"}}\\n        </section.toggle>\\n      </panel.section>\\n\\n      <panel.section @title=\\\"Articles\\\" @icon=\\\"article\\\" @hasFullAccess={{@permissionsObject.can_manage_articles}} as |section|>\\n        <section.toggle @key=\\\"can_manage_articles\\\">\\n          {{permission-label \\\"can_manage_articles\\\"}}\\n        </section.toggle>\\n      </panel.section>\\n\\n      <panel.section @title=\\\"Automation\\\" @icon=\\\"operator\\\" @hasFullAccess={{@permissionsObject.can_create_and_edit_bots}} as |section|>\\n        <section.toggle @key=\\\"can_create_and_edit_bots\\\">\\n          {{permission-label \\\"can_create_and_edit_bots\\\"}}\\n        </section.toggle>\\n      </panel.section>\\n\\n      <panel.section @title=\\\"Outbound\\\" @icon=\\\"engage\\\" @hasFullAccess={{@permissionsObject.can_send_messages}} as |section| >\\n        <section.toggle @key=\\\"can_send_messages\\\">\\n          {{permission-label \\\"can_send_messages\\\"}}\\n        </section.toggle>\\n      </panel.section>\\n\\n      <panel.section @title=\\\"Inbox\\\" @icon=\\\"respond\\\" @hasFullAccess={{and\\n        @permissionsObject.can_redact_conversation_parts\\n        @permissionsObject.can_reassign_conversations\\n        (or (not (has-feature \\\"canUseManageSavedReplies\\\")) @permissionsObject.can_manage_saved_replies)\\n        (or (not (has-feature \\\"canUseInboxViews\\\")) @permissionsObject.can_manage_inbox_views)\\n      }} as |section|>\\n        <section.toggle @key=\\\"can_reassign_conversations\\\">\\n          {{permission-label \\\"can_reassign_conversations\\\"}}\\n        </section.toggle>\\n        <section.toggle @key=\\\"can_redact_conversation_parts\\\">\\n          {{permission-label \\\"can_redact_conversation_parts\\\"}}\\n        </section.toggle>\\n        {{#if (has-feature \\\"team-inbox-create-saved-reply-modal\\\")}}\\n          <section.toggle @key=\\\"can_manage_saved_replies\\\">\\n            {{permission-label \\\"can_manage_saved_replies\\\"}}\\n          </section.toggle>\\n        {{/if}}\\n        {{#if (has-feature \\\"canUseInboxViews\\\")}}\\n          <section.toggle @key=\\\"can_manage_inbox_views\\\">\\n            {{permission-label \\\"can_manage_inbox_views\\\"}}\\n          </section.toggle>\\n        {{/if}}\\n      </panel.section>\\n    </Settings::Teammates::Permissions::PermissionsPanel>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/settings/teammates/permissions/permissions-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/permissions/permissions-editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class PermissionsEditor extends Component {\n  @action\n  updatePermission(key, value) {\n    this.args.permissionsObject[key] = value;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex flex-col\\\">\\n  <div class=\\\"flex flex-row\\\">\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <Common::BreadcrumbsComponent @breadcrumbs={{array (hash text=\\\"All teammates\\\" route=\\\"apps.app.settings.teammates\\\")}} />\\n      <Heading @size=\\\"1\\\" class=\\\"mt-2\\\" data-test-permissions-header-heading>\\n        {{#if (eq @teammates.length 1)}}\\n          Change {{get (object-at 0 @teammates) 'name'}}’s permissions\\n        {{else}}\\n          Change teammates permissions\\n        {{/if}}\\n      </Heading>\\n    </div>\\n    <div class=\\\"flex flex-col justify-center\\\">\\n      <IcButtonList as |list| >\\n        <list.button @label=\\\"Cancel\\\" @type=\\\"secondary\\\" @onClick={{transition-to \\\"apps.app.settings.teammates\\\"}} data-test-permissions-header-cancel-button />\\n        {{#if (eq @teammates.length 1)}}\\n          <IcTooltip @isDisabled={{not buttonIsDisabled}} as |t|>\\n            {{#let (contains @app.currentAdmin @teammates) as |buttonIsDisabled|}}\\n              <t.opener>\\n                <list.button @label=\\\"Remove teammate\\\" @type=\\\"secondary-destructive\\\" @icon=\\\"trash\\\" @disabled={{buttonIsDisabled}} @onClick={{transition-to \\\"apps.app.settings.teammates.teammate.remove\\\" (get (object-at 0 @teammates) 'id')}} data-test-permissions-header-remove-teammate-button />\\n              </t.opener>\\n            {{/let}}\\n            <t.content>\\n              You cannot remove yourself.\\n            </t.content>\\n          </IcTooltip>\\n        {{/if}}\\n        <list.button\\n          @label=\\\"Save changes\\\"\\n          @type=\\\"primary\\\"\\n          @disabled={{not @canSaveChanges}}\\n          @onClick={{@saveChanges}}\\n          data-test-permissions-header-save-button\\n        />\\n      </IcButtonList>\\n    </div>\\n  </div>\\n  {{#if (eq @teammates.length 1)}}\\n    <div class=\\\"mt-2\\\">\\n      <LinkTo class=\\\"inline\\\" @route=\\\"apps.app.admins.admin.index\\\" @model={{get (object-at 0 @teammates) 'id'}}>\\n        <Text @linkStyling=\\\"standalone\\\">View their public profile</Text>\\n      </LinkTo>\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex flex-col\\\">\\n  <div class=\\\"flex flex-row\\\">\\n    <div class=\\\"flex flex-col flex-1\\\">\\n      <Common::BreadcrumbsComponent @breadcrumbs={{array (hash text=\\\"All teammates\\\" route=\\\"apps.app.settings.teammates\\\")}} />\\n      <Heading @size=\\\"1\\\" class=\\\"mt-2\\\" data-test-permissions-header-heading>\\n        {{#if (eq @teammates.length 1)}}\\n          Change {{get (object-at 0 @teammates) 'name'}}’s permissions\\n        {{else}}\\n          Change teammates permissions\\n        {{/if}}\\n      </Heading>\\n    </div>\\n    <div class=\\\"flex flex-col justify-center\\\">\\n      <IcButtonList as |list| >\\n        <list.button @label=\\\"Cancel\\\" @type=\\\"secondary\\\" @onClick={{transition-to \\\"apps.app.settings.teammates\\\"}} data-test-permissions-header-cancel-button />\\n        {{#if (eq @teammates.length 1)}}\\n          <IcTooltip @isDisabled={{not buttonIsDisabled}} as |t|>\\n            {{#let (contains @app.currentAdmin @teammates) as |buttonIsDisabled|}}\\n              <t.opener>\\n                <list.button @label=\\\"Remove teammate\\\" @type=\\\"secondary-destructive\\\" @icon=\\\"trash\\\" @disabled={{buttonIsDisabled}} @onClick={{transition-to \\\"apps.app.settings.teammates.teammate.remove\\\" (get (object-at 0 @teammates) 'id')}} data-test-permissions-header-remove-teammate-button />\\n              </t.opener>\\n            {{/let}}\\n            <t.content>\\n              You cannot remove yourself.\\n            </t.content>\\n          </IcTooltip>\\n        {{/if}}\\n        <list.button\\n          @label=\\\"Save changes\\\"\\n          @type=\\\"primary\\\"\\n          @disabled={{not @canSaveChanges}}\\n          @onClick={{@saveChanges}}\\n          data-test-permissions-header-save-button\\n        />\\n      </IcButtonList>\\n    </div>\\n  </div>\\n  {{#if (eq @teammates.length 1)}}\\n    <div class=\\\"mt-2\\\">\\n      <LinkTo class=\\\"inline\\\" @route=\\\"apps.app.admins.admin.index\\\" @model={{get (object-at 0 @teammates) 'id'}}>\\n        <Text @linkStyling=\\\"standalone\\\">View their public profile</Text>\\n      </LinkTo>\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/teammates/permissions/permissions-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/permissions/permissions-header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Common::AccordionComponent data-test-permissions-section as |accordion| >\\n  {{yield (hash\\n    section=(component 'settings/teammates/permissions/permissions-section' accordion=accordion permissionsObject=@permissionsObject changed=@changed isDisabled=@isDisabled)\\n  )}}\\n</Common::AccordionComponent>\\n\", {\"contents\":\"<Common::AccordionComponent data-test-permissions-section as |accordion| >\\n  {{yield (hash\\n    section=(component 'settings/teammates/permissions/permissions-section' accordion=accordion permissionsObject=@permissionsObject changed=@changed isDisabled=@isDisabled)\\n  )}}\\n</Common::AccordionComponent>\\n\",\"moduleName\":\"embercom/components/settings/teammates/permissions/permissions-panel.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/permissions/permissions-panel.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col mb-6\\\" data-test-permission-section={{@title}}>\\n  <Paragraph class=\\\"mb-3\\\">\\n    <Text @styling=\\\"strong\\\">{{@title}}</Text>\\n  </Paragraph>\\n  {{yield (hash\\n    toggle=(component 'settings/teammates/permissions/permission-toggle-row' \\n      permissionsObject=@permissionsObject \\n      changed=@changed \\n      isDisabled=@isDisabled\\n      isDisabledByRole=@isDisabledByRole\\n      updatePermission=@updatePermission)\\n  )}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col mb-6\\\" data-test-permission-section={{@title}}>\\n  <Paragraph class=\\\"mb-3\\\">\\n    <Text @styling=\\\"strong\\\">{{@title}}</Text>\\n  </Paragraph>\\n  {{yield (hash\\n    toggle=(component 'settings/teammates/permissions/permission-toggle-row' \\n      permissionsObject=@permissionsObject \\n      changed=@changed \\n      isDisabled=@isDisabled\\n      isDisabledByRole=@isDisabledByRole\\n      updatePermission=@updatePermission)\\n  )}}\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/teammates/permissions/permissions-row-section.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/permissions/permissions-row-section.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col flex-1\\\" ...attributes>\\n  {{yield (hash\\n    section=(component 'settings/teammates/permissions/permissions-row-section' \\n      permissionsObject=@permissionsObject \\n      changed=@changed \\n      isDisabled=@isDisabled \\n      isDisabledByRole=@isDisabledByRole \\n      updatePermission=@updatePermission)\\n  )}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col flex-1\\\" ...attributes>\\n  {{yield (hash\\n    section=(component 'settings/teammates/permissions/permissions-row-section' \\n      permissionsObject=@permissionsObject \\n      changed=@changed \\n      isDisabled=@isDisabled \\n      isDisabledByRole=@isDisabledByRole \\n      updatePermission=@updatePermission)\\n  )}}\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/teammates/permissions/permissions-section-panel.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/permissions/permissions-section-panel.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<@accordion.section @name={{@title}} @shouldNotAddPaddingToBody={{true}} as |section| >\\n  <section.header>\\n    <Common::AccordionComponent::WhiteHeaderTitle\\n      @heading={{@title}}\\n      @subheading={{if @hasFullAccess \\\"Full Access\\\" \\\"Limited Access\\\"}}\\n      @icon={{@icon}}\\n      data-test-permissions-section-header-title\\n    />\\n  </section.header>\\n  <section.header-action />\\n  <section.body as |body| >\\n    <div class=\\\"flex flex-col gap-2 mt-0 m-6 mb-8\\\">\\n      <IcCard @padding=\\\"none\\\" class=\\\"settings__teammate__permissions-editor__card\\\" as |card| >\\n        {{yield (hash\\n          toggle=(component 'settings/teammates/permissions/permission-toggle' card=card permissionsObject=@permissionsObject changed=@changed isDisabled=@isDisabled)\\n        )}}\\n      </IcCard>\\n    </div>\\n  </section.body>\\n</@accordion.section>\\n\", {\"contents\":\"<@accordion.section @name={{@title}} @shouldNotAddPaddingToBody={{true}} as |section| >\\n  <section.header>\\n    <Common::AccordionComponent::WhiteHeaderTitle\\n      @heading={{@title}}\\n      @subheading={{if @hasFullAccess \\\"Full Access\\\" \\\"Limited Access\\\"}}\\n      @icon={{@icon}}\\n      data-test-permissions-section-header-title\\n    />\\n  </section.header>\\n  <section.header-action />\\n  <section.body as |body| >\\n    <div class=\\\"flex flex-col gap-2 mt-0 m-6 mb-8\\\">\\n      <IcCard @padding=\\\"none\\\" class=\\\"settings__teammate__permissions-editor__card\\\" as |card| >\\n        {{yield (hash\\n          toggle=(component 'settings/teammates/permissions/permission-toggle' card=card permissionsObject=@permissionsObject changed=@changed isDisabled=@isDisabled)\\n        )}}\\n      </IcCard>\\n    </div>\\n  </section.body>\\n</@accordion.section>\\n\",\"moduleName\":\"embercom/components/settings/teammates/permissions/permissions-section.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/permissions/permissions-section.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip @isDisabled={{not @isInvalid}} as |t| >\\n  <t.opener>\\n    <div class=\\\"settings__teammate__permissions-editor__teammate-pill {{if @isInvalid 'o__error'}} mb-2 u__display-inline-block\\\" ...attributes>\\n      <div class=\\\"pl-2 pr-2 pt-1 pb-1\\\">\\n        {{#if @avatar}}\\n          <IcAvatarComponent\\n            @model={{@avatar}}\\n            @size=\\\"xs\\\"\\n            data-test-teammate-avatar\\n          />\\n        {{/if}}\\n\\n        {{@name}}\\n\\n        {{#if @isDeletable}}\\n          <div class=\\\"settings__teammate__permissions-editor__teammate-pill-delete\\\" {{on \\\"click\\\" @onDelete}} data-test-teammate-pill-delete>\\n            {{ic-interface-icon 'small-close' solo=true}}\\n          </div>\\n        {{/if}}\\n      </div>\\n    </div>\\n  </t.opener>\\n  <t.content>\\n    {{@invalidTooltipContent}}\\n  </t.content>\\n</IcTooltip>\\n\", {\"contents\":\"<IcTooltip @isDisabled={{not @isInvalid}} as |t| >\\n  <t.opener>\\n    <div class=\\\"settings__teammate__permissions-editor__teammate-pill {{if @isInvalid 'o__error'}} mb-2 u__display-inline-block\\\" ...attributes>\\n      <div class=\\\"pl-2 pr-2 pt-1 pb-1\\\">\\n        {{#if @avatar}}\\n          <IcAvatarComponent\\n            @model={{@avatar}}\\n            @size=\\\"xs\\\"\\n            data-test-teammate-avatar\\n          />\\n        {{/if}}\\n\\n        {{@name}}\\n\\n        {{#if @isDeletable}}\\n          <div class=\\\"settings__teammate__permissions-editor__teammate-pill-delete\\\" {{on \\\"click\\\" @onDelete}} data-test-teammate-pill-delete>\\n            {{ic-interface-icon 'small-close' solo=true}}\\n          </div>\\n        {{/if}}\\n      </div>\\n    </div>\\n  </t.opener>\\n  <t.content>\\n    {{@invalidTooltipContent}}\\n  </t.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/settings/teammates/permissions/teammate-pill.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/permissions/teammate-pill.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"  <div class=\\\"flex flex-col\\\">\\n    <div class=\\\"flex flex-row\\\">\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <Common::BreadcrumbsComponent @breadcrumbs={{array\\n          (hash text=\\\"All teammates\\\" route=\\\"apps.app.settings.teammates\\\")\\n          (hash text=(concat \\\"Change \\\" @teammate.displayAs \\\"’s permissions\\\") route=\\\"apps.app.settings.teammates.teammate.permissions\\\" model=@teammate.id)\\n        }} />\\n        <Heading @size=\\\"1\\\" class=\\\"mt-2\\\">\\n          Remove {{@teammate.name}}?\\n        </Heading>  \\n      </div>\\n      <div class=\\\"flex flex-col justify-center\\\">\\n        <IcButtonList as |list|>\\n          <list.button @label=\\\"Cancel\\\" @type=\\\"secondary\\\" @onClick={{transition-to \\\"apps.app.settings.teammates.teammate.permissions\\\" @teammate.id}} data-test-permissions-header-cancel-button />\\n          <list.button @label=\\\"Remove teammate\\\" @type=\\\"secondary-destructive\\\" @icon=\\\"trash\\\" @onClick={{@removeTeammate}} @disabled={{@removeIsDisabled}} data-test-permissions-header-remove-teammate-button />\\n        </IcButtonList>\\n      </div>\\n    </div>\\n  </div>\\n\", {\"contents\":\"  <div class=\\\"flex flex-col\\\">\\n    <div class=\\\"flex flex-row\\\">\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <Common::BreadcrumbsComponent @breadcrumbs={{array\\n          (hash text=\\\"All teammates\\\" route=\\\"apps.app.settings.teammates\\\")\\n          (hash text=(concat \\\"Change \\\" @teammate.displayAs \\\"’s permissions\\\") route=\\\"apps.app.settings.teammates.teammate.permissions\\\" model=@teammate.id)\\n        }} />\\n        <Heading @size=\\\"1\\\" class=\\\"mt-2\\\">\\n          Remove {{@teammate.name}}?\\n        </Heading>  \\n      </div>\\n      <div class=\\\"flex flex-col justify-center\\\">\\n        <IcButtonList as |list|>\\n          <list.button @label=\\\"Cancel\\\" @type=\\\"secondary\\\" @onClick={{transition-to \\\"apps.app.settings.teammates.teammate.permissions\\\" @teammate.id}} data-test-permissions-header-cancel-button />\\n          <list.button @label=\\\"Remove teammate\\\" @type=\\\"secondary-destructive\\\" @icon=\\\"trash\\\" @onClick={{@removeTeammate}} @disabled={{@removeIsDisabled}} data-test-permissions-header-remove-teammate-button />\\n        </IcButtonList>\\n      </div>\\n    </div>\\n  </div>\\n\",\"moduleName\":\"embercom/components/settings/teammates/remove/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/remove/header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Paragraph @styling=\\\"muted\\\" class=\\\"mt-4 mb-2\\\">\\n  What should happen to their {{this.thingsToReassign}}?\\n</Paragraph>\\n<IcCard @padding=\\\"none\\\" class=\\\"settings__teammate__permissions-editor__card\\\" as |card|>\\n  {{yield card}}\\n  <card.section>\\n    <div class=\\\"flex flex-row\\\">\\n      <div class=\\\"flex flex-col justify-center flex-1\\\">\\n        Reassign conversations to\\n      </div>\\n      <div class=\\\"flex flex-col\\\">\\n        <Admin::NewSelector\\n          @assignees={{this.possibleAssigneesForConversations}}\\n          @showTeams={{true}}\\n          @onSelectItem={{fn this.updateSelection 'conversations'}}\\n          @defaultLabel=\\\"Select assignee\\\"\\n          data-test-conversation-assignee\\n        />\\n      </div>\\n    </div>\\n  </card.section>\\n</IcCard>\\n\\n{{#if this.teamsThatWillBeEmpty}}\\n  <Paragraph @styling=\\\"muted\\\" class=\\\"mt-4 mb-2\\\">Teams where this teammate is the only member will also be removed. What should happen to conversations assigned to those teams?</Paragraph>\\n  <IcCard @padding=\\\"none\\\" class=\\\"settings__teammate__permissions-editor__card\\\" as |card|>\\n    {{#each this.teamsThatWillBeEmpty as |team|}}\\n      <card.section>\\n        <div class=\\\"flex flex-row\\\">\\n          <div class=\\\"flex flex-row items-center flex-1\\\">\\n            <IcAvatarComponent\\n              @model={{team}}\\n              @size=\\\"s\\\"\\n              @withText={{true}}\\n            />\\n            <Text class=\\\"ml-2\\\" data-test-team-name>{{team.name}}</Text>\\n          </div>\\n          <div class=\\\"flex flex-col\\\">\\n            <Admin::NewSelector\\n              @assignees={{this.possibleAssigneesForConversations}}\\n              @showTeams={{true}}\\n              @onSelectItem={{fn this.updateSelectionForTeam team.id}}\\n              @defaultLabel=\\\"Select assignee\\\"\\n              data-test-conversation-assignee-for-team={{team.name}}\\n            />\\n          </div>\\n        </div>\\n      </card.section>\\n    {{/each}}\\n  </IcCard>\\n{{/if}}\\n\", {\"contents\":\"<Paragraph @styling=\\\"muted\\\" class=\\\"mt-4 mb-2\\\">\\n  What should happen to their {{this.thingsToReassign}}?\\n</Paragraph>\\n<IcCard @padding=\\\"none\\\" class=\\\"settings__teammate__permissions-editor__card\\\" as |card|>\\n  {{yield card}}\\n  <card.section>\\n    <div class=\\\"flex flex-row\\\">\\n      <div class=\\\"flex flex-col justify-center flex-1\\\">\\n        Reassign conversations to\\n      </div>\\n      <div class=\\\"flex flex-col\\\">\\n        <Admin::NewSelector\\n          @assignees={{this.possibleAssigneesForConversations}}\\n          @showTeams={{true}}\\n          @onSelectItem={{fn this.updateSelection 'conversations'}}\\n          @defaultLabel=\\\"Select assignee\\\"\\n          data-test-conversation-assignee\\n        />\\n      </div>\\n    </div>\\n  </card.section>\\n</IcCard>\\n\\n{{#if this.teamsThatWillBeEmpty}}\\n  <Paragraph @styling=\\\"muted\\\" class=\\\"mt-4 mb-2\\\">Teams where this teammate is the only member will also be removed. What should happen to conversations assigned to those teams?</Paragraph>\\n  <IcCard @padding=\\\"none\\\" class=\\\"settings__teammate__permissions-editor__card\\\" as |card|>\\n    {{#each this.teamsThatWillBeEmpty as |team|}}\\n      <card.section>\\n        <div class=\\\"flex flex-row\\\">\\n          <div class=\\\"flex flex-row items-center flex-1\\\">\\n            <IcAvatarComponent\\n              @model={{team}}\\n              @size=\\\"s\\\"\\n              @withText={{true}}\\n            />\\n            <Text class=\\\"ml-2\\\" data-test-team-name>{{team.name}}</Text>\\n          </div>\\n          <div class=\\\"flex flex-col\\\">\\n            <Admin::NewSelector\\n              @assignees={{this.possibleAssigneesForConversations}}\\n              @showTeams={{true}}\\n              @onSelectItem={{fn this.updateSelectionForTeam team.id}}\\n              @defaultLabel=\\\"Select assignee\\\"\\n              data-test-conversation-assignee-for-team={{team.name}}\\n            />\\n          </div>\\n        </div>\\n      </card.section>\\n    {{/each}}\\n  </IcCard>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/settings/teammates/remove/reassign-conversations.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/remove/reassign-conversations.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { isPresent } from '@ember/utils';\n\nexport default class extends Component {\n  get thingsToReassign() {\n    return this.args.thingsToReassign || 'conversations';\n  }\n\n  get teamsThatWillBeEmpty() {\n    // the teammate ids in the team model's member_ids list are numeric\n    let teammateId = Number(this.args.teammate.id);\n    return this.args.app.teams\n      .filter(t => t.teamMemberCount === 1)\n      .filter(t => t.firstTeamMemberId === teammateId);\n  }\n\n  get possibleAssigneesForConversations() {\n    let teammateId = this.args.teammate.id;\n    return this.args.app.assignableAdmins // app.assignableAdmins includes teams!\n      .filter(a => a.id !== teammateId)\n      .filter(t => !this.teamsThatWillBeEmpty.findBy('id', t.id));\n  }\n\n  get selectionIsValid() {\n    let reassignments = this.args.reassignments;\n    return (\n      isPresent(reassignments.conversations) &&\n      this.teamsThatWillBeEmpty.every(t => isPresent(reassignments.teams[t.id]))\n    );\n  }\n\n  @action\n  updateSelection(key, teammateId) {\n    this.args.reassignments[key] = teammateId;\n    this.args.updateSelection(this.selectionIsValid);\n  }\n\n  @action\n  updateSelectionForTeam(teamId, assigneeId) {\n    this.args.reassignments.teams[teamId] = assigneeId;\n    this.args.updateSelection(this.selectionIsValid);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Settings::Teammates::Remove::ReassignConversations\\n  @app={{@app}}\\n  @teammate={{@teammate}}\\n  @reassignments={{@reassignments}}\\n  @updateSelection={{this.updateConversationsSelection}}\\n  @thingsToReassign={{this.thingsToReassign}}\\n  as |card|>\\n  <card.section>\\n    <div class=\\\"flex flex-row\\\">\\n      <div class=\\\"flex flex-col justify-center flex-1\\\">\\n        Send messages from\\n      </div>\\n      <div class=\\\"flex flex-col\\\">\\n        <Admin::NewSelector\\n          @assignees={{this.possibleSendersForMessages}}\\n          @showTeams={{false}}\\n          @onSelectItem={{fn this.updateSelection 'messages'}}\\n          @defaultLabel=\\\"Select sender\\\"\\n          data-test-message-sender\\n        />\\n      </div>\\n    </div>\\n  </card.section>\\n  <card.section>\\n    <div class=\\\"flex flex-row\\\">\\n      <div class=\\\"flex flex-col justify-center flex-1\\\">\\n        Update article author to\\n      </div>\\n      <div class=\\\"flex flex-col\\\">\\n        <Admin::NewSelector\\n          @assignees={{this.possibleAuthorsForArticles}}\\n          @showTeams={{false}}\\n          @onSelectItem={{fn this.updateSelection 'articles'}}\\n          @defaultLabel=\\\"Select author\\\"\\n          data-test-article-author\\n        />\\n      </div>\\n    </div>\\n  </card.section>\\n  <card.section>\\n    <div class=\\\"flex flex-row\\\">\\n      <div class=\\\"flex flex-col justify-center flex-1\\\">\\n        Reassign owned users, leads and accounts to\\n      </div>\\n      <div class=\\\"flex flex-col\\\">\\n        <Admin::NewSelector\\n          @assignees={{this.possibleAssigneesForOwnedUsersLeadsAndAccounts}}\\n          @showTeams={{true}}\\n          @onSelectItem={{fn this.updateSelection 'ownedUsersLeadsAndAccounts'}}\\n          @defaultLabel=\\\"Select owner\\\"\\n          data-test-account-owner\\n        />\\n      </div>\\n    </div>\\n  </card.section>\\n</Settings::Teammates::Remove::ReassignConversations>\\n\", {\"contents\":\"<Settings::Teammates::Remove::ReassignConversations\\n  @app={{@app}}\\n  @teammate={{@teammate}}\\n  @reassignments={{@reassignments}}\\n  @updateSelection={{this.updateConversationsSelection}}\\n  @thingsToReassign={{this.thingsToReassign}}\\n  as |card|>\\n  <card.section>\\n    <div class=\\\"flex flex-row\\\">\\n      <div class=\\\"flex flex-col justify-center flex-1\\\">\\n        Send messages from\\n      </div>\\n      <div class=\\\"flex flex-col\\\">\\n        <Admin::NewSelector\\n          @assignees={{this.possibleSendersForMessages}}\\n          @showTeams={{false}}\\n          @onSelectItem={{fn this.updateSelection 'messages'}}\\n          @defaultLabel=\\\"Select sender\\\"\\n          data-test-message-sender\\n        />\\n      </div>\\n    </div>\\n  </card.section>\\n  <card.section>\\n    <div class=\\\"flex flex-row\\\">\\n      <div class=\\\"flex flex-col justify-center flex-1\\\">\\n        Update article author to\\n      </div>\\n      <div class=\\\"flex flex-col\\\">\\n        <Admin::NewSelector\\n          @assignees={{this.possibleAuthorsForArticles}}\\n          @showTeams={{false}}\\n          @onSelectItem={{fn this.updateSelection 'articles'}}\\n          @defaultLabel=\\\"Select author\\\"\\n          data-test-article-author\\n        />\\n      </div>\\n    </div>\\n  </card.section>\\n  <card.section>\\n    <div class=\\\"flex flex-row\\\">\\n      <div class=\\\"flex flex-col justify-center flex-1\\\">\\n        Reassign owned users, leads and accounts to\\n      </div>\\n      <div class=\\\"flex flex-col\\\">\\n        <Admin::NewSelector\\n          @assignees={{this.possibleAssigneesForOwnedUsersLeadsAndAccounts}}\\n          @showTeams={{true}}\\n          @onSelectItem={{fn this.updateSelection 'ownedUsersLeadsAndAccounts'}}\\n          @defaultLabel=\\\"Select owner\\\"\\n          data-test-account-owner\\n        />\\n      </div>\\n    </div>\\n  </card.section>\\n</Settings::Teammates::Remove::ReassignConversations>\\n\",\"moduleName\":\"embercom/components/settings/teammates/remove/reassign.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/remove/reassign.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { isPresent } from '@ember/utils';\n\nexport default class extends Component {\n  conversationReassignmentsAreValid = false;\n\n  get thingsToReassign() {\n    return 'messages, articles, conversations and owned users, leads and accounts';\n  }\n\n  get possibleSendersForMessages() {\n    let teammateId = this.args.teammate.id;\n    return this.args.app.humanAdmins.filter(a => a.id !== teammateId);\n  }\n\n  get possibleAuthorsForArticles() {\n    return this.possibleSendersForMessages;\n  }\n\n  get possibleAssigneesForOwnedUsersLeadsAndAccounts() {\n    return this.possibleSendersForMessages;\n  }\n\n  get selectionIsValid() {\n    let reassignments = this.args.reassignments;\n    return (\n      this.conversationReassignmentsAreValid &&\n      isPresent(reassignments.messages) &&\n      isPresent(reassignments.articles) &&\n      isPresent(reassignments.ownedUsersLeadsAndAccounts)\n    );\n  }\n\n  @action\n  updateSelection(key, teammateId) {\n    this.args.reassignments[key] = teammateId;\n    this.args.updateSelection(this.selectionIsValid);\n  }\n\n  @action\n  updateConversationsSelection(conversationReassignmentsAreValid) {\n    this.conversationReassignmentsAreValid = conversationReassignmentsAreValid;\n    this.args.updateSelection(this.selectionIsValid);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcCard class=\\\"settings__roles__role-card mb-6 p-4 flex flex-col\\\" data-test-role-card>\\n  <div class=\\\"flex flex-col flex-1\\\">\\n    <div class=\\\"flex flex-row items-start\\\">\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <Heading @size=\\\"2\\\" class=\\\"settings__roles__role-card__heading\\\">{{@role.name}}</Heading>\\n      </div>\\n      <IcButton\\n        data-test-role-card-settings-button={{@role.id}}\\n        @type=\\\"secondary\\\"\\n        @subtle={{true}}\\n        @icon=\\\"settings\\\"\\n        @onClick={{transition-to \\\"apps.app.settings.roles.edit\\\" @role.id}}\\n      />\\n    </div>\\n    <Paragraph @styling=\\\"muted\\\" class=\\\"mb-4\\\">\\n      {{@role.description}}\\n    </Paragraph>\\n  </div>\\n  <div class=\\\"flex flex-row items-center\\\">\\n    {{#let @role.admins as |admins|}}\\n      <PulseCandidate::AvatarGroup @admins={{admins}} class=\\\"mr-3\\\" data-test-role-card-avatar-group as |avatarGroup|>\\n        <div>{{!-- this extra div is intentional, so the LinkTo doesn't have a flex parent --}}\\n          {{#if avatarGroup.isEmpty}}\\n            <LinkTo @route=\\\"apps.app.settings.teammates\\\" class=\\\"btn__tertiary\\\">\\n              {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\" solo=true}} Add teammates\\n            </LinkTo>\\n          {{else}}\\n            {{#if (gt avatarGroup.otherAdmins.length 0)}}\\n              <LinkTo @route=\\\"apps.app.settings.teammates\\\" @query={{hash role=@role.id}} data-test-role-card-other-admins-link>\\n                  <Text @linkStyling=\\\"subtle\\\" @styling='small'>and {{pluralize avatarGroup.otherAdmins.length \\\"other\\\"}}</Text>\\n              </LinkTo>\\n            {{/if}}\\n          {{/if}}\\n        </div>\\n      </PulseCandidate::AvatarGroup>\\n    {{/let}}\\n  </div>\\n</IcCard>\\n\", {\"contents\":\"<IcCard class=\\\"settings__roles__role-card mb-6 p-4 flex flex-col\\\" data-test-role-card>\\n  <div class=\\\"flex flex-col flex-1\\\">\\n    <div class=\\\"flex flex-row items-start\\\">\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <Heading @size=\\\"2\\\" class=\\\"settings__roles__role-card__heading\\\">{{@role.name}}</Heading>\\n      </div>\\n      <IcButton\\n        data-test-role-card-settings-button={{@role.id}}\\n        @type=\\\"secondary\\\"\\n        @subtle={{true}}\\n        @icon=\\\"settings\\\"\\n        @onClick={{transition-to \\\"apps.app.settings.roles.edit\\\" @role.id}}\\n      />\\n    </div>\\n    <Paragraph @styling=\\\"muted\\\" class=\\\"mb-4\\\">\\n      {{@role.description}}\\n    </Paragraph>\\n  </div>\\n  <div class=\\\"flex flex-row items-center\\\">\\n    {{#let @role.admins as |admins|}}\\n      <PulseCandidate::AvatarGroup @admins={{admins}} class=\\\"mr-3\\\" data-test-role-card-avatar-group as |avatarGroup|>\\n        <div>{{!-- this extra div is intentional, so the LinkTo doesn't have a flex parent --}}\\n          {{#if avatarGroup.isEmpty}}\\n            <LinkTo @route=\\\"apps.app.settings.teammates\\\" class=\\\"btn__tertiary\\\">\\n              {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\" solo=true}} Add teammates\\n            </LinkTo>\\n          {{else}}\\n            {{#if (gt avatarGroup.otherAdmins.length 0)}}\\n              <LinkTo @route=\\\"apps.app.settings.teammates\\\" @query={{hash role=@role.id}} data-test-role-card-other-admins-link>\\n                  <Text @linkStyling=\\\"subtle\\\" @styling='small'>and {{pluralize avatarGroup.otherAdmins.length \\\"other\\\"}}</Text>\\n              </LinkTo>\\n            {{/if}}\\n          {{/if}}\\n        </div>\\n      </PulseCandidate::AvatarGroup>\\n    {{/let}}\\n  </div>\\n</IcCard>\\n\",\"moduleName\":\"embercom/components/settings/teammates/roles/role-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/roles/role-card.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcButtonList as |list| >\\n  <list.button @label=\\\"Cancel\\\" @type=\\\"secondary\\\" @onClick={{transition-to \\\"apps.app.settings.roles\\\"}} data-test-cancel-button />\\n  <list.button @label=\\\"Delete this role\\\" @type=\\\"secondary-destructive\\\" @icon=\\\"trash\\\" @onClick={{this.deleteRole}} data-test-delete-role-button />\\n  <list.button @label=\\\"Apply changes\\\" @type=\\\"primary\\\" @onClick={{this.applyChanges}} @disabled={{not (and @role.validations.isValid @role.hasDirtyAttributes)}} data-test-save-role-button />\\n</IcButtonList>\\n\\n<IcModal\\n  @onModalClose={{this.closeConfirmModal}}\\n  @isOpen={{this.showConfirmModal}} as |modal|>\\n  <modal.header @title=\\\"Role can’t be removed\\\" />\\n  <modal.body>\\n    <Paragraph>\\n      This role is used by <LinkTo data-test-teammates-link @route=\\\"apps.app.settings.teammates\\\" @query={{hash role=@role.id}}>{{pluralize @role.admins.length \\\"teammate\\\"}}</LinkTo>.\\n      To remove this role, edit their permissions so that they don't use this role.\\n      Then you'll be able to remove it.\\n    </Paragraph>\\n  </modal.body>\\n  <modal.footer @primaryButton={{hash label=\\\"Okay\\\" action=this.closeConfirmModal}} />\\n</IcModal>\\n\\n<Settings::Teammates::Modals::ApplyChangesModal\\n  @isOpen={{this.showApplyChangesModal}}\\n  @onClose={{this.onChangesRejected}}\\n  @onAccept={{this.onChangesAccepted}}\\n  @permissionsObject={{@role}}\\n/>\\n\", {\"contents\":\"<IcButtonList as |list| >\\n  <list.button @label=\\\"Cancel\\\" @type=\\\"secondary\\\" @onClick={{transition-to \\\"apps.app.settings.roles\\\"}} data-test-cancel-button />\\n  <list.button @label=\\\"Delete this role\\\" @type=\\\"secondary-destructive\\\" @icon=\\\"trash\\\" @onClick={{this.deleteRole}} data-test-delete-role-button />\\n  <list.button @label=\\\"Apply changes\\\" @type=\\\"primary\\\" @onClick={{this.applyChanges}} @disabled={{not (and @role.validations.isValid @role.hasDirtyAttributes)}} data-test-save-role-button />\\n</IcButtonList>\\n\\n<IcModal\\n  @onModalClose={{this.closeConfirmModal}}\\n  @isOpen={{this.showConfirmModal}} as |modal|>\\n  <modal.header @title=\\\"Role can’t be removed\\\" />\\n  <modal.body>\\n    <Paragraph>\\n      This role is used by <LinkTo data-test-teammates-link @route=\\\"apps.app.settings.teammates\\\" @query={{hash role=@role.id}}>{{pluralize @role.admins.length \\\"teammate\\\"}}</LinkTo>.\\n      To remove this role, edit their permissions so that they don't use this role.\\n      Then you'll be able to remove it.\\n    </Paragraph>\\n  </modal.body>\\n  <modal.footer @primaryButton={{hash label=\\\"Okay\\\" action=this.closeConfirmModal}} />\\n</IcModal>\\n\\n<Settings::Teammates::Modals::ApplyChangesModal\\n  @isOpen={{this.showApplyChangesModal}}\\n  @onClose={{this.onChangesRejected}}\\n  @onAccept={{this.onChangesAccepted}}\\n  @permissionsObject={{@role}}\\n/>\\n\",\"moduleName\":\"embercom/components/settings/teammates/roles/role-editor-buttons.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/roles/role-editor-buttons.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { Promise as EmberPromise } from 'rsvp';\n\nexport default class RoleEditorButtons extends Component {\n  @tracked showConfirmModal = false;\n  @tracked showApplyChangesModal = false;\n  resolveAcceptedFunction;\n  rejectAcceptedFunction;\n\n  showRoleCantBeRemovedModal() {\n    this.showConfirmModal = true;\n  }\n\n  @action\n  closeConfirmModal() {\n    this.showConfirmModal = false;\n  }\n\n  @action\n  deleteRole() {\n    if (this.args.role.admins.length > 0) {\n      this.showRoleCantBeRemovedModal();\n      return;\n    }\n    this.args.deleteRole();\n  }\n\n  async confirmApplyChanges() {\n    if (this.args.role.numberOfPermissionsChanged() === 0) {\n      return true;\n    } else {\n      this.showApplyChangesModal = true;\n\n      return new EmberPromise((resolve, reject) => {\n        this.resolveAcceptedFunction = () => {\n          resolve(true);\n        };\n        this.rejectAcceptedFunction = () => {\n          reject(false);\n        };\n      });\n    }\n  }\n\n  @action\n  async applyChanges() {\n    if (await this.confirmApplyChanges()) {\n      this.args.saveChanges();\n    }\n  }\n\n  @action\n  onChangesAccepted() {\n    this.resolveAcceptedFunction();\n    this.showApplyChangesModal = false;\n  }\n\n  @action\n  onChangesRejected() {\n    this.rejectAcceptedFunction();\n    this.showApplyChangesModal = false;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Form as |form|>\\n  <form.Item @label=\\\"Name\\\" @isInvalid={{not @role.validations.attrs.name.isValid}} as |item|>\\n    <item.Input @value={{@role.name}} @placeholder=\\\"Enter a name, such as Sales\\\" {{auto-focus-element}} data-test-role-name-input />\\n  </form.Item>\\n  {{#let (sub 160 (or @role.description.length 0)) as |numberOfCharactersRemaining|}}\\n    <form.Item @label=\\\"Description\\\" @hint={{concat numberOfCharactersRemaining \\\" characters remaining\\\"}} @isInvalid={{not @role.validations.attrs.description.isValid}} as |item|>\\n      <item.Textarea @value={{@role.description}} @placeholder=\\\"Explain what this role can do…\\\" data-test-role-description-input />\\n    </form.Item>\\n  {{/let}}\\n\\n  <form.SectionHeading>Permissions</form.SectionHeading>\\n  <form.SectionDescription>These permissions will be applied to each teammate with this role.</form.SectionDescription>\\n</Form>\\n\\n{{#if (has-feature \\\"restrict-conversation-access\\\")}}\\n  <Settings::Teammates::ConversationAccessEditor\\n    @roleOrPermissionObject={{@role}}\\n  />\\n{{/if}}\\n\\n<Settings::Teammates::Permissions::PermissionsEditor\\n  @app={{service \\\"app-service\\\" \\\"app\\\"}}\\n  @permissionsObject={{@role}}\\n/>\\n\", {\"contents\":\"<Form as |form|>\\n  <form.Item @label=\\\"Name\\\" @isInvalid={{not @role.validations.attrs.name.isValid}} as |item|>\\n    <item.Input @value={{@role.name}} @placeholder=\\\"Enter a name, such as Sales\\\" {{auto-focus-element}} data-test-role-name-input />\\n  </form.Item>\\n  {{#let (sub 160 (or @role.description.length 0)) as |numberOfCharactersRemaining|}}\\n    <form.Item @label=\\\"Description\\\" @hint={{concat numberOfCharactersRemaining \\\" characters remaining\\\"}} @isInvalid={{not @role.validations.attrs.description.isValid}} as |item|>\\n      <item.Textarea @value={{@role.description}} @placeholder=\\\"Explain what this role can do…\\\" data-test-role-description-input />\\n    </form.Item>\\n  {{/let}}\\n\\n  <form.SectionHeading>Permissions</form.SectionHeading>\\n  <form.SectionDescription>These permissions will be applied to each teammate with this role.</form.SectionDescription>\\n</Form>\\n\\n{{#if (has-feature \\\"restrict-conversation-access\\\")}}\\n  <Settings::Teammates::ConversationAccessEditor\\n    @roleOrPermissionObject={{@role}}\\n  />\\n{{/if}}\\n\\n<Settings::Teammates::Permissions::PermissionsEditor\\n  @app={{service \\\"app-service\\\" \\\"app\\\"}}\\n  @permissionsObject={{@role}}\\n/>\\n\",\"moduleName\":\"embercom/components/settings/teammates/roles/role-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/roles/role-editor.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.shouldShowAnything}}\\n  <Settings::Teammates::DataLoader @loadDataTask={{this.loadSeatInfo}} @dependentValue={{array @changeInSeats this.activePlanIds this.customer.pricePerSeat this.customer.seatLimit}} as |seatInfo|>\\n\\n    {{#if seatInfo}}\\n      <Paywall @pricingMetric=\\\"latest_daily_admin_count\\\" @featureUsage={{add 1 seatInfo.numberOfSeatsInUseAfter}} as |paywall|>\\n        {{yield (hash seatInfo=seatInfo paywall=paywall isAnnuallyContracted=(service \\\"customer-service.customer.isAnnuallyContracted\\\"))}}\\n      </Paywall>\\n    {{else}}\\n      {{!-- fall back to a generic message if we cannot load the seat info --}}\\n      <Paywalls::UpgradeCard\\n        {{did-insert (track-analytics-event action=\\\"viewed\\\" object=\\\"seats-price-change-fallback\\\" seatInfo=seatInfo)}}\\n        data-test-price-change-card\\n      >\\n        This may affect the cost of your subscription\\n      </Paywalls::UpgradeCard>\\n    {{/if}}\\n  </Settings::Teammates::DataLoader>\\n{{/if}}\\n\", {\"contents\":\"{{#if this.shouldShowAnything}}\\n  <Settings::Teammates::DataLoader @loadDataTask={{this.loadSeatInfo}} @dependentValue={{array @changeInSeats this.activePlanIds this.customer.pricePerSeat this.customer.seatLimit}} as |seatInfo|>\\n\\n    {{#if seatInfo}}\\n      <Paywall @pricingMetric=\\\"latest_daily_admin_count\\\" @featureUsage={{add 1 seatInfo.numberOfSeatsInUseAfter}} as |paywall|>\\n        {{yield (hash seatInfo=seatInfo paywall=paywall isAnnuallyContracted=(service \\\"customer-service.customer.isAnnuallyContracted\\\"))}}\\n      </Paywall>\\n    {{else}}\\n      {{!-- fall back to a generic message if we cannot load the seat info --}}\\n      <Paywalls::UpgradeCard\\n        {{did-insert (track-analytics-event action=\\\"viewed\\\" object=\\\"seats-price-change-fallback\\\" seatInfo=seatInfo)}}\\n        data-test-price-change-card\\n      >\\n        This may affect the cost of your subscription\\n      </Paywalls::UpgradeCard>\\n    {{/if}}\\n  </Settings::Teammates::DataLoader>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/settings/teammates/seats-cost-change-card.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/seats-cost-change-card.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { getSeatInfo } from 'embercom/lib/admins/seat-info';\nimport { task } from 'ember-concurrency-decorators';\nimport { captureException } from 'embercom/lib/sentry';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class SeatsCostChangeCard extends Component {\n  @service appService;\n  @service store;\n  @tracked customer;\n\n  get activePlanIds() {\n    return this.appService.app.activeProducts\n      .flatMap(p => p.plans.toArray())\n      .filter(p => p.active)\n      .map(p => p.id);\n  }\n\n  get shouldShowAnything() {\n    return this.appService.app.canSeeCostChangeCard;\n  }\n\n  @task({ restartable: true })\n  *loadSeatInfo() {\n    try {\n      this.customer = yield this.store.findRecord(\n        'billing/customer',\n        this.appService.app.customer_id,\n        {\n          reload: false,\n          backgroundReload: false,\n        },\n      );\n      if (this.args.loadSeatInfo) {\n        return yield this.args.loadSeatInfo.perform();\n      }\n      return yield getSeatInfo(this.args.changeInSeats);\n    } catch (e) {\n      captureException(e);\n      console.error(e);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Settings::Teammates::SeatsCostChangeCard @changeInSeats={{@changeInSeats}} @loadSeatInfo={{@loadSeatInfo}} as |card|>\\n  {{#if (not-eq card.seatInfo.changeInSeatCost 0)}}\\n    <Paywalls::UpgradeCard>\\n      <div class=\\\"flex flex-col {{if card.paywall.isActive \\\"pb-6\\\"}}\\\" data-test-price-change-card {{did-insert (track-analytics-event action=\\\"viewed\\\" object=\\\"seats-price-change-card\\\" seatInfo=card.seatInfo)}}>\\n        <Text @styling=\\\"strong\\\">\\n          {{#if (gt card.seatInfo.changeInNumberOfChargeableSeats 0)}}\\n            Add {{pluralize card.seatInfo.changeInNumberOfChargeableSeats \\\"seat\\\"}} to your plan\\n          {{else}}\\n            Remove {{pluralize (abs card.seatInfo.changeInNumberOfChargeableSeats) \\\"seat\\\"}} from your plan\\n          {{/if}}\\n        </Text>\\n        <Paragraph>Your monthly price will go {{if (gt card.seatInfo.changeInSeatCost 0) \\\"up\\\" \\\"down\\\"}} by\\n          <Text @styling=\\\"strong\\\">{{card.seatInfo.formattedAbsoluteValueOfChangeInSeatCost}}</Text>.\\n        </Paragraph>\\n        <Settings::Teammates::SeatsCostChangeCard::PricingBreakdown @seatInfo={{card.seatInfo}} />\\n      </div>\\n      {{#if card.paywall.isActive}}\\n        {{#if card.isAnnuallyContracted}}\\n          <div class=\\\"flex flex-col paywalls__upgrade-card__inline-paywall-card pt-6\\\" data-test-inline-seats-contract-limit-card {{did-insert (track-analytics-event action=\\\"viewed\\\" object=\\\"seats-contract-limit-card\\\" seatInfo=card.seatInfo)}}>\\n            <Text @styling=\\\"strong\\\">You’ve reached your seat limit.</Text>\\n            <Paragraph class=\\\"mb-4\\\">To add more, go to billing and consult with your relationship manager.</Paragraph>\\n            <div>\\n              <IcButton @label=\\\"Go to billing\\\" @type=\\\"primary\\\" @onClick={{transition-to \\\"apps.app.billing\\\"}} />\\n            </div>\\n          </div>\\n        {{else}}\\n          <div class=\\\"flex flex-col paywalls__upgrade-card__inline-paywall-card pt-6\\\" data-test-inline-upgrade-card {{did-insert (track-analytics-event action=\\\"viewed\\\" object=\\\"seats-upgrade-card-inlined\\\" seatInfo=card.seatInfo)}}>\\n            <Paragraph>Your plan has a limit of {{card.paywall.usageLimit}} seats. Upgrade to add more.</Paragraph>\\n            <Paragraph class=\\\"mt-2\\\">\\n              <card.paywall.UpgradeButton />\\n            </Paragraph>\\n          </div>\\n        {{/if}}\\n      {{/if}}\\n    </Paywalls::UpgradeCard>\\n  {{else}}\\n    {{#if card.paywall.isActive}}\\n      {{#if card.isAnnuallyContracted}}\\n        <Paywalls::UpgradeCard {{did-insert (track-analytics-event action=\\\"viewed\\\" object=\\\"seats-contract-limit-card\\\" seatInfo=card.seatInfo)}} data-test-seats-contract-limit-card>\\n          <Text @styling=\\\"strong\\\">You’ve reached your seat limit.</Text>\\n          <Paragraph class=\\\"mb-4\\\">To add more, go to billing and consult with your relationship manager.</Paragraph>\\n          <div>\\n            <IcButton @label=\\\"Go to billing\\\" @type=\\\"primary\\\" @onClick={{transition-to \\\"apps.app.billing\\\"}} />\\n          </div>\\n        </Paywalls::UpgradeCard>\\n      {{else}}\\n        <Paywalls::UpgradeCard {{did-insert (track-analytics-event action=\\\"viewed\\\" object=\\\"seats-upgrade-card\\\" seatInfo=card.seatInfo)}} data-test-upgrade-card>\\n          <div class=\\\"flex flex-row\\\">\\n            <div class=\\\"flex flex-col justify-center flex-1\\\">\\n              <Text @styling=\\\"strong\\\">Upgrade to add more teammates</Text>\\n              <Paragraph>Your plan has a limit of {{card.paywall.usageLimit}} seats.</Paragraph>\\n            </div>\\n            <div class=\\\"flex flex-col justify-center\\\">\\n              <card.paywall.UpgradeButton />\\n            </div>\\n          </div>\\n        </Paywalls::UpgradeCard>\\n      {{/if}}\\n    {{/if}}\\n  {{/if}}\\n</Settings::Teammates::SeatsCostChangeCard>\\n\", {\"contents\":\"<Settings::Teammates::SeatsCostChangeCard @changeInSeats={{@changeInSeats}} @loadSeatInfo={{@loadSeatInfo}} as |card|>\\n  {{#if (not-eq card.seatInfo.changeInSeatCost 0)}}\\n    <Paywalls::UpgradeCard>\\n      <div class=\\\"flex flex-col {{if card.paywall.isActive \\\"pb-6\\\"}}\\\" data-test-price-change-card {{did-insert (track-analytics-event action=\\\"viewed\\\" object=\\\"seats-price-change-card\\\" seatInfo=card.seatInfo)}}>\\n        <Text @styling=\\\"strong\\\">\\n          {{#if (gt card.seatInfo.changeInNumberOfChargeableSeats 0)}}\\n            Add {{pluralize card.seatInfo.changeInNumberOfChargeableSeats \\\"seat\\\"}} to your plan\\n          {{else}}\\n            Remove {{pluralize (abs card.seatInfo.changeInNumberOfChargeableSeats) \\\"seat\\\"}} from your plan\\n          {{/if}}\\n        </Text>\\n        <Paragraph>Your monthly price will go {{if (gt card.seatInfo.changeInSeatCost 0) \\\"up\\\" \\\"down\\\"}} by\\n          <Text @styling=\\\"strong\\\">{{card.seatInfo.formattedAbsoluteValueOfChangeInSeatCost}}</Text>.\\n        </Paragraph>\\n        <Settings::Teammates::SeatsCostChangeCard::PricingBreakdown @seatInfo={{card.seatInfo}} />\\n      </div>\\n      {{#if card.paywall.isActive}}\\n        {{#if card.isAnnuallyContracted}}\\n          <div class=\\\"flex flex-col paywalls__upgrade-card__inline-paywall-card pt-6\\\" data-test-inline-seats-contract-limit-card {{did-insert (track-analytics-event action=\\\"viewed\\\" object=\\\"seats-contract-limit-card\\\" seatInfo=card.seatInfo)}}>\\n            <Text @styling=\\\"strong\\\">You’ve reached your seat limit.</Text>\\n            <Paragraph class=\\\"mb-4\\\">To add more, go to billing and consult with your relationship manager.</Paragraph>\\n            <div>\\n              <IcButton @label=\\\"Go to billing\\\" @type=\\\"primary\\\" @onClick={{transition-to \\\"apps.app.billing\\\"}} />\\n            </div>\\n          </div>\\n        {{else}}\\n          <div class=\\\"flex flex-col paywalls__upgrade-card__inline-paywall-card pt-6\\\" data-test-inline-upgrade-card {{did-insert (track-analytics-event action=\\\"viewed\\\" object=\\\"seats-upgrade-card-inlined\\\" seatInfo=card.seatInfo)}}>\\n            <Paragraph>Your plan has a limit of {{card.paywall.usageLimit}} seats. Upgrade to add more.</Paragraph>\\n            <Paragraph class=\\\"mt-2\\\">\\n              <card.paywall.UpgradeButton />\\n            </Paragraph>\\n          </div>\\n        {{/if}}\\n      {{/if}}\\n    </Paywalls::UpgradeCard>\\n  {{else}}\\n    {{#if card.paywall.isActive}}\\n      {{#if card.isAnnuallyContracted}}\\n        <Paywalls::UpgradeCard {{did-insert (track-analytics-event action=\\\"viewed\\\" object=\\\"seats-contract-limit-card\\\" seatInfo=card.seatInfo)}} data-test-seats-contract-limit-card>\\n          <Text @styling=\\\"strong\\\">You’ve reached your seat limit.</Text>\\n          <Paragraph class=\\\"mb-4\\\">To add more, go to billing and consult with your relationship manager.</Paragraph>\\n          <div>\\n            <IcButton @label=\\\"Go to billing\\\" @type=\\\"primary\\\" @onClick={{transition-to \\\"apps.app.billing\\\"}} />\\n          </div>\\n        </Paywalls::UpgradeCard>\\n      {{else}}\\n        <Paywalls::UpgradeCard {{did-insert (track-analytics-event action=\\\"viewed\\\" object=\\\"seats-upgrade-card\\\" seatInfo=card.seatInfo)}} data-test-upgrade-card>\\n          <div class=\\\"flex flex-row\\\">\\n            <div class=\\\"flex flex-col justify-center flex-1\\\">\\n              <Text @styling=\\\"strong\\\">Upgrade to add more teammates</Text>\\n              <Paragraph>Your plan has a limit of {{card.paywall.usageLimit}} seats.</Paragraph>\\n            </div>\\n            <div class=\\\"flex flex-col justify-center\\\">\\n              <card.paywall.UpgradeButton />\\n            </div>\\n          </div>\\n        </Paywalls::UpgradeCard>\\n      {{/if}}\\n    {{/if}}\\n  {{/if}}\\n</Settings::Teammates::SeatsCostChangeCard>\\n\",\"moduleName\":\"embercom/components/settings/teammates/seats-cost-change-card/email-invite.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/seats-cost-change-card/email-invite.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Settings::Teammates::SeatsCostChangeCard @changeInSeats={{1}} as |card|>\\n  {{#if card.paywall.isActive}}\\n    {{#if card.isAnnuallyContracted}}\\n      <Paywalls::UpgradeCard {{did-insert (track-analytics-event action=\\\"viewed\\\" object=\\\"seats-contract-limit-card\\\" seatInfo=card.seatInfo)}} data-test-seats-contract-limit-card>\\n        <Text @styling=\\\"strong\\\">You’ve reached your seat limit.</Text>\\n        <Paragraph class=\\\"mb-4\\\">To add more, go to billing and consult with your relationship manager.</Paragraph>\\n        <div>\\n          <IcButton @label=\\\"Go to billing\\\" @type=\\\"primary\\\" @onClick={{transition-to \\\"apps.app.billing\\\"}} />\\n        </div>\\n      </Paywalls::UpgradeCard>\\n    {{else}}\\n      <Paywalls::UpgradeCard {{did-insert (track-analytics-event action=\\\"viewed\\\" object=\\\"seats-invite-link-upgrade-card\\\" seatInfo=card.seatInfo)}} data-test-invite-link-upgrade-card>\\n        <Text @styling=\\\"strong\\\">You've reached your limit of seats</Text>\\n        <Text class=\\\"mb-6\\\">New teammates won't be able to sign-up via this link.</Text>\\n        <div class=\\\"flex flex-col paywalls__upgrade-card__inline-paywall-card pt-6\\\" data-test-inline-upgrade-card {{did-insert (track-analytics-event action=\\\"viewed\\\" object=\\\"seats-upgrade-card-inlined\\\" seatInfo=@seatInfo)}}>\\n          <Paragraph>Your plan has a limit of {{card.paywall.usageLimit}} seats. Upgrade to add more.</Paragraph>\\n          <Paragraph class=\\\"mt-2\\\">\\n            <card.paywall.UpgradeButton />\\n          </Paragraph>\\n        </div>\\n      </Paywalls::UpgradeCard>\\n    {{/if}}\\n  {{else if (gt card.seatInfo.changeInSeatCost 0)}}\\n    <Paywalls::UpgradeCard {{did-insert (track-analytics-event action=\\\"viewed\\\" object=\\\"seats-price-change-card\\\" seatInfo=card.seatInfo)}} data-test-price-change-card>\\n      <Paragraph>If a teammate signs-up, your monthly price will go up by\\n        <Text @styling=\\\"strong\\\">{{card.seatInfo.formattedAbsoluteValueOfChangeInSeatCost}}</Text>.\\n      </Paragraph>\\n      <Settings::Teammates::SeatsCostChangeCard::PricingBreakdown @seatInfo={{card.seatInfo}} />\\n    </Paywalls::UpgradeCard>\\n  {{/if}}\\n</Settings::Teammates::SeatsCostChangeCard>\\n\", {\"contents\":\"<Settings::Teammates::SeatsCostChangeCard @changeInSeats={{1}} as |card|>\\n  {{#if card.paywall.isActive}}\\n    {{#if card.isAnnuallyContracted}}\\n      <Paywalls::UpgradeCard {{did-insert (track-analytics-event action=\\\"viewed\\\" object=\\\"seats-contract-limit-card\\\" seatInfo=card.seatInfo)}} data-test-seats-contract-limit-card>\\n        <Text @styling=\\\"strong\\\">You’ve reached your seat limit.</Text>\\n        <Paragraph class=\\\"mb-4\\\">To add more, go to billing and consult with your relationship manager.</Paragraph>\\n        <div>\\n          <IcButton @label=\\\"Go to billing\\\" @type=\\\"primary\\\" @onClick={{transition-to \\\"apps.app.billing\\\"}} />\\n        </div>\\n      </Paywalls::UpgradeCard>\\n    {{else}}\\n      <Paywalls::UpgradeCard {{did-insert (track-analytics-event action=\\\"viewed\\\" object=\\\"seats-invite-link-upgrade-card\\\" seatInfo=card.seatInfo)}} data-test-invite-link-upgrade-card>\\n        <Text @styling=\\\"strong\\\">You've reached your limit of seats</Text>\\n        <Text class=\\\"mb-6\\\">New teammates won't be able to sign-up via this link.</Text>\\n        <div class=\\\"flex flex-col paywalls__upgrade-card__inline-paywall-card pt-6\\\" data-test-inline-upgrade-card {{did-insert (track-analytics-event action=\\\"viewed\\\" object=\\\"seats-upgrade-card-inlined\\\" seatInfo=@seatInfo)}}>\\n          <Paragraph>Your plan has a limit of {{card.paywall.usageLimit}} seats. Upgrade to add more.</Paragraph>\\n          <Paragraph class=\\\"mt-2\\\">\\n            <card.paywall.UpgradeButton />\\n          </Paragraph>\\n        </div>\\n      </Paywalls::UpgradeCard>\\n    {{/if}}\\n  {{else if (gt card.seatInfo.changeInSeatCost 0)}}\\n    <Paywalls::UpgradeCard {{did-insert (track-analytics-event action=\\\"viewed\\\" object=\\\"seats-price-change-card\\\" seatInfo=card.seatInfo)}} data-test-price-change-card>\\n      <Paragraph>If a teammate signs-up, your monthly price will go up by\\n        <Text @styling=\\\"strong\\\">{{card.seatInfo.formattedAbsoluteValueOfChangeInSeatCost}}</Text>.\\n      </Paragraph>\\n      <Settings::Teammates::SeatsCostChangeCard::PricingBreakdown @seatInfo={{card.seatInfo}} />\\n    </Paywalls::UpgradeCard>\\n  {{/if}}\\n</Settings::Teammates::SeatsCostChangeCard>\\n\",\"moduleName\":\"embercom/components/settings/teammates/seats-cost-change-card/invite-link.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/seats-cost-change-card/invite-link.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Text class=\\\"paywalls__upgrade-card__expand-button\\\" {{on \\\"click\\\" (toggle \\\"isExpanded\\\" this)}} data-test-why-this-price>\\n  Why this price?\\n  <span class=\\\"paywalls__upgrade-card__expand-icon\\\">{{ic-interface-icon (if this.isExpanded \\\"up-arrow\\\" \\\"down-arrow\\\")}}</span>\\n</Text>\\n{{#if this.isExpanded}}\\n  <div class=\\\"flex flex-col\\\" data-test-pricing-breakdown {{did-insert (track-analytics-event action=\\\"viewed\\\" object=\\\"seats-price-change-breakdown\\\" seatInfo=@seatInfo)}}>\\n    {{!-- template-lint-disable intercom/no-custom-table --}}\\n    <table class=\\\"paywalls__upgrade-card__price-breakdown mt-6\\\">\\n      <tbody>\\n        <tr><td>Seats included in your plan</td><td>{{@seatInfo.numberOfIncludedSeats}}</td></tr>\\n        <tr><td>Price per each additional seat</td><td>{{@seatInfo.formattedPricePerSeat}}/mo</td></tr>\\n      </tbody>\\n    </table>\\n    <table class=\\\"paywalls__upgrade-card__price-breakdown mt-6\\\">\\n      <tbody>\\n        <tr><td>Seats you’re using at the moment</td><td>{{@seatInfo.numberOfSeatsInUse}}</td></tr>\\n        <tr>\\n          <td>\\n            {{#if (gt @seatInfo.changeInNumberOfChargeableSeats 0)}}\\n              Seats you’re adding to your plan\\n            {{else}}\\n              Seats you’re removing from your plan\\n            {{/if}}\\n          </td>\\n          <td>{{abs @seatInfo.changeInNumberOfChargeableSeats}}</td></tr>\\n        <tr><td>Price {{if (gt @seatInfo.changeInSeatCost 0) \\\"increase\\\" \\\"decrease\\\"}}</td><td>{{@seatInfo.formattedAbsoluteValueOfChangeInSeatCost}}/mo</td></tr>\\n      </tbody>\\n    </table>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"<Text class=\\\"paywalls__upgrade-card__expand-button\\\" {{on \\\"click\\\" (toggle \\\"isExpanded\\\" this)}} data-test-why-this-price>\\n  Why this price?\\n  <span class=\\\"paywalls__upgrade-card__expand-icon\\\">{{ic-interface-icon (if this.isExpanded \\\"up-arrow\\\" \\\"down-arrow\\\")}}</span>\\n</Text>\\n{{#if this.isExpanded}}\\n  <div class=\\\"flex flex-col\\\" data-test-pricing-breakdown {{did-insert (track-analytics-event action=\\\"viewed\\\" object=\\\"seats-price-change-breakdown\\\" seatInfo=@seatInfo)}}>\\n    {{!-- template-lint-disable intercom/no-custom-table --}}\\n    <table class=\\\"paywalls__upgrade-card__price-breakdown mt-6\\\">\\n      <tbody>\\n        <tr><td>Seats included in your plan</td><td>{{@seatInfo.numberOfIncludedSeats}}</td></tr>\\n        <tr><td>Price per each additional seat</td><td>{{@seatInfo.formattedPricePerSeat}}/mo</td></tr>\\n      </tbody>\\n    </table>\\n    <table class=\\\"paywalls__upgrade-card__price-breakdown mt-6\\\">\\n      <tbody>\\n        <tr><td>Seats you’re using at the moment</td><td>{{@seatInfo.numberOfSeatsInUse}}</td></tr>\\n        <tr>\\n          <td>\\n            {{#if (gt @seatInfo.changeInNumberOfChargeableSeats 0)}}\\n              Seats you’re adding to your plan\\n            {{else}}\\n              Seats you’re removing from your plan\\n            {{/if}}\\n          </td>\\n          <td>{{abs @seatInfo.changeInNumberOfChargeableSeats}}</td></tr>\\n        <tr><td>Price {{if (gt @seatInfo.changeInSeatCost 0) \\\"increase\\\" \\\"decrease\\\"}}</td><td>{{@seatInfo.formattedAbsoluteValueOfChangeInSeatCost}}/mo</td></tr>\\n      </tbody>\\n    </table>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/settings/teammates/seats-cost-change-card/pricing-breakdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teammates/seats-cost-change-card/pricing-breakdown.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class PricingBreakdown extends Component {}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<div class=\\\"flex flex-row items-center justify-between ml-6 mr-6 mb-4\\\">\\n  <div>\\n    {{#unless (or @team.isAppTeam this.isCreating)}}\\n      <IcButton\\n        @label=\\\"Delete Team\\\"\\n        @type=\\\"secondary-destructive\\\"\\n        @onClick={{this.deleteSelectedTeam}}\\n        @testBindingClass=\\\"test__settings__teammate_team-edit__delete\\\"\\n      />\\n    {{/unless}}\\n  </div>\\n  <div>\\n    <IcButton\\n      @label=\\\"Cancel\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{this.cancelChanges}}\\n      @disabled={{this.isSaving}}\\n      @inRightList={{true}}\\n      data-test-settings-team-cancel-button={{true}}\\n    />\\n    <Paywall @featureKey=\\\"team_inboxes\\\" as |paywall|>\\n      <paywall.Hover>\\n        <IcButton\\n          @type=\\\"primary\\\"\\n          @onClick={{this.saveTeamChanges}}\\n          @disabled={{or paywall.isActive this.isSaving}}\\n          @inRightList={{true}}\\n          data-test-settings-team-primary-action={{true}}\\n        >\\n          {{#if this.isCreating}}\\n            Create Team\\n          {{else}}\\n            Save\\n          {{/if}}\\n        </IcButton>\\n      </paywall.Hover>\\n    </Paywall>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<div class=\\\"flex flex-row items-center justify-between ml-6 mr-6 mb-4\\\">\\n  <div>\\n    {{#unless (or @team.isAppTeam this.isCreating)}}\\n      <IcButton\\n        @label=\\\"Delete Team\\\"\\n        @type=\\\"secondary-destructive\\\"\\n        @onClick={{this.deleteSelectedTeam}}\\n        @testBindingClass=\\\"test__settings__teammate_team-edit__delete\\\"\\n      />\\n    {{/unless}}\\n  </div>\\n  <div>\\n    <IcButton\\n      @label=\\\"Cancel\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{this.cancelChanges}}\\n      @disabled={{this.isSaving}}\\n      @inRightList={{true}}\\n      data-test-settings-team-cancel-button={{true}}\\n    />\\n    <Paywall @featureKey=\\\"team_inboxes\\\" as |paywall|>\\n      <paywall.Hover>\\n        <IcButton\\n          @type=\\\"primary\\\"\\n          @onClick={{this.saveTeamChanges}}\\n          @disabled={{or paywall.isActive this.isSaving}}\\n          @inRightList={{true}}\\n          data-test-settings-team-primary-action={{true}}\\n        >\\n          {{#if this.isCreating}}\\n            Create Team\\n          {{else}}\\n            Save\\n          {{/if}}\\n        </IcButton>\\n      </paywall.Hover>\\n    </Paywall>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/teams/action-buttons-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teams/action-buttons-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport extractResponseError from 'embercom/lib/extract-response-error';\nimport { allSettled } from 'rsvp';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class ActionButtonsComponent extends Component {\n  @service notificationsService;\n  @service intercomEventService;\n  @service modelDataCacheService;\n\n  @tracked app = this.args.app;\n  @tracked team = this.args.team;\n  @tracked teamSettings = this.args.teamSettings;\n  @tracked accordion = this.args.accordion;\n  @tracked sectionName = this.args.sectionName;\n  @tracked defaultSectionName = this.args.defaultSectionName;\n  @tracked selectedTeamStatus = this.team.isNew ? 'creating' : 'editing';\n  @tracked isSaving = false;\n\n  confirmOptions = {\n    title: 'Cancel current changes',\n    body: 'Are you sure you want to cancel and lose your changes?',\n    cancelButtonText: 'No',\n    confirmButtonText: 'Yes',\n  };\n\n  get isCreating() {\n    return this.selectedTeamStatus === 'creating';\n  }\n\n  get shouldDisplayDirtyConfirmation() {\n    return this.team.hasDirtyAttributes || this.teamSettings.hasDirtyAttributes;\n  }\n\n  @task\n  *saveExistingTeam() {\n    yield allSettled([this.team.save(), this.teamSettings.save()]);\n\n    this.notificationsService.notifyConfirmation('You saved your changes');\n\n    // When we update selectedTeam, we update the underlying _data after saving the selectedTeam,\n    // but are not updating the underlying data of app, which is what is used to update local storage.\n    // So to effectively update local storage in that case, we have to manually remove then add the team\n    // back on the app model directly. Source: https://github.com/intercom/embercom/pull/24893\n    this.app.removeTeam(this.team);\n    this.app.addTeam(this.team);\n\n    this.accordion.publicAPI.closeSection(this.sectionName);\n  }\n\n  @task\n  *saveNewTeam() {\n    yield this.team.save();\n    this.teamSettings.set('teamId', this.team.id);\n    yield this.teamSettings.save();\n\n    this.notificationsService.notifyConfirmation('You created a team');\n    this.app.addTeam(this.team);\n    this.team.set('active', true);\n    this.accordion.publicAPI.closeSection(this.defaultSectionName);\n    this.accordion.publicAPI.renameSection(this.defaultSectionName, this.team.id);\n  }\n\n  revertSelectedTeam() {\n    if (this.team.isNew) {\n      this.args.revertNewSelectedTeam(this.team);\n      this.team.destroy();\n    } else {\n      this.team.rollbackAttributes();\n      this.teamSettings.rollbackAttributes();\n      this.team.set('active', true);\n    }\n    this.selectedTeamStatus = 'editing';\n    this.accordion.publicAPI.closeSection(this.sectionName);\n  }\n\n  validTeam() {\n    return this.team.name.length > 0 && (this.team.isAppTeam || this.team.member_ids.length > 0);\n  }\n\n  showErrors() {\n    if (this.team.name.length <= 0) {\n      this.notificationsService.notifyError('Give this team a name');\n      return false;\n    }\n\n    if (!this.team.isAppTeam && this.team.member_ids.length === 0) {\n      this.notificationsService.notifyError('Add at least one teammate to this team');\n      return false;\n    }\n  }\n\n  @action\n  saveTeamChanges() {\n    if (!this.validTeam()) {\n      this.showErrors();\n      return false;\n    }\n\n    this.isSaving = true;\n\n    let saveTask = this.team.isNew ? this.saveNewTeam : this.saveExistingTeam;\n    saveTask\n      .perform()\n      .then(() => {\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'saved',\n          object: this.team,\n          assignmentMethod: this.team.distributionMethod,\n        });\n\n        this.app.updateLocalCache(this.modelDataCacheService);\n        this.selectedTeamStatus = 'editing';\n\n        this.isSaving = false;\n      })\n      .catch(response => {\n        this.notificationsService.notifyError(\n          extractResponseError(response) || 'There was an error saving your changes',\n        );\n        this.isSaving = false;\n      });\n  }\n\n  @action\n  deleteSelectedTeam() {\n    this.args.deleteSelectedTeam(this.team);\n  }\n\n  @action\n  cancelChanges() {\n    if (this.shouldDisplayDirtyConfirmation) {\n      intercomConfirm(this, this.confirmOptions).then(() => {\n        this.revertSelectedTeam();\n      });\n    } else {\n      this.revertSelectedTeam();\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<@accordion.section\\n  @headerClass=\\\"accordion__white-header\\\"\\n  @name={{this.sectionName}}\\n  @shouldNotAddPaddingToBody={{true}} as |section|\\n>\\n  <section.header as |header|>\\n    <div\\n      data-test-team-header=\\\"{{@selectedTeam.name}}\\\"\\n      data-test-settings-teams-team-card\\n    >\\n      {{#if this.isCardOpen}}\\n        <div class=\\\"m-4\\\">\\n          <Settings::Teams::TeamsEditComponent\\n            @app={{@app}}\\n            @team={{@selectedTeam}}\\n          />\\n        </div>\\n      {{else}}\\n        <Common::AccordionComponent::WhiteHeaderTitle\\n          @heading={{@selectedTeam.name}}\\n          @subheading={{this.teamSubHeading}}\\n        >\\n          {{ic-avatar model=@selectedTeam size=\\\"m\\\"}}\\n        </Common::AccordionComponent::WhiteHeaderTitle>\\n      {{/if}}\\n    </div>\\n  </section.header>\\n  <section.body as |body|>\\n    <IcContent class=\\\"u__padt__10 u__padl__10 u__padr__10 u__ml__60 u__mr__60\\\">\\n      {{#if @app.isTestApp}}\\n        <IcBanner\\n          @type=\\\"warning\\\"\\n          @text=\\\"Any changes you make to this team will be reflected in both your test workspace and your live workspace\\\"\\n        />\\n      {{/if}}\\n\\n      <div data-test-distribution-method-selector>\\n        <Settings::Teams::ConfigureDistributionComponent\\n          @teamSettings={{this.teamSettings}}\\n          @app={{@app}}\\n        />\\n      </div>\\n\\n      <hr />\\n\\n      <div>\\n        <h3 class=\\\"t__h3 mb-4\\\">Teammates</h3>\\n        {{#if @selectedTeam.isAppTeam}}\\n          <div\\n            data-test-settings-teammate-member-select-input\\n            class=\\\"m__team-member-selector__search-input js__team-member-selector__search-input\\\"\\n          >\\n            This is your default team that automatically contains\\n            <LinkTo\\n              @route=\\\"apps.app.settings.teammates\\\"\\n              @activeClass=\\\"o__active\\\"\\n            >\\n              all your teammates\\n            </LinkTo>\\n          </div>\\n        {{else}}\\n          <div class=\\\"flex flex-col\\\">\\n            <Paywall @featureKey=\\\"team_inboxes\\\" as |paywall|>\\n              <paywall.Hover>\\n                <TeamsMembersSelectorComponent\\n                  class=\\\"mb-2\\\"\\n                  @isDisabled={{paywall.isActive}}\\n                  @selectedAdmins={{this.selectedTeamMembers}}\\n                  @addMember={{action \\\"addMember\\\"}}\\n                />\\n                <div data-test-settings-team-members-container>\\n                  {{#each this.selectedTeamSortedTeamMembers as |admin|}}\\n                    <Settings::Teams::TeamMemberComponent\\n                      @app={{@app}}\\n                      @admin={{admin}}\\n                      @removeMember={{action \\\"removeMember\\\"}}\\n                    />\\n                  {{/each}}\\n                </div>\\n              </paywall.Hover>\\n            </Paywall>\\n          </div>\\n        {{/if}}\\n      </div>\\n\\n      <div>\\n        <Paywall @featureKey=\\\"team_level_office_hours\\\" as |paywall|>\\n          {{#if @selectedTeam.isAppTeam}}\\n            <hr class=\\\"mt-6 mb-6\\\" />\\n            <div data-test-set-office-hours>\\n              <h3 class=\\\"t__h3 mb-4\\\">Select team office hours</h3>\\n              <p>The default team uses your default office hours.</p>\\n            </div>\\n          {{else}}\\n            {{#if paywall.isActive}}\\n              <div class=\\\"mt-10\\\" />\\n            {{else}}\\n              <hr class=\\\"mt-6 mb-6\\\" />\\n            {{/if}}\\n            <div data-test-set-office-hours>\\n              <paywall.Block>\\n                <h3 class=\\\"t__h3 mb-4\\\">Select team office hours</h3>\\n                <Settings::Teams::SetOfficeHours\\n                  @schedules={{@schedules}}\\n                  @teamSettings={{this.teamSettings}}\\n                  @paywallIsActive={{paywall.isActive}}\\n                />\\n              </paywall.Block>\\n            </div>\\n          {{/if}}\\n        </Paywall>\\n      </div>\\n\\n      <div>\\n        <Paywall @featureKey=\\\"team_level_reply_time\\\" as |paywall|>\\n          {{#if @selectedTeam.isAppTeam}}\\n            <hr class=\\\"mt-6 mb-6\\\" />\\n            <div data-test-team-reply-time=\\\"true\\\">\\n              <h3 class=\\\"t__h3 mb-4\\\">Share team reply time</h3>\\n              <p>The default team uses your default reply time.</p>\\n            </div>\\n          {{else}}\\n            {{#unless paywall.isActive}}\\n              <hr class=\\\"mt-6 mb-6\\\" />\\n            {{/unless}}\\n            <div data-test-team-reply-time=\\\"true\\\">\\n              <paywall.Block>\\n                <h3 class=\\\"t__h3 mb-4\\\">Share team reply time</h3>\\n                <div class=\\\"flex flex-row items-center mt-4 mb-4\\\">\\n                  <IcOnOffToggle\\n                    @isOn={{and paywall.isInactive this.teamSettings.teamResponseDelayEnabled}}\\n                    @onClick={{action (toggle 'teamResponseDelayEnabled' this.teamSettings)}}\\n                    @isDisabled={{paywall.isActive}}\\n                    data-test-team-reply-time-toggle=\\\"true\\\"\\n                  />\\n                  <div class=\\\"ml-2\\\">\\n                    Use team-specific reply time\\n                  </div>\\n                </div>\\n                <p class=\\\"mb-4\\\">Set expectations about how quickly your team replies during office hours. Say how soon this team usually replies:</p>\\n                {{#if this.teamSettings.teamResponseDelayEnabled}}\\n                  {{#unless paywall.isActive}}\\n                    <Form data-test-team-reply-time-radio-form=\\\"true\\\" as |form|>\\n                      <form.Item as |item|>\\n                        <item.RadioGroup @selected={{this.teamSettings.customResponseDelay}} as |group|>\\n                          <group.RadioButton @value={{3}} @label=\\\"As soon as they can\\\" />\\n                          <group.RadioButton @value={{0}} @label=\\\"In a few minutes\\\" />\\n                          <group.RadioButton @value={{1}} @label=\\\"In a few hours\\\" />\\n                          <group.RadioButton @value={{2}} @label=\\\"In a day\\\"/>\\n                        </item.RadioGroup>\\n                      </form.Item>\\n                    </Form>\\n                  {{/unless}}\\n                {{/if}}\\n              </paywall.Block>\\n            </div>\\n          {{/if}}\\n        </Paywall>\\n      </div>\\n    </IcContent>\\n\\n    <hr class=\\\"mt-6\\\"/>\\n    <Settings::Teams::ActionButtonsComponent\\n      @app={{@app}}\\n      @accordion={{@accordion}}\\n      @sectionName={{this.sectionName}}\\n      @defaultSectionName={{this.defaultSectionName}}\\n      @team={{@selectedTeam}}\\n      @teamSettings={{this.teamSettings}}\\n      @deleteSelectedTeam={{@deleteSelectedTeam}}\\n      @revertNewSelectedTeam={{@revertNewSelectedTeam}}\\n    />\\n  </section.body>\\n</@accordion.section>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<@accordion.section\\n  @headerClass=\\\"accordion__white-header\\\"\\n  @name={{this.sectionName}}\\n  @shouldNotAddPaddingToBody={{true}} as |section|\\n>\\n  <section.header as |header|>\\n    <div\\n      data-test-team-header=\\\"{{@selectedTeam.name}}\\\"\\n      data-test-settings-teams-team-card\\n    >\\n      {{#if this.isCardOpen}}\\n        <div class=\\\"m-4\\\">\\n          <Settings::Teams::TeamsEditComponent\\n            @app={{@app}}\\n            @team={{@selectedTeam}}\\n          />\\n        </div>\\n      {{else}}\\n        <Common::AccordionComponent::WhiteHeaderTitle\\n          @heading={{@selectedTeam.name}}\\n          @subheading={{this.teamSubHeading}}\\n        >\\n          {{ic-avatar model=@selectedTeam size=\\\"m\\\"}}\\n        </Common::AccordionComponent::WhiteHeaderTitle>\\n      {{/if}}\\n    </div>\\n  </section.header>\\n  <section.body as |body|>\\n    <IcContent class=\\\"u__padt__10 u__padl__10 u__padr__10 u__ml__60 u__mr__60\\\">\\n      {{#if @app.isTestApp}}\\n        <IcBanner\\n          @type=\\\"warning\\\"\\n          @text=\\\"Any changes you make to this team will be reflected in both your test workspace and your live workspace\\\"\\n        />\\n      {{/if}}\\n\\n      <div data-test-distribution-method-selector>\\n        <Settings::Teams::ConfigureDistributionComponent\\n          @teamSettings={{this.teamSettings}}\\n          @app={{@app}}\\n        />\\n      </div>\\n\\n      <hr />\\n\\n      <div>\\n        <h3 class=\\\"t__h3 mb-4\\\">Teammates</h3>\\n        {{#if @selectedTeam.isAppTeam}}\\n          <div\\n            data-test-settings-teammate-member-select-input\\n            class=\\\"m__team-member-selector__search-input js__team-member-selector__search-input\\\"\\n          >\\n            This is your default team that automatically contains\\n            <LinkTo\\n              @route=\\\"apps.app.settings.teammates\\\"\\n              @activeClass=\\\"o__active\\\"\\n            >\\n              all your teammates\\n            </LinkTo>\\n          </div>\\n        {{else}}\\n          <div class=\\\"flex flex-col\\\">\\n            <Paywall @featureKey=\\\"team_inboxes\\\" as |paywall|>\\n              <paywall.Hover>\\n                <TeamsMembersSelectorComponent\\n                  class=\\\"mb-2\\\"\\n                  @isDisabled={{paywall.isActive}}\\n                  @selectedAdmins={{this.selectedTeamMembers}}\\n                  @addMember={{action \\\"addMember\\\"}}\\n                />\\n                <div data-test-settings-team-members-container>\\n                  {{#each this.selectedTeamSortedTeamMembers as |admin|}}\\n                    <Settings::Teams::TeamMemberComponent\\n                      @app={{@app}}\\n                      @admin={{admin}}\\n                      @removeMember={{action \\\"removeMember\\\"}}\\n                    />\\n                  {{/each}}\\n                </div>\\n              </paywall.Hover>\\n            </Paywall>\\n          </div>\\n        {{/if}}\\n      </div>\\n\\n      <div>\\n        <Paywall @featureKey=\\\"team_level_office_hours\\\" as |paywall|>\\n          {{#if @selectedTeam.isAppTeam}}\\n            <hr class=\\\"mt-6 mb-6\\\" />\\n            <div data-test-set-office-hours>\\n              <h3 class=\\\"t__h3 mb-4\\\">Select team office hours</h3>\\n              <p>The default team uses your default office hours.</p>\\n            </div>\\n          {{else}}\\n            {{#if paywall.isActive}}\\n              <div class=\\\"mt-10\\\" />\\n            {{else}}\\n              <hr class=\\\"mt-6 mb-6\\\" />\\n            {{/if}}\\n            <div data-test-set-office-hours>\\n              <paywall.Block>\\n                <h3 class=\\\"t__h3 mb-4\\\">Select team office hours</h3>\\n                <Settings::Teams::SetOfficeHours\\n                  @schedules={{@schedules}}\\n                  @teamSettings={{this.teamSettings}}\\n                  @paywallIsActive={{paywall.isActive}}\\n                />\\n              </paywall.Block>\\n            </div>\\n          {{/if}}\\n        </Paywall>\\n      </div>\\n\\n      <div>\\n        <Paywall @featureKey=\\\"team_level_reply_time\\\" as |paywall|>\\n          {{#if @selectedTeam.isAppTeam}}\\n            <hr class=\\\"mt-6 mb-6\\\" />\\n            <div data-test-team-reply-time=\\\"true\\\">\\n              <h3 class=\\\"t__h3 mb-4\\\">Share team reply time</h3>\\n              <p>The default team uses your default reply time.</p>\\n            </div>\\n          {{else}}\\n            {{#unless paywall.isActive}}\\n              <hr class=\\\"mt-6 mb-6\\\" />\\n            {{/unless}}\\n            <div data-test-team-reply-time=\\\"true\\\">\\n              <paywall.Block>\\n                <h3 class=\\\"t__h3 mb-4\\\">Share team reply time</h3>\\n                <div class=\\\"flex flex-row items-center mt-4 mb-4\\\">\\n                  <IcOnOffToggle\\n                    @isOn={{and paywall.isInactive this.teamSettings.teamResponseDelayEnabled}}\\n                    @onClick={{action (toggle 'teamResponseDelayEnabled' this.teamSettings)}}\\n                    @isDisabled={{paywall.isActive}}\\n                    data-test-team-reply-time-toggle=\\\"true\\\"\\n                  />\\n                  <div class=\\\"ml-2\\\">\\n                    Use team-specific reply time\\n                  </div>\\n                </div>\\n                <p class=\\\"mb-4\\\">Set expectations about how quickly your team replies during office hours. Say how soon this team usually replies:</p>\\n                {{#if this.teamSettings.teamResponseDelayEnabled}}\\n                  {{#unless paywall.isActive}}\\n                    <Form data-test-team-reply-time-radio-form=\\\"true\\\" as |form|>\\n                      <form.Item as |item|>\\n                        <item.RadioGroup @selected={{this.teamSettings.customResponseDelay}} as |group|>\\n                          <group.RadioButton @value={{3}} @label=\\\"As soon as they can\\\" />\\n                          <group.RadioButton @value={{0}} @label=\\\"In a few minutes\\\" />\\n                          <group.RadioButton @value={{1}} @label=\\\"In a few hours\\\" />\\n                          <group.RadioButton @value={{2}} @label=\\\"In a day\\\"/>\\n                        </item.RadioGroup>\\n                      </form.Item>\\n                    </Form>\\n                  {{/unless}}\\n                {{/if}}\\n              </paywall.Block>\\n            </div>\\n          {{/if}}\\n        </Paywall>\\n      </div>\\n    </IcContent>\\n\\n    <hr class=\\\"mt-6\\\"/>\\n    <Settings::Teams::ActionButtonsComponent\\n      @app={{@app}}\\n      @accordion={{@accordion}}\\n      @sectionName={{this.sectionName}}\\n      @defaultSectionName={{this.defaultSectionName}}\\n      @team={{@selectedTeam}}\\n      @teamSettings={{this.teamSettings}}\\n      @deleteSelectedTeam={{@deleteSelectedTeam}}\\n      @revertNewSelectedTeam={{@revertNewSelectedTeam}}\\n    />\\n  </section.body>\\n</@accordion.section>\\n\",\"moduleName\":\"embercom/components/settings/teams/card-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teams/card-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport $ from 'jquery';\nimport { computed } from '@ember/object';\nimport { readOnly, alias, sort, or } from '@ember/object/computed';\nimport { schedule } from '@ember/runloop';\nimport Component from '@ember/component';\nimport { pluralize } from 'ember-inflector';\nimport { findByProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  store: service(),\n\n  classNames: ['settings__teams__card-component'],\n\n  defaultSectionName: 'new-team',\n  sectionName: or('selectedTeam.id', 'defaultSectionName'),\n  isCardOpen: computed('accordion.publicAPI.openSectionName', 'sectionName', function() {\n    return this.accordion.publicAPI.openSectionName === this.sectionName;\n  }),\n  teamSettings: null,\n\n  init() {\n    this._super(...arguments);\n    let teamLinkedToInUrlId = window.location.hash.slice(1);\n    let linkedToTeam = teamLinkedToInUrlId === this.get('selectedTeam.id');\n    if (linkedToTeam) {\n      schedule('afterRender', this, this.setInitialOpenSection, teamLinkedToInUrlId);\n      schedule('afterRender', this, this._scrollParent);\n    }\n    this.set(\n      'teamSettings',\n      this.selectedTeamSettings ||\n        this.store.createRecord('team-setting', { teamId: this.selectedTeam.id }),\n    );\n  },\n  'data-test-teams-card-component': true,\n  'data-test-teams-card-component-for-app-team': readOnly('selectedTeam.isAppTeam'),\n\n  didInsertElement() {\n    this._super(...arguments);\n    if (this.isSectionOpen) {\n      this.accordion.publicAPI.openSection(this.sectionName);\n    }\n  },\n\n  willDestroyElement() {\n    this._super(...arguments);\n    this.accordion.publicAPI.removeSectionByName(this.sectionName);\n  },\n\n  teamMembersSortKeys: ['name'],\n  selectedTeamMembers: alias('selectedTeam.teamMembers'),\n  selectedTeamSortedTeamMembers: sort('selectedTeamMembers', 'teamMembersSortKeys'),\n  teamMembersCount: alias('selectedTeamMembers.length'),\n  teamSubHeading: computed('teamSettings.distributionMethod', 'teamMembersCount', function() {\n    let subheading = pluralize(this.teamMembersCount, 'member');\n    if (this.teamSettings.distributionMethod === 'round_robin') {\n      subheading += ' · Round robin';\n    } else if (this.teamSettings.distributionMethod === 'load_balanced') {\n      subheading += ' · Balanced';\n    }\n    if (this.selectedSchedule && !this.selectedSchedule.isDefault) {\n      subheading += ` · ${this.selectedSchedule.name}`;\n    }\n    return subheading;\n  }),\n\n  selectedSchedule: findByProperty('schedules', 'id', 'teamSettings.officeHoursScheduleId'),\n\n  scrollParentSelector: '.main__content.o__scrolls',\n\n  _scrollParent() {\n    let yOffset = $(this.element).offset().top;\n    let scrollParent = $(this.element).closest(this.scrollParentSelector);\n    scrollParent.scrollTop(yOffset);\n  },\n\n  actions: {\n    addMember(admin) {\n      let member_ids = this.selectedTeam.member_ids.slice(0);\n      member_ids.unshift(parseInt(admin.id, 10));\n      this.selectedTeam.set('member_ids', member_ids);\n    },\n    removeMember(admin) {\n      let member_ids = this.selectedTeam.member_ids.filter(id => {\n        return id !== parseInt(admin.id, 10);\n      });\n      this.selectedTeam.set('member_ids', member_ids);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<h3 class=\\\"t__h3 mb-4\\\">\\n  Choose an assignment method\\n</h3>\\n\\n<Pulse::LargeRadioButtonGroup\\n  @selectedValue={{or @teamSettings.distributionMethod \\\"manual\\\"}}\\n  @onSelect={{set @teamSettings.distributionMethod}}\\n  class=\\\"mb-4\\\"\\n  as |group|\\n>\\n  <group.Option\\n    @value=\\\"manual\\\"\\n    @svg=\\\"manual-message\\\"\\n    @label=\\\"Manual\\\"\\n    @description=\\\"Conversations are not automatically assigned\\\"\\n    @descriptionClass=\\\"max-w-48\\\"\\n    data-test-distribution-method=\\\"manual\\\"\\n  />\\n  <Paywall @featureKey=\\\"round_robin\\\" as |paywall|>\\n    <group.Option\\n      @value=\\\"round_robin\\\"\\n      @svg=\\\"webhook\\\"\\n      @label=\\\"Round robin\\\"\\n      @description=\\\"Conversations are assigned to teammates in sequential order\\\"\\n      @descriptionClass=\\\"max-w-64\\\"\\n      @isDisabled={{paywall.isActive}}\\n      data-test-distribution-method=\\\"round_robin\\\"\\n      as |option|\\n    >\\n      <option.Contents as |contents|>\\n        <contents.Footer>\\n          <paywall.Badge />\\n        </contents.Footer>\\n      </option.Contents>\\n    </group.Option>\\n  </Paywall>\\n  <Paywall @featureKey=\\\"manage_capacity\\\" as |paywall|>\\n    <group.Option\\n      @value=\\\"load_balanced\\\"\\n      @svg=\\\"rule\\\"\\n      @label=\\\"Balanced\\\"\\n      @description=\\\"Conversations are assigned to teammates with the fewest active conversations\\\"\\n      @isDisabled={{or (not @app.canUseWorkloadManagement) paywall.isActive}}\\n      data-test-distribution-method=\\\"load_balanced\\\"\\n      as |option|\\n    >\\n      <option.Contents as |contents|>\\n        <contents.Footer>\\n          <paywall.Badge />\\n        </contents.Footer>\\n      </option.Contents>\\n    </group.Option>\\n  </Paywall>\\n</Pulse::LargeRadioButtonGroup>\\n\\n{{#if (is-equal @teamSettings.distributionMethod \\\"load_balanced\\\")}}\\n  <div>\\n    This method does not assign conversations to teammates when the active conversations in their inbox exceed the\\n    <LinkTo @route=\\\"apps.app.inbox.automation.workload-management\\\">\\n      assignment limit\\n    </LinkTo>.\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<h3 class=\\\"t__h3 mb-4\\\">\\n  Choose an assignment method\\n</h3>\\n\\n<Pulse::LargeRadioButtonGroup\\n  @selectedValue={{or @teamSettings.distributionMethod \\\"manual\\\"}}\\n  @onSelect={{set @teamSettings.distributionMethod}}\\n  class=\\\"mb-4\\\"\\n  as |group|\\n>\\n  <group.Option\\n    @value=\\\"manual\\\"\\n    @svg=\\\"manual-message\\\"\\n    @label=\\\"Manual\\\"\\n    @description=\\\"Conversations are not automatically assigned\\\"\\n    @descriptionClass=\\\"max-w-48\\\"\\n    data-test-distribution-method=\\\"manual\\\"\\n  />\\n  <Paywall @featureKey=\\\"round_robin\\\" as |paywall|>\\n    <group.Option\\n      @value=\\\"round_robin\\\"\\n      @svg=\\\"webhook\\\"\\n      @label=\\\"Round robin\\\"\\n      @description=\\\"Conversations are assigned to teammates in sequential order\\\"\\n      @descriptionClass=\\\"max-w-64\\\"\\n      @isDisabled={{paywall.isActive}}\\n      data-test-distribution-method=\\\"round_robin\\\"\\n      as |option|\\n    >\\n      <option.Contents as |contents|>\\n        <contents.Footer>\\n          <paywall.Badge />\\n        </contents.Footer>\\n      </option.Contents>\\n    </group.Option>\\n  </Paywall>\\n  <Paywall @featureKey=\\\"manage_capacity\\\" as |paywall|>\\n    <group.Option\\n      @value=\\\"load_balanced\\\"\\n      @svg=\\\"rule\\\"\\n      @label=\\\"Balanced\\\"\\n      @description=\\\"Conversations are assigned to teammates with the fewest active conversations\\\"\\n      @isDisabled={{or (not @app.canUseWorkloadManagement) paywall.isActive}}\\n      data-test-distribution-method=\\\"load_balanced\\\"\\n      as |option|\\n    >\\n      <option.Contents as |contents|>\\n        <contents.Footer>\\n          <paywall.Badge />\\n        </contents.Footer>\\n      </option.Contents>\\n    </group.Option>\\n  </Paywall>\\n</Pulse::LargeRadioButtonGroup>\\n\\n{{#if (is-equal @teamSettings.distributionMethod \\\"load_balanced\\\")}}\\n  <div>\\n    This method does not assign conversations to teammates when the active conversations in their inbox exceed the\\n    <LinkTo @route=\\\"apps.app.inbox.automation.workload-management\\\">\\n      assignment limit\\n    </LinkTo>.\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/settings/teams/configure-distribution-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teams/configure-distribution-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"card\\\">\\n  <IcEmptyState\\n    data-test-teams-empty-state\\n    @icon=\\\"team\\\"\\n    @title=\\\"No teams yet\\\" as |emptyState|\\n  >\\n    <emptyState.description>\\n      <span class=\\\"t__light-text\\\">\\n        You haven’t created any teams yet <br />\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/resolving-your-customers-issues/resolve-customer-issues-collaboratively/organize-your-inbox-by-team\\\"\\n          @title=\\\"Learn more about working in teams\\\"\\n          @type=\\\"article\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n      </span>\\n    </emptyState.description>\\n  </IcEmptyState>\\n</div>\\n\", {\"contents\":\"<div class=\\\"card\\\">\\n  <IcEmptyState\\n    data-test-teams-empty-state\\n    @icon=\\\"team\\\"\\n    @title=\\\"No teams yet\\\" as |emptyState|\\n  >\\n    <emptyState.description>\\n      <span class=\\\"t__light-text\\\">\\n        You haven’t created any teams yet <br />\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/resolving-your-customers-issues/resolve-customer-issues-collaboratively/organize-your-inbox-by-team\\\"\\n          @title=\\\"Learn more about working in teams\\\"\\n          @type=\\\"article\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />\\n      </span>\\n    </emptyState.description>\\n  </IcEmptyState>\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/teams/empty-state.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teams/empty-state.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<IcLegacyTable\\n  @columns={{columns}}\\n  @rows={{inviteLinks}}\\n  @height=\\\"flex\\\"\\n  @inline={{true}}\\n  @tableActions={{tableActions}}\\n/>\\n{{!-- template-lint-enable intercom/no-custom-table --}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n<IcLegacyTable\\n  @columns={{columns}}\\n  @rows={{inviteLinks}}\\n  @height=\\\"flex\\\"\\n  @inline={{true}}\\n  @tableActions={{tableActions}}\\n/>\\n{{!-- template-lint-enable intercom/no-custom-table --}}\\n\",\"moduleName\":\"embercom/components/settings/teams/invite-link-list-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teams/invite-link-list-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport EmberObject, { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { A } from '@ember/array';\n\nexport default Component.extend({\n  classNames: ['layout__box', 'o__flexes-to-1', 'o__has-rows'],\n  inviteLinks: null,\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  setupTaskDescription: `Invite links are created within Home when sending tasks to teammates.\n    Invite links remain open until they are redeemed, or you can close them below.`,\n\n  columns: computed(function() {\n    return A([\n      EmberObject.create({\n        label: 'Setup task',\n        canExpandToFit: true,\n        description: `Anyone with an invite link can join your app with full access permissions.\n        ${this.setupTaskDescription}`,\n        component: 'table-cells/invite-link-list/task-cell',\n      }),\n      EmberObject.create({\n        label: 'Created by',\n        canExpandToFit: true,\n        propertyName: '',\n        component: 'table-cells/invite-link-list/created-by-cell',\n      }),\n      EmberObject.create({\n        label: 'Created',\n        canExpandToFit: true,\n        component: 'table-cells/invite-link-list/created-at-cell',\n      }),\n      EmberObject.create({\n        label: 'Link status',\n        canExpandToFit: true,\n        component: 'table-cells/invite-link-list/link-status-cell',\n      }),\n      EmberObject.create({\n        label: '',\n        component: 'table-cells/invite-link-list/copy-link-cell',\n      }),\n      EmberObject.create({\n        label: '',\n        component: 'table-cells/invite-link-list/close-link-cell',\n      }),\n    ]);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if invites.length}}\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <IcLegacyTable\\n    @columns={{columns}}\\n    @rows={{invites}}\\n    @height=\\\"flex\\\"\\n    @inline={{true}}\\n    @tableActions={{tableActions}}\\n  />\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n{{else}}\\n  <div class=\\\"m__settings__main__card o__empty\\\">\\n    <div class=\\\"card__inner settings__teammate__invite-list o__empty flex t__light-text\\\">\\n      <div>\\n        <IcIllustrativeIcon @name=\\\"people\\\" @appearance=\\\"empty\\\" />\\n        <div class=\\\"h-5\\\"></div>\\n        <h3>\\n          <b>\\n            No invites yet\\n          </b>\\n        </h3>\\n        <div class=\\\"h-2\\\"></div>\\n        <p>\\n          Invite a teammate to work with you on Intercom\\n        </p>\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if invites.length}}\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <IcLegacyTable\\n    @columns={{columns}}\\n    @rows={{invites}}\\n    @height=\\\"flex\\\"\\n    @inline={{true}}\\n    @tableActions={{tableActions}}\\n  />\\n  {{!-- template-lint-enable intercom/no-custom-table --}}\\n{{else}}\\n  <div class=\\\"m__settings__main__card o__empty\\\">\\n    <div class=\\\"card__inner settings__teammate__invite-list o__empty flex t__light-text\\\">\\n      <div>\\n        <IcIllustrativeIcon @name=\\\"people\\\" @appearance=\\\"empty\\\" />\\n        <div class=\\\"h-5\\\"></div>\\n        <h3>\\n          <b>\\n            No invites yet\\n          </b>\\n        </h3>\\n        <div class=\\\"h-2\\\"></div>\\n        <p>\\n          Invite a teammate to work with you on Intercom\\n        </p>\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/settings/teams/invite-list-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teams/invite-list-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { computed } from '@ember/object';\nimport TeammateListBaseComponent from 'embercom/components/settings/teams/teammate-list-base-component';\n\nexport default TeammateListBaseComponent.extend({\n  invites: null,\n  columns: computed(\n    'app.{inboxIsActive,requiresInboxSeatAccess,customer.currentlyOnEarlyStage}',\n    function() {\n      let columns = [];\n      columns.push(this.createColumn('Name', true, 'table-cells/invite-list/name-cell'));\n      columns.push(this.createColumn('Status', true, 'table-cells/invite-list/status-cell'));\n\n      if (this.get('app.inboxIsActive') && this.get('app.requiresInboxSeatAccess')) {\n        let toolTipText = this.get('app.isOnFree')\n          ? 'Your plan includes 1 Inbox seat'\n          : `${this.pricePerSeat}/mo for a seat. (First ${this.freeSeatCount} seats included)`;\n        if (this.get('app.customer.currentlyOnEarlyStage')) {\n          toolTipText = '';\n        }\n        columns.push(\n          this.createColumn(\n            'Inbox seat',\n            true,\n            'table-cells/invite-list/inbox-seat-cell',\n            toolTipText,\n          ),\n        );\n      }\n\n      if (this.get('app.inboxIsActive')) {\n        columns.push(this.createColumn('Teams', true, 'table-cells/invite-list/teams-cell'));\n      }\n\n      columns.push(this.createColumn('', false, 'table-cells/invite-list/resend-cell'));\n      columns.push(this.createColumn('', false, 'table-cells/invite-list/revoke-cell'));\n      columns.push(this.createColumn('', false, 'table-cells/invite-list/edit-cell'));\n      return columns;\n    },\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Common::AccordionComponent\\n  @initiallyOpenSectionName={{this.initialOpenSection}}\\n  @sectionDidOpen={{action \\\"sectionDidOpen\\\"}}\\n  @sectionDidClose={{action \\\"sectionDidClose\\\"}}\\n  @sectionCanClose={{perform this.sectionCanClose}} as |accordion|\\n>\\n  {{#each this.sortedTeams as |team|}}\\n    <Settings::Teams::CardComponent\\n      @app={{@app}}\\n      @selectedTeam={{team}}\\n      @selectedTeamSettings={{find-by \\\"teamId\\\" team.id @teamSettings}}\\n      @deleteSelectedTeam={{@deleteSelectedTeam}}\\n      @revertNewSelectedTeam={{@revertNewSelectedTeam}}\\n      @isSectionOpen={{or (eq team.id this.openSectionName) team.isNew}}\\n      @accordion={{accordion}}\\n      @setInitialOpenSection={{action \\\"setInitialOpenSection\\\"}}\\n      @schedules={{@schedules}}\\n    />\\n  {{/each}}\\n</Common::AccordionComponent>\\n{{#if @showEmptyState}}\\n  <Settings::Teams::EmptyState />\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<Common::AccordionComponent\\n  @initiallyOpenSectionName={{this.initialOpenSection}}\\n  @sectionDidOpen={{action \\\"sectionDidOpen\\\"}}\\n  @sectionDidClose={{action \\\"sectionDidClose\\\"}}\\n  @sectionCanClose={{perform this.sectionCanClose}} as |accordion|\\n>\\n  {{#each this.sortedTeams as |team|}}\\n    <Settings::Teams::CardComponent\\n      @app={{@app}}\\n      @selectedTeam={{team}}\\n      @selectedTeamSettings={{find-by \\\"teamId\\\" team.id @teamSettings}}\\n      @deleteSelectedTeam={{@deleteSelectedTeam}}\\n      @revertNewSelectedTeam={{@revertNewSelectedTeam}}\\n      @isSectionOpen={{or (eq team.id this.openSectionName) team.isNew}}\\n      @accordion={{accordion}}\\n      @setInitialOpenSection={{action \\\"setInitialOpenSection\\\"}}\\n      @schedules={{@schedules}}\\n    />\\n  {{/each}}\\n</Common::AccordionComponent>\\n{{#if @showEmptyState}}\\n  <Settings::Teams::EmptyState />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/settings/teams/main-content.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teams/main-content.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  confirmService: service(),\n  store: service(),\n\n  initialOpenSection: undefined,\n\n  sectionCanClose: task(function*(sectionName) {\n    let team = this.sortedTeams.findBy('id', sectionName);\n    let teamSettings = this.teamSettings.findBy('teamId', sectionName);\n    if (team === undefined || (!team.hasDirtyAttributes && !teamSettings.hasDirtyAttributes)) {\n      return true;\n    }\n    let options = {\n      title: 'Unsaved Changes',\n      body: 'You have unsaved changes. Do you want to discard them?',\n      confirmButtonText: 'Discard',\n      center: true,\n    };\n    let confirmed = yield this.confirmService.show(this, options);\n    if (confirmed) {\n      team.rollbackAttributes();\n      teamSettings.rollbackAttributes();\n      return true;\n    } else {\n      return false;\n    }\n  }),\n  actions: {\n    setInitialOpenSection(team) {\n      this.set('initialOpenSection', team);\n    },\n    sectionDidClose() {\n      this.set('section', null);\n      this.set('openSectionName', undefined);\n    },\n    sectionDidOpen(sectionName) {\n      this.set('section', sectionName);\n      this.set('openSectionName', sectionName);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcContent>\\n  <p>Set up hours for when teammates on this team will be working.</p>\\n  <p>When new conversations are assigned to this team outside of these hours, customers will see when you’ll be back, relative to their timezone.</p>\\n\\n  <Paragraph @styling=\\\"label\\\">Choose office hours</Paragraph>\\n  <IcSelect\\n    @items={{this.dropdownSchedules}}\\n    @onSelectItem={{action \\\"onSelectItem\\\"}}\\n    @selectedValue={{this.selectedScheduleId}}\\n    @filterPlaceholder=\\\"Search office hours...\\\"\\n    @footerActions={{hash\\n      text=\\\"New office hours\\\"\\n      icon=\\\"new\\\"\\n      action=(action \\\"openNewScheduleModal\\\")\\n    }}\\n    @isDisabled={{@paywallIsActive}}\\n    data-test-team-office-hours-schedule-toggle=\\\"true\\\"\\n  />\\n  <Paragraph @styling=\\\"small\\\">{{this.selectedSchedule.labelWithTimezone}}</Paragraph>\\n</IcContent>\\n<OfficeHours::CreateOrUpdateModal\\n  @scheduleToUpdate={{this.newSchedule}}\\n\\t@showModal={{this.showModal}}\\n\\t@onModalClose={{action (mut this.showModal) false}}\\n  @onModalSave={{action \\\"onModalSave\\\"}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcContent>\\n  <p>Set up hours for when teammates on this team will be working.</p>\\n  <p>When new conversations are assigned to this team outside of these hours, customers will see when you’ll be back, relative to their timezone.</p>\\n\\n  <Paragraph @styling=\\\"label\\\">Choose office hours</Paragraph>\\n  <IcSelect\\n    @items={{this.dropdownSchedules}}\\n    @onSelectItem={{action \\\"onSelectItem\\\"}}\\n    @selectedValue={{this.selectedScheduleId}}\\n    @filterPlaceholder=\\\"Search office hours...\\\"\\n    @footerActions={{hash\\n      text=\\\"New office hours\\\"\\n      icon=\\\"new\\\"\\n      action=(action \\\"openNewScheduleModal\\\")\\n    }}\\n    @isDisabled={{@paywallIsActive}}\\n    data-test-team-office-hours-schedule-toggle=\\\"true\\\"\\n  />\\n  <Paragraph @styling=\\\"small\\\">{{this.selectedSchedule.labelWithTimezone}}</Paragraph>\\n</IcContent>\\n<OfficeHours::CreateOrUpdateModal\\n  @scheduleToUpdate={{this.newSchedule}}\\n\\t@showModal={{this.showModal}}\\n\\t@onModalClose={{action (mut this.showModal) false}}\\n  @onModalSave={{action \\\"onModalSave\\\"}}\\n/>\\n\",\"moduleName\":\"embercom/components/settings/teams/set-office-hours.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teams/set-office-hours.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly, map, filterBy, or } from '@ember/object/computed';\nimport { findBy, findByProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  tagName: '',\n  appService: service(),\n  store: service(),\n  app: readOnly('appService.app'),\n\n  showModal: false,\n  newSchedule: null,\n  savedSchedules: filterBy('schedules', 'isNew', false),\n  defaultSchedule: findBy('schedules', 'isDefault'),\n  dropdownSchedules: map('savedSchedules', function(schedule) {\n    return this.getDropdownItemFromSchedule(schedule);\n  }),\n  selectedScheduleId: or('teamSettings.officeHoursScheduleId', 'defaultSchedule.id'),\n  selectedSchedule: findByProperty('schedules', 'id', 'selectedScheduleId'),\n\n  getDropdownItemFromSchedule(schedule) {\n    return {\n      value: schedule.id,\n      text: schedule.name,\n      description: schedule.labelWithTimezone,\n    };\n  },\n\n  actions: {\n    onSelectItem(scheduleId) {\n      this.set('teamSettings.officeHoursScheduleId', scheduleId);\n    },\n\n    onModalSave(schedule) {\n      this.dropdownSchedules.pushObject(this.getDropdownItemFromSchedule(schedule));\n      this.set('teamSettings.officeHoursScheduleId', schedule.id);\n    },\n\n    openNewScheduleModal() {\n      this.set('newSchedule', this.store.createRecord('office-hours-schedule'));\n      this.set('showModal', true);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-center\\\">\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <div class=\\\"flex items-center\\\">\\n      <div class=\\\"u__mr__10\\\">\\n        <a\\n          href=\\\"{{href-to \\\"apps.app.admins.admin\\\" app admin.id}}\\\"\\n          class=\\\"settings__teammate__member__permissions-link\\\"\\n        >\\n          <IcAvatarComponent\\n            @model={{admin}}\\n            @size=\\\"m\\\"\\n            @displayAdminBadge={{true}}\\n          />\\n        </a>\\n      </div>\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <a\\n          href=\\\"{{href-to \\\"apps.app.admins.admin\\\" app admin.id}}\\\"\\n          class=\\\"settings__teammate__member__link\\\"\\n        >\\n          <div\\n            class=\\\"u__one-truncated-line t__h4\\\"\\n            data-test-team-member__admin-name=\\\"{{admin.name}}\\\"\\n          >\\n            <span class=\\\"settings__teammate__member__admin-name\\\">\\n              {{admin.name}}\\n            </span>\\n            <span class=\\\"t__light-text u__ml__10\\\" data-test-teammate-status>\\n              {{#if admin.away_mode_enabled}}\\n                Away {{#if admin.reassign_conversations}}&amp; reassigning{{/if}}\\n              {{else}}\\n                Active\\n              {{/if}}\\n            </span>\\n          </div>\\n        </a>\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"u__ml__10\\\">\\n    <IcButton\\n      @label=\\\"Remove\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action \\\"removeMember\\\"}}\\n      @testBindingClass=\\\"test__settings__teammates__member-remove-btn\\\"\\n      data-test-teammates-remove-button={{true}}\\n    />\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-center\\\">\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <div class=\\\"flex items-center\\\">\\n      <div class=\\\"u__mr__10\\\">\\n        <a\\n          href=\\\"{{href-to \\\"apps.app.admins.admin\\\" app admin.id}}\\\"\\n          class=\\\"settings__teammate__member__permissions-link\\\"\\n        >\\n          <IcAvatarComponent\\n            @model={{admin}}\\n            @size=\\\"m\\\"\\n            @displayAdminBadge={{true}}\\n          />\\n        </a>\\n      </div>\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <a\\n          href=\\\"{{href-to \\\"apps.app.admins.admin\\\" app admin.id}}\\\"\\n          class=\\\"settings__teammate__member__link\\\"\\n        >\\n          <div\\n            class=\\\"u__one-truncated-line t__h4\\\"\\n            data-test-team-member__admin-name=\\\"{{admin.name}}\\\"\\n          >\\n            <span class=\\\"settings__teammate__member__admin-name\\\">\\n              {{admin.name}}\\n            </span>\\n            <span class=\\\"t__light-text u__ml__10\\\" data-test-teammate-status>\\n              {{#if admin.away_mode_enabled}}\\n                Away {{#if admin.reassign_conversations}}&amp; reassigning{{/if}}\\n              {{else}}\\n                Active\\n              {{/if}}\\n            </span>\\n          </div>\\n        </a>\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"u__ml__10\\\">\\n    <IcButton\\n      @label=\\\"Remove\\\"\\n      @type=\\\"secondary\\\"\\n      @onClick={{action \\\"removeMember\\\"}}\\n      @testBindingClass=\\\"test__settings__teammates__member-remove-btn\\\"\\n      data-test-teammates-remove-button={{true}}\\n    />\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/teams/team-member-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teams/team-member-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  classNames: ['settings__teams__team-member-in-team'],\n  actions: {\n    removeMember() {\n      this.removeMember(this.admin);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-center\\\">\\n  <div class=\\\"layout__box u__mr__5\\\">\\n    {{ic-avatar model=componentAttrs size=\\\"s\\\" withText=true}}\\n  </div>\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <span class=\\\"u__truncated-inline-block\\\">\\n      {{componentAttrs.name}}\\n    </span>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-center\\\">\\n  <div class=\\\"layout__box u__mr__5\\\">\\n    {{ic-avatar model=componentAttrs size=\\\"s\\\" withText=true}}\\n  </div>\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <span class=\\\"u__truncated-inline-block\\\">\\n      {{componentAttrs.name}}\\n    </span>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/teams/team-or-teammate-dropdown-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teams/team-or-teammate-dropdown-item.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport EmberObject, { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport currencyFormatter from 'embercom/lib/currency-formatter';\n\nexport default Component.extend({\n  classNames: ['layout__box', 'o__flexes-to-1', 'o__has-rows', 'settings__teammate__teammate-list'],\n  appService: service(),\n  customerService: service(),\n  app: readOnly('appService.app'),\n\n  pricePerSeat: computed('customerService.pricePerInboxSeat', function() {\n    return currencyFormatter(this.get('customerService.pricePerInboxSeat'));\n  }),\n\n  freeSeatCount: readOnly('customerService.customer.freeSeatCount'),\n\n  createColumn(label, canExpandToFit, componentName, description) {\n    return EmberObject.create({\n      label,\n      canExpandToFit,\n      component: componentName,\n      description,\n    });\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n\\n{{#if this.teammates.length}}\\n  <div class=\\\"flex flex-row justify-between gap-2 mt-3 mb-3\\\">\\n    <div class=\\\"flex flex-row\\\">\\n      <div class=\\\"flex flex-col justify-center\\\">\\n        <Heading @size=\\\"2\\\" class=\\\"mt-1 mb-1\\\" data-test-bulk-edit-heading as |H| >\\n          {{#if this.selectedTeammates.length}}\\n            {{this.selectedTeammates.length}} {{inflector-helper \\\"teammate\\\" this.selectedTeammates.length}} selected\\n          {{else if (or (is-present this.selectedRoleFilterValue) (is-present this.searchTerm))}}\\n            {{this.teammatesWithRole.length}} {{inflector-helper \\\"teammate\\\" this.teammatesWithRole.length}} match\\n            <H.Muted>of {{this.teammates.length}}</H.Muted>\\n          {{else}}\\n            {{this.teammates.length}} {{inflector-helper \\\"teammate\\\" this.teammates.length}}\\n          {{/if}}\\n        </Heading>\\n      </div>\\n      {{#if this.selectedTeammates.length}}\\n        <IcButton\\n          data-test-edit-permissions-button\\n          @type=\\\"secondary\\\"\\n          @label=\\\"Edit permissions\\\"\\n          class=\\\"ml-6\\\"\\n          @onClick={{action \\\"bulkEditPermissions\\\"}}\\n        />\\n      {{/if}}\\n    </div>\\n    {{#if (has-feature 'team-people-role-based-permissions')}}\\n      <div class=\\\"flex flex-row items-center\\\">\\n        <Text @styling=\\\"muted\\\" class=\\\"mr-2\\\">Filter by</Text>\\n        <IcSelect\\n          @items={{this.rolesItems}}\\n          @onSelectItem={{action 'changeRoleFilterValue'}}\\n          @selectedValue={{this.selectedRoleFilterValue}}\\n          class=\\\"mr-2 settings__teammate__teammate-list__role-filter\\\"\\n          data-test-roles-filter-dropdown\\n        />\\n        <Settings::SearchComponent\\n          @value={{this.searchTerm}}\\n          @placeholder=\\\"Search teammates\\\"\\n          @onChange={{action 'changeSearchTerm' value='target.value'}}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n\\n{{/if}}\\n\\n{{#if this.teammatesWithRole.length}}\\n  <Paywall @pricingMetric=\\\"inbox_seats\\\" @featureUsage={{@loadInboxSeatInfo.lastComplete.value.numberOfSeatsInUseAfter}} as |paywall|>\\n    <IcLegacyTable\\n      @columns={{this.columns}}\\n      @rows={{this.teammatesAndTeamsAndEmptyRow}}\\n      @height=\\\"flex\\\"\\n      @inline={{true}}\\n      @tableActions={{hash\\n        toggleInboxSeat=@toggleInboxSeat\\n        selectRow=(action 'selectRow')\\n        seatsPaywall=paywall\\n      }}\\n      @tableIsVisible={{this.tableIsVisible}}\\n      data-test-teammates-table\\n    />\\n  </Paywall>\\n{{else}}\\n  <IcEmptyState\\n    @title=\\\"No teammates match your selection\\\"\\n    @description=\\\"You can invite new teammates, or edit existing ones.\\\"\\n    @icon=\\\"people\\\"\\n    @buttonLabel=\\\"Clear filters\\\"\\n    @onButtonClick={{action 'clearFilters'}}\\n  />\\n{{/if}}\\n\\n{{!-- template-lint-enable intercom/no-custom-table --}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-custom-table --}}\\n\\n{{#if this.teammates.length}}\\n  <div class=\\\"flex flex-row justify-between gap-2 mt-3 mb-3\\\">\\n    <div class=\\\"flex flex-row\\\">\\n      <div class=\\\"flex flex-col justify-center\\\">\\n        <Heading @size=\\\"2\\\" class=\\\"mt-1 mb-1\\\" data-test-bulk-edit-heading as |H| >\\n          {{#if this.selectedTeammates.length}}\\n            {{this.selectedTeammates.length}} {{inflector-helper \\\"teammate\\\" this.selectedTeammates.length}} selected\\n          {{else if (or (is-present this.selectedRoleFilterValue) (is-present this.searchTerm))}}\\n            {{this.teammatesWithRole.length}} {{inflector-helper \\\"teammate\\\" this.teammatesWithRole.length}} match\\n            <H.Muted>of {{this.teammates.length}}</H.Muted>\\n          {{else}}\\n            {{this.teammates.length}} {{inflector-helper \\\"teammate\\\" this.teammates.length}}\\n          {{/if}}\\n        </Heading>\\n      </div>\\n      {{#if this.selectedTeammates.length}}\\n        <IcButton\\n          data-test-edit-permissions-button\\n          @type=\\\"secondary\\\"\\n          @label=\\\"Edit permissions\\\"\\n          class=\\\"ml-6\\\"\\n          @onClick={{action \\\"bulkEditPermissions\\\"}}\\n        />\\n      {{/if}}\\n    </div>\\n    {{#if (has-feature 'team-people-role-based-permissions')}}\\n      <div class=\\\"flex flex-row items-center\\\">\\n        <Text @styling=\\\"muted\\\" class=\\\"mr-2\\\">Filter by</Text>\\n        <IcSelect\\n          @items={{this.rolesItems}}\\n          @onSelectItem={{action 'changeRoleFilterValue'}}\\n          @selectedValue={{this.selectedRoleFilterValue}}\\n          class=\\\"mr-2 settings__teammate__teammate-list__role-filter\\\"\\n          data-test-roles-filter-dropdown\\n        />\\n        <Settings::SearchComponent\\n          @value={{this.searchTerm}}\\n          @placeholder=\\\"Search teammates\\\"\\n          @onChange={{action 'changeSearchTerm' value='target.value'}}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n\\n{{/if}}\\n\\n{{#if this.teammatesWithRole.length}}\\n  <Paywall @pricingMetric=\\\"inbox_seats\\\" @featureUsage={{@loadInboxSeatInfo.lastComplete.value.numberOfSeatsInUseAfter}} as |paywall|>\\n    <IcLegacyTable\\n      @columns={{this.columns}}\\n      @rows={{this.teammatesAndTeamsAndEmptyRow}}\\n      @height=\\\"flex\\\"\\n      @inline={{true}}\\n      @tableActions={{hash\\n        toggleInboxSeat=@toggleInboxSeat\\n        selectRow=(action 'selectRow')\\n        seatsPaywall=paywall\\n      }}\\n      @tableIsVisible={{this.tableIsVisible}}\\n      data-test-teammates-table\\n    />\\n  </Paywall>\\n{{else}}\\n  <IcEmptyState\\n    @title=\\\"No teammates match your selection\\\"\\n    @description=\\\"You can invite new teammates, or edit existing ones.\\\"\\n    @icon=\\\"people\\\"\\n    @buttonLabel=\\\"Clear filters\\\"\\n    @onButtonClick={{action 'clearFilters'}}\\n  />\\n{{/if}}\\n\\n{{!-- template-lint-enable intercom/no-custom-table --}}\\n\",\"moduleName\":\"embercom/components/settings/teams/teammate-list-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teams/teammate-list-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { computed } from '@ember/object';\nimport TeammateListBaseComponent from 'embercom/components/settings/teams/teammate-list-base-component';\nimport { union, sort } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport ENV from 'embercom/config/environment';\nimport { later } from '@ember/runloop';\nimport { debounce } from '@ember/runloop';\n\nconst NO_ROLE_FILTER_VALUE = null;\nconst WITHOUT_ROLE_FILTER_VALUE = 'no-role';\n\nexport default TeammateListBaseComponent.extend({\n  router: service(),\n  store: service(),\n  classNameBindings: [\n    ':o__with-empty-last-row',\n    'selectedTeammates.length:o__has-selected-teammates',\n  ],\n  tableIsVisible: true,\n  teammates: null,\n  roles: null,\n  searchTerm: '',\n  selectedRoleFilterValue: NO_ROLE_FILTER_VALUE,\n  filteredTeammates: null,\n  selectedTeammateIds: null,\n  selectedTeammates: computed('teammatesAndTeams.@each.isSelected', function() {\n    return this.teammatesAndTeams.filter(r => r.isSelected).map(r => r.teammate);\n  }),\n\n  teammatesWithRole: computed('filteredTeammates', 'selectedRoleFilterValue', function() {\n    if (this.selectedRoleFilterValue === NO_ROLE_FILTER_VALUE) {\n      return this.filteredTeammates;\n    }\n    let filterValue =\n      this.selectedRoleFilterValue === WITHOUT_ROLE_FILTER_VALUE\n        ? null\n        : Number.parseInt(this.selectedRoleFilterValue, 10);\n    return this.filteredTeammates.filter(\n      teammate => teammate.currentAppPermissions.role_id === filterValue,\n    );\n  }),\n  teammatesAndTeams: computed(\n    'teammatesWithRole',\n    'app.teamsWithoutAppTeam.@each.member_ids',\n    function() {\n      return this.teammatesWithRole.map(teammate => ({\n        teammate,\n        teammateTeams: this.get('app.teamsWithoutAppTeam').filter(team =>\n          team.get('member_ids').includes(parseInt(teammate.get('id'), 10)),\n        ),\n        isCurrentAdmin: this.app.currentAdmin === teammate,\n        isSelected: this.selectedTeammateIds.has(teammate.id),\n      }));\n    },\n  ),\n  rolesSortBy: ['name:asc'],\n  sortedRoles: sort('roles', 'rolesSortBy'),\n\n  rolesItems: computed('sortedRoles.[]', function() {\n    return [\n      {\n        items: [\n          { text: 'Everyone', value: NO_ROLE_FILTER_VALUE },\n          { text: 'No role', value: WITHOUT_ROLE_FILTER_VALUE },\n        ],\n      },\n      {\n        heading: 'Roles',\n        items: this.sortedRoles.map(role => {\n          return { text: role.name, value: role.id };\n        }),\n      },\n    ];\n  }),\n\n  teammatesAndTeamsAndEmptyRow: union('teammatesAndTeams', 'emptyRow'),\n  columns: computed(\n    'app.{inboxIsActive,requiresInboxSeatAccess,customer.currentEarlyStageCustomer}',\n    function() {\n      let columns = [];\n      columns.push(this.createColumn('Name', true, 'table-cells/teammate-list/name-cell'));\n      columns.push(this.createColumn('Status', true, 'table-cells/teammate-list/status-cell'));\n\n      if (this.get('app.inboxIsActive') && this.get('app.requiresInboxSeatAccess')) {\n        let toolTipText = this.get('app.isOnFree')\n          ? 'Your plan includes 1 Inbox seat'\n          : `${this.pricePerSeat}/mo for a seat. (First 2 seats included)`;\n        if (this.get('app.customer.currentEarlyStageCustomer')) {\n          toolTipText = '';\n        }\n        columns.push(\n          this.createColumn(\n            'Inbox seat',\n            true,\n            'table-cells/teammate-list/inbox-seat-cell',\n            toolTipText,\n          ),\n        );\n      }\n\n      if (this.get('app.inboxIsActive')) {\n        columns.push(this.createColumn('Teams', true, 'table-cells/teammate-list/teams-cell'));\n      }\n\n      columns.push(\n        this.createColumn('Permission', true, 'table-cells/teammate-list/permission-cell'),\n      );\n      columns.push(this.createColumn('2fa', true, 'table-cells/teammate-list/two-f-a-cell'));\n      columns.push(this.createColumn('', false, 'table-cells/teammate-list/edit-cell'));\n      return columns;\n    },\n  ),\n\n  init() {\n    this._super(...arguments);\n    this.set('emptyRow', [{ teammate: undefined, teammateTeams: undefined }]);\n    this.set('filteredTeammates', this.teammates);\n    this.set('selectedTeammateIds', new Set());\n    this.loadInboxSeatInfo.perform();\n  },\n\n  filterTeammatesBySearchTerm() {\n    if (this.searchTerm === '') {\n      this.set('filteredTeammates', this.teammates);\n    } else {\n      let downcasedSearchTerm = this.searchTerm.toLocaleLowerCase();\n      let filteredTeammates = this.teammates.filter(teammate => {\n        return (\n          teammate.name.toLocaleLowerCase().includes(downcasedSearchTerm) ||\n          teammate.email.includes(downcasedSearchTerm)\n        );\n      });\n      this.set('filteredTeammates', filteredTeammates);\n    }\n  },\n\n  actions: {\n    bulkEditPermissions() {\n      if (this.selectedTeammates.length === 1) {\n        // There is no point in doing bulk edit permissions if only single teammate is selected,\n        // lets render edit permissions page for this single admin\n        this.router.transitionTo(\n          'apps.app.settings.teammates.teammate.permissions',\n          this.selectedTeammates.firstObject.id,\n        );\n      } else {\n        let transition = this.router.transitionTo('apps.app.settings.teammates.permissions');\n        transition.data.teammates = this.selectedTeammates;\n      }\n    },\n    changeRoleFilterValue(value) {\n      // we need to hide the table when changing its content because the inbox seat toggle component transitions between states\n      // for some reason, which makes it look like the row values are changing, not the actual rows.\n      this.set('tableIsVisible', false);\n      this.set('selectedRoleFilterValue', value);\n      later(this, () => this.set('tableIsVisible', true), ENV.APP._250MS);\n    },\n    changeSearchTerm(value) {\n      debounce(this, this.filterTeammatesBySearchTerm, ENV.APP._250MS);\n    },\n    selectRow() {\n      this.teammatesAndTeams.forEach(({ teammate, isSelected }) => {\n        if (isSelected) {\n          this.selectedTeammateIds.add(teammate.id);\n        } else {\n          this.selectedTeammateIds.delete(teammate.id);\n        }\n      });\n    },\n    clearFilters() {\n      this.set('selectedRoleFilterValue', NO_ROLE_FILTER_VALUE);\n      this.set('searchTerm', '');\n      this.filterTeammatesBySearchTerm();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"team__modal__team-meta\\\">\\n  <div class=\\\"flex items-center\\\">\\n    <div\\n      class=\\\"u__mr__10 u__relative team__modal__team-meta__avatar-wrapper\\\"\\n      id=\\\"team_emoji_popover\\\"\\n    >\\n      <AvatarEmojiSelectorComponent\\n        @app={{@app}}\\n        @avatarModel={{this.selectedTeamEmoji}}\\n        @selectedEmoji={{@team.avatar_emoji}}\\n        @animate={{not @team.isAppTeam}}\\n        @isEmojiPopoverOpen={{this.isEmojiPopoverOpen}}\\n        @selectAvatarEmoji={{action \\\"selectAvatarEmoji\\\"}}\\n        data-test-emoji-selector={{true}}\\n      />\\n    </div>\\n    <div class=\\\"flex items-center flex-auto min-w-0\\\">\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <Pulse::ExpandingInput\\n          @value={{@team.name}}\\n          @onUpdate={{set @team.name}}\\n          @blurOnEnterKey={{true}}\\n          @autoFocus={{@team.isNew}}\\n          {{on \\\"click\\\" (stop-propagation noop)}}\\n          placeholder=\\\"Untitled Team\\\"\\n          class=\\\"t__h3 font-medium min-w-3 max-w-128\\\"\\n          data-test-team-name-input\\n        />\\n        {{#if @team.isAppTeam}}\\n          <IcTooltip as |t|>\\n            <t.opener>\\n              {{ic-stamp \\\"Default team\\\"}}\\n            </t.opener>\\n            <t.content>\\n              This is the name your customers would see when they start a new conversation. It's best to use your organization name.\\n            </t.content>\\n          </IcTooltip>\\n        {{/if}}\\n        {{#if this.selectedTeamHasTeamMembers}}\\n          <div\\n            class=\\\"team__modal__total-admin text-gray\\\"\\n            data-test-team-container=\\\"{{@team.name}}\\\"\\n          >\\n            {{this.selectedTeamMembersCount}} {{inflector-helper \\\"member\\\" this.selectedTeamMembersCount}}\\n          </div>\\n        {{/if}}\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"team__modal__team-meta\\\">\\n  <div class=\\\"flex items-center\\\">\\n    <div\\n      class=\\\"u__mr__10 u__relative team__modal__team-meta__avatar-wrapper\\\"\\n      id=\\\"team_emoji_popover\\\"\\n    >\\n      <AvatarEmojiSelectorComponent\\n        @app={{@app}}\\n        @avatarModel={{this.selectedTeamEmoji}}\\n        @selectedEmoji={{@team.avatar_emoji}}\\n        @animate={{not @team.isAppTeam}}\\n        @isEmojiPopoverOpen={{this.isEmojiPopoverOpen}}\\n        @selectAvatarEmoji={{action \\\"selectAvatarEmoji\\\"}}\\n        data-test-emoji-selector={{true}}\\n      />\\n    </div>\\n    <div class=\\\"flex items-center flex-auto min-w-0\\\">\\n      <div class=\\\"flex-auto min-w-0\\\">\\n        <Pulse::ExpandingInput\\n          @value={{@team.name}}\\n          @onUpdate={{set @team.name}}\\n          @blurOnEnterKey={{true}}\\n          @autoFocus={{@team.isNew}}\\n          {{on \\\"click\\\" (stop-propagation noop)}}\\n          placeholder=\\\"Untitled Team\\\"\\n          class=\\\"t__h3 font-medium min-w-3 max-w-128\\\"\\n          data-test-team-name-input\\n        />\\n        {{#if @team.isAppTeam}}\\n          <IcTooltip as |t|>\\n            <t.opener>\\n              {{ic-stamp \\\"Default team\\\"}}\\n            </t.opener>\\n            <t.content>\\n              This is the name your customers would see when they start a new conversation. It's best to use your organization name.\\n            </t.content>\\n          </IcTooltip>\\n        {{/if}}\\n        {{#if this.selectedTeamHasTeamMembers}}\\n          <div\\n            class=\\\"team__modal__total-admin text-gray\\\"\\n            data-test-team-container=\\\"{{@team.name}}\\\"\\n          >\\n            {{this.selectedTeamMembersCount}} {{inflector-helper \\\"member\\\" this.selectedTeamMembersCount}}\\n          </div>\\n        {{/if}}\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/settings/teams/teams-edit-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/settings/teams/teams-edit-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { A } from '@ember/array';\nimport { alias, notEmpty } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport intermoji from '@intercom/intermoji';\n\nexport default Component.extend({\n  selectedTeamEmoji: alias('team.avatar_emoji'),\n  emptyTeamMembers: A(),\n  selectedTeamMembersCount: alias('selectedTeamMembers.length'),\n  selectedTeamMembers: ternaryToProperty('team', 'team.teamMembers', 'emptyTeamMembers'),\n  selectedTeamHasTeamMembers: notEmpty('selectedTeamMembers'),\n\n  actions: {\n    selectAvatarEmoji(emojiIdentifier) {\n      let unicodeEmoji = intermoji.unicodeFromIdentifier(emojiIdentifier);\n      let twemojiCompatibleEmoji = intermoji.getSupportedTwemoji(unicodeEmoji);\n      this.setProperties({\n        selectedTeamEmoji: twemojiCompatibleEmoji,\n        isEmojiPopoverOpen: false,\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row sign-in__header-container\\\" data-test-sign-in-header>\\n  <div class=\\\"flex flex-row items-center sign-in__header-logo\\\">\\n    <a href=\\\"https://www.intercom.com/\\\">\\n      {{inline-svg \\\"sign-in/nav-primary-logotype\\\"}}\\n    </a>\\n  </div>\\n</div>\", {\"contents\":\"<div class=\\\"flex flex-row sign-in__header-container\\\" data-test-sign-in-header>\\n  <div class=\\\"flex flex-row items-center sign-in__header-logo\\\">\\n    <a href=\\\"https://www.intercom.com/\\\">\\n      {{inline-svg \\\"sign-in/nav-primary-logotype\\\"}}\\n    </a>\\n  </div>\\n</div>\",\"moduleName\":\"embercom/components/sign-in/header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/sign-in/header.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"signup__teams__option-divider signup__teams__p1 mt-8 mb-4\\\">\\n  <span class=\\\"signup__teams__option-divider__wrapper\\\">\\n    Or, sign in with your email\\n  </span>\\n</div>\\n\\n<Form\\n  @onSubmit={{perform @signInEmailPassword this.email this.password this.keepMeSignedIn}}\\n  data-test-sign-in-email-password-form\\n  as |form|>\\n  <form.Item as |item|>\\n    <label class=\\\"signup__teams__form__label\\\">Work email</label>\\n    <item.Input\\n      @value={{email}}\\n      @placeholder=\\\"name@company.com\\\"\\n      class=\\\"signup__teams__form__input\\\"\\n      data-test-sign-in-email-input\\n    />\\n  </form.Item>\\n\\n  <form.Item as |item|>\\n    <label class=\\\"signup__teams__form__label\\\">Password</label>\\n    <item.Input\\n      @type=\\\"password\\\"\\n      @value={{password}}\\n      @placeholder=\\\"password\\\"\\n      class=\\\"signup__teams__form__input\\\"\\n      data-test-sign-in-password-input\\n    />\\n  </form.Item>\\n\\n  <div class=\\\"flex flex-row items-center justify-between\\\">\\n    <form.Item as |item|>\\n      <item.Checkbox @checked={{keepMeSignedIn}}>\\n        <label class=\\\"signup__teams__form__label\\\">Keep me signed in</label>\\n      </item.Checkbox>\\n    </form.Item>\\n    <a href=\\\"/admins/password/new\\\" class=\\\"sign-in__link\\\">Forgot your password?</a>\\n  </div>\\n\\n  <div class=\\\"flex flex-col\\\">\\n    <form.Submit\\n      @label=\\\"Sign in\\\"\\n      @type=\\\"primary\\\"\\n      @disabled={{this.buttonDisabled}}\\n      @processingLabel=\\\"Signing in...\\\"\\n      class=\\\"signup__teams__button\\\"\\n      data-test-sign-in-email-password-button\\n    />\\n  </div>\\n</Form>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"signup__teams__option-divider signup__teams__p1 mt-8 mb-4\\\">\\n  <span class=\\\"signup__teams__option-divider__wrapper\\\">\\n    Or, sign in with your email\\n  </span>\\n</div>\\n\\n<Form\\n  @onSubmit={{perform @signInEmailPassword this.email this.password this.keepMeSignedIn}}\\n  data-test-sign-in-email-password-form\\n  as |form|>\\n  <form.Item as |item|>\\n    <label class=\\\"signup__teams__form__label\\\">Work email</label>\\n    <item.Input\\n      @value={{email}}\\n      @placeholder=\\\"name@company.com\\\"\\n      class=\\\"signup__teams__form__input\\\"\\n      data-test-sign-in-email-input\\n    />\\n  </form.Item>\\n\\n  <form.Item as |item|>\\n    <label class=\\\"signup__teams__form__label\\\">Password</label>\\n    <item.Input\\n      @type=\\\"password\\\"\\n      @value={{password}}\\n      @placeholder=\\\"password\\\"\\n      class=\\\"signup__teams__form__input\\\"\\n      data-test-sign-in-password-input\\n    />\\n  </form.Item>\\n\\n  <div class=\\\"flex flex-row items-center justify-between\\\">\\n    <form.Item as |item|>\\n      <item.Checkbox @checked={{keepMeSignedIn}}>\\n        <label class=\\\"signup__teams__form__label\\\">Keep me signed in</label>\\n      </item.Checkbox>\\n    </form.Item>\\n    <a href=\\\"/admins/password/new\\\" class=\\\"sign-in__link\\\">Forgot your password?</a>\\n  </div>\\n\\n  <div class=\\\"flex flex-col\\\">\\n    <form.Submit\\n      @label=\\\"Sign in\\\"\\n      @type=\\\"primary\\\"\\n      @disabled={{this.buttonDisabled}}\\n      @processingLabel=\\\"Signing in...\\\"\\n      class=\\\"signup__teams__button\\\"\\n      data-test-sign-in-email-password-button\\n    />\\n  </div>\\n</Form>\\n\",\"moduleName\":\"embercom/components/sign-in/method/email-password.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/sign-in/method/email-password.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { isEmpty } from '@ember/utils';\n\nexport default class EmailPassword extends Component {\n  @tracked email = '';\n  @tracked password = '';\n  @tracked keepMeSignedIn = null;\n\n  get buttonDisabled() {\n    return isEmpty(this.email) || isEmpty(this.password);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col mt-4\\\">\\n  <IcButton\\n    @type=\\\"primary\\\"\\n    class=\\\"layout__box o__has-columns o__flexes-to-1 u__center-layout signup__teams__button o__google\\\"\\n    onclick={{action @signInWithGoogleSso}}\\n    data-test-sign-in-google-sso-button\\n  >\\n    <div class=\\\"flex flex-row signup__teams__form__sign-in-with-google__logo\\\"></div>\\n    <div class=\\\"flex flex-row justify-center flex-1\\\">\\n      Sign in with Google\\n    </div>\\n  </IcButton>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col mt-4\\\">\\n  <IcButton\\n    @type=\\\"primary\\\"\\n    class=\\\"layout__box o__has-columns o__flexes-to-1 u__center-layout signup__teams__button o__google\\\"\\n    onclick={{action @signInWithGoogleSso}}\\n    data-test-sign-in-google-sso-button\\n  >\\n    <div class=\\\"flex flex-row signup__teams__form__sign-in-with-google__logo\\\"></div>\\n    <div class=\\\"flex flex-row justify-center flex-1\\\">\\n      Sign in with Google\\n    </div>\\n  </IcButton>\\n</div>\\n\",\"moduleName\":\"embercom/components/sign-in/method/google-sso.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/sign-in/method/google-sso.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col mt-4\\\">\\n  <IcButton\\n    @type=\\\"primary\\\"\\n    @label=\\\"Sign in with SAML SSO\\\"\\n    @onClick={{action @signInWithSaml}}\\n    class=\\\"signup__teams__button\\\"\\n    data-test-sign-in-saml-button\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-col mt-4\\\">\\n  <IcButton\\n    @type=\\\"primary\\\"\\n    @label=\\\"Sign in with SAML SSO\\\"\\n    @onClick={{action @signInWithSaml}}\\n    class=\\\"signup__teams__button\\\"\\n    data-test-sign-in-saml-button\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/sign-in/method/saml.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/sign-in/method/saml.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col flex-1\\\" data-test-workspace-picker>\\n  <div class=\\\"sign-in__form mb-4\\\">\\n    <h3 class=\\\"sign-in__h3 mb-6\\\">Choose a workspace</h3>\\n    <Paragraph class=\\\"sign-in__text mb-1\\\">\\n      Below are workspaces you can access using <span class=\\\"sign-in__text-strong\\\">{{@samlEmail}}</span>.\\n    </Paragraph>\\n    <a {{on \\\"click\\\" @changeEmail}} class=\\\"sign-in__link\\\" data-test-change-email-link>Change email</a>\\n    <IcTable\\n      @data={{@samlAuths}}\\n      @columns={{array (hash valuePath=\\\"appName\\\") (hash valuePath=\\\"samlAccountName\\\")}}\\n      as |table|\\n    >\\n      <table.rows as |row|>\\n        {{#let row.data as |auth|}}\\n          <row.cell @valuePath=\\\"appName\\\">\\n            <span class=\\\"sign-in__text-strong\\\">\\n              {{auth.appName}}\\n            </span>\\n          </row.cell>\\n          <row.cell @valuePath=\\\"samlAccountName\\\">\\n            <IcButton\\n              @label=\\\"Sign in\\\"\\n              @type=\\\"primary\\\"\\n              @fit={{true}}\\n              class=\\\"signup__teams__button\\\"\\n              {{on \\\"click\\\" (fn @redirectToIdP auth)}}\\n              data-test-workspace-sign-in-button\\n            />\\n          </row.cell>\\n        {{/let}}\\n      </table.rows>\\n    </IcTable>\\n    <IcContent class=\\\"mt-4\\\">\\n      <Paragraph class=\\\"sign-in__text-footer\\\">\\n        Workspace not listed? Ask the person on your team who manages your Intercom account for an invite.\\n      </Paragraph>\\n\\n      <Paragraph class=\\\"sign-in__text-footer\\\">\\n        By joining a workspace you agree to Intercom's\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/terms\\\"\\n          @title=\\\"Terms of Service\\\"\\n          @type=\\\"article\\\"\\n          @linkStyling=\\\"inline\\\"\\n        /> &\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/privacy\\\"\\n          @title=\\\"Privacy Policy\\\"\\n          @type=\\\"article\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />.\\n      </Paragraph>\\n    </IcContent>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col flex-1\\\" data-test-workspace-picker>\\n  <div class=\\\"sign-in__form mb-4\\\">\\n    <h3 class=\\\"sign-in__h3 mb-6\\\">Choose a workspace</h3>\\n    <Paragraph class=\\\"sign-in__text mb-1\\\">\\n      Below are workspaces you can access using <span class=\\\"sign-in__text-strong\\\">{{@samlEmail}}</span>.\\n    </Paragraph>\\n    <a {{on \\\"click\\\" @changeEmail}} class=\\\"sign-in__link\\\" data-test-change-email-link>Change email</a>\\n    <IcTable\\n      @data={{@samlAuths}}\\n      @columns={{array (hash valuePath=\\\"appName\\\") (hash valuePath=\\\"samlAccountName\\\")}}\\n      as |table|\\n    >\\n      <table.rows as |row|>\\n        {{#let row.data as |auth|}}\\n          <row.cell @valuePath=\\\"appName\\\">\\n            <span class=\\\"sign-in__text-strong\\\">\\n              {{auth.appName}}\\n            </span>\\n          </row.cell>\\n          <row.cell @valuePath=\\\"samlAccountName\\\">\\n            <IcButton\\n              @label=\\\"Sign in\\\"\\n              @type=\\\"primary\\\"\\n              @fit={{true}}\\n              class=\\\"signup__teams__button\\\"\\n              {{on \\\"click\\\" (fn @redirectToIdP auth)}}\\n              data-test-workspace-sign-in-button\\n            />\\n          </row.cell>\\n        {{/let}}\\n      </table.rows>\\n    </IcTable>\\n    <IcContent class=\\\"mt-4\\\">\\n      <Paragraph class=\\\"sign-in__text-footer\\\">\\n        Workspace not listed? Ask the person on your team who manages your Intercom account for an invite.\\n      </Paragraph>\\n\\n      <Paragraph class=\\\"sign-in__text-footer\\\">\\n        By joining a workspace you agree to Intercom's\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/terms\\\"\\n          @title=\\\"Terms of Service\\\"\\n          @type=\\\"article\\\"\\n          @linkStyling=\\\"inline\\\"\\n        /> &\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/privacy\\\"\\n          @title=\\\"Privacy Policy\\\"\\n          @type=\\\"article\\\"\\n          @linkStyling=\\\"inline\\\"\\n        />.\\n      </Paragraph>\\n    </IcContent>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/sign-in/saml-workspace-picker.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/sign-in/saml-workspace-picker.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  productName: null,\n  addProduct: null,\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\" <span\\n  class=\\\"signup__teams__add-ons__checkbox-container\\\"\\n  role=\\\"checkbox\\\"\\n  aria-label={{@name}}\\n  aria-checked={{@active}}\\n  {{on 'click' (optional @toggle)}}\\n>\\n  {{#if @active}}\\n    {{inline-svg \\\"checkmark\\\"}}\\n  {{/if}}\\n</span>\\n\", {\"contents\":\" <span\\n  class=\\\"signup__teams__add-ons__checkbox-container\\\"\\n  role=\\\"checkbox\\\"\\n  aria-label={{@name}}\\n  aria-checked={{@active}}\\n  {{on 'click' (optional @toggle)}}\\n>\\n  {{#if @active}}\\n    {{inline-svg \\\"checkmark\\\"}}\\n  {{/if}}\\n</span>\\n\",\"moduleName\":\"embercom/components/signup/checkbox.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/checkbox.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<OneWaySelect\\n  data-test-input=\\\"countryCode\\\"\\n  autocomplete=\\\"country-name\\\"\\n  id=\\\"country\\\"\\n  @value={{this.selectedCountry}}\\n  @prompt=\\\"Select a country\\\"\\n  @options={{this.countries}}\\n  @optionValuePath=\\\"name\\\"\\n  @optionLabelPath=\\\"name\\\"\\n  class={{concat this.classesForSelect (if this.countryCodeError \\\" o__error\\\")}}\\n  @update={{action \\\"selectCountry\\\"}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<OneWaySelect\\n  data-test-input=\\\"countryCode\\\"\\n  autocomplete=\\\"country-name\\\"\\n  id=\\\"country\\\"\\n  @value={{this.selectedCountry}}\\n  @prompt=\\\"Select a country\\\"\\n  @options={{this.countries}}\\n  @optionValuePath=\\\"name\\\"\\n  @optionLabelPath=\\\"name\\\"\\n  class={{concat this.classesForSelect (if this.countryCodeError \\\" o__error\\\")}}\\n  @update={{action \\\"selectCountry\\\"}}\\n/>\\n\",\"moduleName\":\"embercom/components/signup/country-select-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/country-select-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport Countries from 'embercom/lib/countries';\n\nexport default Component.extend({\n  classesForSelect: null,\n  required: false,\n  countryCodeError: null,\n  selectedCountry: null,\n  countries: Countries.allCountries,\n\n  actions: {\n    selectCountry(country) {\n      this.set('selectedCountry', country);\n      if (this.onSelect) {\n        this.onSelect(country.code);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n<form class=\\\"signup__form\\\" onsubmit={{action \\\"submit\\\"}}>\\n  {{yield}}\\n</form>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n<form class=\\\"signup__form\\\" onsubmit={{action \\\"submit\\\"}}>\\n  {{yield}}\\n</form>\\n\",\"moduleName\":\"embercom/components/signup/form-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/form-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  'data-test-signup-form': true,\n  submitAction: null,\n  actions: {\n    submit(e) {\n      e.preventDefault();\n      this.submitAction(e);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Heading @size=\\\"1\\\" class=\\\"mb-4\\\">Let's get started</Heading>\\n<p class=\\\"mb-12\\\">Our team is standing by to get you started with Intercom.</p>\\n<button\\n  type=\\\"button\\\"\\n  class=\\\"signup__teams__button w-full o__primary o__font-18\\\"\\n  {{on \\\"click\\\" this.trackClickEvent}}\\n  data-custom-bot=\\\"chat-with-us\\\"\\n  data-test-chat-with-us-button\\n>\\n  <span class=\\\"align-middle\\\">Chat with us</span>\\n</button>\\n\", {\"contents\":\"<Heading @size=\\\"1\\\" class=\\\"mb-4\\\">Let's get started</Heading>\\n<p class=\\\"mb-12\\\">Our team is standing by to get you started with Intercom.</p>\\n<button\\n  type=\\\"button\\\"\\n  class=\\\"signup__teams__button w-full o__primary o__font-18\\\"\\n  {{on \\\"click\\\" this.trackClickEvent}}\\n  data-custom-bot=\\\"chat-with-us\\\"\\n  data-test-chat-with-us-button\\n>\\n  <span class=\\\"align-middle\\\">Chat with us</span>\\n</button>\\n\",\"moduleName\":\"embercom/components/signup/get-started/chat-with-us.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/get-started/chat-with-us.hbs\"}});\nimport { action } from '@ember/object';\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class ChatWithUs extends Component {\n  @service purchaseAnalyticsService;\n\n  @action\n  trackClickEvent() {\n    this.purchaseAnalyticsService.trackEvent({\n      context: 'signup',\n      action: 'clicked',\n      object: 'tts_button',\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-forbidden-elements --}}\\n<div data-test-heap>\\n    {{#if this.gtmIdentifier}}\\n        <script {{did-insert this.initializeHeap}} {{will-destroy this.removeHeap}} type=\\\"text/javascript\\\" async=\\\"\\\" src=\\\"https://cdn.heapanalytics.com/js/heap-{{this.heapEnvironmentId}}.js\\\"></script>\\n    {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-forbidden-elements --}}\\n<div data-test-heap>\\n    {{#if this.gtmIdentifier}}\\n        <script {{did-insert this.initializeHeap}} {{will-destroy this.removeHeap}} type=\\\"text/javascript\\\" async=\\\"\\\" src=\\\"https://cdn.heapanalytics.com/js/heap-{{this.heapEnvironmentId}}.js\\\"></script>\\n    {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/signup/heap.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/heap.hbs\"}});\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\nimport ENV from 'embercom/config/environment';\n\nexport default class SignupHeapComponent extends Component {\n  @service cookies;\n\n  get gtmIdentifier() {\n    return this.cookies.read('gtm_id');\n  }\n\n  get heapEnvironmentId() {\n    if (ENV.environment === 'production') {\n      return '3338820679';\n    } else {\n      return '1778236939';\n    }\n  }\n\n  @action\n  initializeHeap() {\n    window.heap = window.heap || [];\n    if (window.heap.push) {\n      window.heap.load = function(e, t) {\n        window.heap.appid = e;\n        window.heap.config = t = t || {};\n        let o = function(e) {\n          return function() {\n            window.heap.push([e].concat(Array.prototype.slice.call(arguments, 0)));\n          };\n        };\n        let p = [\n          'addEventProperties',\n          'addUserProperties',\n          'clearEventProperties',\n          'identify',\n          'removeEventProperty',\n          'setEventProperties',\n          'track',\n          'unsetEventProperty',\n        ];\n        for (let c = 0; c < p.length; c++) {\n          window.heap[p[c]] = o(p[c]);\n        }\n      };\n\n      window.heap.load(this.heapEnvironmentId);\n    } else {\n      window.heap.appid = this.heapEnvironmentId;\n    }\n    window.heap.identify(this.gtmIdentifier);\n  }\n\n  @action\n  removeHeap() {\n    if (window.heap) {\n      window.heap.loaded = false;\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { sendIntercomUpdate } from 'embercom/lib/intercom-widget-helper';\n\nexport default Component.extend({\n  cda: null,\n  didInsertElement() {\n    this._super(...arguments);\n    let url = window.location.href;\n    let cda = this.cda;\n    sendIntercomUpdate({ [cda]: url });\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"layout__box {{if showMobileView \\\"o__has-rows o__mobile\\\" \\\"o__has-columns\\\"}} signup__new__nav__content-wrapper\\\"\\n>\\n  {{yield}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"layout__box {{if showMobileView \\\"o__has-rows o__mobile\\\" \\\"o__has-columns\\\"}} signup__new__nav__content-wrapper\\\"\\n>\\n  {{yield}}\\n</div>\\n\",\"moduleName\":\"embercom/components/signup/new-main.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/new-main.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"signup__nav-wrapper\\\">\\n  <div class=\\\"signup__nav layout__box o__has-columns\\\">\\n    <div\\n      class=\\\"layout__box o__flexes-to-1 o__centers-vertically o__flexes-to-1 o__has-columns\\\"\\n    >\\n      <a href=\\\"https://www.intercom.com\\\" class=\\\"start__nav__logo\\\">\\n        Intercom\\n      </a>\\n      {{#unless showMobileView}}\\n        <div\\n          class=\\\"signup__nav__step o__first-step text-gray {{chooseProductsClass}}\\\"\\n        >\\n          {{#if proChanges}}\\n            1. {{tt \\\"sign_up.new.customize_free_trial\\\"}}\\n          {{else}}\\n            1. Choose Products\\n          {{/if}}\\n        </div>\\n        <div class=\\\"signup__nav__step text-gray {{checkoutStepClass}}\\\">\\n          {{#if proChanges}}\\n            2. {{tt \\\"sign_up.new.create_account\\\"}}\\n          {{else}}\\n            2. Sign up\\n          {{/if}}\\n        </div>\\n      {{/unless}}\\n    </div>\\n    {{#unless showMobileView}}\\n      <div class=\\\"start__body-text u__right\\\">\\n        {{tt \\\"sign_up.new.already_using_intercom\\\"}} <a\\n          href=\\\"/admins/sign_in\\\"\\n          rel=\\\"nofollow noopener\\\"\\n        >\\n          {{tt \\\"sign_up.new.sign_in\\\"}}\\n        </a>\\n      </div>\\n    {{/unless}}\\n  </div>\\n</div>\\n<div\\n  class=\\\"layout__box o__flexes-to-1  signup__new__content-wrapper {{if proChanges \\\"o__white\\\"}} {{if showMobileView \\\"o__max-width\\\" \\\"o__scrolls\\\"}}\\\"\\n>\\n  <div class=\\\"layout__box o__has-rows\\\">\\n    {{yield\\n      (hash\\n        title=(component \\\"signup/new-title\\\")\\n        main=(component \\\"signup/new-main\\\" showMobileView=showMobileView)\\n      )\\n    }}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"signup__nav-wrapper\\\">\\n  <div class=\\\"signup__nav layout__box o__has-columns\\\">\\n    <div\\n      class=\\\"layout__box o__flexes-to-1 o__centers-vertically o__flexes-to-1 o__has-columns\\\"\\n    >\\n      <a href=\\\"https://www.intercom.com\\\" class=\\\"start__nav__logo\\\">\\n        Intercom\\n      </a>\\n      {{#unless showMobileView}}\\n        <div\\n          class=\\\"signup__nav__step o__first-step text-gray {{chooseProductsClass}}\\\"\\n        >\\n          {{#if proChanges}}\\n            1. {{tt \\\"sign_up.new.customize_free_trial\\\"}}\\n          {{else}}\\n            1. Choose Products\\n          {{/if}}\\n        </div>\\n        <div class=\\\"signup__nav__step text-gray {{checkoutStepClass}}\\\">\\n          {{#if proChanges}}\\n            2. {{tt \\\"sign_up.new.create_account\\\"}}\\n          {{else}}\\n            2. Sign up\\n          {{/if}}\\n        </div>\\n      {{/unless}}\\n    </div>\\n    {{#unless showMobileView}}\\n      <div class=\\\"start__body-text u__right\\\">\\n        {{tt \\\"sign_up.new.already_using_intercom\\\"}} <a\\n          href=\\\"/admins/sign_in\\\"\\n          rel=\\\"nofollow noopener\\\"\\n        >\\n          {{tt \\\"sign_up.new.sign_in\\\"}}\\n        </a>\\n      </div>\\n    {{/unless}}\\n  </div>\\n</div>\\n<div\\n  class=\\\"layout__box o__flexes-to-1  signup__new__content-wrapper {{if proChanges \\\"o__white\\\"}} {{if showMobileView \\\"o__max-width\\\" \\\"o__scrolls\\\"}}\\\"\\n>\\n  <div class=\\\"layout__box o__has-rows\\\">\\n    {{yield\\n      (hash\\n        title=(component \\\"signup/new-title\\\")\\n        main=(component \\\"signup/new-main\\\" showMobileView=showMobileView)\\n      )\\n    }}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/signup/new-page.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/new-page.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  proChanges: false,\n  classNames: 'signup layout__box o__flexes-to-1 o__has-rows o__scrolls',\n  classNameBindings: ['proChanges:o__white'],\n  highlightedStepClass: 'signup__nav__step-highlighted',\n  place: ternary('hasActivePlans', 'create_paid_account', 'create_free_account'),\n\n  chooseProductsClass: computed('navStep', 'highlightedStepClass', function() {\n    if (this.navStep === 1) {\n      return this.highlightedStepClass;\n    }\n  }),\n\n  checkoutStepClass: computed('navStep', 'highlightedStepClass', function() {\n    if (this.navStep === 2) {\n      return this.highlightedStepClass;\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"signup__new__title\\\">\\n  {{yield}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"signup__new__title\\\">\\n  {{yield}}\\n</div>\\n\",\"moduleName\":\"embercom/components/signup/new-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/new-title.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-classic-classes */\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-jquery */\nimport { or, not, empty, and, bool, alias, readOnly } from '@ember/object/computed';\nimport $ from 'jquery';\nimport { computed } from '@ember/object';\nimport { run } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport { isValidEmail, ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport ENV from 'embercom/config/environment';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\nimport EmberObject from '@ember/object';\nimport Component from '@ember/component';\nimport AddressSettings from 'embercom/lib/address-settings';\n\nexport default Component.extend({\n  tagName: '',\n  purchaseAnalyticsService: service(),\n  router: service(),\n  stripe: service('stripev3'),\n\n  hasLocale: bool('locale'),\n  notViaSingleSignOn: not('viaSingleSignOn'),\n  context: 'signup',\n\n  viaSingleSignOn: false,\n  buttonCta: null,\n  personalEmailDomain: false,\n\n  name: '',\n  email: '',\n  password: '',\n  appName: '',\n  companySize: null,\n  department: null,\n\n  adminErrors: EmberObject.create({\n    name: null,\n    email: null,\n    password: null,\n  }),\n  appErrors: EmberObject.create({\n    name: null,\n  }),\n  networkError: null,\n  cardError: null,\n  appNameError: alias('appErrors.name'),\n  emailError: alias('adminErrors.email'),\n  nameError: alias('adminErrors.name'),\n  passwordError: alias('adminErrors.password'),\n\n  resetErrors() {\n    this.setProperties({\n      adminErrors: {},\n      appErrors: {},\n      networkError: null,\n      billingAddressErrors: {},\n      cardError: null,\n    });\n  },\n\n  handleCreationError(response) {\n    if (!response) {\n      return;\n    }\n\n    this.resetErrors();\n\n    response = response.jqXHR ? response.jqXHR : response;\n\n    if (response.status >= 500) {\n      return this.set('networkError', 'Something went wrong. Please contact support.');\n    }\n\n    if (response.status === 429) {\n      return this.set('networkError', 'Too many signup attempts, please try again later.');\n    }\n\n    let responseJSON = response.responseJSON;\n\n    if (!responseJSON) {\n      return;\n    }\n\n    let {\n      unsupported_locale,\n      adblocker,\n      admin,\n      app,\n      email,\n      name,\n      password,\n      country,\n      country_code,\n      state_code,\n      token,\n    } = responseJSON;\n\n    if (adblocker) {\n      return this.set('networkError', 'Please disable your ad blocker, refresh, and try again.');\n    }\n\n    if (unsupported_locale) {\n      return this.set('networkError', 'The locale you have signed up with is not supported.');\n    }\n\n    if (admin) {\n      this.set('adminErrors', admin);\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'triggered',\n        object: 'teammate_signup_error',\n        context: this.context,\n        place: 'signup',\n        owner: 'growth',\n        errors: admin,\n        solutionId: this.solutionId,\n      });\n    }\n\n    if (app) {\n      this.set('appErrors', app);\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'triggered',\n        object: 'app_signup_error',\n        context: this.context,\n        place: 'signup',\n        owner: 'growth',\n        errors: app,\n        solutionId: this.solutionId,\n      });\n    }\n\n    if (email || name || password) {\n      this.set('adminErrors', {\n        email,\n        name,\n        password,\n      });\n    }\n\n    if (country) {\n      this.set(\n        'cardError',\n        'Your business location must match your current location or billing address.',\n      );\n    }\n\n    if (token) {\n      this.set('cardError', token);\n    }\n\n    if (country_code) {\n      this.set('billingAddressErrors.countryCode', 'Country cannot be blank');\n    }\n\n    if (state_code) {\n      this.set('billingAddressErrors.stateCode', 'State cannot be blank');\n    }\n  },\n\n  actions: {\n    onCountrySelected(code) {\n      this.set('billingAddressErrors.countryCode', '');\n      this.set('billingAddressErrors.stateCode', '');\n\n      this.set('billingAddress.countryCode', code);\n      this.set('billingAddress.stateCode', '');\n\n      this._trackDropDownEvent('company_country');\n    },\n    onStateSelected(object) {\n      if (this.invalidStateCode) {\n        this.set('billingAddressErrors.stateCode', 'State cannot be blank');\n      } else {\n        this.set('billingAddressErrors.stateCode', '');\n      }\n\n      this._trackDropDownEvent(object);\n    },\n    onAddressEntered(key, value) {\n      this.set(`billingAddressErrors.${key}`, '');\n      this.set(`billingAddress.${key}`, value);\n    },\n    trackDropDownEvent(object) {\n      this._trackDropDownEvent(object);\n    },\n    transitionToPayment() {\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'clicked next',\n        object: this.signupObject,\n        context: 'signup',\n        place: this.place,\n        mobile: this.viewingFromMobileDevice,\n        solutionId: this.solutionId,\n      });\n\n      if (this.hasInvalidFormData) {\n        this._showInvalidFormDataErrors();\n      } else {\n        this.set('showPayment', true);\n      }\n    },\n\n    submitForm() {\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'clicked',\n        object: this.signupObject,\n        context: 'signup',\n        place: this.place,\n        mobile: this.viewingFromMobileDevice,\n        gclid: this.gclid,\n        emailSubmissionId: this.emailSubmissionId,\n        solutionId: this.solutionId,\n        mrr: this.get('currentPrice.amount'),\n        planIds: this.activePlanIds.toArray(),\n      });\n\n      this._resetInvalidFormDataErrors();\n      this._resetInvalidLocationDataErrors();\n\n      if (this.hasInvalidFormData) {\n        this._showInvalidFormDataErrors();\n        this.set('showPayment', false);\n      }\n\n      if (this.hasInvalidLocationData) {\n        this._showInvalidLocationDataErrors();\n      }\n\n      let stripeElement = this.get('elements.firstObject');\n      this.resetCardErrors();\n\n      if (this.hasActivePlans) {\n        let stripeParams = {};\n        if (this.billingAddress.stateCode) {\n          stripeParams.address_state = this.billingAddress.stateCode;\n        }\n\n        this.stripe.createToken(stripeElement, stripeParams).then(response => {\n          run(() => {\n            if (response.error && ENV.environment !== 'test') {\n              if (\n                [\n                  'incomplete_number',\n                  'invalid_number',\n                  'incorrect_number',\n                  'card_declined',\n                  'processing_error',\n                  'invalid_swipe_data',\n                ].includes(response.error.code)\n              ) {\n                this.set('creditCardNumberError', true);\n              }\n\n              if (\n                [\n                  'incomplete_cvc',\n                  'incorrect_cvc',\n                  'invalid_cvc',\n                  'card_declined',\n                  'processing_error',\n                ].includes(response.error.code)\n              ) {\n                this.set('cvcError', true);\n              }\n\n              if (\n                [\n                  'incomplete_expiry',\n                  'expired_card',\n                  'invalid_expiry_year',\n                  'invalid_expiry_month',\n                  'processing_error',\n                ].includes(response.error.code)\n              ) {\n                this.set('expiryDateError', true);\n              }\n\n              return this.set('cardError', response.error.message);\n            }\n\n            this.set('token', response.token);\n            this._sendFormTask();\n          });\n        });\n      } else if (this.hasInvalidFormData || this.hasInvalidLocationData) {\n        return;\n      } else {\n        this._sendFormTask();\n      }\n    },\n  },\n  showMobileView: false,\n\n  place: computed('hasActivePlans', 'teamsExperience', function() {\n    if (this.teamsExperience) {\n      return 'start_trial';\n    }\n    return this.hasActivePlans ? 'create_paid_account' : 'create_free_account';\n  }),\n  signupObject: ternary('hasActivePlans', 'start_trial', 'create_free_account'),\n  planIds: null,\n  solutionId: null,\n  token: null,\n\n  billingAddress: null,\n  billingAddressErrors: null,\n\n  creditCardNumberError: null,\n  expiryDateError: null,\n  cvcError: null,\n  showPaymentForm: true,\n\n  teamsExperience: false,\n  notTeamsExperience: not('teamsExperience'),\n\n  validEmail: isValidEmail('email'),\n\n  addressConfiguration: computed('billingAddress.countryCode', function() {\n    if (this.billingAddress) {\n      return AddressSettings[this.billingAddress.countryCode] || AddressSettings.default;\n    }\n\n    return AddressSettings.default;\n  }),\n\n  buttonCTA: computed('hasActivePlans', 'showPaymentForm', function() {\n    if (!this.showPaymentForm) {\n      return {\n        text: 'sign_up.new.form.next',\n      };\n    }\n\n    if (this.hasActivePlans) {\n      return {\n        text: 'sign_up.new.form.start_free_trial',\n        submitText: 'sign_up.new.form.starting',\n      };\n    }\n\n    return {\n      text: 'sign_up.new.form.create_account',\n      submitText: 'sign_up.new.form.creating',\n    };\n  }),\n\n  stripeInputStyle: {\n    base: {\n      border: '1px solid grey',\n      fontSize: '13px',\n      fontSmoothing: 'antialiased',\n      color: '#32325d',\n      '::placeholder': {\n        color: PALETTE.gray,\n      },\n    },\n  },\n\n  stripeClasses: {\n    base: 'signup__new__form__stripe-input',\n    focus: 'signup__new__form__stripe-input-focus',\n    invalid: 'signup__new__form__stripe-input-invalid',\n  },\n\n  stripeClassesExpiry: {\n    base: 'signup__new__form__stripe-input signup__new__form__expiry ',\n    focus: 'signup__new__form__stripe-input-focus',\n    invalid: 'signup__new__form__stripe-input-invalid',\n  },\n\n  stripeClassesCvc: {\n    base: 'signup__new__form__stripe-input signup__new__form__cvc',\n    focus: 'signup__new__form__stripe-input-focus',\n    invalid: 'signup__new__form__stripe-input-invalid',\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n\n    // Initializing billingAddress & billingAddressErrors here so that it is set in the component instance context rather than the component class context.\n    this.set('billingAddress', {});\n    this.set('billingAddressErrors', {});\n\n    if (this.teamsExperience) {\n      let stripeCardElement = this.buildStripeCardElement();\n      stripeCardElement.mount($('[role=\"stripe-card\"]', this.element)[0]);\n      this.set('elements', [stripeCardElement]);\n      this.setStripeEventListeners();\n    }\n    if (this.hasActivePlans && this.notTeamsExperience) {\n      let stripeElements = this.get('stripe.elements')();\n      let stripeInputStyle = this.stripeInputStyle;\n      let stripeCardElement = stripeElements.create('cardNumber', {\n        style: stripeInputStyle,\n        classes: this.stripeClasses,\n      });\n      stripeCardElement.mount($('[role=\"stripe-card-number\"]', this.element)[0]);\n      let stripeExpiryElement = stripeElements.create('cardExpiry', {\n        style: stripeInputStyle,\n        classes: this.stripeClassesExpiry,\n      });\n      stripeExpiryElement.mount($('[role=\"stripe-card-expiry\"]', this.element)[0]);\n      let stripeCvcElement = stripeElements.create('cardCvc', {\n        style: stripeInputStyle,\n        classes: this.stripeClassesCvc,\n      });\n      stripeCvcElement.mount($('[role=\"stripe-card-cvc\"]', this.element)[0]);\n\n      this.set('elements', [stripeCardElement, stripeExpiryElement, stripeCvcElement]);\n      this.setStripeEventListeners();\n    }\n  },\n\n  willDestroyElement() {\n    this._super(...arguments);\n    if (this.hasActivePlans) {\n      this.elements.forEach(element => {\n        element.unmount();\n      });\n    }\n  },\n\n  buildStripeCardElement() {\n    let stripeElements = this.get('stripe.elements')();\n    let stripeInputStyle = this.stripeInputStyle;\n    return stripeElements.create('card', {\n      style: stripeInputStyle,\n      classes: this.stripeClasses,\n    });\n  },\n\n  stripeElementEventName(componentName) {\n    switch (componentName) {\n      case 'cardNumber':\n        return 'credit_card_number';\n      case 'cardExpiry':\n        return 'credit_card_date';\n      case 'cardCvc':\n        return 'credit_card_code';\n      default:\n        return 'credit_card';\n    }\n  },\n\n  stripeElementErrorName(componentName) {\n    switch (componentName) {\n      case 'cardNumber':\n        return 'creditCardNumberError';\n      case 'cardExpiry':\n        return 'expiryDateError';\n      case 'cardCvc':\n        return 'cvcError';\n      default:\n        return 'cardError';\n    }\n  },\n\n  setStripeEventListeners() {\n    let stripeElements = this.elements;\n    stripeElements.forEach(stripeElement => {\n      stripeElement.on('change', (...args) => {\n        let { error, complete, value } = args[0];\n        if (complete) {\n          this.purchaseAnalyticsService.trackEvent({\n            action: 'entered',\n            object: this.stripeElementEventName(stripeElement._componentName),\n            context: 'signup',\n            place: this.place,\n            mobile: this.viewingFromMobileDevice,\n            solutionId: this.solutionId,\n          });\n          this.set('stripeComplete', true);\n          if (this.emptyBillingPostcode) {\n            this.set('billingAddress.postcode', value.postalCode || '');\n          }\n        } else if (error) {\n          this.set('stripeError', error);\n        } else {\n          let error = this.stripeElementErrorName(stripeElement._componentName);\n          this.set('cardError', null);\n          this.set(error, null);\n        }\n      });\n    });\n  },\n\n  resetCardErrors() {\n    this.setProperties({\n      creditCardNumberError: null,\n      expiryDateError: null,\n      cvcError: null,\n      cardError: null,\n    });\n  },\n\n  emptyName: empty('name'),\n  emptyAppName: empty('appName'),\n  emptyEmail: empty('email'),\n  emptyPassword: empty('password'),\n  emptyCountryCode: empty('billingAddress.countryCode'),\n  emptyStateCode: empty('billingAddress.stateCode'),\n  emptyBillingStreet: empty('billingAddress.streetAddress'),\n  emptyBillingCity: empty('billingAddress.city'),\n  emptyBillingPostcode: empty('billingAddress.postcode'),\n  invalidBillingStreet: readOnly('emptyBillingStreet'),\n  invalidBillingCity: readOnly('emptyBillingCity'),\n  invalidBillingPostcode: computed(\n    'emptyBillingPostcode',\n    'addressConfiguration',\n    'billingAddress.postcode',\n    function() {\n      return (\n        this.emptyBillingPostcode ||\n        (this.addressConfiguration.postCodeRegex &&\n          !this.addressConfiguration.postCodeRegex.exec(this.billingAddress.postcode))\n      );\n    },\n  ),\n  invalidName: and('notViaSingleSignOn', 'emptyName'),\n  invalidEmail: and('notViaSingleSignOn', 'emptyEmail'),\n  invalidPassword: and('notViaSingleSignOn', 'emptyPassword'),\n  invalidCountryCode: readOnly('emptyCountryCode'),\n  invalidStateCode: and('addressConfiguration.showState', 'emptyStateCode'),\n  hasInvalidFormData: or('invalidName', 'emptyAppName', 'invalidEmail', 'invalidPassword'),\n  hasInvalidLocationData: or(\n    'invalidCountryCode',\n    'invalidStateCode',\n    'invalidBillingStreet',\n    'invalidBillingCity',\n    'invalidBillingPostcode',\n  ),\n\n  _resetInvalidFormDataErrors() {\n    this.set('nameError', '');\n    this.set('appNameError', '');\n    this.set('emailError', '');\n    this.set('passwordError', '');\n  },\n\n  _resetInvalidLocationDataErrors() {\n    this.set('billingAddressErrors', {});\n  },\n\n  _showInvalidFormDataErrors() {\n    if (this.invalidName) {\n      this.set('nameError', 'Name cannot be blank');\n    }\n\n    if (this.emptyAppName) {\n      this.set('appNameError', 'App cannot be blank');\n    }\n\n    if (this.invalidEmail) {\n      this.set('emailError', 'Email cannot be blank');\n    }\n\n    if (this.invalidPassword) {\n      this.set('passwordError', 'Password cannot be blank');\n    }\n  },\n\n  _showInvalidLocationDataErrors() {\n    if (this.invalidCountryCode) {\n      this.set('billingAddressErrors.countryCode', 'Country cannot be blank');\n    }\n\n    if (this.invalidStateCode) {\n      this.set('billingAddressErrors.stateCode', 'State cannot be blank');\n    }\n\n    if (this.invalidBillingStreet) {\n      this.set('billingAddressErrors.streetAddress', 'Street address cannot be blank');\n    }\n\n    if (this.invalidBillingCity) {\n      this.set('billingAddressErrors.city', 'City cannot be blank');\n    }\n\n    if (this.invalidBillingPostcode) {\n      if (this.emptyBillingPostcode) {\n        this.set('billingAddressErrors.postcode', 'ZIP code cannot be blank');\n      } else {\n        this.set('billingAddressErrors.postcode', 'ZIP code is invalid');\n      }\n    }\n  },\n\n  _sendFormTask() {\n    let formData = {\n      name: this.name,\n      email: this.email,\n      password: this.password,\n      appName: this.appName,\n      companySize: this.companySize,\n      department: this.department,\n      countryCode: this.billingAddress.countryCode,\n      stateCode: this.billingAddress.stateCode,\n    };\n\n    if (this.token) {\n      formData.creditCardToken = this.get('token.id');\n    }\n    this.formTask.perform(formData, this.handleCreationError.bind(this));\n  },\n\n  _trackDropDownEvent(object) {\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'selected',\n      object,\n      context: 'signup',\n      place: this.place,\n      mobile: this.viewingFromMobileDevice,\n      solutionId: this.solutionId,\n    });\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col gap-1 mb-4\\\">\\n  <label class=\\\"pl-2 text-gray\\\">\\n    {{@label}}\\n  </label>\\n\\n  {{yield}}\\n\\n  {{#if @error}}\\n    <div\\n      class=\\\"absolute text-red \\\"\\n      data-test-error=\\\"{{@label}}\\\"\\n    >\\n      {{@error}}\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col gap-1 mb-4\\\">\\n  <label class=\\\"pl-2 text-gray\\\">\\n    {{@label}}\\n  </label>\\n\\n  {{yield}}\\n\\n  {{#if @error}}\\n    <div\\n      class=\\\"absolute text-red \\\"\\n      data-test-error=\\\"{{@label}}\\\"\\n    >\\n      {{@error}}\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/signup/new/form-field-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/new/form-field-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"start__body-text\\\">\\n  {{#if this.text}}\\n    {{tt\\n      key\\n      cta=text\\n      termsOfServiceURL=\\\"https://www.intercom.com/terms-of-service\\\"\\n      privacyPolicyURL=\\\"https://www.intercom.com/privacy\\\"\\n    }}\\n  {{else}}\\n    {{tt\\n      key\\n      termsOfServiceURL=\\\"https://www.intercom.com/terms-of-service\\\"\\n      privacyPolicyURL=\\\"https://www.intercom.com/privacy\\\"\\n    }}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"start__body-text\\\">\\n  {{#if this.text}}\\n    {{tt\\n      key\\n      cta=text\\n      termsOfServiceURL=\\\"https://www.intercom.com/terms-of-service\\\"\\n      privacyPolicyURL=\\\"https://www.intercom.com/privacy\\\"\\n    }}\\n  {{else}}\\n    {{tt\\n      key\\n      termsOfServiceURL=\\\"https://www.intercom.com/terms-of-service\\\"\\n      privacyPolicyURL=\\\"https://www.intercom.com/privacy\\\"\\n    }}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/signup/new/terms-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/new/terms-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if product.downgrading}}\\n  <span data-test-downgrading-product>\\n    Downgrading Product\\n  </span>\\n{{/if}}\\n{{#if product.upgrading}}\\n  <span data-test-upgrading-product>\\n    Upgrading Product\\n  </span>\\n{{/if}}\\n{{#if product.removing}}\\n  <span data-test-removing-product>\\n    Removing Product\\n  </span>\\n{{/if}}\\n{{#if product.adding}}\\n  <span data-test-adding-product>\\n    Adding Product\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if product.downgrading}}\\n  <span data-test-downgrading-product>\\n    Downgrading Product\\n  </span>\\n{{/if}}\\n{{#if product.upgrading}}\\n  <span data-test-upgrading-product>\\n    Upgrading Product\\n  </span>\\n{{/if}}\\n{{#if product.removing}}\\n  <span data-test-removing-product>\\n    Removing Product\\n  </span>\\n{{/if}}\\n{{#if product.adding}}\\n  <span data-test-adding-product>\\n    Adding Product\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/signup/product-card-status.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/product-card-status.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n <OneWaySelect\\n  data-test-input=\\\"stateCode\\\"\\n  autocomplete=\\\"state\\\"\\n  id=\\\"state\\\"\\n  @value={{this.state}}\\n  @options={{this.states}}\\n  @optionLabelPath=\\\"label\\\"\\n  @optionTargetPath=\\\"value\\\"\\n  class={{concat this.classesForSelect (if this.stateCodeError \\\" o__error\\\")}}\\n  @update={{action \\\"selectState\\\"}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n <OneWaySelect\\n  data-test-input=\\\"stateCode\\\"\\n  autocomplete=\\\"state\\\"\\n  id=\\\"state\\\"\\n  @value={{this.state}}\\n  @options={{this.states}}\\n  @optionLabelPath=\\\"label\\\"\\n  @optionTargetPath=\\\"value\\\"\\n  class={{concat this.classesForSelect (if this.stateCodeError \\\" o__error\\\")}}\\n  @update={{action \\\"selectState\\\"}}\\n/>\\n\",\"moduleName\":\"embercom/components/signup/state-select-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/state-select-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport States from 'embercom/lib/states';\nimport { locationSelect } from 'embercom/helpers/location-select-helper';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  classesForSelect: null,\n  required: false,\n  stateCodeError: null,\n  state: 'Unknown',\n\n  states: computed('countryCode', function() {\n    return locationSelect(States[this.countryCode], 'State');\n  }),\n\n  actions: {\n    selectState(state) {\n      this.set('state', state);\n      if (this.onSelect) {\n        this.onSelect('company_state');\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<button\\n  class=\\\"signup__teams__plan__addons-summary-test__button\\\"\\n  {{on 'click' @toggleAddon}}\\n>\\n  <div class=\\\"flex flex-row signup__teams__plan__addons-summary-test\\\" data-test-addon-plan=\\\"{{@addOn.id}}\\\">\\n      {{#unless @mobileDevice}}\\n        <div class=\\\"pr-4\\\">\\n          <img\\n            width=\\\"35\\\"\\n            src=\\\"{{@addOn.icon}}\\\"\\n            srcset=\\\"{{@addOn.icon}}\\\"\\n          />\\n        </div>\\n      {{/unless}}\\n      <div>\\n        <h3 class=\\\"signup__teams__product-summary__name-test t__h3 mt-1 mb-4\\\">\\n          {{@addOn.marketingName}}\\n        </h3>\\n        <p>\\n          {{@addOn.description}}\\n        </p>\\n        <ul class=\\\"m-0 p-0\\\">\\n          {{#each @addOn.features as |feature|}}\\n            <li class=\\\"p-0 m-0 mt-4 ml-4\\\">{{feature}}</li>\\n          {{/each}}\\n        </ul>\\n      </div>\\n      <div class=\\\"signup__teams__add-ons__checkbox-column\\\">\\n        <span class=\\\"mr-2\\\">from {{this.addOnPrice}}/mo</span>\\n        <Signup::Checkbox @name={{@addOn.name}} @active={{@active}} />\\n      </div>\\n  </div>\\n</button>\\n\", {\"contents\":\"<button\\n  class=\\\"signup__teams__plan__addons-summary-test__button\\\"\\n  {{on 'click' @toggleAddon}}\\n>\\n  <div class=\\\"flex flex-row signup__teams__plan__addons-summary-test\\\" data-test-addon-plan=\\\"{{@addOn.id}}\\\">\\n      {{#unless @mobileDevice}}\\n        <div class=\\\"pr-4\\\">\\n          <img\\n            width=\\\"35\\\"\\n            src=\\\"{{@addOn.icon}}\\\"\\n            srcset=\\\"{{@addOn.icon}}\\\"\\n          />\\n        </div>\\n      {{/unless}}\\n      <div>\\n        <h3 class=\\\"signup__teams__product-summary__name-test t__h3 mt-1 mb-4\\\">\\n          {{@addOn.marketingName}}\\n        </h3>\\n        <p>\\n          {{@addOn.description}}\\n        </p>\\n        <ul class=\\\"m-0 p-0\\\">\\n          {{#each @addOn.features as |feature|}}\\n            <li class=\\\"p-0 m-0 mt-4 ml-4\\\">{{feature}}</li>\\n          {{/each}}\\n        </ul>\\n      </div>\\n      <div class=\\\"signup__teams__add-ons__checkbox-column\\\">\\n        <span class=\\\"mr-2\\\">from {{this.addOnPrice}}/mo</span>\\n        <Signup::Checkbox @name={{@addOn.name}} @active={{@active}} />\\n      </div>\\n  </div>\\n</button>\\n\",\"moduleName\":\"embercom/components/signup/teams/addon-cta-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/teams/addon-cta-component.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class AddonCta extends Component {\n  get addOnPrice() {\n    let addOnId = parseInt(this.args.addOn.id, 10);\n    let addOn = this.args.prices.find(price => price.hasSamePlans([addOnId]));\n    return addOn.formattedAmount;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"signup__teams__sidebar__product-box signup__teams__sidebar__product-box-text\\\">\\n  <div class=\\\"flex flex-col {{if @isEarlyStage 'gap-1' 'gap-2'}}\\\">\\n    {{#if @productName}}\\n      <div class=\\\"signup__teams__sidebar__product-box-title-text\\\">\\n        <div data-test-cart-product-name class>\\n          {{@productName}}\\n        </div>\\n      </div>\\n      <div class=\\\"signup__teams__option-divider\\\"></div>\\n      <div class=\\\"h-2\\\"></div>\\n    {{/if}}\\n    {{#each @productsAndAddOnsWithPrices as |productWithPrice|}}\\n      <div class=\\\"flex flex-col gap-1\\\" data-test-cart-product-name={{productWithPrice.key}}>\\n        <div class=\\\"flex flex-row justify-between gap-4\\\">\\n          <div>\\n            <span class=\\\"{{unless @isEarlyStage 'signup__teams__sidebar__product-box-title-text'}}\\\" data-test-cart-product-name>\\n              {{productWithPrice.marketingName}}\\n            </span>\\n          </div>\\n          {{#if (and (not @isEarlyStage) (not @showPrices) productWithPrice.price)}}\\n            <span>\\n              {{productWithPrice.price}}/mo\\n            </span>\\n          {{/if}}\\n        </div>\\n      </div>\\n      <div class=\\\"h-2\\\"></div>\\n    {{/each}}\\n  </div>\\n  <div class=\\\"signup__teams__option-divider\\\"></div>\\n  <div class=\\\"h-5\\\"></div>\\n\\n  <div>\\n    {{#if @earlyStagePartnerWithoutMessenger}}\\n      Total after trial:\\n      <div class=\\\"u__right\\\">\\n        {{@formattedTotalAmount}}/mo*\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <div\\n        data-test-cart-early-stage-partner-copy\\n        class=\\\"signup__teams__partner-copy\\\"\\n      >\\n        *$0/mo with the Intercom messenger visible on your homepage.\\n      </div>\\n    {{else}}\\n      Total after trial\\n      <div data-test-total-amount class=\\\"u__right\\\">\\n        {{@formattedTotalAmount}}/mo\\n      </div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"h-2\\\"></div>\\n  <div class=\\\"layout__box signup__teams__sidebar__product-box-title-text\\\" data-ghost-inspector=\\\"signup__teams__sidebar__total-amount\\\">\\n    Due today <div class=\\\"u__right\\\">\\n      $0\\n    </div>\\n  </div>\\n</div>\\n\\n\", {\"contents\":\"<div class=\\\"signup__teams__sidebar__product-box signup__teams__sidebar__product-box-text\\\">\\n  <div class=\\\"flex flex-col {{if @isEarlyStage 'gap-1' 'gap-2'}}\\\">\\n    {{#if @productName}}\\n      <div class=\\\"signup__teams__sidebar__product-box-title-text\\\">\\n        <div data-test-cart-product-name class>\\n          {{@productName}}\\n        </div>\\n      </div>\\n      <div class=\\\"signup__teams__option-divider\\\"></div>\\n      <div class=\\\"h-2\\\"></div>\\n    {{/if}}\\n    {{#each @productsAndAddOnsWithPrices as |productWithPrice|}}\\n      <div class=\\\"flex flex-col gap-1\\\" data-test-cart-product-name={{productWithPrice.key}}>\\n        <div class=\\\"flex flex-row justify-between gap-4\\\">\\n          <div>\\n            <span class=\\\"{{unless @isEarlyStage 'signup__teams__sidebar__product-box-title-text'}}\\\" data-test-cart-product-name>\\n              {{productWithPrice.marketingName}}\\n            </span>\\n          </div>\\n          {{#if (and (not @isEarlyStage) (not @showPrices) productWithPrice.price)}}\\n            <span>\\n              {{productWithPrice.price}}/mo\\n            </span>\\n          {{/if}}\\n        </div>\\n      </div>\\n      <div class=\\\"h-2\\\"></div>\\n    {{/each}}\\n  </div>\\n  <div class=\\\"signup__teams__option-divider\\\"></div>\\n  <div class=\\\"h-5\\\"></div>\\n\\n  <div>\\n    {{#if @earlyStagePartnerWithoutMessenger}}\\n      Total after trial:\\n      <div class=\\\"u__right\\\">\\n        {{@formattedTotalAmount}}/mo*\\n      </div>\\n      <div class=\\\"h-5\\\"></div>\\n      <div\\n        data-test-cart-early-stage-partner-copy\\n        class=\\\"signup__teams__partner-copy\\\"\\n      >\\n        *$0/mo with the Intercom messenger visible on your homepage.\\n      </div>\\n    {{else}}\\n      Total after trial\\n      <div data-test-total-amount class=\\\"u__right\\\">\\n        {{@formattedTotalAmount}}/mo\\n      </div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"h-2\\\"></div>\\n  <div class=\\\"layout__box signup__teams__sidebar__product-box-title-text\\\" data-ghost-inspector=\\\"signup__teams__sidebar__total-amount\\\">\\n    Due today <div class=\\\"u__right\\\">\\n      $0\\n    </div>\\n  </div>\\n</div>\\n\\n\",\"moduleName\":\"embercom/components/signup/teams/cart-summary-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/teams/cart-summary-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"signup__teams__confirm__checkout-component layout__box {{if this.showMobileView 'o__has-columns'}}\\\">\\n  <div class=\\\"signup__teams__confirm__form-fields\\\">\\n    <Start::FormFieldComponent @error={{cardError}}>\\n      <div class=\\\"signup__teams__confirm__stripe\\\">\\n        <label\\n          class=\\\"signup__teams__form__label signup__teams__confirm__caption\\\"\\n        >\\n          Credit card information\\n        </label>\\n        <span class=\\\"signup__teams__confirm__stripe-secured\\\">\\n          {{ic-interface-icon \\\"locked\\\" solo=true}} Secured by Stripe\\n        </span>\\n      </div>\\n      <div class=\\\"h-1\\\"></div>\\n      <div data-test-input=\\\"creditCardNumber\\\">\\n        <div\\n          role=\\\"stripe-card\\\"\\n          class=\\\"signup__teams__confirm__stripe-credit-card-input\\\"\\n        ></div>\\n      </div>\\n    </Start::FormFieldComponent>\\n    <Start::FormFieldComponent\\n      @label=\\\"Card location\\\"\\n      @error={{billingAddressErrors.countryCode}}\\n      @for=\\\"country\\\"\\n    >\\n      <Signup::CountrySelectComponent\\n        @countryCodeError={{billingAddressErrors.countryCode}}\\n        @onSelect={{action \\\"onCountrySelected\\\"}}\\n        @classesForSelect=\\\"signup__teams__form__input signup__teams__form__input-select signup__teams__confirm__checkout__select\\\"\\n      />\\n    </Start::FormFieldComponent>\\n    <Start::FormFieldComponent @label=\\\"Street address\\\" @error={{billingAddressErrors.streetAddress}} @for=\\\"streetAddress\\\">\\n      <Input @value={{billingAddress.streetAddress}} placeholder=\\\"Enter your street address\\\" @focus-out={{action \\\"onAddressEntered\\\" \\\"streetAddress\\\"}}\\n        class=\\\"signup__teams__form__input {{if billingAddressErrors.streetAddress \\\"o__error\\\"}}\\\" data-test-input=\\\"streetAddress\\\" name=\\\"streetAddress\\\" maxlength={{this.addressConfiguration.maxLengths.streetAddress}}\\n      />\\n    </Start::FormFieldComponent>\\n    <Start::FormFieldComponent @label=\\\"City\\\" @error={{billingAddressErrors.city}} @for=\\\"city\\\">\\n      <Input @value={{billingAddress.city}} placeholder=\\\"Enter your city\\\" @focus-out={{action \\\"onAddressEntered\\\" \\\"city\\\"}}\\n        class=\\\"signup__teams__form__input {{if billingAddressErrors.city \\\"o__error\\\"}}\\\" data-test-input=\\\"city\\\" name=\\\"city\\\" maxlength={{this.addressConfiguration.maxLengths.city}}\\n      />\\n    </Start::FormFieldComponent>\\n\\n    <div class=\\\"flex w-full gap-2 flex-row\\\">\\n      {{#if this.addressConfiguration.showState}}\\n        <div class=\\\"flex w-3/6\\\">\\n          <Start::FormFieldComponent @label={{this.addressConfiguration.stateLabel}} @error={{billingAddressErrors.stateCode}} @for=\\\"state\\\">\\n            <Signup::StateSelectComponent\\n              @countryCode={{billingAddress.countryCode}}\\n              @state={{billingAddress.stateCode}}\\n              @stateCodeError={{billingAddressErrors.stateCode}}\\n              @onSelect={{action \\\"onStateSelected\\\"}}\\n              @classesForSelect=\\\"flex w-full signup__teams__form__input signup__teams__form__input-select signup__teams__confirm__checkout__select\\\"\\n            />\\n          </Start::FormFieldComponent>\\n        </div>\\n      {{/if}}\\n\\n      <div class=\\\"flex {{if this.addressConfiguration.showState \\\"w-3/6\\\" \\\"w-full\\\"}}\\\">\\n        <Start::FormFieldComponent @label={{this.addressConfiguration.postCodeLabel}} @error={{billingAddressErrors.postcode}} @for=\\\"postcode\\\">\\n          <Input\\n            @value={{billingAddress.postcode}}\\n            placeholder=\\\"00000\\\"\\n            @focus-out={{action \\\"onAddressEntered\\\" \\\"postcode\\\"}}\\n            class=\\\"flex w-full signup__teams__form__input {{if billingAddressErrors.postcode \\\"o__error\\\"}}\\\"\\n            data-test-input=\\\"postcode\\\"\\n            data-ghost-inspector=\\\"signup-address-zip-code\\\"\\n            name=\\\"postcode\\\"\\n            maxlength={{this.addressConfiguration.maxLengths.postcode}}\\n          />\\n        </Start::FormFieldComponent>\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"h-5\\\"></div>\\n  <div class=\\\"signup__teams__confirm__form-button\\\">\\n    <IcButton\\n      @type=\\\"primary-live\\\"\\n      @disabled={{sendNewSubscriptionTask.isRunning}}\\n      class=\\\"signup__teams__button signup__teams__confirm__checkout-button\\\"\\n      @onClick={{action \\\"submitStripeElement\\\" stripeElement}}\\n      data-test-confirm=\\\"confirm\\\"\\n      data-ghost-inspector=\\\"signup__teams__confirm__checkout-button\\\"\\n    >\\n      {{#if sendNewSubscriptionTask.isRunning}}\\n        Processing...\\n      {{else}}\\n        <span class=\\\"align-middle\\\">\\n          Start using Intercom\\n        </span>\\n        {{inline-svg \\\"arrow-rebrand\\\" class=\\\"signup__teams__button__arrow\\\"}}\\n      {{/if}}\\n    </IcButton>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"signup__teams__confirm__checkout-component layout__box {{if this.showMobileView 'o__has-columns'}}\\\">\\n  <div class=\\\"signup__teams__confirm__form-fields\\\">\\n    <Start::FormFieldComponent @error={{cardError}}>\\n      <div class=\\\"signup__teams__confirm__stripe\\\">\\n        <label\\n          class=\\\"signup__teams__form__label signup__teams__confirm__caption\\\"\\n        >\\n          Credit card information\\n        </label>\\n        <span class=\\\"signup__teams__confirm__stripe-secured\\\">\\n          {{ic-interface-icon \\\"locked\\\" solo=true}} Secured by Stripe\\n        </span>\\n      </div>\\n      <div class=\\\"h-1\\\"></div>\\n      <div data-test-input=\\\"creditCardNumber\\\">\\n        <div\\n          role=\\\"stripe-card\\\"\\n          class=\\\"signup__teams__confirm__stripe-credit-card-input\\\"\\n        ></div>\\n      </div>\\n    </Start::FormFieldComponent>\\n    <Start::FormFieldComponent\\n      @label=\\\"Card location\\\"\\n      @error={{billingAddressErrors.countryCode}}\\n      @for=\\\"country\\\"\\n    >\\n      <Signup::CountrySelectComponent\\n        @countryCodeError={{billingAddressErrors.countryCode}}\\n        @onSelect={{action \\\"onCountrySelected\\\"}}\\n        @classesForSelect=\\\"signup__teams__form__input signup__teams__form__input-select signup__teams__confirm__checkout__select\\\"\\n      />\\n    </Start::FormFieldComponent>\\n    <Start::FormFieldComponent @label=\\\"Street address\\\" @error={{billingAddressErrors.streetAddress}} @for=\\\"streetAddress\\\">\\n      <Input @value={{billingAddress.streetAddress}} placeholder=\\\"Enter your street address\\\" @focus-out={{action \\\"onAddressEntered\\\" \\\"streetAddress\\\"}}\\n        class=\\\"signup__teams__form__input {{if billingAddressErrors.streetAddress \\\"o__error\\\"}}\\\" data-test-input=\\\"streetAddress\\\" name=\\\"streetAddress\\\" maxlength={{this.addressConfiguration.maxLengths.streetAddress}}\\n      />\\n    </Start::FormFieldComponent>\\n    <Start::FormFieldComponent @label=\\\"City\\\" @error={{billingAddressErrors.city}} @for=\\\"city\\\">\\n      <Input @value={{billingAddress.city}} placeholder=\\\"Enter your city\\\" @focus-out={{action \\\"onAddressEntered\\\" \\\"city\\\"}}\\n        class=\\\"signup__teams__form__input {{if billingAddressErrors.city \\\"o__error\\\"}}\\\" data-test-input=\\\"city\\\" name=\\\"city\\\" maxlength={{this.addressConfiguration.maxLengths.city}}\\n      />\\n    </Start::FormFieldComponent>\\n\\n    <div class=\\\"flex w-full gap-2 flex-row\\\">\\n      {{#if this.addressConfiguration.showState}}\\n        <div class=\\\"flex w-3/6\\\">\\n          <Start::FormFieldComponent @label={{this.addressConfiguration.stateLabel}} @error={{billingAddressErrors.stateCode}} @for=\\\"state\\\">\\n            <Signup::StateSelectComponent\\n              @countryCode={{billingAddress.countryCode}}\\n              @state={{billingAddress.stateCode}}\\n              @stateCodeError={{billingAddressErrors.stateCode}}\\n              @onSelect={{action \\\"onStateSelected\\\"}}\\n              @classesForSelect=\\\"flex w-full signup__teams__form__input signup__teams__form__input-select signup__teams__confirm__checkout__select\\\"\\n            />\\n          </Start::FormFieldComponent>\\n        </div>\\n      {{/if}}\\n\\n      <div class=\\\"flex {{if this.addressConfiguration.showState \\\"w-3/6\\\" \\\"w-full\\\"}}\\\">\\n        <Start::FormFieldComponent @label={{this.addressConfiguration.postCodeLabel}} @error={{billingAddressErrors.postcode}} @for=\\\"postcode\\\">\\n          <Input\\n            @value={{billingAddress.postcode}}\\n            placeholder=\\\"00000\\\"\\n            @focus-out={{action \\\"onAddressEntered\\\" \\\"postcode\\\"}}\\n            class=\\\"flex w-full signup__teams__form__input {{if billingAddressErrors.postcode \\\"o__error\\\"}}\\\"\\n            data-test-input=\\\"postcode\\\"\\n            data-ghost-inspector=\\\"signup-address-zip-code\\\"\\n            name=\\\"postcode\\\"\\n            maxlength={{this.addressConfiguration.maxLengths.postcode}}\\n          />\\n        </Start::FormFieldComponent>\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"h-5\\\"></div>\\n  <div class=\\\"signup__teams__confirm__form-button\\\">\\n    <IcButton\\n      @type=\\\"primary-live\\\"\\n      @disabled={{sendNewSubscriptionTask.isRunning}}\\n      class=\\\"signup__teams__button signup__teams__confirm__checkout-button\\\"\\n      @onClick={{action \\\"submitStripeElement\\\" stripeElement}}\\n      data-test-confirm=\\\"confirm\\\"\\n      data-ghost-inspector=\\\"signup__teams__confirm__checkout-button\\\"\\n    >\\n      {{#if sendNewSubscriptionTask.isRunning}}\\n        Processing...\\n      {{else}}\\n        <span class=\\\"align-middle\\\">\\n          Start using Intercom\\n        </span>\\n        {{inline-svg \\\"arrow-rebrand\\\" class=\\\"signup__teams__button__arrow\\\"}}\\n      {{/if}}\\n    </IcButton>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/signup/teams/checkout-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/teams/checkout-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable promise/prefer-await-to-then */\nimport FormComponent from 'embercom/components/signup/new/form-component';\nimport { computed } from '@ember/object';\nimport { alias, notEmpty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\nimport { run } from '@ember/runloop';\nimport { ARTICLES_PRO_ID, ARTICLES_ESSENTIAL_ID } from 'embercom/lib/billing';\nimport { plansFromSolution } from 'embercom/lib/billing';\nimport ENV from 'embercom/config/environment';\nimport { MARKETO_FORM_IDS } from 'embercom/lib/gtm';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\nimport { captureException } from 'embercom/lib/sentry';\n\nexport default FormComponent.extend({\n  store: service(),\n  purchaseAnalyticsService: service(),\n  notificationsService: service(),\n  customerService: service(),\n  gtmService: service(),\n  router: service(),\n  teamsExperience: true,\n  premium: false,\n  stripeElement: alias('elements.firstObject'),\n  planIds: null,\n  hasActivePlans: notEmpty('solutionId'),\n  stripeInputStyle: computed('mobileDevice', function() {\n    return {\n      base: {\n        border: '1px solid grey',\n        fontSize: this.mobileDevice ? '16px' : '14px',\n        fontSmoothing: 'antialiased',\n        color: '#32325d',\n        '::placeholder': {\n          color: PALETTE.gray,\n        },\n      },\n    };\n  }),\n\n  newSubscriptionFormData() {\n    let appId = this.get('app.id');\n    let planIdsToUse = [];\n\n    if (!this.planIds) {\n      this.set(\n        'planIds',\n        plansFromSolution(this.isPro, this.solutionId).map(x => parseInt(x, 10)),\n      );\n    }\n\n    planIdsToUse = planIdsToUse.concat(this.planIds.toArray());\n\n    if (this.addOnPlanIds && this.addOnPlanIds.length > 0) {\n      planIdsToUse = planIdsToUse.concat(this.addOnPlanIds.map(id => parseInt(id, 10)));\n    }\n\n    if (\n      planIdsToUse.includes(parseInt(ARTICLES_PRO_ID, 10)) &&\n      planIdsToUse.includes(parseInt(ARTICLES_ESSENTIAL_ID, 10))\n    ) {\n      planIdsToUse.removeObject(parseInt(ARTICLES_ESSENTIAL_ID, 10));\n    }\n\n    let stateCode = this.addressConfiguration.showState ? this.billingAddress.stateCode : undefined;\n    let formData = {\n      plan_ids: planIdsToUse,\n      credit_card_token: this.get('token.id'),\n      app_id: appId,\n      country_code: this.billingAddress.countryCode,\n      coupon_code: this.couponCode,\n      premium: this.premium,\n      state_code: stateCode,\n      street_address: this.billingAddress.streetAddress,\n      city: this.billingAddress.city,\n      postcode: this.billingAddress.postcode,\n      new_trial: true,\n    };\n\n    return formData;\n  },\n\n  reportProductChangesForAnalytics(plan_ids) {\n    plan_ids.forEach(plan_id => {\n      let plan = this.store.peekRecord('plan', plan_id);\n      if (plan && plan.product) {\n        let product = plan.product;\n        this.purchaseAnalyticsService.trackEvent({\n          action: 'product added',\n          product_name: product.name,\n          tier: plan.name,\n          is_trial: true,\n          object: `${product.name}`,\n          context: 'usecase_signup_flow',\n          place: 'start_trial',\n          section: 'signup',\n        });\n      } else {\n        let e = `[Analytics] ${\n          plan ? 'Plan' : 'Product for plan'\n        } ${plan_id} not found in local store.`;\n        console.error(e);\n        captureException(e);\n      }\n    });\n  },\n\n  sendNewSubscriptionTask: task(function*(formData) {\n    let appId = this.get('app.id');\n    formData.purchase_experience = this.purchaseExperience;\n    formData.solution_id = this.solutionId;\n    formData.analytics = {\n      addOn: this.addOn,\n    };\n    let params = {\n      url: `/ember/customers/${appId}/update_subscription`,\n      type: 'post',\n      contentType: 'application/json',\n      data: JSON.stringify(formData),\n    };\n\n    yield ajax(params)\n      .then(() => {\n        this.reportProductChangesForAnalytics(formData['plan_ids']);\n\n        this.purchaseAnalyticsService.trackEvent({\n          action: 'completed',\n          object: 'start_trial',\n          context: 'usecase_signup_flow',\n          place: 'confirm_page',\n          solutionId: this.solutionId,\n          app_id_code: this.app.id,\n          addOn: this.addOn,\n          planIds: this.addOnPlanIds,\n          pro: this.isPro,\n          cartAmount: this.totalAmount,\n          emailSubmissionId: this.emailSubmissionId,\n          mobile: this.mobileDevice,\n        });\n\n        this.app.reload().then(() => {\n          this.customerService.resetAll();\n          this.onCheckout();\n        });\n        this.gtmService.fireMarketoEvent(MARKETO_FORM_IDS.trialSignupEnd, {\n          App_ID__c: this.get('app.id'),\n          Email: this.get('app.admins.firstObject.email'),\n          name: this.get('app.name'),\n          Company: this.get('app.name'),\n          selectedSolutionIntercom: this.solutionId,\n        });\n        window.sessionStorage && window.sessionStorage.removeItem('intercom-coupon-code');\n      })\n      .catch(err => {\n        console.log(err);\n        let errorMessage =\n          (err && err.jqXHR && err.jqXHR.responseJSON && err.jqXHR.responseJSON[0]) ||\n          'An unknown error occured! Please contact us for help';\n        this.set('cardError', errorMessage);\n      });\n  }),\n\n  actions: {\n    createSubscription() {\n      let data = this.newSubscriptionFormData();\n      this.sendNewSubscriptionTask.perform(data);\n    },\n    submitStripeElement(stripeElement) {\n      this._resetInvalidLocationDataErrors();\n      if (this.hasInvalidLocationData) {\n        this._showInvalidLocationDataErrors();\n        return;\n      }\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'clicked',\n        object: 'start_trial',\n        context: 'signup',\n        place: 'start_trial',\n        cartAmount: this.totalAmount,\n        planIds: this.addOnPlanIds,\n        solutionId: this.solutionId,\n        pro: this.isPro,\n        mobile: this.mobileDevice,\n        gclid: this.gclid,\n        emailSubmissionId: this.emailSubmissionId,\n      });\n\n      let stripe = this.stripe;\n      if (ENV.environment === 'test') {\n        this.send('createSubscription');\n        return;\n      }\n      stripe.createToken(stripeElement).then(({ error, token }) => {\n        run(() => {\n          this.intercomEventService.trackAnalyticsEvent({\n            action: 'create',\n            object: 'payment_method',\n            context: 'signup',\n            place: 'start_trial',\n            success: !error,\n          });\n          if (error) {\n            return this.set('cardError', error.message);\n          }\n          this.set('token', token);\n          this.send('createSubscription');\n        });\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex flex-1 flex-col signup__teams__sidebar h-full\\\">\\n  {{#if mobileCart}}\\n    <div class=\\\"flex flex-row signup__teams__mobile-cart__icon\\\" onclick={{action \\\"toggleCart\\\"}}>\\n      {{inline-svg \\\"signup-teams/cart\\\"}} <div class=\\\"signup__teams__cart-badge\\\">\\n        {{numberOfItems}}\\n      </div>\\n    </div>\\n  {{/if}}\\n\\n  <div class=\\\"flex flex-col sidebar__content {{if mobileCart \\\"p-4\\\"}} {{if this.showCart \\\"sidebar__content--show-on-mobile\\\"}}\\\">\\n    <div class=\\\"sidebar__heading m-3\\\">Your free 14 day trial</div>\\n    <Signup::Teams::CartSummaryComponent\\n      @productName={{this.productName}}\\n      @formattedTotalAmount={{formattedTotalAmount}}\\n      @isEarlyStage={{isEarlyStage}}\\n      @earlyStagePartnerWithoutMessenger={{@earlyStagePartnerWithoutMessenger}}\\n      @productsAndAddOnsWithPrices={{this.productsAndAddOnsWithPrices}}\\n      @productsWithPrices={{this.productsWithPrices}}\\n    />\\n\\n    <p class=\\\"pt-5 text-sm\\\">\\n      Your total may also include usage charges and taxes, if applicable.\\n    </p>\\n\\n    {{#if canAddCoupon}}\\n      <div class=\\\"h-5\\\"></div>\\n      <Billing::CouponComponent\\n        @context=\\\"signup\\\"\\n        @place=\\\"start_trial\\\"\\n        @totalAmount={{totalAmount}}\\n        @inputClasses=\\\"f__text u__mb__10 signup__teams__sidebar__coupon-input u__left\\\"\\n        @teamsCoupon={{true}}\\n        @onUpdateTotal={{action \\\"updateTotalAmount\\\"}}\\n        @proChanges={{true}}\\n        @couponCode={{couponCode}}\\n      />\\n    {{/if}}\\n  </div>\\n\\n  <div class=\\\"sidebar__mobile-overlay {{if showCart \\\"sidebar__mobile-overlay--active\\\"}}\\\" onclick={{action \\\"toggleCart\\\"}}></div>\\n  {{#unless mobileCart}}\\n    <div class=\\\"flex flex-row signup__teams__sidebar__formatted-testimonial\\\">\\n      <div class=\\\"signup__teams__sidebar__formatted-testimonial-person pb-4\\\">\\n        <img src={{testimonial.image}} width=\\\"60\\\" alt=\\\"\\\"/>\\n      </div>\\n      <p class=\\\"pt-16 pl-4 pr-8\\\">\\n        {{testimonial.text}}\\n        <div>\\n          <div class=\\\"u__display-inline-block signup__teams__sidebar__testimonial-person-name-text\\\">\\n            <div class=\\\"mt-2\\\"></div>\\n            {{testimonial.author}}\\n          </div>\\n          <br />\\n          {{testimonial.company}}\\n        </div>\\n      </p>\\n    </div>\\n  {{/unless}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex flex-1 flex-col signup__teams__sidebar h-full\\\">\\n  {{#if mobileCart}}\\n    <div class=\\\"flex flex-row signup__teams__mobile-cart__icon\\\" onclick={{action \\\"toggleCart\\\"}}>\\n      {{inline-svg \\\"signup-teams/cart\\\"}} <div class=\\\"signup__teams__cart-badge\\\">\\n        {{numberOfItems}}\\n      </div>\\n    </div>\\n  {{/if}}\\n\\n  <div class=\\\"flex flex-col sidebar__content {{if mobileCart \\\"p-4\\\"}} {{if this.showCart \\\"sidebar__content--show-on-mobile\\\"}}\\\">\\n    <div class=\\\"sidebar__heading m-3\\\">Your free 14 day trial</div>\\n    <Signup::Teams::CartSummaryComponent\\n      @productName={{this.productName}}\\n      @formattedTotalAmount={{formattedTotalAmount}}\\n      @isEarlyStage={{isEarlyStage}}\\n      @earlyStagePartnerWithoutMessenger={{@earlyStagePartnerWithoutMessenger}}\\n      @productsAndAddOnsWithPrices={{this.productsAndAddOnsWithPrices}}\\n      @productsWithPrices={{this.productsWithPrices}}\\n    />\\n\\n    <p class=\\\"pt-5 text-sm\\\">\\n      Your total may also include usage charges and taxes, if applicable.\\n    </p>\\n\\n    {{#if canAddCoupon}}\\n      <div class=\\\"h-5\\\"></div>\\n      <Billing::CouponComponent\\n        @context=\\\"signup\\\"\\n        @place=\\\"start_trial\\\"\\n        @totalAmount={{totalAmount}}\\n        @inputClasses=\\\"f__text u__mb__10 signup__teams__sidebar__coupon-input u__left\\\"\\n        @teamsCoupon={{true}}\\n        @onUpdateTotal={{action \\\"updateTotalAmount\\\"}}\\n        @proChanges={{true}}\\n        @couponCode={{couponCode}}\\n      />\\n    {{/if}}\\n  </div>\\n\\n  <div class=\\\"sidebar__mobile-overlay {{if showCart \\\"sidebar__mobile-overlay--active\\\"}}\\\" onclick={{action \\\"toggleCart\\\"}}></div>\\n  {{#unless mobileCart}}\\n    <div class=\\\"flex flex-row signup__teams__sidebar__formatted-testimonial\\\">\\n      <div class=\\\"signup__teams__sidebar__formatted-testimonial-person pb-4\\\">\\n        <img src={{testimonial.image}} width=\\\"60\\\" alt=\\\"\\\"/>\\n      </div>\\n      <p class=\\\"pt-16 pl-4 pr-8\\\">\\n        {{testimonial.text}}\\n        <div>\\n          <div class=\\\"u__display-inline-block signup__teams__sidebar__testimonial-person-name-text\\\">\\n            <div class=\\\"mt-2\\\"></div>\\n            {{testimonial.author}}\\n          </div>\\n          <br />\\n          {{testimonial.company}}\\n        </div>\\n      </p>\\n    </div>\\n  {{/unless}}\\n</div>\\n\",\"moduleName\":\"embercom/components/signup/teams/checkout-sidebar-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/teams/checkout-sidebar-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { productNameFromSolutionId, CORE_SOLUTION_ID, PLAN_DATA } from 'embercom/lib/billing';\nimport { computed } from '@ember/object';\nimport numberFormatter from 'embercom/lib/number-formatter';\nimport numericFormatter from 'embercom/lib/numeric-formatter';\nimport { inject as service } from '@ember/service';\nimport { not, readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  purchaseAnalyticsService: service(),\n  media: service(),\n  gtmService: service(),\n  appService: service(),\n\n  classNames: 'signup__teams__sidebar--ember-view box',\n  solutionId: null,\n  isPro: false,\n  showCart: false,\n\n  appId: readOnly('appService.app.id'),\n  price: null,\n  isEarlyStage: false,\n  creditCardStep: false,\n  mobileCart: not('media.isDesktop'),\n  numberOfItems: computed('addOnPlanIds', function() {\n    return 1 + (this.get('addOnPlanIds.length') || 0);\n  }),\n  canAddCoupon: computed('appId', 'isEarlyStage', 'creditCardStep', function() {\n    return !this.isEarlyStage && this.appId && this.creditCardStep;\n  }),\n  productName: computed('solutionId', 'isPro', function() {\n    if (this.solutionId === CORE_SOLUTION_ID) {\n      return '';\n    }\n\n    return productNameFromSolutionId(this.solutionId, this.isPro);\n  }),\n  showCost: false,\n  testimonial: computed('showPrices', function() {\n    let testimonials = [\n      {\n        author: 'Jason Mills',\n        company: 'Expensify',\n        text:\n          '“It’s costly to acquire a single customer, so having a single tool that lets us track, coach and support users through every step of the funnel is priceless.”',\n        image: 'assets/images/signup-teams/expensify.png',\n      },\n      {\n        author: 'Chanie Hyde',\n        company: 'BugHerd',\n        text:\n          '“I think what’s great about Intercom is that every message feels immediate and personal, allowing us to scale while staying authentic.”',\n        image: 'assets/images/signup-teams/bugherd.png',\n      },\n    ];\n    return testimonials[this.showPrices ? 0 : 1];\n  }),\n\n  addOnPlanIds: [],\n\n  add_ons: computed('addOnPlanIds', function() {\n    if (!this.get('addOnPlanIds.length')) {\n      return [];\n    }\n    return this.addOnPlanIds.map(id => PLAN_DATA[id]);\n  }),\n\n  productsAndAddOnsWithPrices: computed('price', function() {\n    return this.price.getBreakdownInfo().filter(breakdown => breakdown.name);\n  }),\n\n  formattedSolutionAmount: computed('solutionPrice', function() {\n    return `$${numberFormatter(this.get('solutionPrice.preDiscountAmount') / 100)}`;\n  }),\n\n  formattedTotalAmount: computed('totalAmount', function() {\n    return `$${numericFormatter(this.totalAmount / 100, 0, true)}`;\n  }),\n\n  actions: {\n    updateTotalAmount(couponCode, totalAmountPostCoupon) {\n      this.set('couponCode', couponCode);\n      this.set('totalAmount', totalAmountPostCoupon);\n    },\n\n    toggleCart() {\n      let showCart = this.showCart;\n      let action = showCart ? 'collapsed' : 'expanded';\n      this.purchaseAnalyticsService.trackEvent({\n        action,\n        object: 'cart',\n        context: 'checkout_page',\n        place: 'checkout_page',\n        mobile: true,\n      });\n      this.toggleProperty('showCart');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span\\n  data-test-country-code={{@item.code}}\\n  class=\\\"layout__box o__has-columns o__centers\\\"\\n>\\n  {{#if @item.value}}\\n    <img src={{@item.asset_url}} class=\\\"signup__teams__country-codes__flag\\\" />\\n  {{/if}}\\n  <span\\n    class=\\\"layout__box o__centers o__has-columns u__ml__10 u__mt__5 u__mb__5\\\"\\n  >\\n    <span\\n      class=\\\"layout__box u__one-truncated-line signup__teams__country-codes__country\\\"\\n    >\\n      {{@item.text}}\\n    </span>\\n    <span class=\\\"u__ml__5 layout__box\\\">\\n      {{@item.code}}\\n    </span>\\n  </span>\\n</span>\\n\", {\"contents\":\"<span\\n  data-test-country-code={{@item.code}}\\n  class=\\\"layout__box o__has-columns o__centers\\\"\\n>\\n  {{#if @item.value}}\\n    <img src={{@item.asset_url}} class=\\\"signup__teams__country-codes__flag\\\" />\\n  {{/if}}\\n  <span\\n    class=\\\"layout__box o__centers o__has-columns u__ml__10 u__mt__5 u__mb__5\\\"\\n  >\\n    <span\\n      class=\\\"layout__box u__one-truncated-line signup__teams__country-codes__country\\\"\\n    >\\n      {{@item.text}}\\n    </span>\\n    <span class=\\\"u__ml__5 layout__box\\\">\\n      {{@item.code}}\\n    </span>\\n  </span>\\n</span>\\n\",\"moduleName\":\"embercom/components/signup/teams/country-code-item.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/teams/country-code-item.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"signup__teams__trials-text\\\">\\n  What you get\\n</div>\\n<div class=\\\"signup__teams__trial\\\">\\n  <div class=\\\"signup__teams__sidebar__line o__solid\\\"></div>\\n  <div class=\\\"signup__teams__developer layout__box o__has-columns\\\">\\n    <span>\\n      {{ic-interface-icon \\\"small-check\\\"}}\\n    </span>\\n    <div>\\n      Full access to the Intercom API\\n    </div>\\n  </div>\\n  <div class=\\\"signup__teams__developer layout__box o__has-columns\\\">\\n    <span>\\n      {{ic-interface-icon \\\"small-check\\\"}}\\n    </span>\\n    <div>\\n      A free development workspace to test your app in a safe environment\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"signup__teams__trials-text\\\">\\n  What you get\\n</div>\\n<div class=\\\"signup__teams__trial\\\">\\n  <div class=\\\"signup__teams__sidebar__line o__solid\\\"></div>\\n  <div class=\\\"signup__teams__developer layout__box o__has-columns\\\">\\n    <span>\\n      {{ic-interface-icon \\\"small-check\\\"}}\\n    </span>\\n    <div>\\n      Full access to the Intercom API\\n    </div>\\n  </div>\\n  <div class=\\\"signup__teams__developer layout__box o__has-columns\\\">\\n    <span>\\n      {{ic-interface-icon \\\"small-check\\\"}}\\n    </span>\\n    <div>\\n      A free development workspace to test your app in a safe environment\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/signup/teams/developer-sidebar-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/teams/developer-sidebar-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  classNames: 'signup__teams__sidebar layout__box',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div>\\n  <Start::FormFieldComponent\\n    @label={{tt \\\"early_stage.labels.company_website\\\"}}\\n    @error={{and\\n      showCompanyWebsiteError\\n      (tt \\\"early_stage.validations.company_website\\\")\\n    }}\\n  >\\n    <Input\\n      @value={{companyWebsite}}\\n      @focus-out={{action \\\"setVisited\\\" \\\"companyWebsite\\\"}}\\n      placeholder={{tt \\\"early_stage.placeholder.company_website\\\"}}\\n      class=\\\"signup__teams__form__input {{if showCompanyWebsiteError \\\"o__error\\\"}}\\\"\\n      data-test-input=\\\"companyWebsite\\\"\\n    />\\n  </Start::FormFieldComponent>\\n  <label class=\\\"signup__teams__form__label\\\">\\n    {{tt \\\"early_stage.labels.company_linkedin\\\"}}\\n  </label>\\n  <div class=\\\"h-1\\\"></div>\\n  <Input\\n    @value={{companyLinkedIn}}\\n    @focus-out={{action \\\"setVisited\\\" \\\"companyLinkedIn\\\"}}\\n    placeholder={{tt \\\"early_stage.placeholder.company_linkedin\\\"}}\\n    data-test-input=\\\"companyLinkedIn\\\"\\n    @classNames=\\\"signup__teams__form__input\\\"\\n  />\\n  <div class=\\\"h-2\\\"></div>\\n  <div class=\\\"h-1\\\"></div>\\n  <label class=\\\"signup__teams__form__label\\\">\\n    {{tt \\\"early_stage.labels.company_crunchbase\\\"}}\\n  </label>\\n  <div class=\\\"h-1\\\"></div>\\n  <Input\\n    @value={{companyCrunchbase}}\\n    @focus-out={{action \\\"setVisited\\\" \\\"companyCrunchbase\\\"}}\\n    placeholder={{tt \\\"early_stage.placeholder.company_crunchbase\\\"}}\\n    data-test-input=\\\"companyCrunchbase\\\"\\n    @classNames=\\\"signup__teams__form__input\\\"\\n  />\\n  <div class=\\\"h-2\\\"></div>\\n  <div class=\\\"h-1\\\"></div>\\n  <Start::FormFieldComponent\\n    @label={{tt \\\"early_stage.labels.funding_received\\\"}}\\n    @error={{and\\n      showFundingLevelError\\n      (tt \\\"early_stage.validations.funding_received\\\")\\n    }}\\n  >\\n    <OneWaySelect\\n      @value={{fundingLevel}}\\n      @options={{fundingLevelOptions }}\\n      @optionLabelPath=\\\"label\\\"\\n      @optionTargetPath=\\\"value\\\"\\n      @prompt={{tt \\\"early_stage.placeholder.funding_received\\\"}}\\n      class=\\\"signup__teams__form__input signup__teams__form__input-select {{if showFundingLevelError \\\"o__error\\\"}}\\\"\\n      @update={{action \\\"dropDownSelected\\\" \\\"fundingLevel\\\"}}\\n      data-test-input=\\\"fundingLevel\\\"\\n    />\\n  </Start::FormFieldComponent>\\n  <Start::FormFieldComponent\\n    @label={{tt \\\"early_stage.labels.employees\\\"}}\\n    @error={{and showCompanySizeError (tt \\\"early_stage.validations.employees\\\")}}\\n  >\\n    <OneWaySelect\\n      @value={{companySize}}\\n      @options={{companySizeOptions}}\\n      @optionLabelPath=\\\"label\\\"\\n      @optionTargetPath=\\\"value\\\"\\n      @prompt={{tt \\\"early_stage.placeholder.employees\\\"}}\\n      class=\\\"signup__teams__form__input signup__teams__form__input-select {{if showCompanySizeError \\\"o__error\\\"}}\\\"\\n      @update={{action \\\"setCompanySize\\\"}}\\n      data-test-input=\\\"companySize\\\"\\n    />\\n  </Start::FormFieldComponent>\\n  {{#if shouldShowYearFounded}}\\n    <Start::FormFieldComponent\\n      @label={{tt \\\"early_stage.labels.year_funded\\\"}}\\n      @error={{and\\n        showYearFoundedError\\n        (tt \\\"early_stage.validations.year_funded\\\")\\n      }}\\n    >\\n      <OneWaySelect\\n        @value={{yearFoundedInput}}\\n        @options={{yearOptions}}\\n        @prompt={{tt \\\"early_stage.placeholder.year_funded\\\"}}\\n        class=\\\"signup__teams__form__input signup__teams__form__input-select {{if showYearFoundedError \\\"o__error\\\"}}\\\"\\n        @update={{action \\\"dropDownSelected\\\" \\\"yearFounded\\\"}}\\n        data-test-input=\\\"yearFoundedInput\\\"\\n      />\\n    </Start::FormFieldComponent>\\n  {{/if}}\\n  {{#if shouldShowPartnerJoinDate}}\\n    <Start::FormFieldComponent\\n      @label={{tt \\\"early_stage.labels.when_aprooved\\\"}}\\n      @error={{and showPartnerJoinDateError (tt \\\"early_stage.validations.date\\\")\\n      }}\\n    >\\n      <div class=\\\"flex flex-row\\\">\\n        <OneWaySelect\\n          @value={{joinMonth}}\\n          @options={{monthOptions}}\\n          @optionLabelPath=\\\"label\\\"\\n          @optionTargetPath=\\\"value\\\"\\n          @prompt={{tt \\\"generic.month\\\"}}\\n          class=\\\"signup__teams__form__input signup__teams__form__input-select w-1/2 {{if showJoinMonthError \\\"o__error\\\"}}\\\"\\n          @update={{action \\\"dropDownSelected\\\" \\\"joinMonth\\\"}}\\n          data-test-input=\\\"joinMonth\\\"\\n        />\\n        <div class=\\\"u__padl__20\\\"></div>\\n        <OneWaySelect\\n          @value={{joinYear}}\\n          @options={{yearOptions}}\\n          @prompt={{tt \\\"generic.year\\\"}}\\n          class=\\\"signup__teams__form__input signup__teams__form__input-select w-1/2 {{if showJoinYearError \\\"o__error\\\"}}\\\"\\n          @update={{action \\\"dropDownSelected\\\" \\\"joinYear\\\"}}\\n          data-test-input=\\\"joinYear\\\"\\n        />\\n      </div>\\n    </Start::FormFieldComponent>\\n  {{/if}}\\n  <Start::FormFieldComponent\\n    @label={{tt \\\"early_stage.labels.what_company_do\\\"}}\\n    @error={{and\\n      showCompanyDescriptionError\\n      (tt \\\"early_stage.validations.company_description\\\")\\n    }}\\n  >\\n    <Textarea\\n      @value={{companyDescription}}\\n      @focus-out={{action \\\"setVisited\\\" \\\"companyDescription\\\"}}\\n      placeholder={{tt \\\"early_stage.placeholder.what_company_do\\\"}}\\n      class=\\\"signup__teams__form__input signup__teams__form__input-textarea {{if showCompanyDescriptionError \\\"o__error\\\"}}\\\"\\n      required={{true}}\\n      @maxlength={{500}}\\n      data-test-input=\\\"companyDescription\\\"\\n      @rows={{4}}\\n    />\\n  </Start::FormFieldComponent>\\n  <Start::FormFieldComponent\\n    @label={{tt \\\"early_stage.labels.intent\\\"}}\\n    @error={{and showIntentError (tt \\\"early_stage.validations.intent\\\")}}\\n  >\\n    <OneWaySelect\\n      @value={{intent}}\\n      @options={{intentOptions}}\\n      @optionLabelPath=\\\"label\\\"\\n      @optionTargetPath=\\\"value\\\"\\n      @prompt={{tt \\\"early_stage.placeholder.intent\\\"}}\\n      class=\\\"signup__teams__form__input signup__teams__form__input-select {{if showIntentError \\\"o__error\\\"}}\\\"\\n      required={{true}}\\n      @update={{action \\\"dropDownSelected\\\" \\\"intent\\\"}}\\n      data-test-input=\\\"intent\\\"\\n    />\\n  </Start::FormFieldComponent>\\n  {{#if shouldShowIntentOther}}\\n    <Start::FormFieldComponent\\n      @label={{tt \\\"early_stage.labels.intent_other\\\"}}\\n      @error={{and\\n        showIntentOtherError\\n        (tt \\\"early_stage.validations.intent_other\\\")\\n      }}\\n    >\\n      <Textarea\\n        @value={{intentOther}}\\n        @focus-out={{action \\\"setVisited\\\" \\\"intentOther\\\"}}\\n        placeholder={{tt \\\"early_stage.placeholder.intent_other\\\"}}\\n        class=\\\"signup__teams__form__input signup__teams__form__input-textarea {{if showIntentOtherError \\\"o__error\\\"}}\\\"\\n        required={{true}}\\n        @maxlength={{250}}\\n        data-test-input=\\\"intentOther\\\"\\n        @rows={{4}}\\n      />\\n    </Start::FormFieldComponent>\\n  {{/if}}\\n  {{#if showIncubatorField}}\\n    <Start::FormFieldComponent\\n      @label={{tt \\\"early_stage.labels.incubator_affiliation\\\"}}\\n    >\\n      <IcSelect\\n        @items={{incubators}}\\n        @onSelectItem={{action (mut selectedIncubator)}}\\n        @hasFilter={{true}}\\n        @filterPlaceholder=\\\"Select an incubator\\\"\\n        @defaultLabel=\\\"Select an incubator\\\" as |select|\\n      >\\n        <select.opener\\n          class=\\\"signup__teams__form__input signup__teams__form__input-select u__padt__15\\\"\\n        >\\n          {{select.selectedItemTextOrDefaultLabel}}\\n        </select.opener>\\n      </IcSelect>\\n    </Start::FormFieldComponent>\\n  {{/if}}\\n  <div class=\\\"layout__box o__has-rows\\\">\\n    <button\\n      class=\\\"signup__teams__button o__primary o__big\\\"\\n      data-test-input=\\\"submit\\\"\\n      {{action \\\"submitApplicationInformation\\\"}}\\n    >\\n      {{tt \\\"early_stage.submit\\\"}}\\n    </button>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div>\\n  <Start::FormFieldComponent\\n    @label={{tt \\\"early_stage.labels.company_website\\\"}}\\n    @error={{and\\n      showCompanyWebsiteError\\n      (tt \\\"early_stage.validations.company_website\\\")\\n    }}\\n  >\\n    <Input\\n      @value={{companyWebsite}}\\n      @focus-out={{action \\\"setVisited\\\" \\\"companyWebsite\\\"}}\\n      placeholder={{tt \\\"early_stage.placeholder.company_website\\\"}}\\n      class=\\\"signup__teams__form__input {{if showCompanyWebsiteError \\\"o__error\\\"}}\\\"\\n      data-test-input=\\\"companyWebsite\\\"\\n    />\\n  </Start::FormFieldComponent>\\n  <label class=\\\"signup__teams__form__label\\\">\\n    {{tt \\\"early_stage.labels.company_linkedin\\\"}}\\n  </label>\\n  <div class=\\\"h-1\\\"></div>\\n  <Input\\n    @value={{companyLinkedIn}}\\n    @focus-out={{action \\\"setVisited\\\" \\\"companyLinkedIn\\\"}}\\n    placeholder={{tt \\\"early_stage.placeholder.company_linkedin\\\"}}\\n    data-test-input=\\\"companyLinkedIn\\\"\\n    @classNames=\\\"signup__teams__form__input\\\"\\n  />\\n  <div class=\\\"h-2\\\"></div>\\n  <div class=\\\"h-1\\\"></div>\\n  <label class=\\\"signup__teams__form__label\\\">\\n    {{tt \\\"early_stage.labels.company_crunchbase\\\"}}\\n  </label>\\n  <div class=\\\"h-1\\\"></div>\\n  <Input\\n    @value={{companyCrunchbase}}\\n    @focus-out={{action \\\"setVisited\\\" \\\"companyCrunchbase\\\"}}\\n    placeholder={{tt \\\"early_stage.placeholder.company_crunchbase\\\"}}\\n    data-test-input=\\\"companyCrunchbase\\\"\\n    @classNames=\\\"signup__teams__form__input\\\"\\n  />\\n  <div class=\\\"h-2\\\"></div>\\n  <div class=\\\"h-1\\\"></div>\\n  <Start::FormFieldComponent\\n    @label={{tt \\\"early_stage.labels.funding_received\\\"}}\\n    @error={{and\\n      showFundingLevelError\\n      (tt \\\"early_stage.validations.funding_received\\\")\\n    }}\\n  >\\n    <OneWaySelect\\n      @value={{fundingLevel}}\\n      @options={{fundingLevelOptions }}\\n      @optionLabelPath=\\\"label\\\"\\n      @optionTargetPath=\\\"value\\\"\\n      @prompt={{tt \\\"early_stage.placeholder.funding_received\\\"}}\\n      class=\\\"signup__teams__form__input signup__teams__form__input-select {{if showFundingLevelError \\\"o__error\\\"}}\\\"\\n      @update={{action \\\"dropDownSelected\\\" \\\"fundingLevel\\\"}}\\n      data-test-input=\\\"fundingLevel\\\"\\n    />\\n  </Start::FormFieldComponent>\\n  <Start::FormFieldComponent\\n    @label={{tt \\\"early_stage.labels.employees\\\"}}\\n    @error={{and showCompanySizeError (tt \\\"early_stage.validations.employees\\\")}}\\n  >\\n    <OneWaySelect\\n      @value={{companySize}}\\n      @options={{companySizeOptions}}\\n      @optionLabelPath=\\\"label\\\"\\n      @optionTargetPath=\\\"value\\\"\\n      @prompt={{tt \\\"early_stage.placeholder.employees\\\"}}\\n      class=\\\"signup__teams__form__input signup__teams__form__input-select {{if showCompanySizeError \\\"o__error\\\"}}\\\"\\n      @update={{action \\\"setCompanySize\\\"}}\\n      data-test-input=\\\"companySize\\\"\\n    />\\n  </Start::FormFieldComponent>\\n  {{#if shouldShowYearFounded}}\\n    <Start::FormFieldComponent\\n      @label={{tt \\\"early_stage.labels.year_funded\\\"}}\\n      @error={{and\\n        showYearFoundedError\\n        (tt \\\"early_stage.validations.year_funded\\\")\\n      }}\\n    >\\n      <OneWaySelect\\n        @value={{yearFoundedInput}}\\n        @options={{yearOptions}}\\n        @prompt={{tt \\\"early_stage.placeholder.year_funded\\\"}}\\n        class=\\\"signup__teams__form__input signup__teams__form__input-select {{if showYearFoundedError \\\"o__error\\\"}}\\\"\\n        @update={{action \\\"dropDownSelected\\\" \\\"yearFounded\\\"}}\\n        data-test-input=\\\"yearFoundedInput\\\"\\n      />\\n    </Start::FormFieldComponent>\\n  {{/if}}\\n  {{#if shouldShowPartnerJoinDate}}\\n    <Start::FormFieldComponent\\n      @label={{tt \\\"early_stage.labels.when_aprooved\\\"}}\\n      @error={{and showPartnerJoinDateError (tt \\\"early_stage.validations.date\\\")\\n      }}\\n    >\\n      <div class=\\\"flex flex-row\\\">\\n        <OneWaySelect\\n          @value={{joinMonth}}\\n          @options={{monthOptions}}\\n          @optionLabelPath=\\\"label\\\"\\n          @optionTargetPath=\\\"value\\\"\\n          @prompt={{tt \\\"generic.month\\\"}}\\n          class=\\\"signup__teams__form__input signup__teams__form__input-select w-1/2 {{if showJoinMonthError \\\"o__error\\\"}}\\\"\\n          @update={{action \\\"dropDownSelected\\\" \\\"joinMonth\\\"}}\\n          data-test-input=\\\"joinMonth\\\"\\n        />\\n        <div class=\\\"u__padl__20\\\"></div>\\n        <OneWaySelect\\n          @value={{joinYear}}\\n          @options={{yearOptions}}\\n          @prompt={{tt \\\"generic.year\\\"}}\\n          class=\\\"signup__teams__form__input signup__teams__form__input-select w-1/2 {{if showJoinYearError \\\"o__error\\\"}}\\\"\\n          @update={{action \\\"dropDownSelected\\\" \\\"joinYear\\\"}}\\n          data-test-input=\\\"joinYear\\\"\\n        />\\n      </div>\\n    </Start::FormFieldComponent>\\n  {{/if}}\\n  <Start::FormFieldComponent\\n    @label={{tt \\\"early_stage.labels.what_company_do\\\"}}\\n    @error={{and\\n      showCompanyDescriptionError\\n      (tt \\\"early_stage.validations.company_description\\\")\\n    }}\\n  >\\n    <Textarea\\n      @value={{companyDescription}}\\n      @focus-out={{action \\\"setVisited\\\" \\\"companyDescription\\\"}}\\n      placeholder={{tt \\\"early_stage.placeholder.what_company_do\\\"}}\\n      class=\\\"signup__teams__form__input signup__teams__form__input-textarea {{if showCompanyDescriptionError \\\"o__error\\\"}}\\\"\\n      required={{true}}\\n      @maxlength={{500}}\\n      data-test-input=\\\"companyDescription\\\"\\n      @rows={{4}}\\n    />\\n  </Start::FormFieldComponent>\\n  <Start::FormFieldComponent\\n    @label={{tt \\\"early_stage.labels.intent\\\"}}\\n    @error={{and showIntentError (tt \\\"early_stage.validations.intent\\\")}}\\n  >\\n    <OneWaySelect\\n      @value={{intent}}\\n      @options={{intentOptions}}\\n      @optionLabelPath=\\\"label\\\"\\n      @optionTargetPath=\\\"value\\\"\\n      @prompt={{tt \\\"early_stage.placeholder.intent\\\"}}\\n      class=\\\"signup__teams__form__input signup__teams__form__input-select {{if showIntentError \\\"o__error\\\"}}\\\"\\n      required={{true}}\\n      @update={{action \\\"dropDownSelected\\\" \\\"intent\\\"}}\\n      data-test-input=\\\"intent\\\"\\n    />\\n  </Start::FormFieldComponent>\\n  {{#if shouldShowIntentOther}}\\n    <Start::FormFieldComponent\\n      @label={{tt \\\"early_stage.labels.intent_other\\\"}}\\n      @error={{and\\n        showIntentOtherError\\n        (tt \\\"early_stage.validations.intent_other\\\")\\n      }}\\n    >\\n      <Textarea\\n        @value={{intentOther}}\\n        @focus-out={{action \\\"setVisited\\\" \\\"intentOther\\\"}}\\n        placeholder={{tt \\\"early_stage.placeholder.intent_other\\\"}}\\n        class=\\\"signup__teams__form__input signup__teams__form__input-textarea {{if showIntentOtherError \\\"o__error\\\"}}\\\"\\n        required={{true}}\\n        @maxlength={{250}}\\n        data-test-input=\\\"intentOther\\\"\\n        @rows={{4}}\\n      />\\n    </Start::FormFieldComponent>\\n  {{/if}}\\n  {{#if showIncubatorField}}\\n    <Start::FormFieldComponent\\n      @label={{tt \\\"early_stage.labels.incubator_affiliation\\\"}}\\n    >\\n      <IcSelect\\n        @items={{incubators}}\\n        @onSelectItem={{action (mut selectedIncubator)}}\\n        @hasFilter={{true}}\\n        @filterPlaceholder=\\\"Select an incubator\\\"\\n        @defaultLabel=\\\"Select an incubator\\\" as |select|\\n      >\\n        <select.opener\\n          class=\\\"signup__teams__form__input signup__teams__form__input-select u__padt__15\\\"\\n        >\\n          {{select.selectedItemTextOrDefaultLabel}}\\n        </select.opener>\\n      </IcSelect>\\n    </Start::FormFieldComponent>\\n  {{/if}}\\n  <div class=\\\"layout__box o__has-rows\\\">\\n    <button\\n      class=\\\"signup__teams__button o__primary o__big\\\"\\n      data-test-input=\\\"submit\\\"\\n      {{action \\\"submitApplicationInformation\\\"}}\\n    >\\n      {{tt \\\"early_stage.submit\\\"}}\\n    </button>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/signup/teams/early-stage-application-form-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/teams/early-stage-application-form-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport Validations from 'embercom/controllers/base/early_stage/validations';\nimport { inject as service } from '@ember/service';\nimport { empty, readOnly, notEmpty, equal, and } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport inclusiveRange from 'embercom/lib/inclusive-range';\nimport { isDefaultLocale } from 'embercom/lib/locale';\nimport moment from 'moment';\nimport { INCUBATORS } from 'embercom/lib/incubators';\n\nfunction showErrorComputed(prop, didSubmitProp) {\n  return computed(\n    `validations.attrs.${prop}.{isDirty,isInvalid}`,\n    `${prop}Visited`,\n    didSubmitProp,\n    function() {\n      let isDirty = this.get(`validations.attrs.${prop}.isDirty`);\n      let didVisit = this.get(`${prop}Visited`);\n      let didSubmit = this.get(didSubmitProp);\n      let isInvalid = this.get(`validations.attrs.${prop}.isInvalid`);\n\n      return ((isDirty && didVisit) || didSubmit) && isInvalid;\n    },\n  );\n}\n\nfunction showIntentOtherErrorComputed() {\n  return computed('validations.attrs.intentOther.{isDirty,isInvalid}', 'intent', function() {\n    return this.intent === 'other' && this.get('validations.attrs.intentOther.isInvalid');\n  });\n}\n\nexport default Component.extend(Validations, {\n  translations: service('translationsService'),\n  isSubmitting: false,\n  didSubmitCompany: false,\n  companyName: readOnly('model.app.name'),\n  purchaseAnalyticsService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  solutionId: null,\n  context: 'early_stage_signup',\n  place: 'early_stage_application',\n  incubators: computed(function() {\n    return INCUBATORS.map(incubator => {\n      return { text: incubator, value: incubator };\n    });\n  }),\n  fundingLevelOptions: computed(function() {\n    let currency = isDefaultLocale() ? '$' : 'US $';\n    return [\n      {\n        label: this.translations.localize('early_stage.dropdown.less_than', {\n          number: `${currency}500,000`,\n        }),\n        value: 10,\n      },\n      { label: `${currency}500,000 - ${currency}1,000,000`, value: 11 },\n      { label: `${currency}1,000,001 - ${currency}3,000,000`, value: 12 },\n      {\n        label: this.translations.localize('early_stage.dropdown.more_than', {\n          number: `${currency}3,000,000`,\n        }),\n        value: 13,\n      },\n    ];\n  }),\n\n  companySizeOptions: computed(function() {\n    return [\n      { label: '1 - 5', value: '1-5' },\n      { label: '6 - 9', value: '6-9' },\n      { label: '10 - 49', value: '10-49' },\n      {\n        label: this.translations.localize('early_stage.dropdown.or_more', { number: '50' }),\n        value: '50 or more',\n      },\n    ];\n  }),\n\n  monthOptions: computed(function() {\n    let translations = this.translations;\n    return [\n      { label: translations.localize('months.january'), value: 1 },\n      { label: translations.localize('months.february'), value: 2 },\n      { label: translations.localize('months.march'), value: 3 },\n      { label: translations.localize('months.april'), value: 4 },\n      { label: translations.localize('months.may'), value: 5 },\n      { label: translations.localize('months.june'), value: 6 },\n      { label: translations.localize('months.july'), value: 7 },\n      { label: translations.localize('months.august'), value: 8 },\n      { label: translations.localize('months.september'), value: 9 },\n      { label: translations.localize('months.october'), value: 10 },\n      { label: translations.localize('months.november'), value: 11 },\n      { label: translations.localize('months.december'), value: 12 },\n    ];\n  }),\n\n  yearOptions: computed(function() {\n    return inclusiveRange(moment().year(), 2012);\n  }),\n\n  intentOptions: computed(function() {\n    let translations = this.translations;\n    return [\n      { label: translations.localize('early_stage.intent.capture'), value: 'capture-and-convert' },\n      { label: translations.localize('early_stage.intent.onboard'), value: 'onboard-and-engage' },\n      { label: translations.localize('early_stage.intent.retain'), value: 'support-and-retain' },\n      { label: translations.localize('early_stage.intent.support'), value: 'self-service-support' },\n      { label: translations.localize('early_stage.intent.other'), value: 'other' },\n      { label: translations.localize('early_stage.intent.all'), value: 'all' },\n    ];\n  }),\n\n  companySize: null,\n  fundingLevel: null,\n  joinMonth: null,\n  joinYear: null,\n  yearFoundedInput: null,\n  companyDescription: null,\n  companyWebsite: null,\n  companyLinkedIn: null,\n  companyCrunchbase: null,\n  intent: null,\n  intentOther: null,\n  selectedIncubator: null,\n\n  heading: computed('notEligibleForEarlyStage', function() {\n    if (this.notEligibleForEarlyStage) {\n      return this.translations.localize('early_stage.thanks');\n    } else {\n      return this.translations.localize('early_stage.apply');\n    }\n  }),\n\n  partnerJoinDate: computed('joinMonth', 'joinYear', function() {\n    if (this.joinMonth && this.joinYear) {\n      let date = new Date(this.joinYear, this.joinMonth - 1);\n      return date.toJSON();\n    }\n\n    return null;\n  }),\n\n  companyNameVisited: false,\n  companyDescriptionVisited: false,\n  companyWebsiteVisited: false,\n  companyLinkedInVisited: false,\n  intentOtherVisited: false,\n  showCompanyNameError: showErrorComputed('companyName', 'didSubmitCompany'),\n  showCompanyWebsiteError: showErrorComputed('companyWebsite', 'didSubmitCompany'),\n  showCompanyDescriptionError: showErrorComputed('companyDescription', 'didSubmitCompany'),\n  showFundingLevelError: showErrorComputed('fundingLevel', 'didSubmitCompany'),\n  showCompanySizeError: showErrorComputed('companySize', 'didSubmitCompany'),\n  showPartnerJoinDateError: showErrorComputed('partnerJoinDate', 'didSubmitCompany'),\n  showJoinMonthError: showErrorComputed('joinMonth', 'didSubmitCompany'),\n  showJoinYearError: showErrorComputed('joinYear', 'didSubmitCompany'),\n  showYearFoundedError: showErrorComputed('yearFounded', 'didSubmitCompany'),\n  showIntentError: showErrorComputed('intent', 'didSubmitCompany'),\n  showIntentOtherError: showIntentOtherErrorComputed('didSubmitCompany'),\n\n  yearFounded: computed('yearFoundedInput', 'shouldShowYearFounded', function() {\n    if (this.shouldShowYearFounded && !this.yearFoundedInput) {\n      return null;\n    } else {\n      return this.yearFoundedInput;\n    }\n  }),\n\n  starterErrors: null,\n\n  partnerJoinDateOrYearFoundedIsValid: computed('partnerJoinDate', 'yearFounded', function() {\n    if (this.partnerJoinDate) {\n      return this.get('validations.attrs.partnerJoinDate.isValid');\n    } else {\n      return this.get('validations.attrs.yearFounded.isValid');\n    }\n  }),\n\n  shouldShowYearFounded: empty('partnerSource'),\n  shouldShowPartnerJoinDate: notEmpty('partnerSource'),\n  shouldShowIntentOther: equal('intent', 'other'),\n  showIncubatorField: empty('partnerSource'),\n  intentOtherIsValid: computed('shouldShowIntentOther', 'showIntentOtherError', function() {\n    return !(this.shouldShowIntentOther && this.showIntentOtherError);\n  }),\n\n  companyInformationValid: and(\n    'validations.attrs.companyWebsite.isValid',\n    'validations.attrs.companyDescription.isValid',\n    'validations.attrs.companySize.isValid',\n    'validations.attrs.fundingLevel.isValid',\n    'partnerJoinDateOrYearFoundedIsValid',\n    'validations.attrs.intent.isValid',\n    'intentOtherIsValid',\n  ),\n  _trackInteraction(action, object, value) {\n    let event = {\n      action: 'entered',\n      object,\n      context: this.context,\n      place: this.place,\n      solutionId: this.solutionId,\n      value,\n    };\n\n    this.purchaseAnalyticsService.trackEvent(event);\n  },\n\n  actions: {\n    trackEnteringEvent(object) {\n      this._trackInteraction('entered', object);\n    },\n    dropDownSelected(object, value) {\n      this.set(object, value);\n      this._trackInteraction('selected', object, value);\n    },\n    setCompanySize(value) {\n      let companySizeMappings = {\n        '1-5': '1-4',\n        '6-9': '5-9',\n        '10-49': '10-49',\n        '50 or more': '50-199',\n      };\n      this.set('companySize', value);\n      this.set('appInstallCompanySize', companySizeMappings[value]);\n      this._trackInteraction('selected', 'companySize');\n    },\n\n    setVisited(prop) {\n      this.set(`${prop}Visited`, true);\n      this._trackInteraction('entered', prop);\n    },\n\n    submitApplicationInformation() {\n      this.set('didSubmitCompany', true);\n      if (this.companyInformationValid) {\n        this.purchaseAnalyticsService.trackEvent({\n          action: 'clicked',\n          context: 'early_stage_signup',\n          place: 'early_stage_application',\n          object: 'early_stage_application',\n          solutionId: this.solutionId,\n        });\n\n        let formData = {\n          customer_id: this.get('app.customer_id') || this.get('model.app.customer_id'),\n          company_website: this.companyWebsite,\n          company_linkedin: this.companyLinkedIn,\n          company_crunchbase: this.companyCrunchbase,\n          funding_level: this.fundingLevel,\n          company_size: this.companySize,\n          partner_join_date: this.partnerJoinDate,\n          company_description: this.companyDescription,\n          partner_source: this.partnerSource,\n          year_founded: this.yearFounded,\n          intent: this.intent,\n          intent_other: this.intent_other,\n          incubator: this.selectedIncubator,\n        };\n\n        this.submitApplication(formData);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{#if this.networkError}}\\n  <div class=\\\"signup__teams__network-error-banner mb-5\\\" data-test-network-error>\\n    {{this.networkError}}\\n  </div>\\n{{/if}}\\n\\n<div class=\\\"u__centered-text-block pt-3\\\">\\n\\n  {{#unless @authenticatedAdmin}}\\n    <div class=\\\"flex flex-col mb-10\\\">\\n      <button\\n        class=\\\"flex flex-row flex-1 u__center-layout signup__teams__button o__primary o__google o__font-18\\\"\\n        onclick={{this.startGoogleAuth}}\\n        data-test-google-auth-button\\n      >\\n        <div class=\\\"flex flex-none signup__teams__form__sign-in-with-google__logo\\\"></div>\\n        <div class=\\\"flex flex-1 items-center justify-center signup__teams__button__text\\\">\\n          <span class=\\\"align-middle\\\">\\n            Register with Google\\n          </span>\\n          {{inline-svg \\\"arrow-rebrand\\\" class=\\\"signup__teams__button__arrow o__google\\\"}}\\n        </div>\\n      </button>\\n    </div>\\n\\n    <div class=\\\"signup__teams__option-divider signup__teams__p1\\\">\\n      <span class=\\\"signup__teams__option-divider__wrapper\\\">\\n        Or, register with your email\\n      </span>\\n    </div>\\n  {{/unless}}\\n\\n  <form onsubmit={{this.submitForm}} class=\\\"pt-7\\\">\\n    {{#unless @authenticatedAdmin}}\\n      <Start::FormFieldComponent @label=\\\"Full name\\\" @error={{this.adminErrors.name}} @for=\\\"name\\\">\\n        <Input\\n          @value={{this.name}}\\n          placeholder=\\\"First and last name\\\"\\n          @focus-out={{fn this.trackEnteringEvent \\\"name\\\"}}\\n          class=\\\"signup__teams__form__input {{if this.adminErrors.name \\\"o__error\\\"}}\\\"\\n          data-test-input=\\\"name\\\"\\n          data-ghost-inspector=\\\"signup__teams__form__name-input\\\"\\n          name=\\\"firstName\\\"\\n          autocomplete=\\\"name\\\"\\n          id=\\\"name\\\"\\n        />\\n      </Start::FormFieldComponent>\\n\\n      <Start::FormFieldComponent @label={{tt \\\"sign_up.start.form.company\\\"}} @error={{this.appErrors.name}} @for=\\\"company\\\">\\n        <Input\\n          @value={{this.appName}}\\n          placeholder=\\\"Your company or app name\\\"\\n          @focus-out={{fn this.trackEnteringEvent \\\"company_name\\\"}}\\n          class=\\\"signup__teams__form__input {{if this.appErrors.name \\\"o__error\\\"}}\\\"\\n          data-test-input=\\\"company\\\"\\n          data-ghost-inspector=\\\"signup__teams__form__company-name-input\\\"\\n          name=\\\"company\\\"\\n          autocomplete=\\\"organization\\\"\\n          id=\\\"company\\\"\\n          maxlength=\\\"191\\\"\\n        />\\n      </Start::FormFieldComponent>\\n\\n      <Talon @value={{@talon}} />\\n\\n      <Start::FormFieldComponent\\n        @label={{tt \\\"sign_up.start.form.work_email\\\"}}\\n        @error={{this.adminErrors.email}}\\n        @for=\\\"email\\\"\\n      >\\n        <Input\\n          @value={{this.email}}\\n          placeholder={{tt \\\"sign_up.start.form.work_email_placeholder\\\"}}\\n          @focus-out={{fn this.trackEnteringEvent \\\"email\\\"}}\\n          data-test-input=\\\"email\\\"\\n          class=\\\"signup__teams__form__input {{if this.adminErrors.email \\\"o__error\\\"}}\\\"\\n          name=\\\"email\\\"\\n          id=\\\"email\\\"\\n          autocomplete=\\\"email\\\"\\n        />\\n      </Start::FormFieldComponent>\\n\\n      <Start::FormFieldComponent @label={{tt \\\"sign_up.start.form.password\\\"}} @error={{this.adminErrors.password}} @for=\\\"password\\\">\\n        <Input\\n          @type=\\\"password\\\"\\n          @value={{this.password}}\\n          placeholder={{tt \\\"sign_up.start.form.password_placeholder\\\"}}\\n          @focus-out={{fn this.trackEnteringEvent \\\"password\\\"}}\\n          data-test-input=\\\"password\\\"\\n          data-ghost-inspector=\\\"signup__teams__form__password-input\\\"\\n          name=\\\"password\\\"\\n          class=\\\"signup__teams__form__input {{if this.adminErrors.password \\\"o__error\\\"}}\\\"\\n          id=\\\"password\\\"\\n          autocomplete=\\\"new-password\\\"\\n        />\\n      </Start::FormFieldComponent>\\n    {{/unless}}\\n\\n    {{#if @authenticatedAdmin}}\\n      <Start::FormFieldComponent @label={{tt \\\"sign_up.start.form.company\\\"}} @error={{this.appErrors.name}}>\\n        <Input\\n          @value={{this.appName}}\\n          placeholder={{tt \\\"sign_up.start.form.company_placeholder\\\"}}\\n          data-test-input=\\\"company\\\"\\n          name=\\\"company\\\"\\n          class=\\\"signup__teams__form__input {{if this.appErrors.name \\\"o__error\\\"}}\\\"\\n          id=\\\"company\\\"\\n          autocomplete=\\\"company\\\"\\n        />\\n      </Start::FormFieldComponent>\\n    {{/if}}\\n\\n    {{#unless @isDeveloper}}\\n      <Start::FormFieldComponent @label={{tt \\\"sign_up.start.form.company_size\\\"}}>\\n        <CompanySizeSelectComponent\\n          @companySize={{this.companySize}}\\n          data-test-input=\\\"companySize\\\"\\n          data-ghost-inspector=\\\"signup__teams__form__company-size-input\\\"\\n          @onSelect={{this.trackDropDownEvent}}\\n          @classesForSelect=\\\"signup__teams__form__input signup__teams__form__input-select\\\"\\n        />\\n      </Start::FormFieldComponent>\\n\\n      {{#if @mobileDevice}}\\n        <Start::FormFieldComponent @label={{tt \\\"sign_up.start.form.phone_number\\\"}} @hint=\\\"Optional\\\">\\n          <div class=\\\"flex flex-row items-center justify-center\\\">\\n            <OneWaySelect\\n              @value={{this.phoneCountryCode}}\\n              @options={{this.mobileGroupList}}\\n              @optionLabelPath=\\\"label\\\"\\n              @optionTargetPath=\\\"value\\\"\\n              @update={{this.setCountryCode}}\\n              @class=\\\"signup__teams__form__input signup__teams__form__input-select o__mobile\\\"\\n              data-test-selector-phone-country-dropdown-mobile\\n            />\\n            <Input\\n              @type=\\\"tel\\\"\\n              @value={{this.phoneNumber}}\\n              placeholder={{tt \\\"sign_up.start.form.phone_number_placeholder\\\"}}\\n              @focus-out={{fn this.trackEnteringEvent \\\"phone_number\\\"}}\\n              @classNames=\\\"signup__teams__form__input u__ml__5\\\"\\n              data-test-input=\\\"phoneNumber\\\"\\n              name=\\\"phoneNumber\\\"\\n              autocomplete=\\\"tel\\\"\\n              id=\\\"phone\\\"\\n            />\\n          </div>\\n        </Start::FormFieldComponent>\\n      {{else}}\\n        <Start::FormFieldComponent @label={{tt \\\"sign_up.start.form.phone_number\\\"}} @hint=\\\"Optional\\\" @for=\\\"phone\\\">\\n          <div class=\\\"signup__teams__country-codes__phone-input-with-dropdown flex flex-row items-center justify-center\\\">\\n            <IcDropdownOpener\\n              @groupList={{this.groupList}}\\n              @minWidthOfOverlay={{300}}\\n              @onSelectItem={{this.setCountryCode}}\\n              @hasFilter={{true}}\\n              @filterPlaceholder=\\\"Your country's name...\\\"\\n            >\\n              <div data-test-country-code-selector\\n                class=\\\"layout__box o__has-columns signup__teams__country-codes__selector\\\">\\n                <img src={{this.phoneCountryFlag}} class=\\\"u__ml__5 signup__teams__country-codes__flag\\\" />\\n                <span class=\\\"u__truncated-inline-block signup__teams__country-codes__code u__ml__5\\\">\\n                  {{this.phoneDialCode}} {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n                </span>\\n              </div>\\n            </IcDropdownOpener>\\n            <Input\\n              @value={{this.phoneNumber}}\\n              placeholder={{tt \\\"sign_up.start.form.phone_number_placeholder\\\"}}\\n              @focus-out={{fn this.trackEnteringEvent \\\"phone_number\\\"}}\\n              @classNames=\\\"signup__teams__country-codes__phone-input signup__teams__form__input u__ml__5\\\"\\n              data-test-input=\\\"phoneNumber\\\"\\n              name=\\\"phoneNumber\\\"\\n              id=\\\"phone\\\"\\n              autocomplete=\\\"tel\\\"\\n            />\\n          </div>\\n        </Start::FormFieldComponent>\\n      {{/if}}\\n    {{/unless}}\\n\\n    <div class=\\\"flex flex-col pt-4\\\">\\n      <button\\n        type=\\\"button\\\"\\n        class=\\\"signup__teams__button o__primary o__font-18 signup__teams__register-button\\\"\\n        {{on \\\"click\\\" this.submitForm}}\\n        disabled={{@formTask.isRunning}}\\n        data-test-create=\\\"account\\\"\\n        data-ghost-inspector=\\\"signup__teams__form__register-button\\\"\\n      >\\n        <div class=\\\"flex flex-1 items-center justify-center\\\">\\n          {{#if @formTask.isRunning}}\\n            <IcLoadingIndicator @size=\\\"tiny\\\" @inline={{true}} @color=\\\"white\\\" />\\n            {{tt \\\"sign_up.start.form.submitting\\\"}}\\n          {{else}}\\n            <span class=\\\"align-middle\\\">\\n              Register\\n            </span>\\n            {{inline-svg \\\"arrow-rebrand\\\" class=\\\"signup__teams__button__arrow\\\"}}\\n          {{/if}}\\n        </div>\\n      </button>\\n    </div>\\n\\n  </form>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{#if this.networkError}}\\n  <div class=\\\"signup__teams__network-error-banner mb-5\\\" data-test-network-error>\\n    {{this.networkError}}\\n  </div>\\n{{/if}}\\n\\n<div class=\\\"u__centered-text-block pt-3\\\">\\n\\n  {{#unless @authenticatedAdmin}}\\n    <div class=\\\"flex flex-col mb-10\\\">\\n      <button\\n        class=\\\"flex flex-row flex-1 u__center-layout signup__teams__button o__primary o__google o__font-18\\\"\\n        onclick={{this.startGoogleAuth}}\\n        data-test-google-auth-button\\n      >\\n        <div class=\\\"flex flex-none signup__teams__form__sign-in-with-google__logo\\\"></div>\\n        <div class=\\\"flex flex-1 items-center justify-center signup__teams__button__text\\\">\\n          <span class=\\\"align-middle\\\">\\n            Register with Google\\n          </span>\\n          {{inline-svg \\\"arrow-rebrand\\\" class=\\\"signup__teams__button__arrow o__google\\\"}}\\n        </div>\\n      </button>\\n    </div>\\n\\n    <div class=\\\"signup__teams__option-divider signup__teams__p1\\\">\\n      <span class=\\\"signup__teams__option-divider__wrapper\\\">\\n        Or, register with your email\\n      </span>\\n    </div>\\n  {{/unless}}\\n\\n  <form onsubmit={{this.submitForm}} class=\\\"pt-7\\\">\\n    {{#unless @authenticatedAdmin}}\\n      <Start::FormFieldComponent @label=\\\"Full name\\\" @error={{this.adminErrors.name}} @for=\\\"name\\\">\\n        <Input\\n          @value={{this.name}}\\n          placeholder=\\\"First and last name\\\"\\n          @focus-out={{fn this.trackEnteringEvent \\\"name\\\"}}\\n          class=\\\"signup__teams__form__input {{if this.adminErrors.name \\\"o__error\\\"}}\\\"\\n          data-test-input=\\\"name\\\"\\n          data-ghost-inspector=\\\"signup__teams__form__name-input\\\"\\n          name=\\\"firstName\\\"\\n          autocomplete=\\\"name\\\"\\n          id=\\\"name\\\"\\n        />\\n      </Start::FormFieldComponent>\\n\\n      <Start::FormFieldComponent @label={{tt \\\"sign_up.start.form.company\\\"}} @error={{this.appErrors.name}} @for=\\\"company\\\">\\n        <Input\\n          @value={{this.appName}}\\n          placeholder=\\\"Your company or app name\\\"\\n          @focus-out={{fn this.trackEnteringEvent \\\"company_name\\\"}}\\n          class=\\\"signup__teams__form__input {{if this.appErrors.name \\\"o__error\\\"}}\\\"\\n          data-test-input=\\\"company\\\"\\n          data-ghost-inspector=\\\"signup__teams__form__company-name-input\\\"\\n          name=\\\"company\\\"\\n          autocomplete=\\\"organization\\\"\\n          id=\\\"company\\\"\\n          maxlength=\\\"191\\\"\\n        />\\n      </Start::FormFieldComponent>\\n\\n      <Talon @value={{@talon}} />\\n\\n      <Start::FormFieldComponent\\n        @label={{tt \\\"sign_up.start.form.work_email\\\"}}\\n        @error={{this.adminErrors.email}}\\n        @for=\\\"email\\\"\\n      >\\n        <Input\\n          @value={{this.email}}\\n          placeholder={{tt \\\"sign_up.start.form.work_email_placeholder\\\"}}\\n          @focus-out={{fn this.trackEnteringEvent \\\"email\\\"}}\\n          data-test-input=\\\"email\\\"\\n          class=\\\"signup__teams__form__input {{if this.adminErrors.email \\\"o__error\\\"}}\\\"\\n          name=\\\"email\\\"\\n          id=\\\"email\\\"\\n          autocomplete=\\\"email\\\"\\n        />\\n      </Start::FormFieldComponent>\\n\\n      <Start::FormFieldComponent @label={{tt \\\"sign_up.start.form.password\\\"}} @error={{this.adminErrors.password}} @for=\\\"password\\\">\\n        <Input\\n          @type=\\\"password\\\"\\n          @value={{this.password}}\\n          placeholder={{tt \\\"sign_up.start.form.password_placeholder\\\"}}\\n          @focus-out={{fn this.trackEnteringEvent \\\"password\\\"}}\\n          data-test-input=\\\"password\\\"\\n          data-ghost-inspector=\\\"signup__teams__form__password-input\\\"\\n          name=\\\"password\\\"\\n          class=\\\"signup__teams__form__input {{if this.adminErrors.password \\\"o__error\\\"}}\\\"\\n          id=\\\"password\\\"\\n          autocomplete=\\\"new-password\\\"\\n        />\\n      </Start::FormFieldComponent>\\n    {{/unless}}\\n\\n    {{#if @authenticatedAdmin}}\\n      <Start::FormFieldComponent @label={{tt \\\"sign_up.start.form.company\\\"}} @error={{this.appErrors.name}}>\\n        <Input\\n          @value={{this.appName}}\\n          placeholder={{tt \\\"sign_up.start.form.company_placeholder\\\"}}\\n          data-test-input=\\\"company\\\"\\n          name=\\\"company\\\"\\n          class=\\\"signup__teams__form__input {{if this.appErrors.name \\\"o__error\\\"}}\\\"\\n          id=\\\"company\\\"\\n          autocomplete=\\\"company\\\"\\n        />\\n      </Start::FormFieldComponent>\\n    {{/if}}\\n\\n    {{#unless @isDeveloper}}\\n      <Start::FormFieldComponent @label={{tt \\\"sign_up.start.form.company_size\\\"}}>\\n        <CompanySizeSelectComponent\\n          @companySize={{this.companySize}}\\n          data-test-input=\\\"companySize\\\"\\n          data-ghost-inspector=\\\"signup__teams__form__company-size-input\\\"\\n          @onSelect={{this.trackDropDownEvent}}\\n          @classesForSelect=\\\"signup__teams__form__input signup__teams__form__input-select\\\"\\n        />\\n      </Start::FormFieldComponent>\\n\\n      {{#if @mobileDevice}}\\n        <Start::FormFieldComponent @label={{tt \\\"sign_up.start.form.phone_number\\\"}} @hint=\\\"Optional\\\">\\n          <div class=\\\"flex flex-row items-center justify-center\\\">\\n            <OneWaySelect\\n              @value={{this.phoneCountryCode}}\\n              @options={{this.mobileGroupList}}\\n              @optionLabelPath=\\\"label\\\"\\n              @optionTargetPath=\\\"value\\\"\\n              @update={{this.setCountryCode}}\\n              @class=\\\"signup__teams__form__input signup__teams__form__input-select o__mobile\\\"\\n              data-test-selector-phone-country-dropdown-mobile\\n            />\\n            <Input\\n              @type=\\\"tel\\\"\\n              @value={{this.phoneNumber}}\\n              placeholder={{tt \\\"sign_up.start.form.phone_number_placeholder\\\"}}\\n              @focus-out={{fn this.trackEnteringEvent \\\"phone_number\\\"}}\\n              @classNames=\\\"signup__teams__form__input u__ml__5\\\"\\n              data-test-input=\\\"phoneNumber\\\"\\n              name=\\\"phoneNumber\\\"\\n              autocomplete=\\\"tel\\\"\\n              id=\\\"phone\\\"\\n            />\\n          </div>\\n        </Start::FormFieldComponent>\\n      {{else}}\\n        <Start::FormFieldComponent @label={{tt \\\"sign_up.start.form.phone_number\\\"}} @hint=\\\"Optional\\\" @for=\\\"phone\\\">\\n          <div class=\\\"signup__teams__country-codes__phone-input-with-dropdown flex flex-row items-center justify-center\\\">\\n            <IcDropdownOpener\\n              @groupList={{this.groupList}}\\n              @minWidthOfOverlay={{300}}\\n              @onSelectItem={{this.setCountryCode}}\\n              @hasFilter={{true}}\\n              @filterPlaceholder=\\\"Your country's name...\\\"\\n            >\\n              <div data-test-country-code-selector\\n                class=\\\"layout__box o__has-columns signup__teams__country-codes__selector\\\">\\n                <img src={{this.phoneCountryFlag}} class=\\\"u__ml__5 signup__teams__country-codes__flag\\\" />\\n                <span class=\\\"u__truncated-inline-block signup__teams__country-codes__code u__ml__5\\\">\\n                  {{this.phoneDialCode}} {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n                </span>\\n              </div>\\n            </IcDropdownOpener>\\n            <Input\\n              @value={{this.phoneNumber}}\\n              placeholder={{tt \\\"sign_up.start.form.phone_number_placeholder\\\"}}\\n              @focus-out={{fn this.trackEnteringEvent \\\"phone_number\\\"}}\\n              @classNames=\\\"signup__teams__country-codes__phone-input signup__teams__form__input u__ml__5\\\"\\n              data-test-input=\\\"phoneNumber\\\"\\n              name=\\\"phoneNumber\\\"\\n              id=\\\"phone\\\"\\n              autocomplete=\\\"tel\\\"\\n            />\\n          </div>\\n        </Start::FormFieldComponent>\\n      {{/if}}\\n    {{/unless}}\\n\\n    <div class=\\\"flex flex-col pt-4\\\">\\n      <button\\n        type=\\\"button\\\"\\n        class=\\\"signup__teams__button o__primary o__font-18 signup__teams__register-button\\\"\\n        {{on \\\"click\\\" this.submitForm}}\\n        disabled={{@formTask.isRunning}}\\n        data-test-create=\\\"account\\\"\\n        data-ghost-inspector=\\\"signup__teams__form__register-button\\\"\\n      >\\n        <div class=\\\"flex flex-1 items-center justify-center\\\">\\n          {{#if @formTask.isRunning}}\\n            <IcLoadingIndicator @size=\\\"tiny\\\" @inline={{true}} @color=\\\"white\\\" />\\n            {{tt \\\"sign_up.start.form.submitting\\\"}}\\n          {{else}}\\n            <span class=\\\"align-middle\\\">\\n              Register\\n            </span>\\n            {{inline-svg \\\"arrow-rebrand\\\" class=\\\"signup__teams__button__arrow\\\"}}\\n          {{/if}}\\n        </div>\\n      </button>\\n    </div>\\n\\n  </form>\\n</div>\\n\",\"moduleName\":\"embercom/components/signup/teams/form-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/teams/form-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport EmberObject, { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { typeOf } from '@ember/utils';\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { DEFAULT_COUNTRY_CODE } from 'embercom/controllers/signup/teams/index';\nimport PhoneCountryCodes from 'embercom/lib/phone-codes';\nimport Admin from 'embercom/models/admin';\n\nexport default class FormComponent extends Component {\n  @service purchaseAnalyticsService;\n  @service router;\n\n  context = 'signup';\n  place = 'create_account';\n\n  @tracked name = this.args.name || '';\n  @tracked email = this.args.email || '';\n  @tracked password = this.args.password;\n  @tracked appName = this.args.appName || '';\n  @tracked companySize = this.args.companySize || null;\n  @tracked phoneNumber = this.args.phoneNumber || '';\n  @tracked phoneCountryCode = this.args.phoneCountryCode || DEFAULT_COUNTRY_CODE;\n\n  @tracked adminErrors = EmberObject.create({\n    name: null,\n    email: null,\n    password: null,\n  });\n\n  @tracked appErrors = EmberObject.create({\n    name: null,\n  });\n\n  @tracked networkError;\n\n  @tracked groupList = [\n    {\n      items: [\n        {\n          text: 'United States',\n          code: '+1',\n          value: 'us',\n          asset_url: '/assets/svgs/flags/us.svg',\n          component: 'signup/teams/country-code-item',\n        },\n        {\n          text: 'Ireland',\n          code: '+353',\n          value: 'ie',\n          asset_url: '/assets/svgs/flags/ie.svg',\n          component: 'signup/teams/country-code-item',\n        },\n        {\n          text: 'United Kingdom',\n          code: '+44',\n          value: 'gb',\n          asset_url: '/assets/svgs/flags/gb.svg',\n          component: 'signup/teams/country-code-item',\n        },\n        {\n          text: 'Canada',\n          code: '+1',\n          value: 'ca',\n          asset_url: '/assets/svgs/flags/ca.svg',\n          component: 'signup/teams/country-code-item',\n        },\n        {\n          text: 'Australia',\n          code: '+61',\n          value: 'au',\n          asset_url: '/assets/svgs/flags/au.svg',\n          component: 'signup/teams/country-code-item',\n        },\n      ],\n    },\n    {\n      isMain: true,\n      isFilterable: true,\n      items: [],\n    },\n  ];\n  @tracked mobileGroupList = [];\n\n  constructor() {\n    super(...arguments);\n\n    Object.keys(PhoneCountryCodes).map(code => {\n      let dropdownItem = {\n        value: code,\n        text: PhoneCountryCodes[code].name,\n        code: PhoneCountryCodes[code].dial_code,\n        asset_url: PhoneCountryCodes[code].asset_url,\n        component: 'signup/teams/country-code-item',\n      };\n      let mobileDropDownItem = {\n        label: `${code.toUpperCase()} ${PhoneCountryCodes[code].dial_code}`,\n        value: code,\n      };\n      this.mobileGroupList.pushObject(mobileDropDownItem);\n      this.groupList[1].items.pushObject(dropdownItem);\n    });\n  }\n\n  resetErrors() {\n    this.adminErrors = EmberObject.create({});\n    this.appErrors = EmberObject.create({});\n    this.networkError = null;\n  }\n\n  handleCreationError(response) {\n    if (!response) {\n      return;\n    }\n\n    this.resetErrors();\n\n    response = response.jqXHR ? response.jqXHR : response;\n\n    if (response.status >= 500) {\n      this.networkError = 'Something went wrong. Please contact support.';\n      return;\n    }\n\n    if (response.status === 429) {\n      this.networkError = 'Too many signup attempts, please try again later.';\n      return;\n    }\n\n    let responseJSON = response.responseJSON;\n\n    if (!responseJSON) {\n      return;\n    }\n\n    let {\n      unsupported_locale: unsupportedLocale,\n      adblocker,\n      not_self_serve_eligible: notSelfServeEligible,\n      admin,\n      app,\n      email,\n      name,\n      password,\n    } = responseJSON;\n\n    if (adblocker) {\n      this.networkError = 'Please disable your ad blocker, refresh, and try again.';\n      return;\n    }\n\n    if (unsupportedLocale) {\n      this.networkError = 'The locale you have signed up with is not supported.';\n      return;\n    }\n\n    if (notSelfServeEligible) {\n      return this.router.transitionTo('signup.get-started');\n    }\n\n    if (admin) {\n      this.adminErrors = admin;\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'triggered',\n        object: 'teammate_signup_error',\n        context: this.context,\n        place: 'signup',\n        owner: 'growth',\n        errors: admin,\n        solutionId: this.args.solutionId,\n      });\n    }\n\n    if (app) {\n      this.appErrors = app;\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'triggered',\n        object: 'app_signup_error',\n        context: this.context,\n        place: 'signup',\n        owner: 'growth',\n        errors: app,\n        solutionId: this.args.solutionId,\n      });\n    }\n\n    if (email || name || password) {\n      this.adminErrors = {\n        email,\n        name,\n        password,\n      };\n    }\n  }\n\n  trackDeveloperWorkspaceClickedEvent() {\n    if (this.router.currentRouteName === 'developer-signup.index') {\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'clicked',\n        context: this.context,\n        object: 'sign_up_button',\n        place: 'developer_signup',\n      });\n    }\n  }\n\n  trackEvent(email) {\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'clicked',\n      object: 'register',\n      context: this.context,\n      place: 'create_account',\n      mobile: this.args.mobileDevice,\n      gclid: this.args.gclid,\n      solutionId: this.args.solutionId,\n      emailSubmissionId: this.args.emailSubmissionId,\n      email: email || this.email,\n      developerSignup: this.args.isDeveloper,\n    });\n  }\n\n  get talonValue() {\n    return document.getElementById('talon')?.value;\n  }\n\n  get phoneCountryFlag() {\n    return PhoneCountryCodes[this.phoneCountryCode].asset_url;\n  }\n\n  get phoneDialCode() {\n    return PhoneCountryCodes[this.phoneCountryCode].dial_code;\n  }\n\n  @action\n  setCountryCode(countryCode) {\n    this.phoneCountryCode = countryCode;\n  }\n\n  @action\n  startGoogleAuth() {\n    window.location.href = `/auth/google_oauth2${window.location.search}`;\n  }\n\n  @action\n  submitForm(e) {\n    if (this.args.authenticatedAdmin) {\n      Admin.meWithoutRedirect().then(admin => {\n        this.trackEvent(admin.email);\n      });\n    } else {\n      this.trackEvent();\n    }\n\n    this.trackDeveloperWorkspaceClickedEvent();\n    e && typeOf(e.preventDefault) === 'function' && e.preventDefault();\n\n    let formData = {\n      name: this.name,\n      email: this.email,\n      password: this.password,\n      appName: this.appName,\n      companySize: this.companySize,\n      department: this.args.department || null,\n      talon: this.talonValue,\n      phoneNumber: this.phoneNumber,\n      phoneCountryCode: this.phoneCountryCode,\n    };\n\n    this.args.formTask.perform(formData, this.handleCreationError.bind(this));\n  }\n\n  @action\n  trackEnteringEvent(object) {\n    let event = {\n      action: 'entered',\n      object,\n      context: 'signup',\n      place: this.place,\n      solutionId: this.args.solutionId,\n      mobile: this.args.mobileDevice,\n      developer: this.args.isDeveloper,\n    };\n\n    if (object === 'phone_number') {\n      event['country'] = this.phoneCountryCode;\n    }\n\n    this.purchaseAnalyticsService.trackEvent(event);\n  }\n\n  @action\n  trackDropDownEvent(object) {\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'selected',\n      object,\n      context: 'signup',\n      place: this.place,\n      solutionId: this.args.solutionId,\n      mobile: this.args.mobileDevice,\n      developer: this.args.isDeveloper,\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"signup__teams__p1 {{if @mobileDevice \\\"o__small u__padl__20 u__padr__20\\\"}}\\\"\\n>\\n  {{#each @list as |item|}}\\n    <p>\\n      <span class=\\\"signup__teams__confirm__checkmark\\\">\\n        {{ic-interface-icon \\\"check\\\"}}\\n      </span>\\n      {{item}}\\n    </p>\\n    {{#unless @last}}\\n      <div class=\\\"h-1\\\"></div>\\n    {{/unless}}\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"signup__teams__p1 {{if @mobileDevice \\\"o__small u__padl__20 u__padr__20\\\"}}\\\"\\n>\\n  {{#each @list as |item|}}\\n    <p>\\n      <span class=\\\"signup__teams__confirm__checkmark\\\">\\n        {{ic-interface-icon \\\"check\\\"}}\\n      </span>\\n      {{item}}\\n    </p>\\n    {{#unless @last}}\\n      <div class=\\\"h-1\\\"></div>\\n    {{/unless}}\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/signup/teams/green-checklist-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/teams/green-checklist-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row signup__teams__header-container\\\" data-test-signup-teams-header>\\n  <div class=\\\"flex flex-row items-center justify-between flex-1 signup__teams__header\\\">\\n    <div class=\\\"flex flex-row items-center justify-between\\\">\\n      <div class=\\\"flex flex-row items-center justify-center\\\">\\n        <div class=\\\"flex flex-col signup__teams__logo-container mr-6\\\">\\n          <a href=\\\"https://www.intercom.com\\\" class=\\\"signup__teams__logo-link\\\" title=\\\"Intercom Home\\\">\\n            <span class=\\\"sr-only\\\">Intercom Home</span>\\n            <div class=\\\"signup__teams__container__primary-logo\\\">\\n              {{inline-svg \\\"nav-primary-logo-loaded\\\"}}\\n            </div>\\n          </a>\\n        </div>\\n        {{#if this.media.isDesktop}}\\n          <div\\n            class=\\\"signup__teams__start-trial-text\\\"\\n            data-test-text=\\\"productName\\\"\\n          >\\n            {{#unless @hideProgramName}}\\n              {{#if @isEarlyStage}}\\n                  Start Early Stage Program\\n              {{else}}\\n                Start free trial\\n              {{/if}}\\n            {{/unless}}\\n          </div>\\n          <div class=\\\"flex flex-row justify-center u__padl__60\\\">\\n            {{#each this.steps as |step|}}\\n              <div class=\\\"signup__teams__signup-step-text {{step.class}}\\\">\\n                {{step.text}}\\n              </div>\\n            {{/each}}\\n          </div>\\n        {{else}}\\n          <div class=\\\"signup__teams__current-step-text\\\">\\n            <div class=\\\"signup__teams__start-trial-text\\\">\\n              {{this.currentStepName}}\\n            </div>\\n            {{#if (gt this.stepNames.length 1)}}\\n              <div class=\\\"signup__teams__start-trial-subtext\\\">\\n                Step {{@navStep}} of {{this.stepNames.length}}\\n              </div>\\n            {{/if}}\\n          </div>\\n        {{/if}}\\n      </div>\\n      {{#unless this.alreadySignedIn}}\\n        <div class=\\\"flex flex-col signup__teams__signin-text\\\">\\n            {{tt \\\"sign_up.new.already_using_intercom\\\"}}\\n            <a href=\\\"/admins/sign_in{{this.redirectUrlParamForSignIn}}\\\" rel=\\\"nofollow noopener\\\">\\n              {{#if @isEarlyStage}}\\n                {{tt \\\"sign_up.new.sign_in_to_apply\\\"}}\\n              {{else}}\\n                {{tt \\\"sign_up.new.sign_in\\\"}}\\n              {{/if}}\\n            </a>\\n        </div>\\n      {{/unless}}\\n    </div>\\n      {{yield}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row signup__teams__header-container\\\" data-test-signup-teams-header>\\n  <div class=\\\"flex flex-row items-center justify-between flex-1 signup__teams__header\\\">\\n    <div class=\\\"flex flex-row items-center justify-between\\\">\\n      <div class=\\\"flex flex-row items-center justify-center\\\">\\n        <div class=\\\"flex flex-col signup__teams__logo-container mr-6\\\">\\n          <a href=\\\"https://www.intercom.com\\\" class=\\\"signup__teams__logo-link\\\" title=\\\"Intercom Home\\\">\\n            <span class=\\\"sr-only\\\">Intercom Home</span>\\n            <div class=\\\"signup__teams__container__primary-logo\\\">\\n              {{inline-svg \\\"nav-primary-logo-loaded\\\"}}\\n            </div>\\n          </a>\\n        </div>\\n        {{#if this.media.isDesktop}}\\n          <div\\n            class=\\\"signup__teams__start-trial-text\\\"\\n            data-test-text=\\\"productName\\\"\\n          >\\n            {{#unless @hideProgramName}}\\n              {{#if @isEarlyStage}}\\n                  Start Early Stage Program\\n              {{else}}\\n                Start free trial\\n              {{/if}}\\n            {{/unless}}\\n          </div>\\n          <div class=\\\"flex flex-row justify-center u__padl__60\\\">\\n            {{#each this.steps as |step|}}\\n              <div class=\\\"signup__teams__signup-step-text {{step.class}}\\\">\\n                {{step.text}}\\n              </div>\\n            {{/each}}\\n          </div>\\n        {{else}}\\n          <div class=\\\"signup__teams__current-step-text\\\">\\n            <div class=\\\"signup__teams__start-trial-text\\\">\\n              {{this.currentStepName}}\\n            </div>\\n            {{#if (gt this.stepNames.length 1)}}\\n              <div class=\\\"signup__teams__start-trial-subtext\\\">\\n                Step {{@navStep}} of {{this.stepNames.length}}\\n              </div>\\n            {{/if}}\\n          </div>\\n        {{/if}}\\n      </div>\\n      {{#unless this.alreadySignedIn}}\\n        <div class=\\\"flex flex-col signup__teams__signin-text\\\">\\n            {{tt \\\"sign_up.new.already_using_intercom\\\"}}\\n            <a href=\\\"/admins/sign_in{{this.redirectUrlParamForSignIn}}\\\" rel=\\\"nofollow noopener\\\">\\n              {{#if @isEarlyStage}}\\n                {{tt \\\"sign_up.new.sign_in_to_apply\\\"}}\\n              {{else}}\\n                {{tt \\\"sign_up.new.sign_in\\\"}}\\n              {{/if}}\\n            </a>\\n        </div>\\n      {{/unless}}\\n    </div>\\n      {{yield}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/signup/teams/header-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/teams/header-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nconst STANDARD_STEP_NAMES = ['Create account', 'Confirm plan', 'Start trial'];\nconst EARLY_STAGE_STEP_NAMES = ['Create account', 'Apply for Early Stage', 'Start trial'];\n\nexport default class HeaderComponent extends Component {\n  @service media;\n\n  get stepNames() {\n    if (this.args.isEarlyStage) {\n      return EARLY_STAGE_STEP_NAMES;\n    }\n    return STANDARD_STEP_NAMES;\n  }\n\n  get currentStepName() {\n    return this.stepNames[this.args.navStep - 1];\n  }\n\n  get steps() {\n    if (this.args.isDeveloper) {\n      return [];\n    }\n    let steps = this.stepNames;\n\n    return steps.map((stepLabel, i) => {\n      let navStep = i + 1;\n\n      return {\n        text: `${navStep}. ${stepLabel}`,\n        class: navStep === this.args.navStep ? 'o__current' : '',\n      };\n    });\n  }\n\n  get alreadySignedIn() {\n    return this.args.navStep !== 1;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"signup__teams__heading\\\">\\n  <h2 class=\\\"signup__teams__h2 {{if @isDeveloper \\\"signup__teams__h2--long\\\"}}\\\" data-test-text=\\\"signupHeader\\\">\\n    {{@heading}}\\n  </h2>\\n  {{#if @subHeading}}\\n    <h5 class=\\\"signup__teams__add-ons__subheading\\\">\\n      {{@subHeading}}\\n    </h5>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"signup__teams__heading\\\">\\n  <h2 class=\\\"signup__teams__h2 {{if @isDeveloper \\\"signup__teams__h2--long\\\"}}\\\" data-test-text=\\\"signupHeader\\\">\\n    {{@heading}}\\n  </h2>\\n  {{#if @subHeading}}\\n    <h5 class=\\\"signup__teams__add-ons__subheading\\\">\\n      {{@subHeading}}\\n    </h5>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/signup/teams/heading.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/teams/heading.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"flex signup__teams__mobile-cart__icon\\\"\\n  onclick={{action \\\"toggleCart\\\"}}\\n>\\n  {{inline-svg \\\"signup-teams/cart\\\"}} <div class=\\\"signup__teams__cart-badge\\\">\\n    {{numberOfItems}}\\n  </div>\\n</div>\\n<div\\n  class=\\\"signup__teams__mobile-cart__overlay {{unless showCart \\\"u__hidden\\\"}}\\\"\\n>\\n  <div class=\\\"signup__teams__mobile-cart__display\\\">\\n    <div\\n      class=\\\"signup__teams__trials-text u__padt__20 u__padl__15 u__padr__15\\\"\\n    >\\n      Your 14-day free trial\\n    </div>\\n      <div class=\\\"h-2\\\"></div>\\n    <div class=\\\"u__padl__15 u__padr__15 u__padb__15\\\">\\n      <Signup::Teams::CartSummaryComponent\\n        @productName={{this.productName}}\\n        @formattedTotalAmount={{this.formattedTotalAmount}}\\n        @isEarlyStage={{this.isEarlyStage}}\\n        @productsAndAddOnsWithPrices={{this.productsAndAddOnsWithPrices}}\\n        @mobile={{true}}\\n      />\\n    </div>\\n  </div>\\n  <div\\n    class=\\\"signup__teams__mobile-cart__shim\\\"\\n    onclick={{action \\\"toggleCart\\\"}}\\n  ></div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"flex signup__teams__mobile-cart__icon\\\"\\n  onclick={{action \\\"toggleCart\\\"}}\\n>\\n  {{inline-svg \\\"signup-teams/cart\\\"}} <div class=\\\"signup__teams__cart-badge\\\">\\n    {{numberOfItems}}\\n  </div>\\n</div>\\n<div\\n  class=\\\"signup__teams__mobile-cart__overlay {{unless showCart \\\"u__hidden\\\"}}\\\"\\n>\\n  <div class=\\\"signup__teams__mobile-cart__display\\\">\\n    <div\\n      class=\\\"signup__teams__trials-text u__padt__20 u__padl__15 u__padr__15\\\"\\n    >\\n      Your 14-day free trial\\n    </div>\\n      <div class=\\\"h-2\\\"></div>\\n    <div class=\\\"u__padl__15 u__padr__15 u__padb__15\\\">\\n      <Signup::Teams::CartSummaryComponent\\n        @productName={{this.productName}}\\n        @formattedTotalAmount={{this.formattedTotalAmount}}\\n        @isEarlyStage={{this.isEarlyStage}}\\n        @productsAndAddOnsWithPrices={{this.productsAndAddOnsWithPrices}}\\n        @mobile={{true}}\\n      />\\n    </div>\\n  </div>\\n  <div\\n    class=\\\"signup__teams__mobile-cart__shim\\\"\\n    onclick={{action \\\"toggleCart\\\"}}\\n  ></div>\\n</div>\\n\",\"moduleName\":\"embercom/components/signup/teams/mobile-cart-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/signup/teams/mobile-cart-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-jquery */\nimport CheckoutSidebarComponent from 'embercom/components/signup/teams/checkout-sidebar-component';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport $ from 'jquery';\n\nexport default CheckoutSidebarComponent.extend({\n  classNameBindings: [],\n  numberOfItems: computed('addOnPlanIds', function() {\n    return 1 + (this.get('addOnPlanIds.length') || 0);\n  }),\n\n  showCart: false,\n  isEarlyStage: false,\n  isPro: false,\n  prices: null,\n  solutionId: null,\n  purchaseAnalyticsService: service(),\n\n  init() {\n    this._super(...arguments);\n    this.set('classNames', '');\n  },\n  actions: {\n    toggleCart() {\n      let showCart = this.showCart;\n      let action = showCart ? 'collapsed' : 'expanded';\n      this.purchaseAnalyticsService.trackEvent({\n        action,\n        object: 'cart',\n        context: 'checkout_page',\n        place: 'checkout_page',\n        mobile: true,\n      });\n      this.toggleProperty('showCart');\n      // Prevent body from scrolling when cart is open.\n      $('#signup_body').toggleClass('u__overflow-hidden');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"simple-composer__audience\\\">\\n  <div class=\\\"flex items-start\\\">\\n    <div class=\\\"flex-auto min-w-0 js__audience-users\\\" data-test-audience-users>\\n      {{#if this.displayedUsers}}\\n        <span class=\\\"u__left u__padr__10\\\">To:</span>\\n        {{#each this.displayedUsers as |user index|}}\\n          <SimpleComposerAudienceUserComponent\\n            @isEmailMessage={{@isEmailMessage}}\\n            @user={{user}}\\n            @userCount={{@users.length}}\\n          />\\n        {{/each}}\\n        {{#if this.remainingUserCount}}\\n          <span class=\\\"text-black\\\">and</span>\\n          <IcTooltip as |t|>\\n            <t.opener>\\n              {{this.remainingUserCount}} {{inflector-helper \\\"other\\\" this.remainingUserCount}}\\n            </t.opener>\\n            <t.content>\\n              {{#each this.usersToDisplayInTooltip as |user|}}\\n                <div\\n                  class=\\\"twk__simple-composer__audience-others-tooltip\\n                      flex-initial truncate\\n                      {{if (and @isEmailMessage (or user.unsubscribed_from_emails user.canNotBeEmailed)) \\\"simple-composer__audience__error\\\"}}\\\"\\n                  data-test-audience-others={{user.id}}\\n                >\\n                  {{user.displayAs}}\\n                </div>\\n              {{/each}}\\n              <div\\n                 class=\\\"{{if this.additionalUsersForTooltipHaveErrors \\\"simple-composer__audience__error\\\"}}\\\"\\n                 data-test-audience-others-additional\\n              >\\n                {{this.additionalUsersTextForTooltip}}\\n              </div>\\n            </t.content>\\n          </IcTooltip>\\n        {{/if}}\\n      {{else}}\\n        To: {{@selectedCount}} {{inflector-helper \\\"user\\\" @selectedCount}}\\n      {{/if}}\\n      {{#if (not-eq @selectedCount 1)}}\\n        <IcTooltipIcon class=\\\"u__right\\\" @content=\\\"Each message will be sent separately. Recipients will not see each other.\\\" />\\n      {{/if}}\\n    </div>\\n  </div>\\n  {{#if this.audienceHasErrors}}\\n    <div class=\\\"pt-2 pl-8 simple-composer__audience__error\\\" data-test-audience-error>\\n      Some customers won't receive this message because their email is unknown, they\\n      {{#if (gt @users.length 1)}}\\n        unsubscribed from your emails,\\n      {{/if}}\\n      marked your emails as spam or bounced from previous messages.\\n    </div>\\n  {{/if}}\\n</div>\\n\\n\", {\"contents\":\"<div class=\\\"simple-composer__audience\\\">\\n  <div class=\\\"flex items-start\\\">\\n    <div class=\\\"flex-auto min-w-0 js__audience-users\\\" data-test-audience-users>\\n      {{#if this.displayedUsers}}\\n        <span class=\\\"u__left u__padr__10\\\">To:</span>\\n        {{#each this.displayedUsers as |user index|}}\\n          <SimpleComposerAudienceUserComponent\\n            @isEmailMessage={{@isEmailMessage}}\\n            @user={{user}}\\n            @userCount={{@users.length}}\\n          />\\n        {{/each}}\\n        {{#if this.remainingUserCount}}\\n          <span class=\\\"text-black\\\">and</span>\\n          <IcTooltip as |t|>\\n            <t.opener>\\n              {{this.remainingUserCount}} {{inflector-helper \\\"other\\\" this.remainingUserCount}}\\n            </t.opener>\\n            <t.content>\\n              {{#each this.usersToDisplayInTooltip as |user|}}\\n                <div\\n                  class=\\\"twk__simple-composer__audience-others-tooltip\\n                      flex-initial truncate\\n                      {{if (and @isEmailMessage (or user.unsubscribed_from_emails user.canNotBeEmailed)) \\\"simple-composer__audience__error\\\"}}\\\"\\n                  data-test-audience-others={{user.id}}\\n                >\\n                  {{user.displayAs}}\\n                </div>\\n              {{/each}}\\n              <div\\n                 class=\\\"{{if this.additionalUsersForTooltipHaveErrors \\\"simple-composer__audience__error\\\"}}\\\"\\n                 data-test-audience-others-additional\\n              >\\n                {{this.additionalUsersTextForTooltip}}\\n              </div>\\n            </t.content>\\n          </IcTooltip>\\n        {{/if}}\\n      {{else}}\\n        To: {{@selectedCount}} {{inflector-helper \\\"user\\\" @selectedCount}}\\n      {{/if}}\\n      {{#if (not-eq @selectedCount 1)}}\\n        <IcTooltipIcon class=\\\"u__right\\\" @content=\\\"Each message will be sent separately. Recipients will not see each other.\\\" />\\n      {{/if}}\\n    </div>\\n  </div>\\n  {{#if this.audienceHasErrors}}\\n    <div class=\\\"pt-2 pl-8 simple-composer__audience__error\\\" data-test-audience-error>\\n      Some customers won't receive this message because their email is unknown, they\\n      {{#if (gt @users.length 1)}}\\n        unsubscribed from your emails,\\n      {{/if}}\\n      marked your emails as spam or bounced from previous messages.\\n    </div>\\n  {{/if}}\\n</div>\\n\\n\",\"moduleName\":\"embercom/components/simple-composer-audience-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/simple-composer-audience-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\nimport { scheduleOnce } from '@ember/runloop';\nimport $ from 'jquery';\nimport { observer, computed } from '@ember/object';\nimport EmberArray from '@ember/array';\nimport Component from '@ember/component';\nimport { subtractProperties } from '@intercom/embercom-core/lib/computed-properties';\nimport MeasureHtml from 'embercom/lib/measure-html';\nimport pluralise from 'embercom/lib/inflector';\nimport { addEventListener, runDisposables } from 'ember-lifeline';\n\nconst USER_HTML_TEMPLATE =\n  '<div class=\"ember-view u__left\"><div class=\"avatar__container o__s content-editor__sample-user\"><span class=\"ember-view avatar o__contained o__s\"><span class=\"avatar__media\">LC</span></span><a class=\"ember-view\" href=\"#\">%@</a>, </div></div>';\n\nexport default Component.extend({\n  tagName: '',\n\n  users: EmberArray,\n  selectedCount: 0,\n\n  // space for the `and 100 others` text\n  andNOthersWidth: 65,\n\n  // space for the right tooltip\n  rightPadding: 20,\n\n  availableWidth: subtractProperties('width', 'rightPadding'),\n  availableWidthWithoutAndNOthers: subtractProperties('availableWidth', 'andNOthersWidth'),\n\n  didInsertElement() {\n    this._super();\n    addEventListener(this, window, 'resize', () => this.scheduleUpdateAudienceWidth());\n    let $container = $('.js__audience-users', this.element);\n    this.set('measureHtml', new MeasureHtml($container[0], USER_HTML_TEMPLATE, false));\n    this.scheduleUpdateAudienceWidth();\n  },\n\n  destroy() {\n    this._super(...arguments);\n    runDisposables(this);\n  },\n\n  scheduleUpdateAudienceWidth: observer({\n    dependentKeys: ['users.length'],\n\n    fn() {\n      scheduleOnce('afterRender', this, this.updateAudienceWidth);\n    },\n\n    sync: true,\n  }),\n\n  updateAudienceWidth() {\n    let $container = $('.js__audience-users', this.element);\n    this.set('width', $container.width());\n\n    let measureHtml = this.measureHtml;\n    this.users.forEach(user => {\n      let uiWidth = measureHtml.measure([`\\n${user.get('displayAs')}\\n`]);\n      user.set('uiWidth', uiWidth);\n    });\n\n    measureHtml.clear();\n    this.notifyPropertyChange('displayableUserCount');\n  },\n\n  displayableUserCount: computed('users.length', function() {\n    if (!this.width) {\n      return 0;\n    }\n    return this._getDisplayableUserCount(this.users, this.availableWidthWithoutAndNOthers);\n  }),\n\n  audienceHasErrors: computed(\n    'isEmailMessage',\n    'users.@each.{unsubscribed_from_emails,canNotBeEmailed}',\n    function() {\n      if (!this.isEmailMessage) {\n        return false;\n      }\n      if (this.users.length > 1 && this.users.any(user => user.unsubscribed_from_emails)) {\n        return true;\n      }\n      return this.users.any(user => user.canNotBeEmailed);\n    },\n  ),\n\n  displayedUsers: computed('users.length', 'displayableUserCount', function() {\n    return this.users.slice(0, this.displayableUserCount);\n  }),\n\n  remainingUsers: computed('users.length', 'displayableUserCount', function() {\n    return this.users.slice(this.displayableUserCount, this.get('users.length'));\n  }),\n\n  remainingUserCount: subtractProperties('selectedCount', 'displayableUserCount'),\n\n  usersToDisplayInTooltip: computed('remainingUsers', function() {\n    let userLimitInTooltip = 15;\n    return this.remainingUsers.slice(0, userLimitInTooltip);\n  }),\n\n  additionalUsersForTooltip: computed('remainingUsers', 'usersToDisplayInTooltip', function() {\n    return this.remainingUsers.filter(user => !this.usersToDisplayInTooltip.includes(user));\n  }),\n\n  additionalUsersTextForTooltip: computed('remainingUsers', 'usersToDisplayInTooltip', function() {\n    let additionalUserCount = this.additionalUsersForTooltip.length;\n    if (additionalUserCount > 0) {\n      let userOrUsers = pluralise('other', additionalUserCount);\n      return `and ${additionalUserCount} ${userOrUsers}`;\n    }\n  }),\n\n  additionalUsersForTooltipHaveErrors: computed(\n    'isEmailMessage',\n    'additionalUsersForTooltip.@each.{unsubscribed_from_emails,canNotBeEmailed}',\n    function() {\n      if (!this.isEmailMessage) {\n        return false;\n      }\n      return this.additionalUsersForTooltip.any(\n        user => user.unsubscribed_from_emails || user.canNotBeEmailed,\n      );\n    },\n  ),\n\n  _getDisplayableUserCount(users, availableWidth) {\n    let displayableCount = 0;\n    let cumulativeWidth = 0;\n    users.forEach(user => {\n      cumulativeWidth += user.get('uiWidth');\n      if (cumulativeWidth <= availableWidth) {\n        displayableCount += 1;\n      }\n    });\n\n    return displayableCount;\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- NOTE: If you modify this, please also modify `USER_HTML_TEMPLATE` in simple-composer-audience-component.js --}}\\n<div class=\\\"u__left simple-composer__audience-user\\\">\\n  <div class=\\\"avatar__container o__s content-editor__sample-user\\\">\\n    <IcAvatarComponent @model={{@user}} @contained={{true}} @size=\\\"s\\\" data-test-audience-user-avatar={{@user.id}} />\\n    <LinkTo @route=\\\"apps.app.users.user\\\" @model={{@user.id}} target=\\\"_blank\\\"\\n            class=\\\"{{if this.isError \\\"simple-composer__audience__error\\\"}}\\\"\\n            data-test-audience-user-link={{@user.id}}\\n    >\\n      {{@user.displayAs}}\\n    </LinkTo>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- NOTE: If you modify this, please also modify `USER_HTML_TEMPLATE` in simple-composer-audience-component.js --}}\\n<div class=\\\"u__left simple-composer__audience-user\\\">\\n  <div class=\\\"avatar__container o__s content-editor__sample-user\\\">\\n    <IcAvatarComponent @model={{@user}} @contained={{true}} @size=\\\"s\\\" data-test-audience-user-avatar={{@user.id}} />\\n    <LinkTo @route=\\\"apps.app.users.user\\\" @model={{@user.id}} target=\\\"_blank\\\"\\n            class=\\\"{{if this.isError \\\"simple-composer__audience__error\\\"}}\\\"\\n            data-test-audience-user-link={{@user.id}}\\n    >\\n      {{@user.displayAs}}\\n    </LinkTo>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/simple-composer-audience-user-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/simple-composer-audience-user-component.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class SimpleComposerAudienceUserComponent extends Component {\n  get isError() {\n    if (!this.args.isEmailMessage) {\n      return false;\n    }\n\n    if (this.args.userCount > 1 && this.args.user.unsubscribed_from_emails) {\n      return true;\n    }\n\n    return this.args.user.canNotBeEmailed;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"modal__overlay u__center-layout\\\">\\n  <div class=\\\"modal__overlay__inner\\\">\\n    <div class=\\\"modal {{modalClass}}\\\">\\n      {{yield}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"modal__overlay u__center-layout\\\">\\n  <div class=\\\"modal__overlay__inner\\\">\\n    <div class=\\\"modal {{modalClass}}\\\">\\n      {{yield}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/simple-composer-modal-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/simple-composer-modal-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport ENV from 'embercom/config/environment';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport ModalComponent from 'embercom/components/modal-component';\nimport { addEventListener, runDisposables } from 'ember-lifeline';\nimport RunMixin from 'ember-lifeline/mixins/run';\n\nexport default ModalComponent.extend(RunMixin, {\n  didInsertElement() {\n    this._super(...arguments);\n    this.updateMaxHeight();\n    addEventListener(this, window, 'resize', () => this.updateMaxHeight());\n  },\n  destroy() {\n    this._super(...arguments);\n    runDisposables(this);\n  },\n  updateMaxHeight() {\n    this.throttleTask('_updateMaxHeight', ENV.APP._80MS);\n  },\n  _updateMaxHeight() {\n    let maxModalHeight = $(document).height() * 0.9;\n    let $editor = $('.simple-composer__editor').css('max-height', '');\n    let currentModalHeight = $('.modal').height();\n    let currentEditorHeight = $editor.height();\n    let newEditorHeight = maxModalHeight - currentModalHeight + currentEditorHeight;\n    if (newEditorHeight > currentEditorHeight) {\n      $editor.css('max-height', Math.floor(newEditorHeight));\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport { observer } from '@ember/object';\nimport $ from 'jquery';\nimport { schedule } from '@ember/runloop';\nimport { on } from '@ember/object/evented';\nimport TextArea from '@ember/component/text-area';\nexport default TextArea.extend({\n  maxHeight: 99999,\n  isDisabled: false,\n  textInitiator: on('init', function() {\n    schedule('afterRender', this, this.resizeTextArea);\n  }),\n  resizeTextArea() {\n    let borderTop = parseFloat($(this.element).css('borderTopWidth'));\n    let borderBottom = parseFloat($(this.element).css('borderBottomWidth'));\n    let newHeight = $(this.element)[0].scrollHeight + borderTop + borderBottom;\n    let currentOuterHeight = $(this.element).outerHeight();\n    if (currentOuterHeight < this.maxHeight && currentOuterHeight < newHeight) {\n      $(this.element).height(newHeight);\n    }\n  },\n  triggerResize: observer({\n    dependentKeys: ['forceResizeTextArea'],\n\n    fn() {\n      if (this.forceResizeTextArea !== undefined) {\n        schedule('afterRender', this, this.resizeTextArea);\n      }\n    },\n\n    sync: true,\n  }),\n  handleKeyDown: on('keyDown', function() {\n    this.resizeTextArea();\n  }),\n  actions: {\n    forceResizeTextArea() {\n      this.resizeTextArea();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<li><a href=\\\"{{filterUrl}}\\\">{{value}}</a></li>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<li><a href=\\\"{{filterUrl}}\\\">{{value}}</a></li>\\n\",\"moduleName\":\"embercom/components/simple-tag-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/simple-tag-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { computed } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport AttributeComponent from 'embercom/components/attribute-component';\nimport B64FilterParamEncoder from 'embercom/vendor/intercom/b64-filter-param-encoder';\n\nlet SimpleTagComponent = AttributeComponent.extend({\n  value: alias('tagModel.name'),\n  filterUrl: computed('userOrCompany', 'attribute', 'tagModel.predicate', function() {\n    return B64FilterParamEncoder.filterUrlFromPredicate(\n      this.userOrCompany,\n      this.attribute,\n      this.get('tagModel.predicate'),\n    );\n  }),\n});\n\nexport default SimpleTagComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col items-center\\\" data-test-sms-editor {{did-update this.setupCurrentModel @sms}}>\\n  <div class=\\\"flex flex-col sms__editor-chrome\\\">\\n    <div class=\\\"sms__editor-app-name\\\">\\n      {{this.appService.app.name}}\\n    </div>\\n    <div class=\\\"sms__editor-bubble\\\">\\n       <ComposerV2\\n        @app={{this.appSevice.app}}\\n        @attributes={{this.attributeService.userEditorAttributes}}\\n        @preset={{this.preset}}\\n        @blocks={{this.serializedBlocks}}\\n        @actionReceiver={{this.composer}}\\n        @placeholder=\\\"Add your SMS content...\\\"\\n        @onChange={{this.updateBlocks}}\\n        data-test-sms-composer\\n      />\\n    </div>\\n  </div>\\n</div>\", {\"contents\":\"<div class=\\\"flex flex-col items-center\\\" data-test-sms-editor {{did-update this.setupCurrentModel @sms}}>\\n  <div class=\\\"flex flex-col sms__editor-chrome\\\">\\n    <div class=\\\"sms__editor-app-name\\\">\\n      {{this.appService.app.name}}\\n    </div>\\n    <div class=\\\"sms__editor-bubble\\\">\\n       <ComposerV2\\n        @app={{this.appSevice.app}}\\n        @attributes={{this.attributeService.userEditorAttributes}}\\n        @preset={{this.preset}}\\n        @blocks={{this.serializedBlocks}}\\n        @actionReceiver={{this.composer}}\\n        @placeholder=\\\"Add your SMS content...\\\"\\n        @onChange={{this.updateBlocks}}\\n        data-test-sms-composer\\n      />\\n    </div>\\n  </div>\\n</div>\",\"moduleName\":\"embercom/components/sms/editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/sms/editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport createFragmentFromBlock from 'embercom/lib/blocks/create-fragment-from-block';\nimport { schedule } from '@ember/runloop';\n\nexport default class SmsEditorComponent extends Component {\n  @service attributeService;\n  @service appService;\n  @service store;\n\n  @tracked serializedBlocks;\n  @tracked currentSmsContent;\n\n  hoverAreaPadding = {\n    top: 10,\n    left: 5,\n    right: 50,\n    bottom: 10,\n  };\n\n  get preset() {\n    return this.args.isEditing ? 'pushOnly' : 'pushOnlyReadOnly';\n  }\n\n  constructor() {\n    super(...arguments);\n    this.serializedBlocks = [];\n    this.setupCurrentModel();\n  }\n\n  @action\n  setupCurrentModel() {\n    this.currentSmsContent = this.args.sms.localizedSmsMessageContents.firstObject;\n    schedule('afterRender', () => {\n      this.serializedBlocks = this.currentSmsContent.bodyBlocks.serialize();\n      if (this.composer) {\n        this.composer.send('load', this.serializedBlocks);\n      }\n    });\n  }\n\n  @action\n  updateBlocks() {\n    let blocks = this.composer.getBlocks();\n    let blockFragments = blocks.map(block => createFragmentFromBlock(this.store, block));\n    this.currentSmsContent.set('bodyBlocks', blockFragments);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-start u__mt__10\\\">\\n  {{!-- \\\"Edit\\\" mode is disabled for LinkedIn integration, more info here https://github.com/intercom/intercom/issues/97602#issuecomment-613965084 --}}\\n  {{#if (or (not-eq provider \\\"linkedin\\\") model)}}\\n    <span class=\\\"u__mr__10\\\">\\n      {{ic-interface-icon provider color=\\\"gray\\\" solo=true}}\\n    </span>\\n    <span class=\\\"flex-auto min-w-0\\\">\\n      <span class=\\\"flex items-center social-connect__{{provider}}\\\">\\n        {{#if model}}\\n          <span class=\\\"u__mr__10\\\">\\n            <a\\n              href=\\\"{{model.profileUrl}}\\\"\\n              class=\\\"t__solo-link\\\"\\n              target=\\\"_blank\\\"\\n              rel=\\\"noopener noreferrer\\\"\\n            >\\n              {{model.username}}\\n            </a>\\n          </span>\\n          {{#if editableMode}}\\n            {{#if showDeleteButton}}\\n              <span class=\\\"flex-auto min-w-0\\\">\\n                <IcTooltip as |t|>\\n                  <t.opener>\\n                    <a\\n                      href=\\\"#\\\"\\n                      class=\\\"social-connect__delete-icon\\\"\\n                      {{on 'click' this.deleteSocialAccount}}\\n                    >\\n                      {{ic-interface-icon \\\"close\\\" solo=true}}\\n                    </a>\\n                  </t.opener>\\n                  <t.content>\\n                    Disconnect your {{provider}} account\\n                  </t.content>\\n                </IcTooltip>\\n              </span>\\n            {{/if}}\\n          {{/if}}\\n        {{else}}\\n          {{#if editableMode}}\\n            <a\\n              href=\\\"#\\\"\\n              class=\\\"t__em-link\\\"\\n              {{on 'click' this.openDialogBox}}\\n            >\\n              {{linkText}}\\n            </a>\\n          {{else}}\\n            <span class=\\\"text-gray\\\">\\n              {{placeholderText}}\\n            </span>\\n          {{/if}}\\n        {{/if}}\\n      </span>\\n    </span>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-start u__mt__10\\\">\\n  {{!-- \\\"Edit\\\" mode is disabled for LinkedIn integration, more info here https://github.com/intercom/intercom/issues/97602#issuecomment-613965084 --}}\\n  {{#if (or (not-eq provider \\\"linkedin\\\") model)}}\\n    <span class=\\\"u__mr__10\\\">\\n      {{ic-interface-icon provider color=\\\"gray\\\" solo=true}}\\n    </span>\\n    <span class=\\\"flex-auto min-w-0\\\">\\n      <span class=\\\"flex items-center social-connect__{{provider}}\\\">\\n        {{#if model}}\\n          <span class=\\\"u__mr__10\\\">\\n            <a\\n              href=\\\"{{model.profileUrl}}\\\"\\n              class=\\\"t__solo-link\\\"\\n              target=\\\"_blank\\\"\\n              rel=\\\"noopener noreferrer\\\"\\n            >\\n              {{model.username}}\\n            </a>\\n          </span>\\n          {{#if editableMode}}\\n            {{#if showDeleteButton}}\\n              <span class=\\\"flex-auto min-w-0\\\">\\n                <IcTooltip as |t|>\\n                  <t.opener>\\n                    <a\\n                      href=\\\"#\\\"\\n                      class=\\\"social-connect__delete-icon\\\"\\n                      {{on 'click' this.deleteSocialAccount}}\\n                    >\\n                      {{ic-interface-icon \\\"close\\\" solo=true}}\\n                    </a>\\n                  </t.opener>\\n                  <t.content>\\n                    Disconnect your {{provider}} account\\n                  </t.content>\\n                </IcTooltip>\\n              </span>\\n            {{/if}}\\n          {{/if}}\\n        {{else}}\\n          {{#if editableMode}}\\n            <a\\n              href=\\\"#\\\"\\n              class=\\\"t__em-link\\\"\\n              {{on 'click' this.openDialogBox}}\\n            >\\n              {{linkText}}\\n            </a>\\n          {{else}}\\n            <span class=\\\"text-gray\\\">\\n              {{placeholderText}}\\n            </span>\\n          {{/if}}\\n        {{/if}}\\n      </span>\\n    </span>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/social-connect-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/social-connect-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport $ from 'jquery';\nimport { bind } from '@ember/runloop';\nimport { on } from '@ember/object/evented';\nimport safeWindowOpen from 'embercom/lib/safe-window-open';\n\nlet SocialConnectComponent = Component.extend({\n  setup: on('didInsertElement', function() {\n    $(`.social-connect__${this.provider}`, this.element)\n      .on(\n        'socialConnectSuccess',\n        bind(this, function() {\n          this.successAction(this.provider);\n        }),\n      )\n      .on(\n        'socialConnectFailure',\n        bind(this, function() {\n          this.failureAction(this.provider);\n        }),\n      );\n  }),\n  teardown: on('willDestroyElement', function() {\n    $(`.social-connect__${this.provider}`, this.element).off(\n      'socialConnectSuccess socialConnectFailure',\n    );\n  }),\n  commonOptions: 'menubar=no,location=no,resizable=no,scrollbars=no,status=no',\n  target: alias('targetObject'),\n  dimensions: {\n    twitter: {\n      width: 800,\n      height: 600,\n    },\n    linkedin: {\n      width: 843,\n      height: 584,\n    },\n  },\n  mouseEnter() {\n    this.set('showDeleteButton', true);\n  },\n  mouseLeave() {\n    this.set('showDeleteButton', false);\n  },\n  windowDimensions() {\n    return this.dimensions[this.provider];\n  },\n  computeWindowPositions(dimensions) {\n    let left = window.screen.width / 2 - dimensions.width / 2;\n    let top = window.screen.height / 2 - dimensions.height / 2;\n\n    return { left, top };\n  },\n  windowOptions() {\n    let dimensions = this.windowDimensions();\n    let position = this.computeWindowPositions(dimensions);\n\n    return `${this.commonOptions},width=${dimensions.width},height=${dimensions.height},top=${position.top},left=${position.left}`;\n  },\n  url() {\n    let host = window.location.host;\n\n    return `//${host}/auth/${this.provider}?${this.params}`;\n  },\n\n  openDialogBox: action(function() {\n    safeWindowOpen(this.url(), this.placeholderText, this.windowOptions());\n  }),\n  deleteSocialAccount: action(function() {\n    this.deleteAction(this.model, this.provider);\n  }),\n});\n\nexport default SocialConnectComponent;\n","import sortableGroup from 'ember-sortable/components/sortable-group';\n\nexport default sortableGroup;\n","import sortableHandle from 'ember-sortable/components/sortable-handle';\n\nexport default sortableHandle;\n\n","import sortableItem from 'ember-sortable/components/sortable-item';\n\nexport default sortableItem;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-on-calls-in-components */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { get, set } from '@ember/object';\nimport $ from 'jquery';\nimport { bind } from '@ember/runloop';\nimport { on } from '@ember/object/evented';\nimport Component from '@ember/component';\nexport default Component.extend({\n  componentIsSortableArea: false,\n  sortableAreaSelector: null,\n  draggableItemSelector: null,\n  draggableHandleSelector: null,\n  draggableGhostClass: null,\n  animationTime: 150,\n  requiresTableGhostFix: false,\n  items: [],\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.updateInternallySortedItems();\n  },\n\n  updateInternallySortedItems() {\n    let sortedItems = this.items.sortBy(this.sortableAttribute);\n    this.set('sortedItems', sortedItems);\n  },\n\n  sortableArea() {\n    return this.componentIsSortableArea\n      ? $(this.element)[0]\n      : $(this.sortableAreaSelector, this.element)[0];\n  },\n\n  setUpSortable: on('didInsertElement', function() {\n    let sortableArea = this.sortableArea();\n    let sortable = Sortable.create(sortableArea, {\n      animation: this.animationTime,\n      draggable: this.draggableItemSelector,\n      handle: this.draggableHandleSelector,\n      ghostClass: this.draggableGhostClass,\n      forceFallback: this.requiresTableGhostFix, // Due to Chromium bug https://code.google.com/p/chromium/issues/detail?id=511757 we can't use default dragging behaviour\n      fallbackClass: 'o__sortable-fallback',\n      onEnd: bind(this, this.onDraggingEnd),\n    });\n    this.set('sortable', sortable);\n  }),\n\n  onDraggingEnd(event) {\n    Em.changeProperties(() => {\n      if (event.newIndex !== undefined && event.oldIndex !== event.newIndex) {\n        let itemId = get(this.sortedItems.objectAt(event.oldIndex), 'id');\n        this._updateOrdering(itemId, event.oldIndex, event.newIndex);\n        // eslint-disable-next-line ember/closure-actions\n        this.sendAction('listOrderingChanged', itemId, event.oldIndex, event.newIndex);\n      }\n    });\n    this.updateInternallySortedItems();\n  },\n\n  tearDownSortable: on('willDestroyElement', function() {\n    if (this.sortable) {\n      this.sortable.destroy();\n    }\n  }),\n\n  _updateOrdering(updatedItemId, oldIndex, newIndex) {\n    if (newIndex > oldIndex) {\n      this._shiftItemsUp(updatedItemId, oldIndex, newIndex);\n    } else if (newIndex < oldIndex) {\n      this._shiftItemsDown(updatedItemId, oldIndex, newIndex);\n    }\n  },\n\n  _shiftItemsDown(updatedItemId, oldIndex, newIndex) {\n    let sortedItems = this.sortedItems;\n    let sortableAttribute = this.sortableAttribute;\n    for (let i = newIndex, j = newIndex + 1; i < oldIndex; i++) {\n      let currentItem = sortedItems.objectAt(i);\n      if (get(currentItem, 'id') !== updatedItemId) {\n        set(currentItem, sortableAttribute, j);\n        j++;\n      }\n    }\n    set(sortedItems.objectAt(oldIndex), sortableAttribute, newIndex);\n  },\n\n  _shiftItemsUp(updatedItemId, oldIndex, newIndex) {\n    let sortedItems = this.sortedItems;\n    let sortableAttribute = this.sortableAttribute;\n    for (let i = 0, j = 0; i <= newIndex; i++) {\n      let currentItem = sortedItems.objectAt(i);\n      if (get(currentItem, 'id') !== updatedItemId) {\n        set(currentItem, sortableAttribute, j);\n        j++;\n      }\n    }\n    set(sortedItems.objectAt(oldIndex), sortableAttribute, newIndex);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureKey={{this.featureKey}} class=\\\"u__display-inline-block\\\" as |paywall|>\\n  {{#if hasBlock}}\\n    <a data-test-product-trial-block-link\\n      {{on \\\"click\\\" (queue\\n        (track-analytics-event\\n          action='clicked'\\n          object=(concat \\\"try_\\\" @product.id)\\n          context='pre_purchase_banner'\\n        )\\n        paywall.openUpgradeModal\\n      )}}\\n    >\\n      <b>{{yield}}</b>\\n    </a>\\n  {{~else}}\\n    <a data-test-product-trial-inline-link\\n      {{on \\\"click\\\" (queue\\n        (track-analytics-event\\n          action='clicked'\\n          object=(concat \\\"try_\\\" @product.id)\\n          context='pre_purchase_banner'\\n        )\\n        paywall.openUpgradeModal\\n      )}}\\n    >\\n      <b>{{this.productTrialText}}</b>\\n    </a>\\n  {{/if}}\\n</Paywall>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureKey={{this.featureKey}} class=\\\"u__display-inline-block\\\" as |paywall|>\\n  {{#if hasBlock}}\\n    <a data-test-product-trial-block-link\\n      {{on \\\"click\\\" (queue\\n        (track-analytics-event\\n          action='clicked'\\n          object=(concat \\\"try_\\\" @product.id)\\n          context='pre_purchase_banner'\\n        )\\n        paywall.openUpgradeModal\\n      )}}\\n    >\\n      <b>{{yield}}</b>\\n    </a>\\n  {{~else}}\\n    <a data-test-product-trial-inline-link\\n      {{on \\\"click\\\" (queue\\n        (track-analytics-event\\n          action='clicked'\\n          object=(concat \\\"try_\\\" @product.id)\\n          context='pre_purchase_banner'\\n        )\\n        paywall.openUpgradeModal\\n      )}}\\n    >\\n      <b>{{this.productTrialText}}</b>\\n    </a>\\n  {{/if}}\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/start-product-trial-link.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/start-product-trial-link.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport { PRODUCTS } from 'embercom/lib/billing';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  tagName: 'span',\n  classNames: ['start-product-trial-link'],\n\n  product: null,\n\n  productTrialText: computed('product.trialable', 'product.name', function() {\n    let productName = this.get('product.name');\n\n    if (this.get('product.trialable')) {\n      return `start a free trial of ${productName}`;\n    } else {\n      return `get ${productName}`;\n    }\n  }),\n\n  featureKey: computed('product', function() {\n    return PRODUCTS[this.get('product.id')]?.uniqueFeatureKey;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{yield}}\\n\", {\"contents\":\"{{yield}}\\n\",\"moduleName\":\"embercom/components/start/body-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/start/body-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  classNames: 'start__wrapper',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h2 class=\\\"start__h2__v2\\\">\\n  {{this.heading}}\\n</h2>\\n{{#if subHeading}}\\n  <div class=\\\"h-2\\\"></div>\\n  <p class=\\\"start__instructions t__light-text\\\">\\n    {{subHeading}}\\n  </p>\\n  <div class=\\\"h-5\\\"></div>\\n{{/if}}\\n{{yield}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h2 class=\\\"start__h2__v2\\\">\\n  {{this.heading}}\\n</h2>\\n{{#if subHeading}}\\n  <div class=\\\"h-2\\\"></div>\\n  <p class=\\\"start__instructions t__light-text\\\">\\n    {{subHeading}}\\n  </p>\\n  <div class=\\\"h-5\\\"></div>\\n{{/if}}\\n{{yield}}\\n\",\"moduleName\":\"embercom/components/start/description-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/start/description-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  classNames: 'start__description',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if networkError}}\\n  <div class=\\\"start__network-error-banner\\\">\\n    {{networkError}}\\n  </div>\\n  <div class=\\\"h-5\\\"></div>\\n{{/if}}\\n<div class=\\\"{{if splitView \\\"layout__box o__has-columns o__centers-all\\\"}}\\\">\\n  {{#if showSaml}}\\n    <div class=\\\"layout__box o__has-rows\\\" data-test-saml>\\n      <div class=\\\"start__body-text\\\">\\n        By clicking “Sign up with SAML SSO” you agree to Intercom’s\\n        <a\\n          href=\\\"https://www.intercom.com/terms-of-service\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n          class=\\\"text-blue-dark\\\"\\n        >\\n          Terms of Service\\n        </a>\\n        and\\n        <a\\n          href=\\\"https://www.intercom.com/privacy\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n          class=\\\"text-blue-dark\\\"\\n        >\\n          Privacy Policy\\n        </a>\\n      </div>\\n      <div class=\\\"h-2\\\"></div>\\n      <IcButton\\n        @label=\\\"Sign up with SAML SSO\\\"\\n        @type=\\\"primary\\\"\\n        @fit={{true}}\\n        class=\\\"signup__teams__button o__primary o__font-18 signup__teams__register-button\\\"\\n        onclick={{action \\\"startSamlAuth\\\" @samlAccountName @inviteToken}}\\n        data-test-button-saml\\n      />\\n      <div class=\\\"h-5\\\"></div>\\n    </div>\\n  {{/if}}\\n  {{#if showSSO}}\\n    <div class=\\\"layout__box o__has-rows\\\" data-test-google-sso>\\n      {{#if hasInviteToken}}\\n        <Start::TermsComponent\\n          @key=\\\"sign_up.start.form.terms_of_service_sso_invite_sign_up\\\"\\n        />\\n      {{/if}}\\n      <div class=\\\"h-2\\\"></div>\\n      <button\\n        class=\\\"layout__box o__has-columns o__flexes-to-1 u__center-layout start__button o__primary o__google\\\"\\n        onclick={{action \\\"startGoogleAuth\\\"}}\\n      >\\n        <div class=\\\"layout__box start__invite__sign-in-with-google__logo\\\"></div>\\n        <div class=\\\"layout__box o__flexes-to-1 start__button__text\\\">\\n          {{tt \\\"sign_up.start.google_sso.cta\\\"}}\\n        </div>\\n      </button>\\n    </div>\\n  {{/if}}\\n  {{#if (and (or showSSO showSaml) allowEmailPassword)}}\\n    <div class=\\\"h-5\\\"></div>\\n    <div class=\\\"start__option-divider\\\" data-test-auth-method-divider>\\n      <div class=\\\"u__padr__10 u__padl__10\\\">\\n        {{tt \\\"sign_up.start.option_divider\\\"}}\\n      </div>\\n    </div>\\n    <div class=\\\"h-2\\\"></div>\\n  {{/if}}\\n  <form onsubmit={{action \\\"submitForm\\\"}}>\\n    {{#if allowEmailPassword}}\\n      {{#unless viaSingleSignOn}}\\n        {{#if showNameField}}\\n          <Start::FormFieldComponent\\n            @label={{tt \\\"sign_up.start.form.name\\\"}}\\n            @error={{nameError}}\\n          >\\n            <Input\\n              @value={{name}}\\n              placeholder={{tt \\\"sign_up.start.form.name_placeholder\\\"}}\\n              data-test-input=\\\"name\\\"\\n              class=\\\"start__input {{if nameError \\\"o__error\\\"}}\\\"\\n            />\\n          </Start::FormFieldComponent>\\n        {{/if}}\\n        <Start::FormFieldComponent\\n          @label={{tt \\\"sign_up.start.form.work_email\\\"}}\\n          @error={{if\\n            personalEmailDomain\\n            (tt \\\"sign_up.start.form.work_email_alert\\\")\\n            emailError\\n          }}\\n        >\\n          <Input\\n            @disabled={{inviteIsEmail}}\\n            @value={{email}}\\n            placeholder={{tt \\\"sign_up.start.form.work_email_placeholder\\\"}}\\n            data-test-input=\\\"email\\\"\\n            class=\\\"start__input {{if emailError \\\"o__error\\\"}}\\\"\\n          />\\n        </Start::FormFieldComponent>\\n        <Start::FormFieldComponent\\n          @label={{tt \\\"sign_up.start.form.password\\\"}}\\n          @error={{passwordError}}\\n        >\\n          <Input\\n            @type=\\\"password\\\"\\n            @value={{password}}\\n            placeholder={{tt \\\"sign_up.start.form.password_placeholder\\\"}}\\n            data-test-input=\\\"password\\\"\\n            class=\\\"start__input {{if passwordError \\\"o__error\\\"}}\\\"\\n          />\\n        </Start::FormFieldComponent>\\n      {{/unless}}\\n      <div class=\\\"h-5\\\"></div>\\n        <Start::TermsComponent\\n          @key=\\\"sign_up.start.form.terms_of_service_create_account\\\"\\n        />\\n      <div class=\\\"h-2\\\"></div>\\n      <div class=\\\"layout__box o__has-rows\\\">\\n        <button\\n          class=\\\"start__button o__primary\\\"\\n          onclick={{action \\\"submitForm\\\"}}\\n          disabled={{formTask.isRunning}}\\n          data-test-create=\\\"account\\\"\\n        >\\n          <div class=\\\"layout__box o__flexes-to-1\\\">\\n            {{#if formTask.isRunning}}\\n              <IcLoadingIndicator @size=\\\"tiny\\\" @inline={{true}} />\\n              {{tt \\\"sign_up.start.form.submitting\\\"}}\\n            {{else}}\\n              {{#if buttonCta}}\\n                {{buttonCta}}\\n              {{else}}\\n                {{tt \\\"sign_up.start.form.submit\\\"}}\\n              {{/if}}\\n            {{/if}}\\n          </div>\\n        </button>\\n      </div>\\n    {{/if}}\\n  </form>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if networkError}}\\n  <div class=\\\"start__network-error-banner\\\">\\n    {{networkError}}\\n  </div>\\n  <div class=\\\"h-5\\\"></div>\\n{{/if}}\\n<div class=\\\"{{if splitView \\\"layout__box o__has-columns o__centers-all\\\"}}\\\">\\n  {{#if showSaml}}\\n    <div class=\\\"layout__box o__has-rows\\\" data-test-saml>\\n      <div class=\\\"start__body-text\\\">\\n        By clicking “Sign up with SAML SSO” you agree to Intercom’s\\n        <a\\n          href=\\\"https://www.intercom.com/terms-of-service\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n          class=\\\"text-blue-dark\\\"\\n        >\\n          Terms of Service\\n        </a>\\n        and\\n        <a\\n          href=\\\"https://www.intercom.com/privacy\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n          class=\\\"text-blue-dark\\\"\\n        >\\n          Privacy Policy\\n        </a>\\n      </div>\\n      <div class=\\\"h-2\\\"></div>\\n      <IcButton\\n        @label=\\\"Sign up with SAML SSO\\\"\\n        @type=\\\"primary\\\"\\n        @fit={{true}}\\n        class=\\\"signup__teams__button o__primary o__font-18 signup__teams__register-button\\\"\\n        onclick={{action \\\"startSamlAuth\\\" @samlAccountName @inviteToken}}\\n        data-test-button-saml\\n      />\\n      <div class=\\\"h-5\\\"></div>\\n    </div>\\n  {{/if}}\\n  {{#if showSSO}}\\n    <div class=\\\"layout__box o__has-rows\\\" data-test-google-sso>\\n      {{#if hasInviteToken}}\\n        <Start::TermsComponent\\n          @key=\\\"sign_up.start.form.terms_of_service_sso_invite_sign_up\\\"\\n        />\\n      {{/if}}\\n      <div class=\\\"h-2\\\"></div>\\n      <button\\n        class=\\\"layout__box o__has-columns o__flexes-to-1 u__center-layout start__button o__primary o__google\\\"\\n        onclick={{action \\\"startGoogleAuth\\\"}}\\n      >\\n        <div class=\\\"layout__box start__invite__sign-in-with-google__logo\\\"></div>\\n        <div class=\\\"layout__box o__flexes-to-1 start__button__text\\\">\\n          {{tt \\\"sign_up.start.google_sso.cta\\\"}}\\n        </div>\\n      </button>\\n    </div>\\n  {{/if}}\\n  {{#if (and (or showSSO showSaml) allowEmailPassword)}}\\n    <div class=\\\"h-5\\\"></div>\\n    <div class=\\\"start__option-divider\\\" data-test-auth-method-divider>\\n      <div class=\\\"u__padr__10 u__padl__10\\\">\\n        {{tt \\\"sign_up.start.option_divider\\\"}}\\n      </div>\\n    </div>\\n    <div class=\\\"h-2\\\"></div>\\n  {{/if}}\\n  <form onsubmit={{action \\\"submitForm\\\"}}>\\n    {{#if allowEmailPassword}}\\n      {{#unless viaSingleSignOn}}\\n        {{#if showNameField}}\\n          <Start::FormFieldComponent\\n            @label={{tt \\\"sign_up.start.form.name\\\"}}\\n            @error={{nameError}}\\n          >\\n            <Input\\n              @value={{name}}\\n              placeholder={{tt \\\"sign_up.start.form.name_placeholder\\\"}}\\n              data-test-input=\\\"name\\\"\\n              class=\\\"start__input {{if nameError \\\"o__error\\\"}}\\\"\\n            />\\n          </Start::FormFieldComponent>\\n        {{/if}}\\n        <Start::FormFieldComponent\\n          @label={{tt \\\"sign_up.start.form.work_email\\\"}}\\n          @error={{if\\n            personalEmailDomain\\n            (tt \\\"sign_up.start.form.work_email_alert\\\")\\n            emailError\\n          }}\\n        >\\n          <Input\\n            @disabled={{inviteIsEmail}}\\n            @value={{email}}\\n            placeholder={{tt \\\"sign_up.start.form.work_email_placeholder\\\"}}\\n            data-test-input=\\\"email\\\"\\n            class=\\\"start__input {{if emailError \\\"o__error\\\"}}\\\"\\n          />\\n        </Start::FormFieldComponent>\\n        <Start::FormFieldComponent\\n          @label={{tt \\\"sign_up.start.form.password\\\"}}\\n          @error={{passwordError}}\\n        >\\n          <Input\\n            @type=\\\"password\\\"\\n            @value={{password}}\\n            placeholder={{tt \\\"sign_up.start.form.password_placeholder\\\"}}\\n            data-test-input=\\\"password\\\"\\n            class=\\\"start__input {{if passwordError \\\"o__error\\\"}}\\\"\\n          />\\n        </Start::FormFieldComponent>\\n      {{/unless}}\\n      <div class=\\\"h-5\\\"></div>\\n        <Start::TermsComponent\\n          @key=\\\"sign_up.start.form.terms_of_service_create_account\\\"\\n        />\\n      <div class=\\\"h-2\\\"></div>\\n      <div class=\\\"layout__box o__has-rows\\\">\\n        <button\\n          class=\\\"start__button o__primary\\\"\\n          onclick={{action \\\"submitForm\\\"}}\\n          disabled={{formTask.isRunning}}\\n          data-test-create=\\\"account\\\"\\n        >\\n          <div class=\\\"layout__box o__flexes-to-1\\\">\\n            {{#if formTask.isRunning}}\\n              <IcLoadingIndicator @size=\\\"tiny\\\" @inline={{true}} />\\n              {{tt \\\"sign_up.start.form.submitting\\\"}}\\n            {{else}}\\n              {{#if buttonCta}}\\n                {{buttonCta}}\\n              {{else}}\\n                {{tt \\\"sign_up.start.form.submit\\\"}}\\n              {{/if}}\\n            {{/if}}\\n          </div>\\n        </button>\\n      </div>\\n    {{/if}}\\n  </form>\\n</div>\\n\",\"moduleName\":\"embercom/components/start/form-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/start/form-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { debounce } from '@ember/runloop';\nimport { typeOf } from '@ember/utils';\nimport EmberObject, { observer } from '@ember/object';\nimport { bool, not, and, alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport ajax from 'embercom/lib/ajax';\nimport { getDomainName } from 'embercom/lib/email';\nimport Admin from 'embercom/models/admin';\n\nexport default Component.extend({\n  purchaseAnalyticsService: service(),\n  tagName: '',\n  iamService: service(),\n  router: service(),\n  redirectService: service(),\n\n  hasLocale: bool('locale'),\n  hasEmailSubmissionId: bool('emailSubmissionId'),\n  hasSignedUpWithSolutionId: bool('solutionId'),\n  hasSignedUpFromOperatorPage: bool('operatorPage'),\n  hasInviteToken: bool('inviteToken'),\n  notViaSingleSignOn: not('viaSingleSignOn'),\n  showSSO: and('notViaSingleSignOn', 'allowSSO'),\n  context: 'signup',\n\n  showOptionalFields: true,\n  showNameField: true,\n  showCompanyField: true,\n\n  viaSingleSignOn: false,\n  allowSSO: true,\n  createApp: true,\n  buttonCta: null,\n  inviteToken: null,\n  personalEmailDomain: false,\n\n  allowSaml: false,\n  samlAccountName: '',\n  showSaml: and('allowSaml', 'samlAccountName'),\n\n  allowEmailPassword: false,\n\n  name: '',\n  email: '',\n  password: '',\n  appName: '',\n  companySize: null,\n  department: null,\n\n  adminErrors: EmberObject.create({\n    name: null,\n    email: null,\n    password: null,\n  }),\n  appErrors: EmberObject.create({\n    name: null,\n  }),\n  networkError: null,\n  subscriptionErrors: null,\n  cardError: null,\n  appNameError: alias('appErrors.name'),\n  emailError: alias('adminErrors.email'),\n  nameError: alias('adminErrors.name'),\n  passwordError: alias('adminErrors.password'),\n\n  checkEmailDomainDebounce: observer({\n    dependentKeys: ['email'],\n\n    fn() {\n      debounce(this, this.checkEmailDomain, 500);\n    },\n\n    sync: true,\n  }),\n\n  checkEmailDomain() {\n    let params = {\n      url: '/marketing_onboarding/signups/personal_email_domain',\n      type: 'GET',\n      data: {\n        domain: getDomainName(this.email),\n      },\n    };\n\n    ajax(params).then(response => this.set('personalEmailDomain', response.personal_email_domain));\n  },\n\n  resetErrors() {\n    this.setProperties({\n      adminErrors: {},\n      appErrors: {},\n      networkError: null,\n      billingAddressErrors: {},\n      cardError: null,\n    });\n  },\n\n  handleCreationError(response) {\n    if (!response) {\n      return;\n    }\n\n    this.resetErrors();\n\n    response = response.jqXHR ? response.jqXHR : response;\n\n    if (response.status >= 500) {\n      return this.set('networkError', 'Something went wrong. Please contact support.');\n    }\n\n    if (response.status === 429) {\n      return this.set('networkError', 'Too many signup attempts, please try again later.');\n    }\n\n    let responseJSON = response.responseJSON;\n\n    if (!responseJSON) {\n      return;\n    }\n\n    let {\n      unsupported_locale,\n      adblocker,\n      admin,\n      app,\n      email,\n      name,\n      password,\n      country,\n      country_code,\n      state_code,\n      token,\n    } = responseJSON;\n\n    if (adblocker) {\n      return this.set('networkError', 'Please disable your ad blocker, refresh, and try again.');\n    }\n\n    if (unsupported_locale) {\n      return this.set('networkError', 'The locale you have signed up with is not supported.');\n    }\n\n    if (admin) {\n      this.set('adminErrors', admin);\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'triggered',\n        object: 'teammate_signup_error',\n        context: this.context,\n        place: 'signup',\n        owner: 'growth',\n        errors: admin,\n        solutionId: this.solutionId,\n      });\n    }\n\n    if (app) {\n      this.set('appErrors', app);\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'triggered',\n        object: 'app_signup_error',\n        context: this.context,\n        place: 'signup',\n        owner: 'growth',\n        errors: app,\n        solutionId: this.solutionId,\n      });\n    }\n\n    if (email || name || password) {\n      this.set('adminErrors', {\n        email,\n        name,\n        password,\n      });\n    }\n\n    if (country) {\n      this.set(\n        'cardError',\n        'Your business location must match your current location or billing address.',\n      );\n    }\n\n    if (token) {\n      this.set('cardError', token);\n    }\n\n    if (country_code) {\n      this.set('billingAddressErrors.countryCode', 'Country cannot be blank');\n    }\n\n    if (state_code) {\n      this.set('billingAddressErrors.stateCode', 'State cannot be blank');\n    }\n  },\n\n  trackDeveloperWorkspaceClickedEvent() {\n    if (this.get('router.currentRouteName') === 'developer-signup.index') {\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'clicked',\n        context: this.context,\n        object: 'sign_up_button',\n        place: 'developer_signup',\n      });\n    }\n  },\n\n  trackEvent(email) {\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'clicked',\n      object: 'register',\n      context: this.context,\n      place: 'create_account',\n      mobile: this.mobileDevice,\n      gclid: this.gclid,\n      solutionId: this.solutionId,\n      emailSubmissionId: this.emailSubmissionId,\n      email: email || this.email,\n      developerSignup: this.isDeveloper,\n    });\n  },\n\n  actions: {\n    startGoogleAuth() {\n      window.location.href = `/auth/google_oauth2${window.location.search}`;\n    },\n    submitForm(e) {\n      if (this.authenticatedAdmin) {\n        Admin.meWithoutRedirect().then(admin => {\n          this.trackEvent(admin.email);\n        });\n      } else {\n        this.trackEvent();\n      }\n\n      this.trackDeveloperWorkspaceClickedEvent();\n      e && typeOf(e.preventDefault) === 'function' && e.preventDefault();\n      let formData = {\n        name: this.name,\n        email: this.email,\n        password: this.password,\n        appName: this.appName,\n        companySize: this.companySize,\n        department: this.department,\n      };\n\n      this.formTask.perform(formData, this.handleCreationError.bind(this));\n    },\n    startSamlAuth(samlAccountName, inviteToken) {\n      this.redirectService.redirect(`/saml/${samlAccountName}?invite_token=${inviteToken}`);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"w-full mb-4\\\" data-test-form-field=\\\"{{@for}}\\\">\\n  <div class=\\\"flex justify-between items-center mb-1\\\">\\n    <label class=\\\"signup__teams__form__label\\\" for=\\\"{{@for}}\\\">\\n      {{@label}}\\n      {{#if @hint}}\\n        <span class=\\\"signup__teams__form__caption__hint pl-1\\\">\\n          {{@hint}}\\n        </span>\\n      {{/if}}\\n    </label>\\n    {{#if @error}}\\n      <div\\n        class=\\\"signup__teams__form__label o__error\\\"\\n        data-test-error=\\\"{{@label}}\\\"\\n      >\\n        {{@error}}\\n      </div>\\n    {{/if}}\\n  </div>\\n\\n  {{yield}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"w-full mb-4\\\" data-test-form-field=\\\"{{@for}}\\\">\\n  <div class=\\\"flex justify-between items-center mb-1\\\">\\n    <label class=\\\"signup__teams__form__label\\\" for=\\\"{{@for}}\\\">\\n      {{@label}}\\n      {{#if @hint}}\\n        <span class=\\\"signup__teams__form__caption__hint pl-1\\\">\\n          {{@hint}}\\n        </span>\\n      {{/if}}\\n    </label>\\n    {{#if @error}}\\n      <div\\n        class=\\\"signup__teams__form__label o__error\\\"\\n        data-test-error=\\\"{{@label}}\\\"\\n      >\\n        {{@error}}\\n      </div>\\n    {{/if}}\\n  </div>\\n\\n  {{yield}}\\n</div>\\n\",\"moduleName\":\"embercom/components/start/form-field-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/start/form-field-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"start__nav layout__box\\\">\\n  <div class=\\\"start__nav__container flex flex-row justify-between items-center\\\">\\n    <a rel=\\\"noopener noreferrer\\\" href=\\\"https://www.intercom.com/\\\" class=\\\"start__nav__logo\\\">\\n      Intercom\\n    </a>\\n    {{#if admin}}\\n      <a\\n        href=\\\"/admins/sign_out\\\"\\n        class=\\\"start__body-text u__right\\\"\\n        rel=\\\"nofollow noopener\\\"\\n      >\\n        {{tt \\\"sign_up.new.sign_out\\\"}}\\n      </a>\\n    {{else if (not appInstall.viaSingleSignOn)}}\\n      <div class=\\\"start__body-text o__intercom-text u__right\\\">\\n        {{tt \\\"sign_up.new.already_using_intercom\\\"}} <a\\n          href=\\\"/admins/sign_in{{urlParamsForSignIn}}\\\"\\n          rel=\\\"nofollow noopener\\\"\\n        >\\n          {{tt \\\"sign_up.new.sign_in\\\"}}\\n        </a>\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n<div class=\\\"start__container layout__box o__flexes-to-1 pt-16 pb-10\\\">\\n  <div class=\\\"flex start__sign-up-box\\\">\\n    {{yield\\n      (hash\\n        description=(component\\n          \\\"start/description-component\\\" heading=heading subHeading=subHeading\\n        )\\n        body=(component \\\"start/body-component\\\")\\n      )\\n    }}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"start__nav layout__box\\\">\\n  <div class=\\\"start__nav__container flex flex-row justify-between items-center\\\">\\n    <a rel=\\\"noopener noreferrer\\\" href=\\\"https://www.intercom.com/\\\" class=\\\"start__nav__logo\\\">\\n      Intercom\\n    </a>\\n    {{#if admin}}\\n      <a\\n        href=\\\"/admins/sign_out\\\"\\n        class=\\\"start__body-text u__right\\\"\\n        rel=\\\"nofollow noopener\\\"\\n      >\\n        {{tt \\\"sign_up.new.sign_out\\\"}}\\n      </a>\\n    {{else if (not appInstall.viaSingleSignOn)}}\\n      <div class=\\\"start__body-text o__intercom-text u__right\\\">\\n        {{tt \\\"sign_up.new.already_using_intercom\\\"}} <a\\n          href=\\\"/admins/sign_in{{urlParamsForSignIn}}\\\"\\n          rel=\\\"nofollow noopener\\\"\\n        >\\n          {{tt \\\"sign_up.new.sign_in\\\"}}\\n        </a>\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n<div class=\\\"start__container layout__box o__flexes-to-1 pt-16 pb-10\\\">\\n  <div class=\\\"flex start__sign-up-box\\\">\\n    {{yield\\n      (hash\\n        description=(component\\n          \\\"start/description-component\\\" heading=heading subHeading=subHeading\\n        )\\n        body=(component \\\"start/body-component\\\")\\n      )\\n    }}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/start/page-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/start/page-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { getLocale } from 'embercom/lib/locale';\n\nexport default Component.extend({\n  classNames: 'start layout__box o__flexes-to-1 o__has-rows o__scrolls',\n  classNameBindings: ['isJapanese:locale__ja'],\n\n  redirectUrl: null,\n  isDeveloper: false,\n\n  urlParamsForSignIn: computed('redirectUrl', 'isDeveloper', function() {\n    let params = [];\n\n    if (this.redirectUrl) {\n      params.push(`redirect_url=${this.redirectUrl}`);\n    }\n\n    if (this.isDeveloper) {\n      params.push('developer=true');\n    }\n\n    if (params.length === 0) {\n      return;\n    } else {\n      return `?${params.join('&')}`;\n    }\n  }),\n\n  init() {\n    this._super();\n    this.set('isJapanese', getLocale() === 'ja');\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"start__body-text\\\">\\n  {{#if this.text}}\\n    {{tt\\n      key\\n      cta=text\\n      termsOfServiceURL=\\\"https://www.intercom.com/terms-of-service\\\"\\n      privacyPolicyURL=\\\"https://www.intercom.com/privacy\\\"\\n    }}\\n  {{else}}\\n    {{tt\\n      key\\n      termsOfServiceURL=\\\"https://www.intercom.com/terms-of-service\\\"\\n      privacyPolicyURL=\\\"https://www.intercom.com/privacy\\\"\\n    }}\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"start__body-text\\\">\\n  {{#if this.text}}\\n    {{tt\\n      key\\n      cta=text\\n      termsOfServiceURL=\\\"https://www.intercom.com/terms-of-service\\\"\\n      privacyPolicyURL=\\\"https://www.intercom.com/privacy\\\"\\n    }}\\n  {{else}}\\n    {{tt\\n      key\\n      termsOfServiceURL=\\\"https://www.intercom.com/terms-of-service\\\"\\n      privacyPolicyURL=\\\"https://www.intercom.com/privacy\\\"\\n    }}\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/start/terms-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/start/terms-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @width=\\\"m\\\"\\n  @onModalClose={{@hideCsvExportModal}}\\n  @showCloseIcon={{false}}\\n  @isOpen={{@isOpen}} as |modal|\\n>\\n  <modal.header @title=\\\"Export Your {{capitalize this.humanReadableObjectName}} CSV\\\" />\\n  <modal.body>\\n    <div class=\\\"flex flex-row justify-between\\\" data-test-csv-export-body={{true}}>\\n      <span class=\\\"u__padr__20\\\"> For {{this.humanReadableObjectName}} stats within: </span>\\n      <Reporting::DateRangeFilter\\n        data-test-csv-export-date-picker={{true}}\\n        @scrollParentSelector=\\\".js__main-container\\\"\\n        @disabled={{@disableExport}}\\n        @range={{this.range}}\\n        @timezone={{this.range.timezone}}\\n        @updateRange={{this.updateDateRange}}\\n        @canSelectAppCreationDate={{true}}\\n      />\\n    </div>\\n    <div class=\\\"flex flex-row justify-between gap-4\\\">\\n      <p class=\\\"t__light-text\\\">\\n        This will email a CSV of all stats data sent within the selected date range. This can take a few hours at peak times.\\n      </p>\\n    </div>\\n  </modal.body>\\n  <modal.footer\\n    @secondaryButton={{hash\\n      label=\\\"Close\\\"\\n      data-test-modal-close-button=true\\n      action=@hideCsvExportModal\\n    }}\\n     @primaryButton={{hash\\n      label=\\\"Export Data\\\"\\n      data-test-export-data-button=true\\n      action=(perform this.exportCsv)\\n    }}\\n  />\\n</IcModal>\", {\"contents\":\"<IcModal\\n  @width=\\\"m\\\"\\n  @onModalClose={{@hideCsvExportModal}}\\n  @showCloseIcon={{false}}\\n  @isOpen={{@isOpen}} as |modal|\\n>\\n  <modal.header @title=\\\"Export Your {{capitalize this.humanReadableObjectName}} CSV\\\" />\\n  <modal.body>\\n    <div class=\\\"flex flex-row justify-between\\\" data-test-csv-export-body={{true}}>\\n      <span class=\\\"u__padr__20\\\"> For {{this.humanReadableObjectName}} stats within: </span>\\n      <Reporting::DateRangeFilter\\n        data-test-csv-export-date-picker={{true}}\\n        @scrollParentSelector=\\\".js__main-container\\\"\\n        @disabled={{@disableExport}}\\n        @range={{this.range}}\\n        @timezone={{this.range.timezone}}\\n        @updateRange={{this.updateDateRange}}\\n        @canSelectAppCreationDate={{true}}\\n      />\\n    </div>\\n    <div class=\\\"flex flex-row justify-between gap-4\\\">\\n      <p class=\\\"t__light-text\\\">\\n        This will email a CSV of all stats data sent within the selected date range. This can take a few hours at peak times.\\n      </p>\\n    </div>\\n  </modal.body>\\n  <modal.footer\\n    @secondaryButton={{hash\\n      label=\\\"Close\\\"\\n      data-test-modal-close-button=true\\n      action=@hideCsvExportModal\\n    }}\\n     @primaryButton={{hash\\n      label=\\\"Export Data\\\"\\n      data-test-export-data-button=true\\n      action=(perform this.exportCsv)\\n    }}\\n  />\\n</IcModal>\",\"moduleName\":\"embercom/components/stats-system/csv-export/modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/csv-export/modal.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport Range from 'embercom/models/reporting/range';\nimport moment from 'moment';\nimport { action } from '@ember/object';\nimport { task } from 'ember-concurrency-decorators';\nimport { inject as service } from '@ember/service';\nimport { humanReadableObjectNames } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class Modal extends Component {\n  @service appService;\n  @service notificationsService;\n  @service intercomEventService;\n  @tracked range;\n\n  constructor() {\n    super(...arguments);\n    let timezone = moment.tz.guess();\n    let range = Range.createFromPreset('past_4_weeks', timezone);\n    this.range = range;\n  }\n\n  get humanReadableObjectName() {\n    return humanReadableObjectNames[this.args.objectType];\n  }\n\n  @task *exportCsv() {\n    try {\n      yield this.args.ruleset.exportData({\n        start_date: this.range.start,\n        end_date: this.range.end,\n      });\n      this.intercomEventService.trackAnalyticsEvent({\n        start_date: this.range.start,\n        end_date: this.range.end,\n        action: 'data_exported',\n        object: 'csv_export',\n        ruleset_id: this.args.ruleset.id,\n      });\n      this.notificationsService.notifyConfirmation(\n        'Export successful! We’re sending a CSV to your default email address. This can take a few hours at peak times.',\n      );\n      this.args.hideCsvExportModal();\n    } catch (e) {\n      this.notificationsService.notifyResponseError(e, {\n        default: 'We were unable to start your data export.',\n      });\n    }\n  }\n\n  @action updateDateRange(range) {\n    this.range = range;\n    this.intercomEventService.trackAnalyticsEvent({\n      start_date: this.range.start,\n      end_date: this.range.end,\n      action: 'date_range_updated',\n      object: 'csv_export',\n      ruleset_id: this.args.ruleset.id,\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<StatsSystem::Deprecated::TabContainer\\n  @activeTab={{@stat}}\\n  @changeTab={{@changeView}}\\n  @ruleset={{@ruleset}} as |changeView activeView|\\n>\\n  <StatsSystem::Deprecated::TabsComponent\\n    @config={{@tabsConfig}}\\n    @objectType={{this.statsParameters.shortObjectName}}\\n    @ruleset={{@ruleset}}\\n    @activeView={{activeView}}\\n    @changeView={{changeView}}\\n  />\\n</StatsSystem::Deprecated::TabContainer>\\n<div class=\\\"h-8\\\"></div>\\n{{#if @stat}}\\n  {{component\\n    (concat \\\"stats-system/list/\\\" (dasherize @stat) \\\"-list\\\")\\n    changeView=@changeView\\n    filter=@filter\\n    statsParameters=this.statsParameters\\n  }}\\n{{/if}}\\n\", {\"contents\":\"<StatsSystem::Deprecated::TabContainer\\n  @activeTab={{@stat}}\\n  @changeTab={{@changeView}}\\n  @ruleset={{@ruleset}} as |changeView activeView|\\n>\\n  <StatsSystem::Deprecated::TabsComponent\\n    @config={{@tabsConfig}}\\n    @objectType={{this.statsParameters.shortObjectName}}\\n    @ruleset={{@ruleset}}\\n    @activeView={{activeView}}\\n    @changeView={{changeView}}\\n  />\\n</StatsSystem::Deprecated::TabContainer>\\n<div class=\\\"h-8\\\"></div>\\n{{#if @stat}}\\n  {{component\\n    (concat \\\"stats-system/list/\\\" (dasherize @stat) \\\"-list\\\")\\n    changeView=@changeView\\n    filter=@filter\\n    statsParameters=this.statsParameters\\n  }}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/stats-system/deprecated/stats-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/deprecated/stats-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport StatsParameters from 'embercom/objects/stats-system/stats-parameters';\n\nexport default class StatsComponent extends Component {\n  get statsParameters() {\n    let rulesetLink = this.args.ruleset.rulesetLinks.firstObject;\n    return new StatsParameters({\n      contentId: rulesetLink.objectId,\n      contentType: rulesetLink.objectType,\n      contentObject: rulesetLink.object,\n      goal: this.args.ruleset.goal,\n      uiObjectName: rulesetLink.humanReadableObjectName,\n      shortObjectName: rulesetLink.objectName,\n      startDate: rulesetLink.wentLiveAt,\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box articles__editor__stats-spacer\\\"></div>\\n{{yield this.changeView this.activeView}}\\n<div class=\\\"layout__box article__editor__stats-spacer o__flexes-to-1\\\"></div>\\n\\n\", {\"contents\":\"<div class=\\\"layout__box articles__editor__stats-spacer\\\"></div>\\n{{yield this.changeView this.activeView}}\\n<div class=\\\"layout__box article__editor__stats-spacer o__flexes-to-1\\\"></div>\\n\\n\",\"moduleName\":\"embercom/components/stats-system/deprecated/tab-container.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/deprecated/tab-container.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { inject as service } from '@ember/service';\nimport MessageEditorTabContainer from 'embercom/components/message-editor/stats/tab-container';\nimport { computed, action } from '@ember/object';\n\nexport default MessageEditorTabContainer.extend({\n  router: service(),\n  hideComponent: false,\n  activeView: computed('activeTab', function() {\n    return this.activeTab || 'content';\n  }),\n  'data-test-stats-system-tab-container': true,\n\n  changeView: action(function(displaying) {\n    this.changeTab(displaying);\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { computed } from '@ember/object';\nimport { readOnly, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport MessageEditorTabsComponent from 'embercom/components/message-editor/content/tabs-component';\nimport percent, { toPercentString } from 'embercom/lib/percentage-formatter';\nimport { statColors } from 'embercom/models/data/stats-system/stats-constants';\n\n// Configure here generic stats that'll be re-used by multiple content types\nconst TABS = {\n  content: {\n    label: 'Content',\n    isPercentageValue: false,\n    views: ['content'],\n    color: 'text-gray',\n    icon: 'gallery',\n  },\n  receipt: {\n    label: 'Received',\n    isPercentageValue: false,\n    views: ['receipt'],\n  },\n  completion: {\n    label: 'Completed',\n    isPercentageValue: true,\n    views: ['completion'],\n  },\n  goalSuccess: {\n    label: 'Goal',\n    isPercentageValue: true,\n    views: ['goal_success'],\n  },\n};\n\n// Configure here overrides for specific content types and content-specific stats\nconst CONTENT = {\n  banner: {\n    content: {\n      label: 'Banner',\n      icon: 'alignment-reference',\n    },\n    receipt: {\n      label: 'Views',\n    },\n  },\n  tour: {\n    content: {\n      label: 'Product tour',\n      icon: 'product-tours',\n    },\n    receipt: {\n      label: 'Views',\n    },\n    completion: {},\n    goalSuccess: {},\n    tourStepFailure: {\n      label: 'Issues',\n      isPercentageValue: true,\n      views: ['tour_step_failure'],\n    },\n  },\n};\n\nexport default MessageEditorTabsComponent.extend({\n  appService: service(),\n  reportingService: service(),\n  store: service(),\n  app: readOnly('appService.app'),\n  layoutName: 'components/message-editor/content/tabs-component',\n  reportingStats: {},\n  content: readOnly('ruleset.rulesetLinks.firstObject.object'),\n  stats: readOnly('content.stats'),\n\n  shouldShowGoalTab: readOnly('ruleset.hasGoal'),\n  shouldHideGoalTab: not('shouldShowGoalTab'),\n\n  tabs: computed('app', 'objectType', 'stats', 'config', function() {\n    let tabs = [];\n\n    let displayableStatsForContent = Object.keys(this._configForObjectType());\n\n    displayableStatsForContent.forEach(name => {\n      let value = this.get(`stats.${name}`);\n\n      if (name === 'content') {\n        return tabs.pushObject(this.getTabContent(name));\n      }\n\n      if (typeof this.get('content.showStat') === 'function' && !this.content.showStat(name)) {\n        return;\n      }\n\n      if (name === 'goalSuccess' && this.shouldHideGoalTab) {\n        return;\n      }\n\n      tabs.pushObject(this.getTabContent(name, value));\n    });\n\n    return tabs;\n  }),\n\n  _configForObjectType() {\n    return CONTENT[this.objectType] || this.config;\n  },\n\n  _getPercentageForStat(statName, statCount) {\n    let statCountKey = statName === 'goalSuccess' ? 'uniqueCount' : 'totalCount';\n    let divisor = this.get(`stats.receipt.${statCountKey}`);\n    let statValue = statCount[statCountKey];\n    return toPercentString(percent(divisor, statValue));\n  },\n\n  getTabContent(name, value) {\n    let statCount = value || { totalCount: null };\n    let tabContent = Object.assign(\n      {\n        statistic: statCount.totalCount,\n        isClickable: true,\n        color: statColors[name],\n      },\n      TABS[name],\n      this._configForObjectType()[name],\n    );\n\n    if (tabContent.isClickable) {\n      tabContent.analyticsEvent = {\n        action: 'viewed',\n        content_id: this.get('content.id'),\n        context: tabContent.views.firstObject,\n        object: 'view_stats_page',\n      };\n    }\n\n    if (tabContent.isPercentageValue) {\n      tabContent.statistic = this._getPercentageForStat(name, statCount);\n    }\n\n    return tabContent;\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col gap-4 p-6 pl-8\\\" data-test-add-goals-container>\\n  <Paragraph data-test-goal-editor-intro-text>\\n    {{@introText}}\\n    {{#if @learnMoreLink}}\\n      <Pulse::HelpContent::Link data-test-goal-editor-learn-more-link\\n        @linkStyling=\\\"inline\\\"\\n        @href={{@learnMoreLink}}\\n        @title=\\\"Learn more\\\"\\n        @type=\\\"article\\\"\\n      />\\n    {{/if}}\\n  </Paragraph>\\n\\n  <div data-test-add-goals-selector>\\n    <StatsSystem::Goals::PredicatesEditor @predicateGroup={{this.goal.predicateGroup}}\\n      @onUpdate={{this.updatePredicates}} as |editor|>\\n      <editor.attributePickerOpener label=\\\"Add rule\\\" />\\n    </StatsSystem::Goals::PredicatesEditor>\\n  </div>\\n\\n  {{#if this.goal.predicateGroup.hasPredicates}}\\n    <div class=\\\"flex flex-row flex-1 gap-2 mt-1\\\" data-test-goal-time-constraint-container>\\n      <Text @styling=\\\"muted\\\">\\n        Customers have to match within:\\n      </Text>\\n      <IcSelect data-test-time-constraint-selector @items={{this.goalsTimeConstraintOptions}}\\n        @onSelectItem={{this.updateTimeConstraint}} @selectedValue={{this.goal.timeConstraint}} as |select|>\\n        <select.opener data-test-time-constraint-selector-opener={{true}}>\\n          <Text @styling=\\\"strong\\\" class=\\\"u__pointer-cursor goals__time-constraint__dropdown-label\\\">\\n            {{select.selectedItemTextOrDefaultLabel}}\\n          </Text>\\n          {{ic-interface-icon \\\"down-arrow\\\" color=\\\"blue\\\" set=\\\"tiny\\\"}}\\n        </select.opener>\\n      </IcSelect>\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col gap-4 p-6 pl-8\\\" data-test-add-goals-container>\\n  <Paragraph data-test-goal-editor-intro-text>\\n    {{@introText}}\\n    {{#if @learnMoreLink}}\\n      <Pulse::HelpContent::Link data-test-goal-editor-learn-more-link\\n        @linkStyling=\\\"inline\\\"\\n        @href={{@learnMoreLink}}\\n        @title=\\\"Learn more\\\"\\n        @type=\\\"article\\\"\\n      />\\n    {{/if}}\\n  </Paragraph>\\n\\n  <div data-test-add-goals-selector>\\n    <StatsSystem::Goals::PredicatesEditor @predicateGroup={{this.goal.predicateGroup}}\\n      @onUpdate={{this.updatePredicates}} as |editor|>\\n      <editor.attributePickerOpener label=\\\"Add rule\\\" />\\n    </StatsSystem::Goals::PredicatesEditor>\\n  </div>\\n\\n  {{#if this.goal.predicateGroup.hasPredicates}}\\n    <div class=\\\"flex flex-row flex-1 gap-2 mt-1\\\" data-test-goal-time-constraint-container>\\n      <Text @styling=\\\"muted\\\">\\n        Customers have to match within:\\n      </Text>\\n      <IcSelect data-test-time-constraint-selector @items={{this.goalsTimeConstraintOptions}}\\n        @onSelectItem={{this.updateTimeConstraint}} @selectedValue={{this.goal.timeConstraint}} as |select|>\\n        <select.opener data-test-time-constraint-selector-opener={{true}}>\\n          <Text @styling=\\\"strong\\\" class=\\\"u__pointer-cursor goals__time-constraint__dropdown-label\\\">\\n            {{select.selectedItemTextOrDefaultLabel}}\\n          </Text>\\n          {{ic-interface-icon \\\"down-arrow\\\" color=\\\"blue\\\" set=\\\"tiny\\\"}}\\n        </select.opener>\\n      </IcSelect>\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/stats-system/goals/goal-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/goals/goal-editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport PredicateGroup from 'predicates/models/predicate-group';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport {\n  timeConstraintsByEntity,\n  defaultGoalMatchingTime,\n} from 'embercom/models/data/stats-system/goals-constants';\nimport { copy } from 'ember-copy';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class GoalEditor extends Component {\n  @service store;\n  @service intercomEventService;\n\n  @tracked goal;\n\n  constructor() {\n    super(...arguments);\n    if (!this.goal) {\n      this.initializeGoal();\n    }\n  }\n\n  get goalsTimeConstraintOptions() {\n    return timeConstraintsByEntity[this.args.entityType];\n  }\n\n  get goalType() {\n    if (this.goal && this.goal.hasClientPredicate) {\n      return 'activity attributes';\n    } else if (this.goal && this.goal.hasUserPredicate) {\n      return 'customer attribute';\n    }\n    return 'not set';\n  }\n\n  initializeGoal() {\n    let predicateArray = PredicateGroup.createPredicatesArray(this.store, []);\n\n    if (this.args.entity.goal) {\n      this.goal = this.args.entity.goal;\n    } else {\n      let timeConstraint = this.args.defaultTimeConstraint || defaultGoalMatchingTime;\n      this.goal = this.store.createFragment('stats-system/goal', {\n        predicateGroup: {\n          predicates: predicateArray,\n        },\n        entityId: this.args.entity.id,\n        entityType: this.args.entityType,\n        timeConstraint,\n      });\n    }\n  }\n\n  _trackGoalUpdateEvent(event) {\n    let analyticsEvent = {\n      entity_id: this.args.entity.id,\n      object: this.args.entityName,\n    };\n    if (event === 'deleted') {\n      analyticsEvent['action'] = 'removed goal';\n    } else {\n      analyticsEvent['action'] = 'added goal';\n      analyticsEvent['goal_type'] = this.goalType;\n      analyticsEvent['goal_time_constraint'] = this.goal.timeConstraint;\n    }\n    this.intercomEventService.trackAnalyticsEvent(analyticsEvent);\n  }\n\n  updateEntityGoal(goal, event) {\n    this.args.entity.set('goal', goal);\n    if (event !== 'edited') {\n      this._trackGoalUpdateEvent(event);\n    }\n  }\n\n  @action\n  updatePredicates(predicate, meta) {\n    let event = meta.action;\n    this.goal.set('predicateGroup.predicates', copy(predicate));\n    if (event === 'deleted') {\n      this.updateEntityGoal(null, event);\n    } else {\n      this.updateEntityGoal(this.goal, event);\n    }\n  }\n\n  @action\n  updateTimeConstraint(timeToMatch) {\n    this.args.entity.set('goal.timeConstraint', timeToMatch);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @goal}}\\n  <MatchingSystem::AudienceSelector::Summary::PredicateGroupSummary\\n    @ruleMode={{@goal.predicateGroup.logicalMode}}\\n    @predicates={{@goal.predicateGroup.editablePredicates}}\\n    @mode=\\\"goal\\\"\\n    @hideIcons={{@hideIcons}}\\n    data-test-goal-predicate-summary={{true}}\\n  />\\n  {{#if @goal.timeConstraintInDays}}\\n    <span data-test-goal-time-constraint=\\\"true\\\" class=\\\"pl-6\\\">\\n      {{#if (not @hideIcons)}}{{ic-interface-icon 'calendar'}}{{/if}} Match within {{pluralize @goal.timeConstraintInDays 'day'}}\\n    </span>\\n  {{/if}}\\n{{else}}\\n  <span class=\\\"text o__muted\\\" data-test-content-editor-goal-no-goal>No goal set</span>\\n{{/if}}\\n\", {\"contents\":\"{{#if @goal}}\\n  <MatchingSystem::AudienceSelector::Summary::PredicateGroupSummary\\n    @ruleMode={{@goal.predicateGroup.logicalMode}}\\n    @predicates={{@goal.predicateGroup.editablePredicates}}\\n    @mode=\\\"goal\\\"\\n    @hideIcons={{@hideIcons}}\\n    data-test-goal-predicate-summary={{true}}\\n  />\\n  {{#if @goal.timeConstraintInDays}}\\n    <span data-test-goal-time-constraint=\\\"true\\\" class=\\\"pl-6\\\">\\n      {{#if (not @hideIcons)}}{{ic-interface-icon 'calendar'}}{{/if}} Match within {{pluralize @goal.timeConstraintInDays 'day'}}\\n    </span>\\n  {{/if}}\\n{{else}}\\n  <span class=\\\"text o__muted\\\" data-test-content-editor-goal-no-goal>No goal set</span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/stats-system/goals/goal-summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/goals/goal-summary.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::PredicatesEditor\\n  data-test-goals-attribute-selector\\n  @mode='stat-system-goal'\\n  @tagName='span'\\n  @predicates={{@predicateGroup.predicates}}\\n  @requiresUserPredicate={{false}}\\n  @onUpdate={{this.proxiedOnUpdate}}\\n  @attributeGroupList={{this.attributeGroupList}}\\n  as |predicatesEditor|\\n>\\n  {{#each predicatesEditor.predicates as |predicate index|}}\\n    <predicatesEditor.components.predicateEditor\\n      class=\\\"u__left u__mb__5\\\"\\n      @index={{index}}\\n      @predicate={{predicate}}\\n      @isOneLine={{true}}\\n    />\\n  {{/each}}\\n  {{#if @predicateGroup.isEmpty}}\\n    {{yield (hash\\n      attributePickerOpener=(component\\n        predicatesEditor.components.attributePickerOpener\\n        class=(concat 'u__left' (if predicatesEditor.totalNumberOfFilters 'u__ml__15' ))\\n        attributeItemComponent='ic-goal-attribute-item'\\n        icon='transfer'\\n        data-test-add-user-predicate-button=true\\n        label='Add goal'\\n      )\\n    )}}\\n  {{/if}}\\n</Predicates::PredicatesEditor>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::PredicatesEditor\\n  data-test-goals-attribute-selector\\n  @mode='stat-system-goal'\\n  @tagName='span'\\n  @predicates={{@predicateGroup.predicates}}\\n  @requiresUserPredicate={{false}}\\n  @onUpdate={{this.proxiedOnUpdate}}\\n  @attributeGroupList={{this.attributeGroupList}}\\n  as |predicatesEditor|\\n>\\n  {{#each predicatesEditor.predicates as |predicate index|}}\\n    <predicatesEditor.components.predicateEditor\\n      class=\\\"u__left u__mb__5\\\"\\n      @index={{index}}\\n      @predicate={{predicate}}\\n      @isOneLine={{true}}\\n    />\\n  {{/each}}\\n  {{#if @predicateGroup.isEmpty}}\\n    {{yield (hash\\n      attributePickerOpener=(component\\n        predicatesEditor.components.attributePickerOpener\\n        class=(concat 'u__left' (if predicatesEditor.totalNumberOfFilters 'u__ml__15' ))\\n        attributeItemComponent='ic-goal-attribute-item'\\n        icon='transfer'\\n        data-test-add-user-predicate-button=true\\n        label='Add goal'\\n      )\\n    )}}\\n  {{/if}}\\n</Predicates::PredicatesEditor>\\n\",\"moduleName\":\"embercom/components/stats-system/goals/predicates-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/goals/predicates-editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { copy } from 'ember-copy';\n\nexport default class Modal extends Component {\n  @service attributeService;\n\n  @tracked attributeGroupList = [];\n\n  constructor() {\n    super(...arguments);\n    let userAttributes = this.attributeService.statsSystemGoalAttributes;\n    let visibilitySettings = this.attributeService.attributeSettings;\n\n    let priorityUserAttributes = userAttributes.filter(\n      a => a.requiredFilter || visibilitySettings.findBy('attribute', a.identifier),\n    );\n\n    let sortedUserAttributes = priorityUserAttributes.concat(userAttributes);\n\n    let eventAttributes = sortedUserAttributes.filter(function(attribute) {\n      return attribute.type === 'user_event';\n    });\n    let nonEventAttributes = sortedUserAttributes.filter(function(attribute) {\n      return attribute.type !== 'user_event';\n    });\n\n    let groups = [];\n    groups.push({\n      heading: 'Customer',\n      attributes: nonEventAttributes,\n    });\n\n    groups.push({\n      heading: 'Activity',\n      attributes: eventAttributes,\n    });\n\n    this.attributeGroupList = groups;\n  }\n\n  @action proxiedOnUpdate(predicates) {\n    this.args.predicateGroup.predicates = copy(predicates);\n\n    let onUpdate = this.args.onUpdate;\n    if (typeof onUpdate === 'function') {\n      onUpdate(...arguments);\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<StatsSystem::List::BaseStatList\\n  @headerTitleComponent=\\\"stats-system/list/header/article-content-views-title\\\"\\n  @emptyStateDescription='No one has viewed this article yet'\\n  @hideCreatedVia={{true}}\\n  @noun=\\\"view\\\"\\n  @overrideEmptyStateTitle='No one has viewed this article yet'\\n  @statistic='article_content_view'\\n  @statsParameters={{@statsParameters}}\\n  @verb=\\\"viewed\\\"\\n/>\\n\", {\"contents\":\"<StatsSystem::List::BaseStatList\\n  @headerTitleComponent=\\\"stats-system/list/header/article-content-views-title\\\"\\n  @emptyStateDescription='No one has viewed this article yet'\\n  @hideCreatedVia={{true}}\\n  @noun=\\\"view\\\"\\n  @overrideEmptyStateTitle='No one has viewed this article yet'\\n  @statistic='article_content_view'\\n  @statsParameters={{@statsParameters}}\\n  @verb=\\\"viewed\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/stats-system/list/article-views-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/article-views-list.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<StatsSystem::List::BaseStatList\\n  @additionalFilters={{@additionalFilters}}\\n  @changeView={{@changeView}}\\n  @emptyStateComponent={{@emptyStateComponent}}\\n  @emptyStateDescription={{@emptyStateDescription}}\\n  @filter={{@filter}}\\n  @headerTitleComponent={{@headerTitleComponent}}\\n  @hideCreatedVia={{@hideCreatedVia}}\\n  @noun={{@noun}}\\n  @overrideColumns={{@overrideColumns}}\\n  @overrideEmptyStateTitle={{@overrideEmptyStateTitle}}\\n  @queryKeys={{this.queryKeys}}\\n  @rowComponent={{@rowComponent}}\\n  @statistic={{@statistic}}\\n  @statsParameters={{@statsParameters}}\\n  @transforms={{this.transforms}}\\n  @unit='percent'\\n  @verb={{@verb}}\\n/>\", {\"contents\":\"<StatsSystem::List::BaseStatList\\n  @additionalFilters={{@additionalFilters}}\\n  @changeView={{@changeView}}\\n  @emptyStateComponent={{@emptyStateComponent}}\\n  @emptyStateDescription={{@emptyStateDescription}}\\n  @filter={{@filter}}\\n  @headerTitleComponent={{@headerTitleComponent}}\\n  @hideCreatedVia={{@hideCreatedVia}}\\n  @noun={{@noun}}\\n  @overrideColumns={{@overrideColumns}}\\n  @overrideEmptyStateTitle={{@overrideEmptyStateTitle}}\\n  @queryKeys={{this.queryKeys}}\\n  @rowComponent={{@rowComponent}}\\n  @statistic={{@statistic}}\\n  @statsParameters={{@statsParameters}}\\n  @transforms={{this.transforms}}\\n  @unit='percent'\\n  @verb={{@verb}}\\n/>\",\"moduleName\":\"embercom/components/stats-system/list/base-percentage-stat-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/base-percentage-stat-list.hbs\"}});\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\nimport { createPercentBucketsForNestedKeys } from 'embercom/lib/reporting/signal-transformations';\nimport Component from '@glimmer/component';\n\nexport default class BasePercentageStatList extends Component {\n  get queryKeys() {\n    return [`stats_${stats.receipt}`, `stats_${this.args.statistic}`];\n  }\n\n  get transforms() {\n    return [createPercentBucketsForNestedKeys(`stats_${this.args.statistic}`, this.queryKeys)];\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-stat-list\\n  {{did-update this.updateUsersList @additionalFilters}}\\n  {{did-update this.updateUsersList @existsFieldsFilters}}\\n  {{did-update this.updateUsersList this.selectedVersion}}\\n>\\n  <div class=\\\"flex flex-col gap-6\\\">\\n    {{#if this.isLoading}}\\n      <IcLoadingIndicator @size=\\\"large\\\" class=\\\"u__center-item\\\"/>\\n    {{else}}\\n      {{component (or @headerTitleComponent \\\"stats-system/list/header/default-title\\\")\\n                changeView=@changeView\\n                filter=@filter\\n                filterConfig=@filterConfig\\n                statCount=this.statCount\\n                statMetadata=this.statMetadata\\n                statsParameters=@statsParameters\\n                verb=@verb\\n      }}\\n      {{#if this.statCount}}\\n        <StatsSystem::List::Header::TrendGraph\\n          @aggregationType={{if @showUniqueUsersOnly \\\"cardinality\\\"}}\\n          @aggregationField={{if @showUniqueUsersOnly \\\"user.id\\\"}}\\n          @existsFieldsFilters={{@existsFieldsFilters}}\\n          @statsParameters={{@statsParameters}}\\n          @statistic={{@statistic}}\\n          @unit={{@unit}}\\n          @verb={{@verb}}\\n          @queryKeys={{@queryKeys}}\\n          @transforms={{@transforms}}\\n          @additionalFilters={{this.additionalFiltersWithVersionId}}\\n        />\\n        <StatsSystem::List::Table\\n          @baseQueryParams={{this.baseQueryParams}}\\n          @canLoadMore={{this.hasItemsToLoad}}\\n          @columns={{this.columns}}\\n          @data={{if @showUniqueUsersOnly this.uniqueStatsRows this.statRows}}\\n          @headerTitleComponent={{@headerTitleComponent}}\\n          @isLoading={{this.isLoading}}\\n          @isLoadingMore={{this.fetchStats.isRunning}}\\n          @loadingRowCount={{this.loadingRowCount}}\\n          @onLoadMore={{this.nextPage}}\\n          @rowComponent={{@rowComponent}}\\n          @selectedUsers={{this.selectedUsers}}\\n          @statCount={{this.statCount}}\\n          @statistic={{@statistic}}\\n          @statsParameters={{@statsParameters}}\\n          @uniqueCount={{this.uniqueCount}}\\n          @verb={{@verb}}\\n        />\\n      {{else}}\\n        {{component (or @emptyStateComponent \\\"stats-system/list/empty-state/default-empty-state\\\")\\n                    overrideEmptyStateTitle=@overrideEmptyStateTitle\\n                    emptyStateDescription=@emptyStateDescription\\n                    statsParameters=@statsParameters\\n                    verb=@verb\\n        }}\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div data-test-stat-list\\n  {{did-update this.updateUsersList @additionalFilters}}\\n  {{did-update this.updateUsersList @existsFieldsFilters}}\\n  {{did-update this.updateUsersList this.selectedVersion}}\\n>\\n  <div class=\\\"flex flex-col gap-6\\\">\\n    {{#if this.isLoading}}\\n      <IcLoadingIndicator @size=\\\"large\\\" class=\\\"u__center-item\\\"/>\\n    {{else}}\\n      {{component (or @headerTitleComponent \\\"stats-system/list/header/default-title\\\")\\n                changeView=@changeView\\n                filter=@filter\\n                filterConfig=@filterConfig\\n                statCount=this.statCount\\n                statMetadata=this.statMetadata\\n                statsParameters=@statsParameters\\n                verb=@verb\\n      }}\\n      {{#if this.statCount}}\\n        <StatsSystem::List::Header::TrendGraph\\n          @aggregationType={{if @showUniqueUsersOnly \\\"cardinality\\\"}}\\n          @aggregationField={{if @showUniqueUsersOnly \\\"user.id\\\"}}\\n          @existsFieldsFilters={{@existsFieldsFilters}}\\n          @statsParameters={{@statsParameters}}\\n          @statistic={{@statistic}}\\n          @unit={{@unit}}\\n          @verb={{@verb}}\\n          @queryKeys={{@queryKeys}}\\n          @transforms={{@transforms}}\\n          @additionalFilters={{this.additionalFiltersWithVersionId}}\\n        />\\n        <StatsSystem::List::Table\\n          @baseQueryParams={{this.baseQueryParams}}\\n          @canLoadMore={{this.hasItemsToLoad}}\\n          @columns={{this.columns}}\\n          @data={{if @showUniqueUsersOnly this.uniqueStatsRows this.statRows}}\\n          @headerTitleComponent={{@headerTitleComponent}}\\n          @isLoading={{this.isLoading}}\\n          @isLoadingMore={{this.fetchStats.isRunning}}\\n          @loadingRowCount={{this.loadingRowCount}}\\n          @onLoadMore={{this.nextPage}}\\n          @rowComponent={{@rowComponent}}\\n          @selectedUsers={{this.selectedUsers}}\\n          @statCount={{this.statCount}}\\n          @statistic={{@statistic}}\\n          @statsParameters={{@statsParameters}}\\n          @uniqueCount={{this.uniqueCount}}\\n          @verb={{@verb}}\\n        />\\n      {{else}}\\n        {{component (or @emptyStateComponent \\\"stats-system/list/empty-state/default-empty-state\\\")\\n                    overrideEmptyStateTitle=@overrideEmptyStateTitle\\n                    emptyStateDescription=@emptyStateDescription\\n                    statsParameters=@statsParameters\\n                    verb=@verb\\n        }}\\n      {{/if}}\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/stats-system/list/base-stat-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/base-stat-list.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport { dasherize } from '@ember/string';\nimport { task } from 'ember-concurrency-decorators';\nimport { objectWithVersions } from 'embercom/models/data/matching-system/matching-constants';\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\n\nexport default class BaseStateList extends Component {\n  @service appService;\n  @service contentEditorService;\n  @service intercomEventService;\n  @service store;\n\n  @tracked statRows = [];\n  @tracked totalCount = 0;\n  @tracked uniqueStatsRows = [];\n  @tracked uniqueCount = 0;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get columns() {\n    if (this.args.overrideColumns) {\n      return this.args.overrideColumns;\n    }\n\n    let columns = [\n      { label: 'Name', valuePath: 'user.displayAs', type: 'avatar-with-text' },\n      { label: `${this.args.verb.capitalize()} for company`, valuePath: 'company.name' },\n      { label: `When it was ${this.args.verb}`, valuePath: 'createdAt' },\n    ];\n\n    if (!this.args.hideCreatedVia) {\n      columns.push({\n        label: `How it was ${this.args.verb}`,\n        valuePath: 'createdVia',\n      });\n    }\n\n    if (\n      this.app.canUseMatchingSystemVersioning &&\n      objectWithVersions.includes(this.args.statsParameters.contentType)\n    ) {\n      columns.push({ label: 'Version', valuePath: 'versionIndex' });\n    }\n\n    return columns;\n  }\n\n  get hasItemsToLoad() {\n    return this.statRows.length < this.totalCount;\n  }\n\n  get isLoading() {\n    return this.statRows.length === 0 && this._fetchStats.isRunning;\n  }\n\n  get selectedVersion() {\n    return this.contentEditorService.selectedVersion;\n  }\n\n  get loadingRowCount() {\n    if (this.totalCount > 25) {\n      return 25;\n    } else {\n      return this.totalCount;\n    }\n  }\n\n  get additionalFiltersWithVersionId() {\n    let additional_filters = {};\n    if (this.args.additionalFilters) {\n      additional_filters = this.args.additionalFilters;\n    }\n    if (this.selectedVersion) {\n      additional_filters['ruleset_version.id'] = this.selectedVersion.get('id');\n    }\n    return additional_filters;\n  }\n\n  get baseQueryParams() {\n    let baseQueryParams = {\n      content_id: this.args.statsParameters.contentId,\n      content_type: this.args.statsParameters.contentType,\n    };\n    if (\n      this.args.existsFieldsFilters?.exists_fields &&\n      this.args.existsFieldsFilters.exists_fields !== ['stat_receipt.id']\n    ) {\n      baseQueryParams.exists_fields = this.args.existsFieldsFilters.exists_fields;\n    }\n    if (Object.keys(this.additionalFiltersWithVersionId).length) {\n      baseQueryParams['additional_filters'] = this.additionalFiltersWithVersionId;\n    }\n    return baseQueryParams;\n  }\n\n  get statCount() {\n    return this.args.showUniqueUsersOnly ? this.uniqueCount : this.totalCount;\n  }\n\n  get statMetadata() {\n    return {\n      uniqueCount: this.uniqueCount,\n      totalCount: this.totalCount,\n    };\n  }\n\n  constructor() {\n    super(...arguments);\n    this._fetch();\n  }\n\n  _fetch() {\n    this.statRows = [];\n    this.totalCount = 0;\n    this.uniqueStatsRows = [];\n    this.uniqueCount = 0;\n\n    this._fetchStats.perform();\n  }\n\n  _removeDuplicateUser(users) {\n    users = users.toArray().uniqBy('user.userId');\n    let currentUserList = this.uniqueStatsRows.map(function(matchedUser) {\n      return matchedUser.get('user.userId');\n    });\n    let uniqueUsers = users.filter(function(user) {\n      if (currentUserList.indexOf(user.get('user.userId')) === -1) {\n        return user;\n      }\n    });\n    return uniqueUsers;\n  }\n\n  @task({ drop: true })\n  *_fetchStats() {\n    let queryParams = {\n      ...this.baseQueryParams,\n      from: this.statRows.length,\n      include_total: true,\n    };\n    yield this.store\n      .query(`stats-system/${dasherize(this.args.statistic)}`, queryParams)\n      .then(result => {\n        let uniqueUsersList = this._removeDuplicateUser(result);\n        this.statRows.pushObjects(result.toArray());\n        this.totalCount = result.get('meta.total');\n        this.uniqueCount = result.get('meta.unique_user');\n        this.uniqueStatsRows.pushObjects(uniqueUsersList);\n      });\n  }\n\n  @action\n  nextPage() {\n    if (this.hasItemsToLoad) {\n      return this._fetchStats.perform();\n    }\n  }\n\n  @action\n  updateUsersList() {\n    this._fetch();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<StatsSystem::List::BasePercentageStatList\\n  @additionalFilters={{this.additionalFilters}}\\n  @changeView={{@changeView}}\\n  @filter={{@filter}}\\n  @headerTitleComponent=\\\"stats-system/list/header/click-title\\\"\\n  @noun='click'\\n  @overrideColumns={{array\\n    (hash label=\\\"Name\\\" valuePath=\\\"user.displayAs\\\" type=\\\"avatar-with-text\\\")\\n    (hash label=\\\"Link clicked\\\" valuePath=\\\"contentLinkUrl\\\")\\n    (hash label=\\\"When it was clicked\\\" valuePath=\\\"createdAt\\\")\\n  }}\\n  @overrideEmptyStateTitle=\\\"No one's clicked on a link in your {{@statsParameters.uiObjectName}} yet\\\"\\n  @rowComponent=\\\"stats-system/list/row/click-list-row\\\"\\n  @verb='clicked'\\n  @statsParameters={{@statsParameters}}\\n  @statistic='click'\\n/>\", {\"contents\":\"<StatsSystem::List::BasePercentageStatList\\n  @additionalFilters={{this.additionalFilters}}\\n  @changeView={{@changeView}}\\n  @filter={{@filter}}\\n  @headerTitleComponent=\\\"stats-system/list/header/click-title\\\"\\n  @noun='click'\\n  @overrideColumns={{array\\n    (hash label=\\\"Name\\\" valuePath=\\\"user.displayAs\\\" type=\\\"avatar-with-text\\\")\\n    (hash label=\\\"Link clicked\\\" valuePath=\\\"contentLinkUrl\\\")\\n    (hash label=\\\"When it was clicked\\\" valuePath=\\\"createdAt\\\")\\n  }}\\n  @overrideEmptyStateTitle=\\\"No one's clicked on a link in your {{@statsParameters.uiObjectName}} yet\\\"\\n  @rowComponent=\\\"stats-system/list/row/click-list-row\\\"\\n  @verb='clicked'\\n  @statsParameters={{@statsParameters}}\\n  @statistic='click'\\n/>\",\"moduleName\":\"embercom/components/stats-system/list/click-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/click-list.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class ClickList extends Component {\n  get additionalFilters() {\n    if (this.selectedFilterValue === 0) {\n      return null;\n    }\n    return { 'content_link.id': this.selectedFilterValue };\n  }\n\n  get selectedFilterValue() {\n    return parseInt(this.args.filter, 10) || 0;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<StatsSystem::List::BasePercentageStatList\\n  @headerTitleComponent=\\\"stats-system/list/header/collected-email-title\\\"\\n  @noun='collected email'\\n  @verb='email collected'\\n  @statsParameters={{@statsParameters}}\\n  @statistic='collected_email'\\n  @overrideColumns={{array\\n    (hash label=\\\"Name\\\" valuePath=\\\"user.displayAs\\\" type=\\\"avatar-with-text\\\")\\n    (hash label=\\\"Collected email\\\" valuePath=\\\"email\\\")\\n    (hash label=\\\"When it was collected\\\" valuePath=\\\"createdAt\\\")\\n  }}\\n  @overrideEmptyStateTitle=\\\"No one's email has been collected by your {{@statsParameters.uiObjectName}} yet\\\"\\n  @rowComponent=\\\"stats-system/list/row/collected-email-list-row\\\"\\n/>\\n\", {\"contents\":\"<StatsSystem::List::BasePercentageStatList\\n  @headerTitleComponent=\\\"stats-system/list/header/collected-email-title\\\"\\n  @noun='collected email'\\n  @verb='email collected'\\n  @statsParameters={{@statsParameters}}\\n  @statistic='collected_email'\\n  @overrideColumns={{array\\n    (hash label=\\\"Name\\\" valuePath=\\\"user.displayAs\\\" type=\\\"avatar-with-text\\\")\\n    (hash label=\\\"Collected email\\\" valuePath=\\\"email\\\")\\n    (hash label=\\\"When it was collected\\\" valuePath=\\\"createdAt\\\")\\n  }}\\n  @overrideEmptyStateTitle=\\\"No one's email has been collected by your {{@statsParameters.uiObjectName}} yet\\\"\\n  @rowComponent=\\\"stats-system/list/row/collected-email-list-row\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/stats-system/list/collected-email-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/collected-email-list.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<StatsSystem::List::BasePercentageStatList\\n  @noun='completion'\\n  @verb='completed'\\n  @statsParameters={{@statsParameters}}\\n  @statistic='completion'\\n  @emptyStateDescription=\\\"As people complete your {{@statsParameters.uiObjectName}}, we'll show you how and when they completed it.\\\"\\n/>\", {\"contents\":\"<StatsSystem::List::BasePercentageStatList\\n  @noun='completion'\\n  @verb='completed'\\n  @statsParameters={{@statsParameters}}\\n  @statistic='completion'\\n  @emptyStateDescription=\\\"As people complete your {{@statsParameters.uiObjectName}}, we'll show you how and when they completed it.\\\"\\n/>\",\"moduleName\":\"embercom/components/stats-system/list/completion-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/completion-list.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<StatsSystem::List::BasePercentageStatList\\n  @noun='dismissal'\\n  @verb='dismissed'\\n  @statsParameters={{@statsParameters}}\\n  @statistic='dismissal'\\n  @emptyStateDescription=\\\"As people dismiss your {{@statsParameters.uiObjectName}}, we'll show you how and when they dismiss it.\\\"\\n/>\", {\"contents\":\"<StatsSystem::List::BasePercentageStatList\\n  @noun='dismissal'\\n  @verb='dismissed'\\n  @statsParameters={{@statsParameters}}\\n  @statistic='dismissal'\\n  @emptyStateDescription=\\\"As people dismiss your {{@statsParameters.uiObjectName}}, we'll show you how and when they dismiss it.\\\"\\n/>\",\"moduleName\":\"embercom/components/stats-system/list/dismissal-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/dismissal-list.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<StatsSystem::List::BasePercentageStatList\\n  @changeView={{@changeView}}\\n  @filter={{@filter}}\\n  @headerTitleComponent=\\\"stats-system/list/header/email-failure-title\\\"\\n  @noun='issue'\\n  @verb='had an issue'\\n  @statsParameters={{@statsParameters}}\\n  @statistic='email_failure'\\n  @hideCreatedVia={{true}}\\n  @overrideEmptyStateTitle=\\\"No issues have been encountered with your email\\\"\\n  @overrideColumns={{array\\n    (hash label=\\\"Name\\\" valuePath=\\\"user.displayAs\\\" type=\\\"avatar-with-text\\\")\\n    (hash label=\\\"Issue type\\\" valuePath=\\\"failureCategory\\\")\\n    (hash label=\\\"When they had an issue\\\" valuePath=\\\"createdAt\\\")\\n  }}\\n  @rowComponent=\\\"stats-system/list/row/email-failure-list-row\\\"\\n  @additionalFilters={{this.additionalFilters}}\\n/>\\n\", {\"contents\":\"<StatsSystem::List::BasePercentageStatList\\n  @changeView={{@changeView}}\\n  @filter={{@filter}}\\n  @headerTitleComponent=\\\"stats-system/list/header/email-failure-title\\\"\\n  @noun='issue'\\n  @verb='had an issue'\\n  @statsParameters={{@statsParameters}}\\n  @statistic='email_failure'\\n  @hideCreatedVia={{true}}\\n  @overrideEmptyStateTitle=\\\"No issues have been encountered with your email\\\"\\n  @overrideColumns={{array\\n    (hash label=\\\"Name\\\" valuePath=\\\"user.displayAs\\\" type=\\\"avatar-with-text\\\")\\n    (hash label=\\\"Issue type\\\" valuePath=\\\"failureCategory\\\")\\n    (hash label=\\\"When they had an issue\\\" valuePath=\\\"createdAt\\\")\\n  }}\\n  @rowComponent=\\\"stats-system/list/row/email-failure-list-row\\\"\\n  @additionalFilters={{this.additionalFilters}}\\n/>\\n\",\"moduleName\":\"embercom/components/stats-system/list/email-failure-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/email-failure-list.hbs\"}});\nimport Component from '@glimmer/component';\nimport { emailFailureCategories } from 'embercom/models/data/stats-system/stats-constants';\n\nexport default class EmailFailureList extends Component {\n  get selectedFilterValue() {\n    let availableFilters = [\n      emailFailureCategories.hardBounce,\n      emailFailureCategories.unsubscribe,\n      emailFailureCategories.spamComplaint,\n    ];\n    return availableFilters.includes(this.args.filter) ? this.args.filter : '';\n  }\n\n  get additionalFilters() {\n    if (!this.selectedFilterValue) {\n      return null;\n    }\n    return { 'failure_category.id': this.selectedFilterValue };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcEmptyState\\n  @icon=\\\"people\\\"\\n  @title={{this.emptyStateTitle}}\\n  @description={{@emptyStateDescription}}\\n  data-test-no-stats-to-display={{true}}\\n/>\", {\"contents\":\"<IcEmptyState\\n  @icon=\\\"people\\\"\\n  @title={{this.emptyStateTitle}}\\n  @description={{@emptyStateDescription}}\\n  data-test-no-stats-to-display={{true}}\\n/>\",\"moduleName\":\"embercom/components/stats-system/list/empty-state/default-empty-state.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/empty-state/default-empty-state.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\n\nexport default class DefaultEmptyState extends Component {\n  @service contentEditorService;\n\n  get emptyStateTitle() {\n    if (this.contentEditorService.isViewingVersionSnapshot) {\n      return 'No data recorded for this version';\n    } else {\n      return (\n        this.args.overrideEmptyStateTitle ||\n        `No one's ${this.args.verb} your ${this.args.statsParameters.uiObjectName} yet`\n      );\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcEmptyState\\n  @icon=\\\"conversation\\\"\\n  @title=\\\"Find and fix any issues with your tour\\\"\\n  data-test-no-stats-to-display={{true}} as |emptyState|\\n>\\n  <emptyState.description>\\n    <p>\\n      <b>\\n        Tip:\\n      </b>\\n      Issues occur because an element being pointed to doesn’t exist on the webpage where the tour is shown.\\n    </p>\\n    <p class=\\\"u__mt__10\\\">\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/product-tours/ensure-your-tours-deliver/track-and-resolve-your-product-tours-issues\\\"\\n        @title=\\\"Learn more\\\"\\n        @type=\\\"article\\\"\\n        @linkStyling=\\\"inline\\\"\\n        {{on 'click' this.trackLearnMoreEvent}}\\n        data-test-learn-more-link\\n      />\\n    </p>\\n  </emptyState.description>\\n</IcEmptyState>\\n\", {\"contents\":\"<IcEmptyState\\n  @icon=\\\"conversation\\\"\\n  @title=\\\"Find and fix any issues with your tour\\\"\\n  data-test-no-stats-to-display={{true}} as |emptyState|\\n>\\n  <emptyState.description>\\n    <p>\\n      <b>\\n        Tip:\\n      </b>\\n      Issues occur because an element being pointed to doesn’t exist on the webpage where the tour is shown.\\n    </p>\\n    <p class=\\\"u__mt__10\\\">\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/product-tours/ensure-your-tours-deliver/track-and-resolve-your-product-tours-issues\\\"\\n        @title=\\\"Learn more\\\"\\n        @type=\\\"article\\\"\\n        @linkStyling=\\\"inline\\\"\\n        {{on 'click' this.trackLearnMoreEvent}}\\n        data-test-learn-more-link\\n      />\\n    </p>\\n  </emptyState.description>\\n</IcEmptyState>\\n\",\"moduleName\":\"embercom/components/stats-system/list/empty-state/tour-step-failure-empty-state.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/empty-state/tour-step-failure-empty-state.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class TourStepFailureEmptyState extends Component {\n  @service intercomEventService;\n\n  @action\n  trackLearnMoreEvent() {\n    let tourId = this.args.statsParameters.contentId;\n    this.intercomEventService.trackAnalyticsEvent({\n      tour_id: tourId,\n      object: 'tour_help_doc',\n      action: 'clicked',\n      helpdoc_feature: 'product_tours',\n      helpdoc_name: 'issues_learn_more',\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<StatsSystem::List::BaseStatList\\n  @changeView={{@changeView}}\\n  @existsFieldsFilters={{this.existsFieldsFilters}}\\n  @filter={{@filter}}\\n  @filterConfig={{@filterConfig}}\\n  @headerTitleComponent=\\\"stats-system/list/header/goal-success-title\\\"\\n  @noun=\\\"goal hit\\\"\\n  @overrideColumns={{this.columns}}\\n  @overrideEmptyStateTitle=\\\"No one's hit your goal yet\\\"\\n  @queryKeys={{this.queryKeys}}\\n  @rowComponent=\\\"stats-system/list/row/goal-success-list-row\\\"\\n  @showUniqueUsersOnly={{true}}\\n  @statistic='goal_success'\\n  @statsParameters={{@statsParameters}}\\n  @transforms={{this.transforms}}\\n  @unit='percent'\\n  @verb=\\\"hit the goal\\\"\\n/>\\n\", {\"contents\":\"<StatsSystem::List::BaseStatList\\n  @changeView={{@changeView}}\\n  @existsFieldsFilters={{this.existsFieldsFilters}}\\n  @filter={{@filter}}\\n  @filterConfig={{@filterConfig}}\\n  @headerTitleComponent=\\\"stats-system/list/header/goal-success-title\\\"\\n  @noun=\\\"goal hit\\\"\\n  @overrideColumns={{this.columns}}\\n  @overrideEmptyStateTitle=\\\"No one's hit your goal yet\\\"\\n  @queryKeys={{this.queryKeys}}\\n  @rowComponent=\\\"stats-system/list/row/goal-success-list-row\\\"\\n  @showUniqueUsersOnly={{true}}\\n  @statistic='goal_success'\\n  @statsParameters={{@statsParameters}}\\n  @transforms={{this.transforms}}\\n  @unit='percent'\\n  @verb=\\\"hit the goal\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/stats-system/list/goal-success-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/goal-success-list.hbs\"}});\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\nimport { createPercentBucketsForNestedKeys } from 'embercom/lib/reporting/signal-transformations';\nimport { capitalize } from '@ember/string';\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\n\nexport default class GoalSuccessList extends Component {\n  @service intercomEventService;\n\n  get existsFieldsFilters() {\n    if (this.args.filter && this.args.filter !== stats.receipt) {\n      return { exists_fields: [`stat_${this.args.filter}.id`] };\n    }\n  }\n\n  get queryKeys() {\n    let filter = this.args.filter || stats.receipt;\n    return [`stats_${filter}`, `stats_${stats.goalSuccess}`];\n  }\n\n  get transforms() {\n    return [createPercentBucketsForNestedKeys(`stats_${stats.goalSuccess}`, this.queryKeys)];\n  }\n\n  get goal() {\n    return this.args.statsParameters.goal;\n  }\n\n  get goalAttributeDescription() {\n    return this.goal.predicateGroup.editablePredicates.firstObject.descriptionPrefix;\n  }\n\n  get columns() {\n    let columns = [\n      { label: 'Name', valuePath: 'user.displayAs', type: 'avatar-with-text' },\n      { label: `When it was hit`, valuePath: 'createdAt' },\n    ];\n\n    // We only want to show the user goal attribute if the goal relates to an attribute, not if it\n    // relates to a page view.\n    if (!this.goal.hasClientPredicate) {\n      columns.push({\n        label: capitalize(this.goalAttributeDescription),\n        valuePath: 'userGoalAttributes',\n      });\n    }\n\n    return columns;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-total-user-count>\\n  <strong>{{@statMetadata.uniqueCount}}</strong> {{inflector-helper \\\"customer\\\" @statMetadata.uniqueCount}} {{@verb}} this {{@statsParameters.uiObjectName}} {{this.totalViewsText}}.\\n</div>\\n\", {\"contents\":\"<div data-test-total-user-count>\\n  <strong>{{@statMetadata.uniqueCount}}</strong> {{inflector-helper \\\"customer\\\" @statMetadata.uniqueCount}} {{@verb}} this {{@statsParameters.uiObjectName}} {{this.totalViewsText}}.\\n</div>\\n\",\"moduleName\":\"embercom/components/stats-system/list/header/article-content-views-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/header/article-content-views-title.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class ArticleContentViewsTitle extends Component {\n  get totalViewsText() {\n    if (this.args.statMetadata.totalCount > 1) {\n      return `${this.args.statMetadata.totalCount} times`;\n    } else {\n      return 'once';\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-row items-center gap-4\\\">\\n  {{#if this.disableBulkMessage}}\\n    <IcTooltip as |t|>\\n      <t.opener>\\n        <IcButton\\n          data-test-bulk-message-button\\n          @onClick={{action \\\"showBulkMessageModal\\\"}}\\n          @label={{this.bulkMessageLabel}}\\n          @type=\\\"secondary\\\"\\n          @disabled={{this.disableBulkMessage}}\\n          @icon=\\\"manual-message\\\"\\n        />\\n      </t.opener>\\n      <t.content>\\n        You can't message more than 2000 customers at once\\n      </t.content>\\n    </IcTooltip>\\n  {{else}}\\n    <IcButton\\n      data-test-bulk-message-button\\n      @onClick={{action \\\"showBulkMessageModal\\\"}}\\n      @label={{this.bulkMessageLabel}}\\n      @type=\\\"secondary\\\"\\n      @icon=\\\"manual-message\\\" />\\n  {{/if}}\\n  <IcButton\\n    data-test-bulk-tag-button\\n    @onClick={{action \\\"showBulkTagModal\\\"}}\\n    @label={{this.bulkTagLabel}}\\n    @type=\\\"secondary\\\"\\n    @icon=\\\"tag\\\"\\n  />\\n</div>\\n\\n<StatsSystem::List::Header::TaggingModal\\n  @onModalClose={{action \\\"showBulkTagModal\\\"}}\\n  @isOpen={{this.showTagModal}}\\n  @title={{this.tagTitle}}\\n  @taggable={{this.taggable}}\\n  @afterSave={{action \\\"afterSave\\\"}}\\n  @innerModalCloseAction={{action (mut this.showTagModal) false}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"flex flex-row items-center gap-4\\\">\\n  {{#if this.disableBulkMessage}}\\n    <IcTooltip as |t|>\\n      <t.opener>\\n        <IcButton\\n          data-test-bulk-message-button\\n          @onClick={{action \\\"showBulkMessageModal\\\"}}\\n          @label={{this.bulkMessageLabel}}\\n          @type=\\\"secondary\\\"\\n          @disabled={{this.disableBulkMessage}}\\n          @icon=\\\"manual-message\\\"\\n        />\\n      </t.opener>\\n      <t.content>\\n        You can't message more than 2000 customers at once\\n      </t.content>\\n    </IcTooltip>\\n  {{else}}\\n    <IcButton\\n      data-test-bulk-message-button\\n      @onClick={{action \\\"showBulkMessageModal\\\"}}\\n      @label={{this.bulkMessageLabel}}\\n      @type=\\\"secondary\\\"\\n      @icon=\\\"manual-message\\\" />\\n  {{/if}}\\n  <IcButton\\n    data-test-bulk-tag-button\\n    @onClick={{action \\\"showBulkTagModal\\\"}}\\n    @label={{this.bulkTagLabel}}\\n    @type=\\\"secondary\\\"\\n    @icon=\\\"tag\\\"\\n  />\\n</div>\\n\\n<StatsSystem::List::Header::TaggingModal\\n  @onModalClose={{action \\\"showBulkTagModal\\\"}}\\n  @isOpen={{this.showTagModal}}\\n  @title={{this.tagTitle}}\\n  @taggable={{this.taggable}}\\n  @afterSave={{action \\\"afterSave\\\"}}\\n  @innerModalCloseAction={{action (mut this.showTagModal) false}}\\n/>\\n\",\"moduleName\":\"embercom/components/stats-system/list/header/bulk-actions-buttons.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/header/bulk-actions-buttons.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport { equal, readOnly, mapBy } from '@ember/object/computed';\nimport { put } from 'embercom/lib/ajax';\nimport LegacySelectionState from 'embercom/models/legacy-selection-state';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport ModalActions from 'embercom/controllers/mixins/users-and-companies/modal-actions';\nimport { uniq } from '@ember/object/computed';\nimport pluralize from 'embercom/lib/inflector';\n\nexport default Component.extend(ModalActions, {\n  tagName: '',\n  appService: service(),\n  intercomEventService: service(),\n  app: readOnly('appService.app'),\n  selectedUserIds: mapBy('selectedUsers', 'id'),\n  isSelectAllMode: equal('selectedUsers.length', 0),\n  _uniqueSelectedUserIds: uniq('selectedUserIds', 'id'),\n  bulkTaggingUrl: 'ember/stats_system/tag.json',\n  showTagModal: false,\n  content: readOnly('statsParameters.contentObject'),\n  disableBulkMessage: computed(\n    'isSelectAllMode',\n    '_uniqueSelectedUserIds',\n    'uniqueCount',\n    function() {\n      if (this.isSelectAllMode) {\n        return this.uniqueCount > 2000;\n      } else {\n        return this._uniqueSelectedUserIds.length > 2000;\n      }\n    },\n  ),\n\n  bulkMessageLabel: computed('isSelectAllMode', '_uniqueSelectedUserIds.[]', function() {\n    if (this.isSelectAllMode) {\n      return 'Message all';\n    } else {\n      let uniqueUserCount = this._uniqueSelectedUserIds.length;\n      return `Message ${uniqueUserCount} ${pluralize('user', uniqueUserCount, 'users')}`;\n    }\n  }),\n\n  bulkTagLabel: computed('isSelectAllMode', '_uniqueSelectedUserIds.[]', function() {\n    if (this.isSelectAllMode) {\n      return 'Tag all';\n    } else {\n      let uniqueUserCount = this._uniqueSelectedUserIds.length;\n      return `Tag ${uniqueUserCount} ${pluralize('user', uniqueUserCount, 'users')}`;\n    }\n  }),\n\n  tagTitle: computed('selectedUsers.length', 'statCount', function() {\n    let numberOfUsers = this.isSelectAllMode ? this.statCount : this.selectedUsers.length;\n    if (this.selectedUsers.length === 1) {\n      return `Tag this user`;\n    } else {\n      return `Tag these ${numberOfUsers} unique users`;\n    }\n  }),\n\n  taggable: computed(function() {\n    return {\n      tags: [],\n      taggings: [],\n      type: 'user-company',\n      updateTaggings: (admin, selectedTags, removedTags) =>\n        this.tagUsersTask.perform(admin, selectedTags),\n    };\n  }),\n\n  tagUsersTask: task(function*(admin, selectedTags) {\n    let params = {\n      app_id: this.get('app.id'),\n      admin_id: this.get('app.currentAdmin.id'),\n      tag_names: selectedTags.map(tag => tag.name),\n      included_ids: this.isSelectAllMode ? [] : this.selectedUserIds,\n      is_select_all_mode: this.isSelectAllMode,\n      stat: this.statistic,\n      content_id: this.statsParameters.contentId,\n      content_type: this.statsParameters.contentType,\n    };\n    if (this.isSelectAllMode) {\n      params = { ...this.baseQueryParams, ...params };\n    }\n    yield put(this.bulkTaggingUrl, params);\n  }),\n\n  _makeOptionsForBulkMessageModal() {\n    let options = {\n      app_id: this.get('app.id'),\n      admin_id: this.get('app.currentAdmin.id'),\n      included_ids: this.isSelectAllMode ? [] : this.selectedUserIds,\n      is_select_all_mode: this.isSelectAllMode,\n      stat: this.statistic,\n      content_id: this.statsParameters.contentId,\n      content_type: this.statsParameters.contentType,\n      shortObjectName: this.statsParameters.shortObjectName,\n    };\n    if (this.isSelectAllMode) {\n      options = { ...this.baseQueryParams, ...options };\n    }\n\n    return options;\n  },\n\n  _getLegacySelectionState() {\n    return LegacySelectionState.create({\n      isSelectAllMode: this.isSelectAllMode,\n      selected: this.selectedUsers,\n      unselected: [],\n      totalCount: this.isSelectAllMode ? this.statCount : this.selectedUsers.length,\n    });\n  },\n\n  _trackBulkActionEvent(action) {\n    let objectName = this.statsParameters.shortObjectName;\n    let analyticsEvent = {\n      object: objectName,\n      app_id: this.get('app.id'),\n      action,\n    };\n    analyticsEvent[`${objectName}_id`] = this.content.id;\n    this.intercomEventService.trackAnalyticsEvent(analyticsEvent);\n  },\n\n  actions: {\n    showBulkTagModal() {\n      this.set('showTagModal', true);\n      this._trackBulkActionEvent('bulk_tag_button_clicked');\n    },\n\n    showBulkMessageModal() {\n      let controller = 'apps/app/modals/stats-system/bulk-message';\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send(\n        'openModal',\n        controller,\n        this._getLegacySelectionState(),\n        this._makeOptionsForBulkMessageModal(),\n      );\n      this._trackBulkActionEvent('bulk_message_button_clicked');\n    },\n\n    afterSave() {\n      this.set('showTagModal', false);\n      this.notificationsService.notifyConfirmation(\n        'Customers are being tagged. This may take a few minutes.',\n      );\n      this._trackBulkActionEvent('bulk_tagged_stat_list');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-center justify-between\\\">\\n  <div data-test-total-user-count>\\n    <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} {{@verb}} a link or a button in\\n    this {{@statsParameters.uiObjectName}}.\\n  </div>\\n\\n  {{#if this.showFilterDropdown}}\\n    <div class=\\\"flex flex-row items-center justify-end\\\">\\n      <IcSelect @items={{this.filterItems}}\\n                @onSelectItem={{this.changeFilter}}\\n                @selectedValue={{this.selectedFilterValue}}\\n                data-test-filter-dropdown={{true}} />\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row items-center justify-between\\\">\\n  <div data-test-total-user-count>\\n    <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} {{@verb}} a link or a button in\\n    this {{@statsParameters.uiObjectName}}.\\n  </div>\\n\\n  {{#if this.showFilterDropdown}}\\n    <div class=\\\"flex flex-row items-center justify-end\\\">\\n      <IcSelect @items={{this.filterItems}}\\n                @onSelectItem={{this.changeFilter}}\\n                @selectedValue={{this.selectedFilterValue}}\\n                data-test-filter-dropdown={{true}} />\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/stats-system/list/header/click-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/header/click-title.hbs\"}});\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { restartableTask } from 'ember-concurrency-decorators';\nimport { inject as service } from '@ember/service';\nimport { statisticKeys } from 'embercom/models/data/outbound/constants';\n\nexport default class ClickTitle extends Component {\n  @service appService;\n  @service contentEditorService;\n  @service store;\n\n  @tracked contentLinks = [];\n\n  constructor() {\n    super(...arguments);\n    this.fetchContentLinks.perform();\n  }\n\n  @restartableTask\n  *fetchContentLinks() {\n    let localizedContent = this.args.statsParameters.contentObject.localizedContents.firstObject;\n    this.contentLinks = yield this.store.query('content-service/content-link', {\n      app_id: this.appService.app.id,\n      model_id: this._stripRulesetVersionId(localizedContent.id),\n      model_name: localizedContent.constructor.modelName,\n    });\n  }\n\n  get showFilterDropdown() {\n    // TODO: This really shouldn't be using the content editor service as it breaks the separation of concerns that\n    // should be happening here. Instead, the BaseStatList should provide the ability to specify a list header block\n    // wherein we'd have access to whether there are any click stats.\n    let rulesetLink = this.contentEditorService.activeRulesetLink;\n    let statistic = rulesetLink.objectStats.findBy('key', statisticKeys.clicks);\n    return statistic.value > 0 && this.filterItems.length > 1;\n  }\n\n  get filterItems() {\n    let items = [{ text: 'Clicked', value: 0 }];\n    if (this.contentLinks.length > 0) {\n      items.push(\n        ...this.contentLinks.map(link => ({\n          text: `Clicked ${link.url}`,\n          value: parseInt(link.id, 10),\n        })),\n      );\n    } else if (this.selectedFilterValue !== 0) {\n      items.push({ text: 'Loading...', value: this.selectedFilterValue });\n    }\n    return items;\n  }\n\n  get selectedFilterValue() {\n    return parseInt(this.args.filter, 10) || 0;\n  }\n\n  _stripRulesetVersionId(localizedContentId) {\n    // In Ruleset versions, localizedContentId is a composite key in the following format:\n    // \"rv-${version.id}-${ruleset.id}-${rulesetLink.id}-${object.id}-${localizedContent.id}\"\n    // We're splitting the ids by the separator - and taking the last value as that's the ID we're looking for\n    return localizedContentId.split('-').lastObject;\n  }\n\n  @action\n  changeFilter(filter) {\n    this.args.changeView(stats.click, filter);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-total-user-count>\\n  <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} email was collected by this {{@statsParameters.uiObjectName}}.\\n</div>\", {\"contents\":\"<div data-test-total-user-count>\\n  <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} email was collected by this {{@statsParameters.uiObjectName}}.\\n</div>\",\"moduleName\":\"embercom/components/stats-system/list/header/collected-email-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/header/collected-email-title.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-total-user-count>\\n  <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} {{@verb}} this {{@statsParameters.uiObjectName}}.\\n</div>\", {\"contents\":\"<div data-test-total-user-count>\\n  <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} {{@verb}} this {{@statsParameters.uiObjectName}}.\\n</div>\",\"moduleName\":\"embercom/components/stats-system/list/header/default-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/header/default-title.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-center justify-between\\\">\\n  <div data-test-total-user-count>\\n    <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} bounced, unsubscribed, or marked\\n    this {{@statsParameters.uiObjectName}} as spam.\\n  </div>\\n  <div class=\\\"flex flex-row items-center justify-end flex-2\\\">\\n    <IcSelect\\n      @items={{this.filterItems}}\\n      @onSelectItem={{this.changeFilter}}\\n      @selectedValue={{this.selectedFilterValue}}\\n      @minWidthOfOverlay={{165}}\\n      data-test-filter-dropdown={{true}}\\n    />\\n  </div>\\n</div>\", {\"contents\":\"<div class=\\\"flex flex-row items-center justify-between\\\">\\n  <div data-test-total-user-count>\\n    <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} bounced, unsubscribed, or marked\\n    this {{@statsParameters.uiObjectName}} as spam.\\n  </div>\\n  <div class=\\\"flex flex-row items-center justify-end flex-2\\\">\\n    <IcSelect\\n      @items={{this.filterItems}}\\n      @onSelectItem={{this.changeFilter}}\\n      @selectedValue={{this.selectedFilterValue}}\\n      @minWidthOfOverlay={{165}}\\n      data-test-filter-dropdown={{true}}\\n    />\\n  </div>\\n</div>\",\"moduleName\":\"embercom/components/stats-system/list/header/email-failure-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/header/email-failure-title.hbs\"}});\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\nimport Component from '@glimmer/component';\nimport { emailFailureCategories } from 'embercom/models/data/stats-system/stats-constants';\nimport { action } from '@ember/object';\n\nexport default class EmailFailureTitle extends Component {\n  get filterItems() {\n    let items = [\n      { text: 'All issues', value: '' },\n      { text: 'Hard bounced', value: emailFailureCategories.hardBounce },\n      { text: 'Unsubscribed', value: emailFailureCategories.unsubscribe },\n      { text: 'Marked as spam', value: emailFailureCategories.spamComplaint },\n    ];\n    return items;\n  }\n\n  get selectedFilterValue() {\n    let availableFilters = [\n      emailFailureCategories.hardBounce,\n      emailFailureCategories.unsubscribe,\n      emailFailureCategories.spamComplaint,\n    ];\n    return availableFilters.includes(this.args.filter) ? this.args.filter : '';\n  }\n\n  @action\n  changeFilter(filter) {\n    this.args.changeView(stats.emailFailure, filter);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-center justify-between\\\">\\n  <div data-test-total-user-count>\\n    <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} hit the {{capitalize @statsParameters.uiObjectName}} goal:\\n    <span class=\\\"ml-4\\\"><StatsSystem::Goals::GoalSummary @goal={{@statsParameters.goal}} /></span>\\n  </div>\\n  {{#if (gt this.filterItems.length 1)}}\\n    <div class=\\\"flex flex-row items-center gap-2\\\">\\n      <IcSelect @items={{this.filterItems}}\\n                @minWidthOfOverlay={{225}}\\n                @onSelectItem={{this.changeFilter}}\\n                @selectedValue={{@filter}}\\n                data-test-filter-dropdown={{true}} />\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row items-center justify-between\\\">\\n  <div data-test-total-user-count>\\n    <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} hit the {{capitalize @statsParameters.uiObjectName}} goal:\\n    <span class=\\\"ml-4\\\"><StatsSystem::Goals::GoalSummary @goal={{@statsParameters.goal}} /></span>\\n  </div>\\n  {{#if (gt this.filterItems.length 1)}}\\n    <div class=\\\"flex flex-row items-center gap-2\\\">\\n      <IcSelect @items={{this.filterItems}}\\n                @minWidthOfOverlay={{225}}\\n                @onSelectItem={{this.changeFilter}}\\n                @selectedValue={{@filter}}\\n                data-test-filter-dropdown={{true}} />\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/stats-system/list/header/goal-success-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/header/goal-success-title.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\nimport { action } from '@ember/object';\n\nexport default class GoalSuccessTitle extends Component {\n  @service intercomEventService;\n\n  get filterItems() {\n    let items = [{ text: `Hit the goal`, value: stats.receipt }];\n\n    if (\n      typeof this.args.statsParameters.contentObject.showStat === 'function' &&\n      this.args.statsParameters.contentObject.showStat(stats.completion)\n    ) {\n      items.push({\n        text: `Hit the goal after completing the ${this.args.statsParameters.uiObjectName}`,\n        value: stats.completion,\n      });\n    }\n\n    if (this.args.filterConfig) {\n      items = items.concat(this.args.filterConfig);\n    }\n\n    return items;\n  }\n\n  @action\n  changeFilter(filter) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_goal_success_list',\n      object: filter,\n      goal_id: this.args.statsParameters.goal.id,\n    });\n    this.args.changeView(stats.goalSuccess, filter);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-center justify-between\\\">\\n  <div data-test-total-user-count>\\n    <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} reacted to\\n    the {{@statsParameters.uiObjectName}}.\\n  </div>\\n  <div class=\\\"flex flex-row items-center justify-end flex-2\\\">\\n    <IcSelect @items={{this.filterItems}}\\n              @onSelectItem={{this.changeFilter}}\\n              @selectedValue={{this.selectedFilterValue}}\\n              @minWidthOfOverlay={{165}}\\n              data-test-filter-dropdown={{true}} />\\n  </div>\\n</div>\", {\"contents\":\"<div class=\\\"flex flex-row items-center justify-between\\\">\\n  <div data-test-total-user-count>\\n    <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} reacted to\\n    the {{@statsParameters.uiObjectName}}.\\n  </div>\\n  <div class=\\\"flex flex-row items-center justify-end flex-2\\\">\\n    <IcSelect @items={{this.filterItems}}\\n              @onSelectItem={{this.changeFilter}}\\n              @selectedValue={{this.selectedFilterValue}}\\n              @minWidthOfOverlay={{165}}\\n              data-test-filter-dropdown={{true}} />\\n  </div>\\n</div>\",\"moduleName\":\"embercom/components/stats-system/list/header/reaction-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/header/reaction-title.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\n\nexport default class ReactionTitle extends Component {\n  get filterItems() {\n    let option = [{ text: 'Reacted', value: '' }];\n    let postReactions = this.args.statsParameters.contentObject.reactionSet.map(reaction => {\n      return {\n        text: `Reacted with ${reaction.unicode_emoticon}`,\n        value: reaction.unicode_emoticon,\n      };\n    });\n    return [...option, ...postReactions];\n  }\n\n  get selectedFilterValue() {\n    let values = this.args.statsParameters.contentObject.reactionSet.map(\n      reaction => reaction.unicode_emoticon,\n    );\n    return values.includes(this.args.filter) ? this.args.filter : '';\n  }\n\n  @action\n  changeFilter(filter) {\n    this.args.changeView(stats.reaction, filter);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-total-user-count>\\n  <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} replied to this {{@statsParameters.uiObjectName}}.\\n</div>\", {\"contents\":\"<div data-test-total-user-count>\\n  <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} replied to this {{@statsParameters.uiObjectName}}.\\n</div>\",\"moduleName\":\"embercom/components/stats-system/list/header/reply-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/header/reply-title.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-total-user-count>\\n  <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} finished the Series by reaching the last block.\\n  <Pulse::HelpContent::Link\\n    @href=\\\"https://www.intercom.com/help/en/articles/4425227-when-do-people-enter-and-exit-a-series\\\"\\n    @linkStyling=\\\"inline\\\"\\n    @title=\\\"Learn more\\\"\\n    @type=\\\"article\\\"\\n  />\\n</div>\", {\"contents\":\"<div data-test-total-user-count>\\n  <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} finished the Series by reaching the last block.\\n  <Pulse::HelpContent::Link\\n    @href=\\\"https://www.intercom.com/help/en/articles/4425227-when-do-people-enter-and-exit-a-series\\\"\\n    @linkStyling=\\\"inline\\\"\\n    @title=\\\"Learn more\\\"\\n    @type=\\\"article\\\"\\n  />\\n</div>\",\"moduleName\":\"embercom/components/stats-system/list/header/series-completion-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/header/series-completion-title.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-total-user-count>\\n  <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} disengaged from the Series because they\\n  didn't match a rule or they didn't come online to keep progressing in the Series.\\n  <Pulse::HelpContent::Link\\n    @href=\\\"https://www.intercom.com/help/en/articles/4425227-when-do-people-enter-and-exit-a-series\\\"\\n    @linkStyling=\\\"inline\\\"\\n    @title=\\\"Learn more\\\"\\n    @type=\\\"article\\\"\\n  />\\n</div>\", {\"contents\":\"<div data-test-total-user-count>\\n  <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} disengaged from the Series because they\\n  didn't match a rule or they didn't come online to keep progressing in the Series.\\n  <Pulse::HelpContent::Link\\n    @href=\\\"https://www.intercom.com/help/en/articles/4425227-when-do-people-enter-and-exit-a-series\\\"\\n    @linkStyling=\\\"inline\\\"\\n    @title=\\\"Learn more\\\"\\n    @type=\\\"article\\\"\\n  />\\n</div>\",\"moduleName\":\"embercom/components/stats-system/list/header/series-disengagement-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/header/series-disengagement-title.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-center\\\" data-test-total-user-count>\\n  <div class=\\\"mr-4 mb-2\\\">\\n    <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} exited the Series by matching the exit rules\\n    <IcTooltipIcon class=\\\"text-gray\\\" @isInteractive={{true}}>\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/en/articles/4425227-when-do-people-enter-and-exit-a-series\\\"\\n        @linkStyling=\\\"inline\\\"\\n        @title=\\\"Learn more about exit rules\\\"\\n        @type=\\\"article\\\"\\n      />\\n    </IcTooltipIcon>\\n  </div>\\n  <Series::Summaries::ExitRules::Summary />\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row items-center\\\" data-test-total-user-count>\\n  <div class=\\\"mr-4 mb-2\\\">\\n    <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} exited the Series by matching the exit rules\\n    <IcTooltipIcon class=\\\"text-gray\\\" @isInteractive={{true}}>\\n      <Pulse::HelpContent::Link\\n        @href=\\\"https://www.intercom.com/help/en/articles/4425227-when-do-people-enter-and-exit-a-series\\\"\\n        @linkStyling=\\\"inline\\\"\\n        @title=\\\"Learn more about exit rules\\\"\\n        @type=\\\"article\\\"\\n      />\\n    </IcTooltipIcon>\\n  </div>\\n  <Series::Summaries::ExitRules::Summary />\\n</div>\\n\",\"moduleName\":\"embercom/components/stats-system/list/header/series-exit-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/header/series-exit-title.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-total-user-count>\\n  <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} started the Series by matching entry rules.\\n  <Pulse::HelpContent::Link\\n    @href=\\\"https://www.intercom.com/help/en/articles/4425227-when-do-people-enter-and-exit-a-series\\\"\\n    @linkStyling=\\\"inline\\\"\\n    @title=\\\"Learn more\\\"\\n    @type=\\\"article\\\"\\n  />\\n</div>\", {\"contents\":\"<div data-test-total-user-count>\\n  <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} started the Series by matching entry rules.\\n  <Pulse::HelpContent::Link\\n    @href=\\\"https://www.intercom.com/help/en/articles/4425227-when-do-people-enter-and-exit-a-series\\\"\\n    @linkStyling=\\\"inline\\\"\\n    @title=\\\"Learn more\\\"\\n    @type=\\\"article\\\"\\n  />\\n</div>\",\"moduleName\":\"embercom/components/stats-system/list/header/series-started-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/header/series-started-title.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcModal\\n  @width=\\\"s\\\"\\n  @onModalClose={{@onModalClose}}\\n  @showCloseIcon={{false}}\\n  @isOpen={{@isOpen}}\\n>\\n  <Common::TaggingComponent\\n    @title={{@title}}\\n    @taggable={{@taggable}}\\n    @type=\\\"user-company\\\"\\n    @location=\\\"stat-list\\\"\\n    @afterSave={{@afterSave}}\\n    @closeModalAction={{@innerModalCloseAction}}\\n  />\\n</IcModal>\\n\", {\"contents\":\"<IcModal\\n  @width=\\\"s\\\"\\n  @onModalClose={{@onModalClose}}\\n  @showCloseIcon={{false}}\\n  @isOpen={{@isOpen}}\\n>\\n  <Common::TaggingComponent\\n    @title={{@title}}\\n    @taggable={{@taggable}}\\n    @type=\\\"user-company\\\"\\n    @location=\\\"stat-list\\\"\\n    @afterSave={{@afterSave}}\\n    @closeModalAction={{@innerModalCloseAction}}\\n  />\\n</IcModal>\\n\",\"moduleName\":\"embercom/components/stats-system/list/header/tagging-modal.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/header/tagging-modal.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-total-user-count>\\n  <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} experienced issues where some of the elements this tour points to weren't found on your website.\\n</div>\\n\\n<p>\\n  Some of the elements this tour points to weren't found on your website, so these users only saw part of your tour.\\n  <Pulse::HelpContent::Link\\n    @href=\\\"https://www.intercom.com/help/product-tours/ensure-your-tours-deliver/track-and-resolve-your-product-tours-issues\\\"\\n    @title=\\\"Learn more\\\"\\n    @type=\\\"article\\\"\\n    @linkStyling=\\\"inline\\\"\\n  />.\\n</p>\\n\", {\"contents\":\"<div data-test-total-user-count>\\n  <strong>{{@statCount}}</strong> {{inflector-helper \\\"customer\\\" @statCount}} experienced issues where some of the elements this tour points to weren't found on your website.\\n</div>\\n\\n<p>\\n  Some of the elements this tour points to weren't found on your website, so these users only saw part of your tour.\\n  <Pulse::HelpContent::Link\\n    @href=\\\"https://www.intercom.com/help/product-tours/ensure-your-tours-deliver/track-and-resolve-your-product-tours-issues\\\"\\n    @title=\\\"Learn more\\\"\\n    @type=\\\"article\\\"\\n    @linkStyling=\\\"inline\\\"\\n  />.\\n</p>\\n\",\"moduleName\":\"embercom/components/stats-system/list/header/tour-step-failure-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/header/tour-step-failure-title.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-tab-visualisation>\\n  <h3 class=\\\"t__h3\\\">\\n    How did that change over time?\\n  </h3>\\n  <Reporting::FetchReport\\n    @query={{this.query}}\\n    @filters={{this.filters}}\\n    @groupings={{this.groupings}}\\n    @range={{this.range}}\\n    @groupOverTime={{true}}\\n    @transforms={{this.transforms}}\\n  as |report|>\\n    <Reporting::ChartContainer @height={{280}} @isLoading={{not report}}>\\n      <Reporting::Chart::Line\\n        @signal={{report}}\\n        @height={{280}}\\n        @keys={{this.keys}}\\n        @tooltips={{this.tooltips}}\\n        @unit={{@unit}}\\n        @keyColorHash={{this.keyColorHash}}\\n      />\\n    </Reporting::ChartContainer>\\n  </Reporting::FetchReport>\\n</div>\\n\", {\"contents\":\"<div data-test-tab-visualisation>\\n  <h3 class=\\\"t__h3\\\">\\n    How did that change over time?\\n  </h3>\\n  <Reporting::FetchReport\\n    @query={{this.query}}\\n    @filters={{this.filters}}\\n    @groupings={{this.groupings}}\\n    @range={{this.range}}\\n    @groupOverTime={{true}}\\n    @transforms={{this.transforms}}\\n  as |report|>\\n    <Reporting::ChartContainer @height={{280}} @isLoading={{not report}}>\\n      <Reporting::Chart::Line\\n        @signal={{report}}\\n        @height={{280}}\\n        @keys={{this.keys}}\\n        @tooltips={{this.tooltips}}\\n        @unit={{@unit}}\\n        @keyColorHash={{this.keyColorHash}}\\n      />\\n    </Reporting::ChartContainer>\\n  </Reporting::FetchReport>\\n</div>\\n\",\"moduleName\":\"embercom/components/stats-system/list/header/trend-graph.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/header/trend-graph.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport Range from 'embercom/models/reporting/range';\nimport { readOnly } from '@ember/object/computed';\nimport { statVisualizationColors } from 'embercom/models/data/stats-system/stats-constants';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  appService: service(),\n  tagName: '',\n\n  query: computed('aggregationType', 'aggregationField', function() {\n    return {\n      name: 'default_query',\n      document_type: 'events',\n      range_field: this.rangeField,\n      aggregation_type: this.aggregationType || 'value_count',\n      aggregation_field: this.aggregationField || 'event.type',\n      nested_keys_are_dates: false,\n    };\n  }),\n\n  rangeField: computed('statsParameters.rangeField', function() {\n    return this.statsParameters.rangeField || 'stat_receipt.created_at';\n  }),\n\n  statName: computed('statistic', function() {\n    return `stats_${this.statistic}`;\n  }),\n\n  keys: computed('statName', function() {\n    return [this.statName];\n  }),\n\n  tooltips: computed('statName', 'verb', function() {\n    return {\n      [this.statName]: this.verb,\n    };\n  }),\n\n  keyColorHash: computed('statName', 'statistic', function() {\n    return {\n      [this.statName]: statVisualizationColors[this.statistic] || 'vis-blue-40',\n    };\n  }),\n\n  groupings: [\n    {\n      grouping: 'event.type',\n      interval: 1,\n    },\n  ],\n\n  contentFilters: computed('statsParameters.{shortObjectName,contentId}', function() {\n    return {\n      [`${this.statsParameters.shortObjectName}.id`]: this.statsParameters.contentId,\n    };\n  }),\n\n  eventFilters: computed('queryKeys', 'statName', function() {\n    let queryKeys = this.queryKeys || [this.statName];\n    return {\n      'event.type': queryKeys,\n    };\n  }),\n\n  // this is a hack: it allows the reaction trend graphs to work for everything except updated reactions\n  // more info here: https://github.com/intercom/intercom/issues/179689#issuecomment-676046546\n  additionalFiltersWithReaction: computed('additionalFilters', function() {\n    let additionalFilters = Object.assign({}, this.additionalFilters);\n    let filterReaction = additionalFilters['current.stat_reaction.reaction'];\n    if (filterReaction) {\n      additionalFilters['reaction.id'] = filterReaction;\n      delete additionalFilters['current.stat_reaction.reaction'];\n    }\n    return additionalFilters;\n  }),\n\n  filters: computed(\n    'contentFilters',\n    'eventFilters',\n    'existsFieldsFilters',\n    'additionalFiltersWithReaction',\n    function() {\n      return {\n        ...this.contentFilters,\n        ...this.eventFilters,\n        ...this.existsFieldsFilters,\n        ...this.additionalFiltersWithReaction,\n      };\n    },\n  ),\n\n  range: computed('_timezone', function() {\n    return Range.createFromParams(\n      new Date(this.statsParameters.startDate),\n      new Date(),\n      this._timezone,\n    );\n  }),\n\n  _timezone: readOnly('appService.app.timezone'),\n\n  transforms: [],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<StatsSystem::List::BasePercentageStatList\\n  @noun='open'\\n  @verb='opened'\\n  @statsParameters={{@statsParameters}}\\n  @statistic='open'\\n  @hideCreatedVia={{true}}\\n  @overrideEmptyStateTitle={{@overrideEmptyStateTitle}}\\n/>\", {\"contents\":\"<StatsSystem::List::BasePercentageStatList\\n  @noun='open'\\n  @verb='opened'\\n  @statsParameters={{@statsParameters}}\\n  @statistic='open'\\n  @hideCreatedVia={{true}}\\n  @overrideEmptyStateTitle={{@overrideEmptyStateTitle}}\\n/>\",\"moduleName\":\"embercom/components/stats-system/list/open-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/open-list.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<StatsSystem::List::BasePercentageStatList\\n  @changeView={{@changeView}}\\n  @filter={{@filter}}\\n  @headerTitleComponent=\\\"stats-system/list/header/reaction-title\\\"\\n  @noun='reaction'\\n  @verb='reacted'\\n  @statsParameters={{@statsParameters}}\\n  @statistic='reaction'\\n  @queryKeys={{this.queryKeys}}\\n  @transforms={{this.transforms}}\\n  @overrideColumns={{array\\n    (hash label=\\\"Name\\\" valuePath=\\\"user.displayAs\\\" type=\\\"avatar-with-text\\\")\\n    (hash label=\\\"Reaction\\\" valuePath=\\\"reaction\\\")\\n    (hash label=\\\"When they reacted\\\" valuePath=\\\"createdAt\\\")\\n  }}\\n  @overrideEmptyStateTitle=\\\"No one's reacted to your {{@statsParameters.uiObjectName}} yet\\\"\\n  @rowComponent=\\\"stats-system/list/row/reaction-list-row\\\"\\n  @additionalFilters={{this.additionalFilters}}\\n/>\\n\", {\"contents\":\"<StatsSystem::List::BasePercentageStatList\\n  @changeView={{@changeView}}\\n  @filter={{@filter}}\\n  @headerTitleComponent=\\\"stats-system/list/header/reaction-title\\\"\\n  @noun='reaction'\\n  @verb='reacted'\\n  @statsParameters={{@statsParameters}}\\n  @statistic='reaction'\\n  @queryKeys={{this.queryKeys}}\\n  @transforms={{this.transforms}}\\n  @overrideColumns={{array\\n    (hash label=\\\"Name\\\" valuePath=\\\"user.displayAs\\\" type=\\\"avatar-with-text\\\")\\n    (hash label=\\\"Reaction\\\" valuePath=\\\"reaction\\\")\\n    (hash label=\\\"When they reacted\\\" valuePath=\\\"createdAt\\\")\\n  }}\\n  @overrideEmptyStateTitle=\\\"No one's reacted to your {{@statsParameters.uiObjectName}} yet\\\"\\n  @rowComponent=\\\"stats-system/list/row/reaction-list-row\\\"\\n  @additionalFilters={{this.additionalFilters}}\\n/>\\n\",\"moduleName\":\"embercom/components/stats-system/list/reaction-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/reaction-list.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class ReactionList extends Component {\n  get selectedFilterValue() {\n    let values = this.args.statsParameters.contentObject.reactionSet.map(\n      reaction => reaction.unicode_emoticon,\n    );\n    return values.includes(this.args.filter) ? this.args.filter : '';\n  }\n\n  get additionalFilters() {\n    if (!this.selectedFilterValue) {\n      return null;\n    }\n    return { 'current.stat_reaction.reaction': this.selectedFilterValue };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<StatsSystem::List::BaseStatList\\n  @headerTitleComponent={{@headerTitleComponent}}\\n  @emptyStateDescription={{this.emptyStateDescription}}\\n  @hideCreatedVia={{@hideCreatedVia}}\\n  @noun={{this.noun}}\\n  @overrideColumns={{@overrideColumns}}\\n  @overrideEmptyStateTitle={{@overrideEmptyStateTitle}}\\n  @statistic='receipt'\\n  @statsParameters={{@statsParameters}}\\n  @verb={{this.verb}}\\n/>\", {\"contents\":\"<StatsSystem::List::BaseStatList\\n  @headerTitleComponent={{@headerTitleComponent}}\\n  @emptyStateDescription={{this.emptyStateDescription}}\\n  @hideCreatedVia={{@hideCreatedVia}}\\n  @noun={{this.noun}}\\n  @overrideColumns={{@overrideColumns}}\\n  @overrideEmptyStateTitle={{@overrideEmptyStateTitle}}\\n  @statistic='receipt'\\n  @statsParameters={{@statsParameters}}\\n  @verb={{this.verb}}\\n/>\",\"moduleName\":\"embercom/components/stats-system/list/receipt-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/receipt-list.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class ReceiptList extends Component {\n  get noun() {\n    return this.args.overrideNoun || 'view';\n  }\n\n  get verb() {\n    return this.args.overrideVerb || 'viewed';\n  }\n\n  get emptyStateDescription() {\n    return (\n      this.args.overrideEmptyStateDescription ||\n      `As people ${this.noun} your ${this.args.statsParameters.uiObjectName}, we'll show you how and when they ${this.verb} it.`\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<StatsSystem::List::BasePercentageStatList\\n  @headerTitleComponent=\\\"stats-system/list/header/reply-title\\\"\\n  @noun='reply'\\n  @verb='replied'\\n  @statsParameters={{@statsParameters}}\\n  @statistic='reply'\\n  @overrideColumns={{array\\n    (hash label=\\\"Name\\\" valuePath=\\\"user.displayAs\\\" type=\\\"avatar-with-text\\\")\\n    (hash label=\\\"Reply\\\" valuePath=\\\"conversationId\\\")\\n    (hash label=\\\"When they replied\\\" valuePath=\\\"createdAt\\\")\\n  }}\\n  @overrideEmptyStateTitle=\\\"No one's replied to your {{@statsParameters.uiObjectName}} yet\\\"\\n  @rowComponent=\\\"stats-system/list/row/reply-list-row\\\"\\n/>\", {\"contents\":\"<StatsSystem::List::BasePercentageStatList\\n  @headerTitleComponent=\\\"stats-system/list/header/reply-title\\\"\\n  @noun='reply'\\n  @verb='replied'\\n  @statsParameters={{@statsParameters}}\\n  @statistic='reply'\\n  @overrideColumns={{array\\n    (hash label=\\\"Name\\\" valuePath=\\\"user.displayAs\\\" type=\\\"avatar-with-text\\\")\\n    (hash label=\\\"Reply\\\" valuePath=\\\"conversationId\\\")\\n    (hash label=\\\"When they replied\\\" valuePath=\\\"createdAt\\\")\\n  }}\\n  @overrideEmptyStateTitle=\\\"No one's replied to your {{@statsParameters.uiObjectName}} yet\\\"\\n  @rowComponent=\\\"stats-system/list/row/reply-list-row\\\"\\n/>\",\"moduleName\":\"embercom/components/stats-system/list/reply-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/reply-list.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<@row.cell @valuePath=\\\"user.displayAs\\\">\\n  <StatsSystem::List::Row::SelectableUserCell @rowData={{@row.data}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"company.name\\\">\\n  {{#if @row.data.company.name}}\\n    {{ic-interface-icon \\\"company\\\"}} {{@row.data.company.name}}\\n  {{else}}\\n    -\\n  {{/if}}\\n</@row.cell>\\n<@row.cell @valuePath=\\\"rulesetId\\\">\\n  <StatsSystem::List::Row::RulesetCell @rulesetId={{@row.data.rulesetId}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"createdAt\\\">\\n  <StatsSystem::List::Row::DateAndTimeTooltip @createdAt={{@row.data.createdAt}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"createdVia\\\">\\n  {{#if (eq (created-via @row.data.createdVia) 0)}}\\n    {{ic-interface-icon \\\"auto-message\\\"}} Shown automatically\\n  {{else if (eq (created-via @row.data.createdVia) 3)}}\\n    {{ic-interface-icon \\\"link\\\"}} Shareable URL\\n  {{else}}\\n    {{ic-interface-icon \\\"messenger\\\"}} Inserted\\n  {{/if}}\\n</@row.cell>\\n<@row.cell @valuePath=\\\"versionIndex\\\">\\n  {{#if @row.data.versionIndex}}\\n    Version {{@row.data.versionIndex}}\\n  {{else}}\\n    -\\n  {{/if}}\\n</@row.cell>\\n\", {\"contents\":\"<@row.cell @valuePath=\\\"user.displayAs\\\">\\n  <StatsSystem::List::Row::SelectableUserCell @rowData={{@row.data}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"company.name\\\">\\n  {{#if @row.data.company.name}}\\n    {{ic-interface-icon \\\"company\\\"}} {{@row.data.company.name}}\\n  {{else}}\\n    -\\n  {{/if}}\\n</@row.cell>\\n<@row.cell @valuePath=\\\"rulesetId\\\">\\n  <StatsSystem::List::Row::RulesetCell @rulesetId={{@row.data.rulesetId}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"createdAt\\\">\\n  <StatsSystem::List::Row::DateAndTimeTooltip @createdAt={{@row.data.createdAt}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"createdVia\\\">\\n  {{#if (eq (created-via @row.data.createdVia) 0)}}\\n    {{ic-interface-icon \\\"auto-message\\\"}} Shown automatically\\n  {{else if (eq (created-via @row.data.createdVia) 3)}}\\n    {{ic-interface-icon \\\"link\\\"}} Shareable URL\\n  {{else}}\\n    {{ic-interface-icon \\\"messenger\\\"}} Inserted\\n  {{/if}}\\n</@row.cell>\\n<@row.cell @valuePath=\\\"versionIndex\\\">\\n  {{#if @row.data.versionIndex}}\\n    Version {{@row.data.versionIndex}}\\n  {{else}}\\n    -\\n  {{/if}}\\n</@row.cell>\\n\",\"moduleName\":\"embercom/components/stats-system/list/row/base-stat-list-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/row/base-stat-list-row.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<@row.cell @valuePath=\\\"user.displayAs\\\">\\n  <StatsSystem::List::Row::SelectableUserCell @rowData={{@row.data}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"contentLinkUrl\\\">\\n  {{@row.data.contentLinkUrl}}\\n</@row.cell>\\n<@row.cell @valuePath=\\\"createdAt\\\">\\n  <StatsSystem::List::Row::DateAndTimeTooltip @createdAt={{@row.data.createdAt}} />\\n</@row.cell>\", {\"contents\":\"<@row.cell @valuePath=\\\"user.displayAs\\\">\\n  <StatsSystem::List::Row::SelectableUserCell @rowData={{@row.data}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"contentLinkUrl\\\">\\n  {{@row.data.contentLinkUrl}}\\n</@row.cell>\\n<@row.cell @valuePath=\\\"createdAt\\\">\\n  <StatsSystem::List::Row::DateAndTimeTooltip @createdAt={{@row.data.createdAt}} />\\n</@row.cell>\",\"moduleName\":\"embercom/components/stats-system/list/row/click-list-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/row/click-list-row.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<@row.cell @valuePath=\\\"user.displayAs\\\">\\n  <StatsSystem::List::Row::SelectableUserCell @rowData={{@row.data}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"email\\\">\\n  {{@row.data.email}}\\n</@row.cell>\\n<@row.cell @valuePath=\\\"createdAt\\\">\\n  {{full-relative-time-ago-helper @row.data.createdAt}}\\n</@row.cell>\\n\", {\"contents\":\"<@row.cell @valuePath=\\\"user.displayAs\\\">\\n  <StatsSystem::List::Row::SelectableUserCell @rowData={{@row.data}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"email\\\">\\n  {{@row.data.email}}\\n</@row.cell>\\n<@row.cell @valuePath=\\\"createdAt\\\">\\n  {{full-relative-time-ago-helper @row.data.createdAt}}\\n</@row.cell>\\n\",\"moduleName\":\"embercom/components/stats-system/list/row/collected-email-list-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/row/collected-email-list-row.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip as |t|>\\n  <t.opener>\\n    {{full-relative-time-ago-helper @createdAt}}\\n  </t.opener>\\n  <t.content>\\n    {{full-date-and-time-helper @createdAt}}\\n  </t.content>\\n</IcTooltip>\", {\"contents\":\"<IcTooltip as |t|>\\n  <t.opener>\\n    {{full-relative-time-ago-helper @createdAt}}\\n  </t.opener>\\n  <t.content>\\n    {{full-date-and-time-helper @createdAt}}\\n  </t.content>\\n</IcTooltip>\",\"moduleName\":\"embercom/components/stats-system/list/row/date-and-time-tooltip.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/row/date-and-time-tooltip.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<@row.cell @valuePath=\\\"user.displayAs\\\">\\n  <StatsSystem::List::Row::SelectableUserCell @rowData={{@row.data}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"failureCategory\\\">\\n  {{humanize @row.data.failureCategory}}\\n</@row.cell>\\n<@row.cell @valuePath=\\\"createdAt\\\">\\n  <StatsSystem::List::Row::DateAndTimeTooltip @createdAt={{@row.data.createdAt}} />\\n</@row.cell>\\n\", {\"contents\":\"<@row.cell @valuePath=\\\"user.displayAs\\\">\\n  <StatsSystem::List::Row::SelectableUserCell @rowData={{@row.data}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"failureCategory\\\">\\n  {{humanize @row.data.failureCategory}}\\n</@row.cell>\\n<@row.cell @valuePath=\\\"createdAt\\\">\\n  <StatsSystem::List::Row::DateAndTimeTooltip @createdAt={{@row.data.createdAt}} />\\n</@row.cell>\\n\",\"moduleName\":\"embercom/components/stats-system/list/row/email-failure-list-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/row/email-failure-list-row.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span data-test-tours-stats-failed-step>{{stepDescription}}</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span data-test-tours-stats-failed-step>{{stepDescription}}</span>\\n\",\"moduleName\":\"embercom/components/stats-system/list/row/failed-step.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/row/failed-step.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  store: service(),\n  stepDescription: computed('stat.tourStepId', function() {\n    let step = this.store.peekRecord('tour-step', this.get('stat.tourStepId'));\n    if (step) {\n      return `Step ${step.order + 1}`;\n    } else {\n      return `A deleted step`;\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<@row.cell @valuePath=\\\"user.displayAs\\\">\\n  <StatsSystem::List::Row::SelectableUserCell @rowData={{@row.data}} />\\n</@row.cell>\\n\\n<@row.cell @valuePath=\\\"createdAt\\\">\\n  <StatsSystem::List::Row::DateAndTimeTooltip @createdAt={{@row.data.createdAt}} />\\n</@row.cell>\\n\\n{{#unless @goal.hasClientPredicate}}\\n  <@row.cell @valuePath='userGoalAttributes'>\\n    {{#each-in @row.data.userGoalAttributes as |attribute value|}}\\n      {{#let (get-with-literal-key @row.data.userGoalAttributes attribute) as |attributeCellValue|}}\\n        {{stats-count attributeCellValue}}\\n      {{/let}}\\n    {{/each-in}}\\n  </@row.cell>\\n{{/unless}}\", {\"contents\":\"<@row.cell @valuePath=\\\"user.displayAs\\\">\\n  <StatsSystem::List::Row::SelectableUserCell @rowData={{@row.data}} />\\n</@row.cell>\\n\\n<@row.cell @valuePath=\\\"createdAt\\\">\\n  <StatsSystem::List::Row::DateAndTimeTooltip @createdAt={{@row.data.createdAt}} />\\n</@row.cell>\\n\\n{{#unless @goal.hasClientPredicate}}\\n  <@row.cell @valuePath='userGoalAttributes'>\\n    {{#each-in @row.data.userGoalAttributes as |attribute value|}}\\n      {{#let (get-with-literal-key @row.data.userGoalAttributes attribute) as |attributeCellValue|}}\\n        {{stats-count attributeCellValue}}\\n      {{/let}}\\n    {{/each-in}}\\n  </@row.cell>\\n{{/unless}}\",\"moduleName\":\"embercom/components/stats-system/list/row/goal-success-list-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/row/goal-success-list-row.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<@row.cell @valuePath=\\\"user.displayAs\\\">\\n  <StatsSystem::List::Row::SelectableUserCell @rowData={{@row.data}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"reaction\\\">\\n  {{@row.data.reaction}}\\n</@row.cell>\\n<@row.cell @valuePath=\\\"createdAt\\\">\\n  <StatsSystem::List::Row::DateAndTimeTooltip @createdAt={{@row.data.createdAt}} />\\n</@row.cell>\\n\\n\", {\"contents\":\"<@row.cell @valuePath=\\\"user.displayAs\\\">\\n  <StatsSystem::List::Row::SelectableUserCell @rowData={{@row.data}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"reaction\\\">\\n  {{@row.data.reaction}}\\n</@row.cell>\\n<@row.cell @valuePath=\\\"createdAt\\\">\\n  <StatsSystem::List::Row::DateAndTimeTooltip @createdAt={{@row.data.createdAt}} />\\n</@row.cell>\\n\\n\",\"moduleName\":\"embercom/components/stats-system/list/row/reaction-list-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/row/reaction-list-row.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (service 'app-service.app') as |app|}}\\n  <@row.cell @valuePath=\\\"user.displayAs\\\">\\n    <StatsSystem::List::Row::SelectableUserCell @rowData={{@row.data}} />\\n  </@row.cell>\\n  <@row.cell @valuePath=\\\"conversationId\\\">\\n    <a class=\\\"text o__standalone-link\\\"\\n      href=\\\"{{href-to app.inboxConversationsConversationRoute app.currentAdmin @row.data.conversationId}}\\\">\\n        View reply\\n    </a>\\n  </@row.cell>\\n  <@row.cell @valuePath=\\\"createdAt\\\">\\n    <StatsSystem::List::Row::DateAndTimeTooltip @createdAt={{@row.data.createdAt}} />\\n  </@row.cell>\\n{{/let}}\\n\\n\", {\"contents\":\"{{#let (service 'app-service.app') as |app|}}\\n  <@row.cell @valuePath=\\\"user.displayAs\\\">\\n    <StatsSystem::List::Row::SelectableUserCell @rowData={{@row.data}} />\\n  </@row.cell>\\n  <@row.cell @valuePath=\\\"conversationId\\\">\\n    <a class=\\\"text o__standalone-link\\\"\\n      href=\\\"{{href-to app.inboxConversationsConversationRoute app.currentAdmin @row.data.conversationId}}\\\">\\n        View reply\\n    </a>\\n  </@row.cell>\\n  <@row.cell @valuePath=\\\"createdAt\\\">\\n    <StatsSystem::List::Row::DateAndTimeTooltip @createdAt={{@row.data.createdAt}} />\\n  </@row.cell>\\n{{/let}}\\n\\n\",\"moduleName\":\"embercom/components/stats-system/list/row/reply-list-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/row/reply-list-row.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"inline-flex items-center flex-row gap-1\\\" data-test-ruleset-cell>\\n  {{#if this.icon}}\\n    <div class=\\\"series__node__icon\\\" data-test-ruleset-cell-icon={{this.icon}}>{{inline-svg this.icon}}</div>\\n  {{/if}}\\n  <div class=\\\"flex-1 series__stats-list__items\\\">{{this.title}}</div>\\n</div>\", {\"contents\":\"<div class=\\\"inline-flex items-center flex-row gap-1\\\" data-test-ruleset-cell>\\n  {{#if this.icon}}\\n    <div class=\\\"series__node__icon\\\" data-test-ruleset-cell-icon={{this.icon}}>{{inline-svg this.icon}}</div>\\n  {{/if}}\\n  <div class=\\\"flex-1 series__stats-list__items\\\">{{this.title}}</div>\\n</div>\",\"moduleName\":\"embercom/components/stats-system/list/row/ruleset-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/row/ruleset-cell.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class RulesetCell extends Component {\n  @service store;\n\n  get icon() {\n    if (!this.node) {\n      return null;\n    }\n    return this.node.graphConfiguration.componentConfig.icon;\n  }\n\n  get node() {\n    let nodes = this.store.peekAll('series/node');\n    return nodes.findBy('rulesetId', this.args.rulesetId);\n  }\n\n  get title() {\n    return this.node?.title || 'Deleted';\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-center gap-1 stats-system__user-cell\\\" data-test-selectable-user-cell={{true}}>\\n  <div class=\\\"flex flex-row items-center stats-system__user-cell__checkbox {{if @rowData.isSelected \\\" o__checked\\\"}}\\\" data-test-user-checkbox-container={{true}}>\\n    <Form as |form|>\\n      <form.Item as |item|>\\n        <item.Checkbox @checked={{@rowData.isSelected}} data-test-select-user-checkbox={{true}} />\\n      </form.Item>\\n    </Form>\\n  </div>\\n  <StatsSystem::List::Row::UserAndAvatar @recipient={{@rowData.user}} />\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row items-center gap-1 stats-system__user-cell\\\" data-test-selectable-user-cell={{true}}>\\n  <div class=\\\"flex flex-row items-center stats-system__user-cell__checkbox {{if @rowData.isSelected \\\" o__checked\\\"}}\\\" data-test-user-checkbox-container={{true}}>\\n    <Form as |form|>\\n      <form.Item as |item|>\\n        <item.Checkbox @checked={{@rowData.isSelected}} data-test-select-user-checkbox={{true}} />\\n      </form.Item>\\n    </Form>\\n  </div>\\n  <StatsSystem::List::Row::UserAndAvatar @recipient={{@rowData.user}} />\\n</div>\\n\",\"moduleName\":\"embercom/components/stats-system/list/row/selectable-user-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/row/selectable-user-cell.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<@row.cell @valuePath=\\\"user.displayAs\\\">\\n  <StatsSystem::List::Row::SelectableUserCell @rowData={{@row.data}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"completionNodeRulesetId\\\">\\n  <StatsSystem::List::Row::RulesetCell @rulesetId={{@row.data.completionNodeRulesetId}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"createdAt\\\">\\n  <StatsSystem::List::Row::DateAndTimeTooltip @createdAt={{@row.data.createdAt}} />\\n</@row.cell>\", {\"contents\":\"<@row.cell @valuePath=\\\"user.displayAs\\\">\\n  <StatsSystem::List::Row::SelectableUserCell @rowData={{@row.data}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"completionNodeRulesetId\\\">\\n  <StatsSystem::List::Row::RulesetCell @rulesetId={{@row.data.completionNodeRulesetId}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"createdAt\\\">\\n  <StatsSystem::List::Row::DateAndTimeTooltip @createdAt={{@row.data.createdAt}} />\\n</@row.cell>\",\"moduleName\":\"embercom/components/stats-system/list/row/series-completion-list-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/row/series-completion-list-row.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<@row.cell @valuePath=\\\"user.displayAs\\\">\\n  <StatsSystem::List::Row::SelectableUserCell @rowData={{@row.data}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"disengagedNodeRulesetId\\\">\\n  <StatsSystem::List::Row::RulesetCell @rulesetId={{@row.data.disengagedNodeRulesetId}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"createdAt\\\">\\n  <StatsSystem::List::Row::DateAndTimeTooltip @createdAt={{@row.data.createdAt}} />\\n</@row.cell>\", {\"contents\":\"<@row.cell @valuePath=\\\"user.displayAs\\\">\\n  <StatsSystem::List::Row::SelectableUserCell @rowData={{@row.data}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"disengagedNodeRulesetId\\\">\\n  <StatsSystem::List::Row::RulesetCell @rulesetId={{@row.data.disengagedNodeRulesetId}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"createdAt\\\">\\n  <StatsSystem::List::Row::DateAndTimeTooltip @createdAt={{@row.data.createdAt}} />\\n</@row.cell>\",\"moduleName\":\"embercom/components/stats-system/list/row/series-disengagement-list-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/row/series-disengagement-list-row.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<@row.cell @valuePath=\\\"user.displayAs\\\">\\n  <StatsSystem::List::Row::SelectableUserCell @rowData={{@row.data}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"createdAt\\\">\\n  {{full-relative-time-ago-helper @row.data.createdAt}}\\n</@row.cell>\\n<@row.cell @valuePath=\\\"tourStepId\\\">\\n  <StatsSystem::List::Row::FailedStep @stat={{@row.data}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"failureUrl\\\">\\n  {{@row.data.failureUrl}}\\n</@row.cell>\\n<@row.cell @valuePath=\\\"failedSelector\\\">\\n  <IcTooltip @willHideOverlayOnClick={{false}} as |t|>\\n    <t.opener>\\n      <code class=\\\"stats-system__tour-step-failure-list__selector u__one-truncated-line\\\">\\n        {{@row.data.failedSelector}}\\n      </code>\\n    </t.opener>\\n    <t.content>\\n      <code>\\n        {{@row.data.failedSelector}}\\n      </code>\\n    </t.content>\\n  </IcTooltip>\\n</@row.cell>\", {\"contents\":\"<@row.cell @valuePath=\\\"user.displayAs\\\">\\n  <StatsSystem::List::Row::SelectableUserCell @rowData={{@row.data}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"createdAt\\\">\\n  {{full-relative-time-ago-helper @row.data.createdAt}}\\n</@row.cell>\\n<@row.cell @valuePath=\\\"tourStepId\\\">\\n  <StatsSystem::List::Row::FailedStep @stat={{@row.data}} />\\n</@row.cell>\\n<@row.cell @valuePath=\\\"failureUrl\\\">\\n  {{@row.data.failureUrl}}\\n</@row.cell>\\n<@row.cell @valuePath=\\\"failedSelector\\\">\\n  <IcTooltip @willHideOverlayOnClick={{false}} as |t|>\\n    <t.opener>\\n      <code class=\\\"stats-system__tour-step-failure-list__selector u__one-truncated-line\\\">\\n        {{@row.data.failedSelector}}\\n      </code>\\n    </t.opener>\\n    <t.content>\\n      <code>\\n        {{@row.data.failedSelector}}\\n      </code>\\n    </t.content>\\n  </IcTooltip>\\n</@row.cell>\",\"moduleName\":\"embercom/components/stats-system/list/row/tour-step-failure-list-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/row/tour-step-failure-list-row.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"avatar__container o__s\\\">\\n  {{#if @recipient.isVisitor}}\\n    {{ic-avatar direct=@recipient.avatarData size='s' contained=true}}\\n    <span data-test-display-as>{{@recipient.displayAs}}</span>\\n  {{else if @recipient}}\\n    <a href=\\\"{{href-to 'apps.app.users.user.all-conversations' @recipient.userId}}\\\" data-test-user-link class=\\\"u__all-pointer-events t__solo-link\\\">\\n      {{ic-avatar direct=@recipient.avatarData size='s' contained=true}}\\n      <span data-test-display-as>{{@recipient.displayAs}}</span>\\n    </a>\\n  {{else}}\\n    {{ic-avatar model=deleted size='s' contained=true}}\\n    <span data-test-display-as>Deleted user</span>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"avatar__container o__s\\\">\\n  {{#if @recipient.isVisitor}}\\n    {{ic-avatar direct=@recipient.avatarData size='s' contained=true}}\\n    <span data-test-display-as>{{@recipient.displayAs}}</span>\\n  {{else if @recipient}}\\n    <a href=\\\"{{href-to 'apps.app.users.user.all-conversations' @recipient.userId}}\\\" data-test-user-link class=\\\"u__all-pointer-events t__solo-link\\\">\\n      {{ic-avatar direct=@recipient.avatarData size='s' contained=true}}\\n      <span data-test-display-as>{{@recipient.displayAs}}</span>\\n    </a>\\n  {{else}}\\n    {{ic-avatar model=deleted size='s' contained=true}}\\n    <span data-test-display-as>Deleted user</span>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/stats-system/list/row/user-and-avatar.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/row/user-and-avatar.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<StatsSystem::List::BasePercentageStatList\\n  @headerTitleComponent=\\\"stats-system/list/header/series-completion-title\\\"\\n  @noun='finish'\\n  @overrideColumns={{array\\n    (hash label=\\\"Name\\\" valuePath=\\\"user.displayAs\\\" type=\\\"avatar-with-text\\\")\\n    (hash label=\\\"Where they finished\\\" valuePath=\\\"completionNodeRulesetId\\\")\\n    (hash label=\\\"When they finished\\\" valuePath=\\\"createdAt\\\")\\n  }}\\n  @rowComponent=\\\"stats-system/list/row/series-completion-list-row\\\"\\n  @statistic='series_completion'\\n  @statsParameters={{@statsParameters}}\\n  @verb='finished'\\n/>\", {\"contents\":\"<StatsSystem::List::BasePercentageStatList\\n  @headerTitleComponent=\\\"stats-system/list/header/series-completion-title\\\"\\n  @noun='finish'\\n  @overrideColumns={{array\\n    (hash label=\\\"Name\\\" valuePath=\\\"user.displayAs\\\" type=\\\"avatar-with-text\\\")\\n    (hash label=\\\"Where they finished\\\" valuePath=\\\"completionNodeRulesetId\\\")\\n    (hash label=\\\"When they finished\\\" valuePath=\\\"createdAt\\\")\\n  }}\\n  @rowComponent=\\\"stats-system/list/row/series-completion-list-row\\\"\\n  @statistic='series_completion'\\n  @statsParameters={{@statsParameters}}\\n  @verb='finished'\\n/>\",\"moduleName\":\"embercom/components/stats-system/list/series-completion-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/series-completion-list.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<StatsSystem::List::BasePercentageStatList\\n  @headerTitleComponent=\\\"stats-system/list/header/series-disengagement-title\\\"\\n  @noun='disengagement'\\n  @overrideColumns={{array\\n    (hash label=\\\"Name\\\" valuePath=\\\"user.displayAs\\\" type=\\\"avatar-with-text\\\")\\n    (hash label=\\\"Where they disengaged\\\" valuePath=\\\"disengagedNodeRulesetId\\\")\\n    (hash label=\\\"When they disengaged\\\" valuePath=\\\"createdAt\\\")\\n  }}\\n  @rowComponent=\\\"stats-system/list/row/series-disengagement-list-row\\\"\\n  @statistic='series_disengagement'\\n  @statsParameters={{@statsParameters}}\\n  @verb='disengaged'\\n/>\", {\"contents\":\"<StatsSystem::List::BasePercentageStatList\\n  @headerTitleComponent=\\\"stats-system/list/header/series-disengagement-title\\\"\\n  @noun='disengagement'\\n  @overrideColumns={{array\\n    (hash label=\\\"Name\\\" valuePath=\\\"user.displayAs\\\" type=\\\"avatar-with-text\\\")\\n    (hash label=\\\"Where they disengaged\\\" valuePath=\\\"disengagedNodeRulesetId\\\")\\n    (hash label=\\\"When they disengaged\\\" valuePath=\\\"createdAt\\\")\\n  }}\\n  @rowComponent=\\\"stats-system/list/row/series-disengagement-list-row\\\"\\n  @statistic='series_disengagement'\\n  @statsParameters={{@statsParameters}}\\n  @verb='disengaged'\\n/>\",\"moduleName\":\"embercom/components/stats-system/list/series-disengagement-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/series-disengagement-list.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<StatsSystem::List::BasePercentageStatList\\n  @headerTitleComponent=\\\"stats-system/list/header/series-exit-title\\\"\\n  @noun='exit'\\n  @overrideColumns={{array\\n    (hash label=\\\"Name\\\" valuePath=\\\"user.displayAs\\\" type=\\\"avatar-with-text\\\")\\n    (hash label=\\\"When they exited\\\" valuePath=\\\"createdAt\\\")\\n  }}\\n  @statistic='series_exit'\\n  @statsParameters={{@statsParameters}}\\n  @verb='exited'\\n/>\", {\"contents\":\"<StatsSystem::List::BasePercentageStatList\\n  @headerTitleComponent=\\\"stats-system/list/header/series-exit-title\\\"\\n  @noun='exit'\\n  @overrideColumns={{array\\n    (hash label=\\\"Name\\\" valuePath=\\\"user.displayAs\\\" type=\\\"avatar-with-text\\\")\\n    (hash label=\\\"When they exited\\\" valuePath=\\\"createdAt\\\")\\n  }}\\n  @statistic='series_exit'\\n  @statsParameters={{@statsParameters}}\\n  @verb='exited'\\n/>\",\"moduleName\":\"embercom/components/stats-system/list/series-exit-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/series-exit-list.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row items-center mt-2 mb-2\\\">\\n  <h3 class=\\\"t__h3 u__padr__10\\\">\\n    Customers who {{@verb}}\\n  </h3>\\n  <StatsSystem::List::Header::BulkActionsButtons\\n    @statsParameters={{@statsParameters}}\\n    @selectedUsers={{this.selectedUsers}}\\n    @baseQueryParams={{@baseQueryParams}}\\n    @statistic={{@statistic}}\\n    @statCount={{@statCount}}\\n    @uniqueCount={{@uniqueCount}}\\n  />\\n</div>\\n<IcTable\\n  @columns={{@columns}}\\n  @data={{@data}}\\n  @isLoading={{@isLoading}}\\n  @loadingRowCount={{@loadingRowCount}}\\n  @canLoadMore={{@canLoadMore}}\\n  @isLoadingMore={{@isLoadingMore}}\\n  @onLoadMore={{@onLoadMore}} as |table|\\n>\\n  <table.rows as |row|>\\n    {{component (or @rowComponent \\\"stats-system/list/row/base-stat-list-row\\\") row=row}}\\n  </table.rows>\\n</IcTable>\\n\", {\"contents\":\"<div class=\\\"flex flex-row items-center mt-2 mb-2\\\">\\n  <h3 class=\\\"t__h3 u__padr__10\\\">\\n    Customers who {{@verb}}\\n  </h3>\\n  <StatsSystem::List::Header::BulkActionsButtons\\n    @statsParameters={{@statsParameters}}\\n    @selectedUsers={{this.selectedUsers}}\\n    @baseQueryParams={{@baseQueryParams}}\\n    @statistic={{@statistic}}\\n    @statCount={{@statCount}}\\n    @uniqueCount={{@uniqueCount}}\\n  />\\n</div>\\n<IcTable\\n  @columns={{@columns}}\\n  @data={{@data}}\\n  @isLoading={{@isLoading}}\\n  @loadingRowCount={{@loadingRowCount}}\\n  @canLoadMore={{@canLoadMore}}\\n  @isLoadingMore={{@isLoadingMore}}\\n  @onLoadMore={{@onLoadMore}} as |table|\\n>\\n  <table.rows as |row|>\\n    {{component (or @rowComponent \\\"stats-system/list/row/base-stat-list-row\\\") row=row}}\\n  </table.rows>\\n</IcTable>\\n\",\"moduleName\":\"embercom/components/stats-system/list/table.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/table.hbs\"}});\nimport Component from '@glimmer/component';\n\nexport default class Table extends Component {\n  get isSelectAllMode() {\n    return this.selectedUsers.length === 0;\n  }\n\n  get selectedRows() {\n    return this.args.data.filterBy('isSelected', true);\n  }\n\n  get selectedUsers() {\n    return this.selectedRows.mapBy('userModel');\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<StatsSystem::List::BasePercentageStatList\\n  @emptyStateComponent=\\\"stats-system/list/empty-state/tour-step-failure-empty-state\\\"\\n  @headerTitleComponent=\\\"stats-system/list/header/tour-step-failure-title\\\"\\n  @noun='issue'\\n  @overrideColumns={{array\\n    (hash label=\\\"Name\\\" valuePath=\\\"user.displayAs\\\" type=\\\"avatar-with-text\\\")\\n    (hash label=\\\"When the issue happened\\\" valuePath=\\\"createdAt\\\")\\n    (hash label=\\\"Step they were on\\\" valuePath=\\\"tourStepId\\\")\\n    (hash label=\\\"Page they were on\\\" valuePath=\\\"failureUrl\\\")\\n    (hash label=\\\"CSS selector not found\\\" valuePath=\\\"failedSelector\\\")\\n  }}\\n  @rowComponent=\\\"stats-system/list/row/tour-step-failure-list-row\\\"\\n  @statistic='tour_step_failure'\\n  @statsParameters={{@statsParameters}}\\n  @verb='failed'\\n/>\\n\", {\"contents\":\"<StatsSystem::List::BasePercentageStatList\\n  @emptyStateComponent=\\\"stats-system/list/empty-state/tour-step-failure-empty-state\\\"\\n  @headerTitleComponent=\\\"stats-system/list/header/tour-step-failure-title\\\"\\n  @noun='issue'\\n  @overrideColumns={{array\\n    (hash label=\\\"Name\\\" valuePath=\\\"user.displayAs\\\" type=\\\"avatar-with-text\\\")\\n    (hash label=\\\"When the issue happened\\\" valuePath=\\\"createdAt\\\")\\n    (hash label=\\\"Step they were on\\\" valuePath=\\\"tourStepId\\\")\\n    (hash label=\\\"Page they were on\\\" valuePath=\\\"failureUrl\\\")\\n    (hash label=\\\"CSS selector not found\\\" valuePath=\\\"failedSelector\\\")\\n  }}\\n  @rowComponent=\\\"stats-system/list/row/tour-step-failure-list-row\\\"\\n  @statistic='tour_step_failure'\\n  @statsParameters={{@statsParameters}}\\n  @verb='failed'\\n/>\\n\",\"moduleName\":\"embercom/components/stats-system/list/tour-step-failure-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/stats-system/list/tour-step-failure-list.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","define(\"embercom/components/stripe-card-cvc\", [\"exports\", \"@adopted-ember-addons/ember-stripe-elements/components/stripe-card-cvc\"], function (_exports, _stripeCardCvc) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _stripeCardCvc.default;\n    }\n  });\n});\n","define(\"embercom/components/stripe-card-expiry\", [\"exports\", \"@adopted-ember-addons/ember-stripe-elements/components/stripe-card-expiry\"], function (_exports, _stripeCardExpiry) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _stripeCardExpiry.default;\n    }\n  });\n});\n","define(\"embercom/components/stripe-card-number\", [\"exports\", \"@adopted-ember-addons/ember-stripe-elements/components/stripe-card-number\"], function (_exports, _stripeCardNumber) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _stripeCardNumber.default;\n    }\n  });\n});\n","define(\"embercom/components/stripe-card\", [\"exports\", \"@adopted-ember-addons/ember-stripe-elements/components/stripe-card\"], function (_exports, _stripeCard) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _stripeCard.default;\n    }\n  });\n});\n","define(\"embercom/components/stripe-elements\", [\"exports\", \"@adopted-ember-addons/ember-stripe-elements/components/stripe-elements\"], function (_exports, _stripeElements) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _stripeElements.default;\n    }\n  });\n});\n","define(\"embercom/components/stripe-postal-code\", [\"exports\", \"@adopted-ember-addons/ember-stripe-elements/components/stripe-postal-code\"], function (_exports, _stripePostalCode) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _stripePostalCode.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield\\n  (hash\\n    header=(component 'submenu-header' title=title)\\n    sections=(component 'submenu-sections')\\n    footer=(component 'submenu-footer')\\n  )\\n}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield\\n  (hash\\n    header=(component 'submenu-header' title=title)\\n    sections=(component 'submenu-sections')\\n    footer=(component 'submenu-footer')\\n  )\\n}}\\n\",\"moduleName\":\"embercom/components/submenu-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/submenu-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport showUnderConstruction from 'embercom/lib/show-under-construction';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  router: service(),\n  classNames: ['submenu', 'layout__box', 'o__has-rows'],\n  showUnderConstructionBanner: computed(\n    'router',\n    'app.{isTestApp,isDeveloperWorkspace}',\n    function() {\n      return showUnderConstruction(this.app, this.router);\n    },\n  ),\n  classNameBindings: [\n    'showUnderConstructionBanner:o__under-construction',\n    'navbarCollapsingService.collapsed:o__without-submenu',\n  ],\n  navbarCollapsingService: service(),\n\n  didReceiveAttrs() {\n    this._super(...arguments);\n    let submenuTitle = this.title;\n    this.navbarCollapsingService.setActiveSubmenu(submenuTitle);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{yield}}\\n\", {\"contents\":\"{{yield}}\\n\",\"moduleName\":\"embercom/components/submenu-footer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/submenu-footer.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  classNames: ['submenu__footer', 'layout__box', 'u__pad__10'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"submenu__header__title flex-auto min-w-0\\\">\\n  {{title}}\\n</div>\\n{{#if this.shouldShowSearchIcon}}\\n  <a {{action searchAction}} class=\\\"submenu__header__search-icon {{if searchIsSelected 'o__selected'}} {{if searchIsDisabled 'o__disabled'}} u__ml__10\\\" data-test-search-icon>\\n    {{ic-interface-icon 'search' solo=true}}\\n  </a>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"submenu__header__title flex-auto min-w-0\\\">\\n  {{title}}\\n</div>\\n{{#if this.shouldShowSearchIcon}}\\n  <a {{action searchAction}} class=\\\"submenu__header__search-icon {{if searchIsSelected 'o__selected'}} {{if searchIsDisabled 'o__disabled'}} u__ml__10\\\" data-test-search-icon>\\n    {{ic-interface-icon 'search' solo=true}}\\n  </a>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/submenu-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/submenu-header.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport { none, not } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport defaultTo from '@intercom/embercom-core/lib/default-to';\n\nconst SHORTCUT_GROUP = 'submenu';\n\nexport default Component.extend({\n  classNames: ['submenu__header', 'layout__box', 'flex', 'items-center'],\n  searchIsSelected: defaultTo(false),\n  searchIsDisabled: defaultTo(false),\n  shouldNotShowSearchIcon: none('searchAction'),\n  shouldShowSearchIcon: not('shouldNotShowSearchIcon'),\n  'data-test-submenu-header': true,\n  shortcuts: service(),\n\n  didInsertElement() {\n    this._super(...arguments);\n    if (this.shouldNotShowSearchIcon) {\n      return;\n    }\n    this.shortcuts.register(SHORTCUT_GROUP, this, [\n      { key: '/', modalActive: false, method: this.searchShortcutPressed },\n    ]);\n  },\n\n  willDestroyElement() {\n    this._super(...arguments);\n    this.shortcuts.unregister(SHORTCUT_GROUP);\n  },\n\n  searchShortcutPressed() {\n    if (this.shouldNotShowSearchIcon || this.searchIsSelected || this.searchIsDisabled) {\n      return;\n    }\n    this.searchAction();\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-if isOpen class='animation__flex-grow'}}\\n  <div class=\\\"submenu__sections__section__items__inner\\\">\\n    {{yield}}\\n  </div>\\n{{/liquid-if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#liquid-if isOpen class='animation__flex-grow'}}\\n  <div class=\\\"submenu__sections__section__items__inner\\\">\\n    {{yield}}\\n  </div>\\n{{/liquid-if}}\\n\",\"moduleName\":\"embercom/components/submenu-sections-section-items.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/submenu-sections-section-items.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport defaultTo from '@intercom/embercom-core/lib/default-to';\n\nexport default Component.extend({\n  classNames: [\n    'submenu__sections__section__items',\n    'layout__box',\n    'o__scrolls',\n    'o__flexes-to-max-of-1',\n  ],\n  isOpen: defaultTo(false),\n  classNameBindings: [\n    'isInboxList:js__respond-inbox-list',\n    'isUserSegmentList:js__user-segment-list',\n    'isCompanySegmentList:js__company-segment-list',\n    'collapseSectionLeftPadding:u__padl__10',\n    'collapseSectionRightPadding:o__section-padding-right',\n  ],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isOpenIsDefined}}\\n  <span class=\\\"section__title__arrow {{if isOpen 'o__expanded'}}\\\">\\n    {{ic-interface-icon 'small-thin-right-arrow' solo=true}}\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isOpenIsDefined}}\\n  <span class=\\\"section__title__arrow {{if isOpen 'o__expanded'}}\\\">\\n    {{ic-interface-icon 'small-thin-right-arrow' solo=true}}\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/submenu-sections-section-title-arrow.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/submenu-sections-section-title-arrow.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { equal, not } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  tagName: 'span',\n  isOpenIsUndefined: equal('isOpen', undefined),\n  isOpenIsDefined: not('isOpenIsUndefined'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasBlock}}\\n  {{yield}}\\n{{else}}\\n  <a\\n    href={{url}}\\n    class=\\\"submenu__sections__section__title__link {{if isSelected \\\"o__selected\\\"}}\\\"\\n    data-test-submenu-section-title=\\\"{{title}}\\\"\\n  >\\n    {{title}} <SubmenuSectionsSectionTitleArrow @isOpen={{isOpen}} />\\n  </a>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasBlock}}\\n  {{yield}}\\n{{else}}\\n  <a\\n    href={{url}}\\n    class=\\\"submenu__sections__section__title__link {{if isSelected \\\"o__selected\\\"}}\\\"\\n    data-test-submenu-section-title=\\\"{{title}}\\\"\\n  >\\n    {{title}} <SubmenuSectionsSectionTitleArrow @isOpen={{isOpen}} />\\n  </a>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/submenu-sections-section-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/submenu-sections-section-title.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  classNames: ['submenu__sections__section__title', 'layout__box'],\n  classNameBindings: [\n    'collapseSectionLeftPadding:u__padl__10',\n    'collapseSectionRightPadding:o__section-padding-right',\n  ],\n  attributeBindings: ['data-intercom-target'],\n  isSelected: false,\n\n  click() {\n    let onClickAction = this.onClick;\n    if (typeof onClickAction === 'function') {\n      onClickAction();\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield\\n  (hash\\n    title=(component 'submenu-sections-section-title'\\n            isClosed=(not isOpen)\\n            collapseSectionLeftPadding=collapseSectionLeftPadding\\n            collapseSectionRightPadding=collapseSectionRightPadding\\n            isOpen=isOpen\\n          )\\n    items=(component 'submenu-sections-section-items'\\n            isOpen=isOpen\\n            canHaveBottomBorder=canHaveBottomBorder\\n            collapseSectionLeftPadding=collapseSectionLeftPadding\\n            collapseSectionRightPadding=collapseSectionRightPadding\\n          )\\n    isClosed=(not isOpen)\\n  )\\n}}\\n{{#if isOpen}}\\n  <div class=\\\"submenu__sections__section__mask o__top\\\">\\n  </div>\\n  <div class=\\\"submenu__sections__section__mask o__bottom\\\">\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield\\n  (hash\\n    title=(component 'submenu-sections-section-title'\\n            isClosed=(not isOpen)\\n            collapseSectionLeftPadding=collapseSectionLeftPadding\\n            collapseSectionRightPadding=collapseSectionRightPadding\\n            isOpen=isOpen\\n          )\\n    items=(component 'submenu-sections-section-items'\\n            isOpen=isOpen\\n            canHaveBottomBorder=canHaveBottomBorder\\n            collapseSectionLeftPadding=collapseSectionLeftPadding\\n            collapseSectionRightPadding=collapseSectionRightPadding\\n          )\\n    isClosed=(not isOpen)\\n  )\\n}}\\n{{#if isOpen}}\\n  <div class=\\\"submenu__sections__section__mask o__top\\\">\\n  </div>\\n  <div class=\\\"submenu__sections__section__mask o__bottom\\\">\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/submenu-sections-section.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/submenu-sections-section.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport defaultTo from '@intercom/embercom-core/lib/default-to';\n\nexport default Component.extend({\n  classNames: ['submenu__sections__section', 'layout__box'],\n  classNameBindings: [\n    'collapseSectionRightPadding:u__padr__0',\n    'isOpen:o__flexes-to-max-of-1',\n    'isOpen:o__has-rows',\n  ],\n  collapseSectionRightPadding: readOnly('isScrollableList'),\n  isScrollableList: defaultTo(false),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{yield\\n  (hash\\n    section=(component 'submenu-sections-section')\\n  )\\n}}\\n\", {\"contents\":\"{{yield\\n  (hash\\n    section=(component 'submenu-sections-section')\\n  )\\n}}\\n\",\"moduleName\":\"embercom/components/submenu-sections.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/submenu-sections.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nexport default Component.extend({\n  classNames: ['submenu__sections', 'layout__box', 'o__flexes-to-1', 'o__scrolls', 'o__has-rows'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div>\\n  <EditableTextComponent\\n    @text={{@tag.name}}\\n    @saveAction={{perform this.saveTag}}\\n    data-test-tag-editable-text\\n  />\\n</div>\\n\", {\"contents\":\"<div>\\n  <EditableTextComponent\\n    @text={{@tag.name}}\\n    @saveAction={{perform this.saveTag}}\\n    data-test-tag-editable-text\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cell-edit-name.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cell-edit-name.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  notificationsService: service(),\n  tagName: '',\n\n  actions: {\n    saveTag(newName) {\n      let tag = this.get('row.tag');\n      let oldName = tag.get('name');\n      tag.set('name', newName);\n      tag.save().catch(error => {\n        if (error.responseJSON.errors.name[0] === 'has already been taken') {\n          this.notificationsService.notifyError('Tag name has already been taken');\n          tag.set('name', oldName);\n        }\n      });\n    },\n  },\n\n  saveTag: task(function*(newName) {\n    let oldName = this.tag.name;\n    let tag = this.tag;\n    tag.set('name', newName);\n    try {\n      yield tag.save();\n    } catch (error) {\n      // this catch block never executes - old code broken too\n      if (error.responseJSON.errors.name[0] === 'has already been taken') {\n        this.notificationsService.notifyError('Tag name has already been taken');\n        tag.set('name', oldName);\n      }\n    }\n  }).drop(),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    <div class=\\\"table__cell__room-maker__editable-text\\\">\\n      See messages\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    <div class=\\\"table__cell__room-maker__editable-text\\\">\\n      See messages\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cell-messages-link.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cell-messages-link.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nexport default Component.extend({\n  tagName: 'td',\n  classNames: 'table__cell',\n  event: readOnly('row.event'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    {{full-date-and-time-helper event.created_at timezone=appTimezone}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    {{full-date-and-time-helper event.created_at timezone=appTimezone}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/admin-events/date-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/admin-events/date-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseAdminEventCell from 'embercom/components/table-cells/admin-events/base-cell';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default BaseAdminEventCell.extend({\n  settingsService: service('settingsService'),\n  appTimezone: readOnly('settingsService.timezone'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    <div class=\\\"settings__admin-events__description-cell\\\">\\n      {{#if event.isAdminDeletion}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        removed your teammate,\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.value.admin_id}}\\\">{{event.value.admin_first_name}} {{event.value.admin_last_name}}</a></Text>.\\n      {{else if event.isRoleDeletion}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        deleted the\\n        <Text @linkStyling=\\\"subtle\\\"><LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{event.value.id}}>{{event.value.name}}</LinkTo></Text> role.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isRoleCreation}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        created the\\n        <Text @linkStyling=\\\"subtle\\\"><LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{event.value.id}}>{{event.value.name}}</LinkTo></Text> role.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isRoleChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        made changes to the\\n        <Text @linkStyling=\\\"subtle\\\"><LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{event.value.static.role.id}}>{{event.value.static.role.name}}</LinkTo></Text>\\n          role.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isAdminInviteRoleChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        changed\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"mailto:{{event.value.static.email}}\\\">{{event.value.static.email}}</a>’s</Text>\\n        role from\\n        <Text @linkStyling=\\\"subtle\\\"><LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{event.value.before.role.id}}>{{event.value.before.role.name}}</LinkTo></Text> to\\n        <Text @linkStyling=\\\"subtle\\\"><LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{event.value.after.role.id}}>{{event.value.after.role.name}}</LinkTo></Text>.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isAdminInviteRoleAssign}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        assigned the\\n        <Text @linkStyling=\\\"subtle\\\"><LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{event.value.after.role.id}}>{{event.value.after.role.name}}</LinkTo></Text> role to\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"mailto:{{event.value.static.email}}\\\">{{event.value.static.email}}</a></Text>.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isAdminInviteRoleRemove}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        removed the\\n        <Text @linkStyling=\\\"subtle\\\"><LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{event.value.before.role.id}}>{{event.value.before.role.name}}</LinkTo></Text> role from\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"mailto:{{event.value.static.email}}\\\">{{event.value.static.email}}</a></Text>.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isAdminInviteChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        changed permissions for\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"mailto:{{event.value.static.email}}\\\">{{event.value.static.email}}</a></Text>.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isAdminInviteCreation}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        invited\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"mailto:{{event.value.email}}\\\">{{event.value.email}}</a></Text>\\n        to join {{app.name}}.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isAdminInviteDeletion}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        revoked the invite for\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"mailto:{{event.value.email}}\\\">{{event.value.email}}</a></Text>\\n        to join {{app.name}}.\\n      {{else if event.isAdminLoginFailure}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        tried to log in with the wrong password\\n        {{inflector-helper \\\"1\\\" event.value.times pluralForm=event.value.times}}\\n        {{inflector-helper \\\"time\\\" event.value.times}}.\\n      {{else if event.isAdminLoginSuccess}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        successfully logged in.\\n      {{else if event.isAdminLogout}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        successfully logged out.\\n      {{else if event.isAdminRoleChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        changed\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.value.static.admin_id}}\\\">{{event.value.static.admin_first_name}} {{event.value.static.admin_last_name}}</a>’s</Text>\\n        role from\\n        <Text @linkStyling=\\\"subtle\\\"><LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{event.value.before.role.id}}>{{event.value.before.role.name}}</LinkTo></Text> to\\n        <Text @linkStyling=\\\"subtle\\\"><LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{event.value.after.role.id}}>{{event.value.after.role.name}}</LinkTo></Text>.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isAdminRoleAssign}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        assigned the\\n        <Text @linkStyling=\\\"subtle\\\"><LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{event.value.after.role.id}}>{{event.value.after.role.name}}</LinkTo></Text> role to\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.value.static.admin_id}}\\\">{{event.value.static.admin_first_name}} {{event.value.static.admin_last_name}}</a></Text>.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isAdminRoleRemove}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        removed the\\n        <Text @linkStyling=\\\"subtle\\\"><LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{event.value.before.role.id}}>{{event.value.before.role.name}}</LinkTo></Text> role from\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.value.static.admin_id}}\\\">{{event.value.static.admin_first_name}} {{event.value.static.admin_last_name}}</a></Text>.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isAdminPermissionChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        changed\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.value.static.admin_id}}\\\">{{event.value.static.admin_first_name}} {{event.value.static.admin_last_name}}</a>’s</Text>\\n        permissions.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isAdminAwayModeChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        turned their away mode\\n        <strong>{{if event.value.away_mode \\\"on\\\" \\\"off\\\"}}</strong>\\n        and did\\n        <strong>{{if event.value.reassign_conversations \\\"\\\" \\\"not\\\"}}</strong>\\n        reassign their conversations.\\n      {{else if event.isAppNameChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        changed your\\n        <a href=\\\"{{href-to app.inboxBaseRoute}}\\\">workspace</a>\\n        name from\\n        <strong>{{event.value.before}}</strong>\\n        to\\n        <strong>{{event.value.after}}</strong>.\\n      {{else if event.isAppTimezoneChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        changed your workspace time zone from\\n        <strong>{{format-timezone event.value.before}}</strong>\\n        to\\n        <strong>{{format-timezone event.value.after}}</strong>.\\n      {{else if event.isBulkDelete}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        deleted\\n        <strong>{{event.value.count}} {{inflector-helper event.value.type event.value.count}}.</strong>\\n      {{else if event.isBulkExport}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        exported\\n        <strong>{{event.value.count}} {{inflector-helper event.value.type event.value.count}}</strong>\\n        with\\n        <strong>\\n          {{#if event.value.with_all_attributes}}\\n            all the\\n          {{else}}\\n            some\\n          {{/if}}\\n          columns\\n        </strong>\\n      {{else if event.isMessageDeletion}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        deleted\\n        {{#if event.value.message_title}}\\n          your\\n          <strong>{{event.value.message_title}}</strong>\\n          message.\\n        {{else}}\\n          a message.\\n        {{/if}}\\n      {{else if event.isMessageStateChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        changed\\n        {{#if event.value.static.message_title}}\\n          <a href=\\\"{{href-to \\\"apps.app.outbound.message\\\" event.value.static.message_id}}\\\">your {{event.value.static.message_title}} message</a>\\n        {{else}}\\n          <a href=\\\"{{href-to \\\"apps.app.outbound.message\\\" event.value.static.message_id}}\\\">a message</a>\\n        {{/if}}\\n        from\\n        <strong>{{event.value.before}}</strong>\\n        to\\n        <strong>{{event.value.after}}</strong>.\\n      {{else if event.isCampaignDeletion}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        deleted\\n        {{#if event.value.campaign_title}}\\n          your\\n          <strong>{{event.value.campaign_title}}</strong>\\n          campaign.\\n        {{else}}\\n          a campaign.\\n        {{/if}}\\n      {{else if event.isAppAdminJoin}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        joined your\\n        <strong>\\n          <a href=\\\"{{href-to app.inboxBaseRoute}}\\\">{{app.name}}</a>\\n        </strong>\\n        workspace.\\n      {{else if event.isAppAuthenticationMethodChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        changed the authentication methods for\\n        <strong>\\n          <a href=\\\"{{href-to app.inboxBaseRoute}}\\\">{{app.name}}</a>\\n        </strong>\\n        workspace from\\n        <strong>{{format-array-to-sentence event.value.before}}</strong>\\n        to\\n        <strong>{{format-array-to-sentence event.value.after}}</strong>.\\n      {{else if event.isAppDataDeletion}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        permanently deleted a\\n        <strong>{{event.value.type}}</strong>\\n        from your {{event.value.type}} list.\\n      {{else if event.isAppIdentityVerificationChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        turned\\n        <strong>{{if event.value.identity_verification \\\"on\\\" \\\"off\\\"}}</strong>\\n        identity verification for\\n        <strong>\\n          <a href=\\\"{{href-to app.inboxBaseRoute}}\\\">{{app.name}}</a>\\n        </strong>\\n        workspace on\\n        <strong>{{event.value.platform}}</strong>.\\n      {{else if event.isAppOutboundAddressChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        changed the outbound email address from\\n        <strong>{{event.value.before}}</strong>\\n        to\\n        <strong>{{event.value.after}}</strong>.\\n      {{else if event.isAppPackageTokenRegeneration}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        updated the access token used by the\\n        <strong>{{event.value.app_package_name}}</strong>\\n        app on the\\n        <strong>\\n          <a href=\\\"{{href-to app.inboxBaseRoute}}\\\">{{app.name}}</a>\\n        </strong>\\n        workspace.\\n      {{else if event.isAppWebhookCreation}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        created a webhook subscription to\\n        <strong>{{event.value.webhook_url}}</strong>\\n        for\\n        <strong>{{format-array-to-sentence event.value.webhook_topics}}</strong>\\n        topics.\\n      {{else if event.isAppWebhookDeletion}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        deleted a webhook subscription to\\n        <strong>{{event.value.webhook_url}}</strong>\\n        for\\n        <strong>{{format-array-to-sentence event.value.webhook_topics}}</strong>\\n        topics.\\n      {{else if event.isAppWebhookDeletion}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        changed the Google SSO domains for the\\n        <strong>\\n          <a href=\\\"{{href-to app.inboxBaseRoute}}\\\">{{app.name}}</a>\\n        </strong>\\n        workspace from\\n        <strong>{{format-array-to-sentence event.value.before}}</strong>\\n        to\\n        <strong>{{format-array-to-sentence event.value.before}}</strong>.\\n      {{else if event.isCampaignStateChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        changed\\n        {{#if event.value.static.campaign_title}}\\n          <a href=\\\"{{href-to \\\"apps.app.outbound.messages.auto.campaigns.campaign\\\" event.value.static.campaign_id}}\\\">your {{event.value.campaign_title}} campaign</a>\\n        {{else}}\\n          <a href=\\\"{{href-to \\\"apps.app.outbound.messages.auto.campaigns.campaign\\\" event.value.static.campaign_id}}\\\">a campaign</a>\\n        {{/if}}\\n        from\\n        <strong>{{event.value.before}}</strong>\\n        to\\n        <strong>{{event.value.after}}</strong>.\\n      {{else if event.isAppTeamCreation}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        created a new team,\\n        <strong>{{event.value.team_name}}</strong>, with\\n        <strong>\\n          {{event.value.team_member_count}} {{inflector-helper \\\"member\\\" event.value.team_member_count}}\\n        </strong>.\\n      {{else if event.isAppTeamDeletion}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        deleted the\\n        <strong>{{event.value.team_name}}</strong>\\n        team with\\n        <strong>\\n          {{event.value.team_member_count}} {{inflector-helper \\\"member\\\" event.value.team_member_count}}\\n        </strong>.\\n      {{else if event.isAppPackageInstallation}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        installed the\\n        <strong>{{event.value.app_package_name}}</strong>\\n        app on your\\n        <strong>\\n          <a href=\\\"{{href-to app.inboxBaseRoute}}\\\">{{app.name}}</a>\\n        </strong>\\n        workspace.\\n      {{else if event.isAppPackageUninstallation}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        uninstalled the\\n        <strong>{{event.value.app_package_name}}</strong>\\n        app from your\\n        <strong>\\n          <a href=\\\"{{href-to app.inboxBaseRoute}}\\\">{{app.name}}</a>\\n        </strong>\\n        workspace.\\n      {{else if event.isAppDataExport}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        exported data for\\n        <strong>\\n          {{event.value.count}} {{inflector-helper event.value.type event.value.count}}\\n        </strong>.\\n      {{else if event.isHelpCenterSettingsChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        turned your help center\\n        <strong>{{if event.value.turned_on \\\"on\\\" \\\"off\\\"}}</strong>.\\n      {{else}}\\n        {{!-- template-lint-disable no-log --}}\\n        {{log \\\"No description defined for the following event\\\"}}\\n        {{log event}}\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    <div class=\\\"settings__admin-events__description-cell\\\">\\n      {{#if event.isAdminDeletion}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        removed your teammate,\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.value.admin_id}}\\\">{{event.value.admin_first_name}} {{event.value.admin_last_name}}</a></Text>.\\n      {{else if event.isRoleDeletion}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        deleted the\\n        <Text @linkStyling=\\\"subtle\\\"><LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{event.value.id}}>{{event.value.name}}</LinkTo></Text> role.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isRoleCreation}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        created the\\n        <Text @linkStyling=\\\"subtle\\\"><LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{event.value.id}}>{{event.value.name}}</LinkTo></Text> role.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isRoleChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        made changes to the\\n        <Text @linkStyling=\\\"subtle\\\"><LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{event.value.static.role.id}}>{{event.value.static.role.name}}</LinkTo></Text>\\n          role.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isAdminInviteRoleChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        changed\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"mailto:{{event.value.static.email}}\\\">{{event.value.static.email}}</a>’s</Text>\\n        role from\\n        <Text @linkStyling=\\\"subtle\\\"><LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{event.value.before.role.id}}>{{event.value.before.role.name}}</LinkTo></Text> to\\n        <Text @linkStyling=\\\"subtle\\\"><LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{event.value.after.role.id}}>{{event.value.after.role.name}}</LinkTo></Text>.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isAdminInviteRoleAssign}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        assigned the\\n        <Text @linkStyling=\\\"subtle\\\"><LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{event.value.after.role.id}}>{{event.value.after.role.name}}</LinkTo></Text> role to\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"mailto:{{event.value.static.email}}\\\">{{event.value.static.email}}</a></Text>.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isAdminInviteRoleRemove}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        removed the\\n        <Text @linkStyling=\\\"subtle\\\"><LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{event.value.before.role.id}}>{{event.value.before.role.name}}</LinkTo></Text> role from\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"mailto:{{event.value.static.email}}\\\">{{event.value.static.email}}</a></Text>.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isAdminInviteChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        changed permissions for\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"mailto:{{event.value.static.email}}\\\">{{event.value.static.email}}</a></Text>.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isAdminInviteCreation}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        invited\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"mailto:{{event.value.email}}\\\">{{event.value.email}}</a></Text>\\n        to join {{app.name}}.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isAdminInviteDeletion}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        revoked the invite for\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"mailto:{{event.value.email}}\\\">{{event.value.email}}</a></Text>\\n        to join {{app.name}}.\\n      {{else if event.isAdminLoginFailure}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        tried to log in with the wrong password\\n        {{inflector-helper \\\"1\\\" event.value.times pluralForm=event.value.times}}\\n        {{inflector-helper \\\"time\\\" event.value.times}}.\\n      {{else if event.isAdminLoginSuccess}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        successfully logged in.\\n      {{else if event.isAdminLogout}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        successfully logged out.\\n      {{else if event.isAdminRoleChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        changed\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.value.static.admin_id}}\\\">{{event.value.static.admin_first_name}} {{event.value.static.admin_last_name}}</a>’s</Text>\\n        role from\\n        <Text @linkStyling=\\\"subtle\\\"><LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{event.value.before.role.id}}>{{event.value.before.role.name}}</LinkTo></Text> to\\n        <Text @linkStyling=\\\"subtle\\\"><LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{event.value.after.role.id}}>{{event.value.after.role.name}}</LinkTo></Text>.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isAdminRoleAssign}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        assigned the\\n        <Text @linkStyling=\\\"subtle\\\"><LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{event.value.after.role.id}}>{{event.value.after.role.name}}</LinkTo></Text> role to\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.value.static.admin_id}}\\\">{{event.value.static.admin_first_name}} {{event.value.static.admin_last_name}}</a></Text>.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isAdminRoleRemove}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        removed the\\n        <Text @linkStyling=\\\"subtle\\\"><LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{event.value.before.role.id}}>{{event.value.before.role.name}}</LinkTo></Text> role from\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.value.static.admin_id}}\\\">{{event.value.static.admin_first_name}} {{event.value.static.admin_last_name}}</a></Text>.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isAdminPermissionChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        changed\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.value.static.admin_id}}\\\">{{event.value.static.admin_first_name}} {{event.value.static.admin_last_name}}</a>’s</Text>\\n        permissions.\\n        <TableCells::AdminEvents::PermissionChangeDetails @event={{event}} />\\n      {{else if event.isAdminAwayModeChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        turned their away mode\\n        <strong>{{if event.value.away_mode \\\"on\\\" \\\"off\\\"}}</strong>\\n        and did\\n        <strong>{{if event.value.reassign_conversations \\\"\\\" \\\"not\\\"}}</strong>\\n        reassign their conversations.\\n      {{else if event.isAppNameChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        changed your\\n        <a href=\\\"{{href-to app.inboxBaseRoute}}\\\">workspace</a>\\n        name from\\n        <strong>{{event.value.before}}</strong>\\n        to\\n        <strong>{{event.value.after}}</strong>.\\n      {{else if event.isAppTimezoneChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        changed your workspace time zone from\\n        <strong>{{format-timezone event.value.before}}</strong>\\n        to\\n        <strong>{{format-timezone event.value.after}}</strong>.\\n      {{else if event.isBulkDelete}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        deleted\\n        <strong>{{event.value.count}} {{inflector-helper event.value.type event.value.count}}.</strong>\\n      {{else if event.isBulkExport}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        exported\\n        <strong>{{event.value.count}} {{inflector-helper event.value.type event.value.count}}</strong>\\n        with\\n        <strong>\\n          {{#if event.value.with_all_attributes}}\\n            all the\\n          {{else}}\\n            some\\n          {{/if}}\\n          columns\\n        </strong>\\n      {{else if event.isMessageDeletion}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        deleted\\n        {{#if event.value.message_title}}\\n          your\\n          <strong>{{event.value.message_title}}</strong>\\n          message.\\n        {{else}}\\n          a message.\\n        {{/if}}\\n      {{else if event.isMessageStateChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        changed\\n        {{#if event.value.static.message_title}}\\n          <a href=\\\"{{href-to \\\"apps.app.outbound.message\\\" event.value.static.message_id}}\\\">your {{event.value.static.message_title}} message</a>\\n        {{else}}\\n          <a href=\\\"{{href-to \\\"apps.app.outbound.message\\\" event.value.static.message_id}}\\\">a message</a>\\n        {{/if}}\\n        from\\n        <strong>{{event.value.before}}</strong>\\n        to\\n        <strong>{{event.value.after}}</strong>.\\n      {{else if event.isCampaignDeletion}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        deleted\\n        {{#if event.value.campaign_title}}\\n          your\\n          <strong>{{event.value.campaign_title}}</strong>\\n          campaign.\\n        {{else}}\\n          a campaign.\\n        {{/if}}\\n      {{else if event.isAppAdminJoin}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        joined your\\n        <strong>\\n          <a href=\\\"{{href-to app.inboxBaseRoute}}\\\">{{app.name}}</a>\\n        </strong>\\n        workspace.\\n      {{else if event.isAppAuthenticationMethodChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        changed the authentication methods for\\n        <strong>\\n          <a href=\\\"{{href-to app.inboxBaseRoute}}\\\">{{app.name}}</a>\\n        </strong>\\n        workspace from\\n        <strong>{{format-array-to-sentence event.value.before}}</strong>\\n        to\\n        <strong>{{format-array-to-sentence event.value.after}}</strong>.\\n      {{else if event.isAppDataDeletion}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        permanently deleted a\\n        <strong>{{event.value.type}}</strong>\\n        from your {{event.value.type}} list.\\n      {{else if event.isAppIdentityVerificationChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        turned\\n        <strong>{{if event.value.identity_verification \\\"on\\\" \\\"off\\\"}}</strong>\\n        identity verification for\\n        <strong>\\n          <a href=\\\"{{href-to app.inboxBaseRoute}}\\\">{{app.name}}</a>\\n        </strong>\\n        workspace on\\n        <strong>{{event.value.platform}}</strong>.\\n      {{else if event.isAppOutboundAddressChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        changed the outbound email address from\\n        <strong>{{event.value.before}}</strong>\\n        to\\n        <strong>{{event.value.after}}</strong>.\\n      {{else if event.isAppPackageTokenRegeneration}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        updated the access token used by the\\n        <strong>{{event.value.app_package_name}}</strong>\\n        app on the\\n        <strong>\\n          <a href=\\\"{{href-to app.inboxBaseRoute}}\\\">{{app.name}}</a>\\n        </strong>\\n        workspace.\\n      {{else if event.isAppWebhookCreation}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        created a webhook subscription to\\n        <strong>{{event.value.webhook_url}}</strong>\\n        for\\n        <strong>{{format-array-to-sentence event.value.webhook_topics}}</strong>\\n        topics.\\n      {{else if event.isAppWebhookDeletion}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        deleted a webhook subscription to\\n        <strong>{{event.value.webhook_url}}</strong>\\n        for\\n        <strong>{{format-array-to-sentence event.value.webhook_topics}}</strong>\\n        topics.\\n      {{else if event.isAppWebhookDeletion}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        changed the Google SSO domains for the\\n        <strong>\\n          <a href=\\\"{{href-to app.inboxBaseRoute}}\\\">{{app.name}}</a>\\n        </strong>\\n        workspace from\\n        <strong>{{format-array-to-sentence event.value.before}}</strong>\\n        to\\n        <strong>{{format-array-to-sentence event.value.before}}</strong>.\\n      {{else if event.isCampaignStateChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        changed\\n        {{#if event.value.static.campaign_title}}\\n          <a href=\\\"{{href-to \\\"apps.app.outbound.messages.auto.campaigns.campaign\\\" event.value.static.campaign_id}}\\\">your {{event.value.campaign_title}} campaign</a>\\n        {{else}}\\n          <a href=\\\"{{href-to \\\"apps.app.outbound.messages.auto.campaigns.campaign\\\" event.value.static.campaign_id}}\\\">a campaign</a>\\n        {{/if}}\\n        from\\n        <strong>{{event.value.before}}</strong>\\n        to\\n        <strong>{{event.value.after}}</strong>.\\n      {{else if event.isAppTeamCreation}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        created a new team,\\n        <strong>{{event.value.team_name}}</strong>, with\\n        <strong>\\n          {{event.value.team_member_count}} {{inflector-helper \\\"member\\\" event.value.team_member_count}}\\n        </strong>.\\n      {{else if event.isAppTeamDeletion}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        deleted the\\n        <strong>{{event.value.team_name}}</strong>\\n        team with\\n        <strong>\\n          {{event.value.team_member_count}} {{inflector-helper \\\"member\\\" event.value.team_member_count}}\\n        </strong>.\\n      {{else if event.isAppPackageInstallation}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        installed the\\n        <strong>{{event.value.app_package_name}}</strong>\\n        app on your\\n        <strong>\\n          <a href=\\\"{{href-to app.inboxBaseRoute}}\\\">{{app.name}}</a>\\n        </strong>\\n        workspace.\\n      {{else if event.isAppPackageUninstallation}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        uninstalled the\\n        <strong>{{event.value.app_package_name}}</strong>\\n        app from your\\n        <strong>\\n          <a href=\\\"{{href-to app.inboxBaseRoute}}\\\">{{app.name}}</a>\\n        </strong>\\n        workspace.\\n      {{else if event.isAppDataExport}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        exported data for\\n        <strong>\\n          {{event.value.count}} {{inflector-helper event.value.type event.value.count}}\\n        </strong>.\\n      {{else if event.isHelpCenterSettingsChange}}\\n        <Text @linkStyling=\\\"subtle\\\"><a href=\\\"{{href-to \\\"apps.app.admins.admin\\\" event.admin.id}}\\\">{{event.admin.name}}</a></Text>\\n        turned your help center\\n        <strong>{{if event.value.turned_on \\\"on\\\" \\\"off\\\"}}</strong>.\\n      {{else}}\\n        {{!-- template-lint-disable no-log --}}\\n        {{log \\\"No description defined for the following event\\\"}}\\n        {{log event}}\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/admin-events/description-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/admin-events/description-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport BaseAdminEventCell from 'embercom/components/table-cells/admin-events/base-cell';\nexport default BaseAdminEventCell.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#let (data-bag) as |state|}}\\n  <a\\n    class=\\\"btn__tertiary\\\"\\n    {{on \\\"click\\\" (toggle \\\"showModal\\\" state)}}\\n  >\\n    Details\\n  </a>\\n  <IcModal\\n    @onModalClose={{action (toggle \\\"showModal\\\" state)}}\\n    @width=\\\"m\\\"\\n    @isOpen={{state.showModal}} as |modal|\\n  >\\n    <modal.header @title=\\\"Permissions\\\" />\\n    <modal.body>\\n      <div class=\\\"flex flex-row gap-4\\\">\\n        {{#if @event.value.before}}\\n          <div class=\\\"flex flex-col flex-1\\\">\\n            <Heading @size=\\\"4\\\">Before</Heading>\\n            <TableCells::AdminEvents::PermissionList @value={{@event.value.before}} />\\n          </div>\\n          <div class=\\\"flex flex-col flex-1\\\">\\n            <Heading @size=\\\"4\\\">After</Heading>\\n            <TableCells::AdminEvents::PermissionList @value={{@event.value.after}} />\\n          </div>\\n        {{else}}\\n          <TableCells::AdminEvents::PermissionList @value={{@event.value}} />\\n        {{/if}}\\n      </div>\\n    </modal.body>\\n  </IcModal>\\n{{/let}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#let (data-bag) as |state|}}\\n  <a\\n    class=\\\"btn__tertiary\\\"\\n    {{on \\\"click\\\" (toggle \\\"showModal\\\" state)}}\\n  >\\n    Details\\n  </a>\\n  <IcModal\\n    @onModalClose={{action (toggle \\\"showModal\\\" state)}}\\n    @width=\\\"m\\\"\\n    @isOpen={{state.showModal}} as |modal|\\n  >\\n    <modal.header @title=\\\"Permissions\\\" />\\n    <modal.body>\\n      <div class=\\\"flex flex-row gap-4\\\">\\n        {{#if @event.value.before}}\\n          <div class=\\\"flex flex-col flex-1\\\">\\n            <Heading @size=\\\"4\\\">Before</Heading>\\n            <TableCells::AdminEvents::PermissionList @value={{@event.value.before}} />\\n          </div>\\n          <div class=\\\"flex flex-col flex-1\\\">\\n            <Heading @size=\\\"4\\\">After</Heading>\\n            <TableCells::AdminEvents::PermissionList @value={{@event.value.after}} />\\n          </div>\\n        {{else}}\\n          <TableCells::AdminEvents::PermissionList @value={{@event.value}} />\\n        {{/if}}\\n      </div>\\n    </modal.body>\\n  </IcModal>\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/table-cells/admin-events/permission-change-details.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/admin-events/permission-change-details.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @value.permissions}}\\n  <ul class=\\\"pl-0\\\" data-test-permission-list>\\n    {{#each-in this.permissions as |permissionName granted|}}\\n      <li class=\\\"settings__admin-events__permission-list__permission-item\\\" data-test-permission-item>\\n        {{#if granted}}\\n          {{ic-interface-icon 'small-check' color='green'}}\\n        {{else}}\\n          {{ic-interface-icon 'small-close' color='red'}}\\n        {{/if}}\\n        {{permission-label permissionName}}\\n      </li>\\n    {{/each-in}}\\n  </ul>\\n{{else}}\\n  {{#if @value.role}}\\n    {{@value.role}}\\n  {{else}}\\n    {{@value}}\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{#if @value.permissions}}\\n  <ul class=\\\"pl-0\\\" data-test-permission-list>\\n    {{#each-in this.permissions as |permissionName granted|}}\\n      <li class=\\\"settings__admin-events__permission-list__permission-item\\\" data-test-permission-item>\\n        {{#if granted}}\\n          {{ic-interface-icon 'small-check' color='green'}}\\n        {{else}}\\n          {{ic-interface-icon 'small-close' color='red'}}\\n        {{/if}}\\n        {{permission-label permissionName}}\\n      </li>\\n    {{/each-in}}\\n  </ul>\\n{{else}}\\n  {{#if @value.role}}\\n    {{@value.role}}\\n  {{else}}\\n    {{@value}}\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/table-cells/admin-events/permission-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/admin-events/permission-list.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport PERMISSION_LABELS from '../../../lib/permission-labels';\n\nexport default class PermissionList extends Component {\n  @service appService;\n\n  get permissions() {\n    let permissions = {};\n    Object.keys(this.args.value.permissions).forEach(rawPermissionName => {\n      let permissionName = `can_${rawPermissionName}`;\n      let permissionValue = this.args.value.permissions[rawPermissionName];\n      let permissionLabel = PERMISSION_LABELS[permissionName];\n\n      if (permissionLabel !== undefined) {\n        permissions[permissionName] = permissionValue;\n      }\n    });\n\n    return permissions;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    {{#if archived}}\\n      <span class=\\\"text-gray\\\">Archived</span>\\n    {{else}}\\n      {{full-relative-time-ago-helper createdAt}}\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    {{#if archived}}\\n      <span class=\\\"text-gray\\\">Archived</span>\\n    {{else}}\\n      {{full-relative-time-ago-helper createdAt}}\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/attributes/created-at-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/attributes/created-at-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  appService: service(),\n\n  tagName: 'td',\n  classNames: 'table__cell settings__attributes-events__cell',\n  classNameBindings: ['archived:o__archived'],\n\n  app: readOnly('appService.app'),\n  attribute: readOnly('row.attribute'),\n  createdAt: ternaryToProperty('attribute.created_at', 'attribute.created_at', 'app.created_at'),\n  archived: readOnly('attribute.archived'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    {{#if attribute.isConfigurable}}\\n      <IcButton\\n        @type=\\\"secondary\\\"\\n        @subtle={{true}}\\n        @iconOnly={{true}}\\n        @onClick={{action \\\"openDetailsView\\\"}}\\n        data-test-edit-attribute={{true}}\\n      >\\n        {{ic-interface-icon \\\"edit\\\" solo=true}}\\n      </IcButton>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    {{#if attribute.isConfigurable}}\\n      <IcButton\\n        @type=\\\"secondary\\\"\\n        @subtle={{true}}\\n        @iconOnly={{true}}\\n        @onClick={{action \\\"openDetailsView\\\"}}\\n        data-test-edit-attribute={{true}}\\n      >\\n        {{ic-interface-icon \\\"edit\\\" solo=true}}\\n      </IcButton>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/attributes/edit-button-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/attributes/edit-button-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  tagName: 'td',\n  classNames: 'table__cell settings__attributes-events__cell',\n  classNameBindings: ['archived:o__archived'],\n\n  attribute: readOnly('row.attribute'),\n  archived: readOnly('attribute.archived'),\n\n  actions: {\n    openDetailsView() {\n      this.get('tableActions.openDetailsView')(this.row);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    <p class=\\\"{{if attribute.archived 'text-gray'}}\\\">\\n      {{formatName}}\\n    </p>\\n    {{#if attribute.hasOptions}}\\n      <div\\n        class=\\\"t__light-text u__one-truncated-line settings__attributes-events__format-cell\\\"\\n        {{tooltip\\n          content=commaSeparatedOptions\\n          showOnlyWhenTruncated=true\\n        }}\\n      >\\n        {{commaSeparatedOptions}}\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    <p class=\\\"{{if attribute.archived 'text-gray'}}\\\">\\n      {{formatName}}\\n    </p>\\n    {{#if attribute.hasOptions}}\\n      <div\\n        class=\\\"t__light-text u__one-truncated-line settings__attributes-events__format-cell\\\"\\n        {{tooltip\\n          content=commaSeparatedOptions\\n          showOnlyWhenTruncated=true\\n        }}\\n      >\\n        {{commaSeparatedOptions}}\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/attributes/format-and-options-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/attributes/format-and-options-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { joinBy } from '@intercom/embercom-core/lib/computed-properties';\nimport dataFormatMap from 'embercom/models/data/attributes/data-format-map';\nexport default Component.extend({\n  tagName: 'td',\n  classNames: 'table__cell settings__attributes-events__cell',\n  classNameBindings: ['attribute.archived:o__archived'],\n  attribute: readOnly('row.attribute'),\n  commaSeparatedOptions: joinBy('attribute.options', 'value', ', '),\n  formatName: computed('attribute.type', 'attribute.hasOptions', function() {\n    if (this.get('attribute.hasOptions')) {\n      return 'List';\n    }\n    return dataFormatMap[this.get('attribute.type')] || 'Unknown';\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    <div class=\\\"settings__attributes-events__cell__name-and-description layout__box o__has-rows\\\" data-test-attribute-name-and-description>\\n      <h3 class=\\\"t__h3 {{if archived 'text-gray'}}\\\">\\n        <span>{{ic-interface-icon attribute.icon}}</span>\\n        <span>{{name}}</span>\\n        {{#if attribute.isUntrackedCda}}\\n          <IcTooltip\\n            @isInteractive={{true}}\\n            data-test-user-additional-meta-data\\n            class=\\\"u__ml__10\\\"\\n          as |t|>\\n            <t.opener>\\n              {{ic-stamp 'Untracked'}}\\n            </t.opener>\\n            <t.content>\\n              You're not tracking this data automatically right now.\\n              <Pulse::HelpContent::Link\\n                @href=\\\"https://www.intercom.com/help/configure-intercom-for-your-product-or-site/customize-intercom-to-be-about-your-users/send-custom-user-attributes-to-intercom\\\"\\n                @title=\\\"Learn how to add it to your code\\\"\\n                @type=\\\"article\\\"\\n                @linkStyling=\\\"inline\\\"\\n              />\\n            </t.content>\\n          </IcTooltip>\\n        {{/if}}\\n      </h3>\\n      <div class=\\\"settings__attributes-events__cell__edit-container layout__box o__has-columns u__one-truncated-line\\\">\\n        <span class=\\\"text-gray\\\" data-test-attribute-description>\\n          {{#if description}}\\n            {{description}}\\n          {{else if isConfigurable}}\\n            <a {{action 'openDetailsView'}}>Add description</a>\\n          {{/if}}\\n        </span>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    <div class=\\\"settings__attributes-events__cell__name-and-description layout__box o__has-rows\\\" data-test-attribute-name-and-description>\\n      <h3 class=\\\"t__h3 {{if archived 'text-gray'}}\\\">\\n        <span>{{ic-interface-icon attribute.icon}}</span>\\n        <span>{{name}}</span>\\n        {{#if attribute.isUntrackedCda}}\\n          <IcTooltip\\n            @isInteractive={{true}}\\n            data-test-user-additional-meta-data\\n            class=\\\"u__ml__10\\\"\\n          as |t|>\\n            <t.opener>\\n              {{ic-stamp 'Untracked'}}\\n            </t.opener>\\n            <t.content>\\n              You're not tracking this data automatically right now.\\n              <Pulse::HelpContent::Link\\n                @href=\\\"https://www.intercom.com/help/configure-intercom-for-your-product-or-site/customize-intercom-to-be-about-your-users/send-custom-user-attributes-to-intercom\\\"\\n                @title=\\\"Learn how to add it to your code\\\"\\n                @type=\\\"article\\\"\\n                @linkStyling=\\\"inline\\\"\\n              />\\n            </t.content>\\n          </IcTooltip>\\n        {{/if}}\\n      </h3>\\n      <div class=\\\"settings__attributes-events__cell__edit-container layout__box o__has-columns u__one-truncated-line\\\">\\n        <span class=\\\"text-gray\\\" data-test-attribute-description>\\n          {{#if description}}\\n            {{description}}\\n          {{else if isConfigurable}}\\n            <a {{action 'openDetailsView'}}>Add description</a>\\n          {{/if}}\\n        </span>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/attributes/name-and-description-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/attributes/name-and-description-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  tagName: 'td',\n  classNames: 'table__cell settings__attributes-events__cell test__attribute-row',\n  classNameBindings: ['archived:o__archived'],\n\n  attribute: readOnly('row.attribute'),\n  name: readOnly('attribute.name'),\n  description: readOnly('attribute.description'),\n  archived: readOnly('attribute.archived'),\n  isCustomData: readOnly('row.isCustomData'),\n\n  actions: {\n    openDetailsView() {\n      this.get('tableActions.openDetailsView')(this.row);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    {{#if archived}}\\n      <span class=\\\"text-gray\\\">Archived</span>\\n    {{else}}\\n      {{full-relative-time-ago-helper createdAt}}\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    {{#if archived}}\\n      <span class=\\\"text-gray\\\">Archived</span>\\n    {{else}}\\n      {{full-relative-time-ago-helper createdAt}}\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/events/created-at-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/events/created-at-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  appService: service(),\n\n  tagName: 'td',\n  classNames: 'table__cell settings__attributes-events__cell',\n  classNameBindings: ['archived:o__archived'],\n\n  app: readOnly('appService.app'),\n  event: readOnly('row.event'),\n  createdAt: ternaryToProperty('event.created_at', 'event.created_at', 'app.created_at'),\n  archived: readOnly('event.archived'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    <div class=\\\"settings__attributes-events__cell__name-and-description layout__box o__has-rows\\\" data-test-event-name-and-description>\\n      <h3 class=\\\"t__h3 {{if archived 'text-gray'}}\\\">\\n        <a class=\\\"t__solo-link\\\" {{action 'openDetailsView'}} data-test-event-name-link=\\\"{{humanFriendlyName}}\\\">{{humanFriendlyName}}</a>\\n\\n        {{#if hasEventTracker}}\\n          <span class=\\\"settings__attributes-events__cell__name-and-description__status-pill o__codeless-tracking\\\">Codeless tracking</span>\\n        {{/if}}\\n      </h3>\\n\\n      <div class=\\\"text-gray u__mt__5\\\" data-test-event-description>\\n        {{#if description}}\\n          {{description}}\\n        {{else}}\\n          <a {{action 'openDetailsView'}}>Add description</a>\\n        {{/if}}\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    <div class=\\\"settings__attributes-events__cell__name-and-description layout__box o__has-rows\\\" data-test-event-name-and-description>\\n      <h3 class=\\\"t__h3 {{if archived 'text-gray'}}\\\">\\n        <a class=\\\"t__solo-link\\\" {{action 'openDetailsView'}} data-test-event-name-link=\\\"{{humanFriendlyName}}\\\">{{humanFriendlyName}}</a>\\n\\n        {{#if hasEventTracker}}\\n          <span class=\\\"settings__attributes-events__cell__name-and-description__status-pill o__codeless-tracking\\\">Codeless tracking</span>\\n        {{/if}}\\n      </h3>\\n\\n      <div class=\\\"text-gray u__mt__5\\\" data-test-event-description>\\n        {{#if description}}\\n          {{description}}\\n        {{else}}\\n          <a {{action 'openDetailsView'}}>Add description</a>\\n        {{/if}}\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/events/name-and-description-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/events/name-and-description-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  tagName: 'td',\n  classNames: 'table__cell settings__attributes-events__cell test__attribute-row',\n  classNameBindings: ['archived:o__archived'],\n\n  event: readOnly('row.event'),\n  name: readOnly('event.name'),\n  humanFriendlyName: readOnly('event.human_friendly_name'),\n  description: readOnly('event.description'),\n  archived: readOnly('event.archived'),\n  hasEventTracker: readOnly('row.eventTracker'),\n\n  actions: {\n    openDetailsView() {\n      this.get('tableActions.openDetailsView')(this.row);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"avatar__container o__s\\\">\\n  {{ic-avatar model=row.avatarUser size=\\\"s\\\" contained=true}}\\n  {{#if row.avatarUser.archived}}\\n    {{row.avatarUser.name}}\\n  {{else}}\\n    <a\\n      href=\\\"{{href-to \\\"apps.app.users.user.all-conversations\\\" row.avatarUser.id}}\\\"\\n    >\\n      {{row.avatarUser.name}}\\n    </a>\\n  {{/if}}\\n  {{#if row.avatarUser.companies}}\\n    at\\n    {{ic-interface-icon \\\"company\\\"}}\\n    <a\\n      href=\\\"{{href-to \\\"apps.app.companies.company\\\" row.avatarUser.companies.displayCompany.id}}\\\"\\n    >\\n      {{row.avatarUser.companies.displayCompany.name}}\\n    </a>\\n    {{#if row.avatarUser.companies.additionalCompanies.length}}\\n      and\\n      <IcTooltip @isInteractive={{true}} as |context|>\\n        <context.opener>\\n          <b class=\\\"u__pointer-cursor\\\">\\n            {{pluralize row.avatarUser.companies.additionalCompanies.length \\\"other\\\"}}\\n          </b>\\n        </context.opener>\\n        <context.content>\\n          {{#each row.avatarUser.companies.additionalCompanies as |company|}}\\n            {{ic-interface-icon \\\"company\\\"}}\\n            <a href=\\\"{{href-to \\\"apps.app.companies.company\\\" company.id}}\\\">\\n              {{company.name}}\\n            </a>\\n          {{/each}}\\n        </context.content>\\n      </IcTooltip>\\n    {{/if}}\\n  {{/if}}\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"avatar__container o__s\\\">\\n  {{ic-avatar model=row.avatarUser size=\\\"s\\\" contained=true}}\\n  {{#if row.avatarUser.archived}}\\n    {{row.avatarUser.name}}\\n  {{else}}\\n    <a\\n      href=\\\"{{href-to \\\"apps.app.users.user.all-conversations\\\" row.avatarUser.id}}\\\"\\n    >\\n      {{row.avatarUser.name}}\\n    </a>\\n  {{/if}}\\n  {{#if row.avatarUser.companies}}\\n    at\\n    {{ic-interface-icon \\\"company\\\"}}\\n    <a\\n      href=\\\"{{href-to \\\"apps.app.companies.company\\\" row.avatarUser.companies.displayCompany.id}}\\\"\\n    >\\n      {{row.avatarUser.companies.displayCompany.name}}\\n    </a>\\n    {{#if row.avatarUser.companies.additionalCompanies.length}}\\n      and\\n      <IcTooltip @isInteractive={{true}} as |context|>\\n        <context.opener>\\n          <b class=\\\"u__pointer-cursor\\\">\\n            {{pluralize row.avatarUser.companies.additionalCompanies.length \\\"other\\\"}}\\n          </b>\\n        </context.opener>\\n        <context.content>\\n          {{#each row.avatarUser.companies.additionalCompanies as |company|}}\\n            {{ic-interface-icon \\\"company\\\"}}\\n            <a href=\\\"{{href-to \\\"apps.app.companies.company\\\" company.id}}\\\">\\n              {{company.name}}\\n            </a>\\n          {{/each}}\\n        </context.content>\\n      </IcTooltip>\\n    {{/if}}\\n  {{/if}}\\n</span>\\n\",\"moduleName\":\"embercom/components/table-cells/gdpr-settings/avatar-name-company.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/gdpr-settings/avatar-name-company.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  tagName: 'td',\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    {{format-date date=consent.createdAt format=\\\"fullDateAndTimeWithoutTimezone\\\"}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    {{format-date date=consent.createdAt format=\\\"fullDateAndTimeWithoutTimezone\\\"}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/impersonation-consents/approved-at-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/impersonation-consents/approved-at-cell.hbs\"}});\nimport BaseImpersonationConsentsCell from 'embercom/components/table-cells/impersonation-consents/base-cell';\nexport default BaseImpersonationConsentsCell;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { readOnly } from '@ember/object/computed';\nexport default Component.extend({\n  tagName: 'td',\n  classNames: 'table__cell',\n  consent: readOnly('row.consent'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element {{if consent.isActive 'text-green'}}\\\">\\n    {{if consent.isActive 'Active, '}}\\n    {{#if consent.isActive}}\\n      expires {{format-date date=consent.expiredAt format=\\\"fullDateAndTimeWithoutTimezone\\\"}}\\n    {{else if consent.isRevoked}}\\n      Revoked {{format-date date=consent.revokedAt format=\\\"fullDateAndTimeWithoutTimezone\\\"}}\\n    {{else if consent.isExpired}}\\n      Expired {{format-date date=consent.expiredAt format=\\\"fullDateAndTimeWithoutTimezone\\\"}}\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element {{if consent.isActive 'text-green'}}\\\">\\n    {{if consent.isActive 'Active, '}}\\n    {{#if consent.isActive}}\\n      expires {{format-date date=consent.expiredAt format=\\\"fullDateAndTimeWithoutTimezone\\\"}}\\n    {{else if consent.isRevoked}}\\n      Revoked {{format-date date=consent.revokedAt format=\\\"fullDateAndTimeWithoutTimezone\\\"}}\\n    {{else if consent.isExpired}}\\n      Expired {{format-date date=consent.expiredAt format=\\\"fullDateAndTimeWithoutTimezone\\\"}}\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/impersonation-consents/status-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/impersonation-consents/status-cell.hbs\"}});\nimport BaseImpersonationConsentsCell from 'embercom/components/table-cells/impersonation-consents/base-cell';\nexport default BaseImpersonationConsentsCell;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { inject as service } from '@ember/service';\nimport { or, readOnly } from '@ember/object/computed';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport InviteLinkActionsAndErrorHandlingComponentBase from 'embercom/components/base/invite-link-actions-and-error-handling-component';\n\nexport default InviteLinkActionsAndErrorHandlingComponentBase.extend({\n  tagName: 'td',\n  classNames: 'table__cell',\n\n  inviteLink: readOnly('row'),\n\n  // for InviteLinkActionsAndErrorHandlingComponentBase\n  taskName: or('inviteLink.onboardingHomeStepName', 'inviteLink.guideTaskName'),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  host: window.location.host,\n  protocol: window.location.protocol,\n  inviteLinkUrl: templateString('${protocol}//${host}/invites/${inviteLink.token}'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    <IcButton\\n      @type=\\\"secondary-destructive\\\"\\n      @onClick={{action \\\"revokeLink\\\" inviteLink.token}}\\n      @inRightList={{true}}\\n    >\\n      {{ic-interface-icon \\\"delete\\\" solo=true}} Close link\\n    </IcButton>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    <IcButton\\n      @type=\\\"secondary-destructive\\\"\\n      @onClick={{action \\\"revokeLink\\\" inviteLink.token}}\\n      @inRightList={{true}}\\n    >\\n      {{ic-interface-icon \\\"delete\\\" solo=true}} Close link\\n    </IcButton>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/invite-link-list/close-link-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/invite-link-list/close-link-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport InviteLinkBaseCell from 'embercom/components/table-cells/invite-link-list/base-cell';\nexport default InviteLinkBaseCell.extend({\n  resetLinks() {\n    this.get('tableActions.resetLinks')();\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n\\n    <a data-clipboard-text=\\\"{{inviteLinkUrl}}\\\" class=\\\"btn__tertiary invite-link-copy\\\" {{action 'showLink'}}>{{ic-interface-icon 'link'}} Copy link</a>\\n\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n\\n    <a data-clipboard-text=\\\"{{inviteLinkUrl}}\\\" class=\\\"btn__tertiary invite-link-copy\\\" {{action 'showLink'}}>{{ic-interface-icon 'link'}} Copy link</a>\\n\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/invite-link-list/copy-link-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/invite-link-list/copy-link-cell.hbs\"}});\nimport InviteLinkBaseCell from 'embercom/components/table-cells/invite-link-list/base-cell';\nexport default InviteLinkBaseCell;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    <CreatedAtWithTooltip @datetime={{inviteLink.createdAt}} @notInInbox={{true}} @capitalizeFirstLetter={{true}}/>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    <CreatedAtWithTooltip @datetime={{inviteLink.createdAt}} @notInInbox={{true}} @capitalizeFirstLetter={{true}}/>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/invite-link-list/created-at-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/invite-link-list/created-at-cell.hbs\"}});\nimport InviteLinkBaseCell from 'embercom/components/table-cells/invite-link-list/base-cell';\nexport default InviteLinkBaseCell;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    {{inviteLink.senderName}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    {{inviteLink.senderName}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/invite-link-list/created-by-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/invite-link-list/created-by-cell.hbs\"}});\nimport InviteLinkBaseCell from 'embercom/components/table-cells/invite-link-list/base-cell';\nexport default InviteLinkBaseCell;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    {{if inviteLink.revoked 'Closed' 'Active'}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    {{if inviteLink.revoked 'Closed' 'Active'}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/invite-link-list/link-status-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/invite-link-list/link-status-cell.hbs\"}});\nimport InviteLinkBaseCell from 'embercom/components/table-cells/invite-link-list/base-cell';\nexport default InviteLinkBaseCell;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    {{#if inviteLink.onboardingHomeStepIdentifier}}\\n      <a href=\\\"/invites/{{inviteLink.token}}\\\">\\n        {{inviteLink.onboardingHomeStepName}}\\n      </a>\\n    {{else if inviteLink.guideChecklistName}}\\n      <div class=\\\"t__light-text\\\">{{inviteLink.guideChecklistName}}</div>\\n      <a href=\\\"/invites/{{inviteLink.token}}\\\">\\n        {{inviteLink.guideTaskName}}\\n      </a>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    {{#if inviteLink.onboardingHomeStepIdentifier}}\\n      <a href=\\\"/invites/{{inviteLink.token}}\\\">\\n        {{inviteLink.onboardingHomeStepName}}\\n      </a>\\n    {{else if inviteLink.guideChecklistName}}\\n      <div class=\\\"t__light-text\\\">{{inviteLink.guideChecklistName}}</div>\\n      <a href=\\\"/invites/{{inviteLink.token}}\\\">\\n        {{inviteLink.guideTaskName}}\\n      </a>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/invite-link-list/task-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/invite-link-list/task-cell.hbs\"}});\nimport InviteLinkBaseCell from 'embercom/components/table-cells/invite-link-list/base-cell';\nexport default InviteLinkBaseCell;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { alias, readOnly } from '@ember/object/computed';\nimport InviteActionsAndErrorHandlingComponentBase from 'embercom/components/base/invite-actions-and-error-handling-component';\nexport default InviteActionsAndErrorHandlingComponentBase.extend({\n  tagName: 'td',\n  classNames: 'table__cell',\n\n  // for InviteActionsAndErrorHandlingComponentBase\n  invite: alias('row'),\n  inviteeEmail: readOnly('invite.email'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<div class=\\\"table__cell__jammer\\\" style={{@column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    <a href={{href-to \\\"apps.app.settings.teammates.invite.edit\\\" this.invite.id}} class=\\\"btn__tertiary\\\" data-test-edit-invite={{this.invite.id}}>\\n      Edit\\n    </a>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<div class=\\\"table__cell__jammer\\\" style={{@column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    <a href={{href-to \\\"apps.app.settings.teammates.invite.edit\\\" this.invite.id}} class=\\\"btn__tertiary\\\" data-test-edit-invite={{this.invite.id}}>\\n      Edit\\n    </a>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/invite-list/edit-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/invite-list/edit-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport InviteBaseCell from 'embercom/components/table-cells/invite-list/base-cell';\n\nexport default InviteBaseCell.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n\\n    {{if invite.has_inbox_access 'Yes' 'No'}}\\n\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n\\n    {{if invite.has_inbox_access 'Yes' 'No'}}\\n\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/invite-list/inbox-seat-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/invite-list/inbox-seat-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { readOnly } from '@ember/object/computed';\nimport InviteBaseCell from 'embercom/components/table-cells/invite-list/base-cell';\nexport default InviteBaseCell.extend({\n  'data-test-invite-inbox-seat': readOnly('inviteeEmail'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    <div class=\\\"flex flex-row justify-between items-center\\\">\\n      <div class=\\\"settings__teammate__teammate-list__avatar\\\">\\n        <IcAvatarComponent @size=\\\"m\\\" />\\n      </div>\\n      <div>\\n        {{invite.email}} <br />\\n        <span class=\\\"t__light-text\\\">\\n          {{if invite.active \\\"Pending signup\\\" \\\"Accepted\\\"}}\\n        </span>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    <div class=\\\"flex flex-row justify-between items-center\\\">\\n      <div class=\\\"settings__teammate__teammate-list__avatar\\\">\\n        <IcAvatarComponent @size=\\\"m\\\" />\\n      </div>\\n      <div>\\n        {{invite.email}} <br />\\n        <span class=\\\"t__light-text\\\">\\n          {{if invite.active \\\"Pending signup\\\" \\\"Accepted\\\"}}\\n        </span>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/invite-list/name-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/invite-list/name-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { readOnly } from '@ember/object/computed';\nimport InviteBaseCell from 'embercom/components/table-cells/invite-list/base-cell';\nexport default InviteBaseCell.extend({\n  'data-test-invite-email': readOnly('inviteeEmail'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n\\n    <a class=\\\"btn__tertiary\\\" {{action 'resendInvite'}}>Resend</a>\\n\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n\\n    <a class=\\\"btn__tertiary\\\" {{action 'resendInvite'}}>Resend</a>\\n\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/invite-list/resend-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/invite-list/resend-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport InviteBaseCell from 'embercom/components/table-cells/invite-list/base-cell';\nexport default InviteBaseCell.extend();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n\\n    <a data-test-teammate-revoke-link class=\\\"btn__tertiary\\\" {{action 'revokeInvite'}}>Revoke</a>\\n\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n\\n    <a data-test-teammate-revoke-link class=\\\"btn__tertiary\\\" {{action 'revokeInvite'}}>Revoke</a>\\n\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/invite-list/revoke-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/invite-list/revoke-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport InviteBaseCell from 'embercom/components/table-cells/invite-list/base-cell';\nexport default InviteBaseCell.extend();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<div class=\\\"table__cell__jammer\\\" style={{@column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element text-green\\\">\\n    {{ic-interface-icon 'check'}} Sent\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<div class=\\\"table__cell__jammer\\\" style={{@column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element text-green\\\">\\n    {{ic-interface-icon 'check'}} Sent\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/invite-list/sent-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/invite-list/sent-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport InviteBaseCell from 'embercom/components/table-cells/invite-list/base-cell';\nexport default InviteBaseCell.extend();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    <div class=\\\"settings__teammate__member__placeholder-box\\\"></div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n    <div class=\\\"settings__teammate__member__placeholder-box\\\"></div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/invite-list/status-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/invite-list/status-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport InviteBaseCell from 'embercom/components/table-cells/invite-list/base-cell';\nexport default InviteBaseCell.extend();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n      <span class=\\\"t__light-text\\\">⏤</span>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"table__cell__jammer\\\" style={{column.widthStyle}}>\\n  <div class=\\\"table__cell__measure__element\\\">\\n      <span class=\\\"t__light-text\\\">⏤</span>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/table-cells/invite-list/teams-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/invite-list/teams-cell.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport InviteBaseCell from 'embercom/components/table-cells/invite-list/base-cell';\nexport default InviteBaseCell.extend();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<td class=\\\"table__cell\\\">\\n  <div class=\\\"table__cell__jammer\\\" style={{@column.widthStyle}}>\\n    <div class=\\\"table__cell__measure__element\\\">\\n      {{full-relative-time-ago-helper @row.createdAt}}\\n    </div>\\n  </div>\\n</td>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<td class=\\\"table__cell\\\">\\n  <div class=\\\"table__cell__jammer\\\" style={{@column.widthStyle}}>\\n    <div class=\\\"table__cell__measure__element\\\">\\n      {{full-relative-time-ago-helper @row.createdAt}}\\n    </div>\\n  </div>\\n</td>\\n\",\"moduleName\":\"embercom/components/table-cells/slas/created-at-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/slas/created-at-cell.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<td class=\\\"table__cell\\\">\\n  <div class=\\\"table__cell__jammer\\\" style={{@column.widthStyle}}>\\n    <div class=\\\"table__cell__measure__element\\\">\\n      <h3 class=\\\"t__h3\\\">\\n        {{@row.name}}\\n      </h3>\\n\\n      <div class=\\\"inbox__slas__response-times t__light-text mt-1\\\">\\n        {{#if @row.firstReplyTimeInSeconds}}\\n          First response time: {{seconds-formatter @row.firstReplyTimeInSeconds}}\\n          <span class=\\\"u__ml__10\\\"></span>\\n        {{/if}}\\n\\n        {{#if @row.nextReplyTimeInSeconds}}\\n          Next response time: {{seconds-formatter @row.nextReplyTimeInSeconds}}\\n        {{/if}}\\n      </div>\\n\\n      {{#if @row.officeHoursSchedule}}\\n        <div class=\\\"inbox__slas__response-times t__light-text mt-1\\\">\\n          Office Hours: {{@row.officeHoursSchedule.name}} ({{@row.officeHoursSchedule.labelWithTimezone}})\\n        </div>\\n      {{/if}}\\n    </div>\\n  </div>\\n</td>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-inline-styles --}}\\n<td class=\\\"table__cell\\\">\\n  <div class=\\\"table__cell__jammer\\\" style={{@column.widthStyle}}>\\n    <div class=\\\"table__cell__measure__element\\\">\\n      <h3 class=\\\"t__h3\\\">\\n        {{@row.name}}\\n      </h3>\\n\\n      <div class=\\\"inbox__slas__response-times t__light-text mt-1\\\">\\n        {{#if @row.firstReplyTimeInSeconds}}\\n          First response time: {{seconds-formatter @row.firstReplyTimeInSeconds}}\\n          <span class=\\\"u__ml__10\\\"></span>\\n        {{/if}}\\n\\n        {{#if @row.nextReplyTimeInSeconds}}\\n          Next response time: {{seconds-formatter @row.nextReplyTimeInSeconds}}\\n        {{/if}}\\n      </div>\\n\\n      {{#if @row.officeHoursSchedule}}\\n        <div class=\\\"inbox__slas__response-times t__light-text mt-1\\\">\\n          Office Hours: {{@row.officeHoursSchedule.name}} ({{@row.officeHoursSchedule.labelWithTimezone}})\\n        </div>\\n      {{/if}}\\n    </div>\\n  </div>\\n</td>\\n\",\"moduleName\":\"embercom/components/table-cells/slas/name-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/slas/name-cell.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<td class=\\\"table__cell\\\">\\n  <div class=\\\"table__cell__jammer\\\" style={{@column.widthStyle}}>\\n    <div class=\\\"table__cell__measure__element\\\">\\n      {{#if @row.teammate}}\\n        {{#if @row.isCurrentAdmin}}\\n          <IcTooltip as |t| >\\n            <t.opener>\\n              <Text @styling=\\\"muted\\\">Edit</Text>\\n            </t.opener>\\n            <t.content>\\n              You can’t edit your own permissions.\\n            </t.content>\\n          </IcTooltip>\\n        {{else}}\\n          <a class=\\\"btn__tertiary\\\" href={{href-to \\\"apps.app.settings.teammates.teammate.permissions\\\" @row.teammate.id}} data-test-teammate-edit-link={{@row.teammate.id}}>Edit</a>\\n        {{/if}}\\n      {{/if}}\\n    </div>\\n  </div>\\n</td>\\n\", {\"contents\":\"<td class=\\\"table__cell\\\">\\n  <div class=\\\"table__cell__jammer\\\" style={{@column.widthStyle}}>\\n    <div class=\\\"table__cell__measure__element\\\">\\n      {{#if @row.teammate}}\\n        {{#if @row.isCurrentAdmin}}\\n          <IcTooltip as |t| >\\n            <t.opener>\\n              <Text @styling=\\\"muted\\\">Edit</Text>\\n            </t.opener>\\n            <t.content>\\n              You can’t edit your own permissions.\\n            </t.content>\\n          </IcTooltip>\\n        {{else}}\\n          <a class=\\\"btn__tertiary\\\" href={{href-to \\\"apps.app.settings.teammates.teammate.permissions\\\" @row.teammate.id}} data-test-teammate-edit-link={{@row.teammate.id}}>Edit</a>\\n        {{/if}}\\n      {{/if}}\\n    </div>\\n  </div>\\n</td>\\n\",\"moduleName\":\"embercom/components/table-cells/teammate-list/edit-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/teammate-list/edit-cell.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<td class=\\\"table__cell\\\">\\n  <div class=\\\"table__cell__jammer\\\" style={{@column.widthStyle}}>\\n    <div class=\\\"table__cell__measure__element\\\">\\n      {{#if this.teammate}}\\n        <IcTooltip\\n          @isDisabled={{not (or this.isLastTeammateWithInboxAccess this.seatsPaywalled)}}\\n          @isInteractive={{true}}\\n          as |context|\\n        >\\n          <context.opener>\\n            <IcOnOffToggle\\n              data-test-inbox-seat-toggle\\n              @isOn={{or this.teammate.hasInboxAccess false}}\\n              @onClick={{fn @tableActions.toggleInboxSeat this.teammate}}\\n              @isDisabled={{or this.isLastTeammateWithInboxAccess this.appService.app.canUseFree this.appService.app.isTestApp this.seatsPaywalled}}\\n            />\\n          </context.opener>\\n          <context.content>\\n            {{#if this.seatsPaywalled}}\\n              <Paywalls::LimitReachedHoverCard />\\n            {{else if this.appService.app.isOnFree}}\\n              This is the only Inbox seat available while on the free plan.\\n            {{else}}\\n              This is the only Inbox seat in use. To turn off access, give the seat\\n              to another teammate or\\n              <LinkTo @route=\\\"apps.app.billing\\\">\\n                remove Inbox from your subscription\\n              </LinkTo>\\n            {{/if}}\\n          </context.content>\\n        </IcTooltip>\\n      {{/if}}\\n    </div>\\n  </div>\\n</td>\\n\", {\"contents\":\"<td class=\\\"table__cell\\\">\\n  <div class=\\\"table__cell__jammer\\\" style={{@column.widthStyle}}>\\n    <div class=\\\"table__cell__measure__element\\\">\\n      {{#if this.teammate}}\\n        <IcTooltip\\n          @isDisabled={{not (or this.isLastTeammateWithInboxAccess this.seatsPaywalled)}}\\n          @isInteractive={{true}}\\n          as |context|\\n        >\\n          <context.opener>\\n            <IcOnOffToggle\\n              data-test-inbox-seat-toggle\\n              @isOn={{or this.teammate.hasInboxAccess false}}\\n              @onClick={{fn @tableActions.toggleInboxSeat this.teammate}}\\n              @isDisabled={{or this.isLastTeammateWithInboxAccess this.appService.app.canUseFree this.appService.app.isTestApp this.seatsPaywalled}}\\n            />\\n          </context.opener>\\n          <context.content>\\n            {{#if this.seatsPaywalled}}\\n              <Paywalls::LimitReachedHoverCard />\\n            {{else if this.appService.app.isOnFree}}\\n              This is the only Inbox seat available while on the free plan.\\n            {{else}}\\n              This is the only Inbox seat in use. To turn off access, give the seat\\n              to another teammate or\\n              <LinkTo @route=\\\"apps.app.billing\\\">\\n                remove Inbox from your subscription\\n              </LinkTo>\\n            {{/if}}\\n          </context.content>\\n        </IcTooltip>\\n      {{/if}}\\n    </div>\\n  </div>\\n</td>\\n\",\"moduleName\":\"embercom/components/table-cells/teammate-list/inbox-seat-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/teammate-list/inbox-seat-cell.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class InboxSeatCell extends Component {\n  @service appService;\n\n  get teammate() {\n    return this.args.row.teammate;\n  }\n\n  get isLastTeammateWithInboxAccess() {\n    return this.appService.app.adminsWithInboxAccess.length === 1\n      ? this.teammate.hasInboxAccess === true\n      : false;\n  }\n\n  get seatsPaywalled() {\n    return (\n      this.teammate && !this.teammate.hasInboxAccess && this.args.tableActions.seatsPaywall.isActive\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<td class=\\\"table__cell\\\">\\n  <div class=\\\"table__cell__jammer\\\" style={{@column.widthStyle}}>\\n    <div class=\\\"table__cell__measure__element\\\">\\n      <div class=\\\"flex flex-row justify-between items-center\\\" data-test-layout-split-container>\\n        {{#if @row.teammate}}\\n          <div class=\\\"settings__teammate__teammate-list__avatar\\\">\\n            {{#if @row.isCurrentAdmin}}\\n              <IcTooltip class=\\\"settings__teammate__teammate-list__name__checkbox\\\" data-test-current-admin-checkbox as |context|>\\n                <context.opener>\\n                  <input type=\\\"checkbox\\\" disabled />\\n                </context.opener>\\n                <context.content>You can’t edit your own permissions.</context.content>\\n              </IcTooltip>\\n            {{else}}\\n              <Input\\n                @type=\\\"checkbox\\\"\\n                @checked={{@row.isSelected}}\\n                @change={{queue (toggle 'isSelected' @row) @tableActions.selectRow}}\\n                class=\\\"settings__teammate__teammate-list__name__checkbox\\\"\\n                data-test-teammate-checkbox={{@row.teammate.id}}\\n              />\\n            {{/if}}\\n            <IcAvatarComponent\\n              class=\\\"settings__teammate__teammate-list__name__avatar\\\"\\n              @model={{@row.teammate}}\\n              @size=\\\"m\\\"\\n              @canAnimate={{true}}\\n              @displayAdminBadge={{true}}\\n              data-test-teammate-avatar\\n            />\\n          </div>\\n          <div>\\n            <a\\n              data-test-teammate-name\\n              class=\\\"settings__teammate__teammate-list__name\\\"\\n              href=\\\"{{href-to \\\"apps.app.admins.admin\\\" @row.teammate}}\\\"\\n            >\\n              {{@row.teammate.name}}\\n            </a>\\n            <br />\\n            <span data-test-teammate-email class=\\\"t__light-text\\\">\\n              {{@row.teammate.email}}\\n            </span>\\n          </div>\\n        {{/if}}\\n      </div>\\n    </div>\\n  </div>\\n</td>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<td class=\\\"table__cell\\\">\\n  <div class=\\\"table__cell__jammer\\\" style={{@column.widthStyle}}>\\n    <div class=\\\"table__cell__measure__element\\\">\\n      <div class=\\\"flex flex-row justify-between items-center\\\" data-test-layout-split-container>\\n        {{#if @row.teammate}}\\n          <div class=\\\"settings__teammate__teammate-list__avatar\\\">\\n            {{#if @row.isCurrentAdmin}}\\n              <IcTooltip class=\\\"settings__teammate__teammate-list__name__checkbox\\\" data-test-current-admin-checkbox as |context|>\\n                <context.opener>\\n                  <input type=\\\"checkbox\\\" disabled />\\n                </context.opener>\\n                <context.content>You can’t edit your own permissions.</context.content>\\n              </IcTooltip>\\n            {{else}}\\n              <Input\\n                @type=\\\"checkbox\\\"\\n                @checked={{@row.isSelected}}\\n                @change={{queue (toggle 'isSelected' @row) @tableActions.selectRow}}\\n                class=\\\"settings__teammate__teammate-list__name__checkbox\\\"\\n                data-test-teammate-checkbox={{@row.teammate.id}}\\n              />\\n            {{/if}}\\n            <IcAvatarComponent\\n              class=\\\"settings__teammate__teammate-list__name__avatar\\\"\\n              @model={{@row.teammate}}\\n              @size=\\\"m\\\"\\n              @canAnimate={{true}}\\n              @displayAdminBadge={{true}}\\n              data-test-teammate-avatar\\n            />\\n          </div>\\n          <div>\\n            <a\\n              data-test-teammate-name\\n              class=\\\"settings__teammate__teammate-list__name\\\"\\n              href=\\\"{{href-to \\\"apps.app.admins.admin\\\" @row.teammate}}\\\"\\n            >\\n              {{@row.teammate.name}}\\n            </a>\\n            <br />\\n            <span data-test-teammate-email class=\\\"t__light-text\\\">\\n              {{@row.teammate.email}}\\n            </span>\\n          </div>\\n        {{/if}}\\n      </div>\\n    </div>\\n  </div>\\n</td>\\n\",\"moduleName\":\"embercom/components/table-cells/teammate-list/name-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/teammate-list/name-cell.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<td class=\\\"table__cell\\\">\\n  <div class=\\\"table__cell__jammer\\\" style={{@column.widthStyle}}>\\n    <div class=\\\"table__cell__measure__element settings__teammate__teammate-list__permission-cell\\\" data-test-permission-cell>\\n      {{#if @row.teammate}}\\n        {{#if (service \\\"app-service.app.canUseRoles\\\")}}\\n          <div class=\\\"flex flex-col\\\">\\n            {{#if @row.teammate.currentAppPermissions.role}}\\n              <div class=\\\"flex flex-row\\\">\\n                <Text class=\\\"u__one-truncated-line\\\" data-test-permission-cell-role-name>\\n                  {{@row.teammate.currentAppPermissions.role.name}}\\n                </Text>\\n                <IcTooltipIcon @isInteractive={{true}} class=\\\"ml-1\\\">\\n                  <p>\\n                    {{@row.teammate.currentAppPermissions.role.description}}\\n                  </p>\\n                  <LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{@row.teammate.currentAppPermissions.role.id}}>\\n                    Manage permissions\\n                  </LinkTo>\\n                </IcTooltipIcon>\\n              </div>\\n            {{/if}}\\n            <Text @styling=\\\"muted\\\" data-test-permission-cell-access-text>\\n            {{#if (has-feature \\\"restrict-conversation-access\\\")}}\\n              {{#if (and\\n                @row.teammate.currentAppPermissions.hasFullAccess\\n                (eq @row.teammate.currentAppPermissions.accessType \\\"all\\\"))\\n              }}\\n                Full Access\\n              {{else}}\\n                Limited Access\\n              {{/if}}\\n            {{else if @row.teammate.currentAppPermissions.hasFullAccess}}\\n              Full Access\\n            {{else}}\\n              Limited Access\\n            {{/if}}\\n            </Text>\\n          </div>\\n        {{else}}\\n          {{#if (has-feature \\\"restrict-conversation-access\\\")}}\\n            {{#if (and\\n              @row.teammate.currentAppPermissions.hasFullAccess\\n              (eq @row.teammate.currentAppPermissions.accessType \\\"all\\\"))\\n            }}\\n              Full Access\\n            {{else}}\\n              Limited Access\\n            {{/if}}\\n          {{else if @row.teammate.currentAppPermissions.hasFullAccess}}\\n            Full Access\\n          {{else}}\\n            Limited Access\\n          {{/if}}\\n        {{/if}}\\n      {{/if}}\\n    </div>\\n  </div>\\n</td>\\n\", {\"contents\":\"<td class=\\\"table__cell\\\">\\n  <div class=\\\"table__cell__jammer\\\" style={{@column.widthStyle}}>\\n    <div class=\\\"table__cell__measure__element settings__teammate__teammate-list__permission-cell\\\" data-test-permission-cell>\\n      {{#if @row.teammate}}\\n        {{#if (service \\\"app-service.app.canUseRoles\\\")}}\\n          <div class=\\\"flex flex-col\\\">\\n            {{#if @row.teammate.currentAppPermissions.role}}\\n              <div class=\\\"flex flex-row\\\">\\n                <Text class=\\\"u__one-truncated-line\\\" data-test-permission-cell-role-name>\\n                  {{@row.teammate.currentAppPermissions.role.name}}\\n                </Text>\\n                <IcTooltipIcon @isInteractive={{true}} class=\\\"ml-1\\\">\\n                  <p>\\n                    {{@row.teammate.currentAppPermissions.role.description}}\\n                  </p>\\n                  <LinkTo @route=\\\"apps.app.settings.roles.edit\\\" @model={{@row.teammate.currentAppPermissions.role.id}}>\\n                    Manage permissions\\n                  </LinkTo>\\n                </IcTooltipIcon>\\n              </div>\\n            {{/if}}\\n            <Text @styling=\\\"muted\\\" data-test-permission-cell-access-text>\\n            {{#if (has-feature \\\"restrict-conversation-access\\\")}}\\n              {{#if (and\\n                @row.teammate.currentAppPermissions.hasFullAccess\\n                (eq @row.teammate.currentAppPermissions.accessType \\\"all\\\"))\\n              }}\\n                Full Access\\n              {{else}}\\n                Limited Access\\n              {{/if}}\\n            {{else if @row.teammate.currentAppPermissions.hasFullAccess}}\\n              Full Access\\n            {{else}}\\n              Limited Access\\n            {{/if}}\\n            </Text>\\n          </div>\\n        {{else}}\\n          {{#if (has-feature \\\"restrict-conversation-access\\\")}}\\n            {{#if (and\\n              @row.teammate.currentAppPermissions.hasFullAccess\\n              (eq @row.teammate.currentAppPermissions.accessType \\\"all\\\"))\\n            }}\\n              Full Access\\n            {{else}}\\n              Limited Access\\n            {{/if}}\\n          {{else if @row.teammate.currentAppPermissions.hasFullAccess}}\\n            Full Access\\n          {{else}}\\n            Limited Access\\n          {{/if}}\\n        {{/if}}\\n      {{/if}}\\n    </div>\\n  </div>\\n</td>\\n\",\"moduleName\":\"embercom/components/table-cells/teammate-list/permission-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/teammate-list/permission-cell.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<td class='table__cell'>\\n  <div class=\\\"table__cell__jammer\\\" style={{@column.widthStyle}}>\\n    <div class=\\\"table__cell__measure__element\\\">\\n      {{#if this.admin}}\\n        <IcDropdownOpener\\n          data-test-teammate-status-dropdown-opener={{this.admin.id}}\\n          @groupList={{this.groupList}}\\n          @onSelectItem={{this.changeStatus}}\\n          class=\\\"cursor-pointer relative pl-4\\\"\\n        >\\n          <span\\n            class=\\\"away-mode__admin-details__active-indicator o__in-teammate-list-status-cell {{if (not-eq this.currentStatusKey \\\"active\\\") \\\"o__away\\\"}}\\\"\\n          ></span>\\n          {{this.currentStatusText}}\\n          {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n        </IcDropdownOpener>\\n      {{/if}}\\n    </div>\\n  </div>\\n</td>\\n\", {\"contents\":\"<td class='table__cell'>\\n  <div class=\\\"table__cell__jammer\\\" style={{@column.widthStyle}}>\\n    <div class=\\\"table__cell__measure__element\\\">\\n      {{#if this.admin}}\\n        <IcDropdownOpener\\n          data-test-teammate-status-dropdown-opener={{this.admin.id}}\\n          @groupList={{this.groupList}}\\n          @onSelectItem={{this.changeStatus}}\\n          class=\\\"cursor-pointer relative pl-4\\\"\\n        >\\n          <span\\n            class=\\\"away-mode__admin-details__active-indicator o__in-teammate-list-status-cell {{if (not-eq this.currentStatusKey \\\"active\\\") \\\"o__away\\\"}}\\\"\\n          ></span>\\n          {{this.currentStatusText}}\\n          {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n        </IcDropdownOpener>\\n      {{/if}}\\n    </div>\\n  </div>\\n</td>\\n\",\"moduleName\":\"embercom/components/table-cells/teammate-list/status-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/teammate-list/status-cell.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nconst STATUSES = [\n  {\n    text: 'Active',\n    key: 'active',\n  },\n  {\n    text: 'Away',\n    key: 'away',\n  },\n  {\n    text: 'Away & reassigning',\n    key: 'reassign',\n  },\n];\n\nexport default class StatusCell extends Component {\n  @service intercomEventService;\n  @service appService;\n\n  get admin() {\n    return this.args.row.teammate;\n  }\n\n  get currentStatusKey() {\n    if (this.admin.away_mode_enabled) {\n      return this.admin.reassign_conversations ? 'reassign' : 'away';\n    }\n    return 'active';\n  }\n\n  get currentStatusText() {\n    let currentStatus = STATUSES.find(status => status.key === this.currentStatusKey);\n    return currentStatus.text;\n  }\n\n  get groupList() {\n    let options = STATUSES.reject(status => {\n      return (\n        status.key === 'reassign' &&\n        this.appService.app.requiresInboxSeatAccess &&\n        !this.admin.hasInboxAccess\n      );\n    }).map(status => {\n      return {\n        text: status.text,\n        value: status.key,\n        isSelected: this.currentStatusKey === status.key,\n      };\n    });\n    return [\n      {\n        hasItemsMarkableAsSelected: true,\n        items: options,\n      },\n    ];\n  }\n\n  setActive() {\n    this.admin.set('away_mode_enabled', false);\n    this.admin.set('reassign_conversations', false);\n    this.save();\n  }\n\n  setAway() {\n    this.admin.set('away_mode_enabled', true);\n    this.admin.set('reassign_conversations', false);\n    this.save();\n  }\n\n  setAwayAndReassigning() {\n    this.admin.set('away_mode_enabled', true);\n    this.admin.set('reassign_conversations', true);\n    this.save();\n  }\n\n  save() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: this.admin.reassign_conversations ? 'enabled' : 'disabled',\n      object: 'reassign_conversation_setting',\n      context: 'from_teammate_settings',\n      models: [this.admin],\n    });\n    this.admin.saveOutOfOfficeSettings();\n  }\n\n  @action\n  changeStatus(key) {\n    let actions = {\n      active: this.setActive,\n      away: this.setAway,\n      reassign: this.setAwayAndReassigning,\n    };\n    actions[key] && actions[key].call(this);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<td class=\\\"table__cell\\\" data-test-teammate-teams={{@row.teammate.id}}>\\n  <div class=\\\"table__cell__jammer\\\" style={{@column.widthStyle}}>\\n    <div class=\\\"table__cell__measure__element\\\">\\n      {{#if @row.teammate}}\\n          {{#if @row.teammateTeams}}\\n            {{@row.teammateTeams.length}} {{inflector-helper 'team' @row.teammateTeams.length}}\\n          {{else}}\\n            -\\n          {{/if}}\\n      {{/if}}\\n    </div>\\n  </div>\\n</td>\\n\", {\"contents\":\"<td class=\\\"table__cell\\\" data-test-teammate-teams={{@row.teammate.id}}>\\n  <div class=\\\"table__cell__jammer\\\" style={{@column.widthStyle}}>\\n    <div class=\\\"table__cell__measure__element\\\">\\n      {{#if @row.teammate}}\\n          {{#if @row.teammateTeams}}\\n            {{@row.teammateTeams.length}} {{inflector-helper 'team' @row.teammateTeams.length}}\\n          {{else}}\\n            -\\n          {{/if}}\\n      {{/if}}\\n    </div>\\n  </div>\\n</td>\\n\",\"moduleName\":\"embercom/components/table-cells/teammate-list/teams-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/teammate-list/teams-cell.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<td class=\\\"table__cell\\\">\\n  <div class=\\\"table__cell__jammer\\\" style={{@column.widthStyle}}>\\n    <div class=\\\"table__cell__measure__element\\\">\\n      {{#if @row.teammate}}\\n        {{if @row.teammate.has_enabled_2fa 'Enabled' 'Disabled'}}\\n      {{/if}}\\n    </div>\\n  </div>\\n</td>\\n\", {\"contents\":\"<td class=\\\"table__cell\\\">\\n  <div class=\\\"table__cell__jammer\\\" style={{@column.widthStyle}}>\\n    <div class=\\\"table__cell__measure__element\\\">\\n      {{#if @row.teammate}}\\n        {{if @row.teammate.has_enabled_2fa 'Enabled' 'Disabled'}}\\n      {{/if}}\\n    </div>\\n  </div>\\n</td>\\n\",\"moduleName\":\"embercom/components/table-cells/teammate-list/two-f-a-cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/table-cells/teammate-list/two-f-a-cell.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span data-test-tag-or-segment-pill class=\\\"pill {{if hasDelete 'o__has-delete'}}\\\">\\n  <span class=\\\"pill__icon\\\">{{ic-interface-icon icon set='tiny' color='gray' solo=true}}</span>\\n  {{#if link}}\\n    {{#if isSegment}}\\n      <a data-test-pill-text-link href=\\\"{{href-to 'apps.app.users.segments.segment' tagOrSegment}}\\\" class=\\\"t__solo-link\\\">{{tagOrSegment.name}}</a>\\n    {{else}}\\n      <a data-test-pill-text-link class=\\\"t__solo-link\\\" href=\\\"{{userOrCompanyListUrl}}\\\">{{tagOrSegment.name}}</a>\\n    {{/if}}\\n  {{else}}\\n    {{tagOrSegment.name}}\\n  {{/if}}\\n  {{#if hasDelete}}\\n    <a {{action 'removeTag'}} class=\\\"pill__delete\\\" title=\\\"Remove {{tagOrSegment.name}} tag\\\">{{ic-interface-icon 'delete' set='tiny' color='gray' solo=true}}</a>\\n  {{/if}}\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span data-test-tag-or-segment-pill class=\\\"pill {{if hasDelete 'o__has-delete'}}\\\">\\n  <span class=\\\"pill__icon\\\">{{ic-interface-icon icon set='tiny' color='gray' solo=true}}</span>\\n  {{#if link}}\\n    {{#if isSegment}}\\n      <a data-test-pill-text-link href=\\\"{{href-to 'apps.app.users.segments.segment' tagOrSegment}}\\\" class=\\\"t__solo-link\\\">{{tagOrSegment.name}}</a>\\n    {{else}}\\n      <a data-test-pill-text-link class=\\\"t__solo-link\\\" href=\\\"{{userOrCompanyListUrl}}\\\">{{tagOrSegment.name}}</a>\\n    {{/if}}\\n  {{else}}\\n    {{tagOrSegment.name}}\\n  {{/if}}\\n  {{#if hasDelete}}\\n    <a {{action 'removeTag'}} class=\\\"pill__delete\\\" title=\\\"Remove {{tagOrSegment.name}} tag\\\">{{ic-interface-icon 'delete' set='tiny' color='gray' solo=true}}</a>\\n  {{/if}}\\n</span>\\n\",\"moduleName\":\"embercom/components/tag-or-segment-pill-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tag-or-segment-pill-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { alias, and, equal, or, reads, not } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport {\n  templateString,\n  ternary,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport B64FilterParamEncoder from 'embercom/vendor/intercom/b64-filter-param-encoder';\n\nexport default Component.extend({\n  tagName: '',\n  link: true,\n  showRemove: true,\n  tag: alias('tagOrSegment'),\n  hasDelete: and('isTag', 'showRemove'),\n  isCompany: equal('taggable.resourceName', 'companies'),\n  isUser: equal('taggable.constructor.modelName', 'user'),\n  isUserOrCompany: or('isUser', 'isCompany'),\n  isSegment: reads('tagOrSegment.isSegment'),\n  isTag: not('isSegment'),\n  icon: ternary('isTag', 'tag', 'segment'),\n\n  attributeIfUser: ternary('isTag', 'manual_tag_ids', 'tag_ids'),\n  attributeIfCompany: templateString('company.${attributeIfUser}'),\n  attribute: ternaryToProperty('isCompany', 'attributeIfCompany', 'attributeIfUser'),\n\n  predicateBase: ternaryToProperty('isSegment', 'segmentPredicateBase', 'tagPredicateBase'),\n  tagPredicateBase: { comparison: 'eq', type: 'manual_tag' },\n  segmentPredicateBase: { comparison: 'in', type: 'tag' },\n\n  removeTag() {\n    this.taggable.removeTagging(this.tag);\n  },\n\n  userOrCompanyListUrl: computed('tagOrSegment', function() {\n    if (this.isUserOrCompany) {\n      return B64FilterParamEncoder.filterUrlFromPredicates(this.taggable, this.asPredicates);\n    }\n  }),\n\n  asPredicates: computed('tagOrSegment', function() {\n    let predicate = this.predicateBase;\n    predicate.attribute = this.attribute;\n    predicate.value = this.get('tagOrSegment.id');\n    return { predicates: [predicate] };\n  }),\n\n  actions: {\n    removeTag() {\n      this.set('isVisible', false);\n      this.removeTag();\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('untaggingAction', this.tag);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip\\n  @isDisabled={{not @tagging.hasTaggingMetaData}}\\n  class=\\\"u__left max-w-full\\\"\\n  as |t|\\n>\\n  <t.opener>\\n    <TagOrSegmentPillComponent\\n      @tagOrSegment={{@tagging.tag}}\\n      @taggable={{@taggable}}\\n      @app={{@app}}\\n      @link={{true}}\\n      @showRemove={{this.showRemove}}\\n      @untaggingAction=\\\"userUntagged\\\"\\n    />\\n  </t.opener>\\n\\n  <t.content>\\n    {{#if @isTruncated}}\\n      <div class=\\\"m__custom-tooltip o__large o__bold\\\">\\n        {{@tagging.tag.name}}\\n      </div>\\n    {{/if}}\\n    <div class=\\\"m__custom-tooltip o__large o__center\\\">\\n      {{#if @tagging.hasAdmin}}\\n        {{if this.tagged 'Tagged' 'Untagged'}} by\\n        <IcAvatarComponent @model={{@tagging.admin}} @size=\\\"xs\\\" />\\n        {{display-admin-as @admin @tagging.admin false false true}}\\n\\n        {{#if @tagging.hasTaggingDate}}\\n          <time\\n            class=\\\"js__relative-time\\\"\\n            data-formatter=\\\"full-relative-time-ago-helper\\\"\\n            datetime=\\\"{{@tagging.tagged_at}}\\\"\\n          >\\n            {{full-relative-time-ago-helper @tagging.tagged_at}}\\n          </time>\\n        {{/if}}\\n      {{else}}\\n        Tag information not available\\n      {{/if}}\\n    </div>\\n  </t.content>\\n</IcTooltip>\\n\", {\"contents\":\"<IcTooltip\\n  @isDisabled={{not @tagging.hasTaggingMetaData}}\\n  class=\\\"u__left max-w-full\\\"\\n  as |t|\\n>\\n  <t.opener>\\n    <TagOrSegmentPillComponent\\n      @tagOrSegment={{@tagging.tag}}\\n      @taggable={{@taggable}}\\n      @app={{@app}}\\n      @link={{true}}\\n      @showRemove={{this.showRemove}}\\n      @untaggingAction=\\\"userUntagged\\\"\\n    />\\n  </t.opener>\\n\\n  <t.content>\\n    {{#if @isTruncated}}\\n      <div class=\\\"m__custom-tooltip o__large o__bold\\\">\\n        {{@tagging.tag.name}}\\n      </div>\\n    {{/if}}\\n    <div class=\\\"m__custom-tooltip o__large o__center\\\">\\n      {{#if @tagging.hasAdmin}}\\n        {{if this.tagged 'Tagged' 'Untagged'}} by\\n        <IcAvatarComponent @model={{@tagging.admin}} @size=\\\"xs\\\" />\\n        {{display-admin-as @admin @tagging.admin false false true}}\\n\\n        {{#if @tagging.hasTaggingDate}}\\n          <time\\n            class=\\\"js__relative-time\\\"\\n            data-formatter=\\\"full-relative-time-ago-helper\\\"\\n            datetime=\\\"{{@tagging.tagged_at}}\\\"\\n          >\\n            {{full-relative-time-ago-helper @tagging.tagged_at}}\\n          </time>\\n        {{/if}}\\n      {{else}}\\n        Tag information not available\\n      {{/if}}\\n    </div>\\n  </t.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/tag-with-tooltip.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tag-with-tooltip.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { action } from '@ember/object';\n\nexport default Component.extend({\n  tagName: '',\n  showRemove: true,\n  tagged: true,\n  userUntagged: action(function(tag) {\n    // eslint-disable-next-line ember/closure-actions\n    this.sendAction('untaggingAction', tag);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col gap-2 p-6\\\" data-test-tagger-editor>\\n  <Text @styling='muted' class=\\\"mb-4\\\">Choose the tags to apply to the person who reaches this block.</Text>\\n\\n  <div class=\\\"flex flex-row flex-wrap gap-2\\\">\\n    {{#each this.tags as |tag|}}\\n      <IcFilterBlock\\n        class=\\\"mb-2\\\"\\n        @isOneLine={{true}}\\n        @icon=\\\"tag\\\"\\n        @name={{tag.name}}\\n        @appearance=\\\"action\\\"\\n        @onDelete={{fn this.removeTag tag.id}}\\n        @deleteTooltipContent=\\\"Remove tag\\\"\\n        data-test-tagger-tag={{tag.id}}\\n      />\\n    {{/each}}\\n  </div>\\n\\n  <IcButton\\n    @label=\\\"Add a tag\\\"\\n    @type=\\\"secondary\\\"\\n    @icon=\\\"tag\\\"\\n    @onClick={{set this.showTagModal true}}\\n    data-test-tag-button={{true}}\\n  />\\n\\n  {{#if this.showTagModal}}\\n    <IcModal\\n      @width=\\\"m\\\"\\n      @onModalClose={{set this.showTagModal false}}\\n      @showCloseIcon={{false}}\\n      >\\n      <Common::TaggingComponent\\n        @title=\\\"Select a tag\\\"\\n        @type=\\\"content\\\"\\n        @location=\\\"content-list\\\"\\n        @afterSave={{set this.showTagModal false}}\\n        @taggable={{this.taggable}}\\n        @tagger={{this.tagger}}\\n        @closeModalAction={{set this.showTagModal false}}\\n        />\\n    </IcModal>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col gap-2 p-6\\\" data-test-tagger-editor>\\n  <Text @styling='muted' class=\\\"mb-4\\\">Choose the tags to apply to the person who reaches this block.</Text>\\n\\n  <div class=\\\"flex flex-row flex-wrap gap-2\\\">\\n    {{#each this.tags as |tag|}}\\n      <IcFilterBlock\\n        class=\\\"mb-2\\\"\\n        @isOneLine={{true}}\\n        @icon=\\\"tag\\\"\\n        @name={{tag.name}}\\n        @appearance=\\\"action\\\"\\n        @onDelete={{fn this.removeTag tag.id}}\\n        @deleteTooltipContent=\\\"Remove tag\\\"\\n        data-test-tagger-tag={{tag.id}}\\n      />\\n    {{/each}}\\n  </div>\\n\\n  <IcButton\\n    @label=\\\"Add a tag\\\"\\n    @type=\\\"secondary\\\"\\n    @icon=\\\"tag\\\"\\n    @onClick={{set this.showTagModal true}}\\n    data-test-tag-button={{true}}\\n  />\\n\\n  {{#if this.showTagModal}}\\n    <IcModal\\n      @width=\\\"m\\\"\\n      @onModalClose={{set this.showTagModal false}}\\n      @showCloseIcon={{false}}\\n      >\\n      <Common::TaggingComponent\\n        @title=\\\"Select a tag\\\"\\n        @type=\\\"content\\\"\\n        @location=\\\"content-list\\\"\\n        @afterSave={{set this.showTagModal false}}\\n        @taggable={{this.taggable}}\\n        @tagger={{this.tagger}}\\n        @closeModalAction={{set this.showTagModal false}}\\n        />\\n    </IcModal>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/tagger/editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tagger/editor.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class TaggerComponent extends Component {\n  @service store;\n  @service appService;\n\n  get groupList() {\n    return [\n      {\n        isFilterable: true,\n        items: this.items,\n      },\n    ];\n  }\n\n  get items() {\n    return this.appService.app.tags.map(tag => {\n      return {\n        text: tag.name,\n        value: tag.id,\n        icon: 'tag',\n      };\n    });\n  }\n\n  get tags() {\n    return this.args.tagger.tagIds.map(tagId => {\n      return this.store.peekRecord('tag', tagId);\n    });\n  }\n\n  addTag(item) {\n    this.args.tagger.add(item);\n  }\n\n  @action\n  removeTag(tagId) {\n    this.args.tagger.remove(tagId);\n  }\n\n  get taggable() {\n    return {\n      self: this,\n      tags: [],\n      taggings: [],\n      type: 'content',\n      updateTaggings(admin, addedTags, removedTags) {\n        addedTags.forEach(tag => {\n          this.self.addTag(tag.get('id'));\n        });\n      },\n    };\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col gap-2\\\" data-test-tagger-summary>\\n  <Text @styling='muted'>Tag with</Text>\\n  <div class=\\\"flex flex-row flex-wrap gap-2\\\">\\n    {{#each this.tags as |tag|}}\\n      <IcFilterBlock\\n        class=\\\"mb-2\\\"\\n        @isOneLine={{true}}\\n        @icon=\\\"tag\\\"\\n        @name={{tag.name}}\\n        @isClickable={{false}}\\n        data-test-tagger-tag={{tag.id}}\\n      />\\n    {{/each}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col gap-2\\\" data-test-tagger-summary>\\n  <Text @styling='muted'>Tag with</Text>\\n  <div class=\\\"flex flex-row flex-wrap gap-2\\\">\\n    {{#each this.tags as |tag|}}\\n      <IcFilterBlock\\n        class=\\\"mb-2\\\"\\n        @isOneLine={{true}}\\n        @icon=\\\"tag\\\"\\n        @name={{tag.name}}\\n        @isClickable={{false}}\\n        data-test-tagger-tag={{tag.id}}\\n      />\\n    {{/each}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/tagger/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tagger/summary.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class TaggerSummary extends Component {\n  @service store;\n\n  get tags() {\n    return this.args.tagger.tagIds.map(tagId => {\n      return this.store.peekRecord('tag', tagId);\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#unless @hideAddTagButton}}\\n  <a\\n    data-test-add-tag-button\\n    class=\\\"pill js__shortcuts_trigger_tag_user tags-list__add-tag-pill\\\"\\n    title=\\\"+ Add tag\\\"\\n    {{action \\\"taggingModalAction\\\"}}\\n  >\\n    <span class=\\\"t__solo-link__inner\\\">+ Add tag</span>\\n  </a>\\n{{/unless}}\\n{{#each @taggings as |tagging|}}\\n  <TagWithTooltip\\n    @app={{@app}}\\n    @admin={{@admin}}\\n    @tagging={{tagging}}\\n    @taggable={{@taggable}}\\n    @link={{true}}\\n    @untaggingAction=\\\"userUntagged\\\"\\n  />\\n{{/each}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#unless @hideAddTagButton}}\\n  <a\\n    data-test-add-tag-button\\n    class=\\\"pill js__shortcuts_trigger_tag_user tags-list__add-tag-pill\\\"\\n    title=\\\"+ Add tag\\\"\\n    {{action \\\"taggingModalAction\\\"}}\\n  >\\n    <span class=\\\"t__solo-link__inner\\\">+ Add tag</span>\\n  </a>\\n{{/unless}}\\n{{#each @taggings as |tagging|}}\\n  <TagWithTooltip\\n    @app={{@app}}\\n    @admin={{@admin}}\\n    @tagging={{tagging}}\\n    @taggable={{@taggable}}\\n    @link={{true}}\\n    @untaggingAction=\\\"userUntagged\\\"\\n  />\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/tags-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tags-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  tagName: '',\n  actions: {\n    taggingModalAction() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('taggingModalAction', this.modalController, this.taggable);\n    },\n    userUntagged(tag) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('untaggingAction', tag);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<input\\n  name=\\\"talon\\\"\\n  value={{@value}}\\n  id=\\\"talon\\\"\\n  data-test-input=\\\"talon\\\"\\n  autocomplete=\\\"talon\\\"\\n  type=\\\"hidden\\\"\\n  {{did-insert this.initEHawk}}\\n/>\\n\\n\", {\"contents\":\"<input\\n  name=\\\"talon\\\"\\n  value={{@value}}\\n  id=\\\"talon\\\"\\n  data-test-input=\\\"talon\\\"\\n  autocomplete=\\\"talon\\\"\\n  type=\\\"hidden\\\"\\n  {{did-insert this.initEHawk}}\\n/>\\n\\n\",\"moduleName\":\"embercom/components/talon.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/talon.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class Talon extends Component {\n  @action\n  initEHawk() {\n    eHawkTalon();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureKey={{@feature}} as |paywall|>\\n  {{#if (and @feature paywall.isActive)}}\\n    <paywall.Hover>\\n      <div class=\\\"u__mt__5\\\">\\n        <IcButton\\n          @type=\\\"primary-live\\\"\\n          @disabled={{true}}\\n          data-test-task-bot-upgrade-button={{true}}\\n        >\\n          Turn on\\n        </IcButton>\\n      </div>\\n    </paywall.Hover>\\n  {{else}}\\n    {{#if (and @allowSaving (not save.isRunning))}}\\n      <Common::AccordionComponent::BodyButtonAction\\n        @model={{@model}}\\n        @saveButtonType=\\\"primary-live\\\"\\n        @classNames={{undefined}}\\n        @context=\\\"Task Bot settings\\\"\\n        @saveLabel=\\\"Save and turn on\\\"\\n        @allowSaving={{true}}\\n        @body={{@body}}\\n        @customSaveAction={{action \\\"enableValidateAndSave\\\"}}\\n        @paywallFeature={{@feature}}\\n      />\\n    {{else}}\\n      <div class=\\\"u__mt__5\\\">\\n        {{#if (eq enabled undefined)}}\\n          <IcButton\\n            @type=\\\"secondary\\\"\\n            @label=\\\"Close\\\"\\n            @onClick={{action (optional body.accordionAPI.closeSection)}}\\n            data-test-task-bot-close-button={{true}}\\n          />\\n        {{else}}\\n          <IcButton\\n            @type={{if\\n              (xor enabled (not @model.hasDirtyAttributes))\\n              \\\"primary-live\\\"\\n              \\\"secondary\\\"\\n            }}\\n            @label={{if enabled \\\"Turn this task off\\\" \\\"Turn on\\\"}}\\n            @processingLabel={{if enabled \\\"Turning on...\\\" \\\"Turning off...\\\"}}\\n            @onClick={{action \\\"toggleStateAndSave\\\"}}\\n            @isDisabled={{save.isRunning}}\\n            data-test-task-bot-action-button={{true}}\\n          />\\n        {{/if}}\\n      </div>\\n    {{/if}}\\n  {{/if}}\\n</Paywall>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Paywall @featureKey={{@feature}} as |paywall|>\\n  {{#if (and @feature paywall.isActive)}}\\n    <paywall.Hover>\\n      <div class=\\\"u__mt__5\\\">\\n        <IcButton\\n          @type=\\\"primary-live\\\"\\n          @disabled={{true}}\\n          data-test-task-bot-upgrade-button={{true}}\\n        >\\n          Turn on\\n        </IcButton>\\n      </div>\\n    </paywall.Hover>\\n  {{else}}\\n    {{#if (and @allowSaving (not save.isRunning))}}\\n      <Common::AccordionComponent::BodyButtonAction\\n        @model={{@model}}\\n        @saveButtonType=\\\"primary-live\\\"\\n        @classNames={{undefined}}\\n        @context=\\\"Task Bot settings\\\"\\n        @saveLabel=\\\"Save and turn on\\\"\\n        @allowSaving={{true}}\\n        @body={{@body}}\\n        @customSaveAction={{action \\\"enableValidateAndSave\\\"}}\\n        @paywallFeature={{@feature}}\\n      />\\n    {{else}}\\n      <div class=\\\"u__mt__5\\\">\\n        {{#if (eq enabled undefined)}}\\n          <IcButton\\n            @type=\\\"secondary\\\"\\n            @label=\\\"Close\\\"\\n            @onClick={{action (optional body.accordionAPI.closeSection)}}\\n            data-test-task-bot-close-button={{true}}\\n          />\\n        {{else}}\\n          <IcButton\\n            @type={{if\\n              (xor enabled (not @model.hasDirtyAttributes))\\n              \\\"primary-live\\\"\\n              \\\"secondary\\\"\\n            }}\\n            @label={{if enabled \\\"Turn this task off\\\" \\\"Turn on\\\"}}\\n            @processingLabel={{if enabled \\\"Turning on...\\\" \\\"Turning off...\\\"}}\\n            @onClick={{action \\\"toggleStateAndSave\\\"}}\\n            @isDisabled={{save.isRunning}}\\n            data-test-task-bot-action-button={{true}}\\n          />\\n        {{/if}}\\n      </div>\\n    {{/if}}\\n  {{/if}}\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/task-bots/action-button-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/action-button-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport defaultTo from '@intercom/embercom-core/lib/default-to';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  permissionsService: service(),\n  classNames: ['layout__box', 'u__mt__20'],\n  beforeSave: defaultTo(() => true),\n  afterSave: defaultTo(() => {}),\n  feature: defaultTo(null),\n\n  save: task(function*() {\n    this.beforeSave();\n    yield this.permissionsService.checkPermission('can_create_and_edit_bots');\n    try {\n      yield this.model.save();\n      this.afterSave();\n      this.trackTaskSaved();\n      this.notificationsService.notifyConfirmation('Your Task Bot settings have been updated');\n    } catch (error) {\n      this.notificationsService.notifyResponseError(error, {\n        default: 'Your Task Bot settings have not been updated. Please try later',\n      });\n    }\n  }),\n\n  validateAndSave() {\n    if (this.get('model.isValid')) {\n      return this.save.perform();\n    } else {\n      this.notificationsService.notifyError(this.get('model.validations.message'));\n    }\n  },\n\n  trackTaskSaved() {\n    let action = this.enabled ? 'turned_on' : 'turned_off';\n    this.intercomEventService.trackAnalyticsEvent({\n      action,\n      object: this.body.accordionAPI.sectionName,\n      place: 'task_bot_settings',\n    });\n  },\n\n  actions: {\n    toggleStateAndSave() {\n      this.toggleProperty('enabled');\n      return this.validateAndSave();\n    },\n\n    enableValidateAndSave() {\n      if (this.enabled !== undefined) {\n        this.set('enabled', true);\n      }\n      return this.validateAndSave();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<TaskBots::PanelWrapper>\\n  <div>\\n    When a {{@userRole}} replies with 😞 on an article in your Help Center, Operator will follow up and open a conversation so you can offer more help.\\n  </div>\\n  <TaskBots::ActionButtonComponent\\n    @model={{@articleAutoReaction}}\\n    @body={{@body}}\\n    @allowSaving={{@articleAutoReaction.hasDirtyAttributes}}\\n    @feature=\\\"help_center\\\"\\n    @enabled={{@enabled}}\\n  />\\n</TaskBots::PanelWrapper>\\n\", {\"contents\":\"<TaskBots::PanelWrapper>\\n  <div>\\n    When a {{@userRole}} replies with 😞 on an article in your Help Center, Operator will follow up and open a conversation so you can offer more help.\\n  </div>\\n  <TaskBots::ActionButtonComponent\\n    @model={{@articleAutoReaction}}\\n    @body={{@body}}\\n    @allowSaving={{@articleAutoReaction.hasDirtyAttributes}}\\n    @feature=\\\"help_center\\\"\\n    @enabled={{@enabled}}\\n  />\\n</TaskBots::PanelWrapper>\\n\",\"moduleName\":\"embercom/components/task-bots/article-auto-reaction.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/article-auto-reaction.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<TaskBots::PanelWrapper>\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-vertically\\\">\\n    <div>\\n      <div class=\\\"u__mb__10\\\">\\n        Give your team the best chance to help users with your articles.\\n        Operator will suggest relevant articles to you &mdash; you can then choose\\n        if it's the right time to send the article.\\n      </div>\\n      <div class=\\\"u__mb__20\\\">\\n        <b>\\n          Trigger:\\n        </b>\\n        When a user or lead asks a question.\\n      </div>\\n      <div class=\\\"t__light-text u__mb__20\\\">\\n        Operator will suggest articles to you in the inbox. It won’t send them to customers directly\\n      </div>\\n      <div\\n        class=\\\"t__light-text\\\"\\n        data-test-article-suggestions-inbox-feature-prompt\\n      >\\n        {{#unless\\n          (and (has-feature \\\"hasEmbeddedArticles\\\") (has-feature \\\"canUseInbox\\\"))\\n        }}\\n          Works with:\\n          <div class=\\\"flex flex-col gap-2 pl-4 pt-2\\\">\\n            <div data-test-paywall-for-articles>\\n              <Paywall\\n                @featureKey=\\\"embedded_articles\\\"\\n\\n                as |paywall|\\n              >\\n                Articles<paywall.Badge />\\n              </Paywall>\\n            </div>\\n            <div data-test-paywall-for-inbox>\\n              <Paywall\\n                @featureKey=\\\"inbox\\\"\\n                as |paywall|\\n              >\\n                Inbox<paywall.Badge />\\n              </Paywall>\\n            </div>\\n          </div>\\n        {{/unless}}\\n      </div>\\n    </div>\\n  </div>\\n</TaskBots::PanelWrapper>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n<TaskBots::PanelWrapper>\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-vertically\\\">\\n    <div>\\n      <div class=\\\"u__mb__10\\\">\\n        Give your team the best chance to help users with your articles.\\n        Operator will suggest relevant articles to you &mdash; you can then choose\\n        if it's the right time to send the article.\\n      </div>\\n      <div class=\\\"u__mb__20\\\">\\n        <b>\\n          Trigger:\\n        </b>\\n        When a user or lead asks a question.\\n      </div>\\n      <div class=\\\"t__light-text u__mb__20\\\">\\n        Operator will suggest articles to you in the inbox. It won’t send them to customers directly\\n      </div>\\n      <div\\n        class=\\\"t__light-text\\\"\\n        data-test-article-suggestions-inbox-feature-prompt\\n      >\\n        {{#unless\\n          (and (has-feature \\\"hasEmbeddedArticles\\\") (has-feature \\\"canUseInbox\\\"))\\n        }}\\n          Works with:\\n          <div class=\\\"flex flex-col gap-2 pl-4 pt-2\\\">\\n            <div data-test-paywall-for-articles>\\n              <Paywall\\n                @featureKey=\\\"embedded_articles\\\"\\n\\n                as |paywall|\\n              >\\n                Articles<paywall.Badge />\\n              </Paywall>\\n            </div>\\n            <div data-test-paywall-for-inbox>\\n              <Paywall\\n                @featureKey=\\\"inbox\\\"\\n                as |paywall|\\n              >\\n                Inbox<paywall.Badge />\\n              </Paywall>\\n            </div>\\n          </div>\\n        {{/unless}}\\n      </div>\\n    </div>\\n  </div>\\n</TaskBots::PanelWrapper>\\n\",\"moduleName\":\"embercom/components/task-bots/article-suggestions-inbox.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/article-suggestions-inbox.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<TaskBots::PanelWrapper>\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-vertically\\\">\\n    <div>\\n      <div class=\\\"u__mb__10\\\">\\n        Operator will send any article from your Help Center that is relevant to answer the customer’s question (only if there is any relevant article).\\n      </div>\\n      <div class=\\\"u__mb__10\\\">\\n        The conversation will be automatically closed if the customer confirms they found their answer in the article.\\n      </div>\\n      <div class=\\\"u__mb__10\\\">\\n        <b>\\n          Note:\\n        </b>\\n        <div data-test-selector-language-warning>\\n          {{ic-interface-icon \\\"chat-bubble\\\"}} Only sent to English speakers\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n  <TaskBots::ActionButtonComponent\\n    @model={{@articleSuggestions}}\\n    @body={{@body}}\\n    @allowSaving={{@articleSuggestions.hasDirtyAttributes}}\\n    @feature=\\\"help_center\\\"\\n    @enabled={{@enabled}}\\n  />\\n</TaskBots::PanelWrapper>\\n\", {\"contents\":\"<TaskBots::PanelWrapper>\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-vertically\\\">\\n    <div>\\n      <div class=\\\"u__mb__10\\\">\\n        Operator will send any article from your Help Center that is relevant to answer the customer’s question (only if there is any relevant article).\\n      </div>\\n      <div class=\\\"u__mb__10\\\">\\n        The conversation will be automatically closed if the customer confirms they found their answer in the article.\\n      </div>\\n      <div class=\\\"u__mb__10\\\">\\n        <b>\\n          Note:\\n        </b>\\n        <div data-test-selector-language-warning>\\n          {{ic-interface-icon \\\"chat-bubble\\\"}} Only sent to English speakers\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n  <TaskBots::ActionButtonComponent\\n    @model={{@articleSuggestions}}\\n    @body={{@body}}\\n    @allowSaving={{@articleSuggestions.hasDirtyAttributes}}\\n    @feature=\\\"help_center\\\"\\n    @enabled={{@enabled}}\\n  />\\n</TaskBots::PanelWrapper>\\n\",\"moduleName\":\"embercom/components/task-bots/article-suggestions.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/article-suggestions.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<TaskBots::PanelWrapper>\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-vertically\\\">\\n    <div>\\n      <div class=\\\"u__mb__20\\\">\\n        If we don’t already have their contact details, Operator will suggest that customers leave their email address or their phone number to get notified whenever you reply.\\n      </div>\\n      <TaskBots::ContactCollection::RadioForm\\n        @contactCollection={{@contactCollection}}\\n      />\\n      <IcBanner @type=\\\"help\\\">\\n        Alternatively, you can <LinkTo\\n          @route=\\\"apps.app.messenger\\\"\\n          @query={{hash section=\\\"upfrontEmailCollection\\\"}}\\n        >require an email at the beginning of the conversation</LinkTo>, or you can ask for an email in \\\"Qualify leads\\\"'\\n      </IcBanner>\\n    </div>\\n  </div>\\n  <TaskBots::ActionButtonComponent\\n    @model={{@contactCollection}}\\n    @body={{@body}}\\n    @allowSaving={{@contactCollection.hasDirtyAttributes}}\\n    @feature=\\\"messenger\\\"\\n    @enabled={{@contactCollection.enabled}}\\n  />\\n</TaskBots::PanelWrapper>\\n\", {\"contents\":\"<TaskBots::PanelWrapper>\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-vertically\\\">\\n    <div>\\n      <div class=\\\"u__mb__20\\\">\\n        If we don’t already have their contact details, Operator will suggest that customers leave their email address or their phone number to get notified whenever you reply.\\n      </div>\\n      <TaskBots::ContactCollection::RadioForm\\n        @contactCollection={{@contactCollection}}\\n      />\\n      <IcBanner @type=\\\"help\\\">\\n        Alternatively, you can <LinkTo\\n          @route=\\\"apps.app.messenger\\\"\\n          @query={{hash section=\\\"upfrontEmailCollection\\\"}}\\n        >require an email at the beginning of the conversation</LinkTo>, or you can ask for an email in \\\"Qualify leads\\\"'\\n      </IcBanner>\\n    </div>\\n  </div>\\n  <TaskBots::ActionButtonComponent\\n    @model={{@contactCollection}}\\n    @body={{@body}}\\n    @allowSaving={{@contactCollection.hasDirtyAttributes}}\\n    @feature=\\\"messenger\\\"\\n    @enabled={{@contactCollection.enabled}}\\n  />\\n</TaskBots::PanelWrapper>\\n\",\"moduleName\":\"embercom/components/task-bots/contact-collection.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/contact-collection.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  actions: {\n    toggleSmsCollection() {\n      this.toggleProperty('contactCollection.collectSms');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"{{if @disabled \\\"text-gray\\\"}}\\\">\\n  <div>\\n    <label>\\n      <span class=\\\"f__radio-wrapper\\\">\\n        <input\\n          type=\\\"radio\\\"\\n          disabled={{@disabled}}\\n          checked={{not @contactCollection.collectSms}}\\n          onclick={{action (mut @contactCollection.collectSms) false}}\\n          data-test-email-notification-option\\n        />\\n      </span>\\n      <span>\\n        Ask for email only\\n      </span>\\n    </label>\\n  </div>\\n  <div class=\\\"u__mt__10 u__mb__20\\\">\\n    <Paywall\\n      @featureKey=\\\"sms_notifications\\\" as |paywall|\\n    >\\n      <paywall.Hover>\\n        <label class=\\\"f__radio-label u__cf\\\">\\n          <span class=\\\"f__radio-wrapper\\\">\\n            <input\\n              type=\\\"radio\\\"\\n              disabled={{or @disabled (and (not @disabled) paywall.isActive)}}\\n              checked={{@contactCollection.collectSms}}\\n              onclick={{action (mut @contactCollection.collectSms) true}}\\n              data-test-sms-notification-option\\n            />\\n          </span>\\n          <span class=\\\"f__radio-content\\\">\\n            Ask for email or mobile number\\n          </span>\\n        </label>\\n      </paywall.Hover>\\n    </Paywall>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"{{if @disabled \\\"text-gray\\\"}}\\\">\\n  <div>\\n    <label>\\n      <span class=\\\"f__radio-wrapper\\\">\\n        <input\\n          type=\\\"radio\\\"\\n          disabled={{@disabled}}\\n          checked={{not @contactCollection.collectSms}}\\n          onclick={{action (mut @contactCollection.collectSms) false}}\\n          data-test-email-notification-option\\n        />\\n      </span>\\n      <span>\\n        Ask for email only\\n      </span>\\n    </label>\\n  </div>\\n  <div class=\\\"u__mt__10 u__mb__20\\\">\\n    <Paywall\\n      @featureKey=\\\"sms_notifications\\\" as |paywall|\\n    >\\n      <paywall.Hover>\\n        <label class=\\\"f__radio-label u__cf\\\">\\n          <span class=\\\"f__radio-wrapper\\\">\\n            <input\\n              type=\\\"radio\\\"\\n              disabled={{or @disabled (and (not @disabled) paywall.isActive)}}\\n              checked={{@contactCollection.collectSms}}\\n              onclick={{action (mut @contactCollection.collectSms) true}}\\n              data-test-sms-notification-option\\n            />\\n          </span>\\n          <span class=\\\"f__radio-content\\\">\\n            Ask for email or mobile number\\n          </span>\\n        </label>\\n      </paywall.Hover>\\n    </Paywall>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/task-bots/contact-collection/radio-form.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/contact-collection/radio-form.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<TaskBots::PanelWrapper>\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-vertically\\\">\\n    <div>\\n      <div class=\\\"u__mb__20\\\">\\n        Whenever a teammate closes a conversation, Operator will ask customers for a rating and a few comments on their experience.\\n      </div>\\n    </div>\\n  </div>\\n  <TaskBots::ActionButtonComponent\\n    @model={{@conversationRating}}\\n    @body={{@body}}\\n    @allowSaving={{@conversationRating.hasDirtyAttributes}}\\n    @feature=\\\"conversation_ratings\\\"\\n    @enabled={{@enabled}}\\n  />\\n</TaskBots::PanelWrapper>\\n\", {\"contents\":\"<TaskBots::PanelWrapper>\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-vertically\\\">\\n    <div>\\n      <div class=\\\"u__mb__20\\\">\\n        Whenever a teammate closes a conversation, Operator will ask customers for a rating and a few comments on their experience.\\n      </div>\\n    </div>\\n  </div>\\n  <TaskBots::ActionButtonComponent\\n    @model={{@conversationRating}}\\n    @body={{@body}}\\n    @allowSaving={{@conversationRating.hasDirtyAttributes}}\\n    @feature=\\\"conversation_ratings\\\"\\n    @enabled={{@enabled}}\\n  />\\n</TaskBots::PanelWrapper>\\n\",\"moduleName\":\"embercom/components/task-bots/conversation-rating.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/conversation-rating.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<TaskBots::PanelWrapper>\\n  <div>\\n    <TaskBots::ConversationRouting::Settings\\n      @conversationRouting={{@conversationRouting}}\\n    />\\n    <TaskBots::ActionButtonComponent\\n      @model={{@conversationRouting}}\\n      @body={{@body}}\\n      @allowSaving={{@conversationRouting.hasDirtyAttributes}}\\n      @feature=\\\"conversation_routing\\\"\\n      @enabled={{@conversationRouting.enabled}}\\n    />\\n  </div>\\n</TaskBots::PanelWrapper>\\n\", {\"contents\":\"<TaskBots::PanelWrapper>\\n  <div>\\n    <TaskBots::ConversationRouting::Settings\\n      @conversationRouting={{@conversationRouting}}\\n    />\\n    <TaskBots::ActionButtonComponent\\n      @model={{@conversationRouting}}\\n      @body={{@body}}\\n      @allowSaving={{@conversationRouting.hasDirtyAttributes}}\\n      @feature=\\\"conversation_routing\\\"\\n      @enabled={{@conversationRouting.enabled}}\\n    />\\n  </div>\\n</TaskBots::PanelWrapper>\\n\",\"moduleName\":\"embercom/components/task-bots/conversation-routing.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/conversation-routing.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"{{if @disabled \\\"text-gray o__disabled\\\"}}\\\">\\n  <p class=\\\"pb-4\\\">\\n    Route leads to the right people by asking if they are an existing customer when they start a new conversation.\\n  </p>\\n  <p>\\n    What do you want to do when they choose \\\"Yes, I'm a customer\\\"?\\n  </p>\\n  <div class=\\\"u__mt__10\\\">\\n    <label>\\n      <span class=\\\"f__radio-wrapper\\\">\\n        <input\\n          type=\\\"radio\\\"\\n          checked={{not @conversationRouting.redirectEnabled}}\\n          onclick={{action (mut @conversationRouting.redirectEnabled) false}}\\n          data-test-conversation-routing-type=\\\"assign\\\"\\n          disabled={{@disabled}}\\n        />\\n      </span>\\n      <span>\\n        Assign the conversation\\n      </span>\\n    </label>\\n    {{#if (not @conversationRouting.redirectEnabled)}}\\n      <div\\n        data-test-conversation-routing-admin-picker\\n        class=\\\"u__padl__20 u__padb__10 u__mt__10 layout__box o__has-columns o__centers-vertically\\\"\\n      >\\n        <div class=\\\"u__mr__5\\\">\\n          To:\\n        </div>\\n        <Admin::NewSelector\\n          @assignees={{app.assignableAdminsWithoutUnassigned}}\\n          @selectedValue={{@conversationRouting.assigneeId}}\\n          @showRemoveAdmin={{true}}\\n          @showTeams={{true}}\\n          @onSelectItem={{action (mut @conversationRouting.assigneeId)}}\\n          @readOnly={{@disabled}}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"u__mt__10\\\">\\n    <label>\\n      <span class=\\\"f__radio-wrapper\\\">\\n        <input\\n          type=\\\"radio\\\"\\n          checked={{@conversationRouting.redirectEnabled}}\\n          onclick={{action (mut @conversationRouting.redirectEnabled) true}}\\n          data-test-conversation-routing-type=\\\"redirect\\\"\\n          disabled={{@disabled}}\\n        />\\n      </span>\\n      <span>\\n        Close the conversation\\n      </span>\\n    </label>\\n    {{#if @conversationRouting.redirectEnabled}}\\n      <div class=\\\"u__padl__20 u__padb__10\\\">\\n        <div class=\\\"u__mt__10 u__mb__5\\\">\\n          Offer at least one alternative channel to the customer before closing the conversation:\\n        </div>\\n        <div class=\\\"u__mt__5\\\">\\n          <span class=\\\"operator__settings__routing-contact-label\\\">\\n            Email\\n          </span>\\n          <input\\n            value={{@conversationRouting.redirectEmail}}\\n            oninput={{action\\n              (mut @conversationRouting.redirectEmail)\\n              value=\\\"target.value\\\"\\n            }}\\n            type=\\\"email\\\"\\n            class=\\\"f__text operator__settings__routing-contact-field\\\"\\n            placeholder=\\\"support@example.com\\\"\\n            disabled={{@disabled}}\\n            data-test-email-field\\n          />\\n        </div>\\n        <div class=\\\"u__mt__5\\\">\\n          <span class=\\\"operator__settings__routing-contact-label\\\">\\n            URL\\n          </span>\\n          <input\\n            value={{@conversationRouting.redirectUrl}}\\n            oninput={{action\\n              (mut @conversationRouting.redirectUrl)\\n              value=\\\"target.value\\\"\\n            }}\\n            class=\\\"f__text operator__settings__routing-contact-field\\\"\\n            placeholder=\\\"http://example.com/support\\\"\\n            disabled={{@disabled}}\\n            data-test-url-field\\n          />\\n        </div>\\n        <div class=\\\"u__mt__5\\\">\\n          <span class=\\\"operator__settings__routing-contact-label\\\">\\n            Phone\\n          </span>\\n          <input\\n            value={{@conversationRouting.redirectPhone}}\\n            oninput={{action\\n              (mut @conversationRouting.redirectPhone)\\n              value=\\\"target.value\\\"\\n            }}\\n            class=\\\"f__text operator__settings__routing-contact-field\\\"\\n            placeholder=\\\"+1-202-555-0131\\\"\\n            disabled={{@disabled}}\\n            data-test-phone-field\\n          />\\n        </div>\\n      </div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"u__mt__10\\\">\\n    Note:\\n  </div>\\n  <span class=\\\"u__mt__5\\\">\\n    {{ic-interface-icon \\\"chat-bubble\\\"}} Only sent to English speakers\\n  </span>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"{{if @disabled \\\"text-gray o__disabled\\\"}}\\\">\\n  <p class=\\\"pb-4\\\">\\n    Route leads to the right people by asking if they are an existing customer when they start a new conversation.\\n  </p>\\n  <p>\\n    What do you want to do when they choose \\\"Yes, I'm a customer\\\"?\\n  </p>\\n  <div class=\\\"u__mt__10\\\">\\n    <label>\\n      <span class=\\\"f__radio-wrapper\\\">\\n        <input\\n          type=\\\"radio\\\"\\n          checked={{not @conversationRouting.redirectEnabled}}\\n          onclick={{action (mut @conversationRouting.redirectEnabled) false}}\\n          data-test-conversation-routing-type=\\\"assign\\\"\\n          disabled={{@disabled}}\\n        />\\n      </span>\\n      <span>\\n        Assign the conversation\\n      </span>\\n    </label>\\n    {{#if (not @conversationRouting.redirectEnabled)}}\\n      <div\\n        data-test-conversation-routing-admin-picker\\n        class=\\\"u__padl__20 u__padb__10 u__mt__10 layout__box o__has-columns o__centers-vertically\\\"\\n      >\\n        <div class=\\\"u__mr__5\\\">\\n          To:\\n        </div>\\n        <Admin::NewSelector\\n          @assignees={{app.assignableAdminsWithoutUnassigned}}\\n          @selectedValue={{@conversationRouting.assigneeId}}\\n          @showRemoveAdmin={{true}}\\n          @showTeams={{true}}\\n          @onSelectItem={{action (mut @conversationRouting.assigneeId)}}\\n          @readOnly={{@disabled}}\\n        />\\n      </div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"u__mt__10\\\">\\n    <label>\\n      <span class=\\\"f__radio-wrapper\\\">\\n        <input\\n          type=\\\"radio\\\"\\n          checked={{@conversationRouting.redirectEnabled}}\\n          onclick={{action (mut @conversationRouting.redirectEnabled) true}}\\n          data-test-conversation-routing-type=\\\"redirect\\\"\\n          disabled={{@disabled}}\\n        />\\n      </span>\\n      <span>\\n        Close the conversation\\n      </span>\\n    </label>\\n    {{#if @conversationRouting.redirectEnabled}}\\n      <div class=\\\"u__padl__20 u__padb__10\\\">\\n        <div class=\\\"u__mt__10 u__mb__5\\\">\\n          Offer at least one alternative channel to the customer before closing the conversation:\\n        </div>\\n        <div class=\\\"u__mt__5\\\">\\n          <span class=\\\"operator__settings__routing-contact-label\\\">\\n            Email\\n          </span>\\n          <input\\n            value={{@conversationRouting.redirectEmail}}\\n            oninput={{action\\n              (mut @conversationRouting.redirectEmail)\\n              value=\\\"target.value\\\"\\n            }}\\n            type=\\\"email\\\"\\n            class=\\\"f__text operator__settings__routing-contact-field\\\"\\n            placeholder=\\\"support@example.com\\\"\\n            disabled={{@disabled}}\\n            data-test-email-field\\n          />\\n        </div>\\n        <div class=\\\"u__mt__5\\\">\\n          <span class=\\\"operator__settings__routing-contact-label\\\">\\n            URL\\n          </span>\\n          <input\\n            value={{@conversationRouting.redirectUrl}}\\n            oninput={{action\\n              (mut @conversationRouting.redirectUrl)\\n              value=\\\"target.value\\\"\\n            }}\\n            class=\\\"f__text operator__settings__routing-contact-field\\\"\\n            placeholder=\\\"http://example.com/support\\\"\\n            disabled={{@disabled}}\\n            data-test-url-field\\n          />\\n        </div>\\n        <div class=\\\"u__mt__5\\\">\\n          <span class=\\\"operator__settings__routing-contact-label\\\">\\n            Phone\\n          </span>\\n          <input\\n            value={{@conversationRouting.redirectPhone}}\\n            oninput={{action\\n              (mut @conversationRouting.redirectPhone)\\n              value=\\\"target.value\\\"\\n            }}\\n            class=\\\"f__text operator__settings__routing-contact-field\\\"\\n            placeholder=\\\"+1-202-555-0131\\\"\\n            disabled={{@disabled}}\\n            data-test-phone-field\\n          />\\n        </div>\\n      </div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"u__mt__10\\\">\\n    Note:\\n  </div>\\n  <span class=\\\"u__mt__5\\\">\\n    {{ic-interface-icon \\\"chat-bubble\\\"}} Only sent to English speakers\\n  </span>\\n</div>\\n\",\"moduleName\":\"embercom/components/task-bots/conversation-routing/settings.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/conversation-routing/settings.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<TaskBots::PanelWrapper>\\n  <div class=\\\"flex flex-col gap-4\\\">\\n    <Paragraph>\\n      Avoid teammates spending time working on the same issue. Operator will let you know if the user or lead has other conversations with activity in the last 10 hours.\\n    </Paragraph>\\n\\n    <Paragraph>\\n      <Text @styling='strong'>Trigger:</Text> When a user or lead starts a new inbound conversation or replies to an outbound conversation.\\n    </Paragraph>\\n  </div>\\n\\n  <TaskBots::ActionButtonComponent\\n    @model={{@setting}}\\n    @body={{@body}}\\n    @allowSaving={{@setting.hasDirtyAttributes}}\\n    @enabled={{@enabled}}\\n    @feature=\\\"duplicate_conversations_bot\\\"\\n  />\\n</TaskBots::PanelWrapper>\\n\", {\"contents\":\"<TaskBots::PanelWrapper>\\n  <div class=\\\"flex flex-col gap-4\\\">\\n    <Paragraph>\\n      Avoid teammates spending time working on the same issue. Operator will let you know if the user or lead has other conversations with activity in the last 10 hours.\\n    </Paragraph>\\n\\n    <Paragraph>\\n      <Text @styling='strong'>Trigger:</Text> When a user or lead starts a new inbound conversation or replies to an outbound conversation.\\n    </Paragraph>\\n  </div>\\n\\n  <TaskBots::ActionButtonComponent\\n    @model={{@setting}}\\n    @body={{@body}}\\n    @allowSaving={{@setting.hasDirtyAttributes}}\\n    @enabled={{@enabled}}\\n    @feature=\\\"duplicate_conversations_bot\\\"\\n  />\\n</TaskBots::PanelWrapper>\\n\",\"moduleName\":\"embercom/components/task-bots/detect-duplicate-conversations.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/detect-duplicate-conversations.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<TaskBots::PanelWrapper>\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-vertically\\\">\\n    <div>\\n      <div class=\\\"u__mb__10\\\">\\n        Stay informed about issues related to your conversations.\\n        Operator keeps you updated with private notes so you can see updates in context.\\n      </div>\\n      <div class=\\\"u__mb__10\\\">\\n        <Paywall\\n          @featureKey=\\\"github_integration\\\" as |paywall|\\n        >\\n          <paywall.Hover>\\n            <a\\n              data-test-operator-github-link\\n              onClick={{action \\\"transitionToGithub\\\"}}\\n            >\\n              {{#if gitHubEnabled}}\\n                Manage the Github app\\n              {{else}}\\n                  Get the GitHub app\\n              {{/if}}\\n            </a>\\n          </paywall.Hover>\\n        </Paywall>\\n      </div>\\n      <div class=\\\"u__mb__20\\\">\\n        <b>\\n          Trigger:\\n        </b>\\n        When a GitHub issue is opened or has a status change\\n      </div>\\n    </div>\\n  </div>\\n</TaskBots::PanelWrapper>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<TaskBots::PanelWrapper>\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-vertically\\\">\\n    <div>\\n      <div class=\\\"u__mb__10\\\">\\n        Stay informed about issues related to your conversations.\\n        Operator keeps you updated with private notes so you can see updates in context.\\n      </div>\\n      <div class=\\\"u__mb__10\\\">\\n        <Paywall\\n          @featureKey=\\\"github_integration\\\" as |paywall|\\n        >\\n          <paywall.Hover>\\n            <a\\n              data-test-operator-github-link\\n              onClick={{action \\\"transitionToGithub\\\"}}\\n            >\\n              {{#if gitHubEnabled}}\\n                Manage the Github app\\n              {{else}}\\n                  Get the GitHub app\\n              {{/if}}\\n            </a>\\n          </paywall.Hover>\\n        </Paywall>\\n      </div>\\n      <div class=\\\"u__mb__20\\\">\\n        <b>\\n          Trigger:\\n        </b>\\n        When a GitHub issue is opened or has a status change\\n      </div>\\n    </div>\\n  </div>\\n</TaskBots::PanelWrapper>\\n\",\"moduleName\":\"embercom/components/task-bots/github-updates.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/github-updates.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  router: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  gitHubEnabled: readOnly('app.hasEnabledGithubIntegration'),\n\n  actions: {\n    transitionToGithub() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'link_to_github_settings',\n      });\n      return this.router.transitionTo('apps.app.appstore.index', {\n        queryParams: {\n          app_package_code: 'github',\n        },\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessengerPreview::TranslationLoaderWrapper @locale={{@configuration.locale}}>\\n  <MessengerPreview::Styles @configuration={{@configuration}} />\\n  <AppFramework::MessengerApps::Styles\\n    @containerSelector=\\\".messenger-preview__conversation\\\"\\n    @baseColor={{@configuration.appColors.link_color}}\\n  />\\n  <div\\n    class=\\\"messenger-preview__home__container layout__box o__has-rows o__flexes-to-1\\\"\\n  >\\n    <MessengerPreview::Conversation::Header\\n      @configuration={{@configuration}}\\n      @admin={{admin}}\\n      @newConversation={{not viewingConversationRatingTask}}\\n      @collapsed={{true}}\\n    />\\n    <div\\n      class=\\\"{{scrollingContainerClass}} layout__box o__has-rows o__flexes-to-1\\\"\\n    >\\n      <MessengerPreview::Stream as |stream|>\\n        {{#each @previewableTasks as |task|}}\\n          {{#if (has-next task false @previewableTasks)}}\\n            {{component\\n              (concat \\\"task-bots/previews/\\\" task)\\n              settings=@settings\\n              completed=true\\n              stream=stream\\n              app=app\\n              admin=admin\\n              configuration=@configuration\\n            }}\\n          {{else}}\\n            {{component\\n              (concat \\\"task-bots/previews/\\\" task)\\n              settings=@settings\\n              completed=false\\n              isPreviewingTask=(not (eq @openSectionName undefined))\\n              stream=stream\\n              app=app\\n              admin=admin\\n              configuration=@configuration\\n            }}\\n          {{/if}}\\n        {{/each}}\\n      </MessengerPreview::Stream>\\n    </div>\\n    <MessengerPreview::Composer />\\n  </div>\\n  <MessengerPreview::Launcher\\n    @configuration={{@configuration}}\\n    @messengerIsOpen={{true}}\\n  />\\n</MessengerPreview::TranslationLoaderWrapper>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessengerPreview::TranslationLoaderWrapper @locale={{@configuration.locale}}>\\n  <MessengerPreview::Styles @configuration={{@configuration}} />\\n  <AppFramework::MessengerApps::Styles\\n    @containerSelector=\\\".messenger-preview__conversation\\\"\\n    @baseColor={{@configuration.appColors.link_color}}\\n  />\\n  <div\\n    class=\\\"messenger-preview__home__container layout__box o__has-rows o__flexes-to-1\\\"\\n  >\\n    <MessengerPreview::Conversation::Header\\n      @configuration={{@configuration}}\\n      @admin={{admin}}\\n      @newConversation={{not viewingConversationRatingTask}}\\n      @collapsed={{true}}\\n    />\\n    <div\\n      class=\\\"{{scrollingContainerClass}} layout__box o__has-rows o__flexes-to-1\\\"\\n    >\\n      <MessengerPreview::Stream as |stream|>\\n        {{#each @previewableTasks as |task|}}\\n          {{#if (has-next task false @previewableTasks)}}\\n            {{component\\n              (concat \\\"task-bots/previews/\\\" task)\\n              settings=@settings\\n              completed=true\\n              stream=stream\\n              app=app\\n              admin=admin\\n              configuration=@configuration\\n            }}\\n          {{else}}\\n            {{component\\n              (concat \\\"task-bots/previews/\\\" task)\\n              settings=@settings\\n              completed=false\\n              isPreviewingTask=(not (eq @openSectionName undefined))\\n              stream=stream\\n              app=app\\n              admin=admin\\n              configuration=@configuration\\n            }}\\n          {{/if}}\\n        {{/each}}\\n      </MessengerPreview::Stream>\\n    </div>\\n    <MessengerPreview::Composer />\\n  </div>\\n  <MessengerPreview::Launcher\\n    @configuration={{@configuration}}\\n    @messengerIsOpen={{true}}\\n  />\\n</MessengerPreview::TranslationLoaderWrapper>\\n\",\"moduleName\":\"embercom/components/task-bots/messenger-preview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/messenger-preview.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly, and } from '@ember/object/computed';\nimport { includes } from '@intercom/embercom-core/lib/computed-properties';\nimport $ from 'jquery';\n\nexport default Component.extend({\n  classNames: [\n    'messenger-preview__conversation',\n    'layout__box',\n    'o__has-rows',\n    'messenger-settings__preview__sticky',\n  ],\n  scrollingContainerClass: 'messenger-preview__home__scrolling-area',\n\n  appService: service(),\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n\n  viewingConversationRatingTask: and('openSectionName', 'openSectionIsConversationRating'),\n  openSectionIsConversationRating: includes('openSectionName', 'conversation-rating'),\n\n  didUpdateAttrs() {\n    this._super(...arguments);\n    let scrollingContainer = $(`.${this.scrollingContainerClass}`);\n    if (this.openSectionName) {\n      scrollingContainer.animate({ scrollTop: scrollingContainer[0].scrollHeight }, 1000);\n    } else {\n      scrollingContainer.animate({ scrollTop: 0 }, 1000);\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__has-columns\\\">\\n  <div\\n    class=\\\"operator__settings__panel-wrapper__content layout__box o__has-rows o__flexes-to-1\\\"\\n  >\\n    {{yield}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__has-columns\\\">\\n  <div\\n    class=\\\"operator__settings__panel-wrapper__content layout__box o__has-rows o__flexes-to-1\\\"\\n  >\\n    {{yield}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/task-bots/panel-wrapper.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/panel-wrapper.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<TaskBots::Previews::ArticleAutoReaction\\n  @enabled={{@settings.articleAutoReaction.enabledForLeads}}\\n  @isPreviewingTask={{@isPreviewingTask}}\\n  @stream={{@stream}}\\n  @admin={{@admin}}\\n/>\\n\", {\"contents\":\"<TaskBots::Previews::ArticleAutoReaction\\n  @enabled={{@settings.articleAutoReaction.enabledForLeads}}\\n  @isPreviewingTask={{@isPreviewingTask}}\\n  @stream={{@stream}}\\n  @admin={{@admin}}\\n/>\\n\",\"moduleName\":\"embercom/components/task-bots/previews/article-auto-reaction-leads.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/previews/article-auto-reaction-leads.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<TaskBots::Previews::ArticleAutoReaction\\n  @enabled={{@settings.articleAutoReaction.enabledForUsers}}\\n  @isPreviewingTask={{@isPreviewingTask}}\\n  @stream={{@stream}}\\n  @admin={{@admin}}\\n/>\\n\", {\"contents\":\"<TaskBots::Previews::ArticleAutoReaction\\n  @enabled={{@settings.articleAutoReaction.enabledForUsers}}\\n  @isPreviewingTask={{@isPreviewingTask}}\\n  @stream={{@stream}}\\n  @admin={{@admin}}\\n/>\\n\",\"moduleName\":\"embercom/components/task-bots/previews/article-auto-reaction-users.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/previews/article-auto-reaction-users.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (or @isPreviewingTask @enabled)}}\\n  <div data-test-task-bot-preview=\\\"article-auto-reaction\\\">\\n    <div class=\\\"t__light-text u__centered-text-block u__mb__15 u__mt__25\\\">\\n      Asked about\\n    </div>\\n    <@stream.articleCard @admin={{@admin}} />\\n    <@stream.operatorPart as |operatorPart|>\\n      <operatorPart.comment>\\n        Sorry that didn't have the answer you needed\\n      </operatorPart.comment>\\n      <operatorPart.comment>\\n        If you'd like, you can ask the team for help here.\\n      </operatorPart.comment>\\n    </@stream.operatorPart>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if (or @isPreviewingTask @enabled)}}\\n  <div data-test-task-bot-preview=\\\"article-auto-reaction\\\">\\n    <div class=\\\"t__light-text u__centered-text-block u__mb__15 u__mt__25\\\">\\n      Asked about\\n    </div>\\n    <@stream.articleCard @admin={{@admin}} />\\n    <@stream.operatorPart as |operatorPart|>\\n      <operatorPart.comment>\\n        Sorry that didn't have the answer you needed\\n      </operatorPart.comment>\\n      <operatorPart.comment>\\n        If you'd like, you can ask the team for help here.\\n      </operatorPart.comment>\\n    </@stream.operatorPart>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/task-bots/previews/article-auto-reaction.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/previews/article-auto-reaction.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (or @isPreviewingTask @settings.articleSuggestions.enabledForLeads)}}\\n  <div data-test-task-bot-preview=\\\"article-suggestions-leads\\\">\\n    <@stream.operatorPart as |operatorPart|>\\n      <operatorPart.comment>\\n        In the meantime, these articles might help:\\n      </operatorPart.comment>\\n      <operatorPart.article-suggestion-card />\\n    </@stream.operatorPart>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if (or @isPreviewingTask @settings.articleSuggestions.enabledForLeads)}}\\n  <div data-test-task-bot-preview=\\\"article-suggestions-leads\\\">\\n    <@stream.operatorPart as |operatorPart|>\\n      <operatorPart.comment>\\n        In the meantime, these articles might help:\\n      </operatorPart.comment>\\n      <operatorPart.article-suggestion-card />\\n    </@stream.operatorPart>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/task-bots/previews/article-suggestions-leads.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/previews/article-suggestions-leads.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (or @isPreviewingTask @settings.articleSuggestions.enabledForUsers)}}\\n  <div data-test-task-bot-preview=\\\"article-suggestions-users\\\">\\n    <@stream.operatorPart as |operatorPart|>\\n      <operatorPart.comment>\\n        In the meantime, these articles might help:\\n      </operatorPart.comment>\\n      <operatorPart.article-suggestion-card />\\n    </@stream.operatorPart>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if (or @isPreviewingTask @settings.articleSuggestions.enabledForUsers)}}\\n  <div data-test-task-bot-preview=\\\"article-suggestions-users\\\">\\n    <@stream.operatorPart as |operatorPart|>\\n      <operatorPart.comment>\\n        In the meantime, these articles might help:\\n      </operatorPart.comment>\\n      <operatorPart.article-suggestion-card />\\n    </@stream.operatorPart>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/task-bots/previews/article-suggestions-users.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/previews/article-suggestions-users.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  class=\\\"{{unless @completed \\\"layout__box o__flexes-to-1 o__has-rows\\\"}}\\\"\\n  data-test-task-bot-preview=\\\"branching-qualification\\\"\\n>\\n  <div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n    <@stream.operatorPart as |operatorPart|>\\n      {{#if (not @routingEnabled)}}\\n        <operatorPart.comment>\\n          It looks like you're new!\\n        </operatorPart.comment>\\n      {{/if}}\\n      <operatorPart.comment>\\n        {{if\\n          @qualifyLeads.branchingQualification.customQuestion\\n          @qualifyLeads.branchingQualification.customQuestion\\n          \\\"What term best describes who you are or what you're looking for?\\\"\\n        }}\\n      </operatorPart.comment>\\n    </@stream.operatorPart>\\n    {{#if @completed}}\\n      <@stream.userComment>\\n        {{@qualifyLeads.branchingQualification.answers.firstObject.label}}\\n      </@stream.userComment>\\n    {{else}}\\n      <@stream.quickReplies\\n        @replies={{map-by \\\"label\\\" @qualifyLeads.branchingQualification.answers}}\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div\\n  class=\\\"{{unless @completed \\\"layout__box o__flexes-to-1 o__has-rows\\\"}}\\\"\\n  data-test-task-bot-preview=\\\"branching-qualification\\\"\\n>\\n  <div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n    <@stream.operatorPart as |operatorPart|>\\n      {{#if (not @routingEnabled)}}\\n        <operatorPart.comment>\\n          It looks like you're new!\\n        </operatorPart.comment>\\n      {{/if}}\\n      <operatorPart.comment>\\n        {{if\\n          @qualifyLeads.branchingQualification.customQuestion\\n          @qualifyLeads.branchingQualification.customQuestion\\n          \\\"What term best describes who you are or what you're looking for?\\\"\\n        }}\\n      </operatorPart.comment>\\n    </@stream.operatorPart>\\n    {{#if @completed}}\\n      <@stream.userComment>\\n        {{@qualifyLeads.branchingQualification.answers.firstObject.label}}\\n      </@stream.userComment>\\n    {{else}}\\n      <@stream.quickReplies\\n        @replies={{map-by \\\"label\\\" @qualifyLeads.branchingQualification.answers}}\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/task-bots/previews/branching-qualification.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/previews/branching-qualification.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (or @isPreviewingTask @settings.contactCollection.enabled)}}\\n  <div data-test-task-bot-preview=\\\"contact-collection\\\">\\n    <@stream.operatorPart as |operatorPart|>\\n      <operatorPart.comment>\\n        Give the team a way to reach you:\\n      </operatorPart.comment>\\n      <operatorPart.notification-collector-card\\n        @configuration={{@configuration}}\\n        @smsIsAvailable={{@settings.contactCollection.collectSms}}\\n      />\\n    </@stream.operatorPart>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if (or @isPreviewingTask @settings.contactCollection.enabled)}}\\n  <div data-test-task-bot-preview=\\\"contact-collection\\\">\\n    <@stream.operatorPart as |operatorPart|>\\n      <operatorPart.comment>\\n        Give the team a way to reach you:\\n      </operatorPart.comment>\\n      <operatorPart.notification-collector-card\\n        @configuration={{@configuration}}\\n        @smsIsAvailable={{@settings.contactCollection.collectSms}}\\n      />\\n    </@stream.operatorPart>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/task-bots/previews/contact-collection.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/previews/contact-collection.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<TaskBots::Previews::ConversationRating\\n  @enabled={{@settings.conversationRating.enabledForLeads}}\\n  @stream={{@stream}}\\n  @admin={{@admin}}\\n  @isPreviewingTask={{@isPreviewingTask}}\\n/>\\n\", {\"contents\":\"<TaskBots::Previews::ConversationRating\\n  @enabled={{@settings.conversationRating.enabledForLeads}}\\n  @stream={{@stream}}\\n  @admin={{@admin}}\\n  @isPreviewingTask={{@isPreviewingTask}}\\n/>\\n\",\"moduleName\":\"embercom/components/task-bots/previews/conversation-rating-leads.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/previews/conversation-rating-leads.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<TaskBots::Previews::ConversationRating\\n  @enabled={{@settings.conversationRating.enabledForUsers}}\\n  @stream={{@stream}}\\n  @admin={{@admin}}\\n  @isPreviewingTask={{@isPreviewingTask}}\\n/>\\n\", {\"contents\":\"<TaskBots::Previews::ConversationRating\\n  @enabled={{@settings.conversationRating.enabledForUsers}}\\n  @stream={{@stream}}\\n  @admin={{@admin}}\\n  @isPreviewingTask={{@isPreviewingTask}}\\n/>\\n\",\"moduleName\":\"embercom/components/task-bots/previews/conversation-rating-users.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/previews/conversation-rating-users.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (or @isPreviewingTask @enabled)}}\\n  <div data-test-task-bot-preview=\\\"conversation-rating\\\">\\n    <@stream.userComment>\\n      Thanks for your help!\\n    </@stream.userComment>\\n    <@stream.adminComment\\n      @text=\\\"Let me know if you have any other questions.\\\"\\n      @admin={{@admin}}\\n    />\\n    <@stream.operatorPart as |operatorPart|>\\n      <operatorPart.comment>\\n        Help {{@admin.first_name}} understand how they're doing:\\n      </operatorPart.comment>\\n      <operatorPart.conversation-rating-card />\\n    </@stream.operatorPart>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if (or @isPreviewingTask @enabled)}}\\n  <div data-test-task-bot-preview=\\\"conversation-rating\\\">\\n    <@stream.userComment>\\n      Thanks for your help!\\n    </@stream.userComment>\\n    <@stream.adminComment\\n      @text=\\\"Let me know if you have any other questions.\\\"\\n      @admin={{@admin}}\\n    />\\n    <@stream.operatorPart as |operatorPart|>\\n      <operatorPart.comment>\\n        Help {{@admin.first_name}} understand how they're doing:\\n      </operatorPart.comment>\\n      <operatorPart.conversation-rating-card />\\n    </@stream.operatorPart>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/task-bots/previews/conversation-rating.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/previews/conversation-rating.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (or @isPreviewingTask @settings.conversationRouting.enabled)}}\\n  <div\\n    class=\\\"{{unless @completed \\\"layout__box o__flexes-to-1 o__has-rows\\\"}}\\\"\\n    data-test-task-bot-preview=\\\"conversation-routing\\\"\\n  >\\n    <div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n      <@stream.operatorPart as |operatorPart|>\\n        <operatorPart.comment>\\n          Are you an existing customer?\\n        </operatorPart.comment>\\n      </@stream.operatorPart>\\n      {{#if @completed}}\\n        <@stream.userComment>\\n          No, I'm not a customer yet\\n        </@stream.userComment>\\n      {{else}}\\n        <@stream.quickReplies\\n          @replies={{array \\\"Yes, I'm a customer\\\" \\\"No, I'm not a customer yet\\\"}}\\n        />\\n      {{/if}}\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if (or @isPreviewingTask @settings.conversationRouting.enabled)}}\\n  <div\\n    class=\\\"{{unless @completed \\\"layout__box o__flexes-to-1 o__has-rows\\\"}}\\\"\\n    data-test-task-bot-preview=\\\"conversation-routing\\\"\\n  >\\n    <div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n      <@stream.operatorPart as |operatorPart|>\\n        <operatorPart.comment>\\n          Are you an existing customer?\\n        </operatorPart.comment>\\n      </@stream.operatorPart>\\n      {{#if @completed}}\\n        <@stream.userComment>\\n          No, I'm not a customer yet\\n        </@stream.userComment>\\n      {{else}}\\n        <@stream.quickReplies\\n          @replies={{array \\\"Yes, I'm a customer\\\" \\\"No, I'm not a customer yet\\\"}}\\n        />\\n      {{/if}}\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/task-bots/previews/conversation-routing.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/previews/conversation-routing.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (or @isPreviewingTask @settings.qualifyLeads.enabled)}}\\n  {{#if (eq @settings.qualifyLeads.qualificationType \\\"default_qualification\\\")}}\\n    <TaskBots::Previews::SimpleQualification\\n      @qualifyLeads={{@settings.qualifyLeads}}\\n      @stream={{@stream}}\\n      @app={{@app}}\\n    />\\n  {{else if\\n    (eq @settings.qualifyLeads.qualificationType \\\"branching_qualification\\\")}}\\n    <TaskBots::Previews::BranchingQualification\\n      @qualifyLeads={{@settings.qualifyLeads}}\\n      @stream={{@stream}}\\n      @app={{@app}}\\n      @completed={{@completed}}\\n      @routingEnabled={{@settings.conversationRouting.enabled}}\\n    />\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{#if (or @isPreviewingTask @settings.qualifyLeads.enabled)}}\\n  {{#if (eq @settings.qualifyLeads.qualificationType \\\"default_qualification\\\")}}\\n    <TaskBots::Previews::SimpleQualification\\n      @qualifyLeads={{@settings.qualifyLeads}}\\n      @stream={{@stream}}\\n      @app={{@app}}\\n    />\\n  {{else if\\n    (eq @settings.qualifyLeads.qualificationType \\\"branching_qualification\\\")}}\\n    <TaskBots::Previews::BranchingQualification\\n      @qualifyLeads={{@settings.qualifyLeads}}\\n      @stream={{@stream}}\\n      @app={{@app}}\\n      @completed={{@completed}}\\n      @routingEnabled={{@settings.conversationRouting.enabled}}\\n    />\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/task-bots/previews/qualify-leads.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/previews/qualify-leads.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-task-bot-preview=\\\"simple-qualification\\\">\\n  <@stream.operatorPart as |operatorPart|>\\n    <operatorPart.comment>\\n      Thanks! A few more details will help assign you to the right person:\\n    </operatorPart.comment>\\n    <operatorPart.form\\n      @qualificationAttributes={{@qualifyLeads.simpleQualification.qualificationAttributes\\n      }}\\n    />\\n  </@stream.operatorPart>\\n</div>\\n\", {\"contents\":\"<div data-test-task-bot-preview=\\\"simple-qualification\\\">\\n  <@stream.operatorPart as |operatorPart|>\\n    <operatorPart.comment>\\n      Thanks! A few more details will help assign you to the right person:\\n    </operatorPart.comment>\\n    <operatorPart.form\\n      @qualificationAttributes={{@qualifyLeads.simpleQualification.qualificationAttributes\\n      }}\\n    />\\n  </@stream.operatorPart>\\n</div>\\n\",\"moduleName\":\"embercom/components/task-bots/previews/simple-qualification.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/previews/simple-qualification.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<TaskBots::Previews::TeamAvailability\\n  @enabled={{@settings.teamAvailability.enabledForLeads}}\\n  @isPreviewingTask={{@isPreviewingTask}}\\n  @stream={{@stream}}\\n  @configuration={{@configuration}}\\n/>\\n\", {\"contents\":\"<TaskBots::Previews::TeamAvailability\\n  @enabled={{@settings.teamAvailability.enabledForLeads}}\\n  @isPreviewingTask={{@isPreviewingTask}}\\n  @stream={{@stream}}\\n  @configuration={{@configuration}}\\n/>\\n\",\"moduleName\":\"embercom/components/task-bots/previews/team-availability-leads.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/previews/team-availability-leads.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div>\\n  <div class=\\\"messenger-preview__task__bot-paragraph\\\">\\n    {{t 'set_expectations_bot_email_header'}}\\n    <br>\\n    <span class=\\\"font-bold\\\">\\n      {{@configuration.operatorResponseForEmail}}\\n    </span>\\n  </div>\\n  {{#if @configuration.hasUnknownResponseTime}}\\n    {{t 'the_team_typically_replies_in_unknown'}}.\\n  {{else}}\\n    <div>\\n      {{t 'conversation_card_reply_time_header'}}\\n      <br>\\n      <span class=\\\"font-bold\\\">\\n        {{@configuration.operatorResponseForExpectation}}\\n      </span>\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div>\\n  <div class=\\\"messenger-preview__task__bot-paragraph\\\">\\n    {{t 'set_expectations_bot_email_header'}}\\n    <br>\\n    <span class=\\\"font-bold\\\">\\n      {{@configuration.operatorResponseForEmail}}\\n    </span>\\n  </div>\\n  {{#if @configuration.hasUnknownResponseTime}}\\n    {{t 'the_team_typically_replies_in_unknown'}}.\\n  {{else}}\\n    <div>\\n      {{t 'conversation_card_reply_time_header'}}\\n      <br>\\n      <span class=\\\"font-bold\\\">\\n        {{@configuration.operatorResponseForExpectation}}\\n      </span>\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/task-bots/previews/team-availability-setting-expectation.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/previews/team-availability-setting-expectation.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<TaskBots::Previews::TeamAvailability\\n  @enabled={{@settings.teamAvailability.enabledForUsers}}\\n  @isPreviewingTask={{@isPreviewingTask}}\\n  @stream={{@stream}}\\n  @configuration={{@configuration}}\\n/>\\n\", {\"contents\":\"<TaskBots::Previews::TeamAvailability\\n  @enabled={{@settings.teamAvailability.enabledForUsers}}\\n  @isPreviewingTask={{@isPreviewingTask}}\\n  @stream={{@stream}}\\n  @configuration={{@configuration}}\\n/>\\n\",\"moduleName\":\"embercom/components/task-bots/previews/team-availability-users.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/previews/team-availability-users.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (or @isPreviewingTask @enabled)}}\\n  <div data-test-task-bot-preview=\\\"team-availability\\\">\\n    <@stream.operatorPart as |operatorPart|>\\n      <operatorPart.comment>\\n        <TaskBots::Previews::TeamAvailabilitySettingExpectation @configuration={{@configuration}}/>\\n      </operatorPart.comment>\\n    </@stream.operatorPart>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if (or @isPreviewingTask @enabled)}}\\n  <div data-test-task-bot-preview=\\\"team-availability\\\">\\n    <@stream.operatorPart as |operatorPart|>\\n      <operatorPart.comment>\\n        <TaskBots::Previews::TeamAvailabilitySettingExpectation @configuration={{@configuration}}/>\\n      </operatorPart.comment>\\n    </@stream.operatorPart>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/task-bots/previews/team-availability.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/previews/team-availability.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if (or @isPreviewingTask @settings.upfrontCollection.enabledForUsers)}}\\n  <div data-test-task-bot-preview=\\\"upfront-collection-users\\\">\\n    <@stream.operatorPart as |operatorPart|>\\n      <operatorPart.comment>\\n        Share some context to help the team respond better and faster.\\n      </operatorPart.comment>\\n      <operatorPart.upfront-collection-form\\n        @attributeIdentifiers={{@settings.upfrontCollection.attributes}}\\n      />\\n    </@stream.operatorPart>\\n</div>\\n{{/if}}\", {\"contents\":\"{{#if (or @isPreviewingTask @settings.upfrontCollection.enabledForUsers)}}\\n  <div data-test-task-bot-preview=\\\"upfront-collection-users\\\">\\n    <@stream.operatorPart as |operatorPart|>\\n      <operatorPart.comment>\\n        Share some context to help the team respond better and faster.\\n      </operatorPart.comment>\\n      <operatorPart.upfront-collection-form\\n        @attributeIdentifiers={{@settings.upfrontCollection.attributes}}\\n      />\\n    </@stream.operatorPart>\\n</div>\\n{{/if}}\",\"moduleName\":\"embercom/components/task-bots/previews/upfront-collection-users.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/previews/upfront-collection-users.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<TaskBots::PanelWrapper>\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-vertically o__scrolls\\\">\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n\\n      <Pulse::LargeRadioButtonGroup\\n        @selectedValue={{@qualifyLeads.qualificationType}}\\n        @onSelect={{perform this.changeQualificationType}}\\n        class=\\\"mb-10\\\"\\n        as |group|\\n      >\\n        <group.Option\\n          @value=\\\"default_qualification\\\"\\n          @svg=\\\"lead-qualification\\\"\\n          @label=\\\"Simple qualification\\\"\\n          @description=\\\"Ask everyone the same details\\\"\\n          @descriptionClass=\\\"max-w-32\\\"\\n          @isDisabled={{not (has-feature \\\"canUseOperatorQualifications\\\")}}\\n          data-test-default-qualification-option\\n          as |option|\\n        >\\n          <Paywall @featureKey=\\\"operator_qualification\\\" as |paywall|>\\n            <paywall.Hover class=\\\"w-full h-full\\\">\\n              <option.Contents />\\n            </paywall.Hover>\\n          </Paywall>\\n        </group.Option>\\n        <group.Option\\n          @value=\\\"branching_qualification\\\"\\n          @svg=\\\"people\\\"\\n          @label=\\\"Advanced qualification\\\"\\n          @description=\\\"Ask different details to different categories of leads\\\"\\n          @isDisabled={{not (has-feature \\\"canUseBranchingQualification\\\")}}\\n          data-test-branching-qualification-option\\n          as |option|\\n        >\\n          <Paywall @featureKey=\\\"branching_qualification\\\" as |paywall|>\\n            <paywall.Hover class=\\\"w-full h-full\\\">\\n              <option.Contents />\\n            </paywall.Hover>\\n          </Paywall>\\n        </group.Option>\\n      </Pulse::LargeRadioButtonGroup>\\n\\n      {{#if (eq @qualifyLeads.qualificationType \\\"default_qualification\\\")}}\\n        <TaskBots::QualifyLeads::SimpleQualification\\n          @simpleQualification={{@qualifyLeads.simpleQualification}}\\n        />\\n      {{else if (eq @qualifyLeads.qualificationType \\\"branching_qualification\\\")}}\\n        <TaskBots::QualifyLeads::BranchingQualification\\n          @customQuestion={{@qualifyLeads.branchingQualification.customQuestion}}\\n          @answers={{@qualifyLeads.branchingQualification.answers}}\\n          @displayValidationErrors={{displayValidationErrors}}\\n        />\\n      {{/if}}\\n      <div class=\\\"u__mt__10\\\">\\n        Note:\\n      </div>\\n      <span class=\\\"u__mt__5\\\">\\n        {{ic-interface-icon \\\"manual-message\\\"}} Can be sent as a follow up in <a href=\\\"{{href-to \\\"apps.app.outbound.messages.visitor-auto\\\"}}\\\">messages</a>\\n      </span>\\n    </div>\\n  </div>\\n  <TaskBots::ActionButtonComponent\\n    @model={{@qualifyLeads}}\\n    @body={{@body}}\\n    @allowSaving={{or\\n      @qualifyLeads.hasDirtyAttributes\\n      @qualifyLeads.currentQualificationType.hasDirtyAttributes\\n    }}\\n    @beforeSave={{action \\\"beforeSave\\\"}}\\n    @afterSave={{action \\\"afterSave\\\"}}\\n    @feature={{@qualifyLeads.currentQualificationType.paywallFeature}}\\n    @enabled={{@qualifyLeads.enabled}}\\n  />\\n</TaskBots::PanelWrapper>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<TaskBots::PanelWrapper>\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-vertically o__scrolls\\\">\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n\\n      <Pulse::LargeRadioButtonGroup\\n        @selectedValue={{@qualifyLeads.qualificationType}}\\n        @onSelect={{perform this.changeQualificationType}}\\n        class=\\\"mb-10\\\"\\n        as |group|\\n      >\\n        <group.Option\\n          @value=\\\"default_qualification\\\"\\n          @svg=\\\"lead-qualification\\\"\\n          @label=\\\"Simple qualification\\\"\\n          @description=\\\"Ask everyone the same details\\\"\\n          @descriptionClass=\\\"max-w-32\\\"\\n          @isDisabled={{not (has-feature \\\"canUseOperatorQualifications\\\")}}\\n          data-test-default-qualification-option\\n          as |option|\\n        >\\n          <Paywall @featureKey=\\\"operator_qualification\\\" as |paywall|>\\n            <paywall.Hover class=\\\"w-full h-full\\\">\\n              <option.Contents />\\n            </paywall.Hover>\\n          </Paywall>\\n        </group.Option>\\n        <group.Option\\n          @value=\\\"branching_qualification\\\"\\n          @svg=\\\"people\\\"\\n          @label=\\\"Advanced qualification\\\"\\n          @description=\\\"Ask different details to different categories of leads\\\"\\n          @isDisabled={{not (has-feature \\\"canUseBranchingQualification\\\")}}\\n          data-test-branching-qualification-option\\n          as |option|\\n        >\\n          <Paywall @featureKey=\\\"branching_qualification\\\" as |paywall|>\\n            <paywall.Hover class=\\\"w-full h-full\\\">\\n              <option.Contents />\\n            </paywall.Hover>\\n          </Paywall>\\n        </group.Option>\\n      </Pulse::LargeRadioButtonGroup>\\n\\n      {{#if (eq @qualifyLeads.qualificationType \\\"default_qualification\\\")}}\\n        <TaskBots::QualifyLeads::SimpleQualification\\n          @simpleQualification={{@qualifyLeads.simpleQualification}}\\n        />\\n      {{else if (eq @qualifyLeads.qualificationType \\\"branching_qualification\\\")}}\\n        <TaskBots::QualifyLeads::BranchingQualification\\n          @customQuestion={{@qualifyLeads.branchingQualification.customQuestion}}\\n          @answers={{@qualifyLeads.branchingQualification.answers}}\\n          @displayValidationErrors={{displayValidationErrors}}\\n        />\\n      {{/if}}\\n      <div class=\\\"u__mt__10\\\">\\n        Note:\\n      </div>\\n      <span class=\\\"u__mt__5\\\">\\n        {{ic-interface-icon \\\"manual-message\\\"}} Can be sent as a follow up in <a href=\\\"{{href-to \\\"apps.app.outbound.messages.visitor-auto\\\"}}\\\">messages</a>\\n      </span>\\n    </div>\\n  </div>\\n  <TaskBots::ActionButtonComponent\\n    @model={{@qualifyLeads}}\\n    @body={{@body}}\\n    @allowSaving={{or\\n      @qualifyLeads.hasDirtyAttributes\\n      @qualifyLeads.currentQualificationType.hasDirtyAttributes\\n    }}\\n    @beforeSave={{action \\\"beforeSave\\\"}}\\n    @afterSave={{action \\\"afterSave\\\"}}\\n    @feature={{@qualifyLeads.currentQualificationType.paywallFeature}}\\n    @enabled={{@qualifyLeads.enabled}}\\n  />\\n</TaskBots::PanelWrapper>\\n\",\"moduleName\":\"embercom/components/task-bots/qualify-leads.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/qualify-leads.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport { readOnly } from '@ember/object/computed';\n\nconst CONFIRM_NOT_SAVED = {\n  title: 'Close without saving?',\n  primaryButtonType: 'primary-destructive',\n  confirmButtonText: 'Continue without saving',\n  cancelButtonText: 'Keep editing',\n  body: \"You'll lose your changes if you don't save first.\",\n};\n\nexport default Component.extend({\n  intercomEventService: service(),\n  confirmService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  displayValidationErrors: false,\n\n  updateQualificationType(type) {\n    this.recordQualificationTypeChange(type);\n    this.set('qualifyLeads.qualificationType', type);\n  },\n\n  recordQualificationTypeChange(type) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: type,\n      place: 'task_bots',\n    });\n  },\n\n  changeQualificationType: task(function*(type) {\n    let currentQualificationType = this.get('qualifyLeads.currentQualificationType');\n    if (currentQualificationType.hasDirtyAttributes) {\n      let confirmed = yield this.unsavedChangesWarning();\n      if (confirmed) {\n        currentQualificationType.rollbackAttributes();\n        this.updateQualificationType(type);\n      }\n    } else {\n      this.updateQualificationType(type);\n    }\n  }),\n\n  unsavedChangesWarning() {\n    return this.confirmService.show(this, CONFIRM_NOT_SAVED);\n  },\n\n  actions: {\n    beforeSave() {\n      this.set('displayValidationErrors', false);\n      let currentQualificationType = this.get('qualifyLeads.currentQualificationType');\n      currentQualificationType.sanitizeAttributes();\n    },\n\n    afterSave() {\n      this.set('displayValidationErrors', true);\n      // this is necessary due to Ember weirdness which wasn't marking the\n      // model fragments (qualification attributes and rules) as no longer dirty\n      this.get('qualifyLeads.currentQualificationType').rollbackAttributes();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessengerPreview::Stream::OperatorPart as |operatorPart|>\\n  <operatorPart.comment>\\n    <div class=\\\"branching-qualification__question-container\\\">\\n      {{#if isEditingBranchingQuestion}}\\n        <div data-test-branching-qualification-question-editor>\\n          <AutoFocusComponent @withNewLine={{false}} @shouldSelect={{true}}>\\n            <ExpandingTextareaComponent\\n              @textareaContent={{@customQuestion}}\\n              @defaultTextareaClasses=\\\"branching-qualification__question-editor f__expanding-textarea-field o__fit\\\"\\n              @maxLength=\\\"255\\\"\\n              @minHeight={{17}}\\n              @onFocusIn={{action \\\"startedEditingBranchingQuestion\\\"}}\\n              @onFocusOut={{action \\\"finishedEditingBranchingQuestion\\\"}}\\n              @onEnter={{action \\\"finishedEditingBranchingQuestion\\\"}}\\n            />\\n          </AutoFocusComponent>\\n        </div>\\n      {{else}}\\n        <div\\n          class=\\\"branching-qualification__question\\\"\\n          data-test-branching-qualification-question\\n        >\\n          {{if\\n            @customQuestion\\n            @customQuestion\\n            \\\"What term best describes who you are or what you're looking for?\\\"\\n          }}\\n        </div>\\n      {{/if}}\\n    </div>\\n  </operatorPart.comment>\\n</MessengerPreview::Stream::OperatorPart>\\n<div class=\\\"branching-qualification__question-link__container\\\">\\n  <a\\n    class=\\\"t__solo-link branching-qualification__question-link {{if isEditingBranchingQuestion \\\"u__invisible\\\"}}\\\"\\n    data-test-branching-qualification-question-edit-button\\n    {{action (mut isEditingBranchingQuestion) true}}\\n  >\\n    Edit question\\n  </a>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<MessengerPreview::Stream::OperatorPart as |operatorPart|>\\n  <operatorPart.comment>\\n    <div class=\\\"branching-qualification__question-container\\\">\\n      {{#if isEditingBranchingQuestion}}\\n        <div data-test-branching-qualification-question-editor>\\n          <AutoFocusComponent @withNewLine={{false}} @shouldSelect={{true}}>\\n            <ExpandingTextareaComponent\\n              @textareaContent={{@customQuestion}}\\n              @defaultTextareaClasses=\\\"branching-qualification__question-editor f__expanding-textarea-field o__fit\\\"\\n              @maxLength=\\\"255\\\"\\n              @minHeight={{17}}\\n              @onFocusIn={{action \\\"startedEditingBranchingQuestion\\\"}}\\n              @onFocusOut={{action \\\"finishedEditingBranchingQuestion\\\"}}\\n              @onEnter={{action \\\"finishedEditingBranchingQuestion\\\"}}\\n            />\\n          </AutoFocusComponent>\\n        </div>\\n      {{else}}\\n        <div\\n          class=\\\"branching-qualification__question\\\"\\n          data-test-branching-qualification-question\\n        >\\n          {{if\\n            @customQuestion\\n            @customQuestion\\n            \\\"What term best describes who you are or what you're looking for?\\\"\\n          }}\\n        </div>\\n      {{/if}}\\n    </div>\\n  </operatorPart.comment>\\n</MessengerPreview::Stream::OperatorPart>\\n<div class=\\\"branching-qualification__question-link__container\\\">\\n  <a\\n    class=\\\"t__solo-link branching-qualification__question-link {{if isEditingBranchingQuestion \\\"u__invisible\\\"}}\\\"\\n    data-test-branching-qualification-question-edit-button\\n    {{action (mut isEditingBranchingQuestion) true}}\\n  >\\n    Edit question\\n  </a>\\n</div>\\n\",\"moduleName\":\"embercom/components/task-bots/qualify-leads/branching-qualification-question-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/qualify-leads/branching-qualification-question-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { isEmpty } from '@ember/utils';\n\nconst DEFAULT_QUESTION = \"What term best describes who you are or what you're looking for?\";\n\nexport default Component.extend({\n  actions: {\n    finishedEditingBranchingQuestion() {\n      if (isEmpty(this.customQuestion)) {\n        this.set('customQuestion', null);\n      }\n      this.set('isEditingBranchingQuestion', false);\n    },\n    startedEditingBranchingQuestion() {\n      if (this.customQuestion) {\n        return;\n      }\n      this.set('customQuestion', DEFAULT_QUESTION);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"u__ml__10\\\" data-test-branching-qualification>\\n  <div>\\n    First, Operator will ask a multiple choice question with up to three replies.<br />\\n    We will record the reply as \\\"Lead Category\\\" in their profile.\\n  </div>\\n  <TaskBots::QualifyLeads::BranchingQualificationQuestionEditor\\n    @customQuestion={{@customQuestion}}\\n  />\\n  <OperatorSettings::QualifyLeads::BranchingQualificationAnswersEditor\\n    @branchingQualificationAnswers={{@answers}}\\n    @hasBranchingQualification={{has-feature \\\"canUseBranchingQualification\\\"}}\\n    @beforeSave={{@beforeSave}}\\n    @displayValidationErrors={{@displayValidationErrors}}\\n  />\\n</div>\\n\", {\"contents\":\"<div class=\\\"u__ml__10\\\" data-test-branching-qualification>\\n  <div>\\n    First, Operator will ask a multiple choice question with up to three replies.<br />\\n    We will record the reply as \\\"Lead Category\\\" in their profile.\\n  </div>\\n  <TaskBots::QualifyLeads::BranchingQualificationQuestionEditor\\n    @customQuestion={{@customQuestion}}\\n  />\\n  <OperatorSettings::QualifyLeads::BranchingQualificationAnswersEditor\\n    @branchingQualificationAnswers={{@answers}}\\n    @hasBranchingQualification={{has-feature \\\"canUseBranchingQualification\\\"}}\\n    @beforeSave={{@beforeSave}}\\n    @displayValidationErrors={{@displayValidationErrors}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/task-bots/qualify-leads/branching-qualification.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/qualify-leads/branching-qualification.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"u__ml__10\\\" data-test-simple-qualification>\\n  <OperatorSettings::QualifyLeads::QualificationEditor\\n    @attributesInUse={{@simpleQualification.qualificationAttributes}}\\n    @rules={{@simpleQualification.followUpRules}}\\n    @isEnabled={{has-feature \\\"canUseOperatorQualifications\\\"}}\\n    @allowNoAttributes={{false}}\\n    @attributeEdited={{action (optional \\\"recordAttributeEdited\\\")}}\\n    @attributesDescription=\\\"Operator will qualify leads by asking for more information\\\"\\n    @rulesDescription=\\\"Operator can follow up with leads who match the following rules\\\"\\n  />\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"u__ml__10\\\" data-test-simple-qualification>\\n  <OperatorSettings::QualifyLeads::QualificationEditor\\n    @attributesInUse={{@simpleQualification.qualificationAttributes}}\\n    @rules={{@simpleQualification.followUpRules}}\\n    @isEnabled={{has-feature \\\"canUseOperatorQualifications\\\"}}\\n    @allowNoAttributes={{false}}\\n    @attributeEdited={{action (optional \\\"recordAttributeEdited\\\")}}\\n    @attributesDescription=\\\"Operator will qualify leads by asking for more information\\\"\\n    @rulesDescription=\\\"Operator can follow up with leads who match the following rules\\\"\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/task-bots/qualify-leads/simple-qualification.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/qualify-leads/simple-qualification.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<TaskBots::PanelWrapper>\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-vertically\\\">\\n    <div>\\n      Operator will automatically share <LinkTo @route=\\\"apps.app.messenger\\\">\\n        your typical availability\\n      </LinkTo>\\n      to let your customers know when they can expect a reply.\\n    </div>\\n  </div>\\n  <TaskBots::ActionButtonComponent\\n    @model={{@teamAvailability}}\\n    @body={{@body}}\\n    @allowSaving={{@teamAvailability.hasDirtyAttributes}}\\n    @feature=\\\"messenger\\\"\\n    @enabled={{@enabled}}\\n  />\\n</TaskBots::PanelWrapper>\\n\", {\"contents\":\"<TaskBots::PanelWrapper>\\n  <div class=\\\"layout__box o__flexes-to-1 o__centers-vertically\\\">\\n    <div>\\n      Operator will automatically share <LinkTo @route=\\\"apps.app.messenger\\\">\\n        your typical availability\\n      </LinkTo>\\n      to let your customers know when they can expect a reply.\\n    </div>\\n  </div>\\n  <TaskBots::ActionButtonComponent\\n    @model={{@teamAvailability}}\\n    @body={{@body}}\\n    @allowSaving={{@teamAvailability.hasDirtyAttributes}}\\n    @feature=\\\"messenger\\\"\\n    @enabled={{@enabled}}\\n  />\\n</TaskBots::PanelWrapper>\\n\",\"moduleName\":\"embercom/components/task-bots/team-availability.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/team-availability.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__has-columns u__mt__40 u__mb__10\\\">\\n  <h2 class=\\\"t__h2\\\">\\n    {{@title}}\\n  </h2>\\n</div>\\n<div>\\n  {{yield}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__has-columns u__mt__40 u__mb__10\\\">\\n  <h2 class=\\\"t__h2\\\">\\n    {{@title}}\\n  </h2>\\n</div>\\n<div>\\n  {{yield}}\\n</div>\\n\",\"moduleName\":\"embercom/components/task-bots/trigger-group.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/trigger-group.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<TaskBots::PanelWrapper>\\n  <div class=\\\"flex flex-col gap-4\\\">\\n    <Paragraph>\\n      For faster resolutions and automated triaging, collect specific data from customers upfront.\\n    </Paragraph>\\n\\n    <Paragraph>\\n      <Text @styling='strong'>Build a form with the data you’d like to collect</Text>\\n      <IcTooltipIcon @isInteractive={{true}}>\\n        <Text @styling='strong'>Example:</Text> To understand an issue’s urgency, create a conversation data attribute called Impact with 3 data values: “Blocked,” “Partially blocked,” “Not blocked.”  When a customer starts a conversation, the form field labeled Impact will prompt them to select one of the 3 values.\\n      </IcTooltipIcon>\\n    </Paragraph>\\n\\n    <div class=\\\"flex flex-col\\\">\\n      <ul class='operator__settings__upfront-collection__attributes'>\\n      {{#each @upfrontCollection.attributes as |attribute index|}}\\n        <li class='operator__settings__upfront-collection__attributes__attribute mb-2'>\\n          <div class=\\\"flex flex-row items-center gap-1 upfront-collection-attribute-selector__attribute\\\" data-test-upfront-collection-attribute-selector>\\n            <TaskBots::UpfrontCollection::AttributeSelector\\n              @attributes={{@upfrontCollection.attributes}}\\n              @selectedAttribute={{attribute}}\\n              @onAttributeItemSelection={{this.onAttributeItemSelection}}\\n              @parentAttributeIndex={{index}}\\n            />\\n            {{#if (gt @upfrontCollection.attributes.length 1)}}\\n              <div data-test-remove-upfront-collection-attribute class=\\\"operator__settings__upfront-collection__attributes__attribute__delete quick-action o__destructive\\\" {{on \\\"click\\\" (fn this.removeAttribute index)}}>\\n                {{ic-interface-icon \\\"trash\\\" solo=true}}\\n              </div>\\n            {{/if}}\\n          </div>\\n        </li>\\n      {{/each}}\\n      </ul>\\n      {{#if (lt @upfrontCollection.attributes.length 3)}}\\n        <a\\n          class='operator__settings__upfront-collection__add-attribute {{if this.lastAttributeUnset 'o__disabled'}}'\\n          {{on \\\"click\\\" this.addAttributeField}}\\n          data-test-add-upfront-collection-attribute\\n        >\\n          <Text @linkStyling=\\\"standalone\\\">+ Add another field</Text>\\n        </a>\\n      {{/if}}\\n    </div>\\n\\n    <hr class=\\\"sp__hr mt-2 mb-6\\\" />\\n\\n    <Paragraph>\\n      <Text @styling='strong'>Triage conversations based on how customers respond</Text>\\n      <IcTooltipIcon @isInteractive={{true}}>\\n        If a user sends messages instead of filling out the form, or if they simply don’t complete the form within 3 minutes, then this task bot will be skipped.\\n      </IcTooltipIcon>\\n    </Paragraph>\\n\\n    <Paragraph>\\n      To route and prioritize conversations automatically, set up rules for each data value in your form.\\n    </Paragraph>\\n\\n    <Rules::RulesEditor\\n      @rules={{@upfrontCollection.followUpRules}}\\n      @allowedRuleActions={{this.allowedRuleActions}}\\n      @allowedRuleConditionalAttributes={{this.allowedRuleConditionalAttributes}}\\n      @actionEditorContext={{hash canRemoveAssignee=\\\"true\\\"}}\\n      @isDisabled={{not this.hasCollectionAttributes}}\\n    />\\n  </div>\\n\\n  <TaskBots::ActionButtonComponent\\n    @model={{@upfrontCollection}}\\n    @body={{@body}}\\n    @allowSaving={{and @upfrontCollection.hasDirtyAttributes this.hasCollectionAttributes}}\\n    @feature={{@upfrontCollection.paywallFeature}}\\n    @enabled={{@enabled}}\\n  />\\n</TaskBots::PanelWrapper>\\n\", {\"contents\":\"<TaskBots::PanelWrapper>\\n  <div class=\\\"flex flex-col gap-4\\\">\\n    <Paragraph>\\n      For faster resolutions and automated triaging, collect specific data from customers upfront.\\n    </Paragraph>\\n\\n    <Paragraph>\\n      <Text @styling='strong'>Build a form with the data you’d like to collect</Text>\\n      <IcTooltipIcon @isInteractive={{true}}>\\n        <Text @styling='strong'>Example:</Text> To understand an issue’s urgency, create a conversation data attribute called Impact with 3 data values: “Blocked,” “Partially blocked,” “Not blocked.”  When a customer starts a conversation, the form field labeled Impact will prompt them to select one of the 3 values.\\n      </IcTooltipIcon>\\n    </Paragraph>\\n\\n    <div class=\\\"flex flex-col\\\">\\n      <ul class='operator__settings__upfront-collection__attributes'>\\n      {{#each @upfrontCollection.attributes as |attribute index|}}\\n        <li class='operator__settings__upfront-collection__attributes__attribute mb-2'>\\n          <div class=\\\"flex flex-row items-center gap-1 upfront-collection-attribute-selector__attribute\\\" data-test-upfront-collection-attribute-selector>\\n            <TaskBots::UpfrontCollection::AttributeSelector\\n              @attributes={{@upfrontCollection.attributes}}\\n              @selectedAttribute={{attribute}}\\n              @onAttributeItemSelection={{this.onAttributeItemSelection}}\\n              @parentAttributeIndex={{index}}\\n            />\\n            {{#if (gt @upfrontCollection.attributes.length 1)}}\\n              <div data-test-remove-upfront-collection-attribute class=\\\"operator__settings__upfront-collection__attributes__attribute__delete quick-action o__destructive\\\" {{on \\\"click\\\" (fn this.removeAttribute index)}}>\\n                {{ic-interface-icon \\\"trash\\\" solo=true}}\\n              </div>\\n            {{/if}}\\n          </div>\\n        </li>\\n      {{/each}}\\n      </ul>\\n      {{#if (lt @upfrontCollection.attributes.length 3)}}\\n        <a\\n          class='operator__settings__upfront-collection__add-attribute {{if this.lastAttributeUnset 'o__disabled'}}'\\n          {{on \\\"click\\\" this.addAttributeField}}\\n          data-test-add-upfront-collection-attribute\\n        >\\n          <Text @linkStyling=\\\"standalone\\\">+ Add another field</Text>\\n        </a>\\n      {{/if}}\\n    </div>\\n\\n    <hr class=\\\"sp__hr mt-2 mb-6\\\" />\\n\\n    <Paragraph>\\n      <Text @styling='strong'>Triage conversations based on how customers respond</Text>\\n      <IcTooltipIcon @isInteractive={{true}}>\\n        If a user sends messages instead of filling out the form, or if they simply don’t complete the form within 3 minutes, then this task bot will be skipped.\\n      </IcTooltipIcon>\\n    </Paragraph>\\n\\n    <Paragraph>\\n      To route and prioritize conversations automatically, set up rules for each data value in your form.\\n    </Paragraph>\\n\\n    <Rules::RulesEditor\\n      @rules={{@upfrontCollection.followUpRules}}\\n      @allowedRuleActions={{this.allowedRuleActions}}\\n      @allowedRuleConditionalAttributes={{this.allowedRuleConditionalAttributes}}\\n      @actionEditorContext={{hash canRemoveAssignee=\\\"true\\\"}}\\n      @isDisabled={{not this.hasCollectionAttributes}}\\n    />\\n  </div>\\n\\n  <TaskBots::ActionButtonComponent\\n    @model={{@upfrontCollection}}\\n    @body={{@body}}\\n    @allowSaving={{and @upfrontCollection.hasDirtyAttributes this.hasCollectionAttributes}}\\n    @feature={{@upfrontCollection.paywallFeature}}\\n    @enabled={{@enabled}}\\n  />\\n</TaskBots::PanelWrapper>\\n\",\"moduleName\":\"embercom/components/task-bots/upfront-collection.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/upfront-collection.hbs\"}});\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\n\nexport default class UpfrontCollection extends Component {\n  @service attributeService;\n  @service appService;\n  @service intercomEventService;\n\n  constructor() {\n    super(...arguments);\n    this.setupDefaultAttributes();\n  }\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get upfrontCollection() {\n    return this.args.upfrontCollection;\n  }\n\n  get lastAttributeUnset() {\n    if (this.upfrontCollection.attributes.length === 0) {\n      return false;\n    }\n\n    return this.upfrontCollection.attributes.lastObject === undefined;\n  }\n\n  get allowedRuleConditionalAttributes() {\n    return this.attributeService.customBotFollowupActionAttributes;\n  }\n\n  get allowedRuleActions() {\n    let actions = ['assign-conversation', 'tag-user', 'add-tag-to-conversation'];\n\n    if (this.app.hasSalesforceIntegration) {\n      actions.push('send-to-salesforce');\n    }\n\n    if (this.app.hasHubSpotIntegration) {\n      actions.push('send-to-hubspot');\n    }\n\n    if (this.app.hasMarketoEnrichmentIntegration) {\n      actions.push('send-to-marketo');\n      if (this.app.canUseMarketoTriggerCampaigns) {\n        actions.push('trigger-marketo-campaign');\n      }\n    }\n\n    if (this.app.canUsePriorityRules) {\n      actions.push('change-conversation-priority');\n    }\n\n    return actions;\n  }\n\n  get hasCollectionAttributes() {\n    return (\n      this.upfrontCollection.attributes.length > 0 &&\n      this.upfrontCollection.attributes.firstObject !== undefined\n    );\n  }\n\n  @action\n  setupDefaultAttributes() {\n    if (this.upfrontCollection.attributes.length === 0) {\n      if (this.attributeService.conversationCustomAttributes.length === 0) {\n        this.upfrontCollection.attributes = [undefined];\n      } else {\n        this.upfrontCollection.attributes = [\n          this.attributeService.conversationCustomAttributes.firstObject.identifier,\n        ];\n      }\n    }\n  }\n\n  @action\n  addAttributeField() {\n    if (this.lastAttributeUnset) {\n      return;\n    }\n\n    let newAttributes = this.upfrontCollection.attributes.slice();\n    newAttributes.push(undefined);\n    this.upfrontCollection.attributes = newAttributes;\n    this.recordAnalyticsEvent('attribute_field_added');\n  }\n\n  @action\n  removeAttribute(index) {\n    let newAttributes = this.upfrontCollection.attributes.slice();\n    newAttributes.splice(index, 1);\n    this.upfrontCollection.attributes = newAttributes;\n    this.recordAnalyticsEvent('attribute_field_removed');\n  }\n\n  @action\n  onAttributeItemSelection(index, value) {\n    let newAttributes = this.upfrontCollection.attributes.slice();\n    newAttributes[index] = value;\n    this.upfrontCollection.attributes = newAttributes;\n  }\n\n  recordAnalyticsEvent(action, context) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action,\n      object: 'upfront-collection-users',\n      place: 'task_bot_settings',\n      context,\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Operator::AttributeSelector\\n  @label=\\\"Select one\\\"\\n  @searchPlaceholder=\\\"Search an attribute\\\"\\n  @attributeGroupList={{this.selectItems}}\\n  @selectedAttributeIdentifier={{@selectedAttribute}}\\n  @onSelectAttribute={{this.selectAttribute}}\\n  @onAttributeCreated={{this.onAttributeCreated}}\\n  @buttonIsSubtle={{false}}\\n/>\", {\"contents\":\"<Operator::AttributeSelector\\n  @label=\\\"Select one\\\"\\n  @searchPlaceholder=\\\"Search an attribute\\\"\\n  @attributeGroupList={{this.selectItems}}\\n  @selectedAttributeIdentifier={{@selectedAttribute}}\\n  @onSelectAttribute={{this.selectAttribute}}\\n  @onAttributeCreated={{this.onAttributeCreated}}\\n  @buttonIsSubtle={{false}}\\n/>\",\"moduleName\":\"embercom/components/task-bots/upfront-collection/attribute-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/task-bots/upfront-collection/attribute-selector.hbs\"}});\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport Component from '@glimmer/component';\n\nexport default class AttributeSelector extends Component {\n  @service attributeService;\n  @service intercomEventService;\n  @tracked attributeList = [];\n\n  get selectItems() {\n    return this.attributeService.botAutoMessageCollectableAttributeGroupList.map(\n      attributeGroup => ({\n        heading: attributeGroup.heading,\n        attributes: attributeGroup.attributes.filter(\n          attribute =>\n            !this.args.attributes.includes(attribute.identifier) ||\n            attribute.identifier === this.args.selectedAttribute,\n        ),\n      }),\n    );\n  }\n\n  @action\n  selectAttribute(value) {\n    this.args.onAttributeItemSelection(this.args.parentAttributeIndex, value.identifier);\n  }\n\n  @action\n  onAttributeCreated() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'attribute_created',\n      object: 'upfront-collection-users',\n      place: 'task_bot_settings',\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">\\n  Teams\\n</h3>\\n<hr class=\\\"sp__hr profile__hr\\\" />\\n{{#if isNotEmpty}}\\n  <div class=\\\"u__cf profile__team-container\\\">\\n    {{#each assignableTeamsAdminIsAMemberOf as |team|}}\\n      <div class=\\\"u__cf profile__user-avatar-tile\\\">\\n        <a\\n          {{action \\\"openTeamSettingsPage\\\"}}\\n          {{tooltip content=team.name}}\\n        >\\n          <IcAvatarComponent @model={{team}} @size=\\\"s\\\" />\\n        </a>\\n      </div>\\n    {{/each}}\\n  </div>\\n{{else}}\\n  <div class=\\\"flex items-start\\\">\\n    <div class=\\\"btn__associated-content u__restore-breaks flex-auto min-w-0 t__light-text profile__empty-team\\\">\\n      <div>\\n        {{admin.first_name}} is not a member of any teams\\n      </div>\\n    </div>\\n    <div class=\\\"profile__empty-team-edit\\\">\\n      <IcButton\\n        @type=\\\"secondary\\\"\\n        @onClick={{action \\\"openTeamSettingsPage\\\"}}\\n        @iconOnly={{true}}\\n        @subtle={{true}}\\n        @inRightList={{true}}\\n        {{tooltip content=\\\"Edit or create a team\\\"}}\\n      >\\n        {{ic-interface-icon \\\"edit\\\" solo=true}}\\n      </IcButton>\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<h3 class=\\\"t__h3\\\">\\n  Teams\\n</h3>\\n<hr class=\\\"sp__hr profile__hr\\\" />\\n{{#if isNotEmpty}}\\n  <div class=\\\"u__cf profile__team-container\\\">\\n    {{#each assignableTeamsAdminIsAMemberOf as |team|}}\\n      <div class=\\\"u__cf profile__user-avatar-tile\\\">\\n        <a\\n          {{action \\\"openTeamSettingsPage\\\"}}\\n          {{tooltip content=team.name}}\\n        >\\n          <IcAvatarComponent @model={{team}} @size=\\\"s\\\" />\\n        </a>\\n      </div>\\n    {{/each}}\\n  </div>\\n{{else}}\\n  <div class=\\\"flex items-start\\\">\\n    <div class=\\\"btn__associated-content u__restore-breaks flex-auto min-w-0 t__light-text profile__empty-team\\\">\\n      <div>\\n        {{admin.first_name}} is not a member of any teams\\n      </div>\\n    </div>\\n    <div class=\\\"profile__empty-team-edit\\\">\\n      <IcButton\\n        @type=\\\"secondary\\\"\\n        @onClick={{action \\\"openTeamSettingsPage\\\"}}\\n        @iconOnly={{true}}\\n        @subtle={{true}}\\n        @inRightList={{true}}\\n        {{tooltip content=\\\"Edit or create a team\\\"}}\\n      >\\n        {{ic-interface-icon \\\"edit\\\" solo=true}}\\n      </IcButton>\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/team-membership-list-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/team-membership-list-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, notEmpty, or, filter } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  isLoading: false,\n  hasTeams: notEmpty('assignableTeamsAdminIsAMemberOf'),\n  isNotEmpty: or('hasTeams', 'isLoading'),\n  assignableTeamsAdminIsAMemberOf: filter('app.assignableTeams', function(team) {\n    return team.get('member_ids').includes(parseInt(this.get('admin.id'), 10));\n  }),\n  actions: {\n    openTeamSettingsPage() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('openTeamSettingsPage');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n\\n<Admin::SelectorDropdown\\n  @disabled={{@isDisabled}}\\n  @app={{app}}\\n  @admins={{sortedItems}}\\n  @listElementAction={{action addMember}}\\n  @showTeams={{false}}\\n  @showUnassigned={{false}}\\n  @showSearch={{false}}\\n  @itemWidth={{565}}\\n  @preventDropdownToggleFromWithin={{true}}\\n  @clearInputOnSelect={{true}} as |dropdown|\\n>\\n  <div class=\\\"m__team-member-selector__search u__relative flex items-center\\\">\\n    <div class=\\\"u__mr__10\\\">\\n      <span class=\\\"m__team-member-selector__search-icon text-gray\\\">\\n        {{ic-interface-icon \\\"search\\\" solo=true}}\\n      </span>\\n    </div>\\n    <div class=\\\"flex-auto min-w-0\\\">\\n      <input\\n        data-test-settings-teammate-member-select-input\\n        disabled={{@isDisabled}}\\n        type=\\\"text\\\"\\n        placeholder=\\\"Add your existing teammates to this team{{displayedTeammatesPlaceholderText}}\\\"\\n        class=\\\"m__team-member-selector__search-input js__team-member-selector__search-input\\\"\\n        oninput={{action dropdown.updatedSearch}}\\n      />\\n    </div>\\n  </div>\\n</Admin::SelectorDropdown>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n\\n<Admin::SelectorDropdown\\n  @disabled={{@isDisabled}}\\n  @app={{app}}\\n  @admins={{sortedItems}}\\n  @listElementAction={{action addMember}}\\n  @showTeams={{false}}\\n  @showUnassigned={{false}}\\n  @showSearch={{false}}\\n  @itemWidth={{565}}\\n  @preventDropdownToggleFromWithin={{true}}\\n  @clearInputOnSelect={{true}} as |dropdown|\\n>\\n  <div class=\\\"m__team-member-selector__search u__relative flex items-center\\\">\\n    <div class=\\\"u__mr__10\\\">\\n      <span class=\\\"m__team-member-selector__search-icon text-gray\\\">\\n        {{ic-interface-icon \\\"search\\\" solo=true}}\\n      </span>\\n    </div>\\n    <div class=\\\"flex-auto min-w-0\\\">\\n      <input\\n        data-test-settings-teammate-member-select-input\\n        disabled={{@isDisabled}}\\n        type=\\\"text\\\"\\n        placeholder=\\\"Add your existing teammates to this team{{displayedTeammatesPlaceholderText}}\\\"\\n        class=\\\"m__team-member-selector__search-input js__team-member-selector__search-input\\\"\\n        oninput={{action dropdown.updatedSearch}}\\n      />\\n    </div>\\n  </div>\\n</Admin::SelectorDropdown>\\n\",\"moduleName\":\"embercom/components/teams-members-selector-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/teams-members-selector-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, setDiff, sort, empty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  classNames: ['m__team-member-selector', 'u__relative'],\n  classNameBindings: ['isExpanded:o__expanded:o__collapsed', 'isDisabled:o__disabled'],\n\n  selectableAdmins: setDiff('app.assignableHumanAdmins', 'selectedAdmins'),\n  sortKey: ['name'],\n  sortedItems: sort('selectableAdmins', 'sortKey'),\n\n  noSelectedAdmins: empty('selectedAdmins'),\n\n  teammatesPlaceholderText: '',\n  defaultTeammatesPlaceholderText: '. You need to add at least one teammate to create a team.',\n  displayedTeammatesPlaceholderText: ternaryToProperty(\n    'noSelectedAdmins',\n    'defaultTeammatesPlaceholderText',\n    'teammatesPlaceholderText',\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showTermsOfServiceReminder}}\\n  <div class=\\\"modal__overlay o__confirm u__center-layout\\\" data-test-confirm-modal>\\n    <div class=\\\"modal__overlay__inner\\\">\\n      <div class=\\\"modal o__confirm\\\">\\n        <div class=\\\"modal__header u__center-layout o__center-text\\\">\\n          <div class=\\\"modal__header__title flex-auto min-w-0\\\">\\n            <h2 class=\\\"t__h2\\\">\\n              Our new Terms of Service\\n            </h2>\\n          </div>\\n        </div>\\n        <div class=\\\"modal__body o__no-footer\\\">\\n          <div class=\\\"modal__body__confirmation-text u__center-layout o__center-text\\\">\\n            <div>\\n              We've updated our\\n              <a\\n                href=\\\"https://www.intercom.com/terms-of-service\\\"\\n                target=\\\"_blank\\\"\\n                rel=\\\"noopener noreferrer\\\"\\n              >\\n                Terms of Service\\n              </a>\\n              and\\n              <a\\n                href=\\\"https://www.intercom.com/privacy\\\"\\n                target=\\\"_blank\\\"\\n                rel=\\\"noopener noreferrer\\\"\\n              >\\n                Privacy Policy\\n              </a>, effective July 20, 2017. To continue using Intercom for {{app.name}}, please accept our new Terms of Service by clicking the button below.\\n            </div>\\n          </div>\\n          <div class=\\\"modal__body__confirmation-buttons\\\">\\n            <div class=\\\"modal__body__confirmation-buttons__button\\\">\\n              <IcButton\\n                @type=\\\"primary\\\"\\n                @onClick={{perform acceptTermsOfService}}\\n              >\\n                {{#if acceptTermsOfService.isRunning}}\\n                  Accepting...\\n                {{else}}\\n                  I accept the new Terms of Service\\n                {{/if}}\\n              </IcButton>\\n            </div>\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if showTermsOfServiceReminder}}\\n  <div class=\\\"modal__overlay o__confirm u__center-layout\\\" data-test-confirm-modal>\\n    <div class=\\\"modal__overlay__inner\\\">\\n      <div class=\\\"modal o__confirm\\\">\\n        <div class=\\\"modal__header u__center-layout o__center-text\\\">\\n          <div class=\\\"modal__header__title flex-auto min-w-0\\\">\\n            <h2 class=\\\"t__h2\\\">\\n              Our new Terms of Service\\n            </h2>\\n          </div>\\n        </div>\\n        <div class=\\\"modal__body o__no-footer\\\">\\n          <div class=\\\"modal__body__confirmation-text u__center-layout o__center-text\\\">\\n            <div>\\n              We've updated our\\n              <a\\n                href=\\\"https://www.intercom.com/terms-of-service\\\"\\n                target=\\\"_blank\\\"\\n                rel=\\\"noopener noreferrer\\\"\\n              >\\n                Terms of Service\\n              </a>\\n              and\\n              <a\\n                href=\\\"https://www.intercom.com/privacy\\\"\\n                target=\\\"_blank\\\"\\n                rel=\\\"noopener noreferrer\\\"\\n              >\\n                Privacy Policy\\n              </a>, effective July 20, 2017. To continue using Intercom for {{app.name}}, please accept our new Terms of Service by clicking the button below.\\n            </div>\\n          </div>\\n          <div class=\\\"modal__body__confirmation-buttons\\\">\\n            <div class=\\\"modal__body__confirmation-buttons__button\\\">\\n              <IcButton\\n                @type=\\\"primary\\\"\\n                @onClick={{perform acceptTermsOfService}}\\n              >\\n                {{#if acceptTermsOfService.isRunning}}\\n                  Accepting...\\n                {{else}}\\n                  I accept the new Terms of Service\\n                {{/if}}\\n              </IcButton>\\n            </div>\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/terms-of-service-notification-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/terms-of-service-notification-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport ajax from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  app: null,\n  admin: null,\n\n  adminHasAcceptedTermsOfService: readOnly('admin.terms_of_service_accepted'),\n  impersonationSession: readOnly('app.impersonation_session'),\n  modelDataCacheService: service(),\n\n  showTermsOfServiceReminder: computed(\n    'adminHasAcceptedTermsOfService',\n    'impersonationSession',\n    function() {\n      return !this.adminHasAcceptedTermsOfService && !this.impersonationSession;\n    },\n  ),\n\n  acceptTermsOfService: task(function*() {\n    yield ajax({\n      url: '/ember/terms_of_service_acceptance_state/accept_latest_terms',\n      type: 'POST',\n      data: JSON.stringify({\n        app_id: this.get('app.id'),\n      }),\n    }).then(response => {\n      this.setProperties({\n        showTermsOfServiceReminder: false,\n        'admin.terms_of_service_accepted': true,\n      });\n      let modelDataCacheService = this.modelDataCacheService;\n      modelDataCacheService.clear();\n    });\n  }),\n});\n","import TextEditor from '@intercom/embercom-composer/components/text-editor';\nexport default TextEditor;\n","import TextFormatter from '@intercom/embercom-composer/components/text-formatter';\nexport default TextFormatter;\n","define(\"embercom/components/text\", [\"exports\", \"@intercom/embercom-core/components/text\"], function (_exports, _text) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _text.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"{{if isJustNow 'text-green-dark'}}\\\">{{time}}</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"{{if isJustNow 'text-green-dark'}}\\\">{{time}}</span>\\n\",\"moduleName\":\"embercom/components/time-from-now-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/time-from-now-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { equal } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport DateFormatter from 'embercom/vendor/intercom/date-formatter';\nimport moment from 'moment';\n\nexport default Component.extend({\n  isJustNow: equal('time', 'Just now'),\n  time: computed('timestamp', function() {\n    let previousLocale = moment.locale();\n    moment.locale('en-time-from-now', {\n      relativeTime: {\n        future: 'Just now',\n        past: '%s',\n        s: 'Just now',\n        m: '1m ago',\n        mm: '%dm ago',\n        h: '1h ago',\n        hh: '%dh ago',\n        d: '1d ago',\n        dd: '%dd ago',\n        M: '1mth ago',\n        MM: '%dmth ago',\n        y: '1y ago',\n        yy: '%dy ago',\n      },\n    });\n    let time = DateFormatter.forcedPastFromNowRealTime(this.timestamp);\n    moment.locale(previousLocale);\n    return time;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"t__light-text\\\">{{content}} <a class=\\\"u__ml__20\\\" {{action 'dismiss'}}>{{dismissText}}</a></span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"t__light-text\\\">{{content}} <a class=\\\"u__ml__20\\\" {{action 'dismiss'}}>{{dismissText}}</a></span>\\n\",\"moduleName\":\"embercom/components/tip-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tip-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\n\nlet TipComponent = Component.extend({\n  classNames: ['dismissable-banner'],\n  tipKey: null,\n  isVisible: true,\n  content: '',\n  dismissText: 'Dismiss',\n  localStorageKey: templateString('tip-hidden.${tipKey}'),\n\n  didInsertElement() {\n    this._super(...arguments);\n    if (this.hasTipBeenHidden()) {\n      this.set('isVisible', false);\n    }\n  },\n  hasTipBeenHidden() {\n    let hasBeenHidden = false;\n    try {\n      hasBeenHidden = !!localStorage.getItem(this.localStorageKey);\n    } catch (e) {\n      // Accessing localStorage threw an error, nothing to do\n    }\n    return hasBeenHidden;\n  },\n  actions: {\n    dismiss() {\n      try {\n        localStorage.setItem(this.localStorageKey, 'true');\n      } catch (e) {\n        // Accessing localStorage threw an error, nothing to do\n      }\n      this.set('isVisible', false);\n    },\n  },\n});\n\nexport default TipComponent;\n","define(\"embercom/components/tools/anchor-editor\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/tools/anchor-editor\"], function (_exports, _anchorEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _anchorEditor.default;\n    }\n  });\n});\n","define(\"embercom/components/tools/button-editor\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/tools/button-editor\"], function (_exports, _buttonEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _buttonEditor.default;\n    }\n  });\n});\n","define(\"embercom/components/tools/image-editor\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/tools/image-editor\"], function (_exports, _imageEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _imageEditor.default;\n    }\n  });\n});\n","define(\"embercom/components/tools/media-inserter\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/tools/media-inserter\"], function (_exports, _mediaInserter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _mediaInserter.default;\n    }\n  });\n});\n","define(\"embercom/components/tools/media-inserter/video-inserter\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/tools/media-inserter/video-inserter\"], function (_exports, _videoInserter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _videoInserter.default;\n    }\n  });\n});\n","define(\"embercom/components/tools/media-toolbar\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/tools/media-toolbar\"], function (_exports, _mediaToolbar) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _mediaToolbar.default;\n    }\n  });\n});\n","define(\"embercom/components/tools/table-editor\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/tools/table-editor\"], function (_exports, _tableEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _tableEditor.default;\n    }\n  });\n});\n","define(\"embercom/components/tools/table-editor/column-control\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/tools/table-editor/column-control\"], function (_exports, _columnControl) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _columnControl.default;\n    }\n  });\n});\n","define(\"embercom/components/tools/table-editor/row-control\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/tools/table-editor/row-control\"], function (_exports, _rowControl) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _rowControl.default;\n    }\n  });\n});\n","define(\"embercom/components/tools/table-editor/table-control\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/tools/table-editor/table-control\"], function (_exports, _tableControl) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _tableControl.default;\n    }\n  });\n});\n","define(\"embercom/components/tools/template-inserter\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/tools/template-inserter\"], function (_exports, _templateInserter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _templateInserter.default;\n    }\n  });\n});\n","define(\"embercom/components/tools/text-formatter\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/tools/text-formatter\"], function (_exports, _textFormatter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _textFormatter.default;\n    }\n  });\n});\n","define(\"embercom/components/tools/typeaheads/emoji\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/tools/typeaheads/emoji\"], function (_exports, _emoji) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _emoji.default;\n    }\n  });\n});\n","define(\"embercom/components/tools/video-editor\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/tools/video-editor\"], function (_exports, _videoEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _videoEditor.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#unless @hideName}}\\n  <span class=\\\"t__h4 u__force-breaks\\\">\\n    {{@name}}\\n  </span>\\n{{/unless}}\\n<div\\n  class=\\\"attribute__description-tooltip__description u__force-breaks {{if @hideName \\\"o__no-name\\\"}}\\\"\\n>\\n  {{this.formattedDescription}}\\n  {{#if this.showEditLink}}\\n    <LinkTo\\n      @route={{@settingsPath}}\\n      @query={{hash attributeForDescriptionEditing=@attrIdentifier}}\\n    >\\n      {{#if @description}}\\n        Edit\\n      {{else}}\\n        Add a description\\n      {{/if}}\\n    </LinkTo>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{#unless @hideName}}\\n  <span class=\\\"t__h4 u__force-breaks\\\">\\n    {{@name}}\\n  </span>\\n{{/unless}}\\n<div\\n  class=\\\"attribute__description-tooltip__description u__force-breaks {{if @hideName \\\"o__no-name\\\"}}\\\"\\n>\\n  {{this.formattedDescription}}\\n  {{#if this.showEditLink}}\\n    <LinkTo\\n      @route={{@settingsPath}}\\n      @query={{hash attributeForDescriptionEditing=@attrIdentifier}}\\n    >\\n      {{#if @description}}\\n        Edit\\n      {{else}}\\n        Add a description\\n      {{/if}}\\n    </LinkTo>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/tooltips/attribute-and-event-description-content.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tooltips/attribute-and-event-description-content.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\n\nexport default class TooltipsAttributeAndEventDescription extends Component {\n  @service permissionsService;\n\n  get formattedDescription() {\n    let desc = this.args.description;\n    if (desc) {\n      // ensure that description always has full stop (intercom#45181)\n      return desc.endsWith('.') ? desc : `${desc}.`;\n    } else {\n      return '';\n    }\n  }\n\n  get showEditLink() {\n    return (\n      this.permissionsService.currentAdminCan('can_access_product_settings') &&\n      this.args.isDescriptionModifiable\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"user__hovercard__row\\\">\\n  <div class=\\\"flex items-center\\\">\\n    <span class=\\\"t__h3 u__one-line\\\" data-test-profile-name>\\n      {{@profile.name}}\\n    </span>\\n  </div>\\n  <div class=\\\"flex items-center\\\">\\n    <span class=\\\"profile__user-data__salesforce-type\\\" data-test-hubspot>\\n      {{ic-interface-icon 'hubspot'}} HubSpot Contact\\n    </span>\\n  </div>\\n</div>\\n\\n<div class=\\\"user__hovercard__row o__bottom\\\">\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Contact Owner\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        {{#if @profile.ownerName}}\\n          {{@profile.ownerName}}\\n        {{else}}\\n          <div class=\\\"t__light-text\\\">Unknown</div>\\n        {{/if}}\\n      </p>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Stage\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        {{#if @profile.objectType}}\\n          {{@profile.objectType}}\\n        {{else}}\\n          <div class=\\\"t__light-text\\\">Unknown</div>\\n        {{/if}}\\n      </p>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Status\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        {{#if @profile.status}}\\n          {{@profile.status}}\\n        {{else}}\\n          <div class=\\\"t__light-text\\\">Unknown</div>\\n        {{/if}}\\n      </p>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"user__hovercard__row\\\">\\n  <div class=\\\"flex items-center\\\">\\n    <span class=\\\"t__h3 u__one-line\\\" data-test-profile-name>\\n      {{@profile.name}}\\n    </span>\\n  </div>\\n  <div class=\\\"flex items-center\\\">\\n    <span class=\\\"profile__user-data__salesforce-type\\\" data-test-hubspot>\\n      {{ic-interface-icon 'hubspot'}} HubSpot Contact\\n    </span>\\n  </div>\\n</div>\\n\\n<div class=\\\"user__hovercard__row o__bottom\\\">\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Contact Owner\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        {{#if @profile.ownerName}}\\n          {{@profile.ownerName}}\\n        {{else}}\\n          <div class=\\\"t__light-text\\\">Unknown</div>\\n        {{/if}}\\n      </p>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Stage\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        {{#if @profile.objectType}}\\n          {{@profile.objectType}}\\n        {{else}}\\n          <div class=\\\"t__light-text\\\">Unknown</div>\\n        {{/if}}\\n      </p>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Status\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        {{#if @profile.status}}\\n          {{@profile.status}}\\n        {{else}}\\n          <div class=\\\"t__light-text\\\">Unknown</div>\\n        {{/if}}\\n      </p>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/tooltips/crm/hubspot-hovercard.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tooltips/crm/hubspot-hovercard.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"user__hovercard__row\\\" {{did-insert this.trackViewedEvent}}>\\n  <div class=\\\"flex items-center\\\">\\n    <span class=\\\"t__h3 u__one-line\\\" data-test-profile-name>\\n      {{@profile.name}}\\n    </span>\\n  </div>\\n  <div class=\\\"flex items-center\\\">\\n    <span class=\\\"profile__user-data__salesforce-type\\\" data-test-marketo>\\n      {{ic-interface-icon 'marketo'}} Marketo Lead\\n    </span>\\n  </div>\\n</div>\\n\\n<div class=\\\"user__hovercard__row o__bottom\\\">\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Lead Score\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        <div class=\\\"{{if (not @profile.leadScore) 't__light-text'}}\\\">\\n          {{if @profile.leadScore @profile.leadScore 'Unknown'}}\\n        </div>\\n      </p>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Lead Status\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        <div class=\\\"{{if (not @profile.leadStatus) 't__light-text'}}\\\">\\n          {{if @profile.leadStatus @profile.leadStatus 'Unknown'}}\\n        </div>\\n      </p>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"user__hovercard__row\\\" {{did-insert this.trackViewedEvent}}>\\n  <div class=\\\"flex items-center\\\">\\n    <span class=\\\"t__h3 u__one-line\\\" data-test-profile-name>\\n      {{@profile.name}}\\n    </span>\\n  </div>\\n  <div class=\\\"flex items-center\\\">\\n    <span class=\\\"profile__user-data__salesforce-type\\\" data-test-marketo>\\n      {{ic-interface-icon 'marketo'}} Marketo Lead\\n    </span>\\n  </div>\\n</div>\\n\\n<div class=\\\"user__hovercard__row o__bottom\\\">\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Lead Score\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        <div class=\\\"{{if (not @profile.leadScore) 't__light-text'}}\\\">\\n          {{if @profile.leadScore @profile.leadScore 'Unknown'}}\\n        </div>\\n      </p>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Lead Status\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        <div class=\\\"{{if (not @profile.leadStatus) 't__light-text'}}\\\">\\n          {{if @profile.leadStatus @profile.leadStatus 'Unknown'}}\\n        </div>\\n      </p>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/tooltips/crm/marketo-hovercard.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tooltips/crm/marketo-hovercard.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class TooltipsCrmMarketoHovercard extends Component {\n  @service intercomEventService;\n\n  @action\n  trackViewedEvent() {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'marketo_lead',\n      action: 'viewed',\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"user__hovercard__row\\\">\\n  <div class=\\\"flex items-center\\\">\\n    <span class=\\\"t__h3 u__one-line\\\" data-test-profile-name>\\n      {{ @profile.name }}\\n    </span>\\n  </div>\\n  <div class=\\\"flex items-center\\\">\\n    <span class=\\\"profile__user-data__salesforce-type\\\" data-test-pipedrive>\\n      {{ic-interface-icon 'pipedrive'}} Pipedrive Person\\n    </span>\\n  </div>\\n</div>\\n\\n<div class=\\\"user__hovercard__row o__bottom\\\">\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Deal\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        {{#if @profile.dealTitle}}\\n          {{@profile.dealTitle}}\\n        {{else}}\\n          <div class=\\\"t__light-text\\\">Unknown</div>\\n        {{/if}}\\n      </p>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Stage\\n      </p>\\n    <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n      {{#if @profile.stageName}}\\n        {{@profile.stageName}}\\n      {{else}}\\n        <div class=\\\"t__light-text\\\">Unknown</div>\\n      {{/if}}\\n      </p>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Status\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        {{#if @profile.dealStatus}}\\n          {{@profile.dealStatus}}\\n        {{else}}\\n          <div class=\\\"t__light-text\\\">Unknown</div>\\n        {{/if}}\\n      </p>\\n    </div>\\n  </div>\\n\\n  {{#if @hasExtraDeals}}\\n    <span class=\\\"t__light-text\\\">\\n      and {{@extraDealCount}} {{inflector-helper \\\"other\\\" @extraDealCount}}\\n    </span>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"user__hovercard__row\\\">\\n  <div class=\\\"flex items-center\\\">\\n    <span class=\\\"t__h3 u__one-line\\\" data-test-profile-name>\\n      {{ @profile.name }}\\n    </span>\\n  </div>\\n  <div class=\\\"flex items-center\\\">\\n    <span class=\\\"profile__user-data__salesforce-type\\\" data-test-pipedrive>\\n      {{ic-interface-icon 'pipedrive'}} Pipedrive Person\\n    </span>\\n  </div>\\n</div>\\n\\n<div class=\\\"user__hovercard__row o__bottom\\\">\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Deal\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        {{#if @profile.dealTitle}}\\n          {{@profile.dealTitle}}\\n        {{else}}\\n          <div class=\\\"t__light-text\\\">Unknown</div>\\n        {{/if}}\\n      </p>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Stage\\n      </p>\\n    <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n      {{#if @profile.stageName}}\\n        {{@profile.stageName}}\\n      {{else}}\\n        <div class=\\\"t__light-text\\\">Unknown</div>\\n      {{/if}}\\n      </p>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Status\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        {{#if @profile.dealStatus}}\\n          {{@profile.dealStatus}}\\n        {{else}}\\n          <div class=\\\"t__light-text\\\">Unknown</div>\\n        {{/if}}\\n      </p>\\n    </div>\\n  </div>\\n\\n  {{#if @hasExtraDeals}}\\n    <span class=\\\"t__light-text\\\">\\n      and {{@extraDealCount}} {{inflector-helper \\\"other\\\" @extraDealCount}}\\n    </span>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/tooltips/crm/pipedrive-hovercard.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tooltips/crm/pipedrive-hovercard.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"user__hovercard__row\\\">\\n  <div class=\\\"flex items-center\\\">\\n    <span class=\\\"t__h3 u__one-line\\\" data-test-profile-name>\\n      {{@profile.name}}\\n    </span>\\n  </div>\\n  <div class=\\\"flex items-center\\\">\\n    <span class=\\\"profile__user-data__salesforce-type\\\" data-test-salesforce>\\n      {{ic-interface-icon 'salesforce'}} Salesforce {{ @profile.objectType }}\\n    </span>\\n  </div>\\n</div>\\n\\n<div class=\\\"user__hovercard__row o__bottom\\\">\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Title\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        {{#if @profile.title}}\\n          {{@profile.title}}\\n        {{else}}\\n          <div class=\\\"t__light-text\\\">Unknown</div>\\n        {{/if}}\\n      </p>\\n    </div>\\n    {{#if (eq @profile.objectType \\\"Lead\\\") }}\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Lead Owner\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        {{#if @profile.ownerName}}\\n          {{@profile.ownerName}}\\n        {{else}}\\n          <div class=\\\"t__light-text\\\">Unknown</div>\\n        {{/if}}\\n      </p>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Lead Status\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        {{#if @profile.status}}\\n          {{@profile.status}}\\n        {{else}}\\n          <div class=\\\"t__light-text\\\">Unknown</div>\\n        {{/if}}\\n      </p>\\n    </div>\\n    {{else}}\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Account Owner\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        {{#if @profile.ownerName}}\\n          {{@profile.ownerName}}\\n        {{else}}\\n          <div class=\\\"t__light-text\\\">Unknown</div>\\n        {{/if}}\\n      </p>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Account Owner Role\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        {{#if @profile.ownerRole}}\\n          {{@profile.ownerRole}}\\n        {{else}}\\n          <div class=\\\"t__light-text\\\">Unknown</div>\\n        {{/if}}\\n      </p>\\n    </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"user__hovercard__row\\\">\\n  <div class=\\\"flex items-center\\\">\\n    <span class=\\\"t__h3 u__one-line\\\" data-test-profile-name>\\n      {{@profile.name}}\\n    </span>\\n  </div>\\n  <div class=\\\"flex items-center\\\">\\n    <span class=\\\"profile__user-data__salesforce-type\\\" data-test-salesforce>\\n      {{ic-interface-icon 'salesforce'}} Salesforce {{ @profile.objectType }}\\n    </span>\\n  </div>\\n</div>\\n\\n<div class=\\\"user__hovercard__row o__bottom\\\">\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Title\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        {{#if @profile.title}}\\n          {{@profile.title}}\\n        {{else}}\\n          <div class=\\\"t__light-text\\\">Unknown</div>\\n        {{/if}}\\n      </p>\\n    </div>\\n    {{#if (eq @profile.objectType \\\"Lead\\\") }}\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Lead Owner\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        {{#if @profile.ownerName}}\\n          {{@profile.ownerName}}\\n        {{else}}\\n          <div class=\\\"t__light-text\\\">Unknown</div>\\n        {{/if}}\\n      </p>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Lead Status\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        {{#if @profile.status}}\\n          {{@profile.status}}\\n        {{else}}\\n          <div class=\\\"t__light-text\\\">Unknown</div>\\n        {{/if}}\\n      </p>\\n    </div>\\n    {{else}}\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Account Owner\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        {{#if @profile.ownerName}}\\n          {{@profile.ownerName}}\\n        {{else}}\\n          <div class=\\\"t__light-text\\\">Unknown</div>\\n        {{/if}}\\n      </p>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1 u__padr__20\\\">\\n      <p class=\\\"t__label\\\">\\n        Account Owner Role\\n      </p>\\n      <p class=\\\"user__hovercard__row__data u__one-line\\\">\\n        {{#if @profile.ownerRole}}\\n          {{@profile.ownerRole}}\\n        {{else}}\\n          <div class=\\\"t__light-text\\\">Unknown</div>\\n        {{/if}}\\n      </p>\\n    </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/tooltips/crm/salesforce-hovercard.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tooltips/crm/salesforce-hovercard.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{@tooltipAttrs.sneakyAttribute}}\\n\", {\"contents\":\"{{@tooltipAttrs.sneakyAttribute}}\\n\",\"moduleName\":\"embercom/components/tooltips/embercom-core-testing-dropdown-component-tooltip.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tooltips/embercom-core-testing-dropdown-component-tooltip.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip\\n  @isInteractive={{true}}\\n  as |t|\\n>\\n  <t.opener>\\n    {{yield}}\\n  </t.opener>\\n  <t.content>\\n    <span class=\\\"quick-action\\\" {{on \\\"click\\\" @showFilePicker}} data-test-upload-icon>\\n      {{ic-interface-icon \\\"cloud-upload\\\" solo=true}}\\n    </span>\\n    <span class= \\\"quick-action\\\" {{on \\\"click\\\" @reset}} data-test-delete-icon>\\n      {{ic-interface-icon \\\"trash\\\" solo=true}}\\n    </span>\\n  </t.content>\\n</IcTooltip>\", {\"contents\":\"<IcTooltip\\n  @isInteractive={{true}}\\n  as |t|\\n>\\n  <t.opener>\\n    {{yield}}\\n  </t.opener>\\n  <t.content>\\n    <span class=\\\"quick-action\\\" {{on \\\"click\\\" @showFilePicker}} data-test-upload-icon>\\n      {{ic-interface-icon \\\"cloud-upload\\\" solo=true}}\\n    </span>\\n    <span class= \\\"quick-action\\\" {{on \\\"click\\\" @reset}} data-test-delete-icon>\\n      {{ic-interface-icon \\\"trash\\\" solo=true}}\\n    </span>\\n  </t.content>\\n</IcTooltip>\",\"moduleName\":\"embercom/components/tooltips/image-overlay.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tooltips/image-overlay.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"{{if @data.previousPeriod 'reporting__report-tab-tooltip__title'}}\\\" data-test-tooltip-period={{if @data.previousPeriod 'previous' 'current'}}>\\n  {{#if (and @data.currentDate (is-present @data.currentValue))}}\\n    {{#if (and @data.icon @data.iconLabel)}}\\n      {{ic-interface-icon @data.icon size='tiny'}} <strong>{{@data.iconLabel}}</strong><br>\\n    {{else if @data.iconLabel}}\\n      <strong>{{@data.iconLabel}}</strong><br>\\n    {{/if}}\\n\\n    <strong>\\n      {{#if @data.valueUnitIsMinute}}\\n        {{minutes-formatter @data.currentValue}}\\n      {{else if (eq @data.valueUnit 'percent')}}\\n        {{format-percentage-reports-detailed @data.currentValue}} {{@data.tooltipText}}\\n      {{else}}\\n        {{this.currencySymbol}}{{number-formatter-helper @data.currentValue}} {{#unless this.isCurrency}}{{pluralize @data.currentValue @data.valueUnit without-count=true}}{{/unless}}\\n      {{/if}}\\n    </strong>\\n    <br>\\n    <p>\\n      ({{if this.isBucketGreaterThanDay this.formattedCurrentRangeDate this.formattedCurrentDate}})\\n    </p>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"{{if @data.previousPeriod 'reporting__report-tab-tooltip__title'}}\\\" data-test-tooltip-period={{if @data.previousPeriod 'previous' 'current'}}>\\n  {{#if (and @data.currentDate (is-present @data.currentValue))}}\\n    {{#if (and @data.icon @data.iconLabel)}}\\n      {{ic-interface-icon @data.icon size='tiny'}} <strong>{{@data.iconLabel}}</strong><br>\\n    {{else if @data.iconLabel}}\\n      <strong>{{@data.iconLabel}}</strong><br>\\n    {{/if}}\\n\\n    <strong>\\n      {{#if @data.valueUnitIsMinute}}\\n        {{minutes-formatter @data.currentValue}}\\n      {{else if (eq @data.valueUnit 'percent')}}\\n        {{format-percentage-reports-detailed @data.currentValue}} {{@data.tooltipText}}\\n      {{else}}\\n        {{this.currencySymbol}}{{number-formatter-helper @data.currentValue}} {{#unless this.isCurrency}}{{pluralize @data.currentValue @data.valueUnit without-count=true}}{{/unless}}\\n      {{/if}}\\n    </strong>\\n    <br>\\n    <p>\\n      ({{if this.isBucketGreaterThanDay this.formattedCurrentRangeDate this.formattedCurrentDate}})\\n    </p>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/tooltips/reporting-chart-datum.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tooltips/reporting-chart-datum.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport moment from 'moment';\nimport {\n  dateRangeBucketFormatter,\n  isBucketGreaterThanDay,\n} from 'embercom/lib/inbox/date-range-bucket-formatter';\n\nconst CURRENCIES = {\n  dollars: '$',\n};\n\nexport default Component.extend({\n  'data-test-reporting-chart-tooltip': true,\n  iconLabel: null,\n  datePattern: computed('data.{currentDate,comparisonDate}', function() {\n    let currentDate = this.data.currentDate;\n    let comparisonDate = this.data.comparisonDate;\n\n    let currentDateMinusOneDay = moment(currentDate).subtract(1, 'days');\n    let currentDatePlusOneDay = moment(currentDate).add(1, 'days');\n\n    let isOneDayRange =\n      moment(comparisonDate).isSame(currentDateMinusOneDay, 'days') ||\n      moment(comparisonDate).isSame(currentDatePlusOneDay, 'days');\n    return comparisonDate && isOneDayRange ? 'MMM D, ddd HH:mm' : 'MMM D, ddd';\n  }),\n  formattedCurrentDate: computed('data.{currentDate,timezone}', function() {\n    return moment(this.data.currentDate)\n      .tz(this.data.timezone)\n      .format(this.datePattern);\n  }),\n\n  formattedCurrentRangeDate: computed(\n    'data.{currentDate,aggregationInterval,currentStart,currentEnd}',\n    function() {\n      return dateRangeBucketFormatter(\n        this.data.currentDate,\n        this.data.aggregationInterval,\n        this.data.rangeStart,\n        this.data.rangeEnd,\n      );\n    },\n  ),\n  isBucketGreaterThanDay: computed('data.aggregationInterval', function() {\n    return isBucketGreaterThanDay(this.data.aggregationInterval);\n  }),\n  isCurrency: computed('data.valueUnit', function() {\n    return this.data.valueUnit in CURRENCIES;\n  }),\n  currencySymbol: computed('data.valueUnit', 'isCurrency', function() {\n    if (this.isCurrency) {\n      return CURRENCIES[this.data.valueUnit];\n    }\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<strong>{{format-percentage-reports-detailed @data.percentage}}</strong> <span class=\\\"reporting__conversation-ratings-emoji conversation-rating__rating-{{@data.emojiValue}}\\\"></span><br>\\n{{@data.totalConversationsPerRating}} out of {{@data.conversations}} conversations\\n{{#if (and @data.rangeStart @data.rangeEnd)}}\\n<br>({{if this.isBucketGreaterThanDay this.formattedCurrentRangeDate this.formattedCurrentDate}})\\n{{/if}}\\n<br>\\n\", {\"contents\":\"<strong>{{format-percentage-reports-detailed @data.percentage}}</strong> <span class=\\\"reporting__conversation-ratings-emoji conversation-rating__rating-{{@data.emojiValue}}\\\"></span><br>\\n{{@data.totalConversationsPerRating}} out of {{@data.conversations}} conversations\\n{{#if (and @data.rangeStart @data.rangeEnd)}}\\n<br>({{if this.isBucketGreaterThanDay this.formattedCurrentRangeDate this.formattedCurrentDate}})\\n{{/if}}\\n<br>\\n\",\"moduleName\":\"embercom/components/tooltips/reporting-stacked-bar-datum.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tooltips/reporting-stacked-bar-datum.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport moment from 'moment';\nimport {\n  dateRangeBucketFormatter,\n  isBucketGreaterThanDay,\n} from 'embercom/lib/inbox/date-range-bucket-formatter';\n\nconst DATE_PATTERN = 'MMM D, ddd';\n\nexport default Component.extend({\n  'data-test-reporting-stacked-bar-tooltip': true,\n  formattedCurrentDate: computed('data.date', function() {\n    return moment(this.data.date).format(DATE_PATTERN);\n  }),\n  formattedCurrentRangeDate: computed(\n    'data.{date,aggregationInterval,rangeStart,rangeEnd}',\n    function() {\n      return dateRangeBucketFormatter(\n        this.data.date,\n        this.get('data.aggregationInterval'),\n        this.get('data.rangeStart'),\n        this.get('data.rangeEnd'),\n      );\n    },\n  ),\n  isBucketGreaterThanDay: computed('data.aggregationInterval', function() {\n    return isBucketGreaterThanDay(this.get('data.aggregationInterval'));\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip\\n  @isDisabled={{@isDisabled}}\\n  @isInteractive={{true}}\\nas |t|>\\n  <t.opener><span ...attributes>{{yield}}</span></t.opener>\\n  <t.content>\\n    <a {{on \\\"click\\\" this.requestPermission}} data-test-request-permission>{{this.actionText}}</a> to {{@intent}}\\n  </t.content>\\n</IcTooltip>\\n\", {\"contents\":\"<IcTooltip\\n  @isDisabled={{@isDisabled}}\\n  @isInteractive={{true}}\\nas |t|>\\n  <t.opener><span ...attributes>{{yield}}</span></t.opener>\\n  <t.content>\\n    <a {{on \\\"click\\\" this.requestPermission}} data-test-request-permission>{{this.actionText}}</a> to {{@intent}}\\n  </t.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/tooltips/restricted-access.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tooltips/restricted-access.hbs\"}});\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport Component from '@glimmer/component';\n\nexport default class TooltipsRestrictedAccess extends Component {\n  @service intercomEventService;\n  @service permissionsService;\n  @service router;\n  @service appService;\n\n  askForPermissionActionText = 'Ask for permission';\n  getASeatActionText = 'Get an inbox seat';\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get adminCanGiveThemselvesASeat() {\n    return this.app.currentAdmin.currentAppPermissions.can_access_workspace_settings;\n  }\n\n  get isInboxSeatRestriction() {\n    return this.args.permission === 'has_inbox_access';\n  }\n\n  get actionText() {\n    return this.isInboxSeatRestriction ? this.getASeatActionText : this.askForPermissionActionText;\n  }\n\n  @action\n  requestPermission() {\n    if (this.isInboxSeatRestriction && this.adminCanGiveThemselvesASeat) {\n      return this.router.transitionTo('apps.app.settings.teammates');\n    }\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'permission_requested',\n      object: this.args.object,\n      permission_key: this.args.permission,\n    });\n\n    this.permissionsService.loadAllAdminsAndShowPermissionRequestModal(this.args.permission);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcTooltip as |t|>\\n  <t.opener>\\n    {{yield}}\\n  </t.opener>\\n  <t.content>\\n    Created by {{display-admin-as-firstname @admin @reply.admin}}\\n    <time>{{abbreviated-relative-time-ago-helper @createdAt}}</time>\\n  </t.content>\\n</IcTooltip>\\n\", {\"contents\":\"<IcTooltip as |t|>\\n  <t.opener>\\n    {{yield}}\\n  </t.opener>\\n  <t.content>\\n    Created by {{display-admin-as-firstname @admin @reply.admin}}\\n    <time>{{abbreviated-relative-time-ago-helper @createdAt}}</time>\\n  </t.content>\\n</IcTooltip>\\n\",\"moduleName\":\"embercom/components/tooltips/saved-replies.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tooltips/saved-replies.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @isDisabled}}\\n  <span class=\\\"text-gray\\\" data-test-tour-audience-view-disabled>\\n    Turned off\\n  </span>\\n{{else}}\\n  <MatchingSystem::AudienceSummary\\n    @ruleset={{@ruleset}}\\n    @hideMatchBehavior={{true}}\\n    @useRolePredicateGroup={{false}}\\n  />\\n{{/if}}\\n\", {\"contents\":\"{{#if @isDisabled}}\\n  <span class=\\\"text-gray\\\" data-test-tour-audience-view-disabled>\\n    Turned off\\n  </span>\\n{{else}}\\n  <MatchingSystem::AudienceSummary\\n    @ruleset={{@ruleset}}\\n    @hideMatchBehavior={{true}}\\n    @useRolePredicateGroup={{false}}\\n  />\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/tours/editor/audience-view.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/editor/audience-view.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"layout__box o__flexes-to-1 tours__editor__panel-footer o__centers-all\\\">\\n  <div>\\n    <div class=\\\"u__m__15\\\">\\n      <Common::ArticleModal::Main @articleId=\\\"2900893\\\" as |modal|>\\n        <a onclick={{action \\\"showArticle\\\" modal}} class=\\\"flex items-start t__em-link u__mr__20\\\" data-test-article-opener>\\n          {{ic-interface-icon \\\"book\\\"}} How to show your tour automatically\\n        </a>\\n      </Common::ArticleModal::Main>\\n    </div>\\n  </div>\\n  <div class=\\\"tours__editor__panel-footer__button\\\">\\n    {{#if this.showAutomaticallyDisabled}}\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @label=\\\"Turn this back on\\\"\\n        @onClick={{action \\\"setShowAutomatically\\\" true}}\\n        @class=\\\"u__right\\\"\\n        data-test-show-automatically-on-button\\n      />\\n    {{else}}\\n      <IcButton\\n        @label=\\\"Turn this off\\\"\\n        @onClick={{action \\\"setShowAutomatically\\\" false}}\\n        @class=\\\"u__right\\\"\\n        data-test-show-automatically-off-button\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"layout__box o__flexes-to-1 tours__editor__panel-footer o__centers-all\\\">\\n  <div>\\n    <div class=\\\"u__m__15\\\">\\n      <Common::ArticleModal::Main @articleId=\\\"2900893\\\" as |modal|>\\n        <a onclick={{action \\\"showArticle\\\" modal}} class=\\\"flex items-start t__em-link u__mr__20\\\" data-test-article-opener>\\n          {{ic-interface-icon \\\"book\\\"}} How to show your tour automatically\\n        </a>\\n      </Common::ArticleModal::Main>\\n    </div>\\n  </div>\\n  <div class=\\\"tours__editor__panel-footer__button\\\">\\n    {{#if this.showAutomaticallyDisabled}}\\n      <IcButton\\n        @type=\\\"primary\\\"\\n        @label=\\\"Turn this back on\\\"\\n        @onClick={{action \\\"setShowAutomatically\\\" true}}\\n        @class=\\\"u__right\\\"\\n        data-test-show-automatically-on-button\\n      />\\n    {{else}}\\n      <IcButton\\n        @label=\\\"Turn this off\\\"\\n        @onClick={{action \\\"setShowAutomatically\\\" false}}\\n        @class=\\\"u__right\\\"\\n        data-test-show-automatically-off-button\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/tours/editor/audience/footer.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/editor/audience/footer.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, not } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  showAutomaticallyDisabled: not('tour.clientData.showAutomatically'),\n  intercomEventService: service(),\n\n  tour: readOnly('ruleset.rulesetLinks.firstObject.object'),\n\n  actions: {\n    setShowAutomatically(newValue) {\n      if (!this.get('tour.clientData')) {\n        this.set('tour.clientData', {});\n      }\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: newValue ? 'turn_showing_automatically_on' : 'turn_showing_automatically_off',\n        ruleset_id: this.ruleset.id,\n      });\n      this.set('tour.clientData.showAutomatically', newValue);\n    },\n\n    showArticle(modal) {\n      this.intercomEventService.trackAnalyticsEvent({\n        tour_id: this.get('tour.id'),\n        object: 'tour_help_doc',\n        action: 'clicked',\n        helpdoc_feature: 'product_tours',\n        helpdoc_name: 'show_tour_automatically',\n      });\n      modal.showArticle();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<@section.header data-test-tour-audience-header={{true}} as |header|>\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <Common::AccordionComponent::BlueHeaderTitle\\n      @isOpen={{header.isOpen}}\\n      @number={{@number}}\\n      @title=\\\"Show your tour automatically\\\"\\n      @isComplete={{and this.showAutomaticallyEnabled this.audienceCompleted}}\\n    />\\n    <div class=\\\"layout__box u__ml__35 o__flexes-to-1 o__centers-vertically\\\">\\n      {{#if (and (not header.isOpen) this.audienceCompleted)}}\\n        <Tours::Editor::AudienceView\\n          @isDisabled={{this.showAutomaticallyDisabled}}\\n          @ruleset={{@ruleset}}\\n        />\\n      {{/if}}\\n    </div>\\n  </div>\\n</@section.header>\\n<@section.header-action as |ha|>\\n  {{#if ha.isOpen}}\\n    <IcButton @label=\\\"Done\\\" @type=\\\"primary-on-blue\\\" class=\\\"u__mr__15\\\" />\\n  {{/if}}\\n</@section.header-action>\\n<@section.body as |body|>\\n  <MatchingSystem::AudienceSelector::Main\\n    @audienceEditorConfiguration={{this.audienceEditorConfiguration}}\\n    @isDisabled={{this.showAutomaticallyDisabled}}\\n    @ruleset={{@ruleset}}\\n    as |audienceSelector|>\\n    <audienceSelector.Footer>\\n      <Tours::Editor::Audience::Footer\\n        @ruleset={{@ruleset}}\\n        @showArticleModal={{@showArticleModal}}\\n      />\\n    </audienceSelector.Footer>\\n  </MatchingSystem::AudienceSelector::Main>\\n</@section.body>\\n\", {\"contents\":\"<@section.header data-test-tour-audience-header={{true}} as |header|>\\n  <div class=\\\"layout__box o__has-columns\\\">\\n    <Common::AccordionComponent::BlueHeaderTitle\\n      @isOpen={{header.isOpen}}\\n      @number={{@number}}\\n      @title=\\\"Show your tour automatically\\\"\\n      @isComplete={{and this.showAutomaticallyEnabled this.audienceCompleted}}\\n    />\\n    <div class=\\\"layout__box u__ml__35 o__flexes-to-1 o__centers-vertically\\\">\\n      {{#if (and (not header.isOpen) this.audienceCompleted)}}\\n        <Tours::Editor::AudienceView\\n          @isDisabled={{this.showAutomaticallyDisabled}}\\n          @ruleset={{@ruleset}}\\n        />\\n      {{/if}}\\n    </div>\\n  </div>\\n</@section.header>\\n<@section.header-action as |ha|>\\n  {{#if ha.isOpen}}\\n    <IcButton @label=\\\"Done\\\" @type=\\\"primary-on-blue\\\" class=\\\"u__mr__15\\\" />\\n  {{/if}}\\n</@section.header-action>\\n<@section.body as |body|>\\n  <MatchingSystem::AudienceSelector::Main\\n    @audienceEditorConfiguration={{this.audienceEditorConfiguration}}\\n    @isDisabled={{this.showAutomaticallyDisabled}}\\n    @ruleset={{@ruleset}}\\n    as |audienceSelector|>\\n    <audienceSelector.Footer>\\n      <Tours::Editor::Audience::Footer\\n        @ruleset={{@ruleset}}\\n        @showArticleModal={{@showArticleModal}}\\n      />\\n    </audienceSelector.Footer>\\n  </MatchingSystem::AudienceSelector::Main>\\n</@section.body>\\n\",\"moduleName\":\"embercom/components/tours/editor/audience/section.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/editor/audience/section.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, or, not } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { pluralize } from 'ember-inflector';\nimport Component from '@ember/component';\nimport StandardAudienceEditorConfiguration from 'embercom/objects/audience-editor/standard-audience-editor-configuration';\n\nexport default Component.extend({\n  audienceCompleted: or('showAutomaticallyDisabled', 'ruleset.audienceValid'),\n  showAutomaticallyDisabled: not('showAutomaticallyEnabled'),\n  showAutomaticallyEnabled: readOnly('tour.clientData.showAutomatically'),\n\n  audienceEditorConfiguration: computed('tooltipText', function() {\n    return new StandardAudienceEditorConfiguration({\n      showClientPredicates: true,\n      tooltipText: this.tooltipText,\n      audiencePreviewText:\n        'We’ll automatically show your tour to these people and anyone who matches your audience rules in the future. You can choose who sees your tour by adding or changing these any time.',\n      emptyStateDescription:\n        'If you set this tour live, it will be shown to anyone who matches these rules in the future.',\n      useLegacyPreviewList: true,\n    });\n  }),\n\n  _defaultUserType: 'user',\n  _userType: or('ruleset.predicateGroup.userType', 'defaultUserType'),\n  tooltipText: computed('_userType', function() {\n    return `We'll show this tour just one time to the ${pluralize(\n      this._userType,\n    )} who match your audience rules.`;\n  }),\n\n  tour: readOnly('ruleset.rulesetLinks.firstObject.object'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-rows\\\">\\n  <div\\n    class=\\\"layout__box  o__has-columns tours__editor__content-panel__content-container\\\"\\n    data-test-tour-editor-panel-timeline-container\\n  >\\n    <div class=\\\"layout__box  o__has_rows tours__editor__content-panel__tour-author-select-container\\\">\\n      <div class=\\\"f__v2__group\\\">\\n        <h3 class=\\\"t__label o__no-visual-margins\\\">\\n          Sender\\n        </h3>\\n        <div class=\\\"h-2\\\"></div>\\n        <div class=\\\"flex flex-col gap-4\\\">\\n          <IcContent>\\n            <div class=\\\"tours__editor__content-panel__tour-author-select\\\">\\n              <MessageEditor::Content::Sidebar::SenderDropdown\\n                @showDynamicSender={{true}}\\n                @variation={{variation}}\\n                @setSelected={{action \\\"setFrom\\\"}}\\n                class=\\\"o__fit\\\"\\n                data-test-author-dropdown=\\\"true\\\"\\n              />\\n            </div>\\n          </IcContent>\\n          <IcContent>\\n            {{#if (eq tour.senderType \\\"owner\\\")}}\\n              <div class=\\\"u__padl__20 message__editor__content__sidebar__fallback\\\">\\n                <label class=\\\"t__label\\\">\\n                  Fallback to\\n                </label>\\n                <MessageEditor::Content::Sidebar::SenderDropdown\\n                  @showDynamicSender={{false}}\\n                  @variation={{variation}}\\n                  @setSelected={{action \\\"setAuthor\\\"}}\\n                  class=\\\"o__fit\\\"\\n                  @isFallback={{true}}\\n                  data-test-fallback-dropdown=\\\"true\\\"\\n                />\\n              </div>\\n            {{/if}}\\n          </IcContent>\\n        </div>\\n      </div>\\n    </div>\\n    <div class=\\\"tours__editor__content-panel__timeline-container o__has_rows\\\">\\n      <div class=\\\"tours__editor__content-panel__timeline-component\\\">\\n        <div class=\\\"tours__editor__content-panel__timeline-heading\\\">\\n          <h3\\n            class=\\\"t__h3 t__label o__no-visual-margins\\\"\\n            data-test-tour-editor-panel-timeline-heading\\n          >\\n            Tour steps\\n          </h3>\\n        </div>\\n        {{#if tour.hasSteps}}\\n          <IntersectionLauncher @intersectionMode=\\\"tour-editor\\\" as |launcher|>\\n            <Tours::Editor::TimelineComponent\\n              @tour={{tour}}\\n              @isEditing={{true}}\\n              @hideStats={{true}}\\n              @headerIsOpen={{true}}\\n              @stepClickAction={{action launcher.openTourBuilder tour.url}}\\n            />\\n          </IntersectionLauncher>\\n        {{else}}\\n          <div\\n            class=\\\"layout__box tours__editor__timeline-component__display-flex o__centers-vertically\\\"\\n            data-test-empty-timeline\\n          >\\n            <div class=\\\"layout__box o__centers-all u__ml__20 tours__editor__content-panel__timeline-start-tour\\\">\\n              <IntersectionLauncher\\n                @intersectionMode=\\\"tour-editor\\\" as |launcher|\\n              >\\n                <IcButton\\n                  @type=\\\"primary\\\"\\n                  @icon=\\\"new\\\"\\n                  @label=\\\"Add steps\\\"\\n                  @onClick={{action\\n                    launcher.openTourSplashScreen\\n                    this.updateInsertableUrl\\n                  }}\\n                  data-test-open-splash-screen-button={{true}}\\n                />\\n              </IntersectionLauncher>\\n            </div>\\n            <div class=\\\"tours__editor__content-panel__empty-panel\\\"></div>\\n            <div class=\\\"tours__editor__content-panel__empty-panel\\\"></div>\\n            <div class=\\\"tours__editor__content-panel__empty-panel\\\"></div>\\n            <div class=\\\"tours__editor__content-panel__empty-panel\\\"></div>\\n          </div>\\n        {{/if}}\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"layout__box o__centers-all tours__editor__panel-footer\\\">\\n    <div class=\\\"u__m__15\\\">\\n      <Common::ArticleModal::Main @articleId=\\\"2900887\\\" as |modal|>\\n        <a onclick={{action \\\"showArticle\\\" modal}} data-test-article-opener\\n          class=\\\"flex items-start t__em-link u__mr__20\\\">\\n          {{ic-interface-icon \\\"book\\\"}} How to design your tour\\n        </a>\\n      </Common::ArticleModal::Main>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__has-rows\\\">\\n  <div\\n    class=\\\"layout__box  o__has-columns tours__editor__content-panel__content-container\\\"\\n    data-test-tour-editor-panel-timeline-container\\n  >\\n    <div class=\\\"layout__box  o__has_rows tours__editor__content-panel__tour-author-select-container\\\">\\n      <div class=\\\"f__v2__group\\\">\\n        <h3 class=\\\"t__label o__no-visual-margins\\\">\\n          Sender\\n        </h3>\\n        <div class=\\\"h-2\\\"></div>\\n        <div class=\\\"flex flex-col gap-4\\\">\\n          <IcContent>\\n            <div class=\\\"tours__editor__content-panel__tour-author-select\\\">\\n              <MessageEditor::Content::Sidebar::SenderDropdown\\n                @showDynamicSender={{true}}\\n                @variation={{variation}}\\n                @setSelected={{action \\\"setFrom\\\"}}\\n                class=\\\"o__fit\\\"\\n                data-test-author-dropdown=\\\"true\\\"\\n              />\\n            </div>\\n          </IcContent>\\n          <IcContent>\\n            {{#if (eq tour.senderType \\\"owner\\\")}}\\n              <div class=\\\"u__padl__20 message__editor__content__sidebar__fallback\\\">\\n                <label class=\\\"t__label\\\">\\n                  Fallback to\\n                </label>\\n                <MessageEditor::Content::Sidebar::SenderDropdown\\n                  @showDynamicSender={{false}}\\n                  @variation={{variation}}\\n                  @setSelected={{action \\\"setAuthor\\\"}}\\n                  class=\\\"o__fit\\\"\\n                  @isFallback={{true}}\\n                  data-test-fallback-dropdown=\\\"true\\\"\\n                />\\n              </div>\\n            {{/if}}\\n          </IcContent>\\n        </div>\\n      </div>\\n    </div>\\n    <div class=\\\"tours__editor__content-panel__timeline-container o__has_rows\\\">\\n      <div class=\\\"tours__editor__content-panel__timeline-component\\\">\\n        <div class=\\\"tours__editor__content-panel__timeline-heading\\\">\\n          <h3\\n            class=\\\"t__h3 t__label o__no-visual-margins\\\"\\n            data-test-tour-editor-panel-timeline-heading\\n          >\\n            Tour steps\\n          </h3>\\n        </div>\\n        {{#if tour.hasSteps}}\\n          <IntersectionLauncher @intersectionMode=\\\"tour-editor\\\" as |launcher|>\\n            <Tours::Editor::TimelineComponent\\n              @tour={{tour}}\\n              @isEditing={{true}}\\n              @hideStats={{true}}\\n              @headerIsOpen={{true}}\\n              @stepClickAction={{action launcher.openTourBuilder tour.url}}\\n            />\\n          </IntersectionLauncher>\\n        {{else}}\\n          <div\\n            class=\\\"layout__box tours__editor__timeline-component__display-flex o__centers-vertically\\\"\\n            data-test-empty-timeline\\n          >\\n            <div class=\\\"layout__box o__centers-all u__ml__20 tours__editor__content-panel__timeline-start-tour\\\">\\n              <IntersectionLauncher\\n                @intersectionMode=\\\"tour-editor\\\" as |launcher|\\n              >\\n                <IcButton\\n                  @type=\\\"primary\\\"\\n                  @icon=\\\"new\\\"\\n                  @label=\\\"Add steps\\\"\\n                  @onClick={{action\\n                    launcher.openTourSplashScreen\\n                    this.updateInsertableUrl\\n                  }}\\n                  data-test-open-splash-screen-button={{true}}\\n                />\\n              </IntersectionLauncher>\\n            </div>\\n            <div class=\\\"tours__editor__content-panel__empty-panel\\\"></div>\\n            <div class=\\\"tours__editor__content-panel__empty-panel\\\"></div>\\n            <div class=\\\"tours__editor__content-panel__empty-panel\\\"></div>\\n            <div class=\\\"tours__editor__content-panel__empty-panel\\\"></div>\\n          </div>\\n        {{/if}}\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"layout__box o__centers-all tours__editor__panel-footer\\\">\\n    <div class=\\\"u__m__15\\\">\\n      <Common::ArticleModal::Main @articleId=\\\"2900887\\\" as |modal|>\\n        <a onclick={{action \\\"showArticle\\\" modal}} data-test-article-opener\\n          class=\\\"flex items-start t__em-link u__mr__20\\\">\\n          {{ic-interface-icon \\\"book\\\"}} How to design your tour\\n        </a>\\n      </Common::ArticleModal::Main>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/tours/editor/content-panel.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/editor/content-panel.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport EmberObject, { computed } from '@ember/object';\n\nexport default Component.extend({\n  appService: service(),\n  intercomEventService: service(),\n  app: readOnly('appService.app'),\n  // We make a fake variation as a bridge between the tour and the format\n  // expected by the sender-dropdown component\n  variation: computed('tour.{fromId,senderType}', function() {\n    return EmberObject.create({\n      dynamicSender: this.tour.senderType === 'owner',\n      from: this.tour.from,\n      showDynamicSender: true,\n    });\n  }),\n  actions: {\n    setFrom(selected) {\n      let { isDynamicSender } = selected.model;\n\n      this.set('tour.senderType', isDynamicSender ? 'owner' : 'standard');\n\n      if (!isDynamicSender) {\n        this.send('setAuthor', selected);\n      }\n    },\n    setAuthor(selected) {\n      let { id } = selected.model;\n      this.set('tour.fromId', id);\n    },\n    openBuildUrl(url, launcher) {\n      launcher.openTourBuilder(url);\n      return false;\n    },\n    showArticle(modal) {\n      this.intercomEventService.trackAnalyticsEvent({\n        tour_id: this.get('tour.id'),\n        object: 'tour_help_doc',\n        action: 'clicked',\n        helpdoc_feature: 'product_tours',\n        helpdoc_name: 'design_tour',\n      });\n      modal.showArticle();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @stats}}\\n  <td\\n    class=\\\"t__light-text u__right u__padt__5 u__padr__5\\\"\\n    data-test-tour-step-views\\n  >\\n    <IcTooltip data-test-tour-step-views-tooltip-opener as |t|>\\n      <t.opener>\\n        {{numeric-formatter-helper @stats.count}} {{pluralize @stats.count \\\"view\\\" without-count=true}}\\n        {{#if @isFirst}}\\n          since last update\\n        {{else}}\\n          ({{format-percentage @stats.percentage}})\\n        {{/if}}\\n      </t.opener>\\n      <t.content data-test-tour-step-views-tooltip>\\n        {{numeric-formatter-helper @stats.count}} {{pluralize @stats.count \\\"people\\\" without-count=true}}\\n        {{#unless @isFirst}}\\n          ({{format-percentage @stats.percentage}} of total)\\n        {{/unless}}\\n        viewed this step since last update {{full-relative-time-ago-helper @tour.stepsUpdatedAt}}\\n      </t.content>\\n    </IcTooltip>\\n  </td>\\n  <td></td>\\n{{/if}}\\n\", {\"contents\":\"{{#if @stats}}\\n  <td\\n    class=\\\"t__light-text u__right u__padt__5 u__padr__5\\\"\\n    data-test-tour-step-views\\n  >\\n    <IcTooltip data-test-tour-step-views-tooltip-opener as |t|>\\n      <t.opener>\\n        {{numeric-formatter-helper @stats.count}} {{pluralize @stats.count \\\"view\\\" without-count=true}}\\n        {{#if @isFirst}}\\n          since last update\\n        {{else}}\\n          ({{format-percentage @stats.percentage}})\\n        {{/if}}\\n      </t.opener>\\n      <t.content data-test-tour-step-views-tooltip>\\n        {{numeric-formatter-helper @stats.count}} {{pluralize @stats.count \\\"people\\\" without-count=true}}\\n        {{#unless @isFirst}}\\n          ({{format-percentage @stats.percentage}} of total)\\n        {{/unless}}\\n        viewed this step since last update {{full-relative-time-ago-helper @tour.stepsUpdatedAt}}\\n      </t.content>\\n    </IcTooltip>\\n  </td>\\n  <td></td>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/tours/editor/content/timeline-step-stats.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/editor/content/timeline-step-stats.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<td>\\n  <div\\n    class={{this.containerClass}}\\n    data-test-tour-editor-panel-timeline-step={{@step.order}}\\n    onclick={{action \\\"openTourBuilder\\\"}}\\n  >\\n    {{#if @step.isPointer}}\\n      <div\\n        class=\\\"tours__editor__timeline-component__pointer-arrow-container\\\"\\n        data-test-tour-editor-panel-timeline-step-arrow\\n      ></div>\\n    {{/if}}\\n    <div class=\\\"tours__editor__timeline-component__step__inner-container\\\">\\n      <div class=\\\"tours__editor__timeline-component__scaled-container\\\">\\n        {{#if (not @step.isVideo)}}\\n          <div\\n            class=\\\"tours__editor__timeline-component__author__container\\\"\\n            data-test-tour-timeline-author-container\\n          >\\n            <div class=\\\"tours__editor__timeline-component__authored-container-avatar\\\">\\n              <div class=\\\"tours__editor__timeline-component__intercom-avatar\\\">\\n                {{#if (eq @tour.senderType \\\"owner\\\")}}\\n                  {{ic-interface-icon \\\"owner\\\" solo=true size=24}}\\n                {{else}}\\n                  {{ic-avatar model=@tour.from size=\\\"m\\\"}}\\n                {{/if}}\\n              </div>\\n            </div>\\n            <div class=\\\"tours__editor__timeline-component__author-summary\\\">\\n              <span\\n                class=\\\"tours__editor__timeline-component__author-summary-name\\\"\\n                data-test-tour-timeline-author-name\\n              >\\n                {{#if (eq @tour.senderType \\\"owner\\\")}}\\n                  <strong>\\n                    Owner\\n                  </strong>\\n                {{else}}\\n                  {{@tour.from.firstName}}\\n                {{/if}}\\n              </span>\\n              <span\\n                class=\\\"tours__editor__timeline-component__author-summary-from-clause\\\"\\n                data-test-tour-timeline-author-company\\n              >\\n                from {{@app.name}}\\n              </span>\\n            </div>\\n          </div>\\n        {{/if}}\\n        <div class=\\\"tours__editor__timeline-component__block-container intercom-blocks {{this.blocksClass}}\\\">\\n          <ComposerV2\\n            data-test-read-only-composer-block\\n            @actionReceiver={{this.composerComponent}}\\n            @isReadOnly={{true}}\\n            class=\\\"intercom_composer\\\"\\n            @attributes={{@app.attributes}}\\n            @preset=\\\"readOnly\\\"\\n            @editorClass=\\\"tours__editor__timeline-component__block-content\\\"\\n            @blocks={{@blocks}}\\n            @onError={{composer-error-logger \\\"Tours\\\"}}\\n          />\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n</td>\\n{{#if this.showProgressIcon}}\\n  <td>\\n    <div\\n      class=\\\"tours__editor__timeline-component__step-progress-icon layout__box o__centers-vertically\\\"\\n      data-test-tour-editor-panel-timeline-next-step-icon\\n    >\\n      <IcTooltip as |t|>\\n        <t.opener>\\n          {{#if @step.isClickToProgress}}\\n            <span data-test-click-element-icon>\\n              {{ic-interface-icon \\\"click-element\\\" color=\\\"gray\\\" solo=true}}\\n            </span>\\n          {{else}}\\n            <span data-test-next-step-icon>\\n              {{ic-interface-icon \\\"next-step\\\" color=\\\"gray\\\" solo=true}}\\n            </span>\\n          {{/if}}\\n        </t.opener>\\n        <t.content data-test-step-tooltip>\\n          {{#if @isLast}}\\n            End tour\\n          {{else}}\\n            Advance\\n          {{/if}}\\n          by clicking on the\\n          {{#if @step.isClickToProgress}}\\n            element being pointed to\\n          {{else if @isLast}}\\n            <b>Done</b> button\\n          {{else}}\\n            <b>Next</b> button\\n          {{/if}}\\n        </t.content>\\n      </IcTooltip>\\n    </div>\\n  </td>\\n{{/if}}\\n{{#if this.showAddNewStep}}\\n  <td>\\n    <div\\n      class=\\\"tours__editor__timeline-component__add-step-block layout__box o__has-rows o__centers-all u__mr__20\\\"\\n      data-test-tour-add-new-step\\n    >\\n      <IntersectionLauncher @intersectionMode=\\\"tour-editor\\\" as |launcher|>\\n        <IcButton\\n          @type=\\\"primary\\\"\\n          @icon=\\\"new\\\"\\n          @label=\\\"Add steps\\\"\\n          @onClick={{action \\\"openTourBuilder\\\"}}\\n          data-test-open-tour-builder={{true}}\\n        />\\n      </IntersectionLauncher>\\n    </div>\\n  </td>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<td>\\n  <div\\n    class={{this.containerClass}}\\n    data-test-tour-editor-panel-timeline-step={{@step.order}}\\n    onclick={{action \\\"openTourBuilder\\\"}}\\n  >\\n    {{#if @step.isPointer}}\\n      <div\\n        class=\\\"tours__editor__timeline-component__pointer-arrow-container\\\"\\n        data-test-tour-editor-panel-timeline-step-arrow\\n      ></div>\\n    {{/if}}\\n    <div class=\\\"tours__editor__timeline-component__step__inner-container\\\">\\n      <div class=\\\"tours__editor__timeline-component__scaled-container\\\">\\n        {{#if (not @step.isVideo)}}\\n          <div\\n            class=\\\"tours__editor__timeline-component__author__container\\\"\\n            data-test-tour-timeline-author-container\\n          >\\n            <div class=\\\"tours__editor__timeline-component__authored-container-avatar\\\">\\n              <div class=\\\"tours__editor__timeline-component__intercom-avatar\\\">\\n                {{#if (eq @tour.senderType \\\"owner\\\")}}\\n                  {{ic-interface-icon \\\"owner\\\" solo=true size=24}}\\n                {{else}}\\n                  {{ic-avatar model=@tour.from size=\\\"m\\\"}}\\n                {{/if}}\\n              </div>\\n            </div>\\n            <div class=\\\"tours__editor__timeline-component__author-summary\\\">\\n              <span\\n                class=\\\"tours__editor__timeline-component__author-summary-name\\\"\\n                data-test-tour-timeline-author-name\\n              >\\n                {{#if (eq @tour.senderType \\\"owner\\\")}}\\n                  <strong>\\n                    Owner\\n                  </strong>\\n                {{else}}\\n                  {{@tour.from.firstName}}\\n                {{/if}}\\n              </span>\\n              <span\\n                class=\\\"tours__editor__timeline-component__author-summary-from-clause\\\"\\n                data-test-tour-timeline-author-company\\n              >\\n                from {{@app.name}}\\n              </span>\\n            </div>\\n          </div>\\n        {{/if}}\\n        <div class=\\\"tours__editor__timeline-component__block-container intercom-blocks {{this.blocksClass}}\\\">\\n          <ComposerV2\\n            data-test-read-only-composer-block\\n            @actionReceiver={{this.composerComponent}}\\n            @isReadOnly={{true}}\\n            class=\\\"intercom_composer\\\"\\n            @attributes={{@app.attributes}}\\n            @preset=\\\"readOnly\\\"\\n            @editorClass=\\\"tours__editor__timeline-component__block-content\\\"\\n            @blocks={{@blocks}}\\n            @onError={{composer-error-logger \\\"Tours\\\"}}\\n          />\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n</td>\\n{{#if this.showProgressIcon}}\\n  <td>\\n    <div\\n      class=\\\"tours__editor__timeline-component__step-progress-icon layout__box o__centers-vertically\\\"\\n      data-test-tour-editor-panel-timeline-next-step-icon\\n    >\\n      <IcTooltip as |t|>\\n        <t.opener>\\n          {{#if @step.isClickToProgress}}\\n            <span data-test-click-element-icon>\\n              {{ic-interface-icon \\\"click-element\\\" color=\\\"gray\\\" solo=true}}\\n            </span>\\n          {{else}}\\n            <span data-test-next-step-icon>\\n              {{ic-interface-icon \\\"next-step\\\" color=\\\"gray\\\" solo=true}}\\n            </span>\\n          {{/if}}\\n        </t.opener>\\n        <t.content data-test-step-tooltip>\\n          {{#if @isLast}}\\n            End tour\\n          {{else}}\\n            Advance\\n          {{/if}}\\n          by clicking on the\\n          {{#if @step.isClickToProgress}}\\n            element being pointed to\\n          {{else if @isLast}}\\n            <b>Done</b> button\\n          {{else}}\\n            <b>Next</b> button\\n          {{/if}}\\n        </t.content>\\n      </IcTooltip>\\n    </div>\\n  </td>\\n{{/if}}\\n{{#if this.showAddNewStep}}\\n  <td>\\n    <div\\n      class=\\\"tours__editor__timeline-component__add-step-block layout__box o__has-rows o__centers-all u__mr__20\\\"\\n      data-test-tour-add-new-step\\n    >\\n      <IntersectionLauncher @intersectionMode=\\\"tour-editor\\\" as |launcher|>\\n        <IcButton\\n          @type=\\\"primary\\\"\\n          @icon=\\\"new\\\"\\n          @label=\\\"Add steps\\\"\\n          @onClick={{action \\\"openTourBuilder\\\"}}\\n          data-test-open-tour-builder={{true}}\\n        />\\n      </IntersectionLauncher>\\n    </div>\\n  </td>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/tours/editor/content/timeline-step.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/editor/content/timeline-step.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { and, not, or } from '@ember/object/computed';\n\nexport default Component.extend({\n  tagName: '',\n  containerClass: computed('step.style', function() {\n    return `tours__editor__timeline-component__step-container tours__editor__timeline-component__${this.step.style}-step-container`;\n  }),\n\n  blocksClass: computed('step', function() {\n    if (this.get('step.isPointer')) {\n      return 'intercom-embed-tour-step-pointer';\n    } else if (this.get('step.isPost')) {\n      return 'intercom-embed-tour-step-post';\n    } else {\n      return 'tours__editor__timeline-component__video-step-container__inner';\n    }\n  }),\n\n  isNotLast: not('isLast'),\n  showAddNewStep: and('isLast', 'headerIsOpen'),\n  showProgressIcon: or('showAddNewStep', 'isNotLast'),\n\n  didUpdateAttrs() {\n    this._super(...arguments);\n    this.composerComponent.send('load', this.blocks);\n  },\n\n  actions: {\n    openTourBuilder() {\n      if (this.stepClickAction) {\n        this.stepClickAction();\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500);\\n\\n{{stylesheetBody}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500);\\n\\n{{stylesheetBody}}\\n\",\"moduleName\":\"embercom/components/tours/editor/embedded-styles.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/editor/embedded-styles.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\nimport IntercomEmbed from '@intercom/intercom-embed';\nimport AppColor from 'embercom/lib/color';\n\nexport default Component.extend({\n  appColor: notImplemented(),\n  tagName: 'style',\n  stylesheetBody: computed('appColor', function() {\n    if (IntercomEmbed && IntercomEmbed.getStylesheet) {\n      return IntercomEmbed.getStylesheet()\n        .replace(/-intercom-app-color/g, this.appColor)\n        .replace(/#intercom_composer/g, '.intercom_composer');\n    } else {\n      return '';\n    }\n  }),\n  applicationColors: computed('appColor', function() {\n    return new AppColor().generate_message_box_colors(this.appColor);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"layout__box o__flexes-to-1 o__has-rows tours__editor__insertion-panel\\\"\\n  data-test-insertion-panel-body\\n>\\n  <div class=\\\"layout__box o__has-rows o__flexes-to-1 tours__editor__insertion-panel__body {{if @isDisabled \\\"o__disabled u__disable-pointer-events\\\"}}\\\">\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-columns o__centers-horizontally\\\">\\n      <div class=\\\"tours__editor__insertion-panel__messenger-container\\\">\\n        <div class=\\\"layout__box o__has-rows tours__editor__insertion-panel__messenger\\\">\\n          <div class=\\\"layout__box o__has-columns\\\">\\n            <div\\n              class=\\\"layout__box tours__editor__insertion-panel__product-tour-card-author pl-8\\\"\\n              data-test-insertion-panel-body-avatar\\n            >\\n              <div class=\\\"messenger-preview__stream__avatar messenger-preview__stream__operator-avatar\\\">\\n                {{inline-svg \\\"interface-icons/standard/operator\\\"}}\\n              </div>\\n            </div>\\n            <Tours::Editor::TourCardPreview @tour={{@tour}} />\\n          </div>\\n          <div class=\\\"layout__box o__has-columns tours__editor__insertion-panel__messenger__footer text-gray p-3\\\">\\n            <div class=\\\"layout__box o__flexes-to-1 m-3\\\">\\n              {{inline-svg \\\"tours/placeholder\\\"}}\\n            </div>\\n            <div class=\\\"layout__box m-3\\\">\\n              <span class=\\\"mr-3\\\">\\n                {{inline-svg\\n                  \\\"tours/gif-picker-icon\\\"\\n                  class=\\\"tours__editor__insertion-panel__messenger__footer__gif-picker-icon\\\"\\n                }}\\n              </span>\\n              <span class=\\\"mr-3\\\">\\n                {{ic-interface-icon \\\"lwr-happy\\\"}}\\n              </span>\\n              <span>\\n                {{ic-interface-icon \\\"attachment\\\"}}\\n              </span>\\n            </div>\\n          </div>\\n        </div>\\n        <div class=\\\"layout__box tours__editor__insertion-panel__url-container\\\">\\n          <h4 class=\\\"layout__box t__h4 text-gray mt-8\\\">\\n            Where should this tour begin?\\n          </h4>\\n          <div class=\\\"mt-3 mb-1\\\">\\n            <Tours::Editor::ViewOrEditInsertionUrl\\n              @tour={{@tour}}\\n              @isDisabled={{@isDisabled}}\\n              @isPreviewMode={{false}}\\n              @viewPortSelector=\\\".tours__accordion\\\"\\n              @copyableUrl={{@copyableUrl}}\\n              />\\n          </div>\\n          <div class=\\\"t__light-text mb-1\\\">\\n            Make sure everyone can access this URL\\n          </div>\\n          {{#if @isPublished}}\\n            <a\\n              class=\\\"btn__tertiary tours__editor__insertion-panel__tooltip-btn u__prevent-breaks\\\"\\n              {{copy-to-clipboard\\n                text=@copyableUrl\\n                confirmationMessage=\\\"URL for your tour has been copied to your clipboard\\\"\\n              }}\\n              data-test-copy-url-btn\\n            >\\n              Copy link\\n            </a>\\n          {{/if}}\\n        </div>\\n      </div>\\n      <div class=\\\"layout__box u__padl__40 o__has-rows u__mt__40 tours__editor__insertion-panel__text\\\">\\n        <h2 class=\\\"layout__box t__h2\\\">\\n          Send your tour to people everywhere\\n        </h2>\\n        <div class=\\\"layout__box o__flexes-to-1 o__has-columns\\\">\\n          <div class=\\\"layout__box u__mr__15 tours__editor__insertion-panel__text-column\\\">\\n            <div class=\\\"layout__box o__has-columns u__mt__20\\\">\\n              <div class=\\\"layout__box o__centers-horizontally u__mr__10\\\">\\n                <IcIllustrativeIcon @name=\\\"operator\\\" @size=\\\"small\\\" />\\n              </div>\\n              <div class=\\\"layout__box o__flexes-to-1\\\">\\n                <h3 class=\\\"t__h3 u__mb__5\\\">\\n                  Custom Bots\\n                </h3>\\n                <p class=\\\"text-gray\\\">\\n                  Capture intent and send people on the right path\\n                </p>\\n              </div>\\n            </div>\\n            <div class=\\\"layout__box o__has-columns u__mt__20 o__flexes-to-1\\\">\\n              <div class=\\\"layout__box o__centers-horizontally u__mr__10\\\">\\n                <IcIllustrativeIcon @name=\\\"operator\\\" @size=\\\"small\\\" />\\n              </div>\\n              <div class=\\\"layout__box o__flexes-to-1\\\">\\n                <h3 class=\\\"t__h3 u__mb__5\\\">\\n                  Resolution Bot\\n                </h3>\\n                <p class=\\\"text-gray\\\">\\n                  Automatically help customers find what they're looking for\\n                </p>\\n              </div>\\n            </div>\\n            <div class=\\\"layout__box o__has-columns u__mt__20 o__flexes-to-1\\\">\\n              <div class=\\\"layout__box o__centers-horizontally u__mr__10\\\">\\n                <IcIllustrativeIcon @name=\\\"link\\\" @size=\\\"small\\\" />\\n              </div>\\n              <div class=\\\"layout__box o__flexes-to-1\\\">\\n                <h3 class=\\\"t__h3 u__mb__5\\\">\\n                  Email, articles, and more\\n                </h3>\\n                <p class=\\\"text-gray\\\">\\n                  Link to your tour from anywhere\\n                </p>\\n              </div>\\n            </div>\\n          </div>\\n          <div class=\\\"layout__box tours__editor__insertion-panel__text-column\\\">\\n            <div class=\\\"layout__box o__has-columns u__mt__20 o__flexes-to-1\\\">\\n              <div class=\\\"layout__box o__centers-horizontally u__mr__10\\\">\\n                <IcIllustrativeIcon @name=\\\"messenger\\\" @size=\\\"small\\\" />\\n              </div>\\n              <div class=\\\"layout__box o__flexes-to-1\\\">\\n                <h3 class=\\\"t__h3 u__mb__5\\\">\\n                  In-app messages\\n                </h3>\\n                <p class=\\\"text-gray\\\">\\n                  Create campaigns for education and growth\\n                </p>\\n              </div>\\n            </div>\\n            <div class=\\\"layout__box o__has-columns u__mt__20 o__flexes-to-1\\\">\\n              <div class=\\\"layout__box o__centers-horizontally u__mr__10\\\">\\n                <IcIllustrativeIcon @name=\\\"respond\\\" @size=\\\"small\\\" />\\n              </div>\\n              <div class=\\\"layout__box o__flexes-to-1\\\">\\n                <h3 class=\\\"t__h3 u__mb__5\\\">\\n                  Inbox\\n                </h3>\\n                <p class=\\\"text-gray\\\">\\n                  Offer support that goes beyond words\\n                </p>\\n              </div>\\n            </div>\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"layout__box tours__editor__panel-footer o__flexes-to-1 o__centers-all\\\">\\n    <div class=\\\"layout__box o__centers-all tours__editor__panel-footer\\\">\\n      <div class=\\\"u__m__15\\\">\\n        <Common::ArticleModal::Main @articleId=\\\"2901144\\\" as |modal|>\\n          <a onclick={{action \\\"showArticle\\\" modal}} class=\\\"flex items-start t__em-link u__mr__20\\\" data-test-article-opener>\\n            {{ic-interface-icon \\\"book\\\"}} How to use your tour everywhere\\n          </a>\\n        </Common::ArticleModal::Main>\\n      </div>\\n    </div>\\n    <div class=\\\"tours__editor__panel-footer__button\\\">\\n      {{#if @isDisabled}}\\n        <IcButton\\n          @type=\\\"primary\\\"\\n          @label=\\\"Turn this back on\\\"\\n          @onClick={{action @onEnable}}\\n          class=\\\"u__right\\\"\\n          data-test-enable-insertion-button={{true}}\\n        />\\n      {{else}}\\n        <IcButton\\n          @label=\\\"Turn this off\\\"\\n          @onClick={{action @onDisable}}\\n          class=\\\"u__right\\\"\\n          data-test-disable-insertion-button={{true}}\\n        />\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div\\n  class=\\\"layout__box o__flexes-to-1 o__has-rows tours__editor__insertion-panel\\\"\\n  data-test-insertion-panel-body\\n>\\n  <div class=\\\"layout__box o__has-rows o__flexes-to-1 tours__editor__insertion-panel__body {{if @isDisabled \\\"o__disabled u__disable-pointer-events\\\"}}\\\">\\n    <div class=\\\"layout__box o__flexes-to-1 o__has-columns o__centers-horizontally\\\">\\n      <div class=\\\"tours__editor__insertion-panel__messenger-container\\\">\\n        <div class=\\\"layout__box o__has-rows tours__editor__insertion-panel__messenger\\\">\\n          <div class=\\\"layout__box o__has-columns\\\">\\n            <div\\n              class=\\\"layout__box tours__editor__insertion-panel__product-tour-card-author pl-8\\\"\\n              data-test-insertion-panel-body-avatar\\n            >\\n              <div class=\\\"messenger-preview__stream__avatar messenger-preview__stream__operator-avatar\\\">\\n                {{inline-svg \\\"interface-icons/standard/operator\\\"}}\\n              </div>\\n            </div>\\n            <Tours::Editor::TourCardPreview @tour={{@tour}} />\\n          </div>\\n          <div class=\\\"layout__box o__has-columns tours__editor__insertion-panel__messenger__footer text-gray p-3\\\">\\n            <div class=\\\"layout__box o__flexes-to-1 m-3\\\">\\n              {{inline-svg \\\"tours/placeholder\\\"}}\\n            </div>\\n            <div class=\\\"layout__box m-3\\\">\\n              <span class=\\\"mr-3\\\">\\n                {{inline-svg\\n                  \\\"tours/gif-picker-icon\\\"\\n                  class=\\\"tours__editor__insertion-panel__messenger__footer__gif-picker-icon\\\"\\n                }}\\n              </span>\\n              <span class=\\\"mr-3\\\">\\n                {{ic-interface-icon \\\"lwr-happy\\\"}}\\n              </span>\\n              <span>\\n                {{ic-interface-icon \\\"attachment\\\"}}\\n              </span>\\n            </div>\\n          </div>\\n        </div>\\n        <div class=\\\"layout__box tours__editor__insertion-panel__url-container\\\">\\n          <h4 class=\\\"layout__box t__h4 text-gray mt-8\\\">\\n            Where should this tour begin?\\n          </h4>\\n          <div class=\\\"mt-3 mb-1\\\">\\n            <Tours::Editor::ViewOrEditInsertionUrl\\n              @tour={{@tour}}\\n              @isDisabled={{@isDisabled}}\\n              @isPreviewMode={{false}}\\n              @viewPortSelector=\\\".tours__accordion\\\"\\n              @copyableUrl={{@copyableUrl}}\\n              />\\n          </div>\\n          <div class=\\\"t__light-text mb-1\\\">\\n            Make sure everyone can access this URL\\n          </div>\\n          {{#if @isPublished}}\\n            <a\\n              class=\\\"btn__tertiary tours__editor__insertion-panel__tooltip-btn u__prevent-breaks\\\"\\n              {{copy-to-clipboard\\n                text=@copyableUrl\\n                confirmationMessage=\\\"URL for your tour has been copied to your clipboard\\\"\\n              }}\\n              data-test-copy-url-btn\\n            >\\n              Copy link\\n            </a>\\n          {{/if}}\\n        </div>\\n      </div>\\n      <div class=\\\"layout__box u__padl__40 o__has-rows u__mt__40 tours__editor__insertion-panel__text\\\">\\n        <h2 class=\\\"layout__box t__h2\\\">\\n          Send your tour to people everywhere\\n        </h2>\\n        <div class=\\\"layout__box o__flexes-to-1 o__has-columns\\\">\\n          <div class=\\\"layout__box u__mr__15 tours__editor__insertion-panel__text-column\\\">\\n            <div class=\\\"layout__box o__has-columns u__mt__20\\\">\\n              <div class=\\\"layout__box o__centers-horizontally u__mr__10\\\">\\n                <IcIllustrativeIcon @name=\\\"operator\\\" @size=\\\"small\\\" />\\n              </div>\\n              <div class=\\\"layout__box o__flexes-to-1\\\">\\n                <h3 class=\\\"t__h3 u__mb__5\\\">\\n                  Custom Bots\\n                </h3>\\n                <p class=\\\"text-gray\\\">\\n                  Capture intent and send people on the right path\\n                </p>\\n              </div>\\n            </div>\\n            <div class=\\\"layout__box o__has-columns u__mt__20 o__flexes-to-1\\\">\\n              <div class=\\\"layout__box o__centers-horizontally u__mr__10\\\">\\n                <IcIllustrativeIcon @name=\\\"operator\\\" @size=\\\"small\\\" />\\n              </div>\\n              <div class=\\\"layout__box o__flexes-to-1\\\">\\n                <h3 class=\\\"t__h3 u__mb__5\\\">\\n                  Resolution Bot\\n                </h3>\\n                <p class=\\\"text-gray\\\">\\n                  Automatically help customers find what they're looking for\\n                </p>\\n              </div>\\n            </div>\\n            <div class=\\\"layout__box o__has-columns u__mt__20 o__flexes-to-1\\\">\\n              <div class=\\\"layout__box o__centers-horizontally u__mr__10\\\">\\n                <IcIllustrativeIcon @name=\\\"link\\\" @size=\\\"small\\\" />\\n              </div>\\n              <div class=\\\"layout__box o__flexes-to-1\\\">\\n                <h3 class=\\\"t__h3 u__mb__5\\\">\\n                  Email, articles, and more\\n                </h3>\\n                <p class=\\\"text-gray\\\">\\n                  Link to your tour from anywhere\\n                </p>\\n              </div>\\n            </div>\\n          </div>\\n          <div class=\\\"layout__box tours__editor__insertion-panel__text-column\\\">\\n            <div class=\\\"layout__box o__has-columns u__mt__20 o__flexes-to-1\\\">\\n              <div class=\\\"layout__box o__centers-horizontally u__mr__10\\\">\\n                <IcIllustrativeIcon @name=\\\"messenger\\\" @size=\\\"small\\\" />\\n              </div>\\n              <div class=\\\"layout__box o__flexes-to-1\\\">\\n                <h3 class=\\\"t__h3 u__mb__5\\\">\\n                  In-app messages\\n                </h3>\\n                <p class=\\\"text-gray\\\">\\n                  Create campaigns for education and growth\\n                </p>\\n              </div>\\n            </div>\\n            <div class=\\\"layout__box o__has-columns u__mt__20 o__flexes-to-1\\\">\\n              <div class=\\\"layout__box o__centers-horizontally u__mr__10\\\">\\n                <IcIllustrativeIcon @name=\\\"respond\\\" @size=\\\"small\\\" />\\n              </div>\\n              <div class=\\\"layout__box o__flexes-to-1\\\">\\n                <h3 class=\\\"t__h3 u__mb__5\\\">\\n                  Inbox\\n                </h3>\\n                <p class=\\\"text-gray\\\">\\n                  Offer support that goes beyond words\\n                </p>\\n              </div>\\n            </div>\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  </div>\\n  <div class=\\\"layout__box tours__editor__panel-footer o__flexes-to-1 o__centers-all\\\">\\n    <div class=\\\"layout__box o__centers-all tours__editor__panel-footer\\\">\\n      <div class=\\\"u__m__15\\\">\\n        <Common::ArticleModal::Main @articleId=\\\"2901144\\\" as |modal|>\\n          <a onclick={{action \\\"showArticle\\\" modal}} class=\\\"flex items-start t__em-link u__mr__20\\\" data-test-article-opener>\\n            {{ic-interface-icon \\\"book\\\"}} How to use your tour everywhere\\n          </a>\\n        </Common::ArticleModal::Main>\\n      </div>\\n    </div>\\n    <div class=\\\"tours__editor__panel-footer__button\\\">\\n      {{#if @isDisabled}}\\n        <IcButton\\n          @type=\\\"primary\\\"\\n          @label=\\\"Turn this back on\\\"\\n          @onClick={{action @onEnable}}\\n          class=\\\"u__right\\\"\\n          data-test-enable-insertion-button={{true}}\\n        />\\n      {{else}}\\n        <IcButton\\n          @label=\\\"Turn this off\\\"\\n          @onClick={{action @onDisable}}\\n          class=\\\"u__right\\\"\\n          data-test-disable-insertion-button={{true}}\\n        />\\n      {{/if}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/tours/editor/insertion-panel.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/editor/insertion-panel.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  appService: service(),\n  intercomEventService: service(),\n  showArticleModal: false,\n\n  actions: {\n    showArticle(modal) {\n      this.intercomEventService.trackAnalyticsEvent({\n        tour_id: this.get('tour.id'),\n        object: 'tour_help_doc',\n        action: 'clicked',\n        helpdoc_feature: 'product_tours',\n        helpdoc_name: 'show_tour_everywhere',\n      });\n      modal.showArticle();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @isDisabled}}\\n  <div class=\\\"text-gray\\\" data-test-insertion-summary-disabled>\\n    Turned off\\n  </div>\\n{{else}}\\n  <div class=\\\"text-gray\\\" data-test-insertion-summary>\\n    <span class=\\\"u__mr__5\\\">\\n      {{ic-interface-icon \\\"link\\\"}}\\n    </span>\\n    <span data-test-tour-insertable-url>\\n      Start the tour on <Tours::Editor::ViewOrEditInsertionUrl\\n        @tour={{@tour}}\\n        @isPreviewMode={{true}}\\n        @isPublished={{@isPublished}}\\n        @copyableUrl={{@copyableUrl}}\\n      />\\n    </span>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{#if @isDisabled}}\\n  <div class=\\\"text-gray\\\" data-test-insertion-summary-disabled>\\n    Turned off\\n  </div>\\n{{else}}\\n  <div class=\\\"text-gray\\\" data-test-insertion-summary>\\n    <span class=\\\"u__mr__5\\\">\\n      {{ic-interface-icon \\\"link\\\"}}\\n    </span>\\n    <span data-test-tour-insertable-url>\\n      Start the tour on <Tours::Editor::ViewOrEditInsertionUrl\\n        @tour={{@tour}}\\n        @isPreviewMode={{true}}\\n        @isPublished={{@isPublished}}\\n        @copyableUrl={{@copyableUrl}}\\n      />\\n    </span>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/tours/editor/insertion-view.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/editor/insertion-view.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"layout__box o__centers-horizontally o__flexes-to-1 u__pad__60\\\"\\n  data-test-review-body\\n>\\n  {{#if (and (or @isPublished @canPublish) this.publishOptionEnabled)}}\\n    <Tours::Editor::PublishPanel::Summary\\n      @canStartSending={{@canStartSending}}\\n      @canPublish={{@canPublish}}\\n      @isPublished={{@finishedPublishing}}\\n      @ruleset={{@ruleset}}\\n      @save={{@save}}\\n      @saveAndPublish={{@saveAndPublish}}\\n      @saveAndUnpublish={{@saveAndUnpublish}}\\n      @tour={{@tour}}\\n      @toggleShowArticleModal={{action (toggle \\\"showArticleModal\\\" this)}}\\n      @showArticleModal={{this.showArticleModal}}\\n      @copyableUrl={{@copyableUrl}}\\n    />\\n  {{else}}\\n    <Tours::Editor::PublishPanel::Validation\\n      @insertionVisited={{@insertionVisited}}\\n      @openSection={{@openSection}}\\n      @ruleset={{@ruleset}}\\n      @tour={{@tour}}\\n      @validationPanelMap={{@validationPanelMap}}\\n      @publishOptionEnabled={{this.publishOptionEnabled}}\\n    />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div\\n  class=\\\"layout__box o__centers-horizontally o__flexes-to-1 u__pad__60\\\"\\n  data-test-review-body\\n>\\n  {{#if (and (or @isPublished @canPublish) this.publishOptionEnabled)}}\\n    <Tours::Editor::PublishPanel::Summary\\n      @canStartSending={{@canStartSending}}\\n      @canPublish={{@canPublish}}\\n      @isPublished={{@finishedPublishing}}\\n      @ruleset={{@ruleset}}\\n      @save={{@save}}\\n      @saveAndPublish={{@saveAndPublish}}\\n      @saveAndUnpublish={{@saveAndUnpublish}}\\n      @tour={{@tour}}\\n      @toggleShowArticleModal={{action (toggle \\\"showArticleModal\\\" this)}}\\n      @showArticleModal={{this.showArticleModal}}\\n      @copyableUrl={{@copyableUrl}}\\n    />\\n  {{else}}\\n    <Tours::Editor::PublishPanel::Validation\\n      @insertionVisited={{@insertionVisited}}\\n      @openSection={{@openSection}}\\n      @ruleset={{@ruleset}}\\n      @tour={{@tour}}\\n      @validationPanelMap={{@validationPanelMap}}\\n      @publishOptionEnabled={{this.publishOptionEnabled}}\\n    />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/tours/editor/publish-panel.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/editor/publish-panel.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { or } from '@ember/object/computed';\n\nexport default Component.extend({\n  showArticleModal: false,\n\n  init() {\n    this._super(...arguments);\n    this.ruleset.fetchAudiencePreviewTask.perform();\n  },\n\n  actions: {\n    toggleArticleModal() {\n      this.toggleProperty('showArticleModal');\n    },\n  },\n\n  publishOptionEnabled: or('tour.clientData.showAutomatically', 'tour.clientData.insertable'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"layout__box t__light-text\\\">\\n  <div class=\\\"layout__box o__centers-horizontally\\\">\\n    <IcIllustrativeIcon @name=\\\"live\\\" />\\n  </div>\\n  <div class=\\\"layout__box o__centers-horizontally u__mt__15\\\">\\n    <h1 class=\\\"t__h1\\\">\\n      {{#if @isPublished}}\\n        Review your changes\\n      {{else}}\\n        Review your tour\\n      {{/if}}\\n    </h1>\\n  </div>\\n  {{#if @isPublished}}\\n    <hr class=\\\"sp__hr u__mt__25 u__mb__30\\\" />\\n  {{else}}\\n    <Common::ArticleModal::Main @articleId=\\\"2901112\\\" as |modal|>\\n      <Pulse::DiscoveryBanner\\n        @heading=\\\"Before you set your tour live\\\"\\n        @description=\\\"Make sure your tour works the way you want it to. Take a moment to test it in the same way your customers will see it.\\\"\\n        class=\\\"my-6\\\"\\n        as |banner|\\n      >\\n        <banner.Link\\n          @icon=\\\"book\\\"\\n          @title=\\\"How to test product tours\\\"\\n          {{on 'click' (fn this.showArticle modal)}}\\n          data-test-article-opener\\n        />\\n      </Pulse::DiscoveryBanner>\\n    </Common::ArticleModal::Main>\\n  {{/if}}\\n  {{#if @canStartSending}}\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      <div class=\\\"layout__box o__centers-horizontally u__mr__10\\\">\\n        <IcIllustrativeIcon @name=\\\"visitor-auto-message\\\" @size=\\\"small\\\" />\\n      </div>\\n      <div class=\\\"layout__box o__flexes-to-1 u__mb__30\\\">\\n        <h3 class=\\\"t__h3 u__mb__5\\\">\\n          Your tour will show automatically\\n        </h3>\\n        <div class=\\\"tours__editor__publish-panel__audience-summary text-gray\\\">\\n          <Tours::Editor::AudienceView\\n            @ruleset={{@ruleset}}\\n            @showUserCount={{true}}\\n            @useTwoLines={{true}}\\n          />\\n        </div>\\n      </div>\\n    </div>\\n  {{/if}}\\n  {{#if @tour.canStartInserting}}\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      <div class=\\\"layout__box o__centers-horizontally u__mr__10\\\">\\n        <IcIllustrativeIcon @name=\\\"messenger\\\" @size=\\\"small\\\" />\\n      </div>\\n      <div class=\\\"layout__box o__flexes-to-1\\\">\\n        <h3 class=\\\"t__h3 u__mb__5\\\">\\n          You can use this tour in Intercom or anywhere else\\n        </h3>\\n        <div class=\\\"text-gray\\\">\\n          <div class=\\\"u__mb__5\\\" data-test-insertable-url=\\\"true\\\">\\n            {{ic-interface-icon \\\"link\\\"}} Your tour will start on\\n            <Tours::Editor::ViewOrEditInsertionUrl\\n              @tour={{@tour}}\\n              @isPreviewMode={{true}}\\n              @isPublished={{@isPublished}}\\n              @copyableUrl={{@copyableUrl}}\\n            />\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  {{/if}}\\n  <div class=\\\"layout__box u__mt__30 u__ml__30 o__centers-vertically\\\">\\n    {{#if @isPublished}}\\n      <IcButton\\n        @label=\\\"Save and close\\\"\\n        @disabled={{not @canPublish}}\\n        @type=\\\"secondary\\\"\\n        @onClick={{@save}}\\n        data-test-review-save-button={{true}}\\n      />\\n      <p class=\\\"u__padl__10 u__padr__10\\\">\\n        or\\n      </p>\\n      <a\\n        data-test-review-unpublish-button=\\\"true\\\"\\n        class=\\\"btn__tertiary\\\"\\n        onclick={{@saveAndUnpublish}}\\n      >\\n        pause\\n      </a>\\n    {{else}}\\n      <Paywall\\n        @featureKey=\\\"product_tours\\\"\\n        @disableFeatureHighlighting={{true}}\\n        as |paywall|\\n      >\\n        <paywall.Hover>\\n          <IcButton\\n            @type=\\\"primary-live\\\"\\n            @onClick={{@saveAndPublish}}\\n            data-test-publish-paywall-button={{true}}\\n            @disabled={{paywall.isActive}}\\n          >\\n            Set live\\n          </IcButton>\\n        </paywall.Hover>\\n      </Paywall>\\n      <p class=\\\"u__padl__10 u__padr__10\\\">\\n        or\\n      </p>\\n      <a\\n        data-test-review-save-button=\\\"true\\\"\\n        class=\\\"btn__tertiary\\\"\\n        onclick={{@save}}\\n      >\\n        save and close\\n      </a>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<div class=\\\"layout__box t__light-text\\\">\\n  <div class=\\\"layout__box o__centers-horizontally\\\">\\n    <IcIllustrativeIcon @name=\\\"live\\\" />\\n  </div>\\n  <div class=\\\"layout__box o__centers-horizontally u__mt__15\\\">\\n    <h1 class=\\\"t__h1\\\">\\n      {{#if @isPublished}}\\n        Review your changes\\n      {{else}}\\n        Review your tour\\n      {{/if}}\\n    </h1>\\n  </div>\\n  {{#if @isPublished}}\\n    <hr class=\\\"sp__hr u__mt__25 u__mb__30\\\" />\\n  {{else}}\\n    <Common::ArticleModal::Main @articleId=\\\"2901112\\\" as |modal|>\\n      <Pulse::DiscoveryBanner\\n        @heading=\\\"Before you set your tour live\\\"\\n        @description=\\\"Make sure your tour works the way you want it to. Take a moment to test it in the same way your customers will see it.\\\"\\n        class=\\\"my-6\\\"\\n        as |banner|\\n      >\\n        <banner.Link\\n          @icon=\\\"book\\\"\\n          @title=\\\"How to test product tours\\\"\\n          {{on 'click' (fn this.showArticle modal)}}\\n          data-test-article-opener\\n        />\\n      </Pulse::DiscoveryBanner>\\n    </Common::ArticleModal::Main>\\n  {{/if}}\\n  {{#if @canStartSending}}\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      <div class=\\\"layout__box o__centers-horizontally u__mr__10\\\">\\n        <IcIllustrativeIcon @name=\\\"visitor-auto-message\\\" @size=\\\"small\\\" />\\n      </div>\\n      <div class=\\\"layout__box o__flexes-to-1 u__mb__30\\\">\\n        <h3 class=\\\"t__h3 u__mb__5\\\">\\n          Your tour will show automatically\\n        </h3>\\n        <div class=\\\"tours__editor__publish-panel__audience-summary text-gray\\\">\\n          <Tours::Editor::AudienceView\\n            @ruleset={{@ruleset}}\\n            @showUserCount={{true}}\\n            @useTwoLines={{true}}\\n          />\\n        </div>\\n      </div>\\n    </div>\\n  {{/if}}\\n  {{#if @tour.canStartInserting}}\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      <div class=\\\"layout__box o__centers-horizontally u__mr__10\\\">\\n        <IcIllustrativeIcon @name=\\\"messenger\\\" @size=\\\"small\\\" />\\n      </div>\\n      <div class=\\\"layout__box o__flexes-to-1\\\">\\n        <h3 class=\\\"t__h3 u__mb__5\\\">\\n          You can use this tour in Intercom or anywhere else\\n        </h3>\\n        <div class=\\\"text-gray\\\">\\n          <div class=\\\"u__mb__5\\\" data-test-insertable-url=\\\"true\\\">\\n            {{ic-interface-icon \\\"link\\\"}} Your tour will start on\\n            <Tours::Editor::ViewOrEditInsertionUrl\\n              @tour={{@tour}}\\n              @isPreviewMode={{true}}\\n              @isPublished={{@isPublished}}\\n              @copyableUrl={{@copyableUrl}}\\n            />\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  {{/if}}\\n  <div class=\\\"layout__box u__mt__30 u__ml__30 o__centers-vertically\\\">\\n    {{#if @isPublished}}\\n      <IcButton\\n        @label=\\\"Save and close\\\"\\n        @disabled={{not @canPublish}}\\n        @type=\\\"secondary\\\"\\n        @onClick={{@save}}\\n        data-test-review-save-button={{true}}\\n      />\\n      <p class=\\\"u__padl__10 u__padr__10\\\">\\n        or\\n      </p>\\n      <a\\n        data-test-review-unpublish-button=\\\"true\\\"\\n        class=\\\"btn__tertiary\\\"\\n        onclick={{@saveAndUnpublish}}\\n      >\\n        pause\\n      </a>\\n    {{else}}\\n      <Paywall\\n        @featureKey=\\\"product_tours\\\"\\n        @disableFeatureHighlighting={{true}}\\n        as |paywall|\\n      >\\n        <paywall.Hover>\\n          <IcButton\\n            @type=\\\"primary-live\\\"\\n            @onClick={{@saveAndPublish}}\\n            data-test-publish-paywall-button={{true}}\\n            @disabled={{paywall.isActive}}\\n          >\\n            Set live\\n          </IcButton>\\n        </paywall.Hover>\\n      </Paywall>\\n      <p class=\\\"u__padl__10 u__padr__10\\\">\\n        or\\n      </p>\\n      <a\\n        data-test-review-save-button=\\\"true\\\"\\n        class=\\\"btn__tertiary\\\"\\n        onclick={{@save}}\\n      >\\n        save and close\\n      </a>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/tours/editor/publish-panel/summary.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/editor/publish-panel/summary.hbs\"}});\nimport { action } from '@ember/object';\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class PublishPanelSummary extends Component {\n  @service intercomEventService;\n\n  @action showArticle(modal) {\n    this.intercomEventService.trackAnalyticsEvent({\n      tour_id: this.args.tour.id,\n      object: 'tour_help_doc',\n      action: 'clicked',\n      helpdoc_feature: 'product_tours',\n      helpdoc_name: 'test_product_tours',\n    });\n    modal.showArticle();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__centers-horizontally u__mb__30\\\">\\n  <IcIllustrativeIcon @name=\\\"warning\\\" />\\n</div>\\n<div class=\\\"layout__box o__centers-horizontally u__mb__5\\\">\\n  <h2 class=\\\"t__h1\\\">\\n    Review these issues\\n  </h2>\\n</div>\\n<div class=\\\"layout__box o__has-rows\\\">\\n  {{#each errorsByPanel as |errorContext index|}}\\n    <div\\n      class=\\\"layout__box o__centers-horizontally u__mt__10\\\"\\n      data-test-tours-editor-validation-message=\\\"{{index}}\\\"\\n    >\\n      <div class=\\\"layout__box o__has-columns message__editor__review__validation-message\\\">\\n        <div class=\\\"layout__box o__centers-all\\\">\\n          <span class=\\\"layout__box o__centers-all symbol__circle o__by-text o__inert o__small u__ml__20\\\">\\n            {{inc errorContext.index 1}}\\n          </span>\\n        </div>\\n        <div class=\\\"layout__box o__flexes-to-1 message__editor__review__validation-message-step\\\">\\n          <div class=\\\"layout__box o__flexes-to-1 o__has-columns u__ml__10\\\">\\n            <span class=\\\"message__editor__review__validation-message-step-text\\\">\\n              {{errorContext.message}}\\n            </span>\\n            <a\\n              class=\\\"t__em-link u__ml__10 u__mr__20 message__editor__review__validation-message__open-step\\\"\\n              data-test-tours-editor-validation-step-button=\\\"{{index}}\\\"\\n              {{action \\\"openSection\\\" errorContext.panel}}\\n            >\\n              Open step\\n            </a>\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  {{/each}}\\n  {{#unless @publishOptionEnabled}}\\n    <div\\n      class=\\\"layout__box o__centers-horizontally u__mt__10\\\"\\n      data-test-tours-editor-validation-message=\\\"no-publish-option-enabled\\\"\\n    >\\n      <div class=\\\"layout__box o__has-columns message__editor__review__validation-message\\\">\\n        <div class=\\\"layout__box o__flexes-to-1 message__editor__review__validation-message-step\\\">\\n          <div class=\\\"layout__box o__flexes-to-1 o__has-columns u__ml__10\\\">\\n            <span class=\\\"message__editor__review__validation-message-step-text u__ml__10\\\">\\n              To publish your tour, you need to turn on either\\n              <a {{action \\\"openSection\\\" \\\"audience\\\"}}>\\n                automatic showing\\n              </a>\\n              or \\n              <a {{action \\\"openSection\\\" \\\"insertion\\\"}}>\\n                inserting\\n              </a>.\\n            </span>\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  {{/unless}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box o__centers-horizontally u__mb__30\\\">\\n  <IcIllustrativeIcon @name=\\\"warning\\\" />\\n</div>\\n<div class=\\\"layout__box o__centers-horizontally u__mb__5\\\">\\n  <h2 class=\\\"t__h1\\\">\\n    Review these issues\\n  </h2>\\n</div>\\n<div class=\\\"layout__box o__has-rows\\\">\\n  {{#each errorsByPanel as |errorContext index|}}\\n    <div\\n      class=\\\"layout__box o__centers-horizontally u__mt__10\\\"\\n      data-test-tours-editor-validation-message=\\\"{{index}}\\\"\\n    >\\n      <div class=\\\"layout__box o__has-columns message__editor__review__validation-message\\\">\\n        <div class=\\\"layout__box o__centers-all\\\">\\n          <span class=\\\"layout__box o__centers-all symbol__circle o__by-text o__inert o__small u__ml__20\\\">\\n            {{inc errorContext.index 1}}\\n          </span>\\n        </div>\\n        <div class=\\\"layout__box o__flexes-to-1 message__editor__review__validation-message-step\\\">\\n          <div class=\\\"layout__box o__flexes-to-1 o__has-columns u__ml__10\\\">\\n            <span class=\\\"message__editor__review__validation-message-step-text\\\">\\n              {{errorContext.message}}\\n            </span>\\n            <a\\n              class=\\\"t__em-link u__ml__10 u__mr__20 message__editor__review__validation-message__open-step\\\"\\n              data-test-tours-editor-validation-step-button=\\\"{{index}}\\\"\\n              {{action \\\"openSection\\\" errorContext.panel}}\\n            >\\n              Open step\\n            </a>\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  {{/each}}\\n  {{#unless @publishOptionEnabled}}\\n    <div\\n      class=\\\"layout__box o__centers-horizontally u__mt__10\\\"\\n      data-test-tours-editor-validation-message=\\\"no-publish-option-enabled\\\"\\n    >\\n      <div class=\\\"layout__box o__has-columns message__editor__review__validation-message\\\">\\n        <div class=\\\"layout__box o__flexes-to-1 message__editor__review__validation-message-step\\\">\\n          <div class=\\\"layout__box o__flexes-to-1 o__has-columns u__ml__10\\\">\\n            <span class=\\\"message__editor__review__validation-message-step-text u__ml__10\\\">\\n              To publish your tour, you need to turn on either\\n              <a {{action \\\"openSection\\\" \\\"audience\\\"}}>\\n                automatic showing\\n              </a>\\n              or \\n              <a {{action \\\"openSection\\\" \\\"insertion\\\"}}>\\n                inserting\\n              </a>.\\n            </span>\\n          </div>\\n        </div>\\n      </div>\\n    </div>\\n  {{/unless}}\\n</div>\\n\",\"moduleName\":\"embercom/components/tours/editor/publish-panel/validation.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/editor/publish-panel/validation.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  classNames: ['layout__box', 'u__pad__60'],\n\n  errorsByPanel: computed(\n    'ruleset.validations.messages.[]',\n    'tour.validations.messages.[]',\n    'validationPanelMap',\n    'insertionVisited',\n    function() {\n      let validationPanelMap = this.validationPanelMap;\n      let validationKeys = Object.keys(validationPanelMap);\n\n      return validationKeys.reduce((res, validationKey) => {\n        if (this.get(`${validationKey}.isValid`)) {\n          if (validationKey !== 'tour.validations.attrs.insertableUrl' || this.insertionVisited) {\n            return res;\n          }\n        }\n\n        let errorMessages = this.get(`${validationKey}.messages`);\n        let validation = validationPanelMap[validationKey];\n\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'validation_error',\n          object: `tour_editor_${validation.sectionName}`,\n          ruleset_id: this.ruleset.id,\n        });\n\n        return [\n          ...res,\n          {\n            panel: validation.sectionName,\n            message: validation.overrideMessage || errorMessages,\n            index: validation.index,\n          },\n        ];\n      }, []);\n    },\n  ),\n\n  actions: {\n    openSection(name) {\n      this.openSection(name);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n<Tours::Editor::EmbeddedStyles @appColor={{this.appBaseColor}} />\\n<div\\n  class={{concat \\\"tours__editor__timeline-component__display-flex\\\" (if @isEditing (if @headerIsOpen \\\" u__padl__20\\\" \\\" u__padl__50\\\"))}}\\n  data-test-timeline-component\\n>\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <table>\\n    {{!-- template-lint-enable intercom/no-custom-table --}}\\n    <tr>\\n      {{#each @tour.steps as |step|}}\\n        <Tours::Editor::Content::TimelineStep\\n          @app={{this.app}}\\n          @tour={{@tour}}\\n          @step={{step}}\\n          @headerIsOpen={{@headerIsOpen}}\\n          @blocks={{step.blocks}}\\n          @stepClickAction={{@stepClickAction}}\\n          @isFirst={{eq step @tour.steps.firstObject}}\\n          @isLast={{eq step @tour.steps.lastObject}}\\n        />\\n      {{/each}}\\n    </tr>\\n    {{#if this.stepViews}}\\n      <tr>\\n        {{#each @tour.steps as |step|}}\\n          <Tours::Editor::Content::TimelineStepStats\\n            @tour={{@tour}}\\n            @stats={{get this.stepViews step.id}}\\n            @isFirst={{eq step @tour.steps.firstObject}}\\n          />\\n        {{/each}}\\n      </tr>\\n    {{/if}}\\n  </table>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable table-groups --}}\\n<Tours::Editor::EmbeddedStyles @appColor={{this.appBaseColor}} />\\n<div\\n  class={{concat \\\"tours__editor__timeline-component__display-flex\\\" (if @isEditing (if @headerIsOpen \\\" u__padl__20\\\" \\\" u__padl__50\\\"))}}\\n  data-test-timeline-component\\n>\\n  {{!-- template-lint-disable intercom/no-custom-table --}}\\n  <table>\\n    {{!-- template-lint-enable intercom/no-custom-table --}}\\n    <tr>\\n      {{#each @tour.steps as |step|}}\\n        <Tours::Editor::Content::TimelineStep\\n          @app={{this.app}}\\n          @tour={{@tour}}\\n          @step={{step}}\\n          @headerIsOpen={{@headerIsOpen}}\\n          @blocks={{step.blocks}}\\n          @stepClickAction={{@stepClickAction}}\\n          @isFirst={{eq step @tour.steps.firstObject}}\\n          @isLast={{eq step @tour.steps.lastObject}}\\n        />\\n      {{/each}}\\n    </tr>\\n    {{#if this.stepViews}}\\n      <tr>\\n        {{#each @tour.steps as |step|}}\\n          <Tours::Editor::Content::TimelineStepStats\\n            @tour={{@tour}}\\n            @stats={{get this.stepViews step.id}}\\n            @isFirst={{eq step @tour.steps.firstObject}}\\n          />\\n        {{/each}}\\n      </tr>\\n    {{/if}}\\n  </table>\\n</div>\\n\",\"moduleName\":\"embercom/components/tours/editor/timeline-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/editor/timeline-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport Range from 'embercom/models/reporting/range';\nimport { task } from 'ember-concurrency';\n\nconst TOUR_STEP_VIEWS_SIGNAL_CONFIG = {\n  name: 'default_query',\n  debug_name: 'tour_step_views',\n  document_type: 'events',\n  range_field: 'event.created_at',\n  aggregation_type: 'value_count',\n  aggregation_field: 'stat_tour_step_view.id',\n};\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  appBaseColor: readOnly('app.base_color'),\n  reportingService: service(),\n\n  init() {\n    this._super(...arguments);\n    this.fetchReportingSignal.perform();\n  },\n\n  fetchReportingSignal: task(function*() {\n    if (this.hideStats || this.get('tour.steps.length') === 1) {\n      return;\n    }\n\n    let rangeStart = new Date(this.tour.stepsUpdatedAt);\n    let range = Range.createFromParams(rangeStart, null, null);\n    let aggregations = [{ grouping: 'tour_step.id', interval: 1 }];\n    let filters = { 'tour.id': this.tour.id };\n\n    let data = yield this.reportingService.fetchNumericSignal(\n      TOUR_STEP_VIEWS_SIGNAL_CONFIG,\n      'views',\n      range,\n      aggregations,\n      filters,\n    );\n\n    let stepViews = {};\n    this.tour.steps.forEach(function(step) {\n      stepViews[step.id] = { count: 0 };\n    }, this);\n    data.context.forEach(function(bucket) {\n      stepViews[bucket.key] = { count: bucket.value };\n    }, this);\n\n    let firstViewCount = stepViews[this.tour.steps.firstObject.id].count;\n    this.tour.steps.forEach(function(step) {\n      let viewCount = stepViews[step.id].count;\n      stepViews[step.id].percentage = (viewCount * 100) / firstViewCount;\n    }, this);\n\n    this.set('stepViews', stepViews);\n  }).drop(),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box tours__editor__insertion-panel__product-tour-card-container\\\">\\n  <div class=\\\"tours__editor__insertion-panel__product-tour-card__redirect-arrow-url\\\">\\n    {{inline-svg \\\"tours/redirect-arrow\\\"}}\\n  </div>\\n  <div class=\\\"tours__editor__insertion-panel__product-tour-card-mirror u__mb__35 u__mt__35 u__pad__25\\\">\\n    {{inline-svg \\\"tours/messenger-card-mirror\\\"}}\\n  </div>\\n  <div\\n    class=\\\"tours__editor__insertion-panel__product-tour-card__preview-card-container u__padr__20\\\"\\n    data-test-insertion-panel-body-messenger-card-preview\\n  >\\n    <AppFramework::Canvas\\n      class=\\\"messenger-preview__home__card tours__editor__insertion-panel__product-tour-card__preview-card\\\"\\n      @canvas={{confirmPreviewCanvas}}\\n    />\\n  </div>\\n</div>\\n<MessengerPreview::Styles\\n  @configuration={{messengerSettings.previewConfiguration}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box tours__editor__insertion-panel__product-tour-card-container\\\">\\n  <div class=\\\"tours__editor__insertion-panel__product-tour-card__redirect-arrow-url\\\">\\n    {{inline-svg \\\"tours/redirect-arrow\\\"}}\\n  </div>\\n  <div class=\\\"tours__editor__insertion-panel__product-tour-card-mirror u__mb__35 u__mt__35 u__pad__25\\\">\\n    {{inline-svg \\\"tours/messenger-card-mirror\\\"}}\\n  </div>\\n  <div\\n    class=\\\"tours__editor__insertion-panel__product-tour-card__preview-card-container u__padr__20\\\"\\n    data-test-insertion-panel-body-messenger-card-preview\\n  >\\n    <AppFramework::Canvas\\n      class=\\\"messenger-preview__home__card tours__editor__insertion-panel__product-tour-card__preview-card\\\"\\n      @canvas={{confirmPreviewCanvas}}\\n    />\\n  </div>\\n</div>\\n<MessengerPreview::Styles\\n  @configuration={{messengerSettings.previewConfiguration}}\\n/>\\n\",\"moduleName\":\"embercom/components/tours/editor/tour-card-preview.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/editor/tour-card-preview.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\n\nexport default Component.extend({\n  attributeService: service(),\n  store: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  composer: null,\n\n  init() {\n    this._super(...arguments);\n    this.fetchMessengerSettings.perform();\n  },\n\n  fetchMessengerSettings: task(function*() {\n    let messengerSettings = yield this.store.findRecord(\n      'messenger-settings/all',\n      this.get('app.id'),\n    );\n    this.set('messengerSettings', messengerSettings);\n  }).drop(),\n\n  createTextComponent(text, style = 'paragraph') {\n    return {\n      type: 'text',\n      text,\n      style,\n    };\n  },\n\n  confirmPreviewCanvas: computed('tour.title', 'tour.description', function() {\n    let content = {\n      components: [\n        this.createTextComponent('Product tour'),\n        this.createTextComponent(this.get('tour.title') || 'Untitled tour', 'header'),\n        {\n          type: 'divider',\n        },\n        {\n          type: 'spacer',\n          size: 's',\n        },\n        this.createTextComponent(this.get('tour.description') || ''),\n        {\n          id: this.get('tour.id'),\n          type: 'button',\n          label: 'View Tour',\n          style: 'primary',\n          action: {\n            type: 'submit',\n          },\n        },\n      ],\n    };\n    return { content };\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if @isPreviewMode}}\\n  <span class=\\\"tours__inline-composer-preview\\\">\\n    <ComposerV2\\n      @app={{this.app}}\\n      @actionReceiver={{this.composer}}\\n      @attributes={{this.attributeService.tourUrlComposerAttributes}}\\n      @preset={{this.composerPreset}}\\n      @blocks={{this.urlBlocks}}\\n      @isReadOnly={{true}}\\n      @onError={{composer-error-logger \\\"Tours\\\"}}\\n    />\\n  </span>\\n{{else}}\\n  <span class=\\\"tours__inline-composer\\\">\\n    <ComposerV2\\n      @app={{this.app}}\\n      @actionReceiver={{this.composer}}\\n      @attributes={{this.attributeService.tourUrlComposerAttributes}}\\n      @hoverAreaPadding={{this.hoverAreaPadding}}\\n      @editorClass=\\\"f__text\\\"\\n      @preset={{this.composerPreset}}\\n      @isReadOnly={{@isDisabled}}\\n      @blocks={{this.urlBlocks}}\\n      @viewportSelector={{@viewPortSelector}}\\n      @placeholder=\\\"Enter a URL\\\"\\n      @onChange={{action \\\"updateUrl\\\"}}\\n      @onError={{composer-error-logger \\\"Tours\\\"}}\\n    />\\n  </span>\\n{{/if}}\\n{{#if @isPublished}}\\n    <a\\n      class=\\\"btn__tertiary tours__editor__insertion-panel__tooltip-btn u__prevent-breaks ml-2\\\"\\n      {{copy-to-clipboard\\n        text=@copyableUrl\\n        confirmationMessage=\\\"URL for your tour has been copied to your clipboard\\\"\\n      }}\\n      data-test-copy-url-btn\\n    >\\n      Copy link\\n    </a>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if @isPreviewMode}}\\n  <span class=\\\"tours__inline-composer-preview\\\">\\n    <ComposerV2\\n      @app={{this.app}}\\n      @actionReceiver={{this.composer}}\\n      @attributes={{this.attributeService.tourUrlComposerAttributes}}\\n      @preset={{this.composerPreset}}\\n      @blocks={{this.urlBlocks}}\\n      @isReadOnly={{true}}\\n      @onError={{composer-error-logger \\\"Tours\\\"}}\\n    />\\n  </span>\\n{{else}}\\n  <span class=\\\"tours__inline-composer\\\">\\n    <ComposerV2\\n      @app={{this.app}}\\n      @actionReceiver={{this.composer}}\\n      @attributes={{this.attributeService.tourUrlComposerAttributes}}\\n      @hoverAreaPadding={{this.hoverAreaPadding}}\\n      @editorClass=\\\"f__text\\\"\\n      @preset={{this.composerPreset}}\\n      @isReadOnly={{@isDisabled}}\\n      @blocks={{this.urlBlocks}}\\n      @viewportSelector={{@viewPortSelector}}\\n      @placeholder=\\\"Enter a URL\\\"\\n      @onChange={{action \\\"updateUrl\\\"}}\\n      @onError={{composer-error-logger \\\"Tours\\\"}}\\n    />\\n  </span>\\n{{/if}}\\n{{#if @isPublished}}\\n    <a\\n      class=\\\"btn__tertiary tours__editor__insertion-panel__tooltip-btn u__prevent-breaks ml-2\\\"\\n      {{copy-to-clipboard\\n        text=@copyableUrl\\n        confirmationMessage=\\\"URL for your tour has been copied to your clipboard\\\"\\n      }}\\n      data-test-copy-url-btn\\n    >\\n      Copy link\\n    </a>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/tours/editor/view-or-edit-insertion-url.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/editor/view-or-edit-insertion-url.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { htmlToTextContent } from 'embercom/lib/html-unescape';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  tagName: 'span',\n  attributeService: service(),\n  appService: service(),\n  composerPreset: ternary('isDisabled', 'pushOnlyDisallowAttribute', 'pushOnly'), //Push only is single-line mode.\n  app: readOnly('appService.app'),\n  composer: null,\n  hoverAreaPadding: {\n    top: 10,\n    left: 5,\n    right: 50,\n    bottom: 10,\n  },\n  urlBlocks: computed('copyableUrl', 'isPreviewMode', 'tour.insertableUrl', function() {\n    return [\n      {\n        type: 'paragraph',\n        text: this.isPreviewMode ? this.copyableUrl : this.get('tour.insertableUrl'),\n      },\n    ];\n  }),\n  actions: {\n    updateUrl() {\n      if (this.isDestroying || this.tour.isDestroying) {\n        return;\n      }\n      let blocks = this.composer.getBlocks();\n      let blockText = blocks.get('firstObject.text') || '';\n      let textContent = htmlToTextContent(blockText);\n      blockText = textContent.trim();\n      this.set('tour.insertableUrl', blockText);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<style>\\n  body {\\n    min-width: initial !important;\\n  }\\n</style>\\n{{#unless isMessengerInstalled}}\\n  <IcEmptyState\\n    @icon=\\\"messenger\\\"\\n    @title=\\\"Install the Intercom Messenger\\\"\\n    @description=\\\"To use Product Tours, install the Messenger on your website or app.\\\"\\n    @buttonLabel=\\\"Install Messenger\\\"\\n    @onButtonClick={{action \\\"installMessenger\\\"}}\\n  />\\n{{else if (eq mode \\\"url\\\")}}\\n  <Tours::UpgradeInstallBanner\\n    @onlyAllowLoggedInBanner={{true}}\\n    @noRoundedCorner={{true}}\\n  />\\n  <div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n    <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n    <div class=\\\"layout__box o__has-rows tours__pre-tour__main-content\\\">\\n      <h1 class=\\\"t__h1\\\">\\n        Open your website to design your tour\\n      </h1>\\n      <div class=\\\"layout__box o__has-columns u__mt__20\\\">\\n        <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n          <input\\n            autofocus\\n            placeholder=\\\"Enter website URL\\\"\\n            class=\\\"f__text o__fit u__mr__10\\\"\\n            oninput={{action \\\"updateUrl\\\" value=\\\"target.value\\\"}}\\n            onkeypress={{action \\\"tryProgress\\\"}}\\n            data-test-url-input\\n          />\\n          <p class=\\\"u__mt__10\\\">\\n            Don't worry about who can access this URL. You'll be able to choose where people see your tour later.\\n          </p>\\n        </div>\\n        <span class=\\\"u__ml__10\\\">\\n          <IcButton\\n            @type=\\\"primary\\\"\\n            @label=\\\"Open website\\\"\\n            class=\\\"tours__pre-tour__get-started\\\"\\n            @disabled={{hasInvalidUrl}}\\n            @onClick={{action \\\"progress\\\"}}\\n            data-test-get-started-button={{true}}\\n          />\\n        </span>\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n  </div>\\n{{else}}\\n  <div\\n    class=\\\"layout__box o__has-rows o__flexes-to-1\\\"\\n    data-test-pre-tour-instructions\\n  >\\n    <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n    <div class=\\\"layout__box o__has-rows tours__pre-tour__main-content\\\">\\n      <h1 class=\\\"t__h1\\\">\\n        Wait until you see the Intercom toolbar\\n      </h1>\\n      <p class=\\\"t__light-text u__mt__10\\\">\\n        We'll open your website and load all the tools for you to build your tour.\\n      </p>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n  </div>\\n  <div class=\\\"tours__pre-tour__arrow\\\">\\n    {{inline-svg \\\"tours/pre-tour-splash-screen-arrow.svg\\\"}}\\n  </div>\\n  <div class=\\\"tours__pre-tour__fake-toolbar\\\"></div>\\n{{/unless}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<style>\\n  body {\\n    min-width: initial !important;\\n  }\\n</style>\\n{{#unless isMessengerInstalled}}\\n  <IcEmptyState\\n    @icon=\\\"messenger\\\"\\n    @title=\\\"Install the Intercom Messenger\\\"\\n    @description=\\\"To use Product Tours, install the Messenger on your website or app.\\\"\\n    @buttonLabel=\\\"Install Messenger\\\"\\n    @onButtonClick={{action \\\"installMessenger\\\"}}\\n  />\\n{{else if (eq mode \\\"url\\\")}}\\n  <Tours::UpgradeInstallBanner\\n    @onlyAllowLoggedInBanner={{true}}\\n    @noRoundedCorner={{true}}\\n  />\\n  <div class=\\\"layout__box o__has-rows o__flexes-to-1\\\">\\n    <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n    <div class=\\\"layout__box o__has-rows tours__pre-tour__main-content\\\">\\n      <h1 class=\\\"t__h1\\\">\\n        Open your website to design your tour\\n      </h1>\\n      <div class=\\\"layout__box o__has-columns u__mt__20\\\">\\n        <div class=\\\"layout__box o__flexes-to-1 o__has-rows\\\">\\n          <input\\n            autofocus\\n            placeholder=\\\"Enter website URL\\\"\\n            class=\\\"f__text o__fit u__mr__10\\\"\\n            oninput={{action \\\"updateUrl\\\" value=\\\"target.value\\\"}}\\n            onkeypress={{action \\\"tryProgress\\\"}}\\n            data-test-url-input\\n          />\\n          <p class=\\\"u__mt__10\\\">\\n            Don't worry about who can access this URL. You'll be able to choose where people see your tour later.\\n          </p>\\n        </div>\\n        <span class=\\\"u__ml__10\\\">\\n          <IcButton\\n            @type=\\\"primary\\\"\\n            @label=\\\"Open website\\\"\\n            class=\\\"tours__pre-tour__get-started\\\"\\n            @disabled={{hasInvalidUrl}}\\n            @onClick={{action \\\"progress\\\"}}\\n            data-test-get-started-button={{true}}\\n          />\\n        </span>\\n      </div>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n  </div>\\n{{else}}\\n  <div\\n    class=\\\"layout__box o__has-rows o__flexes-to-1\\\"\\n    data-test-pre-tour-instructions\\n  >\\n    <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n    <div class=\\\"layout__box o__has-rows tours__pre-tour__main-content\\\">\\n      <h1 class=\\\"t__h1\\\">\\n        Wait until you see the Intercom toolbar\\n      </h1>\\n      <p class=\\\"t__light-text u__mt__10\\\">\\n        We'll open your website and load all the tools for you to build your tour.\\n      </p>\\n    </div>\\n    <div class=\\\"layout__box o__flexes-to-1\\\"></div>\\n  </div>\\n  <div class=\\\"tours__pre-tour__arrow\\\">\\n    {{inline-svg \\\"tours/pre-tour-splash-screen-arrow.svg\\\"}}\\n  </div>\\n  <div class=\\\"tours__pre-tour__fake-toolbar\\\"></div>\\n{{/unless}}\\n\",\"moduleName\":\"embercom/components/tours/pre-tour-setup.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/pre-tour-setup.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport isValidUrl from 'embercom/lib/url-validator';\nimport { computed } from '@ember/object';\nimport { not, or, readOnly } from '@ember/object/computed';\nimport storage from 'embercom/vendor/intercom/storage';\nimport ENV from 'embercom/config/environment';\nimport { task, timeout } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\n\nconst ENTER = 13;\nconst STORAGE_KEY = 'tours-teammate-has-seen-pre-tour-instructions';\nconst IP_ADDRESS_REGEX = /\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}/;\n\nexport default Component.extend({\n  classNames: ['layout__box', 'o__has-rows', 'o__flexes-to-1', 'tours__pre-tour__container'],\n  'data-test-pre-tour-setup': true,\n\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  isMessengerInstalled: or(\n    'app.hasAnyInstalledAtDate',\n    'app.first_identified_request_at',\n    'app.verifiedLoggedInInstallAt',\n    'app.first_anonymous_request_at',\n    'app.verifiedLoggedOutInstallAt',\n  ),\n\n  mode: 'url',\n  url: null,\n\n  init() {\n    this._super(...arguments);\n    if (!this.isMessengerInstalled) {\n      // We may have just come from the on-boarding guide after having installed the Messenger\n      // in which case the app model won't have been reloaded since.\n      this.app.reload();\n    }\n  },\n\n  hasValidUrl: computed('url', function() {\n    return isValidUrl(this.url) || IP_ADDRESS_REGEX.test(this.url);\n  }),\n\n  hasInvalidUrl: not('hasValidUrl'),\n\n  openTourBuilderAfterTimeout: task(function*() {\n    yield timeout(ENV.APP._5000MS);\n    this.send('postUrl');\n  }),\n\n  actions: {\n    installMessenger() {\n      window.opener.postMessage({ installMessenger: true }, '*');\n      window.close();\n    },\n    progress() {\n      let hasSeenInstructions = !!storage.get(STORAGE_KEY);\n      if (hasSeenInstructions) {\n        this.send('postUrl');\n      } else {\n        storage.set(STORAGE_KEY, true);\n        this.set('mode', 'instructions');\n        this.openTourBuilderAfterTimeout.perform();\n      }\n    },\n    tryProgress(event) {\n      if (event.keyCode === ENTER && this.hasValidUrl) {\n        this.send('progress');\n      }\n    },\n    updateUrl(url) {\n      this.set('url', url);\n    },\n    postUrl() {\n      window.opener.postMessage({ urlForTourBuilder: this.url }, '*');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable template-length --}}\\n<div class=\\\"tours__accordion\\\">\\n  <div\\n    class=\\\"layout__box o__has-columns tours__design-header {{if (not (has-feature \\\"canUseToursInOutboundHome\\\")) \\\"u__mt__20\\\"}} u__mb__20\\\"\\n  >\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      {{#if (not (has-feature \\\"canUseToursInOutboundHome\\\"))}}\\n        <Common::BreadcrumbsComponent @breadcrumbs={{breadcrumbs}} />\\n      {{/if}}\\n      <div class=\\\"flex flex-row\\\">\\n        {{#if (has-feature \\\"canUseToursInOutboundHome\\\")}}\\n          <Common::HamburgerMenu @includePadding={{false}}></Common::HamburgerMenu>\\n        {{/if}}\\n        <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n          <h1 class=\\\"t__h1 o__truncated\\\">\\n            {{#if isEditing}}\\n              <Pulse::ExpandingInput\\n                @value={{tour.title}}\\n                @onUpdate={{queue\\n                  (set tour.title)\\n                  (set ruleset.clientData.title)\\n                }}\\n                placeholder=\\\"Untitled tour\\\"\\n                maxlength={{140}}\\n                class=\\\"t__h1 min-w-3 max-w-128 placeholder-gray placeholder-opacity-75\\\"\\n                data-test-tour-title-input\\n              />\\n            {{else}}\\n              <span data-test-tour-title>\\n                {{tour.displayedTitle}}\\n              </span>\\n            {{/if}}\\n          </h1>\\n          <span data-test-sending-state-stamp>\\n            {{ic-stamp this.stateName \\\"u__ml__5\\\"}}\\n          </span>\\n        </div>\\n      </div>\\n      {{#if displayDescription}}\\n        {{#if isEditing}}\\n          <Pulse::ExpandingInput\\n            @value={{tour.description}}\\n            @onUpdate={{set tour.description}}\\n            placeholder=\\\"Add a description your customers could see when they receive this tour.\\\"\\n            maxlength={{140}}\\n            class=\\\"min-w-3 max-w-128 placeholder-gray placeholder-opacity-75\\\"\\n            data-test-tour-description-input\\n          />\\n        {{else}}\\n          <span data-test-tour-description>\\n            {{tour.description}}\\n          </span>\\n        {{/if}}\\n        <IcTooltipIcon>\\n          The title and description of this tour will be visible to customers when it's sent to them in Messenger conversations.\\n        </IcTooltipIcon>\\n      {{/if}}\\n    </div>\\n    <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n      {{#if app.canExportCsv}}\\n        <IcDropdownOpener data-test-more-dropdown @groupList={{this.groupList}} @label=\\\"More\\\" />\\n        <StatsSystem::CsvExport::Modal\\n          @objectType={{ruleset.rulesetLinks.firstObject.objectType}}\\n          @ruleset={{ruleset}}\\n          @isOpen={{this.isCsvExportModalVisible}}\\n          @hideCsvExportModal={{action (mut this.isCsvExportModalVisible) false}}\\n        />\\n      {{/if}}\\n      <IcButtonList @processing={{isSaving}} as |list|>\\n        {{#if (not app.canExportCsv)}}\\n          <list.button\\n            @label=\\\"Duplicate\\\"\\n            @type=\\\"secondary\\\"\\n            @onClick={{perform duplicateRuleset}}\\n            data-test-duplicate-button={{true}}\\n          />\\n          <list.button\\n            @label=\\\"Delete\\\"\\n            @type=\\\"secondary-destructive\\\"\\n            @onClick={{perform deleteRuleset}}\\n            data-test-delete-button={{true}}\\n          />\\n        {{/if}}\\n        <IntersectionLauncher @intersectionMode=\\\"tour-preview\\\" as |launcher|>\\n          <IcButton\\n            @label=\\\"Preview\\\"\\n            @icon=\\\"put-live\\\"\\n            @disabled={{previewDisabled}}\\n            @onClick={{action launcher.openTourPreview tour.url}}\\n            data-test-preview-button={{true}}\\n          />\\n        </IntersectionLauncher>\\n        {{#if isEditing}}\\n          {{#unless ruleset.isNewRuleset}}\\n            <list.button\\n              @label=\\\"Cancel\\\"\\n              @onClick={{action \\\"cancelAndClose\\\"}}\\n              @type=\\\"secondary\\\"\\n              @icon=\\\"close\\\"\\n              data-test-cancel-button={{true}}\\n            />\\n          {{/unless}}\\n          <list.button\\n            @label=\\\"Save and close\\\"\\n            @isProcessing={{isSaving}}\\n            @processingLabel=\\\"Saving...\\\"\\n            @onClick={{action \\\"save\\\"}}\\n            @type=\\\"primary\\\"\\n            data-test-save-button={{true}}\\n            @disabled={{and this.isPublished (not this.canPublish)}}\\n          />\\n        {{else}}\\n          {{#if this.isPublished}}\\n            <IcButton\\n              @label=\\\"Pause\\\"\\n              @icon=\\\"pause\\\"\\n              @type=\\\"secondary\\\"\\n              @onClick={{action \\\"saveAndUnpublish\\\"}}\\n              data-test-unpublish-button={{true}}\\n            />\\n          {{else}}\\n            <Paywall\\n              @featureKey=\\\"product_tours\\\"\\n              @disableFeatureHighlighting={{true}}\\n              as |paywall|\\n            >\\n              <paywall.Hover>\\n                <IcButton\\n                  @type=\\\"primary-live\\\"\\n                  @onClick={{action \\\"saveAndPublish\\\"}}\\n                  data-test-publish-paywall-button={{true}}\\n                  @disabled={{or (not this.canPublish) paywall.isActive}}\\n                >\\n                  Set live\\n                </IcButton>\\n              </paywall.Hover>\\n            </Paywall>\\n          {{/if}}\\n          <list.button\\n            @type=\\\"primary\\\"\\n            @label=\\\"Edit tour\\\"\\n            @icon=\\\"edit\\\"\\n            @onClick={{action \\\"switchToEditMode\\\"}}\\n            data-test-edit-button={{true}}\\n          />\\n        {{/if}}\\n      </IcButtonList>\\n    </div>\\n  </div>\\n  <ContentEditor::Headers::StandardTagsTab\\n    @ruleset={{this.ruleset}}\\n  />\\n  {{#if isEditing}}\\n    <Common::AccordionComponent\\n      @initiallyOpenSectionName={{@initiallyOpenSectionName}}\\n      @sectionDidOpen={{action \\\"sectionDidOpen\\\"}}\\n      @sectionDidClose={{action \\\"sectionDidClose\\\"}} as |accordion|\\n    >\\n      <accordion.section\\n        @headerClass=\\\"accordion__blue-header\\\"\\n        @name=\\\"content\\\"\\n        @shouldNotAddPaddingToBody={{true}}\\n        data-test-tour-content={{true}} as |section|\\n      >\\n        <section.header data-test-tour-content-header as |header|>\\n          <div\\n            class={{if (and (not header.isOpen) tour.hasSteps) \\\"u__padt__20\\\"}}\\n          >\\n            <Common::AccordionComponent::BlueHeaderTitle\\n              @isOpen={{header.isOpen}}\\n              @number={{this.sectionNumbers.content}}\\n              @title=\\\"Create your tour\\\"\\n              @isComplete={{contentValid}}\\n            />\\n          </div>\\n          {{#if (and (not header.isOpen) tour.hasSteps)}}\\n            <Tours::Editor::TimelineComponent\\n              @isEditing={{isEditing}}\\n              @headerIsOpen={{header.isOpen}}\\n              @hideStats={{true}}\\n              @tour={{tour}}\\n              data-test-tour-content-steps={{true}}\\n            />\\n          {{/if}}\\n        </section.header>\\n        <section.header-action as |ha|>\\n          {{#if ha.isOpen}}\\n            <IcButton @label=\\\"Done\\\" @type=\\\"primary-on-blue\\\" class=\\\"u__mr__15\\\" />\\n          {{/if}}\\n        </section.header-action>\\n        <section.body as |body|>\\n          {{#if body.isOpen}}\\n            <Tours::Editor::ContentPanel @tour={{tour}} />\\n          {{/if}}\\n        </section.body>\\n      </accordion.section>\\n      <accordion.section\\n        @headerClass=\\\"accordion__blue-header\\\"\\n        @name=\\\"audience\\\"\\n        @shouldNotAddPaddingToBody={{true}}\\n        data-test-tour-audience={{true}} as |section|\\n      >\\n        <Tours::Editor::Audience::Section\\n          @number={{this.sectionNumbers.audience}}\\n          @ruleset={{@ruleset}}\\n          @section={{section}}\\n          @showArticleModal={{this.showArticleModal}}\\n        />\\n      </accordion.section>\\n      {{#if app.canUseTourScheduling}}\\n        <accordion.section\\n          @headerClass=\\\"accordion__blue-header\\\"\\n          @name=\\\"matchingTimetable\\\"\\n          @shouldNotAddPaddingToBody={{true}}\\n          data-test-tour-matching-timetable={{true}} as |section|\\n        >\\n          <section.header data-test-tour-content-header as |header|>\\n            <div\\n              class={{if (and (not header.isOpen) tour.hasSteps) \\\"u__padt__20\\\"}}\\n            >\\n              <Common::AccordionComponent::BlueHeaderTitle\\n                @isOpen={{header.isOpen}}\\n                @number={{this.sectionNumbers.matchingTimetable}}\\n                @title=\\\"Schedule your tour\\\"\\n                @isComplete={{is-present ruleset.matchingTimetable}}\\n              />\\n            </div>\\n          </section.header>\\n          <section.header-action as |ha|>\\n            {{#if ha.isOpen}}\\n              <IcButton\\n                @label=\\\"Done\\\"\\n                @type=\\\"primary-on-blue\\\"\\n                class=\\\"u__mr__15\\\"\\n              />\\n            {{/if}}\\n          </section.header-action>\\n          <section.body as |body|>\\n            {{#if body.isOpen}}\\n              <div class=\\\"layout__box u__pad__20\\\">\\n                <MatchingSystem::MatchingTimetableEditor\\n                  @ruleset={{ruleset}}\\n                  @contentName={{\\\"tour\\\"}}\\n                />\\n              </div>\\n            {{/if}}\\n          </section.body>\\n        </accordion.section>\\n      {{/if}}\\n      <accordion.section\\n        @headerClass=\\\"accordion__blue-header\\\"\\n        @name=\\\"insertion\\\"\\n        @shouldNotAddPaddingToBody={{true}}\\n        data-test-tour-insertion={{true}} as |section|\\n      >\\n        <section.header data-test-tour-insertion-header={{true}} as |header|>\\n          <div class=\\\"layout__box o__has-columns\\\">\\n            <Common::AccordionComponent::BlueHeaderTitle\\n              @isOpen={{header.isOpen}}\\n              @number={{this.sectionNumbers.insertion}}\\n              @title=\\\"Use your tour everywhere\\\"\\n              @isComplete={{and insertionEnabled insertionCompleted}}\\n            />\\n            <div class=\\\"layout__box u__ml__35 o__centers-vertically\\\">\\n              {{#if (and (not header.isOpen) insertionCompleted)}}\\n                <Tours::Editor::InsertionView\\n                  @isDisabled={{this.insertionDisabled}}\\n                  @tour={{tour}}\\n                  @copyableUrl={{this.copyableUrl}}\\n                />\\n              {{/if}}\\n            </div>\\n          </div>\\n        </section.header>\\n        <section.header-action as |ha|>\\n          {{#if ha.isOpen}}\\n            <IcButton @label=\\\"Done\\\" @type=\\\"primary-on-blue\\\" class=\\\"u__mr__15\\\" />\\n          {{/if}}\\n        </section.header-action>\\n        <section.body as |body|>\\n          <Tours::Editor::InsertionPanel\\n            @tour={{tour}}\\n            @isDisabled={{this.insertionDisabled}}\\n            @isPublished={{this.isPublished}}\\n            @onEnable={{action \\\"setInsertable\\\" true}}\\n            @onDisable={{action \\\"setInsertable\\\" false}}\\n            @copyableUrl={{this.copyableUrl}}\\n          />\\n        </section.body>\\n      </accordion.section>\\n      <accordion.section\\n        @headerClass=\\\"accordion__blue-header\\\"\\n        @name=\\\"goals\\\"\\n        @shouldNotAddPaddingToBody={{true}}\\n        data-test-tour-goal={{true}} as |section|\\n      >\\n        <section.header data-test-tour-goal-header={{true}} as |header|>\\n          <div class=\\\"layout__box o__has-columns\\\">\\n            <Common::AccordionComponent::BlueHeaderTitle\\n              @isOpen={{header.isOpen}}\\n              @number={{this.sectionNumbers.goals}}\\n              @title=\\\"Set your goal\\\"\\n              @isComplete={{this.goalValid}}\\n            />\\n            {{#if (and (not header.isOpen) this.goalValid)}}\\n              <div class=\\\"layout__box u__ml__35 o__centers-vertically text-gray\\\" data-test-goal-summary-container>\\n                {{#if this.ruleset.hasGoal}}\\n                  <StatsSystem::Goals::GoalSummary @goal={{this.ruleset.goal}} />\\n                {{else}}\\n                  <p data-test-goal-predicate-summary-disabled>No goal set</p>\\n                {{/if}}\\n              </div>\\n            {{/if}}\\n          </div>\\n\\n        </section.header>\\n        <section.header-action as |ha|>\\n          {{#if ha.isOpen}}\\n            <IcButton\\n              @label=\\\"Done\\\"\\n              @type=\\\"primary-on-blue\\\"\\n              class=\\\"u__mr__15\\\"\\n            />\\n          {{/if}}\\n        </section.header-action>\\n        <section.body as |body|>\\n          <StatsSystem::Goals::GoalEditor\\n            @introText=\\\"Understand how your tour drives people to take action in your product, like choosing an\\n            avatar or visiting a page.\\\"\\n            @entity={{@ruleset}}\\n            @entityName=\\\"tour\\\"\\n            @entityType={{this.rulesetEntityType}}\\n          />\\n        </section.body>\\n      </accordion.section>\\n      <accordion.section\\n        @headerClass=\\\"accordion__blue-header\\\"\\n        @name=\\\"review\\\"\\n        @shouldNotAddPaddingToBody={{true}}\\n        data-test-tour-review={{true}} as |section|\\n      >\\n        <section.header data-test-tour-review-header={{true}} as |header|>\\n          <Common::AccordionComponent::BlueHeaderTitle\\n            @isOpen={{header.isOpen}}\\n            @number={{this.sectionNumbers.review}}\\n            @title=\\\"Set your tour live\\\"\\n            @isComplete={{this.canPublish}}\\n          />\\n        </section.header>\\n        <section.header-action as |ha|>\\n          {{#if ha.isOpen}}\\n            <IcButton @label=\\\"Done\\\" @type=\\\"primary-on-blue\\\" class=\\\"u__mr__15\\\" />\\n          {{/if}}\\n        </section.header-action>\\n        <section.body as |body|>\\n          <Tours::Editor::PublishPanel\\n            @canPublish={{this.canPublish}}\\n            @canStartSending={{this.canStartSending}}\\n            @insertionVisited={{this.insertionVisited}}\\n            @isPublished={{this.isPublished}}\\n            @finishedPublishing={{this.finishedPublishing}}\\n            @ruleset={{ruleset}}\\n            @tour={{tour}}\\n            @validationPanelMap={{validationPanelMap}}\\n            @openSection={{action body.accordionAPI.openSection}}\\n            @save={{action \\\"save\\\"}}\\n            @saveAndPublish={{action \\\"saveAndPublish\\\"}}\\n            @saveAndUnpublish={{action \\\"saveAndUnpublish\\\"}}\\n            @copyableUrl={{this.copyableUrl}}\\n          />\\n        </section.body>\\n      </accordion.section>\\n    </Common::AccordionComponent>\\n  {{else}}\\n    <StatsSystem::Deprecated::StatsComponent\\n      @changeView={{@changeView}}\\n      @filter={{this.filter}}\\n      @ruleset={{@ruleset}}\\n      @stat={{@stat}}\\n    />\\n    {{#if (not @stat)}}\\n      <div\\n        class={{if\\n          tour.hasSteps\\n          \\\"layout__box o__has-rows tours__editor__panel tours__editor__panel-title\\\"\\n          \\\"layout__box o__has-columns tours__editor__panel tours__editor__panel-title\\\"\\n        }}\\n        data-test-tour-content-view\\n      >\\n        {{#if tour.hasSteps}}\\n          <div\\n            class=\\\"tours__editor__content-panel__timeline-container layout__box o__has_columns u__padl__0\\\"\\n          >\\n            <Tours::Editor::TimelineComponent\\n              @tour={{tour}}\\n              @isEditing={{isEditing}}\\n              @headerIsOpen={{false}}\\n            />\\n          </div>\\n        {{else}}\\n          <div data-test-tour-empty-content-view>\\n            <span>\\n              -\\n            </span>\\n          </div>\\n        {{/if}}\\n      </div>\\n      <div\\n        class=\\\"layout__box o__has-columns tours__editor__panel tours__editor__panel-title\\\"\\n        data-test-tour-audience-view\\n      >\\n        <div class=\\\"layout__box u__mr__60\\\">\\n          <h2 class=\\\"t__h2 tours__editor__panel-heading\\\">\\n            Show your tour automatically\\n          </h2>\\n        </div>\\n        <Tours::Editor::AudienceView\\n          @isDisabled={{this.showAutomaticallyDisabled}}\\n          @ruleset={{ruleset}}\\n        />\\n      </div>\\n      <div\\n        class=\\\"layout__box o__has-columns tours__editor__panel tours__editor__panel-title\\\"\\n        data-test-tour-insertion-view\\n      >\\n        <div class=\\\"layout__box u__mr__60\\\">\\n          <h2 class=\\\"t__h2 tours__editor__panel-heading\\\">\\n            Use your tour everywhere\\n          </h2>\\n        </div>\\n        <Tours::Editor::InsertionView\\n          @isDisabled={{this.insertionDisabled}}\\n          @tour={{tour}}\\n          @isPublished={{this.isPublished}}\\n          @copyableUrl={{this.copyableUrl}}\\n        />\\n      </div>\\n      <div\\n        class=\\\"layout__box o__has-columns tours__editor__panel tours__editor__panel-title\\\"\\n        data-test-tour-goal-view\\n      >\\n        <div class=\\\"layout__box u__mr__60\\\">\\n          <h2 class=\\\"t__h2 tours__editor__panel-heading\\\">\\n            Goal\\n          </h2>\\n        </div>\\n\\n        <Text @styling=\\\"muted\\\">\\n          {{#if this.ruleset.hasGoal}}\\n            <StatsSystem::Goals::GoalSummary @goal={{this.ruleset.goal}} />\\n          {{else}}\\n            <p data-test-goal-predicate-summary-disabled>No goal set</p>\\n          {{/if}}\\n        </Text>\\n      </div>\\n\\n    {{/if}}\\n  {{/if}}\\n  {{#if shouldFadeAndShowLoadingSpinner}}\\n    <div\\n      class=\\\"tours__editor__container__loader layout__box o__flexes-to-1 o__centers-all z__1\\\"\\n    >\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    </div>\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable template-length --}}\\n<div class=\\\"tours__accordion\\\">\\n  <div\\n    class=\\\"layout__box o__has-columns tours__design-header {{if (not (has-feature \\\"canUseToursInOutboundHome\\\")) \\\"u__mt__20\\\"}} u__mb__20\\\"\\n  >\\n    <div class=\\\"layout__box o__flexes-to-1\\\">\\n      {{#if (not (has-feature \\\"canUseToursInOutboundHome\\\"))}}\\n        <Common::BreadcrumbsComponent @breadcrumbs={{breadcrumbs}} />\\n      {{/if}}\\n      <div class=\\\"flex flex-row\\\">\\n        {{#if (has-feature \\\"canUseToursInOutboundHome\\\")}}\\n          <Common::HamburgerMenu @includePadding={{false}}></Common::HamburgerMenu>\\n        {{/if}}\\n        <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n          <h1 class=\\\"t__h1 o__truncated\\\">\\n            {{#if isEditing}}\\n              <Pulse::ExpandingInput\\n                @value={{tour.title}}\\n                @onUpdate={{queue\\n                  (set tour.title)\\n                  (set ruleset.clientData.title)\\n                }}\\n                placeholder=\\\"Untitled tour\\\"\\n                maxlength={{140}}\\n                class=\\\"t__h1 min-w-3 max-w-128 placeholder-gray placeholder-opacity-75\\\"\\n                data-test-tour-title-input\\n              />\\n            {{else}}\\n              <span data-test-tour-title>\\n                {{tour.displayedTitle}}\\n              </span>\\n            {{/if}}\\n          </h1>\\n          <span data-test-sending-state-stamp>\\n            {{ic-stamp this.stateName \\\"u__ml__5\\\"}}\\n          </span>\\n        </div>\\n      </div>\\n      {{#if displayDescription}}\\n        {{#if isEditing}}\\n          <Pulse::ExpandingInput\\n            @value={{tour.description}}\\n            @onUpdate={{set tour.description}}\\n            placeholder=\\\"Add a description your customers could see when they receive this tour.\\\"\\n            maxlength={{140}}\\n            class=\\\"min-w-3 max-w-128 placeholder-gray placeholder-opacity-75\\\"\\n            data-test-tour-description-input\\n          />\\n        {{else}}\\n          <span data-test-tour-description>\\n            {{tour.description}}\\n          </span>\\n        {{/if}}\\n        <IcTooltipIcon>\\n          The title and description of this tour will be visible to customers when it's sent to them in Messenger conversations.\\n        </IcTooltipIcon>\\n      {{/if}}\\n    </div>\\n    <div class=\\\"layout__box o__has-columns o__centers-vertically\\\">\\n      {{#if app.canExportCsv}}\\n        <IcDropdownOpener data-test-more-dropdown @groupList={{this.groupList}} @label=\\\"More\\\" />\\n        <StatsSystem::CsvExport::Modal\\n          @objectType={{ruleset.rulesetLinks.firstObject.objectType}}\\n          @ruleset={{ruleset}}\\n          @isOpen={{this.isCsvExportModalVisible}}\\n          @hideCsvExportModal={{action (mut this.isCsvExportModalVisible) false}}\\n        />\\n      {{/if}}\\n      <IcButtonList @processing={{isSaving}} as |list|>\\n        {{#if (not app.canExportCsv)}}\\n          <list.button\\n            @label=\\\"Duplicate\\\"\\n            @type=\\\"secondary\\\"\\n            @onClick={{perform duplicateRuleset}}\\n            data-test-duplicate-button={{true}}\\n          />\\n          <list.button\\n            @label=\\\"Delete\\\"\\n            @type=\\\"secondary-destructive\\\"\\n            @onClick={{perform deleteRuleset}}\\n            data-test-delete-button={{true}}\\n          />\\n        {{/if}}\\n        <IntersectionLauncher @intersectionMode=\\\"tour-preview\\\" as |launcher|>\\n          <IcButton\\n            @label=\\\"Preview\\\"\\n            @icon=\\\"put-live\\\"\\n            @disabled={{previewDisabled}}\\n            @onClick={{action launcher.openTourPreview tour.url}}\\n            data-test-preview-button={{true}}\\n          />\\n        </IntersectionLauncher>\\n        {{#if isEditing}}\\n          {{#unless ruleset.isNewRuleset}}\\n            <list.button\\n              @label=\\\"Cancel\\\"\\n              @onClick={{action \\\"cancelAndClose\\\"}}\\n              @type=\\\"secondary\\\"\\n              @icon=\\\"close\\\"\\n              data-test-cancel-button={{true}}\\n            />\\n          {{/unless}}\\n          <list.button\\n            @label=\\\"Save and close\\\"\\n            @isProcessing={{isSaving}}\\n            @processingLabel=\\\"Saving...\\\"\\n            @onClick={{action \\\"save\\\"}}\\n            @type=\\\"primary\\\"\\n            data-test-save-button={{true}}\\n            @disabled={{and this.isPublished (not this.canPublish)}}\\n          />\\n        {{else}}\\n          {{#if this.isPublished}}\\n            <IcButton\\n              @label=\\\"Pause\\\"\\n              @icon=\\\"pause\\\"\\n              @type=\\\"secondary\\\"\\n              @onClick={{action \\\"saveAndUnpublish\\\"}}\\n              data-test-unpublish-button={{true}}\\n            />\\n          {{else}}\\n            <Paywall\\n              @featureKey=\\\"product_tours\\\"\\n              @disableFeatureHighlighting={{true}}\\n              as |paywall|\\n            >\\n              <paywall.Hover>\\n                <IcButton\\n                  @type=\\\"primary-live\\\"\\n                  @onClick={{action \\\"saveAndPublish\\\"}}\\n                  data-test-publish-paywall-button={{true}}\\n                  @disabled={{or (not this.canPublish) paywall.isActive}}\\n                >\\n                  Set live\\n                </IcButton>\\n              </paywall.Hover>\\n            </Paywall>\\n          {{/if}}\\n          <list.button\\n            @type=\\\"primary\\\"\\n            @label=\\\"Edit tour\\\"\\n            @icon=\\\"edit\\\"\\n            @onClick={{action \\\"switchToEditMode\\\"}}\\n            data-test-edit-button={{true}}\\n          />\\n        {{/if}}\\n      </IcButtonList>\\n    </div>\\n  </div>\\n  <ContentEditor::Headers::StandardTagsTab\\n    @ruleset={{this.ruleset}}\\n  />\\n  {{#if isEditing}}\\n    <Common::AccordionComponent\\n      @initiallyOpenSectionName={{@initiallyOpenSectionName}}\\n      @sectionDidOpen={{action \\\"sectionDidOpen\\\"}}\\n      @sectionDidClose={{action \\\"sectionDidClose\\\"}} as |accordion|\\n    >\\n      <accordion.section\\n        @headerClass=\\\"accordion__blue-header\\\"\\n        @name=\\\"content\\\"\\n        @shouldNotAddPaddingToBody={{true}}\\n        data-test-tour-content={{true}} as |section|\\n      >\\n        <section.header data-test-tour-content-header as |header|>\\n          <div\\n            class={{if (and (not header.isOpen) tour.hasSteps) \\\"u__padt__20\\\"}}\\n          >\\n            <Common::AccordionComponent::BlueHeaderTitle\\n              @isOpen={{header.isOpen}}\\n              @number={{this.sectionNumbers.content}}\\n              @title=\\\"Create your tour\\\"\\n              @isComplete={{contentValid}}\\n            />\\n          </div>\\n          {{#if (and (not header.isOpen) tour.hasSteps)}}\\n            <Tours::Editor::TimelineComponent\\n              @isEditing={{isEditing}}\\n              @headerIsOpen={{header.isOpen}}\\n              @hideStats={{true}}\\n              @tour={{tour}}\\n              data-test-tour-content-steps={{true}}\\n            />\\n          {{/if}}\\n        </section.header>\\n        <section.header-action as |ha|>\\n          {{#if ha.isOpen}}\\n            <IcButton @label=\\\"Done\\\" @type=\\\"primary-on-blue\\\" class=\\\"u__mr__15\\\" />\\n          {{/if}}\\n        </section.header-action>\\n        <section.body as |body|>\\n          {{#if body.isOpen}}\\n            <Tours::Editor::ContentPanel @tour={{tour}} />\\n          {{/if}}\\n        </section.body>\\n      </accordion.section>\\n      <accordion.section\\n        @headerClass=\\\"accordion__blue-header\\\"\\n        @name=\\\"audience\\\"\\n        @shouldNotAddPaddingToBody={{true}}\\n        data-test-tour-audience={{true}} as |section|\\n      >\\n        <Tours::Editor::Audience::Section\\n          @number={{this.sectionNumbers.audience}}\\n          @ruleset={{@ruleset}}\\n          @section={{section}}\\n          @showArticleModal={{this.showArticleModal}}\\n        />\\n      </accordion.section>\\n      {{#if app.canUseTourScheduling}}\\n        <accordion.section\\n          @headerClass=\\\"accordion__blue-header\\\"\\n          @name=\\\"matchingTimetable\\\"\\n          @shouldNotAddPaddingToBody={{true}}\\n          data-test-tour-matching-timetable={{true}} as |section|\\n        >\\n          <section.header data-test-tour-content-header as |header|>\\n            <div\\n              class={{if (and (not header.isOpen) tour.hasSteps) \\\"u__padt__20\\\"}}\\n            >\\n              <Common::AccordionComponent::BlueHeaderTitle\\n                @isOpen={{header.isOpen}}\\n                @number={{this.sectionNumbers.matchingTimetable}}\\n                @title=\\\"Schedule your tour\\\"\\n                @isComplete={{is-present ruleset.matchingTimetable}}\\n              />\\n            </div>\\n          </section.header>\\n          <section.header-action as |ha|>\\n            {{#if ha.isOpen}}\\n              <IcButton\\n                @label=\\\"Done\\\"\\n                @type=\\\"primary-on-blue\\\"\\n                class=\\\"u__mr__15\\\"\\n              />\\n            {{/if}}\\n          </section.header-action>\\n          <section.body as |body|>\\n            {{#if body.isOpen}}\\n              <div class=\\\"layout__box u__pad__20\\\">\\n                <MatchingSystem::MatchingTimetableEditor\\n                  @ruleset={{ruleset}}\\n                  @contentName={{\\\"tour\\\"}}\\n                />\\n              </div>\\n            {{/if}}\\n          </section.body>\\n        </accordion.section>\\n      {{/if}}\\n      <accordion.section\\n        @headerClass=\\\"accordion__blue-header\\\"\\n        @name=\\\"insertion\\\"\\n        @shouldNotAddPaddingToBody={{true}}\\n        data-test-tour-insertion={{true}} as |section|\\n      >\\n        <section.header data-test-tour-insertion-header={{true}} as |header|>\\n          <div class=\\\"layout__box o__has-columns\\\">\\n            <Common::AccordionComponent::BlueHeaderTitle\\n              @isOpen={{header.isOpen}}\\n              @number={{this.sectionNumbers.insertion}}\\n              @title=\\\"Use your tour everywhere\\\"\\n              @isComplete={{and insertionEnabled insertionCompleted}}\\n            />\\n            <div class=\\\"layout__box u__ml__35 o__centers-vertically\\\">\\n              {{#if (and (not header.isOpen) insertionCompleted)}}\\n                <Tours::Editor::InsertionView\\n                  @isDisabled={{this.insertionDisabled}}\\n                  @tour={{tour}}\\n                  @copyableUrl={{this.copyableUrl}}\\n                />\\n              {{/if}}\\n            </div>\\n          </div>\\n        </section.header>\\n        <section.header-action as |ha|>\\n          {{#if ha.isOpen}}\\n            <IcButton @label=\\\"Done\\\" @type=\\\"primary-on-blue\\\" class=\\\"u__mr__15\\\" />\\n          {{/if}}\\n        </section.header-action>\\n        <section.body as |body|>\\n          <Tours::Editor::InsertionPanel\\n            @tour={{tour}}\\n            @isDisabled={{this.insertionDisabled}}\\n            @isPublished={{this.isPublished}}\\n            @onEnable={{action \\\"setInsertable\\\" true}}\\n            @onDisable={{action \\\"setInsertable\\\" false}}\\n            @copyableUrl={{this.copyableUrl}}\\n          />\\n        </section.body>\\n      </accordion.section>\\n      <accordion.section\\n        @headerClass=\\\"accordion__blue-header\\\"\\n        @name=\\\"goals\\\"\\n        @shouldNotAddPaddingToBody={{true}}\\n        data-test-tour-goal={{true}} as |section|\\n      >\\n        <section.header data-test-tour-goal-header={{true}} as |header|>\\n          <div class=\\\"layout__box o__has-columns\\\">\\n            <Common::AccordionComponent::BlueHeaderTitle\\n              @isOpen={{header.isOpen}}\\n              @number={{this.sectionNumbers.goals}}\\n              @title=\\\"Set your goal\\\"\\n              @isComplete={{this.goalValid}}\\n            />\\n            {{#if (and (not header.isOpen) this.goalValid)}}\\n              <div class=\\\"layout__box u__ml__35 o__centers-vertically text-gray\\\" data-test-goal-summary-container>\\n                {{#if this.ruleset.hasGoal}}\\n                  <StatsSystem::Goals::GoalSummary @goal={{this.ruleset.goal}} />\\n                {{else}}\\n                  <p data-test-goal-predicate-summary-disabled>No goal set</p>\\n                {{/if}}\\n              </div>\\n            {{/if}}\\n          </div>\\n\\n        </section.header>\\n        <section.header-action as |ha|>\\n          {{#if ha.isOpen}}\\n            <IcButton\\n              @label=\\\"Done\\\"\\n              @type=\\\"primary-on-blue\\\"\\n              class=\\\"u__mr__15\\\"\\n            />\\n          {{/if}}\\n        </section.header-action>\\n        <section.body as |body|>\\n          <StatsSystem::Goals::GoalEditor\\n            @introText=\\\"Understand how your tour drives people to take action in your product, like choosing an\\n            avatar or visiting a page.\\\"\\n            @entity={{@ruleset}}\\n            @entityName=\\\"tour\\\"\\n            @entityType={{this.rulesetEntityType}}\\n          />\\n        </section.body>\\n      </accordion.section>\\n      <accordion.section\\n        @headerClass=\\\"accordion__blue-header\\\"\\n        @name=\\\"review\\\"\\n        @shouldNotAddPaddingToBody={{true}}\\n        data-test-tour-review={{true}} as |section|\\n      >\\n        <section.header data-test-tour-review-header={{true}} as |header|>\\n          <Common::AccordionComponent::BlueHeaderTitle\\n            @isOpen={{header.isOpen}}\\n            @number={{this.sectionNumbers.review}}\\n            @title=\\\"Set your tour live\\\"\\n            @isComplete={{this.canPublish}}\\n          />\\n        </section.header>\\n        <section.header-action as |ha|>\\n          {{#if ha.isOpen}}\\n            <IcButton @label=\\\"Done\\\" @type=\\\"primary-on-blue\\\" class=\\\"u__mr__15\\\" />\\n          {{/if}}\\n        </section.header-action>\\n        <section.body as |body|>\\n          <Tours::Editor::PublishPanel\\n            @canPublish={{this.canPublish}}\\n            @canStartSending={{this.canStartSending}}\\n            @insertionVisited={{this.insertionVisited}}\\n            @isPublished={{this.isPublished}}\\n            @finishedPublishing={{this.finishedPublishing}}\\n            @ruleset={{ruleset}}\\n            @tour={{tour}}\\n            @validationPanelMap={{validationPanelMap}}\\n            @openSection={{action body.accordionAPI.openSection}}\\n            @save={{action \\\"save\\\"}}\\n            @saveAndPublish={{action \\\"saveAndPublish\\\"}}\\n            @saveAndUnpublish={{action \\\"saveAndUnpublish\\\"}}\\n            @copyableUrl={{this.copyableUrl}}\\n          />\\n        </section.body>\\n      </accordion.section>\\n    </Common::AccordionComponent>\\n  {{else}}\\n    <StatsSystem::Deprecated::StatsComponent\\n      @changeView={{@changeView}}\\n      @filter={{this.filter}}\\n      @ruleset={{@ruleset}}\\n      @stat={{@stat}}\\n    />\\n    {{#if (not @stat)}}\\n      <div\\n        class={{if\\n          tour.hasSteps\\n          \\\"layout__box o__has-rows tours__editor__panel tours__editor__panel-title\\\"\\n          \\\"layout__box o__has-columns tours__editor__panel tours__editor__panel-title\\\"\\n        }}\\n        data-test-tour-content-view\\n      >\\n        {{#if tour.hasSteps}}\\n          <div\\n            class=\\\"tours__editor__content-panel__timeline-container layout__box o__has_columns u__padl__0\\\"\\n          >\\n            <Tours::Editor::TimelineComponent\\n              @tour={{tour}}\\n              @isEditing={{isEditing}}\\n              @headerIsOpen={{false}}\\n            />\\n          </div>\\n        {{else}}\\n          <div data-test-tour-empty-content-view>\\n            <span>\\n              -\\n            </span>\\n          </div>\\n        {{/if}}\\n      </div>\\n      <div\\n        class=\\\"layout__box o__has-columns tours__editor__panel tours__editor__panel-title\\\"\\n        data-test-tour-audience-view\\n      >\\n        <div class=\\\"layout__box u__mr__60\\\">\\n          <h2 class=\\\"t__h2 tours__editor__panel-heading\\\">\\n            Show your tour automatically\\n          </h2>\\n        </div>\\n        <Tours::Editor::AudienceView\\n          @isDisabled={{this.showAutomaticallyDisabled}}\\n          @ruleset={{ruleset}}\\n        />\\n      </div>\\n      <div\\n        class=\\\"layout__box o__has-columns tours__editor__panel tours__editor__panel-title\\\"\\n        data-test-tour-insertion-view\\n      >\\n        <div class=\\\"layout__box u__mr__60\\\">\\n          <h2 class=\\\"t__h2 tours__editor__panel-heading\\\">\\n            Use your tour everywhere\\n          </h2>\\n        </div>\\n        <Tours::Editor::InsertionView\\n          @isDisabled={{this.insertionDisabled}}\\n          @tour={{tour}}\\n          @isPublished={{this.isPublished}}\\n          @copyableUrl={{this.copyableUrl}}\\n        />\\n      </div>\\n      <div\\n        class=\\\"layout__box o__has-columns tours__editor__panel tours__editor__panel-title\\\"\\n        data-test-tour-goal-view\\n      >\\n        <div class=\\\"layout__box u__mr__60\\\">\\n          <h2 class=\\\"t__h2 tours__editor__panel-heading\\\">\\n            Goal\\n          </h2>\\n        </div>\\n\\n        <Text @styling=\\\"muted\\\">\\n          {{#if this.ruleset.hasGoal}}\\n            <StatsSystem::Goals::GoalSummary @goal={{this.ruleset.goal}} />\\n          {{else}}\\n            <p data-test-goal-predicate-summary-disabled>No goal set</p>\\n          {{/if}}\\n        </Text>\\n      </div>\\n\\n    {{/if}}\\n  {{/if}}\\n  {{#if shouldFadeAndShowLoadingSpinner}}\\n    <div\\n      class=\\\"tours__editor__container__loader layout__box o__flexes-to-1 o__centers-all z__1\\\"\\n    >\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    </div>\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/tours/tour-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/tour-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-side-effects */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { alias, and, not, or, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { isBlank, isEmpty, isPresent } from '@ember/utils';\nimport { task } from 'ember-concurrency';\nimport { includes } from '@intercom/embercom-core/lib/computed-properties';\nimport { intercomPromiseConfirm } from 'embercom/lib/intercom-confirm';\nimport MESSAGE_CONSTANTS from 'embercom/models/data/messages/message-constants';\nimport PredicateGroup from 'predicates/models/predicate-group';\nimport { stateName } from 'embercom/helpers/state-name';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nconst REPLY_TYPE_OPTIONS = {\n  text: { label: 'Text', value: MESSAGE_CONSTANTS.textReply, icon: 'chat-bubble' },\n  repliesDisabled: {\n    label: 'No reply',\n    value: MESSAGE_CONSTANTS.repliesDisabled,\n    icon: 'delete',\n  },\n};\n\nconst TOURS_HOME_ROUTE = 'apps.app.tours';\n\nexport default Component.extend({\n  appService: service(),\n  notificationsService: service(),\n  intersectionService: service(),\n  paywallService: service(),\n  intercomEventService: service(),\n  store: service(),\n  permissionsService: service(),\n  classNames: ['tours__editor__container'],\n  classNameBindings: ['shouldFadeAndShowLoadingSpinner:o__half-opaque'],\n  router: service(),\n  app: readOnly('appService.app'),\n  replyTypeOptions: [REPLY_TYPE_OPTIONS.text, REPLY_TYPE_OPTIONS.repliesDisabled],\n  selectedReplyType: MESSAGE_CONSTANTS.textReply,\n  tour: alias('ruleset.rulesetLinks.firstObject.object'),\n  showArticleModal: false,\n  temporaryTour: null,\n  isCsvExportModalVisible: false,\n  isEditing: false,\n  isViewing: not('isEditing'),\n  displayDescription: computed('isEditing', 'tour.description', function() {\n    return (isPresent(this.tour) && isPresent(this.tour.description)) || this.isEditing;\n  }),\n\n  previewEnabled: computed('tour.url', 'tour.hasSteps', function() {\n    return isPresent(this.get('tour.url')) && this.get('tour.hasSteps');\n  }),\n  previewDisabled: not('previewEnabled'),\n\n  hasVisitedInsertion: includes('visitedPanels', 'insertion'),\n\n  showAutomaticallyEnabled: readOnly('tour.clientData.showAutomatically'),\n  showAutomaticallyDisabled: not('showAutomaticallyEnabled'),\n  audienceCompleted: or('showAutomaticallyDisabled', 'ruleset.audienceValid'),\n\n  insertionEnabled: readOnly('tour.clientData.insertable'),\n  insertionDisabled: not('insertionEnabled'),\n  insertionCompleted: and('insertionVisited', 'insertionValid'),\n  insertionVisited: or('hasVisitedInsertion', 'ruleset.isNotNewRuleset'),\n  insertionValid: readOnly('tour.validations.attrs.insertableUrl.isValid'),\n  copyableUrl: computed('tour.insertableUrl', 'tour.id', function() {\n    let text = this.get('tour.insertableUrl');\n    if (isPresent(text)) {\n      let hasFragmentId = text.indexOf('#') > -1;\n      let hasParams = text.indexOf('?') > -1;\n      let tourParam = `product_tour_id=${this.get('tour.id')}`;\n      let tourParamPrefix = hasParams ? '&' : '?';\n      if (hasFragmentId) {\n        let i = text.indexOf('#');\n        let baseUrl = text.substring(0, i);\n        let fragmentId = text.substring(i);\n        text = `${baseUrl}${tourParamPrefix}${tourParam}${fragmentId}`;\n      } else {\n        text = `${text}${tourParamPrefix}${tourParam}`;\n      }\n    }\n    return text;\n  }),\n\n  _hasVisitedGoalsForNewRuleset: includes('visitedPanels', 'goals'),\n  _hasVisitedGoals: or('_hasVisitedGoalsForNewRuleset', 'ruleset.isNotNewRuleset'),\n  goal: readOnly('ruleset.goal'),\n  goalType: computed('goal', function() {\n    if (this.goal && this.goal.hasClientPredicate) {\n      return 'activity attributes';\n    } else if (this.goal && this.goal.hasUserPredicate) {\n      return 'customer attribute';\n    }\n    return 'not set';\n  }),\n  goalValid: and('_hasVisitedGoals', 'ruleset.validations.attrs.goal.isValid'),\n\n  activateRuleset: task(function*() {\n    try {\n      yield this.ruleset.activate();\n    } catch (e) {\n      this.notificationsService.notifyError('We could not start sending this product tour');\n      console.error(e);\n    }\n  }).drop(),\n\n  deactivateRuleset: task(function*() {\n    try {\n      yield this.ruleset.deactivate();\n    } catch (e) {\n      this.notificationsService.notifyError('We could not stop sending this product tour');\n      console.error(e);\n    }\n  }).drop(),\n\n  validationPanelMap: computed('showAutomaticallyEnabled', 'insertionEnabled', function() {\n    let panelMap = {\n      'tour.validations.attrs.url': {\n        sectionName: 'content',\n        index: 0,\n        overrideMessage: 'Customize the steps of this tour with your content.',\n      },\n      'tour.validations.attrs.steps': {\n        sectionName: 'content',\n        index: 0,\n      },\n      'tour.validations.attrs.pointerSteps': {\n        sectionName: 'content',\n        index: 0,\n      },\n    };\n    if (this.showAutomaticallyEnabled) {\n      panelMap['ruleset.validations.attrs.predicateGroup'] = {\n        sectionName: 'audience',\n        index: 1,\n        overrideMessage: 'Choose an audience to show your tour to people automatically.',\n      };\n      panelMap['ruleset.validations.attrs.userRolePredicate'] = {\n        sectionName: 'audience',\n        index: 1,\n        overrideMessage: 'Choose an audience to show your tour to people automatically.',\n      };\n      panelMap['ruleset.validations.attrs.clientPredicateGroup'] = {\n        sectionName: 'audience',\n        index: 1,\n      };\n    }\n    if (this.insertionEnabled) {\n      panelMap['tour.validations.attrs.insertableUrl'] = {\n        sectionName: 'insertion',\n        index: 2,\n        overrideMessage: 'Your tour needs a URL everyone can access in order to be inserted.',\n      };\n    }\n    panelMap['ruleset.validations.attrs.goal'] = {\n      sectionName: 'goals',\n      index: this.sectionNumbers['goals'] - 1,\n      overrideMessage: 'Your goal needs to be completed.',\n    };\n    return panelMap;\n  }),\n\n  contentValid: and(\n    'tour.validations.attrs.steps.isValid',\n    'tour.validations.attrs.pointerSteps.isValid',\n  ),\n\n  canStartSending: computed(\n    'showAutomaticallyEnabled',\n    'tour.validations.isValid',\n    'ruleset.validations.isValid',\n    function() {\n      let allValidationsValid =\n        this.get('tour.validations.isValid') && this.get('ruleset.validations.isValid');\n      return this.showAutomaticallyEnabled && allValidationsValid;\n    },\n  ),\n\n  canPublish: computed(\n    'showAutomaticallyEnabled',\n    'insertionEnabled',\n    'insertionVisited',\n    'tour.canStartInserting',\n    'canStartSending',\n    function() {\n      if (this.showAutomaticallyEnabled && !this.canStartSending) {\n        return false;\n      }\n\n      if (\n        this.insertionEnabled &&\n        (!this.insertionVisited || !this.get('tour.canStartInserting'))\n      ) {\n        return false;\n      }\n\n      return this.showAutomaticallyEnabled || this.insertionEnabled;\n    },\n  ),\n\n  finishedPublishing: null,\n  isPublished: computed('ruleset.isLive', 'tour.insertable', 'isPublishing', function() {\n    let isPublished = this.get('tour.insertable') || this.get('ruleset.isLive');\n    if (!this.isPublishing) {\n      this.set('finishedPublishing', isPublished);\n    }\n    return isPublished;\n  }),\n  isPublishing: or('savePublishAndClose.isRunning', 'saveUnpublishAndClose.isRunning'),\n  stateName: computed('ruleset.state', 'tour.insertable', function() {\n    return stateName(\n      {},\n      { state: this.ruleset.state, content: this.tour, objectType: objectTypes.tour },\n    );\n  }),\n\n  rulesetEntityType: objectTypes.ruleset,\n\n  insertableUrlHasChanged: computed('lastInsertableUrl', 'tour.insertableUrl', function() {\n    return this.lastInsertableUrl !== this.get('tour.insertableUrl');\n  }),\n\n  breadcrumbs: [\n    {\n      text: 'Product Tours',\n      route: 'apps.app.tours',\n    },\n  ],\n\n  sectionNumbers: computed('app.canUseTourScheduling', function() {\n    let sections = [\n      {\n        sectionName: 'content',\n        enabled: true,\n      },\n      {\n        sectionName: 'audience',\n        enabled: true,\n      },\n      {\n        sectionName: 'matchingTimetable',\n        enabled: this.app.canUseTourScheduling,\n      },\n      {\n        sectionName: 'insertion',\n        enabled: true,\n      },\n      {\n        sectionName: 'goals',\n        enabled: true,\n      },\n      {\n        sectionName: 'review',\n        enabled: true,\n      },\n    ];\n    let enabledSection = {};\n\n    sections\n      .filter(section => section.enabled)\n      .map(section => section.sectionName)\n      .map((sectionName, index) => (enabledSection[sectionName] = index + 1));\n\n    return enabledSection;\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.set('visitedPanels', []);\n    this.set('groupList', [\n      {\n        items: [\n          {\n            text: 'Duplicate',\n            icon: 'duplicate',\n            onSelectItem: () => this.duplicateRuleset.perform(),\n          },\n          {\n            text: 'Export CSV',\n            icon: 'filled-cloud-download',\n            onSelectItem: () => {\n              this.set('isCsvExportModalVisible', true);\n              this.intercomEventService.trackAnalyticsEvent({\n                action: 'dropdown-clicked',\n                object: 'csv_export',\n                ruleset_id: this.ruleset.id,\n              });\n            },\n          },\n          {\n            text: 'Delete',\n            icon: 'trash',\n            onSelectItem: () => this.deleteRuleset.perform(),\n          },\n        ],\n      },\n    ]);\n    this._initClientData();\n  },\n\n  _initClientData() {\n    if (isBlank(this.get('tour.clientData'))) {\n      this.set('tour.clientData', {});\n    }\n    if (\n      isBlank(this.get('tour.clientData.showAutomatically')) &&\n      isBlank(this.get('tour.clientData.insertable'))\n    ) {\n      this.set('tour.clientData.showAutomatically', true);\n      this.set('tour.clientData.insertable', true);\n    }\n    if (this.get('ruleset.isLive') || this.get('ruleset.isNewRuleset')) {\n      this.set('tour.clientData.showAutomatically', true);\n    }\n    if (this.get('ruleset.isNewRuleset') || this.get('tour.insertable')) {\n      this.set('tour.clientData.insertable', true);\n    }\n  },\n\n  shouldFadeAndShowLoadingSpinner: or('saveAndClose.isRunning', 'isPublishing'),\n\n  _onTourUpdated() {\n    let tourUrlWasEmptyBeforeUpdate = isEmpty(this.get('tour.url'));\n    this.ruleset.reload().then(() => {\n      if (tourUrlWasEmptyBeforeUpdate) {\n        this._initializeClientPredicatesWithLastVisitedUrl();\n        this._initializeInsertableUrl();\n      }\n    });\n    return true;\n  },\n\n  _initializeClientPredicatesWithLastVisitedUrl() {\n    if (isEmpty(this.get('ruleset.clientPredicateGroup.predicates'))) {\n      this.set(\n        'ruleset.clientPredicateGroup',\n        this.store.createFragment('predicates/predicate-group', {\n          predicates: PredicateGroup.convertRawPredicates(this.store, [\n            {\n              type: 'string',\n              attribute: 'client_attributes.last_visited_url',\n              comparison: 'eq',\n              value: this.get('tour.url'),\n            },\n          ]),\n        }),\n      );\n    }\n  },\n\n  _initializeInsertableUrl() {\n    if (isBlank(this.get('tour.insertableUrl'))) {\n      this.set('tour.insertableUrl', this.get('tour.url'));\n    }\n  },\n\n  _notifyFailure(errorMessage) {\n    this.notificationsService.notifyError(errorMessage);\n    this.tour.rollbackAttributes();\n    this._initClientData();\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.intersectionService.registerEventHandler('getTourId', data => {\n      return this.get('tour.id');\n    });\n    this.intersectionService.registerEventHandler('getTemporaryTour', data => {\n      if (!this.temporaryTour) {\n        return this.temporaryTour;\n      }\n      let tempTour = this.temporaryTour;\n      this.set('temporaryTour', null);\n      return tempTour;\n    });\n    this.intersectionService.registerEventHandler('tour-updated', () => this._onTourUpdated());\n    this.intersectionService.registerEventHandler('tour-build-url-updated', data => {\n      this.set('temporaryTour', data);\n      let url = new URL(JSON.parse(data).url);\n      this.intersectionService.updateTargetDomain(url);\n    });\n  },\n\n  willDestroyElement() {\n    this._super(...arguments);\n    this.intersectionService.unregisterEventHandler('getTourId');\n    this.intersectionService.unregisterEventHandler('tour-updated');\n    this.intersectionService.unregisterEventHandler('tour-build-url-updated');\n    this.intersectionService.unregisterEventHandler('getTemporaryTour');\n  },\n\n  saveAndClose: task(function*() {\n    let continueTask;\n    let confirmOptions = {\n      title: 'Are you sure you want to save changes?',\n      body:\n        'Your tour is published. Any changes you save will be visible to your customers immediately.',\n      confirmButtonText: 'Save',\n      cancelButtonText: 'Cancel',\n    };\n\n    if (!this.isPublished) {\n      continueTask = true;\n    } else {\n      continueTask = yield intercomPromiseConfirm(this, confirmOptions);\n    }\n\n    if (continueTask) {\n      try {\n        let wasPublishedBeforeSave = this.isPublished;\n        if (wasPublishedBeforeSave) {\n          this.tour.set('insertable', this.get('tour.canStartInserting'));\n        }\n        yield this.ruleset.save();\n        if (wasPublishedBeforeSave) {\n          if (this.canStartSending && !this.get('ruleset.isLive')) {\n            yield this.activateRuleset.perform();\n          } else if (!this.canStartSending && this.get('ruleset.isLive')) {\n            yield this.deactivateRuleset.perform();\n          }\n        }\n        this.notificationsService.notifyConfirmation('Your changes have been saved');\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'clicked',\n          object: `save_and_close`,\n          ruleset_id: this.ruleset.id,\n        });\n        this.send('switchToViewMode');\n      } catch (e) {\n        this._notifyFailure('Error saving tour');\n      }\n    }\n  }).drop(),\n\n  savePublishAndClose: task(function*() {\n    yield this.permissionsService.checkPermission('can_send_messages');\n    try {\n      if (this.get('tour.canStartInserting')) {\n        this.tour.set('insertable', true);\n      }\n      yield this.ruleset.save();\n      if (this.canStartSending) {\n        yield this.activateRuleset.perform();\n      }\n      this.notificationsService.notifyConfirmation('Your tour has been set live');\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: `save_start_sending_and_close`,\n        ruleset_id: this.ruleset.id,\n      });\n      this.send('switchToViewMode');\n    } catch (e) {\n      this._notifyFailure('Error saving tour');\n    }\n  }).drop(),\n\n  saveUnpublishAndClose: task(function*() {\n    try {\n      this.tour.set('insertable', false);\n      yield this.ruleset.save();\n      if (this.get('ruleset.isLive')) {\n        yield this.deactivateRuleset.perform();\n      }\n      this.notificationsService.notifyConfirmation('Your tour has been paused');\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: `save_stop_sending_and_close`,\n        ruleset_id: this.ruleset.id,\n      });\n      this.send('switchToViewMode');\n    } catch (e) {\n      this._notifyFailure('Error saving tour');\n    }\n  }).drop(),\n\n  confirmDelete: task(function*() {\n    let confirmOptions = {\n      title: 'Are you sure you want to delete this tour?',\n      confirmButtonText: 'Delete tour',\n      primaryButtonType: 'primary-destructive',\n      body:\n        \"If you delete this tour, you won't be able to recover it. All links to this tour will stop working.\",\n    };\n\n    return yield intercomPromiseConfirm(this, confirmOptions);\n  }),\n\n  deleteRuleset: task(function*() {\n    let shouldDelete = yield this.confirmDelete.perform();\n\n    if (!shouldDelete) {\n      return;\n    }\n\n    try {\n      yield this.ruleset.destroyRecord();\n      this.notificationsService.notifyConfirmation('Your tour has been deleted');\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: `delete`,\n        ruleset_id: this.ruleset.id,\n      });\n      this.transitionToTourList();\n    } catch (e) {\n      this.notificationsService.notifyError(\n        `Something went wrong and we couldn't delete your tour. Please try again`,\n      );\n    }\n  }).drop(),\n\n  duplicateRuleset: task(function*() {\n    try {\n      let newRuleset = yield this.ruleset.duplicate();\n      this._trackDuplicateTourEvent();\n\n      let newRulesetRoute = 'apps.app.tours.edit';\n      if (this.appService.app.canUseToursInOutboundHome) {\n        newRulesetRoute = 'apps.app.outbound.tour.edit';\n      }\n\n      this.router.transitionTo(newRulesetRoute, newRuleset.id);\n    } catch (e) {\n      this.notificationsService.notifyError(\n        `Something went wrong and we couldn't duplicate your tour. Please try again`,\n      );\n    }\n  }).drop(),\n\n  transitionToTourList() {\n    this.router.transitionTo(TOURS_HOME_ROUTE);\n  },\n\n  _trackDuplicateTourEvent() {\n    this.intercomEventService.trackAnalyticsEvent({\n      tour_id: this.tour.id,\n      object: 'tour',\n      object_state: this.stateName,\n      num_steps: this.tour.steps.length,\n      tours_status_automatically: this.showAutomaticallyEnabled ? 'on' : 'off',\n      tours_status_everywhere: this.insertionEnabled ? 'on' : 'off',\n      goal_type: this.goalType,\n      goal_duration: this.goal ? this.goal.timeConstraintInDays : 0,\n      action: 'duplicated',\n    });\n  },\n\n  _insertionPanelDidOpen() {\n    let lastInsertableUrl = this.get('tour.insertableUrl') || '';\n    this.set('lastInsertableUrl', lastInsertableUrl);\n  },\n\n  actions: {\n    sectionDidOpen(sectionName) {\n      this.visitedPanels.addObject(sectionName);\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'opened',\n        object: `tour_editor_${sectionName}`,\n        ruleset_id: this.ruleset.id,\n      });\n\n      if (sectionName === 'insertion') {\n        this._insertionPanelDidOpen();\n      }\n    },\n    sectionDidClose(sectionName) {\n      let event = {\n        action: 'closed',\n        object: `tour_editor_${sectionName}`,\n        ruleset_id: this.ruleset.id,\n        content_valid: this.contentValid,\n        audience_valid: this.audienceCompleted,\n      };\n\n      this.intercomEventService.trackAnalyticsEvent(event);\n\n      if (sectionName === 'insertion' && this.insertableUrlHasChanged) {\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'edited',\n          object: `tour_insertable_url`,\n          ruleset_id: this.ruleset.id,\n        });\n      }\n    },\n    save() {\n      this.saveAndClose.perform();\n    },\n    saveAndPublish() {\n      this.paywallService\n        .paywall({ featureName: 'product_tours' })\n        .then(() => {\n          this.savePublishAndClose.perform();\n        })\n        .catch(this.paywallService.handleError);\n    },\n    saveAndUnpublish() {\n      this.saveUnpublishAndClose.perform();\n    },\n    setAuthor(author) {\n      this.set('tour.fromId', author.id);\n    },\n    setInsertable(newValue) {\n      if (!this.get('tour.clientData')) {\n        this.set('tour.clientData', {});\n      }\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: newValue ? 'turn_tour_insertion_on' : 'turn_tour_insertion_off',\n        ruleset_id: this.ruleset.id,\n      });\n      this.set('tour.clientData.insertable', newValue);\n    },\n    switchToEditMode() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: `edit`,\n        ruleset_id: this.ruleset.id,\n      });\n      this.changeView('editor');\n    },\n    switchToViewMode() {\n      this.changeView('view-mode');\n    },\n    cancelAndClose() {\n      try {\n        this.tour.rollbackAttributes();\n        this.ruleset.rollbackAttributes();\n        this._initClientData();\n        this.send('switchToViewMode');\n      } catch (e) {\n        this.notificationsService.notifyError('Error cancelling changes');\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<AppFramework::MessengerApps::Inserter::AppConfigurator\\n  @selectedApp={{@toursMessengerApp}}\\n  @initializeType=\\\"card\\\"\\n  @contextualData={{@contextualData}}\\n  @insertAction={{this.insertMessengerCard}}\\n  @showAppStoreModal={{false}}\\n  @closePopover={{this.closePopover}}\\n  @shouldInitializeCanvas={{true}}\\n  @allowEditing={{false}}\\n  @preventBackToAppsClick={{true}}\\n  @restrictTo=\\\"messages\\\"\\n/>\\n\", {\"contents\":\"<AppFramework::MessengerApps::Inserter::AppConfigurator\\n  @selectedApp={{@toursMessengerApp}}\\n  @initializeType=\\\"card\\\"\\n  @contextualData={{@contextualData}}\\n  @insertAction={{this.insertMessengerCard}}\\n  @showAppStoreModal={{false}}\\n  @closePopover={{this.closePopover}}\\n  @shouldInitializeCanvas={{true}}\\n  @allowEditing={{false}}\\n  @preventBackToAppsClick={{true}}\\n  @restrictTo=\\\"messages\\\"\\n/>\\n\",\"moduleName\":\"embercom/components/tours/tour-inserter.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/tour-inserter.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class TourInserter extends Component {\n  @action\n  insertMessengerCard(cardJSON) {\n    this.args.inserterApi.createBlock('messengerCard', cardJSON);\n  }\n\n  closePopover() {}\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box u__padt__20 u__padl__0\\\">\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__centers-all\\\"\\n    data-test-tour-list-templates-empty-state\\n  >\\n    <div class=\\\"t__centered\\\">\\n      <IcEmptyState\\n        data-test-empty-state\\n        @icon=\\\"product-tours-list\\\"\\n        @title=\\\"When you create tours, you'll see them here\\\"\\n      >\\n        <div class=\\\"empty-state__description\\\">\\n          Get started with a template—it's easy!\\n        </div>\\n      </IcEmptyState>\\n      <div class=\\\"layout__box o__has-columns\\\">\\n        {{#each @templates as |template|}}\\n          <Tours::ToursList::TemplateTile @template={{template}} />\\n        {{/each}}\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"layout__box u__padt__20 u__padl__0\\\">\\n  <div\\n    class=\\\"layout__box o__flexes-to-1 o__centers-all\\\"\\n    data-test-tour-list-templates-empty-state\\n  >\\n    <div class=\\\"t__centered\\\">\\n      <IcEmptyState\\n        data-test-empty-state\\n        @icon=\\\"product-tours-list\\\"\\n        @title=\\\"When you create tours, you'll see them here\\\"\\n      >\\n        <div class=\\\"empty-state__description\\\">\\n          Get started with a template—it's easy!\\n        </div>\\n      </IcEmptyState>\\n      <div class=\\\"layout__box o__has-columns\\\">\\n        {{#each @templates as |template|}}\\n          <Tours::ToursList::TemplateTile @template={{template}} />\\n        {{/each}}\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/tours/tours-list/empty-state.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/tours-list/empty-state.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-tours-filters>\\n  {{#each filters as |filter|}}\\n    <LinkTo\\n      @route=\\\"apps.app.tours\\\"\\n      @query={{hash state=filter.key}}\\n      class=\\\"tabs__discrete-tab\\\"\\n      @activeClass=\\\"o__selected\\\"\\n      @current-when={{eq this.currentState filter.key}}\\n    >\\n      <span\\n        data-test-tours-filter-link={{filter.key}}\\n        {{action \\\"selectFilter\\\" filter.key}}\\n      >\\n        {{filter.label}}\\n      </span>\\n      <span\\n        data-test-tours-filter-count={{filter.key}}\\n        class={{if (not-eq this.currentState filter.key) \\\"t__light-text\\\"}}\\n      >\\n        ({{filter.count}})\\n      </span>\\n    </LinkTo>\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div data-test-tours-filters>\\n  {{#each filters as |filter|}}\\n    <LinkTo\\n      @route=\\\"apps.app.tours\\\"\\n      @query={{hash state=filter.key}}\\n      class=\\\"tabs__discrete-tab\\\"\\n      @activeClass=\\\"o__selected\\\"\\n      @current-when={{eq this.currentState filter.key}}\\n    >\\n      <span\\n        data-test-tours-filter-link={{filter.key}}\\n        {{action \\\"selectFilter\\\" filter.key}}\\n      >\\n        {{filter.label}}\\n      </span>\\n      <span\\n        data-test-tours-filter-count={{filter.key}}\\n        class={{if (not-eq this.currentState filter.key) \\\"t__light-text\\\"}}\\n      >\\n        ({{filter.count}})\\n      </span>\\n    </LinkTo>\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/tours/tours-list/filter-links.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/tours-list/filter-links.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  intercomEventService: service(),\n  filters: computed(\n    'allRulesets.length',\n    'draftRulesets.length',\n    'publishedRulesets.length',\n    function() {\n      return [\n        { key: 'all', label: 'All', count: this.allRulesets.length },\n        { key: 'published', label: 'Live', count: this.publishedRulesets.length },\n        { key: 'draft', label: 'Draft', count: this.draftRulesets.length },\n      ];\n    },\n  ),\n  currentState: computed('state', function() {\n    return this.state || 'all';\n  }),\n  actions: {\n    selectFilter(filterKey) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'filter_toggled',\n        object: 'tours',\n        filter_value: filterKey,\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex flex-row items-center pt-4 pl-8\\\">\\n  <div class=\\\"layout__box o__flexes-to-1 tabs__discrete-tab__container u__cf u__padl__0\\\">\\n    {{#if this.rulesets}}\\n      <Tours::ToursList::FilterLinks\\n        data-test-tours-list-filters\\n        @allRulesets={{@rulesets}}\\n        @draftRulesets={{this.draftRulesets}}\\n        @publishedRulesets={{this.publishedRulesets}}\\n        @state={{@state}}\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n<div class=\\\"tours__table-container pl-8\\\">\\n  {{#if @isLoading}}\\n    <div\\n      data-test-loading-indicator-on\\n      class=\\\"layout__box u__padt__20 u__padl__0\\\"\\n    >\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    </div>\\n  {{else if this.rulesetsToList}}\\n    {{!-- template-lint-disable intercom/no-custom-table --}}\\n    <table data-test-tour-list-table class=\\\"tbl o__fit js__tour-list-table\\\">\\n      {{!-- template-lint-enable intercom/no-custom-table --}}\\n      <thead>\\n        <tr>\\n          <th class=\\\"tbl__cell t__label\\\">\\n            <span data-test-tour-list-table-title>\\n              Title\\n            </span>\\n          </th>\\n          <th class=\\\"tbl__cell t__label\\\">\\n            <span data-test-tour-list-table-author>\\n              Sender\\n            </span>\\n          </th>\\n          <th class=\\\"tbl__cell t__label\\\">\\n            How it can be used\\n          </th>\\n          <th class=\\\"tbl__cell t__label\\\">\\n            <span data-test-tour-list-table-seen>\\n              {{ic-interface-icon \\\"visible\\\"}} Views\\n            </span>\\n          </th>\\n          <th class=\\\"tbl__cell t__label\\\">\\n            <span data-test-tour-list-table-completed>\\n              {{ic-interface-icon \\\"flag\\\"}} Completed\\n            </span>\\n          </th>\\n          <th class=\\\"tbl__cell t__label\\\">\\n            <span data-test-tour-list-table-goal>\\n              {{ic-interface-icon \\\"goals\\\"}} Goal\\n            </span>\\n          </th>\\n          <th class=\\\"tbl__cell t__label\\\">\\n            <span data-test-tour-list-table-failed>\\n              {{ic-interface-icon \\\"alert\\\"}} Issues\\n            </span>\\n          </th>\\n        </tr>\\n      </thead>\\n      <tbody class=\\\"tbl__body\\\" data-test-tour-list-body>\\n        {{#each this.rulesetsToList as |ruleset|}}\\n          <Tours::ToursList::TourListRow\\n            @tour={{ruleset.rulesetLinks.firstObject.object}}\\n            @ruleset={{ruleset}}\\n          />\\n        {{/each}}\\n      </tbody>\\n    </table>\\n  {{else}}\\n    <Tours::ToursList::EmptyState @templates={{templates}} />\\n  {{/if}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex flex-row items-center pt-4 pl-8\\\">\\n  <div class=\\\"layout__box o__flexes-to-1 tabs__discrete-tab__container u__cf u__padl__0\\\">\\n    {{#if this.rulesets}}\\n      <Tours::ToursList::FilterLinks\\n        data-test-tours-list-filters\\n        @allRulesets={{@rulesets}}\\n        @draftRulesets={{this.draftRulesets}}\\n        @publishedRulesets={{this.publishedRulesets}}\\n        @state={{@state}}\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n<div class=\\\"tours__table-container pl-8\\\">\\n  {{#if @isLoading}}\\n    <div\\n      data-test-loading-indicator-on\\n      class=\\\"layout__box u__padt__20 u__padl__0\\\"\\n    >\\n      <IcLoadingIndicator @size=\\\"small\\\" />\\n    </div>\\n  {{else if this.rulesetsToList}}\\n    {{!-- template-lint-disable intercom/no-custom-table --}}\\n    <table data-test-tour-list-table class=\\\"tbl o__fit js__tour-list-table\\\">\\n      {{!-- template-lint-enable intercom/no-custom-table --}}\\n      <thead>\\n        <tr>\\n          <th class=\\\"tbl__cell t__label\\\">\\n            <span data-test-tour-list-table-title>\\n              Title\\n            </span>\\n          </th>\\n          <th class=\\\"tbl__cell t__label\\\">\\n            <span data-test-tour-list-table-author>\\n              Sender\\n            </span>\\n          </th>\\n          <th class=\\\"tbl__cell t__label\\\">\\n            How it can be used\\n          </th>\\n          <th class=\\\"tbl__cell t__label\\\">\\n            <span data-test-tour-list-table-seen>\\n              {{ic-interface-icon \\\"visible\\\"}} Views\\n            </span>\\n          </th>\\n          <th class=\\\"tbl__cell t__label\\\">\\n            <span data-test-tour-list-table-completed>\\n              {{ic-interface-icon \\\"flag\\\"}} Completed\\n            </span>\\n          </th>\\n          <th class=\\\"tbl__cell t__label\\\">\\n            <span data-test-tour-list-table-goal>\\n              {{ic-interface-icon \\\"goals\\\"}} Goal\\n            </span>\\n          </th>\\n          <th class=\\\"tbl__cell t__label\\\">\\n            <span data-test-tour-list-table-failed>\\n              {{ic-interface-icon \\\"alert\\\"}} Issues\\n            </span>\\n          </th>\\n        </tr>\\n      </thead>\\n      <tbody class=\\\"tbl__body\\\" data-test-tour-list-body>\\n        {{#each this.rulesetsToList as |ruleset|}}\\n          <Tours::ToursList::TourListRow\\n            @tour={{ruleset.rulesetLinks.firstObject.object}}\\n            @ruleset={{ruleset}}\\n          />\\n        {{/each}}\\n      </tbody>\\n    </table>\\n  {{else}}\\n    <Tours::ToursList::EmptyState @templates={{templates}} />\\n  {{/if}}\\n</div>\\n\",\"moduleName\":\"embercom/components/tours/tours-list/main-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/tours-list/main-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { readOnly, filterBy, setDiff, union } from '@ember/object/computed';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  intercomEventService: service(),\n  classNames: ['layout__box', 'o__has-rows', 'o__flexes-to-1'],\n\n  draftRulesets: setDiff('rulesets', 'publishedRulesets'),\n\n  _liveRulesets: filterBy('rulesets', 'isLive', true),\n  _insertableTourRulesets: filterBy('rulesets', 'rulesetLinks.firstObject.object.insertable', true),\n  publishedRulesets: union('_liveRulesets', '_insertableTourRulesets'),\n\n  rulesetsToList: computed('rulesets', 'state', function() {\n    if (this.state === 'draft') {\n      return this.draftRulesets;\n    } else if (this.state === 'published') {\n      return this.publishedRulesets;\n    } else {\n      return this.rulesets;\n    }\n  }),\n\n  isMessengerInstalled: readOnly('app.hasAnyInstalledAtDate'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcSelect\\n  data-test-new-tour-dropdown\\n  @defaultLabel=\\\"New tour\\\"\\n  @items={{this.allTemplateDropdownItems}}\\n  @onSelectItem={{action \\\"transitionToNewProductTour\\\"}} as |select|\\n>\\n  <select.opener as |opener|>\\n    <IcButton\\n      data-test-template-dropdown-button={{@label}}\\n      @label={{@label}}\\n      @type=\\\"primary\\\"\\n      @isDropdownOpener={{true}}\\n      @isForcedActive={{opener.dropdownIsOpen}}\\n      class=\\\"js__product-tours__new-tour-button\\\"\\n    />\\n  </select.opener>\\n</IcSelect>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<IcSelect\\n  data-test-new-tour-dropdown\\n  @defaultLabel=\\\"New tour\\\"\\n  @items={{this.allTemplateDropdownItems}}\\n  @onSelectItem={{action \\\"transitionToNewProductTour\\\"}} as |select|\\n>\\n  <select.opener as |opener|>\\n    <IcButton\\n      data-test-template-dropdown-button={{@label}}\\n      @label={{@label}}\\n      @type=\\\"primary\\\"\\n      @isDropdownOpener={{true}}\\n      @isForcedActive={{opener.dropdownIsOpen}}\\n      class=\\\"js__product-tours__new-tour-button\\\"\\n    />\\n  </select.opener>\\n</IcSelect>\\n\",\"moduleName\":\"embercom/components/tours/tours-list/new-tour-dropdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/tours-list/new-tour-dropdown.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { map, union } from '@ember/object/computed';\n\nconst BLANK_TEMPLATE = {\n  value: null,\n  icon: 'new',\n  text: 'Blank',\n  description: 'Build a new tour from scratch',\n};\n\nexport default Component.extend({\n  router: service(),\n  intercomEventService: service(),\n  defaultTemplateDropdownItems: [BLANK_TEMPLATE],\n  templateDropdownItems: map('templates', function(template) {\n    return {\n      value: template.get('id'),\n      icon: template.get('interfaceIcon'),\n      text: template.get('title'),\n      description: template.get('description'),\n    };\n  }),\n  allTemplateDropdownItems: union('defaultTemplateDropdownItems', 'templateDropdownItems'),\n  actions: {\n    transitionToNewProductTour(templateId) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'created',\n        object: 'tour',\n        template_id: templateId || 'from-scratch',\n      });\n      this.router.transitionTo('apps.app.tours.new', {\n        queryParams: { templateId },\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"layout__box o__flexes-to-1\\\">\\n  <LinkTo\\n    @route=\\\"apps.app.tours.new\\\"\\n    @query={{hash templateId=@template.id}}\\n    data-test-new-template-tile={{@template.id}}\\n    class=\\\"no-underline\\\"\\n  >\\n    <div class=\\\"tours__list__empty-state__template-tile u__ml__10 u__mr__10\\\">\\n      <IcIllustrativeIcon\\n        @name={{@template.illustrativeIcon}}\\n        class=\\\"u__padt__40\\\"\\n        @appearance=\\\"standard\\\"\\n      />\\n      <div class=\\\"h-2\\\"></div>\\n      <p data-test-new-buttons-tile-title>\\n        {{@template.title}}\\n      </p>\\n      <p data-test-new-buttons-tile-description class=\\\"t__light-text\\\">\\n        {{@template.description}}\\n      </p>\\n    </div>\\n  </LinkTo>\\n</div>\\n\", {\"contents\":\"<div class=\\\"layout__box o__flexes-to-1\\\">\\n  <LinkTo\\n    @route=\\\"apps.app.tours.new\\\"\\n    @query={{hash templateId=@template.id}}\\n    data-test-new-template-tile={{@template.id}}\\n    class=\\\"no-underline\\\"\\n  >\\n    <div class=\\\"tours__list__empty-state__template-tile u__ml__10 u__mr__10\\\">\\n      <IcIllustrativeIcon\\n        @name={{@template.illustrativeIcon}}\\n        class=\\\"u__padt__40\\\"\\n        @appearance=\\\"standard\\\"\\n      />\\n      <div class=\\\"h-2\\\"></div>\\n      <p data-test-new-buttons-tile-title>\\n        {{@template.title}}\\n      </p>\\n      <p data-test-new-buttons-tile-description class=\\\"t__light-text\\\">\\n        {{@template.description}}\\n      </p>\\n    </div>\\n  </LinkTo>\\n</div>\\n\",\"moduleName\":\"embercom/components/tours/tours-list/template-tile.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/tours-list/template-tile.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<tr class=\\\"tbl__row\\\" data-test-tour-list-table-row>\\n  <td class=\\\"tbl__cell u__pad__15\\\">\\n    <a href=\\\"{{href-to 'apps.app.tours.edit' ruleset.id}}\\\" class=\\\"t__h3 t__solo-link\\\">\\n      <span data-test-tour-list-table-row-title='true' {{action \\\"trackViewTour\\\" ruleset.id}}>\\n        {{tour.displayedTitle}}\\n      </span>\\n    </a>\\n    <span class=\\\"u__padl__5\\\" data-test-tour-list-table-row-state>\\n        {{ic-stamp (state-name state=ruleset.state objectType=tourObjectType content=tour)}}\\n      </span>\\n    {{#if tour.description}}\\n      <div class=\\\"text-gray\\\" data-test-tour-list-table-row-description>\\n        {{tour.description}}\\n      </div>\\n    {{/if}}\\n\\n  </td>\\n  <td class=\\\"tbl__cell\\\">\\n    <span class=\\\"avatar__container o__s\\\" data-test-admin-avatar>\\n      {{ic-avatar model=tour.from size='s' contained=true}} {{tour.from.name}}\\n    </span>\\n  </td>\\n  <td class=\\\"tbl__cell\\\">\\n    {{#unless (or ruleset.isLive tour.insertable)}}\\n      <div class=\\\"text-gray u__m__5\\\" data-test-can-show-empty>\\n        &mdash;\\n      </div>\\n    {{/unless}}\\n    {{#if ruleset.isLive}}\\n      <div class=\\\"text-gray u__m__5\\\" data-test-can-show-automatically>\\n        {{ic-interface-icon 'auto-message'}} Shows automatically\\n      </div>\\n    {{/if}}\\n    {{#if tour.insertable}}\\n      <div class=\\\"text-gray u__m__5\\\" data-test-can-show-inserted>\\n        {{ic-interface-icon 'messenger'}} Can be inserted\\n      </div>\\n    {{/if}}\\n  </td>\\n  <td class=\\\"tbl__cell {{this.colors.receipt}}\\\" data-test-tour-list-table-row-seen-count>\\n    {{@ruleset.rulesetLinks.firstObject.object.stats.receipt.totalCount}}\\n  </td>\\n  <td class=\\\"tbl__cell {{this.colors.completion}}\\\"  data-test-tour-list-table-row-percentage-completed>\\n    {{format-percentage @ruleset.rulesetLinks.firstObject.object.stats.receipt.totalCount\\n                        this.completionCount.totalCount}}\\n  </td>\\n  <td class=\\\"tbl__cell {{this.colors.goalSuccess}}\\\" data-test-tour-list-table-row-percentage-goal-success>\\n    {{format-percentage @ruleset.rulesetLinks.firstObject.object.stats.receipt.uniqueCount\\n                        @ruleset.rulesetLinks.firstObject.object.stats.goalSuccess.uniqueCount}}\\n  </td>\\n  <td class=\\\"tbl__cell {{this.colors.tourStepFailure}}\\\" data-test-tour-list-table-row-percentage-failed>\\n    {{format-percentage @ruleset.rulesetLinks.firstObject.object.stats.receipt.totalCount\\n                        @ruleset.rulesetLinks.firstObject.object.stats.tourStepFailure.totalCount}}\\n  </td>\\n</tr>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable simple-unless --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<tr class=\\\"tbl__row\\\" data-test-tour-list-table-row>\\n  <td class=\\\"tbl__cell u__pad__15\\\">\\n    <a href=\\\"{{href-to 'apps.app.tours.edit' ruleset.id}}\\\" class=\\\"t__h3 t__solo-link\\\">\\n      <span data-test-tour-list-table-row-title='true' {{action \\\"trackViewTour\\\" ruleset.id}}>\\n        {{tour.displayedTitle}}\\n      </span>\\n    </a>\\n    <span class=\\\"u__padl__5\\\" data-test-tour-list-table-row-state>\\n        {{ic-stamp (state-name state=ruleset.state objectType=tourObjectType content=tour)}}\\n      </span>\\n    {{#if tour.description}}\\n      <div class=\\\"text-gray\\\" data-test-tour-list-table-row-description>\\n        {{tour.description}}\\n      </div>\\n    {{/if}}\\n\\n  </td>\\n  <td class=\\\"tbl__cell\\\">\\n    <span class=\\\"avatar__container o__s\\\" data-test-admin-avatar>\\n      {{ic-avatar model=tour.from size='s' contained=true}} {{tour.from.name}}\\n    </span>\\n  </td>\\n  <td class=\\\"tbl__cell\\\">\\n    {{#unless (or ruleset.isLive tour.insertable)}}\\n      <div class=\\\"text-gray u__m__5\\\" data-test-can-show-empty>\\n        &mdash;\\n      </div>\\n    {{/unless}}\\n    {{#if ruleset.isLive}}\\n      <div class=\\\"text-gray u__m__5\\\" data-test-can-show-automatically>\\n        {{ic-interface-icon 'auto-message'}} Shows automatically\\n      </div>\\n    {{/if}}\\n    {{#if tour.insertable}}\\n      <div class=\\\"text-gray u__m__5\\\" data-test-can-show-inserted>\\n        {{ic-interface-icon 'messenger'}} Can be inserted\\n      </div>\\n    {{/if}}\\n  </td>\\n  <td class=\\\"tbl__cell {{this.colors.receipt}}\\\" data-test-tour-list-table-row-seen-count>\\n    {{@ruleset.rulesetLinks.firstObject.object.stats.receipt.totalCount}}\\n  </td>\\n  <td class=\\\"tbl__cell {{this.colors.completion}}\\\"  data-test-tour-list-table-row-percentage-completed>\\n    {{format-percentage @ruleset.rulesetLinks.firstObject.object.stats.receipt.totalCount\\n                        this.completionCount.totalCount}}\\n  </td>\\n  <td class=\\\"tbl__cell {{this.colors.goalSuccess}}\\\" data-test-tour-list-table-row-percentage-goal-success>\\n    {{format-percentage @ruleset.rulesetLinks.firstObject.object.stats.receipt.uniqueCount\\n                        @ruleset.rulesetLinks.firstObject.object.stats.goalSuccess.uniqueCount}}\\n  </td>\\n  <td class=\\\"tbl__cell {{this.colors.tourStepFailure}}\\\" data-test-tour-list-table-row-percentage-failed>\\n    {{format-percentage @ruleset.rulesetLinks.firstObject.object.stats.receipt.totalCount\\n                        @ruleset.rulesetLinks.firstObject.object.stats.tourStepFailure.totalCount}}\\n  </td>\\n</tr>\\n\",\"moduleName\":\"embercom/components/tours/tours-list/tour-list-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/tours-list/tour-list-row.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport { computed } from '@ember/object';\nimport { statColors } from 'embercom/models/data/stats-system/stats-constants';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  tagName: '',\n  intercomEventService: service(),\n\n  colors: statColors,\n  tourObjectType: objectTypes.tour,\n\n  completionCount: computed(\n    'rulesetLinks.firstObject.object.stats.completion',\n    'rulesetLinks.firstObject.object.steps.length',\n    function() {\n      let tour = this.ruleset.get('rulesetLinks.firstObject.object');\n      if (tour.showStat('completion')) {\n        return tour.get('stats.completion');\n      } else {\n        return NaN;\n      }\n    },\n  ),\n\n  actions: {\n    trackViewTour(rulesetId) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'tour',\n        context: 'from_index_page',\n        ruleset_id: rulesetId,\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if this.showUpgradeBanner}}\\n  <Paywall @featureKey=\\\"product_tours\\\" @disableFeatureHighlighting={{true}} as |paywall|>\\n    <paywall.Banner @content=\\\"Upgrade to publish product tours\\\"/>\\n  </Paywall>\\n{{else if this.showLoggedInInstallBanner}}\\n  <Pulse::FullWidthBanner @color=\\\"yellow\\\" @noRoundedCorner={{@noRoundedCorner}}>\\n    To send Product Tours to users of your app, you need to\\n    <LinkTo @route=\\\"apps.app.settings.web\\\">install the Messenger for logged-in users</LinkTo>.\\n  </Pulse::FullWidthBanner>\\n{{else if this.showInstallBanner}}\\n  <Pulse::FullWidthBanner @color=\\\"red-light\\\" @noRoundedCorner={{@noRoundedCorner}}>\\n    To use Product Tours, you need to\\n    <LinkTo @route=\\\"apps.app.settings.web\\\">install the Messenger</LinkTo>.\\n  </Pulse::FullWidthBanner>\\n{{/if}}\\n\", {\"contents\":\"{{#if this.showUpgradeBanner}}\\n  <Paywall @featureKey=\\\"product_tours\\\" @disableFeatureHighlighting={{true}} as |paywall|>\\n    <paywall.Banner @content=\\\"Upgrade to publish product tours\\\"/>\\n  </Paywall>\\n{{else if this.showLoggedInInstallBanner}}\\n  <Pulse::FullWidthBanner @color=\\\"yellow\\\" @noRoundedCorner={{@noRoundedCorner}}>\\n    To send Product Tours to users of your app, you need to\\n    <LinkTo @route=\\\"apps.app.settings.web\\\">install the Messenger for logged-in users</LinkTo>.\\n  </Pulse::FullWidthBanner>\\n{{else if this.showInstallBanner}}\\n  <Pulse::FullWidthBanner @color=\\\"red-light\\\" @noRoundedCorner={{@noRoundedCorner}}>\\n    To use Product Tours, you need to\\n    <LinkTo @route=\\\"apps.app.settings.web\\\">install the Messenger</LinkTo>.\\n  </Pulse::FullWidthBanner>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/tours/upgrade-install-banner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/tours/upgrade-install-banner.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\nimport { readOnly, not, and, or } from '@ember/object/computed';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n  onboardingHomeService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  product: readOnly('app.productToursProduct'),\n\n  _productNotActive: not('product.active'),\n  _nonLoggedInBannersAllowed: not('onlyAllowLoggedInBanner'),\n  showUpgradeBanner: and('_productNotActive', '_nonLoggedInBannersAllowed'),\n\n  _loggedInInstallTimestamp: or('app.first_identified_request_at', 'app.verifiedLoggedInInstallAt'),\n  _loggedOutInstallTimestamp: or(\n    'app.first_anonymous_request_at',\n    'app.verifiedLoggedOutInstallAt',\n  ),\n  _noLoggedInInstall: not('_loggedInInstallTimestamp'),\n  _isMessengerInstalled: or(\n    'app.hasAnyInstalledAtDate',\n    '_loggedInInstallTimestamp',\n    '_loggedOutInstallTimestamp',\n  ),\n  _messengerNotInstalled: not('_isMessengerInstalled'),\n\n  _onboardingHomeBannerNotShowingInstallMessenger: computed(\n    'onboardingHomeService.guide.installMessengerStep.available',\n    'onboardingHomeService.guide.installLoggedInMessengerStep.available',\n    function() {\n      return (\n        !this.get('onboardingHomeService.guide.installMessengerStep.available') &&\n        !this.get('onboardingHomeService.guide.installLoggedInMessengerStep.available')\n      );\n    },\n  ),\n  showInstallBanner: and(\n    '_messengerNotInstalled',\n    '_nonLoggedInBannersAllowed',\n    '_onboardingHomeBannerNotShowingInstallMessenger',\n  ),\n  showLoggedInInstallBanner: and('_isMessengerInstalled', '_noLoggedInInstall'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport TruncatedText from '@intercom/embercom-core/components/truncated-text';\n\nexport default TruncatedText.extend({\n  classNames: ['u__ember-truncated-text'],\n});\n","define(\"embercom/components/truncated-text\", [\"exports\", \"@intercom/embercom-core/components/truncated-text\"], function (_exports, _truncatedText) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _truncatedText.default;\n    }\n  });\n});\n","import TwitterFollowButtonEditor from '@intercom/embercom-composer/components/twitter-follow-button-editor';\nexport default TwitterFollowButtonEditor;\n","import TypeAheadCoordinatorComponent from '@intercom/embercom-composer/components/type-ahead-coordinator';\nexport default TypeAheadCoordinatorComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<a href=\\\"{{href-to 'apps.app.outbound.messages.auto.campaigns.campaign' campaign.id}}\\\" class=\\\"pill t__solo-link__outer {{if exited 'profile__exited-campaign'}}\\\">\\n  <IcTooltip as |t|>\\n    <t.opener>\\n      <span class=\\\"pill__icon\\\">{{ic-interface-icon 'campaign' solo=true color='gray'}}</span>\\n      <span class=\\\"pl-1\\\">{{campaign.title}}</span>\\n    </t.opener>\\n    <t.content>\\n      <p>Entered {{format-date date=campaign.entered_at  format='date'}}</p>\\n      {{#if exited}}\\n        <p>Exited {{format-date date=campaign.exited_at format='date'}}</p>\\n      {{/if}}\\n    </t.content>\\n  </IcTooltip>\\n</a>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<a href=\\\"{{href-to 'apps.app.outbound.messages.auto.campaigns.campaign' campaign.id}}\\\" class=\\\"pill t__solo-link__outer {{if exited 'profile__exited-campaign'}}\\\">\\n  <IcTooltip as |t|>\\n    <t.opener>\\n      <span class=\\\"pill__icon\\\">{{ic-interface-icon 'campaign' solo=true color='gray'}}</span>\\n      <span class=\\\"pl-1\\\">{{campaign.title}}</span>\\n    </t.opener>\\n    <t.content>\\n      <p>Entered {{format-date date=campaign.entered_at  format='date'}}</p>\\n      {{#if exited}}\\n        <p>Exited {{format-date date=campaign.exited_at format='date'}}</p>\\n      {{/if}}\\n    </t.content>\\n  </IcTooltip>\\n</a>\\n\",\"moduleName\":\"embercom/components/user-campaign-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/user-campaign-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { notEmpty } from '@ember/object/computed';\nimport Component from '@ember/component';\nexport default Component.extend({\n  'data-test-user-campaign': true,\n  exited: notEmpty('campaign.exited_at'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-center\\\">\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <People::AttributeAndEventDescriptionTooltip\\n      @attribute={{summary.attribute}}\\n      class=\\\"profile__events-heading u__truncated-inline-block text-gray u__default-cursor\\\"\\n    />\\n  </div>\\n  <span class=\\\"layout__box profile__events-count {{if summary.expanded 'hidden'}} u__truncated-inline-block o__event-frequency\\\">{{formattedCount}}</span>\\n  <div class=\\\"mini-expander u__mt__0 layout__box\\\" {{action 'expandToggle'}}>\\n    <span class=\\\"mini-expander__icon\\\">{{ic-interface-icon arrowIconSet solo=true}}</span>\\n  </div>\\n</div>\\n<div class=\\\"h-2\\\"></div>\\n{{#if summary.expanded}}\\n  <div class=\\\"profile__events-summary\\\">\\n    <div class=\\\"kv__pair u__cf o__in-list\\\">\\n      <span class=\\\"kv__key text-gray\\\">\\n        {{ic-interface-icon 'sessions'}} <span>Count</span>\\n      </span>\\n      <span class=\\\"kv__value\\\"><a href=\\\"{{countFilterUrl}}\\\" class=\\\"t__solo-link\\\">{{formattedCount}}</a> </span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list\\\">\\n      <span class=\\\"kv__key text-gray\\\">\\n        {{ic-interface-icon 'calendar'}} <span>First Time</span>\\n      </span>\\n        <span class=\\\"kv__value\\\">\\n          <a href=\\\"{{firstFilterUrl}}\\\" class=\\\"t__solo-link\\\" {{tooltip content=(full-date-and-time-helper summary.first timezone=appTimezone)}}>{{summary.formattedFirstDate}}</a>\\n        </span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list\\\">\\n      <span class=\\\"kv__key text-gray\\\">\\n        {{ic-interface-icon 'calendar'}} <span>Most Recent</span>\\n      </span>\\n        <span class=\\\"kv__value\\\">\\n          <a href=\\\"{{lastFilterUrl}}\\\" class=\\\"t__solo-link\\\" {{tooltip content=(full-date-and-time-helper summary.last timezone=appTimezone)}}>{{summary.formattedLastDate}}</a>\\n        </span>\\n    </div>\\n  </div>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"flex items-center\\\">\\n  <div class=\\\"flex-auto min-w-0\\\">\\n    <People::AttributeAndEventDescriptionTooltip\\n      @attribute={{summary.attribute}}\\n      class=\\\"profile__events-heading u__truncated-inline-block text-gray u__default-cursor\\\"\\n    />\\n  </div>\\n  <span class=\\\"layout__box profile__events-count {{if summary.expanded 'hidden'}} u__truncated-inline-block o__event-frequency\\\">{{formattedCount}}</span>\\n  <div class=\\\"mini-expander u__mt__0 layout__box\\\" {{action 'expandToggle'}}>\\n    <span class=\\\"mini-expander__icon\\\">{{ic-interface-icon arrowIconSet solo=true}}</span>\\n  </div>\\n</div>\\n<div class=\\\"h-2\\\"></div>\\n{{#if summary.expanded}}\\n  <div class=\\\"profile__events-summary\\\">\\n    <div class=\\\"kv__pair u__cf o__in-list\\\">\\n      <span class=\\\"kv__key text-gray\\\">\\n        {{ic-interface-icon 'sessions'}} <span>Count</span>\\n      </span>\\n      <span class=\\\"kv__value\\\"><a href=\\\"{{countFilterUrl}}\\\" class=\\\"t__solo-link\\\">{{formattedCount}}</a> </span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list\\\">\\n      <span class=\\\"kv__key text-gray\\\">\\n        {{ic-interface-icon 'calendar'}} <span>First Time</span>\\n      </span>\\n        <span class=\\\"kv__value\\\">\\n          <a href=\\\"{{firstFilterUrl}}\\\" class=\\\"t__solo-link\\\" {{tooltip content=(full-date-and-time-helper summary.first timezone=appTimezone)}}>{{summary.formattedFirstDate}}</a>\\n        </span>\\n    </div>\\n    <div class=\\\"kv__pair u__cf o__in-list\\\">\\n      <span class=\\\"kv__key text-gray\\\">\\n        {{ic-interface-icon 'calendar'}} <span>Most Recent</span>\\n      </span>\\n        <span class=\\\"kv__value\\\">\\n          <a href=\\\"{{lastFilterUrl}}\\\" class=\\\"t__solo-link\\\" {{tooltip content=(full-date-and-time-helper summary.last timezone=appTimezone)}}>{{summary.formattedLastDate}}</a>\\n        </span>\\n    </div>\\n  </div>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/user-event-summary-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/user-event-summary-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport B64FilterParamEncoder from 'embercom/vendor/intercom/b64-filter-param-encoder';\nimport {\n  applyFunction,\n  templateString,\n  ternary,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport numberFormatter from 'embercom/lib/number-formatter';\nimport moment from 'moment';\n\nexport default Component.extend({\n  arrowIconSet: ternary('summary.expanded', 'small-thin-down-arrow', 'small-thin-right-arrow'),\n  settingsService: service('settingsService'),\n  appTimezone: reads('settingsService.timezone'),\n  dateObjectFromTimeStamp(timestamp) {\n    let parsedDate = moment(timestamp);\n    return { day: parsedDate.date(), month: parsedDate.month() + 1, year: parsedDate.year() };\n  },\n  predicateObject(attribute, type, value) {\n    return [{ attribute, comparison: 'eq', type, value }];\n  },\n  lastPredicateAttribute: templateString('user_event_summaries.${summary.name}.last'),\n  lastPredicate: computed('lastPredicateAttribute', 'summary.last', function() {\n    return this.predicateObject(\n      this.lastPredicateAttribute,\n      'user_event_date',\n      this.dateObjectFromTimeStamp(this.get('summary.last')),\n    );\n  }),\n  lastFilterUrl: computed('user', 'lastPredicate', function() {\n    return B64FilterParamEncoder.filterUrlFromPredicates(this.user, {\n      predicates: this.lastPredicate,\n    });\n  }),\n\n  firstPredicateAttribute: templateString('user_event_summaries.${summary.name}.first'),\n  firstPredicate: computed('firstPredicateAttribute', 'summary.first', function() {\n    return this.predicateObject(\n      this.firstPredicateAttribute,\n      'user_event_date',\n      this.dateObjectFromTimeStamp(this.get('summary.first')),\n    );\n  }),\n  firstFilterUrl: computed('user', 'lastPredicate', function() {\n    return B64FilterParamEncoder.filterUrlFromPredicates(this.user, {\n      predicates: this.firstPredicate,\n    });\n  }),\n\n  formattedCount: applyFunction(numberFormatter, 'summary.count'),\n  countPredicateAttribute: templateString('user_event_summaries.${summary.name}.count'),\n  countPredicate: computed('countPredicateAttribute', 'summary.count', function() {\n    return this.predicateObject(\n      this.countPredicateAttribute,\n      'user_event_integer',\n      this.get('summary.count'),\n    );\n  }),\n  countFilterUrl: computed('userOrCompany', 'attribute', 'rawValue', function() {\n    return B64FilterParamEncoder.filterUrlFromPredicates(this.user, {\n      predicates: this.countPredicate,\n    });\n  }),\n\n  actions: {\n    expandToggle() {\n      this.toggleProperty('summary.expanded');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<ModalComponent @closeModal=\\\"closeModal\\\">\\n  {{!-- template-lint-enable intercom/no-legacy-modal --}}\\n  <div class=\\\"modal__header flex items-start\\\">\\n    <div class=\\\"modal__header__title flex-auto min-w-0\\\">\\n      <h2 class=\\\"t__h2\\\">\\n        Check your user hashes\\n      </h2>\\n    </div>\\n    <div class=\\\"modal__header__close u__cf\\\">\\n      <a class=\\\"modal__header__close__link u__right\\\" {{action \\\"closeModal\\\"}}>\\n        {{ic-interface-icon \\\"close\\\" solo=true}}\\n      </a>\\n    </div>\\n  </div>\\n  <div class=\\\"modal__body\\\">\\n    <p>\\n      Enter a user id to check what user hash we expect to receive for that user. If no user id, you can use email.\\n    </p>\\n    <div class=\\\"h-5\\\"></div>\\n    <h3 class=\\\"t__label\\\">\\n      Identity verification secret\\n    </h3>\\n    <input\\n      readOnly\\n      class=\\\"v2-guide__todo-list__input-readonly\\\"\\n      value={{secret}}\\n    />\\n    <div class=\\\"h-5\\\"></div>\\n    <div>\\n      <span class=\\\"t__label\\\">\\n        User id (or email if no user id)\\n      </span>\\n      <IcTooltipIcon @content=\\\"This is the user id or email that you send to Intercom to identify your users. If you use both, the user id takes preference.\\\" />\\n    </div>\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      <Input\\n        @value={{hashData}}\\n        class=\\\"f__text layout__box o__flexes-to-1 u__mr__10\\\"\\n        placeholder=\\\"user123\\\"\\n        @enter={{action \\\"computeUserHash\\\"}}\\n      />\\n      <IcButton\\n        class=\\\"u__prevent-breaks\\\"\\n        @label=\\\"Generate user hash\\\"\\n        @type=\\\"primary\\\"\\n        @onClick={{action \\\"computeUserHash\\\"}}\\n      />\\n    </div>\\n    <div class=\\\"h-5\\\"></div>\\n    <h3 class=\\\"t__label\\\">\\n      Expected user hash\\n    </h3>\\n    <input\\n      readOnly\\n      class=\\\"v2-guide__todo-list__input-readonly\\\"\\n      value={{userHash}}\\n    />\\n  </div>\\n</ModalComponent>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-modal --}}\\n<ModalComponent @closeModal=\\\"closeModal\\\">\\n  {{!-- template-lint-enable intercom/no-legacy-modal --}}\\n  <div class=\\\"modal__header flex items-start\\\">\\n    <div class=\\\"modal__header__title flex-auto min-w-0\\\">\\n      <h2 class=\\\"t__h2\\\">\\n        Check your user hashes\\n      </h2>\\n    </div>\\n    <div class=\\\"modal__header__close u__cf\\\">\\n      <a class=\\\"modal__header__close__link u__right\\\" {{action \\\"closeModal\\\"}}>\\n        {{ic-interface-icon \\\"close\\\" solo=true}}\\n      </a>\\n    </div>\\n  </div>\\n  <div class=\\\"modal__body\\\">\\n    <p>\\n      Enter a user id to check what user hash we expect to receive for that user. If no user id, you can use email.\\n    </p>\\n    <div class=\\\"h-5\\\"></div>\\n    <h3 class=\\\"t__label\\\">\\n      Identity verification secret\\n    </h3>\\n    <input\\n      readOnly\\n      class=\\\"v2-guide__todo-list__input-readonly\\\"\\n      value={{secret}}\\n    />\\n    <div class=\\\"h-5\\\"></div>\\n    <div>\\n      <span class=\\\"t__label\\\">\\n        User id (or email if no user id)\\n      </span>\\n      <IcTooltipIcon @content=\\\"This is the user id or email that you send to Intercom to identify your users. If you use both, the user id takes preference.\\\" />\\n    </div>\\n    <div class=\\\"layout__box o__has-columns\\\">\\n      <Input\\n        @value={{hashData}}\\n        class=\\\"f__text layout__box o__flexes-to-1 u__mr__10\\\"\\n        placeholder=\\\"user123\\\"\\n        @enter={{action \\\"computeUserHash\\\"}}\\n      />\\n      <IcButton\\n        class=\\\"u__prevent-breaks\\\"\\n        @label=\\\"Generate user hash\\\"\\n        @type=\\\"primary\\\"\\n        @onClick={{action \\\"computeUserHash\\\"}}\\n      />\\n    </div>\\n    <div class=\\\"h-5\\\"></div>\\n    <h3 class=\\\"t__label\\\">\\n      Expected user hash\\n    </h3>\\n    <input\\n      readOnly\\n      class=\\\"v2-guide__todo-list__input-readonly\\\"\\n      value={{userHash}}\\n    />\\n  </div>\\n</ModalComponent>\\n\",\"moduleName\":\"embercom/components/user-hash-checker-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/user-hash-checker-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport HmacSHA256 from 'cryptojs/hmac-sha256';\n\nexport default Component.extend({\n  secret: null,\n  hashData: null,\n\n  actions: {\n    computeUserHash() {\n      let key = this.secret;\n      let data = this.hashData;\n      let userHash = '';\n      if (key && data) {\n        userHash = HmacSHA256(data, key).toString();\n      }\n      this.set('userHash', userHash);\n    },\n\n    closeModal() {\n      this.closeModal();\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"tbl__header-width-el\\\">\\n  {{ic-interface-icon displayedAttribute.attribute.icon}}\\n  {{displayedAttribute.attribute.name}}\\n  {{#if displayedAttribute.userAttributeSetting.isSorted}}\\n    {{sort-icon-pattern descending=displayedAttribute.userAttributeSetting.isSortedDescending}}\\n  {{/if}}\\n</span>\\n{{#if displayedAttribute.attribute.isUserSortable}}\\n  <span class=\\\"tbl__fixed-header__text u__prevent-breaks\\\">\\n    {{ic-interface-icon displayedAttribute.attribute.icon}}\\n    <a {{action 'sort' displayedAttribute}}>\\n      <People::AttributeAndEventDescriptionTooltip\\n        @attribute={{displayedAttribute.attribute}}\\n        @hideIcon={{true}}\\n      />\\n      {{#if displayedAttribute.userAttributeSetting.isSorted}}\\n        {{sort-icon-pattern descending=displayedAttribute.userAttributeSetting.isSortedDescending}}\\n      {{/if}}\\n    </a>\\n  </span>\\n{{else}}\\n  <span class=\\\"tbl__fixed-header__text u__prevent-breaks\\\">\\n    {{ic-interface-icon displayedAttribute.attribute.icon}}\\n    <People::AttributeAndEventDescriptionTooltip\\n      @attribute={{displayedAttribute.attribute}}\\n      @hideIcon={{true}}\\n    />\\n    {{#if displayedAttribute.userAttributeSetting.isSorted}}\\n      {{sort-icon-pattern descending=displayedAttribute.userAttributeSetting.isSortedDescending}}\\n    {{/if}}\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"tbl__header-width-el\\\">\\n  {{ic-interface-icon displayedAttribute.attribute.icon}}\\n  {{displayedAttribute.attribute.name}}\\n  {{#if displayedAttribute.userAttributeSetting.isSorted}}\\n    {{sort-icon-pattern descending=displayedAttribute.userAttributeSetting.isSortedDescending}}\\n  {{/if}}\\n</span>\\n{{#if displayedAttribute.attribute.isUserSortable}}\\n  <span class=\\\"tbl__fixed-header__text u__prevent-breaks\\\">\\n    {{ic-interface-icon displayedAttribute.attribute.icon}}\\n    <a {{action 'sort' displayedAttribute}}>\\n      <People::AttributeAndEventDescriptionTooltip\\n        @attribute={{displayedAttribute.attribute}}\\n        @hideIcon={{true}}\\n      />\\n      {{#if displayedAttribute.userAttributeSetting.isSorted}}\\n        {{sort-icon-pattern descending=displayedAttribute.userAttributeSetting.isSortedDescending}}\\n      {{/if}}\\n    </a>\\n  </span>\\n{{else}}\\n  <span class=\\\"tbl__fixed-header__text u__prevent-breaks\\\">\\n    {{ic-interface-icon displayedAttribute.attribute.icon}}\\n    <People::AttributeAndEventDescriptionTooltip\\n      @attribute={{displayedAttribute.attribute}}\\n      @hideIcon={{true}}\\n    />\\n    {{#if displayedAttribute.userAttributeSetting.isSorted}}\\n      {{sort-icon-pattern descending=displayedAttribute.userAttributeSetting.isSortedDescending}}\\n    {{/if}}\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/user-list-column-header-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/user-list-column-header-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nlet UserListColumnHeaderComponent = Component.extend({\n  tagName: 'th',\n  classNameBindings: ['classForHeader', ':tbl__cell', ':t__label', ':o__fixed-header'],\n  actions: {\n    sort(displayedAttribute) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('sort', displayedAttribute);\n    },\n  },\n});\n\nexport default UserListColumnHeaderComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isLoading}}\\n  {{#if hasErrored}}\\n    <div class=\\\"u__center-item u__centered-text-block\\\">\\n      <h1 class=\\\"t__h1\\\">\\n        {{ic-interface-icon \\\"error\\\" size=24}} An error occurred while loading your {{segment.personTypeName}}s.\\n      </h1>\\n      <div class=\\\"h-5\\\"></div>\\n      <IcButton\\n        @label=\\\"Try again…\\\"\\n        @type=\\\"primary\\\"\\n        @onClick={{action \\\"reload\\\"}}\\n      />\\n    </div>\\n  {{else}}\\n    <div class=\\\"u__center-item\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    </div>\\n  {{/if}}\\n{{else}}\\n  {{#if isLimitedResponse}}\\n    <div class=\\\"u__center-item u__centered-text-block test__user-list__limited-response-error\\\">\\n      <UserList::SearchLimitAlert />\\n    </div>\\n  {{else}}\\n    {{partial \\\"apps/app/users/segments/segment/user-list-header\\\"}}\\n    {{#if showIdentityVerificationWarning}}\\n      <div class=\\\"u__ml__20 u__mr__20 u__mt__10\\\">\\n        <IcBanner @type=\\\"help\\\">\\n          Enforce identity verification to protect customer conversations and prevent impersonation.\\n          <a {{action \\\"redirectToIdentityVerification\\\"}}>\\n            Set up identity verification\\n          </a>.\\n        </IcBanner>\\n      </div>\\n    {{/if}}\\n    {{#if showingTable}}\\n      <div class=\\\"tbl__fixed__wrapper layout__box\\\">\\n        {{#if (and app.hasNoPeople hasNoPeopleOrCompaniesToShow)}}\\n          <div class=\\\"u__center-layout\\\">\\n            <div class=\\\"u__center-item\\\">\\n              <IcEmptyState\\n                @icon=\\\"people\\\"\\n                @title=\\\"Personal details drive better conversations\\\"\\n                as |emptyState|\\n              >\\n                <emptyState.description>\\n                  {{#if (eq @segment.identifier 'all-users')}}\\n                    Here’s where you can see <strong>who your customers are</strong> and <strong>what they’re doing</strong>. Harness your data for personalized messaging — drive better results.\\n                  {{else if (eq @segment.identifier 'all-leads')}}\\n                    Here’s where you can see your <strong>leads</strong>. Reach out to them to convert them into paying customers!\\n                  {{else if (eq @segment.identifier 'active')}}\\n                    Here’s where you can see <strong>active</strong> people — your users who’ve logged in to the last 30 days. Connect with them to deepen their engagement.\\n                  {{else if (eq @segment.identifier 'new')}}\\n                    Here’s where you can see <strong>new users</strong> — people who’ve signed up in the last 24 hours. Reach out to welcome and onboard them!\\n                  {{else if (eq @segment.identifier 'slipping-away')}}\\n                    Here’s where you can see people who are <strong>slipping away</strong> — anyone who hasn’t been active in 30+ days. Reach out to reengage them!\\n                  {{else}}\\n                    {{concat \\\"No \\\" (pluralize @segment.personTypeName) \\\" yet\\\"}}\\n                  {{/if}}\\n                </emptyState.description>\\n              </IcEmptyState>\\n            </div>\\n          </div>\\n        {{else}}\\n          {{#if hasPeopleOrCompaniesToShow}}\\n            <UsersAndCompanies::ListTable @actionReceiver={{listTable}}>\\n              <PaginationComponent\\n                @viewportSelector=\\\".tbl__fixed__portal\\\"\\n                @scrollingContentSelector=\\\".js__user-list-table\\\"\\n                @onPageRequested={{action \\\"nextPage\\\"}}\\n              >\\n                {{!-- template-lint-disable intercom/no-custom-table --}}\\n                <table class=\\\"tbl o__fit o__fixed keyboard_accessible js__user-list-table\\\">\\n                  {{!-- template-lint-enable intercom/no-custom-table --}}\\n                  <thead>\\n                    <tr class=\\\"o__fixed-header\\\">\\n                      <th class=\\\"tbl__cell t__label name o__fixed-header\\\">\\n                        <span class=\\\"tbl__fixed-header__text u__prevent-breaks twk__user-list-name-column o__with-combined-avatar-checkbox\\\">\\n                          <IcTooltipIcon @content=\\\"Looking for the select-all checkbox? Just use the buttons above to message or tag these people.\\\" />\\n                          <span class=\\\"twk__user-list-name-header-text\\\">\\n                            {{ic-interface-icon \\\"multiple-people\\\"}} Name\\n                          </span>\\n                        </span>\\n                      </th>\\n                      <th class=\\\"tbl__cell t__label o__fixed-header\\\">\\n                        <span class=\\\"hidden\\\">\\n                          Send message\\n                        </span>\\n                      </th>\\n                      {{#each adjustedVisibleDisplayedAttributes as |displayedAttribute|}}\\n                        <UserListColumnHeaderComponent\\n                          @app={{app}}\\n                          @displayedAttribute={{displayedAttribute}}\\n                          @classForHeader={{displayedAttribute.attribute.unspacedSanitizedIdentifier}}\\n                          @sort=\\\"sort\\\"\\n                        />\\n                      {{/each}}\\n                    </tr>\\n                  </thead>\\n                  <tbody data-sensitive=\\\"true\\\" class=\\\"tbl__body js__users-table__body shim__users-table__body\\\">\\n                    {{#each model as |user|}}\\n                      <Performance::MeasureRenderTime @subject=\\\"component:user-table-row-component\\\">\\n                        <UserTableRowComponent\\n                          @user={{user}}\\n                          @segment={{segment}}\\n                          @app={{app}}\\n                          @showCompanyAttributes={{showCompanyAttributes}}\\n                          @adjustedVisibleDisplayedAttributes={{adjustedVisibleDisplayedAttributes}}\\n                          @openMessageModalOrPromptUpgrade=\\\"openMessageModalOrPromptUpgrade\\\"\\n                          @displayedAttributes={{displayedAttributes}}\\n                          @hasSelectedUsers={{hasSelectedUsers}}\\n                        />\\n                      </Performance::MeasureRenderTime>\\n                    {{/each}}\\n                  </tbody>\\n                </table>\\n              </PaginationComponent>\\n              <PaginatorComponent\\n                @isUserTable={{true}}\\n                @isPaginating={{isPaginating}}\\n                @paginationErrorMessage={{paginationErrorMessage}}\\n                @hasErrored={{hasErrored}}\\n                @reloadCurrentPage={{action \\\"reloadCurrentPage\\\"}}\\n              />\\n            </UsersAndCompanies::ListTable>\\n          {{else}}\\n            <IcEmptyState @icon=\\\"people\\\" @title=\\\"No users match filters\\\" />\\n          {{/if}}\\n        {{/if}}\\n      </div>\\n    {{else}}\\n      <div class=\\\"layout__box o__scrolls o__flexes-to-1 u__relative\\\">\\n        <UserMapComponent\\n          @usersLoadedCount={{mapUsersLoadedCount}}\\n          @totalUsersCount={{totalMapUsersCount}}\\n          @usersHaveLoaded={{mapUsersHaveLoaded}}\\n          @numberOfUserCountries={{numberOfUserCountries}}\\n          @predicates={{predicates}}\\n          @mapContainerId=\\\"MapBoxContainer\\\"\\n        />\\n      </div>\\n    {{/if}}\\n  {{/if}}\\n{{/if}}\\n<Modal::CreateUser @showUserCreateModal={{showUserCreateModal}} />\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-partial --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isLoading}}\\n  {{#if hasErrored}}\\n    <div class=\\\"u__center-item u__centered-text-block\\\">\\n      <h1 class=\\\"t__h1\\\">\\n        {{ic-interface-icon \\\"error\\\" size=24}} An error occurred while loading your {{segment.personTypeName}}s.\\n      </h1>\\n      <div class=\\\"h-5\\\"></div>\\n      <IcButton\\n        @label=\\\"Try again…\\\"\\n        @type=\\\"primary\\\"\\n        @onClick={{action \\\"reload\\\"}}\\n      />\\n    </div>\\n  {{else}}\\n    <div class=\\\"u__center-item\\\">\\n      <IcLoadingIndicator @size=\\\"large\\\" />\\n    </div>\\n  {{/if}}\\n{{else}}\\n  {{#if isLimitedResponse}}\\n    <div class=\\\"u__center-item u__centered-text-block test__user-list__limited-response-error\\\">\\n      <UserList::SearchLimitAlert />\\n    </div>\\n  {{else}}\\n    {{partial \\\"apps/app/users/segments/segment/user-list-header\\\"}}\\n    {{#if showIdentityVerificationWarning}}\\n      <div class=\\\"u__ml__20 u__mr__20 u__mt__10\\\">\\n        <IcBanner @type=\\\"help\\\">\\n          Enforce identity verification to protect customer conversations and prevent impersonation.\\n          <a {{action \\\"redirectToIdentityVerification\\\"}}>\\n            Set up identity verification\\n          </a>.\\n        </IcBanner>\\n      </div>\\n    {{/if}}\\n    {{#if showingTable}}\\n      <div class=\\\"tbl__fixed__wrapper layout__box\\\">\\n        {{#if (and app.hasNoPeople hasNoPeopleOrCompaniesToShow)}}\\n          <div class=\\\"u__center-layout\\\">\\n            <div class=\\\"u__center-item\\\">\\n              <IcEmptyState\\n                @icon=\\\"people\\\"\\n                @title=\\\"Personal details drive better conversations\\\"\\n                as |emptyState|\\n              >\\n                <emptyState.description>\\n                  {{#if (eq @segment.identifier 'all-users')}}\\n                    Here’s where you can see <strong>who your customers are</strong> and <strong>what they’re doing</strong>. Harness your data for personalized messaging — drive better results.\\n                  {{else if (eq @segment.identifier 'all-leads')}}\\n                    Here’s where you can see your <strong>leads</strong>. Reach out to them to convert them into paying customers!\\n                  {{else if (eq @segment.identifier 'active')}}\\n                    Here’s where you can see <strong>active</strong> people — your users who’ve logged in to the last 30 days. Connect with them to deepen their engagement.\\n                  {{else if (eq @segment.identifier 'new')}}\\n                    Here’s where you can see <strong>new users</strong> — people who’ve signed up in the last 24 hours. Reach out to welcome and onboard them!\\n                  {{else if (eq @segment.identifier 'slipping-away')}}\\n                    Here’s where you can see people who are <strong>slipping away</strong> — anyone who hasn’t been active in 30+ days. Reach out to reengage them!\\n                  {{else}}\\n                    {{concat \\\"No \\\" (pluralize @segment.personTypeName) \\\" yet\\\"}}\\n                  {{/if}}\\n                </emptyState.description>\\n              </IcEmptyState>\\n            </div>\\n          </div>\\n        {{else}}\\n          {{#if hasPeopleOrCompaniesToShow}}\\n            <UsersAndCompanies::ListTable @actionReceiver={{listTable}}>\\n              <PaginationComponent\\n                @viewportSelector=\\\".tbl__fixed__portal\\\"\\n                @scrollingContentSelector=\\\".js__user-list-table\\\"\\n                @onPageRequested={{action \\\"nextPage\\\"}}\\n              >\\n                {{!-- template-lint-disable intercom/no-custom-table --}}\\n                <table class=\\\"tbl o__fit o__fixed keyboard_accessible js__user-list-table\\\">\\n                  {{!-- template-lint-enable intercom/no-custom-table --}}\\n                  <thead>\\n                    <tr class=\\\"o__fixed-header\\\">\\n                      <th class=\\\"tbl__cell t__label name o__fixed-header\\\">\\n                        <span class=\\\"tbl__fixed-header__text u__prevent-breaks twk__user-list-name-column o__with-combined-avatar-checkbox\\\">\\n                          <IcTooltipIcon @content=\\\"Looking for the select-all checkbox? Just use the buttons above to message or tag these people.\\\" />\\n                          <span class=\\\"twk__user-list-name-header-text\\\">\\n                            {{ic-interface-icon \\\"multiple-people\\\"}} Name\\n                          </span>\\n                        </span>\\n                      </th>\\n                      <th class=\\\"tbl__cell t__label o__fixed-header\\\">\\n                        <span class=\\\"hidden\\\">\\n                          Send message\\n                        </span>\\n                      </th>\\n                      {{#each adjustedVisibleDisplayedAttributes as |displayedAttribute|}}\\n                        <UserListColumnHeaderComponent\\n                          @app={{app}}\\n                          @displayedAttribute={{displayedAttribute}}\\n                          @classForHeader={{displayedAttribute.attribute.unspacedSanitizedIdentifier}}\\n                          @sort=\\\"sort\\\"\\n                        />\\n                      {{/each}}\\n                    </tr>\\n                  </thead>\\n                  <tbody data-sensitive=\\\"true\\\" class=\\\"tbl__body js__users-table__body shim__users-table__body\\\">\\n                    {{#each model as |user|}}\\n                      <Performance::MeasureRenderTime @subject=\\\"component:user-table-row-component\\\">\\n                        <UserTableRowComponent\\n                          @user={{user}}\\n                          @segment={{segment}}\\n                          @app={{app}}\\n                          @showCompanyAttributes={{showCompanyAttributes}}\\n                          @adjustedVisibleDisplayedAttributes={{adjustedVisibleDisplayedAttributes}}\\n                          @openMessageModalOrPromptUpgrade=\\\"openMessageModalOrPromptUpgrade\\\"\\n                          @displayedAttributes={{displayedAttributes}}\\n                          @hasSelectedUsers={{hasSelectedUsers}}\\n                        />\\n                      </Performance::MeasureRenderTime>\\n                    {{/each}}\\n                  </tbody>\\n                </table>\\n              </PaginationComponent>\\n              <PaginatorComponent\\n                @isUserTable={{true}}\\n                @isPaginating={{isPaginating}}\\n                @paginationErrorMessage={{paginationErrorMessage}}\\n                @hasErrored={{hasErrored}}\\n                @reloadCurrentPage={{action \\\"reloadCurrentPage\\\"}}\\n              />\\n            </UsersAndCompanies::ListTable>\\n          {{else}}\\n            <IcEmptyState @icon=\\\"people\\\" @title=\\\"No users match filters\\\" />\\n          {{/if}}\\n        {{/if}}\\n      </div>\\n    {{else}}\\n      <div class=\\\"layout__box o__scrolls o__flexes-to-1 u__relative\\\">\\n        <UserMapComponent\\n          @usersLoadedCount={{mapUsersLoadedCount}}\\n          @totalUsersCount={{totalMapUsersCount}}\\n          @usersHaveLoaded={{mapUsersHaveLoaded}}\\n          @numberOfUserCountries={{numberOfUserCountries}}\\n          @predicates={{predicates}}\\n          @mapContainerId=\\\"MapBoxContainer\\\"\\n        />\\n      </div>\\n    {{/if}}\\n  {{/if}}\\n{{/if}}\\n<Modal::CreateUser @showUserCreateModal={{showUserCreateModal}} />\\n\",\"moduleName\":\"embercom/components/user-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/user-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-side-effects */\nimport { computed } from '@ember/object';\nimport { alias, readOnly, filterBy, notEmpty, equal } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { findBy, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport UserOrCompaniesListComponent from 'embercom/components/base/user-or-companies-list';\nimport User from 'embercom/models/user';\n\nexport default UserOrCompaniesListComponent.extend({\n  store: service(),\n  intercomEventService: service(),\n  identityVerificationRiskStateService: service(),\n  onboardingHomeService: service(),\n  searchActive: readOnly('search.hasValue'),\n\n  displayedAttributes: readOnly('attributeService.displayedUserAttributes'),\n\n  showCompanyAttributes: readOnly('app.companiesActive'),\n  displayedUserAttributes: filterBy('displayedAttributes', 'isUser'),\n  visibleDisplayedAttributes: ternaryToProperty(\n    'showCompanyAttributes',\n    'displayedAttributes',\n    'displayedUserAttributes',\n  ),\n  lastRequestAtAttribute: findBy('visibleDisplayedAttributes', 'identifier', 'last_request_at'),\n  lastRequestAtAttributeIsVisible: notEmpty('lastRequestAtAttribute'),\n  userIdAttribute: findBy('visibleDisplayedAttributes', 'identifier', 'user_id'),\n  emailAttribute: findBy('visibleDisplayedAttributes', 'identifier', 'email'),\n  phoneAttribute: findBy('visibleDisplayedAttributes', 'identifier', 'phone'),\n\n  showIdentityVerificationWarning: computed(\n    'identityVerificationRiskStateService.shouldShowLowNotification',\n    function() {\n      let shouldShow = this.get('identityVerificationRiskStateService.shouldShowLowNotification');\n\n      if (shouldShow) {\n        this.send('trackIdentityVerificationNotificationEvent', {\n          action: 'viewed',\n          object: 'banner',\n        });\n      }\n      return shouldShow;\n    },\n  ),\n\n  // For user presence we want to display the last_request_at attribute closer to the avatar so we adjust the order here\n  adjustedVisibleDisplayedAttributes: computed(\n    'visibleDisplayedAttributes.[]',\n    'segment.hasAnonymousPredicate',\n    function() {\n      let attributes = this.visibleDisplayedAttributes;\n      let newIndex = 0;\n      if (this.lastRequestAtAttributeIsVisible) {\n        let lastRequestAtIndex = attributes.indexOf(this.lastRequestAtAttribute);\n        if (this.userIdAttribute) {\n          newIndex = attributes.indexOf(this.userIdAttribute) + 1;\n        } else if (this.phoneAttribute) {\n          newIndex = attributes.indexOf(this.phoneAttribute) + 1;\n        } else if (this.emailAttribute) {\n          newIndex = attributes.indexOf(this.emailAttribute) + 1;\n        }\n        attributes.splice(newIndex, 0, attributes.splice(lastRequestAtIndex, 1)[0]);\n\n        if (!attributes.isAny('userAttributeSetting.isSorted')) {\n          this.set('lastRequestAtAttribute.userAttributeSetting.sort_by', 'desc');\n        }\n      }\n      return this.attributesHidingForContacts(\n        this.get('segment.hasAnonymousPredicate'),\n        attributes,\n      );\n    },\n  ),\n\n  attributesHidingForContacts(isAnonymous, attributes) {\n    if (!isAnonymous) {\n      return attributes;\n    }\n    return attributes.filter(function(attr) {\n      return !attr.attribute.get('isHiddenForContact');\n    });\n  },\n\n  viewMode: 'table',\n  mapUsersLoadedCount: 0,\n  totalMapUsersCount: undefined,\n  mapUsersHaveLoaded: false,\n  numberOfUserCountries: 0,\n\n  showingTable: equal('viewMode', 'table'),\n\n  personTypeName: alias('segment.personTypeName'),\n  userCount: readOnly('app.userCount'),\n  anonymousCount: readOnly('app.anonymousCount'),\n\n  peopleCount: computed(\n    'segment.hasAnonymousPredicate',\n    'segment.hasUserPredicate',\n    'anonymousCount',\n    'userCount',\n    function() {\n      if (this.get('segment.hasAnonymousPredicate')) {\n        return this.anonymousCount;\n      }\n      if (this.get('segment.hasUserPredicate')) {\n        return this.userCount;\n      }\n      return this.get('app.peopleCount');\n    },\n  ),\n\n  loadPage(page) {\n    if (page > 2) {\n      this.intercomEventService.trackEvent('user-list-loaded-page', { page });\n    }\n    return this.executeSearch(User, 'users', { page });\n  },\n\n  isShowingAll: computed('totalCount', 'peopleCount', function() {\n    return this.totalCount >= this.peopleCount;\n  }),\n\n  pagingStrategy: 'height',\n\n  tagTypeLabel: alias('personTypeName'),\n  tagEndpoint: '/ember/users/bulk_tag.json',\n\n  actions: {\n    showUserOrCompany(user) {\n      this.router.transitionTo('apps.app.users.user', user.id);\n    },\n    openMessageModal() {\n      this.trigger('openMessageModal');\n    },\n    onViewModeChange(newViewMode) {\n      if (newViewMode === 'map') {\n        this.intercomEventService.trackEvent('viewed-map');\n      }\n\n      this.set('viewMode', newViewMode);\n    },\n\n    showCreateUserModal() {\n      this.set('showUserCreateModal', true);\n    },\n\n    showCreateLeadModal() {\n      this.set('showLeadCreateModal', true);\n    },\n\n    import() {\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', 'apps/app/modals/import-modal', this.app);\n    },\n\n    redirectToIdentityVerification() {\n      this.send('trackIdentityVerificationNotificationEvent', {\n        action: 'clicked',\n        object: 'banner',\n      });\n      this.router.transitionTo('apps.app.settings.identity-verification');\n    },\n\n    trackIdentityVerificationNotificationEvent(data) {\n      this.intercomEventService.trackEvent(`identity-verification-notification-${data.action}`, {\n        action: data.action,\n        object: data.object,\n        place: 'user_list',\n        owner: 'growth',\n      });\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"user-list__search-limit-alert__image\\\"></div>\\n<h3 class=\\\"t__h3 pt-1 mb-2\\\">\\n  Your filters include company data, and more than 50,000 companies match\\n</h3>\\n<p class=\\\"t__body\\\">\\n  To narrow your results, remove company filters or add more specific company filters\\n</p>\\n\", {\"contents\":\"<div class=\\\"user-list__search-limit-alert__image\\\"></div>\\n<h3 class=\\\"t__h3 pt-1 mb-2\\\">\\n  Your filters include company data, and more than 50,000 companies match\\n</h3>\\n<p class=\\\"t__body\\\">\\n  To narrow your results, remove company filters or add more specific company filters\\n</p>\\n\",\"moduleName\":\"embercom/components/user-list/search-limit-alert.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/user-list/search-limit-alert.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"map_overlay\\\">\\n  <div id=\\\"MapBoxContainer\\\" class=\\\"pl_map\\\"></div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"map_overlay\\\">\\n  <div id=\\\"MapBoxContainer\\\" class=\\\"pl_map\\\"></div>\\n</div>\\n\",\"moduleName\":\"embercom/components/user-map-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/user-map-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport MapComponent from 'embercom/components/map-component';\n\nexport default MapComponent.extend({\n  inUserList: true,\n  elementID: 'MapBox',\n  classNames: ['pl_map'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcDropdownOpener\\n  @groupList={{array (hash items=(compact (array\\n    (hash\\n      text='Archive'\\n      icon='archive'\\n      value='archive'\\n      description='Archive this person and their conversation history'\\n      onSelectItem=@deleteUser\\n    )\\n    (hash\\n      text='Block'\\n      icon='error'\\n      value='block'\\n      description='Blocks them so you won’t get their replies'\\n      onSelectItem=@blockUser\\n    )\\n    (if this.userUnsubscribedFromEmails\\n      (hash\\n        text='Resubscribe'\\n        icon='message'\\n        value='resubscribe'\\n        description='Adds them to your email list'\\n        onSelectItem=@resubscribeUser\\n      )\\n      (hash\\n        text='Unsubscribe'\\n        icon='unsubscribed'\\n        value='unsubscribe'\\n        description='Removes them from your email list'\\n        onSelectItem=@unsubscribeUser\\n      )\\n    )\\n    (if this.shouldDisplayImpersonateUserOption\\n      (hash\\n        text='Impersonate'\\n        icon='locked'\\n        value='impersonate'\\n        description='Use Intercom from this person’s account (Intercomrades only)'\\n        onSelectItem=@impersonateUser\\n      )\\n    )\\n  )))}}\\n  class=\\\"ml-2\\\"\\n  as |opener|\\n>\\n  <IcButton\\n    @icon=\\\"vertical-ellipsis\\\"\\n    @iconOnly={{true}}\\n    @subtle={{true}}\\n    @isForcedActive={{opener.dropdownIsOpen}}\\n    data-test-profile-actions-dropdown-opener\\n  />\\n</IcDropdownOpener>\\n\", {\"contents\":\"<IcDropdownOpener\\n  @groupList={{array (hash items=(compact (array\\n    (hash\\n      text='Archive'\\n      icon='archive'\\n      value='archive'\\n      description='Archive this person and their conversation history'\\n      onSelectItem=@deleteUser\\n    )\\n    (hash\\n      text='Block'\\n      icon='error'\\n      value='block'\\n      description='Blocks them so you won’t get their replies'\\n      onSelectItem=@blockUser\\n    )\\n    (if this.userUnsubscribedFromEmails\\n      (hash\\n        text='Resubscribe'\\n        icon='message'\\n        value='resubscribe'\\n        description='Adds them to your email list'\\n        onSelectItem=@resubscribeUser\\n      )\\n      (hash\\n        text='Unsubscribe'\\n        icon='unsubscribed'\\n        value='unsubscribe'\\n        description='Removes them from your email list'\\n        onSelectItem=@unsubscribeUser\\n      )\\n    )\\n    (if this.shouldDisplayImpersonateUserOption\\n      (hash\\n        text='Impersonate'\\n        icon='locked'\\n        value='impersonate'\\n        description='Use Intercom from this person’s account (Intercomrades only)'\\n        onSelectItem=@impersonateUser\\n      )\\n    )\\n  )))}}\\n  class=\\\"ml-2\\\"\\n  as |opener|\\n>\\n  <IcButton\\n    @icon=\\\"vertical-ellipsis\\\"\\n    @iconOnly={{true}}\\n    @subtle={{true}}\\n    @isForcedActive={{opener.dropdownIsOpen}}\\n    data-test-profile-actions-dropdown-opener\\n  />\\n</IcDropdownOpener>\\n\",\"moduleName\":\"embercom/components/user-profile-actions-dropdown.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/user-profile-actions-dropdown.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, and, reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport DetectsIntercomradesDomain from 'embercom/lib/detects-intercomrades-domain';\n\nexport default Component.extend(DetectsIntercomradesDomain, {\n  classNames: ['u__left'],\n  appService: service(),\n  app: readOnly('appService.app'),\n  highlightListItemClass: '',\n\n  shouldDisplayImpersonateUserOption: and(\n    'isIntercomradesDomain',\n    'app.isNotImpersonationSession',\n    'model.isNotAnonymous',\n  ),\n  userUnsubscribedFromEmails: reads('model.unsubscribed_from_emails'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"profile__note\\\">\\n  <div class=\\\"u__cf\\\">\\n    {{#if isEditing}}\\n      <div class=\\\"conversation__bubble o__admin-note u__left profile__conversation-bubble o__editing\\\">\\n        <div class=\\\"conversation__bubble__inner profile__conversation-bubble-inner\\\">\\n          <div class=\\\"conversation__text\\\">\\n            <Users::Profile::NoteComposerTextareaComponent\\n              @notable={{notable}}\\n              @isCompany={{isCompany}}\\n              @isSaving={{isSaving}}\\n              @isTouch={{isTouch}}\\n              @isEditing={{isEditing}}\\n              @noteHasValue={{noteHasValue}}\\n              @actionReceiver={{noteComposerTextareaComponent}}\\n              @textareaContent={{note.body}}\\n              @note={{note}}\\n            />\\n          </div>\\n        </div>\\n      </div>\\n    {{else}}\\n      <IcTooltip as |t|>\\n        <t.opener>\\n          <div\\n            data-test-user-profile-outer-bubble\\n            class=\\\"conversation__bubble o__admin-note u__left profile__conversation-bubble\\\"\\n          >\\n            <div\\n              data-test-user-profile-inner-bubble\\n              onclick={{action \\\"clickNote\\\"}}\\n              class=\\\"conversation__bubble__inner profile__conversation-bubble-inner\\\"\\n            >\\n              <div data-test-user-profile-note-text class=\\\"conversation__text\\\">\\n                {{#if note.bodyHtmlSafe}}\\n                  {{note.bodyHtmlSafe}}\\n                {{else}}\\n                  {{ghost-text 150}}{{ghost-text 120}}\\n                {{/if}}\\n              </div>\\n            </div>\\n          </div>\\n        </t.opener>\\n        <t.content>\\n          Edited by\\n          <IcAvatarComponent @model={{or note.updated_by note.admin}} @size=\\\"xs\\\" />\\n          <span data-test-admin-action-date-admin>\\n            {{get (or note.updated_by note.admin) 'first_name'}}\\n          </span>\\n          <time\\n            class=\\\"js__relative-time\\\"\\n            data-formatter=\\\"full-relative-time-ago-helper\\\"\\n            datetime=\\\"{{or note.last_edited_at note.created_at}}\\\"\\n          >\\n            {{full-relative-time-ago-helper (or note.last_edited_at note.created_at)}}\\n          </time>\\n        </t.content>\\n      </IcTooltip>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"profile__note\\\">\\n  <div class=\\\"u__cf\\\">\\n    {{#if isEditing}}\\n      <div class=\\\"conversation__bubble o__admin-note u__left profile__conversation-bubble o__editing\\\">\\n        <div class=\\\"conversation__bubble__inner profile__conversation-bubble-inner\\\">\\n          <div class=\\\"conversation__text\\\">\\n            <Users::Profile::NoteComposerTextareaComponent\\n              @notable={{notable}}\\n              @isCompany={{isCompany}}\\n              @isSaving={{isSaving}}\\n              @isTouch={{isTouch}}\\n              @isEditing={{isEditing}}\\n              @noteHasValue={{noteHasValue}}\\n              @actionReceiver={{noteComposerTextareaComponent}}\\n              @textareaContent={{note.body}}\\n              @note={{note}}\\n            />\\n          </div>\\n        </div>\\n      </div>\\n    {{else}}\\n      <IcTooltip as |t|>\\n        <t.opener>\\n          <div\\n            data-test-user-profile-outer-bubble\\n            class=\\\"conversation__bubble o__admin-note u__left profile__conversation-bubble\\\"\\n          >\\n            <div\\n              data-test-user-profile-inner-bubble\\n              onclick={{action \\\"clickNote\\\"}}\\n              class=\\\"conversation__bubble__inner profile__conversation-bubble-inner\\\"\\n            >\\n              <div data-test-user-profile-note-text class=\\\"conversation__text\\\">\\n                {{#if note.bodyHtmlSafe}}\\n                  {{note.bodyHtmlSafe}}\\n                {{else}}\\n                  {{ghost-text 150}}{{ghost-text 120}}\\n                {{/if}}\\n              </div>\\n            </div>\\n          </div>\\n        </t.opener>\\n        <t.content>\\n          Edited by\\n          <IcAvatarComponent @model={{or note.updated_by note.admin}} @size=\\\"xs\\\" />\\n          <span data-test-admin-action-date-admin>\\n            {{get (or note.updated_by note.admin) 'first_name'}}\\n          </span>\\n          <time\\n            class=\\\"js__relative-time\\\"\\n            data-formatter=\\\"full-relative-time-ago-helper\\\"\\n            datetime=\\\"{{or note.last_edited_at note.created_at}}\\\"\\n          >\\n            {{full-relative-time-ago-helper (or note.last_edited_at note.created_at)}}\\n          </time>\\n        </t.content>\\n      </IcTooltip>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/user-profile-note-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/user-profile-note-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { schedule } from '@ember/runloop';\nimport $ from 'jquery';\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  appService: service(),\n  isEditing: false,\n  'data-test-user-profile-note': true,\n\n  focusIn() {\n    this.set('focused', true);\n  },\n  focusOut() {\n    this.set('focused', false);\n  },\n\n  actions: {\n    clickNote() {\n      this.set('isEditing', true);\n      schedule('afterRender', this, () => {\n        $('textarea', this.element).focus();\n      });\n    },\n    cancelEditing() {\n      this.noteComposerTextareaComponent.send('cancel');\n    },\n    save() {\n      this.noteComposerTextareaComponent.send('save');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcBanner data-test-user-restriction-warning @type=\\\"warning\\\">\\n  <b>\\n    Development workspaces are limited to 20 people. Past that we’ll automatically delete people who were active the longest time ago.\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://developers.intercom.com/building-apps/docs/get-started-developing-on-intercom\\\"\\n      @title=\\\"Learn more.\\\"\\n      @type=\\\"developer\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />\\n  </b>\\n</IcBanner>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<IcBanner data-test-user-restriction-warning @type=\\\"warning\\\">\\n  <b>\\n    Development workspaces are limited to 20 people. Past that we’ll automatically delete people who were active the longest time ago.\\n    <Pulse::HelpContent::Link\\n      @href=\\\"https://developers.intercom.com/building-apps/docs/get-started-developing-on-intercom\\\"\\n      @title=\\\"Learn more.\\\"\\n      @type=\\\"developer\\\"\\n      @linkStyling=\\\"inline\\\"\\n    />\\n  </b>\\n</IcBanner>\\n\",\"moduleName\":\"embercom/components/user-restriction-warning.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/user-restriction-warning.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<td class=\\\"tbl__cell js__users-table__name {{if @user.isHighlighted \\\"o__kbd-selected\\\"}}\\\">\\n  <span class=\\\"avatar__container o__s\\\">\\n    <Common::Tooltips::User @userId={{@user.id}}>\\n      <label\\n        class=\\\"tbl__user-list-avatar-checkbox-label {{unless this.shouldHaveVisibleCheckbox \\\"u__hidden\\\"}}\\\"\\n      >\\n        <Input\\n          @type=\\\"checkbox\\\"\\n          @checked={{@user.selected}}\\n          @classNames=\\\"tbl__user-list-avatar-checkbox\\\"\\n        />\\n      </label>\\n      <div\\n        class=\\\"tbl__user-list-avatar {{if this.shouldHaveVisibleCheckbox \\\"u__hidden\\\"}}\\\"\\n      >\\n        {{ic-avatar model=@user size=\\\"s\\\" contained=true}}\\n      </div>\\n      <LinkTo\\n        @route=\\\"apps.app.users.user.all-conversations\\\"\\n        @model={{@user.id}}\\n        @query={{hash searchTerm=\\\"\\\"}}\\n        class=\\\"u__all-pointer-events t__solo-link\\\"\\n      >\\n        {{@user.displayAs}}\\n      </LinkTo>\\n    </Common::Tooltips::User>\\n  </span>\\n  {{#if @showCompanyAttributes}}\\n    {{#if @user.mostRecentCompany.name}}\\n      <span class=\\\"user-list__at-company\\\">\\n        at\\n      </span>\\n      <span class=\\\"user-list__users-companies\\\">\\n        <UsersCompaniesWithIconPattern\\n          @user={{@user}}\\n          @othersWrapperClass=\\\"text-gray\\\"\\n        />\\n      </span>\\n    {{/if}}\\n  {{/if}}\\n</td>\\n{{#unless @app.hasBlankState}}\\n  <td class=\\\"tbl__cell o__contains-button shim__force-cell-button-width\\\">\\n    {{!-- template-lint-disable intercom/no-legacy-modal --}}\\n    <ModalLinkComponent\\n      @controllerPath=\\\"apps/app/users/segments/segment/modals/message\\\"\\n      @model={{this.selectionState}}\\n      @orientation=\\\"horizontal\\\"\\n      @precision={{true}}\\n      @action=\\\"openMessageModalOrPromptUpgrade\\\"\\n    >\\n      <IcButton\\n        @icon=\\\"manual-message\\\"\\n        @type=\\\"secondary\\\"\\n        @subtle={{true}}\\n        @inCell={{false}}\\n      />\\n    </ModalLinkComponent>\\n    {{!-- template-lint-enable intercom/no-legacy-modal --}}\\n  </td>\\n{{/unless}}\\n{{#each @adjustedVisibleDisplayedAttributes as |displayedAttribute|}}\\n  {{#if displayedAttribute.attribute.isRealTimeAttribute}}\\n    <AttributeDateComponent\\n      @classNames=\\\"tbl__cell\\\"\\n      @attribute={{displayedAttribute.attribute}}\\n      @userOrCompany={{@user}}\\n      @showTooltip={{true}}\\n      data-test-attribute-identifier={{displayedAttribute.attribute.identifier}}\\n    />\\n  {{else}}\\n    <Users::Table::Cell\\n      @user={{@user}}\\n      @attribute={{displayedAttribute.attribute}}\\n      @isCompany={{this.isCompany}}\\n      @renderCellTag={{true}}\\n    />\\n  {{/if}}\\n{{/each}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable intercom/no-legacy-forms --}}\\n<td class=\\\"tbl__cell js__users-table__name {{if @user.isHighlighted \\\"o__kbd-selected\\\"}}\\\">\\n  <span class=\\\"avatar__container o__s\\\">\\n    <Common::Tooltips::User @userId={{@user.id}}>\\n      <label\\n        class=\\\"tbl__user-list-avatar-checkbox-label {{unless this.shouldHaveVisibleCheckbox \\\"u__hidden\\\"}}\\\"\\n      >\\n        <Input\\n          @type=\\\"checkbox\\\"\\n          @checked={{@user.selected}}\\n          @classNames=\\\"tbl__user-list-avatar-checkbox\\\"\\n        />\\n      </label>\\n      <div\\n        class=\\\"tbl__user-list-avatar {{if this.shouldHaveVisibleCheckbox \\\"u__hidden\\\"}}\\\"\\n      >\\n        {{ic-avatar model=@user size=\\\"s\\\" contained=true}}\\n      </div>\\n      <LinkTo\\n        @route=\\\"apps.app.users.user.all-conversations\\\"\\n        @model={{@user.id}}\\n        @query={{hash searchTerm=\\\"\\\"}}\\n        class=\\\"u__all-pointer-events t__solo-link\\\"\\n      >\\n        {{@user.displayAs}}\\n      </LinkTo>\\n    </Common::Tooltips::User>\\n  </span>\\n  {{#if @showCompanyAttributes}}\\n    {{#if @user.mostRecentCompany.name}}\\n      <span class=\\\"user-list__at-company\\\">\\n        at\\n      </span>\\n      <span class=\\\"user-list__users-companies\\\">\\n        <UsersCompaniesWithIconPattern\\n          @user={{@user}}\\n          @othersWrapperClass=\\\"text-gray\\\"\\n        />\\n      </span>\\n    {{/if}}\\n  {{/if}}\\n</td>\\n{{#unless @app.hasBlankState}}\\n  <td class=\\\"tbl__cell o__contains-button shim__force-cell-button-width\\\">\\n    {{!-- template-lint-disable intercom/no-legacy-modal --}}\\n    <ModalLinkComponent\\n      @controllerPath=\\\"apps/app/users/segments/segment/modals/message\\\"\\n      @model={{this.selectionState}}\\n      @orientation=\\\"horizontal\\\"\\n      @precision={{true}}\\n      @action=\\\"openMessageModalOrPromptUpgrade\\\"\\n    >\\n      <IcButton\\n        @icon=\\\"manual-message\\\"\\n        @type=\\\"secondary\\\"\\n        @subtle={{true}}\\n        @inCell={{false}}\\n      />\\n    </ModalLinkComponent>\\n    {{!-- template-lint-enable intercom/no-legacy-modal --}}\\n  </td>\\n{{/unless}}\\n{{#each @adjustedVisibleDisplayedAttributes as |displayedAttribute|}}\\n  {{#if displayedAttribute.attribute.isRealTimeAttribute}}\\n    <AttributeDateComponent\\n      @classNames=\\\"tbl__cell\\\"\\n      @attribute={{displayedAttribute.attribute}}\\n      @userOrCompany={{@user}}\\n      @showTooltip={{true}}\\n      data-test-attribute-identifier={{displayedAttribute.attribute.identifier}}\\n    />\\n  {{else}}\\n    <Users::Table::Cell\\n      @user={{@user}}\\n      @attribute={{displayedAttribute.attribute}}\\n      @isCompany={{this.isCompany}}\\n      @renderCellTag={{true}}\\n    />\\n  {{/if}}\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/user-table-row-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/user-table-row-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { or } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport LegacySelectionState from 'embercom/models/legacy-selection-state';\n\nexport default Component.extend({\n  tagName: 'tr',\n  classNames: ['tbl__user-list-row'],\n  classNameBindings: [\n    'user.selected:shim__checkbox-selected',\n    'user.isHighlighted:kbd_item_selected',\n  ],\n  isCompany: false,\n  selectionState: computed('model', function() {\n    return LegacySelectionState.create({\n      isSelectAllMode: false,\n      selected: [this.user],\n      unselected: [],\n      predicates: [],\n      count: 1,\n      search: '',\n    });\n  }),\n  shouldHaveVisibleCheckbox: or('isHovered', 'hasSelectedUsers'),\n  actions: {\n    openMessageModalOrPromptUpgrade(controller, model, options) {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('openMessageModalOrPromptUpgrade', controller, model, options);\n    },\n  },\n  mouseEnter() {\n    this.set('isHovered', true);\n  },\n  mouseLeave() {\n    this.set('isHovered', false);\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<UsersAndCompanies::RulesEditor\\n  @predicateGroup={{@segment}}\\n  @showUserData={{@isUserSegment}}\\n  @showUserSwitcher={{@isUserSegment}}\\n  @onUpdate={{@onUpdate}} as |editor|\\n>\\n  {{editor.attributePickerOpener}}\\n</UsersAndCompanies::RulesEditor>\\n{{yield}}\\n\", {\"contents\":\"<UsersAndCompanies::RulesEditor\\n  @predicateGroup={{@segment}}\\n  @showUserData={{@isUserSegment}}\\n  @showUserSwitcher={{@isUserSegment}}\\n  @onUpdate={{@onUpdate}} as |editor|\\n>\\n  {{editor.attributePickerOpener}}\\n</UsersAndCompanies::RulesEditor>\\n{{yield}}\\n\",\"moduleName\":\"embercom/components/users-and-companies/advanced-segment-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users-and-companies/advanced-segment-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Common::TaggingComponent\\n  @closeModalAction={{action closeModal}}\\n  @title={{if\\n    (eq count 1)\\n    (concat \\\"Tag this \\\" tagTypeLabel)\\n    (concat \\\"Tag these \\\" (pluralize count tagTypeLabel))\\n  }}\\n  @taggable={{taggable}}\\n  @type={{type}}\\n  @saveLabel={{concat \\\"Tag \\\" (pluralize count tagTypeLabel)}}\\n  @location={{location}}\\n  @afterSave={{afterSave}}\\n  @trackEvents={{false}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Common::TaggingComponent\\n  @closeModalAction={{action closeModal}}\\n  @title={{if\\n    (eq count 1)\\n    (concat \\\"Tag this \\\" tagTypeLabel)\\n    (concat \\\"Tag these \\\" (pluralize count tagTypeLabel))\\n  }}\\n  @taggable={{taggable}}\\n  @type={{type}}\\n  @saveLabel={{concat \\\"Tag \\\" (pluralize count tagTypeLabel)}}\\n  @location={{location}}\\n  @afterSave={{afterSave}}\\n  @trackEvents={{false}}\\n/>\\n\",\"moduleName\":\"embercom/components/users-and-companies/bulk-tagging.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users-and-companies/bulk-tagging.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  // The common/tagging-component requires a taggable object (e.g. user, company, conversation)\n  // on which it will call updateTaggings(), ideally it would take an action or function instead.\n  taggable: computed(function() {\n    let self = this;\n    return {\n      tags: [],\n      taggings: [],\n      type: this.type,\n      updateTaggings(admin, addedTags = [], removedTags = [], initialTags = []) {\n        return self.get('updateTaggings')(admin, addedTags, removedTags, initialTags);\n      },\n    };\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield\\n  (hash\\n    segment=segment updateSegmentPredicates=(action \\\"updateSegmentPredicates\\\")\\n  )\\n}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{yield\\n  (hash\\n    segment=segment updateSegmentPredicates=(action \\\"updateSegmentPredicates\\\")\\n  )\\n}}\\n\",\"moduleName\":\"embercom/components/users-and-companies/filter-wrapper.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users-and-companies/filter-wrapper.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { isPresent } from '@ember/utils';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport PredicateGroup from 'predicates/models/predicate-group';\nimport Predicate from 'predicates/models/predicate';\nimport { copy } from 'ember-copy';\n\nexport default Component.extend({\n  store: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  classNames: ['layout__box', 'o__has-rows', 'o__flexes-to-1'],\n  didReceiveAttrs() {\n    this._super(...arguments);\n    let rawPredicates = this.legacySegment.predicates;\n    // @pat - `anonymous` predicates in segments are deprecated in favour of `role` predicates\n    // @pat - We cannot use legacySegment.hasAnonymousPredicate because that is clobbered between two mixins (predicate-manager and predicate-validator) and the results if gives back differ to one another\n    if (isPresent(this.get('legacySegment.anonymousPredicate'))) {\n      rawPredicates = PredicateGroup.migrateAnonymousToRolePredicate(rawPredicates);\n    }\n    let predicates = PredicateGroup.convertRawPredicates(this.store, rawPredicates);\n    let segment = this.store.createFragment(`people/segment`, { predicates });\n    this.set('segment', segment);\n  },\n  _updateLegacyNestedPredicates() {\n    // @pat - see comment here https://github.com/intercom/embercom/blob/667e23b2a5f85ba79a4942b3d48225d5ed83e1f4/app/models/mixins/predicate-validator.js#L80.\n    // Unfortunately we need to update `nestedPredicates` on the legacy segment model separately as the changes are not picked up automatically\n    let nestedPredicates = this.get('segment.logicalPredicate')\n      ? this._flattenAndSerializePredicates(this.get('segment.basePredicates'))\n      : [];\n    this.set('legacySegment.nestedPredicates', nestedPredicates);\n  },\n  _flattenAndSerializePredicates(predicates) {\n    return Array.from(Predicate.walkPredicates(predicates)).map(pred => pred.serialize());\n  },\n  actions: {\n    updateSegmentPredicates(predicates, meta) {\n      this.setProperties({\n        'segment.predicates': copy(predicates),\n        'legacySegment.predicates': predicates.serialize(),\n      });\n      this._updateLegacyNestedPredicates();\n      this.onUpdate(meta.action);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport $ from 'jquery';\nimport InboundActions from 'ember-component-inbound-actions/inbound-actions';\nimport FilterLinkBuilder from 'embercom/lib/users/user-company-list/filter-link-builder';\n\nexport default Component.extend(InboundActions, {\n  classNames: ['tbl__fixed__portal'],\n\n  click(evt) {\n    let metaKeyPressed = evt.shiftKey || evt.ctrlKey || evt.metaKey;\n    if ($(evt.target).hasClass('js__user-list-link')) {\n      FilterLinkBuilder.redirectToUrl($(evt.target), metaKeyPressed);\n    }\n  },\n\n  actions: {\n    highlightedItemChanged() {\n      let $selected = $('.kbd_item_selected', this.element);\n      let topPosition = $selected.position().top;\n      if ($(this.element).height() < topPosition) {\n        $selected[0].scrollIntoView(false);\n      } else if (topPosition < 0) {\n        $selected[0].scrollIntoView(true);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::PredicatesEditor\\n  data-test-predicates-editor={{true}}\\n  @tagName=\\\"span\\\"\\n  class={{concat\\n    \\\"users-and-companies__predicates-editor \\\"\\n    (if connectionSwitcherHovered \\\"o__connection-switcher-hovered\\\")\\n  }}\\n  @attributeDropdownFilterPlaceholder={{attributeDropdownFilterPlaceholder}}\\n  @predicates={{predicateGroup.predicates}}\\n  @requiresUserPredicate={{showUserData}}\\n  @onUpdate={{action \\\"proxiedOnUpdate\\\"}}\\n  @attributeGroupList={{attributeGroupList}}\\n  @mode={{@mode}}\\n  @predicateContext={{@predicateContext}}\\n  @isDisabled={{@isDisabled}} as |predicatesEditor|\\n>\\n  {{#if showUserSwitcher}}\\n    <predicatesEditor.components.userSwitcher\\n      @isOneLine={{true}}\\n      class=\\\"u__left u__mr__15\\\" as |userSwitcher|\\n    >\\n      <IcFilterBlock\\n        @name={{userSwitcher.label}}\\n        @icon=\\\"multiple-people\\\"\\n        @isOneLine={{true}}\\n        @isClickable={{true}}\\n        @isOpen={{userSwitcher.dropdownIsOpen}}\\n      />\\n    </predicatesEditor.components.userSwitcher>\\n  {{/if}}\\n  <div class=\\\"{{if @isDisabled \\\"opacity-50\\\"}}\\\">\\n    {{#if notCollapsed}}\\n      {{#each predicatesEditor.predicates as |predicate index|}}\\n        {{#if index}}\\n          {{#if @isDisabled}}\\n            <div class=\\\"users-and-companies__predicates-editor__connection-switcher-label u__left u__mb__5\\\">\\n              {{predicateGroup.logicalMode}}\\n            </div>\\n          {{else}}\\n            <predicatesEditor.components.logicalSwitcher\\n              @forceDisabledTooltipContent={{logicalSwitcherTooltip}}\\n              @isForceDisabled={{and\\n              predicateGroup.isAndMode\\n              (gt predicatesEditor.predicates.length orFilterLimit)\\n            }}\\n              @items={{logicalSwitcherItems}}\\n              @isOneLine={{true}}\\n              class=\\\"u__left u__mb__5 users-and-companies__predicates-editor__connection-switcher\\\"\\n              @mouseEnter={{action (mut connectionSwitcherHovered) true}}\\n              @mouseLeave={{action (mut connectionSwitcherHovered) false\\n            }} as |logicalSwitcher|\\n            >\\n              <div\\n                class=\\\"users-and-companies__predicates-editor__connection-switcher-label u__pointer-cursor {{if logicalSwitcher.dropdownIsOpen \\\"o__active\\\"}} {{if logicalSwitcher.isDisabled \\\"o__disabled\\\"}}\\\"\\n                data-test-switch-connection-button\\n              >\\n                {{logicalSwitcher.label}}\\n              </div>\\n            </predicatesEditor.components.logicalSwitcher>\\n          {{/if}}\\n        {{/if}}\\n        {{#if predicate.canBeGrouped}}\\n          <predicatesEditor.components.filterGroupEditor\\n            data-test-filter-group={{index}}\\n            @index={{index}}\\n            @isDisabled={{@isDisabled}}\\n            @hideAddButton={{@hideAddFilterGroupButton}}\\n            @predicate={{predicate}}\\n            @predicateContext={{@predicateContext}}\\n            @addFilterTooltip={{addFilterTooltip}}\\n            @logicalSwitcherTooltip={{logicalSwitcherTooltip}}\\n            @orFilterLimit={{orFilterLimit}}\\n            @disabledAttributeIdentifiers={{groupAttributePickerDisabledIdentifiers}}\\n            @attributePickerItemComponent=\\\"ic-attribute-item-with-user-event\\\"\\n            @attributePickerFooterActions={{if\\n              canUseCdaCreator\\n              (hash\\n                text=\\\"New attribute\\\" icon=\\\"new\\\" action=(action \\\"showNewDataModal\\\")\\n              )\\n            }}\\n          />\\n        {{else}}\\n          <predicatesEditor.components.predicateEditor\\n            class=\\\"u__left u__mb__5\\\"\\n            @index={{index}}\\n            @predicate={{predicate}}\\n            @isOneLine={{true}}\\n            @predicateContext={{@predicateContext}}\\n          />\\n        {{/if}}\\n      {{/each}}\\n    {{/if}}\\n  </div>\\n  {{#if (gt predicatesEditor.totalNumberOfFilters 4)}}\\n    <span\\n      class=\\\"u__left users-and-companies__predicates-editor__hide-filters {{unless collapsed \\\"u__ml__15\\\"}} {{if @isDisabled \\\"opacity-50\\\"}}\\\"\\n    >\\n      <a\\n        class=\\\"btn__tertiary__deemphasized pt-px pb-px\\\"\\n        onclick={{action \\\"toggleCollapsedState\\\"}}\\n        data-test-toggle-hidden-filters\\n      >\\n        {{#if collapsed}}\\n          {{pluralize predicatesEditor.totalNumberOfFilters \\\"hidden filter\\\"}}\\n        {{else}}\\n          Hide filters\\n        {{/if}}\\n      </a>\\n    </span>\\n  {{/if}}\\n  {{!-- attributePickerOpener: allows consumers to customise the \\\"add filter\\\" / \\\"add rule\\\" button --}}\\n  {{yield\\n    (hash\\n      attributePickerOpener=(component\\n        predicatesEditor.components.attributePickerOpener\\n        class=(if\\n          predicatesEditor.totalNumberOfFilters\\n          \\\"users-and-companies__predicates-editor__add-filter u__ml__15 u__left\\\"\\n          \\\"users-and-companies__predicates-editor__add-filter u__left\\\"\\n        )\\n        attributeItemComponent=\\\"ic-attribute-item-with-user-event\\\"\\n        disabledTooltipContent=addFilterTooltip\\n        disabledAttributeIdentifiers=attributePickerDisabledIdentifiers\\n        isForceDisabled=(or\\n          @isDisabled\\n          (and\\n            predicateGroup.isOrMode\\n            (gte predicatesEditor.predicates.length orFilterLimit)\\n          )\\n        )\\n        footerActions=(if\\n          canUseCdaCreator\\n          (hash\\n            text=\\\"New attribute\\\" icon=\\\"new\\\" action=(action \\\"showNewDataModal\\\")\\n          )\\n        )\\n      )\\n    )\\n  }}\\n</Predicates::PredicatesEditor>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<Predicates::PredicatesEditor\\n  data-test-predicates-editor={{true}}\\n  @tagName=\\\"span\\\"\\n  class={{concat\\n    \\\"users-and-companies__predicates-editor \\\"\\n    (if connectionSwitcherHovered \\\"o__connection-switcher-hovered\\\")\\n  }}\\n  @attributeDropdownFilterPlaceholder={{attributeDropdownFilterPlaceholder}}\\n  @predicates={{predicateGroup.predicates}}\\n  @requiresUserPredicate={{showUserData}}\\n  @onUpdate={{action \\\"proxiedOnUpdate\\\"}}\\n  @attributeGroupList={{attributeGroupList}}\\n  @mode={{@mode}}\\n  @predicateContext={{@predicateContext}}\\n  @isDisabled={{@isDisabled}} as |predicatesEditor|\\n>\\n  {{#if showUserSwitcher}}\\n    <predicatesEditor.components.userSwitcher\\n      @isOneLine={{true}}\\n      class=\\\"u__left u__mr__15\\\" as |userSwitcher|\\n    >\\n      <IcFilterBlock\\n        @name={{userSwitcher.label}}\\n        @icon=\\\"multiple-people\\\"\\n        @isOneLine={{true}}\\n        @isClickable={{true}}\\n        @isOpen={{userSwitcher.dropdownIsOpen}}\\n      />\\n    </predicatesEditor.components.userSwitcher>\\n  {{/if}}\\n  <div class=\\\"{{if @isDisabled \\\"opacity-50\\\"}}\\\">\\n    {{#if notCollapsed}}\\n      {{#each predicatesEditor.predicates as |predicate index|}}\\n        {{#if index}}\\n          {{#if @isDisabled}}\\n            <div class=\\\"users-and-companies__predicates-editor__connection-switcher-label u__left u__mb__5\\\">\\n              {{predicateGroup.logicalMode}}\\n            </div>\\n          {{else}}\\n            <predicatesEditor.components.logicalSwitcher\\n              @forceDisabledTooltipContent={{logicalSwitcherTooltip}}\\n              @isForceDisabled={{and\\n              predicateGroup.isAndMode\\n              (gt predicatesEditor.predicates.length orFilterLimit)\\n            }}\\n              @items={{logicalSwitcherItems}}\\n              @isOneLine={{true}}\\n              class=\\\"u__left u__mb__5 users-and-companies__predicates-editor__connection-switcher\\\"\\n              @mouseEnter={{action (mut connectionSwitcherHovered) true}}\\n              @mouseLeave={{action (mut connectionSwitcherHovered) false\\n            }} as |logicalSwitcher|\\n            >\\n              <div\\n                class=\\\"users-and-companies__predicates-editor__connection-switcher-label u__pointer-cursor {{if logicalSwitcher.dropdownIsOpen \\\"o__active\\\"}} {{if logicalSwitcher.isDisabled \\\"o__disabled\\\"}}\\\"\\n                data-test-switch-connection-button\\n              >\\n                {{logicalSwitcher.label}}\\n              </div>\\n            </predicatesEditor.components.logicalSwitcher>\\n          {{/if}}\\n        {{/if}}\\n        {{#if predicate.canBeGrouped}}\\n          <predicatesEditor.components.filterGroupEditor\\n            data-test-filter-group={{index}}\\n            @index={{index}}\\n            @isDisabled={{@isDisabled}}\\n            @hideAddButton={{@hideAddFilterGroupButton}}\\n            @predicate={{predicate}}\\n            @predicateContext={{@predicateContext}}\\n            @addFilterTooltip={{addFilterTooltip}}\\n            @logicalSwitcherTooltip={{logicalSwitcherTooltip}}\\n            @orFilterLimit={{orFilterLimit}}\\n            @disabledAttributeIdentifiers={{groupAttributePickerDisabledIdentifiers}}\\n            @attributePickerItemComponent=\\\"ic-attribute-item-with-user-event\\\"\\n            @attributePickerFooterActions={{if\\n              canUseCdaCreator\\n              (hash\\n                text=\\\"New attribute\\\" icon=\\\"new\\\" action=(action \\\"showNewDataModal\\\")\\n              )\\n            }}\\n          />\\n        {{else}}\\n          <predicatesEditor.components.predicateEditor\\n            class=\\\"u__left u__mb__5\\\"\\n            @index={{index}}\\n            @predicate={{predicate}}\\n            @isOneLine={{true}}\\n            @predicateContext={{@predicateContext}}\\n          />\\n        {{/if}}\\n      {{/each}}\\n    {{/if}}\\n  </div>\\n  {{#if (gt predicatesEditor.totalNumberOfFilters 4)}}\\n    <span\\n      class=\\\"u__left users-and-companies__predicates-editor__hide-filters {{unless collapsed \\\"u__ml__15\\\"}} {{if @isDisabled \\\"opacity-50\\\"}}\\\"\\n    >\\n      <a\\n        class=\\\"btn__tertiary__deemphasized pt-px pb-px\\\"\\n        onclick={{action \\\"toggleCollapsedState\\\"}}\\n        data-test-toggle-hidden-filters\\n      >\\n        {{#if collapsed}}\\n          {{pluralize predicatesEditor.totalNumberOfFilters \\\"hidden filter\\\"}}\\n        {{else}}\\n          Hide filters\\n        {{/if}}\\n      </a>\\n    </span>\\n  {{/if}}\\n  {{!-- attributePickerOpener: allows consumers to customise the \\\"add filter\\\" / \\\"add rule\\\" button --}}\\n  {{yield\\n    (hash\\n      attributePickerOpener=(component\\n        predicatesEditor.components.attributePickerOpener\\n        class=(if\\n          predicatesEditor.totalNumberOfFilters\\n          \\\"users-and-companies__predicates-editor__add-filter u__ml__15 u__left\\\"\\n          \\\"users-and-companies__predicates-editor__add-filter u__left\\\"\\n        )\\n        attributeItemComponent=\\\"ic-attribute-item-with-user-event\\\"\\n        disabledTooltipContent=addFilterTooltip\\n        disabledAttributeIdentifiers=attributePickerDisabledIdentifiers\\n        isForceDisabled=(or\\n          @isDisabled\\n          (and\\n            predicateGroup.isOrMode\\n            (gte predicatesEditor.predicates.length orFilterLimit)\\n          )\\n        )\\n        footerActions=(if\\n          canUseCdaCreator\\n          (hash\\n            text=\\\"New attribute\\\" icon=\\\"new\\\" action=(action \\\"showNewDataModal\\\")\\n          )\\n        )\\n      )\\n    )\\n  }}\\n</Predicates::PredicatesEditor>\\n\",\"moduleName\":\"embercom/components/users-and-companies/rules-editor.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users-and-companies/rules-editor.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { readOnly, not, and, union } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { copy } from 'ember-copy';\nimport { assert } from '@ember/debug';\n\nexport default Component.extend({\n  tagName: '',\n  connectionSwitcherHovered: false,\n  segmentViewCollapsedService: service(),\n  collapsed: readOnly('segmentViewCollapsedService.collapsed'),\n  notCollapsed: not('collapsed'),\n  attributeDropdownFilterPlaceholder: computed(\n    'showUserData',\n    'app.companiesActive',\n    'predicateGroup.userType',\n    function() {\n      let result = 'Search ';\n      if (this.showUserData) {\n        result += 'people ';\n      }\n      if (this.showUserData && this.app.companiesActive) {\n        result += 'and ';\n      }\n      if (this.app.companiesActive) {\n        result += 'company ';\n      }\n      result += 'data';\n      return result;\n    },\n  ),\n  logicalSwitcherItems: [\n    {\n      text: 'and',\n      value: 'and',\n    },\n    {\n      text: 'or',\n      value: 'or',\n    },\n  ],\n  numberOfFiltersToDisplayWhenCollapsed: 1,\n  numberOfFiltersAtWhichToDisplayHideFilterButton: 5,\n  intercomEventService: service(),\n  showUserData: true,\n  appService: service(),\n  attributeService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  app: readOnly('appService.app'),\n  init() {\n    this._super(...arguments);\n    assert(\n      `The predicateGroup must have a user predicate if showUserSwitcher is true. predicateGroup: ${JSON.stringify(\n        this.predicateGroup.serialize(),\n      )}`,\n      !this.showUserSwitcher || (this.showUserSwitcher && this.predicateGroup.userPredicate),\n    );\n  },\n  canUseCdaCreator: and('app.currentAdmin.hasProductAccessForCurrentApp', 'showUserData'),\n  // Note: @pat - App attributes are loaded on page load but if we want to dynamically track updates to these models over the lifetime of the app and update user/companyAttributes, we should track specific properties on the models instead.\n  userAttributes: readOnly('attributeService.filterableUserAttributesMaybeWithSegmentsAndTags'),\n  companyAttributes: readOnly(\n    'attributeService.filterableCompanyAttributesMaybeWithPlansSegmentsAndTags',\n  ),\n  visibilitySettings: readOnly('attributeService.attributeSettings'),\n  priorityUserAttributes: computed('userAttributes.[]', 'visibilitySettings.[]', function() {\n    return this.userAttributes.filter(\n      a => a.requiredFilter || this.visibilitySettings.findBy('attribute', a.identifier),\n    );\n  }),\n  sortedUserAttributes: union('priorityUserAttributes', 'userAttributes'),\n  attributeGroupList: computed(\n    'app.companiesActive',\n    'predicateGroup.userType',\n    'userAttributes.[]',\n    'companyAttributes.[]',\n    'showUserData',\n    'invalidAttributes',\n    function() {\n      let groups = [];\n      if (this.extraAttributeGroups) {\n        groups.addObjects(this.extraAttributeGroups);\n      }\n      if (this.showUserData) {\n        groups.push({\n          heading: 'People data',\n          attributes: this.sortedUserAttributes,\n        });\n      }\n      if (this.get('app.companiesActive')) {\n        groups.push({\n          heading: 'Company data',\n          attributes: this.companyAttributes,\n        });\n      }\n      if (this.app.canUseContentEvents) {\n        groups = [...groups, ...this.attributeService.attributeGroupListForContentEvents];\n      }\n      if (this.invalidAttributes) {\n        groups.forEach(group => {\n          group.attributes = group.attributes.filter(\n            attribute => !this.invalidAttributes.includes(attribute.identifier),\n          );\n        });\n      }\n      return groups;\n    },\n  ),\n  orFilterLimit: 10,\n  logicalSwitcherTooltip: `You have too many filters to switch to 'or' (the limit is 10). Remove a few first.`,\n  addFilterTooltip: `You can have up to 10 filters connected with 'or'. Remove a few, or switch to 'and'.`,\n  actions: {\n    showNewDataModal() {\n      if (this.get('app.canUseVisualEventsCreator')) {\n        this.modalService.openModal('apps/app/modals/create-new-data');\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'opened',\n          object: 'new_data_modal',\n        });\n      } else {\n        this.modalService.openModal('apps/app/settings/modals/attribute-details', {\n          allowArchival: false,\n        });\n      }\n    },\n    toggleCollapsedState() {\n      this.segmentViewCollapsedService.toggle();\n    },\n    proxiedOnUpdate(predicates) {\n      this.set('predicateGroup.predicates', copy(predicates));\n      this.segmentViewCollapsedService.expand();\n      let onUpdate = this.onUpdate;\n      if (typeof onUpdate === 'function') {\n        onUpdate(...arguments);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<LinkTo\\n  @route=\\\"apps.app.users.segments.segment\\\"\\n  @model=\\\"all-users\\\"\\n  @query={{hash searchTerm=searchTerm}}\\n  class=\\\"tabs__tab\\\"\\n  @activeClass=\\\"o__selected\\\"\\n>\\n  Users\\n</LinkTo>\\n<LinkTo\\n  @route=\\\"apps.app.users.segments.segment\\\"\\n  @model=\\\"all-leads\\\"\\n  @query={{hash searchTerm=searchTerm}}\\n  class=\\\"tabs__tab\\\"\\n  @activeClass=\\\"o__selected\\\"\\n>\\n  Leads\\n</LinkTo>\\n<LinkTo\\n  @route=\\\"apps.app.companies.segments.segment\\\"\\n  @model=\\\"all\\\"\\n  @query={{hash searchTerm=searchTerm}}\\n  class=\\\"tabs__tab\\\"\\n  @activeClass=\\\"o__selected\\\"\\n>\\n  Companies\\n</LinkTo>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<LinkTo\\n  @route=\\\"apps.app.users.segments.segment\\\"\\n  @model=\\\"all-users\\\"\\n  @query={{hash searchTerm=searchTerm}}\\n  class=\\\"tabs__tab\\\"\\n  @activeClass=\\\"o__selected\\\"\\n>\\n  Users\\n</LinkTo>\\n<LinkTo\\n  @route=\\\"apps.app.users.segments.segment\\\"\\n  @model=\\\"all-leads\\\"\\n  @query={{hash searchTerm=searchTerm}}\\n  class=\\\"tabs__tab\\\"\\n  @activeClass=\\\"o__selected\\\"\\n>\\n  Leads\\n</LinkTo>\\n<LinkTo\\n  @route=\\\"apps.app.companies.segments.segment\\\"\\n  @model=\\\"all\\\"\\n  @query={{hash searchTerm=searchTerm}}\\n  class=\\\"tabs__tab\\\"\\n  @activeClass=\\\"o__selected\\\"\\n>\\n  Companies\\n</LinkTo>\\n\",\"moduleName\":\"embercom/components/users-and-companies/search-tabs.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users-and-companies/search-tabs.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, not, and, setDiff } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { capitalize } from '@ember/string';\nimport { A } from '@ember/array';\nimport { computed } from '@ember/object';\nimport { rejectBy } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  segmentViewCollapsedService: service(),\n  collapsed: readOnly('segmentViewCollapsedService.collapsed'),\n  notCollapsed: not('collapsed'),\n  logicalSwitcherItems: [\n    {\n      text: 'that match all filters',\n      value: 'and',\n    },\n    {\n      text: 'that match any filters',\n      value: 'or',\n    },\n  ],\n  numberOfFiltersToDisplayWhenCollapsed: 1,\n  numberOfFiltersAtWhichToDisplayHideFilterButton: 5,\n  intercomEventService: service(),\n  classNames: 'layout__box o__has-rows o__flexes-to-1',\n  isUserSegment: true,\n  appService: service(),\n  attributeService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  app: readOnly('appService.app'),\n  canUseCdaCreator: and('app.currentAdmin.hasProductAccessForCurrentApp', 'isUserSegment'),\n  // Note: @pat - App attributes are loaded on page load but if we want to dynamically track updates to these models over the lifetime of the app and update user/companyAttributes, we should track specific properties on the models instead.\n  userAttributes: rejectBy(\n    'attributeService.filterableUserAttributesMaybeWithSegmentsAndTags',\n    'isUntrackedCda',\n    true,\n  ),\n  companyAttributes: readOnly(\n    'attributeService.filterableCompanyAttributesMaybeWithPlansSegmentsAndTags',\n  ),\n  priorityUserAttributes: computed(\n    'userAttributes.[]',\n    'attributeService.attributeSettings.[]',\n    function() {\n      let attributes = this.userAttributes;\n      let attributeSettings = this.get('attributeService.attributeSettings');\n      return attributes.reject(\n        attribute =>\n          !(\n            attributeSettings.findBy('attribute', attribute.get('identifier')) ||\n            attribute.get('requiredFilter')\n          ),\n      );\n    },\n  ),\n  secondaryUserAttributes: setDiff('userAttributes', 'priorityUserAttributes'),\n  sortedUserAttributes: computed(\n    'priorityUserAttributes.[]',\n    'secondaryUserAttributes.[]',\n    function() {\n      let firstSet = this.priorityUserAttributes;\n      let secondSet = this.secondaryUserAttributes;\n      return A(firstSet.toArray().concat(secondSet.toArray()));\n    },\n  ),\n  attributeGroupList: computed(\n    'app.companiesActive',\n    'segment.userType',\n    'userAttributes.[]',\n    'companyAttributes.[]',\n    'isUserSegment',\n    function() {\n      let groups = [];\n      if (this.isUserSegment) {\n        let segmentUserType = this.get('segment.userType');\n        let heading = segmentUserType ? `${capitalize(segmentUserType)} Data` : 'Data';\n        groups.push({\n          heading,\n          attributes: this.sortedUserAttributes,\n        });\n      }\n      if (this.get('app.companiesActive')) {\n        groups.push({\n          heading: 'Company Data',\n          attributes: this.companyAttributes,\n        });\n      }\n      return groups;\n    },\n  ),\n  orFilterLimit: 10,\n  logicalSwitcherTooltip: `You have too many filters to switch to 'Match any' (the limit is 10). Remove a few first.`,\n  addFilterTooltip: `You can have up to 10 filters that 'Match any' person. Remove a few, or switch to 'Match all'.`,\n  actions: {\n    showNewDataModal() {\n      if (this.get('app.canUseVisualEventsCreator')) {\n        this.modalService.openModal('apps/app/modals/create-new-data');\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'opened',\n          object: 'new_data_modal',\n        });\n      } else {\n        this.modalService.openModal('apps/app/settings/modals/attribute-details', {\n          allowArchival: false,\n        });\n      }\n    },\n    toggleCollapsedState() {\n      this.segmentViewCollapsedService.toggle();\n    },\n    proxiedOnUpdate() {\n      this.segmentViewCollapsedService.expand();\n      let onUpdate = this.onUpdate;\n      if (typeof onUpdate === 'function') {\n        onUpdate(...arguments);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<VerticalNavigationSearch\\n  @items={{tags}}\\n  @placeholderText=\\\"Search people, companies, tags…\\\"\\n  @searchString={{search.rawText}}\\n  data-test-search-users-and-companies={{true}}\\n  @resetSearch={{action \\\"resetSearch\\\"}}\\n  @doSearch={{doSearch}}\\n  @disabled={{disabled}}\\n  @updatedSearch={{true}} as |item|\\n>\\n  {{#if item.isStandardSearch}}\\n    <span class=\\\"nav__search__result__type\\\">\\n      {{ic-interface-icon iconForStandardSearch}} {{standardSearchObject}} for\\n    </span>\\n    \\\"\\n    {{item.name}}\\n    \\\"\\n  {{else}}\\n    <span class=\\\"nav__search__result__type\\\">\\n      {{ic-interface-icon \\\"tag\\\"}} Tag\\n    </span>\\n    {{item.name}}\\n  {{/if}}\\n</VerticalNavigationSearch>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<VerticalNavigationSearch\\n  @items={{tags}}\\n  @placeholderText=\\\"Search people, companies, tags…\\\"\\n  @searchString={{search.rawText}}\\n  data-test-search-users-and-companies={{true}}\\n  @resetSearch={{action \\\"resetSearch\\\"}}\\n  @doSearch={{doSearch}}\\n  @disabled={{disabled}}\\n  @updatedSearch={{true}} as |item|\\n>\\n  {{#if item.isStandardSearch}}\\n    <span class=\\\"nav__search__result__type\\\">\\n      {{ic-interface-icon iconForStandardSearch}} {{standardSearchObject}} for\\n    </span>\\n    \\\"\\n    {{item.name}}\\n    \\\"\\n  {{else}}\\n    <span class=\\\"nav__search__result__type\\\">\\n      {{ic-interface-icon \\\"tag\\\"}} Tag\\n    </span>\\n    {{item.name}}\\n  {{/if}}\\n</VerticalNavigationSearch>\\n\",\"moduleName\":\"embercom/components/users-and-companies/segment-search.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users-and-companies/segment-search.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport SegmentSearchComponent from 'embercom/components/segment-search-component';\n\nexport default SegmentSearchComponent.extend({\n  classNames: ['o__flexes-to-1'],\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if searchActive}}\\n  <div class=\\\"layout__box o__has-columns o__centers-vertically u__pad__20\\\">\\n    <a class=\\\"layout__box u__mr__15 text-gray\\\" {{action exitSearch}}>\\n      {{ic-interface-icon \\\"back\\\" solo=true}}\\n    </a>\\n    <UsersAndCompanies::SegmentSearch\\n      @tags={{tags}}\\n      @activeSegment={{segment}}\\n      @search={{searchModel}}\\n      @doSearch={{doSearch}}\\n    />\\n  </div>\\n{{else}}\\n  {{#let (if segment.is_predefined (sentence-case segment.name) segment.name) as |segmentName|}}\\n    <Common::HamburgerMenu>\\n      <div class=\\\"layout__box o__flexes-to-2\\\">\\n        <h1 class=\\\"t__h1 u__left\\\" data-test-campaigns-page-header>\\n          {{if segmentName segmentName \\\"Untitled segment\\\"}}\\n        </h1>\\n      </div>\\n      <div class=\\\"u__right\\\">\\n        <IcSelect @items={{groupList}} as |select|>\\n          <select.opener as |opener|>\\n            <IcButton\\n              data-test-new-people-dropdown=\\\"true\\\"\\n              @label=\\\"New users or leads\\\"\\n              @type=\\\"primary\\\"\\n              @isDropdownOpener={{true}}\\n              @icon=\\\"multiple-people\\\"\\n              @isForcedActive={{opener.dropdownIsOpen}}\\n              @onClick={{action \\\"dropdownClicked\\\"}}\\n            />\\n          </select.opener>\\n        </IcSelect>\\n      </div>\\n    </Common::HamburgerMenu>\\n  {{/let}}\\n{{/if}}\\n<Modal::CreateUser @showUserCreateModal={{showUserCreateModal}} />\\n<Modal::CreateLead @showLeadCreateModal={{showLeadCreateModal}} />\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if searchActive}}\\n  <div class=\\\"layout__box o__has-columns o__centers-vertically u__pad__20\\\">\\n    <a class=\\\"layout__box u__mr__15 text-gray\\\" {{action exitSearch}}>\\n      {{ic-interface-icon \\\"back\\\" solo=true}}\\n    </a>\\n    <UsersAndCompanies::SegmentSearch\\n      @tags={{tags}}\\n      @activeSegment={{segment}}\\n      @search={{searchModel}}\\n      @doSearch={{doSearch}}\\n    />\\n  </div>\\n{{else}}\\n  {{#let (if segment.is_predefined (sentence-case segment.name) segment.name) as |segmentName|}}\\n    <Common::HamburgerMenu>\\n      <div class=\\\"layout__box o__flexes-to-2\\\">\\n        <h1 class=\\\"t__h1 u__left\\\" data-test-campaigns-page-header>\\n          {{if segmentName segmentName \\\"Untitled segment\\\"}}\\n        </h1>\\n      </div>\\n      <div class=\\\"u__right\\\">\\n        <IcSelect @items={{groupList}} as |select|>\\n          <select.opener as |opener|>\\n            <IcButton\\n              data-test-new-people-dropdown=\\\"true\\\"\\n              @label=\\\"New users or leads\\\"\\n              @type=\\\"primary\\\"\\n              @isDropdownOpener={{true}}\\n              @icon=\\\"multiple-people\\\"\\n              @isForcedActive={{opener.dropdownIsOpen}}\\n              @onClick={{action \\\"dropdownClicked\\\"}}\\n            />\\n          </select.opener>\\n        </IcSelect>\\n      </div>\\n    </Common::HamburgerMenu>\\n  {{/let}}\\n{{/if}}\\n<Modal::CreateUser @showUserCreateModal={{showUserCreateModal}} />\\n<Modal::CreateLead @showLeadCreateModal={{showLeadCreateModal}} />\\n\",\"moduleName\":\"embercom/components/users-and-companies/segment-title.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users-and-companies/segment-title.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-side-effects */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport ModalActions from 'embercom/controllers/mixins/users-and-companies/modal-actions';\n\nexport default Component.extend(ModalActions, {\n  intercomEventService: service(),\n  appService: service(),\n\n  groupList: computed(function() {\n    let items = [\n      {\n        text: 'Create new user',\n        icon: 'new',\n        value: 'create_user',\n        onSelectItem: () => this.send('showCreateUserModal'),\n      },\n      {\n        text: 'Create new lead',\n        icon: 'new',\n        value: 'create_lead',\n        onSelectItem: () => this.send('showCreateLeadModal'),\n      },\n      {\n        text: `Import people`,\n        icon: 'filled-cloud-upload',\n        value: 'import',\n        onSelectItem: () => this.send('startImport'),\n      },\n    ];\n\n    return [{ items }];\n  }),\n  trackEvent(objectType) {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: objectType,\n      place: 'user_list',\n      action: 'selected',\n    });\n  },\n\n  actions: {\n    showCreateUserModal() {\n      this.trackEvent('user');\n      this.set('showUserCreateModal', true);\n    },\n    showCreateLeadModal() {\n      this.trackEvent('lead');\n      this.set('showLeadCreateModal', true);\n    },\n    startImport() {\n      this.trackEvent('import');\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', 'apps/app/modals/import-modal', this.app);\n    },\n    dropdownClicked() {\n      this.trackEvent('add-people-dropdown');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @user.hasDisplayableCompany}}\\n  <span class=\\\"inline-flex max-w-full\\\">\\n    <span class=\\\"flex-initial truncate\\\">\\n      {{#unless @hideIcon}}\\n        {{ic-interface-icon \\\"company\\\" solo=true}}\\n      {{/unless}}\\n      <a href={{href-to 'apps.app.companies.company.users' @user.mostRecentCompany.id}} class=\\\"u__all-pointer-events t__solo-link\\\"><span data-test-company-name>{{or @user.mostRecentCompany.name @user.mostRecentCompany.id}}</span></a>\\n    </span>\\n    {{#if @user.otherCompanies}}\\n      <span class=\\\"flex-auto flex-shrink-0 whitespace-no-wrap {{@othersWrapperClass}}\\\">\\n        &nbsp;and\\n        <a data-test-other-companies class=\\\"u__all-pointer-events t__solo-link\\\" href=\\\"{{this.othersUrl}}\\\">{{@user.otherCompanies.length}} {{inflector-helper 'other' @user.otherCompanies.length}}\\n  </a>\\n      </span>\\n    {{/if}}\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{#if @user.hasDisplayableCompany}}\\n  <span class=\\\"inline-flex max-w-full\\\">\\n    <span class=\\\"flex-initial truncate\\\">\\n      {{#unless @hideIcon}}\\n        {{ic-interface-icon \\\"company\\\" solo=true}}\\n      {{/unless}}\\n      <a href={{href-to 'apps.app.companies.company.users' @user.mostRecentCompany.id}} class=\\\"u__all-pointer-events t__solo-link\\\"><span data-test-company-name>{{or @user.mostRecentCompany.name @user.mostRecentCompany.id}}</span></a>\\n    </span>\\n    {{#if @user.otherCompanies}}\\n      <span class=\\\"flex-auto flex-shrink-0 whitespace-no-wrap {{@othersWrapperClass}}\\\">\\n        &nbsp;and\\n        <a data-test-other-companies class=\\\"u__all-pointer-events t__solo-link\\\" href=\\\"{{this.othersUrl}}\\\">{{@user.otherCompanies.length}} {{inflector-helper 'other' @user.otherCompanies.length}}\\n  </a>\\n      </span>\\n    {{/if}}\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/users-companies-with-icon-pattern.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users-companies-with-icon-pattern.hbs\"}});\nimport Component from '@glimmer/component';\nimport B64FilterParamEncoder from 'embercom/vendor/intercom/b64-filter-param-encoder';\n\nexport default class UsersCompaniesWithIconPattern extends Component {\n  get othersUrl() {\n    return B64FilterParamEncoder.filterUrlFromPredicates(\n      this.args.user.mostRecentCompany,\n      this.asPredicates,\n    );\n  }\n\n  get asPredicates() {\n    return {\n      predicates: [\n        {\n          type: 'anonymous',\n          attribute: 'anonymous',\n          comparison: false,\n          value: undefined,\n        },\n        {\n          type: 'or',\n          predicates: this.companyPredicate,\n        },\n      ],\n    };\n  }\n\n  get companyPredicate() {\n    return this.args.user.companies.map(function(company) {\n      return {\n        attribute: 'company.remote_company_id',\n        type: 'string',\n        comparison: 'eq',\n        value: company.remote_company_id,\n      };\n    });\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<People::AttributeAndEventDescriptionTooltip\\n  @attribute={{attribute}}\\n  class=\\\"kv__key text-gray u__default-cursor\\\"\\n/>\\n<span class=\\\"kv__value\\\">\\n  {{component\\n    attributeComponentPath\\n    inInbox=inInbox\\n    attribute=attribute\\n    label=formattedName\\n    spaceSeparated=spaceSeparated\\n    showTooltip=true\\n    userOrCompany=userOrCompany\\n  }}\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<People::AttributeAndEventDescriptionTooltip\\n  @attribute={{attribute}}\\n  class=\\\"kv__key text-gray u__default-cursor\\\"\\n/>\\n<span class=\\\"kv__value\\\">\\n  {{component\\n    attributeComponentPath\\n    inInbox=inInbox\\n    attribute=attribute\\n    label=formattedName\\n    spaceSeparated=spaceSeparated\\n    showTooltip=true\\n    userOrCompany=userOrCompany\\n  }}\\n</span>\\n\",\"moduleName\":\"embercom/components/users/profile/attribute-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users/profile/attribute-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { reads, match, and } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport ProfileAttribute from 'embercom/components/mixins/profile-attribute';\n\nexport default Component.extend(ProfileAttribute, {\n  classNames: ['kv__pair', 'u__cf', 'o__in-list'],\n  attributeBindings: ['dataKey:data-key'],\n  dataKey: reads('attribute.identifier'),\n  valueTooltipText: '',\n  inInbox: false,\n  hasCompanyPrefix: match('attribute.name', /^Company */),\n  onCompanyWithPrefix: and('hasCompanyPrefix', 'onCompany'),\n  formattedName: computed('onCompanyWithPrefix', 'attribute.name', function() {\n    if (this.onCompanyWithPrefix === true) {\n      return this.get('attribute.name')\n        .replace('Company ', '')\n        .capitalize();\n    }\n    return this.get('attribute.name');\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"profile__tooltip\\\">\\n  {{data.valueTooltipText}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"profile__tooltip\\\">\\n  {{data.valueTooltipText}}\\n</div>\\n\",\"moduleName\":\"embercom/components/users/profile/attribute-tooltip.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users/profile/attribute-tooltip.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<People::AttributeAndEventDescriptionTooltip\\n  @attribute={{attribute}}\\n  class=\\\"kv__key text-gray u__default-cursor\\\"\\n/>\\n{{#if (not isEventAttributeDisabled)}}\\n  <span class=\\\"kv__value\\\">\\n    <IcTooltip class=\\\"u__right\\\" as |t|>\\n      <t.opener>\\n        <a\\n          data-test-attribute-visibility-toggle-button\\n          class=\\\"btn__tertiary__deemphasized\\\"\\n          onClick={{action toggleAttributeVisibility}}\\n          onmouseenter={{set this.isHovering true}}\\n          onmouseleave={{set this.isHovering false}}\\n        >\\n          {{ic-interface-icon\\n            (if this.isHovering this.visibilityIconTypeOnHover this.visibilityIconType)\\n            solo=true\\n          }}\\n        </a>\\n      </t.opener>\\n      <t.content>\\n        {{this.tooltipText}}\\n      </t.content>\\n    </IcTooltip>\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<People::AttributeAndEventDescriptionTooltip\\n  @attribute={{attribute}}\\n  class=\\\"kv__key text-gray u__default-cursor\\\"\\n/>\\n{{#if (not isEventAttributeDisabled)}}\\n  <span class=\\\"kv__value\\\">\\n    <IcTooltip class=\\\"u__right\\\" as |t|>\\n      <t.opener>\\n        <a\\n          data-test-attribute-visibility-toggle-button\\n          class=\\\"btn__tertiary__deemphasized\\\"\\n          onClick={{action toggleAttributeVisibility}}\\n          onmouseenter={{set this.isHovering true}}\\n          onmouseleave={{set this.isHovering false}}\\n        >\\n          {{ic-interface-icon\\n            (if this.isHovering this.visibilityIconTypeOnHover this.visibilityIconType)\\n            solo=true\\n          }}\\n        </a>\\n      </t.opener>\\n      <t.content>\\n        {{this.tooltipText}}\\n      </t.content>\\n    </IcTooltip>\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/users/profile/attribute-visibility-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users/profile/attribute-visibility-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { debounce } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport { ternary, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport ProfileAttribute from 'embercom/components/mixins/profile-attribute';\nimport ENV from 'embercom/config/environment';\n\nexport default Component.extend(ProfileAttribute, {\n  classNames: ['kv__pair', 'u__cf'],\n  classNameBindings: ['inEventList:o__in-list-editable-events:o__in-list'],\n\n  notificationsService: service(),\n  appService: service(),\n  intercomEventService: service(),\n\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n\n  inEventList: false,\n\n  save() {\n    this.admin.save().catch(this._handleSaveError.bind(this));\n  },\n  toggleAttributeVisibility() {\n    let newAttributeVisibility = !this.attributeVisibleNow;\n    if (this.attribute.isUserEvent) {\n      this._toggleEventAttributeVisibility(newAttributeVisibility);\n    } else if (this.attribute.isCompany) {\n      this._toggleCompanyAttributeVisibility(newAttributeVisibility);\n    } else {\n      this._toggleUserAttributeVisibility(newAttributeVisibility);\n    }\n    this.save();\n  },\n  tooltipText: ternaryToProperty('inEventList', 'eventTooltipText', 'attributeTooltipText'),\n  eventTooltipText: ternary('attributeVisibleNow', 'Hide event', 'Show event'),\n  attributeTooltipText: ternary('attributeVisibleNow', 'Hide detail', 'Show detail'),\n\n  visibilityIconType: ternary('attributeVisibleNow', 'visible', 'hidden'),\n  visibilityIconTypeOnHover: ternary('attributeVisibleNow', 'hidden', 'visible'),\n  isEventAttributeDisabled: computed(\n    'attribute.isUserEvent',\n    'admin.visible_user_event_ids.length',\n    function() {\n      return (\n        this.attribute.isUserEvent &&\n        this.attributeVisibleNow &&\n        this.admin.visible_user_event_ids &&\n        this.admin.visible_user_event_ids.length <= 1\n      );\n    },\n  ),\n  _toggleCompanyAttributeVisibility(newAttributeVisiblity) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'toggle_visibility',\n      object: `inbox_sidebar_company_details`,\n      context: newAttributeVisiblity ? 'show_attribute' : 'hide_attribute',\n      attribute_identifier: this.attribute.identifier,\n    });\n\n    if (newAttributeVisiblity) {\n      this.admin.addAttributeIdToAdminsVisibleCompanyAttributeIds(this.attribute.identifier);\n    } else {\n      this.admin.removeAttributeIdFromAdminsVisibleCompanyAttributeIds(this.attribute.identifier);\n    }\n  },\n  _toggleUserAttributeVisibility(newAttributeVisiblity) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'toggle_visibility',\n      object: `inbox_sidebar_user_details`,\n      context: newAttributeVisiblity ? 'show_attribute' : 'hide_attribute',\n      attribute_identifier: this.attribute.identifier,\n    });\n\n    if (newAttributeVisiblity) {\n      this.admin.addAttributeIdToAdminsVisibleAttributeIds(this.attribute.identifier);\n    } else {\n      this.admin.removeAttributeIdFromAdminsVisibleAttributeIds(this.attribute.identifier);\n    }\n  },\n  _toggleEventAttributeVisibility(newAttributeVisiblity) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'toggle_visibility',\n      object: `inbox_sidebar_event_details`,\n      context: newAttributeVisiblity ? 'show_attribute' : 'hide_attribute',\n      attribute_identifier: this.attribute.identifier,\n    });\n\n    if (newAttributeVisiblity) {\n      this.admin.addEventIdToAdminsVisibleUserEventIds(this.attribute.identifier);\n    } else {\n      this.admin.removeEventIdFromAdminsVisibleUserEventIds(this.attribute.identifier);\n    }\n  },\n  _handleSaveError() {\n    this.notificationsService.notifyError('Something went wrong. Please try again');\n  },\n  actions: {\n    toggleAttributeVisibility() {\n      debounce(this, this.toggleAttributeVisibility, ENV.APP._250MS);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"kv__pair u__cf o__in-list\\\">\\n  <span class=\\\"kv__key\\\">\\n    <span class=\\\"text-gray\\\">\\n      {{ic-interface-icon profileName}} {{camelizedProfileName}}\\n    </span>\\n  </span>\\n  <span class=\\\"kv__value\\\">\\n    {{#if fetchProfile.isRunning}}\\n      <div\\n        class=\\\"flex items-center\\\"\\n        data-test-crm-fetching-profiles-indicator\\n      >\\n        <IcLoadingIndicator @size=\\\"tiny\\\" @inline={{true}} />\\n        <div class=\\\"flex items-start__right text-gray\\\">\\n          Refreshing...\\n        </div>\\n      </div>\\n    {{else if profile.url}}\\n      {{#if isMultipleLeads}}\\n        <a\\n          href=\\\"{{profile.url}}\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n          class=\\\"t__solo-link\\\"\\n          onclick={{action \\\"trackExternalProfileLinkClick\\\"}}\\n          data-test-crm-multiple-profiles\\n        >{{leadMatchCount}} matches for {{leadEmail}}</a>\\n      {{else}}\\n        {{#if hasBlock}}\\n          {{yield (hash profile=profile)}}\\n        {{else}}\\n          <IcTooltip @fullBleed={{true}} as |t|>\\n            <t.opener>\\n              <a\\n                href=\\\"{{profile.url}}\\\"\\n                target=\\\"_blank\\\"\\n                class=\\\"t__solo-link u__one-truncated-line\\\"\\n                rel=\\\"noopener noreferrer\\\"\\n                onclick={{action \\\"trackExternalProfileLinkClick\\\"}}\\n                data-test-crm-profile-url\\n                data-test-crm-profile-hovercard-opener\\n              >{{leadText}}</a>\\n              </t.opener>\\n            <t.content class=\\\"user__hovercard__popover\\\">\\n              {{component (concat \\\"tooltips/crm/\\\" profileName \\\"-hovercard\\\")\\n                profile=profile\\n                hasExtraDeals=hasExtraDeals\\n                extraDealCount=extraDealCount\\n              }}\\n            </t.content>\\n          </IcTooltip>\\n        {{/if}}\\n      {{/if}}\\n    {{else if createProfile.isRunning}}\\n      <div\\n        class=\\\"flex items-center\\\"\\n        data-test-crm-creating-profiles-indicator\\n      >\\n        <IcLoadingIndicator @size=\\\"tiny\\\" @inline={{true}} />\\n        <div class=\\\"flex items-start__right text-gray\\\">\\n          Creating...\\n        </div>\\n      </div>\\n    {{else}}\\n      {{#if user.hasNoEmail}}\\n        <IcTooltip @isInteractive={{true}} as |context|>\\n          <context.opener>\\n            <a\\n              class=\\\"btn__tertiary__deemphasized o__disabled t__no-decoration\\\"\\n              data-test-crm-profile-create-lead-button\\n              {{tooltip content=(concat \\\"To create this lead in \\\" camelizedProfileName \\\", first add an email for them in Intercom\\\") isDisabled=user.hasEmailPresent}}\\n              {{action (perform createProfile)}}\\n            >\\n              {{#if isHubspotProfileName}}\\n                {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Create contact\\n              {{else if isPipedriveProfileName}}\\n                {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Create deal\\n              {{else}}\\n                {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Create lead\\n              {{/if}}\\n            </a>\\n          </context.opener>\\n          <context.content>\\n            The lead must have an email before being created in {{camelizedProfileName}}\\n          </context.content>\\n        </IcTooltip>\\n      {{else}}\\n        <a\\n          class=\\\"btn__tertiary__deemphasized t__no-decoration\\\"\\n          data-test-crm-profile-create-lead-button\\n          {{action (perform createProfile)}}\\n          {{tooltip content=(concat \\\"To create this lead in \\\" camelizedProfileName \\\", first add an email for them in Intercom\\\") isDisabled=user.hasEmailPresent}}\\n        >\\n          {{#if isHubspotProfileName}}\\n            {{#if shouldInformUserOfHubspotApp}}\\n              <IcTooltip data-test-hubspot-tooltip-opener as |t|>\\n                <t.opener>\\n                  No contact found\\n                </t.opener>\\n                <t.content data-test-hubspot-tooltip-content>\\n                  {{#if conversation}}\\n                    Use our HubSpot app to create contacts. Add it by clicking \\\"Customize\\\" at the top of this sidebar.\\n                  {{else}}\\n                    To create this contact in HubSpot, please use the HubSpot app in the Inbox\\n                  {{/if}}\\n               </t.content>\\n              </IcTooltip>\\n            {{else}}\\n              {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Create contact\\n            {{/if}}\\n          {{else if isPipedriveProfileName}}\\n            {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Create deal\\n          {{else}}\\n            {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Create lead\\n          {{/if}}\\n        </a>\\n      {{/if}}\\n    {{/if}}\\n  </span>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"kv__pair u__cf o__in-list\\\">\\n  <span class=\\\"kv__key\\\">\\n    <span class=\\\"text-gray\\\">\\n      {{ic-interface-icon profileName}} {{camelizedProfileName}}\\n    </span>\\n  </span>\\n  <span class=\\\"kv__value\\\">\\n    {{#if fetchProfile.isRunning}}\\n      <div\\n        class=\\\"flex items-center\\\"\\n        data-test-crm-fetching-profiles-indicator\\n      >\\n        <IcLoadingIndicator @size=\\\"tiny\\\" @inline={{true}} />\\n        <div class=\\\"flex items-start__right text-gray\\\">\\n          Refreshing...\\n        </div>\\n      </div>\\n    {{else if profile.url}}\\n      {{#if isMultipleLeads}}\\n        <a\\n          href=\\\"{{profile.url}}\\\"\\n          target=\\\"_blank\\\"\\n          rel=\\\"noopener noreferrer\\\"\\n          class=\\\"t__solo-link\\\"\\n          onclick={{action \\\"trackExternalProfileLinkClick\\\"}}\\n          data-test-crm-multiple-profiles\\n        >{{leadMatchCount}} matches for {{leadEmail}}</a>\\n      {{else}}\\n        {{#if hasBlock}}\\n          {{yield (hash profile=profile)}}\\n        {{else}}\\n          <IcTooltip @fullBleed={{true}} as |t|>\\n            <t.opener>\\n              <a\\n                href=\\\"{{profile.url}}\\\"\\n                target=\\\"_blank\\\"\\n                class=\\\"t__solo-link u__one-truncated-line\\\"\\n                rel=\\\"noopener noreferrer\\\"\\n                onclick={{action \\\"trackExternalProfileLinkClick\\\"}}\\n                data-test-crm-profile-url\\n                data-test-crm-profile-hovercard-opener\\n              >{{leadText}}</a>\\n              </t.opener>\\n            <t.content class=\\\"user__hovercard__popover\\\">\\n              {{component (concat \\\"tooltips/crm/\\\" profileName \\\"-hovercard\\\")\\n                profile=profile\\n                hasExtraDeals=hasExtraDeals\\n                extraDealCount=extraDealCount\\n              }}\\n            </t.content>\\n          </IcTooltip>\\n        {{/if}}\\n      {{/if}}\\n    {{else if createProfile.isRunning}}\\n      <div\\n        class=\\\"flex items-center\\\"\\n        data-test-crm-creating-profiles-indicator\\n      >\\n        <IcLoadingIndicator @size=\\\"tiny\\\" @inline={{true}} />\\n        <div class=\\\"flex items-start__right text-gray\\\">\\n          Creating...\\n        </div>\\n      </div>\\n    {{else}}\\n      {{#if user.hasNoEmail}}\\n        <IcTooltip @isInteractive={{true}} as |context|>\\n          <context.opener>\\n            <a\\n              class=\\\"btn__tertiary__deemphasized o__disabled t__no-decoration\\\"\\n              data-test-crm-profile-create-lead-button\\n              {{tooltip content=(concat \\\"To create this lead in \\\" camelizedProfileName \\\", first add an email for them in Intercom\\\") isDisabled=user.hasEmailPresent}}\\n              {{action (perform createProfile)}}\\n            >\\n              {{#if isHubspotProfileName}}\\n                {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Create contact\\n              {{else if isPipedriveProfileName}}\\n                {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Create deal\\n              {{else}}\\n                {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Create lead\\n              {{/if}}\\n            </a>\\n          </context.opener>\\n          <context.content>\\n            The lead must have an email before being created in {{camelizedProfileName}}\\n          </context.content>\\n        </IcTooltip>\\n      {{else}}\\n        <a\\n          class=\\\"btn__tertiary__deemphasized t__no-decoration\\\"\\n          data-test-crm-profile-create-lead-button\\n          {{action (perform createProfile)}}\\n          {{tooltip content=(concat \\\"To create this lead in \\\" camelizedProfileName \\\", first add an email for them in Intercom\\\") isDisabled=user.hasEmailPresent}}\\n        >\\n          {{#if isHubspotProfileName}}\\n            {{#if shouldInformUserOfHubspotApp}}\\n              <IcTooltip data-test-hubspot-tooltip-opener as |t|>\\n                <t.opener>\\n                  No contact found\\n                </t.opener>\\n                <t.content data-test-hubspot-tooltip-content>\\n                  {{#if conversation}}\\n                    Use our HubSpot app to create contacts. Add it by clicking \\\"Customize\\\" at the top of this sidebar.\\n                  {{else}}\\n                    To create this contact in HubSpot, please use the HubSpot app in the Inbox\\n                  {{/if}}\\n               </t.content>\\n              </IcTooltip>\\n            {{else}}\\n              {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Create contact\\n            {{/if}}\\n          {{else if isPipedriveProfileName}}\\n            {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Create deal\\n          {{else}}\\n            {{ic-interface-icon \\\"new\\\" set=\\\"tiny\\\"}} Create lead\\n          {{/if}}\\n        </a>\\n      {{/if}}\\n    {{/if}}\\n  </span>\\n</div>\\n\",\"moduleName\":\"embercom/components/users/profile/crm-lead-profile-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users/profile/crm-lead-profile-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { equal, gt, readOnly, filterBy, and } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport Component from '@ember/component';\nimport { task } from 'ember-concurrency';\nimport {\n  templateString,\n  ternary,\n  valueOrDefault,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport DidChangeAttrs from 'ember-did-change-attrs';\nimport { inject as service } from '@ember/service';\nimport { isBlank, isEmpty } from '@ember/utils';\n\nconst CRM_PROFILE_NAME_MAPPINGS = {\n  salesforce: 'salesforce',\n  hubspot: 'hubspot',\n  marketo_enrichment: 'marketo',\n  pipedrive: 'pipedrive',\n};\n\nexport default Component.extend(DidChangeAttrs, {\n  intercomEventService: service(),\n  notificationsService: service(),\n  store: service(),\n  router: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  notificationDuration: 10000,\n  eventTrackingCreateAction: 'created',\n  eventTrackingVisitAction: 'clicked',\n  eventTrackingKey: templateString('${profileName}_lead'),\n  profileName: computed('profileType', function() {\n    return CRM_PROFILE_NAME_MAPPINGS[this.profileType];\n  }),\n  camelizedProfileName: computed('profileName', function() {\n    if (this.profileName === 'hubspot') {\n      return 'HubSpot'; // we don't want to just capitalize \"hubspot\". We want to capitalize both the H and the S.\n    }\n    return this.profileName.capitalize();\n  }),\n  isHubspotProfileName: equal('profileName', 'hubspot'),\n  isPipedriveProfileName: equal('profileName', 'pipedrive'),\n  leadOrDeal: ternary('isPipedriveProfileName', 'deal', 'lead'),\n  leadEmail: readOnly('user.email'),\n  leadMatchCount: valueOrDefault('profile.recordCount', 'Multiple'),\n  leadText: computed('profile.name', 'user.email', function() {\n    let name = this.get('profile.name');\n    return isBlank(name) ? this.get('user.email') : name;\n  }),\n  isMultipleLeads: filterBy('profile.reasons', 'type', 'MULTIPLE_LEADS'),\n  extraDealCount: computed('profile.dealCount', function() {\n    return this.get('profile.dealCount') - 1;\n  }),\n  hasExtraDeals: gt('extraDealCount', 0),\n  didChangeAttrsConfig: {\n    attrs: ['profileChangedAttribute'],\n  },\n  // We should allow customers to create HubSpot contacts through the External profile section only in user profiles\n  // https://github.com/intercom/intercom/issues/156674\n  shouldInformUserOfHubspotApp: and('isHubspotProfileName', 'conversation'),\n  didChangeAttrs(changes) {\n    this._super(...arguments);\n    if (changes.profileChangedAttribute) {\n      this.fetchProfile.perform();\n    }\n  },\n  didInsertElement() {\n    this._super(...arguments);\n    this.fetchProfile.perform();\n  },\n\n  redirectToSalesforceSettings() {\n    this.router.transitionTo('apps.app.appstore', {\n      queryParams: { app_package_code: 'salesforce-by-intercom' },\n    });\n  },\n\n  fetchProfile: task(function*() {\n    try {\n      let crmProfiles = yield this.store.query('crm-profile', {\n        user_id: this.get('user.id'),\n        profile_type: this.profileType,\n      });\n      let crmProfile = crmProfiles.get('firstObject');\n      this.set('profile', crmProfile);\n    } catch (e) {\n      this.set('profile', {});\n    }\n  }).drop(),\n  createProfile: task(function*() {\n    if (this.shouldInformUserOfHubspotApp) {\n      return;\n    }\n\n    if (isEmpty(this.get('user.email'))) {\n      return;\n    }\n\n    let profileName = this.camelizedProfileName;\n    let leadOrDeal = this.leadOrDeal;\n    try {\n      let conversationId = this.get('conversation.id');\n      let record =\n        conversationId && this.isPipedriveProfileName\n          ? {\n              userId: this.get('user.id'),\n              profileType: this.profileType,\n              conversationId,\n            }\n          : {\n              userId: this.get('user.id'),\n              profileType: this.profileType,\n            };\n\n      let crmProfile = yield this.store.createRecord('crm-profile', record).save();\n\n      this.trackEvent(this.eventTrackingKey, this.eventTrackingCreateAction, true);\n      if (crmProfile.get('url')) {\n        this.set('profile', crmProfile);\n        this.notificationsService.notifyConfirmation(\n          `${profileName}` + ` ${leadOrDeal} has been ` + `created with ${this.get('user.email')}`,\n          this.notificationDuration,\n        );\n      } else {\n        this.set('profile', {});\n        this.notificationsService.notifyWarning(\n          `${profileName} ${leadOrDeal} has been created ` +\n            `with ${this.get('user.email')}, but we couldn't fetch the ` +\n            `${profileName} lead or contact url.`,\n          this.notificationDuration,\n        );\n      }\n    } catch (e) {\n      this.set('profile', {});\n      this.trackEvent(this.eventTrackingKey, this.eventTrackingCreateAction, false);\n      this.notifyError(e, profileName, leadOrDeal);\n    }\n  }).drop(),\n\n  notifyError(e, profileName, leadOrDeal) {\n    if (e.status === 'invalid_email') {\n      this.notificationsService.notifyError(\n        `We failed to create ${profileName} ${leadOrDeal} with invalid email ${this.get(\n          'user.email',\n        )}`,\n        this.notificationDuration,\n      );\n    } else if (this.profileName === 'salesforce') {\n      this.notificationsService.notifyErrorWithButton(\n        `We failed to create ${profileName} ${leadOrDeal}`,\n        {\n          label: 'Learn more',\n          action: this.redirectToSalesforceSettings.bind(this),\n        },\n        this.notificationDuration,\n      );\n    } else {\n      this.notificationsService.notifyError(\n        `We failed to create ${profileName} ${leadOrDeal} with ${this.get('user.email')}`,\n        this.notificationDuration,\n      );\n    }\n  },\n\n  trackEvent(object, action, success) {\n    this.intercomEventService.trackAnalyticsEvent({\n      object,\n      action,\n      models: [this.conversation, this.user].filter(function(e) {\n        return e !== undefined;\n      }),\n      success,\n      failure_reason: '',\n    });\n  },\n  actions: {\n    trackExternalProfileLinkClick() {\n      this.trackEvent(this.eventTrackingKey, this.eventTrackingVisitAction, true);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @emptyOwnerId}}\\n  <span class=\\\"pl-1\\\">\\n    {{#if (not @isInDetails)}}\\n      {{ic-interface-icon \\\"owner\\\"}}\\n    {{/if}}\\n    <span class=\\\"text-gray u__ml__5\\\">\\n      No owner\\n    </span>\\n    <span class=\\\"owner-component__arrow\\\">\\n      {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n    </span>\\n  </span>\\n{{else}}\\n  <span class=\\\"owner-component__current-selection-opener\\\">\\n    <span class=\\\"u__mr__5\\\">\\n      <IcAvatarComponent @model={{@owner}} @size=\\\"xs\\\" />\\n    </span>\\n    {{@owner.display_as_assignee}}\\n    <span class=\\\"owner-component__arrow\\\">{{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}</span>\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{#if @emptyOwnerId}}\\n  <span class=\\\"pl-1\\\">\\n    {{#if (not @isInDetails)}}\\n      {{ic-interface-icon \\\"owner\\\"}}\\n    {{/if}}\\n    <span class=\\\"text-gray u__ml__5\\\">\\n      No owner\\n    </span>\\n    <span class=\\\"owner-component__arrow\\\">\\n      {{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}\\n    </span>\\n  </span>\\n{{else}}\\n  <span class=\\\"owner-component__current-selection-opener\\\">\\n    <span class=\\\"u__mr__5\\\">\\n      <IcAvatarComponent @model={{@owner}} @size=\\\"xs\\\" />\\n    </span>\\n    {{@owner.display_as_assignee}}\\n    <span class=\\\"owner-component__arrow\\\">{{ic-interface-icon \\\"small-down-arrow\\\" solo=true}}</span>\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/users/profile/current-selected-owner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users/profile/current-selected-owner.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { schedule } from '@ember/runloop';\nimport $ from 'jquery';\nimport { not, empty, and, alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport {\n  equalToProperty,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  edit: false,\n  showEditButton: false,\n  isNotUpdating: true,\n  attributeService: service('attributeService'),\n  editDisabled: not('edit'),\n  attributePresent: not('attributeIsEmpty'),\n  attributeIsEmpty: empty('attribute'),\n  attributePresentAndValid: and('attributePresent', 'attributeIsValid'),\n  attributePresentAndInvalid: and('attributePresent', 'attributeNotValid'),\n  attributeEqualToPreviousContent: equalToProperty('attribute', 'previousContent'),\n  attributeNotEqualToPreviousContent: not('attributeEqualToPreviousContent'),\n  attributeMap: alias('attributeService.attributeMap'),\n  previousContentIsEmpty: empty('previousContent'),\n  attributeNotValid: not('attributeIsValid'),\n  displayName: ternaryToProperty('attributePresent', 'attribute', 'user.pseudonym'),\n  inputPlaceholder: ternaryToProperty('attributePresent', 'attribute', 'placeHolderText'),\n  isNotUpdatingAndAttributeHasChanged: and('attributeHasChanged', 'isNotUpdating'),\n  alertDuration: 60000,\n  focusOut() {\n    this.send('requestUpdate');\n  },\n  mouseEnter() {\n    this.set('showEditButton', true);\n  },\n  mouseLeave() {\n    this.set('showEditButton', false);\n  },\n  actions: {\n    enableEdit() {\n      this.set('previousContent', this.attribute);\n      this.set('edit', true);\n      schedule('afterRender', this, () => {\n        if (this.isDestroying) {\n          return;\n        }\n        if ($('.twk__editable-attribute-input', this.element)) {\n          $('.twk__editable-attribute-input', this.element)[0].select();\n        }\n      });\n    },\n    cancel() {\n      this.set('edit', false);\n      this.set(this.attributeKey, this.previousContent);\n    },\n    requestUpdate() {\n      if (this.isNotUpdatingAndAttributeHasChanged) {\n        this.send('update');\n      } else {\n        this.set('edit', false);\n        this.set('isNotUpdating', true);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div data-test-crm-display>\\n  {{#each @crm_profiles as |profileType|}}\\n    <Users::Profile::CrmLeadProfileComponent\\n      @profileType={{profileType}}\\n      @profileChangedAttribute={{@user.updated_at}}\\n      @user={{@user}}\\n      @conversation={{@conversation}}\\n    />\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"<div data-test-crm-display>\\n  {{#each @crm_profiles as |profileType|}}\\n    <Users::Profile::CrmLeadProfileComponent\\n      @profileType={{profileType}}\\n      @profileChangedAttribute={{@user.updated_at}}\\n      @user={{@user}}\\n      @conversation={{@conversation}}\\n    />\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/users/profile/external-profiles-display-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users/profile/external-profiles-display-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"pl_profile_facetile_container\\\">\\n  {{#each usersToDisplay as |user|}}\\n    <div class=\\\"company-profile__sidebar__avatar u__left\\\">\\n      <IcAvatarComponent @model={{user}} @size=\\\"l\\\" />\\n    </div>\\n  {{/each}}\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"pl_profile_facetile_container\\\">\\n  {{#each usersToDisplay as |user|}}\\n    <div class=\\\"company-profile__sidebar__avatar u__left\\\">\\n      <IcAvatarComponent @model={{user}} @size=\\\"l\\\" />\\n    </div>\\n  {{/each}}\\n</div>\\n\",\"moduleName\":\"embercom/components/users/profile/facetile-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users/profile/facetile-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { readOnly, gte } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport {\n  rejectBy,\n  shuffle,\n  take,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  usersWithAvatars: rejectBy('users', 'avatarData.url', null),\n  firstTwelveOfUsersWithAvatars: take('usersWithAvatars', 12),\n  firstTwelveOfAllUsers: take('users', 12),\n  shuffledUsersWithAvatars: shuffle('firstTwelveOfUsersWithAvatars'),\n  shouldSelectFromUsersWithAvatars: gte('usersWithAvatars.length', 12),\n  usersToDisplay: ternaryToProperty(\n    'shouldSelectFromUsersWithAvatars',\n    'shuffledUsersWithAvatars',\n    'firstTwelveOfAllUsers',\n  ),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div>\\n  <span class=\\\"text-gray u__default-cursor u__one-truncated-line\\\">\\n    <span>\\n      {{ic-interface-icon \\\"location\\\" color=\\\"gray\\\"}}\\n    </span>\\n    {{#if hasTimeOrLocation}}\\n      <span {{tooltip content=localTimeAndLocationString}}>\\n        {{localTimeAndLocationString}}\\n      </span>\\n    {{else}}\\n      <span {{tooltip content=(concat \\\"We were unable to determine a time and location for \\\" person.first_name)}}>\\n        Unknown\\n      </span>\\n    {{/if}}\\n  </span>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div>\\n  <span class=\\\"text-gray u__default-cursor u__one-truncated-line\\\">\\n    <span>\\n      {{ic-interface-icon \\\"location\\\" color=\\\"gray\\\"}}\\n    </span>\\n    {{#if hasTimeOrLocation}}\\n      <span {{tooltip content=localTimeAndLocationString}}>\\n        {{localTimeAndLocationString}}\\n      </span>\\n    {{else}}\\n      <span {{tooltip content=(concat \\\"We were unable to determine a time and location for \\\" person.first_name)}}>\\n        Unknown\\n      </span>\\n    {{/if}}\\n  </span>\\n</div>\\n\",\"moduleName\":\"embercom/components/users/profile/local-time-and-location-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users/profile/local-time-and-location-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { and, equal, notEmpty, or, readOnly } from '@ember/object/computed';\nimport { pollTask, runDisposables, runTask } from 'ember-lifeline';\nimport ENV from 'embercom/config/environment';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport moment from 'moment';\n\nexport default Component.extend({\n  classNames: ['kv__pair', 'u__cf', 'o__in-list'],\n\n  init() {\n    this._super(...arguments);\n    this._pollToken = pollTask(this, 'updateLocalTime');\n  },\n  willDestroy() {\n    runDisposables(this);\n    this._super(...arguments);\n  },\n  updateLocalTime(next) {\n    if (!this.hasTime) {\n      return;\n    }\n\n    let localTime = moment()\n      .tz(this.timezone)\n      .format(dateAndTimeFormats.timeWithoutTimezone);\n\n    this.set('localTime', localTime);\n    runTask(this, next, ENV.APP._3000MS);\n  },\n\n  localTimeAndLocationString: computed('localTime', 'person', function() {\n    if (this.hasTimeAndLocation) {\n      return `${this.localTime} in ${this.location}`;\n    } else if (this.hasTime) {\n      return this.localTime;\n    } else if (this.hasLocation) {\n      return this.location;\n    } else {\n      return 'Unknown';\n    }\n  }),\n\n  hasTime: computed('timezone', function() {\n    return moment.tz.names().includes(this.timezone);\n  }),\n\n  location: computed('person', function() {\n    if (this.hasCityAndRegionAndCountryInUS) {\n      return `${this.city}, ${this.regionCode}, ${this.country}`;\n    } else if (this.hasCityAndCountry) {\n      return `${this.city}, ${this.country}`;\n    } else {\n      return this.country;\n    }\n  }),\n\n  hasTimeAndLocation: and('hasLocation', 'hasTime'),\n  hasTimeOrLocation: or('hasLocation', 'hasTime'),\n\n  hasCityAndRegionAndCountryInUS: and('hasCityAndRegionAndCountry', 'isUSAddress'),\n  hasCityAndRegionAndCountry: and('city', 'regionCode', 'country'),\n  hasCityAndCountry: and('city', 'country'),\n  hasLocation: notEmpty('country'),\n  isUSAddress: equal('person.geoip_data.country_code2', 'US'),\n\n  timezone: readOnly('person.geoip_data.timezone'),\n  city: readOnly('person.geoip_data.city_name'),\n  regionCode: readOnly('person.geoip_data.region_code'),\n  country: readOnly('person.geoip_data.country_name'),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasCompany}}\\n  <span class=\\\"t__h4 text-blue-light profile__location profile__users-companies\\\">\\n    <UsersCompaniesWithIconPattern @user={{model}} />\\n  </span>\\n{{/if}}\\n<span\\n  class=\\\"profile__location {{if hasCompany \\\"o__country-with-company\\\" \\\"o__country\\\"}} u__prevent-breaks\\\"\\n>\\n  {{ic-interface-icon \\\"location\\\"}}\\n  <span\\n    class=\\\"profile__location__country-and-city\\\"\\n  >\\n    {{#if countryName}}\\n      {{#if cityName}}\\n        <a href=\\\"{{cityFilterUrl}}\\\" class=\\\"t__solo-link t__h4 profile__location u__mr__0\\\">{{cityName}}</a>,\\n      {{/if}}\\n      <a href=\\\"{{countryFilterUrl}}\\\" class=\\\"t__solo-link t__h4 profile__location u__mr__0\\\">{{countryName}}</a>\\n    {{else}}\\n      <span {{tooltip content=(concat \\\"Unable to determine \\\" model.first_name \\\"'s location\\\")}}>\\n        Unknown\\n      </span>\\n    {{/if}}\\n  </span>\\n</span>\\n<span class=\\\"profile__location o__city u__prevent-breaks\\\">\\n  {{ic-interface-icon \\\"clock\\\"}}\\n  {{#if model.hasTimezone}}\\n    {{model.localTime}}\\n  {{else}}\\n    <span {{tooltip content=(concat \\\"Unable to determine \\\" model.first_name \\\"'s local time\\\")}}>\\n      Unknown\\n    </span>\\n  {{/if}}\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if hasCompany}}\\n  <span class=\\\"t__h4 text-blue-light profile__location profile__users-companies\\\">\\n    <UsersCompaniesWithIconPattern @user={{model}} />\\n  </span>\\n{{/if}}\\n<span\\n  class=\\\"profile__location {{if hasCompany \\\"o__country-with-company\\\" \\\"o__country\\\"}} u__prevent-breaks\\\"\\n>\\n  {{ic-interface-icon \\\"location\\\"}}\\n  <span\\n    class=\\\"profile__location__country-and-city\\\"\\n  >\\n    {{#if countryName}}\\n      {{#if cityName}}\\n        <a href=\\\"{{cityFilterUrl}}\\\" class=\\\"t__solo-link t__h4 profile__location u__mr__0\\\">{{cityName}}</a>,\\n      {{/if}}\\n      <a href=\\\"{{countryFilterUrl}}\\\" class=\\\"t__solo-link t__h4 profile__location u__mr__0\\\">{{countryName}}</a>\\n    {{else}}\\n      <span {{tooltip content=(concat \\\"Unable to determine \\\" model.first_name \\\"'s location\\\")}}>\\n        Unknown\\n      </span>\\n    {{/if}}\\n  </span>\\n</span>\\n<span class=\\\"profile__location o__city u__prevent-breaks\\\">\\n  {{ic-interface-icon \\\"clock\\\"}}\\n  {{#if model.hasTimezone}}\\n    {{model.localTime}}\\n  {{else}}\\n    <span {{tooltip content=(concat \\\"Unable to determine \\\" model.first_name \\\"'s local time\\\")}}>\\n      Unknown\\n    </span>\\n  {{/if}}\\n</span>\\n\",\"moduleName\":\"embercom/components/users/profile/location-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users/profile/location-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { reads, notEmpty, alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport B64FilterParamEncoder from 'embercom/vendor/intercom/b64-filter-param-encoder';\n\nlet ProfileLocationComponent = Component.extend({\n  classNames: ['profile__location__container'],\n  appService: service(),\n  countryName: reads('geoipData.country_name'),\n  cityName: reads('geoipData.city_name'),\n  hasCompany: notEmpty('model.companies'),\n  company: alias('model.companies.firstObject'),\n\n  countryPredicate: computed('countryName', function() {\n    return {\n      attribute: 'geoip_data.country_name',\n      comparison: 'eq',\n      value: this.countryName,\n      type: 'string',\n    };\n  }),\n\n  cityPredicate: computed('cityName', function() {\n    return {\n      attribute: 'geoip_data.city_name',\n      comparison: 'eq',\n      value: this.cityName,\n      type: 'string',\n    };\n  }),\n\n  countryFilterUrl: computed('model', 'countryPredicate', function() {\n    return B64FilterParamEncoder.filterUrlFromPredicates(this.model, {\n      predicates: [this.countryPredicate],\n    });\n  }),\n\n  cityFilterUrl: computed('model', 'cityPredicate', function() {\n    return B64FilterParamEncoder.filterUrlFromPredicates(this.model, {\n      predicates: [this.cityPredicate],\n    });\n  }),\n});\n\nexport default ProfileLocationComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"pl_profile_mapbox_container\\\">\\n  <div id=\\\"ProfileMapBox\\\">\\n\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"pl_profile_mapbox_container\\\">\\n  <div id=\\\"ProfileMapBox\\\">\\n\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/users/profile/map-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users/profile/map-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport { computed } from '@ember/object';\nimport MapComponent from 'embercom/components/map-component';\nimport render from 'embercom/vendor/intercom/render';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport DefaultAvatars from '@intercom/embercom-core/lib/default-avatars';\n\nlet ProfileMapBoxComponent = MapComponent.extend({\n  elementID: 'ProfileMapBox',\n  classNames: ['pl_profile_mapbox_container'],\n  mapBoxIdentifier: ternary('useStyledMap', 'patrickod.aad4d8e4', 'patrickod.map-6jmr4gr8'),\n  maxZoom: 2,\n  minZoom: 1,\n\n  mapOptions: computed('maxZoom', 'minZoom', function() {\n    return {\n      attributionControl: false,\n      zoomControl: false,\n      maxZoom: this.maxZoom,\n      minZoom: this.minZoom,\n    };\n  }),\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.initializeMap();\n    this.loadPage();\n    try {\n      this.map.fitBounds(this.cluster.getBounds());\n    } catch (e) {\n      console.log(e);\n    }\n  },\n  marker(user) {\n    if (this.usePlainIcon) {\n      return window.L.marker([user.geoip_data.latitude, user.geoip_data.longitude], {\n        icon: window.L.divIcon(this.plainIcon(user)),\n      });\n    } else {\n      return this._super(user);\n    }\n  },\n  profileMarker: ternary('useDotIcon', 'dot-map-marker', 'map-marker'),\n  plainIcon(user) {\n    user.default_avatar_url = DefaultAvatars.users[64];\n    let html = render([this.profileMarker], user);\n\n    return {\n      className: '',\n      html,\n      iconSize: [32, 32],\n    };\n  },\n  addUsers(mappableUsers) {\n    let markers = mappableUsers.map(function(user) {\n      return this.marker(user).addTo(this.map);\n    }, this);\n    this.cluster.addLayers(markers);\n  },\n  loadPage() {\n    this.addUsers(this.mappableUsers(this.users));\n  },\n});\n\nexport default ProfileMapBoxComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"profile__note\\\">\\n  <div class=\\\"u__cf\\\">\\n    <div class=\\\"profile__note-textarea o__fit {{if focused \\\"o__focused\\\"}}\\\">\\n      <Users::Profile::NoteComposerTextareaComponent\\n        @notable={{notable}}\\n        @isCompany={{isCompany}}\\n        @isSaving={{isSaving}}\\n        @isTouch={{isTouch}}\\n        @noteHasValue={{noteHasValue}}\\n        @actionReceiver={{noteComposerTextarea}}\\n        @inInbox={{true}}\\n      />\\n    </div>\\n    {{#if isTouch}}\\n      <div class=\\\"h-1\\\"></div>\\n      <span class=\\\"u__right\\\">\\n        <IcButton\\n          @label=\\\"Add note\\\"\\n          @type=\\\"primary\\\"\\n          @onClick={{action \\\"save\\\"}}\\n          @disabled={{not noteHasValue}}\\n          @inRightList={{true}}\\n        />\\n      </span>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"profile__note\\\">\\n  <div class=\\\"u__cf\\\">\\n    <div class=\\\"profile__note-textarea o__fit {{if focused \\\"o__focused\\\"}}\\\">\\n      <Users::Profile::NoteComposerTextareaComponent\\n        @notable={{notable}}\\n        @isCompany={{isCompany}}\\n        @isSaving={{isSaving}}\\n        @isTouch={{isTouch}}\\n        @noteHasValue={{noteHasValue}}\\n        @actionReceiver={{noteComposerTextarea}}\\n        @inInbox={{true}}\\n      />\\n    </div>\\n    {{#if isTouch}}\\n      <div class=\\\"h-1\\\"></div>\\n      <span class=\\\"u__right\\\">\\n        <IcButton\\n          @label=\\\"Add note\\\"\\n          @type=\\\"primary\\\"\\n          @onClick={{action \\\"save\\\"}}\\n          @disabled={{not noteHasValue}}\\n          @inRightList={{true}}\\n        />\\n      </span>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/users/profile/note-composer-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users/profile/note-composer-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { BROWSER_SUPPORTS_TOUCH } from 'embercom/lib/screen-awareness';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  appService: service(),\n  admin: readOnly('appService.app.currentAdmin'),\n\n  classNames: ['profile__notes-composer'],\n  classNameBindings: ['isSaving:a__note-composer-saving'],\n  isSaving: false,\n  focused: false,\n  noteHasValue: false,\n  focusIn() {\n    this.set('focused', true);\n  },\n  focusOut() {\n    this.set('focused', false);\n  },\n  isTouch: BROWSER_SUPPORTS_TOUCH,\n  actions: {\n    save() {\n      this.noteComposerTextarea.send('save');\n    },\n    cancel() {\n      this.noteComposerTextarea.send('cancel');\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<pre class=\\\"f__expanding-textarea-spacer\\\"><span>{{preCursorContent}}<span class=\\\"js_cursor_position\\\"></span>{{postCursorContent}}</span><br></pre>\\n<Textarea\\n  data-test-note-composer-textarea\\n  @value={{textareaContent}}\\n  class={{textareaClasses}}\\n  @maxlength=\\\"65535\\\"\\n  @disabled={{isDisabled}}\\n  placeholder={{textareaPlaceholder}}\\n/>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<pre class=\\\"f__expanding-textarea-spacer\\\"><span>{{preCursorContent}}<span class=\\\"js_cursor_position\\\"></span>{{postCursorContent}}</span><br></pre>\\n<Textarea\\n  data-test-note-composer-textarea\\n  @value={{textareaContent}}\\n  class={{textareaClasses}}\\n  @maxlength=\\\"65535\\\"\\n  @disabled={{isDisabled}}\\n  placeholder={{textareaPlaceholder}}\\n/>\\n\",\"moduleName\":\"embercom/components/users/profile/note-composer-textarea-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users/profile/note-composer-textarea-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-jquery */\nimport { observer } from '@ember/object';\nimport $ from 'jquery';\nimport { notEmpty, not, readOnly } from '@ember/object/computed';\nimport ExpandingTextareaComponent from 'embercom/components/expanding-textarea-component';\nimport { trim } from '@intercom/embercom-core/lib/computed-properties';\nimport Run from 'embercom/lib/run';\nimport { inject as service } from '@ember/service';\nimport InboundActions from 'ember-component-inbound-actions/inbound-actions';\n\nexport default ExpandingTextareaComponent.extend(InboundActions, {\n  intercomEventService: service(),\n  notificationsService: service(),\n  appService: service(),\n  store: service(),\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n\n  textareaContent: '',\n  textareaPlaceholder: 'Add a note',\n  minHeight: 20,\n  maxHeight: 'none',\n  isEditing: false,\n  isAnimating: false,\n  isSaving: false,\n  isDisabled: false,\n  isTouch: false,\n  inInbox: false,\n  trimmedNote: trim('textareaContent'),\n  trimmedNoteHasValue: notEmpty('trimmedNote'),\n  trimmedNoteEmpty: not('trimmedNoteHasValue'),\n\n  init() {\n    this._super();\n    // back up note body for editing\n    this.set('originalBody', this.textareaContent);\n  },\n\n  updateNoteHasValue: observer({\n    dependentKeys: ['textareaContent'],\n\n    fn() {\n      this.set('noteHasValue', this.trimmedNoteHasValue);\n    },\n\n    sync: false,\n  }),\n  keyDown(e) {\n    if ((e.shiftKey || e.ctrlKey) && e.keyCode === 13) {\n      return;\n    }\n    switch (e.keyCode) {\n      case 13: // Enter\n        e.preventDefault();\n        this.set('isDisabled', true);\n        this.send('save');\n        break;\n      case 27: // Escape\n        this.send('cancel');\n        break;\n      default:\n      // Do nothing\n    }\n  },\n  focusIn() {\n    this.stylePre(true);\n  },\n  focusOut() {\n    // there's an \"Add Note\" button on touch devices...\n    if (!this.isTouch && !this.isDisabled) {\n      this.set('isDisabled', true);\n      this.send('save');\n    }\n  },\n  setMaxHeight() {\n    // Do nothing\n  },\n  clearAndFocusOut() {\n    this.set('textareaContent', '');\n    $('textarea', this.element).blur();\n  },\n  _trackAddedNoteEvent() {\n    let specificMetadata = {\n      app_id_code: this.get('app.id'),\n      admin_id: this.get('admin.id'),\n      screen: `${this.get('notable.typeLabel')} profile`,\n      userId: this.get('notable.id'),\n    };\n\n    let generalMetaData = {\n      action: 'added',\n      object: 'note',\n      place: this.inInbox ? 'inbox' : `${this.get('notable.typeLabel').toLowerCase()}_profile`,\n      owner: this.inInbox ? 'respond' : 'growth',\n    };\n\n    this.intercomEventService.trackEvent(\n      `added-note-to-${this.get('notable.typeLabel').toLowerCase()}`,\n      specificMetadata,\n    );\n    this.intercomEventService.trackEvent('note-added', generalMetaData);\n  },\n  styleTextarea() {\n    this._super();\n    // This is a temporary hack to make it look like the notes. I plan to merge\n    // this with it's parent class which will remove the need for this.\n    $('textarea', this.element).css({ 'line-height': '18px', color: 'inherit' });\n  },\n  resetState() {\n    this.setProperties({ isEditing: false, isDisabled: false, isSaving: false });\n  },\n  actions: {\n    save() {\n      if (this.isEditing) {\n        this.send('update');\n      } else {\n        this.send('create');\n      }\n    },\n    create() {\n      if (this.trimmedNoteHasValue) {\n        let self = this;\n        let note = this.store.createRecord('note', {\n          body: this.trimmedNote,\n          is_company: this.isCompany,\n          model_id: this.get('notable.id'),\n          admin_id: this.get('admin.id'),\n        });\n\n        if (!this.isCompany) {\n          this._trackAddedNoteEvent();\n        }\n\n        note\n          .save()\n          .then(function() {\n            self.set('isSaving', true);\n            self.clearAndFocusOut();\n            self.set('isDisabled', false);\n            note.set('new', true);\n            self\n              .get('notable')\n              .get('notes')\n              .insertAt(0, note);\n            Run.later(\n              self,\n              function() {\n                self.set('isSaving', false);\n              },\n              300,\n            );\n          })\n          .catch(function() {\n            self.set('isDisabled', false);\n          });\n      } else {\n        this.set('isDisabled', false);\n      }\n    },\n    update() {\n      if (this.trimmedNoteEmpty) {\n        this.notificationsService.notifyError('Cannot save an empty note');\n        this.send('cancel');\n      } else if (this.get('note.hasDirtyAttributes')) {\n        this.set('note.body', this.textareaContent);\n        this.set('isSaving', true);\n        this.note.save().then(_ => this.resetState());\n      } else {\n        this.resetState();\n      }\n    },\n    cancel() {\n      if (this.isEditing) {\n        this.set('textareaContent', this.originalBody);\n        this.set('isEditing', false);\n      } else {\n        this.clearAndFocusOut();\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isInDetails}}\\n  <span\\n    class=\\\"text-gray layout__box o__has-columns u__mr__5 {{if isEditing \\\"owner-component__description\\\"}}\\\"\\n    data-test-details-view\\n  >\\n    <span>\\n      {{ic-interface-icon \\\"owner\\\" color=\\\"gray\\\"}}\\n    </span>\\n    <span class=\\\"u__one-truncated-line ml-1\\\">\\n      Owner\\n    </span>\\n  </span>\\n{{/if}}\\n{{#if isEditing}}\\n  <span class=\\\"layout__box o__flexes-to-1\\\">\\n    <Admin::NewSelector\\n      @assignees={{app.assignableAdminsWithoutUnassigned}}\\n      @selectedValue={{owner.id}}\\n      @onSelectItem={{action \\\"updateOwnerId\\\"}}\\n      @defaultLabel=\\\"Add owner\\\"\\n      @initiallyOpened={{true}}\\n      data-test-admin-selector={{true}}\\n      @buttonIsSubtle={{true}}\\n      @mode=\\\"block\\\"\\n      @onClose={{action \\\"endEditing\\\"}}\\n      @teammatesHeading=\\\"Select an owner\\\"\\n      @footerActions={{unless\\n        emptyOwnerId\\n        (hash\\n          text=\\\"Remove owner\\\"\\n          icon=\\\"close\\\"\\n          action=(action \\\"updateOwnerId\\\")\\n          value=null\\n        )\\n      }}\\n    >\\n      <span class=\\\"u__one-truncated-line\\\">\\n        <Users::Profile::CurrentSelectedOwner\\n          @emptyOwnerId={{emptyOwnerId}}\\n          @isInDetails={{isInDetails}}\\n          @owner={{owner}}\\n        />\\n      </span>\\n    </Admin::NewSelector>\\n  </span>\\n{{else}}\\n  <span\\n    class=\\\"{{if isInDetails \\\"u__one-truncated-line\\\"}} {{if isEditable \\\"owner-component__static\\\" \\\"owner-component__not-editable\\\"}}\\\"\\n    data-test-admin-descriptor\\n    onclick={{action \\\"beginEditing\\\"}}\\n    {{tooltip content=accountOwnerTooltip}}\\n  >\\n    <Users::Profile::CurrentSelectedOwner\\n      @emptyOwnerId={{emptyOwnerId}}\\n      @isInDetails={{isInDetails}}\\n      @owner={{owner}}\\n    />\\n  </span>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if isInDetails}}\\n  <span\\n    class=\\\"text-gray layout__box o__has-columns u__mr__5 {{if isEditing \\\"owner-component__description\\\"}}\\\"\\n    data-test-details-view\\n  >\\n    <span>\\n      {{ic-interface-icon \\\"owner\\\" color=\\\"gray\\\"}}\\n    </span>\\n    <span class=\\\"u__one-truncated-line ml-1\\\">\\n      Owner\\n    </span>\\n  </span>\\n{{/if}}\\n{{#if isEditing}}\\n  <span class=\\\"layout__box o__flexes-to-1\\\">\\n    <Admin::NewSelector\\n      @assignees={{app.assignableAdminsWithoutUnassigned}}\\n      @selectedValue={{owner.id}}\\n      @onSelectItem={{action \\\"updateOwnerId\\\"}}\\n      @defaultLabel=\\\"Add owner\\\"\\n      @initiallyOpened={{true}}\\n      data-test-admin-selector={{true}}\\n      @buttonIsSubtle={{true}}\\n      @mode=\\\"block\\\"\\n      @onClose={{action \\\"endEditing\\\"}}\\n      @teammatesHeading=\\\"Select an owner\\\"\\n      @footerActions={{unless\\n        emptyOwnerId\\n        (hash\\n          text=\\\"Remove owner\\\"\\n          icon=\\\"close\\\"\\n          action=(action \\\"updateOwnerId\\\")\\n          value=null\\n        )\\n      }}\\n    >\\n      <span class=\\\"u__one-truncated-line\\\">\\n        <Users::Profile::CurrentSelectedOwner\\n          @emptyOwnerId={{emptyOwnerId}}\\n          @isInDetails={{isInDetails}}\\n          @owner={{owner}}\\n        />\\n      </span>\\n    </Admin::NewSelector>\\n  </span>\\n{{else}}\\n  <span\\n    class=\\\"{{if isInDetails \\\"u__one-truncated-line\\\"}} {{if isEditable \\\"owner-component__static\\\" \\\"owner-component__not-editable\\\"}}\\\"\\n    data-test-admin-descriptor\\n    onclick={{action \\\"beginEditing\\\"}}\\n    {{tooltip content=accountOwnerTooltip}}\\n  >\\n    <Users::Profile::CurrentSelectedOwner\\n      @emptyOwnerId={{emptyOwnerId}}\\n      @isInDetails={{isInDetails}}\\n      @owner={{owner}}\\n    />\\n  </span>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/users/profile/owner-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users/profile/owner-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly, none, filterBy, equal } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { findBy, findByProperty, ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport AttributeUpdater from 'embercom/components/mixins/people/attribute-updater';\nimport defaultTo from '@intercom/embercom-core/lib/default-to';\n\nexport default Component.extend(AttributeUpdater, {\n  intercomEventService: service(),\n  appService: service(),\n  isInDetails: defaultTo(false),\n  classNameBindings: ['ownerClass'],\n  'data-test-account-owner': true,\n  app: readOnly('appService.app'),\n  emptyOwnerId: none('person.owner_id'),\n  attribute: findBy('app.attributes', 'identifier', 'owner_id'),\n  disabled: false,\n  isEditing: defaultTo(false),\n  teammates: filterBy('assignees', 'isTeam', false),\n  owner: findByProperty('app.admins', 'id', 'ownerId'),\n  ownerSource: readOnly('person.metadata.data_sources.owner_id.source'),\n  displayedInProfileHeader: false,\n  permissonToEdit: readOnly('app.currentAdmin.currentAppPermissions.can_reassign_conversations'),\n  salesforceAssignedOwner: equal('ownerSource', 8),\n  salesforceAssignedMessage: ternary(\n    'emptyOwnerId',\n    'Owner in salesforce does not match any teammates in intercom',\n    'Owner assigned by Salesforce',\n  ),\n  manualAssignmentMessage: ternary(\n    'isEditable',\n    'Select a new owner for this person',\n    'Ask for permission to change the owner for this person',\n  ),\n  isEditable: computed('salesforceAssignedOwner', 'adminCanEdit', function() {\n    return (\n      this.permissonToEdit && (!this.salesforceAssignedOwner || !this.app.hasSalesforceIntegration)\n    );\n  }),\n  ownerClass: ternary(\n    'isInDetails',\n    'layout__box o__centers-vertically o__has-columns u__mb__5 attribute__fit-content',\n    '',\n  ),\n  ownerId: computed('emptyOwnerId', 'person.owner_id', function() {\n    if (this.emptyOwnerId) {\n      return null;\n    }\n    return this.get('person.owner_id').toString();\n  }),\n  accountOwnerTooltip: computed('salesforceAssignedOwner', 'isEditable', function() {\n    if (this.salesforceAssignedOwner) {\n      return this.salesforceAssignedMessage;\n    }\n    return this.manualAssignmentMessage;\n  }),\n  actions: {\n    updateOwnerId(value) {\n      if (value === undefined) {\n        value = null;\n      }\n      if (value !== this.currentAttributeValue) {\n        this._performUpdateTask('updateAttributeValue', value);\n        this.set('person.owner_id', value);\n      }\n      let action = value === null ? 'remove' : 'add';\n      this.intercomEventService.trackAnalyticsEvent({\n        action,\n        object: 'owner',\n        place: 'inbox',\n      });\n    },\n    beginEditing(e) {\n      if (this.isEditable) {\n        this.set('isEditing', true);\n        e.stopPropagation();\n      }\n    },\n    endEditing() {\n      this.set('isEditing', false);\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless isLoading}}\\n  {{#if shouldShowMap}}\\n    <Users::Profile::MapComponent\\n      @users={{users}}\\n      @usePlainIcon={{false}}\\n      @useStyledMap={{true}}\\n      @minZoom={{1}}\\n      @maxZoom={{2}}\\n    />\\n    <div class=\\\"pl_profile_map_overlay\\\"></div>\\n  {{else}}\\n    <Users::Profile::FacetileComponent @users={{users}} />\\n    <div class=\\\"pl_profile_facetile_overlay\\\"></div>\\n  {{/if}}\\n{{/unless}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#unless isLoading}}\\n  {{#if shouldShowMap}}\\n    <Users::Profile::MapComponent\\n      @users={{users}}\\n      @usePlainIcon={{false}}\\n      @useStyledMap={{true}}\\n      @minZoom={{1}}\\n      @maxZoom={{2}}\\n    />\\n    <div class=\\\"pl_profile_map_overlay\\\"></div>\\n  {{else}}\\n    <Users::Profile::FacetileComponent @users={{users}} />\\n    <div class=\\\"pl_profile_facetile_overlay\\\"></div>\\n  {{/if}}\\n{{/unless}}\\n\",\"moduleName\":\"embercom/components/users/profile/sidebar-header-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users/profile/sidebar-header-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { notEmpty, lt, and } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { A } from '@ember/array';\nimport Component from '@ember/component';\nimport AvatarAndMapSearch from 'embercom/components/mixins/avatar-and-map-search';\nimport { inject as service } from '@ember/service';\n\nlet ProfileSideBarHeaderComponent = Component.extend(AvatarAndMapSearch, {\n  store: service(),\n  classNames: ['pl_profile_sidebar_header'],\n  isLoading: true,\n  init() {\n    this._super(...arguments);\n    this.set('users', A());\n  },\n  didInsertElement() {\n    this._super(...arguments);\n    this.loadPage();\n  },\n  predicate: computed('userOrCompany', function() {\n    return {\n      attribute: 'company.remote_company_id',\n      comparison: 'eq',\n      type: 'string',\n      value: `${this.get('userOrCompany.remote_company_id')}`,\n    };\n  }),\n  hasMappableUsers: notEmpty('mappableUsers'),\n  hasFewEnoughUsersToDisplayMap: lt('users.length', 7),\n  shouldShowMap: and('hasMappableUsers', 'hasFewEnoughUsersToDisplayMap'),\n\n  mappableUsers: computed('users.[]', function() {\n    return this.users.filter(this.userHasLatitudeAndLongtitude);\n  }),\n  userHasLatitudeAndLongtitude(user) {\n    return (\n      typeof user.get === 'function' &&\n      user.get('geoip_data') &&\n      user.get('geoip_data.latitude') &&\n      user.get('geoip_data.longitude')\n    );\n  },\n  loadPage() {\n    let app = this.app;\n    let predicates = [this.predicate];\n    this.avatarAndMapSearch(app, predicates, 1).then(response => {\n      this.set('isLoading', false);\n      if (response.users) {\n        this.store.pushPayload({ users: response.users });\n        let userModels = response.users\n          .map(user => this.store.peekRecord('user', user.id))\n          .compact();\n        this.users.pushObjects(userModels);\n      }\n    });\n  },\n});\n\nexport default ProfileSideBarHeaderComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#each this.defaultSectionComponents as |section index|}}\\n  <div data-test-user-sidebar-section={{index}}>\\n    {{component\\n      section\\n      app=@app\\n      user=@user\\n      scrollContainerSelector=@scrollContainerSelector\\n    }}\\n  </div>\\n  <div class=\\\"inbox__conversation-sidebar__space\\\"></div>\\n{{/each}}\\n\", {\"contents\":\"{{#each this.defaultSectionComponents as |section index|}}\\n  <div data-test-user-sidebar-section={{index}}>\\n    {{component\\n      section\\n      app=@app\\n      user=@user\\n      scrollContainerSelector=@scrollContainerSelector\\n    }}\\n  </div>\\n  <div class=\\\"inbox__conversation-sidebar__space\\\"></div>\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/users/profile/sidebar-sections.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users/profile/sidebar-sections.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\nimport { and, map } from '@ember/object/computed';\n\nexport default Component.extend({\n  classNames: ['profile__sidebar', 'u__pad__0'],\n\n  sectionNames: [\n    'user-details',\n    'notes',\n    'qualification',\n    'recent-page-views',\n    'external-profiles',\n    'latest-conversations',\n    'tags',\n    'campaigns',\n    'segments',\n    'events',\n    'company-details',\n  ],\n\n  includeCustomerSupportSection: and('app.isIntercom', 'app.currentAdmin.hasEnabledCSComponent'),\n  resultingSectionNames: computed('sectionNames.[]', 'includeCustomerSupportSection', function() {\n    let sectionNames = this.sectionNames.slice();\n    if (this.includeCustomerSupportSection) {\n      sectionNames.unshift('customer-support');\n    }\n    return sectionNames;\n  }),\n  defaultSectionComponents: map('resultingSectionNames', function(section) {\n    return `inbox/conversation-sidebar/cards/${section}`;\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each socialAccounts as |socialAccount|}}\\n  <Users::Profile::SocialDataItemDisplayComponent\\n    @socialAccount={{socialAccount}}\\n  />\\n{{/each}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each socialAccounts as |socialAccount|}}\\n  <Users::Profile::SocialDataItemDisplayComponent\\n    @socialAccount={{socialAccount}}\\n  />\\n{{/each}}\\n\",\"moduleName\":\"embercom/components/users/profile/social-data-display-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users/profile/social-data-display-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed, set } from '@ember/object';\nimport Component from '@ember/component';\nlet ProfileSocialDataDisplayComponent = Component.extend({\n  rawSocialAccounts: computed('accountKeys', function() {\n    return this.accountKeys.map(this._createRawSocialAccount.bind(this));\n  }),\n\n  accountKeys: computed('socialData', function() {\n    return Object.keys(this.socialData).without('gravatar');\n  }),\n\n  socialAccounts: computed('rawSocialAccounts', function() {\n    return this.rawSocialAccounts.reduce(this._flattenRawSocialAccounts.bind(this), []);\n  }),\n\n  _createRawSocialAccount(accountKey) {\n    let socialAccount = this.socialData[accountKey];\n    return {\n      name: accountKey,\n      accounts: socialAccount.accounts,\n    };\n  },\n\n  _flattenRawSocialAccounts(flattenedAccounts, rawAccount) {\n    if (rawAccount.accounts.get('length') === 1) {\n      flattenedAccounts.addObject(\n        this._flattenedSocialAccount(rawAccount.name, rawAccount.accounts.get('firstObject')),\n      );\n    } else {\n      rawAccount.accounts.forEach(\n        function(account) {\n          flattenedAccounts.addObject(this._flattenedSocialAccount(rawAccount.name, account));\n        }.bind(this),\n      );\n    }\n    return flattenedAccounts;\n  },\n\n  _flattenedSocialAccount(name, account) {\n    set(account, 'name', name);\n    return account;\n  },\n});\n\nexport default ProfileSocialDataDisplayComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span class=\\\"kv__key\\\">\\n  <span class=\\\"t__label\\\">\\n    {{ic-interface-icon @socialAccount.name set=\\\"social\\\"}} {{this.displayName}}\\n  </span>\\n</span>\\n<span class=\\\"kv__value\\\">\\n  <a\\n    href=\\\"{{@socialAccount.url}}\\\"\\n    target=\\\"_blank\\\"\\n    rel=\\\"noopener noreferrer\\\"\\n    class=\\\"t__solo-link\\\"\\n    {{on \\\"click\\\" (track-analytics-event action=\\\"visited\\\" object=@socialAccount.name place=\\\"external_profiles\\\")}}\\n  >\\n    {{@socialAccount.usernameLink}}\\n  </a>\\n</span>\\n\", {\"contents\":\"<span class=\\\"kv__key\\\">\\n  <span class=\\\"t__label\\\">\\n    {{ic-interface-icon @socialAccount.name set=\\\"social\\\"}} {{this.displayName}}\\n  </span>\\n</span>\\n<span class=\\\"kv__value\\\">\\n  <a\\n    href=\\\"{{@socialAccount.url}}\\\"\\n    target=\\\"_blank\\\"\\n    rel=\\\"noopener noreferrer\\\"\\n    class=\\\"t__solo-link\\\"\\n    {{on \\\"click\\\" (track-analytics-event action=\\\"visited\\\" object=@socialAccount.name place=\\\"external_profiles\\\")}}\\n  >\\n    {{@socialAccount.usernameLink}}\\n  </a>\\n</span>\\n\",\"moduleName\":\"embercom/components/users/profile/social-data-item-display-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users/profile/social-data-item-display-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nlet ProfileSocialDataItemDisplayComponent = Component.extend({\n  classNames: ['kv__pair', 'u__cf', 'o__in-list'],\n  displayName: computed('socialAccount.name', function() {\n    if (this.socialAccount.name === 'linkedin') {\n      return 'LinkedIn'; // we don't want to just camelize \"linkedin\". We want to capitalize both the L and the I.\n    }\n    return this.socialAccount.name.capitalize();\n  }),\n});\n\nexport default ProfileSocialDataItemDisplayComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{component\\n  attributeComponentPath\\n  attribute=attribute\\n  userOrCompany=userOrCompany\\n}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{component\\n  attributeComponentPath\\n  attribute=attribute\\n  userOrCompany=userOrCompany\\n}}\\n\",\"moduleName\":\"embercom/components/users/profile/user-card-attribute-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users/profile/user-card-attribute-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-components */\nimport Component from '@ember/component';\nimport ProfileAttribute from 'embercom/components/mixins/profile-attribute';\n\nlet ProfileUserCardComponent = Component.extend(ProfileAttribute);\n\nexport default ProfileUserCardComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-dropdown --}}\\n<DropdownComponent @title={{selectedSortAttribute.name}}>\\n  {{#each selectableAttributes as |attribute|}}\\n    <div\\n      class=\\\"dropdown__list-item o__hoverable u__prevent-breaks\\\"\\n      {{action \\\"select\\\" attribute}}\\n    >\\n      {{attribute.name}}\\n    </div>\\n  {{/each}}\\n</DropdownComponent>\\n{{!-- template-lint-enable intercom/no-legacy-dropdown --}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{!-- template-lint-disable intercom/no-legacy-dropdown --}}\\n<DropdownComponent @title={{selectedSortAttribute.name}}>\\n  {{#each selectableAttributes as |attribute|}}\\n    <div\\n      class=\\\"dropdown__list-item o__hoverable u__prevent-breaks\\\"\\n      {{action \\\"select\\\" attribute}}\\n    >\\n      {{attribute.name}}\\n    </div>\\n  {{/each}}\\n</DropdownComponent>\\n{{!-- template-lint-enable intercom/no-legacy-dropdown --}}\\n\",\"moduleName\":\"embercom/components/users/profile/user-sort-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users/profile/user-sort-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n// eslint-disable-next-line @intercom/intercom/no-legacy-dropdown\nimport ComponentDropdownToggler from 'embercom/components/mixins/component-dropdown-toggler';\nimport { rejectByProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nlet ProfileUserSortComponent = Component.extend(ComponentDropdownToggler, {\n  selectableAttributes: rejectByProperty(\n    'profileDisplayedUserAttributes',\n    'identifier',\n    'selectedSortAttribute.identifier',\n  ),\n  actions: {\n    select(attribute) {\n      this.set('selectedSortAttribute', attribute);\n    },\n  },\n});\n\nexport default ProfileUserSortComponent;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- @renderCellTag={{true}} will render these cells with a wrapping `<td>` tag. By default this property should only be required in legacy tables as IcTable renders the `<td>` for us --}}\\n{{#if @renderCellTag}}\\n  {{#if (or (eq this.formatter.identifier \\\"anonymous\\\") (eq @attribute.type \\\"anonymous\\\"))}}\\n    <td class=\\\"tbl__cell {{this.formatter.cssClasses}}\\\">\\n      <span>{{this.formatter.parsedValue}}</span>\\n    </td>\\n  {{else if (or (eq this.formatter.identifier \\\"date\\\") (eq @attribute.type \\\"date\\\"))}}\\n    <td class=\\\"tbl__cell\\\" data-test-attribute-identifier={{@attribute.identifier}}>\\n      <span class=\\\"{{this.formatter.cssClasses}} time js__user-list-link user-list__cell-link\\\"\\n        data-attribute-identifier={{@attribute.identifier}}\\n        data-lookup-key={{this.formatter.identifier}}\\n        data-is-company=\\\"{{@isCompany}}\\\"\\n        data-is-url={{this.formatter.isUrl}}\\n        data-id={{@user.id}}\\n        data-test-attribute-date-tooltip\\n        {{tooltip content=(full-date-and-time-helper this.formatter.rawValue)}}\\n      >\\n        {{this.formatter.parsedValue}}\\n      </span>\\n    </td>\\n  {{else}}\\n    <td class=\\\"tbl__cell\\\" data-test-attribute-identifier={{@attribute.identifier}}>\\n      {{#if (or (eq @attribute.identifier \\\"last_conversation_rating_given\\\") (eq this.formatter.type \\\"last_conversation_rating_given\\\"))}}\\n        <div class=\\\"user-list__cell-link__conversation-rating conversation-rating__rating-{{this.formatter.rawValue}}\\\"></div>\\n      {{/if}}\\n      <span class=\\\"{{this.formatter.cssClasses}} js__user-list-link user-list__cell-link\\\"\\n        data-attribute-identifier={{@attribute.identifier}}\\n        data-lookup-key={{this.formatter.identifier}}\\n        data-is-company=\\\"{{@isCompany}}\\\"\\n        data-is-url={{this.formatter.isUrl}}\\n        data-id={{@user.id}}>\\n        {{this.formatter.parsedValue}}\\n      </span>\\n    </td>\\n  {{/if}}\\n{{else}}\\n  {{#if (or (eq this.formatter.identifier \\\"anonymous\\\") (eq @attribute.type \\\"anonymous\\\"))}}\\n    <span data-test-attribute-identifier={{@attribute.identifier}}>{{this.formatter.parsedValue}}</span>\\n  {{else if (or (eq this.formatter.identifier \\\"date\\\") (eq @attribute.type \\\"date\\\"))}}\\n    <span class=\\\"{{this.formatter.cssClasses}} time js__user-list-link user-list__cell-link\\\"\\n      data-attribute-identifier={{@attribute.identifier}}\\n      data-lookup-key={{this.formatter.identifier}}\\n      data-is-company=\\\"{{@isCompany}}\\\"\\n      data-is-url={{this.formatter.isUrl}}\\n      data-id={{@user.id}}\\n      data-test-attribute-date-tooltip\\n      data-test-attribute-identifier={{@attribute.identifier}}\\n      {{tooltip content=(full-date-and-time-helper this.formatter.rawValue)}}\\n    >\\n      {{this.formatter.parsedValue}}\\n    </span>\\n  {{else}}\\n    <span data-test-attribute-identifier={{@attribute.identifier}}>\\n      {{#if (or (eq @attribute.identifier \\\"last_conversation_rating_given\\\") (eq this.formatter.type \\\"last_conversation_rating_given\\\"))}}\\n        <div class=\\\"user-list__cell-link__conversation-rating conversation-rating__rating-{{this.formatter.rawValue}}\\\"></div>\\n      {{/if}}\\n      <span class=\\\"{{this.formatter.cssClasses}} js__user-list-link user-list__cell-link\\\"\\n        data-attribute-identifier={{@attribute.identifier}}\\n        data-lookup-key={{this.formatter.identifier}}\\n        data-is-company=\\\"{{@isCompany}}\\\"\\n        data-is-url={{this.formatter.isUrl}}\\n        data-id={{@user.id}}>\\n        {{this.formatter.parsedValue}}\\n      </span>\\n    </span>\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- @renderCellTag={{true}} will render these cells with a wrapping `<td>` tag. By default this property should only be required in legacy tables as IcTable renders the `<td>` for us --}}\\n{{#if @renderCellTag}}\\n  {{#if (or (eq this.formatter.identifier \\\"anonymous\\\") (eq @attribute.type \\\"anonymous\\\"))}}\\n    <td class=\\\"tbl__cell {{this.formatter.cssClasses}}\\\">\\n      <span>{{this.formatter.parsedValue}}</span>\\n    </td>\\n  {{else if (or (eq this.formatter.identifier \\\"date\\\") (eq @attribute.type \\\"date\\\"))}}\\n    <td class=\\\"tbl__cell\\\" data-test-attribute-identifier={{@attribute.identifier}}>\\n      <span class=\\\"{{this.formatter.cssClasses}} time js__user-list-link user-list__cell-link\\\"\\n        data-attribute-identifier={{@attribute.identifier}}\\n        data-lookup-key={{this.formatter.identifier}}\\n        data-is-company=\\\"{{@isCompany}}\\\"\\n        data-is-url={{this.formatter.isUrl}}\\n        data-id={{@user.id}}\\n        data-test-attribute-date-tooltip\\n        {{tooltip content=(full-date-and-time-helper this.formatter.rawValue)}}\\n      >\\n        {{this.formatter.parsedValue}}\\n      </span>\\n    </td>\\n  {{else}}\\n    <td class=\\\"tbl__cell\\\" data-test-attribute-identifier={{@attribute.identifier}}>\\n      {{#if (or (eq @attribute.identifier \\\"last_conversation_rating_given\\\") (eq this.formatter.type \\\"last_conversation_rating_given\\\"))}}\\n        <div class=\\\"user-list__cell-link__conversation-rating conversation-rating__rating-{{this.formatter.rawValue}}\\\"></div>\\n      {{/if}}\\n      <span class=\\\"{{this.formatter.cssClasses}} js__user-list-link user-list__cell-link\\\"\\n        data-attribute-identifier={{@attribute.identifier}}\\n        data-lookup-key={{this.formatter.identifier}}\\n        data-is-company=\\\"{{@isCompany}}\\\"\\n        data-is-url={{this.formatter.isUrl}}\\n        data-id={{@user.id}}>\\n        {{this.formatter.parsedValue}}\\n      </span>\\n    </td>\\n  {{/if}}\\n{{else}}\\n  {{#if (or (eq this.formatter.identifier \\\"anonymous\\\") (eq @attribute.type \\\"anonymous\\\"))}}\\n    <span data-test-attribute-identifier={{@attribute.identifier}}>{{this.formatter.parsedValue}}</span>\\n  {{else if (or (eq this.formatter.identifier \\\"date\\\") (eq @attribute.type \\\"date\\\"))}}\\n    <span class=\\\"{{this.formatter.cssClasses}} time js__user-list-link user-list__cell-link\\\"\\n      data-attribute-identifier={{@attribute.identifier}}\\n      data-lookup-key={{this.formatter.identifier}}\\n      data-is-company=\\\"{{@isCompany}}\\\"\\n      data-is-url={{this.formatter.isUrl}}\\n      data-id={{@user.id}}\\n      data-test-attribute-date-tooltip\\n      data-test-attribute-identifier={{@attribute.identifier}}\\n      {{tooltip content=(full-date-and-time-helper this.formatter.rawValue)}}\\n    >\\n      {{this.formatter.parsedValue}}\\n    </span>\\n  {{else}}\\n    <span data-test-attribute-identifier={{@attribute.identifier}}>\\n      {{#if (or (eq @attribute.identifier \\\"last_conversation_rating_given\\\") (eq this.formatter.type \\\"last_conversation_rating_given\\\"))}}\\n        <div class=\\\"user-list__cell-link__conversation-rating conversation-rating__rating-{{this.formatter.rawValue}}\\\"></div>\\n      {{/if}}\\n      <span class=\\\"{{this.formatter.cssClasses}} js__user-list-link user-list__cell-link\\\"\\n        data-attribute-identifier={{@attribute.identifier}}\\n        data-lookup-key={{this.formatter.identifier}}\\n        data-is-company=\\\"{{@isCompany}}\\\"\\n        data-is-url={{this.formatter.isUrl}}\\n        data-id={{@user.id}}>\\n        {{this.formatter.parsedValue}}\\n      </span>\\n    </span>\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/users/table/cell.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users/table/cell.hbs\"}});\nimport Component from '@glimmer/component';\nimport TableDataFormatter from 'embercom/components/users/table/table-data-formatter';\n\nexport default class UsersTableCellComponent extends Component {\n  /* @pat - To make sure the \"Last Seen\" issue field does not auto update when updating user presence, we only set the formatter on init.\n  See https://github.com/intercom/intercom/issues/30291 which documents the bug it prevents. */\n  formatter = TableDataFormatter.create({\n    userOrCompany: this.args.user,\n    attribute: this.args.attribute,\n    isCompany: this.args.isCompany,\n  });\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport { empty, equal, or } from '@ember/object/computed';\nimport { typeOf } from '@ember/utils';\nimport { htmlSafe } from '@ember/string';\nimport EmberObject, { get, computed } from '@ember/object';\nimport Em from 'ember';\nimport DateFormatter from 'embercom/vendor/intercom/date-formatter';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport moment from 'moment';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\nimport Admin from 'embercom/models/admin';\n\nlet emberEscape = Em.Handlebars.Utils.escapeExpression;\n\nlet TagsParser = {\n  userTagsToString(user, attribute) {\n    let tags;\n    if (attribute.get('isCompany')) {\n      tags = get(user, 'mostRecentCompany.existingTags');\n    } else {\n      tags = get(user, 'existingTags');\n    }\n    return this.tagsToString(tags);\n  },\n  companyTagsToString(company) {\n    return this.tagsToString(get(company, 'existingTags'));\n  },\n  companySegmentsToString(company) {\n    return this.tagsToString(get(company, 'segments'));\n  },\n  tagsToString(tags) {\n    let value;\n    if (tags) {\n      //TODO: GJ: extract this logic\n      value = tags\n        .slice(0, 2)\n        .map(function(tag) {\n          return tag.get('name');\n        })\n        .join(', ');\n      let count = parseInt(tags.length, 10);\n      if (count > 2) {\n        value = `${value} and ${count - 2} more`;\n      }\n    }\n    return value;\n  },\n};\n\nlet TableDataFormatter = EmberObject.extend({\n  identifier: computed('attribute', 'isCompany', function() {\n    let attributeIdentifierKey = this.isCompany ? 'attribute.companyPath' : 'attribute.userPath';\n    return this.get(attributeIdentifierKey);\n  }),\n\n  rawValue: computed('userOrCompany', 'identifier', function() {\n    return this.userOrCompany.get(this.identifier);\n  }),\n\n  parsedValue: computed('rawValue', 'attribute', function() {\n    let type = this.attribute.get('type');\n    let parser = this.parsers[type];\n    let parsedValue;\n    if (parser !== undefined) {\n      parsedValue = emberEscape(parser.apply(this));\n    } else {\n      parsedValue = emberEscape(this.rawValue);\n    }\n    if (!parsedValue) {\n      parsedValue = 'Unknown';\n    }\n    return htmlSafe(parsedValue);\n  }),\n\n  isUrl: computed('rawValue', function() {\n    if (typeOf(this.rawValue) === 'string' && this.attribute.get('type') === 'string') {\n      return this.rawValue.match(/^\\s*https?:\\/\\/\\S*/);\n    }\n    return false;\n  }),\n\n  isEmpty: empty('parsedValue.string'),\n  isUnknown: equal('parsedValue.string', 'Unknown'),\n  isEmptyOrUnknown: or('isEmpty', 'isUnknown'),\n  cssClasses: computed('rawValue', function() {\n    let classes;\n    if (this.isEmptyOrUnknown) {\n      classes = 'text-gray u__disable-pointer-events';\n    } else if (this.isCompany && this.identifier === 'last_request_at') {\n      let minutesSinceLastRequest = DateFormatter.forcedPastMinuteDiff(this.rawValue);\n      if (minutesSinceLastRequest < 5) {\n        classes = 'text-green-dark';\n      }\n    }\n    return classes;\n  }),\n  isUnixTimestamp: computed('rawValue', function() {\n    return this.rawValue && !isNaN(this.rawValue);\n  }),\n  unixTimestampToTimeString: computed('rawValue', function() {\n    return moment.unix(this.rawValue).toString();\n  }),\n  cleanedDateValue: ternaryToProperty('isUnixTimestamp', 'unixTimestampToTimeString', 'rawValue'),\n  parsers: {\n    browser_locale() {\n      return this.get('userOrCompany.locale.name');\n    },\n    company_tag() {\n      return TagsParser.companySegmentsToString(this.userOrCompany, this.attribute);\n    },\n    owner_id() {\n      let rawValue = this.rawValue;\n      if (!rawValue) {\n        return;\n      }\n      return Admin.peekAndMaybeLoad(getEmberDataStore(), rawValue).get('name');\n    },\n    manual_tag() {\n      let tagsParser = this.isCompany\n        ? TagsParser.companyTagsToString\n        : TagsParser.userTagsToString;\n      return tagsParser.call(TagsParser, this.userOrCompany, this.attribute);\n    },\n    plan() {\n      let planAttr = this.isCompany ? 'plan.name' : 'mostRecentCompany.plan.name';\n      return get(this.userOrCompany, planAttr);\n    },\n    date() {\n      if (this.cleanedDateValue) {\n        return DateFormatter.attributeFromNow(\n          this.cleanedDateValue,\n          this.get('attribute.forcedPastFromNow'),\n        );\n      } else {\n        return 'Unknown';\n      }\n    },\n    anonymous() {\n      let value;\n      let rawValue = get(this.userOrCompany, 'is_anonymous');\n      if (rawValue) {\n        value = 'Lead';\n      } else {\n        value = 'User';\n      }\n      return value;\n    },\n    boolean() {\n      let value;\n      let rawValue = this.rawValue;\n      if (rawValue === undefined || rawValue === null) {\n        value = 'Unknown';\n      }\n      if (rawValue === false) {\n        value = 'false';\n      }\n      if (rawValue) {\n        value = 'true';\n      }\n\n      return value;\n    },\n    last_conversation_rating_given() {\n      let rawValue = this.rawValue;\n\n      let hash = {\n        5: 'Amazing',\n        4: 'Great',\n        3: 'Ok',\n        2: 'Bad',\n        1: 'Terrible',\n      };\n      return hash[rawValue];\n    },\n  },\n});\n\nexport default TableDataFormatter;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"profile__styled-map-container u__cf profile__sticky {{if collapsed \\\"profile__sticky__collapsed\\\"}}\\\">\\n  <div class=\\\"profile__static-map-container\\\">\\n    <ImageLoaderComponent @src={{mapUrl}} />\\n    <div class=\\\"profile__static-map-overlay\\\"></div>\\n    {{#if geoipDataAvailable}}\\n      <div class=\\\"profile__dot-map-marker\\\"></div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"profile__map-overlay\\\">\\n    <div class=\\\"profile__user-data\\\">\\n      {{#if shouldRenderHamburgerMenu}}\\n        <Common::HamburgerMenu @includePadding={{false}} />\\n      {{/if}}\\n      <span\\n        class=\\\"profile__user-data__avatar o__in-user-profile-header {{if isAdminAndMe \\\"o__on-admins-own-page\\\"}}\\\"\\n      >\\n        {{#if isAdminAndMe}}\\n          <Admin::AvatarUploadComponent @admin={{user}} />\\n        {{else}}\\n          <IcAvatarComponent @model={{user}} @size=\\\"xl\\\" />\\n        {{/if}}\\n      </span>\\n      <div class=\\\"profile__user-data__name-container\\\">\\n        <span class=\\\"t__h1 test__user-name profile__user-data__name u__left\\\">\\n          <People::Profile::EditableName\\n            class=\\\"attribute__user-profile-header\\\"\\n            @person={{user}}\\n          />\\n        </span>\\n        <span\\n          class=\\\"u__left profile__user-data__stamp {{if user.isAdmin \\\"o__admin-profile\\\"}}\\\"\\n        >\\n          {{ic-stamp stampText}}\\n        </span>\\n        {{#if user.unsubscribed_from_emails}}\\n          <div class=\\\"u__left profile__unsubscribed-status-wrapper\\\">\\n            <span\\n              class=\\\"profile__unsubscribed-stat\\\"\\n              data-test-unsubscribed-stat\\n              {{tooltip content=\\\"Unsubscribed from emails\\\"}}\\n            >\\n              {{ic-interface-icon \\\"unsubscribed\\\"}}\\n            </span>\\n          </div>\\n        {{/if}}\\n        {{#if user.marked_email_as_spam}}\\n          <div class=\\\"u__left profile__bounced-status-wrapper\\\">\\n            <span\\n              class=\\\"profile__bounced-stat\\\"\\n              data-test-bounced-icon\\n              {{tooltip content=\\\"Marked email as spam\\\"}}\\n              >\\n              {{ic-interface-icon \\\"bounced\\\"}}\\n            </span>\\n          </div>\\n        {{/if}}\\n      </div>\\n      <div\\n        class=\\\"profile__user-data__location-container {{if (not user.isAdmin) \\\"profile__user-data__location-container__owner-id\\\"}}\\\"\\n      >\\n        <div class=\\\"layout__box o__has-columns\\\">\\n          <Users::Profile::LocationComponent\\n            @model={{user}}\\n            @geoipData={{geoipData}}\\n            @isAdmin={{user.isAdmin}}\\n          />\\n          {{#if user.isAdmin}}\\n            <span\\n              class=\\\"profile__location o__city u__prevent-breaks\\\"\\n              data-test-last-active\\n            >\\n              {{ic-interface-icon \\\"calendar\\\"}}\\n              {{#if user.last_active}}\\n                {{admin-timeago-helper lastActive}}\\n              {{else}}\\n                <span {{tooltip content=(concat \\\"Unable to determine \\\" model.first_name \\\"'s last activity\\\")}}>\\n                  Unknown\\n                </span>\\n              {{/if}}\\n            </span>\\n          {{else}}\\n            <Users::Profile::OwnerComponent\\n              @person={{user}}\\n              @displayedInProfileHeader={{true}}\\n            />\\n          {{/if}}\\n        </div>\\n      </div>\\n      {{#unless user.isAdmin}}\\n        <div class=\\\"profile__user-data__actions\\\">\\n          {{!-- template-lint-disable intercom/no-legacy-modal --}}\\n          <ModalLinkComponent\\n            @controllerPath=\\\"apps/app/users/segments/segment/modals/message\\\"\\n            @model={{selectionState}}\\n            @orientation=\\\"vertical\\\"\\n            @precision={{true}}\\n            @action=\\\"openMessageModalOrPromptUpgrade\\\"\\n            @onClose={{action this.conversationModalClosed}}\\n            class=\\\"u__left\\\"\\n          >\\n            <IcButton\\n              @type=\\\"primary\\\"\\n              @inRightList={{true}}\\n              @testBindingClass=\\\"test__user-profile__message-composer-button\\\"\\n              data-test-start-conversation-button\\n            >\\n              {{#if app.canUseContentOrientedNavigation}}\\n                {{ic-interface-icon \\\"outbound-filled\\\"}} Send a message\\n              {{else}}\\n                {{ic-interface-icon \\\"outbound-filled\\\"}} Start a conversation\\n              {{/if}}\\n            </IcButton>\\n          </ModalLinkComponent>\\n          {{!-- template-lint-enable intercom/no-legacy-modal --}}\\n          <UserProfileActionsDropdown\\n            @model={{user}}\\n            @deleteUser={{deleteUser}}\\n            @unsubscribeUser={{subscription}}\\n            @resubscribeUser={{subscription}}\\n            @blockUser={{blockUser}}\\n            @impersonateUser={{impersonateUser}}\\n          />\\n        </div>\\n      {{/unless}}\\n    </div>\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"profile__styled-map-container u__cf profile__sticky {{if collapsed \\\"profile__sticky__collapsed\\\"}}\\\">\\n  <div class=\\\"profile__static-map-container\\\">\\n    <ImageLoaderComponent @src={{mapUrl}} />\\n    <div class=\\\"profile__static-map-overlay\\\"></div>\\n    {{#if geoipDataAvailable}}\\n      <div class=\\\"profile__dot-map-marker\\\"></div>\\n    {{/if}}\\n  </div>\\n  <div class=\\\"profile__map-overlay\\\">\\n    <div class=\\\"profile__user-data\\\">\\n      {{#if shouldRenderHamburgerMenu}}\\n        <Common::HamburgerMenu @includePadding={{false}} />\\n      {{/if}}\\n      <span\\n        class=\\\"profile__user-data__avatar o__in-user-profile-header {{if isAdminAndMe \\\"o__on-admins-own-page\\\"}}\\\"\\n      >\\n        {{#if isAdminAndMe}}\\n          <Admin::AvatarUploadComponent @admin={{user}} />\\n        {{else}}\\n          <IcAvatarComponent @model={{user}} @size=\\\"xl\\\" />\\n        {{/if}}\\n      </span>\\n      <div class=\\\"profile__user-data__name-container\\\">\\n        <span class=\\\"t__h1 test__user-name profile__user-data__name u__left\\\">\\n          <People::Profile::EditableName\\n            class=\\\"attribute__user-profile-header\\\"\\n            @person={{user}}\\n          />\\n        </span>\\n        <span\\n          class=\\\"u__left profile__user-data__stamp {{if user.isAdmin \\\"o__admin-profile\\\"}}\\\"\\n        >\\n          {{ic-stamp stampText}}\\n        </span>\\n        {{#if user.unsubscribed_from_emails}}\\n          <div class=\\\"u__left profile__unsubscribed-status-wrapper\\\">\\n            <span\\n              class=\\\"profile__unsubscribed-stat\\\"\\n              data-test-unsubscribed-stat\\n              {{tooltip content=\\\"Unsubscribed from emails\\\"}}\\n            >\\n              {{ic-interface-icon \\\"unsubscribed\\\"}}\\n            </span>\\n          </div>\\n        {{/if}}\\n        {{#if user.marked_email_as_spam}}\\n          <div class=\\\"u__left profile__bounced-status-wrapper\\\">\\n            <span\\n              class=\\\"profile__bounced-stat\\\"\\n              data-test-bounced-icon\\n              {{tooltip content=\\\"Marked email as spam\\\"}}\\n              >\\n              {{ic-interface-icon \\\"bounced\\\"}}\\n            </span>\\n          </div>\\n        {{/if}}\\n      </div>\\n      <div\\n        class=\\\"profile__user-data__location-container {{if (not user.isAdmin) \\\"profile__user-data__location-container__owner-id\\\"}}\\\"\\n      >\\n        <div class=\\\"layout__box o__has-columns\\\">\\n          <Users::Profile::LocationComponent\\n            @model={{user}}\\n            @geoipData={{geoipData}}\\n            @isAdmin={{user.isAdmin}}\\n          />\\n          {{#if user.isAdmin}}\\n            <span\\n              class=\\\"profile__location o__city u__prevent-breaks\\\"\\n              data-test-last-active\\n            >\\n              {{ic-interface-icon \\\"calendar\\\"}}\\n              {{#if user.last_active}}\\n                {{admin-timeago-helper lastActive}}\\n              {{else}}\\n                <span {{tooltip content=(concat \\\"Unable to determine \\\" model.first_name \\\"'s last activity\\\")}}>\\n                  Unknown\\n                </span>\\n              {{/if}}\\n            </span>\\n          {{else}}\\n            <Users::Profile::OwnerComponent\\n              @person={{user}}\\n              @displayedInProfileHeader={{true}}\\n            />\\n          {{/if}}\\n        </div>\\n      </div>\\n      {{#unless user.isAdmin}}\\n        <div class=\\\"profile__user-data__actions\\\">\\n          {{!-- template-lint-disable intercom/no-legacy-modal --}}\\n          <ModalLinkComponent\\n            @controllerPath=\\\"apps/app/users/segments/segment/modals/message\\\"\\n            @model={{selectionState}}\\n            @orientation=\\\"vertical\\\"\\n            @precision={{true}}\\n            @action=\\\"openMessageModalOrPromptUpgrade\\\"\\n            @onClose={{action this.conversationModalClosed}}\\n            class=\\\"u__left\\\"\\n          >\\n            <IcButton\\n              @type=\\\"primary\\\"\\n              @inRightList={{true}}\\n              @testBindingClass=\\\"test__user-profile__message-composer-button\\\"\\n              data-test-start-conversation-button\\n            >\\n              {{#if app.canUseContentOrientedNavigation}}\\n                {{ic-interface-icon \\\"outbound-filled\\\"}} Send a message\\n              {{else}}\\n                {{ic-interface-icon \\\"outbound-filled\\\"}} Start a conversation\\n              {{/if}}\\n            </IcButton>\\n          </ModalLinkComponent>\\n          {{!-- template-lint-enable intercom/no-legacy-modal --}}\\n          <UserProfileActionsDropdown\\n            @model={{user}}\\n            @deleteUser={{deleteUser}}\\n            @unsubscribeUser={{subscription}}\\n            @resubscribeUser={{subscription}}\\n            @blockUser={{blockUser}}\\n            @impersonateUser={{impersonateUser}}\\n          />\\n        </div>\\n      {{/unless}}\\n    </div>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/users/user-profile-header.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/users/user-profile-header.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\nimport { and, not, or } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport LocationData from 'embercom/controllers/mixins/users-and-admins/location-data';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default Component.extend(LocationData, {\n  tagName: '',\n\n  // variables that will be used in handlebar tmpl\n  isAdminAndMe: and('user.isAdmin', 'user.is_me'),\n\n  // attribute used by LocationData mixin\n  modelGeoipData: ternaryToProperty('user.isAdmin', 'user.location_data', 'user.geoip_data'),\n\n  // proxy of actions\n  actions: {\n    openMessageModalOrPromptUpgrade() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('openMessageModalOrPromptUpgrade', ...arguments);\n    },\n  },\n\n  navbarCollapsingService: service(),\n  notCollapsable: not('shouldRenderHamburgerMenu'),\n  collapsed: or('navbarCollapsingService.collapsed', 'notCollapsable'),\n\n  conversationModalClosed: action(function(result) {\n    if (result && result.success && this.onConversationStarted) {\n      this.onConversationStarted();\n    }\n  }),\n});\n","define(\"embercom/components/utils/horizontal-divider\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/utils/horizontal-divider\"], function (_exports, _horizontalDivider) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _horizontalDivider.default;\n    }\n  });\n});\n","define(\"embercom/components/utils/icon-button\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/utils/icon-button\"], function (_exports, _iconButton) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _iconButton.default;\n    }\n  });\n});\n","define(\"embercom/components/utils/info-tooltip\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/utils/info-tooltip\"], function (_exports, _infoTooltip) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _infoTooltip.default;\n    }\n  });\n});\n","define(\"embercom/components/utils/labelled-button\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/utils/labelled-button\"], function (_exports, _labelledButton) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _labelledButton.default;\n    }\n  });\n});\n","define(\"embercom/components/utils/popover\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/utils/popover\"], function (_exports, _popover) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _popover.default;\n    }\n  });\n});\n","define(\"embercom/components/utils/vertical-divider\", [\"exports\", \"@intercom/embercom-prosemirror-composer/components/utils/vertical-divider\"], function (_exports, _verticalDivider) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _verticalDivider.default;\n    }\n  });\n});\n","define(\"embercom/components/vertical-collection\", [\"exports\", \"@html-next/vertical-collection/components/vertical-collection/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _component.default;\n    }\n  });\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"nav-vertical__search__input__wrapper {{if disabled \\\"o__inactive\\\"}}\\\">\\n  {{#if showSearchIcon}}\\n    <span class=\\\"nav-vertical__search__input__icon\\\" data-test-search-input-icon>\\n      {{#if showLoadingIconInsteadOfSearchIcon}}\\n        <IcLoadingIndicator @size=\\\"tiny\\\" />\\n      {{else}}\\n        {{ic-interface-icon \\\"search\\\" color=\\\"gray\\\"}}\\n      {{/if}}\\n    </span>\\n  {{/if}}\\n  {{#if internalSearchStringNotEmpty}}\\n    <a\\n      class=\\\"nav-vertical__search__clear-text__icon\\\"\\n      data-test-clear-search\\n      {{action \\\"clearText\\\" bubbles=false}}\\n    >\\n      {{ic-interface-icon \\\"small-close\\\"}}\\n    </a>\\n  {{/if}}\\n  {{#if disabled}}\\n    <Input\\n      @value={{internalSearchString}}\\n      @disabled={{disabled}}\\n      placeholder={{placeholderText}}\\n      @autocomplete=\\\"off\\\"\\n      class={{textInputClasses}}\\n      {{tooltip content=\\\"We have temporarily disabled the search functionality while we work to resolve issues with our backend search infrastructure.\\\"}}\\n    />\\n  {{else}}\\n    <Input\\n      class={{textInputClasses}}\\n      @value={{internalSearchString}}\\n      placeholder={{placeholderText}}\\n      @autocomplete=\\\"off\\\"\\n      @focus-in={{action \\\"textInputFocused\\\"}}\\n      @focus-out={{action \\\"textInputBlurred\\\"}}\\n      @key-up={{action \\\"textInputKeyUp\\\"}}\\n      data-test-search-input={{true}}\\n    />\\n  {{/if}}\\n  <div\\n    class=\\\"nav-vertical__search__backing {{if (and isOpen selectableItemsNotEmpty) \\\"o__opened\\\"}}\\\"\\n    data-test-search-backing\\n  >\\n    {{#if (and isOpen selectableItemsNotEmpty)}}\\n      <div class=\\\"nav-vertical__search__result__list\\\">\\n        {{#each selectableItems as |item|}}\\n          <a\\n            onclick={{action \\\"selectItem\\\" item}}\\n            class=\\\"dropdown__list-item o__hoverable {{if item.isHighlighted \\\"o__selected\\\"}} u__one-truncated-line\\\"\\n            data-test-select-search-item={{item.name}}\\n          >\\n            {{yield item}}\\n          </a>\\n        {{/each}}\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-element-event-actions --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<div class=\\\"nav-vertical__search__input__wrapper {{if disabled \\\"o__inactive\\\"}}\\\">\\n  {{#if showSearchIcon}}\\n    <span class=\\\"nav-vertical__search__input__icon\\\" data-test-search-input-icon>\\n      {{#if showLoadingIconInsteadOfSearchIcon}}\\n        <IcLoadingIndicator @size=\\\"tiny\\\" />\\n      {{else}}\\n        {{ic-interface-icon \\\"search\\\" color=\\\"gray\\\"}}\\n      {{/if}}\\n    </span>\\n  {{/if}}\\n  {{#if internalSearchStringNotEmpty}}\\n    <a\\n      class=\\\"nav-vertical__search__clear-text__icon\\\"\\n      data-test-clear-search\\n      {{action \\\"clearText\\\" bubbles=false}}\\n    >\\n      {{ic-interface-icon \\\"small-close\\\"}}\\n    </a>\\n  {{/if}}\\n  {{#if disabled}}\\n    <Input\\n      @value={{internalSearchString}}\\n      @disabled={{disabled}}\\n      placeholder={{placeholderText}}\\n      @autocomplete=\\\"off\\\"\\n      class={{textInputClasses}}\\n      {{tooltip content=\\\"We have temporarily disabled the search functionality while we work to resolve issues with our backend search infrastructure.\\\"}}\\n    />\\n  {{else}}\\n    <Input\\n      class={{textInputClasses}}\\n      @value={{internalSearchString}}\\n      placeholder={{placeholderText}}\\n      @autocomplete=\\\"off\\\"\\n      @focus-in={{action \\\"textInputFocused\\\"}}\\n      @focus-out={{action \\\"textInputBlurred\\\"}}\\n      @key-up={{action \\\"textInputKeyUp\\\"}}\\n      data-test-search-input={{true}}\\n    />\\n  {{/if}}\\n  <div\\n    class=\\\"nav-vertical__search__backing {{if (and isOpen selectableItemsNotEmpty) \\\"o__opened\\\"}}\\\"\\n    data-test-search-backing\\n  >\\n    {{#if (and isOpen selectableItemsNotEmpty)}}\\n      <div class=\\\"nav-vertical__search__result__list\\\">\\n        {{#each selectableItems as |item|}}\\n          <a\\n            onclick={{action \\\"selectItem\\\" item}}\\n            class=\\\"dropdown__list-item o__hoverable {{if item.isHighlighted \\\"o__selected\\\"}} u__one-truncated-line\\\"\\n            data-test-select-search-item={{item.name}}\\n          >\\n            {{yield item}}\\n          </a>\\n        {{/each}}\\n      </div>\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/vertical-navigation-search.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/vertical-navigation-search.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable ember/no-jquery */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { empty, not, notEmpty } from '@ember/object/computed';\nimport $ from 'jquery';\nimport EmberObject, { computed } from '@ember/object';\nimport { A } from '@ember/array';\nimport { schedule } from '@ember/runloop';\nimport { isEmpty } from '@ember/utils';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { templateString, ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport { readOnly } from '@ember/object/computed';\n// eslint-disable-next-line @intercom/intercom/no-legacy-dropdown\nimport ComponentDropdownToggler from 'embercom/components/mixins/component-dropdown-toggler';\nimport KeyboardSelectableDropdown from 'embercom/components/mixins/keyboard-selectable-dropdown';\nimport { runDisposables } from 'ember-lifeline';\nimport RunMixin from 'ember-lifeline/mixins/run';\n\nconst SHORTCUT_GROUP = 'nav-search';\n\nexport default Component.extend(KeyboardSelectableDropdown, ComponentDropdownToggler, RunMixin, {\n  appService: service(),\n  app: readOnly('appService.app'),\n  ariaRole: 'search',\n  shortcuts: service(),\n  lastSetSearchString: '',\n  previousInternalSearchString: '',\n  internalSearchString: '',\n  classNames: ['nav-vertical__search', 'layout__box'],\n  classNameBindings: ['updatedSearch:o__updated'],\n  showSearchIcon: false,\n  showLoadingIconInsteadOfSearchIcon: false,\n  avoidCreateAdditionalSearchItem: false,\n\n  init() {\n    this._super(...arguments);\n    this.refreshInternalSearchString();\n    this.setupDefaultItems();\n  },\n\n  destroy() {\n    this._super(...arguments);\n    runDisposables(this);\n  },\n\n  didInsertElement() {\n    this._super(...arguments);\n    this.shortcuts.register(SHORTCUT_GROUP, this, [\n      { key: '/', modalActive: false, method: this.shortcutPressed },\n    ]);\n    if (isEmpty(this.searchString) && !this.preventFocusOnElementInsertion) {\n      schedule('afterRender', () => this.focusOnInput());\n    }\n  },\n\n  willDestroyElement() {\n    this.shortcuts.unregister(SHORTCUT_GROUP);\n    this._super(...arguments);\n  },\n\n  didUpdateAttrs() {\n    this._super(...arguments);\n    if (!this.isDestroying) {\n      this.refreshInternalSearchString();\n    }\n  },\n\n  shortcutPressed() {\n    this.focusOnInput();\n  },\n\n  refreshInternalSearchString() {\n    let searchString = this.searchString;\n    let lastSetSearchString = this.lastSetSearchString;\n    let internalSearchString = this.internalSearchString;\n    if (searchString === undefined) {\n      searchString = '';\n    }\n    if (searchString !== lastSetSearchString) {\n      this.set('lastSetSearchString', searchString);\n      if (searchString !== internalSearchString) {\n        this.set('internalSearchString', searchString);\n        this.set('previousInternalSearchString', searchString);\n      }\n    }\n  },\n\n  setupDefaultItems() {\n    if (this.items === undefined) {\n      this.set('items', A([]));\n    }\n  },\n\n  focusOnInput() {\n    if (this.isDestroying) {\n      return;\n    }\n    let input = $('.nav-vertical__search__input', this.element);\n    if (input === undefined || input.is(':focus')) {\n      return;\n    }\n    schedule('afterRender', this, function() {\n      input.focus();\n    });\n  },\n\n  createSearchItem({\n    isStandardSearch = true,\n    isUserEmailSearch = false,\n    isUserNameSearch = false,\n  } = {}) {\n    return EmberObject.create({\n      name: this.internalSearchString,\n      isHighlighted: this.selectedItemIsStandardSearch,\n      isStandardSearch,\n      isUserEmailSearch,\n      isUserNameSearch,\n    });\n  },\n\n  blurInput() {\n    if (this.isDestroying) {\n      return;\n    }\n    let input = $('.nav-vertical__search__input', this.element);\n    if (input === undefined || !input.is(':focus')) {\n      return;\n    }\n    schedule('afterRender', this, function() {\n      input.blur();\n    });\n  },\n\n  disabled: false,\n  placeHolderText: 'Search…',\n  preventDropdownToggleFromWithin: true,\n  shouldFilterSelectableItems: true,\n  searchString: '',\n  showSuggestions: true,\n  testBindingClass: '',\n  textInputFocused: false,\n  internalSearchStringEmpty: empty('internalSearchString'),\n  internalSearchStringNotEmpty: not('internalSearchStringEmpty'),\n  searchIconClass: ternary('showSearchIcon', 'u__padl__30', ''),\n\n  textInputClasses: templateString(\n    'nav-vertical__search__input ${testBindingClass} ${searchIconClass}',\n  ),\n\n  searchInputIconColor: ternary('shouldShowFullBacking', 'gray', 'white'),\n\n  selectedItemIsStandardSearch: computed('currentHighlightedItem', function() {\n    let currentHighlightedItem = this.currentHighlightedItem;\n    return currentHighlightedItem === undefined || currentHighlightedItem.isStandardSearch;\n  }),\n\n  selectableItems: computed(\n    'internalSearchString',\n    'avoidCreateAdditionalSearchItem',\n    'items.[]',\n    'showSuggestions',\n    'isOpen',\n    function() {\n      if (!this.showSuggestions || !this.isOpen) {\n        return A([]);\n      }\n      let searchString = this.internalSearchString;\n      let shouldFilterSelectableItems = this.shouldFilterSelectableItems;\n      let selectableItems = this.items;\n      if (shouldFilterSelectableItems) {\n        selectableItems = selectableItems\n          .filter(function(item) {\n            return item.name.toLowerCase().includes(searchString.toLowerCase());\n          })\n          .slice(0, 10);\n      }\n\n      if (selectableItems.length > 0 && selectableItems[0].isStandardSearch) {\n        selectableItems.shift();\n      }\n\n      if (this.internalSearchStringNotEmpty && !this.avoidCreateAdditionalSearchItem) {\n        selectableItems.unshift(this.createSearchItem());\n      }\n      return selectableItems;\n    },\n  ),\n\n  selectableItemsNotEmpty: notEmpty('selectableItems'),\n\n  // We have to provide our own keyDown here\n  keyDown(e) {\n    let keyCode = e.which !== undefined ? e.which : e.keyCode;\n    switch (keyCode) {\n      case 40:\n        this.send('onDown');\n        e.preventDefault();\n        break;\n      case 38:\n        this.send('onUp');\n        e.preventDefault();\n        break;\n      case 13:\n        this.send('onEnter');\n        e.stopPropagation();\n        break;\n      case 27:\n        this.send('onEsc');\n        break;\n      default:\n        this._super(e);\n    }\n  },\n\n  clearSearchString() {\n    this.set('internalSearchString', '');\n  },\n\n  actions: {\n    selectItem(item) {\n      this.doSearch(item);\n      this.send('close');\n      this.blurInput();\n    },\n    textInputFocused() {\n      this.set('textInputFocused', true);\n      this.send('open');\n    },\n    textInputBlurred() {\n      this.set('textInputFocused', false);\n    },\n    textInputKeyUp() {\n      let previousInternalSearchString = this.previousInternalSearchString;\n      let internalSearchString = this.internalSearchString;\n      let onSearchStringChanged = this.onSearchStringChanged;\n\n      if (previousInternalSearchString !== internalSearchString) {\n        this.set('previousInternalSearchString', internalSearchString);\n        if (onSearchStringChanged) {\n          onSearchStringChanged(internalSearchString);\n        }\n      }\n    },\n    clearText() {\n      if (!this.internalSearchStringEmpty) {\n        this.clearSearchString();\n        let resetSearch = this.resetSearch;\n        if (typeof resetSearch === 'function') {\n          resetSearch();\n        }\n        this.focusOnInput();\n      }\n    },\n    close() {\n      this._closeDropdown();\n    },\n    onEsc() {\n      this.clearSearchString();\n      this.send('close');\n    },\n    onEnter() {\n      if (this.isOpen && !this.avoidCreateAdditionalSearchItem) {\n        let item = this.highlightedItem;\n        if (item === undefined) {\n          item = this.createSearchItem();\n        }\n        this.resetHighlightedItem();\n        this.send('selectItem', item);\n      }\n    },\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#let (if @segment.is_predefined (sentence-case @segment.name) @segment.name) as |segmentName|}}\\n  <LinkTo\\n    @route={{if @segment.is_company\\n      'apps.app.companies.segments.segment'\\n      'apps.app.users.segments.segment'\\n    }}\\n    @model={{@segment}}\\n    @query={{hash searchTerm=\\\"\\\"}}\\n    class=\\\"submenu__sections__section__items__item layout__box o__flexes-to-1 o__has-columns\\\"\\n    @activeClass=\\\"o__selected\\\"\\n    {{tooltip\\n      content=segmentName\\n      showOnlyWhenTruncated=true\\n      placement=\\\"right\\\"\\n    }}\\n  >\\n    <span class=\\\"layout__box o__flexes-to-1 u__one-truncated-line\\\" data-tooltip-truncation-marker>\\n      {{segmentName}}\\n    </span>\\n    <span\\n      class=\\\"submenu__sections__section__items__item__count {{if (lt @segment.count 1) \\\"o__zero\\\"}} u__ml__10\\\"\\n    >\\n      {{@segment.formattedCount}}\\n    </span>\\n  </LinkTo>\\n{{/let}}\\n\", {\"contents\":\"{{#let (if @segment.is_predefined (sentence-case @segment.name) @segment.name) as |segmentName|}}\\n  <LinkTo\\n    @route={{if @segment.is_company\\n      'apps.app.companies.segments.segment'\\n      'apps.app.users.segments.segment'\\n    }}\\n    @model={{@segment}}\\n    @query={{hash searchTerm=\\\"\\\"}}\\n    class=\\\"submenu__sections__section__items__item layout__box o__flexes-to-1 o__has-columns\\\"\\n    @activeClass=\\\"o__selected\\\"\\n    {{tooltip\\n      content=segmentName\\n      showOnlyWhenTruncated=true\\n      placement=\\\"right\\\"\\n    }}\\n  >\\n    <span class=\\\"layout__box o__flexes-to-1 u__one-truncated-line\\\" data-tooltip-truncation-marker>\\n      {{segmentName}}\\n    </span>\\n    <span\\n      class=\\\"submenu__sections__section__items__item__count {{if (lt @segment.count 1) \\\"o__zero\\\"}} u__ml__10\\\"\\n    >\\n      {{@segment.formattedCount}}\\n    </span>\\n  </LinkTo>\\n{{/let}}\\n\",\"moduleName\":\"embercom/components/vertical-segment-link.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/vertical-segment-link.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\n\nexport default Component.extend({\n  click() {\n    let exitSearchAction = this.exitSearch;\n    if (typeof exitSearchAction === 'function') {\n      exitSearchAction();\n    }\n  },\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each sortedSegmentsToDisplay as |segment|}}\\n  <VerticalSegmentLink\\n    @segment={{segment}}\\n    @activeSegment={{activeSegment}}\\n    @exitSearch={{exitSearch}}\\n    data-test-vertical-segment-link={{segment.identifier}}\\n  />\\n{{/each}}\\n{{#if hasHiddenSegments}}\\n  <div class=\\\"flex items-start layout__box submenu__sections__section__items__show-more\\\">\\n    <div class=\\\"flex-auto min-w-0\\\">\\n      <a\\n        class=\\\"btn__tertiary__deemphasized o__smaller\\\"\\n        {{action (toggle \\\"listIsCollapsed\\\" this)}}\\n      >\\n        {{#if listIsCollapsed}}\\n          Show {{sortedHiddenSegments.length}} hidden\\n        {{else}}\\n          Hide\\n        {{/if}}\\n      </a>\\n    </div>\\n    <div class=\\\"u__ml__10 layout__box\\\">\\n      <LinkTo\\n        @route={{segmentSettingsRoute}}\\n        class=\\\"nav-vertical__settings-icon\\\"\\n        {{tooltip content=\\\"Manage visibility\\\" placement=\\\"right\\\"}}\\n      >\\n        {{ic-interface-icon \\\"settings\\\" solo=true}}\\n      </LinkTo>\\n    </div>\\n  </div>\\n  {{#unless listIsCollapsed}}\\n    <SegmentList\\n      @objects={{sortedHiddenSegments}}\\n      @activeSegment={{activeSegment}}\\n      @exitSearch={{exitSearch}}\\n      @containerSelector={{if isCompany \\\".js__company-segment-list\\\" \\\".js__user-segment-list\\\"}}\\n    />\\n  {{/unless}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#each sortedSegmentsToDisplay as |segment|}}\\n  <VerticalSegmentLink\\n    @segment={{segment}}\\n    @activeSegment={{activeSegment}}\\n    @exitSearch={{exitSearch}}\\n    data-test-vertical-segment-link={{segment.identifier}}\\n  />\\n{{/each}}\\n{{#if hasHiddenSegments}}\\n  <div class=\\\"flex items-start layout__box submenu__sections__section__items__show-more\\\">\\n    <div class=\\\"flex-auto min-w-0\\\">\\n      <a\\n        class=\\\"btn__tertiary__deemphasized o__smaller\\\"\\n        {{action (toggle \\\"listIsCollapsed\\\" this)}}\\n      >\\n        {{#if listIsCollapsed}}\\n          Show {{sortedHiddenSegments.length}} hidden\\n        {{else}}\\n          Hide\\n        {{/if}}\\n      </a>\\n    </div>\\n    <div class=\\\"u__ml__10 layout__box\\\">\\n      <LinkTo\\n        @route={{segmentSettingsRoute}}\\n        class=\\\"nav-vertical__settings-icon\\\"\\n        {{tooltip content=\\\"Manage visibility\\\" placement=\\\"right\\\"}}\\n      >\\n        {{ic-interface-icon \\\"settings\\\" solo=true}}\\n      </LinkTo>\\n    </div>\\n  </div>\\n  {{#unless listIsCollapsed}}\\n    <SegmentList\\n      @objects={{sortedHiddenSegments}}\\n      @activeSegment={{activeSegment}}\\n      @exitSearch={{exitSearch}}\\n      @containerSelector={{if isCompany \\\".js__company-segment-list\\\" \\\".js__user-segment-list\\\"}}\\n    />\\n  {{/unless}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/vertical-segment-list.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/vertical-segment-list.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { readOnly, setDiff, sort, notEmpty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Component from '@ember/component';\nimport { segmentSortFunction } from 'embercom/lib/segments/sorting';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n  segmentSettingsRoute: ternary(\n    'isCompany',\n    'apps.app.account.visibility.company-segments',\n    'apps.app.account.visibility.user-segments',\n  ),\n  visibleSegments: computed('segments.[]', 'admin.visible_segment_ids.[]', function() {\n    let visibleSegmentIds = this.get('admin.visible_segment_ids');\n    if (!visibleSegmentIds) {\n      return [];\n    }\n    return this.segments.filter(function(segment) {\n      if (!segment.get('is_editable')) {\n        return true;\n      }\n      return visibleSegmentIds.includes(segment.get('id').toString());\n    });\n  }),\n  hiddenSegments: setDiff('segments', 'visibleSegments'),\n  sortedHiddenSegments: sort('hiddenSegments', segmentSortFunction),\n  hasHiddenSegments: notEmpty('hiddenSegments'),\n  sortedSegmentsToDisplay: sort('visibleSegments', segmentSortFunction),\n  listIsCollapsed: true,\n});\n","import VideoEditor from '@intercom/embercom-composer/components/video-editor';\nexport default VideoEditor;\n","import VideoFileEditor from '@intercom/embercom-composer/components/video-file-editor';\nexport default VideoFileEditor;\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcCard\\n  @padding=\\\"none\\\"\\n  ...attributes\\n  as |card|\\n>\\n  <card.section @padding=\\\"none\\\">\\n    <video width=\\\"100%\\\" height=\\\"100%\\\" autoplay controls>\\n      <source\\n        src=\\\"https://customer-videos.intercomcdn.com/{{@videoKey}}.mp4\\\"\\n        type=\\\"video/mp4\\\"\\n      />\\n      Your browser does not support the video tag.\\n    </video>\\n  </card.section>\\n\\n  {{#if this.project}}\\n    <card.section @padding=\\\"relaxed\\\">\\n      <div class=\\\"flex flex-row items-center justify-between flex-1\\\">\\n        <div class=\\\"flex flex-col gap-1\\\">\\n          <Heading @size=\\\"2\\\">\\n            {{this.project.title}}\\n          </Heading>\\n\\n          {{#if this.project.subtitle}}\\n            <Text>\\n              {{this.project.subtitle}}\\n            </Text>\\n          {{/if}}\\n        </div>\\n\\n        <IcButton\\n          @type=\\\"primary\\\"\\n          @size=\\\"call-to-action\\\"\\n          @label={{this.project.ctaText}}\\n          @onClick={{this.ctaClickHandler}}\\n        />\\n      </div>\\n    </card.section>\\n  {{/if}}\\n</IcCard>\\n\", {\"contents\":\"<IcCard\\n  @padding=\\\"none\\\"\\n  ...attributes\\n  as |card|\\n>\\n  <card.section @padding=\\\"none\\\">\\n    <video width=\\\"100%\\\" height=\\\"100%\\\" autoplay controls>\\n      <source\\n        src=\\\"https://customer-videos.intercomcdn.com/{{@videoKey}}.mp4\\\"\\n        type=\\\"video/mp4\\\"\\n      />\\n      Your browser does not support the video tag.\\n    </video>\\n  </card.section>\\n\\n  {{#if this.project}}\\n    <card.section @padding=\\\"relaxed\\\">\\n      <div class=\\\"flex flex-row items-center justify-between flex-1\\\">\\n        <div class=\\\"flex flex-col gap-1\\\">\\n          <Heading @size=\\\"2\\\">\\n            {{this.project.title}}\\n          </Heading>\\n\\n          {{#if this.project.subtitle}}\\n            <Text>\\n              {{this.project.subtitle}}\\n            </Text>\\n          {{/if}}\\n        </div>\\n\\n        <IcButton\\n          @type=\\\"primary\\\"\\n          @size=\\\"call-to-action\\\"\\n          @label={{this.project.ctaText}}\\n          @onClick={{this.ctaClickHandler}}\\n        />\\n      </div>\\n    </card.section>\\n  {{/if}}\\n</IcCard>\\n\",\"moduleName\":\"embercom/components/video/personalized-video-player.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/video/personalized-video-player.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport redirect from 'embercom/lib/redirect';\nimport { getVideoProjectByKey } from 'embercom/lib/video/video-projects';\n\nexport default class PersonalisedVideoPlayer extends Component {\n  get project() {\n    return getVideoProjectByKey(this.args.videoKey);\n  }\n\n  @action\n  ctaClickHandler() {\n    redirect(this.project.ctaUrl);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"layout__box o__flexes-to-1\\\">\\n  <IcAvatarComponent @withText={{true}} @model={{inbox.admin}} @size=\\\"s\\\" />\\n  <span class=\\\"visibility__row__name\\\">\\n    {{if isMeInbox \\\"You\\\" inbox.name}}\\n  </span>\\n</span>\\n<span\\n  data-test-inboxes-visibility-row-status=\\\"{{isHidden}}\\\"\\n  class=\\\"visibility__row__status\\\"\\n>\\n  {{#if isDefault}}\\n    Default\\n  {{else if adminBelongsToTeam}}\\n    You're on this team\\n  {{else}}\\n    <a\\n      class=\\\"btn__tertiary visibility__row__status__toggle\\\"\\n      {{action toggleInboxVisibility inbox.id isHidden}}\\n    >\\n      Make {{if isHidden \\\"visible\\\" \\\"hidden\\\"}}\\n    </a>\\n  {{/if}}\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span class=\\\"layout__box o__flexes-to-1\\\">\\n  <IcAvatarComponent @withText={{true}} @model={{inbox.admin}} @size=\\\"s\\\" />\\n  <span class=\\\"visibility__row__name\\\">\\n    {{if isMeInbox \\\"You\\\" inbox.name}}\\n  </span>\\n</span>\\n<span\\n  data-test-inboxes-visibility-row-status=\\\"{{isHidden}}\\\"\\n  class=\\\"visibility__row__status\\\"\\n>\\n  {{#if isDefault}}\\n    Default\\n  {{else if adminBelongsToTeam}}\\n    You're on this team\\n  {{else}}\\n    <a\\n      class=\\\"btn__tertiary visibility__row__status__toggle\\\"\\n      {{action toggleInboxVisibility inbox.id isHidden}}\\n    >\\n      Make {{if isHidden \\\"visible\\\" \\\"hidden\\\"}}\\n    </a>\\n  {{/if}}\\n</span>\\n\",\"moduleName\":\"embercom/components/visibility/inbox-visibility-row.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/visibility/inbox-visibility-row.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport { computed } from '@ember/object';\nimport { or } from '@ember/object/computed';\nimport Component from '@ember/component';\nimport { equalToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Component.extend({\n  classNames: ['layout__box', 'o__centers-vertically', 'visibility__row'],\n  isMeInbox: equalToProperty('inbox.id', 'currentAdmin.id'),\n  isDefault: or('inbox.{isMentionsInbox,isUnassignedInbox,isAllInbox}', 'isMeInbox'),\n  adminBelongsToTeam: computed('inbox', 'currentAdmin', function() {\n    let inbox = this.inbox;\n    return inbox.adminBelongsToTeam(this.currentAdmin);\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<a\\n  class=\\\"btn__tertiary\\\"\\n  data-test-make-visible\\n  {{action @tableActions.showSegment @row}}\\n>\\n  Make visible\\n</a>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<a\\n  class=\\\"btn__tertiary\\\"\\n  data-test-make-visible\\n  {{action @tableActions.showSegment @row}}\\n>\\n  Make visible\\n</a>\\n\",\"moduleName\":\"embercom/components/visibility/segments/table-cells/actions-for-hidden.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/visibility/segments/table-cells/actions-for-hidden.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if @row.is_editable}}\\n  <a\\n    class=\\\"btn__tertiary\\\"\\n    data-test-make-hidden\\n    {{action @tableActions.hideSegment @row}}\\n  >\\n    Make hidden\\n  </a>\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n{{#if @row.is_editable}}\\n  <a\\n    class=\\\"btn__tertiary\\\"\\n    data-test-make-hidden\\n    {{action @tableActions.hideSegment @row}}\\n  >\\n    Make hidden\\n  </a>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/visibility/segments/table-cells/actions-for-visible.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/visibility/segments/table-cells/actions-for-visible.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if row.isPredefined}}\\n  Default Segment\\n{{else}}\\n  {{#if row.created_by_id}}\\n    {{#if teammate.id}}\\n      <LinkTo\\n        @route=\\\"apps.app.admins.admin\\\"\\n        @model={{teammate.id}}\\n        class=\\\"t__solo-link\\\"\\n      >\\n        {{ic-avatar model=teammate size=\\\"s\\\" withText=true ~}}\\n        <span class=\\\"u__padl__5\\\">\\n          {{teammateName}}\\n        </span>\\n      </LinkTo>\\n    {{else}}\\n      {{ic-avatar model=teammate size=\\\"s\\\"}}\\n      <span class=\\\"u__padl__5\\\">\\n        {{teammateName}}\\n      </span>\\n    {{/if}}\\n  {{else}}\\n    -\\n  {{/if}}\\n{{/if}}\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n{{#if row.isPredefined}}\\n  Default Segment\\n{{else}}\\n  {{#if row.created_by_id}}\\n    {{#if teammate.id}}\\n      <LinkTo\\n        @route=\\\"apps.app.admins.admin\\\"\\n        @model={{teammate.id}}\\n        class=\\\"t__solo-link\\\"\\n      >\\n        {{ic-avatar model=teammate size=\\\"s\\\" withText=true ~}}\\n        <span class=\\\"u__padl__5\\\">\\n          {{teammateName}}\\n        </span>\\n      </LinkTo>\\n    {{else}}\\n      {{ic-avatar model=teammate size=\\\"s\\\"}}\\n      <span class=\\\"u__padl__5\\\">\\n        {{teammateName}}\\n      </span>\\n    {{/if}}\\n  {{else}}\\n    -\\n  {{/if}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/visibility/segments/table-cells/created-by.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/visibility/segments/table-cells/created-by.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed, default as EmberObject } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  store: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n  unknownTeammate: computed('app', function() {\n    return EmberObject.create({\n      nameOrEmail: `${this.get('app.name')} Teammate`,\n      avatarData: {\n        isTeammate: true,\n      },\n    });\n  }),\n  teammate: computed('app', 'admin', 'unknownTeammate', function() {\n    return this.store.peekRecord('admin', this.get('row.created_by_id')) || this.unknownTeammate;\n  }),\n  teammateName: computed('teammate.id', 'admin.id', function() {\n    return this.get('teammate.id') === this.get('admin.id')\n      ? 'You'\n      : this.get('teammate.nameOrEmail');\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @row.created_at}}\\n  {{full-relative-time-ago-helper @row.created_at}}\\n{{/if}}\\n\", {\"contents\":\"{{#if @row.created_at}}\\n  {{full-relative-time-ago-helper @row.created_at}}\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/visibility/segments/table-cells/created.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/visibility/segments/table-cells/created.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{#if @row.isCompany}}\\n  <LinkTo\\n    @route=\\\"apps.app.companies.segments.segment\\\"\\n    @model={{@row}}\\n    class=\\\"t__solo-link\\\"\\n  >\\n    {{@row.name}}\\n  </LinkTo>\\n{{else}}\\n  <LinkTo\\n    @route=\\\"apps.app.users.segments.segment\\\"\\n    @model={{@row}}\\n    class=\\\"t__solo-link\\\"\\n  >\\n    {{@row.name}}\\n  </LinkTo>\\n{{/if}}\\n\", {\"contents\":\"{{#if @row.isCompany}}\\n  <LinkTo\\n    @route=\\\"apps.app.companies.segments.segment\\\"\\n    @model={{@row}}\\n    class=\\\"t__solo-link\\\"\\n  >\\n    {{@row.name}}\\n  </LinkTo>\\n{{else}}\\n  <LinkTo\\n    @route=\\\"apps.app.users.segments.segment\\\"\\n    @model={{@row}}\\n    class=\\\"t__solo-link\\\"\\n  >\\n    {{@row.name}}\\n  </LinkTo>\\n{{/if}}\\n\",\"moduleName\":\"embercom/components/visibility/segments/table-cells/name.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/visibility/segments/table-cells/name.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<a\\n  class=\\\"btn__tertiary\\\"\\n  data-test-make-visible\\n  {{action @tableActions.showTag @row}}\\n>\\n  Make visible\\n</a>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<a\\n  class=\\\"btn__tertiary\\\"\\n  data-test-make-visible\\n  {{action @tableActions.showTag @row}}\\n>\\n  Make visible\\n</a>\\n\",\"moduleName\":\"embercom/components/visibility/tags/table-cells/actions-for-hidden.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/visibility/tags/table-cells/actions-for-hidden.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<a\\n  class=\\\"btn__tertiary\\\"\\n  data-test-make-hidden\\n  {{action @tableActions.hideTag @row}}\\n>\\n  Make hidden\\n</a>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-action --}}\\n<a\\n  class=\\\"btn__tertiary\\\"\\n  data-test-make-hidden\\n  {{action @tableActions.hideTag @row}}\\n>\\n  Make hidden\\n</a>\\n\",\"moduleName\":\"embercom/components/visibility/tags/table-cells/actions-for-visible.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/visibility/tags/table-cells/actions-for-visible.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span data-test-created-by>\\n  {{#if teammate.id}}\\n    <LinkTo\\n      @route=\\\"apps.app.admins.admin\\\"\\n      @model={{teammate.id}}\\n      class=\\\"t__solo-link layout__box o__centers-vertically\\\"\\n    >\\n      {{ic-avatar model=teammate size=\\\"s\\\"}} <span class=\\\"u__padl__5\\\">\\n        {{displayName}}\\n      </span>\\n    </LinkTo>\\n  {{else}}\\n    {{ic-avatar model=teammate size=\\\"s\\\"}}\\n    <span class=\\\"u__padl__5\\\">\\n      {{displayName}}\\n    </span>\\n  {{/if}}\\n</span>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<span data-test-created-by>\\n  {{#if teammate.id}}\\n    <LinkTo\\n      @route=\\\"apps.app.admins.admin\\\"\\n      @model={{teammate.id}}\\n      class=\\\"t__solo-link layout__box o__centers-vertically\\\"\\n    >\\n      {{ic-avatar model=teammate size=\\\"s\\\"}} <span class=\\\"u__padl__5\\\">\\n        {{displayName}}\\n      </span>\\n    </LinkTo>\\n  {{else}}\\n    {{ic-avatar model=teammate size=\\\"s\\\"}}\\n    <span class=\\\"u__padl__5\\\">\\n      {{displayName}}\\n    </span>\\n  {{/if}}\\n</span>\\n\",\"moduleName\":\"embercom/components/visibility/tags/table-cells/created-by.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/visibility/tags/table-cells/created-by.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { computed, default as EmberObject } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Component.extend({\n  appService: service(),\n  store: service(),\n  app: readOnly('appService.app'),\n  unknownTeammate: computed('app', function() {\n    return EmberObject.create({\n      displayAs: `${this.get('app.name')} Teammate`,\n      avatarData: {\n        isTeammate: true,\n      },\n    });\n  }),\n  teammate: computed('app', 'row.created_by', 'unknownTeammate', function() {\n    // when admins are deleted, their tags remain so to avoid unnecessary network requests\n    // for deleted admins we are fetching directly from the store here.\n    let id = this.row.belongsTo('createdBy').id();\n    if (id) {\n      let admin = this.store.peekRecord('admin', id);\n      if (admin) {\n        return admin;\n      }\n    }\n    return this.unknownTeammate;\n  }),\n  displayName: computed('teammate', function() {\n    return this.get('teammate.id') === this.get('app.currentAdmin.id')\n      ? 'You'\n      : this.get('teammate.displayAs');\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span data-test-created>\\n  {{full-relative-time-ago-helper @row.created_at}}\\n</span>\\n\", {\"contents\":\"<span data-test-created>\\n  {{full-relative-time-ago-helper @row.created_at}}\\n</span>\\n\",\"moduleName\":\"embercom/components/visibility/tags/table-cells/created.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/visibility/tags/table-cells/created.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<a data-test-users-link class=\\\"u__m__10\\\" href={{usersUrl}}>\\n  See users\\n</a>\\n<a data-test-companies-link class=\\\"u__m__10\\\" href={{companiesUrl}}>\\n  See companies\\n</a>\\n<a data-test-conversations-link class=\\\"u__m__10\\\" href={{conversationsUrl}}>\\n  See conversations\\n</a>\\n\", {\"contents\":\"{{!-- === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === --}}\\n{{!-- === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 --}}\\n{{!-- === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 --}}\\n{{!-- template-lint-disable no-implicit-this --}}\\n<a data-test-users-link class=\\\"u__m__10\\\" href={{usersUrl}}>\\n  See users\\n</a>\\n<a data-test-companies-link class=\\\"u__m__10\\\" href={{companiesUrl}}>\\n  See companies\\n</a>\\n<a data-test-conversations-link class=\\\"u__m__10\\\" href={{conversationsUrl}}>\\n  See conversations\\n</a>\\n\",\"moduleName\":\"embercom/components/visibility/tags/table-cells/links.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/visibility/tags/table-cells/links.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file: 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-classic-components */\n/* eslint-disable @intercom/intercom/require-empty-tagname */\nimport Component from '@ember/component';\nimport { tagFilterUrl } from 'embercom/vendor/intercom/tag-filter-url';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Component.extend({\n  tag: readOnly('row'),\n  usersUrl: computed('tag', function() {\n    return tagFilterUrl(this.tag, 'user');\n  }),\n  companiesUrl: computed('tag', function() {\n    return tagFilterUrl(this.tag, 'company');\n  }),\n  conversationsUrl: computed('tag', function() {\n    return tagFilterUrl(this.tag, 'comment');\n  }),\n});\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span data-test-tag-name>\\n  {{@row.name}}\\n</span>\\n\", {\"contents\":\"<span data-test-tag-name>\\n  {{@row.name}}\\n</span>\\n\",\"moduleName\":\"embercom/components/visibility/tags/table-cells/name.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/visibility/tags/table-cells/name.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Paywall\\n  @featureKey={{'inbox_conversation_sla_rules'}}\\n  as |slaPaywall|\\n>\\n  <Rules::Actions::ActionsEditor\\n    @rule={{@workflow}}\\n    @allowedRuleActions={{this.allowedRuleActions}}\\n    @allowConversationAttributes={{this.canUseConversationAttributeData}}\\n    @actionEditorContext={{this.actionEditorContext}}\\n    @actionsType=\\\"then\\\"\\n    @slaPaywall={{slaPaywall}}\\n  />\\n</Paywall>\\n\", {\"contents\":\"<Paywall\\n  @featureKey={{'inbox_conversation_sla_rules'}}\\n  as |slaPaywall|\\n>\\n  <Rules::Actions::ActionsEditor\\n    @rule={{@workflow}}\\n    @allowedRuleActions={{this.allowedRuleActions}}\\n    @allowConversationAttributes={{this.canUseConversationAttributeData}}\\n    @actionEditorContext={{this.actionEditorContext}}\\n    @actionsType=\\\"then\\\"\\n    @slaPaywall={{slaPaywall}}\\n  />\\n</Paywall>\\n\",\"moduleName\":\"embercom/components/workflows/action-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/action-selector.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class ActionSelector extends Component {\n  @service appService;\n\n  @tracked app = this.appService.app;\n  @tracked workflow = this.args.workflow;\n  @tracked actionEditorContext = this.args.actionEditorContext;\n\n  get canUseConversationAttributeData() {\n    return this.app?.canUseConversationAttributeData;\n  }\n\n  get allowedRuleActions() {\n    let actions = [\n      'assign-conversation',\n      'change-conversation-priority',\n      'apply-conversation-sla',\n      'add-tag-to-conversation',\n    ];\n    if (this.app?.canUseWorkflowsCloseConversationAction) {\n      actions.push('close-conversation');\n    }\n    return actions;\n  }\n\n  @action\n  addWorkflowAction(value) {\n    this.args.workflow.actions.createFragment({\n      type: value,\n    });\n  }\n\n  @action\n  removeWorkflowAction(model) {\n    this.args.workflow.actions.removeFragment(model);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row justify-between\\\">\\n  <Common::HamburgerMenu @includePadding={{false}} class=\\\"p-4 pl-8 pr-8\\\">\\n    <Heading @size=\\\"1\\\">\\n      <Pulse::ExpandingInput\\n        @value={{@workflow.name}}\\n        @onUpdate={{set @workflow.name}}\\n        placeholder=\\\"Name this workflow\\\"\\n        maxlength={{128}}\\n        class=\\\"t__h1 min-w-3 max-w-128 py-px workflows__editor__name-input\\\"\\n      />\\n    </Heading>\\n  </Common::HamburgerMenu>\\n  <div class=\\\"flex flex-row items-center gap-4 pr-8\\\">\\n    <IcButtonList as |list|>\\n      {{#if (not this.isCreateMode)}}\\n        <IcDropdownOpener @groupList={{this.moreControlsGroupsList}} @label=\\\"More\\\" class=\\\"mr-3\\\" data-test-workflow-more-button />\\n      {{/if}}\\n      <list.button\\n        @type=\\\"secondary\\\"\\n        @label=\\\"Cancel\\\"\\n        @onClick={{this.cancel}}\\n        data-test-workflow-cancel-button\\n      />\\n      {{#if @workflow.isLive}}\\n        <list.button\\n          @type=\\\"secondary\\\"\\n          @label=\\\"Pause\\\"\\n          @icon=\\\"pause\\\"\\n          @onClick={{this.pause}}\\n        />\\n      {{/if}}\\n      <list.button\\n        @type={{this.saveButtonType}}\\n        @label={{this.saveLabel}}\\n        @icon=\\\"check\\\"\\n        @onClick={{this.saveWorkflow}}\\n        @disabled={{not @workflow.canBeSaved}}\\n        data-test-save-workflow-button\\n      />\\n      {{#if (not @workflow.isLive)}}\\n        <Paywall\\n          @featureKey='inbox_rules'\\n          as |paywall|\\n        >\\n          <paywall.Hover>\\n            <list.button\\n              @type=\\\"primary-live\\\"\\n              @label=\\\"Save and set live\\\"\\n              @icon=\\\"put-live\\\"\\n              @onClick={{this.setLive}}\\n              @disabled={{or (not @workflow.canBeSetLive) paywall.isActive }}\\n              data-test-live-workflow-button\\n            />\\n          </paywall.Hover>\\n        </Paywall>\\n      {{/if}}\\n    </IcButtonList>\\n  </div>\\n</div>\\n\\n<div class=\\\"flex flex-col workflows__editor__main ml-8 mt-6 mb-6\\\">\\n  <Workflows::Editor::ConditionComponent @type=\\\"when\\\">\\n    <Paywall @featureKey=\\\"inbox_rules_awaiting_first_reply_event\\\" as |paywall|>\\n      <Workflows::Editor::TriggerSelector @workflow={{this.workflow}} @inactivityPaywall={{paywall}} />\\n    </Paywall>\\n  </Workflows::Editor::ConditionComponent>\\n  <div class=\\\"mt-6\\\">\\n    <Workflows::Editor::PredicatesEditorComponent\\n      @workflow={{this.workflow}}\\n      @predicateContext={{hash officeHoursSchedules=this.actionEditorContext.officeHoursSchedules}}\\n    />\\n  </div>\\n</div>\\n\\n<hr class=\\\"ml-8 mr-8 mt-0 mb-0\\\"/>\\n\\n<div class=\\\"flex flex-col workflows__editor__main ml-8 mt-8 mb-6\\\">\\n  <Workflows::ActionSelector\\n    @workflow={{this.workflow}}\\n    @actionEditorContext={{this.actionEditorContext}}\\n  />\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row justify-between\\\">\\n  <Common::HamburgerMenu @includePadding={{false}} class=\\\"p-4 pl-8 pr-8\\\">\\n    <Heading @size=\\\"1\\\">\\n      <Pulse::ExpandingInput\\n        @value={{@workflow.name}}\\n        @onUpdate={{set @workflow.name}}\\n        placeholder=\\\"Name this workflow\\\"\\n        maxlength={{128}}\\n        class=\\\"t__h1 min-w-3 max-w-128 py-px workflows__editor__name-input\\\"\\n      />\\n    </Heading>\\n  </Common::HamburgerMenu>\\n  <div class=\\\"flex flex-row items-center gap-4 pr-8\\\">\\n    <IcButtonList as |list|>\\n      {{#if (not this.isCreateMode)}}\\n        <IcDropdownOpener @groupList={{this.moreControlsGroupsList}} @label=\\\"More\\\" class=\\\"mr-3\\\" data-test-workflow-more-button />\\n      {{/if}}\\n      <list.button\\n        @type=\\\"secondary\\\"\\n        @label=\\\"Cancel\\\"\\n        @onClick={{this.cancel}}\\n        data-test-workflow-cancel-button\\n      />\\n      {{#if @workflow.isLive}}\\n        <list.button\\n          @type=\\\"secondary\\\"\\n          @label=\\\"Pause\\\"\\n          @icon=\\\"pause\\\"\\n          @onClick={{this.pause}}\\n        />\\n      {{/if}}\\n      <list.button\\n        @type={{this.saveButtonType}}\\n        @label={{this.saveLabel}}\\n        @icon=\\\"check\\\"\\n        @onClick={{this.saveWorkflow}}\\n        @disabled={{not @workflow.canBeSaved}}\\n        data-test-save-workflow-button\\n      />\\n      {{#if (not @workflow.isLive)}}\\n        <Paywall\\n          @featureKey='inbox_rules'\\n          as |paywall|\\n        >\\n          <paywall.Hover>\\n            <list.button\\n              @type=\\\"primary-live\\\"\\n              @label=\\\"Save and set live\\\"\\n              @icon=\\\"put-live\\\"\\n              @onClick={{this.setLive}}\\n              @disabled={{or (not @workflow.canBeSetLive) paywall.isActive }}\\n              data-test-live-workflow-button\\n            />\\n          </paywall.Hover>\\n        </Paywall>\\n      {{/if}}\\n    </IcButtonList>\\n  </div>\\n</div>\\n\\n<div class=\\\"flex flex-col workflows__editor__main ml-8 mt-6 mb-6\\\">\\n  <Workflows::Editor::ConditionComponent @type=\\\"when\\\">\\n    <Paywall @featureKey=\\\"inbox_rules_awaiting_first_reply_event\\\" as |paywall|>\\n      <Workflows::Editor::TriggerSelector @workflow={{this.workflow}} @inactivityPaywall={{paywall}} />\\n    </Paywall>\\n  </Workflows::Editor::ConditionComponent>\\n  <div class=\\\"mt-6\\\">\\n    <Workflows::Editor::PredicatesEditorComponent\\n      @workflow={{this.workflow}}\\n      @predicateContext={{hash officeHoursSchedules=this.actionEditorContext.officeHoursSchedules}}\\n    />\\n  </div>\\n</div>\\n\\n<hr class=\\\"ml-8 mr-8 mt-0 mb-0\\\"/>\\n\\n<div class=\\\"flex flex-col workflows__editor__main ml-8 mt-8 mb-6\\\">\\n  <Workflows::ActionSelector\\n    @workflow={{this.workflow}}\\n    @actionEditorContext={{this.actionEditorContext}}\\n  />\\n</div>\\n\",\"moduleName\":\"embercom/components/workflows/editor-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/editor-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\n\nexport default class EditorComponent extends Component {\n  @tracked workflow = this.args.workflow;\n  @tracked actionEditorContext = this.args.actionEditorContext;\n  @service router;\n  @service notificationsService;\n  @service intercomEventService;\n  isCreateMode = this.args.mode === 'create';\n\n  get saveLabel() {\n    if (!this.workflow.isLive) {\n      return 'Save and close';\n    } else {\n      return 'Save';\n    }\n  }\n\n  get saveButtonType() {\n    if (!this.workflow.isLive) {\n      return 'secondary';\n    } else {\n      return 'primary';\n    }\n  }\n\n  get moreControlsGroupsList() {\n    return [\n      {\n        items: [\n          {\n            text: 'Delete',\n            icon: 'trash',\n            onSelectItem: () => {\n              this.deleteWorkflow();\n            },\n          },\n        ],\n      },\n    ];\n  }\n\n  @action\n  async saveWorkflow() {\n    let shouldProceed = true;\n\n    if (this.workflow.isLive) {\n      shouldProceed = await this.saveWarning();\n    }\n\n    if (shouldProceed) {\n      return this.workflow\n        .save()\n        .then(() => {\n          this.intercomEventService.trackEvent('workflows', {\n            action: 'save_close',\n            object: 'inbox_rule',\n            place: 'inbox_automation',\n            section: 'respond',\n            rule_id: this.workflow.id,\n          });\n          this.notifyAndRoute('The rule was updated');\n        })\n        .catch(this.genericError.bind(this));\n    }\n  }\n\n  @action\n  deleteWorkflow() {\n    let confirmOptions = {\n      title: 'Are you sure you want to delete?',\n      primaryButtonType: 'primary-destructive',\n      confirmButtonText: 'Delete workflow',\n      cancelButtonText: 'Cancel',\n      body: \"This is permanent. You won't be able to get your rule back\",\n    };\n    intercomConfirm(this, confirmOptions).then(() => {\n      this.workflow\n        .destroyRecord()\n        .then(() => {\n          this.notifyAndRoute('The rule was deleted');\n        })\n        .catch(this.genericError.bind(this));\n    });\n  }\n\n  @action\n  pause() {\n    this.workflow.set('status', 'paused');\n    this.workflow\n      .save()\n      .then(() => {\n        this.notifyAndRoute('The rule was paused');\n      })\n      .catch(() => {\n        this.workflow.set('status', 'live');\n        this.genericError.bind(this);\n      });\n  }\n\n  @action\n  async setLive() {\n    let shouldProceed = await this.saveWarning();\n\n    if (shouldProceed) {\n      this.workflow.set('status', 'live');\n      return this.workflow\n        .save()\n        .then(() => {\n          this.intercomEventService.trackEvent('workflows', {\n            action: 'set_live',\n            object: 'inbox_rule',\n            place: 'inbox_automation',\n            section: 'respond',\n            rule_id: this.workflow.id,\n          });\n          this.notifyAndRoute('The rule was set live');\n        })\n        .catch(() => {\n          this.workflow.set('status', 'paused');\n          this.genericError().bind(this);\n        });\n    }\n  }\n\n  async saveWarning() {\n    if (!this.workflow.hasSaveWarning) {\n      return true;\n    }\n\n    let confirmOptions = {\n      title: \"You're about to turn on this Rule\",\n      primaryButtonType: 'primary-live',\n      confirmButtonText: 'Yes, turn it on',\n      cancelButtonText: 'Cancel',\n      body: this.workflow.saveWarningText,\n    };\n\n    return await intercomConfirm(this, confirmOptions)\n      .then(() => {\n        return true;\n      })\n      .catch(() => {\n        return false;\n      });\n  }\n\n  @action\n  cancel() {\n    if (this.isCreateMode) {\n      this.workflow\n        .destroyRecord()\n        .then(() => {\n          this.notifyAndRoute();\n        })\n        .catch(() =>\n          this.notificationsService.notifyError(\n            \"Something went wrong and we couldn't delete your rule. Please try again.\",\n          ),\n        );\n    } else {\n      this.notifyAndRoute();\n    }\n  }\n\n  notifyAndRoute(message) {\n    if (message) {\n      this.notificationsService.notifyConfirmation(message);\n    }\n    this.router.transitionTo('apps.app.inbox.automation.workflows.list');\n  }\n\n  genericError() {\n    this.notificationsService.notifyError(\n      \"Something went wrong and we couldn't save your rule. Please try again.\",\n    );\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row\\\">\\n  <div class=\\\"flex flex-row mr-6\\\">\\n    <div class=\\\"if-this-then-that__main\\\">\\n      {{@type}}\\n    </div>\\n    <div class=\\\"if-this-then-that__caret\\\">\\n      <svg xmlns=\\\"http://www.w3.org/2000/svg\\\" height=\\\"38\\\" viewBox=\\\"0 0 8 38\\\"><path class=\\\"if-this-then-that__caret__whiteout\\\" d=\\\"M0 0h.3c.4 0 .8.3.9.7l6.7 18c.1.2.1.5 0 .7l-6.7 18c-.1.3-.5.6-.9.6H0V0z\\\"/><path class=\\\"if-this-then-that__caret__stroke\\\" d=\\\"M.3 38H0v-1h.3L7 19 .3 1H0V0h.3c.4 0 .8.3.9.7l6.7 18c.1.2.1.5 0 .7l-6.7 18c-.1.3-.5.6-.9.6z\\\"/></svg>\\n    </div>\\n  </div>\\n  {{yield}}\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row\\\">\\n  <div class=\\\"flex flex-row mr-6\\\">\\n    <div class=\\\"if-this-then-that__main\\\">\\n      {{@type}}\\n    </div>\\n    <div class=\\\"if-this-then-that__caret\\\">\\n      <svg xmlns=\\\"http://www.w3.org/2000/svg\\\" height=\\\"38\\\" viewBox=\\\"0 0 8 38\\\"><path class=\\\"if-this-then-that__caret__whiteout\\\" d=\\\"M0 0h.3c.4 0 .8.3.9.7l6.7 18c.1.2.1.5 0 .7l-6.7 18c-.1.3-.5.6-.9.6H0V0z\\\"/><path class=\\\"if-this-then-that__caret__stroke\\\" d=\\\"M.3 38H0v-1h.3L7 19 .3 1H0V0h.3c.4 0 .8.3.9.7l6.7 18c.1.2.1.5 0 .7l-6.7 18c-.1.3-.5.6-.9.6z\\\"/></svg>\\n    </div>\\n  </div>\\n  {{yield}}\\n</div>\\n\",\"moduleName\":\"embercom/components/workflows/editor/condition-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/editor/condition-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Predicates::PredicatesEditor\\n  @mode=\\\"rules\\\"\\n  @predicates={{this.predicateGroup.predicates}}\\n  @attributeGroupList={{this.attributeGroupList}}\\n  @predicateContext={{@predicateContext}}\\n  class={{concat\\n    \\\"users-and-companies__predicates-editor \\\"\\n    (if this.connectionSwitcherHovered \\\"o__connection-switcher-hovered\\\")\\n  }}\\n  @onUpdate={{this.onPredicatesUpdate}} as |predicatesEditor|\\n>\\n  <div>\\n    <Workflows::Editor::ConditionComponent @type=\\\"if\\\">\\n      <div class=\\\"flex flex-col gap-2\\\">\\n        <div>\\n\\n          {{#each predicatesEditor.predicates as |predicate index|}}\\n            {{#if index}}\\n              <predicatesEditor.components.logicalSwitcher\\n                class=\\\"u__left u__mb__5 users-and-companies__predicates-editor__connection-switcher\\\"\\n                @mouseEnter={{set this.connectionSwitcherHovered true}}\\n                @mouseLeave={{set this.connectionSwitcherHovered false}}\\n                @items={{array (hash text='and' value='and') (hash text='or' value='or')}}\\n                as |switcher|\\n              >\\n                <div class=\\\"users-and-companies__predicates-editor__connection-switcher-label u__pointer-cursor {{if switcher.dropdownIsOpen \\\"o__active\\\"}}\\\">\\n                  {{switcher.label}}\\n                </div>\\n              </predicatesEditor.components.logicalSwitcher>\\n            {{/if}}\\n\\n            {{#if predicate.canBeGrouped}}\\n              <predicatesEditor.components.filterGroupEditor\\n                class=\\\"rule-editor__block\\\"\\n                @isOneLine={{true}}\\n                @index={{index}}\\n                @predicate={{predicate}}\\n                @predicateContext={{@predicateContext}}\\n              />\\n            {{else}}\\n              <predicatesEditor.components.predicateEditor\\n                class=\\\"rule-editor__block\\\"\\n                @isOneLine={{true}}\\n                @index={{index}}\\n                @predicate={{predicate}}\\n                @predicateContext={{@predicateContext}}\\n              />\\n            {{/if}}\\n          {{/each}}\\n        </div>\\n\\n        <div class=\\\"flex flex-row items-center\\\">\\n          <predicatesEditor.components.attributePickerOpener @label=\\\"Add condition\\\"/>\\n        </div>\\n      </div>\\n    </Workflows::Editor::ConditionComponent>\\n  </div>\\n</Predicates::PredicatesEditor>\\n\", {\"contents\":\"<Predicates::PredicatesEditor\\n  @mode=\\\"rules\\\"\\n  @predicates={{this.predicateGroup.predicates}}\\n  @attributeGroupList={{this.attributeGroupList}}\\n  @predicateContext={{@predicateContext}}\\n  class={{concat\\n    \\\"users-and-companies__predicates-editor \\\"\\n    (if this.connectionSwitcherHovered \\\"o__connection-switcher-hovered\\\")\\n  }}\\n  @onUpdate={{this.onPredicatesUpdate}} as |predicatesEditor|\\n>\\n  <div>\\n    <Workflows::Editor::ConditionComponent @type=\\\"if\\\">\\n      <div class=\\\"flex flex-col gap-2\\\">\\n        <div>\\n\\n          {{#each predicatesEditor.predicates as |predicate index|}}\\n            {{#if index}}\\n              <predicatesEditor.components.logicalSwitcher\\n                class=\\\"u__left u__mb__5 users-and-companies__predicates-editor__connection-switcher\\\"\\n                @mouseEnter={{set this.connectionSwitcherHovered true}}\\n                @mouseLeave={{set this.connectionSwitcherHovered false}}\\n                @items={{array (hash text='and' value='and') (hash text='or' value='or')}}\\n                as |switcher|\\n              >\\n                <div class=\\\"users-and-companies__predicates-editor__connection-switcher-label u__pointer-cursor {{if switcher.dropdownIsOpen \\\"o__active\\\"}}\\\">\\n                  {{switcher.label}}\\n                </div>\\n              </predicatesEditor.components.logicalSwitcher>\\n            {{/if}}\\n\\n            {{#if predicate.canBeGrouped}}\\n              <predicatesEditor.components.filterGroupEditor\\n                class=\\\"rule-editor__block\\\"\\n                @isOneLine={{true}}\\n                @index={{index}}\\n                @predicate={{predicate}}\\n                @predicateContext={{@predicateContext}}\\n              />\\n            {{else}}\\n              <predicatesEditor.components.predicateEditor\\n                class=\\\"rule-editor__block\\\"\\n                @isOneLine={{true}}\\n                @index={{index}}\\n                @predicate={{predicate}}\\n                @predicateContext={{@predicateContext}}\\n              />\\n            {{/if}}\\n          {{/each}}\\n        </div>\\n\\n        <div class=\\\"flex flex-row items-center\\\">\\n          <predicatesEditor.components.attributePickerOpener @label=\\\"Add condition\\\"/>\\n        </div>\\n      </div>\\n    </Workflows::Editor::ConditionComponent>\\n  </div>\\n</Predicates::PredicatesEditor>\\n\",\"moduleName\":\"embercom/components/workflows/editor/predicates-editor-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/editor/predicates-editor-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { copy } from 'ember-copy';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class PredicatesEditorComponent extends Component {\n  @service attributeService;\n  @tracked predicateGroup = this.args.workflow.predicateGroup;\n\n  get attributeGroupList() {\n    return this.attributeService.workflowConditionAttributes;\n  }\n\n  @action\n  onPredicatesUpdate(predicates) {\n    this.args.workflow.set('predicateGroup.predicates', copy(predicates));\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div\\n  {{on \\\"click\\\" (perform this.openUpgradeModal)}}\\n  class=\\\"flex flex-row pl-3 pr-3 pt-1 pb-1\\\"\\n>\\n  <div class=\\\"mr-2 opacity-50\\\">{{ic-interface-icon @item.icon}}</div>\\n  <div class=\\\"flex flex-col cursor-pointer workflows__editor__awaiting-first-reply-paywalled\\\">\\n    <span class=\\\"u__one-truncated-line opacity-50\\\">{{@item.text}}</span>\\n    <span class=\\\"t__light-text opacity-50 mb-2\\\">{{@item.description}}</span>\\n    {{#if @item.isPaywalled}}\\n      <Paywalls::Badge\\n        @badgeOnly={{true}}\\n        @isActive={{true}}\\n        @openUpgradeModal={{perform this.openUpgradeModal}}\\n        @analyticsEventData={{@item.paywallAnalyticsEventData}}\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\", {\"contents\":\"<div\\n  {{on \\\"click\\\" (perform this.openUpgradeModal)}}\\n  class=\\\"flex flex-row pl-3 pr-3 pt-1 pb-1\\\"\\n>\\n  <div class=\\\"mr-2 opacity-50\\\">{{ic-interface-icon @item.icon}}</div>\\n  <div class=\\\"flex flex-col cursor-pointer workflows__editor__awaiting-first-reply-paywalled\\\">\\n    <span class=\\\"u__one-truncated-line opacity-50\\\">{{@item.text}}</span>\\n    <span class=\\\"t__light-text opacity-50 mb-2\\\">{{@item.description}}</span>\\n    {{#if @item.isPaywalled}}\\n      <Paywalls::Badge\\n        @badgeOnly={{true}}\\n        @isActive={{true}}\\n        @openUpgradeModal={{perform this.openUpgradeModal}}\\n        @analyticsEventData={{@item.paywallAnalyticsEventData}}\\n      />\\n    {{/if}}\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/workflows/editor/trigger-select-awaiting-first-reply-item-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/editor/trigger-select-awaiting-first-reply-item-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class SelectItem extends Component {\n  @task\n  *openUpgradeModal() {\n    yield this.args.hideDropdownOverlay();\n    yield this.args.item.paywallOpenUpgradeModal();\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row\\\">\\n  <div class=\\\"mr-2\\\">{{ic-interface-icon @item.icon}}</div>\\n  <div class=\\\"flex flex-col\\\">\\n    <span class=\\\"u__one-truncated-line\\\">{{@item.text}}</span>\\n    <span class=\\\"t__light-text\\\">{{@item.description}}</span>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row\\\">\\n  <div class=\\\"mr-2\\\">{{ic-interface-icon @item.icon}}</div>\\n  <div class=\\\"flex flex-col\\\">\\n    <span class=\\\"u__one-truncated-line\\\">{{@item.text}}</span>\\n    <span class=\\\"t__light-text\\\">{{@item.description}}</span>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/workflows/editor/trigger-select-item-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/editor/trigger-select-item-component.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcSelect\\n  @items={{this.triggersItems}}\\n  @onSelectItem={{this.changeTrigger}}\\n  @minWidthOfOverlay={{420}}\\n  @defaultLabel=\\\"Choose an event\\\"\\n  data-test-choose-trigger as |select|\\n>\\n  <select.opener>\\n    {{#if this.hasCustomComponent }}\\n      {{component this.componentTriggerPath\\n        currentTrigger=this.currentTrigger\\n        workflow=this.workflow\\n        onDelete=this.onDeleteTrigger\\n        data-test-trigger-value=this.currentTrigger.value\\n      }}\\n    {{else}}\\n      <IcFilterBlock\\n        @icon={{this.currentTrigger.icon}}\\n        @isOneLine={{true}}\\n        @name={{this.currentTrigger.text}}\\n        @isClickable={{true}}\\n        data-test-trigger-value={{this.currentTrigger.value}}\\n      />\\n    {{/if}}\\n  </select.opener>\\n</IcSelect>\\n\", {\"contents\":\"<IcSelect\\n  @items={{this.triggersItems}}\\n  @onSelectItem={{this.changeTrigger}}\\n  @minWidthOfOverlay={{420}}\\n  @defaultLabel=\\\"Choose an event\\\"\\n  data-test-choose-trigger as |select|\\n>\\n  <select.opener>\\n    {{#if this.hasCustomComponent }}\\n      {{component this.componentTriggerPath\\n        currentTrigger=this.currentTrigger\\n        workflow=this.workflow\\n        onDelete=this.onDeleteTrigger\\n        data-test-trigger-value=this.currentTrigger.value\\n      }}\\n    {{else}}\\n      <IcFilterBlock\\n        @icon={{this.currentTrigger.icon}}\\n        @isOneLine={{true}}\\n        @name={{this.currentTrigger.text}}\\n        @isClickable={{true}}\\n        data-test-trigger-value={{this.currentTrigger.value}}\\n      />\\n    {{/if}}\\n  </select.opener>\\n</IcSelect>\\n\",\"moduleName\":\"embercom/components/workflows/editor/trigger-selector.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/editor/trigger-selector.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { TRIGGERS } from 'embercom/lib/workflows/constants/triggers';\n\nexport default class EditorComponent extends Component {\n  @tracked workflow = this.args.workflow;\n\n  constructor() {\n    super(...arguments);\n\n    this.triggersItems = TRIGGERS.map(item => {\n      if (item.value === 'awaiting_first_reply' && this.args.inactivityPaywall?.isActive) {\n        let params = {\n          component: 'workflows/editor/trigger-select-awaiting-first-reply-item-component',\n          componentShouldReplaceItem: true,\n          isPaywalled: true,\n          paywallOpenUpgradeModal: this.args.inactivityPaywall.openUpgradeModal,\n          paywallAnalyticsEventData: this.args.inactivityPaywall.analyticsEventData,\n        };\n        item = Object.assign({}, item, params);\n      } else {\n        item.component = 'workflows/editor/trigger-select-item-component';\n      }\n      return item;\n    });\n  }\n\n  get currentTrigger() {\n    return TRIGGERS.find(trigger => trigger.value === this.args.workflow.triggerType);\n  }\n\n  get hasCustomComponent() {\n    return this.currentTrigger.componentPath !== undefined;\n  }\n\n  get componentTriggerPath() {\n    return `workflows/editor/triggers/${this.currentTrigger.componentPath}`;\n  }\n\n  @action\n  changeTrigger(value) {\n    if (this.args.inactivityPaywall?.isActive && value === 'awaiting_first_reply') {\n      return;\n    }\n    this.args.workflow.set('triggerType', value);\n  }\n\n  @action\n  onDeleteTrigger() {\n    this.workflow.set('triggerType', '');\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<FilterBlock::FilterBlockPopoverHousing @completeEditingFilterBlock={{this.completeEditingFilterBlock}}>\\n  <div class=\\\"flex flex-col justify-center gap-2\\\">\\n    <div class=\\\"flex flex-col justify-start\\\">\\n      <Text @styling='label'>\\n        In\\n      </Text>\\n    </div>\\n    <div class=\\\"flex flex-col justify-start\\\">\\n      <Form as |form|>\\n        {{#if this.useNewDelays}}\\n          <div class=\\\"flex flex-row items-center gap-2\\\">\\n            <div class=\\\"flex flex-col flex-1\\\">\\n              <form.Item @isInvalid={{this.componentAttrs.isInvalid}} as |item|>\\n                <item.Input\\n                  data-test-delay-value-input\\n                  @value={{this.delayValue}}\\n                  @type=\\\"number\\\"\\n                  {{on \\\"change\\\" this.setDelayValue}}\\n                />\\n              </form.Item>\\n            </div>\\n            <div class=\\\"flex flex-col flex-0\\\">\\n              <IcSelect\\n                data-test-delay-unit-select\\n                @items={{array\\n                  (hash text=(inflector-helper \\\"second\\\" this.delayValue) value=\\\"second\\\")  \\n                  (hash text=(inflector-helper \\\"minute\\\" this.delayValue) value=\\\"minute\\\")\\n                  (hash text=(inflector-helper \\\"hour\\\" this.delayValue) value=\\\"hour\\\")\\n                  (hash text=(inflector-helper \\\"day\\\" this.delayValue) value=\\\"day\\\")\\n                }}\\n                @onSelectItem={{this.setDelayUnit}}\\n                @selectedValue={{this.delayUnit}}\\n              />\\n            </div>\\n          </div>\\n          {{#if this.componentAttrs.isInvalid}}\\n            <div class=\\\"flex flex-row\\\">\\n              <span class=\\\"t__light-text\\\">{{this.componentAttrs.invalidDelayMessage}}</span>\\n            </div>\\n          {{/if}}\\n        {{else}}\\n          <form.Item as |item|>\\n            <item.RadioGroup @selected={{this.selectedValue}} as |group|>\\n              <group.RadioButton @value=\\\"30\\\" @label=\\\"30 seconds\\\" checked={{eq this.componentAttrs.triggerConfig 30}} {{on 'click' (fn this.componentAttrs.saveTriggerConfig 30)}}/>\\n              <group.RadioButton @value=\\\"60\\\" @label=\\\"1 minute\\\" checked={{eq this.componentAttrs.triggerConfig 60}} {{on 'click' (fn this.componentAttrs.saveTriggerConfig 60)}} />\\n              <group.RadioButton @value=\\\"300\\\" @label=\\\"5 minutes\\\" checked={{eq this.componentAttrs.triggerConfig 300}} {{on 'click' (fn this.componentAttrs.saveTriggerConfig 300)}} />\\n              <group.RadioButton @value=\\\"900\\\" @label=\\\"15 minutes\\\" checked={{eq this.componentAttrs.triggerConfig 900}} {{on 'click' (fn this.componentAttrs.saveTriggerConfig 900)}} />\\n            </item.RadioGroup>\\n          </form.Item>\\n        {{/if}}\\n      </Form>\\n    </div>\\n  </div>\\n</FilterBlock::FilterBlockPopoverHousing>\\n\\n<div class=\\\"u__centered-text-block layout__box filter-block__popover__done\\\">\\n  <a class=\\\"btn__tertiary\\\" {{on \\\"click\\\" this.hideDropdownOverlay}}>\\n    Done\\n  </a>\\n</div>\\n\", {\"contents\":\"<FilterBlock::FilterBlockPopoverHousing @completeEditingFilterBlock={{this.completeEditingFilterBlock}}>\\n  <div class=\\\"flex flex-col justify-center gap-2\\\">\\n    <div class=\\\"flex flex-col justify-start\\\">\\n      <Text @styling='label'>\\n        In\\n      </Text>\\n    </div>\\n    <div class=\\\"flex flex-col justify-start\\\">\\n      <Form as |form|>\\n        {{#if this.useNewDelays}}\\n          <div class=\\\"flex flex-row items-center gap-2\\\">\\n            <div class=\\\"flex flex-col flex-1\\\">\\n              <form.Item @isInvalid={{this.componentAttrs.isInvalid}} as |item|>\\n                <item.Input\\n                  data-test-delay-value-input\\n                  @value={{this.delayValue}}\\n                  @type=\\\"number\\\"\\n                  {{on \\\"change\\\" this.setDelayValue}}\\n                />\\n              </form.Item>\\n            </div>\\n            <div class=\\\"flex flex-col flex-0\\\">\\n              <IcSelect\\n                data-test-delay-unit-select\\n                @items={{array\\n                  (hash text=(inflector-helper \\\"second\\\" this.delayValue) value=\\\"second\\\")  \\n                  (hash text=(inflector-helper \\\"minute\\\" this.delayValue) value=\\\"minute\\\")\\n                  (hash text=(inflector-helper \\\"hour\\\" this.delayValue) value=\\\"hour\\\")\\n                  (hash text=(inflector-helper \\\"day\\\" this.delayValue) value=\\\"day\\\")\\n                }}\\n                @onSelectItem={{this.setDelayUnit}}\\n                @selectedValue={{this.delayUnit}}\\n              />\\n            </div>\\n          </div>\\n          {{#if this.componentAttrs.isInvalid}}\\n            <div class=\\\"flex flex-row\\\">\\n              <span class=\\\"t__light-text\\\">{{this.componentAttrs.invalidDelayMessage}}</span>\\n            </div>\\n          {{/if}}\\n        {{else}}\\n          <form.Item as |item|>\\n            <item.RadioGroup @selected={{this.selectedValue}} as |group|>\\n              <group.RadioButton @value=\\\"30\\\" @label=\\\"30 seconds\\\" checked={{eq this.componentAttrs.triggerConfig 30}} {{on 'click' (fn this.componentAttrs.saveTriggerConfig 30)}}/>\\n              <group.RadioButton @value=\\\"60\\\" @label=\\\"1 minute\\\" checked={{eq this.componentAttrs.triggerConfig 60}} {{on 'click' (fn this.componentAttrs.saveTriggerConfig 60)}} />\\n              <group.RadioButton @value=\\\"300\\\" @label=\\\"5 minutes\\\" checked={{eq this.componentAttrs.triggerConfig 300}} {{on 'click' (fn this.componentAttrs.saveTriggerConfig 300)}} />\\n              <group.RadioButton @value=\\\"900\\\" @label=\\\"15 minutes\\\" checked={{eq this.componentAttrs.triggerConfig 900}} {{on 'click' (fn this.componentAttrs.saveTriggerConfig 900)}} />\\n            </item.RadioGroup>\\n          </form.Item>\\n        {{/if}}\\n      </Form>\\n    </div>\\n  </div>\\n</FilterBlock::FilterBlockPopoverHousing>\\n\\n<div class=\\\"u__centered-text-block layout__box filter-block__popover__done\\\">\\n  <a class=\\\"btn__tertiary\\\" {{on \\\"click\\\" this.hideDropdownOverlay}}>\\n    Done\\n  </a>\\n</div>\\n\",\"moduleName\":\"embercom/components/workflows/editor/triggers/awaiting-first-reply-overlay.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/editor/triggers/awaiting-first-reply-overlay.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable @intercom/intercom/no-component-inheritance */\nimport BaseFilterBlockPopover from 'predicates/components/filter-block/base-filter-block-popover';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class AwaitingFirstReplyOverlay extends BaseFilterBlockPopover {\n  @service appService;\n  @tracked selectedValue = this.componentAttrs.triggerConfig;\n  @tracked delayValue = this.componentAttrs.delayValue;\n  @tracked delayUnit = this.componentAttrs.delayUnit;\n\n  get useNewDelays() {\n    return this.appService.app.canUseDelayedTriggerEvents;\n  }\n\n  @action\n  setDelayUnit(unit) {\n    this.delayUnit = unit;\n    this.componentAttrs.saveDelay(this.delayValue, unit);\n  }\n\n  @action\n  setDelayValue() {\n    this.componentAttrs.saveDelay(this.delayValue, this.delayUnit);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<IcDropdownOpener @mode=\\\"inline\\\"\\n  @initiallyOpened={{this.showOverlay}}\\n  @minWidthOfOverlay={{260}}\\n  @dropdownComponent={{this.overlayComponent}}\\n  @dropdownComponentAttrs={{hash\\n      saveTriggerConfig=this.saveTriggerConfig\\n      triggerConfig=this.workflow.data.delay_in_seconds\\n      delayUnit=this.delayUnit\\n      delayValue=this.delayValue\\n      saveDelay=this.saveDelay\\n      isInvalid=this.workflow.hasInvalidDelay\\n      invalidDelayMessage=this.invalidDelayMessage\\n    }}\\n  as |opener|\\n  >\\n  <IcFilterBlock\\n    @icon={{@currentTrigger.icon}}\\n    @isOneLine={{true}}\\n    @name={{@currentTrigger.text}}\\n    @isClickable={{true}}\\n    @isInvalid={{this.workflow.hasInvalidDelay}}\\n    @details={{this.displayMessage}}\\n    @invalidMessage={{this.displayMessage}}\\n    class=\\\"workflows__editor__awaiting-first-reply-time-trigger\\\"\\n  />\\n</IcDropdownOpener>\\n\", {\"contents\":\"<IcDropdownOpener @mode=\\\"inline\\\"\\n  @initiallyOpened={{this.showOverlay}}\\n  @minWidthOfOverlay={{260}}\\n  @dropdownComponent={{this.overlayComponent}}\\n  @dropdownComponentAttrs={{hash\\n      saveTriggerConfig=this.saveTriggerConfig\\n      triggerConfig=this.workflow.data.delay_in_seconds\\n      delayUnit=this.delayUnit\\n      delayValue=this.delayValue\\n      saveDelay=this.saveDelay\\n      isInvalid=this.workflow.hasInvalidDelay\\n      invalidDelayMessage=this.invalidDelayMessage\\n    }}\\n  as |opener|\\n  >\\n  <IcFilterBlock\\n    @icon={{@currentTrigger.icon}}\\n    @isOneLine={{true}}\\n    @name={{@currentTrigger.text}}\\n    @isClickable={{true}}\\n    @isInvalid={{this.workflow.hasInvalidDelay}}\\n    @details={{this.displayMessage}}\\n    @invalidMessage={{this.displayMessage}}\\n    class=\\\"workflows__editor__awaiting-first-reply-time-trigger\\\"\\n  />\\n</IcDropdownOpener>\\n\",\"moduleName\":\"embercom/components/workflows/editor/triggers/awaiting-first-reply.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/editor/triggers/awaiting-first-reply.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { pluralize } from 'ember-inflector';\nimport {\n  getDelayUnit,\n  getDelayValue,\n  getDelayInSeconds,\n  DEFAULT_DELAY,\n  MAX_DELAY_IN_SECONDS,\n  MIN_DELAY_IN_SECONDS,\n} from 'embercom/lib/workflows/helpers/delays';\n\nexport default class AwaitingFirstReply extends Component {\n  @tracked workflow = this.args.workflow;\n  @tracked delayValue;\n  @tracked delayUnit;\n\n  constructor() {\n    super(...arguments);\n    if (!this.workflow.data?.delay_in_seconds || this.workflow.hasChanges) {\n      this.showOverlay = true;\n    }\n    this.workflow.set(\n      'data.delay_in_seconds',\n      this.workflow.data.delay_in_seconds || DEFAULT_DELAY,\n    );\n    this._setValueAndUnit();\n  }\n\n  get overlayComponent() {\n    return 'workflows/editor/triggers/awaiting-first-reply-overlay';\n  }\n\n  get displayMessage() {\n    let duration = pluralize(this.delayValue, this.delayUnit);\n\n    return `in ${duration}`;\n  }\n\n  get delayInSeconds() {\n    return this.workflow.data.delay_in_seconds;\n  }\n\n  get invalidDelayMessage() {\n    if (this.delayInSeconds > MAX_DELAY_IN_SECONDS) {\n      return \"Can't be longer than 14 days\";\n    }\n    if (this.delayInSeconds < MIN_DELAY_IN_SECONDS) {\n      return 'Must be longer than 30 seconds';\n    }\n    return '';\n  }\n\n  _saveDelayInSeconds(delayInSeconds) {\n    this.workflow.data = {\n      ...this.workflow.data,\n      delay_in_seconds: delayInSeconds,\n    };\n    this._setValueAndUnit();\n  }\n\n  _setValueAndUnit() {\n    this.delayValue = getDelayValue(this.delayInSeconds);\n    this.delayUnit = getDelayUnit(this.delayInSeconds);\n  }\n\n  @action\n  saveTriggerConfig(selectionValue) {\n    this._saveDelayInSeconds(selectionValue);\n  }\n\n  @action\n  saveDelay(value, unit) {\n    let delayInSeconds = getDelayInSeconds(value, unit);\n    this._saveDelayInSeconds(delayInSeconds);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Workflows::Index::FilterableListComponent\\n  @workflows={{@workflows}}\\n  as |filterable|\\n>\\n  <div class=\\\"flex flex-col workflows__index__sticky\\\">\\n    <div class=\\\"flex flex-row justify-between\\\">\\n      <Common::HamburgerMenu @includePadding={{false}} class=\\\"p-4 pl-8 pr-8\\\">\\n        <Heading @size=\\\"1\\\">\\n          Rules\\n        </Heading>\\n      </Common::HamburgerMenu>\\n\\n      <div class=\\\"flex flex-row items-center gap-4 pr-8\\\">\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/en/articles/4273163-automate-your-inbox-with-rules\\\"\\n          @title=\\\"How to set up rules\\\"\\n          @type=\\\"article\\\"\\n        />\\n        <IcButton\\n          @type=\\\"primary\\\"\\n          @label=\\\"New rule\\\"\\n          @onClick={{this.newWorkflow}}\\n          data-test-workflow-list-new-workflow-button={{true}}\\n        />\\n      </div>\\n    </div>\\n\\n    <Pulse::DiscoveryBanner\\n      @heading=\\\"Welcome to the new Inbox Rules\\\"\\n      @description=\\\"Build rules to change properties of a conversation automatically such as assignment, tagging and more\\\"\\n      @dismissalType=\\\"close-icon\\\"\\n      @dismissalKey=\\\"page_introduction_banner_rules_plus_plus\\\"\\n      @dismissalService={{service 'banner-dismissal-service'}}\\n      class=\\\"mx-8 mb-8\\\"\\n      as |banner|\\n    >\\n      <banner.TourLink\\n        @title=\\\"Take a tour\\\"\\n        @tourId=\\\"135393\\\"\\n      />\\n      <banner.HelpLink\\n        @type=\\\"article\\\"\\n        @title=\\\"Common ways of using rules\\\"\\n        @href=\\\"https://www.intercom.com/help/en/articles/4273241-5-useful-rules-for-inbox-automation\\\"\\n      />\\n    </Pulse::DiscoveryBanner>\\n\\n    <filterable.components.filtersComponent />\\n  </div>\\n  <div class=\\\"flex flex-col pl-8 pr-8\\\">\\n    <Workflows::Index::PriorityDivider @text=\\\"Highest priority\\\" />\\n    {{#if filterable.hasFilteredWorkflows}}\\n      <SortableGroup\\n        @tagName=\\\"div\\\"\\n        @class=\\\"tbl__body\\\"\\n        @onChange={{this.onDraggingEnd}} as |group|\\n      >\\n        {{#each (sort-by \\\"order\\\" filterable.filteredWorkflows) as |workflow index|}}\\n          <group.item\\n            @tagName=\\\"div\\\"\\n            @group={{group}}\\n            @model={{workflow}}\\n            @isDraggingDisabled={{filterable.hasActiveFilters}}\\n            @handle={{if filterable.hasActiveFilters \\\".workflows__index__list-non-existent-class\\\" \\\".workflows__index__list-item__drag-handle\\\"}}\\n            class=\\\"workflows__index__sortable-list-item mb-3\\\"\\n            data-test-workflow-list-item-index={{index}}\\n          >\\n            <div class=\\\"flex flex-col workflows__index__list-item p-4\\\">\\n              <Workflows::Index::ListItemComponent @workflow={{workflow}} @actionContext={{@actionContext}} @hasActiveFilters={{filterable.hasActiveFilters}} @workflows={{@workflows}}/>\\n            </div>\\n          </group.item>\\n        {{/each}}\\n      </SortableGroup>\\n    {{else if filterable.noWorkflowsMatchFilters}}\\n      <div class=\\\"flex flex-row justify-center mt-6 mb-6\\\" data-test-workflow-list-empty-state={{true}}>\\n        <div class=\\\"flex flex-col\\\">\\n          <IcEmptyState\\n            @icon=\\\"visitor-auto-message\\\"\\n            @title=\\\"No rules match your search\\\"\\n            >\\n            <div class=\\\"flex flex-col mt-2\\\">\\n              <Text @styling=\\\"muted\\\">Try removing some filters</Text>\\n            </div>\\n            <IcButton\\n              @type=\\\"secondary\\\"\\n              @label=\\\"Clear filters\\\"\\n              @onClick={{filterable.clearFilters}}\\n              @muted={{true}}\\n              class=\\\"mt-4\\\"\\n            />\\n          </IcEmptyState>\\n        </div>\\n      </div>\\n    {{else}}\\n      <div class=\\\"flex flex-row justify-center mt-6 mb-6\\\" data-test-workflow-list-empty-state={{true}}>\\n        <div class=\\\"flex flex-col\\\">\\n          <IcEmptyState\\n            @icon=\\\"visitor-auto-message\\\"\\n            @title=\\\"No rules exist yet\\\"\\n          />\\n        </div>\\n      </div>\\n    {{/if}}\\n    <Workflows::Index::PriorityDivider @text=\\\"Lowest priority\\\" />\\n    <Workflows::Index::DefaultAssigneeComponent />\\n  </div>\\n</Workflows::Index::FilterableListComponent>\\n\", {\"contents\":\"<Workflows::Index::FilterableListComponent\\n  @workflows={{@workflows}}\\n  as |filterable|\\n>\\n  <div class=\\\"flex flex-col workflows__index__sticky\\\">\\n    <div class=\\\"flex flex-row justify-between\\\">\\n      <Common::HamburgerMenu @includePadding={{false}} class=\\\"p-4 pl-8 pr-8\\\">\\n        <Heading @size=\\\"1\\\">\\n          Rules\\n        </Heading>\\n      </Common::HamburgerMenu>\\n\\n      <div class=\\\"flex flex-row items-center gap-4 pr-8\\\">\\n        <Pulse::HelpContent::Link\\n          @href=\\\"https://www.intercom.com/help/en/articles/4273163-automate-your-inbox-with-rules\\\"\\n          @title=\\\"How to set up rules\\\"\\n          @type=\\\"article\\\"\\n        />\\n        <IcButton\\n          @type=\\\"primary\\\"\\n          @label=\\\"New rule\\\"\\n          @onClick={{this.newWorkflow}}\\n          data-test-workflow-list-new-workflow-button={{true}}\\n        />\\n      </div>\\n    </div>\\n\\n    <Pulse::DiscoveryBanner\\n      @heading=\\\"Welcome to the new Inbox Rules\\\"\\n      @description=\\\"Build rules to change properties of a conversation automatically such as assignment, tagging and more\\\"\\n      @dismissalType=\\\"close-icon\\\"\\n      @dismissalKey=\\\"page_introduction_banner_rules_plus_plus\\\"\\n      @dismissalService={{service 'banner-dismissal-service'}}\\n      class=\\\"mx-8 mb-8\\\"\\n      as |banner|\\n    >\\n      <banner.TourLink\\n        @title=\\\"Take a tour\\\"\\n        @tourId=\\\"135393\\\"\\n      />\\n      <banner.HelpLink\\n        @type=\\\"article\\\"\\n        @title=\\\"Common ways of using rules\\\"\\n        @href=\\\"https://www.intercom.com/help/en/articles/4273241-5-useful-rules-for-inbox-automation\\\"\\n      />\\n    </Pulse::DiscoveryBanner>\\n\\n    <filterable.components.filtersComponent />\\n  </div>\\n  <div class=\\\"flex flex-col pl-8 pr-8\\\">\\n    <Workflows::Index::PriorityDivider @text=\\\"Highest priority\\\" />\\n    {{#if filterable.hasFilteredWorkflows}}\\n      <SortableGroup\\n        @tagName=\\\"div\\\"\\n        @class=\\\"tbl__body\\\"\\n        @onChange={{this.onDraggingEnd}} as |group|\\n      >\\n        {{#each (sort-by \\\"order\\\" filterable.filteredWorkflows) as |workflow index|}}\\n          <group.item\\n            @tagName=\\\"div\\\"\\n            @group={{group}}\\n            @model={{workflow}}\\n            @isDraggingDisabled={{filterable.hasActiveFilters}}\\n            @handle={{if filterable.hasActiveFilters \\\".workflows__index__list-non-existent-class\\\" \\\".workflows__index__list-item__drag-handle\\\"}}\\n            class=\\\"workflows__index__sortable-list-item mb-3\\\"\\n            data-test-workflow-list-item-index={{index}}\\n          >\\n            <div class=\\\"flex flex-col workflows__index__list-item p-4\\\">\\n              <Workflows::Index::ListItemComponent @workflow={{workflow}} @actionContext={{@actionContext}} @hasActiveFilters={{filterable.hasActiveFilters}} @workflows={{@workflows}}/>\\n            </div>\\n          </group.item>\\n        {{/each}}\\n      </SortableGroup>\\n    {{else if filterable.noWorkflowsMatchFilters}}\\n      <div class=\\\"flex flex-row justify-center mt-6 mb-6\\\" data-test-workflow-list-empty-state={{true}}>\\n        <div class=\\\"flex flex-col\\\">\\n          <IcEmptyState\\n            @icon=\\\"visitor-auto-message\\\"\\n            @title=\\\"No rules match your search\\\"\\n            >\\n            <div class=\\\"flex flex-col mt-2\\\">\\n              <Text @styling=\\\"muted\\\">Try removing some filters</Text>\\n            </div>\\n            <IcButton\\n              @type=\\\"secondary\\\"\\n              @label=\\\"Clear filters\\\"\\n              @onClick={{filterable.clearFilters}}\\n              @muted={{true}}\\n              class=\\\"mt-4\\\"\\n            />\\n          </IcEmptyState>\\n        </div>\\n      </div>\\n    {{else}}\\n      <div class=\\\"flex flex-row justify-center mt-6 mb-6\\\" data-test-workflow-list-empty-state={{true}}>\\n        <div class=\\\"flex flex-col\\\">\\n          <IcEmptyState\\n            @icon=\\\"visitor-auto-message\\\"\\n            @title=\\\"No rules exist yet\\\"\\n          />\\n        </div>\\n      </div>\\n    {{/if}}\\n    <Workflows::Index::PriorityDivider @text=\\\"Lowest priority\\\" />\\n    <Workflows::Index::DefaultAssigneeComponent />\\n  </div>\\n</Workflows::Index::FilterableListComponent>\\n\",\"moduleName\":\"embercom/components/workflows/index-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/index-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class IndexComponent extends Component {\n  @service appService;\n  @service router;\n  @service notificationsService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  @action\n  newWorkflow() {\n    this.router.transitionTo('apps.app.inbox.automation.workflows.new');\n  }\n\n  @action\n  onDraggingEnd(workflows, movedWorkflow) {\n    let newIndex = workflows.indexOf(movedWorkflow);\n    if (movedWorkflow.order !== newIndex) {\n      workflows.forEach((workflow, index) => {\n        workflow.set('order', index);\n      });\n      movedWorkflow\n        .reorder(newIndex)\n        .then(() => this.notificationsService.notifyConfirmation(\"Workflow's order updated\"))\n        .catch(() => this.notificationsService.notifyError('Unable to update workflow order'));\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span>\\n  {{ic-interface-icon 'tag'}}\\n</span>\\n<span class=\\\"mr-2 interface-icon__label\\\">\\n  {{this.description}}\\n</span>\\n\", {\"contents\":\"<span>\\n  {{ic-interface-icon 'tag'}}\\n</span>\\n<span class=\\\"mr-2 interface-icon__label\\\">\\n  {{this.description}}\\n</span>\\n\",\"moduleName\":\"embercom/components/workflows/index/actions/add-tag-to-conversation.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/index/actions/add-tag-to-conversation.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class ListItemComponent extends Component {\n  @service appService;\n  @tracked action = this.args.action;\n\n  get description() {\n    return `Tag conversation with \"${this.tag().name}\"`;\n  }\n\n  tag() {\n    let tagId = this.args.action.actionData.tag_id;\n    return this.appService.app.tags.findBy('id', tagId);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span>\\n  {{ic-interface-icon 'sla'}}\\n</span>\\n<span class=\\\"mr-2\\\">\\n  {{this.description}}\\n</span>\\n\", {\"contents\":\"<span>\\n  {{ic-interface-icon 'sla'}}\\n</span>\\n<span class=\\\"mr-2\\\">\\n  {{this.description}}\\n</span>\\n\",\"moduleName\":\"embercom/components/workflows/index/actions/apply-conversation-sla.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/index/actions/apply-conversation-sla.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class ListItemComponent extends Component {\n  @service appService;\n  @service store;\n  @tracked action = this.args.action;\n  @tracked actionContext = this.args.actionContext;\n\n  get description() {\n    return `Apply SLA \"${this.sla()}\"`;\n  }\n\n  sla() {\n    let slaId = this.args.action.actionData.conversation_sla_id;\n    let sla;\n    if (slaId) {\n      sla = this.args.actionContext.conversationSlas.findBy('id', slaId);\n    }\n    if (sla) {\n      return sla.name;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span>\\n  {{ic-interface-icon 'assignment'}}\\n</span>\\n<span class=\\\"mr-2\\\">\\n  Assign to owner\\n</span>\\n\", {\"contents\":\"<span>\\n  {{ic-interface-icon 'assignment'}}\\n</span>\\n<span class=\\\"mr-2\\\">\\n  Assign to owner\\n</span>\\n\",\"moduleName\":\"embercom/components/workflows/index/actions/assign-conversation-to-owner.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/index/actions/assign-conversation-to-owner.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span>\\n  {{ic-interface-icon 'assignment'}}\\n</span>\\n<span class=\\\"mr-2\\\">\\n  {{#if this.assignee}}\\n    Assign to \\\" <IcAvatarComponent @model={{this.assignee}} @size=\\\"xs\\\" /> {{this.assigneeName}}\\\"\\n  {{else}}\\n    Assign to is missing a value\\n  {{/if}}\\n</span>\\n\", {\"contents\":\"<span>\\n  {{ic-interface-icon 'assignment'}}\\n</span>\\n<span class=\\\"mr-2\\\">\\n  {{#if this.assignee}}\\n    Assign to \\\" <IcAvatarComponent @model={{this.assignee}} @size=\\\"xs\\\" /> {{this.assigneeName}}\\\"\\n  {{else}}\\n    Assign to is missing a value\\n  {{/if}}\\n</span>\\n\",\"moduleName\":\"embercom/components/workflows/index/actions/assign-conversation.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/index/actions/assign-conversation.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class ListItemComponent extends Component {\n  @service appService;\n  @tracked action = this.args.action;\n\n  get assigneeName() {\n    return this.assignee.displayAs;\n  }\n\n  get assignee() {\n    // temporary string conversion to handle migrated rules that have integer ids\n    let assigneeId = `${this.args.action.actionData.assignee_id}`;\n\n    let assignee = this.appService.app.teams.findBy('id', assigneeId);\n    if (assignee === undefined) {\n      assignee = this.appService.app.admins.findBy('id', assigneeId);\n    }\n\n    return assignee;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span>\\n  {{ic-interface-icon 'star'}}\\n</span>\\n<span class=\\\"mr-2\\\">\\n  Mark as priority\\n</span>\\n\", {\"contents\":\"<span>\\n  {{ic-interface-icon 'star'}}\\n</span>\\n<span class=\\\"mr-2\\\">\\n  Mark as priority\\n</span>\\n\",\"moduleName\":\"embercom/components/workflows/index/actions/change-conversation-priority.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/index/actions/change-conversation-priority.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span>\\n  {{ic-interface-icon 'check'}}\\n</span>\\n<span class=\\\"mr-2\\\">\\n  Close conversation\\n</span>\\n\", {\"contents\":\"<span>\\n  {{ic-interface-icon 'check'}}\\n</span>\\n<span class=\\\"mr-2\\\">\\n  Close conversation\\n</span>\\n\",\"moduleName\":\"embercom/components/workflows/index/actions/close-conversation.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/index/actions/close-conversation.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<span>\\n  {{ic-interface-icon 'transfer'}}\\n</span>\\n<span class=\\\"mr-2 interface-icon__label\\\">\\n  {{this.description}}\\n</span>\\n\", {\"contents\":\"<span>\\n  {{ic-interface-icon 'transfer'}}\\n</span>\\n<span class=\\\"mr-2 interface-icon__label\\\">\\n  {{this.description}}\\n</span>\\n\",\"moduleName\":\"embercom/components/workflows/index/actions/set-conversation-data-attribute.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/index/actions/set-conversation-data-attribute.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class SetConversationDataAttribute extends Component {\n  @service appService;\n  @service attributeService;\n  @tracked action = this.args.action;\n\n  get conversationDataAttribute() {\n    return this.attributeService.conversationCustomAttributes.find(\n      attribute => attribute.identifier === this.identifier,\n    );\n  }\n\n  get identifier() {\n    return this.action.get('actionData.attribute_identifier');\n  }\n\n  get value() {\n    return this.args.action.actionData.value;\n  }\n\n  get description() {\n    return `Set ${this.attributeName} to \"${this.formatValue}\"`;\n  }\n\n  get attributeName() {\n    return this.conversationDataAttribute.name;\n  }\n\n  get formatValue() {\n    switch (this.conversationDataAttribute.type) {\n      case 'conversation_attribute_list':\n        return this.conversationDataAttribute.options.find(\n          option => option.identifier === this.value,\n        ).value;\n      case 'boolean':\n        return this.value ? 'True' : 'False';\n      default:\n        return this.value;\n    }\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-col justify-center items-center mb-8\\\" data-test-default-assignee-section={{true}}>\\n  <div class=\\\"flex flex-row items-center mb-1\\\">\\n  <span class=\\\"font-medium\\\">The default assignee is</span>\\n    {{#if this.canChangeDefaultAssignee}}\\n      <Admin::NewSelector\\n        @assignees={{this.app.assignableAdmins}}\\n        @showTeams={{true}}\\n        @onSelectItem={{this.updateDefaultAssignee}}\\n        @selectedValue={{this.defaultAssigneeId}}\\n        @buttonIsSubtle={{true}}\\n        data-test-default-assignee-selector={{true}}\\n        class=\\\"ml-1\\\"\\n      />\\n    {{else}}\\n      <span class=\\\"text-gray ml-2 flex flex-row gap-1 items-center\\\">\\n        {{ic-avatar model=this.app.defaultAssignee size=\\\"s\\\"}}\\n        <span><b>{{this.app.defaultAssignee.nameOrEmail}}</b></span>\\n        (<a {{on \\\"click\\\" this.showPermissionsRequestModal}} data-test-default-assignee-permissions-link={{true}}>Change</a>)\\n      </span>\\n    {{/if}}\\n  </div>\\n  <span class=\\\"text-gray\\\">\\n    New inbound conversations that are not assigned by rules will appear in this inbox\\n  </span>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-col justify-center items-center mb-8\\\" data-test-default-assignee-section={{true}}>\\n  <div class=\\\"flex flex-row items-center mb-1\\\">\\n  <span class=\\\"font-medium\\\">The default assignee is</span>\\n    {{#if this.canChangeDefaultAssignee}}\\n      <Admin::NewSelector\\n        @assignees={{this.app.assignableAdmins}}\\n        @showTeams={{true}}\\n        @onSelectItem={{this.updateDefaultAssignee}}\\n        @selectedValue={{this.defaultAssigneeId}}\\n        @buttonIsSubtle={{true}}\\n        data-test-default-assignee-selector={{true}}\\n        class=\\\"ml-1\\\"\\n      />\\n    {{else}}\\n      <span class=\\\"text-gray ml-2 flex flex-row gap-1 items-center\\\">\\n        {{ic-avatar model=this.app.defaultAssignee size=\\\"s\\\"}}\\n        <span><b>{{this.app.defaultAssignee.nameOrEmail}}</b></span>\\n        (<a {{on \\\"click\\\" this.showPermissionsRequestModal}} data-test-default-assignee-permissions-link={{true}}>Change</a>)\\n      </span>\\n    {{/if}}\\n  </div>\\n  <span class=\\\"text-gray\\\">\\n    New inbound conversations that are not assigned by rules will appear in this inbox\\n  </span>\\n</div>\\n\",\"moduleName\":\"embercom/components/workflows/index/default-assignee-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/index/default-assignee-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class DefaultAssigneeComponent extends Component {\n  @service appService;\n  @service permissionsService;\n  @service notificationsService;\n  @service store;\n\n  @tracked messagingSettings = null;\n  @tracked defaultAssigneeId = this.app.defaultAssignee.id;\n\n  constructor() {\n    super(...arguments);\n    this.loadMessagingSettings.perform();\n  }\n\n  get canChangeDefaultAssignee() {\n    return this.permissionsService.currentAdminCan('can_manage_messages_settings');\n  }\n\n  get app() {\n    return this.appService.app;\n  }\n\n  @action\n  updateDefaultAssignee(assigneeId) {\n    this.messagingSettings.set('defaultAssigneeId', assigneeId);\n    this.messagingSettings.save().then(\n      () => {\n        this.notificationsService.notifyConfirmation('The default assignee has been updated.');\n        this.app.set('defaultAssigneeId', parseInt(assigneeId, 10));\n      },\n      () => {\n        this.notificationsService.notifyError(\n          'There was an error updating the default assignee. Please try again.',\n        );\n      },\n    );\n  }\n\n  @action\n  showPermissionsRequestModal() {\n    this.permissionsService.loadAllAdminsAndShowPermissionRequestModal(\n      'can_access_product_settings',\n    );\n  }\n\n  @task\n  *loadMessagingSettings() {\n    let messagingSettings = yield this.store\n      .findRecord('messaging-settings', this.app.id)\n      .catch(() => {\n        // This API has permissions, not having the permissions is fine\n        // since we will show a permission dialog if you try to set default assignee\n        // so catch the failure and do nothing with it\n        return;\n      });\n    this.messagingSettings = messagingSettings;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"\\n{{yield (assign\\n    @publicAPI (hash\\n      hasWorkflows=this.hasWorkflows\\n      hasActiveFilters=this.hasActiveFilters\\n      hasFilteredWorkflows=this.hasFilteredWorkflows\\n      noWorkflowsMatchFilters=this.noWorkflowsMatchFilters\\n      filteredWorkflows=this.filteredWorkflows\\n      clearFilters=this.clearFilters\\n      components=(hash\\n        filtersComponent=(component\\n          'workflows/index/filters/filters-component'\\n          eventFilter=this.eventFilter\\n          statusFilter=this.statusFilter\\n          updateEventFilter=this.updateEventFilter\\n          updateStatusFilter=this.updateStatusFilter\\n          filterPredicateGroup=this.filterPredicateGroup\\n          onPredicatesUpdate=this.onPredicatesUpdate\\n          hasActiveFilters=this.hasActiveFilters\\n          clearFilters=this.clearFilters\\n        )\\n      )\\n    )\\n)}}\\n\", {\"contents\":\"\\n{{yield (assign\\n    @publicAPI (hash\\n      hasWorkflows=this.hasWorkflows\\n      hasActiveFilters=this.hasActiveFilters\\n      hasFilteredWorkflows=this.hasFilteredWorkflows\\n      noWorkflowsMatchFilters=this.noWorkflowsMatchFilters\\n      filteredWorkflows=this.filteredWorkflows\\n      clearFilters=this.clearFilters\\n      components=(hash\\n        filtersComponent=(component\\n          'workflows/index/filters/filters-component'\\n          eventFilter=this.eventFilter\\n          statusFilter=this.statusFilter\\n          updateEventFilter=this.updateEventFilter\\n          updateStatusFilter=this.updateStatusFilter\\n          filterPredicateGroup=this.filterPredicateGroup\\n          onPredicatesUpdate=this.onPredicatesUpdate\\n          hasActiveFilters=this.hasActiveFilters\\n          clearFilters=this.clearFilters\\n        )\\n      )\\n    )\\n)}}\\n\",\"moduleName\":\"embercom/components/workflows/index/filterable-list-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/index/filterable-list-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { copy } from 'ember-copy';\nimport { inject as service } from '@ember/service';\nimport storage from 'embercom/vendor/intercom/storage';\n\nconst FILTERS_STORAGE_KEY = 'rules-filters-storage';\n\nexport default class IndexComponent extends Component {\n  @service store;\n  @tracked eventFilter = 'any';\n  @tracked statusFilter = 'any';\n  @tracked filterPredicateGroup;\n\n  PREDICATE_TYPE_TO_ACTION_DATA_KEY = {\n    rules_filters_manual_tag: 'tag_id',\n    rules_filters_assign_to: 'assignee_id',\n    rules_filters_mark_priority: 'priority',\n    rules_filters_apply_conversation_sla: 'conversation_sla_id',\n  };\n\n  constructor(...args) {\n    super(...args);\n    this.filterPredicateGroup = this.store.createFragment('predicates/predicate-group');\n    this.restoreFilters();\n  }\n\n  get hasWorkflows() {\n    return this.args.workflows.length > 0;\n  }\n\n  get hasActiveFilters() {\n    return (\n      this.filterPredicateGroup.predicates.length > 0 ||\n      this.eventFilter !== 'any' ||\n      this.statusFilter !== 'any'\n    );\n  }\n\n  get hasFilteredWorkflows() {\n    return this.filteredWorkflows.length > 0;\n  }\n\n  get noWorkflowsMatchFilters() {\n    return this.hasWorkflows && this.filteredWorkflows.length === 0;\n  }\n\n  get filteredWorkflows() {\n    let filtered = this.args.workflows;\n    if (this.eventFilter !== 'any') {\n      filtered = filtered.filter(wf => wf.triggerType === this.eventFilter);\n    }\n    if (this.statusFilter !== 'any') {\n      filtered = filtered.filter(wf => wf.status === this.statusFilter);\n    }\n    if (this.filterPredicateGroup) {\n      filtered = filtered.filter(wf =>\n        this.filterPredicateGroup.predicates.every(predicate =>\n          this.workflowPredicateMatch(wf, predicate),\n        ),\n      );\n    }\n    return filtered;\n  }\n\n  workflowPredicateMatch(workflow, predicate) {\n    return workflow.actions\n      .map(a => a)\n      .some(action => this.predicateActionMatch(action, predicate));\n  }\n\n  predicateActionMatch(action, predicate) {\n    let actionDataKey = this.PREDICATE_TYPE_TO_ACTION_DATA_KEY[predicate.type];\n    let dataPresent = actionDataKey in action.actionData;\n    let data = action.actionData[actionDataKey];\n    switch (predicate.comparison) {\n      case 'eq':\n        return dataPresent && predicate.value === data;\n      case 'ne':\n        return dataPresent && predicate.value !== data;\n      case 'known':\n      case 'true':\n        return dataPresent;\n      case 'unknown':\n        return !dataPresent;\n      default:\n        return true;\n    }\n  }\n\n  @action\n  updateEventFilter(newFilter) {\n    this.eventFilter = newFilter;\n    this.storeFilters();\n  }\n\n  @action\n  updateStatusFilter(newFilter) {\n    this.statusFilter = newFilter;\n    this.storeFilters();\n  }\n\n  @action\n  clearFilters() {\n    this.eventFilter = 'any';\n    this.statusFilter = 'any';\n    this.filterPredicateGroup = this.store.createFragment('predicates/predicate-group');\n    storage.remove(FILTERS_STORAGE_KEY);\n  }\n\n  @action\n  onPredicatesUpdate(predicates) {\n    this.filterPredicateGroup.predicates = copy(predicates);\n    this.storeFilters();\n  }\n\n  storeFilters() {\n    storage.set(FILTERS_STORAGE_KEY, {\n      eventFilter: this.eventFilter,\n      statusFilter: this.statusFilter,\n      predicates: this.filterPredicateGroup.toJSON().predicates,\n    });\n  }\n\n  restoreFilters() {\n    try {\n      this.clearDeletedCachedData();\n\n      if (storage.get(FILTERS_STORAGE_KEY)) {\n        let { eventFilter, statusFilter, predicates } = storage.get(FILTERS_STORAGE_KEY);\n        this.eventFilter = eventFilter || 'any';\n        this.statusFilter = statusFilter || 'any';\n        this.filterPredicateGroup.predicates = predicates || [];\n      }\n    } catch (error) {\n      // If we can't restore the filters, remove what is probably broken data\n      storage.remove(FILTERS_STORAGE_KEY);\n    }\n  }\n\n  //Removes cache if there are filters associated with deleted models\n  clearDeletedCachedData() {\n    let { predicates } = storage.get(FILTERS_STORAGE_KEY);\n    let hasDeletedPredicates = predicates.some(\n      predicate => predicate.value && this.isPredicateModelDeleted(predicate),\n    );\n    if (hasDeletedPredicates) {\n      storage.remove(FILTERS_STORAGE_KEY);\n    }\n  }\n\n  isPredicateModelDeleted(predicate) {\n    let model = null;\n    if (predicate.type === 'rules_filters_assign_to') {\n      model = this.store.peekRecord('admin', predicate.value);\n    } else if (predicate.type === 'rules_filters_manual_tag') {\n      model = this.store.peekRecord('tag', predicate.value);\n    } else if (predicate.type === 'rules_filters_apply_conversation_sla') {\n      let slas = this.store.peekRecord('inbox/conversation-sla').toArray();\n      model = slas.findBy('id', predicate.value);\n    }\n    return !model;\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<Predicates::PredicatesEditor\\n  @mode=\\\"rules-filters\\\"\\n  @predicates={{@filterPredicateGroup.predicates}}\\n  @attributeGroupList={{this.attributeGroupList}}\\n  @disabledAttributeIdentifiers={{this.disabledAttributeIdentifiers}}\\n  @shouldShowAttributeFilter={{false}}\\n  @onUpdate={{@onPredicatesUpdate}}\\n  as |predicatesEditor|\\n>\\n  <div class=\\\"flex flex-row flex-wrap gap-2 pl-8 pr-8 mb-2\\\">\\n    <IcSelect\\n      class=\\\"mb-2\\\"\\n      @dropdownClass=\\\"workflows__index__filters-dropdown\\\"\\n      @items={{this.eventItems}}\\n      @hasFilter={{false}}\\n      @onSelectItem={{@updateEventFilter}}\\n      @selectedValue={{@eventFilter}} as |select|\\n    >\\n      <select.opener class=\\\"u__pointer-cursor\\\">\\n        <IcFilterBlock\\n          @isOneLine={{true}}\\n          @icon=\\\"trigger\\\"\\n          @name=\\\"Event\\\"\\n          @details={{this.eventFilterDetails}}\\n          @isClickable={{true}}\\n          data-test-filter-component=\\\"event\\\"\\n        />\\n      </select.opener>\\n    </IcSelect>\\n    <IcSelect\\n      @dropdownClass=\\\"workflows__index__filters-dropdown\\\"\\n      @items={{this.statusItems}}\\n      @hasFilter={{false}}\\n      @onSelectItem={{@updateStatusFilter}}\\n      @selectedValue={{@statusFilter}} as |select|\\n    >\\n      <select.opener class=\\\"u__pointer-cursor\\\">\\n        <IcFilterBlock\\n          @isOneLine={{true}}\\n          @icon=\\\"boolean\\\"\\n          @name=\\\"State\\\"\\n          @details={{this.statusFilterDetails}}\\n          @isClickable={{true}}\\n          data-test-filter-component=\\\"status\\\"\\n        />\\n      </select.opener>\\n    </IcSelect>\\n    {{#each predicatesEditor.predicates as |predicate index|}}\\n      <predicatesEditor.components.predicateEditor\\n        class=\\\"rule-editor__block\\\"\\n        @isOneLine={{true}}\\n        @index={{index}}\\n        @predicate={{predicate}}\\n        data-test-filter-predicate={{predicate.type}}\\n        @dropdownClass={{'workflows__index__filters-dropdown'}}\\n      />\\n    {{/each}}\\n    <predicatesEditor.components.attributePickerOpener @label=\\\"Add filter\\\" class=\\\"pt-2 ml-2\\\"/>\\n    {{#if @hasActiveFilters}}\\n      <div class=\\\"pt-2 ml-2\\\">\\n        <span class=\\\"pt-px pb-px u__display-inline-block\\\">\\n          <a class=\\\"btn__tertiary\\\" {{on \\\"click\\\" @clearFilters}}>Clear</a>\\n        </span>\\n      </div>\\n    {{/if}}\\n  </div>\\n</Predicates::PredicatesEditor>\\n\", {\"contents\":\"<Predicates::PredicatesEditor\\n  @mode=\\\"rules-filters\\\"\\n  @predicates={{@filterPredicateGroup.predicates}}\\n  @attributeGroupList={{this.attributeGroupList}}\\n  @disabledAttributeIdentifiers={{this.disabledAttributeIdentifiers}}\\n  @shouldShowAttributeFilter={{false}}\\n  @onUpdate={{@onPredicatesUpdate}}\\n  as |predicatesEditor|\\n>\\n  <div class=\\\"flex flex-row flex-wrap gap-2 pl-8 pr-8 mb-2\\\">\\n    <IcSelect\\n      class=\\\"mb-2\\\"\\n      @dropdownClass=\\\"workflows__index__filters-dropdown\\\"\\n      @items={{this.eventItems}}\\n      @hasFilter={{false}}\\n      @onSelectItem={{@updateEventFilter}}\\n      @selectedValue={{@eventFilter}} as |select|\\n    >\\n      <select.opener class=\\\"u__pointer-cursor\\\">\\n        <IcFilterBlock\\n          @isOneLine={{true}}\\n          @icon=\\\"trigger\\\"\\n          @name=\\\"Event\\\"\\n          @details={{this.eventFilterDetails}}\\n          @isClickable={{true}}\\n          data-test-filter-component=\\\"event\\\"\\n        />\\n      </select.opener>\\n    </IcSelect>\\n    <IcSelect\\n      @dropdownClass=\\\"workflows__index__filters-dropdown\\\"\\n      @items={{this.statusItems}}\\n      @hasFilter={{false}}\\n      @onSelectItem={{@updateStatusFilter}}\\n      @selectedValue={{@statusFilter}} as |select|\\n    >\\n      <select.opener class=\\\"u__pointer-cursor\\\">\\n        <IcFilterBlock\\n          @isOneLine={{true}}\\n          @icon=\\\"boolean\\\"\\n          @name=\\\"State\\\"\\n          @details={{this.statusFilterDetails}}\\n          @isClickable={{true}}\\n          data-test-filter-component=\\\"status\\\"\\n        />\\n      </select.opener>\\n    </IcSelect>\\n    {{#each predicatesEditor.predicates as |predicate index|}}\\n      <predicatesEditor.components.predicateEditor\\n        class=\\\"rule-editor__block\\\"\\n        @isOneLine={{true}}\\n        @index={{index}}\\n        @predicate={{predicate}}\\n        data-test-filter-predicate={{predicate.type}}\\n        @dropdownClass={{'workflows__index__filters-dropdown'}}\\n      />\\n    {{/each}}\\n    <predicatesEditor.components.attributePickerOpener @label=\\\"Add filter\\\" class=\\\"pt-2 ml-2\\\"/>\\n    {{#if @hasActiveFilters}}\\n      <div class=\\\"pt-2 ml-2\\\">\\n        <span class=\\\"pt-px pb-px u__display-inline-block\\\">\\n          <a class=\\\"btn__tertiary\\\" {{on \\\"click\\\" @clearFilters}}>Clear</a>\\n        </span>\\n      </div>\\n    {{/if}}\\n  </div>\\n</Predicates::PredicatesEditor>\\n\",\"moduleName\":\"embercom/components/workflows/index/filters/filters-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/index/filters/filters-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { TRIGGERS } from 'embercom/lib/workflows/constants/triggers';\n\nexport default class FiltersComponent extends Component {\n  @service appService;\n  @service attributeService;\n\n  events = TRIGGERS;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get eventItems() {\n    let items = [{ text: 'Any', value: 'any' }];\n    items = items.concat(this.events.map(e => ({ text: e.text, value: e.value })));\n    return items;\n  }\n\n  get statusItems() {\n    return [\n      { text: 'Any', value: 'any' },\n      { text: 'Live', value: 'live' },\n      { text: 'Paused', value: 'paused' },\n    ];\n  }\n\n  get eventFilterDisplayName() {\n    let item = this.eventItems.find(e => e.value === this.args.eventFilter);\n    return item.text;\n  }\n\n  get eventFilterDetails() {\n    return `is ${this.eventFilterDisplayName}`;\n  }\n\n  get statusFilterDisplayName() {\n    let item = this.statusItems.find(e => e.value === this.args.statusFilter);\n    return item.text;\n  }\n\n  get statusFilterDetails() {\n    return `is ${this.statusFilterDisplayName}`;\n  }\n\n  get attributeGroupList() {\n    return [\n      {\n        heading: 'Rules that contain',\n        attributes: this.attributeService.workflowFilterAttributes,\n      },\n    ];\n  }\n\n  get filtersAdded() {\n    return this.args.filterPredicateGroup.predicates.map(p => p.attributeIdentifier);\n  }\n\n  get disabledAttributeIdentifiers() {\n    return this.attributeService.workflowFilterAttributes\n      .filter(attr => attr.disabled || this.filtersAdded.includes(attr.identifier))\n      .map(attr => attr.identifier);\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row\\\">\\n  <div class=\\\"flex flex-col flex-1\\\">\\n    <LinkTo @route=\\\"apps.app.inbox.automation.workflows.edit\\\" @model={{@workflow.id}} class=\\\"no-underline\\\">\\n      <div class=\\\"flex flex-row flex-1\\\">\\n        <div class=\\\"flex flex-row items-start mr-2 workflows__index__list-item__drag-handle\\\" data-test-workflow-list-item-drag-handle={{true}}>\\n          <IcTooltip\\n            @isDisabled={{if @hasActiveFilters false true}}\\n            as |t|\\n          >\\n            <t.opener>\\n              <div>\\n                {{ic-interface-icon 'vertical-order' color='gray'}}\\n              </div>\\n            </t.opener>\\n            <t.content>\\n              To re-order these, clear filters\\n            </t.content>\\n          </IcTooltip>\\n\\n        </div>\\n        <div class=\\\"flex flex-row justify-between flex-grow\\\">\\n          <div class=\\\"flex flex-col\\\">\\n            <div class=\\\"flex flex-row\\\">\\n              <Heading @size='3' class=\\\"mr-2\\\" data-test-workflow-list-item-name={{true}}>\\n                {{@workflow.name}}\\n              </Heading>\\n              {{ic-stamp this.stateLabel}}\\n            </div>\\n            <Paragraph data-test-workflow-list-item-trigger={{true}} class=\\\"mb-2 mt-2\\\">\\n              <span>\\n                {{ic-interface-icon this.triggerObject.icon}}\\n              </span>\\n              <span class=\\\"interface-icon__label\\\">{{this.description}}</span>\\n            </Paragraph>\\n            <div class=\\\"flex flex-row\\\" data-test-workflow-list-item-actions-box={{true}}>\\n              <div class=\\\"u__one-truncated-line\\\">\\n                {{#each this.displayActions as |displayAction| }}\\n                  {{component displayAction.indexComponent action=displayAction actionContext=@actionContext}}\\n                {{/each}}\\n              </div>\\n              <div class=\\\"flex-shrink-0\\\">\\n                {{#if this.moreActions}}<span class=\\\"text-gray\\\">{{this.moreActions}}</span>{{/if}}\\n                {{#if this.noActions}}<Text @styling='muted'>No actions</Text>{{/if}}\\n              </div>\\n            </div>\\n          </div>\\n          {{#if @workflow.lastAppliedAt}}\\n            <div class=\\\"text-gray pt-1 pr-1\\\">Last applied {{abbreviated-relative-time-ago-helper @workflow.lastAppliedAt}}</div>\\n          {{/if}}\\n        </div>\\n      </div>\\n    </LinkTo>\\n  </div>\\n  <div class=\\\"flex flex-col justify-start ml-2\\\">\\n    <IcDropdownOpener @groupList={{this.groupList}}>\\n      <IcButton\\n        @type=\\\"secondary\\\"\\n        @icon=\\\"small-ellipsis\\\"\\n        @showsIconOnly={{true}}\\n        @subtle={{true}}\\n        @mode=\\\"inline\\\"\\n        class=\\\"workflows__index__list-item-ellipsis\\\"\\n      />\\n    </IcDropdownOpener>\\n  </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"flex flex-row\\\">\\n  <div class=\\\"flex flex-col flex-1\\\">\\n    <LinkTo @route=\\\"apps.app.inbox.automation.workflows.edit\\\" @model={{@workflow.id}} class=\\\"no-underline\\\">\\n      <div class=\\\"flex flex-row flex-1\\\">\\n        <div class=\\\"flex flex-row items-start mr-2 workflows__index__list-item__drag-handle\\\" data-test-workflow-list-item-drag-handle={{true}}>\\n          <IcTooltip\\n            @isDisabled={{if @hasActiveFilters false true}}\\n            as |t|\\n          >\\n            <t.opener>\\n              <div>\\n                {{ic-interface-icon 'vertical-order' color='gray'}}\\n              </div>\\n            </t.opener>\\n            <t.content>\\n              To re-order these, clear filters\\n            </t.content>\\n          </IcTooltip>\\n\\n        </div>\\n        <div class=\\\"flex flex-row justify-between flex-grow\\\">\\n          <div class=\\\"flex flex-col\\\">\\n            <div class=\\\"flex flex-row\\\">\\n              <Heading @size='3' class=\\\"mr-2\\\" data-test-workflow-list-item-name={{true}}>\\n                {{@workflow.name}}\\n              </Heading>\\n              {{ic-stamp this.stateLabel}}\\n            </div>\\n            <Paragraph data-test-workflow-list-item-trigger={{true}} class=\\\"mb-2 mt-2\\\">\\n              <span>\\n                {{ic-interface-icon this.triggerObject.icon}}\\n              </span>\\n              <span class=\\\"interface-icon__label\\\">{{this.description}}</span>\\n            </Paragraph>\\n            <div class=\\\"flex flex-row\\\" data-test-workflow-list-item-actions-box={{true}}>\\n              <div class=\\\"u__one-truncated-line\\\">\\n                {{#each this.displayActions as |displayAction| }}\\n                  {{component displayAction.indexComponent action=displayAction actionContext=@actionContext}}\\n                {{/each}}\\n              </div>\\n              <div class=\\\"flex-shrink-0\\\">\\n                {{#if this.moreActions}}<span class=\\\"text-gray\\\">{{this.moreActions}}</span>{{/if}}\\n                {{#if this.noActions}}<Text @styling='muted'>No actions</Text>{{/if}}\\n              </div>\\n            </div>\\n          </div>\\n          {{#if @workflow.lastAppliedAt}}\\n            <div class=\\\"text-gray pt-1 pr-1\\\">Last applied {{abbreviated-relative-time-ago-helper @workflow.lastAppliedAt}}</div>\\n          {{/if}}\\n        </div>\\n      </div>\\n    </LinkTo>\\n  </div>\\n  <div class=\\\"flex flex-col justify-start ml-2\\\">\\n    <IcDropdownOpener @groupList={{this.groupList}}>\\n      <IcButton\\n        @type=\\\"secondary\\\"\\n        @icon=\\\"small-ellipsis\\\"\\n        @showsIconOnly={{true}}\\n        @subtle={{true}}\\n        @mode=\\\"inline\\\"\\n        class=\\\"workflows__index__list-item-ellipsis\\\"\\n      />\\n    </IcDropdownOpener>\\n  </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/workflows/index/list-item-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/index/list-item-component.hbs\"}});\n/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { TRIGGERS } from 'embercom/lib/workflows/constants/triggers';\nimport { pluralize } from 'ember-inflector';\nimport { action } from '@ember/object';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport { inject as service } from '@ember/service';\nconst MAX_ACTIONS_TO_SHOW = 3;\n\nexport default class ListItemComponent extends Component {\n  @service appService;\n  @service notificationsService;\n  @tracked workflow = this.args.workflow;\n  @tracked workflows = this.args.workflows;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get stateLabel() {\n    return this.args.workflow.isLive ? 'Live' : 'Paused';\n  }\n\n  get displayActions() {\n    return this.args.workflow.actions.sortBy('sortOrder').slice(0, MAX_ACTIONS_TO_SHOW);\n  }\n\n  get noActions() {\n    return this.workflow.actions.length === 0;\n  }\n\n  get moreActions() {\n    if (this.args.workflow.actions.length > MAX_ACTIONS_TO_SHOW) {\n      let n = this.args.workflow.actions.length - MAX_ACTIONS_TO_SHOW;\n      return `+${n} more ${pluralize(n, 'action', { withoutCount: true })}`;\n    }\n  }\n\n  get triggerObject() {\n    return TRIGGERS.find(trigger => trigger.value === this.args.workflow.triggerType);\n  }\n\n  get description() {\n    return `When ${this.triggerObject.text.toLowerCase()}`;\n  }\n\n  get groupList() {\n    let items = [\n      {\n        text: 'Move to top',\n        icon: 'thin-up-arrow',\n        onSelectItem: this.moveWorkflowToTop,\n        isDisabled: this.args.hasActiveFilters || this.workflow.order === 0,\n      },\n      {\n        text: 'Move to bottom',\n        icon: 'thin-down-arrow',\n        onSelectItem: this.moveWorkflowToBottom,\n        isDisabled: this.args.hasActiveFilters || this.workflow.order === this.workflows.length - 1,\n      },\n    ];\n\n    if (this.app.canUseInboxRules) {\n      items.push(this.pauseLiveItem());\n    }\n\n    items.push({\n      text: 'Delete',\n      icon: 'trash',\n      onSelectItem: this.deleteWorkflow,\n    });\n\n    return [{ items }];\n  }\n\n  pauseLiveItem() {\n    if (this.workflow.isLive) {\n      return {\n        text: 'Pause',\n        icon: 'pause',\n        onSelectItem: this.pauseWorkflow,\n      };\n    } else {\n      return {\n        text: 'Set live',\n        icon: 'put-live',\n        onSelectItem: this.setLiveWorkflow,\n        isDisabled: !this.workflow.canBeLive,\n      };\n    }\n  }\n\n  @action\n  async pauseWorkflow() {\n    this.workflow.set('status', 'paused');\n    return this.workflow\n      .save()\n      .then(() => {\n        this.notificationsService.notifyConfirmation('The rule was paused');\n      })\n      .catch(() => {\n        this.workflow.set('status', 'live');\n        this.notificationsService.notifyError('Unable to pause rule');\n      });\n  }\n\n  @action\n  async setLiveWorkflow() {\n    this.workflow.set('status', 'live');\n    return this.workflow\n      .save()\n      .then(() => {\n        this.notificationsService.notifyConfirmation('The rule was set live');\n      })\n      .catch(() => {\n        this.workflow.set('status', 'paused');\n        this.notificationsService.notifyError('Unable to set rule live');\n      });\n  }\n\n  @action\n  deleteWorkflow() {\n    let confirmOptions = {\n      title: 'Are you sure you want to delete?',\n      primaryButtonType: 'primary-destructive',\n      confirmButtonText: 'Delete rule',\n      cancelButtonText: 'Cancel',\n      body: \"This is permanent. You won't be able to get your rule back\",\n    };\n    intercomConfirm(this, confirmOptions).then(() => {\n      this.workflow\n        .destroyRecord()\n        .then(() => {\n          this.notificationsService.notifyConfirmation('The rule was deleted');\n        })\n        .catch(() => this.notificationsService.notifyError('Unable to delete rule'));\n    });\n  }\n\n  @action\n  moveWorkflowToTop() {\n    this.shiftWorkflows(0, 1);\n  }\n\n  @action\n  moveWorkflowToBottom() {\n    this.shiftWorkflows(this.workflows.length - 1, -1);\n  }\n\n  shiftWorkflows(newPosition, shiftBy) {\n    this.workflow\n      .reorder(newPosition)\n      .then(() => {\n        this.workflow.set('order', newPosition);\n        this.workflows.forEach(workflow => {\n          if (workflow !== this.workflow) {\n            workflow.set('order', workflow.get('order') + shiftBy);\n          }\n        });\n        this.notificationsService.notifyConfirmation(\"Rule's order updated\");\n      })\n      .catch(error => this.notificationsService.notifyError('Unable to update rule order'));\n  }\n}\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"workflows__index__priority-indicator mt-3 mb-6\\\">\\n    <div class=\\\"workflows__index__priority-indicator__text text-gray pl-4 pr-4\\\">\\n        {{@text}}\\n    </div>\\n</div>\\n\", {\"contents\":\"<div class=\\\"workflows__index__priority-indicator mt-3 mb-6\\\">\\n    <div class=\\\"workflows__index__priority-indicator__text text-gray pl-4 pr-4\\\">\\n        {{@text}}\\n    </div>\\n</div>\\n\",\"moduleName\":\"embercom/components/workflows/index/priority-divider.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/index/priority-divider.hbs\"}});\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n","import { hbs } from 'ember-cli-htmlbars';\nconst __COLOCATED_TEMPLATE__ = hbs(\"<div class=\\\"flex flex-row justify-between\\\">\\n  <Common::HamburgerMenu @includePadding={{false}} class=\\\"p-4 pl-8 pr-8\\\">\\n    <Heading @size=\\\"1\\\">\\n      Rules\\n    </Heading>\\n  </Common::HamburgerMenu>\\n</div>\\n<div class=\\\"flex flex-col justify-center items-center mt-16\\\">\\n  <div class=\\\"flex flex-col w-9/12 gap-8 workflows__index__opt-in__main-content\\\">\\n    <div class=\\\"flex flex-row justify-between items-center\\\">\\n      <p class=\\\"display-text o__size-1\\\">Save time with powerful, flexible new rules</p>\\n      <img src=\\\"/assets/images/workflows/rules-plus-plus@2x.png\\\" width=\\\"209\\\" class=\\\"ml-6\\\" />\\n    </div>\\n    <div class=\\\"flex flex-row gap-8 pb-6\\\">\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <IcIllustrativeIcon @name=\\\"rule\\\"/>\\n        <Heading @size=\\\"4\\\" class=\\\"mt-4 mb-2\\\">Flexible events and conditions</Heading>\\n        <Paragraph>Trigger rules for outbound messages, inactive teammates, after-hour questions, and more.</Paragraph>\\n      </div>\\n\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <IcIllustrativeIcon @name=\\\"goal\\\" />\\n        <Heading @size=\\\"4\\\" class=\\\"mt-4 mb-2\\\">Manage your rules in one place</Heading>\\n        <Paragraph>Easily create and track your rules for assignments, tags, priorities, and SLAs—all in one place.</Paragraph>\\n      </div>\\n\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <IcIllustrativeIcon @name=\\\"visitor-auto-message\\\" />\\n        <Heading @size=\\\"4\\\" class=\\\"mt-4 mb-2\\\">Multiple actions in a single rule</Heading>\\n        <Paragraph>Prioritize, assign to the right team, set conversation data, and more all at once.</Paragraph>\\n      </div>\\n    </div>\\n    <div class=\\\"flex flex-col gap-10 -mt-4\\\">\\n      <div class=\\\"flex flex-col gap-2\\\">\\n        <div class=\\\"flex flex-row items-center gap-4\\\">\\n          <IcButton\\n            @type=\\\"primary\\\"\\n            @onClick={{toggle \\\"showConfirmModal\\\" this}}\\n            @disabled={{this.taskRunning}}\\n            data-test-rules-opt-in-button={{true}}\\n          >\\n            {{#if this.taskRunning}}\\n              <IcLoadingIndicator @size=\\\"tiny\\\" @color=\\\"white\\\" @inline={{true}}/>\\n              Switching...\\n            {{else}}\\n              I'm ready, switch it on!\\n            {{/if}}\\n          </IcButton>\\n          <Pulse::HelpContent::Link\\n            @href=\\\"https://www.intercom.com/help/en/articles/4318848-introducing-intercom-s-new-and-improved-rules\\\"\\n            @title=\\\"How new rules work\\\"\\n            @type=\\\"article\\\"\\n          />\\n        </div>\\n        {{#if this.taskRunning}}\\n          <Text @styling=\\\"muted\\\">This might take a minute</Text>\\n        {{/if}}\\n      </div>\\n      <div class=\\\"flex flex-col\\\">\\n        <Paragraph @styling=\\\"small\\\">\\n          <div class=\\\"mb-1\\\"><Text @styling=\\\"strong\\\">What happens when you switch to our new rules</Text></div>\\n          <ul class=\\\"workflows__index__opt-in__list\\\">\\n            <li>You'll now manage your rules for assignments, tags, priority, and SLAS from one place</li>\\n            <li>We'll migrate all of your existing rules, including their prioritization, to this new experience</li>\\n            <li>Your rules will continue to work as they have previously – we won’t change or delete any thing</li>\\n          </ul>\\n        </Paragraph>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n<IcModal\\n  @onModalClose={{toggle \\\"showConfirmModal\\\" this}}\\n  @isOpen={{this.showConfirmModal}}\\n  data-test-rules-opt-in-modal={{true}}\\n  as |modal|\\n>\\n<modal.header @title=\\\"We're about to switch on new rules\\\" />\\n  <modal.body>\\n  <p>\\n    Your old rules will be migrated automatically. Once the switch is complete they will be available on one page and will continue to work as they did previously. Do you wish to continue?\\n  </p>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Yes, continue\\\"\\n      type=\\\"live\\\"\\n      action=this.optIn\\n      data-test-rules-opt-in-modal-confirm-button=true\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=(toggle \\\"showConfirmModal\\\" this)\\n    }}\\n  />\\n</IcModal>\\n\\n\\n\", {\"contents\":\"<div class=\\\"flex flex-row justify-between\\\">\\n  <Common::HamburgerMenu @includePadding={{false}} class=\\\"p-4 pl-8 pr-8\\\">\\n    <Heading @size=\\\"1\\\">\\n      Rules\\n    </Heading>\\n  </Common::HamburgerMenu>\\n</div>\\n<div class=\\\"flex flex-col justify-center items-center mt-16\\\">\\n  <div class=\\\"flex flex-col w-9/12 gap-8 workflows__index__opt-in__main-content\\\">\\n    <div class=\\\"flex flex-row justify-between items-center\\\">\\n      <p class=\\\"display-text o__size-1\\\">Save time with powerful, flexible new rules</p>\\n      <img src=\\\"/assets/images/workflows/rules-plus-plus@2x.png\\\" width=\\\"209\\\" class=\\\"ml-6\\\" />\\n    </div>\\n    <div class=\\\"flex flex-row gap-8 pb-6\\\">\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <IcIllustrativeIcon @name=\\\"rule\\\"/>\\n        <Heading @size=\\\"4\\\" class=\\\"mt-4 mb-2\\\">Flexible events and conditions</Heading>\\n        <Paragraph>Trigger rules for outbound messages, inactive teammates, after-hour questions, and more.</Paragraph>\\n      </div>\\n\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <IcIllustrativeIcon @name=\\\"goal\\\" />\\n        <Heading @size=\\\"4\\\" class=\\\"mt-4 mb-2\\\">Manage your rules in one place</Heading>\\n        <Paragraph>Easily create and track your rules for assignments, tags, priorities, and SLAs—all in one place.</Paragraph>\\n      </div>\\n\\n      <div class=\\\"flex flex-col flex-1\\\">\\n        <IcIllustrativeIcon @name=\\\"visitor-auto-message\\\" />\\n        <Heading @size=\\\"4\\\" class=\\\"mt-4 mb-2\\\">Multiple actions in a single rule</Heading>\\n        <Paragraph>Prioritize, assign to the right team, set conversation data, and more all at once.</Paragraph>\\n      </div>\\n    </div>\\n    <div class=\\\"flex flex-col gap-10 -mt-4\\\">\\n      <div class=\\\"flex flex-col gap-2\\\">\\n        <div class=\\\"flex flex-row items-center gap-4\\\">\\n          <IcButton\\n            @type=\\\"primary\\\"\\n            @onClick={{toggle \\\"showConfirmModal\\\" this}}\\n            @disabled={{this.taskRunning}}\\n            data-test-rules-opt-in-button={{true}}\\n          >\\n            {{#if this.taskRunning}}\\n              <IcLoadingIndicator @size=\\\"tiny\\\" @color=\\\"white\\\" @inline={{true}}/>\\n              Switching...\\n            {{else}}\\n              I'm ready, switch it on!\\n            {{/if}}\\n          </IcButton>\\n          <Pulse::HelpContent::Link\\n            @href=\\\"https://www.intercom.com/help/en/articles/4318848-introducing-intercom-s-new-and-improved-rules\\\"\\n            @title=\\\"How new rules work\\\"\\n            @type=\\\"article\\\"\\n          />\\n        </div>\\n        {{#if this.taskRunning}}\\n          <Text @styling=\\\"muted\\\">This might take a minute</Text>\\n        {{/if}}\\n      </div>\\n      <div class=\\\"flex flex-col\\\">\\n        <Paragraph @styling=\\\"small\\\">\\n          <div class=\\\"mb-1\\\"><Text @styling=\\\"strong\\\">What happens when you switch to our new rules</Text></div>\\n          <ul class=\\\"workflows__index__opt-in__list\\\">\\n            <li>You'll now manage your rules for assignments, tags, priority, and SLAS from one place</li>\\n            <li>We'll migrate all of your existing rules, including their prioritization, to this new experience</li>\\n            <li>Your rules will continue to work as they have previously – we won’t change or delete any thing</li>\\n          </ul>\\n        </Paragraph>\\n      </div>\\n    </div>\\n  </div>\\n</div>\\n<IcModal\\n  @onModalClose={{toggle \\\"showConfirmModal\\\" this}}\\n  @isOpen={{this.showConfirmModal}}\\n  data-test-rules-opt-in-modal={{true}}\\n  as |modal|\\n>\\n<modal.header @title=\\\"We're about to switch on new rules\\\" />\\n  <modal.body>\\n  <p>\\n    Your old rules will be migrated automatically. Once the switch is complete they will be available on one page and will continue to work as they did previously. Do you wish to continue?\\n  </p>\\n  </modal.body>\\n  <modal.footer\\n    @primaryButton={{hash\\n      label=\\\"Yes, continue\\\"\\n      type=\\\"live\\\"\\n      action=this.optIn\\n      data-test-rules-opt-in-modal-confirm-button=true\\n    }}\\n    @secondaryButton={{hash\\n      label=\\\"Cancel\\\"\\n      action=(toggle \\\"showConfirmModal\\\" this)\\n    }}\\n  />\\n</IcModal>\\n\\n\\n\",\"moduleName\":\"embercom/components/workflows/opt-in-component.hbs\",\"parseOptions\":{\"srcName\":\"embercom/components/workflows/opt-in-component.hbs\"}});\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class IndexComponent extends Component {\n  @service appService;\n  @service notificationsService;\n  @tracked showConfirmModal = false;\n\n  constructor() {\n    super(...arguments);\n\n    if (this.args.taskStartedBefore) {\n      this.args.pollAppReloadForWorkflows.perform();\n    }\n  }\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get taskRunning() {\n    return this.args.optCustomerIn?.isRunning || this.args.taskStartedBefore;\n  }\n\n  @action\n  optIn() {\n    this.showConfirmModal = false;\n    this.args.optCustomerIn.perform();\n  }\n}\n","export default config;\n\n/**\n * Type declarations for\n *    import config from './config/environment'\n *\n * For now these need to be managed by the developer\n * since different ember addons can materialize new entries.\n */\ndeclare const config: {\n  environment: any;\n  modulePrefix: string;\n  podModulePrefix: string;\n  locationType: string;\n  rootURL: string;\n};\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { alias } from '@ember/object/computed';\nimport Evented from '@ember/object/evented';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { isBootedInPublicAppStoreMode } from '../lib/embercom-boot-data';\n\nexport default Controller.extend(Evented, {\n  queryParams: ['ember_rev'],\n  tooltipComponent: null,\n  ember_rev: null,\n  model: {},\n  activeModalControllerPath: null,\n  shouldWarnOnNavigation: false,\n  appController: controller('apps/app'),\n  app: alias('appController.model'),\n  isBootedInPublicAppStoreMode: isBootedInPublicAppStoreMode(),\n\n  actions: {\n    modalClosed() {\n      this.trigger('modalClosed');\n    },\n    toggleKeyboardShortcutsModal() {\n      this.send('toggleModal', 'apps/app/keyboard-shortcuts-modal', {});\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { alias } from '@ember/object/computed';\nimport Controller from '@ember/controller';\nexport default Controller.extend({\n  admin: alias('model'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller, { inject as controller } from '@ember/controller';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { alias, readOnly, match, or, equal, not } from '@ember/object/computed';\nimport RouteRegexes from 'embercom/lib/route-regexes';\nimport DetectsIntercomradesDomain from 'embercom/lib/detects-intercomrades-domain';\nimport IntercomradesProductsOverride from 'embercom/lib/intercomrades-products-override';\nimport showUnderConstruction from 'embercom/lib/show-under-construction';\n\nexport default Controller.extend(DetectsIntercomradesDomain, {\n  notificationsService: service(),\n  applicationController: controller('application'),\n  appsController: controller('apps'),\n  usersController: controller('apps.app.users'),\n  companiesController: controller('apps.app.companies'),\n  segmentController: controller('apps/app/users/segments/segment'),\n  userSegmentController: alias('segmentController'),\n  companySegmentController: controller('apps/app/companies/segments/segment'),\n  admin: alias('appsController.model'),\n  app: alias('model'),\n  showPrimaryNav: true,\n  navbarCollapsingService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  router: service(),\n  navbarCollapsed: readOnly('navbarCollapsingService.collapsed'),\n  currentPath: alias('applicationController.currentPath'),\n  isOnPlatformRoute: match('currentPath', RouteRegexes.platformRoutes),\n  isOnUsersRoute: match('currentPath', RouteRegexes.usersRoute),\n  isOnCompaniesRoute: match('currentPath', RouteRegexes.companiesRoute),\n  isOnOperatorHome: match('currentPath', RouteRegexes.operatorHome),\n  isOnIntegrationsRoute: match('currentPath', RouteRegexes.integrationsRoute),\n  isOnExcludedOnboardingRoute: match('currentPath', RouteRegexes.excludedFromOnboardingRoutes),\n  isOnAnswersRoute: match('currentPath', RouteRegexes.answersRoute),\n  isOnRouteWithoutSubmenuAndShouldRoundBorders: or(\n    'isOnOperatorHome',\n    'isOnIntegrationsRoute',\n    'isOnAnswersRoute',\n  ),\n  showUnderConstructionBanner: computed(\n    'router',\n    'app.{isTestApp,isDeveloperWorkspace}',\n    function() {\n      return showUnderConstruction(this.app, this.router);\n    },\n  ),\n\n  setPageTitle(title) {\n    document.title = `${title} | ${this.get('app.name')} | Intercom`;\n  },\n\n  modifiedProducts: computed(function() {\n    return IntercomradesProductsOverride.isEnabled(this.get('app.id'));\n  }),\n\n  hasCompanies: computed('app.companySegments', function() {\n    let allSegment = this.get('app.companySegments').findBy('identifier', 'all');\n    return allSegment.get('count') > 0;\n  }),\n  showCompanyLink: readOnly('app.companiesActive'),\n\n  currentRouteName: readOnly('applicationController.currentRouteName'),\n  currentRouteIsFeed: equal('currentRouteName', 'apps.app.feed.index'),\n\n  canUseImportantAdminNotifications: readOnly('app.canUseImportantAdminNotifications'),\n  hasNoActiveSubscription: not('app.hasActiveSubscription'),\n\n  actions: {\n    transitionToInbox(inboxIdentifier) {\n      if (inboxIdentifier) {\n        this.transitionToRoute(this.get('app.inboxConversationsRoute'), inboxIdentifier);\n      } else {\n        this.transitionToRoute(this.get('app.inboxBaseRoute'));\n      }\n    },\n\n    openModifyProductsModal(path, params) {\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', path, params);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { alias, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller, { inject as controller } from '@ember/controller';\nexport default Controller.extend({\n  router: service(),\n  appController: controller('apps/app'),\n  app: alias('appController.model'),\n  currentAdmin: readOnly('app.currentAdmin'),\n  currentRouteName: readOnly('router.currentRouteName'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject, { computed } from '@ember/object';\nimport { A } from '@ember/array';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\nexport default Controller.extend({\n  notificationsService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  isImpersonationSession: readOnly('app.impersonation_session'),\n\n  hasUnsavedChanges() {\n    return this.get('model.hasDirtyAttributes');\n  },\n\n  revertUnsavedChanges() {\n    this.model.rollbackAttributes();\n  },\n\n  columns: A([\n    EmberObject.create({\n      label: 'Approved',\n      canExpandToFit: true,\n      component: 'table-cells/impersonation-consents/approved-at-cell',\n    }),\n    EmberObject.create({\n      label: 'Status',\n      canExpandToFit: true,\n      component: 'table-cells/impersonation-consents/status-cell',\n    }),\n  ]),\n\n  rows: computed('impersonationConsents.[]', function() {\n    return this.impersonationConsents\n      .map(consent => this.buildRow(consent))\n      .compact()\n      .reverse();\n  }),\n\n  buildRow(consent) {\n    if (!consent.get('createdAt')) {\n      return;\n    }\n    return EmberObject.create({ consent });\n  },\n\n  actions: {\n    giveConsent() {\n      return this.model\n        .save()\n        .then(consent => {\n          this.notificationsService.notifyConfirmation(\n            'Intercom now has permission to access your account. Access expires after 30 days.',\n          );\n          this.impersonationConsents.pushObject(consent);\n        })\n        .catch(() => {\n          this.notificationsService.notifyError(\n            'There was an error saving your approval, please contact support',\n          );\n        });\n    },\n    revokeConsent() {\n      this.model\n        .destroyRecord()\n        .then(consent => {\n          this.notificationsService.notifyConfirmation(\n            'Intercom no longer has permission to access your account.',\n          );\n          this.set('model', this.store.createRecord('admin-impersonation-consent'));\n        })\n        .catch(() => {\n          this.notificationsService.notifyError(\n            'There was an error revoking your approval, please contact support',\n          );\n        });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport { reads, alias, filterBy, union } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport AdminObjectVisibility from 'embercom/components/mixins/admin-object-visibility';\n\nexport default Controller.extend(AdminObjectVisibility, {\n  appController: controller('apps/app'),\n  app: reads('appController.model'),\n  admin: alias('model'),\n  showSaveSuccessfulNotification: true,\n  showSaveErrorNotification: true,\n  saveSuccessNotificationMessage: 'Account settings saved successfully',\n  saveErrorNotificationMessage: 'Something went wrong. Please try again',\n  notificationsService: service('notificationsService'),\n  nonEditableSegments: filterBy('segments', 'is_editable', false),\n  allVisibleSegments: union('nonEditableSegments', 'visibleSegments'),\n\n  beforeSave() {\n    // Implemented by subclass\n  },\n\n  hasUnsavedChanges() {\n    return this.get('model.hasDirtyAttributes');\n  },\n\n  revertUnsavedChanges() {\n    this.model.revert();\n  },\n\n  save() {\n    this.beforeSave();\n    this.setProperties({\n      isSaving: true,\n      hasErrored: false,\n    });\n    this.model\n      .save()\n      .then(this._handleSaveSuccessful.bind(this))\n      .catch(this._handleSaveError.bind(this));\n  },\n\n  _handleSaveSuccessful() {\n    this.setProperties({\n      isSaving: false,\n      hasErrored: false,\n    });\n    if (this.showSaveSuccessfulNotification) {\n      this.notificationsService.notifyConfirmation(this.saveSuccessNotificationMessage);\n    }\n  },\n\n  _handleSaveError() {\n    this.setProperties({\n      isSaving: false,\n      hasErrored: true,\n    });\n    if (this.showSaveErrorNotification) {\n      this.notificationsService.notifyError(this.saveErrorNotificationMessage);\n    }\n  },\n\n  actions: {\n    save() {\n      this.save();\n    },\n    segmentColumns: hiddenOrVisible => [\n      {\n        label: 'Segment name',\n        valueComponent: 'visibility/segments/table-cells/name',\n      },\n      {\n        label: 'Created by',\n        valueComponent: 'visibility/segments/table-cells/created-by',\n      },\n      {\n        label: 'Created',\n        valueComponent: 'visibility/segments/table-cells/created',\n      },\n      {\n        valueComponent: `visibility/segments/table-cells/actions-for-${hiddenOrVisible}`,\n      },\n    ],\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\nimport { empty, alias, and, not, or } from '@ember/object/computed';\nimport { notEqualToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport AccountControllerBase from 'embercom/controllers/apps/app/account/base/account-controller-base';\n\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\nimport Admin from 'embercom/models/admin';\n\nexport default AccountControllerBase.extend({\n  notificationsService: service(),\n  emailHasChanged: notEqualToProperty('admin.email', 'newAdminEmail'),\n\n  passwordIsBlank: empty('password'),\n  requiresPasswordForSave: alias('admin.has_password'),\n  passwordIsBlankAndRequired: and('passwordIsBlank', 'requiresPasswordForSave'),\n\n  canNotChangeEmail: not('admin.canChangeEmail'),\n\n  saveDisabled: or('canNotChangeEmail', 'passwordIsBlankAndRequired', 'isSaving'),\n\n  isSaving: false,\n  isEmailResending: false,\n  isEmailCanceling: false,\n\n  resetToCurrentAdminData() {\n    this.admin.getTwoFactorQRCodeSVG();\n    this.setProperties({\n      newAdminEmail: this.get('admin.email'),\n    });\n  },\n\n  hasUnsavedChanges() {\n    return this.emailHasChanged;\n  },\n\n  revertUnsavedChanges() {\n    this.resetToCurrentAdminData();\n  },\n\n  actions: {\n    save() {\n      this.set('isSaving', true);\n      this.admin\n        .updatePersonalSettings({\n          id: this.get('admin.id'),\n          app_id: this.get('app.id'),\n          email: this.newAdminEmail,\n          current_password: this.password,\n        })\n        .then(updatedAdmin => {\n          this.notificationsService.notifyConfirmation('Your settings were successfully updated');\n          this.setProperties({\n            password: null,\n            isSaving: false,\n            'app.currentAdmin': Admin.peekAndMaybeLoad(this.store, updatedAdmin.id),\n          });\n        })\n        .catch(response => {\n          this.set('isSaving', false);\n          if (response.jqXHR.status === 401) {\n            this.notificationsService.notifyError('The password you provided was incorrect');\n          } else if (response.jqXHR.status === 422) {\n            this.notificationsService.notifyError(\n              `We couldn't update your profile: ${JSON.parse(response.jqXHR.responseText).errors}`,\n            );\n          } else {\n            this.notificationsService.notifyError(\n              \"Hmm, we couldn't update your profile. Please try again.\",\n            );\n          }\n        });\n    },\n\n    disable2FA() {\n      let confirmOptions = {\n        title: 'Disable 2FA',\n        body: 'Are you sure you want to disable two factor authentication for your account?',\n        confirmButtonText: 'Disable 2FA',\n      };\n      intercomConfirm(this, confirmOptions).then(\n        function() {\n          return ajax({\n            type: 'PUT',\n            url: '/ember/admins/disable_two_factor_auth',\n            data: JSON.stringify({\n              id: this.get('admin.id'),\n              app_id: this.get('admin.current_app_id'),\n            }),\n          }).then(\n            function() {\n              this.notificationsService.notifyConfirmation(\n                'Two factor authentication was disabled for your account.',\n              );\n              this.set('admin.has_enabled_2fa', false);\n            }.bind(this),\n            function() {\n              this.notificationsService.notifyError(\n                \"Hmm, we couldn't update your 2FA settings. Please try again.\",\n              );\n            }.bind(this),\n          );\n        }.bind(this),\n      );\n    },\n    adminAvatarChange() {\n      this.notificationsService.notifyConfirmation('Your photo has been updated!');\n    },\n    resendValidationEmail() {\n      this.set('isEmailResending', true);\n      return ajax({\n        type: 'PUT',\n        url: '/ember/admins/resend_verification_email',\n        data: JSON.stringify({\n          id: this.get('admin.id'),\n          app_id: this.get('admin.current_app_id'),\n        }),\n      }).then(\n        function() {\n          this.set('isEmailResending', false);\n          this.notificationsService.notifyConfirmation(\n            'The email had been resent, please check your inbox.',\n          );\n        }.bind(this),\n        function({ jqXHR }) {\n          this.set('isEmailResending', false);\n          if (jqXHR && jqXHR.status === 422) {\n            this.notificationsService.notifyError(jqXHR.responseJSON.errors);\n          } else {\n            this.notificationsService.notifyError(\n              \"Hmm, we couldn't resend the verification email, please try again.\",\n            );\n          }\n        }.bind(this),\n      );\n    },\n    cancelValidationEmail() {\n      this.set('isEmailCanceling', true);\n      return ajax({\n        type: 'PUT',\n        url: '/ember/admins/cancel_verification_email',\n        data: JSON.stringify({\n          id: this.get('admin.id'),\n          app_id: this.get('admin.current_app_id'),\n        }),\n      }).then(\n        function() {\n          this.set('isEmailCanceling', false);\n          this.notificationsService.notifyConfirmation('Pending email change cancelled.');\n          this.set('admin.pending_email_change', null);\n        }.bind(this),\n        function({ jqXHR }) {\n          this.set('isEmailCanceling', false);\n          if (jqXHR && jqXHR.status === 422) {\n            this.notificationsService.notifyError(jqXHR.responseJSON.errors);\n          } else {\n            this.notificationsService.notifyError(\n              \"Hmm, we couldn't cancel this change, please try again.\",\n            );\n          }\n        }.bind(this),\n      );\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nlet NotificationsAskModalController = Controller.extend(IntercomModal, {});\n\nexport default NotificationsAskModalController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nlet NotificationsDeniedModalController = Controller.extend(IntercomModal, {});\n\nexport default NotificationsDeniedModalController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-observers */\nimport { once, next, bind } from '@ember/runloop';\nimport { computed, observer } from '@ember/object';\nimport { on } from '@ember/object/evented';\nimport { isEmpty } from '@ember/utils';\nimport { reads, readOnly, and, not } from '@ember/object/computed';\nimport { inject as controller } from '@ember/controller';\nimport storage from 'embercom/vendor/intercom/storage';\nimport AccountControllerBase from 'embercom/controllers/apps/app/account/base/account-controller-base';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { encodedVapidToken } from 'embercom/lib/vapid-token';\nimport UserAgentDetector from '@intercom/embercom-core/lib/user-agent-detector';\nimport Metrics from 'embercom/models/metrics';\n\nlet AccountNotificationsController = AccountControllerBase.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  appsController: controller('apps'),\n  appController: controller('apps.app'),\n  admin: reads('appsController.model'),\n  app: reads('appController.model'),\n  saveSuccessNotificationMessage: 'Your settings have been saved.',\n  noWebPushSupport: isEmpty(window.PushManager),\n  noWebPushSupportMessage: 'This browser does not support desktop notifications.',\n  hasWebPushSupport: not('noWebPushSupport'),\n\n  accountSpecificNotificationUrl: readOnly('model.accountOwnerSpecificPageNotificationUrl'),\n  accountSpecificNotificationEnabled: readOnly('model.accountOwnerSpecificPageNotificationEnabled'),\n  accountSpecificNotificationDisabled: not('accountSpecificNotificationEnabled'),\n  accountSpecificNotificationUrlHasError: computed(\n    'accountSpecificNotificationUrl',\n    'accountSpecificNotificationEnabled',\n    function() {\n      return (\n        isEmpty(this.accountSpecificNotificationUrl) && this.accountSpecificNotificationEnabled\n      );\n    },\n  ),\n  specificPageNotificationEditorAttrs: computed('accountSpecificNotificationUrl', function() {\n    return {\n      accountSpecificNotificationUrl: this.accountSpecificNotificationUrl,\n      updateSpecificPageNotificationUrl: this.get('actions.updateSpecificPageNotificationUrl'),\n      parentContext: this,\n    };\n  }),\n\n  hasChanges: readOnly('model.hasDirtyAttributes'),\n  hasUnsavedChanges() {\n    return this.get('model.hasDirtyAttributes');\n  },\n\n  revertUnsavedChanges() {\n    this.model.rollbackAttributes();\n  },\n\n  showRespondTooltip: and(\n    'admin.hasMoreThanOneApp',\n    'admin.inboxIsNotActiveOnEveryApp',\n    'admin.inboxIsActiveOnAnyApp',\n  ),\n  showGlobalNotificationNote: and('hasChanges', 'admin.hasMoreThanOneApp'),\n\n  setup: on('init', function() {\n    if (window.Notification && window.Notification.permission === 'granted') {\n      this.set('desktopNotificationsEnabled', storage.get('inbox-desktop-notifications-setting'));\n    }\n  }),\n\n  desktopNotificationsEnabled: false,\n\n  receivesDailySignupEmail: computed('model.dailySummaryEmailFor', {\n    get() {\n      return this.get('model.dailySummaryEmailFor') !== null;\n    },\n    set(key, value) {\n      this.set('model.dailySummaryEmailFor', value ? 'users' : null);\n      return value;\n    },\n  }),\n\n  encodedVapidToken: computed('ENV.environment', function() {\n    return encodedVapidToken();\n  }),\n\n  savePushSubscription(pushSubscription) {\n    return this.model\n      .savePushSubscription(this.app, this.admin, pushSubscription)\n      .then(() => {\n        this.notificationsService.notifyConfirmation(\"Click 'Save' to save your settings\");\n      })\n      .catch(() => {\n        this.notificationsService.notifyError(\n          'Failed to enable web push notification, please try again.',\n        );\n      });\n  },\n\n  desktopNotificationSettingsChanged: observer({\n    dependentKeys: ['desktopNotificationsEnabled'],\n\n    fn() {\n      once(this, this.validateNotificationPermissions);\n    },\n\n    sync: true,\n  }),\n\n  validateNotificationPermissions() {\n    if (false === this.desktopNotificationsEnabled) {\n      return;\n    }\n\n    if (window.Notification === undefined) {\n      this.notificationsService.notifyError(\n        'Desktop Notifications are not supported by your browser.',\n      );\n      this.set('desktopNotificationsEnabled', false);\n      return;\n    }\n\n    switch (window.Notification.permission) {\n      case 'granted':\n        return;\n      case 'denied':\n        next(this, function() {\n          // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n          this.send('openModal', 'apps/app/account/notifications-denied-modal');\n          this.set('desktopNotificationsEnabled', false);\n        });\n        break;\n      default:\n        next(this, function() {\n          this.set('desktopNotificationsEnabled', false); // assume the worst\n          // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n          this.send('openModal', 'apps/app/account/notifications-ask-modal');\n          window.Notification.requestPermission(\n            bind(this, function(status) {\n              this.send('closeModal');\n              switch (status) {\n                case 'granted':\n                  this.set('desktopNotificationsEnabled', true);\n                  this.notificationsService.notifyConfirmation(\n                    'Save your profile settings to enable desktop notifications.',\n                  );\n                  break;\n                case 'denied':\n                  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n                  this.send('openModal', 'apps/app/account/notifications-denied-modal');\n                  break;\n              }\n            }),\n          );\n        });\n        break;\n    }\n  },\n\n  beforeSave() {\n    this.saveDesktopNotificationsSettings();\n  },\n\n  saveDesktopNotificationsSettings() {\n    let newValue = this.desktopNotificationsEnabled;\n    let oldValue = storage.get('inbox-desktop-notifications-setting') || false;\n    if (newValue !== oldValue) {\n      this.intercomEventService.trackEvent(\n        `desktop-notifications-${newValue ? 'enabled' : 'disabled'}`,\n        {\n          app_id: this.get('app.id'),\n          admin_id: this.get('admin.id'),\n          desktop_for_assigned_to_me: newValue,\n        },\n      );\n    }\n    storage.set('inbox-desktop-notifications-setting', newValue);\n  },\n\n  enablePushNotifications: task(function*() {\n    let serviceWorkerRegistration = yield navigator.serviceWorker.ready;\n    let pushManager = serviceWorkerRegistration.pushManager;\n    let options = { userVisibleOnly: true };\n    if (UserAgentDetector.isChrome()) {\n      options.applicationServerKey = this.encodedVapidToken;\n    }\n    let permissionState = yield pushManager.permissionState(options);\n    // Permission has been previously denied, nothing we can do here.\n    if (permissionState === 'denied') {\n      return (\n        // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n        this.send('openModal', 'apps/app/account/notifications-denied-modal')\n      );\n    }\n    let existingPushSubscription = yield pushManager.getSubscription();\n    if (existingPushSubscription) {\n      if (existingPushSubscription.endpoint.startsWith('https://android.googleapis.com/gcm/send')) {\n        Metrics.capture({ increment: ['gcm_unsubscribe_token'] });\n        yield existingPushSubscription.unsubscribe();\n      } else {\n        return;\n      }\n    }\n    // User is going to be prompted, show an informational modal\n    if (permissionState === 'prompt') {\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', 'apps/app/account/notifications-ask-modal');\n    }\n    try {\n      let pushSubscription = yield pushManager.subscribe(options);\n      this.send('closeModal');\n      this.savePushSubscription(pushSubscription);\n    } catch (e) {\n      // permission was denied\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', 'apps/app/account/notifications-denied-modal');\n    }\n  }),\n\n  actions: {\n    webPushSettingsChanged(notificationType, isChecked) {\n      this.set(notificationType, isChecked);\n      if (isChecked && window.PushManager !== undefined) {\n        this.set('desktopNotificationsEnabled', false); // Disable old Desktop Notification functionality\n        this.saveDesktopNotificationsSettings();\n        this.enablePushNotifications.perform();\n      }\n    },\n    toggleBrowserAudioAlerts() {\n      this.model.toggleProperty('browserAudioAlerts');\n    },\n    updateSpecificPageNotificationUrl(url) {\n      let context = this.get('componentAttrs.parentContext');\n      context.set('model.accountOwnerSpecificPageNotificationUrl', url);\n    },\n    toggleSpecificPageSetting(value) {\n      this.set('model.accountOwnerSpecificPageNotificationEnabled', value);\n    },\n  },\n});\n\nexport default AccountNotificationsController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { alias, notEmpty, not } from '@ember/object/computed';\nimport IntegrateBaseController from 'embercom/controllers/apps/app/integrations-hub/integrate-base-controller';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\n\nlet OauthTokensController = IntegrateBaseController.extend({\n  notificationsService: service(),\n  oauthTokens: alias('model'),\n  showTable: notEmpty('model'),\n  emptyState: not('showTable'),\n\n  revoke: task(function*(oauthToken) {\n    try {\n      yield oauthToken.destroyRecord();\n    } catch (err) {\n      this.notificationsService.notifyError('Failed to revoke token');\n    }\n  }),\n});\n\nexport default OauthTokensController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\nimport { not, and } from '@ember/object/computed';\nimport { equalToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\nimport AccountControllerBase from 'embercom/controllers/apps/app/account/base/account-controller-base';\n\nexport default AccountControllerBase.extend({\n  notificationsService: service(),\n  currentPassword: null,\n  newPassword: null,\n  confirmPassword: null,\n\n  newPasswordsMatch: equalToProperty('newPassword', 'confirmPassword'),\n  newPasswordsDontMatch: not('newPasswordsMatch'),\n\n  allPasswordFieldsComplete: and(\n    'currentPassword.length',\n    'newPassword.length',\n    'confirmPassword.length',\n  ),\n  passwordsFieldsRequireCompletion: not('allPasswordFieldsComplete'),\n\n  save() {\n    if (this.passwordsFieldsRequireCompletion) {\n      this.notificationsService.notifyError('You need to complete all the password fields.');\n    } else if (this.newPasswordsDontMatch) {\n      this.notificationsService.notifyError(\"Your password confirmation doesn't match.\");\n    } else {\n      this.admin\n        .updatePersonalSettings({\n          id: this.get('admin.id'),\n          app_id: this.get('app.id'),\n          current_password: this.currentPassword,\n          password: this.newPassword,\n          password_confirmation: this.confirmPassword,\n        })\n        .then(\n          function() {\n            this.notificationsService.notifyConfirmation('Your password was successfully changed!');\n            this.setProperties({\n              currentPassword: null,\n              newPassword: null,\n              confirmPassword: null,\n            });\n            this.transitionToRoute('apps.app.account.general');\n          }.bind(this),\n          function(response) {\n            this._showErrorForResponse(response);\n          }.bind(this),\n        );\n    }\n  },\n\n  _showErrorForResponse(response) {\n    if (response.jqXHR.status === 401) {\n      this.notificationsService.notifyError('The password you provided was incorrect');\n    } else if (response.jqXHR.status === 422) {\n      this.notificationsService.notifyError(\n        `We couldn't update your password: ${JSON.parse(response.jqXHR.responseText).errors}`,\n      );\n    } else {\n      this.notificationsService.notifyError(\n        \"Hmm, we couldn't update your password. Please try again.\",\n      );\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\nimport { notEmpty, equal } from '@ember/object/computed';\nimport ajax from 'embercom/lib/ajax';\nimport { inject as service } from '@ember/service';\nimport AccountControllerBase from 'embercom/controllers/apps/app/account/base/account-controller-base';\n\nexport default AccountControllerBase.extend({\n  notificationsService: service(),\n  validationCode: null,\n  hasValidationCode: notEmpty('validationCode'),\n  hasSixDigitValidationCode: equal('validationCode.length', 6),\n\n  _handleErrorResponse(error) {\n    if (error.jqXHR.status === 403) {\n      this.notificationsService.notifyError(\n        \"We couldn't validate that six digit code. Please try again.\",\n      );\n    } else {\n      this.notificationsService.notifyError('Hmm, something went wrong. Please try again.');\n    }\n  },\n  actions: {\n    enable2FA() {\n      if (this.hasSixDigitValidationCode) {\n        return ajax({\n          type: 'PUT',\n          url: '/ember/admins/enable_two_factor_auth',\n          data: JSON.stringify({\n            id: this.get('admin.id'),\n            app_id: this.get('admin.current_app_id'),\n            validation_code: this.validationCode,\n          }),\n        }).then(\n          function() {\n            this.notificationsService.notifyConfirmation(\n              'Two factor authentication is now enabled for your account.',\n            );\n            this.set('admin.has_enabled_2fa', true);\n            this.transitionToRoute('apps.app.account.general');\n          }.bind(this),\n          function(error) {\n            this._handleErrorResponse(error);\n            this.set('validationCode', null);\n          }.bind(this),\n        );\n      } else if (this.hasValidationCode && !this.hasSixDigitValidationCode) {\n        this.notificationsService.notifyWarning('The validation code must be six digits long.');\n      } else {\n        this.notificationsService.notifyWarning('You must enter a validation code.');\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { reads } from '@ember/object/computed';\nimport AccountControllerBase from 'embercom/controllers/apps/app/account/base/account-controller-base';\n\nexport default AccountControllerBase.extend({\n  segments: reads('app.companySegments'),\n  showSaveSuccessfulNotification: false,\n  showSaveErrorNotification: false,\n\n  actions: {\n    showSegment(segment) {\n      this.addSegmentIdsToAdminsVisibleSegmentIds([segment.get('id')]);\n      this.save();\n    },\n    hideSegment(segment) {\n      this.removeSegmentIdsFromAdminsVisibleSegmentIds([segment.get('id')]);\n      this.save();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { A } from '@ember/array';\nimport { computed } from '@ember/object';\nimport { readOnly, union, setDiff, intersect, equal, none } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport AccountControllerBase from 'embercom/controllers/apps/app/account/base/account-controller-base';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default AccountControllerBase.extend({\n  appService: service(),\n  inboxService: service(),\n  store: service(),\n  teamInboxes: readOnly('inboxService.teamInboxes'),\n  inboxes: readOnly('inboxService.inboxes'),\n  visibleInboxes: union(\n    'defaultInboxes',\n    'inboxService.inboxesWithMeMembership',\n    'inboxService.pinnedInboxesWithoutMembership',\n  ),\n  defaultInboxes: computed(\n    'inboxService.{meInbox,unassignedInbox,mentionsInbox,allInbox}',\n    function() {\n      let meInbox = this.get('inboxService.meInbox');\n      let unassignedInbox = this.get('inboxService.unassignedInbox');\n      let mentionsInbox = this.get('inboxService.mentionsInbox');\n      let allInbox = this.get('inboxService.allInbox');\n      return A([meInbox, unassignedInbox, mentionsInbox, allInbox]);\n    },\n  ),\n  showableInboxes: readOnly('inboxService.displayableOtherInboxesWithOperator'),\n  hiddenInboxes: setDiff('showableInboxes', 'visibleInboxes'),\n  hiddenTeamsInboxes: intersect('hiddenInboxes', 'teamInboxes'),\n  hiddenTeammatesInboxes: setDiff('hiddenInboxes', 'hiddenTeamsInboxes'),\n  activeInboxFilter: 'team',\n  inboxFilterOptions: [\n    {\n      value: 'team',\n      label: 'Teams',\n    },\n    {\n      value: 'teammate',\n      label: 'Teammates',\n    },\n  ],\n  filteringForTeammates: equal('activeInboxFilter', 'teammate'),\n  filteringForTeams: equal('activeInboxFilter', 'team'),\n  inboxListForActiveFilter: ternaryToProperty(\n    'filteringForTeammates',\n    'hiddenTeammatesInboxes',\n    'hiddenTeamsInboxes',\n  ),\n  notFilteringHiddenInboxes: none('activeInboxFilter'),\n  currentlyViewedInboxesList: ternaryToProperty(\n    'notFilteringHiddenInboxes',\n    'hiddenInboxes',\n    'inboxListForActiveFilter',\n  ),\n\n  actions: {\n    toggleAssigneeVisibility(assigneeId, isHidden) {\n      if (isHidden) {\n        this.send('addAssigneeIdToAdminsVisibleAssigneeIds', assigneeId);\n      } else {\n        this.send('removeAssigneeIdFromAdminsVisibleAssigneeIds', assigneeId);\n      }\n    },\n    addAssigneeIdToAdminsVisibleAssigneeIds(assigneeId) {\n      this.admin.addAssigneeIdToAdminsVisibleAssigneeIds(assigneeId);\n      this.save();\n    },\n    removeAssigneeIdFromAdminsVisibleAssigneeIds(assigneeId) {\n      this.admin.removeAssigneeIdFromAdminsVisibleAssigneeIds(assigneeId);\n      this.save();\n    },\n  },\n});\n","define(\"embercom/controllers/apps/app/account/visibility/segments\", [\"exports\", \"embercom/controllers/apps/app/account/base/account-controller-base\"], function (_exports, _accountControllerBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _accountControllerBase.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { readOnly, mapBy, setDiff } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { next } from '@ember/runloop';\nimport AccountControllerBase from 'embercom/controllers/apps/app/account/base/account-controller-base';\n\nexport default AccountControllerBase.extend({\n  tags: readOnly('app.tags'),\n  tagIds: mapBy('tags', 'id'),\n  visibleTags: computed('admin.visible_tag_ids.[]', 'tags', function() {\n    return this.get('admin.visible_tag_ids')\n      .map(id => this.tags.findBy('id', id))\n      .compact();\n  }),\n  hiddenTags: setDiff('tags', 'visibleTags'),\n  showSaveSuccessfulNotification: false,\n  showSaveErrorNotification: false,\n  columns: hiddenOrVisible => [\n    {\n      label: 'Tag name',\n      valueComponent: 'visibility/tags/table-cells/name',\n    },\n    {\n      label: 'Created by',\n      valueComponent: 'visibility/tags/table-cells/created-by',\n    },\n    {\n      label: 'Created',\n      valueComponent: 'visibility/tags/table-cells/created',\n    },\n    {\n      valueComponent: 'visibility/tags/table-cells/links',\n    },\n    {\n      valueComponent: `visibility/tags/table-cells/actions-for-${hiddenOrVisible}`,\n    },\n  ],\n\n  scrollToBottomOfVisibleTagsTable() {\n    let tableBody = document.querySelector('.visibility__tags-table .o__scrolls tbody');\n    if (tableBody) {\n      tableBody.scrollIntoView(false);\n    }\n  },\n\n  showTag(tag) {\n    this.admin.addTagIdsToAdminsVisibleTagIds([tag.get('id')]);\n    next(() => this.scrollToBottomOfVisibleTagsTable());\n    this.save();\n  },\n  hideTag(tag) {\n    this.admin.removeTagIdsFromAdminsVisibleTagIds([tag.get('id')]);\n    this.save();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { reads } from '@ember/object/computed';\nimport AccountControllerBase from 'embercom/controllers/apps/app/account/base/account-controller-base';\n\nexport default AccountControllerBase.extend({\n  segments: reads('app.userSegments'),\n  showSaveSuccessfulNotification: false,\n  showSaveErrorNotification: false,\n\n  actions: {\n    showSegment(segment) {\n      this.addSegmentIdsToAdminsVisibleSegmentIds([segment.get('id')]);\n      this.save();\n    },\n    hideSegment(segment) {\n      this.removeSegmentIdsFromAdminsVisibleSegmentIds([segment.get('id')]);\n      this.save();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { isEmpty } from '@ember/utils';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class AccountsController extends Controller {\n  @service intercomEventService;\n  @service notificationsService;\n\n  @tracked accountToBeDeleted;\n\n  get accounts() {\n    return this.model.filter(account => !account.deleted);\n  }\n\n  get anyAccount() {\n    return !isEmpty(this.model);\n  }\n\n  @action\n  async deleteAccount() {\n    try {\n      let account = await this.accountToBeDeleted;\n      await account.destroyRecord();\n      account.unloadRecord();\n      this._trackDeletion();\n      this.notificationsService.notifyConfirmation(\n        `Account ${account.domain} was successfully removed.`,\n      );\n      this.accountToBeDeleted = null;\n    } catch (e) {\n      this.notificationsService.notifyError('There was a problem removing an account.');\n    }\n  }\n\n  @action\n  deleteAccountConfirmation(account) {\n    this.accountToBeDeleted = account;\n  }\n\n  @action\n  transitionToSaleforceAppSettings() {\n    this.transitionToRoute('apps.app.appstore', {\n      queryParams: { app_package_code: 'salesforce-by-intercom' },\n    });\n  }\n\n  _trackDeletion() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'deleted',\n      object: 'account',\n    });\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { reads, alias, filterBy, mapBy, and } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport DateFormatter from 'embercom/vendor/intercom/date-formatter';\nimport {\n  isValidEmail,\n  templateString,\n  ternary,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport { getDomainName, getUserName } from 'embercom/lib/email';\nimport { getAdminProfile } from 'embercom/lib/admins/admin-profiles';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  store: service(),\n  appController: controller('apps/app'),\n  isAdmin: true,\n  socialAccountService: service('social-account-service'),\n  accountHeaderText: ternary('model.is_me', 'You', 'Teammate'),\n  app: reads('appController.model'),\n  notificationsService: service('notificationsService'),\n  currentAdmin: alias('app.currentAdmin'),\n\n  createdAtFromNow: computed('model.created_at', function() {\n    return DateFormatter.fromNow(this.get('model.created_at'));\n  }),\n  followedUserObjects: filterBy('model.follows', 'followable_type', 'user'),\n  followedUserIds: mapBy('followedUserObjects', 'followable_id'),\n  stampText: ternary('model.is_me', 'You', 'Teammate'),\n  lastActive: computed('model.last_active', function() {\n    return this.get('model.last_active') * 1000;\n  }),\n  email: alias('model.email'),\n  emailUserName: computed('model.email', function() {\n    return getUserName(this.get('model.email'));\n  }),\n  emailDomainForLink: templateString('http://${emailDomainName}'),\n  linkToEmailDomain: and('isValidEmail', 'isNotEmailDomain'),\n  emailDomainName: computed('model.email', function() {\n    return getDomainName(this.get('model.email'));\n  }),\n  isNotEmailDomain: computed('model.email', function() {\n    let emailDomain = this.emailDomainName;\n    return !['gmail.com', 'yahoo.com', 'hotmail.com', 'outlook.com'].includes(emailDomain);\n  }),\n  hasUnsavedChanges() {\n    // this doesn't really achieve much now, because all the edits are stored in temporary\n    // properties by this component: app/components/admin/about-component.js\n    return this.get('model.hasDirtyAttributes');\n  },\n  isValidEmail: isValidEmail('model.email'),\n  updateAttributes(editedAttributes) {\n    this.model.setProperties(editedAttributes);\n    let profile = this.get('model.profile');\n    profile.set('job_title', editedAttributes.job_title);\n    profile.set('biography', editedAttributes.biography);\n\n    this.model\n      .save()\n      .then(() => {\n        getAdminProfile(this.store, this.get('app.id'), this.get('model.id')).then(profile => {\n          this.model.set('profile', profile);\n          this.notifyConfirmation('Those changes to your profile were saved', 'profileSaveSuccess');\n        });\n      })\n      .catch(() => {\n        this.notifyErrors(\n          'There was an error saving those changes. Give it another try',\n          'profileSaveErrors',\n        );\n      });\n  },\n  notifyErrors(message, key) {\n    this.notificationsService.notifyWarning(message, 60000, key);\n  },\n  notifyConfirmation(message, key) {\n    this.notificationsService.notifyConfirmation(message, 3000, key);\n  },\n  actions: {\n    openTeamSettingsPage() {\n      this.permissionsService.checkPermission('can_access_workspace_settings').then(() => {\n        this.transitionToRoute('apps.app.settings.teams');\n      });\n    },\n    saveProfileInfo(editedAttributes) {\n      this.updateAttributes(editedAttributes);\n    },\n    oAuthSuccess(provider) {\n      this.socialAccountService.oAuthSuccess(this.model, provider).then(socialAccounts => {\n        this.intercomEventService.trackEvent(`teammate-social-profile-added-${provider}`);\n        this.set('socialAccounts', socialAccounts);\n      });\n    },\n    oAuthFailure(provider) {\n      this.socialAccountService.oAuthFailure(provider);\n    },\n    deleteSocialAccount(model, provider) {\n      this.socialAccountService.deleteSocialAccount(model, this.model, provider).then(() => {\n        this.set(`${provider}Account`, null);\n        this.intercomEventService.trackEvent(`teammate-social-profile-removed-${provider}`);\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport { reads, alias, readOnly } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Controller.extend({\n  adminController: controller('apps/app/admins/admin'),\n  appController: controller('apps/app'),\n  app: reads('appController.model'),\n  admin: alias('adminController.model'),\n\n  emptyState: 'No conversations',\n  conversations: readOnly('model'),\n  conversationHeaderText: ternary('admin.is_me', 'Your conversations', 'Their conversations'),\n  isPaginating: false,\n  hasMoreConversationsToLoad: true,\n  pendingUpdateConversationIds: [],\n\n  scrollParentSelector: '.profile',\n  emptyStateText: computed('admin.first_name', 'admin.is_me', function() {\n    let identifier = this.get('admin.is_me') ? 'you' : this.get('admin.first_name');\n    return `No conversations have been assigned to ${identifier}`;\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport AppStoreController from '../../base/appstore';\nimport { computed } from '@ember/object';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default AppStoreController.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  installedAppPackages: computed('model.appPackages.@each.isInstalled', 'installed', function() {\n    return this.get('model.appPackages').filter(app => app.get('isInstalled'));\n  }),\n  apps: ternaryToProperty('installed', 'installedAppPackages', 'model.appPackages'),\n});\n","import AppstoreAppPackageController from 'embercom/controllers/base/appstore/app-package';\n\nexport default AppstoreAppPackageController;\n","import AppstoreIndexController from 'embercom/controllers/base/appstore/index';\n\nexport default AppstoreIndexController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\n\nexport default Controller.extend({\n  navbarCollapsingService: service(),\n  intercomEventService: service(),\n  appService: service(),\n  identityVerificationRiskStateService: service(),\n  helpCenterService: service(),\n\n  app: readOnly('appService.app'),\n  navbarCollapsed: readOnly('navbarCollapsingService.collapsed'),\n\n  queryParams: {\n    selectedLocaleId: {\n      as: 'language',\n      scope: 'controller',\n    },\n    externalStep: {\n      as: 'external_step',\n      scope: 'controller',\n    },\n  },\n\n  externalStep: null,\n\n  actions: {\n    toggleSearch() {\n      this.toggleProperty('showSearch');\n      if (!this.showSearch) {\n        this.transitionToRoute('apps.app.articles.articles.list.all', {\n          queryParams: { search_term: null },\n        });\n      }\n    },\n\n    clearSearch() {\n      this.transitionToRoute('apps.app.articles.articles.list.all', {\n        queryParams: { search_term: null },\n      });\n    },\n\n    doSearch(searchItem) {\n      this.intercomEventService.trackEvent('educate-event', {\n        action: 'searched',\n        object: 'article_list',\n        place: 'article_list',\n        owner: 'educate',\n        search_term: searchItem.name,\n      });\n      this.transitionToRoute('apps.app.articles.articles.list.all', {\n        queryParams: { search_term: searchItem.name },\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { readOnly, alias } from '@ember/object/computed';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport ErrorHandling from 'embercom/components/mixins/articles/error-handling';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\nimport { CAN_MANAGE_ARTICLES_PERMISSION } from 'embercom/lib/articles/constants';\n\nexport default Controller.extend(ErrorHandling, EventTracking, {\n  notificationsService: service(),\n  helpCenterService: service(),\n  appService: service(),\n\n  app: readOnly('appService.app'),\n  site: readOnly('helpCenterService.site'),\n  article: alias('model'),\n  themeColor: alias('site.themeColor'),\n\n  actions: {\n    deleteArticle() {\n      this.permissionsService.checkPermission(CAN_MANAGE_ARTICLES_PERMISSION).then(() => {\n        let confirmOptions = {\n          title: 'Are you sure you want to delete?',\n          confirmButtonText: 'Delete article',\n          cancleButtonText: 'Go back',\n          primaryButtonType: 'primary-destructive',\n          body: \"This is permanent. You won't be able to get your article back.\",\n        };\n\n        intercomConfirm(this, confirmOptions).then(() => {\n          let article = this.model;\n          let collection = article.get('collection');\n          let sectionId = article.get('section.id');\n          this.model\n            .destroyRecord()\n            .then(() => {\n              this.notificationsService.notifyConfirmation('The article was deleted');\n              if (collection.get('id') !== 'home') {\n                collection.decrementProperty('count');\n              }\n              this.trackEducateArticleEvent(article, {\n                action: 'deleted',\n                place: 'article',\n                collection_id: collection.get('id'),\n                section_id: sectionId,\n              });\n              this.transitionToRoute('apps.app.articles.articles');\n            })\n            .catch(response => {\n              this.handleServerError(response, 'There was a problem deleting your article');\n            });\n        });\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport BaseArticleController from 'embercom/controllers/apps/app/articles/articles/article/base';\n\nexport default BaseArticleController.extend();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/use-brace-expansion */\nimport { computed } from '@ember/object';\nimport { capitalize } from '@ember/string';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\nimport BaseArticleController from 'embercom/controllers/apps/app/articles/articles/article/base';\n\nexport default BaseArticleController.extend(EventTracking, {\n  displaying: null,\n  missingContentText: computed(\n    'article.missingListErrorCount',\n    'article.missingTableErrorCount',\n    'article.missingImageErrorCount',\n    'article.missingVideoErrorCount',\n    function() {\n      let missingContentStrings = ['image', 'table', 'list', 'video']\n        .map(missingContentType => {\n          let missingContentText = null;\n          let missingContentCount = this.get(\n            `article.missing${capitalize(missingContentType)}ErrorCount`,\n          );\n          let missingContentWord =\n            missingContentType === 'list' ? 'nested list' : missingContentType;\n\n          if (missingContentCount > 0) {\n            let pluralizedMissingContentWord =\n              missingContentCount > 1 ? `${missingContentWord}s` : missingContentWord;\n            missingContentText = `${missingContentCount} ${pluralizedMissingContentWord}`;\n          }\n\n          return missingContentText;\n        })\n        .filter(text => text !== null);\n\n      if (missingContentStrings.length > 2) {\n        return `${missingContentStrings.slice(0, -1).join(', ')}, and ${\n          missingContentStrings[missingContentStrings.length - 1]\n        }`;\n      }\n\n      return missingContentStrings.join(' and ');\n    },\n  ),\n\n  actions: {\n    editArticle(article) {\n      this.transitionToRoute('apps.app.articles.articles.article.edit', this.article);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller, { inject as controller } from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Controller.extend({\n  appService: service(),\n  helpCenterService: service(),\n  showController: controller('apps/app/articles/articles/article/show'),\n\n  app: readOnly('appService.app'),\n  article: readOnly('showController.model'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { action, computed } from '@ember/object';\nimport { reads, equal, and, alias } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { pluralize } from 'ember-inflector';\nimport { makeStatsParametersForArticle } from 'embercom/helpers/stats-system/stats-parameters';\n\nexport default Controller.extend({\n  conversations: true,\n  reaction: null,\n\n  showController: controller('apps/app/articles/articles/article/show'),\n  app: reads('showController.app'),\n  stats: alias('model'),\n  appsController: controller('apps'),\n  admin: reads('appsController.model'),\n  stat: reads('showController.displaying'),\n  isNewConversationsStat: equal('stat', 'newchat'),\n  isReactedStat: computed('stat', function() {\n    return ['reacted', 'reaction_0', 'reaction_1', 'reaction_2'].some(param => param === this.stat);\n  }),\n  canShowConversationReplies: reads('isNewConversationsStat'),\n  shouldShowConversationReplies: and('isNewConversationsStat', 'conversations'),\n  totalCount: reads('stats.total_count'),\n  isViewerStat: equal('stat', 'viewers'), // for old system\n  isViewsStat: equal('stat', 'views'), // for new stats system\n  statsParameters: computed('showController.article', 'stats', function() {\n    return makeStatsParametersForArticle(this.showController.article);\n  }),\n\n  reactionMap: {\n    reaction_0: '\\uD83D\\uDE03',\n    reaction_1: '\\uD83D\\uDE10',\n    reaction_2: '\\uD83D\\uDE1E',\n  },\n  reactionFilter: computed('stat', 'reaction', function() {\n    if (this.app.get('canUseNewArticleStatsSystem')) {\n      return this.reactionMap[this.reaction];\n    } else {\n      return this.reactionMap[this.stat];\n    }\n  }),\n\n  emptyContentDescription: computed('stat', function() {\n    switch (this.stat) {\n      case 'newchat':\n        return 'No one has started a conversation from this article yet';\n      case 'reacted':\n        return 'No one has reacted to this article yet';\n      case 'viewers':\n        return 'No one has viewed this article yet';\n      default:\n        return `No one has reacted with ${this.reactionFilter}`;\n    }\n  }),\n\n  listTitle: computed('stats', 'stat', function() {\n    let count = this.get('stats.total_count');\n    let viewCount = this.get('stats.total_views');\n    switch (this.stat) {\n      case 'viewers':\n        return `${pluralize(\n          count,\n          'person',\n        )} ${pluralize(count, 'has', { withoutCount: true })} viewed this article ${pluralize(viewCount, 'time')}`;\n      case 'newchat':\n        return this.shouldShowConversationReplies\n          ? `${pluralize(count, 'conversation')} started from this article`\n          : `${pluralize(count, 'person')} started a conversation from this article`;\n      case 'reacted':\n        return `${pluralize(count, 'person')} reacted`;\n      default:\n        return `${pluralize(count, 'person')} reacted with ${this.reaction}`;\n    }\n  }),\n\n  changeReactionFilter: action(function(_, value) {\n    if (value === '') {\n      this.transitionToRoute('apps.app.articles.articles.article.show.stats', {\n        queryParams: { displaying: 'reacted', reaction: null },\n      });\n    } else {\n      let reaction = Object.keys(this.reactionMap).find(stat => this.reactionMap[stat] === value);\n      this.transitionToRoute('apps.app.articles.articles.article.show.stats', {\n        queryParams: { displaying: 'reacted', reaction },\n      });\n    }\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nexport default Controller.extend({\n  appController: controller('apps/app'),\n  app: readOnly('appController.model'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport BaseListController from 'embercom/controllers/apps/app/articles/articles/list/base';\nexport default BaseListController.extend({});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { notEmpty, readOnly } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\n\nexport default Controller.extend({\n  appService: service(),\n  realTimeEventService: service(),\n  notificationsService: service(),\n  router: service(),\n  app: readOnly('appService.app'),\n  queryParams: { search_term: { refreshModel: true } },\n  search_term: null,\n  inputSearchTerm: '', // The input and the search_term should be separate so we are not editing the queryParam as we type into the search box\n\n  init() {\n    this._super(...arguments);\n    this.realTimeEventService.subscribeTopics(['article-stats']);\n    this.realTimeEventService.on('ImportStarted', this, '_handleStartedImport');\n    this.realTimeEventService.on('ImportCompleted', this, '_handleCompletedImport');\n    this.realTimeEventService.on('ArticleStatsUpdate', this, '_handleArticleStatsUpdate');\n  },\n\n  willDestroy() {\n    this.realTimeEventService.off('ImportStarted', this, '_handleStartedImport');\n    this.realTimeEventService.off('ImportCompleted', this, '_handleCompletedImport');\n    this.realTimeEventService.off('ArticleStatsUpdate', this, '_handleArticleStatsUpdate');\n    this.realTimeEventService.unsubscribeTopics(['article-stats']);\n    this._super(...arguments);\n  },\n\n  hasPerformedSearch: computed('search_term', 'isLoading', function() {\n    return !this.isLoading && this.search_term;\n  }),\n\n  inputSearchTermIsNotEmpty: notEmpty('inputSearchTerm'),\n\n  loadNextPage: task(function*() {\n    this.set('inputSearchTerm', this.search_term);\n    let articles = this.get('model.articles');\n    let currentPage = articles.get('meta') ? articles.get('meta.page') : 0;\n    let nextPage = articles.get('meta') ? articles.get('meta.next_page') : 1;\n    let selectedContentStatus = this.search_term ? 'all' : this.get('model.selectedContentStatus');\n    let locale = this.search_term || !selectedContentStatus ? null : this.get('model.locale');\n    if (nextPage > currentPage) {\n      let response = yield this.store.query('article-multilingual', {\n        state: selectedContentStatus,\n        locale,\n        page: nextPage,\n        phrase: this.search_term,\n        per_page: 20,\n      });\n      articles.set('meta', response.meta);\n      response.toArray().forEach(article => article.loadStats.perform());\n      articles.pushObjects(response.toArray());\n    }\n  }).restartable(),\n\n  _handleStartedImport(event) {\n    this.set('hasActiveApiImport', true);\n  },\n\n  _handleCompletedImport(event) {\n    this.set('hasActiveApiImport', false);\n    this.notificationsService.notifyConfirmation(\n      'Your Articles import is complete! Please refresh to view them',\n    );\n  },\n\n  _handleArticleStatsUpdate(event) {\n    let articles = this.get('model.articles');\n    if (!articles) {\n      return;\n    }\n\n    articles.forEach(a => {\n      let stats = event[a.id];\n      if (stats) {\n        a.set('updated_stats', stats);\n      }\n    });\n  },\n\n  actions: {\n    updateFilters(filters = {}) {\n      let parentRoute = this.router.currentRoute.parent.name;\n      let newChild = filters.selectedContentStatus || 'all';\n      let newRoute = `${parentRoute}.${newChild}`;\n      this.router.transitionTo(newRoute, this.app, {\n        queryParams: { language: filters.locale },\n      });\n    },\n\n    performSearch() {\n      this.intercomEventService.trackEvent('educate-event', {\n        action: 'searched',\n        object: 'article_list',\n        place: 'article_list',\n        owner: 'educate',\n        search_term: this.inputSearchTerm,\n      });\n      this.transitionToRoute('apps.app.articles.articles.list.all', {\n        queryParams: { search_term: this.inputSearchTerm },\n      });\n    },\n\n    clearSearch() {\n      this.setProperties({ search_term: null, inputSearchTerm: null });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport BaseListController from 'embercom/controllers/apps/app/articles/articles/list/base';\nexport default BaseListController.extend({});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport BaseListController from 'embercom/controllers/apps/app/articles/articles/list/base';\nexport default BaseListController.extend({});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport BaseListController from 'embercom/controllers/apps/app/articles/articles/list/base';\nexport default BaseListController.extend({});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { inject as controller } from '@ember/controller';\nimport GuideIndexBaseController from 'embercom/controllers/base/guide/index';\n\nexport default GuideIndexBaseController.extend({\n  guideController: controller('apps.app.articles.guide'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { equal, alias } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport Paging from 'embercom/components/mixins/paging';\n\nexport default Controller.extend(Paging, {\n  intercomEventService: service(),\n  hasNoInsights: equal('model.conversations', []),\n  totalCount: alias('model.conversations.length'),\n  appController: controller('apps/app'),\n  app: alias('appController.model'),\n  currentAdmin: alias('app.currentAdmin'),\n  actions: {\n    refreshRelativeTime() {},\n    partAddedToConversation() {},\n    trackAdminReplyEvent() {},\n    nextConversationPage() {},\n\n    trackEventDetails(conversation) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'expanded',\n        object: 'conversation',\n        place: 'insights',\n        owner: 'educate',\n        context: 'conversation_closed_by_operator',\n        conversation_id: conversation.get('id'),\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\nimport { later } from '@ember/runloop';\nimport { computed } from '@ember/object';\nimport { readOnly, equal, and, or, sort } from '@ember/object/computed';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport InsightsBaseController from 'embercom/controllers/base/insights';\nimport { getRouter } from 'embercom/lib/container-lookup';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\nimport { inject as service } from '@ember/service';\nimport ENV from 'embercom/config/environment';\n\nexport default InsightsBaseController.extend(EventTracking, {\n  modelName: 'insights/articles',\n  intercomEventService: service(),\n  product: readOnly('app.articlesProduct'),\n  hasNoResponse: equal('model.peopleCount', undefined),\n  hasNoViewerContent: and('isNotLoading', 'hasNoResponse'),\n  showDummyContent: or('isLoading', 'hasNoResponse'),\n  sortedArticles: sort('model.articlePerformance', 'sortDefinition'),\n  sortKey: 'views',\n  sortOrder: 'desc',\n  trackingData: {\n    action: 'changed',\n    object: 'interval_settings',\n    owner: 'educate',\n    place: 'educate_insights',\n  },\n  defaultSortOrder: 'desc',\n  isSortingInDescendingOrder: equal('sortOrder', 'desc'),\n  alternateSortOrder: ternary('isSortingInDescendingOrder', 'asc', 'desc'),\n  sortDefinition: computed('sortKey', 'sortOrder', function() {\n    let suffix = this.isSortingInDescendingOrder ? ':desc' : '';\n    return [this.sortKey + suffix];\n  }),\n  getSortEventMetadata(sortKey) {\n    let metadata = {\n      action: 'sorted',\n      place: 'insights',\n      object: sortKey === 'conversationsRate' ? 'conversations' : 'insights',\n    };\n    if (sortKey === 'conversationsRate') {\n      metadata.sorted_by = 'conversations';\n    } else if (sortKey === 'views') {\n      metadata.sorted_by = 'views';\n    } else {\n      metadata.sorted_by = 'reaction_sad';\n    }\n    return metadata;\n  },\n  actions: {\n    sortBy(key) {\n      if (key === this.sortKey) {\n        this.set('sortOrder', this.alternateSortOrder);\n      } else {\n        this.set('sortKey', key);\n        this.set('sortOrder', this.defaultSortOrder);\n      }\n      this.trackEducateEvent(this.getSortEventMetadata(this.sortKey));\n    },\n    newArticle() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'created',\n        object: 'article',\n        eventName: 'created_educate_article',\n      });\n\n      getRouter().transitionTo('apps.app.articles.articles.new');\n    },\n    trackInsightsArticle(article) {\n      later(\n        this,\n        function() {\n          this.store\n            .findRecord('article-multilingual', article.get('articleId'))\n            .then(articleModel => {\n              this.trackEducateArticleEvent(articleModel, { action: 'visited', place: 'insights' });\n            });\n        },\n        ENV.APP._2000MS,\n      );\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\n\nexport default Controller.extend({\n  appController: controller('apps/app'),\n  app: readOnly('appController.model'),\n\n  collections: computed(function() {\n    return this.store.peekRecord('articles/article-group', 'home').get('children');\n  }),\n  private: computed(function() {\n    return [this.home];\n  }),\n  home: computed(function() {\n    return this.store.peekRecord('articles/article-group', 'home');\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { bool, readOnly } from '@ember/object/computed';\nimport Controller from '@ember/controller';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport ArticleGroup from 'embercom/models/articles/article-group';\nimport { CAN_MANAGE_ARTICLES_PERMISSION } from 'embercom/lib/articles/constants';\n\nexport default Controller.extend(EventTracking, {\n  notificationsService: service(),\n  helpCenterService: service(),\n  realTimeEventService: service(),\n  permissionsService: service(),\n  appService: service(),\n\n  app: readOnly('appService.app'),\n  helpCenterSite: readOnly('helpCenterService.site'),\n  isLoading: bool('_saveCollection.isRunning'),\n\n  init() {\n    this._super(...arguments);\n    this.realTimeEventService.on('ImportStarted', this, '_handleStartedImport');\n    this.realTimeEventService.on('ImportCompleted', this, '_handleCompletedImport');\n  },\n\n  _handleStartedImport(event) {\n    this.set('hasActiveApiImport', true);\n  },\n\n  _handleCompletedImport(event) {\n    this.set('hasActiveApiImport', false);\n    this.notificationsService.notifyConfirmation(\n      'Your Articles import is complete! Please refresh to view them',\n    );\n  },\n\n  _saveCollection: task(function*(collection) {\n    let metadata = {\n      action: 'created',\n      place: 'collection_list',\n    };\n    let type = 'collection';\n    try {\n      yield collection.saveIfDirty();\n      this.trackEducateCollectionOrSectionEvent(collection, metadata);\n    } catch (e) {\n      this.notificationsService.notifyError(\n        `Something went wrong and we couldn't create the ${type}`,\n      );\n      collection.rollbackAttributes();\n    }\n  }),\n\n  _transitionToCollection(collection) {\n    this.transitionToRoute('apps.app.articles.site.collections.collection', collection.get('id'));\n  },\n\n  actions: {\n    importArticles() {\n      this.permissionsService.checkPermission(CAN_MANAGE_ARTICLES_PERMISSION).then(() => {\n        this.set('showArticleImportModal', true);\n      });\n    },\n\n    createCollection() {\n      this.permissionsService.checkPermission(CAN_MANAGE_ARTICLES_PERMISSION).then(() => {\n        let home = this.store.peekRecord('articles/article-group', 'home');\n        let collection = ArticleGroup.createNewFolder(home, 'Add a name');\n        return this._saveCollection.perform(collection).then(() => {\n          this._transitionToCollection(collection);\n        });\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport { Promise as EmberPromise } from 'rsvp';\nimport { reads, readOnly } from '@ember/object/computed';\nimport Controller from '@ember/controller';\nimport ErrorHandling from 'embercom/components/mixins/articles/error-handling';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\nimport { inject as service } from '@ember/service';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport { CAN_MANAGE_ARTICLES_PERMISSION } from 'embercom/lib/articles/constants';\n\nexport default Controller.extend(ErrorHandling, EventTracking, {\n  notificationsService: service(),\n  appService: service(),\n  helpCenterService: service(),\n  app: readOnly('appService.app'),\n  site: readOnly('helpCenterService.site'),\n  collection: reads('model'),\n  articles: reads('model.sortedArticles'),\n\n  activeLocale: readOnly('helpCenterService.currentlySelectedLocaleId'),\n\n  _saveCollection(collection) {\n    let action = collection.get('id') === null ? 'created' : 'saved';\n\n    return collection\n      .saveIfDirty()\n      .then(() => {\n        collection.set('shouldFocusName', false);\n        this.trackEducateCollectionOrSectionEvent(collection, { action, place: 'collection' });\n      })\n      .catch(response => {\n        this.handleServerError(\n          response,\n          `There was a problem saving your ${collection.get('type')}`,\n        );\n        collection.rollbackAttributes();\n      });\n  },\n\n  _deleteArticleFolder(folder) {\n    return this.permissionsService.checkPermission(CAN_MANAGE_ARTICLES_PERMISSION).then(() => {\n      let name = folder.get('name');\n      let type = folder.get('type');\n\n      let confirmOptions = this._buildConfirmDeleteOptions(folder, type);\n      return intercomConfirm(this, confirmOptions).then(() => {\n        this.trackEducateCollectionOrSectionEvent(folder, {\n          action: 'deleted',\n          place: 'collection',\n        });\n        return folder\n          .destroyRecord()\n          .then(() => {\n            this.notificationsService.notifyConfirmation(\n              `You've deleted a ${type} and removed its articles from your Help Center. The articles are still saved in your article list.`,\n            );\n            return new EmberPromise(successHandler => successHandler());\n          })\n          .catch(response => {\n            this.handleServerError(response, `There was a problem deleting '${name}'`);\n          });\n      });\n    });\n  },\n\n  _buildConfirmDeleteOptions(folder, type) {\n    let body = folder.get('hasArticles')\n      ? `This permanently deletes the ${type}, and removes its articles from your Help Center. The articles will still be saved in your article list.`\n      : `This will permanently delete this ${type}.`;\n\n    return {\n      title: `Delete this ${type}?`,\n      confirmButtonText: `Delete ${type}`,\n      cancelButtonText: 'Cancel',\n      primaryButtonType: 'primary-destructive',\n      body,\n    };\n  },\n\n  actions: {\n    saveFolder(collection) {\n      if (collection.hasDirtyAttributes) {\n        this._saveCollection(collection);\n      }\n    },\n\n    deleteSection(section) {\n      this._deleteArticleFolder(section);\n    },\n\n    deleteCollection(collection) {\n      this._deleteArticleFolder(collection).then(() => {\n        this.transitionToRoute('apps.app.articles.site.collections');\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { sort, readOnly } from '@ember/object/computed';\nimport Controller from '@ember/controller';\nimport { rejectBy } from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\n\nexport default Controller.extend({\n  appService: service(),\n  helpCenterService: service(),\n\n  sortKey: ['order'],\n\n  app: readOnly('appService.app'),\n  helpCenterSite: readOnly('helpCenterService.site'),\n  collectionsWithoutHome: rejectBy('model', 'isHome', true),\n  collections: sort('collectionsWithoutHome', 'sortKey'),\n  selectedLocaleId: readOnly('helpCenterService.currentlySelectedLocaleId'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { Promise as EmberPromise, all } from 'rsvp';\nimport { inject as service } from '@ember/service';\nimport Controller, { inject as controller } from '@ember/controller';\nimport EmberObject, { computed } from '@ember/object';\nimport { or, readOnly, reads, not } from '@ember/object/computed';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\nimport ErrorHandling from 'embercom/components/mixins/articles/error-handling';\nimport ajax from 'embercom/lib/ajax';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport { task } from 'ember-concurrency';\n\nlet UploadHelper = EmberObject.extend({\n  hasUpdates: or('header.hasUpdates', 'logo.hasUpdates', 'favicon.hasUpdates', 'social.hasUpdates'),\n  reset() {\n    for (let media in this) {\n      if (this.hasOwnProperty(media)) {\n        this[media].reset();\n      }\n    }\n  },\n});\n\nlet MediaHelper = EmberObject.extend({\n  url: '',\n  file: '',\n  type: '',\n  siteSettingsName: '',\n  isReset: false,\n  isSaved: false,\n  hasUpdates: computed('url', 'isReset', 'isSaved', function() {\n    return (this.url || this.isReset) && !this.isSaved;\n  }),\n  reset() {\n    this.setProperties({\n      url: '',\n      file: '',\n      isReset: false,\n      isSaved: false,\n    });\n  },\n});\n\nexport default Controller.extend(ErrorHandling, EventTracking, {\n  store: service(),\n  paywallService: service(),\n  helpCenterService: service(),\n  notificationsService: service(),\n  confirmService: service(),\n  intercomEventService: service(),\n\n  site: readOnly('helpCenterService.site'),\n  appController: controller('apps/app'),\n  app: reads('appController.model'),\n  pickerColorHex: reads('site.themeColor'),\n  pickerColor: templateString('#${pickerColorHex}'),\n  defaultLocale: computed('site', function() {\n    let locale = this.get('site.supportedLocales').findBy('localeId', this.get('app.locale'));\n    return !locale ? 'different' : locale.name;\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.set(\n      'uploadHelper',\n      UploadHelper.create({\n        header: MediaHelper.create({\n          type: 'header',\n          siteSettingsName: 'headerUrl',\n        }),\n        logo: MediaHelper.create({\n          type: 'logo',\n          siteSettingsName: 'logoUrl',\n        }),\n        favicon: MediaHelper.create({\n          type: 'favicon',\n          siteSettingsName: 'faviconUrl',\n        }),\n        social: MediaHelper.create({\n          type: 'social_image',\n          siteSettingsName: 'socialUrl',\n        }),\n      }),\n    );\n  },\n\n  saveEnabled: computed(\n    'site.hasDirtyAttributes',\n    'uploadHelper.hasUpdates',\n    '_saveSite.isRunning',\n    function() {\n      return (\n        !this.get('_saveSite.isRunning') &&\n        (this.get('site.hasDirtyAttributes') || this.get('uploadHelper.hasUpdates'))\n      );\n    },\n  ),\n  saveDisabled: not('saveEnabled'),\n  showSaveCancel: or('site.hasDirtyAttributes', 'uploadHelper.hasUpdates'),\n\n  sectionCanClose: task(function*() {\n    if (!this.site.hasDirtyAttributes) {\n      return true;\n    }\n    let options = {\n      title: 'Unsaved Changes',\n      body: 'You have unsaved changes. Do you want to discard them?',\n      confirmButtonText: 'Discard',\n      center: true,\n    };\n    let confirmed = yield this.confirmService.show(this, options);\n    if (confirmed) {\n      this.site.rollbackAttributes();\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'discarded',\n        object: 'settings',\n      });\n      return true;\n    } else {\n      return false;\n    }\n  }),\n\n  _storeUpdatedSite(updated) {\n    this.store.pushPayload({\n      'help-center-sites': [updated],\n    });\n  },\n\n  _captureAndDisplayError(response) {\n    this.handleServerError(response, 'There was a problem saving your settings');\n  },\n\n  _saveImage(image, type) {\n    let formData = new FormData();\n    formData.append('asset_type', type);\n    formData.append('image', image);\n    formData.append('app_id', this.get('app.id'));\n    return ajax({\n      type: 'POST',\n      url: '/ember/help_center_sites/upload_asset.json',\n      data: formData,\n      contentType: false,\n      processData: false,\n    }).then(response => this._storeUpdatedSite(response));\n  },\n\n  _deleteImage(type) {\n    let formData = new FormData();\n    formData.append('asset_type', type);\n    formData.append('app_id', this.get('app.id'));\n    return ajax({\n      type: 'DELETE',\n      url: '/ember/help_center_sites/delete_asset.json',\n      data: formData,\n      contentType: false,\n      processData: false,\n    }).then(response => this._storeUpdatedSite(response));\n  },\n\n  _updateMedia(mediaHelper) {\n    return new EmberPromise((resolve, reject) => {\n      let type = mediaHelper.get('type');\n      let url = mediaHelper.get('url');\n      let file = mediaHelper.get('file');\n      let isReset = mediaHelper.get('isReset');\n      if (url) {\n        this._saveImage(file, type)\n          .then(() => {\n            mediaHelper.setProperties({\n              isSaved: true,\n              isReset: false,\n            });\n            resolve();\n          })\n          .catch(response => {\n            this.handleServerError(response, 'There was a problem saving your settings');\n            mediaHelper.setProperties({\n              isSaved: false,\n              isReset: true,\n            });\n            reject();\n          });\n      }\n      if (!url && isReset) {\n        this._deleteImage(type)\n          .then(() => {\n            mediaHelper.reset();\n            resolve();\n          })\n          .catch(response => {\n            this.handleServerError(response, 'There was a problem saving your settings');\n            mediaHelper.setProperties({\n              isSaved: false,\n              isReset: true,\n            });\n            reject();\n          });\n      }\n    });\n  },\n\n  _checkUpdates(media) {\n    let updateMediaPromises = [];\n    for (let i = 0; i < media.length; i++) {\n      if (media[i].get('hasUpdates')) {\n        updateMediaPromises.push(this._updateMedia(media[i]));\n      }\n    }\n    return all(updateMediaPromises);\n  },\n\n  _saveMediaUpdates() {\n    return new EmberPromise((resolve, reject) => {\n      let media = [\n        this.get('uploadHelper.header'),\n        this.get('uploadHelper.logo'),\n        this.get('uploadHelper.favicon'),\n        this.get('uploadHelper.social'),\n      ];\n      this._checkUpdates(media)\n        .then(() => {\n          resolve();\n        })\n        .catch(() => {\n          reject();\n        });\n    });\n  },\n\n  _getSwitchHelpCenterModalOptions(turnOn) {\n    let turnOnOptions = {\n      title: `Ready to turn on your Help Center?`,\n      body: `Your finished articles and collections will be visible at\n      ${this.get('site.userFriendlyUrl')} and listed on search engines,\n      and we'll activate the Article Search app on your Messenger home.`,\n      confirmButtonText: `Yes, turn it on`,\n      primaryButtonType: 'primary-live',\n      center: true,\n    };\n    let turnOffOptions = {\n      title: `You're turning off your Help Center`,\n      body: `Your articles won't be visible at ${this.get('site.userFriendlyUrl')} anymore.\n      They'll still be saved in Articles. The Article Search app will also be removed from your Messenger home`,\n      confirmButtonText: `I understand, turn it off`,\n      primaryButtonType: 'primary-destructive',\n      center: true,\n    };\n    return turnOn ? turnOnOptions : turnOffOptions;\n  },\n\n  _toggleHelpCenterModal(turnOn) {\n    let confirmOptions = this._getSwitchHelpCenterModalOptions(turnOn);\n    intercomConfirm(this, confirmOptions).then(() => {\n      let site = this.site;\n      site.set('turnedOn', turnOn);\n      this._saveSite\n        .perform()\n        .then(() => {\n          this.notificationsService.notifyConfirmationWithModelAndPartial(\n            {\n              site,\n            },\n            'apps/app/articles/site/-help-center-turned-on-notification',\n          );\n          this.trackEducateEvent({\n            action: turnOn ? 'turned_on' : 'turned_off',\n            object: 'help_center',\n            place: 'settings',\n          });\n        })\n        .catch(err => {\n          site.rollbackAttributes();\n          this._captureAndDisplayError(err);\n        });\n    });\n  },\n\n  _saveSite: task(function*() {\n    if (this.site.validations.isValid) {\n      yield this.site.save();\n      this.notificationsService.notifyConfirmation('Youʼve updated your Help Center settings.');\n    } else {\n      this.site\n        .get('validations.messages')\n        .forEach(message => this.notificationsService.notifyError(message));\n    }\n  }).drop(),\n\n  _trackDomainChangeEvent(domainChange) {\n    let [oldDomain, newDomain] = domainChange;\n    let action = newDomain === '' ? 'deleted' : 'created';\n    this.trackEducateEvent({\n      action,\n      object: 'domain',\n      place: 'settings',\n      domain_url: action === 'deleted' ? oldDomain : newDomain,\n    });\n  },\n\n  _trackDomainAndPrefixChangeEvent(domainAndPrefixChange) {\n    let [oldValue, newValue] = domainAndPrefixChange;\n    let action = newValue === '' ? 'deleted' : 'created';\n    this.trackEducateEvent({\n      action,\n      object: 'domainAndPrefix',\n      place: 'settings',\n      domain_url: action === 'deleted' ? oldValue : newValue,\n    });\n  },\n\n  _trackHomeUrlChangeEvent(homeUrlChange) {\n    let [oldUrl, newUrl] = homeUrlChange;\n    this.trackEducateEvent({\n      action: 'saved',\n      object: 'home_url',\n      place: 'settings',\n      owner: 'educate',\n      from: oldUrl,\n      to: newUrl,\n    });\n  },\n\n  _trackDefaultLanguageChangeEvent(languageChange) {\n    this.trackEducateEvent({\n      action: 'saved',\n      object: 'default_language',\n      place: 'settings',\n      owner: 'educate',\n      from: languageChange[0],\n      to: languageChange[1],\n    });\n  },\n\n  _getSupportedLocalesDiff(supportedLocalesChange, defaultLanguageChange) {\n    let added = [];\n    let removed = [];\n    this.site.supportedLocales.map(locale => {\n      if (locale.changedAttributes().isSelected) {\n        if (locale.isSelected) {\n          added.push(locale.localeId);\n        } else {\n          removed.push(locale.localeId);\n        }\n      }\n    });\n    // Cleanup so we don't double-track changes to the default\n    if (\n      defaultLanguageChange &&\n      removed.includes(defaultLanguageChange[0]) &&\n      added.includes(defaultLanguageChange[1])\n    ) {\n      removed = removed.filter(localeId => localeId !== defaultLanguageChange[0]);\n      added = added.filter(localeId => localeId !== defaultLanguageChange[1]);\n    }\n    return { added, removed };\n  },\n\n  _trackSupportedLocalesChangeEvent({ added, removed }) {\n    // We're not tracking changes to the title, just isSelected\n    if (added.length + removed.length > 0) {\n      this.trackEducateEvent({\n        action: 'saved',\n        object: 'language',\n        place: 'settings',\n        owner: 'educate',\n        added,\n        removed,\n      });\n    }\n  },\n\n  _trackAudienceTargetingChange() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'turned_on',\n      object: 'audience_targeting',\n    });\n  },\n\n  actions: {\n    updateHeadline(heading) {\n      this.set('site.defaultLocale.headline', heading);\n    },\n    setColor(color) {\n      color = color.substring(1);\n      this.set('site.themeColor', color);\n    },\n    cancel(accordionAPI) {\n      this.site.rollbackAttributes();\n      let uploadHelper = this.uploadHelper;\n      uploadHelper.reset();\n      accordionAPI.closeSection();\n    },\n    sectionDidOpen(sectionName) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'opened',\n        object: `${sectionName}-section`,\n      });\n    },\n    sectionDidClose(sectionName) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'closed',\n        object: `${sectionName}-section`,\n      });\n    },\n    save() {\n      let domainChange = this.site.changedAttributes()['customDomain'];\n      let domainAndPrefixChange = this.site.changedAttributes()['customDomainAndPathPrefix'];\n      let defaultLanguageChange = this.site.changedAttributes()['locale'];\n      let supportedLocalesChange = this.site.changedAttributes()['supportedLocales'];\n      let supportedLocalesDiff = this._getSupportedLocalesDiff(\n        supportedLocalesChange,\n        defaultLanguageChange,\n      );\n      let homeUrlChange = this.site.changedAttributes()['homeUrl'];\n      let previousSegmentedContentTurnedOn = this.site.segmentedContentTurnedOn;\n\n      this._saveMediaUpdates().then(() => {\n        this._saveSite\n          .perform()\n          .then(() => {\n            if (domainChange) {\n              this._trackDomainChangeEvent(domainChange);\n            }\n            if (domainAndPrefixChange) {\n              this._trackDomainAndPrefixChangeEvent(domainAndPrefixChange);\n            }\n            if (defaultLanguageChange) {\n              this._trackDefaultLanguageChangeEvent(defaultLanguageChange);\n            }\n            if (supportedLocalesChange) {\n              this._trackSupportedLocalesChangeEvent(supportedLocalesDiff);\n            }\n            if (homeUrlChange) {\n              this._trackHomeUrlChangeEvent(homeUrlChange);\n            }\n            if (!previousSegmentedContentTurnedOn && this.site.segmentedContentTurnedOn) {\n              this._trackAudienceTargetingChange();\n            }\n          })\n          .catch(err => {\n            this._captureAndDisplayError(err);\n          });\n      });\n    },\n    toggleHelpCenter() {\n      let turnedOff = this.get('site.turnedOff');\n      if (turnedOff) {\n        this.paywallService\n          .paywall({ featureName: 'help_center' })\n          .then(() => {\n            this._toggleHelpCenterModal(turnedOff);\n          })\n          .catch(this.paywallService.handleError);\n      } else {\n        this._toggleHelpCenterModal(turnedOff);\n      }\n    },\n  },\n});\n","import Controller, { inject as controller } from '@ember/controller';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class Billing extends Controller {\n  @controller('apps.app') appController;\n\n  queryParams = ['addressModalIsOpen', 'creditCardModalIsOpen'];\n\n  @tracked addressModalIsOpen = false;\n  @tracked creditCardModalIsOpen = false;\n\n  get app() {\n    return this.appController.app;\n  }\n\n  get customer() {\n    return this.model;\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class CancelCompleteController extends Controller {\n  @service appService;\n  @service purchaseAnalyticsService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  @action redirect() {\n    this.transitionToRoute('apps.app');\n  }\n\n  @action restart() {\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'clicked',\n      context: 'billing_cancel',\n      place: 'cancel_complete',\n      object: 'restart_subscription',\n    });\n    this.transitionToRoute('apps.app.billing');\n  }\n\n  @action deleteWorkspace() {\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'clicked',\n      context: 'billing_cancel',\n      place: 'cancel_complete',\n      object: 'delete_workspace',\n    });\n    // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n    this.send('openModal', 'apps/app/settings/modals/delete-app-modal', this.app);\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { captureException } from 'embercom/lib/sentry';\nimport { task } from 'ember-concurrency-decorators';\nimport ajax from 'embercom/lib/ajax';\nimport { inject as service } from '@ember/service';\n\nexport default class BillingIndexController extends Controller {\n  @service appService;\n  @service customerService;\n  @service router;\n\n  get featuresLost() {\n    return [\n      \"Your customers won't be able to use the world's best business messenger\",\n      \"You won't be able to reply to conversations\",\n      \"You'll lose your settings and configurations\",\n    ];\n  }\n\n  @task *cancelSubscriptionTask() {\n    try {\n      let newCustomer = yield ajax({\n        url: `/ember/customers/${this.customerService.customer.id}/cancel_subscription`,\n        type: 'POST',\n        data: JSON.stringify({\n          app_id: this.appService.app.id,\n        }),\n      });\n      return this.store.pushPayload('billing/customer', {\n        'billing/customer': newCustomer,\n      });\n    } catch (err) {\n      this.notificationsService.notifyError(\n        'Could not cancel subscription, please contact us for help',\n      );\n      captureException(err, {\n        'responsible-team': 'team-monetization',\n      });\n      throw err;\n    }\n  }\n\n  @action cancelSubscription() {\n    return this.cancelSubscriptionTask\n      .perform()\n      .then(() => this.router.transitionTo('apps.app.billing.cancel.complete'));\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport { captureException } from 'embercom/lib/sentry';\nimport { showNewMessageInIntercomWidget } from 'embercom/lib/intercom-widget-helper';\n\nconst COVID_OFFER_ID = 'covid_offer';\n\nexport default class BillingIndexController extends Controller {\n  @service store;\n  @service router;\n  @service purchaseAnalyticsService;\n  @service appService;\n  @service customerService;\n\n  // Initialized in setupController.\n  @tracked currentSelection;\n  @tracked currentQuestion;\n  @tracked questionQueue;\n  @tracked freeTextAnswer = '';\n  selectedCovid = false;\n  @action openMessengerForCOVID() {\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'clicked',\n      object: 'covid-chat',\n      context: 'billing-cancel',\n      place: 'billing.cancel.index',\n    });\n\n    showNewMessageInIntercomWidget('Help! My business has been affected by COVID-19');\n  }\n\n  responses = [];\n\n  get allQuestions() {\n    return this.model.questions;\n  }\n\n  get canUseEligibilityCheckForCovidDiscountOffer() {\n    return this.appService.app.canUseEligibilityCheckForCovidDiscountOffer;\n  }\n\n  get chosenAnswers() {\n    let { cancellationReasons, multiSelect } = this.currentQuestion;\n    let answers;\n\n    if (multiSelect) {\n      answers = cancellationReasons.filter(({ isChecked }) => isChecked);\n    } else {\n      answers = cancellationReasons.filter(({ id }) => id === this.currentSelection);\n    }\n    this.selectedCovid =\n      this.selectedCovid || answers.find(({ reason }) => reason.match(/COVID-19/));\n    return answers;\n  }\n\n  get followUpQuestions() {\n    let followUpQuestionIds = this.chosenAnswers\n      .flatMap(({ followUpQuestionIds }) => followUpQuestionIds || [])\n      .uniq();\n    return this.allQuestions.filter(({ id }) => followUpQuestionIds.includes(parseInt(id, 10)));\n  }\n\n  get hasNoMoreQuestions() {\n    return this.questionQueue.length === 0 && this.followUpQuestions.length === 0;\n  }\n\n  get hasSelectedAnswer() {\n    return this.chosenAnswers.length > 0;\n  }\n\n  get enteredValidInput() {\n    return this.chosenAnswers.every(\n      answer => !answer.freeTextResponse || this.freeTextAnswer.length > 0,\n    );\n  }\n\n  get hasValidAnswer() {\n    return this.hasSelectedAnswer && this.enteredValidInput;\n  }\n\n  get freeTextOnlyQuestion() {\n    let { cancellationReasons } = this.currentQuestion;\n    return cancellationReasons.length === 1 && cancellationReasons.firstObject.freeTextResponse;\n  }\n\n  @action nextQuestion() {\n    this.responses.push({\n      reasonIds: this.chosenAnswers.map(({ id }) => id),\n      comment: this.freeTextAnswer,\n    });\n\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'clicked',\n      object: 'next_question_button',\n      context: 'billing-cancel',\n      place: 'billing.cancel.index',\n      reasonIds: this.chosenAnswers.map(({ id }) => id),\n      comment: this.freeTextAnswer,\n    });\n\n    this.questionQueue = [...this.followUpQuestions, ...this.questionQueue];\n    this.currentQuestion = this.questionQueue.shift();\n    if (this.currentQuestion.multiSelect) {\n      this.currentQuestion.cancellationReasons.forEach(reason => reason.reset());\n    }\n    this.freeTextAnswer = '';\n    this.currentSelection = this.currentQuestion.cancellationReasons.firstObject.id;\n  }\n\n  get qualifiesForCovidOffer() {\n    if (!this.canUseEligibilityCheckForCovidDiscountOffer) {\n      return false;\n    }\n    let hasCovidOffer = this.model.offers.any(offer => offer.id === COVID_OFFER_ID);\n    return hasCovidOffer && this.selectedCovid;\n  }\n\n  @task *submitResponse() {\n    this.responses.push({\n      reasonIds: this.chosenAnswers.map(({ id }) => id),\n      comment: this.freeTextAnswer,\n    });\n\n    if (this.responses.length === 0) {\n      captureException(\n        new Error(\n          'CancellationFeedbackResponse created without any cancellation-question-responses',\n          {\n            extra: {\n              allQuestionIds: this.allQuestions.map(({ id }) => id),\n              app_id: this.appService.app.id,\n            },\n          },\n        ),\n      );\n    }\n\n    let response = this.store.createRecord('cancellation-feedback-response', {\n      cancellationQuestionResponses: this.responses,\n    });\n\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'clicked',\n      object: 'submit_survey_button',\n      context: 'billing-cancel',\n      place: 'billing.cancel.index',\n      responseIds: this.responses.reduce((all, { reasonIds }) => [...all, ...reasonIds], []),\n      comment: this.freeTextAnswer,\n    });\n\n    yield response.save();\n\n    let newRoute = this.qualifiesForCovidOffer ? 'offer' : 'confirm';\n    this.router.transitionTo(`apps.app.billing.cancel.${newRoute}`);\n  }\n\n  @action submitAndGoToCancel() {\n    this.submitResponse.perform();\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\nimport { captureException } from 'embercom/lib/sentry';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport ajax from 'embercom/lib/ajax';\nimport { action } from '@ember/object';\n\nconst COVID_OFFER_ID = 'covid_offer';\n\nexport default class AppsAppBillingCancelOfferController extends Controller {\n  @service appService;\n  @service customerService;\n  @service router;\n  @service purchaseAnalyticsService;\n\n  get covidOffer() {\n    return this.model.offers.find(offer => offer.id === COVID_OFFER_ID);\n  }\n\n  sendToAnalytics(action) {\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'clicked',\n      context: 'cancellation_flow',\n      place: 'covid_offer',\n      object: `${action}_offer_button`,\n      section: 'billing_cancel',\n    });\n  }\n\n  @task *cancelSubscriptionTask() {\n    this.sendToAnalytics('reject');\n    try {\n      let newCustomer = yield ajax({\n        url: `/ember/customers/${this.customerService.customer.id}/cancel_subscription`,\n        type: 'POST',\n        data: JSON.stringify({\n          app_id: this.appService.app.id,\n        }),\n      });\n      return this.store.pushPayload('billing/customer', {\n        'billing/customer': newCustomer,\n      });\n    } catch (err) {\n      this.notificationsService.notifyError(\n        'Could not cancel subscription, please contact us for help',\n      );\n      captureException(err, {\n        'responsible-team': 'team-monetization',\n      });\n      throw err;\n    }\n  }\n\n  @action cancelSubscription() {\n    return this.cancelSubscriptionTask\n      .perform()\n      .then(() => this.router.transitionTo('apps.app.billing.cancel.complete'));\n  }\n\n  @task *redeemOfferTask() {\n    this.sendToAnalytics('accept');\n    try {\n      this.covidOffer.accepted = true;\n      yield this.covidOffer.save().then(() => {\n        this.notificationsService.notifyConfirmation(\n          'Your subscription has been successfully updated',\n        );\n      });\n    } catch (err) {\n      this.notificationsService.notifyError('Something went wrong. Please try again');\n      captureException(err, {\n        'responsible-team': 'team-monetization',\n      });\n      throw err;\n    }\n  }\n\n  @action redeemOffer() {\n    return this.redeemOfferTask\n      .perform()\n      .then(() => this.customerService.refreshCustomer())\n      .then(() => this.router.transitionTo('apps.app.billing.summary'));\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n\nimport { inject as service } from '@ember/service';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport { computed } from '@ember/object';\nimport { alias, and, readOnly, filterBy } from '@ember/object/computed';\n\nimport Controller from '@ember/controller';\nexport default Controller.extend({\n  customerService: service(),\n  purchaseAnalyticsService: service(),\n  notificationsService: service(),\n  appService: service(),\n  queryParams: {\n    selectedTab: 'selected_tab',\n    isEditing: {\n      type: 'boolean',\n    },\n  },\n  featureName: alias('customerService.featureName'),\n  planIds: alias('customerService.planIds'),\n\n  modelDataCacheService: service(),\n  dirty: alias('customerService.isDirty'),\n  app: alias('appService.app'),\n  context: 'billing',\n  isEditing: alias('customerService.isEditing'),\n  place: ternary('isEditing', 'edit_subscription', 'current_subscription'),\n\n  customer: alias('customerService.customer'),\n  products: alias('customerService.products'),\n  changedProducts: filterBy('products', 'changedPlan', true),\n\n  selectedTab: 'current',\n\n  showUnsavedChangesModal: false,\n\n  previousTransition: null,\n\n  answerBotFeatureFlag: computed('app', function() {\n    return this.app.canUseFeature('answerbot-multilingual');\n  }),\n  customerDidNotHideResolutionBotBanner: true,\n  answerBotIsActive: readOnly('app.answerBotIsActive'),\n\n  showResolutionBotBanner: and(\n    'customerDidNotHideResolutionBotBanner',\n    'answerBotIsActive',\n    'answerBotFeatureFlag',\n  ),\n\n  actions: {\n    revert() {\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'clicked',\n        object: 'revert_edit_subscription',\n        context: this.context,\n        place: this.place,\n      });\n      this.customerService.resetAll();\n      this.set('isEditing', false);\n    },\n\n    unsavedChangesModalTransition() {\n      // perform the previously attempted transition\n      this.send('revert');\n      let previousTransition = this.previousTransition;\n      if (previousTransition) {\n        this.set('previousTransition', null);\n        previousTransition.retry();\n      }\n    },\n    hide() {\n      this.toggleProperty('customerDidNotHideResolutionBotBanner');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class BillingIndexController extends Controller {\n  @tracked showEditPlanModal = false;\n  @service appService;\n  @service paywallService;\n  @service router;\n\n  @action openModalOrRedirect() {\n    // For early stage & non-VBP&P, we want them to go to the checkout page\n    if (this.appService.app.validEarlyStageApplicant || !this.appService.app.hasValueBasedPricing) {\n      this.paywallService.redirectToPurchase();\n    } else {\n      this.showEditPlanModal = true;\n    }\n  }\n\n  @action closeModal() {\n    this.showEditPlanModal = false;\n    if (this.appService.app.hasActiveSubscription) {\n      this.router.transitionTo('apps.app.billing.summary.index');\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport { alias, filter } from '@ember/object/computed';\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\n\nexport default Controller.extend({\n  appService: service(),\n  app: alias('appService.app'),\n\n  invoices: [],\n\n  filteredInvoices: filter('invoices', function(item) {\n    if (item.get('manuallyInvoiced')) {\n      return false;\n    }\n\n    return true;\n  }),\n\n  manualInvoicesPresent: computed('invoices', function() {\n    let invoices = this.invoices;\n    return invoices.any(invoice => invoice.get('manuallyInvoiced') === true);\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport Controller from '@ember/controller';\nexport default Controller.extend({\n  invoice: readOnly('model'),\n  appService: service(),\n  app: readOnly('appService.app'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\nimport { observer } from '@ember/object';\nimport { alias, setDiff, sort } from '@ember/object/computed';\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport ajax from 'embercom/lib/ajax';\nimport { inject as service } from '@ember/service';\n\nlet ChangeCompanyDetailsController = Controller.extend(IntercomModal, {\n  notificationsService: service(),\n  classNames: ['m__team-member-selector', 'u__relative'],\n  classNameBindings: ['isExpanded:o__expanded:o__collapsed'],\n  admins: alias('app.humanAdmins'),\n  selectableAdmins: setDiff('admins', 'selectedAdmins'),\n  selectableItems: alias('selectableAdmins'),\n  sortKey: ['name'],\n  sortedItems: sort('selectableItems', 'sortKey'),\n\n  reset: observer({\n    dependentKeys: ['isOpen'],\n\n    fn() {\n      if (this.isOpen) {\n        this.setProperties({\n          isSaving: false,\n          errors: [],\n          code: '',\n          companyName: this.get('model.entityName'),\n          contactEmail: this.get('model.contactEmail'),\n        });\n      }\n    },\n\n    sync: true,\n  }),\n\n  actions: {\n    addEmail(admin) {\n      this.set('contactEmail', admin.get('email'));\n    },\n\n    save() {\n      this.set('isSaving', true);\n      return ajax({\n        url: `/ember/customers/${this.get('model.id')}/change_company_details`,\n        type: 'POST',\n        data: JSON.stringify({\n          app_id: this.get('app.id'),\n          company_name: this.companyName,\n          contact_email: this.contactEmail,\n        }),\n      })\n        .then(customer => {\n          this.notificationsService.notifyConfirmation('Details updated');\n          this.send('loadCustomer', customer);\n          this.send('closeModal');\n        })\n        .catch(response => {\n          this.notificationsService.notifyError(response.jqXHR.responseJSON);\n          this.set('isSaving', false);\n        });\n    },\n  },\n});\n\nexport default ChangeCompanyDetailsController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\nimport { observer } from '@ember/object';\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport ajax from 'embercom/lib/ajax';\nimport { inject as service } from '@ember/service';\n\nlet CouponModalController = Controller.extend(IntercomModal, {\n  notificationsService: service(),\n  customerService: service(),\n  reset: observer({\n    dependentKeys: ['isOpen'],\n\n    fn() {\n      if (this.isOpen) {\n        this.setProperties({\n          isSaving: false,\n          errors: [],\n          code: '',\n        });\n      }\n    },\n\n    sync: true,\n  }),\n  actions: {\n    redeem() {\n      let self = this;\n      this.set('isSaving', true);\n      return ajax({\n        url: `/ember/customers/${self.get('model.id')}/redeem_coupon`,\n        type: 'POST',\n        data: JSON.stringify({\n          code: self.get('code'),\n          app_id: self.get('app.id'),\n        }),\n      }).then(\n        function(customer) {\n          this.notificationsService.notifyConfirmation(\n            `You’ve redeemed the ‘${self.get('code')}’ coupon`,\n          );\n          this.customerService.loadData({ fetchPrices: true });\n          this.send('loadCustomer', customer);\n          this.send('closeModal');\n        }.bind(this),\n        function(response) {\n          this.set('errors', response.jqXHR.responseJSON);\n          this.set('isSaving', false);\n        }.bind(this),\n      );\n    },\n  },\n});\n\nexport default CouponModalController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\nimport { observer } from '@ember/object';\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\n\nlet CancellationModalController = Controller.extend(IntercomModal, {\n  intercomEventService: service(),\n  notificationsService: service(),\n  reset: observer({\n    dependentKeys: ['isOpen'],\n\n    fn() {\n      if (this.isOpen) {\n        this.setProperties({\n          isResuming: false,\n          errors: [],\n        });\n      }\n    },\n\n    sync: true,\n  }),\n  actions: {\n    resume() {\n      let self = this;\n      this.set('isResuming', true);\n      return ajax({\n        url: `/ember/customers/${self.get('model.id')}/resume_pending_cancellation`,\n        type: 'POST',\n        data: JSON.stringify({\n          code: self.get('code'),\n          app_id: self.get('app.id'),\n        }),\n      }).then(\n        function(customer) {\n          this.send('loadCustomer', customer);\n          this.notificationsService.notifyConfirmation('Your subscription has been resumed');\n          this.send('closeModal');\n          this.intercomEventService.trackEvent('resumed-pending-subscription-cancellation');\n        }.bind(this),\n        function(response) {\n          this.set('errors', response.jqXHR.responseJSON);\n          this.set('isResuming', false);\n        }.bind(this),\n      );\n    },\n  },\n});\n\nexport default CancellationModalController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\n\nexport default class BillingSummary extends Controller {\n  get contract() {\n    return this.model;\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class BillingSummaryIndex extends Controller {\n  @service customerService;\n  @service purchaseAnalyticsService;\n  @tracked showEditPlanModal = false;\n  @tracked showEditAddonModal = false;\n\n  get contract() {\n    return this.model;\n  }\n\n  get canAddCreditCard() {\n    return !this.contract || this.contract.isPrimarySubscription;\n  }\n\n  get customer() {\n    return this.customerService.customer;\n  }\n\n  trackModalAction({ object, context }) {\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'clicked',\n      object,\n      context,\n      place: 'billing_summary',\n    });\n  }\n\n  @action openEditPlanModal(context) {\n    this.trackModalAction({ object: 'open_edit_plan_modal_button', context });\n    this.showEditPlanModal = true;\n  }\n\n  @action closeEditPlanModal() {\n    this.showEditPlanModal = false;\n    this.customerService.resetAll();\n  }\n\n  @action openEditAddonModal(context) {\n    this.trackModalAction({ object: 'open_edit_addon_modal_button', context });\n    this.showEditAddonModal = true;\n  }\n\n  @action closeEditAddonModal() {\n    this.showEditAddonModal = false;\n    this.customerService.resetAll();\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nexport default Controller.extend({\n  queryParams: ['showHeader'],\n  showHeader: true,\n\n  steps: [\n    { number: 1, name: 'Introduction' },\n    { number: 2, name: 'Add custom attributes' },\n    { number: 3, name: 'Send custom attributes' },\n  ],\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { reads, filter, union } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport ajax from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport validation from 'embercom/lib/cda-onboarding/validation';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  queryParams: ['platform'],\n  platform: null,\n\n  appController: controller('apps/app'),\n  app: reads('appController.model'),\n\n  nextButton: 'Next',\n  selectedTab: 'cda',\n  cdaList: [],\n  selectedSampleCategory: 'b2b',\n\n  filledCdaCount: reads('filledCdas.length'),\n  filledCdas: filter('cdaList.@each.name', function(cda) {\n    return cda.name;\n  }),\n\n  invalidCdas: [],\n  duplicateCdas: [],\n  existingCdas: [],\n  erroredCdas: union('invalidCdas', 'duplicateCdas', 'existingCdas'),\n\n  createBlankCda() {\n    return { name: '', description: '', type: 'String' };\n  },\n\n  createCda: task(function*() {\n    let invalidCdas = validation.getInvalidNames(this.filledCdas);\n    let duplicateCdas = validation.getDuplicateNames(this.filledCdas);\n\n    this.set('invalidCdas', invalidCdas);\n    this.set('duplicateCdas', duplicateCdas);\n\n    if (invalidCdas.length > 0) {\n      return this.notificationsService.notifyError(validation.getInvalidErrorMessage(invalidCdas));\n    }\n\n    if (duplicateCdas.length > 0) {\n      return this.notificationsService.notifyError(\n        validation.getDuplicateErrorMessage(duplicateCdas),\n      );\n    }\n\n    let promise = yield ajax({\n      url: '/ember/untracked_custom_data_attributes',\n      type: 'POST',\n      data: JSON.stringify({\n        app_id: this.get('app.id'),\n        custom_data_attributes: this.filledCdas,\n      }),\n    })\n      .then(() => {\n        this.intercomEventService.trackEvent('untracked-attribute-added', {\n          action: 'added',\n          object: this.filledCdas.mapBy('name'),\n          place: 'cda_tool',\n          owner: 'growth',\n        });\n        this.set('nextButton', 'Done');\n        this.transitionToRoute('apps.app.cda-onboarding.generate', {\n          queryParams: { platform: this.platform, afterCreation: true },\n        });\n      })\n      .catch(error => {\n        let response = error.jqXHR.responseJSON;\n\n        if (response && response.errors.type === 'duplicate') {\n          let erroredCdas = response.errors.cdas;\n\n          this.set('existingCdas', erroredCdas);\n          this.notificationsService.notifyError(\n            validation.getAlreadyExistsErrorMessage(erroredCdas),\n          );\n        } else if (response && response.errors.type === 'cda_limit') {\n          this.notificationsService.notifyError(response.errors.message);\n        } else {\n          this.notificationsService.notifyError(error.jqXHR.statusText);\n        }\n      });\n\n    return promise;\n  }).drop(),\n\n  actions: {\n    addAdditionalRows(count) {\n      let blankRows = Array(count)\n        .fill()\n        .map(this.createBlankCda);\n      this.cdaList.pushObjects(blankRows);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nexport default Controller.extend({\n  queryParams: ['platform', 'afterCreation'],\n  platform: null,\n  afterCreation: false,\n\n  appController: controller('apps/app'),\n\n  host: window.location.host,\n  protocol: window.location.protocol,\n  invite: alias('model.invite'),\n  untrackedCdas: alias('model.untrackedCustomDataAttributes'),\n\n  inviteLink: computed('host', 'protocol', 'invite', function() {\n    return `${this.protocol}//${this.host}/invites/${this.get('invite.token')}`;\n  }),\n\n  actions: {\n    close() {\n      window.parent.focus();\n      window.close();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { getPlayableUrlForWistiaId } from '@intercom/embercom-core/lib/wistia-url';\n\nexport default Controller.extend({\n  queryParams: ['platform'],\n  platform: null,\n\n  introImages: {\n    add: '/assets/images/cda-onboarding/add_cda.png',\n    send: '/assets/images/cda-onboarding/send_cda.png',\n    know: '/assets/images/cda-onboarding/know_cda.png',\n    upArchArrow: '/assets/images/cda-onboarding/up-arch-arrow_cda.png',\n    downArchArrow: '/assets/images/cda-onboarding/down-arch-arrow_cda.png',\n  },\n  videoUrl: getPlayableUrlForWistiaId('vff6w81zpm'),\n\n  videoViewable: false,\n\n  actions: {\n    next() {\n      this.transitionToRoute('apps.app.cda-onboarding.add', {\n        queryParams: { platform: this.platform },\n      });\n    },\n\n    slideVideo() {\n      this.set('videoViewable', !this.videoViewable);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { alias } from '@ember/object/computed';\nimport { inject as controller } from '@ember/controller';\nimport UserOrCompaniesController from 'embercom/controllers/base/user-or-companies';\n\nexport default UserOrCompaniesController.extend({\n  segmentController: controller('apps/app/companies/segments/segment'),\n  appController: controller('apps/app'),\n  appsController: controller('apps'),\n  app: alias('appController.model'),\n  admin: alias('appsController.model'),\n  segment: alias('segmentController.model'),\n  segmentRoutePath: 'apps.app.companies.segments.segment',\n  isCompany: true,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Controller, { inject as controller } from '@ember/controller';\nimport { computed } from '@ember/object';\nimport { alias, filterBy, mapBy, notEmpty, readOnly, reads } from '@ember/object/computed';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport ModalActions from 'embercom/controllers/mixins/users-and-companies/modal-actions';\nimport LegacySelectionState from 'embercom/models/legacy-selection-state';\nimport { matchBehaviors } from 'embercom/models/data/matching-system/matching-constants';\n\nconst STANDARD_COMPANY_ATTRIBUTES = ['company.size', 'company.industry', 'company.website'];\n\nexport default Controller.extend(ModalActions, {\n  app: reads('appController.model'),\n  appController: controller('apps/app'),\n  appsController: controller('apps'),\n  queryParams: ['composer_open'],\n  admin: alias('appsController.model'),\n  composer_open: false,\n\n  standardCompanyAttributes: computed('attributeService.allCompanyAttributes.[]', function() {\n    return this.get('attributeService.allAttributes').filter(attribute =>\n      STANDARD_COMPANY_ATTRIBUTES.includes(attribute.get('identifier')),\n    );\n  }),\n\n  displayableAttributes: computed(\n    'attributeService.displayedCompanyAttributes.[]',\n    'planHasValue',\n    function() {\n      let displayableAttributes = this.get('attributeService.displayedCompanyAttributes');\n      if (typeof displayableAttributes !== 'undefined') {\n        let attributesToDisplay = this.get('attributeService.displayedCompanyAttributes')\n          .rejectBy('attribute.type', 'manual_tag')\n          .rejectBy('attribute.type', 'company_tag')\n          .rejectBy('attribute.name', 'admin_link')\n          .rejectBy('attribute.type', 'plan')\n          .filter(attribute => !STANDARD_COMPANY_ATTRIBUTES.includes(attribute.get('identifier')));\n        if (this.planHasValue) {\n          attributesToDisplay = attributesToDisplay.rejectBy('attribute.name', 'Monthly Spend');\n        }\n        return attributesToDisplay.slice(0, 5);\n      }\n    },\n  ),\n\n  companyAttributes: readOnly('attributeService.allCompanyAttributes'),\n\n  hiddenAttributes: computed('companyAttributes.[]', 'displayableAttributes.[]', function() {\n    let displayableAttributes = this.displayableAttributes;\n    return this.companyAttributes.filter(function(attribute) {\n      return displayableAttributes.indexOf(attribute) < 0;\n    });\n  }),\n\n  selectionState: computed('model', function() {\n    return LegacySelectionState.create({\n      isSelectAllMode: false,\n      selected: [this.model],\n      unselected: [],\n      predicates: [],\n      count: 1,\n      search: '',\n    });\n  }),\n  attributeModels: mapBy('attributeService.displayableAttributes', 'attribute'),\n  planAttributeModels: filterBy('attributeModels', 'type', 'plan'),\n  planAttribute: reads('planAttributeModels.firstObject'),\n  planHasValue: notEmpty('model.plan.name'),\n  spendAttributeModels: filterBy('attributeModels', 'name', 'Monthly Spend'),\n  spendAttribute: reads('spendAttributeModels.firstObject'),\n\n  actions: {\n    delete() {\n      let controller = 'apps/app/companies/company/modals/company-delete';\n      let options = { redirect: 'apps.app.companies.segments' };\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', controller, this.selectionState, options);\n    },\n    checkForMessageQueryParam() {\n      if (this.composer_open) {\n        this.send('createCompanyMessage');\n      }\n    },\n    createCompanyMessage(type, deliveryChannel, _audienceType, templateId) {\n      this.permissionsService.checkPermission('can_send_messages').then(() => {\n        if (type === 'Email' || type === 'In-App') {\n          return this.transitionToRoute('apps.app.outbound.messages.manual.new', {\n            queryParams: {\n              selectionState: this.get('selectionState.toJSON'),\n              is_company_message: true,\n              type,\n              deliveryChannel,\n            },\n          });\n        } else {\n          let rulesetParams = {\n            app_id: this.app.id,\n            object_type: type,\n            predicate_group: {\n              predicates: [\n                {\n                  attribute: 'company.remote_company_id',\n                  comparison: 'eq',\n                  type: 'string',\n                  value: this.model.remote_company_id,\n                },\n              ],\n            },\n          };\n          if (templateId) {\n            rulesetParams.template_id = templateId;\n          } else {\n            rulesetParams.object_data = {};\n            rulesetParams.match_behavior = matchBehaviors.static;\n          }\n          return this.transitionToRoute('apps.app.content.new', rulesetParams);\n        }\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport { readOnly, alias, equal } from '@ember/object/computed';\nimport Controller from '@ember/controller';\nimport { task } from 'ember-concurrency';\nimport { getOwner } from '@ember/application';\nimport { inject as service } from '@ember/service';\n\nexport default Controller.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  admin: alias('app.currentAdmin'),\n  status: null,\n  showingOpened: equal('status', 'opened'),\n  showingSnoozed: equal('status', 'snoozed'),\n  showingAll: equal('status', 'all'),\n\n  statusNoun: computed('status', function() {\n    if (this.showingOpened) {\n      return 'open';\n    } else if (this.showingClosed) {\n      return 'closed';\n    } else {\n      return '';\n    }\n  }),\n\n  statusDropdownTitle: computed('showingSnoozed', 'showingAll', function() {\n    if (this.showingAll) {\n      return 'All';\n    }\n    if (this.showingSnoozed) {\n      return 'Snoozed';\n    }\n    return 'Open';\n  }),\n\n  loadConversationsTask: task(function*() {\n    let params = {\n      app_id: this.app.id,\n      company_id: this.companyId,\n      sort_order: 'desc',\n      status: this.status,\n    };\n    if (this.conversations.length > 0) {\n      params.page_from = this.conversations.lastObject.sorting_updated_at;\n    }\n    let loader = getOwner(this).lookup('customClass:inbox/conversationLoader');\n    let result = yield loader.loadConversations(params);\n    this.set('totalCount', result.totalCount);\n    this.conversations.pushObjects(result.conversations);\n  }).enqueue(),\n\n  actions: {\n    changeStatus(status) {\n      this.loadConversationsTask.cancelAll();\n      this.set('status', status);\n      this.set('conversations', []);\n      this.loadConversationsTask.perform();\n    },\n    nextPage() {\n      if (this.conversations.length < this.totalCount) {\n        this.loadConversationsTask.perform();\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport DeleteModalController from 'embercom/controllers/base/modals/delete';\n\nexport default DeleteModalController.extend({\n  modalTarget: 'company',\n  modalTargetPlural: 'companies',\n  actions: {\n    deleteComplete() {\n      this.replaceRoute('apps.app.companies.segments.segment', 'all');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport TagModalController from 'embercom/controllers/base/modals/tag';\n\nexport default TagModalController.extend({\n  tagEndpoint: '/ember/users/bulk_tag.json',\n  modalTarget: 'user',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport { inject as service } from '@ember/service';\n\nexport default Controller.extend(IntercomModal, {\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n\n  actions: {\n    closeModalUsingModalService() {\n      this.modalService.closeModal();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { computed } from '@ember/object';\nimport { reads } from '@ember/object/computed';\nimport DeleteModalController from 'embercom/controllers/base/modals/delete';\n\nexport default DeleteModalController.extend({\n  modalTarget: 'user',\n  submitUrl: '/ember/companies/bulk_user_delete.json',\n  remoteCompanyId: reads('model.predicates.firstObject.value'),\n  deleteParameters: computed('app', 'model', function() {\n    return JSON.stringify(\n      $.extend(this.model.toApi(), {\n        app_id: this.get('app.id'),\n        remote_company_id: this.remoteCompanyId,\n      }),\n    );\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport MessageModalController from 'embercom/controllers/base/modals/message';\n\nexport default MessageModalController.extend();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\nimport { computed, observer } from '@ember/object';\nimport { A } from '@ember/array';\nimport { alias, mapBy } from '@ember/object/computed';\nimport Evented from '@ember/object/evented';\nimport Controller, { inject as controller } from '@ember/controller';\nimport User from 'embercom/models/user';\nimport PageLoader from 'embercom/controllers/mixins/users-and-companies/page-loader';\nimport NumberPagination from 'embercom/controllers/mixins/number-pagination';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport ModalActions from 'embercom/controllers/mixins/users-and-companies/modal-actions';\nimport ListSelection from 'embercom/controllers/mixins/users-and-companies/list-selection';\nimport { findBy } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Controller.extend(\n  Evented,\n  ListSelection,\n  NumberPagination,\n  PageLoader,\n  ModalActions,\n  {\n    companyController: controller('apps/app/companies/company'),\n    appController: controller('apps/app'),\n    company: alias('companyController.model'),\n    app: alias('appController.model'),\n    isSorting: false,\n\n    init() {\n      this._super(...arguments);\n      this.set('model', A());\n    },\n\n    predicates: computed('company.remote_company_id', function() {\n      return [\n        {\n          attribute: 'company.remote_company_id',\n          type: 'string',\n          comparison: 'eq',\n          value: this.get('company.remote_company_id'),\n        },\n      ];\n    }),\n\n    displayableAttributes: mapBy('attributeService.displayableAttributes', 'attribute'),\n\n    profileDisplayedUserAttributeIdentifiers: [\n      'remote_created_at',\n      'session_count',\n      'last_request_at',\n      'last_contacted_at',\n      'last_heard_from_at',\n    ],\n\n    profileDisplayedUserAttributes: computed('identifiers', function() {\n      let self = this;\n      return this.profileDisplayedUserAttributeIdentifiers.map(function(identifier) {\n        return self\n          .get('displayableAttributes')\n          .filterBy('identifier', identifier)\n          .get('firstObject');\n      });\n    }),\n\n    selectedSortAttribute: findBy(\n      'profileDisplayedUserAttributes',\n      'identifier',\n      'last_request_at',\n    ),\n\n    updateCachedCount(count) {\n      this.set('company.user_count', count);\n    },\n\n    loadPage(page) {\n      let options = {\n        page,\n        sort_by: this.get('selectedSortAttribute.identifier'),\n        sort_direction: 'desc',\n      };\n      return this.executeSearch(User, 'users', options);\n    },\n\n    selectedSortAttributeChanged: observer({\n      dependentKeys: ['selectedSortAttribute'],\n\n      fn() {\n        this.set('isSorting', true);\n        this.loadPage(1);\n      },\n\n      sync: true,\n    }),\n\n    actions: {\n      reload() {\n        this.reload();\n      },\n\n      reset() {\n        this.set('isSelectAllMode', false);\n        this.set('isSorting', true);\n        this.loadPage(1);\n      },\n    },\n  },\n);\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { alias, gt, and, empty } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport SegmentActions from 'embercom/controllers/mixins/users-and-companies/segment-actions';\nimport SegmentQueryParams from 'embercom/controllers/mixins/users-and-companies/segment-query-params';\nimport TrackFilteringEvents from 'embercom/controllers/mixins/users-and-companies/track-filtering-events';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Controller.extend(SegmentActions, SegmentQueryParams, TrackFilteringEvents, {\n  place: 'company_list',\n  appController: controller('apps/app'),\n  app: alias('appController.model'),\n  hasStandardPredicates: gt('model.activePredicates.length', 0),\n  hasNestedPredicates: gt('model.nestedPredicates.length', 0),\n  hasValidPredicates: ternaryToProperty(\n    'model.isNestedGroup',\n    'hasNestedPredicates',\n    'hasStandardPredicates',\n  ),\n  isDirtyAndHasValidPredicates: and('model.hasDirtyAttributes', 'hasValidPredicates'),\n\n  searchController: controller('apps.app.companies'),\n  searchModel: alias('searchController.search'),\n  searchEmpty: empty('searchModel.text'),\n  searchActive: alias('searchController.searchActive'),\n\n  actions: {\n    segmentFiltersChanged(action) {\n      this.send('addFiltersToUrl', this.model);\n      this.processEvent(action);\n    },\n    openSegmentModal(model) {\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', 'apps/app/companies/segments/segment/modals/segment', model);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport ExportModalController from 'embercom/controllers/base/modals/export';\n\nexport default ExportModalController.extend({\n  modalTarget: 'company',\n  modalTargetPlural: 'companies',\n  submitUrl: '/ember/companies/bulk_export.json',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport CompanyMessageModalController from 'embercom/controllers/base/modals/company-message';\n\nlet CompaniesMessageModalController = CompanyMessageModalController.extend();\n\nexport default CompaniesMessageModalController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport SegmentModalController from 'embercom/controllers/base/modals/segment';\n\nlet CompanySegmentModalController = SegmentModalController.extend();\n\nexport default CompanySegmentModalController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { schedule } from '@ember/runloop';\nimport Controller from '@ember/controller';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  resolve: null,\n  reject: null,\n\n  setup(resolve, reject, options) {\n    options = Object.assign({}, options);\n    options.autofocus = options.autofocus !== undefined ? options.autofocus : true;\n    this.setProperties({\n      resolve,\n      reject,\n      title: options.title || 'Please Confirm',\n      confirmButtonText: options.confirmButtonText || 'Ok',\n      cancelButtonText: options.cancelButtonText || 'Cancel',\n      body: options.body || 'Are you sure?',\n      bodyComponentName: options.bodyComponentName,\n      warning: options.warning || '',\n      confirmTemplateName: options.confirmTemplateName,\n      confirmContext: options.confirmContext,\n      center: options.center || false,\n      invertButtonTypes: options.invertButtonTypes || false,\n      primaryButtonType: options.primaryButtonType || 'primary',\n      secondaryButtonType: options.secondaryButtonType || 'secondary',\n      invertButtonActions: options.invertButtonActions || false,\n    });\n    schedule('afterRender', this, function() {\n      if (options.autofocus) {\n        if (this.invertButtonTypes) {\n          $('.js__intercom-cancel-button').focus();\n        } else {\n          $('.js__intercom-confirm-button').focus();\n        }\n      }\n    });\n  },\n  // Accepted Button types: https://github.com/intercom/embercom-core/blob/master/addon/helpers/button-classes-metal.js#L9\n  cancelButtonType: ternaryToProperty(\n    'invertButtonTypes',\n    'primaryButtonType',\n    'secondaryButtonType',\n  ),\n  confirmButtonType: ternaryToProperty(\n    'invertButtonTypes',\n    'secondaryButtonType',\n    'primaryButtonType',\n  ),\n\n  actions: {\n    confirm() {\n      if (this.invertButtonActions) {\n        this.reject();\n      } else {\n        this.resolve();\n      }\n\n      this.send('closeConfirm');\n    },\n    cancel() {\n      if (this.invertButtonActions) {\n        this.resolve();\n      } else {\n        this.reject();\n      }\n\n      this.send('closeConfirm');\n    },\n    closeModal() {\n      this.reject();\n      this.send('closeConfirm');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\nimport { computed } from '@ember/object';\nimport { isBlank } from '@ember/utils';\nimport { permissionsMap } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default Controller.extend({\n  queryParams: ['filter', 'mode', 'view', 'test'],\n  filter: stats.receipt,\n  mode: 'view',\n  view: 'content',\n\n  permissionsService: service(),\n  contentEditorService: service(),\n\n  rulesetLink: computed('test', 'model', function() {\n    if (this.test) {\n      return this.model.rulesetLinks.findBy('id', this.test);\n    } else {\n      return this.model.rulesetLinks.firstObject;\n    }\n  }),\n\n  changeActiveRulesetLink: action(function(test) {\n    this.set('test', test);\n  }),\n\n  changeFilter: action(function(filter) {\n    this.set('filter', filter);\n  }),\n\n  changeMode: action(function(mode) {\n    if (this.doesNotHavePermission && mode === 'edit') {\n      this.contentEditorService.changeToViewMode();\n      this.permissionsService.loadAllAdminsAndShowPermissionRequestModal(this.permissionKey);\n    } else {\n      this.set('mode', mode);\n    }\n  }),\n\n  permissionKey: computed('contentEditorService.activeRulesetLink.objectType', function() {\n    return permissionsMap[this.contentEditorService.activeRulesetLink?.objectType];\n  }),\n\n  doesNotHavePermission: computed('permissionKey', function() {\n    if (isBlank(this.permissionKey)) {\n      return false;\n    } else {\n      return !this.permissionsService.currentAdminCan(this.permissionKey);\n    }\n  }),\n\n  changeView: action(function(view) {\n    this.set('view', view);\n  }),\n});\n","import Controller from '@ember/controller';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\n\nexport default class AppsAppConversationalInsightsController extends Controller {\n  @service appService;\n  @tracked predefinedTopics = 1;\n  queryParams = ['predefinedTopics'];\n\n  get canUseSuggestions() {\n    return this.appService.app.canUseFeature('conversational-insights-suggestions-flow');\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class AppsAppConversationalInsightsTopicsTopicShowController extends Controller {\n  @service conversationalInsights;\n  @service appService;\n  @service router;\n  @service intercomEventService;\n\n  @tracked conversationsCount = -1;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  @task\n  *fetchConversationsCount() {\n    let topic = this.model.topic;\n    let results = yield this.conversationalInsights.getConversations({ topic });\n    this.conversationsCount = results.total;\n  }\n\n  @action\n  async fetchConversationResults(start, size) {\n    let topic = this.model.topic;\n    let results = await this.conversationalInsights.getConversations({\n      topic,\n      from: start,\n      size,\n    });\n    return results.conversations.map(c => {\n      return {\n        id: c._source.conversation_id,\n        source: c._source,\n        highlightedIds: c.highlightedIds,\n        highlights: c.highlights,\n      };\n    });\n  }\n\n  @action\n  async deleteTopic(topic) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'topic-delete-button',\n      place: 'topic',\n      section: 'conv-prototype',\n    });\n    await topic.destroyRecord();\n    this.router.transitionTo('apps.app.conversational-insights.topics');\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { and, not, equal, readOnly } from '@ember/object/computed';\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Controller.extend({\n  developerHub: service(),\n  appPackage: readOnly('developerHub.appPackage'),\n  draftState: equal('appPackage.changeRequest.state', 'draft'),\n  noPendingChanges: not('developerHub.appPackageHasChanges'),\n  privateAppPackageUsingOauth: and(\n    'appPackage.isPrivateApp',\n    'appPackage.oauthClient.useOAuthFlow',\n  ),\n  notPrivateAppPackageUsingOauth: not('privateAppPackageUsingOauth'),\n  hideReviewBanner: and('draftState', 'noPendingChanges', 'notPrivateAppPackageUsingOauth'),\n\n  contentOutletClass: ternary(\n    'hideReviewBanner',\n    'developer-hub__content-outlet',\n    'developer-hub__content-outlet-with-banner',\n  ),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { alias, readOnly, and } from '@ember/object/computed';\nimport { task } from 'ember-concurrency';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  developerHub: service(),\n  appService: service(),\n  isOnEdit: alias('developerHub.isOnEditPage'),\n  appPackage: readOnly('developerHub.appPackage'),\n  appPackageConfig: readOnly('appPackage.changeRequest.appPackageConfig'),\n  canDisplayListingButton: and('appPackage.appStoreListing', 'appPackage.isPublicApp'),\n\n  addAnalyticsEvent(action) {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'app_package',\n      app_package_id: this.get('developerHub.appPackage.id'),\n      app_metadata: this.get('developerHub.appPackage.changeRequest'),\n      action,\n    });\n  },\n\n  isAppPackageConfigInvalid: task(function*() {\n    let { validations } = yield this.appPackageConfig.validate();\n    return validations.get('isInvalid');\n  }),\n\n  proceedToNextTask: task(function*() {\n    try {\n      let isInvalid = yield this.isAppPackageConfigInvalid.perform();\n      if (isInvalid) {\n        return;\n      }\n\n      yield this.appPackage.save();\n      this.addAnalyticsEvent('proceed_to_getting_started_guide');\n      this.transitionToRoute(\n        'apps.app.developer-hub.app-packages.app-package.getting-started-guide',\n      );\n    } catch (e) {\n      this.notificationsService.notifyError('There was a problem applying your changes.');\n    }\n  }),\n  publishListingTask: task(function*() {\n    yield intercomConfirm(this, {\n      title: 'Publish to the App Store?',\n      confirmButtonText: 'Publish to App Store',\n      cancleButtonText: 'Cancel',\n      body: 'Your app will be publicly listed in the Intercom App Store.',\n    });\n    try {\n      yield this.appPackage.publishListing();\n      this.addAnalyticsEvent('published');\n      this.notificationsService.notifyConfirmation('Your listing has been published.');\n    } catch (e) {\n      this.notificationsService.notifyError('There was a problem applying your settings.');\n    }\n  }),\n  cancelListingTask: task(function*() {\n    yield intercomConfirm(this, {\n      title: 'Remove from the App Store?',\n      confirmButtonText: 'Remove listing',\n      cancleButtonText: 'Cancel',\n      body: 'Your app listing will be removed from the Intercom App Store.',\n      primaryButtonType: 'primary-destructive',\n    });\n    try {\n      yield this.appPackage.cancelListing();\n      this.addAnalyticsEvent('unpublished');\n      this.notificationsService.notifyConfirmation('Your listing has been unpublished.');\n    } catch (e) {\n      this.notificationsService.notifyError('There was a problem applying your settings.');\n    }\n  }),\n  actions: {\n    cancelEditAppPackage() {\n      this.appPackage.rollbackAttributes();\n      this.addAnalyticsEvent('cancelled');\n      this.transitionToRoute('apps.app.developer-hub.app-packages.app-package.app-store-listing');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Controller.extend({\n  appService: service(),\n  developerHub: service(),\n\n  categories: readOnly('model'),\n  appPackage: readOnly('developerHub.appPackage'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\n\nexport default Controller.extend({\n  developerHub: service(),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { alias, not, notEmpty, readOnly } from '@ember/object/computed';\nimport { task } from 'ember-concurrency';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  developerHub: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  isOnEdit: alias('developerHub.isOnEditPage'),\n  appPackage: readOnly('developerHub.appPackage'),\n  hasAppStoreListing: notEmpty('appPackage.appStoreListing'),\n  hasError: not('appPackage.changeRequest.appPackageConfig.isNameComplete'),\n\n  isAppPackageConfigInvalid: task(function*() {\n    let { validations } = yield this.get('appPackage.changeRequest.appPackageConfig').validate();\n    return validations.get('isInvalid');\n  }),\n\n  saveAppPackageTask: task(function*() {\n    try {\n      let isInvalid = yield this.isAppPackageConfigInvalid.perform();\n      if (isInvalid) {\n        return;\n      }\n\n      yield this.appPackage.save();\n      this.intercomEventService.trackAnalyticsEvent({\n        object: 'app_package',\n        app_package_id: this.get('appPackage.id'),\n        app_metadata: this.get('appPackage.changeRequest'),\n        action: 'saved',\n      });\n      this.transitionToRoute('apps.app.developer-hub.app-packages.app-package.basic-info');\n    } catch (e) {\n      this.notificationsService.notifyError('There was a problem applying your changes.');\n    }\n  }),\n\n  deleteAppPackageTask: task(function*() {\n    yield intercomConfirm(this, {\n      title: 'Delete this app?',\n      confirmButtonText: 'Delete',\n      primaryButtonType: 'primary-destructive',\n      body:\n        'Deleting an app is permanent. App will be uninstalled on all workspaces that are using it and all tokens issued for this app will be revoked.',\n    });\n\n    try {\n      yield this.appPackage.destroyRecord();\n      this.intercomEventService.trackAnalyticsEvent({\n        object: 'app_package',\n        app_package_id: this.get('appPackage.id'),\n        app_metadata: this.get('appPackage.changeRequest'),\n        action: 'deleted',\n      });\n      this.notificationsService.notifyConfirmation('Your app has been deleted.');\n      this.transitionToRoute('apps.app.developer-hub');\n    } catch (e) {\n      this.notificationsService.notifyError('There was a problem deleting your app.');\n    }\n  }),\n\n  actions: {\n    cancelEditAppPackage() {\n      this.appPackage.rollbackAttributes();\n      this.transitionToRoute('apps.app.developer-hub.app-packages.app-package.basic-info');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\n\nexport default Controller.extend({\n  developerHub: service(),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { alias } from '@ember/object/computed';\n\nexport default Controller.extend({\n  notificationsService: service(),\n  developerHub: service(),\n  appPackage: alias('developerHub.appPackage'),\n  updateApiVersion: task(function*(selectedApiVersion) {\n    try {\n      this.set('appPackage.apiVersion', selectedApiVersion);\n      yield this.appPackage.updateApiVersion();\n      this.send('refreshRoute');\n      this.notificationsService.notifyConfirmation(\n        'API Version for your app was successfully updated.',\n      );\n    } catch (error) {\n      this.notificationsService.notifyError('There was a problem setting your API Version.');\n      this.appPackage.rollbackAttributes();\n    }\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Controller.extend({\n  developerHub: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  appPackage: readOnly('developerHub.appPackage'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { task } from 'ember-concurrency';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  developerHub: service(),\n  appPackage: readOnly('developerHub.appPackage'),\n\n  startingGuideConfig: null,\n  addAnalyticsEvent() {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'app_package',\n      section: 'getting_started_guide',\n      app_package_id: this.appPackage.id,\n      app_metadata: this.appPackage.changeRequest,\n      place: 'developer_hub',\n      action: 'save',\n    });\n  },\n\n  saveGettingStartedGuide: task(function*() {\n    this.appPackage.changeRequest.appPackageConfig.startingGuide = this.startingGuideConfig;\n    try {\n      yield this.appPackage.save();\n      this.addAnalyticsEvent();\n      this.notificationsService.notifyConfirmation('Your changes were saved successfully');\n    } catch (e) {\n      this.notificationsService.notifyError('There was a problem applying your changes');\n    }\n  }),\n\n  actions: {\n    onUpdate(newStartingGuide) {\n      this.set('startingGuideConfig', newStartingGuide);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport { findByProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport { computed } from '@ember/object';\nimport { oneWay, readOnly } from '@ember/object/computed';\nimport partnerFlag from 'embercom/lib/developer-hub/partner-flag';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\n\nexport default Controller.extend(IntercomModal, {\n  intercomEventService: service(),\n  notificationsService: service(),\n  appService: service(),\n  store: service(),\n  currentAdmin: readOnly('appService.app.currentAdmin'),\n  partnerFlag,\n\n  selectedWorkspaceId: oneWay('model.apps.firstObject.id'),\n  selectedWorkspace: findByProperty('model.apps', 'id', 'selectedWorkspaceId'),\n  appIntent: partnerFlag.internalIntent,\n  isCloseActionDisabled: readOnly('createAppPackage.isRunning'),\n\n  workspaceDropdownItems: computed('model.apps', 'selectedWorkspaceId', function() {\n    return this.get('model.apps').map(workspace => ({\n      text: workspace.get('name'),\n      value: workspace.get('id'),\n      isSelected: workspace.get('id') === this.selectedWorkspaceId,\n    }));\n  }),\n\n  hasAppPackageNameError: false,\n  isCreatingNewDeveloperWorkspace: false,\n\n  resetProperties() {\n    this.setProperties({\n      appPackageName: undefined,\n      newDeveloperWorkspaceName: undefined,\n      hasAppPackageNameError: false,\n      isCreatingNewDeveloperWorkspace: false,\n      appIntent: partnerFlag.internalIntent,\n    });\n  },\n\n  createAppPackage: task(function*() {\n    if (this.isCreatingNewDeveloperWorkspace) {\n      let developerWorkspace = yield this.createNewDeveloperWorkspaceTask.perform();\n      this.set('selectedWorkspaceId', developerWorkspace.get('id'));\n      this.set('isCreatingNewDeveloperWorkspace', false);\n    }\n\n    let appPackage = this.store.createRecord('developer-hub/app-package', {\n      ownerAppId: this.selectedWorkspaceId,\n      name: this.appPackageName,\n      appIntent: this.appIntent,\n    });\n\n    let nameErrors = appPackage.get('nameErrors');\n    if (nameErrors.length) {\n      this.set('appPackageNameErrors', nameErrors);\n      appPackage.unloadRecord();\n\n      return;\n    }\n    yield appPackage.save();\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'new_app_package',\n      place: 'developer_hub',\n      action: 'created',\n      owner_workspace_id: appPackage.get('ownerAppId'),\n    });\n\n    this.resetProperties();\n    this.send('closeModal');\n\n    this.transitionToRoute(\n      'apps.app.developer-hub.app-packages.app-package.oauth',\n      appPackage.get('ownerAppId'),\n      appPackage,\n    );\n  }),\n\n  createNewDeveloperWorkspaceTask: task(function*() {\n    let developerWorkspace;\n\n    try {\n      developerWorkspace = yield this.store\n        .createRecord('app', {\n          name: this.newDeveloperWorkspaceName,\n          developer_workspace: true,\n        })\n        .save();\n      let normalizedDeveloperWorkspace = this.store.normalize(\n        'developer-hub/app',\n        developerWorkspace,\n      );\n      this.store.push(normalizedDeveloperWorkspace);\n    } catch (e) {\n      this.notificationsService.notifyError('Could not create a new development workspace.');\n      throw e;\n    }\n    let apps = this.currentAdmin.apps.slice(0);\n    apps.push({\n      id: developerWorkspace.id,\n      name: developerWorkspace.name,\n      is_test_app: developerWorkspace.is_test_app,\n      test_app_id: developerWorkspace.test_app_id,\n      active_product_ids: developerWorkspace.active_product_ids,\n    });\n    this.currentAdmin.set('apps', apps);\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'create_dev_workspace',\n      place: 'developer_hub',\n      action: 'clicked',\n      new_workspace_id: developerWorkspace.get('id'),\n    });\n\n    return developerWorkspace;\n  }),\n\n  actions: {\n    close() {\n      if (this.isCloseActionDisabled) {\n        return;\n      }\n      this.intercomEventService.trackAnalyticsEvent({\n        object: 'app_creation',\n        place: 'developer_hub',\n        action: 'cancelled',\n      });\n      this.resetProperties();\n      this.send('closeModal');\n    },\n    toggleCreateNewDeveloperWorkspace() {\n      this.toggleProperty('isCreatingNewDeveloperWorkspace');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { alias } from '@ember/object/computed';\nimport { task } from 'ember-concurrency';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  developerHub: service(),\n  appPackage: alias('developerHub.appPackage'),\n  isOnEdit: alias('developerHub.isOnEditPage'),\n  changeRequestOauthClient: alias('appPackage.changeRequest.appPackageConfig.oauthClient'),\n  _setRedirectUrls() {\n    if (!this.get('changeRequestOauthClient.useOAuthFlow')) {\n      this.setProperties({\n        'changeRequestOauthClient.redirectUrls': [],\n      });\n    } else {\n      this.setProperties({\n        'changeRequestOauthClient.redirectUrls': this.get('changeRequestOauthClient.redirectUrls'),\n      });\n    }\n  },\n  addAnalyticsEvent(action) {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'app_package',\n      app_package_id: this.get('appPackage.id'),\n      app_metadata: this.get('appPackage.changeRequest'),\n      action,\n    });\n  },\n\n  isOAuthClientInvalid: task(function*() {\n    let { validations } = yield this.get(\n      'appPackage.changeRequest.appPackageConfig.oauthClient',\n    ).validate();\n    return validations.get('isInvalid');\n  }),\n\n  saveAppPackageTask: task(function*() {\n    try {\n      let isInvalid = yield this.isOAuthClientInvalid.perform();\n      if (isInvalid) {\n        return;\n      }\n\n      this._setRedirectUrls();\n      yield this.appPackage.save();\n      yield this.store.queryRecord('developer-hub/app-package-install', {\n        app_package_id: this.get('appPackage.id'),\n        only_owner_app: true,\n      });\n      this.addAnalyticsEvent('saved');\n      this.transitionToRoute('apps.app.developer-hub.app-packages.app-package.oauth');\n    } catch (e) {\n      this.notificationsService.notifyError('There was a problem saving your changes.');\n    }\n  }),\n  cancelEditAppPackage() {\n    this.appPackage.rollbackAttributes();\n    this.addAnalyticsEvent('cancelled');\n    this.transitionToRoute('apps.app.developer-hub.app-packages.app-package.oauth');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\n\nexport default Controller.extend({\n  developerHub: service(),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\n\nexport default Controller.extend({\n  developerHub: service(),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport Range from 'embercom/models/reporting/range';\n\nexport default class InstallsAndUninstalls extends Controller {\n  @service appService;\n  @tracked range = this.getDefaultRange();\n\n  getDefaultRange() {\n    let { timezone } = this.appService.app;\n    let range = Range.createFromPreset('past_4_weeks', timezone);\n    return range;\n  }\n\n  @action\n  updateRange(range) {\n    // We need to clone the range to ensure DidChangeAttributes triggers a change in the FetchReport component\n    let { start, end, timezone } = range;\n    this.range = new Range(start, end, timezone);\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { alias, bool } from '@ember/object/computed';\nimport { computed, action } from '@ember/object';\nimport { task } from 'ember-concurrency';\nimport reviewStateMachine from 'embercom/lib/developer-hub/review-state-machine';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  developerHub: service(),\n  appPackage: alias('developerHub.appPackage'),\n  isOnEdit: alias('developerHub.isOnEditPage'),\n  showEditButton: bool('appPackage.changeRequest.appPackageConfig.oauthClient.useOAuthFlow'),\n  showDiscardButton: computed(\n    'appPackage',\n    'appPackage.changeRequest',\n    'appPackage.changeRequest.appPackageConfig',\n    function() {\n      let reviewState = reviewStateMachine(this.appPackage);\n      return reviewState.displayDiscardButton;\n    },\n  ),\n  isPublicApp: alias('developerHub.isPublicApp'),\n  isOauthClienthasChanged: alias('developerHub.oauthClientHasChanges'),\n  addAnalyticsEvent(action) {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'app_package',\n      app_package_id: this.get('appPackage.id'),\n      app_metadata: this.get('appPackage.changeRequest'),\n      action,\n    });\n  },\n\n  discardChangesTask: task(function*() {\n    yield intercomConfirm(this, {\n      title: 'Discard changes?',\n      confirmButtonText: 'Discard',\n      cancleButtonText: 'Cancel',\n      body: 'Discarding changes will withdraw your app from the review process.',\n      primaryButtonType: 'primary-destructive',\n    });\n    try {\n      yield this.appPackage.cancelReview();\n      this.addAnalyticsEvent('discard_changes');\n      this.transitionToRoute('apps.app.developer-hub.app-packages.app-package.basic-info');\n    } catch (e) {\n      this.notificationsService.notifyError('There was a problem');\n    }\n  }),\n\n  isChangeRequestInvalid: task(function*() {\n    let { validations } = yield this.get('appPackage.changeRequest').validate();\n    if (this.isPublicApp && !this.isOauthClienthasChanged) {\n      return this.get('appPackage.changeRequest.validations.attrs.description.isInvalid');\n    } else {\n      return validations.get('isInvalid');\n    }\n  }),\n\n  submitReviewTask: task(function*() {\n    try {\n      let isInvalid = yield this.isChangeRequestInvalid.perform();\n      if (isInvalid) {\n        return;\n      }\n\n      yield this.appPackage.submitReview();\n      this.addAnalyticsEvent('submitted');\n      this.notificationsService.notifyConfirmation(\n        'Your app review has been submitted to Intercom.',\n      );\n      this.transitionToRoute('apps.app.developer-hub.app-packages.app-package.review');\n    } catch (e) {\n      this.notificationsService.notifyError('There was a problem submitting your review.');\n    }\n  }),\n  clickLearnMoreLink: action(function(event) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'more_about_publishing_apps_link',\n      place: 'developer_hub',\n      section: 'submit_for_review',\n    });\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { alias, readOnly } from '@ember/object/computed';\nimport { task } from 'ember-concurrency';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  developerHub: service(),\n  notificationsService: service(),\n  appPackage: readOnly('developerHub.appPackage'),\n  isOnEdit: alias('developerHub.isOnEditPage'),\n  addAnalyticsEvent(action, ping_outcome) {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'app_package',\n      app_package_id: this.appPackage.id,\n      app_metadata: this.appPackage.webhookDefinition.topics,\n      action,\n      ping_outcome,\n    });\n  },\n\n  isWebhookDefinitionInvalid: task(function*() {\n    let { validations } = yield this.get('appPackage.webhookDefinition').validate();\n    return (\n      validations.get('isInvalid') || this.get('appPackage.webhookDefinition.missingRequiredScopes')\n    );\n  }),\n  saveWebhookTask: task(function*() {\n    try {\n      let isInvalid = yield this.isWebhookDefinitionInvalid.perform();\n      if (isInvalid) {\n        return;\n      }\n\n      yield this.appPackage.updateWebhooks();\n      this.transitionToRoute('apps.app.developer-hub.app-packages.app-package.webhooks');\n    } catch (e) {\n      let statusCode = e.jqXHR.statusCode;\n      if (statusCode >= 400 && statusCode < 500) {\n        let errorText = e.jqXHR.responseText;\n        return this.notificationsService.notifyError(errorText);\n      }\n      this.notificationsService.notifyError('There was a problem applying your changes.');\n      return;\n    }\n    try {\n      yield this.appPackage.pingWebhookDefinition();\n      this.addAnalyticsEvent('saved', 'success');\n      this.notificationsService.notifyConfirmation(\n        'Your webhook settings were successfully updated and a test request was sent successfully',\n      );\n    } catch (e) {\n      this.addAnalyticsEvent('saved', 'failed');\n      this.notificationsService.notifyError(\n        'Test request unsuccessful. Ensure the URL is correct and check for errors.',\n      );\n    }\n  }),\n\n  actions: {\n    cancelEdit() {\n      this.appPackage.rollbackAttributes();\n      this.addAnalyticsEvent('cancelled');\n      this.transitionToRoute('apps.app.developer-hub.app-packages.app-package.webhooks');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { alias } from '@ember/object/computed';\n\nexport default Controller.extend({\n  developerHub: service(),\n  appPackage: alias('developerHub.appPackage'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { alias } from '@ember/object/computed';\nimport { task } from 'ember-concurrency';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  developerHub: service(),\n  appPackage: alias('developerHub.appPackage'),\n  addAnalyticsEvent(ping_outcome) {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'app_package',\n      app_package_id: this.appPackage.id,\n      action: 'pinged',\n      ping_outcome,\n    });\n  },\n\n  sendPing: task(function*() {\n    try {\n      yield this.appPackage.pingWebhookDefinition();\n      this.addAnalyticsEvent('success');\n      this.notificationsService.notifyConfirmation('Test request sent successfully');\n    } catch (e) {\n      this.addAnalyticsEvent('failed');\n      this.notificationsService.notifyError(\n        'Test request unsuccessful. Ensure the URL is correct and check for errors.',\n      );\n    }\n  }).drop(),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class DevHubIndex extends Controller {\n  @service appService;\n  @tracked app = this.appService.app;\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\n\nexport default Controller.extend({});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport {\n  senderTypes,\n  emailTemplateTypes,\n  premadeTemplates,\n} from 'embercom/models/data/outbound/constants';\nimport { inject as service } from '@ember/service';\nimport shuffle from '@intercom/embercom-core/lib/shuffle';\n\nexport default class AppsAppEmailEditorDemoController extends Controller {\n  @service appService;\n  isEditing = true;\n\n  @action setTemplate(templateName, templateType) {\n    this.model.emailTemplateType = emailTemplateTypes[templateType];\n    if (templateName) {\n      this.model.emailTemplateId = premadeTemplates[templateName];\n    } else {\n      this.model.emailTemplateId = shuffle(\n        this.appService.app.email_templates.toArray().filterBy('isCustom'),\n      ).firstObject.id;\n    }\n  }\n\n  @action changeToCustomEmailSender() {\n    this.model.senderType = senderTypes.customEmailAddress;\n    this.model.senderId = shuffle(\n      this.appService.app.customEmailAddresses.toArray(),\n    ).firstObject.id;\n  }\n\n  @action changeToAdminSender() {\n    this.model.senderType = senderTypes.admin;\n    this.model.senderId = this.appService.app.currentAdmin.id;\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { alias } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nexport default Controller.extend({\n  appController: controller('apps/app'),\n  app: alias('appController.model'),\n  indexController: controller('apps.app.feed.index'),\n\n  // We can't share a query param between controllers, so alias to index\n  showing: alias('indexController.showing'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nexport default Controller.extend({\n  conversation: alias('model'),\n  appController: controller('apps/app'),\n  app: alias('appController.model'),\n  admin: alias('appController.admin'),\n\n  queryParams: ['redirectTo'],\n  // Do not set this to 'feed' or else the URL will not reflect it\n  redirectTo: null,\n\n  breadcrumbs: computed('app', function() {\n    return [\n      {\n        text: 'Conversations',\n        route: 'apps.app.feed',\n        model: this.app,\n      },\n    ];\n  }),\n\n  // TO DO\n  isSaving: false,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-side-effects */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { schedule } from '@ember/runloop';\nimport { computed } from '@ember/object';\nimport { alias, readOnly, gt } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { applyFunction } from '@intercom/embercom-core/lib/computed-properties';\nimport { truncatedNumberFormatter } from 'embercom/lib/number-formatter';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  identityVerificationRiskStateService: service(),\n  appController: controller('apps/app'),\n  app: alias('appController.model'),\n  admin: alias('appController.admin'),\n  queryParams: ['showing'],\n\n  updatedConversationCount: alias('pendingConversations.length'),\n  todayIsShowing: false,\n  showing: undefined,\n  openedCount: 0,\n  closedCount: 0,\n  snoozedCount: 0,\n\n  conversationsTotalCount: computed('openedCount', 'closedCount', 'snoozedCount', 'showing', {\n    get() {\n      return this.get(`${this.showing}Count`);\n    },\n\n    set(_, value) {\n      return this.set(`${this.showing}Count`, value);\n    },\n  }),\n\n  messengerInstalled: readOnly('app.hasAnyInstalledAtDate'),\n  hasConversations: gt('conversations.length', 0),\n\n  stateDropdownTitle: computed('showing', function() {\n    if (this.showing === 'opened') {\n      return 'Open';\n    } else if (this.showing === 'snoozed') {\n      return 'Snoozed';\n    }\n\n    return 'Closed';\n  }),\n\n  formattedConversationsTotalCount: applyFunction(\n    truncatedNumberFormatter,\n    'conversationsTotalCount',\n  ),\n\n  showIdentityVerificationWarning: computed(\n    'identityVerificationRiskStateService.shouldShowLowNotification',\n    function() {\n      let shouldShow = this.get('identityVerificationRiskStateService.shouldShowLowNotification');\n\n      if (shouldShow) {\n        this.send('trackIdentityVerificationNotificationEvent', {\n          action: 'viewed',\n          object: 'banner',\n        });\n      }\n      return shouldShow;\n    },\n  ),\n\n  hideRepeatedDays() {\n    schedule('afterRender', this, () => {\n      let previousDaysAgo = -1;\n      let currentDaysAgo = 0;\n      $('.js__feed__date-ago-header')\n        .toArray()\n        .forEach(item => {\n          currentDaysAgo = parseInt($(item).attr('data-days-ago'), 10);\n          if (previousDaysAgo === currentDaysAgo) {\n            $(item).hide();\n          } else {\n            $(item).show();\n          }\n          previousDaysAgo = currentDaysAgo;\n        });\n    });\n  },\n\n  contractConversations() {\n    this.conversations.setEach('isExpanded', false);\n  },\n\n  actions: {\n    changeStatus(status) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'viewed',\n        object: 'inbox',\n        context: `filtered_by_${status}`,\n      });\n      this.set('showing', status);\n    },\n\n    prependUpdates() {\n      this.send('prependUpdatedConversations');\n    },\n\n    redirectToIdentityVerification() {\n      this.send('trackIdentityVerificationNotificationEvent', {\n        action: 'clicked',\n        object: 'banner',\n      });\n      this.transitionToRoute('apps.app.settings.identity-verification');\n    },\n\n    trackIdentityVerificationNotificationEvent(data) {\n      this.intercomEventService.trackEvent(`identity-verification-notification-${data.action}`, {\n        action: data.action,\n        object: data.object,\n        place: 'platform_conversations',\n        owner: 'growth',\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Controller.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  numberOfSteps: 2,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\nimport IntentSurveyControllerBase from 'embercom/controllers/apps/app/get-started/base/intent-survey-controller-base';\nimport { action, computed } from '@ember/object';\nimport { readOnly, filterBy } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport shuffle from '@intercom/embercom-core/lib/shuffle';\n\nexport default IntentSurveyControllerBase.extend({\n  activeStep: 2,\n  media: service(),\n  mobileDevice: readOnly('media.isMobile'),\n  buttonLabel: ternary('mobileDevice', 'Done', 'See your onboarding guide'),\n  nextPage: action(function() {\n    this.mobileDevice\n      ? this.transitionToRoute('apps.app.mobile-welcome', this.app)\n      : this.transitionToRoute(this.app.onboardingHomeRoute);\n  }),\n\n  appService: service(),\n  useCaseData: readOnly('model.useCaseData'),\n  buyerPersonaData: readOnly('model.buyerPersonaData'),\n  selectedUseCases: filterBy('useCaseData', 'selected', true),\n  hasOnlySelectedNotSure: computed('selectedUseCases.[]', function() {\n    return (\n      this.selectedUseCases.length === 1 &&\n      this.selectedUseCases.find(({ id }) => id === 'not_sure')\n    );\n  }),\n  surveyOptionsForAllUseCases: filterBy('buyerPersonaData', 'useCase'),\n  surveyOptionsForSelectedUseCases: computed('selectedUseCases.[]', 'buyerPersonaData', function() {\n    return this.selectedUseCases.flatMap(({ id }) =>\n      this.buyerPersonaData.filter(({ useCase }) => useCase === id),\n    );\n  }),\n  companySizesUnder50: ['1-4', '5-9', '10-49'],\n  shouldShowStoreCustomerData: computed('app.company_size', 'selectedUseCases.[]', function() {\n    return (\n      this.companySizesUnder50.includes(this.app.company_size) && this.selectedUseCases.length > 1\n    );\n  }),\n\n  surveyOptions: computed(\n    'hasOnlySelectedNotSure',\n    'surveyOptionsForAllUseCases',\n    'surveyOptionsForSelectedUseCases.[]',\n    'shouldShowStoreCustomerData',\n    'buyerPersonaData',\n    function() {\n      let options = this.hasOnlySelectedNotSure\n        ? this.surveyOptionsForAllUseCases\n        : this.surveyOptionsForSelectedUseCases;\n      if (this.shouldShowStoreCustomerData) {\n        options = options.concat(\n          this.buyerPersonaData.filter(({ id }) => id === 'store_customer_data'),\n        );\n      }\n      return shuffle(options).concat(this.buyerPersonaData.filter(({ id }) => id === 'other'));\n    },\n  ),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport IntentSurveyControllerBase from 'embercom/controllers/apps/app/get-started/base/intent-survey-controller-base';\nimport { readOnly } from '@ember/object/computed';\nimport { action } from '@ember/object';\n\nexport default IntentSurveyControllerBase.extend({\n  currentAdmin: readOnly('appService.app.currentAdmin'),\n  buttonLabel: `Let's go!`,\n  icon: '/assets/images/onboarding/intent-survey/party_icon.png',\n  icon2x: '/assets/images/onboarding/intent-survey/party_icon@2x.png',\n\n  nextPage: action(function() {\n    this.transitionToRoute('apps.app.get-started.use-case');\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport IntentSurveyControllerBase from 'embercom/controllers/apps/app/get-started/base/intent-survey-controller-base';\nimport { action, computed } from '@ember/object';\nimport { post } from 'embercom/lib/ajax';\nimport shuffle from '@intercom/embercom-core/lib/shuffle';\n\nexport default IntentSurveyControllerBase.extend({\n  activeStep: 1,\n  buttonLabel: 'Next',\n\n  nextPage: action(function() {\n    this.transitionToRoute('apps.app.get-started.buyer-persona');\n  }),\n\n  onRecordResponse: action(function(options) {\n    post('/ember/onboarding/intent_survey_response', {\n      app_id: this.app.id,\n      use_cases: options.mapBy('id'),\n    });\n  }),\n\n  surveyOptions: computed('model', function() {\n    return shuffle(this.model.reject(({ id }) => id === 'not_sure')).concat(\n      this.model.filter(({ id }) => id === 'not_sure'),\n    );\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nexport default Controller.extend({});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { computed, action } from '@ember/object';\nimport { task } from 'ember-concurrency';\nimport ajax, { put } from 'embercom/lib/ajax';\nimport FOOTER_CONTENT from 'embercom/lib/home/guide-footer-content';\nimport { ALL_OF_INTERCOM, ALL_OF_INTERCOM_VBP, ONBOARD_AND_ENGAGE } from 'embercom/lib/home/guides';\n\nconst ALL_OF_INTERCOM_GUIDE_IDENTIFIERS = [ALL_OF_INTERCOM, ALL_OF_INTERCOM_VBP];\n\nexport default Controller.extend({\n  appService: service(),\n  intercomEventService: service(),\n  app: readOnly('appService.app'),\n  queryParams: ['app_package_code'],\n  app_package_code: null,\n\n  initiallyOpenStep: null,\n  resetModalOpen: false,\n\n  guideIdentifier: readOnly('model.id'),\n\n  guideIsAllOfIntercom: computed('guideIdentifier', function() {\n    return ALL_OF_INTERCOM_GUIDE_IDENTIFIERS.includes(this.guideIdentifier);\n  }),\n\n  guideIsDefault: readOnly('guideIsAllOfIntercom'),\n  shouldShowEscapeHatch: computed('guideIsDefault', 'model.forceAllGuide', function() {\n    return this.model.forceAllGuide || !this.guideIsDefault;\n  }),\n\n  footerContent: computed('guideIdentifier', function() {\n    return FOOTER_CONTENT[this.guideIdentifier];\n  }),\n\n  isOnboardAndEngage: computed('guideIdentifier', function() {\n    return this.guideIdentifier === ONBOARD_AND_ENGAGE;\n  }),\n\n  resetOnboardingHome: task(function*() {\n    if (confirm('Are you sure you want to reset your onboarding home guide?')) {\n      yield ajax({\n        url: '/ember/onboarding/home/guide/reset',\n        type: 'POST',\n        data: JSON.stringify({\n          app_id: this.get('app.id'),\n        }),\n      }).then(() => {\n        window.location.reload();\n      });\n    }\n  }),\n\n  trackFooterVideoAnalyticsEvent: action(function() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'video_link',\n      section: 'footer',\n      context: this.model.id,\n    });\n  }),\n\n  setForceAllGuide: task(function*(force, ev) {\n    ev.preventDefault();\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'escape_hatch',\n      section: 'footer',\n      context: this.model.id,\n      force_all_guide: force,\n    });\n    yield put('ember/onboarding/home/guide_assignments', {\n      app_id: this.app.id,\n      force_all_guide: force,\n    }).then(() => window.location.reload());\n  }),\n\n  actions: {\n    setAppPackage(appPackage) {\n      this.set('selectedAppPackage', appPackage);\n      this.set('app_package_code', appPackage.id);\n    },\n\n    clearAppPackage() {\n      this.set('selectedAppPackage', null);\n      this.set('app_package_code', null);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nexport default Controller.extend({\n  steps: [\n    { number: 1, name: 'Upload CSV' },\n    { number: 2, name: 'Map attributes' },\n    { number: 3, name: 'Tag' },\n    { number: 4, name: 'Import' },\n  ],\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\nimport { capitalize } from '@ember/string';\nimport { observer } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { reads, gt } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { applyFunction, fmtStyle } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  csvController: controller('apps.app.import.csv'),\n  appController: controller('apps.app'),\n  app: reads('appController.model'),\n  importing: gt('userCreateProgress', 0),\n  importComplete: false,\n  userCreateProgress: 0,\n  usersOrLeads: reads('model.recordType'),\n  capitalizedRecordType: applyFunction(capitalize, 'usersOrLeads'),\n  hasNoCustomTag: true,\n  userListUrl: null,\n  shouldShowImportSummary: false,\n  showLeadsMerged: gt('leadsMerged', 0),\n  shouldCombineCreatedOrUpdatedCounts: gt('peopleCreatedOrUpdated', 0),\n  realTimeEventService: service(),\n  progressWidth: fmtStyle('width: %@%', 'userCreateProgress'),\n\n  init() {\n    this._super(...arguments);\n    this.realTimeEventService.subscribeTopics(['csv-import-user-create-progress']);\n    this.realTimeEventService.on(\n      'CsvImportUserCreateProgress',\n      this,\n      'onCsvImportUserCreateProgress',\n    );\n  },\n\n  willDestroy() {\n    this.realTimeEventService.off(\n      'CsvImportUserCreateProgress',\n      this,\n      'onCsvImportUserCreateProgress',\n    );\n    this.realTimeEventService.unsubscribeTopics(['csv-import-user-create-progress']);\n    this._super(...arguments);\n  },\n\n  onCsvImportUserCreateProgress(data) {\n    let csvImport = this.model;\n    if (parseInt(csvImport.get('id'), 10) !== data.id) {\n      return;\n    }\n    if (this.userCreateProgress > data.progress) {\n      return;\n    }\n    this.set('taggableId', data.id);\n    this.set('userCreateProgress', parseInt(data.progress, 10));\n\n    if (data.complete) {\n      this.model.reload();\n    }\n  },\n\n  updateImportSummary: observer({\n    dependentKeys: ['model.importSummary'],\n\n    fn() {\n      if (this.get('model.importSummary')) {\n        let csvImport = this.model;\n        let importType = this.get('model.recordType');\n        this.set('leadsMerged', csvImport.get('importSummary').leads_merged);\n        if (importType === 'users') {\n          this.set('peopleCreated', csvImport.get('importSummary').users_created);\n          this.set('peopleUpdated', csvImport.get('importSummary').users_updated);\n          this.set(\n            'peopleCreatedOrUpdated',\n            parseInt(csvImport.get('importSummary').users_created_or_updated, 10),\n          );\n        } else {\n          this.set('peopleCreated', csvImport.get('importSummary').leads_created);\n          this.set('peopleUpdated', csvImport.get('importSummary').leads_updated);\n          this.set(\n            'peopleCreatedOrUpdated',\n            parseInt(csvImport.get('importSummary').leads_created_or_updated, 10),\n          );\n        }\n        this.set('importComplete', true);\n        this.csvController.set('currentStep', 5);\n      }\n    },\n\n    sync: true,\n  }),\n\n  actions: {\n    toggleImportSummary() {\n      this.toggleProperty('shouldShowImportSummary');\n    },\n    finish(shouldTransitionToSummary) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'csv-import-finished',\n        object: 'csv-import',\n      });\n\n      if (window.opener) {\n        window.opener.importSuccessful = true;\n        if (shouldTransitionToSummary) {\n          window.opener.shouldTransitionToSummary = true;\n        }\n        window.close();\n      }\n    },\n    openTaggingModal(controller, model, options) {\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', controller, model, options);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  appController: controller('apps.app'),\n  app: alias('appController.model'),\n  recordType: 'users',\n  file: null,\n  numberOfOpenCsvImportsForApp: computed('model', function() {\n    return this.model.filter(currentImport => {\n      return (\n        currentImport.get('importStatus') !== 'Complete' &&\n        currentImport.get('importStatus') !== 'Failed'\n      );\n    }).length;\n  }),\n  csvWarningText: computed('numberOfOpenCsvImportsForApp', function() {\n    return this.numberOfOpenCsvImportsForApp > 1\n      ? `There are ${this.numberOfOpenCsvImportsForApp} csv imports currently being processed for this app. We recommend waiting until they have finished before uploading more files.`\n      : 'There is 1 csv import currently being processed for this app. We recommend waiting until it has finished before uploading more files.';\n  }),\n\n  uploadFile() {\n    let formData = new FormData();\n    formData.append('app_id', this.get('app.id'));\n    formData.append('csv_import[file]', this.file);\n    formData.append('csv_import[record_type]', this.recordType);\n\n    return ajax({\n      url: '/ember/csv_imports',\n      method: 'POST',\n      data: formData,\n      contentType: false,\n      processData: false,\n    });\n  },\n\n  upload: task(function*() {\n    try {\n      let uploadedModel = yield this.uploadFile();\n      if (uploadedModel) {\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'csv-file-uploaded',\n          object: 'csv-import',\n        });\n        this.store.pushPayload('csv-import', {\n          'csv-import': uploadedModel,\n        });\n        let model = this.store.peekRecord('csv-import', uploadedModel.id);\n        this.transitionToRoute('apps.app.import.csv.mapping', model);\n      }\n    } catch (error) {\n      this.notificationsService.notifyError(error.jqXHR.responseJSON.error);\n      this.set('fileFailedToUpload', true);\n    }\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport { alias, bool, filterBy } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  appController: controller('apps/app'),\n  app: alias('appController.model'),\n  isCurrentlyMappingColumn: false,\n  csvController: controller('apps.app.import.csv'),\n  numberOfSkippedColumns: computed('attributeMappings.@each.columnIndex', function() {\n    return this.attributeMappings.filter(function(attributeMapping) {\n      return attributeMapping.columnIndex === null;\n    }).length;\n  }),\n  numberOfMappedAttributes: computed('attributeMappings.@each.columnIndex', function() {\n    return this.attributeMappings.filter(function(attributeMapping) {\n      return attributeMapping.columnIndex !== undefined;\n    }).length;\n  }),\n  hasNoMoreColumnsToMap: computed(\n    'model.previewColumns',\n    'numberOfSkippedColumns',\n    'numberOfMappedAttributes',\n    function() {\n      return (\n        this.get('model.previewColumns').length +\n          this.numberOfSkippedColumns -\n          this.numberOfMappedAttributes <=\n        0\n      );\n    },\n  ),\n\n  finishedMapping: false,\n\n  currentAttributeMapping: computed('predefinedAttributeMappings.@each.columnIndex', function() {\n    let attributeMappings = this.predefinedAttributeMappings;\n\n    return attributeMappings.find(function(attributeMapping) {\n      return attributeMapping.columnIndex === undefined;\n    });\n  }),\n\n  currentAttributeMappingIsRequired: bool('currentAttributeMapping.require'),\n\n  previousAttributeMapping: computed(\n    'currentAttributeMapping',\n    'attributeMappings.@each.columnIndex',\n    function() {\n      let currentAttributeMapping = this.currentAttributeMapping;\n      let attributeMappings = this.attributeMappings;\n\n      if (currentAttributeMapping) {\n        let currentAttributeMappingIndex = attributeMappings.indexOf(currentAttributeMapping);\n\n        return attributeMappings[currentAttributeMappingIndex - 1];\n      } else {\n        return attributeMappings.get('lastObject');\n      }\n    },\n  ),\n\n  previousAttributeMappingIsPredefined: bool('previousAttributeMapping.predefined'),\n\n  currentAttributeMappingNumber: computed(\n    'currentAttributeMapping',\n    'predefinedAttributeMappings',\n    'totalNumberOfAttributesToMap',\n    function() {\n      if (this.allPredefinedAttributesMapped) {\n        return this.totalNumberOfAttributesToMap;\n      } else {\n        return this.predefinedAttributeMappings.indexOf(this.currentAttributeMapping) + 1;\n      }\n    },\n  ),\n\n  totalNumberOfAttributesToMap: computed('predefinedAttributeMappings', function() {\n    return this.predefinedAttributeMappings.length + 1;\n  }),\n\n  allPredefinedAttributesMapped: computed(\n    'predefinedAttributeMappings.@each.columnIndex',\n    function() {\n      return this.predefinedAttributeMappings.every(function(attributeMapping) {\n        return attributeMapping.columnIndex !== undefined;\n      });\n    },\n  ),\n\n  predefinedAttributeMappings: filterBy('attributeMappings', 'predefined', true),\n\n  customAttributes: computed('app.attributes', 'attributeMappings', function() {\n    let identifiers = this.attributeMappings.mapBy('name');\n\n    let attributes = [];\n    this.get('app.attributes').forEach(function(attribute) {\n      if (!attribute.get('displayable')) {\n        return;\n      }\n\n      if (!attribute.get('isUserCustomData')) {\n        return;\n      }\n\n      if (identifiers.indexOf(attribute.get('identifier')) > -1) {\n        return;\n      }\n\n      attributes.push(attribute);\n    });\n\n    return attributes;\n  }),\n\n  // Could increase performance issues w/ larger CSVs\n  hasHeader: alias('model.hasHeader'),\n\n  attributeMappings: computed('model.recordType', function() {\n    if (this.get('model.recordType') === 'leads') {\n      return [\n        {\n          name: 'anonymous_email',\n          type: 'String',\n          label: 'Email',\n          icon: 'email',\n          instruction: 'Select the column which contains the emails of your leads',\n          explanation: 'Every lead imported into Intercom must have an email.',\n          columnIndex: undefined,\n          predefined: true,\n          required: true,\n        },\n        {\n          name: 'name',\n          type: 'String',\n          label: 'Full Name',\n          icon: 'multiple-people',\n          instruction: 'Select the column which contains the full names of your leads',\n          explanation: 'Create more personal messages with full names.',\n          columnIndex: undefined,\n          predefined: true,\n        },\n        {\n          name: 'phone',\n          type: 'String',\n          label: 'Phone Number',\n          icon: 'phone',\n          instruction: 'Select the column which contains the phone numbers of your leads',\n          explanation: 'Identify leads by their phone numbers.',\n          columnIndex: undefined,\n          predefined: true,\n        },\n      ];\n    } else {\n      return [\n        {\n          name: 'email',\n          type: 'String',\n          label: 'Email',\n          icon: 'email',\n          instruction: 'Select the column which contains emails of your users',\n          explanation: 'Every user stored in Intercom must have an email.',\n          columnIndex: undefined,\n          predefined: true,\n          required: true,\n        },\n        {\n          name: 'user_id',\n          type: 'String',\n          label: 'User ID',\n          icon: 'multiple-people',\n          instruction: 'Select the column which contains user IDs',\n          explanation: 'Find specific users with unique IDs.',\n          columnIndex: undefined,\n          predefined: true,\n        },\n        {\n          name: 'name',\n          type: 'String',\n          label: 'Full Name',\n          icon: 'multiple-people',\n          instruction: 'Select the column which contains the full names of your users',\n          explanation: 'Create more personal messages with full names.',\n          columnIndex: undefined,\n          predefined: true,\n        },\n        {\n          name: 'created_at',\n          type: 'Date',\n          label: 'Signup Date',\n          icon: 'calendar',\n          instruction: 'Select the column which contains the signup dates of your users',\n          explanation: 'Target segments of users by their signup date.',\n          columnIndex: undefined,\n          predefined: true,\n        },\n        {\n          name: 'phone',\n          type: 'String',\n          label: 'Phone Number',\n          icon: 'phone',\n          instruction: 'Select the column which contains the phone numbers of your users',\n          explanation: 'Identify users by their phone numbers.',\n          columnIndex: undefined,\n          predefined: true,\n        },\n      ];\n    }\n  }),\n\n  updateManualTagName(csvImport) {\n    return csvImport.reload();\n  },\n\n  completeMapping: task(function*() {\n    try {\n      let attributeMappings = this.attributeMappings.filter(attributeMapping => {\n        let columnIndex = attributeMapping.columnIndex;\n        return columnIndex !== undefined && columnIndex !== null;\n      });\n\n      let columnAssignments = attributeMappings.map(attributeMapping => {\n        return {\n          external_user_field: attributeMapping.name,\n          column_index: attributeMapping.columnIndex,\n          data_type: attributeMapping.type,\n        };\n      });\n\n      let params = { csv_import_column_assignments: columnAssignments };\n      let assignments = yield this.model.createColumnAssignments(params);\n\n      if (assignments) {\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'csv-mapping-completed',\n          object: 'csv-import',\n        });\n        this.transitionToRoute('apps.app.import.csv.tag', this.model);\n      }\n    } catch (error) {\n      if (error && error.jqXHR) {\n        this.notificationsService.notifyError(error.jqXHR.responseJSON.error);\n      } else {\n        this.notificationsService.notifyError('Failed to upload column mapppings');\n      }\n    }\n  }),\n\n  actions: {\n    unMapPreviousAttribute() {\n      if (this.previousAttributeMappingIsPredefined) {\n        this.set('previousAttributeMapping.columnIndex', undefined);\n        this.csvController.set('currentStep', 2);\n      } else {\n        this.attributeMappings.removeObject(this.previousAttributeMapping);\n        this.csvController.set('currentStep', 2);\n      }\n    },\n\n    skipMappingAttribute() {\n      this.set('currentAttributeMapping.columnIndex', null);\n    },\n\n    editAttributeMappings() {\n      this.set('finishedMapping', false);\n      this.csvController.set('currentStep', 2);\n    },\n\n    finishMappingAttributes() {\n      this.set('finishedMapping', true);\n      this.csvController.set('currentStep', 2.5);\n    },\n\n    setAttributeMapping(mapping) {\n      if (mapping.label) {\n        this.attributeMappings.pushObject(mapping);\n      } else {\n        this.set('currentAttributeMapping.columnIndex', mapping.columnIndex);\n      }\n\n      if (this.hasNoMoreColumnsToMap) {\n        this.completeMapping.perform();\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller, { inject as controller } from '@ember/controller';\nexport default Controller.extend({\n  intercomEventService: service(),\n  appController: controller('apps.app'),\n  app: reads('appController.model'),\n  usersOrLeads: reads('model.recordType'),\n  actions: {\n    completeImport() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'csv-import-initated',\n        object: 'csv-import',\n      });\n      this.model.createUserCreateJob();\n      this.transitionToRoute('apps.app.import.csv.finish', this.model);\n    },\n    openTaggingModal(controller, model, options) {\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', controller, model, options);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nexport default Controller.extend({\n  steps: [\n    { number: 1, name: 'Connect Mailchimp' },\n    { number: 2, name: 'Choose list' },\n    { number: 3, name: 'Tag' },\n    { number: 4, name: 'Import' },\n  ],\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport { reads, gt } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { applyFunction, fmtStyle } from '@intercom/embercom-core/lib/computed-properties';\nimport { capitalize } from '@ember/string';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  appController: controller('apps.app'),\n  app: reads('appController.model'),\n  mailchimpController: controller('apps.app.import.mailchimp'),\n  importing: gt('userCreateProgress', 0),\n  userCreateProgress: 0,\n  importComplete: false,\n  hasNoCustomTag: true,\n  usersOrLeads: 'users',\n  capitalizedRecordType: applyFunction(capitalize, 'usersOrLeads'),\n  shouldCombineCreatedOrUpdatedCounts: gt('peopleCreatedOrUpdated', 0),\n  shouldShowImportSummary: false,\n  realTimeEventService: service(),\n  progressWidth: fmtStyle('width: %@%', 'userCreateProgress'),\n\n  init() {\n    this._super(...arguments);\n    this.realTimeEventService.subscribeTopics(['mailchimp-import-user-create-progress']);\n    this.realTimeEventService.on(\n      'MailchimpImportUserCreateProgress',\n      this,\n      'onMailchimpImportUserCreateProgress',\n    );\n  },\n\n  willDestroy() {\n    this.realTimeEventService.unsubscribeTopics(['mailchimp-import-user-create-progress']);\n    this.realTimeEventService.off(\n      'MailchimpImportUserCreateProgress',\n      this,\n      'onMailchimpImportUserCreateProgress',\n    );\n    this._super(...arguments);\n  },\n\n  onMailchimpImportUserCreateProgress(data) {\n    let mailchimpImport = this.model;\n    let percentCompleted = parseInt(data.percentComplete, 10);\n\n    if (mailchimpImport.get('listId') !== data.listId) {\n      return;\n    }\n    if (this.userCreateProgress > percentCompleted) {\n      return;\n    }\n\n    this.set('userCreateProgress', percentCompleted);\n    if (percentCompleted === 100) {\n      this.set('mailchimpController.currentStep', 4);\n      this.model.reload().then(() => {\n        if (this.get('model.importSummary')) {\n          let mailchimpImport = this.model;\n          this.set('peopleCreated', mailchimpImport.get('importSummary').users_created);\n          this.set('peopleUpdated', mailchimpImport.get('importSummary').users_updated);\n          this.set(\n            'peopleCreatedOrUpdated',\n            parseInt(mailchimpImport.get('importSummary').users_created_or_updated, 10),\n          );\n          this.set('importComplete', true);\n          this.mailchimpController.set('currentStep', 5);\n        }\n      });\n    }\n  },\n\n  actions: {\n    toggleImportSummary() {\n      this.toggleProperty('shouldShowImportSummary');\n    },\n    finish(shouldTransitionToSummary) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'mailchimp-import-finished',\n        object: 'mailchimp-import',\n      });\n\n      if (window.opener) {\n        window.opener.importSuccessful = true;\n        if (shouldTransitionToSummary) {\n          window.opener.shouldTransitionToSummary = true;\n        }\n        window.close();\n      }\n    },\n    openTaggingModal(controller, model, options) {\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', controller, model, options);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { TEAMMATE_APP_URL } from 'embercom/lib/teammate-app';\nimport Controller from '@ember/controller';\nexport default Controller.extend({\n  intercomEventService: service(),\n  redirectService: service(),\n  appService: service(),\n  mailchimpImport: alias('model.mailchimpImport'),\n  syncingState: alias('model.syncingState'),\n\n  actions: {\n    redirectToOauth() {\n      this.redirectService.redirect(\n        `${TEAMMATE_APP_URL}/mailchimp_sync/install?app_id=${this.appService.app.id}&caller=import`,\n      );\n    },\n\n    transitonToNextPage() {\n      let mailchimpImport = this.mailchimpImport;\n      mailchimpImport.set('accessToken', this.syncingState.access_token);\n\n      mailchimpImport.save().then(() => {\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'mailchimp-authenticated',\n          object: 'mailchimp-import',\n        });\n        this.transitionToRoute('apps.app.import.mailchimp.lists', mailchimpImport);\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { alias, reads } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport MailchimpList from 'embercom/models/mailchimp-list';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  appController: controller('apps.app'),\n  app: alias('appController.model'),\n  importController: controller('apps.app.import.mailchimp'),\n  mailchimpImport: alias('model'),\n  mailchimpList: null,\n  lists: reads('mailchimpImport.lists'),\n  fetchSingleList: task(function*(listID) {\n    try {\n      let list = yield MailchimpList.singleList(\n        this.get('mailchimpImport.secureAccessToken'),\n        listID,\n      );\n      if (list.errorThrown) {\n        throw new Error('Unable to find a list with that ID');\n      } else {\n        this.set('mailchimpList', list);\n        this.set('lists', [list]);\n      }\n    } catch (error) {\n      this.notificationsService.notifyError(error);\n    }\n  }),\n  selectedListID: null,\n\n  actions: {\n    transitionToTag() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'mailchimp-list-selected',\n        object: 'mailchimp-import',\n      });\n      this.set('importController.mailchimpList', this.mailchimpList);\n      this.transitionToRoute('apps.app.import.mailchimp.tag', this.mailchimpImport);\n    },\n    lookupList(listID) {\n      if (listID) {\n        this.fetchSingleList.perform(listID).then(() => {\n          this.set('selectedListID', null);\n        });\n      } else {\n        this.set('lists', this.get('mailchimpImport.lists'));\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { reads } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  appController: controller('apps.app'),\n  app: reads('appController.model'),\n  mailchimpController: controller('apps.app.import.mailchimp'),\n  usersOrLeads: reads('model.recordType'),\n  mailchimpList: null,\n  completeImport: task(function*() {\n    try {\n      this.set('model.listId', this.get('mailchimpController.mailchimpList.id'));\n      this.set('model.userCount', this.get('mailchimpList.stats.member_count'));\n      let mailchimpImport = yield this.model.save();\n      if (mailchimpImport) {\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'mailchimp-import-initiated',\n          object: 'mailchimp-import',\n        });\n        this.transitionToRoute('apps.app.import.mailchimp.finish', mailchimpImport);\n      }\n    } catch (error) {\n      this.notificationsService.notifyError('Something went wrong! Please try again.');\n    }\n  }),\n\n  actions: {\n    openTaggingModal(controller, model, options) {\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', controller, model, options);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nexport default Controller.extend({\n  currentStep: 1,\n\n  steps: [\n    { number: 1, name: 'Connect Mixpanel' },\n    { number: 2, name: 'Instructions' },\n    { number: 3, name: 'Tag' },\n    { number: 4, name: 'Import' },\n  ],\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport { reads, gt } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { capitalize } from '@ember/string';\nimport { applyFunction, fmtStyle } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  appController: controller('apps.app'),\n  app: reads('appController.model'),\n  mixpanelController: controller('apps.app.import.mixpanel'),\n  importing: gt('userCreateProgress', 0),\n  userCreateProgress: 0,\n  importComplete: false,\n  hasNoCustomTag: true,\n  usersOrLeads: 'users',\n  capitalizedRecordType: applyFunction(capitalize, 'usersOrLeads'),\n  shouldCombineCreatedOrUpdatedCounts: gt('peopleCreatedOrUpdated', 0),\n  shouldShowImportSummary: false,\n  realTimeEventService: service(),\n  progressWidth: fmtStyle('width: %@%', 'userCreateProgress'),\n\n  init() {\n    this._super(...arguments);\n    this.realTimeEventService.subscribeTopics(['mixpanel-import-user-create-progress']);\n    this.realTimeEventService.on(\n      'MixpanelImportUserCreateProgress',\n      this,\n      'onMixpanelImportUserCreateProgress',\n    );\n  },\n\n  willDestroy() {\n    this.realTimeEventService.unsubscribeTopics(['mixpanel-import-user-create-progress']);\n    this.realTimeEventService.off(\n      'MixpanelImportUserCreateProgress',\n      this,\n      'onMixpanelImportUserCreateProgress',\n    );\n    this._super(...arguments);\n  },\n\n  onMixpanelImportUserCreateProgress(data) {\n    let percentCompleted = Math.ceil(data.percentComplete);\n    this.set('userCreateProgress', percentCompleted);\n    if (percentCompleted === 100) {\n      this.model.reload().then(() => {\n        if (this.get('model.importSummary')) {\n          let mixpanelImport = this.model;\n          this.set('peopleCreated', mixpanelImport.get('importSummary').users_created);\n          this.set('peopleUpdated', mixpanelImport.get('importSummary').users_updated);\n          this.set(\n            'peopleCreatedOrUpdated',\n            parseInt(mixpanelImport.get('importSummary').users_created_or_updated, 10),\n          );\n          this.set('importComplete', true);\n          this.mixpanelController.set('currentStep', 5);\n        }\n      });\n    }\n  },\n\n  actions: {\n    toggleImportSummary() {\n      this.toggleProperty('shouldShowImportSummary');\n    },\n    finish(shouldTransitionToSummary) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'mailchimp-import-finished',\n        object: 'mailchimp-import',\n      });\n\n      if (window.opener) {\n        window.opener.importSuccessful = true;\n        if (shouldTransitionToSummary) {\n          window.opener.shouldTransitionToSummary = true;\n        }\n        window.close();\n      }\n    },\n    openTaggingModal(controller, model, options) {\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', controller, model, options);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\nexport default Controller.extend({\n  intercomEventService: service(),\n  actions: {\n    transitionToInstructions() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'mailchimp-import-begin-instructions',\n        object: 'mailchimp-import',\n      });\n      this.transitionToRoute('apps.app.import.mixpanel.instructions');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller, { inject as controller } from '@ember/controller';\nexport default Controller.extend({\n  intercomEventService: service(),\n  appController: controller('apps/app'),\n  app: reads('appController.model'),\n\n  actions: {\n    transitionToTag() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'mailchimp-import-authenticated',\n        object: 'mailchimp-import',\n      });\n      let mixpanelImport = this.model;\n\n      this.transitionToRoute('apps.app.import.mixpanel.tag', mixpanelImport);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller, { inject as controller } from '@ember/controller';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  appController: controller('apps.app'),\n  app: reads('appController.model'),\n  usersOrLeads: 'users',\n\n  actions: {\n    completeImport() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'mailchimp-import-initiated',\n        object: 'mailchimp-import',\n      });\n      this.model.completeFor(this.get('app.id')).then(() => {\n        this.transitionToRoute('apps.app.import.mixpanel.finish', this.model);\n      });\n    },\n    openTaggingModal(controller, model, options) {\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', controller, model, options);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { Promise as EmberPromise, resolve } from 'rsvp';\nimport { computed } from '@ember/object';\nimport Controller, { inject as controller } from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport ajax from 'embercom/lib/ajax';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\n\nexport default Controller.extend(IntercomModal, {\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  notificationsService: service(),\n  appController: controller('apps/app'),\n\n  taggable: computed('autoTagName', function() {\n    let promise = new EmberPromise(resolve => {\n      resolve(1);\n    });\n    return {\n      tags: [],\n      taggings: [],\n      saveTags() {\n        return promise;\n      },\n      updateTaggings() {\n        return resolve();\n      },\n    };\n  }),\n\n  url: computed('importType', function() {\n    return `ember/${this.get('options.importType')}_imports/set_tags`;\n  }),\n\n  setTags: task(function*(tagsToAdd, tagsToRemove) {\n    this.set('hasErrored', false);\n    this.set('errorMessage', null);\n\n    let appId = this.get('app.id');\n    let taggableId = this.get('model.id');\n    let autoTagId = this.get('model.manualTagId');\n\n    let params = {\n      id: taggableId,\n      app_id: appId,\n      manual_tag_id: autoTagId,\n      added_tags: tagsToAdd.map(tag => tag.toJSON({ includeId: true })),\n      removed_tags: tagsToRemove.map(tag => tag.toJSON({ includeId: true })),\n    };\n\n    yield ajax({\n      url: this.url,\n      type: 'post',\n      contentType: 'application/json',\n      data: JSON.stringify(params),\n    }).then(addedTags => {\n      let addedTagNames = addedTags.map(tag => {\n        tag = JSON.parse(tag);\n        return tag.name;\n      });\n\n      addedTagNames.unshift(this.get('options.defaultTagName'));\n      this.set('appController.addedTags', addedTagNames);\n\n      this.notificationsService.notifyConfirmation('Tags updated successfully.');\n      this.send('closeModal');\n    });\n  }),\n\n  actions: {\n    performSetTags(tagstoAdd, tagsToRemove) {\n      this.setTags.perform(tagstoAdd, tagsToRemove);\n    },\n\n    closeModalUsingModalService() {\n      this.modalService.closeModal();\n    },\n  },\n});\n","import Controller from '@ember/controller';\nimport { tracked } from '@glimmer/tracking';\n\nclass ZendeskChat {\n  origin = 'zendesk_chat';\n  name = 'Zendesk Chat';\n  isZendeskChat = true;\n}\n\nclass ZendeskTickets {\n  origin = 'zendesk_tickets';\n  name = 'Zendesk Tickets';\n  isZendeskTickets = true;\n}\n\nexport default class ZendeskChatController extends Controller {\n  queryParams = ['origin'];\n\n  @tracked origin = 'zendesk_chat';\n\n  currentStep = 1;\n\n  steps = [\n    { number: 1, name: 'Get started' },\n    { number: 2, name: 'Authorize' },\n    { number: 3, name: 'Import' },\n  ];\n\n  get importerConfiguration() {\n    if (this.origin === 'zendesk_chat') {\n      return new ZendeskChat();\n    } else if (this.origin === 'zendesk_tickets') {\n      return new ZendeskTickets();\n    } else {\n      throw new Error(`Unknown origin type ${origin}`);\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly, or } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { later } from '@ember/runloop';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  appController: controller('apps.app'),\n  app: readOnly('appController.model'),\n  zendeskChatController: controller('apps.app.import.zendesk-chat'),\n  origin: readOnly('zendeskChatController.origin'),\n  importerConfiguration: readOnly('zendeskChatController.importerConfiguration'),\n\n  conversationImportCredentialsService: service(),\n  showErrorMessage: or('authWindowError', 'tokenRetrievalError'),\n  authWindowError: false,\n  tokenRetrievalError: readOnly('conversationImportCredentialsService.tokenRetrievalError'),\n\n  authorize: task(function*(clientId, clientSecret, subdomain) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'save_credentials_button',\n      context: 'zendesk_chat_import',\n    });\n\n    this.set('authWindowError', false);\n\n    let conversationImport = this.store.createRecord('conversation-import', {\n      appId: this.get('app.id'),\n      origin: this.origin,\n      client_id: clientId,\n      client_secret: clientSecret,\n      subdomain,\n    });\n\n    try {\n      let authorizationWindow = yield this.conversationImportCredentialsService.authorize(\n        conversationImport,\n      );\n      if (authorizationWindow) {\n        this._waitForZendeskChat(authorizationWindow);\n      }\n    } catch (error) {\n      this.notificationsService.notifyError(error);\n    }\n  }),\n\n  _waitForZendeskChat(authorizeWindow) {\n    if (!authorizeWindow.closed) {\n      if (!this.authWindowError) {\n        this._checkForErrors(authorizeWindow.location);\n      }\n      later(() => this._waitForZendeskChat(authorizeWindow), 200);\n    }\n  },\n\n  _checkForErrors(url) {\n    let searchParams = new URLSearchParams(url.search);\n    if (searchParams.get('error')) {\n      this.set('authWindowError', true);\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { post } from 'embercom/lib/ajax';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  appController: controller('apps.app'),\n  app: readOnly('appController.model'),\n  currentAdmin: readOnly('app.currentAdmin'),\n  currentAdminEmail: readOnly('currentAdmin.email'),\n  importStarted: false,\n\n  zendeskChatController: controller('apps.app.import.zendesk-chat'),\n  importerConfiguration: readOnly('zendeskChatController.importerConfiguration'),\n\n  _trackAnalyticsEvent(action, object) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action,\n      object,\n      context: 'zendesk_chat_import',\n      conversation_import_id: this.get('model.id'),\n    });\n  },\n\n  actions: {\n    importConversations() {\n      this._trackAnalyticsEvent('clicked', 'import_button');\n      return post(`/ember/conversation_imports/${this.get('model.id')}/import`, {\n        app_id: this.get('app.id'),\n        admin_id: this.get('currentAdmin.id'),\n      })\n        .then(() => {\n          this.set('importStarted', true);\n          if (window.opener) {\n            window.opener.importFlowCompleted = true;\n          }\n          this._trackAnalyticsEvent('viewed', 'import_started_page');\n        })\n        .catch(err => {\n          this.notificationsService.notifyResponseError(err, {\n            default: err.jqXHR.responseJSON.error,\n          });\n        });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  actions: {\n    transitionToInstructions() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'get_started_button',\n        context: 'zendesk_chat_import',\n      });\n      this.transitionToRoute('apps.app.import.zendesk-chat.authorize');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller, { inject as controller } from '@ember/controller';\nexport default Controller.extend({\n  notificationsService: service(),\n  appController: controller('apps/app'),\n  app: alias('appController.model'),\n  queryParams: ['conversationId'],\n  conversationId: null,\n  actions: {\n    processSpam(spamMessageId) {\n      this.store.find('spamMessage', spamMessageId).then(spamMessage => {\n        spamMessage\n          .processSpamMessage()\n          .then(() => {\n            this.notificationsService.notifyConfirmation(\n              `Message from ${spamMessage.get(\n                'nameOrEmail',\n              )} has been unmarked as spam and moved to the Inbox`,\n            );\n            this.transitionToRoute('apps.app.settings.spam-messages');\n          })\n          .catch(() => {\n            this.notificationsService.notifyError(\n              'An error occurred while processing the spam message',\n            );\n          });\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Controller, { inject as controller } from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport { and, equal, not, or, readOnly } from '@ember/object/computed';\nimport { equalToProperty, findBy } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  appService: service(),\n  inboxService: service(),\n  bootOptionsService: service(),\n  router: service(),\n  onboardingHomeExternalStepService: service(),\n  permissionsService: service(),\n\n  queryParams: ['simulator', 'product_tour_id', 'inbox_tour'],\n  simulator: 'false',\n  inbox_tour: 'false',\n  product_tour_id: null,\n  paywallImage: '/assets/images/inbox/paywall.png',\n\n  forcePaywallInactive: and('app.doesNotRequiresInboxSeatAccess', 'app.inboxIsActive'),\n\n  appController: controller('apps/app'),\n  appsController: controller('apps'),\n  applicationController: controller('application'),\n\n  app: readOnly('appService.app'),\n  me: readOnly('app.currentAdmin'),\n  currentPath: readOnly('applicationController.currentPath'),\n\n  canUseFree: readOnly('app.canUseFree'),\n  searchIsSelected: false,\n  searchExitRoute: readOnly('app.inboxConversationsRoute'),\n\n  iframeSource: computed('app', function() {\n    return `//${window.location.host}/client/test/${this.get('app.id')}`;\n  }),\n  isSimulator: equal('simulator', 'true'),\n  showNavBar: computed('bootOptionsService.embeddedContent', 'isSimulator', function() {\n    return !this.get('bootOptionsService.embeddedContent') && !this.isSimulator;\n  }),\n\n  product: readOnly('app.inboxProduct'),\n\n  isViewingSingleConversation: equalToProperty('currentPath', 'app.inboxConversationRoute'),\n  isViewingInbox: computed('currentPath', 'app.inboxBaseRoute', function() {\n    return this.currentPath.includes(this.get('app.inboxBaseRoute'));\n  }),\n\n  appDoesNotRequireInboxSeatAccess: not('app.requiresInboxSeatAccess'),\n  shouldNotShowPricingAccessBanner: or(\n    'app.currentAdminHasInboxAccess',\n    'appDoesNotRequireInboxSeatAccess',\n  ),\n  shouldShowPricingAccessBanner: not('shouldNotShowPricingAccessBanner'),\n  requiresSeat: not('app.currentAdminHasInboxAccess'),\n  shouldShowTourBanner: computed(\n    'app.shouldShowInboxTourBanner',\n    'inboxService.hasDismissedBanner',\n    'isViewingInbox',\n    'activeInbox.isEmpty',\n    function() {\n      return (\n        this.isViewingInbox &&\n        !this.activeInbox.isEmpty &&\n        this.app.shouldShowInboxTourBanner &&\n        !this.inboxService.hasDismissedBanner\n      );\n    },\n  ),\n  // The purpose of this is to force the `top` property of the conversationStyle\n  // component to update when the address banner is shown/hidden\n  missingShippingAddressBannerVisible: undefined,\n\n  activeInbox: computed(\n    'isViewingInbox',\n    'isViewingSingleConversation',\n    'singleConversationAssignee',\n    'inboxService.inbox',\n    function() {\n      if (this.isViewingInbox) {\n        return this.isViewingSingleConversation\n          ? this.singleConversationAssignee\n          : this.get('inboxService.inbox');\n      }\n    },\n  ),\n\n  inboxes: readOnly('model.inboxes'),\n  singleConversationAssignee: findBy('inboxes', 'identifier', 'all'),\n\n  inboxViews: readOnly('inboxService.inboxViews'),\n  viewBeingCreated: false,\n  viewBeingUpdated: null,\n  viewBeingDeleted: null,\n\n  _setSearchExitProperties() {\n    let exitInbox = this.activeInbox;\n    if (exitInbox && exitInbox.get('isSearch')) {\n      exitInbox = this.get('me.id');\n    }\n\n    this.set('searchExitInbox', exitInbox);\n  },\n\n  actions: {\n    doSearchTransition() {\n      this._setSearchExitProperties();\n      this.transitionToRoute.call(this, ...arguments);\n    },\n    toggleVerticalSearch() {\n      let searchIsSelected = this.searchIsSelected;\n      if (searchIsSelected) {\n        this.send('resetConversationSearch');\n        return;\n      }\n      this.set('searchIsSelected', true);\n    },\n    resetConversationSearch() {\n      this.set('searchIsSelected', false);\n      let searchExitInboxId = this.get('searchExitInbox.id') || this.get('me.id');\n      this.transitionToRoute(this.searchExitRoute, searchExitInboxId);\n    },\n    inboxesUpdated(inboxes) {\n      if (this.navListComponent) {\n        this.navListComponent.send('inboxesUpdated', inboxes);\n      }\n    },\n    openTeamSettingsPage() {\n      this.transitionToRoute('apps.app.settings.teams');\n    },\n    turnOffAwayMode() {\n      let admin = this.me;\n      admin.setProperties({\n        away_mode_enabled: false,\n        reassign_conversations: false,\n      });\n      admin\n        .saveOutOfOfficeSettings()\n        .then(() => {\n          this.notificationsService.notifyConfirmation(\n            'You’re active again! We’ve stopped reassigning your active conversations',\n          );\n          this.intercomEventService.trackAnalyticsEvent({\n            action: 'disabled',\n            object: 'reassign_conversation_setting',\n            context: 'from_inbox',\n          });\n        })\n        .catch(() => {\n          admin.set('reassign_conversations', true);\n          this.notificationsService.notifyError('Oops, something went wrong. Please try again');\n        });\n    },\n    createView() {\n      this.permissionsService.checkPermission('can_manage_inbox_views').then(() => {\n        this.set('viewBeingCreated', true);\n      });\n    },\n    viewCreationFinished({ success, inboxView }) {\n      this.set('viewBeingCreated', false);\n      if (success && inboxView) {\n        this.transitionToRoute(this.app.inboxConversationsRoute, `view:${inboxView.id}`);\n      }\n    },\n    updateView(viewId) {\n      this.permissionsService.checkPermission('can_manage_inbox_views').then(() => {\n        let id = viewId.substring(5);\n        let view = this.inboxViews.findBy('id', id);\n        this.set('viewBeingUpdated', view);\n      });\n    },\n    viewUpdateFinished() {\n      this.set('viewBeingUpdated', null);\n    },\n    deleteView(view) {\n      this.set('viewBeingUpdated', null);\n      this.set('viewBeingDeleted', view);\n    },\n    viewDeletionFinished({ success }) {\n      let view = this.viewBeingDeleted;\n      this.set('viewBeingDeleted', null);\n\n      if (success && this.inboxService.inbox.id === `view:${view.id}`) {\n        this.transitionToRoute(this.app.inboxRoute);\n      } else if (!success) {\n        this.set('viewBeingUpdated', view);\n      }\n    },\n    dismissTourBanner() {\n      this.inboxService.closeTourBanner();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\nimport RuleCardSelection from 'embercom/controllers/mixins/rules/rule-card-selection';\n\nexport default Controller.extend(RuleCardSelection);\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\nimport RuleCardSelection from 'embercom/controllers/mixins/rules/rule-card-selection';\n\nexport default Controller.extend(RuleCardSelection);\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport RuleCardSelection from 'embercom/controllers/mixins/rules/rule-card-selection';\n\nexport default Controller.extend(RuleCardSelection, {\n  selectedTab: 'rules',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\nimport RuleCardSelection from 'embercom/controllers/mixins/rules/rule-card-selection';\n\nexport default Controller.extend(RuleCardSelection);\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Controller.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Evented from '@ember/object/evented';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { getOwner } from '@ember/application';\nimport ConversationBase from 'embercom/controllers/base/conversation';\n\nexport default ConversationBase.extend(Evented, {\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  actions: {\n    openModalFromHeader(path, params) {\n      let applicationRoute = getOwner(this).lookup('route:application');\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      applicationRoute.send('openModal', path, params);\n    },\n    changeToNotePane() {\n      this.streamAndControls.send('changeToNotePane');\n    },\n    trackAdminReplyEvent() {\n      // Do nothing for single conversation view\n    },\n  },\n});\n","import BaseStyleConversationController from 'embercom/controllers/base/conversation-style';\n\nexport default BaseStyleConversationController.extend({\n  queryParams: [\n    'q',\n    'tagIds',\n    'userIds',\n    'assigneeIdentifier',\n    'teamAssigneeIdentifier',\n    'teammateAssigneeIdentifier',\n    'adminDateRangeStart',\n    'adminDateRangeEnd',\n  ],\n  q: null,\n  tagIds: [],\n  userIds: [],\n  assigneeIdentifier: null,\n  adminDateRangeStart: null,\n  adminDateRangeEnd: null,\n  teamAssigneeIdentifier: null,\n  teammateAssigneeIdentifier: null,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport ConversationBase from 'embercom/controllers/base/conversation';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { getOwner } from '@ember/application';\n\nexport default ConversationBase.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  actions: {\n    openModalFromHeader(path, params) {\n      let applicationRoute = getOwner(this).lookup('route:application');\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      applicationRoute.send('openModal', path, params);\n    },\n    changeToNotePane() {\n      this.streamAndControls.send('changeToNotePane');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nexport default Controller.extend(IntercomModal);\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Evented from '@ember/object/evented';\nimport Controller, { inject as controller } from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nexport default Controller.extend(Evented, IntercomModal, {\n  intercomEventService: service(),\n  appsController: controller('apps'),\n  conversationsService: service(),\n  admin: alias('appsController.model'),\n  closeModal() {\n    this.send('closeModal');\n  },\n  actions: {\n    redactPart() {\n      let part = this.get('model.part');\n      this.conversationsService.redactPart(part);\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'deleted',\n        object: part,\n        isNote: part.get('isNote'),\n      });\n      this.send('closeModal');\n    },\n    cancel() {\n      this.send('closeModal');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-side-effects */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { scheduleOnce, schedule, next } from '@ember/runloop';\nimport { alias, reads, equal, gt, none } from '@ember/object/computed';\nimport { computed, observer } from '@ember/object';\nimport Controller from '@ember/controller';\nimport { findBy } from '@intercom/embercom-core/lib/computed-properties';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport SavedReply from 'embercom/models/saved-reply';\nimport SavedReplySearch from 'embercom/controllers/mixins/conversations/saved-reply-search';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport { inject as service } from '@ember/service';\n\nexport default Controller.extend(IntercomModal, SavedReplySearch, {\n  notificationsService: service(),\n  savedReplySearchService: service(),\n  store: service(),\n  publicAPI: computed('conversation', function() {\n    return {\n      app: this.app,\n      actions: {\n        registerOpenInserter: (...args) => this.send('registerOpenInserter', ...args),\n        clearOpenInserter: (...args) => this.send('clearOpenInserter', ...args),\n        paste: (...args) => this.send('paste', ...args),\n        uploadImage: (...args) => this.send('uploadImage', ...args),\n        insertBlock: (...args) => this.send('insertBlock', ...args),\n      },\n    };\n  }),\n\n  selectedDraftPart: alias('model.selectedDraftPart'),\n  mode: alias('model.mode'),\n  part: alias('model.part'),\n  filterQuery: alias('model.filterQuery'),\n  conversation: alias('model.conversation'),\n  composerComponent: alias('model.composerComponent'),\n  replies: alias('app.savedReplies'),\n  isLoading: reads('replies.isPending'),\n  isFulfilled: reads('replies.isFulfilled'),\n  isCreateMode: equal('mode', 'create'),\n  hasSavedReplies: gt('sortedReplies.length', 0),\n  namePlaceholder: 'Name your saved reply…',\n  bodyPlaceholder: 'Write your saved reply…',\n  activeReply: findBy('sortedReplies', 'active'),\n  hasNoActiveReply: none('activeReply'),\n  hasFilterQuery: gt('filterQuery.length', 0),\n  attributePlaceholder: 'REPLACE_THIS',\n  openInserters: [],\n  confirmOptions: {\n    title: 'Delete saved reply',\n    body: 'Are you sure you want to delete this saved reply?',\n    confirmButtonText: 'Delete saved reply',\n    primaryButtonType: 'primary-destructive',\n  },\n\n  inserters: [\n    {\n      name: 'emoji',\n      icon: 'lwr-happy',\n      descriptor: 'Add an emoji',\n      hasPopoverContentComponent: true,\n    },\n    {\n      name: 'image',\n      icon: 'picture',\n      descriptor: 'Add an image',\n      hasPopoverContentComponent: false,\n    },\n    {\n      name: 'article',\n      icon: 'article',\n      descriptor: 'Add an article',\n      hasPopoverContentComponent: true,\n    },\n  ],\n  analyticsContext: 'saved_reply_modal',\n\n  setUpActiveReply() {\n    let activeReply;\n    if (\n      this.hasSavedReplies &&\n      this.hasNoActiveReply &&\n      !this.isCreateMode &&\n      this.hasFilteredSavedReplies\n    ) {\n      activeReply = this.get('filteredReplies.firstObject');\n      activeReply.set('active', true);\n    }\n    if (activeReply && this.savedReplyReadOnlyComposer) {\n      this.savedReplyReadOnlyComposer.send('load', activeReply.get('blocks'));\n    }\n  },\n\n  isOpenChanged: observer({\n    dependentKeys: ['isOpen'],\n\n    fn() {\n      if (this.isOpen && this.isFulfilled) {\n        if (this.hasFilterQuery) {\n          this.set('savedReplyFilterQuery', this.filterQuery);\n        }\n        this.setUpActiveReply();\n      } else {\n        this.send('cancelEditMode');\n      }\n      if (!this.isOpen) {\n        this._resetFilterQuery();\n      }\n    },\n\n    sync: true,\n  }),\n\n  isLoadingChanged: observer({\n    dependentKeys: ['isFulfilled'],\n\n    fn() {\n      if (this.isFulfilled) {\n        this.setUpActiveReply();\n      }\n    },\n\n    sync: true,\n  }),\n\n  _resetFilterQuery() {\n    this.setProperties({\n      savedReplyFilterQuery: '',\n      filterQuery: '',\n    });\n  },\n\n  modeWasSet: observer({\n    dependentKeys: ['mode'],\n\n    fn() {\n      if (this.isCreateMode) {\n        scheduleOnce('afterRender', this, this.send, ['createSavedReply']);\n      }\n    },\n\n    sync: true,\n  }),\n\n  setAllRepliesInactive() {\n    this.replies.setEach('active', false);\n  },\n\n  isEditModeChanged: observer({\n    dependentKeys: ['isEditMode'],\n\n    fn() {\n      if (this.isEditMode) {\n        schedule('afterRender', this, function() {\n          $('.js__saved-replies__name-input').focus();\n        });\n      }\n    },\n\n    sync: true,\n  }),\n\n  createAttributeTemplate(attribute) {\n    let template;\n    if (attribute.get('noFallback')) {\n      template = `{{ ${attribute.get('templatable_identifier')} }}`;\n    } else {\n      template = `{{ ${attribute.get('templatable_identifier')} | fallback:\"${\n        this.attributePlaceholder\n      }\" }}`;\n    }\n    return template;\n  },\n\n  _removeReplyAndSetupActive(replyToRemove) {\n    this.setAllRepliesInactive();\n    this.setUpActiveReply();\n  },\n\n  saveReply(savedReply) {\n    let shouldResetSearch = savedReply.isNew;\n\n    this.setProperties({\n      isSaving: true,\n      hasSaveErrored: false,\n    });\n\n    savedReply\n      .save()\n      .then(() => {\n        this.setProperties({\n          isSaving: false,\n          hasSaveErrored: false,\n          mode: '',\n          isEditMode: false,\n        });\n\n        if (shouldResetSearch) {\n          this.setProperties({\n            savedReplyFilterQuery: '',\n            filterQuery: '',\n          });\n        }\n        this.notificationsService.notifyConfirmation('Reply saved');\n\n        if (this.app.canUseSavedRepliesManagement) {\n          this.savedReplySearchService.rebuild();\n        }\n      })\n      .catch(response => {\n        this.setProperties({\n          isSaving: false,\n          hasSaveErrored: true,\n        });\n        this._handleSaveError(response.jqXHR);\n      });\n  },\n\n  _handleSaveError(response) {\n    let errorMessage = 'An error occurred, please try again later';\n    if (response.responseJSON && response.responseJSON.errors) {\n      let errors = response.responseJSON.errors;\n      if (errors.hasOwnProperty('name')) {\n        errorMessage = 'A saved reply with that name already exists';\n      }\n      if (errors.hasOwnProperty('body')) {\n        let joinedErrors = errors.body.join(', ');\n        errorMessage = joinedErrors.charAt(0).toUpperCase() + joinedErrors.slice(1);\n      }\n    }\n    this.notificationsService.notifyError(errorMessage);\n  },\n\n  createSavedReplyFromBlocks() {\n    let appId = this.get('app.id');\n    let blocks = this.get('part.blocks');\n\n    this.store.createRecord('saved-reply', {\n      active: true,\n      app_id: appId,\n      blocks,\n    });\n    this.set('isEditMode', true);\n\n    //Defer until the next run loop so the composer has been initialized and rendered\n    if (blocks) {\n      next(this, () => {\n        let savedReplyComposer = this.savedReplyComposer;\n        if (savedReplyComposer) {\n          savedReplyComposer.send('load', blocks);\n        }\n      });\n    }\n  },\n\n  actions: {\n    insertBlock(type, block) {\n      this.savedReplyComposer.send('createBlock', type, block);\n    },\n\n    uploadImage(files) {\n      this.savedReplyComposer.send('uploadImage', files);\n    },\n\n    paste(text) {\n      this.savedReplyComposer.send('paste', text, 'plain');\n    },\n\n    cancel() {\n      this.send('closeModal');\n    },\n    insertSavedReply() {\n      this.set('isLoadingRenderedReply', true);\n      this.intercomEventService.trackEvent('analytics-event', {\n        owner: 'inbox',\n        action: 'added_to_reply',\n        object: 'saved_reply',\n        place: 'inbox',\n        context: 'saved_reply_inserter',\n        saved_reply_id: this.get('activeReply.id'),\n        inserted_from: 'saved_reply_modal',\n      });\n      SavedReply.getRendered(\n        this.get('activeReply.id'),\n        this.get('app.id'),\n        this.get('conversation.id'),\n      ).then(data => {\n        this.composerComponent.send('insertBlocks', data.blocks);\n        this.set('isLoadingRenderedReply', false);\n        this.send('closeModal');\n      });\n    },\n    selectSavedReply(reply) {\n      this.setAllRepliesInactive();\n      reply.set('active', true);\n      this.savedReplyReadOnlyComposer.send('load', reply.get('blocks'));\n    },\n    createSavedReply() {\n      this.setAllRepliesInactive();\n      this.createSavedReplyFromBlocks();\n    },\n    editSavedReply() {\n      this.set('isEditMode', true);\n    },\n    deleteSavedReply() {\n      intercomConfirm(this, this.confirmOptions).then(\n        function() {\n          let reply = this.activeReply;\n          reply.destroyRecord().then(\n            () => {\n              this._removeReplyAndSetupActive(reply);\n            },\n            () => {\n              this.notificationsService.notifyError('An error occurred, please try again later');\n            },\n          );\n        }.bind(this),\n      );\n    },\n    saveSavedReply() {\n      let activeReply = this.activeReply;\n\n      let blocks = this.savedReplyComposer.getBlocks();\n      this.set('activeReply.blocks', blocks);\n\n      if (activeReply.get('isValid')) {\n        if (activeReply.get('isNameLengthValid')) {\n          this.saveReply(activeReply);\n        } else {\n          this.notificationsService.notifyError(\n            'Saved Reply name exceeded maximum length of 140 characters',\n          );\n        }\n      } else {\n        this.notificationsService.notifyError('Saved Reply name & body are required');\n      }\n    },\n    cancelEditMode() {\n      if (this.get('activeReply.isNew')) {\n        let replyToRemove = this.activeReply;\n        this.set('mode', '');\n        this._removeReplyAndSetupActive(replyToRemove);\n      }\n      this.activeReply.rollbackAttributes();\n      this.set('isEditMode', false);\n    },\n    insertAttribute(attribute) {\n      let $textarea = $('.m__saved-replies__modal-preview__textarea');\n      $textarea.focus();\n      let caretPosition = $textarea[0].selectionStart;\n      let currentText = $textarea.val();\n      $textarea.val(\n        currentText.substring(0, caretPosition) +\n          this.createAttributeTemplate(attribute) +\n          currentText.substring(caretPosition),\n      );\n    },\n\n    registerOpenInserter(inserterName) {\n      this.openInserters.pushObject(inserterName);\n    },\n\n    clearOpenInserter(inserterName) {\n      if (!this.isDestroying) {\n        this.openInserters.removeObject(inserterName);\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport { inject as service } from '@ember/service';\n\nexport default Controller.extend(IntercomModal, {\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n\n  actions: {\n    closeModalUsingModalService() {\n      this.modalService.closeModal();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\n\nexport default Controller.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/use-brace-expansion */\nimport { computed } from '@ember/object';\nimport AccountControllerBase from 'embercom/controllers/apps/app/account/base/account-controller-base';\nimport { filterBy, map, readOnly, setDiff, equal, alias, notEmpty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\n\nexport default AccountControllerBase.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  useDefaultAssignee: equal('away_mode_reassign_team_id', null),\n  settings: alias('model'),\n  isSaveButtonDisabled: computed(\n    'useDefaultAssignee',\n    'settings.isSaving',\n    'settings.away_mode_reassign_team_id',\n    function() {\n      return (\n        this.get('settings.isSaving') ||\n        (!this.useDefaultAssignee && this.get('settings.away_mode_reassign_team_id') === null)\n      );\n    },\n  ),\n\n  teamsWithOneAdmin: filterBy('app.assignableTeams', 'teamMemberCount', 1),\n  teamsWithOnlyCurrentAdmin: computed(\n    'teamsWithOneAdmin.@each.firstTeamMemberId',\n    'admin.id',\n    function() {\n      let currentAdminId = this.get('admin.id');\n      return this.teamsWithOneAdmin.filter(\n        team => team.get('firstTeamMemberId').toString() === currentAdminId,\n      );\n    },\n  ),\n\n  assignableTeamsExcludingTeamsWithOnlyCurrentAdmin: setDiff(\n    'app.assignableTeams',\n    'teamsWithOnlyCurrentAdmin',\n  ),\n\n  // Items for use in ic-select\n  teamsItems: map('assignableTeamsExcludingTeamsWithOnlyCurrentAdmin', function(team) {\n    return {\n      text: team.get('name'),\n      value: team,\n      component: 'settings/teams/team-or-teammate-dropdown-item',\n      componentAttrs: team,\n      isSelected: team.get('id') === this.get('settings.away_mode_reassign_team_id'),\n    };\n  }),\n\n  autoAwayTimeout: alias('currentAdmin.auto_away_after_seconds'),\n  isAutoAwayEnabled: notEmpty('autoAwayTimeout'),\n\n  supportedAwayTimes: [\n    { text: '5 minutes', value: 5 * 60 },\n    { text: '10 minutes', value: 10 * 60 },\n    { text: '15 minutes', value: 15 * 60 },\n    { text: '30 minutes', value: 30 * 60 },\n    { text: '60 minutes', value: 60 * 60 },\n  ],\n\n  handleSave: task(function*() {\n    yield this.currentAdmin.save();\n  }),\n\n  actions: {\n    selectAssignee(team) {\n      this.set('settings.away_mode_reassign_team_id', team.get('id'));\n    },\n    save() {\n      if (this.useDefaultAssignee) {\n        this.set('settings.away_mode_reassign_team_id', null);\n      }\n      return this._super(...arguments);\n    },\n    toggleAutoAway() {\n      if (this.currentAdmin.auto_away_after_seconds) {\n        this.set('currentAdmin.auto_away_after_seconds', null);\n      } else {\n        this.set('currentAdmin.auto_away_after_seconds', 5 * 60);\n      }\n      return false;\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-observers */\nimport { equal } from '@ember/object/computed';\nimport { observer } from '@ember/object';\nimport AccountControllerBase from 'embercom/controllers/apps/app/account/base/account-controller-base';\n\nexport default AccountControllerBase.extend({\n  assignmentSetting: null,\n  isAssignOnReply: equal('assignmentSetting', 'true'),\n\n  onModelChange: observer({\n    dependentKeys: ['model'],\n\n    fn() {\n      this.reset();\n    },\n\n    sync: false,\n  }),\n\n  reset() {\n    this.setProperties({\n      assignmentSetting: this.get('model.assign_conversations_on_reply').toString(),\n    });\n  },\n\n  beforeSave() {\n    this.model.setProperties({\n      assign_conversations_on_reply: this.isAssignOnReply,\n    });\n  },\n\n  hasUnsavedChanges() {\n    return this.get('model.assign_conversations_on_reply').toString() !== this.assignmentSetting;\n  },\n\n  revertUnsavedChanges() {\n    this.reset();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\nimport { readOnly, reads, or, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { notEqualToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport AccountControllerBase from 'embercom/controllers/apps/app/account/base/account-controller-base';\n\nexport default AccountControllerBase.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  selectedBackground: reads('model.adminMessengerBackground'),\n  backgroundIsDirty: notEqualToProperty('model.adminMessengerBackground', 'selectedBackground'),\n  isDirty: or('model.hasDirtyAttributes', 'backgroundIsDirty'),\n  isNotDirty: not('isDirty'),\n\n  actions: {\n    save() {\n      let selectedBackground = this.selectedBackground;\n      this.set('model.adminMessengerBackground', selectedBackground);\n      this.model.save().then(\n        () => {\n          this.notificationsService.notifyConfirmation('Your inbox wallpaper has been saved.');\n          this.intercomEventService.trackAnalyticsEvent({\n            action: 'changed',\n            object: 'wallpaper',\n            owner: 'design-systems',\n            wallpaper_id: selectedBackground,\n          });\n        },\n        () => {\n          this.notificationsService.notifyError(\n            'Your inbox wallpaper has not been saved. Please try later.',\n          );\n        },\n      );\n    },\n    setBackground(background) {\n      this.set('selectedBackground', background);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly, match } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller, { inject as controller } from '@ember/controller';\nimport RouteRegexes from 'embercom/lib/route-regexes';\n\nexport default Controller.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  application: controller(),\n  isOnExportRoute: match('application.currentPath', RouteRegexes.inboxExport),\n});\n","import ReportBase from 'embercom/controllers/apps/app/reports/base/report';\n\nexport default ReportBase;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\nimport ReportBase from 'embercom/controllers/apps/app/reports/base/report';\nimport { inject as service } from '@ember/service';\nimport moment from 'moment';\nimport ajax from 'embercom/lib/ajax';\nimport Range from 'embercom/models/reporting/range';\n\nconst ANALYTICS_PAYLOAD = {\n  action: 'started_message_data_export',\n  object: 'message_data_export',\n  message_ids: null,\n  export_flag: 'respond',\n};\n\nlet enqueueExport = ({ start, end, appId }) =>\n  ajax({\n    url: '/ember/message_data_export/enqueue',\n    type: 'POST',\n    data: JSON.stringify({\n      app_id: appId,\n      range_start: start,\n      range_end: end,\n      flag: 'respond',\n    }),\n  });\n\nexport default ReportBase.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  init() {\n    this._super(...arguments);\n    let timezone = moment.tz.guess();\n    let range = Range.createFromPreset('past_4_weeks', timezone);\n    this.set('range', range);\n  },\n\n  appService: service(),\n  permissionsService: service(),\n\n  enqueuingExport: false,\n\n  actions: {\n    updateRange(range) {\n      this.set('range', range);\n    },\n\n    enqueueExport() {\n      if (this.permissionsService.currentAdminCan('can_export_data')) {\n        this.set('enqueuingExport', true);\n\n        let { start, end } = this.range;\n\n        return enqueueExport({ start, end, appId: this.get('app.id') })\n          .then(() => {\n            this.notificationsService.notifyConfirmation(\n              'Export successful! We’re sending a CSV to your default email address. This can take a few hours at peak times.',\n            );\n            let range_days = this.get('range.inDays');\n            this.intercomEventService.trackAnalyticsEvent({\n              ...ANALYTICS_PAYLOAD,\n              range_days,\n            });\n            this.send('closeModal');\n            this.set('enqueuingExport', false);\n          })\n          .catch(err => {\n            this.notificationsService.notifyResponseError(err, {\n              default: 'We were unable to start your message data export.',\n            });\n            this.set('enqueuingExport', false);\n          });\n      } else {\n        return this.permissionsService.loadAllAdminsAndShowPermissionRequestModal(\n          'can_export_data',\n        );\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { task } from 'ember-concurrency';\nimport ReportBase from 'embercom/controllers/apps/app/reports/base/report';\n\nexport default ReportBase.extend({\n  salesforceIntegrationInstalled: false,\n  leadSourceEmptyStateComponentPath: 'inbox/reporting/empty-state/lead-sources',\n  loadSalesforceIntegrationTask: task(function*() {\n    let salesforceIntegrationInstalled = yield this.store\n      .query('integration', { code: 'salesforce-by-intercom' })\n      .then(response => {\n        return response.get('firstObject.installed');\n      });\n\n    this.set('salesforceIntegrationInstalled', salesforceIntegrationInstalled);\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\nimport PerformanceReportBase from 'embercom/controllers/apps/app/reports/base/performance-report';\nimport { computed } from '@ember/object';\nimport { equal } from '@ember/object/computed';\n\nexport default PerformanceReportBase.extend({\n  reportDescription: computed('teamOrTeammate', function() {\n    let reportFilter = this.get('teamOrTeammate.name') || 'Intercom';\n    return ` influenced by ${reportFilter}`;\n  }),\n\n  filteredByAdmin: equal('teammateIds.length', 1),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller, { inject as controller } from '@ember/controller';\nimport { readOnly, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Controller.extend({\n  appController: controller('apps.app'),\n  app: readOnly('appController.model'),\n  bootOptionsService: service(),\n  linksEnabled: not('bootOptionsService.embeddedContent'),\n  actions: {\n    openInboxCSVExportModal(hasPlanWithoutInboxCSVExport) {\n      if (hasPlanWithoutInboxCSVExport) {\n        return;\n      }\n      if (this.permissionsService.currentAdminCan('can_export_data')) {\n        // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n        this.send('openModal', 'apps/app/outbound/message-data-export-modal', {\n          exportFlag: 'respond',\n        });\n      } else {\n        this.permissionsService.loadAllAdminsAndShowPermissionRequestModal('can_export_data');\n      }\n    },\n  },\n});\n","import ReportBase from 'embercom/controllers/apps/app/reports/base/report';\n\nexport default ReportBase;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { reads, alias } from '@ember/object/computed';\nimport Evented from '@ember/object/evented';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { intercomPromiseConfirm } from 'embercom/lib/intercom-confirm';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\n\nexport default Controller.extend(Evented, {\n  intercomEventService: service(),\n  notificationsService: service(),\n  appController: controller('apps/app'),\n  app: reads('appController.model'),\n  integration: alias('model.integration'),\n\n  deleteModelTask: notImplemented(),\n  confirmRemoveIntegration() {\n    let options = {\n      title: 'Remove integration',\n      body: `Are you sure you want to remove ${this.get('integration.name')} integration?`,\n      confirmButtonText: 'Remove',\n    };\n\n    return intercomPromiseConfirm(this, options);\n  },\n\n  removeIntegration: task(function*() {\n    let confirmed = yield this.confirmRemoveIntegration();\n\n    if (!confirmed) {\n      return;\n    }\n    yield this.destroyIntegrationRecordAndRedirect.perform();\n  }).drop(),\n\n  destroyIntegrationRecordAndRedirect: task(function*() {\n    try {\n      this.intercomEventService.trackEvent(\n        `dx-removed-${this.get('integration.code')}-integration`,\n        {\n          action: 'removed',\n          object: `${this.get('integration.code')}-integration`,\n          owner: 'dx',\n          place: 'integrations-hub',\n          integration_id: this.get('integration.code'),\n        },\n      );\n      yield this.deleteModelTask.perform();\n\n      let deletedRecord = this.get('integration.connectedIntegration');\n\n      if (deletedRecord.content) {\n        deletedRecord.content.unloadRecord();\n      }\n\n      this.transitionToRoute('apps.app.integrations-hub');\n    } catch (e) {\n      console.error(e);\n      this.notificationsService.notifyError(\n        `An error occurred when deleting ${this.get('integration.name')} credentials`,\n      );\n    }\n  }).drop(),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject, { observer } from '@ember/object';\nimport { map, equal } from '@ember/object/computed';\nimport Controller from '@ember/controller';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nexport default Controller.extend(IntercomModal, {\n  app: null,\n  products: map('app.products', function(product) {\n    return EmberObject.create({\n      name: product.get('name'),\n      activePlanId: null,\n      hasOnePlan: product.get('hasOnePlan'),\n      plans: product.get('plans').map(plan => {\n        return EmberObject.create({\n          id: plan.get('id'),\n          name: plan.get('name'),\n        });\n      }),\n    });\n  }),\n\n  choice: 'subscription',\n  choiceIsSubscription: equal('choice', 'subscription'),\n  enabledKey: templateString('icp-${model.id}-enabled'),\n  planIdsKey: templateString('icp-${model.id}-plan-ids'),\n\n  setFromLocalStorage: observer({\n    dependentKeys: ['isOpen'],\n\n    fn() {\n      if (this.isOpen) {\n        if (localStorage.getItem(this.enabledKey) === 'true') {\n          this.set('choice', 'customize');\n        }\n\n        let planIds = JSON.parse(localStorage.getItem(this.planIdsKey));\n        if (!planIds) {\n          return;\n        }\n\n        planIds.forEach(planId => {\n          let product = this.products.find(product => {\n            return product.get('plans').findBy('id', planId);\n          });\n\n          product.set('activePlanId', planId);\n        });\n      }\n    },\n\n    sync: true,\n  }),\n\n  storeToLocalStorage() {\n    if (this.choiceIsSubscription) {\n      localStorage.setItem(this.enabledKey, false);\n    } else {\n      localStorage.setItem(this.enabledKey, true);\n\n      let key = this.planIdsKey;\n      let planIds = this.products.mapBy('activePlanId').compact();\n\n      localStorage.setItem(key, JSON.stringify(planIds));\n    }\n  },\n\n  actions: {\n    submit() {\n      this.set('isSaving', true);\n      this.storeToLocalStorage();\n      window.location.reload();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\n\nimport { inject as service } from '@ember/service';\n\nexport default Controller.extend({\n  notificationsService: service(),\n  intersectionService: service(),\n\n  actions: {\n    openIntersection() {\n      this.intersectionService.openWindow('http://intercom-js.test');\n      this.intersectionService.registerEventHandler('selector-chosen', options => {\n        console.log('Selector chosen!', options.selector);\n        this.notificationsService.notifyConfirmation(\n          `You chose ${options.selector}, you should be very proud.`,\n        );\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nexport default Controller.extend(IntercomModal);\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nexport default Controller.extend({\n  appController: controller('apps/app'),\n  app: readOnly('appController.model'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport { computed, action } from '@ember/object';\nimport { alias, readOnly, reads, equal } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { task } from 'ember-concurrency';\nimport { intercomPromiseConfirm } from 'embercom/lib/intercom-confirm';\nimport { markViewAsSeen } from 'embercom/lib/admin-view-tracking';\n\nconst LEADS_AND_VISITORS_TARGET_TYPE = 'leads_and_visitors';\nconst SECTIONS_WITH_CONVERSATION_PREVIEW = ['upfrontEmailCollection', 'temporaryExpectations'];\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  appstoreService: service(),\n  onboardingHomeService: service(),\n  router: service(),\n  store: service(),\n  appController: controller('apps/app'),\n  app: alias('appController.model'),\n  queryParams: ['section', 'app_package_code', 'install_success'],\n  section: null,\n  install_success: null,\n  messengerInstalled: readOnly('app.hasAnyInstalledAtDate'),\n  app_package_code: null,\n  zoomInLauncherWeb: false,\n  zoomInLauncherAndroid: false,\n  zoomInLauncherIOS: false,\n  openSection: reads('section'),\n  isConversationPreview: computed('openSection', function() {\n    return SECTIONS_WITH_CONVERSATION_PREVIEW.includes(this.openSection);\n  }),\n  temporaryExpectationsPreview: equal('openSection', 'temporaryExpectations'),\n  showBrandBanner: false,\n\n  init() {\n    this._super(...arguments);\n    if (this.appstoreService.hasAppPackageCode()) {\n      this.set('section', 'home');\n    }\n  },\n\n  targetUserType: LEADS_AND_VISITORS_TARGET_TYPE,\n\n  sectionCanClose: task(function*(sectionName) {\n    if (this.get(`model.${sectionName}.hasUnsavedChanges`)) {\n      let options = {\n        title: 'Unsaved Changes',\n        body: 'You have unsaved changes. Do you want to discard them?',\n        confirmButtonText: 'Discard',\n        center: true,\n      };\n      return yield intercomPromiseConfirm(this, options);\n    }\n    return true;\n  }),\n\n  dismissBrandBanner: action(function() {\n    this.set('showBrandBanner', false);\n    markViewAsSeen(this.store, 'multibrand_banner_dismissed');\n  }),\n\n  actions: {\n    sectionDidClose(sectionName) {\n      this.set('openSection', null);\n      let sectionSettings = this.get(`model.${sectionName}`);\n      if (sectionSettings.get('hasUnsavedChanges')) {\n        sectionSettings.refresh();\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'discarded',\n          object: `messenger_settings_${sectionName}`,\n        });\n      }\n\n      if (sectionName === 'lookAndFeel') {\n        sectionSettings.refresh();\n      }\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'closed',\n        object: `messenger_settings_${sectionName}`,\n      });\n    },\n    sectionDidOpen(sectionName) {\n      this.set('openSection', sectionName);\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'opened',\n        object: `messenger_settings_${sectionName}`,\n      });\n    },\n    exploreAppStore() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'explore_app_store',\n      });\n\n      this.transitionToRoute('apps.app.appstore');\n    },\n    setUpOperator() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'set_up_operator',\n      });\n\n      this.transitionToRoute('apps.app.operator.task-bots');\n    },\n    transitionToInstallMessenger() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'install_messenger',\n      });\n\n      return this.onboardingHomeService.openMessengerInstallationStep();\n    },\n    onWebPaddingFocus() {\n      this.set('zoomInLauncherWeb', true);\n    },\n    onAndroidPaddingFocus() {\n      this.set('zoomInLauncherAndroid', true);\n    },\n    onIOSPaddingFocus() {\n      this.set('zoomInLauncherIOS', true);\n    },\n    onPaddingBlur() {\n      this.set('zoomInLauncherWeb', false);\n      this.set('zoomInLauncherAndroid', false);\n      this.set('zoomInLauncherIOS', false);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { oneWay, readOnly } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport Controller from '@ember/controller';\nimport { inject, inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { bind } from '@ember/runloop';\nimport FOOTER_CONTENT from 'embercom/lib/home/guide-footer-content';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  media: inject(),\n  appService: inject(),\n  app: oneWay('appService.app'),\n  showMobileView: oneWay('media.isMobile'),\n  sendInviteSuccess() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'invited',\n      context: 'mobile_welcome',\n      place: 'mobile_welcome',\n      object: 'teammate',\n      mobile: true,\n    });\n    this.set('email', '');\n  },\n  sendInvite: task(function*() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      context: 'mobile_welcome',\n      place: 'mobile_welcome',\n      object: 'invite_teammate',\n      mobile: true,\n    });\n    yield $.ajax({\n      url: '/ember/invite_admin_groups',\n      data: JSON.stringify({\n        invitees: [{ email: this.email }],\n        app_id: this.get('app.id'),\n      }),\n      type: 'POST',\n      contentType: 'application/json',\n      dataType: 'JSON',\n    }).success(bind(this, this.sendInviteSuccess));\n  }),\n  guideIdentifier: readOnly('model.id'),\n  footerContent: computed('guideIdentifier', function() {\n    return FOOTER_CONTENT[this.guideIdentifier];\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { schedule } from '@ember/runloop';\nimport { observer } from '@ember/object';\nimport { reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nlet BlockUserModalController = Controller.extend(IntercomModal, {\n  intercomEventService: service(),\n  notificationsService: service('notificationsService'),\n  inboxService: service(),\n  router: service(),\n\n  isBlockingUser: false,\n  hasErrored: false,\n\n  personName: reads('model.displayAs'),\n\n  reset() {\n    this.setProperties({\n      isBlockingUser: false,\n      hasErrored: false,\n    });\n  },\n\n  onModelChange: observer({\n    dependentKeys: ['model'],\n\n    fn() {\n      this.reset();\n    },\n\n    sync: true,\n  }),\n\n  isOpenChanged: observer({\n    dependentKeys: ['isOpen'],\n\n    fn() {\n      if (this.isOpen) {\n        schedule('afterRender', this, function() {\n          $('.js__block-user-cancel-button').focus();\n        });\n      }\n    },\n\n    sync: true,\n  }),\n\n  _blockUserSucceeded() {\n    if (this.options?.conversation) {\n      this._removeUserConversationsFromConversationList();\n    } else {\n      this.transitionToRoute('apps.app.users.segments', this.app);\n    }\n    this.reset();\n    this.send('closeModal');\n    this.notificationsService.notifyConfirmation(`${this.personName} has been blocked.`);\n  },\n\n  _blockUserFailed() {\n    this.setProperties({\n      isBlockingUser: false,\n      hasErrored: true,\n    });\n    this.notificationsService.notifyError('Something went wrong! Please try again.');\n  },\n\n  _removeUserConversationsFromConversationList() {\n    if (this.options?.conversation?.isGroupConversation) {\n      // This only temporarily removes the user from the visible conversation - inference (at the moment)\n      // pulls it back in as there is no removal part\n      this.options.conversation.removeParticipant(this.model);\n    }\n\n    let inboxService = this.inboxService;\n    let inbox = inboxService.get('inbox');\n    let convoList = inboxService.get('inbox.conversationList');\n    if (!inboxService.get('isActive')) {\n      // In the single conversation view there's no active inbox – we don't have a conversation list.\n      return this.transitionToRoute(this.get('app.inboxBaseRoute'));\n    }\n    let blockedUserId = this.get('model.id');\n\n    // Only remove the conversations if they have only one participant - i.e. main_participant is the blocked user\n    let blockedUsersConversations = convoList.items\n      .filterBy('participants.length', 1)\n      .filterBy('main_participant.user_id', blockedUserId);\n    inbox.removeConversations(blockedUsersConversations);\n    if (convoList.length > 0) {\n      inboxService.transitionToConversation(convoList.items.firstObject);\n    } else {\n      inboxService.transitionToRoot();\n    }\n  },\n\n  actions: {\n    cancel() {\n      this.send('closeModal');\n    },\n    confirm() {\n      let conversation = this.options?.conversation;\n      let spamConversation = conversation?.isNotGroupConversation ? conversation : null;\n\n      this.intercomEventService.trackEvent('blocked-user', {\n        user_id: this.get('model.id'),\n      });\n      this.setProperties({\n        isBlockingUser: true,\n        hasErrored: false,\n      });\n      this.model\n        .blockUser(spamConversation)\n        .then(() => {\n          this._blockUserSucceeded();\n        })\n        .catch(() => {\n          this._blockUserFailed();\n        });\n    },\n    routeToEmailForwarding() {\n      this.send('closeModal');\n      this.router.transitionTo('apps.app.settings.email-forwarding');\n    },\n  },\n});\n\nexport default BlockUserModalController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\nimport { alias, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Evented, { on } from '@ember/object/evented';\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport {\n  EARLY_STAGE_BUNDLE,\n  OPERATOR_ID,\n  ANSWER_BOT_ID,\n  OPERATOR_PRO_ID,\n  ANSWER_BOT_ESSENTIAL_ID,\n  PRODUCT_TOURS_ID,\n} from 'embercom/lib/billing';\n\nexport default Controller.extend(IntercomModal, Evented, {\n  purchaseAnalyticsService: service(),\n  appService: service(),\n  app: alias('appService.app'),\n  customerService: service(),\n  paywallService: service(),\n  planIds: alias('model.planIds'),\n  product: null,\n  prices: readOnly('customerService.prices'),\n  showConfirmPage: false,\n  stripev3: service(),\n  plan: null,\n  selectingProduct: false,\n  context: 'unknown',\n  customer: alias('customerService.customer'),\n  highlightedFeatureKey: alias('model.featureName'),\n\n  active: on('didBecomeActive', async function() {\n    this._super(...arguments);\n    this.clearData();\n    let customerService = this.customerService;\n    await customerService.loadData({ fetchPrices: false });\n    this.reducePlanIdsToOneProduct();\n    await Promise.all([this.stripev3.load(), this.loadPrices()]);\n\n    let isEarlyStageCustomer =\n      this.app.validEarlyStageApplicant || this.customer.currentlyOnEarlyStage;\n    if (isEarlyStageCustomer && !this.get('app.hasActiveSubscription')) {\n      this.set('earlyStage', true);\n      customerService.updateData({ planIds: EARLY_STAGE_BUNDLE });\n    } else {\n      this.redirectIfNecessary();\n      this.setPlanIds();\n    }\n  }),\n\n  async loadPrices() {\n    let params = this.allRequiredPriceCombinations();\n    await this.customerService.bulkLoadPrices(params);\n  },\n\n  allRequiredPriceCombinations() {\n    let activePlanIds = this.customerService.activePlanIds;\n    let targetProduct = this.targetProduct;\n\n    let plansForTargetProduct = targetProduct.planIds.map(planId => {\n      return {\n        planIds: [planId],\n        includeTiers: 35,\n      };\n    });\n\n    let combinations = plansForTargetProduct;\n\n    if (activePlanIds.length > 0) {\n      let currentSubscription = {\n        planIds: activePlanIds,\n        includeTiers: 35,\n      };\n\n      combinations.push(currentSubscription);\n\n      let activePlansWithoutTargetProduct = this.removePlanIdsFromActivePlans(\n        targetProduct.planIds,\n      );\n      let possibleFuturePlanCombinations = targetProduct.planIds.map(planId => {\n        let planIds = activePlansWithoutTargetProduct.concat(planId);\n        return {\n          planIds,\n          includeTiers: 35,\n        };\n      });\n      combinations.push(...possibleFuturePlanCombinations);\n    }\n\n    return combinations;\n  },\n\n  reducePlanIdsToOneProduct() {\n    let product = this.productFromPlanIds(this.planIds);\n\n    if (!product) {\n      let planId;\n\n      // We have decided that Custom Bot wins over Resolution Bot\n      if (\n        this.planIds.includes(OPERATOR_PRO_ID) &&\n        this.planIds.includes(ANSWER_BOT_ESSENTIAL_ID)\n      ) {\n        planId = OPERATOR_PRO_ID;\n      } else {\n        let firstProduct = this.productFromPlanId(this.planIds[0]);\n        planId = (firstProduct.get('active') && this.planIds[0]) || this.planIds[1];\n      }\n\n      this.set('planIds', [planId]);\n      product = this.productFromPlanId(planId);\n    }\n    this.set('targetProduct', product);\n  },\n  removePlanIdsFromActivePlans(planIds) {\n    return this.customerService.activePlanIds.filter(planId => {\n      return !planIds.includes(planId);\n    });\n  },\n\n  redirectIfNecessary() {\n    let product = this.productFromPlanId(this.get('planIds.firstObject'));\n    let activeSubscription = this.get('app.hasActiveSubscription');\n    let addOn = product.get('addon');\n    let alreadyHasPlan = this.planFromPlanId(this.get('planIds.firstObject')).get('content.active');\n\n    if (addOn && !activeSubscription) {\n      let featureNames = {\n        [ANSWER_BOT_ID]: 'answer_workflows',\n        [OPERATOR_ID]: 'bot_workflows',\n        [PRODUCT_TOURS_ID]: 'product_tours',\n      };\n      this.send('close');\n      return this.paywallService.redirectToPurchase(featureNames[product.get('id')]);\n    } else if (alreadyHasPlan) {\n      this.send('close');\n    }\n  },\n\n  setPlanIds() {\n    let planIds = this.planIds;\n    let customerService = this.customerService;\n    customerService.updateData({ planIds });\n\n    this.setPlansFromPlanId(planIds[0]);\n  },\n\n  /* When given only 1 plan id, we determine what to display based on the state:\n   *  If the product has only 1 plan, we set lowerPlan to that plan and display 1 column\n   * Otherwise, if we're adding, we set lowerPlan to be the plan passed in.\n   *  If there's a higher plan, we show the selector in order to upsell\n   *   Otherwise, only 1 column is displayed. (We only show selector if adding and there's a higher plan)\n   * If we're upgrading, then we show the current plan on the left, and the new\n   *  plan on the right.\n   */\n  setPlansFromPlanId(planId) {\n    let product = this.productFromPlanId(planId);\n    this.set('product', product);\n    this.set('plan', this.planFromPlanId(planId));\n    this.customerService.resetAll();\n    this.customerService.updateData({\n      planIds: [planId],\n    });\n  },\n\n  productFromPlanIds(planIds) {\n    return this.get('customerService.products').find(product => {\n      let productPlanIds = product.get('plans').map(plan => plan.get('id'));\n      return planIds.every(planId => productPlanIds.includes(planId));\n    });\n  },\n\n  planFromPlanId(planId) {\n    return this.get('customerService.plans').find(plan => plan.get('id') === planId);\n  },\n\n  productFromPlanId(planId) {\n    return this.get('customerService.products').find(product =>\n      product\n        .get('plans')\n        .mapBy('id')\n        .includes(planId),\n    );\n  },\n\n  getHigherPlan(planId) {\n    let planIds = this.get('product.plans').map(plan => plan.get('id'));\n    let index = planIds.indexOf(planId);\n    if (index === planIds.length - 1) {\n      return null;\n    }\n    return this.planFromPlanId(planIds[planIds.indexOf(planId) + 1]);\n  },\n\n  clearData() {\n    this.customerService.resetAll();\n    this.setProperties({\n      showConfirmPage: false,\n      targetProduct: null,\n      plan: null,\n      selectingProduct: false,\n    });\n  },\n\n  actions: {\n    close() {\n      this.send('closeModal');\n      this.clearData();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { on } from '@ember/object/evented';\nimport { not, equal } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nlet CreateNewDataModalController = Controller.extend(IntercomModal, {\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  dataType: null,\n  disableButton: not('dataType'),\n  attributeSelected: equal('dataType', 'attribute'),\n  eventSelected: equal('dataType', 'event'),\n  pingDomains: [],\n\n  fetchPingDomains: on('init', function() {\n    this.store\n      .query('ping-domain', { ignore_anonymous: false })\n      .then(pingDomains => this.set('pingDomains', pingDomains));\n  }),\n\n  actions: {\n    close() {\n      this.send('closeModal');\n    },\n    continue() {\n      if (this.attributeSelected) {\n        this.modalService.openModal('apps/app/settings/modals/attribute-details');\n      } else if (this.eventSelected) {\n        this.modalService.openModal(\n          'apps/app/settings/modals/event-creation-modal',\n          this.pingDomains,\n        );\n      }\n    },\n  },\n});\n\nexport default CreateNewDataModalController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nexport default Controller.extend(IntercomModal, {\n  canCloseModal: true,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller, { inject as controller } from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nexport default Controller.extend(IntercomModal, {\n  securitySettingsController: controller('apps/app/settings/security'),\n  canCloseModal: true,\n  actions: {\n    enforceSSO() {\n      this.securitySettingsController.send('setAuths', 'googleAuth');\n      this.send('closeModal');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly } from '@ember/object/computed';\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nexport default Controller.extend(IntercomModal, {\n  file: readOnly('model.file'),\n  composerComponent: readOnly('model.composer'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nexport default Controller.extend(IntercomModal, {\n  closeModal() {\n    this.send('closeModal');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { alias } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nexport default Controller.extend(IntercomModal, {\n  appController: controller('apps.app'),\n  app: alias('appController.model'),\n  closeModal() {\n    this.send('closeModal');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nexport default Controller.extend(IntercomModal, {\n  closeModal() {\n    this.send('closeModal');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { alias } from '@ember/object/computed';\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport StandardAudienceEditorConfiguration from 'embercom/objects/audience-editor/standard-audience-editor-configuration';\n\nexport default Controller.extend(IntercomModal, {\n  node: alias('model'),\n  audienceEditorConfiguration: new StandardAudienceEditorConfiguration({\n    showClientPredicates: true,\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\nimport MessageModalController from 'embercom/controllers/base/modals/message';\nimport ajax from 'embercom/lib/ajax';\nimport Message from 'embercom/models/message';\n\nexport default MessageModalController.extend({\n  BULK_MESSAGE_URL: 'ember/stats_system/message.json',\n\n  postMessage() {\n    return ajax({\n      url: this.BULK_MESSAGE_URL,\n      type: 'POST',\n      data: JSON.stringify(this._generateRequestData()),\n    }).then(() => {\n      let analyticsEvent = {\n        object: this.get('options.shortObjectName'),\n        app_id: this.get('app.id'),\n        action: 'bulk-messaged-stats-list',\n      };\n      this.intercomEventService.trackAnalyticsEvent(analyticsEvent);\n    });\n  },\n\n  _generateRequestData() {\n    let data = {\n      app_id: this.get('options.app_id'),\n      admin_id: this.get('options.admin_id'),\n      additional_filters: this.get('options.additional_filters'),\n      is_select_all_mode: this.get('options.is_select_all_mode'),\n      included_ids: this.get('options.included_ids'),\n      stat: this.get('options.stat'),\n      content_id: this.get('options.content_id'),\n      content_type: this.get('options.content_type'),\n      count: this.get('options.count'),\n      blocks: this.composerComponent.getBlocks(),\n      created_via: 'simple_composer',\n      created_via_version: Message.CREATED_VIA_SIMPLE_COMPOSER_VERSION,\n      subject: this.subject,\n      message_type: this.type,\n      delivery_option: this.deliveryOption,\n      email_style: this.emailTemplateId,\n      company_message: this.isCreatingCompanyMessage,\n      send_push_notification: this.shouldSendPushNotification,\n      exists_fields: this.get('options.exists_fields'),\n    };\n    return data;\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\nimport { alias, filter, map, notEmpty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport ReassignMessagesBaseController from 'embercom/controllers/apps/app/settings/modals/reassign-messages-base';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nexport default ReassignMessagesBaseController.extend(IntercomModal, {\n  notificationsService: service(),\n  modelDataCacheService: service(),\n\n  canCloseModal: false,\n\n  selectedAssignee: null,\n  selectedTeam: alias('model'),\n  assigneeHasBeenSelected: notEmpty('selectedAssignee'),\n\n  _teamItems: filter('assignableTeamsExcludingTeamsWithOnlyAdminToBeReassigned', function(team) {\n    return team.get('id') !== this.get('selectedTeam.id');\n  }),\n  teamItems: map('_teamItems', function(team) {\n    return this.buildItem(team);\n  }),\n\n  _resetModal() {\n    this.setProperties({\n      canCloseModal: false,\n      selectedAssignee: null,\n    });\n  },\n\n  actions: {\n    closeTeamDeleteModal() {\n      this.set('canCloseModal', true);\n      this.send('closeSecondaryModal');\n      this._resetModal();\n    },\n    deleteTeam() {\n      this.set('canCloseModal', true);\n      this.send('closeSecondaryModal');\n      let team = this.model;\n      team.deleteAndReassign(this.get('selectedAssignee.id')).then(() => {\n        this.app.removeTeam(team);\n        this.app.updateLocalCache(this.modelDataCacheService);\n        this.notificationsService.notifyConfirmation(`${team.get('name')} was deleted`);\n      });\n      this._resetModal();\n    },\n    selectAssignee(teammateOrTeam) {\n      this.set('selectedAssignee', teammateOrTeam);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { not, readOnly } from '@ember/object/computed';\nimport Controller from '@ember/controller';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport { task } from 'ember-concurrency';\n\nlet UnblockBlockedUserModalController = Controller.extend(IntercomModal, {\n  notificationsService: service(),\n  isUnblocking: readOnly('_unblockUser.isRunning'),\n  isNotUnblocking: not('isUnblocking'),\n  successNotificationMessage: templateString('${model.nameOrEmail} has been unblocked'),\n\n  _unblockUser: task(function*(id, appId) {\n    try {\n      yield $.ajax({\n        url: '/ember/blocked_users/unblock',\n        data: JSON.stringify({\n          id,\n          app_id: appId,\n        }),\n        type: 'POST',\n        contentType: 'application/json',\n        dataType: 'JSON',\n      });\n      this.model.list.removeObject(this.model);\n      this.model.unloadRecord();\n      this.notificationsService.notifyConfirmation(this.successNotificationMessage);\n    } catch (e) {\n      this.notificationsService.notifyError('An error occurred while unblocking the user');\n    } finally {\n      this.send('closeModal');\n    }\n  }),\n\n  actions: {\n    cancel() {\n      if (this.isNotUnblocking) {\n        this.send('closeModal');\n      }\n    },\n    unblockUser() {\n      let id = this.get('model.id');\n      let appId = this.get('model.app_id');\n\n      this._unblockUser.perform(id, appId);\n    },\n  },\n});\n\nexport default UnblockBlockedUserModalController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nexport default Controller.extend(IntercomModal, {\n  intercomEventService: service(),\n  actions: {\n    closeIntercomModal() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'closed',\n        object: 'video',\n        video_title: this.get('model.title'),\n      });\n\n      this.send('closeModal');\n    },\n\n    performAfterIntercomModalClose() {\n      if (this.get('model.onCloseModalCallback')) {\n        this.get('model.onCloseModalCallback')();\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { computed } from '@ember/object';\nimport { match, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport RouteRegexes from 'embercom/lib/route-regexes';\n\nexport default Controller.extend({\n  router: service(),\n  store: service(),\n  navbarCollapsingService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  isOnReportingRoute: match('router.currentRouteName', RouteRegexes.operatorReporting),\n  isOnAnswerBotRoute: match('router.currentRouteName', RouteRegexes.answerBot),\n  isOnCustomBotRoute: match('router.currentRouteName', RouteRegexes.customBots),\n  isOnTaskBotRoute: match('router.currentRouteName', RouteRegexes.taskBots),\n  isOnSingleCustomBotRoute: match('router.currentRouteName', RouteRegexes.singleCustomBot),\n  currentCustomBotTarget: computed(\n    'isOnCustomBotRoute',\n    'currentViewedCustomBotTarget',\n    function() {\n      if (this.isOnCustomBotRoute) {\n        return this.router.currentRoute?.queryParams?.target || this.currentViewedCustomBotTarget;\n      }\n    },\n  ),\n\n  defaultCustomBotTarget: 'outbound',\n  currentViewedCustomBotTarget: undefined,\n\n  initializeConfigurationModel() {\n    let messengerResponseTimeKey =\n      this.get('model.availability.messengerResponseTimeKey') || 'a_few_minutes';\n    this.set(\n      'previewConfiguration',\n      this.store.createFragment('messenger-preview/configuration', {\n        locale: 'en',\n        backgroundPatternNumber: 1,\n        logoURL: '/assets/images/error/intercom-logo.png',\n        appPrimaryColor: this.get('model.lookAndFeel.primaryColor'),\n        appSecondaryColor: this.get('model.lookAndFeel.secondaryColor'),\n        greetingText: 'Hi there 👋',\n        aboutUsText: `We're always happy to help!`,\n        messengerResponseTimeKey,\n        showWeRunOnIntercom: true,\n        inboundConversationsEnabledForUsers: false,\n        inboundConversationsEnabledForVisitors: false,\n        launcherVisibleForUsers: true,\n        launcherVisibleForVisitors: true,\n      }),\n    );\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller, { inject as controller } from '@ember/controller';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Controller.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  product: readOnly('app.customBotsProduct'),\n  operatorController: controller('apps/app/operator'),\n  previewConfiguration: readOnly('operatorController.previewConfiguration'),\n  featureKey: 'bot_workflows',\n  hidePaywallBanner: false,\n});\n","import ContentEditorController from 'embercom/controllers/apps/app/content/edit';\nexport default ContentEditorController;\n","import ContentEditorController from 'embercom/controllers/apps/app/content/edit';\nexport default ContentEditorController;\n","import { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport {\n  objectTypes,\n  objectIcons,\n  objectInterfaceIcons,\n  matchBehaviors,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport OutboundBaseListController from 'embercom/lib/outbound/base-list-controller';\nimport {\n  OUTBOUND_TARGET,\n  EVERYONE_TARGET,\n  NEW_CONVERSATION_TARGET,\n  OUTBOUND_BOT_TYPE,\n  BUTTON_BOT_TYPE,\n  INBOUND_BOT_TYPE,\n} from 'embercom/lib/operator/custom-bots/constants';\n\nconst CONTENT_TYPE_MAP = {\n  [OUTBOUND_TARGET]: objectTypes.customBot,\n  [EVERYONE_TARGET]: objectTypes.buttonCustomBot,\n  [NEW_CONVERSATION_TARGET]: objectTypes.inboundCustomBot,\n};\n\nconst BOT_TYPE_MAP = {\n  [OUTBOUND_TARGET]: OUTBOUND_BOT_TYPE,\n  [EVERYONE_TARGET]: BUTTON_BOT_TYPE,\n  [NEW_CONVERSATION_TARGET]: INBOUND_BOT_TYPE,\n};\n\nexport default class OperatorCustomBotsIndexController extends OutboundBaseListController {\n  @service router;\n\n  queryParams = ['state'];\n  featureKey = 'bot_workflows';\n  emptyTabMessage = `No custom bots yet`;\n\n  @tracked launchUpgradeModal = false;\n  @tracked state = null;\n  @tracked showContentCreationModal = false;\n\n  get contentType() {\n    return CONTENT_TYPE_MAP[this.target];\n  }\n\n  get matchBehavior() {\n    switch (this.contentType) {\n      case objectTypes.buttonCustomBot:\n      case objectTypes.inboundCustomBot:\n        return matchBehaviors.transient;\n      default:\n        return matchBehaviors.single;\n    }\n  }\n\n  get bannerData() {\n    return {\n      pageTitle: 'Custom Bots',\n      button: 'New bot',\n      icon: objectIcons[this.contentType],\n      interfaceIcon: objectInterfaceIcons[this.contentType],\n      selectedObjectType: this.contentType,\n    };\n  }\n\n  @action\n  createCustomBot(\n    _messageType = null,\n    _deliveryChannel = null,\n    _audienceType = null,\n    templateId = null,\n  ) {\n    this.showContentCreationModal = false;\n    let rulesetParams = {\n      app_id: this.app.id,\n      object_type: this.contentType,\n    };\n\n    if (templateId) {\n      rulesetParams.template_id = templateId;\n    } else {\n      rulesetParams.match_behavior = this.matchBehavior;\n      rulesetParams.object_data = {\n        type: BOT_TYPE_MAP[this.target],\n      };\n    }\n\n    this.router.transitionTo('apps.app.content.new', rulesetParams);\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nexport default Controller.extend({\n  queryParams: ['templateId', 'createdFrom'],\n});\n","import ContentEditorController from 'embercom/controllers/apps/app/content/edit';\nexport default ContentEditorController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly, notEmpty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\nimport moment from 'moment';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\n\nexport default Controller.extend({\n  notificationsService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  queryParams: ['rangeStart', 'rangeEnd', 'customBot'],\n  rangeStart: null,\n  rangeEnd: null,\n  customBot: null,\n  palette: PALETTE,\n  hasCustomBots: notEmpty('bots'),\n\n  actions: {\n    updateRange(range) {\n      if (range.comparisonStartIsMoreThanTwoYearsAgo) {\n        this.notificationsService.notifyWarning(\n          'We only store data for 2 years. You won’t see ‘previous period’ data before that date.',\n          5000,\n        );\n      } else if (range.comparisonStartMoment.isBefore(this.get('app.created_at'))) {\n        this.notificationsService.notifyWarning(\n          `Data starts on ${moment(this.get('app.created_at')).format(\n            dateAndTimeFormats.date,\n          )}, when your app was created. You won’t see ‘previous period’ data before that date.`,\n          5000,\n        );\n      }\n      this.setProperties({\n        rangeStart: range.start,\n        rangeEnd: range.end,\n      });\n    },\n    updateBot(botId) {\n      this.set('customBot', botId);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller, { inject as controller } from '@ember/controller';\nimport { readOnly } from '@ember/object/computed';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\n\nexport default Controller.extend({\n  parentController: controller('apps.app.operator.custom-bots.reporting'),\n  signals: readOnly('parentController.signals'),\n  range: readOnly('parentController.range'),\n  palette: PALETTE,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport BaseController from './base';\nexport default BaseController.extend();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport BaseController from './base';\nexport default BaseController.extend();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport BaseController from './base';\nexport default BaseController.extend();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  product: readOnly('app.answerBotProduct'),\n  appService: service(),\n  app: readOnly('appService.app'),\n  featureKey: 'answer_workflows',\n  launchUpgradeModal: false,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\nimport { task } from 'ember-concurrency-decorators';\nimport { inject as service } from '@ember/service';\n\nexport default class AnswerController extends Controller {\n  @service intercomEventService;\n  @service notificationsService;\n\n  @task\n  *save() {\n    let answer = this.model;\n\n    try {\n      if (answer.isDraft && !answer.hasContent) {\n        this.notificationsService.notifyError(\n          'To save a draft, you must enter a title, select an example question, or write a response.',\n        );\n        return;\n      }\n\n      this.notificationsService.clear();\n      yield answer.validate();\n\n      let isValid = answer.validations.isValid;\n\n      if (isValid) {\n        yield answer.save();\n        this.trackSaveEvent(answer);\n        this.notificationsService.notifyConfirmation('Your answer was successfully saved.');\n        yield this.transitionToRoute('apps.app.operator.resolution-bot.answers.answer.show');\n      } else {\n        answer.validations.messages.forEach(message =>\n          this.notificationsService.notifyError(message),\n        );\n      }\n    } catch (e) {\n      console.error(e);\n      this.notificationsService.notifyError(\n        \"Something went wrong and we couldn't save your answer. Please try again.\",\n      );\n    }\n  }\n\n  trackSaveEvent(answer) {\n    if (answer.isDraft || answer.isLive) {\n      this.intercomEventService.trackEvent(`answer-bot-answer-saved-${answer.status}`);\n    }\n  }\n}\n","import Controller, { inject as controller } from '@ember/controller';\n\nexport default class EditController extends Controller {\n  @controller('apps/app/operator/resolution-bot/answers/answer') answerController;\n  queryParams = ['suggestionId'];\n  suggestionId = null;\n\n  get redirectToShowPageOnCancel() {\n    if (this.previousShowPageAnswerId && this.previousShowPageAnswerId !== this.model.id) {\n      return false;\n    }\n    return this.transitionedFromAnswerShowPage;\n  }\n}\n","import Controller from '@ember/controller';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class ShowController extends Controller {\n  queryParams = ['eventType'];\n  @tracked eventType = null;\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller, { inject as controller } from '@ember/controller';\n\nexport default class ConversationsController extends Controller {\n  @controller('apps/app/operator/resolution-bot/answers/answer/show') showController;\n\n  get eventType() {\n    return this.showController.eventType;\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport { notEmpty, readOnly } from '@ember/object/computed';\nimport Controller from '@ember/controller';\nimport { task } from 'ember-concurrency';\nimport { computed } from '@ember/object';\nimport { markViewAsSeen } from 'embercom/lib/admin-view-tracking';\nimport { ANSWERS_INDEX_PAGEVIEW_KEY } from 'embercom/lib/operator/answer-bot/constants';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  queryParams: [\n    'status',\n    'language',\n    {\n      importType: 'import-type',\n      importStatus: 'import-status',\n    },\n  ],\n  status: 'all',\n  language: null,\n  importType: null,\n  importStatus: null,\n\n  appService: service(),\n  app: readOnly('appService.app'),\n  store: service(),\n  product: readOnly('app.answerBotProduct'),\n\n  settings: readOnly('model.settings'),\n  answers: readOnly('model.answers'),\n  hasSuggestedAnswerClusters: notEmpty('suggestedAnswerClusters'),\n  suggestedAnswerClusters: computed('model.suggestedAnswerClusters', 'language', function() {\n    if (this.app.canUseSuggestedAnswers) {\n      return this.model.suggestedAnswerClusters;\n    }\n\n    if (!this.language) {\n      return this.model.suggestedAnswerClusters;\n    }\n\n    return this.model.suggestedAnswerClusters.filter(\n      cluster => cluster.languageAlpha2 === this.language,\n    );\n  }),\n  hasActiveZendeskChatConversationImport: computed('model.conversationImports', function() {\n    return this.get('model.conversationImports').any(\n      conversationImport =>\n        conversationImport.get('active') && conversationImport.get('origin') === 'zendesk_chat',\n    );\n  }),\n\n  shouldShowMoreAnswersBanner: computed('model.answers.length', function() {\n    let displayableAnswers = this.get('model.answers')\n      .filterBy('fromTemplate', false)\n      .filterBy('hasContent', true);\n    return displayableAnswers.length >= 1 && displayableAnswers.length <= 10;\n  }),\n  shouldShowAutoSuggestBanner: computed(\n    'model.resolutionBotSettings.{contentSuggestions,predictiveAnswers}EnabledFor{Users,Visitors}',\n    function() {\n      return (\n        (!this.get('model.resolutionBotSettings.contentSuggestionsEnabledForUsers') &&\n          !this.get('model.resolutionBotSettings.contentSuggestionsEnabledForVisitors')) ||\n        (!this.get('model.resolutionBotSettings.predictiveAnswersEnabledForUsers') &&\n          !this.get('model.resolutionBotSettings.predictiveAnswersEnabledForVisitors'))\n      );\n    },\n  ),\n\n  loadingAnimationIsActive: false,\n\n  saveSettings: task(function*() {\n    let settings = this.settings;\n    try {\n      this.notificationsService.clear();\n      yield settings.save();\n      this.notificationsService.notifyConfirmation('Your settings were successfully saved.');\n    } catch (e) {\n      this.notificationsService.notifyError('Something went wrong. Please try again.');\n      this.settings.rollbackAttributes();\n    }\n  }),\n\n  router: service(),\n\n  actions: {\n    createAnswer() {\n      this.router.transitionTo('apps.app.operator.resolution-bot.answers.new', {\n        queryParams: {\n          language: this.language,\n        },\n      });\n    },\n\n    completeLoadingAnimation() {\n      markViewAsSeen(this.store, ANSWERS_INDEX_PAGEVIEW_KEY);\n      this.set('loadingAnimationIsActive', false);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\n\nexport default Controller.extend({\n  queryParams: ['section'],\n  intercomEventService: service(),\n  identity: readOnly('model.identity'),\n  messengerSettings: readOnly('model.messengerSettings'),\n  customBotsSettings: readOnly('model.customBotsSettings'),\n  botInboxSettings: readOnly('model.botInboxSettings'),\n  resolutionBotSettings: readOnly('model.resolutionBotSettings'),\n  resolutionBotLoopingSettings: readOnly('model.resolutionBotLoopingSettings'),\n  showImportModal: false,\n  hasActiveZendeskChatConversationImport: computed(\n    'model.conversationImports.@each.{active,origin}',\n    function() {\n      return this.model.conversationImports.any(\n        conversationImport =>\n          conversationImport.active && conversationImport.origin === 'zendesk_chat',\n      );\n    },\n  ),\n  hasActiveZendeskTicketsConversationImport: computed(\n    'model.conversationImports.@each.{active,origin}',\n    function() {\n      return this.model.conversationImports.any(\n        conversationImport =>\n          conversationImport.active && conversationImport.origin === 'zendesk_tickets',\n      );\n    },\n  ),\n\n  actions: {\n    closeModal() {\n      this.set('showImportModal', false);\n    },\n\n    completeImportFlow() {\n      this.send('refreshRoute');\n      this.send('closeModal');\n    },\n\n    openModal() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'import_conversation_history_link',\n        context: 'zendesk_chat_import',\n      });\n      this.set('showImportModal', true);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller, { inject as controller } from '@ember/controller';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport ajax from 'embercom/lib/ajax';\nimport { computed } from '@ember/object';\n\nconst TASK_NAME_MODEL_MAP = {\n  'team-availability-users': 'teamAvailability',\n  'team-availability-leads': 'teamAvailability',\n  'conversation-routing': 'conversationRouting',\n  'conversation-rating': 'conversationRating',\n  'conversation-rating-users': 'conversationRating',\n  'conversation-rating-leads': 'conversationRating',\n  'article-suggestions-users': 'articleSuggestions',\n  'article-suggestions-leads': 'articleSuggestions',\n  'article-auto-reaction-leads': 'articleAutoReaction',\n  'article-auto-reaction-users': 'articleAutoReaction',\n  'qualify-leads': 'qualifyLeads',\n  'contact-collection': 'contactCollection',\n};\n\nconst CONFIRM_NOT_SAVED = {\n  title: 'Close without saving?',\n  primaryButtonType: 'primary-destructive',\n  confirmButtonText: 'Continue without saving',\n  cancelButtonText: 'Keep editing',\n  body: \"You'll lose your changes if you don't save first.\",\n};\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  confirmService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  operatorController: controller('apps/app/operator'),\n  settings: readOnly('model'),\n  previewConfiguration: readOnly('operatorController.previewConfiguration'),\n  groupedTasks: [\n    [\n      'team-availability',\n      'conversation-routing',\n      'contact-collection',\n      'qualify-leads',\n      'article-suggestions-leads',\n    ],\n    ['article-auto-reaction'],\n    ['conversation-rating'],\n  ],\n\n  updateLeadDelayEnabled: task(function*() {\n    yield this.permissionsService.checkPermission('can_create_and_edit_bots');\n    this.toggleProperty('settings.leadDelayEnabled');\n    yield ajax({\n      url: `ember/operator_settings/lead_delay/${this.get('settings.id')}`,\n      type: 'PUT',\n      data: JSON.stringify({\n        lead_delay_enabled: this.get('settings.leadDelayEnabled'),\n      }),\n    });\n  }).drop(),\n\n  updateUserDelayEnabled: task(function*() {\n    yield this.permissionsService.checkPermission('can_create_and_edit_bots');\n    this.toggleProperty('settings.userDelayEnabled');\n    yield ajax({\n      url: `ember/operator_settings/user_delay/${this.get('settings.id')}`,\n      type: 'PUT',\n      data: JSON.stringify({\n        user_delay_enabled: this.get('settings.userDelayEnabled'),\n      }),\n    });\n  }).drop(),\n\n  previewableTasks: computed('openSectionName', function() {\n    let currentTask = this.openSectionName;\n    let taskGroups = this.groupedTasks;\n    if (currentTask === undefined) {\n      return taskGroups[0];\n    }\n    let currentGroup = taskGroups.find(group => group.includes(currentTask));\n    let currentTaskIndex = currentGroup.indexOf(currentTask);\n    return currentGroup.slice(0, currentTaskIndex + 1);\n  }),\n\n  sectionCanClose: task(function*() {\n    if (!this.currentTaskHasChanged()) {\n      return true;\n    }\n    let confirmed = yield this.confirmService.show(this, CONFIRM_NOT_SAVED);\n    if (confirmed) {\n      this.currentTask.refresh();\n      return true;\n    } else {\n      return false;\n    }\n  }),\n\n  currentTaskHasChanged() {\n    let currentTask = this.currentTask;\n    return currentTask && !currentTask.get('isNotDirty');\n  },\n\n  currentTask: computed('openSectionName', function() {\n    let taskName = TASK_NAME_MODEL_MAP[this.openSectionName];\n    return this.get(`settings.${taskName}`);\n  }),\n\n  actions: {\n    sectionDidClose() {\n      this.set('section', null);\n      this.set('openSectionName', undefined);\n    },\n    sectionDidOpen(sectionName) {\n      this.set('section', sectionName);\n      this.set('openSectionName', sectionName);\n    },\n  },\n});\n","import TaskBotBase from 'embercom/controllers/apps/app/operator/task-bots';\n\nexport default TaskBotBase.extend({\n  queryParams: ['section'],\n  groupedTasks: [\n    [\n      'team-availability-leads',\n      'conversation-routing',\n      'contact-collection',\n      'qualify-leads',\n      'article-suggestions-leads',\n    ],\n    ['article-auto-reaction-leads'],\n    ['conversation-rating-leads'],\n  ],\n});\n","import { readOnly } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport TaskBotBase from 'embercom/controllers/apps/app/operator/task-bots';\n\nexport default TaskBotBase.extend({\n  queryParams: ['section'],\n  gitHubEnabled: readOnly('app.hasEnabledGithubIntegration'),\n\n  previewUrl: computed('openSectionName', function() {\n    switch (this.openSectionName) {\n      case 'article-suggestions-inbox':\n        return '/assets/images/operator/article-suggestion-skill.png';\n      case 'github-updates':\n        return '/assets/images/operator/github-skill.png';\n      case 'duplicate-conversation-detection':\n        return '/assets/images/operator/duplicate-conversation-detection-skill.png';\n      default:\n        return '/assets/images/operator/github-skill.png';\n    }\n  }),\n});\n","import TaskBotBase from 'embercom/controllers/apps/app/operator/task-bots';\n\nexport default TaskBotBase.extend({\n  queryParams: ['section'],\n  groupedTasks: [\n    ['upfront-collection-users', 'team-availability-users', 'article-suggestions-users'],\n    ['article-auto-reaction-users'],\n    ['conversation-rating-users'],\n  ],\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly, match, not } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport RouteRegexes from 'embercom/lib/route-regexes';\n\nexport default Controller.extend({\n  appController: controller('apps/app'),\n  app: readOnly('appController.model'),\n  canUseFree: readOnly('app.canUseFree'),\n  isOnVisitorAutoMessagesRoute: match('currentPath', RouteRegexes.visitorAutoMessagesRoute),\n  notOnVisitorAutoMessagesRoute: not('isOnVisitorAutoMessagesRoute'),\n  product: readOnly('app.messagesProduct'),\n  showSearch: false,\n  applicationController: controller('application'),\n  currentPath: readOnly('applicationController.currentPath'),\n  actions: {\n    toggleSearch() {\n      this.toggleProperty('showSearch');\n      if (this.showSearch) {\n        this.transitionToRoute(this._searchTransitionRoute());\n      } else {\n        this.transitionToRoute(this._searchExitTransitionRoute(), { queryParams: {} });\n      }\n    },\n  },\n\n  _searchTransitionRoute() {\n    let currentPath = this.currentPath;\n    if (this.get('app.canUseContentOrientedNavigation')) {\n      return 'apps.app.outbound.search';\n    } else if (currentPath.startsWith('apps.app.outbound.messages.auto')) {\n      return 'apps.app.outbound.messages.auto.search';\n    } else if (currentPath.startsWith('apps.app.outbound.messages.visitor-auto')) {\n      return 'apps.app.outbound.messages.visitor-auto.search';\n    } else if (currentPath.startsWith('apps.app.outbound.messages.manual')) {\n      return 'apps.app.outbound.messages.manual.search';\n    } else {\n      return 'apps.app.outbound.messages.auto.search';\n    }\n  },\n  _searchExitTransitionRoute() {\n    let currentPath = this.currentPath;\n    if (this.get('app.canUseContentOrientedNavigation')) {\n      return 'apps.app.outbound.all';\n    } else if (currentPath.startsWith('apps.app.outbound.messages.auto.search')) {\n      return 'apps.app.outbound.messages.auto.all';\n    } else if (currentPath.startsWith('apps.app.outbound.messages.visitor-auto.search')) {\n      return 'apps.app.outbound.messages.visitor-auto.live';\n    } else if (currentPath.startsWith('apps.app.outbound.messages.manual.search')) {\n      return 'apps.app.outbound.messages.manual.sent';\n    } else {\n      return 'apps.app.outbound.messages.auto.all';\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport OutboundBaseListController from 'embercom/lib/outbound/base-list-controller';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport { getAutoplayUrlForWistiaId } from '@intercom/embercom-core/lib/wistia-url';\n\nconst MESSAGES_TOUR_ID = 62661;\n\nexport default OutboundBaseListController.extend({\n  ongoingMessagesVideoUrl: getAutoplayUrlForWistiaId('mo33ei9e1o'),\n  appService: service(),\n  outboundHomeService: service(),\n  bannerData: computed(function() {\n    let links = [\n      {\n        description: 'How to get started',\n        target:\n          'https://www.intercom.com/help/en/articles/3292835-get-started-with-intercom-messages',\n        analyticsObject: 'how_to_get_started_link',\n      },\n      {\n        description: 'Watch a video',\n        wistiaId: 'mo33ei9e1o',\n        videoTitle: 'Create ongoing messages',\n        analyticsObject: 'how_messages_work_link',\n      },\n      {\n        description: 'Take a tour',\n        tourId: MESSAGES_TOUR_ID,\n        analyticsObject: 'messages_tour_link',\n      },\n    ];\n\n    return {\n      pageTitle: 'All messages',\n      button: 'New message',\n      icon: 'outbound',\n      description:\n        'Drive growth with targeted messages that increase sales, tours to onboard new users, and more.',\n      links,\n    };\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport { A } from '@ember/array';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { computed } from '@ember/object';\nimport {\n  alias,\n  and,\n  equal,\n  filterBy,\n  mapBy,\n  not,\n  or,\n  readOnly,\n  reads,\n} from '@ember/object/computed';\nimport { schedule } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport {\n  equalToProperty,\n  lessThanProperty,\n  notEqualToProperty,\n  selectFromObject,\n  ternary,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport EmberDataMessageListMixin from 'embercom/controllers/mixins/messages/ember-data-message-list';\nimport FolderExportActions from 'embercom/controllers/mixins/messages/folder-export-actions';\nimport MessageListSearch from 'embercom/controllers/mixins/messages/message-list-search';\nimport ListSelection from 'embercom/controllers/mixins/users-and-companies/list-selection';\nimport ajax from 'embercom/lib/ajax';\nimport { updateMessageCountsForAppAndType } from 'embercom/lib/messages/message-counts';\nimport nonconcurrentAjax from 'embercom/lib/nonconcurrent-ajax';\nimport MessageListStats from 'embercom/mixins/messages/message-list-stats';\nimport $ from 'jquery';\nimport { allSettled } from 'rsvp';\n\nexport default Controller.extend(\n  EmberDataMessageListMixin,\n  ListSelection,\n  MessageListSearch,\n  MessageListStats,\n  FolderExportActions,\n  {\n    appController: controller('apps/app'),\n    notificationsService: service(),\n    customer: readOnly('app.customer'),\n    latestQuarterlyActivePeopleCount: readOnly('customer.latestQuarterlyActivePeopleCount'),\n    product: readOnly('app.messagesProduct'),\n    queryParams: ['search_term', 'admin_id', 'sort_by', 'sort_direction', 'audience'],\n\n    applicationController: controller('application'),\n    app: alias('appController.model'),\n    currentAdminId: reads('app.currentAdmin.id'),\n\n    pageTitle: ternary('isUserAudience', 'User auto messages', 'Visitor auto messages'),\n\n    selected: filterBy('messages', 'selected', true),\n    selectedMessagesWithFolder: filterBy('selected', 'belongsToFolder', true),\n    sortingLimitTooltipText: 'Sorting by message stats is limited to 400 messages',\n\n    anySelectedMessageHasComplexPredicates: computed('selected', function() {\n      return this.selected.any(message => {\n        return !message.selectionState.hasSimplePredicates;\n      });\n    }),\n\n    stateCount: computed('app.allAutoMessageCount', 'state', function() {\n      return this.get(`app.${this.state}AutoMessageCount`);\n    }),\n\n    messageRoute: 'apps.app.outbound.messages.auto.message',\n    newUserAutoMessageRoute: 'apps.app.outbound.messages.auto.new',\n    newVisitorAutoMessageRoute: 'apps.app.outbound.messages.visitor-auto.new',\n    isSalesSolutionApp: equal('app.signedUpWithSolution.key', 'live_chat_sales'),\n\n    selectedIds: mapBy('selected', 'id'),\n    isLoadingFirstPageEmberData: or('sortTask.isRunning', 'searchTask.isRunning'),\n    isLoadingFirstPage: ternaryToProperty(\n      'localSortEnabled',\n      'query.isLoadingFirstPage',\n      'isLoadingFirstPageEmberData',\n    ),\n    isLoadingFirstPageOrRemoteData: or(\n      'isLoadingFirstPage',\n      'query.hasStartedRemoteLoadingAndHasNotCompleted',\n    ),\n    sort_by: 'created_at',\n    defaultSortBy: 'created_at',\n    sort_direction: 'desc',\n    isSortingInDescendingOrder: equal('sort_direction', 'desc'),\n    alternateSortingDirection: ternary('isSortingInDescendingOrder', 'asc', 'desc'),\n    sortableStats: A([\n      'sent_count',\n      'opened_count',\n      'goal_count',\n      'replied_count',\n      'clicked_count',\n      'unsubscribed_count',\n      'failed_count',\n      'last_sent',\n    ]),\n    isAllView: equal('state', 'all'),\n    isNotAllView: not('isAllView'),\n    isLiveView: equal('state', 'live'),\n    isStoppedView: equal('state', 'stopped'),\n    isDraftView: equal('state', 'draft'),\n    isScheduledView: equal('state', 'scheduled'),\n    isDraftOrScheduledView: or('isDraftView', 'isScheduledView'),\n    isYourView: false,\n    localSortEnabled: true,\n\n    isSortingBySent: equal('query.sortableStat', 'sent_count'),\n    isSortingByOpened: equal('query.sortableStat', 'opened_count'),\n    isSortingByReplied: equal('query.sortableStat', 'replied_count'),\n    isSortingByClicks: equal('query.sortableStat', 'clicked_count'),\n    isSortingByFailed: equal('query.sortableStat', 'failed_count'),\n    isSortingByGoal: equal('query.sortableStat', 'goal_count'),\n    isSortingByLastSent: equal('query.sortableStat', 'last_sent'),\n    isNotSortingByStats: not('query.sortableStat'),\n    sortByTitle: equal('sort_by', 'title'),\n    isSortingByTitle: and('sortByTitle', 'isNotSortingByStats'),\n    sortByCreatedAt: equal('sort_by', 'created_at'),\n    isSortingByCreatedAt: and('sortByCreatedAt', 'isNotSortingByStats'),\n    sortByWentLiveAt: equal('sort_by', 'went_live_at'),\n    isSortingByWentLiveAt: and('sortByWentLiveAt', 'isNotSortingByStats'),\n    sortByStoppedAt: equal('sort_by', 'stopped_at'),\n    isSortingByStoppedAt: and('sortByStoppedAt', 'isNotSortingByStats'),\n    sortBySendAt: equal('sort_by', 'send_at'),\n    isSortingBySendAt: and('sortBySendAt', 'isNotSortingByStats'),\n    messages: ternaryToProperty('localSortEnabled', 'query.displayedMessages', 'model'),\n    totalMessageCount: ternaryToProperty(\n      'localSortEnabled',\n      'query.totalMessageCount',\n      'totalMessages',\n    ),\n    visitorType: 'visitor_auto',\n    userType: 'auto',\n    type: ternaryToProperty('isUserAudience', 'userType', 'visitorType'),\n    defaultAudience: 'users',\n    visitorAudience: 'visitors',\n    isUserAudience: notEqualToProperty('audience', 'visitorAudience'),\n    targetedAudience: ternaryToProperty('isUserAudience', 'defaultAudience', 'audience'),\n    isVisitorAudience: equalToProperty('targetedAudience', 'visitorAudience'),\n    emptyStateLabels: {\n      all: 'No auto messages',\n      live: 'No live auto messages',\n      stopped: 'No paused auto messages',\n      scheduled: 'No scheduled auto messages',\n      draft: 'No draft auto messages',\n    },\n\n    allMessageRoute: ternary(\n      'isUserAudience',\n      'apps.app.outbound.messages.auto.all',\n      'apps.app.outbound.messages.visitor-auto.all',\n    ),\n    liveMessageRoute: ternary(\n      'isUserAudience',\n      'apps.app.outbound.messages.auto.live',\n      'apps.app.outbound.messages.visitor-auto.live',\n    ),\n    draftMessageRoute: ternary(\n      'isUserAudience',\n      'apps.app.outbound.messages.auto.draft',\n      'apps.app.outbound.messages.visitor-auto.draft',\n    ),\n    pausedMessageRoute: ternary(\n      'isUserAudience',\n      'apps.app.outbound.messages.auto.paused',\n      'apps.app.outbound.messages.visitor-auto.paused',\n    ),\n    ownedByAdminMessageRoute: ternary(\n      'isUserAudience',\n      'apps.app.outbound.messages.auto.yours',\n      'apps.app.outbound.messages.visitor-auto.yours',\n    ),\n    scheduledMessageRoute: ternary(\n      'isUserAudience',\n      'apps.app.outbound.messages.auto.scheduled',\n      'apps.app.outbound.messages.visitor-auto.scheduled',\n    ),\n    userAutoMessageSearchRoute: 'apps.app.outbound.messages.auto.search',\n    visitorAutoMessageSearchRoute: 'apps.app.outbound.messages.visitor-auto.search',\n    manualMessageSearchRoute: 'apps.app.outbound.messages.manual.search',\n\n    allMessageCount: ternaryToProperty(\n      'isUserAudience',\n      'app.allAutoMessageCount',\n      'app.allVisitorAutoMessageCount',\n    ),\n    liveMessageCount: ternaryToProperty(\n      'isUserAudience',\n      'app.liveAutoMessageCount',\n      'app.liveVisitorAutoMessageCount',\n    ),\n    stoppedMessageCount: ternaryToProperty(\n      'isUserAudience',\n      'app.stoppedAutoMessageCount',\n      'app.stoppedVisitorAutoMessageCount',\n    ),\n    scheduledMessageCount: ternaryToProperty(\n      'isUserAudience',\n      'app.scheduledAutoMessageCount',\n      'app.scheduledVisitorAutoMessageCount',\n    ),\n    pausedMessageCount: ternaryToProperty(\n      'isUserAudience',\n      'app.pausedAutoMessageCount',\n      'app.pausedVisitorAutoMessageCount',\n    ),\n    draftMessageCount: ternaryToProperty(\n      'isUserAudience',\n      'app.draftAutoMessageCount',\n      'app.draftVisitorAutoMessageCount',\n    ),\n    hasNoLiveMessages: equal('liveMessageCount', 0),\n    hasNoStoppedMessages: equal('stoppedMessageCount', 0),\n    hasNoLiveOrStoppedMessages: and('hasNoLiveMessages', 'hasNoStoppedMessages'),\n    ownedByAdminMessageCount: ternaryToProperty(\n      'isUserAudience',\n      'app.ownedByAdminAutoMessageCount',\n      'app.ownedByAdminVisitorAutoMessageCount',\n    ),\n    newMessageTransitionAction: ternary(\n      'isVisitorAudience',\n      'transitionToNewVamCreation',\n      'transitionToNewAutoMessage',\n    ),\n    emptyStateLabel: selectFromObject('emptyStateLabels', 'state'),\n    hasNoMessagesToLoad: equal('messages.length', 0),\n    hasNoItemsToDisplay: ternaryToProperty(\n      'localSortEnabled',\n      'query.hasNoMessagesToDisplay',\n      'hasNoMessagesToLoad',\n    ),\n\n    reset() {\n      schedule('afterRender', () => {\n        this.intercomEventService.trackEvent(`visited-${this.audience}-auto-message-list`);\n        this.resetSearchTermInput();\n        $('#js__message-list-legacy__outer-container').scrollTop(0);\n        if (this.sortableStats.includes(this.sort_by)) {\n          this.set('sort_by', this.defaultSortBy);\n        }\n        if (this.localSortEnabled) {\n          this.query.reset();\n          this.setProperties({\n            'query.localSortDisabled': true,\n            'query.sortAfterLoad': false,\n            'query.sortableStat': null,\n          });\n\n          this.query.setQueryParams({\n            type: this.type,\n            state: this.state,\n            sort_by: this.sort_by,\n            sort_direction: this.sort_direction,\n            message_group_id: this.folderId,\n            search_term: this.gatedSearchTerm,\n            current_admin_id: this.admin_id,\n          });\n\n          this.query.nextPage();\n        }\n        updateMessageCountsForAppAndType(this.app, this.type);\n      });\n    },\n    pageCount: 1,\n    totalMessages: 0,\n    hasNotLoadedAllRemoteData: lessThanProperty('messages.length', 'totalMessages'),\n\n    _removeDisplayedMessages(selectedIds) {\n      if (this.localSortEnabled) {\n        this.query.removeDisplayedMessages(selectedIds);\n      } else {\n        let messagesToRemove = this.messages.filter(message =>\n          selectedIds.includes(message.get('id')),\n        );\n        this.messages.removeObjects(messagesToRemove);\n        this.decrementProperty('totalMessages', messagesToRemove.length);\n      }\n    },\n\n    removeMessagesFromFolder(folder, messageIds) {\n      return ajax({\n        url: '/ember/message_folders/remove',\n        type: 'POST',\n        data: JSON.stringify({\n          id: folder.get('id'),\n          app_id: this.get('app.id'),\n          message_ids: messageIds,\n        }),\n      });\n    },\n\n    addMessagesToFolder(folder, messageIds) {\n      return nonconcurrentAjax(this, {\n        url: '/ember/message_folders/add',\n        type: 'POST',\n        data: JSON.stringify({\n          id: folder.get('id'),\n          app_id: this.get('app.id'),\n          message_ids: messageIds,\n        }),\n      });\n    },\n\n    actions: {\n      sortByColumn(columnName) {\n        this.intercomEventService.trackEvent('message-list-sort', {\n          type: this.type,\n          sort_column: columnName,\n        });\n        if (!this.localSortEnabled) {\n          this.sortTask.perform(columnName);\n        } else if (this.sortableStats.includes(columnName)) {\n          if (this.get('query.sortableStat') === columnName) {\n            this._changeSortDirection();\n          } else {\n            let forceReload = this.get('query.localSortDisabled');\n            this.setProperties({\n              sort_by: this.defaultSortBy,\n              'query.localSortDisabled': false,\n              'query.sortableStat': columnName,\n              'query.sortAfterLoad': true,\n            });\n            if (!this.get('query.hasLoadedAllRemoteData') || forceReload) {\n              if (this.localSortEnabled) {\n                this.query.reset();\n                this.query.nextPage();\n              }\n            }\n          }\n        } else if (this.sort_by === columnName) {\n          this._changeSortDirection();\n        } else {\n          this.setProperties({\n            sort_by: columnName,\n            sort_direction: 'desc',\n          });\n          this.reset();\n        }\n      },\n      transitionToNewMessage() {\n        if (this.isUserAudience) {\n          this.set('showCreateMessageModal', true);\n        } else {\n          this.send('createNewMessage');\n        }\n      },\n      createNewMessage(type = null, deliveryChannel = null) {\n        this.set('showCreateMessageModal', false);\n        this.send(this.newMessageTransitionAction, type, deliveryChannel);\n        this.intercomEventService.trackEvent('create-new-message', {\n          type: this.type,\n        });\n      },\n      transitionToNewAutoMessage(type, deliveryChannel) {\n        this.permissionsService.checkPermission('can_send_messages').then(() => {\n          this.transitionToRoute(this.newUserAutoMessageRoute, {\n            queryParams: { type, deliveryChannel },\n          });\n        });\n      },\n      transitionToNewVamCreation() {\n        this.transitionToRoute(this.newVisitorAutoMessageRoute);\n      },\n      searchAllMessages(searchTerm, adminId) {\n        if (this.isAllView && !this.inFolderView) {\n          this.set('search_term', searchTerm);\n          this.set('admin_id', adminId);\n          this.reset();\n        } else {\n          let queryParams = { admin_id: '', search_term: '' };\n          if (adminId) {\n            queryParams.admin_id = adminId;\n          } else {\n            queryParams.search_term = searchTerm;\n          }\n          let redirectRoute = this.isUserAudience\n            ? 'apps.app.outbound.messages.auto.all'\n            : 'apps.app.outbound.messages.visitor-auto.all';\n          this.replaceRoute(redirectRoute, { queryParams });\n        }\n      },\n      resetSearchTerm() {\n        this.setProperties({\n          search_term_input: '',\n          search_term: '',\n          admin_id: '',\n        });\n        this.reset();\n        this.send('clickedSidebarOption', 'all');\n      },\n      nextPage() {\n        if (this.localSortEnabled) {\n          this.query.nextPage();\n        } else {\n          this.nextPageTask.perform();\n        }\n      },\n      assignMessagesToFolder(folder) {\n        let selectedIds = this.selectedIds;\n        this.addMessagesToFolder(folder, selectedIds)\n          .then(() => {\n            this.intercomEventService.trackEvent('message-folder-assigned-messages', {\n              folder_name: folder.get('name'),\n              message_count: selectedIds.length,\n            });\n\n            let hasMultipleMessages = this.get('selected.length') > 1;\n            this.notificationsService.notifyConfirmationWithModelAndPartial(\n              { folder, multipleMessages: hasMultipleMessages },\n              'notifications/folders/message-addition',\n            );\n\n            this.selected.setEach('folder', folder);\n            this.messages.setEach('selected', false);\n            if (this.inFolderView) {\n              this.reset();\n            } else {\n              updateMessageCountsForAppAndType(this.app, 'auto');\n            }\n          })\n          .catch(err =>\n            this.notificationsService.notifyResponseError(err, {\n              default: `Couldn't move your messages to '${folder.get(\n                'name',\n              )}. Send us a message and we'll do our best to help out.`,\n            }),\n          );\n      },\n      assignMessagesToCampaign(campaignSummary) {\n        let selectedIds = this.selectedIds;\n        this.store\n          .findRecord('campaign', campaignSummary.id)\n          .then(campaign => {\n            campaign\n              .assignMessages(selectedIds)\n              .then(() => {\n                this.notificationsService.notifyConfirmation(\n                  `Successfully moved messages to '${campaign.get('title')}'`,\n                );\n                this.messages.setEach('selected', false);\n                this.reset();\n              })\n              .catch(err =>\n                this.notificationsService.notifyResponseError(err, {\n                  default: `Couldn't move your messages to '${campaign.get(\n                    'title',\n                  )}'. Send us a message and we'll do our best to help out.`,\n                }),\n              );\n          })\n          .catch(err =>\n            this.notificationsService.notifyResponseError(err, {\n              default: `Couldn't move your messages to '${campaignSummary.get(\n                'title',\n              )}'. Send us a message and we'll do our best to help out.`,\n            }),\n          );\n      },\n      removeMessagesFromSingleFolder(folder) {\n        let selectedIds = this.selectedIds;\n        let selectedIdsClone = this.selectedIds.slice(0);\n        this.removeMessagesFromFolder(folder, selectedIds)\n          .then(() => {\n            this.intercomEventService.trackEvent('message-folder-removed-messages', {\n              folder_name: folder.get('name'),\n              message_count: selectedIds.length,\n            });\n\n            let hasMultipleMessages = this.get('selected.length') > 1;\n            this.notificationsService.notifyConfirmationWithModelAndPartial(\n              { folder, multipleMessages: hasMultipleMessages },\n              'notifications/folders/message-removal',\n            );\n\n            this.selected.setEach('folder', null);\n            this.messages.setEach('selected', false);\n            updateMessageCountsForAppAndType(this.app, 'auto');\n            if (this.inFolderView) {\n              this._removeDisplayedMessages(selectedIdsClone);\n            }\n          })\n          .catch(err =>\n            this.notificationsService.notifyResponseError(err, {\n              default: `Couldn't remove your messages from \"${folder.get(\n                'name',\n              )}. Send us a message and we'll do our best to help out.`,\n            }),\n          );\n      },\n      removeMessagesFromMultipleFolders(folders) {\n        let removalRequests = [];\n        folders.forEach(folder => {\n          let messageIdsForFolder = this.selected\n            .filterBy('folder.id', folder.get('id'))\n            .mapBy('id');\n          removalRequests.push(this.removeMessagesFromFolder(folder, messageIdsForFolder));\n        });\n        allSettled(removalRequests).then(\n          function(responses) {\n            if (responses.filterBy('state', 'rejected') > 0) {\n              this.notificationsService.notifyError(\n                \"Couldn't remove all the messages from their folders\",\n              );\n            } else {\n              this.notificationsService.notifyConfirmation(\n                'Those messages were removed from their folders',\n              );\n              this.selected.setEach('folder', null);\n              this.messages.setEach('selected', false);\n              updateMessageCountsForAppAndType(this.app, 'auto');\n            }\n          }.bind(this),\n        );\n      },\n      clickedStatsColumn(stat) {\n        this.intercomEventService.trackEvent('message-list-stat-click', {\n          stat,\n          type: this.type,\n        });\n      },\n      clickedSidebarOption(option) {\n        this.intercomEventService.trackEvent('message-state-sidebar', {\n          message_section: option,\n          type: this.type,\n        });\n      },\n    },\n  },\n);\n","import ContentEditorController from 'embercom/controllers/apps/app/content/edit';\nexport default ContentEditorController;\n","import OutboundBaseListController from 'embercom/lib/outbound/base-list-controller';\nimport {\n  objectTypes,\n  objectIcons,\n  objectInterfaceIcons,\n} from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class AppsAppOutboundBannerIndexController extends OutboundBaseListController {\n  bannerData = {\n    pageTitle: 'Banners',\n    button: 'New banner',\n    icon: objectIcons[objectTypes.banner],\n    interfaceIcon: objectInterfaceIcons[objectTypes.banner],\n    selectedObjectType: objectTypes.banner,\n    description: 'Engage your customers with targeted announcements, updates, tips, and more.',\n  };\n}\n","import ContentEditorController from 'embercom/controllers/apps/app/content/edit';\nexport default ContentEditorController;\n","import OutboundBaseListController from 'embercom/lib/outbound/base-list-controller';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nconst CAROUSELS_TOUR_ID = 129794;\n\nexport default class AppsAppOutboundCarouselIndexController extends OutboundBaseListController {\n  bannerData = {\n    pageTitle: 'Mobile Carousels',\n    button: 'New mobile carousel',\n    icon: 'carousel-filled',\n    selectedObjectType: objectTypes.carousel,\n    description:\n      'Onboard, engage, and support customers with rich, multi-screen messages for mobile apps',\n    links: [\n      {\n        description: 'Learn more about Mobile Carousels',\n        target:\n          'https://www.intercom.com/help/en/articles/4164164-onboard-and-nurture-your-app-users-with-mobile-carousels',\n        analyticsObject: 'learn_more_about_carousels_link',\n      },\n      {\n        description: 'Learn about requesting device permissions',\n        target:\n          'https://www.intercom.com/help/en/articles/4164612-design-and-build-a-mobile-carousel#things-to-note-about-requesting-device-permissions',\n        analyticsObject: 'how_pushes_work_link',\n      },\n      {\n        description: 'Take a tour',\n        tourId: CAROUSELS_TOUR_ID,\n        analyticsObject: 'carousels_tour_link',\n      },\n    ],\n  };\n}\n","import ContentEditorController from 'embercom/controllers/apps/app/content/edit';\nexport default ContentEditorController;\n","import OutboundBaseListController from 'embercom/lib/outbound/base-list-controller';\nimport {\n  objectIcons,\n  objectTypes,\n  objectInterfaceIcons,\n} from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class AppsAppOutboundChatIndexController extends OutboundBaseListController {\n  bannerData = {\n    pageTitle: 'Chats',\n    button: 'New chat',\n    icon: objectIcons[objectTypes.chat],\n    interfaceIcon: objectInterfaceIcons[objectTypes.chat],\n    selectedObjectType: objectTypes.chat,\n    description: 'Start conversations with your customers directly from the Intercom Messenger.',\n    links: [\n      {\n        description: 'How to get started',\n        target:\n          'https://www.intercom.com/help/en/articles/3292781-get-started-with-in-app-messages',\n      },\n      {\n        description: 'Learn how Chats work',\n        target:\n          'https://www.intercom.com/help/en/articles/1729-setting-up-in-app-messages-for-maximum-impact',\n      },\n    ],\n  };\n}\n","import ContentEditorController from 'embercom/controllers/apps/app/content/edit';\nexport default ContentEditorController;\n","import OutboundBaseListController from 'embercom/lib/outbound/base-list-controller';\nimport {\n  objectIcons,\n  objectTypes,\n  objectInterfaceIcons,\n} from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class AppsAppOutboundCustomBotIndexController extends OutboundBaseListController {\n  featureKey = 'bot_workflows';\n  launchUpgradeModal = false;\n  bannerData = {\n    pageTitle: 'Custom Bots',\n    button: 'New Custom Bot',\n    icon: objectIcons[objectTypes.customBot],\n    interfaceIcon: objectInterfaceIcons[objectTypes.customBot],\n    selectedObjectType: objectTypes.customBot,\n    description:\n      'Custom Bots are always available. Qualify leads, book meetings, proactively support customers and triage conversations automatically.',\n    links: [\n      {\n        description: 'How to build a bot',\n        wistiaId: 'o46b1pfczt',\n      },\n      {\n        description: 'How bots work',\n        target:\n          'https://www.intercom.com/help/en/articles/2216447-crush-your-number-with-custom-bots',\n      },\n      {\n        description: 'Step-by-step guides',\n        target:\n          'https://www.intercom.com/help/en/collections/2094721-automating-interactions-with-custom-bots#custom-bot-examples-and-best-practices',\n      },\n    ],\n  };\n}\n","import ContentEditorController from 'embercom/controllers/apps/app/content/edit';\nexport default ContentEditorController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport OutboundBaseListController from 'embercom/lib/outbound/base-list-controller';\nimport { inject as service } from '@ember/service';\nimport {\n  objectTypes,\n  objectInterfaceIcons,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { computed } from '@ember/object';\n\nconst MESSAGES_TOUR_ID = 62661;\n\nexport default OutboundBaseListController.extend({\n  appService: service(),\n  outboundHomeService: service(),\n  bannerData: computed('appService.app.canUseEmailInOutboundHome', function() {\n    return {\n      pageTitle: 'Emails',\n      button: 'New email',\n      interfaceIcon: objectInterfaceIcons[objectTypes.email],\n      icon: 'email-filled',\n      selectedObjectType: this.appService.app.canUseEmailInOutboundHome\n        ? objectTypes.email\n        : objectTypes.legacyMessageEmail,\n      description:\n        'Re-engage customers who are inactive or offline to bring them back into your product.',\n      links: [\n        {\n          description: 'How to get started',\n          target: 'https://www.intercom.com/help/en/articles/3292845-get-started-sending-emails',\n          analyticsObject: 'how_to_get_started_link',\n        },\n        {\n          description: 'Learn how email works',\n          target: 'https://www.intercom.com/help/en/collections/2091415-sending-effective-emails',\n          analyticsObject: 'how_emails_work_link',\n        },\n        {\n          description: 'Take a tour',\n          tourId: MESSAGES_TOUR_ID,\n          analyticsObject: 'messages_tour_link',\n        },\n      ],\n    };\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/use-brace-expansion */\nimport { computed, observer } from '@ember/object';\nimport { readOnly, reads, equal, or, and } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport {\n  applyFunction,\n  htmlSafe,\n  templateString,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport numericFormatter from 'embercom/lib/numeric-formatter';\nimport InsightsBaseController from 'embercom/controllers/base/insights';\nimport LeadConversationStatsMixin from 'embercom/mixins/insights/lead-conversation-stats';\nimport insightsMessagesChartTooltipFormatter from 'embercom/lib/insights/messages-chart-tooltip-formatter';\nimport Signal from 'embercom/models/reporting/signal';\nimport moment from 'moment';\nimport Range from 'embercom/models/reporting/range';\n\nexport default InsightsBaseController.extend(LeadConversationStatsMixin, {\n  intercomEventService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  permissionsService: service(),\n  appService: service(),\n\n  product: readOnly('app.messagesProduct'),\n  modelName: 'insights/messages',\n  emailOrInApp: 'in-app',\n  userOrVisitor: 'user',\n  sortBy: 'clicked',\n\n  page: computed('userOrVisitor', function() {\n    if (this.userOrVisitor === 'user') {\n      return 'engage';\n    } else {\n      return 'visitor-auto-message';\n    }\n  }),\n  messageType: computed('userOrVisitor', 'emailOrInApp', function() {\n    if (this.userOrVisitor === 'user') {\n      return this.emailOrInApp;\n    } else {\n      return 'visitor auto message';\n    }\n  }),\n\n  conversationsChartData: reads('model.conversationsChartSeriesData'),\n  conversationsChartTitleUnsafe: templateString(\n    '<span class=\"t__h2\">${formattedMessageCount} messages</span> were sent <span class=\"t__h2\">${formattedConversationCount} times</span> in the last ${interval} days',\n  ),\n  conversationsChartTitle: htmlSafe('conversationsChartTitleUnsafe'),\n  conversationsChartColors: ['#334BFA'],\n  conversationsChartHoverColors: ['#2a76ff'],\n\n  formattedMessageCount: applyFunction(numericFormatter, 'model.messageCount'),\n  formattedConversationCount: applyFunction(numericFormatter, 'model.conversationCount'),\n\n  hasNoContentInInterval: equal('model.messageCount', 0),\n  showDummyContent: or('isLoading', 'hasNoContentInInterval', 'hasNoConversations'),\n\n  showNoContentCard: and('hasNoContentInInterval', 'isNotLoading', 'model.has_any_conversations'),\n\n  signal: computed('isLoading', 'model', 'model.daily_stats_as_signal', function() {\n    let signal = this.get('model.daily_stats_as_signal');\n    if (signal === undefined) {\n      return {};\n    }\n    return Signal.create({\n      valueUnit: 'sends',\n      aggregations: [],\n      timezone: this.get('app.timezone'),\n      name: 'Sends',\n      originalValue: signal.value,\n      originalContext: signal.context,\n      datePickerRangeStart: moment().subtract(7, 'days'),\n      datePickerRangeEnd: moment(),\n    });\n  }),\n\n  range: computed('interval', function() {\n    return new Range(moment().subtract(this.interval, 'days'), moment(), this.get('app.timezone'));\n  }),\n\n  displayedStats: computed('userOrVisitor', 'emailOrInApp', function() {\n    let stats;\n    if (this.userOrVisitor === 'visitor') {\n      stats = this.vamDisplayedStats;\n    }\n    if (this.emailOrInApp === 'email') {\n      stats = this.emailUAMDisplayedStats;\n    }\n    if (this.emailOrInApp === 'in-app') {\n      stats = this.inappUAMDisplayedStats;\n    }\n    return stats;\n  }),\n\n  variationStats: computed(\n    'userOrVisitor',\n    'emailOrInApp',\n    'model.formatted_global_stats',\n    'model.email_variation_stats',\n    'model.inapp_variation_stats',\n    function() {\n      if (this.userOrVisitor === 'visitor') {\n        return this.vamVariationStats;\n      }\n\n      let statType = this.emailOrInApp.replace('-', '_');\n      let path = `${statType}_variation_stats`;\n      let stats = this.get(`model.${path}`) || [];\n      let globalStats = this.get(`model.formatted_global_stats.${statType}`);\n      stats = stats.toArray();\n\n      if (globalStats) {\n        stats.push(globalStats);\n      }\n      return stats;\n    },\n  ),\n  variationStatsTitle: 'How are our messages performing?',\n\n  statTypeDidChange: observer({\n    dependentKeys: ['emailOrInApp'],\n\n    fn() {\n      let statType = this.emailOrInApp;\n      this.trackStatTypeChange();\n      if (statType === 'email') {\n        this.set('sortBy', 'opened');\n      } else {\n        this.set('sortBy', 'clicked');\n      }\n    },\n\n    sync: true,\n  }),\n\n  trackStatTypeChange() {\n    this.intercomEventService.trackEvent('engage-insights-change-type', {\n      type: this.emailOrInApp,\n    });\n  },\n\n  tooltipFormatter() {\n    return insightsMessagesChartTooltipFormatter.apply(this);\n  },\n\n  trackPageLoad() {\n    this.intercomEventService.trackEvent('engage-insights-loaded', {\n      interval: this.interval,\n    });\n  },\n\n  // Leads\n  vamDisplayedStats: [\n    {\n      name: 'Sent',\n      path: 'sent',\n      icon: 'person',\n      color: 'outbound__recipients-stat',\n    },\n    {\n      name: 'Open',\n      path: 'opened',\n      icon: 'visible',\n      color: 'outbound__opens-stat',\n    },\n    {\n      name: 'Replied',\n      path: 'replied',\n      icon: 'conversation',\n      color: 'outbound__replies-stat',\n    },\n    {\n      name: 'Goal',\n      path: 'goalPercentage',\n      icon: 'goals',\n      color: 'outbound__goal-stat',\n    },\n  ],\n\n  emailUAMDisplayedStats: [\n    {\n      name: 'Sent',\n      path: 'sent',\n      icon: 'person',\n      color: 'outbound__recipients-stat',\n    },\n    {\n      name: 'Opened',\n      path: 'opened',\n      icon: 'visible',\n      color: 'outbound__opens-stat',\n    },\n    {\n      name: 'Clicked',\n      path: 'clicked',\n      icon: 'cursor',\n      color: 'outbound__clicks-stat',\n    },\n    {\n      name: 'Unsubs',\n      path: 'unsubscribed',\n      icon: 'unsubscribed',\n      color: 'outbound__unsubscribes-stat',\n    },\n    {\n      name: 'Goal',\n      path: 'goalPercentage',\n      icon: 'goals',\n      color: 'outbound__goal-stat',\n    },\n  ],\n\n  inappUAMDisplayedStats: [\n    {\n      name: 'Sent',\n      path: 'sent',\n      icon: 'person',\n      color: 'outbound__recipients-stat',\n    },\n    {\n      name: 'Opened',\n      path: 'opened',\n      icon: 'visible',\n      color: 'outbound__opens-stat',\n    },\n    {\n      name: 'Clicked',\n      path: 'clicked',\n      icon: 'cursor',\n      color: 'outbound__clicks-stat',\n    },\n    {\n      name: 'Goal',\n      path: 'goalPercentage',\n      icon: 'goals',\n      color: 'outbound__goal-stat',\n    },\n  ],\n\n  actions: {\n    downloadCSV() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'downlod_engage_insights_csv',\n      });\n\n      let appId = this.get('appService.app.id');\n      let interval = this.interval;\n      let src = `/ember/insights/engage.csv?app_id=${appId}&interval=${interval}`;\n\n      window.location = src;\n    },\n\n    onChannelSelectionChange(newChannel) {\n      this.set('emailOrInApp', newChannel);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport OutboundBaseListController from 'embercom/lib/outbound/base-list-controller';\nimport { inject as service } from '@ember/service';\nimport { getOwner } from '@ember/application';\n\nexport default OutboundBaseListController.extend({\n  router: service(),\n  messagesTags: [],\n\n  init() {\n    this._super(...arguments);\n    this.router.on('routeWillChange', transition => {\n      if (transition.targetName) {\n        let controller = getOwner(this).lookup(`controller:${transition.targetName}`);\n        if (controller && controller.bannerData) {\n          this.set('bannerData', controller.bannerData);\n        }\n      }\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\nimport { A } from '@ember/array';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { observer } from '@ember/object';\nimport { alias, and, equal, or, reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport {\n  lessThanProperty,\n  selectFromObject,\n  ternary,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport EmberDataMessageListMixin from 'embercom/controllers/mixins/messages/ember-data-message-list';\nimport MessageListSearch from 'embercom/controllers/mixins/messages/message-list-search';\nimport ListSelection from 'embercom/controllers/mixins/users-and-companies/list-selection';\nimport { updateMessageCountsForAppAndType } from 'embercom/lib/messages/message-counts';\nimport MessageListStats from 'embercom/mixins/messages/message-list-stats';\n\nexport default Controller.extend(\n  EmberDataMessageListMixin,\n  ListSelection,\n  MessageListSearch,\n  MessageListStats,\n  {\n    intercomEventService: service(),\n    state: 'sent',\n    queryParams: ['search_term', 'admin_id', 'sort_by', 'sort_direction'],\n\n    appController: controller('apps/app'),\n    applicationController: controller('application'),\n    sort_by: 'created_at',\n    sort_direction: 'desc',\n    app: alias('appController.model'),\n    isLoadingFirstPage: or('sortTask.isRunning', 'searchTask.isRunning'),\n    hasNoItemsToDisplay: equal('messages.length', 0),\n    hasNotLoadedAllRemoteData: lessThanProperty('messages.length', 'totalMessages'),\n    messages: alias('model'),\n    totalMessageCount: null,\n    isShowingSentMessages: equal('state', 'sent'),\n    isShowingCreatedViaApiMessages: equal('created_via', 'api'),\n    isShowingDraftMessages: equal('state', 'draft'),\n    isShowingScheduledMessages: equal('state', 'scheduled'),\n    isShowingDraftOrScheduledMessages: or('isShowingDraftMessages', 'isShowingScheduledMessages'),\n    localSortEnabled: false,\n    isSortingByCreatedAt: equal('sort_by', 'created_at'),\n    isSortingBySendAt: equal('sort_by', 'send_at'),\n    isSortingByWentLiveAt: equal('sort_by', 'went_live_at'),\n    isSortingInDescendingOrder: equal('sort_direction', 'desc'),\n    alternateSortingDirection: ternary('isSortingInDescendingOrder', 'asc', 'desc'),\n\n    defaultSortingOrders: {\n      sent: 'went_live_at',\n      live: 'went_live_at',\n      draft: 'created_at',\n      scheduled: 'send_at',\n    },\n    defaultSortBy: selectFromObject('defaultSortingOrders', 'state'),\n\n    messageRoute: 'apps.app.outbound.messages.manual.message',\n    userAutoMessageSearchRoute: 'apps.app.outbound.messages.auto.search',\n    visitorAutoMessageSearchRoute: 'apps.app.outbound.messages.visitor-auto.search',\n    manualMessageSearchRoute: 'apps.app.outbound.messages.manual.search',\n\n    sentExcludingApiManualMessageCount: reads('app.sentExcludingApiManualMessageCount'),\n    sentViaApiManualMessageCount: reads('app.sentViaApiManualMessageCount'),\n    sentNoManualMessagesExcludingApi: equal('sentExcludingApiManualMessageCount', 0),\n    sentNoManualMessagesViaApi: equal('sentViaApiManualMessageCount', 0),\n    sentNoManualMessages: and('sentNoManualMessagesExcludingApi', 'sentNoManualMessagesViaApi'),\n    draftManualMessageCount: reads('app.draftManualMessageCount'),\n    scheduledManualMessageCount: reads('app.scheduledManualMessageCount'),\n\n    pageTitle: 'Manual messages',\n\n    triggerSearchReset: observer({\n      dependentKeys: ['search_term', 'admin_id'],\n\n      fn() {\n        if (this.searchTermAndAdminIdAreEmpty) {\n          this.send('resetSearchTerm');\n        }\n      },\n\n      sync: true,\n    }),\n\n    selectAllEvent: observer({\n      dependentKeys: ['selectAll'],\n\n      fn() {\n        if (this.selectAll) {\n          this.intercomEventService.trackEvent('message-list-select-all', {\n            type: 'manual',\n          });\n        }\n      },\n\n      sync: true,\n    }),\n\n    reset() {\n      this.resetSearchTermInput();\n      this.setProperties({\n        isSelectAllMode: false,\n        sort_by: this.defaultSortBy,\n        sort_direction: 'desc',\n        search_term: this.search_term,\n      });\n      updateMessageCountsForAppAndType(this.app, 'manual');\n      this.send('nextPage');\n    },\n\n    actions: {\n      searchAllMessages(searchTerm, adminId) {\n        this.set('search_term', searchTerm);\n        this.set('admin_id', adminId);\n        this.set('state', this.state);\n        this.reset();\n      },\n      nextPage() {\n        this.nextPageTask.perform();\n      },\n      sortByColumn(columnName) {\n        this.intercomEventService.trackEvent('message-list-sort', {\n          type: 'manual',\n          sort_column: columnName,\n        });\n        if (\n          A([\n            'sent_count',\n            'opened_count',\n            'goal_count',\n            'replied_count',\n            'clicked_count',\n            'unsubscribed_count',\n            'failed_count',\n          ]).includes(columnName)\n        ) {\n          this.intercomEventService.trackEvent(`${this.type}-message-list-sorted-stats`, {\n            stat: columnName,\n          });\n        }\n        this.sortTask.perform(columnName);\n      },\n      clickedStatsColumn(stat) {\n        this.intercomEventService.trackEvent('message-list-stat-click', {\n          stat,\n          type: 'manual',\n        });\n      },\n      clickedSecondaryNav(option) {\n        this.intercomEventService.trackEvent('message-list-top-nav', {\n          message_section: option,\n          type: 'manual',\n        });\n      },\n    },\n  },\n);\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { equal, or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\nimport { MESSAGE_DATA_EXPORT_CONSTANTS } from 'embercom/lib/messages/message-data-export-constants';\nimport Range from 'embercom/models/reporting/range';\nimport moment from 'moment';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  init() {\n    this._super(...arguments);\n\n    let start = moment()\n      .subtract(27, 'days')\n      .format();\n    let end = moment().format();\n    let timezone = moment.tz.guess();\n    let range = new Range(start, end, timezone);\n    range.setDefaultRange('past_4_weeks');\n    this.set('range', range);\n  },\n  enqueuingExport: false,\n  canCloseModal: true,\n  engageExport: equal('model.exportFlag', 'engage'),\n  respondExport: equal('model.exportFlag', 'respond'),\n  customBotExport: equal('model.exportFlag', 'custom-bot'),\n  messagesDataExport: or('engageExport', 'customBotExport'),\n\n  actions: {\n    updateRange(range) {\n      this.set('range', range);\n    },\n    enqueueExport() {\n      this.set('enqueuingExport', true);\n      let range = this.range;\n      let params = {\n        app_id: this.get('app.id'),\n        range_start: range.start,\n        range_end: range.end,\n        message_ids: this.get('model.messageIds'),\n        flag: this.get('model.exportFlag'),\n      };\n      if (this.get('model.exportType') === MESSAGE_DATA_EXPORT_CONSTANTS.folderExportType) {\n        params.export_type = this.get('model.exportType');\n        params.folder_id = this.get('model.folderId');\n        params.folder_state = this.get('model.folderState');\n      }\n\n      ajax({\n        url: '/ember/message_data_export/enqueue',\n        type: 'POST',\n        data: JSON.stringify(params),\n      })\n        .then(() => {\n          this.notificationsService.notifyConfirmation(\n            `Export successful! We’re sending a CSV to your default email address. This can take a few hours at peak times.`,\n          );\n          let range_in_days = range.inDays;\n          this.intercomEventService.trackAnalyticsEvent({\n            action: 'started_message_data_export',\n            object: 'message_data_export',\n            range_days: range_in_days,\n            message_ids: this.get('model.messageIds') || null,\n            export_flag: this.get('model.exportFlag') || null,\n          });\n          if (this.get('model.exportFlag') === 'engage') {\n            this.intercomEventService.trackEvent('messages-message-data-export');\n          }\n          this.send('closeModal');\n          this.set('enqueuingExport', false);\n        })\n        .catch(err => {\n          this.notificationsService.notifyResponseError(err, {\n            default: `We were unable to start your message data export.`,\n          });\n          this.set('enqueuingExport', false);\n        });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport Controller, { inject as controller } from '@ember/controller';\nimport { computed } from '@ember/object';\nimport { alias, and, equal, not, or, reads } from '@ember/object/computed';\nimport Evented, { on } from '@ember/object/evented';\nimport { schedule } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport { isNone } from '@ember/utils';\nimport { task, taskGroup, timeout } from 'ember-concurrency';\nimport { notEqualToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport ComposerUploadCheck from 'embercom/components/message-editor/utility/composer-upload-check';\nimport ENV from 'embercom/config/environment';\nimport { intercomPromiseConfirm } from 'embercom/lib/intercom-confirm';\nimport { messageSaveFailure } from 'embercom/lib/messages/ui/actions/message-save';\nimport generateUIOptions from 'embercom/lib/messages/ui/text-generator';\n//Legacy SelectionState required for the Simple Composer\nimport LegacySelectionState from 'embercom/models/legacy-selection-state';\nimport $ from 'jquery';\nimport md5 from 'md5';\n\nexport default Controller.extend(Evented, ComposerUploadCheck, {\n  intercomEventService: service(),\n  notificationsService: service(),\n  appController: controller('apps/app'),\n  app: reads('appController.model'),\n  message: alias('model'),\n  messageActions: taskGroup().drop(),\n  queryParams: [\n    'version',\n    'viewing',\n    'editing',\n    'inverted',\n    'reaction',\n    'goalFilter',\n    'linkFilter',\n    'editing_admin_id',\n  ],\n  editing_admin_id: null,\n  version: 'A',\n  viewing: 'content',\n  editing: false,\n  inverted: false,\n  reaction: null,\n  goalFilter: null,\n  linkFilter: null,\n  autoSaveDisabled: false,\n  isEditing: equal('editing', true),\n  selectedReaction: reads('reaction'),\n  permissionsService: service(),\n  frontendStatsService: service(),\n\n  setupEditingQueryParams() {\n    if (this.editing) {\n      if (isNone(this.editing_admin_id)) {\n        this.set('editing_admin_id', this.get('app.currentAdmin.id'));\n      } else if (this.editing_admin_id !== this.get('app.currentAdmin.id')) {\n        this.setProperties({\n          editing: false,\n          editing_admin_id: null,\n        });\n      }\n    } else {\n      this.set('editing_admin_id', null);\n    }\n  },\n\n  editRoute: computed('message.isVisitorAutoMessage', 'message.isManualMessage', function() {\n    if (this.get('message.isVisitorAutoMessage')) {\n      return 'apps.app.outbound.messages.visitor-auto.message';\n    } else if (this.get('message.isManualMessage')) {\n      return 'apps.app.outbound.messages.manual.message';\n    } else {\n      return 'apps.app.outbound.messages.auto.message';\n    }\n  }),\n\n  move: task(function*(name, params) {\n    let message = this.message;\n    return yield this._restTask.perform({\n      action: 'move',\n      model: message,\n      promise: 'move',\n      uiParams: { name, isRemoving: params.remove_from_group },\n      taskParams: params,\n    });\n  }).group('messageActions'),\n\n  activate: task(function*() {\n    let message = this.message;\n    let result = yield this._restTask.perform({\n      action: 'activate',\n      model: message,\n      promise: 'activate',\n    });\n    if (result.success) {\n      this._captureAnalyticsEvent('set_live');\n      this._switchToSummaryView();\n    }\n  }).group('messageActions'),\n\n  deactivate: task(function*() {\n    let message = this.message;\n    let result = yield this._restTask.perform({\n      action: 'deactivate',\n      model: message,\n      promise: 'deactivate',\n    });\n    if (result.success) {\n      this._captureAnalyticsEvent('stopped');\n    }\n  }).group('messageActions'),\n\n  stop: task(function*() {\n    let message = this.message;\n    yield this._restTask.perform({ action: 'stop', model: message, promise: 'deactivate' });\n  }).group('messageActions'),\n\n  delete: task(function*() {\n    let message = this.message;\n    let dependencies = yield message.latestDependencies();\n    if (dependencies.get('hasAnyDependencies')) {\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', 'apps/app/outbound/modals/dependencies', message);\n    } else {\n      let result = yield this._restTask.perform({\n        action: 'delete',\n        model: message,\n        promise: 'destroyRecord',\n      });\n      if (result.success) {\n        this._captureAnalyticsEvent('delete_message', 'outbound');\n        this._routeTo(message);\n      }\n    }\n  }).group('messageActions'),\n\n  duplicate: task(function*({ messageType }) {\n    let message = this.message;\n    let result = yield this._restTask.perform({\n      action: 'duplicate',\n      model: message,\n      promise: 'duplicate',\n      taskParams: {\n        messageType,\n      },\n    });\n    if (result.success) {\n      this._captureAnalyticsEvent('duplicate_message', 'outbound');\n      this.transitionToRoute(this.editRoute, result.response.duplicated_message_id, {\n        queryParams: { editing: true },\n      });\n    }\n    this._setShowCreateMessageModal(false);\n  }).group('messageActions'),\n\n  saveAndAddSchedule: task(function*(sendAt) {\n    this._cancelPendingAutoSave();\n    sendAt = sendAt\n      .startOf('hour')\n      .clone()\n      .utc(); //ember power calendar returns dates with times not on the hour this fixes https://github.com/intercom/intercom/issues/69070\n    let message = this.message;\n    let saveResult = yield this._restTask.perform({\n      action: 'save',\n      model: message,\n      promise: 'save',\n    });\n    if (saveResult.success) {\n      this._captureAnalyticsEvent('schedule');\n      let scheduleResult = yield this._restTask.perform({\n        action: 'schedule',\n        model: message,\n        taskParams: {\n          send_at: sendAt,\n        },\n        uiParams: {\n          send_at: sendAt,\n        },\n        promise: 'schedule',\n      });\n      if (scheduleResult.success) {\n        this._switchToSummaryView();\n      }\n    }\n  }).group('messageActions'),\n\n  removeSchedule: task(function*() {\n    let message = this.message;\n    let saveResult = yield this._restTask.perform({\n      action: 'removeSchedule',\n      model: message,\n      promise: 'removeSchedule',\n    });\n    if (saveResult.success) {\n      this._captureAnalyticsEvent('cancel_schedule');\n    }\n  }).group('messageActions'),\n\n  activateVariation: task(function*(variation) {\n    let result = yield this._restTask.perform({\n      action: 'activate',\n      model: variation,\n      promise: 'activate',\n    });\n    if (result.success) {\n      this._captureAnalyticsEvent('set_live');\n      this.message.updateStateFromVariations();\n    }\n  }).group('messageActions'),\n\n  deactivateVariation: task(function*(variation) {\n    let result = yield this._restTask.perform({\n      action: 'deactivate',\n      model: variation,\n      promise: 'deactivate',\n    });\n    if (result.success) {\n      this._captureAnalyticsEvent('stopped');\n      this.message.updateStateFromVariations();\n    }\n  }).group('messageActions'),\n\n  deleteVariation: task(function*(variation) {\n    let message = this.message;\n\n    let analyticsEvent = Object.assign({}, variation.get('analyticsData'), {\n      action: 'delete',\n      is_editing: this.isEditing,\n      deleted_variation_label: variation.get('label'),\n      variation_a_state: message.get('variationA.state'),\n      variation_b_state: message.get('variationB.state'),\n    });\n\n    let result = yield this._restTask.perform({\n      action: 'delete',\n      model: variation,\n      promise: 'destroyRecord',\n    });\n    if (result.success) {\n      message.updateStateFromVariations();\n      this.set('version', 'A');\n\n      this.intercomEventService.trackAnalyticsEvent(analyticsEvent);\n    }\n  }).group('messageActions'),\n\n  deleteControlGroup: task(function*(controlGroup) {\n    let analyticsEvent = Object.assign({}, controlGroup.get('analyticsData'), {\n      action: 'delete',\n      is_editing: this.isEditing,\n    });\n\n    let result = yield this._restTask.perform({\n      action: 'delete',\n      model: controlGroup,\n      promise: 'destroyRecord',\n    });\n    if (result.success) {\n      this.set('version', 'A');\n      this.intercomEventService.trackAnalyticsEvent(analyticsEvent);\n    }\n  }).group('messageActions'),\n\n  endControlGroup: task(function*(controlGroup) {\n    let analyticsEvent = Object.assign({}, controlGroup.get('analyticsData'), {\n      action: 'end',\n      is_editing: this.isEditing,\n    });\n\n    let result = yield this._restTask.perform({\n      action: 'end',\n      model: controlGroup,\n      promise: 'end',\n    });\n    if (result.success) {\n      controlGroup.set('state', 'ended');\n      this.intercomEventService.trackAnalyticsEvent(analyticsEvent);\n    }\n  }).group('messageActions'),\n\n  autoSaveErrorMessageMutationHash: undefined,\n  isMessageChangedSinceLastAutoSaveError: notEqualToProperty(\n    'autoSaveErrorMessageMutationHash',\n    'message.mutations.lastMutationHash',\n  ),\n\n  autoSave: task(function*() {\n    if (!this.isEditing) {\n      throw new Error(`Attempting to auto save outside of edit mode`);\n    }\n    if (this.autoSaveDisabled) {\n      return console.debug(`Skipping auto save due to manual override`);\n    }\n    let message = this.message;\n    if (message.get('canBeAutoSaved')) {\n      let result = yield this._restTask.perform({\n        action: 'autoSave',\n        model: message,\n        promise: 'save',\n        doNotHandleError: true,\n      });\n      if (result.success) {\n        this._captureAnalyticsEvent('edited');\n        this.set('autoSaveErrorMessageMutationHash', null);\n      } else {\n        if (this.isMessageChangedSinceLastAutoSaveError) {\n          this.notificationsService.notifyResponseError(\n            result.error,\n            { default: messageSaveFailure() },\n            { responseProvidedErrors: [403, 409, 422] },\n          );\n        }\n        this.set(\n          'autoSaveErrorMessageMutationHash',\n          this.get('message.mutations.lastMutationHash'),\n        );\n      }\n    }\n  }).group('messageActions'),\n\n  //NOTE: this function lives as a task as it provides us security from unknown states being in 'messageActions' group\n  cancelAndReturnToSummary: task(function*() {\n    this._cancelPendingAutoSave();\n    this.message.rollbackMessageAndRelationships();\n    this._switchToSummaryView();\n    yield;\n  }).group('messageActions'),\n\n  saveAndReturnToSummary: task(function*(place) {\n    this._cancelPendingAutoSave();\n    let message = this.message;\n    let result = yield this._restTask.perform({\n      action: 'save',\n      model: message,\n      promise: 'save',\n    });\n    if (result.success) {\n      this._captureAnalyticsEvent('edited', place);\n      this._switchToSummaryView();\n    }\n  }).group('messageActions'),\n\n  saveAndActivate: task(function*() {\n    this._cancelPendingAutoSave();\n    let message = this.message;\n    let saveResult = yield this._restTask.perform({\n      action: 'autoSave',\n      model: message,\n      promise: 'save',\n    });\n    if (saveResult.success) {\n      let activateResult = yield this._restTask.perform({\n        action: 'activate',\n        model: message,\n        promise: 'activate',\n      });\n      if (activateResult.success) {\n        this._captureAnalyticsEvent('set_live');\n        this._switchToSummaryView();\n      }\n    }\n  }).group('messageActions'),\n\n  startABTestOnEditingPage: task(function*(place) {\n    this._cancelPendingAutoSave();\n    let message = this.message;\n    if (this.get('message.isDraft')) {\n      let saveResult = yield this._restTask.perform({\n        action: 'autoSave',\n        model: message,\n        promise: 'save',\n      });\n      if (saveResult.success) {\n        this._captureAnalyticsEvent('edited');\n      }\n    }\n    let result = yield this._restTask.perform({\n      action: 'startABTest',\n      model: message,\n      promise: 'startABTest',\n    });\n    if (result.success) {\n      this.set('version', 'B');\n      if (message.get('variationA.isHtmlMode')) {\n        message.set('variationB.htmlPreview', message.get('variationA.htmlPreview'));\n      }\n      this._captureAnalyticsEvent('start_ab_test', place);\n      this.transitionToRoute(this.editRoute, message.id, { queryParams: { editing: true } });\n    }\n  }).group('messageActions'),\n\n  startControlGroupOnEditingPage: task(function*(place) {\n    this._cancelPendingAutoSave();\n    let message = this.message;\n    let result = yield this._restTask.perform({\n      action: 'createControlGroup',\n      model: message,\n      promise: 'createControlGroup',\n    });\n    if (result.success) {\n      this.set('version', 'control');\n      this._captureAnalyticsEvent('start_control_group_test', place);\n      this.transitionToRoute(this.editRoute, message.id, { queryParams: { editing: true } });\n    }\n  }).group('messageActions'),\n\n  changeSubclassType: task(function*(type) {\n    this._cancelPendingAutoSave();\n    let message = this.message;\n    if (type === 'ManualMessage' && message.isDueToStop) {\n      message.set('dueToStopAt', null);\n      this.showWarningMessage();\n    }\n    let result = yield this._restTask.perform({\n      action: 'changeSubclassType',\n      model: message,\n      promise: 'changeSubclassType',\n      taskParams: {\n        type,\n      },\n    });\n    if (result.success) {\n      this._captureAnalyticsEvent(`switched_message_type_to_${type}`);\n    }\n  }),\n\n  showWarningMessage() {\n    this.notificationsService.notifyWarning(\n      `Due to stop sending date has been cleared because one-off messages cannot have a stop date`,\n    );\n  },\n\n  generateHtmlPreview: task(function*(variation) {\n    yield this._restTask.perform({\n      action: 'generateHtmlPreview',\n      model: variation,\n      promise: 'generateHtmlPreview',\n    });\n  }),\n\n  selectionStateIsValid: and(\n    'message.validations.attrs.selectionState.isValid',\n    'message.selectionStateValuesAreValid',\n  ),\n\n  fetchSampleUser: task(function*() {\n    if (this.selectionStateIsValid) {\n      let variation = this.get(`message.variation${this.version}`);\n      let sampleUser = yield this.message.fetchSampleUser({\n        variation_id: variation.get('id'),\n        owner_id: variation.get('fromId'),\n      });\n      if (Object.keys(sampleUser).length) {\n        this.set('message.sampleUser', sampleUser);\n      } else {\n        this.set('message.sampleUser', null);\n      }\n    } else {\n      this.set('message.sampleUser', null);\n    }\n  }).restartable(),\n\n  _restTask: task(function*(params) {\n    let uiOptions = yield generateUIOptions(params.action, params.model, params.uiParams);\n    let continueTask;\n\n    if (uiOptions.confirm.notRequired) {\n      continueTask = true;\n    } else {\n      continueTask = yield intercomPromiseConfirm(this, uiOptions.confirm);\n    }\n\n    if (continueTask) {\n      try {\n        let model = params.model.content || params.model; // `params.model` is either a message or a variation's message, see https://github.com/intercom/intercom/issues/63344\n        let response = yield model[params.promise](params.taskParams);\n        if (uiOptions.success) {\n          this.notificationsService.notifyConfirmation(uiOptions.success);\n        }\n        return { success: true, response };\n      } catch (error) {\n        if (!params.doNotHandleError) {\n          this.notificationsService.notifyResponseError(\n            error,\n            { default: uiOptions.failure },\n            { responseProvidedErrors: [403, 409, 422] },\n          );\n          console.error(error);\n        }\n        return { success: false, error };\n      }\n    } else {\n      return { success: false, canceled: true };\n    }\n  }).drop(),\n\n  fetchMessageAudiencePreview: task(function*() {\n    yield this.message.fetchAudiencePreview();\n  }).restartable(),\n\n  fetchCampaignMessageAudiencePreview: task(function*() {\n    let lastCampaignMessageAudiencePreview = this.lastCampaignMessageAudiencePreview;\n    let currentCampaignMessageAudiencePreview = md5(\n      JSON.stringify(this.message.implicitPredicates()),\n    );\n    if (currentCampaignMessageAudiencePreview !== lastCampaignMessageAudiencePreview) {\n      yield this.message.fetchCampaignAudiencePreview();\n      this.set('lastCampaignMessageAudiencePreview', currentCampaignMessageAudiencePreview);\n    }\n  }).restartable(),\n\n  shouldNotScheduleAutoSave: or(\n    'saveAndActivate.isRunning',\n    'saveAndReturnToSummary.isRunning',\n    'cancelAndReturnToSummary.isRunning',\n  ),\n  canScheduleAutoSave: not('shouldNotScheduleAutoSave'),\n\n  scheduleAutoSave: on('didPerformMutations', function() {\n    if (this.canScheduleAutoSave) {\n      this.set('autoSaveThrottledTaskInstance', this.autoSaveThrottledTask.perform());\n    }\n  }),\n\n  autoSaveThrottledTask: task(function*() {\n    yield timeout(ENV.APP._3000MS); // Only autosave after some time of inactivity\n    this.autoSave.perform();\n  }).restartable(),\n\n  versionLockCheckTask: task(function*() {\n    yield timeout(ENV.APP._100MS);\n\n    let resp = yield this.message.versionLockInfo();\n    // Display message version conflict if responseVersion (the servers version) is ahead of message's version.\n    // If the response version is less than the message version this implies that the server is behind browsers\n    // message, which shouldn't be possible. Most likely a network request has updated the message while the\n    // version lock check was happening. We can ignore this, as we have the latest message model.\n    let message_version_lock = this.get('message.versionLock');\n    let response_version_lock = resp.version_lock;\n    let message_id = this.get('message.id');\n\n    let options = {\n      message_id,\n      message_version_lock,\n      response_version_lock,\n      frontend_admin: this.get('app.currentAdmin.id'),\n      backend_admin: resp.last_updated_by_id,\n    };\n\n    try {\n      Object.assign(options, {\n        frontend_tab_id: sessionStorage.getItem('embercom_tab_identifier'),\n        backend_tab_id: resp.backend_tab_id,\n      });\n    } catch (e) {\n      // Do nothing\n    }\n\n    // Metric the data of the version lock check\n    this.frontendStatsService.recordVersionLockCheckResult(options);\n\n    if (response_version_lock > message_version_lock) {\n      $('input').blur();\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', 'apps/app/outbound/modals/version-lock', {\n        adminId: resp.last_updated_by_id,\n        lastUpdatedAt: resp.last_updated_at,\n        versionLock: resp.version_lock,\n        isEditing: this.editing,\n        message: this.message,\n        isLastEditingAdmin:\n          parseInt(this.get('app.currentAdmin.id'), 10) === resp.last_updated_by_id,\n      });\n    }\n  }).drop(),\n\n  _cancelPendingAutoSave() {\n    if (this.autoSaveThrottledTaskInstance) {\n      this.autoSaveThrottledTaskInstance.cancel();\n    }\n  },\n\n  _switchToSummaryView() {\n    // The show view depends on the variation's json_blocks. We calculate it lazily and it's needed now when we switch from edit to summary views.\n    this.get('message.variations').forEach(variation => variation.resetLegacyJsonBlocks());\n    this.setProperties({\n      editing: false,\n      editing_admin_id: null,\n    });\n    schedule('afterRender', this, () => {\n      $('.js__message-view-and-edit-component__container').animate({ scrollTop: 0 });\n    });\n  },\n\n  _captureAnalyticsEvent(action, place) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action,\n      object: 'message',\n      models: [this.message],\n      place,\n    });\n  },\n\n  _makeOptionsForBulkModal(options) {\n    let isSelectAllMode = this._getIsSelectAllMode(options.totalCount, options.selectedCount);\n    let count = isSelectAllMode ? options.totalCount : options.selectedCount;\n    return {\n      messageId: this.get('message.id'),\n      variationId: options.variationId,\n      isSelectAllMode,\n      isControlGroup: options.isControlGroup,\n      includedIds: options.selectedTargetTypes.map(target => target.get('userId')),\n      statistic: this.viewing,\n      inverted: this.inverted,\n      reaction: this.reaction,\n      goalFilter: this.goalFilter,\n      linkFilter: this.linkFilter,\n      count,\n    };\n  },\n\n  _getLegacySelectionState(options) {\n    let isSelectAllMode = this._getIsSelectAllMode(options.totalCount, options.selectedCount);\n    return LegacySelectionState.create({\n      isSelectAllMode,\n      selected: options.selectedTargetTypes,\n      unselected: [],\n      totalCount: options.totalCount,\n    });\n  },\n\n  _getIsSelectAllMode(totalCount, selectedCount) {\n    return totalCount === selectedCount || selectedCount === 0;\n  },\n\n  _routeTo(message) {\n    if (this.get('app.canUseContentOrientedNavigation')) {\n      if (message.get('isCampaignMessage')) {\n        this.replaceRoute(\n          `apps.app.outbound.messages.auto.campaigns.campaign`,\n          this.get('message.campaign.id'),\n        );\n      } else if (message.get('isInApp')) {\n        this.replaceRoute(`apps.app.outbound.in-apps`);\n      } else if (message.get('isEmail')) {\n        this.replaceRoute(`apps.app.outbound.email`);\n      } else if (message.get('isMobilePush')) {\n        this.replaceRoute(`apps.app.outbound.push.index`);\n      }\n    } else {\n      let state = message.get('state');\n      if (message.get('isManualMessage')) {\n        if (message.get('isLive')) {\n          this.replaceRoute(`apps.app.outbound.messages.manual.sent`);\n        } else {\n          this.replaceRoute(`apps.app.outbound.messages.manual.${state}`);\n        }\n      } else if (message.get('isVisitorAutoMessage')) {\n        if (message.get('isStopped')) {\n          this.replaceRoute(`apps.app.outbound.messages.visitor-auto.paused`);\n        } else {\n          this.replaceRoute(`apps.app.outbound.messages.visitor-auto.${state}`);\n        }\n      } else if (message.get('isStopped')) {\n        this.replaceRoute(`apps.app.outbound.messages.auto.paused`);\n      } else {\n        this.replaceRoute(`apps.app.outbound.messages.auto.${state}`);\n      }\n    }\n  },\n\n  _setShowCreateMessageModal(showCreateMessageModal) {\n    this.set('showCreateMessageModal', showCreateMessageModal);\n  },\n\n  actions: {\n    userActiveOnPage() {\n      if (this.isEditing && this.get('message.hasUnsavedMutations')) {\n        this.scheduleAutoSave();\n      }\n    },\n    changeVersion(version) {\n      this.withComposerUploadCheck(() => {\n        this.setProperties({\n          version,\n          viewing: 'content',\n          inverted: false,\n          reaction: null,\n          goalFilter: null,\n          linkFilter: null,\n        });\n      });\n    },\n    changeView(viewing) {\n      this.setProperties({\n        viewing,\n        inverted: false,\n        reaction: null,\n        goalFilter: null,\n        linkFilter: null,\n      });\n    },\n    startABTest(place) {\n      this.startABTestOnEditingPage.perform(place);\n    },\n    edit() {\n      this.setProperties({\n        editing: true,\n        viewing: 'content',\n        editing_admin_id: this.get('app.currentAdmin.id'),\n      });\n      this._captureAnalyticsEvent('clicked_edit', 'outbound');\n    },\n    openMoveModal() {\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', 'apps/app/outbound/modals/move-message', this.message, {\n        move: this.move,\n      });\n    },\n    openExportModal() {\n      if (this.permissionsService.currentAdminCan('can_export_data')) {\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'exported',\n          object: 'csv',\n          place: 'message',\n          owner: 'messages',\n        });\n        // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n        this.send('openModal', 'apps/app/outbound/message-data-export-modal', {\n          messageIds: [this.get('model.id')],\n          exportFlag: 'engage',\n        });\n      } else {\n        this.permissionsService.loadAllAdminsAndShowPermissionRequestModal('can_export_data');\n      }\n    },\n    openCreateMessageModal() {\n      this._setShowCreateMessageModal(true);\n    },\n    bulkMessage(options) {\n      let controller = 'apps/app/outbound/modals/message';\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send(\n        'openModal',\n        controller,\n        this._getLegacySelectionState(options),\n        this._makeOptionsForBulkModal(options),\n      );\n    },\n    bulkTag(options) {\n      let controller = 'apps/app/outbound/modals/tag';\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send(\n        'openModal',\n        controller,\n        this._getLegacySelectionState(options),\n        this._makeOptionsForBulkModal(options),\n      );\n    },\n    toggleAutoSave() {\n      this.toggleProperty('autoSaveDisabled');\n    },\n    checkVersionLock() {\n      this.versionLockCheckTask.perform();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { or } from '@ember/object/computed';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport AutoMessageListControllerBase from 'embercom/controllers/apps/app/outbound/auto/base/auto-message-list-controller-base';\n\nexport default AutoMessageListControllerBase.extend({\n  audience: 'users',\n  state: 'all',\n  isSearch: or('hasAdminId', 'hasSearchTerm'),\n  noMessagesLabel: 'No auto messages',\n  icon: ternary('hasSearchTerm', 'search', 'list'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { alias } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nexport default Controller.extend({\n  appController: controller('apps/app'),\n  app: alias('appController.model'),\n  campaigns: alias('model'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { alias } from '@ember/object/computed';\nimport { inject as controller } from '@ember/controller';\nimport AutoMessageListControllerBase from 'embercom/controllers/apps/app/outbound/auto/base/auto-message-list-controller-base';\n\nexport default AutoMessageListControllerBase.extend({\n  appController: controller('apps/app'),\n  app: alias('appController.model'),\n  campaign: alias('model'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { not, and, alias, filterBy } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport AutoSave from 'embercom/mixins/campaigns/autosave';\n\nexport default Controller.extend(AutoSave, {\n  queryParams: ['editing'],\n  editing: false,\n  isNotEditing: not('editing'),\n  appController: controller('apps/app'),\n  campaignIsClean: not('campaign.hasDirtyAttributes'),\n  isValidCampaign: and('campaign.isValidToSend', 'campaignIsClean'),\n  app: alias('appController.model'),\n  campaign: alias('model'),\n  selected: filterBy('campaign.messages', 'selected'),\n  skipTemplatesModal: true,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\nimport {\n  readsAndFmtWithProperty,\n  selectFromObject,\n} from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Controller.extend({\n  notificationsService: service('notificationsService'),\n  campaign: alias('model'),\n  queryParams: ['filter'],\n  filter: 'all',\n  users: [],\n\n  filterLabelMap: {\n    all: 'enter the campaign',\n    'in-campaign': 'enter the campaign',\n    exited: 'exit the campaign',\n    'hit-goal': 'hit the goal',\n  },\n  headerLabel: selectFromObject('filterLabelMap', 'filter'),\n\n  currentPredicateGroupMap: {\n    all: 'entryPredicateGroup',\n    'in-campaign': 'entryPredicateGroup',\n    exited: 'exitPredicateGroup',\n    'hit-goal': 'goalPredicateGroup',\n  },\n  currentPredicateGroupKey: selectFromObject('currentPredicateGroupMap', 'filter'),\n  currentPredicateGroup: readsAndFmtWithProperty('campaign.%@', 'currentPredicateGroupKey'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly, equal, alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport Controller from '@ember/controller';\nimport {\n  lessThanProperty,\n  selectFromObject,\n  ternary,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport FolderExportActions from 'embercom/controllers/mixins/messages/folder-export-actions';\n\nexport default Controller.extend(FolderExportActions, {\n  queryParams: ['state', 'sortColumn', 'sortDirection'],\n  state: undefined,\n  appService: service(),\n  app: readOnly('appService.app'),\n  campaigns: alias('model.campaigns'),\n  pageCount: 1,\n  totalFilteredCampaigns: 0,\n  hasNotLoadedAllRemoteData: lessThanProperty('campaigns.length', 'totalFilteredCampaigns'),\n  isLoading: readOnly('queryTask.isRunning'),\n  campaignCounts: readOnly('model.counts'),\n  emptyStateLabel: selectFromObject('emptyStateLabels', 'state'),\n  emptyStateLabels: {\n    undefined: 'No campaigns',\n    all: 'No campaigns',\n    live: 'No live campaigns',\n    draft: 'No draft campaigns',\n    stopped: 'No paused campaigns',\n  },\n\n  sortColumn: undefined,\n  sortDirection: undefined,\n  isSortingInDescendingOrder: equal('sortDirection', 'desc'),\n  alternateSortingDirection: ternary('isSortingInDescendingOrder', 'asc', 'desc'),\n  showSeriesPrompt: false,\n  showNewSeriesModal: false,\n\n  nextPageTask: task(function*() {\n    if (this.hasNotLoadedAllRemoteData) {\n      this.incrementProperty('pageCount');\n      yield this.queryTask.perform();\n    }\n  }).drop(),\n\n  queryTask: task(function*() {\n    let nextPageOfCampaigns = yield this.store.query('campaign', this._requestPayload());\n    this.set('totalFilteredCampaigns', nextPageOfCampaigns.meta.total_count);\n    this.campaigns.pushObjects(nextPageOfCampaigns.toArray());\n  }).drop(),\n\n  _requestPayload() {\n    return {\n      page: this.pageCount,\n      per_page: 25,\n      state: this.state,\n      sort_by_column: this.sortColumn,\n      sort_direction: this.sortDirection,\n    };\n  },\n\n  _changeSortDirection() {\n    let alternateSortDirection = this.alternateSortingDirection;\n    this.set('sortDirection', alternateSortDirection);\n  },\n\n  sortTask: task(function*(columnName) {\n    if (this.sortColumn === columnName) {\n      this._changeSortDirection();\n    } else {\n      this.setProperties({\n        sortColumn: columnName,\n        sortDirection: 'desc',\n      });\n    }\n    this.setProperties({\n      pageCount: 1,\n    });\n    yield this.sortQueryTask.perform();\n  }),\n\n  sortQueryTask: task(function*() {\n    let campaigns = yield this.store.query('campaign', this._requestPayload());\n    this.set('totalFilteredCampaigns', campaigns.meta.total_count);\n    this.set('campaigns', campaigns.toArray());\n  }).drop(),\n\n  actions: {\n    createNewCampaign() {\n      this.set('showSeriesPrompt', false);\n      this.intercomEventService.trackEvent('campaign-creation', {});\n      this.transitionToRoute('apps.app.outbound.messages.auto.campaigns.new');\n    },\n    nextPage() {\n      return this.nextPageTask.perform();\n    },\n    sortBy(columnName) {\n      return this.sortTask.perform(columnName);\n    },\n    createNewSeries(\n      messageType = null,\n      deliveryChannel = null,\n      audienceType = null,\n      templateId = null,\n    ) {\n      this.set('showNewSeriesModal', false);\n      this.transitionToRoute('apps.app.outbound.series.new', {\n        queryParams: { mode: 'edit', template_id: templateId },\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { reads, alias, filterBy, mapBy, notEmpty } from '@ember/object/computed';\nimport Evented, { on } from '@ember/object/evented';\nimport Controller, { inject as controller } from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nexport default Controller.extend(IntercomModal, Evented, {\n  campaignController: controller('apps/app/outbound/messages/auto/campaigns/campaign/index'),\n  canCloseModal: true,\n  appName: reads('app.name'),\n  campaign: alias('campaignController.campaign'),\n  pausedAt: reads('campaign.pausedAt'),\n\n  messagesToResume: filterBy('campaign.messages', 'selected', true),\n  messageIdsToResume: mapBy('messagesToResume', 'id'),\n  hasMessagesToResume: notEmpty('messagesToResume'),\n\n  setResumableMessages: on('didBecomeActive', function() {\n    let pausedTime = this.pausedAt;\n    let messages = this.get('campaign.messages');\n\n    messages\n      .filter(message => Math.abs(pausedTime - message.get('stoppedAt')) <= 2)\n      .setEach('selected', true);\n    this.notifyPropertyChange('messagesToResume');\n  }),\n  actions: {\n    resumeCampaign() {\n      this.campaignController.send('resumeCampaign', this.messageIdsToResume);\n      this.get('campaign.messages').setEach('selected', false);\n      this.send('closeModal');\n    },\n\n    selectMessage(message) {\n      this.notifyPropertyChange('messagesToResume');\n      message.toggleProperty('selected');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport { computed } from '@ember/object';\nimport $ from 'jquery';\nimport { alias } from '@ember/object/computed';\nimport Evented, { on } from '@ember/object/evented';\nimport Controller, { inject as controller } from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport { selectFromObject } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Controller.extend(IntercomModal, Evented, {\n  TOTAL_STEPS: 3,\n  appController: controller('apps/app'),\n  app: alias('appController.model'),\n  step: 1,\n  stepContents: {\n    1: 'A user in your campaign gets a message when they match its rules',\n    2: 'Nothing else is sent for at least a day (you can change that if you like)',\n    3: `If they match two messages at once, we'll send the highest message on the list`,\n  },\n  currentStepContents: selectFromObject('stepContents', 'step'),\n  active: on('didBecomeActive', function() {\n    this.set('step', 1);\n    $('.modal button').focus();\n  }),\n  nextButtonLabel: computed('step', function() {\n    if (this.step < this.TOTAL_STEPS) {\n      return 'Next';\n    } else {\n      return 'Close';\n    }\n  }),\n  actions: {\n    next() {\n      if (this.step < this.TOTAL_STEPS) {\n        this.set('step', this.step + 1);\n      } else {\n        this.send('closeModal');\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport AutoMessageListControllerBase from 'embercom/controllers/apps/app/outbound/auto/base/auto-message-list-controller-base';\n\nexport default AutoMessageListControllerBase.extend({\n  audience: 'users',\n  state: 'draft',\n  noMessagesLabel: 'No draft auto messages',\n  icon: ternary('hasSearchTerm', 'search', 'edit'),\n  localSortEnabled: false,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-jquery */\nimport { computed } from '@ember/object';\nimport { and, equal, gt, not, reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { htmlSafe } from '@ember/string';\nimport { isBlank } from '@ember/utils';\nimport { task, taskGroup } from 'ember-concurrency';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport AutoMessageListControllerBase from 'embercom/controllers/apps/app/outbound/auto/base/auto-message-list-controller-base';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport { updateMessageCountsForAppAndType } from 'embercom/lib/messages/message-counts';\nimport $ from 'jquery';\n\nexport default AutoMessageListControllerBase.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  queryParams: ['state'],\n  state: 'live',\n  sort_by: 'title',\n  defaultSortBy: 'title',\n  sort_direction: 'asc',\n  audience: 'users',\n\n  icon: ternary('hasSearchTerm', 'search', 'folder'),\n\n  newMessageRoute: 'apps.app.outbound.messages.auto.new',\n\n  folderId: reads('folder.id'),\n  inFolderView: true,\n  folderTaskGroup: taskGroup().drop(),\n  hasNoMessagesSelected: equal('selected.length', 0),\n  showFolderStateSwitcher: and('hasMessagesInFolder', 'hasNoMessagesSelected'),\n\n  shouldDisplayShowAllInFolderLink: and('isNotAllView', 'hasMessagesInFolder'),\n  hasMessagesInFolder: gt('folder.messageCounts.all', 0),\n  hasNoMessagesInFolder: not('hasMessagesInFolder'),\n  stateCount: computed('state', 'folder.messageCounts', function() {\n    return this.get(`folder.messageCounts.${this.state}`);\n  }),\n  hasNoMessagesForState: equal('stateCount', 0),\n  _changeNameIfValid(folder, name) {\n    if (isBlank(name)) {\n      folder.rollbackAttributes();\n    } else {\n      this._tryToSaveFolder(folder);\n    }\n  },\n  _tryToSaveFolder(folder) {\n    folder.save().catch(error => {\n      if (error.jqXHR.status === 422) {\n        folder.rollbackAttributes();\n        this.notificationsService.notifyError(error.jqXHR.responseJSON.errors);\n        $('.js__folder-title-input').focus();\n      }\n    });\n  },\n  dropdownOptions: computed('hasNoMessagesForState', function() {\n    let options = [];\n    options.push({\n      name: 'Export CSV',\n      icon: 'export',\n      task: this.exportCSVFolderTask,\n      isDisabled: this.hasNoMessagesForState,\n      isTooltipEnabled: this.hasNoMessagesForState,\n      tooltipContent: 'There are no messages is this folder to export',\n    });\n    options.push({ name: 'Delete folder', icon: 'delete', task: this.deleteFolderTask });\n    return options;\n  }),\n  exportCSVFolderTask: task(function*() {\n    yield this.send('openExportModal', this.folderId, this.state);\n  }),\n  deleteFolderTask: task(function*() {\n    yield this.send('deleteFolder', this.folder);\n  }),\n\n  async _deleteFolder(folderId) {\n    try {\n      let folder = await this.store.findRecord('message-folder', folderId, {\n        backgroundReload: false,\n      });\n      await folder.destroyRecord();\n      if (this.messages) {\n        let messagesInFolder = this.messages.filterBy('folder', folder);\n        messagesInFolder.setEach('folder', null);\n      }\n      this.intercomEventService.trackEvent('message-folder-deleted');\n      this.notificationsService.notifyConfirmation('Folder was deleted');\n      updateMessageCountsForAppAndType(this.app, 'auto');\n      if (folder.get('id') === this.folderId) {\n        this.transitionToRoute('apps.app.outbound.messages.auto.folders');\n      }\n    } catch (error) {\n      this.notificationsService.notifyResponseError(error, {\n        default: \"Something went wrong and we couldn't delete that folder\",\n      });\n    }\n  },\n  actions: {\n    changeState(state) {\n      this.set('state', state);\n\n      this.intercomEventService.trackEvent('message-state-dropdown', {\n        message_section: state,\n        type: this.type,\n      });\n\n      if (this.localSortEnabled) {\n        this.reset();\n      } else {\n        this.searchTask.perform();\n      }\n    },\n    transitionToNewAutoMessage(type, deliveryChannel) {\n      this.permissionsService.checkPermission('can_send_messages').then(\n        function() {\n          this.transitionToRoute(this.newMessageRoute, {\n            queryParams: {\n              message_group_id: this.folderId,\n              type,\n              deliveryChannel,\n            },\n          });\n        }.bind(this),\n      );\n    },\n    updateName(name) {\n      let folder = this.folder;\n      folder.set('name', name);\n    },\n    onEnter() {\n      $('.js__folder-title-input').blur();\n    },\n    onEscape() {\n      let folder = this.folder;\n      folder.rollbackAttributes();\n      $('.js__folder-title-input').blur();\n    },\n    onFocusOut() {\n      let folder = this.folder;\n      let name = folder.get('name');\n      this._changeNameIfValid(folder, name);\n    },\n    async deleteFolder(folder) {\n      if (folder.get('messageCounts.all') > 0) {\n        await intercomConfirm(this, {\n          title: 'Delete folder',\n          body: htmlSafe(\n            'Only the folder will be deleted.<br>Any messages within the folder will be moved outside of it.<br><br>Are you sure you want to delete this folder?',\n          ),\n          confirmButtonText: 'Delete folder',\n          primaryButtonType: 'primary-destructive',\n          autofocus: false,\n        });\n      }\n      return this._deleteFolder(folder.id);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\nimport FolderExportActions from 'embercom/controllers/mixins/messages/folder-export-actions';\n\nexport default Controller.extend(FolderExportActions, {\n  appService: service(),\n  app: readOnly('appService.app'),\n  actions: {\n    createNewFolder() {\n      return this.transitionToRoute('apps.app.outbound.messages.auto.folders.new');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport AutoMessageListControllerBase from 'embercom/controllers/apps/app/outbound/auto/base/auto-message-list-controller-base';\n\nexport default AutoMessageListControllerBase.extend({\n  audience: 'users',\n  state: 'live',\n  noMessagesLabel: 'No live auto messages',\n  icon: ternary('hasSearchTerm', 'search', 'auto-message'),\n  sort_by: 'went_live_at',\n  defaultSortBy: 'went_live_at',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { alias } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nexport default Controller.extend({\n  appController: controller('apps/app'),\n  app: alias('appController.model'),\n});\n","import MessageController from 'embercom/controllers/apps/app/outbound/message';\n\nexport default MessageController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport AutoMessageListControllerBase from 'embercom/controllers/apps/app/outbound/auto/base/auto-message-list-controller-base';\n\nexport default AutoMessageListControllerBase.extend({\n  audience: 'users',\n  state: 'stopped',\n  noMessagesLabel: 'No paused auto messages',\n  icon: ternary('hasSearchTerm', 'search', 'pause'),\n  sort_by: 'stopped_at',\n  defaultSortBy: 'stopped_at',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport AutoMessageListControllerBase from 'embercom/controllers/apps/app/outbound/auto/base/auto-message-list-controller-base';\n\nexport default AutoMessageListControllerBase.extend({\n  audience: 'users',\n  state: 'scheduled',\n  noMessagesLabel: 'No scheduled auto messages',\n  icon: ternary('hasSearchTerm', 'search', 'schedule'),\n  sort_by: 'send_at',\n  defaultSortBy: 'send_at',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport AutoMessageListControllerBase from 'embercom/controllers/apps/app/outbound/auto/base/auto-message-list-controller-base';\n\nexport default AutoMessageListControllerBase.extend({\n  state: 'all',\n  localSortEnabled: false,\n  type: 'auto',\n  isSearch: true,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { reads } from '@ember/object/computed';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport AutoMessageListControllerBase from 'embercom/controllers/apps/app/outbound/auto/base/auto-message-list-controller-base';\n\nexport default AutoMessageListControllerBase.extend({\n  audience: 'users',\n  state: 'all',\n  isYourView: true,\n  noMessagesLabel: \"You don't have any messages\",\n  icon: ternary('hasSearchTerm', 'search', 'user'),\n  currentAdminId: reads('app.currentAdmin.id'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport AutoMessageListControllerBase from 'embercom/controllers/apps/app/outbound/auto/base/auto-message-list-controller-base';\n\nexport default AutoMessageListControllerBase.extend({\n  messageRoute: 'apps.app.outbound.messages.visitor-auto.message',\n  audience: 'visitors',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport ManualMessageListController from 'embercom/controllers/apps/app/outbound/messages/manual/index';\n\nexport default ManualMessageListController.extend({\n  state: 'draft',\n  newRoute: 'apps.app.outbound.messages.manual.new',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-observers */\nimport { computed, observer } from '@ember/object';\nimport { equal, gt, mapBy, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { isBlank } from '@ember/utils';\nimport ManualMessageListControllerBase from 'embercom/controllers/apps/app/outbound/manual/base/manual-message-list-controller-base';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport ModalActions from 'embercom/controllers/mixins/users-and-companies/modal-actions';\nimport ajax from 'embercom/lib/ajax';\nimport pluralise from 'embercom/lib/inflector';\nimport LegacySelectionState from 'embercom/models/legacy-selection-state';\n\nexport default ManualMessageListControllerBase.extend(ModalActions, {\n  intercomEventService: service(),\n  notificationsService: service(),\n  type: 'manual',\n  newRoute: 'apps.app.outbound.manual.new',\n  messageRoute: 'apps.app.outbound.messages.manual.message',\n  paywallService: service(),\n  hasSelectedDrafts: gt('selectedDraftsCount', 0),\n  hasNoSelectedDrafts: not('hasSelectedDrafts'),\n  hasSingleSelectedDraft: equal('selectedDraftsCount', 1),\n  selectedIdsArray: mapBy('selected', 'id'),\n  unselectedIdsArray: mapBy('unselected', 'id'),\n  isNotSelectAllMode: not('isSelectAllMode'),\n  selectionState: computed('model', function() {\n    return LegacySelectionState.create({\n      selected: [],\n      unselected: [],\n      predicates: [\n        { type: 'anonymous', comparison: 'false', attribute: 'anonymous', value: 'nil' },\n      ],\n      count: 0,\n    });\n  }),\n  currentAdminCanSendMessages() {\n    return this.permissionsService.checkPermission('can_send_messages');\n  },\n  selectedIdsString: computed('selectedIdsArray.[]', 'isNotSelectAllMode', function() {\n    if (this.isNotSelectAllMode) {\n      let selected_ids = this.selectedIdsArray;\n      return isBlank(selected_ids) ? null : selected_ids.join();\n    } else {\n      return null;\n    }\n  }),\n  unselectedIdsString: computed('unselectedIdsArray.[]', 'isSelectAllMode', function() {\n    if (this.isSelectAllMode) {\n      let unselected_ids = this.unselectedIdsArray;\n      return isBlank(unselected_ids) ? null : unselected_ids.join();\n    } else {\n      return null;\n    }\n  }),\n  selectedDraftsCount: computed(\n    'isSelectAllMode',\n    'selected.length',\n    'unselected.length',\n    'totalItemCount',\n    function() {\n      let selectedCount = this.get('selected.length') || 0;\n      let unselectedCount = this.get('unselected.length') || 0;\n      if (this.isSelectAllMode) {\n        return this.totalItemCount - unselectedCount;\n      } else {\n        return selectedCount;\n      }\n    },\n  ),\n  messageDescriptionString: computed(\n    'state',\n    'totalItemCount',\n    'isSearch',\n    'searchPageTitle',\n    function() {\n      let messageWord = pluralise('Message', this.totalItemCount);\n      if (this.state === 'scheduled') {\n        return `Scheduled Manual ${messageWord}`;\n      } else if (this.state === 'draft') {\n        return `Draft Manual ${messageWord}`;\n      } else {\n        return `Manual ${messageWord}`;\n      }\n    },\n  ),\n  onPageLoad: observer({\n    dependentKeys: ['model.length'],\n\n    fn() {\n      if (this.isSelectAllMode) {\n        this.model.setEach('selected', true);\n      }\n    },\n\n    sync: true,\n  }),\n  onSelectAllChange: observer({\n    dependentKeys: ['isSelectAllMode'],\n\n    fn() {\n      if (this.isSelectAllMode) {\n        this.model.setEach('selected', this.isSelectAllMode);\n      }\n    },\n\n    sync: true,\n  }),\n  actions: {\n    createNewMessage(type = null, deliveryChannel = null) {\n      if (this.showCreateMessageModal) {\n        this.set('showCreateMessageModal', false);\n        this.send('transitionToNewManualMessage', type, deliveryChannel);\n      } else {\n        this.set('showCreateMessageModal', true);\n      }\n    },\n    transitionToNewManualMessage(type = null, deliveryChannel = null) {\n      this.intercomEventService.trackEvent('create-new-message', {\n        type: 'manual',\n      });\n      this.paywallService\n        .paywall({ featureName: 'manual_messaging' })\n        .then(() => {\n          this.permissionsService.checkPermission('can_send_messages');\n          this.transitionToRoute(this.newRoute, {\n            queryParams: {\n              selectionState: this.get('selectionState.toJSON'),\n              type,\n              deliveryChannel,\n            },\n          });\n        })\n        .catch(this.paywallService.handleError);\n    },\n    confirmDeletion() {\n      this.currentAdminCanSendMessages().then(() => {\n        let confirmationString;\n        if (this.hasSingleSelectedDraft) {\n          confirmationString = 'Are you sure you want to delete the selected draft message?';\n        } else {\n          confirmationString = `Are you sure you want to delete the ${this.selectedDraftsCount} selected draft messages?`;\n        }\n        if (confirm(confirmationString)) {\n          this.send('deleteSelectedDrafts');\n        }\n      });\n    },\n    deleteSelectedDrafts() {\n      return ajax({\n        url: '/ember/messages/bulk_delete',\n        type: 'POST',\n        data: JSON.stringify({\n          app_id: this.get('app.id'),\n          state: this.state,\n          type: this.type,\n          select_all: this.isSelectAllMode,\n          selected_ids: this.selectedIdsString,\n          unselected_ids: this.unselectedIdsString,\n          owner_id: this.admin_id || null,\n          search_term: this.search_term || null,\n        }),\n      }).then(() => {\n        this.notificationsService.notifyConfirmation('Draft messages deleted.');\n        this.query.reset();\n        this.query.nextPage();\n      });\n    },\n  },\n});\n","import MessageController from 'embercom/controllers/apps/app/outbound/message';\n\nexport default MessageController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nexport default Controller.extend({\n  queryParams: ['body', 'subject', 'style', 'selectionState', 'to_user_id', 'is_company_message'],\n  content: {},\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport ManualMessageListController from 'embercom/controllers/apps/app/outbound/messages/manual/index';\n\nexport default ManualMessageListController.extend({\n  state: 'scheduled',\n  newRoute: 'apps.app.outbound.messages.manual.new',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport ManualMessageListControllerBase from 'embercom/controllers/apps/app/outbound/manual/base/manual-message-list-controller-base';\n\nexport default ManualMessageListControllerBase.extend({\n  state: 'all',\n  localSortEnabled: false,\n  type: 'manual',\n  isSearch: true,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport ManualMessageListController from 'embercom/controllers/apps/app/outbound/messages/manual/index';\n\nexport default ManualMessageListController.extend({\n  state: 'sent',\n  sort_by: 'went_live_at',\n  created_via: 'api',\n  newRoute: 'apps.app.outbound.messages.manual.new',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport ManualMessageListController from 'embercom/controllers/apps/app/outbound/messages/manual/index';\n\nexport default ManualMessageListController.extend({\n  state: 'sent',\n  sort_by: 'went_live_at',\n  newRoute: 'apps.app.outbound.messages.manual.new',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { or } from '@ember/object/computed';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport VisitorAutoMessageListControllerBase from 'embercom/controllers/apps/app/outbound/messages/base/visitor-auto-message-list-controller-base';\n\nexport default VisitorAutoMessageListControllerBase.extend({\n  state: 'all',\n  isSearch: or('hasAdminId', 'hasSearchTerm'),\n  noMessagesLabel: 'No auto messages',\n  icon: ternary('hasSearchTerm', 'search', 'list'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport VisitorAutoMessageListControllerBase from 'embercom/controllers/apps/app/outbound/messages/base/visitor-auto-message-list-controller-base';\n\nexport default VisitorAutoMessageListControllerBase.extend({\n  state: 'draft',\n  noMessagesLabel: 'No draft auto messages',\n  icon: ternary('hasSearchTerm', 'search', 'edit'),\n  localSortEnabled: false,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport VisitorAutoMessageListControllerBase from 'embercom/controllers/apps/app/outbound/messages/base/visitor-auto-message-list-controller-base';\n\nexport default VisitorAutoMessageListControllerBase.extend({\n  state: 'live',\n  noMessagesLabel: 'No live auto messages',\n  icon: ternary('hasSearchTerm', 'search', 'auto-message'),\n  sort_by: 'went_live_at',\n  defaultSortBy: 'went_live_at',\n});\n","import MessagesController from 'embercom/controllers/apps/app/outbound/message';\n\nexport default MessagesController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport VisitorAutoMessageListControllerBase from 'embercom/controllers/apps/app/outbound/messages/base/visitor-auto-message-list-controller-base';\n\nexport default VisitorAutoMessageListControllerBase.extend({\n  state: 'stopped',\n  noMessagesLabel: 'No paused auto messages',\n  icon: ternary('hasSearchTerm', 'search', 'pause'),\n  sort_by: 'stopped_at',\n  defaultSortBy: 'stopped_at',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport VisitorAutoMessageListControllerBase from 'embercom/controllers/apps/app/outbound/messages/base/visitor-auto-message-list-controller-base';\n\nexport default VisitorAutoMessageListControllerBase.extend({\n  state: 'scheduled',\n  noMessagesLabel: 'No scheduled auto messages',\n  icon: ternary('hasSearchTerm', 'search', 'schedule'),\n  sort_by: 'send_at',\n  defaultSortBy: 'send_at',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport VisitorAutoMessageListControllerBase from 'embercom/controllers/apps/app/outbound/messages/base/visitor-auto-message-list-controller-base';\n\nexport default VisitorAutoMessageListControllerBase.extend({\n  state: 'all',\n  localSortEnabled: false,\n  type: 'visitor_auto',\n  isSearch: true,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { reads } from '@ember/object/computed';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport VisitorAutoMessageListControllerBase from 'embercom/controllers/apps/app/outbound/messages/base/visitor-auto-message-list-controller-base';\n\nexport default VisitorAutoMessageListControllerBase.extend({\n  state: 'all',\n  isYourView: true,\n  noMessagesLabel: \"You don't have any messages\",\n  icon: ternary('hasSearchTerm', 'search', 'person'),\n  currentAdminId: reads('app.currentAdmin.id'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { reads } from '@ember/object/computed';\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nexport default Controller.extend(IntercomModal, {\n  message: reads('model'),\n  dependencies: reads('model.dependencies'),\n  campaignDependencies: reads('dependencies.campaignMessageDependencies'),\n  actions: {\n    openMessage(id) {\n      this.send('closeModal');\n      this.transitionToRoute('apps.app.outbound.message', id);\n    },\n    openCampaign(id) {\n      this.send('closeModal');\n      this.transitionToRoute('apps.app.outbound.messages.auto.campaigns.campaign', id);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\nimport { mapBy } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { isPresent } from '@ember/utils';\nimport MessageModalController from 'embercom/controllers/base/modals/message';\nimport ajax from 'embercom/lib/ajax';\nimport statsKeys from 'embercom/lib/messages/stats-keys';\nimport Message from 'embercom/models/message';\n\nexport default MessageModalController.extend({\n  intercomEventService: service(),\n  TARGET_ID_KEY: 'userId',\n  BULK_MESSAGE_VARIATION_URL: `/ember/bulk_actions/bulk_message_variation_audience.json`,\n  BULK_MESSAGE_CONTROL_GROUP_URL: `/ember/bulk_actions/bulk_message_control_group_audience.json`,\n  selectedUserIds: mapBy('model.selected', 'userId'),\n\n  //Override base simple composer endpoint\n  postMessage() {\n    return ajax({\n      url: this.get('options.isControlGroup')\n        ? this.BULK_MESSAGE_CONTROL_GROUP_URL\n        : this.BULK_MESSAGE_VARIATION_URL,\n      type: 'POST',\n      data: JSON.stringify(this._generateRequestData()),\n    }).then(() => {\n      this._trackMessageToSmallUserCount(this.get('selectionState.count'), {\n        composer: 'simple-composer',\n        activeSelectedUsersCount: this.activeSelectedUsersCount,\n        inactiveSelectedUsersCount: this.inactiveSelectedUsersCount,\n      });\n      this.intercomEventService.trackEvent('simple-composer-sent', {\n        users: this.get('selectionState.count'),\n      });\n      this._trackMessageFiltersOnSend();\n    });\n  },\n  _generateRequestData() {\n    let data = {\n      admin_id: this.get('admin.id'),\n      blocks: this.composerComponent.getBlocks(),\n      app_id: this.get('app.id'),\n      created_via: 'simple_composer',\n      created_via_version: Message.CREATED_VIA_SIMPLE_COMPOSER_VERSION,\n      subject: this.subject,\n      message_type: this.type,\n      delivery_option: this.deliveryOption,\n      email_style: this.emailTemplateId,\n      company_message: this.isCreatingCompanyMessage,\n      send_push_notification: this.shouldSendPushNotification,\n      message_id: this.get('options.messageId'),\n      is_select_all_mode: this.get('options.isSelectAllMode'),\n      count: this.get('options.count'),\n    };\n    if (this.get('options.isControlGroup')) {\n      data['control_group_id'] = this.get('options.variationId');\n    } else {\n      data['message_variation_id'] = this.get('options.variationId');\n    }\n    if (this.get('options.isSelectAllMode')) {\n      data['included_ids'] = [];\n    } else {\n      data['included_ids'] = this.get('options.includedIds');\n    }\n    let stat = statsKeys[this.get('options.statistic')];\n    if (stat) {\n      data[stat] = !this.get('options.inverted');\n    }\n    if (isPresent(this.get('options.reaction'))) {\n      data[statsKeys['reaction']] = this.get('options.reaction');\n    }\n    if (this.get('options.linkFilter') !== null) {\n      data['message_variation_link_id'] = this.get('options.linkFilter');\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'bulk_message_users_by_clicked_link',\n        object: this.get('options.linkFilter'),\n        context: 'message-stats',\n      });\n    }\n    return data;\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { isPresent } from '@ember/utils';\nimport { reads, readOnly } from '@ember/object/computed';\nimport Evented, { on } from '@ember/object/evented';\nimport Controller from '@ember/controller';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\n\nexport default Controller.extend(IntercomModal, Evented, {\n  notificationsService: service(),\n  isDisabled: true,\n  selectedItem: null,\n  isRemovalMode: false,\n  existingFolder: reads('message.folder'),\n  existingCampaign: reads('message.campaign'),\n  message: readOnly('model'),\n  dependencies: null,\n  campaignMessageDependencies: null,\n  checkDependencies: on('didBecomeActive', function() {\n    this.getMessageDependencies.perform();\n  }),\n  folder: ternaryToProperty('message.belongsToFolder', 'message.folder', 'message.campaign'),\n  generateParams(item) {\n    let paramsKey =\n      item.constructor.modelName === 'message-folder' ? 'new_folder_id' : 'new_campaign_id';\n    let params = {};\n    params[paramsKey] = item.get('id');\n    return params;\n  },\n  getMessageDependencies: task(function*() {\n    let dependencies = yield this.message.latestDependencies();\n    if (dependencies.get('hasAnyDependencies')) {\n      this.setProperties({\n        dependencies,\n        campaignMessageDependencies: dependencies.get('campaignMessageDependencies'),\n        isDisabled: true,\n      });\n    }\n  }),\n  assignMessage(item) {\n    let name = item.get('title') || item.get('name');\n    this.moveMessage.perform(name, this.generateParams(item));\n  },\n  unassignMessage() {\n    let name = this.get('message.belongsToFolder')\n      ? this.get('message.folder.name')\n      : this.get('message.campaign.title');\n    this.moveMessage.perform(name, { remove_from_group: true });\n  },\n  moveMessage: task(function*(name, params) {\n    this.set('isMoving', true);\n    let result = yield this.options.move.perform(name, params);\n    if (result.success) {\n      this.send('closeModal');\n    } else {\n      this.notificationsService.notifyResponseError(result.error, {\n        default: `Hmm, something went wrong and we couldn't update your folder. Send us a message and we'll do our best to help out.`,\n      });\n    }\n    this.set('isMoving', false);\n  }),\n\n  actions: {\n    move() {\n      if (this.isRemovalMode) {\n        this.unassignMessage();\n      } else {\n        this.assignMessage(this.selectedItem);\n      }\n    },\n    itemSelected(item) {\n      this.setProperties({\n        isRemovalMode: false,\n        selectedItem: item,\n        isDisabled: isPresent(this.campaignMessageDependencies),\n      });\n    },\n    itemRemoved() {\n      this.setProperties({\n        isRemovalMode: true,\n        selectedItem: null,\n        isDisabled: isPresent(this.campaignMessageDependencies),\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly } from '@ember/object/computed';\nimport Controller from '@ember/controller';\nexport default Controller.extend({\n  variation: readOnly('model'),\n  canCloseModal: true,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\nimport TagModalController from 'embercom/controllers/base/modals/tag';\nimport ajax from 'embercom/lib/ajax';\nimport statsKeys from 'embercom/lib/messages/stats-keys';\n\nexport default TagModalController.extend({\n  _generateRequestData() {\n    let data = {\n      admin_id: this.get('admin.id'),\n      app_id: this.get('app.id'),\n      tag_name: this.selectedTagName,\n      message_id: this.get('options.messageId'),\n      is_select_all_mode: this.get('options.isSelectAllMode'),\n      count: this.get('options.count'),\n    };\n    if (this.get('options.isControlGroup')) {\n      data['control_group_id'] = this.get('options.variationId');\n    } else {\n      data['message_variation_id'] = this.get('options.variationId');\n    }\n    if (this.get('options.isSelectAllMode')) {\n      data['included_ids'] = [];\n    } else {\n      data['included_ids'] = this.get('options.includedIds');\n    }\n    let stat = statsKeys[this.get('options.statistic')];\n    if (stat) {\n      data[stat] = !this.get('options.inverted');\n    }\n    if (this.get('options.reaction') !== null) {\n      data[statsKeys['reaction']] = this.get('options.reaction');\n    }\n    if (this.get('options.goalFilter') !== null) {\n      data[this.get('options.goalFilter')] = true;\n    }\n    if (this.get('options.linkFilter') !== null) {\n      data['message_variation_link_id'] = this.get('options.linkFilter');\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'bulk_tag_users_by_clicked_link',\n        object: this.get('options.linkFilter'),\n        context: 'message-stats',\n      });\n    }\n    return data;\n  },\n  actions: {\n    submit() {\n      this.setProperties({\n        isSaving: true,\n        hasErrored: false,\n      });\n      ajax({\n        url: '/ember/bulk_actions/bulk_tag_audience.json',\n        type: 'POST',\n        data: JSON.stringify(this._generateRequestData()),\n      }).then(this.handleSuccess.bind(this), this.handleError.bind(this));\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-private-routing-service */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport { reads, bool, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport MUTATIONS from 'embercom/lib/data-mutations/constants/commands';\nimport moment from 'moment';\nimport Admin from 'embercom/models/admin';\n\nexport default Controller.extend(IntercomModal, {\n  canCloseModal: true,\n  messageMutationService: service(),\n  store: service(),\n  adminId: reads('model.adminId'),\n  lockingAdmin: computed('model.adminId', function() {\n    return Admin.peekAndMaybeLoad(this.store, this.get('model.adminId'));\n  }),\n  isLastEditingAdmin: bool('model.isLastEditingAdmin'),\n  lastUpdatedAgo: computed('model.lastUpdatedAt', function() {\n    return moment(this.get('model.lastUpdatedAt')).fromNow();\n  }),\n  isEditing: readOnly('model.isEditing'),\n  _overwriteMessage() {\n    let context = {\n      location: Object.getPrototypeOf(this)._debugContainerKey,\n      method: this._overwriteMessage.name,\n    };\n    let mutation = {\n      command: MUTATIONS.setValue,\n      key: 'versionLock',\n      data: this.get('model.versionLock'),\n      context,\n    };\n    this.messageMutationService.performMutations(this.get('model.message'), [mutation]);\n  },\n\n  actions: {\n    reloadModel() {\n      this.set('isReloading', true);\n      this.get('model.message').rollbackMessageAndRelationships();\n      this.get('target._routerMicrolib')\n        .refresh()\n        .then(() => {\n          this.set('isReloading', false);\n          this.send('closeModal');\n        });\n    },\n  },\n});\n","import ContentEditorController from 'embercom/controllers/apps/app/content/edit';\nexport default ContentEditorController;\n","import OutboundBaseListController from 'embercom/lib/outbound/base-list-controller';\nimport {\n  objectIcons,\n  objectTypes,\n  objectInterfaceIcons,\n} from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class AppsAppOutboundPostIndexController extends OutboundBaseListController {\n  bannerData = {\n    pageTitle: 'Posts',\n    button: 'New post',\n    icon: objectIcons[objectTypes.post],\n    interfaceIcon: objectInterfaceIcons[objectTypes.post],\n    selectedObjectType: objectTypes.post,\n    description: 'Make announcements directly from your product.',\n    links: [\n      {\n        description: 'How to get started',\n        target:\n          'https://www.intercom.com/help/en/articles/3292781-get-started-with-in-app-messages',\n      },\n      {\n        description: 'Learn how Posts work',\n        target:\n          'https://www.intercom.com/help/en/articles/1729-setting-up-in-app-messages-for-maximum-impact',\n      },\n    ],\n  };\n}\n","import ContentEditorController from 'embercom/controllers/apps/app/content/edit';\nexport default ContentEditorController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport OutboundBaseListController from 'embercom/lib/outbound/base-list-controller';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { and } from '@ember/object/computed';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport {\n  objectTypes,\n  objectInterfaceIcons,\n} from 'embercom/models/data/matching-system/matching-constants';\n\nconst MESSAGES_TOUR_ID = 62661;\n\nexport default OutboundBaseListController.extend({\n  outboundHomeService: service(),\n  contentEditorService: service(),\n  appService: service(),\n\n  isPushAvailable: and(\n    'appService.app.hasMobileIntegration',\n    'appService.app.isNotDeveloperWorkspace',\n  ),\n  pushUnavailableTooltip: ternary(\n    'appService.app.isDeveloperWorkspace',\n    \"Push messages can't be sent from a development workspace\",\n    'You need to upload a push certificate for iOS or a FCM key for Android to send push messages',\n  ),\n  bannerData: computed('isPushAvailable', 'pushUnavailableTooltip', function() {\n    return {\n      pageTitle: 'Mobile Push',\n      icon: 'push-notification-filled',\n      button: 'New mobile push',\n      interfaceIcon: objectInterfaceIcons[objectTypes.push],\n      buttonDisabled: !this.isPushAvailable,\n      buttonDisabledTooltip: this.pushUnavailableTooltip,\n      selectedObjectType: objectTypes.push,\n      description:\n        'Re-engage customers by bringing them back into specific parts of your mobile app.',\n      links: [\n        {\n          description: 'How to get started',\n          target:\n            'https://www.intercom.com/help/en/articles/3292847-get-started-sending-mobile-push-messages',\n          analyticsObject: 'how_to_get_started_link',\n        },\n        {\n          description: 'Learn how mobile push works',\n          target:\n            'https://www.intercom.com/help/en/articles/227-how-mobile-push-notifications-and-messages-work',\n          analyticsObject: 'how_pushes_work_link',\n        },\n        {\n          description: 'Take a tour',\n          tourId: MESSAGES_TOUR_ID,\n          analyticsObject: 'messages_tour_link',\n        },\n      ],\n    };\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport ReportBase from 'embercom/controllers/apps/app/reports/base/report';\n\nexport default ReportBase.extend({});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport ReportBase from 'embercom/controllers/apps/app/reports/base/report';\n\nexport default ReportBase.extend({\n  reportName: 'messages_overview',\n});\n","import OutboundBaseListController from 'embercom/lib/outbound/base-list-controller';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport { PAGE_SIZE } from 'embercom/models/data/outbound/constants';\nimport { matchBehaviors } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default OutboundBaseListController.extend({\n  outboundHomeService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  queryParams: ['type', { searchString: 'q' }],\n  searchString: '',\n  searchIcon: 'search',\n  isLoading: false,\n\n  type: 'ongoing',\n  tabs: ['ongoing', 'one-off'],\n  items: [],\n\n  matchBehavior: computed('type', function() {\n    if (this.type === 'one-off') {\n      return matchBehaviors.static;\n    } else {\n      return matchBehaviors.single;\n    }\n  }),\n\n  async search(searchString) {\n    this.set('searchString', searchString);\n    this.set('isLoading', true);\n    this.intercomEventService.trackEvent('outbound-search', {\n      searchTerm: searchString,\n      messageType: this.matchBehavior ? 'one-off' : 'ongoing',\n    });\n    let response = await this.outboundHomeService.contentSearch({\n      app_id: this.app.id,\n      object_types: this.objectTypes,\n      per_page: PAGE_SIZE,\n      page_from: 0,\n      match_behavior: this.matchBehavior,\n      title: searchString,\n      statistics: this.statistics,\n    });\n\n    this.setProperties({\n      searchResults: response.contentWrappers,\n      pageFrom: response.pageFrom,\n      perPage: response.perPage,\n      totalCount: response.totalCount,\n      totalPages: response.totalPages,\n      lastPageHit: response.lastPageHit,\n    });\n    this.set('isLoading', false);\n  },\n\n  actions: {\n    async doSearch(item) {\n      if (item && item.name.length > 0) {\n        await this.search(item.name);\n      }\n    },\n\n    async selectTab(type) {\n      this.set('type', type);\n      if (this.searchString) {\n        await this.search(this.searchString);\n      }\n    },\n\n    async loadMore(perPage, pageFrom, debounceTime) {\n      this.setProperties({ perPage, pageFrom });\n      let response = await this.outboundHomeService.contentSearch({\n        app_id: this.app.id,\n        object_types: this.objectTypes,\n        per_page: perPage,\n        page_from: pageFrom,\n        title: this.searchString,\n        statistics: this.statistics,\n      });\n      this.setProperties({\n        searchResults: [...this.searchResults, ...response.contentWrappers],\n        totalCount: response.totalCount,\n        totalPages: response.totalPages,\n        lastPageHit: response.lastPageHit,\n      });\n    },\n\n    resetSearch() {\n      this.set('searchString', '');\n      this.set('searchResults', []);\n      this.set('isLoading', false);\n    },\n  },\n});\n","import OutboundBaseListController from 'embercom/lib/outbound/base-list-controller';\nimport { objectIcons, objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { inject as service } from '@ember/service';\n\nexport default class SeriesIndexController extends OutboundBaseListController {\n  @service appService;\n  @tracked showContentCreationModal;\n  @tracked selectedTemplate;\n\n  queryParams = ['product_tour_id'];\n\n  bannerData = {\n    pageTitle: 'Series',\n    button: 'New Series',\n    icon: objectIcons[objectTypes.series],\n    selectedObjectType: objectTypes.series,\n    description: 'Visually design messaging campaigns across all Intercom message types.',\n  };\n\n  @action\n  selectTemplate(template) {\n    this.selectedTemplate = template;\n    this.showContentCreationModal = true;\n  }\n\n  @action\n  onNewContentModalClose() {\n    this.selectedTemplate = undefined;\n    this.showContentCreationModal = false;\n  }\n\n  @action\n  createNewSeries({ templateId }) {\n    this.transitionToRoute('apps.app.outbound.series.new', {\n      queryParams: { mode: 'edit', template_id: templateId },\n    });\n  }\n\n  @action\n  async loadMore(perPage, pageFrom, debounceTime) {\n    this.set('perPage', perPage);\n    this.set('pageFrom', pageFrom);\n\n    let response = await this.outboundHomeService.fetchSeriesList({\n      per_page: perPage,\n      page_from: pageFrom,\n    });\n\n    this.set('model', [...this.model, ...response.contentWrappers]);\n    this.set('totalCount', response.totalCount);\n    this.set('totalPages', response.totalPages);\n    this.set('lastPageHit', response.lastPageHit);\n  }\n}\n","import Controller from '@ember/controller';\n\nexport default class AppsAppOutboundSeriesNewController extends Controller {\n  queryParams = ['mode', 'template_id'];\n}\n","import Controller from '@ember/controller';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\n\nexport default class AppsAppOutboundSeriesSeriesController extends Controller {\n  @service seriesEditorService;\n  @tracked nodeId = null;\n  @tracked _mode = 'view'; // Tracking mode directly causes this issue: https://github.com/emberjs/ember.js/issues/18715\n  @tracked _view = 'overview';\n  @tracked _filter = stats.receipt;\n  queryParams = ['nodeId', 'mode', 'view', 'filter'];\n\n  get filter() {\n    return this._filter;\n  }\n\n  set filter(value) {\n    this._filter = value;\n  }\n\n  get mode() {\n    return this._mode;\n  }\n\n  set mode(value) {\n    this._mode = value;\n  }\n\n  get view() {\n    return this._view;\n  }\n\n  set view(value) {\n    this._view = value;\n  }\n\n  @action changeFilter(newFilter) {\n    this.filter = newFilter;\n  }\n\n  @action changeMode(newMode) {\n    if (newMode !== this.mode) {\n      this.mode = newMode;\n    }\n  }\n\n  @action changeView(newView) {\n    this.view = newView;\n  }\n}\n","import ContentEditorController from 'embercom/controllers/apps/app/content/edit';\nexport default ContentEditorController;\n","import OutboundBaseListController from 'embercom/lib/outbound/base-list-controller';\nimport { inject as service } from '@ember/service';\nimport {\n  objectTypes,\n  matchBehaviors,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { action } from '@ember/object';\n\nexport default class AppsAppOutboundSmsIndexController extends OutboundBaseListController {\n  @service outboundHomeService;\n  @service contentEditorService;\n  @service appService;\n\n  bannerData = {\n    pageTitle: 'SMS Message',\n    icon: 'mobile',\n    button: 'New SMS message',\n    isPushSelected: true,\n    description: 'Reach your customers directly contacting them with an SMS message.',\n  };\n\n  @action\n  createContent(messageType = null, deliveryChannel = null, audienceType = null) {\n    this.set('showContentCreationModal', false);\n    return this.transitionToRoute('apps.app.content.new', {\n      app_id: this.appService.app.id,\n      match_behavior: matchBehaviors.single,\n      object_type: objectTypes.sms,\n      object_data: {},\n    });\n  }\n}\n","import ContentEditorController from 'embercom/controllers/apps/app/content/edit';\nexport default ContentEditorController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport ContentEditorController from 'embercom/controllers/apps/app/content/edit';\nimport { computed, action } from '@ember/object';\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default ContentEditorController.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  queryParams: ['editing', 'stat', 'referer', 'filter', 'mode', 'view'],\n  editing: false,\n  stat: null,\n  referer: null,\n\n  initiallyOpenSectionName: computed('model.isNewRuleset', 'referer', function() {\n    if (this.model.isNewRuleset) {\n      return 'content';\n    }\n    if (this.referer === 'insert_tour_modal') {\n      return 'insertion';\n    }\n  }),\n\n  actions: {\n    changeView(newView, filter = null) {\n      if (this.app.canUseToursContentEditor) {\n        this._super(...arguments);\n      } else {\n        let tourStats = [stats.receipt, stats.completion, stats.goalSuccess, stats.tourStepFailure];\n\n        if (newView === 'editor') {\n          this.set('editing', true);\n          this.set('filter', null);\n          this.set('stat', null);\n        } else {\n          this.set('editing', false);\n          if (tourStats.includes(newView)) {\n            if (stats.goalSuccess === newView) {\n              if (stats.completion === filter) {\n                this.set('filter', filter);\n              } else {\n                this.set('filter', 'receipt');\n              }\n            } else {\n              this.set('filter', null);\n            }\n            this.set('stat', newView);\n          } else {\n            this.set('filter', null);\n            this.set('stat', null);\n          }\n        }\n      }\n    },\n  },\n\n  transitionToSearch: action(function() {\n    this.transitionToRoute('apps.app.outbound.search');\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport OutboundBaseListController from 'embercom/lib/outbound/base-list-controller';\nimport { matchBehaviors } from 'embercom/models/data/matching-system/matching-constants';\n\nconst GETTING_STARTED_TOUR_ID = 2309;\n\nexport default OutboundBaseListController.extend({\n  bannerData: {\n    pageTitle: 'Product Tours',\n    button: 'New product tour',\n    icon: 'product-tours-filled',\n    isToursSelected: true,\n    description: 'Guide customers through your product to help them see all its value faster.',\n    links: [\n      {\n        description: 'See what you can do with tours',\n        tourId: GETTING_STARTED_TOUR_ID,\n        analyticsObject: 'how_to_get_started_link',\n      },\n      {\n        description: 'Learn how tours work',\n        target:\n          'https://www.intercom.com/help/product-tours/guide-customers-to-success-with-product-tours',\n        analyticsObject: 'how_product_tours_work_link',\n      },\n    ],\n  },\n  matchBehavior: matchBehaviors.single,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { inject as controller } from '@ember/controller';\nimport GuideIndexBaseController from 'embercom/controllers/base/guide/index';\n\nexport default GuideIndexBaseController.extend({\n  productChecklists: null,\n  guideController: controller('apps.app.platform.guide'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { not } from '@ember/object/computed';\nimport { REPORTING_RANGE_UPDATED } from 'embercom/services/reporting-service';\n\nexport default Controller.extend({\n  bootOptionsService: service(),\n  reportingService: service(),\n  showNavBar: not('bootOptionsService.embeddedContent'),\n\n  queryParams: {\n    rangeStart: {\n      scope: 'controller',\n    },\n    rangeEnd: {\n      scope: 'controller',\n    },\n  },\n  rangeStart: null,\n  rangeEnd: null,\n\n  init() {\n    this._super(...arguments);\n    this.reportingService.on(REPORTING_RANGE_UPDATED, () => {\n      let { start, end } = this.reportingService.range;\n      this.setProperties({\n        rangeStart: start,\n        rangeEnd: end,\n      });\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport ReportBase from 'embercom/controllers/apps/app/reports/base/report';\nimport { inject as service } from '@ember/service';\nimport Admin from 'embercom/models/admin';\n\nexport default ReportBase.extend({\n  intercomEventService: service(),\n  store: service(),\n  actions: {\n    changeTeamOrTeammate(teamOrTeammateId) {\n      let teamOrTeammate;\n      let models = [];\n      if (teamOrTeammateId) {\n        teamOrTeammate = Admin.peekAndMaybeLoad(this.store, teamOrTeammateId);\n        models = [teamOrTeammate];\n      }\n      this.setProperties({\n        teammateId: teamOrTeammateId,\n        teamOrTeammate,\n      });\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'filtered_by_teammate',\n        object: this.reportName,\n        models,\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly, equal } from '@ember/object/computed';\nimport Controller from '@ember/controller';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\nimport { inject as service } from '@ember/service';\nimport { SIGNAL_CONFIGS } from 'embercom/models/reporting/signal';\nimport moment from 'moment';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  reportingService: service(),\n  appService: service(),\n  signalConfigs: SIGNAL_CONFIGS,\n  palette: PALETTE,\n\n  teamOrTeammate: null,\n  tag: null,\n  app: readOnly('appService.app'),\n  timezone: readOnly('app.timezone'),\n\n  concatenatedProperties: ['queryParams'],\n  queryParams: ['teammateId', 'scopingTagIds', 'deprecatedReports', 'botInboxTime'],\n\n  teammateId: null,\n  scopingTagIds: null,\n  range: null,\n  botInboxTime: null,\n\n  botInboxTimeExcluded: equal('botInboxTime', 'excluded'),\n\n  _recordFilteredByDateAnalyticsEvent() {\n    let range = this.range;\n    let params = {\n      action: 'filtered_by_date',\n      object: this.reportName,\n      date_filter: this.range.selectedRange,\n      start_date: range.startMoment.format('YYYY/MM/DD'),\n      end_date: range.endMoment.format('YYYY/MM/DD'),\n    };\n    let teamOrTeammate = this.teamOrTeammate;\n    if (teamOrTeammate) {\n      params.models = [teamOrTeammate];\n    }\n    this.intercomEventService.trackAnalyticsEvent(params);\n  },\n  actions: {\n    updateRange(range) {\n      let excludeBotInboxStartDate = null;\n      if (this.botInboxTimeExcluded) {\n        excludeBotInboxStartDate = this.settings.excludeBotInboxStartDate;\n      }\n      this.reportingService.updateRange(range, excludeBotInboxStartDate);\n\n      this._recordFilteredByDateAnalyticsEvent();\n    },\n    changeTag(tag) {\n      let scopingTagIds = null;\n      if (tag !== null) {\n        scopingTagIds = [tag.get('id')];\n      }\n      this.setProperties({ scopingTagIds, tag });\n    },\n    toggleBotInboxTime(value) {\n      this.set('botInboxTime', value);\n\n      if (\n        this.botInboxTimeExcluded &&\n        this.range.startMoment.isBefore(this.settings.excludeBotInboxStartDate)\n      ) {\n        this.notificationsService.notifyWarning(\n          `Data to exclude bots is available from ${moment(\n            this.settings.excludeBotInboxStartDate,\n          ).format(dateAndTimeFormats.date)}, when your bot inbox was activated.`,\n          5000,\n        );\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { inject as service } from '@ember/service';\nimport ReportBase from 'embercom/controllers/apps/app/reports/base/report';\nimport { readOnly } from '@ember/object/computed';\n\nexport default ReportBase.extend({\n  reportingService: service(),\n  intercomEventService: service(),\n  timezone: readOnly('app.timezone'),\n  selectedView: undefined,\n  excludeOoOHours: readOnly('settings.reportingExcludeOooHours'),\n  actions: {\n    selectViewId(id) {\n      this.set('selectedView', id);\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'select',\n        object: 'view',\n        id,\n      });\n    },\n\n    updateRange(range) {\n      this.set('range', range);\n      this.setProperties({\n        rangeStart: range.start,\n        rangeEnd: range.end,\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/use-brace-expansion */\nimport { computed, observer } from '@ember/object';\nimport { readOnly, reads, equal, or, and } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport {\n  applyFunction,\n  htmlSafe,\n  templateString,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport numericFormatter from 'embercom/lib/numeric-formatter';\nimport InsightsBaseController from 'embercom/controllers/base/insights';\nimport LeadConversationStatsMixin from 'embercom/mixins/insights/lead-conversation-stats';\nimport insightsMessagesChartTooltipFormatter from 'embercom/lib/insights/messages-chart-tooltip-formatter';\nimport Signal from 'embercom/models/reporting/signal';\nimport moment from 'moment';\nimport Range from 'embercom/models/reporting/range';\n\nexport default InsightsBaseController.extend(LeadConversationStatsMixin, {\n  intercomEventService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  permissionsService: service(),\n  appService: service(),\n\n  product: readOnly('app.messagesProduct'),\n  modelName: 'insights/messages',\n  emailOrInApp: 'in-app',\n  userOrVisitor: 'user',\n  sortBy: 'clicked',\n\n  page: computed('userOrVisitor', function() {\n    if (this.userOrVisitor === 'user') {\n      return 'engage';\n    } else {\n      return 'visitor-auto-message';\n    }\n  }),\n  messageType: computed('userOrVisitor', 'emailOrInApp', function() {\n    if (this.userOrVisitor === 'user') {\n      return this.emailOrInApp;\n    } else {\n      return 'visitor auto message';\n    }\n  }),\n\n  outboundMessageType: readOnly('emailOrInApp'),\n\n  conversationsChartData: reads('model.conversationsChartSeriesData'),\n  conversationsChartTitleUnsafe: templateString(\n    '<span class=\"t__h2\">${formattedMessageCount} messages</span> were sent <span class=\"t__h2\">${formattedConversationCount} times</span> in the last ${interval} days',\n  ),\n  conversationsChartTitle: htmlSafe('conversationsChartTitleUnsafe'),\n  conversationsChartColors: ['#334BFA'],\n  conversationsChartHoverColors: ['#2a76ff'],\n\n  formattedMessageCount: applyFunction(numericFormatter, 'model.messageCount'),\n  formattedConversationCount: applyFunction(numericFormatter, 'model.conversationCount'),\n\n  hasNoContentInInterval: equal('model.messageCount', 0),\n  showDummyContent: or('isLoading', 'hasNoContentInInterval', 'hasNoConversations'),\n\n  showNoContentCard: and('hasNoContentInInterval', 'isNotLoading', 'model.has_any_conversations'),\n\n  signal: computed('isLoading', 'model', 'model.daily_stats_as_signal', function() {\n    let signal = this.get('model.daily_stats_as_signal');\n    if (signal === undefined) {\n      return {};\n    }\n    return Signal.create({\n      valueUnit: 'sends',\n      aggregations: [],\n      timezone: this.get('app.timezone'),\n      name: 'Sends',\n      originalValue: signal.value,\n      originalContext: signal.context,\n      datePickerRangeStart: moment().subtract(7, 'days'),\n      datePickerRangeEnd: moment(),\n    });\n  }),\n\n  range: computed('interval', function() {\n    return new Range(moment().subtract(this.interval, 'days'), moment(), this.get('app.timezone'));\n  }),\n\n  displayedStats: computed('userOrVisitor', 'emailOrInApp', function() {\n    let stats;\n    if (this.userOrVisitor === 'visitor') {\n      stats = this.vamDisplayedStats;\n    }\n    if (this.emailOrInApp === 'email') {\n      stats = this.emailUAMDisplayedStats;\n    }\n    if (this.emailOrInApp === 'in-app') {\n      stats = this.inappUAMDisplayedStats;\n    }\n    return stats;\n  }),\n\n  variationStats: computed(\n    'userOrVisitor',\n    'emailOrInApp',\n    'model.formatted_global_stats',\n    'model.email_variation_stats',\n    'model.inapp_variation_stats',\n    function() {\n      if (this.userOrVisitor === 'visitor') {\n        return this.vamVariationStats;\n      }\n\n      let statType = this.emailOrInApp.replace('-', '_');\n      let path = `${statType}_variation_stats`;\n      let stats = this.get(`model.${path}`) || [];\n      let globalStats = this.get(`model.formatted_global_stats.${statType}`);\n      stats = stats.toArray();\n\n      if (globalStats) {\n        stats.push(globalStats);\n      }\n      return stats;\n    },\n  ),\n\n  outboundVariationStats: computed(\n    'userOrVisitor',\n    'emailOrInApp',\n    'model.formatted_global_stats',\n    'model.email_variation_stats',\n    'model.inapp_variation_stats',\n    function() {\n      let statType = this.emailOrInApp.replace('-', '_');\n      let path = `${statType}_variation_stats`;\n      let stats = this.get(`model.${path}`) || [];\n      let globalStats = this.get(`model.formatted_global_stats.${statType}`);\n      stats = stats.toArray();\n\n      if (globalStats) {\n        stats.push(globalStats);\n      }\n      return stats;\n    },\n  ),\n  variationStatsTitle: 'How are our messages performing?',\n\n  statTypeDidChange: observer({\n    dependentKeys: ['emailOrInApp'],\n\n    fn() {\n      let statType = this.emailOrInApp;\n      this.trackStatTypeChange();\n      if (statType === 'email') {\n        this.set('sortBy', 'opened');\n      } else {\n        this.set('sortBy', 'clicked');\n      }\n    },\n\n    sync: true,\n  }),\n\n  trackStatTypeChange() {\n    this.intercomEventService.trackEvent('engage-insights-change-type', {\n      type: this.emailOrInApp,\n    });\n  },\n\n  tooltipFormatter() {\n    return insightsMessagesChartTooltipFormatter.apply(this);\n  },\n\n  trackPageLoad() {\n    this.intercomEventService.trackEvent('engage-insights-loaded', {\n      interval: this.interval,\n    });\n  },\n\n  // Leads\n  vamDisplayedStats: [\n    {\n      name: 'Sent',\n      path: 'sent',\n      icon: 'person',\n      color: 'outbound__recipients-stat',\n    },\n    {\n      name: 'Open',\n      path: 'opened',\n      icon: 'visible',\n      color: 'outbound__opens-stat',\n    },\n    {\n      name: 'Replied',\n      path: 'replied',\n      icon: 'conversation',\n      color: 'outbound__replies-stat',\n    },\n    {\n      name: 'Goal',\n      path: 'goalPercentage',\n      icon: 'goals',\n      color: 'outbound__goal-stat',\n    },\n  ],\n\n  emailUAMDisplayedStats: [\n    {\n      name: 'Sent',\n      path: 'sent',\n      icon: 'person',\n      color: 'outbound__recipients-stat',\n    },\n    {\n      name: 'Opened',\n      path: 'opened',\n      icon: 'visible',\n      color: 'outbound__opens-stat',\n    },\n    {\n      name: 'Clicked',\n      path: 'clicked',\n      icon: 'cursor',\n      color: 'outbound__clicks-stat',\n    },\n    {\n      name: 'Unsubs',\n      path: 'unsubscribed',\n      icon: 'unsubscribed',\n      color: 'outbound__unsubscribes-stat',\n    },\n    {\n      name: 'Goal',\n      path: 'goalPercentage',\n      icon: 'goals',\n      color: 'outbound__goal-stat',\n    },\n  ],\n\n  inappUAMDisplayedStats: [\n    {\n      name: 'Sent',\n      path: 'sent',\n      icon: 'person',\n      color: 'outbound__recipients-stat',\n    },\n    {\n      name: 'Opened',\n      path: 'opened',\n      icon: 'visible',\n      color: 'outbound__opens-stat',\n    },\n    {\n      name: 'Clicked',\n      path: 'clicked',\n      icon: 'cursor',\n      color: 'outbound__clicks-stat',\n    },\n    {\n      name: 'Goal',\n      path: 'goalPercentage',\n      icon: 'goals',\n      color: 'outbound__goal-stat',\n    },\n  ],\n\n  // outbound displayed stats\n\n  outboundDisplayedStats: [\n    {\n      name: 'Sent',\n      path: 'sent',\n      icon: 'person',\n      color: 'outbound__recipients-stat',\n    },\n    {\n      name: 'Opened',\n      path: 'opened',\n      icon: 'visible',\n      color: 'outbound__opens-stat',\n    },\n    {\n      name: 'Replied',\n      path: 'replied',\n      icon: 'cursor',\n      color: 'outbound__replies-stat',\n    },\n    {\n      name: 'Clicked',\n      path: 'clicked',\n      icon: 'cursor',\n      color: 'outbound__clicks-stat',\n    },\n    {\n      name: 'Goal',\n      path: 'goalPercentage',\n      icon: 'goals',\n      color: 'outbound__goal-stat',\n    },\n  ],\n\n  actions: {\n    downloadCSV() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'downlod_engage_insights_csv',\n      });\n\n      let appId = this.get('appService.app.id');\n      let interval = this.interval;\n      let src = `/ember/insights/engage.csv?app_id=${appId}&interval=${interval}`;\n\n      window.location = src;\n    },\n\n    onChannelSelectionChange(newChannel) {\n      this.set('emailOrInApp', newChannel);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { equal, alias } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport Paging from 'embercom/components/mixins/paging';\n\nexport default Controller.extend(Paging, {\n  intercomEventService: service(),\n  hasNoInsights: equal('model.conversations', []),\n  totalCount: alias('model.conversations.length'),\n  appController: controller('apps/app'),\n  app: alias('appController.model'),\n  currentAdmin: alias('app.currentAdmin'),\n  actions: {\n    refreshRelativeTime() {},\n    partAddedToConversation() {},\n    trackAdminReplyEvent() {},\n    nextConversationPage() {},\n\n    trackEventDetails(conversation) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'expanded',\n        object: 'conversation',\n        place: 'insights',\n        owner: 'educate',\n        context: 'conversation_closed_by_operator',\n        conversation_id: conversation.get('id'),\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n\nimport Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\n\n// The day the article stats are recorded\n// https://github.com/intercom/intercom/blob/master/lib/tasks/backfill_articles_reactions_new_stats.rake#L16\nconst ARTICLE_STATS_START_DATE = '2019-05-28';\n\nexport default class CustomerSupportArticlesFlexibleController extends Controller {\n  @service appService;\n  @service intercomEventService;\n  @service reportingService;\n  @service store;\n  @tracked range;\n\n  scopingTagIds = null;\n  tag = null;\n  teammateId = null;\n  teamOrTeammate = null;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get customAttributeIds() {\n    return this.conversationAttributeDescriptors.map(descriptor => descriptor.id);\n  }\n\n  get dashboardName() {\n    return 'Articles';\n  }\n\n  @action\n  updateRange(range) {\n    this.reportingService.updateRange(range, null, true, ARTICLE_STATS_START_DATE);\n\n    let params = {\n      action: 'filtered_by_date',\n      object: this.reportName,\n      date_filter: this.range.selectedRange,\n      start_date: range.startMoment.format('YYYY/MM/DD'),\n      end_date: range.endMoment.format('YYYY/MM/DD'),\n    };\n    let teamOrTeammate = this.teamOrTeammate;\n    if (teamOrTeammate) {\n      params.models = [teamOrTeammate];\n    }\n    this.intercomEventService.trackAnalyticsEvent(params);\n  }\n\n  @action\n  trackPageView() {\n    let models = [];\n    if (this.teammate) {\n      models = [this.teammate];\n    } else if (this.teamOrTeammate) {\n      models = [...models, this.teamOrTeammate];\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: this.reportName,\n      context: this.reportContext,\n      start_date: this.range.startMoment.format('YYYY/MM/DD'),\n      end_date: this.range.endMoment.format('YYYY/MM/DD'),\n      models,\n    });\n  }\n\n  @action\n  filterBarSelectionChanged(filterType, filterValues, operator) {\n    //backwards compatible with existing teammate filters before the filter bar was introduced\n    if (filterType === 'teammatesParticipated') {\n      this.set('teammateId', filterValues);\n    } else if (this.customAttributeIds.includes(filterType)) {\n      this.customAttributes.updateValues(filterType, filterValues, operator);\n      this.set('customAttributes', this.customAttributes.clone());\n    } else {\n      this.set(filterType, filterValues);\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\nimport { later } from '@ember/runloop';\nimport { computed } from '@ember/object';\nimport { readOnly, equal, and, or, sort } from '@ember/object/computed';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport InsightsBaseController from 'embercom/controllers/base/insights';\nimport { getRouter } from 'embercom/lib/container-lookup';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\nimport { inject as service } from '@ember/service';\nimport ENV from 'embercom/config/environment';\n\nexport default InsightsBaseController.extend(EventTracking, {\n  modelName: 'insights/articles',\n  intercomEventService: service(),\n  product: readOnly('app.articlesProduct'),\n  hasNoResponse: equal('model.peopleCount', undefined),\n  hasNoViewerContent: and('isNotLoading', 'hasNoResponse'),\n  showDummyContent: or('isLoading', 'hasNoResponse'),\n  sortedArticles: sort('model.articlePerformance', 'sortDefinition'),\n  sortKey: 'views',\n  sortOrder: 'desc',\n  trackingData: {\n    action: 'changed',\n    object: 'interval_settings',\n    owner: 'educate',\n    place: 'educate_insights',\n  },\n  defaultSortOrder: 'desc',\n  isSortingInDescendingOrder: equal('sortOrder', 'desc'),\n  alternateSortOrder: ternary('isSortingInDescendingOrder', 'asc', 'desc'),\n  sortDefinition: computed('sortKey', 'sortOrder', function() {\n    let suffix = this.isSortingInDescendingOrder ? ':desc' : '';\n    return [this.sortKey + suffix];\n  }),\n  getSortEventMetadata(sortKey) {\n    let metadata = {\n      action: 'sorted',\n      place: 'insights',\n      object: sortKey === 'conversationsRate' ? 'conversations' : 'insights',\n    };\n    if (sortKey === 'conversationsRate') {\n      metadata.sorted_by = 'conversations';\n    } else if (sortKey === 'views') {\n      metadata.sorted_by = 'views';\n    } else {\n      metadata.sorted_by = 'reaction_sad';\n    }\n    return metadata;\n  },\n  actions: {\n    sortBy(key) {\n      if (key === this.sortKey) {\n        this.set('sortOrder', this.alternateSortOrder);\n      } else {\n        this.set('sortKey', key);\n        this.set('sortOrder', this.defaultSortOrder);\n      }\n      this.trackEducateEvent(this.getSortEventMetadata(this.sortKey));\n    },\n    newArticle() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'created',\n        object: 'article',\n        eventName: 'created_educate_article',\n      });\n\n      getRouter().transitionTo('apps.app.articles.articles.new');\n    },\n    trackInsightsArticle(article) {\n      later(\n        this,\n        function() {\n          this.store\n            .findRecord('article-multilingual', article.get('articleId'))\n            .then(articleModel => {\n              this.trackEducateArticleEvent(articleModel, { action: 'visited', place: 'insights' });\n            });\n        },\n        ENV.APP._2000MS,\n      );\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\nimport ReportBase from 'embercom/controllers/apps/app/reports/base/report';\nimport { computed, action } from '@ember/object';\nimport { mapContextItemToModelByKey } from 'embercom/lib/reporting/signal-transformations';\nimport { mapBy, readOnly, gt } from '@ember/object/computed';\nimport { decamelize } from '@ember/string';\nimport { task } from 'ember-concurrency';\nimport {\n  CONVERSATION_STARTED_BY,\n  TEAMMATES_PARTICIPATED,\n  TEAM_PARTICIPATED,\n  CONVERSATION_TAG,\n  USER_TAG_IDS,\n} from 'embercom/lib/reporting/conversation-event-blocks';\nimport { inject as service } from '@ember/service';\nimport moment from 'moment';\n\nconst CSV_EMPTY_LINE = [[]];\n\nconst ISO_FORMAT_WITHOUT_TZ = 'YYYY-MM-DD HH:mm:ss';\nconst DATE_WITHOUT_TIME = 'YYYY-MM-DD';\n\nconst TEAMMATE_FILTER_KEYS = ['teammateParticipated', 'teamParticipated'];\n\nconst TEAMMATE_FILTER_QUERY = {\n  key: 'conversation_teammate_reply',\n  query: {\n    name: 'default_query',\n    debug_name: 'replied_to',\n    document_type: 'events',\n    range_field: 'conversation.created_at',\n    aggregation_type: 'cardinality',\n    aggregation_field: 'conversation.id',\n    filters: {\n      'event.type': 'conversation_teammate_reply',\n      exists_fields: ['current.conversation.tag_ids'],\n    },\n  },\n};\n\nconst BASE_QUERY = {\n  key: 'conversation_created',\n  query: {\n    name: 'default_query',\n    debug_name: 'volume',\n    document_type: 'events',\n    range_field: 'conversation.created_at',\n    aggregation_type: 'value_count',\n    aggregation_field: 'conversation.id',\n    filters: {\n      'event.type': 'conversation_created',\n      exists_fields: ['current.conversation.started_at', 'current.conversation.tag_ids'],\n    },\n  },\n};\n\nexport default ReportBase.extend({\n  canUseConversationList: readOnly('app.canUseConversationList'),\n\n  csv: service(),\n\n  selectedFilters: [],\n\n  hasTags: gt('app.tags.length', 0),\n\n  timezone: readOnly('app.timezone'),\n\n  filtersIncludeTeammates: computed('selectedFilters', function() {\n    return this.selectedFilters.find(filter => TEAMMATE_FILTER_KEYS.includes(filter.key));\n  }),\n\n  baseQuery: computed('filtersIncludeTeammates', function() {\n    return this.filtersIncludeTeammates ? TEAMMATE_FILTER_QUERY : BASE_QUERY;\n  }),\n\n  query: computed('baseQuery', function() {\n    return { ...this.baseQuery.query, nested_keys_are_dates: false, keys_are_dates: false };\n  }),\n\n  signalWithoutFilteredTags(selectedFilters) {\n    return ({ context, value }) => {\n      let selectedTags = selectedFilters.filter(sf => sf.key === 'tags');\n      let selectedTagIds = selectedTags.map(st => st.value);\n      return {\n        context: context.filter(item => !selectedTagIds.includes(item.key)),\n        value,\n      };\n    };\n  },\n\n  transformations: computed('app.tags', 'selectedFilters', function() {\n    return [\n      mapContextItemToModelByKey({ models: this.app.tags, valuePath: 'name' }),\n      this.signalWithoutFilteredTags(this.selectedFilters),\n    ];\n  }),\n  teammates: readOnly('app.humanAdmins'),\n  teams: readOnly('app.teams'),\n\n  blocks: computed('teammates', 'app.tags', function() {\n    return [\n      CONVERSATION_TAG(this.app.tags),\n      USER_TAG_IDS(this.app.tags),\n      TEAMMATES_PARTICIPATED(this.teammates),\n      TEAM_PARTICIPATED(this.teams),\n      CONVERSATION_STARTED_BY,\n    ];\n  }),\n\n  blockKeys: mapBy('blocks', 'key'),\n\n  blocksByKey: computed('blocks', function() {\n    return this.blocks.reduce(\n      (blocksByKey, block) => ({\n        ...blocksByKey,\n        [block.key]: block,\n      }),\n      {},\n    );\n  }),\n\n  triggerFiltersChangedAnalyticsEvent(newFilters, currentFilters) {\n    let currentFiltersNormalized = currentFilters.map(f => ({ type: f.key, value: f.value }));\n    let newFiltersNormalized = newFilters.map(f => ({ type: f.key, value: f.value }));\n\n    if (newFiltersNormalized.length < currentFiltersNormalized.length) {\n      this.triggerAnalyticsEvent({ action: 'filter_removed' });\n    } else {\n      let newFilter = newFiltersNormalized.find(nfn => {\n        let isNew = !currentFiltersNormalized.some(\n          cfn => cfn.type === nfn.type && cfn.value === nfn.value,\n        );\n\n        if (isNew) {\n          return nfn;\n        }\n      });\n\n      if (newFilter) {\n        this.triggerAnalyticsEvent({\n          action: 'filter_added',\n          filterType: newFilter.type,\n          depth: newFilters.length,\n        });\n      }\n    }\n  },\n\n  triggerAnalyticsEvent(payload) {\n    let normalizedPayload = Object.keys(payload).reduce(\n      (result, key) => ({\n        ...result,\n        [decamelize(key)]: payload[key],\n      }),\n      {},\n    );\n\n    let params = {\n      object: this.reportName,\n      ...normalizedPayload,\n    };\n\n    this.intercomEventService.trackAnalyticsEvent(params);\n  },\n\n  updateFilters: action(function({ filters }) {\n    this.triggerFiltersChangedAnalyticsEvent(filters, this.selectedFilters);\n    this.set('selectedFilters', filters);\n    this.set('tagsSearch', '');\n  }),\n\n  addToTagFilters: action(function(data) {\n    let filters = [\n      ...this.selectedFilters,\n      {\n        key: 'tags',\n        value: data.key,\n        name: CONVERSATION_TAG(this.app.tags).name,\n        valueLabel: data.name,\n      },\n    ];\n    this.updateFilters({ filters });\n  }),\n\n  onAnalyticsEvent: action(function(payload) {\n    this.triggerAnalyticsEvent(payload);\n  }),\n\n  exportCSVTask: task(function*(signal) {\n    let filename = `conversation_tags_${this.dateFormatter(\n      this.range.start,\n      DATE_WITHOUT_TIME,\n    )}_${this.dateFormatter(this.range.end, DATE_WITHOUT_TIME)}.csv`;\n\n    let title = [['Conversation tags']];\n    let data = title\n      .concat(CSV_EMPTY_LINE)\n      .concat(this.csvHeaders())\n      .concat(CSV_EMPTY_LINE)\n      .concat(this.csvFilters())\n      .concat(CSV_EMPTY_LINE)\n      .concat(this.csvTableData(signal));\n    return yield this.csv.export(data, {\n      fileName: filename,\n      withSeparator: false,\n    });\n  }),\n\n  exportCSV: action(function(signal) {\n    return this.exportCSVTask.perform(signal);\n  }),\n\n  csvHeaders() {\n    let headers = ['Export date', 'Time Zone', 'Time period from', 'Time period to'];\n    let now = this.dateFormatter(moment());\n    let timezone = this.timezone;\n    let from = this.dateFormatter(this.range.start);\n    let to = this.dateFormatter(this.range.end);\n    return [headers, [now, timezone, from, to]];\n  },\n\n  csvFilters() {\n    let title = ['Filters'];\n    let groupedFilters = this.selectedFilters.reduce((filters, filter) => {\n      filters[filter.name] = filters[filter.name] || [];\n      filters[filter.name].push(filter.valueLabel);\n      return filters;\n    }, {});\n    let formattedFilters = Object.entries(groupedFilters).map(\n      ([filterName, filterValues]) => `${filterName}:${filterValues.join('|')}`,\n    );\n    return [title, formattedFilters];\n  },\n\n  csvTableData(signal) {\n    let headers = [['Tag', 'Number of conversations']];\n    let data = signal.context.map(({ name, value }) => [name, value]);\n    return headers.concat(data);\n  },\n\n  dateFormatter(date, format) {\n    return moment(date)\n      .tz(this.timezone)\n      .format(format || ISO_FORMAT_WITHOUT_TZ);\n  },\n\n  openSideDrawer: action(function(conversationsCount) {\n    this.set('showSideDrawer', true);\n    this.set('conversationsChartCount', conversationsCount);\n\n    let analyticsPayload = {\n      action: 'opened',\n      object: 'conversations_list',\n      currentFilters: this.selectedFilters,\n    };\n\n    this.triggerAnalyticsEvent(analyticsPayload);\n  }),\n});\n","import Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { reverseFilterMappings } from 'embercom/lib/reporting/flexible/reverse-filter-mappings';\n\nexport default class ConversationReportController extends Controller {\n  @service intercomEventService;\n  @service reportingService;\n  @service reportSubscriptionService;\n  @service store;\n  @service appService;\n\n  teammateId = null;\n  tag = null;\n  teamOrTeammate = null;\n  subscriptionId = null;\n  source = null;\n\n  queryParams = ['subscriptionId', 'source'];\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get dashboardName() {\n    return 'Conversations';\n  }\n\n  get reverseFilterMappings() {\n    return reverseFilterMappings(this);\n  }\n\n  get customAttributeIds() {\n    return this.conversationAttributeDescriptors.map(descriptor => descriptor.id);\n  }\n\n  get shouldDisplayIntroBanner() {\n    return (\n      this.app.canUseConversationAttributeData &&\n      this.app.canUseFeature('conversation_attributes') &&\n      this.conversationAttributeDescriptors.length === 0\n    );\n  }\n\n  @action\n  updateRange(range) {\n    this.reportingService.updateRange(range);\n\n    let params = {\n      action: 'filtered_by_date',\n      object: this.reportName,\n      date_filter: this.range.selectedRange,\n      start_date: range.startMoment.format('YYYY/MM/DD'),\n      end_date: range.endMoment.format('YYYY/MM/DD'),\n    };\n\n    let teamOrTeammate = this.teamOrTeammate;\n    if (teamOrTeammate) {\n      params.models = [teamOrTeammate];\n    }\n    this.intercomEventService.trackAnalyticsEvent(params);\n    this.clearReportSubscription();\n  }\n\n  @action\n  filterBarSelectionChanged(filterType, filterValues, operator) {\n    this.clearReportSubscription();\n    //backwards compatible with existing teammate filters before the filter bar was introduced\n    if (filterType === 'teammatesParticipated') {\n      this.set('teammateId', filterValues);\n    } else if (this.customAttributeIds.includes(filterType)) {\n      this.customAttributes.updateValues(filterType, filterValues, operator);\n      this.set('customAttributes', this.customAttributes.clone());\n    } else {\n      this.set(filterType, filterValues);\n    }\n  }\n\n  @action\n  filterBarCleared() {\n    this.clearReportSubscription();\n  }\n\n  @action\n  trackPageView() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: this.reportName,\n    });\n    this.trackReportSubscriptionEmailLinkClick();\n  }\n\n  trackReportSubscriptionEmailLinkClick() {\n    if (this.source === 'subscriptionEmail') {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'report_subscription_email_link',\n      });\n    }\n  }\n\n  clearReportSubscription() {\n    this.reportSubscriptionService.resetSubscription();\n    this.set('subscriptionId', null);\n    this.set('source', null);\n  }\n}\n","import ReportBase from 'embercom/controllers/apps/app/reports/base/report';\nimport { inject as service } from '@ember/service';\nimport { SIGNAL_CONFIGS } from 'embercom/models/reporting/signal';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { improvementDirections } from 'embercom/components/reporting/element/summary-comparison';\nimport { tracked } from '@glimmer/tracking';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  COUNT,\n  CONTINENT,\n  COUNTRY,\n  CONVERSATION_CREATED_AT,\n  CHANNEL,\n  CONVERSATION_CREATED_AT_DAY_OF_WEEK,\n} from 'embercom/lib/reporting/flexible/constants';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\n\nexport default class ConversationReportController extends ReportBase {\n  @service reportingService;\n  @tracked filters;\n  continents = [];\n  countries = [];\n  channels = [];\n  @service appService;\n\n  queries = {\n    newConversations: SIGNAL_CONFIGS.NEW_CONVERSATIONS,\n    newConversationsByWeekAndHour: SIGNAL_CONFIGS.NEW_CONVERSATIONS,\n  };\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get dashboardName() {\n    return 'New conversations';\n  }\n\n  get flexibleFilters() {\n    let filters = {};\n    if (this.filters.scoping_tag_ids?.length > 0) {\n      filters['conversation_tag_ids'] = this.filters.scoping_tag_ids;\n    }\n    if (this.continents.length) {\n      filters['user_location.continent_code'] = this.continents;\n    }\n    if (this.countries.length) {\n      filters['user_location.country_name'] = this.countries;\n    }\n    if (this.channels.length) {\n      filters['channel_type'] = this.channels;\n    }\n    return filters;\n  }\n\n  get counterDefaultConfigs() {\n    return {\n      newConversationCount: {\n        viewConfig: this.buildViewConfig({\n          unit: units.value,\n          aggregations: { defaultOption: COUNT },\n          groupings: {\n            defaultOption: { ...GROUPINGS[CONVERSATION_CREATED_AT], isComparison: true },\n          },\n          counter: {\n            conversation_count_counter: {\n              improvementDirection: improvementDirections.INCREASING,\n            },\n          },\n        }),\n        dataConfig: {\n          series: [\n            {\n              name: 'conversation_count_counter',\n              source: 'conversation_started',\n              type: COUNT,\n              data: { property: CONVERSATION_CREATED_AT },\n              time: {\n                property: CONVERSATION_CREATED_AT,\n                start: FILTER_PROPERTY_PLACEHOLDER,\n                end: FILTER_PROPERTY_PLACEHOLDER,\n              },\n            },\n          ],\n        },\n      },\n      reopenedConversationsCount: {\n        viewConfig: this.buildViewConfig({\n          unit: units.value,\n          aggregations: { defaultOption: COUNT },\n          groupings: {\n            defaultOption: { ...GROUPINGS[CONVERSATION_CREATED_AT], isComparison: true },\n          },\n          counter: {\n            reopened_conversations_counter: {\n              improvementDirection: improvementDirections.DECREASING,\n            },\n          },\n        }),\n        dataConfig: {\n          series: [\n            {\n              name: 'reopened_conversations_counter',\n              source: 'conversation_with_message_thread',\n              type: COUNT,\n              data: { property: CONVERSATION_CREATED_AT },\n              time: {\n                property: CONVERSATION_CREATED_AT,\n                start: FILTER_PROPERTY_PLACEHOLDER,\n                end: FILTER_PROPERTY_PLACEHOLDER,\n              },\n              filter: {\n                type: 'exists',\n                data: {\n                  property: 'first_reopened_at',\n                },\n              },\n            },\n          ],\n        },\n      },\n    };\n  }\n\n  get reopenedConversationsConfig() {\n    return {\n      viewConfig: this.buildViewConfig({\n        unit: units.value,\n        displayUnit: 'conversation',\n        aggregations: { defaultOption: COUNT },\n        groupings: {\n          defaultOption: { ...GROUPINGS[CONVERSATION_CREATED_AT] },\n        },\n      }),\n      dataConfig: {\n        xAxis: {\n          type: 'temporal',\n          data: {\n            interval: FILTER_PROPERTY_PLACEHOLDER,\n            property: CONVERSATION_CREATED_AT,\n          },\n        },\n        series: [\n          {\n            name: 'reopened_conversations_counter',\n            source: 'conversation_with_message_thread',\n            type: COUNT,\n            data: { property: CONVERSATION_CREATED_AT },\n            time: {\n              property: CONVERSATION_CREATED_AT,\n              start: FILTER_PROPERTY_PLACEHOLDER,\n              end: FILTER_PROPERTY_PLACEHOLDER,\n            },\n            filter: {\n              type: 'exists',\n              data: {\n                property: 'first_reopened_at',\n              },\n            },\n          },\n        ],\n      },\n    };\n  }\n\n  get responseTimeConfig() {\n    let groupings = [GROUPINGS[CONTINENT], GROUPINGS[COUNTRY]];\n    if (this.app.canUseReportingChannelDrilldown) {\n      groupings.push(GROUPINGS[CHANNEL]);\n    }\n\n    return {\n      viewConfig: this.buildViewConfig({\n        unit: units.value,\n        displayUnit: 'conversation',\n        aggregations: { defaultOption: COUNT },\n        groupings: {\n          defaultOption: { ...GROUPINGS[CONVERSATION_CREATED_AT], isComparison: true },\n          rest: groupings,\n        },\n      }),\n      dataConfig: {\n        xAxis: {\n          type: 'temporal',\n          data: {\n            interval: FILTER_PROPERTY_PLACEHOLDER,\n            property: CONVERSATION_CREATED_AT,\n          },\n        },\n        series: [\n          {\n            name: 'comparison_columnchart',\n            source: 'conversation_started',\n            type: COUNT,\n            data: { property: CONVERSATION_CREATED_AT },\n            time: {\n              property: CONVERSATION_CREATED_AT,\n              start: FILTER_PROPERTY_PLACEHOLDER,\n              end: FILTER_PROPERTY_PLACEHOLDER,\n            },\n          },\n        ],\n      },\n    };\n  }\n\n  get newConversationsHeatmapConfig() {\n    return {\n      viewConfig: this.buildViewConfig({\n        unit: units.value,\n        displayUnit: 'new conversation',\n        aggregations: { defaultOption: COUNT },\n        groupings: { defaultOption: GROUPINGS[CONVERSATION_CREATED_AT_DAY_OF_WEEK] },\n      }),\n      dataConfig: {\n        yAxis: {\n          type: 'temporal',\n          data: {\n            interval: 'hour_of_day',\n            property: 'conversation_created_at',\n          },\n        },\n        xAxis: {\n          name: 'conversation_created_at_day',\n          type: 'temporal',\n          data: {\n            interval: 'day_of_week',\n            property: 'conversation_created_at',\n          },\n        },\n        series: [\n          {\n            name: 'conversation_count_heatmap',\n            source: 'conversation_started',\n            type: COUNT,\n            data: { property: CONVERSATION_CREATED_AT },\n            time: {\n              property: CONVERSATION_CREATED_AT,\n              start: FILTER_PROPERTY_PLACEHOLDER,\n              end: FILTER_PROPERTY_PLACEHOLDER,\n            },\n          },\n        ],\n      },\n    };\n  }\n\n  buildViewConfig({ unit, displayUnit = '', aggregations, groupings, counter = {} }) {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.aggregations = aggregations;\n    viewConfig.groupings = groupings;\n    viewConfig.formatUnit = { unit, displayUnit };\n    viewConfig.counter = counter;\n\n    return viewConfig;\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport PerformanceReportBase from 'embercom/controllers/apps/app/reports/base/performance-report';\nimport { CONVERSATION_RATINGS } from 'embercom/lib/reporting/queries';\nimport { action } from '@ember/object';\nimport Admin from 'embercom/models/admin';\n\nexport default PerformanceReportBase.extend({\n  queries: {\n    conversationRatings: CONVERSATION_RATINGS,\n  },\n\n  get customAttributeIds() {\n    return this.conversationAttributeDescriptors.map(descriptor => descriptor.id);\n  },\n\n  @action\n  changeTeamOrTeammate(teamOrTeammateId) {\n    let isTeam =\n      teamOrTeammateId && Admin.peekAndMaybeLoad(this.store, teamOrTeammateId)?.get('isTeam');\n\n    if (isTeam) {\n      this.setProperties({\n        teammateId: [],\n        teamsParticipated: teamOrTeammateId,\n      });\n    } else {\n      this.setProperties({\n        teammateId: teamOrTeammateId,\n        teamsParticipated: [],\n      });\n    }\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_by_teammate',\n      object: this.reportName,\n    });\n  },\n\n  @action\n  filterBarSelectionChanged(filterType, filterValues, operator) {\n    //backwards compatible with existing teammate filters before the filter bar was introduced\n    if (filterType === 'teammatesParticipated') {\n      this.set('teammateId', filterValues);\n    } else if (this.customAttributeIds.includes(filterType)) {\n      this.customAttributes.updateValues(filterType, filterValues, operator);\n      this.set('customAttributes', this.customAttributes.clone());\n    } else {\n      this.set(filterType, filterValues);\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class EffectivenessController extends Controller {\n  @service appService;\n  @service intercomEventService;\n  @service reportingService;\n  @service store;\n  @tracked range;\n\n  scopingTagIds = null;\n  tag = null;\n  teammateId = null;\n  teamOrTeammate = null;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get customAttributeIds() {\n    return this.conversationAttributeDescriptors.map(descriptor => descriptor.id);\n  }\n\n  get dashboardName() {\n    return 'Effectiveness';\n  }\n\n  @action\n  updateRange(range) {\n    this.reportingService.updateRange(range);\n\n    let params = {\n      action: 'filtered_by_date',\n      object: this.reportName,\n      date_filter: this.range.selectedRange,\n      start_date: range.startMoment.format('YYYY/MM/DD'),\n      end_date: range.endMoment.format('YYYY/MM/DD'),\n    };\n    let teamOrTeammate = this.teamOrTeammate;\n    if (teamOrTeammate) {\n      params.models = [teamOrTeammate];\n    }\n    this.intercomEventService.trackAnalyticsEvent(params);\n  }\n\n  @action\n  trackPageView() {\n    let models = [];\n    if (this.teammate) {\n      models = [this.teammate];\n    }\n    if (this.teamOrTeammate) {\n      models = [...models, this.teamOrTeammate];\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: this.reportName,\n      context: this.reportContext,\n      start_date: this.range.startMoment.format('YYYY/MM/DD'),\n      end_date: this.range.endMoment.format('YYYY/MM/DD'),\n      filtered_tag: this.get('tag.name'),\n      models,\n    });\n  }\n\n  @action\n  filterBarSelectionChanged(filterType, filterValues, operator) {\n    //backwards compatible with existing teammate filters before the filter bar was introduced\n    if (filterType === 'teammatesParticipated') {\n      this.set('teammateId', filterValues);\n    } else if (this.customAttributeIds.includes(filterType)) {\n      this.customAttributes.updateValues(filterType, filterValues, operator);\n      this.set('customAttributes', this.customAttributes.clone());\n    } else {\n      this.set(filterType, filterValues);\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency-decorators';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { COLUMN_NAMES } from 'embercom/lib/reporting/export-columns';\nimport {\n  FilterSet,\n  getFilterPredicatesFromFilterSet,\n} from 'embercom/lib/reporting/flexible/filter-helpers';\nimport { WEEK_DAYS } from 'embercom/lib/reporting/week-days';\n\nconst ANALYTICS_PAYLOAD = {\n  action: 'started_message_data_export',\n  object: 'message_data_export',\n  message_ids: null,\n  export_flag: 'respond',\n};\n\nexport default class ExportController extends Controller {\n  @service reportingService;\n  @service intercomEventService;\n  @service notificationsService;\n  @service appService;\n  @service permissionsService;\n\n  @tracked enqueuingExport = false;\n  @tracked schedules;\n  @tracked scheduleToEdit;\n  @tracked selectedColumns = COLUMN_NAMES;\n  @tracked filterSet = new FilterSet();\n  @tracked initialFiltersAddedDirty;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get adminId() {\n    return this.app.currentAdmin.id;\n  }\n\n  get adminEmail() {\n    return this.app.currentAdmin.email;\n  }\n\n  get editMode() {\n    return Boolean(this.scheduleToEdit?.id);\n  }\n\n  get scheduleIds() {\n    return this.schedules.map(sch => sch.id).filter(schId => Boolean(schId));\n  }\n\n  get rangeSetting() {\n    return this.reportingService.range.selectedRange;\n  }\n\n  get isScheduleDisabled() {\n    return this.rangeSetting === 'custom';\n  }\n\n  get successMessage() {\n    if (this.editMode) {\n      return 'Your export schedule was updated';\n    } else {\n      let dayInfo = 'daily';\n      if (this.scheduleToEdit.dayOfMonth) {\n        dayInfo = `monthly on day ${this.scheduleToEdit.dayOfMonth} of each month`;\n      } else if (\n        this.scheduleToEdit.dayOfWeek !== null &&\n        this.scheduleToEdit.dayOfWeek !== undefined\n      ) {\n        dayInfo = `weekly on ${WEEK_DAYS[this.scheduleToEdit.dayOfWeek]}s`;\n      }\n      return `Thanks for scheduling the export! We’ll email the CSV ${dayInfo}`;\n    }\n  }\n\n  get isScheduleManagementDisabled() {\n    // Length equal to 1 means the only schedule is the one which is being edited\n    return this.schedules.length === 1;\n  }\n\n  get filterPredicates() {\n    return getFilterPredicatesFromFilterSet(this.filterSet);\n  }\n\n  get customAttributeIds() {\n    return this.conversationAttributeDescriptors.map(descriptor => descriptor.id);\n  }\n\n  @action\n  clearFilterSet() {\n    this.filterSet = new FilterSet();\n    this.initialFiltersAddedDirty = true;\n  }\n\n  @action\n  filterBarSelectionChanged(filterType, filterValues, operator) {\n    if (this.customAttributeIds.includes(filterType)) {\n      this.filterSet.customAttributes.updateValues(filterType, filterValues, operator);\n      this.filterSet.customAttributes = this.filterSet.customAttributes.clone();\n    } else {\n      this.filterSet[filterType] = filterValues.flat();\n    }\n  }\n\n  _recordFilteredByDateAnalyticsEvent() {\n    let range = this.reportingService.range;\n    let params = {\n      action: 'filtered_by_date',\n      object: this.reportName,\n      date_filter: this.range.selectedRange,\n      start_date: range.startMoment.format('YYYY/MM/DD'),\n      end_date: range.endMoment.format('YYYY/MM/DD'),\n    };\n    this.intercomEventService.trackAnalyticsEvent(params);\n  }\n\n  @action\n  updateRange(range) {\n    this.reportingService.updateRange(range, null, false);\n    this._recordFilteredByDateAnalyticsEvent();\n  }\n\n  _enqueueExportQuery(params) {\n    let { start, end, selectedColumns, filter, appId } = params;\n    return ajax({\n      url: '/ember/message_data_export/enqueue',\n      type: 'POST',\n      data: JSON.stringify({\n        app_id: appId,\n        range_start: start,\n        range_end: end,\n        columns_to_include: selectedColumns,\n        filter,\n        flag: 'respond',\n      }),\n    });\n  }\n\n  @action\n  enqueueExport() {\n    if (this.permissionsService.currentAdminCan('can_export_data')) {\n      this.enqueuingExport = true;\n\n      let { start, end } = this.range;\n\n      return this._enqueueExportQuery({\n        start,\n        end,\n        selectedColumns: this.selectedColumns,\n        filter: this.filterPredicates,\n        appId: this.get('app.id'),\n      })\n        .then(() => {\n          this.notificationsService.notifyConfirmation(\n            `Export successful! We’re sending a CSV to your ${this.adminEmail} email address. Please note that this can take a few hours at peak times.`,\n          );\n          let range_days = this.get('range.inDays');\n          this.intercomEventService.trackAnalyticsEvent({\n            ...ANALYTICS_PAYLOAD,\n            range_days,\n            exported_fields: this.selectedColumns.join(','),\n          });\n          this.send('closeModal');\n          this.enqueuingExport = false;\n        })\n        .catch(err => {\n          this.notificationsService.notifyResponseError(err, {\n            default: 'We were unable to start your message data export.',\n          });\n          this.enqueuingExport = false;\n        });\n    } else {\n      return this.permissionsService.loadAllAdminsAndShowPermissionRequestModal('can_export_data');\n    }\n  }\n\n  @action\n  resetSchedule() {\n    let isNew = this.scheduleToEdit.isNew;\n    this.scheduleToEdit.rollbackAttributes();\n    if (isNew) {\n      this.scheduleToEdit = this.store.createRecord('reporting/message-data-export-schedule', {\n        timeToExport: 0,\n      });\n    }\n  }\n\n  @action\n  loadSchedule(scheduleId) {\n    if (!scheduleId) {\n      this.selectedColumns = COLUMN_NAMES;\n      this.clearFilterSet();\n      this.reportingService.range.setDefaultRange('past_week');\n    }\n    this.transitionToRoute({ queryParams: { scheduleId } });\n  }\n\n  _assignMissingAttributes() {\n    this.scheduleToEdit.adminId = this.adminId;\n    this.scheduleToEdit.columnsToInclude = this.selectedColumns;\n    this.scheduleToEdit.rangeSetting = this.rangeSetting;\n    this.scheduleToEdit.filterPredicates = JSON.stringify(this.filterPredicates);\n  }\n\n  @task *sendScheduleExportQuery() {\n    this._assignMissingAttributes();\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'message_data_export',\n      action: 'schedule_created',\n      exported_fields: this.scheduleToEdit.columnsToInclude.join(','),\n    });\n    let isNew = this.scheduleToEdit.isNew;\n    try {\n      let successMessage = this.successMessage;\n      yield this.scheduleToEdit.save();\n      this.notificationsService.notifyConfirmation(successMessage);\n    } catch {\n      this.notificationsService.notifyError('We were unable to schedule your export.');\n    }\n    if (isNew) {\n      this.scheduleToEdit = this.store.createRecord('reporting/message-data-export-schedule', {\n        timeToExport: 0,\n      });\n    }\n  }\n\n  @action\n  deleteSchedule() {\n    this.sendDeleteQuery.perform();\n  }\n\n  @task *sendDeleteQuery() {\n    try {\n      yield this.scheduleToEdit.destroyRecord();\n      this.notificationsService.notifyConfirmation('Your scheduled export was deleted');\n    } catch {\n      this.notificationsService.notifyError('We were unable to delete your export schedule.');\n    }\n    this.loadSchedule(null);\n  }\n\n  @action\n  openSidebar() {\n    // The default selected schedule should be the last one that was created\n    let schedulesWithIds = this.schedules.filter(sch => sch?.id);\n    if (schedulesWithIds.length) {\n      this.loadSchedule(schedulesWithIds[schedulesWithIds.length - 1].id);\n    }\n  }\n\n  @action\n  closeSidebar() {\n    this.loadSchedule(null);\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\nimport ReportBase from 'embercom/controllers/apps/app/reports/base/report';\nimport { inject as service } from '@ember/service';\nimport { SIGNAL_CONFIGS } from 'embercom/models/reporting/signal';\nimport { improvementDirections } from 'embercom/components/reporting/element/summary-comparison';\nimport {\n  botInboxAndOfficeHoursField,\n  timeTimeToCloseField,\n} from 'embercom/lib/reporting/office-hours-field';\nimport {\n  LEADS_CREATED_FILTERS,\n  CONVERSATION_RATINGS,\n  LEADS_CREATED,\n  NEW_CONVERSATIONS,\n} from 'embercom/lib/reporting/queries';\nimport { computed } from '@ember/object';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport {\n  stackNestedBucketsToPercents,\n  createAmazingOrGoodValueForNestedBuckets,\n  useAggregateBucketValueAsBucketCount,\n} from 'embercom/lib/reporting/signal-transformations';\nimport { not } from '@ember/object/computed';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  MEDIAN,\n  MEAN,\n  MAX,\n  MIN,\n  CONVERSATION_CREATED_AT,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n} from 'embercom/lib/reporting/flexible/constants';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\n\nexport default ReportBase.extend({\n  router: service(),\n  reportingService: service(),\n  bootOptionsService: service(),\n  linksEnabled: not('bootOptionsService.embeddedContent'),\n\n  actions: {\n    transitionToAnswerBot() {\n      this.router.transitionTo('apps.app.operator.resolution-bot');\n    },\n  },\n  transforms: [\n    useAggregateBucketValueAsBucketCount,\n    createAmazingOrGoodValueForNestedBuckets,\n    stackNestedBucketsToPercents,\n  ],\n\n  columnChartConfigs: computed('range', 'botInboxTime', function() {\n    return {\n      firstResponseTime: {\n        viewConfig: this.buildViewConfig({\n          unit: units.seconds,\n          groupings: { defaultOption: GROUPINGS[CONVERSATION_CREATED_AT] },\n        }),\n        dataConfig: {\n          xAxis: {\n            type: 'temporal',\n            data: {\n              interval: FILTER_PROPERTY_PLACEHOLDER,\n              property: CONVERSATION_CREATED_AT,\n            },\n          },\n          series: [\n            {\n              name: 'first_time_response_columnchart',\n              source: 'initial_admin_reply',\n              type: 'median',\n              data: {\n                property: botInboxAndOfficeHoursField(\n                  'response_time',\n                  this.settings.reportingExcludeOooHours,\n                  this.botInboxTime === 'excluded',\n                ),\n              },\n              time: {\n                property: CONVERSATION_CREATED_AT,\n                start: FILTER_PROPERTY_PLACEHOLDER,\n                end: FILTER_PROPERTY_PLACEHOLDER,\n              },\n            },\n          ],\n        },\n      },\n      timeToClose: {\n        viewConfig: this.buildViewConfig({\n          unit: units.seconds,\n          groupings: {\n            defaultOption: GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT],\n          },\n        }),\n        dataConfig: {\n          xAxis: {\n            type: 'temporal',\n            data: {\n              interval: FILTER_PROPERTY_PLACEHOLDER,\n              property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n            },\n          },\n          series: [\n            {\n              name: 'time_to_close_columnchart',\n              source: 'conversation_closed',\n              type: 'median',\n              data: {\n                property: botInboxAndOfficeHoursField(\n                  timeTimeToCloseField(this.botInboxTimeExcluded),\n                  this.settings.reportingExcludeOooHours,\n                  this.botInboxTimeExcluded,\n                ),\n              },\n              time: {\n                property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n                start: FILTER_PROPERTY_PLACEHOLDER,\n                end: FILTER_PROPERTY_PLACEHOLDER,\n              },\n            },\n          ],\n        },\n      },\n    };\n  }),\n\n  counterDefaultConfigs: computed('range', 'botInboxTime', function() {\n    return {\n      firstResponseTimeCounter: {\n        viewConfig: this.buildViewConfig({\n          unit: units.minute,\n          groupings: {\n            defaultOption: {\n              ...GROUPINGS[CONVERSATION_CREATED_AT],\n              isComparison: true,\n            },\n          },\n          counter: {\n            counter_conversations_first_response_time: {\n              improvementDirection: improvementDirections.DECREASING,\n            },\n          },\n        }),\n        dataConfig: {\n          series: [\n            {\n              name: 'counter_conversations_first_response_time',\n              source: 'initial_admin_reply',\n              type: 'median',\n              data: {\n                property: botInboxAndOfficeHoursField(\n                  'response_time',\n                  this.settings.reportingExcludeOooHours,\n                  this.botInboxTime === 'excluded',\n                ),\n              },\n              time: {\n                property: CONVERSATION_CREATED_AT,\n                start: FILTER_PROPERTY_PLACEHOLDER,\n                end: FILTER_PROPERTY_PLACEHOLDER,\n              },\n            },\n          ],\n        },\n      },\n      timeToCloseCounter: {\n        viewConfig: this.buildViewConfig({\n          unit: units.minute,\n          groupings: {\n            defaultOption: {\n              ...GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT],\n              isComparison: true,\n            },\n          },\n          counter: {\n            counter_conversations_time_to_close: {\n              improvementDirection: improvementDirections.DECREASING,\n            },\n          },\n        }),\n        dataConfig: {\n          series: [\n            {\n              name: 'counter_conversations_time_to_close',\n              source: 'conversation_closed',\n              type: 'median',\n              data: {\n                property: botInboxAndOfficeHoursField(\n                  timeTimeToCloseField(this.botInboxTimeExcluded),\n                  this.settings.reportingExcludeOooHours,\n                  this.botInboxTimeExcluded,\n                ),\n              },\n              time: {\n                property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n                start: FILTER_PROPERTY_PLACEHOLDER,\n                end: FILTER_PROPERTY_PLACEHOLDER,\n              },\n            },\n          ],\n        },\n      },\n    };\n  }),\n\n  queries: computed('settings', 'botInboxTime', function() {\n    return {\n      newConversation: NEW_CONVERSATIONS,\n      conversationsParticipatedIn: SIGNAL_CONFIGS.CONVERSATIONS_PARTICIPATED_IN,\n      conversationRatings: CONVERSATION_RATINGS,\n      leadsCreated: LEADS_CREATED,\n    };\n  }),\n\n  buildViewConfig({ unit, displayUnit = '', groupings, counter = {} }) {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.aggregations = { defaultOption: MEDIAN, rest: [MIN, MAX, MEAN] };\n    viewConfig.groupings = groupings;\n    viewConfig.formatUnit = { unit, displayUnit };\n    viewConfig.counter = counter;\n\n    return viewConfig;\n  },\n\n  filters: {\n    leadsCreated: LEADS_CREATED_FILTERS,\n  },\n\n  flexibleFilters: {},\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly, gt } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport Controller from '@ember/controller';\nimport percent from 'embercom/lib/percentage-formatter';\nimport { EFFECTIVE_ANSWER_KEYS } from 'embercom/components/answers/reporting/resolution-rate';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\n\nconst NO_ANSWERS_CLAIM_COPY = {\n  heading: 'Instantly resolve 33% of your common customer questions',\n  description:\n    'Automate answers to your most frequently asked customer questions to accelerate resolutions and save your team time.',\n  articleText: 'What is Resolution Bot?',\n  articleURL:\n    'https://www.intercom.com/help/operator/answer-bot/provide-instant-resolutions-247-with-answer-bot',\n  button: 'Set up Resolution Bot',\n  route: 'apps.app.operator.resolution-bot.answers',\n  analyticsObject: 'answer_bot_banner',\n};\n\nconst NO_LIVE_ANSWERS_CLAIM_COPY = {\n  heading: 'Get more out of Resolution Bot',\n  description:\n    'The more answers you set up, the more often Resolution Bot will be able to answer your customers’ questions.',\n  articleText: 'How to write effective answers',\n  articleURL:\n    'https://www.intercom.com/help/operator/answer-bot/answer-bot-how-to-create-an-effective-answer',\n  button: 'Set up Resolution Bot',\n  route: 'apps.app.operator.resolution-bot.answers',\n  analyticsObject: 'answer_bot_banner',\n};\n\nconst NO_DATA_CLAIM_COPY = {\n  heading: 'Get more out of Resolution Bot',\n  description:\n    'The more answers you set up, the more often Resolution Bot will be able to answer your customers’ questions.',\n  articleText: 'How to write effective answers',\n  articleURL:\n    'https://www.intercom.com/help/operator/answer-bot/answer-bot-how-to-create-an-effective-answer',\n  button: 'Create more answers',\n  route: 'apps.app.operator.resolution-bot.answers.new',\n  analyticsObject: 'answer_bot_banner',\n};\n\nfunction countEffectiveAnswersFromEffectiveness(effectiveness) {\n  let aggreagatedByOutcome = effectiveness.aggregateSignalAsStackablePercentageData().totalsPerKey;\n  return EFFECTIVE_ANSWER_KEYS.reduce((total, key) => {\n    return total + (aggreagatedByOutcome[key] ? aggreagatedByOutcome[key] : 0);\n  }, 0);\n}\n\nexport default Controller.extend({\n  reportingService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  queryParams: ['conversationSource', 'resolutionBotSetting'],\n  conversationSource: 'all',\n  resolutionBotSetting: 'all',\n\n  hasAnswers: gt('answers.length', 0),\n\n  hasLiveAnswers: computed('answers.@each.isLive', function() {\n    return this.answers.any(answer => answer.get('isLive'));\n  }),\n\n  hasSentAnswers: gt('signals.answersSent.value', 0),\n\n  answersSent: readOnly('signals.answersSent.value'),\n\n  conversationsSent: computed('answersSent', 'signals.conversationsSent.value', function() {\n    let answersSent = this.answersSent;\n    let conversationsSent = this.get('signals.conversationsSent.value');\n    if (answersSent > conversationsSent) {\n      return answersSent;\n    }\n    return conversationsSent;\n  }),\n\n  claimCopy: computed('hasAnswers', 'hasLiveAnswers', function() {\n    if (!this.hasAnswers) {\n      return NO_ANSWERS_CLAIM_COPY;\n    } else if (!this.hasLiveAnswers) {\n      return NO_LIVE_ANSWERS_CLAIM_COPY;\n    }\n    return NO_DATA_CLAIM_COPY;\n  }),\n\n  bannerVariation: ternary('hasLiveAnswers', 'live', 'draft'),\n\n  effectiveAnswerCount: computed('signals.effectiveness', function() {\n    return countEffectiveAnswersFromEffectiveness(this.signals.effectiveness);\n  }),\n\n  effectiveInboundAnswerCount: computed('signals.inboundEffectiveness', function() {\n    return countEffectiveAnswersFromEffectiveness(this.signals.inboundEffectiveness);\n  }),\n\n  effectiveOutboundAnswerCount: computed('signals.outboundEffectiveness', function() {\n    return countEffectiveAnswersFromEffectiveness(this.signals.outboundEffectiveness);\n  }),\n\n  resolutionRate: computed('signals.conversationsSent.value', 'effectiveAnswerCount', function() {\n    let totalConversations = this.signals.conversationsSent.value;\n    let effectiveAnswerCount = this.effectiveAnswerCount;\n    return Math.round(percent(totalConversations, effectiveAnswerCount));\n  }),\n\n  actions: {\n    updateRange(range) {\n      this.reportingService.updateRange(range);\n    },\n    transitionToNewAnswer() {\n      this.transitionToRoute('apps.app.operator.resolution-bot.answers.new');\n    },\n    transitionToRoute(route) {\n      this.transitionToRoute(route);\n    },\n  },\n});\n","import Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\nimport { improvementDirections } from 'embercom/components/reporting/element/summary-comparison';\nimport {\n  officeHoursField,\n  botInboxAndOfficeHoursField,\n  timeTimeToCloseField,\n} from 'embercom/lib/reporting/office-hours-field';\nimport Admin from 'embercom/models/admin';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport moment from 'moment';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport {\n  RANGE,\n  MEDIAN,\n  MEAN,\n  MAX,\n  MIN,\n  CONVERSATION_CREATED_AT,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n  CHANNEL,\n} from 'embercom/lib/reporting/flexible/constants';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport { reverseFilterMappings } from 'embercom/lib/reporting/flexible/reverse-filter-mappings';\n\nexport default class ResponsivenessFlexibleController extends Controller {\n  @service appService;\n  @service intercomEventService;\n  @service reportingService;\n  @service store;\n  @service reportSubscriptionService;\n  @tracked range;\n  scopingTagIds = null;\n  tag = null;\n  teammateId = null;\n  teamOrTeammate = null;\n  subscriptionId = null;\n  source = null;\n\n  queryParams = ['subscriptionId', 'source'];\n\n  constructor() {\n    super(...arguments);\n  }\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get customAttributeIds() {\n    return this.conversationAttributeDescriptors.map(descriptor => descriptor.id);\n  }\n\n  get botInboxTimeExcluded() {\n    return this.botInboxTime?.[0] === 'excluded';\n  }\n\n  get dashboardName() {\n    return 'Responsiveness';\n  }\n\n  get reverseFilterMappings() {\n    return reverseFilterMappings(this);\n  }\n\n  @action\n  updateRange(range) {\n    let excludeBotInboxStartDate = null;\n    if (this.botInboxTimeExcluded) {\n      excludeBotInboxStartDate = this.settings.excludeBotInboxStartDate;\n    }\n    this.reportingService.updateRange(range, excludeBotInboxStartDate);\n\n    let params = {\n      action: 'filtered_by_date',\n      object: this.reportName,\n      date_filter: this.range.selectedRange,\n      start_date: range.startMoment.format('YYYY/MM/DD'),\n      end_date: range.endMoment.format('YYYY/MM/DD'),\n    };\n    let teamOrTeammate = this.teamOrTeammate;\n    if (teamOrTeammate) {\n      params.models = [teamOrTeammate];\n    }\n    this.intercomEventService.trackAnalyticsEvent(params);\n    this.clearReportSubscription();\n  }\n\n  @action\n  changeTeamOrTeammate(teamOrTeammateId) {\n    let isTeam =\n      teamOrTeammateId && Admin.peekAndMaybeLoad(this.store, teamOrTeammateId)?.get('isTeam');\n\n    if (isTeam) {\n      this.setProperties({\n        teammateId: [],\n        teamsParticipated: teamOrTeammateId,\n      });\n    } else {\n      this.setProperties({\n        teammateId: teamOrTeammateId,\n        teamsParticipated: [],\n      });\n    }\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'filtered_by_teammate',\n      object: this.reportName,\n    });\n  }\n\n  @action\n  changeTag(tag) {\n    let scopingTagIds = null;\n    if (tag !== null) {\n      scopingTagIds = [tag.get('id')];\n    }\n    this.setProperties({ scopingTagIds, tag });\n  }\n\n  @action\n  toggleBotInboxTime(value) {\n    //All filters are now arrays. The pre-filter bar implementation of the bot filter uses single values\n    this.set('botInboxTime', [value]);\n\n    if (\n      this.botInboxTimeExcluded &&\n      this.range.startMoment.isBefore(this.settings.excludeBotInboxStartDate)\n    ) {\n      this.notificationsService.notifyWarning(\n        `Data to exclude bots is available from ${moment(\n          this.settings.excludeBotInboxStartDate,\n        ).format(dateAndTimeFormats.date)}, when your bot inbox was activated.`,\n        5000,\n      );\n    }\n  }\n\n  @action\n  trackPageView() {\n    let models = [];\n    if (this.teammate) {\n      models = [this.teammate];\n    }\n    if (this.teamOrTeammate) {\n      models = [...models, this.teamOrTeammate];\n    }\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: this.reportName,\n      context: this.reportContext,\n      start_date: this.range.startMoment.format('YYYY/MM/DD'),\n      end_date: this.range.endMoment.format('YYYY/MM/DD'),\n      filtered_tag: this.get('tag.name'),\n      models,\n    });\n    this.trackReportSubscriptionEmailLinkClick();\n  }\n\n  trackReportSubscriptionEmailLinkClick() {\n    if (this.source === 'subscriptionEmail') {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'report_subscription_email_link',\n      });\n    }\n  }\n\n  get counterDefaultConfigs() {\n    return {\n      responseTimeCounter: {\n        viewConfig: this.buildViewConfig({\n          unit: units.minute,\n          groupings: {\n            defaultOption: { ...GROUPINGS[CONVERSATION_CREATED_AT], isComparison: true },\n          },\n          counter: {\n            comparison_counter: {\n              improvementDirection: improvementDirections.DECREASING,\n            },\n          },\n        }),\n        dataConfig: {\n          series: [\n            {\n              name: 'comparison_counter',\n              source: 'teammate_response',\n              type: 'median',\n              data: {\n                property: officeHoursField(\n                  'response_time',\n                  this.model.settings.reportingExcludeOooHours,\n                ),\n              },\n              time: {\n                property: CONVERSATION_CREATED_AT,\n                start: FILTER_PROPERTY_PLACEHOLDER,\n                end: FILTER_PROPERTY_PLACEHOLDER,\n              },\n            },\n          ],\n        },\n      },\n      firstResponseTimeCounter: {\n        viewConfig: this.buildViewConfig({\n          unit: units.minute,\n          groupings: {\n            defaultOption: { ...GROUPINGS[CONVERSATION_CREATED_AT], isComparison: true },\n          },\n          counter: {\n            comparison_counter: {\n              improvementDirection: improvementDirections.DECREASING,\n            },\n          },\n        }),\n        dataConfig: {\n          series: [\n            {\n              name: 'comparison_counter',\n              source: 'initial_admin_reply',\n              type: 'median',\n              data: {\n                property: botInboxAndOfficeHoursField(\n                  'response_time',\n                  this.model.settings.reportingExcludeOooHours,\n                  this.botInboxTimeExcluded,\n                ),\n              },\n              time: {\n                property: CONVERSATION_CREATED_AT,\n                start: FILTER_PROPERTY_PLACEHOLDER,\n                end: FILTER_PROPERTY_PLACEHOLDER,\n              },\n            },\n          ],\n        },\n      },\n      timeToCloseCounter: {\n        viewConfig: this.buildViewConfig({\n          unit: units.minute,\n          groupings: {\n            defaultOption: {\n              ...GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT],\n              isComparison: true,\n            },\n          },\n          counter: {\n            comparison_counter: {\n              improvementDirection: improvementDirections.DECREASING,\n            },\n          },\n        }),\n        dataConfig: {\n          series: [\n            {\n              name: 'comparison_counter',\n              source: 'conversation_closed',\n              type: 'median',\n              data: {\n                property: botInboxAndOfficeHoursField(\n                  timeTimeToCloseField(this.botInboxTimeExcluded),\n                  this.model.settings.reportingExcludeOooHours,\n                  this.botInboxTimeExcluded,\n                ),\n              },\n              time: {\n                property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n                start: FILTER_PROPERTY_PLACEHOLDER,\n                end: FILTER_PROPERTY_PLACEHOLDER,\n              },\n            },\n          ],\n        },\n      },\n    };\n  }\n\n  flexibleChartGroupings() {\n    let groupings = [];\n    groupings.push(GROUPINGS[CHANNEL]);\n    return groupings;\n  }\n\n  get responseTimeConfig() {\n    return {\n      viewConfig: this.buildViewConfig({\n        unit: units.seconds,\n        groupings: {\n          defaultOption: { ...GROUPINGS[CONVERSATION_CREATED_AT], isComparison: true },\n          rest: this.flexibleChartGroupings(),\n        },\n      }),\n      dataConfig: {\n        xAxis: {\n          type: 'temporal',\n          data: {\n            interval: FILTER_PROPERTY_PLACEHOLDER,\n            property: CONVERSATION_CREATED_AT,\n          },\n        },\n        series: [\n          {\n            name: 'comparison_columnchart',\n            source: 'teammate_response',\n            type: 'median',\n            data: {\n              property: officeHoursField(\n                'response_time',\n                this.model.settings.reportingExcludeOooHours,\n              ),\n            },\n            time: {\n              property: CONVERSATION_CREATED_AT,\n              start: FILTER_PROPERTY_PLACEHOLDER,\n              end: FILTER_PROPERTY_PLACEHOLDER,\n            },\n          },\n        ],\n      },\n    };\n  }\n\n  get columnChartConfigs() {\n    return {\n      firstResponseTime: {\n        viewConfig: this.buildViewConfig({\n          unit: units.seconds,\n          groupings: {\n            defaultOption: GROUPINGS[CONVERSATION_CREATED_AT],\n            rest: this.flexibleChartGroupings(),\n          },\n        }),\n        dataConfig: {\n          xAxis: {\n            type: 'temporal',\n            data: {\n              interval: FILTER_PROPERTY_PLACEHOLDER,\n              property: CONVERSATION_CREATED_AT,\n            },\n          },\n          series: [\n            {\n              name: 'first_response_time_columnchart',\n              source: 'initial_admin_reply',\n              type: 'median',\n              data: {\n                property: botInboxAndOfficeHoursField(\n                  'response_time',\n                  this.model.settings.reportingExcludeOooHours,\n                  this.botInboxTimeExcluded,\n                ),\n              },\n              time: {\n                property: CONVERSATION_CREATED_AT,\n                start: FILTER_PROPERTY_PLACEHOLDER,\n                end: FILTER_PROPERTY_PLACEHOLDER,\n              },\n            },\n          ],\n        },\n      },\n      firstResponseTimeBreakdown: {\n        viewConfig: this.buildViewConfig({\n          unit: units.percent,\n          aggregations: { defaultOption: RANGE },\n          groupings: {\n            defaultOption: GROUPINGS[CONVERSATION_CREATED_AT],\n          },\n          tableChart: {\n            columns: [\n              { label: 'First response', valuePath: 'bucketRange' },\n              { label: '% replies', valuePath: 'percentage' },\n            ],\n          },\n        }),\n        dataConfig: {\n          series: [\n            {\n              name: 'first_response_time_tablechart',\n              source: 'initial_admin_reply',\n              type: 'range',\n              data: {\n                property: botInboxAndOfficeHoursField(\n                  'response_time',\n                  this.model.settings.reportingExcludeOooHours,\n                  this.botInboxTimeExcluded,\n                ),\n                ranges: [\n                  { to: 30 },\n                  { from: 30, to: 2 * 60 },\n                  { from: 2 * 60, to: 5 * 60 },\n                  { from: 5 * 60, to: 10 * 60 },\n                  { from: 10 * 60, to: 30 * 60 },\n                  { from: 30 * 60, to: 60 * 60 },\n                  { from: 60 * 60 },\n                ],\n              },\n              time: {\n                property: CONVERSATION_CREATED_AT,\n                start: FILTER_PROPERTY_PLACEHOLDER,\n                end: FILTER_PROPERTY_PLACEHOLDER,\n              },\n            },\n          ],\n        },\n      },\n      timeToClose: {\n        viewConfig: this.buildViewConfig({\n          unit: units.seconds,\n          groupings: {\n            defaultOption: GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT],\n            rest: this.flexibleChartGroupings(),\n          },\n        }),\n        dataConfig: this.timeToCloseDataConfig,\n      },\n      timeToCloseBreakdown: {\n        viewConfig: this.buildViewConfig({\n          unit: units.percent,\n          aggregations: { defaultOption: RANGE },\n          groupings: {\n            defaultOption: GROUPINGS[FIRST_USER_CONVERSATION_PART_CREATED_AT],\n          },\n          tableChart: {\n            columns: [\n              { label: 'Time to close', valuePath: 'bucketRange' },\n              { label: '% conversations', valuePath: 'percentage' },\n            ],\n          },\n        }),\n        dataConfig: this.timeToCloseBreakdownDataConfig,\n      },\n    };\n  }\n\n  buildViewConfig({\n    unit,\n    displayUnit = '',\n    aggregations = { defaultOption: MEDIAN, rest: [MIN, MAX, MEAN] },\n    groupings,\n    tableChart = {},\n    counter = {},\n  }) {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.aggregations = aggregations;\n    if (Object.keys(groupings).length) {\n      viewConfig.groupings = groupings;\n    }\n    viewConfig.formatUnit = { unit, displayUnit };\n    viewConfig.counter = counter;\n    viewConfig.tableChart = tableChart;\n\n    return viewConfig;\n  }\n\n  clearReportSubscription() {\n    this.reportSubscriptionService.resetSubscription();\n    this.set('subscriptionId', null);\n    this.set('source', null);\n  }\n\n  @action\n  filterBarSelectionChanged(filterType, filterValues, operator) {\n    this.clearReportSubscription();\n    //backwards compatible with existing teammate filters before the filter bar was introduced\n    if (filterType === 'teammatesParticipated') {\n      this.set('teammateId', filterValues);\n    } else if (this.customAttributeIds.includes(filterType)) {\n      this.customAttributes.updateValues(filterType, filterValues, operator);\n      this.set('customAttributes', this.customAttributes.clone());\n    } else {\n      this.set(filterType, filterValues);\n    }\n  }\n\n  @action\n  filterBarCleared() {\n    this.clearReportSubscription();\n  }\n\n  get timeToCloseBreakdownDataConfig() {\n    if (this.appService.app.canQueryPowerfulIndices) {\n      return {\n        series: [\n          {\n            name: 'time_to_close_tablechart',\n            source: 'conversation',\n            type: 'range',\n            filter: {\n              type: 'category',\n              data: {\n                property: 'has_human_authored_closer',\n                values: [true],\n              },\n            },\n            data: {\n              property: botInboxAndOfficeHoursField(\n                timeTimeToCloseField(this.botInboxTimeExcluded),\n                this.model.settings.reportingExcludeOooHours,\n                this.botInboxTimeExcluded,\n              ),\n              ranges: [\n                { to: 5 * 60 },\n                { from: 5 * 60, to: 15 * 60 },\n                { from: 15 * 60, to: 30 * 60 },\n                { from: 30 * 60, to: 60 * 60 },\n                { from: 60 * 60, to: 3 * 60 * 60 },\n                { from: 3 * 60 * 60, to: 8 * 60 * 60 },\n                { from: 8 * 60 * 60 },\n              ],\n            },\n            time: {\n              property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n              start: FILTER_PROPERTY_PLACEHOLDER,\n              end: FILTER_PROPERTY_PLACEHOLDER,\n            },\n          },\n        ],\n      };\n    } else {\n      return {\n        series: [\n          {\n            name: 'time_to_close_tablechart',\n            source: 'conversation_closed',\n            type: 'range',\n            data: {\n              property: botInboxAndOfficeHoursField(\n                timeTimeToCloseField(this.botInboxTimeExcluded),\n                this.model.settings.reportingExcludeOooHours,\n                this.botInboxTimeExcluded,\n              ),\n              ranges: [\n                { to: 5 * 60 },\n                { from: 5 * 60, to: 15 * 60 },\n                { from: 15 * 60, to: 30 * 60 },\n                { from: 30 * 60, to: 60 * 60 },\n                { from: 60 * 60, to: 3 * 60 * 60 },\n                { from: 3 * 60 * 60, to: 8 * 60 * 60 },\n                { from: 8 * 60 * 60 },\n              ],\n            },\n            time: {\n              property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n              start: FILTER_PROPERTY_PLACEHOLDER,\n              end: FILTER_PROPERTY_PLACEHOLDER,\n            },\n          },\n        ],\n      };\n    }\n  }\n\n  get timeToCloseDataConfig() {\n    if (this.appService.app.canQueryPowerfulIndices) {\n      return {\n        xAxis: {\n          type: 'temporal',\n          data: {\n            interval: FILTER_PROPERTY_PLACEHOLDER,\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n          },\n        },\n        series: [\n          {\n            name: 'time_to_close_columnchart',\n            source: 'conversation',\n            type: 'median',\n            filter: {\n              type: 'category',\n              data: {\n                property: 'has_human_authored_closer',\n                values: [true],\n              },\n            },\n            data: {\n              property: botInboxAndOfficeHoursField(\n                timeTimeToCloseField(this.botInboxTimeExcluded),\n                this.model.settings.reportingExcludeOooHours,\n                this.botInboxTimeExcluded,\n              ),\n            },\n            time: {\n              property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n              start: FILTER_PROPERTY_PLACEHOLDER,\n              end: FILTER_PROPERTY_PLACEHOLDER,\n            },\n          },\n        ],\n      };\n    } else {\n      return {\n        xAxis: {\n          type: 'temporal',\n          data: {\n            interval: FILTER_PROPERTY_PLACEHOLDER,\n            property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n          },\n        },\n        series: [\n          {\n            name: 'time_to_close_columnchart',\n            source: 'conversation_closed',\n            type: 'median',\n            data: {\n              property: botInboxAndOfficeHoursField(\n                timeTimeToCloseField(this.botInboxTimeExcluded),\n                this.model.settings.reportingExcludeOooHours,\n                this.botInboxTimeExcluded,\n              ),\n            },\n            time: {\n              property: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n              start: FILTER_PROPERTY_PLACEHOLDER,\n              end: FILTER_PROPERTY_PLACEHOLDER,\n            },\n          },\n        ],\n      };\n    }\n  }\n}\n","import ReportBase from 'embercom/controllers/apps/app/reports/base/report';\nimport { action } from '@ember/object';\nimport storage from 'embercom/vendor/intercom/storage';\nimport { inject as service } from '@ember/service';\n\nconst SLA_COPY = {\n  heading: 'Set up an SLA rule',\n  description:\n    'Set targets for responsiveness with SLAs. SLA rules automatically apply SLAs to inbound conversations.',\n  button: 'Create SLA rule',\n  route: 'apps.app.inbox.automation.sla',\n  articleText: 'How to set up SLAs?',\n  articleURL:\n    'https://www.intercom.com/help/support-and-retain-customers/hit-your-service-targets-with-sla-rules',\n  analyticsObject: 'sla_reporting_rules_banner',\n};\n\nexport default class SlasController extends ReportBase {\n  @service router;\n\n  get hasRules() {\n    return this.conversationSLARulesCount > 0;\n  }\n\n  get hasSLAs() {\n    return this.conversationSLAs.length > 0;\n  }\n\n  get hasCurrentPeriodConversationsWithSLA() {\n    return this.signals?.slaConversations.value > 0;\n  }\n\n  get hasPreviousPeriodConversationsWithSLA() {\n    return this.signals?.slaConversations.previousValue > 0;\n  }\n\n  get hasConversationsWithSLA() {\n    return this.hasCurrentPeriodConversationsWithSLA || this.hasPreviousPeriodConversationsWithSLA;\n  }\n\n  get hasSLAsAndRules() {\n    return this.hasRules && this.hasSLAs;\n  }\n\n  get hasSLAsSetup() {\n    return this.hasSLAsAndRules || this.hasConversationsWithSLA;\n  }\n\n  queryParams = ['slaId'];\n  slaId = null;\n  claimCopy = SLA_COPY;\n\n  get claimBannerVariation() {\n    return this.hasSLAs ? 'no-rules' : 'no-slas';\n  }\n\n  get conversationSLAsList() {\n    return [\n      {\n        isFilterable: true,\n        items: this.conversationSLAs.map(({ name, id }) => ({\n          text: name,\n          value: id,\n          isSelected: id.toString() === this.selectedConversationSLA.id,\n        })),\n      },\n    ];\n  }\n\n  get customAttributeIds() {\n    return this.conversationAttributeDescriptors.map(descriptor => descriptor.id);\n  }\n\n  @action\n  selectConversationSLA(sla) {\n    this.set('slaId', sla);\n    storage.set('inbox-reporting-last-viewed-sla-id', sla);\n  }\n\n  @action\n  transitionToRoute(route) {\n    this.router.transitionTo(route);\n  }\n\n  @action\n  filterBarSelectionChanged(filterType, filterValues, operator) {\n    //backwards compatible with existing teammate filters before the filter bar was introduced\n    if (filterType === 'teammatesParticipated') {\n      this.set('teammateId', filterValues);\n    } else if (this.customAttributeIds.includes(filterType)) {\n      this.customAttributes.updateValues(filterType, filterValues, operator);\n      this.set('customAttributes', this.customAttributes.clone());\n    } else {\n      this.set(filterType, filterValues);\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class TeamPerformanceController extends Controller {\n  @service intercomEventService;\n  @service reportingService;\n  @service store;\n  @service appService;\n\n  @tracked customAttributes;\n\n  teammateId = null;\n  tag = null;\n  teamOrTeammate = null;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get dashboardName() {\n    return 'Team performance';\n  }\n\n  get customAttributeIds() {\n    return this.conversationAttributeDescriptors.map(descriptor => descriptor.id);\n  }\n\n  @action\n  updateRange(range) {\n    this.reportingService.updateRange(range);\n\n    let params = {\n      action: 'filtered_by_date',\n      object: this.reportName,\n      date_filter: this.range.selectedRange,\n      start_date: range.startMoment.format('YYYY/MM/DD'),\n      end_date: range.endMoment.format('YYYY/MM/DD'),\n    };\n\n    let teamOrTeammate = this.teamOrTeammate;\n    if (teamOrTeammate) {\n      params.models = [teamOrTeammate];\n    }\n    this.intercomEventService.trackAnalyticsEvent(params);\n  }\n\n  @action\n  filterBarSelectionChanged(filterType, filterValues, operator) {\n    //backwards compatible with existing teammate filters before the filter bar was introduced\n    if (filterType === 'teammatesParticipated') {\n      this.set('teammateId', filterValues);\n    } else if (this.customAttributeIds.includes(filterType)) {\n      this.customAttributes.updateValues(filterType, filterValues, operator);\n      this.set('customAttributes', this.customAttributes.clone());\n    } else {\n      this.set(filterType, filterValues);\n    }\n  }\n\n  @action\n  trackPageView() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: this.reportName,\n    });\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly, match } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller, { inject as controller } from '@ember/controller';\nimport RouteRegexes from 'embercom/lib/route-regexes';\n\nexport default Controller.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  application: controller(),\n  isOnExportRoute: match('application.currentPath', RouteRegexes.inboxExport),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport ReportBase from 'embercom/controllers/apps/app/reports/base/report';\nimport { computed } from '@ember/object';\nimport { NEW_LEADS, LEADS_CREATED_FILTERS } from 'embercom/lib/reporting/queries';\nimport { SIGNAL_CONFIGS } from 'embercom/models/reporting/signal';\nimport { not } from '@ember/object/computed';\n\nexport default ReportBase.extend({\n  linksEnabled: not('bootOptionsService.embeddedContent'),\n  queries: {\n    newLeads: NEW_LEADS,\n    emailCaptured: SIGNAL_CONFIGS.EMAIL_CAPTURED,\n    messageROI: SIGNAL_CONFIGS.MESSAGE_ROI,\n    vamROI: SIGNAL_CONFIGS.VAM_ROI,\n  },\n  fetchFilters: computed('filters', function() {\n    return {\n      newLeads: {\n        ...this.filters,\n        ...LEADS_CREATED_FILTERS,\n      },\n    };\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly, notEmpty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\nimport { SIGNAL_CONFIGS } from 'embercom/models/reporting/signal';\nimport { isNone } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport { match } from '@ember/object/computed';\nimport RouteRegexes from 'embercom/lib/route-regexes';\n\nimport {\n  MEETING_BOOKED,\n  SALESFORCE_LEAD_CREATED,\n  OPERATOR_CONVERSATIONS_ASSIGNED,\n  OPERATOR_CONVERSATIONS_COMPLETED,\n  OPERATOR_CONVERSATION_ENGAGED,\n  OPERATOR_CONVERSATION_SENT,\n} from 'embercom/lib/reporting/queries';\n\nexport default Controller.extend({\n  reportingService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  queryParams: ['customBot'],\n  customBot: null,\n  palette: PALETTE,\n  hasCustomBots: notEmpty('bots'),\n  intercomEventService: service(),\n  router: service(),\n\n  queries: {\n    leadDisqualified: SIGNAL_CONFIGS.LEAD_DISQUALIFIED,\n    emailCaptured: SIGNAL_CONFIGS.EMAIL_CAPTURED,\n    salesforceLeadCreated: SALESFORCE_LEAD_CREATED,\n    meetingBooked: MEETING_BOOKED,\n    conversationsAssigned: OPERATOR_CONVERSATIONS_ASSIGNED,\n    conversationsParticipatedInByWeekAndHour: OPERATOR_CONVERSATION_ENGAGED,\n    conversationsSent: OPERATOR_CONVERSATION_SENT,\n    conversationsEngaged: OPERATOR_CONVERSATION_ENGAGED,\n    conversationsCompleted: OPERATOR_CONVERSATIONS_COMPLETED,\n  },\n\n  botsDropdown: computed('bots.[]', 'customBot', function() {\n    let allBotsItem = {\n      items: [\n        {\n          text: 'All bots',\n          value: null,\n          isSelected: isNone(this.customBot),\n        },\n      ],\n    };\n\n    let botsListItems = {\n      heading: 'Filter by bot',\n      items: this.bots.sortBy('order').map(bot => ({\n        text: bot.title,\n        value: bot.id,\n        isSelected: bot.id === this.customBot,\n      })),\n    };\n\n    return [allBotsItem, botsListItems];\n  }),\n\n  isOnCustomerSupportReports: match(\n    'router.currentRouteName',\n    RouteRegexes.reports.customerSupportReports,\n  ),\n\n  baseCustomBotsRoute: computed('isOnCustomerSupportReports', function() {\n    if (this.get('app.canUseNewReportingIa')) {\n      if (this.isOnCustomerSupportReports) {\n        return 'apps.app.reports.customer-support.custom-bots';\n      } else {\n        return 'apps.app.reports.lead-generation.custom-bots';\n      }\n    } else {\n      return 'apps.app.reports.operator.custom-bots';\n    }\n  }),\n\n  actions: {\n    updateRange(range) {\n      this.reportingService.updateRange(range);\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'filtered_by_date',\n        object: 'custom_bots_report',\n        date_filter: this.range.selectedRange,\n        start_date: this.range.startMoment.format('YYYY/MM/DD'),\n        end_date: this.range.endMoment.format('YYYY/MM/DD'),\n      });\n    },\n    updateBot(botId) {\n      this.set('customBot', botId);\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'filtered_by_bot',\n        object: 'custom_bots_report',\n        date_filter: this.range.selectedRange,\n        start_date: this.range.startMoment.format('YYYY/MM/DD'),\n        end_date: this.range.endMoment.format('YYYY/MM/DD'),\n        bot_id: botId,\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller, { inject as controller } from '@ember/controller';\nimport { readOnly } from '@ember/object/computed';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\n\nexport default Controller.extend({\n  parentController: controller('apps.app.reports.lead-generation.custom-bots'),\n  signals: readOnly('parentController.signals'),\n  range: readOnly('parentController.range'),\n  palette: PALETTE,\n});\n","define(\"embercom/controllers/apps/app/reports/lead-generation/custom-bots/completed\", [\"exports\", \"embercom/controllers/apps/app/reports/lead-generation/custom-bots/base\"], function (_exports, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _base.default;\n    }\n  });\n});\n","define(\"embercom/controllers/apps/app/reports/lead-generation/custom-bots/engaged\", [\"exports\", \"embercom/controllers/apps/app/reports/lead-generation/custom-bots/base\"], function (_exports, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _base.default;\n    }\n  });\n});\n","define(\"embercom/controllers/apps/app/reports/lead-generation/custom-bots/sent\", [\"exports\", \"embercom/controllers/apps/app/reports/lead-generation/custom-bots/base\"], function (_exports, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _base.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\nimport { task } from 'ember-concurrency';\nimport ReportBase from 'embercom/controllers/apps/app/reports/base/report';\nimport { computed } from '@ember/object';\nimport {\n  LEADS_CREATED,\n  MEDIAN_FIRST_RESPONSE_TIME_NEW,\n  SALESFORCE_LEAD_CREATED,\n  LEADS_CREATED_FILTERS,\n} from 'embercom/lib/reporting/queries';\nimport { SIGNAL_CONFIGS } from 'embercom/models/reporting/signal';\n\nexport default ReportBase.extend({\n  salesforceIntegrationInstalled: false,\n  leadSourceEmptyStateComponentPath: 'inbox/reporting/empty-state/lead-sources',\n  loadSalesforceIntegrationTask: task(function*() {\n    let salesforceIntegrationInstalled = yield this.store\n      .query('integration', { code: 'salesforce-by-intercom' })\n      .then(response => {\n        return response.get('firstObject.installed');\n      });\n\n    this.set('salesforceIntegrationInstalled', salesforceIntegrationInstalled);\n  }),\n\n  queries: computed('settings', function() {\n    return {\n      leadsCreated: LEADS_CREATED,\n      salesforceLeadsCreated: SALESFORCE_LEAD_CREATED,\n      medianFirstResponseTime: MEDIAN_FIRST_RESPONSE_TIME_NEW({\n        withinOfficeHours: this.settings.reportingExcludeOooHours,\n        excludeBotInbox: this.botInboxTime === 'excluded',\n      }),\n      leadsCreatedBySource: SIGNAL_CONFIGS.LEADS_CREATED_BY_SOURCE,\n    };\n  }),\n  filters: {\n    leadsCreated: LEADS_CREATED_FILTERS,\n    medianFirstResponseTime: { user_roles: ['contact_role'] },\n  },\n});\n","import PerformanceReportBase from 'embercom/controllers/apps/app/reports/base/performance-report';\nimport { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\nimport { officeHoursField } from 'embercom/lib/reporting/office-hours-field';\nimport { improvementDirections } from 'embercom/components/reporting/element/summary-comparison';\nimport { units } from 'embercom/lib/reporting/flexible/formatters';\nimport {\n  MEDIAN,\n  MEAN,\n  MAX,\n  MIN,\n  COUNT,\n  CLOSE_DATE,\n  MEETING_BOOKED_AT,\n} from 'embercom/lib/reporting/flexible/constants';\nimport { SIGNAL_CONFIGS } from 'embercom/models/reporting/signal';\nimport ViewConfig, { GROUPINGS } from 'embercom/lib/reporting/flexible/view-config';\nimport RouteRegexes from 'embercom/lib/route-regexes';\nimport { inject as service } from '@ember/service';\n\nexport default class SalesController extends PerformanceReportBase {\n  @service router;\n  reportDescription = ' influenced by Intercom';\n  queries = {\n    messageROI: SIGNAL_CONFIGS.MESSAGE_ROI,\n    vamROI: SIGNAL_CONFIGS.VAM_ROI,\n  };\n\n  get filteredByAdmin() {\n    return this.teammateIds?.length === 1;\n  }\n\n  get counterDefaultConfigs() {\n    return {\n      timeToCloseOpportunityCounter: {\n        viewConfig: this.buildViewConfig({\n          unit: units.minute,\n          aggregations: { defaultOption: MEDIAN, rest: [MIN, MAX, MEAN] },\n          groupings: { defaultOption: { ...GROUPINGS[CLOSE_DATE], isComparison: true } },\n          counter: {\n            opportunities_created_counter: {\n              improvementDirection: improvementDirections.DECREASING,\n            },\n          },\n        }),\n        dataConfig: {\n          series: [\n            {\n              name: 'opportunities_created_counter',\n              source: 'opportunity_created',\n              type: 'median',\n              data: {\n                property: officeHoursField('time_to_close', this.settings.reportingExcludeOooHours),\n              },\n              time: {\n                property: CLOSE_DATE,\n                start: FILTER_PROPERTY_PLACEHOLDER,\n                end: FILTER_PROPERTY_PLACEHOLDER,\n              },\n              filter: {\n                type: 'and',\n                filters: [\n                  {\n                    type: 'category',\n                    data: {\n                      property: 'closed',\n                      values: [true],\n                    },\n                  },\n                  {\n                    type: 'exists',\n                    data: {\n                      property: 'user_id',\n                    },\n                  },\n                ],\n              },\n            },\n          ],\n        },\n      },\n      meetingsBookedCounter: {\n        viewConfig: this.buildViewConfig({\n          unit: units.value,\n          aggregations: { defaultOption: COUNT },\n          groupings: { defaultOption: { ...GROUPINGS[MEETING_BOOKED_AT], isComparison: true } },\n          counter: {\n            meetings_booked_counter: {\n              improvementDirection: improvementDirections.INCREASING,\n            },\n          },\n        }),\n        dataConfig: {\n          series: [\n            {\n              name: 'meetings_booked_counter',\n              source: 'meeting_booked',\n              type: 'count',\n              data: {\n                property: 'teammate_participant_id',\n              },\n              time: {\n                property: MEETING_BOOKED_AT,\n                start: FILTER_PROPERTY_PLACEHOLDER,\n                end: FILTER_PROPERTY_PLACEHOLDER,\n              },\n            },\n          ],\n        },\n      },\n    };\n  }\n\n  get columnChartConfigs() {\n    return {\n      timeToCloseOpportunity: {\n        viewConfig: this.buildViewConfig({\n          unit: units.seconds,\n          aggregations: { defaultOption: MEDIAN, rest: [MIN, MAX, MEAN] },\n          groupings: { defaultOption: GROUPINGS[CLOSE_DATE] },\n        }),\n        dataConfig: {\n          xAxis: {\n            type: 'temporal',\n            data: {\n              interval: FILTER_PROPERTY_PLACEHOLDER,\n              property: CLOSE_DATE,\n            },\n          },\n          series: [\n            {\n              name: 'opportunities_created_columnchart',\n              source: 'opportunity_created',\n              type: 'median',\n              data: {\n                property: officeHoursField('time_to_close', this.settings.reportingExcludeOooHours),\n              },\n              time: {\n                property: CLOSE_DATE,\n                start: FILTER_PROPERTY_PLACEHOLDER,\n                end: FILTER_PROPERTY_PLACEHOLDER,\n              },\n            },\n          ],\n          filter: {\n            type: 'and',\n            filters: [\n              {\n                type: 'category',\n                data: {\n                  property: 'closed',\n                  values: [true],\n                },\n              },\n              {\n                type: 'exists',\n                data: {\n                  property: 'user_id',\n                },\n              },\n            ],\n          },\n        },\n      },\n      meetingsBooked: {\n        viewConfig: this.buildViewConfig({\n          aggregations: { defaultOption: COUNT },\n          unit: units.value,\n          displayUnit: 'teammate participant',\n          groupings: { defaultOption: GROUPINGS[MEETING_BOOKED_AT] },\n        }),\n        dataConfig: {\n          xAxis: {\n            type: 'temporal',\n            data: {\n              interval: FILTER_PROPERTY_PLACEHOLDER,\n              property: MEETING_BOOKED_AT,\n            },\n          },\n          series: [\n            {\n              name: 'meetings_booked_columnchart',\n              source: 'meeting_booked',\n              type: 'count',\n              data: {\n                property: 'teammate_participant_id',\n              },\n              time: {\n                property: MEETING_BOOKED_AT,\n                start: FILTER_PROPERTY_PLACEHOLDER,\n                end: FILTER_PROPERTY_PLACEHOLDER,\n              },\n            },\n          ],\n        },\n      },\n    };\n  }\n\n  get salesReportBaseRoute() {\n    let routeRegex = new RegExp(RouteRegexes.reports.leadGenerationReports);\n    if (routeRegex.test(this.router.currentRouteName)) {\n      return 'apps.app.reports.lead-generation.sales';\n    } else {\n      return 'apps.app.reports.inbox.performance.sales';\n    }\n  }\n\n  buildViewConfig({ unit, displayUnit = '', aggregations, groupings, counter = {} }) {\n    let viewConfig = new ViewConfig();\n\n    viewConfig.aggregations = aggregations;\n    viewConfig.groupings = groupings;\n    viewConfig.formatUnit = { unit, displayUnit };\n    viewConfig.counter = counter;\n\n    return viewConfig;\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\nimport ReportBase from 'embercom/controllers/apps/app/reports/base/report';\nimport {\n  MEDIAN_TIME_TO_CLOSE,\n  MEDIAN_FIRST_RESPONSE_TIME_NEW,\n} from 'embercom/lib/reporting/queries';\nimport { computed } from '@ember/object';\nimport { readOnly, not } from '@ember/object/computed';\n\nexport default ReportBase.extend({\n  timezone: readOnly('app.timezone'),\n\n  inbox: readOnly('app.inboxProduct'),\n  hasInbox: not('inbox.inactive'),\n\n  messages: readOnly('app.messagesProduct'),\n  hasMessages: not('messages.inactive'),\n\n  customBots: readOnly('app.customBotsProduct'),\n  hasCustomBots: not('customBots.inactive'),\n\n  canUseFree: readOnly('app.canUseFree'),\n\n  answerBot: readOnly('app.answerBotProduct'),\n  hasAnswerBot: not('answerBot.inactive'),\n\n  articles: readOnly('app.articlesProduct'),\n  hasArticles: not('articles.inactive'),\n\n  medianTimeToCloseQuery: computed('settings.reportingExcludeOooHours', function() {\n    return MEDIAN_TIME_TO_CLOSE({\n      withinOfficeHours: this.settings.reportingExcludeOooHours,\n    });\n  }),\n  medianFirstResponseTimeQuery: computed('settings.reportingExcludeOooHour', function() {\n    return MEDIAN_FIRST_RESPONSE_TIME_NEW({\n      withinOfficeHours: this.settings.reportingExcludeOooHours,\n    });\n  }),\n\n  hideComparison: computed(\n    'range.{comparisonStartIsMoreThanTwoYearsAgo,comparisonStartMoment}',\n    'app.created_at',\n    function() {\n      return (\n        this.range.comparisonStartIsMoreThanTwoYearsAgo ||\n        this.range.comparisonStartMoment.isBefore(this.app.created_at)\n      );\n    },\n  ),\n  actions: {\n    updateRange(range) {\n      this.reportingService.updateRange(range);\n\n      this._recordFilteredByDateAnalyticsEvent();\n    },\n\n    onStartInboxTrial() {\n      return this.transitionToRoute('apps.app.inbox');\n    },\n    transitionToNewArticle() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'create_an_article',\n      });\n      return this.transitionToRoute('apps.app.articles.articles.new');\n    },\n    transitionToNewAnswer() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'create_an_answer',\n      });\n      return this.transitionToRoute('apps.app.operator.resolution-bot.answers.new');\n    },\n    transitionToPerformanceReport() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'see_performance_report',\n      });\n      return this.transitionToRoute('apps.app.reports.inbox.performance');\n    },\n    transitionToArticlesReport() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'see_articles_report',\n      });\n      return this.transitionToRoute('apps.app.reports.articles');\n    },\n    transitionToAnswerBotReport() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'see_answer_bot_report',\n      });\n      return this.transitionToRoute('apps.app.reports.operator.resolution-bot');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { reads, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller, { inject as controller } from '@ember/controller';\nexport default Controller.extend({\n  intercomEventService: service(),\n  router: service(),\n  identityVerificationRiskStateService: service(),\n\n  appController: controller('apps/app'),\n  app: reads('appController.model'),\n  currentRouteName: readOnly('router.currentRouteName'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport SdkBaseController from 'embercom/controllers/apps/app/settings/sdk-base-controller';\n\nexport default SdkBaseController.extend({\n  language: 'java',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\nimport { filterBy, notEmpty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport IntegrateBaseController from 'embercom/controllers/apps/app/integrations-hub/integrate-base-controller';\n\nlet ApiKeysController = IntegrateBaseController.extend({\n  notificationsService: service('notificationsService'),\n  appService: service(),\n  apiKeys: filterBy('model', 'isNew', false),\n  appApiKeys: filterBy('apiKeys', 'testApp', false),\n  testAppApiKeys: filterBy('apiKeys', 'testApp', true),\n  testAppPresent: notEmpty('app.test_app_id'),\n  actions: {\n    deleteKey(apiKey) {\n      apiKey.destroyRecord().then(\n        () => {\n          this.notificationsService.notifyConfirmation('API key deleted successfully.');\n        },\n        () => {\n          this.notificationsService.notifyError('Unable to delete API key.');\n        },\n      );\n    },\n  },\n});\n\nexport default ApiKeysController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { computed } from '@ember/object';\nimport { task } from 'ember-concurrency';\n\nexport default Controller.extend({\n  canSave: computed(\n    'saveTask.isRunning',\n    'model.{agreedToRisk,enabled,hasDirtyAttributes,isFiletypeListValid}',\n    function() {\n      let modelCanBeSaved = !this.model.enabled || this.model.agreedToRisk;\n      return (\n        !this.saveTask.isRunning &&\n        this.model.hasDirtyAttributes &&\n        modelCanBeSaved &&\n        this.model.isFiletypeListValid\n      );\n    },\n  ),\n  saveTask: task(function*() {\n    try {\n      yield this.model.save();\n      this.notificationsService.notifyConfirmation('Your settings have been updated');\n    } catch (error) {\n      this.notificationsService.notifyResponseError(error, {\n        default: 'There was an error updating your setting. Please try again.',\n      });\n    }\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { A } from '@ember/array';\nimport EmberObject, { computed } from '@ember/object';\nimport { readOnly, sort } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\nimport { findBy, notImplemented } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Controller.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n\n  attributes: notImplemented(\n    'attribute-settings-controller: The child controller should define the set of attributes',\n  ),\n  archivedAttributes: notImplemented(\n    'attribute-settings-controller: The child controller should define the set of archived attributes',\n  ),\n  archivedAttributesWithSettings: computed('model.archivedAttributes.@each.archived', function() {\n    return this.attributeService.attributesWithSettings(this.get('model.archivedAttributes'));\n  }),\n\n  columns: A([\n    EmberObject.create({\n      label: 'Attribute name',\n      canExpandToFit: true,\n      component: 'table-cells/attributes/name-and-description-cell',\n      sortable: true,\n      isSortColumn: false,\n      sortedAscending: true,\n      propertyName: 'attribute.name',\n    }),\n    EmberObject.create({\n      label: 'Format',\n      component: 'table-cells/attributes/format-and-options-cell',\n      canExpandToFit: false,\n    }),\n    EmberObject.create({\n      label: 'Created',\n      component: 'table-cells/attributes/created-at-cell',\n      sortable: true,\n      isSortColumn: true,\n      sortedAscending: false,\n      propertyName: 'attribute.created_at',\n    }),\n    EmberObject.create({\n      component: 'table-cells/attributes/edit-button-cell',\n    }),\n  ]),\n\n  sortedAttributes: sort('attributes', 'sortDefinition'),\n  rows: computed(\n    'sortedAttributes.@each.archived',\n    'archivedAttributes.@each.archived',\n    function() {\n      return this.sortedAttributes.concat(this.archivedAttributes).uniqBy('attribute.identifier');\n    },\n  ),\n\n  currentSortColumn: findBy('columns', 'isSortColumn'),\n  sortDefinition: computed('currentSortColumn', 'currentSortColumn.sortedAscending', function() {\n    let sortColumn = this.currentSortColumn;\n    return sortColumn.sortedAscending\n      ? [sortColumn.propertyName]\n      : [`${sortColumn.propertyName}:desc`];\n  }),\n\n  filterSearchTerm: '',\n  filteredRows: computed('rows.@each.attribute', 'filterSearchTerm', function() {\n    return this.rows.filter(row => this.rowMatchesFilterSearchTerm(row));\n  }),\n\n  rowMatchesFilterSearchTerm(row) {\n    let rowAttributeName = row.get('attribute.name').toLowerCase();\n    let filterSearchTerm = this.filterSearchTerm.toLowerCase();\n    return rowAttributeName.includes(filterSearchTerm);\n  },\n\n  actions: {\n    openAttributeCreationModal(type) {\n      this.modalService.openModal('apps/app/settings/modals/attribute-details', {\n        attribute: null,\n        allowArchival: false,\n        showPeopleAndCompanyToggleTab: false,\n        typeToCreate: type,\n      });\n    },\n\n    openDetailsView(row) {\n      this.modalService.openModal('apps/app/settings/modals/attribute-details', {\n        attribute: row.get('attribute'),\n        allowArchival: true,\n      });\n    },\n\n    toggleSort(column) {\n      let columns = this.columns;\n      let currentSortColumn = this.currentSortColumn;\n\n      if (currentSortColumn.get('propertyName') === column.propertyName) {\n        currentSortColumn.toggleProperty('sortedAscending');\n      } else {\n        currentSortColumn.set('isSortColumn', false);\n\n        let newSortColumn = columns.findBy('propertyName', column.propertyName);\n        newSortColumn.set('isSortColumn', true);\n      }\n    },\n\n    openArchiveModal(controllerPath, attribute, options) {\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', controllerPath, attribute, options);\n    },\n\n    onArchive(attribute) {\n      attribute.set('archived', true);\n      this.get('model.archivedAttributes').pushObject(attribute);\n    },\n\n    onUnarchive(attribute) {\n      attribute.set('archived', false);\n      this.get('model.archivedAttributes').removeObject(attribute);\n    },\n\n    closeModal() {\n      // eslint-disable-next-line ember/closure-actions\n      this.sendAction('closeModal');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport { reads, equal, and, empty, sort } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\n\nexport default Controller.extend({\n  appController: controller('apps/app'),\n  app: reads('appController.model'),\n  sortBy: 'name',\n  sortOrder: 'ascending',\n  isSortedByName: equal('sortBy', 'name'),\n  isSortedByUserCount: equal('sortBy', 'user_count'),\n  isSortedByCompanyCount: equal('sortBy', 'company_count'),\n  isSortedAscending: equal('sortOrder', 'ascending'),\n  nameIsAscending: and('isSortedByName', 'isSortedAscending'),\n  companyCountIsAscending: and('isSortedByUserCount', 'isSortedAscending'),\n  userCountIsAscending: and('isSortedByCompanyCount', 'isSortedAscending'),\n  sortDefinition: computed('sortBy', 'sortOrder', function() {\n    let sortOrderForEmber = this.isSortedAscending ? 'asc' : 'desc';\n    return [`${this.sortBy}:${sortOrderForEmber}`];\n  }),\n  displayEmptyState: empty('nonDeletedTagsOrSegments'),\n  sortedTagsOrSegments: sort('nonDeletedTagsOrSegments', 'sortDefinition'),\n  toggleSortOrder(newSortBy) {\n    if (this.sortBy === newSortBy) {\n      let newSortOrder = this.sortOrder === 'ascending' ? 'descending' : 'ascending';\n      this.set('sortOrder', newSortOrder);\n    } else {\n      this.set('sortBy', newSortBy);\n    }\n  },\n  actions: {\n    openDeleteModal(controllerPath, tagOrSegment, options) {\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', controllerPath, tagOrSegment, options);\n    },\n    toggleSortByNameOrder() {\n      this.toggleSortOrder('name');\n    },\n    toggleSortByUserCountOrder() {\n      this.toggleSortOrder('user_count');\n    },\n    toggleSortByCompanyCountOrder() {\n      this.toggleSortOrder('company_count');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { reads } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport NumberPagination from 'embercom/controllers/mixins/number-pagination';\nimport PageLoader from 'embercom/controllers/mixins/users-and-companies/page-loader';\n\nlet BlockedUsersController = Controller.extend(NumberPagination, PageLoader, {\n  appController: controller('apps/app'),\n  app: reads('appController.model'),\n\n  actions: {\n    unblockUser(blockedUser) {\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', 'apps/app/modals/unblock-blocked-user', blockedUser);\n    },\n  },\n});\n\nexport default BlockedUsersController;\n","import { filterBy, readOnly } from '@ember/object/computed';\nimport AttributeSettingsController from 'embercom/controllers/apps/app/settings/base/attribute-settings-controller';\n\nlet CompanyDataSettings = AttributeSettingsController.extend({\n  attributes: readOnly('attributeService.displayableCompanyAttributes'),\n  archivedAttributes: filterBy('archivedAttributesWithSettings', 'isCompany', true),\n\n  companyAttributes: readOnly('attributes'),\n  companyStandardAttributes: filterBy('companyAttributes', 'isCustomData', false),\n  companyCustomAttributes: filterBy('companyAttributes', 'isCustomData', true),\n  archivedCompanyAttributes: readOnly('archivedAttributes'),\n  checkboxesLocked: false,\n\n  // For triggering the focus of corresponding attribute description table cell\n  queryParams: ['attributeForDescriptionEditing'],\n  attributeForDescriptionEditing: null,\n\n  actions: {\n    lockCheckboxes() {\n      this.set('checkboxesLocked', true);\n    },\n    unlockCheckboxes() {\n      this.set('checkboxesLocked', true);\n    },\n  },\n});\n\nexport default CompanyDataSettings;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { filterBy } from '@ember/object/computed';\nimport SegmentOrTagController from 'embercom/controllers/apps/app/settings/base/segment-tag-controller';\n\nexport default SegmentOrTagController.extend({\n  nonDeletedTagsOrSegments: filterBy('app.companySegments', 'isDeleted', false),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\n\nexport default class ConversationDataController extends Controller {\n  @service appService;\n  @service store;\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly, notEmpty } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { isValidEmail } from 'embercom/lib/email';\nimport { inject as service } from '@ember/service';\n\nconst MANUALLY_ADDED = 0;\n\nexport default Controller.extend({\n  notificationsService: service(),\n  appController: controller('apps/app'),\n  app: readOnly('appController.model'),\n  addCompanyEmailAddressFormExpanded: false,\n  companyEmailAddresses: readOnly('app.companyEmailAddresses'),\n  hasCompanyEmailAddresses: notEmpty('companyEmailAddresses'),\n  duplicateEmailAddress(emailAddress) {\n    let companyEmailAddresses = this.companyEmailAddresses;\n    let duplicateFound = false;\n    companyEmailAddresses.forEach(function(item) {\n      if (item.get('email_address') === emailAddress) {\n        duplicateFound = true;\n      }\n    });\n    return duplicateFound;\n  },\n  actions: {\n    expandAddCompanyEmailAddressForm() {\n      this.set('addCompanyEmailAddressFormExpanded', true);\n    },\n    collapseAddCompanyEmailAddressForm() {\n      this.set('addCompanyEmailAddressFormExpanded', false);\n    },\n    addNewCompanyEmailAddress(emailAddress) {\n      if (!isValidEmail(emailAddress)) {\n        this.notificationsService.notifyWarning('Please enter a valid email address');\n      } else if (this.duplicateEmailAddress(emailAddress)) {\n        this.notificationsService.notifyWarning('Company email address already added');\n      } else {\n        let companyEmailAddress = this.store.createRecord('company-email-address', {\n          email_address: emailAddress,\n          source: MANUALLY_ADDED,\n        });\n        this.send('collapseAddCompanyEmailAddressForm');\n        companyEmailAddress\n          .save()\n          .then(() => {\n            this.set('newCompanyEmailAddress', '');\n            this.notificationsService.notifyConfirmation('Company address has been registered');\n          })\n          .catch(() => {\n            this.notificationsService.notifyError(\n              \"Something went wrong and we couldn't save your company email address\",\n            );\n            this.send('expandAddCompanyEmailAddressForm');\n            this.store.deleteRecord(companyEmailAddress);\n          });\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject, { computed } from '@ember/object';\nimport { reads, alias } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport EmailTemplate from 'embercom/models/email-template';\nimport Translations from 'embercom/models/translations';\nimport renderEmailTemplate from 'embercom/lib/messages/render-email-template';\n\nconst templateWhiteList = ['personal', 'company', 'announcement'];\n\nexport default Controller.extend({\n  appController: controller('apps/app'),\n  app: reads('appController.model'),\n  emailTemplatesSettings: reads('app.email_templates'),\n  store: service(),\n\n  renderedTemplates: computed(function() {\n    let renderedTemplates = [];\n    this.standardTemplates.forEach(function(template) {\n      let html = this.getRenderedTemplate(template);\n      renderedTemplates.pushObject(this.createRenderedTemplate(html, template));\n    }, this);\n    return renderedTemplates;\n  }),\n\n  getRenderedTemplate(model) {\n    return renderEmailTemplate({\n      id: model.get('id'),\n      template: model.get('template'),\n      color: this.get('app.application_colors.base'),\n      renderedWidgets: this.renderedWidgets,\n    });\n  },\n  standardTemplates: computed(function() {\n    EmailTemplate.populateDefaultTemplates(this.app, Translations.create());\n    return this.store\n      .peekAll('email-template')\n      .filter(template => templateWhiteList.includes(template.get('id')));\n  }),\n\n  renderedWidgets: computed('widgetTemplateContext', function() {\n    let rendered = {};\n    let templateContext = this.widgetTemplateContext;\n    EmailTemplate.widgets().forEach(function(widget) {\n      rendered[widget.name] = widget.template(templateContext);\n    }, this);\n    return rendered;\n  }),\n\n  widgetTemplateContext: computed('emailTemplateData.@each.value', function() {\n    let context = {};\n    this.emailTemplateData.forEach(function(emailTemplateDatum) {\n      context[emailTemplateDatum.identifier] = emailTemplateDatum.value;\n    }, this);\n\n    if (!context.logo) {\n      context.logo = { url: this.placeholderLogoUrl };\n    }\n    return context;\n  }),\n\n  emailTemplateData: alias('app.email_template_data'),\n\n  placeholderLogoUrl:\n    'https://static.intercomassets.com/assets/wizard/sample_logo-0f637b81241b1b7930155af85db4314f.png',\n\n  createRenderedTemplate(html, template) {\n    return EmberObject.create({\n      template,\n      html,\n    });\n  },\n\n  actions: {\n    copyTemplate(templateName) {\n      this.transitionToRoute('apps.app.settings.email-templates.new-template', {\n        queryParams: { templateId: templateName },\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport Controller, { inject as controller } from '@ember/controller';\nimport { alias, and, match, notEmpty, or, reads } from '@ember/object/computed';\nimport { bind, schedule } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport { htmlSafe } from '@ember/string';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport $ from 'jquery';\n\nlet container;\nlet floatingButtons;\n\nexport default Controller.extend({\n  notificationsService: service(),\n  paywallService: service(),\n  appController: controller('apps/app'),\n  app: reads('appController.model'),\n\n  template: alias('model'),\n\n  hasTemplateName: notEmpty('template.name'),\n  hasTemplateHTML: notEmpty('template.template'),\n  hasContentTag: match('template.template', /\\{\\{\\s*?content\\s*?\\}\\}/),\n  hasUnsubscribeLinkTag: match('template.template', /\\{\\{\\s*?unsubscribe_link\\s*?\\}\\}/),\n  hasUnsubscribeURLTag: match('template.template', /\\{\\{\\s*?unsubscribe_url\\s*?\\}\\}/),\n  hasUnsubscribeLinkOrURL: or('hasUnsubscribeURLTag', 'hasUnsubscribeLinkTag'),\n  canSaveTemplate: and(\n    'hasTemplateName',\n    'hasTemplateHTML',\n    'hasContentTag',\n    'hasUnsubscribeLinkOrURL',\n  ),\n\n  setupEventListeners() {\n    schedule('afterRender', this, function() {\n      floatingButtons = $('.js__template-editor__floating-buttons')[0];\n      container = $('.js__settings-container')[0];\n      $('.js__template-editor__textarea').on(\n        'paste.template-editor',\n        bind(this, this._resizeTextArea),\n      );\n      $('.js__template-editor__textarea').on(\n        'keyup.template-editor',\n        bind(this, this._resizeTextArea),\n      );\n      //nolaneo - unbound for speed\n      $('.js__settings-container').on('scroll.template-editor', this._moveFloatingButtons);\n      //eslint-disable-next-line @intercom/intercom/no-jquery-window-on\n      $(window).on('resize.template-editor', this._moveFloatingButtons);\n      this._resizeTextArea();\n      this._moveFloatingButtons();\n    });\n  },\n\n  teardownEventListeners() {\n    $('.js__template-editor__textarea').off('paste.template-editor');\n    $('.js__template-editor__textarea').off('keyup.template-editor');\n    $('.js__settings-container').off('scroll.template-editor');\n    $(window).off('resize.template-editor');\n    floatingButtons = null;\n    container = null;\n  },\n\n  showDiscardChangeWarning(transition) {\n    let confirmOptions = {\n      title: 'Discard your template changes?',\n      body: 'Are you sure you want to discard the changes you made to this template?',\n      confirmButtonText: 'Discard changes',\n    };\n    intercomConfirm(this, confirmOptions).then(\n      function() {\n        this.template.rollbackAttributes();\n        transition.retry();\n      }.bind(this),\n    );\n  },\n\n  _resizeTextArea() {\n    schedule('afterRender', this, function() {\n      let $textArea = $('.js__template-editor__textarea');\n      if ($textArea) {\n        let oldScrollTop = $('.js__settings-container').scrollTop();\n        $textArea.css('height', 'auto');\n        $textArea.css('height', $textArea[0].scrollHeight);\n        $('.js__settings-container').scrollTop(oldScrollTop);\n      }\n    });\n  },\n\n  _moveFloatingButtons() {\n    if ($('.main__content-outlet').length === 0) {\n      let newRight =\n        container.scrollWidth - container.getBoundingClientRect().width - container.scrollLeft;\n      floatingButtons.style.right = `${newRight + 20}px`;\n    }\n  },\n\n  _showValidationWarning() {\n    if (!this.hasTemplateHTML) {\n      this.notificationsService.notifyWarning('Your template has no HTML');\n    } else if (!this.hasContentTag) {\n      this.notificationsService.notifyWarning(\n        htmlSafe(\n          'Your template is missing the <span style=\"font-family:monospace\">{{ content }}</span> tag',\n        ),\n      );\n    } else if (!this.hasUnsubscribeLinkOrURL) {\n      this.notificationsService.notifyWarning(\n        htmlSafe(\n          'Your template is missing an <span style=\"font-family:monospace\">{{ unsubscribe_link }}</span> or <span style=\"font-family:monospace\">{{ unsubscribe_url }}</span>tag',\n        ),\n      );\n    } else if (!this.hasTemplateName) {\n      this.notificationsService.notifyWarning('Your template is missing a name');\n    }\n  },\n\n  _generateConfirmationOptionsWithMessages(messages) {\n    let confirmOptions = {\n      title: 'Delete this template',\n      body: 'Are you sure you want to delete this template?',\n      confirmButtonText: 'Delete template',\n      primaryButtonType: 'primary-destructive',\n    };\n    if (messages.auto_messages.length || messages.manual_messages.length) {\n      confirmOptions.body +=\n        '<br><br>Messages using this template will change to use the <b>Personal</b> template.';\n      messages.auto_messages.forEach(message => {\n        confirmOptions.body += `<br><a href='/a/apps/${this.get('app.id')}/messages/${\n          message.id\n        }' target='_blank'>${message.html_safe_title}</a>`;\n      });\n      messages.manual_messages.forEach(message => {\n        confirmOptions.body += `<br><a href='/a/apps/${this.get('app.id')}/messages/${\n          message.id\n        }' target='_blank'>${message.html_safe_title}</a>`;\n      });\n    }\n    confirmOptions.body = htmlSafe(confirmOptions.body);\n    return confirmOptions;\n  },\n\n  actions: {\n    openTemplateHelp() {\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', 'apps/app/modals/email-template-help-modal');\n    },\n\n    saveTemplate() {\n      this.paywallService\n        .paywall({ featureName: 'custom_email_templates' })\n        .then(() => {\n          if (this.canSaveTemplate) {\n            this.template.save().then(\n              () => {\n                this.transitionToRoute('apps.app.settings.email-templates.email-templates').then(\n                  () => {\n                    this.notificationsService.notifyConfirmation(\n                      `Your template '${this.get('template.name')}' was saved!`,\n                    );\n                  },\n                );\n              },\n              response => {\n                if (response.status === 422) {\n                  this.notificationsService.notifyError(\n                    `We couldn't save your email template: ${\n                      JSON.parse(response.responseText).errors\n                    }`,\n                    8000,\n                  );\n                } else {\n                  this.notificationsService.notifyError(\n                    \"Hmm, we couldn't save your email template. Please try again\",\n                  );\n                }\n              },\n            );\n          } else {\n            this._showValidationWarning();\n          }\n        })\n        .catch(this.paywallService.handleError);\n    },\n\n    deleteTemplate() {\n      let template = this.template;\n      template.getAssociatedMessages(this.app).then(\n        function(messages) {\n          let confirmOptions = this._generateConfirmationOptionsWithMessages(messages);\n          intercomConfirm(this, confirmOptions).then(\n            function() {\n              template.rollbackAttributes();\n              template.destroyRecord().then(\n                function() {\n                  this.notificationsService.notifyConfirmation(\n                    `The template '${template.get('name')}' was deleted`,\n                  );\n                  this.get('app.email_templates').removeObject(template);\n                  this.transitionToRoute('apps.app.settings.email-templates');\n                }.bind(this),\n              );\n            }.bind(this),\n          );\n        }.bind(this),\n      );\n    },\n\n    cancelChanges() {\n      this.transitionToRoute('apps.app.settings.email-templates');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject, { computed } from '@ember/object';\nimport { reads, alias, filterBy, not } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport EmailTemplate from 'embercom/models/email-template';\nimport { inject as service } from '@ember/service';\nimport renderEmailTemplate from 'embercom/lib/messages/render-email-template';\n\nexport default Controller.extend({\n  notificationsService: service(),\n  store: service(),\n  appController: controller('apps/app'),\n  app: reads('appController.model'),\n  paywallService: service(),\n  emailTemplatesSettings: alias('model'),\n  defaultEmailTemplate: alias('emailTemplatesSettings.default_email_template'),\n  emailTemplates: alias('app.email_templates'),\n\n  emailTemplateData: alias('app.email_template_data'),\n\n  customEmailTemplates: filterBy('emailTemplates', 'isCustom'),\n\n  templatesAvailableForAppDefault: computed('emailTemplates', function() {\n    return this.emailTemplates.filter(template => {\n      return (\n        !template.get('isHtmlBlockTemplate') &&\n        // Official is a legacy template that should only be available if already selected\n        (!template.get('isOfficial') || this.get('defaultEmailTemplate.isOfficial'))\n      );\n    });\n  }),\n\n  emailTemplatesSettingsIsClean: not('emailTemplatesSettings.hasDirtyAttributes'),\n\n  placeholderLogoUrl:\n    'https://static.intercomassets.com/assets/wizard/sample_logo-0f637b81241b1b7930155af85db4314f.png',\n\n  renderedTemplates: computed('customEmailTemplates', 'renderedWidgets', 'app', function() {\n    let templates = this.customEmailTemplates;\n    let renderedTemplates = [];\n    templates.forEach(function(template) {\n      let html = this.getRenderedTemplate(template);\n      renderedTemplates.pushObject(this.createRenderedTemplate(html, template));\n    }, this);\n    return renderedTemplates;\n  }),\n\n  getRenderedTemplate(model) {\n    return renderEmailTemplate({\n      id: model.get('id'),\n      template: model.get('template'),\n      color: this.get('app.application_colors.base'),\n      renderedWidgets: this.renderedWidgets,\n    });\n  },\n\n  createRenderedTemplate(html, template) {\n    return EmberObject.create({\n      template,\n      html,\n    });\n  },\n\n  renderedWidgets: computed('widgetTemplateContext', function() {\n    let rendered = {};\n    let templateContext = this.widgetTemplateContext;\n    EmailTemplate.widgets().forEach(function(widget) {\n      rendered[widget.name] = widget.template(templateContext);\n    }, this);\n    return rendered;\n  }),\n\n  widgetTemplateContext: computed('emailTemplateData.@each.value', function() {\n    let context = {};\n    this.emailTemplateData.forEach(function(emailTemplateDatum) {\n      context[emailTemplateDatum.get('identifier')] = emailTemplateDatum.get('value');\n    }, this);\n    if (!context.logo) {\n      context.logo = { url: this.placeholderLogoUrl };\n    }\n    return context;\n  }),\n\n  transitionAfterPaywallCheck(destination) {\n    this.paywallService\n      .paywall({ featureName: 'custom_email_templates' })\n      .then(() => this.transitionToRoute(destination))\n      .catch(this.paywallService.handleError);\n  },\n\n  actions: {\n    save() {\n      this.emailTemplatesSettings.save().then(\n        () => {\n          this.notificationsService.notifyConfirmation(\n            'Your Intercom Email template settings have been updated',\n          );\n          // Update the app model with the newly stored default template.\n          // This avoids having to reload the app model for this setting to take effect\n          // when composing emails from the user list\n          let newDefaultTemplate = this.emailTemplates.findBy('id', this.defaultEmailTemplate);\n          this.app.set('default_email_template_id', newDefaultTemplate.id);\n          this.app.set('default_email_template', newDefaultTemplate.name);\n        },\n        error => {\n          this.notificationsService.notifyError(error.jqXHR.responseJSON.error);\n        },\n      );\n    },\n    createNewCustomEmailTemplate() {\n      this.transitionAfterPaywallCheck('apps.app.settings.email-templates.new-template');\n    },\n    copyIntercomTemplate() {\n      this.transitionAfterPaywallCheck('apps.app.settings.email-templates.copy-template');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { readOnly, filterBy } from '@ember/object/computed';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  appService: service(),\n\n  app: readOnly('appService.app'),\n  showEventCreationButton: readOnly('app.canUseVisualEventsCreator'),\n  activeEvents: filterBy('app.attributes', 'isUserEvent', true),\n\n  actions: {\n    openEventCreationModal() {\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', 'apps/app/settings/modals/event-creation-modal', this.pingDomains);\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'opened',\n        object: 'event_creation_modal',\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\nimport { computed, observer } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { alias, not } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport IntercomTimezoneOptions from 'embercom/lib/intercom-timezone-options';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\n\nlet GeneralSettingsController = Controller.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  modelDataCacheService: service(),\n  router: service(),\n  customerService: service(),\n  customer: alias('customerService.customer'),\n  appsController: controller('apps'),\n  appsControllerModel: alias('appsController.model'),\n\n  appService: service(),\n  app: alias('appService.app'),\n\n  hasAppPermissions: computed('app', function() {\n    return this.app.canUseFeature('app_permissions');\n  }),\n  isNotDirty: not('model.hasDirtyAttributes'),\n  useCustomTimezone: false,\n  timezoneOptions: computed('customTimezoneName', function() {\n    let customTimezone = this.customTimezoneName;\n    if (typeof customTimezone === 'string' && customTimezone.length > 0) {\n      return IntercomTimezoneOptions.concat({\n        name: customTimezone,\n        description: customTimezone,\n      });\n    } else {\n      return IntercomTimezoneOptions;\n    }\n  }),\n  selectedTimezoneDidChange: observer({\n    dependentKeys: ['selectedTimezone'],\n\n    fn() {\n      if (this.model) {\n        this.set('model.time_zone_name', this.get('selectedTimezone.name'));\n      }\n    },\n\n    sync: true,\n  }),\n  changedTestAppUse: false,\n\n  showConfirmationModal() {\n    let options = {\n      title: `Delete social profiles for all users of ${this.get('app.name')}`,\n      body:\n        'You will still be able to retrieve all the deleted information by re-enabling this setting. Are you sure you want to delete the social profiles?',\n      center: false,\n      confirmButtonText: 'Delete social data',\n      cancelButtonText: 'Cancel',\n      primaryButtonType: 'primary-destructive',\n    };\n    return intercomConfirm(this, options);\n  },\n\n  async saveAfterConfirmation() {\n    try {\n      await this.model.save();\n      this.modelDataCacheService.fetch('app', this.app.id);\n      this.notificationsService.notifyConfirmation('Your App settings have been updated');\n      this.set('app.name', this.get('model.name'));\n      this.set('app.companies_enabled', this.get('model.companies_enabled'));\n      if (this.changedTestAppUse) {\n        GeneralSettingsController.reloadWindow();\n      }\n    } catch (err) {\n      let notificationText;\n      let responseJSON = err.jqXHR.responseJSON;\n      if (responseJSON && responseJSON.errors[0]) {\n        notificationText = responseJSON.errors[0];\n      } else {\n        notificationText = 'Your App settings have not been updated, please try later';\n      }\n      this.notificationsService.notifyError(notificationText);\n    }\n  },\n  hasUpdatedForSocialDataDeletion() {\n    let socialDataAttribute = this.model.changedAttributes()['should_gather_social_data'];\n    return (\n      socialDataAttribute && socialDataAttribute[0] === true && socialDataAttribute[1] === false\n    );\n  },\n\n  actions: {\n    setAuths(auth) {\n      this.set('auths', this.get(auth));\n    },\n    async save() {\n      if (this.hasUpdatedForSocialDataDeletion()) {\n        await this.showConfirmationModal();\n      }\n      return this.saveAfterConfirmation();\n    },\n    destroyApp() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'delete_app_button',\n        context: 'from_settings',\n      });\n\n      if (\n        this.customer.subscriptionCancelledAt ||\n        this.customer.subscriptionWillBeCancelled ||\n        this.customer.hasNoActiveSubscription ||\n        this.app.isDeveloperWorkspace\n      ) {\n        // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n        this.send('openModal', 'apps/app/settings/modals/delete-app-modal', this.app);\n      } else {\n        this.router.transitionTo('apps.app.billing.cancel');\n      }\n    },\n    toggleTestAppUse() {\n      this.toggleProperty('model.uses_test_app');\n      this.toggleProperty('changedTestAppUse');\n    },\n    paywallCheckOrUpdateAuthWith(methods) {\n      if (this.allAuth !== methods && !this.hasAppPermissions) {\n        return;\n      }\n      this.set('auths', methods);\n    },\n  },\n}).reopenClass({\n  reloadWindow() {\n    document.location.reload(true);\n  },\n});\n\nexport default GeneralSettingsController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { alias } from '@ember/object/computed';\nimport IdentityVerificationBasePlatform from 'embercom/controllers/apps/app/settings/identity-verification/identity-verification-base-platform';\n\nexport default IdentityVerificationBasePlatform.extend({\n  sdkApp: alias('app.androidSdkApps.firstObject'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly, alias } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nexport default Controller.extend({\n  appController: controller('apps/app'),\n  app: readOnly('appController.model'),\n  userSources: alias('model.userSources'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { alias } from '@ember/object/computed';\nimport IdentityVerificationBasePlatform from 'embercom/controllers/apps/app/settings/identity-verification/identity-verification-base-platform';\n\nexport default IdentityVerificationBasePlatform.extend({\n  sdkApp: alias('app.iosSdkApps.firstObject'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { alias } from '@ember/object/computed';\nimport IdentityVerificationBasePlatform from 'embercom/controllers/apps/app/settings/identity-verification/identity-verification-base-platform';\n\nexport default IdentityVerificationBasePlatform.extend({\n  pingDomains: alias('model.pingDomains'),\n  identityVerificationSettings: alias('model.identityVerificationSettings'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\nexport default Controller.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { equal } from '@ember/object/computed';\nimport SdkBaseController from 'embercom/controllers/apps/app/settings/sdk-base-controller';\n\nexport default SdkBaseController.extend({\n  language: 'swift',\n  exampleIsSwift: equal('language', 'swift'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { computed } from '@ember/object';\nimport { readOnly, equal, filterBy, mapBy, or } from '@ember/object/computed';\nimport { inject as controller } from '@ember/controller';\nimport { task } from 'ember-concurrency';\nimport AttributeSettingsController from 'embercom/controllers/apps/app/settings/base/attribute-settings-controller';\nimport { inject as service } from '@ember/service';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default AttributeSettingsController.extend({\n  notificationsService: service(),\n  initialSelectedIdentifiers: [],\n  selectedTab: 'people',\n  appController: controller('apps/app'),\n  app: readOnly('appController.model'),\n\n  peopleIsSelected: equal('selectedTab', 'people'),\n  companyIsSelected: equal('selectedTab', 'company'),\n  peopleAttributes: filterBy('attributeService.displayableAttributes', 'attribute.isUser', true),\n  companyAttributes: filterBy(\n    'attributeService.displayableAttributes',\n    'attribute.isCompany',\n    true,\n  ),\n  attributesAndRelatedObjects: ternaryToProperty(\n    'peopleIsSelected',\n    'peopleAttributes',\n    'companyAttributes',\n  ),\n  attributes: mapBy('attributesAndRelatedObjects', 'attribute'),\n  isSaving: or(\n    'addQualificationAttributeTask.isRunning',\n    'removeQualificationAttributeTask.isRunning',\n  ),\n  initialSelectedAttributes: computed('initialSelectedIdentifiers', 'attributes', function() {\n    return this.attributes.filter(attribute => {\n      return this.initialSelectedIdentifiers.includes(attribute.get('identifier'));\n    });\n  }),\n  initialDeselectedAttributes: computed('initialSelectedIdentifiers', 'attributes', function() {\n    return this.attributes.reject(attribute => {\n      return this.initialSelectedIdentifiers.includes(attribute.get('identifier'));\n    });\n  }),\n\n  addQualificationAttributeTask: task(function*(attribute) {\n    try {\n      yield this.store\n        .createRecord('people/qualification-attribute', {\n          identifier: attribute.get('identifier'),\n        })\n        .save();\n    } catch (e) {\n      this.notificationsService.notifyResponseError(e, {\n        default: `Something went wrong and we couldn't add this lead acquisition attribute.`,\n      });\n    }\n  }),\n  removeQualificationAttributeTask: task(function*(attribute) {\n    let qualificationAttribute = this.model.findBy('identifier', attribute.get('identifier'));\n    try {\n      this.model.removeObject(qualificationAttribute);\n      yield qualificationAttribute.destroyRecord();\n    } catch (e) {\n      this.notificationsService.notifyResponseError(e, {\n        default: `Something went wrong and we couldn't delete this lead qualification attribute.`,\n      });\n      this.model.pushObject(qualificationAttribute);\n    }\n  }),\n\n  actions: {\n    switchTab(selectedTab) {\n      this.set('selectedTab', selectedTab);\n    },\n    toggleLeadAttribute(checked, attribute) {\n      let taskName = checked ? 'addQualificationAttributeTask' : 'removeQualificationAttributeTask';\n      this.get(taskName).perform(attribute);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport { readOnly, alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\nimport moment from 'moment';\nimport { greaterThanProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nfunction momentToDateJson(m) {\n  return { day: m.date(), month: m.month() + 1, year: m.year() };\n}\n\nexport default Controller.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  query: alias('model'),\n  displayedEvents: alias('model'),\n\n  dateToMoment(date) {\n    let newDate = { day: date.day, month: date.month - 1, year: date.year };\n    return moment(newDate);\n  },\n  fromDate: { day: null, month: null, year: null },\n  fromMoment: computed('fromDate.{day,month,year}', function() {\n    return this.dateToMoment(this.fromDate);\n  }),\n  toDate: { day: null, month: null, year: null },\n  toMoment: computed('toDate.{day,month,year}', function() {\n    return this.dateToMoment(this.toDate);\n  }),\n  requestedDays: computed('fromMoment', 'toMoment', function() {\n    return Math.abs(this.toMoment.diff(this.fromMoment, 'days'));\n  }),\n  maxDays: 30,\n  notValidRequest: greaterThanProperty('requestedDays', 'maxDays'),\n\n  setupDate() {\n    let toMoment = moment();\n    let fromMoment = toMoment.clone().subtract(7, 'days');\n\n    this.set('fromDate', momentToDateJson(fromMoment));\n    this.set('toDate', momentToDateJson(toMoment));\n  },\n\n  afterSetup() {\n    this.setupDate();\n    this.send('load');\n  },\n  actions: {\n    export() {\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', 'apps/app/settings/modals/logs-export', {\n        appId: this.get('app.id'),\n        from: this.fromMoment,\n        to: this.toMoment,\n      });\n    },\n    load() {\n      if (this.notValidRequest) {\n        return;\n      }\n      this.get('query.loadBetweenDates').perform(this.fromMoment.unix(), this.toMoment.unix());\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { reads, alias, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { task } from 'ember-concurrency';\n\nexport default Controller.extend({\n  notificationsService: service(),\n  appController: controller('apps/app'),\n  app: reads('appController.model'),\n  messagingSettings: alias('model'),\n\n  inboxIsNotActive: not('app.inboxIsActive'),\n\n  save: task(function*() {\n    try {\n      yield this.model.save();\n      this.setProperties({\n        'app.defaultAssigneeId': parseInt(this.get('messagingSettings.defaultAssigneeId'), 10),\n        'app.hideAllUnsubscribeLinks': this.get('messagingSettings.hideAllUnsubscribeLinks'),\n        'app.commentPlaceholder': this.get('messagingSettings.commentPlaceholder'),\n      });\n      this.notificationsService.notifyConfirmation('Your Messaging settings have been updated');\n    } catch (e) {\n      this.notificationsService.notifyError(\n        'There was an error updating your setting. Please try again.',\n      );\n    }\n  }).drop(),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { bind } from '@ember/runloop';\nimport { computed } from '@ember/object';\nimport { alias, readOnly, empty, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport DataAttributeArchiver from 'embercom/lib/data-attributes/data-attribute-archiver';\n\nexport default Controller.extend(IntercomModal, {\n  notificationsService: service(),\n  appService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  modelDataCacheService: service(),\n\n  attribute: alias('model.attribute'),\n  allowArchival: alias('model.allowArchival'),\n  showPeopleAndCompanyToggleTab: computed('model.showPeopleAndCompanyToggleTab', {\n    get() {\n      return this.get('model.showPeopleAndCompanyToggleTab') !== false;\n    },\n  }),\n  typeToCreate: computed('model.typeToCreate', {\n    get() {\n      return this.get('model.typeToCreate') === undefined\n        ? 'people'\n        : this.get('model.typeToCreate');\n    },\n  }),\n  dataContext: readOnly('model.dataContext'),\n  availableTypes: readOnly('model.availableTypes'),\n  isCreateMode: empty('attribute'),\n  isEditMode: not('isCreateMode'),\n\n  markAttributeAsArchived() {\n    this.attribute.set('archived', true);\n    this.get('appService.app').updateLocalCache(this.modelDataCacheService);\n  },\n\n  markAttributeAsUnarchived() {\n    this.attribute.set('archived', false);\n    this.get('appService.app').updateLocalCache(this.modelDataCacheService);\n    this.notificationsService.notifyConfirmation(\n      `${this.get('attribute.name')} has been unarchived`,\n    );\n    this.send('closeModal');\n  },\n\n  dataAttributeArchiver: computed('attribute', function() {\n    return DataAttributeArchiver.create({\n      appId: this.get('appService.app.id'),\n      attribute: this.attribute,\n      onArchive: bind(this, this.markAttributeAsArchived),\n      onUnarchive: bind(this, this.markAttributeAsUnarchived),\n    });\n  }),\n\n  afterUpdate: () => {},\n\n  afterCreate(attribute) {\n    if (this.dataContext !== 'qualification') {\n      this.notificationsService.notifyConfirmationWithModelAndPartial(\n        attribute,\n        'notifications/attributes/new-cda-success',\n      );\n    }\n  },\n  hooks: computed(function() {\n    return {\n      afterUpdate: bind(this, this.afterUpdate),\n      afterCreate: bind(this, this.afterCreate),\n    };\n  }),\n\n  actions: {\n    performTask(task) {\n      return task.perform().then(res => {\n        if (this.model.onSave && typeof this.model.onSave === 'function') {\n          this.model.onSave(res);\n        }\n        this.send('closeModal');\n      });\n    },\n    archiveAttribute() {\n      if (this.allowArchival) {\n        let attribute = this.attribute;\n        let dependentObjectService = this.dataAttributeArchiver;\n        this.modalService.openModal('apps/app/settings/modals/checking-dependents', attribute, {\n          dependentObjectService,\n        });\n      }\n    },\n    unarchiveAttribute() {\n      if (this.allowArchival) {\n        return this.get('dataAttributeArchiver.unarchiveTask').perform();\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\nimport Controller, { inject as controller } from '@ember/controller';\nimport { computed, observer } from '@ember/object';\nimport { alias, equal, not, notEmpty, or, reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { isPresent } from '@ember/utils';\nimport {\n  templateString,\n  ternary,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport { task } from 'ember-concurrency';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport { groupBy } from 'embercom/helpers/group-by';\n\nexport default Controller.extend(IntercomModal, {\n  intercomEventService: service(),\n  notificationsService: service(),\n  outboundHomeService: service(),\n  appController: controller('apps/app'),\n  app: alias('appController.model'),\n  hasChecked: false,\n  isChecking: true,\n  cannotDeleteOrArchive: or(\n    'isChecking',\n    'hasDependentSegments',\n    'hasDependentAutoMessages',\n    'hasDependentManualMessageGoals',\n    'hasDependentCampaigns',\n    'hasDependentCustomBotControls',\n    'hasDependentQualificationAttribute',\n    'hasDependentTaskBots',\n    'hasDependentRules',\n    'hasDependentTeamIntros',\n    'hasDependentTours',\n    'hasDependentRulesets',\n    'hasDependentContents',\n    'hasDependentEmailTemplates',\n  ),\n  canDeleteOrArchive: not('cannotDeleteOrArchive'),\n  dependentSegments: [],\n  dependentAutoMessages: [],\n  type: reads('options.dependentObjectService.type'),\n  capitalizedType: computed('type', function() {\n    return this.type.capitalize();\n  }),\n  isAttribute: equal('type', 'attribute'),\n  isEvent: equal('type', 'event'),\n  shouldArchive: or('isAttribute', 'isEvent'),\n  objectName: reads('model.name'),\n  objectId: computed('isAttribute', 'model.cda_id', 'model.event_id', 'model.id', function() {\n    if (this.isAttribute) {\n      return this.get('model.cda_id');\n    } else if (this.isEvent) {\n      return this.get('model.event_id');\n    } else {\n      return this.get('model.id');\n    }\n  }),\n  titleForCheckingLegacy: 'Checking for dependent segments and auto messages…',\n  titleForCheckingOutboundHome: 'Checking for dependent segments and messages…',\n\n  titleForChecking: computed('app.canUseContentOrientedNavigation', function() {\n    if (this.get('app.canUseContentOrientedNavigation')) {\n      return this.titleForCheckingOutboundHome;\n    } else {\n      return this.titleForCheckingLegacy;\n    }\n  }),\n  titleWithObjectName: templateString('${capitalizedType} “${objectName}”'),\n  showCancelButton: or('isChecking', 'canDeleteOrArchive'),\n  modalTitle: ternaryToProperty('isChecking', 'titleForChecking', 'titleWithObjectName'),\n  hasDependentSegments: notEmpty('dependentSegments'),\n  hasDependentAutoMessages: notEmpty('dependentAutoMessages'),\n  hasDependentManualMessageGoals: notEmpty('dependentManualMessageGoals'),\n  hasDependentCampaigns: notEmpty('dependentCampaigns'),\n  hasDependentCustomBots: notEmpty('dependentCustomBots'),\n  hasDependentCustomBotControls: notEmpty('dependentCustomBotControls'),\n  hasDependentQualificationAttribute: notEmpty('dependentQualificationAttribute'),\n  hasDependentTaskBots: notEmpty('dependentTaskBots'),\n  hasDependentRules: notEmpty('dependentRules'),\n  hasDependentTeamIntros: notEmpty('dependentTeamIntros'),\n  hasDependentTours: notEmpty('dependentTours'),\n  hasDependentRulesets: notEmpty('dependentRulesets'),\n  hasDependentContents: notEmpty('dependentContents'),\n  hasDependentEmailTemplates: notEmpty('dependentEmailTemplates'),\n  archiveOrDelete: ternary('shouldArchive', 'archive', 'delete'),\n  promptMessage: alias('options.promptMessage'),\n  rulesetsByContentType: computed('dependentRulesets', function() {\n    if (this.hasDependentRulesets) {\n      return groupBy(this.dependentRulesets, item => item.object_type);\n    }\n  }),\n\n  checkForDependents() {\n    this.get('options.dependentObjectService')\n      .getDependentObjects()\n      .then(dependentObjects =>\n        this.setProperties({\n          dependentSegments: dependentObjects.dependent_segments,\n          dependentAutoMessages: dependentObjects.dependent_auto_messages,\n          dependentManualMessageGoals: dependentObjects.dependent_manual_message_goals,\n          dependentCampaigns: dependentObjects.dependent_campaigns,\n          dependentCustomBots: dependentObjects.dependent_custom_bots,\n          dependentCustomBotControls: dependentObjects.dependent_custom_bot_controls,\n          dependentQualificationAttribute: dependentObjects.dependent_qualification_attribute,\n          dependentTaskBots: dependentObjects.dependent_task_bots,\n          dependentRules: dependentObjects.dependent_rules,\n          dependentTeamIntros: dependentObjects.dependent_team_intros,\n          dependentContents: dependentObjects.dependent_contents,\n          dependentEmailTemplates: dependentObjects.dependent_email_templates,\n          dependentTours: dependentObjects.dependent_tours,\n          dependentRulesets: dependentObjects.dependent_rulesets,\n          isChecking: false,\n        }),\n      );\n  },\n\n  modelChanged: observer({\n    dependentKeys: ['model', 'objectId'],\n\n    fn() {\n      if (isPresent(this.objectId)) {\n        this.set('isChecking', true);\n        this.checkForDependents();\n      }\n    },\n\n    sync: true,\n  }),\n\n  actions: {\n    confirmArchive() {\n      this.set('isSaving', true);\n      this.get('options.dependentObjectService')\n        .archive()\n        .then(\n          function() {\n            this.set('isSaving', false);\n            this.notificationsService.notifyConfirmation(\n              `${this.titleWithObjectName} was archived`,\n            );\n            this.send('closeModal');\n          }.bind(this),\n        );\n    },\n    confirmDelete() {\n      let itemToDelete = this.model;\n      let itemToDeleteName = itemToDelete.get('name');\n      let itemType = this.type;\n      this.set('isSaving', true);\n\n      if (itemType === 'segment' || itemType === 'tag') {\n        this.deleteItemTask.perform(itemToDelete);\n        return;\n      }\n\n      itemToDelete.deleteRecord().then(\n        function() {\n          this.set('isSaving', false);\n          if (itemType === 'tag') {\n            this.app.get('tags').removeObject(itemToDelete);\n          } else if (itemType === 'segment') {\n            this.app.get('segments').removeObject(itemToDelete);\n          }\n          this.notificationsService.notifyConfirmation(`${itemToDeleteName} was deleted`);\n          this.send('closeModal');\n        }.bind(this),\n      );\n    },\n    transitionToTaggedMessages() {\n      this.outboundHomeService.resetFilters();\n      this.set('outboundHomeService.selectedTagValues', [this.model.id]);\n      this.transitionToRoute('apps.app.outbound.all');\n      this.send('closeModal');\n    },\n  },\n\n  deleteItemTask: task(function*(itemToDelete) {\n    try {\n      yield itemToDelete.destroyRecord();\n      this.set('isSaving', false);\n      if (this.type === 'segment') {\n        this.app.segments.removeObject(itemToDelete);\n      } else if (this.type === 'tag') {\n        this.app.tags.removeObject(itemToDelete);\n\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'deleted',\n          object: itemToDelete,\n          place: 'tag_settings',\n          location: 'tags',\n          owner: 'inbox',\n        });\n      }\n\n      this.notificationsService.notifyConfirmation(`${itemToDelete.get('name')} was deleted`);\n      this.send('closeModal');\n    } catch (error) {\n      console.error(error);\n      this.notificationsService.notifyError('Delete request failed, please try again.');\n    }\n  }).drop(),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport { capitalize } from '@ember/string';\nimport { readOnly, alias, not, equal, and } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\nimport { task } from 'ember-concurrency';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport { applyFunction, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport EventArchiver from 'embercom/lib/user-events/event-archiver';\nimport B64FilterParamEncoder from 'embercom/vendor/intercom/b64-filter-param-encoder';\nimport { USER_ROLE_PREDICATE, LEAD_ROLE_PREDICATE } from 'embercom/lib/default-predicates';\n\nexport default Controller.extend(IntercomModal, {\n  intercomEventService: service(),\n  notificationsService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n\n  event: readOnly('model.event'),\n  eventTracker: alias('model.eventTracker'),\n  name: readOnly('event.name'),\n  humanFriendlyName: readOnly('event.humanFriendlyName'),\n  description: readOnly('event.description'),\n  type: readOnly('event.type'),\n  displayedType: applyFunction(capitalize, 'type'),\n  createdAt: ternaryToProperty('event.created_at', 'event.created_at', 'app.created_at'),\n  isArchived: readOnly('event.archived'),\n  isNotArchived: not('isArchived'),\n  isCustomData: readOnly('event.isCustomData'),\n  isListDataType: equal('event.type', 'list'),\n  isNotListDataType: not('isListDataType'),\n  isEditableDataType: and('isCustomData', 'isNotListDataType', 'isNotArchived'),\n\n  eventArchiver: computed('event', function() {\n    return EventArchiver.create({\n      appId: this.get('app.id'),\n      event: this.event,\n      onArchive: this.get('model.onArchive'),\n    });\n  }),\n\n  eventPredicate: computed('event', function() {\n    return {\n      attribute: `user_event_summaries.${this.get('event.name')}.count`,\n      comparison: 'known',\n      type: 'user_event_integer',\n      value: null,\n    };\n  }),\n\n  leadListParam: computed('eventPredicate', function() {\n    return this.getSegmentUrlParam(LEAD_ROLE_PREDICATE);\n  }),\n\n  userListParam: computed('eventPredicate', function() {\n    return this.getSegmentUrlParam(USER_ROLE_PREDICATE);\n  }),\n\n  getSegmentUrlParam(rolePredicate) {\n    let predicates = {\n      predicates: [rolePredicate, this.eventPredicate],\n    };\n    let encodedPredicates = B64FilterParamEncoder.b64Encode(JSON.stringify(predicates));\n    return `all:${encodedPredicates}`;\n  },\n\n  changeDescription: task(function*() {\n    let event = this.event;\n    try {\n      yield this.eventArchiver.updateDescription();\n      this.intercomEventService.trackEvent('added_description_to_data', {\n        data_type: 'event',\n      });\n      this.event.set('_dirtyAttributes', []); // Manually reset dirty attributes since we're not using Ember model with typical update methods\n    } catch (error) {\n      this.notificationsService.notifyError(\n        `Could not update the description for \"${this.humanFriendlyName}\"`,\n      );\n      event.revert();\n    }\n  }),\n\n  unArchive: task(function*() {\n    let event = this.event;\n    let eventName = event.get('humanFriendlyName');\n    let options = {\n      title: 'Unarchive event',\n      body: `Are you sure you want to unarchive ${eventName}?`,\n      confirmButtonText: 'Unarchive event',\n    };\n\n    yield intercomConfirm(this, options);\n    try {\n      yield this.eventArchiver.unarchive();\n      this.get('model.onUnarchive')();\n      this.notificationsService.notifyConfirmation(`${eventName} event unarchived`);\n    } catch (error) {\n      this.notificationsService.notifyError(`Could not unarchive ${eventName} event`);\n    }\n  }),\n\n  deleteEventTracker: task(function*() {\n    try {\n      yield this.eventTracker.destroyRecord();\n      this.set('eventTracker', null);\n      this.get('model.onDeleteEventTracker')();\n      this.notificationsService.notifyConfirmation('Event tracker has been deleted.');\n    } catch (e) {\n      this.notificationsService.notifyError(\n        \"Something went wrong and we couldn't delete that event tracker.\",\n      );\n    }\n  }),\n\n  actions: {\n    close() {\n      this.send('closeModal');\n    },\n\n    changeDescription(newDescription) {\n      this.event.set('description', newDescription);\n    },\n\n    archive() {\n      let event = this.event;\n      let checkingDependentsModal = 'apps/app/settings/modals/checking-dependents';\n      let options = { dependentObjectService: this.eventArchiver };\n      this.modalService.openModal(checkingDependentsModal, event, options);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport { alias, not } from '@ember/object/computed';\nimport Evented from '@ember/object/evented';\nimport Controller, { inject as controller } from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport { inject as service } from '@ember/service';\nimport {\n  equalToProperty,\n  templateString,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Controller.extend(IntercomModal, Evented, {\n  intercomEventService: service(),\n  notificationsService: service(),\n  appsController: controller('apps'),\n  admin: alias('appsController.model'),\n  title: templateString('Delete ${app.name} workspace'),\n  confirmButtonText: 'Delete workspace',\n  cancelButtonText: 'Cancel',\n  center: false,\n  invertButtonTypes: false,\n  primaryButtonType: 'primary-destructive',\n  secondaryButtonType: 'secondary',\n  cancelButtonType: ternaryToProperty(\n    'invertButtonTypes',\n    'primaryButtonType',\n    'secondaryButtonType',\n  ),\n  confirmButtonType: ternaryToProperty(\n    'invertButtonTypes',\n    'secondaryButtonType',\n    'primaryButtonType',\n  ),\n  confirmationText: '',\n  hasEnteredValidCheckText: equalToProperty('confirmationText', 'app.name'),\n  cannotCreateToken: not('hasEnteredValidCheckText'),\n  validationClass: computed('confirmationText', function() {\n    return `f__text test__confirmation__text-input ${this.cannotCreateToken ? ' o__error' : ''}`;\n  }),\n  goToURL(url) {\n    location.href = url;\n  },\n  actions: {\n    confirm() {\n      let appModel = this.app;\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'deleted',\n        object: appModel.get('id'),\n        context: 'from_settings_modal',\n      });\n\n      let apps = this.get('admin.apps');\n      let appInAdminRecord = apps.findBy('id', appModel.get('id'));\n      appModel.destroyRecord().then(\n        () => {\n          apps.removeObject(appInAdminRecord);\n          let url = '/apps/new';\n          if (apps.length > 0) {\n            url = `/apps/${apps.get('firstObject.id')}`;\n          }\n          this.goToURL(url);\n        },\n        () => {\n          this.notificationsService.notifyError('You cannot delete this workspace');\n        },\n      );\n      this.send('closeModal');\n    },\n    cancel() {\n      this.send('closeModal');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport { on } from '@ember/object/evented';\nimport { readOnly, mapBy, not, or, and } from '@ember/object/computed';\nimport { A } from '@ember/array';\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport { task } from 'ember-concurrency';\n\nexport default Controller.extend(IntercomModal, {\n  intercomEventService: service(),\n  notificationsService: service(),\n  boundEventsService: service(),\n\n  name: '',\n  url: '',\n  codelessTracking: true,\n  boundWebEvent: null,\n  boundWebEvents: A(),\n  pingDomains: readOnly('model'),\n  trustedOrigins: mapBy('pingDomains', 'domain'),\n\n  notCodelessTracking: not('codelessTracking'),\n  setupComplete: or('boundWebEvent', 'notCodelessTracking'),\n\n  fetchBoundWebEvents: on('init', function() {\n    this.rehydrateBoundWebEvents();\n  }),\n\n  sanitisedName: computed('name', function() {\n    return this.name.toLowerCase().replace(/[\\. ]/, '_');\n  }),\n\n  hasNoBoundWebEvent: not('boundWebEvent'),\n  hasExistingNameConflict: computed('boundWebEvents.@each.name', 'sanitisedName', function() {\n    return this.boundWebEvents.findBy('name', this.sanitisedName) !== undefined;\n  }),\n  hasNameConflict: and('hasNoBoundWebEvent', 'hasExistingNameConflict'),\n  hasNoNameConflict: not('hasNameConflict'),\n\n  doneEnabled: and('name', 'setupComplete', 'hasNoNameConflict'),\n\n  rehydrateBoundWebEvents() {\n    this.store.findAll('event-tracker').then(boundWebEvents => {\n      let filteredEvents = boundWebEvents.rejectBy('isNew');\n      this.set('boundWebEvents', filteredEvents);\n    });\n  },\n\n  onBoundEventCreated(boundWebEvent) {\n    this.set('boundWebEvent', boundWebEvent);\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'saved',\n      object: 'bound_web_event',\n      bound_web_event_id: boundWebEvent.get('id'),\n      event_name: boundWebEvent.get('name'),\n      element_text: boundWebEvent.get('elementText'),\n    });\n\n    this.rehydrateBoundWebEvents();\n  },\n\n  deleteBoundWebEvent: task(function*() {\n    try {\n      yield this.boundWebEvent.destroyRecord();\n      this.set('boundWebEvent', null);\n      this.rehydrateBoundWebEvents();\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'stop_tracking',\n        event_name: this.name,\n      });\n    } catch (error) {\n      this.notificationsService.notifyError(\n        'An error occured while trying to remove tracking for this event. Try again or send us a message.',\n      );\n    }\n  }),\n\n  validateUrl(url) {\n    if (this.get('app.canUseVisualEventsCreatorDisableUrlCheck')) {\n      return true;\n    }\n    return this.pingDomains.any(pingDomain => url.includes(pingDomain.get('domain')));\n  },\n\n  actions: {\n    openBoundEventCreator() {\n      this.set('invalidUrl', !this.validateUrl(this.url));\n      if (this.invalidUrl) {\n        return;\n      }\n\n      this.set('invalidUrl', false);\n      this.boundEventsService.openBoundEventCreator({\n        urlString: this.url,\n        eventName: this.name,\n        trustedOrigins: this.trustedOrigins,\n        onBoundEventCreated: this.onBoundEventCreated.bind(this),\n      });\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'opened',\n        object: 'bound_event_creator',\n        event_name: this.name,\n        event_url: this.url,\n      });\n    },\n\n    onUrlChanged(url) {\n      this.set('url', url);\n      this.set('invalidUrl', false);\n    },\n\n    resetState() {\n      this.setProperties({\n        name: '',\n        url: '',\n        codelessTracking: true,\n        boundWebEvent: null,\n        invalidUrl: false,\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport LogsSettingsModel from 'embercom/models/logs-settings';\nimport safeWindowOpen from 'embercom/lib/safe-window-open';\n\nexport default Controller.extend(IntercomModal, {\n  actions: {\n    download(format) {\n      let url = LogsSettingsModel.logsSettingsBetweenDatesUrl(\n        this.get('model.appId'),\n        format,\n        this.get('model.from').unix(),\n        this.get('model.to').unix(),\n      );\n\n      safeWindowOpen(url, '_blank');\n\n      this.send('closeModal');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nexport default Controller.extend(IntercomModal, {\n  actions: {\n    closeModal() {\n      let action = this.complete;\n      if (action) {\n        action();\n      }\n      return true;\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport { filterBy, map, alias, setDiff } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\nimport { rejectByProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Controller.extend({\n  appService: service(),\n  app: alias('appService.app'),\n  adminToReassign: null,\n\n  sendersWithoutAdminToReassign: rejectByProperty('app.humanAdmins', 'id', 'adminToReassign.id'),\n\n  assignableAdminsExcludingAdminToReassign: computed(\n    'app.assignableAdmins.@each.{id,name}',\n    'adminToReassign.id',\n    function() {\n      let adminToReassignId = this.get('adminToReassign.id');\n\n      return this.get('app.assignableAdmins').reject(admin => {\n        return admin.get('id') === adminToReassignId || admin.get('name') === 'Unassigned';\n      });\n    },\n  ),\n\n  teamsWithOneAdmin: filterBy('assignableTeams', 'teamMemberCount', 1),\n  teamsWithOnlyAdminToBeReassigned: computed(\n    'teamsWithOneAdmin.[]',\n    'teamsWithOneAdmin.@each.firstTeamMemberId',\n    'adminToReassign.id',\n    function() {\n      let adminToReassignId = this.get('adminToReassign.id');\n      return this.teamsWithOneAdmin.filter(\n        team => team.get('firstTeamMemberId').toString() === adminToReassignId,\n      );\n    },\n  ),\n\n  assignableTeammates: filterBy('assignableAdminsExcludingAdminToReassign', 'isTeam', false),\n  assignableTeams: setDiff('assignableAdminsExcludingAdminToReassign', 'assignableTeammates'),\n  assignableTeamsExcludingTeamsWithOnlyAdminToBeReassigned: setDiff(\n    'assignableTeams',\n    'teamsWithOnlyAdminToBeReassigned',\n  ),\n\n  // Items for use in ic-select\n  teamItems: map('assignableTeamsExcludingTeamsWithOnlyAdminToBeReassigned', function(team) {\n    return this.buildItem(team);\n  }),\n\n  teammateItems: map('assignableTeammates', function(teammate) {\n    return this.buildItem(teammate);\n  }),\n\n  teamsAndTeammatesItems: computed('teamItems', 'teammateItems', function() {\n    return [\n      {\n        hasItemsMarkableAsSelected: true,\n        heading: 'Teammates',\n        items: this.teammateItems,\n      },\n      {\n        hasItemsMarkableAsSelected: true,\n        heading: 'Teams',\n        items: this.teamItems,\n      },\n    ];\n  }),\n\n  sendersWithoutAdminToReassignItems: map('sendersWithoutAdminToReassign', function(sender) {\n    return this.buildItem(sender);\n  }),\n\n  buildItem(teamOrTeammate) {\n    return {\n      text: teamOrTeammate.get('name'),\n      value: teamOrTeammate,\n      component: 'settings/teams/team-or-teammate-dropdown-item',\n      componentAttrs: teamOrTeammate,\n    };\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { alias, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport ReassignMessagesBaseController from 'embercom/controllers/apps/app/settings/modals/reassign-messages-base';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nexport default ReassignMessagesBaseController.extend(IntercomModal, {\n  notificationsService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  permissionsMutatorService: service(),\n\n  // consumed by ReassignMessagesMixin\n  adminToReassign: readOnly('model'),\n\n  teammateModal: alias('options.teammateModal'),\n  teammates: alias('options.teammates'),\n  isDeleting: readOnly('options.isDeleting'),\n  hadInboxAccess: readOnly('options.hadInboxAccess'),\n  permissionToEdit: alias('model.currentAppPermissions'),\n  isSecondaryModal: readOnly('options.isSecondaryModal'),\n\n  reassignments: { teams: {} },\n  canSave: readOnly('isValid'),\n  isValid: false,\n\n  perProductPricingDeleteConfirmationMessage: alias('options.removedSeatPriceInfo'),\n\n  restoreTeammateModal() {\n    let teammateModal = this.teammateModal;\n    if (teammateModal) {\n      teammateModal.set('canCloseModal', true);\n      teammateModal.set('isConfirming', false);\n    }\n  },\n\n  save: task(function*() {\n    try {\n      yield this.permissionsMutatorService.savePermission(\n        this.model,\n        this.permissionToEdit,\n        false,\n        this.perProductPricingDeleteConfirmationMessage,\n      );\n\n      this.restoreTeammateModal();\n      this.send('closeModal');\n      this.modalService.closeModal();\n    } catch (e) {\n      // noop\n    }\n  }).drop(),\n\n  actions: {\n    updateSelection(isValid) {\n      this.permissionToEdit.reassignments = this.reassignments;\n      this.set('isValid', isValid);\n    },\n    closeModal() {\n      if (this.permissionToEdit !== undefined && !this.permissionToEdit.isSaving) {\n        // Reset reassign properties if not saving\n        this.permissionToEdit.setProperties({\n          reassign_replies_admin_id: null,\n          reassign_auto_messages_admin_id: null,\n          reassign_replies_teams: [],\n          reassign_articles_author_id: null,\n        });\n      }\n      this.set('isValid', false);\n      this.set('canCloseModal', true);\n      this.isSecondaryModal\n        ? this.modalService.closeSecondaryModal()\n        : this.modalService.closeModal();\n      this.restoreTeammateModal();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { filterBy, gt } from '@ember/object/computed';\nimport { findBy } from '@intercom/embercom-core/lib/computed-properties';\nimport Controller from '@ember/controller';\nimport ajax from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\n\nexport default Controller.extend({\n  schedules: filterBy('model', 'isNew', false),\n  scheduleToUpdate: null,\n  showModal: false,\n  scheduleToDelete: null,\n  defaultSchedule: findBy('schedules', 'isDefault', true),\n  customSchedules: filterBy('schedules', 'isDefault', false),\n  hasCustomSchedules: gt('customSchedules.length', 0),\n\n  dependentObjectsForSchedule(scheduleToDelete) {\n    return ajax({\n      url: '/ember/office_hours_schedules/dependent_objects',\n      type: 'GET',\n      data: {\n        app_id: this.get('app.id'),\n        id: scheduleToDelete.id,\n      },\n    });\n  },\n\n  attemptDeleteSchedule: task(function*(scheduleData) {\n    let scheduleToDelete = this.model.findBy('name', scheduleData.name);\n    let objects = yield this.dependentObjectsForSchedule(scheduleToDelete);\n    this.set('scheduleToDelete', scheduleData);\n    this.set('dependentObjects', objects);\n    if (objects.length > 0) {\n      this.set('showConfirmScheduleDelete', true);\n    } else {\n      this.deleteSchedule.perform();\n    }\n  }),\n\n  deleteSchedule: task(function*() {\n    let scheduleToDelete = this.model.findBy('name', this.scheduleToDelete.name);\n    yield scheduleToDelete.destroyRecord();\n    this.set('scheduleToDelete', null);\n  }),\n\n  actions: {\n    createOfficeHours() {\n      this.set('scheduleToUpdate', this.store.createRecord('office-hours-schedule'));\n      this.set('showModal', true);\n    },\n    openSettingsModal(scheduleData) {\n      this.set('scheduleToUpdate', this.model.findBy('name', scheduleData.name));\n      this.set('showModal', true);\n    },\n    closeModal() {\n      this.set('showModal', false);\n      this.set('scheduleToDelete', null);\n      this.set('showConfirmScheduleDelete', null);\n      if (this.scheduleToUpdate) {\n        this.scheduleToUpdate.rollbackAttributes();\n        this.scheduleToUpdate.setIntervalGroups();\n        this.set('scheduleToUpdate', null);\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { filterBy } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport AttributeSettingsController from 'embercom/controllers/apps/app/settings/base/attribute-settings-controller';\n\nconst ATTRIBUTE_TYPES_TO_HIDE = ['role', 'anonymous'];\n\nexport default AttributeSettingsController.extend({\n  attributeService: service(),\n  attributes: computed('attributeService.allUserAttributes.[]', function() {\n    return this.get('attributeService.allUserAttributes').filter(\n      setting => !ATTRIBUTE_TYPES_TO_HIDE.includes(setting.get('attribute.type')),\n    );\n  }),\n  archivedAttributes: filterBy('archivedAttributesWithSettings', 'attribute.isUser'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { filterBy } from '@ember/object/computed';\nimport SegmentOrTagController from 'embercom/controllers/apps/app/settings/base/segment-tag-controller';\n\nexport default SegmentOrTagController.extend({\n  nonDeletedTagsOrSegments: filterBy('app.userSegments', 'isDeleted', false),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as controller } from '@ember/controller';\nimport AttributeSettingsController from 'embercom/controllers/apps/app/settings/base/attribute-settings-controller';\n\nexport default AttributeSettingsController.extend({\n  isSaving: false,\n  appController: controller('apps/app'),\n  app: readOnly('appController.model'),\n  qualificationAttributes: readOnly('model'),\n  actions: {\n    setIsSaving(isSaving) {\n      this.set('isSaving', isSaving);\n    },\n  },\n});\n","import Controller from '@ember/controller';\nimport ENV from 'embercom/config/environment';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\nimport { timeout } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\n\nconst CONFIRMATION_MODAL_CONTENT = {\n  title: 'You have unsaved changes',\n  body: 'You have edited this saved reply. Do you want to discard these changes?',\n  confirmButtonText: 'Continue editing',\n  cancelButtonText: 'Discard',\n};\n\nexport default class SavedRepliesController extends Controller {\n  @service appService;\n  @service store;\n  @service confirmService;\n  @service notificationsService;\n  @service savedReplySearchService;\n\n  @tracked selectedReply;\n  @tracked editingReply = false;\n  @tracked editorDirty = false;\n  @tracked replies = this.model.savedReplies;\n  @tracked sortedReplies = [];\n  @tracked mode = null;\n\n  query = '';\n  queryParams = ['mode'];\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get initiallySelectedReply() {\n    if (this.appService.app.canUseSavedRepliesFuzzySearch) {\n      return this.sortedReplies[0];\n    } else {\n      return this.sortedReplies.filter(reply => {\n        return !(reply.isNew || reply.isDeleted);\n      }).firstObject;\n    }\n  }\n\n  get savedRepliesPresent() {\n    return this.replies.length;\n  }\n\n  get searchResultsPresent() {\n    return this.sortedReplies.length;\n  }\n\n  get hasUnsavedChanges() {\n    return this.editingReply;\n  }\n\n  get readOnly() {\n    return false;\n  }\n\n  @task({ drop: true })\n  *updateSelectedReply(savedReply) {\n    if (!(yield this.abortEditing.perform())) {\n      return;\n    }\n    this.selectedReply = savedReply;\n  }\n\n  @action\n  updateEditState(newState) {\n    this.editingReply = newState;\n  }\n\n  @action\n  updateDirtyState(newState) {\n    this.editorDirty = newState;\n  }\n\n  @action\n  cancelEditingReply() {\n    if (this.selectedReply?.isNew) {\n      this.selectedReply.deleteRecord();\n      this.selectedReply = this.initiallySelectedReply;\n    } else {\n      this.selectedReply.rollbackAttributes();\n    }\n\n    this.editingReply = false;\n    this.editorDirty = false;\n  }\n\n  @action\n  saveSelectedReply(selectedReply, newName, composer) {\n    let blocks = composer.getBlocks();\n    selectedReply.blocks = blocks;\n    selectedReply.name = newName;\n    return this.saveReply.perform(selectedReply);\n  }\n\n  @action\n  deleteSelectedReply(selectedReply) {\n    return this.deleteReply.perform(selectedReply);\n  }\n\n  @task({ drop: true })\n  *createSavedReply() {\n    if (!(yield this.abortEditing.perform())) {\n      return;\n    }\n\n    let appId = this.model.app.id;\n\n    let newReply = this.store.createRecord('saved-reply', {\n      app_id: appId,\n    });\n\n    this.selectedReply = newReply;\n    this.updateEditState(true);\n  }\n\n  @task({ drop: true })\n  *saveReply(reply) {\n    if (!reply.isValid) {\n      this.notificationsService.notifyError('Saved reply name and body are required');\n      return;\n    }\n\n    if (!reply.isNameLengthValid) {\n      this.notificationsService.notifyError(\n        'Saved reply name exceeds maximum length of 140 characters',\n      );\n      return;\n    }\n\n    try {\n      yield reply.save();\n    } catch (error) {\n      console.error(error);\n\n      if (error.jqXHR && error.jqXHR.status === 422) {\n        if (error.jqXHR.responseJSON.errors.name[0] === 'has already been taken') {\n          this.notificationsService.notifyError('Name has already been taken');\n          return;\n        }\n      }\n\n      let operationType = reply.isNew ? 'create' : 'update';\n      this.notificationsService.notifyError(\n        `Failed to ${operationType} saved reply, please try again.`,\n      );\n      return;\n    }\n\n    yield this.refreshSavedRepliesList.perform();\n\n    this.notificationsService.notifyConfirmation('Reply saved');\n    this.editingReply = false;\n  }\n\n  @task({ drop: true })\n  *deleteReply(reply, composer) {\n    try {\n      yield reply.destroyRecord();\n    } catch (error) {\n      console.error(error);\n      this.notificationsService.notifyError('Failed to delete saved reply, please try again.');\n      reply.rollbackAttributes();\n      return;\n    }\n\n    yield this.refreshSavedRepliesList.perform();\n\n    this.notificationsService.notifyConfirmation('Reply deleted');\n    this.selectedReply = this.initiallySelectedReply;\n\n    if (composer) {\n      composer.send('load', this.selectedReply?.blocks);\n    }\n\n    this.editingReply = false;\n  }\n\n  @task({ drop: true })\n  *initSavedReplySearch() {\n    if (this.app.canUseSavedRepliesFuzzySearch) {\n      let results = yield this.savedReplySearchService.search.perform();\n      this.sortedReplies = results;\n    } else {\n      this.sortedReplies = this.replies.sortBy('name');\n    }\n\n    if (this.mode === 'create') {\n      yield this.createSavedReply.perform();\n    } else {\n      this.selectedReply = this.initiallySelectedReply;\n    }\n  }\n\n  @task({ restartable: true })\n  *debouncedSearch(query = '') {\n    yield timeout(ENV.APP._200MS);\n    this.query = query;\n\n    if (this.app.canUseSavedRepliesFuzzySearch) {\n      this.sortedReplies = yield this.savedReplySearchService.search.perform(query);\n    } else {\n      this.sortedReplies = this.savedReplySearchService\n        .searchUsingRegex(this.replies, query)\n        .sortBy('name');\n    }\n  }\n\n  @task({ restartable: true })\n  *refreshSavedRepliesList() {\n    if (this.app.canUseSavedRepliesFuzzySearch) {\n      yield this.savedReplySearchService.rebuild();\n    }\n    yield this.debouncedSearch.perform(this.query);\n  }\n\n  @task({ drop: true })\n  *abortEditing() {\n    if (!this.editingReply) {\n      return true;\n    }\n\n    let canAbandonWithoutChecking = !this.editorDirty;\n    let userWantsToContinue;\n\n    if (!canAbandonWithoutChecking) {\n      userWantsToContinue = yield this.confirmService.show(this, CONFIRMATION_MODAL_CONTENT);\n    }\n    let shouldAbandonChanges = canAbandonWithoutChecking || !userWantsToContinue;\n\n    if (shouldAbandonChanges) {\n      this.cancelEditingReply();\n      return true;\n    } else {\n      return false;\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\nimport IntegrateBaseController from 'embercom/controllers/apps/app/integrations-hub/integrate-base-controller';\nimport { readOnly } from '@ember/object/computed';\nimport { INSTALLATION_DOCS_URL } from 'embercom/lib/installation-docs-url';\n\nexport default IntegrateBaseController.extend({\n  admin: readOnly('appController.admin'),\n  sdkApp: readOnly('model'),\n  isSdkAppIdentityVerified: readOnly('sdkApp.identityVerified'),\n  docsUrl: INSTALLATION_DOCS_URL,\n\n  deleteSdkApp(sdkApp) {\n    let confirmationMessage =\n      'Are you sure? Deleting the App API key will stop any active installations of the Intercom SDK from working in your apps.';\n    if (!confirm(confirmationMessage)) {\n      return;\n    }\n\n    sdkApp.destroyRecord().then(\n      function() {\n        this.set('model', null);\n      }.bind(this),\n    );\n  },\n\n  actions: {\n    deleteSdkApp() {\n      this.deleteSdkApp(this.sdkApp);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-assignment-of-untracked-properties-used-in-tracking-contexts */\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { alias, and, or, not, readOnly } from '@ember/object/computed';\nimport Controller from '@ember/controller';\nimport { includes } from '@intercom/embercom-core/lib/computed-properties';\nimport safeWindowOpen from 'embercom/lib/safe-window-open';\nimport ENV from 'embercom/config/environment';\nimport { task } from 'ember-concurrency';\nimport { isValidEmail } from 'embercom/lib/email';\nimport { getSamlVerificationErrorMessage, shouldShowLinkToSamlArticle } from 'embercom/lib/saml';\n\nconst AUTH_METHODS = {\n  emailPassword: 'email_password',\n  twoFa: 'email_password_otp',\n  google: 'google_oauth2',\n  saml: 'saml',\n};\n\nexport const AUTH_OPTIONS = {\n  all: 'all_auth',\n  google: 'google_auth',\n  saml: 'saml_auth',\n};\n\nexport const SAML_AUTH_SUB_OPTIONS = {\n  none: 'none',\n  all: 'all_auth',\n  googleAnd2fa: 'google_and_2fa',\n  google: 'google_auth',\n};\n\nexport default Controller.extend({\n  init() {\n    window.addEventListener('message', this._samlVerificationCompleted.bind(this));\n    this._super(...arguments);\n  },\n\n  willDestroy() {\n    window.removeEventListener('message', this._samlVerificationCompleted.bind(this));\n    this._super(...arguments);\n  },\n\n  notificationsService: service(),\n  appService: service(),\n  securityAppSettingsService: service(),\n  app: alias('appService.app'),\n\n  iosSdkApp: readOnly('app.iosSdkApps.firstObject'),\n  androidSdkApp: readOnly('app.androidSdkApps.firstObject'),\n  pingDomains: alias('model.pingDomains'),\n\n  noDomainsHaveErrors: computed('pingDomains.@each.errorCode', function() {\n    return this.pingDomains.isEvery('errorCode', null);\n  }),\n\n  webIdentityVerified: readOnly('app.identityVerified'),\n  iosIdentityVerified: readOnly('iosSdkApp.identityVerified'),\n  androidIdentityVerified: readOnly('androidSdkApp.identityVerified'),\n\n  hasAppPermissions: computed('app.features.[]', function() {\n    return this.app.canUseFeature('app_permissions');\n  }),\n  isDirty: or('model.settings.hasDirtyAttributes', 'samlAccount.hasDirtyAttributes'),\n  isNotDirty: not('isDirty'),\n  isSaveDisabled: or('isInvalidSecurityEmail', 'model.settings.isSaving', 'isNotDirty'),\n  isInvalidSecurityEmail: computed(\n    'app.canUseWorkspaceSecurityContact',\n    'model.settings.securityContactEmail',\n    function() {\n      if (!this.app.canUseWorkspaceSecurityContact) {\n        return false;\n      }\n      if (\n        this.model.settings.securityContactEmail === '' ||\n        this.model.settings.securityContactEmail === null\n      ) {\n        return false;\n      }\n      let result = !isValidEmail(this.model.settings.securityContactEmail);\n      return result;\n    },\n  ),\n  shouldShowSecurityContactWarningIcon: computed('model.settings', function() {\n    if (this.model.settings.hasDirtyAttributes) {\n      return this.model.settings.changedAttributes().securityContactEmail[0] === '';\n    }\n    return this.model.settings.securityContactEmail === '';\n  }),\n\n  twoFAAuth: [AUTH_METHODS.twoFa, AUTH_METHODS.google],\n  googleAuth: [AUTH_METHODS.google],\n  allAuth: [AUTH_METHODS.emailPassword, AUTH_METHODS.twoFa, AUTH_METHODS.google],\n  samlAuth: [AUTH_METHODS.saml],\n\n  twoFAAllowed: includes('auths', AUTH_METHODS.twoFa),\n  googleSsoAllowed: includes('auths', AUTH_METHODS.google),\n  emailPassAllowed: includes('auths', AUTH_METHODS.emailPassword),\n  samlAllowed: includes('auths', AUTH_METHODS.saml),\n\n  twoFANotAllowed: not('twoFAAllowed'),\n  emailPassNotAllowed: not('emailPassAllowed'),\n  samlNotAllowed: not('samlAllowed'),\n\n  twoFASelected: and('twoFAAllowed', 'emailPassNotAllowed', 'samlNotAllowed'),\n  googleAuthSelected: and(\n    'twoFANotAllowed',\n    'emailPassNotAllowed',\n    'googleSsoAllowed',\n    'samlNotAllowed',\n  ),\n  allAuthSelected: and('twoFAAllowed', 'emailPassAllowed', 'samlNotAllowed', 'googleSsoAllowed'),\n  samlSelected: readOnly('samlAllowed'),\n\n  nonSamlMethodAllowed: or('twoFAAllowed', 'googleSsoAllowed', 'emailPassAllowed'),\n  samlAndSuboptionSelected: and('nonSamlMethodAllowed', 'samlAllowed'),\n  showSamlVerificationModal: false,\n  showEnforceSamlModal: false,\n  showAllErrors: false,\n\n  auths: alias('model.settings.authorizedSignInMethods'),\n  ssoDomainWhitelist: alias('model.settings.ssoDomainWhitelist'),\n  samlAccount: alias('model.settings.samlAccount'),\n\n  canEnforceSSO: alias('model.settings.canEnableEnforceSso'),\n  canEnforceSaml: alias('model.settings.canEnforceSaml'),\n\n  canChangeAuthenticationMethods: alias('appService.app.canUseAppPermissions'),\n  canEnableSaml: alias('appService.app.canUseSamlSso'),\n\n  authOptions: AUTH_OPTIONS,\n\n  authMethodSelected: computed('googleAuthSelected', 'samlSelected', function() {\n    if (this.googleAuthSelected) {\n      return AUTH_OPTIONS.google;\n    } else if (this.samlSelected) {\n      return AUTH_OPTIONS.saml;\n    }\n    return AUTH_OPTIONS.all;\n  }),\n\n  _getSamlSubMethod(auths) {\n    if (auths.includes(AUTH_METHODS.emailPassword)) {\n      return SAML_AUTH_SUB_OPTIONS.all;\n    } else if (auths.includes(AUTH_METHODS.twoFa)) {\n      return SAML_AUTH_SUB_OPTIONS.googleAnd2fa;\n    } else if (auths.includes(AUTH_METHODS.google)) {\n      return SAML_AUTH_SUB_OPTIONS.google;\n    }\n    return SAML_AUTH_SUB_OPTIONS.none;\n  },\n\n  samlSubMethodSelected: computed('auths', function() {\n    return this._getSamlSubMethod(this.auths);\n  }),\n\n  hasChangedSamlSettings: computed(\n    'model.settings',\n    'samlSelected',\n    'samlAccount.hasDirtyAttributes',\n    function() {\n      let authChanged = 'authorizedSignInMethods' in this.model.settings.changedAttributes();\n      return this.samlSelected && (authChanged || this.samlAccount.hasDirtyAttributes);\n    },\n  ),\n\n  updateAuthorizedSignInMethods(authorizedMethods, samlSubMethod) {\n    if (authorizedMethods === this.samlAuth) {\n      switch (samlSubMethod) {\n        case SAML_AUTH_SUB_OPTIONS.all:\n          authorizedMethods = authorizedMethods.concat(this.allAuth);\n          break;\n        case SAML_AUTH_SUB_OPTIONS.googleAnd2fa:\n          authorizedMethods = authorizedMethods.concat(this.twoFAAuth);\n          break;\n        case SAML_AUTH_SUB_OPTIONS.google:\n          authorizedMethods = authorizedMethods.concat(this.googleAuth);\n      }\n    }\n\n    this.auths = authorizedMethods;\n  },\n\n  _startSamlVerification: task(function*() {\n    this.notificationsService.clear();\n    try {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'verify_saml',\n        jit_enabled: this.samlAccount.jitEnabled,\n      });\n      yield this.samlAccount.save();\n      safeWindowOpen(`${ENV.teammateAppUrl}/saml/${this.samlAccount.name}/verify`);\n    } catch (error) {\n      this.notificationsService.notifyError('There was an error starting the verification process');\n    }\n  }).drop(),\n\n  _samlVerificationCompleted(event) {\n    let expectedEventType = 'saml-verification-completed';\n    let expectedOrigin = window.location.origin;\n    let eventData;\n    try {\n      eventData = JSON.parse(event.data);\n    } catch {\n      eventData = null;\n    }\n\n    if (!eventData || eventData.type !== expectedEventType || event.origin !== expectedOrigin) {\n      return;\n    }\n\n    if (eventData.success === true) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'verified',\n        object: 'verify_saml',\n      });\n      this._save.perform();\n    } else {\n      this._notifySamlTestError(eventData);\n    }\n  },\n\n  _notifySamlTestError(eventData) {\n    let { error_code: errorCode, message } = eventData;\n    let errorMessage = getSamlVerificationErrorMessage(errorCode, message);\n    let showLearnMoreButton = shouldShowLinkToSamlArticle(errorCode);\n\n    if (showLearnMoreButton) {\n      this.notificationsService.notifyErrorWithButton(\n        errorMessage,\n        { label: 'Learn more', action: this._openSamlHelpArticle.bind(this) },\n        0,\n      );\n    } else {\n      this.notificationsService.notifyError(errorMessage, 0);\n    }\n  },\n\n  _openSamlHelpArticle() {\n    safeWindowOpen(\n      'https://www.intercom.com/help/en/articles/3974587-Integrate-with-an-identity-provider-and-log-in-with-SAML-SSO',\n    );\n  },\n\n  _save: task(function*() {\n    try {\n      yield this.model.settings.save();\n      this.securityAppSettingsService.set(\n        'settings.notificationEmailsWithContentEnabled',\n        this.model.settings.notificationEmailsWithContentEnabled,\n      );\n      this.set('showSamlVerificationModal', false);\n      this.notificationsService.notifyConfirmation('Your security settings have been updated');\n    } catch (err) {\n      let notificationText;\n      if (err.jqXHR?.responseJSON?.errors[0]) {\n        notificationText = err.jqXHR.responseJSON.errors[0];\n      } else {\n        notificationText = 'Your security settings have not been updated, please try later';\n      }\n      this.notificationsService.notifyError(notificationText);\n    }\n  }).drop(),\n\n  _paywallCheckOrUpdateAuthWith(methods) {\n    if (this.allAuth !== methods && !this.hasAppPermissions) {\n      return;\n    }\n\n    let samlSubMethod = SAML_AUTH_SUB_OPTIONS.none;\n    if (methods === this.samlAuth) {\n      samlSubMethod = this._getSamlSubMethod(this.app.authorized_sign_in_methods);\n\n      if (!this.samlAccount) {\n        let { id } = this.app;\n        this.set(\n          'model.settings.samlAccount',\n          this.store.createRecord('saml-account', { id, name: id }),\n        );\n      }\n    }\n\n    this.updateAuthorizedSignInMethods(methods, samlSubMethod);\n  },\n\n  actions: {\n    setAuths(auth) {\n      this.updateAuthorizedSignInMethods(this.get(auth), this.samlSubMethodSelected);\n    },\n    save() {\n      if (this.hasChangedSamlSettings) {\n        this.set('model.settings.samlAccount', this.samlAccount);\n\n        if (this.auths === this.samlAuth && !this.canEnforceSaml) {\n          this.set('showEnforceSamlModal', true);\n        } else if (this.samlAccount.isValid) {\n          this.set('showSamlVerificationModal', true);\n        } else {\n          this.set('showAllErrors', true);\n          this.notificationsService.notifyError(\n            'We couldn’t save your security settings. Check if your SAML settings are valid and try again.',\n          );\n        }\n      } else {\n        this.set('model.settings.samlAccount', null);\n        this._save.perform();\n      }\n    },\n    updateSamlSubMethod(method) {\n      this.updateAuthorizedSignInMethods(this.samlAuth, method);\n    },\n    startSamlVerification() {\n      this._startSamlVerification.perform();\n    },\n    twoFaChanged(event) {\n      if (event.target.checked) {\n        this._paywallCheckOrUpdateAuthWith(this.twoFAAuth);\n      } else {\n        this._paywallCheckOrUpdateAuthWith(this.allAuth);\n      }\n    },\n    paywallCheckOrUpdateAuthWith(methods) {\n      this._paywallCheckOrUpdateAuthWith(methods);\n    },\n    paywallCheckOrOpenGoogleSsoWarningModal() {\n      if (!this.hasAppPermissions) {\n        return;\n      }\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', 'apps/app/modals/enforce-sso-warning');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport { reads, not, and, or, filterBy, empty } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { notEqualToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport ENV from 'embercom/config/environment';\nimport { isValidEmail } from 'embercom/lib/email';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  appController: controller('apps/app'),\n  app: reads('appController.model'),\n  store: service(),\n\n  notificationsService: service('notificationsService'),\n\n  showAddCustomSenderModal: false,\n\n  isVerifying: false,\n  isSavingDefaultSender: false,\n  helpCentreUrl:\n    'https://www.intercom.com/help/en/articles/182-a-guide-to-sending-email-from-your-own-address',\n\n  expandedAdminEmailIndex: null,\n  expandedCustomSenderIndex: null,\n\n  useAdminAppEmail: and('app.use_admin_app_email', 'app.hasDefaultSenderAddress'),\n  useIntercomAppEmail: not('useAdminAppEmail'),\n\n  hasChangedAppEmailSetting: notEqualToProperty('app.use_admin_app_email', 'useAdminAppEmail'),\n  hasNotChangedAppEmailSetting: not('hasChangedAppEmailSetting'),\n\n  senderAddressIsInvalid: computed('newSenderAddress', function() {\n    return !isValidEmail(this.newSenderAddress);\n  }),\n\n  isEnablingDefaultSenderWithoutDKIM: and('hasNoVerifiedAdminEmailDomains', 'useAdminAppEmail'),\n  appEmailSaveButtonDisabled: or(\n    'hasNotChangedAppEmailSetting',\n    'isEnablingDefaultSenderWithoutDKIM',\n  ),\n\n  verifiedAdminEmailDomains: filterBy('app.adminEmailDKIMSettings', 'validRecordExists', true),\n  hasNoVerifiedAdminEmailDomains: empty('verifiedAdminEmailDomains'),\n  hydratedDomains: computed('app.{customEmailAddresses,dkim_settings}.[]', function() {\n    let email_address_hash = {};\n    let domains = [];\n    this.app.customEmailAddresses.forEach(address => {\n      let domain = address.email.substring(address.email.lastIndexOf('@') + 1).toLowerCase();\n      if (!email_address_hash[domain]) {\n        email_address_hash[domain] = [];\n      }\n      email_address_hash[domain].push({\n        name: address.name,\n        email: address.email,\n        status: address.status,\n        model: address,\n      });\n    });\n    this.app.dkim_settings.forEach(record => {\n      domains.push({\n        dkim_record: record,\n        custom_addresses: email_address_hash[record.domain.toLowerCase()],\n      });\n    });\n    return domains;\n  }),\n\n  actions: {\n    updateUseAdminAppEmail(shouldUseAppEmail) {\n      if (!this.app.hasDefaultSenderAddress) {\n        return;\n      }\n\n      this.set('useAdminAppEmail', shouldUseAppEmail);\n    },\n\n    toggleExpandAdminEmailIndex(index) {\n      if (this.expandedAdminEmailIndex === index) {\n        this.set('expandedAdminEmailIndex', null);\n      } else {\n        this.set('expandedAdminEmailIndex', index);\n      }\n    },\n    toggleExpandCustomSenderIndex(index) {\n      if (this.expandedCustomSenderIndex === index) {\n        this.set('expandedCustomSenderIndex', null);\n      } else {\n        this.set('expandedCustomSenderIndex', index);\n      }\n    },\n    verifyDomain(dkimSettings) {\n      this.set('isVerifying', true);\n      dkimSettings.verify().then(\n        () => {\n          this.notificationsService.notifyConfirmation('Your domain was successfully verified.');\n          this.set('isVerifying', false);\n        },\n        () => {\n          this.notificationsService.notifyError(\n            `Unable to verify DKIM DNS record for ${dkimSettings.get(\n              'domain',\n            )}. If this domain is for a custom sender address, please ensure that email address has been verified. Otherwise, if you have created the record, it may still be propagating. Please try again later.`,\n            ENV.APP._10000MS,\n          );\n          this.set('isVerifying', false);\n        },\n      );\n    },\n    saveUseAdminAppEmail() {\n      this.set('isSavingDefaultSender', true);\n      this.app.updateDefaultEmailSenderSetting(this.useAdminAppEmail).then(\n        () => {\n          this.set('isSavingDefaultSender', false);\n          this.notificationsService.notifyConfirmation('Your changes have been saved');\n          if (this.useAdminAppEmail) {\n            this.intercomEventService.trackEvent('enabled-default-sender-address');\n          }\n        },\n        () => {\n          this.set('isSavingDefaultSender', false);\n          this.notificationsService.notifyError(\n            'We were unable to save your changes, please try again.',\n          );\n        },\n      );\n    },\n    toggleDisplayCustomSenderModal() {\n      this.toggleProperty('showAddCustomSenderModal');\n      if (this.showAddCustomSenderModal) {\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'clicked',\n          object: 'create_custom_sender_address',\n          context: 'from_settings_page',\n        });\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\nexport default Controller.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\n\nexport default class SlaController extends Controller {\n  @service appService;\n\n  get app() {\n    return this.appService.app;\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { reads } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport NumberPagination from 'embercom/controllers/mixins/number-pagination';\nimport PageLoader from 'embercom/controllers/mixins/users-and-companies/page-loader';\n\nexport default Controller.extend(NumberPagination, PageLoader, {\n  appController: controller('apps/app'),\n  app: reads('appController.model'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { filterBy } from '@ember/object/computed';\nimport SegmentOrTagController from 'embercom/controllers/apps/app/settings/base/segment-tag-controller';\n\nexport default SegmentOrTagController.extend({\n  nonDeletedTagsOrSegments: filterBy('model', 'isDeleted', false),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { filterBy } from '@ember/object/computed';\nimport SegmentOrTagController from 'embercom/controllers/apps/app/settings/base/segment-tag-controller';\n\nexport default SegmentOrTagController.extend({\n  nonDeletedTagsOrSegments: filterBy('app.tags', 'isDeleted', false),\n  toggleSort() {\n    this.toggleSortOrder('name');\n    window.dispatchEvent(new Event('resize'));\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport Controller, { inject as controller } from '@ember/controller';\nimport { alias, equal, filterBy, reads, sort } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport { task } from 'ember-concurrency';\nimport { getSeatInfo } from 'embercom/lib/admins/seat-info';\n\nexport default Controller.extend({\n  queryParams: ['role'],\n  role: null,\n\n  appController: controller('apps/app'),\n  appsController: controller('apps'),\n  me: alias('appsController.model'),\n  app: reads('appController.model'),\n  store: service(),\n  invitedAdmins: null,\n  selectedTeamStatus: 'editing',\n  isSaving: false,\n  isEditing: equal('selectedTeamStatus', 'editing'),\n\n  inviteeEmail: '',\n  inviteLinks: null,\n  activeInvitedAdmins: filterBy('invitedAdmins', 'active', true),\n  activeInviteLinks: filterBy('inviteLinks', 'active', true),\n\n  teamMembersSortKeys: ['name'],\n  sortedTeammates: sort('app.humanAdmins', 'teamMembersSortKeys'),\n\n  sendFailString: 'There was a problem sending the invite, please contact customer support.',\n  sendDenialString: `We've prevented your app from sending email, including invites, as your app failed our app review process.\n    Please contact customer support for more information or visit https://www.intercom.com/help/pricing-privacy-and-terms/intercoms-app-review-process`,\n\n  teamSorting: ['membershipSortKey', 'name'],\n  showBulkInviteModal: false,\n\n  createAdminInvite() {\n    let defaultValueForSettingsAndBillingPermissions = !this.app.canUseAppPermissions;\n    return this.store.createRecord('invited-admin', {\n      app_id: this.get('app.id'),\n      can_access_settings_and_billing: defaultValueForSettingsAndBillingPermissions,\n      can_export_data: true,\n      can_send_messages: true,\n      can_redact_conversation_parts: true,\n      can_reassign_conversations: true,\n      can_access_billing_settings: defaultValueForSettingsAndBillingPermissions,\n      can_access_product_settings: defaultValueForSettingsAndBillingPermissions,\n      can_access_workspace_settings: defaultValueForSettingsAndBillingPermissions,\n      can_create_and_edit_bots: true,\n    });\n  },\n\n  async _refreshAdminInvites() {\n    let invitedAdmins = await this.store.findAll('invited-admin', { reload: true });\n    this.set('invitedAdmins', invitedAdmins);\n  },\n\n  loadSeatInfo: task(function*() {\n    let seatInfo = yield getSeatInfo(1);\n    this.set('seatInfo', seatInfo);\n  }),\n\n  actions: {\n    updatePaywalls() {\n      if (this.app.canSeeCostChangeCard) {\n        this.loadSeatInfo.perform();\n      }\n    },\n    resetLinks() {\n      this.store.query('invite', { type: 'guide_task' }).then(invites => {\n        this.set('inviteLinks', invites);\n      });\n    },\n    reloadPermissions() {\n      return this.app.fetchAndUpdateAllAdminPermissions();\n    },\n    showConfirmationBox() {\n      return intercomConfirm(this, this.confirmOptions);\n    },\n    onInviteSentOrSaved() {\n      this._refreshAdminInvites();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { reads, sort, filterBy, notEmpty, empty, and, readOnly } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { AVAILABLE_EMOJI } from 'embercom/lib/available-emoji';\nimport shuffle from '@intercom/embercom-core/lib/shuffle';\n\nexport default Controller.extend({\n  store: service(),\n  appController: controller('apps/app'),\n  app: reads('appController.model'),\n  teams: readOnly('app.assignableTeams'),\n\n  sortKey: ['isAppTeam:desc', 'name:asc'],\n  sortedTeams: sort('teams', 'sortKey'),\n\n  isBeingEdited: filterBy('sortedTeams', 'isNew', true),\n  isNotAddingATeam: empty('isBeingEdited'),\n\n  dirtyTeams: filterBy('sortedTeams', 'hasDirtyAttributes', true),\n  areTeamsDirty: notEmpty('dirtyTeams'),\n\n  dirtyTeamSettings: filterBy('model.teamSettings', 'hasDirtyAttributes', true),\n  areTeamSettingsDirty: notEmpty('dirtyTeamSettings'),\n\n  noTeamCreated: empty('app.teamsWithoutAppTeam'),\n  showEmptyState: and('noTeamCreated', 'isNotAddingATeam'),\n\n  _randomEmoji() {\n    return shuffle(AVAILABLE_EMOJI)[0];\n  },\n\n  _buildTeam() {\n    if (this.isNotAddingATeam) {\n      this.sortedTeams.pushObject(\n        this.store.createRecord('team', {\n          name: '',\n          is_team: true,\n          member_ids: [],\n          avatar_emoji: this._randomEmoji(),\n          active: true,\n        }),\n      );\n    }\n  },\n  hasUnsavedChanges() {\n    return this.areTeamsDirty || this.areTeamSettingsDirty;\n  },\n  actions: {\n    revertNewSelectedTeam(team) {\n      this.sortedTeams.popObject(team);\n    },\n    deleteSelectedTeam(model) {\n      this.send('openSecondaryModal', 'apps/app/modals/team-delete-modal', model, {\n        app: this.app,\n        target: this,\n      });\n    },\n    buildTeam() {\n      this._buildTeam();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\n\nexport default Controller.extend({\n  notificationsService: service(),\n\n  clickTrackingDomainOptOuts: alias('model'),\n\n  expandDomainEditor: false,\n  newDomain: '',\n\n  reset() {\n    this.setProperties({\n      expandDomainEditor: false,\n      newDomain: '',\n    });\n  },\n\n  createClickTrackingDomainOptOut: task(function*(domain) {\n    let clickTrackingDomainOptOut = this.store.createRecord('click-tracking-domain-opt-out', {\n      domain,\n    });\n    try {\n      yield clickTrackingDomainOptOut.save();\n      this.reset();\n      this.notificationsService.notifyConfirmation(`${domain} added`);\n    } catch (error) {\n      this.store.unloadRecord(clickTrackingDomainOptOut);\n      this.notificationsService.notifyResponseError(\n        error,\n        { default: 'Could not add the domain' },\n        { responseProvidedErrors: [403, 409, 422] },\n      );\n    }\n  }),\n\n  actions: {\n    toggleDomainEditor(open) {\n      if (open) {\n        this.set('expandDomainEditor', true);\n      } else {\n        this.reset();\n      }\n    },\n    async deleteClickTrackingDomainOptOut(clickTrackingDomainOptOut) {\n      await clickTrackingDomainOptOut.destroyRecord();\n      this.notificationsService.notifyConfirmation(`${clickTrackingDomainOptOut.domain} deleted`);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { isEmpty } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport { readOnly, equal, not, alias, mapBy } from '@ember/object/computed';\nimport { inject as controller } from '@ember/controller';\nimport IntegrateBaseController from 'embercom/controllers/apps/app/integrations-hub/integrate-base-controller';\nimport ajax from 'embercom/lib/ajax';\nimport intersection from 'embercom/lib/intersection';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { INSTALLATION_DOCS_URL } from 'embercom/lib/installation-docs-url';\nimport {\n  INSTALL_TYPE,\n  AUDIENCE,\n  LOGGED_IN_CODE_DROPDOWN_ITEMS,\n  LOGGED_OUT_CODE_DROPDOWN_ITEMS,\n  THIRD_PARTY_DROPDOWN_ITEMS,\n} from 'embercom/lib/messenger/installation-constants';\n\nexport default IntegrateBaseController.extend({\n  notificationsService: service(),\n  appController: controller('apps/app'),\n  app: readOnly('appController.model'),\n\n  exampleType: 'users',\n\n  exampleTypeIsUsers: equal('exampleType', 'users'),\n\n  installationIsAnonymous: not('exampleTypeIsUsers'),\n\n  userSources: alias('model.userSources'),\n\n  userSourceNames: mapBy('userSources', 'name'),\n  webUserSourceNames: ['web', 'javascript', 'wordpress', 'rails', 'single_page'],\n\n  selectedLoggedInInstallMethod: null,\n  selectedLoggedOutInstallMethod: null,\n\n  LOGGED_OUT_AUDIENCE: AUDIENCE.LOGGED_OUT,\n  LOGGED_IN_AUDIENCE: AUDIENCE.LOGGED_IN,\n  INSTALL_TYPE_CODE: INSTALL_TYPE.CODE,\n\n  baseAnalyticsMetadata: {\n    place: 'settings_installation',\n  },\n\n  loggedOutDropdownItems: computed('selectedLoggedOutInstallMethod', function() {\n    if (this.selectedLoggedOutInstallMethod === INSTALL_TYPE.THIRD_PARTY) {\n      return THIRD_PARTY_DROPDOWN_ITEMS;\n    }\n\n    return LOGGED_OUT_CODE_DROPDOWN_ITEMS;\n  }),\n\n  loggedInDropdownItems: computed('selectedLoggedInInstallMethod', function() {\n    if (this.selectedLoggedInInstallMethod === INSTALL_TYPE.THIRD_PARTY) {\n      return THIRD_PARTY_DROPDOWN_ITEMS;\n    }\n\n    return LOGGED_IN_CODE_DROPDOWN_ITEMS;\n  }),\n\n  userSourcePresent: computed('userSourceNames', 'webUserSourceNames', function() {\n    let matchingUserSources = intersection(this.userSourceNames, this.webUserSourceNames);\n    return !isEmpty(matchingUserSources);\n  }),\n\n  sdkApp: readOnly('app.sdkApps.firstObject'),\n  enforcesEncryptedMode: readOnly('sdkApp.enforcesEncryptedMode'),\n  docsUrl: INSTALLATION_DOCS_URL,\n\n  toggleEncrypted: task(function*() {\n    try {\n      yield ajax({\n        url: `/ember/apps/${this.get('app.id')}/update_enforce_encrypted_mode`,\n        type: 'POST',\n        data: JSON.stringify({\n          enforces_encrypted_mode: !this.get('sdkApp.enforcesEncryptedMode'),\n        }),\n      });\n      this.toggleProperty('sdkApp.enforcesEncryptedMode');\n      if (this.get('sdkApp.enforcesEncryptedMode')) {\n        this.notificationsService.notifyConfirmation('Encrypted Mode has been enforced.');\n      } else {\n        this.notificationsService.notifyWarning('Encrypted Mode enforcement has been disabled.');\n      }\n    } catch (e) {\n      this.notificationsService.notifyError(\n        'There was a problem updating your Encrypted Mode setting.',\n      );\n    }\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { task } from 'ember-concurrency';\nimport { alias, notEmpty } from '@ember/object/computed';\nimport { intercomPromiseConfirm } from 'embercom/lib/intercom-confirm';\nimport { inject as service } from '@ember/service';\n\nexport default Controller.extend({\n  notificationsService: service(),\n  webhooks: alias('model.webhooks'),\n  hasWebhooks: notEmpty('webhooks'),\n\n  deleteWebhook: task(function*(webhook) {\n    let options = {\n      title: 'Are you sure you want to delete?',\n      body: \"This is permanent. You won't be able to get your webhook back.\",\n      confirmButtonText: 'Delete webhook',\n      primaryButtonType: 'primary-destructive',\n    };\n\n    if (yield intercomPromiseConfirm(this, options)) {\n      try {\n        yield webhook.destroyRecord();\n        this.notificationsService.notifyConfirmation('The webhook was deleted');\n      } catch (e) {\n        this.notificationsService.notifyError('The webhook could not be deleted');\n      }\n    }\n  }).drop(),\n\n  sendPing: task(function*(webhook) {\n    try {\n      yield webhook.ping();\n      this.notificationsService.notifyConfirmation('Ping sent');\n    } catch (e) {\n      this.notificationsService.notifyError('Ping unsuccessful');\n    }\n  }).drop(),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { computed } from '@ember/object';\nimport { alias, oneWay, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { plansFromSolution, EARLY_STAGE_SOLUTION_IDS, PLAN_DATA } from 'embercom/lib/billing';\nimport { hideIntercomWidgetWhenLoaded } from 'embercom/lib/intercom-widget-helper';\n\nexport default Controller.extend({\n  queryParams: {\n    addOn: 'add_on',\n    addOnPlanIds: 'add_on_plan_ids',\n    gclid: 'gclid',\n    solutionId: 'solution_id',\n    isPro: 'pro',\n    emailSubmissionId: 'email_submission_id',\n    partnerSource: 'partner',\n  },\n\n  addOn: null,\n  addOnPlanIds: [],\n  gclid: null,\n  solutionId: '',\n  isPro: false,\n  emailSubmissionId: undefined,\n  partnerSource: null,\n  navStep: null,\n  customerService: service(),\n\n  media: service(),\n  mobileDevice: oneWay('media.isMobile'),\n  mobile: not('media.isDesktop'),\n  prices: null,\n  couponCode: null,\n\n  isEarlyStage: computed('solutionId', function() {\n    return EARLY_STAGE_SOLUTION_IDS.includes(this.solutionId);\n  }),\n  solutionPlanIds: computed('solutionId', function() {\n    return plansFromSolution(this.isPro, this.solutionId).map(planId => parseInt(planId, 10));\n  }),\n\n  add_ons: computed('addOnPlanIds', function() {\n    return this.addOnPlanIds.map(id => PLAN_DATA[id]);\n  }),\n\n  solutionPrice: computed('prices', 'solutionPlanIds', function() {\n    let price = this.prices.find(price => price.hasSamePlans(this.solutionPlanIds));\n    return price;\n  }),\n\n  solutionPlusAddOnPrice: computed('addOnPlanIds', 'solutionPlanIds', 'prices', function() {\n    let price = this.prices.find(price =>\n      price.hasSamePlans(\n        this.solutionPlanIds.concat(this.addOnPlanIds.map(id => parseInt(id, 10))),\n      ),\n    );\n    return price;\n  }),\n\n  planIds: computed('solutionId', 'addOnPlanIds', function() {\n    return plansFromSolution(this.isPro, this.solutionId)\n      .concat(this.addOnPlanIds)\n      .map(planId => parseInt(planId, 10));\n  }),\n\n  price: computed('prices', 'planIds.[]', function() {\n    return this.prices.find(price => price.hasSamePlans(this.planIds));\n  }),\n\n  totalAmount: alias('solutionPlusAddOnPrice.amount'),\n\n  hideWidgetIfAppropriate() {\n    if (this.mobileDevice) {\n      hideIntercomWidgetWhenLoaded();\n    }\n  },\n\n  isMessengerInstalled: alias('customerService.isMessengerInstalled'),\n\n  earlyStagePartnerWithoutMessenger: computed('partnerSource', 'isMessengerInstalled', function() {\n    return this.partnerSource && !this.isMessengerInstalled;\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Controller, { inject as controller } from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport { getRouter } from 'embercom/lib/container-lookup';\nimport { readOnly, alias, equal, or, not, reads } from '@ember/object/computed';\nimport { ternary, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport { plansFromSolution } from 'embercom/lib/billing';\nimport { MARKETO_FORM_IDS } from 'embercom/lib/gtm';\nimport ajax from 'embercom/lib/ajax';\nimport moment from 'moment';\n\nconst earlyStageHeadings = {\n  acceptedApplication: {\n    heading: 'Start Early Stage now',\n    subHeading: [\n      \"You've been approved for the Early Stage Program\",\n      'Get started with your 14-day free trial',\n    ],\n  },\n  pendingApplication: {\n    heading: 'Start your 14-day free trial',\n    subHeading: [\n      \"We're currently reviewing your application\",\n      'You can get started with Intercom now',\n      \"You won't be charged during your 14-day free trial\",\n    ],\n  },\n};\n\nexport default Controller.extend({\n  gtmService: service(),\n  purchaseAnalyticsService: service(),\n  customerService: service(),\n  redirectService: service(),\n  appService: service(),\n  appId: readOnly('appService.app.id'),\n  appController: controller('apps.app'),\n  signupController: controller('signup'),\n  app: readOnly('appController.app'),\n  products: readOnly('app.products'),\n  isEarlyStage: alias('teamsController.isEarlyStage'),\n  heading: ternaryToProperty('isEarlyStage', 'earlyStageHeading', 'normalHeading'),\n  subHeading: ternaryToProperty('isEarlyStage', 'earlyStageSubHeading', 'normalSubHeading'),\n  normalHeading: ternary('mobileDevice', 'Add billing info', 'Start your free trial'),\n  normalSubHeading: computed('endOfTrialDate', function() {\n    return [\" You won't be billed today\", ` Cancel any time before ${this.endOfTrialDate}`];\n  }),\n  earlyStageHeading: ternary(\n    'app.earlyStageApplicationAccepted',\n    earlyStageHeadings.acceptedApplication.heading,\n    earlyStageHeadings.pendingApplication.heading,\n  ),\n  earlyStageSubHeading: ternary(\n    'app.earlyStageApplicationAccepted',\n    earlyStageHeadings.acceptedApplication.subHeading,\n    earlyStageHeadings.pendingApplication.subHeading,\n  ),\n  context: 'usecase_signup_flow',\n  place: 'start_trial',\n  object: 'start_trial',\n\n  stripev3: service(),\n  token: null,\n  buttonsDisabled: not('token'),\n  countryCode: null,\n  countryIsUnitedStates: equal('countryCode', 'US'),\n  endOfTrialDate: computed('app', function() {\n    let trialLength = this.get('app.trialLengthInDays');\n    return moment()\n      .add(trialLength, 'days')\n      .format('MMMM DD, YYYY');\n  }),\n  stateCode: null,\n  queryParams: {\n    premium: 'premium',\n  },\n\n  planIds: computed('isPro', 'solutionId', function() {\n    return plansFromSolution(this.isPro, this.solutionId).map(x => parseInt(x, 10));\n  }),\n  premium: false,\n  cardOptions: {\n    hidePostalCode: true,\n  },\n  teamsController: controller('apps/app/teams-checkout'),\n  addOnPlanIds: alias('teamsController.addOnPlanIds'),\n  addOn: alias('teamsController.addOn'),\n  solutionId: alias('teamsController.solutionId'),\n  totalAmount: alias('teamsController.totalAmount'),\n  gclid: alias('teamsController.gclid'),\n  mobileCart: alias('teamsController.mobileCart'),\n  mobileDevice: alias('teamsController.mobileDevice'),\n  notMobileDevice: not('mobileDevice'),\n  showEscapeHatch: alias('notMobileDevice'),\n  emailSubmissionId: alias('teamsController.emailSubmissionId'),\n  isPro: alias('teamsController.isPro'),\n  solutionPrice: alias('teamsController.solutionPrice'),\n  partnerSource: or('teamsController.partnerSource', 'app.earlyStagePartner'),\n  purchaseExperience: readOnly('signupController.purchaseExperience'),\n  isMessengerInstalled: readOnly('customerService.isMessengerInstalled'),\n  couponCode: reads('teamsController.couponCode'),\n  earlyStagePartnerWithoutMessenger: computed('partnerSource', 'isMessengerInstalled', function() {\n    return this.partnerSource && !this.isMessengerInstalled;\n  }),\n  price: alias('teamsController.price'),\n\n  fireMarketoEvent() {\n    this.gtmService.fireMarketoEvent(MARKETO_FORM_IDS.escapeHatch, {\n      App_ID__c: this.appId,\n      Email: this.get('appService.app.currentAdmin.email'),\n      Company: this.get('appService.app.name'),\n    });\n  },\n\n  sendServerEvent() {\n    let params = {\n      url: `/ember/customers/${this.appId}/update_subscription`,\n      type: 'post',\n      contentType: 'application/json',\n      data: JSON.stringify({ platform: true }),\n    };\n    ajax(params).then(() => true);\n  },\n\n  actions: {\n    escapeHatch() {\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'clicked',\n        object: 'escape_hatch',\n        context: 'usecase_signup_flow',\n        place: this.place,\n        solutionId: this.solutionId,\n        planIds: this.addOnPlanIds,\n        cartAmount: this.totalAmount,\n        pro: this.isPro,\n        gclid: this.gclid,\n        emailSubmissionId: this.emailSubmissionId,\n      });\n      this.fireMarketoEvent();\n\n      this.sendServerEvent();\n      getRouter().transitionTo(this.get('appService.app.defaultPostSignupRoute'));\n    },\n\n    redirectAfterCheckout() {\n      if (this.mobileDevice) {\n        return this.transitionToRoute(this.app.defaultPostSignupRoute);\n      }\n\n      let path = this.redirectService.getRedirectPath();\n      if (path) {\n        this.transitionToRoute(path);\n      } else {\n        this.transitionToRoute(this.app.defaultPostSignupRoute);\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\nimport Controller, { inject as controller } from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport ajax from 'embercom/lib/ajax';\nimport { MARKETO_FORM_IDS } from 'embercom/lib/gtm';\nimport { hideIntercomWidgetWhenLoaded } from 'embercom/lib/intercom-widget-helper';\nimport { captureException } from 'embercom/lib/sentry';\n\nexport default class EarlyStageApplicationController extends Controller {\n  @service purchaseAnalyticsService;\n  @service translationsService;\n  @service gtmService;\n  @service notificationsService;\n\n  @controller('apps/app/teams-checkout') teamsController;\n  @controller('apps.app') appController;\n\n  get partnerSource() {\n    let partner = this.teamsController.partnerSource;\n    if (partner && this.model.partners.includes(partner)) {\n      return partner;\n    }\n    return null;\n  }\n\n  get app() {\n    return this.appController.app;\n  }\n\n  get mobileDevice() {\n    return this.teamsController.mobileCart;\n  }\n\n  transitionToCheckout() {\n    let queryParams = {\n      solutionId: this.teamsController.solutionId,\n      isPro: this.teamsController.isPro,\n      partnerSource: this.teamsController.partnerSource,\n    };\n    let app = this.app;\n    let route = 'apps.app.teams-checkout.confirm';\n\n    if (app.get('hasActiveSubscription')) {\n      this.notificationsService.notifyConfirmation(\n        this.translationsService.localize('early_stage.success'),\n      );\n      route = 'apps.app.billing.details';\n    }\n    this.transitionToRoute(route, { queryParams });\n  }\n\n  hideWidgetIfAppropriate() {\n    if (this.mobileDevice) {\n      hideIntercomWidgetWhenLoaded();\n    }\n  }\n\n  @action\n  submitApplication(formData) {\n    formData.company_name = this.app.name;\n    this.set('isSubmitting', true);\n    return ajax({\n      url: '/marketing_onboarding/signups/early_stage',\n      type: 'POST',\n      data: JSON.stringify(formData),\n    })\n      .then(() => {\n        this.gtmService.fireMarketoEvent(MARKETO_FORM_IDS.earlyStage, {\n          Email: this.app.email || this.app.currentAdmin.email,\n          App_ID__c: this.app.id,\n          Company: this.app.name,\n          name: this.app.currentAdmin.name || this.app.name,\n        });\n      })\n      .then(() => {\n        this.purchaseAnalyticsService.trackEvent({\n          action: 'submitted',\n          context: 'usecase_signup_flow',\n          place: 'early_stage_application',\n          object: 'early_stage_application',\n          solutionId: this.solutionId,\n          app_id_code: this.app.id,\n        });\n        this.transitionToCheckout();\n      })\n      .catch(err => {\n        this.set('isSubmitting', false);\n        let textKey =\n          err.jqXHR.responseJSON && err.jqXHR.responseJSON.error_code\n            ? `early_stage.${err.jqXHR.responseJSON.error_code}`\n            : 'early_stage.error_submit';\n        this.notificationsService.notifyError(this.translations.localize(textKey));\n        captureException(err, {\n          fingerprint: ['early-stage-application'],\n        });\n        throw err;\n      });\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller, { inject as controller } from '@ember/controller';\nimport { computed } from '@ember/object';\nimport { alias, readOnly, gt } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport numberFormatter from 'embercom/lib/number-formatter';\nimport {\n  productNameFromSolutionId,\n  productsWithPricesForSolution,\n  findSolution,\n  PLAN_DATA,\n} from 'embercom/lib/billing';\nimport { MARKETO_FORM_IDS } from 'embercom/lib/gtm';\n\nexport default Controller.extend({\n  purchaseAnalyticsService: service(),\n  gtmService: service(),\n  heading: \"Here's your trial plan\",\n  appService: service(),\n  app: alias('appService.app'),\n  price: alias('teamsController.price'),\n  prices: alias('teamsController.prices'),\n  products: readOnly('appService.app.products'),\n  signupController: controller('signup'),\n  teamsController: controller('apps/app/teams-checkout'),\n  solutionId: alias('teamsController.solutionId'),\n  addOnPlanIds: alias('teamsController.addOnPlanIds'),\n  totalAmount: alias('teamsController.totalAmount'),\n  isPro: alias('teamsController.isPro'),\n  gclid: alias('teamsController.gclid'),\n  emailSubmissionId: alias('teamsController.emailSubmissionId'),\n  mobileDevice: alias('teamsController.mobileDevice'),\n  solutionPrice: alias('teamsController.solutionPrice'),\n  formattedSolutionPrice: computed('solutionPrice', function() {\n    return `$${numberFormatter(this.solutionPrice?.preDiscountAmount / 100)}`;\n  }),\n  purchaseExperience: readOnly('signupController.purchaseExperience'),\n  mobileCart: alias('teamsController.mobileCart'),\n  planDescription: computed('solutionId', 'isPro', function() {\n    let solution = findSolution(this.solutionId);\n\n    if (this.isPro && solution.proDescription) {\n      return solution.proDescription;\n    }\n    return solution.description;\n  }),\n  planName: computed('solutionId', 'isPro', function() {\n    return productNameFromSolutionId(this.solutionId, this.isPro);\n  }),\n  planFeatures: computed('solutionId', 'isPro', function() {\n    if (this.isPro) {\n      return findSolution(this.solutionId).proFeatures;\n    }\n    return findSolution(this.solutionId).features;\n  }),\n\n  planTopFeatures: computed('solutionId', function() {\n    return findSolution(this.solutionId).topFeatures;\n  }),\n\n  planIcon: computed('solutionId', function() {\n    return findSolution(this.solutionId).icon;\n  }),\n\n  productsForPlan: computed('solutionId', 'prices', 'isPro', function() {\n    return productsWithPricesForSolution(this.prices, this.solutionId, this.isPro);\n  }),\n\n  showCoreProductsSection: gt('productsForPlan.length', 1),\n\n  continueButtonLabel: computed('addOnPlanIds.length', 'mobileDevice', function() {\n    if (this.addOnPlanIds.length > 0 || this.mobileDevice) {\n      return 'Continue';\n    } else {\n      return 'Continue without add-ons';\n    }\n  }),\n\n  context: 'usecase_signup_flow',\n  place: 'add_ons',\n  object: 'add_ons_page',\n  addOnClassNames: 'signup__teams__add-ons__group-test layout__box o__has-columns',\n\n  recommendedAddOns: computed('solutionId', 'mobileDevice', function() {\n    if (!this.mobileDevice) {\n      return findSolution(this.solutionId).recommendedAddons.map(addOn => PLAN_DATA[addOn]);\n    }\n    return [];\n  }),\n\n  addOns: readOnly('recommendedAddOns.each'),\n\n  fireMarketoEvent() {\n    let formId;\n\n    formId = MARKETO_FORM_IDS.addOns;\n\n    let params = {\n      Email: this.app.currentAdmin.email,\n      Add_on_Interest__c: 'Added to Cart',\n      Selected_Plan__c: productNameFromSolutionId(this.solutionId, this.isPro),\n    };\n    let addons = this.addOnPlanIds;\n    Object.values(PLAN_DATA).forEach(plans => {\n      let fieldName = plans.marketoFormField;\n      if (fieldName) {\n        params[fieldName] = addons.includes(plans.id);\n      }\n    });\n    this.gtmService.fireMarketoEvent(formId, params);\n  },\n\n  actions: {\n    transitionToCheckout() {\n      let queryParams = {\n        solutionId: this.solutionId,\n        isPro: this.isPro,\n      };\n\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'clicked',\n        object: 'continue_button',\n        planIds: this.addOnPlanIds,\n        solutionId: this.solutionId,\n        context: this.context,\n        place: this.place,\n        cartAmount: this.totalAmount,\n        mobile: this.mobileDevice,\n        addOn: this.addOn,\n      });\n\n      this.fireMarketoEvent();\n\n      this.transitionToRoute('apps.app.teams-checkout.confirm', { queryParams });\n    },\n\n    toggleAddOn(id) {\n      let active = this.addOnPlanIds.includes(id);\n      active ? this.addOnPlanIds.removeObject(id) : this.addOnPlanIds.addObject(id);\n\n      this.purchaseAnalyticsService.trackEvent({\n        action: active ? 'removed' : 'selected',\n        section: 'add_ons_cta',\n        planIds: [this.planId],\n        object: 'add_on',\n        context: 'add_ons_page',\n        place: 'add_ons_page',\n        mobile: this.mobileDevice,\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport Controller, { inject as controller } from '@ember/controller';\n\nexport default class VerifyController extends Controller {\n  @service store;\n  @service media;\n  @service appService;\n  @service gtmService;\n  @service purchaseAnalyticsService;\n  @service iamService;\n\n  @controller('apps/app/teams-checkout') teamsController;\n\n  @tracked heading = 'You’re almost there';\n\n  @tracked developer = false;\n  @tracked emailResent = false;\n\n  get admin() {\n    return this.appService.app.currentAdmin;\n  }\n\n  get mobileDevice() {\n    return this.media.isMobile;\n  }\n\n  get mobileCart() {\n    return !this.media.isDesktop;\n  }\n\n  @task\n  *resendSignupValidationEmail() {\n    let queryParams = {\n      solutionId: this.teamsController.solutionId,\n      isPro: this.teamsController.isPro,\n    };\n    try {\n      yield this.admin.resendSignupValidationEmail(queryParams);\n      this.emailResent = true;\n    } catch (error) {\n      console.log(error);\n      this.notificationsService.notifyResponseError(error, {\n        default: `We couldn't resend the verification email, please try again.`,\n      });\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\n\nexport default Controller.extend({\n  queryParams: {\n    onboardingHome: {\n      as: 'onboarding_home',\n      type: 'boolean',\n    },\n  },\n\n  appService: service(),\n\n  onboardingHome: true,\n});\n","import EditTourController from 'embercom/controllers/apps/app/outbound/tour/edit';\nexport default EditTourController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Controller.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  queryParams: ['state'],\n  state: null,\n  areRulesetsLoading: false,\n  product: readOnly('app.productToursProduct'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport { reads, alias, filterBy } from '@ember/object/computed';\nimport { inject as controller } from '@ember/controller';\nimport UserOrCompaniesController from 'embercom/controllers/base/user-or-companies';\n\nexport default UserOrCompaniesController.extend({\n  segmentController: controller('apps/app/users/segments/segment'),\n  appController: controller('apps/app'),\n  appsController: controller('apps'),\n  app: alias('appController.model'),\n  admin: alias('appsController.model'),\n  segment: reads('segmentController.model'),\n  segmentRoutePath: 'apps.app.users.segments.segment',\n  isCompany: false,\n  userSegments: filterBy('app.segments', 'isUser'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { reads } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nlet SegmentsController = Controller.extend({\n  appController: controller('apps/app'),\n  app: reads('appController.model'),\n});\n\nexport default SegmentsController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { alias, gt, and, empty } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport SegmentActions from 'embercom/controllers/mixins/users-and-companies/segment-actions';\nimport SegmentQueryParams from 'embercom/controllers/mixins/users-and-companies/segment-query-params';\nimport TrackFilteringEvents from 'embercom/controllers/mixins/users-and-companies/track-filtering-events';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Controller.extend(SegmentActions, SegmentQueryParams, TrackFilteringEvents, {\n  place: 'user_list',\n  appController: controller('apps/app'),\n  app: alias('appController.model'),\n  hasStandardPredicates: gt('model.activePredicates.length', 0),\n  hasNestedPredicates: gt('model.nestedPredicates.length', 0),\n  hasValidPredicates: ternaryToProperty(\n    'model.isNestedGroup',\n    'hasNestedPredicates',\n    'hasStandardPredicates',\n  ),\n\n  isDirtyAndHasValidPredicates: and('model.hasDirtyAttributes', 'hasValidPredicates'),\n\n  searchController: controller('apps.app.users'),\n  searchModel: alias('searchController.search'),\n  searchEmpty: empty('searchModel.text'),\n  searchActive: alias('searchController.searchActive'),\n\n  createSegment(segment) {\n    this.send('createSegment', segment);\n  },\n\n  actions: {\n    segmentFiltersChanged(action) {\n      this.send('addFiltersToUrl', this.model);\n      this.processEvent(action);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport ExportModalController from 'embercom/controllers/base/modals/export';\nimport { applyFunction } from '@intercom/embercom-core/lib/computed-properties';\nimport { alias } from '@ember/object/computed';\nimport pluralise from 'embercom/lib/inflector';\n\nexport default ExportModalController.extend({\n  modalTarget: alias('options.personTypeName'),\n  modalTargetPlural: applyFunction(pluralise, 'modalTarget'),\n  submitUrl: '/ember/users/bulk_export.json',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport MessageModalController from 'embercom/controllers/base/modals/message';\n\nexport default MessageModalController.extend();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport SegmentModalController from 'embercom/controllers/base/modals/segment';\n\nlet CompanySegmentModalController = SegmentModalController.extend();\n\nexport default CompanySegmentModalController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport { inject as service } from '@ember/service';\n\nexport default Controller.extend(IntercomModal, {\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n\n  actions: {\n    closeModalUsingModalService() {\n      this.modalService.closeModal();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\nimport Controller, { inject as controller } from '@ember/controller';\nimport { computed } from '@ember/object';\nimport { alias, equal, notEmpty, readOnly, reads } from '@ember/object/computed';\nimport { findBy, slice, ternary } from '@intercom/embercom-core/lib/computed-properties';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport ModalActions from 'embercom/controllers/mixins/users-and-companies/modal-actions';\nimport DetectsIntercomradesDomain from 'embercom/lib/detects-intercomrades-domain';\nimport ImpersonationRequest from 'embercom/lib/impersonation-request';\nimport safeWindowOpen from 'embercom/lib/safe-window-open';\nimport LegacySelectionState from 'embercom/models/legacy-selection-state';\nimport { later } from '@ember/runloop';\nimport ENV from 'embercom/config/environment';\n\nconst COMPANY_CUTOFF = 10;\n\nexport default Controller.extend(ModalActions, DetectsIntercomradesDomain, ImpersonationRequest, {\n  applicationController: controller('application'),\n  appController: controller('apps/app'),\n  appsController: controller('apps'),\n  currentAdmin: alias('appsController.model'),\n  app: reads('appController.model'),\n  qualificationAttributes: readOnly('app.qualification_attributes'),\n  showQualificationAttributeList: notEmpty('qualificationAttributes'),\n  userAttributes: readOnly('attributeService.allUserAttributes'),\n  companyAttributes: readOnly('attributeService.allCompanyAttributes'),\n  emailDisplayedAttribute: findBy('userAttributes', 'identifier', 'email'),\n  email: alias('emailDisplayedAttribute.attribute'),\n  showArchiveModal: false,\n\n  displayedCompanies: slice('model.companies', 0, COMPANY_CUTOFF),\n  otherCompanies: slice('model.companies', COMPANY_CUTOFF),\n  hasOtherCompanies: notEmpty('otherCompanies'),\n\n  conversationTypeOptions: [\n    { value: 'all', text: 'Their messages & conversations' },\n    { value: 'conversations', text: 'Their conversations' },\n  ],\n\n  selectedOption: 'conversations',\n\n  adminImpersonationPermissionStatus: reads('currentAdmin.impersonation_permission_status'),\n  adminImpersonationPermissionNotRequested: equal(\n    'adminImpersonationPermissionStatus',\n    'not_requested',\n  ),\n  adminImpersonationDefaultReason: reads('currentAdmin.impersonation_permission_default_reason'),\n  anonymous: alias('model.is_anonymous'),\n  stampText: ternary('anonymous', 'Lead', 'User'),\n  scrollParentSelector: '.profile',\n\n  mapUsers: computed('geoipData.latitude', 'geoipData.longitude', function() {\n    return [\n      {\n        avatar: { image_urls: { normal: 'images/map-user-icon.png' } },\n        geoip_data: {\n          latitude: this.get('geoipData.latitude'),\n          longitude: this.get('geoipData.longitude'),\n        },\n      },\n    ];\n  }),\n\n  displayedCompanyAttributes: reads('attributeService.companyAttributes'),\n\n  lookupAdminByEmail() {\n    let userEmail = this.get('model.email');\n    safeWindowOpen(`https://intercomrades.intercom.com/admin/admins?admin_id=${userEmail}`);\n  },\n\n  selectionState: computed('model', function() {\n    return LegacySelectionState.create({\n      isSelectAllMode: false,\n      selected: [this.model],\n      unselected: [],\n      predicates: [],\n      count: 1,\n      search: '',\n    });\n  }),\n\n  actions: {\n    noOp() {},\n    delete() {\n      this.set('showArchiveModal', true);\n    },\n    subscription() {\n      let controller = 'apps/app/users/user/modals/subscription';\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', controller, this.model);\n    },\n    impersonate() {\n      let controller = 'apps/app/users/user/modals/impersonate';\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', controller, this.model, {\n        defaultReason: this.adminImpersonationDefaultReason,\n        impersonationConsentExists: this.get('model.consents_to_impersonation'),\n      });\n    },\n    conversationTypeSelectionChanged(conversationTypeSelected) {\n      if (conversationTypeSelected === 'conversations') {\n        this.transitionToRoute('apps.app.users.user.conversations');\n      } else {\n        this.transitionToRoute('apps.app.users.user.all-conversations');\n      }\n    },\n    blockUser() {\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', 'apps/app/modals/block-user', this.model);\n    },\n    impersonateUser() {\n      if (this.adminImpersonationPermissionNotRequested) {\n        this._submitImpersonationRequestForAdmin(this.currentAdmin);\n      } else if (this.adminImpersonationPermissionStatus === 'approved') {\n        this._checkImpersonationConsent(this.get('model.user_id'))\n          .then(response => {\n            this.send('impersonate');\n          })\n          .catch(e => {\n            // noop\n          });\n      } else {\n        window.alert('Impersonation request already submitted. Wait for approval.');\n      }\n    },\n    lookupAdminEmail() {\n      this.lookupAdminByEmail();\n    },\n    changeConversationType(value) {\n      this.send('conversationTypeSelectionChanged', value);\n    },\n    conversationStarted() {\n      // wait 1s so the backend catches up before we load the new conversation\n      later(() => {\n        this.send('refresh');\n      }, ENV.APP._1000MS);\n    },\n  },\n});\n","import UserConversationsFeedControllerBase from 'embercom/controllers/apps/app/users/user/base/user-conversations-feed-controller-base';\n\nexport default UserConversationsFeedControllerBase.extend({\n  emptyState: 'No communication with this person',\n  queryParams: ['external_step'],\n  external_step: null,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { reads, readOnly, filter } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nexport default Controller.extend({\n  length: reads('model.length'), //TODO: GJ: remove this when all controllers that use `CursorPagination` are `Ember.Controller`\n  userController: controller('apps/app/users/user'),\n  isLoading: false,\n  conversations: readOnly('model'),\n  isPaginating: false,\n  hasMoreConversationsToLoad: true,\n  filteredConversations: filter('conversations', function(item) {\n    return item.get('type') !== 'note_created';\n  }),\n\n  actions: {\n    nextPage() {\n      if (this.hasMoreConversationsToLoad) {\n        this.send('paginate');\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport UserConversationsFeedControllerBase from 'embercom/controllers/apps/app/users/user/base/user-conversations-feed-controller-base';\n\nexport default UserConversationsFeedControllerBase.extend({\n  emptyState: 'No conversations with this person',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport ajax from 'embercom/lib/ajax';\nimport { not, readOnly } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { task } from 'ember-concurrency';\nimport safeWindowOpen from 'embercom/lib/safe-window-open';\nimport { inject as service } from '@ember/service';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nexport default Controller.extend(IntercomModal, {\n  notificationsService: service(),\n\n  userController: controller('apps/app/users/user'),\n  appController: controller('apps/app'),\n  userId: readOnly('model.user_id'),\n  defaultReason: readOnly('options.defaultReason'),\n  impersonationConsentExists: readOnly('options.impersonationConsentExists'),\n  readOnlyOptional: readOnly('options.impersonationConsentExists'),\n  readOnly: not('options.impersonationConsentExists'),\n  restrictDataAccessOptional: readOnly('options.impersonationConsentExists'),\n  restrictDataAccess: not('options.impersonationConsentExists'),\n  impersonationUrl: '',\n\n  reasonWithAppendedUrl() {\n    let reason = this.reason;\n    if (!reason.match(/conversations\\/\\d+/gi)) {\n      return `${reason} ${this.getLocation()}`;\n    } else {\n      return reason;\n    }\n  },\n\n  getLocation() {\n    return document.location.href;\n  },\n\n  impersonate: task(function*() {\n    let restrictDataAccess = this.restrictDataAccess ? 'on' : 'off';\n    let readOnly = this.readOnly ? 'on' : 'off';\n\n    try {\n      let response = yield ajax({\n        url: '/admin/impersonations',\n        method: 'POST',\n        data: JSON.stringify({\n          impersonation: {\n            impersonated_admin_id: this.userId,\n            restrict_data_access: restrictDataAccess,\n            read_only: readOnly,\n            reason: this.reasonWithAppendedUrl(),\n            url: this.impersonationUrl,\n          },\n        }),\n      });\n\n      if (response.redirect_url) {\n        safeWindowOpen(response.redirect_url, '_blank');\n      }\n    } catch (e) {\n      this.notificationsService.notifyError(e.jqXHR.responseJSON.errors);\n    }\n  }),\n\n  actions: {\n    resetState() {\n      this.set('reason', this.defaultReason);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport { reads } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n\nlet UserSubscriptionModalController = Controller.extend(IntercomModal, {\n  userController: controller('apps/app/users/user'),\n  appController: controller('apps/app'),\n  unsubscribedFromEmails: reads('model.unsubscribed_from_emails'),\n  notificationsService: service('notificationsService'),\n\n  successNotification(action) {\n    return `${this.get('model.displayAs')} was successfully ${action}`;\n  },\n\n  errorNotification(action) {\n    return `An error occurred while ${action} this user, please try again`;\n  },\n\n  actions: {\n    unsubscribe() {\n      this.set('hasErrored', false);\n      this.set('model.unsubscribed_from_emails', true);\n      this.send('closeModal');\n      this.model.saveUnsubscribedFromEmails().then(\n        () => {\n          this.notificationsService.notifyConfirmation(this.successNotification('unsubscribed'));\n        },\n        () => {\n          this.notificationsService.notifyError(this.errorNotification('unsubscribing'));\n          this.set('model.unsubscribed_from_emails', false);\n        },\n      );\n    },\n    resubscribe() {\n      this.set('hasErrored', false);\n      this.set('model.unsubscribed_from_emails', false);\n      this.send('closeModal');\n      this.model.saveUnsubscribedFromEmails().then(\n        () => {\n          this.notificationsService.notifyConfirmation(this.successNotification('resubscribed'));\n        },\n        () => {\n          this.notificationsService.notifyError(this.errorNotification('resubscribing'));\n          this.set('model.unsubscribed_from_emails', true);\n        },\n      );\n    },\n  },\n});\n\nexport default UserSubscriptionModalController;\n","import Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport { timeout } from 'ember-concurrency';\n\nexport default class AppsAppVideoController extends Controller {\n  @service intercomEventService;\n\n  queryParams = ['v'];\n\n  get videoKey() {\n    return this.v;\n  }\n\n  init() {\n    super.init(...arguments);\n    this.trackVideoEvent.perform();\n  }\n\n  @task\n  *trackVideoEvent() {\n    yield timeout(2000);\n\n    let eventData = {\n      videoKey: this.videoKey,\n    };\n\n    this.intercomEventService.trackEvent('videogen_video_started', eventData);\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport Admin from 'embercom/models/admin';\nimport { task } from 'ember-concurrency';\nimport { getLocale } from 'embercom/lib/locale';\nimport { inject as service } from '@ember/service';\nimport Controller, { inject } from '@ember/controller';\nimport { alias, readOnly } from '@ember/object/computed';\n\nexport default Controller.extend({\n  init() {\n    this._super();\n    this.set('isJapanese', getLocale() === 'ja');\n  },\n\n  translationsService: service('translations-service'),\n  appService: service(),\n  existingApp: readOnly('appService.app'),\n\n  appsController: inject('apps'),\n  modelDataCacheService: service(),\n  store: service(),\n\n  appName: null,\n  companySize: 'Unknown',\n\n  companyError: null,\n\n  admin: alias('appsController.model'),\n\n  _reloadCurrentAdminToGetPermissions() {\n    return Admin.me().then(admin => {\n      this.set('admin', admin);\n      return admin;\n    });\n  },\n\n  createApp: task(function*() {\n    this.set('companyError', null);\n\n    let app;\n    let previousAppId = this.get('existingApp.id');\n\n    try {\n      app = yield this.store\n        .createRecord('app', {\n          name: this.appName,\n          company_size: this.companySize,\n        })\n        .save();\n    } catch (_) {\n      let err = this.translationsService.localize('sign_up.new.company_error');\n      this.set('companyError', err);\n      return;\n    }\n\n    yield this._reloadCurrentAdminToGetPermissions();\n\n    let { protocol, host } = window.location;\n    window.location = `${protocol}//${host}/a/apps/${app.get(\n      'id',\n    )}/created?previousAppId=${previousAppId}`;\n  }),\n});\n","import AppStoreController from './base/appstore';\n\nexport default AppStoreController;\n","import AppstoreAppPackageController from 'embercom/controllers/base/appstore/app-package';\n\nexport default AppstoreAppPackageController;\n","import AppstoreIndexController from 'embercom/controllers/base/appstore/index';\n\nexport default AppstoreIndexController;\n","define(\"embercom/controllers/array\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = Ember.Controller;\n  _exports.default = _default;\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport { findByProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { filterBy, union } from '@ember/object/computed';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  media: service(),\n  appstoreService: service(),\n\n  queryParams: ['category', 'search', 'installed', 'capability', 'inbox_capability'],\n  category: null,\n  search: null,\n  installed: null,\n  capability: null,\n  features: null,\n  inbox_capability: null,\n  displayFeaturedCategoriesGrid: computed(\n    'category',\n    'search',\n    'installed',\n    'capability',\n    function() {\n      return !(this.category || this.search || this.installed || this.capability);\n    },\n  ),\n  featuredCategoriesAndApps: null,\n  selectedCapability: computed('capability', function() {\n    return this.appstoreService.appCapabilities.find(\n      capability => capability.slug === this.capability,\n    );\n  }),\n  publicCategories: filterBy('model.defaultCategories', 'publiclyVisible', true),\n  featuredCategories: filterBy('model.featuredCategories', 'publiclyVisible', true),\n  allCategories: union('model.defaultCategories', 'model.featuredCategories'),\n  selectedCategory: findByProperty('allCategories', 'slug', 'category'),\n  gridTitle: computed('search', 'selectedCategory.name', 'installed', function() {\n    if (this.search) {\n      return 'Search results';\n    } else if (this.get('selectedCategory.name')) {\n      return this.get('selectedCategory.name');\n    } else if (this.installed) {\n      return 'Your installed apps';\n    } else {\n      return 'All apps';\n    }\n  }),\n\n  actions: {\n    searchForApps(query) {\n      this.setProperties({\n        search: query || null,\n        category: null,\n        installed: null,\n        capability: null,\n      });\n    },\n    clickSeeAllLink(categorySlug) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'see_all_link',\n        category_name: categorySlug,\n      });\n      this.transitionToRoute(this.get('appstoreService.baseRoute'), {\n        queryParams: {\n          category: categorySlug,\n          search: null,\n          installed: null,\n          capability: null,\n        },\n      });\n    },\n    onAppPackageClick(categorySlug, appPackage) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: appPackage,\n        category_name: categorySlug,\n      });\n      this.transitionToRoute({\n        queryParams: { app_package_code: appPackage.get('id') },\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\n\nexport default Controller.extend({\n  router: service(),\n  appstoreService: service(),\n  queryParams: [\n    'app_package_code',\n    'tab',\n    'install_success',\n    'error_message',\n    'is_onboarding',\n    'email_request',\n    'redirect',\n    { showReinstall: 'show_reinstall' },\n  ],\n  app_package_code: null,\n  tab: null,\n  install_success: null,\n  error_message: null,\n  is_onboarding: null,\n  showReinstall: false,\n  actions: {\n    closeModal() {\n      if ($.isEmptyObject(this.previousQueryParams)) {\n        this.transitionToRoute(this.get('appstoreService.baseRoute'));\n      } else {\n        this.setProperties({\n          app_package_code: null,\n          tab: null,\n          install_success: null,\n          error_message: null,\n          is_onboarding: null,\n          redirect: null,\n        });\n        this.transitionToRoute(this.get('appstoreService.baseRoute'), {\n          queryParams: this.previousQueryParams,\n        });\n      }\n    },\n    transitionAppPackageTab(tab) {\n      this.transitionToRoute({\n        queryParams: { tab: tab || null },\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-side-effects */\n/* eslint-disable ember/no-private-routing-service */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default Controller.extend({\n  notificationsService: service(),\n  router: service(),\n  appstoreService: service(),\n  appService: service(),\n  queryParams: [\n    'app_package_code',\n    'tab',\n    'install_success',\n    'error_message',\n    'is_onboarding',\n    'email_request',\n    'redirect',\n    { showReinstall: 'show_reinstall' },\n  ],\n  app_package_code: null,\n  tab: null,\n  install_success: null,\n  error_message: null,\n  is_onboarding: null,\n  showReinstall: false,\n\n  _fetchAppPackage() {\n    if (this.get('appService.app.useAppCardApi')) {\n      return this.store.peekRecord('appstore/app-card', this.app_package_code)\n        ? this.appstoreService.peekOrFindAppPackage(this.app_package_code)\n        : null;\n    }\n    return this.store.peekRecord('appstore/app-package', this.app_package_code);\n  },\n\n  selectedAppPackage: computed('app_package_code', function() {\n    if (!this.app_package_code) {\n      return null;\n    }\n    let appPackage = this._fetchAppPackage();\n    if (!appPackage) {\n      this.notificationsService.notifyError('Sorry but that app does not exist.');\n      return null;\n    }\n    let title = this.appstoreService.generateTitle({ app_package_code: this.app_package_code });\n    this.send('setDocumentTitle', title);\n    return appPackage;\n  }),\n\n  actions: {\n    closeModal() {\n      this.setProperties({\n        app_package_code: null,\n        tab: null,\n        install_success: null,\n        error_message: null,\n        is_onboarding: null,\n        redirect: null,\n      });\n      // For context on why we need to do this below: https://github.com/intercom/embercom/pull/26246#discussion_r184416210\n      let listingParams = this.router._router._routerMicrolib.state.fullQueryParams;\n      let title = this.appstoreService.generateTitle(listingParams);\n      this.send('setDocumentTitle', title);\n    },\n    transitionAppPackageTab(tab) {\n      this.transitionToRoute({\n        queryParams: { tab: tab || null },\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { fmtStyle } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Controller.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n\n  appController: controller('apps/app'),\n  respondController: controller('apps/app/inbox'),\n\n  top: computed(\n    'app.canUseFree',\n    'admin.reassign_conversations',\n    'app.{impersonation_session,shouldShowIntercomradeWarning}',\n    'respondController.{searchIsSelected,shouldShowTourBanner,missingShippingAddressBannerVisible}',\n    function() {\n      let top = 0;\n      if (this.get('app.impersonation_session')) {\n        top += $('.interpersonation__banner').outerHeight(true) || 0;\n      }\n\n      if (this.get('app.shouldShowIntercomradeWarning')) {\n        top += $('.js__intercomrade-warning').outerHeight(true) || 0;\n      }\n\n      if (this.get('admin.reassign_conversations')) {\n        top += $('[data-inbox-away-mode-notifier]').outerHeight(true) || 0;\n      }\n\n      if (this.get('respondController.searchIsSelected')) {\n        top += $('.nav-vertical__search__wrapper').outerHeight(true) || 0;\n      }\n\n      if (this.get('app.canUseFree')) {\n        top += $('[data-inbox-inbox-essential-upgrade-banner]').outerHeight(true) || 0;\n      }\n\n      if (this.get('respondController.shouldShowTourBanner')) {\n        top += $('[data-inbox-tour-banner]').outerHeight(true) || 0;\n      }\n\n      if (this.get('respondController.missingShippingAddressBannerVisible')) {\n        top += $('.js__missing-address-banner').outerHeight(true) || 0;\n      }\n\n      return top;\n    },\n  ),\n  computedStyle: fmtStyle('top: %@px;', 'top'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\nimport { alias, or } from '@ember/object/computed';\nimport { inject as controller } from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport BaseStyleConversationController from 'embercom/controllers/base/conversation-style';\n\nexport default BaseStyleConversationController.extend({\n  pubsub: service(),\n  conversationsService: service(),\n  userCacheService: service('userCacheService'),\n\n  savedRepliesController: controller('apps/app/inbox/inbox/conversations/modals/saved-replies'),\n  taggingController: controller('apps/app/inbox/inbox/conversations/modals/tagging'),\n  redactPartController: controller('apps/app/inbox/inbox/conversations/modals/redact-part'),\n  conversation: alias('model'),\n\n  isSaving: false,\n  isTaggingModalOpen: alias('taggingController.isOpen'),\n  isSavedRepliesModalOpen: alias('savedRepliesController.isOpen'),\n  isRedactPartModalOpen: alias('redactPartController.isOpen'),\n  isModalOpen: or('isTaggingModalOpen', 'isSavedRepliesModalOpen', 'isRedactPartModalOpen'),\n\n  actions: {\n    addPart(part) {\n      this.conversationsService.addPartAndSave(\n        part.conversation,\n        part.type,\n        part.blocks,\n        part.uploads,\n        part.assignee,\n      );\n    },\n\n    tagLastUserComment() {\n      let taggingRoute = 'apps/app/inbox/inbox/conversations/modals/tagging';\n\n      if (this.get('app.canUseConversationLevelTagging')) {\n        // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n        this.send('openModal', taggingRoute, { taggable: this.conversation });\n      } else {\n        let lastUserPartWithBody = this.get('conversation.lastUserPartWithBody');\n        if (lastUserPartWithBody) {\n          // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n          this.send('openModal', taggingRoute, { taggable: lastUserPartWithBody });\n        }\n      }\n    },\n    tagUser() {\n      let firstParticipantId = this.get('conversation.participants.firstObject.id');\n      this.userCacheService.getUserAndRefreshCache(firstParticipantId).then(user => {\n        let taggingRoute = 'apps/app/users/segments/segment/modals/tagging';\n        // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n        this.send('openModal', taggingRoute, user, null, { taggable: user });\n      });\n    },\n    focusComposerTab(tab) {\n      if (this.conversationCard) {\n        this.conversationCard.send('focusComposerTab', tab);\n      }\n    },\n  },\n});\n","import { validator, buildValidations } from 'ember-cp-validations';\n\nconst Validations = buildValidations({\n  companyName: validator('presence', {\n    presence: true,\n    ignoreBlank: true,\n  }),\n  companyWebsite: validator('presence', {\n    presence: true,\n    ignoreBlank: true,\n  }),\n  companyDescription: [\n    validator('presence', {\n      presence: true,\n      ignoreBlank: true,\n    }),\n    validator('length', {\n      min: 1,\n      max: 500,\n    }),\n  ],\n  companySize: validator('presence', {\n    presence: true,\n  }),\n  fundingLevel: validator('presence', {\n    presence: true,\n  }),\n  partnerJoinDate: validator('presence', {\n    presence: true,\n  }),\n  yearFounded: validator('presence', {\n    presence: true,\n  }),\n  joinMonth: validator('presence', {\n    presence: true,\n  }),\n  joinYear: validator('presence', {\n    presence: true,\n  }),\n  intent: validator('presence', {\n    presence: true,\n  }),\n  intentOther: [\n    validator('presence', {\n      presence: true,\n    }),\n    validator('length', {\n      min: 1,\n      max: 250,\n    }),\n  ],\n});\n\nexport default Validations;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { alias } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nexport default Controller.extend({\n  queryParams: ['fromCompletedChecklist'],\n  currentChecklist: alias('guideController.currentChecklist'),\n  appController: controller('apps/app'),\n  app: alias('appController.model'),\n  checklists: alias('model'),\n  admin: alias('app.currentAdmin'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport { once, later } from '@ember/runloop';\nimport { computed } from '@ember/object';\nimport { defer } from 'rsvp';\nimport { reads, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller, { inject as controller } from '@ember/controller';\nimport getDefaultChartOptions from 'embercom/lib/default-chart-options';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport moment from 'moment';\n\nexport default Controller.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  appController: controller('apps/app'),\n  appsController: controller('apps'),\n  paywallService: service(),\n\n  app: reads('appController.model'),\n  admin: reads('appsController.model'),\n  queryParams: ['interval'],\n  interval: null,\n  isLoading: true,\n  trackingData: {},\n  isNotLoading: not('isLoading'),\n  product: null, // Set in subclass\n\n  onModelLoadComplete(failed) {\n    this.setProperties({\n      isLoading: false,\n      inflightRefresh: null,\n      hasModelLoadError: failed,\n    });\n  },\n  refreshModel() {\n    this.set('isLoading', true);\n\n    let inflightRefresh = this.inflightRefresh;\n\n    if (inflightRefresh) {\n      inflightRefresh.reject();\n    }\n\n    let deferred = defer();\n    deferred.promise\n      .then(model => {\n        this.onModelLoadComplete(false);\n        this.set('model', model.get('firstObject'));\n        this.trackPageLoad();\n      })\n      .catch(() => {\n        this.onModelLoadComplete(true);\n      });\n\n    let queryParams = this.refreshParams;\n\n    this.store\n      .query(this.modelName, queryParams)\n      .then(model => {\n        deferred.resolve(model);\n      })\n      .catch(e => {\n        deferred.reject();\n        if (e.jqXHR.status !== 404) {\n          this.notificationsService.notifyError('Error loading insights data.');\n        }\n      });\n    this.set('inflightRefresh', deferred);\n  },\n\n  refreshParams: computed('app.id', 'interval', function() {\n    return {\n      app_id: this.get('app.id'),\n      interval: this.interval,\n    };\n  }),\n\n  trackPageLoad() {},\n\n  timeIntervals: [\n    { label: 'Last 7 days', value: '7' },\n    { label: 'Last 28 days', value: '28' },\n    { label: 'Last 90 days', value: '90' },\n  ],\n\n  xAxisStep: computed('interval', function() {\n    let interval = this.interval;\n    if (interval === '90') {\n      return 14;\n    }\n    if (interval === '28') {\n      return 7;\n    }\n    return 1;\n  }),\n\n  conversationsChartOptions: computed(\n    'model.conversationsChartCategories',\n    'conversationsChartData',\n    'xAxisStep',\n    function() {\n      let chartOptions = getDefaultChartOptions();\n      chartOptions.plotOptions.series.stickyTracking = false;\n      chartOptions.plotOptions.series.fillColor = '#eaf3fa';\n      chartOptions.xAxis.categories = this.get('model.conversationsChartCategories');\n      chartOptions.xAxis.labels.maxStaggerLines = 1;\n      chartOptions.xAxis.labels.step = this.xAxisStep;\n      chartOptions.xAxis.labels.formatter = this._xAxisFormatter;\n      chartOptions.tooltip.formatter = this.tooltipFormatter;\n      return chartOptions;\n    },\n  ),\n\n  tooltipFormatter() {\n    throw new Error('not implemented');\n  },\n\n  _xAxisFormatter() {\n    return moment(this.value.date).format(dateAndTimeFormats.dateWithoutYear);\n  },\n\n  actions: {\n    showUpgrade() {\n      let productId = this.get('product.id');\n\n      this.paywallService\n        .open({\n          comment: `Insight Upsell - Product ID: ${productId}`,\n          productIds: [productId],\n          action: 'modify',\n        })\n        .catch(this.paywallService.handleError);\n    },\n    intervalChanged(newInterval) {\n      this.set('interval', newInterval);\n      once(this, this.refreshModel);\n      later(\n        this,\n        function() {\n          let trackingData = this.trackingData;\n          let productId = this.get('product.id');\n          this.intercomEventService.trackEvent(\n            'insights-change-interval',\n            Object.assign(\n              {\n                interval: this.interval,\n                product_id: productId,\n              },\n              trackingData,\n            ),\n          );\n        },\n        100,\n      );\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\nimport { computed } from '@ember/object';\nimport { inject as controller } from '@ember/controller';\nimport { mapPropertyBy } from '@intercom/embercom-core/lib/computed-properties';\nimport MessageModalController from 'embercom/controllers/base/modals/message';\nimport { inject as service } from '@ember/service';\nimport LegacySelectionState from 'embercom/models/legacy-selection-state';\n\nexport default MessageModalController.extend({\n  intercomEventService: service(),\n  applicationController: controller('application'),\n  messageTarget: 'company',\n  messageTargetPlural: 'companies',\n  trackMessageEvent() {\n    this.intercomEventService.trackEvent('company-message');\n  },\n  selectionState: computed('model', function() {\n    let model = this.model;\n    if (this.singleTarget) {\n      let remote_company_id = model.get('selected.firstObject.remote_company_id');\n      return LegacySelectionState.createFromRemoteCompanyId(remote_company_id);\n    } else {\n      return model;\n    }\n  }),\n  transformedSelectedTargets: mapPropertyBy('selectedTargetsPath', 'remote_company_id'),\n\n  selectionStateToApi: computed('selectionState', 'model.search', function() {\n    if (this.singleTarget) {\n      return this.singleSelectionToApi();\n    } else {\n      return this.selectionState.toApi();\n    }\n  }),\n\n  singleSelectionToApi() {\n    let singlePredicate = [\n      this.singleCompanyPredicate(this.get('model.selected.firstObject.remote_company_id')),\n    ];\n    return {\n      included_ids: [],\n      excluded_ids: [],\n      predicates: singlePredicate,\n    };\n  },\n\n  singleCompanyPredicate(remote_company_id) {\n    return {\n      attribute: 'company.remote_company_id',\n      type: 'string',\n      comparison: 'eq',\n      value: remote_company_id,\n    };\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { equal } from '@ember/object/computed';\nimport { computed, observer } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Controller from '@ember/controller';\nimport { templateString, ternary } from '@intercom/embercom-core/lib/computed-properties';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport BulkActionModal from 'embercom/controllers/mixins/users-and-companies/bulk-action-modal';\nimport ajax from 'embercom/lib/ajax';\nimport { default as inflector, default as pluralise } from 'embercom/lib/inflector';\nimport numberFormatter from 'embercom/lib/number-formatter';\n\nexport default Controller.extend(IntercomModal, BulkActionModal, {\n  pubsub: service(),\n  notificationsService: service(),\n\n  reset() {\n    this.setProperties({\n      isDeleting: false,\n      hasErrored: false,\n    });\n  },\n  modalTarget: 'person',\n  modalTargetPlural: computed('model.hasCount', 'model.count', 'modalTarget', function() {\n    let targetCount = this.get('model.hasCount') ? this.get('model.count') : 0;\n    return pluralise(this.modalTarget, targetCount);\n  }),\n  modalTargetPluralForLink: computed('modalTarget', 'modalTargetPlural', function() {\n    if (this.modalTarget === 'person') {\n      return 'users';\n    }\n    if (this.modalTarget === 'user') {\n      return 'users';\n    }\n    return this.modalTargetPlural;\n  }),\n  modalAction: 'delete',\n  onModelChange: observer({\n    dependentKeys: ['model'],\n\n    fn() {\n      this.reset();\n    },\n\n    sync: true,\n  }),\n  singleUserSelected: equal('model.selectedIDs.length', 1),\n  notificationMessage() {\n    let targetCount = this.get('model.hasCount')\n      ? this.get('model.count')\n      : 'An unknown number of ';\n    let notice = `It might take a minute or two for them to disappear from your ${pluralise(\n      this.modalTarget,\n    )} list.`;\n    if (this.get('model.hasCount')) {\n      return `You've deleted ${targetCount} ${this.modalTargetPlural}. ${notice}`;\n    } else {\n      return `${targetCount} ${this.modalTargetPlural} were deleted. ${notice}`;\n    }\n  },\n  deletionTargetText: computed('model.count', function() {\n    return inflector(\n      `this ${this.modalTarget} and their conversations`,\n      this.get('model.count'),\n      `${numberFormatter(this.get('model.count'))} ${\n        this.modalTargetPlural\n      } and their conversations`,\n    );\n  }),\n  deletingTargetTextWithRemoves: computed('model.count', function() {\n    return inflector(\n      `a ${this.modalTarget} removes`,\n      this.get('model.count'),\n      `${this.modalTargetPlural} removes`,\n    );\n  }),\n  doBulkDelete: true,\n  endpointForDeletion: ternary('doBulkDelete', 'bulk_delete', 'delete'),\n  submitUrl: templateString('/ember/${modalTargetPluralForLink}/${endpointForDeletion}.json'),\n  deleteParameters: computed('app', 'model', function() {\n    return JSON.stringify($.extend(this.model.toApi(), { app_id: this.get('app.id') }));\n  }),\n  actions: {\n    submit() {\n      this.set('isDeleting', true);\n      this.set('hasErrored', false);\n      let self = this;\n\n      ajax({\n        url: this.submitUrl,\n        type: 'POST',\n        data: this.deleteParameters,\n      }).then(\n        function() {\n          self.notificationsService.notifyConfirmation(self.notificationMessage());\n          self.send('decrementTargetCount');\n          self.get('pubsub').publish('reloadUserOrCompanyList');\n          self.reset();\n          self.send('closeModal');\n          self.send('deleteComplete');\n        },\n        function(jqXHR) {\n          self.processBulkActionFailure(jqXHR, 'isDeleting');\n        },\n      );\n    },\n    deleteComplete() {\n      //no-op - allows subclasses to hook in\n    },\n    decrementTargetCount() {\n      let countAttributeLabel = `app.${this.modalTarget}_count`;\n      let newTotal = this.get(countAttributeLabel) - this.get('model.count');\n      this.set(countAttributeLabel, newTotal);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { equal } from '@ember/object/computed';\nimport { observer } from '@ember/object';\nimport Controller from '@ember/controller';\nimport ajax from 'embercom/lib/ajax';\nimport pluralise from 'embercom/lib/inflector';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport { inject as service } from '@ember/service';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport BulkActionModal from 'embercom/controllers/mixins/users-and-companies/bulk-action-modal';\n\nexport default Controller.extend(IntercomModal, BulkActionModal, {\n  intercomEventService: service(),\n  notificationsService: service(),\n\n  reset() {\n    this.setProperties({\n      attributeExportMode: 'all',\n      isSaving: false,\n      hasErrored: false,\n    });\n  },\n  modalAction: 'export',\n  onModelChange: observer({\n    dependentKeys: ['model'],\n\n    fn() {\n      this.reset();\n    },\n\n    sync: true,\n  }),\n  allAttributesSelected: equal('attributeExportMode', 'all'),\n  notificationMessage() {\n    let targetCount = this.get('model.hasCount') ? this.get('model.count') : 'the selected';\n    let pluralisedTarget = pluralise(this.modalTarget, targetCount, this.modalTargetPlural);\n    return `You will be emailed a CSV of ${targetCount} ${pluralisedTarget}. At peak times this can take a few hours`;\n  },\n  submitUrl: '',\n  modalTarget: '',\n  modalTargetPlural: '',\n  actions: {\n    submit() {\n      this.intercomEventService.trackEvent('export-csv', {\n        action: 'exported',\n        object: 'csv',\n        place: 'users_and_companies',\n        owner: 'growth',\n        type: this.modalTargetPlural,\n      });\n      let self = this;\n      this.set('isSaving', true);\n      this.set('hasErrored', false);\n\n      ajax({\n        url: self.get('submitUrl'),\n        type: 'POST',\n        data: JSON.stringify(\n          $.extend(this.model.toApi(), {\n            app_id: this.get('app.id'),\n            all_attributes: this.allAttributesSelected,\n          }),\n        ),\n      }).then(\n        function() {\n          self.notificationsService.notifyConfirmation(self.notificationMessage());\n          self.reset();\n          self.send('closeModal');\n        },\n        function(jqXHR) {\n          self.processBulkActionFailure(jqXHR, 'isSaving');\n        },\n      );\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport { isArray } from '@ember/array';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { computed, observer } from '@ember/object';\nimport { alias, and, equal, gt, mapBy, not, notEmpty, or, reads } from '@ember/object/computed';\nimport Evented, { on } from '@ember/object/evented';\nimport { next, schedule } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport { isPresent } from '@ember/utils';\nimport {\n  jsonStringify,\n  selectFromObject,\n  subtractFrom,\n  subtractProperties,\n  templateString,\n  ternary,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport intermoji from '@intercom/intermoji';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport MessageEvents from 'embercom/controllers/mixins/message-events';\nimport ajax from 'embercom/lib/ajax';\nimport { LEAD_ROLE_PREDICATE, USER_ROLE_PREDICATE } from 'embercom/lib/default-predicates';\nimport FiltersToText from 'embercom/lib/filters-to-text';\nimport logComposerError from 'embercom/lib/log-composer-v2-error';\nimport LegacySelectionState from 'embercom/models/legacy-selection-state';\nimport Message from 'embercom/models/message';\nimport $ from 'jquery';\nimport { Promise as EmberPromise } from 'rsvp';\n\nexport default Controller.extend(Evented, IntercomModal, MessageEvents, {\n  intercomEventService: service(),\n  notificationsService: service(),\n  store: service(),\n  TARGET_ID_KEY: 'id',\n  segmentController: controller('apps/app/users/segments/segment'),\n  applicationController: controller('application'),\n  paywallService: service(),\n  warningMessage: 'Warning: You have made changes that have not yet been saved.',\n  segment: alias('segmentController'),\n  messageTarget: 'user',\n  messageTargetPlural: 'users',\n  modalAction: 'message',\n  blocks: [],\n  sendLabel: ternary('isSaving', 'Sending…', 'Send'),\n  jsonBlocks: jsonStringify('blocks'),\n  typePresetMappings: {\n    email: 'simpleComposerV2EmailPreset',\n    chat: 'simpleComposerV2InAppChatPreset',\n    'small-announcement': 'simpleComposerV2InAppAnnouncementPreset',\n    announcement: 'simpleComposerV2InAppBigAnnouncementPreset',\n  },\n  simpleComposerPreset: selectFromObject('typePresetMappings', 'type'),\n  isCreatingUserMessage: equal('messageTarget', 'user'),\n  isCreatingCompanyMessage: not('isCreatingUserMessage'),\n  isSimpleComposerUploading: false,\n  cannotUseMessenger: not('app.canUseMessenger'),\n  isSendingDisabled: or('isSaving', 'isSimpleComposerUploading'),\n  isEmojiPopoverOpen: false,\n  isComposerVideoPopoverOpen: false,\n  isMessageTypePopoverOpen: false,\n  isMessageStylePopoverOpen: false,\n  isSavedContentPopoverOpen: false,\n\n  shouldSendPushNotification: computed(\n    'isCreatingCompanyMessage',\n    'isEmailMessage',\n    'autoUseAdvancedComposer',\n    function() {\n      return (\n        !this.isCreatingCompanyMessage && !this.isEmailMessage && !this.autoUseAdvancedComposer\n      );\n    },\n  ),\n\n  targetedUsersCount: computed('selectionState.count', 'isCreatingCompanyMessage', function() {\n    return new EmberPromise(resolve => {\n      if (this.isCreatingCompanyMessage) {\n        this.companyUserCount.then(\n          function(response) {\n            resolve(response.count);\n          },\n          function() {\n            resolve(null);\n          },\n        );\n      } else {\n        resolve(this.get('selectionState.count'));\n      }\n    });\n  }),\n\n  companyUserCount: computed('selectionState.predicates', function() {\n    return ajax({\n      url: '/ember/users/count.json',\n      type: 'POST',\n      timeout: 40000,\n      data: JSON.stringify({\n        app_id: this.get('app.id'),\n        predicates: this.get('selectionState.predicates'),\n      }),\n    });\n  }),\n\n  isEmailMessage: equal('type', 'email'),\n  hasSubject: notEmpty('subject'),\n  firstSelectedUserIsContact: reads('model.selected.firstObject.is_anonymous'),\n  isTargetingLeads: or('segment.isTargetingLeads', 'firstSelectedUserIsContact'),\n  manualMessagingType: ternary('isTargetingLeads', 'contact_messaging', 'manual_messaging'),\n  type: 'chat',\n  deliveryOption: ternary('isEmailMessage', null, 'summary'),\n  defaultEmailTemplateId: reads('app.default_email_template_id'),\n  emailTemplateId: reads('defaultEmailTemplateId'),\n  emailTemplate: computed('emailTemplateId', function() {\n    return this.get('app.email_templates').findBy('id', this.emailTemplateId);\n  }),\n\n  reset() {\n    this.setProperties({\n      body: `${this.get('app.commentPlaceholder')}\\n`,\n      blocks: [{ type: 'paragraph', text: this.get('app.commentPlaceholder') }],\n      subject: '',\n      isSaving: false,\n      hasErrored: false,\n      type: 'chat',\n    });\n  },\n\n  shouldWarnOnNavigation: and('isOpen', 'hasBodyOrSubject'),\n\n  setWarningState: observer({\n    dependentKeys: ['isOpen', 'hasBody', 'hasSubject'],\n\n    fn() {\n      this.send('warnOnNavigation', this.shouldWarnOnNavigation);\n    },\n\n    sync: true,\n  }),\n\n  hasBody: computed('body', function() {\n    let body = $.trim(this.body);\n    let placeholder = this.get('app.commentPlaceholder');\n    return body !== placeholder;\n  }),\n\n  hasBodyOrSubject: or('hasBody', 'hasSubject'),\n\n  onModelChange: observer({\n    dependentKeys: ['model'],\n\n    fn() {\n      this.reset();\n    },\n\n    sync: true,\n  }),\n\n  trackMessageEvent() {\n    //intended to be overidden where appropriate\n  },\n\n  singleTarget: equal('model.selected.length', 1),\n\n  selectionState: computed('model', function() {\n    let model = this.model;\n    if (this.singleTarget) {\n      return LegacySelectionState.createFromId(\n        model.get(`selected.firstObject.${this.TARGET_ID_KEY}`),\n      );\n    } else {\n      return model;\n    }\n  }),\n\n  autoUseAdvancedComposer: gt('selectionState.count', 10),\n\n  countUndefined: computed('selectionState.count', function() {\n    return isNaN(this.get('selectionState.count'));\n  }),\n\n  totalCountWithoutUnselected: subtractProperties(\n    'selectionState.totalCount',\n    'selectionState.unselected.length',\n  ),\n  selectedTotalCount: ternaryToProperty(\n    'selectionState.isSelectAllMode',\n    'totalCountWithoutUnselected',\n    'model.selected.length',\n  ),\n\n  selectedUserIds: mapBy('model.selected', 'id'),\n\n  activeSelectedUsersCount: computed('model.selected', function() {\n    return this.get('model.selected').filterBy('isActive', true).length;\n  }),\n  inactiveSelectedUsersCount: computed('model.selected', function() {\n    return this.get('model.selected').filterBy('isActive', false).length;\n  }),\n\n  selectedUsersFromCache: computed('selectedUserIds', function() {\n    return this.selectedUserIds\n      .map(userId => this.store.peekRecord('user', userId))\n      .filter(user => isPresent(user));\n  }),\n  remainingUserCount: subtractFrom('model.selected.length', 1),\n\n  isBulkMessage: computed('selectionState.isSelectAllMode', function() {\n    return this.get('selectionState.isSelectAllMode') ? 1 : 0;\n  }),\n\n  selectedLabel: ternary('model.isSelectAllMode', 'unselected', 'selected'),\n  selectedTargetsPath: templateString('selectionState.${selectedLabel}'),\n\n  transformedSelectedTargets: computed('selectedTargetsPath', function() {\n    let selectedTargets = this.get(this.selectedTargetsPath).mapBy(this.TARGET_ID_KEY);\n    return selectedTargets.map(function(targetId) {\n      let targetObject = {};\n      targetObject[targetId] = 1;\n      return targetObject;\n    });\n  }),\n\n  createMessage() {\n    let bulk = this.isBulkMessage;\n\n    let targetedObjects = this.transformedSelectedTargets;\n    let messageData = {\n      message: {\n        message_type: this.type.toLowerCase(),\n        email_style: this.emailTemplateId,\n        body: this.body,\n        owner_id: this.get('admin.id'),\n        subject: this.subject,\n        show_unsubscribe_link: 1,\n      },\n      search: this.get('selectionState.search'),\n      redirect_to: `/a${this.get('applicationController.target.url')}`,\n    };\n    messageData[`targeted_${this.messageTargetPlural}`] = targetedObjects;\n    if (bulk) {\n      messageData.bulk = bulk;\n    }\n    return JSON.stringify(messageData);\n  },\n\n  messageData: computed('type', 'subject', 'body', 'selectionState', {\n    get() {\n      return this.createMessage();\n    },\n    set(key, value) {\n      return value;\n    },\n  }),\n\n  selectionStateToApi: computed('selectionState', 'isTargetingLeads', function() {\n    let hash = this.selectionState.toApi();\n    let rolePredicate = this.isTargetingLeads ? LEAD_ROLE_PREDICATE : USER_ROLE_PREDICATE;\n    if (!hash.predicates.includes(rolePredicate)) {\n      hash.predicates = [rolePredicate].concat(hash.predicates);\n    }\n    return hash;\n  }),\n\n  submitMessage() {\n    this.set('isSaving', true);\n    this.set('hasErrored', false);\n    this.postMessage().then(\n      message => {\n        this.trackMessageEvent();\n        this.notificationsService.notifyConfirmation('Your message is sending now.');\n        this.reset();\n        this.send('closeModal', { success: true });\n      },\n      response => {\n        if (isPresent(response.jqXHR) && response.jqXHR.status === 422) {\n          if (isArray(response.jqXHR.responseJSON.errors)) {\n            response.jqXHR.responseJSON.errors.forEach(error => {\n              this.notificationsService.notifyError(\n                `We couldn't send your message: ${error.message}`,\n              );\n            });\n          } else {\n            this.notificationsService.notifyError(\n              `We couldn't send your message: ${response.jqXHR.responseJSON.errors}`,\n            );\n          }\n        } else {\n          this.set('hasErrored', true);\n        }\n        this.set('isSaving', false);\n      },\n    );\n  },\n\n  postMessage() {\n    return new EmberPromise((resolve, reject) => {\n      this.targetedUsersCount.then(targetedUsersCount => {\n        let createdVia =\n          targetedUsersCount === 1\n            ? Message.CREATED_VIA_SIMPLE_COMPOSER_WITH_ONE_RECIPIENT\n            : Message.CREATED_VIA_SIMPLE_COMPOSER;\n\n        let data = Object.assign({}, this.selectionStateToApi, {\n          app_id: this.get('app.id'),\n          blocks: this.composerComponent.getBlocks(),\n          created_via: createdVia,\n          created_via_version: Message.CREATED_VIA_SIMPLE_COMPOSER_VERSION,\n          subject: this.subject,\n          count: targetedUsersCount,\n          message_type: this.type,\n          delivery_option: this.deliveryOption,\n          email_style: this.emailTemplateId,\n          company_message: this.isCreatingCompanyMessage,\n          send_push_notification: this.shouldSendPushNotification,\n        });\n\n        ajax({\n          url: '/ember/users/bulk_message.json',\n          type: 'POST',\n          data: JSON.stringify(data),\n        }).then(() => {\n          this._trackMessageToSmallUserCount(this.get('selectionState.count'), {\n            composer: 'simple-composer',\n            activeSelectedUsersCount: this.activeSelectedUsersCount,\n            inactiveSelectedUsersCount: this.inactiveSelectedUsersCount,\n          });\n          this.intercomEventService.trackEvent('simple-composer-sent', {\n            users: this.get('selectionState.count'),\n            targeting: this.isTargetingLeads ? 'leads' : 'users',\n          });\n          this._trackMessageFiltersOnSend();\n          resolve();\n        }, reject);\n      });\n    });\n  },\n\n  _trackMessageFiltersOnSend() {\n    if (\n      this.get('selectionState.included_ids.length') &&\n      this.get('selectionState.predicates.length') > 1\n    ) {\n      let filterDescriptions = this.get('selectionState.predicates').map(function(predicate) {\n        return `${predicate.attribute}  ${FiltersToText.getPredicateDescription(predicate)}`;\n      });\n      this.intercomEventService.trackEvent('filter-message-with-selection', {\n        count: this.get('selectionState.included_ids.length'),\n        filters: filterDescriptions.join(', '),\n      });\n    }\n  },\n\n  _focusOnSubject() {\n    if (!this.isDestroying) {\n      $('.simple-composer__input:first').focus();\n    }\n  },\n\n  setComposerFocus: on('didBecomeActive', function() {\n    schedule('afterRender', () => {\n      this.composerComponent.send('focus');\n    });\n  }),\n\n  setDefaultChannel: on('didBecomeActive', function() {\n    if (this.isTargetingLeads) {\n      this.send('setMessageChannel', 'email');\n    }\n  }),\n\n  actions: {\n    onComposerError(error) {\n      if (!error.recovered) {\n        this.notificationsService.notifyError('Hmmm, it looks like something went wrong.', -1);\n      }\n      logComposerError('Wizard', error, {\n        messageId: this.get('message.id'),\n        composerConfig: this.composerConfig,\n      });\n    },\n    submit() {\n      if (this.isSendingDisabled || this.cannotUseMessenger) {\n        return;\n      }\n      if (this.singleTarget) {\n        return this.submitMessage();\n      }\n      this.paywallService\n        .paywall({ featureName: this.manualMessagingType })\n        .then(this.submitMessage.bind(this))\n        .catch(this.paywallService.handleError);\n    },\n    toggleSavedContentPopover() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'opened_popover',\n        object: 'saved_content',\n      });\n      this.toggleProperty('isSavedContentPopoverOpen');\n    },\n    toggleComposerVideoPopover() {\n      this.toggleProperty('isComposerVideoPopoverOpen');\n    },\n    toggleMessageTypePopover() {\n      this.toggleProperty('isMessageTypePopoverOpen');\n    },\n    toggleMessageStylePopover() {\n      this.toggleProperty('isMessageStylePopoverOpen');\n    },\n    insertVideo(videoUrl) {\n      this.composerComponent.send('insertVideo', videoUrl);\n    },\n    insertSavedContent(savedContent) {\n      this.composerComponent.send('insertBlocks', savedContent.blocks.serialize());\n      this.toggleProperty('isSavedContentPopoverOpen');\n    },\n    uploadImage(files) {\n      this.composerComponent.send('uploadImage', files);\n    },\n    uploadAttachment(files) {\n      this.composerComponent.send('uploadAttachment', files);\n    },\n    insertEmoji(emojiIdentifier) {\n      let unicode = intermoji.unicodeFromIdentifier(emojiIdentifier);\n      this.composerComponent.send('paste', unicode, 'plain');\n      this.set('isEmojiPopoverOpen', false);\n    },\n    setMessageChannel(channel) {\n      this.set('type', channel);\n      if (channel === 'email') {\n        next(this, this._focusOnSubject);\n        this.admin.sendVerificationEmail();\n      }\n    },\n    setEmailTemplate(templateId) {\n      this.set('emailTemplateId', templateId);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\nimport { later } from '@ember/runloop';\nimport { observer, computed } from '@ember/object';\nimport { alias, equal, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Controller, { inject as controller } from '@ember/controller';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\nimport AdminObjectVisibility from 'embercom/components/mixins/admin-object-visibility';\n\nexport default Controller.extend(IntercomModal, AdminObjectVisibility, {\n  intercomEventService: service(),\n  notificationsService: service(),\n  appsController: controller('apps'),\n  admin: alias('appsController.model'),\n  appController: controller('apps/app'),\n  app: alias('appController.model'),\n\n  reset() {\n    this.setProperties({\n      newSegmentName: null,\n      currentSegment: this.model,\n      newSegment: 'true',\n      isSaving: false,\n    });\n  },\n\n  onModelChange: observer({\n    dependentKeys: ['model'],\n\n    fn() {\n      this.reset();\n    },\n\n    sync: true,\n  }),\n\n  newNameAlreadyExists: computed('newSegmentName', function() {\n    let userDefinedSegmentNames = this.get('app.segments')\n      .filter(function(segment) {\n        return !segment.get('isPredefined');\n      })\n      .map(function(segment) {\n        return segment.get('name');\n      });\n    return userDefinedSegmentNames.includes(this.newSegmentName);\n  }),\n\n  isNew: equal('newSegment', 'true'),\n  isExisting: not('isNew'),\n\n  isValid: computed('isNew', 'newSegmentName', function() {\n    if (this.isNew) {\n      let name = this.newSegmentName;\n      let nameHasValue = name !== null && name.length;\n\n      return nameHasValue && !this.newNameAlreadyExists;\n    } else {\n      return true;\n    }\n  }),\n\n  isInvalid: not('isValid'),\n\n  errorMessage: computed('errors', function() {\n    let errorMsg = this.errors[0].detail;\n    if (\n      errorMsg &&\n      errorMsg.includes('There are too many filters or nested segments in this segment')\n    ) {\n      return 'The segment you are trying to create is too complex.';\n    }\n    return 'An error occurred while saving this segment, please try again.';\n  }),\n\n  notificationMessage() {\n    let name = this.isNew ? this.newSegmentName : this.get('currentSegment.name');\n    let verb = this.isNew ? 'created' : 'updated';\n    return `The segment ‘${name}’ was successfully ${verb}`;\n  },\n\n  trackSegmentCreatedEvent(segment) {\n    let eventType = this.is_company ? 'company' : 'user';\n    this.intercomEventService.trackEvent(`${eventType}-segment-created`);\n    this.intercomEventService.trackAnalyticsEvent({\n      action: this.isNew ? 'created' : 'edited',\n      object: segment,\n    });\n  },\n\n  actions: {\n    submit() {\n      let isNew = this.isNew;\n      let self = this;\n      this.set('isSaving', true);\n      self.set('hasErrored', false);\n\n      let segment = this.model;\n      if (isNew) {\n        let { app_id, is_company, predicates } = segment;\n        segment = this.store.createRecord('segment', {\n          name: this.newSegmentName,\n          app_id,\n          is_company,\n          predicates,\n        });\n      }\n\n      segment.save().then(\n        function() {\n          self.trackSegmentCreatedEvent(segment);\n          self.notificationsService.notifyConfirmation(self.notificationMessage());\n          if (isNew) {\n            self\n              .get('app.segments')\n              .toArray()\n              .pushObject(segment);\n            self.send('showSegment', segment);\n            self.addSegmentIdsToAdminsVisibleSegmentIds([segment.get('id')]);\n          }\n          self.reset();\n          self.send('closeModal');\n        },\n        function(response) {\n          let errors = response.jqXHR.responseJSON.errors;\n          later(function() {\n            self.set('errors', errors);\n            self.set('hasErrored', true);\n            self.set('isSaving', false);\n          }, 1000);\n        },\n      );\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport Controller, { inject as controller } from '@ember/controller';\nimport { computed, observer } from '@ember/object';\nimport { alias, equal, not, sort } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport IntercomModal from 'embercom/controllers/mixins/intercom-modal';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport BulkActionModal from 'embercom/controllers/mixins/users-and-companies/bulk-action-modal';\nimport ajax from 'embercom/lib/ajax';\nimport pluralise from 'embercom/lib/inflector';\nimport $ from 'jquery';\n\nexport default Controller.extend(IntercomModal, BulkActionModal, {\n  store: service(),\n  intercomEventService: service(),\n  notificationsService: service(),\n  appsController: controller('apps'),\n  admin: alias('appsController.model'),\n  tagSorting: ['name'],\n  sortedTags: sort('app.tags', 'tagSorting'),\n  modalTarget: 'person',\n  modalTargetPlural: computed('model.hasCount', 'model.count', 'modalTarget', function() {\n    let targetCount = this.get('model.hasCount') ? this.get('model.count') : 0;\n    return pluralise(this.modalTarget, targetCount);\n  }),\n  modalAction: 'tag',\n  reset() {\n    this.setProperties({\n      newTagName: null,\n      existingTagName: this.get('sortedTags.firstObject.name'),\n      newTag: 'true',\n      isSaving: false,\n      hasErrored: false,\n    });\n  },\n  onModelChange: observer({\n    dependentKeys: ['model'],\n\n    fn() {\n      this.reset();\n    },\n\n    sync: true,\n  }),\n  isNew: equal('newTag', 'true'),\n  isExisting: not('isNew'),\n  addNewTagToApp(tag) {\n    if (this.isNew) {\n      this.store.pushPayload({ tag });\n      let tagRecord = this.store.peekRecord('tag', tag.id);\n      this.get('app.tags').pushObject(tagRecord);\n      this._trackEvent('tag-created', 'created', 'user-company', 'user-company-list', 'growth');\n    }\n  },\n  notificationMessage() {\n    let targetCount = this.get('model.hasCount')\n      ? this.get('model.count')\n      : 'An unknown number of ';\n    if (\n      this.get('model.hasCount') &&\n      this.get('model.count') < 200 &&\n      this.get('model.isNotSelectAllMode')\n    ) {\n      return `${targetCount} ${this.modalTargetPlural} tagged with ${this.selectedTagName}`;\n    } else {\n      return `${targetCount} ${this.modalTargetPlural} will be tagged with ${this.selectedTagName}. At peak times this could take a few hours`;\n    }\n  },\n  selectedTagName: computed('isNew', 'newTagName', 'existingTagName', function() {\n    if (this.isNew) {\n      let tagName = this.newTagName || '';\n      return tagName.trim().replace(',', '');\n    } else {\n      return this.existingTagName;\n    }\n  }),\n  isInvalid: not('selectedTagName'),\n  makeTagVisibleToAdmin(tag) {\n    if (this.isNew) {\n      this.admin.addTagIdsToAdminsVisibleTagIds([tag.id]);\n    }\n  },\n  handleSuccess(tag, selectedIds) {\n    this.addNewTagToApp(tag);\n    this.makeTagVisibleToAdmin(tag);\n    this.notificationsService.notifyConfirmation(this.notificationMessage());\n    this.reset();\n    this.send('closeModal', false);\n    this._trackEvent(\n      'user-company-tagged',\n      'tagged',\n      'user-company',\n      'user-company-list',\n      'growth',\n      { user_company_ids: selectedIds },\n    );\n  },\n  handleError(jqXHR) {\n    this.processBulkActionFailure(jqXHR, 'isSaving');\n  },\n  _trackEvent(name, action, object, place, owner, additionalMetadata) {\n    let metadata = {\n      action,\n      object,\n      place,\n      owner,\n    };\n\n    Object.assign(metadata, additionalMetadata);\n    this.intercomEventService.trackEvent(name, metadata);\n  },\n  actions: {\n    closeModal() {\n      return true;\n    },\n    submit() {\n      this.set('isSaving', true);\n      this.set('hasErrored', false);\n      let selectedIds = this.get('model.selectedIDs');\n\n      ajax({\n        url: this.tagEndpoint,\n        type: 'POST',\n        data: JSON.stringify(\n          $.extend(this.model.toApi(), {\n            app_id: this.get('app.id'),\n            tag_name: this.selectedTagName,\n          }),\n        ),\n      }).then(tag => {\n        this.handleSuccess(tag, selectedIds);\n      }, this.handleError.bind(this));\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport { or } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport Evented from '@ember/object/evented';\nimport Controller from '@ember/controller';\nimport SearchModel from 'embercom/models/search';\nimport SegmentService from 'embercom/lib/segments/segment-service';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Controller.extend(Evented, {\n  queryParams: ['searchTerm'],\n  searchTerm: '',\n  showSearch: false,\n  searchActive: or('showSearch', 'search.hasValue'),\n\n  segmentRoutePath: notImplemented(),\n\n  allSegment: computed('segment', function() {\n    return SegmentService.findAllSegmentFromList(this.model, this.segment);\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.set(\n      'search',\n      SearchModel.create({\n        queryParams: this,\n      }),\n    );\n  },\n\n  actions: {\n    exitSearch() {\n      if (!this.get('search.hasValue') && !this.searchActive) {\n        return;\n      }\n      this.set('showSearch', false);\n      this.set('searchTerm', '');\n      this.search.reset();\n    },\n    doSearch(searchItem) {\n      let searchTerm = searchItem.get('isStandardSearch')\n        ? searchItem.get('name')\n        : `tag: ${searchItem.get('name')}`;\n      this.transitionToRoute(this.segmentRoutePath, this.get('allSegment.identifier'), {\n        queryParams: { searchTerm },\n      });\n    },\n    toggleSearch() {\n      if (this.searchActive) {\n        return this.send('exitSearch');\n      }\n\n      this.set('showSearch', true);\n      if (this.get('segment.hasDirtyAttributes')) {\n        this.segment.rollbackAttributes();\n      }\n\n      this.transitionToRoute(this.segmentRoutePath, this.get('allSegment.identifier'));\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { valueOrDefault } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Controller.extend({\n  queryParams: ['json'],\n  componentsJson: valueOrDefault(\n    'json',\n    `[\n{\n  \"type\": \"text\",\n  \"text\": \"*Create a ticket*\",\n  \"style\": \"header\"\n},\n{\n  \"type\": \"input\",\n  \"id\": \"title\",\n  \"label\": \"Title\",\n  \"placeholder\": \"Enter a title for your issue...\"\n},\n{\n  \"type\": \"textarea\",\n  \"id\": \"description\",\n  \"label\": \"Description\",\n  \"placeholder\": \"Enter a description of the issue...\"\n},\n{\n  \"type\": \"dropdown\",\n  \"id\": \"label\",\n  \"label\": \"Label\",\n  \"options\": [\n    {\n      \"type\": \"option\",\n      \"id\": \"bug\",\n      \"text\": \"Bug\"\n    },\n    {\n      \"type\": \"option\",\n      \"id\": \"feedback\",\n      \"text\": \"Feedback\"\n    }\n  ]\n},\n{\n  \"type\": \"single-select\",\n  \"id\": \"priority\",\n  \"label\": \"Priority\",\n  \"options\": [\n    {\n      \"type\": \"option\",\n      \"id\": \"low\",\n      \"text\": \"Low\"\n    },\n    {\n      \"type\": \"option\",\n      \"id\": \"medium\",\n      \"text\": \"Medium\"\n    },\n    {\n      \"type\": \"option\",\n      \"id\": \"high\",\n      \"text\": \"High\"\n    }\n  ]\n},\n{\n  \"type\": \"spacer\",\n  \"size\": \"s\"\n},\n{\n  \"type\": \"button\",\n  \"id\": \"submit-issue-form\",\n  \"label\": \"Create issue\",\n  \"style\": \"primary\",\n  \"action\": {\n    \"type\": \"submit\"\n  }\n}\n]`,\n  ),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { oneWay } from '@ember/object/computed';\n\nexport default Controller.extend({\n  queryParams: ['json', 'previewStyle', 'hideEditor'],\n  componentsJson: oneWay('json'),\n  hideEditor: false,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { alias } from '@ember/object/computed';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { inject as service } from '@ember/service';\nexport default Controller.extend({\n  appsController: controller('apps'),\n  appController: controller('apps/app'),\n  app: alias('appController.model'),\n  paywallService: service(),\n\n  onSuccess() {},\n\n  actions: {\n    paywall(featureName, planId) {\n      return this.paywallService\n        .paywall({\n          featureName,\n          planId,\n          comment: 'feature upgrade prompt',\n        })\n        .then(() => {\n          this.onSuccess();\n          this.featureUpgradePromptComponent.send('hide');\n        })\n        .catch(this.paywallService.handleError);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\nimport { CONNECTION_POINTS } from 'embercom/routes/graph-demo';\nimport { action } from '@ember/object';\n\nexport default class GraphDemoController extends Controller {\n  connectionPoints = CONNECTION_POINTS;\n\n  @action deleteEdge(edge) {\n    this.model.deleteEdge(edge);\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\nimport { notEmpty, or, not, reads, gt, and, alias, equal, readOnly } from '@ember/object/computed';\nimport { debounce } from '@ember/runloop';\nimport Controller from '@ember/controller';\nimport { includes, ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport ajax from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\nimport { getDomainName } from 'embercom/lib/email';\nimport { computed, observer } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { htmlSafe } from '@ember/string';\n\nexport default Controller.extend({\n  notificationsService: service(),\n  store: service(),\n  queryParams: [\n    'token',\n    {\n      enterpriseEmail: 'enterprise_email',\n    },\n  ],\n  token: null,\n  enterpriseEmail: null,\n  isEnterprise: notEmpty('enterpriseEmail'),\n  invitedFromHomeInstallMessenger: equal(\n    'invite.onboardingHomeStepIdentifier',\n    'install_messenger',\n  ),\n  untrackedCdas: null,\n\n  email: or('invite.email', 'enterpriseEmail'),\n\n  heading: computed('invite.{active,appName,isEmailInvite}', 'atMaxTeammates', function() {\n    if (this.get('invite.active') && !this.atMaxTeammates) {\n      if (this.isEmailInvite) {\n        if (this.isEnterprise) {\n          return 'Get started with Intercom';\n        }\n        return `Join your team at ${this.get('invite.appName')}`;\n      } else if (this.invitedFromHomeInstallMessenger) {\n        return `${this.senderFirstNameOrEmail} invited you to join the ${this.get(\n          'invite.appName',\n        )} team on Intercom.`;\n      } else {\n        return 'Your help is needed to set up Intercom';\n      }\n    }\n  }),\n\n  subHeading: computed(\n    'invite.{active,appName}',\n    'senderFirstNameOrEmail',\n    'atMaxTeammates',\n    function() {\n      if (this.get('invite.active') && !this.atMaxTeammates) {\n        if (this.invitedFromHomeInstallMessenger) {\n          return htmlSafe(\n            \"<p class='u__mb__10'>Your team is nearly ready to connect with your customers &mdash; all that's left is to install your Messenger.</p><p>Join now and add your Messenger to your website or app.</p>\",\n          );\n        } else {\n          return `${this.senderFirstNameOrEmail} invited you to join the ${this.get(\n            'invite.appName',\n          )} team on Intercom.`;\n        }\n      }\n    },\n  ),\n\n  atMaxTeammates: readOnly('invite.appAtMaxTeammates'),\n  isAnnuallyContracted: readOnly('invite.appIsAnnuallyContracted'),\n\n  avatarData: computed('invite.senderAvatar', function() {\n    return { url: this.invite.senderAvatar, isTeammate: true };\n  }),\n\n  blockHeading: ternary(\n    'isInactive',\n    'This invite has expired.',\n    'There are no more available seats on your plan.',\n  ),\n\n  blockSubHeading: computed('isAnnuallyContracted', 'invite.appName', 'isInactive', function() {\n    if (this.isInactive) {\n      return `Ask one of your teammates for a new invitation to join the ${this.invite.appName} team, or log in with an existing profile.`;\n    }\n\n    return this.isAnnuallyContracted\n      ? `Consult with your relationship manager to add more.`\n      : `Ask one of your teammates to upgrade your subscription so you can join the ${this.invite.appName} team.`;\n  }),\n\n  department: 'Unknown',\n  companySize: 'Unknown',\n  currentAdmin: null,\n  adminAlreadyOnApp: null,\n  adminNotAlreadyOnApp: not('adminAlreadyOnApp'),\n  errors: null,\n\n  invite: reads('model.invite'),\n  isEmailInvite: reads('invite.isEmailInvite'),\n  hasCustomDataAttributes: reads('invite.hasCustomDataAttributes'),\n  isInactive: not('invite.active'),\n  isNotRevoked: not('inviteLink.revoked'),\n  teammates: reads('invite.teammates'),\n  showTeammates: gt('invite.teammates.length', 1),\n  isTask: readOnly('hasCustomDataAttributes'),\n\n  readyToCreateAccount: and('name', 'email', 'password', 'termsOfServiceAccepted'),\n  notReadyToCreateAccount: not('readyToCreateAccount'),\n  accountCreationDisabled: or('notReadyToCreateAccount', 'createAccountAndTransition.isRunning'),\n\n  authorizedSignInGoogleOauth2: includes('invite.authorizedSignInMethods', 'google_oauth2'),\n  isGoogleSSOOnly: computed(\n    'invite.authorizedSignInMethods',\n    'authorizedSignInGoogleOauth2',\n    function() {\n      return (\n        this.get('invite.authorizedSignInMethods.length') === 1 && this.authorizedSignInGoogleOauth2\n      );\n    },\n  ),\n  emailPasswordAllowed: includes('invite.authorizedSignInMethods', 'email_password'),\n  twoFAAuthAllowed: includes('invite.authorizedSignInMethods', 'email_password_otp'),\n  authorizedSignInSaml: includes('invite.authorizedSignInMethods', 'saml'),\n  authorizedSignInEmailPassword: or('emailPasswordAllowed', 'twoFAAuthAllowed'),\n  isSamlOnlyLegacyCustomer: computed(\n    'invite.authorizedSignInMethods',\n    'authorizedSignInSaml',\n    'invite.samlAccountName',\n    function() {\n      return (\n        this.get('invite.authorizedSignInMethods.length') === 1 &&\n        this.authorizedSignInSaml &&\n        !this.invite.samlAccountName\n      );\n    },\n  ),\n\n  nameError: alias('errors.name'),\n  emailError: alias('errors.admin.email'),\n  passwordError: alias('errors.password'),\n  termsOfServiceError: alias('errors.terms_of_service'),\n  isEmailTaken: equal('errors.email', 'Email has already been taken'),\n  personalEmailDomain: false,\n\n  signInWithRedirectUrl: computed('token', function() {\n    let protocol = window.location.protocol;\n    let host = window.location.host;\n    let redirectUrl = encodeURIComponent(`${protocol}//${host}/a/invite?token=${this.token}`);\n\n    return `/admins/sign_in?redirect_url=${redirectUrl}`;\n  }),\n\n  redirectUrlForSignIn: computed('token', function() {\n    return encodeURIComponent(`${window.location.origin}/a/invite?token=${this.token}`);\n  }),\n\n  senderFirstNameOrEmail: computed('invite.senderName', function() {\n    let senderName = this.get('invite.senderName');\n    return senderName ? senderName.split(' ')[0] : this.get('invite.senderEmail');\n  }),\n\n  senderFirstNameAndEmail: computed('invite.senderName', 'invite.senderEmail', function() {\n    let senderName = this.get('invite.senderName');\n\n    return senderName\n      ? `${senderName.split(' ')[0]} (${this.get('invite.senderEmail')})`\n      : this.get('invite.senderEmail');\n  }),\n\n  senderEmailFirstCharacter: computed('invite.senderEmail', function() {\n    let senderEmail = this.get('invite.senderEmail');\n    return senderEmail ? senderEmail[0] : '';\n  }),\n\n  checkEmailDomainDebounce: observer({\n    dependentKeys: ['email'],\n\n    fn() {\n      debounce(this, this.checkEmailDomain, 500);\n    },\n\n    sync: true,\n  }),\n\n  checkEmailDomain() {\n    let params = {\n      url: '/marketing_onboarding/signups/personal_email_domain',\n      type: 'GET',\n      data: {\n        domain: getDomainName(this.email),\n      },\n    };\n\n    ajax(params).then(response => this.set('personalEmailDomain', response.personal_email_domain));\n  },\n\n  currentAdminAvatarUrl: reads('currentAdmin.avatar.image_urls.square_128'),\n\n  addAdminToApp() {\n    return ajax({\n      type: 'PUT',\n      url: `/ember/invites/${this.token}/redeem`,\n    });\n  },\n\n  createAccountAndTransition: task(function*(formData, handleCreationError) {\n    let admin = this.store.createRecord('admin', {\n      name: formData.name,\n      email: formData.email,\n      password: formData.password,\n      department: formData.department,\n      companySize: formData.companySize,\n      terms_of_service: true,\n      invite_token: this.token,\n    });\n\n    try {\n      yield admin.save();\n    } catch (response) {\n      return handleCreationError(response);\n    }\n\n    yield this.addAdminToApp();\n\n    return this.send('hardRedirectToGuide', this.invite);\n  }),\n\n  addAdminToAppAndRedirect: task(function*() {\n    try {\n      yield this.addAdminToApp();\n    } catch (_) {\n      this.notificationsService.notifyError('Unable to add you');\n    }\n\n    this.send('hardRedirectToGuide', this.invite);\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly } from '@ember/object/computed';\nimport Controller from '@ember/controller';\nexport default Controller.extend({\n  calendar: readOnly('model.calendar'),\n  duration: readOnly('model.duration'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-deeply-nested-dependent-keys-with-each */\n/* eslint-disable ember/no-new-mixins */\n/* eslint-disable ember/no-jquery */\nimport { inject as service } from '@ember/service';\nimport { debounce } from '@ember/runloop';\nimport $ from 'jquery';\nimport { computed } from '@ember/object';\nimport { alias, gt, sort } from '@ember/object/computed';\nimport { on } from '@ember/object/evented';\nimport Mixin from '@ember/object/mixin';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport pluralise from 'embercom/lib/inflector';\nimport ENV from 'embercom/config/environment';\n\nlet SavedReplySearch = Mixin.create({\n  appService: service(),\n  app: alias('appService.app'),\n  savedReplySearchService: service(),\n  savedReplyFilterQuery: '',\n  somethingTyped: gt('savedReplyFilterQuery.length', 0),\n  sortedReplies: sort('replies', 'repliesSortKey'),\n  repliesSortKey: ['name'],\n  searchResults: [],\n  initSearchResults: on('init', function() {\n    this.set(\n      'searchResults',\n      this.savedReplySearchService.searchUsingRegex(this.sortedReplies, ''),\n    );\n  }),\n  filteredReplies: computed(\n    'sortedReplies.@each.{isNew,name,summary,admin.name}',\n    'savedReplyFilterQuery',\n    'searchResults',\n    'initSearchResults',\n    function() {\n      return this.savedReplySearchService.searchUsingRegex(\n        this.sortedReplies,\n        this.savedReplyFilterQuery,\n      );\n    },\n  ),\n\n  hasFilteredSavedReplies: gt('filteredReplies.length', 0),\n  searchPlaceHolderText: templateString('${filteredReplies.length} ${repliesLabel}…'),\n  repliesLabel: computed('filteredReplies.length', function() {\n    return pluralise('reply', this.get('filteredReplies.length'), 'replies');\n  }),\n\n  setFilterQuery(value) {\n    if (this.isDestroying) {\n      return;\n    }\n    this.intercomEventService.trackEvent('analytics-event', {\n      owner: 'inbox',\n      action: 'searched',\n      object: 'saved_reply',\n      place: 'inbox',\n      context: 'saved_reply_inserter',\n      searched_from: this.analyticsContext,\n    });\n    this.set('savedReplyFilterQuery', value);\n    this.updateSavedReplyFilterQuery(value);\n  },\n\n  updateSavedReplyFilterQuery(query) {\n    this.set('savedReplyFilterQuery', query);\n    let results = this.savedReplySearchService.searchUsingRegex(this.sortedReplies, query);\n    this.set('searchResults', results);\n  },\n\n  actions: {\n    clearSearch() {\n      this.set('savedReplyFilterQuery', '');\n      $('.m__saved-replies__list-item__search-input')\n        .val('')\n        .focus();\n    },\n    updateSearch(value) {\n      debounce(this, this.setFilterQuery, value, ENV.APP._200MS, false);\n    },\n  },\n});\n\nexport default SavedReplySearch;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport Mixin from '@ember/object/mixin';\nexport default Mixin.create({\n  canCloseModal: true,\n  actions: {\n    closeIntercomModal() {\n      this.send('closeModal');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { inject as service } from '@ember/service';\nimport Mixin from '@ember/object/mixin';\nexport default Mixin.create({\n  intercomEventService: service(),\n  _trackMessageToSmallUserCount(count, metadata) {\n    let type = '';\n    if (count === 1) {\n      type = 'single';\n    } else if (count > 1 && count <= 20) {\n      type = '2-to-20';\n    } else if (count > 20 && count <= 50) {\n      type = '21-to-50';\n    } else {\n      return;\n    }\n    let eventName = `message-to-${type}-user${type === 'single' ? '' : 's'}`;\n    this.intercomEventService.trackEvent(eventName, metadata);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { A } from '@ember/array';\nimport Mixin from '@ember/object/mixin';\nimport { isPresent } from '@ember/utils';\nimport { task } from 'ember-concurrency';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Mixin.create({\n  isLoading: ternaryToProperty('localSortEnabled', 'query.isLoading', 'queryTask.isRunning'),\n\n  _changeSortDirection() {\n    let alternateSortDirection = this.alternateSortingDirection;\n    this.set('sort_direction', alternateSortDirection);\n    if (this.localSortEnabled) {\n      this.set('query.sort_direction', alternateSortDirection);\n    }\n  },\n\n  _requestPayload() {\n    let payload = {\n      type: this.type,\n      state: this.state,\n      sort_by: this.sort_by,\n      sort_direction: this.sort_direction,\n      page: this.pageCount,\n      per_page: 25,\n    };\n    if (this.search_term) {\n      payload.search_term = this.search_term;\n    }\n    if (this.admin_id) {\n      payload.from_id = this.admin_id;\n    }\n    if (this.inFolderView && this.folderId) {\n      payload.message_group_id = this.folderId;\n    }\n    if (this.created_via) {\n      payload.created_via = this.created_via;\n    }\n    return payload;\n  },\n\n  nextPageTask: task(function*() {\n    if (this.hasNotLoadedAllRemoteData) {\n      this.incrementProperty('pageCount');\n      yield this.queryTask.perform();\n    }\n  }).drop(),\n\n  queryTask: task(function*() {\n    let nextPageOfMessages = yield this.store.query('message', this._requestPayload());\n    this.set('totalMessages', nextPageOfMessages.meta.total_count);\n    this.model.pushObjects(nextPageOfMessages.toArray());\n  }).drop(),\n\n  localSort(columnName) {\n    this.model.sortBy(`${columnName}:${this.sort_direction}`);\n  },\n\n  sortTask: task(function*(columnName) {\n    this.set('sortableStat', null);\n    if (this.sort_by === columnName) {\n      this._changeSortDirection();\n    } else {\n      this.setProperties({\n        sort_by: columnName,\n        sort_direction: 'desc',\n      });\n    }\n    this.setProperties({\n      model: A(),\n      pageCount: 1,\n    });\n    yield this.queryTask.perform();\n  }),\n\n  updateQueryParams(searchItem) {\n    let fromId = searchItem.get('id');\n    if (fromId) {\n      this.setProperties({\n        admin_id: fromId,\n        search_term: '',\n      });\n    } else if (isPresent(searchItem.name)) {\n      this.setProperties({\n        admin_id: '',\n        search_term: searchItem.name,\n      });\n    } else {\n      this.setProperties({\n        admin_id: '',\n        search_term: '',\n      });\n    }\n  },\n\n  searchTask: task(function*() {\n    this.setProperties({\n      pageCount: 1,\n      model: [],\n    });\n    yield this.queryTask.perform();\n  }).restartable(),\n\n  actions: {\n    doSearch(searchItem) {\n      this.updateQueryParams(searchItem);\n      this.searchTask.perform();\n    },\n    resetSearch() {\n      this.setProperties({\n        search_term: '',\n        admin_id: '',\n      });\n      this.searchTask.perform();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport Mixin from '@ember/object/mixin';\nimport { inject as service } from '@ember/service';\nimport { MESSAGE_DATA_EXPORT_CONSTANTS } from 'embercom/lib/messages/message-data-export-constants';\n\nexport default Mixin.create({\n  intercomEventService: service(),\n  permissionsService: service(),\n\n  actions: {\n    openExportModal(folderId, state) {\n      if (this.permissionsService.currentAdminCan('can_export_data')) {\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'exported',\n          object: 'csv',\n          place: 'folder',\n          owner: 'messages',\n        });\n        // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n        this.send('openModal', 'apps/app/outbound/message-data-export-modal', {\n          exportType: MESSAGE_DATA_EXPORT_CONSTANTS.folderExportType,\n          folderId,\n          folderState: state,\n          exportFlag: 'engage',\n        });\n      } else {\n        this.permissionsService.loadAllAdminsAndShowPermissionRequestModal('can_export_data');\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { computed } from '@ember/object';\nimport { or, empty, and, notEmpty } from '@ember/object/computed';\nimport Mixin from '@ember/object/mixin';\nimport {\n  changeGate,\n  templateString,\n  ternaryToProperty,\n  trim,\n} from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Mixin.create({\n  search_term: '',\n  admin_id: '',\n  isSearch: or('hasAdminId', 'hasSearchTerm'),\n  searchPageTitle: templateString('Search results for \"${searchTermOrAdminName}\"'),\n  searchTermOrAdminName: ternaryToProperty(\n    'hasAdminId',\n    'searchTermInputFromAdminId',\n    'trimmedSearchTerm',\n  ),\n  adminIdIsEmpty: empty('admin_id'),\n  searchTermIsEmpty: empty('search_term'),\n  searchTermAndAdminIdAreEmpty: and('adminIdIsEmpty', 'searchTermIsEmpty'),\n  trimmedSearchTerm: trim('search_term'),\n  gatedSearchTerm: changeGate('trimmedSearchTerm', { sync: true }),\n  hasSearchTerm: notEmpty('gatedSearchTerm'),\n  hasAdminId: notEmpty('admin_id'),\n  searchTermInputFromAdminId: computed('admin_id', 'app.admins', function() {\n    if (this.get('app.admins')) {\n      return this.get('app.admins')\n        .findBy('id', this.admin_id)\n        .get('name');\n    }\n  }),\n  resetSearchTermInput() {\n    let searchTerm = this.search_term;\n    let adminId = this.admin_id;\n    let searchTermInput;\n    if (adminId) {\n      searchTermInput = `From: ${this.searchTermInputFromAdminId}`;\n    } else {\n      searchTermInput = searchTerm;\n    }\n    this.set('search_term_input', searchTermInput);\n  },\n  actions: {\n    resetSearchTerm() {\n      this.setProperties({\n        search_term_input: '',\n        search_term: '',\n        admin_id: '',\n      });\n      this.reset();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { equal, not, or, and } from '@ember/object/computed';\nimport { on } from '@ember/object/evented';\nimport Mixin from '@ember/object/mixin';\nimport {\n  greaterThanProperty,\n  lessThanProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\n\nlet NumberPagination = Mixin.create({\n  numberPaginationSetup: on('init', function() {\n    this.setProperties({\n      page: 1,\n      isLoading: false,\n      isPaginating: false,\n      hasErrored: false,\n    });\n  }),\n  reload() {\n    if (this.isDestroying) {\n      return;\n    }\n    let isSelectAllMode = this.isSelectAllMode;\n    this.trigger('reset');\n    this.loadPage(1);\n    this.setProperties({\n      isLoading: true,\n      isSelectAllMode,\n    });\n  },\n  finishedLoading() {\n    this.setProperties({\n      isSorting: false,\n      isLoading: false,\n      isPaginating: false,\n      hasErrored: false,\n    });\n  },\n  hasLargeCount: equal('totalCount', undefined),\n  isNotPaginating: not('isPaginating'),\n  allLoaded: greaterThanProperty('totalCount', 'model.length'),\n  allLoadedOrCountUnavailable: or('allLoaded', 'hasLargeCount'),\n  shouldPageWithPageInformation: and('shouldPageWhenNotPagintatingOrUnavailable', 'hasMorePages'),\n  shouldPageWithoutPageInformation: and(\n    'shouldPageWhenNotPagintatingOrUnavailable',\n    'hasNoTotalPages',\n  ),\n  shouldPageWhenNotPagintatingOrUnavailable: and('isNotPaginating', 'allLoadedOrCountUnavailable'),\n  shouldPage: or('shouldPageWithoutPageInformation', 'shouldPageWithPageInformation'),\n  hasNoTotalPages: equal('totalPages', undefined),\n  hasMorePages: lessThanProperty('page', 'totalPages'),\n  actions: {\n    nextPage() {\n      if (this.shouldPage) {\n        return this.loadPage(this.page + 1);\n      }\n    },\n  },\n  loadPage() {}, //implement this in your class\n});\n\nexport default NumberPagination;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { assert } from '@ember/debug';\nimport { inject as service } from '@ember/service';\nimport Evented from '@ember/object/evented';\nimport Mixin from '@ember/object/mixin';\nimport ENV from 'embercom/config/environment';\nimport { OFFLINE_NOTIFICATION_KEY } from 'embercom/lib/inbox/constants';\n\nexport default Mixin.create(Evented, {\n  pubsub: service(),\n  notificationsService: service(),\n\n  init() {\n    this._super(...arguments);\n    assert(\n      'The controller should define the onNetworkIsReachable method when including this mixin.',\n      typeof this.onNetworkIsReachable === 'function',\n    );\n    if (this.pubsub) {\n      this.pubsub.subscribe('networkIsReachable', this, this._networkIsReachable);\n      this.pubsub.subscribe('networkIsNotReachable', this, this._networkIsNotReachable);\n    }\n  },\n\n  _networkIsReachable() {\n    this._removeAllNotifications();\n    this.notificationsService.notifyConfirmation('All good! Your internet connection is back…');\n    try {\n      this.onNetworkIsReachable();\n    } catch (e) {\n      // no-op\n    }\n  },\n\n  _networkIsNotReachable() {\n    this._removeAllNotifications();\n    this.notificationsService.notifyError(\n      'It looks like you’ve gone offline. Check your internet connection.',\n      ENV.APP.notificationNoTimeout,\n      OFFLINE_NOTIFICATION_KEY,\n    );\n    if (typeof this.onNetworkIsNotReachable === 'function') {\n      try {\n        this.onNetworkIsNotReachable();\n      } catch (e) {\n        // no-op\n      }\n    }\n  },\n\n  _removeAllNotifications() {\n    this.notificationsService.clear();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-new-mixins */\nimport { observer } from '@ember/object';\nimport Mixin from '@ember/object/mixin';\nimport { isAny } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Mixin.create({\n  queryParams: ['id'],\n  id: null,\n  hasExpandedItem: isAny('model', 'isExpanded', true),\n\n  hasExpandedItemChanged: observer({\n    dependentKeys: ['hasExpandedItem'],\n\n    fn() {\n      if (!this.hasExpandedItem && this.id) {\n        this.set('id', null);\n      }\n    },\n\n    sync: true,\n  }),\n\n  actions: {\n    toggleItemIsExpanded(item) {\n      if (item.get('isExpanded')) {\n        this.set('id', null);\n      } else {\n        this.model.setEach('isExpanded', false);\n        this.set('id', item.get('id'));\n      }\n      item.toggleProperty('isExpanded');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { and } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport Mixin from '@ember/object/mixin';\nimport { templateString, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Mixin.create({\n  defaultGeoipData: computed(function() {\n    return {\n      latitude: 0,\n      longitude: 0,\n    };\n  }),\n  geoipDataAvailable: and('modelGeoipData.latitude', 'modelGeoipData.longitude'),\n  geoipData: ternaryToProperty('geoipDataAvailable', 'modelGeoipData', 'defaultGeoipData'),\n  mapUrl: templateString(\n    'https://api.mapbox.com/styles/v1/patrickod/cjbcj1mh978pd2rkd15d5aauf/static/${geoipData.longitude},${geoipData.latitude},2/1280x186?access_token=pk.eyJ1IjoicGF0cmlja29kIiwiYSI6ImY1LVY4WkUifQ.WK9SrChxuv4vz1NxPDooSw&attribution=false&logo=false',\n  ),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-new-mixins */\nimport { later } from '@ember/runloop';\nimport { computed } from '@ember/object';\nimport Mixin from '@ember/object/mixin';\nimport inflector from 'embercom/lib/inflector';\nimport numberFormatter from 'embercom/lib/number-formatter';\n\nexport default Mixin.create({\n  formattedCount: computed('model.count', function() {\n    return numberFormatter(this.get('model.count'));\n  }),\n  headerText: computed('modalTarget', 'model.count', function() {\n    if (this.get('model.hasCount')) {\n      return inflector(\n        `this ${this.modalTarget}`,\n        this.get('model.count'),\n        `these ${this.formattedCount} ${this.modalTargetPlural}`,\n      );\n    } else {\n      return `selected ${this.modalTargetPlural}`;\n    }\n  }),\n\n  failureWarningNotification: computed('modalTarget', 'modalAction', function() {\n    return `Sorry, due to an error we couldn't ${this.modalAction} your ${this.modalTargetPlural}. Please contact us if this happens again.`;\n  }),\n\n  processBulkActionFailure(jqXHR, actionAttribute) {\n    let response = jqXHR.jqXHR.responseJSON;\n    if (response && response.success === false && response.type === 'countVerificationError') {\n      this.notificationsService.notifyError(this.failureWarningNotification);\n      this.reset();\n      this.send('closeModal');\n    } else {\n      later(\n        this,\n        function() {\n          this.set('hasErrored', true);\n          this.set(actionAttribute, false);\n        },\n        1000,\n      );\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-new-mixins */\nimport { computed } from '@ember/object';\nimport { filterBy, gt, notEmpty, reads, not } from '@ember/object/computed';\nimport Mixin from '@ember/object/mixin';\nimport LegacySelectionState from 'embercom/models/legacy-selection-state';\n\nexport default Mixin.create({\n  selected: filterBy('model', 'selected', true),\n  unselected: filterBy('model', 'selected', false),\n  isSelectAllMode: false,\n\n  selectAll: computed('model.@each.selected', {\n    get() {\n      let model = this.model;\n      return model.get('length') > 0 && model.isEvery('selected', true);\n    },\n    set(key, value) {\n      this.model.setEach('selected', value);\n      this.set('isSelectAllMode', value);\n      return value;\n    },\n  }),\n\n  someSelected: computed('model.@each.selected', function() {\n    let model = this.model;\n    return model.isAny('selected', true) && !model.isEvery('selected', true);\n  }),\n  hasSelectedUsers: gt('selectedCount', 0),\n  hasUsers: notEmpty('model'),\n  bulkOperationsEnabled: reads('hasUsers'),\n  bulkOperationsDisabled: not('bulkOperationsEnabled'),\n  selectedCount: reads('selectionState.count'),\n  selectionState: computed(\n    'isSelectAllMode',\n    'selected',\n    'unselected',\n    'predicates',\n    'search.text',\n    function() {\n      let selectionState = LegacySelectionState.create({\n        isSelectAllMode: this.isSelectAllMode,\n        selected: this.selected,\n        unselected: this.unselected,\n        predicates: this.predicates,\n        totalCount: this.totalCount,\n        search: this.get('search.text'),\n        countSuccessful: this.countSuccessful,\n      });\n      return selectionState;\n    },\n  ),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-new-mixins */\nimport { isPresent } from '@ember/utils';\nimport { gt } from '@ember/object/computed';\nimport Mixin from '@ember/object/mixin';\nimport LegacySelectionState from 'embercom/models/legacy-selection-state';\nimport { inject as service } from '@ember/service';\n\n/*\n  TODO: make this more obvious\n  The model argument on openMessageModalOrPromptUpgrade is only a model when we pass a selectionState instance,\n  which in general is what we do. It does however accept a user-list-item controller when being called on a single\n  user in the user list. This stinks and should be made more consistent.\n*/\nexport default Mixin.create({\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  determineModal(controller, model, options, controllerProps = {}, callbacks = {}) {\n    let action = model === null ? 'openMessageModalWithSelectionState' : 'openModal';\n    this.send(action, controller, model, options, controllerProps, callbacks);\n  },\n\n  shouldUseSimpleComposer: gt('selectionState.count', 0),\n\n  _getSelectionState() {\n    let selectionState = this.selectionState;\n    if (selectionState.get('countIsZero')) {\n      selectionState = selectionState.toSelectAllSelection();\n    }\n    return selectionState;\n  },\n\n  actions: {\n    openModal() {\n      this.modalService.openModal(...arguments);\n    },\n    openMessageModalOrPromptUpgrade(\n      controller,\n      model,\n      options,\n      controllerProps = {},\n      callbacks = {},\n    ) {\n      this.permissionsService\n        .checkOneOnOneMessagingPermission(\n          'can_send_messages',\n          options.isCompany,\n          this.get('selectionState.count'),\n        )\n        .then(() => {\n          let hasModel = isPresent(model);\n          if (hasModel || this.shouldUseSimpleComposer) {\n            let count = hasModel ? 1 : this.get('selectionState.count');\n            this.intercomEventService.trackEvent('simple-composer-open', {\n              users: count,\n            });\n          }\n          this.determineModal(controller, model, options, controllerProps, callbacks);\n        });\n    },\n    openMessageModalWithSelectionState(controller, model, options) {\n      if (this.isCompany) {\n        this.send('openModalWithSelectionState', controller, model.get('isCompany'), options);\n      } else if (this.shouldUseSimpleComposer) {\n        this.send('openModalWithSelectionState', controller, model, options);\n      } else {\n        this.transitionToRoute('apps.app.outbound.messages.manual.new', {\n          queryParams: { selectionState: this._getSelectionState().get('toJSON') },\n        });\n      }\n    },\n    openModalWithSelectionState(controller, model, options) {\n      if (model || this.hasSelectedUsers) {\n        this._openModalWithSelectionState(controller, model, options);\n      } else if (this.totalCount > 0) {\n        let selectionState = LegacySelectionState.create({\n          isSelectAllMode: true,\n          predicates: this.predicates,\n          count: this.totalCount,\n        });\n        // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n        this.send('openModal', controller, selectionState, options);\n      }\n    },\n  },\n  _openModalWithSelectionState(controller, model, options) {\n    let selectionState = this._getSelectionState();\n    this._trackModalEvents(selectionState, this._getAction(controller));\n    if (selectionState.get('count') > 0) {\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', controller, selectionState, options);\n    }\n  },\n  _getAction(controller) {\n    return controller.slice(controller.lastIndexOf('/') + 1) || 'unknown';\n  },\n  _trackModalEvents(selectionState, action) {\n    if (['message', 'export', 'tag', 'delete'].includes(action)) {\n      this.intercomEventService.trackEvent(`user-list-${action}`, {\n        isUser: selectionState.get('isUserMessage'),\n      });\n      if (selectionState.get('hasUnselected')) {\n        this.intercomEventService.trackEvent(`user-list-${action}-negative-selection`, {\n          totalCount: selectionState.get('totalCount'),\n          unselectedCount: selectionState.get('unselected.length'),\n          isUser: selectionState.get('isUserMessage'),\n        });\n      }\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-new-mixins */\nimport { computed } from '@ember/object';\nimport { not, and } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Mixin from '@ember/object/mixin';\nexport default Mixin.create({\n  bootService: service(),\n  trackSearchEvents() {\n    if (this.get('segment.hasDirtyAttributes')) {\n      this.trackFilterBarSearchEvent();\n    }\n\n    if (this.get('search.hasValue')) {\n      this.trackSearchBoxSearchEvent();\n    }\n  },\n  trackSearchBoxSearchEvent() {\n    let searchMetaData = { search_value: this.get('search.text') };\n    this.intercomEventService.trackEvent('applied-search-to-user-list', searchMetaData);\n  },\n\n  trackFilterBarSearchEvent() {\n    let predicates = this.get('segment.isOrGroup')\n      ? this.get('segment.nestedPredicates')\n      : this.get('segment.predicates');\n\n    let addFilterAttributeToHash = function(metadataHash, predicate, index) {\n      let idx = index + 1;\n      let attr_key = `filter_attribute_${idx}`;\n      let comparator_key = `filter_comparator_${idx}`;\n      metadataHash[attr_key] = predicate.attribute;\n      metadataHash[comparator_key] = predicate.comparison;\n      return metadataHash;\n    };\n\n    let searchMetaData = predicates\n      .rejectBy('attribute', 'anonymous')\n      .reduce(addFilterAttributeToHash, {});\n\n    searchMetaData.isOrGroup = this.get('segment.isOrGroup');\n    searchMetaData.has_nested_logical_predicates = this.get('segment.nestingLevelGreaterThanOne');\n    this.intercomEventService.trackEvent('applied-filter-to-user-list', searchMetaData);\n  },\n\n  executeSearch(modelClass, responseKey, options) {\n    if (this.isDestroying) {\n      return;\n    }\n    this.setProperties({\n      page: options.page,\n      isPaginating: true,\n      hasErrored: false,\n      isLimitedResponse: false,\n    });\n    this.trackSearchEvents();\n\n    if (!this.get('segment.hasDirtyAttributes')) {\n      options.segmentId = this.get('segment.id');\n    }\n\n    return modelClass.search(this.app, this.predicates, options).then(\n      response => {\n        if (responseKey === 'users') {\n          this.frontendStats.timeUntilAfterRender('ember_ux_userListRenderTime');\n        }\n\n        Em.beginPropertyChanges();\n        if (options.page === 1) {\n          this.set('model', []);\n        }\n        this.addReturnedRecordsToList(response[responseKey]);\n        this.finishedLoading();\n        Em.endPropertyChanges();\n        if (response.totalCount !== undefined) {\n          this.updateCountView(response.totalCount);\n        }\n        if (response.totalPages !== undefined && response.totalPages !== null) {\n          this.set('totalPages', response.totalPages);\n        }\n        if (response.limited === true) {\n          this.set('isLimitedResponse', true);\n        }\n\n        this.bootService.advanceToSecondaryPhase();\n      },\n      error => {\n        if (error.errorThrown !== 'abort') {\n          this.set('hasErrored', true);\n          this.set('paginationErrorMessage', error.jqXHR.responseJSON.message);\n        }\n      },\n    );\n  },\n  updateCountView(count) {\n    this.set('totalCount', count);\n    this.updateCachedCount(count);\n    this.updateCachedAppCount(count);\n    this.set('countSuccessful', true);\n  },\n  addReturnedRecordsToList(usersOrCompanies) {\n    let model = this.model;\n    let isSelectAllMode = this.isSelectAllMode;\n\n    usersOrCompanies.forEach(function(user) {\n      if (!model.findBy('id', user.get('id'))) {\n        model.pushObject(user);\n        if (isSelectAllMode) {\n          model.set('lastObject.selected', true);\n        }\n      }\n    });\n  },\n  updateCachedAppCount(count) {\n    if (this.isCleanAllUsersSegmentAndNotSearch) {\n      this.set('app.peopleCount', this.get('app.anonymousCount') + count);\n    } else if (this.get('segment.isAllCompaniesSegmentWithoutChange')) {\n      this.set('app.company_count', count);\n    } else if (this.isCleanAllContactsSegmentAndNotSearch) {\n      this.set('anonymousCount', count);\n      this.set('app.anonymousCount', count);\n    }\n  },\n\n  searchHasNoValue: not('search.hasValue'),\n  isCleanAllUsersSegmentAndNotSearch: and(\n    'searchHasNoValue',\n    'segment.isAllUsersSegmentWithoutChange',\n  ),\n  isCleanAllContactsSegmentAndNotSearch: and(\n    'searchHasNoValue',\n    'segment.isAllUsersSegmentWithoutChange',\n  ),\n\n  countParameters: computed(\n    'predicates',\n    'app',\n    'segment.hasDirtyAttributes',\n    'segment.id',\n    function() {\n      let countParams = {\n        app_id: this.app.get('id'),\n        predicates: this.predicates,\n      };\n      if (!this.get('segment.hasDirtyAttributes')) {\n        countParams.segment_id = this.get('segment.id');\n      }\n      return countParams;\n    },\n  ),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport Mixin from '@ember/object/mixin';\n\nexport default Mixin.create({\n  actions: {\n    revert() {\n      this.model.rollbackAttributes();\n    },\n\n    doSearch(searchItem) {\n      this.searchController.send('doSearch', searchItem);\n    },\n    exitSearch() {\n      this.searchController.send('exitSearch');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-new-mixins */\nimport { observer } from '@ember/object';\nimport Mixin from '@ember/object/mixin';\nlet SegmentQueryParams = Mixin.create({\n  queryParams: ['permission'],\n  permission: '',\n\n  permissionErrorMessage: observer({\n    dependentKeys: ['permission'],\n\n    fn() {\n      if (this.permission !== '') {\n        this.permissionsService.checkPermission(this.permission).then(function() {\n          return true;\n        });\n      }\n    },\n\n    sync: false,\n  }),\n});\n\nexport default SegmentQueryParams;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { debounce } from '@ember/runloop';\nimport Mixin from '@ember/object/mixin';\nimport ENV from 'embercom/config/environment';\n\nexport default Mixin.create({\n  trackEditEvent() {\n    this.trackEvent('edited');\n  },\n  trackEvent(action) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action,\n      object: 'filter',\n      place: this.place,\n      predicates: this.get('model.predicates'),\n      number_filters: this.get('model.editablePredicatesWithoutRole.length'),\n    });\n  },\n  processEvent(action) {\n    if (action === 'edited') {\n      debounce(this, this.trackEditEvent, ENV.APP._1000MS);\n    } else {\n      this.trackEvent(action);\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\n\nexport default Controller.extend({\n  queryParams: {\n    appId: 'app_id',\n    clientId: 'client_id',\n    state: 'state',\n    redirectURI: 'redirect_uri',\n  },\n  appId: null,\n  clientId: null,\n  state: null,\n  redirectURI: null,\n});\n","define(\"embercom/controllers/object\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = Ember.Controller;\n  _exports.default = _default;\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { task } from 'ember-concurrency-decorators';\nimport { inject as service } from '@ember/service';\nimport { isValidEmail } from 'embercom/lib/email';\n\nexport default class SamlController extends Controller {\n  @service redirectService;\n\n  @tracked samlEmail = '';\n  @tracked samlAuths = null;\n\n  get signInButtonDisabled() {\n    return !isValidEmail(this.samlEmail);\n  }\n\n  get emailInputIsInvalid() {\n    return this.samlEmail !== '' && this.signInButtonDisabled;\n  }\n\n  @action\n  redirectToIdP(samlAuth) {\n    this.redirectService.redirect(`/saml/${samlAuth.id}`);\n  }\n\n  @action\n  redirectToPricing() {\n    this.redirectService.redirect(`/pricing`);\n  }\n\n  @action\n  changeEmail() {\n    this.samlEmail = '';\n    this.samlAuths = null;\n  }\n\n  @task\n  *startAuth() {\n    try {\n      this.samlAuths = yield this.store.query('saml-auth', { email: this.samlEmail.trim() });\n      if (this.samlAuths.length === 1) {\n        this.redirectToIdP(this.samlAuths.firstObject);\n      }\n    } catch (e) {\n      if (e.jqXHR.status === 404 || e.jqXHR.status === 400) {\n        this.notificationsService.notifyError(e.jqXHR.responseJSON.error);\n      } else {\n        this.notificationsService.notifyError('Something went wrong. Please try again');\n      }\n    }\n  }\n}\n","import Controller from '@ember/controller';\nimport { action } from '@ember/object';\nimport { task } from 'ember-concurrency-decorators';\nimport ajax from 'embercom/lib/ajax';\nimport { inject as service } from '@ember/service';\nimport isValidUrl from 'embercom/lib/url-validator';\n\nexport default class SignInController extends Controller {\n  @service redirectService;\n\n  queryParams = [{ redirectUrlQueryParam: 'redirect_url' }];\n\n  get showSaml() {\n    return this.model.authorizedSignInMethods.includes('saml');\n  }\n\n  get showGoogleSso() {\n    return this.model.authorizedSignInMethods.includes('google_oauth2');\n  }\n\n  get showEmailPassword() {\n    return (\n      this.model.authorizedSignInMethods.includes('email_password') ||\n      this.model.authorizedSignInMethods.includes('email_password_otp')\n    );\n  }\n\n  get redirectUrl() {\n    if (this.redirectUrlQueryParam && isValidUrl(this.redirectUrlQueryParam)) {\n      return this.redirectUrlQueryParam;\n    } else {\n      return `/a/apps/${this.model.id}`;\n    }\n  }\n\n  @action signInWithSaml() {\n    this.redirectService.redirect(`/saml/${this.model.samlAuthId}`);\n  }\n\n  @action signInWithGoogleSso() {\n    this.redirectService.redirect(`/auth/google_oauth2${window.location.search}`);\n  }\n\n  @task\n  *signInEmailPassword(email, password, keepMeSignedIn) {\n    let formData = {};\n    let resourceName = 'admin';\n\n    formData[resourceName] = {\n      email,\n      password,\n      remember_me: keepMeSignedIn === true ? '1' : '0',\n    };\n\n    try {\n      yield ajax({\n        type: 'POST',\n        url: '/admins/sign_in',\n        data: JSON.stringify(formData),\n        cache: false,\n        noRedirectOn401: true,\n      });\n      this.redirectService.redirect(this.redirectUrl);\n    } catch (e) {\n      let response = e.jqXHR;\n      if (response.status === 200) {\n        this.redirectService.redirect(this.redirectUrl);\n      } else if (response.status === 401) {\n        if (response.responseText !== undefined && response.responseText !== '') {\n          this.notificationsService.notifyError(response.responseText);\n        } else {\n          this.redirectService.redirect('/admins/two_factor_authentication');\n        }\n      } else if (\n        response.status === 403 &&\n        response.responseText === '{\"message\":\"Two factor authentication is required\"}'\n      ) {\n        this.redirectService.redirect('/admins/generate_otp');\n      } else {\n        this.notificationsService.notifyError('Something went wrong. Please try again');\n      }\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controllers */\nimport Controller from '@ember/controller';\n\nexport default class SignupController extends Controller {}\n","import Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\nimport { EARLY_STAGE_SOLUTION_IDS } from 'embercom/lib/billing';\n\nexport default class TeamsController extends Controller {\n  @service media;\n  @service customerService;\n\n  queryParams = [\n    'developer',\n    'gclid',\n    {\n      addOnPlanIds: 'add_on_plan_ids',\n      isPro: 'pro',\n      partnerSource: 'partner',\n      productId: 'product_id',\n      solutionId: 'solution_id',\n      requireVerification: 'require_verification',\n    },\n  ];\n\n  addOnPlanIds = [];\n  gclid = null;\n  isPro = false;\n  solutionId = null;\n  productId = null;\n  developer = false;\n  partnerSource = null;\n  requireVerification = false;\n\n  get isMessengerInstalled() {\n    return this.customerService.isMessengerInstalled;\n  }\n\n  get earlyStagePartnerWithoutMessenger() {\n    return this.partnerSource && !this.isMessengerInstalled;\n  }\n\n  get isEarlyStage() {\n    return EARLY_STAGE_SOLUTION_IDS.includes(this.solutionId);\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport { A } from '@ember/array';\nimport Controller, { inject as controller } from '@ember/controller';\nimport { computed } from '@ember/object';\nimport { alias, equal, not, oneWay, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport {\n  equalToProperty,\n  ternary,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport { task } from 'ember-concurrency';\nimport {\n  CORE_SOLUTION_IDS,\n  EARLY_STAGE_SOLUTION_IDS,\n  productNameFromSolutionId,\n} from 'embercom/lib/billing';\nimport { MARKETO_FORM_IDS } from 'embercom/lib/gtm';\nimport { hideIntercomWidgetWhenLoaded } from 'embercom/lib/intercom-widget-helper';\nimport PhoneCountryCodes from 'embercom/lib/phone-codes';\nimport { captureException } from 'embercom/lib/sentry';\nimport { parsePhoneNumberFromString } from 'libphonenumber-js';\nimport { getVisitorId } from 'embercom/lib/intercom-widget-helper';\n\nconst COMPANY_SIZES = {\n  '1-4': 4,\n  '5-9': 9,\n  '10-49': 49,\n  '50-199': 199,\n  '200-499': 499,\n  '500-999': 999,\n  '1000+': 1000,\n};\n\nexport const DEFAULT_COUNTRY_CODE = 'us';\n\nexport default Controller.extend({\n  gtmService: service(),\n  purchaseAnalyticsService: service(),\n  store: service(),\n  media: service(),\n  iamService: service(),\n\n  teamsController: controller('signup/teams'),\n  signupController: controller('signup'),\n\n  appInstall: alias('signupController.model'),\n  email: alias('appInstall.email'),\n  name: alias('appInstall.name'),\n  emailSubmissionEmail: alias('teamsController.email'),\n  emailSubmissionId: alias('teamsController.emailSubmissionId'),\n  notChangedEmail: equalToProperty('emailSubmissionEmail', 'email'),\n  operatorPage: alias('teamsController.operatorPage'),\n  locale: alias('teamsController.locale'),\n  product: alias('teamsController.product'),\n  productId: alias('teamsController.productId'),\n  solutionId: alias('teamsController.solutionId'),\n  ipCountryCode: alias('appInstall.ipCountryCode'),\n  object: 'create_account',\n  price: alias('teamsController.model'),\n  purchaseExperience: readOnly('signupController.purchaseExperience'),\n  redirectUrl: null,\n  perProductPricingFlow: true,\n  isPro: alias('teamsController.isPro'),\n  gclid: alias('teamsController.gclid'),\n  intentSurvey: false,\n  partnerSource: alias('teamsController.partnerSource'),\n  productTours: true,\n  developer: alias('teamsController.developer'),\n  featureFlagsFromUrl: null,\n  requireVerification: alias('teamsController.requireVerification'),\n  talon: alias('appInstall.talon'),\n\n  skipSelfServeBlockingQueryParam: '',\n  shouldSkipSelfServeBlocking: equal('skipSelfServeBlockingQueryParam', '1'),\n\n  queryParams: {\n    intentSurvey: 'intent_survey',\n    featureFlagsFromUrl: 'feature_flags',\n    skipSelfServeBlockingQueryParam: 'sssb',\n  },\n  addOnPlanIds: alias('teamsController.addOnPlanIds'),\n\n  isEarlyStage: computed('solutionId', function() {\n    return EARLY_STAGE_SOLUTION_IDS.includes(this.solutionId);\n  }),\n\n  hideWidgetIfAppropriate() {\n    if (this.mobileDevice) {\n      hideIntercomWidgetWhenLoaded();\n    }\n  },\n\n  totalAmount: alias('price.amount'),\n\n  setAppInstallProperties(properties) {\n    let defaultProps = {\n      addOn: this.addOn,\n      mobile: this.mobileDevice,\n      tablet: this.media.isTablet,\n      termsOfServiceAccepted: true,\n      solutionId: this.solutionId,\n      purchaseExperience: this.purchaseExperience,\n      intentSurvey: this.intentSurvey,\n      pageViewId: this.gtmService.pageViewId(),\n      earlyStage: this.isEarlyStage,\n      productTours: this.productTours,\n      isPro: this.isPro,\n      requireVerification: this.requireVerification,\n      skipSelfServeBlocking: this.shouldSkipSelfServeBlocking,\n      userId: getVisitorId(),\n    };\n\n    let parsedEmailSubmissionId = Number.parseInt(this.emailSubmissionId, 10);\n    if (!Number.isNaN(parsedEmailSubmissionId)) {\n      defaultProps.emailSubmissionId = parsedEmailSubmissionId;\n    }\n    this.appInstall.setProperties(Object.assign(defaultProps, properties));\n  },\n\n  updateWithFormData(formData) {\n    this.setAppInstallProperties({\n      name: formData.name,\n      email: formData.email,\n      password: formData.password,\n      appName: formData.appName,\n      companySize: formData.companySize,\n      department: formData.department,\n      talon: formData.talon,\n    });\n\n    this.setProperties({\n      phoneNumber: formData.phoneNumber,\n      selectedCountryCode: formData.phoneCountryCode,\n    });\n  },\n\n  redirectUrlParamForSignIn: computed('redirectUrl', function() {\n    if (!this.redirectUrl) {\n      return;\n    }\n    return `?redirect_url=${this.redirectUrl}`;\n  }),\n\n  formTask: ternaryToProperty(\n    'developer',\n    'createDeveloperWorkspace',\n    'setSubscriptionAndCreateAccount',\n  ),\n\n  mobileDevice: oneWay('media.isMobile'),\n  mobileCart: not('media.isDesktop'),\n  signupHeader: ternary('developer', 'Get your developer account', 'Create your account'),\n  developerWorkspaceFeatureFlags: ['app-framework-developer-workspace'],\n\n  formattedPhoneNumber: computed('phoneNumber', 'selectedCountry', function() {\n    return parsePhoneNumberFromString(`${this.selectedCountry.dial_code} ${this.phoneNumber}`);\n  }),\n\n  selectedCountryCode: computed('appInstall.ipCountryCode', function() {\n    return this.get('appInstall.ipCountryCode') || DEFAULT_COUNTRY_CODE;\n  }),\n\n  selectedCountry: computed('selectedCountryCode', function() {\n    let countryCode = this.selectedCountryCode;\n    return PhoneCountryCodes[countryCode] || PhoneCountryCodes[DEFAULT_COUNTRY_CODE];\n  }),\n\n  isValidPhoneNumber: computed('formattedPhoneNumber', function() {\n    if (this.formattedPhoneNumber) {\n      return this.formattedPhoneNumber.isValid();\n    }\n    return false;\n  }),\n\n  createAccount: task(function*(formData, handleCreationError) {\n    let appInstall = this.appInstall;\n    let app;\n\n    this.setProperties({\n      adminErrors: null,\n      appErrors: null,\n      networkError: null,\n    });\n\n    if (!this.notChangedEmail) {\n      this.purchaseAnalyticsService.trackEvent({\n        action: 'edited',\n        object: 'email_address',\n        place: 'create_account',\n        owner: 'team-purchase',\n        old_email: this.emailSubmissionEmail,\n        new_email: formData.email,\n        solutionId: this.solutionId,\n      });\n    }\n\n    this.setNewAppFeatureFlags();\n\n    try {\n      appInstall.set('pageviewId', this.gtmService.pageViewId());\n      let token = yield this.gtmService.getRecaptchaToken();\n      appInstall.set('recaptchaToken', token);\n      app = yield appInstall.createAppWithAdminAndSignup().then(appResponseData => {\n        let adminEmail;\n        if (appResponseData.admins && appResponseData.admins[0]) {\n          adminEmail = appResponseData.admins[0].email;\n        }\n\n        let email = appInstall.email || formData.email || adminEmail || this.emailSubmissionEmail;\n        this.fireMarketoEvent({\n          appId: appResponseData.id,\n          appInstall,\n          email,\n        });\n        this.recordHeapAnalytics(email);\n\n        this.store.pushPayload({\n          app: [appResponseData],\n        });\n        return this.store.peekRecord('app', appResponseData.id);\n      });\n    } catch (response) {\n      return handleCreationError(response);\n    }\n\n    this.iamService.boot(app);\n    yield app.reload();\n    yield app.get('admins').findBy('id', app.get('currentAdmin.id'));\n\n    if (this.isValidPhoneNumber) {\n      this.iamService.update({ phone: this.formattedPhoneNumber.number });\n    }\n\n    let avatar = appInstall.avatar;\n    let admin = app.get('currentAdmin');\n    if (avatar) {\n      yield admin.createAvatar(avatar);\n    }\n    if (!this.requireVerification) {\n      admin.sendVerificationEmail();\n    }\n    try {\n      yield this.firePixelAndAnalyticsEvent({\n        app_id_code: app.id,\n        admin_id: admin.id,\n      });\n    } catch (e) {\n      captureException(e);\n    } finally {\n      this.transitionIntoApp(app);\n    }\n  }),\n\n  firePixelAndAnalyticsEvent({ app_id_code, admin_id }) {\n    return this.purchaseAnalyticsService.trackEvent({\n      action: 'completed',\n      context: 'usecase_signup_flow',\n      place: 'create_account',\n      object: this.object,\n      app_id_code,\n      admin_id,\n      mobile: this.mobileDevice,\n      gclid: this.gclid,\n      solutionId: this.solutionId,\n      emailSubmissionId: this.emailSubmissionId,\n      via_single_sign_on: this.appInstall.viaSingleSignOn,\n      phoneNumber: this.isValidPhoneNumber,\n      addOn: this.addOn,\n    });\n  },\n\n  fireMarketoEvent({ appId, appInstall, email }) {\n    let formId;\n\n    formId = MARKETO_FORM_IDS.trialSignupAppCreated;\n\n    let companySize = appInstall.companySize;\n    let solutionId = appInstall.solutionId;\n\n    let params = {\n      App_ID__c: appId,\n      Selected_Plan__c: productNameFromSolutionId(this.solutionId, this.isPro),\n      Email: email,\n      name: appInstall.name,\n      Company: appInstall.appName,\n      numEmployeesIntercom: COMPANY_SIZES[companySize],\n      selectedSolutionIntercom: solutionId,\n      sees_vbp_feb20__c: CORE_SOLUTION_IDS.includes(`${solutionId}`),\n      sees_vbp_feb20: CORE_SOLUTION_IDS.includes(`${solutionId}`),\n    };\n\n    if (this.isValidPhoneNumber) {\n      params['Phone'] = this.formattedPhoneNumber.number;\n    }\n    this.gtmService.fireMarketoEvent(formId, params);\n  },\n\n  recordHeapAnalytics(email) {\n    let heap = window.heap || [];\n    if (heap.push) {\n      heap.push(['addUserProperties', { email }]);\n    } else {\n      heap.addUserProperties({ email });\n    }\n  },\n\n  transitionIntoApp(app) {\n    let baseRoute =\n      this.requireVerification || app.forceEmailVerification\n        ? 'apps.app.teams-checkout.verify'\n        : 'apps.app.teams-checkout.plan';\n    let route = EARLY_STAGE_SOLUTION_IDS.includes(this.solutionId)\n      ? 'apps.app.teams-checkout.early-stage-application'\n      : baseRoute;\n\n    return this.transitionToRoute(route, app, {\n      queryParams: {\n        solutionId: this.solutionId,\n        isPro: this.isPro,\n        addOn: this.addOn,\n        gclid: this.gclid,\n        newMobile: this.newMobile,\n        emailSubmissionId: this.emailSubmissionId,\n        partnerSource: this.partnerSource,\n        productTours: this.productTours,\n        addOnPlanIds: this.addOnPlanIds,\n      },\n    });\n  },\n\n  setSubscriptionAndCreateAccount: task(function*(formData, handleCreationError) {\n    this.updateWithFormData(formData);\n\n    yield this.createAccount.perform(formData, handleCreationError);\n  }),\n\n  createDeveloperWorkspace: task(function*(formData, handleCreationError) {\n    this.updateWithFormData(formData);\n\n    let appInstall = this.appInstall;\n    let app;\n\n    this.setProperties({\n      adminErrors: null,\n      appErrors: null,\n      networkError: null,\n    });\n\n    try {\n      this.setAppInstallProperties({\n        termsOfServiceAccepted: true,\n        newAppFeatureFlags: this.developerWorkspaceFeatureFlags,\n        purchaseExperience: 'dev_workspace',\n      });\n\n      app = yield appInstall.createAppWithAdminAndSignup().then(appResponseData => {\n        this.gtmService.fireMarketoEvent(MARKETO_FORM_IDS.developerSignup, {\n          App_ID__c: appResponseData.id,\n          Email: appInstall.email || formData.email,\n          name: appInstall.name,\n          Company: appInstall.appName,\n        });\n\n        this.store.pushPayload({\n          apps: [appResponseData],\n        });\n        return this.store.peekRecord('app', appResponseData.id);\n      });\n    } catch (response) {\n      return handleCreationError(response);\n    }\n\n    this.iamService.boot(app);\n    yield app.reload();\n    yield app.get('admins').findBy('id', app.get('currentAdmin.id'));\n\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'completed',\n      object: 'create_developer_account',\n      context: 'usecase_signup_flow',\n      place: 'create_account',\n      app_id_code: app.id,\n      admin_id: app.get('currentAdmin.id'),\n      mobile: this.showNewMobileView,\n      emailSubmissionId: this.emailSubmissionId,\n      via_single_sign_on: this.appInstall.viaSingleSignOn,\n    });\n\n    this.transitionToRoute('apps.app.developer-hub', app);\n  }),\n\n  //This method is used to set feature flags on signup for QA purposes\n  setNewAppFeatureFlags() {\n    let featureFlags = A();\n\n    if (this.featureFlagsFromUrl) {\n      try {\n        let featureFlagsFromUrl = JSON.parse(this.featureFlagsFromUrl);\n        featureFlags.addObjects(featureFlagsFromUrl);\n      } catch (e) {\n        // Value is likely a string instead of JSON string\n        if (e instanceof SyntaxError) {\n          featureFlags.addObject(this.featureFlagsFromUrl);\n        } else {\n          console.error(e);\n        }\n      }\n    }\n\n    this.appInstall.set('newAppFeatureFlags', featureFlags);\n  },\n});\n","import Controller from '@ember/controller';\n\nexport default class VideoController extends Controller {\n  queryParams = ['v'];\n\n  get videoKey() {\n    return this.v;\n  }\n}\n","export default {};","import { inflectorRawHelper } from 'embercom/helpers/inflector-helper';\nimport { indexIncrementRawHelper } from 'embercom/helpers/index-increment-helper';\nimport { fullDateAndTimeRawHelper } from 'embercom/helpers/full-date-and-time-helper';\nimport { abbreviatedRelativeTimeAgoRawHelper } from 'embercom/helpers/abbreviated-relative-time-ago-helper';\nimport { numericFormatterRawHelper } from 'embercom/helpers/numeric-formatter-helper';\n\nexport default function() {\n  Handlebars.registerHelper('inflector-helper', inflectorRawHelper);\n  Handlebars.registerHelper('full-date-and-time-helper', fullDateAndTimeRawHelper);\n  Handlebars.registerHelper(\n    'abbreviated-relative-time-ago-helper',\n    abbreviatedRelativeTimeAgoRawHelper,\n  );\n  Handlebars.registerHelper('numeric-formatter-helper', numericFormatterRawHelper);\n  Handlebars.registerHelper('index-increment-helper', indexIncrementRawHelper);\n}\n","define(\"embercom/helpers/-clear-element\", [\"exports\", \"ember-in-element-polyfill/helpers/-clear-element\"], function (_exports, _clearElement) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _clearElement.default;\n    }\n  });\n  Object.defineProperty(_exports, \"clearElement\", {\n    enumerable: true,\n    get: function get() {\n      return _clearElement.clearElement;\n    }\n  });\n});\n","define(\"embercom/helpers/-element\", [\"exports\", \"ember-element-helper/helpers/-element\"], function (_exports, _element) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _element.default;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport abbreviatedRelativeTimeAgoRawHelper from 'embercom/lib/abbreviated-relative-time-ago';\n\nexport { abbreviatedRelativeTimeAgoRawHelper };\nexport default buildHelper(function(params) {\n  return abbreviatedRelativeTimeAgoRawHelper(params[0]);\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport abbreviatedRelativeTime from 'embercom/lib/abbreviated-relative-time';\n\nexport default buildHelper(function(params) {\n  return abbreviatedRelativeTime(params[0]);\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nexport function abs(params) {\n  return Math.abs(params[0]);\n}\n\nexport default buildHelper(abs);\n","import { helper } from '@ember/component/helper';\n\nexport default helper(function absoluteUrl(relativePath) {\n  let { protocol, host } = window.location;\n  return `${protocol}//${host}${relativePath}`;\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nexport default buildHelper(function add(params) {\n  return params.reduce((a, b) => Number(a) + Number(b));\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport adminTimeAgo from 'embercom/lib/admin-time-ago';\n\nexport default buildHelper(function(params) {\n  let dateString = params[0];\n  return adminTimeAgo(dateString);\n});\n","define(\"embercom/helpers/and\", [\"exports\", \"ember-truth-helpers/helpers/and\"], function (_exports, _and) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _and.default;\n    }\n  });\n  Object.defineProperty(_exports, \"and\", {\n    enumerable: true,\n    get: function get() {\n      return _and.and;\n    }\n  });\n});\n","import { helper } from '@ember/component/helper';\nimport config from '../config/environment';\nimport { shaRegExp, versionRegExp, versionExtendedRegExp } from 'ember-cli-app-version/utils/regexp';\n\nexport function appVersion(_, hash = {}) {\n  const version = config.APP.version;\n  // e.g. 1.0.0-alpha.1+4jds75hf\n\n  // Allow use of 'hideSha' and 'hideVersion' For backwards compatibility\n  let versionOnly = hash.versionOnly || hash.hideSha;\n  let shaOnly = hash.shaOnly || hash.hideVersion;\n\n  let match = null;\n\n  if (versionOnly) {\n    if (hash.showExtended) {\n      match = version.match(versionExtendedRegExp); // 1.0.0-alpha.1\n    }\n    // Fallback to just version\n    if (!match) {\n      match = version.match(versionRegExp); // 1.0.0\n    }\n  }\n\n  if (shaOnly) {\n    match = version.match(shaRegExp); // 4jds75hf\n  }\n\n  return match ? match[0] : version;\n}\n\nexport default helper(appVersion);\n","define(\"embercom/helpers/append\", [\"exports\", \"ember-composable-helpers/helpers/append\"], function (_exports, _append) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _append.default;\n    }\n  });\n  Object.defineProperty(_exports, \"append\", {\n    enumerable: true,\n    get: function get() {\n      return _append.append;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport inflector from 'embercom/lib/inflector';\n\nexport default buildHelper(function(params) {\n  let stringArray = params[0] || [''];\n  let numItems = params[1];\n\n  return stringArray.map(word => inflector(word, numItems));\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport articleTimeAgo from 'embercom/lib/article-time-ago';\n\nexport default buildHelper(function(params) {\n  let dateString = params[0];\n  return articleTimeAgo(dateString);\n});\n","define(\"embercom/helpers/assign\", [\"exports\", \"ember-assign-helper/helpers/assign\"], function (_exports, _assign) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _assign.default;\n    }\n  });\n  Object.defineProperty(_exports, \"assign\", {\n    enumerable: true,\n    get: function get() {\n      return _assign.assign;\n    }\n  });\n});\n","import { helper } from '@ember/component/helper';\nimport { roleNames } from 'embercom/models/data/matching-system/matching-constants';\nimport toSentence from 'embercom/lib/to-sentence';\nimport { pluralize } from 'ember-inflector';\n\nexport function audienceTypes(roles) {\n  roles = roles || [];\n  let names = roles.map(role => pluralize(roleNames[role]).capitalize());\n  return toSentence(names);\n}\n\nfunction audienceTypesHelper([roles]) {\n  return audienceTypes(roles);\n}\n\nexport default helper(audienceTypesHelper);\n","define(\"embercom/helpers/button-classes-metal\", [\"exports\", \"@intercom/embercom-core/helpers/button-classes-metal\"], function (_exports, _buttonClassesMetal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _buttonClassesMetal.default;\n    }\n  });\n  Object.defineProperty(_exports, \"buttonClassesMetal\", {\n    enumerable: true,\n    get: function get() {\n      return _buttonClassesMetal.buttonClassesMetal;\n    }\n  });\n});\n","define(\"embercom/helpers/camelize\", [\"exports\", \"ember-cli-string-helpers/helpers/camelize\"], function (_exports, _camelize) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _camelize.default;\n    }\n  });\n  Object.defineProperty(_exports, \"camelize\", {\n    enumerable: true,\n    get: function get() {\n      return _camelize.camelize;\n    }\n  });\n});\n","define(\"embercom/helpers/cancel-all\", [\"exports\", \"ember-concurrency/helpers/cancel-all\"], function (_exports, _cancelAll) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _cancelAll.default;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport { capitalize } from '@ember/string';\n\nexport default buildHelper(function([array]) {\n  let stringArray = array || [''];\n  return stringArray.map(word => capitalize(word));\n});\n","define(\"embercom/helpers/capitalize\", [\"exports\", \"ember-cli-string-helpers/helpers/capitalize\"], function (_exports, _capitalize) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _capitalize.default;\n    }\n  });\n  Object.defineProperty(_exports, \"capitalize\", {\n    enumerable: true,\n    get: function get() {\n      return _capitalize.capitalize;\n    }\n  });\n});\n","import { helper } from '@ember/component/helper';\n\nexport function characterIndex([index]) {\n  //taken from https://codereview.stackexchange.com/a/16129\n  index += 1;\n\n  let baseChar = 'A'.charCodeAt(0);\n  let characters = '';\n\n  do {\n    index -= 1;\n    characters = String.fromCharCode(baseChar + (index % 26)) + characters;\n    index = Math.floor(index / 26);\n  } while (index > 0);\n\n  return characters;\n}\n\nexport default helper(characterIndex);\n","define(\"embercom/helpers/chunk\", [\"exports\", \"ember-composable-helpers/helpers/chunk\"], function (_exports, _chunk) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _chunk.default;\n    }\n  });\n  Object.defineProperty(_exports, \"chunk\", {\n    enumerable: true,\n    get: function get() {\n      return _chunk.chunk;\n    }\n  });\n});\n","define(\"embercom/helpers/classify\", [\"exports\", \"ember-cli-string-helpers/helpers/classify\"], function (_exports, _classify) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _classify.default;\n    }\n  });\n  Object.defineProperty(_exports, \"classify\", {\n    enumerable: true,\n    get: function get() {\n      return _classify.classify;\n    }\n  });\n});\n","define(\"embercom/helpers/compact\", [\"exports\", \"ember-composable-helpers/helpers/compact\"], function (_exports, _compact) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _compact.default;\n    }\n  });\n});\n","import { helper } from '@ember/component/helper';\nimport logComposerError from 'embercom/lib/log-composer-v2-error';\n\nexport function composerErrorLogger(area) {\n  return function(error) {\n    logComposerError(error, area);\n  };\n}\n\nexport default helper(composerErrorLogger);\n","define(\"embercom/helpers/compute\", [\"exports\", \"ember-composable-helpers/helpers/compute\"], function (_exports, _compute) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _compute.default;\n    }\n  });\n  Object.defineProperty(_exports, \"compute\", {\n    enumerable: true,\n    get: function get() {\n      return _compute.compute;\n    }\n  });\n});\n","define(\"embercom/helpers/contains\", [\"exports\", \"ember-composable-helpers/helpers/contains\"], function (_exports, _contains) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _contains.default;\n    }\n  });\n  Object.defineProperty(_exports, \"contains\", {\n    enumerable: true,\n    get: function get() {\n      return _contains.contains;\n    }\n  });\n});\n","import { helper } from '@ember/component/helper';\nimport { objectNames } from 'embercom/models/data/matching-system/matching-constants';\n\nexport function contentType(objectType) {\n  return objectNames[objectType];\n}\n\nexport default helper(contentType);\n","/**\n * Takes a versioned content Id parameter as generated\n * by the matching system and extracts its original\n * unversioned content id.\n *\n * E.g\n * extractUnversionedId(\"rv-2-6-6-1-1-3\")\n * 3\n */\nexport function extractUnversionedId(versionedId) {\n  return versionedId.split('-').pop();\n}\n","let _getCompactionProperties = (part, memoizedProps) => {\n  let partId = part.get('id');\n  let memoized = memoizedProps[partId];\n  if (memoized) {\n    return memoized;\n  }\n  memoized = part.getProperties(\n    'isUserPart',\n    'isAdminPart',\n    'isNotCompactable',\n    'admin',\n    'created_at',\n    'participant',\n  );\n  if (partId) {\n    memoizedProps[partId] = memoized;\n  }\n  return memoized;\n};\n\nlet _getTimestampTime = timestamp => (timestamp ? new Date(timestamp).getTime() : undefined);\n\nlet _shouldCompactNextPart = (currentPart, nextPart, memoizedCompactionProperties) => {\n  let currentPartProps = _getCompactionProperties(currentPart, memoizedCompactionProperties);\n  let nextPartProps = _getCompactionProperties(nextPart, memoizedCompactionProperties);\n  if (currentPartProps.isUserPart && nextPartProps.isAdminPart) {\n    return false;\n  }\n  if (currentPartProps.isAdminPart && nextPartProps.isUserPart) {\n    return false;\n  }\n  if (currentPartProps.isNotCompactable || nextPartProps.isNotCompactable) {\n    return false;\n  }\n  if (currentPartProps.isAdminPart && nextPartProps.isAdminPart) {\n    if (currentPartProps.admin !== nextPartProps.admin) {\n      return false;\n    }\n  }\n  if (currentPartProps.isUserPart && nextPartProps.isUserPart) {\n    if (currentPartProps.participant !== nextPartProps.participant) {\n      return false;\n    }\n  }\n  if (currentPart.get('hasErrored')) {\n    return false;\n  }\n  let currentItemCreatedAtStamp = _getTimestampTime(currentPartProps.created_at);\n  let nextItemCreatedAtStamp = _getTimestampTime(nextPartProps.created_at);\n  return nextItemCreatedAtStamp - currentItemCreatedAtStamp <= 60 * 1000;\n};\n\nexport default function compactParts(parts = [], memoizedCompactionProperties = {}) {\n  parts.forEach((item, index) => {\n    let previousPart = index === 0 ? null : parts[index - 1];\n    let nextPart = index === parts.length - 1 ? null : parts[index + 1];\n    let shouldCompactNextPart = nextPart\n      ? _shouldCompactNextPart(item, nextPart, memoizedCompactionProperties)\n      : false;\n    let shouldCompactPreviousPart = previousPart\n      ? _shouldCompactNextPart(previousPart, item, memoizedCompactionProperties)\n      : false;\n\n    if (index === 0) {\n      if (shouldCompactNextPart) {\n        item.setCompactProperties(true, true, false);\n      } else {\n        item.setCompactProperties(false, false, false);\n      }\n    } else if (index === parts.length - 1) {\n      if (shouldCompactPreviousPart) {\n        item.setCompactProperties(false, true, true);\n      } else {\n        item.setCompactProperties(false, false, false);\n      }\n    } else {\n      if (shouldCompactNextPart) {\n        if (shouldCompactPreviousPart) {\n          item.setCompactProperties(false, true, false);\n        } else {\n          item.setCompactProperties(true, true, false);\n        }\n      } else if (shouldCompactPreviousPart) {\n        item.setCompactProperties(false, true, true);\n      } else {\n        item.setCompactProperties(false, false, false);\n      }\n\n      if (nextPart) {\n        nextPart.set('compact', shouldCompactNextPart);\n      }\n      if (item.get('compact')) {\n        if (!previousPart.get('compact')) {\n          item.set('isFirstCompactedPart', true);\n        }\n        if (nextPart && !nextPart.get('compact')) {\n          item.set('isLastCompactedPart', true);\n        }\n      }\n    }\n  });\n  return memoizedCompactionProperties;\n}\n","import { helper as buildHelper } from '@ember/component/helper';\n\nexport function countrySelect(countries) {\n  return countries.map(country => {\n    return {\n      text: country.name,\n      value: country.code,\n    };\n  });\n}\n\nexport default buildHelper(countrySelect);\n","import { helper as buildHelper } from '@ember/component/helper';\n\nconst createdVia = {\n  shown_automatically: 0,\n  inserted: 2,\n  shareable_url: 3,\n  help_center: 4,\n};\n\nexport function formatCreatedVia([value]) {\n  if (typeof value === 'string') {\n    return createdVia[value];\n  } else {\n    return value;\n  }\n}\n\nexport default buildHelper(formatCreatedVia);\n","import { helper as buildHelper } from '@ember/component/helper';\nimport currencyFormatter from 'embercom/lib/currency-formatter';\n\nexport default buildHelper(function(params) {\n  let value = params[0];\n  let precision = params[1];\n  let showLeadingPlusSign = params[2];\n  let truncate = params[3];\n  if (showLeadingPlusSign !== true) {\n    showLeadingPlusSign = false;\n  }\n  return currencyFormatter(value, precision, showLeadingPlusSign, '$', truncate);\n});\n","define(\"embercom/helpers/dasherize\", [\"exports\", \"ember-cli-string-helpers/helpers/dasherize\"], function (_exports, _dasherize) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _dasherize.default;\n    }\n  });\n  Object.defineProperty(_exports, \"dasherize\", {\n    enumerable: true,\n    get: function get() {\n      return _dasherize.dasherize;\n    }\n  });\n});\n","define(\"embercom/helpers/data-bag\", [\"exports\", \"@intercom/embercom-core/helpers/data-bag\"], function (_exports, _dataBag) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _dataBag.default;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport moment from 'moment';\n\nlet dateHelper = function(params, options) {\n  return moment(params[0]).format(dateAndTimeFormats.date);\n};\n\nexport default buildHelper(dateHelper);\n","define(\"embercom/helpers/dec\", [\"exports\", \"ember-composable-helpers/helpers/dec\"], function (_exports, _dec) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _dec.default;\n    }\n  });\n  Object.defineProperty(_exports, \"dec\", {\n    enumerable: true,\n    get: function get() {\n      return _dec.dec;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport displayAdminAs from 'embercom/lib/inbox/display-admin-as';\n\nexport default buildHelper(function(params) {\n  return displayAdminAs(params[0], params[1], false, false, true);\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport displayAdminAs from 'embercom/lib/inbox/display-admin-as';\n\nexport default buildHelper(function(params) {\n  return displayAdminAs(params[0], params[1], true, false, false);\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport displayAdminAs from 'embercom/lib/inbox/display-admin-as';\n\nexport default buildHelper(function(params) {\n  return displayAdminAs(params[0], params[1], params[2], params[3], params[4]);\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nexport default buildHelper(function div(params) {\n  return params.reduce((a, b) => Number(a) / (Number(b) || 1));\n});\n","import { get, computed } from '@ember/object';\n\nexport default function(document_type) {\n  return computed('baseAnalyticsMetadata', function() {\n    let metadata = get(this, 'baseAnalyticsMetadata');\n    return { ...metadata, document_type };\n  });\n}\n","define(\"embercom/helpers/drop\", [\"exports\", \"ember-composable-helpers/helpers/drop\"], function (_exports, _drop) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _drop.default;\n    }\n  });\n});\n","define(\"embercom/helpers/ember-power-calendar-day-classes\", [\"exports\", \"ember-power-calendar/helpers/ember-power-calendar-day-classes\"], function (_exports, _emberPowerCalendarDayClasses) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _emberPowerCalendarDayClasses.default;\n    }\n  });\n  Object.defineProperty(_exports, \"emberPowerCalendarDayClasses\", {\n    enumerable: true,\n    get: function get() {\n      return _emberPowerCalendarDayClasses.emberPowerCalendarDayClasses;\n    }\n  });\n});\n","define(\"embercom/helpers/entries\", [\"exports\", \"ember-composable-helpers/helpers/entries\"], function (_exports, _entries) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _entries.default;\n    }\n  });\n  Object.defineProperty(_exports, \"entries\", {\n    enumerable: true,\n    get: function get() {\n      return _entries.entries;\n    }\n  });\n});\n","define(\"embercom/helpers/enum-validation\", [\"exports\", \"@intercom/embercom-core/helpers/enum-validation\"], function (_exports, _enumValidation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _enumValidation.default;\n    }\n  });\n});\n","define(\"embercom/helpers/eq\", [\"exports\", \"ember-truth-helpers/helpers/equal\"], function (_exports, _equal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _equal.default;\n    }\n  });\n  Object.defineProperty(_exports, \"equal\", {\n    enumerable: true,\n    get: function get() {\n      return _equal.equal;\n    }\n  });\n});\n","define(\"embercom/helpers/filter-by\", [\"exports\", \"ember-composable-helpers/helpers/filter-by\"], function (_exports, _filterBy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _filterBy.default;\n    }\n  });\n});\n","define(\"embercom/helpers/filter\", [\"exports\", \"ember-composable-helpers/helpers/filter\"], function (_exports, _filter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _filter.default;\n    }\n  });\n});\n","define(\"embercom/helpers/find-by\", [\"exports\", \"ember-composable-helpers/helpers/find-by\"], function (_exports, _findBy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _findBy.default;\n    }\n  });\n});\n","import { helper } from '@ember/component/helper';\nimport Grid from 'ember-collection/layouts/grid';\n\nexport default helper(function (params) {\n  return new Grid(params[0], params[1]);\n});\n","define(\"embercom/helpers/flatten\", [\"exports\", \"ember-composable-helpers/helpers/flatten\"], function (_exports, _flatten) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _flatten.default;\n    }\n  });\n  Object.defineProperty(_exports, \"flatten\", {\n    enumerable: true,\n    get: function get() {\n      return _flatten.flatten;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport toSentence from 'embercom/lib/to-sentence';\n\nfunction formatArrayToSentence(params) {\n  let items = params[0] || [];\n  let conjunction = params[1] || 'and';\n  return toSentence(items, conjunction);\n}\n\nexport default buildHelper(formatArrayToSentence);\n","import { helper as buildHelper } from '@ember/component/helper';\nimport { formatSeconds } from 'embercom/lib/duration-formatter';\n\nfunction formatTime(seconds) {\n  return formatSeconds(parseFloat(seconds));\n}\n\nfunction formatBucketRange(params) {\n  let range = params.firstObject;\n  let [start, end] = range.split('-');\n  if (start === '*') {\n    return `< ${formatTime(end)}`;\n  }\n  if (end === '*') {\n    return `> ${formatTime(start)}`;\n  }\n  return `${formatTime(start)} - ${formatTime(end)}`;\n}\n\nexport default buildHelper(formatBucketRange);\n","import { helper as buildHelper } from '@ember/component/helper';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport moment from 'moment';\n\nfunction getDate(options) {\n  if (Em.testing && !options.date) {\n    return moment('1970-1-1'); // Provide a fixed time value for Percy acceptance tests\n  }\n  return options.date;\n}\n\nfunction dateFormat(params, options) {\n  let date = getDate(options);\n  let format = dateAndTimeFormats[options.format];\n  return moment(date).format(format);\n}\n\nexport default buildHelper(dateFormat);\n","define(\"embercom/helpers/format-message\", [\"exports\", \"ember-intl/helpers/format-message\"], function (_exports, _formatMessage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _formatMessage.default;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nexport function formatNameAsInitials(params) {\n  let name = params[0];\n  let nameParts = name.split(' ');\n  let initials;\n\n  if (nameParts.length === 1) {\n    initials = nameParts[0].slice(0, 2);\n  } else {\n    initials = nameParts.map(e => e[0]).join('');\n  }\n\n  return initials.toUpperCase();\n}\n\nexport default buildHelper(formatNameAsInitials);\n","import { helper as buildHelper } from '@ember/component/helper';\nimport { assert } from '@ember/debug';\n\nconst numberTextMap = {\n  1: 'first',\n  2: 'second',\n  3: 'third',\n  4: 'fourth',\n  5: 'fifth',\n  6: 'sixth',\n  7: 'seventh',\n  8: 'eighth',\n  9: 'ninth',\n  10: 'tenth',\n};\n\nexport function formatNumberToText(params) {\n  let number = params[0];\n  assert(\n    'The number passed does not seem to be valid. Either update the helper or pass a correct number',\n    numberTextMap[number],\n  );\n  return numberTextMap[number];\n}\n\nexport default buildHelper(formatNumberToText);\n","define(\"embercom/helpers/format-number\", [\"exports\", \"ember-intl/helpers/format-number\"], function (_exports, _formatNumber) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _formatNumber.default;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport { percentStringHelper, REPORTS_PRECISION_DETAILED } from 'embercom/lib/percentage-formatter';\n\nexport default buildHelper(function(params) {\n  return percentStringHelper(params, REPORTS_PRECISION_DETAILED);\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport { percentStringHelper, REPORTS_PRECISION_DEFAULT } from 'embercom/lib/percentage-formatter';\n\nexport default buildHelper(function(params) {\n  return percentStringHelper(params, REPORTS_PRECISION_DEFAULT);\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport { percentStringHelper } from 'embercom/lib/percentage-formatter';\n\nexport default buildHelper(function(params) {\n  return percentStringHelper(params);\n});\n","define(\"embercom/helpers/format-relative\", [\"exports\", \"ember-intl/helpers/format-relative\"], function (_exports, _formatRelative) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _formatRelative.default;\n    }\n  });\n});\n","define(\"embercom/helpers/format-time\", [\"exports\", \"ember-intl/helpers/format-time\"], function (_exports, _formatTime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _formatTime.default;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport moment from 'moment';\n\nlet formatTimezone = function(params) {\n  let timezone = params[0];\n  let timezoneStr = function(timezone) {\n    return timezone.slice(timezone.lastIndexOf('/') + 1).replace(/_/g, ' ');\n  };\n\n  // Timezone to GMT+X\n  let utcOffsetStr = function(timezone) {\n    return moment\n      .tz(timezone)\n      .format('[GMT]Z')\n      .replace(/0(\\d:)/, '$1')\n      .replace(':00', '');\n  };\n\n  return `${timezoneStr(timezone)} time (${utcOffsetStr(timezone)})`;\n};\n\nexport default buildHelper(formatTimezone);\n","import { helper as buildHelper } from '@ember/component/helper';\nimport URLTruncate from 'embercom/lib/url-truncator';\n\nexport default buildHelper(function(params) {\n  return URLTruncate(params[0], params[1]);\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nlet format = function(params, options) {\n  let formats = {\n    human: { search: / (.)/g, toHuman: ' $1', fromHuman: ' $1' },\n    camel: {\n      search: /([a-z])([A-Z])/g,\n      toHuman: '$1 $2',\n      fromHuman(el) {\n        return el[1].toUpperCase();\n      },\n    },\n    hyphen: { search: /-(.)/g, toHuman: ' $1', fromHuman: '-$1' },\n    underscore: { search: /_(.)/g, toHuman: ' $1', fromHuman: '_$1' },\n  };\n\n  let fromFormat = formats[options.from];\n  let toFormat = formats[options.to];\n  let value = options.value;\n  let humanValue = value.replace(fromFormat.search, fromFormat.toHuman);\n  let replacedValue = humanValue.replace(formats.human.search, toFormat.toHuman);\n\n  return replacedValue;\n};\n\nexport default buildHelper(format);\n","define(\"embercom/helpers/from-entries\", [\"exports\", \"ember-composable-helpers/helpers/from-entries\"], function (_exports, _fromEntries) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _fromEntries.default;\n    }\n  });\n  Object.defineProperty(_exports, \"fromEntries\", {\n    enumerable: true,\n    get: function get() {\n      return _fromEntries.fromEntries;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport moment from 'moment';\n\nlet fullDateAndTimeHelper = function(params, options) {\n  let timezone;\n  if (typeof options !== 'undefined') {\n    timezone = options.timezone;\n  }\n\n  let parsedDate = moment(params[0]);\n  if (typeof timezone === 'undefined') {\n    return parsedDate.format(dateAndTimeFormats.fullDateAndTime);\n  }\n\n  return parsedDate.tz(timezone).format(dateAndTimeFormats.fullDateAndTime);\n};\n\nlet fullDateAndTimeRawHelper = function(dateTime, options) {\n  return fullDateAndTimeHelper([dateTime], options.hash);\n};\n\nexport { fullDateAndTimeRawHelper };\nexport default buildHelper(fullDateAndTimeHelper);\n","import { helper as buildHelper } from '@ember/component/helper';\nimport fullRelativeTimeAgo from 'embercom/lib/full-relative-time-ago';\n\nexport default buildHelper(function(params, namedParams) {\n  if (namedParams && namedParams.fallback && !params[0]) {\n    return namedParams.fallback;\n  }\n  return fullRelativeTimeAgo(params[0]);\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport fullRelativeTime from 'embercom/lib/full-relative-time';\n\nexport default buildHelper(function(params) {\n  return fullRelativeTime(params[0]);\n});\n","define(\"embercom/helpers/get-with-literal-key\", [\"exports\", \"@intercom/embercom-core/helpers/get-with-literal-key\"], function (_exports, _getWithLiteralKey) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _getWithLiteralKey.default;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nexport default buildHelper(function(params) {\n  let width = parseInt(params[0], 10);\n\n  let span = document.createElement('span');\n  span.setAttribute('class', 'ghost__text');\n  span.setAttribute('style', `width: ${width}px;`);\n\n  return span;\n});\n","export function groupBy(array, callback) {\n  let groups = {};\n  array.forEach(item => {\n    let group = callback(item);\n    groups[group] = groups[group] || [];\n    groups[group].push(item);\n  });\n  return Object.keys(groups).map(group => {\n    return groups[group];\n  });\n}\n","define(\"embercom/helpers/gt\", [\"exports\", \"ember-truth-helpers/helpers/gt\"], function (_exports, _gt) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _gt.default;\n    }\n  });\n  Object.defineProperty(_exports, \"gt\", {\n    enumerable: true,\n    get: function get() {\n      return _gt.gt;\n    }\n  });\n});\n","define(\"embercom/helpers/gte\", [\"exports\", \"ember-truth-helpers/helpers/gte\"], function (_exports, _gte) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _gte.default;\n    }\n  });\n  Object.defineProperty(_exports, \"gte\", {\n    enumerable: true,\n    get: function get() {\n      return _gte.gte;\n    }\n  });\n});\n","import { inject as service } from '@ember/service';\nimport Helper from '@ember/component/helper';\n\nexport default class HasFeatureHelper extends Helper {\n  @service appService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  compute([featureNameOrKey]) {\n    if (!featureNameOrKey) {\n      return true;\n    }\n\n    return Boolean(this.app?.get(featureNameOrKey)) || this.app?.canUseFeature(featureNameOrKey);\n  }\n}\n","define(\"embercom/helpers/has-next\", [\"exports\", \"ember-composable-helpers/helpers/has-next\"], function (_exports, _hasNext) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _hasNext.default;\n    }\n  });\n  Object.defineProperty(_exports, \"hasNext\", {\n    enumerable: true,\n    get: function get() {\n      return _hasNext.hasNext;\n    }\n  });\n});\n","define(\"embercom/helpers/has-previous\", [\"exports\", \"ember-composable-helpers/helpers/has-previous\"], function (_exports, _hasPrevious) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _hasPrevious.default;\n    }\n  });\n  Object.defineProperty(_exports, \"hasPrevious\", {\n    enumerable: true,\n    get: function get() {\n      return _hasPrevious.hasPrevious;\n    }\n  });\n});\n","import Helper from '@ember/component/helper';\nimport urlFeatureFlags from 'embercom/lib/url-feature-flags';\n\n// This `has-url-feature` helper is not currently used in the app but\n// shouldn't be removed as it's the only way to use feature flags on our\n// public embercom pages (like the App Store). This will only need to be used\n// when there is an upcoming release in these parts of the app, etc.\n\nexport default class HasUrlFeatureHelper extends Helper {\n  compute(params) {\n    let feature = params[0];\n    let url = params.length > 1 ? params[1] : null;\n    return Boolean(urlFeatureFlags.includes(feature, url));\n  }\n}\n","define(\"embercom/helpers/href-to\", [\"exports\", \"ember-href-to/helpers/href-to\"], function (_exports, _hrefTo) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _hrefTo.default;\n    }\n  });\n  Object.defineProperty(_exports, \"hrefTo\", {\n    enumerable: true,\n    get: function get() {\n      return _hrefTo.hrefTo;\n    }\n  });\n});\n","define(\"embercom/helpers/html-safe\", [\"exports\", \"ember-cli-string-helpers/helpers/html-safe\"], function (_exports, _htmlSafe) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _htmlSafe.default;\n    }\n  });\n  Object.defineProperty(_exports, \"htmlSafe\", {\n    enumerable: true,\n    get: function get() {\n      return _htmlSafe.htmlSafe;\n    }\n  });\n});\n","define(\"embercom/helpers/humanize\", [\"exports\", \"ember-cli-string-helpers/helpers/humanize\"], function (_exports, _humanize) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _humanize.default;\n    }\n  });\n  Object.defineProperty(_exports, \"humanize\", {\n    enumerable: true,\n    get: function get() {\n      return _humanize.humanize;\n    }\n  });\n});\n","import SVGs from '../svgs';\nimport { helper as buildHelper } from '@ember/component/helper';\nimport { icAvatar } from '@intercom/embercom-core/helpers/ic-avatar';\n\nexport function icAvatarHelper(params, hash) {\n  return icAvatar(params, hash, SVGs);\n}\n\nexport default buildHelper(icAvatarHelper);\n","import { helper as buildHelper } from '@ember/component/helper';\nimport { renderInterfaceIcon } from '../lib/svg-icons';\n\nlet domParser = new DOMParser();\n\nexport function icInterfaceIcon(params, options) {\n  let iconSet = options['set'] === undefined ? 'standard' : options['set'];\n  return renderInterfaceIcon(iconSet, params, options);\n}\n\nexport function icInterfaceIconAsDomNode() {\n  let iconHTML = icInterfaceIcon(...arguments);\n  return domParser.parseFromString(iconHTML, 'text/xml').firstChild;\n}\n\nexport default buildHelper(icInterfaceIcon);\n","define(\"embercom/helpers/ic-legacy-table-cell-helper\", [\"exports\", \"@intercom/embercom-core/helpers/ic-legacy-table-cell-helper\"], function (_exports, _icLegacyTableCellHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icLegacyTableCellHelper.default;\n    }\n  });\n  Object.defineProperty(_exports, \"icLegacyTableCellHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _icLegacyTableCellHelper.icLegacyTableCellHelper;\n    }\n  });\n});\n","define(\"embercom/helpers/ic-stamp\", [\"exports\", \"@intercom/embercom-core/helpers/ic-stamp\"], function (_exports, _icStamp) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icStamp.default;\n    }\n  });\n  Object.defineProperty(_exports, \"icStamp\", {\n    enumerable: true,\n    get: function get() {\n      return _icStamp.icStamp;\n    }\n  });\n});\n","define(\"embercom/helpers/if-key\", [\"exports\", \"ember-keyboard/helpers/if-key\"], function (_exports, _ifKey) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _ifKey.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ifKey\", {\n    enumerable: true,\n    get: function get() {\n      return _ifKey.ifKey;\n    }\n  });\n});\n","define(\"embercom/helpers/inc\", [\"exports\", \"ember-composable-helpers/helpers/inc\"], function (_exports, _inc) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _inc.default;\n    }\n  });\n  Object.defineProperty(_exports, \"inc\", {\n    enumerable: true,\n    get: function get() {\n      return _inc.inc;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\n\nconst OFFICE_HOURS_TEXT = \"(These calculations exclude any time outside your team's office hours.)\";\n\nlet includeOfficeHoursTooltip = function([settings, tooltipText]) {\n  let officeHoursText = settings && settings.reportingExcludeOooHours ? OFFICE_HOURS_TEXT : '';\n  return `${tooltipText} ${officeHoursText}`;\n};\n\nexport default buildHelper(includeOfficeHoursTooltip);\n","import { helper as buildHelper } from '@ember/component/helper';\nexport function includes(params) {\n  return params[0].includes(params[1]);\n}\n\nexport default buildHelper(includes);\n","import EmberError from '@ember/error';\nimport { helper as buildHelper } from '@ember/component/helper';\nconst indexIncrementRawHelper = function(value, incrementBy) {\n  let increment = typeof incrementBy === 'number' ? incrementBy : 1;\n  return value + increment;\n};\n\nexport { indexIncrementRawHelper };\nexport default buildHelper(function(options) {\n  if (arguments.length > 1) {\n    throw new EmberError('[indexIncrementHelper] You must use named params for helpers');\n  }\n  return indexIncrementRawHelper(options.hash.value, options.hash.incrementBy);\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nexport default buildHelper(function(params) {\n  return params[0].indexOf(params[1]);\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport inflector from 'embercom/lib/inflector';\n\nlet inflectorRawHelper = function(value, numItems, options) {\n  return inflector(value, numItems, options.hash.pluralForm);\n};\n\nexport { inflectorRawHelper };\nexport default buildHelper(function(params, options) {\n  let value = params[0];\n  let numItems = params[1];\n\n  return inflector(value, numItems, options.pluralForm);\n});\n","import Helper, { helper as buildHelper } from '@ember/component/helper';\nimport { inlineSvg } from 'ember-inline-svg/helpers/inline-svg';\nimport SVGs from '../svgs';\nimport Ember from 'ember';\n\nlet helper;\nif (Helper && buildHelper) {\n  helper = buildHelper(function([path], options) {\n    return inlineSvg(SVGs, path, options);\n  });\n} else {\n  helper = Ember.Handlebars.makeBoundHelper(function(path, options) {\n    return inlineSvg(SVGs, path, options.hash || {});\n  });\n}\n\nexport default helper;\n","define(\"embercom/helpers/intersect\", [\"exports\", \"ember-composable-helpers/helpers/intersect\"], function (_exports, _intersect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _intersect.default;\n    }\n  });\n});\n","define(\"embercom/helpers/invoke\", [\"exports\", \"ember-composable-helpers/helpers/invoke\"], function (_exports, _invoke) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _invoke.default;\n    }\n  });\n  Object.defineProperty(_exports, \"invoke\", {\n    enumerable: true,\n    get: function get() {\n      return _invoke.invoke;\n    }\n  });\n});\n","define(\"embercom/helpers/is-active\", [\"exports\", \"ember-router-helpers/helpers/is-active\"], function (_exports, _isActive) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _isActive.default;\n    }\n  });\n  Object.defineProperty(_exports, \"isActive\", {\n    enumerable: true,\n    get: function get() {\n      return _isActive.isActive;\n    }\n  });\n});\n","define(\"embercom/helpers/is-after\", [\"exports\", \"ember-moment/helpers/is-after\"], function (_exports, _isAfter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _isAfter.default;\n    }\n  });\n});\n","define(\"embercom/helpers/is-array\", [\"exports\", \"ember-truth-helpers/helpers/is-array\"], function (_exports, _isArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _isArray.default;\n    }\n  });\n  Object.defineProperty(_exports, \"isArray\", {\n    enumerable: true,\n    get: function get() {\n      return _isArray.isArray;\n    }\n  });\n});\n","define(\"embercom/helpers/is-before\", [\"exports\", \"ember-moment/helpers/is-before\"], function (_exports, _isBefore) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _isBefore.default;\n    }\n  });\n});\n","define(\"embercom/helpers/is-between\", [\"exports\", \"ember-moment/helpers/is-between\"], function (_exports, _isBetween) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _isBetween.default;\n    }\n  });\n});\n","define(\"embercom/helpers/is-empty\", [\"exports\", \"ember-truth-helpers/helpers/is-empty\"], function (_exports, _isEmpty) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _isEmpty.default;\n    }\n  });\n});\n","define(\"embercom/helpers/is-equal\", [\"exports\", \"ember-truth-helpers/helpers/is-equal\"], function (_exports, _isEqual) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _isEqual.default;\n    }\n  });\n  Object.defineProperty(_exports, \"isEqual\", {\n    enumerable: true,\n    get: function get() {\n      return _isEqual.isEqual;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nexport function isEven(params) {\n  return params[0] % 2 === 0;\n}\n\nexport default buildHelper(isEven);\n","import { helper as buildHelper } from '@ember/component/helper';\nimport { isPresent as emberIsPresent } from '@ember/utils';\nexport function isPresent(params) {\n  return emberIsPresent(params[0]);\n}\n\nexport default buildHelper(isPresent);\n","define(\"embercom/helpers/is-same-or-after\", [\"exports\", \"ember-moment/helpers/is-same-or-after\"], function (_exports, _isSameOrAfter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _isSameOrAfter.default;\n    }\n  });\n});\n","define(\"embercom/helpers/is-same-or-before\", [\"exports\", \"ember-moment/helpers/is-same-or-before\"], function (_exports, _isSameOrBefore) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _isSameOrBefore.default;\n    }\n  });\n});\n","define(\"embercom/helpers/is-same\", [\"exports\", \"ember-moment/helpers/is-same\"], function (_exports, _isSame) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _isSame.default;\n    }\n  });\n});\n","define(\"embercom/helpers/join\", [\"exports\", \"ember-composable-helpers/helpers/join\"], function (_exports, _join) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _join.default;\n    }\n  });\n});\n","import Helper from '@ember/component/helper';\n\nexport default class JsonHelper extends Helper {\n  compute(params) {\n    let [value] = params;\n    return JSON.stringify(value, null, 2);\n  }\n}\n","define(\"embercom/helpers/keys\", [\"exports\", \"ember-composable-helpers/helpers/keys\"], function (_exports, _keys) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _keys.default;\n    }\n  });\n  Object.defineProperty(_exports, \"keys\", {\n    enumerable: true,\n    get: function get() {\n      return _keys.keys;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport BrowserLocales from 'embercom/lib/browser-locales';\n\nexport default buildHelper(function(languageCode) {\n  return BrowserLocales[languageCode];\n});\n","define(\"embercom/helpers/lf-lock-model\", [\"exports\", \"liquid-fire/helpers/lf-lock-model\"], function (_exports, _lfLockModel) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _lfLockModel.default;\n    }\n  });\n  Object.defineProperty(_exports, \"lfLockModel\", {\n    enumerable: true,\n    get: function get() {\n      return _lfLockModel.lfLockModel;\n    }\n  });\n});\n","define(\"embercom/helpers/lf-or\", [\"exports\", \"liquid-fire/helpers/lf-or\"], function (_exports, _lfOr) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _lfOr.default;\n    }\n  });\n  Object.defineProperty(_exports, \"lfOr\", {\n    enumerable: true,\n    get: function get() {\n      return _lfOr.lfOr;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nexport function locationSelect(locations, type) {\n  let allLocations = locations.map(location => {\n    return {\n      label: location.text,\n      value: location.value,\n    };\n  });\n\n  allLocations.unshift({\n    label: `Select a ${type}`,\n    value: null,\n  });\n\n  return allLocations;\n}\n\nexport default buildHelper(locationSelect);\n","import { helper as buildHelper } from '@ember/component/helper';\nexport default buildHelper(function(params) {\n  let text = params[0] || '';\n  return text.toLowerCase();\n});\n","define(\"embercom/helpers/lt\", [\"exports\", \"ember-truth-helpers/helpers/lt\"], function (_exports, _lt) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _lt.default;\n    }\n  });\n  Object.defineProperty(_exports, \"lt\", {\n    enumerable: true,\n    get: function get() {\n      return _lt.lt;\n    }\n  });\n});\n","define(\"embercom/helpers/lte\", [\"exports\", \"ember-truth-helpers/helpers/lte\"], function (_exports, _lte) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _lte.default;\n    }\n  });\n  Object.defineProperty(_exports, \"lte\", {\n    enumerable: true,\n    get: function get() {\n      return _lte.lte;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nexport default buildHelper(function(params) {\n  let email = params[0];\n  let name = params[1];\n  let className = params[2];\n\n  let a = document.createElement('a');\n  a.target = '_blank';\n  a.href = `mailto:${email}`;\n  if (className !== undefined) {\n    a.className = className;\n  }\n\n  let text = document.createTextNode(name);\n  a.appendChild(text);\n\n  return a;\n});\n","define(\"embercom/helpers/map-by\", [\"exports\", \"ember-composable-helpers/helpers/map-by\"], function (_exports, _mapBy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _mapBy.default;\n    }\n  });\n});\n","define(\"embercom/helpers/map\", [\"exports\", \"ember-composable-helpers/helpers/map\"], function (_exports, _map) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _map.default;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nexport default buildHelper(function(params) {\n  return params[0].match(params[1]);\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nexport function max(params) {\n  if (Array.isArray(params[0])) {\n    return Math.max(...params[0]);\n  } else {\n    return Math.max(...params);\n  }\n}\n\nexport default buildHelper(max);\n","define(\"embercom/helpers/media\", [\"exports\", \"ember-responsive/helpers/media\"], function (_exports, _media) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _media.default;\n    }\n  });\n  Object.defineProperty(_exports, \"media\", {\n    enumerable: true,\n    get: function get() {\n      return _media.media;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport { isPresent } from '@ember/utils';\n\nexport default buildHelper(function(objects) {\n  return Object.assign({}, ...objects.filter(object => isPresent(object)));\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport { assert } from '@ember/debug';\nconst MESSAGE_STYLES = ['chat', 'note', 'post', 'video', 'pointer'];\n\nexport function messageStyleClass(params) {\n  let messageStyle = params[0];\n  if (MESSAGE_STYLES.includes(messageStyle)) {\n    return `o__${messageStyle}`;\n  }\n  assert(`helper/message-style-class: The message style \"${messageStyle}\" is not supported`);\n}\n\nexport default buildHelper(messageStyleClass);\n","import { helper as buildHelper } from '@ember/component/helper';\nimport { formatMinutes } from 'embercom/lib/duration-formatter';\n\nexport function minutesFormatter(params) {\n  return formatMinutes(params[0]);\n}\n\nexport default buildHelper(minutesFormatter);\n","import { helper } from '@ember/component/helper';\nimport MixedGrid from 'ember-collection/layouts/mixed-grid';\n\nexport default helper(function (params) {\n  return new MixedGrid(params[0]);\n});\n","define(\"embercom/helpers/mobile-device-class\", [\"exports\", \"@intercom/embercom-composer/helpers/mobile-device-class\"], function (_exports, _mobileDeviceClass) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _mobileDeviceClass.default;\n    }\n  });\n});\n","//from: https://github.com/shipshapecode/ember-math-helpers\n//license: https://github.com/shipshapecode/ember-math-helpers/blob/master/LICENSE.md\n\nimport { helper } from '@ember/component/helper';\n\nexport function mod(params) {\n  return params.reduce((a, b) => Number(a) % Number(b));\n}\n\nexport default helper(mod);\n","define(\"embercom/helpers/moment-add\", [\"exports\", \"ember-moment/helpers/moment-add\"], function (_exports, _momentAdd) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _momentAdd.default;\n    }\n  });\n});\n","define(\"embercom/helpers/moment-calendar\", [\"exports\", \"ember-moment/helpers/moment-calendar\"], function (_exports, _momentCalendar) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _momentCalendar.default;\n    }\n  });\n});\n","define(\"embercom/helpers/moment-diff\", [\"exports\", \"ember-moment/helpers/moment-diff\"], function (_exports, _momentDiff) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _momentDiff.default;\n    }\n  });\n});\n","define(\"embercom/helpers/moment-duration\", [\"exports\", \"ember-moment/helpers/moment-duration\"], function (_exports, _momentDuration) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _momentDuration.default;\n    }\n  });\n});\n","define(\"embercom/helpers/moment-format\", [\"exports\", \"ember-moment/helpers/moment-format\"], function (_exports, _momentFormat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _momentFormat.default;\n    }\n  });\n});\n","define(\"embercom/helpers/moment-from-now\", [\"exports\", \"ember-moment/helpers/moment-from-now\"], function (_exports, _momentFromNow) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _momentFromNow.default;\n    }\n  });\n});\n","define(\"embercom/helpers/moment-from\", [\"exports\", \"ember-moment/helpers/moment-from\"], function (_exports, _momentFrom) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _momentFrom.default;\n    }\n  });\n});\n","define(\"embercom/helpers/moment-subtract\", [\"exports\", \"ember-moment/helpers/moment-subtract\"], function (_exports, _momentSubtract) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _momentSubtract.default;\n    }\n  });\n});\n","define(\"embercom/helpers/moment-to-date\", [\"exports\", \"ember-moment/helpers/moment-to-date\"], function (_exports, _momentToDate) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _momentToDate.default;\n    }\n  });\n});\n","define(\"embercom/helpers/moment-to-now\", [\"exports\", \"ember-moment/helpers/moment-to-now\"], function (_exports, _momentToNow) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _momentToNow.default;\n    }\n  });\n});\n","define(\"embercom/helpers/moment-to\", [\"exports\", \"ember-moment/helpers/moment-to\"], function (_exports, _momentTo) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _momentTo.default;\n    }\n  });\n});\n","define(\"embercom/helpers/moment-unix\", [\"exports\", \"ember-moment/helpers/unix\"], function (_exports, _unix) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _unix.default;\n    }\n  });\n});\n","define(\"embercom/helpers/moment\", [\"exports\", \"ember-moment/helpers/moment\"], function (_exports, _moment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _moment.default;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nexport default buildHelper(function multiply(params) {\n  return params.reduce((a, b) => Number(a) * Number(b));\n});\n","define(\"embercom/helpers/next\", [\"exports\", \"ember-composable-helpers/helpers/next\"], function (_exports, _next) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _next.default;\n    }\n  });\n  Object.defineProperty(_exports, \"next\", {\n    enumerable: true,\n    get: function get() {\n      return _next.next;\n    }\n  });\n});\n","define(\"embercom/helpers/noop\", [\"exports\", \"ember-composable-helpers/helpers/noop\"], function (_exports, _noop) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _noop.default;\n    }\n  });\n  Object.defineProperty(_exports, \"noop\", {\n    enumerable: true,\n    get: function get() {\n      return _noop.noop;\n    }\n  });\n});\n","define(\"embercom/helpers/not-eq\", [\"exports\", \"ember-truth-helpers/helpers/not-equal\"], function (_exports, _notEqual) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _notEqual.default;\n    }\n  });\n  Object.defineProperty(_exports, \"notEq\", {\n    enumerable: true,\n    get: function get() {\n      return _notEqual.notEq;\n    }\n  });\n});\n","define(\"embercom/helpers/not\", [\"exports\", \"ember-truth-helpers/helpers/not\"], function (_exports, _not) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _not.default;\n    }\n  });\n  Object.defineProperty(_exports, \"not\", {\n    enumerable: true,\n    get: function get() {\n      return _not.not;\n    }\n  });\n});\n","define(\"embercom/helpers/now\", [\"exports\", \"ember-moment/helpers/now\"], function (_exports, _now) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _now.default;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport numberFormatter from 'embercom/lib/number-formatter';\n\nexport const numberFormatterHelper = params => numberFormatter(parseInt(params[0], 10) || 0);\n\nexport default buildHelper(numberFormatterHelper);\n","import { helper as buildHelper } from '@ember/component/helper';\nimport numericFormatter from 'embercom/lib/numeric-formatter';\n\nconst numericFormatterRawHelper = function(value, precision) {\n  return numericFormatter(value, parseInt(precision, 10) || 0);\n};\n\nexport { numericFormatterRawHelper };\nexport default buildHelper(function(params) {\n  let value = params[0];\n  let precision = params[1];\n  return numericFormatter(value, parseInt(precision, 10) || 0);\n});\n","define(\"embercom/helpers/object-at\", [\"exports\", \"ember-composable-helpers/helpers/object-at\"], function (_exports, _objectAt) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _objectAt.default;\n    }\n  });\n  Object.defineProperty(_exports, \"objectAt\", {\n    enumerable: true,\n    get: function get() {\n      return _objectAt.objectAt;\n    }\n  });\n});\n","define(\"embercom/helpers/on-document\", [\"exports\", \"ember-on-helper/helpers/on-document\"], function (_exports, _onDocument) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _onDocument.default;\n    }\n  });\n});\n","define(\"embercom/helpers/on-key\", [\"exports\", \"ember-keyboard/helpers/on-key\"], function (_exports, _onKey) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _onKey.default;\n    }\n  });\n});\n","import Helper from '@ember/component/helper';\nimport { throttle, cancel } from '@ember/runloop';\nimport ENV from 'embercom/config/environment';\n\nexport default class OnWindowThrottledResizeHelper extends Helper {\n  compute([onResize]) {\n    if (this.eventHandler) {\n      window.removeEventListener('resize', this.eventHandler);\n    }\n    this.eventHandler = () => {\n      this.throttleTimer = throttle(\n        onResize,\n        {\n          width: document.body.clientWidth,\n          height: document.body.clientHeight,\n        },\n        ENV.APP._50MS,\n      );\n    };\n\n    window.addEventListener('resize', this.eventHandler);\n\n    // fire on initial render\n    this.eventHandler();\n  }\n\n  willDestroy() {\n    cancel(this.throttleTimer);\n    window.removeEventListener('resize', this.eventHandler);\n    super.willDestroy();\n  }\n}\n","define(\"embercom/helpers/on-window\", [\"exports\", \"ember-on-helper/helpers/on-window\"], function (_exports, _onWindow) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _onWindow.default;\n    }\n  });\n});\n","define(\"embercom/helpers/on\", [\"exports\", \"ember-on-helper/helpers/on\"], function (_exports, _on) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _on.default;\n    }\n  });\n});\n","define(\"embercom/helpers/one-way-select/contains\", [\"exports\", \"ember-one-way-controls/helpers/one-way-select/contains\"], function (_exports, _contains) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _contains.default;\n    }\n  });\n  Object.defineProperty(_exports, \"contains\", {\n    enumerable: true,\n    get: function get() {\n      return _contains.contains;\n    }\n  });\n});\n","define(\"embercom/helpers/optional\", [\"exports\", \"ember-composable-helpers/helpers/optional\"], function (_exports, _optional) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _optional.default;\n    }\n  });\n  Object.defineProperty(_exports, \"optional\", {\n    enumerable: true,\n    get: function get() {\n      return _optional.optional;\n    }\n  });\n});\n","define(\"embercom/helpers/or\", [\"exports\", \"ember-truth-helpers/helpers/or\"], function (_exports, _or) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _or.default;\n    }\n  });\n  Object.defineProperty(_exports, \"or\", {\n    enumerable: true,\n    get: function get() {\n      return _or.or;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\nimport { assert } from '@ember/debug';\n\nexport function buildPalette([firstKey, ...rest]) {\n  if (rest.length) {\n    return [firstKey, ...rest].map(key => {\n      assert(`${key} is not a color in embercom-core/lib/palette`, PALETTE[key]);\n      return PALETTE[key];\n    });\n  } else {\n    assert(`${firstKey} is not a color in embercom-core/lib/palette`, PALETTE[firstKey]);\n    return PALETTE[firstKey];\n  }\n}\n\nexport default buildHelper(buildPalette);\n","import { helper } from '@ember/component/helper';\nimport PercentageColumns from 'ember-collection/layouts/percentage-columns';\n\nexport default helper(function (params) {\n  return new PercentageColumns(params[0], params[1], params[2]);\n});\n","define(\"embercom/helpers/perform\", [\"exports\", \"ember-concurrency/helpers/perform\"], function (_exports, _perform) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _perform.default;\n    }\n  });\n});\n","import Helper from '@ember/component/helper';\nimport { inject as service } from '@ember/service';\n\nexport default class CaptureRenderEndFn extends Helper {\n  @service frontendStatsService;\n\n  compute(_params, { subject, id, sampleRate = 1 }) {\n    return () => this.frontendStatsService.stopInteractionTime(subject, { id, sampleRate });\n  }\n}\n","import Helper from '@ember/component/helper';\nimport { inject as service } from '@ember/service';\n\nexport default class CaptureRenderEnd extends Helper {\n  @service frontendStatsService;\n\n  compute(_params, { subject, id, sampleRate = 1 }) {\n    this.frontendStatsService.stopInteractionTime(subject, { id, sampleRate });\n  }\n}\n","import Helper from '@ember/component/helper';\nimport { inject as service } from '@ember/service';\n\nexport default class CaptureRenderStartFn extends Helper {\n  @service frontendStatsService;\n\n  compute(_params, { subject, ...options }) {\n    return () => this.frontendStatsService.startInteractionTime(subject, options);\n  }\n}\n","import Helper from '@ember/component/helper';\nimport { inject as service } from '@ember/service';\n\nexport default class CaptureRenderStart extends Helper {\n  @service frontendStatsService;\n\n  compute(_params, { subject, ...options }) {\n    this.frontendStatsService.startInteractionTime(subject, options);\n  }\n}\n","import Helper from '@ember/component/helper';\nimport ModelWithPermissions from 'embercom/models/model-with-permissions';\n\nexport default class PermissionLabelHelper extends Helper {\n  compute([permissionName]) {\n    return ModelWithPermissions.labelFor(permissionName);\n  }\n}\n","define(\"embercom/helpers/pick\", [\"exports\", \"ember-composable-helpers/helpers/pick\"], function (_exports, _pick) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _pick.default;\n    }\n  });\n  Object.defineProperty(_exports, \"pick\", {\n    enumerable: true,\n    get: function get() {\n      return _pick.pick;\n    }\n  });\n});\n","define(\"embercom/helpers/pipe-action\", [\"exports\", \"ember-composable-helpers/helpers/pipe-action\"], function (_exports, _pipeAction) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _pipeAction.default;\n    }\n  });\n});\n","define(\"embercom/helpers/pipe\", [\"exports\", \"ember-composable-helpers/helpers/pipe\"], function (_exports, _pipe) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _pipe.default;\n    }\n  });\n  Object.defineProperty(_exports, \"pipe\", {\n    enumerable: true,\n    get: function get() {\n      return _pipe.pipe;\n    }\n  });\n});\n","import pluralize from 'ember-inflector/lib/helpers/pluralize';\nexport default pluralize;\n","define(\"embercom/helpers/power-calendar-format-date\", [\"exports\", \"ember-power-calendar/helpers/power-calendar-format-date\"], function (_exports, _powerCalendarFormatDate) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _powerCalendarFormatDate.default;\n    }\n  });\n  Object.defineProperty(_exports, \"powerCalendarFormatDate\", {\n    enumerable: true,\n    get: function get() {\n      return _powerCalendarFormatDate.powerCalendarFormatDate;\n    }\n  });\n});\n","define(\"embercom/helpers/prevent-default\", [\"exports\", \"ember-event-helpers/helpers/prevent-default\"], function (_exports, _preventDefault) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _preventDefault.default;\n    }\n  });\n  Object.defineProperty(_exports, \"preventDefault\", {\n    enumerable: true,\n    get: function get() {\n      return _preventDefault.preventDefault;\n    }\n  });\n});\n","define(\"embercom/helpers/previous\", [\"exports\", \"ember-composable-helpers/helpers/previous\"], function (_exports, _previous) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _previous.default;\n    }\n  });\n  Object.defineProperty(_exports, \"previous\", {\n    enumerable: true,\n    get: function get() {\n      return _previous.previous;\n    }\n  });\n});\n","import Helper from '@ember/component/helper';\nimport { inject as service } from '@ember/service';\n\nexport default class PurchaseAnalyticsEventHelper extends Helper {\n  @service purchaseAnalyticsService;\n\n  compute(_positionalParams, namedParams) {\n    return () => {\n      this.purchaseAnalyticsService.trackEvent(namedParams);\n    };\n  }\n}\n","define(\"embercom/helpers/queue\", [\"exports\", \"ember-composable-helpers/helpers/queue\"], function (_exports, _queue) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _queue.default;\n    }\n  });\n  Object.defineProperty(_exports, \"queue\", {\n    enumerable: true,\n    get: function get() {\n      return _queue.queue;\n    }\n  });\n});\n","define(\"embercom/helpers/random-number\", [\"exports\", \"@intercom/embercom-core/helpers/random-number\"], function (_exports, _randomNumber) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _randomNumber.default;\n    }\n  });\n});\n","define(\"embercom/helpers/range\", [\"exports\", \"ember-composable-helpers/helpers/range\"], function (_exports, _range) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _range.default;\n    }\n  });\n  Object.defineProperty(_exports, \"range\", {\n    enumerable: true,\n    get: function get() {\n      return _range.range;\n    }\n  });\n});\n","define(\"embercom/helpers/reduce\", [\"exports\", \"ember-composable-helpers/helpers/reduce\"], function (_exports, _reduce) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _reduce.default;\n    }\n  });\n});\n","define(\"embercom/helpers/reject-by\", [\"exports\", \"ember-composable-helpers/helpers/reject-by\"], function (_exports, _rejectBy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _rejectBy.default;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport emoji from 'embercom/lib/emoji';\nimport { V1View } from '@intercom/interblocks.ts';\n\nfunction emojifyBlocks(blocks) {\n  return (\n    blocks &&\n    blocks.map(block => {\n      let blockCopy = Object.assign({}, block);\n      if (blockCopy.type !== 'button') {\n        blockCopy.text = emoji.emojify(blockCopy.text);\n      }\n      return blockCopy;\n    })\n  );\n}\n\nexport function renderBlocksV1(blocks) {\n  let node = document.createElement('div');\n  node.classList.add('intercom-interblocks');\n  let view = new V1View(node);\n  try {\n    view.render(emojifyBlocks(blocks));\n  } catch (e) {\n    console.error(e);\n  }\n  return node;\n}\n\nexport default buildHelper(function(params) {\n  return renderBlocksV1(params[0]);\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport emoji from 'embercom/lib/emoji';\nimport HtmlCleaner from '@intercom/embercom-composer/lib/html-cleaner';\n\nfunction wrapInContainer(html) {\n  let outerNode = document.createElement('div');\n  let childNode = document.createElement('div');\n  outerNode.classList.add('intercom-interblocks');\n  childNode.classList.add('intercom-interblocks-html');\n  childNode.innerHTML = html;\n  outerNode.appendChild(childNode);\n  return outerNode;\n}\n\nexport function renderHtml(html) {\n  let cleanedHtml = new HtmlCleaner().cleanHtml(html);\n  let emojifiedHTml = emoji.emojify(cleanedHtml);\n  let node = wrapInContainer(emojifiedHTml);\n  return node;\n}\n\nexport default buildHelper(function(params) {\n  return renderHtml(params[0]);\n});\n","define(\"embercom/helpers/repeat\", [\"exports\", \"ember-composable-helpers/helpers/repeat\"], function (_exports, _repeat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _repeat.default;\n    }\n  });\n  Object.defineProperty(_exports, \"repeat\", {\n    enumerable: true,\n    get: function get() {\n      return _repeat.repeat;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\n\nexport default buildHelper(function([key, value]) {\n  return {\n    [key]: value,\n  };\n});\n","import { mock } from 'ember-data-factory-guy';\n\nexport function mockKnownValuesForChannelTypes(\n  response = ['Twitter', 'Desktop', 'Email', 'Facebook', 'Push'],\n) {\n  return mock({ type: 'GET', url: '/ember/reporting/known_values' })\n    .withSomeParams({ source: 'teammate_response', property: 'channel_type' })\n    .returns(response);\n}\n","import { helper as buildHelper } from '@ember/component/helper';\n\nexport const nestedKeys = signal => {\n  return [\n    ...new Set(\n      signal.context.reduce((allKeys, { value = [] }) => {\n        return [...allKeys, ...value.map(valueItem => valueItem.key)];\n      }, []),\n    ),\n  ];\n};\n\nexport default buildHelper(function([signal]) {\n  return nestedKeys(signal);\n});\n","define(\"embercom/helpers/required-validation\", [\"exports\", \"@intercom/embercom-core/helpers/required-validation\"], function (_exports, _requiredValidation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _requiredValidation.default;\n    }\n  });\n});\n","define(\"embercom/helpers/reverse\", [\"exports\", \"ember-composable-helpers/helpers/reverse\"], function (_exports, _reverse) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _reverse.default;\n    }\n  });\n});\n","define(\"embercom/helpers/route-action\", [\"exports\", \"ember-route-action-helper/helpers/route-action\"], function (_exports, _routeAction) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _routeAction.default;\n    }\n  });\n});\n","define(\"embercom/helpers/route-params\", [\"exports\", \"ember-router-helpers/helpers/route-params\"], function (_exports, _routeParams) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _routeParams.default;\n    }\n  });\n  Object.defineProperty(_exports, \"routeParams\", {\n    enumerable: true,\n    get: function get() {\n      return _routeParams.routeParams;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport { formatSeconds } from 'embercom/lib/duration-formatter';\n\nexport default buildHelper(function([seconds], options) {\n  return formatSeconds(seconds, options);\n});\n","define(\"embercom/helpers/send\", [\"exports\", \"ember-component-inbound-actions/helpers/send\"], function (_exports, _send) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _send.default;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nexport default buildHelper(function(params) {\n  let text = params[0] || '';\n  return text.toLowerCase().capitalize();\n});\n","import { helper } from '@ember/component/helper';\n\nexport function edgeLabel(_, namedArgs) {\n  let edge = namedArgs.edge;\n  let node = edge.predecessor.dataObject;\n\n  let connectors = node.graphConfiguration.connectors;\n\n  return connectors.find(connector => connector.edgeType === edge.dataObject.edgeType)?.label;\n}\n\nexport default helper(edgeLabel);\n","import { getOwner } from '@ember/application';\nimport { get } from '@ember/object';\nimport Helper from '@ember/component/helper';\n\nexport default class ServiceHelper extends Helper {\n  compute([servicePath]) {\n    let owner = getOwner(this);\n\n    let parts = servicePath.split('.');\n    let serviceName = parts.shift();\n    let service = owner.lookup(`service:${serviceName}`);\n\n    if (parts.length > 0) {\n      let path = parts.join('.');\n      return get(service, path);\n    } else {\n      return service;\n    }\n  }\n}\n","define(\"embercom/helpers/set\", [\"exports\", \"ember-simple-set-helper/helpers/set\"], function (_exports, _set) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _set.default;\n    }\n  });\n});\n","define(\"embercom/helpers/shuffle\", [\"exports\", \"ember-composable-helpers/helpers/shuffle\"], function (_exports, _shuffle) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _shuffle.default;\n    }\n  });\n  Object.defineProperty(_exports, \"shuffle\", {\n    enumerable: true,\n    get: function get() {\n      return _shuffle.shuffle;\n    }\n  });\n});\n","// A tempory replacement for the built-in `capitalize` helper\n// while we await resolution of https://github.com/emberjs/ember.js/issues/17864\n\nimport { helper } from '@ember/component/helper';\nimport simpleCapitalize from 'embercom/lib/simple-capitalize';\n\nexport default helper(function([text]) {\n  return simpleCapitalize(text);\n});\n","import singularize from 'ember-inflector/lib/helpers/singularize';\nexport default singularize;\n","define(\"embercom/helpers/slice\", [\"exports\", \"ember-composable-helpers/helpers/slice\"], function (_exports, _slice) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _slice.default;\n    }\n  });\n});\n","define(\"embercom/helpers/sort-by\", [\"exports\", \"ember-composable-helpers/helpers/sort-by\"], function (_exports, _sortBy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _sortBy.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-jquery */\nimport { helper as buildHelper } from '@ember/component/helper';\nimport { assert } from '@ember/debug';\nimport $ from 'jquery';\nimport { icInterfaceIcon } from './ic-interface-icon';\n\nlet whitelistedOptionsHash = function(value, options) {\n  let hash = {};\n  if (typeof options !== 'undefined') {\n    ['descending', 'sortOrder'].forEach(function(property) {\n      hash[property] = options[property];\n    });\n  }\n  return hash;\n};\n\nlet iconName = function(optionsHash) {\n  let descending = optionsHash['descending'] || optionsHash['sortOrder'] === 'descending';\n  if (descending) {\n    return 'thin-down-arrow';\n  } else {\n    return 'thin-up-arrow';\n  }\n};\n\nexport function sortIconPattern(params, options) {\n  let defaultOptions = {};\n  let value = params[0];\n  let optionsHash = $.extend(defaultOptions, whitelistedOptionsHash(value, options));\n\n  assert(\n    'The sortOrder parameter, if set, can only be set to \"ascending\" or \"descending\".',\n    (function() {\n      let sortOrder = optionsHash['sortOrder'];\n      return (\n        typeof sortOrder === 'undefined' || ['ascending', 'descending'].indexOf(sortOrder) !== -1\n      );\n    })(),\n  );\n  assert(\n    'The descending parameter, if set, must be either true or false.',\n    (function() {\n      let descending = optionsHash['descending'];\n      return typeof descending === 'undefined' || typeof descending === 'boolean';\n    })(),\n  );\n  assert(\n    'You must provide either sortOrder or descending parameters.',\n    (function() {\n      return (\n        typeof optionsHash['sortOrder'] !== 'undefined' ||\n        typeof optionsHash['descending'] !== 'undefined'\n      );\n    })(),\n  );\n  assert(\n    'You cannot provide both sortOrder and descending parameters.',\n    (function() {\n      return (\n        typeof optionsHash['sortOrder'] === 'undefined' ||\n        typeof optionsHash['descending'] === 'undefined'\n      );\n    })(),\n  );\n\n  return icInterfaceIcon([iconName(optionsHash)], optionsHash);\n}\n\nexport default buildHelper(sortIconPattern);\n","import { helper } from '@ember/component/helper';\nimport {\n  states,\n  objectTypes,\n  matchBehaviors,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { isNone } from '@ember/utils';\n\nconst stateNameForBanner = state => {\n  if (state === states.live) {\n    return 'Live';\n  } else {\n    return 'Draft';\n  }\n};\n\nconst stateNameForTour = (state, tour = {}) => {\n  if (state === states.live || tour.insertable) {\n    return 'Live';\n  } else if (state === states.paused) {\n    return 'Paused';\n  } else {\n    return 'Draft';\n  }\n};\n\nconst stateNameForInAppOrEmailOrPush = (state, matchBehavior) => {\n  switch (state) {\n    case states.draft:\n      return 'Draft';\n    case states.live:\n      if (matchBehavior === matchBehaviors.static) {\n        return 'Sent';\n      }\n      return 'Live';\n    case states.paused:\n      if (matchBehavior === matchBehaviors.static) {\n        return 'Sent';\n      }\n      return 'Paused';\n    case states.scheduled:\n      return 'Scheduled';\n  }\n};\n\nconst stateNameForControlGroup = state => {\n  if (state === states.ended) {\n    return 'Ended';\n  } else {\n    return stateNameForInAppOrEmailOrPush(state);\n  }\n};\n\nconst stateNameForSeries = state => {\n  switch (state) {\n    case states.draft:\n      return 'Draft';\n    case states.live:\n      return 'Live';\n    case states.paused:\n      return 'Paused';\n  }\n};\n\nexport function stateName(params, namedArgs) {\n  let objectType = namedArgs.objectType;\n  let state = namedArgs.state;\n  let content = namedArgs.content;\n  let matchBehavior = namedArgs.matchBehavior;\n\n  if (isNone(objectType)) {\n    throw new Error(`No object type passed to ruleset state helper`);\n  }\n\n  switch (objectType) {\n    case objectTypes.banner:\n      return stateNameForBanner(state);\n    case objectTypes.tour:\n      return stateNameForTour(state, content);\n    case objectTypes.legacyMessageInApp:\n    case objectTypes.legacyMessageEmail:\n    case objectTypes.legacyMessagePush:\n    case objectTypes.sms:\n    case objectTypes.push:\n    case objectTypes.email:\n    case objectTypes.chat:\n    case objectTypes.post:\n    case objectTypes.carousel:\n    case objectTypes.customBot:\n    case objectTypes.inboundCustomBot:\n    case objectTypes.buttonCustomBot:\n    case objectTypes.condition:\n    case objectTypes.wait:\n    case objectTypes.tagger:\n      return stateNameForInAppOrEmailOrPush(state, matchBehavior);\n    case objectTypes.legacyControlGroup:\n    case objectTypes.controlGroup:\n      return stateNameForControlGroup(state);\n    case objectTypes.series:\n      return stateNameForSeries(state);\n    default:\n      throw new Error(`No states available for [${objectType}]`);\n  }\n}\n\nexport default helper(stateName);\n","import { helper } from '@ember/component/helper';\nimport { isEmpty } from '@ember/utils';\n\nexport default helper(function(params) {\n  let count = params[0];\n  if (isEmpty(count)) {\n    return `\\u2014`; //em dash\n  } else {\n    return count;\n  }\n});\n","import StatsParameters from 'embercom/objects/stats-system/stats-parameters';\nimport {\n  humanReadableObjectNames,\n  objectNames,\n  objectTypes,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport moment from 'moment';\n\nexport function makeStatsParametersForRulesetLink(ruleset, rulesetLink = null) {\n  rulesetLink = rulesetLink || ruleset.rulesetLinks.firstObject;\n  return new StatsParameters({\n    contentId: rulesetLink.objectId,\n    contentType: rulesetLink.objectType,\n    contentObject: rulesetLink.object,\n    goal: ruleset.goal,\n    uiObjectName: rulesetLink.humanReadableObjectName,\n    shortObjectName: rulesetLink.objectName,\n    startDate: startDate(rulesetLink.wentLiveAt),\n  });\n}\n\nexport function makeStatsParametersForSeries(series) {\n  return new StatsParameters({\n    contentId: series.id,\n    contentType: objectTypes.series,\n    contentObject: series,\n    goal: series.goal,\n    uiObjectName: humanReadableObjectNames[objectTypes.series],\n    shortObjectName: objectNames[objectTypes.series],\n    startDate: startDate(series.wentLiveAt),\n  });\n}\n\nexport function makeStatsParametersForArticle(article) {\n  return {\n    contentId: article.id,\n    contentType: objectTypes.article,\n    uiObjectName: humanReadableObjectNames[objectTypes.article],\n    shortObjectName: objectNames[objectTypes.article],\n    startDate: startDate(article.createdAt),\n    rangeField: 'event.created_at',\n    contentObject: {\n      reactionSet: [\n        { unicode_emoticon: '\\uD83D\\uDE03' },\n        { unicode_emoticon: '\\uD83D\\uDE10' },\n        { unicode_emoticon: '\\uD83D\\uDE1E' },\n      ],\n    },\n  };\n}\n\nfunction startDate(wentLiveAt) {\n  let twoYearsAgo = moment()\n    .subtract(2, 'years')\n    .add(1, 'day') // without this query always fails\n    .toDate();\n  return wentLiveAt > twoYearsAgo ? wentLiveAt : twoYearsAgo;\n}\n","define(\"embercom/helpers/stop-propagation\", [\"exports\", \"ember-event-helpers/helpers/stop-propagation\"], function (_exports, _stopPropagation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _stopPropagation.default;\n    }\n  });\n  Object.defineProperty(_exports, \"stopPropagation\", {\n    enumerable: true,\n    get: function get() {\n      return _stopPropagation.stopPropagation;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nexport function sub(params) {\n  return params.reduce((a, b) => a - b);\n}\n\nexport default buildHelper(sub);\n","define(\"embercom/helpers/t\", [\"exports\", \"ember-intl/helpers/t\"], function (_exports, _t) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _t.default;\n    }\n  });\n});\n","define(\"embercom/helpers/take\", [\"exports\", \"ember-composable-helpers/helpers/take\"], function (_exports, _take) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _take.default;\n    }\n  });\n});\n","define(\"embercom/helpers/task\", [\"exports\", \"ember-concurrency/helpers/task\"], function (_exports, _task) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _task.default;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport moment from 'moment';\n\n/**\n * Template helper to display human readable relative times.\n *\n * ```\n *  {{time-from-now-helper post.created_at}}\n * ```\n */\n\n/**\n * @method time-from-now-helper\n * @param {Integer, String} Timestamp (UNIX or otherwise)\n */\nexport default buildHelper(function(params) {\n  let value = params[0];\n\n  if (typeof value === 'number') {\n    return moment.unix(value).fromNow();\n  } else {\n    return moment(value).fromNow();\n  }\n});\n","export function titleCase(str) {\n  return str\n    .toLowerCase()\n    .split(' ')\n    .map(function(word) {\n      return word.replace(word[0], word[0].toUpperCase());\n    })\n    .join(' ');\n}\n","define(\"embercom/helpers/titleize\", [\"exports\", \"ember-cli-string-helpers/helpers/titleize\"], function (_exports, _titleize) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _titleize.default;\n    }\n  });\n  Object.defineProperty(_exports, \"titleize\", {\n    enumerable: true,\n    get: function get() {\n      return _titleize.titleize;\n    }\n  });\n});\n","define(\"embercom/helpers/toggle-action\", [\"exports\", \"ember-composable-helpers/helpers/toggle-action\"], function (_exports, _toggleAction) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _toggleAction.default;\n    }\n  });\n});\n","define(\"embercom/helpers/toggle\", [\"exports\", \"ember-composable-helpers/helpers/toggle\"], function (_exports, _toggle) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _toggle.default;\n    }\n  });\n  Object.defineProperty(_exports, \"toggle\", {\n    enumerable: true,\n    get: function get() {\n      return _toggle.toggle;\n    }\n  });\n});\n","define(\"embercom/helpers/track-analytics-event\", [\"exports\", \"@intercom/embercom-core/helpers/track-analytics-event\"], function (_exports, _trackAnalyticsEvent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _trackAnalyticsEvent.default;\n    }\n  });\n});\n","import Helper from '@ember/component/helper';\nimport { inject as service } from '@ember/service';\n\nexport default class TrackEventHelper extends Helper {\n  @service intercomEventService;\n\n  compute([name, metadata = {}]) {\n    return () => {\n      this.intercomEventService.trackEvent(name, metadata);\n    };\n  }\n}\n","define(\"embercom/helpers/transition-to\", [\"exports\", \"ember-router-helpers/helpers/transition-to\"], function (_exports, _transitionTo) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _transitionTo.default;\n    }\n  });\n  Object.defineProperty(_exports, \"transitionTo\", {\n    enumerable: true,\n    get: function get() {\n      return _transitionTo.transitionTo;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\nimport TruncateString from 'embercom/lib/truncate-string';\n\nexport function truncate(params) {\n  let source = String(params[0]);\n  let maxLength = Number(params[1]);\n  return TruncateString(source, maxLength, false);\n}\nexport default buildHelper(truncate);\n","define(\"embercom/helpers/truncate\", [\"exports\", \"ember-cli-string-helpers/helpers/truncate\"], function (_exports, _truncate) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _truncate.default;\n    }\n  });\n  Object.defineProperty(_exports, \"truncate\", {\n    enumerable: true,\n    get: function get() {\n      return _truncate.truncate;\n    }\n  });\n});\n","import { inject as service } from '@ember/service';\nimport Helper from '@ember/component/helper';\n\nexport default class TextTranslationHelper extends Helper {\n  @service('translationsService') translations;\n\n  compute(params, options) {\n    let keyName = params[0];\n    return this.translations.localize(keyName, options);\n  }\n}\n","define(\"embercom/helpers/underscore\", [\"exports\", \"ember-cli-string-helpers/helpers/underscore\"], function (_exports, _underscore) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _underscore.default;\n    }\n  });\n  Object.defineProperty(_exports, \"underscore\", {\n    enumerable: true,\n    get: function get() {\n      return _underscore.underscore;\n    }\n  });\n});\n","define(\"embercom/helpers/union\", [\"exports\", \"ember-composable-helpers/helpers/union\"], function (_exports, _union) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _union.default;\n    }\n  });\n});\n","export function uniqBy(array, callback) {\n  let groups = {};\n  array.forEach(item => {\n    let group = callback(item);\n    groups[group] = groups[group] || [];\n    groups[group].push(item);\n  });\n  return Object.keys(groups).map(group => {\n    return groups[group][0];\n  });\n}\n","import { helper as buildHelper } from '@ember/component/helper';\nimport { toPercentString } from 'embercom/lib/percentage-formatter';\nimport { formatMinutes } from 'embercom/lib/duration-formatter';\nimport numberFormatter, { reportingTruncatedNumberFormatter } from 'embercom/lib/number-formatter';\nimport { pluralize } from 'ember-inflector';\n\nexport const unitFormatter = ({ value, unit, abbreviate, hideDefaultUnit }) => {\n  switch (unit) {\n    case 'percent':\n      return toPercentString(value);\n    case 'minute':\n      return formatMinutes(value);\n    default:\n      return `${abbreviate ? reportingTruncatedNumberFormatter(value) : numberFormatter(value)}${\n        !hideDefaultUnit && unit ? ` ${pluralize(value, unit, { withoutCount: true })}` : ''\n      }`;\n  }\n};\n\nexport default buildHelper(function([value, unit, abbreviate]) {\n  return unitFormatter({ value, unit, abbreviate });\n});\n","define(\"embercom/helpers/unix\", [\"exports\", \"ember-moment/helpers/unix\"], function (_exports, _unix) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _unix.default;\n    }\n  });\n});\n","import { helper as buildHelper } from '@ember/component/helper';\n\nexport default buildHelper(function add([selector, handler]) {\n  return function(event) {\n    if (!event.target.closest || !event.target.closest(selector)) {\n      handler(event);\n    }\n  };\n});\n","define(\"embercom/helpers/uppercase\", [\"exports\", \"ember-cli-string-helpers/helpers/uppercase\"], function (_exports, _uppercase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _uppercase.default;\n    }\n  });\n  Object.defineProperty(_exports, \"uppercase\", {\n    enumerable: true,\n    get: function get() {\n      return _uppercase.uppercase;\n    }\n  });\n});\n","define(\"embercom/helpers/url-for\", [\"exports\", \"ember-router-helpers/helpers/url-for\"], function (_exports, _urlFor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _urlFor.default;\n    }\n  });\n  Object.defineProperty(_exports, \"urlFor\", {\n    enumerable: true,\n    get: function get() {\n      return _urlFor.urlFor;\n    }\n  });\n});\n","define(\"embercom/helpers/utc\", [\"exports\", \"ember-moment/helpers/utc\"], function (_exports, _utc) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _utc.default;\n    }\n  });\n  Object.defineProperty(_exports, \"utc\", {\n    enumerable: true,\n    get: function get() {\n      return _utc.utc;\n    }\n  });\n});\n","define(\"embercom/helpers/values\", [\"exports\", \"ember-composable-helpers/helpers/values\"], function (_exports, _values) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _values.default;\n    }\n  });\n  Object.defineProperty(_exports, \"values\", {\n    enumerable: true,\n    get: function get() {\n      return _values.values;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-observers */\nimport Helper from '@ember/component/helper';\nimport AdminObjectVisibility from 'embercom/components/mixins/admin-object-visibility';\nimport { inject as service } from '@ember/service';\nimport { observer } from '@ember/object';\n\nexport default class BaseVisibilityHelper extends Helper.extend(AdminObjectVisibility) {\n  @service appService;\n\n  get admin() {\n    return this.appService.app.currentAdmin;\n  }\n\n  // this is one of those rare occasions when an observer is the right thing to use\n  // https://www.emberjs.com/api/ember/3.4/classes/Helper/methods/recompute?anchor=recompute\n  _onNewAttributeVisibilitySettings = observer({\n    dependentKeys: ['admin.visible_tag_ids.[]', 'admin.visible_segment_ids.[]'],\n\n    fn() {\n      this.recompute();\n    },\n\n    sync: false,\n  });\n}\n","import { tracked } from '@glimmer/tracking';\nimport BaseVisibilityHelper from 'embercom/helpers/visibility/base-visibility-helper';\n\nexport default class HiddenSegmentsHelper extends BaseVisibilityHelper {\n  @tracked segments;\n\n  compute(params) {\n    this.segments = params[0];\n    return this.hiddenSegments;\n  }\n}\n","import { tracked } from '@glimmer/tracking';\nimport BaseVisibilityHelper from 'embercom/helpers/visibility/base-visibility-helper';\n\nexport default class HiddenTagsHelper extends BaseVisibilityHelper {\n  @tracked taggings;\n\n  compute(params) {\n    this.taggings = params[0];\n    return this.hiddenTaggings;\n  }\n}\n","import { tracked } from '@glimmer/tracking';\nimport BaseVisibilityHelper from 'embercom/helpers/visibility/base-visibility-helper';\n\nexport default class VisibleSegmentsHelper extends BaseVisibilityHelper {\n  @tracked segments;\n\n  compute(params) {\n    this.segments = params[0];\n    return this.visibleSegments;\n  }\n}\n","import { tracked } from '@glimmer/tracking';\nimport BaseVisibilityHelper from 'embercom/helpers/visibility/base-visibility-helper';\n\nexport default class VisibleTagsHelper extends BaseVisibilityHelper {\n  @tracked taggings;\n\n  compute(params) {\n    this.taggings = params[0];\n    return this.visibleTaggings;\n  }\n}\n","define(\"embercom/helpers/w\", [\"exports\", \"ember-cli-string-helpers/helpers/w\"], function (_exports, _w) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _w.default;\n    }\n  });\n  Object.defineProperty(_exports, \"w\", {\n    enumerable: true,\n    get: function get() {\n      return _w.w;\n    }\n  });\n});\n","define(\"embercom/helpers/without\", [\"exports\", \"ember-composable-helpers/helpers/without\"], function (_exports, _without) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _without.default;\n    }\n  });\n  Object.defineProperty(_exports, \"without\", {\n    enumerable: true,\n    get: function get() {\n      return _without.without;\n    }\n  });\n});\n","define(\"embercom/helpers/xor\", [\"exports\", \"ember-truth-helpers/helpers/xor\"], function (_exports, _xor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _xor.default;\n    }\n  });\n  Object.defineProperty(_exports, \"xor\", {\n    enumerable: true,\n    get: function get() {\n      return _xor.xor;\n    }\n  });\n});\n","import initializerFactory from 'ember-cli-app-version/initializer-factory';\nimport config from '../config/environment';\n\nlet name, version;\nif (config.APP) {\n  name = config.APP.name;\n  version = config.APP.version;\n}\n\nexport default {\n  name: 'App Version',\n  initialize: initializerFactory(name, version)\n};\n","import AttributeService from 'embercom/services/attribute-service';\n\nexport default {\n  name: 'attributeService',\n  initialize(application) {\n    application.register('service:attributeService', AttributeService, { singleton: true });\n    application.inject('route', 'attributeService', 'service:attributeService');\n    application.inject('controller', 'attributeService', 'service:attributeService');\n    application.inject('component', 'attributeService', 'service:attributeService');\n  },\n};\n","import BrowserAlerts from 'embercom/vendor/intercom/browser-alerts';\n\nlet BrowserAlertsInitializer = {\n  name: 'BrowserAlerts',\n  initialize(application) {\n    application.register('browserAlerts:main', BrowserAlerts, { singleton: true });\n    application.inject('route:apps/app', 'browserAlerts', 'browserAlerts:main');\n  },\n};\n\nexport default BrowserAlertsInitializer;\n","import ClientProfilerService from 'embercom/services/client-profiler-service';\nimport ENV from 'embercom/config/environment';\n\nexport default {\n  name: 'clientProfilerService',\n  initialize(application) {\n    if (ENV.environment === 'production') {\n      application.register('service:clientProfilerService', ClientProfilerService, {\n        singleton: true,\n      });\n      application.inject(\n        'controller:application',\n        'clientProfilerService',\n        'service:clientProfilerService',\n      );\n    }\n  },\n};\n","import ENV from 'embercom/config/environment';\n\nexport default {\n  name: 'consoleMessage',\n  initialize() {\n    if (ENV.environment === 'production') {\n      console.log('%c👋🚀👉 https://intercom.engineering/', 'color: black; font-size: x-large');\n    }\n  },\n};\n","import ContainerDebugAdapter from 'ember-resolver/resolvers/classic/container-debug-adapter';\n\nexport default {\n  name: 'container-debug-adapter',\n\n  initialize() {\n    let app = arguments[1] || arguments[0];\n\n    app.register('container-debug-adapter:main', ContainerDebugAdapter);\n    app.inject('container-debug-adapter:main', 'namespace', 'application:main');\n  }\n};\n","export default {\n  name: 'vertical-collection-debug',\n  initialize() {},\n};\n","import DesktopNotificationsIntercom from 'embercom/vendor/intercom/desktop-notifications';\n\nlet DesktopNotificationsInitializer = {\n  name: 'desktopNotifications',\n  initialize(application) {\n    application.register('desktopNotifications:main', DesktopNotificationsIntercom, {\n      singleton: true,\n    });\n    application.inject('route', 'desktopNotifications', 'desktopNotifications:main');\n  },\n};\nexport default DesktopNotificationsInitializer;\n","define(\"embercom/initializers/ember-concurrency\", [\"exports\", \"ember-concurrency/initializers/ember-concurrency\"], function (_exports, _emberConcurrency) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _emberConcurrency.default;\n    }\n  });\n});\n","import setupContainer from 'ember-data/setup-container';\nimport 'ember-data';\n\n/*\n  This code initializes EmberData in an Ember application.\n\n  It ensures that the `store` service is automatically injected\n  as the `store` property on all routes and controllers.\n*/\nexport default {\n  name: 'ember-data',\n  initialize: setupContainer,\n};\n","define(\"embercom/initializers/ember-keyboard-first-responder-inputs\", [\"exports\", \"ember-keyboard/initializers/ember-keyboard-first-responder-inputs\"], function (_exports, _emberKeyboardFirstResponderInputs) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _emberKeyboardFirstResponderInputs.default;\n    }\n  });\n  Object.defineProperty(_exports, \"initialize\", {\n    enumerable: true,\n    get: function get() {\n      return _emberKeyboardFirstResponderInputs.initialize;\n    }\n  });\n});\n","import ResponsiveInitializer from 'ember-responsive/initializers/responsive';\nexport default ResponsiveInitializer;\n","import config from '../config/environment';\nimport StripeMock from '@adopted-ember-addons/ember-stripe-elements/utils/stripe-mock';\n\nexport function initialize() {\n  const application = arguments[1] || arguments[0];\n  let stripeConfig = config.stripe || {};\n\n  application.register('config:stripe', stripeConfig, { instantiate: false });\n  application.inject('service:stripev3', 'config', 'config:stripe');\n\n  if (typeof FastBoot !== 'undefined' || stripeConfig.mock) {\n    window.Stripe = StripeMock;\n  }\n}\n\nexport default {\n  name: 'ember-stripe-elements',\n  initialize\n};\n","import Ember from 'ember';\nimport config from '../config/environment';\n\nexport function initialize() {\n  var application = arguments[1] || arguments[0];\n  if (config.exportApplicationGlobal !== false) {\n    var theGlobal;\n    if (typeof window !== 'undefined') {\n        theGlobal = window;\n    } else if (typeof global !== 'undefined') {\n        theGlobal = global\n    } else if (typeof self !== 'undefined') {\n        theGlobal = self;\n    } else {\n       // no reasonable global, just bail\n       return;\n    }\n\n    var value = config.exportApplicationGlobal;\n    var globalName;\n\n    if (typeof value === 'string') {\n      globalName = value;\n    } else {\n      globalName = Ember.String.classify(config.modulePrefix);\n    }\n\n    if (!theGlobal[globalName]) {\n      theGlobal[globalName] = application;\n\n      application.reopen({\n        willDestroy: function() {\n          this._super.apply(this, arguments);\n          delete theGlobal[globalName];\n        }\n      });\n    }\n  }\n}\n\nexport default {\n  name: 'export-application-global',\n\n  initialize: initialize\n};\n","import ApplicationSerializer from 'embercom/serializers/application';\n\nexport default {\n  name: 'FragmentSerializer',\n  before: 'ember-data',\n  after: 'fragmentTransform',\n  initialize(application) {\n    application.register('serializer:-fragment', ApplicationSerializer);\n  },\n};\n","import FrontendStatsService from 'embercom/services/frontend-stats-service';\n\nexport default {\n  name: 'frontendStatsService',\n  initialize(application) {\n    application.register('service:frontendStatsService', FrontendStatsService, { singleton: true });\n    application.inject('route', 'frontendStats', 'service:frontendStatsService');\n    application.inject('controller', 'frontendStats', 'service:frontendStatsService');\n    application.inject('component', 'frontendStats', 'service:frontendStatsService');\n  },\n};\n","define(\"embercom/initializers/head-tags\", [\"exports\", \"ember-cli-meta-tags/initializers/head-tags\"], function (_exports, _headTags) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _headTags.default;\n    }\n  });\n  Object.defineProperty(_exports, \"initialize\", {\n    enumerable: true,\n    get: function get() {\n      return _headTags.initialize;\n    }\n  });\n});\n","import ConversationLoader from 'embercom/lib/inbox/conversation-loader';\nimport SearchInbox from 'embercom/lib/inbox/search';\nimport BackgroundInboxList from 'embercom/lib/inbox/background-inbox-list';\nimport RealtimeInboxUpdater from 'embercom/lib/inbox/realtime-inbox-updater';\n\nexport default {\n  name: 'inbox',\n  initialize(application) {\n    application.register('customClass:inbox/conversationLoader', ConversationLoader, {\n      singleton: false,\n    });\n    application.register('customClass:inbox/searchInbox', SearchInbox, {\n      singleton: false,\n    });\n    application.register('customClass:inbox/backgroundInboxList', BackgroundInboxList, {\n      singleton: false,\n    });\n    application.register('customClass:inbox/realtimeinboxupdater', RealtimeInboxUpdater, {\n      singleton: false,\n    });\n  },\n};\n","import InterLock from 'embercom/vendor/intercom/interlock';\n\nlet InterLockInitializer = {\n  name: 'interLock',\n  initialize(application) {\n    application.register('interLock:main', InterLock, { singleton: true });\n    application.inject('route', 'interLock', 'interLock:main');\n    application.inject('controller', 'interLock', 'interLock:main');\n    application.inject('realTimeEventService', 'interLock', 'interLock:main');\n  },\n};\n\nexport default InterLockInitializer;\n","import IntercomEventService from '@intercom/embercom-core/services/intercom-event-service';\n\nexport default {\n  name: 'intercomEventService',\n\n  initialize(application) {\n    let serviceName = 'intercomEventService';\n    let injectionName = `service:${serviceName}`;\n    application.register(injectionName, IntercomEventService, { singleton: true });\n    application.inject('route', serviceName, injectionName);\n    application.inject('controller', serviceName, injectionName);\n    application.inject('component', serviceName, injectionName);\n    application.inject('model', serviceName, injectionName);\n  },\n};\n","export default {\n  name: 'intercomPreboot',\n  initialize() {\n    let i = function() {\n      i.c(arguments);\n    };\n    i.q = [];\n    i.c = function(args) {\n      i.q.push(args);\n    };\n    window.Intercom = i;\n  },\n};\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nexport default {\n  name: 'jQueryAjaxPrefilter',\n  initialize() {\n    let token = this._getCsrfToken();\n    let revisionId = this._getRevisionId();\n\n    $.ajaxPrefilter((options, originalOptions, xhr) => {\n      // Warning: Do not send extra headers to the intercom app without first\n      // adding them to the \"Access-Control-Allow-Headers\" list in the\n      // intercom_base_controller or parts of the app will break. More context:\n      // https://github.com/intercom/intercom/issues/155872\n      if (!options.bypassCsrf) {\n        xhr.setRequestHeader('X-CSRF-Token', token);\n      }\n\n      xhr.setRequestHeader('X-EMBERCOM-REVISION-ID', revisionId);\n\n      let error = options.error;\n      options.error = (jqxhr, textStatus, errorThrown) => {\n        if (this._shouldRedirectToSignIn(jqxhr.status, options)) {\n          document.location.href = `/admins/sign_in?redirect_url=${encodeURIComponent(\n            document.location.href,\n          )}`;\n          return false;\n        }\n        if (typeof error === 'function') {\n          if (errorThrown !== 'abort') {\n            return error(jqxhr, textStatus, errorThrown);\n          }\n        }\n      };\n    });\n  },\n  _shouldRedirectToSignIn(status, options) {\n    let redirectOnStatuses = [];\n    if (options.noRedirectOn401 !== true) {\n      redirectOnStatuses.push(401);\n    }\n\n    if (options.redirectOn403) {\n      redirectOnStatuses.push(403);\n    }\n\n    return redirectOnStatuses.includes(status);\n  },\n  _getCsrfToken() {\n    return $('meta[name=\"csrf-token\"]').attr('content');\n  },\n  _getRevisionId() {\n    return $('meta[name=\"embercom_revision_id\"]').attr('content');\n  },\n};\n","import LinkComponent from '@ember/routing/link-component';\nexport default {\n  name: 'link-to-data-attributes',\n  initialize() {\n    LinkComponent.reopen({\n      attributeBindings: [\n        'data-content',\n        'data-component',\n        'data-track-analytics-event-object',\n        'data-track-analytics-event-data-property-name',\n        'data-preferred-position-name-order',\n        'data-test-inbox-nav-link',\n        'data-test-inbox-is-all-inbox',\n        'data-intercom-target',\n      ],\n    });\n  },\n};\n","import \"liquid-fire/velocity-ext\";\n\nexport default {\n  name: 'liquid-fire',\n  initialize: function() {}\n};\n","import ModelDataCacheService from 'embercom/services/model-data-cache-service';\n\nexport default {\n  name: 'modelDataCacheService',\n  initialize(application) {\n    application.register('service:modelDataCacheService', ModelDataCacheService, {\n      singleton: true,\n    });\n  },\n};\n","// Import the full module to ensure monkey-patches are applied before any store\n// instances are created. Sad face for side-effects :(\nimport 'ember-data-model-fragments';\n\nexport default {\n  name: 'fragmentTransform',\n  before: 'ember-data',\n\n  initialize(application) {\n    application.inject('transform', 'store', 'service:store');\n  }\n};\n","import NotificationsService from 'embercom/services/notifications-service';\n\nexport default {\n  name: 'notificationsService',\n\n  initialize(application) {\n    let serviceName = 'notificationsService';\n    let injectionName = `service:${serviceName}`;\n    application.register(injectionName, NotificationsService, { singleton: true });\n    application.inject('route', serviceName, injectionName);\n    application.inject('controller', serviceName, injectionName);\n    application.inject('component', serviceName, injectionName);\n  },\n};\n","import PermissionsService from 'embercom/services/permissions-service';\n\nlet PermissionsServiceInitializer = {\n  name: 'permissionsService',\n  initialize(application) {\n    application.register('service:permissionsService', PermissionsService, { singleton: true });\n    application.inject('route', 'permissionsService', 'service:permissionsService');\n    application.inject('controller', 'permissionsService', 'service:permissionsService');\n    application.inject('component', 'permissionsService', 'service:permissionsService');\n  },\n};\n\nexport default PermissionsServiceInitializer;\n","import PredicatesService from 'embercom/services/predicates-service';\n\nexport default {\n  name: 'predicatesService',\n  initialize(application) {\n    application.register('service:predicatesService', PredicatesService, { singleton: true });\n    application.inject('model', 'predicatesService', 'service:predicatesService');\n  },\n};\n","import ReachabilityIntercom from 'embercom/vendor/intercom/reachability';\n\nlet ReachabilityInitializer = {\n  name: 'reachability',\n  initialize(application) {\n    application.register('reachability:main', ReachabilityIntercom, { singleton: true });\n    application.inject('route', 'reachability', 'reachability:main');\n  },\n};\n\nexport default ReachabilityInitializer;\n","import ENV from 'embercom/config/environment';\nimport Model from '@ember-data/model';\nimport { computed } from '@ember/object';\n\nexport function initialize(/* application */) {\n  if (ENV.environment !== 'production') {\n    Model.reopen({\n      isDirty: computed(function() {\n        throw new Error(\n          `.isDirty isn't part of the Ember Data API. Change this to .hasDirtyAttributes (${this})`,\n        );\n      }),\n      unknownProperty(key) {\n        let decamelizedKey = key.decamelize();\n        if (key !== decamelizedKey) {\n          if (decamelizedKey in this) {\n            throw new Error(\n              `IntercomModel automatically decamelized property names as a magic fallback. We won't do this for Ember Data models. (model: ${this}, key: ${key} => ${decamelizedKey})`,\n            );\n          }\n        }\n      },\n    });\n  }\n}\n\nexport default {\n  initialize,\n};\n","define(\"embercom/initializers/router-head-tags\", [\"exports\", \"ember-cli-meta-tags/initializers/router-head-tags\"], function (_exports, _routerHeadTags) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _routerHeadTags.default;\n    }\n  });\n  Object.defineProperty(_exports, \"initialize\", {\n    enumerable: true,\n    get: function get() {\n      return _routerHeadTags.initialize;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { isBootedInPublicPage } from 'embercom/lib/embercom-boot-data';\nimport ENV from 'embercom/config/environment';\n\nconst IS_EMBERCOM = !isBootedInPublicPage();\n\nexport default {\n  name: 'serviceWorker',\n  isActive: true, //set to false to uninstall the service worker\n  initialize() {\n    if (this._isSupported()) {\n      if (this.isActive) {\n        this._register();\n      } else {\n        this._unregister();\n      }\n    }\n  },\n  _register() {\n    navigator.serviceWorker.register(`/embercom-service-worker.js`, { scope: './' }).then(() => {\n      console.debug('SERVICE WORKER REGISTER: ✅');\n    });\n  },\n  _unregister() {\n    navigator.serviceWorker.getRegistrations().then(function(registrations) {\n      for (let registration of registrations) {\n        console.debug('SERVICE WORKER UNREGISTER');\n        registration.unregister();\n      }\n    });\n  },\n  _isSupported() {\n    return ENV.environment !== 'test' && 'serviceWorker' in navigator && IS_EMBERCOM;\n  },\n};\n","import Sounds from 'embercom/lib/sounds';\n\nlet SoundsInitializer = {\n  name: 'sounds',\n  initialize(application) {\n    application.register('sounds:main', Sounds, { singleton: true });\n    application.inject('route:apps/app', 'sounds', 'sounds:main');\n  },\n};\n\nexport default SoundsInitializer;\n","import UserUpdaterService from 'embercom/services/user-updater-service';\n\nexport default {\n  name: 'userUpdaterService',\n  initialize(application) {\n    application.register('userUpdaterService:main', UserUpdaterService, { singleton: true });\n\n    application.inject('route', 'userUpdaterService', 'userUpdaterService:main');\n    application.inject('controller', 'userUpdaterService', 'userUpdaterService:main');\n    application.inject('component', 'userUpdaterService', 'userUpdaterService:main');\n\n    application.inject('route', 'userUpdaterService', 'userUpdaterService:main');\n    application.inject(\n      'component:inbox/user-profile-component',\n      'userUpdaterService',\n      'userUpdaterService:main',\n    );\n    application.inject(\n      'component:editable-email-component',\n      'userUpdaterService',\n      'userUpdaterService:main',\n    );\n  },\n};\n","import Velocity from 'velocity';\n\nexport default {\n  name: 'velocity',\n  initialize(application) {\n    // Velocity is lazily initialized by liquid-fire. This can be surprising and confusing\n    // so we explicitly initialize it here\n    Velocity(\n      document.getElementById('dummy'),\n      { opacity: 0.5 },\n      { duration: 1000, promiseRejectEmpty: false },\n    );\n  },\n};\n","import { subscribe } from '@ember/instrumentation';\n\nlet timer = null;\n\nexport default {\n  name: 'composerInstrumentation',\n  initialize(application) {\n    let metricsService = application.lookup('service:frontendStatsService');\n    subscribe('Composer.composerState.sync', {\n      before(e) {\n        if (!window.performance) {\n          return;\n        }\n\n        timer = performance.now();\n      },\n      after(e) {\n        if (!window.performance) {\n          return;\n        }\n        let time = performance.now() - timer;\n        metricsService.recordComposerSyncTime(time);\n      },\n    });\n  },\n};\n","import initializeStoreService from 'ember-data/initialize-store-service';\n\nexport default {\n  name: 'ember-data',\n  initialize: initializeStoreService,\n};\n","import HrefTo from 'ember-href-to/href-to';\n\nfunction closestLink(el) {\n  if (el.closest) {\n    return el.closest('a');\n  } else {\n    el = el.parentElement;\n    while (el && el.tagName !== 'A') {\n      el = el.parentElement;\n    }\n    return el;\n  }\n}\nexport default {\n  name: 'ember-href-to',\n  initialize(applicationInstance) {\n    // we only want this to run in the browser, not in fastboot\n    if (typeof(FastBoot) === \"undefined\") {\n      let hrefToClickHandler = function _hrefToClickHandler(e) {\n        let link = e.target.tagName === 'A' ? e.target : closestLink(e.target);\n        if (link) {\n          let hrefTo = new HrefTo(applicationInstance, e, link);\n          hrefTo.maybeHandle();\n        }\n      };\n\n      document.body.addEventListener('click', hrefToClickHandler);\n\n      // Teardown on app destruction: clean up the event listener to avoid\n      // memory leaks.\n      applicationInstance.reopen({\n        willDestroy() {\n          document.body.removeEventListener('click', hrefToClickHandler);\n          return this._super(...arguments);\n        }\n      });\n    }\n  }\n};\n","export function initialize(applicationInstance) {\n  window.EmberApplicationInstance = applicationInstance;\n\n  applicationInstance.reopen({\n    willDestroy() {\n      window.EmberApplicationInstance = null;\n      return this._super(...arguments);\n    },\n  });\n}\n\nexport default {\n  name: 'export-global-application-instance',\n  initialize,\n};\n","export default {\n  name: 'head-browser',\n  initialize() {\n    // do nothing!\n    // this functionality has been moved into addon/components/head-layout.js\n    // This is only here in order to not break existing addons relying on this, e.g. ember-page-title.\n  }\n};\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport ENV from 'embercom/config/environment';\n\nfunction closestLink(element) {\n  if (element.closest) {\n    return element.closest('a');\n  } else {\n    element = element.parentElement;\n    while (element && element.tagName !== 'A') {\n      element = element.parentElement;\n    }\n    return element;\n  }\n}\n\nfunction parentComponentElement(element) {\n  element = element.parentElement;\n  while (element && !element.className.split(' ').includes('ember-view')) {\n    element = element.parentElement;\n  }\n  return element;\n}\n\nexport function initialize(application) {\n  let linkToAnalyticsClickHandler = function(element) {\n    let link = element.target.tagName === 'A' ? element.target : closestLink(element.target);\n    if (link && link.dataset.hasOwnProperty('trackAnalyticsEventObject')) {\n      let controller = application.lookup('controller:application'); //looking up the event service on a controller as our mock service is `service:mockintercomEventService`, not `service:intercomEventService`\n      let eventService = controller.intercomEventService;\n\n      let event = {\n        action: 'clicked',\n        object: link.dataset.trackAnalyticsEventObject,\n      };\n\n      if (link.dataset.hasOwnProperty('trackAnalyticsEventDataPropertyName')) {\n        let componentElement = parentComponentElement(link);\n        let component = application.lookup('-view-registry:main')[componentElement.id];\n        let eventDataPropertyName = link.dataset.trackAnalyticsEventDataPropertyName;\n        let data = component.get(eventDataPropertyName);\n        for (let key in data) {\n          if (data.hasOwnProperty(key)) {\n            event[key] = data[key];\n          }\n        }\n      }\n\n      eventService.trackAnalyticsEvent(event);\n    }\n  };\n\n  let $applicationRoot = $(ENV.APP.rootElement);\n  $applicationRoot.on('click.link-to-analytics', linkToAnalyticsClickHandler);\n\n  application.reopen({\n    willDestroy() {\n      $applicationRoot.off('click.link-to-analytics');\n      return this._super(...arguments);\n    },\n  });\n}\n\nexport default {\n  name: 'link-analytics-events',\n  initialize,\n};\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { bind } from '@ember/runloop';\nimport { shutdownIntercomWidget } from 'embercom/lib/intercom-widget-helper';\n\nexport function initialize(application) {\n  $('body').on(\n    'click.sign-out',\n    'a[href*=\"/admins/sign_out\"]',\n    bind(this, () => {\n      shutdownIntercomWidget();\n\n      let modelDataCacheService = application.lookup('service:modelDataCacheService');\n\n      modelDataCacheService.clear();\n    }),\n  );\n\n  application.reopen({\n    willDestroy() {\n      $('body').off('click.sign-out');\n      return this._super(...arguments);\n    },\n  });\n}\n\nexport default {\n  name: 'logout-link-handler',\n  initialize,\n};\n","import Admin from 'embercom/models/admin';\nimport App from 'embercom/models/app';\nimport ENV from 'embercom/config/environment';\nimport ModelCacheHelper from 'embercom/lib/model-cache/helper';\n\nexport function initialize(applicationInstance) {\n  let modelDataCacheService = applicationInstance.lookup('service:modelDataCacheService');\n  let loggingEnabled = ModelCacheHelper.loggingEnabled();\n  modelDataCacheService.configure({ loggingEnabled });\n\n  if (ModelCacheHelper.shouldClearCache()) {\n    modelDataCacheService.clear();\n  }\n\n  modelDataCacheService.register('admin', {\n    fetch: Admin.fetchJSON,\n    load: Admin.loadJSON,\n    refreshDelay: ENV.APP._5000MS,\n    fingerprint: ModelCacheHelper.adminModelFingerprint(),\n    loggingEnabled: ModelCacheHelper.loggingEnabled(),\n    disabled: ModelCacheHelper.isDisabled(),\n  });\n\n  modelDataCacheService.register('app', {\n    fetch: App.fetchJSON,\n    load: App.loadJSON,\n    refreshDelay: ENV.APP._5000MS,\n    fingerprint: ModelCacheHelper.appModelFingerprint(),\n    loggingEnabled: ModelCacheHelper.loggingEnabled(),\n    disabled: ModelCacheHelper.isDisabled(),\n  });\n}\n\nexport default {\n  name: 'modelDataCache',\n  initialize,\n};\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-private-routing-service */\nexport default {\n  name: 'plugins',\n\n  initialize(app) {\n    let router = app.lookup('router:main');\n\n    router.on('didTransition', function() {\n      if (window.Intercom) {\n        window.Intercom('update');\n      }\n    });\n  },\n};\n","import relativeTime from 'embercom/lib/relative-time';\n\nlet abbreviatedRelativeTimeAgo = function(dateString) {\n  return relativeTime(dateString, 'en-abbreviated-relative-time-ago');\n};\n\nexport default abbreviatedRelativeTimeAgo;\n","import relativeTime from 'embercom/lib/relative-time';\n\nlet abbreviatedRelativeTime = function(dateString) {\n  return relativeTime(dateString, 'en-abbreviated-relative-time');\n};\n\nexport default abbreviatedRelativeTime;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport RESTAdapter from '@ember-data/adapter/rest';\nimport { computed } from '@ember/object';\nimport {\n  isBootedInPublicPage,\n  publicPageApiHost,\n  getApiNamespace,\n} from 'embercom/lib/embercom-boot-data';\n\nexport default RESTAdapter.extend({\n  isEmbercom: computed(function() {\n    return !isBootedInPublicPage();\n  }),\n\n  host: computed('isEmbercom', function() {\n    // If we're booting in the normal mode (which we will be, unless its the public app store or meeting sch),\n    // we should return undefined here. That will leave the default behaviour of Ember Data to decide the host.\n    // If we're booted in public_app_store mode, we should use the api_host from the boot data (if present).\n    // Note: this may not always be present, so we return undefined (to use the default behaviour) if not.\n    let apiHostFromBootData = publicPageApiHost();\n    if (!this.isEmbercom && apiHostFromBootData) {\n      return apiHostFromBootData;\n    }\n    return undefined;\n  }),\n\n  namespace: getApiNamespace(),\n});\n","let AddressSettings = {\n  CA: {\n    postCodeLabel: 'Postal code',\n    showState: true,\n    stateLabel: 'Province',\n    maxLengths: {\n      streetAddress: 50,\n      city: 50,\n      postcode: 11,\n    },\n  },\n  US: {\n    postCodeLabel: 'ZIP code',\n    postCodeRegex: /\\d{5}/,\n    showState: true,\n    stateLabel: 'State',\n    maxLengths: {\n      streetAddress: 50,\n      city: 50,\n      postcode: 5,\n    },\n  },\n  default: {\n    postCodeLabel: 'Postal code',\n    showState: false,\n    maxLengths: {\n      streetAddress: 50,\n      city: 50,\n      postcode: 11,\n    },\n  },\n};\n\nexport default AddressSettings;\n","import AddressSettings from 'embercom/lib/address-settings';\nimport { isEmpty } from '@ember/utils';\n\nexport function addressValidation(address) {\n  let { countryCode, stateCode, postcode, streetAddress, city } = address;\n  let addressSettings = AddressSettings[countryCode] || AddressSettings.default;\n\n  if (isEmpty(countryCode) || isEmpty(streetAddress) || isEmpty(city) || isEmpty(postcode)) {\n    return false;\n  }\n\n  if (addressSettings.showState && isEmpty(stateCode)) {\n    return false;\n  }\n\n  if (addressSettings.postCodeRegex && !addressSettings.postCodeRegex.exec(postcode)) {\n    return false;\n  }\n\n  return true;\n}\n","import moment from 'moment';\n\nlet conversions = {\n  s: 1000,\n  m: 60,\n  h: 60,\n  d: 24,\n  w: 7,\n};\n\nlet adminTimeAgo = function(dateString) {\n  let now = moment();\n  let date = moment(dateString);\n  let delta = Math.max(0, now - date);\n  let unit = 's';\n  for (let key in conversions) {\n    if (conversions.hasOwnProperty(key)) {\n      if (delta < conversions[key]) {\n        break;\n      }\n      unit = key;\n      delta /= conversions[key];\n    }\n  }\n  delta = Math.floor(delta);\n  switch (unit) {\n    case 's':\n      return 'Active in the last 15 minutes';\n    case 'm':\n      return delta <= 15 ? 'Active in the last 15 minutes' : 'Active in the last hour';\n    case 'h':\n      return delta === 1 ? 'Active in the last hour' : `Last active ${delta} hours ago`;\n    case 'd':\n      return delta === 1 ? 'Last active yesterday' : `Last active ${delta} days ago`;\n    default:\n      return 'Last active more than 1 week ago';\n  }\n};\n\nexport default adminTimeAgo;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { captureException } from './sentry';\nimport ENV from 'embercom/config/environment';\n\nconst isTest = ENV.environment === 'test';\nconst LIMIT_TIME_PERIOD_IN_SECONDS = 10;\nconst MAX_CALLS_PER_TIME_PERIOD = isTest ? Infinity : 10;\n\nlet recordedLimitOverage = {};\nlet callsInTimePeriod = {};\nlet maxCallsOverride;\n\nfunction _setMaxCallsPerTimePeriod(maxCalls) {\n  if (!isTest) {\n    return;\n  }\n\n  maxCallsOverride = maxCalls;\n}\n\nfunction _resetLimits() {\n  if (!isTest) {\n    return;\n  }\n\n  recordedLimitOverage = {};\n  callsInTimePeriod = {};\n}\n\nfunction getMaxCallsPerTimePeriod() {\n  if (isTest && maxCallsOverride !== undefined) {\n    return maxCallsOverride;\n  }\n\n  return MAX_CALLS_PER_TIME_PERIOD;\n}\n\nfunction incrementCallsInTimePeriod(fingerprint) {\n  let key = fingerprint.toString();\n  if (callsInTimePeriod[key] !== undefined) {\n    callsInTimePeriod[key]++;\n  } else {\n    callsInTimePeriod[key] = 0;\n  }\n\n  setTimeout(() => {\n    callsInTimePeriod[key] = Math.max(0, callsInTimePeriod[key] - 1);\n  }, LIMIT_TIME_PERIOD_IN_SECONDS * 1000);\n}\n\nfunction isOverLimit(fingerprint = []) {\n  let fingerprintKey = fingerprint.toString();\n  let callsCount = callsInTimePeriod[fingerprintKey] || 0;\n\n  if (callsCount < getMaxCallsPerTimePeriod()) {\n    return false;\n  }\n\n  // Early return if we've already sent this error to Sentry for this session\n  if (recordedLimitOverage[fingerprintKey]) {\n    console.log(`admin_pageview call for ${fingerprint} is over limit, called ${callsCount} times`);\n    return true;\n  }\n\n  try {\n    throw new Error(`admin_pageview called too many times, ${fingerprint}`);\n  } catch (e) {\n    recordedLimitOverage[fingerprintKey] = true;\n    captureException(e, {\n      fingerprint: ['admin-view-tracking', ...fingerprint],\n      tags: {\n        responsible_team: 'team-activation',\n      },\n    });\n  }\n\n  return true;\n}\n\nfunction checkCallLimit(fingerprint) {\n  incrementCallsInTimePeriod(fingerprint);\n  return isOverLimit(fingerprint);\n}\n\nfunction markViewAsSeen(store, viewKey) {\n  let existingPageview = _getPageviewByKey(store.peekAll('admin-pageview'), viewKey);\n\n  if (existingPageview) {\n    return Promise.resolve(existingPageview);\n  }\n\n  if (checkCallLimit(['markViewAsSeen', viewKey])) {\n    return Promise.resolve(false);\n  }\n\n  return store\n    .createRecord('admin-pageview', {\n      pageKey: viewKey,\n    })\n    .save();\n}\n\nfunction adminHasSeen(store, viewKey, callback) {\n  let fingerprint = ['adminHasSeen', viewKey];\n  let hasSeenView = adminHasSeenFromPageviews(store.peekAll('admin-pageview'), viewKey);\n\n  if (hasSeenView || isOverLimit(fingerprint)) {\n    if (callback) {\n      callback(hasSeenView);\n    }\n    return Promise.resolve(hasSeenView);\n  }\n\n  return fetchAdminPageviews(store, fingerprint)\n    .then(pageviews => {\n      let hasSeenView = adminHasSeenFromPageviews(pageviews, viewKey);\n      if (callback) {\n        callback(hasSeenView);\n      }\n      return hasSeenView;\n    })\n    .catch(e => {\n      console.log(\n        `Unable load admin-pageviews, unable to determine if ${viewKey} has been seen. Error was ${e.message}`,\n      );\n      captureException(e, {\n        fingerprint: ['admin-view-tracking', ...fingerprint],\n        tags: {\n          responsible_team: 'team-activation',\n        },\n        extra: {\n          viewKey,\n        },\n      });\n    });\n}\n\nfunction fetchAdminPageviews(store, fingerprint = ['fetchAdminPageviews']) {\n  if (checkCallLimit(fingerprint)) {\n    return Promise.resolve(store.peekAll('admin-pageview'));\n  }\n  return store.findAll('admin-pageview').catch(e => {\n    console.log(`Unable load admin-pageviews. Error was ${e.message}`);\n    captureException(e, {\n      fingerprint: ['admin-view-tracking', ...fingerprint],\n      tags: {\n        responsible_team: 'team-activation',\n      },\n    });\n    // Fallback to returning whatever is already in the store\n    return Promise.resolve(store.peekAll('admin-pageview'));\n  });\n}\n\nfunction adminHasSeenFromPageviews(pageviews, viewKey) {\n  return !!_getPageviewByKey(pageviews, viewKey);\n}\n\nfunction _getPageviewByKey(pageviews, viewKey) {\n  return pageviews.find(pageview => {\n    return pageview.get('pageKey') === viewKey;\n  });\n}\n\nexport {\n  adminHasSeen,\n  markViewAsSeen,\n  fetchAdminPageviews,\n  adminHasSeenFromPageviews,\n  _setMaxCallsPerTimePeriod,\n  _resetLimits,\n};\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nexport function getAdminProfile(store, appId, adminId) {\n  return store\n    .query('profile', {\n      app_id: appId,\n      admin_id: adminId,\n    })\n    .then(profiles => profiles.get('firstObject'));\n}\n","export const ADMIN_EVENT_TYPES = [\n  {\n    // this isn't a real admin event type\n    value: 'AppAdminEvents::All',\n    text: 'All activity',\n  },\n  {\n    value: 'AppAdminEvents::AdminDeletion',\n    text: 'Teammate deletion',\n  },\n  {\n    value: 'AppAdminEvents::AdminInviteChange',\n    text: 'Teammate invite change',\n  },\n  {\n    value: 'AppAdminEvents::AdminInviteCreation',\n    text: 'Teammate invite creation',\n  },\n  {\n    value: 'AppAdminEvents::AdminInviteDeletion',\n    text: 'Teammate invite deletion',\n  },\n  {\n    value: 'AppAdminEvents::AdminLoginFailure',\n    text: 'Teammate login failure',\n  },\n  {\n    value: 'AppAdminEvents::AdminLoginSuccess',\n    text: 'Teammate login success',\n  },\n  {\n    value: 'AppAdminEvents::AdminLogout',\n    text: 'Teammate logout',\n  },\n  {\n    value: 'AppAdminEvents::AdminPermissionChange',\n    text: 'Teammate permission change',\n  },\n  {\n    value: 'AppAdminEvents::RoleCreation',\n    text: 'Role creation',\n  },\n  {\n    value: 'AppAdminEvents::RoleChange',\n    text: 'Role permission change',\n  },\n  {\n    value: 'AppAdminEvents::RoleDeletion',\n    text: 'Role deletion',\n  },\n  {\n    value: 'AppAdminEvents::AppNameChange',\n    text: 'Workspace name change',\n  },\n  {\n    value: 'AppAdminEvents::AdminAwayModeChange',\n    text: 'Teammate away mode change',\n  },\n  {\n    value: 'AppAdminEvents::AppTimezoneChange',\n    text: 'Workspace timezone change',\n  },\n  {\n    value: 'AppAdminEvents::BulkExport',\n    text: 'Bulk export',\n  },\n  {\n    value: 'AppAdminEvents::MessageDeletion',\n    text: 'Message deletion',\n  },\n  {\n    value: 'AppAdminEvents::MessageStateChange',\n    text: 'Message state change',\n  },\n  {\n    value: 'AppAdminEvents::CampaignDeletion',\n    text: 'Campaign deletion',\n  },\n  {\n    value: 'AppAdminEvents::AppAdminJoin',\n    text: 'Workspace teammate join',\n  },\n  {\n    value: 'AppAdminEvents::AppAuthenticationMethodChange',\n    text: 'Workspace authentication method change',\n  },\n  {\n    value: 'AppAdminEvents::AppDataDeletion',\n    text: 'Workspace data deletion',\n  },\n  {\n    value: 'AppAdminEvents::AppIdentityVerificationChange',\n    text: 'Workspace identity verification change',\n  },\n  {\n    value: 'AppAdminEvents::AppOutboundAddressChange',\n    text: 'Workspace outbound address change',\n  },\n  {\n    value: 'AppAdminEvents::AppPackageTokenRegeneration',\n    text: 'App token regeneration',\n  },\n  {\n    value: 'AppAdminEvents::AppWebhookCreation',\n    text: 'Workspace webhook creation',\n  },\n  {\n    value: 'AppAdminEvents::AppWebhookDeletion',\n    text: 'Workspace webhook deletion',\n  },\n  {\n    value: 'AppAdminEvents::AppGoogleSsoDomainChange',\n    text: 'Workspace Google SSO domain change',\n  },\n  {\n    value: 'AppAdminEvents::CampaignStateChange',\n    text: 'Campaign state change',\n  },\n  {\n    value: 'AppAdminEvents::AppTeamCreation',\n    text: 'Workspace team creation',\n  },\n  {\n    value: 'AppAdminEvents::AppTeamDeletion',\n    text: 'Workspace team deletion',\n  },\n  {\n    value: 'AppAdminEvents::AppPackageInstallation',\n    text: 'App installation',\n  },\n  {\n    value: 'AppAdminEvents::AppPackageUninstallation',\n    text: 'App uninstallation',\n  },\n  {\n    value: 'AppAdminEvents::AppDataExport',\n    text: 'Workspace data export',\n  },\n  {\n    value: 'AppAdminEvents::HelpCenterSettingsChange',\n    text: 'Help center settings change',\n  },\n];\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport ArrayProxy from '@ember/array/proxy';\nimport LogsSettingsModel from 'embercom/models/logs-settings';\nimport { task } from 'ember-concurrency';\n\nexport default ArrayProxy.extend({\n  appId: undefined,\n  failedLoading: false,\n  loadBetweenDates: task(function*(from, to) {\n    this.set('failedLoading', false);\n\n    try {\n      let data = yield LogsSettingsModel.getLogsSettingsBetweenDates(this.appId, from, to);\n      this.setObjects(data);\n    } catch (e) {\n      this.set('failedLoading', true);\n    }\n  }).restartable(),\n});\n","import { getApp } from 'embercom/lib/container-lookup';\nimport { pluralize } from 'ember-inflector';\nimport { intercomPromiseConfirm as confirm } from 'embercom/lib/intercom-confirm';\nimport { getSeatInfo, getNumberOfSeatsInUse } from 'embercom/lib/admins/seat-info';\n\nasync function getInboxSeatInfo(numberOfSeatsRequired) {\n  let numberOfSeatsInUse = await getNumberOfSeatsInUse(model => model.hasInboxAccess);\n  return getSeatInfo(numberOfSeatsRequired, numberOfSeatsInUse);\n}\n\nfunction pluralizeWithout1(value, noun) {\n  return pluralize(value, noun, { withoutCount: value === 1 });\n}\n\nasync function getSubscriptionChangeMessage(numberOfSeatsRequired) {\n  let seatInfo = await getInboxSeatInfo(numberOfSeatsRequired);\n  if (seatInfo.pricePerSeat === 0) {\n    return null;\n  }\n\n  let message;\n  if (seatInfo.numberOfSeatsAvailable > 0) {\n    if (numberOfSeatsRequired <= seatInfo.numberOfSeatsAvailable) {\n      message = 'This';\n    } else {\n      message = `The first ${pluralizeWithout1(seatInfo.numberOfSeatsAvailable, 'teammate')}`;\n    }\n    message += ` will fill your available inbox ${pluralize(\n      seatInfo.numberOfSeatsAvailable,\n      'seat',\n      {\n        withoutCount: true,\n      },\n    )}.`;\n    if (seatInfo.changeInNumberOfChargeableSeats > 0) {\n      message += ` The other ${pluralizeWithout1(\n        seatInfo.changeInNumberOfChargeableSeats,\n        'inbox seat',\n      )} will add ${seatInfo.formattedChangeInSeatCost} to your monthly subscription.`;\n    }\n  } else {\n    message =\n      numberOfSeatsRequired === 1 ? 'This inbox seat addition' : 'These inbox seat additions';\n    message += ` will add ${seatInfo.formattedChangeInSeatCost} to your monthly subscription.`;\n  }\n  return message;\n}\n\nasync function confirmSubscriptionChanges(numberOfSeatsRequired = 1, options = {}) {\n  if (numberOfSeatsRequired === 0) {\n    return true;\n  }\n  let subscriptionChangeMessage = await getSubscriptionChangeMessage(numberOfSeatsRequired);\n  if (!subscriptionChangeMessage) {\n    return true;\n  }\n\n  let target = getApp();\n  return await confirm(target, {\n    title: 'Add inbox seats?',\n    confirmButtonText: options.confirmationButtonLabel || 'Invite and fill seats',\n    body: subscriptionChangeMessage,\n  });\n}\n\nexport { confirmSubscriptionChanges, getInboxSeatInfo };\n","import containerLookup, { getEmberDataStore, getApp } from 'embercom/lib/container-lookup';\nimport currencyFormatter from 'embercom/lib/currency-formatter';\nimport { pluralize } from 'ember-inflector';\nimport { intercomPromiseConfirm as confirm } from 'embercom/lib/intercom-confirm';\nimport { isEmpty } from '@ember/utils';\n\nasync function getNumberOfSeatsInUse(filterPredicate = () => true) {\n  let store = getEmberDataStore();\n  let teammates = await store.findAll('admin', { reload: false, backgroundReload: false });\n  let invites = await store.findAll('invited-admin', { reload: true, backgroundReload: false });\n  let seatsInUseByInvites = invites.filter(i => i.active && filterPredicate(i)).length;\n  let seatsInUseByTeammates = teammates.filter(t => t.isHuman && filterPredicate(t)).length;\n  return seatsInUseByTeammates + seatsInUseByInvites;\n}\n\nconst positivePart = value => Math.max(0, value);\n\nasync function getSeatInfo(numberOfSeatsRequired, numberOfSeatsInUse) {\n  if (numberOfSeatsInUse === undefined) {\n    numberOfSeatsInUse = await getNumberOfSeatsInUse();\n  }\n  let customerService = containerLookup('service:customerService');\n  await customerService.ensureDataIsLoaded.perform({ fetchPrices: false });\n  let customer = customerService.customer;\n  let numberOfIncludedSeats = customer.freeSeatCount;\n\n  let numberOfSeatsAvailable = positivePart(numberOfIncludedSeats - numberOfSeatsInUse);\n  // it's misleading to show price changes for customers on annual contracts\n  let pricePerSeat = customer.isAnnuallyContracted ? 0 : customer.pricePerSeat;\n\n  let numberOfSeatsInUseAfter = numberOfSeatsInUse + numberOfSeatsRequired;\n  let numberOfChargeableSeatsBefore = positivePart(numberOfSeatsInUse - numberOfIncludedSeats);\n  let numberOfChargeableSeatsAfter = positivePart(numberOfSeatsInUseAfter - numberOfIncludedSeats);\n  let changeInNumberOfChargeableSeats =\n    numberOfChargeableSeatsAfter - numberOfChargeableSeatsBefore;\n  let changeInSeatCost = changeInNumberOfChargeableSeats * pricePerSeat;\n\n  let maximumNumberOfSeats = customer.isAnnuallyContracted\n    ? customer.freeSeatCount\n    : customer.seatLimit;\n\n  if (customerService.app.canUseFeature('team-people-seat-blocking-opt-out')) {\n    maximumNumberOfSeats = null;\n  }\n\n  return {\n    numberOfIncludedSeats,\n    numberOfSeatsAvailable,\n    pricePerSeat,\n    changeInNumberOfChargeableSeats,\n    changeInSeatCost,\n    formattedChangeInSeatCost: currencyFormatter(changeInSeatCost),\n    formattedAbsoluteValueOfChangeInSeatCost: currencyFormatter(Math.abs(changeInSeatCost)),\n    formattedPricePerSeat: currencyFormatter(pricePerSeat),\n    numberOfSeatsInUse,\n    numberOfSeatsInUseAfter,\n    maximumNumberOfSeats,\n  };\n}\n\nasync function getPriceIncreaseMessage(numberOfSeatsRequired) {\n  let seatInfo = await getSeatInfo(numberOfSeatsRequired);\n  if (seatInfo.changeInSeatCost <= 0) {\n    return;\n  }\n  return `Adding ${pluralize(\n    numberOfSeatsRequired,\n    'teammate',\n  )} to your Intercom workspace will increase your monthly price by ${\n    seatInfo.formattedChangeInSeatCost\n  }/mo`;\n}\n\nasync function confirmPriceIncrease(numberOfSeatsRequired) {\n  if (numberOfSeatsRequired === 0) {\n    return true;\n  }\n  let body = await getPriceIncreaseMessage(numberOfSeatsRequired);\n  if (isEmpty(body)) {\n    return true;\n  }\n\n  let target = getApp();\n  return await confirm(target, {\n    title: 'Confirm your price increase?',\n    confirmButtonText: 'Confirm',\n    body,\n  });\n}\n\nexport { getSeatInfo, getNumberOfSeatsInUse, confirmPriceIncrease };\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport icAjax from 'ic-ajax';\nimport { getRouter } from 'embercom/lib/container-lookup';\n\nlet clientHeight;\nlet clientWidth;\n\nfunction getClientWidth() {\n  if (clientWidth === undefined) {\n    clientWidth = document?.documentElement?.clientWidth;\n  }\n  return clientWidth;\n}\n\nfunction getClientHeight() {\n  if (clientHeight === undefined) {\n    clientHeight = document?.documentElement?.clientHeight;\n  }\n  return clientHeight;\n}\n\nfunction getCurrentRouteName() {\n  try {\n    let router = getRouter();\n    if (router) {\n      return router.currentRouteName;\n    }\n  } catch (e) {\n    // just incase there's no container yet\n    console.error(e);\n  }\n}\n\nlet ajax = function(options) {\n  let originalBeforeSend = options.beforeSend;\n  options.beforeSend = function(xhr) {\n    xhr.url = options.url;\n    // Warning: Do not send extra headers to the intercom app without first\n    // adding them to the \"Access-Control-Allow-Headers\" list in the\n    // intercom_base_controller or parts of the app will break. More context:\n    // https://github.com/intercom/intercom/issues/155872\n    xhr.setRequestHeader('X-CSRF-Token', $(\"meta[name='csrf-token']\").attr('content'));\n    xhr.setRequestHeader(\n      'X-EMBERCOM-REVISION-ID',\n      $(\"meta[name='embercom_revision_id']\").attr('content'),\n    );\n    xhr.setRequestHeader('X-Client-Width', getClientWidth());\n    xhr.setRequestHeader('X-Client-Height', getClientHeight());\n    let routeName = getCurrentRouteName();\n    if (routeName) {\n      xhr.setRequestHeader('X-Embercom-Route', routeName);\n    }\n\n    if (originalBeforeSend) {\n      originalBeforeSend.call(this, xhr);\n    }\n  };\n\n  options = $.extend(\n    {\n      contentType: 'application/json; charset=UTF-8',\n      dataType: 'json',\n    },\n    options,\n  );\n\n  return icAjax(options);\n};\n\nlet get = function(url, data) {\n  return ajax({\n    url,\n    type: 'GET',\n    data,\n  });\n};\n\nlet put = function(url, data) {\n  return ajax({\n    url,\n    type: 'PUT',\n    data: JSON.stringify(data),\n  });\n};\n\nlet post = function(url, data) {\n  return ajax({\n    url,\n    type: 'POST',\n    data: JSON.stringify(data),\n  });\n};\n\nexport default ajax;\n\nexport { put, post, get };\n","const APP_PACKAGE_TABS = {\n  description: 'description',\n  settings: 'settings',\n  onboarding: 'onboarding',\n};\n\nexport { APP_PACKAGE_TABS };\n","import ajax from 'embercom/lib/ajax';\n\nexport function fetchSyncingState(appId) {\n  return ajax({\n    url: '/ember/unsubscribe_integration.json',\n    type: 'GET',\n    data: {\n      app_id: appId,\n    },\n  });\n}\n\nexport function enableSyncing(appId, accessToken, integrateWith, listId) {\n  let params = {\n    app_id: appId,\n    enabled: true,\n    access_token: accessToken,\n    integrate_with: integrateWith,\n  };\n\n  if (listId) {\n    params.list_id = listId;\n  }\n\n  return ajax({\n    url: '/ember/unsubscribe_integration/enable',\n    type: 'POST',\n    data: JSON.stringify(params),\n  });\n}\n\nexport function cancelSyncing(appId) {\n  return ajax({\n    url: '/ember/unsubscribe_integration/disable',\n    type: 'POST',\n    data: JSON.stringify({\n      app_id: appId,\n    }),\n  });\n}\n","import moment from 'moment';\n\nlet conversions = {\n  s: 1000,\n  m: 60,\n  h: 60,\n  d: 24,\n  w: 7,\n};\n\nlet articleTimeAgo = function(dateString) {\n  let now = moment();\n  let date = moment(dateString);\n  let delta = Math.max(0, now - date);\n  let unit = 's';\n  for (let key in conversions) {\n    if (conversions.hasOwnProperty(key)) {\n      if (delta < conversions[key]) {\n        break;\n      }\n      unit = key;\n      delta /= conversions[key];\n    }\n  }\n  delta = Math.floor(delta);\n  switch (unit) {\n    case 's':\n      return 'Updated in the last 15 minutes';\n    case 'm':\n      return delta <= 15 ? 'Updated in the last 15 minutes' : 'Updated in the last hour';\n    case 'h':\n      return delta === 1 ? 'Updated in the last hour' : `Updated today`;\n    case 'd':\n      return delta === 1 ? 'Updated today' : `Updated this week`;\n    default:\n      return 'Updated over a week ago';\n  }\n};\n\nexport default articleTimeAgo;\n","import { BaseConfig, EMOJI_TYPEAHEAD } from '@intercom/embercom-prosemirror-composer';\nimport EmbercomFileUploader from './embercom-file-uploader';\nimport {\n  TextDirection,\n  Analytics,\n} from '@intercom/embercom-prosemirror-composer/lib/config/composer-config';\n\nexport default class ArticlesComposerConfig extends BaseConfig {\n  upload = {\n    allowedImageFileTypes: ['image/png', 'image/jpeg', 'image/jpg', 'image/gif'],\n    uploader: EmbercomFileUploader,\n    attrs: { policyUrl: '' },\n  };\n  typeaheads = [EMOJI_TYPEAHEAD];\n  placeholder = 'Start writing…';\n  analytics: Analytics;\n\n  constructor(app: any, textDirection: TextDirection = 'ltr', analytics: Analytics) {\n    super();\n    this.upload.attrs.policyUrl = `/apps/${app.id}/uploads`;\n    this.textDirection = textDirection;\n\n    let tools = [\n      { name: 'text-formatter' },\n      { name: 'anchor-editor' },\n      { name: 'video-editor' },\n      { name: 'button-editor' },\n      { name: 'image-editor', options: { supportAltAttributeEditing: true } },\n    ];\n\n    let blocks = [\n      'paragraph',\n      'image',\n      'orderedList',\n      'unorderedList',\n      'heading',\n      'subheading',\n      'codeBlock',\n      'video',\n      'button',\n    ];\n\n    if (app.canUseMediaToolbar) {\n      tools.push({ name: 'media-toolbar' });\n    } else {\n      tools.push({ name: 'media-inserter' });\n    }\n\n    if (app.canUseHorizontalRule) {\n      blocks.push('horizontalRule');\n    }\n    if (app.canUseTable) {\n      blocks.push('table');\n      tools.push({ name: 'table-editor' });\n    }\n\n    this.tools = tools;\n    this.allowedBlocks = blocks;\n    this.analytics = analytics;\n  }\n}\n","const CAN_MANAGE_ARTICLES_PERMISSION = 'can_manage_articles';\n\nconst RTL_LANGUAGES = ['ar', 'arc', 'dv', 'fa', 'ha', 'he', 'khw', 'ks', 'ku', 'ps', 'ur', 'yi'];\n\nexport { CAN_MANAGE_ARTICLES_PERMISSION, RTL_LANGUAGES };\n","import {\n  FileUploader,\n  UploadSuccess,\n  UploadFailure,\n} from '@intercom/embercom-prosemirror-composer';\nimport $ from 'jquery';\n// @ts-ignore\nimport { post } from 'embercom/lib/ajax';\n// @ts-ignore\nimport imageSize from 'embercom/lib/image-size';\n\ninterface Policy {\n  id: number;\n  upload_destination: string;\n  bucket: string;\n  public_url: string;\n  upload_url: string;\n  key: string;\n  aws_access_key: string;\n  acl: string;\n  success_action_status: string;\n  content_type: string;\n  policy: string;\n  signature: string;\n}\n\nexport default class EmbercomFileUploader implements FileUploader {\n  file: File;\n  policyUrl: string;\n  policy!: Policy;\n\n  constructor(file: File, attrs: { [key: string]: string }) {\n    this.file = file;\n    this.policyUrl = attrs.policyUrl;\n  }\n\n  async upload(): Promise<UploadSuccess | UploadFailure> {\n    try {\n      this.policy = await this.fetchPolicy();\n    } catch (e) {\n      return this.genericFailure;\n    }\n    try {\n      await this.uploadFile();\n    } catch (e) {\n      return this.failedUpload(e);\n    }\n\n    try {\n      await this.confirmUploadSuccess();\n      return this.success;\n    } catch (e) {\n      return this.genericFailure;\n    }\n  }\n\n  private async fetchPolicy() {\n    return post(this.policyUrl, {\n      upload: {\n        content_type: this.file.type,\n        size_in_bytes: this.file.size,\n        original_filename: this.file.name,\n        dimensions: await this.maybeCalculateImageSize(),\n      },\n    });\n  }\n\n  private async maybeCalculateImageSize() {\n    if (this.file.type.indexOf('image') === -1) {\n      return null;\n    }\n\n    let result;\n\n    try {\n      result = await imageSize(window.URL.createObjectURL(this.file));\n    } catch {\n      return null;\n    }\n\n    return `${result.width}x${result.height}`;\n  }\n\n  private async uploadFile() {\n    return new Promise((resolve, reject) => {\n      let policy = this.policy;\n      let formData = this.createFormData(policy);\n      let xhr = new XMLHttpRequest();\n\n      xhr.addEventListener(\n        'load',\n        () => {\n          if (xhr.status === 200 || xhr.status === 201) {\n            resolve();\n          } else {\n            reject(xhr);\n          }\n        },\n        false,\n      );\n      xhr.addEventListener(\n        'error',\n        () => {\n          reject(xhr);\n        },\n        false,\n      );\n\n      xhr.open('POST', policy.upload_destination, true); //MUST BE LAST LINE BEFORE YOU SEND\n      xhr.send(formData);\n    });\n  }\n\n  private createFormData(policy: Policy) {\n    let file = this.file;\n    let fd = new FormData();\n    fd.append('key', policy.key);\n    fd.append('acl', policy.acl);\n    fd.append('Content-Type', policy.content_type);\n    fd.append('AWSAccessKeyId', policy.aws_access_key);\n    fd.append('policy', policy.policy);\n    fd.append('signature', policy.signature);\n    fd.append('success_action_status', policy.success_action_status);\n    fd.append('file', file, this.file.name);\n    return fd;\n  }\n\n  private async confirmUploadSuccess() {\n    return $.ajax({\n      url: this.policy.upload_url,\n      type: 'PUT',\n    });\n  }\n\n  private failedUpload(xhr: XMLHttpRequest): UploadFailure {\n    let reason = 'There was an error uploading your file';\n    let retryable = true;\n    if (xhr.responseText.match('EntityTooLarge')) {\n      retryable = false;\n      reason = 'File too big';\n      let maxSize = xhr.responseText.match(/<MaxSizeAllowed>([0-9]+)<\\/MaxSizeAllowed>/);\n      if (maxSize) {\n        reason += `. Max size is ${Math.floor(Number(maxSize[1]) / 1000000)}MB`;\n      }\n    }\n    return {\n      type: 'failure',\n      file: this.file,\n      reason,\n      retryable,\n    };\n  }\n\n  private get success(): UploadSuccess {\n    return {\n      type: 'success',\n      file: this.file,\n      uploadUrl: this.policy.public_url,\n    };\n  }\n\n  private get genericFailure(): UploadFailure {\n    return {\n      type: 'failure',\n      file: this.file,\n      reason: 'There was an error uploading your file',\n      retryable: true,\n    };\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly, empty, not, filterBy, alias, notEmpty } from '@ember/object/computed';\nimport EmberObject from '@ember/object';\nexport default EmberObject.extend({\n  attributeSettings: [],\n  attribute: {},\n  identifier: readOnly('attribute.identifier'),\n  isCompany: readOnly('attribute.isCompany'),\n  isUser: readOnly('attribute.isUser'),\n  isCustomData: readOnly('attribute.isCustomData'),\n  isAttributeSettingsEmpty: empty('attributeSettings'),\n  isAttributeSettingsPresent: not('isAttributeSettingsEmpty'),\n  companyAttributeSettings: filterBy('attributeSettings', 'display_on', 'companies'),\n  companyAttributeSetting: alias('companyAttributeSettings.firstObject'),\n  userAttributeSettings: filterBy('attributeSettings', 'display_on', 'users'),\n  userAttributeSetting: alias('userAttributeSettings.firstObject'),\n  isDisplayedOnUsers: notEmpty('userAttributeSetting'),\n  isDisplayedOnCompanies: notEmpty('companyAttributeSetting'),\n  getAttributeSettingByDisplayOn(display_on) {\n    return this.attributeSettings.filterBy('display_on', display_on)[0];\n  },\n});\n","const AVAILABLE_EMOJI = [\n  '🚀',\n  '🌟',\n  '🎉',\n  '🍻',\n  '🎯',\n  '🏆',\n  '🎲',\n  '💎',\n  '🏭',\n  '💡',\n  '💰',\n  '📈',\n  '👾',\n  '📢',\n  '⚡',\n  '🔮',\n  '⏳',\n  '☀',\n  '✨',\n  '🔥',\n  '⭐',\n  '✅',\n  '🚨',\n  '💈',\n  '📡',\n];\nconst DEFAULT_EMOJI = AVAILABLE_EMOJI[0];\n\nexport { DEFAULT_EMOJI, AVAILABLE_EMOJI };\n","// Mirrors https://github.com/intercom/billing/blob/master/app/models/billing.rb\n\n// Products\n// These are strings because Ember Data forces you to use strings for IDs\nexport const LATEST_PRICING_MODEL = 'per_product_pricing_premium_mar_2019';\nexport const GRANDFATHERED_PRICING_MODEL = 'premium_grandfathered';\nexport const CORE_PRICING_MODEL = 'core_with_add_ons';\nexport const INBOX_ID = '1';\nexport const MESSAGES_ID = '2';\nexport const ARTICLES_ID = '5';\nexport const OPERATOR_ID = '7';\nexport const ANSWER_BOT_ID = '8';\nexport const PRODUCT_TOURS_ID = '9';\nexport const CORE_ID = '10';\nexport const LEAD_GENERATION_ID = '11';\nexport const SUPPORT_AUTOMATION_ID = '12';\nexport const CUSTOMER_ENGAGEMENT_ID = '13';\n\nexport const PRODUCT_KEYS = {\n  1: 'inbox',\n  2: 'messages',\n  5: 'articles',\n  7: 'operator',\n  8: 'answer',\n  9: 'tours',\n};\n\nexport const PRODUCT_IDS = [\n  INBOX_ID,\n  MESSAGES_ID,\n  ARTICLES_ID,\n  OPERATOR_ID,\n  ANSWER_BOT_ID,\n  PRODUCT_TOURS_ID,\n];\n\n// Plans\nexport const INBOX_ESSENTIAL_ID = '1';\nexport const INBOX_PRO_ID = '2';\nexport const INBOX_PREMIUM_ID = '13';\nexport const MESSAGES_ESSENTIAL_ID = '3';\nexport const MESSAGES_PRO_ID = '4';\nexport const MESSAGES_PREMIUM_ID = '14';\nexport const ARTICLES_ESSENTIAL_ID = '9';\nexport const OPERATOR_PRO_ID = '12';\nexport const ANSWER_BOT_ESSENTIAL_ID = '15';\nexport const PRODUCT_TOURS_ESSENTIAL_ID = '16';\nexport const ARTICLES_PRO_ID = '17';\nexport const CORE_GOOD_ID = '18';\nexport const CORE_BETTER_ID = '19';\nexport const CORE_BEST_ID = '20';\nexport const CORE_PREMIUM_ID = '21';\nexport const LEAD_GENERATION_BASE_ID = '22';\nexport const SUPPORT_AUTOMATION_BASE_ID = '23';\nexport const CUSTOMER_ENGAGEMENT_BASE_ID = '24';\n\nexport const ESSENTIAL_TIER_ID = 1;\nexport const PRO_TIER_ID = 2;\n\n// Start with all 3\nexport const ESSENTIAL_BUNDLE = [INBOX_ESSENTIAL_ID, MESSAGES_ESSENTIAL_ID, ARTICLES_ESSENTIAL_ID];\n\nexport const PRO_BUNDLE = [INBOX_PRO_ID, MESSAGES_PRO_ID, ARTICLES_ESSENTIAL_ID];\n\nexport const FREE_PRODUCT_BUNDLE = [INBOX_ID, MESSAGES_ID];\n\nexport const SOLUTION_ANALYTICS_OBJECTS = {\n  3: 'onboard_and_engage',\n  4: 'capture_and_convert',\n  5: 'provide_selfserve_support',\n  7: 'support_and_retain',\n};\n\nexport const UPSELL_PRODUCTS = [OPERATOR_ID, ARTICLES_ID, ANSWER_BOT_ID];\nexport const EARLY_STAGE_BUNDLE = [\n  INBOX_PRO_ID,\n  MESSAGES_PRO_ID,\n  ARTICLES_PRO_ID,\n  OPERATOR_PRO_ID,\n  PRODUCT_TOURS_ESSENTIAL_ID,\n];\n\nexport const CORE_EARLY_STAGE_BUNDLE = [CORE_BEST_ID, PRODUCT_TOURS_ESSENTIAL_ID];\n\nexport const MESSAGES_FEATURE = 'auto_messaging';\nexport const INBOX_FEATURE = 'inbox';\nexport const ARTICLES_FEATURE = 'help_center';\n\n// Solutions\nexport const SUPPORT_SOLUTION_ID = '1';\nexport const LIVE_CHAT_SOLUTION_ID = '2';\nexport const ONBOARDING_SOLUTION_ID = '3';\nexport const LIVE_CHAT_SALES_SOLUTION_ID = '4';\nexport const SELF_SERVICE_SUPPORT_SOLUTION_ID = '5';\nexport const RETAIN_AND_SUPPORT_SOLUTION_ID = '7';\nexport const ALL_INTERCOM_PRODUCTS_SOLUTION_ID = '8';\nexport const MARKETING_SOLUTION_ID = '9';\nexport const EARLY_STAGE_SOLUTION_ID = '10';\nexport const ALL_INTERCOM_WITHOUT_ARTICLES_SOLUTION_ID = '11';\nexport const RETAIN_AND_SUPPORT_WITHOUT_ARTICLES_SOLUTION_ID = '12';\nexport const STARTER_SOLUTION_ID = '13';\nexport const CORE_SOLUTION_ID = '14';\nexport const CORE_EARLY_STAGE_SOLUTION_ID = '15';\n\nexport const SOLUTION_PRODUCT_IDS = {\n  1: [INBOX_ID, ARTICLES_ID],\n  2: [INBOX_ID, MESSAGES_ID],\n  3: [MESSAGES_ID],\n  4: [INBOX_ID, MESSAGES_ID],\n  5: [ARTICLES_ID],\n  7: [INBOX_ID, ARTICLES_ID],\n  8: [INBOX_ID, MESSAGES_ID, ARTICLES_ID],\n  9: [INBOX_ID, MESSAGES_ID],\n  10: [INBOX_ID, MESSAGES_ID, ARTICLES_ID, OPERATOR_ID],\n  11: [INBOX_ID, MESSAGES_ID],\n  12: [INBOX_ID],\n  13: [INBOX_ID],\n  14: [CORE_ID],\n  15: [CORE_ID, PRODUCT_TOURS_ID],\n};\n\nexport const EARLY_STAGE_SOLUTION_IDS = [EARLY_STAGE_SOLUTION_ID, CORE_EARLY_STAGE_SOLUTION_ID];\nexport const CORE_SOLUTION_IDS = [CORE_SOLUTION_ID, CORE_EARLY_STAGE_SOLUTION_ID];\n\n// removed ARTICLES_ESSENTIAL_ID from solution 7 and 8 to fix bug\nexport const SOLUTION_ESSENTIAL_PLAN_IDS = {\n  1: [INBOX_ESSENTIAL_ID, ARTICLES_ESSENTIAL_ID],\n  2: [INBOX_ESSENTIAL_ID, MESSAGES_ESSENTIAL_ID],\n  3: [MESSAGES_ESSENTIAL_ID],\n  4: [INBOX_ESSENTIAL_ID, MESSAGES_ESSENTIAL_ID],\n  5: [ARTICLES_ESSENTIAL_ID],\n  7: [INBOX_ESSENTIAL_ID],\n  8: [INBOX_ESSENTIAL_ID, MESSAGES_ESSENTIAL_ID],\n  9: [INBOX_ESSENTIAL_ID, MESSAGES_ESSENTIAL_ID],\n  10: EARLY_STAGE_BUNDLE,\n  11: [INBOX_ESSENTIAL_ID, MESSAGES_ESSENTIAL_ID],\n  12: [INBOX_ESSENTIAL_ID],\n  13: [INBOX_ESSENTIAL_ID],\n  14: [CORE_GOOD_ID],\n  15: CORE_EARLY_STAGE_BUNDLE,\n};\n\n// removed ARTICLES_ESSENTIAL_ID from solution 7 and 8 to fix bug\nexport const SOLUTION_STANDARD_PLAN_IDS = {\n  1: [INBOX_PRO_ID, ARTICLES_ESSENTIAL_ID],\n  2: [INBOX_PRO_ID, MESSAGES_PRO_ID],\n  3: [MESSAGES_PRO_ID],\n  4: [INBOX_PRO_ID, MESSAGES_PRO_ID],\n  5: [ARTICLES_ESSENTIAL_ID],\n  7: [INBOX_PRO_ID],\n  8: [INBOX_PRO_ID, MESSAGES_PRO_ID],\n  9: [INBOX_PRO_ID, MESSAGES_PRO_ID],\n  10: EARLY_STAGE_BUNDLE,\n  11: [INBOX_PRO_ID, MESSAGES_PRO_ID],\n  12: [INBOX_PRO_ID],\n  13: [INBOX_PRO_ID],\n  14: [CORE_BETTER_ID],\n  15: CORE_EARLY_STAGE_BUNDLE,\n};\n\nexport const CORE_SEAT_METRIC = 'latest_daily_admin_count';\n\nexport function productIdsFromSolution(solutionId) {\n  return SOLUTION_PRODUCT_IDS[solutionId] || [];\n}\n\nexport function solutionIdFromMarketingSiteTab(tabIndex) {\n  let index = 0;\n\n  if (tabIndex) {\n    index = parseInt(tabIndex, 10);\n  }\n\n  let marketingTabMap = [\n    ALL_INTERCOM_WITHOUT_ARTICLES_SOLUTION_ID,\n    LIVE_CHAT_SALES_SOLUTION_ID,\n    ONBOARDING_SOLUTION_ID,\n    RETAIN_AND_SUPPORT_WITHOUT_ARTICLES_SOLUTION_ID,\n  ];\n  return marketingTabMap[index] || marketingTabMap[0];\n}\n\nexport function productsFromSolution(products, solutionId) {\n  let productIds = productIdsFromSolution(solutionId);\n  return products.filter(product => productIds.any(id => id === product.get('id')));\n}\n\nexport function plansFromSolution(isPro, solutionId) {\n  if (isPro) {\n    return SOLUTION_STANDARD_PLAN_IDS[solutionId] || [];\n  }\n  return SOLUTION_ESSENTIAL_PLAN_IDS[solutionId] || [];\n}\n\nexport const PLAN_DATA = {\n  [INBOX_ESSENTIAL_ID]: {\n    name: 'Essential',\n    nameWithProduct: 'Inbox Essential',\n    marketingName: 'Team Inbox - Essential',\n    icon: '/assets/images/products/id-1-small-2x.png',\n    description: 'Answer customer questions faster through a collaborative, shared Inbox',\n    breakdown: 'includes 2 seats',\n  },\n  [INBOX_PRO_ID]: {\n    name: 'Pro',\n    nameWithProduct: 'Inbox Pro',\n    marketingName: 'Team Inbox - Pro',\n    icon: '/assets/images/products/id-1-small-2x.png',\n    description: 'Answer customer questions faster through a collaborative, shared Inbox',\n    breakdown: 'includes 2 seats',\n  },\n  [INBOX_PREMIUM_ID]: {\n    name: 'Premium',\n    nameWithProduct: 'Inbox Premium',\n    marketingName: 'Team Inbox - Premium',\n    icon: '/assets/images/products/id-1-small-2x.png',\n  },\n  [MESSAGES_ESSENTIAL_ID]: {\n    name: 'Essential',\n    nameWithProduct: 'Messages Essential',\n    marketingName: 'Outbound Messages - Essential',\n    icon: '/assets/images/products/id-2-small-2x.png',\n    description:\n      'Use targeted email, push, and in-app messages to encourage customers to take action',\n    breakdown: 'includes 200 active people',\n  },\n  [MESSAGES_PRO_ID]: {\n    name: 'Pro',\n    nameWithProduct: 'Messages Pro',\n    marketingName: 'Outbound Messages - Pro',\n    icon: '/assets/images/products/id-2-small-2x.png',\n    description:\n      'Use targeted email, push, and in-app messages to encourage customers to take action',\n    breakdown: 'includes 200 active people',\n  },\n  [MESSAGES_PREMIUM_ID]: {\n    name: 'Premium',\n    nameWithProduct: 'Messages Premium',\n    marketingName: 'Outbound Messages - Premium',\n    icon: '/assets/images/products/id-2-small-2x.png',\n  },\n  [ARTICLES_ESSENTIAL_ID]: {\n    name: 'Essential',\n    marketingName: 'Help Center Articles - Essential',\n    nameWithProduct: 'Articles Essential',\n    uniqueFeatureKey: 'help_center',\n    description:\n      'Publish articles to a knowledge base to provide your customers with self-service support',\n    features: [\n      'Automatically suggest articles to customers',\n      'Report on searches, views, and user feedback',\n      'Import content from existing help center',\n    ],\n    icon: 'assets/images/signup-teams/pricing_articles.png',\n    icon2x: 'assets/images/signup-teams/pricing_articles@2x.png',\n    sidebarIcon: 'assets/images/signup-teams/pricing_addon.png',\n    sidebarIcon2x: 'assets/images/signup-teams/pricing_addon@2x.png',\n    id: ARTICLES_ESSENTIAL_ID,\n    key: 'articles',\n    marketoFormField: 'Add_On_Articles__c',\n    breakdown: 'unlimited articles',\n  },\n  [ARTICLES_PRO_ID]: {\n    name: 'Pro',\n    nameWithProduct: 'Articles Pro',\n    marketingName: 'Help Center Articles - Pro',\n    productId: ARTICLES_ID,\n    description:\n      'Publish articles to a knowledge base to provide your customers with self-service support',\n    initialTier: 'unlimited articles',\n    addon: true,\n    features: [\n      'Control who sees your help content',\n      'Support customers in 38 languages',\n      'Access and share private articles in conversations',\n    ],\n    icon: 'assets/images/signup-teams/pricing_articles.png',\n    icon2x: 'assets/images/signup-teams/pricing_articles@2x.png 2x',\n    sidebarIcon: 'assets/images/signup-teams/pricing_addon.png',\n    sidebarIcon2x: 'assets/images/signup-teams/pricing_addon@2x.png',\n    id: ARTICLES_PRO_ID,\n    key: 'articles_pro',\n    marketoFormField: 'Add_On_Articles_Pro__c',\n    breakdown: 'unlimited articles',\n  },\n  [OPERATOR_PRO_ID]: {\n    name: 'Custom Bots',\n    productId: OPERATOR_ID,\n    description:\n      'Customize your bot in minutes to get more qualified leads and accelerate your sales cycles',\n    breakdown: 'includes 200 active people',\n    marketingName: 'Custom Bots',\n    addon: true,\n    features: [\n      'Point and click bot builder',\n      'Pre-built bot templates to get started fast',\n      'Bot performance reports',\n    ],\n    icon: 'assets/images/signup-teams/pricing_custombots.png',\n    icon2x: 'assets/images/signup-teams/pricing_custombots@2x.png 2x',\n    sidebarIcon: 'assets/images/signup-teams/pricing_addon.png',\n    sidebarIcon2x: 'assets/images/signup-teams/pricing_addon@2x.png',\n    id: OPERATOR_PRO_ID,\n    key: 'custom_bots',\n    marketoFormField: 'Add_On_Custom_Bots__c',\n  },\n  [ANSWER_BOT_ESSENTIAL_ID]: {\n    name: 'Resolution Bot',\n    marketingName: 'Resolution Bot',\n    description:\n      \"A chat bot that intelligently answers common questions so your team doesn't have to\",\n    addon: true,\n    features: [\n      'Deliver precise, accurate answers, 24/7',\n      'Improve your customer response time by 44%',\n      'Free up your team to focus on more productive work',\n    ],\n    icon: 'assets/images/signup-teams/pricing_answersbot.png',\n    icon2x: 'assets/images/signup-teams/pricing_answersbot.png 2x',\n    sidebarIcon: 'assets/images/signup-teams/pricing_addon.png',\n    sidebarIcon2x: 'assets/images/signup-teams/pricing_addon@2x.png 2x',\n    id: ANSWER_BOT_ESSENTIAL_ID,\n    key: 'answer_bot',\n    marketoFormField: 'Add_On_Answer_Bots__c',\n    breakdown: 'includes 200 active people',\n  },\n  [PRODUCT_TOURS_ESSENTIAL_ID]: {\n    name: 'Product Tours',\n    marketingName: 'Product Tours',\n    productId: PRODUCT_TOURS_ID,\n    description: 'Drive adoption with interactive tours inside your product',\n    breakdown: 'includes 200 active people',\n    marketingFeatures: ['Targeted guided tours', 'Video tours', 'Easy, code-free builder'],\n    addon: true,\n    features: ['Targeted guided tours', 'Video tours', 'Easy, code-free builder'],\n    icon: 'assets/images/signup-teams/pricing_producttours.png',\n    icon2x: 'assets/images/signup-teams/pricing_producttours@2x.png 2x',\n    sidebarIcon: 'assets/images/signup-teams/pricing_addon.png',\n    sidebarIcon2x: 'assets/images/signup-teams/pricing_addon@2x.png 2x',\n    id: PRODUCT_TOURS_ESSENTIAL_ID,\n    key: 'product_tours',\n    marketoFormField: 'Add_On_Product_Tours__c',\n  },\n  [CORE_GOOD_ID]: {\n    name: 'Start',\n    marketingName: 'Start plan',\n    nameWithProduct: 'Start plan',\n    icon: '/assets/images/products/id-1-small-2x.png',\n    productId: CORE_ID,\n    description: 'Basic live chat and outbound messaging.',\n    breakdown: 'includes 1 seat',\n    marketingFeatures: [\n      'Includes 1 seat',\n      'Live chat',\n      'Targeted outbound chat',\n      'Team inbox',\n      'Slack integration',\n    ],\n  },\n  [CORE_BETTER_ID]: {\n    name: 'Grow',\n    marketingName: 'Grow plan',\n    nameWithProduct: 'Grow plan',\n    icon: '/assets/images/products/id-1-small-2x.png',\n    description: 'Chat, targeted email and self-service support.',\n    breakdown: 'includes 5 seats',\n    marketingFeatures: [\n      'Includes 5 seats',\n      'Inbound & outbound email',\n      'Help center',\n      'Saved replies',\n      'Conversation ratings',\n      'HubSpot & GitHub integrations',\n    ],\n    prefix: 'Everything in Start, plus:',\n  },\n  [CORE_BEST_ID]: {\n    name: 'Accelerate',\n    marketingName: 'Accelerate plan',\n    nameWithProduct: 'Accelerate plan',\n    icon: '/assets/images/products/id-1-small-2x.png',\n    description: 'Automated workflows, bots, and reporting.',\n    breakdown: 'includes 10 seats',\n    marketingFeatures: [\n      'Includes 10 seats',\n      'Custom bots',\n      'Multiple team inboxes',\n      'Automated assignment rules',\n      'Multilingual help center',\n      'Team performance reporting',\n      'Salesforce & Zendesk Support integrations',\n      'Dedicated relationship manager',\n    ],\n    prefix: 'Everything in Grow, plus:',\n  },\n  [CORE_PREMIUM_ID]: {\n    name: 'Scale',\n    nameWithProduct: 'Scale plan',\n    icon: '/assets/images/products/id-1-small-2x.png',\n    description: 'Advanced workflows, permissions and security.',\n    marketingFeatures: [\n      'Includes 10 seats',\n      'Service Level Agreement rules',\n      'Workload management',\n      'Custom role permissions',\n      'SSO and SAML integrations (coming soon)',\n      'Custom API rate limits',\n      'Tailored training sessions',\n      'Ongoing product consultation',\n    ],\n    prefix: 'Everything in Accelerate, plus:',\n  },\n  [LEAD_GENERATION_BASE_ID]: {\n    name: 'Advanced lead generation',\n    description: 'Grow your pipeline with ABM and sales integrations.',\n    marketingFeatures: [\n      'Account-Based Marketing',\n      'Salesforce Sandbox support',\n      'Clearbit Reveal & Marketo integrations',\n      'Send apps in bots',\n    ],\n  },\n  [SUPPORT_AUTOMATION_BASE_ID]: {\n    name: 'Advanced support automation',\n    description: 'Provide faster answers and automate actions with Resolution Bot.',\n    marketingFeatures: [\n      'Automated answers to common questions',\n      'Resolution reporting',\n      'Send apps in bots',\n    ],\n  },\n  [CUSTOMER_ENGAGEMENT_BASE_ID]: {\n    name: 'Advanced customer engagement',\n    description: 'Drive growth with automated multichannel campaigns.',\n    marketingFeatures: [\n      'Push messages & notifications',\n      'Smart Campaigns',\n      'Message A/B testing & control groups',\n      'Clearbit Reveal & Marketo integrations',\n    ],\n  },\n};\n\nexport const SOLUTIONS_ALL = [\n  {\n    id: parseInt(LIVE_CHAT_SALES_SOLUTION_ID, 10),\n    description: 'Capture and convert leads',\n    detailedDescription:\n      'Use bots and live chat to automatically qualify, route and convert more leads faster.',\n    productOrder: [MESSAGES_ID, INBOX_ID, ARTICLES_ID],\n  },\n  {\n    id: parseInt(ONBOARDING_SOLUTION_ID, 10),\n    description: 'Onboard and engage customers',\n    detailedDescription:\n      'Send targeted email, in-app and push messages to turn more signups into customers.',\n    productOrder: [MESSAGES_ID, INBOX_ID, ARTICLES_ID],\n  },\n  { id: 5, description: 'Provide self-service support' },\n  { id: 6, description: 'Support and retain customers' },\n  {\n    id: parseInt(RETAIN_AND_SUPPORT_SOLUTION_ID, 10),\n    description: 'Support and retain customers',\n    detailedDescription:\n      'Get an integrated help desk and knowledge base to solve customer problems faster.',\n    productOrder: [INBOX_ID, ARTICLES_ID, MESSAGES_ID],\n  },\n  {\n    id: parseInt(CORE_SOLUTION_ID, 10),\n    description: 'Connect to customers',\n    detailedDescription: 'Use Intercom to connect with customers.',\n    productOrder: [CORE_ID],\n  },\n];\n\nexport const PER_PRODUCT_PRICING_AB_MODEL = 'per_product_pricing_high';\nexport const EXTENDED_EARLY_STAGE_PRICING_MODEL = 'early_stage99';\nexport const EARLY_STAGE_PRODUCTS = [\n  INBOX_ID,\n  MESSAGES_ID,\n  ARTICLES_ID,\n  OPERATOR_ID,\n  PRODUCT_TOURS_ID,\n];\n\nconst TEAMS_SOLUTIONS = {\n  [LIVE_CHAT_SALES_SOLUTION_ID]: {\n    name: 'Lead generation',\n    essentialTier: 'Essential',\n    proTier: 'Pro',\n    description: 'Qualify leads and book meetings with live chat and bots',\n    features: [\n      'Capture leads on your website with live chat',\n      'Engage the right visitors by targeting automatically based on their behaviors',\n      'Get reports on leads captured, response times, and more',\n      'Integrate with Stripe, Hubspot, Shopify, Google, and more',\n    ],\n    proFeatures: [\n      'All the Essential plan features',\n      'Automatically qualify leads when they start conversations',\n      'Route leads to the right sales reps based on rules',\n      'A/B test messages you send to optimize performance',\n      'Set permissions for who can create new messages, assign conversations, and more',\n      'Integrate with Salesforce, Zendesk, Github, and more',\n    ],\n    topFeatures: [\n      {\n        name: 'Business Messenger',\n        prompt: \"Capture and chat with leads on your website using Intercom's Business Messenger\",\n      },\n      {\n        name: 'Customer data',\n        prompt: 'Target and engage the right visitors by using rich customer data',\n      },\n      {\n        name: 'Reporting',\n        prompt:\n          'Get reports on key performance indicators like leads captured, response times, and more',\n      },\n    ],\n    recommendedAddons: [OPERATOR_PRO_ID],\n    icon: '/assets/images/solutions/icon-acquire-color@2x.png',\n  },\n  [ONBOARDING_SOLUTION_ID]: {\n    name: 'Customer engagement',\n    essentialTier: 'Essential',\n    proTier: 'Pro',\n    description:\n      'Onboard, upgrade, and retain your customers with email, push, and in-product messages',\n    features: [\n      'Trigger messages — emails, chats, and push notifications — based on your users and their behavior',\n      'Measure performance ',\n    ],\n    proFeatures: [\n      'All the Essential plan features',\n      'Automate multi-touch campaigns — just add messages and rules and Intercom does the rest',\n      'Control who can chat with you (and when)',\n      'Integrate with Salesforce, Mailchimp, Github, and more',\n    ],\n    topFeatures: [\n      {\n        name: 'Business Messenger',\n        prompt:\n          \"Send messages to people on your website and in your apps with Intercom's Business Messenger\",\n      },\n      {\n        name: 'Customer data',\n        prompt: 'Target and engage the right visitors by using rich customer data',\n      },\n      {\n        name: 'Reporting',\n        prompt: 'Track performance of your messages with reports',\n      },\n    ],\n    recommendedAddons: [PRODUCT_TOURS_ESSENTIAL_ID],\n    icon: '/assets/images/solutions/icon-engage-color@2x.png',\n  },\n  [RETAIN_AND_SUPPORT_SOLUTION_ID]: {\n    name: 'Customer support',\n    essentialTier: 'Essential',\n    proTier: 'Pro',\n    description: 'Convert leads faster and accelerate sales with live chat and bots',\n    features: [\n      'Customize workflows with rules and automations',\n      'Create intelligent, multi-touch campaigns',\n      'Control who sees the Messenger and when',\n      'Integrate with Salesforce, Zendesk, Github and more',\n    ],\n    topFeatures: [\n      {\n        name: 'Business Messenger',\n        prompt:\n          \"Send messages to people on your website and in your apps with Intercom's Business Messenger\",\n      },\n      {\n        name: 'Customer data',\n        prompt: 'Target and engage the right visitors by using rich customer data',\n      },\n      {\n        name: 'Reporting',\n        prompt:\n          'Get reports on key performance indicators like leads captured, response times, and more',\n      },\n    ],\n    recommendedAddons: [OPERATOR_PRO_ID],\n    icon: '/assets/images/solutions/icon-support-color@2x.png',\n  },\n  [ALL_INTERCOM_PRODUCTS_SOLUTION_ID]: {\n    name: 'All-in-one',\n    essentialTier: 'Essential',\n    proTier: 'Pro',\n    description: 'Convert leads faster and accelerate sales with live chat and bots',\n    features: [\n      'Customize workflows with rules and automations',\n      'Create intelligent, multi-touch campaigns',\n      'Control who sees the Messenger and when',\n      'Integrate with Salesforce, Zendesk, Github and more',\n    ],\n    topFeatures: [\n      {\n        name: 'Business Messenger',\n        prompt: \"Chat with your customers using Intercom's Business Messenger\",\n      },\n      {\n        name: 'Customer data',\n        prompt: 'Track and analyze user information and behavior in your product',\n      },\n      {\n        name: 'Reporting',\n        prompt:\n          'Get reports on key performance indicators like leads captured, response times, and more',\n      },\n    ],\n    recommendedAddons: [\n      OPERATOR_PRO_ID,\n      PRODUCT_TOURS_ESSENTIAL_ID,\n      ANSWER_BOT_ESSENTIAL_ID,\n      ARTICLES_ESSENTIAL_ID,\n    ],\n    icon: '/assets/images/solutions/icon-all-in-one-color@2x.png',\n  },\n  [MARKETING_SOLUTION_ID]: {\n    name: 'Engage Customers',\n    essentialTier: 'Essential',\n    proTier: 'Pro',\n    description: 'Convert leads faster and accelerate sales with live chat and bots',\n    features: [\n      'Customize workflows with rules and automations',\n      'Create intelligent, multi-touch campaigns',\n      'Control who sees the Messenger and when',\n      'Integrate with Salesforce, Zendesk, Github and more',\n    ],\n    topFeatures: [\n      {\n        name: 'Business Messenger',\n        prompt: '',\n      },\n      {\n        name: 'Customer data',\n        prompt: '',\n      },\n      {\n        name: 'Reporting',\n        prompt: '',\n      },\n    ],\n    recommendedAddons: [OPERATOR_PRO_ID],\n  },\n  [EARLY_STAGE_SOLUTION_ID]: {\n    name: 'Early Stage Program',\n    description: 'Convert leads faster and accelerate sales with live chat and bots',\n    features: [\n      'Customize workflows with rules and automations',\n      'Create intelligent, multi-touch campaigns',\n      'Control who sees the Messenger and when',\n      'Integrate with Salesforce, Zendesk, Github and more',\n    ],\n    topFeatures: [\n      {\n        name: 'Business Messenger',\n        prompt: '',\n      },\n      {\n        name: 'Customer data',\n        prompt: '',\n      },\n      {\n        name: 'Reporting',\n        prompt: '',\n      },\n    ],\n    recommendedAddons: [OPERATOR_PRO_ID],\n  },\n  [CORE_EARLY_STAGE_SOLUTION_ID]: {\n    name: 'Early Stage Program',\n    description: 'Convert leads faster and accelerate sales with live chat and bots',\n    features: [\n      'Customize workflows with rules and automations',\n      'Create intelligent, multi-touch campaigns',\n      'Control who sees the Messenger and when',\n      'Integrate with Salesforce, Zendesk, Github and more',\n    ],\n    topFeatures: [\n      {\n        name: 'Business Messenger',\n        prompt: '',\n      },\n      {\n        name: 'Customer data',\n        prompt: '',\n      },\n      {\n        name: 'Reporting',\n        prompt: '',\n      },\n    ],\n    recommendedAddons: [],\n  },\n  [ALL_INTERCOM_WITHOUT_ARTICLES_SOLUTION_ID]: {\n    name: 'All-in-one',\n    essentialTier: 'Essential',\n    proTier: 'Pro',\n    description:\n      'Understand your users, see what they do, and talk to them with live chat and outbound messages',\n    proFeatures: [\n      'All the Essential plan features',\n      'Customize your chat workflows with rules and automations',\n      'Automate multi-touch campaigns — just add messages and rules and Intercom does the rest',\n      'Control who can chat with you (and when)',\n    ],\n    features: [\n      'Manage all your customer email and chat from one place',\n      'Send targeted messages — emails, chats, and push notifications — on your site or in your product',\n      'Integrate with Stripe, Hubspot, Shopify, Google, and more',\n      'Track and analyze user information and behavior in your product',\n    ],\n    topFeatures: [\n      {\n        name: 'Business Messenger',\n        prompt: \"Chat with your customers using Intercom's Business Messenger\",\n      },\n      {\n        name: 'Customer data',\n        prompt: 'Track and analyze user information and behavior in your product',\n      },\n      {\n        name: 'Reporting',\n        prompt:\n          'Get reports on key performance indicators like leads captured, response times, and more',\n      },\n    ],\n    recommendedAddons: [\n      OPERATOR_PRO_ID,\n      PRODUCT_TOURS_ESSENTIAL_ID,\n      ANSWER_BOT_ESSENTIAL_ID,\n      ARTICLES_ESSENTIAL_ID,\n    ],\n    icon: '/assets/images/solutions/icon-all-in-one-color@2x.png',\n  },\n  [RETAIN_AND_SUPPORT_WITHOUT_ARTICLES_SOLUTION_ID]: {\n    name: 'Customer support',\n    essentialTier: 'Essential',\n    proTier: 'Pro',\n    description:\n      'Help customers with real-time support, a built-in help center, and bots for quick self-service',\n    features: [\n      'Offer customers chat support on your site or in your product',\n      'See customer information from your databases while you chat',\n      'Coordinate across your team with assignments, internal notes, and saved replies',\n      'Get reports to track volume, response times, and team performance',\n      'Integrate with Zendesk, Github, Jira, and more',\n    ],\n    proFeatures: [\n      'All the Essential plan features',\n      'Automatically assign and prioritize inbound conversations',\n      'Respond directly to Facebook and Twitter messages',\n      'Manage service quality with customer satisfaction surveys',\n      'Streamline workflows with 170+ apps, like Salesforce, Zendesk, and Github',\n    ],\n    topFeatures: [\n      {\n        name: 'Business Messenger',\n        prompt: \"Chat with your customers using Intercom's Business Messenger\",\n      },\n      {\n        name: 'Customer data',\n        prompt: 'Track and analyze user information and behavior in your product',\n      },\n      {\n        name: 'Reporting',\n        prompt:\n          'Get reports on key performance indicators like leads captured, response times, and more',\n      },\n    ],\n    recommendedAddons: [ANSWER_BOT_ESSENTIAL_ID, OPERATOR_PRO_ID, ARTICLES_ESSENTIAL_ID],\n    icon: '/assets/images/solutions/icon-support-color@2x.png',\n  },\n  [STARTER_SOLUTION_ID]: {\n    name: 'Starter Plan',\n    description: 'Convert leads faster and accelerate sales with live chat and bots',\n    features: [\n      'Customize workflows with rules and automations',\n      'Create intelligent, multi-touch campaigns',\n      'Control who sees the Messenger and when',\n      'Integrate with Salesforce, Zendesk, Github and more',\n    ],\n    topFeatures: [\n      {\n        name: 'Business Messenger',\n        prompt: '',\n      },\n      {\n        name: 'Customer data',\n        prompt: '',\n      },\n      {\n        name: 'Reporting',\n        prompt: '',\n      },\n    ],\n    recommendedAddons: [ANSWER_BOT_ESSENTIAL_ID, ARTICLES_ESSENTIAL_ID],\n  },\n  [CORE_SOLUTION_ID]: {\n    name: 'Start',\n    proName: 'Grow',\n    description: 'Live chat for your website and product.',\n    proDescription: 'Targeted email & in-app messages.',\n    features: ['Live chat', 'Targeted outbound chat', 'Team inbox', 'Slack integration'],\n    proFeatures: [\n      'All the Start plan features',\n      'Inbound & outbound email',\n      'Help center',\n      'Saved replies',\n      'Conversation ratings',\n      'HubSpot & GitHub integrations',\n    ],\n    recommendedAddons: [PRODUCT_TOURS_ESSENTIAL_ID],\n    icon: '/assets/images/solutions/icon-all-in-one-color@2x.png',\n  },\n};\n\nexport const findSolution = function(solutionId) {\n  return solutionId\n    ? TEAMS_SOLUTIONS[solutionId]\n    : TEAMS_SOLUTIONS[ALL_INTERCOM_WITHOUT_ARTICLES_SOLUTION_ID];\n};\n\nconst INBOX_ADD_INFO = {\n  description: 'Manage conversations with leads and customers at scale',\n  benefits: [\n    {\n      title: 'Convert leads',\n      description: 'Chat with, qualify, and close leads on your website in real-time.',\n      icon: 'upgrade/track-leads',\n    },\n    {\n      title: 'Scale support',\n      description: 'Automate workflows to respond faster and increase satisfaction.',\n      icon: 'upgrade/teammate-workload',\n    },\n    {\n      title: 'Integrate seamlessly',\n      description: 'Integrate with Salesforce, Slack, Zendesk, and more.',\n      icon: 'upgrade/integrations',\n    },\n  ],\n};\n\nconst MESSAGES_BENEFITS = {\n  UNLIMITED_MESSAGES: {\n    title: 'Unlimited messages',\n    description: 'Nurture leads, onboard customers, announce new features and more.',\n    icon: 'upgrade/recent-conversations',\n  },\n  MULTICHANNEL: {\n    title: 'Multichannel',\n    description:\n      'Connect with customers and leads using in-app, email, website, and push messages.',\n    icon: 'upgrade/multi-channel',\n  },\n  AUDIENCE_TARGETING: {\n    title: 'Powerful targeting',\n    description: 'Send highly personalized messages based on behavior and custom data.',\n    icon: 'upgrade/audience-targeting',\n  },\n  MESSAGE_STATS: {\n    title: 'Test and measure',\n    description: 'Get insight into performance to meet your goals and improve over time.',\n    icon: 'upgrade/message-stats',\n  },\n  SERIES: {\n    title: 'Orchestrate all your messages',\n    description: 'Connect your touchpoints to create seamless messaging experiences.',\n    hasIcIllustrativeIcon: true,\n    icon: 'series',\n  },\n};\n\nconst MESSAGES_ADD_INFO = {\n  description: 'Send targeted email, in-app and push messages to leads and customers',\n  benefits: [\n    MESSAGES_BENEFITS.UNLIMITED_MESSAGES,\n    MESSAGES_BENEFITS.MULTICHANNEL,\n    MESSAGES_BENEFITS.AUDIENCE_TARGETING,\n    MESSAGES_BENEFITS.MESSAGE_STATS,\n  ],\n};\n\nconst MESSAGES_PRO_ADD_INFO = {\n  description: 'Send targeted email, in-app and push messages to leads and customers',\n  benefits: [\n    MESSAGES_BENEFITS.UNLIMITED_MESSAGES,\n    MESSAGES_BENEFITS.MULTICHANNEL,\n    MESSAGES_BENEFITS.SERIES,\n    MESSAGES_BENEFITS.AUDIENCE_TARGETING,\n    MESSAGES_BENEFITS.MESSAGE_STATS,\n  ],\n};\n\n// Used in the modal when adding a plan.\nexport const MODAL_ADD_PLAN_INFO = {\n  [ARTICLES_ESSENTIAL_ID]: {\n    description: 'Start a knowledge base of articles and best practices for customer self-service',\n    benefits: [\n      {\n        title: '24/7 customer support',\n        description: 'Help customers help themselves by creating articles that answer FAQs.',\n        icon: 'upgrade/write-articles',\n      },\n      {\n        title: 'Automatic article suggestions',\n        description: 'Respond to customers instantly with a bot that sends relevant articles.',\n        icon: 'upgrade/smart-suggestions',\n      },\n      {\n        title: 'Integrated knowledge base',\n        description: 'Connect your knowledge base and help desk to speed up resolutions.',\n        icon: 'upgrade/smart-suggestions-educate',\n      },\n    ],\n  },\n  [ARTICLES_PRO_ID]: {\n    description:\n      'Help your different audiences quickly find answers with a tailored knowledge base',\n    benefits: [\n      {\n        title: 'Localize your knowledge base',\n        description: 'Create and serve help content to customers in 38 languages.',\n        icon: 'upgrade/translate',\n      },\n      {\n        title: 'Control who sees your content',\n        description:\n          'Keep sensitive info out of sight by creating private articles for logged-in users.',\n        icon: 'upgrade/padlock',\n      },\n      {\n        title: 'Make it easy for your team to provide consistent answers',\n        description:\n          'Teammates can add private or multilingual articles (coming soon) to conversations, without leaving inbox',\n        icon: 'upgrade/feature-multiplemessages',\n      },\n    ],\n  },\n  [OPERATOR_PRO_ID]: {\n    description:\n      'Qualify more leads, book more meetings, and triage inbound conversations around the clock',\n    benefits: [\n      {\n        title: 'Unlimited Custom Bots',\n        description: 'Create one bot or many bots at no extra cost.',\n        icon: 'upgrade/feature-alwaysonscript',\n      },\n      {\n        title: 'Code-free customization',\n        description: 'Set up your perfect, on-brand bot in minutes.',\n        icon: 'upgrade/feature-codefreecreation',\n      },\n      {\n        title: 'Growth beyond human scale',\n        description: 'Give everyone an immediate response and great experience.',\n        icon: 'upgrade/feature-relationshipsatscale',\n      },\n    ],\n  },\n  [ANSWER_BOT_ESSENTIAL_ID]: {\n    description: `Instantly resolve 33% of your customers’ most common questions with Resolution Bot`,\n    benefits: [\n      {\n        title: 'Instant resolutions, 24/7',\n        description: 'Resolve customer questions even when you’re busy or offline.',\n        icon: 'upgrade/feature-responsetime',\n      },\n      {\n        title: 'Consistent & on-brand',\n        description: 'Intelligent automation that puts you in control.',\n        icon: 'upgrade/feature-multiplemessages',\n      },\n      {\n        title: 'Improved support efficiency',\n        description: 'Free up your team to focus on more valuable tasks.',\n        icon: 'upgrade/feature-agentefficiency',\n      },\n    ],\n  },\n  [PRODUCT_TOURS_ESSENTIAL_ID]: {\n    description: `Drive onboarding and adoption with guided tours`,\n    productVideo: 'nt1065g2sn',\n    hideFeatures: true,\n    benefits: [\n      {\n        title: 'Drive adoption',\n        description: 'Guide users around your product with interactive multi-step tours',\n        icon: 'product-tours-list',\n        hasIcIllustrativeIcon: true,\n      },\n      {\n        title: 'Capture attention',\n        description: 'Engage users with video pointers in your tours',\n        hasIcIllustrativeIcon: true,\n        icon: 'post',\n      },\n      {\n        title: 'Increase customer engagement',\n        description: 'Get 7x more customer engagement email.',\n        icon: 'upgrade/feature-responsetime',\n      },\n      {\n        title: 'Build tours in minutes',\n        description: 'Easily create engaging, personalized tours without code.',\n        icon: 'upgrade/tours-in-minutes',\n      },\n    ],\n  },\n  [CUSTOMER_ENGAGEMENT_BASE_ID]: {\n    description: 'Drive growth across the customer lifecycle',\n    hideFeatures: true,\n    benefits: [\n      {\n        title: 'Right message, right time',\n        description:\n          'Create dynamic messaging campaigns targeted based on behavior in your product or with prior messages',\n        hasIcIllustrativeIcon: true,\n        icon: 'series',\n      },\n      {\n        title: 'Personalize messaging',\n        description: 'Tailor messages with Clearbit Reveal & Marketo data',\n        icon: 'upgrade/personalized-messaging',\n      },\n      {\n        title: 'Measure results',\n        description: 'Optimize message performance with A/B testing and control groups',\n        icon: 'upgrade/measure-results',\n      },\n      {\n        title: 'Reach mobile users',\n        description: 'Engage mobile app users with push messages and notifications',\n        hasIcIllustrativeIcon: true,\n        icon: 'notification-mobile-push',\n      },\n    ],\n  },\n  [LEAD_GENERATION_BASE_ID]: {\n    description: 'Grow your pipeline with ABM & chatbots',\n    hideFeatures: true,\n    benefits: [\n      {\n        title: 'Target high value accounts',\n        description: 'Welcome target accounts and instantly connect them to sales',\n        icon: 'upgrade/account-based-marketing',\n      },\n      {\n        title: 'Drive action with bots and apps',\n        description: 'Wake up to meetings booked with powerful integrated apps in bots',\n        icon: 'upgrade/integrations',\n      },\n      {\n        title: 'Test your Salesforce integration',\n        description: 'Test and optimize your Salesforce configuration in Sandbox',\n        icon: 'upgrade/salesforce-sandbox',\n      },\n      {\n        title: 'Connect your stack',\n        description: 'Connect Intercom with Marketo and Clearbit Reveal',\n        icon: 'upgrade/connect-your-tools',\n      },\n    ],\n  },\n  [SUPPORT_AUTOMATION_BASE_ID]: {\n    description: 'Provide faster answers with automated support',\n    hideFeatures: true,\n    benefits: [\n      {\n        title: 'Automate answers with bots',\n        description: 'Give customers instant, precise answers to common questions',\n        hasIcIllustrativeIcon: true,\n        icon: 'operator',\n      },\n      {\n        title: 'Power actions with apps',\n        description: 'Provide faster resolutions in the Messenger with apps in bots',\n        icon: 'app-store',\n        hasIcIllustrativeIcon: true,\n      },\n      {\n        title: 'Create tailored responses',\n        description: 'Show different answers to different customers with targeting',\n        icon: 'upgrade/tailored-responses',\n      },\n      {\n        title: 'Optimize your answers',\n        description: 'See how your bot is performing and how to optimize your answers',\n        icon: 'upgrade/message-stats',\n      },\n    ],\n  },\n  [INBOX_ESSENTIAL_ID]: INBOX_ADD_INFO,\n  [INBOX_PRO_ID]: INBOX_ADD_INFO,\n  [INBOX_PREMIUM_ID]: INBOX_ADD_INFO,\n  [MESSAGES_ESSENTIAL_ID]: MESSAGES_ADD_INFO,\n  [MESSAGES_PRO_ID]: MESSAGES_PRO_ADD_INFO,\n  [MESSAGES_PREMIUM_ID]: MESSAGES_PRO_ADD_INFO,\n};\n\n// Used in the modal when upgrading a plan\nexport const MODAL_UPGRADE_PLAN_INFO = {\n  // Inbox\n  [INBOX_ESSENTIAL_ID]: {\n    description: 'Collaborate as a team on conversations with leads and customers',\n    benefits: [\n      {\n        title: 'Communicate at scale',\n        description: 'Manage and reply to sales and support conversations as a team.',\n        icon: 'upgrade/team-inbox',\n      },\n      {\n        title: 'Streamline workflows',\n        description: 'Helpful automation to respond and increase satisfaction.',\n        icon: 'upgrade/assignment-rules-2',\n      },\n      {\n        title: 'Powerful integrations',\n        description: 'Integrate with 100+ apps like Slack, HubSpot and more.',\n        icon: 'upgrade/integrations',\n      },\n    ],\n  },\n  [INBOX_PRO_ID]: {\n    description: 'Optimize and automate your Inbox workflows',\n    benefits: [\n      {\n        title: 'Automate',\n        description: 'Automate conversation assignment and workflows.',\n        icon: 'upgrade/round-robin',\n      },\n      {\n        title: 'Connect',\n        description: 'Integrate conversations from social channels.',\n        icon: 'upgrade/facebook',\n      },\n      {\n        title: 'Target',\n        description: 'Control who sees the Messenger and when.',\n        icon: 'upgrade/messenger-visibility',\n      },\n      {\n        title: 'Integrate',\n        description: 'Integrate with Salesforce, Zendesk, GitHub and more.',\n        icon: 'upgrade/clearbit-integration',\n      },\n    ],\n  },\n  [INBOX_PREMIUM_ID]: {\n    description:\n      'Build a world-class sales and support experience with Custom Bots, SLAs, workload management, advanced customization, and more',\n    benefits: [\n      {\n        title: 'Automate conversions',\n        description: 'Drive website engagement and action with custom chatbots.',\n        icon: 'upgrade/feature-reacheverylead.svg',\n      },\n      {\n        title: 'Manage high chat volume',\n        description: 'Set assignment limits and auto-route conversations based on availability.',\n        icon: 'upgrade/teams',\n      },\n      {\n        title: 'Set and monitor SLAs',\n        description: 'Monitor service-level agreements for responsiveness.',\n        icon: 'upgrade/notes',\n      },\n      {\n        title: 'Rich reporting',\n        description: 'Measure team performance and key revenue metrics.',\n        icon: 'upgrade/event-tracking',\n      },\n    ],\n  },\n  //Messages\n  [MESSAGES_ESSENTIAL_ID]: {\n    description: 'Send targeted messages to the right people at the right time',\n    benefits: [\n      {\n        title: 'Messaging at scale',\n        description: 'Nurture leads, onboard customers, announce new features and more.',\n        icon: 'upgrade/recent-conversations',\n      },\n      {\n        title: 'Multichannel',\n        description:\n          'Connect with customers and leads using in-app, email, website and push messages.',\n        icon: 'upgrade/multi-channel',\n      },\n      {\n        title: 'Powerful targeting',\n        description: 'Send highly personal messages based on behavior and custom data.',\n        icon: 'upgrade/audience-targeting',\n      },\n    ],\n  },\n  [MESSAGES_PRO_ID]: {\n    description: 'Optimize and automate your messaging campaigns to leads and customers',\n    benefits: [\n      {\n        title: 'Optimize with testing',\n        description: 'Improve your campaigns by A/B testing messaging and communication channels.',\n        icon: 'upgrade/ab-testing',\n      },\n      {\n        title: 'Orchestrate all your messages',\n        description: 'Connect your touchpoints to create seamless messaging experiences.',\n        hasIcIllustrativeIcon: true,\n        icon: 'series',\n      },\n      {\n        title: 'Tailored to your brand',\n        description: 'Customize your email templates and domain to represent your brand.',\n        icon: 'upgrade/custom-html-template',\n      },\n    ],\n  },\n  [MESSAGES_PREMIUM_ID]: {\n    description: 'Drive engagement and revenue at scale with ABM and advanced A/B testing',\n    benefits: [\n      {\n        title: 'Win more business',\n        description: 'Convert target prospects with account-based campaigns.',\n        icon: 'upgrade/total-leads',\n        pending: true,\n      },\n      {\n        title: 'Optimize performance',\n        description: 'Increase ROI on messages with advanced A/B testing.',\n        icon: 'upgrade/ab-testing',\n      },\n      {\n        title: 'Enrich and automate',\n        description: 'Integrate Salesforce sandbox, Marketo and Clearbit Reveal.',\n        icon: 'upgrade/salesforce-leads',\n      },\n      {\n        title: 'Increase data throughput',\n        description: 'Expand usage of our APIs with custom rate limits.',\n        icon: 'upgrade/conversation-volume',\n      },\n    ],\n  },\n  //Articles\n  [ARTICLES_ESSENTIAL_ID]: {\n    description: 'Start a knowledge base of articles and best practices for customer self-service',\n    productId: ARTICLES_ID,\n    name: 'Articles Essential',\n    benefits: [\n      {\n        title: '24/7 customer support',\n        description: 'Help customers help themselves by creating articles that answer FAQs.',\n        icon: 'upgrade/write-articles',\n      },\n      {\n        title: 'Automatic article suggestions',\n        description: 'Respond to customers instantly with a bot that sends relevant articles.',\n        icon: 'upgrade/smart-suggestions',\n      },\n      {\n        title: 'Integrated knowledge base',\n        description: 'Connect your knowledge base and help desk to speed up resolutions.',\n        icon: 'upgrade/smart-suggestions-educate',\n      },\n    ],\n  },\n  [ARTICLES_PRO_ID]: {\n    productId: ARTICLES_ID,\n    name: 'Articles Pro',\n    description:\n      'Help your different customers find answers quickly with multilingual & private articles',\n    benefits: [\n      {\n        title: 'Localize your knowledge base',\n        description: 'Create and serve help content to customers in 38 languages.',\n        icon: 'upgrade/translate',\n      },\n      {\n        title: 'Control who sees your content',\n        description:\n          'Keep sensitive info out of sight by creating private articles for logged-in users.',\n        icon: 'upgrade/padlock',\n      },\n      {\n        title: 'Provide consistent answers to any customer',\n        description:\n          'Teammates can instantly add articles to conversations, without leaving inbox.',\n        icon: 'upgrade/feature-multiplemessages',\n      },\n    ],\n  },\n  [OPERATOR_PRO_ID]: {\n    description:\n      'Qualify more leads, book more meetings and triage support questions around the clock',\n    benefits: {},\n    productId: OPERATOR_ID,\n    name: 'Custom Bots',\n  },\n  //Resolution Bot\n  [ANSWER_BOT_ESSENTIAL_ID]: {\n    description: `Instantly resolve 33% of your customers' most common questions with Resolution Bot`,\n    benefits: {},\n    productId: ANSWER_BOT_ID,\n    name: 'Resolution Bot',\n  },\n  //Product Tours\n  [PRODUCT_TOURS_ESSENTIAL_ID]: {\n    description: `Increase product and feature adoption by guiding customers through the steps needed to realize value faster`,\n    benefits: {},\n  },\n  [CORE_GOOD_ID]: {\n    description: 'Reach prospects and customers with targeted email',\n    benefits: [\n      {\n        title: 'Messaging at scale',\n        description: 'Nurture leads, onboard customers, announce new features and more.',\n        icon: 'upgrade/recent-conversations',\n      },\n      {\n        title: 'Multichannel',\n        description:\n          'Connect with customers and leads using in-app, email, website and push messages.',\n        icon: 'upgrade/multi-channel',\n      },\n      {\n        title: 'Powerful targeting',\n        description: 'Send highly personal messages based on behavior and custom data.',\n        icon: 'upgrade/audience-targeting',\n      },\n    ],\n  },\n  [CORE_BETTER_ID]: {\n    description: 'Scale with automated team workflows',\n  },\n  [CORE_BEST_ID]: {\n    description: 'Scale with advanced workflows and security',\n    benefits: [\n      {\n        title: 'Collaborate as a team',\n        description: 'Drive faster responses with shared team inboxes',\n        icon: 'people',\n        hasIcIllustrativeIcon: true,\n      },\n      {\n        title: 'Automate team workflows',\n        description: 'Leverage powerful assignment rules to automate workflows',\n        icon: 'rule',\n        hasIcIllustrativeIcon: true,\n      },\n      {\n        title: 'Reduce workload with bots',\n        description: 'Automate actions with customizable conversational bots',\n        icon: 'operator',\n        hasIcIllustrativeIcon: true,\n      },\n      {\n        title: 'Provide global support',\n        description: 'Support customers with a multilingual help center',\n        icon: 'collection',\n        hasIcIllustrativeIcon: true,\n      },\n    ],\n  },\n  [CORE_PREMIUM_ID]: {\n    description: 'Scale with advanced workflows and security',\n    benefits: [\n      {\n        title: 'Prioritize high-value conversations',\n        description: 'Manage conversation volume with SLAs and workload management',\n        icon: 'upgrade/prioritize-conversations',\n      },\n      {\n        title: 'Safeguard access',\n        description: 'Control Intercom access with custom role-based permissions',\n        icon: 'upgrade/safeguard-access',\n      },\n      {\n        title: 'Advanced security (coming soon)',\n        description: 'Leverage enhanced security with SSO and SAML integrations',\n        icon: 'upgrade/advanced-security',\n      },\n      {\n        title: 'Higher API limits',\n        description: 'Customize Intercom with expanded API rate limits to suit your needs',\n        icon: 'upgrade/higher-api-limits',\n      },\n    ],\n  },\n};\n\n// Used in the modal\nexport const MODAL_FEATURE_INFO = {\n  [ARTICLES_FEATURE]: {\n    description: 'Provide a self-service help center',\n    benefits: [\n      {\n        title: 'Always on help',\n        description: 'Provide 24/7 answers, even when your team is away',\n        icon: 'delivery-window',\n        hasIcIllustrativeIcon: true,\n      },\n      {\n        title: 'Deliver help in context',\n        description: 'Serve content on your site, mobile app, in-product, chat and more',\n        icon: 'notification-inapp',\n        hasIcIllustrativeIcon: true,\n      },\n      {\n        title: 'Automate suggestions',\n        description: 'Use a bot to auto-send relevant articles to customers',\n        icon: 'operator',\n        hasIcIllustrativeIcon: true,\n      },\n      {\n        title: 'Integrated with Inbox',\n        description: 'View and share articles from Inbox for faster resolutions',\n        hasIcIllustrativeIcon: true,\n        icon: 'saved-reply',\n      },\n    ],\n  },\n  ['email_messages']: {\n    description: 'Reach prospects and customers with targeted email',\n    benefits: [\n      {\n        title: 'Automate engagement',\n        description: 'Re-engage people with automated, personalized emails',\n      },\n      {\n        title: 'Trigger based on behavior',\n        description: 'Increase engagement with action-based targeting',\n      },\n    ],\n  },\n  ['post_in-app_message']: {\n    description: 'Drive user action with announcement posts',\n    benefits: [\n      {\n        title: 'Drive awareness',\n        description: 'Highlight important announcements with posts inside your product',\n      },\n      {\n        title: 'Capture attention',\n        description: 'Choose different sizes for your post depending on the announcement',\n      },\n    ],\n  },\n  ['note_in-app_message']: {\n    description: 'Drive user action with announcement posts',\n    benefits: [\n      {\n        title: 'Drive awareness',\n        description: 'Highlight important announcements with posts inside your product',\n      },\n      {\n        title: 'Capture attention',\n        description: 'Choose different sizes for your post depending on the announcement',\n      },\n    ],\n  },\n};\n\nexport const PRODUCTS = {\n  [INBOX_ID]: {\n    name: 'inbox',\n    uniqueFeatureKey: 'assignment',\n    optionClass: 'o__respond',\n    liteFeatures: ['Team inboxes', 'Operator bot', 'Reporting'],\n\n    standardFeatures: [\n      'Customer satisfaction surveys',\n      'Assignment rules',\n      'Salesforce integration',\n    ],\n    productImage: `products/id-${INBOX_ID}-brand-refresh`,\n    perProductDescription:\n      'Manage, reply, and resolve conversations with leads and customers as a team.',\n    perProductPriceMetric: 'agents',\n    toggledPerProductDescription:\n      'Manage and reply to conversations with leads and customers as a team.',\n    toggledFeatures: [\n      'Email, social, chat',\n      'Operator bot',\n      'Saved replies',\n      'Assign conversations',\n      'Office hours',\n    ],\n    toggledProFeatures: [\n      'Round robin assignment',\n      'Meeting scheduling',\n      'Reporting',\n      'Salesforce Integration',\n      'Satisfaction surveys',\n    ],\n    longDescription:\n      'Assign, reply, and close conversations across your website, in your apps, email, and social.',\n    shortDescription: 'Reply to conversations at scale',\n    videoId: 'phw4415oux',\n    route: 'apps.app.inbox',\n    modalHeaderDescription: 'Manage conversations with leads and customers at scale.',\n    modalHeaderDescriptionAction: 'responding via a team inbox',\n    key: 'inbox',\n    isInbox: true,\n  },\n  [ARTICLES_ID]: {\n    name: 'Essential',\n    marketingName: 'Help Center Articles - Essential',\n    nameWithProduct: 'Articles Essential',\n    uniqueFeatureKey: 'help_center',\n    optionClass: 'o__educate',\n    liteFeatures: [\n      'Public help center',\n      'Custom branding',\n      'Operator bot',\n      'Search analytics',\n      'Article reactions',\n      'Smart suggestions',\n    ],\n    standardFeatures: [],\n    productImage: `products/id-${ARTICLES_ID}-brand-refresh`,\n    perProductDescription: 'Create and publish help content to a public knowledge base.',\n    perProductPriceMetric: 'fixed',\n    toggledPerProductDescription: 'Create and publish help content to a public knowledge base.',\n    toggledFeatures: [\n      'Public help center',\n      'Custom branding',\n      'Content importer',\n      'Search analytics',\n      'Article suggestions',\n    ],\n    toggledProFeatures: [\n      'Public help center',\n      'Custom branding',\n      'Content importer',\n      'Search analytics',\n      'Article suggestions',\n    ],\n    longDescription: 'Help people get answers to their questions and get started with your app.',\n    shortDescription: 'Create help content',\n    videoId: '9ccju7h4i7',\n    route: 'apps.app.articles',\n    modalHeaderDescription:\n      'Start a knowledge base of articles and best practices for customer self-service.',\n    modalHeaderDescriptionAction: 'writing an article',\n    price: 49,\n    description:\n      'Publish articles to a knowledge base to provide your customers with self-service support',\n    features: [\n      'Automatically suggest articles to customers',\n      'Report on searches, views, and user feedback',\n      'Import content from existing help center',\n    ],\n    icon: 'assets/images/signup-teams/pricing_articles.png',\n    icon2x: 'assets/images/signup-teams/pricing_articles@2x.png',\n    sidebarIcon: 'assets/images/signup-teams/pricing_addon.png',\n    sidebarIcon2x: 'assets/images/signup-teams/pricing_addon@2x.png',\n    id: ARTICLES_ESSENTIAL_ID,\n    key: 'articles',\n    marketoFormField: 'Add_On_Articles__c',\n    isArticles: true,\n  },\n  [MESSAGES_ID]: {\n    name: 'messages',\n    uniqueFeatureKey: 'auto_messaging',\n    optionClass: 'o__engage',\n    liteFeatures: ['Outbound messaging', 'Lead and user targeting', 'Message scheduling'],\n    standardFeatures: ['A/B testing', 'Unbranded messaging', 'Email delivery windows'],\n    productImage: `products/id-${MESSAGES_ID}-brand-refresh`,\n    perProductDescription: 'Send targeted email, in-app and push messages to leads and customers.',\n    perProductPriceMetric: 'maps',\n    toggledPerProductDescription:\n      'Send targeted email, in-app & push messages to leads & customers.',\n    toggledFeatures: [\n      'Auto and manual messages',\n      'Audience targeting',\n      'Message scheduling',\n      'Trigger times',\n      'Message customization',\n    ],\n    toggledProFeatures: [\n      'A/B testing',\n      'Smart campaigns',\n      'Custom email templates',\n      'Email delivery windows',\n      'Custom branding',\n    ],\n    longDescription:\n      'Encourage leads and users to take action with targeted email, push, and in-app messages.',\n    shortDescription: 'Onboard and retain',\n    videoId: 'xc97dof2ca',\n    route: 'apps.app.outbound',\n    modalHeaderDescription: 'Send targeted email, in-app and push messages to leads and customers.',\n    modalHeaderDescriptionAction: 'writing a message',\n    key: 'messages',\n  },\n  [OPERATOR_ID]: {\n    name: 'operator',\n    uniqueFeatureKey: 'bot_workflows',\n    optionClass: '',\n    liteFeatures: [],\n    standardFeatures: [],\n    productImage: `products/id-${OPERATOR_ID}-brand-refresh`,\n    perProductDescription:\n      'Qualify more leads, book more meetings and triage support questions around the clock.',\n    perProductPriceMetric: 'maps',\n    toggledPerProductDescription:\n      'Qualify more leads, book more meetings and triage support questions around the clock.',\n    toggledProFeatures: [],\n    longDescription:\n      'Qualify more leads, book more meetings and triage support questions around the clock.',\n    shortDescription: '',\n    videoId: '2qqf1jla9f',\n    route: 'apps.app.operator.custom-bots.index',\n    modalHeaderDescription:\n      'Qualify more leads, book more meetings and triage support questions around the clock.',\n    modalHeaderDescriptionAction: 'writing a message',\n    key: 'operator',\n  },\n  [ANSWER_BOT_ID]: {\n    name: 'answer',\n    uniqueFeatureKey: 'answer_workflows',\n    optionClass: '',\n    liteFeatures: [],\n    standardFeatures: [],\n    productImage: `products/id-${ANSWER_BOT_ID}-brand-refresh`,\n    perProductDescription:\n      'Start instantly resolving 33% of your customers’ most common questions with Resolution Bot.',\n    perProductPriceMetric: 'maps',\n    toggledPerProductDescription:\n      'Start instantly resolving 33% of your customers’ most common questions with Resolution Bot.',\n    toggledProFeatures: [],\n    longDescription:\n      'Start instantly resolving 33% of your customers’ most common questions with Resolution Bot.',\n    shortDescription: '',\n    videoId: 'q3y3i6o67a',\n    route: 'apps.app.operator.answers.answer',\n    modalHeaderDescription:\n      'Start instantly resolving 33% of your customers’ most common questions with Resolution Bot.',\n    modalHeaderDescriptionAction: 'writing a message',\n    key: 'answer_bot',\n  },\n  [PRODUCT_TOURS_ID]: {\n    name: 'Product Tours',\n    uniqueFeatureKey: 'product_tours',\n    optionClass: '',\n    liteFeatures: [],\n    standardFeatures: [],\n    productImage: `products/id-${PRODUCT_TOURS_ID}-brand-refresh`,\n    perProductDescription:\n      'Increase product and feature adoption by guiding customers through the steps needed to realize value faster.',\n    perProductPriceMetric: 'maps',\n    toggledPerProductDescription:\n      'Introduce customers to your product with guided experiences that drive adoption.',\n    toggledProFeatures: [],\n    longDescription:\n      'Increase retention by guiding customers through the steps needed to see value faster.',\n    shortDescription: 'Accelerate onboarding',\n    videoId: 'nt1065g2sn',\n    route: 'apps.app.tours',\n    modalHeaderDescription:\n      'Increase retention by guiding customers through the steps needed to see value faster.',\n    modalHeaderDescriptionAction: '',\n    price: '119',\n    description: 'Drive adoption with interactive tours inside your product.',\n    features: ['Onboard customers faster', 'Boost new feature adoption', 'Simple and code-free'],\n    icon: 'assets/images/signup-teams/pricing_tours.svg',\n    sidebarIcon: 'assets/images/signup-teams/pricing_addon.png',\n    sidebarIcon2x: 'assets/images/signup-teams/pricing_addon@2x.png',\n    id: PRODUCT_TOURS_ESSENTIAL_ID,\n    key: 'product_tours',\n  },\n  [CORE_ID]: {\n    name: 'inbox',\n    optionClass: 'o__respond',\n    liteFeatures: ['Team inboxes', 'Operator bot', 'Reporting'],\n\n    standardFeatures: [\n      'Customer satisfaction surveys',\n      'Assignment rules',\n      'Salesforce integration',\n    ],\n    productImage: `products/id-${CORE_ID}-brand-refresh`,\n    perProductDescription:\n      'Manage, reply, and resolve conversations with leads and customers as a team.',\n    perProductPriceMetric: 'agents',\n    toggledPerProductDescription:\n      'Manage and reply to conversations with leads and customers as a team.',\n    toggledFeatures: [\n      'Email, social, chat',\n      'Operator bot',\n      'Saved replies',\n      'Assign conversations',\n      'Office hours',\n    ],\n    toggledProFeatures: [\n      'Round robin assignment',\n      'Meeting scheduling',\n      'Reporting',\n      'Salesforce Integration',\n      'Satisfaction surveys',\n    ],\n    longDescription:\n      'Assign, reply, and close conversations across your website, in your apps, email, and social.',\n    shortDescription: 'Reply to conversations at scale',\n    videoId: 'phw4415oux',\n    route: 'apps.app.inbox',\n    modalHeaderDescription: 'Manage conversations with leads and customers at scale.',\n    modalHeaderDescriptionAction: 'responding via a team inbox',\n    key: 'core',\n  },\n  [SUPPORT_AUTOMATION_ID]: {\n    name: 'answer',\n    optionClass: '',\n    liteFeatures: [],\n    standardFeatures: [],\n    productImage: `products/id-${ANSWER_BOT_ID}-brand-refresh`,\n    perProductDescription: 'Deliver instant resolutions & self-service support with bots.',\n    perProductPriceMetric: 'maps',\n    toggledPerProductDescription: 'Deliver instant resolutions & self-service support with bots.',\n    toggledProFeatures: [],\n    longDescription: 'Deliver instant resolutions & self-service support with bots.',\n    shortDescription: '',\n    videoId: 'q3y3i6o67a',\n    route: 'apps.app.operator.answers.answer',\n    modalHeaderDescription: 'Deliver instant resolutions & self-service support with bots.',\n    modalHeaderDescriptionAction: 'writing a message',\n    key: 'answer_bot',\n  },\n  [LEAD_GENERATION_ID]: {\n    name: 'inbox',\n    optionClass: 'o__respond',\n    liteFeatures: ['Team inboxes', 'Operator bot', 'Reporting'],\n\n    standardFeatures: [\n      'Customer satisfaction surveys',\n      'Assignment rules',\n      'Salesforce integration',\n    ],\n    productImage: `products/id-${INBOX_ID}-brand-refresh`,\n    perProductDescription:\n      'Manage, reply, and resolve conversations with leads and customers as a team.',\n    perProductPriceMetric: 'agents',\n    toggledPerProductDescription:\n      'Qualify leads and book meetings with targeted chat and sales bots.',\n    toggledFeatures: [\n      'Email, social, chat',\n      'Operator bot',\n      'Saved replies',\n      'Assign conversations',\n      'Office hours',\n    ],\n    toggledProFeatures: [\n      'Round robin assignment',\n      'Meeting scheduling',\n      'Reporting',\n      'Salesforce Integration',\n      'Satisfaction surveys',\n    ],\n    longDescription:\n      'Assign, reply, and close conversations across your website, in your apps, email, and social.',\n    shortDescription: 'Reply to conversations at scale',\n    videoId: 'phw4415oux',\n    route: 'apps.app.inbox',\n    modalHeaderDescription: 'Manage conversations with leads and customers at scale.',\n    modalHeaderDescriptionAction: 'responding via a team inbox',\n    key: 'inbox',\n  },\n  [CUSTOMER_ENGAGEMENT_ID]: {\n    name: 'messages',\n    optionClass: 'o__engage',\n    liteFeatures: ['Outbound messaging', 'Lead and user targeting', 'Message scheduling'],\n    standardFeatures: ['A/B testing', 'Unbranded messaging', 'Email delivery windows'],\n    productImage: `products/id-${MESSAGES_ID}-brand-refresh`,\n    perProductDescription: 'Send targeted email, in-app and push messages to leads and customers.',\n    perProductPriceMetric: 'maps',\n    toggledPerProductDescription:\n      'Activate, upsell, & retain customers with multichannel campaigns.',\n    toggledFeatures: [\n      'Auto and manual messages',\n      'Audience targeting',\n      'Message scheduling',\n      'Trigger times',\n      'Message customization',\n    ],\n    toggledProFeatures: [\n      'A/B testing',\n      'Smart campaigns',\n      'Custom email templates',\n      'Email delivery windows',\n      'Custom branding',\n    ],\n    longDescription:\n      'Encourage leads and users to take action with targeted email, push, and in-app messages.',\n    shortDescription: 'Onboard and retain',\n    videoId: 'xc97dof2ca',\n    route: 'apps.app.outbound',\n    modalHeaderDescription: 'Send targeted email, in-app and push messages to leads and customers.',\n    modalHeaderDescriptionAction: 'writing a message',\n    key: 'messages',\n  },\n};\n\nexport function productsWithPricesForSolution(prices, solutionId, isPro) {\n  let solutionPlanIds = plansFromSolution(isPro, solutionId).map(planId => parseInt(planId, 10));\n  let includePrice = prices && solutionId !== EARLY_STAGE_SOLUTION_ID;\n\n  return solutionPlanIds.map(planId => getProductInfo(planId, prices, includePrice));\n}\n\nexport function getProductInfo(planId, prices, includePrice) {\n  return {\n    ...PLAN_DATA[planId],\n    price: includePrice && prices.find(price => price.hasSamePlans([planId]))?.formattedAmount,\n  };\n}\n\nexport const productNameFromSolutionId = function(solutionId, isPro) {\n  let solution = findSolution(solutionId);\n  if (EARLY_STAGE_SOLUTION_IDS.includes(solutionId)) {\n    return solution.name;\n  }\n\n  let suffix = isPro ? solution.proTier : solution.essentialTier;\n\n  if (!suffix) {\n    return isPro ? solution.proName : solution.name;\n  }\n  return `${solution.name} – ${suffix}`;\n};\n","import { tracked } from '@glimmer/tracking';\n\nexport default class AddressParams {\n  @tracked streetAddress;\n  @tracked city;\n  @tracked postcode;\n  @tracked countryCode;\n  @tracked stateCode;\n  @tracked vatNumber;\n}\n","export default function(store, block) {\n  if (store.isDestroying) {\n    return;\n  }\n  let modelClass = `common/blocks/${block.type}`;\n  let normalizedBlock = store.normalize(modelClass, block).data.attributes;\n  return store.createFragment(modelClass, normalizedBlock);\n}\n","import { get } from '@ember/object';\nexport default function(jsonBlocks) {\n  let previewBlock = { type: 'paragraph', text: '' };\n  for (let i = 0; i < jsonBlocks.length; ++i) {\n    let block = jsonBlocks[i];\n    let blockText = get(block, 'text');\n    if (blockText) {\n      previewBlock.text += ` ${blockText.replace(/<br>/, ' ')}`;\n    }\n    if (previewBlock.text.length > 250) {\n      break;\n    }\n  }\n  if (previewBlock.text.length > 250) {\n    previewBlock.text = `${previewBlock.text.slice(0, 250)} …`;\n  }\n  previewBlock.text = previewBlock.text.replace(/^(&nbsp;)*/, '').trim();\n  return [previewBlock];\n}\n","export default {\n  af: 'Afrikaans',\n  sq: 'Albanian',\n  ar: 'Arabic',\n  hy: 'Armenian',\n  eu: 'Basque',\n  bn: 'Bengali',\n  bs: 'Bosnian',\n  bg: 'Bulgarian',\n  ca: 'Catalan',\n  km: 'Central Khmer',\n  zh: 'Chinese',\n  'zh-CN': 'Chinese (Simplified)',\n  'zh-TW': 'Chinese (Traditional)',\n  hr: 'Croatian',\n  cs: 'Czech',\n  da: 'Danish',\n  nl: 'Dutch',\n  en: 'English',\n  et: 'Estonian',\n  fj: 'Fijian',\n  fi: 'Finnish',\n  fr: 'French',\n  ka: 'Georgian',\n  de: 'German',\n  el: 'Greek (Modern)',\n  gu: 'Gujarati',\n  he: 'Hebrew',\n  hi: 'Hindi',\n  hu: 'Hungarian',\n  is: 'Icelandic',\n  id: 'Indonesian',\n  ga: 'Irish',\n  it: 'Italian',\n  ja: 'Japanese',\n  ko: 'Korean',\n  la: 'Latin',\n  lv: 'Latvian',\n  lt: 'Lithuanian',\n  mk: 'Macedonian',\n  ms: 'Malay',\n  ml: 'Malayalam',\n  mt: 'Maltese',\n  mi: 'Maori',\n  mr: 'Marathi',\n  mn: 'Mongolian',\n  ne: 'Nepali',\n  no: 'Norwegian',\n  nb: 'Norwegian Bokmål',\n  pa: 'Panjabi',\n  fa: 'Persian',\n  pl: 'Polish',\n  pt: 'Portuguese',\n  'pt-BR': 'Portuguese (Brazilian)',\n  qu: 'Quechua',\n  ro: 'Romanian',\n  ru: 'Russian',\n  sm: 'Samoan',\n  sr: 'Serbian',\n  sk: 'Slovak',\n  sl: 'Slovenian',\n  es: 'Spanish',\n  sw: 'Swahili',\n  sv: 'Swedish',\n  ta: 'Tamil',\n  tt: 'Tatar',\n  te: 'Telugu',\n  th: 'Thai',\n  bo: 'Tibetan',\n  to: 'Tonga (Tonga Islands)',\n  tr: 'Turkish',\n  uk: 'Ukrainian',\n  ur: 'Urdu',\n  uz: 'Uzbek',\n  vi: 'Vietnamese',\n  cy: 'Welsh',\n  xh: 'Xhosa',\n};\n","let browserPlatform = {\n  isMac: false,\n  isWindows: false,\n  isLinux: false,\n  name: 'unknown',\n};\n\nfunction init() {\n  let platform = navigator.platform;\n  if (platform.includes('Mac')) {\n    browserPlatform.isMac = true;\n    browserPlatform.name = 'mac';\n  } else if (platform.includes('Linux')) {\n    browserPlatform.isLinux = true;\n    browserPlatform.name = 'linux';\n  } else if (platform.includes('Win')) {\n    browserPlatform.isWindows = true;\n    browserPlatform.name = 'windows';\n  }\n  Object.freeze(browserPlatform);\n}\n\ninit();\n\nexport default browserPlatform;\n","export default function animateAddScreen(timelineMode) {\n  try {\n    setTimeout(() => {\n      if (timelineMode) {\n        animateThumbnailControls();\n        animateTimeline();\n      } else {\n        animateThumbnailControls();\n      }\n    });\n  } catch (e) {\n    console.error('Failed to animate add screen');\n  }\n}\n\nfunction animateThumbnailControls() {\n  animateComponent(\n    '.carousel__animation__thumbnail-new-screen',\n    '.carousel__animation__thumbnail-control',\n  );\n}\n\nfunction animateTimeline() {\n  animateComponent(\n    '.carousel__animation__add-new-screen',\n    '.carousel__animation__screen',\n    scrollComponentToView,\n  );\n}\n\nfunction animateComponent(addScreenClass, allScreensClass, callback) {\n  let addScreenComponent = document.querySelector(addScreenClass);\n  let allScreens = document.querySelectorAll(allScreensClass);\n  let lastScreen = allScreens[allScreens.length - 1];\n  lastScreen.classList.add('o__animate');\n  addScreenComponent.classList.add('o__animate');\n  addScreenComponent.addEventListener('animationend', () => {\n    addScreenComponent.classList.remove('o__animate');\n    lastScreen.classList.remove('o__animate');\n    if (callback) {\n      callback();\n    }\n  });\n}\n\nfunction scrollComponentToView() {\n  let addScreenComponent = document.querySelector('.carousel__animation__add-new-screen');\n  addScreenComponent.scrollIntoViewIfNeeded();\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-private-routing-service */\nimport { getOwner } from '@ember/application';\nimport openCenteredWindow from 'embercom/lib/open-centered-window';\n\nexport function openCDAToolMainWindow(context, platform) {\n  let router = getOwner(context).lookup('router:main');\n  let url = `${router.generate('apps.app.cda-onboarding.index')}`;\n  if (platform) {\n    url += `?platform=${platform}`;\n  }\n\n  let window = openCenteredWindow(url, 800, 1280, 'Create Custom Attributes');\n  window.focus();\n}\n\nexport function openCDAToolGeneratedCodeWindow(context) {\n  let router = getOwner(context).lookup('router:main');\n  let url = router.generate('apps.app.cda-onboarding.generate');\n  let window = openCenteredWindow(\n    `${url}?showHeader=false`,\n    800,\n    1280,\n    'View Custom Attributes Code',\n  );\n  window.focus();\n}\n","import commaSeparatedList from 'embercom/lib/comma-separated-list';\n\nexport default {\n  getInvalidNames(cdas) {\n    let erroredCdas = cdas\n      .filter(cda => {\n        return cda.name.match(/[~`!@#%^&*'{}|\\\\'\".$]+/);\n      })\n      .map(cda => cda.name);\n\n    return erroredCdas;\n  },\n\n  getDuplicateNames(cdas) {\n    let cdaSet = new Set();\n\n    let erroredCdas = cdas.reduce((erroredCdas, cda) => {\n      if (cdaSet.size === cdaSet.add(cda.name).size) {\n        erroredCdas.push(cda.name);\n      }\n      return erroredCdas;\n    }, []);\n\n    return Array.from(new Set(erroredCdas));\n  },\n\n  getInvalidErrorMessage(erroredCdas) {\n    let numCdas = erroredCdas.length;\n\n    let errorMessageStart =\n      'Attribute names may only contain the alpha number characters (a-z, 0-9), dashes (-), and underscores (_).';\n    let errorMessageNames = '';\n\n    if (numCdas > 1) {\n      errorMessageNames = `Please update the attributes ${commaSeparatedList(\n        erroredCdas,\n      )} to meet these criteria.`;\n    } else {\n      errorMessageNames = `Please update the attribute ${commaSeparatedList(\n        erroredCdas,\n      )} to meet these criteria.`;\n    }\n\n    return `${errorMessageStart} ${errorMessageNames}`;\n  },\n\n  getDuplicateErrorMessage(erroredCdas) {\n    let numCdas = erroredCdas.length;\n\n    let errorMessageStart = '';\n    let errorMessageNames = '';\n    let errorMessageEnd = '';\n\n    if (numCdas > 1) {\n      errorMessageStart = 'The attribute names';\n      errorMessageNames = `${commaSeparatedList(erroredCdas)} may only be used once.`;\n      errorMessageEnd = 'Please modify the duplicate attribute names to save the attributes.';\n    } else {\n      errorMessageStart = 'The attribute name';\n      errorMessageNames = `${commaSeparatedList(erroredCdas)} may only be used once.`;\n      errorMessageEnd = 'Please modify the duplicate attribute name to save the attributes.';\n    }\n\n    return `${errorMessageStart} ${errorMessageNames} ${errorMessageEnd}`;\n  },\n\n  getAlreadyExistsErrorMessage(erroredCdas) {\n    let numCdas = erroredCdas.length;\n\n    let errorMessageStart = '';\n    let errorMessageNames = '';\n    let errorMessageEnd = '';\n\n    if (numCdas > 1) {\n      errorMessageStart = 'The attribute names';\n      errorMessageNames = `${commaSeparatedList(erroredCdas)} are already in use.`;\n      errorMessageEnd = 'Please modify the names to save a new attribute.';\n    } else {\n      errorMessageStart = 'The attribute name';\n      errorMessageNames = `${commaSeparatedList(erroredCdas)} is already in use.`;\n      errorMessageEnd = 'Please modify the name to save a new attribute.';\n    }\n\n    return `${errorMessageStart} ${errorMessageNames} ${errorMessageEnd}`;\n  },\n};\n","let AppColor = function() {\n  /*\n  HSL, HSV, HEX and RGB conversions\n  Adapted from: http://mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript\n  GitHub: https://github.com/mjackson/mjijackson.github.com/blob/master/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript.txt\n  */\n\n  this.HEX_to_HSL = function(hex) {\n    if (hex !== undefined) {\n      hex = hex.toUpperCase();\n      let s;\n      let h;\n      let r = parseInt(hex.substr(1, 2), 16) / 255;\n      let g = parseInt(hex.substr(3, 2), 16) / 255;\n      let b = parseInt(hex.substr(5, 2), 16) / 255;\n      let max = Math.max(r, g, b);\n      let min = Math.min(r, g, b);\n      let l = (max + min) / 2;\n\n      if (max === min) {\n        h = s = 0; // achromatic\n      } else {\n        let d = max - min;\n        s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n        switch (max) {\n          case r:\n            h = (g - b) / d + (g < b ? 6 : 0);\n            break;\n          case g:\n            h = (b - r) / d + 2;\n            break;\n          case b:\n            h = (r - g) / d + 4;\n            break;\n        }\n        h /= 6;\n      }\n\n      return [h, s, l];\n    } else {\n      return [0, 0, 0];\n    }\n  };\n\n  this.HSL_to_HEX = function(h, s, l) {\n    let r;\n    let g;\n    let b;\n\n    // Give HSL attributes a max and min\n    // as there's a decent chance we'll\n    // be sending invalid values here.\n    h = Math.min(h, 360);\n    s = Math.min(s, 1);\n    l = Math.min(l, 1);\n    if (h === 360) {\n      h = 0;\n    }\n    h = Math.max(h, 0);\n    s = Math.max(s, 0);\n    l = Math.max(l, 0);\n\n    if (s === 0) {\n      r = g = b = l; // achromatic\n    } else {\n      let q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n      let p = 2 * l - q;\n      r = this.hue2rgb(p, q, h + 1 / 3);\n      g = this.hue2rgb(p, q, h);\n      b = this.hue2rgb(p, q, h - 1 / 3);\n    }\n\n    return this.RGB_TO_HEX(r, g, b);\n  };\n\n  this.hue2rgb = function(p, q, t) {\n    if (t < 0) {\n      t += 1;\n    }\n    if (t > 1) {\n      t -= 1;\n    }\n    if (t < 1 / 6) {\n      return p + (q - p) * 6 * t;\n    }\n    if (t < 1 / 2) {\n      return q;\n    }\n    if (t < 2 / 3) {\n      return p + (q - p) * (2 / 3 - t) * 6;\n    }\n    return p;\n  };\n\n  this.HEX_TO_HSV = function(hexVal) {\n    let h;\n    let s;\n    let r = parseInt(hexVal.substr(1, 2), 16) / 255;\n    let g = parseInt(hexVal.substr(3, 2), 16) / 255;\n    let b = parseInt(hexVal.substr(5, 2), 16) / 255;\n\n    let max = Math.max(r, g, b);\n    let min = Math.min(r, g, b);\n    let v = max;\n\n    let d = max - min;\n    s = max === 0 ? 0 : d / max;\n\n    if (max === min) {\n      h = 0; // achromatic\n    } else {\n      switch (max) {\n        case r:\n          h = (g - b) / d + (g < b ? 6 : 0);\n          break;\n        case g:\n          h = (b - r) / d + 2;\n          break;\n        case b:\n          h = (r - g) / d + 4;\n          break;\n      }\n      h /= 6;\n    }\n\n    return [h, s, v];\n  };\n\n  this.HSV_TO_HEX = function(h, s, v) {\n    let r;\n    let g;\n    let b;\n\n    let i = Math.floor(h * 6);\n    let f = h * 6 - i;\n    let p = v * (1 - s);\n    let q = v * (1 - f * s);\n    let t = v * (1 - (1 - f) * s);\n\n    switch (i % 6) {\n      case 0:\n        r = v;\n        g = t;\n        b = p;\n        break;\n      case 1:\n        r = q;\n        g = v;\n        b = p;\n        break;\n      case 2:\n        r = p;\n        g = v;\n        b = t;\n        break;\n      case 3:\n        r = p;\n        g = q;\n        b = v;\n        break;\n      case 4:\n        r = t;\n        g = p;\n        b = v;\n        break;\n      case 5:\n        r = v;\n        g = p;\n        b = q;\n        break;\n    }\n\n    return this.RGB_TO_HEX(r, g, b);\n  };\n\n  //RGB values in the range [0...255]\n  this.RGB_TO_HEX = function(r, g, b) {\n    let rh = this.zero_pad_string(Math.round(r * 255).toString(16), 2);\n    let gh = this.zero_pad_string(Math.round(g * 255).toString(16), 2);\n    let bh = this.zero_pad_string(Math.round(b * 255).toString(16), 2);\n\n    return `#${rh}${gh}${bh}`;\n  };\n\n  this.zero_pad_string = function(str, length) {\n    while (str.length < length) {\n      str = `0${str}`;\n    }\n    return str;\n  };\n\n  this.darken_android_color = hexVal => {\n    let hsv = this.HEX_TO_HSV(hexVal);\n    hsv[2] *= 0.8;\n    return this.HSV_TO_HEX(hsv[0], hsv[1], hsv[2]);\n  };\n\n  this.clamp01 = val => {\n    return window.Math.min(1, window.Math.max(0, val));\n  };\n\n  this.darken = (hex_color, amount) => {\n    let hsl = this.HEX_to_HSL(hex_color);\n    hsl[2] -= amount / 100;\n    hsl[2] = this.clamp01(hsl[2]);\n    return this.HSL_to_HEX(hsl[0], hsl[1], hsl[2]);\n  };\n\n  this.generate_message_box_colors = function(base_color) {\n    if (!base_color) {\n      return {};\n    }\n    let highlight_color;\n    let darker_color;\n    let hover_color;\n    let hover_highlight_color;\n    let darker_android_color;\n\n    let hsl = this.HEX_to_HSL(base_color);\n    let h = hsl[0];\n    let s = hsl[1];\n    let l = hsl[2];\n\n    let magnitude = 1 - Math.abs((l - 0.5) / 0.5);\n\n    highlight_color = this.HSL_to_HEX(h, s - 0.08511 * magnitude, l + 0.1383 * magnitude);\n    darker_color = this.darken(base_color, 21.5);\n    hover_color = this.darken(base_color, 15.5);\n    hover_highlight_color = this.HSL_to_HEX(h, s + 0.04255 * magnitude, l + 0.24468 * magnitude);\n    darker_android_color = this.darken_android_color(base_color);\n\n    return {\n      base: base_color,\n      highlight: highlight_color,\n      darker: darker_color,\n      darker_android: darker_android_color,\n      hover: hover_color,\n      hover_highlight: hover_highlight_color,\n    };\n  };\n};\n\nexport default AppColor;\n","export default function(list, oxford = true, quoted = true) {\n  let formattedList = list.reduce((formattedList, item, index, list) => {\n    if (list.length > 1 && index === list.length - 1) {\n      return formattedList.concat(quoted ? `and \"${item}\"` : `and ${item}`);\n    } else {\n      let formattedItem = '';\n      if (list.length === 1) {\n        formattedItem = quoted ? `\"${item}\"` : `${item}`;\n      } else if (list.length === 2 || (!oxford && index === list.length - 2)) {\n        formattedItem = quoted ? `\"${item}\" ` : `${item} `;\n      } else {\n        formattedItem = quoted ? `\"${item}\", ` : `${item}, `;\n      }\n      return formattedList.concat(formattedItem);\n    }\n  }, []);\n\n  return formattedList.join('');\n}\n","import { readOnly } from '@ember/object/computed';\nimport DefaultPredicateManager from 'embercom/lib/common/predicates/default-predicate-manager';\n\nexport default DefaultPredicateManager.extend({\n  isValid: readOnly('predicate.hasAttributeComparisonAndType'),\n\n  getDefaultValue() {\n    return null;\n  },\n\n  getDefaultComparison() {\n    return 'known';\n  },\n\n  getUserType() {\n    if (this.get('predicate.comparison') === 'false') {\n      return 'user';\n    } else if (this.get('predicate.comparison') === 'true') {\n      return 'lead';\n    } else {\n      throw new Error('not a valid user type');\n    }\n  },\n});\n","import { reads } from '@ember/object/computed';\nimport DefaultPredicateManager from 'embercom/lib/common/predicates/default-predicate-manager';\n\nexport default DefaultPredicateManager.extend({\n  isValid: reads('predicate.hasAttributeComparisonAndType'),\n  defaultComparison: 'true',\n\n  getDefaultValue() {\n    return null;\n  },\n});\n","import { isNone, isPresent } from '@ember/utils';\nimport DefaultPredicateManager from 'embercom/lib/common/predicates/default-predicate-manager';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\n\nexport default DefaultPredicateManager.extend({\n  defaultComparison: 'in',\n\n  _throwUnlessContextValid(context) {\n    if (isNone(context.campaignId) || isNone(context.messageId)) {\n      throw new Error(`Cannot work with a campaign behavior predicate without the campaign and\n      the message associated with the predicate being specified in the given context`);\n    }\n  },\n\n  initializeDefaultValue(context = {}) {\n    this.set('predicate.value', this.getDefaultValue(context));\n  },\n\n  _getStore(context) {\n    return context.store || getEmberDataStore(); // context.store visible for testing\n  },\n\n  _getCampaign(context) {\n    let campaign = this._getStore(context).peekRecord('campaign', context.campaignId);\n    if (isNone(campaign)) {\n      throw new Error(`No local record exists for the campaign id: [${context.campaignId}]`);\n    }\n    return campaign;\n  },\n\n  _getMessage(context) {\n    let message = this._getStore(context).peekRecord('message', context.messageId);\n    if (isNone(message)) {\n      throw new Error(`No local record exists for the message id: [${context.messageId}]`);\n    }\n    return message;\n  },\n\n  getDefaultValue(context) {\n    this._throwUnlessContextValid(context);\n    let campaign = this._getCampaign(context);\n    let message = this._getMessage(context);\n    if (campaign.get('hasNoMessages') || campaign.get('hasSingleMessage')) {\n      throw new Error(`Cannot set a default value on a campaign behavior predicate without\n        multiple messages existing in the campaign`);\n    } else {\n      let firstAlternateMessage = campaign\n        .get('messages')\n        .rejectBy('campaignMessageGroupId', message.get('campaignMessageGroupId'))\n        .get('firstObject');\n      return firstAlternateMessage.get('campaignMessageGroupId');\n    }\n  },\n\n  _getMessageNameForPredicateValue(context) {\n    this._throwUnlessContextValid(context);\n    let campaign = this._getStore(context).peekRecord('campaign', context.campaignId);\n    if (campaign) {\n      return campaign\n        .get('messages')\n        .findBy('campaignMessageGroupId', this.get('predicate.value'))\n        .get('title');\n    } else {\n      return '';\n    }\n  },\n\n  getDescription(context) {\n    let valueDescription = null;\n    if (isPresent(context.campaignId)) {\n      valueDescription = this._getMessageNameForPredicateValue(context);\n    } else {\n      valueDescription = this.get('predicate.valueDescription') || '';\n    }\n    return {\n      text: `${this._descriptionPrefix()} ${valueDescription}`,\n      icon: this.get('predicate.info.icon'),\n    };\n  },\n\n  _descriptionPrefix() {\n    if (this.get('predicate.comparison') === 'nin') {\n      return `Hasn't ${this.get('predicate.info.shortName').toLowerCase()}`;\n    } else {\n      return this.get('predicate.info.shortName');\n    }\n  },\n});\n","import { isNone } from '@ember/utils';\nimport { readOnly } from '@ember/object/computed';\nimport DefaultPredicateManager from 'embercom/lib/common/predicates/default-predicate-manager';\n\nexport default DefaultPredicateManager.extend({\n  isValid: readOnly('predicate.hasAttributeValueAndType'),\n\n  initializeDefaultValue(context = {}) {\n    this.setProperties({\n      'predicate.value': this.getDefaultValue(context),\n      'predicate.comparison': 'true',\n    });\n  },\n\n  getDefaultValue(context) {\n    if (isNone(context.campaignId)) {\n      throw new Error(\n        `Cannot set a default value on a campaign goal predicate without the campaignId in the given context`,\n      );\n    } else {\n      return parseInt(context.campaignId, 10);\n    }\n  },\n});\n","import DefaultPredicateManager from 'embercom/lib/common/predicates/default-predicate-manager';\n\nexport default DefaultPredicateManager.extend({\n  defaultComparison: 'in',\n  isValid: true,\n});\n","import DatePredicateManager from 'embercom/lib/common/predicates/date-predicate-manager';\nimport TagPredicateManager from 'embercom/lib/common/predicates/tag-predicate-manager';\nimport NumericTagPredicateManager from 'embercom/lib/common/predicates/numeric-tag-predicate-manager';\nimport OptionalTagPredicateManager from 'embercom/lib/common/predicates/optional-tag-predicate-manager';\nimport BooleanPredicateManager from 'embercom/lib/common/predicates/boolean-predicate-manager';\nimport AnonymousPredicateManager from 'embercom/lib/common/predicates/anonymous-predicate-manager';\nimport RolePredicateManager from 'embercom/lib/common/predicates/role-predicate-manager';\nimport LogicalPredicateManager from 'embercom/lib/common/predicates/logical-predicate-manager';\nimport NumericPredicateManager from 'embercom/lib/common/predicates/numeric-predicate-manager';\nimport StringPredicateManager from 'embercom/lib/common/predicates/string-predicate-manager';\nimport CampaignBehaviorPredicateManager from 'embercom/lib/common/predicates/campaign-behavior-predicate-manager';\nimport ContentEventPredicateManager from 'embercom/lib/common/predicates/content-event-predicate-manager';\nimport CampaignGoalPredicateManager from 'embercom/lib/common/predicates/campaign-goal-predicate-manager';\nimport UrlVisitPredicateManager from 'embercom/lib/common/predicates/url-visit-predicate-manager';\nimport OverMessagingProtectionManager from 'embercom/lib/common/predicates/over-messaging-protection-predicate-manager';\nimport EmailDisengagementManager from 'embercom/lib/common/predicates/email-disengagement-manager';\n\nexport const DataManagers = {\n  tag: TagPredicateManager,\n  numericTag: NumericTagPredicateManager,\n  optionalTag: OptionalTagPredicateManager,\n  select: OptionalTagPredicateManager,\n  string: StringPredicateManager,\n  numeric: NumericPredicateManager,\n  date: DatePredicateManager,\n  boolean: BooleanPredicateManager,\n  anonymous: AnonymousPredicateManager,\n  role: RolePredicateManager,\n  logical: LogicalPredicateManager,\n  campaignBehavior: CampaignBehaviorPredicateManager,\n  contentEvent: ContentEventPredicateManager,\n  campaignGoal: CampaignGoalPredicateManager,\n  overMessagingProtection: OverMessagingProtectionManager,\n  urlVisit: UrlVisitPredicateManager,\n  emailDisengagement: EmailDisengagementManager,\n};\n","import { ternary, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport DefaultPredicateManager from 'embercom/lib/common/predicates/default-predicate-manager';\n\nexport default DefaultPredicateManager.extend({\n  isValid: ternaryToProperty(\n    'predicate.isKnownOrUnknownComparison',\n    'isValidForNoValue',\n    'isValidForValue',\n  ),\n  goalComparison: ternary('predicate.isUserEventPredicate', 'triggered', 'known'),\n\n  changeComparison(comparison) {\n    this.setProperties({\n      'predicate.comparison': comparison.replace(/:(relative|absolute)/, ''),\n      'predicate.value': this._intializeValueForComparison(comparison),\n    });\n  },\n  initializeDefaultValue() {\n    if (this.get('predicate.isKnownOrUnknownComparison')) {\n      this.set('predicate.value', null);\n    } else if (this.get('predicate.hasNoValue')) {\n      this.set('predicate.value', '');\n    }\n  },\n  _makeCurrentDateForAbsoluteComparison() {\n    let date = new Date();\n    return {\n      day: date.getDate(),\n      month: date.getMonth() + 1,\n      year: date.getFullYear(),\n    };\n  },\n\n  _intializeValueForComparison(comparison) {\n    if (comparison === 'known' || comparison === 'unknown') {\n      return null;\n    } else if (\n      comparison.endsWith('absolute') &&\n      (this.get('predicate.valueIsString') || this.get('predicate.valueIsNull'))\n    ) {\n      return this._makeCurrentDateForAbsoluteComparison();\n    } else if (\n      comparison.endsWith('relative') &&\n      (this.get('predicate.valueIsObject') || this.get('predicate.valueIsNull'))\n    ) {\n      return '';\n    } else {\n      return this.get('predicate.value');\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { and } from '@ember/object/computed';\nimport EmberObject from '@ember/object';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport FiltersToText from 'embercom/lib/filters-to-text';\nimport PredicateFilterMap from 'embercom/models/data/predicate-filter-map';\nimport GoalsPredicateFilterMap from 'embercom/models/data/goals-predicate-filter-map';\n\nconst NULL_VALUE_COMPARISONS = ['known', 'unknown', 'increase', 'decrease', 'triggered'];\n\nexport default EmberObject.extend({\n  isValid: ternaryToProperty(\n    'predicate.isNotValueBasedComparison',\n    'isValidForNoValue',\n    'isValidForValue',\n  ),\n  isValidForValue: and('predicate.hasAttributeComparisonAndType', 'predicate.hasValue'),\n  isValidForNoValue: and('predicate.hasAttributeComparisonAndType', 'predicate.hasNoValue'),\n  defaultComparison: 'eq',\n  goalComparison: '',\n\n  initializeDefaultValue() {\n    if (this.get('predicate.hasNoValue')) {\n      this.set('predicate.value', this.getDefaultValue());\n    }\n  },\n\n  changeComparison(comparison) {\n    this.setProperties({\n      'predicate.comparison': comparison,\n      'predicate.value': this._intializeValueForComparison(comparison),\n    });\n  },\n\n  changeValue(value) {\n    this.set('predicate.value', value);\n  },\n\n  getDefaultValue() {\n    return '';\n  },\n\n  getDefaultComparison(context) {\n    if (context && context.isGoalPredicate && this.goalComparison) {\n      return this.goalComparison;\n    } else {\n      return this.defaultComparison;\n    }\n  },\n\n  getDescription() {\n    return this._getDescription(PredicateFilterMap, false);\n  },\n\n  getGoalDescription() {\n    return this._getDescription(GoalsPredicateFilterMap, true);\n  },\n\n  _getDescription(customFilterMap, showNoEventPrefix) {\n    let descriptionPrefix = this.get('predicate.info')\n      ? this.get('predicate.info.name')\n      : this.get('predicate.attributeIdentifier');\n    return {\n      text: `${descriptionPrefix} ${FiltersToText.getPredicateDescription(\n        this.predicate,\n        customFilterMap,\n        showNoEventPrefix,\n      )}`,\n      icon: this.get('predicate.info.icon'),\n    };\n  },\n\n  _intializeValueForComparison(comparison) {\n    if (NULL_VALUE_COMPARISONS.includes(comparison)) {\n      return null;\n    } else if (this.get('predicate.hasNoValue')) {\n      return '';\n    } else {\n      return this.get('predicate.value');\n    }\n  },\n\n  getUserType() {\n    throw new Error(`getUserType is not a valid function for this predicate manager`);\n  },\n});\n","import DefaultPredicateManager from 'embercom/lib/common/predicates/default-predicate-manager';\n\nexport default DefaultPredicateManager;\n","import DefaultPredicateManager from 'embercom/lib/common/predicates/default-predicate-manager';\nimport { isEvery } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default DefaultPredicateManager.extend({\n  isValid: isEvery('predicate.predicates', 'isValid'),\n\n  initializeDefaultValue() {\n    throw new Error('Cannot set a default value on a logical predicate');\n  },\n  changeComparison() {\n    throw new Error('Cannot change the comparison on a logical predicate');\n  },\n  changeValue() {\n    throw new Error('Cannot change value on a logical predicate');\n  },\n  getDefaultValue() {\n    throw new Error('Cannot get a default value for a logical predicate');\n  },\n  getDescription() {\n    let joinWord = this.get('predicate.isOrPredicate') ? 'or' : 'and';\n    return {\n      joinDescription: this._joinDescription(),\n      joinType: joinWord,\n      predicates: this.get('predicate.predicates').map(predicate => predicate.get('description')),\n    };\n  },\n  _joinDescription() {\n    switch (this.get('predicate.type')) {\n      case 'or':\n        return 'matches any of';\n      case 'and':\n        return 'matches all of';\n      case 'not':\n        return 'except when matching';\n    }\n  },\n});\n","import DefaultPredicateManager from 'embercom/lib/common/predicates/default-predicate-manager';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default DefaultPredicateManager.extend({\n  goalComparison: ternary('predicate.isUserEventPredicate', 'triggered', 'increase'),\n  initializeDefaultValue() {\n    this.set('predicate.value', this.getDefaultValue());\n  },\n\n  getDefaultValue() {\n    if (this.get('predicate.hasNoValue') && this.get('predicate.isValueBasedComparison')) {\n      return '';\n    } else {\n      return null;\n    }\n  },\n});\n","import TagPredicateManager from 'embercom/lib/common/predicates/tag-predicate-manager';\n\nexport default TagPredicateManager.extend({\n  defaultComparison: 'eq',\n  goalComparison: 'eq',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/use-brace-expansion */\nimport { computed } from '@ember/object';\nimport DefaultPredicateManager from 'embercom/lib/common/predicates/default-predicate-manager';\n\nexport default DefaultPredicateManager.extend({\n  isValid: computed(\n    'predicate.hasAttributeComparisonAndType',\n    'predicate.isKnownOrUnknownComparison',\n    'predicate.hasNoValue',\n    'predicate.hasValue',\n    'value',\n    function() {\n      let validForNoValue =\n        this.get('predicate.isKnownOrUnknownComparison') && this.get('predicate.hasNoValue');\n      let validForValue =\n        !this.get('predicate.isKnownOrUnknownComparison') && this.get('predicate.hasValue');\n      return (\n        this.get('predicate.hasAttributeComparisonAndType') && (validForValue || validForNoValue)\n      );\n    },\n  ),\n\n  initializeDefaultValue() {\n    if (this.get('predicate.hasNoValue') && !this.get('predicate.isKnownOrUnknownComparison')) {\n      this.set('predicate.value', this.getDefaultValue());\n    }\n  },\n\n  getDefaultValue() {\n    return this.get('predicate.optionsForType.firstObject.value');\n  },\n\n  changeComparison(comparison) {\n    if (this._shouldClearPredicateValueForComparison(comparison)) {\n      this._setComparisonAndValue(comparison, null);\n    } else if (this._shouldInitializePredicateValueForComparison(comparison)) {\n      this._setComparisonAndValue(comparison, this.getDefaultValue());\n    } else {\n      this.set('predicate.comparison', comparison);\n    }\n  },\n\n  _shouldClearPredicateValueForComparison(comparison) {\n    return (comparison === 'known' || comparison === 'unknown') && this.get('predicate.hasValue');\n  },\n\n  _shouldInitializePredicateValueForComparison(comparison) {\n    return comparison !== 'known' && comparison !== 'unknown' && this.get('predicate.hasNoValue');\n  },\n\n  _setComparisonAndValue(comparison, value) {\n    this.setProperties({\n      'predicate.value': value,\n      'predicate.comparison': comparison,\n    });\n  },\n});\n","import { readOnly } from '@ember/object/computed';\nimport DefaultPredicateManager from 'embercom/lib/common/predicates/default-predicate-manager';\nimport FiltersToText from 'embercom/lib/filters-to-text';\n\nconst numberOfDaysSinceLastContact = '1';\n\nexport default DefaultPredicateManager.extend({\n  isValid: readOnly('predicate.hasAttributeComparisonAndType'),\n  defaultComparison: 'true',\n\n  getDefaultValue() {\n    return numberOfDaysSinceLastContact;\n  },\n\n  _getDescription(customFilterMap, showNoEventPrefix) {\n    let descriptionPrefix = this.get('predicate.info')\n      ? this.get('predicate.info.name').toLowerCase()\n      : this.get('predicate.attributeIdentifier');\n    return {\n      text: `${descriptionPrefix} ${FiltersToText.getComparator(this.predicate, customFilterMap)}`,\n      icon: this.get('predicate.info.icon'),\n    };\n  },\n});\n","import DefaultPredicateManager from 'embercom/lib/common/predicates/default-predicate-manager';\n\nconst USER_TYPES = {\n  user_role: 'user',\n  contact_role: 'lead',\n  visitor_role: 'visitor',\n};\n\nexport default DefaultPredicateManager.extend({\n  getDefaultValue() {\n    return 'user_role';\n  },\n\n  getUserType() {\n    let userType = USER_TYPES[this.get('predicate.value')];\n    if (userType || this.predicate.comparison === 'known') {\n      return this._typeForRole(userType);\n    }\n    throw new Error('not a valid user type');\n  },\n\n  _typeForRole(role) {\n    switch (this.get('predicate.comparison')) {\n      case 'ne':\n        return `non_${role}`;\n      case 'eq':\n        return role;\n      case 'known':\n        return 'everyone';\n      default:\n        throw new Error(`not a valid user comparison`);\n    }\n  },\n});\n","import DefaultPredicateManager from 'embercom/lib/common/predicates/default-predicate-manager';\n\nexport default DefaultPredicateManager.extend({\n  goalComparison: 'known',\n});\n","import DefaultPredicateManager from 'embercom/lib/common/predicates/default-predicate-manager';\n\nexport default DefaultPredicateManager.extend({\n  defaultComparison: 'in',\n  goalComparison: 'in',\n  getDefaultValue() {\n    return this.get('predicate.optionsForType.firstObject.value');\n  },\n});\n","import { and, notEmpty } from '@ember/object/computed';\nimport DefaultPredicateManager from 'embercom/lib/common/predicates/default-predicate-manager';\nimport FiltersToText from 'embercom/lib/filters-to-text';\n\nexport default DefaultPredicateManager.extend({\n  isValid: and('predicate.hasComparison', 'urlNotEmpty', 'countNotEmpty'),\n  urlNotEmpty: notEmpty('predicate.value.url'),\n  countNotEmpty: notEmpty('predicate.value.count'),\n\n  initializeDefaultValue() {\n    this.set('predicate.value', this.getDefaultValue());\n  },\n\n  getDefaultValue() {\n    return {\n      url: '',\n      count: '',\n    };\n  },\n\n  _getDescription(customFilterMap, showNoEventPrefix) {\n    let descriptionPrefix = this.get('predicate.info')\n      ? this.get('predicate.info.name').toLowerCase()\n      : this.get('predicate.attributeIdentifier');\n    return {\n      text: `${descriptionPrefix} for ${this.get(\n        'predicate.value.url',\n      )} ${FiltersToText.getPredicateDescription(\n        this.predicate,\n        customFilterMap,\n        showNoEventPrefix,\n      )}`,\n      icon: this.get('predicate.info.icon'),\n    };\n  },\n});\n","// compareVersion('1.2.3', '1.1')\n// Only compares versions containing digits. DOES NOT work for versions like \"1.12.3-rc1\"\n\nfunction _normalizeSingleValue(value) {\n  return !value ? 0 : parseInt(value, 10);\n}\n\n// Normalize version into a format which is [major, minor, patch]\nfunction _normalizeValues(version) {\n  let normalizedVersion = [0, 0, 0];\n  version.split('.').forEach((value, i) => (normalizedVersion[i] = _normalizeSingleValue(value)));\n  return normalizedVersion;\n}\n\nexport default function(versionToCheck, versionToTestAgainst) {\n  let versionToCheckNormalized = _normalizeValues(versionToCheck);\n  let versionToTestAgainstNormalized = _normalizeValues(versionToTestAgainst);\n\n  for (let i = 0, length = 3; i < length; i++) {\n    let isLastItem = i === length - 1;\n    let currentCheckValue = versionToCheckNormalized[i];\n    let currentTestAgainstValue = versionToTestAgainstNormalized[i];\n    if (currentCheckValue === currentTestAgainstValue && isLastItem) {\n      return 0;\n    } else if (currentCheckValue !== currentTestAgainstValue) {\n      return currentCheckValue < currentTestAgainstValue ? -1 : 1;\n    }\n    if (isLastItem) {\n      return 0;\n    }\n  }\n}\n","import { computed } from '@ember/object';\nimport getBlocksInfo from 'embercom/lib/composer/get-blocks-info';\n\nexport default {\n  hasSignificantBlocks(blocksKey, significantChars = 60) {\n    return computed(blocksKey, function() {\n      let blocks = this.get(blocksKey);\n      if (!blocks) {\n        return false;\n      }\n\n      let blocksInfo = getBlocksInfo(blocks);\n      if (blocksInfo.characterCount > significantChars) {\n        return true;\n      }\n      return (\n        blocksInfo.hasImage || blocksInfo.hasVideo || blocksInfo.hasButton || blocksInfo.hasHtml\n      );\n    });\n  },\n};\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\n//NOTE: GJ: it would be nice to create a Blocks object model which would encapsulate this logic\n\nlet getBlocksInfo = function(blocks) {\n  let info = {\n    characterCount: 0,\n    hasImage: false,\n    hasVideo: false,\n    hasButton: false,\n    hasHtml: false,\n  };\n\n  for (let i = 0; i < blocks.length; i++) {\n    let block = blocks[i];\n    if (block.type === 'paragraph' || block.type === 'heading' || block.type === 'subheading') {\n      info.characterCount += $.trim(block.text).length;\n    }\n\n    if (block.type === 'image') {\n      info.hasImage = true;\n    }\n\n    if (block.type === 'video') {\n      info.hasVideo = true;\n    }\n\n    if (block.type === 'button') {\n      info.hasButton = true;\n    }\n\n    if (block.type === 'html') {\n      info.hasHtml = true;\n    }\n  }\n\n  return info;\n};\n\nexport default getBlocksInfo;\n","import { getOwner } from '@ember/application';\n\nexport default function containerLookup(key) {\n  return getContainer().lookup(key);\n}\n\nexport function getContainer() {\n  return getApplication().__container__;\n}\n\nexport function getRouter() {\n  return containerLookup('router:main');\n}\n\nexport function getRouterService(context) {\n  return getOwner(context).lookup('service:router');\n}\n\nexport function getEmberDataStore() {\n  return containerLookup('service:store');\n}\n\nexport function getApp() {\n  return containerLookup('service:appService').app;\n}\n\nfunction getApplication() {\n  return window.EmberApplicationInstance;\n}\n","const EXTERNAL_REPLY_SEND_STATES = {\n  pending: -1,\n  error: 0,\n  success: 1,\n};\n\nexport { EXTERNAL_REPLY_SEND_STATES };\n","function getPositiveRate(csat) {\n  if (!csat?.length) {\n    return null;\n  }\n  let positiveCount = csat\n    .filter(bucket => bucket.rating >= 4)\n    .reduce((acc, bucket) => acc + bucket.count, 0);\n  let totalCount = csat.reduce((acc, bucket) => acc + bucket.count, 0);\n  return (positiveCount / totalCount) * 100;\n}\n\nexport function topicStatsForDisplay(rawStats) {\n  return {\n    currentCount: rawStats.current_count,\n    previousCount: rawStats.previous_count,\n\n    currentResponseTime: rawStats.current_response_time || rawStats.current_response_time_ooo,\n    previousResponseTime: rawStats.previous_response_time || rawStats.previous_response_time_ooo,\n\n    currentTimeToClose:\n      rawStats.current_time_to_close_excluding_bot_inbox ||\n      rawStats.current_time_to_close_excluding_bot_inbox_ooo ||\n      rawStats.current_time_to_close_from_initial_user_part ||\n      rawStats.current_time_to_close_from_initial_user_part_ooo,\n\n    previousTimeToClose:\n      rawStats.previous_time_to_close_excluding_bot_inbox ||\n      rawStats.previous_time_to_close_excluding_bot_inbox_ooo ||\n      rawStats.previous_time_to_close_from_initial_user_part ||\n      rawStats.previous_time_to_close_from_initial_user_part_ooo,\n\n    currentPositiveRate: getPositiveRate(rawStats.current_csat),\n    previousPositiveRate: getPositiveRate(rawStats.previous_csat),\n  };\n}\n","import { isEmpty } from '@ember/utils';\nimport numberFormatter from 'embercom/lib/number-formatter';\n\nexport default function(val) {\n  if (isEmpty(val)) {\n    return `\\u2014`; //em dash\n  } else {\n    return numberFormatter(val);\n  }\n}\n","import { indexBy } from 'underscore';\n\nlet Countries = {};\n\nCountries.allCountries = [\n  { code: 'US', name: 'United States', inEu: false },\n  { code: 'GB', name: 'United Kingdom', inEu: true },\n  { code: 'AF', name: 'Afghanistan', inEu: false },\n  { code: 'AX', name: 'Åland Islands', inEu: false },\n  { code: 'AL', name: 'Albania', inEu: false },\n  { code: 'DZ', name: 'Algeria', inEu: false },\n  { code: 'AS', name: 'American Samoa', inEu: false },\n  { code: 'AD', name: 'Andorra', inEu: false },\n  { code: 'AO', name: 'Angola', inEu: false },\n  { code: 'AI', name: 'Anguilla', inEu: false },\n  { code: 'AQ', name: 'Antarctica', inEu: false },\n  { code: 'AG', name: 'Antigua and Barbuda', inEu: false },\n  { code: 'AR', name: 'Argentina', inEu: false },\n  { code: 'AM', name: 'Armenia', inEu: false },\n  { code: 'AW', name: 'Aruba', inEu: false },\n  { code: 'AU', name: 'Australia', inEu: false },\n  { code: 'AT', name: 'Austria', inEu: true },\n  { code: 'AZ', name: 'Azerbaijan', inEu: false },\n  { code: 'BS', name: 'Bahamas', inEu: false },\n  { code: 'BH', name: 'Bahrain', inEu: false },\n  { code: 'BD', name: 'Bangladesh', inEu: false },\n  { code: 'BB', name: 'Barbados', inEu: false },\n  { code: 'BY', name: 'Belarus', inEu: false },\n  { code: 'BE', name: 'Belgium', inEu: true },\n  { code: 'BZ', name: 'Belize', inEu: false },\n  { code: 'BJ', name: 'Benin', inEu: false },\n  { code: 'BM', name: 'Bermuda', inEu: false },\n  { code: 'BT', name: 'Bhutan', inEu: false },\n  { code: 'BO', name: 'Bolivia', inEu: false },\n  { code: 'BQ', name: 'Bonaire', inEu: false },\n  { code: 'BA', name: 'Bosnia and Herzegovina', inEu: false },\n  { code: 'BW', name: 'Botswana', inEu: false },\n  { code: 'BV', name: 'Bouvet Island', inEu: false },\n  { code: 'BR', name: 'Brazil', inEu: false },\n  { code: 'IO', name: 'British Indian Ocean Territory', inEu: false },\n  { code: 'BN', name: 'Brunei', inEu: false },\n  { code: 'BG', name: 'Bulgaria', inEu: true },\n  { code: 'BF', name: 'Burkina Faso', inEu: false },\n  { code: 'BI', name: 'Burundi', inEu: false },\n  { code: 'CV', name: 'Cape Verde', inEu: false },\n  { code: 'KH', name: 'Cambodia', inEu: false },\n  { code: 'CM', name: 'Cameroon', inEu: false },\n  { code: 'CA', name: 'Canada', inEu: false },\n  { code: 'KY', name: 'Cayman Islands', inEu: false },\n  { code: 'CF', name: 'Central African Republic', inEu: false },\n  { code: 'TD', name: 'Chad', inEu: false },\n  { code: 'CL', name: 'Chile', inEu: false },\n  { code: 'CN', name: 'China', inEu: false },\n  { code: 'CX', name: 'Christmas Island', inEu: false },\n  { code: 'CC', name: 'Cocos (Keeling) Islands', inEu: false },\n  { code: 'CO', name: 'Colombia', inEu: false },\n  { code: 'KM', name: 'Comoros', inEu: false },\n  { code: 'CG', name: 'Congo, (Congo Brazzaville)', inEu: false },\n  { code: 'CD', name: 'Congo, (Congo Kinshasa)', inEu: false },\n  { code: 'CK', name: 'Cook Islands', inEu: false },\n  { code: 'CR', name: 'Costa Rica', inEu: false },\n  { code: 'CI', name: \"Côte d'Ivoire (Ivory Coast)\", inEu: false },\n  { code: 'HR', name: 'Croatia', inEu: true },\n  { code: 'CU', name: 'Cuba', inEu: false },\n  { code: 'CW', name: 'Curaçao', inEu: false },\n  { code: 'CY', name: 'Cyprus', inEu: true },\n  { code: 'CZ', name: 'Czechia', inEu: true },\n  { code: 'DK', name: 'Denmark', inEu: true },\n  { code: 'DJ', name: 'Djibouti', inEu: false },\n  { code: 'DM', name: 'Dominica', inEu: false },\n  { code: 'DO', name: 'Dominican Republic', inEu: false },\n  { code: 'EC', name: 'Ecuador', inEu: false },\n  { code: 'EG', name: 'Egypt', inEu: false },\n  { code: 'SV', name: 'El Salvador', inEu: false },\n  { code: 'GQ', name: 'Equatorial Guinea', inEu: false },\n  { code: 'ER', name: 'Eritrea', inEu: false },\n  { code: 'EE', name: 'Estonia', inEu: true },\n  { code: 'SZ', name: 'Eswatini', inEu: false },\n  { code: 'ET', name: 'Ethiopia', inEu: false },\n  { code: 'FK', name: 'Falkland Islands (Islas Malvinas)', inEu: false },\n  { code: 'FO', name: 'Faroe Islands', inEu: false },\n  { code: 'FJ', name: 'Fiji', inEu: false },\n  { code: 'FI', name: 'Finland', inEu: true },\n  { code: 'FR', name: 'France', inEu: true },\n  { code: 'GF', name: 'French Guiana', inEu: false },\n  { code: 'PF', name: 'French Polynesia', inEu: false },\n  { code: 'TF', name: 'French Southern Territories', inEu: false },\n  { code: 'GA', name: 'Gabon', inEu: false },\n  { code: 'GM', name: 'Gambia', inEu: false },\n  { code: 'GE', name: 'Georgia', inEu: false },\n  { code: 'DE', name: 'Germany', inEu: true },\n  { code: 'GH', name: 'Ghana', inEu: false },\n  { code: 'GI', name: 'Gibraltar', inEu: false },\n  { code: 'GR', name: 'Greece', inEu: true },\n  { code: 'GL', name: 'Greenland', inEu: false },\n  { code: 'GD', name: 'Grenada', inEu: false },\n  { code: 'GP', name: 'Guadeloupe', inEu: false },\n  { code: 'GU', name: 'Guam', inEu: false },\n  { code: 'GT', name: 'Guatemala', inEu: false },\n  { code: 'GG', name: 'Guernsey', inEu: false },\n  { code: 'GN', name: 'Guinea', inEu: false },\n  { code: 'GW', name: 'Guinea-Bissau', inEu: false },\n  { code: 'GY', name: 'Guyana', inEu: false },\n  { code: 'HT', name: 'Haiti', inEu: false },\n  { code: 'HM', name: 'Heard Island and McDonald Islands', inEu: false },\n  { code: 'HN', name: 'Honduras', inEu: false },\n  { code: 'HK', name: 'Hong Kong', inEu: false },\n  { code: 'HU', name: 'Hungary', inEu: true },\n  { code: 'IS', name: 'Iceland', inEu: false },\n  { code: 'IN', name: 'India', inEu: false },\n  { code: 'ID', name: 'Indonesia', inEu: false },\n  { code: 'IR', name: 'Iran', inEu: false },\n  { code: 'IQ', name: 'Iraq', inEu: false },\n  { code: 'IE', name: 'Ireland', inEu: true },\n  { code: 'IM', name: 'Isle of Man', inEu: false },\n  { code: 'IL', name: 'Israel', inEu: false },\n  { code: 'IT', name: 'Italy', inEu: true },\n  { code: 'JM', name: 'Jamaica', inEu: false },\n  { code: 'JP', name: 'Japan', inEu: false },\n  { code: 'JE', name: 'Jersey', inEu: false },\n  { code: 'JO', name: 'Jordan', inEu: false },\n  { code: 'KZ', name: 'Kazakhstan', inEu: false },\n  { code: 'KE', name: 'Kenya', inEu: false },\n  { code: 'KI', name: 'Kiribati', inEu: false },\n  { code: 'KW', name: 'Kuwait', inEu: false },\n  { code: 'KG', name: 'Kyrgyzstan', inEu: false },\n  { code: 'LA', name: 'Laos', inEu: false },\n  { code: 'LV', name: 'Latvia', inEu: true },\n  { code: 'LB', name: 'Lebanon', inEu: false },\n  { code: 'LS', name: 'Lesotho', inEu: false },\n  { code: 'LR', name: 'Liberia', inEu: false },\n  { code: 'LY', name: 'Libya', inEu: false },\n  { code: 'LI', name: 'Liechtenstein', inEu: false },\n  { code: 'LT', name: 'Lithuania', inEu: true },\n  { code: 'LU', name: 'Luxembourg', inEu: true },\n  { code: 'MO', name: 'Macao', inEu: false },\n  { code: 'MG', name: 'Madagascar', inEu: false },\n  { code: 'MW', name: 'Malawi', inEu: false },\n  { code: 'MY', name: 'Malaysia', inEu: false },\n  { code: 'MV', name: 'Maldives', inEu: false },\n  { code: 'ML', name: 'Mali', inEu: false },\n  { code: 'MT', name: 'Malta', inEu: true },\n  { code: 'MH', name: 'Marshall Islands', inEu: false },\n  { code: 'MQ', name: 'Martinique', inEu: false },\n  { code: 'MR', name: 'Mauritania', inEu: false },\n  { code: 'MU', name: 'Mauritius', inEu: false },\n  { code: 'YT', name: 'Mayotte', inEu: false },\n  { code: 'MX', name: 'Mexico', inEu: false },\n  { code: 'FM', name: 'Micronesia', inEu: false },\n  { code: 'MD', name: 'Moldova', inEu: false },\n  { code: 'MC', name: 'Monaco', inEu: false },\n  { code: 'MN', name: 'Mongolia', inEu: false },\n  { code: 'ME', name: 'Montenegro', inEu: false },\n  { code: 'MS', name: 'Montserrat', inEu: false },\n  { code: 'MA', name: 'Morocco', inEu: false },\n  { code: 'MZ', name: 'Mozambique', inEu: false },\n  { code: 'MM', name: 'Myanmar', inEu: false },\n  { code: 'NA', name: 'Namibia', inEu: false },\n  { code: 'NR', name: 'Nauru', inEu: false },\n  { code: 'NP', name: 'Nepal', inEu: false },\n  { code: 'NL', name: 'Netherlands', inEu: true },\n  { code: 'NC', name: 'New Caledonia', inEu: false },\n  { code: 'NZ', name: 'New Zealand', inEu: false },\n  { code: 'NI', name: 'Nicaragua', inEu: false },\n  { code: 'NE', name: 'Niger', inEu: false },\n  { code: 'NG', name: 'Nigeria', inEu: false },\n  { code: 'NU', name: 'Niue', inEu: false },\n  { code: 'NF', name: 'Norfolk Island', inEu: false },\n  { code: 'KP', name: 'North Korea', inEu: false },\n  { code: 'MK', name: 'North Macedonia', inEu: false },\n  { code: 'MP', name: 'Northern Mariana Islands', inEu: false },\n  { code: 'NO', name: 'Norway', inEu: false },\n  { code: 'OM', name: 'Oman', inEu: false },\n  { code: 'PK', name: 'Pakistan', inEu: false },\n  { code: 'PW', name: 'Palau', inEu: false },\n  { code: 'PS', name: 'Palestine', inEu: false },\n  { code: 'PA', name: 'Panama', inEu: false },\n  { code: 'PG', name: 'Papua New Guinea', inEu: false },\n  { code: 'PY', name: 'Paraguay', inEu: false },\n  { code: 'PE', name: 'Peru', inEu: false },\n  { code: 'PH', name: 'Philippines', inEu: false },\n  { code: 'PN', name: 'Pitcairn', inEu: false },\n  { code: 'PL', name: 'Poland', inEu: true },\n  { code: 'PT', name: 'Portugal', inEu: true },\n  { code: 'PR', name: 'Puerto Rico', inEu: false },\n  { code: 'QA', name: 'Qatar', inEu: false },\n  { code: 'RE', name: 'Réunion', inEu: false },\n  { code: 'RO', name: 'Romania', inEu: true },\n  { code: 'RU', name: 'Russia', inEu: false },\n  { code: 'RW', name: 'Rwanda', inEu: false },\n  { code: 'BL', name: 'Saint Barthélemy', inEu: false },\n  { code: 'SH', name: 'Saint Helena, Ascension and Tristan da Cunha', inEu: false },\n  { code: 'KN', name: 'Saint Kitts and Nevis', inEu: false },\n  { code: 'LC', name: 'Saint Lucia', inEu: false },\n  { code: 'MF', name: 'Saint Martin (French part)', inEu: false },\n  { code: 'PM', name: 'Saint Pierre and Miquelon', inEu: false },\n  { code: 'VC', name: 'Saint Vincent and the Grenadines', inEu: false },\n  { code: 'WS', name: 'Samoa', inEu: false },\n  { code: 'SM', name: 'San Marino', inEu: false },\n  { code: 'ST', name: 'Sao Tome and Principe', inEu: false },\n  { code: 'SA', name: 'Saudi Arabia', inEu: false },\n  { code: 'SN', name: 'Senegal', inEu: false },\n  { code: 'RS', name: 'Serbia', inEu: false },\n  { code: 'SC', name: 'Seychelles', inEu: false },\n  { code: 'SL', name: 'Sierra Leone', inEu: false },\n  { code: 'SG', name: 'Singapore', inEu: false },\n  { code: 'SX', name: 'Sint Maarten (Dutch part)', inEu: false },\n  { code: 'SK', name: 'Slovakia', inEu: true },\n  { code: 'SI', name: 'Slovenia', inEu: true },\n  { code: 'SB', name: 'Solomon Islands', inEu: false },\n  { code: 'SO', name: 'Somalia', inEu: false },\n  { code: 'ZA', name: 'South Africa', inEu: false },\n  { code: 'GS', name: 'South Georgia & South Sandwich Islands', inEu: false },\n  { code: 'KR', name: 'South Korea', inEu: false },\n  { code: 'SS', name: 'South Sudan', inEu: false },\n  { code: 'ES', name: 'Spain', inEu: true },\n  { code: 'LK', name: 'Sri Lanka', inEu: false },\n  { code: 'SD', name: 'Sudan', inEu: false },\n  { code: 'SR', name: 'Suriname', inEu: false },\n  { code: 'SJ', name: 'Svalbard and Jan Mayen', inEu: false },\n  { code: 'SE', name: 'Sweden', inEu: true },\n  { code: 'CH', name: 'Switzerland', inEu: false },\n  { code: 'SY', name: 'Syria', inEu: false },\n  { code: 'TW', name: 'Taiwan', inEu: false },\n  { code: 'TJ', name: 'Tajikistan', inEu: false },\n  { code: 'TZ', name: 'Tanzania', inEu: false },\n  { code: 'TH', name: 'Thailand', inEu: false },\n  { code: 'TL', name: 'Timor-Leste', inEu: false },\n  { code: 'TG', name: 'Togo', inEu: false },\n  { code: 'TK', name: 'Tokelau', inEu: false },\n  { code: 'TO', name: 'Tonga', inEu: false },\n  { code: 'TT', name: 'Trinidad and Tobago', inEu: false },\n  { code: 'TN', name: 'Tunisia', inEu: false },\n  { code: 'TR', name: 'Turkey', inEu: false },\n  { code: 'TM', name: 'Turkmenistan', inEu: false },\n  { code: 'TC', name: 'Turks and Caicos Islands', inEu: false },\n  { code: 'TV', name: 'Tuvalu', inEu: false },\n  { code: 'UG', name: 'Uganda', inEu: false },\n  { code: 'UA', name: 'Ukraine', inEu: false },\n  { code: 'AE', name: 'United Arab Emirates', inEu: false },\n  { code: 'UM', name: 'United States Minor Outlying Islands', inEu: false },\n  { code: 'UY', name: 'Uruguay', inEu: false },\n  { code: 'UZ', name: 'Uzbekistan', inEu: false },\n  { code: 'VU', name: 'Vanuatu', inEu: false },\n  { code: 'VA', name: 'Vatican City', inEu: false },\n  { code: 'VE', name: 'Venezuela', inEu: false },\n  { code: 'VN', name: 'Vietnam', inEu: false },\n  { code: 'VG', name: 'Virgin Islands (British)', inEu: false },\n  { code: 'VI', name: 'Virgin Islands (U.S.)', inEu: false },\n  { code: 'WF', name: 'Wallis and Futuna', inEu: false },\n  { code: 'EH', name: 'Western Sahara', inEu: false },\n  { code: 'YE', name: 'Yemen', inEu: false },\n  { code: 'ZM', name: 'Zambia', inEu: false },\n  { code: 'ZW', name: 'Zimbabwe', inEu: false },\n];\n\nconst CODES_TO_COUNTRY = indexBy(Countries.allCountries, 'code');\n\nexport default Countries;\n\nexport function lookupCountryName(code) {\n  let country = CODES_TO_COUNTRY[code];\n  return country ? country.name : code || 'Unknown';\n}\n","import numberFormatter from 'embercom/lib/number-formatter';\n\nlet currencyFormatter = function(\n  value,\n  precision,\n  showLeadingPlusSign,\n  currencySymbol = '$',\n  truncate = false,\n) {\n  precision = precision === null ? 0 : precision;\n  let symbol = currencySymbol;\n  let realValue = (parseFloat(value) || 0) / 100;\n  if (realValue < 0) {\n    symbol = `−${symbol}`;\n    realValue *= -1;\n  } else if (showLeadingPlusSign) {\n    symbol = `+${symbol}`;\n  }\n\n  realValue = realValue.toFixed(precision);\n  let formattedNumber = truncate\n    ? truncateNumber(realValue, precision)\n    : numberFormatter(realValue);\n  return symbol + formattedNumber;\n};\n\nfunction truncateNumber(value, precision = 1) {\n  let divisor = 1;\n  let units = '';\n\n  if (value > 999999) {\n    divisor = 1000000;\n    units = 'm';\n  } else if (value > 999) {\n    divisor = 1000;\n    units = 'k';\n  }\n\n  // Wrapping with Number removes possible trailing 0s\n  let truncatedValue = Number((value / divisor).toFixed(precision));\n\n  return `${truncatedValue}${units}`;\n}\n\nexport default currencyFormatter;\n","import Inflector from 'ember-inflector';\n\nconst inflector = Inflector.inflector;\n\ninflector.irregular('person', 'people');\ninflector.irregular('this', 'these');\ninflector.irregular('has', 'have');\ninflector.uncountable('closed');\ninflector.uncountable('logs-settings');\n// Meet Ember Inspector's expectation of an export\nexport default {};\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport ajax, { put } from 'embercom/lib/ajax';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport { task } from 'ember-concurrency';\n\nlet DataAttributeEditor = EmberObject.extend({\n  attribute: null,\n  event: null,\n  appId: null,\n  type: 'attribute',\n  dependentObjectsUrl: templateString(\n    '/ember/data_attributes/${attribute.cda_id}/dependent_objects',\n  ),\n  onArchive: () => {},\n  onUnarchive: () => {},\n\n  archiveTask: task(function*() {\n    yield put('/ember/data_attribute_settings/archive', {\n      app_id: this.appId,\n      id: this.get('attribute.cda_id'),\n    });\n    this.onArchive();\n  }),\n\n  unarchiveTask: task(function*() {\n    yield put('/ember/data_attribute_settings/unarchive', {\n      app_id: this.appId,\n      id: this.get('attribute.cda_id'),\n    });\n    this.onUnarchive();\n  }),\n\n  archive() {\n    return this.archiveTask.perform();\n  },\n\n  unarchive() {\n    return this.unarchiveTask.perform();\n  },\n\n  getDependentObjects() {\n    return ajax({\n      url: this.dependentObjectsUrl,\n      type: 'GET',\n      data: {\n        app_id: this.appId,\n        company: this.get('attribute.company'),\n      },\n    }).then(function(response) {\n      return response.table;\n    });\n  },\n\n  updateDescription() {\n    return ajax({\n      type: 'PUT',\n      url: '/ember/data_attribute_settings/update_description',\n      data: JSON.stringify({\n        app_id: this.appId,\n        id: this.get('attribute.cda_id'),\n        description: this.get('attribute.description'),\n      }),\n    });\n  },\n\n  updateType() {\n    return ajax({\n      type: 'PUT',\n      url: `/ember/data_attribute_settings/${this.get('attribute.cda_id')}`,\n      data: JSON.stringify({\n        app_id: this.appId,\n        id: this.get('attribute.cda_id'),\n        type: this.get('attribute.type'),\n      }),\n    });\n  },\n});\n\nexport default DataAttributeEditor;\n","export default {\n  setValue: 'setValue',\n  removeValue: 'removeValue',\n  setValueToDefault: 'setValueToDefault',\n};\n","import { mutatedAtString } from 'embercom/lib/data-mutations/mutator';\n\nexport function addChangeToHistory(model, change, context) {\n  let location = context.location ? ` from ${context.location}` : '';\n  let method = context.method ? ` in method ${context.method}` : '';\n  let time = mutatedAtString();\n  model.get('mutations.history').pushObject(`${time}: ${change}${location}${method}`);\n}\n","import EmberObject, { get } from '@ember/object';\nimport { isNone, isPresent } from '@ember/utils';\nimport moment from 'moment';\nimport md5 from 'md5';\n\nimport COMMANDS from './constants/commands';\nimport {\n  validateIsMutationArray,\n  validateMutationParams,\n  validateValueIsNotNone,\n} from './validators';\nimport { addChangeToHistory } from './history';\n\nfunction serializeModel(model) {\n  if (model.serialize) {\n    return model.serialize();\n  } else if (model.content.serialize) {\n    return model.content.serialize();\n  }\n  throw new Error('Unable to serialize the model');\n}\nfunction generateHash(model) {\n  return md5(JSON.stringify(serializeModel(model)));\n}\n\nfunction mutatedAtString() {\n  return moment()\n    .utc()\n    .format('YYYY-MM-DD HH:mm:ss.SSSZ');\n}\n\nfunction initializeMutationsIfRequired(model) {\n  if (isNone(model.get('mutations'))) {\n    let mutationsObject = EmberObject.create({\n      history: [],\n      lastSavedAt: null,\n      lastMutatedAt: null,\n      lastMutationHash: generateHash(model),\n    });\n    model.set('mutations', mutationsObject);\n  }\n}\n\nfunction recordMutation(model) {\n  let lastMutationHash = model.get('mutations.lastMutationHash');\n  let newMutationHash = generateHash(model);\n  if (lastMutationHash !== newMutationHash) {\n    model.setProperties({\n      'mutations.lastMutatedAt': mutatedAtString(),\n      'mutations.lastMutationHash': newMutationHash,\n    });\n  }\n}\n\nfunction setValue(model, key, value, context) {\n  validateValueIsNotNone(value);\n  model.set(key, value);\n  addChangeToHistory(model, `Set ${key} value`, context);\n  return {\n    success: true,\n  };\n}\n\nfunction removeValue(model, key, context) {\n  model.set(key, null);\n  addChangeToHistory(model, `Removed ${key} value`, context);\n  return {\n    success: true,\n  };\n}\n\nfunction setValueToDefault(model, key, modelDefaults, context) {\n  let defaultValue = get(modelDefaults, key);\n  if (defaultValue === undefined) {\n    throw new Error(`No default value provided for ${key}`);\n  }\n  model.set(key, defaultValue);\n  addChangeToHistory(model, `Set ${key} to default value`, context);\n  return {\n    success: true,\n  };\n}\n\nfunction recordDuration(frontEndStatsService, block) {\n  frontEndStatsService.start('ember_performMutation');\n  block();\n  frontEndStatsService.stop('ember_performMutation');\n}\n\nfunction performMutation(model, mutation, frontEndStatsService) {\n  recordDuration(frontEndStatsService, () => {\n    validateMutationParams(mutation);\n    switch (mutation.command) {\n      case COMMANDS.setValue:\n        return setValue(model, mutation.key, mutation.data, mutation.context);\n      case COMMANDS.removeValue:\n        return removeValue(model, mutation.key, mutation.context);\n      case COMMANDS.setValueToDefault:\n        return setValueToDefault(model, mutation.key, mutation.modelDefaults, mutation.context);\n      default:\n        throw new Error(\n          `'performMutation' was called with an unknown command '${mutation.command}' from '${mutation.context.location}'`,\n        );\n    }\n  });\n}\n\nfunction performMutations(model, mutations, frontEndStatsService) {\n  validateIsMutationArray(mutations);\n  initializeMutationsIfRequired(model);\n  if (isPresent(mutations)) {\n    Em.changeProperties(() => {\n      mutations.forEach(mutation => performMutation(model, mutation, frontEndStatsService));\n      recordMutation(model);\n    });\n  }\n}\n\nexport { performMutations, initializeMutationsIfRequired, mutatedAtString };\n","import { assert } from '@ember/debug';\nimport { isArray } from '@ember/array';\nimport { isNone, isBlank } from '@ember/utils';\nimport COMMANDS from './constants/commands';\nexport function validateValueIsNotNone(value) {\n  if (isNone(value)) {\n    throw new Error(\n      `Expected a non-none value to be provided for 'setValue'. Use 'clearArray' to empty arrays.`,\n    );\n  }\n}\n\nexport function validateIsMutationArray(mutations) {\n  if (!isArray(mutations)) {\n    throw new Error(`'performMutations' was called with a non-array argument`);\n  }\n}\n\nexport function validateMutationParams(options) {\n  if (isNone(options)) {\n    throw new Error(`'performMutation' was called without any options`);\n  }\n  if (isNone(options.command)) {\n    throw new Error(`'performMutation' was called without a command`);\n  }\n  if (isBlank(COMMANDS[options.command])) {\n    throw new Error(`'performMutation' was called with an unknown command`);\n  }\n  if (isNone(options.key)) {\n    assert(`'performMutation' was called without any key to mutate`);\n  }\n  if (isNone(options.context)) {\n    throw new Error(`'performMutation' was called without a context`);\n  }\n}\n","export default {\n  fullDateAndTime: 'MMM D, YYYY [at] h:mmA z',\n  fullDateAndTimeWithoutTimezone: 'MMM D, YYYY [at] h:mmA',\n  fullDateAndTimeWithoutTimezoneWithDayName: 'dddd MMM D, YYYY [at] h:mmA',\n  fullDateAndTimeWithoutTimezoneAndYear: 'MMM D, [at] h:mmA',\n  dateAndTimeWithoutYearWithShortDayName: 'h:mmA on ddd, MMM D',\n  date: 'MMM D, YYYY',\n  monthDayYear: 'L',\n  dateHumanized: 'MMMM Do, YYYY',\n  dateHumanizedWithoutYear: 'MMMM Do',\n  time: 'h:mmA z',\n  timeWithoutTimezone: 'h:mmA',\n  dateWithDayWithoutYear: 'ddd MMM D',\n  dateWithoutYear: 'MMM D',\n  monthAndYear: 'MMM YYYY',\n  emailTemplateRenderDateFormat: 'Do MMM YYYY',\n  timeOnDay: 'h:mm A [on] MMMM D',\n  dayOfWeek: 'ddd',\n};\n","import PALETTE from '@intercom/embercom-core/lib/palette';\n\nexport default function() {\n  return {\n    colors: [],\n    chart: {\n      type: 'column',\n      spacing: [40, 10, 10, 10],\n      style: {\n        fontFamily: '\"Helvetica Neue\", Helvetica, Arial, sans-serif',\n        fontSize: '13px',\n        color: '#78909c',\n      },\n      plotShadow: false,\n    },\n    global: { useUTC: false },\n    title: { text: null },\n    legend: { enabled: false },\n    plotOptions: {\n      series: { shadow: false },\n      column: {\n        borderColor: '#338ccb',\n        color: '#338ccb',\n      },\n    },\n    credits: { enabled: false },\n    xAxis: {\n      title: { text: null },\n      type: 'category',\n      tickWidth: 0,\n      labels: {\n        style: {\n          color: PALETTE.gray,\n          fontSize: '13px',\n        },\n        formatter() {\n          let value = this.value.toString();\n          let tokens = value.split(', ');\n          return tokens.length > 1 ? tokens[1] : this.value;\n        },\n      },\n      lineColor: 'rgba(0,0,0,.1)',\n      gridLineColor: 'rgba(0,0,0,.1)',\n      gridLineWidth: 0,\n      gridLineDashStyle: 'Solid',\n    },\n    yAxis: {\n      min: 0,\n      title: { text: null },\n      allowDecimals: false,\n      tickWidth: 0,\n      labels: {\n        style: {\n          color: PALETTE.gray,\n          fontSize: '13px',\n        },\n      },\n      lineColor: 'rgba(0,0,0,.1)',\n      gridLineColor: 'rgba(0,0,0,.1)',\n      gridLineWidth: 1,\n      gridLineDashStyle: 'Solid',\n      lineWidth: 1,\n    },\n    tooltip: {\n      shadow: false,\n      enabled: true,\n      backgroundColor: '#1d364b',\n      borderWidth: 0,\n      borderRadius: 6,\n      useHTML: true,\n      style: {\n        color: '#ffffff',\n        padding: '10px',\n      },\n      valueDecimals: 0,\n    },\n  };\n}\n","export const ANONYMOUS_PREDICATE = {\n  type: 'anonymous',\n  attribute: 'anonymous',\n  comparison: 'true',\n  value: 'nil',\n};\nexport const NON_ANONYMOUS_PREDICATE = {\n  type: 'anonymous',\n  attribute: 'anonymous',\n  comparison: 'false',\n  value: 'nil',\n};\nexport const USER_ROLE_PREDICATE = {\n  type: 'role',\n  attribute: 'role',\n  comparison: 'eq',\n  value: 'user_role',\n};\nexport const VISITOR_ROLE_PREDICATE = {\n  type: 'role',\n  attribute: 'role',\n  comparison: 'ne',\n  value: 'user_role',\n};\nexport const LEAD_ROLE_PREDICATE = {\n  type: 'role',\n  attribute: 'role',\n  comparison: 'eq',\n  value: 'contact_role',\n};\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { computed } from '@ember/object';\nimport Mixin from '@ember/object/mixin';\nexport default Mixin.create({\n  isIntercomradesDomain: computed('document.domain', function() {\n    return document.domain.includes('intercomrade');\n  }),\n});\n","import ajax from 'embercom/lib/ajax';\n\nexport function needsAcceptance(appId) {\n  return ajax({\n    url: `ember/developer_hub/terms_of_service_acceptance?app_id=${appId}`,\n    type: 'GET',\n  });\n}\n\nexport function acceptGuidelines(appId) {\n  return ajax({\n    url: '/ember/developer_hub/terms_of_service_acceptance',\n    type: 'post',\n    contentType: 'application/json',\n    data: JSON.stringify({\n      app_id: appId,\n    }),\n  });\n}\n","import { isEmpty, isNone } from '@ember/utils';\nimport { isEqual } from 'underscore';\nimport { A } from '@ember/array';\n\nconst setDifference = (arrayA, arrayB) => {\n  let setA = new Set(arrayA);\n  let setB = new Set(arrayB);\n  return [...setA].filter(valueFromA => !setB.has(valueFromA));\n};\n\nconst compareScalars = (scalarA, scalarB) => {\n  if (isNone(scalarA) && isNone(scalarB)) {\n    return { hasDifference: false };\n  }\n  let hasDifference = scalarA !== scalarB;\n  let isAdded = isEmpty(scalarA) && !isEmpty(scalarB);\n  let isRemoved = !isEmpty(scalarA) && isEmpty(scalarB);\n  let newValue = scalarB;\n  return { hasDifference, isAdded, isRemoved, newValue };\n};\n\nconst compareArrays = (arrayA, arrayB) => {\n  let removedValues = setDifference(arrayA, arrayB);\n  let addedValues = setDifference(arrayB, arrayA);\n  let isAdded = isEmpty(arrayA) && !isEmpty(addedValues);\n  let isRemoved = isEmpty(arrayB) && !isEmpty(removedValues);\n  let hasDifference = !(isEmpty(addedValues) && isEmpty(removedValues));\n  let newValue = arrayB;\n  return { hasDifference, isAdded, isRemoved, newValue, addedValues, removedValues };\n};\n\nconst compareBlocks = (blocksA, blocksB) => {\n  let stringA = Em.isEmpty(blocksA) ? '' : JSON.stringify(blocksA);\n  let stringB = Em.isEmpty(blocksB) ? '' : JSON.stringify(blocksB);\n  let hasDifference =\n    Array.isArray(blocksA) && Array.isArray(blocksB) && blocksA.length === blocksB.length\n      ? blocksA.any((elementA, index) => !isEqual(elementA, blocksB[index]))\n      : stringA !== stringB;\n  let isAdded = Em.isEmpty(stringA) && !Em.isEmpty(stringB);\n  let isRemoved = !Em.isEmpty(stringA) && Em.isEmpty(stringB);\n  let newValue = blocksB;\n  return { hasDifference, isAdded, isRemoved, newValue };\n};\n\nconst COMPARISON_FUNCTIONS = {\n  string: compareScalars,\n  boolean: compareScalars,\n  array: compareArrays,\n};\n\n/**\n * Find the diff between two ember-data models, and\n * return an object to represent the diff result.\n *\n * you can set options on your ember-data model attributes to change\n * the behaviour of the diff-calculator per attribute.\n *\n * noDiff: to skip finding diff for a specific attribute.\n * diffFunction: to specify a custom diff comparison function.\n * renderingComponentPath: to provide a component for custom\n *                         attribute diff rendering\n *\n * @return {Object} returns a diff result object\n *\n * E.g.:\n * In case of a scalar type: {\n *       name: 'url',\n *       type: 'string',\n *       renderingComponentPath: 'ember/some-component-path/..',\n *       hasDifference: true,\n *       isAdded: true,\n *       isRemoved: false,\n *       newValue: 'https://some-example.com'\n *       newModel: ...,\n *     }\n *\n * In case of an array type: {\n *       name: 'urls',\n *       type: 'array',\n *       renderingComponentPath: 'ember/some-component-path/..',\n *       hasDifference: true,\n *       isAdded: false,\n *       isRemoved: false,\n *       addedValues: ['new-url'],\n *       removedValues: ['old-url'],\n *       newValue: ['new-url']\n *       newModel: ...,\n *     }\n *\n */\nexport default function(modelA, modelB) {\n  let results = A();\n  modelA.eachAttribute((name, meta) => {\n    let comparisonFunction = meta.options.diffFunction;\n    let humanisedName = meta.options.humanisedName;\n    let noDiff = meta.options.noDiff;\n    if (noDiff) {\n      return;\n    }\n    if (meta.options.containsBlocks) {\n      comparisonFunction = compareBlocks;\n    }\n    if (isNone(comparisonFunction)) {\n      comparisonFunction = COMPARISON_FUNCTIONS[meta.type];\n    }\n    if (isNone(comparisonFunction)) {\n      throw new Error(`Unknown type for comparison [${meta.type}]`);\n    }\n    let valueA = modelA.get(name);\n    let valueB = modelB.get(name);\n    let comparisonResult = comparisonFunction(valueA, valueB);\n    if (!comparisonResult.hasDifference) {\n      return;\n    }\n    let result = Object.assign(comparisonResult, {\n      name,\n      humanisedName,\n      type: meta.type,\n      renderingComponentPath: meta.options.renderingComponentPath,\n      oldModel: modelA,\n      newModel: modelB, // so it can be accessed inside rendering components\n    });\n    results.pushObject(result);\n  });\n  return results;\n}\n\nexport { COMPARISON_FUNCTIONS, compareBlocks };\n","const partnerIntent = 'partner';\nconst internalIntent = 'internal';\n\nexport { partnerIntent, internalIntent };\n","const PRICING_MODELS = [\n  {\n    name: 'Free',\n    description: 'Your app is entirely free to use without a paid account or subscription.',\n    value: 'free',\n    pricingPageRequired: false,\n  },\n  {\n    name: 'Trial for free',\n    description:\n      'Your app is free for a limited trial period. After the trial ends, customers need to create a paid account to continue using your app. Select this if you offer a free trial, but expect customers to upgrade or pay for your app.',\n    value: 'free_trial_available',\n    pricingPageRequired: true,\n  },\n  {\n    name: 'Some features free',\n    description:\n      'Your app is free for some features. To access all features, customers need to create a paid account. Select this if you operate a free or \"freemium\" plan, but expect customers to upgrade or pay for your app.',\n    value: 'free_option_available',\n    pricingPageRequired: true,\n  },\n  {\n    name: 'Paid app',\n    description:\n      \"Your app requires a paid account. Select this if customers can't use your app without paying for it.\",\n    value: 'paid',\n    pricingPageRequired: true,\n  },\n];\n\nconst getPricingModels = () => {\n  return PRICING_MODELS;\n};\n\nconst getPricingModelValues = () => {\n  return PRICING_MODELS.map(pricingModel => pricingModel.value);\n};\n\nconst getPricingModelData = key => {\n  return PRICING_MODELS.find(pricingModel => pricingModel.value === key);\n};\n\nexport { getPricingModels, getPricingModelValues, getPricingModelData };\n","import { isEmpty } from '@ember/utils';\nimport diffCalculator from 'embercom/lib/developer-hub/diff-calculator';\n\nconst ROUTE_PREFIX = 'apps.app.developer-hub.app-packages.app-package.review';\nconst REVIEW_SHOW_ROUTE = `${ROUTE_PREFIX}.index`;\nconst REVIEW_EDIT_ROUTE = `${ROUTE_PREFIX}.edit`;\nconst REVIEW_NO_OAUTH_ROUTE = `${ROUTE_PREFIX}.no-oauth`;\n\nconst isDraft = changeRequest => {\n  return changeRequest.get('state') === 'draft';\n};\n\nconst isInReview = changeRequest => {\n  return changeRequest.get('state') === 'in_review';\n};\n\nconst isActionRequired = changeRequest => {\n  return changeRequest.get('state') === 'action_required';\n};\n\nconst isInReviewOrActionRequired = changeRequest => {\n  let cr = changeRequest;\n  return isInReview(cr) || isActionRequired(cr);\n};\n\nconst modelHasDiff = (model, changeRequestModel) => {\n  if (isEmpty(changeRequestModel)) {\n    return false;\n  }\n\n  if (isEmpty(model)) {\n    return true;\n  } else {\n    return !isEmpty(diffCalculator(model, changeRequestModel));\n  }\n};\n\nconst appPackageHasChanges = (appPackage, changeRequest) => {\n  let ap = appPackage;\n  let crApc = changeRequest.get('appPackageConfig');\n  let appPackageNoDiff = !isEmpty(diffCalculator(ap, crApc));\n  let oauthClientNoDiff = !isEmpty(diffCalculator(ap.get('oauthClient'), crApc.get('oauthClient')));\n  let appStoreListingNoDiff = modelHasDiff(ap.get('appStoreListing'), crApc.get('appStoreListing'));\n  let messengerNoDiff = modelHasDiff(ap.get('messengerApp'), crApc.get('messengerApp'));\n  let inboxAppNoDiff = modelHasDiff(ap.get('inboxApp'), crApc.get('inboxApp'));\n  let startingGuideNoDiff = modelHasDiff(ap.get('startingGuide'), crApc.get('startingGuide'));\n  let conditions = [\n    appPackageNoDiff,\n    oauthClientNoDiff,\n    messengerNoDiff,\n    inboxAppNoDiff,\n    appStoreListingNoDiff,\n    startingGuideNoDiff,\n  ];\n  return conditions.some(x => x);\n};\n\nconst shouldDisplayChangeDiff = (route, appPackage, changeRequest) => {\n  let apHasChanges = appPackageHasChanges(appPackage, changeRequest);\n  if (route === REVIEW_SHOW_ROUTE) {\n    return apHasChanges && isInReviewOrActionRequired(changeRequest);\n  } else if (route === REVIEW_EDIT_ROUTE) {\n    return apHasChanges;\n  }\n};\n\nconst shouldDisplayDiscardButton = (appPackage, changeRequest) => {\n  if (isInReviewOrActionRequired(changeRequest)) {\n    return true;\n  }\n  return appPackageHasChanges(appPackage, changeRequest);\n};\n\nexport default function(appPackage) {\n  let ap = appPackage;\n  let cr = appPackage.get('changeRequest');\n  let crApc = cr.get('appPackageConfig');\n\n  if (!crApc.get('oauthClient.useOAuthFlow')) {\n    return {\n      routeTransition: REVIEW_NO_OAUTH_ROUTE,\n    };\n  } else if (isDraft(cr) || isActionRequired(cr)) {\n    return {\n      routeTransition: REVIEW_EDIT_ROUTE,\n      displayDiscardButton: shouldDisplayDiscardButton(ap, cr),\n      displayChangeDiff: shouldDisplayChangeDiff(REVIEW_EDIT_ROUTE, ap, cr),\n    };\n  }\n\n  return {\n    routeTransition: REVIEW_SHOW_ROUTE,\n    displayDiscardButton: shouldDisplayDiscardButton(ap, cr),\n    displayChangeDiff: shouldDisplayChangeDiff(REVIEW_SHOW_ROUTE, ap, cr),\n  };\n}\n","import moment from 'moment';\n\nconst SECONDS_IN = {\n  hour: 3600,\n  day: 3600 * 24,\n  week: 3600 * 24 * 7,\n  month: 3600 * 24 * 31,\n  semester: 3600 * 24 * 180,\n};\n\nfunction getFormats(duration) {\n  return {\n    default: {\n      options: {\n        trim: 'both',\n      },\n      template() {\n        switch (true) {\n          case duration < SECONDS_IN.hour:\n            return `m[m] s[s]`;\n          case duration < SECONDS_IN.day:\n            return `h[h] m[m]`;\n          case duration < SECONDS_IN.month:\n            return `d[d] h[h]`;\n          case duration < SECONDS_IN.semester:\n            return `M[mo] d[d]`;\n          default:\n            return 'Y[y] M[mo]';\n        }\n      },\n    },\n\n    'single-unit-hours': {\n      options: {\n        trim: 'both',\n        precision: duration < SECONDS_IN.day && duration > SECONDS_IN.hour ? 1 : 0, // show decimals for hours below a day\n      },\n      template() {\n        switch (true) {\n          case duration < SECONDS_IN.hour:\n            return `m [minutes]`;\n          default:\n            return `h [hours]`;\n        }\n      },\n    },\n\n    'unitless-hours': {\n      options: {\n        trim: 'both',\n        precision: duration < SECONDS_IN.hour ? 1 : 0, // show decimals for minutes below an hour\n      },\n      template() {\n        return `h`;\n      },\n    },\n  };\n}\n\nexport function formatSeconds(seconds, opts = {}) {\n  let { format = 'default', ...customOptions } = opts;\n  let { template, options } = getFormats(seconds)[format];\n\n  return moment\n    .duration(seconds, 'seconds')\n    .format(template, Object.assign({}, options, customOptions));\n}\n\nexport function formatMinutes(minutes) {\n  return formatSeconds(minutes * 60, { format: 'default' });\n}\n","import { isEmpty } from '@ember/utils';\n//TODO: POC - Move to embercom-core\nlet emailRegex = /[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0 -9])?/;\n\nfunction _indexOfAtSymbol(email) {\n  return email.lastIndexOf('@');\n}\n\nexport function isValidEmail(email) {\n  return isEmpty(email) ? false : emailRegex.test(email.toLowerCase());\n}\n\nexport function getUserName(email) {\n  if (isValidEmail(email)) {\n    return email.substring(0, _indexOfAtSymbol(email)).toLowerCase();\n  } else {\n    return '';\n  }\n}\n\nexport function getDomainName(email) {\n  if (isValidEmail(email)) {\n    return email.substring(_indexOfAtSymbol(email) + 1).toLowerCase();\n  } else {\n    return '';\n  }\n}\n","function getAppType() {\n  return window.__embercom_boot_data?.app_type || '';\n}\n\nexport function isBootedInPublicAppStoreMode() {\n  let appType = getAppType();\n  return appType === 'public_app_store';\n}\n\nexport function isBootedInPublicPage() {\n  let appType = getAppType();\n  return appType === 'public_app_store' || appType === 'public_meeting_scheduler';\n}\n\nexport function isBootedInMeetingScheduler() {\n  let appType = getAppType();\n  return appType === 'public_meeting_scheduler';\n}\n\nexport function publicPageRootUrl() {\n  return window.__embercom_boot_data?.public_page_config?.root_url;\n}\n\nexport function publicPageApiHost() {\n  return window.__embercom_boot_data?.public_page_config?.api_host;\n}\n\nexport function getApiHost() {\n  return isBootedInPublicPage() ? publicPageApiHost() : '';\n}\n\nexport function getApiUrl() {\n  return `${getApiHost()}/${getApiNamespace()}`;\n}\n\nexport function getApiNamespace() {\n  return isBootedInPublicPage() ? 'ember/public' : 'ember';\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-jquery */\nimport { Promise as EmberPromise } from 'rsvp';\nimport $ from 'jquery';\nimport intermoji from '@intercom/intermoji';\nimport { captureException } from 'embercom/lib/sentry';\n\nlet _hasNativeEmojiSupport;\nlet emoji = {};\n\nemoji.emojify = function(text) {\n  if (this.isAsciiSticker(text)) {\n    let ascii = this.Html2Text(text);\n    text = text.replace(ascii, intermoji.unicodeFromAscii(ascii));\n  }\n\n  return intermoji.splitOnUnicodeEmojis(text).reduce((prev, item) => {\n    try {\n      if (!this.hasNativeSupport() || intermoji.isUglyNativeEmoji(item)) {\n        prev += intermoji.fallbackImage(16, item);\n      } else {\n        prev += item;\n      }\n    } catch (e) {\n      prev += item;\n      captureException(e, {\n        fingerprint: ['emoji', 'emojify'],\n        extra: {\n          text,\n          item,\n        },\n      });\n    }\n    return prev;\n  }, '');\n};\n\nemoji.hasNativeSupport = function() {\n  if (_hasNativeEmojiSupport === undefined) {\n    _hasNativeEmojiSupport = intermoji.hasNativeSupport(document);\n  }\n  return _hasNativeEmojiSupport;\n};\n\nemoji.Html2Text = function(text) {\n  return $('<div>')\n    .html(text)\n    .text()\n    .trim();\n};\n\nemoji.isUnicodeSticker = function(text) {\n  return intermoji.isSupportedUnicode(this.Html2Text(text));\n};\n\nemoji.isAsciiSticker = function(text) {\n  return intermoji.isSupportedAscii(this.Html2Text(text));\n};\n\nemoji.isSticker = function(text) {\n  return this.isUnicodeSticker(text) || this.isAsciiSticker(text);\n};\n\nemoji.stickerUri = function(text) {\n  if (!this.isSticker(text)) {\n    return null;\n  }\n\n  let emoji = this.Html2Text(text);\n  if (this.isAsciiSticker(emoji)) {\n    emoji = intermoji.unicodeFromAscii(emoji);\n  }\n  return intermoji.twemojiSVGUri(emoji);\n};\n\nemoji.preloadSticker = function(text) {\n  return new EmberPromise(resolve => {\n    let img = new Image();\n    let stickerUri = this.stickerUri(text);\n    $(img).one('load error', function() {\n      $(this).off('load error');\n      resolve();\n    });\n    img.src = stickerUri;\n  });\n};\n\nexport default emoji;\n","/* From MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions */\n\nfunction escapeRegExp(string) {\n  return string.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n}\n\nexport default escapeRegExp;\n","// returns the parent element chain of DOM nodes from an event\n//\n// Event#path is supported in Chrome (non-standard)\n// Event#composedPath is supported in Firefox (standard)\n// IE11/Edge supports neither\nexport default function eventPath(e) {\n  if ('composedPath' in e) {\n    return e.composedPath();\n  }\n  if ('path' in e) {\n    return e.path;\n  }\n\n  let path = [];\n  let currentElem = e.target;\n  while (currentElem) {\n    path.push(currentElem);\n    currentElem = currentElem.parentElement;\n  }\n\n  if (path.indexOf(window) === -1 && path.indexOf(document) === -1) {\n    path.push(document);\n  }\n  if (path.indexOf(window) === -1) {\n    path.push(window);\n  }\n  return path;\n}\n","const DEFAULT_ATTRIBUTES = ['id', 'type'];\n\nexport default class EntityNode {\n  constructor(reference) {\n    this.id = reference.id;\n    this.value = reference.label;\n    this.type = reference.type;\n\n    let extraAttributes = Object.keys(reference).filter(\n      attribute => !DEFAULT_ATTRIBUTES.includes(attribute),\n    );\n    extraAttributes.forEach(attribute => {\n      this[attribute] = reference[attribute];\n    });\n  }\n}\n","import TextNode from './text-node';\nimport EntityNode from './entity-node';\nimport { captureException } from 'embercom/lib/sentry';\n\nclass EventTokenizer {\n  constructor(template, references) {\n    if (typeof template !== 'string') {\n      throw new Error('template needs to be string');\n    }\n    this.template = template;\n    this.references = references;\n    this.tokens = [];\n    this.cursor = 0;\n    this.state = 'text';\n    this.buffer = '';\n  }\n\n  tokenize() {\n    for (this.cursor = 0; this.cursor < this.template.length; this.cursor++) {\n      this[this.state]();\n    }\n    if (this.buffer.length > 0) {\n      this.tokens.push(new TextNode(this.buffer));\n    }\n    return this.tokens;\n  }\n\n  pushToken(token) {\n    this.tokens.push(token);\n    this.buffer = '';\n  }\n\n  addCurrentCharacterToBuffer() {\n    this.buffer += this.currentChar();\n  }\n\n  createEntityNode() {\n    if (this.references[this.buffer] === undefined) {\n      console.error(\n        `Could not find entity token with key '${this.buffer}' in event references ${JSON.stringify(\n          this.references,\n        )}`,\n      );\n      captureException(new Error('Could not find entity token in event references'), {\n        fingerprint: ['entity', 'token', 'event', 'references'],\n        extra: {\n          key: this.buffer,\n          template: this.template,\n          references: JSON.stringify(this.references),\n        },\n      });\n\n      return new EntityNode({ id: '', label: '', type: 'text', reference: this.buffer });\n    }\n    return new EntityNode({ ...this.references[this.buffer], reference: this.buffer });\n  }\n\n  text() {\n    if (this.currentChar() === '[') {\n      this.state = 'maybeEnteringEntity';\n    } else {\n      this.addCurrentCharacterToBuffer();\n    }\n  }\n\n  maybeEnteringEntity() {\n    if (this.currentChar() === '[') {\n      this.state = 'inEntity';\n      if (this.buffer.length > 0) {\n        this.pushToken(new TextNode(this.buffer));\n      }\n    } else {\n      this.buffer += '[';\n      this.addCurrentCharacterToBuffer();\n      this.state = 'text';\n    }\n  }\n\n  inEntity() {\n    if (this.currentChar() === ']') {\n      this.state = 'maybeLeavingEntity';\n    } else {\n      this.addCurrentCharacterToBuffer();\n    }\n  }\n\n  maybeLeavingEntity() {\n    if (this.currentChar() === ']') {\n      this.state = 'text';\n      if (this.buffer.length > 0) {\n        this.pushToken(this.createEntityNode());\n      }\n    } else {\n      this.addCurrentCharacterToBuffer();\n    }\n  }\n\n  currentChar() {\n    return this.template[this.cursor];\n  }\n}\n\nexport default EventTokenizer;\n","export default class TextNode {\n  constructor(value) {\n    this.value = value;\n    this.type = 'text';\n  }\n}\n","let excerpt = function(text, words) {\n  return text\n    .replace(/<(?:.|\\n)*?>/gm, '')\n    .trim()\n    .split(' ')\n    .slice(0, words)\n    .join(' ');\n};\n\nexport default excerpt;\n","import { get } from '@ember/object';\nimport { isPresent } from '@ember/utils';\nexport default function(response) {\n  if (typeof response !== 'object') {\n    return null;\n  } else if (isPresent(response.jqXHR) && isPresent(response.jqXHR.responseJSON?.errors)) {\n    return get(response, 'jqXHR.responseJSON.errors.firstObject');\n  } else if (isPresent(response.responseJSON)) {\n    return get(response, 'responseJSON.errors.firstObject');\n  } else if (isPresent(get(response, 'jqXHR.status'))) {\n    return { status: response.jqXHR.status };\n  } else {\n    return get(response, 'errors.firstObject');\n  }\n}\n","import ENV from 'embercom/config/environment';\n\nexport default function initFacebookSdk(fb) {\n  return fb.FBInit({\n    appId: ENV.APP.facebook.appId,\n    version: ENV.FB.version,\n    xfbml: true,\n  });\n}\n","import ajax from 'embercom/lib/ajax';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\nlet Facebook = {};\n\nFacebook.fetchPages = function(accessToken, nextCursor) {\n  return getEmberDataStore().queryRecord('facebook-integration', {\n    access_token: accessToken,\n    next_cursor: nextCursor,\n  });\n};\n\nFacebook.subscribe = function(appId, accessToken, pageId) {\n  return ajax({\n    url: '/ember/facebook_integration/subscribe.json',\n    type: 'post',\n    data: JSON.stringify({\n      app_id: appId,\n      access_token: accessToken,\n      page_id: pageId,\n    }),\n  });\n};\n\nFacebook.unsubscribe = function(appId, accessToken, pageId) {\n  return ajax({\n    url: '/ember/facebook_integration/unsubscribe.json',\n    type: 'post',\n    data: JSON.stringify({\n      app_id: appId,\n      access_token: accessToken,\n      page_id: pageId,\n    }),\n  });\n};\n\nFacebook.unsubscribeAll = function(appId) {\n  return ajax({\n    url: '/ember/facebook_integration/unsubscribe_all.json',\n    type: 'post',\n    data: JSON.stringify({\n      app_id: appId,\n    }),\n  });\n};\n\nexport default Facebook;\n","import ENV from 'embercom/config/environment';\n\nexport default class FaviconCounter {\n  hasLoaded = false;\n  base_favicon_image = null;\n  favicon_data_64 =\n    'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAADP0lEQVR4Ae2bA8wkSxSFn23btt+Lk2drbSNa27Zt27Zt27btb+esO907yKj+7TrJTQZ37j31zUyz6jaXCvJNINoEYmMgzgSCFB5nroylzaWx3VQFeSQQ3fWhWzy6a6xeg5+tBJ/EbAeEK1TwWXS/8T+PT+MbAWjjYwBtBWCjjwFsFIAzPgZwVgBIRtxdBNJ2UuhxEiHEuuA71eDvtvBoyeB5g5ciSXocNFe1VFO1jQbwbzs4dx6krQfhyTLeeY+VwiW95pX7VBnVQlJt9TAXwLDlOJS9u3feq5VxSa955KqGQ+phLICJa3Go4ICoAaiGQ+qRFAAPFE85AO4vFkMAdxWGQUvgwgXYuB/er2EugA9qyqO8yrO8Rw+A/9vjUI/5xgKQN4fkPWoAbgMGAIiyvwVgAVgAFoAFYAFYABaABWABWAAWgAVgAVgAFoAFECQsgCzdcGjQEmMByJtD8h41gEdKwqrdSJw6Cz80NxaAvMmjJM/yHj0Axb1F4buG8ExZ8+8LyKO8yrO9M2QBJBjAkGXBN0LR3xxVD4MB/NEazp5H0i0qnijtnfdceVzSa165qqFaoNrqYTAAxetV4KcW8FCJ4HkrdyFJehw0V7VUU7UNmSARfbxSCZpMVuix+VNkZJL7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Kq1m+pqWVmU6rZDqZAnvibJ4NBevJHJADAsV8cnVPcN7JDHA7cl1xHtaCMzN0e1UhGgLT3nWRlPsL5vM62dHWwdfFIm1ogE7afDjyor+QjX27bgyutrMiAUhLPj31EWN13JHqYnzrP92WcwdHlINfFdlwBzaU4eHkerHVypLi6GeHeqn5cHeylG72Wm2ks8EcP0BylVXPyGg1nOcGk2R3c9RX/4BKNHrvLtpHSi60HOzIb4c/oHTo8cwDVjnJq/g6+ft/llMcz7RyOMPLaIUc8z9Db0RDJ0P+zn+3QXfWtsyaBq/3U8VYk9mJSfainMR6eKGL4pXvwQckWT1G86+yTUCwuKmcuKnrtNLmUDpH4tsPuBuqWfz9/1wY/pBbZtqDG0o5lY6wpe2BrmzvgKTkzZbOp2uL0jKGR+dm2OcPC1NqbnbfRylk0bE0eZ/T1rvP7KE3vLn67Ojj4XVe0tfnVjJKGm3upU0Wa/uvBOQuU/WaXiUb/6ak+7Kn+xWvV2BfJP79w4pgqT7f8IMADiopHkAFTpuQAAAABJRU5ErkJggg==';\n  favicon_size = window.devicePixelRatio > 1 ? 64 : 16;\n  size_factor = window.devicePixelRatio > 1 ? 4 : 1;\n  pixelNumbers = {\n    0: [\n      [1, 1, 1],\n      [1, 0, 1],\n      [1, 0, 1],\n      [1, 0, 1],\n      [1, 1, 1],\n    ],\n    1: [\n      [0, 1, 0],\n      [1, 1, 0],\n      [0, 1, 0],\n      [0, 1, 0],\n      [1, 1, 1],\n    ],\n    2: [\n      [1, 1, 1],\n      [0, 0, 1],\n      [1, 1, 1],\n      [1, 0, 0],\n      [1, 1, 1],\n    ],\n    3: [\n      [1, 1, 1],\n      [0, 0, 1],\n      [0, 1, 1],\n      [0, 0, 1],\n      [1, 1, 1],\n    ],\n    4: [\n      [0, 0, 1],\n      [0, 1, 1],\n      [1, 0, 1],\n      [1, 1, 1],\n      [0, 0, 1],\n    ],\n    5: [\n      [1, 1, 1],\n      [1, 0, 0],\n      [1, 1, 1],\n      [0, 0, 1],\n      [1, 1, 1],\n    ],\n    6: [\n      [0, 1, 1],\n      [1, 0, 0],\n      [1, 1, 1],\n      [1, 0, 1],\n      [1, 1, 1],\n    ],\n    7: [\n      [1, 1, 1],\n      [0, 0, 1],\n      [0, 0, 1],\n      [0, 1, 0],\n      [0, 1, 0],\n    ],\n    8: [\n      [1, 1, 1],\n      [1, 0, 1],\n      [1, 1, 1],\n      [1, 0, 1],\n      [1, 1, 1],\n    ],\n    9: [\n      [1, 1, 1],\n      [1, 0, 1],\n      [1, 1, 1],\n      [0, 0, 1],\n      [1, 1, 0],\n    ],\n    '+': [\n      [0, 0, 0],\n      [0, 1, 0],\n      [1, 1, 1],\n      [0, 1, 0],\n      [0, 0, 0],\n    ],\n    k: [\n      [1, 0, 1],\n      [1, 1, 0],\n      [1, 1, 0],\n      [1, 0, 1],\n      [1, 0, 1],\n    ],\n  };\n\n  updateFaviconCounter(newValue) {\n    this._refreshFavicon(newValue);\n  }\n\n  resetFaviconCounter() {\n    if (this.base_favicon_image) {\n      this._updateFavicon(0);\n    }\n  }\n\n  _generateFavicon(counter) {\n    if (typeof counter === 'undefined') {\n      return;\n    } else if (typeof counter !== 'string') {\n      counter = counter.toString();\n    }\n\n    if (!this.textedCanvas) {\n      this.textedCanvas = [];\n    }\n\n    if (!this.textedCanvas[counter]) {\n      let textedCanvas = document.createElement('canvas');\n      textedCanvas.height = textedCanvas.width = this.favicon_size;\n      let context = textedCanvas.getContext('2d');\n      context.drawImage(this.base_favicon_image, 0, 0, this.favicon_size, this.favicon_size);\n\n      if (counter === '0') {\n        return textedCanvas.toDataURL('image/png');\n      }\n\n      context.fillStyle = '#fef4ac';\n      context.strokeStyle = '#dabc5c';\n      context.strokeWidth = 1;\n\n      let count = counter.length;\n      if (count > 4) {\n        counter = '1k+';\n        count = counter.length;\n      }\n\n      let counterHeight = this.pixelNumbers[0].length;\n      let counterWidth = 0;\n      let padding = count < 4 ? 1 : 0;\n      let topMargin = 0;\n      let index;\n\n      for (index = 0; index < count; ++index) {\n        counterWidth += this.pixelNumbers[counter[index]][0].length;\n        if (index < count - 1) {\n          counterWidth += padding;\n        }\n      }\n      counterWidth *= this.size_factor;\n      counterHeight *= this.size_factor;\n      counterWidth =\n        counterWidth > textedCanvas.width - 4 * this.size_factor\n          ? textedCanvas.width - 4 * this.size_factor\n          : counterWidth;\n      context.fillRect(\n        textedCanvas.width - counterWidth - 4 * this.size_factor,\n        topMargin,\n        counterWidth + 4 * this.size_factor,\n        counterHeight + 4 * this.size_factor,\n      );\n\n      let digit;\n      let digitsWidth = counterWidth;\n      for (index = 0; index < count; ++index) {\n        digit = counter[index];\n\n        if (this.pixelNumbers[digit]) {\n          let map = this.pixelNumbers[digit];\n          let height = map.length;\n          let width = map[0].length;\n\n          context.fillStyle = '#2c3323';\n\n          for (let y = 0; y < height; ++y) {\n            for (let x = 0; x < width; ++x) {\n              if (map[y][x]) {\n                context.fillRect(\n                  14 * this.size_factor - digitsWidth + x * this.size_factor,\n                  topMargin + (y + 2) * this.size_factor,\n                  this.size_factor,\n                  this.size_factor,\n                );\n              }\n            }\n          }\n          digitsWidth -= (width + padding) * this.size_factor;\n        }\n      }\n\n      context.strokeRect(\n        textedCanvas.width - counterWidth - 3.5 * this.size_factor,\n        topMargin + 0.5 * this.size_factor,\n        counterWidth + 3 * this.size_factor,\n        counterHeight + 3 * this.size_factor,\n      );\n      this.textedCanvas[counter] = textedCanvas;\n    }\n\n    return this.textedCanvas[counter].toDataURL('image/png');\n  }\n\n  _refreshFavicon(newValue) {\n    if (!this.hasLoaded) {\n      let image_data = this._getImageData();\n      this.base_favicon_image = new Image();\n      this.base_favicon_image.src = image_data;\n      this.base_favicon_image.addEventListener(\n        'load',\n        () => {\n          this._updateFavicon(newValue);\n          this.hasLoaded = true;\n        },\n        true,\n      );\n    } else {\n      this._updateFavicon(newValue);\n    }\n  }\n\n  _getImageData() {\n    let imageData = null;\n    if (ENV.environment === 'development') {\n      imageData = this.favicon_size === 16 ? this.favicon_dev_data_16 : this.favicon_dev_data_64;\n    } else {\n      imageData = this.favicon_size === 16 ? this.favicon_data_16 : this.favicon_data_64;\n    }\n    return imageData;\n  }\n\n  _updateFavicon(newValue) {\n    let faviconHref = this._generateFavicon(newValue);\n    let linkElements = document.querySelectorAll('link[rel=\"shortcut icon\"], link[rel=\"icon\"]');\n    Array.prototype.slice\n      .call(linkElements)\n      .forEach(linkElement => linkElement.setAttribute('href', faviconHref));\n  }\n}\n","export function getFreeFeatureLimits(app, canUseFree, featureId) {\n  if (!canUseFree) {\n    return null;\n  }\n  let featureObject = app.get('features').findBy('id', featureId);\n  if (!featureObject) {\n    return null;\n  }\n  return featureObject.get('limit');\n}\n\nexport function isFreeFeatureLimited(app, featureName) {\n  if (!app.get('canUseFree')) {\n    return false;\n  }\n  let feature = app.get('features').findBy('id', featureName);\n  return feature && feature.get('limited');\n}\n","import { isNone } from '@ember/utils';\nimport { A } from '@ember/array';\nimport { get } from '@ember/object';\nimport PredicateFilterMap from 'embercom/models/data/predicate-filter-map';\nimport BrowserLocales from 'embercom/lib/browser-locales';\nimport pluralise from 'embercom/lib/inflector';\nimport { IOS_DEVICES, IOS_VERSIONS } from 'predicates/models/data/ios';\nimport { CONVERSATION_RATINGS } from 'predicates/models/data/conversation-ratings';\nimport { getApp, getEmberDataStore } from 'embercom/lib/container-lookup';\nimport Admin from 'embercom/models/admin';\nimport { captureException } from 'embercom/lib/sentry';\nimport toSentence from 'embercom/lib/to-sentence';\n\nconst LABELS_BY_TYPE = {\n  ios_version: IOS_VERSIONS,\n  ios_device: IOS_DEVICES,\n  last_conversation_rating_given: CONVERSATION_RATINGS,\n};\n\nexport const USER_TYPES = {\n  user_role: 'User',\n  contact_role: 'Lead',\n  visitor_role: 'Visitor',\n};\n\nexport default {\n  getPredicateDescription(predicate, customFilterMap, showNoEventPrefix) {\n    try {\n      let eventPrefix = showNoEventPrefix ? '' : this.getUserEventPrefix(predicate);\n      return `${eventPrefix + this.getComparator(predicate, customFilterMap)} ${this.getValue(\n        predicate,\n        customFilterMap,\n      )}`.trim();\n    } catch (e) {\n      captureException(e, {\n        fingerprint: ['filters-to-text', 'getPredicateDescription'],\n        extra: {\n          predicate,\n        },\n      });\n      return '-';\n    }\n  },\n\n  isAnIncreaseDecrease(predicate) {\n    if (\n      get(predicate, 'comparison') === 'increase' ||\n      get(predicate, 'comparison') === 'decrease'\n    ) {\n      return true;\n    } else {\n      return false;\n    }\n  },\n\n  isADate(predicate) {\n    if (\n      get(predicate, 'type') === 'date' ||\n      get(predicate, 'type') === 'user_event_date' ||\n      get(predicate, 'attribute') === 'last_request_at'\n    ) {\n      return true;\n    } else {\n      return false;\n    }\n  },\n\n  isAbsoluteDate(predicate) {\n    if (get(predicate, 'type') === 'date' || get(predicate, 'type') === 'user_event_date') {\n      return typeof get(predicate, 'value') === 'object';\n    }\n    return false;\n  },\n\n  getComparator(predicate, customFilterMap) {\n    let filterMap = this.getFilterMap(customFilterMap);\n    if (this.isADate(predicate)) {\n      let date_type = this.isAbsoluteDate(predicate) ? 'absolute' : 'relative';\n      let filterMapDateReference =\n        filterMap.date !== undefined ? filterMap.date : filterMap.user_event_date;\n      let value = filterMapDateReference.comparison.findBy(\n        'value',\n        `${get(predicate, 'comparison')}:${date_type}`,\n      );\n      if (value === undefined) {\n        value = filterMapDateReference.comparison.findBy('value', get(predicate, 'comparison'));\n      }\n      return value.label;\n    } else if (['campaign_behavior', 'campaign_goal'].includes(get(predicate, 'type'))) {\n      return '';\n    } else if (this._isVisitorRolePredicate(predicate)) {\n      return 'is';\n    } else if (\n      get(predicate, 'type') === 'office_hours_schedule' ||\n      get(predicate, 'type') === 'rules_filters_apply_conversation_sla' ||\n      get(predicate, 'type') === 'rules_filters_mark_priority'\n    ) {\n      return '';\n    } else if (get(predicate, 'comparison') === 'in') {\n      return 'is';\n    } else if (get(predicate, 'comparison') === 'nin') {\n      return 'is not';\n    } else {\n      let options = filterMap[get(predicate, 'type')];\n      if (options) {\n        return options.comparison.findBy('value', get(predicate, 'comparison')).label;\n      } else {\n        let comparisonMap = {\n          gt: 'greater than',\n          lt: 'less than',\n          eq: 'is',\n          ne: 'is not',\n          known: 'has any value',\n          unknown: 'is unknown',\n        };\n        if (comparisonMap.hasOwnProperty(get(predicate, 'comparison'))) {\n          return comparisonMap[get(predicate, 'comparison')];\n        }\n        return get(predicate, 'comparison'); //TODO: GJ: better support for support events\n      }\n    }\n  },\n\n  getUserEventPrefix(predicate) {\n    if (get(predicate, 'attribute').indexOf('user_event') === 0) {\n      if (/\\.count$/.test(get(predicate, 'attribute'))) {\n        return 'count ';\n      } else if (get(predicate, 'attribute').endsWith('.first')) {\n        return 'first occurred ';\n      } else {\n        return 'last occurred ';\n      }\n    } else {\n      return '';\n    }\n  },\n\n  labelAsValueTypes: A(['ios_device', 'ios_version', 'last_conversation_rating_given']),\n\n  predicateHasCustomFilterToTextValue(filterMap, predicate) {\n    return !isNone(this.getPredicateCustomFilterToTextValue(filterMap, predicate));\n  },\n\n  getPredicateCustomFilterToTextValue(filterMap, predicate) {\n    return get(filterMap, `${get(predicate, 'type')}.value`);\n  },\n\n  getValue(predicate, customFilterMap) {\n    let filterMap = this.getFilterMap(customFilterMap);\n    if (get(predicate, 'comparison') === 'unknown' || get(predicate, 'comparison') === 'known') {\n      return '';\n    } else if (this.isADate(predicate) && !this.isAnIncreaseDecrease(predicate)) {\n      if (this.isAbsoluteDate(predicate)) {\n        let filterMapDateReference =\n          filterMap.date !== undefined ? filterMap.date : filterMap.user_event_date;\n        return `${\n          filterMapDateReference.months.findBy('value', parseInt(get(predicate, 'value').month, 10))\n            .label\n        } ${get(predicate, 'value').day}, ${get(predicate, 'value').year}`;\n      } else {\n        return parseInt(get(predicate, 'value'), 10) === 1\n          ? `${get(predicate, 'value')} day ago`\n          : `${get(predicate, 'value')} days ago`;\n      }\n    } else if (this._isVisitorRolePredicate(predicate)) {\n      return 'Visitor';\n    } else if (get(predicate, 'type') === 'anonymous') {\n      return get(predicate, 'comparison') === 'true' ? 'Lead' : 'User';\n    } else if (get(predicate, 'type') === 'role') {\n      let roleValue = get(predicate, 'value');\n      if (get(predicate, 'comparison') === 'in') {\n        let roleLabels = roleValue.map(value => {\n          return USER_TYPES[value] || roleValue;\n        });\n        return toSentence(roleLabels, 'or');\n      } else {\n        return USER_TYPES[roleValue] || roleValue;\n      }\n    } else if (this.labelAsValueTypes.includes(get(predicate, 'type'))) {\n      return LABELS_BY_TYPE[get(predicate, 'type')].findBy('value', get(predicate, 'value')).label;\n    } else if (\n      get(predicate, 'type') === 'manual_tag' ||\n      get(predicate, 'type') === 'rules_filters_manual_tag'\n    ) {\n      let tag = getEmberDataStore().peekRecord('tag', predicate.value);\n      return tag ? tag.name : '-';\n    } else if (\n      get(predicate, 'type') === 'owner_id' ||\n      get(predicate, 'type') === 'rules_filters_assign_to' ||\n      get(predicate, 'type') === 'team_assignee_id' ||\n      get(predicate, 'type') === 'admin_assignee_id'\n    ) {\n      let admin = Admin.peekAndMaybeLoad(getEmberDataStore(), get(predicate, 'value'));\n      if (getApp().canAssignToTeamAndTeammate && admin.isUnassignedAdmin) {\n        return 'None';\n      } else {\n        return admin.get('name');\n      }\n    } else if (get(predicate, 'type') === 'account_id') {\n      return getEmberDataStore()\n        .peekRecord('account', get(predicate, 'value'))\n        .get('name');\n    } else if (get(predicate, 'type') === 'url_visit') {\n      return get(predicate, 'value.count');\n    } else if (get(predicate, 'type') === 'plan') {\n      return getApp().plans.findBy('id', get(predicate, 'value')).name;\n    } else if (get(predicate, 'type') === 'tag' || get(predicate, 'type') === 'company_tag') {\n      return getApp().segments.findBy('id', get(predicate, 'value')).name;\n    } else if (get(predicate, 'type') === 'campaign_behavior') {\n      let campaignMessageGroupId = get(predicate, 'value');\n      // we assume that the Ember data store has already loaded the relevant campaign\n      let campaigns = getEmberDataStore()\n        .peekAll('campaign')\n        .toArray();\n      for (let campaign of campaigns) {\n        let message = campaign.messages.findBy('campaignMessageGroupId', campaignMessageGroupId);\n        if (message) {\n          return message.title;\n        }\n      }\n      return '-';\n    } else if (\n      get(predicate, 'comparison') === 'increase' ||\n      get(predicate, 'comparison') === 'decrease'\n    ) {\n      return '';\n    } else if (\n      get(predicate, 'type') === 'boolean' ||\n      get(predicate, 'type') === 'campaign_goal' ||\n      get(predicate, 'value') === undefined ||\n      get(predicate, 'value') === null\n    ) {\n      return '';\n    } else if (get(predicate, 'type') === 'campaign_behavior') {\n      return get(predicate, 'value_description');\n    } else if (get(predicate, 'type') === 'browser_locale') {\n      return BrowserLocales[get(predicate, 'value')];\n    } else if (get(predicate, 'type') === 'duration_integer') {\n      return `${get(predicate, 'value')} ${pluralise('second', get(predicate, 'value'))}`;\n    } else if (get(predicate, 'type') === 'office_hours_schedule') {\n      let scheduleId = get(predicate, 'value');\n      // we assume that the Ember data store has already loaded the relevant office hours schedules.\n      let schedules = getEmberDataStore()\n        .peekAll('office-hours-schedule')\n        .toArray();\n      let schedule = schedules.findBy('id', scheduleId);\n      if (schedule) {\n        return `${schedule.name} office hours`;\n      }\n      return '-';\n    } else if (get(predicate, 'type') === 'rules_filters_apply_conversation_sla') {\n      let slaId = get(predicate, 'value');\n      let slas = getEmberDataStore()\n        .peekAll('inbox/conversation-sla')\n        .toArray();\n      let sla = slas.findBy('id', slaId);\n      if (sla) {\n        return sla.name;\n      }\n      return '-';\n    } else if (get(predicate, 'type') === 'conversation_attribute_list') {\n      let attributeListOption = getEmberDataStore().peekRecord(\n        'conversation-attributes/list-option',\n        get(predicate, 'value'),\n      );\n      return attributeListOption.label;\n    } else if (this.predicateHasCustomFilterToTextValue(filterMap, predicate)) {\n      return this.getPredicateCustomFilterToTextValue(filterMap, predicate);\n    } else {\n      return get(predicate, 'value');\n    }\n  },\n\n  getFilterMap(customFilterMap) {\n    return customFilterMap || PredicateFilterMap;\n  },\n\n  _isVisitorRolePredicate(predicate) {\n    return (\n      get(predicate, 'type') === 'role' &&\n      get(predicate, 'comparison') === 'ne' &&\n      get(predicate, 'value') === 'user_role'\n    );\n  },\n};\n","export default function(array, mapByKey) {\n  let arrayOfArrays = array.mapBy(mapByKey);\n\n  return arrayOfArrays.reduce(function(initial, current) {\n    return initial.concat(current.toArray());\n  }, []);\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nexport function postNewTab(url, params = {}) {\n  let form = generateForm(url, params);\n  document.body.appendChild(form);\n  form.submit();\n  document.body.removeChild(form);\n}\n\nexport function generateForm(url, params) {\n  let form = document.createElement('form');\n  form.setAttribute('target', '_blank');\n  form.setAttribute('method', 'post');\n  form.setAttribute('action', url);\n  let input = document.createElement('input');\n  input.type = 'hidden';\n  input.name = 'authenticity_token';\n  input.value = $('meta[name=\"csrf-token\"]').attr('content');\n  form.appendChild(input);\n\n  Object.keys(params).forEach(key => {\n    let input = document.createElement('input');\n    input.type = 'hidden';\n    input.name = key;\n    input.value = params[key];\n    form.appendChild(input);\n  });\n  return form;\n}\n","import moment from 'moment';\n\nexport default function formatTimeZoneToUTC(timezone) {\n  return moment\n    .tz(timezone)\n    .format('[UTC]Z')\n    .replace(/0(\\d:)/, '$1')\n    .replace(':00', '');\n}\n","import relativeTime from 'embercom/lib/relative-time';\n\nlet fullRelativeTimeAgo = function(dateString) {\n  return relativeTime(dateString, 'en-full-relative-time-ago');\n};\n\nexport default fullRelativeTimeAgo;\n","import relativeTime from 'embercom/lib/relative-time';\n\nlet fullRelativeTime = function(dateString) {\n  return relativeTime(dateString, 'en-full-relative-time');\n};\n\nexport default fullRelativeTime;\n","define(\"embercom/lib/graph-editor/user-agent-detector\", [\"exports\", \"graph-editor/lib/graph-editor/user-agent-detector\"], function (_exports, _userAgentDetector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _userAgentDetector.default;\n    }\n  });\n});\n","define(\"embercom/lib/graph-editor/wheel-event-decoder\", [\"exports\", \"graph-editor/lib/graph-editor/wheel-event-decoder\"], function (_exports, _wheelEventDecoder) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _wheelEventDecoder.default;\n    }\n  });\n});\n","export const MARKETO_FORM_IDS = {\n  trialSignupStart: 1037,\n  trialSignupAppCreated: 1039,\n  trialSignupEnd: 1038,\n  earlyStage: 1041,\n  escapeHatch: 1312,\n  developerSignup: 1425,\n  addOns: 1507,\n};\nexport const MARKETO_ACCOUNT_ID = '258-CLW-344';\n\nexport const MARKETO_URL = '//app-ab27.marketo.com';\n","export default {\n  web: [\n    {\n      key: 'javascript',\n      name: 'Basic JavaScript',\n      description: 'For websites and web apps with full-page refreshes',\n    },\n    {\n      key: 'single_page',\n      name: 'Single-page apps',\n      description: 'For web apps built with asynchronous JavaScript',\n    },\n    {\n      key: 'rails',\n      name: 'Ruby on Rails',\n      description: 'Ruby gem for websites and web apps built with Rails',\n    },\n  ],\n  mobile: [\n    {\n      key: 'ios',\n      name: 'iOS',\n      description: 'Cocoapods, Carthage, or manual install for iOS apps',\n    },\n    {\n      key: 'android',\n      name: 'Android',\n      description: 'For Android apps, install with or without push notifications',\n    },\n    {\n      key: 'cordova',\n      name: 'Cordova/PhoneGap',\n      description: 'For apps built with Cordova or PhoneGap framework',\n    },\n  ],\n  thirdParty: [\n    {\n      key: 'segment',\n      name: 'Segment',\n      description: 'Integrate Intercom in a web or mobile Segment source',\n    },\n    {\n      key: 'wordpress',\n      name: 'WordPress',\n      description: 'Intercom plugin for WordPress websites',\n    },\n    {\n      key: 'shopify',\n      name: 'Shopify',\n      description: 'Intercom plugin for Shopify stores',\n    },\n  ],\n  integration: [\n    {\n      key: 'segment',\n      name: 'Segment',\n      description: 'Sync user data from your Segment resources',\n    },\n    {\n      key: 'stripe',\n      name: 'Stripe',\n      description: 'Sync user data and attributes from Stripe',\n    },\n    {\n      key: 'mailchimp',\n      name: 'Mailchimp',\n      description: 'Sync your Mailchimp mailing lists with Intercom',\n    },\n  ],\n};\n","// @ts-check\nimport EmberObject from '@ember/object';\n\n/**\n * @typedef {object} ScriptDataBaseType\n *\n * @property {boolean} hasTransitionalScript\n * @property {(options: object) => Array<string>} generateScript\n * @property {(options: object) => Array<string>} generateTransitionalScript\n */\n/** @type ScriptDataBaseType */\nconst ScriptDataBase = {\n  hasTransitionalScript: false,\n  generateScript(options = {}) {\n    return [];\n  },\n  generateTransitionalScript(options = {}) {\n    return [];\n  },\n};\n\n/** @typedef {InstanceType<typeof ScriptData>} ScriptDataInstanceType */\nconst ScriptData = EmberObject.extend(ScriptDataBase);\n\nexport default {\n  welcomeOnboardAndEngage: ScriptData.create({\n    generateScript(options = {}) {\n      return [\n        `Hi there, ${options.adminName}! Let’s get you set up`,\n        `to talk to your customers. As you follow this guide,`,\n        `chat with us anytime to get extra help or tips.`,\n      ];\n    },\n  }),\n  welcomeCaptureAndConvert: ScriptData.create({\n    generateScript(options = {}) {\n      return [\n        `Hi, ${options.adminName}! I’m Phil from Intercom.`,\n        `I’m here to help you get set up to`,\n        `capture leads and increase sales. Let’s go!`,\n      ];\n    },\n  }),\n  welcomeSupportAndRetain: ScriptData.create({\n    generateScript(options = {}) {\n      return [\n        `Hi, ${options.adminName}! I’m Phil from Intercom.`,\n        `I'm here to help you get set up quickly to`,\n        `support your customers. Let's go!`,\n      ];\n    },\n  }),\n  welcomeAll: ScriptData.create({\n    generateScript(options = {}) {\n      return [\n        `Hi, ${options.adminName}! I’m Phil from Intercom.`,\n        `I’m here to help you get set up to`,\n        `build relationships with your customers. Let's go!`,\n      ];\n    },\n  }),\n  buildOnTheBasics: ScriptData.create({\n    hasTransitionalScript: true,\n    generateTransitionalScript(options = {}) {\n      return [`Great job, ${options.adminName}!`];\n    },\n    generateScript(options = {}) {\n      return [\n        `You’ve got this!`,\n        `Continue building on the basics `,\n        `to get the most out of Intercom.`,\n      ];\n    },\n  }),\n  allStepsFinished: ScriptData.create({\n    hasTransitionalScript: true,\n    generateTransitionalScript(options = {}) {\n      return [`Great job, ${options.adminName}!`];\n    },\n    generateScript(options = {}) {\n      return [`Congrats! You’re up and running with Intercom.`];\n    },\n  }),\n  testApp: ScriptData.create({\n    generateScript(options = {}) {\n      return [\n        `Hi ${options.adminName}, welcome to your test workspace!`,\n        `Head back to your main app to`,\n        `learn more about Intercom any time.`,\n      ];\n    },\n  }),\n  masterIntercom: ScriptData.create({\n    generateScript(options = {}) {\n      return [\n        'You’re on a roll!',\n        'Keep going to master Intercom for your',\n        'needs, and remember – we’re here to help!',\n      ];\n    },\n  }),\n  convertVisitorsToLeads: ScriptData.create({\n    generateTransitionalScript(options = {}) {\n      return [`Great job, ${options.adminName}!`];\n    },\n    generateScript(options = {}) {\n      return [\n        'Now I’ll show you how to',\n        'convert visitors to leads',\n        'before they leave your site.',\n      ];\n    },\n  }),\n  supportYourCustomers: ScriptData.create({\n    generateScript(options = {}) {\n      return ['Now you’re all set to', 'support your customers.'];\n    },\n  }),\n};\n","import {\n  ONBOARD_AND_ENGAGE,\n  CAPTURE_AND_CONVERT,\n  SUPPORT_AND_RETAIN,\n  ALL_OF_INTERCOM,\n  ONBOARD_AND_ENGAGE_VBP,\n  CAPTURE_AND_CONVERT_VBP,\n  SUPPORT_AND_RETAIN_VBP,\n  ALL_OF_INTERCOM_VBP,\n} from './guides';\n\nconst FOOTER_CONTENT = {\n  [ALL_OF_INTERCOM]: {\n    helpCenterUrl: 'https://www.intercom.com/help/',\n    customerStory: {\n      title: 'Threadbeast’s customer story',\n      description: 'How multi-channel support boosted their conversion',\n      url: 'https://www.intercom.com/customers/threadbeast',\n    },\n    videos: {\n      url: 'https://academy.intercom.com/',\n      description:\n        'Check out best practices and level up content for your sales and support teams.',\n      images: {\n        '1x': '/assets/images/onboarding/home/footer/all_of_intercom.jpg',\n        '2x': '/assets/images/onboarding/home/footer/all_of_intercom@2x.jpg',\n      },\n    },\n  },\n  [ONBOARD_AND_ENGAGE]: {\n    helpCenterUrl: 'https://www.intercom.com/help/',\n    customerStory: {\n      title: 'Frame.io’s customer story',\n      description: 'How proactive messages fuel growth and customer loyalty',\n      url: 'https://www.intercom.com/customers/frame-io',\n    },\n    videos: {\n      url: 'https://www.intercom.com/watch-a-demo/onboard-engage',\n      description:\n        'Send targeted messages and tours to onboard new users, increase engagement and announce new features.',\n      images: {\n        '1x': '/assets/images/onboarding/home/footer/onboard_engage.jpg',\n        '2x': '/assets/images/onboarding/home/footer/onboard_engage@2x.jpg',\n      },\n    },\n  },\n  [CAPTURE_AND_CONVERT]: {\n    helpCenterUrl: 'https://www.intercom.com/help/',\n    customerStory: {\n      title: 'Envoy’s customer story',\n      description: 'How live chat generates 33% of their qualified pipeline',\n      url: 'https://www.intercom.com/customers/envoy',\n    },\n    videos: {\n      url: 'https://academy.intercom.com/become-an-sdr-pro',\n      description:\n        'Shorten your time to close, with level up content and best practices for you and your sales team.',\n      images: {\n        '1x': '/assets/images/onboarding/home/footer/capture_convert.jpg',\n        '2x': '/assets/images/onboarding/home/footer/capture_convert@2x.jpg',\n      },\n    },\n  },\n  [SUPPORT_AND_RETAIN]: {\n    helpCenterUrl: 'https://www.intercom.com/help/',\n    customerStory: {\n      title: 'Keen’s customer story',\n      description: 'How live chat and help articles cut support time by 30%',\n      url: 'https://www.intercom.com/customers/keen-io',\n    },\n    videos: {\n      url:\n        'https://academy.intercom.com/for-support-team-managers-build-an-effective-live-chat-support-team',\n      description: 'Learn the skills to build an effective live chat support team.',\n      images: {\n        '1x': '/assets/images/onboarding/home/footer/support_retain.jpg',\n        '2x': '/assets/images/onboarding/home/footer/support_retain@2x.jpg',\n      },\n    },\n  },\n};\n\nFOOTER_CONTENT[ONBOARD_AND_ENGAGE_VBP] = FOOTER_CONTENT[ONBOARD_AND_ENGAGE];\nFOOTER_CONTENT[CAPTURE_AND_CONVERT_VBP] = FOOTER_CONTENT[CAPTURE_AND_CONVERT];\nFOOTER_CONTENT[SUPPORT_AND_RETAIN_VBP] = FOOTER_CONTENT[SUPPORT_AND_RETAIN];\nFOOTER_CONTENT[ALL_OF_INTERCOM_VBP] = FOOTER_CONTENT[ALL_OF_INTERCOM];\n\nexport default FOOTER_CONTENT;\n","export const ONBOARD_AND_ENGAGE = 'onboard_and_engage';\nexport const CAPTURE_AND_CONVERT = 'capture_and_convert';\nexport const SUPPORT_AND_RETAIN = 'support_and_retain';\nexport const ALL_OF_INTERCOM = 'all_of_intercom';\nexport const ONBOARD_AND_ENGAGE_VBP = 'onboard_and_engage_vbp';\nexport const CAPTURE_AND_CONVERT_VBP = 'capture_and_convert_vbp';\nexport const SUPPORT_AND_RETAIN_VBP = 'support_and_retain_vbp';\nexport const ALL_OF_INTERCOM_VBP = 'all_of_intercom_vbp';\n","export default {\n  trackCustomerData: {\n    analyticsContext: 'track_customer_data',\n    title: 'Target your messages with data',\n    videoId: 'h9mdoap40l',\n  },\n  onboardAndEngage: {\n    analyticsContext: 'import_customer_data',\n    title: 'Import your existing users and leads',\n    videoId: 'q30x6veaok',\n  },\n  supportAndRetain: {\n    analyticsContext: 'manage_your_inbox',\n    title: 'Manage your Inbox',\n    videoId: 'oiegig49sq',\n  },\n};\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\n\nconst LevelData = EmberObject.extend({\n  init() {\n    this._super(...arguments);\n    if (!(this.title && this.icon)) {\n      throw new Error('Level Data requires a title and icon');\n    }\n  },\n\n  title: null,\n  icon: null,\n  showTimeToComplete: true,\n});\n\nexport default {\n  get_started_with_intercom: LevelData.create({\n    title: 'Get to know Intercom',\n    icon: 'conversation',\n  }),\n  get_started_with_intercom_for_capture_and_convert: LevelData.create({\n    title: 'Get to know Intercom',\n    icon: 'conversation',\n  }),\n  get_started_with_intercom_without_inbox: LevelData.create({\n    title: 'Get to know Intercom',\n    icon: 'conversation',\n  }),\n  set_up_messenger: LevelData.create({\n    title: 'Get ready to chat',\n    icon: 'messenger',\n  }),\n  set_up_messenger_personalized: LevelData.create({\n    title: 'Get ready to chat with your customers',\n    icon: 'messenger',\n  }),\n  set_up_messenger_for_capture_and_convert_personalized: LevelData.create({\n    title: 'Get ready to chat with leads',\n    icon: 'messenger',\n  }),\n  set_up_messenger_for_onboard_and_engage: LevelData.create({\n    title: 'Get ready to chat',\n    icon: 'messenger',\n  }),\n  set_up_messenger_for_support_and_retain: LevelData.create({\n    title: 'Get ready to use chat to support your customers',\n    icon: 'messenger',\n  }),\n  set_up_messenger_for_logged_in_users_with_product_tours: LevelData.create({\n    title: 'Get ready to talk to your customers',\n    icon: 'messenger',\n  }),\n  first_impressions: LevelData.create({\n    title: 'Make a good first impression on customers',\n    icon: 'acquire',\n  }),\n  track_data: LevelData.create({\n    title: 'Understand who uses your website or app',\n    icon: 'lead-qualification',\n  }),\n  track_data_2: LevelData.create({\n    title: 'Get set up for targeting and personalization',\n    icon: 'lead-qualification',\n  }),\n  integrate_with_tools: LevelData.create({\n    title: 'Integrate with other tools',\n    icon: 'app-store',\n  }),\n  integrate_with_tools_lite: LevelData.create({\n    title: 'Integrate with other tools',\n    icon: 'app-store',\n  }),\n  integrate_with_tools_2: LevelData.create({\n    title: 'Integrate with other tools',\n    icon: 'app-store',\n  }),\n  manage_your_conversations: LevelData.create({\n    title: 'Set up your Inbox to manage your conversations',\n    icon: 'conversation',\n  }),\n  manage_your_conversations_for_support_and_retain: LevelData.create({\n    title: 'Set up your Inbox and consolidate channels',\n    icon: 'conversation',\n  }),\n  manage_your_conversations_vbp: LevelData.create({\n    title: 'Set up your Inbox to manage your conversations',\n    icon: 'conversation',\n  }),\n  setup_test_messenger: LevelData.create({\n    title: 'Test your messenger in development',\n    icon: 'messenger',\n  }),\n  convert_visitors_to_leads: LevelData.create({\n    title: 'Convert visitors to leads or customers',\n    icon: 'acquire',\n  }),\n  convert_visitors_to_leads_vbp: LevelData.create({\n    title: 'Convert visitors to leads or customers',\n    icon: 'acquire',\n  }),\n  product_tours: LevelData.create({\n    title: 'Onboard your users with Product Tours',\n    icon: 'product-tours-list',\n  }),\n  series: LevelData.create({\n    title: 'Orchestrate your messages with Series',\n    icon: 'series',\n  }),\n  turn_website_visitors_into_leads: LevelData.create({\n    title: 'Turn website visitors into leads',\n    icon: 'acquire',\n  }),\n  turn_website_visitors_into_leads_vbp: LevelData.create({\n    title: 'Turn website visitors into leads',\n    icon: 'acquire',\n  }),\n  engage_with_leads_before_they_leave: LevelData.create({\n    title: 'Engage with leads before they leave your site',\n    icon: 'conversation',\n  }),\n  grow_your_sales_pipeline: LevelData.create({\n    title: 'Grow your sales pipeline',\n    icon: 'goal',\n  }),\n  support_and_retain_users: LevelData.create({\n    title: 'Optimize your workflows for faster resolutions',\n    icon: 'conversation',\n  }),\n  support_and_retain_users_vbp: LevelData.create({\n    title: 'Optimize your workflows for faster resolutions',\n    icon: 'conversation',\n  }),\n  give_better_support_with_articles: LevelData.create({\n    title: 'Provide self-serve support with Articles',\n    icon: 'collection',\n  }),\n  unlock_potential_with_apps_for_all_of_intercom_personalized: LevelData.create({\n    title: 'Use apps to make workflows easier and faster',\n    icon: 'app-store',\n  }),\n  unlock_potential_with_apps_for_support_and_retain_personalized: LevelData.create({\n    title: 'Use apps to make workflows easier and faster',\n    icon: 'app-store',\n  }),\n  unlock_potential_with_apps_for_capture_and_convert: LevelData.create({\n    title: 'Use apps to make workflows easier and faster',\n    icon: 'app-store',\n  }),\n  unlock_potential_with_apps_for_onboard_and_engage: LevelData.create({\n    title: 'Use apps to make workflows easier and faster',\n    icon: 'app-store',\n  }),\n  send_targeted_outbound_messages: LevelData.create({\n    title: 'Send targeted outbound messages',\n    icon: 'acquire',\n  }),\n};\n","import ENV from 'embercom/config/environment';\n\nconst DEFAULT_DELAY = ENV.APP._1000MS;\n\nexport async function scrollToLevel(levelIdentifier, delay = DEFAULT_DELAY) {\n  await new Promise(resolve => setTimeout(resolve, delay));\n  let element = document.querySelector(`[data-accordion-section=${levelIdentifier}]`);\n  if (element && shouldScrollToElement(element)) {\n    element.scrollIntoView({ behavior: 'smooth', block: 'start' });\n  }\n}\n\nfunction shouldScrollToElement(element) {\n  let middleOfScreen = window.innerHeight / 2;\n  let topOfLevel = element.getBoundingClientRect().top;\n  return topOfLevel > middleOfScreen || topOfLevel < 0;\n}\n","import {\n  ONBOARD_AND_ENGAGE,\n  CAPTURE_AND_CONVERT,\n  SUPPORT_AND_RETAIN,\n  ALL_OF_INTERCOM,\n  ONBOARD_AND_ENGAGE_VBP,\n  CAPTURE_AND_CONVERT_VBP,\n  SUPPORT_AND_RETAIN_VBP,\n  ALL_OF_INTERCOM_VBP,\n} from './guides';\n\n// When the escape hatch is active, we want to rename the first section to just Quick start guide\nexport const FORCE_ALL_GUIDE_HEADER = 'Quick start guide';\n\nexport const SECTION_HEADERS = {\n  [ONBOARD_AND_ENGAGE]: {\n    0: 'Your quick start guide',\n    1: 'Send messages and onboard customers',\n    2: 'Boost your efficiency',\n  },\n  [CAPTURE_AND_CONVERT]: {\n    0: 'Your quick start guide',\n    1: 'Capture leads to win new customers',\n    2: 'Work smarter with apps and data',\n  },\n  [SUPPORT_AND_RETAIN]: {\n    0: 'Your quick start guide',\n    1: 'Deliver great, personal customer support at scale',\n    2: 'Work smarter with apps and data',\n  },\n  [ALL_OF_INTERCOM]: {\n    0: 'Your quick start guide',\n    1: 'Win customers and send messages',\n    2: 'Deliver great, personal customer support at scale',\n    3: 'Connect with other tools to boost your efficiency',\n  },\n};\n\nSECTION_HEADERS[ONBOARD_AND_ENGAGE_VBP] = SECTION_HEADERS[ONBOARD_AND_ENGAGE];\nSECTION_HEADERS[CAPTURE_AND_CONVERT_VBP] = SECTION_HEADERS[CAPTURE_AND_CONVERT];\nSECTION_HEADERS[SUPPORT_AND_RETAIN_VBP] = SECTION_HEADERS[SUPPORT_AND_RETAIN];\nSECTION_HEADERS[ALL_OF_INTERCOM_VBP] = SECTION_HEADERS[ALL_OF_INTERCOM];\n\nexport function sectionHeadersForGuide(guideIdentifier) {\n  return SECTION_HEADERS[guideIdentifier] || SECTION_HEADERS[ALL_OF_INTERCOM];\n}\nexport function sectionHeader(guideIdentifier, sectionNumber, forceAllGuide = false) {\n  if (Number(sectionNumber) === 0 && forceAllGuide) {\n    return FORCE_ALL_GUIDE_HEADER;\n  }\n  return sectionHeadersForGuide(guideIdentifier)[sectionNumber];\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport ajax from 'embercom/lib/ajax';\nimport ScriptData from 'embercom/lib/home/guide-assistant-scripts';\nimport { AUDIENCE } from 'embercom/lib/messenger/installation-constants';\nimport { updateMessageCountsForAppAndType } from 'embercom/lib/messages/message-counts';\nimport RouteRegexes from 'embercom/lib/route-regexes';\nimport Message from 'embercom/models/message';\nimport {\n  CAPTURE_AND_CONVERT,\n  CAPTURE_AND_CONVERT_VBP,\n  ONBOARD_AND_ENGAGE,\n  ONBOARD_AND_ENGAGE_VBP,\n  SUPPORT_AND_RETAIN,\n  SUPPORT_AND_RETAIN_VBP,\n} from './guides';\n\n/** @typedef {import('embercom/lib/home/guide-assistant-scripts').ScriptDataInstanceType} ScriptDataInstanceType */\n\n/**\n * @typedef {object} StepDataType\n *\n * @property {string} [identifier] step identifier\n * @property {string} [subtitle] ???\n * @property {string} title The title of the step shown in the accordion's header\n * @property {string} componentName The path to the component that will be used for the component's body. These usually live in `onboarding/home/steps/`\n * @property {number} timeToCompleteInMinutes How many minutes will it take someone to finish this step? Levels aggregate the time of the steps they contain and show an estimate time to completion in the accordion's header\n * @property {function} getModelData A function that returns the data the step needs to render its inline content. It might be hardcoded data or make network calls to load models from the backend.\n * @property {function} generateGuideAssistantScript A function that returns an object defined in `lib/home/guide-assistant-scripts` that controls what the Phil head in home says as the step is progressed\n * @property {object} bannerText An object containing strings used in Onboarding Home banners\n * @property {string} [bannerText.available] Used by the `onboarding/home/banners/step-available` component. *Only a few*  components are _important_ enough to activation that we would push them. If adding this to a new step, reach out to #team-activation.\n * @property {string} [bannerText.completed] Only for external steps. Used by `onboarding/home/banners/step-completed` and `onboarding/home/banners/level-completed` when the step is completed.\n * @property {string} [bannerText.inProgress] Only for external steps. Used by `onboarding/home/banners/step-in-progress` when the external step is active.\n * @property {number} productTourId Only for external steps. The id of the product tour that corresponds to the product tour. You can find this in the product tours UI.\n * @property {RegExp} tourInProgressRoutes Only for external steps. This regular expression defines the routes that an external step is valid in. If this property is defined we'll automatically disable external step mode when the teammate navigates to a route that doesn't match this regexp.\n * @property {boolean} productTourCompletesStep Only for external steps. If true, the step will be automatically completed when the tour associated with the step ends.\n */\n/** @type StepDataType */\nconst StepDataBase = {\n  title: null,\n  componentName: null,\n  timeToCompleteInMinutes: 0,\n  getModelData: null,\n  loadModelDataOnDemand: false,\n  generateGuideAssistantScript(guideIdentifier) {\n    return null;\n  },\n  bannerText: null,\n  productTourId: null,\n  productTourCompletesStep: false,\n  tourInProgressRoutes: new RegExp(''),\n};\n\nconst StepData = EmberObject.extend(StepDataBase, {\n  init() {\n    this._super(...arguments);\n    if (!(this.title && this.componentName && this.generateGuideAssistantScript)) {\n      throw new Error(\n        'StepData requires a title, componentName, and generateGuideAssistantScript function',\n      );\n    }\n  },\n});\n\nlet getPrecannedMessages = async (store, app) => {\n  let response = await Message.getOnboardingHomeMessages(app.id);\n  let rulesets = [];\n\n  if (response.chat_ruleset) {\n    rulesets.push(response.chat_ruleset);\n  }\n\n  store.pushPayload({ 'matching-system/ruleset': rulesets });\n\n  let chatRuleset = response.chat_ruleset\n    ? store.peekRecord('matching-system/ruleset', response.chat_ruleset.id)\n    : null;\n\n  return { chatRuleset };\n};\n\nfunction generateWelcomeScript(guideIdentifier) {\n  switch (guideIdentifier) {\n    case ONBOARD_AND_ENGAGE:\n    case ONBOARD_AND_ENGAGE_VBP:\n      return ScriptData.welcomeOnboardAndEngage;\n    case CAPTURE_AND_CONVERT:\n    case CAPTURE_AND_CONVERT_VBP:\n      return ScriptData.welcomeCaptureAndConvert;\n    case SUPPORT_AND_RETAIN:\n    case SUPPORT_AND_RETAIN_VBP:\n      return ScriptData.welcomeSupportAndRetain;\n    default:\n      return ScriptData.welcomeAll;\n  }\n}\n\nfunction generateIntegrationScript(guideIdentifier) {\n  switch (guideIdentifier) {\n    case ONBOARD_AND_ENGAGE:\n    case ONBOARD_AND_ENGAGE_VBP:\n      return ScriptData.buildOnTheBasics;\n    default:\n      return ScriptData.supportYourCustomers;\n  }\n}\n\nfunction generateCrmScript(guideIdentifier) {\n  switch (guideIdentifier) {\n    case CAPTURE_AND_CONVERT:\n    case CAPTURE_AND_CONVERT_VBP:\n      return ScriptData.masterIntercom;\n    default:\n      return ScriptData.convertVisitorsToLeads;\n  }\n}\n\nconst InstallMessengerStepData = StepData.extend({\n  title: 'Add your Messenger to your website or app',\n  componentName: 'onboarding/home/steps/install/install-component',\n  timeToCompleteInMinutes: 20,\n  generateGuideAssistantScript(guideIdentifier) {\n    return generateWelcomeScript(guideIdentifier);\n  },\n  bannerText: {\n    available: 'Install your Messenger to start talking to customers',\n  },\n  async getModelData(store, app) {\n    // determine suggested audience from VAMs/UAMs that were set live\n    let suggestedAudience = null;\n\n    await Promise.all([\n      updateMessageCountsForAppAndType(app, 'auto'),\n      updateMessageCountsForAppAndType(app, 'visitor_auto'),\n    ]);\n\n    if (app.liveAutoMessageCount > 0 && app.liveVisitorAutoMessageCount === 0) {\n      suggestedAudience = {\n        type: AUDIENCE.LOGGED_IN,\n        reason:\n          'Your auto message for logged-in users is ready to go. To start sending it, choose this option and install your Messenger for users.',\n      };\n    } else if (app.liveVisitorAutoMessageCount > 0 && app.liveAutoMessageCount === 0) {\n      suggestedAudience = {\n        type: AUDIENCE.LOGGED_OUT,\n        reason:\n          'Your auto message for website visitors is ready to go. To start sending it, choose this option and install your Messenger for visitors.',\n      };\n    }\n\n    return { suggestedAudience };\n  },\n});\n\nconst InstallUseCaseAppStepData = StepData.extend({\n  componentName: 'onboarding/home/steps/install-use-case-app',\n  timeToCompleteInMinutes: 3,\n  generateGuideAssistantScript(guideIdentifier) {\n    return ScriptData.masterIntercom;\n  },\n  async getModelData(store, app) {\n    let recommendedAppPackageIds = await ajax({\n      url: '/ember/app_package_recommendations/master_onboarding',\n      type: 'GET',\n      data: { app_id: app.id, step_identifier: this.identifier },\n    });\n\n    let recommendedApps = await Promise.all(\n      recommendedAppPackageIds.map(id => store.findRecord('appstore/app-package', id)),\n    );\n\n    return {\n      recommendedApps,\n      subtitle: app.hasOsa2OnboardingHome && this.osa2Subtitle ? this.osa2Subtitle : this.subtitle,\n    };\n  },\n});\n\nexport default {\n  watch_welcome_video: StepData.create({\n    title: 'See what youʼll be able to do',\n    osa2Title: 'See what youʼll be able to do with Intercom',\n    componentName: 'onboarding/home/steps/watch-welcome-video-component',\n    timeToCompleteInMinutes: 1,\n    generateGuideAssistantScript(guideIdentifier) {\n      return generateWelcomeScript(guideIdentifier);\n    },\n  }),\n\n  customize_messenger: StepData.create({\n    title: 'Customize your Messenger',\n    componentName: 'onboarding/home/steps/customize-messenger-component',\n    timeToCompleteInMinutes: 1,\n    generateGuideAssistantScript(guideIdentifier) {\n      return generateWelcomeScript(guideIdentifier);\n    },\n    async getModelData(store, app) {\n      return {\n        messengerSettings: await store.findRecord('messenger-settings/all', app.id),\n      };\n    },\n  }),\n\n  design_messenger: StepData.create({\n    title: 'Design your Messenger',\n    componentName: 'onboarding/home/steps/customize-messenger-component',\n    timeToCompleteInMinutes: 1,\n    generateGuideAssistantScript(guideIdentifier) {\n      return generateWelcomeScript(guideIdentifier);\n    },\n    async getModelData(store, app) {\n      return {\n        messengerSettings: await store.findRecord('messenger-settings/all', app.id),\n      };\n    },\n  }),\n\n  send_test_message: StepData.create({\n    title: 'Preview the chat experience',\n    componentName: 'onboarding/home/steps/send-test-message-component',\n    timeToCompleteInMinutes: 1,\n    generateGuideAssistantScript(guideIdentifier) {\n      return generateWelcomeScript(guideIdentifier);\n    },\n  }),\n\n  reply_in_inbox: StepData.create({\n    title: 'Send a reply from your Inbox',\n    componentName: 'onboarding/home/steps/reply-in-inbox-component',\n    timeToCompleteInMinutes: 1,\n    generateGuideAssistantScript(guideIdentifier) {\n      return generateWelcomeScript(guideIdentifier);\n    },\n    tourInProgressRoutes: RouteRegexes.inbox,\n    productTourId: 2201, // or whatever tour you set up in development,\n    requiresHostedMessengerConversation: true,\n    bannerText: {\n      completed:\n        'Nice job! You replied to your first message. Next, start talking to real customers.',\n      inProgress:\n        'Keep going – reply to a conversation from your Intercom inbox to complete this step.',\n    },\n  }),\n\n  get_the_most_messenger_video: StepData.create({\n    title: 'See how to get the most out of your Messenger',\n    componentName: 'onboarding/home/steps/watch-get-the-most-messenger-video',\n    timeToCompleteInMinutes: 1,\n    generateGuideAssistantScript(guideIdentifier) {\n      return generateWelcomeScript(guideIdentifier);\n    },\n  }),\n  set_up_messenger_visitors: InstallMessengerStepData.create({\n    title: 'Add chat to your website',\n    componentName: 'onboarding/home/steps/install/set-up-messenger-visitors',\n    bannerText: {\n      available:\n        'Ready to start chatting with your website visitors? Set up Messenger for visitors',\n    },\n  }),\n  set_up_messenger_logged_in: InstallMessengerStepData.create({\n    title: 'Set up live chat for logged-in users',\n    componentName: 'onboarding/home/steps/install/set-up-messenger-logged-in',\n    bannerText: {\n      available:\n        'Ready to start chatting with your logged-in customers? Set up Messenger for logged-in customers',\n    },\n  }),\n\n  install_messenger: InstallMessengerStepData.create(),\n  install_messenger_logged_in_only: InstallMessengerStepData.create({\n    title: 'Add Messenger for logged-in users',\n    componentName: 'onboarding/home/steps/install/logged-in-only',\n    getModelData: null,\n  }),\n\n  send_auto_message: StepData.create({\n    title: 'Create your first targeted message',\n    componentName: 'onboarding/home/steps/auto-message-component',\n    timeToCompleteInMinutes: 1,\n    getModelData: getPrecannedMessages,\n    loadModelDataOnDemand: true,\n    generateGuideAssistantScript(guideIdentifier) {\n      return generateWelcomeScript(guideIdentifier);\n    },\n  }),\n\n  send_targeted_message: StepData.create({\n    title: 'Set up a targeted message to send automatically',\n    componentName: 'onboarding/home/steps/auto-message-component',\n    timeToCompleteInMinutes: 1,\n    getModelData: getPrecannedMessages,\n    loadModelDataOnDemand: true,\n    generateGuideAssistantScript(guideIdentifier) {\n      return generateWelcomeScript(guideIdentifier);\n    },\n  }),\n\n  invite_teammates: StepData.create({\n    title: 'Invite your teammates to join you in Intercom',\n    componentName: 'onboarding/home/steps/invite-teammates',\n    timeToCompleteInMinutes: 1,\n    generateGuideAssistantScript(guideIdentifier) {\n      return generateWelcomeScript(guideIdentifier);\n    },\n    bannerText: {\n      available: 'Invite a teammate to work with you in the Inbox',\n    },\n    async getModelData(store, app) {\n      let shouldFetchInvites =\n        !app.isTestApp && app.currentAdmin.currentAppPermissions.can_manage_teammates;\n      let invitedAdmins = shouldFetchInvites\n        ? await store.query('invited-admin', { state: 'unrevoked' })\n        : [];\n      return {\n        invitedAdmins,\n      };\n    },\n  }),\n\n  see_what_data_attributes_can_do: StepData.create({\n    title: 'See what data attributes can do',\n    componentName: 'onboarding/home/steps/see-what-data-attributes-can-do',\n    timeToCompleteInMinutes: 2,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.buildOnTheBasics;\n    },\n    bannerText: {\n      completed: 'Nice work! Let’s start setting up custom attributes for your business!',\n      inProgress: 'Keep going – learn about attributes to complete this step.',\n    },\n  }),\n  define_the_data_you_need: StepData.create({\n    title: 'Define the data you need',\n    componentName: 'onboarding/home/steps/define-the-data-you-need',\n    timeToCompleteInMinutes: 10,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.buildOnTheBasics;\n    },\n  }),\n\n  track_your_data_attributes: StepData.create({\n    title: 'Track your data attributes',\n    componentName: 'onboarding/home/steps/track-your-data-attributes',\n    timeToCompleteInMinutes: 15,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.buildOnTheBasics;\n    },\n  }),\n\n  learn_about_custom_data_attributes: StepData.create({\n    title: 'See how data attributes appear in Intercom',\n    componentName: 'onboarding/home/steps/learn-about-custom-data-attributes-component',\n    timeToCompleteInMinutes: 2,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.buildOnTheBasics;\n    },\n    productTourId: 33988,\n    productTourCompletesStep: true,\n    tourInProgressRoutes: RouteRegexes.userRoute,\n    bannerText: {\n      completed: 'Nice work! Let’s start setting up custom attributes for your business!',\n      inProgress: 'Keep going – learn about attributes to complete this step.',\n    },\n  }),\n\n  setup_custom_data_attributes: StepData.create({\n    title: 'Create custom data attributes',\n    componentName: 'onboarding/home/steps/setup-custom-data-attributes-component',\n    timeToCompleteInMinutes: 15,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.buildOnTheBasics;\n    },\n  }),\n\n  see_how_apps_work: StepData.create({\n    title: 'See how apps and integrations work in Intercom',\n    componentName: 'onboarding/home/steps/see-how-apps-work-component',\n    timeToCompleteInMinutes: 1,\n    generateGuideAssistantScript(guideIdentifier) {\n      return generateIntegrationScript(guideIdentifier);\n    },\n  }),\n\n  set_expectations: StepData.create({\n    title: 'Set expectations with office hours and reply time',\n    componentName: 'onboarding/home/steps/set-expectations',\n    timeToCompleteInMinutes: 2,\n    generateGuideAssistantScript(guideIdentifier) {\n      return generateWelcomeScript(guideIdentifier);\n    },\n    async getModelData(store, app) {\n      return {\n        messengerSettings: await store.findRecord('messenger-settings/all', app.id),\n      };\n    },\n  }),\n\n  set_reply_expectations: StepData.create({\n    title: `Set expectations about when you'll reply`,\n    componentName: 'onboarding/home/steps/set-expectations',\n    timeToCompleteInMinutes: 2,\n    generateGuideAssistantScript(guideIdentifier) {\n      return generateWelcomeScript(guideIdentifier);\n    },\n    async getModelData(store, app) {\n      return {\n        messengerSettings: await store.findRecord('messenger-settings/all', app.id),\n      };\n    },\n  }),\n\n  ask_for_contact_details: StepData.create({\n    title: 'Ask for contact details so you can follow up',\n    componentName: 'onboarding/home/steps/ask-for-contact-details',\n    timeToCompleteInMinutes: 2,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.buildOnTheBasics;\n    },\n    async getModelData(store, app) {\n      return {\n        messengerSettings: await store.findRecord('messenger-settings/all', app.id),\n        contactCollection: await store.findRecord('operator-settings/contact-collection', app.id),\n      };\n    },\n  }),\n\n  install_a_recommended_app: StepData.create({\n    title: 'Get apps recommended for you',\n    componentName: 'onboarding/home/steps/install-a-recommended-app',\n    generateGuideAssistantScript(guideIdentifier) {\n      return generateIntegrationScript(guideIdentifier);\n    },\n    timeToCompleteInMinutes: 3,\n    async getModelData(store, app) {\n      let recommendationIds = await ajax({\n        url: '/ember/app_package_recommendations/basic_onboarding',\n        type: 'GET',\n        data: { app_id: app.id },\n      });\n\n      let recommendations = await Promise.all(\n        recommendationIds.map(id => store.findRecord('appstore/app-package', id)),\n      );\n\n      return { recommendations };\n    },\n  }),\n\n  // will be replaced by check_out_app_store when product tour is updated\n  install_an_app: StepData.create({\n    title: 'Install an app in the app store',\n    componentName: 'onboarding/home/steps/install-an-app-component',\n    timeToCompleteInMinutes: 3,\n    tourInProgressRoutes: RouteRegexes.appStoreOrHome,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.buildOnTheBasics;\n    },\n    productTourId: 26707,\n    bannerText: {\n      inProgress: 'Keep going - install any app to finish this step!',\n    },\n  }),\n\n  check_out_app_store: StepData.create({\n    title: 'Check out the app store',\n    componentName: 'onboarding/home/steps/install-an-app-component',\n    timeToCompleteInMinutes: 3,\n    tourInProgressRoutes: RouteRegexes.appStoreOrHome,\n    generateGuideAssistantScript(guideIdentifier) {\n      return generateIntegrationScript(guideIdentifier);\n    },\n    productTourId: 51151,\n    productTourCompletesStep: true,\n    bannerText: {\n      inProgress: 'Keep going - check out the New & Noteworthy category to finish this step',\n      completed: 'Nice work! Keep checking the App Store for the latest apps and integrations',\n    },\n  }),\n\n  forward_emails: StepData.create({\n    title: 'Route emails to your Intercom Inbox',\n    componentName: 'onboarding/home/steps/forward-emails',\n    timeToCompleteInMinutes: 4,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.buildOnTheBasics;\n    },\n  }),\n\n  connect_social_media: StepData.create({\n    title: 'Manage social media conversations in your Inbox',\n    componentName: 'onboarding/home/steps/connect-social-media',\n    timeToCompleteInMinutes: 2,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.buildOnTheBasics;\n    },\n    async getModelData(store, app) {\n      let twitterAppPackage = store.findRecord('appstore/app-package', 'twitter');\n      let facebookAppPackage = store.findRecord('appstore/app-package', 'facebook');\n      let appPackages = await Promise.all([twitterAppPackage, facebookAppPackage]);\n      return {\n        appPackages,\n      };\n    },\n  }),\n\n  watch_product_tours_welcome_video: StepData.create({\n    title: 'See what you can do with Product Tours',\n    componentName: 'onboarding/home/steps/watch-product-tours-video-component',\n    timeToCompleteInMinutes: 2,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.masterIntercom;\n    },\n  }),\n\n  get_started_with_product_tours: StepData.create({\n    title: 'Get started with Product Tours',\n    componentName: 'onboarding/home/steps/get-started-with-product-tours',\n    timeToCompleteInMinutes: 1,\n    tourInProgressRoutes: /^apps\\.app\\.(home|tours|outbound)/,\n    bannerText: {\n      completed: 'Now that you’ve seen Product Tours see how you can get the most out of Intercom',\n      inProgress: 'Keep going – learn how to use Product Tours to onboard your customers.',\n    },\n    productTourCompletesStep: true,\n    productTourId: 2541,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.masterIntercom;\n    },\n  }),\n\n  watch_series_welcome_video: StepData.create({\n    title: 'See how you can engage customers with Series',\n    componentName: 'onboarding/home/steps/watch-series-video-component',\n    timeToCompleteInMinutes: 2,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.masterIntercom;\n    },\n  }),\n\n  get_started_with_series: StepData.create({\n    title: 'Design your first customer journey',\n    componentName: 'onboarding/home/steps/get-started-with-series',\n    timeToCompleteInMinutes: 1,\n    tourInProgressRoutes: /^apps\\.app\\.outbound\\.series/,\n    productTourCompletesStep: true,\n    productTourId: 148431,\n    bannerText: {\n      completed: 'Now that you’ve seen Series see how you can get the most out of Intercom',\n      inProgress: 'Keep going – learn how to use Series to onboard your customers.',\n    },\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.masterIntercom;\n    },\n  }),\n\n  resolve_a_conversation: StepData.create({\n    title: 'Resolve a conversation',\n    componentName: 'onboarding/home/steps/resolve-a-conversation',\n    timeToCompleteInMinutes: 2,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.buildOnTheBasics;\n    },\n    productTourId: 31300,\n    tourInProgressRoutes: RouteRegexes.inbox,\n    requiresHostedMessengerConversation: true,\n    bannerText: {\n      completed: \"Nice work! You're getting the hang of your Inbox.\",\n      inProgress: 'Keep going - resolve this conversation to finish this step!',\n    },\n  }),\n\n  install_messenger_test_app: InstallMessengerStepData.create({\n    title: 'Add your Messenger to your staging or development app',\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.testApp;\n    },\n  }),\n\n  customize_messenger_test_app: StepData.create({\n    title: 'Customize your test Messenger',\n    componentName: 'onboarding/home/steps/customize-messenger-component',\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.testApp;\n    },\n    async getModelData(store, app) {\n      return {\n        messengerSettings: await store.findRecord('messenger-settings/all', app.id),\n      };\n    },\n  }),\n\n  route_support_conversations: StepData.create({\n    title: 'Route support conversations to the right team',\n    componentName: 'onboarding/home/steps/route-support-conversations',\n    timeToCompleteInMinutes: 2,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.convertVisitorsToLeads;\n    },\n    async getModelData(store, app) {\n      return {\n        messengerSettings: await store.findRecord('messenger-settings/all', app.id),\n        conversationRouting: await store.findRecord(\n          'operator-settings/conversation-routing',\n          app.id,\n        ),\n      };\n    },\n  }),\n\n  qualify_leads: StepData.create({\n    title: 'Qualify leads when they start a conversation',\n    componentName: 'onboarding/home/steps/qualify-leads',\n    timeToCompleteInMinutes: 2,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.convertVisitorsToLeads;\n    },\n    productTourId: 48918,\n    productTourCompletesStep: true,\n    tourInProgressRoutes: RouteRegexes.taskBots,\n    bannerText: {\n      completed: 'Explore more ways to get the most out of Intercom',\n      inProgress: 'Keep going - finish this tour to complete this step!',\n    },\n    async getModelData(store, app) {\n      return {\n        messengerSettings: await store.findRecord('messenger-settings/all', app.id),\n        qualifyLeads: await store.findRecord('operator-settings/qualify-leads', app.id),\n      };\n    },\n  }),\n\n  integrate_with_crms: StepData.create({\n    title: 'Plug Intercom into your CRM system',\n    componentName: 'onboarding/home/steps/integrate-with-crms',\n    timeToCompleteInMinutes: 2,\n    generateGuideAssistantScript(guideIdentifier) {\n      return generateCrmScript(guideIdentifier);\n    },\n    async getModelData(store, app) {\n      return {\n        salesforceAppPackage: await store.findRecord(\n          'appstore/app-package',\n          'salesforce-by-intercom',\n        ),\n        hubspotAppPackage: await store.findRecord('appstore/app-package', 'hubspot'),\n        pipedriveAppPackage: await store.findRecord('appstore/app-package', 'pipedrive'),\n      };\n    },\n  }),\n\n  increase_conversions_with_chatbots: StepData.create({\n    title: 'Boost your impact with chatbots',\n    componentName: 'onboarding/home/steps/increase-conversions-with-chatbots',\n    timeToCompleteInMinutes: 2,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.convertVisitorsToLeads;\n    },\n    productTourId: 48934,\n    productTourCompletesStep: true,\n    tourInProgressRoutes: RouteRegexes.customOrTaskBots,\n    bannerText: {\n      completed: 'Explore more ways to get the most out of Intercom',\n      inProgress: 'Keep going - finish this tour to complete this step!',\n    },\n  }),\n\n  reply_directly_via_slack: StepData.create({\n    title: 'Reply to messages directly in Slack',\n    componentName: 'onboarding/home/steps/reply-directly-via-slack',\n    timeToCompleteInMinutes: 2,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.convertVisitorsToLeads;\n    },\n    async getModelData(store, app) {\n      return {\n        slackAppPackage: await store.findRecord('appstore/app-package', 'slack-by-intercom'),\n      };\n    },\n  }),\n\n  book_a_meeting_from_the_inbox: StepData.create({\n    title: 'Easily book a meeting with leads from the Inbox',\n    componentName: 'onboarding/home/steps/book-a-meeting-from-the-inbox',\n    timeToCompleteInMinutes: 2,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.convertVisitorsToLeads;\n    },\n    async getModelData(store, app) {\n      return {\n        googleCalendarAppPackage: await store.findRecord(\n          'appstore/app-package',\n          'google-calendar-meetings',\n        ),\n        outlookCalendarAppPackage: await store.findRecord(\n          'appstore/app-package',\n          'outlook-calendar-meetings',\n        ),\n        calendlyAppPackage: await store.findRecord('appstore/app-package', 'calendly'),\n      };\n    },\n  }),\n\n  measure_and_improve_team_performance_support_and_retain: StepData.create({\n    title: 'Measure and improve your teamʼs performance',\n    osa2Title: 'Measure and improve your support teamʼs performance',\n    componentName: 'onboarding/home/steps/measure-and-improve-team-performance',\n    timeToCompleteInMinutes: 2,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.masterIntercom;\n    },\n  }),\n\n  measure_and_improve_team_performance_capture_and_convert: StepData.create({\n    title: 'Measure and improve your teamʼs performance',\n    osa2Title: 'Measure and improve your support teamʼs performance',\n    componentName: 'onboarding/home/steps/measure-and-improve-team-performance',\n    timeToCompleteInMinutes: 2,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.masterIntercom;\n    },\n  }),\n\n  respond_faster: StepData.create({\n    title: 'Respond to customers faster',\n    componentName: 'onboarding/home/steps/respond-faster',\n    timeToCompleteInMinutes: 2,\n    productTourId: 39682,\n    productTourCompletesStep: true,\n    requiresHostedMessengerConversation: true,\n    tourInProgressRoutes: RouteRegexes.conversation,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.masterIntercom;\n    },\n    bannerText: {\n      completed: 'Nice work! Next learn how to collaborate to give better support',\n      inProgress: 'Keep going - learn how saved replies can help you reply to customers faster.',\n    },\n  }),\n\n  collaborate_for_better_support: StepData.create({\n    title: 'Collaborate to give better support',\n    componentName: 'onboarding/home/steps/collaborate-for-better-support',\n    timeToCompleteInMinutes: 2,\n    productTourId: 39683,\n    productTourCompletesStep: true,\n    requiresHostedMessengerConversation: true,\n    tourInProgressRoutes: RouteRegexes.conversation,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.masterIntercom;\n    },\n    bannerText: {\n      completed: 'Great! Now learn how to reply faster with automatic assignments',\n      inProgress: 'Keep going - learn how to add useful context to a conversation with notes.',\n    },\n  }),\n\n  automatic_assignments: StepData.create({\n    title: 'Save time with automatic assignments',\n    componentName: 'onboarding/home/steps/automatic-assignments',\n    timeToCompleteInMinutes: 2,\n    productTourId: 39684,\n    osa2ProductTourId: 135393,\n    productTourCompletesStep: true,\n    requiresHostedMessengerConversation: true,\n    tourInProgressRoutes: /^apps\\.app\\.inbox(\\.automation\\.assignment|\\.inbox\\.conversations\\.conversation)$/,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.masterIntercom;\n    },\n    bannerText: {\n      completed: 'Nice one. Next see how you can measure and improve your team',\n      inProgress: 'Keep going - learn how to save time with automatic conversation assignments.',\n    },\n  }),\n\n  watch_how_to_use_articles_video: StepData.create({\n    title: 'See how to use articles in conversations',\n    componentName: 'onboarding/home/steps/watch-how-to-use-articles-video',\n    timeToCompleteInMinutes: 2,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.masterIntercom;\n    },\n  }),\n\n  create_short_article: StepData.create({\n    title: 'Create a short article',\n    componentName: 'onboarding/home/steps/create-short-article',\n    timeToCompleteInMinutes: 3,\n    productTourId: 51309,\n    productTourCompletesStep: true,\n    tourInProgressRoutes: /^apps\\.app\\.articles\\.articles\\.(list\\.all|article)/,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.masterIntercom;\n    },\n    bannerText: {\n      completed: 'Next, see how to turn on your Help Center to publish to the web.',\n      inProgress: 'Keep going - see how articles work.',\n    },\n  }),\n\n  publish_to_web: StepData.create({\n    title: 'Publish your articles to the web',\n    componentName: 'onboarding/home/steps/publish-to-web',\n    timeToCompleteInMinutes: 3,\n    productTourId: 51834,\n    productTourCompletesStep: true,\n    tourInProgressRoutes: /^apps\\.app\\.articles\\.(site|articles)/,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.masterIntercom;\n    },\n    bannerText: {\n      completed: 'Explore more ways to get the most out of Intercom',\n      inProgress: 'Keep going - publish your articles to the web.',\n    },\n  }),\n\n  get_to_know_messages: StepData.create({\n    title: 'Get to know Messages',\n    componentName: 'onboarding/home/steps/watch-send-targeted-outbound-messages-component',\n    timeToCompleteInMinutes: 2,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.masterIntercom;\n    },\n  }),\n\n  explore_how_it_works: StepData.create({\n    title: 'Explore how it works',\n    componentName: 'onboarding/home/steps/explore-how-it-works',\n    timeToCompleteInMinutes: 2,\n    generateGuideAssistantScript(guideIdentifier) {\n      return ScriptData.masterIntercom;\n    },\n    productTourId: 65569,\n    tourInProgressRoutes: RouteRegexes.onboardingHomeOrMessages,\n    productTourCompletesStep: true,\n    bannerText: {\n      inProgress: 'Keep going to see how Outbound works.',\n    },\n  }),\n\n  apps_for_meeting_scheduling: InstallUseCaseAppStepData.create({\n    identifier: 'apps_for_meeting_scheduling',\n    title: 'Schedule meetings within chat',\n    subtitle:\n      'Eliminate back-and-forth coordination by booking meetings with qualified leads and valuable customers right in the Messenger.',\n  }),\n  apps_for_video_and_audio_calls: InstallUseCaseAppStepData.create({\n    identifier: 'apps_for_video_and_audio_calls',\n    title: 'Start video calls right from chat',\n    subtitle:\n      'Move seamlessly from chat to call and close leads faster by demoing your product or resolve issues quicker by walking through solutions.',\n  }),\n  apps_for_tracking_and_managing_leads: InstallUseCaseAppStepData.create({\n    identifier: 'apps_for_tracking_and_managing_leads',\n    title: 'Track and manage your leads',\n    subtitle:\n      'Keep your CRM up to date automatically, view lead data inside your Intercom Inbox, convert leads faster with lead scoring, and more.',\n  }),\n  apps_for_capturing_and_tracking_leads: InstallUseCaseAppStepData.create({\n    identifier: 'apps_for_capturing_and_tracking_leads',\n    title: 'Capture and track leads',\n    subtitle:\n      'Enable visitors to easily sign up for mailing lists, webinars and more — and automatically sync lead data with your marketing automation tool. ',\n  }),\n  apps_for_syncing_data: InstallUseCaseAppStepData.create({\n    identifier: 'apps_for_syncing_data',\n    title: 'Sync data to message customers at the right time',\n    subtitle:\n      'Segment customers and target messages with data automatically synced from your billing, analytics or other data tools.',\n  }),\n  apps_for_sending_surveys: InstallUseCaseAppStepData.create({\n    identifier: 'apps_for_sending_surveys',\n    title: 'Hear from customers with forms and surveys',\n    subtitle:\n      \"Trigger surveys at the right points in a customer's journey, measure customer experience metrics like NPS, gather customer feedback, and more.\",\n  }),\n  apps_for_tickets_issues_and_feature_requests: InstallUseCaseAppStepData.create({\n    identifier: 'apps_for_tickets_issues_and_feature_requests',\n    title: 'Track feature requests, tickets, and issues',\n    osa2Title: 'Connect your existing tools',\n    subtitle:\n      'Answer questions faster and reduce tab switching by creating and viewing tickets, issues and feature requests inside your Intercom Inbox.',\n    osa2Subtitle:\n      'Answer questions faster and reduce tab switching by using these tools directly inside your Intercom Inbox.',\n  }),\n  apps_for_sales_pipeline: InstallUseCaseAppStepData.create({\n    identifier: 'apps_for_sales_pipeline',\n    title: 'Convert leads faster',\n    subtitle:\n      'Convert leads faster and reduce churn by automatically scoring leads, triggering actions in your sales engagement tool, and more.',\n  }),\n};\n","import { isEmpty } from '@ember/utils';\n\nexport function htmlUnescape(string) {\n  let temporaryElement = document.createElement('textarea');\n  temporaryElement.innerHTML = string;\n  return temporaryElement.value;\n}\n\nexport function htmlToTextContent(html) {\n  if (isEmpty(html)) {\n    return '';\n  } else {\n    let doc = new DOMParser().parseFromString(html, 'text/html');\n    return doc.documentElement.textContent.trim();\n  }\n}\n","export default {\n  NO_RISK: 0,\n  LOW_RISK: 1,\n  MEDIUM_RISK: 2,\n  HIGH_RISK: 3,\n};\n","export default Object.freeze({\n  any: { label: 'one or a combination of user ID and email', value: 'any' },\n  user_id: { label: 'only user ID', value: 'user_id' },\n  email: { label: 'only email', value: 'email' },\n  user_id_and_email: { label: 'both user ID and email', value: 'user_id_and_email' },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { Promise as EmberPromise } from 'rsvp';\nimport ENV from 'embercom/config/environment';\n\nlet imageSize = function(src) {\n  return new EmberPromise(function(resolve, reject) {\n    if (ENV.environment === 'test') {\n      resolve({ width: 101, height: 101 });\n    } else {\n      $('<img/>')\n        .attr('src', src)\n        .on('error', reject)\n        .on('load', function() {\n          resolve({ width: this.width, height: this.height });\n        });\n    }\n  });\n};\n\nexport default imageSize;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\nimport { bool, or, mapBy, readOnly, equal } from '@ember/object/computed';\nimport { observer, computed } from '@ember/object';\nimport ObjectProxy from '@ember/object/proxy';\nimport { findBy } from '@intercom/embercom-core/lib/computed-properties';\n\nlet ImmutablePlan = ObjectProxy.extend({\n  active: true,\n  id: readOnly('content.id'),\n  name: readOnly('content.name'),\n  features: readOnly('content.features'),\n  tierId: readOnly('content.tierId'),\n  idAsNumber: readOnly('content.idAsNumber'),\n  selfServe: readOnly('content.selfServe'),\n  inCurrentSubscription: readOnly('content.active'),\n\n  init() {\n    this._super(...arguments);\n    this.resetState();\n  },\n  updateActive: observer({\n    dependentKeys: ['content.active'],\n\n    fn() {\n      this.resetState();\n    },\n\n    sync: true,\n  }),\n\n  resetState() {\n    this.set('active', this.get('content.active'));\n  },\n});\n\nexport default ObjectProxy.extend({\n  previousActivePlan: findBy('content.plans', 'active', true),\n  plans: [],\n  key: readOnly('content.key'),\n  planIds: mapBy('content.plans', 'idAsNumber'),\n  activePlan: findBy('plans', 'active', true),\n  active: bool('activePlan'),\n  id: readOnly('content.id'),\n  name: readOnly('content.name'),\n  pricingMetric: readOnly('content.pricingMetric'),\n  perProductPriceMetric: readOnly('content.perProductPriceMetric'),\n  price: readOnly('content.price'),\n  addon: readOnly('content.addon'),\n  trialable: readOnly('content.trialable'),\n  hasOnePlan: readOnly('content.hasOnePlan'),\n  inactive: readOnly('content.inactive'),\n  hasMonthlyActivePeoplePricingTable: readOnly('content.hasMonthlyActivePeoplePricingTable'),\n  hasQuarterlyActivePeoplePricingTable: readOnly('content.hasQuarterlyActivePeoplePricingTable'),\n  hasPeopleRecordsPricingTable: readOnly('content.hasPeopleRecordsPricingTable'),\n  isArticles: readOnly('content.isArticles'),\n  originallyActive: readOnly('content.active'),\n\n  init() {\n    this._super(...arguments);\n    let immutablePlans = this.content.plans.map(plan => {\n      return ImmutablePlan.create({ content: plan, product: this });\n    });\n    this.set('plans', immutablePlans);\n  },\n\n  hasHigherPlan: computed('activePlan', function() {\n    let currentPlanId = this.get('content.activePlan.idAsNumber');\n    let planIds = this.planIds;\n    return planIds.get('lastObject') !== currentPlanId;\n  }),\n\n  higherPlanId: computed('previousActivePlan', function() {\n    let currentPlanId = this.get('previousActivePlan.id');\n    let planIds = this.get('content.plans').map(plan => plan.get('id'));\n\n    if (currentPlanId === planIds.get('lastObject')) {\n      return null;\n    }\n\n    return planIds[planIds.indexOf(currentPlanId) + 1];\n  }),\n\n  hasProPlan: computed('plans', 'activePlan', function() {\n    return this.get('content.hasOnePlan') || this.get('activePlan.name') === 'Pro';\n  }),\n\n  hasEssentialPlan: equal('activePlan', 'Essential'),\n\n  adding: computed('active', 'content.active', function() {\n    return this.active && !this.get('content.active');\n  }),\n\n  upgrading: computed('activePlan', 'previousActivePlan', function() {\n    let planIds = this.planIds;\n\n    let activePlanIndex = planIds.indexOf(this.get('activePlan.idAsNumber'));\n    let previousPlanIndex = planIds.indexOf(this.get('previousActivePlan.idAsNumber'));\n    return this.get('content.active') && activePlanIndex > previousPlanIndex;\n  }),\n\n  downgrading: computed('hasProPlan', 'content.hasProPlan', 'active', function() {\n    let planIds = this.planIds;\n\n    let activePlanIndex = planIds.indexOf(this.get('activePlan.idAsNumber'));\n    let previousPlanIndex = planIds.indexOf(this.get('previousActivePlan.idAsNumber'));\n\n    return this.active && this.get('content.active') && activePlanIndex < previousPlanIndex;\n  }),\n\n  removing: computed('active', 'content.active', function() {\n    return this.get('content.active') && !this.active;\n  }),\n\n  higherPlan: or('upgrading', 'adding'),\n  lowerPlan: or('downgrading', 'removing'),\n  changedPlan: or('higherPlan', 'lowerPlan'),\n  showInSummary: or('changedPlan', 'content.active'),\n  updating: or('downgrading', 'upgrading', 'removing', 'adding'),\n  newStatus: computed('upgrading', 'downgrading', 'adding', 'removing', function() {\n    if (this.upgrading) {\n      return 'upgraded';\n    }\n    if (this.downgrading) {\n      return 'downgraded';\n    }\n    if (this.adding) {\n      return 'added';\n    }\n    if (this.removing) {\n      return 'removed';\n    }\n    return '';\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-new-mixins */\nimport { reject } from 'rsvp';\nimport Mixin from '@ember/object/mixin';\nimport { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\n\nexport default Mixin.create({\n  notificationsService: service(),\n\n  _submitImpersonationRequestForAdmin(admin) {\n    return ajax({\n      url: '/admin/impersonation_permissions',\n      type: 'POST',\n      dataType: 'text',\n    }).then(() => {\n      window.alert('impersonation request submitted');\n      admin.set('impersonation_permission_status', 'requested');\n    });\n  },\n\n  _checkImpersonationConsent(userId) {\n    if (!userId) {\n      this.notificationsService.notifyError(\n        'User is not an admin of any app or a user ID was not passed.',\n      );\n      return reject();\n    }\n    return ajax({\n      url: `/admin/impersonations/check_consent/${userId}`,\n    })\n      .catch(e => {\n        this.notificationsService.notifyError(\n          'There was a problem checking for impersonation consent. Please contact security.',\n        );\n      })\n      .then(response => {\n        if (response.impersonation_consent === false) {\n          this.notificationsService.notifyError('User has not given impersonation consent');\n          throw new Error('User did not give impersonation consent');\n        }\n      });\n  },\n});\n","import OAuthProviders from 'embercom/lib/import/oauth-providers';\n\nexport function buildAuthorizeUrl(conversationImport) {\n  switch (conversationImport.origin) {\n    case 'zendesk_chat':\n      return buildZendeskChatAuthorizeUrl(conversationImport, OAuthProviders.zendesk_chat);\n    case 'zendesk_tickets':\n      return buildZendeskTicketsAuthorizeUrl(conversationImport, OAuthProviders.zendesk_tickets);\n    default:\n      throw new Error('OAuth origin invalid');\n  }\n}\n\nfunction buildZendeskChatAuthorizeUrl(conversationImport, oauthProvider) {\n  let baseUrl = oauthProvider.authorizeUrl(conversationImport.subdomain);\n  let redirectUrl = oauthProvider.redirectUrl;\n  let clientId = conversationImport.client_id;\n  let subdomain = conversationImport.subdomain;\n  let url =\n    `${baseUrl}?client_id=${encodeURIComponent(clientId)}` +\n    `&redirect_uri=${encodeURIComponent(redirectUrl)}` +\n    `&scope=read` +\n    `&response_type=code`;\n\n  if (subdomain) {\n    url += `&subdomain=${encodeURIComponent(subdomain)}`;\n  }\n\n  return url;\n}\n\nfunction buildZendeskTicketsAuthorizeUrl(conversationImport, oauthProvider) {\n  let baseUrl = oauthProvider.authorizeUrl(conversationImport.subdomain);\n  let redirectUrl = oauthProvider.redirectUrl;\n  let clientId = conversationImport.client_id;\n\n  return (\n    `${baseUrl}?redirect_uri=${encodeURIComponent(redirectUrl)}` +\n    `&client_id=${encodeURIComponent(clientId)}` +\n    `&scope=read` +\n    `&response_type=code`\n  );\n}\n","import ENV from 'embercom/config/environment';\n\nexport default {\n  zendesk_chat: {\n    authorizeUrl: _accountName => 'https://www.zopim.com/oauth2/authorizations/new',\n    redirectUrl:\n      ENV.environment === 'production'\n        ? `https://${location.hostname}/zendesk_chat_oauth`\n        : 'http://localhost:3000/zendesk_chat_oauth',\n  },\n  zendesk_tickets: {\n    authorizeUrl: accountName => `https://${accountName}.zendesk.com/oauth/authorizations/new`,\n    redirectUrl:\n      ENV.environment === 'production'\n        ? `https://${location.hostname}/zendesk_chat_oauth`\n        : ENV.APP.zendeskTicketsImporter.devRedirectUri ||\n          `http://localhost:3000/zendesk_chat_oauth`,\n  },\n};\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default EmberObject.extend({\n  MAX_BACKGROUND_INBOXES: 5,\n  intercomEventService: service(),\n  _backgroundInboxes: null,\n\n  init() {\n    this._super(...arguments);\n    this._backgroundInboxes = [];\n  },\n\n  changeInbox(newInbox, oldInbox = null) {\n    this._disableIfNotBackgroundable(oldInbox);\n\n    if (oldInbox) {\n      oldInbox.clearTransitionedConversations();\n      oldInbox.disableRealtime();\n    }\n\n    newInbox.enableRealtime();\n\n    if (!this._isInBackground(newInbox)) {\n      this._trackEvent('reloaded', newInbox);\n      newInbox.reload();\n    } else {\n      this._trackEvent('foregrounded', newInbox);\n      newInbox.sync.perform(undefined, true);\n    }\n\n    this._addOrMoveToHeadOfList(newInbox);\n    this._pruneExtraInboxes();\n  },\n\n  forEach(fn) {\n    this._backgroundInboxes.reverse().forEach(fn);\n  },\n\n  deactivate() {\n    this.forEach(inbox => {\n      inbox.clearConversations();\n      inbox.disableRealtime();\n    });\n    this._backgroundInboxes = [];\n  },\n\n  // Private\n  _disableIfNotBackgroundable(oldInbox) {\n    if (oldInbox && !oldInbox.canBeBackgrounded) {\n      oldInbox.disableRealtime();\n      oldInbox.clearConversations();\n    }\n  },\n\n  _isInBackground(inbox) {\n    return this._backgroundInboxes.includes(inbox);\n  },\n\n  _addOrMoveToHeadOfList(newInbox) {\n    if (newInbox.canBeBackgrounded) {\n      this._remove(newInbox);\n      this._addToHead(newInbox);\n    }\n  },\n\n  _pruneExtraInboxes() {\n    while (this._backgroundInboxes.length > this.MAX_BACKGROUND_INBOXES) {\n      let inboxToDeactivate = this._backgroundInboxes.pop();\n      inboxToDeactivate.disableRealtime();\n      inboxToDeactivate.clearConversations();\n    }\n  },\n\n  _addToHead(inbox) {\n    this._backgroundInboxes.unshift(inbox);\n  },\n\n  _remove(inbox) {\n    this._backgroundInboxes.removeObject(inbox);\n  },\n\n  _trackEvent(action, inbox) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action,\n      object: 'inbox',\n      models: [inbox],\n    });\n  },\n});\n","import { BaseConfig, EMOJI_TYPEAHEAD } from '@intercom/embercom-prosemirror-composer';\n\nexport default class InboxComposerConfigPlaintext extends BaseConfig {\n  tools = [];\n  allowedBlocks = ['paragraph'];\n  inputRules = [];\n  allowedInline = [];\n  typeaheads = [EMOJI_TYPEAHEAD];\n}\n","import {\n  EMOJI_TYPEAHEAD,\n  TypeaheadConfig,\n  ComposerConfig,\n  InitialSelection,\n  TextDirection,\n} from '@intercom/embercom-prosemirror-composer';\nimport { triggerCharacter } from '@intercom/embercom-prosemirror-composer/lib/composer/typeahead/trigger-character';\nimport EmbercomFileUploader from '../articles/embercom-file-uploader';\nimport $ from 'jquery';\nimport { CanvasNetworkClient } from '@intercom/interblocks.ts';\nimport {\n  INPUT_RULE_CODE_BLOCK,\n  INPUT_RULE_ORDERED_LIST,\n  INPUT_RULE_UNORDERED_LIST,\n  INPUT_RULE_INLINE_CODE,\n} from '@intercom/embercom-prosemirror-composer';\n\nexport const MENTION_TYPEAHEAD = {\n  name: 'emoji',\n  matcher: triggerCharacter('@', {}),\n  component: 'conversation/composer/mention-typeahead',\n} as TypeaheadConfig;\n\nexport const SAVED_REPLY_TYPEAHEAD = {\n  name: 'saved_reply',\n  matcher: triggerCharacter('#', { allowSpaces: true }),\n  component: 'conversation/composer/saved-reply-typeahead',\n  attrs: {},\n} as TypeaheadConfig;\n\ntype Pane = 'note' | 'reply';\n\nexport default class InboxComposerConfig implements ComposerConfig {\n  upload;\n\n  debug = false;\n  renderOverlaysInPlace = false;\n  autoFocus = false;\n\n  tools = [{ name: 'text-formatter' }, { name: 'anchor-editor' }];\n  typeaheads = [EMOJI_TYPEAHEAD];\n\n  textDirection = 'auto' as TextDirection;\n  placeholder = 'Try adding an article…';\n  initialSelectionLocation = 'end' as InitialSelection;\n  canvasNetworkClient: CanvasNetworkClient;\n\n  allowedBlocks = [\n    'paragraph',\n    'image',\n    'orderedList',\n    'unorderedList',\n    'heading',\n    'subheading',\n    'codeBlock',\n  ];\n\n  allowedInline = ['bold', 'italic', 'anchor', 'code'];\n\n  inputRules = [\n    INPUT_RULE_CODE_BLOCK,\n    INPUT_RULE_INLINE_CODE,\n    INPUT_RULE_ORDERED_LIST,\n    INPUT_RULE_UNORDERED_LIST,\n  ];\n\n  constructor(appId: string, conversationId: string, activePane: Pane, allowUploads: boolean) {\n    this.configureUploads(appId, allowUploads);\n    this.configureTypeaheads(activePane, conversationId);\n    this.configureSchema(activePane);\n    this.setupCanvasNetworkClient(appId);\n  }\n\n  private setupCanvasNetworkClient(appId: string) {\n    this.canvasNetworkClient = {\n      get(url: string, done: Function): void {\n        $.get(`/ember${url}?app_id=${appId}`).done(response => {\n          done(response.content);\n        });\n      },\n      post(url: string, done: Function): void {\n        $.post(`/ember/${url}`).done(done as any);\n      },\n    };\n  }\n\n  private configureUploads(appId: string, allowUploads: boolean) {\n    if (allowUploads) {\n      this.upload = {\n        allowedImageFileTypes: ['image/png', 'image/jpeg', 'image/jpg', 'image/gif'],\n        allowedAttachmentTypes: ['*'],\n        uploader: EmbercomFileUploader,\n        attrs: { policyUrl: `/apps/${appId}/uploads` },\n      };\n    }\n  }\n\n  private configureTypeaheads(activePane: Pane, conversationId: string) {\n    if (activePane === 'note') {\n      this.typeaheads.push(MENTION_TYPEAHEAD);\n    } else {\n      this.typeaheads.push(Object.assign({}, SAVED_REPLY_TYPEAHEAD, { attrs: { conversationId } }));\n    }\n  }\n\n  private configureSchema(activePane: Pane) {\n    if (activePane === 'note') {\n      this.allowedInline.push('mention');\n    } else {\n      this.allowedBlocks.push('messengerCard');\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-volatile-computed-properties */\n/* eslint-disable ember/no-classic-classes */\nimport moment from 'moment';\nimport platform from 'embercom/lib/browser-platform';\nimport EmberObject, { computed } from '@ember/object';\n\nconst REALTIME_EVENT_NAMES = [\n  'ThreadAssigned',\n  'ThreadCreated',\n  'ThreadClosed',\n  'ThreadReopened',\n  'ThreadUpdated',\n  'ThreadSnoozed',\n  'ThreadUnsnoozed',\n  'UserBlocked',\n  'MentionCreated',\n  'ThreadIngested',\n];\n\nconst OFFLINE_NOTIFICATION_KEY = 'networkNotReachable';\n\nconst CONVERSATION_PRIORITIES = {\n  not_priority: 0,\n  priority: 64,\n};\n\nconst CONVERSATION_STATES = {\n  open: 0,\n  opened: 0,\n  closed: 1,\n  snoozed: 2,\n};\n\nconst SNOOZED_UNTIL_MAP = [\n  EmberObject.extend({\n    key: 'later_today',\n    value: 'Later today',\n    eventLabel: 'until later today',\n    metaLabel: 'In 3 hours',\n    absoluteUnsnoozeTime: computed(function() {\n      return moment()\n        .add(3, 'hours')\n        .toISOString();\n    }).volatile(),\n  }).create(),\n  EmberObject.extend({\n    key: 'tomorrow',\n    value: 'Tomorrow',\n    eventLabel: 'until tomorrow',\n    shortcut: platform.isMac ? '⌘+Option+Enter' : 'CTRL+Alt+Enter',\n    metaLabel: computed(function() {\n      return `${moment()\n        .add(1, 'day')\n        .format('ddd')} 9am`;\n    }).volatile(),\n    absoluteUnsnoozeTime: computed(function() {\n      return moment()\n        .startOf('day')\n        .add(1, 'day')\n        .add(9, 'hours')\n        .toISOString();\n    }).volatile(),\n  }).create(),\n  EmberObject.extend({\n    key: 'monday',\n    value: 'Monday',\n    eventLabel: 'until next Monday',\n    metaLabel: 'Mon 9am',\n    absoluteUnsnoozeTime: computed(function() {\n      return moment()\n        .startOf('isoWeek')\n        .add(1, 'week')\n        .add(9, 'hours')\n        .toISOString();\n    }).volatile(),\n  }).create(),\n  EmberObject.extend({\n    key: 'next_week',\n    value: 'One week',\n    eventLabel: 'for one week',\n    metaLabel: computed(function() {\n      return moment()\n        .add(1, 'week')\n        .format('ddd ha');\n    }).volatile(),\n    absoluteUnsnoozeTime: computed(function() {\n      return moment()\n        .add(1, 'week')\n        .toISOString();\n    }).volatile(),\n  }).create(),\n  EmberObject.extend({\n    key: 'next_month',\n    value: 'One month',\n    eventLabel: 'for one month',\n    metaLabel: computed(function() {\n      return moment()\n        .add(1, 'month')\n        .format('MMM D');\n    }).volatile(),\n    absoluteUnsnoozeTime: computed(function() {\n      return moment()\n        .startOf('day')\n        .add(1, 'month')\n        .add(9, 'hours')\n        .toISOString();\n    }).volatile(),\n  }).create(),\n];\n\nconst SIDEBAR_EXPANDED_CONTENT_VISIBILITY = {\n  collapsed: 0,\n  expanded: 1,\n  expandedWithHiddenLabel: 2,\n};\n\nconst RULE_ACTION_MAP = {\n  'assign-conversation': {\n    identifier: 'assign-conversation',\n    text: 'Assign to',\n    icon: 'assignment',\n    isCustomerFacing: false,\n    isAssignment: true,\n    order: 0,\n  },\n  'assign-conversation-to-owner': {\n    identifier: 'assign-conversation-to-owner',\n    text: 'Assign to Owner',\n    icon: 'assignment',\n    isCustomerFacing: false,\n    isAssignment: true,\n    order: 5,\n  },\n  'tag-user': {\n    identifier: 'tag-user',\n    text: 'Tag person',\n    icon: 'tag',\n    isCustomerFacing: false,\n    isAssignment: false,\n    order: 10,\n  },\n  'send-to-salesforce': {\n    identifier: 'send-to-salesforce',\n    text: 'Create lead in Salesforce',\n    icon: 'salesforce',\n    isCustomerFacing: false,\n    isAssignment: false,\n    order: 15,\n  },\n  'send-to-hubspot': {\n    identifier: 'send-to-hubspot',\n    text: 'Create contact in HubSpot',\n    icon: 'person',\n    isCustomerFacing: false,\n    isAssignment: false,\n    order: 20,\n  },\n  'send-to-marketo': {\n    identifier: 'send-to-marketo',\n    text: 'Enrich lead in Marketo',\n    icon: 'marketo',\n    isCustomerFacing: false,\n    isAssignment: false,\n    order: 25,\n  },\n  'trigger-marketo-campaign': {\n    identifier: 'trigger-marketo-campaign',\n    text: 'Trigger a Marketo Campaign',\n    icon: 'marketo',\n    isCustomerFacing: false,\n    isAssignment: false,\n    order: 25,\n  },\n  'send-follow-up-reply': {\n    identifier: 'send-follow-up-reply',\n    text: 'Send bot message',\n    icon: 'chat-bubble',\n    isCustomerFacing: true,\n    isAssignment: false,\n    order: 30,\n  },\n  'send-app': {\n    identifier: 'send-app',\n    text: 'Send an app',\n    icon: 'app-store',\n    isCustomerFacing: true,\n    isAssignment: false,\n    order: 35,\n  },\n  'send-app-without-introduction': {\n    identifier: 'send-app-without-introduction',\n    text: 'Send an app',\n    icon: 'app-store',\n    isCustomerFacing: true,\n    isAssignment: false,\n    order: 40,\n  },\n  'send-app-with-introduction': {\n    identifier: 'send-app-with-introduction',\n    text: 'Send bot message and an app',\n    icon: 'app-store',\n    isCustomerFacing: true,\n    isAssignment: false,\n    order: 45,\n  },\n  'close-conversation': {\n    identifier: 'close-conversation',\n    text: 'Close conversation',\n    icon: 'check',\n    isCustomerFacing: false,\n    isAssignment: false,\n    order: 50,\n  },\n  'close-conversation-with': {\n    identifier: 'close-conversation-with',\n    text: 'Send bot message and close conversation',\n    icon: 'check',\n    isCustomerFacing: true,\n    isAssignment: false,\n    order: 55,\n  },\n  'change-conversation-priority': {\n    identifier: 'change-conversation-priority',\n    text: 'Mark as priority',\n    icon: 'star',\n    isCustomerFacing: false,\n    isAssignment: false,\n    order: 60,\n  },\n  'apply-conversation-sla': {\n    identifier: 'apply-conversation-sla',\n    text: 'Apply conversation SLA',\n    icon: 'sla',\n    isCustomerFacing: false,\n    isAssignment: false,\n    order: 65,\n  },\n  'add-tag-to-conversation': {\n    identifier: 'add-tag-to-conversation',\n    text: 'Tag conversation',\n    icon: 'tag',\n    isCustomerFacing: false,\n    isAssignment: false,\n    order: 70,\n  },\n  'set-conversation-data-attribute': {\n    identifier: 'set-conversation-data-attribute',\n    isCustomerFacing: false,\n  },\n};\n\nconst createConversationDataAttributeItems = function(items) {\n  let baseOrder = 80;\n  return items.map(item => ({\n    identifier: 'set-conversation-data-attribute',\n    text: `Set ${item.name}`,\n    attribute_identifier: item.identifier,\n    attribute_type: item.type,\n    icon: 'transfer',\n    isCustomerFacing: false,\n    isAssignment: false,\n    order: baseOrder++,\n  }));\n};\n\nexport {\n  CONVERSATION_PRIORITIES,\n  CONVERSATION_STATES,\n  OFFLINE_NOTIFICATION_KEY,\n  REALTIME_EVENT_NAMES,\n  SNOOZED_UNTIL_MAP,\n  SIDEBAR_EXPANDED_CONTENT_VISIBILITY,\n  RULE_ACTION_MAP,\n  createConversationDataAttributeItems,\n};\n","import containerLookup from 'embercom/lib/container-lookup';\nimport TTLCache from 'embercom/lib/ttl-cache';\nimport ConversationSorter from 'embercom/lib/inbox/conversation-sorter';\nimport TransitionInformation from 'embercom/lib/inbox/transition-information';\nimport { tracked } from '@glimmer/tracking';\n// eslint-disable-next-line ember/no-computed-properties-in-native-classes\nimport { computed } from '@ember/object';\n\nconst TRANSITION_PART_TTL = 60000;\n\nexport default class ConversationList {\n  @tracked items;\n  @tracked sortedItems;\n  @tracked sortKey;\n  @tracked sortDirection;\n  @tracked applySorting;\n  @tracked transitionParts = null;\n  @tracked transitionedConversations;\n  @tracked transitionInformation;\n\n  constructor({ applySorting = true, sortKey = 'sortingUpdatedAt', sortDirection = 'desc' }) {\n    this.applySorting = applySorting;\n    this.sortKey = sortKey;\n    this.sortDirection = sortDirection;\n    this.items = [];\n    this.sortedItems = [];\n    this.transitionParts = new TTLCache();\n    this.transitionedConversations = [];\n    this.transitionInformation = {};\n    this.sorter = ConversationSorter.create();\n  }\n\n  // using a computed here to memoize this value\n  @computed('items.[]', 'transitionedConversations.[]')\n  get unTransitionedConversations() {\n    return this.items.filter(x => this.transitionedConversations.indexOf(x) === -1);\n  }\n\n  // using a computed here to memoize this value\n  @computed\n  get conversationCleaner() {\n    return containerLookup('service:conversationCleaner');\n  }\n\n  get length() {\n    return this.items.length;\n  }\n\n  get isEmpty() {\n    return this.length === 0;\n  }\n\n  addItems(itemsToAdd, skipTransitionPartCheck = false) {\n    itemsToAdd.forEach(item => {\n      if (this._canAddConversation(item, skipTransitionPartCheck)) {\n        this.conversationCleaner.retain(item, 'convo list');\n        this.items.pushObject(item);\n        this.sortedItems.pushObject(item);\n        this._removeFromTransitionParts(item);\n        this.transitionedConversations.removeObjects(item);\n        delete this.transitionInformation[item.id];\n      }\n    });\n    this.items = this.items;\n    if (itemsToAdd.length > 0) {\n      this.sort();\n    }\n  }\n\n  removeItems(items) {\n    let existingItems = items.filter(item => this.items.includes(item));\n    this.conversationCleaner.releaseMulti(existingItems, 'convo list');\n    this.items.removeObjects(existingItems);\n    this.sortedItems.removeObjects(existingItems);\n    this.transitionedConversations.removeObjects(items);\n    items.forEach(item => {\n      delete this.transitionInformation[item.id];\n    });\n  }\n\n  findById(id) {\n    return this.items.findBy('id', id);\n  }\n\n  isValidSort() {\n    return this.sorter.isValidSort(this.sortKey, this.sortDirection);\n  }\n\n  clear() {\n    this.conversationCleaner.releaseMulti(this.items, 'convo list');\n    this.items = [];\n    this.sortedItems = [];\n    this.transitionedConversations = [];\n    this.transitionInformation = {};\n    this.sorter.reset();\n    this.transitionParts = new TTLCache();\n  }\n\n  includes(item) {\n    return this.items.includes(item);\n  }\n\n  markConversationAsTransitioned(conversation) {\n    this._addToTransitionParts(conversation);\n    this.transitionedConversations.addObject(conversation);\n    this.transitionInformation[conversation.id] = new TransitionInformation(conversation);\n    this.transitionInformation = this.transitionInformation;\n    this.transitionedConversations = this.transitionedConversations;\n  }\n\n  markConversationAsNotTransitioned(conversation) {\n    this._removeFromTransitionParts(conversation);\n    this.transitionedConversations.removeObject(conversation);\n    delete this.transitionInformation[conversation.id];\n    this.transitionInformation = this.transitionInformation;\n    this.transitionedConversations = this.transitionedConversations;\n  }\n\n  sort() {\n    if (!this.applySorting) {\n      return;\n    }\n    this.sorter.sort(\n      this.sortedItems,\n      this.transitionedConversations,\n      this.sortKey,\n      this.sortDirection,\n    );\n    this.sortedItems = this.sortedItems.slice();\n  }\n\n  transitionedConversationsExcluding(conversation) {\n    return this.transitionedConversations.without(conversation);\n  }\n\n  sortedUntransitionedConversationsIncluding(conversation) {\n    let transitionedConversations = this.transitionedConversationsExcluding(conversation);\n    return this.sortedItems.filter(item => !transitionedConversations.includes(item));\n  }\n\n  nearestUntransitionedConversation(from) {\n    let next = this.nextUntransitioned(from);\n    if (next === from) {\n      return this.previousUntransitioned(from);\n    }\n    return next;\n  }\n\n  nextUntransitioned(from) {\n    let untransitionedConversations = this.sortedUntransitionedConversationsIncluding(from);\n    let fromIndex = untransitionedConversations.indexOf(from);\n\n    if (fromIndex < 0) {\n      throw new Error('Could not find next untransitioned, target conversation is not in list');\n    }\n    if (fromIndex === untransitionedConversations.length - 1) {\n      return from;\n    }\n    return untransitionedConversations.objectAt(fromIndex + 1);\n  }\n\n  previousUntransitioned(from) {\n    let untransitionedConversations = this.sortedUntransitionedConversationsIncluding(from);\n    let fromIndex = untransitionedConversations.indexOf(from);\n\n    if (fromIndex < 0) {\n      throw new Error('Could not find previous untransitioned, target conversation is not in list');\n    }\n    if (fromIndex === 0) {\n      return from;\n    }\n    return untransitionedConversations.objectAt(fromIndex - 1);\n  }\n\n  _addToTransitionParts(conversation) {\n    this.transitionParts.set(\n      conversation.get('id'),\n      conversation.get('lastActionPart'),\n      TRANSITION_PART_TTL,\n    );\n  }\n\n  _removeFromTransitionParts(conversation) {\n    this.transitionParts.remove(conversation.get('id'));\n  }\n\n  _findInTransitionParts(conversation) {\n    return this.transitionParts.get(conversation.get('id'));\n  }\n\n  _canAddConversation(conversation, skipTransitionPartCheck = false) {\n    let items = this.items;\n    let transitionPart = this._findInTransitionParts(conversation);\n    return (\n      (skipTransitionPartCheck || isNewerThanTransitionPart(conversation, transitionPart)) &&\n      !items.includes(conversation)\n    );\n  }\n}\n\nfunction isNewerThanTransitionPart(conversation, transitionPart) {\n  return (\n    !transitionPart ||\n    (transitionPart.get('isPersisted') &&\n      Number(conversation.get('lastPart.partId')) > Number(transitionPart.get('partId')))\n  );\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport Conversation from 'embercom/models/conversation';\nimport { inject as service } from '@ember/service';\n\nexport default EmberObject.extend({\n  inbox: null,\n  store: service(),\n\n  doSearch(params) {\n    return this.loadConversations(params);\n  },\n\n  loadConversations(params) {\n    return Conversation.newSearch(params).then(response => {\n      this.store.pushPayload({\n        conversations: response.conversations,\n      });\n\n      let conversationModels = response.conversations.map(({ id }) =>\n        this.store.peekRecord('conversation', id),\n      );\n\n      if (response.parts) {\n        this._loadSideloadedParts(response.parts);\n      }\n\n      let result = EmberObject.create({\n        conversations: conversationModels,\n        validFor: response.valid_for,\n      });\n\n      if (response.total_count !== undefined) {\n        result.set('totalCount', response.total_count);\n      }\n\n      return result;\n    });\n  },\n\n  _loadSideloadedParts(responseParts) {\n    let conversationIds = Object.keys(responseParts);\n    conversationIds.forEach(conversationId => {\n      let jsonParts = responseParts[conversationId];\n      this.store.pushPayload({ 'conversation-parts': jsonParts });\n      let parts = jsonParts.map(({ id }) => this.store.peekRecord('conversation-part', id));\n      let referenceConversation = this.store.peekRecord('conversation', conversationId);\n\n      referenceConversation.addParts(parts);\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport { compare } from '@ember/utils';\n\n// This maps the sort options we expose in the UI to underlying sort definitions in the normal ember sort definition format.\nconst SORT_OPTION_TO_SORT_DEFINITION = {\n  'sortingUpdatedAt:asc': ['ordinal', 'id'],\n  'sortingUpdatedAt:desc': ['inverseOrdinal', 'id:desc'],\n  'last_part_where_current_admin_is_mentioned.created_at:asc': [\n    'last_part_where_current_admin_is_mentioned.created_at',\n    'id',\n  ],\n  'last_part_where_current_admin_is_mentioned.created_at:desc': [\n    'last_part_where_current_admin_is_mentioned.created_at:desc',\n    'id:desc',\n  ],\n  'waitingSince:asc': ['waitingSinceOrdinal', 'id'],\n  'priorityNewest:desc': ['priority:desc', 'inverseOrdinal', 'id:desc'],\n  'nextBreachTime:asc': ['nextBreachTime', 'id'],\n};\n\nconst KEYS_USED_TO_SORT = [\n  'id',\n  'ordinal',\n  'inverseOrdinal',\n  'waitingSinceOrdinal',\n  'priority',\n  'nextBreachTime',\n  'last_part_where_current_admin_is_mentioned.created_at',\n];\n\nexport default EmberObject.extend({\n  init() {\n    this._super(...arguments);\n    this.cachedSortValues = {};\n    this._initializeNormalizedSortDefinitions();\n  },\n\n  sort(conversations, transitionedConversations, key, direction) {\n    this._updateSortValueCache(conversations, transitionedConversations);\n\n    let hashKey = this._sortHashKey(key, direction);\n    let sortDefinition = this.normalizedSortDefinitions[hashKey];\n    if (!sortDefinition) {\n      throw new Error(`Sort is invalid: ${hashKey}`);\n    }\n    return this._sortBySortDefinition(conversations, sortDefinition);\n  },\n\n  isValidSort(key, direction) {\n    return !!this.normalizedSortDefinitions[this._sortHashKey(key, direction)];\n  },\n\n  reset() {\n    this.cachedSortValues = {};\n  },\n\n  _sortHashKey(key, direction) {\n    return `${key}:${direction}`;\n  },\n\n  _sortBySortDefinition(conversations, sortDefinition) {\n    return conversations.sort((c1, c2) => {\n      for (let i = 0; i < sortDefinition.length; i++) {\n        let [key, direction] = sortDefinition[i];\n        let result = compare(this.cachedSortValues[c1.id][key], this.cachedSortValues[c2.id][key]);\n        if (result !== 0) {\n          return direction === 'desc' ? -1 * result : result;\n        }\n      }\n      return 0;\n    });\n  },\n\n  _updateSortValueCache(conversations, transitionedConversations) {\n    conversations.forEach(c => {\n      if (!transitionedConversations.includes(c) || !this.cachedSortValues[c.id]) {\n        this.cachedSortValues[c.id] = c.getProperties(KEYS_USED_TO_SORT);\n      }\n    });\n  },\n\n  _initializeNormalizedSortDefinitions() {\n    let normalized = {};\n    Object.keys(SORT_OPTION_TO_SORT_DEFINITION).forEach(name => {\n      normalized[name] = SORT_OPTION_TO_SORT_DEFINITION[name].map(p => {\n        let [prop, direction] = p.split(':');\n        direction = direction || 'asc';\n\n        return [prop, direction];\n      });\n    });\n    this.normalizedSortDefinitions = normalized;\n  },\n});\n","import moment from 'moment';\nimport ajax from 'embercom/lib/ajax';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { chunk } from 'ember-composable-helpers/helpers/chunk';\nimport { diffState } from 'embercom/lib/inbox/synced-list';\nimport PollingSyncedList from 'embercom/lib/inbox/polling-synced-list';\nimport { findBy, isAny } from '@intercom/embercom-core/lib/computed-properties';\nimport conversationPartCompacter from 'embercom/helpers/conversation-part-compacter';\nimport containerLookup, { getEmberDataStore } from 'embercom/lib/container-lookup';\n\n// Calculated by:\n// - Max URL Length: 2000 (https://stackoverflow.com/q/417142/10879496)\n// - Base: \"https://app.intercom.com/ember/conversation_parts.json?\".length == 54\n// - Per Id: \"ids%5B%5D=comment-XXXXXXXXXXX-XXXXXXXXX&\".length == 40\n//\n//    N = (Max URL length - Base) / Per Id\n//    N = (2000 - 54) / 40\n//    N = 48.65 = 45 (rounded down to allow for margin of error)\n//\nexport const MAX_CONVERSATION_PART_IDS_PER_REQUEST = 45;\n\n// The age a part can be before we unload it from the store. The reason for\n// the timeout before unloading is because we could potentially unload a part\n// that is still required by an async operation. This is a temporary workaround\n// until we fix the conversation memory problem.\nexport const PART_UNLOAD_AGE_IN_MINUTES = 3;\n\nexport default PollingSyncedList.extend({\n  pageSize: 25,\n  sortKey: ['isNew:asc', 'timestamp:asc', 'id:asc'],\n\n  conversationCleaner: computed(function() {\n    return containerLookup('service:conversationCleaner');\n  }),\n\n  conversation: null,\n  parts: readOnly('items'),\n  sortedParts: readOnly('sortedItems'),\n  sortedPartsReversed: computed('sortedParts.[]', function() {\n    return this.sortedParts.slice().reverse();\n  }),\n\n  hasInitialMessagePart: isAny('sortedParts', 'isInitialMessage'),\n  lastPart: readOnly('sortedParts.lastObject'),\n  lastUserPart: findBy('sortedPartsReversed', 'isUserPart'),\n  lastAssignmentPart: findBy('sortedPartsReversed', 'isAssignment'),\n  lastActionPart: findBy('sortedPartsReversed', 'isAction'),\n  lastStateChangePart: findBy('sortedPartsReversed', 'isStateChange'),\n  lastPriorityChangePart: findBy('sortedPartsReversed', 'isPriorityChanger'),\n  lastPartWithContentExcludingOperator: computed(\n    'sortedPartsReversed.@each.{hasAnyContent,isNote,isOperatorPart}',\n    function() {\n      return this.sortedPartsReversed.find(\n        part => part.hasAnyContent && (part.isNote || !part.isOperatorPart),\n      );\n    },\n  ),\n\n  isLoadingUntilPart: false,\n\n  async sync() {\n    this.conversationCleaner.retain(this.conversation, 'convo stream');\n    try {\n      return await this._super(...arguments);\n    } finally {\n      this.conversationCleaner.release(this.conversation, 'convo stream');\n    }\n  },\n\n  async fetchInitialItems(windowSize) {\n    let remoteState = await this.fetchRemoteState(windowSize);\n    let addedItemsIds = diffState(this.getCurrentState(), remoteState).addedItemsIds;\n    return await this.loadItemsFromNetwork(addedItemsIds, true);\n  },\n\n  async fetchRemoteState(windowSize) {\n    this.conversationCleaner.retain(this.conversation, 'convo stream');\n    try {\n      return await ajax({\n        url: '/ember/conversation_parts/sync_data.json',\n        type: 'GET',\n        data: {\n          window_size: windowSize,\n          app_id: this.conversation.app_id,\n          conversation_id: this.conversation.id,\n        },\n      });\n    } finally {\n      this.conversationCleaner.release(this.conversation, 'convo stream');\n    }\n  },\n\n  async fetchItemsById(ids) {\n    this.conversationCleaner.retain(this.conversation, 'convo stream');\n    try {\n      return this.loadItemsFromNetwork(ids, false);\n    } finally {\n      this.conversationCleaner.release(this.conversation, 'convo stream');\n    }\n  },\n\n  async loadItemsFromNetwork(ids, fromUserInteraction) {\n    let responses = await Promise.all(\n      chunk(MAX_CONVERSATION_PART_IDS_PER_REQUEST, ids).map(ids =>\n        ajax({\n          url: '/ember/conversation_parts.json',\n          type: 'GET',\n          data: {\n            from_user_interaction: fromUserInteraction,\n            ids,\n            app_id: this.conversation.app_id,\n          },\n        }),\n      ),\n    );\n    let store = getEmberDataStore();\n    let data = responses.flatMap(data => data.conversation_parts);\n    store.pushPayload({ 'conversation-parts': data });\n    return data.map(d => {\n      return store.peekRecord('conversation-part', d.id);\n    });\n  },\n\n  async sortBy() {\n    throw new Error('ConversationStreamSyncedList does not support custom sorting');\n  },\n\n  async loadMoreUntilPart(partId) {\n    this.conversationCleaner.retain(this.conversation, 'convo stream');\n    try {\n      if (this.sortedParts.findBy('id', partId) || this.hasInitialMessagePart) {\n        this.set('isLoadingUntilPart', false);\n        return;\n      }\n\n      this.set('isLoadingUntilPart', true);\n      await this.loadMore();\n      await this.loadMoreUntilPart(partId);\n    } finally {\n      this.conversationCleaner.release(this.conversation, 'convo stream');\n    }\n  },\n\n  addItems(addedItems) {\n    // Special case: if the amount of items the list wants to add is equivalent to the window size, we\n    // assume the list is in a bad state and remove *all* items. The rationale behind this is that if the\n    // gap in the list (most recent part in the local list to the oldest part returned from the remote) between\n    // syncs is so great that there is no intersection, we should defensively clear out the list to ensure\n    // we are in a correct state. This case can happen when a user goes offline.\n    if (this.items.length > 0 && addedItems.length >= this.windowSize) {\n      this.clear();\n    }\n\n    // Handle the race condition where we create a conversation part but syncing returns the part\n    // faster than the create conversation part request does. In this case, we remove the locally\n    // created part model instance from the list in favor of the part model instance returned from syncing.\n    let clientAssignedUUIDs = addedItems.map(getClientAssignedUUID).filter(id => id);\n    let staleParts = this.parts.filter(part =>\n      clientAssignedUUIDs.includes(getClientAssignedUUID(part)),\n    );\n\n    if (staleParts.length) {\n      this.parts.removeObjects(staleParts);\n    }\n\n    addedItems.forEach(part => part.set('shouldFadeIn', true));\n    this.parts.forEach(part =>\n      part.setProperties({\n        isImmediateSend: false,\n        shouldFadeIn: false,\n      }),\n    );\n\n    this._super(addedItems);\n    this.compactParts();\n    this.updatePartsSeenState();\n\n    let newerParts = addedItems.filter(part => part.created_at > this.conversation.updated_at);\n    this.updateConversation(newerParts);\n\n    // We always want to sync the window size or more\n    this.set('windowSize', Math.max(this.pageSize, this.items.length));\n  },\n\n  updateItems() {\n    // noop, part models are updated in place by Ember Model so the list has no work to do to update items\n  },\n\n  removeItems() {\n    // noop, we never want to remove parts during syncing from the list since parts cannot\n    // be deleted or reordered. It will force the window (windowSize) to always continue to grow.\n  },\n\n  addParts(parts) {\n    this.addItems(parts);\n  },\n\n  removePart(part) {\n    this.parts.removeObject(part);\n    this.updateConversation();\n  },\n\n  unload() {\n    this.sortedParts.forEach(part => {\n      part.unloadRecord();\n    });\n\n    this.clear();\n  },\n\n  compactParts() {\n    let sortedParts = this.sortedParts;\n    let memoizedProperties = this._memoizedCompactionProperties;\n    this.set(\n      '_memoizedCompactionProperties',\n      conversationPartCompacter(sortedParts, memoizedProperties),\n    );\n  },\n\n  updateConversation(newerParts = []) {\n    // Conversation side effects from new or removed parts\n    this.updateConversationMetaParts();\n    this.updateConversationTimerUnsnoozeBadge();\n    this.updateConversationParticipants(newerParts);\n    this.updateConversationTimestamps();\n  },\n\n  updateConversationMetaParts() {\n    this.conversation.setProperties(\n      compactObject({\n        lastPart: this.lastPart,\n        lastActionPart: this.lastActionPart,\n        lastPartWithContentExcludingOperator: this.lastPartWithContentExcludingOperator,\n      }),\n    );\n  },\n\n  updateConversationTimerUnsnoozeBadge() {\n    if (!this.get('lastPart.isTimerUnsnoozer') && this.conversation.last_snoozed_at) {\n      this.conversation.set('last_snoozed_at', null);\n    }\n  },\n\n  updateConversationParticipants(newerParts) {\n    if (newerParts.any(part => part.isParticipantAdded || part.isParticipantRemoved)) {\n      this.conversation.reload();\n    }\n  },\n\n  updateConversationTimestamps() {\n    this.conversation._setUpdatedAt();\n    this.conversation._setSortingUpdatedAt();\n  },\n\n  updatePartsSeenState() {\n    if (this.lastUserPart) {\n      this.sortedParts.forEach(part => {\n        if (\n          part.is_after_last_user_comment &&\n          moment(part.created_at).isBefore(this.lastUserPart.created_at)\n        ) {\n          part.set('is_after_last_user_comment', false);\n        }\n      });\n    }\n  },\n\n  willDestroy() {\n    this.unload();\n    return this._super();\n  },\n});\n\nfunction getClientAssignedUUID(item) {\n  return item.get('client_assigned_uuid');\n}\n\nfunction compactObject(obj) {\n  return Object.keys(obj).reduce((next, key) => {\n    if (obj[key]) {\n      next[key] = obj[key];\n    }\n\n    return next;\n  }, {});\n}\n","import moment from 'moment';\n\nexport function dateRangeBucketFormatter(date, interval, rangeStart, rangeEnd) {\n  let datePattern = 'MMM D';\n  let endDate = moment(date)\n    .add(1, interval)\n    .subtract(1, 'second');\n  let endWithinRange = moment.min(endDate, moment(rangeEnd));\n  let startWithinRange = moment.max(moment(date), moment(rangeStart));\n\n  return `${startWithinRange.parseZone().format(datePattern)} - ${endWithinRange\n    .parseZone()\n    .format(datePattern)}`;\n}\n\nexport function isBucketGreaterThanDay(bucketInterval) {\n  let intervalsGreaterThanDay = ['week', 'month'];\n  return intervalsGreaterThanDay.includes(bucketInterval);\n}\n","let displayAdminAs = function(currentAdmin, admin, isReflexive, lowerCase, firstnameOnly) {\n  if (!currentAdmin) {\n    return;\n  }\n\n  if (!admin || !admin.get('display_as')) {\n    return 'Team member';\n  }\n\n  if (admin.get('removed_from_current_app')) {\n    return admin.get('name');\n  }\n\n  let name = '';\n  if (currentAdmin.get('id') === admin.get('id')) {\n    name = isReflexive === true ? 'yourself' : 'You';\n  } else {\n    name = isReflexive === true ? 'themselves' : admin.get('display_as');\n    if (admin.get('is_team')) {\n      name = admin.get('display_as');\n    }\n  }\n  if (firstnameOnly === true && !admin.get('is_team')) {\n    name = name.split(' ')[0];\n  }\n  if (lowerCase === true) {\n    name = name.toLowerCase();\n  }\n  return name;\n};\n\nexport default displayAdminAs;\n","// Take a local conversation list and remote inbox state and return\n// a list of conversation ids that are in one list but not the other\n// or are in both lists but have different updated_at values\n//\n// localState:  an array of Ember objects with id and updated_at\n// remoteState: an array of arrays with this form [[id, updated_at]]\n//\n// returns an array of ids\n/* eslint guard-for-in: 0 */\n\nexport default function findConversationDiff(localState, remoteState) {\n  let remoteById = {};\n  for (let i = 0; i < remoteState.length; i++) {\n    remoteById[remoteState[i][0]] = remoteState[i][1];\n  }\n\n  let localById = {};\n  for (let convo of localState) {\n    localById[convo.get('id')] = convo.get('updated_at');\n  }\n\n  let diff = {\n    createdOrUpdatedIds: [],\n    removedIds: [],\n    allDifferingIds: [],\n  };\n\n  for (let remoteId in remoteById) {\n    let remoteUpdatedAt = remoteById[remoteId];\n    if (!localById[remoteId] || localById[remoteId] < remoteUpdatedAt) {\n      diff.createdOrUpdatedIds.push(Number(remoteId));\n      delete localById[remoteId];\n    }\n  }\n\n  for (let localId in localById) {\n    localId = Number(localId);\n    if (!remoteById[localId]) {\n      diff.removedIds.push(localId);\n    }\n  }\n\n  diff.allDifferingIds = [...diff.createdOrUpdatedIds, ...diff.removedIds];\n\n  return diff;\n}\n","import SyncedList from 'embercom/lib/inbox/synced-list';\nimport { debounce, cancel } from '@ember/runloop';\nimport ENV from 'embercom/config/environment';\n\nexport default SyncedList.extend({\n  pollInterval: ENV.APP._30000MS,\n  isPolling: false,\n\n  async sync() {\n    if (this.isPolling) {\n      this._pollDebounce = debounce(this, this.poll, this.pollInterval);\n    }\n\n    await this._super();\n  },\n\n  startPoll() {\n    if (!this.isPolling) {\n      this.set('isPolling', true);\n      this._pollDebounce = debounce(this, this.poll, this.pollInterval);\n    }\n  },\n\n  stopPoll() {\n    this.set('isPolling', false);\n    cancel(this._pollDebounce);\n  },\n\n  willDestroy() {\n    this.stopPoll();\n    return this._super();\n  },\n\n  poll() {\n    this.sync().catch(err => {\n      if (err.name === 'TaskCancelation') {\n        return; // Ignore cancellation errors, can happen when the conversation is unloaded\n      }\n\n      throw err;\n    });\n  },\n});\n","import {\n  BlocksDocument,\n  ComposerPublicAPI,\n  ComposerConfig,\n} from '@intercom/embercom-prosemirror-composer';\nimport InboxComposerConfig from 'embercom/lib/inbox/composer-config';\nimport InboxComposerConfigPlaintext from 'embercom/lib/inbox/composer-config-plaintext';\nimport { action } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport { schedule } from '@ember/runloop';\n\nexport class ProsemirrorComposerWrapper {\n  @tracked blocksDoc: BlocksDocument;\n  @tracked api: ComposerPublicAPI;\n\n  @tracked paneComponent: any;\n  @tracked config: ComposerConfig;\n\n  constructor(paneComponent) {\n    this.blocksDoc = new BlocksDocument();\n    this.paneComponent = paneComponent;\n    this.setConfig();\n  }\n\n  @action\n  setConfig() {\n    if (!this.configNeedsUpdating()) {\n      return;\n    }\n\n    if (this.isFacebookOrTwitter && this.activePane !== 'note') {\n      this.config = new InboxComposerConfigPlaintext();\n    } else {\n      this.config = new InboxComposerConfig(\n        this.paneComponent.app.id,\n        this.conversationId,\n        this.activePane,\n        this.attachmentsEnabled,\n      );\n    }\n  }\n\n  getBlocks() {\n    return this.blocksDoc.blocks;\n  }\n\n  sync() {\n    //noop new composer is always in sync\n  }\n\n  focus() {\n    this.api.composer.commands.focus();\n  }\n\n  removeFocus() {\n    (document.activeElement as HTMLElement).blur();\n  }\n\n  load(blocks) {\n    this.blocksDoc = new BlocksDocument(blocks);\n    schedule('afterRender', () => {\n      this.paneComponent.set('composerHasContent', this.api.composer.state.hasContent);\n    });\n  }\n\n  loadAndFocus(blocks) {\n    this.blocksDoc = new BlocksDocument(blocks);\n    schedule('afterRender', () => {\n      this.api.composer.commands.focus();\n      this.paneComponent.set('composerHasContent', this.api.composer.state.hasContent);\n    });\n  }\n\n  createBlock(type, args) {\n    let block = Object.assign({}, { type }, args);\n    this.api.composer.commands.insertBlock(block);\n  }\n\n  uploadImage(files: Array<File>) {\n    files.forEach(file => {\n      this.api.composer.commands.insertImageFile(file);\n    });\n  }\n\n  uploadAttachment(files: Array<File>) {\n    files.forEach(file => {\n      this.api.composer.commands.addAttachment(file);\n    });\n  }\n\n  insertBlocks(blocks) {\n    this.api.composer.commands.insertBlocks(blocks);\n  }\n\n  paste(text, type) {\n    if (type === 'plain') {\n      this.api.composer.commands.insertText(text);\n    }\n  }\n\n  @action\n  onReady(api: ComposerPublicAPI) {\n    this.api = api;\n    this.paneComponent.set('composerHasContent', this.api.composer.state.hasContent);\n  }\n\n  @action\n  onChange(blocksDoc: BlocksDocument) {\n    this.blocksDoc = blocksDoc;\n    this.paneComponent.set('composerHasContent', this.api.composer.state.hasContent);\n    this.paneComponent.controlsAPI.actions.onComposerChange();\n    this.paneComponent.controlsAPI.actions.onComposerKeyDown(); // used to send nexus events\n  }\n\n  @action\n  uploadingStateChanged() {\n    this.paneComponent.set('composerIsUploading', this.api.composer.state.isUploading);\n  }\n\n  send(command, ...args) {\n    try {\n      this[command](...args);\n    } catch (e) {\n      console.log(`Error running command ${command}: ${e.message}`);\n    }\n  }\n  // The config of the composer is based on properties of the controlsAPI object\n  // but this object in turn has dependencies on properties that come from the composer,\n  // most noteably hasContent. This causes a big circular mess of dependency that\n  // results in the composer getting reconfigured multiple times when you change tab.\n  // This is quite an expensive and wasteful operation so we track the properties that\n  // influence the composer config and exit early if none of them have actuallly changed\n  private configInfluencingProps = ['activePane', 'attachmentsEnabled', 'conversationId'];\n  private previousConfigInfluencingValues: { [key: string]: any } = {};\n  private configNeedsUpdating() {\n    let shouldChangeConfig = false;\n    this.configInfluencingProps.forEach(prop => {\n      if (this[prop] !== this.previousConfigInfluencingValues[prop]) {\n        shouldChangeConfig = true;\n      }\n      this.previousConfigInfluencingValues[prop] = this[prop];\n    });\n    if (!shouldChangeConfig) {\n      return false;\n    }\n\n    return true;\n  }\n\n  private get conversationId() {\n    return this.paneComponent.controlsAPI.conversation.id;\n  }\n\n  private get activePane() {\n    return this.paneComponent.controlsAPI.activePaneIdentifier;\n  }\n\n  private get attachmentsEnabled() {\n    return this.paneComponent.app.teammateConversationAttachmentsEnabled;\n  }\n\n  private get isFacebookOrTwitter() {\n    let conversation = this.paneComponent.controlsAPI.conversation;\n    return conversation.isFacebook || conversation.isTwitter;\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { equal, reads, readOnly } from '@ember/object/computed';\nimport EmberObject from '@ember/object';\n\nwindow.INBOX_REALTIME_LOGGING = false;\n\nexport default EmberObject.extend({\n  store: null,\n  realtimeService: null,\n  inboxService: null,\n\n  isClosed: equal('inboxService.inbox.status', 'closed'),\n  isOpen: equal('inboxService.inbox.status', 'opened'),\n  isSnoozed: equal('inboxService.inbox.status', 'snoozed'),\n\n  appService: readOnly('inboxService.appService'),\n  currentAssignee: reads('inboxService.inbox.assignee_identifier'),\n  currentAssigneeId: reads('inboxService.inbox.assigneeId'),\n\n  willDestroy() {\n    this.disable();\n  },\n\n  enable() {\n    this.bindEvents();\n    this.inboxService.scheduleInboxCountersPoll.perform();\n    this.appService.scheduleAppCountersPoll.perform();\n  },\n\n  disable() {\n    this.unbindEvents();\n  },\n\n  bindEvents() {\n    let realTimeEventService = this.realtimeService;\n    realTimeEventService.on('CountersUpdated', this, 'handleCountersUpdatedEvent');\n    realTimeEventService.on('UserDetails', this, 'handleUserDetailsEvent');\n  },\n\n  unbindEvents() {\n    let realTimeEventService = this.realtimeService;\n    realTimeEventService.off('CountersUpdated', this, 'handleCountersUpdatedEvent');\n    realTimeEventService.off('UserDetails', this, 'handleUserDetailsEvent');\n  },\n\n  handleCountersUpdatedEvent(event) {\n    this.inboxService.updateInboxCounters(event.counters);\n    this.appService.scheduleAppCountersPoll.perform();\n    if (event.valid_for) {\n      this.inboxService.scheduleInboxViewCountersRefresh.perform(event.valid_for);\n    }\n  },\n\n  handleUserDetailsEvent(event) {\n    if (event.lead_shares_email_with_user) {\n      this.get('inboxService.inbox.conversations')\n        .filterBy('main_participant.id', event.id)\n        .forEach(conversation => {\n          conversation.set('lead_shares_email_with_user', event.lead_shares_email_with_user);\n        });\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport ENV from 'embercom/config/environment';\nimport { REALTIME_EVENT_NAMES } from 'embercom/lib/inbox/constants';\nimport EmberObject from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { cancel, debounce, later } from '@ember/runloop';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\n\nwindow.INBOX_REALTIME_LOGGING = false;\n\nexport default EmberObject.extend({\n  realtimeService: service('realTimeEventService'),\n  store: service(),\n  inbox: notImplemented('inbox is required'),\n  isRealtimeEnabled: false,\n\n  willDestroy() {\n    this.disable();\n  },\n\n  enable() {\n    this.set('isRealtimeEnabled', true);\n\n    REALTIME_EVENT_NAMES.forEach(eventName => {\n      this.realtimeService.on(eventName, this, '_handleInboxEvent');\n    });\n\n    this.realtimeService.on('UserBlocked', this, '_handleUserBlocked');\n\n    this.schedulePoll();\n  },\n\n  disable() {\n    this.set('isRealtimeEnabled', false);\n    this._cancelPollTimer();\n\n    REALTIME_EVENT_NAMES.forEach(eventName => {\n      this.realtimeService.off(eventName, this, '_handleInboxEvent');\n    });\n\n    this.realtimeService.off('UserBlocked', this, '_handleUserBlocked');\n  },\n\n  trackUpdatesToConversations(conversations) {\n    this.realtimeService.subscribeTopics(this._topicIdentifiers(conversations));\n  },\n\n  stopTrackingUpdatesToConversations(conversations) {\n    this.realtimeService.unsubscribeTopics(this._topicIdentifiers(conversations));\n  },\n\n  _handleUserBlocked(event) {\n    this.store.findRecord('admin', event.adminId, { backgroundReload: false }).then(admin => {\n      this.inbox.conversationList.items\n        .filterBy('main_participant.id', event.userId)\n        .forEach(conversation => {\n          conversation.set('userIsBlocked', true);\n          conversation.set('userBlockedBy', admin);\n          this.inbox.conversationList.markConversationAsTransitioned(conversation);\n        });\n    });\n  },\n\n  _handleInboxEvent(event) {\n    if (!this._isEventForCurrentInbox(event)) {\n      return;\n    }\n\n    this.schedulePoll();\n    debounce(this.inbox.sync, 'perform', ENV.APP._2000MS);\n  },\n\n  _isEventForCurrentInbox(event) {\n    let inbox = this.inbox;\n\n    if (!inbox) {\n      return false;\n    }\n\n    let assigneeId = Number(inbox.assigneeId);\n\n    return (\n      (inbox.isMentionsInbox && event.eventName === 'MentionCreated') ||\n      inbox.isAllInbox ||\n      Number(event.assigneeId) === assigneeId ||\n      Number(event.assigneeIdWas) === assigneeId ||\n      (inbox.isInboxView && event.eventName === 'ThreadIngested')\n    );\n  },\n\n  _topicIdentifiers(conversations) {\n    return conversations.map(conversation => {\n      return `conversation/${conversation.get('id')}`;\n    });\n  },\n\n  schedulePoll() {\n    // This nasty environment check is needed because otherwise tests will pause forever on this timer\n    if (!this.isRealtimeEnabled || (ENV.environment === 'test' && !this.forcePollingInTest)) {\n      return;\n    }\n    this._cancelPollTimer();\n    if (!this.isDestroying) {\n      this.set(\n        'pollingTimer',\n        later(null, () => this.inbox.sync.perform(undefined, false), ENV.APP._15000MS),\n      );\n    }\n  },\n\n  _cancelPollTimer() {\n    cancel(this.pollingTimer);\n  },\n});\n","import Signal from 'embercom/models/reporting/signal';\n\nconst setupLineChartSignal = ([firstSignal, ...restSignals]) =>\n  Signal.create({\n    ...firstSignal,\n    originalContext: [firstSignal, ...restSignals].map(({ originalContext = [], name }, key) => ({\n      key,\n      name,\n      count: originalContext.length,\n      value: originalContext,\n    })),\n  });\n\nexport default setupLineChartSignal;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-get-with-default */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject, { computed } from '@ember/object';\nimport { isEmpty } from '@ember/utils';\nimport { decamelize } from '@ember/string';\nimport { task } from 'ember-concurrency';\nimport ConversationList from 'embercom/lib/inbox/conversation-list';\nimport { getOwner } from '@ember/application';\nimport { inject as service } from '@ember/service';\nimport { alias, and, empty, not, readOnly } from '@ember/object/computed';\nimport { equalToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default EmberObject.extend({\n  appService: service(),\n  inboxService: service(),\n  intercomEventService: service(),\n  notificationsService: service(),\n\n  PAGE_SIZE: 15,\n\n  isSearch: true,\n  identifier: 'search',\n  name: 'Search',\n  pagingStrategy: 'page',\n  app: readOnly('appService.app'),\n  canBeBackgrounded: false,\n\n  sortKey: alias('conversationList.sortKey'),\n  conversations: readOnly('conversationList.items'),\n  hasNoConversations: empty('conversations'),\n  hasLoadedAll: equalToProperty('conversations.length', 'count'),\n  sortDirection: alias('conversationList.sortDirection'),\n\n  isEmpty: and('hasNoConversations', 'hasNotErrored', 'fetchPageTask.isIdle'),\n  hasNotErrored: not('fetchPageTask.last.error'),\n\n  init() {\n    this._super(...arguments);\n    this.set('conversationList', this._createConversationListModel());\n    this.conversationLoader = getOwner(this)\n      .factoryFor('customClass:inbox/conversationLoader')\n      .create({ inbox: this });\n  },\n\n  defaultSortKey: 'sortingUpdatedAt',\n\n  enableRealtime() {},\n  disableRealtime() {},\n\n  reload() {\n    this.cancelAllTasks();\n    this.clearConversations();\n    this.inboxService.transitionToRoot();\n    this.fetchPageTask.perform(true);\n  },\n\n  _createConversationListModel() {\n    return new ConversationList({\n      applySorting: false,\n      sortKey: 'relevance',\n      sortDirection: 'desc',\n    });\n  },\n\n  analyticsData: computed('id', function() {\n    return {\n      object: 'inbox',\n      id: 'search',\n    };\n  }),\n\n  // Fetch a page of items\n  fetchPageTask: task(function*(force) {\n    if (!force && this.hasLoadedAll) {\n      return;\n    }\n    try {\n      let params = this.conversationSearchParams;\n      let results = yield this.conversationLoader.doSearch(params);\n      this.addConversations(results.conversations);\n      this.set('count', results.totalCount);\n      this._trackSearchResults(params, results.totalCount);\n      this.inboxService.updateFavicon();\n      this.inboxService.autoTransitionIfNoCurrentConversation();\n    } catch (e) {\n      if (e.jqXHR && e.jqXHR.status === 422) {\n        this.notificationsService.notifyError(e.jqXHR.responseJSON.errors[0]);\n      }\n      throw e;\n    }\n  }).drop(),\n\n  addConversations(items) {\n    this.conversationList.addItems(items);\n  },\n\n  findConversationById(id) {\n    return this.conversationList.findById(id);\n  },\n\n  removeConversations(items) {\n    this.conversationList.removeItems(items);\n  },\n\n  clearTransitionedConversationsExcluding(conversation) {\n    this.removeConversations(\n      this.conversationList.transitionedConversationsExcluding(conversation),\n    );\n  },\n\n  clearTransitionedConversations() {},\n\n  clearConversations() {\n    this.conversationList.clear();\n  },\n\n  cancelAllTasks() {\n    this.fetchPageTask.cancelAll();\n  },\n\n  conversationWasUpdated() {},\n\n  sortBy(sortKey, sortDirection) {\n    this.setProperties({ sortKey, sortDirection });\n    this.reload();\n  },\n\n  conversationSearchParams: computed(\n    'app_id',\n    'sortDirection',\n    'sortKey',\n    'keywords',\n    'tagIds',\n    'userIds',\n    'assignee_identifier',\n    'teammate_assignee_identifier',\n    'team_assignee_identifier',\n    'adminDateRangeStart',\n    'adminDateRangeEnd',\n    'conversations.length',\n    'app.canAssignToTeamAndTeammate',\n    function() {\n      let params = {\n        _data_source: 'elasticsearch',\n        app_id: this.app_id,\n        sort_direction: this.sortDirection,\n        sort_key: decamelize(this.sortKey),\n        status: 'all',\n        per_page: 15,\n      };\n      if (!isEmpty(this.keywords)) {\n        params.keywords = this.keywords;\n      }\n      if (!isEmpty(this.tagIds)) {\n        params.tag_ids = this.tagIds;\n      }\n      if (!isEmpty(this.userIds)) {\n        params.user_ids = this.userIds;\n      }\n\n      if (this.app?.canAssignToTeamAndTeammate) {\n        if (!isEmpty(this.teammate_assignee_identifier)) {\n          params.admin_assignee_identifier = this.teammate_assignee_identifier;\n        }\n        if (!isEmpty(this.team_assignee_identifier)) {\n          params.team_assignee_identifier = this.team_assignee_identifier;\n        }\n      } else if (!isEmpty(this.assignee_identifier)) {\n        params.assignee_identifier = this.assignee_identifier;\n      }\n\n      if (!isEmpty(this.adminDateRangeStart)) {\n        params.admin_date_range_start = this.adminDateRangeStart;\n      }\n      if (!isEmpty(this.adminDateRangeEnd)) {\n        params.admin_date_range_end = this.adminDateRangeEnd;\n      }\n      if (!isEmpty(this.conversationList)) {\n        params.page = Math.ceil(this.get('conversations.length') / this.PAGE_SIZE) + 1;\n      }\n      return params;\n    },\n  ),\n\n  queryParams: computed(\n    'keywords',\n    'tagIds.[]',\n    'userIds.[]',\n    'assignee_identifier',\n    'teammate_assignee_identifier',\n    'team_assignee_identifier',\n    'adminDateRangeStart',\n    'adminDateRangeEnd',\n    'app.canAssignToTeamAndTeammate',\n    function() {\n      let params = {\n        q: this.getWithDefault('keywords', null),\n        tagIds: this.getWithDefault('tagIds', []),\n        userIds: this.getWithDefault('userIds', []),\n        adminDateRangeStart: this.getWithDefault('adminDateRangeStart', null),\n        adminDateRangeEnd: this.getWithDefault('adminDateRangeEnd', null),\n      };\n\n      if (this.app?.canAssignToTeamAndTeammate) {\n        return {\n          ...params,\n          teammateAssigneeIdentifier: this.getWithDefault('teammate_assignee_identifier', null),\n          teamAssigneeIdentifier: this.getWithDefault('team_assignee_identifier', null),\n        };\n      } else {\n        return { ...params, assigneeIdentifier: this.getWithDefault('assignee_identifier', null) };\n      }\n    },\n  ),\n\n  _trackSearchResults(params, totalCount) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'searched',\n      object: 'conversations',\n      place: 'inbox',\n      owner: 'inbox',\n      query_keywords: params.keywords,\n      query_tag_ids: params.tag_ids,\n      query_user_ids: params.user_ids,\n      query_assignee_id: params.assignee_identifier,\n      query_admin_assignee_id: params.teammate_assignee_identifier,\n      query_team_assignee_id: params.team_assignee_identifier,\n      query_date_range_start: params.admin_date_range_start,\n      query_date_range_end: params.admin_date_range_end,\n      number_of_results: totalCount,\n    });\n  },\n});\n","import { isEmpty } from '@ember/utils';\n\nlet orderNameRegex = /^#?[0-9]+$/;\n\nexport function isValidOrderName(orderName) {\n  return isEmpty(orderName) ? false : orderNameRegex.test(orderName);\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport { sort } from '@ember/object/computed';\nimport { task, taskGroup } from 'ember-concurrency';\n\nexport default EmberObject.extend({\n  pageSize: 10,\n  idKey: 'id',\n  updateKey: 'updated_at',\n  sortKey: ['updated_at:desc'],\n\n  // This is overridden by the Conversation model when it creates ConversationStreamSyncedList\n  // to tie this task group with the conversation tasks.\n  // Cancelling this group, or any tasks in the group, will also cancel all conversation\n  // tasks. See: https://github.com/intercom/intercom/issues/150738\n  syncingTaskGroup: taskGroup().enqueue(),\n\n  windowSize: 0,\n  items: null,\n  sortedItems: sort('items', 'sortKey'),\n\n  isLoadingMore: false,\n\n  init() {\n    this._super(...arguments);\n    this.set('items', []);\n  },\n\n  // Abstract\n\n  async fetchRemoteState(/* windowSize */) {\n    throw new Error('Not implemented');\n  },\n\n  async fetchItemsById(/* ids */) {\n    throw new Error('Not implemented');\n  },\n\n  // Public\n\n  async sync() {\n    if (this.windowSize === 0) {\n      return await this.loadMore();\n    }\n\n    // Consolidate the Promise implementation to native\n    return new Promise((resolve, reject) => {\n      this.update.perform().then(resolve, reject);\n    });\n  },\n\n  async loadMore(pageSize = this.pageSize) {\n    this.incrementProperty('windowSize', pageSize);\n    this.set('isLoadingMore', true);\n    await this.sync();\n    this.set('isLoadingMore', false);\n  },\n\n  clear() {\n    this.set('items', []);\n    this.set('windowSize', 0);\n  },\n\n  async refresh() {\n    this.clear();\n    await this.sync();\n  },\n\n  async sortBy(sortKey) {\n    this.set('sortKey', sortKey);\n    await this.refresh();\n  },\n\n  // Protected\n\n  update: task(function*() {\n    if (this.items.length === 0 && this.fetchInitialItems) {\n      return this.addItems(yield this.fetchInitialItems(this.windowSize));\n    }\n\n    let remoteState = yield this.fetchRemoteState(this.windowSize);\n    let localState = this.getCurrentState();\n    let { addedItemsIds, updatedItemsIds, removedItemsIds } = diffState(localState, remoteState);\n\n    let addedAndUpdatedItems = yield this.fetchItemsById(addedItemsIds.concat(updatedItemsIds));\n    let addedItems = addedAndUpdatedItems.filter(item =>\n      addedItemsIds.includes(this.getItemId(item)),\n    );\n    let updatedItems = addedAndUpdatedItems.filter(item =>\n      updatedItemsIds.includes(this.getItemId(item)),\n    );\n    let removedItems = this.getItemsById(removedItemsIds);\n\n    if (updatedItems.length) {\n      this.updateItems(updatedItems);\n    }\n\n    if (addedItems.length) {\n      this.addItems(addedItems);\n    }\n\n    if (removedItemsIds.length) {\n      this.removeItems(removedItems);\n    }\n  }).group('syncingTaskGroup'),\n\n  getCurrentState() {\n    return this.items.map(item => [this.getItemId(item), this.getItemLastUpdate(item)]);\n  },\n\n  addItems(items) {\n    this.items.addObjects(items);\n  },\n\n  updateItems(items) {\n    this.set(\n      'items',\n      this.items\n        .filter(existingItem => !items.find(item => item.get('id') === existingItem.get('id')))\n        .concat(items),\n    );\n  },\n\n  removeItems(items) {\n    this.items.removeObjects(items);\n  },\n\n  getItemsById(ids) {\n    return this.items.filter(item => ids.includes(this.getItemId(item)));\n  },\n\n  getItemId(item) {\n    return item.get(this.idKey);\n  },\n\n  getItemLastUpdate(item) {\n    return item.get(this.updateKey);\n  },\n\n  willDestroy() {\n    this.clear();\n    return this._super();\n  },\n});\n\nexport function diffState(localState, remoteState) {\n  let removedItemsIds = localState.filter(\n    ([localId]) => !remoteState.find(([remoteId]) => remoteId === localId),\n  );\n  let addedItemsIds = remoteState.filter(\n    ([remoteId]) => !localState.find(([localId]) => localId === remoteId),\n  );\n  let updatedItemsIds = remoteState.filter(remoteTuple => {\n    let localTuple = localState.find(([localId]) => localId === remoteTuple[0]);\n\n    return localTuple && remoteTuple[1] > localTuple[1];\n  });\n\n  return {\n    addedItemsIds: pluckIds(addedItemsIds),\n    removedItemsIds: pluckIds(removedItemsIds),\n    updatedItemsIds: pluckIds(updatedItemsIds),\n  };\n}\n\nfunction pluckIds(tuples) {\n  return tuples.map(([id]) => id);\n}\n","export default class TransitionInformation {\n  constructor(conversation) {\n    this.conversation = conversation;\n    this.icon = this._getIcon();\n    this.statement = this._getStatement();\n    this.by = this._getBy();\n    this.target = this._getTarget();\n    this.byRule = !!(\n      conversation.isLastPartARuleAssignment || conversation.get('lastPart.isAwayModeAssignment')\n    );\n  }\n\n  _getIcon() {\n    return this.conversation.get('lastActionPart.actionIcon');\n  }\n\n  _getStatement() {\n    if (this.conversation.userIsBlocked) {\n      return 'removed this conversation';\n    }\n    return this.conversation.get('lastActionPart.actionStatement');\n  }\n\n  _getBy() {\n    let convo = this.conversation;\n    if (convo.userIsBlocked) {\n      return convo.userBlockedBy;\n    }\n    if (!convo.get('lastPart.isTimerUnsnoozer')) {\n      return convo.get('lastActionPart.creator');\n    }\n  }\n\n  _getTarget() {\n    return this.conversation.get('lastActionPart.actionStatementTarget');\n  }\n}\n","export default function(start, end) {\n  let arrayLength = Math.abs(end - start) + 1;\n  if (start < end) {\n    return Array(arrayLength)\n      .fill()\n      .map((_, i) => start + i);\n  } else {\n    return Array(arrayLength)\n      .fill()\n      .map((_, i) => start - i);\n  }\n}\n","export const INCUBATORS = [\n  '01Booster',\n  '10,000 Startups (NASSCOM)',\n  '101Startups',\n  '10xC',\n  '11-11 Ventures',\n  '1776',\n  '1871',\n  '1871 Exception',\n  '21212',\n  '33entrepreneurs',\n  '345 Partners',\n  '4.0 Schools',\n  '50 Partners',\n  '500 Startups',\n  '80startups Pte. Ltd.',\n  '8200 EISP',\n  '9 Mile Labs',\n  '91Springboard',\n  'A Level Capital',\n  'Aarhus Universitet',\n  'ABC Accelerator, d.o.o.',\n  'Abercom(U)technologies ltd',\n  'ABLE',\n  'ABQid, Inc.',\n  'Acceleprise',\n  'Accelerace',\n  'Accelerate Baltimore',\n  'Accelerate DC',\n  'Accelerate NH',\n  'Accelerate Okanagan',\n  'Accelerate Stuttgart',\n  'Accelerate Tectoria',\n  'Accelerator Academy',\n  'Accelerator Centre',\n  'ACCIO Startups Catalonia',\n  'accomplice.co',\n  'ACE (Action Community for Entrepreneurship)',\n  'Acelera MGTI',\n  'Aceleratech',\n  'Acrobator',\n  'Acton School of Business',\n  'Adams Hub for Innovation',\n  'Advance Ventures',\n  'Advanced Technology Development Center',\n  'AdvantEdge Partners',\n  'AeroInnovate',\n  'Aging 2.0',\n  'AgTech Accelerator',\n  'AIA Accelerator',\n  'AirTree Ventures',\n  'Aity',\n  'AJI Challenge',\n  'Akostart',\n  'Akouba',\n  'Alacrity Canada',\n  'Alacrity Foundation',\n  'Alchemist Accelerator',\n  'Alex Angels',\n  'Allia',\n  'Alma Works at Columbia University',\n  'Almi Väst',\n  'Alpha Lab Gear',\n  'Alpha Loft',\n  'AlphaLab',\n  'AltCity SARL',\n  'Amcom Upstart',\n  'Amcomupstart',\n  'American Underground',\n  'American University Incubator',\n  'Amplify LA',\n  'Analytics Ventures',\n  'Angel Challenge',\n  'Angel Investment Network Ltd',\n  'Angel Ventures',\n  'AngelHack',\n  'Angelpad',\n  'AngelVest',\n  'Anthill Ventures',\n  'ANZ',\n  'Applink.io',\n  'Arc capital',\n  'Archgrants',\n  'AREA',\n  'AreaTres',\n  'Arizona Center for Innovation',\n  'Ark Challenge',\n  'Arkwright X',\n  'Ascend 2020 Atlanta',\n  'Aspire Capital',\n  'Astro Labs',\n  'ASU-Draper University Entrepreneurship Incubator Program',\n  'At Home France',\n  'AT&T Aspire Accelerator',\n  'athenahealth',\n  'Atlanta Tech Village',\n  'Atlantic labs',\n  'atlantic labs pvt',\n  'ATP Innovations',\n  'ATX Seed Ventures',\n  'AU Incubator',\n  'AUC Venture Lab',\n  'Austin Technology Incubator Members',\n  'Avatech',\n  'Awesm',\n  'AWS Activate',\n  'Axel Springer Plug and Play Accelerator',\n  'Axeleo',\n  'Axelero',\n  'Axilor Ventures',\n  'Babson College',\n  'Baconsult Kft',\n  'Bank of Ireland',\n  'Bantunium',\n  'Barcelona Mobile Ventures',\n  'Barclays Powered By Techstars',\n  'BayStartup',\n  'Bbooster',\n  'BC Tech',\n  'BCTIA',\n  'Be Great Partners',\n  'Beast',\n  'Ben Franklin Tech Partners',\n  'Bend Outdoor Worx',\n  'Benhamou Global Ventures',\n  'Berlin Hardware Accelerator',\n  'Beta-i',\n  'Betablox',\n  'betahaus',\n  'Betaspring',\n  'Betaworks',\n  'Better Ventures',\n  'BIC Angels',\n  'BIC Factory',\n  \"BIC Innov'up\",\n  'Big Ideas Group',\n  'BILBAO EKINTZA E.P.E.L.',\n  'BioCity',\n  'Birdhouse',\n  'Bizdom',\n  'BizTech',\n  'BizTrack',\n  'BlackPearls VC',\n  'Blackstone Launchpad and Montana State University',\n  'bleucap.com',\n  'Blue Startups',\n  'BlueChilli',\n  'Blueprint',\n  'BluePrint at Swire Properties',\n  'Blueprint Health',\n  'BlueRun Ventures',\n  'Bolt',\n  'BOMBA_camp',\n  'Boom Startup',\n  'BoomTown',\n  'Boomtown Accelerator',\n  'Boost VC',\n  'Bootstrap Incubation',\n  'Borean',\n  'BOSS Syndicate',\n  'Boston New Technology',\n  'Boulder Bits',\n  'Bowery Capital',\n  'BoxGroup',\n  'Brazilian Assoc of Startups',\n  'Break Fast and Launch',\n  'Breega Capital',\n  'Brex',\n  'Brigade REAP',\n  'Broota',\n  'Btwinz SaaS Ventures',\n  'Bucknell University Entrepreneurs Incubator',\n  'Buen Trip Hub',\n  'Buildily limited',\n  'Bundesverband Deutsche',\n  'Bunker Labs',\n  'Business Hive Vilnius',\n  'Business Incubator at Miller Campus SLCC',\n  'businessbrew.io',\n  'BW Ventures',\n  'bwtech@UMBC Cyber Incubator',\n  'byFounders',\n  'Calgary Technologies',\n  'Canadian Technology Accelerator Boston',\n  'CanopyBoulder',\n  'Capital Factory',\n  'Capital Innovators',\n  'Capital Investment Network',\n  'Capital Mills  ',\n  'CapitalPitch',\n  'Capnova A/S',\n  'Carao Ventures',\n  'CarbonSix',\n  'Carnegie Mellon University',\n  'Catalyst Foundation',\n  'catalyst.partners',\n  'Catapult Chicago',\n  'CDTM',\n  'CEED Accelerator at Medgar Evers College',\n  'CEI',\n  'CEIM',\n  'Centech',\n  'Center for Entrepreneurial Innovation, Phoenix AZ',\n  'Central Utah SMMC',\n  'CFTE',\n  'Chalmers Ventures',\n  'Chesapeake Innovation Center',\n  'Chinaccelerator',\n  'Chrysalis',\n  'CIC (Duplicate Account -Existing Customer)',\n  'CIIE, IIM Ahmedabad',\n  'Cinemad',\n  'Cintrifuse',\n  'Cisco Entrepreneurs in Residence',\n  'Citiesense',\n  'Citrix Startup Accelerator',\n  'CivicFeed Inc',\n  'Clarendon Fund Managers',\n  'Cleantech Open',\n  'Co-creation Hub Nigeria',\n  'Co. Fund',\n  'Co.Lab',\n  'Co.Station',\n  'Coast Capital Savings Innovation Hub',\n  'Cofounders Capital',\n  'Colaborativo',\n  'CoLauncher',\n  'Collective Campus',\n  'Collider',\n  'Comcast Ventures',\n  'Comelite Cloud',\n  'Communitech',\n  'CommunityCo, Inc.',\n  'Conector',\n  'Connect Sverige',\n  'Connect Ventures  ',\n  'Consorcio Zona Franca de Vigo',\n  'Contrary Capital',\n  'Cooley LLP',\n  'Coolhouse Labs',\n  'Coplex',\n  'Corfo',\n  'Corigin Ventures',\n  'Cosfera Spaces',\n  'Creative HQ',\n  'Cuatrecasas',\n  'Cubo',\n  'CyberLaunch',\n  'Cyhawk',\n  'Cylon Lab',\n  'D-NAMIC S.R.L.',\n  'DAI',\n  'Dallas Entrepreneurial Center',\n  'Daphni',\n  'Darkfield',\n  'Dash Creative',\n  'Dat Venture',\n  'Data Gran',\n  'DBS HotSpot',\n  'DCU Ryan Academy',\n  'Demium Startups',\n  'Desai Accelerator',\n  'Desai Family Accelerator',\n  'DeskHub',\n  'DEV Korea',\n  'Digirockstars',\n  'Digital Catapult Centre',\n  'Digital Factory',\n  'Disney Powered by Techstars',\n  'Disruption Corporation',\n  'District 3',\n  'District Ventures Accelerator',\n  'DocCheck Guano AG',\n  'DOCYET UG',\n  'dogpatch labs',\n  'Domistation (Get Started and Incubator)',\n  'Dorm Room Fund',\n  'Dotforge Accelerator',\n  'DreamiT Ventures',\n  'Drexel University',\n  'DropZone For Veterans',\n  'DTEC',\n  'Dybaw Venture',\n  'E-Man Labs',\n  'Edson Initiative',\n  'Edsurge',\n  'EdTech Factory',\n  'Edward Kaplan New Venture Challenge',\n  'Efortia',\n  'efounders',\n  'EIT Digital Accelerator  ',\n  'Ekito',\n  'Elafent Labs',\n  'Elevate Ventures Seed-Stage',\n  'Elevator UK',\n  'Eleven',\n  'Elmspring',\n  'Emerge Education',\n  'Emprende UP',\n  'Endeavor',\n  'Energy Excelerator',\n  'Engage (Tech Square Ventures)',\n  'Engie factory',\n  'Engine',\n  'Engineering Capital',\n  'Enlight Ventures',\n  'Enterprise Ireland',\n  'Enterprise Rising',\n  'Enterprise Saint John',\n  'EntreLaunch',\n  'Entrepreneur Business School Ltd.',\n  'Entrepreneur First',\n  'Entrepreneurial Spark',\n  'Entrepreneurs Roundtable Accelerator',\n  'Entrepreneurship for All (EforAll)',\n  'EO Accelerator',\n  'ETC (Emerging Technology Centers)',\n  'Euratechnologies',\n  'Evonexus',\n  'Expert DOJO',\n  'Exponential TechSpace',\n  'F6S',\n  'FAB Accelerator',\n  'Faber Ventures',\n  'FabStart',\n  'Factory Berlin  ',\n  'Fadelia GmbH',\n  'Fast Forward',\n  'Fast Forward Accelerator',\n  'FastForward FFWD',\n  'FAU Tech Runway',\n  'FFL Startup Accelerator',\n  'Fig Leaf Software',\n  'Fintech 71',\n  'FireSpring Fund',\n  'First Angels Jamaica Limited',\n  'First Flight',\n  'Fishburners',\n  'Flashstarts',\n  'Flat6Labs',\n  'Flatiron School',\n  'Fledge',\n  'Flybridge Capital Partners',\n  'Foresight Cleantech Accelerator Centre',\n  'Forge Accelerator',\n  'Forward Accelerator',\n  'Forward Partners',\n  'Foster Stockbroking',\n  'Founder Collective',\n  'Founder Institute',\n  'Founderfuel',\n  'FounderMade',\n  'Founders A/S',\n  'Founders Bloc',\n  'Founders Factory',\n  'Founders Floor',\n  'Founders Foundation',\n  'Founders Institute',\n  'Founders Network',\n  'Founders Space',\n  'Founderscope',\n  'FoundersPad',\n  'FoundME',\n  'Foundr Magazine',\n  'Four Athens',\n  'Fownders.com',\n  'Frederick Innovative Technology Center, Inc.',\n  'Fresher',\n  'Friends of eBay',\n  'Fundació Parc Científic Universitat València',\n  'Fundación da Vinci',\n  'Fundação Softville',\n  'Funders Guild',\n  'Furnace Accelerator',\n  'Future Entrepreneurs of Denmark',\n  'Future Founders',\n  'Galata Business Angels',\n  'Galvanize',\n  'GarageWorx',\n  'Gateway Incubator',\n  'Gaza Sky Geeks',\n  'Gearbox Enterprise Academy',\n  'Geekdom',\n  'Gema Ventures',\n  'Gener8tor',\n  'General Catalyst',\n  'Genesis Centre',\n  'Georgia Innovation',\n  'German Accelerator',\n  'German Deep Tech',\n  'Global Accelerator Network',\n  'Global Insurance Accelerator',\n  'Goethe Unibator',\n  'Google Cloud for Startups',\n  'Google Ventures',\n  'Grand Central Tech',\n  'Great North Labs Seed Stage',\n  'Grid Ventures',\n  'Grid110',\n  'Grindstone',\n  'Grindstone Coworking',\n  'Grit Ventures',\n  'Groundswell Startups',\n  'Groundwork Labs',\n  'GrowLab',\n  'GSV Labs',\n  'GTEC',\n  'Gust',\n  'H2 Accelerator',\n  'hack/reduce',\n  'Hackquarters',\n  'Halcyon Incubator',\n  'Haltech',\n  'Hambro Perks',\n  'Happy Tech',\n  'Harbor Accelerator',\n  'Hardware Club',\n  'Harvard i-lab',\n  'Harvard VIP',\n  'Hatch Norfolk',\n  'Haymarket HQ',\n  'HCDC',\n  'Health Rosetta',\n  'Health Wildcatters',\n  'Healthbox (Acquired)',\n  'HEC Montreal',\n  'Helmo Ventures',\n  'Hemera',\n  'High Alpha',\n  'High-Tech Gründerfonds',\n  'Highway1',\n  'Hive Effect',\n  'HKSTP',\n  'HQ Raleigh',\n  'HqO',\n  'Hubbog',\n  'Hubud',\n  'Humble Ventures',\n  'Hunaja Capital GmbH',\n  'I-CUBE University of Toronto',\n  'i3p scpa',\n  'iAccelerate University of Wollongong',\n  'IAE (IdeaaEmpresa)',\n  'Ibtikar Fund',\n  'ICT Hub',\n  'ICTHUB',\n  'iCube',\n  'Idea',\n  'Idea Space',\n  'IDEA Works FW',\n  'ideaBOOST',\n  'Idealab',\n  'Ideas Factory',\n  'Ideon Innovation',\n  'Ignite',\n  'Ignite Fredericton',\n  'Ignite Northwest',\n  'Ignite: DARE District at Algonquin College',\n  'iLab UQ',\n  'IMEC',\n  'Impact Academy',\n  'Impact Engine',\n  'Impact Hub Seattle',\n  'ImpactHub',\n  'IMT Atlantique',\n  '#REF!',\n  'InBIA',\n  'Incubadora Sinergia',\n  'INCUBATE',\n  'Incubateur Paris-Dauphine',\n  'INCUBED',\n  'Incubes',\n  'INDY Growth Marketing Accelerator',\n  'infAI',\n  'Infinityn International Ltd.',\n  'Ingenio',\n  'Inku',\n  'Inkubera',\n  'InncubatED',\n  'Innogy Innovation Hub',\n  'InnoStart Capital',\n  'Innovacion Chilena',\n  'innovacorp',\n  'INNOVAMI',\n  'Innovate Poland',\n  'Innovation Birmingham',\n  'Innovation Central Society',\n  'Innovation Island',\n  'Innovation Nest',\n  'Innovation Saskatchewan',\n  'Innovo',\n  'Innowest',\n  'Innsomnia',\n  'inQba Escuela de Negocios',\n  'Inquiri',\n  'International Venture Consultants (IVC)',\n  'Interplay',\n  'Inveready',\n  'Invest Ottawa',\n  'IONIS361',\n  'IoT Hub',\n  'Iowa Startup Accelerator',\n  'isdi',\n  'Italia Startup',\n  'ITÜ ARI Teknokent',\n  'JAEB Designs Inc',\n  'Jaguar Land Rover Tech Incubator',\n  'Jemm Ventures Accelerator',\n  'Jfdi.asia',\n  'JFE Accelerator',\n  'JuiceTank',\n  'Jumpstart Foundry',\n  'Jungle Ventures and SeedPlus',\n  'JungleGym Ventures',\n  'K5 Venture Partners',\n  'Kailo Energy',\n  'Kamloops',\n  'Kasvu Open Oy',\n  'Katapult Accelerator',\n  'Katapult world as',\n  'Kentucky Science &amp; Technology Corporation',\n  'kfund.vc',\n  'Kick Startup Accelerator',\n  'Kick Startup Incubator',\n  'Kickstart Seed Fund',\n  'Kiite',\n  'Kima Ventures',\n  'Kinetic Accelerator Texas Tech University',\n  'KK Fund',\n  'Knife Capital',\n  'L Marks',\n  'l-spark',\n  'La Salle Technova',\n  'LabCo NYC',\n  'Laconnect',\n  'Lansame',\n  'lanzadera',\n  'Latio',\n  'LAUNCH',\n  'Launch Academy Elite Program',\n  'Launch Accelerator UC Berkeley',\n  'Launch Alaska',\n  'Launch Angels',\n  'LAUNCH Incubator',\n  'Launchpad',\n  'Launchpad for Impact',\n  'LaunchPad Health',\n  'Launchtrack',\n  'Le B612',\n  'Le Camp',\n  'Le Village by CA',\n  'Lead Sport Accelerator',\n  'leAD Sports Accelerator',\n  'leansquare.be',\n  'LearnLaunch',\n  'Lemnos Labs',\n  'Lifeline Ventures  ',\n  'Lightening Lab',\n  'Lighthouse',\n  'Link360',\n  'Lirmi.com',\n  'Little Tokyo Two',\n  'LiveOak Venture Partners',\n  'LMU Entrepreneurship Center',\n  'LocalGlobe',\n  'London Business School',\n  'LUISS ENLABS',\n  'Lumos Innovation',\n  'Lánzame',\n  'Mach37',\n  'MaGIC',\n  'Magical Startups',\n  'MAGNET Incubation Center',\n  'Major Marketplace',\n  'Make Sense',\n  'Mandü',\n  'Manos Accelerator',\n  'Mantro',\n  'Marathon Vc',\n  'Maria 01',\n  'Mario',\n  'MaRS Discovery District',\n  'MaRS IAF',\n  'Marseille Innovation',\n  'Mass Innovation Labs',\n  'MassChallenge',\n  'Matrix Ventures',\n  'Matter',\n  'Matter VC',\n  'Media Lab Bayern',\n  'Median',\n  'Mediaworks',\n  'Menorca Millennials',\n  'Mentor Day',\n  'Mercia Technologies',\n  'Mergelane',\n  'MetaProp',\n  'Metavallon',\n  'mHub Chicago',\n  'Microsoft BizSpark',\n  'Microsoft Ventures',\n  'MilBlog Media',\n  'Minc',\n  'MindShift Partners',\n  'MIT 100K',\n  'MIT Bootcamp',\n  'MIT Enterprise Forum',\n  'MIT Venture Mentoring Service',\n  'MoData Inc',\n  'Momentum  ',\n  'Monarq',\n  'Montana State University',\n  'Montec',\n  'More Disruption Please',\n  'Mount Royal University',\n  'MSU Blackstone Launchpad',\n  'MTEC SmartZone',\n  'Muckerlab',\n  \"Mum's Garage\",\n  'Mundi Ventures',\n  'Muru-D',\n  'MVP Academy',\n  'My Neuro Gym',\n  'MYyStartupXX',\n  'Nana Bianca',\n  'Natero',\n  'Natterbase',\n  'Navigate Startup House',\n  'NDRC',\n  'NEA',\n  'NedSpace, LLC',\n  'Nerdcube',\n  'Nestholma Oy',\n  'Neverstop',\n  'New England Innovation Center',\n  'New England Venture Capital Association',\n  'New Enterprise Associates',\n  'New Frontiers',\n  'New Venture BC',\n  'New Ventures Challenge Accelerator',\n  'Newark Venture Partners',\n  'NewBoCo',\n  'NEXT',\n  'Next Media Accelerator',\n  'Nextfab studio',\n  'Nextview Ventures',\n  'Nexus Ventures',\n  'Nicholas Humphreys Estate Agency',\n  'Nielsen Innovate',\n  'NIIC',\n  'Nike Powered by TechStars',\n  'NMotion',\n  'noodlemarkets',\n  'Nordea Bank AB',\n  'Nordic Innovation House',\n  'NorthOut',\n  'Notion Capital',\n  'Notman House',\n  'NOVI Science Park',\n  'NRI Startup India',\n  'NSI Ventures',\n  'Nuclio Venture Builder',\n  'NUMA',\n  'nuspark',\n  'NXTP Labs',\n  'NYC Seedstart',\n  'NYU Polytechnic Incubator',\n  'Oarsis Startups',\n  'Oasis500',\n  'Ocean',\n  'OCTANe LaunchPad SBDC',\n  'ODU Innovation Center Norfolk',\n  'Okapi Venture Capital',\n  'OneEleven  ',\n  'Onevest Corporation',\n  'OpenView',\n  'Operations Director',\n  'Opportunity Machine',\n  'Orange Fab',\n  'Orange Grove',\n  'Orion Startups',\n  'Outlierz',\n  'OwlSpark Accelerator',\n  'P101  ',\n  'Parallel 18',\n  'Paris&Co',\n  'Paristech Entrepreneurs',\n  'Parkpine Capital',\n  'Passion Incubator',\n  'Paua Ventures',\n  'Paypal Start Tank',\n  'PCB:NG, Inc.',\n  'Pejman Mar Ventures',\n  'PIE PDX',\n  'Pilot',\n  'Pioneer Square Labs',\n  'Pioneers.io',\n  'PivotNorth Capital',\n  'Plug and Play',\n  'PLUG Cambridge',\n  'PoliHub',\n  'Polo Tecnologico di Pavia',\n  'Polsky Accelerator (polsky.uchicago.edu/ REDIRECT)',\n  'Portland Seed Fund',\n  'Portugal Ventures',\n  'Powder Keg',\n  'Powered by NEXUS',\n  'Preccelerator REDIRECT',\n  'Precursor Ventures',\n  'Present Your Startup',\n  'Project 500',\n  'Project Olympus',\n  'Propel ICT',\n  'Prosper',\n  'Prototype Prime',\n  'PS27 Ventures',\n  'Puntos Leal',\n  'Quake Capital',\n  'Quest VC',\n  'Raed Ventures  ',\n  'Rainmaking Loft  ',\n  'Ramen',\n  'Rankmi',\n  'Reaktor',\n  'RealCo Seed Fund Program',\n  'Red Labs UH',\n  'RedPoint',\n  'Redstar Ventures Inc',\n  'reSET Accelerator',\n  'Rev1 Ventures',\n  'RGA Connected Devices Powered by Techstars',\n  'RGA Dodgers',\n  'Rising Stars in EECS',\n  'River City Labs',\n  'Robin Hood',\n  'Rochester Chamber Foundation',\n  'Rock Center for Entrepreneurship (Harvard Business School)',\n  'Rock Health',\n  'rockawaycapital.com',\n  'Rocket Internet',\n  'Rocketlaunch',\n  'RocketSpace',\n  'Rockstart',\n  'Rocky Mountain Innosphere',\n  'Rokk3r Labs',\n  'Roniin',\n  'Rough Draft Ventures',\n  'Router Ventures',\n  'Running Start Fund',\n  'Runway',\n  'Runway Geelong',\n  'Ruta N',\n  'RVCF',\n  'Ryerson',\n  'SaaS Venture Capital',\n  'Sales Team Six',\n  'Sampler',\n  'Samsung NEXT',\n  'Santiago Partners',\n  'Scaleworks',\n  'Schola, Inc.',\n  'Schoolab',\n  'Science Park Graz',\n  'Seamless IoT Commercialization Accelerator',\n  'SecureSet',\n  'Seed Academy',\n  'SEED Capital',\n  'Seed Hatchery',\n  'Seed Haus',\n  'Seed MG',\n  'SEED SPOT',\n  'Seed Sumo',\n  'seedcamp.com',\n  'SeedRocket',\n  'Seedrs',\n  'Seedstars',\n  'Sek Lab',\n  'SellUp',\n  'SENSECUBE',\n  'Sequoia Capital India  ',\n  'Set Squared',\n  'Sevna',\n  'Shack 15',\n  'Sharecollab',\n  'Shoals Entrepreneurial Center Seed-Stage',\n  'SigmaLabs',\n  'SilverTech Ventures',\n  'Simula Research Laboratory AS',\n  'SixThirty',\n  'SkyDeck-Berkeley',\n  'Skystar',\n  'Slingshot Accelerator',\n  'SLO Hothouse',\n  'Smart City Works',\n  'SMART ESA',\n  'Smart generation Invest ab',\n  'Smarter in the City',\n  'SmartGate VC',\n  'SMB Innoloft',\n  'Society 3',\n  'Sonderborg',\n  'SOSV',\n  'Spark Ann Arbor',\n  'Spark Bureau',\n  'Spark Labs',\n  'Spark10',\n  'SparkLabs',\n  'Spartan Innovations',\n  'Speed MI Up',\n  'Speedinvest  ',\n  'Spieker Partners',\n  'SpinLab The HHL Accelerator',\n  'Spring Activator Inc.',\n  'Springboard Enterprises',\n  'Sprint Mobile Health Powered By Techstars',\n  'Sputnik ATX',\n  'SRCTec',\n  'SSE Business Lab',\n  'Stadia',\n  'Stanford Venture Studio',\n  'Startup Grind',\n  'Startup Grind Accelerate',\n  'Start Engine',\n  'Start it @KBC',\n  'Start up Labs',\n  'Start-Up Nation Central',\n  'Starta Ventures',\n  'StartEd Accelerator',\n  'Starter Studio',\n  'Startfast',\n  'StartHub',\n  'StartMate',\n  'STARTMESH',\n  'Startplanet',\n  'STARTR',\n  'Startup 52 Accelerator',\n  'Startup Aggieland',\n  'StartUp AZ Foundation',\n  'Startup Braga',\n  'Startup Chile',\n  'Startup Direct',\n  'Startup Dunedin',\n  'Startup Edmonton',\n  'startup factory',\n  'Startup Focus (SAP)',\n  'Startup Foundation',\n  'StartUp Health',\n  'Startup Jamaica',\n  'Startup Leadership Program',\n  'Startup Leadership UK',\n  'Startup Lisboa',\n  'Startup Mexico',\n  'Startup Reef',\n  'Startup Reykjavik',\n  'Startup Runner',\n  'Startup Sauna',\n  'Startup Socials',\n  'Startup Stadium',\n  'Startup Studio Monterrey',\n  'Startup Victoria',\n  'Startup Wise Guys',\n  'Startup Yard',\n  'Startup Zone',\n  'Startup-O',\n  'StartupAZ Foundation',\n  'Startupbootcamp',\n  'startupfactory.be',\n  'StartupHouse Foundry Program',\n  'StartupLab Oslo',\n  'StartupNation Media Group',\n  'StartUpNV',\n  'Startups Ignite',\n  'StartupSPS',\n  'StartupWorks',\n  'StartX',\n  'StarveUps',\n  'Station F',\n  'StationHouston',\n  'STING',\n  'StitchCrew',\n  'Stone &amp; Chalk',\n  'Straightshot',\n  'StrategyHack, LLC',\n  'Stripe Atlas',\n  'Studio VC',\n  'Summer Institute (University of New Brunswick)',\n  'SunDown RunDown Group',\n  'SUP Accelerator',\n  'Superhero Capital',\n  'Surf Incubator',\n  'Surge Accelerator',\n  'SURGE Tacoma',\n  'SURGE Ventures',\n  'Sussex Innovation Centre',\n  'Sustainable Startups',\n  'SVG Partners/Thrive',\n  'Syddansk Innovation A/S',\n  'Symple',\n  'T-Hub',\n  'Talent Tech Labs',\n  'talenttechlabs',\n  'Tampa Bay Wave',\n  'Tank Stream Labs',\n  'Teamwork Catalyst',\n  'TEC',\n  'Tech City UK',\n  'Tech Coast Angels',\n  'Tech Coast Venture Network',\n  'Tech Futures Group',\n  'Tech Open Air',\n  'Tech Ranch',\n  'Tech Square Ventures',\n  'Tech Wildcatters',\n  'Techalliance',\n  'TechFounders',\n  'TechFW',\n  'TechNexus',\n  'Technoport SA',\n  'Techstars',\n  'TechX',\n  'Tecnia',\n  'TEDCO',\n  'tekes.fi',\n  'Telefonica Open Future',\n  'Telluride Venture Accelerator',\n  'Telos Ventures',\n  'The Accelerator Network',\n  'The Batchery',\n  'The Brandery',\n  'The Bridge Incubator',\n  'The Cannon Houston',\n  'The Cannon Workspace',\n  'The CoFoundry',\n  'The Corner',\n  'The eFactory',\n  'The Forge',\n  'The Gamified Startup',\n  'The Grommet',\n  'The Hatchery Chicago',\n  'The Hub Singapore',\n  'The ICEHOUSE',\n  'The Idea Center',\n  'The Idea Village',\n  'The Iron Yard',\n  'The Junction',\n  'The Mill',\n  'The Next Big Thing',\n  'The Refiners',\n  'The Refinery',\n  'The Sandpit',\n  'The Scaleup Project / Scaleup-Académie (Davender Gupta)',\n  'The Startup',\n  'The Startup Collaborative',\n  'The Studio Limited',\n  'The Trampery',\n  'The VAULT HSFS',\n  'TheHive Ashdod by Gvahim Startup Accelerator',\n  'THINK Accelerate',\n  'Think Big',\n  'THINK Ventures Ltd',\n  'Thinkhandy',\n  'ThinQbate',\n  'This is Codebase',\n  'Thought Into Action, Entrepreneurship at Colgate',\n  'TiE Rockeies TRIP Program',\n  'Tierra de Monte',\n  'TIM Ventures',\n  'Tinello Capital',\n  'Tire Agent Corp',\n  'TLV Partners',\n  'TNB Ventures',\n  'Top Seeds Lab',\n  'TQ',\n  'Travelport',\n  'Tree House Health',\n  'TreeLabs',\n  'Tri5 Ventures',\n  'TRPE Ventures',\n  'TrueStart',\n  'TU Berlin',\n  'TU Incubator',\n  'Tufts University',\n  'Tyro Fintech Hub',\n  'ucreate Ltd',\n  'UCSB',\n  'UCSD The Basement',\n  'UDD Ventures',\n  'Ufrontera',\n  'UIC',\n  'UISEK',\n  'UK Lebanon Hub',\n  'UMD Startup Shell',\n  'Unbank.Ventures',\n  'Underscore.VC',\n  'Unit.City',\n  'Universidad del Pacífico',\n  'University at Buffalo',\n  'University of Central Florida',\n  'University of Florida',\n  'University of Guelph',\n  'University of Houston',\n  'University of Newcastle, Australia',\n  'University of Southern California Entrepreneurship',\n  'University of Waterloo Stratford',\n  'Unreasonable Institute',\n  'Unreasonable Institute Boston',\n  'Unshackled',\n  'UPC',\n  'Upekkha',\n  'Upshift Partners',\n  'Upside Partnership',\n  'Uptech',\n  'UpWest Labs',\n  'Urban Innovation Fund',\n  'URBAN-X',\n  'USC Columbia Tech Incubator',\n  'UVA iLab',\n  'Valley Venture Mentors',\n  'VCAMP Health Venture Accelerator',\n  'Vegas Tech Fund',\n  'Velocity.io',\n  'Venezia Capital',\n  'Venture Creations Incubator',\n  'Venture for America',\n  'Venture Inc SA',\n  'VentureCapital.org',\n  'VentureDays',\n  'Venturehive',\n  'ventureLAB',\n  'VentureLabs',\n  'VentureOut',\n  'VentureSouth',\n  'Vertex Ventures',\n  'Vertical',\n  'VETCON',\n  'VetToCEO',\n  'VFF',\n  'ViaGalicia',\n  'Vietnam Innovative Startup Accelerator (VIISA)',\n  'Village Capital',\n  'Virgin StartUp',\n  'Virginia Tech Investor Network',\n  'VisionTech Partners',\n  'Volta Effect',\n  'W Hub',\n  'Wall Street Share',\n  'Wasabi Ventures Academy',\n  'Wasabi Ventures Global',\n  'Wavefront',\n  'Wayra',\n  'We Are Accelerate Growth',\n  'Wearable World Labs',\n  'Werk1',\n  'West Tech Ventures',\n  'West Web Valley',\n  'WeTrip',\n  'WeWork',\n  'WeWork Labs',\n  'weXelerate',\n  'Wharton Alumni Angels',\n  'Wilco',\n  'Wildcat Venture Partners',\n  'WIN',\n  'Windermere Labs',\n  'Wisdom &amp; Craft, Inc',\n  'Wolves Den sp. z o.o.',\n  'Wolves Summit',\n  \"Women's Startup Lab\",\n  'Worcester CleanTech Incubator (WCTI)',\n  'Workatvi',\n  'Workwell',\n  'WorkXpress',\n  'WOW Startup Accelerator',\n  'Xange',\n  'xEdu Oy',\n  'XLR8UH',\n  'xPORT Business Accelerator',\n  'Xpreneurs',\n  'Y Combinator',\n  'Y Combinator Startup School',\n  'YENA',\n  'Yeni Fikirler Yeni ??ler',\n  'yesdelft.nl-redirect',\n  'YL Ventures  ',\n  'York Butter Factory',\n  'YoungStartup Ventures',\n  'Youngstown Business Incubator',\n  'Zell Entrepreneurship Program',\n  'Zone Startups',\n  'Zoosh Ltd',\n  'Zoosh Ventures',\n  'Zyrous',\n];\n","/* DEPRECATED\n * please add plural definitions to app/models/custom-inflector-rules.js as per\n * https://guides.emberjs.com/v2.13.0/models/customizing-adapters/#toc_pluralization-customization\n */\n\nfunction pluralOf(value) {\n  let knownPlurals = {\n    Person: 'People',\n    person: 'people',\n    Reply: 'Replies',\n    reply: 'replies',\n    Company: 'Companies',\n    company: 'companies',\n    matches: 'match',\n    has: 'have',\n    is: 'are',\n    was: 'were',\n    inbox: 'inboxes',\n    attribute: 'attributes',\n  };\n  return knownPlurals[value.trim()] || `${value}s`;\n}\n\nfunction pluralised(value, pluralForm) {\n  return typeof pluralForm === 'undefined' ? pluralOf(value) : pluralForm;\n}\n\nexport default function(value, numItems, pluralForm) {\n  return numItems === 1 || numItems === '1' ? value : pluralised(value, pluralForm);\n}\n","import render from 'embercom/vendor/intercom/render';\nimport numericFormatter from 'embercom/lib/numeric-formatter';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport moment from 'moment';\n\nlet insightsMessagesChartTooltipFormatter = function() {\n  let topMessageSendCount = 0;\n  let sortedTopMessages = this.x.top_messages\n    .slice()\n    .sort((a, b) => a.message_count - b.message_count)\n    .reverse();\n  let topMessages = sortedTopMessages.map(message => {\n    topMessageSendCount += message.count;\n    if (!message.displayedCount) {\n      message.displayedCount = numericFormatter(message.count);\n    }\n    return message;\n  });\n  let additionalMessages;\n  if (topMessages.length < this.x.message_count) {\n    additionalMessages = {\n      count: numericFormatter(this.x.message_count - topMessages.length),\n      sent: numericFormatter(this.x.conversation_count - topMessageSendCount),\n    };\n  }\n  let context = {\n    date: moment(this.x.date).format(dateAndTimeFormats.dateWithDayWithoutYear),\n    conversationCount: numericFormatter(this.x.conversation_count),\n    messageCount: numericFormatter(this.x.message_count),\n    topMessages,\n    additionalMessages,\n    hasConversations: !!this.x.conversation_count,\n  };\n  return render(['engage-insights-tooltip'], context);\n};\n\nexport default insightsMessagesChartTooltipFormatter;\n","export const INSTALLATION_DOCS_URL = 'https://developers.intercom.com/installing-intercom/docs';\n","import redirect from 'embercom/lib/redirect';\n\nconst AFTER_MODELS = {\n  github(model) {\n    let githubIntegration = model.githubIntegration;\n    let redirectUrl = githubIntegration.get('redirectUrl');\n    if (redirectUrl) {\n      redirect(redirectUrl);\n    }\n  },\n};\n\nexport default function runIntegrationAfterModels(model) {\n  let integration = model.integration;\n  let code = integration.get('code');\n  if (AFTER_MODELS[code]) {\n    AFTER_MODELS[code](model);\n  }\n}\n","export default function canViewIntegration(integration, app) {\n  return integration.get('publiclyAvailable') || app.canUseFeature(integration.get('feature'));\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { Promise as EmberPromise, hash } from 'rsvp';\n\nfunction getIntegrationRecord(code, route) {\n  return new EmberPromise(resolve => {\n    route.store.query('integration', { code }).then(records => {\n      resolve(records.get('firstObject'));\n    });\n  });\n}\n\nconst MODELS = {\n  github(route) {\n    return hash({\n      webhooks: route.store.findAll('github-webhook'),\n      integration: getIntegrationRecord('github', route),\n      githubIntegration: route.store.queryRecord('github-integration', {}),\n    });\n  },\n  slack(route) {\n    return hash({\n      integration: getIntegrationRecord('slack', route),\n      slackIntegration: route.store.queryRecord('slack-legacy-integration', {\n        dest: 'slack',\n        retrieve_subscriptions: true,\n      }),\n    });\n  },\n  default(code, route) {\n    return hash({\n      integration: getIntegrationRecord(code, route),\n    });\n  },\n};\n\nexport default function fetchIntegrationModels(code, route) {\n  if (MODELS[code]) {\n    return MODELS[code](route);\n  } else {\n    return MODELS['default'](code, route);\n  }\n}\n","export default {\n  respond: 'Conversations reports from past week',\n};\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { getOwner } from '@ember/application';\nimport { isPresent } from '@ember/utils';\nimport { Promise as EmberPromise } from 'rsvp';\n\nlet intercomConfirm = function(target, options, applicationRoute) {\n  return new EmberPromise(function(resolve, reject) {\n    if (!applicationRoute) {\n      applicationRoute = getOwner(target).lookup('route:application');\n    }\n\n    if (isPresent(applicationRoute)) {\n      return applicationRoute.send('openConfirm', resolve, reject, options);\n    } else {\n      throw new Error('Cannot find application route');\n    }\n  });\n};\n\nlet intercomPromiseConfirm = function(target, options, applicationRoute = null) {\n  return intercomConfirm(target, options, applicationRoute).then(\n    () => true,\n    () => false,\n  );\n};\n\nexport default intercomConfirm;\nexport { intercomPromiseConfirm };\n","// NOTE: The order here matters, timezones should be logically ordered by GMT offset and then name\nexport default [\n  { name: 'American Samoa', description: '(GMT-11:00) American Samoa' },\n  { name: 'International Date Line West', description: '(GMT-11:00) International Date Line West' },\n  { name: 'Midway Island', description: '(GMT-11:00) Midway Island' },\n  { name: 'Hawaii', description: '(GMT-10:00) Hawaii' },\n  { name: 'Pacific/Honolulu', description: '(GMT-10:00) Pacific/Honolulu' },\n  { name: 'Alaska', description: '(GMT-09:00) Alaska' },\n  { name: 'America/Los_Angeles', description: '(GMT-08:00) America/Los_Angeles' },\n  { name: 'America/Vancouver', description: '(GMT-08:00) America/Vancouver' },\n  { name: 'Pacific Time (US & Canada)', description: '(GMT-08:00) Pacific Time (US & Canada)' },\n  { name: 'Tijuana', description: '(GMT-08:00) Tijuana' },\n  { name: 'Arizona', description: '(GMT-07:00) Arizona' },\n  { name: 'Chihuahua', description: '(GMT-07:00) Chihuahua' },\n  { name: 'Mazatlan', description: '(GMT-07:00) Mazatlan' },\n  { name: 'Mountain Time (US & Canada)', description: '(GMT-07:00) Mountain Time (US & Canada)' },\n  { name: 'America/Chicago', description: '(GMT-06:00) America/Chicago' },\n  { name: 'Central America', description: '(GMT-06:00) Central America' },\n  { name: 'Central Time (US & Canada)', description: '(GMT-06:00) Central Time (US & Canada)' },\n  { name: 'Guadalajara', description: '(GMT-06:00) Guadalajara' },\n  { name: 'Mexico City', description: '(GMT-06:00) Mexico City' },\n  { name: 'Monterrey', description: '(GMT-06:00) Monterrey' },\n  { name: 'Saskatchewan', description: '(GMT-06:00) Saskatchewan' },\n  { name: 'America/Jamaica', description: '(GMT-05:00) America/Jamaica' },\n  { name: 'America/Montreal', description: '(GMT-05:00) America/Montreal' },\n  { name: 'America/New_York', description: '(GMT-05:00) America/New_York' },\n  { name: 'America/Toronto', description: '(GMT-05:00) America/Toronto' },\n  { name: 'Bogota', description: '(GMT-05:00) Bogota' },\n  { name: 'Eastern Time (US & Canada)', description: '(GMT-05:00) Eastern Time (US & Canada)' },\n  { name: 'Indiana (East)', description: '(GMT-05:00) Indiana (East)' },\n  { name: 'Lima', description: '(GMT-05:00) Lima' },\n  { name: 'Quito', description: '(GMT-05:00) Quito' },\n  { name: 'Caracas', description: '(GMT-04:30) Caracas' },\n  { name: 'Atlantic Time (Canada)', description: '(GMT-04:00) Atlantic Time (Canada)' },\n  { name: 'Georgetown', description: '(GMT-04:00) Georgetown' },\n  { name: 'La Paz', description: '(GMT-04:00) La Paz' },\n  { name: 'Newfoundland', description: '(GMT-03:30) Newfoundland' },\n  {\n    name: 'America/Argentina/Buenos_Aires',\n    description: '(GMT-03:00) America/Argentina/Buenos_Aires',\n  },\n  { name: 'America/Sao_Paulo', description: '(GMT-03:00) America/Sao_Paulo' },\n  { name: 'Brasilia', description: '(GMT-03:00) Brasilia' },\n  { name: 'Buenos Aires', description: '(GMT-03:00) Buenos Aires' },\n  { name: 'Greenland', description: '(GMT-03:00) Greenland' },\n  { name: 'Montevideo', description: '(GMT-03:00) Montevideo' },\n  { name: 'Santiago', description: '(GMT-03:00) Santiago' },\n  { name: 'Mid-Atlantic', description: '(GMT-02:00) Mid-Atlantic' },\n  { name: 'Azores', description: '(GMT-01:00) Azores' },\n  { name: 'Cape Verde Is.', description: '(GMT-01:00) Cape Verde Is.' },\n  { name: 'Africa/Casablanca', description: '(GMT+00:00) Africa/Casablanca' },\n  { name: 'Casablanca', description: '(GMT+00:00) Casablanca' },\n  { name: 'Dublin', description: '(GMT+00:00) Dublin' },\n  { name: 'Edinburgh', description: '(GMT+00:00) Edinburgh' },\n  { name: 'Europe/Dublin', description: '(GMT+00:00) Europe/Dublin' },\n  { name: 'Europe/Lisbon', description: '(GMT+00:00) Europe/Lisbon' },\n  { name: 'Europe/London', description: '(GMT+00:00) Europe/London' },\n  { name: 'Lisbon', description: '(GMT+00:00) Lisbon' },\n  { name: 'London', description: '(GMT+00:00) London' },\n  { name: 'Monrovia', description: '(GMT+00:00) Monrovia' },\n  { name: 'UTC', description: '(GMT+00:00) UTC' },\n  { name: 'Africa/Algiers', description: '(GMT+01:00) Africa/Algiers' },\n  { name: 'Africa/Lagos', description: '(GMT+01:00) Africa/Lagos' },\n  { name: 'Amsterdam', description: '(GMT+01:00) Amsterdam' },\n  { name: 'Belgrade', description: '(GMT+01:00) Belgrade' },\n  { name: 'Berlin', description: '(GMT+01:00) Berlin' },\n  { name: 'Bern', description: '(GMT+01:00) Bern' },\n  { name: 'Bratislava', description: '(GMT+01:00) Bratislava' },\n  { name: 'Brussels', description: '(GMT+01:00) Brussels' },\n  { name: 'Budapest', description: '(GMT+01:00) Budapest' },\n  { name: 'Copenhagen', description: '(GMT+01:00) Copenhagen' },\n  { name: 'Europe/Amsterdam', description: '(GMT+01:00) Europe/Amsterdam' },\n  { name: 'Europe/Belgrade', description: '(GMT+01:00) Europe/Belgrade' },\n  { name: 'Europe/Berlin', description: '(GMT+01:00) Europe/Berlin' },\n  { name: 'Europe/Brussels', description: '(GMT+01:00) Europe/Brussels' },\n  { name: 'Europe/Madrid', description: '(GMT+01:00) Europe/Madrid' },\n  { name: 'Europe/Oslo', description: '(GMT+01:00) Europe/Oslo' },\n  { name: 'Europe/Paris', description: '(GMT+01:00) Europe/Paris' },\n  { name: 'Europe/Rome', description: '(GMT+01:00) Europe/Rome' },\n  { name: 'Europe/Stockholm', description: '(GMT+01:00) Europe/Stockholm' },\n  { name: 'Europe/Warsaw', description: '(GMT+01:00) Europe/Warsaw' },\n  { name: 'Ljubljana', description: '(GMT+01:00) Ljubljana' },\n  { name: 'Madrid', description: '(GMT+01:00) Madrid' },\n  { name: 'Paris', description: '(GMT+01:00) Paris' },\n  { name: 'Prague', description: '(GMT+01:00) Prague' },\n  { name: 'Rome', description: '(GMT+01:00) Rome' },\n  { name: 'Sarajevo', description: '(GMT+01:00) Sarajevo' },\n  { name: 'Skopje', description: '(GMT+01:00) Skopje' },\n  { name: 'Stockholm', description: '(GMT+01:00) Stockholm' },\n  { name: 'Vienna', description: '(GMT+01:00) Vienna' },\n  { name: 'Warsaw', description: '(GMT+01:00) Warsaw' },\n  { name: 'West Central Africa', description: '(GMT+01:00) West Central Africa' },\n  { name: 'Zagreb', description: '(GMT+01:00) Zagreb' },\n  { name: 'Africa/Johannesburg', description: '(GMT+02:00) Africa/Johannesburg' },\n  { name: 'Athens', description: '(GMT+02:00) Athens' },\n  { name: 'Bucharest', description: '(GMT+02:00) Bucharest' },\n  { name: 'Cairo', description: '(GMT+02:00) Cairo' },\n  { name: 'Europe/Athens', description: '(GMT+02:00) Europe/Athens' },\n  { name: 'Europe/Helsinki', description: '(GMT+02:00) Europe/Helsinki' },\n  { name: 'Europe/Sofia', description: '(GMT+02:00) Europe/Sofia' },\n  { name: 'Europe/Tallinn', description: '(GMT+02:00) Europe/Tallinn' },\n  { name: 'Harare', description: '(GMT+02:00) Harare' },\n  { name: 'Helsinki', description: '(GMT+02:00) Helsinki' },\n  { name: 'Jerusalem', description: '(GMT+02:00) Jerusalem' },\n  { name: 'Kaliningrad', description: '(GMT+02:00) Kaliningrad' },\n  { name: 'Kyiv', description: '(GMT+02:00) Kyiv' },\n  { name: 'Pretoria', description: '(GMT+02:00) Pretoria' },\n  { name: 'Riga', description: '(GMT+02:00) Riga' },\n  { name: 'Sofia', description: '(GMT+02:00) Sofia' },\n  { name: 'Tallinn', description: '(GMT+02:00) Tallinn' },\n  { name: 'Vilnius', description: '(GMT+02:00) Vilnius' },\n  { name: 'Africa/Nairobi', description: '(GMT+03:00) Africa/Nairobi' },\n  { name: 'Asia/Istanbul', description: '(GMT+03:00) Asia/Istanbul' },\n  { name: 'Asia/Qatar', description: '(GMT+03:00) Asia/Qatar' },\n  { name: 'Asia/Riyadh', description: '(GMT+03:00) Asia/Riyadh' },\n  { name: 'Baghdad', description: '(GMT+03:00) Baghdad' },\n  { name: 'Europe/Moscow', description: '(GMT+03:00) Europe/Moscow' },\n  { name: 'Istanbul', description: '(GMT+03:00) Istanbul' },\n  { name: 'Kuwait', description: '(GMT+03:00) Kuwait' },\n  { name: 'Minsk', description: '(GMT+03:00) Minsk' },\n  { name: 'Moscow', description: '(GMT+03:00) Moscow' },\n  { name: 'Nairobi', description: '(GMT+03:00) Nairobi' },\n  { name: 'Riyadh', description: '(GMT+03:00) Riyadh' },\n  { name: 'St. Petersburg', description: '(GMT+03:00) St. Petersburg' },\n  { name: 'Volgograd', description: '(GMT+03:00) Volgograd' },\n  { name: 'Tehran', description: '(GMT+03:30) Tehran' },\n  { name: 'Abu Dhabi', description: '(GMT+04:00) Abu Dhabi' },\n  { name: 'Baku', description: '(GMT+04:00) Baku' },\n  { name: 'Muscat', description: '(GMT+04:00) Muscat' },\n  { name: 'Samara', description: '(GMT+04:00) Samara' },\n  { name: 'Tbilisi', description: '(GMT+04:00) Tbilisi' },\n  { name: 'Yerevan', description: '(GMT+04:00) Yerevan' },\n  { name: 'Kabul', description: '(GMT+04:30) Kabul' },\n  { name: 'Asia/Karachi', description: '(GMT+05:00) Asia/Karachi' },\n  { name: 'Ekaterinburg', description: '(GMT+05:00) Ekaterinburg' },\n  { name: 'Islamabad', description: '(GMT+05:00) Islamabad' },\n  { name: 'Karachi', description: '(GMT+05:00) Karachi' },\n  { name: 'Tashkent', description: '(GMT+05:00) Tashkent' },\n  { name: 'Asia/Calcutta', description: '(GMT+05:30) Asia/Calcutta' },\n  { name: 'Chennai', description: '(GMT+05:30) Chennai' },\n  { name: 'Kolkata', description: '(GMT+05:30) Kolkata' },\n  { name: 'Mumbai', description: '(GMT+05:30) Mumbai' },\n  { name: 'New Delhi', description: '(GMT+05:30) New Delhi' },\n  { name: 'Sri Jayawardenepura', description: '(GMT+05:30) Sri Jayawardenepura' },\n  { name: 'Kathmandu', description: '(GMT+05:45) Kathmandu' },\n  { name: 'Almaty', description: '(GMT+06:00) Almaty' },\n  { name: 'Astana', description: '(GMT+06:00) Astana' },\n  { name: 'Dhaka', description: '(GMT+06:00) Dhaka' },\n  { name: 'Urumqi', description: '(GMT+06:00) Urumqi' },\n  { name: 'Rangoon', description: '(GMT+06:30) Rangoon' },\n  { name: 'Asia/Phnom_Penh', description: '(GMT+07:00) Asia/Phnom_Penh' },\n  { name: 'Bangkok', description: '(GMT+07:00) Bangkok' },\n  { name: 'Hanoi', description: '(GMT+07:00) Hanoi' },\n  { name: 'Jakarta', description: '(GMT+07:00) Jakarta' },\n  { name: 'Krasnoyarsk', description: '(GMT+07:00) Krasnoyarsk' },\n  { name: 'Novosibirsk', description: '(GMT+07:00) Novosibirsk' },\n  { name: 'Asia/Chongqing', description: '(GMT+08:00) Asia/Chongqing' },\n  { name: 'Asia/Kuala_Lumpur', description: '(GMT+08:00) Asia/Kuala_Lumpur' },\n  { name: 'Asia/Manila', description: '(GMT+08:00) Asia/Manila' },\n  { name: 'Asia/Singapore', description: '(GMT+08:00) Asia/Singapore' },\n  { name: 'Asia/Taipei', description: '(GMT+08:00) Asia/Taipei' },\n  { name: 'Beijing', description: '(GMT+08:00) Beijing' },\n  { name: 'Chongqing', description: '(GMT+08:00) Chongqing' },\n  { name: 'Hong Kong', description: '(GMT+08:00) Hong Kong' },\n  { name: 'Irkutsk', description: '(GMT+08:00) Irkutsk' },\n  { name: 'Kuala Lumpur', description: '(GMT+08:00) Kuala Lumpur' },\n  { name: 'Perth', description: '(GMT+08:00) Perth' },\n  { name: 'Singapore', description: '(GMT+08:00) Singapore' },\n  { name: 'Taipei', description: '(GMT+08:00) Taipei' },\n  { name: 'Ulaanbaatar', description: '(GMT+08:00) Ulaanbaatar' },\n  { name: 'Asia/Seoul', description: '(GMT+09:00) Asia/Seoul' },\n  { name: 'Osaka', description: '(GMT+09:00) Osaka' },\n  { name: 'Sapporo', description: '(GMT+09:00) Sapporo' },\n  { name: 'Seoul', description: '(GMT+09:00) Seoul' },\n  { name: 'Tokyo', description: '(GMT+09:00) Tokyo' },\n  { name: 'Yakutsk', description: '(GMT+09:00) Yakutsk' },\n  { name: 'Adelaide', description: '(GMT+09:30) Adelaide' },\n  { name: 'Darwin', description: '(GMT+09:30) Darwin' },\n  { name: 'Australia/Canberra', description: '(GMT+10:00) Australia/Canberra' },\n  { name: 'Australia/NSW', description: '(GMT+10:00) Australia/NSW' },\n  { name: 'Australia/Victoria', description: '(GMT+10:00) Australia/Victoria' },\n  { name: 'Brisbane', description: '(GMT+10:00) Brisbane' },\n  { name: 'Canberra', description: '(GMT+10:00) Canberra' },\n  { name: 'Guam', description: '(GMT+10:00) Guam' },\n  { name: 'Hobart', description: '(GMT+10:00) Hobart' },\n  { name: 'Magadan', description: '(GMT+10:00) Magadan' },\n  { name: 'Melbourne', description: '(GMT+10:00) Melbourne' },\n  { name: 'Port Moresby', description: '(GMT+10:00) Port Moresby' },\n  { name: 'Sydney', description: '(GMT+10:00) Sydney' },\n  { name: 'Vladivostok', description: '(GMT+10:00) Vladivostok' },\n  { name: 'New Caledonia', description: '(GMT+11:00) New Caledonia' },\n  { name: 'Solomon Is.', description: '(GMT+11:00) Solomon Is.' },\n  { name: 'Srednekolymsk', description: '(GMT+11:00) Srednekolymsk' },\n  { name: 'Auckland', description: '(GMT+12:00) Auckland' },\n  { name: 'Fiji', description: '(GMT+12:00) Fiji' },\n  { name: 'Kamchatka', description: '(GMT+12:00) Kamchatka' },\n  { name: 'Marshall Is.', description: '(GMT+12:00) Marshall Is.' },\n  { name: 'Pacific/Auckland', description: '(GMT+12:00) Pacific/Auckland' },\n  { name: 'Wellington', description: '(GMT+12:00) Wellington' },\n  { name: 'Chatham Is.', description: '(GMT+12:45) Chatham Is.' },\n  { name: \"Nuku'alofa\", description: \"(GMT+13:00) Nuku'alofa\" },\n  { name: 'Samoa', description: '(GMT+13:00) Samoa' },\n  { name: 'Tokelau Is.', description: '(GMT+13:00) Tokelau Is.' },\n];\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\n\nconst CONTAINER_SELECTORS = ['#intercom-container', '.intercom-lightweight-app'];\nconst JQUERY_CONTAINER_SELECTORS = CONTAINER_SELECTORS.join(',');\n\nexport function hideIntercomWidget() {\n  return $(JQUERY_CONTAINER_SELECTORS).hide();\n}\n\nexport function showIntercomWidget() {\n  $(JQUERY_CONTAINER_SELECTORS).show();\n}\n\nexport function hideIntercomWidgetWhenLoaded() {\n  if (hideIntercomWidget().length > 0) {\n    return;\n  }\n  // Observe changes to the list of children for body node; check if one of them is the intercom widget and hide it if so\n  let observer;\n  observer = new MutationObserver(mutationsList => {\n    mutationsList.forEach(mutation => {\n      mutation.addedNodes.forEach(element => {\n        if ($(element).is(JQUERY_CONTAINER_SELECTORS)) {\n          element.style.display = 'none';\n          observer.disconnect();\n        }\n      });\n    });\n  });\n  observer.observe(document.body, { childList: true });\n}\n\nexport function shutdownIntercomWidget() {\n  if (typeof Intercom !== 'undefined') {\n    Intercom('shutdown');\n  }\n}\n\nexport function sendIntercomUpdate(updateHash) {\n  if (typeof Intercom !== 'undefined') {\n    window.Intercom('update', updateHash);\n  }\n}\n\nexport function bootIntercomWidget() {\n  if (typeof Intercom !== 'undefined') {\n    Intercom('boot', window.intercomSettings);\n  }\n}\n\nexport function showNewMessageInIntercomWidget(message) {\n  if (typeof Intercom !== 'undefined') {\n    Intercom('showNewMessage', message || '');\n  }\n}\n\nexport function getVisitorId() {\n  if (typeof Intercom !== 'undefined') {\n    return Intercom('getVisitorId') || null;\n  }\n  return null;\n}\n\nexport function startTour(tourId) {\n  if (typeof Intercom !== 'undefined') {\n    Intercom('startTour', tourId);\n  }\n}\n\nexport function hookIntoTourComplete(tourId, callback) {\n  function handler(event) {\n    if (event.detail.tourId.toString() !== tourId.toString()) {\n      return;\n    }\n\n    return callback(event);\n  }\n\n  window.document.addEventListener('intercom:tourComplete', handler);\n\n  return () => {\n    window.document.removeEventListener('intercom:tourComplete', handler);\n  };\n}\n\nexport function hookIntoTourError(tourId, callback) {\n  function handler(event) {\n    if (event.detail.tourId.toString() !== tourId.toString()) {\n      return;\n    }\n\n    return callback(event);\n  }\n\n  window.document.addEventListener('intercom:tourError', handler);\n\n  return () => {\n    window.document.removeEventListener('intercom:tourError', handler);\n  };\n}\n","import flatMapBy from 'embercom/lib/flat-map-by';\n\nconst IntercomradesProductsOverride = {\n  isEnabled(appId) {\n    if (IntercomradesProductsOverride._onIntercomradesSubdomain()) {\n      return false;\n    }\n    let enabledKey = `icp-${appId}-enabled`;\n    return localStorage.getItem(enabledKey) === 'true';\n  },\n\n  _onIntercomradesSubdomain() {\n    return document.domain.indexOf('intercomrades') === -1;\n  },\n\n  updateActiveProductsAndPlans(app, products) {\n    let appId = app.get('id');\n    if (!IntercomradesProductsOverride.isEnabled(appId)) {\n      return products;\n    }\n\n    let planIdsKey = `icp-${appId}-plan-ids`;\n    let planIds = JSON.parse(localStorage.getItem(planIdsKey));\n    if (!planIds) {\n      return;\n    }\n\n    let plans = flatMapBy(products, 'plans');\n\n    let activePlans = plans.filter(plan => planIds.includes(plan.get('id')));\n    let inactivePlans = plans.reject(plan => planIds.includes(plan.get('id')));\n\n    activePlans.forEach(plan => plan.set('active', true));\n    inactivePlans.forEach(plan => plan.set('active', false));\n  },\n\n  features(app) {\n    let appId = app.get('id');\n    if (!IntercomradesProductsOverride.isEnabled(appId)) {\n      return [];\n    }\n\n    let featureKeysAndFeatureFlagKeys = app.get('features').mapBy('id');\n\n    let products = app.get('products');\n    let plans = flatMapBy(products, 'plans');\n    let features = flatMapBy(plans, 'features');\n    let allPossibleFeatureKeys = features.mapBy('key');\n\n    let featureFlagKeys = featureKeysAndFeatureFlagKeys.reject(featureKeyOrFeatureFlagKey => {\n      return allPossibleFeatureKeys.includes(featureKeyOrFeatureFlagKey);\n    });\n\n    let featureKeys = products.reduce((featureKeys, product) => {\n      let activePlan = product.get('plans').findBy('active', true);\n\n      if (activePlan) {\n        product\n          .get('plans')\n          .filter(plan => plan.tierId <= activePlan.tierId)\n          .forEach(plan => {\n            featureKeys.push(...plan.get('features').mapBy('key'));\n          });\n      }\n\n      return featureKeys;\n    }, []);\n\n    return [...featureFlagKeys, ...featureKeys];\n  },\n};\n\nexport default IntercomradesProductsOverride;\n","export default (firstArray, secondArray) => {\n  return firstArray.reduce((newArray, item) => {\n    if (firstArray.includes(item) && secondArray.includes(item)) {\n      newArray.push(item);\n    }\n\n    return newArray;\n  }, []);\n};\n","export const APP_NOT_APPROVED_FOR_EMAILS = 'App not approved to send email';\n\nexport const SEND_FAIL_STRING =\n  'There was a problem sending the invite, please contact customer support.';\n\nexport const RESEND_FAIL_STRING = 'There was a problem resending the invite, please try again';\n\nexport const DELETE_FAIL_STRING = 'There was a problem deleting the invite, please try again';\n\nexport function notifySendDenialError(notificationService) {\n  notificationService.notifyErrorWithModelAndPartial(\n    {},\n    'notifications/invite/-sending-denied',\n    7000,\n  );\n}\n","import { getOwner } from '@ember/application';\n\nexport default function(target) {\n  return getOwner(target).lookup('route:apps/app');\n}\n","import storage from 'embercom/vendor/intercom/storage';\n\nconst LOCAL_STORAGE_KEY = 'intercom-per-user-feature-flags';\n\nexport default {\n  list() {\n    let localFeatureFlags = storage.get(LOCAL_STORAGE_KEY);\n    // The undefined check here is required in case storage fails\n    return localFeatureFlags === null || localFeatureFlags === undefined ? [] : localFeatureFlags;\n  },\n  includes(featureKey) {\n    return this.list().includes(featureKey);\n  },\n  add(featureKey) {\n    let localFeatureFlags = this.list();\n    if (localFeatureFlags.includes(featureKey)) {\n      return;\n    }\n    localFeatureFlags.push(featureKey);\n    storage.set(LOCAL_STORAGE_KEY, localFeatureFlags);\n  },\n  remove(featureKey) {\n    let localFeatureFlags = this.list();\n    if (!localFeatureFlags.includes(featureKey)) {\n      return;\n    }\n    let foundIndex = localFeatureFlags.indexOf(featureKey);\n    localFeatureFlags.splice(foundIndex, 1);\n    storage.set(LOCAL_STORAGE_KEY, localFeatureFlags);\n  },\n};\n","import storage from 'embercom/vendor/intercom/storage';\n\nconst DEFAULT_LOCALE = 'en';\nconst RTL_LOCALES = ['ar', 'he'];\n\nexport function getLocale() {\n  try {\n    if (storage.get('locale').key) {\n      return storage.get('locale').key;\n    } else {\n      return DEFAULT_LOCALE;\n    }\n  } catch (e) {\n    return DEFAULT_LOCALE;\n  }\n}\n\nexport function isDefaultLocale() {\n  return getLocale() === DEFAULT_LOCALE;\n}\n\nexport function isRtlLocale() {\n  return RTL_LOCALES.includes(getLocale());\n}\n","import { captureException } from 'embercom/lib/sentry';\n\nlet addSelectionDebugInfo = function(args) {\n  let selection = window.getSelection();\n  args.anchorOffset = selection.anchorOffset;\n  args.focusOffset = selection.focusOffset;\n};\n\nlet addRecoveryInfo = function(args, error) {\n  args.recovered = error.recovered;\n  if (error.recovered === false) {\n    try {\n      args.recoverError = error.recoverError.message;\n    } catch (e) {\n      args.recoverError = 'unknown';\n    }\n  }\n};\n\nlet addPastedContent = function(args, error) {\n  if (error.pastedContent) {\n    args.pastedContent = error.pastedContent;\n  }\n};\n\nexport default function(area, error, extras = {}) {\n  let identifier = `ComposerV2Error:${area}`;\n\n  let context = {\n    browser: navigator.userAgent,\n    identifier,\n    version: error.version,\n  };\n  let args = Object.assign(context, extras);\n\n  addRecoveryInfo(args, error);\n  addSelectionDebugInfo(args);\n  addPastedContent(args, error);\n\n  if (error instanceof Error) {\n    captureException(error, {\n      extra: args,\n      tags: {\n        component: 'composer',\n        area,\n      },\n    });\n  } else if (typeof error === 'string') {\n    // if the error is a string then just record the string\n    captureException(new Error(error), {\n      extra: args,\n      tags: {\n        component: 'composer',\n        area,\n      },\n    });\n  } else {\n    // At this point its best effort to try to unpack as much infor as we can\n    args = Object.assign(args, error);\n\n    captureException(new Error(error.message || 'Unknown error from composer'), {\n      extra: args,\n      tags: {\n        component: 'composer',\n        area,\n      },\n    });\n  }\n}\n","/* eslint-disable */\n/**\n * A doubly linked list-based Least Recently Used (LRU) cache. Will keep most\n * recently used items while discarding least recently used items when its limit\n * is reached.\n *\n * Licensed under MIT. Copyright (c) 2010 Rasmus Andersson <http://hunch.se/>\n * See README.md for details.\n *\n * Illustration of the design:\n *\n *       entry             entry             entry             entry\n *       ______            ______            ______            ______\n *      | head |.newer => |      |.newer => |      |.newer => | tail |\n *      |  A   |          |  B   |          |  C   |          |  D   |\n *      |______| <= older.|______| <= older.|______| <= older.|______|\n *\n *  removed  <--  <--  <--  <--  <--  <--  <--  <--  <--  <--  <--  added\n */\nfunction LRUCache(limit) {\n  // Current size of the cache. (Read-only).\n  this.size = 0;\n  // Maximum number of items this cache can hold.\n  this.limit = limit;\n  this._keymap = {};\n}\n\n/**\n * Put <value> into the cache associated with <key>. Returns the entry which was\n * removed to make room for the new entry. Otherwise undefined is returned\n * (i.e. if there was enough room already).\n */\nLRUCache.prototype.put = function(key, value) {\n  var entry = { key: key, value: value };\n  // Note: No protection agains replacing, and thus orphan entries. By design.\n  this._keymap[key] = entry;\n  if (this.tail) {\n    // link previous tail to the new tail (entry)\n    this.tail.newer = entry;\n    entry.older = this.tail;\n  } else {\n    // we're first in -- yay\n    this.head = entry;\n  }\n  // add new entry to the end of the linked list -- it's now the freshest entry.\n  this.tail = entry;\n  if (this.size === this.limit) {\n    // we hit the limit -- remove the head\n    return this.shift();\n  } else {\n    // increase the size counter\n    this.size++;\n  }\n};\n\n/**\n * Purge the least recently used (oldest) entry from the cache. Returns the\n * removed entry or undefined if the cache was empty.\n *\n * If you need to perform any form of finalization of purged items, this is a\n * good place to do it. Simply override/replace this function:\n *\n *   var c = new LRUCache(123);\n *   c.shift = function() {\n *     var entry = LRUCache.prototype.shift.call(this);\n *     doSomethingWith(entry);\n *     return entry;\n *   }\n */\nLRUCache.prototype.shift = function() {\n  // todo: handle special case when limit == 1\n  var entry = this.head;\n  if (entry) {\n    if (this.head.newer) {\n      this.head = this.head.newer;\n      this.head.older = undefined;\n    } else {\n      this.head = undefined;\n    }\n    // Remove last strong reference to <entry> and remove links from the purged\n    // entry being returned:\n    entry.newer = entry.older = undefined;\n    // delete is slow, but we need to do this to avoid uncontrollable growth:\n    delete this._keymap[entry.key];\n  }\n  return entry;\n};\n\n/**\n * Get and register recent use of <key>. Returns the value associated with <key>\n * or undefined if not in cache.\n */\nLRUCache.prototype.get = function(key, returnEntry) {\n  // First, find our cache entry\n  var entry = this._keymap[key];\n  if (entry === undefined) return; // Not cached. Sorry.\n  // As <key> was found in the cache, register it as being requested recently\n  if (entry === this.tail) {\n    // Already the most recenlty used entry, so no need to update the list\n    return returnEntry ? entry : entry.value;\n  }\n  // HEAD--------------TAIL\n  //   <.older   .newer>\n  //  <--- add direction --\n  //   A  B  C  <D>  E\n  if (entry.newer) {\n    if (entry === this.head) this.head = entry.newer;\n    entry.newer.older = entry.older; // C <-- E.\n  }\n  if (entry.older) entry.older.newer = entry.newer; // C. --> E\n  entry.newer = undefined; // D --x\n  entry.older = this.tail; // D. --> E\n  if (this.tail) this.tail.newer = entry; // E. <-- D\n  this.tail = entry;\n  return returnEntry ? entry : entry.value;\n};\n\n// ----------------------------------------------------------------------------\n// Following code is optional and can be removed without breaking the core\n// functionality.\n\n/**\n * Check if <key> is in the cache without registering recent use. Feasible if\n * you do not want to chage the state of the cache, but only \"peek\" at it.\n * Returns the entry associated with <key> if found, or undefined if not found.\n */\nLRUCache.prototype.find = function(key) {\n  return this._keymap[key];\n};\n\n/**\n * Update the value of entry with <key>. Returns the old value, or undefined if\n * entry was not in the cache.\n */\nLRUCache.prototype.set = function(key, value) {\n  var oldvalue,\n    entry = this.get(key, true);\n  if (entry) {\n    oldvalue = entry.value;\n    entry.value = value;\n  } else {\n    oldvalue = this.put(key, value);\n    if (oldvalue) oldvalue = oldvalue.value;\n  }\n  return oldvalue;\n};\n\n/**\n * Remove entry <key> from cache and return its value. Returns undefined if not\n * found.\n */\nLRUCache.prototype.remove = function(key) {\n  var entry = this._keymap[key];\n  if (!entry) return;\n  delete this._keymap[entry.key]; // need to do delete unfortunately\n  if (entry.newer && entry.older) {\n    // relink the older entry with the newer entry\n    entry.older.newer = entry.newer;\n    entry.newer.older = entry.older;\n  } else if (entry.newer) {\n    // remove the link to us\n    entry.newer.older = undefined;\n    // link the newer entry to head\n    this.head = entry.newer;\n  } else if (entry.older) {\n    // remove the link to us\n    entry.older.newer = undefined;\n    // link the newer entry to head\n    this.tail = entry.older;\n  } else {\n    // if (entry.older === undefined && entry.newer === undefined) {\n    this.head = this.tail = undefined;\n  }\n\n  this.size--;\n  return entry.value;\n};\n\n/** Removes all entries */\nLRUCache.prototype.removeAll = function() {\n  // This should be safe, as we never expose strong refrences to the outside\n  this.head = this.tail = undefined;\n  this.size = 0;\n  this._keymap = {};\n};\n\n/**\n * Return an array containing all keys of entries stored in the cache object, in\n * arbitrary order.\n */\nif (typeof Object.keys === 'function') {\n  LRUCache.prototype.keys = function() {\n    return Object.keys(this._keymap);\n  };\n} else {\n  LRUCache.prototype.keys = function() {\n    var keys = [];\n    for (var k in this._keymap) keys.push(k);\n    return keys;\n  };\n}\n\n/**\n * Call `fun` for each entry. Starting with the newest entry if `desc` is a true\n * value, otherwise starts with the oldest (head) enrty and moves towards the\n * tail.\n *\n * `fun` is called with 3 arguments in the context `context`:\n *   `fun.call(context, Object key, Object value, LRUCache self)`\n */\nLRUCache.prototype.forEach = function(fun, context, desc) {\n  var entry;\n  if (context === true) {\n    desc = true;\n    context = undefined;\n  } else if (typeof context !== 'object') context = this;\n  if (desc) {\n    entry = this.tail;\n    while (entry) {\n      fun.call(context, entry.key, entry.value, this);\n      entry = entry.older;\n    }\n  } else {\n    entry = this.head;\n    while (entry) {\n      fun.call(context, entry.key, entry.value, this);\n      entry = entry.newer;\n    }\n  }\n};\n\n/** Returns a JSON (array) representation */\nLRUCache.prototype.toJSON = function() {\n  var s = [],\n    entry = this.head;\n  while (entry) {\n    s.push({ key: entry.key.toJSON(), value: entry.value.toJSON() });\n    entry = entry.newer;\n  }\n  return s;\n};\n\n/** Returns a String representation */\nLRUCache.prototype.toString = function() {\n  var s = '',\n    entry = this.head;\n  while (entry) {\n    s += String(entry.key) + ':' + entry.value;\n    entry = entry.newer;\n    if (entry) s += ' < ';\n  }\n  return s;\n};\n\n// Export ourselves\nexport default LRUCache;\n/* eslint-enable */\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { Promise as EmberPromise } from 'rsvp';\nimport WebFont from 'webfontloader';\n\n// TODO: remove this file, the webfontloader dependency, and all calls to\n// `MarketingFont.load*` once Akkurat Pro has been replaced with Graphik on\n// the three remaining purchase routes\n// https://github.com/intercom/intercom/issues/143041\n\nexport default {\n  loadAkkuratPro() {\n    return this._loadFonts(['Akkurat Pro'], ['/assets/stylesheets/akkurat.css']);\n  },\n\n  _loadFonts(fontFamilies, urls) {\n    return new EmberPromise(resolve => {\n      WebFont.load({\n        custom: {\n          families: fontFamilies,\n          urls,\n        },\n        timeout: 2000,\n      });\n\n      this._waitForFontLoadOrTimeout(resolve);\n    });\n  },\n\n  _waitForFontLoadOrTimeout(callback) {\n    let interval;\n\n    interval = setInterval(() => {\n      let $html = $('html');\n\n      if ($html.hasClass('wf-active') || $html.hasClass('wf-inactive')) {\n        clearInterval(interval);\n        callback();\n      }\n    }, 50);\n  },\n};\n","// Put text in a template and figure out how wide it is\n\n// - container: A DOM node to render the template in\n// - template: The template to use,\n//    - Template must have one single root node\n//    - Placeholders are specified with %@\n//    - Placeholders must not have any sibling text\nimport LRUCache from './lru-cache';\n\nlet MeasureHtml = function(container, template, enableCache, cacheSize) {\n  this.container = container;\n  this.template = template;\n  this.contentNodes = [];\n\n  if (enableCache) {\n    this.cache = new LRUCache(cacheSize || 200);\n  }\n\n  this.setup();\n};\n\nMeasureHtml.prototype.measure = function(data) {\n  let width;\n  let key = data.join();\n  let cached = this.cache && this.cache.get(key);\n  if (cached) {\n    return cached;\n  }\n\n  this.addTemplateNodeToDom();\n  this.loadDataIntoContentNodes(data);\n  width = this.templateNode.clientWidth;\n  if (this.cache) {\n    this.cache.put(key, width);\n  }\n  return width;\n};\n\nMeasureHtml.prototype.clear = function() {\n  this.removeTemplateNodeFromDom();\n};\n\nMeasureHtml.prototype.setup = function() {\n  this.createTemplateNode(this.template);\n  this.addTemplateNodeToDom();\n  this.collectContentNodes();\n};\n\nMeasureHtml.prototype.destroy = function() {\n  this.removeTemplateNodeFromDom();\n  this.container = null;\n  this.contentNodes = [];\n};\n\nMeasureHtml.prototype.collectContentNodes = function() {\n  this.walk(\n    this.templateNode,\n    function(node) {\n      if (node.nodeType === Node.TEXT_NODE && node.textContent === '%@') {\n        this.contentNodes.push(node);\n      }\n    }.bind(this),\n  );\n};\n\nMeasureHtml.prototype.checkCache = function(data) {\n  if (this.cache) {\n    let key = data.join();\n    if (this.cache[key]) {\n      return this.cache[key];\n    }\n  }\n  return false;\n};\n\nMeasureHtml.prototype.loadDataIntoContentNodes = function(data) {\n  for (let i = 0; i < data.length; i++) {\n    this.contentNodes[i].textContent = data[i];\n  }\n};\n\nMeasureHtml.prototype.createTemplateNode = function(template) {\n  let e = document.createElement('div');\n  e.innerHTML = template;\n  this.templateNode = e.firstChild;\n};\n\nMeasureHtml.prototype.addTemplateNodeToDom = function() {\n  if (!this.templateNodeInDom) {\n    this.container.appendChild(this.templateNode);\n    this.templateNodeInDom = true;\n  }\n};\n\nMeasureHtml.prototype.removeTemplateNodeFromDom = function() {\n  if (this.templateNodeInDom) {\n    this.container.removeChild(this.templateNode);\n    this.templateNodeInDom = false;\n  }\n};\n\nMeasureHtml.prototype.walk = function(node, func) {\n  func(node);\n  node = node.firstChild;\n  while (node) {\n    this.walk(node, func);\n    node = node.nextSibling;\n  }\n};\n\nexport default MeasureHtml;\n","import { A } from '@ember/array';\nconst RICH_CONTENT_BLOCK_TEXT = {\n  image: 'an image',\n  attachmentList: 'an attachment',\n  video: 'a video',\n};\n\nfunction getTextForRichContentType(type) {\n  return RICH_CONTENT_BLOCK_TEXT[type];\n}\n\nfunction isRichContentType(type) {\n  return Boolean(getTextForRichContentType(type));\n}\n\nfunction getText(block) {\n  if (block.get('type') === 'orderedList') {\n    return block\n      .get('items')\n      .map((item, index) => `${index + 1}. ${item}`)\n      .join(', ');\n  } else if (block.get('type') === 'unorderedList') {\n    return block.get('items').join(', ');\n  } else {\n    return block.get('text') || block.get('content');\n  }\n}\n\nexport default function(blocks) {\n  let summaryText = A(blocks)\n    .reject(block => block.get('type') === 'button')\n    .map(block => getText(block))\n    .filter(text => Boolean(text));\n\n  let strippedSummaryText = summaryText.join(' ').replace(/<br>/g, ' ');\n  if (strippedSummaryText.length === 0) {\n    let firstRichContentBlock = blocks.filter(block => isRichContentType(block.get('type')))[0];\n    if (firstRichContentBlock) {\n      return `Sent you ${getTextForRichContentType(firstRichContentBlock.get('type'))}`;\n    }\n  }\n  return strippedSummaryText;\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { isPresent } from '@ember/utils';\nimport ajax from 'embercom/lib/ajax';\nimport { resolve } from 'rsvp';\n\nfunction updateMessageCountsForAppAndType(app, type) {\n  return ajax({\n    url: '/ember/messages/count',\n    type: 'GET',\n    data: {\n      app_id: app.get('id'),\n      type,\n      admin_id: app.get('currentAdmin.id'),\n    },\n  }).then(function(counts) {\n    if (type === 'auto') {\n      app.setProperties({\n        allAutoMessageCount: counts.all,\n        liveAutoMessageCount: counts.live,\n        stoppedAutoMessageCount: counts.stopped,\n        draftAutoMessageCount: counts.draft,\n        scheduledAutoMessageCount: counts.scheduled,\n        ownedByAdminAutoMessageCount: counts.owned_by_admin,\n      });\n    } else if (type === 'manual') {\n      app.setProperties({\n        allManualMessageCount: counts.all,\n        sentExcludingApiManualMessageCount: counts.sent_excluding_api,\n        sentViaApiManualMessageCount: counts.sent_via_api,\n        draftManualMessageCount: counts.draft,\n        scheduledManualMessageCount: counts.scheduled,\n      });\n    } else if (type === 'visitor_auto') {\n      app.setProperties({\n        allVisitorAutoMessageCount: counts.all,\n        liveVisitorAutoMessageCount: counts.live,\n        stoppedVisitorAutoMessageCount: counts.stopped,\n        draftVisitorAutoMessageCount: counts.draft,\n        scheduledVisitorAutoMessageCount: counts.scheduled,\n        ownedByAdminVisitorAutoMessageCount: counts.owned_by_admin,\n      });\n    }\n    if (counts.folders) {\n      counts.folders.forEach(folderCounts => {\n        let folder = app.get('folders').findBy('id', folderCounts.id.toString());\n        if (isPresent(folder)) {\n          folder.setProperties({\n            'messageCounts.all': folderCounts.all,\n            'messageCounts.live': folderCounts.live,\n            'messageCounts.stopped': folderCounts.stopped,\n            'messageCounts.draft': folderCounts.draft,\n            'messageCounts.scheduled': folderCounts.scheduled,\n          });\n        }\n      });\n    }\n    return resolve();\n  });\n}\n\nexport { updateMessageCountsForAppAndType };\n","const MESSAGE_DATA_EXPORT_CONSTANTS = {\n  folderExportType: 'folder',\n};\n\nexport { MESSAGE_DATA_EXPORT_CONSTANTS };\n","export default function(model) {\n  if (model.get('isVisitorAutoMessage')) {\n    return 'apps.app.outbound.messages.visitor-auto.message';\n  } else if (model.get('isManualMessage')) {\n    return 'apps.app.outbound.messages.manual.message';\n  } else {\n    return 'apps.app.outbound.messages.auto.message';\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\nimport { A } from '@ember/array';\nimport ArrayProxy from '@ember/array/proxy';\nimport { computed, observer } from '@ember/object';\nimport { alias, and, empty, equal, gt, lt, none, not, notEmpty, or } from '@ember/object/computed';\nimport { on } from '@ember/object/evented';\nimport { cancel, later, once } from '@ember/runloop';\nimport { isEmpty, isPresent } from '@ember/utils';\nimport {\n  equalToProperty,\n  lessThanProperty,\n  ternary,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport ENV from 'embercom/config/environment';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\n\nlet MessageListQuery = ArrayProxy.extend({\n  app: null,\n  controller: null,\n\n  isInitalizing: false,\n  isLoadingOrInitalizing: or('isLoading', 'isInitalizing'),\n\n  remoteLoadingTimer: null,\n  remoteMessages: null,\n  filteredMessages: null,\n  displayedMessages: alias('arrangedContent'),\n\n  totalMessageCount: null,\n  totalMessageCountNotSet: none('totalMessageCount'),\n  totalMessageCountIsSet: not('totalMessageCountNotSet'),\n\n  isLoading: false,\n  isLoadingFirstPage: and('isLoading', 'totalMessageCountNotSet'),\n  hasStartedRemoteLoading: false,\n  hasNotStartedRemoteLoading: not('hasStartedRemoteLoading'),\n  hasStartedRemoteLoadingAndHasNotCompleted: and(\n    'hasStartedRemoteLoading',\n    'hasNotLoadedAllRemoteData',\n  ),\n\n  hasMessagesToDisplay: not('hasNoMessagesToDisplay'),\n  hasNoMessagesToDisplay: or('displayedMessageCountIsZero', 'totalMessageCountNotSet'),\n  displayedMessageCountIsZero: equal('displayableMessageCount', 0),\n  displayableMessagesAreEmpty: empty('displayedMessages'),\n\n  displayableMessageCount: ternaryToProperty(\n    'shouldUseLocalMessageCounts',\n    'filteredMessages.length',\n    'totalMessageCount',\n  ),\n  hasLoadedAllDisplayableMessages: and(\n    'totalMessageCountIsSet',\n    'displayedMessageCountEqualsTotal',\n  ),\n\n  displayedMessageCountEqualsTotal: equalToProperty(\n    'displayedMessages.length',\n    'displayableMessageCount',\n  ),\n  hasNotLoadedAllRemoteData: lessThanProperty('remoteMessages.length', 'totalMessageCount'),\n  hasLoadedAllRemoteData: not('hasNotLoadedAllRemoteData'),\n\n  isManualMessageList: equal('type', 'manual'),\n  isAutoMessageList: equal('type', 'auto'),\n  isVisitorAutoMessageList: equal('type', 'visitor_auto'),\n  typeSupportsLocalSort: or('isAutoMessageList', 'isVisitorAutoMessageList'),\n  shouldUseLocalMessageCounts: and('typeSupportsLocalSort', 'messageCountAllowsForLocalSorting'),\n\n  localSortDisabled: false,\n  localSortEnabled: not('localSortDisabled'),\n  messageCountIsGreaterThanSortLimit: gt('totalMessageCount', 425),\n  messageCountIsLessThanSortLimit: lt('totalMessageCount', 425),\n  messageCountAllowsForLocalSorting: and('messageCountIsLessThanSortLimit', 'localSortEnabled'),\n\n  shouldLoadLocalPage: and(\n    'typeSupportsLocalSort',\n    'messageCountAllowsForLocalSorting',\n    'totalMessageCountIsSet',\n  ),\n  shouldLoadRemotePage: not('shouldLoadLocalPage'),\n  shouldBeginRemoteLoading: and(\n    'typeSupportsLocalSort',\n    'messageCountAllowsForLocalSorting',\n    'totalMessageCountIsSet',\n    'hasNotLoadedAllRemoteData',\n    'hasNotStartedRemoteLoading',\n  ),\n  shouldNotLoadAdditionalPage: or(\n    'hasLoadedAllDisplayableMessages',\n    'isLoading',\n    'hasAnEmptyParameter',\n  ),\n\n  localPagingDisabled: or(\n    'isManualMessageList',\n    'shouldLoadRemotePage',\n    'hasLoadedAllDisplayableMessages',\n  ),\n  localSortingEnabled: and('shouldLoadLocalPage', 'hasLoadedAllRemoteData'),\n\n  afterAllRemoteMessagesLoaded: observer({\n    dependentKeys: ['sortAfterLoad', 'localSortingEnabled'],\n\n    fn() {\n      if (this.sortAfterLoad && this.localSortingEnabled) {\n        this.onSortingChange();\n      }\n    },\n\n    sync: true,\n  }),\n\n  hasSortableStat: notEmpty('sortableStat'),\n  sortingComparatorKey: ternaryToProperty('hasSortableStat', 'sortableStat', 'sort_by'),\n  sortingComparator: computed('sortingComparatorKey', function() {\n    let sort_by = this.sortingComparatorKey;\n    let sortingComparatorMap = {\n      title: 'sortableTitle',\n      from: 'sortableFrom',\n      type: 'sortableType',\n      send_at: 'sortableSendAt',\n      created_at: 'sortableCreatedAt',\n      last_sent: 'sortableLastSent',\n      sent_count: 'sortableSentCount',\n      opened_count: 'sortableOpenedCount',\n      replied_count: 'sortableRepliedCount',\n      clicked_count: 'sortableClickedCount',\n      unsubscribed_count: 'sortableUnsubCount',\n      failed_count: 'sortableFailedCount',\n      goal_count: 'sortableGoalCount',\n    };\n    return sortingComparatorMap[sort_by];\n  }),\n\n  type: null,\n  state: null,\n  sort_by: null,\n  sort_direction: null,\n  searchTerm: null,\n  searchTermIsEmpty: empty('searchTerm'),\n  created_via: null,\n\n  hasAnEmptyParameter: computed('type', 'state', 'sort_by', 'sort_direction', function() {\n    let parameters = ['type', 'state', 'sort_by', 'sort_direction'];\n    let emptyQueryParamKey = parameters.find(param => isEmpty(this.get(param)));\n    let hasEmptyQueryParam = isPresent(emptyQueryParamKey);\n    if (hasEmptyQueryParam) {\n      throw new Error(`The query param key ${emptyQueryParamKey} has not been set`);\n    }\n\n    return hasEmptyQueryParam;\n  }),\n\n  setup: on('init', function() {\n    this.set('displayedMessages', A());\n  }),\n\n  reset() {\n    cancel(this.remoteLoadingTimer);\n    this.setProperties({\n      isInitalizing: true,\n      hasStartedRemoteLoading: false,\n      remoteMessages: A(),\n      filteredMessages: A(),\n      displayedMessages: A(),\n      page: 1,\n      localPage: 1,\n      remotePage: 2,\n      totalMessageCount: null,\n      isLoading: false,\n      sort_by: this.sort_by,\n      search_string: this.search_string,\n    });\n    this.set('isInitalizing', false);\n  },\n\n  localReset() {\n    this.setProperties({\n      displayedMessages: A(),\n      localPage: 1,\n      isLoading: false,\n    });\n    this.nextPage();\n  },\n\n  setParameters(parameters) {\n    this.setProperties(parameters);\n  },\n\n  setQueryParams(queryParams) {\n    this.setProperties({\n      type: queryParams.type,\n      state: queryParams.state,\n      sort_by: queryParams.sort_by,\n      pageSize: queryParams.per_page || this.pageSize,\n      remotePageSize: queryParams.per_page || this.remotePageSize,\n      sort_direction: queryParams.sort_direction,\n      message_group_id: queryParams.message_group_id,\n      remote_search_term: queryParams.search_term ? queryParams.search_term : undefined,\n      current_admin_id: queryParams.current_admin_id ? queryParams.current_admin_id : undefined,\n      created_via: queryParams.created_via,\n    });\n  },\n\n  onStateChange: observer({\n    dependentKeys: ['state'],\n\n    fn() {\n      this.reset();\n      this.nextPage();\n    },\n\n    sync: true,\n  }),\n\n  onSortingChange: observer({\n    dependentKeys: ['sortingComparatorKey', 'sort_direction'],\n\n    fn() {\n      once(this, this._runSortChangeOnce);\n    },\n\n    sync: true,\n  }),\n\n  _runSortChangeOnce() {\n    if (this.isLoadingOrInitalizing) {\n      return;\n    }\n    if (this.localSortingEnabled) {\n      this.applySorting();\n      this.localReset();\n    } else {\n      this.reset();\n      this.nextPage();\n    }\n  },\n  applySorting() {\n    let sortedMessages = this.filteredMessages.sort((a, b) => {\n      let left = a.get(this.sortingComparator);\n      let right = b.get(this.sortingComparator);\n      let direction = this.sort_direction === 'asc' ? 1 : -1;\n      if (typeof left === 'string' && typeof right === 'string') {\n        return left.localeCompare(right) * direction;\n      } else if (left < right) {\n        return -1 * direction;\n      } else if (left > right) {\n        return 1 * direction;\n      } else {\n        return 0;\n      }\n    });\n    this.set('filteredMessages', sortedMessages);\n  },\n\n  updateDisplayableMessages(messages) {\n    this._recordPageRenderTime(messages.length);\n    if (this.shouldLoadLocalPage) {\n      this.filteredMessages.pushObjects(messages);\n    } else {\n      this.displayedMessages.pushObjects(messages);\n      this.set('isLoading', false);\n    }\n  },\n\n  removeDisplayedMessages(selectedIds) {\n    let messages = this.shouldLoadLocalPage ? this.filteredMessages : this.displayedMessages;\n    let messagesToRemove = messages.filter(function(message) {\n      return selectedIds.indexOf(message.get('id')) > -1;\n    });\n    messages.removeObjects(messagesToRemove);\n    this.set('totalMessageCount', this.totalMessageCount - selectedIds.length);\n  },\n\n  isDraftState: equal('state', 'draft'),\n  _metricKey: ternary(\n    'isDraftState',\n    'ember_ux_draftMessageListItemRenderTime',\n    'ember_ux_messageListItemRenderTime',\n  ),\n  _recordPageRenderTime(numberOfItemsRendered) {\n    let frontendStatsService = this.get('controller.frontendStatsService');\n    if (frontendStatsService) {\n      frontendStatsService.timeUntilAfterRender(this._metricKey, {\n        bufferSize: 2,\n        numberOfItemsRendered,\n      });\n    }\n  },\n\n  page: 1,\n  pageSize: 25,\n  localPage: 1,\n  localPageSize: 25,\n  //If loading all messages, we will have already loaded the first page to determine the message total, therefore we start loading from page 2.\n  remotePage: 2,\n  remotePageSize: 25,\n\n  nextPage() {\n    if (this.shouldNotLoadAdditionalPage) {\n      return;\n    }\n    this.set('isLoading', true);\n    if (this.shouldLoadLocalPage) {\n      this.loadLocalPage();\n    } else {\n      this.loadRemotePage();\n    }\n  },\n\n  loadLocalPage: observer({\n    dependentKeys: ['filteredMessages.length'],\n\n    fn() {\n      if (this.localPagingDisabled) {\n        return;\n      }\n      if (this.shouldBeginRemoteLoading) {\n        this.set('hasStartedRemoteLoading', true);\n        this.loadAllPagesFromServer();\n      }\n      if (this.isLoading) {\n        let localPage = this.localPage;\n        let localPageSize = this.localPageSize;\n        let pageStart = (localPage - 1) * localPageSize;\n        if (pageStart <= this.get('filteredMessages.length')) {\n          this.insertLocalPage(pageStart, pageStart + localPageSize);\n          this.incrementProperty('localPage');\n        }\n      }\n    },\n\n    sync: true,\n  }),\n\n  insertLocalPage(pageStart, pageEnd) {\n    let messagesToDisplayLocally = this.filteredMessages.slice(pageStart, pageEnd);\n    if (isEmpty(this.displayedMessages)) {\n      this._insertLocalPage(messagesToDisplayLocally);\n    } else {\n      // This allows the inline loading indicator to display before rendering the new items.\n      // Rendering the new items takes a significant amount of time (e.g. 1s+) so without the\n      // loading indicator we have this janky period where nothing is happening.\n      later(\n        this,\n        function() {\n          this._insertLocalPage(messagesToDisplayLocally);\n        },\n        50,\n      );\n    }\n  },\n\n  _insertLocalPage(messagesToDisplayLocally) {\n    this.displayedMessages.pushObjects(messagesToDisplayLocally);\n    this.set('isLoading', false);\n  },\n\n  loadRemotePage() {\n    let page = this.page;\n    let pageSize = this.pageSize;\n    this.set('isLoading', true);\n    this.searchForMessages(page, pageSize).then(messagesForPage => {\n      Em.beginPropertyChanges();\n      this.remoteMessages.pushObjects(messagesForPage);\n      this.updateDisplayableMessages(messagesForPage);\n      this.incrementProperty('page');\n      Em.endPropertyChanges();\n    });\n  },\n\n  loadAllPagesFromServer() {\n    if (this.hasNotLoadedAllRemoteData) {\n      let remotePage = this.remotePage;\n      let remotePageSize = this.remotePageSize;\n      this.searchForMessages(remotePage, remotePageSize).then(messagesForPage => {\n        Em.beginPropertyChanges();\n        this.remoteMessages.pushObjects(messagesForPage);\n        this.filteredMessages.pushObjects(messagesForPage);\n        this.incrementProperty('remotePage');\n        Em.endPropertyChanges();\n        let timer = later(this, this.loadAllPagesFromServer, ENV.APP._25MS); //Todo: Can we remove this?\n        this.set('remoteLoadingTimer', timer);\n      });\n    }\n  },\n\n  searchForMessages(page, page_size) {\n    return getEmberDataStore()\n      .query('message', {\n        type: this.type,\n        app_id: this.get('app.id'),\n        page,\n        per_page: page_size,\n        state: this.state,\n        sort_by: this.sort_by,\n        sort_direction: this.sort_direction,\n        message_group_id: this.message_group_id,\n        search_term: this.remote_search_term,\n        from_id: this.current_admin_id,\n        created_via: this.created_via,\n      })\n      .then(response => {\n        let totalMessageCount = response.meta.total_count;\n        if (ENV.environment === 'test' && isEmpty(totalMessageCount)) {\n          // TODO this is a hack because ember-data-factory-guy doesn't populate the meta attributes properly - they seem to be getting stripped from the responses :-/\n          totalMessageCount = response.length;\n        }\n        this.set('totalMessageCount', totalMessageCount);\n        return response.toArray();\n      });\n  },\n});\n\nexport default MessageListQuery;\n","import { isEmpty } from '@ember/utils';\n\nconst EXCLUDED_STAT_KEYS = ['id', 'click_tracking_links', 'message_variation_id'];\n\nconst REAL_TIME_TRANSLATION_MAPPING = {\n  attribute_collector_replies_rate: 'attribute_collector_reply_percentage',\n  attribute_collector_replies: 'attribute_collector_reply_count',\n  bounces_rate: 'bounce_percentage',\n  bounces: 'bounce_count',\n  clicks_rate: 'click_percentage',\n  clicks: 'click_count',\n  complaints_rate: 'complained_percentage',\n  complaints: 'complained_count',\n  conversations: 'sent_count',\n  goals_rate: 'goal_success_percentage',\n  goals: 'goal_count',\n  happy_rate: 'happy_percentage',\n  happy: 'happy_count',\n  last_sent: 'last_sent_on',\n  neutral_rate: 'neutral_percentage',\n  neutral: 'neutral_count',\n  opens_rate: 'open_percentage',\n  opens: 'open_count',\n  reaction_0_rate: 'reaction_0_percentage',\n  reaction_0: 'reaction_0_count',\n  reaction_1_rate: 'reaction_1_percentage',\n  reaction_1: 'reaction_1_count',\n  reaction_2_rate: 'reaction_2_percentage',\n  reaction_2: 'reaction_2_count',\n  reaction_3_rate: 'reaction_3_percentage',\n  reaction_3: 'reaction_3_count',\n  reaction_4_rate: 'reaction_4_percentage',\n  reaction_4: 'reaction_4_count',\n  replies_rate: 'reply_percentage',\n  replies: 'reply_count',\n  responses_rate: 'response_percentage',\n  responses: 'response_count',\n  sad_rate: 'sad_percentage',\n  sad: 'sad_count',\n  soft_bounces: 'soft_bounce_count',\n  thumbs_down_rate: 'thumbs_down_percentage',\n  thumbs_down: 'thumbs_down_count',\n  thumbs_up_rate: 'thumbs_up_percentage',\n  thumbs_up: 'thumbs_up_count',\n  unsubscribes_rate: 'unsubscribe_percentage',\n  unsubscribes: 'unsubscribe_count',\n  views: 'view_count',\n};\n\nexport default {\n  translateRealTimeRateStatValue(rateStat, realTimeStats) {\n    return realTimeStats.hasOwnProperty(rateStat)\n      ? realTimeStats[rateStat] * 100\n      : realTimeStats[REAL_TIME_TRANSLATION_MAPPING[rateStat]];\n  },\n  translateRealTimeCountStatValue(countStat, realTimeStats) {\n    return realTimeStats.hasOwnProperty(countStat)\n      ? realTimeStats[countStat]\n      : realTimeStats[REAL_TIME_TRANSLATION_MAPPING[countStat]];\n  },\n  translateRealTimeStats(realTimeStats) {\n    let realtimeStatsKeys = Object.keys(realTimeStats);\n    let translatedStats = {};\n    realtimeStatsKeys.forEach(statKey => {\n      let translatedKey = REAL_TIME_TRANSLATION_MAPPING[statKey];\n      let valueForStat = realTimeStats[statKey];\n\n      if (!EXCLUDED_STAT_KEYS.includes(statKey)) {\n        if (isEmpty(translatedKey)) {\n          translatedStats[statKey] = valueForStat;\n        } else if (isEmpty(valueForStat)) {\n          translatedStats[translatedKey] = valueForStat;\n        } else {\n          translatedStats[translatedKey] = parseFloat(valueForStat);\n          if (translatedKey.endsWith('percentage')) {\n            let multipliedVal = translatedStats[translatedKey] * 100;\n            // The second parseFloat removes trailing zeros after moving to fixed precision\n            let rounded_percentage = parseFloat(multipliedVal.toFixed(2));\n            translatedStats[translatedKey] = rounded_percentage;\n          }\n        }\n      }\n    });\n    return translatedStats;\n  },\n};\n","import EmailTemplate from 'embercom/models/email-template';\nimport DOMPurify from 'dompurify';\n\nconst PERSONALIZED_TEMPLATES = ['personal', 'plain'];\nconst PERSONALIZED_SAMPLE_CONTENT = `\n  <p>Hey Josh,</p>\n  <p>Daniel here from ProjectMap.</p>\n  <p>I’m just dropping you a line to see how ProjectMap is working out for you.</p>\n  <p>If you have any questions about the product, or any feedback, just reply and let us know. We’re always here to help.</p>\n  <p>Thanks,<br>Daniel</p>`;\nconst SAMPLE_CONTENT = `<h1>Let’s get you started</h1><p>Did you know that creating a report in <a href=\"#\">ProjectMap</a> only takes a few minutes? They’re excellent for visualizing how individual projects are performing, along with identifying which team members are hitting or missing deadlines.</p><div class=\"intercom-container intercom-align-left\"><a href=\"#\" class=\"intercom-h2b-button\">Try it now</a></div><p>If you have any questions, we’re always here to help.</p><p>Happy reporting<br />Josh</p>`;\n\nfunction cleanedHtml(html) {\n  return DOMPurify.sanitize(html, { WHOLE_DOCUMENT: true });\n}\n\nfunction getDefaultSampleContent(id) {\n  return PERSONALIZED_TEMPLATES.includes(id) ? PERSONALIZED_SAMPLE_CONTENT : SAMPLE_CONTENT;\n}\n\nfunction replaceWidgetPlaceholders(html, renderedWidgets) {\n  EmailTemplate.widgets().forEach(function(widget) {\n    html = html.replace(new RegExp(`\\\\{{widget.${widget.name}}}`), renderedWidgets[widget.name]);\n  });\n  return html;\n}\n\nfunction replaceContentPlaceholder(html, sampleContent) {\n  return html.replace(/\\{\\{\\s*content\\s*\\}\\}/i, sampleContent);\n}\n\nfunction addAppStyles(html, color) {\n  let style = `<style>\n    a.intercom-h2b-button { background-color: ${color} !important; }\n    .comment_header_td { background-color: ${color} !important; }\n    .announcement h1 { color: ${color} !important;}\n  body { overflow: hidden !important; }\n  // make the company template logo display on the left so it's still easy to distinguish from annoucement\n  @media screen and (max-width: 595px) { .company .header td { text-align: left !important;}}\n    </style>`;\n  return html.replace(/<\\/body>/i, `${style}</body>`);\n}\n\nexport default function renderEmailTemplate(context) {\n  let processedHtml = cleanedHtml(context.template);\n  processedHtml = replaceWidgetPlaceholders(processedHtml, context.renderedWidgets);\n  processedHtml = replaceContentPlaceholder(\n    processedHtml,\n    context.content || getDefaultSampleContent(context.id),\n  );\n  processedHtml = addAppStyles(processedHtml, context.color);\n  return processedHtml;\n}\n","export default {\n  opened: 'opened',\n  clicked: 'has_click',\n  bounced: 'has_bounce',\n  unsubscribed: 'has_unsubscribe',\n  replied: 'has_reply',\n  responded: 'has_response',\n  reactions: 'has_response',\n  goal: 'has_goal_success',\n  failed: 'has_failed',\n  complained: 'has_complained',\n  reaction: 'reaction_index',\n  collected: 'has_attribute_collector_reply',\n  pending: 'pending',\n};\n","// Map 'models/messages/summary-conversation' PROPERTY to HEADER_NAME\nconst COLUMNS = {\n  'user.email': 'Email',\n  sentAt: 'Sent',\n  bouncedAt: 'Bounced',\n  openedAt: 'Opened',\n  clickedAt: 'Clicked',\n  linksClickedCount: 'Links Clicked',\n  collectedAt: 'Collected',\n  repliedAt: 'Replied',\n  complainedAt: 'Marked spam',\n  unsubscribedAt: 'Unsubscribed',\n  hitGoalAt: 'Hit Goal',\n  respondedAt: 'Responded',\n  respondedWith: 'Responded With',\n};\n\nfunction Row(...properties) {\n  this.headers = [];\n  this.columns = [];\n\n  properties.forEach(modelProperty => {\n    let headerName = COLUMNS[modelProperty];\n    // Verify property integrity\n    if (typeof headerName !== 'undefined') {\n      this.columns.push(modelProperty);\n      this.headers.push(headerName);\n    }\n  });\n}\n\nconst STATS_MAP = {\n  bounced: new Row('user.email', 'sentAt', 'bouncedAt'),\n  complained: new Row('sentAt', 'openedAt', 'hitGoalAt', 'clickedAt', 'repliedAt', 'complainedAt'),\n  unsubscribed: new Row(\n    'sentAt',\n    'openedAt',\n    'hitGoalAt',\n    'clickedAt',\n    'repliedAt',\n    'unsubscribedAt',\n  ),\n  failed: new Row(\n    'sentAt',\n    'openedAt',\n    'hitGoalAt',\n    'clickedAt',\n    'repliedAt',\n    'unsubscribedAt',\n    'bouncedAt',\n    'complainedAt',\n  ),\n  goal: new Row('sentAt', 'openedAt', 'hitGoalAt', 'clickedAt', 'repliedAt'),\n  collected: new Row('sentAt', 'openedAt', 'hitGoalAt', 'clickedAt', 'collectedAt', 'repliedAt'),\n  clicked: new Row('sentAt', 'openedAt', 'hitGoalAt', 'clickedAt', 'repliedAt'),\n};\n\nconst VARIATIONS_MAP = {\n  reactions: new Row(\n    'sentAt',\n    'openedAt',\n    'hitGoalAt',\n    'clickedAt',\n    'respondedAt',\n    'respondedWith',\n  ),\n  push: new Row('sentAt', 'openedAt'),\n};\n\nconst STANDARD_ROW = new Row('sentAt', 'openedAt', 'hitGoalAt', 'clickedAt', 'repliedAt');\n\nexport default {\n  getHeadersForStat(statistic) {\n    return STATS_MAP[statistic] ? STATS_MAP[statistic].headers : null;\n  },\n  getColumnsForStat(statistic) {\n    return STATS_MAP[statistic] ? STATS_MAP[statistic].columns : null;\n  },\n  getHeadersForStatWithBetterClickDataFF(statistic) {\n    if (statistic === 'clicked') {\n      return new Row(\n        'sentAt',\n        'openedAt',\n        'hitGoalAt',\n        'clickedAt',\n        'linksClickedCount',\n        'repliedAt',\n      ).headers;\n    }\n    return STATS_MAP[statistic] ? STATS_MAP[statistic].headers : null;\n  },\n  getColumnsForStatWithBetterClickDataFF(statistic) {\n    if (statistic === 'clicked') {\n      return new Row(\n        'sentAt',\n        'openedAt',\n        'hitGoalAt',\n        'clickedAt',\n        'linksClickedCount',\n        'repliedAt',\n      ).columns;\n    }\n    return STATS_MAP[statistic] ? STATS_MAP[statistic].columns : null;\n  },\n  getHeadersForVariation(variation) {\n    return VARIATIONS_MAP[variation] ? VARIATIONS_MAP[variation].headers : null;\n  },\n  getColumnsForVariation(variation) {\n    return VARIATIONS_MAP[variation] ? VARIATIONS_MAP[variation].columns : null;\n  },\n  getStandardHeaders() {\n    return STANDARD_ROW.headers;\n  },\n  getStandardColumns() {\n    return STANDARD_ROW.columns;\n  },\n  getHeadersForControlGroup(statistic) {\n    if (statistic === 'goal') {\n      return ['Joined', COLUMNS.hitGoalAt];\n    }\n    return ['Joined'];\n  },\n  getColumnsForControlGroup(statistic) {\n    if (statistic === 'goal') {\n      return ['sentAt', 'hitGoalAt'];\n    }\n    return ['sentAt'];\n  },\n  filterGoalHeaderFromHeaders(headers) {\n    return headers.filter(header => header !== COLUMNS.hitGoalAt);\n  },\n  filterGoalColumnFromColumns(columns) {\n    return columns.filter(column => column !== `hitGoalAt`);\n  },\n};\n","export function controlGroupDeleteSuccess() {\n  return `Control group deleted`;\n}\n\nexport function controlGroupDeleteFailure() {\n  return `We couldn't delete the control group. Send us a message and we'll do our best to help out.`;\n}\n\nexport function controlGroupDeleteOptions() {\n  return {\n    title: `Remove control group`,\n    body: `This will delete all the statistics associated with your control group. The people who were in your control group will not receive the message.`,\n    confirmButtonText: `Remove control group`,\n  };\n}\n","import pluralize from 'embercom/lib/inflector';\n\nexport function controlGroupEndSuccess() {\n  return `Control group test ended`;\n}\n\nexport function controlGroupEndFailure() {\n  return `We couldn't end the control group test. Send us a message and we'll do our best to help out.`;\n}\n\nexport function controlGroupEndOptions(controlGroup) {\n  let sentCount = controlGroup.get('stats.sentCount');\n  let pluralizedPerson = pluralize('person', sentCount);\n  let pluralizedWas = pluralize('was', sentCount);\n\n  let displaySentCount = controlGroup.get('stats.displaySentCount');\n  let audienceExplanation =\n    sentCount === 0\n      ? ''\n      : ` The ${displaySentCount} ${pluralizedPerson} who ${pluralizedWas} in your control group will not receive the message.`;\n  return {\n    title: `End control group test`,\n    body: `Going forward, your message will send to 100% of your selected audience.${audienceExplanation}`,\n    confirmButtonText: `End test`,\n  };\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport numberFormatter from 'embercom/lib/number-formatter';\nimport userLabel from '../utility/user-label';\n\nfunction checkForWarning(message) {\n  if (message.isMobilePush) {\n    let app = message.app;\n    let hasProductionCerts = app.iosSdkApps.every(sdk => sdk.productionCert);\n\n    if (!hasProductionCerts) {\n      return `You are not using a Production iOS push notification certificate for ${app.name}. This message may not send a push notification.`;\n    }\n  }\n\n  return '';\n}\n\nlet optionsForManualMessage = function(message) {\n  return message.fetchServerRecipientCount().then(count => {\n    if (message.get('isManualMessage') && message.get('selectionState.hasNoUserAddedPredicates')) {\n      return {\n        title: `Send to all your ${userLabel(message)}?`,\n        warning: checkForWarning(message),\n        body: `You haven't added any audience rules, so this message will send to all ${count} ${userLabel(\n          message,\n          { count },\n        )} in your app.`,\n        confirmButtonText: `Send to all ${numberFormatter(count)} ${userLabel(message, { count })}`,\n        cancelButtonText: 'Go back',\n      };\n    } else {\n      return {\n        title: `Sending the message`,\n        warning: checkForWarning(message),\n        body: `You are about to send this message to ${numberFormatter(count)} ${userLabel(\n          message,\n          { count },\n        )}. Do you wish to continue?`,\n        confirmButtonText: `Send the message`,\n      };\n    }\n  });\n};\n\nlet optionsForAutoMessage = function(message) {\n  if (message.get('isDraft')) {\n    return message.fetchServerRecipientCount().then(count => {\n      if (message.get('hasControlGroup')) {\n        return {\n          title: `Set this message live`,\n          warning: checkForWarning(message), // TODO update bodyComponentVersion also...\n          bodyComponentName:\n            'message-editor/confirmation-copy/control-group-auto-message-activate-confirm-text',\n          confirmContext: { count },\n          confirmButtonText: `Set the message live`,\n        };\n      } else {\n        return {\n          title: `Setting the message live`,\n          warning: checkForWarning(message),\n          body: `You are about to make this message live and send to ${numberFormatter(\n            count,\n          )} ${userLabel(message, {\n            count,\n          })} who match the message filters. We'll also send to ${userLabel(\n            message,\n          )} who enter the audience. Do you wish to continue?`,\n          confirmButtonText: `Set the message live`,\n        };\n      }\n    });\n  } else {\n    return {\n      title: `Setting the message live`,\n      warning: checkForWarning(message),\n      body: `You are about to make this message live and send to ${userLabel(\n        message,\n      )} who match the message filters. ${userLabel(message, {\n        capitalize: true,\n      })} who received this message previously will not receive it again. Do you wish to continue?`,\n      confirmButtonText: `Set the message live`,\n    };\n  }\n};\n\nlet optionsForVisitorAutoMessage = function(message) {\n  if (message.get('hasControlGroup')) {\n    return {\n      title: `Set this message live`,\n      warning: checkForWarning(message),\n      bodyComponentName:\n        'message-editor/confirmation-copy/control-group-visitor-auto-message-activate-confirm-text',\n      confirmButtonText: `Set the message live`,\n    };\n  } else {\n    return {\n      title: `Setting the message live`,\n      warning: checkForWarning(message),\n      body: `You are about to make this message live and send to ${userLabel(\n        message,\n      )} who match the message filters. Do you wish to continue?`,\n      confirmButtonText: `Set the message live`,\n    };\n  }\n};\n\nlet optionsForCampaignAutoMessage = function(message) {\n  return {\n    title: `Setting the message live`,\n    warning: checkForWarning(message),\n    body: `You are about to make this message live and send to ${userLabel(\n      message,\n    )} in the campaign who match the message filters. Do you wish to continue?`,\n    confirmButtonText: `Set the message live`,\n  };\n};\n\nexport function messageActivateSuccess(message) {\n  if (message.get('isManualMessage')) {\n    return `The message is sending`;\n  } else {\n    return `The message was set live`;\n  }\n}\n\nexport function messageActivateFailure(message) {\n  if (message.get('isManualMessage')) {\n    return `We couldn't send this message. Send us a message and we'll do our best to help out.`;\n  } else {\n    return `We couldn't set this message live. Send us a message and we'll do our best to help out.`;\n  }\n}\n\nexport function messageActivateOptions(message) {\n  if (message.get('isAutoMessage')) {\n    return optionsForAutoMessage(message);\n  } else if (message.get('isVisitorAutoMessage')) {\n    return optionsForVisitorAutoMessage(message);\n  } else if (message.get('isCampaignMessage')) {\n    return optionsForCampaignAutoMessage(message);\n  } else if (message.get('isManualMessage')) {\n    return optionsForManualMessage(message);\n  } else {\n    throw new Error(\n      `Cannot generate activation options for unknown message type: [${message.get('classType')}]`,\n    );\n  }\n}\n","export function messageControlGroupCreateSuccess() {\n  return `Control group created`;\n}\n\nexport function messageControlGroupCreateFailure() {\n  return `We couldn't create the control group. Send us a message and we'll do our best to help out.`;\n}\n","export function messageDeactivateSuccess(message) {\n  if (message.get('isManualMessage')) {\n    return `The message was stopped.`;\n  } else {\n    return `The message was paused.`;\n  }\n}\n\nexport function messageDeactivateFailure(message) {\n  if (message.get('isManualMessage')) {\n    return `We couldn't stop this message. Send us a message and we'll do our best to help out.`;\n  } else {\n    return `We couldn't pause this message. Send us a message and we'll do our best to help out.`;\n  }\n}\n","export function messageDeleteSuccess() {\n  return `The message was deleted`;\n}\n\nexport function messageDeleteFailure() {\n  return `We couldn't delete this message. Send us a message and we'll do our best to help out.`;\n}\n\nexport function messageDeleteOptions(message) {\n  let body;\n  let confirmButtonText = 'Delete';\n  let title = 'Delete this message?';\n  let primaryButtonType = 'primary-destructive';\n  if (message.get('isDraft')) {\n    body = 'Are you sure you want to delete this draft message? This is permanent.';\n  } else {\n    body =\n      'This deletes the message from Intercom and the Messenger. Any conversations it started will still be visible in the Inbox to teammates and included in reports.';\n  }\n  return { title, body, confirmButtonText, primaryButtonType };\n}\n","export function messageDuplicateSuccess() {\n  return `Your message was successfully duplicated.`;\n}\n\nexport function messageDuplicateFailure() {\n  return `We couldn't duplicate your message. Send us a message and we'll do our best to help out.`;\n}\n","function getPreposition(isRemoving) {\n  return isRemoving ? 'from' : 'to';\n}\n\nexport function messageMoveSuccess(model, params) {\n  return `Successfully moved your message ${getPreposition(params.isRemoving)} '${params.name}'`;\n}\n\nexport function messageMoveFailure(model, params) {\n  return `Couldn't move your message ${getPreposition(params.isRemoving)} '${\n    params.name\n  }'. Send us a message and we'll do our best to help out.`;\n}\n","export function messageRemoveScheduleSuccess() {\n  return `Your message is no longer scheduled to send.`;\n}\n\nexport function messageRemoveScheduleFailure() {\n  return `We couldn't remove the schedule date. Send us a message and we'll do our best to help out.`;\n}\n","export function messageSaveSuccess(message) {\n  if (message.get('isLive')) {\n    return `Your message has been updated.`;\n  } else {\n    return `Your message has been saved as a draft.`;\n  }\n}\n\nexport function messageSaveFailure() {\n  return `We could not save your message.`;\n}\n\nexport function messageSaveOptions(message) {\n  if (message.get('isLive')) {\n    let title = `This message is live`;\n    let confirmButtonText = `Save`;\n    let body = `Are you sure you want to save your changes? Any changes that you have made will be visible to your customers from now on.`;\n    return { title, body, confirmButtonText };\n  } else {\n    return { notRequired: true };\n  }\n}\n","import moment from 'moment';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\n\nexport function messageScheduleSuccess(message, params) {\n  let formattedDateAndTime = moment\n    .tz(params.send_at, message.get('app.timezone'))\n    .format(dateAndTimeFormats.fullDateAndTimeWithoutTimezoneWithDayName);\n  return `Your message is scheduled to send at ${formattedDateAndTime}.`;\n}\n\nexport function messageScheduleFailure() {\n  return `We couldn't schedule the message. Send us a message and we'll do our best to help out.`;\n}\n","export function messageStartABTestSuccess() {\n  return `The B version of your message was created`;\n}\n\nexport function messageStartABTestFailure() {\n  return `We couldn't create the B version of your message. Send us a message and we'll do our best to help out.`;\n}\n","import inflector from 'embercom/lib/inflector';\n\nexport function messageStopSuccess() {\n  return `Your message has been stopped`;\n}\n\nexport function messageStopFailure() {\n  return `We couldn't stop your message. Send us a message and we'll do our best to help out.`;\n}\n\nexport function messageStopOptions(message) {\n  let title = `Stop this manual message`;\n  let confirmButtonText = `Stop the message`;\n  let remainingSendCount = message.get('remainingSendCount');\n  let userLabel = inflector(message.get('userTypeLabel'), remainingSendCount);\n  let body = `If you stop the message now, ${remainingSendCount} ${userLabel} won't see it because they haven't used your app since you sent the message. This can't be undone.`;\n  return { title, body, confirmButtonText };\n}\n","export function variationActivateSuccess(variation) {\n  return `Version ${variation.get('label')} of your message is now live.`;\n}\n\nexport function variationActivateFailure(variation) {\n  return `We couldn't set Version ${variation.get(\n    'label',\n  )} live. Send us a message and we'll do our best to help out.`;\n}\n\nexport function variationActivateOptions(variation) {\n  return {\n    title: `Set version live`,\n    body: `You are about to set Version ${variation.get('label')} live.`,\n    confirmButtonText: `Set Version ${variation.get('label')} live`,\n  };\n}\n","export function variationDeactivateSuccess(variation) {\n  return `Version ${variation.get('label')} of your message is now paused.`;\n}\n\nexport function variationDeactivateFailure(variation) {\n  return `We couldn't pause Version ${variation.get(\n    'label',\n  )}. Send us a message and we'll do our best to help out.`;\n}\n","export function variationDeleteSuccess(variation) {\n  return `Version ${variation.get('label')} deleted`;\n}\n\nexport function variationDeleteFailure(variation) {\n  return `We couldn't delete version ${variation.get(\n    'label',\n  )}. Send us a message and we'll do our best to help out.`;\n}\n\nexport function variationDeleteOptions(variation) {\n  return {\n    title: `Delete version ${variation.get('label')}`,\n    body: `By deleting version ${variation.get(\n      'label',\n    )} you will also delete all the statistics associated with this version. Users who received this version will not get this message again. Are you sure you want to delete version ${variation.get(\n      'label',\n    )}?`,\n    confirmButtonText: 'Delete',\n    primaryButtonType: 'primary-destructive',\n  };\n}\n","export function variationGenerateHtmlPreviewFailure() {\n  return `We couldn't generate a preview for your email. Send us a message and we'll do our best to help out.`;\n}\n","import { assert } from '@ember/debug';\nimport { hash } from 'rsvp';\nimport {\n  controlGroupDeleteFailure,\n  controlGroupDeleteOptions,\n  controlGroupDeleteSuccess,\n} from './actions/control-group-delete';\nimport {\n  controlGroupEndFailure,\n  controlGroupEndOptions,\n  controlGroupEndSuccess,\n} from './actions/control-group-end';\nimport {\n  messageActivateFailure,\n  messageActivateOptions,\n  messageActivateSuccess,\n} from './actions/message-activate';\nimport {\n  messageControlGroupCreateFailure,\n  messageControlGroupCreateSuccess,\n} from './actions/message-control-group-create';\nimport { messageDeactivateFailure, messageDeactivateSuccess } from './actions/message-deactivate';\nimport {\n  messageDeleteFailure,\n  messageDeleteOptions,\n  messageDeleteSuccess,\n} from './actions/message-delete';\nimport { messageDuplicateFailure, messageDuplicateSuccess } from './actions/message-duplicate';\nimport { messageMoveFailure, messageMoveSuccess } from './actions/message-move';\nimport {\n  messageRemoveScheduleFailure,\n  messageRemoveScheduleSuccess,\n} from './actions/message-remove-schedule';\nimport { messageSaveFailure, messageSaveOptions, messageSaveSuccess } from './actions/message-save';\nimport { messageScheduleFailure, messageScheduleSuccess } from './actions/message-schedule';\nimport {\n  messageStartABTestFailure,\n  messageStartABTestSuccess,\n} from './actions/message-start-ab-test-helpers';\nimport { messageStopFailure, messageStopOptions, messageStopSuccess } from './actions/message-stop';\nimport {\n  variationActivateFailure,\n  variationActivateOptions,\n  variationActivateSuccess,\n} from './actions/variation-activate';\nimport {\n  variationDeactivateFailure,\n  variationDeactivateSuccess,\n} from './actions/variation-deactivate';\nimport {\n  variationDeleteFailure,\n  variationDeleteOptions,\n  variationDeleteSuccess,\n} from './actions/variation-delete';\nimport { variationGenerateHtmlPreviewFailure } from './actions/variation-generate-html-preview';\n/*\nHOW DO I ADD A NEW API CALL AND USE THIS LIB?\n\nAdd the api call as a promise to the message or variation model.\nE.g. `activate` or `schedule` etc.\n\nAdd a new task to the controller and call the `_restTask` with the name of the action,\nthe model you're calling the action on, and the name of the promise you're calling\n(in case it's different from the action name).\n\nFor example\n```javascript\nschedule: task(function * () {\n  let message = this.get('message');\n  this.get('_restTask').perform({ action: 'schedule', model: message, promise: 'schedule' }, { sampleParam: 'test' });\n}).group('messageActions')\n```\n\nYou'll also need to add this action to the UI Text generator.\nTo do this you'll add a new set of generator functions to `lib/messages/ui/actions`, e.g. `schedule-message`.\n\nThis should expose three functions:\n* `scheduleMessageSuccess` - The text we show in `notifyConfirmation`.\n* `scheduleMessageFailure` - The text we show in `notifyError`.\n* `scheduleMessageOptions` - The confirmation options we use for `intercomConfirm`. If a confirmation is not required, we should explicitly return a hash with that specified: `{ notRequired: true }`\n\nImport these functions into `lib/messages/ui/text-generator` and add them to the relevant case statement, e.g:\n\n```javascript\n let getSuccessMessageForMessageAction = function(action, message, params) {\n   switch (action) {\n     case 'activate': return messageActivateSuccess(message, params);\n     case 'deactivate': return messageDeactivateSuccess(message, params);\n     case 'schedule': return messageScheduleSuccess(message, params);\n   }\n };\n```\n\nThen write some specs to ensure your messages are correct!\n*/\n\n/****** Message Action Generators ******/\n\nlet getSuccessMessageForMessageAction = function(action, message, params) {\n  switch (action) {\n    case 'activate':\n      return messageActivateSuccess(message, params);\n    case 'deactivate':\n      return messageDeactivateSuccess(message, params);\n    case 'delete':\n      return messageDeleteSuccess(message, params);\n    case 'move':\n      return messageMoveSuccess(message, params);\n    case 'stop':\n      return messageStopSuccess(message, params);\n    case 'duplicate':\n      return messageDuplicateSuccess(message, params);\n    case 'schedule':\n      return messageScheduleSuccess(message, params);\n    case 'removeSchedule':\n      return messageRemoveScheduleSuccess(message, params);\n    case 'save':\n      return messageSaveSuccess(message, params);\n    case 'autoSave':\n      return null;\n    case 'startABTest':\n      return messageStartABTestSuccess(message, params);\n    case 'createControlGroup':\n      return messageControlGroupCreateSuccess(message, params);\n    case 'changeSubclassType':\n      return null;\n  }\n};\n\nlet getFailureMessageForMessageAction = function(action, message, params) {\n  switch (action) {\n    case 'activate':\n      return messageActivateFailure(message, params);\n    case 'deactivate':\n      return messageDeactivateFailure(message, params);\n    case 'delete':\n      return messageDeleteFailure(message, params);\n    case 'move':\n      return messageMoveFailure(message, params);\n    case 'stop':\n      return messageStopFailure(message, params);\n    case 'duplicate':\n      return messageDuplicateFailure(message, params);\n    case 'schedule':\n      return messageScheduleFailure(message, params);\n    case 'removeSchedule':\n      return messageRemoveScheduleFailure(message, params);\n    case 'save':\n      return messageSaveFailure(message, params);\n    case 'autoSave':\n      return messageSaveFailure(message, params);\n    case 'startABTest':\n      return messageStartABTestFailure(message, params);\n    case 'createControlGroup':\n      return messageControlGroupCreateFailure(message, params);\n    case 'changeSubclassType':\n      return null;\n  }\n};\n\nlet getConfirmOptionsForMessageAction = function(action, message, params) {\n  switch (action) {\n    case 'activate':\n      return messageActivateOptions(message, params);\n    case 'deactivate':\n      return { notRequired: true };\n    case 'delete':\n      return messageDeleteOptions(message, params);\n    case 'move':\n      return { notRequired: true };\n    case 'stop':\n      return messageStopOptions(message, params);\n    case 'duplicate':\n      return { notRequired: true };\n    case 'schedule':\n      return { notRequired: true };\n    case 'removeSchedule':\n      return { notRequired: true };\n    case 'save':\n      return messageSaveOptions(message, params);\n    case 'autoSave':\n      return messageSaveOptions(message, params);\n    case 'startABTest':\n      return { notRequired: true };\n    case 'createControlGroup':\n      return { notRequired: true };\n    case 'changeSubclassType':\n      return { notRequired: true };\n  }\n};\n\n/****** Variation Action Generators ******/\n\nlet getSuccessMessageForVariationAction = function(action, variation, params) {\n  switch (action) {\n    case 'activate':\n      return variationActivateSuccess(variation, params);\n    case 'deactivate':\n      return variationDeactivateSuccess(variation, params);\n    case 'delete':\n      return variationDeleteSuccess(variation, params);\n    case 'generateHtmlPreview':\n      return null;\n  }\n};\n\nlet getFailureMessageForVariationAction = function(action, variation, params) {\n  switch (action) {\n    case 'activate':\n      return variationActivateFailure(variation, params);\n    case 'deactivate':\n      return variationDeactivateFailure(variation, params);\n    case 'delete':\n      return variationDeleteFailure(variation, params);\n    case 'generateHtmlPreview':\n      return variationGenerateHtmlPreviewFailure(variation, params);\n  }\n};\n\nlet getConfirmOptionsForVariationAction = function(action, variation, params) {\n  switch (action) {\n    case 'activate':\n      return variationActivateOptions(variation, params);\n    case 'deactivate':\n      return { notRequired: true };\n    case 'delete':\n      return variationDeleteOptions(variation, params);\n    case 'generateHtmlPreview':\n      return { notRequired: true };\n  }\n};\n\nlet getSuccessMessageForControlGroupAction = function(action, variation, params) {\n  switch (action) {\n    case 'delete':\n      return controlGroupDeleteSuccess();\n    case 'end':\n      return controlGroupEndSuccess();\n  }\n};\n\nlet getFailureMessageForControlGroupAction = function(action) {\n  switch (action) {\n    case 'delete':\n      return controlGroupDeleteFailure();\n    case 'end':\n      return controlGroupEndFailure();\n  }\n};\n\nlet getConfirmOptionsForControlGroupAction = function(action, controlGroup) {\n  switch (action) {\n    case 'delete':\n      return controlGroupDeleteOptions();\n    case 'end':\n      return controlGroupEndOptions(controlGroup);\n  }\n};\n\nlet generateForMessage = function(action, message, params) {\n  return hash({\n    success: getSuccessMessageForMessageAction(action, message, params),\n    failure: getFailureMessageForMessageAction(action, message, params),\n    confirm: getConfirmOptionsForMessageAction(action, message, params),\n  });\n};\n\nlet generateForVariation = function(action, variation, params) {\n  return hash({\n    success: getSuccessMessageForVariationAction(action, variation, params),\n    failure: getFailureMessageForVariationAction(action, variation, params),\n    confirm: getConfirmOptionsForVariationAction(action, variation, params),\n  });\n};\n\nlet generateForControlGroup = function(action, controlGroup) {\n  return hash({\n    success: getSuccessMessageForControlGroupAction(action),\n    failure: getFailureMessageForControlGroupAction(action),\n    confirm: getConfirmOptionsForControlGroupAction(action, controlGroup),\n  });\n};\n\nexport default function(action, model, params) {\n  if (typeof model === 'undefined') {\n    throw new Error('Message or Variation must be passed in to generate messages.');\n  }\n  // `model` is either a message or a variation's message, see https://github.com/intercom/intercom/issues/63344\n  // or a control group\n  let modelName = model.constructor.modelName || model.content.constructor.modelName;\n  switch (modelName) {\n    case 'message':\n      return generateForMessage(action, model, params);\n    case 'message-variation':\n      return generateForVariation(action, model, params);\n    case 'messages/control-group':\n      return generateForControlGroup(action, model);\n  }\n  assert(`Invalid model name received${modelName}`);\n}\n","import pluralize from 'embercom/lib/inflector';\n\nexport default function(message, options = {}) {\n  let count = options.count || 0;\n  let userLabels = message\n    .get('selectionState.userTypes')\n    .map(userLabel => pluralize(userLabel, count))\n    .join(' and ');\n  if (options.capitalize) {\n    userLabels = userLabels.capitalize();\n  }\n  return userLabels;\n}\n","export const DEFAULT_MESSENGER_COLORS = [\n  '#2392EC',\n  '#546270',\n  '#F06192',\n  '#FF6666',\n  '#3F51B5',\n  '#0AA89A',\n  '#00ACC1',\n];\n","export const INSTALL_TYPE = Object.freeze({\n  CODE: 'code',\n  THIRD_PARTY: 'thirdParty',\n  GOOGLE_TAG_MANAGER: 'googleTagManager',\n});\n\nexport const AUDIENCE = Object.freeze({\n  LOGGED_OUT: 'logged-out',\n  LOGGED_IN: 'logged-in',\n});\n\nexport const INSTALL_METHODS = Object.freeze({\n  JAVASCRIPT: {\n    text: 'Basic JavaScript',\n    value: 'javascript',\n  },\n  SINGLE_PAGE: {\n    text: 'Single-page apps',\n    value: 'single-page',\n  },\n  RAILS: {\n    text: 'Rails gem',\n    value: 'rails',\n  },\n  IOS: {\n    text: 'iOS',\n    value: 'ios',\n  },\n  ANDROID: {\n    text: 'Android',\n    value: 'android',\n  },\n  CORDOVA: {\n    text: 'Cordova/PhoneGap',\n    value: 'cordova',\n  },\n  SEGMENT: {\n    text: 'Segment',\n    value: 'segment',\n  },\n  WORDPRESS: {\n    text: 'Wordpress',\n    value: 'wordpress',\n  },\n  SHOPIFY: {\n    text: 'Shopify',\n    value: 'shopify',\n  },\n  GOOGLE_TAG_MANAGER: {\n    text: 'Google Tag Manager',\n    value: 'google-tag-manager',\n  },\n});\n\nexport const LOGGED_IN_CODE_DROPDOWN_ITEMS = [\n  INSTALL_METHODS.JAVASCRIPT,\n  INSTALL_METHODS.SINGLE_PAGE,\n  INSTALL_METHODS.RAILS,\n  INSTALL_METHODS.IOS,\n  INSTALL_METHODS.ANDROID,\n  INSTALL_METHODS.CORDOVA,\n];\n\nexport const LOGGED_OUT_CODE_DROPDOWN_ITEMS = [\n  INSTALL_METHODS.JAVASCRIPT,\n  INSTALL_METHODS.SINGLE_PAGE,\n  INSTALL_METHODS.RAILS,\n];\n\nexport const THIRD_PARTY_DROPDOWN_ITEMS = [\n  INSTALL_METHODS.GOOGLE_TAG_MANAGER,\n  INSTALL_METHODS.SEGMENT,\n  INSTALL_METHODS.WORDPRESS,\n  INSTALL_METHODS.SHOPIFY,\n];\n\nexport const INSTALL_METHOD_ANALYTICS_NAMES = Object.freeze({\n  javascript: 'basic_javascript',\n  'single-page': 'single_page_apps',\n  rails: 'rails_gem',\n  android: 'android',\n  ios: 'ios',\n  cordova: 'cordova_phonegap',\n  segment: 'segment',\n  wordpress: 'wordpress',\n  shopify: 'shopify',\n  'google-tag-manager': 'google_tag_manager',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport ajax from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\n\nexport const VerificationKeys = Object.freeze({\n  ANY_PING: Symbol('ANY_PING'),\n  LOGGED_OUT: Symbol('LOGGED_OUT'),\n  LOGGED_IN: Symbol('LOGGED_IN'),\n});\n\nlet MessengerVerification = EmberObject.extend({\n  appId: null,\n\n  verifyAnyPing(source) {\n    return ajax({\n      url: `/ember/messenger_install_verification/verify_any_ping`,\n      type: 'GET',\n      contentType: 'application/json',\n      data: {\n        app_id: this.appId,\n        source,\n      },\n    });\n  },\n\n  verifyLoggedOutInstall(source) {\n    return ajax({\n      url: `/ember/messenger_install_verification/verify_logged_out_install`,\n      type: 'GET',\n      contentType: 'application/json',\n      data: {\n        app_id: this.appId,\n        source,\n      },\n    });\n  },\n\n  verifyLoggedInInstall(source) {\n    return ajax({\n      url: `/ember/messenger_install_verification/verify_logged_in_install`,\n      type: 'GET',\n      contentType: 'application/json',\n      data: {\n        app_id: this.appId,\n        source,\n      },\n    });\n  },\n\n  convertUserSource(source) {\n    if (source === 'single-page') {\n      return 'single_page';\n    } else if (source === 'google-tag-manager') {\n      return 'google_tag_manager';\n    } else {\n      return source;\n    }\n  },\n\n  checkInstall: task(function*(verificationKey, userSourceKey) {\n    userSourceKey = this.convertUserSource(userSourceKey);\n\n    switch (verificationKey) {\n      case VerificationKeys.ANY_PING:\n        return yield this.verifyAnyPing(userSourceKey);\n      case VerificationKeys.LOGGED_OUT:\n        return yield this.verifyLoggedOutInstall(userSourceKey);\n      case VerificationKeys.LOGGED_IN:\n        return yield this.verifyLoggedInInstall(userSourceKey);\n      default:\n        return yield this.verifyAnyPing(userSourceKey);\n    }\n  }),\n});\n\nexport default MessengerVerification;\n","let MetaTags = {};\n\nMetaTags.buildMetaTag = function(name, content) {\n  return {\n    type: 'meta',\n    tagId: `${name}-meta-tag`,\n    attrs: { name, content },\n  };\n};\n\nMetaTags.buildLinkTag = function(rel, href) {\n  return {\n    type: 'link',\n    tagId: `${rel}-link-tag`,\n    attrs: { rel, href },\n  };\n};\n\nMetaTags.buildOpenGraphTag = function(property, content) {\n  return {\n    type: 'meta',\n    tagId: `og:${property}-meta-tag`,\n    attrs: {\n      property: `og:${property}`,\n      content,\n    },\n  };\n};\n\nMetaTags.buildTwitterTag = function(name, content) {\n  return this.buildMetaTag(`twitter:${name}`, content);\n};\n\nexport default MetaTags;\n","import { isNone } from '@ember/utils';\nimport storage from 'embercom/vendor/intercom/storage';\n\nexport default {\n  // Visible for testing\n  windowLocation() {\n    return window.location.href;\n  },\n\n  isEnabled() {\n    if (\n      isNone(window.__embercom_boot_data) ||\n      isNone(window.__embercom_boot_data.model_cache_fingerprints) ||\n      window.__embercom_boot_data?.cache_disabled\n    ) {\n      return false;\n    }\n    return !this.windowLocation().includes('disablecache=true');\n  },\n\n  adminModelFingerprint() {\n    if (this.isEnabled()) {\n      return window.__embercom_boot_data?.model_cache_fingerprints?.admin;\n    } else {\n      return 'admin';\n    }\n  },\n\n  appModelFingerprint() {\n    if (this.isEnabled()) {\n      return window.__embercom_boot_data?.model_cache_fingerprints?.app;\n    } else {\n      return 'app';\n    }\n  },\n\n  isDisabled() {\n    return !this.isEnabled();\n  },\n\n  shouldClearCache() {\n    return this.windowLocation().includes('clearcache=true');\n  },\n\n  loggingEnabled() {\n    return Boolean(storage.get('modelCacheLogging'));\n  },\n};\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport ajax from 'embercom/lib/ajax';\n\nlet nonconcurrentAjax = function(target, options) {\n  if (target.xhr && target.xhr.readyState !== 4) {\n    target.xhr.abort();\n  }\n  return ajax(\n    $.extend(\n      {\n        beforeSend(xhr) {\n          target.xhr = xhr;\n        },\n      },\n      options,\n    ),\n  );\n};\n\nexport default nonconcurrentAjax;\n","let numberFormatter = function(value) {\n  if (!value) {\n    return '0';\n  }\n  if (value < 1000) {\n    return value.toString();\n  }\n  let parts = value.toString().split('.');\n  parts[0] = parts[0].replace(/\\B(?=(\\d{3})+(?!\\d))/g, ',');\n  return parts.join('.');\n};\n\nexport default numberFormatter;\n\nexport function truncatedNumberFormatter(value) {\n  if (value > 999999) {\n    return `${Math.round(Math.floor(value / 1000000))}M+`;\n  } else if (value > 9999) {\n    return `${Math.round(Math.floor(value / 1000))}K+`;\n  }\n  return numberFormatter(value);\n}\n\nexport function reportingTruncatedNumberFormatter(value) {\n  if (value >= 1000000000) {\n    return `${(value / 1000000000).toFixed(1).replace(/\\.0$/, '')}G`;\n  } else if (value >= 1000000) {\n    return `${(value / 1000000).toFixed(1).replace(/\\.0$/, '')}M`;\n  } else if (value >= 1000) {\n    return `${(value / 1000).toFixed(1).replace(/\\.0$/, '')}k`;\n  }\n  return value;\n}\n","let numericFormatter = function(value, precision, useFixedPrecision) {\n  precision = precision || 0;\n\n  if (!value) {\n    return precision ? `0.${new Array(precision).fill('0').join('')}` : '0';\n  }\n\n  let power = Math.pow(10, precision);\n  let number = useFixedPrecision ? value.toFixed(precision) : Math.round(value * power) / power;\n  let tokens = number.toString().split('.');\n  let integerPart = tokens[0]\n    .split('')\n    .reduceRight(function(previousValue, currentValue, index, array) {\n      if (currentValue === '-' && index === 0) {\n        return currentValue + previousValue;\n      }\n      let position = array.length - index - 1;\n      return currentValue + (position && position % 3 === 0 ? ',' : '') + previousValue;\n    }, '');\n  let fractionalPart = tokens[1] ? `.${tokens[1]}` : '';\n  return integerPart + fractionalPart;\n};\n\nexport default numericFormatter;\n","export default {\n  STANDARD_SCOPES: [\n    {\n      key: 'write_users_companies',\n      name: 'Write users and companies',\n      description: 'Create and update users and companies',\n    },\n    {\n      key: 'write_tags',\n      name: 'Write tags',\n      description: 'Create, update, use and delete tags',\n    },\n    {\n      key: 'write_events',\n      name: 'Write events',\n      description: 'Submit events (i.e. user activity)',\n    },\n    {\n      key: 'write_conversations',\n      name: 'Write conversations',\n      description: 'Reply to, mark as read and close conversations',\n    },\n    {\n      key: 'read_single_user',\n      name: 'Read one user and one company',\n      description: 'List and view a single user and company',\n    },\n    {\n      key: 'read_single_admin',\n      name: 'Read one admin',\n      description: 'View a single admin',\n    },\n    {\n      key: 'read_events',\n      name: 'Read events',\n      description: 'List all events belonging to a single user',\n    },\n    {\n      key: 'read_tags',\n      name: 'Read tags',\n      description: 'List all tags',\n    },\n    {\n      key: 'read_counts',\n      name: 'Read counts',\n      description: 'Count users and companies with specified criteria',\n    },\n  ],\n\n  ADVANCED_SCOPES: [\n    {\n      key: 'read_write_users',\n      name: 'Read and write users',\n      description: 'List all users, create custom attributes and execute bulk actions',\n    },\n    {\n      key: 'read_users_companies',\n      name: 'Read and list users and companies',\n      description: 'List and view all segments, users and companies',\n    },\n    {\n      key: 'read_conversations',\n      name: 'Read conversations',\n      description: 'View conversations',\n    },\n    {\n      key: 'read_admins',\n      name: 'Read admins',\n      description: 'List and view all admins',\n    },\n    {\n      key: 'manage_webhooks',\n      name: 'Manage webhooks',\n      description: 'Create and update webhooks',\n    },\n  ],\n};\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject, { computed } from '@ember/object';\nimport TimesByHalfHour from 'embercom/models/data/times-by-half-hour';\nimport { MONDAY, FRIDAY, SATURDAY, SUNDAY, DAYS } from 'embercom/models/settings/time-period';\nimport { capitalize } from '@ember/string';\nimport { titleCase } from 'embercom/helpers/title-case';\nimport { groupBy } from 'embercom/helpers/group-by';\nimport { uniqBy } from 'embercom/helpers/uniq-by';\nimport { DAY_IN_MINUTES } from 'embercom/components/matching-system/matching-timetable-editor';\nimport { isEmpty } from '@ember/utils';\n\nconst NINE_AM = 9 * 60;\nconst FIVE_PM = 17 * 60;\n\nconst IntervalGroup = EmberObject.extend({\n  init() {\n    this._super(...arguments);\n    this.set('startMinute', this.timeIntervals.firstObject.adjustedStartMinute);\n    this.set('endMinute', this.timeIntervals.firstObject.adjustedEndMinute);\n  },\n  isDirty: computed('timeIntervals.[]', 'originalContent.[]', function() {\n    if (this.timeIntervals.length !== this.originalContent.length) {\n      return true;\n    }\n    let serializedOriginalContent = this.originalContent.map(interval => interval.serialize());\n    let serializedNewContent = this.timeIntervals.map(interval => interval.serialize());\n    return serializedOriginalContent.toString() !== serializedNewContent.toString();\n  }),\n  isInvalid: computed('startMinute', 'endMinute', function() {\n    return isEmpty(this.endMinute) || isEmpty(this.startMinute);\n  }),\n  label: computed('timeIntervals.[]', function() {\n    return `${titleCase(\n      this.period,\n    )} ${mapMinuteToText(this.startMinute)} – ${mapMinuteToText(this.endMinute)}`;\n  }),\n  startDay: computed.reads('timeIntervals.firstObject.startDay'),\n  endDay: computed.reads('timeIntervals.lastObject.endDay'),\n  period: computed('startDay', 'endDay', function() {\n    let { startDay, endDay } = this;\n    let length = this.timeIntervals.length;\n    if (startDay === endDay && startDay >= MONDAY && startDay <= SUNDAY) {\n      return DAYS[startDay];\n    } else if (startDay === SATURDAY && endDay === SUNDAY) {\n      return 'weekends';\n    } else if (startDay >= MONDAY && endDay <= FRIDAY && length === 5) {\n      return 'weekdays';\n    } else if (startDay === MONDAY && endDay === SUNDAY && length === 7) {\n      return 'everyday';\n    } else if (length - 1 === endDay - startDay) {\n      return `${capitalize(DAYS[startDay])} - ${capitalize(DAYS[endDay])}`;\n    } else {\n      return this.timeIntervals\n        .map(interval => `${capitalize(DAYS[interval.startDay])}`)\n        .join(', ');\n    }\n  }),\n});\n\nfunction mapMinuteToText(minute) {\n  let result = TimesByHalfHour.find(time => time.value === minute);\n  return result.text.replace(/:00|\\s/g, '');\n}\n\nfunction groupIntervalsByTypeAndStartAndEndTime(intervals) {\n  let groups = groupBy(intervals, item => {\n    return [item.adjustedStartMinute, item.adjustedEndMinute];\n  });\n  return groups.map(group => uniqBy(group, item => [item.startMinute, item.endMinute]));\n}\n\nexport function createIntervalGroup(groupedTimeIntervals) {\n  let sortedIntervals = groupedTimeIntervals.sortBy('startMinute');\n  return IntervalGroup.create({\n    originalContent: sortedIntervals,\n    timeIntervals: sortedIntervals,\n  });\n}\n\nexport function createIntervalGroupsFromIntervals(timeIntervals) {\n  let groupedIntervals = groupIntervalsByTypeAndStartAndEndTime(timeIntervals);\n  return groupedIntervals.map(group => createIntervalGroup(group));\n}\n\nexport function createDefaultIntervalGroup(store) {\n  let weekdays = [];\n  for (let day = MONDAY; day <= FRIDAY; day++) {\n    let interval = store.createFragment('matching-system/timetable/time-interval', {\n      startMinute: NINE_AM + day * DAY_IN_MINUTES,\n      endMinute: FIVE_PM + day * DAY_IN_MINUTES,\n    });\n    weekdays.pushObject(interval);\n  }\n  return createIntervalGroup(weekdays);\n}\n","// Adapted from https://www.w3schools.com/howto/howto_js_image_magnifier_glass.asp\n\nconst GLASS_BORDER_WIDTH = 3;\n\nfunction magnify(img, glass, zoom) {\n  let glassWidth = glass.offsetWidth / 2;\n  let glassHeight = glass.offsetHeight / 2;\n\n  glass.style.backgroundImage = `url('${img.src}')`;\n  glass.style.backgroundSize = `${img.width * zoom}px ${img.height * zoom}px`;\n  glass.style.borderWidth = `${GLASS_BORDER_WIDTH}px`;\n\n  glass.addEventListener('mousemove', moveMagnifier);\n  glass.addEventListener('touchmove', moveMagnifier);\n  img.addEventListener('mousemove', moveMagnifier);\n  img.addEventListener('touchmove', moveMagnifier);\n\n  function moveMagnifier(e) {\n    e.preventDefault();\n    let cursorPos = getCursorPos(e);\n    let x = getBoundedLeftPosition(cursorPos);\n    let y = getBoundedTopPosition(cursorPos);\n\n    glass.style.left = `${x - glassWidth}px`;\n    glass.style.top = `${y - glassHeight}px`;\n\n    // displays what the magnifier glass 'sees'\n    glass.style.backgroundPosition = `-${x * zoom - glassWidth + GLASS_BORDER_WIDTH}px -${y * zoom -\n      glassHeight +\n      GLASS_BORDER_WIDTH}px`;\n  }\n\n  function getBoundedLeftPosition(cursorPos) {\n    let x = cursorPos.x;\n    if (x > img.width - glassWidth / zoom) {\n      x = img.width - glassWidth / zoom;\n    }\n    if (x < glassWidth / zoom) {\n      x = glassWidth / zoom;\n    }\n    return x;\n  }\n\n  function getBoundedTopPosition(cursorPos) {\n    let y = cursorPos.y;\n    if (y > img.height - glassHeight / zoom) {\n      y = img.height - glassHeight / zoom;\n    }\n    if (y < glassHeight / zoom) {\n      y = glassHeight / zoom;\n    }\n    return y;\n  }\n\n  function getCursorPos(e = window.event) {\n    let a = img.getBoundingClientRect();\n    let x = e.pageX - a.left;\n    let y = e.pageY - a.top;\n\n    // compensate for any page scrolling\n    x -= window.pageXOffset;\n    y -= window.pageYOffset;\n\n    return { x, y };\n  }\n}\n\nexport default magnify;\n","import CaptureAndConvert from 'embercom/lib/onboarding/use-cases/capture-and-convert';\n\nconst USE_CASE_MAPPINGS = {\n  'capture-and-convert': CaptureAndConvert,\n};\n\nconst USE_CASES = [CaptureAndConvert];\n\nexport default {\n  getUseCaseData(useCaseKey) {\n    return USE_CASE_MAPPINGS[useCaseKey];\n  },\n\n  getUseCaseDataFromSolutionId(solutionId) {\n    return USE_CASES.find(useCase => parseInt(useCase.solutionId, 10) === solutionId);\n  },\n\n  getAllTaskDataForUseCase(useCaseKey) {\n    let useCaseData = this.getUseCaseData(useCaseKey);\n    if (!useCaseData) {\n      return [];\n    }\n\n    return useCaseData.stages.reduce((allTasks, stage) => {\n      return allTasks.concat(stage.tasks);\n    }, []);\n  },\n\n  getAllTaskKeysForUseCase(useCaseKey) {\n    return this.getAllTaskDataForUseCase(useCaseKey).map(taskData => taskData.taskKey);\n  },\n\n  getTaskData(useCaseKey, taskKey) {\n    let allTaskData = this.getAllTaskDataForUseCase(useCaseKey);\n    return allTaskData.find(taskData => taskData.taskKey === taskKey);\n  },\n\n  getStageData(useCaseKey, stageKey) {\n    let useCaseData = this.getUseCaseData(useCaseKey);\n    if (!useCaseData) {\n      return;\n    }\n\n    return useCaseData.stages.find(stage => stage.stageKey === stageKey);\n  },\n\n  getStageDataForTask(useCaseKey, taskKey) {\n    let useCaseData = this.getUseCaseData(useCaseKey);\n    if (!useCaseData) {\n      return;\n    }\n\n    return useCaseData.stages.find(stage => {\n      return stage.tasks.find(task => task.taskKey === taskKey);\n    });\n  },\n\n  getNextTaskKey(useCaseKey, taskKey) {\n    let allTaskKeys = this.getAllTaskKeysForUseCase(useCaseKey);\n    let currentTaskIndex = allTaskKeys.indexOf(taskKey);\n    let nextTaskIndex = currentTaskIndex + 1;\n    return nextTaskIndex < allTaskKeys.length ? allTaskKeys[nextTaskIndex] : null;\n  },\n\n  getPreviousTaskKey(useCaseKey, taskKey) {\n    let allTaskKeys = this.getAllTaskKeysForUseCase(useCaseKey);\n    let currentTaskIndex = allTaskKeys.indexOf(taskKey);\n    let previousTaskIndex = currentTaskIndex - 1;\n    return previousTaskIndex >= 0 ? allTaskKeys[previousTaskIndex] : null;\n  },\n\n  getCompletionRoute(useCaseKey) {\n    let useCaseData = this.getUseCaseData(useCaseKey);\n    return useCaseData.completionRoute;\n  },\n};\n","import safeWindowOpen from 'embercom/lib/safe-window-open';\n\nlet openCenteredWindow = function(url, height, width, name) {\n  name = name || 'Authorize';\n  let windowWidth = width || 600;\n  let windowHeight = height || 800;\n  let windowLeft =\n    openCenteredWindow.outerWidth() / 2 + openCenteredWindow.screenX() - windowWidth / 2;\n  let windowTop =\n    openCenteredWindow.outerHeight() / 2 + openCenteredWindow.screenY() - windowHeight / 2;\n  let options = `menubar, width=${windowWidth}, height=${windowHeight}, top=${windowTop}, left=${windowLeft}`;\n  return safeWindowOpen(url, name, options);\n};\n\nopenCenteredWindow.outerWidth = function() {\n  return window.outerWidth;\n};\n\nopenCenteredWindow.outerHeight = function() {\n  return window.outerHeight;\n};\n\nopenCenteredWindow.screenX = function() {\n  return window.screenX || window.screenLeft || 0;\n};\n\nopenCenteredWindow.screenY = function() {\n  return window.screenY || window.screenTop || 0;\n};\n\nexport default openCenteredWindow;\n","const ANSWERS_INDEX_PAGEVIEW_KEY = 'answer_bot_suggested_questions_first_load';\nconst IMPORT_BANNER_PAGEVIEW_KEY = 'conversation_import_prompt_banner';\n\nexport { IMPORT_BANNER_PAGEVIEW_KEY, ANSWERS_INDEX_PAGEVIEW_KEY };\n","import { deliveryChannels } from 'embercom/models/data/outbound/constants';\n\nconst CUSTOM_BOT_REQUIRED_PERMISSION = 'can_create_and_edit_bots';\n\nconst USER_TARGET = 'user';\nconst NON_USER_TARGET = 'non-user';\nconst EVERYONE_TARGET = 'everyone';\nconst NEW_CONVERSATION_TARGET = 'new-conversation';\nconst OUTBOUND_TARGET = 'outbound';\nconst OUTBOUND_BOT_TYPE = 'Outbound';\nconst BUTTON_BOT_TYPE = 'Button';\nconst INBOUND_BOT_TYPE = 'Inbound';\nconst NON_USER_ROLE_PREDICATE = {\n  attribute: 'role',\n  type: 'role',\n  comparison: 'in',\n  value: ['contact_role', 'visitor_role'],\n};\n\nconst USER_ROLE_PREDICATE = {\n  attribute: 'role',\n  type: 'role',\n  comparison: 'in',\n  value: ['user_role'],\n};\n\nconst OUTBOUND_PREDICATE = {\n  attribute: 'role',\n  type: 'role',\n  comparison: 'in',\n  value: ['contact_role', 'visitor_role'],\n};\n\nconst EVERYONE_PREDICATE = {\n  attribute: 'role',\n  type: 'role',\n  comparison: 'in',\n  value: ['contact_role', 'visitor_role', 'user_role'],\n};\n\nconst confirmOptions = {\n  title: 'Close without saving?',\n  primaryButtonType: 'primary-destructive',\n  confirmButtonText: 'Close without saving',\n  cancelButtonText: 'Keep editing',\n  body: 'Your changes will be lost.',\n};\n\nconst customBotDeliveryChannels = [\n  {\n    type: 'web',\n    label: 'Web',\n    icon: 'message-creation/web',\n    preferredDevices: deliveryChannels.web,\n  },\n  {\n    type: 'ios',\n    label: 'iOS',\n    icon: 'message-creation/ios',\n    preferredDevices: deliveryChannels.ios,\n  },\n  {\n    type: 'android',\n    label: 'Android',\n    icon: 'message-creation/android',\n    preferredDevices: deliveryChannels.android,\n  },\n  {\n    type: 'mobile_and_web',\n    label: 'Wherever people open your app first',\n    icon: 'message-creation/wherever',\n    preferredDevices: deliveryChannels.mobileAndWeb,\n  },\n  {\n    type: 'mobile',\n    label: 'iOS and Android',\n    icon: 'message-creation/mobile',\n    preferredDevices: deliveryChannels.mobile,\n  },\n];\n\nconst OPERATOR_OUTBOUND_CUSTOM_BOT_EDITOR_ROUTE = `apps.app.operator.custom-bots.outbound.edit`;\n\nconst OPERATOR_OUTBOUND_CUSTOM_BOT_INDEX_ROUTE = `apps.app.operator.custom-bots.index`;\n\nexport {\n  CUSTOM_BOT_REQUIRED_PERMISSION,\n  USER_TARGET,\n  NON_USER_TARGET,\n  EVERYONE_TARGET,\n  NEW_CONVERSATION_TARGET,\n  OUTBOUND_TARGET,\n  NON_USER_ROLE_PREDICATE,\n  USER_ROLE_PREDICATE,\n  OUTBOUND_PREDICATE,\n  EVERYONE_PREDICATE,\n  OPERATOR_OUTBOUND_CUSTOM_BOT_EDITOR_ROUTE,\n  OPERATOR_OUTBOUND_CUSTOM_BOT_INDEX_ROUTE,\n  confirmOptions,\n  customBotDeliveryChannels,\n  OUTBOUND_BOT_TYPE,\n  BUTTON_BOT_TYPE,\n  INBOUND_BOT_TYPE,\n};\n","import { BaseConfig } from '@intercom/embercom-prosemirror-composer';\n\nexport default class PromptComposerConfig extends BaseConfig {\n  placeholder = 'Write a prompt';\n  autoFocus = true;\n  tools = [];\n  allowedBlocks = ['paragraph'];\n  allowedInline = [];\n  inputRules = [];\n  singleBlockMode = true;\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { defer } from 'rsvp';\n\nconst IMAGE_FORMAT = 'image/png';\nconst DEFAULT_SIZE = 512; // 128 * 4 = 4dpp;\nconst DEFAULT_RATIO = 0.58; // Space occupied by the SVG in the rendered square\n\nexport default class SvgToPngRenderer {\n  constructor(svg, size = DEFAULT_SIZE, ratio = DEFAULT_RATIO) {\n    this.size = size;\n    this.svgSize = size * ratio;\n    this.canvas = this._buildCanvas(size);\n    this.context = this.canvas.getContext('2d');\n    this.svg = svg;\n  }\n\n  draw64(bgColor, pathColor) {\n    this._clearCanvas();\n    this._paintBackgroundColor(bgColor);\n    this._setSvgPathColor(pathColor);\n    return this._paintSvg();\n  }\n\n  drawToFile() {\n    return this.draw64(...arguments).then(this._buildFile);\n  }\n\n  _buildCanvas(size) {\n    let canvas = window.document.createElement('canvas');\n    canvas.width = this.size;\n    canvas.height = this.size;\n    return canvas;\n  }\n\n  _clearCanvas() {\n    this.context.clearRect(0, 0, this.size, this.size);\n    this.context.imageSmoothingEnabled = true;\n  }\n\n  _paintBackgroundColor(bgColor) {\n    this.context.fillStyle = bgColor;\n    this.context.fillRect(0, 0, this.size, this.size);\n  }\n\n  _setSvgPathColor(pathColor) {\n    this.svg.children[0].setAttribute(\n      'style',\n      `fill: ${pathColor}; stroke: ${pathColor}; stroke-width: 0.2px; stroke-linecap: round`,\n    );\n  }\n\n  _paintSvg() {\n    let deferred = defer();\n    let img = new Image();\n    let svgMargin = Math.round(this.size / 2 - this.svgSize / 2);\n    img.onload = () => {\n      this.context.drawImage(img, svgMargin, svgMargin, this.svgSize, this.svgSize);\n      deferred.resolve(this.canvas.toDataURL(IMAGE_FORMAT, 1));\n    };\n    img.src = this._encode64Svg();\n    return deferred.promise;\n  }\n\n  _encode64Svg() {\n    return `data:image/svg+xml;base64,${btoa(this.svg.outerHTML)}`;\n  }\n\n  _buildFile(data) {\n    let dataWithoutMimeType = data.split(',')[1];\n    let blobBin = atob(dataWithoutMimeType);\n    let binData = [];\n    for (let i = 0; i < blobBin.length; i++) {\n      binData.push(blobBin.charCodeAt(i));\n    }\n    return new Blob([new Uint8Array(binData)], { type: IMAGE_FORMAT });\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Controller from '@ember/controller';\nimport { gt, alias, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport {\n  audienceTypes,\n  matchBehaviors,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { PAGE_SIZE, statisticKeys } from 'embercom/models/data/outbound/constants';\nimport {\n  objectTypes,\n  humanReadableObjectNames,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { action, computed } from '@ember/object';\nimport { task } from 'ember-concurrency';\nimport { isPresent } from '@ember/utils';\nimport { OUTBOUND_BOT_TYPE } from 'embercom/lib/operator/custom-bots/constants';\n\nconst PAGE_FROM_DEFAULT = 0;\n\nexport default Controller.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  outboundHomeService: service(),\n  tagService: service(),\n  hasItemsToDisplay: gt('model.length', 0),\n  perPage: PAGE_SIZE,\n  pageFrom: PAGE_FROM_DEFAULT,\n  isLoading: false,\n  statisticKeys,\n  selectedContentWrappers: computed('model.@each.isSelected', function() {\n    return this.model.filter(contentWrapper => contentWrapper.get('isSelected'));\n  }),\n  hasSelectedContentWrappers: gt('selectedContentWrappers.length', 0),\n\n  queryParams: ['tagIds', 'senderId', 'state', 'audiences'],\n  tagIds: null,\n  senderId: null,\n  state: null,\n  audiences: null,\n  sortBy: null,\n  sortDirection: null,\n  customRulesetCreationParams: {},\n\n  // Available filters\n  selectedSenderValue: alias('outboundHomeService.selectedSenderValue'),\n  selectedAudienceValues: alias('outboundHomeService.selectedAudienceValues'),\n  selectedStateValue: alias('outboundHomeService.selectedStateValue'),\n  selectedTagValues: alias('outboundHomeService.selectedTagValues'),\n  selectedMatchBehaviorValues: alias('outboundHomeService.selectedMatchBehaviorValues'),\n\n  hasAppliedFilter: computed(\n    'selectedAudienceValues',\n    'selectedSenderValue',\n    'selectedStateValue',\n    'selectedTagValues',\n    'selectedMatchBehaviorValues',\n    function() {\n      let result =\n        this.selectedAudienceValues?.length === 1 ||\n        this.selectedAudienceValues?.length === 2 ||\n        this.selectedSenderValue !== null ||\n        this.selectedStateValue !== null ||\n        this.selectedTagValues;\n      return result;\n    },\n  ),\n\n  // To be overridden by subclasses\n  objectTypes: null,\n  pageTitle: '',\n  selectedObjectType: computed('bannerData.selectedObjectType', function() {\n    return humanReadableObjectNames[this.bannerData.selectedObjectType] || 'message';\n  }),\n\n  createNewUserAutoMessage(type, deliveryChannel, audienceType) {\n    this.permissionsService.checkPermission('can_send_messages').then(() => {\n      this.transitionToRoute('apps.app.outbound.messages.auto.new', {\n        queryParams: {\n          type,\n          deliveryChannel,\n          audienceType,\n        },\n      });\n    });\n  },\n\n  createNewVisitorAutoMessage() {\n    this.transitionToRoute('apps.app.outbound.messages.visitor-auto.new');\n  },\n\n  _resetPagingSettings() {\n    this.setProperties({\n      perPage: PAGE_SIZE,\n      pageFrom: PAGE_FROM_DEFAULT,\n    });\n  },\n\n  _filterToString(filterProperty) {\n    switch (filterProperty) {\n      case 'selectedAudienceValues':\n        return 'audiences';\n      case 'selectedSenderValue':\n        return 'sender';\n      case 'selectedStateValue':\n        return 'state';\n      case 'selectedTagValues':\n        return 'tags';\n    }\n  },\n\n  fetchMessagesTags: task(function*() {\n    try {\n      let messagesTags = yield this.tagService.getMessagesTags(this.app);\n      this.set('messagesTags', messagesTags);\n      this._contentSearch();\n    } catch (e) {\n      this.notificationsService.notifyError(\n        `Something went wrong and we couldn't initialize tags. Please try again.`,\n      );\n    }\n  }).drop(),\n\n  async _contentSearch() {\n    return await this.outboundHomeService.contentSearchWithFilters({\n      object_types: this.objectTypes,\n      app_id: this.app.id,\n      per_page: this.perPage,\n      page_from: this.pageFrom,\n      sort_by: this.sortBy,\n      sort_direction: this.sortDirection,\n      statistics: this.statistics,\n    });\n  },\n\n  _setPropertiesFromResponse(response) {\n    this.setProperties({\n      model: response.contentWrappers,\n      pageFrom: response.pageFrom,\n      perPage: response.perPage,\n      totalCount: response.totalCount,\n      totalPages: response.totalPages,\n      lastPageHit: response.lastPageHit,\n    });\n  },\n\n  _setQueryParams() {\n    if (isPresent(this.outboundHomeService.selectedAudienceValues)) {\n      this.set('audiences', this.outboundHomeService.selectedAudienceValues);\n    } else {\n      this.set('audiences', null);\n    }\n    this.set('senderId', this.outboundHomeService.selectedSenderValue);\n    this.set('state', this.outboundHomeService.selectedStateValue);\n    if (isPresent(this.outboundHomeService.selectedTagValues)) {\n      this.set('tagIds', this.outboundHomeService.selectedTagValues);\n    } else {\n      this.set('tagIds', null);\n    }\n  },\n\n  _createRulesetContent(objectType = null, templateId = null) {\n    let rulesetParams = {\n      object_type: objectType,\n      app_id: this.appService.app.id,\n    };\n\n    let selectedTabIsOngoing = this.outboundHomeService.selectedTabIsOngoing;\n    let selectedTabIsOneOff = this.outboundHomeService.selectedTabIsOneOff;\n\n    if (objectType === objectTypes.banner) {\n      rulesetParams.match_behavior = matchBehaviors.multi;\n    }\n\n    if (selectedTabIsOngoing) {\n      rulesetParams.match_behavior = matchBehaviors.single;\n    } else if (selectedTabIsOneOff) {\n      rulesetParams.match_behavior = matchBehaviors.static;\n    }\n\n    if (templateId) {\n      rulesetParams.template_id = templateId;\n    } else if (objectType === objectTypes.customBot) {\n      rulesetParams.object_data = { type: OUTBOUND_BOT_TYPE };\n    } else {\n      rulesetParams.object_data = {};\n    }\n    Object.assign(rulesetParams, this.customRulesetCreationParams);\n    return this.transitionToRoute('apps.app.content.new', rulesetParams);\n  },\n\n  _toggleSortDirection() {\n    if (this.sortDirection === 'desc') {\n      return this.set('sortDirection', 'asc');\n    }\n\n    this.set('sortDirection', 'desc');\n  },\n\n  createContent: action(function(\n    messageType = null,\n    deliveryChannel = null,\n    audienceType = null,\n    templateId = null,\n  ) {\n    this.set('showContentCreationModal', false);\n    let outboundSupportedMessageTypes = new Set([\n      objectTypes.push,\n      objectTypes.chat,\n      objectTypes.post,\n      objectTypes.carousel,\n      objectTypes.email,\n      objectTypes.customBot,\n      objectTypes.banner,\n    ]);\n    if (outboundSupportedMessageTypes.has(messageType)) {\n      this._createRulesetContent(messageType, templateId);\n      return;\n    }\n    if (messageType === objectTypes.series) {\n      this.createNewSeries({ templateId });\n      return;\n    }\n    if (audienceType === audienceTypes.visitors) {\n      this.createNewVisitorAutoMessage();\n    } else {\n      this.createNewUserAutoMessage(messageType, deliveryChannel, audienceType);\n    }\n    this.intercomEventService.trackEvent('create-new-message', {\n      messageType,\n      audienceType,\n      deliveryChannel,\n    });\n  }),\n\n  /**\n   * Sends a request to search outbound content by a set of filters.\n   *\n   * @param filterProperty [String] the filter's value to set (see available filters).\n   * @param value [String] the value of the filter.\n   **/\n  filterContent: action(async function(filterProperty, value) {\n    this.set('isLoading', true);\n    this.outboundHomeService.safelySet(filterProperty, value);\n    this.set(filterProperty, value);\n    this._resetPagingSettings();\n    this.intercomEventService.trackEvent('outbound-filtering', {\n      list: this.get('target.currentRoute.localName'),\n      filter: this._filterToString(filterProperty),\n      messageType: this.matchBehavior ? 'auto' : 'direct',\n      value,\n    });\n    let response = await this._contentSearch();\n    this._setPropertiesFromResponse(response);\n    this.set('isLoading', false);\n    this._setQueryParams();\n  }),\n\n  loadMore: action(async function(perPage, pageFrom) {\n    this.setProperties({ perPage, pageFrom });\n    let response = await this._contentSearch();\n    this.setProperties({\n      model: [...this.model, ...response.contentWrappers],\n      totalCount: response.totalCount,\n      totalPages: response.totalPages,\n      lastPageHit: response.lastPageHit,\n    });\n  }),\n\n  reorder: action(async function(updatedPriorities, draggedWrapper) {\n    try {\n      this.model.forEach(wrapper => wrapper.set('priority', updatedPriorities.indexOf(wrapper)));\n      let ruleset = await this.store.findRecord(\n        'matching-system/ruleset',\n        draggedWrapper.contentWrapperId,\n      );\n\n      await ruleset.reorder(updatedPriorities.indexOf(draggedWrapper));\n      this.notificationsService.notifyConfirmation(\n        `The priority of your ${\n          humanReadableObjectNames[this.outboundHomeService.activeList]\n        } has been reordered`,\n      );\n    } catch {\n      this.notificationsService.notifyError(`Something went wrong. Please try again later.`);\n    }\n\n    let response = await this._contentSearch();\n    await this._setPropertiesFromResponse(response);\n  }),\n\n  resetFilters: action(async function() {\n    this.set('isLoading', true);\n    this.outboundHomeService.resetFilters();\n    let response = await this._contentSearch();\n    this._setPropertiesFromResponse(response);\n    this.set('isLoading', false);\n  }),\n\n  actions: {\n    afterTagSave() {\n      this.set('showTagModal', false);\n      this.notificationsService.notifyConfirmation('Messages tagged!');\n    },\n    updateMessagesTags() {\n      this.fetchMessagesTags.perform();\n    },\n    async sortUpdate(sortBy) {\n      this._toggleSortDirection();\n      this.setProperties({ sortBy });\n      let response = await this._contentSearch();\n      this._setPropertiesFromResponse(response);\n    },\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { PAGE_SIZE } from 'embercom/models/data/outbound/constants';\nimport { isPresent, isNone } from '@ember/utils';\nimport { later } from '@ember/runloop';\nimport ENV from 'embercom/config/environment';\nimport { hash } from 'rsvp';\n\nexport default IntercomRoute.extend({\n  outboundHomeService: service(),\n  realTimeEventService: service(),\n  intercomEventService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  tagService: service(),\n  perPage: PAGE_SIZE,\n\n  queryParams: {\n    state: {\n      replace: true,\n    },\n    tagIds: {\n      replace: true,\n    },\n    senderId: {\n      replace: true,\n    },\n    audiences: {\n      replace: true,\n    },\n  },\n\n  beforeModel() {\n    this.outboundHomeService.setActiveList(null);\n  },\n\n  afterModel() {\n    let queryParams = {\n      state: this.get('outboundHomeService.selectedStateValue'),\n      senderId: this.get('outboundHomeService.selectedSenderValue'),\n    };\n    if (isPresent(this.get('outboundHomeService.selectedTagValues'))) {\n      queryParams.tagIds = this.get('outboundHomeService.selectedTagValues');\n    }\n    if (isPresent(this.get('outboundHomeService.selectedAudienceValues'))) {\n      queryParams.audiences = this.get('outboundHomeService.selectedAudienceValues');\n    }\n    this.transitionTo({ queryParams });\n  },\n\n  activate() {\n    this._super();\n    this.realTimeEventService.on('ContentStatsUpdate', this, '_handleContentStatsUpdateEvent');\n  },\n\n  deactivate() {\n    this._super();\n    this.realTimeEventService.off('ContentStatsUpdate', this, '_handleContentStatsUpdateEvent');\n  },\n\n  async model(params) {\n    this.intercomEventService.trackEvent('outbound-list-view', {\n      route: this.routeName,\n    });\n    let app = this.modelFor('apps.app');\n\n    let searchResponsePromise = this.outboundHomeService.isFirstRequest\n      ? this.contentSearchWithParams(params)\n      : this.contentSearch();\n\n    let results = await hash({\n      messagesTags: this.tagService.getMessagesTags(app),\n      templates: this.store.findAll('template'),\n      tourTemplates: this.store.findAll('tour-template'),\n      searchResponse: searchResponsePromise,\n    });\n\n    if (this.outboundHomeService.isFirstRequest) {\n      this.set('outboundHomeService.isFirstRequest', false);\n    }\n\n    return {\n      contentWrappers: results.searchResponse.contentWrappers,\n      pageFrom: results.searchResponse.pageFrom,\n      perPage: results.searchResponse.perPage,\n      totalCount: results.searchResponse.totalCount,\n      totalPages: results.searchResponse.totalPages,\n      lastPageHit: results.searchResponse.lastPageHit,\n      templates: results.templates,\n      tourTemplates: results.tourTemplates,\n      seriesTemplates: [],\n      messagesTags: results.messagesTags,\n    };\n  },\n\n  async contentSearchWithParams(params) {\n    this._setOutboundHomeServiceFromParams(params);\n    let response = await this.contentSearch();\n    return response;\n  },\n\n  _setOutboundHomeServiceFromParams(params) {\n    if (params.tagIds) {\n      this.outboundHomeService.selectedTagValues = params.tagIds.split(',');\n    }\n    if (params.audiences) {\n      this.outboundHomeService.selectedAudienceValues = params.audiences.split(',');\n    }\n    if (params.state) {\n      this.outboundHomeService.selectedStateValue = parseInt(params.state, 10);\n    }\n    if (params.senderId) {\n      this.set('outboundHomeService.selectedSenderValue', params.senderId);\n    }\n  },\n\n  async contentSearch() {\n    let response = await this.outboundHomeService.contentSearchWithFilters({\n      object_types: this.objectTypes,\n      app_id: this.app.id,\n      per_page: this.perPage,\n      statistics: this.statistics,\n    });\n    return response;\n  },\n\n  setupController(controller, model) {\n    this._unselectContentWrappers(model.contentWrappers);\n    controller.setProperties({\n      model: model.contentWrappers,\n      pageFrom: model.pageFrom,\n      perPage: model.perPage,\n      totalCount: model.totalCount,\n      totalPages: model.totalPages,\n      lastPageHit: model.lastPageHit,\n      templates: model.templates,\n      tourTemplates: model.tourTemplates,\n      seriesTemplates: model.seriesTemplates,\n      messagesTags: model.messagesTags,\n      objectTypes: this.objectTypes,\n      statistics: this.statistics,\n    });\n  },\n\n  _unselectContentWrappers(contentWrappers) {\n    contentWrappers.forEach(contentWrapper => {\n      contentWrapper.set('isSelected', false);\n    });\n  },\n\n  _updateContentFragmentStat(contentFragmentId, stat) {\n    let contentFragment = this.store.peekRecord('outbound/content-fragment', contentFragmentId);\n    if (contentFragment) {\n      this.store.push(this.store.normalize('outbound/content-statistic', stat));\n      let contentStat = this.store.peekRecord('outbound/content-statistic', stat.id);\n\n      // If the content fragment did not previously have this stat, manually push the newly\n      // created stat into the stats array\n      if (isNone(contentFragment.stats.findBy('key', contentStat.key))) {\n        contentFragment.stats.pushObject(contentStat);\n      }\n    }\n  },\n\n  _handleContentStatsUpdateEvent(realTimePayload) {\n    realTimePayload.stats.forEach(stat => {\n      let contentFragmentId = stat.id.split('_')[2];\n      let contentFragment = this.store.peekRecord('outbound/content-fragment', contentFragmentId);\n      // Only update stats locally if the Teammate has loaded this content fragment\n      // If we have the fragment already, update immediately. Otherwise wait a few\n      // seconds as sometimes the update event from Nexus arrives before we have the models\n      // locally\n      if (contentFragment) {\n        this._updateContentFragmentStat(contentFragmentId, stat);\n      } else {\n        later(\n          this,\n          () => this._updateContentFragmentStat(contentFragmentId, stat),\n          ENV.APP._3000MS,\n        );\n      }\n    });\n  },\n});\n","export default function parseTextToJson(text) {\n  if (!text) {\n    return;\n  }\n  if (typeof text === 'string') {\n    return parseTextToJson(JSON.parse(text));\n  }\n\n  return text;\n}\n","import { isEmpty } from '@ember/utils';\nimport numberFormatter from 'embercom/lib/number-formatter';\n\nexport const REPORTS_PRECISION_DEFAULT = 1;\nexport const REPORTS_PRECISION_DETAILED = 2;\n\n/**\n * Returns an unrounded percentage, or undefined if\n *  a) either of the arguments are not numbers\n *  b) the divisor is 0\n * @param {number} divisor\n * @param {number} dividend\n *\n * @returns {number}\n */\nexport default function percent(divisor, dividend) {\n  if (!isNumber(divisor) || !isNumber(dividend) || parseFloat(divisor) === 0) {\n    return undefined;\n  }\n  let divisorNumber = parseFloat(divisor);\n  let dividendNumber = parseFloat(dividend);\n  return (dividendNumber / divisorNumber) * 100;\n}\n\n/**\n * Returns a string with a % appended, formatted to 0 or 1 points of precision.\n * If the percentage is less than 0.5, at least one point of precision will be mantained (e.g. '0.4%').\n * @param {number} val\n * @param {number} decimalPlaces\n *\n * @returns {string}\n */\nexport function toPercentString(val, decimalPlaces = 0) {\n  if (typeof val === 'string') {\n    val = parseFloat(val);\n  }\n  if (!isNumber(val)) {\n    return `\\u2014`; //em dash\n  } else {\n    return `${numberFormatter(formatNumber(val, decimalPlaces))}%`;\n  }\n}\n\n/**\n * Used by handlebars templates to calculate and format percentages.\n * @param {array} params\n * @param {number} decimalPlaces\n *\n * @returns {string}\n */\nexport function percentStringHelper(params, decimalPlaces) {\n  if (params.length === 1) {\n    return toPercentString(params[0], decimalPlaces);\n  } else {\n    return toPercentString(percent(params[0], params[1]), decimalPlaces);\n  }\n}\n\nfunction formatNumber(number, decimalPlaces) {\n  if (number <= 0.5 && number >= -0.5 && decimalPlaces === 0) {\n    //For values less than half a percent we will have 1 place precision\n    //parseFloat allows us to drop insignificant trailing zeros\n    return parseFloat(number.toFixed(1));\n  } else {\n    return parseFloat(number.toFixed(decimalPlaces));\n  }\n}\n\nfunction isNumber(n) {\n  return !isEmpty(n) && !isNaN(parseFloat(n)) && isFinite(n);\n}\n","export default {\n  can_access_billing_settings: 'Can access billing settings',\n  can_access_developer_hub: 'Can access developer hub',\n  can_access_product_settings: 'Can manage workspace data and workload management',\n  can_access_workspace_settings: 'Can access general and security settings',\n  can_create_and_edit_bots: 'Can manage Operator',\n  can_export_data: 'Can export lead, user and company data',\n  can_manage_apps_and_integrations: 'Can install, configure and delete apps',\n  can_manage_articles: 'Can manage articles',\n  can_manage_messages_settings: 'Can access Outbound settings',\n  can_manage_messenger_settings: 'Can access Messenger settings',\n  can_manage_teammates: 'Can manage teammates and permissions',\n  can_reassign_conversations: 'Can reassign conversations and edit lead or user ownership',\n  can_redact_conversation_parts: 'Can delete replies and notes from a conversation',\n  can_send_messages: 'Can bulk message visitors, leads and users',\n  can_manage_inbox_views: 'Can manage views',\n  can_manage_saved_replies: 'Can manage saved replies',\n  can_manage_tags: 'Can manage tags',\n};\n","export default {\n  af: {\n    name: 'Afghanistan',\n    dial_code: '+93',\n    code: 'af',\n    asset_url: '/assets/svgs/flags/af.svg',\n  },\n  al: {\n    name: 'Albania',\n    dial_code: '+355',\n    code: 'al',\n    asset_url: '/assets/svgs/flags/al.svg',\n  },\n  dz: {\n    name: 'Algeria',\n    dial_code: '+213',\n    code: 'dz',\n    asset_url: '/assets/svgs/flags/dz.svg',\n  },\n  as: {\n    name: 'American Samoa',\n    dial_code: '+1684',\n    code: 'as',\n    asset_url: '/assets/svgs/flags/as.svg',\n  },\n  ad: {\n    name: 'Andorra',\n    dial_code: '+376',\n    code: 'ad',\n    asset_url: '/assets/svgs/flags/ad.svg',\n  },\n  ao: {\n    name: 'Angola',\n    dial_code: '+244',\n    code: 'ao',\n    asset_url: '/assets/svgs/flags/ao.svg',\n  },\n  ai: {\n    name: 'Anguilla',\n    dial_code: '+1264',\n    code: 'ai',\n    asset_url: '/assets/svgs/flags/ai.svg',\n  },\n  ag: {\n    name: 'Antigua and Barbuda',\n    dial_code: '+1268',\n    code: 'ag',\n    asset_url: '/assets/svgs/flags/ag.svg',\n  },\n  ar: {\n    name: 'Argentina',\n    dial_code: '+54',\n    code: 'ar',\n    asset_url: '/assets/svgs/flags/ar.svg',\n  },\n  am: {\n    name: 'Armenia',\n    dial_code: '+374',\n    code: 'am',\n    asset_url: '/assets/svgs/flags/am.svg',\n  },\n  aw: {\n    name: 'Aruba',\n    dial_code: '+297',\n    code: 'aw',\n    asset_url: '/assets/svgs/flags/aw.svg',\n  },\n  au: {\n    name: 'Australia',\n    dial_code: '+61',\n    code: 'au',\n    asset_url: '/assets/svgs/flags/au.svg',\n  },\n  at: {\n    name: 'Austria',\n    dial_code: '+43',\n    code: 'at',\n    asset_url: '/assets/svgs/flags/at.svg',\n  },\n  az: {\n    name: 'Azerbaijan',\n    dial_code: '+994',\n    code: 'az',\n    asset_url: '/assets/svgs/flags/az.svg',\n  },\n  bs: {\n    name: 'Bahamas',\n    dial_code: '+1242',\n    code: 'bs',\n    asset_url: '/assets/svgs/flags/bs.svg',\n  },\n  bh: {\n    name: 'Bahrain',\n    dial_code: '+973',\n    code: 'bh',\n    asset_url: '/assets/svgs/flags/bh.svg',\n  },\n  bb: {\n    name: 'Barbados',\n    dial_code: '+1246',\n    code: 'bb',\n    asset_url: '/assets/svgs/flags/bb.svg',\n  },\n  by: {\n    name: 'Belarus',\n    dial_code: '+375',\n    code: 'by',\n    asset_url: '/assets/svgs/flags/by.svg',\n  },\n  be: {\n    name: 'Belgium',\n    dial_code: '+32',\n    code: 'be',\n    asset_url: '/assets/svgs/flags/be.svg',\n  },\n  bz: {\n    name: 'Belize',\n    dial_code: '+501',\n    code: 'bz',\n    asset_url: '/assets/svgs/flags/bz.svg',\n  },\n  bj: {\n    name: 'Benin',\n    dial_code: '+229',\n    code: 'bj',\n    asset_url: '/assets/svgs/flags/bj.svg',\n  },\n  bm: {\n    name: 'Bermuda',\n    dial_code: '+1441',\n    code: 'bm',\n    asset_url: '/assets/svgs/flags/bm.svg',\n  },\n  bt: {\n    name: 'Bhutan',\n    dial_code: '+975',\n    code: 'bt',\n    asset_url: '/assets/svgs/flags/bt.svg',\n  },\n  bo: {\n    name: 'Bolivia, Plurinational State of bolivia',\n    dial_code: '+591',\n    code: 'bo',\n    asset_url: '/assets/svgs/flags/bo.svg',\n  },\n  ba: {\n    name: 'Bosnia and Herzegovina',\n    dial_code: '+387',\n    code: 'ba',\n    asset_url: '/assets/svgs/flags/ba.svg',\n  },\n  bw: {\n    name: 'Botswana',\n    dial_code: '+267',\n    code: 'bw',\n    asset_url: '/assets/svgs/flags/bw.svg',\n  },\n  br: {\n    name: 'Brazil',\n    dial_code: '+55',\n    code: 'br',\n    asset_url: '/assets/svgs/flags/br.svg',\n  },\n  bn: {\n    name: 'Brunei Darussalam',\n    dial_code: '+673',\n    code: 'bn',\n    asset_url: '/assets/svgs/flags/bn.svg',\n  },\n  bg: {\n    name: 'Bulgaria',\n    dial_code: '+359',\n    code: 'bg',\n    asset_url: '/assets/svgs/flags/bg.svg',\n  },\n  bf: {\n    name: 'Burkina Faso',\n    dial_code: '+226',\n    code: 'bf',\n    asset_url: '/assets/svgs/flags/bf.svg',\n  },\n  bi: {\n    name: 'Burundi',\n    dial_code: '+257',\n    code: 'bi',\n    asset_url: '/assets/svgs/flags/bi.svg',\n  },\n  kh: {\n    name: 'Cambodia',\n    dial_code: '+855',\n    code: 'kh',\n    asset_url: '/assets/svgs/flags/kh.svg',\n  },\n  cm: {\n    name: 'Cameroon',\n    dial_code: '+237',\n    code: 'cm',\n    asset_url: '/assets/svgs/flags/cm.svg',\n  },\n  ca: {\n    name: 'Canada',\n    dial_code: '+1',\n    code: 'ca',\n    asset_url: '/assets/svgs/flags/ca.svg',\n  },\n  cv: {\n    name: 'Cape Verde',\n    dial_code: '+238',\n    code: 'cv',\n    asset_url: '/assets/svgs/flags/cv.svg',\n  },\n  ky: {\n    name: 'Cayman Islands',\n    dial_code: '+ 345',\n    code: 'ky',\n    asset_url: '/assets/svgs/flags/ky.svg',\n  },\n  cf: {\n    name: 'Central African Republic',\n    dial_code: '+236',\n    code: 'cf',\n    asset_url: '/assets/svgs/flags/cf.svg',\n  },\n  td: {\n    name: 'Chad',\n    dial_code: '+235',\n    code: 'td',\n    asset_url: '/assets/svgs/flags/td.svg',\n  },\n  cl: {\n    name: 'Chile',\n    dial_code: '+56',\n    code: 'cl',\n    asset_url: '/assets/svgs/flags/cl.svg',\n  },\n  cn: {\n    name: 'China',\n    dial_code: '+86',\n    code: 'cn',\n    asset_url: '/assets/svgs/flags/cn.svg',\n  },\n  cx: {\n    name: 'Christmas Island',\n    dial_code: '+61',\n    code: 'cx',\n    asset_url: '/assets/svgs/flags/cx.svg',\n  },\n  cc: {\n    name: 'Cocos (Keeling) Islands',\n    dial_code: '+61',\n    code: 'cc',\n    asset_url: '/assets/svgs/flags/cc.svg',\n  },\n  co: {\n    name: 'Colombia',\n    dial_code: '+57',\n    code: 'co',\n    asset_url: '/assets/svgs/flags/co.svg',\n  },\n  km: {\n    name: 'Comoros',\n    dial_code: '+269',\n    code: 'km',\n    asset_url: '/assets/svgs/flags/km.svg',\n  },\n  cg: {\n    name: 'Congo',\n    dial_code: '+242',\n    code: 'cg',\n    asset_url: '/assets/svgs/flags/cg.svg',\n  },\n  cd: {\n    name: 'Congo, The Democratic Republic of the Congo',\n    dial_code: '+243',\n    code: 'cd',\n    asset_url: '/assets/svgs/flags/cd.svg',\n  },\n  ck: {\n    name: 'Cook Islands',\n    dial_code: '+682',\n    code: 'ck',\n    asset_url: '/assets/svgs/flags/ck.svg',\n  },\n  cr: {\n    name: 'Costa Rica',\n    dial_code: '+506',\n    code: 'cr',\n    asset_url: '/assets/svgs/flags/cr.svg',\n  },\n  ci: {\n    name: \"Cote d'Ivoire\",\n    dial_code: '+225',\n    code: 'ci',\n    asset_url: '/assets/svgs/flags/ci.svg',\n  },\n  hr: {\n    name: 'Croatia',\n    dial_code: '+385',\n    code: 'hr',\n    asset_url: '/assets/svgs/flags/hr.svg',\n  },\n  cy: {\n    name: 'Cyprus',\n    dial_code: '+357',\n    code: 'cy',\n    asset_url: '/assets/svgs/flags/cy.svg',\n  },\n  cz: {\n    name: 'Czech Republic',\n    dial_code: '+420',\n    code: 'cz',\n    asset_url: '/assets/svgs/flags/cz.svg',\n  },\n  dk: {\n    name: 'Denmark',\n    dial_code: '+45',\n    code: 'dk',\n    asset_url: '/assets/svgs/flags/dk.svg',\n  },\n  dj: {\n    name: 'Djibouti',\n    dial_code: '+253',\n    code: 'dj',\n    asset_url: '/assets/svgs/flags/dj.svg',\n  },\n  dm: {\n    name: 'Dominica',\n    dial_code: '+1767',\n    code: 'dm',\n    asset_url: '/assets/svgs/flags/dm.svg',\n  },\n  do: {\n    name: 'Dominican Republic',\n    dial_code: '+1849',\n    code: 'do',\n    asset_url: '/assets/svgs/flags/do.svg',\n  },\n  ec: {\n    name: 'Ecuador',\n    dial_code: '+593',\n    code: 'ec',\n    asset_url: '/assets/svgs/flags/ec.svg',\n  },\n  eg: {\n    name: 'Egypt',\n    dial_code: '+20',\n    code: 'eg',\n    asset_url: '/assets/svgs/flags/eg.svg',\n  },\n  sv: {\n    name: 'El Salvador',\n    dial_code: '+503',\n    code: 'sv',\n    asset_url: '/assets/svgs/flags/sv.svg',\n  },\n  gq: {\n    name: 'Equatorial Guinea',\n    dial_code: '+240',\n    code: 'gq',\n    asset_url: '/assets/svgs/flags/gq.svg',\n  },\n  er: {\n    name: 'Eritrea',\n    dial_code: '+291',\n    code: 'er',\n    asset_url: '/assets/svgs/flags/er.svg',\n  },\n  ee: {\n    name: 'Estonia',\n    dial_code: '+372',\n    code: 'ee',\n    asset_url: '/assets/svgs/flags/ee.svg',\n  },\n  et: {\n    name: 'Ethiopia',\n    dial_code: '+251',\n    code: 'et',\n    asset_url: '/assets/svgs/flags/et.svg',\n  },\n  fk: {\n    name: 'Falkland Islands (Malvinas)',\n    dial_code: '+500',\n    code: 'fk',\n    asset_url: '/assets/svgs/flags/fk.svg',\n  },\n  fo: {\n    name: 'Faroe Islands',\n    dial_code: '+298',\n    code: 'fo',\n    asset_url: '/assets/svgs/flags/fo.svg',\n  },\n  fj: {\n    name: 'Fiji',\n    dial_code: '+679',\n    code: 'fj',\n    asset_url: '/assets/svgs/flags/fj.svg',\n  },\n  fi: {\n    name: 'Finland',\n    dial_code: '+358',\n    code: 'fi',\n    asset_url: '/assets/svgs/flags/fi.svg',\n  },\n  fr: {\n    name: 'France',\n    dial_code: '+33',\n    code: 'fr',\n    asset_url: '/assets/svgs/flags/fr.svg',\n  },\n  gf: {\n    name: 'French Guiana',\n    dial_code: '+594',\n    code: 'gf',\n    asset_url: '/assets/svgs/flags/gf.svg',\n  },\n  pf: {\n    name: 'French Polynesia',\n    dial_code: '+689',\n    code: 'pf',\n    asset_url: '/assets/svgs/flags/pf.svg',\n  },\n  ga: {\n    name: 'Gabon',\n    dial_code: '+241',\n    code: 'ga',\n    asset_url: '/assets/svgs/flags/ga.svg',\n  },\n  gm: {\n    name: 'Gambia',\n    dial_code: '+220',\n    code: 'gm',\n    asset_url: '/assets/svgs/flags/gm.svg',\n  },\n  ge: {\n    name: 'Georgia',\n    dial_code: '+995',\n    code: 'ge',\n    asset_url: '/assets/svgs/flags/ge.svg',\n  },\n  de: {\n    name: 'Germany',\n    dial_code: '+49',\n    code: 'de',\n    asset_url: '/assets/svgs/flags/de.svg',\n  },\n  gh: {\n    name: 'Ghana',\n    dial_code: '+233',\n    code: 'gh',\n    asset_url: '/assets/svgs/flags/gh.svg',\n  },\n  gi: {\n    name: 'Gibraltar',\n    dial_code: '+350',\n    code: 'gi',\n    asset_url: '/assets/svgs/flags/gi.svg',\n  },\n  gr: {\n    name: 'Greece',\n    dial_code: '+30',\n    code: 'gr',\n    asset_url: '/assets/svgs/flags/gr.svg',\n  },\n  gl: {\n    name: 'Greenland',\n    dial_code: '+299',\n    code: 'gl',\n    asset_url: '/assets/svgs/flags/gl.svg',\n  },\n  gd: {\n    name: 'Grenada',\n    dial_code: '+1473',\n    code: 'gd',\n    asset_url: '/assets/svgs/flags/gd.svg',\n  },\n  gu: {\n    name: 'Guam',\n    dial_code: '+1671',\n    code: 'gu',\n    asset_url: '/assets/svgs/flags/gu.svg',\n  },\n  gt: {\n    name: 'Guatemala',\n    dial_code: '+502',\n    code: 'gt',\n    asset_url: '/assets/svgs/flags/gt.svg',\n  },\n  gn: {\n    name: 'Guinea',\n    dial_code: '+224',\n    code: 'gn',\n    asset_url: '/assets/svgs/flags/gn.svg',\n  },\n  gw: {\n    name: 'Guinea-Bissau',\n    dial_code: '+245',\n    code: 'gw',\n    asset_url: '/assets/svgs/flags/gw.svg',\n  },\n  gy: {\n    name: 'Guyana',\n    dial_code: '+592',\n    code: 'gy',\n    asset_url: '/assets/svgs/flags/gy.svg',\n  },\n  ht: {\n    name: 'Haiti',\n    dial_code: '+509',\n    code: 'ht',\n    asset_url: '/assets/svgs/flags/ht.svg',\n  },\n  va: {\n    name: 'Holy See (Vatican City State)',\n    dial_code: '+379',\n    code: 'va',\n    asset_url: '/assets/svgs/flags/va.svg',\n  },\n  hn: {\n    name: 'Honduras',\n    dial_code: '+504',\n    code: 'hn',\n    asset_url: '/assets/svgs/flags/hn.svg',\n  },\n  hk: {\n    name: 'Hong Kong',\n    dial_code: '+852',\n    code: 'hk',\n    asset_url: '/assets/svgs/flags/hk.svg',\n  },\n  hu: {\n    name: 'Hungary',\n    dial_code: '+36',\n    code: 'hu',\n    asset_url: '/assets/svgs/flags/hu.svg',\n  },\n  is: {\n    name: 'Iceland',\n    dial_code: '+354',\n    code: 'is',\n    asset_url: '/assets/svgs/flags/is.svg',\n  },\n  in: {\n    name: 'India',\n    dial_code: '+91',\n    code: 'in',\n    asset_url: '/assets/svgs/flags/in.svg',\n  },\n  id: {\n    name: 'Indonesia',\n    dial_code: '+62',\n    code: 'id',\n    asset_url: '/assets/svgs/flags/id.svg',\n  },\n  iq: {\n    name: 'Iraq',\n    dial_code: '+964',\n    code: 'iq',\n    asset_url: '/assets/svgs/flags/iq.svg',\n  },\n  ie: {\n    name: 'Ireland',\n    dial_code: '+353',\n    code: 'ie',\n    asset_url: '/assets/svgs/flags/ie.svg',\n  },\n  im: {\n    name: 'Isle of Man',\n    dial_code: '+44',\n    code: 'im',\n    asset_url: '/assets/svgs/flags/im.svg',\n  },\n  il: {\n    name: 'Israel',\n    dial_code: '+972',\n    code: 'il',\n    asset_url: '/assets/svgs/flags/il.svg',\n  },\n  it: {\n    name: 'Italy',\n    dial_code: '+39',\n    code: 'it',\n    asset_url: '/assets/svgs/flags/it.svg',\n  },\n  jm: {\n    name: 'Jamaica',\n    dial_code: '+1876',\n    code: 'jm',\n    asset_url: '/assets/svgs/flags/jm.svg',\n  },\n  jp: {\n    name: 'Japan',\n    dial_code: '+81',\n    code: 'jp',\n    asset_url: '/assets/svgs/flags/jp.svg',\n  },\n  je: {\n    name: 'Jersey',\n    dial_code: '+44',\n    code: 'je',\n    asset_url: '/assets/svgs/flags/je.svg',\n  },\n  jo: {\n    name: 'Jordan',\n    dial_code: '+962',\n    code: 'jo',\n    asset_url: '/assets/svgs/flags/jo.svg',\n  },\n  kz: {\n    name: 'Kazakhstan',\n    dial_code: '+7',\n    code: 'kz',\n    asset_url: '/assets/svgs/flags/kz.svg',\n  },\n  ke: {\n    name: 'Kenya',\n    dial_code: '+254',\n    code: 'ke',\n    asset_url: '/assets/svgs/flags/ke.svg',\n  },\n  ki: {\n    name: 'Kiribati',\n    dial_code: '+686',\n    code: 'ki',\n    asset_url: '/assets/svgs/flags/ki.svg',\n  },\n  ko: {\n    name: 'Kosovo',\n    dial_code: '+383',\n    code: 'xk',\n    asset_url: '/assets/svgs/flags/xk.svg',\n  },\n  kr: {\n    name: 'Korea, Republic of South Korea',\n    dial_code: '+82',\n    code: 'kr',\n    asset_url: '/assets/svgs/flags/kr.svg',\n  },\n  kw: {\n    name: 'Kuwait',\n    dial_code: '+965',\n    code: 'kw',\n    asset_url: '/assets/svgs/flags/kw.svg',\n  },\n  kg: {\n    name: 'Kyrgyzstan',\n    dial_code: '+996',\n    code: 'kg',\n    asset_url: '/assets/svgs/flags/kg.svg',\n  },\n  la: {\n    name: 'Laos',\n    dial_code: '+856',\n    code: 'la',\n    asset_url: '/assets/svgs/flags/la.svg',\n  },\n  lv: {\n    name: 'Latvia',\n    dial_code: '+371',\n    code: 'lv',\n    asset_url: '/assets/svgs/flags/lv.svg',\n  },\n  lb: {\n    name: 'Lebanon',\n    dial_code: '+961',\n    code: 'lb',\n    asset_url: '/assets/svgs/flags/lb.svg',\n  },\n  ls: {\n    name: 'Lesotho',\n    dial_code: '+266',\n    code: 'ls',\n    asset_url: '/assets/svgs/flags/ls.svg',\n  },\n  lr: {\n    name: 'Liberia',\n    dial_code: '+231',\n    code: 'lr',\n    asset_url: '/assets/svgs/flags/lr.svg',\n  },\n  ly: {\n    name: 'Libyan Arab Jamahiriya',\n    dial_code: '+218',\n    code: 'ly',\n    asset_url: '/assets/svgs/flags/ly.svg',\n  },\n  li: {\n    name: 'Liechtenstein',\n    dial_code: '+423',\n    code: 'li',\n    asset_url: '/assets/svgs/flags/li.svg',\n  },\n  lt: {\n    name: 'Lithuania',\n    dial_code: '+370',\n    code: 'lt',\n    asset_url: '/assets/svgs/flags/lt.svg',\n  },\n  lu: {\n    name: 'Luxembourg',\n    dial_code: '+352',\n    code: 'lu',\n    asset_url: '/assets/svgs/flags/lu.svg',\n  },\n  mo: {\n    name: 'Macao',\n    dial_code: '+853',\n    code: 'mo',\n    asset_url: '/assets/svgs/flags/mo.svg',\n  },\n  mk: {\n    name: 'Macedonia',\n    dial_code: '+389',\n    code: 'mk',\n    asset_url: '/assets/svgs/flags/mk.svg',\n  },\n  mg: {\n    name: 'Madagascar',\n    dial_code: '+261',\n    code: 'mg',\n    asset_url: '/assets/svgs/flags/mg.svg',\n  },\n  mw: {\n    name: 'Malawi',\n    dial_code: '+265',\n    code: 'mw',\n    asset_url: '/assets/svgs/flags/mw.svg',\n  },\n  my: {\n    name: 'Malaysia',\n    dial_code: '+60',\n    code: 'my',\n    asset_url: '/assets/svgs/flags/my.svg',\n  },\n  mv: {\n    name: 'Maldives',\n    dial_code: '+960',\n    code: 'mv',\n    asset_url: '/assets/svgs/flags/mv.svg',\n  },\n  ml: {\n    name: 'Mali',\n    dial_code: '+223',\n    code: 'ml',\n    asset_url: '/assets/svgs/flags/ml.svg',\n  },\n  mt: {\n    name: 'Malta',\n    dial_code: '+356',\n    code: 'mt',\n    asset_url: '/assets/svgs/flags/mt.svg',\n  },\n  mh: {\n    name: 'Marshall Islands',\n    dial_code: '+692',\n    code: 'mh',\n    asset_url: '/assets/svgs/flags/mh.svg',\n  },\n  mr: {\n    name: 'Mauritania',\n    dial_code: '+222',\n    code: 'mr',\n    asset_url: '/assets/svgs/flags/mr.svg',\n  },\n  mu: {\n    name: 'Mauritius',\n    dial_code: '+230',\n    code: 'mu',\n    asset_url: '/assets/svgs/flags/mu.svg',\n  },\n  mx: {\n    name: 'Mexico',\n    dial_code: '+52',\n    code: 'mx',\n    asset_url: '/assets/svgs/flags/mx.svg',\n  },\n  fm: {\n    name: 'Micronesia, Federated States of Micronesia',\n    dial_code: '+691',\n    code: 'fm',\n    asset_url: '/assets/svgs/flags/fm.svg',\n  },\n  md: {\n    name: 'Moldova',\n    dial_code: '+373',\n    code: 'md',\n    asset_url: '/assets/svgs/flags/md.svg',\n  },\n  mc: {\n    name: 'Monaco',\n    dial_code: '+377',\n    code: 'mc',\n    asset_url: '/assets/svgs/flags/mc.svg',\n  },\n  mn: {\n    name: 'Mongolia',\n    dial_code: '+976',\n    code: 'mn',\n    asset_url: '/assets/svgs/flags/mn.svg',\n  },\n  me: {\n    name: 'Montenegro',\n    dial_code: '+382',\n    code: 'me',\n    asset_url: '/assets/svgs/flags/me.svg',\n  },\n  ms: {\n    name: 'Montserrat',\n    dial_code: '+1664',\n    code: 'ms',\n    asset_url: '/assets/svgs/flags/ms.svg',\n  },\n  ma: {\n    name: 'Morocco',\n    dial_code: '+212',\n    code: 'ma',\n    asset_url: '/assets/svgs/flags/ma.svg',\n  },\n  mz: {\n    name: 'Mozambique',\n    dial_code: '+258',\n    code: 'mz',\n    asset_url: '/assets/svgs/flags/mz.svg',\n  },\n  mm: {\n    name: 'Myanmar',\n    dial_code: '+95',\n    code: 'mm',\n    asset_url: '/assets/svgs/flags/mm.svg',\n  },\n  na: {\n    name: 'Namibia',\n    dial_code: '+264',\n    code: 'na',\n    asset_url: '/assets/svgs/flags/na.svg',\n  },\n  nr: {\n    name: 'Nauru',\n    dial_code: '+674',\n    code: 'nr',\n    asset_url: '/assets/svgs/flags/nr.svg',\n  },\n  np: {\n    name: 'Nepal',\n    dial_code: '+977',\n    code: 'np',\n    asset_url: '/assets/svgs/flags/np.svg',\n  },\n  nl: {\n    name: 'Netherlands',\n    dial_code: '+31',\n    code: 'nl',\n    asset_url: '/assets/svgs/flags/nl.svg',\n  },\n  an: {\n    name: 'Netherlands Antilles',\n    dial_code: '+599',\n    code: 'an',\n    asset_url: '/assets/svgs/flags/an.svg',\n  },\n  nc: {\n    name: 'New Caledonia',\n    dial_code: '+687',\n    code: 'nc',\n    asset_url: '/assets/svgs/flags/nc.svg',\n  },\n  nz: {\n    name: 'New Zealand',\n    dial_code: '+64',\n    code: 'nz',\n    asset_url: '/assets/svgs/flags/nz.svg',\n  },\n  ni: {\n    name: 'Nicaragua',\n    dial_code: '+505',\n    code: 'ni',\n    asset_url: '/assets/svgs/flags/ni.svg',\n  },\n  ne: {\n    name: 'Niger',\n    dial_code: '+227',\n    code: 'ne',\n    asset_url: '/assets/svgs/flags/ne.svg',\n  },\n  ng: {\n    name: 'Nigeria',\n    dial_code: '+234',\n    code: 'ng',\n    asset_url: '/assets/svgs/flags/ng.svg',\n  },\n  nu: {\n    name: 'Niue',\n    dial_code: '+683',\n    code: 'nu',\n    asset_url: '/assets/svgs/flags/nu.svg',\n  },\n  nf: {\n    name: 'Norfolk Island',\n    dial_code: '+672',\n    code: 'nf',\n    asset_url: '/assets/svgs/flags/nf.svg',\n  },\n  no: {\n    name: 'Norway',\n    dial_code: '+47',\n    code: 'no',\n    asset_url: '/assets/svgs/flags/no.svg',\n  },\n  om: {\n    name: 'Oman',\n    dial_code: '+968',\n    code: 'om',\n    asset_url: '/assets/svgs/flags/om.svg',\n  },\n  pk: {\n    name: 'Pakistan',\n    dial_code: '+92',\n    code: 'pk',\n    asset_url: '/assets/svgs/flags/pk.svg',\n  },\n  pw: {\n    name: 'Palau',\n    dial_code: '+680',\n    code: 'pw',\n    asset_url: '/assets/svgs/flags/pw.svg',\n  },\n  ps: {\n    name: 'Palestinian Territory, Occupied',\n    dial_code: '+970',\n    code: 'ps',\n    asset_url: '/assets/svgs/flags/ps.svg',\n  },\n  pa: {\n    name: 'Panama',\n    dial_code: '+507',\n    code: 'pa',\n    asset_url: '/assets/svgs/flags/pa.svg',\n  },\n  pg: {\n    name: 'Papua New Guinea',\n    dial_code: '+675',\n    code: 'pg',\n    asset_url: '/assets/svgs/flags/pg.svg',\n  },\n  py: {\n    name: 'Paraguay',\n    dial_code: '+595',\n    code: 'py',\n    asset_url: '/assets/svgs/flags/py.svg',\n  },\n  pe: {\n    name: 'Peru',\n    dial_code: '+51',\n    code: 'pe',\n    asset_url: '/assets/svgs/flags/pe.svg',\n  },\n  ph: {\n    name: 'Philippines',\n    dial_code: '+63',\n    code: 'ph',\n    asset_url: '/assets/svgs/flags/ph.svg',\n  },\n  pl: {\n    name: 'Poland',\n    dial_code: '+48',\n    code: 'pl',\n    asset_url: '/assets/svgs/flags/pl.svg',\n  },\n  pt: {\n    name: 'Portugal',\n    dial_code: '+351',\n    code: 'pt',\n    asset_url: '/assets/svgs/flags/pt.svg',\n  },\n  pr: {\n    name: 'Puerto Rico',\n    dial_code: '+1939',\n    code: 'pr',\n    asset_url: '/assets/svgs/flags/pr.svg',\n  },\n  qa: {\n    name: 'Qatar',\n    dial_code: '+974',\n    code: 'qa',\n    asset_url: '/assets/svgs/flags/qa.svg',\n  },\n  ro: {\n    name: 'Romania',\n    dial_code: '+40',\n    code: 'ro',\n    asset_url: '/assets/svgs/flags/ro.svg',\n  },\n  ru: {\n    name: 'Russia',\n    dial_code: '+7',\n    code: 'ru',\n    asset_url: '/assets/svgs/flags/ru.svg',\n  },\n  rw: {\n    name: 'Rwanda',\n    dial_code: '+250',\n    code: 'rw',\n    asset_url: '/assets/svgs/flags/rw.svg',\n  },\n  kn: {\n    name: 'Saint Kitts and Nevis',\n    dial_code: '+1869',\n    code: 'kn',\n    asset_url: '/assets/svgs/flags/kn.svg',\n  },\n  lc: {\n    name: 'Saint Lucia',\n    dial_code: '+1758',\n    code: 'lc',\n    asset_url: '/assets/svgs/flags/lc.svg',\n  },\n  vc: {\n    name: 'Saint Vincent and the Grenadines',\n    dial_code: '+1784',\n    code: 'vc',\n    asset_url: '/assets/svgs/flags/vc.svg',\n  },\n  ws: {\n    name: 'Samoa',\n    dial_code: '+685',\n    code: 'ws',\n    asset_url: '/assets/svgs/flags/ws.svg',\n  },\n  sm: {\n    name: 'San Marino',\n    dial_code: '+378',\n    code: 'sm',\n    asset_url: '/assets/svgs/flags/sm.svg',\n  },\n  st: {\n    name: 'Sao Tome and Principe',\n    dial_code: '+239',\n    code: 'st',\n    asset_url: '/assets/svgs/flags/st.svg',\n  },\n  sa: {\n    name: 'Saudi Arabia',\n    dial_code: '+966',\n    code: 'sa',\n    asset_url: '/assets/svgs/flags/sa.svg',\n  },\n  sn: {\n    name: 'Senegal',\n    dial_code: '+221',\n    code: 'sn',\n    asset_url: '/assets/svgs/flags/sn.svg',\n  },\n  rs: {\n    name: 'Serbia',\n    dial_code: '+381',\n    code: 'rs',\n    asset_url: '/assets/svgs/flags/rs.svg',\n  },\n  sc: {\n    name: 'Seychelles',\n    dial_code: '+248',\n    code: 'sc',\n    asset_url: '/assets/svgs/flags/sc.svg',\n  },\n  sl: {\n    name: 'Sierra Leone',\n    dial_code: '+232',\n    code: 'sl',\n    asset_url: '/assets/svgs/flags/sl.svg',\n  },\n  sg: {\n    name: 'Singapore',\n    dial_code: '+65',\n    code: 'sg',\n    asset_url: '/assets/svgs/flags/sg.svg',\n  },\n  sk: {\n    name: 'Slovakia',\n    dial_code: '+421',\n    code: 'sk',\n    asset_url: '/assets/svgs/flags/sk.svg',\n  },\n  si: {\n    name: 'Slovenia',\n    dial_code: '+386',\n    code: 'si',\n    asset_url: '/assets/svgs/flags/si.svg',\n  },\n  sb: {\n    name: 'Solomon Islands',\n    dial_code: '+677',\n    code: 'sb',\n    asset_url: '/assets/svgs/flags/sb.svg',\n  },\n  so: {\n    name: 'Somalia',\n    dial_code: '+252',\n    code: 'so',\n    asset_url: '/assets/svgs/flags/so.svg',\n  },\n  za: {\n    name: 'South Africa',\n    dial_code: '+27',\n    code: 'za',\n    asset_url: '/assets/svgs/flags/za.svg',\n  },\n  ss: {\n    name: 'South Sudan',\n    dial_code: '+211',\n    code: 'ss',\n    asset_url: '/assets/svgs/flags/ss.svg',\n  },\n  es: {\n    name: 'Spain',\n    dial_code: '+34',\n    code: 'es',\n    asset_url: '/assets/svgs/flags/es.svg',\n  },\n  lk: {\n    name: 'Sri Lanka',\n    dial_code: '+94',\n    code: 'lk',\n    asset_url: '/assets/svgs/flags/lk.svg',\n  },\n  sr: {\n    name: 'Suriname',\n    dial_code: '+597',\n    code: 'sr',\n    asset_url: '/assets/svgs/flags/sr.svg',\n  },\n  sz: {\n    name: 'Swaziland',\n    dial_code: '+268',\n    code: 'sz',\n    asset_url: '/assets/svgs/flags/sz.svg',\n  },\n  se: {\n    name: 'Sweden',\n    dial_code: '+46',\n    code: 'se',\n    asset_url: '/assets/svgs/flags/se.svg',\n  },\n  ch: {\n    name: 'Switzerland',\n    dial_code: '+41',\n    code: 'ch',\n    asset_url: '/assets/svgs/flags/ch.svg',\n  },\n  tw: {\n    name: 'Taiwan',\n    dial_code: '+886',\n    code: 'tw',\n    asset_url: '/assets/svgs/flags/tw.svg',\n  },\n  tj: {\n    name: 'Tajikistan',\n    dial_code: '+992',\n    code: 'tj',\n    asset_url: '/assets/svgs/flags/tj.svg',\n  },\n  tz: {\n    name: 'Tanzania, United Republic of Tanzania',\n    dial_code: '+255',\n    code: 'tz',\n    asset_url: '/assets/svgs/flags/tz.svg',\n  },\n  th: {\n    name: 'Thailand',\n    dial_code: '+66',\n    code: 'th',\n    asset_url: '/assets/svgs/flags/th.svg',\n  },\n  tl: {\n    name: 'Timor-Leste',\n    dial_code: '+670',\n    code: 'tl',\n    asset_url: '/assets/svgs/flags/tl.svg',\n  },\n  tg: {\n    name: 'Togo',\n    dial_code: '+228',\n    code: 'tg',\n    asset_url: '/assets/svgs/flags/tg.svg',\n  },\n  tk: {\n    name: 'Tokelau',\n    dial_code: '+690',\n    code: 'tk',\n    asset_url: '/assets/svgs/flags/tk.svg',\n  },\n  to: {\n    name: 'Tonga',\n    dial_code: '+676',\n    code: 'to',\n    asset_url: '/assets/svgs/flags/to.svg',\n  },\n  tt: {\n    name: 'Trinidad and Tobago',\n    dial_code: '+1868',\n    code: 'tt',\n    asset_url: '/assets/svgs/flags/tt.svg',\n  },\n  tn: {\n    name: 'Tunisia',\n    dial_code: '+216',\n    code: 'tn',\n    asset_url: '/assets/svgs/flags/tn.svg',\n  },\n  tr: {\n    name: 'Turkey',\n    dial_code: '+90',\n    code: 'tr',\n    asset_url: '/assets/svgs/flags/tr.svg',\n  },\n  tm: {\n    name: 'Turkmenistan',\n    dial_code: '+993',\n    code: 'tm',\n    asset_url: '/assets/svgs/flags/tm.svg',\n  },\n  tc: {\n    name: 'Turks and Caicos Islands',\n    dial_code: '+1649',\n    code: 'tc',\n    asset_url: '/assets/svgs/flags/tc.svg',\n  },\n  tv: {\n    name: 'Tuvalu',\n    dial_code: '+688',\n    code: 'tv',\n    asset_url: '/assets/svgs/flags/tv.svg',\n  },\n  ug: {\n    name: 'Uganda',\n    dial_code: '+256',\n    code: 'ug',\n    asset_url: '/assets/svgs/flags/ug.svg',\n  },\n  ua: {\n    name: 'Ukraine',\n    dial_code: '+380',\n    code: 'ua',\n    asset_url: '/assets/svgs/flags/ua.svg',\n  },\n  ae: {\n    name: 'United Arab Emirates',\n    dial_code: '+971',\n    code: 'ae',\n    asset_url: '/assets/svgs/flags/ae.svg',\n  },\n  gb: {\n    name: 'United Kingdom',\n    dial_code: '+44',\n    code: 'gb',\n    asset_url: '/assets/svgs/flags/gb.svg',\n  },\n  us: {\n    name: 'United States',\n    dial_code: '+1',\n    code: 'us',\n    asset_url: '/assets/svgs/flags/us.svg',\n  },\n  uy: {\n    name: 'Uruguay',\n    dial_code: '+598',\n    code: 'uy',\n    asset_url: '/assets/svgs/flags/uy.svg',\n  },\n  uz: {\n    name: 'Uzbekistan',\n    dial_code: '+998',\n    code: 'uz',\n    asset_url: '/assets/svgs/flags/uz.svg',\n  },\n  vu: {\n    name: 'Vanuatu',\n    dial_code: '+678',\n    code: 'vu',\n    asset_url: '/assets/svgs/flags/vu.svg',\n  },\n  ve: {\n    name: 'Venezuela, Bolivarian Republic of Venezuela',\n    dial_code: '+58',\n    code: 've',\n    asset_url: '/assets/svgs/flags/ve.svg',\n  },\n  vn: {\n    name: 'Vietnam',\n    dial_code: '+84',\n    code: 'vn',\n    asset_url: '/assets/svgs/flags/vn.svg',\n  },\n  vg: {\n    name: 'Virgin Islands, British',\n    dial_code: '+1284',\n    code: 'vg',\n    asset_url: '/assets/svgs/flags/vg.svg',\n  },\n  wf: {\n    name: 'Wallis and Futuna',\n    dial_code: '+681',\n    code: 'wf',\n    asset_url: '/assets/svgs/flags/wf.svg',\n  },\n  ye: {\n    name: 'Yemen',\n    dial_code: '+967',\n    code: 'ye',\n    asset_url: '/assets/svgs/flags/ye.svg',\n  },\n  zm: {\n    name: 'Zambia',\n    dial_code: '+260',\n    code: 'zm',\n    asset_url: '/assets/svgs/flags/zm.svg',\n  },\n  zw: {\n    name: 'Zimbabwe',\n    dial_code: '+263',\n    code: 'zw',\n    asset_url: '/assets/svgs/flags/zw.svg',\n  },\n};\n","import { productIdsFromSolution, SOLUTIONS_ALL } from 'embercom/lib/billing';\n\nexport default {\n  setActivePlans(planIds, products, overrideExistingPlans) {\n    if (!planIds) {\n      return;\n    } else if (typeof planIds === 'string') {\n      // This is for the case of planIds coming from trial-early-stage\n      //  Ghost Inspector tests rely on this parsing to set planIds, as QATestApps\n      //  do not get marked as early stage applicants.\n      planIds = JSON.parse(planIds);\n    }\n    return products.forEach(product => {\n      let plans = product.get('plans');\n      let productPlanIds = plans.map(plan => plan.get('id'));\n\n      let shouldModifyProductPlans = planIds.any(planId => productPlanIds.includes(planId));\n      if (shouldModifyProductPlans || overrideExistingPlans) {\n        plans.forEach(plan => {\n          plan.set('active', planIds.includes(plan.get('id')));\n        });\n      }\n    });\n  },\n\n  setActivePlansFromSolutionId(solutionId, products, proDefault) {\n    let activeProductIds = productIdsFromSolution(solutionId);\n    let activeProductPosition = proDefault ? 'last' : 'first';\n    let inActiveProductPosition = proDefault ? 'first' : 'last';\n\n    return products.forEach(product => {\n      if (activeProductIds.includes(product.get('id'))) {\n        if (product.get('plans.firstObject') === product.get('plans.lastObject')) {\n          return product.set('plans.firstObject.active', true);\n        } else {\n          product.set(`plans.${activeProductPosition}Object.active`, true);\n          product.set(`plans.${inActiveProductPosition}Object.active`, false);\n        }\n      } else {\n        product.get('plans').forEach(plan => plan.set('active', false));\n      }\n    });\n  },\n\n  setActivePlansFromFeatureName(featureName, products) {\n    return products.forEach(product => {\n      let standardPlan = product.get('plans.lastObject');\n      let standardPlanFeatures = standardPlan.get('features').map(feature => feature.get('key'));\n      if (product.get('hasOnePlan')) {\n        if (standardPlanFeatures.includes(featureName)) {\n          standardPlan.set('active', true);\n        }\n      } else {\n        let litePlan = product.get('plans.firstObject');\n        let litePlanFeatures = litePlan.get('features').map(feature => feature.get('key'));\n\n        if (standardPlanFeatures.includes(featureName)) {\n          standardPlan.set('active', true);\n          litePlan.set('active', false);\n        } else if (litePlanFeatures.includes(featureName)) {\n          litePlan.set('active', true);\n          standardPlan.set('active', false);\n        }\n      }\n    });\n  },\n\n  getSolutionData(solutionId) {\n    return SOLUTIONS_ALL.find(solution => {\n      return solution.id === parseInt(solutionId, 10);\n    });\n  },\n};\n","let PointerPositioner = function(caretOffset) {\n  this.caretOffset = caretOffset || 0;\n};\n\nPointerPositioner.prototype.standardLocations = [\n  'above',\n  'aboveWithOffset',\n  'below',\n  'belowWithOffset',\n  'right',\n  'rightWithOffset',\n  'left',\n  'leftWithOffset',\n];\n\n/**\n  Get a fixed position location to position a pointer element\n\n  @param {string} target a selector or domNode for the element you want to point at\n  @param {string} pointer a selector for the element you want to do the pointing\n  @param {string} container (optional) a selector for the bounding box, if not specified will default to viewport\n  @param {string} location (optional) either a spcific location or an array of locations in order of preference\n\n  @return {hash} Returns a hash with the following keys\n    left: The left coordinates of the pointer element\n    top:  The top coordinates of the pointer element\n    horizontalOffset: The amount the tooltip is offset from the center of the target (negative is left)\n    verticalOffset: The amount the tooltip is offset from the center of the target (negative is above)\n**/\nPointerPositioner.prototype.getPosition = function(target, pointer, container, targetLocations) {\n  targetLocations = targetLocations || this.standardLocations;\n  this._setBoundingRects(target, pointer, container);\n  this._sanityCheckBoundingRects();\n  targetLocations = Array.isArray(targetLocations) ? targetLocations.slice() : [targetLocations];\n  return this._findFittingLocation(targetLocations);\n};\n\nPointerPositioner.prototype._findFittingLocation = function(locations) {\n  let position;\n  for (let i = 0; i < locations.length; i++) {\n    position = this[`_${locations[i]}`]();\n    if (this._isInsideContainer(position)) {\n      return position;\n    }\n  }\n  throw new Error('Could not find a valid location');\n};\n\nPointerPositioner.prototype._setBoundingRects = function(target, pointer, container) {\n  this.targetRect = this._getBoundingClientRect(target);\n  this.pointerRect = this._getBoundingClientRect(pointer);\n  if (container) {\n    try {\n      this.containerRect = this._getBoundingClientRect(container);\n    } catch (e) {\n      this.containerRect = this._getBoundingClientRectForViewport();\n    }\n  } else {\n    this.containerRect = this._getBoundingClientRectForViewport();\n  }\n};\n\nPointerPositioner.prototype._sanityCheckBoundingRects = function() {\n  if (\n    this.pointerRect.width > this.containerRect.width ||\n    this.pointerRect.height > this.containerRect.height\n  ) {\n    throw new Error('Pointer must be smaller than container');\n  }\n  if (\n    this.containerRect.width > this.containerRect.width ||\n    this.pointerRect.height > this.containerRect.height\n  ) {\n    throw new Error('Target must be smaller than container');\n  }\n};\n\nPointerPositioner.prototype._above = function() {\n  return {\n    top: this.targetRect.top - (this.pointerRect.height + this.caretOffset),\n    left: this._targetHorizontalCenter() - this.pointerRect.width / 2,\n    horizontalOffset: 0,\n    verticalOffset: 0,\n    location: 'above',\n  };\n};\n\nPointerPositioner.prototype._aboveWithOffset = function() {\n  let position = this._above();\n  this._horizontalOffset(position);\n  return position;\n};\n\nPointerPositioner.prototype._below = function() {\n  return {\n    top: this.targetRect.bottom + this.caretOffset,\n    left: this._targetHorizontalCenter() - this.pointerRect.width / 2,\n    horizontalOffset: 0,\n    verticalOffset: 0,\n    location: 'below',\n  };\n};\n\nPointerPositioner.prototype._belowWithOffset = function() {\n  let position = this._below();\n  this._horizontalOffset(position);\n  return position;\n};\n\nPointerPositioner.prototype._right = function() {\n  return {\n    top: this._targetVerticalCenter() - this.pointerRect.height / 2,\n    left: this.targetRect.right + this.caretOffset,\n    horizontalOffset: 0,\n    verticalOffset: 0,\n    location: 'right',\n  };\n};\n\nPointerPositioner.prototype._rightWithOffset = function() {\n  let position = this._right();\n  this._verticalOffset(position);\n  return position;\n};\n\nPointerPositioner.prototype._left = function() {\n  return {\n    top: this._targetVerticalCenter() - this.pointerRect.height / 2,\n    left: this.targetRect.left - (this.pointerRect.width + this.caretOffset),\n    horizontalOffset: 0,\n    verticalOffset: 0,\n    location: 'left',\n  };\n};\n\nPointerPositioner.prototype._leftWithOffset = function() {\n  let position = this._left();\n  this._verticalOffset(position);\n  return position;\n};\n\nPointerPositioner.prototype._getBoundingClientRect = function(selectorOrDomNode) {\n  if (typeof selectorOrDomNode.getBoundingClientRect === 'function') {\n    return selectorOrDomNode.getBoundingClientRect();\n  }\n  let nodeList = document.querySelectorAll(selectorOrDomNode);\n  if (nodeList.length === 0) {\n    throw new Error(`Could not find element ${selectorOrDomNode}`);\n  }\n  if (nodeList.length > 1) {\n    throw new Error(`Ambiguous selector ${selectorOrDomNode}`);\n  }\n  return nodeList[0].getBoundingClientRect();\n};\n\nPointerPositioner.prototype._getBoundingClientRectForViewport = function() {\n  return {\n    width: window.innerWidth,\n    height: window.innerHeight,\n    left: 0,\n    right: window.innerWidth,\n    top: 0,\n    bottom: window.innerHeight,\n  };\n};\n\nPointerPositioner.prototype._isInsideContainer = function(position) {\n  return (\n    this._isVerticallyInsideContainer(position) && this._isHorizontallyInsideContainer(position)\n  );\n};\n\nPointerPositioner.prototype._isVerticallyInsideContainer = function(position) {\n  return this._isTopInsideContainer(position) && this._isBottomInsideContainer(position);\n};\n\nPointerPositioner.prototype._isHorizontallyInsideContainer = function(position) {\n  return this._isLeftInsideContainer(position) && this._isRightInsideContainer(position);\n};\n\nPointerPositioner.prototype._isTopInsideContainer = function(position) {\n  return position.top >= this.containerRect.top;\n};\n\nPointerPositioner.prototype._isBottomInsideContainer = function(position) {\n  return this.pointerRect.height + position.top <= this.containerRect.bottom;\n};\n\nPointerPositioner.prototype._isLeftInsideContainer = function(position) {\n  return position.left >= this.containerRect.left;\n};\n\nPointerPositioner.prototype._isRightInsideContainer = function(position) {\n  return this.pointerRect.width + position.left <= this.containerRect.right;\n};\n\nPointerPositioner.prototype._targetHorizontalCenter = function() {\n  return this.targetRect.left + this.targetRect.width / 2;\n};\n\nPointerPositioner.prototype._targetVerticalCenter = function() {\n  return this.targetRect.top + this.targetRect.height / 2;\n};\n\nPointerPositioner.prototype._horizontalOffset = function(position) {\n  let offset = 0;\n  if (!this._isLeftInsideContainer(position)) {\n    offset = this.containerRect.left - position.left;\n  } else if (!this._isRightInsideContainer(position)) {\n    offset = this.containerRect.right - (position.left + this.pointerRect.width);\n  }\n  position.left += offset;\n  position.horizontalOffset = offset;\n};\n\nPointerPositioner.prototype._verticalOffset = function(position) {\n  let offset = 0;\n  if (!this._isTopInsideContainer(position)) {\n    offset = this.containerRect.top - position.top;\n  } else if (!this._isBottomInsideContainer(position)) {\n    offset = this.containerRect.bottom - (position.top + this.pointerRect.height);\n  }\n  position.top += offset;\n  position.verticalOffset = offset;\n};\n\nexport default PointerPositioner;\n","const hasNestedPredicates = function(predicates) {\n  return predicates.any(\n    topLevelPredicate =>\n      topLevelPredicate.predicates &&\n      topLevelPredicate.predicates.any(\n        secondLevelPredicate =>\n          secondLevelPredicate.predicates && secondLevelPredicate.predicates.length > 0,\n      ),\n  );\n};\n\nexport { hasNestedPredicates };\n","const PRIMARY_NAV_OVERFLOW_SELECTOR = '[data-intercom-target=\"primary-nav-overflow-menu-opener\"]';\nconst MOUSEENTER_EVENT = new MouseEvent('mouseenter', { bubbles: true });\n\nfunction openOverflowMenu() {\n  let overflowOpener = document.querySelector(PRIMARY_NAV_OVERFLOW_SELECTOR);\n\n  if (!overflowOpener) {\n    return;\n  }\n\n  overflowOpener.dispatchEvent(MOUSEENTER_EVENT);\n}\n\nexport function openOverflowMenuIfLinkNotVisible(intercomTargetName) {\n  if (document.querySelector(`[data-intercom-target=\"${intercomTargetName}\"]`)) {\n    return;\n  }\n\n  openOverflowMenu();\n}\n","import { PRODUCT_KEYS } from 'embercom/lib/billing';\n\n// WARNING: Only use for URLs/Routes, otherwise use product IDs\n//\n// While most situations have access to an app model, some do not (invites).\n// This mapping is to allow us to generate links based on product IDs when we\n// do not have access to product models.\nexport default function productKeyFromId(id) {\n  return PRODUCT_KEYS[id];\n}\n","define(\"embercom/lib/products-from-solution-id\", [], function () {\n  \"use strict\";\n});\n","import PromiseProxyMixin from '@ember/object/promise-proxy-mixin';\nimport ArrayProxy from '@ember/array/proxy';\nexport default ArrayProxy.extend(PromiseProxyMixin);\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-jquery */\nimport { Promise as EmberPromise } from 'rsvp';\nimport $ from 'jquery';\n// A CSP compliant, promise driven alternative to jQuery's getScript\nlet removeListenersAndElement = function(element) {\n  $(element).off('load');\n  $(element).off('error');\n  element.parentNode.removeChild(element);\n};\n\nexport default function(url) {\n  return new EmberPromise((resolve, reject) => {\n    let script = document.createElement('script');\n    document.head.appendChild(script);\n    $(script).on('load', () => {\n      removeListenersAndElement(script);\n      resolve();\n    });\n    $(script).on('error', error => {\n      removeListenersAndElement(script);\n      reject(error);\n    });\n    script.asnyc = true;\n    script.type = 'text/javascript';\n    script.classList.add('test__promise-script');\n    script.src = url;\n  });\n}\n","import PromiseProxyMixin from '@ember/object/promise-proxy-mixin';\nimport ArrayProxy from '@ember/array/proxy';\nimport SortableMixin from 'embercom/lib/sortable-mixin';\nexport default ArrayProxy.extend(PromiseProxyMixin, SortableMixin);\n","import { Promise as EmberPromise } from 'rsvp';\nlet promise = function(fn) {\n  fn = fn || (() => {});\n  return new EmberPromise(function(resolve) {\n    resolve(fn());\n  });\n};\n\nexport default promise;\n","import numberFormatter from 'embercom/lib/number-formatter';\nimport numericFormatter from 'embercom/lib/numeric-formatter';\nimport { INBOX_PREMIUM_ID } from 'embercom/lib/billing';\n\nconst INBOX_TIERS = perUnitPrice => [\n  {\n    id: 1,\n    price_format: 'FlatFee',\n    starting_unit: 0,\n    ending_unit: 2,\n    price: perUnitPrice * 2,\n  },\n  {\n    id: 2,\n    price_format: 'PerUnit',\n    starting_unit: 3,\n    ending_unit: 100000,\n    price: perUnitPrice,\n  },\n];\n\nconst INBOX_PREMIUM_TIERS = perUnitPrice => [\n  {\n    id: 1,\n    price_format: 'FlatFee',\n    starting_unit: 0,\n    ending_unit: 5,\n    price: perUnitPrice * 5,\n  },\n  {\n    id: 2,\n    price_format: 'PerUnit',\n    starting_unit: 6,\n    ending_unit: 100000,\n    price: perUnitPrice,\n  },\n];\n\nexport default class PricingMetric {\n  metric;\n  usage;\n  tiers;\n  currentTier;\n  blockSize;\n  price;\n\n  constructor(\n    { pricing_metric, actual_usage, tiers, current_tier, block_size, price, per_unit_price },\n    planId,\n  ) {\n    this.metric = pricing_metric;\n    this.usage = actual_usage;\n    this.blockSize = block_size;\n    this.price = price;\n    this.perUnitPrice = per_unit_price;\n\n    // HACK since there are no tiers for `inbox_seats`, it's the single special case!\n    if (pricing_metric === 'inbox_seats') {\n      let dollarSeatPrice = per_unit_price / 100 || price;\n      this.tiers =\n        planId === parseInt(INBOX_PREMIUM_ID, 10)\n          ? INBOX_PREMIUM_TIERS(dollarSeatPrice)\n          : INBOX_TIERS(dollarSeatPrice);\n      this.currentTier = this.tiers.find(\n        tier => tier.starting_unit <= this.usage && tier.ending_unit >= this.usage,\n      );\n    } else {\n      this.tiers = tiers;\n      this.currentTier = current_tier;\n    }\n  }\n\n  get additionalPrice() {\n    return this.price - this.tiers?.firstObject?.price * 100;\n  }\n\n  get formattedAdditionalPrice() {\n    if (['latest_daily_admin_count', 'inbox_seats'].includes(this.metric)) {\n      return `${this.additionalUsage} x $${numberFormatter(this.perUnitPrice / 100)}/mo`;\n    }\n\n    return `$${numericFormatter(this.additionalPrice / 100, 2, true)}`;\n  }\n\n  get formattedTotalPrice() {\n    return `$${numericFormatter(this.price / 100, 2, true)}`;\n  }\n\n  get baseUsage() {\n    return this.tiers.firstObject?.ending_unit;\n  }\n\n  get additionalUsage() {\n    return Math.max(this.usage - this.baseUsage, 0);\n  }\n\n  get formattedUsage() {\n    return numberFormatter(this.usage);\n  }\n\n  get formattedBaseUsage() {\n    return numberFormatter(this.baseUsage);\n  }\n\n  get formattedAdditionalUsage() {\n    return numberFormatter(this.additionalUsage);\n  }\n\n  get usageInfo() {\n    return `${this.formattedUsage} ${this.pluralize(this.usage)}`;\n  }\n\n  get baseUsageInfo() {\n    return `${this.formattedBaseUsage} ${this.pluralize(this.usage)} included`;\n  }\n\n  get additionalUsageInfo() {\n    return `${this.formattedAdditionalUsage} additional ${this.pluralize(this.usage)}`;\n  }\n\n  get tierInfo() {\n    return this.tiers\n      ?.filter(({ id }) => id <= this.currentTier.id && id > 1)\n      .map(({ starting_unit, ending_unit, price, price_format }) => {\n        let value;\n\n        if (price_format === 'PerUnit') {\n          value = `$${price * this.blockSize} per ${numberFormatter(this.blockSize)}`;\n        } else if (price_format === 'FlatFee') {\n          value = `$${numericFormatter(price, 2, true)}`;\n        }\n\n        return {\n          label: `from ${numberFormatter(starting_unit)} to ${numberFormatter(ending_unit)}`,\n          value,\n          include: this.blockSize > 1,\n          small: true,\n        };\n      });\n  }\n\n  pluralize(amount) {\n    let shouldPluralize = amount === 1;\n\n    return {\n      thirty_day_messaged_contacts: 'people reached',\n      latest_daily_admin_count: shouldPluralize ? 'seat' : 'seats',\n      thirty_day_messaged_contacts_product_tours: shouldPluralize ? 'guided user' : 'guided users',\n      inbox_seats: shouldPluralize ? 'inbox seat' : 'inbox seats',\n      active_people: 'active people',\n      monthly_active_people: 'active people',\n      monthly_active_people_beta: 'active people',\n      quarterly_active_people: 'active people',\n      people_count: 'people count',\n      fixed: '',\n    }[this.metric];\n  }\n\n  get tooltipSummary() {\n    let baseUsageRow = {\n      label:\n        this.additionalUsage > 0\n          ? this.baseUsageInfo\n          : `${this.baseUsageInfo} (${this.usage} used)`,\n      include: true,\n    };\n\n    let additionalUsageRow = {\n      label: this.additionalUsageInfo,\n      value: this.formattedAdditionalPrice,\n      include: this.additionalUsage > 0, // We don't include additionalUsage unless there is some.\n    };\n\n    let tierInfoRow = this.tierInfo;\n\n    return [baseUsageRow, additionalUsageRow, ...tierInfoRow].filter(({ include }) => include);\n  }\n}\n","import { solutionIdFromMarketingSiteTab } from 'embercom/lib/billing';\nimport { camelize } from '@ember/string';\n\nexport function setPricingParamsIfEmpty(controller, transition) {\n  let referrer = document.referrer;\n  setSolutionIfEmpty(controller, transition, referrer);\n  setQueryParamIfEmpty(controller, transition, referrer, 'email');\n  setQueryParamIfEmpty(controller, transition, referrer, 'first_name');\n  setQueryParamIfEmpty(controller, transition, referrer, 'last_name');\n  setQueryParamIfEmpty(controller, transition, referrer, 'email_submission_id');\n}\n\nexport function setSolutionIfEmpty(controller, transition, referrer) {\n  if (!transition.to.queryParams.solution_id) {\n    let tab = cleanParam(referrer.split('tab=')[1]);\n    controller.set('solutionId', solutionIdFromMarketingSiteTab(tab));\n  }\n}\n\nexport function setQueryParamIfEmpty(controller, transition, referrer, key) {\n  let param = transition.to.queryParams[key] || cleanParam(referrer.split(`${key}=`)[1]);\n  if (param) {\n    controller.set(camelize(key), decodeURIComponent(param));\n  }\n}\n\nfunction cleanParam(param) {\n  if (param) {\n    return param.split('&')[0];\n  }\n  return param;\n}\n","const UNICODE_EMOJI = {\n  blush: String.fromCodePoint(0x1f60a),\n  neutral_face: String.fromCodePoint(0x1f610),\n  disappointed: String.fromCodePoint(0x1f61e),\n  thumbsup: String.fromCodePoint(0x1f44d),\n  thumbsdown: String.fromCodePoint(0x1f44e),\n  purpleHeart: String.fromCodePoint(0x1f49c),\n  sleeping: String.fromCodePoint(0x1f634),\n  party: String.fromCodePoint(0x1f389),\n};\n\nexport default [\n  { index: 0, unicodeEmoticon: UNICODE_EMOJI.purpleHeart },\n  { index: 1, unicodeEmoticon: UNICODE_EMOJI.sleeping },\n  { index: 2, unicodeEmoticon: UNICODE_EMOJI.thumbsdown },\n  { index: 3, unicodeEmoticon: UNICODE_EMOJI.party },\n];\n","export default function readableProducts(products) {\n  if (!products || products.length === 0) {\n    return;\n  }\n  let productNames = products.map(product => product.get('name'));\n  if (productNames.length === 1) {\n    return productNames[0];\n  }\n  if (productNames.length === 2) {\n    return productNames.join(' and ');\n  }\n  let endOfSentence = [`and ${productNames[productNames.length - 1]}`];\n  return productNames\n    .slice(0, -1)\n    .reduce((sentence, productName) => {\n      sentence.unshift(productName);\n      return sentence;\n    }, endOfSentence)\n    .join(', ');\n}\n","import ENV from 'embercom/config/environment';\n\nexport default function(redirectHref, transition) {\n  if (transition) {\n    transition.abort();\n  }\n  if (ENV.environment !== 'test') {\n    window.location.href = redirectHref;\n  } else {\n    console.error(`A redirect to ${redirectHref} was called`);\n  }\n}\n","import moment from 'moment';\n\nlet currentLocale = moment.locale();\n\nmoment.locale('en-abbreviated-relative-time', {\n  relativeTime: {\n    future: '%s',\n    past: '%s',\n    s: 'Now',\n    m: '1m',\n    mm: '%dm',\n    h: '1h',\n    hh: '%dh',\n    d: '1d',\n    dd: '%dd',\n    M: '1mth',\n    MM: '%dmth',\n    y: '1y',\n    yy: '%dy',\n  },\n});\n\nmoment.locale('en-abbreviated-relative-time-ago', {\n  relativeTime: {\n    future: '%s',\n    past: '%s',\n    s: 'Just now',\n    m: '1m ago',\n    mm: '%dm ago',\n    h: '1h ago',\n    hh: '%dh ago',\n    d: '1d ago',\n    dd: '%dd ago',\n    M: '1mth ago',\n    MM: '%dmth ago',\n    y: '1y ago',\n    yy: '%dy ago',\n  },\n});\n\nmoment.locale('en-full-relative-time', {\n  relativeTime: {\n    future: '%s',\n    past: '%s',\n    s: 'Just now',\n    m: '1 minute',\n    mm: '%d minutes',\n    h: '1 hour',\n    hh: '%d hours',\n    d: '1 day',\n    dd: '%d days',\n    M: '1 month',\n    MM: '%d months',\n    y: '1 year',\n    yy: '%d years',\n  },\n});\n\nmoment.locale('en-full-relative-time-ago', {\n  relativeTime: {\n    future: '%s',\n    past: '%s',\n    s: 'Just now',\n    m: '1 minute ago',\n    mm: '%d minutes ago',\n    h: '1 hour ago',\n    hh: '%d hours ago',\n    d: '1 day ago',\n    dd: '%d days ago',\n    M: '1 month ago',\n    MM: '%d months ago',\n    y: '1 year ago',\n    yy: '%d years ago',\n  },\n});\n\nmoment.locale(currentLocale);\n\nlet relativeTime = function(dateString, localeName, clampToPresent = true) {\n  let dateMoment = moment(dateString);\n  dateMoment = clampToPresent ? moment.min(dateMoment, moment()) : dateMoment;\n  return dateMoment.locale(localeName).fromNow();\n};\n\nexport default relativeTime;\n","export function moveElementInOrderedList(list, element, newIndex, orderPropertyName = 'order') {\n  let siblings = list.without(element);\n  siblings\n    .sortBy(orderPropertyName)\n    .forEach((sibling, index) =>\n      sibling.set(orderPropertyName, index >= newIndex ? index + 1 : index),\n    );\n  element.set(orderPropertyName, newIndex);\n}\n","export const MENTION_HOST = 'app.intercom.com';\n\nexport default function(body) {\n  let regex = new RegExp(\n    `<a (?:class=\\\"entity_mention\\\" )?href=\\\"(?:https:)?\\/\\/${MENTION_HOST}\\/apps\\/[0-9a-zA-Z]+\\/admin\\/([0-9]+)\\\"[^>]+>([^<]+)<\\/a>`,\n    'g',\n  );\n  return body.replace(regex, function(match, $1, $2) {\n    return `<b class=\"pl_inbox_mention_in_thread\" data-admin-id=\"${$1}\">${$2}</b>`;\n  });\n}\n","// const INBOUND_OUTBOUND = {\n//   name: 'Type',\n//   key: 'type',\n// multiple: false,\n// tense: 'present',\n// field: 'conversation.message_type',\n//   options: [\n//     { name: 'Inbound', value: 'UserMessage' },\n//     {\n//       name: 'Outbound',\n//       value:\n//         'AutoMessage',\n//         'BotAutoMessage',\n//         'ManualMessage',\n//         'CampaignMessage',\n//         'VisitorAutoMessage',\n//       ],\n//     },\n//   ],\n//   icon: 'inbox',\n// };\n\nconst CONVERSATION_STATE = {\n  name: 'Status',\n  key: 'state',\n  multiple: false,\n  tense: 'present',\n  field: 'current.conversation.state',\n  options: [\n    { name: 'Open', value: 'open' },\n    { name: 'Closed', value: 'closed' },\n    { name: 'Snoozed', value: 'snoozed' },\n  ],\n  icon: 'close-conversation',\n};\n\nconst RATING = {\n  name: 'Conversation rating',\n  key: 'conversationRating',\n  multiple: false,\n  tense: 'present',\n  field: 'current.conversation.rating',\n  options: [\n    { name: '🤩 Great', value: '5' },\n    { name: '😃 Good', value: '4' },\n    { name: '😐 Ok', value: '3' },\n    { name: '🙁 Bad', value: '2' },\n    { name: '😠 Terrible', value: '1' },\n  ],\n  icon: 'lwr-happy',\n};\n\nconst MESSAGE_TYPE = {\n  name: 'Conversation source',\n  key: 'messageType',\n  multiple: false,\n  tense: 'present',\n  field: 'conversation.message_type',\n  options: [\n    { name: 'Replied to ongoing message', value: 'AutoMessage' },\n    { name: 'New incoming message', value: 'UserMessage' },\n    { name: 'Reply to custom bot', value: 'BotAutoMessage' },\n    { name: 'Reply to email', value: 'CampaignMessage' },\n    { name: 'Replied to one-off message', value: 'ManualMessage' },\n  ],\n  icon: 'message',\n};\n\nexport const CONVERSATION_STARTED_BY = {\n  name: 'Started by',\n  key: 'messageType',\n  multiple: false,\n  tense: 'none',\n  field: 'conversation.message_type',\n  options: [\n    { name: 'Customer', value: 'UserMessage' },\n    {\n      name: 'Reply to Bot/Message',\n      value: [\n        'AutoMessage',\n        'CampaignMessage',\n        'BotAutoMessage',\n        'TriggeredMessage',\n        'VisitorAutoMessage',\n        'ManualMessage',\n        'DisplayableContent',\n      ],\n    },\n  ],\n  icon: 'conversation',\n};\n\nconst CHANNEL = {\n  name: 'Channel',\n  key: 'channel',\n  multiple: false,\n  tense: 'present',\n  field: 'conversation.channel',\n  options: [\n    { name: 'Unknown', value: 'Unknown' },\n    { name: 'Desktop', value: 'Desktop' },\n    { name: 'Mobile', value: 'Mobile' },\n    { name: 'Email', value: 'Email' },\n    { name: 'Twitter', value: 'Twitter' },\n    { name: 'Android App', value: 'Android App' },\n    { name: 'iOS App', value: 'iOS App' },\n    { name: 'Facebook Messenger', value: 'Facebook Messenger' },\n    { name: 'Facebook', value: 'Facebook' },\n    { name: 'SMS', value: 'SMS' },\n  ],\n  icon: 'computer',\n};\n\n// const HISTORIC_ROLE = {\n//   name: 'Original user role',\n//   key: 'originalUserRole',\n//   multiple: false,\n//   tense: 'present',\n//   field: 'user.role',\n//   options: [\n//     { name: 'Lead', value: 'lead' },\n//     { name: 'User', value: 'user' },\n//     { name: 'Visitor', value: 'visitor' },\n//   ],\n//   icon: 'person',\n// };\n\nconst CURRENT_ROLE = {\n  name: 'Customer role',\n  key: 'userRole',\n  multiple: false,\n  tense: 'present',\n  field: 'current.user.role',\n  options: [\n    { name: 'Lead', value: 'lead' },\n    { name: 'User', value: 'user' },\n    { name: 'Visitor', value: 'visitor' },\n  ],\n  icon: 'person',\n};\n\nconst HAS_ANSWER_BOT = {\n  name: 'Included Resolution Bot?',\n  key: 'hasAnswerBot',\n  multiple: false,\n  tense: 'present',\n  field: 'current.conversation.has_answer_bot',\n  options: [\n    { name: 'True', value: 'true' },\n    { name: 'False', value: 'false' },\n  ],\n  icon: 'command',\n};\n\nconst HAS_CUSTOM_BOT = {\n  name: 'Included Custom Bots?',\n  key: 'hasCustomBot',\n  multiple: false,\n  tense: 'present',\n  field: 'current.conversation.has_custom_bot',\n  options: [\n    { name: 'True', value: 'true' },\n    { name: 'False', value: 'false' },\n  ],\n  icon: 'command',\n};\n\nexport const CONVERSATION_TAG = (tags, counters = {}, excludeWithoutCounters = false) => {\n  let tagsWithCounters = tags.map(tag => {\n    let count = counters[tag.id];\n    return { name: tag.name, value: tag.id, count: count && count.value };\n  });\n\n  if (excludeWithoutCounters) {\n    tagsWithCounters = tagsWithCounters.filter(t => t.count);\n  }\n\n  return {\n    name: 'Conversation tag',\n    key: 'tags',\n    multiple: false,\n    tense: 'present',\n    field: 'current.conversation.tag_ids',\n    options: tagsWithCounters,\n    icon: 'tag',\n  };\n};\n\nexport const ORIGINAL_TEAMMATE_ID = teammates => ({\n  name: 'First teammate assigned',\n  key: 'originalTeammateId',\n  multiple: false,\n  tense: 'past',\n  field: 'conversation.assignee_id',\n  icon: 'owner',\n  options: teammates.map(teammate => ({ name: teammate.name, value: teammate.id })),\n});\n\nexport const ORIGINAL_INBOX_ID = teams => ({\n  name: 'First team assigned',\n  key: 'originalInbox',\n  multiple: false,\n  tense: 'past',\n  field: 'conversation.assignee_id',\n  icon: 'inbox',\n  options: teams.map(team => ({ name: team.name, value: team.id })),\n});\n\nexport const CURRENT_TEAMMATE_ID = teammates => ({\n  name: 'Teammate currently assigned',\n  key: 'currentTeammateId',\n  multiple: false,\n  tense: 'present',\n  field: 'current.conversation.assignee_id',\n  icon: 'owner',\n  options: teammates.map(teammate => ({ name: teammate.name, value: teammate.id })),\n});\n\nexport const CURRENT_INBOX_ID = teams => ({\n  name: 'Current team inbox',\n  key: 'currentInboxId',\n  multiple: false,\n  tense: 'present',\n  field: 'current.conversation.assignee_id',\n  icon: 'inbox',\n  options: teams.map(team => ({ name: team.name, value: team.id })),\n});\n\nexport const USER_TAG_IDS = tags => ({\n  key: 'userTags',\n  name: 'User tag',\n  multiple: true,\n  tense: 'present',\n  field: 'current.user.tag_ids',\n  options: tags.map(tag => ({ name: tag.name, value: tag.id })),\n  icon: 'tag',\n});\n\nexport const TEAMMATES_PARTICIPATED = teammates => ({\n  name: 'Teammate',\n  key: 'teammateParticipated',\n  multiple: false,\n  tense: 'present',\n  field: 'comment.teammate_id',\n  icon: 'person',\n  options: teammates.map(teammate => ({ name: teammate.name, value: teammate.id })),\n});\n\nexport const TEAM_PARTICIPATED = teams => ({\n  name: 'Team participated',\n  key: 'teamParticipated',\n  multiple: false,\n  tense: 'present',\n  field: 'comment.teammate_id',\n  icon: 'multiple-people',\n  options: teams.map(team => ({ name: team.name, value: team.member_ids || [] })),\n});\n\n// const USER_EMAIL_DOMAIN = {\n// multiple: false,\n// tense: 'present',\n// field: 'current.user.email_domain',\n//   options: [],\n// };\n\n// const USER_COMPANY = {\n// multiple: false,\n// tense: 'present',\n// field: 'current.user.company_id',\n//   options: [],\n// };\n\n// const MESSAGE = {\n// multiple: false,\n// tense: 'present',\n// field: 'conversation.message_id',\n//   options: [],\n// };\n\n// const URL = {\n// multiple: false,\n// tense: 'present',\n// field: 'conversation.url',\n//   options: [],\n// };\n\n// const CLOSED_COUNT = {\n// multiple: false,\n// tense: 'present',\n// field: 'current.conversation.closedCount',\n//   options: [],\n// };\n\nexport default [\n  // INBOUND_OUTBOUND,\n  MESSAGE_TYPE,\n  RATING,\n  // HISTORIC_ROLE,\n  CURRENT_ROLE,\n  CONVERSATION_STATE,\n  HAS_ANSWER_BOT,\n  HAS_CUSTOM_BOT,\n  CHANNEL,\n];\n","import { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\n\nexport default class ConversationAttributeFilters {\n  attributes = {};\n\n  constructor(attributes = {}) {\n    this.attributes = attributes;\n  }\n\n  _getDescriptor(id) {\n    return getEmberDataStore().peekRecord('conversation-attributes/descriptor', id);\n  }\n\n  updateValues(id, values, operator) {\n    if (!operator) {\n      delete this.attributes[id];\n      return;\n    }\n\n    let { dataType } = this._getDescriptor(id);\n    if (dataType) {\n      this.attributes[id] = {\n        values,\n        operator,\n        type: dataType,\n        field: 'conversation_custom_fields',\n      };\n    }\n  }\n\n  toFilterValues() {\n    return this.attributes;\n  }\n\n  toDataRequestFilterValues() {\n    return Object.entries(this.attributes)\n      .map(entry => {\n        let [id, { values, type, field }] = entry;\n        if (values.length === 1 && values[0] === REPORTING_FILTER_SELECT_ALL) {\n          return [id, { values: [], operator: 'exists', type, field }];\n        }\n        return entry;\n      })\n      .map(([id, { values, operator, type, field }]) => {\n        switch (operator) {\n          case 'category':\n          case 'not_in_category':\n            return {\n              type: operator,\n              data: [\n                { property: `${field}.field_id`, values: [id] },\n                {\n                  property: `${field}.value_${this.dataTypeToESType(type)}`,\n                  values,\n                },\n              ],\n            };\n          case 'exists':\n          case 'not_exists':\n            return {\n              type: operator,\n              data: [{ property: `${field}.field_id`, values: [id] }],\n            };\n        }\n      });\n  }\n\n  dataTypeToESType(dataType) {\n    switch (dataType) {\n      case 'list':\n        return 'list_option_id';\n      default:\n        return dataType;\n    }\n  }\n}\n","const MAXIMUM_NUMBER_OF_GROUPS = 10;\n\nexport function buildVisualizationData(chartConfig, dataResponse) {\n  // in all the following transformations we assume that there's exactly one group\n  let dataPoints = mapToDataPoints(dataResponse);\n  setLabels(dataPoints, chartConfig);\n  nullifyZeroValues(dataPoints);\n  if (chartConfig.groups[0] !== 'time') {\n    dataPoints = limitNumberOfGroups(dataPoints);\n  }\n  return dataPoints;\n}\n\nfunction mapToDataPoints(dataResponse) {\n  let group = dataResponse.groups[0];\n  let aggregation = group.aggregations[0];\n  return group.values.map((x, index) => [x, aggregation.values[index]]);\n}\n\nfunction setLabels(dataPoints, chartConfig) {\n  let mapValueToLabel = chartConfig.buildFunctionToMapGroupKeyFromDatabaseValueToDisplayName();\n  if (mapValueToLabel) {\n    for (let dataPoint of dataPoints) {\n      dataPoint[0] = mapValueToLabel(dataPoint[0]);\n    }\n  }\n}\n\nfunction nullifyZeroValues(dataPoints) {\n  for (let dataPoint of dataPoints) {\n    dataPoint[1] = dataPoint[1] === 0 ? null : dataPoint[1];\n  }\n}\n\nfunction limitNumberOfGroups(dataPoints) {\n  let limit = MAXIMUM_NUMBER_OF_GROUPS - 1;\n\n  //limit results and create 'Other' bucket\n  if (limit && dataPoints.length > limit) {\n    let result = dataPoints.slice(0, limit);\n    let totalCountOfRemovedGroups = dataPoints\n      .slice(limit)\n      .reduce((sum, dataPoint) => sum + dataPoint[1], 0);\n    result.push(['Other', totalCountOfRemovedGroups]);\n    return result;\n  }\n\n  return dataPoints;\n}\n","import { invert } from 'underscore';\n\nexport const AVAILABLE_FILTER_CONFIGS = {\n  dateRange: {\n    selectorLabel: 'Date range',\n    selectorValue: 'dateRange',\n    component: 'reporting/custom/chart-builder/filter-bar/date-filter-block',\n    icon: 'calendar',\n  },\n  continents: {\n    selectorLabel: 'Continent',\n    selectorValue: 'continents',\n    component: 'reporting/custom/chart-builder/filter-bar/continent-filter',\n    icon: 'globe',\n    isPaywalled: true,\n  },\n  countries: {\n    selectorLabel: 'Country',\n    selectorValue: 'countries',\n    component: 'reporting/custom/chart-builder/filter-bar/country-filter',\n    icon: 'globe',\n    isPaywalled: true,\n  },\n  channels: {\n    selectorLabel: 'Channel',\n    selectorValue: 'channels',\n    component: 'reporting/custom/chart-builder/filter-bar/channel-filter',\n    icon: 'multiplatform',\n    isPaywalled: true,\n  },\n  conversationTypes: {\n    selectorLabel: 'Started by',\n    selectorValue: 'conversationTypes',\n    component: 'reporting/custom/chart-builder/filter-bar/conversation-type-filter',\n    icon: 'conversation',\n  },\n  scopingTagIds: {\n    selectorLabel: 'Tag',\n    selectorValue: 'scopingTagIds',\n    component: 'reporting/custom/chart-builder/filter-bar/tag-filter',\n    icon: 'tag',\n  },\n  teammatesParticipated: {\n    selectorLabel: 'Teammate participated',\n    selectorValue: 'teammatesParticipated',\n    component: 'reporting/custom/chart-builder/filter-bar/teammate-participated-filter',\n    icon: 'person',\n  },\n  teamsParticipated: {\n    selectorLabel: 'Team participated',\n    selectorValue: 'teamsParticipated',\n    component: 'reporting/custom/chart-builder/filter-bar/team-participated-filter',\n    icon: 'multiple-people',\n  },\n  teammatesAssigned: {\n    selectorLabel: 'Teammate assigned',\n    selectorValue: 'teammatesAssigned',\n    component: 'reporting/custom/chart-builder/filter-bar/teammate-assigned-filter',\n    icon: 'person',\n  },\n  teamsAssigned: {\n    selectorLabel: 'Team assigned',\n    selectorValue: 'teamsAssigned',\n    component: 'reporting/custom/chart-builder/filter-bar/team-assigned-filter',\n    icon: 'multiple-people',\n  },\n  slas: {\n    selectorLabel: 'SLA',\n    selectorValue: 'slas',\n    component: 'reporting/custom/chart-builder/filter-bar/sla-filter',\n    icon: 'sla',\n  },\n  userType: {\n    selectorLabel: 'User type',\n    selectorValue: 'userType',\n    component: 'reporting/custom/chart-builder/filter-bar/user-type-filter',\n    icon: 'person',\n  },\n  conversationRating: {\n    selectorLabel: 'Conversation rating',\n    selectorValue: 'conversationRating',\n    component: 'reporting/custom/chart-builder/filter-bar/conversation-rating-filter',\n    icon: 'relationship',\n  },\n};\n\nimport {\n  CONVERSATION_OBJECT_IDENTIFIER,\n  TEAMMATE_REPLY_OBJECT_IDENTIFIER,\n} from 'embercom/lib/reporting/custom/object-catalog';\n\nconst SHARED_PROPERTIES_TO_FILTERS = {\n  channel_type: 'channels',\n  'user_location.country_code': 'countries',\n  'user_location.continent_code': 'continents',\n  message_subclass_type: 'conversationTypes',\n  conversation_tag_ids: 'scopingTagIds',\n  admin_participant_ids: 'teammatesParticipated',\n  $admin_participant_ids: 'teamsParticipated',\n  team_assignee_id: 'teamsAssigned',\n  user_role: 'userType',\n  'conversation_rating.rating_index': 'conversationRating',\n};\n\nconst PROPERTIES_TO_FILTERS = {\n  [CONVERSATION_OBJECT_IDENTIFIER]: {\n    admin_assignee_id: 'teammatesAssigned',\n    ...SHARED_PROPERTIES_TO_FILTERS,\n  },\n  [TEAMMATE_REPLY_OBJECT_IDENTIFIER]: {\n    teammate_id: 'teammatesAssigned',\n    ...SHARED_PROPERTIES_TO_FILTERS,\n  },\n};\n\nconst FILTERS_TO_PROPERTIES = {\n  [CONVERSATION_OBJECT_IDENTIFIER]: invert(PROPERTIES_TO_FILTERS[CONVERSATION_OBJECT_IDENTIFIER]),\n  [TEAMMATE_REPLY_OBJECT_IDENTIFIER]: invert(\n    PROPERTIES_TO_FILTERS[TEAMMATE_REPLY_OBJECT_IDENTIFIER],\n  ),\n};\n\nexport function mapFromPropertyIdentifierToFilterIdentifier(propertyIdentifier, filterableObject) {\n  return PROPERTIES_TO_FILTERS[filterableObject][propertyIdentifier];\n}\n\nexport function mapFromFilterIdentifierToPropertyIdentifier(filterIdentifier, filterableObject) {\n  return FILTERS_TO_PROPERTIES[filterableObject][filterIdentifier];\n}\n\nexport function transformFilters(filters, filterableObject) {\n  return Object.keys(filters).reduce((accum, property) => {\n    let filterKey = mapFromFilterIdentifierToPropertyIdentifier(property, filterableObject);\n    accum[filterKey] = filters[property] || [];\n    return accum;\n  }, {});\n}\n","export function buildHumanizedChartDescription(renderableChart) {\n  let name = renderableChart.metricDisplayName;\n  if (renderableChart.isGroupedByTime) {\n    name = `${name} by ${renderableChart.dateRange.interval}`;\n  } else if (renderableChart.group) {\n    let formattedGroup = renderableChart.groupDisplayName.toLowerCase();\n    name = `${name} by ${formattedGroup}`;\n  }\n  return name;\n}\n","export const CONVERSATION_OBJECT_IDENTIFIER = 'conversation';\nexport const TEAMMATE_REPLY_OBJECT_IDENTIFIER = 'teammateReply';\n\nexport const TIME_GROUP_PROPERTY = {\n  identifier: 'time',\n  humanizedName: 'Time',\n  icon: 'calendar',\n};\n\nconst METRICS = [\n  {\n    object: CONVERSATION_OBJECT_IDENTIFIER,\n    identifier: 'conversation_id',\n    humanizedName: 'Conversation volume',\n    metric: true,\n    unit: 'value',\n    displayUnit: 'conversations',\n  },\n  {\n    object: CONVERSATION_OBJECT_IDENTIFIER,\n    identifier: 'teammate_replies_count',\n    humanizedName: 'Number of teammate replies',\n    type: 'number',\n    metric: true,\n    unit: 'value',\n    displayUnit: 'teammate replies',\n  },\n  {\n    object: CONVERSATION_OBJECT_IDENTIFIER,\n    identifier: 'last_assignment_to_close_time',\n    humanizedName: 'First assignment to close time',\n    type: 'number',\n    metric: true,\n    unit: 'seconds',\n    displayUnit: null,\n    canExcludeBotAndOfficeHours: true,\n  },\n  {\n    object: CONVERSATION_OBJECT_IDENTIFIER,\n    identifier: 'first_response_time',\n    humanizedName: 'First response time',\n    type: 'number',\n    metric: true,\n    unit: 'seconds',\n    displayUnit: null,\n    canExcludeBotAndOfficeHours: true,\n  },\n  {\n    object: CONVERSATION_OBJECT_IDENTIFIER,\n    identifier: 'time_to_close_from_initial_user_part',\n    humanizedName: 'Time to close',\n    type: 'number',\n    metric: true,\n    unit: 'seconds',\n    displayUnit: null,\n    canExcludeBotAndOfficeHours: true,\n  },\n  {\n    object: CONVERSATION_OBJECT_IDENTIFIER,\n    identifier: 'reassignments_count_after_admin_reply',\n    humanizedName: 'Reassignments count after first teammate reply',\n    type: 'number',\n    metric: true,\n    unit: 'value',\n    displayUnit: null,\n  },\n  {\n    object: CONVERSATION_OBJECT_IDENTIFIER,\n    identifier: 'conversation_rating.rating_index.number',\n    humanizedName: 'Conversation rating',\n    type: 'number',\n    metric: true,\n    unit: 'value',\n    displayUnit: null,\n  },\n  {\n    object: TEAMMATE_REPLY_OBJECT_IDENTIFIER,\n    identifier: 'comment_id',\n    humanizedName: 'Reply volume',\n    unit: 'value',\n    displayUnit: 'teammate replies',\n  },\n  {\n    object: TEAMMATE_REPLY_OBJECT_IDENTIFIER,\n    identifier: 'response_time',\n    humanizedName: 'Response time',\n    type: 'number',\n    metric: true,\n    unit: 'seconds',\n    displayUnit: null,\n    canExcludeBotAndOfficeHours: true,\n  },\n];\n\nconst CONVERSATION_OBJECT = {\n  identifier: CONVERSATION_OBJECT_IDENTIFIER,\n  humanizedName: 'Conversations',\n\n  defaultTimeProperty: 'first_user_conversation_part_created_at',\n  defaultMetricProperty: 'conversation_id',\n\n  properties: [\n    {\n      identifier: 'first_user_conversation_part_created_at',\n      humanizedName: 'Conversation started at',\n      type: 'datetime',\n    },\n    {\n      identifier: 'conversation_id',\n      humanizedName: 'Count',\n      metric: true,\n      unit: 'value',\n      displayUnit: 'conversations',\n    },\n    {\n      identifier: 'teammate_replies_count',\n      humanizedName: 'Number of teammate replies',\n      type: 'number',\n      metric: true,\n      unit: 'value',\n      displayUnit: 'teammate replies',\n    },\n    {\n      identifier: 'first_admin_reply_at',\n      humanizedName: 'First teammate reply at',\n      type: 'datetime',\n    },\n    {\n      identifier: 'first_closed_at',\n      humanizedName: 'First closed at',\n      type: 'datetime',\n    },\n    {\n      identifier: 'conversation_id',\n      humanizedName: 'Conversation',\n      type: 'object',\n    },\n    {\n      identifier: 'channel_type',\n      humanizedName: 'Channel',\n      type: 'keyword',\n      filterable: true,\n      icon: 'multiplatform',\n    },\n    {\n      identifier: 'user_location.country_code',\n      humanizedName: 'Country',\n      type: 'keyword',\n      filterable: true,\n      icon: 'globe',\n    },\n    {\n      identifier: 'user_location.continent_code',\n      humanizedName: 'Continent',\n      type: 'keyword',\n      filterable: true,\n      icon: 'globe',\n    },\n    {\n      identifier: 'user_role',\n      humanizedName: 'User type',\n      type: 'keyword',\n      filterable: true,\n      icon: 'person',\n    },\n    {\n      identifier: 'message_subclass_type',\n      humanizedName: 'Started by',\n      type: 'keyword',\n      filterable: true,\n      icon: 'conversation',\n    },\n    {\n      identifier: 'conversation_tag_ids',\n      humanizedName: 'Tag',\n      type: 'keyword',\n      filterable: true,\n      icon: 'tag',\n    },\n    {\n      identifier: 'conversation_state',\n      humanizedName: 'Conversation state',\n      type: 'keyword',\n      filterable: true,\n      icon: 'following',\n    },\n    {\n      identifier: 'admin_participant_ids',\n      humanizedName: 'Teammate Participated',\n      type: 'keyword',\n      filterable: true,\n      icon: 'person',\n    },\n    {\n      identifier: '$admin_participant_ids',\n      humanizedName: 'Team participated',\n      //type: 'keyword', // I've removed the type here to indicate that we can't group by this field (since that's the only use of type right now)\n      filterable: true,\n      icon: 'person',\n    },\n    {\n      identifier: 'admin_assignee_id',\n      humanizedName: 'Teammate assigned',\n      type: 'keyword',\n      filterable: true,\n      icon: 'person',\n    },\n    {\n      identifier: 'team_assignee_id',\n      humanizedName: 'Team assigned',\n      type: 'keyword',\n      filterable: true,\n      icon: 'person',\n    },\n    {\n      identifier: 'conversation_rating.rating_index',\n      humanizedName: 'Conversation Rating',\n      type: 'keyword',\n      filterable: true,\n      icon: 'relationship',\n    },\n    ...METRICS.filter(m => m.object === CONVERSATION_OBJECT_IDENTIFIER),\n  ],\n};\n\nconst TEAMMATE_REPLY_OBJECT = {\n  identifier: TEAMMATE_REPLY_OBJECT_IDENTIFIER,\n  humanizedName: 'Teammate Replies',\n\n  defaultTimeProperty: 'comment_created_at',\n  defaultMetricProperty: 'comment_id',\n\n  properties: [\n    {\n      identifier: 'comment_created_at',\n      humanizedName: 'Reply sent at',\n      type: 'datetime',\n    },\n    {\n      identifier: 'channel_type',\n      humanizedName: 'Channel',\n      type: 'keyword',\n      filterable: true,\n      icon: 'multiplatform',\n    },\n    {\n      identifier: 'user_location.country_code',\n      humanizedName: 'Country',\n      type: 'keyword',\n      filterable: true,\n      icon: 'globe',\n    },\n    {\n      identifier: 'user_location.continent_code',\n      humanizedName: 'Continent',\n      type: 'keyword',\n      filterable: true,\n      icon: 'globe',\n    },\n    {\n      identifier: 'user_role',\n      humanizedName: 'User type',\n      type: 'keyword',\n      filterable: true,\n      icon: 'person',\n    },\n    {\n      identifier: 'message_subclass_type',\n      humanizedName: 'Started by',\n      type: 'keyword',\n      filterable: true,\n      icon: 'conversation',\n    },\n    {\n      identifier: 'conversation_tag_ids',\n      humanizedName: 'Tag',\n      type: 'keyword',\n      filterable: true,\n      icon: 'tag',\n    },\n    {\n      identifier: 'teammate_id',\n      humanizedName: 'Teammate replied (author)',\n      type: 'keyword',\n      filterable: true,\n      icon: 'person',\n    },\n    ...METRICS.filter(m => m.object === TEAMMATE_REPLY_OBJECT_IDENTIFIER),\n  ],\n};\n\nconst OBJECT_DATA = {\n  [CONVERSATION_OBJECT_IDENTIFIER]: CONVERSATION_OBJECT,\n  [TEAMMATE_REPLY_OBJECT_IDENTIFIER]: TEAMMATE_REPLY_OBJECT,\n};\n\nconst FUNCTION_AGGREGATIONS = [\n  { identifier: 'mean', humanizedName: 'Average' },\n  { identifier: 'median', humanizedName: 'Median' },\n  { identifier: 'min', humanizedName: 'Minimum' },\n  { identifier: 'max', humanizedName: 'Maximum' },\n];\n\nfunction getObject(identifier) {\n  return OBJECT_DATA[identifier];\n}\n\nexport function getObjectProperty(objectIdentifer, propertyIdentifier) {\n  return getObject(objectIdentifer).properties.find(p => p.identifier === propertyIdentifier);\n}\n\nfunction isAggregatable(propertyIdentifier) {\n  return METRICS.find(m => m.identifier === propertyIdentifier).type === 'number';\n}\n\nexport function getObjects() {\n  return Object.values(OBJECT_DATA);\n}\n\nexport function getDefaultTimeProperty(identifier) {\n  return getObject(identifier).defaultTimeProperty;\n}\n\nexport function getDefaultMetricProperty(identifier) {\n  return getObject(identifier).defaultMetricProperty;\n}\n\nexport function getDefaultMetricFunction(objectIdentifer, propertyIdentifier) {\n  if (isAggregatable(propertyIdentifier)) {\n    return FUNCTION_AGGREGATIONS[0].identifier;\n  } else {\n    return 'count';\n  }\n}\n\nexport function getDateRangeProperties(identifier) {\n  return getObject(identifier).properties.filter(p => p.type === 'datetime');\n}\n\nexport function getMetricProperties() {\n  return METRICS;\n}\n\nexport function getMetric(metricIdentifer) {\n  return METRICS.find(m => m.identifier === metricIdentifer);\n}\n\nexport function getObjectForMetric(metricIdentifer) {\n  return getMetric(metricIdentifer).object;\n}\n\nexport function getMetricFunctions(objectIdentifer, propertyIdentifier) {\n  if (isAggregatable(propertyIdentifier)) {\n    return FUNCTION_AGGREGATIONS;\n  } else {\n    return [];\n  }\n}\n\nexport function getAggregationFunction(aggregationIdentifier) {\n  return FUNCTION_AGGREGATIONS.find(a => a.identifier === aggregationIdentifier);\n}\n\nexport function getGroupableProperties(objectIdentifer) {\n  let groupableProperties = getObject(objectIdentifer).properties.filter(p => p.type === 'keyword');\n  return [TIME_GROUP_PROPERTY, ...groupableProperties];\n}\n\nexport function getFilterableProperties(objectIdentifer) {\n  return getObject(objectIdentifer).properties.filter(p => p.filterable);\n}\n","import { tracked } from '@glimmer/tracking';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\nimport Admin from 'embercom/models/admin';\n\nclass Report {\n  @tracked id;\n  @tracked name;\n  @tracked description;\n  @tracked charts;\n  @tracked updatedAt;\n  @tracked createdById;\n\n  constructor(id, name, description, charts, createdById, updatedAt) {\n    this.id = id;\n    this.name = name;\n    this.description = description;\n    this.charts = charts;\n    this.createdById = createdById;\n    this.updatedAt = updatedAt;\n  }\n\n  get createdByAdmin() {\n    if (this.createdById) {\n      return Admin.peekAndMaybeLoad(getEmberDataStore(), this.createdById);\n    } else {\n      return null;\n    }\n  }\n\n  get createdByAdminSortableName() {\n    return this.createdByAdmin ? this.createdByAdmin.name : 'Intercom';\n  }\n}\n\nconst DEFAULT_REPORTS = [\n  new Report(\n    '1',\n    'My Report',\n    'A report for tracking useful metrics about our team',\n    [],\n    null,\n    new Date(),\n  ),\n  new Report(\n    '2',\n    'Another Report',\n    'A report for tracking useful metrics about our team',\n    [],\n    '1',\n    new Date(2020, 7, 3, 9, 24, 0),\n  ),\n];\n\nexport function getReports() {\n  return DEFAULT_REPORTS;\n}\n\nexport function getReport(id) {\n  return getReports().find(r => r.id === id);\n}\n\nexport function getChart(reportId, chartId) {\n  return getReport(reportId).charts.find(c => c.id === chartId);\n}\n\nexport function addChart(reportId, chartConfig) {\n  let charts = getReport(reportId).charts;\n  let id = generateId(charts.map(c => c.id));\n  charts.pushObject({ id, config: chartConfig });\n}\n\nfunction generateId(existingIds) {\n  let id = 0;\n\n  do {\n    id = Math.floor(Math.random() * 100) + 1;\n  } while (existingIds.includes(id));\n\n  return id.toString();\n}\n\nexport function updateChart(reportId, chartId, config) {\n  let report = getReport(reportId);\n  report.charts = report.charts.map(c => {\n    if (c.id === chartId) {\n      return { id: chartId, config };\n    } else {\n      return c;\n    }\n  });\n}\n\nexport function removeChart(reportId, chartId, config) {\n  let report = getReport(reportId);\n  report.charts = report.charts.filter(c => c.id !== chartId);\n}\n","import moment from 'moment';\nimport { timeYear } from 'd3-time';\n\nexport const makeDateFormatter = ({ timezone, stride = 1, isRangeHours, isRangeDays }) => (\n  date,\n  index,\n) => {\n  if (index && index % stride !== 0) {\n    return '';\n  } else if (isRangeHours) {\n    return moment.tz(date, timezone).format('hA');\n  } else if (isRangeDays) {\n    return moment.tz(date, timezone).format('MMM D');\n  } else if (timeYear(date) < date) {\n    return moment.tz(date, timezone).format('MMM');\n  } else {\n    return moment.tz(date, timezone).format('YYYY');\n  }\n};\n\nexport default function(date, timezone, isRangeHours, isRangeDays) {\n  return makeDateFormatter({ timezone, isRangeHours, isRangeDays })(date);\n}\n","export const ES_CONVERSATION_ATTRIBUTES = {\n  teammatesParticipated: 'admin_participant_ids',\n  teamsParticipated: 'admin_participant_ids', //a list of teammate ids is passed to ES\n  scopingTagIds: 'conversation_tag_ids',\n  teammatesAssigned: 'admin_assignee_id',\n  channels: 'channel_type',\n  continents: 'user_location.continent_code',\n  countries: 'user_location.country_name',\n  conversationTypes: 'message_subclass_type',\n  teamsAssigned: 'team_assignee_id',\n  customAttributes: 'custom_attributes',\n};\n","export const PERSON_IDENTIFIED_EVENT_TYPE = {\n  'event.type': ['person_identified'],\n};\n\nexport const GROUP_BY_USER_ROLE = {\n  grouping: 'current.user.role',\n  interval: 1,\n};\n\nexport const USER_AND_LEAD_CREATED_EVENT_TYPE = {\n  'event.type': ['lead_created', 'user_created'],\n};\n\nexport const USER_CREATED_EVENT_TYPE = {\n  'event.type': ['user_created'],\n};\n\nexport const FILTER_STARTED_CONVERSATIONS = {\n  exists_fields: ['current.conversation.started_at'],\n};\n\nexport const NEW_CONVERSATIONS_EVENT_TYPE = {\n  'event.type': ['conversation_created'],\n};\n\nexport const GROUP_BY_USER_FIRST_CONVERSATION_MESSAGE_TYPE = {\n  grouping: 'user.first_conversation.message_type',\n  interval: 1,\n  missing: 'other',\n};\n\nexport const GROUP_BY_CONVERSATION_MESSAGE_TYPE = {\n  grouping: 'conversation.message_type',\n  interval: 1,\n  missing: null,\n};\n\nexport const GROUP_BY_CONVERSATION_MESSAGE_ID = {\n  grouping: 'conversation.message_id',\n  interval: 1,\n  missing: null,\n};\n\nexport const GROUP_BY_USER_ID = {\n  grouping: 'user.id',\n  interval: 1,\n  missing: null,\n};\n\nexport const FILTER_INBOUND_CONVERSATION = {\n  'conversation.message_type': ['UserMessage'],\n};\n\nexport const FILTER_AUTO_MESSAGES_CONVERSATION = {\n  'conversation.message_type': ['VisitorAutoMessage', 'AutoMessage', 'CampaignMessage'],\n};\n\nexport const FILTER_OUTBOUND_CONVERSATION = {\n  'conversation.message_type': [\n    'TriggeredMessage',\n    'BotAutoMessage',\n    'VisitorAutoMessage',\n    'AutoMessage',\n    'CampaignMessage',\n    'ManualMessage',\n  ],\n};\n\nexport const FILTER_CUSTOM_BOT_CONVERSATION = {\n  'conversation.message_type': ['BotAutoMessage', 'TriggeredMessage'],\n};\n\nexport const FILTER_CUSTOM_BOT_AND_AUTO_MESSAGES_CONVERSATION = {\n  'conversation.message_type': [\n    'BotAutoMessage',\n    'TriggeredMessage',\n    'VisitorAutoMessage',\n    'AutoMessage',\n    'CampaignMessage',\n  ],\n};\n","export const COLUMN_DATA = [\n  {\n    sectionTitle: 'Conversation information',\n    sectionSubtitle: 'Fields associated with a conversation.',\n    sectionName: 'conversation',\n    sectionIcon: 'conversation',\n    columns: [\n      {\n        name: 'title',\n        label: 'Conversation Title',\n      },\n      {\n        name: 'conversation_status',\n        label: 'Conversation status',\n        hint: 'If the conversation is open, snoozed or closed.',\n      },\n      {\n        name: 'conversation_tags',\n        label: 'Conversation tags',\n        hint: 'Which tags were assigned to the conversation',\n      },\n      {\n        name: 'created_at',\n        label: 'Created at',\n        hint: 'When the conversation was created.',\n      },\n      {\n        name: 'last_updated_at',\n        label: 'Last updated at',\n      },\n      {\n        name: 'time_zone',\n        label: 'Time Zone',\n      },\n      {\n        name: 'message_direction',\n        label: 'Inbound/Outbound',\n        hint:\n          'If the conversation was started by an auto message (outbound), or if the user started the conversation (inbound).',\n      },\n      {\n        name: 'reopened',\n        label: 'Reopened',\n        hint: 'How many times the conversation was re-opened.',\n      },\n      {\n        name: 'closed',\n        label: 'Closed',\n        hint: 'How many times the conversation was closed.',\n      },\n      {\n        name: 'rating_index',\n        label: 'Conversation rating',\n        hint: 'The rating a user/lead gave a conversation.',\n      },\n      {\n        name: 'rating_requested',\n        label: 'Conversation rating requested',\n        hint: 'If a conversation rating was requested.',\n      },\n      {\n        name: 'rating_remark',\n        label: 'Conversation rating remark',\n        hint: 'The comment a customer left with their rating.',\n      },\n    ],\n  },\n  {\n    sectionTitle: 'Customer information',\n    sectionSubtitle: 'Fields associated with a customer.',\n    sectionName: 'customer',\n    sectionIcon: 'lead-qualification',\n    columns: [\n      {\n        name: 'company_ids',\n        label: 'Company ID',\n        hint: 'The IDs for any company the lead or user is a member of in Intercom',\n      },\n      {\n        name: 'company_names',\n        label: 'Companies (name)',\n      },\n      {\n        name: 'company_tags',\n        label: 'Company tags',\n        hint: 'The tags added to companies the lead/user is a member of',\n      },\n      {\n        name: 'user_email',\n        label: 'Email address',\n        hint: \"The lead/user's email address\",\n      },\n      {\n        name: 'user_location',\n        label: 'Location',\n      },\n      {\n        name: 'user_name',\n        label: 'Name',\n        hint: 'The name of the user/lead (if you have it)',\n      },\n      {\n        name: 'user_type',\n        label: 'User Type',\n        hint: 'Whether the person is a lead or user',\n      },\n      {\n        name: 'participated_user_ids',\n        label: 'Participated (ID)',\n        hint: 'The IDs of leads/users who participated in the conversation',\n      },\n      {\n        name: 'participated_names',\n        label: 'Participated (Name)',\n        hint: 'The names of leads/users who participated in the conversation',\n      },\n      {\n        name: 'participated_emails',\n        label: 'Participated (email)',\n        hint: 'The emails of leads/users who participated in the conversation',\n      },\n      {\n        name: 'user_tags',\n        label: 'People tags',\n        hint: 'The tags added to the lead/user involved in the conversation',\n      },\n      {\n        name: 'user_id',\n        label: 'User ID',\n        hint: 'The unique ID for the lead/user involved in the conversation',\n      },\n    ],\n  },\n  {\n    sectionTitle: 'Teammate information',\n    sectionSubtitle: 'Fields associated with a teammate.',\n    sectionName: 'teammate',\n    sectionIcon: 'team',\n    columns: [\n      {\n        name: 'assignee_id',\n        label: 'Assigned to (ID)',\n        hint: 'The ID of the teammate who the conversation was most recently assigned to.',\n      },\n      {\n        name: 'assignee_name',\n        label: 'Assigned to (name)',\n        hint: 'The name of the teammate who the conversation was most recently assigned to.',\n      },\n      {\n        name: 'closed_by_id',\n        label: 'Closed by (ID)',\n        hint: 'The ID of the teammate who most recently closed the conversation.',\n      },\n      {\n        name: 'closed_by_name',\n        label: 'Closed by (name)',\n        hint: 'The name of the teammate who most recently closed the conversation.',\n      },\n      {\n        name: 'teammates_participated',\n        label: 'Teammates participated',\n        hint: 'The names of all teammates who participated in the conversation at any time.',\n      },\n      {\n        name: 'initial_response_time',\n        label: 'Time to first reply (seconds)',\n        hint: \"The time it takes a teammate to reply to a user's first message.\",\n      },\n      {\n        name: 'time_to_last_close',\n        label: 'Time to last close (seconds)',\n        hint: 'The time from when the conversation was created to the time it was last closed.',\n      },\n      {\n        name: 'teammate_replies',\n        label: 'Teammate replies',\n        hint: 'How many replies were sent to the lead/user.',\n      },\n    ],\n  },\n  {\n    sectionTitle: 'Channel',\n    sectionSubtitle: 'Fields associated with a channel.',\n    sectionName: 'channel',\n    sectionIcon: 'notification-inapp',\n    columns: [\n      {\n        name: 'channel',\n        label: 'Channel',\n        hint: 'If the user/lead was replying on desktop, mobile app or via social or email.',\n      },\n      {\n        name: 'source',\n        label: 'Source',\n        hint: 'If from an outbound message, whether it was a one-off or ongoing message.',\n      },\n    ],\n  },\n];\n\nexport const COLUMN_NAMES = ['conversation_id', 'conversation_url'].concat(\n  COLUMN_DATA.reduce(\n    (sectionAcc, section) =>\n      sectionAcc.concat(section.columns.reduce((acc, column) => acc.concat(column.name), [])),\n    [],\n  ),\n);\n","import { FILTER_PROPERTY_PLACEHOLDER } from 'embercom/components/reporting/flexible/chart';\n\nexport function articleViewsDataConfig() {\n  return {\n    source: 'events',\n    filter: {\n      type: 'and',\n      filters: [\n        {\n          type: 'category',\n          data: {\n            property: 'event.type',\n            values: ['stats_article_content_view'],\n          },\n        },\n        {\n          type: 'category',\n          data: {\n            property: 'stat_receipt.content_type',\n            values: ['article'],\n          },\n        },\n      ],\n    },\n    time: {\n      property: 'event.created_at',\n      start: FILTER_PROPERTY_PLACEHOLDER,\n      end: FILTER_PROPERTY_PLACEHOLDER,\n    },\n  };\n}\n\nexport function conversationsCreatedFromArticlesDataConfig() {\n  return {\n    source: 'events',\n    filter: {\n      type: 'and',\n      filters: [\n        {\n          type: 'category',\n          data: {\n            property: 'event.type',\n            values: ['stats_reply'],\n          },\n        },\n        {\n          type: 'category',\n          data: {\n            property: 'stat_receipt.content_type',\n            values: ['article'],\n          },\n        },\n      ],\n    },\n    time: {\n      property: 'event.created_at',\n      start: FILTER_PROPERTY_PLACEHOLDER,\n      end: FILTER_PROPERTY_PLACEHOLDER,\n    },\n  };\n}\n\nexport function negativeReactionsDataConfig() {\n  return {\n    source: 'events',\n    filter: {\n      type: 'and',\n      filters: [\n        {\n          type: 'category',\n          data: {\n            property: 'event.type',\n            values: ['stats_reaction'],\n          },\n        },\n        {\n          type: 'category',\n          data: {\n            property: 'stat_receipt.content_type',\n            values: ['article'],\n          },\n        },\n        {\n          type: 'category',\n          data: {\n            property: 'current.stat_reaction.key',\n            values: ['2'],\n          },\n        },\n      ],\n    },\n    time: {\n      property: 'event.created_at',\n      start: FILTER_PROPERTY_PLACEHOLDER,\n      end: FILTER_PROPERTY_PLACEHOLDER,\n    },\n  };\n}\n","const preferredTicksNumber = 2;\nconst desiredMaxNumberOfTicks = 5;\n\nfunction getIntervalByScale(min, max, intervals) {\n  let bestInterval = null;\n  let diff = max - min;\n  intervals.forEach(({ value }) => {\n    let potentialNumberOfTicks = Math.floor(diff / value);\n    if (\n      potentialNumberOfTicks <= desiredMaxNumberOfTicks &&\n      potentialNumberOfTicks >= preferredTicksNumber\n    ) {\n      bestInterval = value;\n      return;\n    }\n  });\n  return bestInterval;\n}\n\nclass ValueAxis {\n  intervals = [\n    { description: '1 unit', value: 1 },\n    { description: '2 units', value: 2 },\n    { description: '4 units', value: 4 },\n    { description: '5 units', value: 5 },\n    { description: '8 units', value: 8 },\n    { description: '10 units', value: 10 },\n    { description: '50 units', value: 50 },\n    { description: '100 units', value: 100 },\n    { description: '500 units', value: 500 },\n    { description: '1000 units', value: 1000 },\n    { description: '5000 units', value: 5000 },\n    { description: '10000 units', value: 10000 },\n    { description: '50000 units', value: 50000 },\n    { description: '100000 units', value: 100000 },\n    { description: '500000 units', value: 500000 },\n    { description: '1000000 units', value: 1000000 },\n    { description: '5000000 units', value: 5000000 },\n    { description: '10000000 units', value: 10000000 },\n  ];\n  interval(min, max) {\n    return getIntervalByScale(min, max, this.intervals);\n  }\n}\nclass SecondAxis {\n  intervals = [\n    { description: '1 second', value: 1 },\n    { description: '2 seconds', value: 2 },\n    { description: '5 seconds', value: 5 },\n    { description: '10 seconds', value: 10 },\n    { description: '30 seconds', value: 30 },\n    { description: '1 minute', value: 60 },\n    { description: '5 minutes', value: 60 * 5 },\n    { description: '15 minutes', value: 60 * 15 },\n    { description: '30 minutes', value: 60 * 30 },\n    { description: '45 minutes', value: 60 * 45 },\n    { description: '1 hour', value: 60 * 60 },\n    { description: '1 hour 30 minutes', value: 60 * 90 },\n    { description: '3 hours', value: 60 * 60 * 3 },\n    { description: '5 hours', value: 60 * 60 * 5 },\n    { description: '10 hours', value: 60 * 60 * 10 },\n    { description: '1 day', value: 60 * 60 * 24 },\n    { description: '2 days', value: 60 * 60 * 24 * 2 },\n    { description: '5 days', value: 60 * 60 * 24 * 5 },\n  ];\n  interval(min, max) {\n    return getIntervalByScale(min, max, this.intervals);\n  }\n}\nclass HourAxis {\n  labels = Array.from(Array(24), (d, i) => i);\n}\nclass DayAxis {\n  labels = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'];\n}\nclass PercentAxis {\n  interval(min, max) {\n    return;\n  }\n}\n\nexport default class Axis {\n  static hour = HourAxis;\n  static day = DayAxis;\n  static seconds = SecondAxis;\n  static value = ValueAxis;\n  static percent = PercentAxis;\n}\n","import ChartConfig from 'embercom/lib/reporting/flexible/default-column-chart-config';\nimport Formatters from 'embercom/lib/reporting/flexible/formatters';\nimport IntervalFormatter from 'embercom/lib/reporting/flexible/interval-formatter';\nimport Axis from 'embercom/lib/reporting/flexible/axis';\nimport moment from 'moment';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\n\nexport default class ColumnchartBuilder {\n  constructor({\n    range,\n    viewConfig,\n    xAxisType,\n    seriesColors = [PALETTE['vis-azure-50']],\n    width = '',\n    chartData = [{ data: [] }],\n    stacking,\n  }) {\n    this.range = range;\n    this.seriesColors = seriesColors;\n    this.xAxisType = xAxisType;\n    this.width = width;\n    this.chartData = chartData;\n    this.viewConfig = viewConfig;\n    this.formatter = new Formatters[this.viewConfig.formatUnit.unit](\n      this.viewConfig.formatUnit.displayUnit,\n    );\n    this.yAxisTicker = new Axis[this.viewConfig.formatUnit.unit]();\n    this.stacking = stacking;\n  }\n\n  get intervalFormatter() {\n    return new IntervalFormatter(this.range.interval);\n  }\n  buildTheme() {\n    let config = new ChartConfig(this.range.timezone);\n\n    config.setChartType('column');\n    config.setXAxisType(this.isXAxisTemporal ? 'datetime' : 'category');\n\n    if (this.isXAxisTemporal) {\n      config.setXAxisTickInterval(this.xAxisTickInterval);\n    }\n\n    config.setYAxisTickInterval(this.yAxisTickInterval);\n    config.setTooltipFormatter(this.tooltipFormatter);\n\n    if (this.isXAxisTemporal) {\n      config.setXAxisFormatter(this.xAxisFormatter);\n    } else {\n      config.setXAxisOverflow('justify');\n    }\n    // Using formatData make it work, but I think it cries out the need to split formatter for axis and tooltip\n    config.setYAxisFormatter(({ value }) => this.formatter.formatAxis(value));\n\n    config.setColors(this.seriesColors);\n    // Set colorByPoint https://api.highcharts.com/highcharts/plotOptions.column.colorByPoint\n    // only with single series and multiple colors so columns differ in colors\n    config.setColorByPoint(this.seriesColors.length > 1 && this.chartData.length === 1);\n    config.setMinimumPointLength(4);\n\n    if (this.stacking) {\n      config.setColumnStacking(this.stacking);\n    }\n\n    return config.config;\n  }\n\n  get xAxisTickInterval() {\n    if (this.isIntervalHourly) {\n      return 3600 * 1000;\n    } else if (this.isIntervalDaily) {\n      return 24 * 3600 * 1000;\n    } else if (this.isIntervalWeekly) {\n      return 24 * 3600 * 1000 * 7;\n    } else {\n      return 24 * 3600 * 1000 * 30;\n    }\n  }\n\n  get yAxisTickInterval() {\n    let maxValue = 0;\n    let minValue = 0;\n\n    this.chartData.forEach(graphData => {\n      graphData.data.forEach(timestampWithValue => {\n        if (timestampWithValue[1] > maxValue) {\n          maxValue = Math.round(timestampWithValue[1]);\n        }\n\n        if (timestampWithValue[1] < minValue) {\n          minValue = Math.round(timestampWithValue[1]);\n        }\n      });\n    });\n\n    let diff = maxValue - minValue;\n    if (diff === 0) {\n      return 5; // Used to split the yAxis.softMax option of Highcharts into even ticks when we don't have data.\n    }\n    return this.yAxisTicker.interval(minValue, maxValue);\n  }\n\n  get xAxisFormatter() {\n    let config = this;\n\n    return function() {\n      let currentLabel = moment.tz(this.value, this.chart.options.time.timezone);\n      let format = 'MMM D';\n      let maxLabelsForSmallWidths = 8;\n\n      if (config.isIntervalHourly) {\n        if (config.width === 'small' && parseInt(currentLabel.format('H'), 10) % 3 !== 0) {\n          return '';\n        } else {\n          format = 'hA';\n        }\n      }\n\n      if (\n        config.isIntervalDaily &&\n        config.width === 'small' &&\n        config.range.endMoment.diff(config.range.startMoment) >\n          maxLabelsForSmallWidths * 1000 * 60 * 60 * 24\n      ) {\n        if (config.range.startMoment.diff(currentLabel, 'days') % 2 !== 0) {\n          return '';\n        }\n      }\n\n      if (\n        config.isIntervalWeekly &&\n        config.range.endMoment.diff(config.range.startMoment) >\n          maxLabelsForSmallWidths * 1000 * 60 * 60 * 24 * 7\n      ) {\n        let firstLabel = config.range.startMoment.startOf('isoWeek');\n\n        if (config.width === 'small' && firstLabel.diff(currentLabel, 'days') % 14 !== 0) {\n          return '';\n        }\n      }\n\n      if (config.isIntervalMonthly) {\n        if (config.width === 'small' && parseInt(currentLabel.format('M'), 10) % 2 !== 1) {\n          return '';\n        } else {\n          format = 'MMM';\n        }\n      }\n\n      return currentLabel.format(format);\n    };\n  }\n\n  get tooltipFormatter() {\n    let config = this;\n    let isXAxisTemporal = this.isXAxisTemporal;\n    let groupingTransformation = this.viewConfig.grouping?.tooltipTransformation;\n\n    return function() {\n      let timezone = this.series.chart.options.time.timezone;\n      let valuePart = `<strong>${config.formatter.formatTooltip(\n        this.y,\n        this.series.options.tooltipDisplayUnit,\n      )}</strong><br/>`;\n      let datePart;\n\n      if (isXAxisTemporal) {\n        datePart = config.intervalFormatter.datePart(this.point.name, timezone);\n      } else if (groupingTransformation) {\n        datePart = groupingTransformation(this.point, this.series);\n      } else {\n        datePart = this.point.name;\n      }\n\n      let cssClass = 'reporting__highcharts-tooltip';\n\n      // Check if we are in a 2 series time comparison chart\n      // and we are on the previous series\n      if (\n        this.series.options.isComparison &&\n        this.series.chart.series.length === 2 &&\n        this.series.index === 0\n      ) {\n        cssClass += ' reporting__report-tab-tooltip__title';\n      }\n\n      return `<div class='${cssClass}'>${valuePart}(${datePart})</div>`;\n    };\n  }\n\n  get isIntervalHourly() {\n    return this.range.interval === 'hour';\n  }\n\n  get isIntervalDaily() {\n    return this.range.interval === 'day';\n  }\n\n  get isIntervalWeekly() {\n    return this.range.interval === 'week';\n  }\n\n  get isIntervalMonthly() {\n    return this.range.interval === 'month';\n  }\n\n  get isXAxisTemporal() {\n    return this.xAxisType === 'temporal';\n  }\n}\n","export const MEDIAN = 'median';\nexport const MEAN = 'mean';\nexport const MAX = 'max';\nexport const MIN = 'min';\nexport const COUNT = 'count';\nexport const CARDINALITY = 'cardinality';\nexport const RANGE = 'range';\nexport const SORTING_LABEL_NAME = 'label_name';\n\nexport const REPORTING_FILTER_SELECT_ALL = 'any';\n\nexport const CONVERSATION_CREATED_AT = 'conversation_created_at';\nexport const CONVERSATION_CREATED_AT_DAY_OF_WEEK = 'conversation_created_at_day_of_week';\nexport const COMMENT_CREATED_AT = 'comment_created_at';\nexport const COMMENT_CREATED_AT_DAY_OF_WEEK = 'comment_created_at_day_of_week';\nexport const TEAMMATE_RESPONSE_TIME = 'response_time';\nexport const COUNTRY = 'user_location.country_name';\nexport const CONTINENT = 'user_location.continent_code';\nexport const GEO_GROUPING_LIMIT = 10;\nexport const COUNTRY_GROUPING_TERM_SIZE = 1024;\nexport const CONTINENT_GROUPING_TERM_SIZE = 7;\nexport const FIRST_USER_CONVERSATION_PART_CREATED_AT = 'first_user_conversation_part_created_at';\nexport const FIRST_USER_CONVERSATION_PART_CREATED_AT_DAY_OF_WEEK =\n  'first_user_conversation_part_created_at_day_of_week';\nexport const MAX_FIRST_USER_CONVERSATION_PART_CREATED_AT_DAY_OF_WEEK =\n  'max_first_user_conversation_part_created_at_day_of_week';\nexport const FIRST_CLOSED_AT = 'first_closed_at';\nexport const FIRST_REOPENED_AT = 'first_reopened_at';\nexport const STATE_START = 'state_start';\nexport const CLOSE_DATE = 'close_date';\nexport const MEETING_BOOKED_AT = 'meeting_booked_at';\nexport const IS_RESOLVED_FIRST_CONTACT = 'is_resolved_first_contact';\nexport const CLUSTERED_TEAMMATE_REPLIES_COUNT = 'clustered_teammate_replies_count';\nexport const CONVERSATION_STATE = 'conversation_state';\nexport const NEW_CONVERSATION_STATE = 'new_conversation_state';\nexport const PREVIOUS_CONVERSATION_STATE = 'previous_conversation_state';\nexport const FIRST_ADMIN_REPLY_AT = 'first_admin_reply_at';\nexport const CONVERSATION_ID = 'conversation_id';\nexport const REASSIGNMENTS_COUNT_AFTER_ADMIN_REPLY = 'reassignments_count_after_admin_reply';\nexport const ASSIGNMENT_BEFORE_FIRST_ADMIN_REPLY_TIME = 'assignment_before_first_admin_reply_time';\nexport const LAST_ASSIGNMENT_TO_CLOSE_TIME = 'last_assignment_to_close_time';\nexport const LAST_TEAM_ASSIGNED_BEFORE_REPLY = 'last_team_assigned_before_first_admin_reply';\n\nexport const COMMENT_TEAM_ASSIGNED = 'comment_team_assignee_id';\nexport const TEAM_GROUPING_TERM_SIZE = 10000; //limits ES aggregation\nexport const TEAM_GROUPING_LIMIT = 10; //limits the legend\n\nexport const AVAILABLE_CONTINENT_MAPPINGS = {\n  AF: 'Africa',\n  AN: 'Antarctica',\n  AS: 'Asia',\n  EU: 'Europe',\n  NA: 'North America',\n  OC: 'Oceania',\n  SA: 'South America',\n};\n\nexport const AVAILABLE_CHANNEL_MAPPINGS = {\n  Desktop: 'Chat',\n  Push: 'Mobile Push',\n};\n\nexport const COUNTRY_ALIASES = {\n  Unknown: 'Other',\n  'Russian Federation': 'Russia',\n  'Republic of Lithuania': 'Lithuania',\n  'Iran, Islamic Republic of': 'Iran',\n  'Republic of Moldova': 'Moldova',\n  'Moldova, Republic of': 'Moldova',\n  'Korea, Republic of': 'Republic of Korea',\n  'Republic of the Congo': 'Congo',\n  'DR Congo': 'Democratic Republic of the Congo',\n  'Congo, The Democratic Republic of the': 'Democratic Republic of the Congo',\n};\n\nexport const COUNTRY_NAME_TO_VALUE_LOOKUP = aggregateCountryNamesToArray(COUNTRY_ALIASES);\n\nexport const CHANNEL_GROUPING_TERM_SIZE = 7;\nexport const CHANNEL = 'channel_type';\nexport const CHANNEL_GROUPING_LIMIT = 100;\n\n// Return a hash of 'public label' => [values], with `values` being the accumulated list of acceptable names for a country\n// i.e. {'France, Republic of': 'France', 'Republic of France': 'France'} will produce { 'France': ['France', 'Republic of France', 'France, Republic of'] }\nfunction aggregateCountryNamesToArray(countries) {\n  return Object.keys(countries).reduce((acc, key) => {\n    let expectedName = countries[key];\n    if (acc[expectedName]) {\n      acc[expectedName].push(key);\n    } else {\n      acc[expectedName] = [expectedName, key];\n    }\n\n    return acc;\n  }, {});\n}\n\nexport const INBOUND = 'inbound';\nexport const INBOUND_TEXT = 'Customer';\nexport const OUTBOUND = 'outbound';\nexport const OUTBOUND_TEXT = 'Reply to Bot/Message';\nexport const CONVERSATION_TYPE_MAPPINGS = {\n  [INBOUND]: ['UserMessage'],\n  [OUTBOUND]: [\n    'BotAutoMessage',\n    'VisitorAutoMessage',\n    'AutoMessage',\n    'TriggeredMessage',\n    'ManualMessage',\n    'CampaignMessage',\n    'DisplayableContent',\n  ],\n};\n","import { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\n// This is a utility class to simplify manipulating conversation\n// custom attributes when using the flexible reporting dashboards\nexport default class CustomAttributes {\n  attributes = {};\n\n  constructor(queryParamValue) {\n    try {\n      this.attributes = JSON.parse(queryParamValue || '{}');\n      if (this.attributes instanceof Array) {\n        this.attributes = {};\n      }\n    } catch (e) {\n      console.error(`Failed to parse custom attribute JSON: ${queryParamValue}`);\n      this.attributes = {};\n    }\n  }\n\n  getAttributes(id) {\n    return this.attributes[id];\n  }\n\n  getOperator(id) {\n    return this.attributes[id]?.operator;\n  }\n\n  _getDescriptor(id) {\n    return getEmberDataStore().peekRecord('conversation-attributes/descriptor', id);\n  }\n\n  updateValues(id, values, operator) {\n    if (!operator) {\n      delete this.attributes[id];\n      return;\n    }\n\n    let { dataType } = this._getDescriptor(id);\n    if (dataType) {\n      this.attributes[id] = {\n        values,\n        operator,\n        type: dataType,\n        field: 'conversation_custom_fields',\n      };\n    }\n  }\n\n  // Return the attributes object with all keys with an \"any\" value removed, e.g.:\n  //   { \"1\":\n  //     { values: [1, 2, 3], operator: 'category' },\n  //     \"2\":\n  //     { values: [\"any\"], operator: 'category' }\n  //   }\n  // is converted to:\n  //   { \"1\":\n  //     { values: [1, 2, 3], operator: 'category'}\n  //   }\n  toFilterValues() {\n    let cleanedAttributes = Object.assign({}, this.attributes);\n    /* eslint-disable guard-for-in */\n    for (let id in this.attributes) {\n      let values = this.attributes[id].values;\n      if (values.length === 1 && values[0] === REPORTING_FILTER_SELECT_ALL) {\n        delete cleanedAttributes[id];\n      }\n    }\n\n    return cleanedAttributes;\n  }\n\n  clone() {\n    return new CustomAttributes(this.toString());\n  }\n\n  toString() {\n    return JSON.stringify(this.attributes);\n  }\n}\n","import { isEmpty } from 'underscore';\n\n// There is similiar file in intercom codebase that should be reflected 1:1 in terms of how it works.\n// We use file in the ruby codebase to translate data config for sharing reports.\n// You can find this file over here:\n// https://github.com/intercom/intercom/blob/master/app/services/reporting_service/flexible/data_config_translator.rb\nexport default class DataRequestBuilder {\n  constructor({ dataInputConfiguration }) {\n    this.dataInputConfiguration = dataInputConfiguration;\n  }\n\n  convert() {\n    // do we need to validate configuration here??? let's skip it for now\n\n    // convert xAxis into the outer group\n    let xGroup = this.convertAxis(this.dataInputConfiguration.xAxis);\n\n    let yGroup = this.dataInputConfiguration.yAxis\n      ? this.convertAxis(this.dataInputConfiguration.yAxis)\n      : {};\n\n    // convert global filters (cloning them since the definition is the same)\n    let globalFilters =\n      this.dataInputConfiguration.filter && Object.assign(this.dataInputConfiguration.filter, {});\n\n    // convert series into aggregations; extract filters and name\n    let seriesData = this.dataInputConfiguration.series.map(s => this.convertSeries(s));\n\n    // converting each series into a separate data request object\n    let dataRequests = seriesData.map(s =>\n      this.convertSeriesIntoDataRequest({\n        name: s.name,\n        time: s.time,\n        aggregation: s.aggregation,\n        filters: s.filters,\n        source: s.source,\n        globalFilters,\n        xGroup: { ...xGroup },\n        yGroup,\n      }),\n    );\n\n    return dataRequests;\n  }\n\n  // --------------------------------------------------------------------------------\n  // --- AXIS PARSERS ---\n  AXIS_PARSER_FUNCTIONS = {\n    temporal: this.temporalAxisParser,\n    nominal: this.nominalAxisParser,\n  };\n\n  temporalAxisParser(axis) {\n    return {\n      type: 'time',\n      data: Object.assign(axis.data, {}),\n    };\n  }\n\n  nominalAxisParser(axis) {\n    return {\n      type: 'term',\n      data: Object.assign(axis.data, {}),\n    };\n  }\n\n  convertAxis(axis) {\n    if (!axis) {\n      return {};\n    }\n\n    return this.AXIS_PARSER_FUNCTIONS[axis.type](axis);\n  }\n  // --------------------------------------------------------------------------------\n  // SERIES PARSERS\n\n  SERIES_PARSER_FUNCTIONS = {\n    mean: this.genericSeriesParser,\n    max: this.genericSeriesParser,\n    min: this.genericSeriesParser,\n    median: this.medianSeriesParser,\n    count: this.countSeriesParser,\n    cardinality: this.cardinalitySeriesParser,\n    range: this.rangeSeriesParser,\n  };\n\n  medianSeriesParser(series) {\n    return {\n      type: 'percentile',\n      data: {\n        property: series.data.property,\n        value: 50,\n      },\n    };\n  }\n\n  genericSeriesParser(series) {\n    // mean, max, min definitions are the same\n    return {\n      type: series.type,\n      data: Object.assign(series.data, {}),\n    };\n  }\n\n  countSeriesParser(series) {\n    return {\n      type: 'count',\n      data: {\n        property: series.data.property,\n      },\n    };\n  }\n\n  cardinalitySeriesParser(series) {\n    return {\n      type: 'cardinality',\n      data: {\n        property: series.data.property,\n      },\n    };\n  }\n\n  rangeSeriesParser(series) {\n    return {\n      type: 'range',\n      data: {\n        property: series.data.property,\n        ranges: series.data.ranges,\n      },\n    };\n  }\n\n  convertSeries(series) {\n    let name = series.name;\n    let filters = series.filter;\n    let time = series.time;\n    let aggregation = this.SERIES_PARSER_FUNCTIONS[series.type](series);\n    let source = series.source;\n\n    return {\n      name,\n      time,\n      filters,\n      aggregation,\n      source,\n    };\n  }\n  // --------------------------------------------------------------------------------\n  // FINAL PARSERS\n\n  mergeGroupAndAggregations(group, aggregation) {\n    group.aggregations = [aggregation];\n    return group;\n  }\n\n  mergeFilters(globalFilters, filters) {\n    // for now, filters are merged with AND boolean operator\n    if (isEmpty(globalFilters)) {\n      return filters;\n    } else if (isEmpty(filters)) {\n      return globalFilters;\n    } else {\n      return {\n        type: 'and',\n        filters: [globalFilters, filters],\n      };\n    }\n  }\n\n  convertSeriesIntoDataRequest(seriesPayload) {\n    this.validateSeriesPayload(seriesPayload);\n    let finalFilter = this.mergeFilters(seriesPayload.globalFilters, seriesPayload.filters);\n\n    let basePayload = {\n      name: seriesPayload.name,\n      source: seriesPayload.source,\n    };\n\n    if (finalFilter) {\n      basePayload.filter = finalFilter;\n    }\n\n    let hasXGroup = Object.keys(seriesPayload.xGroup).length !== 0;\n    let hasYGroup = Object.keys(seriesPayload.yGroup).length !== 0;\n    let payload = { ...basePayload };\n\n    if (hasYGroup) {\n      payload = {\n        ...payload,\n        groups: [this.mergeGroupAndAggregations(seriesPayload.yGroup, seriesPayload.aggregation)],\n      };\n    }\n    if (hasXGroup) {\n      // In case this is a nested group\n      if (payload.groups?.length > 0) {\n        seriesPayload.xGroup.groups = payload.groups;\n        payload = {\n          ...payload,\n          groups: [seriesPayload.xGroup],\n        };\n      } else {\n        payload = {\n          ...payload,\n          groups: [this.mergeGroupAndAggregations(seriesPayload.xGroup, seriesPayload.aggregation)],\n        };\n      }\n    }\n\n    if (!hasXGroup && !hasYGroup) {\n      payload = { ...payload, aggregations: [seriesPayload.aggregation] };\n    }\n\n    if (seriesPayload.time) {\n      payload = { ...payload, time: seriesPayload.time };\n    }\n\n    return payload;\n  }\n\n  validateSeriesPayload(seriesPayload) {\n    if (!seriesPayload.source) {\n      throw new Error(\n        `No source specified for series ${seriesPayload.name}. Source must be specified within each series.`,\n      );\n    }\n  }\n}\n","import PALETTE from '@intercom/embercom-core/lib/palette';\nimport Tooltip from 'embercom/lib/reporting/flexible/tooltip';\nimport { copy } from 'ember-copy';\nimport DefaultHighchartConfig from 'embercom/lib/reporting/flexible/default-highchart-config';\n\nconst config = {\n  title: '',\n  credits: false,\n  legend: {\n    enabled: true,\n    align: 'center',\n    margin: 27,\n    layout: 'horizontal',\n    labelFormat: '{userOptions.legendLabel}',\n    itemHoverStyle: { color: null, cursor: null },\n    itemStyle: {\n      fontSize: '12px',\n      fontWeight: 'normal',\n      color: '#737376',\n    },\n  },\n  chart: {\n    spacingLeft: 3,\n    // the height is also used to define the min-height of the spinner\n    // please reflect any changes in app/styles/structures/reporting/_flexible.scss\n    height: 325,\n    style: {\n      fontFamily:\n        'system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif',\n      fontSize: '12px',\n      color: '#78909c',\n    },\n    spacingBottom: 0,\n  },\n  xAxis: [\n    {\n      lineColor: 'transparent',\n      type: 'datetime',\n      dateTimeLabelFormats: {\n        hour: '%l%p',\n        day: '%b %e',\n        week: '%b %e',\n      },\n      offset: 7,\n      tickLength: 0,\n      labels: {\n        rotation: 0,\n        overflow: 'allow',\n        style: {\n          color: PALETTE.gray,\n          fontSize: '12px',\n        },\n      },\n    },\n  ],\n  yAxis: [\n    {\n      softMax: 2, // Used in cases where we have no data, the chart defaults to yAxis max so it looks visually \"correct\".\n      allowDecimals: false,\n      gridLineColor: '#f2f2f2',\n      offset: 10,\n      endOnTick: false,\n      title: {\n        enabled: false,\n      },\n      labels: {\n        style: {\n          color: PALETTE.gray,\n          fontSize: '12px',\n        },\n      },\n    },\n  ],\n  plotOptions: {\n    column: {\n      maxPointWidth: 32,\n      stickyTracking: false,\n      states: {\n        hover: {\n          enabled: false,\n        },\n      },\n    },\n    columnrange: {\n      states: {\n        hover: {\n          enabled: false,\n        },\n      },\n    },\n    series: {\n      states: {\n        inactive: {\n          opacity: 1,\n        },\n        hover: {\n          enabled: false,\n        },\n      },\n      events: {\n        legendItemClick: () => false,\n      },\n    },\n  },\n  tooltip: new Tooltip({\n    shadow: {\n      color: '#f1f1f1',\n      offsetX: 0,\n      offsetY: 0,\n      opacity: 1,\n      width: 6,\n    },\n  }),\n};\n\nexport default class FlexibleColumnChartConfig extends DefaultHighchartConfig {\n  constructor(timezone) {\n    super();\n    this.config = copy(config, true);\n    this.setTimezone(timezone);\n  }\n\n  setXAxisTickInterval(interval) {\n    this.config.xAxis[0].tickInterval = interval;\n  }\n\n  setXAxisOverflow(overflow) {\n    this.config.xAxis[0].labels.overflow = overflow;\n  }\n\n  setYAxisTickInterval(interval) {\n    this.config.yAxis[0].tickInterval = interval;\n  }\n\n  setMinimumPointLength(px) {\n    this.config.plotOptions.series['minPointLength'] = px;\n  }\n\n  setColumnStacking(stackOption) {\n    this.config.plotOptions.column.stacking = stackOption;\n    this.config.plotOptions.column.borderWidth = 0;\n    this.config.yAxis[0].reversedStacks = false;\n  }\n\n  setColorByPoint(value) {\n    this.config.plotOptions.column.colorByPoint = value;\n  }\n}\n","import DefaultHighchartConfig from 'embercom/lib/reporting/flexible/default-highchart-config';\nimport Tooltip from 'embercom/lib/reporting/flexible/tooltip';\nimport { copy } from 'ember-copy';\n\nconst config = {\n  title: '',\n  credits: false,\n  chart: {\n    type: 'heatmap',\n    marginTop: 20,\n    marginBottom: 100,\n    plotBorderWidth: 0,\n    style: {\n      fontFamily:\n        'system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif',\n      fontSize: '12px',\n    },\n  },\n  colorAxis: {\n    min: 0,\n  },\n  plotOptions: {\n    series: {\n      dataLabels: {\n        enabled: true,\n        style: {\n          textOutline: 'none',\n        },\n      },\n    },\n  },\n\n  legend: {\n    align: 'center',\n    layout: 'horizontal',\n    verticalAlign: 'bottom',\n    y: 20,\n    symbolHeight: 25,\n  },\n  tooltip: new Tooltip(),\n};\n\nexport default class FlexibleDefaultChartConfig extends DefaultHighchartConfig {\n  constructor(timezone) {\n    super();\n    this.config = copy(config, true);\n    this.setTimezone(timezone);\n  }\n  setXAxis(xAxis) {\n    this.config.xAxis = xAxis;\n  }\n\n  setYAxis(yAxis) {\n    this.config.yAxis = yAxis;\n  }\n\n  setColors(colors) {\n    this.config.colors = colors;\n    this.config.colorAxis = { ...this.config.colorAxis, ...colors[0] };\n  }\n\n  setTickPositioner(tickPositioner) {\n    this.config.colorAxis.tickPositioner = tickPositioner;\n  }\n\n  setDataLabelFormatter(formatter) {\n    this.config.plotOptions.series.dataLabels.formatter = formatter;\n  }\n  setLegendFormatter(formatter) {\n    this.config.colorAxis.labels = {\n      formatter,\n    };\n  }\n}\n","export default class DefaultHighchartConfig {\n  setXAxisFormatter(fn) {\n    this.config.xAxis[0].labels.formatter = fn;\n  }\n\n  setYAxisFormatter(fn) {\n    this.config.yAxis[0].labels.formatter = fn;\n  }\n\n  setTooltipFormatter(fn) {\n    this.config.tooltip.formatter = fn;\n  }\n\n  setTimezone(timezone) {\n    this.config.time = { timezone };\n  }\n\n  setChartType(type) {\n    this.config.chart.type = type;\n  }\n\n  setColors(colors) {\n    this.config.colors = colors;\n  }\n\n  setXAxisType(type) {\n    this.config.xAxis[0].type = type;\n\n    if (type === 'datetime') {\n      this.config.plotOptions.column.keys = ['x', 'y', 'name'];\n    } else {\n      this.config.plotOptions.column.keys = undefined;\n    }\n  }\n}\n","import { copy } from 'ember-copy';\nimport DefaultHighchartConfig from 'embercom/lib/reporting/flexible/default-highchart-config';\nimport Tooltip from 'embercom/lib/reporting/flexible/tooltip';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\n\nconst config = {\n  title: '',\n  credits: false,\n  legend: {\n    enabled: true,\n    align: 'center',\n    margin: 27,\n    layout: 'horizontal',\n    itemHoverStyle: { color: null, cursor: 'pointer' },\n    symbolPadding: 1,\n    itemMarginBottom: 5,\n    itemStyle: {\n      fontSize: '12px',\n      fontWeight: 'normal',\n      color: '#737376',\n    },\n  },\n  xAxis: [\n    {\n      lineColor: 'transparent',\n      type: 'datetime',\n      dateTimeLabelFormats: {\n        hour: '%l%p',\n        day: '%b %e',\n        week: '%b %e',\n      },\n      offset: 7,\n      tickLength: 0,\n      labels: {\n        rotation: 0,\n        overflow: 'allow',\n        style: {\n          color: PALETTE.gray,\n          fontSize: '12px',\n        },\n      },\n    },\n  ],\n  yAxis: [\n    {\n      softMax: 2, // Used in cases where we have no data, the chart defaults to yAxis max so it looks visually \"correct\".\n      allowDecimals: false,\n      gridLineColor: '#f2f2f2',\n      offset: 10,\n      endOnTick: false,\n      title: {\n        enabled: false,\n      },\n      labels: {\n        style: {\n          color: PALETTE.gray,\n          fontSize: '12px',\n        },\n      },\n    },\n  ],\n  chart: {\n    spacingLeft: 3,\n    // the height is also used to define the min-height of the spinner\n    // please reflect any changes in app/styles/structures/reporting/_flexible.scss\n    height: 325,\n    style: {\n      fontFamily:\n        'system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif',\n      fontSize: '12px',\n      color: '#78909c',\n    },\n    spacingBottom: 0,\n  },\n  plotOptions: {\n    line: {\n      lineWidth: 1.7,\n    },\n  },\n  tooltip: new Tooltip({\n    shadow: {\n      color: '#f1f1f1',\n      offsetX: 0,\n      offsetY: 0,\n      opacity: 1,\n      width: 6,\n    },\n  }),\n};\n\nexport default class FlexibleLineChartConfig extends DefaultHighchartConfig {\n  constructor(timezone) {\n    super();\n    this.config = copy(config, true);\n    this.setTimezone(timezone);\n  }\n\n  setXAxisTickInterval(interval) {\n    this.config.xAxis[0].tickInterval = interval;\n  }\n\n  setYAxisTickInterval(interval) {\n    this.config.yAxis[0].tickInterval = interval;\n  }\n\n  setXAxisType(type) {\n    this.config.xAxis[0].type = type;\n  }\n}\n","import {\n  AVAILABLE_CHANNEL_MAPPINGS,\n  AVAILABLE_CONTINENT_MAPPINGS,\n  CONVERSATION_TYPE_MAPPINGS,\n  INBOUND,\n  INBOUND_TEXT,\n  OUTBOUND_TEXT,\n} from 'embercom/lib/reporting/flexible/constants';\n\nconst filtersConfig = {\n  continents: 'Continent',\n  countries: 'Country',\n  channels: 'Channel',\n  conversationTypes: 'Started by',\n  scopingTagIds: 'Conversation tag',\n  teammateId: 'Teammate',\n  teamsParticipated: 'Team participated',\n  botInboxTime: 'Bot inbox time',\n  teammatesAssigned: 'Teammate assigned',\n  teamsAssigned: 'Team assigned',\n};\n\nexport function formatFilterDisplayName(filterName) {\n  return filtersConfig[filterName] || filterName;\n}\n\nexport function formatCustomAttributeDisplayName(customAttribute, conversationAttributeDescriptor) {\n  return conversationAttributeDescriptor?.name || customAttribute;\n}\n\nconst filterTypeFormatter = {\n  channels: formatChannelValues,\n  continents: formatContinentValues,\n  scopingTagIds: formatTagValues,\n  teamsAssigned: formatTeamValues,\n  teamsParticipated: formatTeamValues,\n  teammatesAssigned: formatTeammateValues,\n  teammateId: formatTeammateValues,\n  conversationTypes: formatConversationTypesValues,\n};\n\nfunction formatChannelValues(filterValues) {\n  return filterValues.map(channel => {\n    return AVAILABLE_CHANNEL_MAPPINGS[channel] || channel;\n  });\n}\n\nfunction formatContinentValues(filterValues) {\n  return filterValues.map(continentId => {\n    return AVAILABLE_CONTINENT_MAPPINGS[continentId];\n  });\n}\n\nfunction formatTagValues(filterValues, app) {\n  return filterValues.map(tagId => {\n    return app.tags.find(tag => tag.id === tagId).name;\n  });\n}\n\nfunction formatTeamValues(filterValues, app) {\n  let availableTeams = [app.unassignedAdmin].concat(app.teams);\n  return filterValues.map(teamId => {\n    return availableTeams.find(team => team.id.toString() === teamId).display_as_assignee;\n  });\n}\n\nfunction formatTeammateValues(filterValues, app) {\n  let availableTeammates = [app.unassignedAdmin].concat(app.humanAdmins);\n  return filterValues.map(teammateId => {\n    return availableTeammates.find(teammate => teammate.id.toString() === teammateId)\n      .display_as_assignee;\n  });\n}\n\nfunction formatConversationTypesValues(filterValues) {\n  return filterValues.includes(CONVERSATION_TYPE_MAPPINGS[INBOUND][0])\n    ? [INBOUND_TEXT]\n    : [OUTBOUND_TEXT];\n}\n\nexport function formatFilterDisplayValues(filterName, filterValues, app) {\n  return filterTypeFormatter[filterName]\n    ? filterTypeFormatter[filterName](filterValues, app)\n    : filterValues;\n}\n\nconst OPERATOR_LABEL_MAPPINGS = {\n  category: 'is',\n  not_in_category: 'is not',\n  exists: 'has any value',\n  not_exists: 'is unknown',\n  true: 'is true',\n  false: 'is false',\n};\n\nexport function formatCustomAttributeDisplayValues(\n  customAttributeValues,\n  conversationAttributeDescriptor,\n) {\n  switch (customAttributeValues.operator) {\n    case 'category':\n    case 'not_in_category': {\n      if (customAttributeValues.type === 'list') {\n        return customAttributeValues.values.map(\n          value =>\n            `${OPERATOR_LABEL_MAPPINGS[customAttributeValues.operator]} ${\n              conversationAttributeDescriptor.listOptions.find(option => option.id === value).label\n            }`,\n        );\n      } else {\n        return [OPERATOR_LABEL_MAPPINGS[customAttributeValues.values[0]]]; // boolean type true/false value mapping\n      }\n    }\n    case 'exists':\n    case 'not_exists':\n      return [OPERATOR_LABEL_MAPPINGS[customAttributeValues.operator]];\n  }\n}\n","import { isEmpty } from '@ember/utils';\nimport { REPORTING_FILTER_SELECT_ALL } from 'embercom/lib/reporting/flexible/constants';\nimport Admin from 'embercom/models/admin';\nimport CustomAttributes from 'embercom/lib/reporting/flexible/custom-attributes';\nimport { isObject } from 'underscore';\nimport { ES_CONVERSATION_ATTRIBUTES } from 'embercom/lib/reporting/es-conversation-attributes';\nimport { tracked } from '@glimmer/tracking';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\n\nexport const AVAILABLE_FILTER_CONFIGS = {\n  continents: {\n    selectorLabel: 'Continent',\n    selectorValue: 'continents',\n    component: 'reporting/flexible/filter-bar/continent-filter',\n    icon: 'globe',\n    isPaywalled: true,\n  },\n  countries: {\n    selectorLabel: 'Country',\n    selectorValue: 'countries',\n    component: 'reporting/flexible/filter-bar/country-filter',\n    icon: 'globe',\n    isPaywalled: true,\n  },\n  channels: {\n    selectorLabel: 'Channel',\n    selectorValue: 'channels',\n    component: 'reporting/flexible/filter-bar/channel-filter',\n    icon: 'multiplatform',\n    isPaywalled: true,\n  },\n  conversationTypes: {\n    selectorLabel: 'Started by',\n    selectorValue: 'conversationTypes',\n    component: 'reporting/flexible/filter-bar/conversation-type-filter',\n    icon: 'conversation',\n  },\n  scopingTagIds: {\n    selectorLabel: 'Tag',\n    selectorValue: 'scopingTagIds',\n    component: 'reporting/flexible/filter-bar/tag-filter',\n    icon: 'tag',\n  },\n  teammatesParticipated: {\n    selectorLabel: 'Teammate',\n    selectorValue: 'teammatesParticipated',\n    component: 'reporting/flexible/filter-bar/teammate-participated-filter',\n    icon: 'person',\n  },\n  teamsParticipated: {\n    selectorLabel: 'Team participated',\n    selectorValue: 'teamsParticipated',\n    component: 'reporting/flexible/filter-bar/team-participated-filter',\n    icon: 'multiple-people',\n  },\n  botInboxTime: {\n    selectorLabel: 'Bot inbox time',\n    selectorValue: 'botInboxTime',\n    component: 'reporting/flexible/filter-bar/bot-inbox-time-filter',\n    icon: 'conversation',\n  },\n  teammatesAssigned: {\n    selectorLabel: 'Teammate assigned',\n    selectorValue: 'teammatesAssigned',\n    component: 'reporting/flexible/filter-bar/teammate-assigned-filter',\n    icon: 'person',\n  },\n  teamsAssigned: {\n    selectorLabel: 'Team assigned',\n    selectorValue: 'teamsAssigned',\n    component: 'reporting/flexible/filter-bar/team-assigned-filter',\n    icon: 'multiple-people',\n  },\n  slas: {\n    selectorLabel: 'SLA',\n    selectorValue: 'slas',\n    component: 'reporting/flexible/filter-bar/sla-filter',\n    icon: 'sla',\n  },\n};\n\nexport const AVAILABLE_FILTERS_WITH_CUSTOM_ATTRIBUTES = Object.keys(AVAILABLE_FILTER_CONFIGS)\n  .map(key => AVAILABLE_FILTER_CONFIGS[key].selectorValue)\n  .concat('customAttributes', 'teammateId');\n\n//defines the query params configuration for a list of filters\nexport function filterQueryParams(filterTypes) {\n  let queryParams = {};\n  filterTypes.forEach(filterType => (queryParams[filterType] = { refreshModel: true }));\n  return queryParams;\n}\n\nfunction parseQueryParamValue(filterType, value) {\n  switch (filterType) {\n    case 'customAttributes':\n      return new CustomAttributes(value);\n    default:\n      return isEmpty(value) ? [] : value.split(',');\n  }\n}\n\n//sets properties on the route, based on the query params values\nexport function setRouteFilterProperties(route, queryParams, filterTypes) {\n  //set generic filters\n  let routeProperties = {};\n  filterTypes.forEach(filterType => {\n    let { [filterType]: queryParamValue } = queryParams;\n    routeProperties[filterType] = parseQueryParamValue(filterType, queryParamValue);\n  });\n  route.setProperties(routeProperties);\n\n  //When navigating from other report the teammateId may be set to a team so we assign it to teamParticipated instead\n  if (\n    !isEmpty(route.teammateId) &&\n    Admin.peekAndMaybeLoad(route.store, route.teammateId[0]).get('isTeam')\n  ) {\n    route.set('teamsParticipated', route.teammateId);\n    route.set('teammateId', []);\n  }\n\n  //setup teamOrTeammate to the team members or to an individual teammate\n  let teamOrTeammateId = route.teamsParticipated?.[0] || route.teammateId?.[0];\n  if (teamOrTeammateId) {\n    let teamOrTeammateParticipated = Admin.peekAndMaybeLoad(route.store, teamOrTeammateId);\n    route.set('teamOrTeammate', teamOrTeammateParticipated);\n  }\n\n  //setup tags\n  if (route.scopingTagIds?.length) {\n    route.set('tag', route.store.peekRecord('tag', route.scopingTagIds[0]));\n  } else {\n    route.set('tag', undefined);\n  }\n}\n\n//defines the properties to be passed from the route to the controller\nexport function setControllerFilterProperties(route, controller, filterTypes) {\n  let properties = {};\n  filterTypes.forEach(filterType => {\n    properties[filterType] = route.get(filterType);\n  });\n\n  controller.setProperties(properties);\n  controller.setProperties({\n    filters: route.filters(),\n    rawFilters: rawFilters(route, filterTypes),\n    teamOrTeammate: route.teamOrTeammate,\n  });\n}\n\nexport function getFilterValues(filterType, filterProperty) {\n  switch (filterType) {\n    case 'customAttributes':\n      return filterProperty?.toFilterValues();\n    default:\n      return filterProperty?.filter(item => item !== REPORTING_FILTER_SELECT_ALL);\n  }\n}\n\nfunction rawFilters(route, filters) {\n  let parsedFilters = {};\n  for (let filter of filters) {\n    let filterProperty = route.get(filter);\n    let filterValues = getFilterValues(filter, filterProperty);\n    if (filterValues && Object.keys(filterValues).length && filterProperty) {\n      parsedFilters[filter] = filterValues;\n    }\n  }\n  return parsedFilters;\n}\n\nexport function updateCombinedField({ parsedFilters, name, value }) {\n  if (parsedFilters[name].type && parsedFilters[name].type === 'combined-same-filter-field') {\n    parsedFilters[name].values.push(value);\n    return parsedFilters;\n  } else {\n    return {\n      type: 'combined-same-filter-field',\n      values: [parsedFilters[name], value],\n    };\n  }\n}\n\n//fetches the values of each filter and translates them into the ES filter format\nexport function parsedESFilters(route, filterESMappings, options) {\n  options = options || { supportSameFieldFilters: true };\n\n  let parsedFilters = {};\n  Object.entries(filterESMappings).forEach(([filterType, fieldES]) => {\n    let filterProperty = route.get(filterType);\n    let filterValues = getFilterValues(filterType, filterProperty);\n\n    //For teams participated we must get a list of team members\n    if (filterType === 'teamsParticipated' && filterValues?.length) {\n      filterValues = filterValues\n        .map(teamId => Admin.peekAndMaybeLoad(route.store, teamId)?.get('member_ids'))\n        .flat();\n    }\n\n    //TODO: remove this hack once we get rid of AppTeam\n    if (\n      ['teammateId', 'teamsParticipated'].includes(filterType) &&\n      route.get('teamOrTeammate.isAppTeam')\n    ) {\n      filterValues = [];\n    }\n\n    if (filterValues && Object.keys(filterValues).length && fieldES) {\n      if (!isEmpty(parsedFilters[fieldES]) && options.supportSameFieldFilters) {\n        parsedFilters[fieldES] = updateCombinedField({\n          parsedFilters,\n          name: fieldES,\n          value: filterValues,\n        });\n      } else {\n        parsedFilters[fieldES] = filterValues;\n      }\n    }\n  });\n  return parsedFilters;\n}\n\nfunction _getAttributeType(dataType) {\n  switch (dataType) {\n    case 'list':\n      return 'list_option_id';\n    default:\n      return dataType;\n  }\n}\n\nfunction _customAttributeFilters(customAttributes) {\n  return Object.entries(customAttributes).map(([id, { values, operator, type, field }]) => {\n    switch (operator) {\n      case 'category':\n      case 'not_in_category':\n        return {\n          type: operator,\n          data: [\n            { property: `${field}.field_id`, values: [id] },\n            {\n              property: `${field}.value_${_getAttributeType(type)}`,\n              values,\n            },\n          ],\n        };\n      case 'exists':\n      case 'not_exists':\n        return {\n          type: operator,\n          data: [{ property: `${field}.field_id`, values: [id] }],\n        };\n    }\n  });\n}\n\nexport function buildFilters(property, values, options = { mergeCombined: false }) {\n  if (property === 'custom_attributes') {\n    return _customAttributeFilters(values);\n  } else if (isObject(values) && values.type === 'combined-same-filter-field') {\n    let result = values.values.map(v => ({ type: 'category', data: { property, values: v } }));\n\n    if (options.mergeCombined) {\n      result = [\n        {\n          type: 'category',\n          data: { property, values: values.values.flat().map(v => parseInt(v, 10)) },\n        },\n      ];\n    }\n\n    return result;\n  } else {\n    return [{ type: 'category', data: { property, values } }];\n  }\n}\n\nexport class FilterSet {\n  @tracked teammatesAssigned = [];\n  @tracked teamsAssigned = [];\n  @tracked continents = [];\n  @tracked countries = [];\n  @tracked channels = [];\n  @tracked conversationTypes = [];\n  @tracked teammatesParticipated = [];\n  @tracked teamsParticipated = [];\n  @tracked scopingTagIds = [];\n  @tracked customAttributes = new CustomAttributes();\n}\n\nexport function convertFilterPredicatesToFilterSet(filterPredicates, filterSet) {\n  if (!filterPredicates || !filterPredicates.type) {\n    return;\n  }\n  if (filterPredicates.type === 'and') {\n    filterPredicates.filters.forEach(filter =>\n      convertFilterPredicatesToFilterSet(filter, filterSet),\n    );\n  } else if (filterPredicates.data instanceof Array) {\n    filterSet.customAttributes = new CustomAttributes();\n    let id = filterPredicates.data[0].values[0];\n    let values = filterPredicates.data[1].values;\n    filterSet.customAttributes.updateValues(id, values, filterPredicates.type);\n  } else {\n    let filterType = Object.keys(ES_CONVERSATION_ATTRIBUTES).find(\n      key => ES_CONVERSATION_ATTRIBUTES[key] === filterPredicates.data.property,\n    );\n    filterSet[filterType] = filterPredicates.data.values;\n  }\n}\n\nexport function getFilterPredicatesFromFilterSet(filterSet) {\n  // Convert filter fields to array following flexible reporting format\n  let filters = Object.keys(ES_CONVERSATION_ATTRIBUTES)\n    .reduce((filtersAcc, filterKey) => {\n      let values = getFilterValues(filterKey, filterSet[filterKey]);\n      // For teams participated we must get a list of team members\n      if (filterKey === 'teamsParticipated' && values?.length) {\n        values = values\n          .map(teamId =>\n            Admin.peekAndMaybeLoad(getEmberDataStore(), teamId)\n              ?.get('member_ids')\n              .map(String),\n          )\n          .flat();\n      }\n      return filtersAcc.concat(buildFilters(ES_CONVERSATION_ATTRIBUTES[filterKey], values));\n    }, [])\n    .filter(filter => filter?.data.length > 0 || filter?.data?.values.length > 0);\n  if (filters.length === 0) {\n    return {};\n  } else if (filters.length === 1) {\n    return filters[0];\n  } else {\n    return {\n      type: 'and',\n      filters,\n    };\n  }\n}\n","import Time from './time';\nimport Seconds from './seconds';\nimport Value from './value';\nimport Percent from './percent';\n\nexport default class Formatters {\n  static minute = Time;\n  static seconds = Seconds;\n  static value = Value;\n  static percent = Percent;\n}\n\nexport const units = {\n  day: 'day',\n  hour: 'hour',\n  minute: 'minute',\n  seconds: 'seconds',\n  value: 'value',\n  percent: 'percent',\n};\n","import { toPercentString, REPORTS_PRECISION_DEFAULT } from 'embercom/lib/percentage-formatter';\n\nexport default class Formatter {\n  constructor(displayUnit) {\n    this.displayUnit = displayUnit;\n  }\n\n  formatData(data) {\n    return data || 0;\n  }\n\n  formatCounter(data) {\n    return toPercentString(this.formatData(data), REPORTS_PRECISION_DEFAULT);\n  }\n\n  formatAxis(data) {\n    return toPercentString(this.formatData(data), 0);\n  }\n\n  formatTooltip(data) {\n    let format = toPercentString(this.formatData(data), REPORTS_PRECISION_DEFAULT);\n\n    if (this.displayUnit) {\n      format = `${format} ${this.displayUnit}`;\n    }\n\n    return format;\n  }\n}\n","import { formatSeconds } from 'embercom/lib/duration-formatter';\n\nexport default class Formatter {\n  formatData(data) {\n    return data;\n  }\n\n  formatCounter(data) {\n    return formatSeconds(data);\n  }\n\n  formatTooltip(data) {\n    return formatSeconds(data);\n  }\n\n  formatAxis(data) {\n    return formatSeconds(data);\n  }\n}\n","import { formatMinutes } from 'embercom/lib/duration-formatter';\n\nexport default class Formatter {\n  formatData(data) {\n    return data / 60;\n  }\n\n  formatCounter(data) {\n    return formatMinutes(this.formatData(data));\n  }\n\n  formatAxis(data) {\n    return formatMinutes(this.formatData(data));\n  }\n\n  formatTooltip(data) {\n    return formatMinutes(this.formatData(data));\n  }\n}\n","import { pluralize } from 'ember-inflector';\nimport Highcharts from 'highcharts';\n\nexport default class Formatter {\n  constructor(displayUnit) {\n    this.displayUnit = displayUnit;\n  }\n\n  formatData(data) {\n    return Number(data.toFixed(1));\n  }\n\n  formatCounter(data) {\n    let formattedData = this.formatData(data);\n\n    if (this.displayUnit) {\n      return pluralize(formattedData, this.displayUnit);\n    }\n\n    return formattedData;\n  }\n\n  formatAxis(data) {\n    // if the tick value is a multiple of 1000, we don't wont to show any\n    // digits after the decimal point, otherwise, we want to show a single digit.\n    // For example, for 1322, we're goign to show 1.3k\n    let precision = data % 1000 === 0 ? 0 : 1;\n\n    if (data > 1000000) {\n      return `${Highcharts.numberFormat(data / 1000, precision)}M`;\n    } else if (data >= 1000) {\n      return `${Highcharts.numberFormat(data / 1000, precision)}K`;\n    } else {\n      return data;\n    }\n  }\n\n  formatTooltip(data, override) {\n    let formattedData = this.formatData(data);\n\n    if (override || this.displayUnit) {\n      return pluralize(formattedData, override || this.displayUnit);\n    }\n\n    return formattedData;\n  }\n}\n","import ChartConfig from 'embercom/lib/reporting/flexible/default-heatmap-chart-config';\nimport Formatters, { units } from 'embercom/lib/reporting/flexible/formatters';\nimport IntervalFormatter from 'embercom/lib/reporting/flexible/interval-formatter';\nimport Axis from 'embercom/lib/reporting/flexible/axis';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\n\nexport default class HeatmapBuilder {\n  constructor({\n    range,\n    seriesColors = [\n      {\n        stops: [\n          [0, PALETTE['vis-blue-80']],\n          [0.14, PALETTE['vis-blue-70']],\n          [0.28, PALETTE['vis-blue-60']],\n          [0.5, PALETTE['vis-blue-50']],\n          [0.68, PALETTE['vis-blue-40']],\n          [0.82, PALETTE['vis-blue-30']],\n          [1, PALETTE['vis-blue-20']],\n        ],\n      },\n    ],\n    width = '',\n    chartData = [{ data: [] }],\n    viewConfig,\n  }) {\n    this.range = range;\n    this.seriesColors = seriesColors;\n    this.width = width;\n    this.chartData = chartData;\n    this.viewConfig = viewConfig;\n    this.formatter = new Formatters[this.viewConfig.formatUnit.unit](\n      this.viewConfig.formatUnit?.displayUnit,\n    );\n    this.xAxis = new Axis[units.hour]();\n    this.yAxis = new Axis[units.day]();\n  }\n\n  get intervalFormatter() {\n    let interval = this.range.isSingleDay ? 'day' : 'week';\n    return new IntervalFormatter(interval);\n  }\n\n  buildTheme() {\n    let config = new ChartConfig(this.range.timezone);\n    let formatter = this.formatter;\n\n    let truncatedLabelFormatter = value => {\n      let formatted = formatter.formatCounter(value);\n      let maxChar = 3;\n      return formatted.length > maxChar ? formatted.slice(0, maxChar).trim() : formatted;\n    };\n\n    config.setChartType('heatmap');\n    config.setXAxis({\n      categories: this.xAxis.labels,\n      max: 23,\n    });\n\n    config.setColors(this.seriesColors);\n\n    config.setTickPositioner(function() {\n      return [this.min, this.max];\n    });\n\n    config.setYAxis({\n      categories: this.yAxis.labels,\n      title: null,\n      reversed: true,\n    });\n\n    if (this.viewConfig.formatUnit?.displayUnit === units.minute) {\n      config.setDataLabelFormatter(function() {\n        return truncatedLabelFormatter(this.point.value);\n      });\n      config.setLegendFormatter(function() {\n        return formatter.formatCounter(this.value);\n      });\n    }\n\n    config.setTooltipFormatter(this.tooltipFormatter);\n    return config.config;\n  }\n\n  get tooltipFormatter() {\n    let config = this;\n    return function() {\n      let cssClass = 'reporting__highcharts-tooltip';\n      let valuePart = `<strong>${config.formatter.formatTooltip(this.point.value)}</strong>`;\n      return `<div class='${cssClass}'>${valuePart}</div>`;\n    };\n  }\n}\n","import moment from 'moment';\n// Note: can be extracted into subclass per range, and might fit into \"axis\" or a \"formatter\" class (formatTooltipDate fn)\nexport default class {\n  constructor(interval) {\n    this.interval = interval;\n  }\n\n  datePart(date, timezone, endDate = undefined) {\n    let format = this.isIntervalHourly || this.isIntervalDaily ? 'MMM D, ddd' : 'MMM D';\n    let datePart = moment.tz(date, timezone).format(format);\n\n    if (this.isIntervalDaily) {\n      return datePart;\n    }\n    if (this.isIntervalHourly) {\n      return `${datePart} ${moment.tz(date, timezone).format('HH:mm')}`;\n    }\n\n    if (endDate) {\n      return `${datePart} - ${moment.tz(endDate, timezone).format(format)}`;\n    }\n    if (this.isIntervalWeekly) {\n      return `${datePart} - ${moment\n        .tz(date, timezone)\n        .add(6, 'days')\n        .format(format)}`;\n    }\n\n    if (this.isIntervalMonthly) {\n      return `${datePart} - ${moment\n        .tz(date, timezone)\n        .endOf('month')\n        .format(format)}`;\n    }\n\n    return datePart;\n  }\n\n  get isIntervalHourly() {\n    return this.interval === 'hour';\n  }\n\n  get isIntervalDaily() {\n    return this.interval === 'day';\n  }\n\n  get isIntervalWeekly() {\n    return this.interval === 'week';\n  }\n\n  get isIntervalMonthly() {\n    return this.interval === 'month';\n  }\n}\n","import ChartConfig from 'embercom/lib/reporting/flexible/default-line-chart-config';\nimport Formatters from 'embercom/lib/reporting/flexible/formatters';\nimport IntervalFormatter from 'embercom/lib/reporting/flexible/interval-formatter';\nimport Axis from 'embercom/lib/reporting/flexible/axis';\nimport moment from 'moment';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\n\nexport default class LinechartBuilder {\n  constructor({\n    range,\n    viewConfig,\n    xAxisType,\n    seriesColors = [\n      PALETTE['vis-azure-50'],\n      PALETTE['vis-yellow-50'],\n      PALETTE['vis-mint-50'],\n      PALETTE['vis-salmon-50'],\n      PALETTE['vis-slateblue-50'],\n      PALETTE['vis-olive-50'],\n      PALETTE['vis-pink-50'],\n      PALETTE['vis-turquoise-50'],\n      PALETTE['vis-orange-50'],\n      PALETTE['vis-blue-50'],\n    ],\n    width = '',\n    chartData = [{ data: [] }],\n  }) {\n    this.range = range;\n    this.seriesColors = seriesColors;\n    this.xAxisType = xAxisType;\n    this.width = width;\n    this.chartData = chartData;\n    this.viewConfig = viewConfig;\n    this.formatter = new Formatters[this.viewConfig.formatUnit.unit](\n      this.viewConfig.formatUnit.displayUnit,\n    );\n    this.yAxisTicker = new Axis[this.viewConfig.formatUnit.unit]();\n  }\n\n  get intervalFormatter() {\n    return new IntervalFormatter(this.range.interval);\n  }\n  buildTheme() {\n    let config = new ChartConfig(this.range.timezone);\n\n    config.setChartType('line');\n    config.setXAxisType(this.isXAxisTemporal ? 'datetime' : 'category');\n\n    if (this.isXAxisTemporal) {\n      config.setXAxisTickInterval(this.xAxisTickInterval);\n    }\n    // Using formatData make it work, but I think it cries out the need to split formatter for axis and tooltip\n    config.setYAxisFormatter(({ value }) => this.formatter.formatAxis(value));\n\n    config.setYAxisTickInterval(this.yAxisTickInterval);\n    config.setTooltipFormatter(this.tooltipFormatter);\n\n    config.setColors(this.seriesColors);\n\n    return config.config;\n  }\n\n  get tooltipFormatter() {\n    let config = this;\n    let isXAxisTemporal = this.isXAxisTemporal;\n    let groupingTransformation = this.viewConfig.grouping?.tooltipTransformation;\n\n    return function() {\n      let timezone = this.series.chart.options.time.timezone;\n      let valuePart = `<strong>${config.formatter.formatTooltip(\n        this.y,\n        this.series.options.tooltipDisplayUnit,\n      )}</strong><br/>`;\n      let datePart;\n\n      if (isXAxisTemporal) {\n        datePart = config.intervalFormatter.datePart(this.point.x, timezone);\n      } else if (groupingTransformation) {\n        datePart = groupingTransformation(this.point, this.series);\n      } else {\n        datePart = this.point.x;\n      }\n\n      let cssClass = 'reporting__highcharts-tooltip';\n\n      return `<div class='${cssClass}'>${valuePart}(${datePart})</div>`;\n    };\n  }\n\n  get xAxisTickInterval() {\n    if (this.isIntervalHourly) {\n      return 3600 * 1000;\n    } else if (this.isIntervalDaily) {\n      return 24 * 3600 * 1000;\n    } else if (this.isIntervalWeekly) {\n      return 24 * 3600 * 1000 * 7;\n    } else {\n      return 24 * 3600 * 1000 * 30;\n    }\n  }\n\n  get yAxisTickInterval() {\n    let maxValue = 0;\n    let minValue = 0;\n\n    this.chartData.forEach(graphData => {\n      graphData.data.forEach(timestampWithValue => {\n        if (timestampWithValue[1] > maxValue) {\n          maxValue = Math.round(timestampWithValue[1]);\n        }\n\n        if (timestampWithValue[1] < minValue) {\n          minValue = Math.round(timestampWithValue[1]);\n        }\n      });\n    });\n\n    let diff = maxValue - minValue;\n    if (diff === 0) {\n      return 5; // Used to split the yAxis.softMax option of Highcharts into even ticks when we don't have data.\n    }\n    return this.yAxisTicker.interval(minValue, maxValue);\n  }\n\n  get xAxisFormatter() {\n    let config = this;\n\n    return function() {\n      let currentLabel = moment.tz(this.value, this.chart.options.time.timezone);\n      let format = 'MMM D';\n      let maxLabelsForSmallWidths = 8;\n\n      if (config.isIntervalHourly) {\n        if (config.width === 'small' && parseInt(currentLabel.format('H'), 10) % 3 !== 0) {\n          return '';\n        } else {\n          format = 'hA';\n        }\n      }\n\n      if (\n        config.isIntervalDaily &&\n        config.width === 'small' &&\n        config.range.endMoment.diff(config.range.startMoment) >\n          maxLabelsForSmallWidths * 1000 * 60 * 60 * 24\n      ) {\n        if (config.range.startMoment.diff(currentLabel, 'days') % 2 !== 0) {\n          return '';\n        }\n      }\n\n      if (\n        config.isIntervalWeekly &&\n        config.range.endMoment.diff(config.range.startMoment) >\n          maxLabelsForSmallWidths * 1000 * 60 * 60 * 24 * 7\n      ) {\n        let firstLabel = config.range.startMoment.startOf('isoWeek');\n\n        if (config.width === 'small' && firstLabel.diff(currentLabel, 'days') % 14 !== 0) {\n          return '';\n        }\n      }\n\n      if (config.isIntervalMonthly) {\n        if (config.width === 'small' && parseInt(currentLabel.format('M'), 10) % 2 !== 1) {\n          return '';\n        } else {\n          format = 'MMM';\n        }\n      }\n\n      return currentLabel.format(format);\n    };\n  }\n\n  get isIntervalHourly() {\n    return this.range.interval === 'hour';\n  }\n\n  get isIntervalDaily() {\n    return this.range.interval === 'day';\n  }\n\n  get isIntervalWeekly() {\n    return this.range.interval === 'week';\n  }\n\n  get isIntervalMonthly() {\n    return this.range.interval === 'month';\n  }\n\n  get isXAxisTemporal() {\n    return this.xAxisType === 'temporal';\n  }\n}\n","import { get } from '@ember/object';\n\nlet QUERY_PARAMS_ES_MAPPINGS = {\n  teamsParticipated: 'admin_participant_ids', // Reverse of https://github.com/intercom/embercom/blob/master/app/lib/reporting/flexible/filter-helpers.js#L189\n};\n\nexport function reverseFilterMappings(controller) {\n  let filterMappings = {};\n  if (controller) {\n    filterMappings = Object.keys(QUERY_PARAMS_ES_MAPPINGS).reduce((acc, filterName) => {\n      let filter = get(controller, filterName);\n      if (filter?.length) {\n        acc[QUERY_PARAMS_ES_MAPPINGS[filterName]] = filter;\n      }\n      return acc;\n    }, {});\n  }\n  return filterMappings;\n}\n","// There is similiar file in intercom codebase that should be reflected 1:1 in terms of how it works.\n// We use file in the ruby codebase to translate data config for sharing reports.\n// You can find this file over here:\n// https://github.com/intercom/intercom/blob/master/app/services/reporting_service/flexible/data_config_translator.rb\n\n/* eslint-disable no-continue */\nimport { isEmpty } from 'underscore';\n\nexport function convert(dataInputConfiguration) {\n  let dataRequests = [];\n\n  for (let row of dataInputConfiguration.rows) {\n    let columns = [];\n\n    // this means this row has its own set of columns\n    if (dataInputConfiguration.columns[row.name]) {\n      columns = dataInputConfiguration.columns[row.name];\n    } else {\n      columns = dataInputConfiguration.columns['common'];\n    }\n\n    for (let column of columns) {\n      // skipping generating data requests for rows/columns combinations for rows that define their own front-end-only\n      // row value calculations\n      if (row.columnCustomFunctions) {\n        let allFunctions = row.columnCustomFunctions;\n        if (allFunctions.find(f => f.columnName === column.name)) {\n          continue;\n        }\n      }\n\n      if (isExtendedColumn(column)) {\n        for (let innerColumn of column.columns) {\n          let dataRequest = buildDataRequest(row, innerColumn);\n          dataRequests.push(dataRequest);\n        }\n      } else {\n        let dataRequest = buildDataRequest(row, column);\n        dataRequests.push(dataRequest);\n      }\n    }\n  }\n\n  return dataRequests;\n}\n\nconst ROW_PARSER_FUNCTIONS = {\n  term: termRowParser,\n  filter: filterRowParser,\n  allRecords: allRecordsRowParser,\n};\n\nconst SERIES_PARSER_FUNCTIONS = {\n  mean: genericSeriesParser,\n  max: genericSeriesParser,\n  min: genericSeriesParser,\n  median: medianSeriesParser,\n  count: countSeriesParser,\n  cardinality: cardinalitySeriesParser,\n  range: rangeSeriesParser,\n};\n\nfunction isExtendedColumn(column) {\n  return column.hasOwnProperty('columns');\n}\n\nfunction buildDataRequest(row, column) {\n  return ROW_PARSER_FUNCTIONS[row.type](row, column);\n}\n\nfunction termRowParser(row, column) {\n  let groupData = { ...row.data };\n\n  if (column.groupAlias && column.groupAlias[row.data.property]) {\n    groupData.property = column.groupAlias[row.data.property];\n  }\n  if (column.excludeMissingGroup) {\n    groupData.exclude_missing_group = true;\n  }\n\n  let parsedRequest = {\n    name: column.name,\n    source: column.source,\n    groups: [\n      {\n        type: 'term',\n        data: { ...groupData },\n        name: row.name,\n        aggregations: [\n          {\n            ...SERIES_PARSER_FUNCTIONS[column.aggregation.type](column.aggregation),\n          },\n        ],\n      },\n    ],\n    time: { ...column.time },\n  };\n\n  if (!isEmpty(column.filter)) {\n    parsedRequest.filter = column.filter;\n  }\n\n  return parsedRequest;\n}\n\nfunction filterRowParser(row, column) {\n  let parsedRequest = {\n    name: column.name,\n    source: column.source,\n    filter: { ...mergeFilters(row.data, column.filter) },\n    aggregations: [\n      {\n        name: row.name,\n        ...SERIES_PARSER_FUNCTIONS[column.aggregation.type](column.aggregation),\n      },\n    ],\n    time: { ...column.time },\n  };\n\n  return parsedRequest;\n}\n\nfunction allRecordsRowParser(row, column) {\n  let parsedRequest = {\n    name: column.name,\n    source: column.source,\n    aggregations: [\n      {\n        name: row.name,\n        ...SERIES_PARSER_FUNCTIONS[column.aggregation.type](column.aggregation),\n      },\n    ],\n    time: { ...column.time },\n  };\n\n  if (!isEmpty(column.filter)) {\n    parsedRequest.filter = column.filter;\n  }\n\n  return parsedRequest;\n}\n\nfunction mergeFilters(globalFilters, filters) {\n  // for now, filters are merged with AND boolean operator\n  if (isEmpty(globalFilters)) {\n    return filters;\n  } else if (isEmpty(filters)) {\n    return globalFilters;\n  } else {\n    return {\n      type: 'and',\n      filters: [globalFilters, filters],\n    };\n  }\n}\n\nfunction medianSeriesParser(series) {\n  return {\n    type: 'percentile',\n    data: {\n      property: series.data.property,\n      value: 50,\n    },\n  };\n}\n\nfunction genericSeriesParser(series) {\n  // mean, max, min definitions are the same\n  return {\n    type: series.type,\n    data: Object.assign(series.data, {}),\n  };\n}\n\nfunction countSeriesParser(series) {\n  return {\n    type: 'count',\n    data: {\n      property: series.data.property,\n    },\n  };\n}\n\nfunction cardinalitySeriesParser(series) {\n  return {\n    type: 'cardinality',\n    data: {\n      property: series.data.property,\n    },\n  };\n}\n\nfunction rangeSeriesParser(series) {\n  return {\n    type: 'range',\n    data: {\n      property: series.data.property,\n      ranges: series.data.ranges,\n    },\n  };\n}\n","import { isNone } from '@ember/utils';\nimport { zip } from 'underscore';\n\nexport default class TableDataResponseMapper {\n  static mapToTableInput(responses) {\n    // create rows\n    let cells = responses.flatMap(r => {\n      if (r.aggregations.length > 0) {\n        // if aggregations array is not empty - this is a single cell\n        return {\n          row: r.aggregations[0].name,\n          col: r.name,\n          value: r.aggregations[0].values[0],\n        };\n      } else {\n        // otherwise it's multiple cells that belong to a single column\n        let rowValues = zip(r.groups[0].aggregations[0].values, r.groups[0].values);\n        return rowValues.map(rv => ({\n          row: r.groups[0].name,\n          subRow: rv[1],\n          col: r.name,\n          value: rv[0],\n        }));\n      }\n    });\n\n    let result = cells.reduce((acc, cell) => {\n      let rowName = isNone(cell.subRow) ? cell.row : cell.subRow;\n\n      if (!acc[rowName]) {\n        acc[rowName] = {};\n      }\n\n      // Columns support multiple requests per column. We rely on the special structure\n      // of column's name for this. If column's name is 'column-group-N[_propName_]', where N is a number,\n      // we know that returned value of the request is a value `_propName_` object property.\n      if (TableDataResponseMapper.multiColumnCheck(cell.col)) {\n        let [colGroupName, groupProperty] = TableDataResponseMapper.extractMultiColumnValue(\n          cell.col,\n        );\n\n        if (!acc[rowName][colGroupName]) {\n          acc[rowName][colGroupName] = {};\n        }\n\n        acc[rowName][colGroupName][groupProperty] = cell.value;\n      } else {\n        acc[rowName][cell.col] = cell.value;\n      }\n\n      acc[rowName]['groupName'] = rowName;\n      return acc;\n    }, {});\n\n    return Object.values(result);\n  }\n\n  static multiColumnCheck(colName) {\n    return colName.includes('col-group');\n  }\n\n  static extractMultiColumnValue(colName) {\n    let regexp = /([a-zA-Z-\\d]+)_\\[([a-zA-Z]+)\\]/;\n    let [, name, property] = colName.match(regexp);\n    return [name, property];\n  }\n}\n","const config = {\n  positioner(w, h, point) {\n    /*\n    See issue for more information and example as to why `chartPosition` is `null`ified\n    https://github.com/highcharts/highcharts/issues/12799\n    */\n    this.chart.pointer.chartPosition = null;\n    return this.getPosition(w, h, point);\n  },\n  hideDelay: 50,\n  snap: 10,\n  shared: false,\n  outside: true,\n  enabled: true,\n  borderWidth: 1,\n  backgroundColor: '#ffffff',\n  borderColor: '#e5e5e5',\n  borderRadius: 10,\n  useHTML: true,\n  padding: 0,\n  style: {\n    fontFamily:\n      'system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif',\n    fontSize: '14px',\n    color: '#222222',\n  },\n  valueDecimals: 0,\n};\n\nexport default class TooltipConfig {\n  constructor(options) {\n    return { ...config, ...options };\n  }\n}\n","import {\n  MEDIAN,\n  MEAN,\n  MAX,\n  CARDINALITY,\n  MIN,\n  COUNT,\n  RANGE,\n  COUNTRY,\n  GEO_GROUPING_LIMIT,\n  CONTINENT,\n  CONVERSATION_CREATED_AT,\n  CONVERSATION_CREATED_AT_DAY_OF_WEEK,\n  COMMENT_CREATED_AT,\n  COMMENT_CREATED_AT_DAY_OF_WEEK,\n  COUNTRY_GROUPING_TERM_SIZE,\n  CONTINENT_GROUPING_TERM_SIZE,\n  AVAILABLE_CONTINENT_MAPPINGS,\n  COUNTRY_ALIASES,\n  CHANNEL,\n  CHANNEL_GROUPING_TERM_SIZE,\n  AVAILABLE_CHANNEL_MAPPINGS,\n  FIRST_REOPENED_AT,\n  STATE_START,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT,\n  FIRST_USER_CONVERSATION_PART_CREATED_AT_DAY_OF_WEEK,\n  MAX_FIRST_USER_CONVERSATION_PART_CREATED_AT_DAY_OF_WEEK,\n  CLOSE_DATE,\n  MEETING_BOOKED_AT,\n  FIRST_ADMIN_REPLY_AT,\n  FIRST_CLOSED_AT,\n  COMMENT_TEAM_ASSIGNED,\n  TEAM_GROUPING_TERM_SIZE,\n  TEAM_GROUPING_LIMIT,\n  SORTING_LABEL_NAME,\n} from './constants';\n\nimport { first, last, zip } from 'underscore';\nimport moment from 'moment';\nimport { isEmpty } from '@ember/utils';\n\nconst AGGREGATIONS_CONFIG = {\n  [MEDIAN]: { value: MEDIAN, text: 'Median' },\n  [MEAN]: { value: MEAN, text: 'Average' },\n  [MAX]: { value: MAX, text: 'Maximum' },\n  [MIN]: { value: MIN, text: 'Minimum' },\n  [COUNT]: { value: COUNT, text: '' },\n  [RANGE]: { value: RANGE, text: '' },\n  [CARDINALITY]: { value: CARDINALITY, text: '' },\n};\n\nexport const GROUPINGS = {\n  [CONVERSATION_CREATED_AT]: {\n    value: CONVERSATION_CREATED_AT,\n    text: 'Time',\n    type: 'temporal',\n  },\n  [FIRST_REOPENED_AT]: {\n    value: FIRST_REOPENED_AT,\n    text: 'Time',\n    type: 'temporal',\n  },\n  [STATE_START]: {\n    value: STATE_START,\n    text: 'Time',\n    type: 'temporal',\n  },\n  [CONVERSATION_CREATED_AT_DAY_OF_WEEK]: {\n    value: CONVERSATION_CREATED_AT,\n    text: '',\n    type: 'temporal',\n    interval: 'day_of_week',\n  },\n  [COMMENT_CREATED_AT_DAY_OF_WEEK]: {\n    value: COMMENT_CREATED_AT,\n    text: '',\n    type: 'temporal',\n    interval: 'day_of_week',\n  },\n  [FIRST_USER_CONVERSATION_PART_CREATED_AT_DAY_OF_WEEK]: {\n    value: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n    text: '',\n    type: 'temporal',\n    interval: 'day_of_week',\n  },\n  [MAX_FIRST_USER_CONVERSATION_PART_CREATED_AT_DAY_OF_WEEK]: {\n    value: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n    text: '',\n    type: 'temporal',\n    interval: 'day_of_week',\n    // check the test for this function to see an example of the full\n    // data input structure\n    dataTransformationName: 'max_for_week',\n    dataTransformation: dataResponses => {\n      let days = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'];\n\n      let data = first(dataResponses);\n      let groups = first(data.groups).values;\n\n      // each group represents a day and has the following structure:\n      // {\n      //   value: 1.0,\n      //   groups: [\n      //     {\n      //       aggregations: [\n      //         {\n      //           name: '0',\n      //           values: [999, 20, 30], // aggregations per hour\n      //         },\n      //       ],\n      //       values: [0.0, 1.0, 2.0], // in real payload we have 24 values, one for an hour of a day\n      //       name: '0',\n      //       type: 'time',\n      //     },\n      //   ],\n      // };\n\n      let busiestHour = groups.reduce(\n        (acc, group) => {\n          let groupData = first(group.groups);\n          let dayHours = groupData.values;\n          let hourAggregations = first(groupData.aggregations).values;\n\n          // zipping together hours and their aggregations to simplify sorting\n          let [busiestHour, busiestHourValue] = _.chain(zip(dayHours, hourAggregations))\n            .sort((a, b) => last(b) - last(a))\n            .first()\n            .value();\n\n          // across all the hours of all days we figure out the one with the highest aggregation\n          if (acc.busiestHourValue < busiestHourValue) {\n            acc.busiestHourValue = busiestHourValue;\n            acc.hour = busiestHour;\n            acc.day = group.value;\n          }\n\n          return acc;\n        },\n        { busiestHourValue: 0, hour: null, day: null },\n      );\n\n      // after we found the busiest hour, format it right away.\n      // doing it in the transformation because this formatting is not-generic\n      if (isEmpty(busiestHour.hour)) {\n        return;\n      }\n\n      let hour = moment()\n        .hours(busiestHour.hour)\n        .format('ha'); // ha produces something like 'Mondays, 8am'\n\n      // -1 becuase days array starts with 0 and ES returns days starting with 1\n      let day = days[busiestHour.day - 1];\n      return `${day}, ${hour}`;\n    },\n  },\n  [COMMENT_TEAM_ASSIGNED]: {\n    value: COMMENT_TEAM_ASSIGNED,\n    text: 'Team assigned',\n    sorting: SORTING_LABEL_NAME,\n    limit: TEAM_GROUPING_LIMIT,\n    termSize: TEAM_GROUPING_TERM_SIZE,\n    excludeMissingGroup: true,\n    labelMappings: {},\n    type: 'nominal',\n  },\n  [COUNTRY]: {\n    value: COUNTRY,\n    text: 'Country',\n    type: 'nominal',\n    limit: GEO_GROUPING_LIMIT,\n    termSize: COUNTRY_GROUPING_TERM_SIZE,\n    dataTransformationName: 'other_aggregation',\n    dataTransformation: dataResponse => {\n      let group = dataResponse.groups[0];\n      let aggregation = group.aggregations[0];\n      let pushOtherToLast = dataResponse => {\n        let otherGroupIndex = group.values.findIndex(g => g === 'Other');\n\n        if (otherGroupIndex > -1) {\n          group.values.splice(otherGroupIndex, 1);\n          group.values.push('Other');\n          let values = aggregation.values.splice(otherGroupIndex, 1);\n          aggregation.values.push(values[0]);\n        }\n        return dataResponse;\n      };\n      let mergeColumns = function(dataResponse) {\n        Object.keys(COUNTRY_ALIASES).forEach(mapping => {\n          let mappingIndex = group.values.findIndex(label => label === mapping);\n          if (mappingIndex > -1) {\n            let replacementIndex = group.values.findIndex(\n              label => label === COUNTRY_ALIASES[mapping],\n            );\n            if (replacementIndex > -1) {\n              group.values.splice(mappingIndex, 1);\n              let values = aggregation.values.splice(mappingIndex, 1);\n              let newIndex =\n                mappingIndex < replacementIndex ? replacementIndex - 1 : replacementIndex;\n              aggregation.values[newIndex] += values[0];\n            } else {\n              group.values[mappingIndex] = COUNTRY_ALIASES[mapping];\n            }\n          }\n        });\n        return dataResponse;\n      };\n      // Due to aggregation of columns, the order might change. We solve it here.\n      let sortColumns = dataResponse => {\n        let mapping = aggregation.values.map((value, index) => ({\n          name: group.values[index],\n          value,\n        }));\n\n        mapping.sort((el1, el2) => el2.value - el1.value);\n\n        mapping.forEach((el, index) => {\n          group.values[index] = el.name;\n          aggregation.values[index] = el.value;\n        });\n        return dataResponse;\n      };\n\n      return pushOtherToLast(sortColumns(mergeColumns(dataResponse)));\n    },\n\n    tooltipTransformation: (point, series) => {\n      if (point.name !== 'Other') {\n        return point.name;\n      }\n      let { truncated } = series.userOptions.dataModified;\n      return truncated > 0\n        ? `${truncated} more countries and unknown locations`\n        : 'Unknown locations';\n    },\n  },\n  [CONTINENT]: {\n    value: CONTINENT,\n    text: 'Continent',\n    limit: GEO_GROUPING_LIMIT,\n    termSize: CONTINENT_GROUPING_TERM_SIZE,\n    labelMappings: AVAILABLE_CONTINENT_MAPPINGS,\n    type: 'nominal',\n  },\n  [CHANNEL]: {\n    value: CHANNEL,\n    text: 'Channel',\n    termSize: CHANNEL_GROUPING_TERM_SIZE,\n    excludeMissingGroup: true,\n    labelMappings: AVAILABLE_CHANNEL_MAPPINGS,\n    type: 'nominal',\n  },\n  [FIRST_USER_CONVERSATION_PART_CREATED_AT]: {\n    value: FIRST_USER_CONVERSATION_PART_CREATED_AT,\n    text: 'Time',\n    type: 'temporal',\n  },\n  [CLOSE_DATE]: {\n    value: CLOSE_DATE,\n    text: 'Time',\n    type: 'temporal',\n  },\n  [MEETING_BOOKED_AT]: {\n    value: MEETING_BOOKED_AT,\n    text: 'Time',\n    type: 'temporal',\n  },\n  [FIRST_ADMIN_REPLY_AT]: {\n    value: FIRST_ADMIN_REPLY_AT,\n    text: 'Time',\n    type: 'temporal',\n  },\n  [FIRST_CLOSED_AT]: {\n    value: FIRST_ADMIN_REPLY_AT,\n    text: 'Time',\n    type: 'temporal',\n  },\n  [COMMENT_CREATED_AT]: {\n    value: COMMENT_CREATED_AT,\n    text: 'Time',\n    type: 'temporal',\n  },\n};\n\nexport default class ViewConfig {\n  constructor() {\n    this.paywallFeatureKey = 'flexible_charts';\n    this._aggregations = [];\n    this._formatUnit = {};\n    this._groupings = [];\n    this._legend = null;\n    this._counter = {};\n    this._tableChart = {};\n    this._columnChart = {};\n    this._seriesColors = null;\n  }\n\n  toHash() {\n    let base = {};\n    if (Object.keys(this._formatUnit).length > 0) {\n      base.formatUnit = this._formatUnit;\n    }\n    if (Object.keys(this._counter).length > 0) {\n      base.counter = this._counter;\n    }\n    if (Object.keys(this._columnChart).length > 0) {\n      base.columnChart = this._columnChart;\n    }\n    if (Object.keys(this._tableChart).length > 0) {\n      base.tableChart = this._tableChart;\n    }\n    if (this._legend) {\n      base.legend = this._legend;\n    }\n    if (this._seriesColors) {\n      base.seriesColors = this._seriesColors;\n    }\n    return base;\n  }\n\n  get aggregations() {\n    return this._aggregations;\n  }\n\n  aggregationsWithPaywall({ paywall }) {\n    return [\n      ...this._aggregations.filter(agg => !agg.paywalled),\n      {\n        component: 'paywalls/select-group-block',\n        componentShouldReplaceItem: true,\n        paywallFeatureKey: this.paywallFeatureKey,\n        openUpgradeModal: paywall.openUpgradeModal,\n        analyticsEventData: paywall.analyticsEventData,\n        paywalledItems: this._aggregations\n          .filter(agg => agg.paywalled)\n          .map(agg => ({ isDisabled: true, ...agg })),\n        value: 'paywalled',\n      },\n    ];\n  }\n\n  set aggregations({ defaultOption, rest = [] }) {\n    this._aggregations = [\n      {\n        defaultOption: true,\n        ...AGGREGATIONS_CONFIG[defaultOption],\n      },\n      ...rest.map(agg => ({ paywalled: true, ...AGGREGATIONS_CONFIG[agg] })),\n    ];\n  }\n\n  get groupings() {\n    return this._groupings;\n  }\n\n  set groupings({ defaultOption, rest = [] }) {\n    this._groupings = [\n      {\n        defaultOption: true,\n        ...defaultOption,\n      },\n      ...rest.map(option => ({ paywalled: true, ...option })),\n    ];\n  }\n\n  groupingsWithPaywall({ paywall }) {\n    return [\n      ...this._groupings.filter(grouping => !grouping.paywalled),\n      {\n        component: 'paywalls/select-group-block',\n        componentShouldReplaceItem: true,\n        paywallFeatureKey: this.paywallFeatureKey,\n        openUpgradeModal: paywall.openUpgradeModal,\n        analyticsEventData: paywall.analyticsEventData,\n        paywalledItems: this._groupings\n          .filter(grouping => grouping.paywalled)\n          .map(grouping => ({ isDisabled: true, ...grouping })),\n        value: 'paywalled',\n      },\n    ];\n  }\n\n  get formatUnit() {\n    return this._formatUnit;\n  }\n\n  set formatUnit({ unit, displayUnit }) {\n    this._formatUnit = { unit, displayUnit };\n  }\n\n  get legend() {\n    return this._legend;\n  }\n\n  set legend(legend) {\n    this._legend = legend;\n  }\n\n  get counter() {\n    return this._counter;\n  }\n\n  set counter(counterOptions) {\n    this._counter = counterOptions;\n  }\n\n  get tableChart() {\n    return this._tableChart;\n  }\n\n  set tableChart(tableChartOptions) {\n    this._tableChart = tableChartOptions;\n  }\n\n  get columnChart() {\n    return this._columnChart;\n  }\n\n  set columnChart(columnChartOptions) {\n    this._columnChart = columnChartOptions;\n  }\n\n  get seriesColors() {\n    return this._seriesColors;\n  }\n\n  set seriesColors(seriesColors) {\n    this._seriesColors = seriesColors;\n  }\n\n  buildOtherOptions(rest, config) {\n    let options = [];\n\n    rest.map(option => options.push({ paywalled: true, ...config[option] }));\n\n    return options;\n  }\n}\n","export const MESSAGE_VOLUME_TIMELINE = {\n  name: 'default_query',\n  document_type: 'events',\n  range_field: 'event.created_at',\n  aggregation_type: 'value_count',\n  aggregation_field: 'conversation.id',\n};\n\nexport const AGGREGATE_BY_MESSAGE_ID = {\n  name: 'default_query',\n  document_type: 'events',\n  range_field: 'event.created_at',\n  aggregation_type: 'value_count',\n  aggregation_field: 'conversation.message_id',\n};\n\nexport const USER_VOLUME_TIMELINE = {\n  name: 'default_query',\n  document_type: 'events',\n  range_field: 'event.created_at',\n  aggregation_type: 'value_count',\n  aggregation_field: 'conversation.id',\n};\n","export default function(current, previous) {\n  return current.map(val => {\n    let prev = previous.filter(row => row.key === val.key).pop();\n    prev = prev ? prev.value : { closed_won: 0 };\n    return {\n      key: val.key,\n      ...val.value,\n      prev_closed_won: prev.closed_won,\n    };\n  });\n}\n","const EXISTS_OPERATORS = ['known', 'unknown'];\n\nconst OPERATORS = {\n  category: 'eq',\n  not_in_category: 'nin',\n  exists: 'known',\n  not_exists: 'unknown',\n};\n\nexport function buildNestedFieldFilters(custom_fields) {\n  if (!Object.keys(custom_fields || {}).length) {\n    return;\n  }\n\n  let nestedFilters = [];\n  for (let [fieldID, data] of Object.entries(custom_fields)) {\n    let { type, operator, values } = data;\n    let sanitizedOperator = OPERATORS[operator];\n\n    let filter = {\n      field_id: fieldID,\n      operator: sanitizedOperator,\n    };\n\n    if (!EXISTS_OPERATORS.includes(OPERATORS[operator])) {\n      filter.value_field = `value_${attributeTypeForDescriptor(type)}`;\n      filter.values = values;\n    }\n\n    nestedFilters.push(filter);\n  }\n\n  return nestedFilters;\n}\n\nfunction attributeTypeForDescriptor(type) {\n  if (type === 'list') {\n    return 'list_option_id';\n  } else {\n    return type;\n  }\n}\n","/**\n * Append _ooo to field name if withinOfficeHours is true\n */\nexport const officeHoursField = (field, withinOfficeHours) =>\n  withinOfficeHours ? `${field}_ooo` : field;\n\nexport const botInboxAndOfficeHoursField = (field, withinOfficeHours, excludeBotInbox) => {\n  let updatedField = excludeBotInbox ? `${field}_excluding_bot_inbox` : field;\n  return officeHoursField(updatedField, withinOfficeHours);\n};\n\nexport const timeTimeToCloseField = excludeBotInbox =>\n  excludeBotInbox ? 'time_to_close' : 'time_to_close_from_initial_user_part';\n","import { officeHoursField } from './office-hours-field';\n\nexport const CONVERSATIONS_VOLUME = () => ({\n  name: 'default_query',\n  debug_name: 'volume',\n  document_type: 'events',\n  range_field: 'conversation.created_at',\n  aggregation_type: 'value_count',\n  aggregation_field: 'conversation.id',\n  filters: {\n    'event.type': 'conversation_created',\n    exists_fields: ['current.conversation.started_at'],\n  },\n});\n\nexport const RESPONSE_TIME = withinOfficeHours => ({\n  name: 'default_query',\n  debug_name: 'median_response_time',\n  document_type: 'events',\n  range_field: 'conversation.created_at',\n  aggregation_type: 'percentiles',\n  aggregation_field: officeHoursField('comment.response_time', withinOfficeHours),\n  additional_aggregation_parameters: { percents: [50] },\n  filters: {\n    'event.type': 'conversation_teammate_reply',\n    exists_fields: ['current.conversation.started_at'],\n  },\n  unit: 'minute',\n});\n\nexport const FIRST_RESPONSE_TIME = withinOfficeHours => ({\n  name: 'default_query',\n  debug_name: 'first_response_time',\n  document_type: 'events',\n  range_field: 'conversation.created_at',\n  aggregation_type: 'percentiles',\n  aggregation_field: officeHoursField(\n    'current.conversation.first_response_time',\n    withinOfficeHours,\n  ),\n  additional_aggregation_parameters: { percents: [50] },\n  filters: {\n    'event.type': 'conversation_created',\n    exists_fields: ['current.conversation.started_at'],\n  },\n  unit: 'minute',\n});\n\nexport const TIME_TO_CLOSE = withinOfficeHours => ({\n  name: 'default_query',\n  debug_name: 'time_to_last_close',\n  document_type: 'events',\n  range_field: 'conversation.created_at',\n  aggregation_type: 'percentiles',\n  aggregation_field: officeHoursField('current.conversation.time_to_last_close', withinOfficeHours),\n  additional_aggregation_parameters: { percents: [50] },\n  filters: {\n    'event.type': 'conversation_created',\n    exists_fields: ['current.conversation.started_at'],\n  },\n  unit: 'minute',\n});\n\nexport default {\n  CONVERSATIONS_VOLUME,\n  RESPONSE_TIME,\n  FIRST_RESPONSE_TIME,\n  TIME_TO_CLOSE,\n};\n","import {\n  officeHoursField,\n  botInboxAndOfficeHoursField,\n  timeTimeToCloseField,\n} from 'embercom/lib/reporting/office-hours-field';\nimport { CONVERSATION_RATING_IDS } from 'predicates/models/data/conversation-ratings';\nimport { LAST_ASSIGNMENT_TO_CLOSE_TIME } from 'embercom/lib/reporting/flexible/constants';\nimport { INBOUND, CONVERSATION_TYPE_MAPPINGS } from 'embercom/lib/reporting/flexible/constants';\n\nexport const LEADS_CREATED_FILTERS = {\n  message_subclass_types: ['BotAutoMessage', 'VisitorAutoMessage', 'UserMessage'],\n};\n\nexport const CLOSED_CONVERSATIONS = {\n  name: 'default_query',\n  debug_name: 'closed_conversations',\n  document_type: 'conversation_closed',\n  range_field: 'comment_created_at',\n  aggregation_type: 'value_count',\n  aggregation_field: 'conversation_id',\n};\n\nexport const TEAMMATE_REPLIES = {\n  name: 'default_query',\n  debug_name: 'teammate_replies',\n  document_type: 'teammate_reply',\n  range_field: 'comment_created_at',\n  aggregation_type: 'value_count',\n  aggregation_field: 'comment_id',\n};\n\nexport const NEW_CONVERSATIONS = {\n  name: 'default_query',\n  debug_name: 'new_conversations',\n  document_type: 'conversation_with_message_thread',\n  range_field: 'first_user_conversation_part_created_at',\n  aggregation_type: 'value_count',\n  aggregation_field: 'conversation_id',\n  filters: {\n    message_subclass_type: CONVERSATION_TYPE_MAPPINGS[INBOUND],\n  },\n};\n\nexport const MEDIAN_TIME_TO_CLOSE = ({ withinOfficeHours, excludeBotInbox = false }) => ({\n  name: 'default_query',\n  debug_name: 'median_time_to_close',\n  document_type: 'conversation_closed',\n  range_field: 'first_user_conversation_part_created_at',\n  aggregation_type: 'percentiles',\n  aggregation_field: botInboxAndOfficeHoursField(\n    timeTimeToCloseField(excludeBotInbox),\n    withinOfficeHours,\n    excludeBotInbox,\n  ),\n  additional_aggregation_parameters: { percents: [50] },\n});\n\nexport const CONVERSATION_RATINGS = {\n  name: 'default_query',\n  debug_name: 'conversation_ratings',\n  document_type: 'conversation_rating',\n  range_field: 'rating_updated_at',\n  aggregation_type: 'value_count',\n  aggregation_field: 'conversation_id',\n  keys_are_dates: false,\n  nested_keys_are_dates: false,\n  filters: {\n    rating_index: [\n      CONVERSATION_RATING_IDS.AMAZING,\n      CONVERSATION_RATING_IDS.GREAT,\n      CONVERSATION_RATING_IDS.OK,\n      CONVERSATION_RATING_IDS.BAD,\n      CONVERSATION_RATING_IDS.TERRIBLE,\n    ],\n  },\n};\n\nexport const ANSWER_BOT_EFFECTIVENESS = {\n  name: 'default_query',\n  debug_name: 'answer_bot_effectiveness',\n  document_type: 'answer_bot_effectiveness',\n  range_field: 'first_user_conversation_part_created_at',\n  aggregation_type: 'cardinality',\n  aggregation_field: 'conversation_id',\n};\n\nexport const LEADS_CREATED = {\n  name: 'default_query',\n  debug_name: 'leads_created',\n  document_type: 'lead_created',\n  range_field: 'visitor_to_lead_at',\n  aggregation_type: 'value_count',\n  aggregation_field: 'user_id',\n  filters: LEADS_CREATED_FILTERS,\n};\n\nexport const MEDIAN_FIRST_RESPONSE_TIME = {\n  name: 'default_query',\n  debug_name: 'median_first_response_time',\n  document_type: 'initial_admin_reply',\n  range_field: 'conversation_created_at',\n  aggregation_type: 'percentiles',\n  aggregation_field: 'response_time',\n  additional_aggregation_parameters: { percents: [50] },\n};\n\nexport const MEDIAN_FIRST_RESPONSE_TIME_NEW = ({ withinOfficeHours, excludeBotInbox = false }) => ({\n  name: 'default_query',\n  debug_name: 'median_first_response_time_new',\n  document_type: 'initial_admin_reply',\n  range_field: 'conversation_created_at',\n  aggregation_type: 'percentiles',\n  aggregation_field: botInboxAndOfficeHoursField(\n    'response_time',\n    withinOfficeHours,\n    excludeBotInbox,\n  ),\n  additional_aggregation_parameters: { percents: [50] },\n});\n\nexport const MEDIAN_RESPONSE_TIME = ({ withinOfficeHours }) => ({\n  name: 'default_query',\n  debug_name: 'median_response_time',\n  document_type: 'teammate_response',\n  range_field: 'conversation_created_at',\n  aggregation_type: 'percentiles',\n  aggregation_field: officeHoursField('response_time', withinOfficeHours),\n  additional_aggregation_parameters: { percents: [50] },\n});\n\nexport const MEETING_BOOKED = {\n  name: 'default_query',\n  debug_name: 'meeting_booked',\n  document_type: 'meeting_booked',\n  range_field: 'meeting_booked_at',\n  aggregation_type: 'value_count',\n  aggregation_field: 'teammate_participant_id',\n};\n\nexport const NEW_LEADS = {\n  name: 'default_query',\n  debug_name: 'new_leads',\n  document_type: 'lead_created',\n  range_field: 'visitor_to_lead_at',\n  aggregation_type: 'value_count',\n  aggregation_field: 'user_id',\n};\n\nexport const ANSWER_BOT_ANSWERS_SENT = {\n  name: 'default_query',\n  debug_name: 'answer_bot_answers_sent',\n  document_type: 'answer_bot_answer_sent',\n  range_field: 'first_user_conversation_part_created_at',\n  aggregation_type: 'cardinality',\n  aggregation_field: 'conversation_id',\n};\n\nexport const SALESFORCE_LEAD_CREATED = {\n  name: 'default_query',\n  debug_name: 'salesforce_lead_created',\n  document_type: 'salesforce_lead_created',\n  range_field: 'lead_created_at',\n  aggregation_type: 'value_count',\n  aggregation_field: 'user_id',\n};\n\nexport const OPERATOR_CONVERSATIONS_ASSIGNED = {\n  name: 'default_query',\n  debug_name: 'operator_conversations_assigned',\n  document_type: 'operator_conversation_assigned',\n  range_field: 'conversation_assigned_at',\n  aggregation_type: 'cardinality',\n  aggregation_field: 'conversation_id',\n};\n\nexport const OPERATOR_CONVERSATIONS_COMPLETED = {\n  name: 'default_query',\n  debug_name: 'operator_conversations_completed',\n  document_type: 'operator_conversation_completed',\n  range_field: 'conversation_created_at',\n  aggregation_type: 'cardinality',\n  aggregation_field: 'conversation_id',\n};\n\nexport const OPERATOR_CONVERSATION_ENGAGED = {\n  name: 'default_query',\n  debug_name: 'operator_conversation_engaged',\n  document_type: 'operator_conversation_engaged',\n  range_field: 'conversation_created_at',\n  aggregation_type: 'cardinality',\n  aggregation_field: 'conversation_id',\n};\n\nexport const OPERATOR_CONVERSATION_SENT = {\n  name: 'default_query',\n  debug_name: 'operator_conversation_sent',\n  document_type: 'operator_conversation_sent',\n  range_field: 'conversation_created_at',\n  aggregation_type: 'cardinality',\n  aggregation_field: 'conversation_id',\n};\n\nexport const SLA_STATUS_BY_CONVERSATION = {\n  name: 'default_query',\n  debug_name: 'sla_status_by_conversation_id',\n  document_type: 'conversation_sla_status_log',\n  range_field: 'started_at',\n  aggregation_type: 'cardinality',\n  aggregation_field: 'conversation_id',\n  aggregations: [],\n  keys_are_dates: false,\n  nested_keys_are_dates: false,\n};\n\nexport const SLA_STATUS_BY_TRIGGERING_COMMENT = {\n  name: 'default_query',\n  debug_name: 'sla_status_by_triggering_comment',\n  document_type: 'conversation_sla_status_log',\n  range_field: 'started_at',\n  aggregation_type: 'cardinality',\n  aggregation_field: 'conversation_triggering_comment_id',\n  aggregations: [],\n  keys_are_dates: false,\n  nested_keys_are_dates: false,\n};\n\nexport const SLA_STATUS_BY_TRIGGERING_COMMENT_AT_BREACH = {\n  name: 'default_query',\n  debug_name: 'sla_status_by_triggering_comment_at_breach',\n  document_type: 'conversation_sla_status_log',\n  range_field: 'missed_at',\n  aggregation_type: 'cardinality',\n  aggregation_field: 'conversation_triggering_comment_id',\n  aggregations: [],\n  keys_are_dates: false,\n  nested_keys_are_dates: false,\n};\n\nexport const SLA_CONVERSATION_WAIT_TIME = {\n  name: 'default_query',\n  document_type: 'conversation_sla_status_log',\n  debug_name: 'sla_status_conversation_wait_time',\n  range_field: 'started_at',\n  aggregation_type: 'avg',\n  aggregation_field: 'breach_time',\n  aggregations: [],\n  keys_are_dates: false,\n  nested_keys_are_dates: false,\n  filters: {\n    sla_statuses: ['fixed'],\n  },\n};\n\nexport const NEW_CONVERSATIONS_TAG_LIST = {\n  name: 'default_query',\n  debug_name: 'new_conversations_tag_list',\n  document_type: 'conversation_started',\n  range_field: 'conversation_created_at',\n  aggregation_type: 'terms',\n  aggregation_field: 'conversation_tag_ids',\n  additional_aggregation_parameters: { size: 10000 },\n};\n\nexport const CONVERSATIONS_PARTICIPATED_IN_TAG_LIST = {\n  name: 'default_query',\n  debug_name: 'conversations_participated_in_tag_list',\n  document_type: 'teammate_reply',\n  range_field: 'comment_created_at',\n  aggregation_type: 'terms',\n  aggregation_field: 'conversation_tag_ids',\n  additional_aggregation_parameters: { size: 10000 },\n};\n\nexport const CONVERSATIONS_EXPLORER = {\n  name: 'default_query',\n  debug_name: 'conversations_explorer',\n  document_type: 'events',\n  range_field: 'conversation.created_at',\n  aggregation_type: 'cardinality',\n  aggregation_field: 'conversation.id',\n};\n\nexport const SEGMENTS_EVENTS_COUNT = {\n  name: 'default_query',\n  debug_name: 'segment_events',\n  document_type: 'events',\n  range_field: 'event.created_at',\n  aggregation_type: 'cardinality',\n  aggregation_field: '_id',\n  ALL_SEGMENT_EVENTS: {\n    'event.type': ['entered_segment', 'exited_segment'],\n  },\n  ENTERED_EVENTS: {\n    'event.type': ['entered_segment'],\n  },\n  EXITED_EVENTS: {\n    'event.type': ['exited_segment'],\n  },\n};\n\nexport const SEGMENTS_MOST_ACTIVE = {\n  name: 'default_query',\n  debug_name: 'segment_most_active',\n  document_type: 'events',\n  range_field: 'event.created_at',\n  aggregation_type: 'cardinality',\n  aggregation_field: 'user.id',\n  additional_aggregation_parameters: { size: 10000 },\n  ALL_SEGMENT_EVENTS: {\n    'event.type': ['entered_segment', 'exited_segment'],\n  },\n  ENTERED_EVENTS: {\n    'event.type': ['entered_segment'],\n  },\n  EXITED_EVENTS: {\n    'event.type': ['exited_segment'],\n  },\n};\n\nexport const SEGMENT_EVENTS_BY_USER = {\n  name: 'default_query',\n  debug_name: 'segment_events_by_unique_user_id',\n  document_type: 'events',\n  range_field: 'event.created_at',\n  aggregation_type: 'cardinality',\n  aggregation_field: 'user.id',\n  additional_aggregation_parameters: { size: 10000 },\n};\n\nexport const NEW_PEOPLE_BY_USER = {\n  name: 'default_query',\n  document_type: 'events',\n  range_field: 'event.created_at',\n  aggregation_type: 'value_count',\n  aggregation_field: 'user.id',\n};\n\nexport const NEW_CONVERSATIONS_EVENTS = {\n  name: 'default_query',\n  document_type: 'events',\n  range_field: 'event.created_at',\n  aggregation_type: 'value_count',\n  aggregation_field: 'conversation.id',\n};\n\nexport const APP_PACKAGE_INSTALL_STATUS_CHANGED_EVENTS = {\n  name: 'default_query',\n  debug_name: 'app_package_install_status_changed_events',\n  document_type: 'events',\n  range_field: 'event.created_at',\n  aggregation_type: 'value_count',\n  aggregation_field: 'app_package_install.id',\n  filters: {\n    'event.type': 'app_package_install_status_changed',\n  },\n};\n\nexport const FIRST_ASSIGNMENT_TO_CLOSE_TIME = ({ withinOfficeHours }) => ({\n  name: 'default_query',\n  debug_name: 'first_assignment_to_close_time_buckets',\n  document_type: 'conversation_with_message_thread',\n  range_field: 'first_user_conversation_part_created_at',\n  aggregation_type: 'value_count',\n  aggregation_field: botInboxAndOfficeHoursField(LAST_ASSIGNMENT_TO_CLOSE_TIME, withinOfficeHours),\n});\n","import percent from 'embercom/lib/percentage-formatter';\nimport { isArray } from '@ember/array';\n\n/**\n * Replaces `value` with sum of all context bucket values.\n *\n * @param {{context: array, value: number}} signal The input signal values\n * @return {{context: array, value: number}} Transformed signal\n *\n * @example\n *   let signal = Signal.create({\n *     originalContext: [{key: \"a\", value: 1}, {key: \"b\", value: 2}],\n *     originalValue: null\n *   })\n *\n *   signal.transform(sumContextToValue) == {\n *     originalContext: [{key: \"a\", value: 1}, {key: \"b\", value: 2}],\n *     originalValue: 3\n *   }\n */\nexport const sumContextToValue = ({ context, value }) => ({\n  context,\n  value: context ? context.reduce((sum, bucket) => sum + bucket.value, 0) : null,\n});\n\n/**\n * Groups input context with list of keys for each category and produces\n * sum of the values for each group\n *\n * @param {{key: string, sumKeys: string[]}[]} categories List of categories to map context on\n * @param {{context: array, value: number}} signal The input signal values\n * @return {{context: array, value: number}} Transformed signal\n *\n * @example\n *   let categories = [{key: \"a_and_b\", sumKeys: [\"a\", \"b\"]}]\n *   let signal = Signal.create({\n *     originalContext: [{key: \"a\", value: 1}, {key: \"b\", value: 2}, {key: \"c\", value: 5}],\n *     originalValue: 8\n *   })\n *\n *   signal.transform(sumBucketsToCategories(categories)) == {\n *     originalContext: [{key: \"a_and_b\", value: 3}],\n *     originalValue: 3\n *   }\n */\nexport const sumBucketsToCategories = categories => ({ context, value }) => {\n  let categoriesContext = categories.map(cat => ({\n    key: cat.key,\n    value: context.reduce(\n      (sum, bucket) => (cat.sumKeys.includes(bucket.key) ? sum + bucket.value : sum),\n      0,\n    ),\n  }));\n\n  return sumContextToValue({\n    context: categoriesContext,\n  });\n};\n\n/**\n * Swaps value field into context and produces sum of its values as the new top level value\n * This is useful for signals using value_count aggregation\n *\n * @param {{context: array, value: number}} signal The input signal values\n * @return {{context: array, value: number}} Transformed signal\n *\n * @example\n *   let signal = Signal.create({\n *     originalContext: null,\n *     originalValue: [{key: \"a\", value: 1}, {key: \"b\", value: 2}]\n *   })\n *\n *   signal.transform(topValuesSignalToContextSignal) == {\n *     originalContext: [{key: \"a\", value: 1}, {key: \"b\", value: 2}],\n *     originalValue: 3\n *   }\n */\nexport const topValuesSignalToContextSignal = ({ context, value }) =>\n  sumContextToValue({\n    context: value,\n  });\n\n/**\n * Prepends string to each context bucket key with colon (:)\n *\n * @param {string} prefix String used to prefix to bucket's key\n * @param {{context: array, value: number}} signal The input signal values\n * @return {{context: array, value: number}} Transformed signal\n *\n * @example\n *   let signal = Signal.create({\n *     originalContext: [{key: \"a\", value: 1}, {key: \"b\", value: 2}],\n *     originalValue: 3\n *   })\n *\n *   signal.transform(withPrefix(\"msg\")) == {\n *     originalContext: [{key: \"msg:a\", value: 1}, {key: \"msg:b\", value: 2}],\n *     originalValue: 3\n *   }\n */\nexport const prefixContextKey = prefix => ({ context, value }) => ({\n  context: context.map(bucket => ({ ...bucket, key: `${prefix}:${bucket.key}` })),\n  value,\n});\n\n/**\n * Sorts context list by the context items value ascending\n *\n * @param {{context: array, value: number}} signal The input signal values\n * @return {{context: array, value: number}} Transformed signal\n *\n * @example\n *   let signal = Signal.create({\n *     originalContext: [{key: \"a\", value: 66}, {key: \"b\", value: 22}],\n *     originalValue: 88\n *   })\n *\n *   signal.transform(sortContext) == {\n *     originalContext: [{key: \"b\", value: 22}, {key: \"a\", value: 66}],\n *     originalValue: 88\n *   }\n */\nexport const sortContext = ({ context, value }) => ({\n  context: context.sortBy('value'),\n  value,\n});\n\n/**\n * Concatenates contexts of otherSignal to context of transforming signal, sorting it by the context values\n *\n * @param {Signal} otherSignal other signal that will be appended to the transformed signal\n * @param {{context: array, value: number}} signal The input signal values\n * @return {{context: array, value: number}} Transformed signal\n *\n * @example\n *   let signal1 = Signal.create({\n *     originalContext: [{key: \"a\", value: 11}, {key: \"b\", value: 55}],\n *     originalValue: 66\n *   })\n *   let signal2 = Signal.create({\n *     originalContext: [{key: \"c\", value: 22}],\n *     originalValue: 22\n *   })\n *\n *   signal1.transform(concatAndSortSignalWith(signal2)) == {\n *     originalContext: [{key: \"a\", value: 11}, {key: \"c\", value: 22}, {key: \"b\", value: 55}],\n *     originalValue: 88\n *   }\n */\nexport const concatAndSortSignalWith = otherSignal => ({ context, value, previous }) => {\n  let otherData = otherSignal.contextAndValuePair({ previous });\n  let combinedContext = context.concat(otherData.context);\n\n  return sortContext({\n    context: combinedContext,\n    value: value + otherData.value,\n  });\n};\n\n/**\n * Reverses context list\n *\n * @param {{context: array, value: number}} signal The input signal values\n * @return {{context: array, value: number}} Transformed signal\n *\n * @example\n *   let signal = Signal.create({\n *     originalContext: [{key: \"a\", value: 11}, {key: \"b\", value: 55}],\n *     originalValue: 66\n *   })\n *\n *   signal.transform(sortContext) == {\n *     originalContext: [{key: \"b\", value: 55}, {key: \"a\", value: 11}],\n *     originalValue: 66\n *   }\n */\nexport const reverse = ({ context, value }) => ({\n  context: context.reverse(),\n  value,\n});\n\n/**\n * Converts signal context values to their respective percentages\n *\n * @param {{context: array, value: number}} signal The input signal values\n * @return {{context: array, value: number}} Transformed signal\n *\n * @example\n *   let signal = Signal.create({\n *     originalContext: [{key: \"a\", value: 11}, {key: \"b\", value: 55}],\n *     originalValue: 66\n *   })\n *\n *   signal.transform(asPercentages) == {\n *     originalContext: [{key: \"a\", value: 17}, {key: \"b\", value: 83}],\n *     originalValue: 100\n *   }\n */\nexport const asPercentages = ({ context, value: total }) => {\n  let percentagesByKey = context.reduce(\n    (stackableData, contextItem) => ({\n      ...stackableData,\n      [contextItem.key]: percent(total, contextItem.value),\n    }),\n    {},\n  );\n\n  return {\n    context: context.map(c => ({\n      ...c,\n      value: percentagesByKey[c.key],\n    })),\n    value: 100,\n  };\n};\n\n/**\n * Filters context list to buckets where key value is included in keys.\n * Replaces top level value with sum of resulting buckets\n *\n * @param {string[]} keys Keys to be filtered into result\n * @param {{context: array, value: number}} signal The input signal values\n * @return {{context: array, value: number}} Transformed signal\n *\n * @example\n *   let signal = Signal.create({\n *     originalContext: [{key: \"a\", value: 1}, {key: \"b\", value: 2}, {key: \"c\", value: 4}],\n *     originalValue: 7\n *   }\n *\n *   signal.transform(filterContextKeys([\"a\",\"c\"])) == {\n *     originalContext: [{key: \"a\", value: 1}, {key: \"c\", value: 4}],\n *     originalValue: 5\n *   }\n */\nexport const filterContextKeys = keys => ({ context, value }) =>\n  sumContextToValue({\n    context: context.filter(c => keys.includes(c.key)),\n    value,\n  });\n\nexport const filterOutContextKeys = keys => ({ context, value }) =>\n  sumContextToValue({\n    context: context.filter(c => !keys.includes(c.key)),\n    value,\n  });\n\n/**\n * Sets context's value to be value of `count`. And replaces top level `value` with sum of counts of context.\n * Useful for signals where you want to report on individual events, rather than their aggregations\n *\n * @param {{context: array, value: number}} signal The input signal values\n * @return {{context: array, value: number}} Transformed signal\n *\n * @example\n *   let signal = Signal.create({\n *     originalContext: [{key: \"a\", value: 1, count: 4}, {key: \"b\", value: 2, count: 4}, {key: \"c\", value: 4, count: 6}],\n *     originalValue: 7\n *   }\n *\n *   signal.transform(useDocCountsAsValue) == {\n *     originalContext: [{key: \"a\", value: 4, count: 4}, {key: \"b\", value: 4, count: 4}, {key: \"c\", value: 6, count: 6],\n *     originalValue: 12\n *   }\n */\nexport const useDocCountsAsValue = ({ context, value }) => ({\n  context: context.map(bucket => ({\n    ...bucket,\n    value: isArray(bucket.value)\n      ? useDocCountsAsValue({ context: bucket.value }).context\n      : bucket.count,\n  })),\n  value: context.reduce((sum, bucket) => sum + bucket.count, 0),\n});\n\nexport const stackBucketsToPercents = ({ context, value }) => ({\n  context: context.map(item => ({\n    ...item,\n    value: percent(value, item.value) || 0,\n    count: item.value,\n  })),\n  value,\n});\n\nexport const createBucketsForKeys = keys => ({ context, value }) => {\n  let contextKeysMap = context.reduce((acc, data) => {\n    acc[data.key] = data;\n    return acc;\n  }, {});\n\n  return {\n    context: keys.map(key => {\n      let { value = 0, count = 0 } = contextKeysMap[key] || {};\n      return {\n        key: key.toString(),\n        value,\n        count,\n      };\n    }),\n    value,\n  };\n};\n\nexport const stackNestedBucketsToPercents = ({ context, value }) => {\n  let contextTotals = context\n    .map(contextItem => contextItem.value)\n    .map((contextValue = []) =>\n      contextValue.reduce((total, valueItem) => total + valueItem.value, 0),\n    );\n\n  return {\n    context: context.map((contextItem, i) => {\n      let total = contextTotals[i];\n\n      return {\n        ...contextItem,\n        value: contextItem.value.map(item => ({\n          ...item,\n          value: percent(total, item.value) || 0,\n          count: item.value,\n        })),\n      };\n    }),\n    value,\n  };\n};\n\nexport const useAggregateBucketValueAsBucketCount = ({ context, value }) => {\n  let contextValues = context.map(contextItem => contextItem.value);\n  let aggregateValues = contextValues.map(values =>\n    values.reduce((aggregate, val) => aggregate + val.value, 0),\n  );\n\n  return {\n    context: context.map((contextItem, i) => ({\n      ...contextItem,\n      count: aggregateValues[i],\n    })),\n    value,\n  };\n};\n\nexport const createAmazingOrGoodValueForNestedBuckets = ({ context, value }) => {\n  let contextValues = context.map(contextItem => contextItem.value);\n  let amazingOrGoodKeys = [5, 4];\n\n  let total = contextValues\n    .map((contextValue = []) =>\n      contextValue.reduce((total, valueItem) => total + valueItem.value, 0),\n    )\n    .reduce((total, bucketTotal) => total + bucketTotal, 0);\n\n  let amazingOrGoodTotals = contextValues.map((contextValue = []) =>\n    contextValue.reduce(\n      (bucketTotal, valueItem) =>\n        bucketTotal + (amazingOrGoodKeys.includes(valueItem.key) ? valueItem.value : 0),\n      0,\n    ),\n  );\n\n  let amazingOrGoodTotal = amazingOrGoodTotals.reduce(\n    (total, bucketTotal) => total + bucketTotal,\n    0,\n  );\n\n  return {\n    context,\n    value: {\n      percent: percent(total, amazingOrGoodTotal),\n      count: amazingOrGoodTotal,\n      totalCount: total,\n    },\n  };\n};\n\nexport const createPercentBucketsForNestedKeys = (statName, keys) => ({ context, value }) => ({\n  context: context.map(item => {\n    let [numerator, denominator] = keys.map(\n      key => (item.value.find(data => data.key === key) || {}).count || 0,\n    );\n    return {\n      key: item.key,\n      value: [{ key: statName, value: Math.round(percent(numerator, denominator)) || 0 }],\n    };\n  }),\n  value,\n});\n\nexport const mapContextItemToModelByKey = ({ models, valuePath }) => ({ context, value }) => {\n  let modelIdsMap = models.reduce((acc, model) => {\n    acc[model.id] = model;\n    return acc;\n  }, {});\n\n  return {\n    context: context.reduce((result, item) => {\n      let model = modelIdsMap[item.key];\n\n      if (!model) {\n        return result;\n      }\n\n      result.push({ ...item, [valuePath]: model.get(valuePath) });\n      return result;\n    }, []),\n    value,\n  };\n};\n","const VISUALIZATION_COLORS = [\n  ['vis-blue-40', 'vis-blue-60', 'vis-blue-70', 'vis-blue-80'],\n  ['vis-salmon-40', 'vis-salmon-60', 'vis-salmon-70', 'vis-salmon-80'],\n  ['vis-green-40', 'vis-green-60', 'vis-green-70', 'vis-green-80'],\n  ['vis-magenta-40', 'vis-magenta-60', 'vis-magenta-70', 'vis-magenta-80'],\n];\n\n/**\n * Creates an object that maps keys to unique visualization colors from the styleguide\n *\n * @param {String[]} keys An array of unique keys to create a stable color for\n * @returns An object mapping each key to a generated color name\n */\nexport const createColorHashForKeys = keys =>\n  keys.reduce((colorHash, key, i) => {\n    let shade = Math.floor(i / 4);\n    let color = i - shade * 4;\n\n    return {\n      ...colorHash,\n      [key]: VISUALIZATION_COLORS[color][shade],\n    };\n  }, []);\n\nconst CHART_HEIGHT = 250;\n\n/**\n * Returns a start number, and a scale percentage, used to position and resize bars\n *\n * @param {number} start A context item starting value, often 0\n * @param {number} end A context item value to represent on a visualization\n * @param {*} scale an instantiated d3 scale function\n */\nexport const createScaledStackItem = (start, end, scale) => {\n  let [scaledStart, scaledEnd] = [scale(start), scale(end)];\n\n  return {\n    start: -scaledStart,\n    scale: (scaledEnd - scaledStart) / CHART_HEIGHT,\n  };\n};\n","export const WEEK_DAYS = [\n  'Monday',\n  'Tuesday',\n  'Wednesday',\n  'Thursday',\n  'Friday',\n  'Saturday',\n  'Sunday',\n];\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* This function resolves all promises and counters Promise.all's fail fast behaviour.\n   NB: Assumes promises will return objects.\n */\nexport default function ResolveAllPromises(promises) {\n  return promises.map(promise =>\n    promise\n      .then(val => {\n        return { value: val, resolved: true };\n      })\n      .catch(val => {\n        return { value: val, resolved: false };\n      }),\n  );\n}\n","// link to SO https://stackoverflow.com/a/49974627/10891259\nexport default function rgbaToHex(orig) {\n  let a;\n  let rgb = orig.replace(/\\s/g, '').match(/^rgba?\\((\\d+),(\\d+),(\\d+),?([^,\\s)]+)?/i);\n  let alpha = ((rgb && rgb[4]) || '').trim();\n  /* eslint-disable no-bitwise */\n  let hex = rgb\n    ? (rgb[1] | (1 << 8)).toString(16).slice(1) +\n      (rgb[2] | (1 << 8)).toString(16).slice(1) +\n      (rgb[3] | (1 << 8)).toString(16).slice(1)\n    : orig;\n  if (alpha !== '') {\n    a = alpha;\n  } else {\n    a = 1;\n  }\n  // multiply before convert to HEX\n  a = ((a * 255) | (1 << 8)).toString(16).slice(1);\n  /* eslint-enable no-bitwise */\n  hex += a;\n\n  return `#${hex}`;\n}\n","export default {\n  adminProfile: /^apps\\.app\\.admins\\.admin/,\n  appStoreOrHome: /^apps\\.app\\.(appstore|home)/,\n  companiesRoute: /^apps\\.app\\.(companies)/,\n  companyRoute: /^apps\\.app\\.companies\\.company/,\n  educate: /^apps\\.app\\.educate/,\n  inboundEmail: /^apps\\.app\\.inbound-email/,\n  inbox: /^apps\\.app\\.inbox\\.inbox/,\n  inboxSearch: /^apps\\.app.*\\.inbox\\.search/,\n  conversation: /^apps\\.app\\.inbox\\.inbox\\.(conversations\\.)?conversation/,\n  platformRoutes: /^apps\\.app\\.(users|companies|feed|platform|accounts)/,\n  visitorAutoMessagesRoute: /^apps\\.app\\.outbound\\.messages\\.visitor/,\n  respondReporting: /^apps\\.app\\.inbox\\.reporting/,\n  inboxAssignmentRules: /^apps\\.app\\.inbox\\.automation\\.assignment/,\n  inboxPriorityRules: /^apps\\.app\\.inbox\\.automation\\.priority/,\n  inboxSlaRules: /^apps\\.app\\.inbox\\.automation\\.sla/,\n  inboxTagRules: /^apps\\.app\\.inbox\\.automation\\.tag/,\n  workloadManagement: /^apps\\.app\\.inbox\\.automation\\.workload-management/,\n  workflows: /^apps\\.app\\.inbox\\.automation\\.workflows/,\n  inboxPreferencesRoute: /^apps\\.app\\.inbox\\.preferences/,\n  inboxExport: /^apps\\.app\\.inbox\\.reporting\\.export/,\n  respondGuide: /^apps\\.app\\.inbox\\.guide/,\n  respondAbout: /^apps\\.app\\.inbox\\.about/,\n  respond: /^apps\\.app\\.inbox/,\n  userList: /^apps\\.app\\.users\\.segments/,\n  usersRoute: /^apps\\.app\\.(users)/,\n  userRoute: /^apps\\.app\\.users\\.user/,\n  appSettings: {\n    appAndTeams: /^apps\\.app\\.settings\\.(general|teammates|teams|logs|office-hours|roles)/,\n    messagesAndEmail: /^apps\\.app\\.settings\\.(messaging|email-templates|email-forwarding|senders|universal-linking)/,\n    messenger: /^apps\\.app\\.settings\\.(messenger|appearance|identity-verification)/,\n    data: /^apps\\.app\\.settings\\.(tags|people-segments|company-segments|people-data|company-data|conversation-data|qualification-settings|saved-replies|inbox-views|events|imports|delete-user|slas)/,\n    spam: /^apps\\.app\\.settings\\.(blocked-users|spam-messages)/,\n    inbox: /^apps\\.app\\.settings\\.teams/,\n    installation: /^apps\\.app\\.settings\\.(web|ios|android)$/,\n    developers: /^apps\\.app\\.settings\\.webhooks/,\n    intercomOnly: /^apps\\.app\\.settings\\.logs/,\n    security: /^apps\\.app\\.settings\\.(security|identity-verification|attachment-settings)/,\n  },\n  accountSettings: {\n    root: /^apps\\.app\\.account/,\n    yourAccount: /^apps\\.app\\.account\\.general/,\n    notifications: /^apps\\.app\\.account\\.notifications/,\n    inboxSettings: /^apps\\.app\\.account\\.(conversations|inbox-wallpaper)/,\n    visibility: /^apps\\.app\\.account\\.visibility\\./,\n    authentication: /^apps\\.app\\.account\\.oauth-tokens/,\n    accountAccess: /^apps\\.app\\.account\\.account_access/,\n  },\n  onboardingHome: /^apps\\.app\\.home/,\n  onboardingHomeOrMessages: /^apps\\.app\\.(home|messages)/,\n  onboardingHomeOrPlatform: /^apps\\.app\\.(home|users|companies|feed|platform|accounts)/,\n  operatorHome: /^apps\\.app\\.operator$/,\n  operatorReporting: /^apps\\.app\\.operator\\.(custom|answer)-bots?\\.reporting/,\n  answerBot: /^apps\\.app\\.operator\\.resolution-bot/,\n  customBots: /^apps\\.app\\.operator\\.custom-bots/,\n  taskBots: /^apps\\.app\\.operator\\.task-bots/,\n  customOrTaskBots: /^apps\\.app\\.operator\\.(custom|task)-bots/,\n  singleCustomBot: /^apps\\.app\\.operator\\.custom-bots\\.custom-bot/,\n  integrationsRoute: /^apps\\.app\\.integrations/,\n  excludedFromOnboardingRoutes: /(^apps\\.app\\.(home|test-conversation|import|onboarding|teams-checkout|mobile-welcome|created|get-started|pre-tour))|(^apps\\.new)/,\n  answersRoute: /^apps\\.app\\.answers/,\n  developerHub: {\n    basicInfo: /^apps\\.app\\.developer-hub\\.app-packages\\.app-package\\.basic-info/,\n    authentication: /^apps\\.app\\.developer-hub\\.app-packages\\.app-package\\.oauth/,\n    canvasKit: /^apps\\.app\\.developer-hub\\.app-packages\\.app-package\\.canvas-kit/,\n    review: /^apps\\.app\\.developer-hub\\.app-packages\\.app-package\\.review/,\n    workspaces: /^apps\\.app\\.developer-hub\\.app-packages\\.app-package\\.workspaces/,\n    appStoreListing: /^apps\\.app\\.developer-hub\\.app-packages\\.app-package\\.app-store-listing/,\n    gettingStartedGuide: /^apps\\.app\\.developer-hub\\.app-packages\\.app-package\\.getting-started-guide/,\n    customerWorkspaces: /^apps\\.app\\.developer-hub\\.app-packages\\.app-package\\.customer-workspaces/,\n    webhooks: /^apps\\.app\\.developer-hub\\.app-packages\\.app-package\\.webhooks/,\n    reports: {\n      base: /^apps\\.app\\.developer-hub\\.app-packages\\.app-package\\.reports\\..*/,\n      installsAndUninstalls: /^apps\\.app\\.developer-hub\\.app-packages\\.app-package\\.reports\\.installs-and-uninstalls/,\n      historyOfEvents: /^apps\\.app\\.developer-hub\\.app-packages\\.app-package\\.reports\\.history-of-events/,\n    },\n    edit: /^apps\\.app\\.developer-hub\\.app-packages\\.app-package\\.(basic-info|oauth|webhooks|review|workspaces|app-store-listing)\\.edit/,\n  },\n  reports: {\n    customerSupportReports: /^apps\\.app\\.reports\\.customer-support/,\n    leadGenerationReports: /^apps\\.app\\.reports\\.lead-generation/,\n    inboxReports: /^apps\\.app\\.reports\\.inbox/,\n    operatorReports: /^apps\\.app\\.reports\\.operator\\.(custom|resolution)-bots?/,\n    conversationalInsights: /^apps\\.app\\.reports\\.conversational-insights/,\n    customReports: /^apps\\.app\\.reports\\.custom-reports/,\n  },\n};\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberRouter from '@ember/routing/router';\nimport config from './../../config/environment';\nimport {\n  isBootedInPublicPage,\n  publicPageRootUrl,\n  isBootedInPublicAppStoreMode,\n  isBootedInMeetingScheduler,\n} from '../embercom-boot-data';\nimport { setSentryTagsFromTransition } from 'embercom/lib/sentry';\n\nconst IS_EMBERCOM = !isBootedInPublicPage();\n\nexport default class EmbercomRouter extends EmberRouter {\n  rootURL = IS_EMBERCOM ? config.rootURL : publicPageRootUrl();\n  location = config.locationType;\n\n  init() {\n    super.init(...arguments);\n    this.on('routeWillChange', transition => {\n      setSentryTagsFromTransition(transition);\n    });\n\n    this.on('routeDidChange', transition => {\n      setSentryTagsFromTransition(transition);\n    });\n  }\n\n  static map() {\n    if (IS_EMBERCOM) {\n      super.map(...arguments);\n    } else if (isBootedInPublicAppStoreMode()) {\n      super.map(function() {\n        this.route('appstore', { path: '/' }, function() {\n          this.route('app-package', { path: 'apps/:id' });\n          this.route('not-found', { path: '*path' });\n        });\n      });\n    } else if (isBootedInMeetingScheduler()) {\n      super.map(function() {\n        this.route('meeting-scheduler', { path: ':id' });\n        this.route('meeting-scheduler', { path: ':id/:duration' });\n      });\n    }\n  }\n}\n","// navigate a transition's routeInfos list return all route params\nexport default function getTransitionParams(transition) {\n  let params = {};\n\n  transition.routeInfos.forEach(routeInfo => {\n    params[routeInfo.name] = routeInfo.params;\n  });\n\n  return params;\n}\n","const getDefaultSegment = function(segments, visibleSegmentIds, fallbackSegmentIdentifier) {\n  // Active, if it's present and visible\n  let segment = segments.findBy('name', 'Active');\n  if (segment && visibleSegmentIds.includes(segment.id)) {\n    return segment;\n  }\n\n  // otherwise, the first visible segment\n  for (let id of visibleSegmentIds) {\n    let segment = segments.findBy('id', id);\n    if (segment) {\n      return segment;\n    }\n  }\n\n  // if no segments are visible then fallback to the one with the supplied identifier\n  return segments.findBy('identifier', fallbackSegmentIdentifier);\n};\n\nexport default getDefaultSegment;\n","import { later, schedule } from '@ember/runloop';\nlet Run = {};\n\nRun.later = function(context, func, wait) {\n  later(\n    context,\n    function() {\n      if (!(context.get('isDestroyed') || context.get('isDestroying'))) {\n        func.call(context);\n      }\n    },\n    wait,\n  );\n};\n\nRun.schedule = function(hook, context, func) {\n  schedule(hook, context, function() {\n    if (!(context.get('isDestroyed') || context.get('isDestroying'))) {\n      func.call(context);\n    }\n  });\n};\n\nexport default Run;\n","import HtmlCleaner from '@intercom/embercom-composer/lib/html-cleaner';\n\nexport default function(url) {\n  let cleaner = new HtmlCleaner();\n\n  if (cleaner.isJavascriptOrDataUri(url)) {\n    console.error('Cannot open new window, URL is to a disallowed protocol.');\n    return;\n  }\n\n  return window.open(...arguments);\n}\n","const SAML_VERIFICATION_ERRORS = {\n  saml_account_not_found: {\n    message:\n      \"The domain in your email address isn't in your list of allowed domains. Add and verify the domain to continue.\",\n    showLinkToArticle: false,\n  },\n  invalid_saml_response: {\n    message: 'Invalid SAML response',\n    showLinkToArticle: true,\n  },\n  admin_not_found: {\n    message:\n      'Teammate not found. Check if the nameid set up in your identity provider is an email address or if you logged in using the right email address.',\n    showLinkToArticle: true,\n  },\n  not_authorized: {\n    message:\n      \"The domain in your email address isn't in your list of allowed domains. Add and verify the domain to continue\",\n    showLinkToArticle: true,\n  },\n  missing_required_attributes: {\n    message:\n      \"The response from your identity provider didn't include firstName and lastName. Add these attributes in order to continue.\",\n    showLinkToArticle: true,\n  },\n  public_certificate_error: {\n    message: 'Invalid certificate. Check if the certificate is correct and try again.',\n    showLinkToArticle: true,\n  },\n  decryption_error: {\n    message:\n      \"Unable to decrypt the response from your identity provider. Check if you're using AES256_CBC and the correct public certificate.\",\n    showLinkToArticle: true,\n  },\n};\n\nconst SAML_SIGN_IN_ERRORS = {\n  saml_account_not_found:\n    'Single sign-on has not been configured for your email address or domain yet. Try a different login method or contact your administrator.',\n  invalid_saml_response:\n    'Login failed because of an error from the identity provider. Contact your administrator or try again.',\n  admin_create_failed:\n    \"We couldn't create your account for this workspace. Try again or contact support.\",\n  admin_not_found:\n    \"You don't have access to this Intercom workspace. Ask your teammates or administrator to invite you.\",\n  not_authorized:\n    'Single sign-on has not been configured for your domain yet. Try a different login method or contact your administrator.',\n  missing_required_attributes:\n    'Login failed because of an error from the identity provider. Contact your administrator or try again.',\n  public_certificate_error:\n    \"We couldn't log you in because your identity provider returned an error. Contact your administrator or try again.\",\n  decryption_error:\n    \"We couldn't log you in because your identity provider returned an error. Contact your administrator or try again.\",\n  session_expired: 'Your session expired, please sign in again to continue.',\n};\n\nexport const getSamlVerificationErrorMessage = (errorCode, customMessage) => {\n  if (errorCode && errorCode in SAML_VERIFICATION_ERRORS) {\n    let { message } = SAML_VERIFICATION_ERRORS[errorCode];\n    if (customMessage) {\n      message = `${message}: ${customMessage}`;\n    }\n    return message;\n  }\n\n  return 'An unexpected error happened, please try again or contact support.';\n};\n\nexport const shouldShowLinkToSamlArticle = errorCode => {\n  if (errorCode && errorCode in SAML_VERIFICATION_ERRORS) {\n    return SAML_VERIFICATION_ERRORS[errorCode].showLinkToArticle;\n  }\n\n  return false;\n};\n\nexport const getSamlSignInErrorMessage = errorCode => {\n  if (errorCode && errorCode in SAML_SIGN_IN_ERRORS) {\n    let message = SAML_SIGN_IN_ERRORS[errorCode];\n    return message;\n  }\n\n  return 'An unexpected error happened, please try again or contact support.';\n};\n","// This file contains code migrated from the deprecated\n// `ember-overlays` internal overlay library. If you'd\n// like to use or change anything here please come chat\n// to us in the #ember_js channel on Slack\n\nconst NULL_BOX_EDGES = {\n  topEdge: 0,\n  rightEdge: 0,\n  bottomEdge: 0,\n  leftEdge: 0,\n};\n\nconst SCREEN_MARGIN_OF_ZERO = {\n  top: 0,\n  right: 0,\n  bottom: 0,\n  left: 0,\n};\n\nconst EDGE_NAMES = ['topEdge', 'rightEdge', 'bottomEdge', 'leftEdge'];\n\nfunction getScreenWidth() {\n  // alternative to $(window).width()\n  return document.documentElement.clientWidth;\n}\n\nfunction getScreenHeight() {\n  // alternative to $(window).height()\n  return document.documentElement.clientHeight;\n}\n\nfunction heightOfBoxEdges(boxEdges) {\n  return boxEdges.bottomEdge - boxEdges.topEdge;\n}\n\nfunction widthOfBoxEdges(boxEdges) {\n  return boxEdges.rightEdge - boxEdges.leftEdge;\n}\n\nfunction screenBoxSize(screenMargin) {\n  return screenBoxSizeAccommodatingMargins(screenMargin, getScreenWidth(), getScreenHeight());\n}\n\nfunction screenBoxSizeAccommodatingMargins(screenMargin, screenWidth, screenHeight) {\n  return {\n    width: screenWidth - (screenMargin.left + screenMargin.right),\n    height: screenHeight - (screenMargin.top + screenMargin.bottom),\n  };\n}\n\nfunction screenEdgesForScreenSizeHash(screenMargin, screenSize) {\n  let screenBoxPosition = {\n    top: screenMargin.top,\n    left: screenMargin.left,\n  };\n\n  return boundingBoxEdges(screenBoxPosition, screenSize);\n}\n\nfunction screenEdges(screenMargin) {\n  if (typeof screenMargin === 'undefined') {\n    screenMargin = SCREEN_MARGIN_OF_ZERO;\n  }\n\n  return screenEdgesForScreenSizeHash(screenMargin, screenBoxSize(screenMargin));\n}\n\nfunction boundingBoxEdges(boundingBoxPosition, boundingBoxSize) {\n  let topEdge = boundingBoxPosition.top;\n  let rightEdge = boundingBoxPosition.left + boundingBoxSize.width;\n  let bottomEdge = boundingBoxPosition.top + boundingBoxSize.height;\n  let leftEdge = boundingBoxPosition.left;\n\n  return {\n    topEdge,\n    rightEdge,\n    bottomEdge,\n    leftEdge,\n  };\n}\n\nfunction boundingBoxOnScreen(boundingBoxPosition, boundingBoxSize, screenMargin) {\n  let s = screenEdges(screenMargin);\n  let b = boundingBoxEdges(boundingBoxPosition, boundingBoxSize);\n\n  return boundingBoxInContainer(b, s);\n}\n\nfunction boundingBoxInContainer(hashOfBoundingBoxEdges, containerEdges) {\n  return (\n    hashOfBoundingBoxEdges.topEdge >= containerEdges.topEdge &&\n    hashOfBoundingBoxEdges.rightEdge <= containerEdges.rightEdge &&\n    hashOfBoundingBoxEdges.bottomEdge <= containerEdges.bottomEdge &&\n    hashOfBoundingBoxEdges.leftEdge >= containerEdges.leftEdge\n  );\n}\n\nfunction isValidBoundingBoxEdges(boxEdges) {\n  return heightOfBoxEdges(boxEdges) >= 0 && widthOfBoxEdges(boxEdges) >= 0;\n}\n\nfunction intersectingBoundingBoxEdges(boxEdgesOne, boxEdgesTwo) {\n  let returnedBoxEdges = {};\n\n  EDGE_NAMES.forEach(side => {\n    let fn = ['topEdge', 'leftEdge'].includes(side) ? Math.max : Math.min;\n    returnedBoxEdges[side] = fn(boxEdgesOne[side], boxEdgesTwo[side]);\n  });\n\n  return isValidBoundingBoxEdges(returnedBoxEdges) ? returnedBoxEdges : NULL_BOX_EDGES;\n}\n\nfunction elementBoundingBox(el) {\n  return elementAndChildrenBoundingBox(el, false);\n}\n\nfunction elementAndChildrenBoundingBox(el, includeChildren = true) {\n  if (el === undefined || el === null) {\n    return {\n      top: 0,\n      left: 0,\n      topEdge: 0,\n      rightEdge: 0,\n      bottomEdge: 0,\n      leftEdge: 0,\n      width: 0,\n      height: 0,\n    };\n  }\n\n  // Just in case someone passes in a jQuery object\n  if (typeof el.jquery === 'string') {\n    el = el.get(0);\n  }\n\n  // Get boundingClientRect and convert to editable object\n  let boundingClientRect = el.getBoundingClientRect();\n  boundingClientRect = {\n    left: boundingClientRect.left,\n    right: boundingClientRect.right,\n    top: boundingClientRect.top,\n    bottom: boundingClientRect.bottom,\n  };\n\n  if (includeChildren) {\n    let currentEl;\n    let newBoundingClientRect;\n\n    for (let i = 0, l = el.childNodes.length; i < l; i++) {\n      currentEl = el.childNodes[i];\n      if (typeof currentEl.getBoundingClientRect === 'function') {\n        newBoundingClientRect = currentEl.getBoundingClientRect();\n        if (newBoundingClientRect.height > 0 || newBoundingClientRect.width > 0) {\n          boundingClientRect.top = Math.min(boundingClientRect.top, newBoundingClientRect.top);\n          boundingClientRect.right = Math.max(\n            boundingClientRect.right,\n            newBoundingClientRect.right,\n          );\n          boundingClientRect.bottom = Math.max(\n            boundingClientRect.bottom,\n            newBoundingClientRect.bottom,\n          );\n          boundingClientRect.left = Math.min(boundingClientRect.left, newBoundingClientRect.left);\n        }\n      }\n    }\n  }\n\n  return {\n    left: boundingClientRect.left,\n    top: boundingClientRect.top,\n    topEdge: boundingClientRect.top,\n    rightEdge: boundingClientRect.right,\n    bottomEdge: boundingClientRect.bottom,\n    leftEdge: boundingClientRect.left,\n    width: boundingClientRect.right - boundingClientRect.left,\n    height: boundingClientRect.bottom - boundingClientRect.top,\n  };\n}\n\nfunction elementIsWithinScreen(el) {\n  let boundingBox = elementAndChildrenBoundingBox(el);\n\n  let boundingBoxPosition = {\n    left: boundingBox.left,\n    top: boundingBox.top,\n  };\n  let boundingBoxSize = {\n    width: boundingBox.width,\n    height: boundingBox.height,\n  };\n\n  return boundingBoxOnScreen(boundingBoxPosition, boundingBoxSize, SCREEN_MARGIN_OF_ZERO);\n}\n\nfunction allAncestorNodes(el, fn) {\n  let parents = [];\n  let parent = el.parentNode;\n  while (parent !== null) {\n    if (typeof fn !== 'function' || fn(parent)) {\n      parents.push(parent);\n    }\n    parent = parent.parentNode;\n  }\n  return parents;\n}\n\nfunction intersectingBoundingBoxEdgesOfListOfElements(list) {\n  let listWithoutFirst = list.slice(1);\n  return listWithoutFirst.reduce((boundingBoxEdges, currentEl) => {\n    return intersectingBoundingBoxEdges(elementBoundingBox(currentEl), boundingBoxEdges);\n  }, elementBoundingBox(list[0]));\n}\n\nfunction elementCanScroll(el) {\n  return el.clientHeight !== el.scrollHeight || el.clientWidth !== el.scrollWidth;\n}\n\nfunction intersectingBoundingBoxEdgesOfAllScrollableParents(el) {\n  let scrollableParents = allAncestorNodes(el, elementCanScroll);\n  if (scrollableParents.length === 0) {\n    return undefined;\n  }\n  return intersectingBoundingBoxEdgesOfListOfElements(scrollableParents);\n}\n\nfunction elementIsFullyContainedWithinBoundingBoxEdges(el, containingBoundingBoxEdges) {\n  let elementBoundingBoxIncludingChildren = elementAndChildrenBoundingBox(el);\n  let returnable = true;\n  EDGE_NAMES.forEach(side => {\n    if (['topEdge', 'leftEdge'].includes(side)) {\n      if (containingBoundingBoxEdges[side] > elementBoundingBoxIncludingChildren[side]) {\n        returnable = false;\n      }\n    } else if (containingBoundingBoxEdges[side] < elementBoundingBoxIncludingChildren[side]) {\n      returnable = false;\n    }\n  });\n  return returnable;\n}\n\nfunction elementIsNotOccludedByScrolling(el) {\n  let containingBoundingBox = intersectingBoundingBoxEdgesOfAllScrollableParents(el);\n  if (containingBoundingBox === undefined) {\n    return true;\n  }\n  return elementIsFullyContainedWithinBoundingBoxEdges(el, containingBoundingBox);\n}\n\nexport function elementIsVisibleOnScreen(element) {\n  return elementIsWithinScreen(element) && elementIsNotOccludedByScrolling(element);\n}\n\n// This evaulates to true if the current user agent supports touch, in which\n// case we should allow click events to open mouseenter Popovers (otherwise\n// they would be inaccessible), etc.\n// Implementation source:  https://stackoverflow.com/a/13470899/6945740\nexport const BROWSER_SUPPORTS_TOUCH = Boolean('ontouchstart' in window || navigator.maxTouchPoints);\n","import { run } from '@ember/runloop';\nimport { elementIsVisibleOnScreen } from 'embercom/lib/screen-awareness';\n\nexport default function(el) {\n  if (el === undefined) {\n    return;\n  }\n  el = el.jquery === undefined ? el : el.get(0);\n  if (!elementIsVisibleOnScreen(el)) {\n    run(() => {\n      el.scrollIntoView();\n    });\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nlet browserScrollbarWidth;\n\nexport default function() {\n  if (browserScrollbarWidth !== undefined) {\n    return browserScrollbarWidth;\n  }\n\n  let $scrollDiv = $('<div>');\n\n  $scrollDiv.css({\n    width: 100,\n    height: 100,\n    overflow: 'scroll',\n    position: 'fixed',\n    top: -9999,\n  });\n\n  $scrollDiv.appendTo('body');\n\n  browserScrollbarWidth = $scrollDiv[0].offsetWidth - $scrollDiv[0].clientWidth;\n\n  $scrollDiv.remove();\n\n  return browserScrollbarWidth;\n}\n","import lunr from 'lunr';\n\nclass SearchClient {\n  index;\n  config;\n\n  constructor(config = {}) {\n    if (typeof config.fields === 'undefined') {\n      throw Error('config.fields should be defined');\n    }\n    this.config = config;\n  }\n\n  build(documents = []) {\n    if (documents.length === 0) {\n      return false;\n    }\n    let client = this;\n\n    lunr.tokenizer.separator = /[\\s\\-\\(\\)]+/;\n\n    this.index = lunr(function() {\n      // field based config\n      this.ref('id');\n      if (client.config.disableGlobalStopWords) {\n        this.pipeline.remove(lunr.stopWordFilter);\n      }\n\n      client.config.fields.map(field => {\n        this.field(field.name, { boost: field.boost || 1 });\n        if (field.stopWords?.length > 0) {\n          this.use(client._generateFieldStopWordPipeline(field.stopWords, field.name));\n        }\n      });\n\n      if (window?.localStorage?.getItem('search-debug')) {\n        this.metadataWhitelist = ['position'];\n      }\n\n      // we always key by id\n      client.config.fields.push({ name: 'id' });\n      // iterate documents, extract fields, add to index\n      documents.map(document => {\n        if (typeof document.id === 'undefined') {\n          throw Error(\"All documents should have 'id' field\");\n        }\n        let documentFields = client.config.fields.reduce(\n          (obj, field) => ({ ...obj, [field.name]: document[field.name] }),\n          {},\n        );\n        this.add(documentFields);\n      });\n    });\n    return true;\n  }\n\n  // https://github.com/olivernn/lunr.js/issues/342#issuecomment-395191855\n  search(queryString) {\n    queryString = queryString.trim();\n    let results = this.index.query(function(q) {\n      q.term(lunr.tokenizer(queryString), {\n        boost: 100,\n        usePipeline: false,\n        wildcard: lunr.Query.wildcard.TRAILING,\n      });\n      q.term(lunr.tokenizer(queryString), { boost: 50, usePipeline: true });\n      if (queryString.length >= 4) {\n        q.term(lunr.tokenizer(queryString), { boost: 1, editDistance: 1 });\n      }\n    });\n\n    // Get all the unique ids\n    let resultIds = [...new Set(results.map(result => result.ref))];\n\n    // Deduplicate the three pass search above\n    let filteredResults = results.filter(result => resultIds.includes(result.ref));\n    if (window?.localStorage?.getItem('search-debug')) {\n      console.debug(`Raw Search Results for ${queryString} ============`);\n      for (let i = 0; i < 15; i++) {\n        if (filteredResults[i]?.matchData?.metadata) {\n          console.debug(`${i + 1}: `, Object.keys(filteredResults[i].matchData.metadata));\n        }\n      }\n    }\n\n    return filteredResults;\n  }\n\n  _generateFieldStopWordPipeline(stopWords, fieldName) {\n    return builder => {\n      let filter = this._generateStopWordFilter(stopWords, fieldName);\n      lunr.Pipeline.registerFunction(filter, `fieldStopWorldFilter${fieldName}`);\n      builder.pipeline.before(lunr.stemmer, filter);\n    };\n  }\n\n  _generateStopWordFilter(stopWords, fieldName) {\n    let words = stopWords.reduce(function(memo, stopWord) {\n      memo[stopWord] = stopWord;\n      return memo;\n    }, {});\n    return function(token) {\n      if (token && token.metadata['fields'].indexOf(fieldName) === -1) {\n        return token;\n      } else if (token && words[token.toString()] !== token.toString()) {\n        return token;\n      }\n    };\n  }\n}\n\nexport default SearchClient;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport ajax from 'embercom/lib/ajax';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\n\nlet SegmentService = EmberObject.extend({\n  appId: null,\n  type: 'segment',\n  dependentObjectsUrl: templateString('/ember/segments/${segment.id}/dependent_objects'),\n  getDependentObjects() {\n    return ajax({\n      url: this.dependentObjectsUrl,\n      type: 'GET',\n      data: {\n        app_id: this.appId,\n        is_company: this.get('segment.isCompany'),\n      },\n    }).then(function(response) {\n      return response.table;\n    });\n  },\n}).reopenClass({\n  findAllSegmentFromList(segmentList, segmentToCheckForContext) {\n    segmentToCheckForContext = segmentToCheckForContext || segmentList.get('firstObject');\n    return this._allSegmentFromList(segmentList, segmentToCheckForContext);\n  },\n  _allSegmentFromList(segmentList, segment) {\n    if (segment.get('isUserSegment')) {\n      return segmentList.findBy('isAllUsersSegment');\n    } else if (segment.get('isAnonymousSegment')) {\n      return segmentList.findBy('isContactsSegment');\n    } else if (segment.get('isCompany')) {\n      return segmentList.findBy('isAllCompaniesSegment');\n    }\n  },\n});\n\nexport default SegmentService;\n","export const segmentSortFunction = (segmentA, segmentB) => {\n  let segmentAIsCustom = segmentA.get('is_editable');\n  let segmentBIsCustom = segmentB.get('is_editable');\n  let bothSegmentsAreNotCustom = !segmentAIsCustom && !segmentBIsCustom;\n  let exactlyOneSegmentIsCustom = segmentAIsCustom ? !segmentBIsCustom : segmentBIsCustom;\n\n  if (bothSegmentsAreNotCustom) {\n    return 0;\n  } else if (exactlyOneSegmentIsCustom) {\n    return segmentAIsCustom > segmentBIsCustom ? 1 : -1;\n  } else {\n    return segmentA\n      .get('name')\n      .localeCompare(segmentB.get('name'), undefined, { sensitivity: 'accent' });\n  }\n};\n","import config from 'embercom/config/environment';\nimport * as Sentry from '@sentry/browser';\nimport * as Integrations from '@sentry/integrations';\nimport { redactEmailFromUrl } from 'embercom/lib/url-redacter';\nimport ajax from 'embercom/lib/ajax';\nimport { getApiHost } from 'embercom/lib/embercom-boot-data';\n\nconst FILTERED_ERRORS = [\n  /TransitionAborted/i,\n  /Internal Server Error/i,\n  /Bad Gateway/i,\n  /Too Many Requests/i,\n  /Access is denied/i,\n  /Forbidden/i,\n  /Not Found/i,\n  /Failed to fetch/i,\n];\n\nlet exceptionRecordingEnabled;\n\nexport default function initializeSentry() {\n  exceptionRecordingEnabled = true;\n\n  let initParams = {\n    dsn: config.sentry.dsn,\n    integrations: [new Integrations.Ember()],\n    whitelistUrls: [/embercom/, /templates-raw/, /vendor/],\n    release: getRelease(),\n    environment: 'production',\n    beforeSend(event, hint) {\n      if (isFiltered(event, hint)) {\n        return null;\n      }\n      if (exceptionRecordingEnabled) {\n        recordExceptionMetric(event, hint);\n      }\n      return event;\n    },\n\n    beforeBreadcrumb(breadcrumb, hint) {\n      try {\n        let url = breadcrumb.data && breadcrumb.data.url;\n\n        if (url && url.includes('@')) {\n          breadcrumb.data.url = redactEmailFromUrl(url);\n        }\n      } catch (e) {\n        console.error('Error filtering breadcrumb url', e);\n      }\n\n      try {\n        if (breadcrumb.category === 'navigation') {\n          breadcrumb.data.from = redactEmailFromUrl(breadcrumb.data.from);\n          breadcrumb.data.to = redactEmailFromUrl(breadcrumb.data.to);\n        }\n      } catch (e) {\n        console.error('Error filtering breadcrumb from/to', e);\n      }\n\n      return breadcrumb;\n    },\n  };\n  Sentry.init(initParams);\n  return initParams;\n}\n\nexport function setSentryTagsFromTransition(transition) {\n  setResponsibleTeamFromTransition(transition);\n  setRouteParamsFromTransition(transition);\n}\n\nexport function captureException(exception, options) {\n  Sentry.withScope(scope => {\n    setupScope(scope, options);\n    Sentry.captureException(exception);\n  });\n}\n\nexport function captureMessage(exception, options) {\n  Sentry.withScope(scope => {\n    setupScope(scope, options);\n    Sentry.captureMessage(exception);\n  });\n}\n\nfunction setResponsibleTeamFromTransition(transition) {\n  let to = transition.to;\n  let responsibleTeam;\n\n  while (to) {\n    responsibleTeam = to.metadata && to.metadata.responsibleTeam;\n    if (responsibleTeam) {\n      break;\n    }\n    to = to.parent;\n  }\n\n  Sentry.configureScope(scope => {\n    scope.setTags({\n      responsibleTeam,\n      responsible_team: responsibleTeam,\n    });\n  });\n}\n\nfunction setRouteParamsFromTransition(transition) {\n  let tags = {};\n  let to = transition.to;\n\n  if (!to) {\n    return;\n  }\n\n  while (to) {\n    tags = { ...tags, ...to.params };\n    to = to.parent;\n  }\n\n  Sentry.configureScope(scope => {\n    scope.setTags({\n      route_name: transition.to.name,\n      ...tags,\n    });\n  });\n}\n\nfunction getRelease() {\n  let meta = document.querySelector('meta[name=\"sentry:revision\"]');\n  return meta && meta.content;\n}\n\nfunction setupScope(scope, options = {}) {\n  if (options.fingerprint) {\n    scope.setFingerprint(options.fingerprint);\n  }\n  if (options.extra) {\n    Object.keys(options.extra).forEach(k => {\n      scope.setExtra(k, options.extra[k]);\n    });\n  }\n  if (options.tags) {\n    Object.keys(options.tags).forEach(k => {\n      scope.setTag(k, options.tags[k]);\n    });\n  }\n}\n\nfunction isFiltered(event, hint) {\n  return (\n    isUnhandledPromiseRejection(event) ||\n    isUndefinedNetworkError(hint) ||\n    isFilteredErrorMessage(hint)\n  );\n}\n\nfunction recordExceptionMetric(event, hint) {\n  let tags = Sentry.getCurrentHub().getScope()._tags || {};\n  let data = {\n    exception: getErrorMessageFromHint(hint),\n    responsible_team: tags.responsibleTeam,\n    route_name: tags.route_name,\n    boot_error: tags.bootError,\n  };\n  ajax({\n    url: `${getApiHost()}/ember/exceptions`,\n    type: 'POST',\n    data: JSON.stringify(data),\n  }).catch(r => {\n    if (r.jqXHR.status === 429) {\n      exceptionRecordingEnabled = false;\n    }\n  });\n}\n\nfunction isUnhandledPromiseRejection(event) {\n  try {\n    return event.exception.values[0].mechanism.type === 'onunhandledrejection';\n  } catch (e) {\n    return false;\n  }\n}\n\nfunction isUndefinedNetworkError(hint) {\n  try {\n    return hint.originalException.jqXHR.status === 0;\n  } catch (e) {\n    return false;\n  }\n}\n\nfunction isFilteredErrorMessage(hint) {\n  let errorMessage = getErrorMessageFromHint(hint);\n  if (!errorMessage) {\n    return true;\n  }\n  for (let i = 0; i < FILTERED_ERRORS.length; i++) {\n    if (errorMessage.match(FILTERED_ERRORS[i])) {\n      return true;\n    }\n  }\n  return false;\n}\n\nfunction getErrorMessageFromHint(hint) {\n  let error = hint.originalException;\n  return error && error.message;\n}\n","export const statsTab = {\n  overview: 'content',\n  entered: 'receipts',\n  completed: 'seriesCompletions',\n};\n\nexport const defaultDelayDescription = '30d';\n","// the equivalent of app/lib/matching_system/commands/series/validations/incoming_edges_loop_validation.rb\n// for the frontend\n\nexport default class LoopDetector {\n  visitedNodes = [];\n  currentlyVisitingNodes = [];\n\n  constructor(edges) {\n    this.edges = edges;\n    this.nodes = this.getUniqueNodes(edges);\n  }\n\n  getUniqueNodes(edges) {\n    // get successors\n    let successorNodes = edges.map(edge => edge.successor);\n    // get predecessors\n    let predecessorNodes = edges.map(edge => edge.predecessor);\n    // intersect the two arrays\n    return successorNodes.filter(node => predecessorNodes.includes(node)).uniq();\n  }\n\n  detectCycleFromNode(node) {\n    this.visitedNodes.push(node);\n    this.currentlyVisitingNodes.push(node);\n\n    let successors = this.getNodeSuccessors(node);\n\n    let result = successors.some(successor => {\n      // We recursively explore all the successor nodes to the current one\n      // If we find a node that we already explored, we found a loop\n      if (!this.visitedNodes.includes(successor)) {\n        if (this.detectCycleFromNode(successor)) {\n          return true;\n        }\n      } else if (this.currentlyVisitingNodes.includes(successor)) {\n        return true;\n      }\n    });\n    this.currentlyVisitingNodes.removeObject(node);\n    return result;\n  }\n\n  getNodeSuccessors(node) {\n    let successorEdges = this.edges.filter(edge => edge.predecessor === node);\n    return successorEdges.map(edge => edge.successor);\n  }\n\n  detectLoop() {\n    return this.nodes.some(node => {\n      if (!this.visitedNodes.includes(node)) {\n        if (this.detectCycleFromNode(node)) {\n          return true;\n        }\n      }\n    });\n  }\n}\n","/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  */\n/*  SHA-1 implementation in JavaScript                  (c) Chris Veness 2002-2014 / MIT Licence  */\n/*                                                                                                */\n/*  - see http://csrc.nist.gov/groups/ST/toolkit/secure_hashing.html                              */\n/*        http://csrc.nist.gov/groups/ST/toolkit/examples.html                                    */\n/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  */\n\n/* eslint-disable */\n\n/**\n * SHA-1 hash function reference implementation.\n *\n * @namespace\n */\nvar Sha1 = {};\n\n/**\n * Generates SHA-1 hash of string.\n *\n * @param   {string} msg - (Unicode) string to be hashed.\n * @returns {string} Hash of msg as hex character string.\n */\nSha1.hash = function(msg) {\n  // convert string to UTF-8, as SHA only deals with byte-streams\n  msg = msg.utf8Encode();\n\n  // constants [§4.2.1]\n  var K = [0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6];\n\n  // PREPROCESSING\n\n  msg += String.fromCharCode(0x80); // add trailing '1' bit (+ 0's padding) to string [§5.1.1]\n\n  // convert string msg into 512-bit/16-integer blocks arrays of ints [§5.2.1]\n  var l = msg.length / 4 + 2; // length (in 32-bit integers) of msg + ‘1’ + appended length\n  var N = Math.ceil(l / 16); // number of 16-integer-blocks required to hold 'l' ints\n  var M = new Array(N);\n\n  for (var i = 0; i < N; i++) {\n    M[i] = new Array(16);\n    for (var j = 0; j < 16; j++) {\n      // encode 4 chars per integer, big-endian encoding\n      M[i][j] =\n        (msg.charCodeAt(i * 64 + j * 4) << 24) |\n        (msg.charCodeAt(i * 64 + j * 4 + 1) << 16) |\n        (msg.charCodeAt(i * 64 + j * 4 + 2) << 8) |\n        msg.charCodeAt(i * 64 + j * 4 + 3);\n    } // note running off the end of msg is ok 'cos bitwise ops on NaN return 0\n  }\n  // add length (in bits) into final pair of 32-bit integers (big-endian) [§5.1.1]\n  // note: most significant word would be (len-1)*8 >>> 32, but since JS converts\n  // bitwise-op args to 32 bits, we need to simulate this by arithmetic operators\n  M[N - 1][14] = ((msg.length - 1) * 8) / Math.pow(2, 32);\n  M[N - 1][14] = Math.floor(M[N - 1][14]);\n  M[N - 1][15] = ((msg.length - 1) * 8) & 0xffffffff;\n\n  // set initial hash value [§5.3.1]\n  var H0 = 0x67452301;\n  var H1 = 0xefcdab89;\n  var H2 = 0x98badcfe;\n  var H3 = 0x10325476;\n  var H4 = 0xc3d2e1f0;\n\n  // HASH COMPUTATION [§6.1.2]\n\n  var W = new Array(80);\n  var a, b, c, d, e;\n  for (var i = 0; i < N; i++) {\n    // 1 - prepare message schedule 'W'\n    for (var t = 0; t < 16; t++) W[t] = M[i][t];\n    for (var t = 16; t < 80; t++) W[t] = Sha1.ROTL(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1);\n\n    // 2 - initialise five working variables a, b, c, d, e with previous hash value\n    a = H0;\n    b = H1;\n    c = H2;\n    d = H3;\n    e = H4;\n\n    // 3 - main loop\n    for (var t = 0; t < 80; t++) {\n      var s = Math.floor(t / 20); // seq for blocks of 'f' functions and 'K' constants\n      var T = (Sha1.ROTL(a, 5) + Sha1.f(s, b, c, d) + e + K[s] + W[t]) & 0xffffffff;\n      e = d;\n      d = c;\n      c = Sha1.ROTL(b, 30);\n      b = a;\n      a = T;\n    }\n\n    // 4 - compute the new intermediate hash value (note 'addition modulo 2^32')\n    H0 = (H0 + a) & 0xffffffff;\n    H1 = (H1 + b) & 0xffffffff;\n    H2 = (H2 + c) & 0xffffffff;\n    H3 = (H3 + d) & 0xffffffff;\n    H4 = (H4 + e) & 0xffffffff;\n  }\n\n  return (\n    Sha1.toHexStr(H0) +\n    Sha1.toHexStr(H1) +\n    Sha1.toHexStr(H2) +\n    Sha1.toHexStr(H3) +\n    Sha1.toHexStr(H4)\n  );\n};\n\n/**\n * Function 'f' [§4.1.1].\n * @private\n */\nSha1.f = function(s, x, y, z) {\n  switch (s) {\n    case 0:\n      return (x & y) ^ (~x & z); // Ch()\n    case 1:\n      return x ^ y ^ z; // Parity()\n    case 2:\n      return (x & y) ^ (x & z) ^ (y & z); // Maj()\n    case 3:\n      return x ^ y ^ z; // Parity()\n  }\n};\n\n/**\n * Rotates left (circular left shift) value x by n positions [§3.2.5].\n * @private\n */\nSha1.ROTL = function(x, n) {\n  return (x << n) | (x >>> (32 - n));\n};\n\n/**\n * Hexadecimal representation of a number.\n * @private\n */\nSha1.toHexStr = function(n) {\n  // note can't use toString(16) as it is implementation-dependant,\n  // and in IE returns signed numbers when used on full words\n  var s = '',\n    v;\n  for (var i = 7; i >= 0; i--) {\n    v = (n >>> (i * 4)) & 0xf;\n    s += v.toString(16);\n  }\n  return s;\n};\n\n/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  */\n\n/** Extend String object with method to encode multi-byte string to utf8\n *  - monsur.hossa.in/2012/07/20/utf-8-in-javascript.html */\nif (typeof String.prototype.utf8Encode == 'undefined') {\n  String.prototype.utf8Encode = function() {\n    return unescape(encodeURIComponent(this));\n  };\n}\n\n/** Extend String object with method to decode utf8 string to multi-byte */\nif (typeof String.prototype.utf8Decode == 'undefined') {\n  String.prototype.utf8Decode = function() {\n    try {\n      return decodeURIComponent(escape(this));\n    } catch (e) {\n      return this; // invalid UTF-8? return as-is\n    }\n  };\n}\n\nexport default Sha1;\n\n/* eslint-enable */\n","let ShareUrls = {\n  facebook(url) {\n    return `https://www.facebook.com/sharer/sharer.php?u=${url}`;\n  },\n  twitter(url, text) {\n    return `https://twitter.com/intent/tweet?url=${url}&text=${text}`;\n  },\n  linkedin(url, text) {\n    return `https://www.linkedin.com/shareArticle?url=${url}&title=${text.replace(/\\s/g, '+')}`;\n  },\n};\n\nexport default ShareUrls;\n","export default (appModel, router) => {\n  if (!appModel) {\n    return false;\n  }\n\n  let currentRouteName = router.get('currentRouteName');\n  if (currentRouteName && currentRouteName.includes('apps.app.developer-hub')) {\n    return false;\n  }\n\n  return appModel.get('isTestApp') || appModel.get('isDeveloperWorkspace');\n};\n","// A tempory replacement for the built-in `capitalize` helper\n// while we await resolution of https://github.com/emberjs/ember.js/issues/17864\n\nimport { typeOf } from '@ember/utils';\n\nexport default function simpleCapitalize(text) {\n  if (typeOf(text) === 'string') {\n    return text.charAt(0).toUpperCase() + text.slice(1);\n  } else {\n    return '';\n  }\n}\n","import {\n  INBOX_ID,\n  MESSAGES_ID,\n  ARTICLES_ID,\n  SUPPORT_SOLUTION_ID,\n  LIVE_CHAT_SOLUTION_ID,\n  LIVE_CHAT_SALES_SOLUTION_ID,\n  ONBOARDING_SOLUTION_ID,\n  RETAIN_AND_SUPPORT_SOLUTION_ID,\n} from 'embercom/lib/billing';\n\nexport default [\n  {\n    id: SUPPORT_SOLUTION_ID,\n    key: 'support',\n    name: 'Customer Support',\n    products: [INBOX_ID, ARTICLES_ID],\n  },\n  {\n    id: LIVE_CHAT_SOLUTION_ID,\n    key: 'live_chat',\n    name: 'Live Chat to Help or Sell',\n    products: [INBOX_ID, MESSAGES_ID],\n  },\n  {\n    id: LIVE_CHAT_SALES_SOLUTION_ID,\n    key: 'live_chat_sales',\n    name: 'Capture and Convert Leads',\n    products: [INBOX_ID, MESSAGES_ID],\n  },\n  {\n    id: ONBOARDING_SOLUTION_ID,\n    key: 'onboarding',\n    name: 'Onboarding',\n    products: [MESSAGES_ID],\n  },\n  {\n    id: RETAIN_AND_SUPPORT_SOLUTION_ID,\n    key: 'retain_and_support_solution_id',\n    name: 'Support and retain customers',\n    products: [INBOX_ID, ARTICLES_ID],\n  },\n];\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-new-mixins */\nimport { A } from '@ember/array';\nimport { assert } from '@ember/debug';\nimport EmberError from '@ember/error';\nimport { expandProperties, notEmpty } from '@ember/object/computed';\nimport { compare } from '@ember/utils';\nimport { removeObserver, addObserver } from '@ember/object/observers';\nimport Mixin from '@ember/object/mixin';\nimport { observer, computed, get } from '@ember/object';\n//from https://github.com/emberjs/ember-legacy-controllers/blob/master/addon/utils/sortable-mixin.js\n\nconst { MutableEnumerable } = Ember;\n\nfunction beforeObserver(...args) {\n  let func = args.slice(-1)[0];\n  let paths;\n\n  let addWatchedProperty = function(path) {\n    paths.push(path);\n  };\n\n  let _paths = args.slice(0, -1);\n\n  if (typeof func !== 'function') {\n    // revert to old, soft-deprecated argument ordering\n\n    func = args[0];\n    _paths = args.slice(1);\n  }\n\n  paths = [];\n\n  for (let i = 0; i < _paths.length; ++i) {\n    expandProperties(_paths[i], addWatchedProperty);\n  }\n\n  if (typeof func !== 'function') {\n    throw new EmberError('Ember.beforeObserver called without a function');\n  }\n\n  func.__ember_observesBefore__ = paths;\n  return func;\n}\n\n/**\n  `Ember.SortableMixin` provides a standard interface for array proxies\n  to specify a sort order and maintain this sorting when objects are added,\n  removed, or updated without changing the implicit order of their underlying\n  model array:\n  ```javascript\n  songs = [\n    {trackNumber: 4, title: 'Ob-La-Di, Ob-La-Da'},\n    {trackNumber: 2, title: 'Back in the U.S.S.R.'},\n    {trackNumber: 3, title: 'Glass Onion'},\n  ];\n  songsController = Ember.ArrayController.create({\n    model: songs,\n    sortProperties: ['trackNumber'],\n    sortAscending: true\n  });\n  songsController.get('firstObject');  // {trackNumber: 2, title: 'Back in the U.S.S.R.'}\n  songsController.addObject({trackNumber: 1, title: 'Dear Prudence'});\n  songsController.get('firstObject');  // {trackNumber: 1, title: 'Dear Prudence'}\n  ```\n  If you add or remove the properties to sort by or change the sort direction the model\n  sort order will be automatically updated.\n  ```javascript\n  songsController.set('sortProperties', ['title']);\n  songsController.get('firstObject'); // {trackNumber: 2, title: 'Back in the U.S.S.R.'}\n  songsController.toggleProperty('sortAscending');\n  songsController.get('firstObject'); // {trackNumber: 4, title: 'Ob-La-Di, Ob-La-Da'}\n  ```\n  `SortableMixin` works by sorting the `arrangedContent` array, which is the array that\n  `ArrayProxy` displays. Due to the fact that the underlying 'content' array is not changed, that\n  array will not display the sorted list:\n   ```javascript\n  songsController.get('content').get('firstObject'); // Returns the unsorted original content\n  songsController.get('firstObject'); // Returns the sorted content.\n  ```\n  Although the sorted content can also be accessed through the `arrangedContent` property,\n  it is preferable to use the proxied class and not the `arrangedContent` array directly.\n  @class SortableMixin\n  @namespace Ember\n  @uses Ember.MutableEnumerable\n  @private\n*/\nexport default Mixin.create(MutableEnumerable, {\n  /**\n    Specifies which properties dictate the `arrangedContent`'s sort order.\n    When specifying multiple properties the sorting will use properties\n    from the `sortProperties` array prioritized from first to last.\n    @property {Array} sortProperties\n    @private\n  */\n  sortProperties: null,\n\n  /**\n    Specifies the `arrangedContent`'s sort direction.\n    Sorts the content in ascending order by default. Set to `false` to\n    use descending order.\n    @property {Boolean} sortAscending\n    @default true\n    @private\n  */\n  sortAscending: true,\n\n  /**\n    The function used to compare two values. You can override this if you\n    want to do custom comparisons. Functions must be of the type expected by\n    Array#sort, i.e.,\n    *  return 0 if the two parameters are equal,\n    *  return a negative value if the first parameter is smaller than the second or\n    *  return a positive value otherwise:\n    ```javascript\n    function(x, y) { // These are assumed to be integers\n      if (x === y)\n        return 0;\n      return x < y ? -1 : 1;\n    }\n    ```\n    @property sortFunction\n    @type {Function}\n    @default Ember.compare\n    @private\n  */\n  sortFunction: compare,\n\n  orderBy(item1, item2) {\n    let result = 0;\n    let sortProperties = get(this, 'sortProperties');\n    let sortAscending = get(this, 'sortAscending');\n    let sortFunction = get(this, 'sortFunction');\n\n    assert('you need to define `sortProperties`', !!sortProperties);\n\n    sortProperties.forEach(propertyName => {\n      if (result === 0) {\n        result = sortFunction.call(this, get(item1, propertyName), get(item2, propertyName));\n        if (result !== 0 && !sortAscending) {\n          result *= -1;\n        }\n      }\n    });\n\n    return result;\n  },\n\n  destroy() {\n    let content = get(this, 'content');\n    let sortProperties = get(this, 'sortProperties');\n\n    if (content && sortProperties) {\n      content.forEach(item => {\n        sortProperties.forEach(sortProperty => {\n          removeObserver(item, sortProperty, this, 'contentItemSortPropertyDidChange');\n        });\n      });\n    }\n\n    return this._super(...arguments);\n  },\n\n  isSorted: notEmpty('sortProperties'),\n\n  /**\n    Overrides the default `arrangedContent` from `ArrayProxy` in order to sort by `sortFunction`.\n    Also sets up observers for each `sortProperty` on each item in the content Array.\n    @property arrangedContent\n    @private\n  */\n  arrangedContent: computed('content', 'sortProperties.[]', {\n    get() {\n      let content = get(this, 'content');\n      let isSorted = get(this, 'isSorted');\n      let sortProperties = get(this, 'sortProperties');\n\n      if (content && isSorted) {\n        content = content.slice();\n        content.sort((item1, item2) => this.orderBy(item1, item2));\n\n        content.forEach(item => {\n          sortProperties.forEach(sortProperty => {\n            addObserver(item, sortProperty, this, 'contentItemSortPropertyDidChange');\n          });\n        });\n\n        return A(content);\n      }\n\n      return content;\n    },\n  }),\n\n  _contentWillChange: beforeObserver('content', function() {\n    let content = get(this, 'content');\n    let sortProperties = get(this, 'sortProperties');\n\n    if (content && sortProperties) {\n      content.forEach(item => {\n        sortProperties.forEach(sortProperty => {\n          removeObserver(item, sortProperty, this, 'contentItemSortPropertyDidChange');\n        });\n      });\n    }\n\n    this._super(...arguments);\n  }),\n\n  sortPropertiesWillChange: beforeObserver('sortProperties', function() {\n    this._lastSortAscending = undefined;\n  }),\n\n  sortPropertiesDidChange: observer({\n    dependentKeys: ['sortProperties'],\n\n    fn() {\n      this._lastSortAscending = undefined;\n    },\n\n    sync: true,\n  }),\n\n  sortAscendingWillChange: beforeObserver('sortAscending', function() {\n    this._lastSortAscending = get(this, 'sortAscending');\n  }),\n\n  sortAscendingDidChange: observer({\n    dependentKeys: ['sortAscending'],\n\n    fn() {\n      if (\n        this._lastSortAscending !== undefined &&\n        get(this, 'sortAscending') !== this._lastSortAscending\n      ) {\n        let arrangedContent = get(this, 'arrangedContent');\n        arrangedContent.reverseObjects();\n      }\n    },\n\n    sync: true,\n  }),\n\n  contentArrayWillChange(array, idx, removedCount, addedCount) {\n    let isSorted = get(this, 'isSorted');\n\n    if (isSorted) {\n      let arrangedContent = get(this, 'arrangedContent');\n      let removedObjects = array.slice(idx, idx + removedCount);\n      let sortProperties = get(this, 'sortProperties');\n\n      removedObjects.forEach(item => {\n        arrangedContent.removeObject(item);\n\n        sortProperties.forEach(sortProperty => {\n          removeObserver(item, sortProperty, this, 'contentItemSortPropertyDidChange');\n        }, this);\n      }, this);\n    }\n\n    return this._super(array, idx, removedCount, addedCount);\n  },\n\n  contentArrayDidChange(array, idx, removedCount, addedCount) {\n    let isSorted = get(this, 'isSorted');\n    let sortProperties = get(this, 'sortProperties');\n\n    if (isSorted) {\n      let addedObjects = array.slice(idx, idx + addedCount);\n\n      addedObjects.forEach(item => {\n        this.insertItemSorted(item);\n\n        sortProperties.forEach(sortProperty => {\n          addObserver(item, sortProperty, this, 'contentItemSortPropertyDidChange');\n        });\n      });\n    }\n\n    return this._super(array, idx, removedCount, addedCount);\n  },\n\n  insertItemSorted(item) {\n    let arrangedContent = get(this, 'arrangedContent');\n    let length = get(arrangedContent, 'length');\n\n    let idx = this._binarySearch(item, 0, length);\n    arrangedContent.insertAt(idx, item);\n  },\n\n  contentItemSortPropertyDidChange(item) {\n    let arrangedContent = get(this, 'arrangedContent');\n    let oldIndex = arrangedContent.indexOf(item);\n    let leftItem = arrangedContent.objectAt(oldIndex - 1);\n    let rightItem = arrangedContent.objectAt(oldIndex + 1);\n    let leftResult = leftItem && this.orderBy(item, leftItem);\n    let rightResult = rightItem && this.orderBy(item, rightItem);\n\n    if (leftResult < 0 || rightResult > 0) {\n      arrangedContent.removeObject(item);\n      this.insertItemSorted(item);\n    }\n  },\n\n  _binarySearch(item, low, high) {\n    let mid;\n    let midItem;\n    let res;\n    let arrangedContent;\n\n    if (low === high) {\n      return low;\n    }\n\n    arrangedContent = get(this, 'arrangedContent');\n\n    mid = low + Math.floor((high - low) / 2);\n    midItem = arrangedContent.objectAt(mid);\n\n    res = this.orderBy(midItem, item);\n\n    if (res < 0) {\n      return this._binarySearch(item, mid + 1, high);\n    } else if (res > 0) {\n      return this._binarySearch(item, low, mid);\n    }\n\n    return mid;\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nlet Sounds = EmberObject.extend({\n  initialize() {\n    this.adminNotificationSound = new window.Audio('/assets/audio/notification.mp3');\n  },\n  playAdminNotification() {\n    let promise = this.adminNotificationSound.play();\n    if (promise && promise.catch) {\n      promise.catch(e => {\n        console.log(e);\n      });\n    }\n  },\n});\n\nexport default Sounds;\n","let States = {};\n\nStates.US = [\n  { text: 'Alabama', value: 'AL' },\n  { text: 'Alaska', value: 'AK' },\n  { text: 'Arizona', value: 'AZ' },\n  { text: 'Arkansas', value: 'AR' },\n  { text: 'California', value: 'CA' },\n  { text: 'Colorado', value: 'CO' },\n  { text: 'Connecticut', value: 'CT' },\n  { text: 'Delaware', value: 'DE' },\n  { text: 'District of Columbia', value: 'DC' },\n  { text: 'Florida', value: 'FL' },\n  { text: 'Georgia', value: 'GA' },\n  { text: 'Hawaii', value: 'HI' },\n  { text: 'Idaho', value: 'ID' },\n  { text: 'Illinois', value: 'IL' },\n  { text: 'Indiana', value: 'IN' },\n  { text: 'Iowa', value: 'IA' },\n  { text: 'Kansas', value: 'KS' },\n  { text: 'Kentucky', value: 'KY' },\n  { text: 'Louisiana', value: 'LA' },\n  { text: 'Maine', value: 'ME' },\n  { text: 'Maryland', value: 'MD' },\n  { text: 'Massachusetts', value: 'MA' },\n  { text: 'Michigan', value: 'MI' },\n  { text: 'Minnesota', value: 'MN' },\n  { text: 'Mississippi', value: 'MS' },\n  { text: 'Missouri', value: 'MO' },\n  { text: 'Montana', value: 'MT' },\n  { text: 'Nebraska', value: 'NE' },\n  { text: 'Nevada', value: 'NV' },\n  { text: 'New Hampshire', value: 'NH' },\n  { text: 'New Jersey', value: 'NJ' },\n  { text: 'New Mexico', value: 'NM' },\n  { text: 'New York', value: 'NY' },\n  { text: 'North Carolina', value: 'NC' },\n  { text: 'North Dakota', value: 'ND' },\n  { text: 'Ohio', value: 'OH' },\n  { text: 'Oklahoma', value: 'OK' },\n  { text: 'Oregon', value: 'OR' },\n  { text: 'Pennsylvania', value: 'PA' },\n  { text: 'Rhode Island', value: 'RI' },\n  { text: 'South Carolina', value: 'SC' },\n  { text: 'South Dakota', value: 'SD' },\n  { text: 'Tennessee', value: 'TN' },\n  { text: 'Texas', value: 'TX' },\n  { text: 'Utah', value: 'UT' },\n  { text: 'Vermont', value: 'VT' },\n  { text: 'Virginia', value: 'VA' },\n  { text: 'Washington', value: 'WA' },\n  { text: 'West Virginia', value: 'WV' },\n  { text: 'Wisconsin', value: 'WI' },\n  { text: 'Wyoming', value: 'WY' },\n];\n\nStates.CA = [\n  { text: 'Alberta', value: 'AB' },\n  { text: 'British Columbia', value: 'BC' },\n  { text: 'Manitoba', value: 'MB' },\n  { text: 'New Brunswick', value: 'NB' },\n  { text: 'Newfoundland and Labrador', value: 'NL' },\n  { text: 'Nova Scotia', value: 'NS' },\n  { text: 'Northwest Territories', value: 'NT' },\n  { text: 'Nunavut', value: 'NU' },\n  { text: 'Ontario', value: 'ON' },\n  { text: 'Prince Edward Island', value: 'PE' },\n  { text: 'Quebec', value: 'QC' },\n  { text: 'Saskatchewan', value: 'SK' },\n  { text: 'Yukon', value: 'YT' },\n];\n\nexport default States;\n","import { get } from '@ember/object';\nimport SVGs from '../svgs';\nimport { inlineSvg } from 'ember-inline-svg/helpers/inline-svg';\nimport { dottify } from 'ember-inline-svg/utils/general';\n\nlet legacyNameMap = {\n  team: 'multiple-people',\n  'two-users': 'multiple-people',\n  user: 'person',\n  admin: 'person',\n  contact: 'person',\n  'all-companies': 'company',\n};\n\nexport function standardIconClasses(options) {\n  let classes = [];\n\n  if (typeof options.color === 'string') {\n    classes.push(`o__palette-${options.color}`);\n  }\n\n  if (options.solo === undefined || !options.solo) {\n    classes.push('o__by-text');\n  }\n\n  return classes;\n}\n\nexport function renderInterfaceIcon(iconSet, params, options) {\n  options = options === undefined ? {} : options;\n  let name = params[0];\n  if (legacyNameMap[name] !== undefined) {\n    name = legacyNameMap[name];\n  }\n  let path = `interface-icons/${iconSet}/${name}`;\n\n  if (get(SVGs, dottify(path)) === undefined) {\n    // SVG can't be found\n    return '';\n  }\n\n  let classes = ['interface-icon', `o__${iconSet}`, `o__${iconSet}__${name}`].concat(\n    standardIconClasses(options),\n  );\n  if (iconSet === 'standard' && options.size === 24) {\n    classes.push('o__24');\n  }\n\n  return inlineSvg(SVGs, path, {\n    class: classes.join(' '),\n  });\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport ajax from 'embercom/lib/ajax';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default EmberObject.extend({\n  tagId: null,\n  appId: null,\n  dependentObjectsUrl: templateString('/ember/tags/${tagId}/dependent_objects'),\n  type: 'tag',\n  getDependentObjects() {\n    return ajax({\n      url: this.dependentObjectsUrl,\n      type: 'GET',\n      data: {\n        app_id: this.appId,\n      },\n    }).then(function(response) {\n      return response.table;\n    });\n  },\n});\n","import { A } from '@ember/array';\nimport { get } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\nimport escapeRegExp from 'embercom/lib/escape-regular-expression';\n\nexport default class TagSettingsList {\n  @tracked sortState = {\n    valuePath: 'tag.name',\n    direction: 'asc',\n  };\n\n  @tracked rowsToDisplay = 20;\n  @tracked rowsPerPage = 20;\n  @tracked rows;\n  @tracked tagSearchString;\n\n  constructor(rows) {\n    if (rows) {\n      this.populate(rows);\n    }\n  }\n\n  populate(rows) {\n    this.rows = A(rows);\n    this._sort();\n  }\n\n  get filteredRows() {\n    let matchingRows = this.rows;\n\n    if (this.tagSearchString) {\n      let filterRegex = new RegExp(escapeRegExp(this.tagSearchString), 'i');\n      matchingRows = this.rows.filter(row => row.editing || filterRegex.test(row.tag.get('name')));\n    }\n\n    return matchingRows;\n  }\n\n  get displayableRows() {\n    return this.filteredRows.slice(0, this.rowsToDisplay);\n  }\n\n  get hasMoreRows() {\n    return this.rowsToDisplay < this.filteredRows.length;\n  }\n\n  updateSort(valuePath) {\n    let direction = 'asc';\n\n    if (this.sortState.valuePath === valuePath && this.sortState.direction === 'asc') {\n      direction = 'desc';\n    }\n\n    this.sortState = { valuePath, direction };\n    this.rowsToDisplay = this.rowsPerPage;\n    this._sort();\n  }\n\n  _sort() {\n    let { direction, valuePath } = this.sortState;\n\n    let newRows = this.rows.slice();\n    newRows.sort(function(a, b) {\n      let valA = get(a, valuePath);\n      let valB = get(b, valuePath);\n\n      switch (typeof valA) {\n        case 'string':\n          return valA.localeCompare(valB);\n        default:\n          return valA - valB;\n      }\n    });\n\n    if (direction === 'desc') {\n      newRows = newRows.reverse();\n    }\n\n    this.rows.clear();\n    this.rows.addObjects(newRows);\n  }\n\n  filterBy(query) {\n    this.tagSearchString = query;\n  }\n\n  addToTop(row) {\n    this.rows.insertAt(0, row);\n    this.rowsToDisplay = this.rowsToDisplay + 1;\n  }\n\n  add(row) {\n    this.rows.addObject(row);\n    this._sort();\n  }\n\n  remove(row) {\n    this.rows.removeObject(row);\n  }\n\n  loadMoreRows() {\n    this.rowsToDisplay = this.rowsToDisplay + this.rowsPerPage;\n  }\n}\n","export const TEAMMATE_APP_URL = 'https://app.intercom.com';\n","export function formattedTimezone(timeZone) {\n  return timeZone.slice(timeZone.lastIndexOf('/') + 1).replace(/_/g, ' ');\n}\n","export default (array, conjunction = 'and') => {\n  let length = array.length;\n\n  if (length === 0) {\n    return '';\n  } else if (length === 1) {\n    return array[0];\n  } else if (length === 2) {\n    return array.join(` ${conjunction} `);\n  } else {\n    let beforeAnd = array.slice(0, -1).join(', ');\n    let afterAnd = array.slice(-1);\n    return `${beforeAnd}, ${conjunction} ${afterAnd}`;\n  }\n};\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nconst TRUNCATED_SUFFIX = '…';\n\nexport default function(string, length, notHtml) {\n  if (!notHtml) {\n    string = $('<div />')\n      .html(string)\n      .text();\n  }\n  string = string.trim();\n  if (string.length <= length) {\n    return string;\n  }\n  return string.substring(0, length) + TRUNCATED_SUFFIX;\n}\n","import EmberObject from '@ember/object';\nimport parseUrl from 'embercom/lib/url-parser';\n\nconst SIMPLE_VALIDATION_REGEX = /(.*\\..+)/;\nconst NOT_SEPARATED_BY_COMMAS_REGEX = /^([^ ]+)(,\\s*[^ ]+)*$/;\n\nexport default class TrustedListUrlValidator extends EmberObject {\n  urlString = null;\n  get isEmptyUrlString() {\n    return !this.urlString;\n  }\n  get isSeparatedByCommas() {\n    return this.urlString.match(NOT_SEPARATED_BY_COMMAS_REGEX);\n  }\n  get isNotSeparatedByCommas() {\n    return !this.isSeparatedByCommas;\n  }\n  get hasNoFormatErrors() {\n    return this.isSeparatedByCommas && this.domainsCorrectlyFormatted;\n  }\n  get isValid() {\n    return this.isEmptyUrlString || this.hasNoFormatErrors;\n  }\n  get isNotValid() {\n    return !this.isValid;\n  }\n  get domainsCorrectlyFormatted() {\n    return !this.domainsNotFormatted;\n  }\n  get domainUrlObjects() {\n    return this.rawDomains.map(parseUrl);\n  }\n  get domainHostNames() {\n    return this.domainUrlObjects.map(duo => duo.hostname);\n  }\n  get domainsNotFormatted() {\n    return this.domainUrlObjects.some(urlObject => {\n      return this.urlIsInvalid(urlObject);\n    });\n  }\n\n  urlIsInvalid(urlObject) {\n    return urlObject.hostname.match(SIMPLE_VALIDATION_REGEX) === null || urlObject.pathname !== '/';\n  }\n\n  get rawDomains() {\n    return this.urlString\n      .replace(/\\s+/g, '')\n      .split(',')\n      .filter(Boolean);\n  }\n  get errorMessage() {\n    if (this.isEmptyUrlString) {\n      return null;\n    } else if (this.isNotSeparatedByCommas) {\n      return 'Separate your domains with commas';\n    } else if (this.domainsNotFormatted) {\n      return 'Add complete domain(s) without path';\n    }\n    return null;\n  }\n}\n","const DEFAULT_TTL = 1000;\n\nexport default class TTLCache {\n  constructor() {\n    this._keymap = {};\n    this._timeoutMap = {};\n  }\n\n  remove(key) {\n    delete this._keymap[key];\n    if (this._timeoutMap[key]) {\n      clearTimeout(this._timeoutMap[key]);\n      delete this._timeoutMap[key];\n    }\n  }\n\n  set(key, value, ttl = DEFAULT_TTL) {\n    this.remove(key);\n    let entry = { key, value };\n    this._keymap[key] = entry;\n\n    this._timeoutMap[key] = setTimeout(() => {\n      delete this._keymap[key];\n      delete this._timeoutMap[key];\n    }, ttl);\n  }\n\n  get(key, returnEntry) {\n    let entry = this._keymap[key];\n\n    if (entry === undefined) {\n      return undefined;\n    }\n    return returnEntry ? entry : entry.value;\n  }\n\n  removeAll() {\n    Object.keys(this._keymap).forEach(key => {\n      this.remove(key);\n    });\n  }\n\n  keys() {\n    return Object.keys(this._keymap);\n  }\n\n  has(key) {\n    return this._keymap[key] !== undefined;\n  }\n}\n","let urlAppend = function(url, params) {\n  let _url = new URL(url);\n\n  for (let param of params) {\n    _url.searchParams.append(param.key, param.value);\n  }\n\n  return _url.href;\n};\n\nexport default urlAppend;\n","function getParameterByName(name, url) {\n  if (!url) {\n    url = window.location.href;\n  }\n  name = name.replace(/[\\[\\]]/g, '\\\\$&');\n  let regex = new RegExp(`[?&]${name}(=([^&#]*)|&|#|$)`);\n  let results = regex.exec(url);\n  if (!results) {\n    return null;\n  }\n  if (!results[2]) {\n    return '';\n  }\n  return decodeURIComponent(results[2].replace(/\\+/g, ' '));\n}\n\nexport default {\n  features(url) {\n    let featureFlags = getParameterByName('features', url);\n    if (!featureFlags) {\n      return [];\n    }\n    return featureFlags.split(',');\n  },\n  includes(featureKey, url) {\n    return this.features(url).includes(featureKey);\n  },\n};\n","let urlWithHttpPrefix = function(url) {\n  if (url.match(/^http(?:s?):\\/\\//)) {\n    return url;\n  }\n  return `http://${url}`;\n};\n\nlet parseUrl = function(url) {\n  let parser = document.createElement('a');\n  parser.href = urlWithHttpPrefix(url);\n\n  return {\n    original: url,\n    pathname: parser.pathname,\n    hostname: parser.hostname,\n    protocol: parser.protocol,\n    port: parser.port,\n    search: parser.search,\n    hash: parser.hash,\n    host: parser.host,\n  };\n};\n\nexport default parseUrl;\n","const EMAIL_REGEXP = /[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0 -9])?/;\n\nexport function redactEmailFromUrl(url) {\n  let parts = url.split('?');\n  let urlParts = parts[0].split('/');\n  let queryParts = parts[1] ? parts[1].split('&') : [];\n  let queryKeyValues = queryParts.map(part => part.split('='));\n\n  let redactedUrl = redactFromStrings(urlParts).join('/');\n  let redactedQueryParts = queryKeyValues.map(keyValue => redactFromStrings(keyValue).join('='));\n  let redactedQuery = redactFromStrings(redactedQueryParts).join('&');\n\n  return `${redactedUrl}${redactedQuery ? `?${redactedQuery}` : ''}`;\n}\n\n// Recursively mutates array of strings by redacting matches of redactRegExp\nfunction redactFromStrings(strings, redactRegExp = EMAIL_REGEXP) {\n  for (let i = 0; i < strings.length; i++) {\n    if (Array.isArray(strings[i])) {\n      redactFromStrings(strings[i]);\n\n      // eslint-disable-next-line no-continue\n      continue;\n    }\n    if (redactRegExp.test(strings[i])) {\n      strings.splice(i, 1, '[FILTERED]');\n    }\n  }\n\n  return strings;\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport parseUrl from 'embercom/lib/url-parser';\n\nlet charSpaceRatio = 7;\nlet ellipsis = '\\u2026';\nlet fileExtensions = ['.asp', '.aspx', '.php', '.html', '.jsp', '.xhtml', '.jsp', '.jspx'];\n\nlet UrlTruncator = EmberObject.extend({\n  truncate(url, availableWidth) {\n    let urlParts = parseUrl(url);\n    let pathname = urlParts.pathname;\n\n    if (pathname.length === 0 || pathname === '/') {\n      return urlParts.hostname;\n    } else {\n      return this._truncateUriPath(this._removeFileExtension(pathname), availableWidth);\n    }\n  },\n  _truncateUriPath(url, availableWidth) {\n    let maxNumCharacters = availableWidth / charSpaceRatio;\n\n    if (url.length > maxNumCharacters + ellipsis.length) {\n      let truncationIndex = url.length - maxNumCharacters;\n      return ellipsis + url.substring(truncationIndex, url.length);\n    }\n\n    return url;\n  },\n  _removeFileExtension(path) {\n    let self = this;\n    fileExtensions.some(function(item) {\n      if (self._endsWith(path, item)) {\n        path = path.substring(0, path.length - item.length);\n        return true;\n      }\n    });\n    return path;\n  },\n  _endsWith(subjectString, searchString) {\n    let position = subjectString.length - searchString.length;\n    let lastIndex = subjectString.indexOf(searchString, position);\n    return lastIndex !== -1 && lastIndex === position;\n  },\n});\n\nlet urlTruncator = UrlTruncator.create();\n\n// Truncates from the left of a url as there is more context on the right\nexport default function(url, availableWidth) {\n  return urlTruncator.truncate(url, availableWidth);\n}\n","// https://mathiasbynens.be/demo/url-regex\n//\n// Regular Expression for URL validation\n//\n// Author: Diego Perini\n// Updated: 2010/12/05\n// License: MIT\n//\n// Copyright (c) 2010-2013 Diego Perini (http://www.iport.it)\n//\n// Permission is hereby granted, free of charge, to any person\n// obtaining a copy of this software and associated documentation\n// files (the \"Software\"), to deal in the Software without\n// restriction, including without limitation the rights to use,\n// copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the\n// Software is furnished to do so, subject to the following\n// conditions:\n//\n// The above copyright notice and this permission notice shall be\n// included in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n// OTHER DEALINGS IN THE SOFTWARE.\nconst URL_VALIDATION_REGEX = /^(?:(?:https?|ftp):\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))\\.?)(?::\\d{2,5})?(?:[/?#]\\S*)?$/i;\n\nfunction urlWithHttpPrefix(urlString) {\n  if (!urlString) {\n    return '';\n  }\n  if (urlString.match(/^http(?:s?):\\/\\//)) {\n    return urlString;\n  }\n  return `http://${urlString}`;\n}\n\nfunction isValidUrl(urlString) {\n  return urlWithHttpPrefix(urlString).match(URL_VALIDATION_REGEX);\n}\n\nexport function isValidUrlWithProtocol(urlString) {\n  return urlString.match(URL_VALIDATION_REGEX);\n}\n\nexport default isValidUrl;\n","export default {\n  startCase(str) {\n    return str\n      .replace(/_/g, ' ')\n      .replace(/quarterly /gi, '')\n      .replace(/\\w\\S*/g, txt => {\n        return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();\n      });\n  },\n  getDisplayName(str) {\n    let pricingMetric = str;\n    if (pricingMetric === 'monthly_active_people_beta') {\n      pricingMetric = 'monthly_active_people';\n    }\n    if (pricingMetric === 'latest_daily_admin_count') {\n      pricingMetric = 'teammates';\n    }\n    return `${this.startCase(pricingMetric)}`;\n  },\n};\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport ajax from 'embercom/lib/ajax';\n\nlet UserContentSeenState = {\n  updateConversationForAdmin(conversation, realTimeEventService) {\n    if (conversation.get('disableSeenStateUpdates')) {\n      return;\n    }\n    let lastUserPart = conversation.get('lastUserPart');\n    if (lastUserPart === undefined || lastUserPart.get('isSeenByCurrentAdmin')) {\n      return;\n    }\n    ajax({\n      url: '/ember/conversation_parts/update_admin_seen_state',\n      type: 'POST',\n      data: JSON.stringify({\n        app_id: conversation.get('app_id'),\n        id: lastUserPart.get('id'),\n      }),\n    }).then(function() {\n      lastUserPart.setSeen();\n      realTimeEventService.sendUserContentSeenByAdminEvent(conversation);\n    });\n  },\n};\n\nexport default UserContentSeenState;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport EmberObject from '@ember/object';\nimport ajax from 'embercom/lib/ajax';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\n\nlet EventArchiver = EmberObject.extend({\n  event: null,\n  appId: null,\n  dependentObjectsUrl: templateString('/ember/user_events/${event.event_id}/dependent_objects'),\n  type: 'event',\n  onArchive: $.noop,\n  getDependentObjects() {\n    return ajax({\n      url: this.dependentObjectsUrl,\n      type: 'GET',\n      data: {\n        app_id: this.appId,\n      },\n    }).then(response => response.table);\n  },\n  archive() {\n    return ajax({\n      type: 'PUT',\n      url: '/ember/event_settings/archive',\n      data: JSON.stringify({\n        app_id: this.appId,\n        id: this.get('event.event_id'),\n      }),\n    }).then(this.onArchive);\n  },\n  unarchive() {\n    return ajax({\n      type: 'PUT',\n      url: '/ember/event_settings/unarchive',\n      data: JSON.stringify({\n        app_id: this.appId,\n        id: this.get('event.event_id'),\n      }),\n    });\n  },\n  updateDescription() {\n    return ajax({\n      type: 'PUT',\n      url: '/ember/event_settings/update_description',\n      data: JSON.stringify({\n        app_id: this.appId,\n        id: this.get('event.event_id'),\n        description: this.get('event.description'),\n      }),\n    });\n  },\n});\n\nexport default EventArchiver;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport { on } from '@ember/object/evented';\nimport EmberObject from '@ember/object';\nexport default EmberObject.extend({\n  realTimeEventService: null,\n  query: null,\n  conversationUpdatedEvents: 'ThreadAssigned ThreadClosed ThreadReopened ThreadUpdated ConversationAttributesUpdated'.w(),\n  subscribe: on('init', function() {\n    let self = this;\n    self.get('conversationUpdatedEvents').forEach(function(eventName) {\n      self.get('realTimeEventService').on(eventName, self, 'conversationUpdatedHandler');\n    });\n  }),\n  unsubscribe() {\n    let self = this;\n    self.get('conversationUpdatedEvents').forEach(function(eventName) {\n      self.get('realTimeEventService').off(eventName, self, 'conversationUpdatedHandler');\n    });\n  },\n  willDestroy() {\n    this.unsubscribe();\n  },\n  conversationUpdatedHandler(event) {\n    let conversations = this.get('query.content').mapBy('conversation');\n    let conversation = conversations.findBy('id', event.conversationId);\n    if (\n      conversation &&\n      conversation.get('isCurrentlyActive') &&\n      conversation.shouldHandleRealtimeEvent(event)\n    ) {\n      conversation.syncedPartList.sync().then(function() {\n        conversation.updatedByRealtimeEvent(event);\n      });\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport { reads, readOnly } from '@ember/object/computed';\nimport { on } from '@ember/object/evented';\nimport ArrayProxy from '@ember/array/proxy';\nimport { notEqualToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport ActivityFeedQuerySubscription from 'embercom/lib/users/activity-feed-query-subscription';\nimport ActivityFeedItem from 'embercom/models/activity-feed-item';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\n\nlet ActivityFeedQuery = ArrayProxy.extend({\n  page: 0,\n  isLoading: true,\n  user: undefined,\n  subject: undefined,\n  setup: on('init', function() {\n    getEmberDataStore().unloadAll('activity-feed-item');\n  }),\n  dateCursor: reads('lastObject.created_at'),\n  newPipelinePaginationCursor: readOnly('lastObject.id'),\n  hasMore: notEqualToProperty('dateCursor', 'lastCreatedAt'),\n  shouldUseNewEventPipeline: readOnly('app.canUseNewEventsPipeline'),\n  options: computed('admin_id', 'app.id', 'timelineType', 'aggregate', '[]', function() {\n    let options = {\n      app_id: this.get('app.id'),\n      timeline_type: this.timelineType,\n      followed_user_events: false,\n      page_num: this.pageNum,\n      page_size: this.pageSize,\n      aggregate: this.aggregate,\n      profileType: this.profileType,\n    };\n    if (this.admin_id) {\n      options.admin_id = this.admin_id;\n    }\n    if (this.user) {\n      options.intercom_user_id = this.get('user.id');\n    }\n    if (this.subject) {\n      options.subject_id = this.get('subject.id');\n    }\n    if (this.length > 0) {\n      options.before = this.dateCursor;\n    }\n    if (this.shouldUseNewEventPipeline && this.length > 0) {\n      options.timestamp_event_id = this.newPipelinePaginationCursor;\n    }\n    return options;\n  }),\n  singlePage() {\n    this.set('lastCreatedAt', this.dateCursor);\n    return ActivityFeedItem.getFeedItems(this.options);\n  },\n  loadPage() {\n    let self = this;\n    this.set('isLoading', true);\n    return this.singlePage()\n      .then(function(data) {\n        self.addObjects(data.items);\n        self.set('totalCount', data.totalCount);\n        self.set('isLoading', false);\n      })\n      .catch(function() {\n        self.set('hasErrored', true);\n      });\n  },\n  reload() {\n    this.set('content', []);\n    return this.loadPage();\n  },\n  nextPage() {\n    this.set('pageNum', this.pageNum + 1);\n    return this.loadPage();\n  },\n  subscribe() {\n    this.unsubscribe();\n    let subscription = ActivityFeedQuerySubscription.create({\n      query: this,\n      realTimeEventService: this.realTimeEventService,\n    });\n    this.set('subscription', subscription);\n  },\n  unsubscribe() {\n    let subscription = this.subscription;\n    if (subscription) {\n      subscription.destroy();\n    }\n  },\n});\n\nexport default ActivityFeedQuery;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject, { computed } from '@ember/object';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\nimport B64FilterParamEncoder from 'embercom/vendor/intercom/b64-filter-param-encoder';\nimport rawValueToFilterValue from 'embercom/lib/users/user-company-list/raw-value-to-filter-value';\nimport safeWindowOpen from 'embercom/lib/safe-window-open';\n\nlet FilterLinkBuilder = EmberObject.extend({\n  attributeIdentifier: undefined,\n  isCompany: undefined,\n  isUrl: undefined,\n  id: undefined,\n\n  userOrCompany: computed('isCompany', 'id', function() {\n    let modelName = this.isCompany ? 'company' : 'user';\n    return getEmberDataStore().peekRecord(modelName, this.id);\n  }),\n  app: computed(function() {\n    return getEmberDataStore().peekRecord('app', this.get('userOrCompany.app_id'));\n  }),\n\n  attribute: computed('attributeIdentifier', function() {\n    return this.get('app.attributes').findBy('identifier', this.attributeIdentifier);\n  }),\n\n  rawValue: computed('userOrCompany', function() {\n    let lookupKey = this.lookupKey;\n    if (this.isCompany && lookupKey === 'tag_ids') {\n      lookupKey = 'segment_ids';\n    }\n    let rawValue = this.get(`userOrCompany.${lookupKey}`);\n    return rawValueToFilterValue(this.attributeIdentifier, rawValue);\n  }),\n\n  redirectUrl: computed('userOrCompany', 'attribute', 'rawValue', function() {\n    return B64FilterParamEncoder.filterUrl(this.userOrCompany, this.attribute, this.rawValue);\n  }),\n\n  redirectToFilterUrl(inNewWindow) {\n    if (this.isUrl) {\n      safeWindowOpen(this.rawValue);\n    } else if (inNewWindow) {\n      safeWindowOpen(this.redirectUrl);\n    } else {\n      FilterLinkBuilder.redirectTo(this.redirectUrl);\n    }\n  },\n}).reopenClass({\n  isCompanyKey: 'is-company',\n  attributeIdentifierKey: 'attribute-identifier',\n  userOrCompanylookupKey: 'lookup-key',\n  anonymousKey: 'anonymous',\n  idKey: 'id',\n  urlKey: 'is-url',\n  redirectToUrl($dataElement, metaKeyPressed) {\n    FilterLinkBuilder.create({\n      isUrl: $dataElement.data(FilterLinkBuilder.urlKey),\n      isCompany: $dataElement.data(FilterLinkBuilder.isCompanyKey),\n      attributeIdentifier: $dataElement.data(FilterLinkBuilder.attributeIdentifierKey),\n      lookupKey: $dataElement.data(FilterLinkBuilder.userOrCompanylookupKey),\n      anonymous: $dataElement.data(FilterLinkBuilder.anonymousKey),\n      id: $dataElement.data(FilterLinkBuilder.idKey),\n    }).redirectToFilterUrl(metaKeyPressed);\n  },\n  redirectTo(url) {\n    window.location = url;\n  },\n});\n\nexport default FilterLinkBuilder;\n","import PredicateFilterMap from 'embercom/models/data/predicate-filter-map';\n\nexport default function(type, rawValue) {\n  if (type === 'ios_device') {\n    let map = PredicateFilterMap.ios_device.data.findBy('label', rawValue);\n    return map ? map.value : rawValue;\n  }\n  return rawValue;\n}\n","const generateUUID = function() {\n  let d = new Date().getTime();\n  /* eslint-disable no-bitwise */\n  let uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {\n    let r = (d + Math.random() * 16) % 16 | 0;\n    d = Math.floor(d / 16);\n    // eslint-disable-next-line no-mixed-operators\n    return (c === 'x' ? r : (r & 0x3) | 0x8).toString(16);\n  });\n  /* eslint-enable no-bitwise */\n  return uuid;\n};\nexport default generateUUID;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport ENV from 'embercom/config/environment';\n\nfunction _B64UrlToUint8Array(base64String) {\n  let padding = '='.repeat((4 - (base64String.length % 4)) % 4);\n  let base64 = (base64String + padding).replace(/\\-/g, '+').replace(/_/g, '/');\n  let rawData = atob(base64);\n  let outputArray = new Uint8Array(rawData.length);\n  for (let i = 0; i < rawData.length; ++i) {\n    outputArray[i] = rawData.charCodeAt(i);\n  }\n  return outputArray;\n}\n\nfunction _vapidTokenString() {\n  if (ENV.environment === 'production') {\n    return $('meta[name=\"vapid_public_key\"]').attr('content');\n  } else {\n    return ENV.applicationServerKeyString;\n  }\n}\n\nexport function encodedVapidToken() {\n  return _B64UrlToUint8Array(_vapidTokenString());\n}\n","const YOUTUBE_REGEX = /\\/watch\\?v\\=([a-zA-Z0-9_\\-]+)\\/?/;\nconst VIMEO_REGEX = /\\/([a-zA-Z0-9_\\-]+)\\/?/;\nconst WISTIA_REGEX = /\\/(embed\\/iframe|medias)\\/([a-zA-Z0-9_\\-]+)\\/?/;\nconst LOOM_REGEX = /\\/embed\\/([a-zA-Z0-9_\\-]+)\\/?/;\n\nexport const INVALID_YOUTUBE_LINK_MESSAGE = `Invalid YouTube link. Must be in the form 'https://youtube.com/watch?v=[VIDEO_ID]'`;\nexport const INVALID_VIMEO_LINK_MESSAGE = `Invalid Vimeo link. Must be in the form 'https://vimeo.com/[VIDEO_ID]'`;\nexport const INVALID_WISTIA_LINK_MESSAGE = `Invalid Wistia link. Must be in the form 'https://fast.wistia.net/embed/iframe/[VIDEO_ID]'`;\nexport const INVALID_LOOM_LINK_MESSAGE = `Invalid Loom link. Must be in the form 'https://www.useloom.com/embed/[VIDEO_ID]'`;\nexport const UNKNOWN_VIDEO_PROVIDER_MESSAGE =\n  'Must be a link from one of the supported video hosts';\n\nconst PROVIDERS = {\n  youtube: 'youtube',\n  vimeo: 'vimeo',\n  wistia: 'wistia',\n  loom: 'loom',\n};\n\nexport function buildVideoUrl(id, provider) {\n  if (!id) {\n    return null;\n  }\n\n  switch (provider) {\n    case PROVIDERS.youtube:\n      return `https://www.youtube.com/watch?v=${id}`;\n    case PROVIDERS.vimeo:\n      return `https://vimeo.com/${id}`;\n    case PROVIDERS.wistia:\n      return `https://fast.wistia.net/embed/iframe/${id}`;\n    case PROVIDERS.loom:\n      return `https://www.useloom.com/embed/${id}`;\n    default:\n      return null;\n  }\n}\n\nexport function buildEmbeddableVideoUrl(id, provider) {\n  if (!id) {\n    return null;\n  }\n\n  switch (provider) {\n    case PROVIDERS.youtube:\n      return `https://www.youtube.com/embed/${id}?rel=0&hd=1&autoplay=0`;\n    case PROVIDERS.vimeo:\n      return `https://player.vimeo.com/video/${id}?autoplay=0`;\n    case PROVIDERS.wistia:\n      return `https://fast.wistia.net/embed/iframe/${id}?autoPlay=false&muted=false`;\n    case PROVIDERS.loom:\n      return `https://www.useloom.com/embed/${id}`;\n    default:\n      return null;\n  }\n}\n\nexport function parseVideoUrl(url) {\n  try {\n    let parsedUrl = new URL(url);\n    let provider = providerForUrl(parsedUrl);\n\n    switch (provider) {\n      case PROVIDERS.youtube:\n        return { provider, id: parseId(`${parsedUrl.pathname}${parsedUrl.search}`, YOUTUBE_REGEX) };\n      case PROVIDERS.vimeo:\n        return { provider, id: parseId(parsedUrl.pathname, VIMEO_REGEX) };\n      case PROVIDERS.wistia:\n        return { provider, id: parseId(parsedUrl.pathname, WISTIA_REGEX) };\n      case PROVIDERS.loom:\n        return { provider, id: parseId(parsedUrl.pathname, LOOM_REGEX) };\n      default:\n        return { id: null, provider: null };\n    }\n  } catch (err) {\n    return { id: null, provider: null };\n  }\n}\n\nexport function validateVideoDetails(id, provider) {\n  if (provider === null) {\n    return UNKNOWN_VIDEO_PROVIDER_MESSAGE;\n  }\n\n  if (id === null) {\n    switch (provider) {\n      case PROVIDERS.youtube:\n        return INVALID_YOUTUBE_LINK_MESSAGE;\n      case PROVIDERS.vimeo:\n        return INVALID_VIMEO_LINK_MESSAGE;\n      case PROVIDERS.wistia:\n        return INVALID_WISTIA_LINK_MESSAGE;\n      case PROVIDERS.loom:\n        return INVALID_LOOM_LINK_MESSAGE;\n      default:\n        return UNKNOWN_VIDEO_PROVIDER_MESSAGE;\n    }\n  }\n\n  return true;\n}\n\nfunction providerForUrl({ hostname }) {\n  switch (hostname) {\n    case 'youtube.com':\n    case 'www.youtube.com':\n      return PROVIDERS.youtube;\n    case 'vimeo.com':\n    case 'www.vimeo.com':\n      return PROVIDERS.vimeo;\n    case 'wistia.net':\n    case 'fast.wistia.net':\n      return PROVIDERS.wistia;\n    case 'useloom.com':\n    case 'www.useloom.com':\n      return PROVIDERS.loom;\n    default:\n      if (isWistiaCustomDomain(hostname)) {\n        return PROVIDERS.wistia;\n      }\n\n      return null;\n  }\n}\n\nfunction isWistiaCustomDomain(hostname) {\n  let domains = hostname.split('.');\n  let onlySubdomain = domains.length === 3;\n  let wistiaDomain = domains[1] === 'wistia' && domains[2] === 'net';\n  let subDomainRegex = /^[a-z0-9][a-z0-9\\-]*$/;\n  let validCustomDomain = subDomainRegex.test(domains[0]);\n  return onlySubdomain && wistiaDomain && validCustomDomain;\n}\n\nfunction parseId(path, regex) {\n  let match = path.match(regex);\n  if (!match) {\n    return null;\n  }\n\n  return match[match.length - 1];\n}\n","import { TEAMMATE_APP_URL } from 'embercom/lib/teammate-app';\n\nconst VIDEO_PROJECTS = [\n  {\n    identifier: 'js_install',\n    keyMatchRegex: /^js_install\\//,\n    title: 'Capture more leads and close more deals',\n    subtitle: 'It takes just a few minutes to setup',\n    ctaText: 'Install the Messenger',\n    ctaUrl: `${TEAMMATE_APP_URL}/a/apps/_/settings/web`,\n  },\n  {\n    identifier: 'maya_messenger',\n    keyMatchRegex: /^people\\/maya\\/messenger_intro\\//,\n    title: 'Grow your business with a Messenger',\n    subtitle: '',\n    ctaText: `Learn more about Intercom's Messenger`,\n    ctaUrl:\n      'https://www.intercom.com/live-chat?&utm_medium=emailutm_source=mkt-nur&utm_campaign=20181015_video&utm_content=custom-video-video-cta',\n  },\n];\n\nexport function getVideoProjectByKey(videoKey) {\n  return VIDEO_PROJECTS.find(p => p.keyMatchRegex.test(videoKey));\n}\n","export const TRIGGERS = [\n  {\n    value: 'inbound_conversation_started',\n    text: 'A customer starts a new conversation',\n    description: 'Triggers when a new conversation on any channel has started',\n    icon: 'download-conversation',\n  },\n  {\n    value: 'reply_to_outbound',\n    text: 'A customer replies to outbound content',\n    description:\n      'Triggers when a customer first replies to any outbound chat, email, bot or manual message',\n    icon: 'reply',\n  },\n  {\n    value: 'any_user_comment',\n    text: 'A customer sends any reply',\n    description:\n      'Triggers every time a customer replies during any inbound or outbound conversation',\n    icon: 'conversation',\n  },\n  {\n    value: 'awaiting_first_reply',\n    componentPath: 'awaiting-first-reply',\n    text: 'A new conversation hasn’t received a reply',\n    description:\n      'Triggers when a new conversation hasn’t received its first reply in the specified time',\n    icon: 'sla',\n  },\n];\n","export const SECONDS_IN_DAY = 86400;\nexport const SECONDS_IN_HOUR = 3600;\nexport const SECONDS_IN_MINUTE = 60;\nexport const MAX_DELAY_IN_SECONDS = 14 * SECONDS_IN_DAY;\nexport const MIN_DELAY_IN_SECONDS = 30;\nexport const DEFAULT_DELAY = 300;\n\nexport const getDelayUnit = delayInSeconds => {\n  if (delayInSeconds % SECONDS_IN_DAY === 0) {\n    return 'day';\n  }\n  if (delayInSeconds % SECONDS_IN_HOUR === 0) {\n    return 'hour';\n  }\n  if (delayInSeconds % SECONDS_IN_MINUTE === 0) {\n    return 'minute';\n  }\n  return 'second';\n};\n\nexport const getDelayValue = delayInSeconds => {\n  if (delayInSeconds % SECONDS_IN_DAY === 0) {\n    return delayInSeconds / SECONDS_IN_DAY;\n  }\n  if (delayInSeconds % SECONDS_IN_HOUR === 0) {\n    return delayInSeconds / SECONDS_IN_HOUR;\n  }\n  if (delayInSeconds % SECONDS_IN_MINUTE === 0) {\n    return delayInSeconds / SECONDS_IN_MINUTE;\n  }\n  return delayInSeconds;\n};\n\nexport const getDelayInSeconds = (value, unit) => {\n  switch (unit) {\n    case 'second':\n      return value;\n    case 'minute':\n      return value * SECONDS_IN_MINUTE;\n    case 'hour':\n      return value * SECONDS_IN_HOUR;\n    case 'day':\n      return value * SECONDS_IN_DAY;\n    default:\n      throw new Error('Invalid unit type');\n  }\n};\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-new-mixins */\n/* eslint-disable ember/no-jquery */\nimport { observer } from '@ember/object';\nimport Mixin from '@ember/object/mixin';\nimport { cancel, debounce, schedule } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport ENV from 'embercom/config/environment';\nimport $ from 'jquery';\n\nexport default Mixin.create({\n  notificationsService: service(),\n  autoSaveEnabled: true,\n\n  resetAutosaveTimer: observer({\n    dependentKeys: ['editing'],\n\n    fn() {\n      if (this.get('campaign.isNotDraft') && this.editing && this.autoSaveTimer) {\n        this.cancelAutoSaveTimer();\n      }\n    },\n\n    sync: true,\n  }),\n\n  cancelAutoSaveTimer() {\n    cancel(this.autoSaveTimer);\n  },\n\n  setupEventListeners() {\n    schedule('afterRender', this, () => {\n      $('.js__campaign-title-input')\n        .on(`focus.${this.elementId}`, () => this.set('autoSaveEnabled', false))\n        .on(`blur.${this.elementId}`, () => this.set('autoSaveEnabled', true));\n    });\n  },\n\n  teardownEventListeners() {\n    $('.js__campaign-title-input')\n      .off(`focus.${this.elementId}`)\n      .off(`blur.${this.elementId}`);\n  },\n\n  focusTitle() {\n    schedule('afterRender', this, () => {\n      $('.js__campaign-title-input').select();\n    });\n  },\n\n  autoSave: observer({\n    dependentKeys: [\n      'campaign.hasDirtyAttributes',\n      'campaign.hasInvalidPredicateGroup',\n      'autoSaveEnabled',\n      'campaign.isDeleted',\n    ],\n\n    fn() {\n      if (!this.autoSaveEnabled) {\n        return;\n      }\n\n      if (!this.get('campaign.hasDirtyAttributes')) {\n        return;\n      }\n\n      if (this.get('campaign.isDeleted')) {\n        return;\n      }\n\n      // when live and in editing mode do not save as there is an explicit save button\n      if (this.get('campaign.isNotDraft') && this.editing) {\n        return;\n      }\n\n      if (this.campaign.validate({ allowedAttributes: ['spacing', 'title'] })) {\n        this._debounceSave();\n      }\n    },\n\n    sync: true,\n  }),\n\n  _debounceSave() {\n    this.set('autoSaveTimer', debounce(this, this._saveCampaign, ENV.APP._2000MS, false));\n  },\n\n  _saveCampaign() {\n    let campaign = this.campaign;\n    if (\n      campaign.get('isDeleted') ||\n      !campaign.get('hasDirtyAttributes') ||\n      campaign.get('hasInvalidPredicateGroup')\n    ) {\n      return;\n    }\n\n    campaign.save().catch(response => {\n      this.notificationsService.notifyResponseError(response, {\n        default: \"Something went wrong and we couldn't save the campaign\",\n      });\n      campaign.rollbackAttributes();\n    });\n  },\n});\n","define(\"embercom/mixins/embedded-messenger/loader\", [\"exports\", \"@intercom/embercom-composer/mixins/embedded-messenger/loader\"], function (_exports, _loader) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _loader.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { computed } from '@ember/object';\nimport { and, equal, gt, not, or, reads } from '@ember/object/computed';\nimport Mixin from '@ember/object/mixin';\nexport default Mixin.create({\n  hasNoVamsInInterval: equal('totalVamsSentInInterval', 0),\n  hasLeadConversationsInInterval: gt('model.totalConversationsWithLeads', 0),\n  hasNoLeadConversationsInInterval: not('hasLeadConversationsInInterval'),\n\n  hasNoLeadConversationsOrVams: and('hasNoVamsInInterval', 'hasNoLeadConversationsInInterval'),\n  showDummyLeadContent: or('isLoading', 'hasNoLeadConversationsOrVams'),\n\n  hasNoConversationsInitiatedByLead: reads('model.hasNoConversationsInitiatedByLead'),\n  hasNoConversationsInResponseToVisitorAutoMessage: reads(\n    'model.hasNoConversationsInResponseToVisitorAutoMessage',\n  ),\n\n  hasNoLeadConversations: and(\n    'hasNoConversationsInResponseToVisitorAutoMessage',\n    'hasNoConversationsInitiatedByLead',\n  ),\n  hasLeadConversations: not('hasNoLeadConversations'),\n\n  totalVamsSentInInterval: computed('model.variation_stats.content', function() {\n    let stats = this.get('model.variation_stats.content');\n    if (stats) {\n      return stats.reduce((totalVams, vam) => {\n        return (\n          totalVams +\n          vam.data.stats.reduce((totalStats, currentStat) => {\n            return totalStats + currentStat.sent_count;\n          }, 0)\n        );\n      }, 0);\n    }\n    return 0;\n  }),\n\n  vamVariationStats: computed('model.{variation_stats,lead_formatted_global_stats}', function() {\n    let variationStats = this.get('model.variation_stats') || [];\n    let variationStatsArray = variationStats.toArray();\n    let leadFormattedGlobalStats = this.get('model.lead_formatted_global_stats');\n    if (leadFormattedGlobalStats) {\n      variationStatsArray.push(this.get('model.lead_formatted_global_stats'));\n    }\n    return variationStatsArray;\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { run } from '@ember/runloop';\nimport { isPresent, isEqual } from '@ember/utils';\nimport { on } from '@ember/object/evented';\nimport { inject as service } from '@ember/service';\nimport Mixin from '@ember/object/mixin';\nexport default Mixin.create({\n  realTimeEventService: service('realTimeEventService'),\n  subscribeToCampaignMessagePreviewUpdates: on('activate', function() {\n    this.realTimeEventService.on(\n      'CampaignMessagePreview',\n      this,\n      '_updateCampaignAudiencePreviewIfPresent',\n    );\n  }),\n  unsubscribeToCampaignMessagePreviewUpdates: on('deactivate', function() {\n    this.realTimeEventService.off(\n      'CampaignMessagePreview',\n      this,\n      '_updateCampaignAudiencePreviewIfPresent',\n    );\n  }),\n  _updateCampaignAudiencePreviewIfPresent(data) {\n    let record = this.store.peekRecord('messages/campaign-audience-preview', data.id);\n    let sampleMatchingUserIds = data.sampleMatchingUserIds || data.sample_matching_user_ids; // TODO: suresh/lorcan Remove this when the issue is fixed\n    if (isPresent(record) && this._sampleUsersHaveChanged(record, sampleMatchingUserIds)) {\n      this._reloadCampaignAudience(record);\n    } else {\n      this._pushCampaignAudienceIntoStore(data);\n    }\n  },\n  _sampleUsersHaveChanged(record, userIds) {\n    let localSampleUserIds = record.get('sampleMatchingUserIds');\n    let allIdsMatch = localSampleUserIds.every((id, index) => isEqual(id, userIds[index]));\n    let arraysAreSameLength = localSampleUserIds.length === userIds.length;\n    return !(allIdsMatch && arraysAreSameLength);\n  },\n  _pushCampaignAudienceIntoStore(data) {\n    run(() => this.store.push(this.store.normalize('messages/campaign-audience-preview', data)));\n  },\n  _reloadCampaignAudience(record) {\n    record.reload();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { computed } from '@ember/object';\nimport Mixin from '@ember/object/mixin';\nexport default Mixin.create({\n  generateColumns(jobColumn) {\n    let processedColumnName = this._processJobColumn(jobColumn);\n    return this._jobColumns[processedColumnName].map(columnName => this._columnTypes[columnName]);\n  },\n  _processJobColumn(jobColumn) {\n    let jobColumnSplit = jobColumn.split('-');\n    let columnState = jobColumnSplit[jobColumnSplit.length - 1];\n    let hasState = ['live', 'stopped', 'scheduled', 'all'].any(state => state === columnState);\n    if (hasState) {\n      return jobColumn.substring(0, jobColumn.lastIndexOf('-'));\n    } else {\n      return jobColumn;\n    }\n  },\n  _jobColumns: {\n    'campaign-message-list': [\n      'campaign-select',\n      'campaign-title',\n      'campaign-variations',\n      'campaign-from',\n      'campaign-sent',\n      'campaign-open',\n      'campaign-goal',\n      'campaign-click',\n    ],\n  },\n  _columnTypes: computed(function() {\n    let cellPartials = 'apps/app/outbound/partials/table-cells/lists';\n    let cellComponents = 'campaigns/table';\n    return {\n      'campaign-select': {\n        property: 'selected',\n        title: 'Title',\n        component: `${cellComponents}/campaign-selection-cell`,\n      },\n      'campaign-title': {\n        property: 'title',\n        title: 'Title',\n        partial: `${cellPartials}/campaign-title-cell`,\n      },\n      'campaign-variations': {\n        property: 'variations',\n        title: 'Variations',\n        partial: `${cellPartials}/campaign-variations-cell`,\n      },\n      'campaign-from': {\n        property: 'from',\n        title: 'From',\n        partial: `${cellPartials}/campaign-from-cell`,\n      },\n      'campaign-sent': {\n        property: 'sentCount',\n        colorClass: 'recipients',\n        viewingParam: 'sent',\n        title: 'Sent',\n        partial: `${cellPartials}/campaign-stats-cell`,\n      },\n      'campaign-open': {\n        property: 'openPercentage',\n        viewingParam: 'opened',\n        colorClass: 'opens',\n        title: 'Opened',\n        isPercentage: true,\n        partial: `${cellPartials}/campaign-stats-cell`,\n      },\n      'campaign-goal': {\n        property: 'goalSuccessPercentage',\n        title: 'Goal',\n        colorClass: 'goal',\n        isPercentage: true,\n        viewingParam: 'goal',\n        partial: `${cellPartials}/campaign-stats-cell`,\n      },\n      'campaign-click': {\n        property: 'clickPercentage',\n        viewingParam: 'clicked',\n        colorClass: 'clicks',\n        title: 'Clicked',\n        isPercentage: true,\n        partial: `${cellPartials}/campaign-stats-cell`,\n      },\n    };\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { inject as service } from '@ember/service';\nimport Mixin from '@ember/object/mixin';\nimport { capitalize } from '@ember/string';\n\nexport default Mixin.create({\n  frontendStatsService: service('frontendStatsService'),\n  recordPageRenderTime() {\n    this.frontendStatsService.timeUntilAfterRender(`ember_ux_${this.type}MessageListRenderTime`, {\n      bufferSize: 1,\n    });\n  },\n  recordProductListItemRenderTime(job, state) {\n    let metricName = `ember_ux_${job}${capitalize(state)}MessageListItemRenderTime`;\n    this.frontendStatsService.timeUntilAfterRender(metricName, { bufferSize: 5 });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport fullRelativeTime from 'embercom/lib/full-relative-time';\nimport Admin from 'embercom/models/admin';\n\nexport default Model.extend({\n  name: attr('string'),\n  domain: attr('string'),\n  source: attr('string'),\n  ownerId: attr('number'),\n  deleted: attr('boolean', { defaultValue: false }),\n  lastSeenAt: attr('date'),\n  relativeLastSeenAt: computed('lastSeenAt', function() {\n    return fullRelativeTime(this.lastSeenAt);\n  }),\n  matchCount: attr('number'),\n  owner: computed('ownerId', function() {\n    return Admin.peekAndMaybeLoad(this.store, this.ownerId);\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo } from '@ember-data/model';\nimport { A } from '@ember/array';\nimport { assign } from '@ember/polyfills';\nimport EmberObject, { computed } from '@ember/object';\nimport ajax from 'embercom/lib/ajax';\nimport ActivityFeedQuery from 'embercom/lib/users/activity-feed-query';\nimport { notEmpty } from '@ember/object/computed';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\nimport { fragment } from 'ember-data-model-fragments/attributes';\nimport Admin from 'embercom/models/admin';\n\nexport default Model.extend({\n  new: false,\n  type: attr(),\n  created_at: attr(),\n  event_name: attr(),\n  metadata: attr(),\n  admin_id: attr(),\n  admin: computed('admin_id', function() {\n    if (this.admin_id) {\n      return Admin.peekAndMaybeLoad(this.store, this.admin_id);\n    }\n  }),\n  author_id: attr(),\n  author: computed('author_id', function() {\n    if (this.author_id) {\n      return Admin.peekAndMaybeLoad(this.store, this.author_id);\n    }\n  }),\n  conversation: belongsTo('conversation'),\n  note: belongsTo('note'),\n  segment: belongsTo('segment'),\n  tag: belongsTo('tag', { async: true }),\n  subject: fragment('activity-subject'),\n  hasSubject: notEmpty('subject'),\n  isExpanded: false,\n  hasTag: notEmpty('tag'),\n  hasSegment: notEmpty('segment'),\n  hasEvent: notEmpty('event_name'),\n}).reopenClass({\n  query(app, user, options, realTimeEventService) {\n    let feedQueryOptions = assign(\n      { app, user, realTimeEventService, profileType: 'user' },\n      options,\n    );\n    return ActivityFeedQuery.create(feedQueryOptions);\n  },\n  adminQuery(app, admin, options) {\n    let feedQueryOptions = assign(\n      { app, admin_id: admin.get('id'), profileType: 'admin' },\n      options,\n    );\n    return ActivityFeedQuery.create(feedQueryOptions);\n  },\n  feedUrl() {\n    return '/ember/events.json';\n  },\n  getFeedItems(options) {\n    let store = getEmberDataStore();\n\n    return ajax({\n      url: this.feedUrl(),\n      type: 'POST',\n      data: JSON.stringify(options),\n    }).then(\n      function(response) {\n        let feedItems = A();\n        store.pushPayload({ 'activity-feed-items': response.events });\n\n        if (response.events) {\n          response.events.forEach(function(feedItem) {\n            try {\n              store.pushPayload({ 'activity-feed-items': [feedItem] });\n              let item = store.peekRecord('activity-feed-item', feedItem.id);\n              item.set('profileType', options.profileType);\n\n              feedItems.push(item);\n            } catch (e) {\n              console.log('activity feed item load failed', e, feedItems, feedItem);\n            }\n          });\n        }\n        return EmberObject.create({\n          items: feedItems,\n          totalCount: feedItems.length,\n          pageSize: response.page_size,\n        });\n      },\n      function(e) {\n        console.error(e, 'feed item load failed');\n      },\n    );\n  },\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport UserAvatarData from 'embercom/models/mixins/user-avatar-data';\n\nexport default Fragment.extend(UserAvatarData, {\n  type: attr('string'),\n  appId: attr('string'),\n  name: attr('string'),\n  displayName: attr('string'),\n  avatar: attr(),\n  isAnonymous: attr('boolean'),\n  isCompany: false,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-volatile-computed-properties */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { notEmpty, not, and } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { lessThanProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Model.extend({\n  createdAt: attr('date'),\n  revokedAt: attr('date'),\n  expiredAt: attr('date'),\n\n  now: computed(function() {\n    return new Date();\n  }).volatile(),\n  isRevoked: notEmpty('revokedAt'),\n  isNotRevoked: not('isRevoked'),\n  isExpired: lessThanProperty('expiredAt', 'now'),\n  isNotExpired: not('isExpired'),\n  isNotNew: not('isNew'),\n  isNotDeleted: not('isDeleted'),\n\n  isActive: and('isNotRevoked', 'isNotExpired', 'isNotNew', 'isNotDeleted'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { or } from '@ember/object/computed';\nimport ajax from 'embercom/lib/ajax';\n\nexport default Model.extend({\n  webPushForAssignedToMe: attr(),\n  webPushForAssignedToTeam: attr(),\n  webPushForUnassigned: attr(),\n  webPushForOtherTeamsAndTeammates: attr(),\n  webPushForMentions: attr(),\n  webPushForMessagesYouSent: attr(),\n  webPushForOwnedConversations: attr(),\n  webPushForOwnedAccountRevisits: attr(),\n\n  hasAnyWebPush: or(\n    'webPushForAssignedToMe',\n    'webPushForAssignedToTeam',\n    'webPushForUnassigned',\n    'webPushForOtherTeamsAndTeammates',\n    'webPushForMentions',\n    'webPushForMessagesYouSent',\n    'webPushForOwnedConversations',\n    'webPushForOwnedAccountRevisits',\n  ),\n\n  mobileForAssignedToMe: attr(),\n  mobileForAssignedToTeam: attr(),\n  mobileForUnassigned: attr(),\n  mobileForOtherTeamsAndTeammates: attr(),\n  mobileForMentions: attr(),\n  mobileForMessagesYouSent: attr(),\n  mobileForOwnedConversations: attr(),\n  mobileForOwnedAccountRevisits: attr(),\n\n  emailForAssignedToMe: attr(),\n  emailForAssignedToTeam: attr(),\n  emailForUnassigned: attr(),\n  emailForOtherTeamsAndTeammates: attr(),\n  emailForMentions: attr(),\n  emailForMessagesYouSent: attr(),\n  emailForOwnedConversations: attr(),\n  emailForOwnedAccountRevisits: attr(),\n\n  browserAlertSetting: attr(),\n  browserAudioAlerts: attr(),\n\n  accountOwnerSpecificPageNotificationEnabled: attr(),\n  accountOwnerSpecificPageNotificationUrl: attr(),\n\n  updatesAboutAppsEnabled: attr(),\n  /*\n    Browser notification settings are treated as bits of a binary number, each bit representing if a notification setting is\n    turned on or not.\n\n    111 (7) -> all notifications turned on\n    101 (5) -> notifications for Unassigned & conversations assigned to you\n    011 (3) -> notifications for your Team & conversations assigned to you\n    001 (1) -> Only notifications for conversations assigned to you\n   */\n\n  browserAlertsForUnassigned: computed('browserAlertSetting', {\n    get() {\n      return this.browserAlertSetting === 5 || this.browserAlertSetting === 7;\n    },\n    set(key, value) {\n      let sum = this.browserAlertsForTeam ? 2 : 0;\n      this.set('browserAlertSetting', value ? sum + 5 : sum + 1);\n      return value;\n    },\n  }),\n  browserAlertsForTeam: computed('browserAlertSetting', {\n    get() {\n      return this.browserAlertSetting === 3 || this.browserAlertSetting === 7;\n    },\n    set(key, value) {\n      let sum = this.browserAlertsForUnassigned ? 4 : 0;\n      this.set('browserAlertSetting', value ? sum + 3 : sum + 1);\n      return value;\n    },\n  }),\n\n  dailySummaryEmailFor: attr(),\n\n  savePushSubscription(app, admin, pushSubscription) {\n    let subscriptionJson = pushSubscription.toJSON();\n    return ajax({\n      type: 'POST',\n      url: '/ember/web_push_endpoints',\n      data: JSON.stringify({\n        id: admin.get('id'),\n        app_id: app.get('id'),\n        client_auth_secret: subscriptionJson.keys.auth,\n        client_public_key: subscriptionJson.keys.p256dh,\n        endpoint: subscriptionJson.endpoint,\n      }),\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  pageKey: attr('string'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\n\nconst DEFAULT_BACKGROUND = 'background-1';\n\nexport default Model.extend({\n  admin_messenger_background: attr('string'),\n  away_mode_reassign_team_id: attr('string'),\n  adminMessengerBackground: computed('admin_messenger_background', {\n    get() {\n      return this.admin_messenger_background || DEFAULT_BACKGROUND;\n    },\n    set(key, value) {\n      this.set('admin_messenger_background', value);\n      return value || DEFAULT_BACKGROUND;\n    },\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, hasMany } from '@ember-data/model';\nimport ajax from 'embercom/lib/ajax';\nimport { htmlSafe } from '@ember/string';\nimport { computed } from '@ember/object';\nimport {\n  readOnly,\n  or,\n  alias,\n  reads,\n  not,\n  and,\n  equal,\n  mapBy,\n  gt,\n  notEmpty,\n} from '@ember/object/computed';\nimport { findBy, findByProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport AdminAvatarData from 'embercom/models/mixins/admin-avatar-data';\nimport DefaultAvatars from '@intercom/embercom-core/lib/default-avatars';\nimport storage from 'embercom/vendor/intercom/storage';\nimport moment from 'moment';\nimport containerLookup, { getApp, getEmberDataStore } from 'embercom/lib/container-lookup';\nimport { DEFAULT_EMOJI } from 'embercom/lib/available-emoji';\nimport { INBOX_ID } from 'embercom/lib/billing';\nimport { runTask, runDisposables } from 'ember-lifeline';\nimport { senderTypes } from 'embercom/models/data/outbound/constants';\n\nconst RESEND_VERIFICATION_TIMEOUT = 10000;\n\nlet Admin = Model.extend(AdminAvatarData, {\n  created_at: attr(),\n  name: attr(),\n  first_name: attr(),\n  firstName: alias('first_name'),\n  last_name: attr(),\n  localized_sender_name: attr(),\n  is_me: attr(),\n  is_github_bot: attr(),\n  is_operator: attr(),\n  is_facebook_bot: attr(),\n  is_bot: attr(),\n  is_unknown: attr(),\n  isUnknown: alias('is_unknown'),\n  advanced_shortcuts_enabled: attr(),\n  email: attr(),\n  email_verified: attr(),\n  invite_token: attr(),\n  pending_email_change: attr(),\n  current_email_pending_verification: attr(),\n  on_bounce_list: attr(),\n  color: attr(),\n  avatar: attr(),\n  avatar_emoji: attr('string', { defaultValue: DEFAULT_EMOJI }),\n  has_default_avatar: attr(),\n  has_photo_avatar: attr(),\n  has_unseen_changes: attr(),\n  removed_from_current_app: attr(),\n  assign_conversations_on_reply: attr(),\n  password: attr(),\n  terms_of_service: attr(),\n  audio_notifications_enabled: attr(),\n  important_admin_notifications: attr(),\n  importantAdminNotifications: alias('important_admin_notifications'),\n  department: attr(),\n  impersonation_permission_status: attr(),\n  impersonation_permission_default_reason: attr(),\n  apps: attr(),\n  calendar_url: attr(),\n  show_calendar_in_messenger: attr(),\n\n  app_permissions: hasMany('permission', { defaultValue: () => [] }),\n  permissions: alias('app_permissions'),\n\n  current_app_id: attr(),\n  currentAppPermissions: findByProperty('permissions', 'app_id', 'current_app_id'),\n  hasInboxAccess: readOnly('currentAppPermissions.has_inbox_access'),\n  canAccessWorkSpaceSettings: readOnly('currentAppPermissions.can_access_workspace_settings'),\n  canAccessProductSettings: readOnly('currentAppPermissions.can_access_product_settings'),\n  canManageTags: readOnly('currentAppPermissions.can_manage_tags'),\n\n  canSendMessages: readOnly('currentAppPermissions.can_send_messages'),\n  hasProductAccessForCurrentApp: readOnly('currentAppPermissions.can_access_product_settings'),\n\n  email_address_for_app: attr(),\n  has_enabled_2fa: attr(),\n  type: 'admin',\n  nameOrEmail: or('name', 'email'),\n  firstNameOrNameOrEmail: or('first_name', 'name', 'email'),\n  assigneeIdentifier: alias('email'),\n  isAdmin: true,\n  isGithubBot: reads('is_github_bot'),\n  isOperator: reads('is_operator'),\n  isFacebookBot: reads('is_facebook_bot'),\n  isBot: or('is_bot', 'isGithubBot', 'isOperator', 'isFacebookBot'),\n  visible_tag_ids: attr(),\n  visible_segment_ids: attr(),\n  visible_assignee_ids: attr(),\n  visible_attribute_ids: attr(),\n  visible_company_attribute_ids: attr(),\n  visible_user_event_ids: attr(),\n  visible_inbox_view_ids: attr(),\n  visible_inbox_sidebar_item_ids: attr(),\n  browser_alert_setting: attr(),\n  linkedin: findBy('socialAccounts', 'provider', 'linkedin'),\n  facebook: findBy('socialAccounts', 'provider', 'facebook'),\n  twitter: findBy('socialAccounts', 'provider', 'twitter'),\n  companySize: attr(),\n  job_title: attr(),\n  biography: attr(),\n  show_location: attr(),\n  has_password: attr('boolean'),\n  can_change_email: attr('boolean'),\n  canChangeEmail: alias('can_change_email'),\n  away_mode_enabled: attr('boolean'),\n  auto_away_after_seconds: attr('number'),\n  reassign_conversations: attr('boolean'),\n  terms_of_service_accepted: attr('boolean'),\n  canResendVerificationEmail: true,\n  isTeam: readOnly('is_team'),\n  is_team: attr(),\n  is_app_team: attr(),\n  isAppTeam: alias('is_app_team'),\n  isNotAppTeam: not('is_app_team'),\n  isTeamButNotAppTeam: and('is_team', 'isNotAppTeam'),\n  member_ids: attr(),\n  teamMemberCount: readOnly('member_ids.length'),\n  firstTeamMemberId: readOnly('member_ids.firstObject'),\n  teamInboxes: attr(),\n  isUnassignedAdmin: equal('id', '0'),\n  isNotHuman: or('isUnassignedAdmin', 'is_team', 'isBot'),\n  isHuman: not('isNotHuman'),\n  outboundType: senderTypes.admin,\n\n  isAssignableUnderThePerSeatPricing: or(\n    'isUnassignedAdmin',\n    'isTeamButNotAppTeam',\n    'hasInboxAccess',\n  ),\n\n  activeImportantAdminNotifications: computed(\n    'importantAdminNotifications.[]',\n    'importantAdminNotifications.@each.{acknowledged_at,cancelled_at,expired_at}',\n    function() {\n      if (\n        !this.importantAdminNotifications ||\n        typeof this.importantAdminNotifications.filter !== 'function'\n      ) {\n        return [];\n      }\n\n      return this.importantAdminNotifications.filter(notification => {\n        return (\n          !notification.acknowledged_at &&\n          !notification.cancelled_at &&\n          (!notification.expired_at || moment(notification.expired_at).isAfter(new Date()))\n        );\n      });\n    },\n  ),\n\n  activeProductIdsAcrossApps: mapBy('apps', 'active_product_ids'),\n\n  inboxIsActiveOnAnyApp: computed('activeProductIdsAcrossApps.@each.[]', function() {\n    return this.activeProductIdsAcrossApps.some(productIds =>\n      productIds.includes(parseInt(INBOX_ID, 10)),\n    );\n  }),\n\n  inboxIsActiveOnEveryApp: computed('activeProductIdsAcrossApps.@each.[]', function() {\n    return this.activeProductIdsAcrossApps.every(productIds =>\n      productIds.includes(parseInt(INBOX_ID, 10)),\n    );\n  }),\n\n  inboxIsNotActiveOnEveryApp: not('inboxIsActiveOnEveryApp'),\n  hasMoreThanOneApp: gt('apps.length', 1),\n\n  canUseInboxInAnyApp: computed('apps.[]', 'permissions.[]', function() {\n    let permissions = this.permissions;\n    let canUseInboxPerApp = this.apps.map(function(app) {\n      let respondActiveForApp = app.has_inbox_access;\n      if (app.per_product_pricing_flow) {\n        let permissionsForApp = permissions.findBy('app_id', app.id);\n        return (\n          respondActiveForApp &&\n          permissionsForApp !== undefined &&\n          permissionsForApp.get('has_inbox_access')\n        );\n      } else {\n        return respondActiveForApp;\n      }\n    });\n    return canUseInboxPerApp.includes(true);\n  }),\n\n  hasAvatarEmoji: notEmpty('avatar_emoji'),\n  status: attr(),\n  last_active: attr(),\n  location_data: attr(),\n  timezone: readOnly('location_data.timezone'),\n  hasTimezone: notEmpty('location_data.timezone'),\n\n  localTime: computed('hasTimezone', 'timezone', function() {\n    if (this.hasTimezone) {\n      return moment()\n        .tz(this.timezone)\n        .format('h:mm A');\n    }\n  }),\n\n  displayAs: readOnly('display_as'),\n\n  display_as: readOnly('name'),\n\n  display_as_assignee: computed('is_me', 'name', function() {\n    if (this.is_me) {\n      return 'You';\n    } else {\n      return this.name;\n    }\n  }),\n\n  displayNameAndEmail: computed('localized_sender_name', 'email', function() {\n    if (this.localized_sender_name) {\n      if (this.email) {\n        return `${this.localized_sender_name} <${this.email}>`;\n      } else {\n        return `${this.localized_sender_name}`;\n      }\n    }\n  }),\n\n  avatarUrl: computed('avatar', function() {\n    return this.get('avatar.image_urls.square_128') || DefaultAvatars.admins[128];\n  }),\n\n  createAvatar(image) {\n    let formData = new FormData();\n    formData.append('id', this.id);\n    formData.append('avatar', image);\n    return ajax({\n      type: 'POST',\n      url: '/ember/admins/create_avatar.json',\n      data: formData,\n      contentType: false,\n      processData: false,\n    }).then(\n      function(response) {\n        this.setProperties({\n          avatar: response.avatar,\n          has_photo_avatar: response.has_photo_avatar,\n        });\n      }.bind(this),\n    );\n  },\n\n  destroyAvatar() {\n    return ajax({\n      type: 'POST',\n      url: '/ember/admins/destroy_avatar.json',\n      data: JSON.stringify({\n        id: this.id,\n      }),\n    }).then(\n      function(response) {\n        this.set('avatar', response.avatar);\n        this.set('has_photo_avatar', response.has_photo_avatar);\n      }.bind(this),\n    );\n  },\n\n  analyticsData: computed('id', 'email', 'name', 'isTeam', function() {\n    if (this.isTeam) {\n      return {\n        object: 'team',\n        team_id: this.id,\n      };\n    } else {\n      return {\n        object: 'admin',\n        teammate_id: this.id,\n        email: this.email,\n        name: this.name,\n      };\n    }\n  }),\n\n  addTagIdsToAdminsVisibleTagIds(tagIds) {\n    if (this.visible_tag_ids) {\n      this.visible_tag_ids.pushObjects(tagIds);\n    } else {\n      this.set('visible_tag_ids', tagIds);\n    }\n    this.visibleTagIdsChanged();\n  },\n\n  removeTagIdsFromAdminsVisibleTagIds(tagIds) {\n    if (this.visible_tag_ids) {\n      this.visible_tag_ids.removeObjects(tagIds);\n    }\n    this.visibleTagIdsChanged();\n  },\n\n  addSegmentIdsToAdminsVisibleSegmentIds(segmentIds) {\n    if (this.visible_segment_ids) {\n      this.visible_segment_ids.pushObjects(segmentIds);\n    } else {\n      this.set('visible_segment_ids', segmentIds);\n    }\n    this.visibleSegmentIdsChanged();\n  },\n\n  removeSegmentIdsFromAdminsVisibleSegmentIds(segmentIds) {\n    if (this.visible_segment_ids) {\n      this.visible_segment_ids.removeObjects(segmentIds);\n    }\n    this.visibleSegmentIdsChanged();\n  },\n\n  addAssigneeIdToAdminsVisibleAssigneeIds(assigneeId) {\n    if (this.visible_assignee_ids) {\n      this.visible_assignee_ids.pushObject(assigneeId);\n    } else {\n      this.set('visible_assignee_ids', [assigneeId]);\n    }\n\n    this.visibleAssigneeIdsChanged();\n\n    let app = getApp();\n    if (app.canUseInboxViews) {\n      if (this.visible_inbox_sidebar_item_ids) {\n        this.visible_inbox_sidebar_item_ids.pushObject(assigneeId);\n      } else {\n        this.set('visible_inbox_sidebar_item_ids', [assigneeId]);\n      }\n\n      this.visibleSidebarItemIdsChanged();\n    }\n  },\n\n  removeAssigneeIdFromAdminsVisibleAssigneeIds(assigneeId) {\n    if (this.visible_assignee_ids) {\n      this.visible_assignee_ids.removeObject(assigneeId);\n      this.visibleAssigneeIdsChanged();\n    }\n\n    let app = getApp();\n    if (app.canUseInboxViews && this.visible_inbox_sidebar_item_ids) {\n      this.visible_inbox_sidebar_item_ids.removeObject(assigneeId);\n      this.visibleSidebarItemIdsChanged();\n    }\n  },\n\n  addAttributeIdToAdminsVisibleAttributeIds(attributeId) {\n    if (this.visible_attribute_ids) {\n      this.visible_attribute_ids.pushObject(attributeId);\n    } else {\n      this.set('visible_attribute_ids', [attributeId]);\n    }\n    this.visibleAttributeIdsChanged();\n  },\n\n  removeAttributeIdFromAdminsVisibleAttributeIds(attributeId) {\n    if (this.visible_attribute_ids) {\n      this.visible_attribute_ids.removeObject(attributeId);\n      this.visibleAttributeIdsChanged();\n    }\n  },\n\n  addAttributeIdToAdminsVisibleCompanyAttributeIds(attributeId) {\n    if (this.visible_company_attribute_ids) {\n      this.visible_company_attribute_ids.pushObject(attributeId);\n    } else {\n      this.set('visible_company_attribute_ids', [attributeId]);\n    }\n    this.visibleCompanyAttributeIdsChanged();\n  },\n\n  removeAttributeIdFromAdminsVisibleCompanyAttributeIds(attributeId) {\n    if (this.visible_company_attribute_ids) {\n      this.visible_company_attribute_ids.removeObject(attributeId);\n      this.visibleCompanyAttributeIdsChanged();\n    }\n  },\n\n  addEventIdToAdminsVisibleUserEventIds(eventId) {\n    if (this.visible_user_event_ids) {\n      this.visible_user_event_ids.pushObject(eventId);\n    } else {\n      this.set('visible_user_event_ids', [eventId]);\n    }\n    this.visibleUserEventIdsChanged();\n  },\n\n  removeEventIdFromAdminsVisibleUserEventIds(eventId) {\n    if (this.visible_user_event_ids) {\n      this.visible_user_event_ids.removeObject(eventId);\n    }\n    this.visibleUserEventIdsChanged();\n  },\n\n  addInboxViewIdToAdminsVisibleInboxViewIds(inboxViewId) {\n    if (this.visible_inbox_view_ids) {\n      this.visible_inbox_view_ids.pushObject(inboxViewId);\n    } else {\n      this.set('visible_inbox_view_ids', [inboxViewId]);\n    }\n    this.visibleInboxViewIdsChanged();\n\n    let app = getApp();\n    if (app.canUseInboxViews) {\n      if (this.visible_inbox_sidebar_item_ids) {\n        this.visible_inbox_sidebar_item_ids.pushObject(inboxViewId);\n      } else {\n        this.set('visible_inbox_sidebar_item_ids', [inboxViewId]);\n      }\n      this.visibleSidebarItemIdsChanged();\n    }\n  },\n\n  removeInboxViewIdFromAdminsVisibleInboxViewIds(inboxViewId) {\n    if (this.visible_inbox_view_ids) {\n      this.visible_inbox_view_ids.removeObject(inboxViewId);\n      this.visibleInboxViewIdsChanged();\n    }\n\n    let app = getApp();\n    if (app.canUseInboxViews && this.visible_inbox_sidebar_item_ids) {\n      this.visible_inbox_sidebar_item_ids.removeObject(inboxViewId);\n      this.visibleSidebarItemIdsChanged();\n    }\n  },\n\n  updateVisibleSidebarItems(ids) {\n    if (!this.visible_inbox_sidebar_item_ids) {\n      this.visible_inbox_sidebar_item_ids = [];\n    }\n\n    this.visible_inbox_sidebar_item_ids.clear();\n    this.visible_inbox_sidebar_item_ids.pushObjects(ids);\n    this.visibleSidebarItemIdsChanged();\n  },\n\n  visibleTagIdsChanged() {\n    if (this._dirtyAttributes && !this._dirtyAttributes.includes('visible_tag_ids')) {\n      this._dirtyAttributes.pushObject('visible_tag_ids');\n    }\n  },\n\n  visibleSegmentIdsChanged() {\n    if (this._dirtyAttributes && !this._dirtyAttributes.includes('visible_segment_ids')) {\n      this._dirtyAttributes.pushObject('visible_segment_ids');\n    }\n  },\n\n  visibleAssigneeIdsChanged() {\n    if (this._dirtyAttributes && !this._dirtyAttributes.includes('visible_assignee_ids')) {\n      this._dirtyAttributes.pushObject('visible_assignee_ids');\n    }\n  },\n\n  visibleAttributeIdsChanged() {\n    if (this._dirtyAttributes && !this._dirtyAttributes.includes('visible_attribute_ids')) {\n      this._dirtyAttributes.pushObject('visible_attribute_ids');\n    }\n  },\n\n  visibleCompanyAttributeIdsChanged() {\n    if (this._dirtyAttributes && !this._dirtyAttributes.includes('visible_company_attribute_ids')) {\n      this._dirtyAttributes.pushObject('visible_company_attribute_ids');\n    }\n  },\n\n  visibleUserEventIdsChanged() {\n    if (this._dirtyAttributes && !this._dirtyAttributes.includes('visible_user_event_ids')) {\n      this._dirtyAttributes.pushObject('visible_user_event_ids');\n    }\n  },\n\n  visibleInboxViewIdsChanged() {\n    if (this._dirtyAttributes && !this._dirtyAttributes.includes('visible_inbox_view_ids')) {\n      this._dirtyAttributes.pushObject('visible_inbox_view_ids');\n    }\n  },\n\n  visibleSidebarItemIdsChanged() {\n    if (\n      this._dirtyAttributes &&\n      !this._dirtyAttributes.includes('visible_inbox_sidebar_item_ids')\n    ) {\n      this._dirtyAttributes.pushObject('visible_inbox_sidebar_item_ids');\n    }\n  },\n\n  setSocialAccounts(collection) {\n    this.set('socialAccounts', collection);\n  },\n\n  updatePersonalSettings(options) {\n    return ajax({\n      type: 'POST',\n      url: '/ember/admins/update_personal_settings',\n      noRedirectOn401: true,\n      data: JSON.stringify(options),\n    }).then(() => {\n      return this.reload();\n    });\n  },\n\n  twoFactorQRCodeSVG: null,\n  hasTwoFactorQRCode: notEmpty('twoFactorQRCodeSVG'),\n\n  getTwoFactorQRCodeSVG() {\n    ajax({\n      type: 'GET',\n      url: '/ember/admins/two_factor_qr_code.svg',\n      dataType: 'html',\n      data: {\n        id: this.id,\n        app_id: this.current_app_id,\n      },\n    }).then(qrCode => {\n      if (!this.isDestroying) {\n        this.set('twoFactorQRCodeSVG', htmlSafe(qrCode));\n      }\n    });\n  },\n\n  getEmailAddressForApp() {\n    if (this.email_address_for_app) {\n      return this.email_address_for_app;\n    }\n    let app = getApp();\n\n    if (app.use_admin_app_email) {\n      this.set('email_address_for_app', this.email);\n      return this.email;\n    } else {\n      return this.getEmail();\n    }\n  },\n\n  getEmail() {\n    ajax({\n      type: 'GET',\n      url: '/ember/admins/email_address_for_app',\n      data: {\n        id: this.id,\n        app_id: this.current_app_id,\n      },\n    }).then(emailAddress => {\n      this.set('email_address_for_app', emailAddress.email_address);\n      return emailAddress.email_address;\n    });\n  },\n\n  sendVerificationEmail() {\n    if (this.email_verified || this.current_email_pending_verification) {\n      return;\n    }\n\n    return ajax({\n      type: 'PUT',\n      url: '/ember/admins/send_verification_email',\n      data: JSON.stringify({\n        id: this.id,\n        app_id: this.current_app_id,\n      }),\n    }).then(() => this.reload());\n  },\n\n  resendValidationEmail() {\n    return ajax({\n      type: 'PUT',\n      url: '/ember/admins/resend_verification_email',\n      data: JSON.stringify({\n        id: this.id,\n        app_id: this.current_app_id,\n      }),\n    });\n  },\n\n  resendSignupValidationEmail(queryParams) {\n    return ajax({\n      type: 'PUT',\n      url: '/ember/admins/resend_signup_verification_email',\n      data: JSON.stringify({\n        id: this.id,\n        app_id: this.current_app_id,\n        pro: queryParams.isPro,\n        solution_id: queryParams.solutionId,\n      }),\n    });\n  },\n\n  sendValidationEmailWithRetry() {\n    if (this.current_email_pending_verification) {\n      this.resendValidationEmail();\n    } else {\n      this.sendVerificationEmail();\n    }\n    this.set('canResendVerificationEmail', false);\n    runTask(this, () => this.set('canResendVerificationEmail', true), RESEND_VERIFICATION_TIMEOUT);\n  },\n\n  willDestroy() {\n    runDisposables(this);\n    this._super(...arguments);\n  },\n\n  isTwitterBot: computed('isBot', 'name', function() {\n    return this.isBot && this.name === 'Twitter bot';\n  }),\n\n  sortName: computed('is_me', 'isUnassignedAdmin', 'name', function() {\n    if (this.is_me) {\n      return '';\n    }\n    if (this.isUnassignedAdmin) {\n      return ' ';\n    }\n    return this.name;\n  }),\n\n  hasEnabledCSComponent: computed({\n    get() {\n      let csComponentState = storage.get('cs-component-enabled');\n      if (csComponentState === undefined) {\n        return false;\n      } else {\n        return csComponentState;\n      }\n    },\n    set(key, value) {\n      storage.set('cs-component-enabled', value);\n      return value;\n    },\n  }),\n\n  save() {\n    try {\n      let modelDataCacheService = containerLookup('service:modelDataCacheService');\n      modelDataCacheService.cancelRefresh('admin', this.id);\n    } catch (e) {\n      console.error(`Attempt to cancel admin refresh task failed`);\n    }\n    return this._super(...arguments);\n  },\n\n  saveOutOfOfficeSettings() {\n    let logService = containerLookup('service:logService');\n    let data = JSON.stringify({\n      app_id: this.current_app_id,\n      id: this.id,\n      reassign_conversations: this.reassign_conversations,\n      away_mode_enabled: this.away_mode_enabled,\n    });\n    if (logService) {\n      logService.log(`Before calling change away mode with ${data}`);\n    }\n    return ajax({\n      type: 'PUT',\n      url: '/ember/admins/change_away_mode',\n      data,\n    });\n  },\n\n  updateLocalCache(modelDataCacheService) {\n    if (modelDataCacheService.hasCachedItem('admin', this.id)) {\n      modelDataCacheService.updateCachedItem('admin', this.id, this.serialize());\n    }\n  },\n}).reopenClass({\n  meWithoutRedirect() {\n    return Admin.me(true);\n  },\n\n  me(noRedirect) {\n    noRedirect = noRedirect !== undefined;\n    return ajax({\n      type: 'GET',\n      cache: false,\n      url: '/ember/admins/me.json',\n      noRedirectOn401: noRedirect,\n    }).then(function(response) {\n      let store = getEmberDataStore();\n      store.pushPayload({ admin: response });\n      return store.peekRecord('admin', response.id);\n    });\n  },\n\n  fetchJSON() {\n    return ajax({\n      type: 'GET',\n      cache: false,\n      url: '/ember/admins/me.json',\n      data: { app_id: Admin._getAppId() },\n    });\n  },\n\n  _getAppId() {\n    let app = getApp();\n    if (app) {\n      return app.id;\n    }\n  },\n\n  loadJSON(data) {\n    let store = getEmberDataStore();\n    store.pushPayload({ admin: data });\n    return store.peekRecord('admin', data.id);\n  },\n\n  peekAndMaybeLoad(store, id) {\n    let admin = store.peekRecord('admin', id);\n    if (admin) {\n      return admin;\n    }\n    // Not finding an admin here either means they were deleted or they are new\n    // push a placeholder into the store\n    store.pushPayload({ admins: [{ id, name: 'Unknown Teammate' }] });\n    // Load the admin to try to fill out more information\n    store.findRecord('admin', id);\n    // syncronously return the admin we just pushed\n    return store.peekRecord('admin', id);\n  },\n});\n\nexport default Admin;\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { computed } from '@ember/object';\n\nexport default Fragment.extend({\n  conversationCount: attr('number'),\n  allDoneCount: attr('number'),\n  waitForTeamCount: attr('number'),\n  effectivenessPercentage: computed('allDoneCount', 'conversationCount', function() {\n    if (this.conversationCount === 0) {\n      return null;\n    }\n    return (this.allDoneCount / this.conversationCount) * 100;\n  }),\n  waitForTeamPercentage: computed('waitForTeamCount', 'conversationCount', function() {\n    if (this.conversationCount === 0) {\n      return null;\n    }\n    return (this.waitForTeamCount / this.conversationCount) * 100;\n  }),\n  upperConfidenceInterval: computed('conversationCount', 'allDoneCount', function() {\n    if (this.conversationCount === 0 || this.allDoneCount === 0) {\n      return 0;\n    }\n\n    let proportionResolved = this.allDoneCount / this.conversationCount;\n    let upperConfidenceInterval =\n      proportionResolved +\n      1.96 * Math.sqrt((proportionResolved * (1 - proportionResolved)) / this.conversationCount);\n    return upperConfidenceInterval;\n  }),\n  isUnderperforming: computed('conversationCount', 'upperConfidenceInterval', function() {\n    if (this.conversationCount < 10) {\n      return false;\n    } else {\n      return this.upperConfidenceInterval < 0.2;\n    }\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { not, equal, filterBy, mapBy, and, notEmpty, or, alias } from '@ember/object/computed';\nimport { fragment, fragmentArray } from 'ember-data-model-fragments/attributes';\nimport { validator, buildValidations } from 'ember-cp-validations';\nimport { isEmpty, isBlank } from '@ember/utils';\nimport { isAny } from '@intercom/embercom-core/lib/computed-properties';\n\nconst Validations = buildValidations({\n  title: validator('presence', {\n    presence: true,\n    message: 'Please enter a title.',\n    disabled: not('model.isLive'),\n  }),\n  'exampleQuestionsWithContent.length': validator('number', {\n    message: 'Please select some example questions.',\n    gt: 0,\n    disabled: not('model.isLive'),\n  }),\n  'multipartResponse.responsePartsWithContent.length': validator('number', {\n    message: 'Please compose a response.',\n    gt: 0,\n    disabled: not('model.isLive'),\n  }),\n  'multipartResponse.responsePartsWithNoContent.length': validator('number', {\n    message: \"Please make sure your response doesn't have empty text bubbles.\",\n    is: 0,\n    disabled: not('model.isLive'),\n  }),\n});\n\nexport default Model.extend(Validations, {\n  analyticsData: computed('id', function() {\n    return {\n      object: 'answer',\n      answer_id: this.id,\n      language_code: this.languageCode,\n    };\n  }),\n\n  status: attr('string'),\n  title: attr('string'),\n  createdAt: attr('date'),\n  updatedAt: attr('date'),\n  firstWentLiveAt: attr('date'),\n  lastPausedAt: attr('date'),\n  lastInterjectionAt: attr('date'),\n  stats: fragment('answers/answer-stats'),\n  fromTemplate: attr(),\n  disabledInPredictiveContext: attr('boolean'),\n  languageCode: attr('string'),\n\n  ruleset: belongsTo('matching-system/ruleset', {\n    async: false,\n  }),\n\n  selectedUserTypes: computed('ruleset.rolePredicateGroup.userPredicate.userTypes', function() {\n    return this.get('ruleset.rolePredicateGroup.userPredicate.userTypes') || [];\n  }),\n\n  isUploading: isAny('multipartResponse.responseParts', 'isUploading'),\n  isNotUploading: not('isUploading'),\n\n  displayTitle: computed('title', function() {\n    return this.title || '(untitled)';\n  }),\n\n  exampleQuestions: fragmentArray('answers/example-question'),\n  rejectedExampleQuestions: fragmentArray('answers/rejected-example-question'),\n  controlCriteria: fragmentArray('answers/control-criteria'),\n  multipartResponse: fragment('answers/multipart-response'),\n  isThisOrRulesetDirty: or('hasDirtyAttributes', 'ruleset.hasDirtyAttributes'),\n\n  isDraft: equal('status', 'draft'),\n  isLive: equal('status', 'live'),\n  isPaused: equal('status', 'paused'),\n\n  titleIsComplete: computed('title', function() {\n    return !isBlank(this.title);\n  }),\n  languageIsComplete: computed('languageCode', function() {\n    return !isBlank(this.languageCode);\n  }),\n  exampleQuestionsIsComplete: alias('hasExampleQuestionsWithContent'),\n  hasBeenUpdated: computed('createdAt', 'updatedAt', function() {\n    return this.updatedAt.getTime() !== this.createdAt.getTime();\n  }),\n\n  answerCanBeSetLive: and('multipartResponse.isComplete', 'exampleQuestionsIsComplete'),\n\n  hasContent: or(\n    'titleIsComplete',\n    'multipartResponse.hasPartsWithContent',\n    'hasExampleQuestionsWithContent',\n  ),\n\n  hasTitle: notEmpty('title'),\n\n  exampleQuestionsWithContent: filterBy('exampleQuestions', 'hasContent', true),\n  hasExampleQuestionsWithContent: notEmpty('exampleQuestionsWithContent'),\n\n  exampleQuestionSourceConversationIds: computed(\n    'exampleQuestions.@each.sourceConversationId',\n    function() {\n      return this.exampleQuestions\n        .map(exampleQuestion => exampleQuestion.sourceConversationId)\n        .filter(Boolean);\n    },\n  ),\n\n  triggerWordsList: mapBy('controlCriteria', 'text'),\n  triggerWordsCommaSeparatedList: computed('triggerWordsList.[]', function() {\n    return this.triggerWordsList.join(', ');\n  }),\n  hasTriggerWords: notEmpty('triggerWordsList'),\n\n  suggestedCluster: null,\n\n  setControlCriteriaFromTriggerWordsCommaSeparatedList(triggerWordsCommaSeparatedList) {\n    let newTriggerWords = triggerWordsCommaSeparatedList\n      .split(',')\n      .map(text => text.trim().replace(/^[\"']+|[\"']+$/g, ''))\n      .filter(text => !isEmpty(text));\n    this.set(\n      'controlCriteria',\n      newTriggerWords.map(text => ({ text })),\n    );\n  },\n\n  applySuggestedCluster(cluster) {\n    let archetype = cluster.archetype;\n    this.exampleQuestions.createFragment({\n      text: archetype,\n      addedFrom: 'cluster_example',\n    });\n    if (!this.hasTitle) {\n      this.set('title', archetype);\n    }\n    this.set('suggestedCluster', cluster);\n    this.set('languageCode', cluster.languageAlpha2);\n  },\n\n  applyExample(cluster, examples) {\n    this.set('languageCode', cluster.languageAlpha2);\n    this.set('title', examples[0].text);\n\n    let exampleQuestions = this.exampleQuestions;\n    examples.forEach(function(example) {\n      exampleQuestions.createFragment({\n        identifier: example.id,\n        text: example.text,\n        addedFrom: 'cluster_example',\n      });\n    });\n  },\n\n  save() {\n    return this._super()\n      .then(() => {\n        if (this.suggestedCluster) {\n          this.suggestedCluster.unloadRecord();\n        }\n      })\n      .then(() => {\n        // Until we resolve predicateGroup and rolePredicateGroup are not marked as not dirty\n        // after ruleset is deserialized, we have to manually call rollbackAttributes on the ruleset.\n        // It does not really rollback, just cleans the state.\n        // Remove after https://github.com/intercom/intercom/issues/151064 gets closed.\n        if (this.ruleset) {\n          this.ruleset.rollbackAttributes();\n        }\n        return this;\n      })\n      .then(() => this);\n  },\n\n  rollbackAttributes() {\n    this._super();\n    this.ruleset.rollbackAttributes();\n  },\n});\n","import Model, { attr, hasMany, belongsTo } from '@ember-data/model';\n\nexport default class Cluster extends Model {\n  @belongsTo('answers/clusters/example', { async: false }) archetype;\n  @hasMany('answers/clusters/example', { async: false }) examples;\n  @attr('string') languageAlpha2;\n\n  get analyticsData() {\n    return {\n      object: 'suggested_answer_cluster',\n      language_code: this.languageAlpha2,\n      example_count: this.examples.length,\n    };\n  }\n}\n","import Model, { attr } from '@ember-data/model';\n\nexport default class Cluster extends Model {\n  @attr('string') text;\n  @attr('date') conversationCreatedAt;\n  @attr('number') similarityToArchetype;\n}\n","import { attr } from '@ember-data/model';\nimport { empty } from '@ember/object/computed';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  text: attr('string'),\n  isEmpty: empty('text'),\n});\n","import { filterBy, notEmpty } from '@ember/object/computed';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\n\nexport default Fragment.extend({\n  words: fragmentArray('answers/control-word'),\n\n  emptyWords: filterBy('words', 'isEmpty', true),\n  hasMissingWords: notEmpty('emptyWords'),\n});\n","import { attr } from '@ember-data/model';\nimport { empty } from '@ember/object/computed';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  text: attr('string'),\n  isEmpty: empty('text'),\n});\n","import Fragment from 'ember-data-model-fragments/fragment';\nimport { attr } from '@ember-data/model';\nimport { tracked } from '@glimmer/tracking';\nimport { dependentKeyCompat } from '@ember/object/compat';\n\nexport default class ExampleQuestion extends Fragment {\n  @attr('string') text;\n  @attr('string') identifier;\n  @attr('string') addedFrom;\n\n  @tracked isAdded = false;\n\n  get hasContent() {\n    return this.text?.length > 0;\n  }\n\n  @dependentKeyCompat\n  get sourceConversationId() {\n    // we'll likely move this to the server in the near future.\n    // for now, this uses the identifier to determine if there is a source conversation id\n    // identifier can take these forms:\n    //  6-123456789 - where 123456789 is the conversation id\n    //  zendesk-* - imported from zendesk\n    //  <null> - manually added\n    let parts = this.identifier?.split('-');\n    if (parts?.length === 2) {\n      if (Number.isInteger(parseInt(parts[0], 10))) {\n        return parts[1];\n      }\n    }\n  }\n}\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  identifier: attr('string'),\n  text: attr('string'),\n});\n","import { filterBy, notEmpty, empty, and } from '@ember/object/computed';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\n\nexport default Fragment.extend({\n  responseParts: fragmentArray('answers/response-part', {\n    polymorphic: true,\n    typeKey: 'embercomtype',\n  }),\n\n  responsePartsWithContent: filterBy('responseParts', 'hasContent', true),\n  hasPartsWithContent: notEmpty('responsePartsWithContent'),\n\n  responsePartsWithNoContent: filterBy('responseParts', 'hasContent', false),\n  hasNoPartsWithNoContent: empty('responsePartsWithNoContent'),\n\n  isComplete: and('hasPartsWithContent', 'hasNoPartsWithNoContent'),\n\n  removeEmptyResponseParts() {\n    let partsToRemove = this.responseParts.filter(part => part.hasNoContent);\n    partsToRemove.forEach(part => {\n      this.responseParts.removeFragment(part);\n    });\n  },\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  text: attr('string'),\n  identifier: attr('string'),\n});\n","import { attr } from '@ember-data/model';\nimport ResponsePart from './response-part';\nimport { notEmpty } from '@ember/object/computed';\n\nexport default ResponsePart.extend({\n  previewCanvas: attr(),\n  previewMessengerCardUri: attr(),\n  cardCreationParams: attr(),\n\n  hasContent: notEmpty('cardCreationParams'),\n  isMessengerApp: true,\n\n  type: attr('string', { defaultValue: 'messenger-card' }),\n});\n","import { attr } from '@ember-data/model';\nimport ResponsePart from './response-part';\nimport { equal, readOnly, and, not } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport MF from 'ember-data-model-fragments';\nimport { isAny } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default ResponsePart.extend({\n  blocks: MF.fragmentArray('common/blocks/block', { polymorphic: true, typeKey: 'modelKey' }),\n\n  jsonBlocks: computed('blocks.[]', function() {\n    return this.blocks.serialize();\n  }),\n  hasContent: isAny('blocks', 'hasContent'),\n\n  // for backward compatibility before response-part-messenger-card\n  canvasJSON: readOnly('jsonBlocks.firstObject.canvas'),\n  previewCanvas: readOnly('canvasJSON'),\n  isMessengerCard: equal('blocks.firstObject.type', 'messengerCard'),\n  isTourCard: and('isMessengerCard', 'blocks.firstObject.isTourCard'),\n  isNotTourCard: not('isTourCard'),\n\n  isMessengerApp: and('isMessengerCard', 'isNotTourCard'),\n  type: attr('string', { defaultValue: 'text' }),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { not } from '@ember/object/computed';\n\nexport default Fragment.extend({\n  type: attr('string'),\n  embercomtype: attr('string'),\n\n  hasContent: false,\n  hasNoContent: not('hasContent'),\n  isMessengerApp: false,\n\n  initiallyOpenInserter: null,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  archetype: attr('string'),\n  questionCount: attr('number'),\n  languageAlpha2: attr('string'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject, { getProperties } from '@ember/object';\nimport {\n  union,\n  gte,\n  empty,\n  and,\n  or,\n  not,\n  alias,\n  filterBy,\n  notEmpty,\n  mapBy,\n} from '@ember/object/computed';\nimport { A } from '@ember/array';\nimport {\n  filterByProperty,\n  rejectByProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\n\nexport const SUGGESTED_EXAMPLE_SELECTION_COUNT = 5;\nexport const EXAMPLES_COMPLETED_THRESHOLD = 10;\n\nfunction exampleEqual(exampleA, exampleB) {\n  return exampleA.identifier === exampleB.identifier && exampleA.text === exampleB.text;\n}\n\nfunction sanitizeExample(example) {\n  return getProperties(example, 'identifier', 'text');\n}\n\nexport default EmberObject.extend({\n  isNewFromSuggestion: false,\n\n  recentlyRejectedExamples: undefined,\n  currentlyPresentedExamples: undefined,\n  rejectedExamples: undefined,\n  removedExamples: undefined,\n  selectedExamplesWithSource: undefined,\n  currentSearchNumber: 1,\n\n  completedThreshold: EXAMPLES_COMPLETED_THRESHOLD,\n\n  addedFromSearchResultsWithSource: filterBy(\n    'selectedExamplesWithSource',\n    'addedFrom',\n    'search_results',\n  ),\n  addedFromCurrentSearchWithSource: filterByProperty(\n    'addedFromSearchResultsWithSource',\n    'searchNumber',\n    'currentSearchNumber',\n  ),\n  addedFromPreviousSearchWithSource: rejectByProperty(\n    'addedFromSearchResultsWithSource',\n    'searchNumber',\n    'currentSearchNumber',\n  ),\n\n  addedFromSuggestion: filterBy('selectedExamplesWithSource', 'addedFrom', 'suggestion'),\n  addedFromSuggestionCurrentSearch: filterByProperty(\n    'addedFromSuggestion',\n    'searchNumber',\n    'currentSearchNumber',\n  ),\n  addedExamplesFromCurrentSearchOrSuggestion: union(\n    'addedFromSuggestionCurrentSearch',\n    'addedFromCurrentSearchWithSource',\n  ),\n\n  addedExamplesFromCurrentSearch: mapBy('addedFromCurrentSearchWithSource', 'example'),\n\n  presentedExamplesEmpty: empty('currentlyPresentedExamples'),\n  isPresentingExamples: not('presentedExamplesEmpty'),\n\n  removedAndRejectedExamples: union('rejectedExamples', 'removedExamples'),\n\n  hasAddedExamples: notEmpty('addedFromSearchResultsWithSource'),\n  hasNotAddedExamples: not('hasAddedExamples'),\n  hasAddedExamplesInOtherSearch: notEmpty('addedFromPreviousSearchWithSource'),\n  hasNotAddedExamplesInOtherSearch: not('hasAddedExamplesInOtherSearch'),\n\n  hasAddedAllExamples: and('presentedExamplesEmpty', 'hasAddedExamples'),\n\n  hasAddedThresholdExamples: gte(\n    'addedExamplesFromCurrentSearchOrSuggestion.length',\n    SUGGESTED_EXAMPLE_SELECTION_COUNT,\n  ),\n  hasAddedThresholdExamplesOrAll: or('hasAddedAllExamples', 'hasAddedThresholdExamples'),\n  hasNotAddedThresholdExamplesOrAll: not('hasAddedThresholdExamplesOrAll'),\n\n  isCompleted: gte('selectedExamplesWithSource.length', EXAMPLES_COMPLETED_THRESHOLD),\n  isNotCompleted: not('isCompleted'),\n\n  tooltipCompleted: alias('isCompleted'),\n  tooltipTryNewSearch: and('isNotCompleted', 'hasAddedThresholdExamplesOrAll'),\n  initiatedFromClusterBeta: and(\n    'isNewFromCluster',\n    'isNotCompleted',\n    'hasNotAddedThresholdExamplesOrAll',\n    'hasNotAddedExamplesInOtherSearch',\n    'presentedExamplesEmpty',\n  ),\n\n  tooltipFirstSearch: and(\n    'isNotCompleted',\n    'hasNotAddedThresholdExamplesOrAll',\n    'isPresentingExamples',\n    'hasNotAddedExamples',\n  ),\n  tooltipFirstSearchAddMore: and(\n    'isNotCompleted',\n    'hasNotAddedThresholdExamplesOrAll',\n    'isPresentingExamples',\n    'hasAddedExamples',\n    'hasNotAddedExamplesInOtherSearch',\n  ),\n  tooltipSubsequentSearch: and(\n    'isNotCompleted',\n    'hasNotAddedThresholdExamplesOrAll',\n    'isPresentingExamples',\n    'hasAddedExamples',\n    'hasAddedExamplesInOtherSearch',\n  ),\n\n  init() {\n    this._super(...arguments);\n\n    this.set('currentSearchNumber', 1);\n\n    this.set('recentlyRejectedExamples', A([]));\n    this.set('currentlyPresentedExamples', A([]));\n    this.set('rejectedExamples', A([]));\n    this.set('removedExamples', A([]));\n    this.set('selectedExamplesWithSource', A([]));\n\n    if (this.answer !== undefined) {\n      let source = this.isNewFromSuggestion ? 'suggestion' : 'loaded_from_answer';\n      this.setSelectedExamples(this.get('answer.exampleQuestions'), source);\n    }\n  },\n\n  addRecentExample(exampleQuestion, addedFrom) {\n    let selectedExample = {\n      example: sanitizeExample(exampleQuestion),\n      addedFrom: addedFrom || 'search_results',\n      searchNumber: this.currentSearchNumber,\n    };\n\n    this.selectedExamplesWithSource.pushObject(selectedExample);\n  },\n\n  removeExampleQuestion(exampleQuestion) {\n    let sanitizedExample = sanitizeExample(exampleQuestion);\n    this.removedExamples.pushObject(sanitizedExample);\n\n    let selectedExampleItem = this.selectedExamplesWithSource.find(selectedItem =>\n      exampleEqual(selectedItem.example, sanitizedExample),\n    );\n    this.selectedExamplesWithSource.removeObject(selectedExampleItem);\n  },\n\n  rejectExampleQuestion(exampleQuestion) {\n    let sanitizedExample = sanitizeExample(exampleQuestion);\n    this.rejectedExamples.pushObject(sanitizedExample);\n    this.recentlyRejectedExamples.pushObject(sanitizedExample);\n  },\n\n  setCurrentlyPresentedExamples(exampleQuestions) {\n    this.set('currentlyPresentedExamples', exampleQuestions);\n  },\n\n  newSearchPerformed() {\n    this.recentlyRejectedExamples.clear();\n    this.currentlyPresentedExamples.clear();\n    this.removedExamples.clear();\n    this.incrementProperty('currentSearchNumber');\n  },\n\n  setSelectedExamples(selectedExamples, addedFrom) {\n    this.set('selectedExamplesWithSource', A([]));\n    selectedExamples.forEach(example =>\n      this.addRecentExample(example, addedFrom || 'loaded_from_answer'),\n    );\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  appId: attr('string'),\n  capacityLimit: attr('number'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { empty, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { fragment } from 'ember-data-model-fragments/attributes';\n\nexport const RETRIES = 2;\nexport const ERROR_COMPONENT = {\n  type: 'text',\n  style: 'error',\n  text: 'Messenger App couldn’t be loaded',\n};\n\nexport default Model.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  content: fragment('app-framework/component-content'),\n  isLive: empty('content'),\n  storedData: attr(),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  components: attr(),\n  version: attr('string'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport ajax from 'embercom/lib/ajax';\n\nexport default EmberObject.extend({\n  appName: undefined,\n  addOn: null,\n  companySize: 'Unknown',\n  department: 'Unknown',\n  email: undefined,\n  name: undefined,\n  password: undefined,\n  welcomeMessageBody: undefined,\n  baseColor: undefined,\n  avatar: undefined,\n  termsOfServiceAccepted: false,\n  userId: null,\n\n  emailSubmissionId: undefined,\n  pageviewId: undefined,\n  recaptchaToken: undefined,\n  locale: undefined,\n  operatorPage: null,\n  securityResearcher: false,\n  viaSingleSignOn: null,\n  solutionId: null,\n  purchaseExperience: null,\n  mobile: false,\n  tablet: false,\n\n  adBlockerDetected: false,\n  newAppFeatureFlags: null,\n\n  signUpWithSubscription: false,\n  pricingModel: null,\n  planIds: null,\n  couponCode: null,\n  creditCardToken: null,\n  countryCode: null,\n  stateCode: null,\n  perProductPricingFlow: null,\n  existingAdmin: null,\n  isPro: false,\n  requireVerification: false,\n  talon: '{\"version\": 5, \"status\": -1}',\n\n  skipSelfServeBlocking: false,\n\n  createAppWithAdminAndSignup() {\n    let data = {\n      admin: {\n        name: this.name,\n        email: this.email,\n        password: this.password,\n        terms_of_service: this.termsOfServiceAccepted,\n        department: this.department,\n      },\n      email_submission: {\n        id: this.emailSubmissionId,\n      },\n      pageview: {\n        id: this.pageviewId,\n      },\n      recaptcha_token: this.recaptchaToken,\n      app: {\n        name: this.appName,\n        company_size: this.companySize,\n        base_color: this.baseColor,\n        security_researcher: this.securityResearcher,\n        solution_id: this.solutionId,\n        pro: this.isPro,\n        require_verification: this.requireVerification,\n        talon: this.talon,\n      },\n      sign_up_with_subscription: this.signUpWithSubscription,\n      subscription: {\n        pricing_model: this.pricingModel,\n        plan_ids: this.planIds,\n        coupon_code: this.couponCode,\n        credit_card_token: this.creditCardToken,\n        country_code: this.countryCode,\n        input_country_code: this.countryCode,\n        state_code: this.stateCode,\n      },\n      user_id: this.userId,\n      sign_up_locale: this.locale,\n      untrackable: this.adBlockerDetected,\n      new_app_feature_flags: this.newAppFeatureFlags,\n      welcome_message_body: this.welcomeMessageBody,\n      purchase_experience: this.purchaseExperience,\n      intent_survey: this.intentSurvey,\n      mobile: this.mobile,\n      tablet: this.tablet,\n      early_stage: this.earlyStage,\n      product_tours: this.productTours,\n      add_on: this.addOn,\n      skip_self_serve_blocking: this.skipSelfServeBlocking,\n    };\n    let params = {\n      url: '/ember/signups',\n      type: 'post',\n      contentType: 'application/json',\n      data: JSON.stringify(data),\n    };\n    return ajax(params);\n  },\n});\n","import Model, { attr } from '@ember-data/model';\n\nexport default class AppPackageInstallUsageModel extends Model {\n  @attr('array') adminsUsingAppInInboxSidebar;\n  @attr('array') answers;\n  @attr('boolean') conversations;\n  @attr('array') customBots;\n  @attr('array') messages;\n  @attr('boolean') messengerHome;\n  @attr('boolean') operatorQualification;\n}\n","import Model, { attr } from '@ember-data/model';\n\nexport default class AppSignInConfiguration extends Model {\n  @attr('string') appName;\n  @attr('string') samlAuthId;\n  @attr('boolean') signedInWithAuthorizedMethod;\n  @attr() authorizedSignInMethods;\n}\n","import Model, { attr } from '@ember-data/model';\n\nexport default class AppSsoDomain extends Model {\n  @attr('string') domain;\n  @attr('string') verificationDomainName;\n  @attr('string') verificationDomainValue;\n  @attr('string') state;\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-volatile-computed-properties */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/use-ember-data-rfc-395-imports */\nimport Model, { attr, hasMany } from '@ember-data/model';\nimport { computed, observer } from '@ember/object';\nimport {\n  alias,\n  and,\n  bool,\n  equal,\n  filterBy,\n  mapBy,\n  not,\n  notEmpty,\n  or,\n  readOnly,\n  reads,\n} from '@ember/object/computed';\nimport { on } from '@ember/object/evented';\nimport { throttle } from '@ember/runloop';\nimport { isBlank, isEmpty } from '@ember/utils';\nimport { task } from 'ember-concurrency';\nimport DS from 'ember-data';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport { BROWSER_SUPPORTS_TOUCH } from 'embercom/lib/screen-awareness';\nimport {\n  findBy,\n  isAny,\n  isEvery,\n  rejectBy,\n  subtractProperties,\n  templateString,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport ENV from 'embercom/config/environment';\nimport ajax from 'embercom/lib/ajax';\nimport {\n  ANSWER_BOT_ID,\n  ARTICLES_ID,\n  CORE_ID,\n  INBOX_ID,\n  LIVE_CHAT_SALES_SOLUTION_ID,\n  MESSAGES_ID,\n  OPERATOR_ID,\n  PRODUCT_TOURS_ID,\n  RETAIN_AND_SUPPORT_SOLUTION_ID,\n  CORE_SOLUTION_IDS,\n  PRODUCTS,\n} from 'embercom/lib/billing';\nimport AppColor from 'embercom/lib/color';\nimport containerLookup, { getEmberDataStore } from 'embercom/lib/container-lookup';\nimport IntercomradesProductsOverride from 'embercom/lib/intercomrades-products-override';\nimport PromiseArray from 'embercom/lib/promise-array';\nimport PromiseSortableArray from 'embercom/lib/promise-sortable-array';\nimport { formattedTimezone } from 'embercom/lib/time-zone';\nimport solutionsFixture from 'embercom/lib/solutions';\nimport EmailTemplate from 'embercom/models/email-template';\nimport Translations from 'embercom/models/translations';\nimport moment from 'moment';\nimport { all } from 'rsvp';\nimport FeatureFlags from './mixins/feature-flags';\nimport { capitalize } from '@ember/string';\n\nconst OWNER_ID = '-1';\n\nlet App = Model.extend(FeatureFlags, {\n  customer_id: attr(),\n  customerId: readOnly('customer_id'),\n  // Fake relationship, manually reloaded via refreshCustomer function in\n  // the customer-service\n  customer: null,\n\n  created_at: attr(),\n  name: attr(),\n  people_count: attr(),\n  anonymous_count: attr(),\n  company_count: attr(),\n  article_count: attr(),\n  companies_activated: attr(),\n  companies_enabled: attr(),\n  open_message_thread_count: attr(),\n  admin_open_message_thread_count: attr(),\n\n  base_color: attr(),\n  is_test_app: attr(),\n  isTestApp: alias('is_test_app'),\n  isDeveloperWorkspace: alias('developer_workspace'),\n  isNotDeveloperWorkspace: not('isDeveloperWorkspace'),\n  test_app_id: attr(),\n  commentPlaceholder: attr(),\n  defaultAssigneeId: attr(),\n  hideAllUnsubscribeLinks: attr(),\n  is_activated: attr(),\n  isActivated: readOnly('is_activated'),\n  is_frozen_for_non_payment: attr(),\n  isFrozenForNonPayment: readOnly('is_frozen_for_non_payment'),\n  installed_at: attr(),\n  parent_app_installed_at: attr(),\n  parent_app_id: attr(),\n  show_powered_by: attr(),\n  company_size: attr(),\n  has_mobile_integration: attr(),\n  has_active_github_integration: attr(),\n  has_enabled_github_integration: attr(),\n  has_salesforce_integration: attr(),\n  has_marketo_enrichment_integration: attr(),\n  has_hubspot_integration: attr(),\n  has_pipedrive_integration: attr(),\n  has_started_trial: attr(),\n  has_active_trials: attr(),\n  early_stage_partner: attr(),\n  crm_profiles: attr(),\n  primary_user_source_is_import_type: attr(),\n  unsubscribe_link_recipient_threshold: attr(),\n  impersonation_session: attr(),\n  awaiting_email_approval: attr(),\n  invitingPermitted: attr(),\n  restricted_to_engaged_only: attr(),\n  email_rate_limited: attr(),\n  android_devices: attr(),\n  android_os_versions: attr(),\n  android_app_versions: attr(),\n  ios_app_versions: attr(),\n  trialLengthInDays: attr('number', { key: 'trial_length_in_days' }),\n  inbox_email: attr(),\n  unread_mention_threads: attr(),\n  content_events_config: attr(),\n  android_sdk_version: attr(),\n  ios_sdk_version: attr(),\n\n  // Previously the API secret was serialized as an attributes on the app.\n  // This is now fetched/set asynchronously through the `fetchAPISecret` task.\n  api_secret: undefined,\n  api_secrets: undefined,\n\n  primary_user_source: attr(),\n  email_sender_domain: attr(),\n  default_email_template: attr(),\n  default_email_template_id: attr(),\n  use_admin_app_email: attr(),\n  locale: attr(),\n  timezone: attr(),\n  authorized_sign_in_methods: attr(),\n  identity_verified: attr(),\n  identityVerified: alias('identity_verified'),\n  has_active_subscription: attr(),\n  last_interested_in_user_source: attr(),\n  first_identified_request_at: attr(),\n  first_anonymous_request_at: attr(),\n  signed_up_with_solution_id: attr(),\n  signedUpWithSolutionId: alias('signed_up_with_solution_id'),\n  companyCount: alias('company_count'),\n  developer_workspace: attr(),\n  can_use_messenger: attr(),\n  canUseMessenger: alias('can_use_messenger'),\n  hasActiveSubscription: alias('has_active_subscription'),\n  hasNoActiveSubscription: not('hasActiveSubscription'),\n  isOnFree: and('canUseFree', 'hasNoActiveSubscription'),\n  isNotOnFree: not('isOnFree'),\n  hasTrialAvailable: isAny('products', 'trialable'),\n  earlyStagePartner: alias('early_stage_partner'),\n  valid_early_stage_applicant: attr(),\n  valid_early_stage_applicant_until: attr(),\n  early_stage_application_accepted: attr(),\n  earlyStageApplicationAccepted: readOnly('early_stage_application_accepted'),\n  hasRelationshipManager: undefined,\n  teammate_conversation_attachments_enabled: attr(),\n  teammateConversationAttachmentsEnabled: alias('teammate_conversation_attachments_enabled'),\n  teammateConversationAttachmentsNotEnabled: not('teammateConversationAttachmentsEnabled'),\n  teammate_conversation_gifs_enabled: attr(),\n  teammateConversationGifsEnabled: alias('teammate_conversation_gifs_enabled'),\n  teammateConversationGifsNotEnabled: not('teammateConversationGifsEnabled'),\n  isNotActivated: not('isActivated'),\n  activeProducts: filterBy('products', 'active', true),\n\n  validEarlyStageApplicantUntil: computed('valid_early_stage_applicant_until', function() {\n    let validUntil = moment(this.valid_early_stage_applicant_until);\n    if (!validUntil.isValid()) {\n      return null;\n    }\n    return validUntil.toDate();\n  }),\n\n  validEarlyStageApplicant: computed(\n    'valid_early_stage_applicant',\n    'valid_early_stage_applicant_until',\n    function() {\n      if (this.validEarlyStageApplicantUntil && this.validEarlyStageApplicantUntil < new Date()) {\n        return false;\n      }\n      return this.valid_early_stage_applicant;\n    },\n  ),\n\n  signedUpWithSolution: computed('signedUpWithSolutionId', function() {\n    let id = this.signedUpWithSolutionId;\n\n    if (isEmpty(id)) {\n      return null;\n    }\n\n    return this.solutions.findBy('id', id.toString());\n  }),\n\n  defaultEmailTemplate: computed('default_email_template_id', function() {\n    return DS.PromiseObject.create({\n      promise: this.store.findRecord('email-template', this.default_email_template_id),\n    });\n  }),\n  products: hasMany('product', {\n    defaultValue: () => [],\n  }),\n\n  segments: hasMany('segment', { defaultValue: () => [] }),\n\n  // Solutions will eventually be returned from billing. Until then, we will use this fixture.\n  solutions: computed(function() {\n    let existingSolutions = this.store.peekAll('solution');\n\n    if (!isEmpty(existingSolutions)) {\n      return existingSolutions;\n    }\n\n    this.store.pushPayload('solution', { solutions: solutionsFixture });\n\n    return this.store.peekAll('solution');\n  }).volatile(),\n\n  productsIntercomradesOverride: on(\n    'init',\n    observer({\n      dependentKeys: ['products.[]'],\n\n      fn() {\n        if (ENV.environment === 'test') {\n          return;\n        } // This will break horribly otherwise :(\n\n        let products = this.products;\n        if (isBlank(products)) {\n          return;\n        }\n\n        if (IntercomradesProductsOverride.isEnabled(this.id)) {\n          IntercomradesProductsOverride.updateActiveProductsAndPlans(this, products);\n        }\n      },\n\n      sync: true,\n    }),\n  ),\n\n  webUserSources: filterBy('userSources', 'isMobile', false),\n  hasExplicitWebUserSources: notEmpty('webUserSources'),\n\n  hasWebUserSource: or('hasAnyInstalledAtDate', 'hasExplicitWebUserSources'),\n\n  installedAtDate: or('installed_at', 'parent_app_installed_at'),\n  hasAnyInstalledAtDate: bool('installedAtDate'),\n  isNotImpersonationSession: not('impersonation_session'),\n  companiesActive: and('companies_activated', 'companies_enabled'),\n\n  conversationsRoute: ternaryToProperty(\n    'currentAdminHasInboxAccess',\n    'inboxBaseRoute',\n    'feedRoute',\n  ),\n\n  conversationRoute: ternaryToProperty(\n    'currentAdminHasInboxAccess',\n    'inboxConversationRoute',\n    'feedConversationRoute',\n  ),\n\n  defaultPostSignupRoute: readOnly('intentSurveyRoute'),\n\n  intentSurveyRoute: 'apps.app.get-started',\n  platformGuideRoute: 'apps.app.platform.guide',\n  onboardingHomeRoute: 'apps.app.home',\n\n  // use redirectTo query param to determine inbox or platform view\n  conversationRedirectRoute: 'apps.app.conversation',\n\n  inboxRoute: 'apps.app.inbox',\n  inboxBaseRoute: 'apps.app.inbox.inbox',\n  inboxConversationRoute: 'apps.app.inbox.inbox.conversation',\n  inboxRedirectConversationRoute: 'apps.app.inbox.inbox.redirect.conversation',\n  inboxConversationsRoute: 'apps.app.inbox.inbox.conversations',\n  inboxConversationsConversationRoute: 'apps.app.inbox.inbox.conversations.conversation',\n  feedRoute: 'apps.app.feed',\n  feedConversationRoute: 'apps.app.feed.conversation',\n\n  unreadCount: computed(\n    'inboxIsActive',\n    'unread_mention_threads',\n    'admin_open_message_thread_count',\n    'open_message_thread_count',\n    function() {\n      let count;\n\n      if (this.inboxIsActive) {\n        count = this.unread_mention_threads + this.admin_open_message_thread_count;\n      } else {\n        count = this.open_message_thread_count;\n      }\n\n      return count > 99 ? '99+' : count;\n    },\n  ),\n\n  userSources: computed(function() {\n    return PromiseArray.create({\n      promise: this.store.findAll('user-source'),\n    });\n  }),\n\n  refreshUserSources() {\n    return this.store.findAll('user-source').then(userSources => {\n      this.set('userSources', userSources);\n      return userSources;\n    });\n  },\n\n  insertionStats: {\n    count: -1,\n    rate: -1,\n    hasContent: false,\n  },\n\n  _queryInsertionStats() {\n    return ajax({\n      url: '/ember/articles/insertions',\n      data: { app_id: this.id },\n    }).catch(function() {\n      return {\n        insertions: -1,\n        insertion_rate: -1,\n      };\n    });\n  },\n\n  loadInsertionStats: task(function*() {\n    let response = yield this._queryInsertionStats();\n    this.set('insertionStats', {\n      count: response.insertions,\n      rate: response.insertion_rate,\n      hasContent: response.has_insertable_content,\n    });\n  }).drop(),\n\n  appLoadedOnTouchScreenDevice: BROWSER_SUPPORTS_TOUCH,\n  appLoadedOnNormalScreenDevice: not('appLoadedOnTouchScreenDevice'),\n\n  defaultAssignee: computed('defaultAssigneeId', function() {\n    let assigneeId = this.defaultAssigneeIdIsNotEmpty ? this.defaultAssigneeId : 0;\n    return this.admins.findBy('id', assigneeId.toString());\n  }),\n\n  defaultAssigneeIdIsNotEmpty: notEmpty('defaultAssigneeId'),\n  hasDefaultAssignee: not('defaultAssigneeIsUnassigned'),\n  defaultAssigneeIsUnassigned: equal('defaultAssignee.id', '0'),\n  peopleCount: alias('people_count'),\n  anonymousCount: alias('anonymous_count'),\n  userCount: subtractProperties('peopleCount', 'anonymousCount'),\n  articleCount: alias('article_count'),\n  messagesProduct: findBy('products', 'id', MESSAGES_ID),\n  featureIds: mapBy('features', 'id'),\n  messagesIsActive: readOnly('canUseMessages'),\n  articlesIsActive: readOnly('canUseArticles'),\n  inboxIsActive: or('canUseInbox', 'canUseFree'),\n  articlesProduct: findBy('products', 'id', ARTICLES_ID),\n  inboxProduct: findBy('products', 'id', INBOX_ID),\n  customBotsProduct: findBy('products', 'id', OPERATOR_ID),\n  answerBotProduct: findBy('products', 'id', ANSWER_BOT_ID),\n  productToursProduct: findBy('products', 'id', PRODUCT_TOURS_ID),\n  coreProduct: findBy('products', 'id', CORE_ID),\n  liveChatSalesSolution: findBy('solutions', 'id', LIVE_CHAT_SALES_SOLUTION_ID),\n  articlesIsNotActive: not('articlesProduct.active'),\n  inboxIsNotActive: not('inboxIsActive'),\n  customBotsIsActive: readOnly('customBotsProduct.active'),\n  customBotsIsNotActive: not('customBotsProduct.active'),\n  answerBotIsActive: readOnly('answerBotProduct.active'),\n  answerBotIsNotActive: not('answerBotIsActive'),\n  onlyOneProductIsActive: equal('activeProducts.length', 1),\n  onlyArticlesIsActive: and('onlyOneProductIsActive', 'articlesProduct.active'),\n  onlyInboxIsActive: and('onlyOneProductIsActive', 'inboxProduct.active'),\n\n  activeProductByPlanId(planId) {\n    return this.activeProducts.find(product => {\n      return product.get('plans').findBy('id', planId);\n    });\n  },\n\n  productWithVbpSupport(productId) {\n    if (!this.usesVbp) {\n      this.products.findBy('id', productId);\n    }\n\n    let product = PRODUCTS[productId];\n    product.active = this.hasActiveSubscription;\n    product.id = productId;\n    product.name = capitalize(product.key);\n\n    return product;\n  },\n\n  articlesProductWithVbpSupport: computed('productWithVbpSupport', function() {\n    return this.productWithVbpSupport(ARTICLES_ID);\n  }),\n\n  agentCount: computed(\n    'activePricingMetrics.[]',\n    'humanAdmins',\n    'adminsWithInboxAccess',\n    function() {\n      if (this.activePricingMetrics.includes('latest_daily_admin_count')) {\n        return this.humanAdmins.length;\n      } else if (this.activePricingMetrics.includes('inbox_seats')) {\n        return this.adminsWithInboxAccess.length;\n      }\n      return 0;\n    },\n  ),\n\n  activePricingMetrics: mapBy('activeProducts', 'pricingMetric'),\n  canSeeCostChangeCard: computed(\n    'activePricingMetrics.[]',\n    'features.[]',\n    'localStorageFeatures.[]',\n    function() {\n      return (\n        this.canUseFeature('team-people-show-seat-cost-change-card') &&\n        this.activePricingMetrics.includes('latest_daily_admin_count')\n      );\n    },\n  ),\n\n  pricingMetrics: mapBy('products', 'pricingMetric'),\n  usesVbp: computed('pricingMetrics.[]', 'features.[]', function() {\n    return (\n      this.canUseFeature('team-people-show-seat-cost-change-card') &&\n      this.pricingMetrics.includes('latest_daily_admin_count')\n    );\n  }),\n\n  signedUpWithSales: computed('signedUpWithSolutionId', function() {\n    return parseInt(LIVE_CHAT_SALES_SOLUTION_ID, 10) === this.signedUpWithSolutionId;\n  }),\n\n  signedUpWithSupportRetain: computed('signedUpWithSolutionId', function() {\n    return parseInt(RETAIN_AND_SUPPORT_SOLUTION_ID, 10) === this.signedUpWithSolutionId;\n  }),\n\n  sdkApps: hasMany('sdk-app', { defaultValue: () => [] }),\n\n  iosSdkApps: filterBy('sdkApps', 'isIOS', true),\n  iosSdkApiKey: reads('iosSdkApps.firstObject.api_key'),\n  iosSdkApiKeyIsActivated: reads('iosSdkApps.firstObject.is_activated'),\n  androidSdkApps: filterBy('sdkApps', 'isAndroid', true),\n  androidSdkApiKey: reads('androidSdkApps.firstObject.api_key'),\n  androidSdkApiKeyIsActivated: reads('androidSdkApps.firstObject.is_activated'),\n  hasIOSSdk: notEmpty('iosSdkApps'),\n  hasAndroidSdk: notEmpty('androidSdkApps'),\n  onlyHasAndroidSdk: isEvery('sdkApps', 'isAndroid'),\n  hasMobileIntegration: readOnly('has_mobile_integration'),\n  doesNotHaveMobileIntegration: not('hasMobileIntegration'),\n  hasActiveGithubIntegration: alias('has_active_github_integration'),\n  hasEnabledGithubIntegration: alias('has_enabled_github_integration'),\n  hasSalesforceIntegration: readOnly('has_salesforce_integration'),\n  hasLegacyClearbitIntegration: readOnly('has_clearbit_integration'),\n  hasMarketoEnrichmentIntegration: readOnly('has_marketo_enrichment_integration'),\n  hasHubSpotIntegration: readOnly('has_hubspot_integration'),\n  hasPipedriveIntegration: readOnly('has_pipedrive_integration'),\n\n  hasSingleDeliveryChannel: computed('hasIOSSdk', 'hasAndroidSdk', 'hasWebUserSource', function() {\n    let numberOfIntegrations = 0;\n    numberOfIntegrations += this.hasWebUserSource ? 1 : 0;\n    numberOfIntegrations += this.hasIOSSdk ? 1 : 0;\n    numberOfIntegrations += this.hasAndroidSdk ? 1 : 0;\n    return numberOfIntegrations === 1;\n  }),\n\n  hasValueBasedPricing: computed('signedUpWithSolutionId', function() {\n    return (\n      CORE_SOLUTION_IDS.includes(this.signedUpWithSolutionId?.toString()) ||\n      this.coreProduct?.active\n    );\n  }),\n\n  attributes: hasMany('attribute'),\n\n  allowedAttributes: computed('attributes.[]', function() {\n    if (this.companiesActive) {\n      return this.attributes;\n    }\n    return this.attributes.rejectBy('isCompany', true);\n  }),\n\n  userAttributes: rejectBy('attributes', 'isCompany', true),\n  attribute_settings: hasMany('display-attribute-setting', {\n    defaultValue: () => [],\n  }),\n  messageGoalAttributes: filterBy('attributes', 'usable_in_message_goal', true),\n  userAttributeSettings: filterBy('attribute_settings', 'display_on', 'users'),\n  companyAttributeSettings: filterBy('attribute_settings', 'display_on', 'companies'),\n  tags: hasMany('tag', { defaultValue: () => [] }),\n\n  browser_locales: fragmentArray('browser_locale'),\n\n  plans: hasMany('external-plan', {\n    defaultValue: () => [],\n  }),\n\n  qualification_attributes: hasMany('people/qualification-attribute', {\n    defaultValue: () => [],\n  }),\n\n  accounts: computed(function() {\n    return this.store.peekAll('account');\n  }),\n\n  isIntercom: equal('id', 'tx2p130c'),\n  features: hasMany('feature', {\n    defaultValue: () => [],\n  }),\n\n  admins: hasMany('admin'),\n  teams: computed('admins.[]', function() {\n    let teams = this.admins.filterBy('is_team').filterBy('isNew', false);\n    let team_json = teams.map(t => t.toJSON({ includeId: true }));\n    this.store.pushPayload({ team: team_json });\n    return team_json.map(team => {\n      return this.store.peekRecord('team', team.id);\n    });\n  }),\n  teamsWithoutAppTeam: filterBy('teams', 'isAppTeam', false),\n\n  assignableTeams: readOnly('teams'),\n\n  addTeam(team) {\n    this.store.pushPayload({ admin: [team.toJSON({ includeId: true })] });\n    let admin = this.store.peekRecord('admin', team.id);\n    this.admins.pushObject(admin);\n  },\n\n  removeTeam(team) {\n    let admin = this.admins.findBy('id', team.get('id'));\n    this.admins.removeObject(admin);\n  },\n\n  appTeam: findBy('teams', 'isAppTeam', true),\n  adminsWithBillingPermissions: filterBy(\n    'humanAdmins',\n    'currentAppPermissions.can_access_billing_settings',\n    true,\n  ),\n  adminsWhoCanInstallApps: filterBy(\n    'humanAdmins',\n    'currentAppPermissions.can_manage_apps_and_integrations',\n    true,\n  ),\n  adminsWhoCanManageTeammates: filterBy(\n    'humanAdmins',\n    'currentAppPermissions.can_manage_teammates',\n    true,\n  ),\n\n  requiresInboxSeatAccess: readOnly('canUsePerProductPricingFlow'),\n\n  adminsWithInboxAccess: filterBy('humanAdmins', 'hasInboxAccess', true),\n  adminsWithoutInboxAccess: filterBy('humanAdmins', 'hasInboxAccess', false),\n  usersTitle: 'People',\n  importedUsersAndIsNotActivated: and('primary_user_source_is_import_type', 'isNotActivated'),\n\n  application_colors: computed('base_color', function() {\n    return new AppColor().generate_message_box_colors(this.base_color);\n  }),\n\n  currentAdmin: computed('admins.[]', function() {\n    // This compact is needed to get around a nasty problem caused by the\n    // observers in `base-visibility-helper`. When the store is being destroyed this recomputes\n    // with undefined values in the admins array which causes null pointer exception here\n    return this.admins.compact().findBy('is_me');\n  }),\n\n  currentAdminHasInboxAccess: computed(\n    'requiresInboxSeatAccess',\n    'inboxIsNotActive',\n    'currentAdmin.hasInboxAccess',\n    function() {\n      if (this.inboxIsNotActive) {\n        return false;\n      }\n\n      if (this.requiresInboxSeatAccess) {\n        return this.get('currentAdmin.hasInboxAccess');\n      }\n\n      return true;\n    },\n  ),\n\n  doesNotRequiresInboxSeatAccess: not('requiresInboxSeatAccess'),\n  currentAdminCanViewInbox: or('currentAdminHasInboxAccess', 'doesNotRequiresInboxSeatAccess'),\n  customEmailAddresses: computed(function() {\n    return PromiseArray.create({\n      promise: getEmberDataStore().findAll('custom-email-address'),\n    });\n  }),\n\n  verifiedCustomEmailAddresses: filterBy('customEmailAddresses', 'verified', true),\n\n  updateDefaultEmailSenderSetting(isEnablingAdminAppEmail) {\n    return ajax({\n      url: `/ember/apps/${this.id}/use_admin_app_email`,\n      type: 'POST',\n      data: JSON.stringify({\n        app_id: this.app_id,\n        use_admin_app_email: isEnablingAdminAppEmail,\n      }),\n    }).then(\n      function() {\n        this.set('use_admin_app_email', isEnablingAdminAppEmail);\n      }.bind(this),\n    );\n  },\n\n  dkim_settings: computed(function() {\n    return PromiseArray.create({\n      promise: getEmberDataStore().findAll('dkim-settings'),\n    });\n  }),\n\n  adminEmailDKIMSettings: filterBy('dkim_settings', 'isUsedInAdminEmails', true),\n  customSenderDKIMSettings: filterBy('dkim_settings', 'isUsedInCustomEmails', true),\n\n  email_templates: computed(function() {\n    let store = getEmberDataStore();\n    let promise = this.translations.then(translations => {\n      EmailTemplate.populateDefaultTemplates(this, translations);\n      let templates = store.peekAll('email-template');\n      return store.findAll('email-template').then(items => {\n        templates.toArray().pushObjects(items.toArray());\n        return templates;\n      });\n    });\n    return PromiseArray.create({ promise });\n  }),\n\n  email_template_data: computed(function() {\n    return PromiseArray.create({\n      promise: getEmberDataStore().findAll('email-template-data'),\n    });\n  }),\n\n  emailTemplates: computed(function() {\n    return PromiseArray.create({\n      promise: getEmberDataStore().findAll('email-template'),\n    });\n  }),\n\n  translations: computed(function() {\n    return Translations.fetch(this.id).then(translations => {\n      return translations.get('firstObject');\n    });\n  }),\n\n  savedReplies: computed(function() {\n    return PromiseArray.create({\n      promise: getEmberDataStore().findAll('saved-reply'),\n    });\n  }),\n\n  savedContents: computed(function() {\n    return PromiseArray.create({\n      promise: getEmberDataStore().findAll('saved-content'),\n    });\n  }),\n\n  companyEmailAddresses: computed(function() {\n    return PromiseArray.create({\n      promise: getEmberDataStore().findAll('company-email-address'),\n    });\n  }),\n\n  folders: computed(function() {\n    return PromiseSortableArray.create({\n      promise: getEmberDataStore().findAll('message-folder'),\n      sortProperties: ['name'],\n    });\n  }),\n\n  campaigns: computed(function() {\n    return PromiseSortableArray.create({\n      promise: getEmberDataStore().findAll('campaign'),\n      sortProperties: ['title'],\n    });\n  }),\n\n  isEnglishLocale: equal('locale', 'en'),\n\n  formattedTimezone: computed('timezone', function() {\n    return formattedTimezone(this.timezone);\n  }),\n\n  formattedUtcOffset: computed('timezone', function() {\n    return moment\n      .tz(this.timezone)\n      .format('[GMT]Z')\n      .replace(/0(\\d:)/, '$1')\n      .replace(':00', ''); //Should look like GMT+1 or GMT+5:30\n  }),\n\n  humanReadableTimezone: templateString('${formattedTimezone} time (${formattedUtcOffset})'),\n\n  hasNoPeople: equal('peopleCount', 0),\n  humanAdmins: filterBy('admins', 'isHuman'),\n  operatorBot: findBy('admins', 'isOperator', true),\n  unassignedAdmin: findBy('admins', 'isUnassignedAdmin', true),\n\n  assignableAdmins: computed(\n    'admins.@each.{isAssignableUnderThePerSeatPricing,isBot}',\n    'requiresInboxSeatAccess',\n    function() {\n      let nonBotAdmins = this.admins.filterBy('isBot', false).rejectBy('id', OWNER_ID);\n      if (!this.requiresInboxSeatAccess) {\n        return nonBotAdmins;\n      }\n      return nonBotAdmins.filterBy('isAssignableUnderThePerSeatPricing');\n    },\n  ),\n\n  assignableAdminsAndOperator: computed('assignableAdmins.[]', 'operatorBot', function() {\n    return [].concat(this.assignableAdmins, [this.operatorBot]);\n  }),\n\n  assignableAdminsWithoutUnassigned: filterBy('assignableAdmins', 'isUnassignedAdmin', false),\n\n  owner: computed(function() {\n    let admin = this.store.createRecord('admin');\n    admin.setProperties({\n      id: OWNER_ID,\n      name: 'Owner',\n    });\n    return admin;\n  }),\n\n  assignableAdminsIncludingOwner: computed('assignableAdmins', function() {\n    let admins = this.assignableAdmins;\n    admins.unshift(this.owner);\n    return admins;\n  }),\n\n  assignableHumanAdmins: filterBy('assignableAdmins', 'isHuman'),\n  userSegments: filterBy('segments', 'isUser'),\n  editableUserSegments: filterBy('userSegments', 'is_editable'),\n  companySegments: filterBy('segments', 'isCompany'),\n  editableCompanySegments: filterBy('companySegments', 'is_editable'),\n  verifiedLoggedInInstallAt: null,\n  verifiedLoggedOutInstallAt: null,\n\n  forceEmailVerification: computed(\n    'emailVerificationRequired',\n    'currentAdmin.emailVerified',\n    function() {\n      return this.emailVerificationRequired && !this.get('currentAdmin.email_verified');\n    },\n  ),\n\n  refreshNavCounters() {\n    throttle(this, this._fetchCounters, ENV.APP._5000MS);\n  },\n\n  _fetchCounters() {\n    let options = {\n      url: `/ember/apps/${this.id}/counters.json`,\n      type: 'GET',\n    };\n\n    return ajax(options).then(response => this.setProperties(response));\n  },\n\n  fetchAndUpdateAllAdminPermissions() {\n    return this.store.findAll('permission', { reload: true }).then(permissions => {\n      this.admins.forEach(admin => {\n        admin.permissions.clear();\n        let newPermissions = permissions.filterBy('admin_id', admin.id);\n        admin.permissions.pushObjects(newPermissions);\n      });\n    });\n  },\n\n  fetchAPISecret: task(function*() {\n    try {\n      let app_id = this.id;\n      let keys = yield this._ajaxGet({\n        url: `/ember/apps/${app_id}/api_keys.json`,\n        data: { app_id },\n      });\n      this.set('api_secret', keys.api_secret);\n      this.set('api_secrets', keys.api_secrets);\n    } catch (error) {\n      this.set('api_secret', null);\n      this.set('api_secrets', null);\n    }\n  }),\n\n  updateLocalCache(modelDataCacheService) {\n    if (modelDataCacheService.hasCachedItem('app', this.id)) {\n      modelDataCacheService.updateCachedItem('app', this.id, this.serialize());\n    }\n  },\n\n  _ajaxGet(options) {\n    return ajax(Object.assign(options, { type: 'GET' }));\n  },\n}).reopenClass({\n  fetchJSON(appId) {\n    let allowlist1 = [\n      'browser_locales',\n      'android_os_versions',\n      'android_devices',\n      'android_app_versions',\n      'ios_os_versions',\n      'ios_app_versions',\n      'plans',\n    ].join(',');\n    let allowlist2 = ['admins'].join(',');\n    let allowlist3 = [\n      'segments',\n      'attributes',\n      'tags',\n      'user_sources',\n      'content_events_config',\n    ].join(',');\n\n    let promises = [\n      App.getWithRedirectOn403(\n        `/ember/apps/${appId}.json?attribute_denylist=${allowlist1},${allowlist2},${allowlist3}`,\n      ),\n      App.getWithRedirectOn403(`/ember/apps/${appId}.json?attribute_allowlist=${allowlist1}`),\n      App.getWithRedirectOn403(`/ember/apps/${appId}.json?attribute_allowlist=${allowlist2}`),\n      App.getWithRedirectOn403(`/ember/apps/${appId}.json?attribute_allowlist=${allowlist3}`),\n    ];\n    return all(promises).then(results => Object.assign(...results));\n  },\n  getWithRedirectOn403(url) {\n    return ajax({\n      url,\n      type: 'GET',\n      redirectOn403: true,\n    });\n  },\n  loadJSON(data) {\n    let frontendStatsService = containerLookup('service:frontendStatsService');\n    let store = getEmberDataStore();\n\n    frontendStatsService.startInteractionTime('model:app.loadJSON');\n    store.pushPayload({ app: [data] });\n    frontendStatsService.stopInteractionTime('model:app.loadJSON');\n\n    return store.findRecord('app', data.id, { backgroundReload: false });\n  },\n});\n\nexport default App;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, hasMany } from '@ember-data/model';\nimport { computed } from '@ember/object';\n\nexport default Model.extend({\n  name: attr('string'),\n  description: attr('string'),\n  iconUrl: attr('string'),\n  installUrl: attr('string'),\n  isInstalled: attr('boolean'),\n  categories: hasMany('appstore/category'),\n  capabilities: attr(),\n  analyticsData: computed('id', function() {\n    return {\n      object: 'app_package',\n      app_package_code: this.id,\n    };\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, hasMany, belongsTo } from '@ember-data/model';\nimport { notEmpty, and, gt, not, equal, or, filterBy, readOnly } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { buildEmbeddableVideoUrl } from 'embercom/lib/video-embed-url';\n\nconst APP_PACKAGE_IDS_WITH_TEAMMATE_SETTINGS = [\n  'google-meet',\n  'google-calendar-meetings',\n  'outlook-calendar-meetings',\n];\nconst APP_PACKAGE_EXTRA_INSTALL_TYPES = {\n  'salesforce-by-intercom': [\n    {\n      id: 'salesforce-sandbox',\n      label: 'Install using sandbox',\n      paywall: 'hasSalesforceSandboxFeatureInPlan',\n      params: [\n        {\n          key: 'sandbox',\n          value: 'true',\n        },\n      ],\n    },\n  ],\n};\n\nconst APP_PACKAGE_INSTALL_STATES = {\n  unknown: 'UNKNOWN',\n  ok: 'OK',\n  unhealthy: 'UNHEALTHY',\n  notFound: 'NOT_FOUND',\n  invalidAuth: 'INVALID_AUTH',\n  incompleteConfiguration: 'INCOMPLETE_CONFIGURATION',\n};\n\nexport default Model.extend({\n  init() {\n    this._super(...arguments);\n    this.set('appPackageExtraInstallTypes', APP_PACKAGE_EXTRA_INSTALL_TYPES);\n  },\n\n  appService: service(),\n  name: attr('string'),\n  implementationIdentifier: attr('string'),\n  description: attr('string'),\n  longDescription: attr('string'),\n  longDescriptionBlocks: attr('array'),\n  startingGuideBlocks: attr('array'),\n  categories: hasMany('appstore/category'),\n  publicCategories: filterBy('categories', 'publiclyVisible', true),\n  capabilities: attr(),\n  appPackageInstallId: attr('string'),\n  installState: attr('string'),\n  installStateMessage: attr('string'),\n  installStateCtaUrl: attr('string'),\n  installStateCtaLabel: attr('string'),\n  installStateCtaType: attr('string'),\n  inboxAppId: attr(),\n  installingAdminName: attr('string'),\n  iconUrl: attr('string'),\n  installUrl: attr('string'),\n  isInstalled: attr('boolean'),\n  isNotInstalled: not('isInstalled'),\n  isLegacyVersionInstalled: attr('boolean'),\n  learnMoreUrl: attr('string'),\n  installType: attr('string'),\n  hasInstallUrl: notEmpty('installUrl'),\n  hasNoInstallUrl: not('installUrl'),\n  hasLearnMoreUrl: notEmpty('learnMoreUrl'),\n  isRequiresOauthInstallType: equal('installType', 'requires_oauth'),\n  isOAuthInstall: and('isRequiresOauthInstallType', 'hasInstallUrl'),\n  isCustomInstall: equal('installType', 'skips_oauth'),\n  isThirdPartyAppStoreInstall: and('isRequiresOauthInstallType', 'hasNoInstallUrl'),\n  isIntercomAppStoreInstall: or('isOAuthInstall', 'isCustomInstall'),\n  messengerApp: belongsTo('messenger-app'),\n  isMessengerApp: notEmpty('messengerApp.content'),\n  imageUrls: attr('array'),\n  installDate: attr('string'),\n  paywallFlag: attr('string'),\n  hasTeammateSettings: computed('id', function() {\n    return APP_PACKAGE_IDS_WITH_TEAMMATE_SETTINGS.includes(this.id);\n  }),\n  analyticsData: computed('id', function() {\n    return {\n      object: 'app_package',\n      app_package_code: this.id,\n    };\n  }),\n  builtBy: attr('string'),\n  termsOfServiceUrl: attr('string'),\n  privacyPolicyUrl: attr('string'),\n  pricingModel: attr('string'),\n  pricingPageUrl: attr('string'),\n  documentationUrl: attr('string'),\n  avatarWorkspaceIdCode: attr('string'),\n  supportEmail: attr('string'),\n  adminAvatars: attr('array'),\n  developerHomepageUrl: attr('string'),\n  extraInstallTypes: computed('appService.app', function() {\n    let appPackageExtraInstallTypes = this.appPackageExtraInstallTypes[this.id];\n    if (appPackageExtraInstallTypes === undefined) {\n      return [];\n    }\n\n    return appPackageExtraInstallTypes.filter(appPackage => {\n      return appPackage.paywall === undefined || this.get('appService.app').get(appPackage.paywall);\n    });\n  }),\n  hasExtraInstallTypesEnabled: gt('extraInstallTypes.length', 0),\n\n  videoId: attr('string'),\n  videoProvider: attr('string'),\n  videoEmbedUrl: computed('videoId', 'videoProvider', function() {\n    return buildEmbeddableVideoUrl(this.videoId, this.videoProvider);\n  }),\n\n  hasInstallStateUnknown: equal('installState', APP_PACKAGE_INSTALL_STATES.unknown),\n  hasInstallStateUnhealthy: equal('installState', APP_PACKAGE_INSTALL_STATES.unhealthy),\n  hasInstallStateOk: equal('installState', APP_PACKAGE_INSTALL_STATES.ok),\n  hasInstallStateNotFound: equal('installState', APP_PACKAGE_INSTALL_STATES.notFound),\n  hasInstallStateInvalidAuth: equal('installState', APP_PACKAGE_INSTALL_STATES.invalidAuth),\n  hasInstallStateIncompleteConfig: equal(\n    'installState',\n    APP_PACKAGE_INSTALL_STATES.incompleteConfiguration,\n  ),\n  isIntercomApp: equal('builtBy', 'Intercom'),\n  hasStartingGuide: notEmpty('startingGuideBlocks'),\n  hasCapabilities: or(\n    'worksWithInboxConversations',\n    'worksWithMessages',\n    'worksWithMessenger',\n    'worksWithOperator',\n    'worksWithInboxSidebar',\n  ),\n  worksWithInboxSidebar: readOnly('capabilities.works_with_inbox_sidebar'),\n  worksWithMessenger: readOnly('capabilities.works_with_messenger'),\n  worksWithInboxConversations: readOnly('capabilities.works_with_inbox_conversations'),\n  worksWithOperator: readOnly('capabilities.works_with_operator'),\n  worksWithMessages: readOnly('capabilities.works_with_messages'),\n  worksWithInbox: or('worksWithInboxSidebar', 'worksWithInboxConversations'),\n  worksWithInboxSidebarAndConversations: and(\n    'worksWithInboxSidebar',\n    'worksWithInboxConversations',\n  ),\n});\n","import { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  providerName: attr('string'),\n  listId: attr('string'),\n  lists: attr('array'),\n  title: attr('string'),\n  description: attr('string'),\n  confirmationTitle: attr('string'),\n  confirmationDescription: attr('string'),\n  rewardType: attr('string'),\n  rewardText: attr('string'),\n  installationStatus: attr('string'),\n  analyticsData: computed('id', function() {\n    return {\n      object: 'campaign_monitor_settings',\n      campaign_monitor_settings_id: this.id,\n    };\n  }),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  name: attr('string'),\n  attributeIdentifier: attr('string'),\n  selected: attr('boolean'),\n});\n","import Fragment from 'ember-data-model-fragments/fragment';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport { filterBy } from '@ember/object/computed';\n\nexport default Fragment.extend({\n  clearbitAttributes: fragmentArray('appstore/app-package/clearbit/attribute'),\n  selectedAttributes: filterBy('clearbitAttributes', 'selected', true),\n  availableAttributes: filterBy('clearbitAttributes', 'selected', false),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\n\nexport default Model.extend({\n  appId: attr('string'),\n  title: attr('string'),\n  description: attr('string'),\n  assigneeId: attr('string'),\n  deflectionText: attr('string'),\n  deflectionCta: attr('string'),\n  deflectionLink: attr('string'),\n  deflectionEnabled: attr('boolean'),\n  introButtonText: attr('string'),\n  qualificationAttributes: fragmentArray('qualification/attribute'),\n});\n","import CalendarSettings from 'embercom/models/calendar-settings';\n\nexport default CalendarSettings.extend();\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  intercomAppIdCode: attr('string'),\n  intercomAdminId: attr('string'),\n  accountEmail: attr('string'),\n  hasIntegratedCalendar: attr('boolean'),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { fragment, fragmentArray } from 'ember-data-model-fragments/attributes';\n\nexport default Fragment.extend({\n  contactAutoCreationEnabled: attr('boolean'),\n  leadAttributionEnabled: attr('boolean'),\n  shouldReauthenticate: attr('boolean'),\n  attributeMappings: fragmentArray('crm/attribute-mapping'),\n  attributeOptionsForType: fragment('crm/attribute-options'),\n  webhookFilters: fragment('crm/webhook-filter'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo } from '@ember-data/model';\n\nexport default Model.extend({\n  adminIds: attr('array'),\n  appPackage: belongsTo('appstore/app-package'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo } from '@ember-data/model';\n\nexport const APP_PACKAGE_INVITE_FORM_STATES = {\n  collapsed: 'COLLAPSED',\n  expanded: 'EXPANDED',\n};\n\nexport default Model.extend({\n  appId: attr('string'),\n  appPackage: belongsTo('appstore/app-package'),\n  state: attr('string'),\n});\n","import { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  providerName: attr('string'),\n  listId: attr('string'),\n  lists: attr('array'),\n  title: attr('string'),\n  description: attr('string'),\n  confirmationTitle: attr('string'),\n  confirmationDescription: attr('string'),\n  rewardType: attr('string'),\n  rewardText: attr('string'),\n  installationStatus: attr('string'),\n  analyticsData: computed('id', function() {\n    return {\n      object: 'mailchimp_settings',\n      mailchimp_settings_id: this.id,\n    };\n  }),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { fragment, fragmentArray } from 'ember-data-model-fragments/attributes';\n\nexport default Fragment.extend({\n  marketoHostName: attr('string'),\n  marketoAppHostName: attr('string'),\n  marketoClientId: attr('string'),\n  marketoClientSecret: attr('string'),\n  leadEnrichmentEnabled: attr('boolean'),\n  sendConversationActivityMetadata: attr('boolean'),\n  autoCreateLeads: attr('boolean'),\n  // Commit hash of the current text used to describe cookie scraping enrichment\n  // IMPORTANT: Please update this value if the description text in appstore/app-package/settings/marketo-enrichment/main.hbs changes\n  leadEnrichmentVersion: attr('string', {\n    defaultValue: 'a5d3c9fe26b725ae42da8d8846c9834631819b5b',\n  }),\n  attributeMappings: fragmentArray('crm/attribute-mapping'),\n  attributeOptionsForType: fragment('crm/attribute-options'),\n});\n","import CalendarSettings from 'embercom/models/calendar-settings';\n\nexport default CalendarSettings.extend();\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  address: attr('string'),\n  appId: attr('string'),\n  available: attr('number'),\n  capacity: attr('number'),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { validator, buildValidations } from 'ember-cp-validations';\n\nconst Validations = buildValidations({\n  url: {\n    description: 'Quick Link URL',\n    validators: [validator('quick-link-url')],\n  },\n});\n\nexport default Fragment.extend(Validations, {\n  url: attr('string'),\n  label: attr('string'),\n\n  urlActionReceiver: null,\n});\n","import { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  links: fragmentArray('appstore/app-package/quick-links/link'),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  statuspagePageId: attr('string'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport Model from '@ember-data/model';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\n\nexport default Model.extend({\n  subscriptions: fragmentArray('appstore/app-package/stripe/subscription'),\n\n  deleteSubscription(subscription) {\n    return this.deleteAndUpdate(`subscription/${subscription.stripeAccountId}`);\n  },\n\n  deleteAndUpdate(path) {\n    return this._delete(path).then(res => this._updateModel(res));\n  },\n\n  _delete(path) {\n    let modelName = this.constructor.modelName;\n    let adapter = this.store.adapterFor(modelName);\n\n    let url = `${adapter.buildURL(modelName, this.id)}/${path}`;\n    return adapter.ajax(url, 'DELETE', { data: this.serialize() });\n  },\n\n  _updateModel(response) {\n    let normalizedModel = this.store.normalize(this.constructor.modelName, response);\n    return this.store.push(normalizedModel);\n  },\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { not } from '@ember/object/computed';\n\nexport default Fragment.extend({\n  stripeAccountId: attr('string'),\n  stripeAccountName: attr('string'),\n  primaryAccount: attr('boolean'),\n  secondaryAccount: not('primaryAccount'),\n  subscriptionsEnabled: attr('boolean'),\n  syncEnabled: attr('boolean'),\n  stripeWriteAuthorised: attr('boolean'),\n  stripeImportFailed: attr('boolean'),\n  createdAt: attr('date'),\n  revoked: attr('boolean'),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  accountEmail: attr('string'),\n  hasIntegratedProvider: attr('boolean'),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  username: attr('string'),\n  apiToken: attr('string'),\n  zendeskAppName: attr('string'),\n  connected: attr('boolean'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\n\nexport default Model.extend({\n  name: attr('string'),\n  slug: attr('string'),\n  content: attr(),\n  categoryType: attr('string'),\n  publiclyVisible: attr('boolean'),\n  analyticsData: computed('slug', function() {\n    return {\n      object: 'app_store_category',\n      category_name: this.slug,\n    };\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, hasMany, belongsTo } from '@ember-data/model';\nimport { isEqual } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport { sort, readOnly, equal, not, notEmpty, or } from '@ember/object/computed';\nimport ajax from 'embercom/lib/ajax';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport promise from 'embercom/lib/promise';\n\nexport default Model.extend({\n  app_id: attr('string'),\n  name: attr('string'),\n  description: attr('string'),\n  icon: attr('string', { defaultValue: 'book-bookmark' }),\n  order: attr('number'),\n  count: attr('number'),\n\n  children: hasMany('article-folder', { inverse: 'parent' }),\n  parent: belongsTo('article-folder', { inverse: 'children' }),\n\n  articles: hasMany({ inverse: 'folder', async: true }),\n  sortedArticles: sort('articles', 'sortOrder'),\n  sortedChildren: sort('children', 'sortOrder'),\n  sortedSections: readOnly('sortedChildren'),\n  sortedSiblings: readOnly('parent.sortedChildren'),\n  sortOrder: ['order'],\n\n  isHome: equal('id', 'home'),\n  isNotHome: not('isHome'),\n  hasChildren: notEmpty('children'),\n  hasArticles: notEmpty('articles'),\n  hasArticlesRequiringReview: attr('boolean'),\n  hasContent: or('hasChildren', 'hasArticles'),\n  shouldFocusName: false,\n\n  allArticles: computed('articles', 'children.[]', function() {\n    let allArticles = this.articles.toArray();\n    this.children.forEach(section => {\n      allArticles = allArticles.concat(section.get('articles').toArray());\n    });\n    return allArticles;\n  }),\n\n  isFirstSection: computed('parent.sortedSections.[]', function() {\n    return isEqual(this.get('sortedSiblings.firstObject.id'), this.id);\n  }),\n\n  isLastSection: computed('parent.sortedSections.[]', function() {\n    return isEqual(this.get('sortedSiblings.lastObject.id'), this.id);\n  }),\n\n  isCollection: equal('parent.id', 'home'),\n  isSection: not('isCollection'),\n  type: ternary('isCollection', 'collection', 'section'),\n\n  reorder(newIndex) {\n    return ajax({\n      type: 'POST',\n      url: `/ember/article_folders/${this.id}/reorder`,\n      data: JSON.stringify({ order: newIndex, app_id: this.app_id }),\n    });\n  },\n\n  saveIfDirty() {\n    if (this.hasDirtyAttributes && !this.isSaving) {\n      return this.save();\n    } else {\n      return promise();\n    }\n  },\n}).reopenClass({\n  createNewFolder(parent, prefix = 'Section heading') {\n    let newFolderName = `${prefix}`;\n    let existingFolders = parent.get('children');\n    let nameInUse = false;\n    let nextIndex = 1;\n\n    do {\n      nameInUse = existingFolders.findBy('name', newFolderName);\n      if (nameInUse) {\n        newFolderName = `${prefix} (${nextIndex++})`;\n      }\n    } while (nameInUse);\n\n    let maxOrder = Math.max(...existingFolders.map(f => f.get('order')));\n    let folder = parent.store.createRecord('article-folder', {\n      name: newFolderName,\n      order: maxOrder + 1,\n      shouldFocusName: true,\n    });\n    folder.set('parent', parent);\n    return folder;\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  siteProvider: attr('string'),\n  jobStatus: attr('string'),\n  siteUrl: attr('string'),\n  job_finished_at: attr('date'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo } from '@ember-data/model';\nimport { resolve } from 'rsvp';\nimport { computed } from '@ember/object';\nimport { not, readOnly, bool, alias, filterBy } from '@ember/object/computed';\nimport pluralise from 'embercom/lib/inflector';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport ajax from 'embercom/lib/ajax';\nimport MF from 'ember-data-model-fragments';\n\nexport const MAX_SUMMARY_SIZE = 140;\nexport const MAX_TITLE_SIZE = 255;\n\nexport default Model.extend({\n  appService: service(),\n  helpCenterService: service(),\n  store: service(),\n\n  site: computed(function() {\n    return this.store.peekAll('help-center-site').firstObject;\n  }),\n\n  app: readOnly('appService.app'),\n\n  createdAt: attr('date'),\n  order: attr('number'),\n  updated_stats: attr(),\n  stats: computed('loadStats.lastSuccessful.value', 'updated_stats', function() {\n    if (this.updated_stats) {\n      return this.updated_stats;\n    }\n    return this.get('loadStats.lastSuccessful.value');\n  }),\n\n  folder: belongsTo('articles/article-group', { inverse: 'articles' }),\n  targetUserType: attr('string'),\n\n  ruleset: belongsTo('matching-system/ruleset', {\n    async: false,\n  }),\n\n  selectedUserTypes: computed('ruleset.rolePredicateGroup.userPredicate.userTypes', function() {\n    return this.get('ruleset.rolePredicateGroup.userPredicate.userTypes') || [];\n  }),\n\n  pluralSelectedUserTypes: computed('selectedUserTypes', function() {\n    if (this.selectedUserTypes) {\n      return this.selectedUserTypes.map(userType => pluralise(userType));\n    }\n  }),\n\n  hasRestrictedAudience: computed(\n    'targetUserType',\n    'ruleset.userType',\n    'ruleset.predicateGroup.hasPredicates',\n    function() {\n      if (!this.ruleset) {\n        // This check is not needed anymore, but removing it will need us to update hundreds of\n        // article mocks in our specs which we don't have a bandwidth for at the moment.\n        return false;\n      }\n      return this.ruleset.userType !== 'everyone' || this.ruleset.predicateGroup.hasPredicates;\n    },\n  ),\n\n  articleContents: MF.fragmentArray('articles/article-content'),\n\n  orderedArticleContents: computed(\n    'articleContents.[]',\n    'site.selectedLocalesOrdered.[]',\n    function() {\n      return this.site.selectedLocalesOrdered.map(locale => this.contentByLocale(locale.localeId));\n    },\n  ),\n\n  firstContent: readOnly('orderedArticleContents.firstObject'),\n\n  selectedLocaleId: alias('helpCenterService.currentlySelectedLocaleId'),\n  selectedLocalizedContent: computed('articleContents.[]', 'selectedLocaleId', function() {\n    return this.contentByLocale(this.selectedLocaleId);\n  }),\n  hasSelectedLocalizedContent: bool('selectedLocalizedContent'),\n\n  defaultLocaleId: alias('helpCenterService.site.locale'),\n  defaultLocalizedContent: computed('defaultLocaleId', 'articleContents.[]', function() {\n    return this.contentByLocale(this.defaultLocaleId);\n  }),\n  hasDefaultLocalizedContent: bool('defaultLocalizedContent'),\n\n  collection: computed('folder', 'folder.isCollection', function() {\n    return this.get('folder.isHome') || this.get('folder.parent.isHome')\n      ? this.folder\n      : this.get('folder.parent');\n  }),\n  section: computed('folder.isCollection', function() {\n    return this.get('folder.isCollection') ? null : this.folder;\n  }),\n\n  public: not('folder.isHome'),\n  titleForDisplay: readOnly('firstContent.titleForDisplay'),\n\n  publishedContents: filterBy('articleContents', 'isPublished', true),\n  publishedContentsLocaleIds: computed('publishedContents', function() {\n    return this.publishedContents.map(content => content.locale);\n  }),\n\n  analyticsData: computed('id', 'public', function() {\n    return {\n      object: 'article',\n      article_id: this.id,\n      is_public: this['public'],\n    };\n  }),\n\n  missingTitlePlaceholder: 'Untitled article',\n\n  needsReview: computed('articleContents.[]', function() {\n    return this.articleContents.isAny('needsReview');\n  }),\n\n  createContentIfNone(locale) {\n    if (!this.contentByLocale(locale)) {\n      this.articleContents.createFragment({\n        locale,\n        jsonBlocks: [],\n        jsonBlocksForEditing: [],\n        authorId: this.get('app.currentAdmin.id'),\n      });\n    }\n  },\n\n  reorder(newIndex) {\n    return ajax({\n      type: 'POST',\n      url: `/ember/articles/${this.id}/reorder`,\n      data: JSON.stringify({ order: newIndex, app_id: this.get('app.id') }),\n    });\n  },\n\n  contentByLocale(locale) {\n    return this.articleContents.findBy('locale', locale);\n  },\n\n  createMessengerCard(locale, conversationId) {\n    return ajax({\n      url: `/ember/articles/${this.id}/messenger_card`,\n      data: {\n        locale,\n        app_id: this.get('app.id'),\n        conversation_id: conversationId,\n      },\n    });\n  },\n\n  loadStats: task(function*() {\n    return yield ajax({\n      url: `/ember/articles/${this.id}/stats`,\n      data: {\n        app_id: this.get('app.id'),\n      },\n    });\n  }),\n}).reopenClass({\n  updateArticleCountsForApp(app) {\n    return ajax({\n      url: '/ember/articles/counts',\n      type: 'GET',\n      data: {\n        app_id: app.get('id'),\n        admin_id: app.get('currentAdmin.id'),\n      },\n    })\n      .then(counts => {\n        app.setProperties({\n          allArticlesCount: counts.all,\n          finishedArticlesCount: counts.finished,\n          draftArticlesCount: counts.draft,\n        });\n        return resolve();\n      })\n      .catch(() => {});\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport Model, { attr, belongsTo } from '@ember-data/model';\nimport { resolve } from 'rsvp';\nimport $ from 'jquery';\nimport { computed } from '@ember/object';\nimport { notEmpty, gt, equal, not, empty, readOnly } from '@ember/object/computed';\nimport { notEqual, valueOrDefault } from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\nimport AdminMapper from 'embercom/models/mixins/admin-mapper';\nimport ajax from 'embercom/lib/ajax';\n\nexport const MAX_SUMMARY_SIZE = 140;\nexport const MAX_TITLE_SIZE = 255;\n\nexport default Model.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  title: attr('string', { defaultValue: '' }),\n  publicUrl: attr('string'),\n  summary: attr('string'),\n  jsonBlocks: attr(),\n  jsonBlocksForEditing: attr(),\n  authorId: attr('string'),\n  order: attr('number'),\n  state: attr('string', { defaultValue: 'draft' }),\n  createdAt: attr('date'),\n  updatedAt: attr('date'),\n  folder: belongsTo('article-folder', { inverse: 'articles' }),\n  missingTableErrorCount: attr('number'),\n  missingListErrorCount: attr('number'),\n  missingImageErrorCount: attr('number'),\n  missingVideoErrorCount: attr('number'),\n  missingContentErrorTotalCount: attr('number'),\n  urlImportedFrom: attr('string'),\n  visibleForUser: attr('boolean'),\n  targetUserType: attr('string'),\n  hasMissingContent: gt('missingContentErrorTotalCount', 0),\n\n  hasRestrictedAudience: notEqual('targetUserType', 'everyone'),\n\n  collection: computed('folder.isCollection', function() {\n    return this.get('folder.isHome') || this.get('folder.parent.isHome')\n      ? this.folder\n      : this.get('folder.parent');\n  }),\n\n  section: computed('folder.isCollection', function() {\n    return this.get('folder.isCollection') ? null : this.folder;\n  }),\n\n  public: not('folder.isHome'),\n\n  isPublished: equal('state', 'published'),\n  isDraft: equal('state', 'draft'),\n  isNotPublished: not('isPublished'),\n  titleForDisplay: valueOrDefault('title', 'New Article'),\n  hasSummary: notEmpty('summary'),\n  notFullyLoaded: empty('jsonBlocks'),\n  fullyLoaded: not('notFullyLoaded'),\n\n  author: AdminMapper.mapAdminToId('app.humanAdmins', 'authorId'),\n\n  articleCard: computed(function() {\n    return {\n      articleId: this.id,\n      linkType: 'educate.article',\n      class: 'card',\n      type: 'link',\n      text: $('<a>', { href: this.publicUrl, text: this.title })[0].outerHTML,\n      title: this.title,\n      author: {\n        name: this.get('author.name'),\n        avatar: this.get('author.avatar.image_urls.square_50'),\n        firstName: this.get('author.first_name'),\n        lastName: this.get('author.last_name'),\n      },\n      url: this.publicUrl,\n      description: this.summary,\n      createdAt: this.createdAt,\n      updatedAt: this.updatedAt,\n    };\n  }),\n  reorder(newIndex) {\n    return ajax({\n      type: 'POST',\n      url: `/ember/articles/${this.id}/reorder`,\n      data: JSON.stringify({ order: newIndex, app_id: this.get('app.id') }),\n    });\n  },\n\n  analyticsData: computed('id', 'public', function() {\n    return {\n      object: 'article',\n      article_id: this.id,\n      url: this.publicUrl,\n      is_public: this['public'],\n    };\n  }),\n\n  createMessengerCard(locale, conversationId) {\n    return ajax({\n      url: `/ember/articles/${this.id}/messenger_card`,\n      data: {\n        locale,\n        app_id: this.get('app.id'),\n        conversation_id: conversationId,\n      },\n    });\n  },\n}).reopenClass({\n  updateArticleCountsForApp(app) {\n    return ajax({\n      url: '/ember/articles/counts',\n      type: 'GET',\n      data: {\n        app_id: app.get('id'),\n        admin_id: app.get('currentAdmin.id'),\n      },\n    })\n      .then(counts => {\n        app.setProperties({\n          allArticlesCount: counts.all,\n          finishedArticlesCount: counts.finished,\n          draftArticlesCount: counts.draft,\n        });\n        return resolve();\n      })\n      .catch(() => {});\n  },\n});\n","import { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { notEmpty, equal, not, readOnly } from '@ember/object/computed';\nimport { valueOrDefault } from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\nimport AdminMapper from 'embercom/models/mixins/admin-mapper';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { RTL_LANGUAGES } from 'embercom/lib/articles/constants';\n\nexport default Fragment.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  title: attr('string', { defaultValue: '' }),\n  authorId: attr('string'),\n  locale: attr('string'),\n  state: attr('string', { defaultValue: 'draft' }),\n  summary: attr('string'),\n  updatedAt: attr('date'),\n  jsonBlocks: attr(),\n  jsonBlocksForEditing: attr(),\n  publicUrl: attr('string'),\n\n  author: AdminMapper.mapAdminToId('app.humanAdmins', 'authorId'),\n  isPublished: equal('state', 'published'),\n  isNotPublished: not('isPublished'),\n  isDraft: equal('state', 'draft'),\n  hasSummary: notEmpty('summary'),\n  titleForDisplay: valueOrDefault('title', 'New Article'),\n  needsReview: attr('boolean'),\n  textDirection: computed('locale', function() {\n    if (RTL_LANGUAGES.includes(this.locale)) {\n      return 'rtl';\n    }\n    return 'ltr';\n  }),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  localeId: attr('string'),\n  name: attr('string'),\n  description: attr('string'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, hasMany, belongsTo } from '@ember-data/model';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport { isEqual } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport { alias, and, bool, sort, readOnly, equal, not, notEmpty, or } from '@ember/object/computed';\nimport { post } from 'embercom/lib/ajax';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport promise from 'embercom/lib/promise';\nimport { inject as service } from '@ember/service';\n\nexport default Model.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  helpCenterService: service(),\n\n  name: attr('string'),\n  description: attr('string'),\n  icon: attr('string', { defaultValue: 'book-bookmark' }),\n  order: attr('number'),\n  count: attr('number'),\n\n  children: hasMany('articles/article-group', { inverse: 'parent' }),\n  parent: belongsTo('articles/article-group', { inverse: 'children' }),\n\n  articles: hasMany('article-multilingual', { inverse: 'folder', async: true }),\n  localizedContent: fragmentArray('articles/article-group-content'),\n\n  sortedArticles: sort('articles', 'sortOrder'),\n  sortedChildren: sort('children', 'sortOrder'),\n  sortedSections: readOnly('sortedChildren'),\n  sortedSiblings: readOnly('parent.sortedChildren'),\n  sortOrder: ['order'],\n\n  isHome: equal('id', 'home'),\n  isNotHome: not('isHome'),\n  hasChildren: notEmpty('children'),\n  hasArticles: notEmpty('articles'),\n  hasArticlesRequiringReview: attr('boolean'),\n  hasContent: or('hasChildren', 'hasArticles'),\n  shouldFocusName: false,\n\n  allArticles: computed('articles', 'children.[]', function() {\n    let allArticles = this.articles.toArray();\n    this.children.forEach(section => {\n      allArticles = allArticles.concat(section.get('articles').toArray());\n    });\n    return allArticles;\n  }),\n\n  isFirstSection: computed('parent.sortedSections.[]', function() {\n    return isEqual(this.get('sortedSiblings.firstObject.id'), this.id);\n  }),\n\n  isLastSection: computed('parent.sortedSections.[]', function() {\n    return isEqual(this.get('sortedSiblings.lastObject.id'), this.id);\n  }),\n\n  isCollection: equal('parent.id', 'home'),\n  isSection: not('isCollection'),\n  isANonHomeSection: and('isNotHome', 'isSection'),\n\n  type: ternary('isCollection', 'collection', 'section'),\n\n  titleizedLocale: computed('defaultLocale', function() {\n    return this.defaultLocaleId\n      .split('-')\n      .map(part => part.charAt(0).toUpperCase() + part.slice(1, part.length))\n      .join('-');\n  }),\n\n  defaultLocaleId: alias('helpCenterService.site.locale'),\n  defaultLocalizedContent: computed('localizedContent.[]', 'defaultLocaleId', function() {\n    return this.localizedContentByLocaleId(this.defaultLocaleId);\n  }),\n  hasDefaultLocalizedName: bool('defaultLocalizedContent.name'),\n  hasDefaultLocalizedDescription: bool('defaultLocalizedContent.description'),\n  defaultNameWithFallback: computed('defaultLocalizedContent.name', function() {\n    return this.hasDefaultLocalizedName\n      ? this.defaultLocalizedContent.name\n      : this.missingNamePlaceholder;\n  }),\n\n  selectedLocaleId: alias('helpCenterService.currentlySelectedLocaleId'),\n  selectedLocalizedContent: computed('localizedContent.[]', 'selectedLocaleId', function() {\n    return this.localizedContentByLocaleId(this.selectedLocaleId);\n  }),\n  hasSelectedLocalizedName: bool('selectedLocalizedContent.name'),\n  hasSelectedLocalizedDescription: bool('selectedLocalizedContent.description'),\n\n  missingNamePlaceholder: 'Unnamed collection',\n  missingDescriptionPlaceholder: '— no description',\n\n  localizedContentByLocaleId(localeId) {\n    return this.localizedContent.findBy('localeId', localeId);\n  },\n\n  reorder(newIndex) {\n    return post(`/ember/article_folders/${this.id}/reorder`, {\n      order: newIndex,\n      app_id: this.app.id,\n    });\n  },\n\n  saveIfDirty() {\n    if (this.hasDirtyAttributes && !this.isSaving) {\n      return this.save();\n    } else {\n      return promise();\n    }\n  },\n\n  createContent(localeId) {\n    if (!this.localizedContentByLocaleId(localeId)) {\n      this.localizedContent.createFragment({\n        localeId,\n      });\n    }\n  },\n\n  initLocalizedContent() {\n    this.helpCenterService.site.selectedLocales.map(locale => {\n      this.createContent(locale.localeId);\n    });\n  },\n}).reopenClass({\n  createNewFolder(parent, prefix = 'Section heading') {\n    let newFolderName = `${prefix}`;\n    let existingFolders = parent.get('children');\n    let nameInUse = false;\n    let nextIndex = 1;\n\n    do {\n      nameInUse = existingFolders.findBy('name', newFolderName);\n      if (nameInUse) {\n        newFolderName = `${prefix} (${nextIndex++})`;\n      }\n    } while (nameInUse);\n\n    let maxOrder = Math.max(...existingFolders.map(f => f.get('order')));\n    let folder = parent.store.createRecord('articles/article-group', {\n      name: newFolderName,\n      order: maxOrder + 1,\n      shouldFocusName: true,\n    });\n    folder.set('parent', parent);\n    return folder;\n  },\n});\n","import { attr } from '@ember-data/model';\nimport { gt, empty, and } from '@ember/object/computed';\nimport Fragment from 'ember-data-model-fragments/fragment';\nconst CHAR_LIMIT = 160;\n\nexport default Fragment.extend({\n  localeId: attr('string'),\n  name: attr('string'),\n  title: attr('string'),\n  headline: attr('string'),\n  isSelected: attr('boolean'),\n\n  invalidTitle: and('isSelected', 'missingTitle'),\n  missingTitle: empty('title'),\n\n  invalidHeadline: and('isSelected', 'headlineTooLong'),\n  headlineTooLong: gt('headline.length', CHAR_LIMIT),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\n\nconst IS_VALID_EXTENSION_REGEX = /^\\.[A-Za-z0-9]+$/;\n\nexport default Model.extend({\n  enabled: attr('boolean', { defaultValue: false }),\n  filetypeList: attr('string'),\n  agreedToRisk: attr('boolean', { defaultValue: false }),\n  appId: attr(),\n\n  isFiletypeListValid: computed('filetypeList', function() {\n    if (this.filetypeList) {\n      let items = this.filetypeList\n        .split(',')\n        .map(i => i.trim())\n        .filter(Boolean);\n\n      return items.every(i => IS_VALID_EXTENSION_REGEX.test(i));\n    } else {\n      return true;\n    }\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  location: attr('string', { defaultValue: 'Payment form' }),\n  attemptedAction: attr('string'),\n  comment: attr('string'),\n  appId: attr(),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, hasMany } from '@ember-data/model';\nimport { isEmpty } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport { notEmpty, and, equal, not, match, or, alias, readOnly } from '@ember/object/computed';\nimport { equalsAny } from '@intercom/embercom-core/lib/computed-properties';\nimport AttributeIconMap from 'embercom/models/data/attribute-icon-map';\nimport moment from 'moment';\nimport { inject as service } from '@ember/service';\n\nconst MAX_COMBINED_LENGTH_FOR_BUTTON_GROUP = 18;\nconst MAX_NUMBER_OF_OPTIONS_FOR_BUTTON_GROUP = 4;\n\nlet AttributeModel = Model.extend({\n  appService: service(),\n  currencyTypes: ['company.monthly_spend'],\n  identifier: attr('string', { defaultValue: '' }),\n  name: attr(),\n  humanFriendlyName: alias('human_friendly_name'),\n  human_friendly_name: attr('string', { defaultValue: '' }),\n  type: attr('string', { defaultValue: 'string' }),\n  description: attr(),\n  cda_id: attr(),\n  event_id: attr(),\n  displayable: attr(),\n  filterable: attr(),\n  crm_readable: attr(),\n  crm_writable: attr(),\n  crm_create_only: attr(),\n  templatable: attr(),\n  templatableIdentifier: alias('templatable_identifier'),\n  templatable_identifier: attr(),\n  sortable: attr(),\n  usableInMessageGoal: alias('usable_in_message_goal'),\n  usable_in_message_goal: attr(),\n  archived: attr(),\n  tracked: attr('boolean', { defaultValue: true }),\n  visitorTriggered: alias('visitor_triggered'),\n  visitor_triggered: attr('boolean', { defaultValue: false }),\n  created_at: attr(),\n  noFallback: attr('boolean', { defaultValue: false }),\n  options: hasMany('people/attribute-option', { defaultValue: () => [] }),\n  hasOptions: notEmpty('options'),\n  fitsButtonGroupLayout: computed('options.[]', 'hasOptions', 'options.@each.value', function() {\n    if (!this.hasOptions) {\n      return false;\n    }\n    let numberOfOptions = this.options.length;\n    let maxLengthPerOption = Math.floor(MAX_COMBINED_LENGTH_FOR_BUTTON_GROUP / numberOfOptions);\n    return (\n      MAX_NUMBER_OF_OPTIONS_FOR_BUTTON_GROUP <= 4 &&\n      this.options.every(option => option.get('value.length') <= maxLengthPerOption)\n    );\n  }),\n  invalidOptions: and('hasOptions', 'hasEmptyOptions'),\n  hasEmptyOptions: computed('options.[]', 'options.@each.value', function() {\n    return this.options.any(option => isEmpty(option.value));\n  }),\n  isInvalid: readOnly('invalidOptions'),\n\n  inferredType: computed('hasOptions', 'type', function() {\n    return this.hasOptions ? 'options' : this.type;\n  }),\n  icon: computed('identifiers', 'isStripeType', 'isClearbit', 'isSalesforce', function() {\n    let defaultIcon = 'transfer';\n    let eventIcon = 'event';\n    let stripeIcon = 'stripe';\n    let clearbitIcon = 'clearbit';\n    let salesforceIcon = 'salesforce';\n    if (this.isStripeType) {\n      return stripeIcon;\n    } else if (this.isClearbit) {\n      return clearbitIcon;\n    } else if (this.identifier.indexOf('user_event') === 0) {\n      return eventIcon;\n    } else if (this.isSalesforce) {\n      return salesforceIcon;\n    } else {\n      return AttributeModel.icons[this.identifier] || defaultIcon;\n    }\n  }),\n  nameMatchesRegex(regex) {\n    return regex.test(this.name);\n  },\n  isEmail: equal('identifier', 'email'),\n  isStripeType: computed('identifier', function() {\n    return this.identifier.toLowerCase().indexOf('custom_data.stripe_') === 0;\n  }),\n  isCurrencyType: computed('identifier', function() {\n    return this.currencyTypes.includes(this.identifier);\n  }),\n  isUser: and('isNotCompany', 'isNotCampaign', 'isNotBehavior', 'isNotContentEvent'),\n  canBeUsedForQualification: and('isUser', 'isNotIntegration'),\n  isUserEvent: equal('type', 'user_event'),\n  isCampaignBehavior: equal('type', 'campaign_behavior'),\n  isNotCampaignBehavior: not('isCampaignBehavior'),\n  isUserSortable: and('sortable', 'isUser'),\n  isHiddenForContact: equalsAny('identifier', ['remote_created_at', 'session_count']),\n  isCompany: match('identifier', /^company\\./),\n  isNotCompany: not('isCompany'),\n  isCompanySortable: and('sortable', 'isCompany'),\n  isCampaign: match('identifier', /^campaign\\./),\n  isNotCampaign: not('isCampaign'),\n  isBehavior: match('identifier', /^behavior\\./),\n  isNotBehavior: not('isBehavior'),\n  isClearbit: match('identifier', /^custom_data\\.__integration__clearbit__/),\n  isSalesforce: match('identifier', /^custom_data\\.salesforce_/),\n  isMessage: match('identifier', /^message\\./),\n  isConversation: match('identifier', /^conversation\\./),\n  isContentEvent: equal('type', 'content_event'),\n  isNotContentEvent: not('isContentEvent'),\n  isBrowserAttribute: computed('identifier', function() {\n    return this.identifier.indexOf('user_agent_data') === 0;\n  }),\n  isUserCustomData: computed('identifier', function() {\n    return this.identifier.indexOf('custom_data') === 0;\n  }),\n  isCompanyCustomData: computed('identifier', function() {\n    return this.identifier.indexOf('company.custom_data') === 0;\n  }),\n  isCustomData: computed('identifier', function() {\n    return this.identifier.includes('custom_data');\n  }),\n  isIntegration: match('identifier', /^custom_data\\.__integration__[^_]+__.+/),\n  isNotIntegration: not('isIntegration'),\n  isConfigurable: and('isCustomData', 'isNotIntegration'),\n  settingsPath: computed('isCompany', 'isUserEvent', function() {\n    if (this.isUserEvent) {\n      return 'apps.app.settings.events';\n    } else if (this.isCompany) {\n      return 'apps.app.settings.company-data';\n    } else {\n      return 'apps.app.settings.people-data';\n    }\n  }),\n  isAccountFilter: equal('identifier', 'anonymous'),\n  isDateFilter: computed('type', function() {\n    return ['date', 'user_event_date'].includes(this.type);\n  }),\n  isDescriptionModifiable: or('isConfigurable', 'isUserEvent'),\n  unspacedSanitizedIdentifier: computed('identifier', function() {\n    return this.identifier\n      .replace('\"', '-')\n      .split(' ')\n      .join('-');\n  }),\n  prefixedUnspacedIdentifier: computed('unspacedSanitizedIdentifier', function() {\n    return `data-attribute-${this.unspacedSanitizedIdentifier}`;\n  }),\n  identifierWithoutCompanyPrefix: computed('identifier', function() {\n    return this.identifier.replace(/^company\\./, '');\n  }),\n  androidAttributes: [\n    'last_request_at_android',\n    'session_count_android',\n    'android_app_version',\n    'android_device',\n    'android_os_version',\n  ],\n  isAndroidAttribute: computed('identifier', function() {\n    return this.androidAttributes.includes(this.identifier);\n  }),\n  iosAttributes: [\n    'last_request_at_ios',\n    'session_count_ios',\n    'ios_app_version',\n    'ios_device',\n    'ios_os_version',\n  ],\n  isMobileDeviceFilter: computed('type', function() {\n    return ['ios_device', 'android_device'].includes(this.type);\n  }),\n  isIosAttribute: computed('identifier', function() {\n    return this.iosAttributes.includes(this.identifier);\n  }),\n  realTimeAttributes: ['last_request_at', 'last_request_at_android', 'last_request_at_ios'],\n  isRealTimeAttribute: computed('identifier', function() {\n    return false;\n  }),\n  isClient: computed('identifier', function() {\n    return this.identifier.includes('client_attributes');\n  }),\n  isTimeOnPage: equal('identifier', 'client_attributes.time_on_page'),\n  isClientPageTargeting: equal('identifier', 'client_attributes.last_visited_url'),\n  isPredicatePageTargeting: equal('identifier', 'last_visited_url'),\n  isPredicateUrlVisitTargeting: equal('identifier', 'url_visits'),\n  isPageTarget: or(\n    'isPredicatePageTargeting',\n    'isClientPageTargeting',\n    'isPredicateUrlVisitTargeting',\n  ),\n  isUntracked: not('tracked'),\n  isUntrackedCda: and('cda_id', 'isUntracked'),\n  isUrlVisits: equal('identifier', 'url_visits'),\n  filterPredicates(predicates) {\n    let identifier = this.identifier;\n    if (this.isUserEvent) {\n      return this.findUserEventPredicates(predicates, identifier);\n    } else {\n      return predicates.filterBy('attribute', identifier);\n    }\n  },\n  findUserEventPredicates(predicates, identifier) {\n    return ['.count', '.first', '.last', ''].reduce(function(filteredPredicates, suffix) {\n      let eventPredicateIdentifier = identifier + suffix;\n      return filteredPredicates.concat(predicates.filterBy('attribute', eventPredicateIdentifier));\n    }, []);\n  },\n  requiredFilter: computed(function() {\n    return ['name', 'company.name'].includes(this.identifier);\n  }),\n  userPath: computed(function() {\n    let identifier = this.identifier;\n    return this.isUser ? identifier : identifier.replace(/company\\./, 'companies.firstObject.');\n  }),\n  companyPath: computed(function() {\n    return this.identifier.replace(/^company\\./, '');\n  }),\n  forcedPastFromNow: computed('identifier', function() {\n    let forcedPastIdentifiers = [\n      'last_heard_from_at',\n      'last_request_at',\n      'remote_created_at',\n      'custom_data.installed_at',\n      'custom_data.converted_at',\n      'custom_data.custom_data_installed_at',\n      'last_contacted_at',\n    ];\n    return forcedPastIdentifiers.includes(this.identifierWithoutCompanyPrefix);\n  }),\n  asPredicateFilterObject(value) {\n    if (this.type === 'date') {\n      let date = moment(value);\n      value = { day: date.date(), month: date.month() + 1, year: date.year() };\n    }\n    let comparisonOperator = this._selectEqualityComparator(value);\n    return {\n      predicates: [\n        {\n          comparison: comparisonOperator,\n          value,\n          attribute: this.identifier,\n          type: this.type,\n        },\n      ],\n    };\n  },\n\n  analyticsData: computed('identifier', 'isCustomData', 'type', function() {\n    return {\n      object: 'attribute',\n      attribute_identifier: this.identifier,\n      attribute_is_custom_data: this.isCustomData,\n      attribute_type: this.type,\n    };\n  }),\n\n  _selectEqualityComparator(value) {\n    if (this.type === 'boolean' || this.type === 'anonymous') {\n      return value.toString();\n    } else if (this.isMobileDeviceFilter) {\n      return 'in';\n    }\n    return 'eq';\n  },\n}).reopenClass(AttributeIconMap);\n\nexport default AttributeModel;\n","import { getOwner } from '@ember/application';\nimport Model, { attr, hasMany } from '@ember-data/model';\nimport BannerValidations from 'embercom/validations/banner';\nimport bannerEditorConfigGenerator from 'embercom/objects/content-editor/configuration-generators/banner';\nimport { dependentKeyCompat } from '@ember/object/compat';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\n\nexport const defaultReactions = [\n  {\n    index: 0,\n    unicodeEmoticon: '👍',\n  },\n  {\n    index: 1,\n    unicodeEmoticon: '👎',\n  },\n];\n\nexport default class Banner extends Model.extend(BannerValidations) {\n  @attr('string') action;\n  @attr('string') actionTarget;\n  @attr('string') color;\n  @attr('boolean') dismissOnAction;\n  @hasMany('banners/localized-banner-content', { inverse: 'banner' }) localizedBannerContents;\n  @attr('string') position;\n  @fragmentArray('messages/reaction') reactionSet;\n  @attr('string') style;\n\n  @dependentKeyCompat\n  get contentHash() {\n    return this.localizedBannerContents.map(\n      localizedBannerContent => localizedBannerContent.contentHash,\n    );\n  }\n\n  editorConfig() {\n    let container = getOwner(this);\n    return bannerEditorConfigGenerator({ container, banner: this });\n  }\n\n  @dependentKeyCompat\n  get hasUnsavedChanges() {\n    return (\n      this.hasDirtyAttributes ||\n      this.localizedBannerContents.any(localizedContent => localizedContent.hasUnsavedChanges)\n    );\n  }\n\n  get isBottomPositioned() {\n    return this.position === 'bottom';\n  }\n\n  get isTopPositioned() {\n    return this.position === 'top';\n  }\n\n  get isOpenAURLAction() {\n    return this.action === 'open_a_url';\n  }\n\n  get isReactionAction() {\n    return this.action === 'reaction';\n  }\n\n  get isEmailCollectorAction() {\n    return this.action === 'email_collector';\n  }\n\n  get localizedContents() {\n    return this.localizedBannerContents;\n  }\n\n  rollbackAttributes() {\n    super.rollbackAttributes();\n    this.localizedBannerContents.forEach(content => content.rollbackAttributes());\n  }\n}\n","import Model, { attr, belongsTo } from '@ember-data/model';\nimport { dependentKeyCompat } from '@ember/object/compat';\nimport { inject as service } from '@ember/service';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport Admin from 'embercom/models/admin';\nimport LocalizedBannerContentValidations from 'embercom/validations/localized-banner-content';\n\nconst UNASSIGNED_SENDER = -1;\n\nexport default class LocalizedBannerContent extends Model.extend(\n  LocalizedBannerContentValidations,\n) {\n  @service store;\n\n  @attr('string') actionHref;\n  @attr('string') actionTitle;\n  @belongsTo('banners/banner', { inverse: 'localizedBannerContents' }) banner;\n  @fragmentArray('common/blocks/block', {\n    polymorphic: true,\n    typeKey: 'modelKey',\n  })\n  blocks;\n  @attr('number') fromId;\n  @attr('string') locale;\n  @attr('number') senderType;\n\n  get contentHash() {\n    return {\n      blocks: this.blocks.serialize(),\n    };\n  }\n\n  get from() {\n    if (this.fromId && this.fromId !== UNASSIGNED_SENDER) {\n      return Admin.peekAndMaybeLoad(this.store, this.fromId);\n    }\n  }\n\n  @dependentKeyCompat\n  get hasUnsavedChanges() {\n    return this.hasDirtyAttributes || this.blocks.any(block => block.hasDirtyAttributes);\n  }\n}\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport Countries from 'embercom/lib/countries';\n\nexport default class Address extends Fragment {\n  @attr('string') streetAddress;\n  @attr('string') city;\n  @attr('string') postcode;\n  @attr('string') country;\n  @attr('string') state;\n  get summary() {\n    let summaryElements = [this.city, this.state, this.country];\n    return summaryElements.filter(obj => obj).join(', ');\n  }\n  get inEu() {\n    if (!this.country) {\n      return false;\n    }\n    let country = Countries.allCountries.find(country => country.code === this.country);\n    return country.inEu;\n  }\n}\n","import Model, { attr, belongsTo } from '@ember-data/model';\n\nexport default class Contract extends Model {\n  @attr() appId;\n  @attr('boolean') active;\n  @attr() primarySubscription;\n  @attr() annual;\n  @attr() billingPeriodDurationInMonths;\n  @attr() usageLimitAgreement;\n  @attr() secondarySubscriptions;\n  @attr() billedUsage;\n  @attr() totalUsage;\n  @attr('array') perWorkspaceUsage;\n  @attr() isPrimarySubscription;\n  @attr() isSecondarySubscription;\n  @attr() contractUsageLimits;\n  @attr() numberOfSecondarySubscriptions;\n  @belongsTo('price', { async: false, inverse: null }) currentPrice;\n\n  get contractType() {\n    if (this.annual) {\n      if (this.isPrimarySubscription) {\n        return 'Primary workspace';\n      } else if (this.isSecondarySubscription) {\n        return 'Secondary workspace';\n      }\n    }\n\n    return null;\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { not, gt, or, and, bool, notEmpty } from '@ember/object/computed';\nimport { fragment } from 'ember-data-model-fragments/attributes';\n\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport currencyFormatter from 'embercom/lib/currency-formatter';\nimport ajax from 'embercom/lib/ajax';\nimport moment from 'moment';\n\nexport default Model.extend({\n  billingAddress: fragment('billing/address'),\n  canModifyOrRemoveProducts: attr('boolean'),\n  canAddOrEditCoupon: attr('boolean'),\n  peopleCountLimit: attr(),\n  shouldContactSalesToStartTrial: attr(),\n  cardBrand: attr(),\n  cardExpiryMonth: attr(),\n  cardExpiryYear: attr(),\n  cardLastFour: attr(),\n  contactEmail: attr(),\n  couponCode: attr(),\n  couponExpiresAt: attr(),\n  couponAmountOffInCents: attr(),\n  couponPercentOff: attr(),\n  currentlyOnEarlyStage: attr('boolean'),\n  currentlyOnEarlyStage99: attr('boolean'),\n  entityName: attr(),\n  estimatedMonthlyCost: attr(),\n  freeSeatCount: attr(),\n  hadPreviousSubscription: attr(),\n  hasActiveSubscription: attr(),\n  hasActiveTrialWithoutCreditCard: attr(),\n  hasActiveTrials: attr(),\n  hasCustomPricing: attr(),\n  eligibleForEarlyStage: attr('boolean'),\n  nonIrishVatNumber: attr(),\n  intercomAccountCredit: attr(),\n  lastDailyAppStatCreated: attr('date'),\n  latestUserCount: attr(),\n  latestMonthlyActivePeopleCount: attr(),\n  latestQuarterlyActivePeopleCount: attr(),\n  latestActiveAgentCount: attr(),\n  latestDailyAdminCount: attr(),\n  manuallyInvoiced: attr('boolean'),\n  notifyOfInvoices: attr('boolean'),\n  pricePerSeat: attr(),\n  seatLimit: attr(),\n  shippingAddress: fragment('billing/address'),\n  subscriptionCancelledAt: attr('date'),\n  subscriptionWillBeCancelledAt: attr('date'),\n  subscriptionPricedPerProduct: attr('boolean'),\n  vatNumber: attr(),\n  pendingEarlyStageApplicant: attr('boolean'),\n  isAnnuallyContracted: attr('boolean'),\n  firstTrialStartedAt: attr('date'),\n\n  subscription: fragment('billing/subscription'),\n  earlyStagePartner: attr('boolean'),\n\n  hasNoActiveSubscription: not('hasActiveSubscription'),\n\n  currentEarlyStageCustomer: or('currentlyOnEarlyStage', 'currentlyOnEarlyStage99'),\n\n  canEditCurrentSubscription: computed(\n    'isAnnuallyContracted',\n    'canModifyOrRemoveProducts',\n    function() {\n      return (\n        !this.isAnnuallyContracted &&\n        this.canModifyOrRemoveProducts &&\n        !this.currentEarlyStageCustomer\n      );\n    },\n  ),\n\n  hasBillingAddress: notEmpty('billingAddress'),\n  hasNoBillingAddress: not('hasBillingAddress'),\n  hasShippingAddress: notEmpty('shippingAddress'),\n  hasNoShippingAddress: not('hasShippingAddress'),\n\n  formattedSubscriptionWillBeCancelledAt: computed('subscriptionWillBeCancelledAt', function() {\n    return moment(this.subscriptionWillBeCancelledAt).format(dateAndTimeFormats.dateHumanized);\n  }),\n\n  formattedCardExpiresAt: computed('cardExpiryYear', 'cardExpiryMonth', function() {\n    return moment(`${this.cardExpiryYear}${this.cardExpiryMonth}`, 'YYYYMM').format(\n      dateAndTimeFormats.monthAndYear,\n    );\n  }),\n\n  formattedCouponExpiresAt: computed('couponExpiresAt', function() {\n    if (this.couponExpiresAt) {\n      return `Expires ${moment(this.couponExpiresAt).format(dateAndTimeFormats.dateHumanized)}`;\n    } else {\n      return 'Never expires';\n    }\n  }),\n\n  relativeLastDailyAppStatCreated: computed('lastDailyAppStatCreated', function() {\n    let lastDailyAppStatCreated = this.lastDailyAppStatCreated;\n\n    if (!lastDailyAppStatCreated) {\n      return null;\n    }\n\n    return moment(lastDailyAppStatCreated).fromNow();\n  }),\n\n  validCardFields: and('cardLastFour', 'cardBrand', 'cardExpiryMonth', 'cardExpiryYear'),\n  hasCard: bool('validCardFields'),\n\n  subscriptionWillBeCancelledAndHasCard: and('subscriptionWillBeCancelled', 'hasCard'),\n\n  hasAccountCredit: gt('intercomAccountCredit', 0),\n  formattedAccountCredit: computed('intercomAccountCredit', function() {\n    return currencyFormatter(this.intercomAccountCredit);\n  }),\n\n  timeUntilCardExpiration: computed('cardExpirationDate', function() {\n    let cardExpirationDate = this.cardExpirationDate;\n    return cardExpirationDate ? moment().to(cardExpirationDate) : null;\n  }),\n\n  cardWillExpireWithinOneMonth: computed('cardExpirationDate', function() {\n    let cardExpirationDate = this.cardExpirationDate;\n    let oneMonthFromNow = moment().add(1, 'months');\n    return cardExpirationDate ? cardExpirationDate.isBefore(oneMonthFromNow) : false;\n  }),\n\n  subscriptionWillBeCancelled: bool('subscriptionWillBeCancelledAt'),\n\n  subscriptionWasCancelled: bool('subscriptionCancelledAt'),\n\n  hasEverHadSubscription: or('hasActiveSubscription', 'hadPreviousSubscription'),\n  hasNeverHadSubscription: not('hasEverHadSubscription'),\n\n  latestUserCountDisplayFigure: computed('latestUserCount', function() {\n    let latestUserCount = this.latestUserCount;\n    return latestUserCount > 250 ? latestUserCount : 250;\n  }),\n\n  isUserCountLessThanPriceSetLowerBound: computed(\n    'latestUserCountDisplayFigure',\n    'subscription.priceSetLowerBound',\n    function() {\n      let priceSetLowerBound = this.get('subscription.priceSetLowerBound');\n      let latestUserCountDisplayFigure = this.latestUserCountDisplayFigure;\n\n      if (!priceSetLowerBound) {\n        return false;\n      }\n\n      return latestUserCountDisplayFigure < priceSetLowerBound;\n    },\n  ),\n\n  // User count to use when calculating price\n  billingUserCount: computed(\n    'latestUserCountDisplayFigure',\n    'subscription.priceSetLowerBound',\n    function() {\n      let latestUserCountDisplayFigure = this.latestUserCountDisplayFigure;\n      let priceSetLowerBound = this.get('subscription.priceSetLowerBound');\n\n      return Math.max(latestUserCountDisplayFigure, priceSetLowerBound);\n    },\n  ),\n\n  updateCustomerSolutionId(data) {\n    return ajax({\n      url: `/ember/customers/${this.id}/update_customer_solution_id`,\n      type: 'POST',\n      data: JSON.stringify(data),\n    });\n  },\n\n  changeInvoiceNotificationSettings(data) {\n    return ajax({\n      url: `/ember/customers/${this.id}/change_invoice_notification_settings`,\n      type: 'POST',\n      data: JSON.stringify(data),\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  graduationDate: attr('date'),\n  planIds: attr(),\n  priceSetIdentifier: attr('string'),\n  customerGraduationProcessTriggered: attr('date'),\n  app_id: attr(),\n  recommendedPlanIds: attr('array'),\n});\n","import { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport moment from 'moment';\n\nlet UNITS = {\n  k: 1000,\n  m: 1000000,\n};\n\nexport default Fragment.extend({\n  startedAt: attr('date'),\n  priceSet: attr('string'),\n  invoiceDayOfMonth: attr(),\n  isAnnuallyContracted: attr(),\n  endDate: attr('date'),\n  isAnnualContractPrimarySubscription: attr('boolean'),\n  isAnnualContractSecondarySubscription: attr('boolean'),\n  primarySubscriptionAppIdCode: attr(),\n  primarySubscriptionAppName: attr(),\n  numberOfSecondarySubscriptions: attr(),\n\n  formattedStartedAt: computed('startedAt', function() {\n    let startedAt = this.startedAt;\n\n    if (!startedAt) {\n      return null;\n    }\n\n    return moment(startedAt).format('LL');\n  }),\n\n  priceSetLowerBound: computed('priceSet', function() {\n    let priceSet = this.priceSet;\n\n    if (/up-to-1k/.test(priceSet)) {\n      return 0;\n    }\n\n    let priceSetParts = priceSet.split('--');\n\n    if (!priceSetParts[1]) {\n      return null;\n    }\n\n    let lowerBoundString = priceSetParts[0];\n    let lowerBoundStringChars = lowerBoundString.split('');\n    let unit = lowerBoundStringChars.splice(-1, 1)[0];\n    let number = parseInt(lowerBoundStringChars.join(''), 10);\n\n    return number * UNITS[unit];\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { notEmpty, empty, and } from '@ember/object/computed';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport avatarUtils from '@intercom/embercom-core/lib/avatar-utils';\nimport Admin from 'embercom/models/admin';\n\nexport default Model.extend({\n  app_id: attr(),\n  name: attr(),\n  email: attr(),\n  conversation_id: attr(),\n  blockedAt: attr(),\n  blockedByAutomation: attr(),\n\n  blocked_by_id: attr(),\n  blockedBy: computed('blocked_by_id', function() {\n    return Admin.peekAndMaybeLoad(this.store, this.blocked_by_id);\n  }),\n\n  deletedAvatar: attr(),\n  nameOrEmail: ternaryToProperty('hasEmailOnly', 'email', 'name'),\n  hasEmail: notEmpty('email'),\n  hasNoName: empty('name'),\n  hasEmailOnly: and('hasNoName', 'hasEmail'),\n\n  avatarData: computed('deletedAvatar.{color,image_urls.normal,initials}', function() {\n    let data = this.getProperties(\n      'deletedAvatar.color',\n      'deletedAvatar.image_urls.normal',\n      'deletedAvatar.initials',\n    );\n    return {\n      color: data['deletedAvatar.color'],\n      url: data['deletedAvatar.image_urls.normal'],\n      showAsActive: false,\n      showAsAway: false,\n      initials: avatarUtils.formatInitials(data['deletedAvatar.initials']),\n      isCustomer: true,\n      isTeammate: false,\n      isCompany: false,\n      deleted: false,\n      shouldAnimateUpdate: false,\n    };\n  }),\n});\n","import Model, { attr, belongsTo } from '@ember-data/model';\n\nimport BrandDomainValidations from 'embercom/validations/brand-domain';\n\nexport default class BrandDomain extends Model.extend(BrandDomainValidations) {\n  @attr('string') domain;\n  @belongsTo('brand') brand;\n\n  get isValid() {\n    return this.validations.isValid;\n  }\n\n  get isEmpty() {\n    return this.domain === '';\n  }\n\n  get domainFormatErrorMessage() {\n    if (this.isEmpty) {\n      return;\n    }\n\n    if (this.validations.messages.length > 0) {\n      return this.validations.messages[0];\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport Model, { attr, hasMany } from '@ember-data/model';\nimport { inject as service } from '@ember/service';\nimport BrandValidations from 'embercom/validations/brand';\n\nconst SHORT_COLOR_HEX_REGEX = /^#[A-Fa-f0-9]{3}$/;\nconst MIN_PADDING = 20;\nconst MAX_PADDING = 32767;\n\nexport default class Brand extends Model.extend(BrandValidations) {\n  @service store;\n  @service intercomEventService;\n\n  @hasMany('brand-domain') brandDomains;\n  @attr('string') brandName;\n  @attr('string') messengerLogoUrl;\n  @attr('number') messengerLogoId;\n  @attr('string') messengerActionColor;\n  @attr('string') messengerBackgroundColor;\n  @attr('string') messengerWallpaper;\n  @attr('string') launcherAlignment;\n  @attr('number') launcherHorizontalPadding;\n  @attr('number') launcherVerticalPadding;\n  @attr('string') launcherLogoUrl;\n  @attr('number') launcherLogoId;\n  @attr('boolean', { readOnly: true }) isDefault;\n\n  get changedLauncherLogo() {\n    return !!this.changedAttributes().launcherLogoUrl;\n  }\n\n  addDomain(domain) {\n    this.brandDomains.createRecord({ domain });\n  }\n\n  removeDomain(brandDomain) {\n    this.brandDomains.removeObject(brandDomain);\n  }\n\n  get isValid() {\n    return this.validations.isValid;\n  }\n\n  get brandNameError() {\n    let error = this.validations.errors.findBy('attribute', 'brandName');\n    if (error) {\n      return error.message;\n    }\n    return null;\n  }\n\n  get allDomainsEmpty() {\n    return this.brandDomains.isEvery('isEmpty');\n  }\n\n  get messengerActionColorHex() {\n    return this.messengerActionColor.slice(1);\n  }\n  get messengerBackgroundColorHex() {\n    return this.messengerBackgroundColor.slice(1);\n  }\n  get hasUnsavedChanges() {\n    return this.hasDirtyAttributes && this.validPaddings;\n  }\n  get validPaddings() {\n    return (\n      this.paddingWithinBoundaries(this.launcherHorizontalPadding) &&\n      this.paddingWithinBoundaries(this.launcherVerticalPadding)\n    );\n  }\n  paddingWithinBoundaries(padding) {\n    return Number(padding) >= MIN_PADDING && Number(padding) <= MAX_PADDING;\n  }\n\n  get lookAndFeelSettings() {\n    return this.store.peekAll('messenger-settings/look-and-feel').firstObject;\n  }\n\n  get otherBrands() {\n    return this.lookAndFeelSettings.brands.reject(brand => brand === this);\n  }\n\n  expandShortColorCode(colorProperty) {\n    let color = this[colorProperty];\n    if (SHORT_COLOR_HEX_REGEX.exec(color) === null) {\n      return;\n    }\n    let expandedColor = color.replace(/([A-Fa-f0-9])/g, '$1$1');\n    this[colorProperty] = expandedColor;\n  }\n\n  expandColors() {\n    this.expandShortColorCode('messengerActionColor');\n    this.expandShortColorCode('messengerBackgroundColor');\n  }\n\n  // This is a temporary hack while we add an update endpoint\n  // with logic to identify default brand settings and call the existing commands\n  save() {\n    if (this.isDefault) {\n      return this.lookAndFeelSettings.save();\n    }\n    this.deleteEmptyDomains();\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'save_and_set_live',\n      object: 'messenger_brand',\n      place: 'messenger_settings',\n      section: 'messenger',\n      metadata: {\n        from_modal: false,\n        logo: !!this.messengerLogoUrl,\n        background_color: this.messengerBackgroundColor,\n        action_color: this.messengerActionColor,\n        wallpaper: this.messengerWallpaper,\n        launcher_position: this.launcherAlignment,\n        side_spacing: this.launcherHorizontalPadding,\n        bottom_spacing: this.launcherVerticalPadding,\n      },\n    });\n\n    return super.save().then(() => {\n      // Ember creates duplicate domains from the server response.\n      this.deDupeDomains();\n    });\n  }\n\n  deDupeDomains() {\n    this.brandDomains = this.brandDomains.uniqBy('domain');\n  }\n\n  deleteEmptyDomains() {\n    let emptyDomains = [];\n    this.brandDomains.forEach(brandDomain => {\n      if (!brandDomain.domain || brandDomain.domain === '') {\n        emptyDomains.push(brandDomain);\n      }\n    });\n\n    emptyDomains.forEach(emptyDomain => {\n      this.brandDomains.removeObject(emptyDomain);\n      emptyDomain.unloadRecord();\n    });\n  }\n\n  rollbackAttributes() {\n    let domainsToRollback = [];\n    this.brandDomains.forEach(brandDomain => {\n      if (brandDomain.hasDirtyAttributes) {\n        domainsToRollback.push(brandDomain);\n      }\n    });\n    domainsToRollback.forEach(dirtyBrandDomain => {\n      dirtyBrandDomain.rollbackAttributes();\n    });\n    this.deleteEmptyDomains();\n\n    return super.rollbackAttributes();\n  }\n}\n","import { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  name: attr(),\n  locale_id: attr(),\n\n  predicate: computed('locale_id', function() {\n    return {\n      comparison: 'eq',\n      value: this.locale_id,\n      attribute: 'browser_locales',\n      type: 'browser_locale',\n    };\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Model.extend({\n  meetingDescription: attr(),\n  meetingLink: attr(),\n  connectedAccount: attr(),\n  schedulingCalendarId: attr(),\n  timezone: attr(),\n  availabilities: fragmentArray('settings/time-period'),\n  teammateCalendarUrl: attr('string'),\n  accountEmail: readOnly('connectedAccount'),\n\n  hasUnsavedChanges: readOnly('hasDirtyAttributes'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { isPresent, isBlank } from '@ember/utils';\nimport { A } from '@ember/array';\nimport { computed } from '@ember/object';\n\nexport default Model.extend({\n  appId: attr('string'),\n  campaignId: attr('number'),\n  evaluationCompleted: attr('boolean'),\n  messageId: attr('number'),\n  sampleMatchingUserIds: attr('array'),\n  usersEvaluatedSoFar: attr('number'),\n  usersMatchedSoFar: attr('number'),\n  usersToBeConsidered: attr('number'),\n\n  maxSampleMatchingUsers: 10,\n  sampleMatchingUsers: computed('sampleMatchingUserIds.[]', function() {\n    let sampleMatchingUsers = A();\n    if (isPresent(this.sampleMatchingUserIds)) {\n      this.sampleMatchingUserIds.map(sampleMatchingUserId => {\n        return this.store\n          .findRecord('user', sampleMatchingUserId, { backgrounReload: false })\n          .then(sampleMatchingUser => {\n            sampleMatchingUsers.addObject(sampleMatchingUser);\n            return sampleMatchingUsers;\n          });\n      });\n    }\n    return sampleMatchingUsers;\n  }),\n  usersEvaluatedPercentage: computed(\n    'evaluationCompleted',\n    'usersEvaluatedSoFar',\n    'usersToBeConsidered',\n    function() {\n      if (this.evaluationCompleted) {\n        return 100;\n      }\n      if (\n        isBlank(this.usersToBeConsidered) ||\n        isBlank(this.usersEvaluatedSoFar) ||\n        this.usersToBeConsidered === 0\n      ) {\n        return 0;\n      }\n      return Math.min(\n        100,\n        Math.ceil((100.0 * this.usersEvaluatedSoFar) / this.usersToBeConsidered),\n      );\n    },\n  ),\n});\n","import { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { subtractProperties } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Fragment.extend({\n  campaignId: attr('number'),\n  enteredUserCount: attr('number'),\n  exitedUserCount: attr('number'),\n  goalSuccessCount: attr('number'),\n  currentUserCount: subtractProperties('enteredUserCount', 'exitedUserCount'),\n  goalSuccessRate: computed('enteredUserCount', 'goalSuccessCount', function() {\n    if (this.enteredUserCount === 0) {\n      return 0;\n    }\n    return (this.goalSuccessCount * 100.0) / this.enteredUserCount;\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  title: attr(),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, hasMany, belongsTo } from '@ember-data/model';\nimport { isPresent } from '@ember/utils';\nimport { equal, notEmpty, not, gt, lt, reads, and, readOnly } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { fragment } from 'ember-data-model-fragments/attributes';\nimport { filterByProperty, isAny, isEvery } from '@intercom/embercom-core/lib/computed-properties';\n\nimport StateProperties from 'embercom/models/mixins/common/states/state-properties';\nimport nonconcurrentAjax from 'embercom/lib/nonconcurrent-ajax';\nimport ajax from 'embercom/lib/ajax';\n\nimport moment from 'moment';\n\nexport default Model.extend(StateProperties, {\n  appService: service(),\n\n  title: attr('string'),\n  state: attr('string'),\n  appId: readOnly('app.id'),\n  app: readOnly('appService.app'),\n  createdAt: attr('date'),\n  humanReadableCreationDate: computed('createdAt', function() {\n    return moment(this.createdAt).fromNow();\n  }),\n  lastWentLiveAt: attr('date'),\n  firstWentLiveAt: attr('date'),\n  pausedAt: attr('date'),\n  memberType: attr('string', { defaultValue: 'user' }),\n  isTargetingLeads: equal('memberType', 'lead'),\n  hasMemberTypeChanged: computed('memberType', function() {\n    return isPresent(this.changedAttributes().memberType);\n  }),\n\n  migrationToSeriesHasCompleted: attr('boolean'),\n  migrationToSeriesHasNotCompleted: not('migrationToSeriesHasCompleted'),\n  seriesMigrationStatus: attr('number'),\n  migratedSeries: belongsTo('series/series'),\n\n  migrationToSeriesHasStarted: notEmpty('migratedSeries.id'),\n  migrationToSeriesInProgress: and(\n    'migrationToSeriesHasStarted',\n    'migrationToSeriesHasNotCompleted',\n  ),\n\n  suspendedAt: attr('date'),\n  isSuspended: notEmpty('suspendedAt'),\n  isNotSuspended: not('isSuspended'),\n\n  spacing: attr('number'),\n  spacingInDays: computed('spacing', function() {\n    return this.spacing / 24;\n  }),\n  hasSpacing: gt('spacing', 0),\n  hasNoSpacing: not('hasSpacing'),\n\n  timeLimit: attr('number'),\n\n  messageCounts: fragment('message-counts'),\n\n  entryPredicateGroup: fragment('common/predicate-group'),\n  exitPredicateGroup: fragment('common/predicate-group'),\n\n  messages: hasMany('message'),\n  hasMessages: notEmpty('messages'),\n  hasNoMessages: not('hasMessages'),\n  hasSingleMessage: equal('messages.length', 1),\n  hasMultipleMessages: gt('messages.length', 1),\n  doesNotHaveMultipleMessages: lt('messages.length', 2),\n  allMessagesAreValid: isEvery('messages', 'validationsSucceed'),\n  hasInvalidMessages: not('allMessagesAreValid'),\n  hasValidEntryCriteria: reads('entryPredicateGroup.hasUserAddedPredicates'),\n  hasInvalidEntryCriteria: not('hasValidEntryCriteria'),\n  isValidToSend: and(\n    'hasMessages',\n    'allMessagesAreValid',\n    'hasNoExamplePredicates',\n    'hasValidEntryCriteria',\n  ),\n\n  goalPredicateGroup: fragment('common/predicate-group'),\n  hasGoal: notEmpty('goalPredicateGroup.predicates'),\n  hasNoGoal: not('hasGoal'),\n\n  hasExamplePredicates: isAny('messages', 'hasExamplePredicates'),\n  hasNoExamplePredicates: not('hasExamplePredicates'),\n\n  stats: fragment('campaign-stats'),\n\n  allPredicateGroupsAreValid: and(\n    'entryPredicateGroup.allPredicatesAreValid',\n    'exitPredicateGroup.allPredicatesAreValid',\n    'goalPredicateGroup.allPredicatesAreValid',\n  ),\n  hasInvalidPredicateGroup: not('allPredicateGroupsAreValid'),\n\n  audiencePreviewCount: null,\n\n  suspensionBannerText: computed(function() {\n    return `Your campaign stopped sending when it reached the membership limit (${this.maxUsersInMillions}m members). Change or add some entry rules to set it live again.`;\n  }),\n  maxUsersInMillions: '4',\n\n  anyLiveOrStoppedMessages: filterByProperty('messages', 'state', 'isLiveOrStopped'),\n\n  validate(options = {}) {\n    if (this.hasInvalidPredicateGroup) {\n      return false;\n    }\n    if (\n      this.isNotDraft &&\n      options.allowedAttributes &&\n      this._hasChangesToAttributesOtherThan(options.allowedAttributes)\n    ) {\n      return false;\n    }\n    return true;\n  },\n\n  activate() {\n    return this._post('/ember/campaigns/activate').then(() => this.reload());\n  },\n\n  deactivate() {\n    return this._post('/ember/campaigns/deactivate').then(() => this.reload());\n  },\n\n  duplicate() {\n    return this._post('/ember/campaigns/duplicate');\n  },\n\n  resume(messageIds) {\n    return this._post('/ember/campaigns/resume', { message_ids: messageIds }).then(() =>\n      this.reload(),\n    );\n  },\n\n  openEntry() {\n    return this._post('/ember/campaigns/open_entry').then(() => this.reload());\n  },\n\n  closeEntry() {\n    return this._post('/ember/campaigns/close_entry').then(() => this.reload());\n  },\n\n  assignMessages(message_ids) {\n    return this._post('/ember/campaigns/add', { message_ids }).then(response => {\n      this.reload();\n      return response.updated_at;\n    });\n  },\n\n  transferMessages(messageIds, options = {}) {\n    return this._post('/ember/campaigns/transfer_messages', {\n      message_ids: messageIds,\n      new_folder_id: options.folderId,\n      new_campaign_id: options.campaignId,\n    }).then(response => {\n      this.reload();\n      return response.updated_at;\n    });\n  },\n\n  reorderUsingMessages() {\n    let orderingMap = {};\n    this.messages.forEach(\n      message => (orderingMap[message.get('messageGroupId')] = message.get('messageGroupOrder')),\n    );\n    return this.reorder({ group_ids_and_orders: orderingMap });\n  },\n\n  fetchDraftAudiencePreview(options = {}) {\n    let requiredUsersForUi = 18;\n    return this._post(\n      '/ember/campaigns/search_users',\n      Object.assign(options, {\n        admin_id: this.get('app.currentAdmin.id'),\n        page: 1,\n        per_page: requiredUsersForUi,\n        include_count: true,\n      }),\n    );\n  },\n\n  reorder(options = {}) {\n    return this._post('/ember/campaigns/reorder', options).then(() => {\n      this.reload();\n    });\n  },\n\n  _hasChangesToAttributesOtherThan(keys = []) {\n    let changedKeys = Object.keys(this.changedAttributes());\n    return isPresent(changedKeys) && changedKeys.any(key => !keys.includes(key));\n  },\n\n  _post(url, additionalData = {}) {\n    return nonconcurrentAjax(this, {\n      url,\n      type: 'POST',\n      data: JSON.stringify(Object.assign(additionalData, { id: this.id, app_id: this.appId })),\n    });\n  },\n}).reopenClass({\n  countCampaigns(app) {\n    return ajax({\n      url: '/ember/campaigns/counts',\n      type: 'GET',\n      data: {\n        app_id: app.get('id'),\n      },\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { equal } from '@ember/object/computed';\n\nexport const OTHER_ID = 99;\nexport const IS_SWITCHING_ID = 1;\n\nexport default Model.extend({\n  reasonId: attr('number'),\n  secondaryReasonId: attr('number'),\n  tertiaryReasonId: attr('number'),\n  switchingAnswerId: attr('number'),\n  alternativeProductId: attr('number'),\n  alternativeProductComment: attr('string'),\n  comment: attr('string'),\n  cancellationQuestionResponses: attr('array'),\n\n  secondaryReason: attr('number'),\n  alternativeProduct: attr('number'),\n\n  shouldHaveComment: equal('secondaryReasonId', OTHER_ID),\n  shouldHaveAlternativeProductId: equal('switchingAnswerId', IS_SWITCHING_ID),\n  shouldHaveAlternativeProductComment: equal('alternativeProductId', OTHER_ID),\n});\n","import Model, { attr } from '@ember-data/model';\n\nexport default class CancellationQuestionResponse extends Model {\n  @attr() appId;\n  @attr() adminId;\n  @attr('array') reasonIds;\n  @attr() comment;\n}\n","import Model, { attr, hasMany } from '@ember-data/model';\n\nexport default class CancellationQuestion extends Model {\n  @attr() question;\n  @attr('boolean') multiSelect;\n  @attr('boolean') isFollowUp;\n  @hasMany('cancellation-reason', { inverse: 'cancellationQuestion' }) cancellationReasons;\n}\n","import Model, { attr, belongsTo } from '@ember-data/model';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class CancellationReasonModel extends Model {\n  @attr('string') reason;\n  @attr('boolean') freeTextResponse;\n  @attr('array') followUpQuestionIds;\n  @tracked isChecked = false;\n  @belongsTo('cancellation-question', { inverse: 'cancellationReasons' }) cancellationQuestion;\n\n  reset() {\n    this.isChecked = false;\n  }\n}\n","import Model, { belongsTo, attr } from '@ember-data/model';\nimport { inject as service } from '@ember/service';\nimport fmtStyle from '@intercom/embercom-core/lib/fmt-style';\nimport CarouselActionValidations from 'embercom/validations/carousel-action';\n\nexport default class CarouselAction extends Model.extend(CarouselActionValidations) {\n  @service store;\n  @belongsTo('carousels/carousel-screen', { inverse: 'carouselActions' })\n  carouselScreen;\n  @attr('string') title;\n  @attr('string') type;\n  @attr('number') order;\n  @attr('string') backgroundColor;\n  @attr('string') textColor;\n  @attr('string') androidUri;\n  @attr('string') iosUri;\n\n  get isPrimary() {\n    return this.order === 0;\n  }\n\n  get isSecondary() {\n    return this.order === 1;\n  }\n\n  get style() {\n    let template = 'background-color: %@; color: %@;';\n    return fmtStyle(template, this.backgroundColor, this.textColor, this.textColor);\n  }\n}\n","import Model, { hasMany, belongsTo, attr } from '@ember-data/model';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport { inject as service } from '@ember/service';\nimport { isEmpty } from '@ember/utils';\nimport { defaultTitle, defaultParagraph } from 'embercom/models/data/carousel/default-blocks';\nimport { actionToTypeMap, actionToTitleMap } from 'embercom/models/data/carousel/action-constants';\nimport intercomMessengerColors from '@intercom/intercom-messenger-colors';\nimport rgbaToHex from 'embercom/lib/rgba-to-hex';\nimport CarouselScreenValidations from 'embercom/validations/carousel-screen';\nimport { isNone } from '@ember/utils';\n\nexport default class CarouselScreen extends Model.extend(CarouselScreenValidations) {\n  @service store;\n  @hasMany('carousels/carousel-action', { inverse: 'carouselScreen', async: false })\n  carouselActions;\n  @belongsTo('carousels/localized-carousel-content', { inverse: 'carouselScreens', async: false })\n  localizedCarouselContent;\n  @fragmentArray('common/blocks/block', { polymorphic: true, typeKey: 'modelKey' }) blocks;\n  @attr('string', { defaultValue: '#ffffff' }) backgroundColor;\n  @attr('string', { defaultValue: '#222222' }) textColor;\n  @attr('string', { defaultValue: 'top' }) verticalAlignment;\n  @attr('number') order;\n  @attr('string', { defaultValue: null }) templateId;\n\n  deletedActions = [];\n\n  init() {\n    super.init(...arguments);\n    this._setupDefaultScreen();\n  }\n\n  get isLastScreen() {\n    return this.order === this.localizedCarouselContent.get('carouselScreens').length - 1;\n  }\n\n  get sortedCarouselActions() {\n    return this.carouselActions.sortBy('order').reverseObjects();\n  }\n\n  get requestsPermission() {\n    return this.primaryAction.type.includes('permission');\n  }\n\n  get primaryAction() {\n    return this.carouselActions.find(action => action.isPrimary);\n  }\n\n  _setupDefaultScreen() {\n    if (isEmpty(this.blocks)) {\n      let headingBlock = this.store.createFragment('common/blocks/heading', defaultTitle);\n      let paragraphBlock = this.store.createFragment('common/blocks/paragraph', defaultParagraph);\n      this.blocks = [headingBlock, paragraphBlock];\n    }\n    if (isEmpty(this.carouselActions)) {\n      this.createPrimaryAction('dismiss');\n    }\n  }\n\n  beforeSave() {\n    this._clearEmptyImageTextBlocks();\n  }\n\n  afterSave() {\n    this._clearUnsavedCarouselScreenActions();\n  }\n\n  rollbackAttributes() {\n    this._clearUnsavedCarouselScreenActions();\n    this.deletedActions.forEach(action => this.carouselActions.pushObject(action));\n    this.carouselActions.forEach(action => action.rollbackAttributes());\n    this.carouselActions = this.carouselActions.sortBy('order');\n    super.rollbackAttributes();\n    this.deletedActions = [];\n  }\n\n  createPrimaryAction(action) {\n    return this._createAction(action, 0, this.generatePrimaryActionColors());\n  }\n\n  createSecondaryAction(action) {\n    return this._createAction(action, 1, this.generateSecondaryActionColors());\n  }\n\n  generatePrimaryActionColors() {\n    let messengerColors = this._messengerColors();\n    if (messengerColors) {\n      return {\n        backgroundColor: rgbaToHex(messengerColors.button_background_color).substring(0, 7),\n        textColor: rgbaToHex(messengerColors.button_text_color).substring(0, 7),\n      };\n    } else {\n      return {};\n    }\n  }\n\n  generateSecondaryActionColors() {\n    let messengerColors = this._messengerColors();\n    if (messengerColors) {\n      return {\n        backgroundColor: rgbaToHex(messengerColors.quick_reply_background_color).substring(0, 7),\n        textColor: rgbaToHex(messengerColors.quick_reply_text_color).substring(0, 7),\n      };\n    } else {\n      return {};\n    }\n  }\n\n  clearActions() {\n    this.carouselActions.forEach(action => {\n      if (action.id) {\n        this.deletedActions.push(action);\n      }\n    });\n    this.carouselActions.clear();\n  }\n\n  _messengerColors() {\n    let primaryColor = this.get('localizedCarouselContent.carousel.actionsColor');\n    if (primaryColor) {\n      return intercomMessengerColors({\n        primaryColor,\n        darkenAmount: 10,\n      });\n    }\n  }\n\n  _createAction(action, order, colors) {\n    let actionRecord = this.store.createRecord('carousels/carousel-action', {\n      type: actionToTypeMap[action],\n      title: actionToTitleMap[action],\n      order,\n      backgroundColor: colors.backgroundColor,\n      textColor: colors.textColor,\n    });\n    this.carouselActions.pushObject(actionRecord);\n    return actionRecord;\n  }\n\n  _clearUnsavedCarouselScreenActions() {\n    this.carouselActions\n      .filter(carouselAction => isNone(carouselAction.id))\n      .forEach(carouselAction => {\n        this.store.unloadRecord(carouselAction);\n      });\n  }\n\n  _clearEmptyImageTextBlocks() {\n    this.blocks\n      .filter(block => block.type === 'imageText' && (isNone(block.text) || isNone(block.imageUrl)))\n      .forEach(block => {\n        this.blocks.removeObject(block);\n      });\n  }\n}\n","import Model, { hasMany, attr } from '@ember-data/model';\nimport CarouselValidations from 'embercom/validations/carousel';\nimport { getOwner } from '@ember/application';\nimport carouselEditConfigGenerator from 'embercom/objects/content-editor/configuration-generators/carousel';\nimport { preferredDevices } from 'embercom/models/data/outbound/constants';\nimport { dependentKeyCompat } from '@ember/object/compat';\n\nexport default class Carousel extends Model.extend(CarouselValidations) {\n  @hasMany('carousels/localized-carousel-content', { inverse: 'carousel', async: false })\n  localizedCarouselContents;\n  @attr('string') dismissible;\n  @attr('array') preferredDevices;\n\n  @attr('string') textColor;\n  @attr('string') backgroundColor;\n  @attr('string') actionsColor;\n  @attr('string', { defaultValue: 'top' }) verticalAlignment;\n\n  @attr('number') targetUserGroup;\n  @attr('date') updatedAt;\n\n  @dependentKeyCompat\n  get contentHash() {\n    return {\n      dismissible: this.dismissible,\n      verticalAlignment: this.verticalAlignment,\n      preferredDevices: this.preferredDevices,\n      localizedCarouselContents: this.localizedCarouselContents.map(\n        localizedCarouselContent => localizedCarouselContent.contentHash,\n      ),\n    };\n  }\n\n  @dependentKeyCompat\n  get hasUnsavedChanges() {\n    return (\n      this.hasDirtyAttributes ||\n      this.localizedCarouselContents.any(localizedContent => localizedContent.hasUnsavedChanges)\n    );\n  }\n\n  editorConfig() {\n    let container = getOwner(this);\n    return carouselEditConfigGenerator({ container });\n  }\n\n  get hasAndroidAsPreferredDevice() {\n    return this.preferredDevices.includes(preferredDevices.android);\n  }\n\n  get hasIosAsPreferredDevice() {\n    return this.preferredDevices.includes(preferredDevices.ios);\n  }\n\n  rollbackAttributes() {\n    this.localizedCarouselContents.forEach(localizedCarouselContent =>\n      localizedCarouselContent.rollbackAttributes(),\n    );\n    super.rollbackAttributes();\n  }\n\n  beforeSave() {\n    this.localizedCarouselContents.forEach(localizedCarouselContent =>\n      localizedCarouselContent.beforeSave(),\n    );\n  }\n\n  afterSave() {\n    this.localizedCarouselContents.forEach(localizedCarouselContent =>\n      localizedCarouselContent.afterSave(),\n    );\n  }\n}\n","import Model, { hasMany, belongsTo, attr } from '@ember-data/model';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { isEmpty, isNone } from '@ember/utils';\nimport LocalizedCarouselContentValidations from 'embercom/validations/localized-carousel-content';\nimport {\n  lastScreenOptionsValues,\n  permissionTypeValues,\n} from 'embercom/models/data/carousel/action-constants';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class localizedCarouselContent extends Model.extend(\n  LocalizedCarouselContentValidations,\n) {\n  @service store;\n  @service appService;\n  @tracked screenWhoseButtonActionHasBeenChanged = null;\n\n  @hasMany('carousels/carousel-screen', { inverse: 'localizedCarouselContent', async: false })\n  carouselScreens;\n  @belongsTo('carousels/carousel', { inverse: 'localizedCarouselContents', async: false }) carousel;\n  @attr('string') locale;\n\n  get hasUnsavedChanges() {\n    return this.hasDirtyAttributes;\n  }\n\n  deletedScreens = [];\n\n  init() {\n    super.init(...arguments);\n    if (isEmpty(this.carouselScreens)) {\n      this._setupDefaultScreens();\n    }\n  }\n\n  getLastScreen() {\n    return this.carouselScreens.findBy('order', this.carouselScreens.length - 1);\n  }\n\n  @action hideButtonAutoArrangeHelperText() {\n    this.screenWhoseButtonActionHasBeenChanged = null;\n  }\n\n  get showButtonOrderingHelperText() {\n    return this.screenWhoseButtonActionHasBeenChanged;\n  }\n\n  get contentHash() {\n    let hash = this.serialize();\n    delete hash['id'];\n    delete hash['carousel'];\n    hash.carousel_screens.forEach(screen => {\n      delete screen['id'];\n      delete screen['localized_carousel_content'];\n      screen.carousel_actions.forEach(action => {\n        delete action['id'];\n        delete action['carousel_screen'];\n      });\n    });\n    return hash;\n  }\n\n  async _setupDefaultScreens() {\n    let appId = this.appService.app.id;\n    let lookAndFeel = await this.store.findRecord('messenger-settings/look-and-feel', appId);\n    this.setTransientAppearanceProperties(lookAndFeel);\n    let firstScreen = this._createScreen(lookAndFeel, 0);\n    firstScreen.clearActions();\n    firstScreen.createPrimaryAction('continue');\n\n    this.carouselScreens.pushObject(firstScreen);\n\n    let lastScreen = this._createScreen(lookAndFeel, 1);\n    this.carouselScreens.pushObject(lastScreen);\n    this.carousel.save();\n  }\n\n  _createScreen(lookAndFeel, order) {\n    return this.store.createRecord('carousels/carousel-screen', {\n      order,\n      backgroundColor: '#ffffff',\n      textColor: '#222222',\n      actionsColor: lookAndFeel.get('defaultBrand.messengerActionColor'),\n      localizedCarouselContent: this,\n    });\n  }\n\n  beforeSave() {\n    this.carouselScreens.forEach(screen => screen.beforeSave());\n  }\n\n  afterSave() {\n    this._clearUnsavedCarouselScreens();\n    this.carouselScreens.forEach(screen => screen.afterSave());\n  }\n\n  rollbackAttributes() {\n    this._clearUnsavedCarouselScreens();\n    this.deletedScreens.forEach(screen => this.carouselScreens.pushObject(screen));\n    this.carouselScreens.forEach(screen => screen.rollbackAttributes());\n    this.carouselScreens = this.carouselScreens.sortBy('order');\n    super.rollbackAttributes();\n    this.deletedScreens = [];\n  }\n\n  setTransientAppearanceProperties(lookAndFeel) {\n    this.carousel.set('backgroundColor', '#ffffff');\n    this.carousel.set('textColor', '#222222');\n    this.carousel.set('actionsColor', lookAndFeel.get('defaultBrand.messengerActionColor'));\n    this.carousel.set('verticalAlignment', 'top');\n  }\n\n  addScreen() {\n    let lastScreen = this.getLastScreen();\n    if (lastScreenOptionsValues.includes(lastScreen.primaryAction.type)) {\n      this._showBannerIfRequired(lastScreen);\n      lastScreen.clearActions();\n      lastScreen.createPrimaryAction('continue');\n    }\n    // add a new screen\n    this.store.createRecord('carousels/carousel-screen', {\n      backgroundColor: this.carousel.get('backgroundColor'),\n      textColor: this.carousel.get('textColor'),\n      localizedCarouselContent: this,\n      verticalAlignment: this.carousel.get('verticalAlignment'),\n    });\n    this.resetOrderOfCarouselScreens();\n  }\n\n  reorderScreens(screens) {\n    let lastScreen = screens.lastObject;\n    let lastScreenActionType = lastScreen.primaryAction.type;\n    if (\n      !lastScreenOptionsValues.includes(lastScreenActionType) &&\n      !permissionTypeValues.includes(lastScreenActionType)\n    ) {\n      lastScreen.clearActions();\n      lastScreen.createPrimaryAction('dismiss');\n    }\n    screens.map(screen => {\n      if (screen.order !== lastScreen.order) {\n        if (lastScreenOptionsValues.includes(screen.primaryAction.type)) {\n          this._showBannerIfRequired(screen);\n          screen.clearActions();\n          screen.createPrimaryAction('continue');\n        }\n      }\n      return screen;\n    });\n    this.carouselScreens = screens;\n  }\n\n  removeScreen(index) {\n    this.deletedScreens.push(this.carouselScreens.objectAt(index));\n    this.carouselScreens.removeAt(index);\n    this.resetOrderOfCarouselScreens();\n    let lastScreen = this.carouselScreens.lastObject;\n    let lastScreenActionType = lastScreen.primaryAction.type;\n    if (\n      !lastScreenOptionsValues.includes(lastScreenActionType) &&\n      !permissionTypeValues.includes(lastScreenActionType)\n    ) {\n      lastScreen.clearActions();\n      lastScreen.createPrimaryAction('dismiss');\n    }\n  }\n\n  resetOrderOfCarouselScreens() {\n    this.carouselScreens.forEach((cs, index) => (cs.order = index));\n  }\n\n  _clearUnsavedCarouselScreens() {\n    this.carouselScreens\n      .filter(carouselScreen => isNone(carouselScreen.id))\n      .forEach(carouselScreen => {\n        this.store.unloadRecord(carouselScreen);\n      });\n  }\n\n  _showBannerIfRequired(screen) {\n    if (screen.primaryAction.type !== 'dismiss') {\n      this.screenWhoseButtonActionHasBeenChanged = screen.order + 1;\n    }\n  }\n}\n","import { getOwner } from '@ember/application';\nimport { inject as service } from '@ember/service';\nimport Model, { attr, hasMany } from '@ember-data/model';\nimport ChatValidations from 'embercom/validations/chat';\nimport chatEditConfigGenerator from 'embercom/objects/content-editor/configuration-generators/chat';\nimport { dependentKeyCompat } from '@ember/object/compat';\nimport { preferredDevices } from 'embercom/models/data/outbound/constants';\nimport {\n  hasiOSSessionsPredicate,\n  hasAndroidSessionsPredicate,\n} from 'embercom/models/mobile-push/push';\n\nexport const replyTypeOptions = {\n  text: 0,\n  emailCollector: 1,\n};\n\nexport const hasUnknownEmailPredicate = {\n  attribute: 'email',\n  type: 'string',\n  comparison: 'unknown',\n  value: '',\n};\n\nexport default class Chat extends Model.extend(ChatValidations) {\n  @service store;\n\n  @attr('number') replyType;\n  @attr('number') sentAs;\n  @attr() sendPushNotification;\n  @attr('array') preferredDevices;\n  @attr('string') showUntil;\n  @hasMany('chats/localized-chat-content', { inverse: 'chat' }) localizedChatContents;\n\n  @dependentKeyCompat\n  get contentHash() {\n    return this.localizedChatContents.map(localizedChatContent => localizedChatContent.contentHash);\n  }\n\n  @dependentKeyCompat\n  get hasUnsavedChanges() {\n    return (\n      this.hasDirtyAttributes ||\n      this.localizedChatContents.any(localizedContent => localizedContent.hasUnsavedChanges)\n    );\n  }\n\n  get localizedContents() {\n    return this.localizedChatContents;\n  }\n\n  @dependentKeyCompat\n  get hasEmailCollector() {\n    return this.replyType === replyTypeOptions.emailCollector;\n  }\n\n  @dependentKeyCompat\n  get implicitPredicates() {\n    // Any changes to this function should be made to the backend version too.\n    let predicates = [];\n\n    if (\n      this.preferredDevices.length === 2 &&\n      this.preferredDevices.includes(preferredDevices.ios) &&\n      this.preferredDevices.includes(preferredDevices.android)\n    ) {\n      predicates.push({\n        type: 'or',\n        predicates: [hasAndroidSessionsPredicate, hasiOSSessionsPredicate],\n      });\n    } else if (\n      this.preferredDevices.length === 1 &&\n      this.preferredDevices[0] === preferredDevices.android\n    ) {\n      predicates.push(hasAndroidSessionsPredicate);\n    } else if (\n      this.preferredDevices.length === 1 &&\n      this.preferredDevices[0] === preferredDevices.ios\n    ) {\n      predicates.push(hasiOSSessionsPredicate);\n    }\n\n    if (this.isEmailCollectorReply) {\n      predicates.push(hasUnknownEmailPredicate);\n    }\n    return predicates;\n  }\n\n  editorConfig() {\n    let container = getOwner(this);\n    return chatEditConfigGenerator({ container });\n  }\n\n  get isTextReply() {\n    return this.replyType === replyTypeOptions.text;\n  }\n\n  get isEmailCollectorReply() {\n    return this.replyType === replyTypeOptions.emailCollector;\n  }\n\n  rollbackAttributes() {\n    super.rollbackAttributes();\n    this.localizedChatContents.forEach(content => content.rollbackAttributes());\n  }\n}\n","import Model, { attr, belongsTo } from '@ember-data/model';\nimport { dependentKeyCompat } from '@ember/object/compat';\nimport { inject as service } from '@ember/service';\nimport { fragment, fragmentArray } from 'ember-data-model-fragments/attributes';\nimport Admin from 'embercom/models/admin';\nimport { defaultBlockWithModelKey, senderTypes } from 'embercom/models/data/outbound/constants';\nimport LocalizedChatContentValidations from 'embercom/validations/localized-chat-content';\n\nexport default class LocalizedChatContent extends Model.extend(LocalizedChatContentValidations) {\n  @service store;\n  @belongsTo('chats/chat', { inverse: 'localizedChatContents' }) chat;\n  @fragmentArray('common/blocks/block', {\n    polymorphic: true,\n    typeKey: 'modelKey',\n    defaultValue: () => [defaultBlockWithModelKey],\n  })\n  blocks;\n  @attr('string') locale;\n  @attr('string') senderId;\n  @attr('string') assignToId;\n  @attr('number') senderType;\n  @attr('number') assignToType;\n  @fragment('content-service/follow-up-actions') followUpActions;\n\n  get isSenderOwner() {\n    return this.senderType === senderTypes.owner;\n  }\n\n  get isAssignToOwner() {\n    return this.assignToType === senderTypes.owner;\n  }\n\n  get contentHash() {\n    let hash = this.serialize();\n    delete hash['chat'];\n    delete hash['id'];\n    return hash;\n  }\n\n  @dependentKeyCompat\n  get hasUnsavedChanges() {\n    return this.hasDirtyAttributes || this.blocks.any(block => block.hasDirtyAttributes);\n  }\n\n  get sender() {\n    return Admin.peekAndMaybeLoad(this.store, this.senderId);\n  }\n\n  get assignTo() {\n    return Admin.peekAndMaybeLoad(this.store, this.assignToId);\n  }\n\n  get senderName() {\n    return this.sender.firstNameOrNameOrEmail || 'Unknown';\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  domain: attr('string'),\n});\n","import Block from './block';\nimport { notEmpty } from '@ember/object/computed';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\n\nexport default Block.extend({\n  attachments: fragmentArray('common/blocks/attachment'),\n  hasContent: notEmpty('attachments'),\n});\n","import { attr } from '@ember-data/model';\nimport MF from 'ember-data-model-fragments';\n\nexport default MF.Fragment.extend({\n  attachmentId: attr(),\n  name: attr(),\n  size: attr(),\n  contentType: attr(),\n  url: attr(),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  type: attr('string'),\n\n  hasContent: true,\n});\n","import { attr } from '@ember-data/model';\nimport Block from './block';\n\nexport default Block.extend({\n  text: attr('string'),\n  align: attr('string'),\n  linkUrl: attr('string'),\n  trackingLinkUrl: attr('string'),\n});\n","import { attr } from '@ember-data/model';\nimport Block from './block';\nimport { notEmpty } from '@ember/object/computed';\n\nexport default Block.extend({\n  text: attr('string'),\n  language: attr('string'),\n\n  hasContent: notEmpty('text'),\n});\n","import { attr } from '@ember-data/model';\nimport Block from './block';\n\nexport default Block.extend({\n  url: attr('string'),\n});\n","import TextBlock from './text-block';\n\nexport default TextBlock.extend({});\n","import { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport Block from './block';\n\nexport default Block.extend({\n  header: attr('string'),\n  content: attr('string'),\n  footer: attr('string'),\n  combinedHtml: computed('header', 'content', 'footer', function() {\n    return `${this.header}${this.content}${this.footer}`;\n  }),\n});\n","import { attr } from '@ember-data/model';\nimport Block from './block';\n\nexport default Block.extend({\n  imageUrl: attr('string'),\n  text: attr('string'),\n  title: attr('string'),\n});\n","import { attr } from '@ember-data/model';\nimport { gt } from '@ember/object/computed';\nimport Block from './block';\n\nconst PLAIN_TEMPLATE_MAX_WIDTH = 600;\n\nexport default Block.extend({\n  url: attr('string'),\n  linkUrl: attr('string'),\n  trackingLinkUrl: attr('string'),\n  width: attr('number'),\n  height: attr('number'),\n  text: attr('string'),\n  align: attr('string'),\n  isWiderThanMaxPlainTemplateWidth: gt('width', PLAIN_TEMPLATE_MAX_WIDTH),\n});\n","import { attr } from '@ember-data/model';\nimport Block from './block';\n\nexport default Block.extend({\n  type: attr('string'),\n  text: attr('string'),\n  url: attr('string'),\n  title: attr('string'),\n  description: attr('string'),\n  linkType: attr('string'),\n  siteName: attr('string'),\n  author: attr(),\n  image: attr(),\n  createdAt: attr('string'),\n  updatedAt: attr('string'),\n  articleId: attr('string'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { attr } from '@ember-data/model';\nimport Block from './block';\nimport JsonType from 'embercom/models/types/json';\nimport { computed } from '@ember/object';\nimport { notEmpty } from '@ember/object/computed';\n\nexport default Block.extend({\n  canvas: attr(JsonType),\n  messenger_app_id: attr('number'),\n  text: attr('string'),\n  uri: attr('string'),\n\n  isStaticCanvas: notEmpty('canvas.content'),\n  isTourCard: computed('canvas', 'isStaticCanvas', function() {\n    return (\n      this.isStaticCanvas &&\n      this.get('canvas.content.components').any(component => component.id === 'tour')\n    );\n  }),\n});\n","import { attr } from '@ember-data/model';\nimport Block from './block';\nimport { notEmpty } from '@ember/object/computed';\n\nexport default Block.extend({\n  items: attr('array'),\n\n  hasContent: notEmpty('items'),\n});\n","import TextBlock from './text-block';\n\nexport default TextBlock.extend({});\n","import TextBlock from './text-block';\n\nexport default TextBlock.extend({});\n","import { attr } from '@ember-data/model';\nimport Block from './block';\nimport { computed } from '@ember/object';\nimport { isBlank } from '@ember/utils';\nimport { htmlToTextContent } from 'embercom/lib/html-unescape';\n\nexport default Block.extend({\n  text: attr('string'),\n  align: attr('string'),\n  isText: true,\n\n  hasContent: computed('text', function() {\n    let unescapedText = htmlToTextContent(this.text);\n    return !isBlank(unescapedText);\n  }),\n});\n","import { attr } from '@ember-data/model';\nimport Block from './block';\n\nexport default Block.extend({\n  username: attr('string'),\n});\n","import { attr } from '@ember-data/model';\nimport Block from './block';\nimport { notEmpty } from '@ember/object/computed';\n\nexport default Block.extend({\n  items: attr('array'),\n  hasContent: notEmpty('items'),\n});\n","import { attr } from '@ember-data/model';\nimport Block from './block';\n\nexport default Block.extend({\n  type: attr('string'),\n  url: attr('string'),\n  thumbnailUrl: attr('string'),\n  captions: attr('string'),\n  duration: attr('number'),\n});\n","import { attr } from '@ember-data/model';\nimport Block from './block';\n\nexport default Block.extend({\n  videoId: attr('string'),\n  provider: attr('string'),\n  text: attr('string'),\n  trackingLinkUrl: attr('string'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { get, computed } from '@ember/object';\nimport { isEmpty, isNone } from '@ember/utils';\nimport { notEmpty, filterBy, not } from '@ember/object/computed';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport {\n  findBy,\n  isEvery,\n  ternary,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport PredicateGroupValidations from 'embercom/validations/common/predicate-group';\nimport { USER_ROLE_PREDICATE, LEAD_ROLE_PREDICATE } from 'embercom/lib/default-predicates';\nimport { EXCLUDE_DISENGAGED_USERS_PREDICATE } from 'embercom/models/data/messages/message-defaults';\n\nexport default Fragment.extend(PredicateGroupValidations, {\n  predicates: fragmentArray('common/predicate', {\n    defaultValue: () => [],\n  }),\n  allPredicatesAreValid: isEvery('predicates', 'isValid'),\n  hasPredicates: notEmpty('predicates'),\n\n  orPredicate: findBy('predicates', 'isOrPredicate'),\n  userTypePredicate: findBy('predicates', 'isUserPredicate'),\n  emailDisengagementPredicate: findBy('predicates', 'isEmailDisengagementType'),\n  hasEmailDisengagementPredicate: notEmpty('emailDisengagementPredicate'),\n  userAddedPredicates: filterBy('basePredicates', 'isEditable'),\n  hasNoUserAddedPredicates: not('hasUserAddedPredicates'),\n  predicatesForSummary: computed('basePredicates', function() {\n    return this.basePredicates.filter(p => p.isEditable || p.isLogicalType);\n  }),\n  hasUserAddedPredicates: computed('basePredicates', function() {\n    return this.basePredicates.any(p => p.isEditable || p.isLogicalType);\n  }),\n  isOrMode: notEmpty('orPredicate'),\n  isAndMode: not('isOrMode'),\n  basePredicates: ternaryToProperty(\n    'logicalPredicate',\n    'logicalPredicate.predicates',\n    'predicates',\n  ),\n  logicalPredicate: findBy('predicates', 'isLogicalType', true),\n  joinType: ternary('isAndMode', 'and', 'or'),\n  alternateJoinType: ternary('isOrMode', 'and', 'or'),\n\n  switchJoinType(type) {\n    if (type === 'or') {\n      this.switchToOrJoinType();\n    } else if (type === 'and') {\n      this.switchToAndJoinType();\n    }\n  },\n\n  switchToOrJoinType() {\n    this._switchJoinType('or', (userAddedPredicates, userTypePredicate) => {\n      let orPredicate = this.store.createFragment('common/predicate', { type: 'or' });\n      orPredicate.set('predicates', userAddedPredicates);\n      return this._joinedPredicatesWithNonUserAddedPredicates([orPredicate], userTypePredicate);\n    });\n  },\n\n  switchToAndJoinType() {\n    this._switchJoinType('and', this._joinedPredicatesWithNonUserAddedPredicates);\n  },\n\n  _switchJoinType(type, switchFunction) {\n    if (type === this.alternateJoinType) {\n      let userTypePredicate = this.userTypePredicate;\n      let userAddedPredicates = this._copyPredicates(this.userAddedPredicates);\n      Em.changeProperties(() => {\n        let joinedPredicates = switchFunction(userAddedPredicates, [userTypePredicate]);\n        let predicates = this.predicates;\n        predicates.clear();\n        predicates.addObjects(joinedPredicates);\n      });\n    }\n  },\n\n  // NOTE - Fragments can only belong to a single owner.\n  // When switching join type we must create new models\n  // instead of directly inserting existing predicates.\n  _copyPredicates(predicates) {\n    return isEmpty(predicates)\n      ? []\n      : predicates.map(predicate =>\n          this.store.createFragment('common/predicate', predicate.toJSON()),\n        );\n  },\n\n  _joinedPredicatesWithNonUserAddedPredicates(predicates, nonUserAddedPredicates) {\n    nonUserAddedPredicates = nonUserAddedPredicates.filter(predicate => !isNone(predicate));\n    return nonUserAddedPredicates.concat(predicates);\n  },\n\n  addJSONPredicate(predicateJSON, options = { forceTopLevelInsertion: false }) {\n    this.addPredicate(this.store.createFragment('common/predicate', predicateJSON), options);\n  },\n\n  addJSONPredicateWithDefaults(predicateJSON, options = { forceTopLevelInsertion: false }) {\n    let predicate = this.store.createFragment('common/predicate', predicateJSON);\n    if (!predicate.get('isCampaignGoalType')) {\n      predicate.changeComparison(predicate.getDefaultComparison(options));\n      predicate.changeValue(predicate.getDefaultValue(options));\n    }\n    this.addPredicate(predicate, options);\n  },\n\n  addPredicate(predicate, options = { forceTopLevelInsertion: false }) {\n    if (get(predicate, 'constructor.modelName') !== 'common/predicate') {\n      throw new Error(`Expected object of type 'common/predicate' to be passed to addPredicate().\n        If you are using raw JSON predicates, use the addJSONPredicate() function.`);\n    } else {\n      let predicates = options.forceTopLevelInsertion ? this.predicates : this.basePredicates;\n      predicates.addObject(predicate);\n    }\n  },\n\n  addPredicateFromAttribute(attribute, options = { forceTopLevelInsertion: false }) {\n    let identifier = attribute.get('identifier');\n    let type = attribute.get('type');\n    if (attribute.get('isUserEvent')) {\n      identifier += '.count';\n      type += '_integer';\n    }\n    this.addJSONPredicateWithDefaults(\n      {\n        attribute: identifier,\n        type,\n      },\n      options,\n    );\n  },\n\n  removePredicate(predicate, options = { forceTopLevelRemoval: false }) {\n    let predicates = options.forceTopLevelRemoval ? this.predicates : this.basePredicates;\n    predicates.removeObject(predicate);\n  },\n\n  predicatesAsJSON: computed(\n    'predicates.@each.{value,comparison,predicates}',\n    'basePredicates.@each.{value,comparison,predicates}',\n    function() {\n      return this.predicates.map(predicate => predicate.toJSON());\n    },\n  ),\n\n  userAddedPredicatesAsJSON: computed('predicates.@each.{value,comparison,predicates}', function() {\n    return this.userAddedPredicates.map(predicate => predicate.toJSON());\n  }),\n\n  predicateDescriptions: computed('predicates.@each.{value,comparison,predicates}', function() {\n    return this.predicates.map(predicate => predicate.get('description'));\n  }),\n\n  userAddedPredicateDescriptions: computed(\n    'predicates.@each.{value,comparison,predicates}',\n    function() {\n      return this.predicates\n        .rejectBy('isUserPredicate')\n        .map(predicate => predicate.get('description'));\n    },\n  ),\n\n  baseUserAddedGoalPredicateDescriptions: computed(\n    'predicates.@each.{value,comparison,predicates}',\n    function() {\n      return this.basePredicates\n        .rejectBy('isUserPredicate')\n        .map(predicate => predicate.get('goalDescription'));\n    },\n  ),\n\n  baseUserAddedPredicateDescriptions: computed(\n    'basePredicates.@each.{value,comparison,predicates}',\n    function() {\n      return this.basePredicates\n        .rejectBy('isUserPredicate')\n        .map(predicate => predicate.get('description'));\n    },\n  ),\n\n  _generateJoinTypePredicate(joinType) {\n    let userAddedPredicates = this._copyPredicates(this.userAddedPredicates);\n    if (joinType === 'or') {\n      let orPredicate = this.store.createFragment('common/predicate', { type: 'or' });\n      orPredicate.set('predicates', userAddedPredicates);\n      return [orPredicate];\n    } else if (joinType === 'and') {\n      return userAddedPredicates;\n    }\n  },\n\n  _getLogicalPredicates() {\n    return this.isOrMode ? [this.orPredicate] : this._copyPredicates(this.userAddedPredicates);\n  },\n\n  _generateUserTypePredicate(userType) {\n    if (userType === 'user') {\n      return this.store.createFragment('common/predicate', USER_ROLE_PREDICATE);\n    } else if (userType === 'lead') {\n      return this.store.createFragment('common/predicate', LEAD_ROLE_PREDICATE);\n    }\n    throw new Error('Unknown user type');\n  },\n\n  _generateDisengagedPredicate(includeEmailDisengagementPredicate) {\n    return includeEmailDisengagementPredicate\n      ? this.store.createFragment('common/predicate', EXCLUDE_DISENGAGED_USERS_PREDICATE)\n      : null;\n  },\n\n  generatePredicatesWithNewUserType(userType) {\n    return this._generatePredicates({ userType });\n  },\n\n  generatePredicatesWithNewJoinType(joinType) {\n    return this._generatePredicates({ joinType });\n  },\n\n  generatePredicatesWithDisengagementPredicate() {\n    return this._generatePredicates({ includeEmailDisengagementPredicate: true });\n  },\n\n  generatePredicatesWithoutDisengagementPredicate() {\n    return this._generatePredicates({ includeEmailDisengagementPredicate: false });\n  },\n\n  _generatePredicates(options = {}) {\n    let joinTypePredicate = isNone(options.joinType)\n      ? this._getLogicalPredicates()\n      : this._generateJoinTypePredicate(options.joinType);\n\n    let userTypePredicate = isNone(options.userType)\n      ? this.userTypePredicate\n      : this._generateUserTypePredicate(options.userType);\n\n    let emailDisengagementPredicate = isNone(options.includeEmailDisengagementPredicate)\n      ? [this.emailDisengagementPredicate]\n      : this._generateDisengagedPredicate(options.includeEmailDisengagementPredicate);\n\n    let nonUserAddedPredicates = [userTypePredicate].concat(emailDisengagementPredicate);\n\n    return this._joinedPredicatesWithNonUserAddedPredicates(\n      joinTypePredicate,\n      nonUserAddedPredicates,\n    );\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { and, equal, match, none, not, notEmpty, or, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { camelize } from '@ember/string';\nimport { typeOf } from '@ember/utils';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport {\n  applyFunction,\n  findByProperty,\n  readsAndFmtWithProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport { DataManagers } from 'embercom/lib/common/predicates/data-managers';\nimport PredicatesService from 'embercom/services/predicates-service';\nimport PredicateValidations from 'embercom/validations/common/predicate';\n\nexport default Fragment.extend(PredicateValidations, {\n  attributeService: service(),\n  predicatesService: service(),\n  attribute: attr('string'),\n  comparison: attr('string'),\n  type: attr('string'),\n  value: attr(),\n  valueDescription: attr('string'),\n  predicates: fragmentArray('common/predicate'),\n\n  isOrPredicate: equal('type', 'or'),\n  isUserEventDateType: equal('type', 'user_event_date'),\n\n  isUserEventPredicate: match('attribute', /^user_event/),\n  isTimeOnPage: equal('attribute', 'client_attributes.time_on_page'),\n  isPageTarget: equal('attribute', 'client_attributes.last_visited_url'),\n\n  isUserPredicate: or('isAnonymousType', 'isRoleType'),\n  isNotEditable: or('isLogicalType', 'isUserPredicate', 'isEmailDisengagementType'),\n  isEditable: not('isNotEditable'),\n\n  hasAttribute: notEmpty('attribute'),\n  hasComparison: notEmpty('comparison'),\n  hasNoComparison: not('hasComparison'),\n  hasType: notEmpty('type'),\n  hasValue: notEmpty('value'),\n  hasNoValue: not('hasValue'),\n  hasAttributeComparisonAndType: and('hasAttribute', 'hasComparison', 'hasType'),\n  hasAttributeValueAndType: and('hasValue', 'hasType'),\n\n  isKnownComparison: equal('comparison', 'known'),\n  isUnknownComparison: equal('comparison', 'unknown'),\n  isKnownOrUnknownComparison: or('isKnownComparison', 'isUnknownComparison'),\n  isIncreaseComparison: equal('comparison', 'increase'),\n  isDecreaseComparison: equal('comparison', 'decrease'),\n  isIncreaseOrDecreaseComparison: or('isIncreaseComparison', 'isDecreaseComparison'),\n  isTriggeredComparison: equal('comparison', 'triggered'),\n  isNotValueBasedComparison: or(\n    'isKnownOrUnknownComparison',\n    'isIncreaseOrDecreaseComparison',\n    'isTriggeredComparison',\n  ),\n  isValueBaseComparison: not('isNotValueBasedComparison'),\n  isTrueComparison: equal('comparison', 'true'),\n  isFalseComparison: equal('comparison', 'false'),\n\n  valueIsNull: none('value'),\n  typeOfValue: applyFunction(typeOf, 'value'),\n  valueIsObject: equal('typeOfValue', 'object'),\n  valueIsString: equal('typeOfValue', 'string'),\n\n  isAbsoluteDate: and('valueIsObject', 'isDateType'),\n  isRelativeDate: and('valueIsString', 'isDateType'),\n  isTargetingUsers: and('isAnonymousType', 'isFalseComparison'),\n\n  comparisonOptionValue: computed('comparison', 'isAbsoluteDate', 'isRelativeDate', function() {\n    let comparison = this.comparison;\n    if (this.isRelativeDate) {\n      return `${comparison}:relative`;\n    } else if (this.isAbsoluteDate) {\n      return `${comparison}:absolute`;\n    } else {\n      return comparison;\n    }\n  }),\n\n  attributeIdentifier: computed('attribute', 'isUserEventPredicate', function() {\n    let attribute = this.attribute;\n    if (this.isUserEventPredicate) {\n      return attribute.replace(/\\.(count|first|last)$/, '');\n    }\n    return attribute;\n  }),\n\n  userEventAttributeType: computed('attribute', 'isUserEventPredicate', function() {\n    if (this.isUserEventPredicate) {\n      return this.attribute.split('.').pop();\n    }\n  }),\n\n  info: findByProperty('attributeService.allAttributes', 'identifier', 'attributeIdentifier'),\n  settings: findByProperty('attributeService.attributeSettings', 'attribute', 'attribute'),\n\n  isTagType: equal('genericType', 'tag'),\n  isNumericTagType: equal('genericType', 'numericTag'),\n  isOptionalTagType: equal('genericType', 'optionalTag'),\n  isSelectType: equal('genericType', 'select'),\n  isStringType: equal('genericType', 'string'),\n  isNumericType: equal('genericType', 'numeric'),\n  isDateType: equal('genericType', 'date'),\n  isBooleanType: equal('genericType', 'boolean'),\n  isAnonymousType: equal('genericType', 'anonymous'),\n  isRoleType: equal('genericType', 'role'),\n  isLogicalType: equal('genericType', 'logical'),\n  isCampaignBehaviorType: equal('genericType', 'campaignBehavior'),\n  isCampaignGoalType: equal('genericType', 'campaignGoal'),\n  isEmailDisengagementType: equal('genericType', 'emailDisengagement'),\n\n  genericType: computed('type', function() {\n    return PredicatesService.genericTypes.find(genericType =>\n      PredicatesService[`${genericType}Types`].includes(this.type),\n    );\n  }),\n  comparisonOptions: computed('type', 'genericType', function() {\n    return PredicatesService.comparisonOptionsForType(this.type, this.genericType);\n  }),\n  camelizedType: applyFunction(camelize, 'type'),\n  optionsForType: readsAndFmtWithProperty('predicatesService.%@Options', 'camelizedType'),\n\n  dataManager: computed('genericType', function() {\n    let managerForType = DataManagers[this.genericType];\n    return managerForType.create({ predicate: this });\n  }),\n\n  isTracked: readOnly('info.tracked'),\n  isUntracked: not('isTracked'),\n  isValid: readOnly('dataManager.isValid'),\n  isInvalid: not('isValid'),\n\n  getUserType: computed('genericType', 'value', function() {\n    return this.dataManager.getUserType();\n  }),\n\n  getDefaultComparison(context = {}) {\n    return this.dataManager.getDefaultComparison(context);\n  },\n\n  getDefaultValue(context = {}) {\n    return this.dataManager.getDefaultValue(context);\n  },\n\n  getDescription(context) {\n    return this.dataManager.getDescription(context || {});\n  },\n\n  //DEPRECATED IN FAVOUR OF ONE WAY BINDINGS\n  initializeDefaultValue(context = {}) {\n    this.dataManager.initializeDefaultValue(context);\n  },\n\n  changeComparison(comparison) {\n    this.dataManager.changeComparison(comparison);\n  },\n\n  changeValue(value) {\n    this.dataManager.changeValue(value);\n  },\n\n  changeUserEventType(eventType) {\n    let predicateType = eventType === 'count' ? 'user_event_integer' : 'user_event_date';\n    this.setProperties({\n      attribute: `${this.attributeIdentifier}.${eventType}`,\n      type: predicateType,\n    });\n  },\n\n  toJSON() {\n    if (this.isOrPredicate) {\n      let jsonPredicates = this.predicates.map(predicate => predicate.toJSON());\n      return { type: this.type, predicates: jsonPredicates };\n    } else {\n      return this.getProperties(['attribute', 'comparison', 'type', 'value']);\n    }\n  },\n\n  description: computed(\n    'attribute',\n    'comparison',\n    'type',\n    'value',\n    'predicates.@each.description',\n    function() {\n      return this.getDescription();\n    },\n  ),\n\n  goalDescription: computed(\n    'attribute',\n    'comparison',\n    'type',\n    'value',\n    'predicates.@each.description',\n    function() {\n      return this.dataManager.getGoalDescription();\n    },\n  ),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  alignment: attr('string'),\n  textColor: attr('string'),\n  type: attr('string'),\n  applyDefaultsForParagraph() {\n    this.setProperties({\n      type: 'text',\n      alignment: 'left',\n      textColor: '#000000',\n    });\n  },\n});\n","import Subview from './subview';\nimport { fragment } from 'ember-data-model-fragments/attributes';\nimport { attr } from '@ember-data/model';\n\nexport default Subview.extend({\n  appearance: fragment('common/subviews/appearance'),\n  block: fragment('common/blocks/block', {\n    polymorphic: true,\n    typeKey: 'modelKey',\n  }),\n  type: attr('string', { defaultValue: 'content_block' }),\n}).reopenClass({\n  createDefaultParagraph(store) {\n    let contentBlock = store.createFragment('common/subviews/content-block');\n    let defaultBlock = { type: 'paragraph', text: 'Hi {{first_name|fallback:\"there\"}},' };\n    let block = store.createFragment('common/blocks/paragraph', defaultBlock);\n    let appearance = store.createFragment('common/subviews/appearance');\n    appearance.applyDefaultsForParagraph();\n    contentBlock.setProperties({\n      appearance,\n      block,\n    });\n    return contentBlock;\n  },\n});\n","import { attr } from '@ember-data/model';\nimport Subview from './subview';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport ContentBlock from 'embercom/models/common/subviews/content-block';\n\nexport default Subview.extend({\n  distribution: attr('string', { defaultValue: 'fill_proportionally' }),\n  axis: attr('string', { defaultValue: 'vertical' }),\n  subviews: fragmentArray(\n    'common/subviews/subview',\n    { polymorphic: true, typeKey: 'modelKey' },\n    { defaultValue: [] },\n  ),\n  type: attr('string', { defaultValue: 'content_layout' }),\n  insertParagraph() {\n    let contentBlock = ContentBlock.createDefaultParagraph(this.store);\n    this.subviews.pushObject(contentBlock);\n  },\n});\n","import Fragment from 'ember-data-model-fragments/fragment';\nimport { attr } from '@ember-data/model';\n\nexport default Fragment.extend({\n  type: attr('string'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\n\nconst ADDRESS_SOURCES = {\n  manually_added: 'Manually added',\n  forwarding_address: 'Forwarding email address',\n  automatically_added: 'Automatically detected',\n};\n\nexport default Model.extend({\n  app_id: attr(),\n  email_address: attr(),\n  source: attr(),\n  address_source: computed('source', function() {\n    return ADDRESS_SOURCES[this.source];\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport { not, equal } from '@ember/object/computed';\n\nexport default EmberObject.extend({\n  id: null,\n  name: null,\n  company_url: null,\n  creation_source: 'api',\n  manuallyCreated: equal('creation_source', 'manual_edit'),\n  notManuallyCreated: not('manuallyCreated'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo, hasMany } from '@ember-data/model';\nimport { filterBy, equal, not } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport TaggingMixin from 'embercom/models/mixins/tagging-mixin';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\nimport { task } from 'ember-concurrency';\nimport ajax, { get } from 'embercom/lib/ajax';\n\nlet Company = Model.extend(TaggingMixin, {\n  app_id: attr(),\n  name: attr(),\n  plan: belongsTo('external-plan'),\n\n  remote_company_id: attr(),\n  remote_created_at: attr(),\n  created_at: attr(),\n  updated_at: attr(),\n  industry: attr(),\n  last_request_at: attr(),\n  monthly_spend: attr('number'),\n  session_count: attr('number'),\n  size: attr('number'),\n  user_count: attr('number'),\n  company_count: attr('number'),\n  company_url: attr(),\n\n  tags: hasMany('tag'),\n  taggings: hasMany('tagging'),\n  segment_ids: attr('array', { defaultValue: () => [] }),\n  segments: computed('segment_ids.[]', function() {\n    let store = getEmberDataStore();\n    return this.segment_ids.map(id => store.peekRecord('segment', id)).filter(segment => segment);\n  }),\n  loadSegments: task(function*() {\n    try {\n      let response = yield get('/ember/companies/segments.json', {\n        app_id: this.app_id,\n        id: this.id,\n      });\n      this.set('segment_ids', response.segment_ids);\n    } catch (e) {\n      console.error(e);\n      this.set('segment_ids', []);\n    }\n  }).drop(),\n  notes: hasMany('note'),\n  custom_data: attr({\n    defaultValue() {\n      return {};\n    },\n  }),\n  creation_source: attr('string', { defaultValue: 'api' }),\n  metadata: attr(),\n  website: attr(),\n  avatar_color: attr(),\n  isCompany: true,\n  isExpanded: false,\n  displayAs: ternaryToProperty('name', 'name', 'id'),\n\n  getValue(identifier) {\n    identifier = identifier.replace(/^company\\./, '');\n    return this.get(identifier);\n  },\n\n  existingTags: filterBy('tags', 'isLoaded'),\n  updateTaggingUrl: '/ember/companies/update_tags.json',\n\n  avatarData: computed('avatar_color', function() {\n    return {\n      isTeammate: false,\n      isCustomer: false,\n      isCompany: true,\n      color: this.avatar_color,\n    };\n  }),\n\n  manuallyCreated: equal('creation_source', 'manual_edit'),\n  notManuallyCreated: not('manuallyCreated'),\n}).reopenClass({\n  search(app, predicates, options) {\n    let self = this;\n    let sort_by;\n    let sort_direction;\n\n    if (this.xhr && this.xhr.readyState !== 4) {\n      //we don't want concurrent requests\n      this.xhr.abort();\n    }\n\n    let sortedAttributeSetting = app.get('companyAttributeSettings').findBy('isSorted', true);\n    if (sortedAttributeSetting) {\n      sort_by = sortedAttributeSetting.get('attribute');\n      sort_direction = sortedAttributeSetting.get('sort_by');\n    }\n\n    return ajax({\n      beforeSend(xhr) {\n        self.xhr = xhr;\n      },\n      url: '/ember/companies/search.json',\n      type: 'POST',\n      data: JSON.stringify({\n        app_id: app.get('id'),\n        predicates,\n        page: options.page || 1,\n        per_page: options.per_page || 30,\n        sort_by,\n        include_count: true,\n        segment_id: options.segmentId,\n        sort_direction,\n        use_intersearch: true,\n      }),\n    }).then(function(response) {\n      let companyObjects = [];\n      if (response.companies) {\n        let store = getEmberDataStore();\n        store.pushPayload({ companies: response.companies });\n\n        response.companies.forEach(function(company) {\n          companyObjects.pushObject(store.peekRecord('company', company.id));\n        });\n      }\n\n      return {\n        companies: companyObjects,\n        totalCount: response.total_count || 0,\n        totalPages: response.total_pages,\n      };\n    });\n  },\n});\n\nexport default Company;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo } from '@ember-data/model';\nimport ajax from 'embercom/lib/ajax';\n\n// The data in this model is permanently saved on the server side. This model acts as a container for retrieving\n// the dynamic portion of the data for the integrations hub.\nexport default Model.extend({\n  appId: attr('string'),\n  createdAt: attr('date'),\n  integration: belongsTo('integration'),\n}).reopenClass({\n  hasIntegrations(app, integrationCodes) {\n    return ajax({\n      url: `/ember/connected_integrations/integration_status`,\n      type: 'GET',\n      data: {\n        app_id: app.get('id'),\n        codes: integrationCodes,\n      },\n    });\n  },\n\n  hasIntegration(app, integrationCode) {\n    return this.hasIntegrations(app, [integrationCode]).then(result => result[integrationCode]);\n  },\n});\n","import Model, { attr } from '@ember-data/model';\n\nexport default class ContentObject extends Model {\n  @attr('string') title;\n  @attr('string') app_id;\n  @attr('string') content_object_id;\n  @attr('string') series_id;\n  @attr('boolean') has_goal;\n\n  get displayedTitle() {\n    if (this.title) {\n      return this.title;\n    } else {\n      return 'Untitled';\n    }\n  }\n}\n","import Model, { attr } from '@ember-data/model';\n\nexport default class ContentLink extends Model {\n  @attr() linkType;\n  @attr() url;\n}\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default class FollowUpActions extends Fragment {\n  @attr('boolean') answerBotEnabled;\n  @attr('string') followUpReply;\n  @attr('boolean') leadQualificationEnabled;\n}\n","import Model, { attr } from '@ember-data/model';\nimport { inject as service } from '@ember/service';\n\nexport default class ConversationAttributeValue extends Model {\n  @service store;\n  @attr() value;\n\n  get compositeIdParts() {\n    let [conversationId, attributeId] = this.id.split('-');\n    return {\n      conversationId,\n      attributeId,\n    };\n  }\n\n  get conversationId() {\n    return this.compositeIdParts.conversationId;\n  }\n\n  get attributeId() {\n    return this.compositeIdParts.attributeId;\n  }\n\n  isEmpty(descriptor) {\n    if (this.value === null || this.value === undefined) {\n      return true;\n    }\n\n    switch (descriptor.dataType) {\n      case 'integer':\n      case 'decimal':\n      case 'boolean':\n        return this.value === '';\n      case 'string':\n        return this.value?.trim() === '';\n      default:\n        return this.value.length === 0;\n    }\n  }\n\n  normalizeValue(descriptor) {\n    switch (descriptor.dataType) {\n      case 'integer':\n        return this.normalizeNumber(true);\n      case 'decimal':\n        return this.normalizeNumber(false);\n      case 'string':\n        return this.normalizeString();\n    }\n  }\n\n  isValueValid(descriptor, event = null) {\n    switch (descriptor.dataType) {\n      case 'decimal':\n        return event?.target?.validity?.valid === true;\n      default:\n        return true;\n    }\n  }\n\n  normalizeString() {\n    this.value = this.value.trim();\n  }\n\n  normalizeNumber(integer) {\n    let casted = Number(this.value);\n    if (this.value === '' || isNaN(casted)) {\n      return;\n    }\n    this.value = integer ? Math.round(casted) : casted;\n  }\n\n  formatValue(descriptor) {\n    switch (descriptor.dataType) {\n      case 'list':\n        return descriptor.listOptions.find(option => option.id === this.value)?.label;\n      case 'boolean':\n        return this.value ? 'True' : 'False';\n      default:\n        return this.value;\n    }\n  }\n}\n","import Model, { attr, belongsTo, hasMany } from '@ember-data/model';\nimport { inject as service } from '@ember/service';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\n\nexport default class ConversationAttributeDescriptor extends Model {\n  @service store;\n\n  @attr('string') name;\n  @attr('string') dataType;\n  @attr('string') description;\n  @hasMany('conversation-attributes/list-option', { async: false }) listOptions;\n  @attr('date') createdAt;\n  @attr('date') archivedAt;\n  @attr('boolean', { defaultValue: false }) archived;\n\n  @belongsTo('admin', { async: false }) archivedByAdmin;\n\n  async save() {\n    await super.save(...arguments);\n    this._clearUnsavedListOptions();\n  }\n\n  _clearUnsavedListOptions() {\n    this.listOptions.filterBy('isNew').forEach(option => this.store.unloadRecord(option));\n  }\n\n  get identifier() {\n    return `conversation.custom_attribute.${this.id}`;\n  }\n\n  get unArchivedListOptions() {\n    return this.listOptions.filter(option => !option.archived);\n  }\n\n  get isSelectionType() {\n    return this.dataType === 'list' || this.dataType === 'boolean';\n  }\n\n  get displayableDataType() {\n    switch (this.dataType) {\n      case 'string':\n        return 'Text';\n      case 'integer':\n        return 'Number';\n      case 'decimal':\n        return 'Decimal';\n      case 'list':\n        return 'List';\n      case 'boolean':\n        return 'True or false';\n      default:\n        return this.dataType;\n    }\n  }\n\n  get nameLowercase() {\n    return this.name.toLowerCase();\n  }\n\n  static peekAllAndMaybeLoad() {\n    let store = getEmberDataStore();\n    let records = store.peekAll('conversation-attributes/descriptor');\n\n    if (!records.length) {\n      records = store.findAll('conversation-attributes/descriptor');\n    }\n    return records;\n  }\n}\n","import Model, { attr } from '@ember-data/model';\n\nexport default class ListOption extends Model {\n  @attr('string') label;\n  @attr('boolean') archived;\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { not } from '@ember/object/computed';\nimport { isEmpty } from '@ember/utils';\nimport { computed } from '@ember/object';\n\nexport default Model.extend({\n  app_id: attr(),\n  admin_id: attr(),\n  conversation_id: attr(),\n  subclass: attr(),\n  blocks: attr(),\n  isEmpty: computed('blocks.[]', 'subclass', function() {\n    return !this.subclass || isEmpty(this.blocks);\n  }),\n  isNotEmpty: not('isEmpty'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  client_id: attr(),\n  client_secret: attr(),\n  origin: attr(),\n  code: attr(),\n  active: attr(),\n  subdomain: attr(),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, hasMany, belongsTo } from '@ember-data/model';\nimport { computed, observer } from '@ember/object';\nimport {\n  alias,\n  and,\n  bool,\n  empty,\n  equal,\n  filterBy,\n  mapBy,\n  none,\n  not,\n  notEmpty,\n  or,\n  reads,\n  uniqBy,\n} from '@ember/object/computed';\nimport { on } from '@ember/object/evented';\nimport { htmlSafe } from '@ember/string';\nimport { isEmpty } from '@ember/utils';\nimport Em from 'ember';\nimport {\n  applyFunction,\n  equalToProperty,\n  objectAtProperty,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport ajax from 'embercom/lib/ajax';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\nimport emoji from 'embercom/lib/emoji';\nimport truncateUrl from 'embercom/lib/url-truncator';\nimport Admin from 'embercom/models/admin';\nimport TaggingMixin from 'embercom/models/mixins/tagging-mixin';\nimport Participant from 'embercom/models/participant';\nimport moment from 'moment';\nimport { inject as service } from '@ember/service';\n\nexport const ADMIN_PART_TYPES_WITH_SEEN_METADATA = [\n  'article',\n  'comment',\n  'link',\n  'message',\n  'multi-link',\n  'notification-channels',\n  'sticker',\n];\n\nexport default Model.extend(TaggingMixin, {\n  appService: service(),\n\n  app_id: attr(),\n\n  conversation_id: attr(),\n  conversation: computed('conversation_id', function() {\n    if (this.conversation_id) {\n      return this.store.peekRecord('conversation', this.conversation_id);\n    }\n  }),\n\n  subject: attr(),\n  blocks: attr(),\n  summary: attr(),\n  admin_id: attr(),\n\n  admin: computed('admin_id', function() {\n    if (this.admin_id) {\n      return Admin.peekAndMaybeLoad(getEmberDataStore(), this.admin_id);\n    }\n  }),\n\n  participant_id: attr(),\n  participant: computed('participant_id', function() {\n    if (this.participant_id) {\n      return Participant.peekAndMaybeLoad(this.store, this.participant_id);\n    }\n  }),\n\n  assignee_id: attr(),\n  admin_assignee_id: attr(),\n  team_assignee_id: attr(),\n\n  assignee: computed('assignee_id', function() {\n    if (this.assignee_id) {\n      return Admin.peekAndMaybeLoad(getEmberDataStore(), this.assignee_id);\n    }\n  }),\n\n  taggings: hasMany('tagging'),\n  uploads: hasMany('upload'),\n\n  unloadRecord() {\n    this.taggings && this.taggings.compact().forEach(t => t.unloadRecord());\n    this.uploads && this.uploads.compact().forEach(u => u.unloadRecord());\n    this._super(...arguments);\n  },\n  // this indirection is needed as we currently use rule as a boolean in places, and a belongsTo relationship is considered truthy regardless of presence. - @beegan\n  _rule: belongsTo('inbox/conversation-rules/rule', { inverse: null }),\n  rule: computed('_rule', function() {\n    if (this._rule.content) {\n      return this._rule;\n    }\n  }),\n  type: attr(),\n  sub_type: attr(),\n  channel_type: attr(),\n  user_agent: attr(),\n  url: attr(),\n  inbound_email_id: attr(),\n  original_message_url: attr(),\n  message_style: attr(),\n  message_id: attr(),\n  lightweight_reply_type: attr(),\n  lightweight_reply_response: attr(),\n  lightweight_reply_created_at: attr(),\n  reactions_reply: attr(),\n  created_from_quick_reply: attr(),\n  is_after_last_user_comment: attr(),\n  is_initial_part: attr(),\n  passive: attr(),\n  nonPassive: not('passive'),\n  deleted: attr(),\n  from_address: attr(),\n  updated_at: attr(),\n  created_at: attr(),\n  seen_by_current_admin: attr(),\n  github_metadata_name: attr(),\n  text_direction: attr('string', { defaultValue: 'ltr' }),\n  unauthenticated: attr(),\n  delivery_state: attr(),\n  client_assigned_uuid: attr(),\n  is_event: attr(),\n  event_data: attr(),\n  snoozed_until: attr(),\n  priority: attr(),\n  custom_snoozed_until_time: attr(),\n  author_timezone: attr(),\n  redacted_at: attr(),\n  admin_only: attr(),\n  isAnswerRatingEnabled: attr(),\n  answerRating: attr(),\n  answerId: attr(),\n  answerTitle: attr(),\n  title: attr(),\n\n  participant_reply_to_address: attr(),\n  participantReplyToAddressDiffers: computed(\n    'participant_reply_to_address',\n    'participant.email',\n    function() {\n      if (this.participant_reply_to_address && this.participant?.email) {\n        return (\n          this.participant_reply_to_address.toLowerCase() !== this.participant.email.toLowerCase()\n        );\n      } else {\n        return false;\n      }\n    },\n  ),\n\n  // Nullable dict in this format: {send_state: -1/0/1, info_message: \"...\"}\n  external_reply_send_state: attr(),\n\n  messageShowPageRoute: computed('conversation.initiator.showPageRoute', function() {\n    return this.get('conversation.initiator.showPageRoute') || 'apps.app.outbound.message';\n  }),\n\n  messageShowPageId: or('conversation.initiator.showPageId', 'message_id'),\n\n  fromAddressModel: computed('from_address', function() {\n    let from_address = this.from_address;\n    return {\n      avatarData: {\n        url: from_address['avatar'],\n        isTeammate: true,\n        isCompany: false,\n        isCustomer: false,\n      },\n    };\n  }),\n\n  partId: computed('id', function() {\n    let id = this.id;\n    if (id) {\n      let idParts = id.split('-');\n      return this.isInitialMessage ? idParts[3] : idParts[2];\n    }\n  }),\n\n  analyticsData: computed(\n    'id',\n    'partType',\n    'isNote',\n    'hasArticle',\n    'hasUploads',\n    'hasImageBlock',\n    'hasGifBlock',\n    'hasApp',\n    'appIDs',\n    function() {\n      return {\n        object: 'conversation-part',\n        conversation_part_id: this.id,\n        part_type: this.partType,\n        is_note: this.isNote,\n        has_article: this.hasArticle,\n        has_attachments: this.hasUploads,\n        has_image: this.hasImageBlock,\n        has_gif: this.hasGifBlock,\n        has_app: this.hasApp,\n        messenger_app_ids: this.appIDs,\n      };\n    },\n  ),\n\n  isFirstCompactedPart: false,\n  compact: false,\n  isLastCompactedPart: false,\n\n  isNotCompactable: or(\n    'hasNoBodyOrUploads',\n    'isAssignment',\n    'isReopener',\n    'isNote',\n    'hasLightweightResponse',\n    'isEventWithoutBody',\n  ),\n\n  setCompactProperties(isFirstCompactedPart, compact, isLastCompactedPart) {\n    this.setProperties({\n      isFirstCompactedPart,\n      compact,\n      isLastCompactedPart,\n    });\n  },\n\n  shouldHideMeta: computed('compact', 'isFirstCompactedPart', 'isLastCompactedPart', function() {\n    return this.isFirstCompactedPart || (this.compact && !this.isLastCompactedPart);\n  }),\n\n  shouldHideAvatar: computed('compact', 'isFirstCompactedPart', function() {\n    return this.compact && !this.isFirstCompactedPart;\n  }),\n\n  SEEN: 'seen',\n\n  isSeenByCurrentAdmin: computed('seen_by_current_admin', function() {\n    return this.seen_by_current_admin === this.SEEN;\n  }),\n\n  setSeen() {\n    this.set('seen_by_current_admin', this.SEEN);\n  },\n\n  isReply: or(\n    'isComment',\n    'isSnoozerWithBody',\n    'isUnsnoozerWithBody',\n    'isCloserWithBody',\n    'isReopenerWithBody',\n    'isHybridAssignment',\n  ),\n\n  isInitialMessage: notEmpty('message_id'),\n  isPostStyleAutoMessage: equal('message_style', 'announcement'),\n  isNoteStyleAutoMessage: equal('message_style', 'small-announcement'),\n\n  isNotificationChannels: computed('blocks.[]', function() {\n    return (\n      this.get('blocks.length') === 1 &&\n      this.get('blocks.firstObject.type') === 'notificationChannelsCard'\n    );\n  }),\n\n  isLink: computed('blocks.[]', 'blocks.firstObject.type', function() {\n    return this.get('blocks.length') === 1 && this.get('blocks.firstObject.type') === 'link';\n  }),\n\n  hasArticle: computed('blocks.[]', function() {\n    return (\n      this.blocks &&\n      this.blocks.any(block => block.type === 'link' && block.linkType === 'educate.article')\n    );\n  }),\n\n  isLinkContainer: computed('blocks.[]', 'blocks.firstObject.type', function() {\n    let hasAllLinks = true;\n    let blocks = this.blocks;\n    if (!blocks) {\n      return false;\n    }\n    blocks.forEach(function(block) {\n      if (block && block.type !== 'link') {\n        hasAllLinks = false;\n      }\n    });\n    return hasAllLinks && blocks.length > 1;\n  }),\n\n  isRatingRequest: computed('blocks.[]', function() {\n    return (\n      this.get('blocks.length') === 1 &&\n      this.get('blocks.firstObject.type') === 'conversationRating'\n    );\n  }),\n\n  isUserPart: none('admin_id'),\n  isAdminPart: not('isUserPart'),\n  isHumanAdminPart: and('isAdminPart', 'isNotOperatorPart'),\n  isInitialPartByUser: and('is_initial_part', 'isUserPart'),\n  isInitialPartByAdmin: and('is_initial_part', 'isHumanAdminPart', 'isNotStartedFromArticle'),\n  isInitialPartStartedFromArticle: and('is_initial_part', 'conversation.started_from_article'),\n  isNotStartedFromArticle: not('conversation.started_from_article'),\n  isInitialPartStartedByCustomBot: and('is_initial_part', 'conversation.started_by_custom_bot'),\n  isGithubBotPart: reads('admin.isGithubBot'),\n  isOperatorPart: reads('admin.isOperator'),\n  isNotOperatorPart: not('isOperatorPart'),\n  isOperatorCommentPart: and('isOperatorPart', 'displaysAsAdminComment'),\n  isOperatorNotePart: and('isOperatorPart', 'isNote'),\n  isTwitterBotPart: and('admin.isTwitterBot', 'isChannelTwitter'),\n  isAnswerRatingPart: bool('isAnswerRatingEnabled'),\n  isPending: equal('delivery_state', 'pending'),\n  isStopped: equal('delivery_state', 'stopped'),\n  isBotPart: reads('admin.isBot'),\n  isNotBotPart: not('isBotPart'),\n  hasSubject: notEmpty('subject'),\n  hasNoBody: empty('blocks'),\n  hasBody: not('hasNoBody'),\n  hasBodyOrSubject: or('hasBody', 'hasSubject'),\n  hasSummary: notEmpty('summary'),\n  hasAnyContent: or('hasBodyOrSubject', 'hasSummary'),\n\n  blocksHaveUploads: applyFunction(function(blocks) {\n    if (!blocks) {\n      return false;\n    }\n    return !!blocks.find(block => {\n      return block.type === 'image' || block.type === 'attachmentList';\n    });\n  }, 'blocks'),\n\n  blocksHaveNoUploads: not('blocksHaveUploads'),\n  uploadsIsEmpty: empty('uploads'),\n  hasNoUploads: and('uploadsIsEmpty', 'blocksHaveNoUploads'),\n  hasUploads: not('hasNoUploads'),\n  hasNoBodyOrUploads: and('hasNoBody', 'hasNoUploads'),\n  hasBodyOrUploads: not('hasNoBodyOrUploads'),\n  hasTaggings: notEmpty('taggings'),\n  shouldOverrideAdminAvatar: notEmpty('from_address'),\n  isNote: and('admin_only', 'hasBodyOrUploads'),\n  isDuplicateConversationNote: equal('sub_type', 'duplicate_conversation_note'),\n  isUnknownParticipantFromEmailConversationNote: equal(\n    'sub_type',\n    'unknown_participant_for_email_conversation_note',\n  ),\n  isComment: equal('sub_type', 'comment'),\n  isRuleAssignment: notEmpty('rule'),\n  hasUserAgent: notEmpty('user_agent'),\n  hasNoUserAgent: not('hasUserAgent'),\n  hasReaction: notEmpty('reactions_reply.reaction_index'),\n\n  selectedReaction: objectAtProperty(\n    'reactions_reply.reaction_set',\n    'reactions_reply.reaction_index',\n  ),\n\n  selectedReactionEmoji: alias('selectedReaction.unicode_emoticon'),\n\n  stickerUri: computed('blocks.[]', function() {\n    return emoji.stickerUri(this.get('blocks.firstObject.text'));\n  }),\n\n  isSticker: computed('blocks.[]', 'isNote', 'hasNoUploads', function() {\n    let blocks = this.blocks;\n    return (\n      blocks &&\n      blocks.get('length') === 1 &&\n      emoji.isSticker(blocks.get('firstObject.text')) &&\n      !this.isNote &&\n      this.hasNoUploads\n    );\n  }),\n\n  hasOneImageUpload: computed('uploads', function() {\n    if (this.get('uploads.length') === 1) {\n      return this.get('uploads.firstObject.isImage');\n    }\n    return false;\n  }),\n\n  hasImageBlock: computed('blocks.[]', function() {\n    return !!this.blocks?.any(block => block.type === 'image');\n  }),\n\n  hasGifBlock: computed('blocks.[]', function() {\n    return !!this.blocks?.any(block => block.type === 'image' && block.url?.endsWith('.gif'));\n  }),\n\n  appIDs: computed('blocks.[]', function() {\n    return this.blocks\n      ?.filter(block => block.type === 'messengerCard')\n      .map(block => block.messenger_app_id);\n  }),\n  hasApp: notEmpty('appIDs'),\n\n  isAssignment: or('isExplicitAssignment', 'isImplicitAssignment', 'isAwayModeAssignment'),\n\n  isExplicitAssignment: computed('sub_type', function() {\n    let subType = this.sub_type;\n    return ['assignment', 'assign_and_reopen', 'assign_and_unsnooze'].includes(subType);\n  }),\n\n  isNotExplicitAssignment: not('isExplicitAssignment'),\n  isImplicitAssignment: and('isNotExplicitAssignment', 'hasAssignee'),\n  isExplicitAssignmentWithBody: and('hasBody', 'isExplicitAssignment'),\n  isHybridAssignment: or('isImplicitAssignment', 'isExplicitAssignmentWithBody'),\n\n  hasAssignee: computed('assignee', function() {\n    return !!parseInt(this.get('assignee.id'), 10);\n  }),\n\n  hasHumanAssignee: reads('assignee.isHuman'),\n  hasNoAssignee: not('hasAssignee'),\n  isAssignToUnassigned: and('isExplicitAssignment', 'hasNoAssignee'),\n  adminIsAssignee: equalToProperty('admin.id', 'assignee.id'),\n  isReflexiveAssignment: or('isHybridAssignment', 'adminIsAssignee'),\n  isBulkReassignmentSubType: equal('sub_type', 'bulk_reassignment'),\n  isReassignOnAdminRemovalSubType: equal('sub_type', 'reassign_on_admin_removal'),\n  isBulkReassignment: or('isBulkReassignmentSubType', 'isReassignOnAdminRemovalSubType'),\n\n  isAction: or(\n    'isOpener',\n    'isCloser',\n    'isReopener',\n    'isAssignment',\n    'isSnoozer',\n    'isUnsnoozer',\n    'isTimerUnsnoozer',\n    'isNoteUnsnoozer',\n    'isAssignmentUnsnoozer',\n    'isPriorityChanger',\n    'isTitleChanger',\n  ),\n\n  isStateChange: or(\n    'isOpener',\n    'isCloser',\n    'isReopener',\n    'isSnoozer',\n    'isUnsnoozer',\n    'isTimerUnsnoozer',\n    'isNoteUnsnoozer',\n    'isAssignmentUnsnoozer',\n  ),\n\n  isOpener: not('isNoteOrCloserOrEventOrConversationRatingOrExplicitAssignment'),\n  isCloser: equal('sub_type', 'close'),\n  isReopener: equal('sub_type', 'open'),\n  isSnoozer: equal('sub_type', 'snoozed'),\n  isUnsnoozer: equal('sub_type', 'unsnoozed'),\n  isTimerUnsnoozer: equal('sub_type', 'timer_unsnooze'),\n  isNoteUnsnoozer: equal('sub_type', 'note_and_unsnooze'),\n  isAssignmentUnsnoozer: equal('sub_type', 'assign_and_unsnooze'),\n  isPriorityChanger: equal('sub_type', 'priority_changed'),\n  isTitleChanger: equal('sub_type', 'title_changed'),\n  isPriorityRuleEvent: equal('sub_type', 'priority_changed_by_rule'),\n  isConversationSlaApplier: equal('sub_type', 'conversation_sla_applied_by_rule'),\n  isConversationSlaRemover: equal('sub_type', 'conversation_sla_removed'),\n  isConversationSlaTargetMisser: equal('sub_type', 'conversation_sla_target_missed'),\n  isTagEvent: equal('sub_type', 'conversation_tags_updated'),\n  isConversationAttributeUpdatedByAdmin: equal(\n    'sub_type',\n    'conversation_attribute_updated_by_admin',\n  ),\n  isConversationAttributeUpdatedByUser: equal('sub_type', 'conversation_attribute_updated_by_user'),\n  isConversationAttributeUpdatedByWorkflow: equal(\n    'sub_type',\n    'conversation_attribute_updated_by_workflow',\n  ),\n\n  isNoteOrCloserOrEventOrConversationRatingOrExplicitAssignment: or(\n    'isCloser',\n    'isNote',\n    'is_event',\n    'isRatingRequest',\n    'isExplicitAssignment',\n  ),\n\n  isCloserWithBody: and('isCloser', 'hasBody'),\n  isReopenerWithBody: and('isReopener', 'hasBody'),\n  isAdminReopenerWithBody: and('isReopenerWithBody', 'isAdminPart'),\n  isUserReopenerWithBody: and('isReopenerWithBody', 'isUserPart'),\n  isSnoozerWithBody: and('isSnoozer', 'hasBody'),\n  isUnsnoozerWithBody: and('isUnsnoozer', 'hasBody'),\n  isNotPersisted: reads('isNew'),\n  isPersisted: not('isNotPersisted'),\n  isParticipantAdded: equal('sub_type', 'participant_added'),\n  isParticipantRemoved: equal('sub_type', 'participant_removed'),\n  isLightweightReply: not('isNotLightweightReply'),\n\n  isNotLightweightReply: computed('lightweight_reply_type', function() {\n    return this.lightweight_reply_type === 'text' || this.lightweight_reply_type === null;\n  }),\n\n  hasLightweightResponse: notEmpty('lightweight_reply_response'),\n\n  lightweightReplyResponseIcon: computed('lightweight_reply_response', function() {\n    if (this.lightweight_reply_response) {\n      return `lwr-${this.lightweight_reply_response.replace(/\\_/, '-')}`;\n    }\n    return '';\n  }),\n\n  isThumbsLightweightReply: equal('lightweight_reply_type', 'thumbs'),\n  isEmotionsLightweightReply: equal('lightweight_reply_type', 'emotions'),\n\n  lightweightReplyStatement: computed('lightweight_reply_type', function() {\n    if (this.lightweight_reply_type) {\n      return this.lightweight_reply_type.capitalize();\n    }\n    return '';\n  }),\n\n  lightweightReplyResponse: computed('lightweight_reply_response', function() {\n    return this.lightweight_reply_response.replace(/\\_/, ' ').capitalize();\n  }),\n\n  isAwayModeAssignment: equal('sub_type', 'away_mode_assignment'),\n  isNotNote: not('isNote'),\n  isAdminComment: and('isAdminPart', 'isComment'),\n  isAdminPartWithBody: and('isAdminPart', 'hasBody'),\n  isAdminCommentOrMessage: or('isInitialPartByAdmin', 'isAdminComment'),\n  isUserComment: and('isUserPart', 'isComment'),\n  isEventWithoutBody: and('is_event', 'hasNoBody'),\n\n  displaysAsAdminComment: or(\n    'isInitialPartByAdmin',\n    'isAdminComment',\n    'isAdminPartWithBody',\n    'isCloserWithBody',\n    'isAdminReopenerWithBody',\n  ),\n\n  displaysAsUserComment: or('isInitialPartByUser', 'isUserComment', 'isUserReopenerWithBody'),\n  isToolable: or('isReply', 'isUserPart', 'isNote'),\n  hasTools: and('isToolable', 'isNotBotPart'),\n  shouldDisplayTools: and('hasTools', 'isPersisted', 'isNotRedacted'),\n\n  shouldDisplaySeenState: and(\n    'isAdminPart',\n    'isNotNote',\n    'hasBodyOrSubject',\n    'is_after_last_user_comment',\n  ),\n\n  isPartSameOrAfterConversationReadDate: computed('conversation.read_at', 'created_at', function() {\n    if (this.conversation) {\n      let conversationReadAtDate = moment(this.conversation.read_at);\n      let createdAtDate = moment(this.created_at);\n      return conversationReadAtDate >= createdAtDate;\n    }\n    return false;\n  }),\n\n  hasBeenSeen: and('shouldDisplaySeenState', 'isPartSameOrAfterConversationReadDate'),\n  isWaitingSinceInfluencingPart: or('isReopener', 'isCloser', 'isReply'),\n  messengerCardBlocks: filterBy('blocks', 'type', 'messengerCard'),\n  messengerCardUris: mapBy('messengerCardBlocks', 'uri'),\n  hasMessengerCards: notEmpty('messengerCardBlocks'),\n  hasOnlyMessengerCard: computed('hasMessengerCards', 'messengerCardBlocks', 'blocks', function() {\n    return this.hasMessengerCards && this.messengerCardBlocks.length === this.blocks.length;\n  }),\n\n  hasMessengerCard(uri) {\n    return this.messengerCardUris.includes(uri);\n  },\n\n  timestamp: computed('created_at', 'message_id', function() {\n    let timestamp = new Date(this.created_at).getTime();\n    if (this.isInitialMessage) {\n      timestamp--;\n    }\n    return timestamp;\n  }),\n\n  hasChannelType: computed('channel_type', function() {\n    let channel_type = this.channel_type;\n    if (channel_type === 'Email' && this.get('original_message_url.length') <= 0) {\n      return false;\n    }\n    return channel_type !== 'Unknown' && this.get('channel_type.length') > 0;\n  }),\n\n  lowerCaseChannelType: computed('channel_type', function() {\n    let channelType = this.channel_type;\n    if (channelType) {\n      return channelType.toLowerCase();\n    }\n  }),\n\n  isChannelInApp: not('isChannelOther'),\n  isChannelOther: or('isChannelMobile', 'isChannelSMS', 'isChannelSocial', 'isChannelEmail'),\n  isChannelMobile: or('isChanneliOS', 'isChannelAndroid'),\n  isChannelSMS: equal('lowerCaseChannelType', 'sms'),\n  isChannelEmail: equal('lowerCaseChannelType', 'email'),\n  isChannelSocial: or('isChannelFacebookOrFacebookMessenger', 'isChannelTwitter'),\n  isChanneliOS: equal('lowerCaseChannelType', 'ios app'),\n  isChannelAndroid: equal('lowerCaseChannelType', 'android app'),\n  isChannelFacebookMessenger: equal('lowerCaseChannelType', 'facebook messenger'),\n  isChannelFacebook: equal('lowerCaseChannelType', 'facebook'),\n  isChannelFacebookOrFacebookMessenger: or('isChannelFacebook', 'isChannelFacebookMessenger'),\n  isChannelTwitter: equal('lowerCaseChannelType', 'twitter'),\n\n  channelIcon: computed(\n    'isChanneliOS',\n    'isChannelAndroid',\n    'isChannelEmail',\n    'isChannelSMS',\n    'isChannelTwitter',\n    'isChannelFacebookOrFacebookMessenger',\n    function() {\n      if (this.isChanneliOS) {\n        return 'ios';\n      } else if (this.isChannelAndroid) {\n        return 'android';\n      } else if (this.isChannelEmail) {\n        return 'email';\n      } else if (this.isChannelSMS) {\n        return 'phone';\n      } else if (this.isChannelTwitter) {\n        return 'twitter';\n      } else if (this.isChannelFacebookOrFacebookMessenger) {\n        return 'facebook';\n      } else {\n        return 'messenger';\n      }\n    },\n  ),\n\n  hasUrl: notEmpty('url'),\n  creator: ternaryToProperty('isUserPart', 'participant', 'admin'),\n  hasNoInboundEmail: empty('inbound_email_id'),\n  shouldHideViewRawEmailLink: or('isRedacted', 'hasNoInboundEmail'),\n\n  twitterUsername: computed('url', 'isChannelTwitter', function() {\n    if (!this.url || !this.isChannelTwitter) {\n      return null;\n    }\n\n    let matches = this.url.match(/^https?:\\/\\/twitter.com\\/(.+)/i, '');\n    if (isEmpty(matches)) {\n      return '[Unknown User]';\n    }\n    return matches[1];\n  }),\n\n  actionIcon: computed('sub_type', function() {\n    if (this.isCloser) {\n      return 'check';\n    } else if (this.isAssignment) {\n      return 'assignment';\n    } else if (this.sub_type === 'open' || this.isUnsnoozer) {\n      return 'check';\n    } else if (this.isNote) {\n      return 'note';\n    } else if (this.isComment && this.isUserPart) {\n      return 'reply';\n    }\n  }),\n\n  actionStatement: computed(\n    'isCloserWithBody',\n    'isCloser',\n    'isReopenerWithBody',\n    'isReopener',\n    'isExplicitAssignment',\n    'hasAssignee',\n    'isAssignToUnassigned',\n    'isHybridAssignment',\n    'isComment',\n    'isUserPart',\n    'isBotPart',\n    'isAwayModeAssignment',\n    'isSnoozer',\n    'isUnsnoozer',\n    'isTimerUnsnoozer',\n    function() {\n      let action;\n      if (this.isCloserWithBody) {\n        action = 'replied and closed this conversation';\n      } else if (this.isCloser) {\n        action = `closed this conversation`;\n      } else if (this.isReopenerWithBody) {\n        action = 'replied and reopened this conversation';\n      } else if (this.isReopener) {\n        action = 'reopened this conversation';\n      } else if (this.isAwayModeAssignment) {\n        action = 'Reassigned by away mode';\n      } else if (this.isSnoozer) {\n        action = 'snoozed the conversation';\n      } else if (this.isUnsnoozer) {\n        action = 'reopened this conversation';\n      } else if (this.isTimerUnsnoozer) {\n        action = 'Snooze ended and this conversation was reopened';\n      } else if (this.isRuleAssignment) {\n        action = 'auto assigned to';\n      } else if (this.isExplicitAssignment && this.hasAssignee) {\n        action = 'assigned this conversation to';\n      } else if (this.isAssignToUnassigned) {\n        action = 'assigned this conversation to Unassigned';\n      } else if (this.isHybridAssignment) {\n        action = 'replied and auto-assigned to';\n      } else if (this.isComment && this.isUserPart) {\n        action = `${this.get('participant.display_as')} replied and this conversation was reopened`;\n      }\n      return action;\n    },\n  ),\n\n  actionStatementTarget: computed('isAssignment', 'hasAssignee', function() {\n    if (this.isAssignment && this.hasAssignee) {\n      return this.assignee;\n    }\n    return null;\n  }),\n\n  uniqueTaggings: uniqBy('taggings', 'tag.id'),\n\n  parsedSummary: computed('summary', function() {\n    let summary = this.summary;\n    if (summary) {\n      summary = Em.Handlebars.Utils.escapeExpression(summary);\n      summary = emoji.emojify(summary);\n      return htmlSafe(summary);\n    }\n    return '';\n  }),\n\n  isNonEventPartAction: or('isCloser', 'isReopener', 'isAssignment', 'isPriorityChanger'),\n  isAdminAction: and('isNonEventPartAction', 'isAdminPart'),\n\n  isAdminActionWithoutBody: computed('isAdminAction', 'hasNoBody', 'is_event', function() {\n    return this.isAdminAction && this.hasNoBody && !this.is_event;\n  }),\n\n  partType: computed(\n    'isUserPart',\n    'isSticker',\n    'isAdminActionWithoutBody',\n    'isEventWithoutBody',\n    'isLink',\n    'isInitialPartStartedFromArticle',\n    'isLinkContainer',\n    'isNotificationChannels',\n    'isRatingRequest',\n    'isInitialMessage',\n    'isNote',\n    'isDuplicateConversationNote',\n    'isUnknownParticipantFromEmailConversationNote',\n    function() {\n      if (this.isEventWithoutBody) {\n        return 'eventWithoutBody';\n      }\n\n      if (this.isUserPart) {\n        if (this.isSticker) {\n          return 'sticker';\n        } else {\n          return 'comment';\n        }\n      }\n\n      if (this.isAdminActionWithoutBody) {\n        return 'action';\n      } else if (this.isSticker) {\n        return 'sticker';\n      } else if (this.isLink) {\n        return 'link';\n      } else if (this.isInitialPartStartedFromArticle) {\n        return 'article';\n      } else if (this.isLinkContainer) {\n        return 'multi-link';\n      } else if (this.isNotificationChannels) {\n        return 'notification-channels';\n      } else if (this.isRatingRequest) {\n        return 'rating-request';\n      } else if (this.isInitialMessage) {\n        return 'message';\n      } else if (\n        this.isDuplicateConversationNote &&\n        this.appService.app?.canUseDuplicateConversationDetection\n      ) {\n        return 'duplicate-conversation-note';\n      } else if (this.isUnknownParticipantFromEmailConversationNote) {\n        return 'unknown-participant-for-email-conversation-note';\n      } else if (this.isNote) {\n        return 'note';\n      } else {\n        return 'comment';\n      }\n    },\n  ),\n\n  hasSeenMetadata: computed('isAdminPart', 'partType', 'isEventWithoutBody', function() {\n    return (\n      this.isAdminPart &&\n      ADMIN_PART_TYPES_WITH_SEEN_METADATA.includes(this.partType) &&\n      !this.isEventWithoutBody\n    );\n  }),\n\n  // Fade in admin action string after immediate send & prevent the animation from\n  // running twice when the thread re-renders after the part has been persisted\n  // prettier-ignore\n  isNewChanged: on(\n    'init',\n      observer({\n      dependentKeys: ['isNew'],\n\n      fn() {\n        if (this.isImmediateSend) {\n          this.set('shouldFadeInAction', true);\n        }\n        this.set('isImmediateSend', false);\n      },\n\n      sync: false\n    }),\n  ),\n\n  updateTaggingUrl: '/ember/conversation_parts/update_tags.json',\n\n  sourceOfMessageLabel: ternaryToProperty(\n    'creatorIsAnonymous',\n    'shortenedMessageSourcePathForAnonymousUsers',\n    'sourceOfMessageLabelForUsers',\n  ),\n\n  creatorIsAnonymous: reads('creator.is_anonymous'),\n  sourceForUsers: 'App',\n\n  sourceOfMessageLabelForUsers: ternaryToProperty(\n    'unauthenticated',\n    'shortenedMessageSourcePathForAnonymousUsers',\n    'sourceForUsers',\n  ),\n\n  shortenedMessageSourcePathForAnonymousUsers: computed('url', function() {\n    return truncateUrl(this.url, 300);\n  }),\n\n  updateError(error = {}) {\n    this.set('hasErrored', true);\n    this.set('isRetriable', this._failedWithRetriableError(error));\n    this.set(\n      'errorMessage',\n      `Failed. ${this.isRetriable ? 'Click to try again' : error.responseText}`,\n    );\n  },\n\n  _failedWithRetriableError(error) {\n    if (!error.responseText) {\n      return true;\n    }\n    // error messages that shouldn't be retried from\n    let expectedErrors = ['message is too long'];\n    let receivedError = error.responseText.toLowerCase();\n    return expectedErrors.every(expectedError => !receivedError.startsWith(expectedError));\n  },\n\n  isUserPartOrReply: or('isUserPart', 'isReply'),\n\n  canBeRedactedForUserPartOrReply: and('hasBodyOrUploads', 'isUserPartOrReply', 'isNotRedacted'),\n\n  canBeRedactedForNote: and('isNote', 'isNotRedacted'),\n  canBeRedacted: or('canBeRedactedForUserPartOrReply', 'canBeRedactedForNote'),\n  isRedacted: notEmpty('redacted_at'),\n  isNotRedacted: not('isRedacted'),\n  redacted_by_id: attr(),\n\n  redactedBy: computed('redacted_by_id', function() {\n    if (this.redacted_by_id) {\n      return Admin.peekAndMaybeLoad(getEmberDataStore(), this.redacted_by_id);\n    }\n  }),\n\n  redact() {\n    return ajax({\n      url: `/ember/conversation_parts/${this.id}/redact`,\n      type: 'POST',\n      contentType: 'application/json',\n      data: JSON.stringify({\n        app_id: this.app_id,\n        conversation_id: this.conversation_id,\n      }),\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { not, notEmpty } from '@ember/object/computed';\nimport EmberObject, { computed } from '@ember/object';\nimport avatarUtils from '@intercom/embercom-core/lib/avatar-utils';\nimport { task } from 'ember-concurrency';\nimport ajax from 'embercom/lib/ajax';\nimport Admin from 'embercom/models/admin';\n\nexport default Model.extend({\n  admin_id: attr(),\n  admin: computed('admin_id', function() {\n    return Admin.peekAndMaybeLoad(this.store, this.admin_id);\n  }),\n  conversation_id: attr('number'),\n  user: attr(),\n  rating_index: attr('number'),\n  remark: attr('string'),\n  seen_in_inbox_of_love: attr('boolean'),\n  unseen: not('seen_in_inbox_of_love'),\n  updated_at: attr('date'),\n\n  hasRemark: notEmpty('remark'),\n  userWithAvatar: computed('user', function() {\n    let user = EmberObject.create(this.user);\n    user.set('avatarData', {\n      color: user.get('avatar.color'),\n      url: user.get('avatar.image_urls.normal'),\n      initials: avatarUtils.formatInitials(user.get('avatar.initials')),\n      isCustomer: true,\n      isTeammate: false,\n      isCompany: false,\n    });\n    return user;\n  }),\n\n  markAsSeen(app_id) {\n    this.markRatingAsSeen.perform(app_id);\n  },\n\n  markRatingAsSeen: task(function*(app_id) {\n    this.set('seen_in_inbox_of_love', true);\n\n    yield ajax({\n      url: `/ember/conversation_ratings/mark_as_seen/${this.id}`,\n      type: 'PUT',\n      data: JSON.stringify({\n        app_id,\n      }),\n    });\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport ajax from 'embercom/lib/ajax';\n\nconst ConversationRatingsSettings = EmberObject.extend({\n  canCreateConversationRatings: false,\n  excludeLeadsFromConversationRatings: false,\n});\n\nConversationRatingsSettings.reopenClass({\n  async fetch(appId) {\n    let res = await ajax({\n      url: `/ember/conversation_ratings_settings/${appId}.json`,\n      type: 'GET',\n    });\n\n    return ConversationRatingsSettings.create({\n      canCreateConversationRatings: res.can_create_conversation_ratings,\n      excludeLeadsFromConversationRatings: res.exclude_leads_from_conversation_ratings,\n    });\n  },\n});\n\nexport default ConversationRatingsSettings;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, hasMany, belongsTo } from '@ember-data/model';\nimport { cancel, later } from '@ember/runloop';\nimport { isBlank, isEqual, isEmpty } from '@ember/utils';\nimport {\n  and,\n  alias,\n  gte,\n  not,\n  equal,\n  reads,\n  or,\n  notEmpty,\n  filterBy,\n  gt,\n  empty,\n  readOnly,\n} from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport ENV from 'embercom/config/environment';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport { addTo, isAny, subtractFrom } from '@intercom/embercom-core/lib/computed-properties';\nimport ajax from 'embercom/lib/ajax';\nimport { taskGroup } from 'ember-concurrency';\nimport { conversationTask } from 'embercom/services/conversation-cleaner';\nimport moment from 'moment';\nimport TaggingMixin from 'embercom/models/mixins/tagging-mixin';\nimport { CONVERSATION_PRIORITIES, CONVERSATION_STATES } from 'embercom/lib/inbox/constants';\nimport ConversationStreamSyncedList from 'embercom/lib/inbox/conversation-stream-synced-list';\n\n// When a conversation has no SLA attached, its next_breach_time is set to now + 2000 years in the future for sorting purposes.\n// This timestamp describes a point ~2000 years into the future which we use to determine if a conversation has\n// an SLA attached. If next_breach_time < SLA_PIVOT_TIMESTAMP, we have an SLA. If next_breach_time > SLA_PIVOT_TIMESTAMP\n// we do not have an SLA. See https://docs.google.com/document/d/19HGu1of-pvmml2CzCu0BzyFx6xcg1oMY7CUj4ygcTyQ\nconst SLA_PIVOT_TIMESTAMP = new Date(4000, 1, 1);\nconst CARD_ANIMATION_TIME = 300;\n\nexport default Model.extend(TaggingMixin, {\n  store: service(),\n  appService: service(),\n\n  app_id: attr(),\n  read_at: attr(),\n  assignee_id: attr(),\n  admin_assignee_id: attr(),\n  team_assignee_id: attr(),\n  brand_name: attr(),\n  brandName: alias('brand_name'),\n  created_at: attr(),\n  latest_admin_visible_comment_at: attr(),\n  reply_count: attr(),\n  state: attr(),\n  initial_channel: attr(),\n  created_via_api: attr(),\n  started_from_article: attr(),\n  started_by_custom_bot: attr(),\n  priority: attr(),\n  title: attr(),\n  has_uploads: attr(),\n  bounced: attr(),\n  can_use_salesforce: attr(),\n  original_message_url: attr(),\n  lead_shares_email_with_user: attr(),\n  lead_identified_via_email: attr(),\n  has_unread_mentions: attr(),\n  is_one_to_one_conversation: attr(),\n  isOneToOneConversation: alias('is_one_to_one_conversation'),\n  waiting_since: attr(),\n  last_snoozed_at: attr(),\n  admin_has_read: attr('boolean'),\n  updated_at: attr(),\n  sorting_updated_at: attr(),\n  latest_update_at: attr(),\n  rating_index: attr(),\n  conversation_sla_id: attr(),\n  next_breach_time: attr(),\n  nextBreachTime: alias('next_breach_time'),\n  inbox_view_ids: attr(),\n  redacted: attr('boolean'),\n\n  conversationAttributes: hasMany('conversation-attributes/conversation-attribute-value', {\n    async: false,\n  }),\n\n  participants: hasMany('participant', { async: false }),\n\n  main_participant: computed('participants.@each.{firstName,display_as,email}', function() {\n    let participants = this.participants;\n    return participants.objectAt(0);\n  }).readOnly(),\n  mainParticipant: readOnly('main_participant'),\n\n  has50ParticipantsOrMore: gte('participants.length', 50),\n\n  drafts: hasMany('conversation-draft', { async: false }),\n  draft: readOnly('drafts.firstObject'),\n  hasDraft: notEmpty('draft'),\n  hasNoDrafts: not('hasDraft'),\n  isFacebook: equal('initial_channel', 'facebook'),\n  isNotFacebook: not('isFacebook'),\n  isTwitter: equal('initial_channel', 'twitter'),\n  isNotTwitter: not('isTwitter'),\n  isPending: reads('lastPart.isPending'),\n  isNotFacebookOrTwitter: and('isNotFacebook', 'isNotTwitter'),\n  isInitialChannelPush: equal('initial_channel', 'push'),\n  isInitialChannelEmail: equal('initial_channel', 'email'),\n  isInitialChannelMessenger: equal('initial_channel', 'messenger'),\n  isInitialChannelMessengerOrEmail: or('isInitialChannelMessenger', 'isInitialChannelEmail'),\n  adminHasNotRead: not('admin_has_read'),\n  syncedPartList: null,\n  sortedParts: readOnly('syncedPartList.sortedParts'),\n  parts: readOnly('syncedPartList.parts'),\n  sortedNonPassiveParts: filterBy('sortedParts', 'nonPassive', true),\n  userIsTyping: false,\n  hasFetchedParts: gt('syncedPartList.items.length', 0),\n  articleSuggestionCount: 0,\n  isExpanded: false,\n  disableFetchParts: false,\n  disableSeenStateUpdates: false,\n  taggings: hasMany('taggings'),\n  updateTaggingUrl: '/ember/conversations/update_tags.json',\n  hasSla: notEmpty('conversation_sla_id'),\n  hasActiveTimeTarget: computed('next_breach_time', function() {\n    let nextBreachTime = this.next_breach_time;\n    return nextBreachTime && new Date(nextBreachTime) < SLA_PIVOT_TIMESTAMP;\n  }),\n  hasNoActiveTimeTarget: not('hasActiveTimeTarget'),\n  initiator: belongsTo('conversations-service/initiator', { inverse: null }),\n  topics: hasMany('conversational-insights/conversation-topic'),\n\n  init() {\n    this._super(...arguments);\n\n    // Creates a ConversationStreamSyncedList whose ember concurrency tasks\n    // are tied to this conversation's. Cancelling any tasks in the list\n    // will cancel this conversation's tasks (and vice versa)\n    // See: https://github.com/intercom/intercom/issues/150738\n    this.set(\n      'syncedPartList',\n      ConversationStreamSyncedList.create({\n        conversation: this,\n        syncingTaskGroup: this.partTasks,\n      }),\n    );\n  },\n\n  feedFormattedDate: computed('timestamp', function() {\n    return moment(this.timestamp).format(dateAndTimeFormats.date);\n  }),\n  feedDaysAgo: computed('timestamp', function() {\n    let latestUpdateAtTime = moment(this.timestamp);\n    let currentTime = moment();\n\n    // Moment#diff rounds down towards zero, but we want to round to nearest integer\n    // https://momentjs.com/docs/#/displaying/difference/\n    return Math.round(currentTime.diff(latestUpdateAtTime, 'days', true));\n  }),\n\n  canBeImplicitlyAssigned: computed(\n    'unassigned',\n    'assignee.isTeam',\n    'appService.app.inboxIsNotActive',\n    'assignedToOperator',\n    function() {\n      if (this.get('appService.app.inboxIsNotActive')) {\n        return false;\n      }\n      return this.unassigned || this.get('assignee.isTeam') || this.assignedToOperator;\n    },\n  ),\n  assignee: computed('assignee_id', 'appService.app.assignableAdminsAndOperator.[]', function() {\n    if (\n      isBlank(this.assignee_id) ||\n      isBlank(this.get('appService.app.assignableAdminsAndOperator'))\n    ) {\n      return null;\n    }\n    return this.get('appService.app.assignableAdminsAndOperator').findBy('id', this.assignee_id);\n  }),\n  assignedToOperator: computed('assignee_id', 'appService.app.operatorBot.id', function() {\n    return this.assignee_id === this.appService.app.operatorBot.id;\n  }),\n\n  adminAssignee: computed(\n    'admin_assignee_id',\n    'appService.app.assignableAdminsAndOperator.[]',\n    function() {\n      if (\n        isBlank(this.admin_assignee_id) ||\n        isBlank(this.get('appService.app.assignableAdminsAndOperator'))\n      ) {\n        return null;\n      }\n      return this.get('appService.app.assignableAdminsAndOperator').findBy(\n        'id',\n        this.admin_assignee_id,\n      );\n    },\n  ),\n  hasAdminAssignee: computed('admin_assignee_id', function() {\n    return !isBlank(this.admin_assignee_id) && !isEqual('0', this.admin_assignee_id);\n  }),\n  teamAssignee: computed(\n    'team_assignee_id',\n    'appService.app.assignableAdminsAndOperator.[]',\n    function() {\n      if (\n        isBlank(this.team_assignee_id) ||\n        isBlank(this.get('appService.app.assignableAdminsAndOperator'))\n      ) {\n        return null;\n      }\n      return this.get('appService.app.assignableAdminsAndOperator').findBy(\n        'id',\n        this.team_assignee_id,\n      );\n    },\n  ),\n  hasTeamAssignee: computed('team_assignee_id', function() {\n    return !isBlank(this.team_assignee_id) && !isEqual('0', this.team_assignee_id);\n  }),\n\n  unassigned: computed('assignee_id', function() {\n    return isBlank(this.assignee_id) || isEqual('0', this.assignee_id);\n  }),\n  hasAssignee: not('unassigned'),\n\n  first_user_part: belongsTo('conversation-part', { async: false }),\n  firstUserPart: alias('first_user_part'),\n\n  last_part: belongsTo('conversation-part', { async: false }),\n  lastPart: alias('last_part'),\n\n  last_action_part: belongsTo('conversation-part', { async: false }),\n  lastActionPart: alias('last_action_part'),\n\n  last_part_where_current_admin_is_mentioned: belongsTo('conversation-part', { async: false }),\n  lastPartWhereCurrentAdminIsMentioned: alias('last_part_where_current_admin_is_mentioned'),\n\n  last_part_with_content_excluding_operator_v2: belongsTo('conversation-part', { async: false }),\n  lastPartWithContentExcludingOperator: alias('last_part_with_content_excluding_operator_v2'),\n\n  lastPartExcludingOperator: computed('last_part', 'sortedParts.[]', function() {\n    let localLastPartExcludingOperator = this.sortedParts\n      .slice()\n      .reverse()\n      .find(part => part.isNotOperatorPart);\n\n    if (localLastPartExcludingOperator) {\n      return localLastPartExcludingOperator;\n    }\n\n    return this.last_part;\n  }),\n\n  analyticsData: computed('id', function() {\n    return {\n      object: 'conversation',\n      conversation_id: this.id,\n    };\n  }),\n\n  someoneIsTyping: or('userIsTyping', 'anotherAdminIsTypingANote', 'anotherAdminIsTypingAComment'),\n\n  conversationSeenStatus: computed(\n    'bounced',\n    'lastPart.isInitialPartByAdmin',\n    'lastPart.hasBeenSeen',\n    function() {\n      if (this.bounced && this.get('lastPart.isInitialPartByAdmin')) {\n        return 'Bounced';\n      }\n      if (this.get('lastPart.hasBeenSeen')) {\n        return 'Seen';\n      }\n      return 'Not seen yet';\n    },\n  ),\n\n  partsExcludingBots: filterBy('sortedParts', 'isBotPart', false),\n  hasAdminCommentOrMessage: isAny('partsExcludingBots', 'isAdminCommentOrMessage', true),\n  userParts: filterBy('sortedParts', 'isUserPart', true),\n  userPartsWithBody: filterBy('userParts', 'hasBody', true),\n  lastUserPart: readOnly('userParts.lastObject'),\n  lastUserPartWithBody: readOnly('userPartsWithBody.lastObject'),\n  lastUserPartCreated: readOnly('lastUserPart.created_at'),\n  lastUserPartTooOldToReply: computed('lastUserPartCreated', function() {\n    let expiresAfterDays = 1;\n    if (this.appService.app.canUseFeature('facebook_send_as_human_agent')) {\n      expiresAfterDays = 7;\n    }\n    return moment(this.lastUserPartCreated).isBefore(moment().subtract(expiresAfterDays, 'days'));\n  }),\n  showFacebookWarningBanner: and('isFacebook', 'lastUserPartTooOldToReply'),\n  ordinal: alias('timestamp'),\n\n  waitingSinceOrdinal: computed('computedWaitingSince', function() {\n    return this._getTimeForDate(this.computedWaitingSince);\n  }),\n\n  computedWaitingSince: readOnly('waiting_since'),\n\n  _getFutureTimeForWaitingSince() {\n    let currentWaitingSince = moment(this.waiting_since);\n    let now = moment();\n    return (currentWaitingSince.isAfter(now) ? currentWaitingSince : now.add(2000, 'y'))\n      .utc()\n      .format('YYYY-MM-DD[T]HH:mm:ss.000[Z]');\n  },\n\n  _waitingSinceInfluencingPartsDesc: computed(\n    'sortedParts.@each.isWaitingSinceInfluencingPart',\n    function() {\n      return this.sortedParts.filter(part => part.get('isWaitingSinceInfluencingPart')).reverse();\n    },\n  ),\n\n  willDestroy() {\n    if (this.syncedPartList) {\n      this.syncedPartList.unload();\n      this.syncedPartList.destroy();\n    }\n\n    return this._super();\n  },\n\n  unloadRecord() {\n    if (this.syncedPartList) {\n      this.syncedPartList.unload();\n      this.syncedPartList.destroy();\n    }\n    let belongsToParts = [\n      'first_user_part',\n      'last_part',\n      'last_action_part',\n      'last_part_where_current_admin_is_mentioned',\n      'last_part_with_content_excluding_operator_v2',\n    ];\n    belongsToParts.forEach(part => {\n      this.get(part) && this.get(part).unloadRecord();\n    });\n    this._super();\n  },\n\n  _calculateWaitingSinceForAdminPart(latestPart) {\n    // https://github.com/intercom/intercom/issues/108544\n    // Set waiting into the future for admin comments\n    let futureTime = this._getFutureTimeForWaitingSince();\n    if (latestPart.get('hasBodyOrUploads')) {\n      return futureTime;\n    }\n    let influencingParts = this._waitingSinceInfluencingPartsDesc;\n    let previousPart = influencingParts.get('firstObject');\n\n    // if we run into a reopener look at the previous part, if it's a closer or has a body,\n    // set the waiting since into the future\n    if (\n      !latestPart.get('isReopener') ||\n      !previousPart.get('isCloser') ||\n      previousPart.get('hasBodyOrUploads')\n    ) {\n      return futureTime;\n    }\n\n    // If the closer has no body, look back until we find the next admin comment and set the waiting\n    // since to the user comment immediately after this. (i.e. reset the waiting since to what it was before the close)\n    let indexOfLastAdminComment = influencingParts.findIndex(\n      part => part.get('isHumanAdminPart') && part.get('hasBody'),\n    );\n    let endpoint =\n      indexOfLastAdminComment === -1 ? influencingParts.length : indexOfLastAdminComment;\n    let partsAfterLastAdminComment = influencingParts.slice(2, endpoint);\n    let nextUserComment = partsAfterLastAdminComment.reverse().find(part => part.get('isUserPart'));\n    let timeToReturn = nextUserComment ? moment(nextUserComment.get('created_at')) : moment();\n    return timeToReturn.utc().format('YYYY-MM-DD[T]HH:mm:ss.000[Z]');\n  },\n\n  isNotWaiting: computed('computedWaitingSince', function() {\n    let datetime = new Date(this.computedWaitingSince);\n    let now = new Date();\n    let diff = datetime.getFullYear() - now.getFullYear();\n    // A waiting since date in the far future indicates not waiting\n    // we check for the very far future because the local clock is not guaranteed to be accurate\n    return diff > 1000;\n  }),\n\n  inverseOrdinal: computed('ordinal', function() {\n    return this.ordinal * -1;\n  }),\n\n  timestamp: computed('sorting_updated_at', function() {\n    return this._getTimeForDate(this.sorting_updated_at);\n  }),\n\n  secondLastNonPassivePart: computed('sortedNonPassiveParts.[]', function() {\n    let parts = this.sortedNonPassiveParts;\n    let secondLastPart = Math.max(parts.get('length') - 2, 0);\n    return parts.objectAt(secondLastPart);\n  }),\n\n  isSingleMessage: equal('sortedParts.length', 1),\n  hasInitialMessagePart: isAny('sortedParts', 'isInitialMessage'),\n\n  isLastAnOpeningAdminMessage: reads('lastPart.isInitialPartByAdmin'),\n  shouldDisplayMessageOnHeader: and('isLastAnOpeningAdminMessage', 'isSingleMessage'),\n  message_and_replies_count: addTo('reply_count', 1),\n  isGroupConversation: gt('participants.length', 1),\n  isNotGroupConversation: not('isGroupConversation'),\n  fromDeletedUser: empty('participants'),\n  display_item_reply_count: gt('reply_count', 0),\n  other_participant_count: subtractFrom('participants.length', 1),\n\n  otherParticipants: computed('participants.[]', function() {\n    return this.participants.rejectBy('id', this.get('main_participant.id'));\n  }),\n\n  isPrioritised: equal('priority', CONVERSATION_PRIORITIES.priority),\n  isOpen: equal('state', CONVERSATION_STATES.open),\n  isSnoozed: equal('state', CONVERSATION_STATES.snoozed),\n  isNotClosed: or('isOpen', 'isSnoozed'),\n  isClosed: computed('state', function() {\n    return isEmpty(this.state) || this.state === CONVERSATION_STATES.closed;\n  }),\n\n  stateLabel: computed('state', function() {\n    let state = this.state;\n    switch (state) {\n      case CONVERSATION_STATES.open:\n        return 'Open';\n      case CONVERSATION_STATES.closed:\n        return 'Closed';\n      case CONVERSATION_STATES.snoozed:\n        return 'Snoozed';\n    }\n  }),\n\n  assigneeIdentifier: computed('unassigned', 'assignee_id', function() {\n    if (this.unassigned) {\n      return 'unassigned';\n    }\n    return this.assignee_id;\n  }),\n\n  isLastPartARuleAssignment: reads('lastPart.isRuleAssignment'),\n  isLastPartAdminAction: computed('lastPart', function() {\n    let subtype = this.get('lastPart.sub_type');\n    let body = this.get('lastPart.body');\n    return (\n      (subtype === 'assignment' && isBlank(body)) ||\n      subtype === 'close' ||\n      subtype === 'open' ||\n      subtype === 'priority_changed'\n    );\n  }),\n\n  isAssignedTo(admin) {\n    return this.hasAssignee && parseInt(this.assignee_id, 10) === parseInt(admin.get('id'), 10);\n  },\n\n  _getTimeForDate(timestamp) {\n    // the property used to get `timestamp` may be undefined, eg when loading conversations from sync\n    if (!timestamp) {\n      return;\n    }\n    return new Date(timestamp).getTime();\n  },\n\n  addParts(parts) {\n    return this.syncedPartList.addParts(parts);\n  },\n\n  removePart(part) {\n    return this.syncedPartList.removePart(part);\n  },\n\n  _setUpdatedAt() {\n    let lastPartCreatedAt = this.get('lastPart.created_at');\n    let convoUpdatedAt = this.updated_at;\n    // only ever go forward in time.\n    if (!convoUpdatedAt || new Date(lastPartCreatedAt) > new Date(convoUpdatedAt)) {\n      this.set('updated_at', lastPartCreatedAt);\n    }\n  },\n\n  _setSortingUpdatedAt() {\n    let lastNonPassivePart = this.sortedParts\n      .slice()\n      .reverse()\n      .find(p => p.get('nonPassive'));\n    let convoSortingUpdatedAt = this.sorting_updated_at;\n    if (\n      !!lastNonPassivePart &&\n      (!convoSortingUpdatedAt ||\n        new Date(lastNonPassivePart.get('created_at')) > new Date(this.sorting_updated_at))\n    ) {\n      this.set('sorting_updated_at', lastNonPassivePart.get('created_at'));\n    }\n  },\n\n  async handleRealtimeEventIfShould(event) {\n    if (this.isDestroyed || this.isDestroying) {\n      return;\n    }\n\n    if (!this.shouldHandleRealtimeEvent(event)) {\n      return;\n    }\n\n    await this.syncedPartList.sync();\n    this.updatedByRealtimeEvent(event);\n  },\n\n  shouldHandleRealtimeEvent(event) {\n    if (event.conversationId !== this.id) {\n      // The event is for a different conversation\n      return false;\n    }\n\n    let eventClientSideUUID = event.clientAssignedUuid;\n    return eventClientSideUUID\n      ? !this.sortedParts.mapBy('client_assigned_uuid').includes(eventClientSideUUID)\n      : // The event corresponds to a client that is not Embercom/Messenger. Handle it!\n        true; // eslint-disable-line operator-linebreak\n  },\n\n  updatedByRealtimeEvent(event) {\n    try {\n      switch (event.eventName) {\n        case 'ConversationAttributesUpdated':\n          return this.updateConversationAttribute(event.updatedAttributes);\n        default:\n          return this.genericRealtimeUpdate(event);\n      }\n    } catch (e) {\n      // no-op\n    }\n  },\n\n  updateConversationAttribute(updatedAttributes) {\n    updatedAttributes.map(({ id, value }) => {\n      let exisitingRecord = this.store.peekRecord(\n        'conversation-attributes/conversation-attribute-value',\n        id,\n      );\n      if (exisitingRecord) {\n        exisitingRecord.value = value;\n      } else {\n        let createdRecord = this.store.push(\n          this.store.normalize('conversation-attributes/conversation-attribute-value', {\n            id,\n            value,\n          }),\n        );\n        this.conversationAttributes.pushObject(createdRecord);\n      }\n    });\n  },\n\n  genericRealtimeUpdate(event) {\n    let eventAssigneeId = event.assigneeId === null ? '' : event.assigneeId.toString();\n    let eventPriority = event.priority;\n    let eventNextBreachTime = event.next_breach_time;\n    let isEventFromUser = event.lastActivityOwnerId === null;\n    let state = event.state !== undefined ? event.state : null;\n    let eventConversationSlaId = event.conversation_sla_id;\n\n    try {\n      this.set('assignee_id', eventAssigneeId);\n\n      if (this.appService.app?.canAssignToTeamAndTeammate) {\n        this.set(\n          'team_assignee_id',\n          event.teamAssigneeId === null ? '' : event.teamAssigneeId.toString(),\n        );\n\n        this.set(\n          'admin_assignee_id',\n          event.adminAssigneeId === null ? '' : event.adminAssigneeId.toString(),\n        );\n      }\n\n      if (this.appService.app?.canUseEmberConversationTitle) {\n        this.set('title', event.title);\n      }\n\n      if (state !== null) {\n        let oldState = this.state;\n        if (oldState !== state) {\n          this.set('state', state);\n        }\n      }\n\n      if (typeof eventPriority !== 'undefined' && this.priority !== eventPriority) {\n        this.set('priority', eventPriority);\n      }\n\n      if (typeof eventNextBreachTime !== 'undefined') {\n        this.set('next_breach_time', eventNextBreachTime);\n      }\n\n      if (eventConversationSlaId !== null) {\n        this.set('conversation_sla_id', eventConversationSlaId);\n      }\n\n      if (event.subType === 'conversation_tags_updated') {\n        this.taggings.reload();\n      }\n\n      if (isEventFromUser) {\n        this.set('userIsTyping', false);\n      } else {\n        this.clearAdminTypingState();\n      }\n    } catch (e) {\n      // no-op\n    }\n  },\n\n  handleExternalReplySendStateRealtimeEvent(event) {\n    let conversationPartId = event.commentId;\n    let conversationPart = this.sortedParts.findBy('partId', conversationPartId);\n\n    if (conversationPart) {\n      conversationPart.set('external_reply_send_state', {\n        send_state: event.sendState,\n        info_message: event.infoMessage,\n      });\n    }\n  },\n\n  updateConversationReadAt() {\n    let readAt = new Date().toISOString();\n    this.set('read_at', readAt);\n  },\n\n  updateUserIsTyping() {\n    this.set('userIsTyping', true);\n\n    if (this.userIsTypingTimer) {\n      cancel(this.userIsTypingTimer);\n    }\n    this.set(\n      'userIsTypingTimer',\n      later(\n        this,\n        function() {\n          if (!(this.isDestroyed || this.isDestroying)) {\n            this.set('userIsTyping', false);\n          }\n        },\n        ENV.APP.cancel_user_is_typing_timeout,\n      ),\n    );\n  },\n\n  typingAdmin: null,\n  typingAdminPartType: null, // can be 'note' or 'comment'\n  anotherAdminIsTypingANote: equal('typingAdminPartType', 'note'),\n  anotherAdminIsTypingAComment: equal('typingAdminPartType', 'comment'),\n\n  updateAdminIsTyping(admin, action) {\n    if (!this.typingAdmin || this.typingAdmin === admin) {\n      this.setProperties({\n        typingAdminPartType: action,\n        typingAdmin: admin,\n      });\n    }\n    if (this.adminIsTypingTimer) {\n      cancel(this.adminIsTypingTimer);\n    }\n    this.set(\n      'adminIsTypingTimer',\n      later(this, this.clearAdminTypingState, ENV.APP.isTypingTimeout),\n    );\n  },\n\n  clearAdminTypingState() {\n    if (!this.isDestroying) {\n      this.setProperties({\n        typingAdminPartType: null,\n        typingAdmin: null,\n      });\n    }\n  },\n\n  createDraftForAdmin(admin) {\n    let draft = this.store.createRecord('conversation-draft', {\n      app_id: this.app_id,\n      conversation_id: this.id,\n      subclass: null,\n      blocks: [],\n    });\n\n    this.drafts.pushObject(draft);\n    return draft;\n  },\n\n  partTasks: taskGroup().enqueue(),\n\n  updateDraft: conversationTask(function*(draft) {\n    yield draft.save();\n  }).group('partTasks'),\n\n  deleteDraft: conversationTask(function*() {\n    let draft = this.draft;\n    this.set('drafts', []);\n    if (draft && !draft.isDeleted) {\n      yield draft.destroyRecord();\n    }\n  }).group('partTasks'),\n\n  savePart: conversationTask(function*(part) {\n    if (part.get('isWaitingSinceInfluencingPart')) {\n      this.set('waiting_since', this._calculateWaitingSinceForAdminPart(part));\n    }\n    try {\n      part.set('hasErrored', false);\n      yield part.save();\n      if (part.get('isReply')) {\n        this.incrementProperty('reply_count');\n      }\n    } catch (error) {\n      part.updateError(error);\n      throw error;\n    }\n  }).group('partTasks'),\n\n  saveParts(parts) {\n    return ajax({\n      url: '/ember/conversation_parts/multi_create',\n      type: 'post',\n      contentType: 'application/json',\n      data: JSON.stringify({\n        app_id: this.app_id,\n        conversation_id: this.id,\n        parts,\n      }),\n    });\n  },\n\n  saveMultipleParts: conversationTask(function*(parts) {\n    try {\n      parts.setEach('hasErrored', false);\n      yield this.saveParts(parts);\n      this.incrementProperty('reply_count');\n      parts.forEach(part => {\n        part._internalModel.adapterWillCommit();\n        part._internalModel.adapterDidCommit();\n      });\n    } catch (error) {\n      parts.forEach(part => {\n        part.updateError(error);\n      });\n      throw error;\n    }\n  }).group('partTasks'),\n\n  markMentionsAsRead() {\n    if (!this.has_unread_mentions) {\n      return;\n    }\n    this.set('has_unread_mentions', false);\n    ajax({\n      url: '/ember/mentions/mark_conversation_as_read.json',\n      type: 'POST',\n      data: JSON.stringify({\n        app_id: this.app_id,\n        conversation_id: this.id,\n      }),\n    });\n  },\n\n  markAsReadForAdmin() {\n    if (!this.adminHasNotRead) {\n      return;\n    }\n    this.set('admin_has_read', true);\n    return ajax({\n      url: '/ember/conversations/mark_as_read.json',\n      type: 'POST',\n      data: JSON.stringify({\n        app_id: this.app_id,\n        conversation_ids: [this.id],\n      }),\n    });\n  },\n  addParticipant(email) {\n    return ajax({\n      url: '/ember/conversation_participants.json',\n      type: 'POST',\n      data: JSON.stringify({\n        app_id: this.app_id,\n        conversation_id: this.id,\n        email_address: email,\n      }),\n    }).then(response => {\n      this.store.pushPayload({ participants: response.users });\n      let added_participants = response.users.map(user => {\n        return this.store.peekRecord('participant', user.id);\n      });\n      added_participants.forEach(participant => {\n        if (!this.participants.findBy('id', participant.get('id'))) {\n          this.participants.pushObject(participant);\n        }\n      });\n      return added_participants[0];\n    });\n  },\n  removeParticipant(user) {\n    let participant = this.participants.findBy('id', user.get('id'));\n    this.participants.removeObject(participant);\n\n    return ajax({\n      url: '/ember/conversation_participants.json',\n      type: 'DELETE',\n      data: JSON.stringify({\n        app_id: this.app_id,\n        conversation_id: this.id,\n        user_id: user.get('id'),\n      }),\n      dataType: 'text',\n    }).catch(error => {\n      this.participants.pushObject(participant);\n      throw error;\n    });\n  },\n  fetchSuggestions() {\n    return ajax({\n      url: `/ember/conversations/${this.id}/article_suggestions.json`,\n      type: 'GET',\n      data: {\n        app_id: this.app_id,\n      },\n    }).catch(() => {\n      return { suggestions: [] };\n    });\n  },\n}).reopenClass({\n  CARD_ANIMATION_TIME,\n\n  newSearch(params) {\n    return ajax({\n      url: this.searchUrl(params),\n      type: 'GET',\n      data: params,\n    });\n  },\n\n  searchUrl(params) {\n    if (params._data_source === 'elasticsearch') {\n      return '/ember/conversations/search.json';\n    }\n    if (params.user_id) {\n      return '/ember/conversations/for_user.json';\n    }\n    if (params.company_id) {\n      return '/ember/conversations/for_company.json';\n    }\n    if (params.assignee_identifier === 'mentions') {\n      return '/ember/conversations/list_mentions.json';\n    }\n    if (params.assignee_identifier?.startsWith('view:')) {\n      return '/ember/conversations/inbox_view.json';\n    }\n    return '/ember/conversations.json';\n  },\n\n  bulkAction(app, conversations, actionType, assignee) {\n    let conversationIds = conversations.mapBy('id');\n    let params = {\n      app_id: app.get('id'),\n      conversation_ids: conversationIds,\n      operation: actionType,\n    };\n    if (actionType === 'assignment') {\n      params.assignee_id = assignee.get('id');\n    }\n    return ajax({\n      url: '/ember/conversations/bulk.json',\n      type: 'POST',\n      data: JSON.stringify(params),\n    });\n  },\n});\n","import Model, { attr } from '@ember-data/model';\n\nexport default class ConversationTopicModel extends Model {\n  @attr('array') keyphrases;\n  @attr('string') name;\n\n  get keyphrasesText() {\n    return this.joinKeyphrases(this.keyphrases);\n  }\n\n  setKeyphrasesFromText(keyphraseText) {\n    this.keyphrases = this.splitKeyphrases(keyphraseText);\n  }\n\n  splitKeyphrases(keyphraseText) {\n    return keyphraseText\n      .split(',')\n      .map(keyphrase => keyphrase.trim())\n      .filter(t => t.length > 0);\n  }\n\n  joinKeyphrases(keyphrases) {\n    return (keyphrases || []).join(', ');\n  }\n}\n","import Model, { attr } from '@ember-data/model';\n\nexport default class SuggestedConversationTopicModel extends Model {\n  @attr('array') keyphrases;\n  @attr('string') name;\n\n  get keyphrasesText() {\n    return this.joinKeyphrases(this.keyphrases);\n  }\n\n  setKeyphrasesFromText(keyphraseText) {\n    this.keyphrases = this.splitKeyphrases(keyphraseText);\n  }\n\n  splitKeyphrases(keyphraseText) {\n    return keyphraseText\n      .split(',')\n      .map(keyphrase => keyphrase.trim())\n      .filter(t => t.length > 0);\n  }\n\n  joinKeyphrases(keyphrases) {\n    return (keyphrases || []).join(', ');\n  }\n}\n","import Model, { attr } from '@ember-data/model';\n\nexport default class TopicSuggestion extends Model {\n  @attr('string') title;\n  @attr('array') keyphrases;\n  @attr('string') status;\n\n  get keyphrasesText() {\n    return (this.keyphrases || []).join(', ');\n  }\n\n  get isSuggested() {\n    return this.status === 'suggested';\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport Model, { attr, hasMany, belongsTo } from '@ember-data/model';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\n\nconst ALL_PART_TYPES = ['message', 'comment', 'note'].sort();\nconst ALL_AUTHOR_TYPES = ['user', 'teammate', 'bot'].sort();\n\nexport default class Topic extends Model {\n  @attr('string') title;\n  @attr('array') keyphrases;\n  @attr('array') excludedKeyphrases;\n  @attr('array') partTypes;\n  @attr('array') authorTypes;\n  @attr('array') tagIds;\n  @hasMany('conversational-insights/topic', { inverse: 'parent', async: false }) subTopics;\n  @belongsTo('conversational-insights/topic', { inverse: 'subTopics', async: false }) parent;\n\n  init() {\n    super.init(...arguments);\n    this._initPartTypes();\n    this._initAuthorTypes();\n    this._initTagIds();\n    this._initeExcludedKeyphrases();\n  }\n\n  _initPartTypes() {\n    if (this.partTypes === undefined || this.partTypes.length === 0) {\n      this.partTypes = ALL_PART_TYPES;\n    }\n  }\n\n  _initAuthorTypes() {\n    if (this.authorTypes === undefined || this.authorTypes.length === 0) {\n      this.authorTypes = ALL_AUTHOR_TYPES;\n    }\n  }\n\n  _initTagIds() {\n    if (this.tagIds === undefined) {\n      this.tagIds = [];\n    }\n  }\n\n  _initeExcludedKeyphrases() {\n    if (this.excludedKeyphrases === undefined) {\n      this.excludedKeyphrases = [];\n    }\n  }\n\n  get keyphrasesText() {\n    return this.joinKeyphrases(this.keyphrases);\n  }\n\n  get excludedKeyphrasesText() {\n    return this.joinKeyphrases(this.excludedKeyphrases);\n  }\n\n  joinKeyphrases(keyphrases) {\n    return (keyphrases || []).join(', ');\n  }\n\n  get canBeSaved() {\n    let title = this.title || '';\n    let keyphrases = this.keyphrases || [];\n    return title.trim().length > 0 && keyphrases.length > 0;\n  }\n\n  get definitionHash() {\n    return (\n      this.keyphrasesText +\n      this.excludedKeyphrasesText +\n      (this.partTypes || '').toString() +\n      (this.authorTypes || '').toString() +\n      (this.tagIds || '').toString()\n    );\n  }\n\n  get isMatchingAllPartTypes() {\n    return ALL_PART_TYPES.every(el => this.partTypes.includes(el));\n  }\n\n  get isSubTopic() {\n    return this.parent !== null;\n  }\n\n  // Retrieve an array of all the ancestor topics if this is a subtopic\n  get ancestorTopicIds() {\n    return this.ancestors.map(({ id }) => id);\n  }\n\n  // Retrieve an array of all the descendent subtopics, if any\n  get descendentTopicIds() {\n    let subTopicsIds = this.subTopics.map(({ id }) => id);\n    let descendentTopicIds = this.subTopics.map(s => s.descendentTopicIds).flat();\n    return [...subTopicsIds, ...descendentTopicIds];\n  }\n\n  // The ancestors of this topic, including the immediate parent if any\n  get ancestors() {\n    return this.isSubTopic ? [this.parent, ...this.parent.ancestors] : [];\n  }\n\n  static findAllTopLevelTopics() {\n    let store = getEmberDataStore();\n    return store\n      .findAll('conversational-insights/topic')\n      .then(topics => topics.filter(({ isSubTopic }) => !isSubTopic));\n  }\n\n  setKeyphrasesFromText(text) {\n    this.keyphrases = this.splitKeyphrases(text);\n  }\n\n  setExcludedKeyphrasesText(text) {\n    this.excludedKeyphrases = this.splitKeyphrases(text);\n  }\n\n  splitKeyphrases(text) {\n    return text\n      .split(',')\n      .map(g => g.trim().replace(/\\s+/, ' '))\n      .filter(g => g.length > 0);\n  }\n}\n","import Model, { attr } from '@ember-data/model';\nimport {\n  humanReadableObjectNames,\n  objectNames,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { OUTBOUND_EDITOR_ROUTES } from 'embercom/models/outbound/content-wrapper';\nimport { capitalize } from '@ember/string';\n\nexport default class Initiator extends Model {\n  @attr('number') contentType;\n  @attr('number') rulesetId;\n  @attr('string') title;\n  @attr('boolean', { defaultValue: false }) deleted;\n\n  get label() {\n    let readableContentType = capitalize(humanReadableObjectNames[this.contentType]);\n    return this.deleted ? `Deleted ${readableContentType}` : readableContentType;\n  }\n\n  get showPageId() {\n    return this.rulesetId;\n  }\n\n  get showPageRoute() {\n    return OUTBOUND_EDITOR_ROUTES[objectNames[this.contentType]];\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  amountOffInCents: attr(),\n  percentOff: attr(),\n  billingCyclesLeft: attr(),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  name: attr('string'),\n  title: attr('string'),\n  url: attr('string'),\n  userId: attr('string'),\n  userEmail: attr('string'),\n  profileType: attr('string'),\n  ownerName: attr('string'),\n  ownerRole: attr('string'),\n  ownerEmail: attr('string'),\n  objectType: attr('string'),\n  status: attr('string'),\n  recordCount: attr('string'),\n  reasons: attr('array'),\n  errors: attr('array'),\n  attributes: attr(),\n\n  // Marketo Attributes\n  leadScore: attr('string'),\n  leadStatus: attr('string'),\n\n  // Pipedrive Attributes\n  conversationId: attr('string'),\n  dealTitle: attr('string'),\n  dealStatus: attr('string'),\n  dealCount: attr('string'),\n  stageName: attr('string'),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  _id: attr('string'),\n  appIdCode: attr('string'),\n  destinationAttributePath: attr('string'),\n  editable: attr('boolean'),\n  integrationCode: attr('string'),\n  direction: attr('number', { defaultValue: 0 }),\n  sourceAttributePath: attr('string'),\n  sourceObjectType: attr('string'),\n  sourceType: attr('string'),\n  updatedAt: attr('date'),\n\n  isEqual(other) {\n    return (\n      other.destinationAttributePath === this.destinationAttributePath &&\n      other.sourceAttributePath === this.sourceAttributePath &&\n      other.direction === this.direction\n    );\n  },\n});\n","import Fragment from 'ember-data-model-fragments/fragment';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\n\nexport default Fragment.extend({\n  string: fragmentArray('crm/attribute'),\n  boolean: fragmentArray('crm/attribute'),\n  integer: fragmentArray('crm/attribute'),\n  float: fragmentArray('crm/attribute'),\n  date: fragmentArray('crm/attribute'),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  path: attr('string'),\n  label: attr('string'),\n  sourceObjectType: attr('string'),\n});\n","import { attr } from '@ember-data/model';\n\nexport default class WebhookFilter {\n  @attr('string') appIdCode;\n  @attr('string') operator;\n  @attr('boolean') attributeName;\n  @attr('string') value;\n}\n","import { attr } from '@ember-data/model';\nimport Import from './import';\nimport { computed } from '@ember/object';\nimport { equal, readOnly } from '@ember/object/computed';\nimport ajax from 'embercom/lib/ajax';\n\nconst MAX_ERROR_COUNT_PER_COLUMN = 10;\n\nexport default Import.extend({\n  filename: attr(),\n  recordType: attr(),\n  previewColumns: attr(),\n  rowCount: attr(),\n  columnsExceedingMaxLength: attr(),\n  hasHeader: attr(),\n\n  failed: equal('importStatus', 'Failed'),\n  errorCounts: readOnly('importSummary.error_counts'),\n  isLeads: equal('recordType', 'leads'),\n  columnsWithTooManyFailingRows: computed('errorCounts', function() {\n    let errorCounts = this.errorCounts;\n    let columnsWithTooManyFailingRows = [];\n    Object.keys(errorCounts).forEach(columnName => {\n      let columnErrors = errorCounts[columnName];\n      Object.values(columnErrors).forEach(errorCount => {\n        if (errorCount > MAX_ERROR_COUNT_PER_COLUMN) {\n          let notification = `The ${columnName} column has too many failing rows with the same error to list. Try again after removing the cause of the problem.`;\n          columnsWithTooManyFailingRows.push(notification);\n        }\n      });\n    });\n    return columnsWithTooManyFailingRows;\n  }),\n  remainingErrorCount: computed('errorCounts', function() {\n    let errorCounts = this.errorCounts;\n    let result = 0;\n    Object.values(errorCounts).forEach(columnErrors => {\n      Object.values(columnErrors).forEach(errorCount => {\n        errorCount = parseInt(errorCount, 10);\n        if (errorCount > MAX_ERROR_COUNT_PER_COLUMN) {\n          result += errorCount - MAX_ERROR_COUNT_PER_COLUMN;\n        }\n      });\n    });\n    return result;\n  }),\n  createColumnAssignments(columnAssignments) {\n    columnAssignments.app_id = this.appId;\n    return ajax({\n      url: `/ember/csv_imports/${this.id}/column_assignments.json`,\n      method: 'POST',\n      data: JSON.stringify(columnAssignments),\n      contentType: 'application/json',\n    });\n  },\n  createUserCreateJob() {\n    return ajax({\n      url: `/ember/csv_imports/${this.id}/user_create_job`,\n      method: 'POST',\n      data: JSON.stringify({ app_id: this.appId }),\n      contentType: 'application/json',\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { or } from '@ember/object/computed';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport { senderTypes } from 'embercom/models/data/outbound/constants';\n\nexport default Model.extend({\n  appId: attr(),\n  email: attr(),\n  name: attr(),\n  nameOrEmail: or('name', 'email'),\n  verified: attr(),\n  status: attr(),\n  displayAs: templateString('${name} <${email}>'),\n  isCustomEmailAddress: true,\n  outboundType: senderTypes.customEmailAddress,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { hasMany } from '@ember-data/model';\nimport { alias } from '@ember/object/computed';\n\nexport default Model.extend({\n  archived_attributes: hasMany('attribute', {\n    defaultValue: () => [],\n  }),\n  archivedAttributes: alias('archived_attributes'),\n});\n","let MessageAttributes = [\n  {\n    identifier: 'message.content',\n    type: 'string',\n    name: 'Message Content',\n    icon: 'message',\n    comparison: [{ label: 'contains', value: 'contains', selected: false }],\n  },\n  {\n    identifier: 'message.url',\n    type: 'string',\n    name: 'Page URL',\n    icon: 'message',\n    comparison: [\n      { label: 'is', value: 'eq', selected: false },\n      { label: 'contains', value: 'contains', selected: false },\n    ],\n  },\n  {\n    identifier: 'message.subject',\n    type: 'string',\n    name: 'Email Subject',\n    icon: 'message',\n    comparison: [{ label: 'contains', value: 'contains', selected: false }],\n  },\n  {\n    identifier: 'message.recipient',\n    type: 'downcased_string',\n    name: 'Email To',\n    icon: 'message',\n    comparison: [{ label: 'is', value: 'eq', selected: false }],\n  },\n  {\n    identifier: 'message.channel_is_android',\n    type: 'boolean',\n    name: 'From Android',\n    icon: 'android',\n    comparison: [\n      { label: 'is true', value: 'true', selected: true, hideInput: true },\n      { label: 'is false', value: 'false', selected: false, hideInput: true },\n    ],\n  },\n  {\n    identifier: 'message.channel_is_ios',\n    type: 'boolean',\n    name: 'From iOS',\n    icon: 'ios',\n    comparison: [\n      { label: 'is true', value: 'true', selected: true, hideInput: true },\n      { label: 'is false', value: 'false', selected: false, hideInput: true },\n    ],\n  },\n  {\n    identifier: 'message.channel_is_facebook',\n    type: 'boolean',\n    name: 'From Facebook',\n    icon: 'facebook',\n    comparison: [\n      { label: 'is true', value: 'true', selected: true, hideInput: true },\n      { label: 'is false', value: 'false', selected: false, hideInput: true },\n    ],\n  },\n  {\n    identifier: 'message.channel_is_twitter',\n    type: 'boolean',\n    name: 'From Twitter',\n    icon: 'twitter',\n    comparison: [\n      { label: 'is true', value: 'true', selected: true, hideInput: true },\n      { label: 'is false', value: 'false', selected: false, hideInput: true },\n    ],\n  },\n];\n\nexport default MessageAttributes;\n","let AttributeIconMap = {\n  icons: {\n    name: 'multiple-people',\n    anonymous: 'person',\n    user_id: 'transfer',\n    last_request_at: 'calendar',\n    last_contacted_at: 'calendar',\n    created_at: 'calendar',\n    remote_created_at: 'calendar',\n    last_heard_from_at: 'calendar',\n    email: 'email',\n    'social_accounts.job_title': 'account',\n    session_count: 'sessions',\n    'geoip_data.continent_code': 'globe',\n    'geoip_data.country_name': 'globe',\n    'geoip_data.country_code': 'globe',\n    'geoip_data.region_name': 'globe',\n    'geoip_data.city_name': 'city',\n    'geoip_data.timezone': 'clock',\n    'user_agent_data.name': 'computer',\n    'user_agent_data.version': 'computer',\n    ios_device: 'ios',\n    ios_app_version: 'ios',\n    visit_count: 'sessions',\n    session_count_ios: 'ios',\n    last_request_at_ios: 'ios',\n    ios_os_version: 'ios',\n    last_request_at_android: 'android',\n    android_os_version: 'android',\n    session_count_android: 'android',\n    android_app_version: 'android',\n    android_device: 'android',\n    'user_agent_data.os': 'computer',\n    'social_accounts.twitter.follower_count': 'twitter',\n    'social_accounts.twitter.accounts.0.url': 'twitter',\n    'social_accounts.linkedin.accounts.0.url': 'linkedin',\n    'social_accounts.facebook.accounts.0.url': 'facebook',\n    'social_accounts.klout.accounts.0.kscore': 'klout',\n    tag_ids: 'segment',\n    'user_event_summaries.segment-created.count': 'transfer',\n    unsubscribed_from_emails: 'unsubscribed',\n    marked_email_as_spam: 'bounced',\n    has_hard_bounced: 'bounced',\n    last_email_opened_at: 'calendar',\n    last_email_clicked_at: 'calendar',\n    last_visited_url: 'globe',\n    referrer: 'globe',\n    url_visits: 'sessions',\n    total_url_visits: 'sessions',\n    manual_tag_ids: 'tag',\n    browser_locale: 'globe',\n    language_override: 'globe',\n    vip_timestamp: 'star',\n    'company.name': 'company',\n    'company.last_request_at': 'calendar',\n    'company.remote_created_at': 'calendar',\n    'company.user_count': 'multiple-people',\n    'company.session_count': 'sessions',\n    'company.plan_id': 'account',\n    'company.monthly_spend': 'creditcard',\n    'company.manual_tag_ids': 'tag',\n    'company.tag_ids': 'segment',\n    'company.size': 'multiple-people',\n    'company.website': 'link',\n    'company.industry': 'company',\n    'company.custom_data.id_code': 'transfer',\n    'company.custom_data.admin_link': 'transfer',\n    'company.custom_data.framework': 'transfer',\n    'company.custom_data.installed_at': 'calendar',\n    'company.custom_data.converted_at': 'calendar',\n    'company.custom_data.tracked_users': 'transfer',\n    'company.custom_data.signed_up_through_heroku': 'transfer',\n    'company.custom_data.powered_by_intercom': 'transfer',\n    'company.custom_data.custom_data_installed_at': 'calendar',\n    'client_attributes.time_on_page': 'clock',\n    role: 'person',\n    user: 'person',\n    phone: 'phone',\n    last_conversation_rating_given: 'lwr-happy',\n    utm_campaign: 'custom-data',\n    utm_content: 'custom-data',\n    utm_medium: 'custom-data',\n    utm_source: 'custom-data',\n    utm_term: 'custom-data',\n    owner_id: 'owner',\n    account_id: 'account',\n    account_name: 'account',\n    chat_viewed: 'opened-message',\n    chat_received: 'receive',\n    chat_opened: 'opened-message',\n    chat_clicked: 'click-element',\n    chat_goal_hit: 'goals',\n    chat_replied: 'reply',\n    chat_dismissal: 'dismiss',\n    post_viewed: 'opened-message',\n    post_received: 'receive',\n    post_opened: 'opened-message',\n    post_clicked: 'click-element',\n    post_goal_hit: 'goals',\n    post_replied: 'reply',\n    post_dismissal: 'dismiss',\n    post_reacted: 'lwr-happy',\n    email_received: 'receive',\n    email_opened: 'opened-message',\n    email_clicked: 'click-element',\n    email_goal_hit: 'goals',\n    email_replied: 'reply',\n    email_bounced: 'bounced',\n    email_unsubscribed: 'unsubscribed',\n    tour_viewed: 'opened-message',\n    tour_completed: 'complete',\n    tour_failed: 'bounced',\n    tour_goal_hit: 'goals',\n    push_received: 'receive',\n    push_opened: 'opened-message',\n    push_goal_hit: 'goals',\n    carousel_received: 'receive',\n    carousel_completed: 'complete',\n    carousel_dismissal: 'dismiss',\n    carousel_goal_hit: 'goals',\n    custom_bot_received: 'receive',\n    custom_bot_replied: 'reply',\n    custom_bot_completed: 'complete',\n    custom_bot_goal_hit: 'goals',\n  },\n};\n\nexport default AttributeIconMap;\n","export default {\n  string: 'Text',\n  role: 'User, lead, or visitor',\n  last_conversation_rating_given: 'Conversation rating',\n  date: 'Date',\n  integer: 'Number',\n  fixnum: 'Number',\n  browser_locale: 'Browser locale',\n  downcased_string: 'Text',\n  tag: 'Segment',\n  manual_tag: 'Tag',\n  boolean: 'True or false',\n  float: 'Decimal number',\n  ios_device: 'Device name',\n  ios_version: 'Version number',\n  android_app_version: 'Version number',\n  android_device: 'Device name',\n  android_version: 'Version number',\n  plan: 'Text',\n  company_tag: 'Tag',\n  owner_id: 'Teammate',\n  account_id: 'Account',\n};\n","export default {\n  cancelChanges: {\n    title: 'Cancel changes',\n    body: 'Are you sure you want to cancel the changes you have made to the campaign?',\n    confirmButtonText: 'Cancel the changes',\n    cancelButtonText: 'Continue editing',\n  },\n  delete: {\n    title: 'Delete campaign',\n    body:\n      'Are you sure you want to delete this campaign? Messages contained within the campaign will also be deleted',\n    confirmButtonText: 'Delete campaign',\n    primaryButtonType: 'primary-destructive',\n    autofocus: false,\n  },\n  activate: {\n    title: 'Set campaign live',\n    confirmButtonText: 'Set live',\n  },\n  saveChanges: {\n    title: 'Save new campaign rules?',\n    confirmButtonText: 'Save rules',\n  },\n};\n","export const actionToTypeMap = {\n  continue: 'continue',\n  skip: 'skip',\n  startChat: 'start_chat',\n  dismiss: 'dismiss',\n  link: 'link',\n  deepLink: 'deep_link',\n  locationPermission: 'location_permission',\n  pushNotificationPermission: 'push_notifications_permission',\n  cameraPermission: 'camera_permission',\n  microphonePermission: 'microphone_permission',\n  photosPermission: 'photos_permission',\n};\n\nexport const typeToActionMap = Object.keys(actionToTypeMap).reduce((ret, key) => {\n  ret[actionToTypeMap[key]] = key;\n  return ret;\n}, {});\n\nexport const actionToTitleMap = {\n  continue: 'Continue',\n  skip: 'Not now',\n  startChat: 'Start a conversation',\n  dismiss: 'Done',\n  link: 'Done',\n  deepLink: 'Done',\n  locationPermission: 'Allow location access',\n  pushNotificationPermission: 'Allow push notification access',\n  cameraPermission: 'Allow camera access',\n  microphonePermission: 'Allow microphone access',\n  photosPermission: 'Allow photo gallery access',\n};\n\nexport const nonPermissionTypes = [\n  actionToTypeMap.dismiss,\n  actionToTypeMap.link,\n  actionToTypeMap.deepLink,\n  actionToTypeMap.startChat,\n  actionToTypeMap.continue,\n];\n\nexport const lastScreenOptions = [\n  {\n    value: actionToTypeMap.dismiss,\n    label: 'Close the carousel',\n    description: 'Default action',\n  },\n  {\n    value: -1,\n    label: 'Request Permissions',\n    description: 'Notification, location etc',\n  },\n  {\n    value: actionToTypeMap.link,\n    label: 'Open an external link',\n    description: 'External URL page',\n  },\n  {\n    value: actionToTypeMap.deepLink,\n    label: 'Open a deep link',\n    description: 'URI link in your app',\n  },\n  {\n    value: actionToTypeMap.startChat,\n    label: 'Start a conversation',\n    description: 'Open Intercom messenger',\n  },\n];\n\nexport const lastScreenOptionsValues = lastScreenOptions.map(o => o.value);\n\nexport const permissionsLabelIconMap = [\n  {\n    value: actionToTypeMap.locationPermission,\n    label: 'Location',\n    icon: 'location',\n  },\n  {\n    value: actionToTypeMap.pushNotificationPermission,\n    label: 'Push notifications',\n    icon: 'push-notification',\n  },\n  {\n    value: actionToTypeMap.microphonePermission,\n    label: 'Microphone',\n    icon: 'microphone',\n  },\n  {\n    value: actionToTypeMap.cameraPermission,\n    label: 'Camera',\n    icon: 'camera',\n  },\n  {\n    value: actionToTypeMap.photosPermission,\n    label: 'Photo gallery',\n    icon: 'picture',\n  },\n].sort((a, b) => (a.value > b.value ? 1 : -1));\n\nexport const permissionTypeValues = permissionsLabelIconMap.map(o => o.value);\n\nexport const actionTypes = [\n  {\n    value: actionToTypeMap.continue,\n    label: 'Navigate to the next screen',\n    description: 'Default action',\n  },\n  {\n    value: -1,\n    label: 'Request permissions',\n    description: 'Notifications, location etc',\n  },\n];\n","export const defaultParagraph = {\n  type: 'paragraph',\n  text:\n    'Use short body text, images (including gifs), and images with text to add detail. Be as short and simple as possible. Focus on one key thing that will make your user successful per screen.',\n};\n\nexport const defaultTitle = {\n  type: 'subheading',\n  text: 'Titles make the message clear',\n};\n","const HEADING_BLOCK = {\n  type: 'subheading',\n  text: 'Welcome to Podcasts',\n};\n\nconst PARAGRAPH_BLOCK = {\n  type: 'paragraph',\n  text: 'Be as short and simple as possible. Focus on one key thing per screen.',\n};\n\nconst COVER_IMAGE_BLOCK = {\n  type: 'image',\n  url:\n    'https://downloads.intercomcdn.com/i/o/195702666/e2cae946f062f0f795e7d0dc/placeholder-image-full-width.png',\n  width: 350,\n  height: 240,\n  align: 'center',\n};\n\nconst ROUNDED_IMAGE_BLOCK = {\n  type: 'image',\n  url:\n    'https://downloads.intercomcdn.com/i/o/195704481/fde13be5b749bdb5975b8004/placeholder-image-centered.png',\n  align: 'center',\n};\n\nconst IMAGE_TEXT_BLOCK = {\n  type: 'imageText',\n  imageUrl:\n    'https://downloads.intercomcdn.com/i/o/195704481/fde13be5b749bdb5975b8004/placeholder-image-centered.png',\n  text: 'Discover free audio stories that entertain and inform <br>',\n  title: '',\n};\n\nconst titleTextImage = {\n  blocks: [\n    { ...HEADING_BLOCK, text: 'Title, text, and image' },\n    PARAGRAPH_BLOCK,\n    COVER_IMAGE_BLOCK,\n  ],\n};\n\nconst imageTitleText = {\n  blocks: [\n    ROUNDED_IMAGE_BLOCK,\n    { ...HEADING_BLOCK, text: 'Image, title and text', align: 'center' },\n    { ...PARAGRAPH_BLOCK, align: 'center' },\n  ],\n};\n\nconst listWithIcons = {\n  blocks: [\n    { ...HEADING_BLOCK, text: 'List with icons' },\n    { ...IMAGE_TEXT_BLOCK, title: 'First', text: 'Use images with text to add detail.' },\n    { ...IMAGE_TEXT_BLOCK, title: 'Second', text: 'Be as short and simple as possible.' },\n    {\n      ...IMAGE_TEXT_BLOCK,\n      title: 'Third',\n      text: 'Focus on the key things your user should understand.',\n    },\n  ],\n};\n\nconst permissionsRequest = {\n  blocks: [\n    { ...HEADING_BLOCK, text: 'Permissions request', align: 'center' },\n    {\n      ...PARAGRAPH_BLOCK,\n      text: 'Help your user to understand why the app needs to use a permission.',\n      align: 'center',\n    },\n  ],\n  actions: [\n    { actionType: 'pushNotificationPermission', order: 'primary' },\n    { actionType: 'skip', order: 'secondary' },\n  ],\n};\n\nexport const screenTemplates = {\n  titleTextImage,\n  imageTitleText,\n  listWithIcons,\n  permissionsRequest,\n};\n","export const targetUserGroup = {\n  new: {\n    label: 'New mobile app users',\n    value: 0,\n  },\n  existing: {\n    label: 'Existing mobile app users',\n    value: 1,\n  },\n  all: {\n    label: 'All mobile app users',\n    value: 2,\n  },\n};\n","export default [\n  {\n    key: 'javascript',\n    displayName: 'Basic JavaScript',\n    instructions:\n      'Start sending your attributes to Intercom, just copy the code below and add it to the ${code} object in your JavaScript snippet.',\n    code: 'intercomSettings',\n  },\n  {\n    key: 'singlePage',\n    displayName: 'Single-page web app',\n    instructions:\n      'Start sending your attributes to Intercom, just copy the code below and add the values when you call ${code}.',\n    code: \"Intercom('boot')\",\n  },\n  {\n    key: 'rails',\n    displayName: 'Rails',\n    instructions:\n      'Start sending your attributes to Intercom, just copy the code below and add the values to the config file at ${code}.',\n    code: 'config/initializers/intercom.rb',\n  },\n  {\n    key: 'ios',\n    displayName: 'iOS',\n    instructions:\n      'Start sending your attributes to Intercom, just copy the code below and pass the ${code} dictionary.',\n    code: 'custom_attributes',\n  },\n  {\n    key: 'android',\n    displayName: 'Android',\n    instructions:\n      'Start sending your attributes to Intercom, just copy the code below and pass the ${code} dictionary.',\n    code: 'custom_attributes',\n  },\n  {\n    key: 'cordova',\n    displayName: 'Cordova/PhoneGap',\n    instructions:\n      'Start sending your attributes to Intercom, just copy the code below and pass the ${code} dictionary.',\n    code: 'custom_attributes',\n  },\n];\n","export default [\n  {\n    key: 'b2b',\n    displayName: 'B2B SasS',\n    samples: [\n      {\n        name: 'job_title',\n        description: 'Job title of the user',\n        type: 'String',\n      },\n      {\n        name: 'utm_source',\n        description: 'Traffic source of the user',\n        type: 'String',\n      },\n      {\n        name: 'nps_score',\n        description: 'Most recent NPS score value',\n        type: 'Number',\n      },\n      {\n        name: 'onboarding_completed',\n        description: 'True if the user has completed all onboarding steps',\n        type: 'Boolean',\n      },\n      {\n        name: 'draft_count',\n        description: 'Number of active draft resources created by the user',\n        type: 'Number',\n      },\n      {\n        name: 'clicked_cancel',\n        description: 'True if the user has attempted cancellation',\n        type: 'Boolean',\n      },\n    ],\n  },\n  {\n    key: 'b2c',\n    displayName: 'B2C SaaS',\n    samples: [\n      {\n        name: 'plan',\n        description: 'Name of the user’s plan',\n        type: 'String',\n      },\n      {\n        name: 'utm_source',\n        description: 'Traffic source of the user',\n        type: 'String',\n      },\n      {\n        name: 'confirmed_email_at',\n        description: 'Timestamp of when the user’s email was confirmed',\n        type: 'Date',\n      },\n      {\n        name: 'invited_user_count',\n        description: 'Number of invites sent by the user',\n        type: 'Number',\n      },\n      {\n        name: 'blocked_at',\n        description: 'Timestamp of when the user was blocked',\n        type: 'Date',\n      },\n      {\n        name: 'cancel_reason',\n        description: 'User-submitted cancellation reason',\n        type: 'String',\n      },\n      {\n        name: 'payment_status',\n        description: 'Current status of the user’s account',\n        type: 'String',\n      },\n    ],\n  },\n  {\n    key: 'education',\n    displayName: 'Education',\n    samples: [\n      {\n        name: 'school_name',\n        description: 'Name of the user’s school',\n        type: 'String',\n      },\n      {\n        name: 'role',\n        description: 'Educational role of the user',\n        type: 'String',\n      },\n      {\n        name: 'district_name',\n        description: 'Name of the user’s school district',\n        type: 'String',\n      },\n      {\n        name: 'courses_completed',\n        description: 'Number of courses completed by the user',\n        type: 'Number',\n      },\n      {\n        name: 'last_course_taken',\n        description: 'Name of the last class taken by the user',\n        type: 'String',\n      },\n      {\n        name: 'paid_courses_taken_count',\n        description: 'Number of paid courses taken by the user',\n        type: 'Number',\n      },\n      {\n        name: 'unfinished_courses_count',\n        description: 'Number of incomplete courses enrolled by the user',\n        type: 'Number',\n      },\n    ],\n  },\n  {\n    key: 'onDemand',\n    displayName: 'On-Demand Commerce',\n    samples: [\n      {\n        name: 'total_orders',\n        description: 'Number of orders made by the user',\n        type: 'Number',\n      },\n      {\n        name: 'total_promocodes_sent',\n        description: 'Number of promo codes sent to the user',\n        type: 'Number',\n      },\n      {\n        name: 'total_spent',\n        description: 'Total value of sales to the user',\n        type: 'Number',\n      },\n      {\n        name: 'last_restaurant_ordered',\n        description: 'Name of the last restaurant the user ordered from',\n        type: 'String',\n      },\n      {\n        name: 'phone_number',\n        description: 'International phone number of the user',\n        type: 'String',\n      },\n      {\n        name: 'current_order_live',\n        description: 'True if the user has a live order',\n        type: 'String',\n      },\n      {\n        name: 'current_order_status',\n        description: 'Status of the current order',\n        type: 'String',\n      },\n    ],\n  },\n  {\n    key: 'marketplace',\n    displayName: 'Marketplace',\n    samples: [\n      {\n        name: 'buyer_account',\n        description: 'True if the user has an active buyer account',\n        type: 'Boolean',\n      },\n      {\n        name: 'seller_account',\n        description: 'True if the user has an active seller account',\n        type: 'Boolean',\n      },\n      {\n        name: 'store_launched_at',\n        description: 'Timestamp of when the store was made live',\n        type: 'Date',\n      },\n      {\n        name: 'total_sales',\n        description: 'Number of sales by the user’s store',\n        type: 'Number',\n      },\n      {\n        name: 'total_purchases',\n        description: 'Number of purchases completed by the user',\n        type: 'Number',\n      },\n      {\n        name: 'favorite_category',\n        description: 'Name of the user’s favorite category',\n        type: 'String',\n      },\n    ],\n  },\n  {\n    key: 'mobile',\n    displayName: 'Mobile',\n    samples: [\n      {\n        name: 'facebook_connected',\n        description: 'True if Facebook is connected',\n        type: 'Boolean',\n      },\n      {\n        name: 'twitter_connected',\n        description: 'True if Twitter is connected',\n        type: 'Boolean',\n      },\n      {\n        name: 'linkedin_connected',\n        description: 'True if LinkedIn is connected',\n        type: 'Boolean',\n      },\n      {\n        name: 'app_version',\n        description: 'Version number of the app most recently accessed',\n        type: 'Number',\n      },\n      {\n        name: 'last_accessed_at',\n        description: 'Timestamp of the user’s last app usage',\n        type: 'Date',\n      },\n      {\n        name: 'allows_notifications',\n        description: 'True if the user has consented to receive notifications',\n        type: 'Boolean',\n      },\n    ],\n  },\n  {\n    key: 'financial',\n    displayName: 'Financial',\n    samples: [\n      {\n        name: 'locked_bank_account_at',\n        description: 'Timestamp of when the user’s account was locked',\n        type: 'Date',\n      },\n      {\n        name: 'number_of_savings_goals',\n        description: 'Number of savings goals set by the customer',\n        type: 'Number',\n      },\n      {\n        name: 'number_of_spending_rules',\n        description: 'Number of spending rules set by the customer',\n        type: 'Number',\n      },\n      {\n        name: 'linked_funding_account',\n        description: 'True if the user has linked an account for funding',\n        type: 'Boolean',\n      },\n      {\n        name: 'verification_status',\n        description: 'Status of the user’s account verification',\n        type: 'String',\n      },\n    ],\n  },\n  {\n    key: 'ecommerce',\n    displayName: 'eCommerce',\n    samples: [\n      {\n        name: 'last_purchase_at',\n        description: 'Timestamp of the user’s last purchase',\n        type: 'Date',\n      },\n      {\n        name: 'items_in_cart',\n        description: 'True if the user has items in their cart',\n        type: 'Boolean',\n      },\n      {\n        name: 'total_spent',\n        description: 'Total value of sales to the user',\n        type: 'Number',\n      },\n      {\n        name: 'last_searched',\n        description: 'Text of the user’s last search query',\n        type: 'String',\n      },\n      {\n        name: 'last_item_viewed',\n        description: 'Unique identifier of the last item viewed',\n        type: 'String',\n      },\n      {\n        name: 'current_order_status',\n        description: 'Status of the current order',\n        type: 'String',\n      },\n      {\n        name: 'current_order_number',\n        description: 'Unique identifier for the user’s current order',\n        type: 'Number',\n      },\n    ],\n  },\n];\n","export default {\n  UNKNOWN_SOURCE: 0,\n  PING_SOURCE: 1,\n  OPERATOR_SOURCE: 2,\n  TEAMMATE_SOURCE: 3,\n  PUBLIC_API_SOURCE: 4,\n  ATTRIBUTE_COLLECTOR_SOURCE: 5,\n};\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport PredicateFilterMap from 'embercom/models/data/predicate-filter-map';\n\nconst numericComparisons = {\n  comparison: [\n    { label: 'is greater than', value: 'gt', selected: false },\n    { label: 'is less than', value: 'lt', selected: false },\n    { label: 'is', value: 'eq', selected: false },\n    { label: 'is not', value: 'ne', selected: false },\n    { label: 'is increased', value: 'increase', selected: false, hideInput: true },\n    { label: 'is decreased', value: 'decrease', selected: false, hideInput: true },\n    {\n      label: 'has any value',\n      value: 'known',\n      selected: false,\n      hideInput: true,\n      comparison: 'known',\n    },\n  ],\n};\n\nconst optionalTagComparisons = {\n  comparison: [\n    { label: 'is', value: 'eq', selected: false },\n    { label: 'is not', value: 'ne', selected: false },\n    { label: 'has any value', value: 'known', selected: false, hideInput: true },\n  ],\n};\n\nlet CustomPredicateFilterMap = {\n  numeric: numericComparisons,\n  integer: numericComparisons,\n  float: numericComparisons,\n  string: {\n    comparison: [\n      { label: 'is', value: 'eq', selected: false },\n      { label: 'is not', value: 'ne', selected: false },\n      { label: 'starts with', value: 'starts_with', selected: false },\n      { label: 'ends with', value: 'ends_with', selected: false },\n      { label: 'contains', value: 'contains', selected: false },\n      { label: 'does not contain', value: 'not_contains', selected: false },\n      {\n        label: 'has any value',\n        value: 'known',\n        selected: false,\n        hideInput: true,\n        comparison: 'known',\n      },\n    ],\n  },\n  date: {\n    comparison: [\n      {\n        label: 'has any value',\n        value: 'known',\n        selected: false,\n        hideInput: true,\n        comparison: 'known',\n      },\n    ],\n  },\n  plan: optionalTagComparisons,\n  optionalTag: optionalTagComparisons,\n  user_event: {\n    comparison: [\n      {\n        label: 'is triggered',\n        value: 'triggered',\n        selected: false,\n        hideInput: true,\n        comparison: 'triggered',\n      },\n      { label: 'count is greater than', value: 'gt', selected: false },\n      { label: 'count is less than', value: 'lt', selected: false },\n      { label: 'count is', value: 'eq', selected: false },\n      { label: 'count is not', value: 'ne', selected: false },\n    ],\n  },\n};\nlet PredicateFilterMapCopy = $.extend(true, {}, PredicateFilterMap);\nlet GoalsPredicateFilterMap = $.extend(false, PredicateFilterMapCopy, CustomPredicateFilterMap);\n\nexport default GoalsPredicateFilterMap;\n","let HoursOfDayMap = [\n  { secondsFromMidnight: 0, text: '12:00AM', icon: 'clock' }, // Midnight, start of day\n  { secondsFromMidnight: 1 * 3600, text: '1:00AM', icon: 'clock' },\n  { secondsFromMidnight: 2 * 3600, text: '2:00AM', icon: 'clock' },\n  { secondsFromMidnight: 3 * 3600, text: '3:00AM', icon: 'clock' },\n  { secondsFromMidnight: 4 * 3600, text: '4:00AM', icon: 'clock' },\n  { secondsFromMidnight: 5 * 3600, text: '5:00AM', icon: 'clock' },\n  { secondsFromMidnight: 6 * 3600, text: '6:00AM', icon: 'clock' },\n  { secondsFromMidnight: 7 * 3600, text: '7:00AM', icon: 'clock' },\n  { secondsFromMidnight: 8 * 3600, text: '8:00AM', icon: 'clock' },\n  { secondsFromMidnight: 9 * 3600, text: '9:00AM', icon: 'clock' },\n  { secondsFromMidnight: 10 * 3600, text: '10:00AM', icon: 'clock' },\n  { secondsFromMidnight: 11 * 3600, text: '11:00AM', icon: 'clock' },\n  { secondsFromMidnight: 12 * 3600, text: '12:00PM', icon: 'clock' },\n  { secondsFromMidnight: 13 * 3600, text: '1:00PM', icon: 'clock' },\n  { secondsFromMidnight: 14 * 3600, text: '2:00PM', icon: 'clock' },\n  { secondsFromMidnight: 15 * 3600, text: '3:00PM', icon: 'clock' },\n  { secondsFromMidnight: 16 * 3600, text: '4:00PM', icon: 'clock' },\n  { secondsFromMidnight: 17 * 3600, text: '5:00PM', icon: 'clock' },\n  { secondsFromMidnight: 18 * 3600, text: '6:00PM', icon: 'clock' },\n  { secondsFromMidnight: 19 * 3600, text: '7:00PM', icon: 'clock' },\n  { secondsFromMidnight: 20 * 3600, text: '8:00PM', icon: 'clock' },\n  { secondsFromMidnight: 21 * 3600, text: '9:00PM', icon: 'clock' },\n  { secondsFromMidnight: 22 * 3600, text: '10:00PM', icon: 'clock' },\n  { secondsFromMidnight: 23 * 3600, text: '11:00PM', icon: 'clock' },\n  { secondsFromMidnight: 24 * 3600, text: '12:00AM', icon: 'clock' }, // Midnight, end of day\n];\n\nexport default HoursOfDayMap;\n","let HoursWith30MinsInterval = [\n  { label: '12:00 am', secondsFromMidnight: 0 },\n  { label: '12:30 am', secondsFromMidnight: 1 * 1800 },\n  { label: '1:00 am', secondsFromMidnight: 2 * 1800 },\n  { label: '1:30 am', secondsFromMidnight: 3 * 1800 },\n  { label: '2:00 am', secondsFromMidnight: 4 * 1800 },\n  { label: '2:30 am', secondsFromMidnight: 5 * 1800 },\n  { label: '3:00 am', secondsFromMidnight: 6 * 1800 },\n  { label: '3:30 am', secondsFromMidnight: 7 * 1800 },\n  { label: '4:00 am', secondsFromMidnight: 8 * 1800 },\n  { label: '4:30 am', secondsFromMidnight: 9 * 1800 },\n  { label: '5:00 am', secondsFromMidnight: 10 * 1800 },\n  { label: '5:30 am', secondsFromMidnight: 11 * 1800 },\n  { label: '6:00 am', secondsFromMidnight: 12 * 1800 },\n  { label: '6:30 am', secondsFromMidnight: 13 * 1800 },\n  { label: '7:00 am', secondsFromMidnight: 14 * 1800 },\n  { label: '7:30 am', secondsFromMidnight: 15 * 1800 },\n  { label: '8:00 am', secondsFromMidnight: 16 * 1800 },\n  { label: '8:30 am', secondsFromMidnight: 17 * 1800 },\n  { label: '9:00 am', secondsFromMidnight: 18 * 1800 },\n  { label: '9:30 am', secondsFromMidnight: 19 * 1800 },\n  { label: '10:00 am', secondsFromMidnight: 20 * 1800 },\n  { label: '10:30 am', secondsFromMidnight: 21 * 1800 },\n  { label: '11:00 am', secondsFromMidnight: 22 * 1800 },\n  { label: '11:30 am', secondsFromMidnight: 23 * 1800 },\n  { label: '12:00 pm', secondsFromMidnight: 24 * 1800 },\n  { label: '12:30 pm', secondsFromMidnight: 25 * 1800 },\n  { label: '1:00 pm', secondsFromMidnight: 26 * 1800 },\n  { label: '1:30 pm', secondsFromMidnight: 27 * 1800 },\n  { label: '2:00 pm', secondsFromMidnight: 28 * 1800 },\n  { label: '2:30 pm', secondsFromMidnight: 29 * 1800 },\n  { label: '3:00 pm', secondsFromMidnight: 30 * 1800 },\n  { label: '3:30 pm', secondsFromMidnight: 31 * 1800 },\n  { label: '4:00 pm', secondsFromMidnight: 32 * 1800 },\n  { label: '4:30 pm', secondsFromMidnight: 33 * 1800 },\n  { label: '5:00 pm', secondsFromMidnight: 34 * 1800 },\n  { label: '5:30 pm', secondsFromMidnight: 35 * 1800 },\n  { label: '6:00 pm', secondsFromMidnight: 36 * 1800 },\n  { label: '6:30 pm', secondsFromMidnight: 37 * 1800 },\n  { label: '7:00 pm', secondsFromMidnight: 38 * 1800 },\n  { label: '7:30 pm', secondsFromMidnight: 39 * 1800 },\n  { label: '8:00 pm', secondsFromMidnight: 40 * 1800 },\n  { label: '8:30 pm', secondsFromMidnight: 41 * 1800 },\n  { label: '9:00 pm', secondsFromMidnight: 42 * 1800 },\n  { label: '9:30 pm', secondsFromMidnight: 43 * 1800 },\n  { label: '10:00 pm', secondsFromMidnight: 44 * 1800 },\n  { label: '10:30 pm', secondsFromMidnight: 45 * 1800 },\n  { label: '11:00 pm', secondsFromMidnight: 46 * 1800 },\n  { label: '11:30 pm', secondsFromMidnight: 47 * 1800 },\n];\n\nexport default HoursWith30MinsInterval;\n","import moment from 'moment';\nimport { CUSTOM_BOT_REQUIRED_PERMISSION } from 'embercom/lib/operator/custom-bots/constants';\n\nexport const states = {\n  draft: 0,\n  live: 1,\n  paused: 2,\n  scheduled: 3,\n  ended: 4,\n};\n\nexport const linkedCampaignStates = {\n  notDraining: 0,\n  draining: 1,\n};\n\nexport const oneOffStates = {\n  draft: 0,\n  scheduled: 3,\n  sent: 1,\n};\n\nexport const objectTypes = {\n  tour: 0,\n  inboundTrigger: 2,\n  inApp: 4,\n  article: 6,\n  email: 8,\n  messengerTrigger: 9,\n  banner: 10,\n  legacyMessagePush: 12,\n  legacyMessageInApp: 13,\n  legacyMessageEmail: 14,\n  legacyControlGroup: 15,\n  ruleset: 16,\n  push: 18,\n  answer: 24,\n  sms: 30,\n  controlGroup: 34,\n  chat: 38,\n  carousel: 42,\n  post: 45,\n  series: 47,\n  condition: 51,\n  wait: 52,\n  tagger: 53,\n  customBot: 54,\n  inboundCustomBot: 62,\n  buttonCustomBot: 63,\n};\n\nexport const objectIcons = {\n  [objectTypes.carousel]: 'carousel-filled',\n  [objectTypes.chat]: 'chat-filled',\n  [objectTypes.legacyMessageEmail]: 'email-filled',\n  [objectTypes.legacyControlGroup]: 'activity',\n  [objectTypes.legacyMessageInApp]: 'chat-filled',\n  [objectTypes.legacyMessagePush]: 'push-notification-filled',\n  [objectTypes.post]: 'post-filled',\n  [objectTypes.push]: 'push-notification-filled',\n  [objectTypes.sms]: 'push-notification-filled',\n  [objectTypes.tour]: 'product-tours-filled',\n  [objectTypes.series]: 'series',\n  [objectTypes.email]: 'email-filled',\n  [objectTypes.customBot]: 'bot-filled',\n  [objectTypes.inboundCustomBot]: 'bot-filled',\n  [objectTypes.buttonCustomBot]: 'bot-filled',\n  [objectTypes.banner]: 'banner-filled',\n};\n\nexport const objectInterfaceIcons = {\n  [objectTypes.post]: 'post-filled',\n  [objectTypes.chat]: 'chat-filled',\n  [objectTypes.push]: 'push-notification-filled',\n  [objectTypes.email]: 'email-filled',\n  [objectTypes.carousel]: 'carousel-filled',\n  [objectTypes.sms]: 'push-notification-filled',\n  [objectTypes.tour]: 'product-tours-filled',\n  [objectTypes.series]: 'series',\n  [objectTypes.customBot]: 'bot-filled',\n  [objectTypes.inboundCustomBot]: 'bot-filled',\n  [objectTypes.buttonCustomBot]: 'bot-filled',\n  [objectTypes.legacyMessageEmail]: 'email-filled',\n  [objectTypes.banner]: 'banner-filled',\n};\n\nexport const objectNames = {\n  [objectTypes.tour]: 'tour',\n  [objectTypes.banner]: 'banner',\n  [objectTypes.inApp]: 'in-app',\n  [objectTypes.email]: 'email',\n  [objectTypes.legacyMessagePush]: 'push',\n  [objectTypes.legacyMessageInApp]: 'in-app',\n  [objectTypes.legacyMessageEmail]: 'email',\n  [objectTypes.legacyControlGroup]: 'control group',\n  [objectTypes.push]: 'push',\n  [objectTypes.sms]: 'sms',\n  [objectTypes.controlGroup]: 'control_group',\n  [objectTypes.chat]: 'chat',\n  [objectTypes.carousel]: 'carousel',\n  [objectTypes.post]: 'post',\n  [objectTypes.condition]: 'rules',\n  [objectTypes.series]: 'series',\n  [objectTypes.wait]: 'wait',\n  [objectTypes.tagger]: 'tag',\n  [objectTypes.customBot]: 'custom_bot',\n  [objectTypes.inboundCustomBot]: 'inbound_custom_bot',\n  [objectTypes.buttonCustomBot]: 'button_custom_bot',\n  [objectTypes.article]: 'article',\n};\n\nexport const humanReadableObjectNames = {\n  ...objectNames,\n  [objectTypes.push]: 'mobile push',\n  [objectTypes.controlGroup]: 'control group',\n  [objectTypes.customBot]: 'bot',\n  [objectTypes.carousel]: 'mobile carousel',\n  [objectTypes.inboundCustomBot]: 'bot',\n  [objectTypes.buttonCustomBot]: 'bot',\n  [objectTypes.article]: 'article',\n};\n\nexport const audienceTypes = {\n  users: 'user',\n  visitors: 'visitor',\n  leads: 'lead',\n};\n\nexport const audienceRoles = {\n  users: 'user_role',\n  visitors: 'visitor_role',\n  leads: 'contact_role',\n};\n\nexport const audienceNames = {\n  [audienceRoles.users]: 'user',\n  [audienceRoles.visitors]: 'visitor',\n  [audienceRoles.leads]: 'lead',\n};\n\nexport const roleTypes = {\n  userRole: 0,\n  visitorRole: 1,\n  leadRole: 2,\n};\n\nexport const roleNames = {\n  [roleTypes.userRole]: 'user',\n  [roleTypes.visitorRole]: 'visitor',\n  [roleTypes.leadRole]: 'lead',\n};\n\nexport const matchBehaviors = {\n  static: 0,\n  single: 1,\n  multi: 2,\n  transient: 3,\n};\n\nexport const behaviorMap = {\n  ongoing: [matchBehaviors.single, matchBehaviors.multi],\n  'one-off': [matchBehaviors.static],\n};\n\nexport const timetableTypes = {\n  insideOfficeHours: 0,\n  outsideOfficeHours: 1,\n  customTimes: 2,\n};\n\nexport const timezoneTypes = {\n  basedOnAppTimezone: 0,\n  basedOnUserTimezone: 1,\n};\n\nexport const scheduledStateChangeTypes = {\n  activate: 0,\n  deactivate: 1,\n};\n\nexport const scheduledStateChangeStatuses = {\n  scheduled: 0,\n  complete: 1,\n  cancelled: 2,\n};\n\nexport const seriesNodeTypes = {\n  starting: 0,\n  internal: 1,\n};\n\nexport const seriesEdgeTypes = {\n  primary: 0,\n  alternative: 1,\n};\n\nexport const seriesExitBehaviors = {\n  none: 0,\n  exitRules: 1,\n};\n\nexport const seriesWaitTypes = {\n  relative: 0,\n  absolute: 1,\n};\n\nexport const nodeDelayBehaviors = {\n  noDelay: 0,\n  delayable: 1,\n};\n\nexport const objectWithVersions = [\n  objectTypes.push,\n  objectTypes.chat,\n  objectTypes.post,\n  objectTypes.banner,\n  objectTypes.email,\n  objectTypes.carousel,\n];\n\nexport const objectsWithPriority = [objectTypes.customBot];\n\nexport const defaultDelayTimes = {\n  implicit: moment.duration(30, 'days').asSeconds(),\n};\n\nexport const seriesOnlyObjectTypes = [objectTypes.condition, objectTypes.wait, objectTypes.tagger];\n\nexport const contentEditors = {\n  standalone: 0,\n  series: 1,\n};\n\nexport const objectNotificationPreferences = {\n  seen: 'seen',\n  interactedWith: 'interacted_with',\n  engagedWith: 'engaged_with',\n};\n\nexport const seriesMigrationStatuses = {\n  noMigration: -1,\n  inProgress: 0,\n  completed: 1,\n  failed: 2,\n};\n\nexport const objectFeatures = {\n  [objectTypes.tour]: 'product_tours',\n  [objectTypes.customBot]: 'bot_workflows',\n  [objectTypes.banner]: 'messages-banners',\n};\n\nexport const permissionsMap = {\n  [objectTypes.customBot]: CUSTOM_BOT_REQUIRED_PERMISSION,\n  [objectTypes.inboundCustomBot]: CUSTOM_BOT_REQUIRED_PERMISSION,\n  [objectTypes.buttonCustomBot]: CUSTOM_BOT_REQUIRED_PERMISSION,\n};\n\nexport const seriesDuplicationStatuses = {\n  noDuplication: -1,\n  inProgress: 0,\n  completed: 1,\n  failed: 2,\n};\n\nexport const rulesetCopyTitleSufix = ' (Copy)';\n\nexport const matchingLocations = {\n  triggerFromCode: 13,\n};\n","const IN_APP_WEB = {\n  chat: 'inAppChat',\n  note: 'inAppAnnouncement',\n  post: 'inAppBigAnnouncement',\n  pointer: 'inAppPointer',\n};\n\nconst IN_APP_MOBILE = {\n  chat: 'inAppChatMobile',\n  note: 'inAppAnnouncementMobile',\n  post: 'inAppBigAnnouncementMobile',\n};\n\nconst READ_ONLY_IN_APP_WEB = {\n  chat: 'readOnlyChat',\n  note: 'readOnly',\n  post: 'readOnly',\n  pointer: 'readOnly',\n};\n\nconst READ_ONLY_IN_APP_MOBILE = {\n  chat: 'readOnlyChat',\n  note: 'readOnly',\n  post: 'readOnly',\n};\n\nconst EMAIL = {\n  plain: 'emailPlain',\n  default: 'email',\n};\n\nconst READ_ONLY_EMAIL = {\n  plain: 'readOnlyEmail',\n  default: 'readOnlyEmail',\n};\n\nconst PUSH = {\n  default: 'pushOnly',\n};\n\nconst READ_ONLY_PUSH = {\n  default: 'pushOnlyReadOnly',\n};\n\nlet inAppWebPreset = function(variation, isReadOnly, canCreateVideoAutoMessages) {\n  let presetHash = isReadOnly ? READ_ONLY_IN_APP_WEB : IN_APP_WEB;\n  let messageStyleName = variation.get('messageStyleName');\n  if (canCreateVideoAutoMessages) {\n    switch (messageStyleName) {\n      case 'chat':\n        return 'inAppChatVideo';\n      case 'note':\n        return 'inAppAnnouncementVideo';\n      case 'post':\n        return 'inAppBigAnnouncementVideo';\n    }\n  }\n  return presetHash[messageStyleName];\n};\n\nlet inAppMobilePreset = function(variation, isReadOnly) {\n  let presetHash = isReadOnly ? READ_ONLY_IN_APP_MOBILE : IN_APP_MOBILE;\n  return presetHash[variation.get('messageStyleName')];\n};\n\nlet emailPreset = function(variation, isReadOnly) {\n  let presetHash = isReadOnly ? READ_ONLY_EMAIL : EMAIL;\n  if (variation.get('emailTemplate.isPlain')) {\n    return presetHash.plain;\n  } else {\n    return presetHash.default;\n  }\n};\n\nlet pushOnlyPreset = function(variation, isReadOnly) {\n  let presetHash = isReadOnly ? READ_ONLY_PUSH : PUSH;\n  return presetHash.default;\n};\n\nexport default function(variation, options) {\n  if (variation.get('isInApp') && options.isMobile) {\n    return inAppMobilePreset(variation, options.isReadOnly);\n  } else if (variation.get('isInApp')) {\n    return inAppWebPreset(variation, options.isReadOnly, options.canCreateVideoAutoMessages);\n  } else if (variation.get('isEmail')) {\n    return emailPreset(variation, options.isReadOnly);\n  } else if (variation.get('isMobilePush')) {\n    return pushOnlyPreset(variation, options.isReadOnly);\n  } else {\n    return 'default';\n  }\n}\n","const IMPLICIT_IOS_SESSION_PREDICATE = {\n  attribute: 'session_count_ios',\n  type: 'integer',\n  comparison: 'gt',\n  value: '0',\n};\nconst IMPLICIT_ANDROID_SESSION_PREDICATE = {\n  attribute: 'session_count_android',\n  type: 'integer',\n  comparison: 'gt',\n  value: '0',\n};\nconst IMPLICIT_PUSH_ONLY_PREDICATE = {\n  attribute: 'has_device_token',\n  type: 'boolean',\n  comparison: 'true',\n};\nconst IMPLICIT_EMAIL_KNOWN_PREDICATE = { attribute: 'email', type: 'string', comparison: 'known' };\n\nconst IMPLICIT_EMAIL_NOT_UNSUBSCRIBED_PREDICATE = {\n  attribute: 'unsubscribed_from_emails',\n  type: 'boolean',\n  comparison: 'false',\n};\nconst IMPLICIT_EMAIL_UNSUBSCRIBED_PREDICATE = {\n  attribute: 'unsubscribed_from_emails',\n  type: 'boolean',\n  comparison: 'true',\n};\n\nconst IMPLICIT_EMAIL_NOT_BOUNCED_PREDICATE = {\n  attribute: 'has_hard_bounced',\n  type: 'string',\n  comparison: 'ne',\n  value: 'true',\n};\nconst IMPLICIT_EMAIL_BOUNCED_PREDICATE = {\n  attribute: 'has_hard_bounced',\n  type: 'boolean',\n  comparison: 'true',\n};\n\nconst IMPLICIT_USER_NOT_COMPLAINED_PREDICATE = {\n  attribute: 'marked_email_as_spam',\n  type: 'string',\n  comparison: 'ne',\n  value: 'true',\n};\nconst IMPLICIT_USER_COMPLAINED_PREDICATE = {\n  attribute: 'marked_email_as_spam',\n  type: 'boolean',\n  comparison: 'true',\n};\nconst IMPLICIT_EMAIL_UNKNOWN_PREDICATE = {\n  attribute: 'email',\n  type: 'string',\n  comparison: 'unknown',\n};\n\nexport default {\n  emailBouncedPredicates: [IMPLICIT_EMAIL_BOUNCED_PREDICATE],\n  emailUnsubscribedPredicates: [\n    IMPLICIT_EMAIL_UNSUBSCRIBED_PREDICATE,\n    IMPLICIT_USER_COMPLAINED_PREDICATE,\n    IMPLICIT_EMAIL_BOUNCED_PREDICATE,\n  ],\n  emailPredicates: [\n    IMPLICIT_EMAIL_NOT_UNSUBSCRIBED_PREDICATE,\n    IMPLICIT_EMAIL_KNOWN_PREDICATE,\n    IMPLICIT_USER_NOT_COMPLAINED_PREDICATE,\n    IMPLICIT_EMAIL_NOT_BOUNCED_PREDICATE,\n  ],\n  iosPredicates: [IMPLICIT_IOS_SESSION_PREDICATE],\n  androidPredicates: [IMPLICIT_ANDROID_SESSION_PREDICATE],\n  pushOnlyPredicates: [IMPLICIT_PUSH_ONLY_PREDICATE],\n  iosPushOnlyPredicates: [IMPLICIT_IOS_SESSION_PREDICATE, IMPLICIT_PUSH_ONLY_PREDICATE],\n  androidPushOnlyPredicates: [IMPLICIT_ANDROID_SESSION_PREDICATE, IMPLICIT_PUSH_ONLY_PREDICATE],\n  emailCollectorPredicates: [IMPLICIT_EMAIL_UNKNOWN_PREDICATE],\n};\n","export default {\n  noChannel: -1,\n  anyChannel: 0,\n  webChannel: 2,\n  iosChannel: 3,\n  androidChannel: 4,\n  emailType: 'Email',\n  inAppType: 'In-App',\n  pushType: 'Push',\n  customBotType: 'Custom Bot',\n  reactionsReply: 'reactions_reply',\n  textReply: 'text_reply',\n  attributeCollectorReply: 'attribute_collector_reply',\n  repliesDisabled: 'disabled_reply',\n  noStyle: -1,\n  chat: 0,\n  post: 1,\n  note: 2,\n  video: 3,\n  pointer: 4,\n  emailStyle: 5,\n  noPageTarget: 0,\n  roundRobin: 'round_robin',\n};\n\nconst COMPOSER_UPLOAD_WARNING = `Your content's still uploading. Try again in a second.`;\n\nconst VALID_STATES = ['draft', 'live', 'scheduled', 'stopped', 'ended'];\n\nexport { COMPOSER_UPLOAD_WARNING, VALID_STATES };\n","import MESSAGE_CONSTANTS from 'embercom/models/data/messages/message-constants';\n\nconst DEFAULT_VARIATION_BLOCK = {\n  text: 'Hi there,',\n  type: 'paragraph',\n};\n\nconst VARIATION_DEFAULTS = {\n  messageStyle: MESSAGE_CONSTANTS.noStyle,\n  subject: '',\n  deliveryOption: 'full',\n  pointerSelector: null,\n  replyType: MESSAGE_CONSTANTS.textReply,\n  blocks: [\n    {\n      text: 'Hi {{first_name|fallback:\"there\"}},',\n      type: 'paragraph',\n    },\n  ],\n  pushOnlyURIs: null,\n  reactions: [],\n};\n\nconst DEFAULT_CUSTOM_DELIVERY_WINDOW = {\n  deliveryPeriod: 'custom',\n  mondayDelivery: true,\n  tuesdayDelivery: true,\n  wednesdayDelivery: true,\n  thursdayDelivery: true,\n  fridayDelivery: true,\n  saturdayDelivery: false,\n  sundayDelivery: false,\n  deliverySecondsSinceMidnightStart: 32400, //9AM\n  deliverySecondsSinceMidnightEnd: 61200, //5PM\n};\n\nconst DEFAULT_OFFICE_HOURS_DELIVERY_WINDOW = {\n  deliveryPeriod: 'during_office_hours',\n  mondayDelivery: true,\n  tuesdayDelivery: true,\n  wednesdayDelivery: true,\n  thursdayDelivery: true,\n  fridayDelivery: true,\n  saturdayDelivery: false,\n  sundayDelivery: false,\n  deliverySecondsSinceMidnightStart: 32400, //9AM\n  deliverySecondsSinceMidnightEnd: 61200, //5PM\n};\n\nconst INITIAL_PUSH_DEFAULTS = {\n  pushBlocks: [\n    {\n      type: 'heading',\n      text: '',\n    },\n    {\n      type: 'paragraph',\n      text: '',\n    },\n  ],\n  pushURIs: {\n    ios: [],\n    android: [],\n  },\n};\n\nconst INITIAL_POINTER_DEFAULTS = {\n  deliveryOption: 'full',\n  deliveryChannel: MESSAGE_CONSTANTS.webChannel,\n};\n\nconst INITIAL_STORY_DEFAULTS = {\n  messageStyle: MESSAGE_CONSTANTS.video,\n  deliveryOption: 'full',\n  replyType: MESSAGE_CONSTANTS.textReply,\n  videoFileBlock: {\n    type: 'videoFile',\n  },\n  reactions: [],\n};\n\nconst DEFAULT_TIME_ON_PAGE_PREDICATE = {\n  attribute: 'client_attributes.time_on_page',\n  type: 'duration_integer',\n  comparison: 'eq',\n  value: null,\n};\n\nconst DEFAULT_PAGE_TARGET_PREDICATE = {\n  attribute: 'client_attributes.last_visited_url',\n  type: 'string',\n  comparison: 'eq',\n  value: '',\n};\n\nconst EXCLUDE_DISENGAGED_USERS_PREDICATE = {\n  type: 'email_disengagement',\n  attribute: 'consecutive_unread_email_count',\n  value: 20,\n  comparison: 'lt',\n};\n\nexport default {\n  variationA: VARIATION_DEFAULTS,\n  variationB: VARIATION_DEFAULTS,\n  deliveryWindow: null,\n  pageTarget: { pageTargetType: 0, pageTargetString: null },\n  sendPushNotification: false,\n  deliveryChannel: MESSAGE_CONSTANTS.noChannel,\n};\n\nexport {\n  DEFAULT_CUSTOM_DELIVERY_WINDOW,\n  DEFAULT_OFFICE_HOURS_DELIVERY_WINDOW,\n  INITIAL_PUSH_DEFAULTS,\n  DEFAULT_VARIATION_BLOCK,\n  INITIAL_STORY_DEFAULTS,\n  VARIATION_DEFAULTS,\n  INITIAL_POINTER_DEFAULTS,\n  DEFAULT_TIME_ON_PAGE_PREDICATE,\n  EXCLUDE_DISENGAGED_USERS_PREDICATE,\n  DEFAULT_PAGE_TARGET_PREDICATE,\n};\n","export default {\n  content: [\n    { validationKey: 'validations.attrs.isUploading', type: 'validation' },\n    { validationKey: 'validations.attrs.variations', type: 'validation' },\n  ],\n  audience: [\n    { validationKey: 'validations.attrs.selectionState', type: 'validation' },\n    { validationKey: 'validations.attrs.audiencePreview', type: 'validation' },\n    // @angelo @pat Workaround for time being until https://github.com/intercom/intercom/issues/59886 is resolved.\n    {\n      validationKey: 'selectionStateValuesAreValid',\n      type: 'custom',\n      message: 'Your audience rules are invalid',\n    },\n  ],\n  'delivery-conditions': [\n    { validationKey: 'validations.attrs.clientPredicates', type: 'validation' },\n  ],\n  'follow-up': [{ validationKey: 'validations.attrs.followUpRules', type: 'validation' }],\n  goal: [\n    { validationKey: 'validations.attrs.goal', type: 'validation' },\n    {\n      validationKey: 'goalPredicatesAreValid',\n      type: 'custom',\n      message: 'Your message goal needs to be completed',\n    },\n  ],\n  scheduling: [\n    { validationKey: 'validations.attrs.dueToStopAt', type: 'validation' },\n    { validationKey: 'validations.attrs.scheduledToGoLiveAt', type: 'validation' },\n    { validationKey: 'validations.attrs.deliveryWindow', type: 'validation' },\n  ],\n  schedule: [],\n  review: [],\n};\n","import EmberObject from '@ember/object';\n\nfunction createBuyerPersonaPageData() {\n  return [\n    EmberObject.create({\n      id: 'assist_website_visitors',\n      title: 'Assist website visitors looking to buy',\n      selected: false,\n      useCase: 'acquire',\n    }),\n    EmberObject.create({\n      id: 'increase_usage_and_adoption',\n      title: 'Increase product usage and adoption',\n      selected: false,\n      useCase: 'engage_customers',\n    }),\n    EmberObject.create({\n      id: 'establish_primary_support_channel',\n      title: 'Establish a primary support channel for existing customers',\n      selected: false,\n      useCase: 'support_customers',\n    }),\n    EmberObject.create({\n      id: 'add_chat_and_messaging',\n      title: 'Add chat and messaging to my customer support offering',\n      selected: false,\n      useCase: 'support_customers',\n    }),\n    EmberObject.create({\n      id: 'identify_leads',\n      title: 'Target and qualify prospects to identify the best leads',\n      selected: false,\n      useCase: 'acquire',\n    }),\n    EmberObject.create({\n      id: 'sell_to_existing_customers',\n      title: 'Sell to existing customers',\n      selected: false,\n      useCase: 'engage_customers',\n    }),\n    EmberObject.create({\n      id: 'help_customers_self_serve',\n      title: 'Help customers resolve issues themselves',\n      selected: false,\n      useCase: 'support_customers',\n    }),\n    EmberObject.create({\n      id: 'store_customer_data',\n      title: 'Store my customers’ data in a central place',\n      selected: false,\n    }),\n    EmberObject.create({\n      id: 'other',\n      title: 'Other',\n      selected: false,\n      allowOtherInput: true,\n    }),\n  ];\n}\n\nexport default createBuyerPersonaPageData;\n","import EmberObject from '@ember/object';\n\nfunction createUseCasePageData() {\n  return [\n    EmberObject.create({\n      id: 'acquire',\n      title: 'Get more new customers',\n      monochromeIcon: '/assets/images/onboarding/intent-survey/magnet.png',\n      monochromeIcon2x: '/assets/images/onboarding/intent-survey/magnet@2x.png',\n      colorIcon: '/assets/images/onboarding/intent-survey/magnet.png',\n      colorIcon2x: '/assets/images/onboarding/intent-survey/magnet@2x.png',\n      selected: false,\n    }),\n    EmberObject.create({\n      id: 'support_customers',\n      title: 'Offer better support',\n      monochromeIcon: '/assets/images/onboarding/intent-survey/circle.png',\n      monochromeIcon2x: '/assets/images/onboarding/intent-survey/circle@2x.png',\n      colorIcon: '/assets/images/onboarding/intent-survey/circle.png',\n      colorIcon2x: '/assets/images/onboarding/intent-survey/circle@2x.png',\n      selected: false,\n    }),\n    EmberObject.create({\n      id: 'engage_customers',\n      title: 'Engage existing customers',\n      monochromeIcon: '/assets/images/onboarding/intent-survey/target.png',\n      monochromeIcon2x: '/assets/images/onboarding/intent-survey/target@2x.png',\n      colorIcon: '/assets/images/onboarding/intent-survey/target.png',\n      colorIcon2x: '/assets/images/onboarding/intent-survey/target@2x.png',\n      selected: false,\n    }),\n    EmberObject.create({\n      id: 'not_sure',\n      title: 'Not sure, just looking',\n      monochromeIcon: '/assets/images/onboarding/intent-survey/question_mark.png',\n      monochromeIcon2x: '/assets/images/onboarding/intent-survey/question_mark@2x.png',\n      colorIcon: '/assets/images/onboarding/intent-survey/question_mark.png',\n      colorIcon2x: '/assets/images/onboarding/intent-survey/question_mark@2x.png',\n      selected: false,\n    }),\n  ];\n}\n\nexport default createUseCasePageData;\n","export const senderTypes = {\n  admin: 0,\n  owner: 1,\n  team: 2,\n  customEmailAddress: 3,\n  noSender: 4,\n  ownerWithCustomEmailAddressFallback: 5,\n};\n\nexport const contentWrapperTypes = {\n  message: 0,\n  ruleset: 1,\n  series: 2,\n};\n\nexport const statisticKeys = {\n  receipts: 0,\n  replies: 1,\n  opens: 2,\n  clicks: 3,\n  lastSent: 4,\n  goals: 5,\n  emailFailures: 6,\n  tourStepFailures: 7,\n  completions: 8,\n  tourStepViews: 9,\n  reactions: 10,\n  dismissals: 11,\n  collectedEmails: 12,\n  seriesContentReceipts: 13,\n  seriesCompletions: 14,\n  seriesExits: 15,\n  seriesDisengagements: 16,\n};\n\nexport const statisticTypes = {\n  integer: 0,\n  date: 1,\n  percentage: 2,\n};\n\nexport const preferredDevices = {\n  web: 0,\n  ios: 1,\n  android: 2,\n};\n\nexport const deliveryChannels = {\n  mobileAndWeb: [preferredDevices.web, preferredDevices.ios, preferredDevices.android],\n  mobile: [preferredDevices.ios, preferredDevices.android],\n  web: [preferredDevices.web],\n  ios: [preferredDevices.ios],\n  android: [preferredDevices.android],\n};\n\nexport const sentAsOptions = {\n  snippet: 0,\n  full: 1,\n  badge: 2,\n};\n\nexport const defaultBlock = { type: 'paragraph', text: 'Hi {{first_name|fallback:\"there\"}},' };\nexport const defaultBlockWithModelKey = {\n  type: 'paragraph',\n  text: 'Hi {{first_name|fallback:\"there\"}},',\n  modelKey: 'common/blocks/paragraph',\n};\n\nexport const PAGE_SIZE = 25;\n\nexport const emailTemplateTypes = {\n  premade: 0,\n  custom: 1,\n  htmlMode: 2,\n};\n\nexport const premadeTemplates = {\n  personal: 0,\n  plain: 1,\n  company: 2,\n  announcement: 3,\n  official: 4,\n};\n\nexport const premadeTemplateIDMapping = Object.keys(premadeTemplates).reduce(\n  (map, templateName) => {\n    map[premadeTemplates[templateName]] = templateName;\n    return map;\n  },\n  {},\n);\n","export const objectives = {\n  onboarding: 0,\n  announcement: 1,\n  reengagement: 2,\n  leadgeneration: 3,\n};\n\nexport const objectiveNames = {\n  onboarding: 'onboarding',\n  announcement: 'announcement',\n  leadgeneration: 'lead generation',\n  reengagement: 're-engagement',\n};\n","let PredefinedSegmentIconMap = {\n  predefinedUserIconMap: {\n    All: 'multiple-people',\n    'All Users': 'multiple-people',\n    'All Contacts': 'multiple-people',\n    'All Leads': 'multiple-people',\n    New: 'person',\n    Active: 'active',\n    'Slipping Away': 'slipping-away',\n    'Card Expires Soon': 'creditcard',\n    Delinquent: 'slipping-away',\n    'Loyal Subscribers': 'pointed_star',\n  },\n  predefinedCompanyIconMap: {\n    All: 'company',\n    New: 'company',\n    Active: 'active',\n    'Slipping Away': 'slipping-away',\n  },\n};\n\nexport default PredefinedSegmentIconMap;\n","import { CONVERSATION_RATINGS } from 'predicates/models/data/conversation-ratings';\nimport { IOS_DEVICES, IOS_VERSIONS } from 'predicates/models/data/ios';\n\nconst stringComparisons = {\n  comparison: [\n    { label: 'is', value: 'eq', selected: false },\n    { label: 'is not', value: 'ne', selected: false },\n    { label: 'starts with', value: 'starts_with', selected: false },\n    { label: 'ends with', value: 'ends_with', selected: false },\n    { label: 'contains', value: 'contains', selected: false },\n    { label: 'does not contain', value: 'not_contains', selected: false },\n    { label: 'is unknown', value: 'unknown', selected: false, hideInput: true },\n    { label: 'has any value', value: 'known', selected: false, hideInput: true },\n  ],\n};\n\nconst numericComparisons = {\n  comparison: [\n    { label: 'greater than', value: 'gt', selected: false },\n    { label: 'less than', value: 'lt', selected: false },\n    { label: 'is', value: 'eq', selected: false },\n    { label: 'is not', value: 'ne', selected: false },\n    { label: 'is unknown', value: 'unknown', selected: false, hideInput: true },\n    { label: 'has any value', value: 'known', selected: false, hideInput: true },\n  ],\n};\n\nconst tagComparisons = {\n  comparison: [\n    { label: 'is', value: 'in', selected: false },\n    { label: 'is not', value: 'nin', selected: false },\n  ],\n};\n\nconst numericTagComparisons = {\n  comparison: [\n    { label: 'is', value: 'eq', selected: false },\n    { label: 'greater than', value: 'gt', selected: false },\n    { label: 'less than', value: 'lt', selected: false },\n  ],\n};\n\nconst optionalComparisons = {\n  comparison: [\n    { label: 'is', value: 'eq', selected: false },\n    { label: 'is not', value: 'ne', selected: false },\n    { label: 'is unknown', value: 'unknown', selected: false, hideInput: true },\n    { label: 'has any value', value: 'known', selected: false, hideInput: true },\n  ],\n};\n\nconst optionalTagComparisons = {\n  comparison: [\n    { label: 'is', value: 'eq', selected: false },\n    { label: 'is not', value: 'ne', selected: false },\n    { label: 'is unknown', value: 'unknown', selected: false, hideInput: true },\n    { label: 'has any value', value: 'known', selected: false, hideInput: true },\n  ],\n};\n\nconst rangeComparisons = {\n  comparison: [\n    { label: 'is', value: 'eq', selected: false },\n    { label: 'is more than', value: 'gt', selected: false },\n    { label: 'is less than', value: 'lt', selected: false },\n  ],\n};\n\nconst urlComparisons = {\n  comparison: [\n    { value: 'eq', text: 'URL is', isSelected: true },\n    { value: 'ne', text: 'URL is not' },\n    { value: 'starts_with', text: 'URL starts with' },\n    { value: 'ends_with', text: 'URL ends with' },\n    { value: 'contains', text: 'URL contains' },\n    { value: 'not_contains', text: 'URL does not contain' },\n    {\n      value: 'regex',\n      text: 'URL matches regular expression',\n      tooltipText:\n        'Use this to handle complex URLs. We recommend rubular.com to create your regular expressions.',\n    },\n  ],\n};\n\nlet PredicateFilterMap = {\n  anonymous: {\n    comparison: [\n      { label: 'is', value: 'false' },\n      { label: 'is', value: 'true' },\n    ],\n  },\n  anonymousWithLabels: {\n    comparison: [\n      { label: 'is User', value: 'false' },\n      { label: 'is Lead', value: 'true' },\n    ],\n  },\n  campaignBehavior: {\n    comparison: [\n      { label: 'is true', value: 'in', selected: false },\n      { label: 'is false', value: 'nin', selected: false },\n    ],\n  },\n  integer: numericComparisons,\n  float: numericComparisons,\n  numeric: numericComparisons,\n  date: {\n    comparison: [\n      {\n        label: 'more than',\n        value: 'lt:relative',\n        selected: false,\n        type: 'relative',\n        comparison: 'lt',\n      },\n      {\n        label: 'exactly',\n        value: 'eq:relative',\n        selected: false,\n        type: 'relative',\n        comparison: 'eq',\n      },\n      {\n        label: 'less than',\n        value: 'gt:relative',\n        selected: false,\n        type: 'relative',\n        comparison: 'gt',\n      },\n\n      { label: 'after', value: 'gt:absolute', selected: false, type: 'absolute', comparison: 'gt' },\n      { label: 'on', value: 'eq:absolute', selected: false, type: 'absolute', comparison: 'eq' },\n      {\n        label: 'before',\n        value: 'lt:absolute',\n        selected: false,\n        type: 'absolute',\n        comparison: 'lt',\n      },\n\n      {\n        label: 'is unknown',\n        value: 'unknown',\n        selected: false,\n        hideInput: true,\n        comparison: 'unknown',\n      },\n      {\n        label: 'has any value',\n        value: 'known',\n        selected: false,\n        hideInput: true,\n        comparison: 'known',\n      },\n    ],\n    months: [\n      { label: 'Jan', days: 31, value: 1 },\n      { label: 'Feb', days: 29, value: 2 },\n      { label: 'Mar', days: 31, value: 3 },\n      { label: 'Apr', days: 30, value: 4 },\n      { label: 'May', days: 31, value: 5 },\n      { label: 'Jun', days: 30, value: 6 },\n      { label: 'Jul', days: 31, value: 7 },\n      { label: 'Aug', days: 31, value: 8 },\n      { label: 'Sep', days: 30, value: 9 },\n      { label: 'Oct', days: 31, value: 10 },\n      { label: 'Nov', days: 30, value: 11 },\n      { label: 'Dec', days: 31, value: 12 },\n    ],\n  },\n  string: stringComparisons,\n  downcased_string: stringComparisons,\n  manual_tag: {\n    comparison: [\n      { label: 'is', value: 'eq', selected: false },\n      { label: 'is not', value: 'ne', selected: false },\n    ],\n  },\n  numericTag: numericTagComparisons,\n  browser_locale: optionalTagComparisons,\n  boolean: {\n    comparison: [\n      { label: 'is true', value: 'true', selected: true, hideInput: true },\n      { label: 'is false', value: 'false', selected: false, hideInput: true },\n      { label: 'is unknown', value: 'unknown', selected: false, hideInput: true },\n      { label: 'has any value', value: 'known', selected: false, hideInput: true },\n    ],\n  },\n  plan: optionalTagComparisons,\n  optionalTag: optionalTagComparisons,\n  select: optionalTagComparisons,\n  tag: tagComparisons,\n  company_tag: tagComparisons,\n  vip_query: {\n    comparison: [\n      { label: 'is true', value: 'known', selected: false },\n      { label: 'is false', value: 'unknown', selected: false },\n    ],\n  },\n  account_id: optionalComparisons,\n  owner_id: optionalComparisons,\n  ios_device: {\n    comparison: [\n      { label: 'is', value: 'in', selected: false },\n      { label: 'is not', value: 'nin', selected: false },\n    ],\n    data: IOS_DEVICES,\n  },\n  last_conversation_rating_given: {\n    comparison: [\n      { label: 'is', value: 'eq', selected: false },\n      { label: 'greater than', value: 'gt', selected: false },\n      { label: 'less than', value: 'lt', selected: false },\n    ],\n    data: CONVERSATION_RATINGS,\n  },\n  ios_version: {\n    comparison: [\n      { label: 'is', value: 'eq', selected: false },\n      { label: 'greater than', value: 'gt', selected: false },\n      { label: 'less than', value: 'lt', selected: false },\n    ],\n    data: IOS_VERSIONS,\n  },\n  android_app_version: numericTagComparisons,\n  android_device: tagComparisons,\n  android_version: numericTagComparisons,\n  duration_integer: {\n    comparison: [{ label: 'is more than', value: 'eq', selected: false, suffix: 'second' }],\n  },\n  url: urlComparisons,\n  url_visit_integer: rangeComparisons,\n  url_visit: numericTagComparisons,\n  over_messaging_protection: {\n    comparison: [\n      { label: 'is on', value: 'true', selected: true, hideInput: true },\n      { label: 'is off', value: 'false', selected: false, hideInput: true },\n    ],\n    value: '', //Over-messaging protection should not display a value in it's description\n  },\n};\n\nexport default PredicateFilterMap;\n","export const states = {\n  inactive: 0,\n  active: 1,\n};\n\nexport const entityTypes = {\n  ruleset: 16,\n  series: 47,\n};\n\nexport const defaultGoalMatchingTime = 72;\n\nexport const timeConstraints = [\n  { text: '1 Day', value: 24 },\n  { text: '3 Days', value: 72 },\n  { text: '7 Days', value: 168 },\n  { text: '30 Days', value: 720 },\n];\n\nexport const seriesGoalTimeConstraints = [\n  ...timeConstraints,\n  { text: '3 Months', value: 2160 },\n  { text: '6 Months', value: 4320 },\n];\n\nexport const timeConstraintsByEntity = {\n  [entityTypes.ruleset]: timeConstraints,\n  [entityTypes.series]: seriesGoalTimeConstraints,\n};\n","export const defaultEventVerbsMap = {\n  replied: 'replied to',\n  clicked: 'clicked a link in',\n  goal_hit: 'hit the goal for',\n  dismissal: 'dismissed',\n  collected_email: 'Collected an email in',\n};\n\nexport const eventVerbsMap = {\n  chat: {\n    ...defaultEventVerbsMap,\n  },\n  email: {\n    ...defaultEventVerbsMap,\n  },\n  push: {\n    ...defaultEventVerbsMap,\n  },\n  carousel: {\n    ...defaultEventVerbsMap,\n  },\n  post: {\n    ...defaultEventVerbsMap,\n    reacted: 'reacted to',\n  },\n  tour: {\n    ...defaultEventVerbsMap,\n    failed: 'Encountered failure on',\n  },\n  custom_bot: {\n    ...defaultEventVerbsMap,\n  },\n  banner: {\n    ...defaultEventVerbsMap,\n  },\n};\n\nexport const stats = {\n  receipt: 'receipt',\n  completion: 'completion',\n  goalSuccess: 'goal_success',\n  open: 'open',\n  click: 'click',\n  reply: 'reply',\n  reaction: 'reaction',\n  collectedEmail: 'collected_email',\n  tourStepFailure: 'tour_step_failure',\n  dismissal: 'dismissal',\n  emailFailure: 'email_failure',\n  seriesCompletion: 'series_completion',\n  seriesDisengagement: 'series_disengagement',\n  seriesExit: 'series_exit',\n};\n\n// CSS classes to use for text that should be in the statistic's color\nexport const statColors = {\n  receipt: 'outbound__recipients-stat',\n  completion: 'text-green',\n  goalSuccess: 'outbound__goal-stat',\n  open: 'outbound__opens-stat',\n  reaction: 'outbound__replies-stat',\n  click: 'outbound__clicks-stat',\n  reply: 'outbound__replies-stat',\n  collectedEmail: 'c__collected-email-stat',\n  tourStepFailure: 'text-yellow-dark',\n  dismissal: 'text-yellow',\n};\n\n// Visualization color palette names to use for trend graph lines\nexport const statVisualizationColors = {\n  receipt: 'vis-blue-30',\n  completion: 'vis-green-40',\n  goalSuccess: 'vis-blue-40',\n  open: 'vis-green-40',\n  click: 'vis-magenta-40',\n  reaction: 'vis-yellow-30',\n  reply: 'vis-yellow-30',\n  collected_email: 'vis-magenta-40',\n  tour_step_failure: 'vis-yellow-30',\n  dismissal: 'vis-yellow-30',\n};\n\nexport const emailFailureCategories = {\n  unsubscribe: 'unsubscribe',\n  spamComplaint: 'spam_complaint',\n  hardBounce: 'hard_bounce',\n  softBounce: 'soft_bounce',\n};\n\nexport const contentEvents = {\n  chat_viewed: {\n    objectType: 'chat',\n    statistic: 'viewed',\n  },\n  chat_received: {\n    objectType: 'chat',\n    statistic: 'received',\n  },\n  chat_opened: {\n    objectType: 'chat',\n    statistic: 'opened',\n  },\n  chat_clicked: {\n    objectType: 'chat',\n    statistic: 'clicked',\n  },\n  chat_goal_hit: {\n    objectType: 'chat',\n    statistic: 'goal_hit',\n  },\n  chat_replied: {\n    objectType: 'chat',\n    statistic: 'replied',\n  },\n  chat_dismissal: {\n    objectType: 'chat',\n    statistic: 'dismissal',\n  },\n  chat_collected_email: {\n    objectType: 'chat',\n    statistic: 'collected_email',\n  },\n  post_viewed: {\n    objectType: 'post',\n    statistic: 'viewed',\n  },\n  post_received: {\n    objectType: 'post',\n    statistic: 'received',\n  },\n  post_opened: {\n    objectType: 'post',\n    statistic: 'opened',\n  },\n  post_clicked: {\n    objectType: 'post',\n    statistic: 'clicked',\n  },\n  post_goal_hit: {\n    objectType: 'post',\n    statistic: 'goal_hit',\n  },\n  post_replied: {\n    objectType: 'post',\n    statistic: 'replied',\n  },\n  post_dismissal: {\n    objectType: 'post',\n    statistic: 'dismissal',\n  },\n  post_reacted: {\n    objectType: 'post',\n    statistic: 'reacted',\n  },\n  email_received: {\n    objectType: 'email',\n    statistic: 'received',\n  },\n  email_opened: {\n    objectType: 'email',\n    statistic: 'opened',\n  },\n  email_clicked: {\n    objectType: 'email',\n    statistic: 'clicked',\n  },\n  email_goal_hit: {\n    objectType: 'email',\n    statistic: 'goal_hit',\n  },\n  email_replied: {\n    objectType: 'email',\n    statistic: 'replied',\n  },\n  email_bounced: {\n    objectType: 'email',\n    statistic: 'bounced',\n  },\n  email_unsubscribed: {\n    objectType: 'email',\n    statistic: 'unsubscribed',\n  },\n  tour_viewed: {\n    objectType: 'tour',\n    statistic: 'viewed',\n  },\n  tour_completed: {\n    objectType: 'tour',\n    statistic: 'completed',\n  },\n  tour_failed: {\n    objectType: 'tour',\n    statistic: 'failed',\n  },\n  tour_goal_hit: {\n    objectType: 'tour',\n    statistic: 'goal_hit',\n  },\n  push_received: {\n    objectType: 'push',\n    statistic: 'received',\n  },\n  push_opened: {\n    objectType: 'push',\n    statistic: 'opened',\n  },\n  push_goal_hit: {\n    objectType: 'push',\n    statistic: 'goal_hit',\n  },\n  carousel_received: {\n    objectType: 'carousel',\n    statistic: 'received',\n  },\n  carousel_completed: {\n    objectType: 'carousel',\n    statistic: 'completed',\n  },\n  carousel_dismissal: {\n    objectType: 'carousel',\n    statistic: 'dismissal',\n  },\n  carousel_goal_hit: {\n    objectType: 'carousel',\n    statistic: 'goal_hit',\n  },\n  custom_bot_received: {\n    objectType: 'custom_bot',\n    statistic: 'received',\n  },\n  custom_bot_replied: {\n    objectType: 'custom_bot',\n    statistic: 'replied',\n  },\n  custom_bot_completed: {\n    objectType: 'custom_bot',\n    statistic: 'completed',\n  },\n  custom_bot_goal_hit: {\n    objectType: 'custom_bot',\n    statistic: 'goal_hit',\n  },\n  banner_viewed: {\n    objectType: 'banner',\n    statistic: 'viewed',\n  },\n  banner_clicked: {\n    objectType: 'banner',\n    statistic: 'clicked',\n  },\n  banner_reacted: {\n    objectType: 'banner',\n    statistic: 'reacted',\n  },\n  banner_goal_hit: {\n    objectType: 'banner',\n    statistic: 'goal_hit',\n  },\n  banner_collected_email: {\n    objectType: 'banner',\n    statistic: 'collected_email',\n  },\n};\n","export default [\n  { text: 'Every day', value: 'everyday' },\n  { text: 'Weekdays', value: 'weekdays' },\n  { text: 'Weekends', value: 'weekends' },\n  { text: 'Monday', value: 'monday' },\n  { text: 'Tuesday', value: 'tuesday' },\n  { text: 'Wednesday', value: 'wednesday' },\n  { text: 'Thursday', value: 'thursday' },\n  { text: 'Friday', value: 'friday' },\n  { text: 'Saturday', value: 'saturday' },\n  { text: 'Sunday', value: 'sunday' },\n];\n","export default [\n  { text: '12:00 am', value: 0 * 30 },\n  { text: '12:30 am', value: 1 * 30 },\n  { text: '1:00 am', value: 2 * 30 },\n  { text: '1:30 am', value: 3 * 30 },\n  { text: '2:00 am', value: 4 * 30 },\n  { text: '2:30 am', value: 5 * 30 },\n  { text: '3:00 am', value: 6 * 30 },\n  { text: '3:30 am', value: 7 * 30 },\n  { text: '4:00 am', value: 8 * 30 },\n  { text: '4:30 am', value: 9 * 30 },\n  { text: '5:00 am', value: 10 * 30 },\n  { text: '5:30 am', value: 11 * 30 },\n  { text: '6:00 am', value: 12 * 30 },\n  { text: '6:30 am', value: 13 * 30 },\n  { text: '7:00 am', value: 14 * 30 },\n  { text: '7:30 am', value: 15 * 30 },\n  { text: '8:00 am', value: 16 * 30 },\n  { text: '8:30 am', value: 17 * 30 },\n  { text: '9:00 am', value: 18 * 30 },\n  { text: '9:30 am', value: 19 * 30 },\n  { text: '10:00 am', value: 20 * 30 },\n  { text: '10:30 am', value: 21 * 30 },\n  { text: '11:00 am', value: 22 * 30 },\n  { text: '11:30 am', value: 23 * 30 },\n  { text: '12:00 pm', value: 24 * 30 },\n  { text: '12:30 pm', value: 25 * 30 },\n  { text: '1:00 pm', value: 26 * 30 },\n  { text: '1:30 pm', value: 27 * 30 },\n  { text: '2:00 pm', value: 28 * 30 },\n  { text: '2:30 pm', value: 29 * 30 },\n  { text: '3:00 pm', value: 30 * 30 },\n  { text: '3:30 pm', value: 31 * 30 },\n  { text: '4:00 pm', value: 32 * 30 },\n  { text: '4:30 pm', value: 33 * 30 },\n  { text: '5:00 pm', value: 34 * 30 },\n  { text: '5:30 pm', value: 35 * 30 },\n  { text: '6:00 pm', value: 36 * 30 },\n  { text: '6:30 pm', value: 37 * 30 },\n  { text: '7:00 pm', value: 38 * 30 },\n  { text: '7:30 pm', value: 39 * 30 },\n  { text: '8:00 pm', value: 40 * 30 },\n  { text: '8:30 pm', value: 41 * 30 },\n  { text: '9:00 pm', value: 42 * 30 },\n  { text: '9:30 pm', value: 43 * 30 },\n  { text: '10:00 pm', value: 44 * 30 },\n  { text: '10:30 pm', value: 45 * 30 },\n  { text: '11:00 pm', value: 46 * 30 },\n  { text: '11:30 pm', value: 47 * 30 },\n  { text: '11:59 pm', value: 48 * 30 - 1 },\n];\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, hasMany } from '@ember-data/model';\n\nexport default Model.extend({\n  url: attr('string'),\n  hubSecret: attr('string'),\n  updatedAt: attr('date'),\n  topics: hasMany('developer-hub/webhook-topic'),\n  appId: attr('string'),\n  eventName: attr('string'),\n  stats: attr(),\n\n  ping() {\n    let modelName = this.constructor.modelName;\n    let adapter = this.store.adapterFor(modelName);\n    let url = `${adapter.buildURL(modelName, this.id)}/ping`;\n    return adapter.ajax(url, 'POST');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { equal } from '@ember/object/computed';\n\nexport default Model.extend({\n  name: attr('string'),\n  date: attr('date'),\n  latest_public: attr('boolean'),\n  experimental: attr('boolean'),\n  isUnstable: equal('name', 'Unstable'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\nimport { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { fragment } from 'ember-data-model-fragments/attributes';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport { alias, equal, not, notEmpty, or, union, readOnly } from '@ember/object/computed';\nimport { isPresent } from '@ember/utils';\nimport { validator, buildValidations } from 'ember-cp-validations';\nimport { isValidEmail } from 'embercom/lib/email';\nimport { isValidUrlWithProtocol } from 'embercom/lib/url-validator';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport {\n  getPricingModelData,\n  getPricingModelValues,\n} from 'embercom/lib/developer-hub/pricing-models';\n\nconst Validations = buildValidations(\n  {\n    name: [validator('presence', true), validator('length', { max: 40 })],\n    nameWords: validator('length', { message: 'Must not be more than 3 words', min: 1, max: 3 }),\n    basicInfoDescription: [validator('length', { max: 70 })],\n\n    iconUrl: {\n      disabled: or('model.validationsDisabled', 'model.developerHub.isOnBasicInfo'),\n      validators: [\n        validator('presence', { presence: true, message: 'Please upload an icon' }),\n        validator('length', { min: 1, message: 'Please upload an icon' }),\n      ],\n    },\n    description: {\n      disabled: or('model.validationsDisabled', 'model.developerHub.isOnBasicInfo'),\n      validators: [validator('presence', true), validator('length', { max: 70 })],\n    },\n    builtBy: {\n      disabled: or('model.validationsDisabled', 'model.developerHub.isOnBasicInfo'),\n      validators: [validator('presence', true), validator('length', { max: 30 })],\n    },\n    installUrl: {\n      disabled: or(\n        'model.isNotDirectInstallation',\n        'model.validationsDisabled',\n        'model.developerHub.isOnBasicInfo',\n        'model.developerHub.isOnAppStoreListing',\n      ),\n      validators: [\n        validator('presence', true),\n        validator('format', { type: 'url' }),\n        validator('https-except-in-development'),\n      ],\n    },\n    uninstallUrl: {\n      disabled: or(\n        'model.validationsDisabled',\n        'model.developerHub.isOnBasicInfo',\n        'model.developerHub.isOnAppStoreListing',\n      ),\n      validators: [\n        validator('format', { type: 'url', allowBlank: true }),\n        validator('https-except-in-development', { allowBlank: true }),\n      ],\n    },\n    healthCheckUrl: {\n      disabled: or(\n        'model.validationsDisabled',\n        'model.developerHub.isOnBasicInfo',\n        'model.developerHub.isOnAppStoreListing',\n      ),\n      validators: [\n        validator('format', { type: 'url', allowBlank: true }),\n        validator('https-except-in-development', { allowBlank: true }),\n      ],\n    },\n    termsOfServiceUrl: {\n      disabled: or('model.validationsDisabled', 'model.developerHub.isOnBasicInfo'),\n      validators: [\n        validator('presence', true),\n        validator('format', { type: 'url' }),\n        validator('format', { regex: /^https?:\\/\\//i, message: 'Must use HTTP or HTTPS' }),\n      ],\n    },\n    privacyPolicyUrl: {\n      disabled: or('model.validationsDisabled', 'model.developerHub.isOnBasicInfo'),\n      validators: [\n        validator('presence', true),\n        validator('format', { type: 'url' }),\n        validator('format', { regex: /^https?:\\/\\//i, message: 'Must use HTTP or HTTPS' }),\n      ],\n    },\n    pricingModel: {\n      disabled: or('model.validationsDisabled', 'model.developerHub.isOnBasicInfo'),\n      validators: [\n        validator('presence', true),\n        validator('inclusion', {\n          in: getPricingModelValues(),\n          message: 'Please select an option',\n        }),\n      ],\n    },\n    pricingPageUrl: {\n      disabled: or('model.validationsDisabled', 'model.developerHub.isOnBasicInfo'),\n      validators: [\n        validator('inline', {\n          dependentKeys: ['model.pricingModel'],\n          validate(value, options, model) {\n            let pricingModel = getPricingModelData(model.pricingModel);\n            if (pricingModel && !pricingModel.pricingPageRequired) {\n              return true;\n            } else if (\n              isPresent(value) &&\n              isValidUrlWithProtocol(value) &&\n              value.match(/^https?:\\/\\//i)\n            ) {\n              return true;\n            }\n\n            return 'This field must be a valid HTTP or HTTPS url';\n          },\n        }),\n      ],\n    },\n    supportEmail: {\n      disabled: or('model.validationsDisabled', 'model.developerHub.isOnBasicInfo'),\n      validators: [\n        validator('inline', {\n          validate(value) {\n            if (isPresent(value) && isValidEmail(value)) {\n              return true;\n            }\n\n            return 'Must be a valid email address';\n          },\n        }),\n      ],\n    },\n    documentationUrl: {\n      disabled: or('model.validationsDisabled', 'model.developerHub.isOnBasicInfo'),\n      validators: [validator('format', { type: 'url', allowBlank: true })],\n    },\n    developerHomepageUrl: {\n      disabled: or('model.validationsDisabled', 'model.developerHub.isOnBasicInfo'),\n      validators: [\n        validator('presence', true),\n        validator('format', { type: 'url' }),\n        validator('format', { regex: /^https?:\\/\\//i, message: 'Must use HTTP or HTTPS' }),\n      ],\n    },\n    'appStoreListing.longDescription.firstObject.text': {\n      disabled: computed(\n        'model.validationsDisabled',\n        'model.appStoreListing.longDescription.length',\n        function() {\n          if (\n            this.get('model.validationsDisabled') ||\n            this.get('model.developerHub.isOnBasicInfo')\n          ) {\n            return true;\n          }\n\n          return this.get('model.appStoreListing.longDescription.length') > 1;\n        },\n      ),\n      validators: [validator('presence', true), validator('length', { min: 1 })],\n    },\n    'appStoreListing.videoId': {\n      disabled: or('model.validationsDisabled', 'model.developerHub.isOnBasicInfo'),\n      validators: [\n        validator('video-details', {\n          dependentKeys: ['model.appStoreListing.videoId', 'model.appStoreListing.videoProvider'],\n        }),\n      ],\n    },\n    'appStoreListing.imageUrls.length': {\n      disabled: or('model.validationsDisabled', 'model.developerHub.isOnBasicInfo'),\n      validators: [\n        validator('number', {\n          gte: 1,\n          lte: 10,\n          message: 'Please upload at least one image, and at most 10 images',\n        }),\n      ],\n    },\n    'appStoreListing.categories.length': {\n      disabled: or('model.validationsDisabled', 'model.developerHub.isOnBasicInfo'),\n      validators: [validator('number', { gt: 0, message: 'Please select at least one category' })],\n    },\n    'appStoreListing.learnMoreUrl': {\n      disabled: or(\n        'model.isDirectInstallation',\n        'model.validationsDisabled',\n        'model.developerHub.isOnBasicInfo',\n        'model.developerHub.isOnAppStoreListing',\n      ),\n      validators: [\n        validator('presence', true),\n        validator('format', { type: 'url' }),\n        validator('format', { regex: /^https:\\/\\//, message: 'Must use HTTPS' }),\n      ],\n    },\n  },\n  {\n    disabled: readOnly('model.validationsDisabled'),\n  },\n);\n\nexport default Fragment.extend(Validations, {\n  developerHub: service(),\n  appService: service(),\n\n  hasLearnMoreUrl: notEmpty('appStoreListing.learnMoreUrl'),\n  installationMode: ternary('hasLearnMoreUrl', 'website', 'direct'),\n  isDirectInstallation: equal('installationMode', 'direct'),\n  isNotDirectInstallation: not('isDirectInstallation'),\n\n  name: attr('string'),\n  iconUrl: attr('string'),\n  installUrl: attr('string'),\n  uninstallUrl: attr('string'),\n  healthCheckUrl: attr('string'),\n  termsOfServiceUrl: attr('string'),\n  supportEmail: attr('string'),\n  documentationUrl: attr('string'),\n  avatarWorkspaceIdCode: attr('string'),\n  developerHomepageUrl: attr('string'),\n  privacyPolicyUrl: attr('string'),\n  pricingModel: attr('string'),\n  pricingPageUrl: attr('string'),\n  description: attr('string'),\n  builtBy: attr('string'),\n  state: attr('string'),\n  ownerAppId: attr('string'),\n  appStoreListing: fragment('developer-hub/app-store-listing'),\n  startingGuide: fragment('developer-hub/starting-guide'),\n  messengerApp: fragment('developer-hub/messenger-app'),\n  inboxApp: fragment('developer-hub/inbox-app'),\n  oauthClient: fragment('developer-hub/oauth-client'),\n\n  basicInfoDescription: alias('description'),\n\n  nameWords: computed('name', function() {\n    let name = this.name || '';\n    return name.split(/\\s+/);\n  }),\n\n  validationsDisabled: true,\n\n  nameErrors: union('validations.attrs.name.errors', 'validations.attrs.nameWords.errors'),\n  basicInfoDescriptionErrors: readOnly('validations.attrs.basicInfoDescription.errors'),\n  appIconErrors: readOnly('validations.attrs.iconUrl.errors'),\n  descriptionErrors: readOnly('validations.attrs.description.errors'),\n  builtByErrors: readOnly('validations.attrs.builtBy.errors'),\n  installUrlErrors: readOnly('validations.attrs.installUrl.errors'),\n  uninstallUrlErrors: readOnly('validations.attrs.uninstallUrl.errors'),\n  healthCheckUrlErrors: readOnly('validations.attrs.healthCheckUrl.errors'),\n  longDescriptionErrors: readOnly(\n    'validations.attrs.appStoreListing.longDescription.firstObject.text.errors',\n  ),\n  imageUrlsErrors: readOnly('validations.attrs.appStoreListing.imageUrls.length.errors'),\n  videoErrors: readOnly('validations.attrs.appStoreListing.videoId.errors'),\n  categoriesErrors: readOnly('validations.attrs.appStoreListing.categories.length.errors'),\n  learnMoreUrlErrors: readOnly('validations.attrs.appStoreListing.learnMoreUrl.errors'),\n  termsOfServiceUrlErrors: readOnly('validations.attrs.termsOfServiceUrl.errors'),\n  privacyPolicyUrlErrors: readOnly('validations.attrs.privacyPolicyUrl.errors'),\n  pricingModelErrors: readOnly('validations.attrs.pricingModel.errors'),\n  pricingPageUrlErrors: readOnly('validations.attrs.pricingPageUrl.errors'),\n  supportEmailErrors: readOnly('validations.attrs.supportEmail.errors'),\n  documentationUrlErrors: readOnly('validations.attrs.documentationUrl.errors'),\n  avatarWorkspaceErrors: readOnly('validations.attrs.avatarWorkspaceIdCode.errors'),\n  developerHomepageUrlErrors: readOnly('validations.attrs.developerHomepageUrl.errors'),\n\n  validate() {\n    this.set('validationsDisabled', false);\n    return this._super(...arguments);\n  },\n\n  rollbackAttributes() {\n    this.set('validationsDisabled', true);\n    return this._super(...arguments);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo } from '@ember-data/model';\nimport nonconcurrentAjax from 'embercom/lib/nonconcurrent-ajax';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { findByProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Model.extend({\n  appId: attr('string'),\n  accessToken: attr('string'),\n  installState: attr('boolean'),\n  hasOutdatedScopes: attr('boolean'),\n\n  appService: service(),\n  apps: readOnly('appService.app.currentAdmin.apps'),\n  app: findByProperty('apps', 'id', 'appId'),\n  appPackage: belongsTo('developer-hub/app-package'),\n\n  install() {\n    return this.postAndUpdate('install');\n  },\n  uninstall() {\n    return this.postAndUpdate('uninstall');\n  },\n  regenerateToken() {\n    return this.postAndUpdate('regenerate_token');\n  },\n  postAndUpdate(path) {\n    return this._post(path).then(res => this._setProperties(res));\n  },\n  _post(path) {\n    let url = `/ember/developer_hub/app_package_installs/${path}`;\n    return nonconcurrentAjax(this, {\n      url,\n      type: 'POST',\n      data: JSON.stringify({\n        app_id: this.appId,\n        app_package_id: this.get('appPackage.id'),\n      }),\n    });\n  },\n  _setProperties(properties) {\n    let normalizedProperties = this.store.normalize(this.constructor.modelName, properties).data\n      .attributes;\n    this.setProperties(normalizedProperties);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo } from '@ember-data/model';\nimport { fragment } from 'ember-data-model-fragments/attributes';\nimport nonconcurrentAjax from 'embercom/lib/nonconcurrent-ajax';\nimport { computed } from '@ember/object';\nimport { equal, union, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport diffCalculator from 'embercom/lib/developer-hub/diff-calculator';\nimport partnerFlag from 'embercom/lib/developer-hub/partner-flag';\nimport {\n  containsByProperty,\n  findByProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport { validator, buildValidations } from 'ember-cp-validations';\n\nconst Validations = buildValidations({\n  name: [validator('presence', true), validator('length', { max: 40 })],\n  nameWords: validator('length', { message: 'Must not be more than 3 words', min: 1, max: 3 }),\n});\n\nconst PROTECTED_APP_PACKAGES = ['28903'];\n\nexport default Model.extend(Validations, {\n  name: attr('string'),\n  iconUrl: attr('string', {\n    humanisedName: 'App icon',\n    renderingComponentPath: 'developer-hub/app-package/review/review-changes/app-icon-value',\n  }),\n  adminId: attr('number', { noDiff: true }),\n  apiVersion: belongsTo('developer-hub/api-version', { noDiff: true }),\n  createdAt: attr('date', { noDiff: true }),\n  installUrl: attr('string', { humanisedName: 'Direct installation URL' }),\n  uninstallUrl: attr('string', { humanisedName: 'Uninstallation URL' }),\n  healthCheckUrl: attr('string', { humanisedName: 'Health check URL' }),\n  termsOfServiceUrl: attr('string', { humanisedName: 'Terms of service URL' }),\n  privacyPolicyUrl: attr('string', { humanisedName: 'Privacy policy URL' }),\n  pricingModel: attr('string', {\n    humanisedName: 'Pricing model',\n    renderingComponentPath: 'developer-hub/app-package/review/review-changes/pricing-model',\n  }),\n  pricingPageUrl: attr('string', { humanisedName: 'Pricing page URL' }),\n  supportEmail: attr('string', { humanisedName: 'Support email address' }),\n  documentationUrl: attr('string', { humanisedName: 'Documentation URL' }),\n  avatarWorkspaceIdCode: attr('string', {\n    humanisedName: \"Avatars' workspace\",\n  }),\n  developerHomepageUrl: attr('string', { humanisedName: 'Website URL' }),\n  description: attr('string', { humanisedName: 'Description' }),\n  builtBy: attr('string', { humanisedName: 'Built by' }),\n  state: attr('string', { noDiff: true }),\n  ownerAppId: attr('string', { noDiff: true }),\n  appIntent: attr('string', { noDiff: true, defaultValue: partnerFlag.internalIntent }),\n  appStoreListing: fragment('developer-hub/app-store-listing', { noDiff: true }),\n  startingGuide: fragment('developer-hub/starting-guide', { noDiff: true }),\n  changeRequest: fragment('developer-hub/change-request', { noDiff: true }),\n  messengerApp: fragment('developer-hub/messenger-app', { noDiff: true }),\n  inboxApp: fragment('developer-hub/inbox-app', { noDiff: true }),\n  oauthClient: fragment('developer-hub/oauth-client', { noDiff: true }),\n  webhookDefinition: fragment('developer-hub/webhook-definition', { noDiff: true }),\n  isPrivateApp: equal('state', 'private_app'),\n  isPublicApp: equal('state', 'public_app'),\n  appService: service(),\n  currentApp: readOnly('appService.app'),\n  apps: readOnly('appService.app.currentAdmin.apps'),\n  ownerApp: findByProperty('apps', 'id', 'ownerAppId'),\n  protectedAppPackageIds: PROTECTED_APP_PACKAGES,\n  isProtectedAppPackage: containsByProperty('protectedAppPackageIds', 'id'),\n\n  nameWords: computed('name', function() {\n    let name = this.name || '';\n    return name.split(/\\s+/);\n  }),\n\n  nameErrors: union('validations.attrs.name.errors', 'validations.attrs.nameWords.errors'),\n\n  compareWith(modelB) {\n    return diffCalculator(this, modelB);\n  },\n\n  submitReview() {\n    return this.postAndUpdate('submit_review');\n  },\n\n  cancelReview() {\n    return this.postAndUpdate('cancel_review');\n  },\n\n  publishListing() {\n    return this.postAndUpdate('publish_listing');\n  },\n\n  cancelListing() {\n    return this.postAndUpdate('cancel_listing');\n  },\n\n  updateApiVersion() {\n    return this.postAndUpdate('update_api_version');\n  },\n\n  updateWebhooks() {\n    return this.postAndUpdate('update_webhook_definition');\n  },\n\n  pingWebhookDefinition() {\n    return this._post('ping');\n  },\n\n  uploadImage(image, uploadType) {\n    let formData = new FormData();\n    formData.append('app_id', this.get('currentApp.id'));\n    formData.append('upload_type', uploadType);\n    formData.append('image_upload', image);\n    let url = `/ember/developer_hub/app_packages/${this.id}/upload_image`;\n    return nonconcurrentAjax(this, {\n      url,\n      type: 'POST',\n      contentType: false,\n      processData: false,\n      data: formData,\n    });\n  },\n\n  postAndUpdate(path) {\n    return this._post(path).then(res => this._updateModel(res));\n  },\n\n  _post(path) {\n    let modelName = this.constructor.modelName;\n    let adapter = this.store.adapterFor(modelName);\n\n    let url = `${adapter.buildURL(modelName, this.id)}/${path}`;\n    return adapter.ajax(url, 'POST', { data: this.serialize() });\n  },\n\n  _updateModel(response) {\n    let normalizedModel = this.store.normalize(this.constructor.modelName, response);\n    return this.store.push(normalizedModel);\n  },\n});\n","import Model, { attr } from '@ember-data/model';\nimport Signal from 'embercom/models/reporting/signal';\nimport { inject as service } from '@ember/service';\n\nexport default class CumulativeTotalInstalls extends Model {\n  @attr() signalData;\n\n  @service appService;\n\n  get signal() {\n    let { timezone } = this.appService.app;\n\n    return Signal.create({\n      ...this.signalData,\n      timezone,\n    });\n  }\n}\n","import Model, { attr } from '@ember-data/model';\n\nexport default class InstallationEvents extends Model {\n  @attr() report;\n}\n","import Model, { attr } from '@ember-data/model';\n\nexport const APP_PACKAGE_UNINSTALL_REASONS = {\n  different_needs: \"Doesn't meet my needs\",\n  bad_performance: 'Not performing well',\n  better_replacement: 'Found a better alternative',\n  too_expensive: 'Too expensive',\n  other: 'Other',\n};\n\nexport default class UninstallFeedback extends Model {\n  @attr() report;\n}\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { computed } from '@ember/object';\nimport { map } from '@ember/object/computed';\nimport diffCalculator from 'embercom/lib/developer-hub/diff-calculator';\nimport {\n  buildVideoUrl,\n  buildEmbeddableVideoUrl,\n  parseVideoUrl,\n} from 'embercom/lib/video-embed-url';\n\nexport default Fragment.extend({\n  learnMoreUrl: attr('string', { humanisedName: 'Learn more URL' }),\n  publiclyAvailable: attr('boolean', { noDiff: true }),\n  imageUrls: attr('array', {\n    defaultValue: () => [],\n    humanisedName: 'Screenshots for your app',\n    renderingComponentPath:\n      'developer-hub/app-package/review/review-changes/screenshots-list-value',\n  }),\n  categories: attr('array', {\n    defaultValue: () => [],\n  }),\n  longDescription: attr('', {\n    defaultValue: () => [],\n    containsBlocks: true,\n    renderingComponentPath:\n      'developer-hub/app-package/review/review-changes/renderable-blocks-value',\n    humanisedName: 'Long description',\n  }),\n\n  videoId: attr('string', {\n    humanisedName: 'Promotional Video',\n    renderingComponentPath: 'developer-hub/app-package/review/review-changes/video-id-value',\n  }),\n  videoProvider: attr('string', { noDiff: true }),\n  videoUrl: computed('videoId', 'videoProvider', {\n    get() {\n      return buildVideoUrl(this.videoId, this.videoProvider);\n    },\n    set(_, value) {\n      if (value.length > 0) {\n        let { provider, id } = parseVideoUrl(value);\n        this.setProperties({ videoProvider: provider, videoId: id });\n      } else {\n        this.setProperties({ videoProvider: undefined, videoId: undefined });\n      }\n      return value;\n    },\n  }),\n  videoEmbedUrl: computed('videoId', 'videoProvider', function() {\n    return buildEmbeddableVideoUrl(this.videoId, this.videoProvider);\n  }),\n\n  appStoreCategories: map('categories', function(category) {\n    return this.store.peekAll('appstore/category').findBy('slug', category);\n  }),\n\n  compareWith(modelB) {\n    return diffCalculator(this, modelB);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  name: attr('string'),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { fragment, fragmentArray } from 'ember-data-model-fragments/attributes';\nimport { validator, buildValidations } from 'ember-cp-validations';\nimport { readOnly } from '@ember/object/computed';\n\nconst Validations = buildValidations(\n  {\n    description: [validator('presence', true), validator('length', { min: 1 })],\n    videoUrl: [validator('presence', true), validator('format', { type: 'url' })],\n  },\n  {\n    disabled: readOnly('model.validationsDisabled'),\n  },\n);\n\nexport default Fragment.extend(Validations, {\n  state: attr('string'),\n  description: attr('string'),\n  videoUrl: attr('string'),\n  feedbackNotes: attr('array'),\n  createdAt: attr('date'),\n  updatedAt: attr('date'),\n  appPackageConfig: fragment('developer-hub/app-package-config'),\n  scopeDescriptions: fragmentArray('developer-hub/scope-descriptions'),\n  validationsDisabled: true,\n  descriptionErrors: readOnly('validations.attrs.description.errors'),\n  videoUrlErrors: readOnly('validations.attrs.videoUrl.errors'),\n  validate() {\n    this.set('validationsDisabled', false);\n    return this._super(...arguments);\n  },\n\n  rollbackAttributes() {\n    this.set('validationsDisabled', true);\n    return this._super(...arguments);\n  },\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport diffCalculator from 'embercom/lib/developer-hub/diff-calculator';\nimport { readOnly } from '@ember/object/computed';\nimport { validator, buildValidations } from 'ember-cp-validations';\n\nconst Validations = buildValidations(\n  {\n    initializeUrl: [\n      validator('presence', { presence: true, message: 'This field is required' }),\n      validator('format', { type: 'url' }),\n      validator('https-except-in-development'),\n    ],\n    submitUrl: [\n      validator('presence', { presence: true, message: 'This field is required' }),\n      validator('format', { type: 'url' }),\n      validator('https-except-in-development'),\n    ],\n    enabled: [\n      validator('inclusion', { in: [true], message: 'Please select at least one capability' }),\n    ],\n  },\n  {\n    disabled: readOnly('model.validationsDisabled'),\n  },\n);\n\nexport default Fragment.extend(Validations, {\n  submitUrl: attr('string', { humanisedName: 'Submit URL' }),\n  initializeUrl: attr('string', { humanisedName: 'Initialize URL' }),\n  enabled: attr('boolean', { humanisedName: 'Works with Inbox', defaultValue: false }),\n  validationsDisabled: true,\n  initializeUrlErrors: readOnly('validations.attrs.initializeUrl.errors'),\n  submitUrlErrors: readOnly('validations.attrs.submitUrl.errors'),\n  enabledErrors: readOnly('validations.attrs.enabled.errors'),\n\n  compareWith(modelB) {\n    return diffCalculator(this, modelB);\n  },\n\n  validate() {\n    this.set('validationsDisabled', false);\n    return this._super(...arguments);\n  },\n\n  rollbackAttributes() {\n    this.set('validationsDisabled', true);\n    return this._super(...arguments);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/use-brace-expansion */\nimport { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport diffCalculator from 'embercom/lib/developer-hub/diff-calculator';\nimport { computed } from '@ember/object';\nimport { collect, filter, readOnly, or } from '@ember/object/computed';\nimport { validator, buildValidations } from 'ember-cp-validations';\n\nconst Validations = buildValidations(\n  {\n    submitUrl: [\n      validator('presence', { presence: true, message: 'This field is required' }),\n      validator('format', { type: 'url' }),\n      validator('https-except-in-development'),\n    ],\n    initializeUrl: [\n      validator('presence', { presence: true, message: 'This field is required' }),\n      validator('format', { type: 'url' }),\n      validator('https-except-in-development'),\n    ],\n    configureUrl: {\n      disabled: computed('model.validationsDisabled', 'model.configureUrl', function() {\n        return this.get('model.validationsDisabled') || !this.get('model.configureUrl');\n      }),\n      validators: [validator('format', { type: 'url' }), validator('https-except-in-development')],\n    },\n    submitSheetUrl: {\n      disabled: computed('model.validationsDisabled', 'model.submitSheetUrl', function() {\n        return this.get('model.validationsDisabled') || !this.get('model.submitSheetUrl');\n      }),\n      validators: [validator('format', { type: 'url' }), validator('https-except-in-development')],\n    },\n    'enabledCapabilities.length': validator('number', {\n      gt: 0,\n      message: 'Please select at least one capability',\n    }),\n  },\n  {\n    disabled: readOnly('model.validationsDisabled'),\n  },\n);\n\nexport default Fragment.extend(Validations, {\n  submitUrl: attr('string', { humanisedName: 'Submit URL' }),\n  initializeUrl: attr('string', { humanisedName: 'Initialize URL' }),\n  configureUrl: attr('string', { humanisedName: 'Configure URL' }),\n  submitSheetUrl: attr('string', { humanisedName: 'Sheet submit URL' }),\n  availableInOperator: attr('boolean', { humanisedName: 'Works with Operator' }),\n  availableInConversations: attr('boolean', { humanisedName: 'Works with Conversations' }),\n  availableInMessengerHome: attr('boolean', { humanisedName: 'Works with Messenger' }),\n  availableInMessages: attr('boolean', { humanisedName: 'Works with Outbound' }),\n\n  availableCapabilites: collect(\n    'availableInOperator',\n    'availableInConversations',\n    'availableInMessengerHome',\n    'availableInMessages',\n  ),\n\n  enabledMessengerApps: or(\n    'availableInConversations',\n    'availableInMessengerHome',\n    'availableInOperator',\n    'availableInMessages',\n  ),\n\n  enabledCapabilities: filter('availableCapabilites', Boolean),\n\n  validationsDisabled: true,\n\n  capabilitesErrors: readOnly('validations.attrs.enabledCapabilities.length.errors'),\n  submitUrlErrors: readOnly('validations.attrs.submitUrl.errors'),\n  initializeUrlErrors: readOnly('validations.attrs.initializeUrl.errors'),\n  configureUrlErrors: readOnly('validations.attrs.configureUrl.errors'),\n  submitSheetsUrlErrors: readOnly('validations.attrs.submitSheetUrl.errors'),\n\n  compareWith(modelB) {\n    return diffCalculator(this, modelB);\n  },\n\n  validate() {\n    this.set('validationsDisabled', false);\n    return this._super(...arguments);\n  },\n\n  rollbackAttributes() {\n    this.set('validationsDisabled', true);\n    return this._super(...arguments);\n  },\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport { not, or, readOnly, gt } from '@ember/object/computed';\nimport diffCalculator, { COMPARISON_FUNCTIONS } from 'embercom/lib/developer-hub/diff-calculator';\nimport { validator, buildValidations } from 'ember-cp-validations';\n\nconst Validations = buildValidations(\n  {\n    redirectUrls: {\n      disabled: or('model.validationsDisabled', 'model.oauthDisabled'),\n      validators: [validator('presence', true), validator('has-many')],\n    },\n    'scopes.length': validator('number', {\n      gt: 0,\n      message: 'Please select at least one permision',\n    }),\n  },\n  {\n    disabled: readOnly('model.validationsDisabled'),\n  },\n);\n\nconst redirectUrlComparison = (a, b) => {\n  return COMPARISON_FUNCTIONS.array(a.mapBy('url'), b.mapBy('url'));\n};\n\nexport default Fragment.extend(Validations, {\n  callbackUrl: attr('string'),\n  clientId: attr('string', { noDiff: true }),\n  clientSecret: attr('string', { noDiff: true }),\n  redirectUrls: fragmentArray('developer-hub/redirect-url', {\n    diffFunction: redirectUrlComparison,\n    humanisedName: 'Redirect URLs',\n    renderingComponentPath: 'developer-hub/app-package/review/review-changes/oauth-redirect-urls',\n  }),\n  scopes: attr('array', {\n    humanisedName: 'Oauth Scopes',\n    renderingComponentPath: 'developer-hub/app-package/review/review-changes/oauth-scopes',\n  }),\n\n  validationsDisabled: true,\n  scopesErrors: readOnly('validations.attrs.scopes.length.errors'),\n  useOAuthFlow: gt('redirectUrls.length', 0),\n  oauthDisabled: not('useOAuthFlow'),\n\n  compareWith(modelB) {\n    return diffCalculator(this, modelB);\n  },\n\n  validate() {\n    this.set('validationsDisabled', false);\n    this.redirectUrls.forEach(function(redirectUrl) {\n      redirectUrl.set('validationsDisabled', false);\n    });\n    return this._super(...arguments);\n  },\n\n  rollbackAttributes() {\n    this.set('validationsDisabled', true);\n    this.redirectUrls.forEach(function(redirectUrl) {\n      redirectUrl.set('validationsDisabled', true);\n    });\n    return this._super(...arguments);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  description: attr('string'),\n  name: attr('string'),\n  scopeType: attr('string'),\n  orderId: attr('number'),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { readOnly } from '@ember/object/computed';\nimport { validator, buildValidations } from 'ember-cp-validations';\n\nconst Validations = buildValidations(\n  {\n    url: [validator('presence', true), validator('oauth-redirect-url')],\n  },\n  {\n    disabled: readOnly('model.validationsDisabled'),\n  },\n);\n\nexport default Fragment.extend(Validations, {\n  url: attr('string'),\n\n  validationsDisabled: true,\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  scopeId: attr('string'),\n  description: attr('string'),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport diffCalculator from 'embercom/lib/developer-hub/diff-calculator';\n\nexport default Fragment.extend({\n  content: attr('', {\n    defaultValue: () => [],\n    containsBlocks: true,\n    renderingComponentPath:\n      'developer-hub/app-package/review/review-changes/renderable-starting-guide-blocks-value',\n    humanisedName: 'Start guide content',\n  }),\n  isEqual(other) {\n    return true;\n  },\n  compareWith(modelB) {\n    return diffCalculator(this, modelB);\n  },\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { readOnly, map } from '@ember/object/computed';\nimport { validator, buildValidations } from 'ember-cp-validations';\nimport { isAny } from '@intercom/embercom-core/lib/computed-properties';\n\nconst Validations = buildValidations(\n  {\n    url: [\n      validator('presence', true),\n      validator('format', { type: 'url' }),\n      validator('https-except-in-development'),\n    ],\n  },\n  {\n    disabled: readOnly('model.validationsDisabled'),\n  },\n);\n\nexport default Fragment.extend(Validations, {\n  url: attr('string'),\n  topics: attr('array', {\n    defaultValue() {\n      return [];\n    },\n  }),\n\n  validationsDisabled: true,\n\n  urlErrors: readOnly('validations.attrs.url.errors'),\n  missingRequiredScopes: isAny('topicObjects', 'missingRequiredScopes', true),\n\n  topicObjects: map('topics', function(topic) {\n    return this.store.peekRecord('developer-hub/webhook-topic', topic);\n  }),\n\n  validate() {\n    this.set('validationsDisabled', false);\n    return this._super(...arguments);\n  },\n\n  rollbackAttributes() {\n    this.set('validationsDisabled', true);\n    return this._super(...arguments);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, hasMany } from '@ember-data/model';\nimport { inject as service } from '@ember/service';\nimport { readOnly, not } from '@ember/object/computed';\nimport { computed } from '@ember/object';\n\nexport default Model.extend({\n  developerHub: service(),\n  approvedScopeIds: readOnly('developerHub.appPackage.oauthClient.scopes'),\n\n  name: attr('string'),\n  requiredScopes: hasMany('developer-hub/oauth-scope'),\n\n  hasAtLeastOneRequiredScope: computed('requiredScopes.[]', 'approvedScopeIds.[]', function() {\n    return this.requiredScopes.any(scope => this.approvedScopeIds.includes(scope.id));\n  }),\n  missingRequiredScopes: not('hasAtLeastOneRequiredScope'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { equal, not, match, notEmpty } from '@ember/object/computed';\n\nexport default Model.extend({\n  app_id: attr(),\n  attribute: attr(),\n  display_on: attr(),\n  sort_direction: attr(),\n  sort_by: attr(),\n  displayOnUsers: equal('display_on', 'users'),\n  displayOnCompanies: equal('display_on', 'companies'),\n  isUser: not('isCompany'),\n  isCompany: match('attribute', /^company\\./),\n  isSorted: notEmpty('sort_by'),\n  isSortedDescending: equal('sort_by', 'desc'),\n}).reopenClass({\n  sortBy(displayedAttribute, app, display_on) {\n    let attributeSetting = displayedAttribute.getAttributeSettingByDisplayOn(display_on);\n    let isSortedDescending = attributeSetting.get('isSortedDescending');\n    app.get('attribute_settings').setEach('sort_by', '');\n\n    if (isSortedDescending) {\n      attributeSetting.set('sort_by', 'asc');\n    } else {\n      attributeSetting.set('sort_by', 'desc');\n    }\n\n    return attributeSetting.save();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { resolve, reject } from 'rsvp';\nimport Model, { attr } from '@ember-data/model';\nimport ajax from 'embercom/lib/ajax';\n\nexport default class DkimSettingsModel extends Model {\n  @attr() appId;\n  @attr() domain;\n  @attr() recordName;\n  @attr() domainForCustomerDnsRecord;\n  @attr() domainForIntercomDnsRecord;\n  @attr() validRecordExists;\n  @attr() isUsedInAdminEmails;\n  @attr() isUsedInCustomEmails;\n  @attr() adminEmails;\n\n  get app_id() {\n    return this.appId;\n  }\n  get remainingAdminEmails() {\n    return Math.max((this.adminEmails?.length || 0) - 1, 0);\n  }\n\n  verify() {\n    return ajax({\n      url: `/ember/dkim_settings/${this.id}/verify`,\n      type: 'GET',\n      data: {\n        app_id: this.app_id,\n      },\n    }).then(settings => {\n      if (settings.valid_record_exists) {\n        this.validRecordExists = true;\n        return resolve();\n      } else {\n        return reject();\n      }\n    });\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  appId: attr(),\n  createdAt: attr(),\n  collectionsCreated: attr(),\n  validUrlsProcessed: attr(),\n  importCompletedAt: attr(),\n  importFailedAt: attr(),\n  importStartedAt: attr(),\n  invalidUrlsProcessed: attr(),\n  siteProvider: attr(),\n  givenSiteProvider: attr(),\n  totalUrlCount: attr(),\n  missingContentErrorCount: attr(),\n  siteUrl: attr(),\n  titleSelector: attr(),\n  bodySelector: attr(),\n  categoriesSelector: attr(),\n  entryType: attr(),\n  isCustomTemplateImport: attr(),\n  isBuildingCustomTemplate: attr(),\n  isDoneCreatingArticles: attr(),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { equal, notEmpty } from '@ember/object/computed';\n\nexport default Model.extend({\n  appId: attr('string'),\n  identifier: attr('string'),\n  value: attr(),\n  isTwitter: equal('identifier', 'twitter'),\n  isFacebook: equal('identifier', 'facebook'),\n  isAddress: equal('identifier', 'address'),\n  isLogo: equal('identifier', 'logo'),\n  hasValue: notEmpty('value'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { capitalize } from '@ember/string';\nimport { equal, match, or } from '@ember/object/computed';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport render from 'embercom/vendor/intercom/render';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\nimport moment from 'moment';\nimport { computed } from '@ember/object';\nimport ajax from 'embercom/lib/ajax';\nimport { emailTemplateTypes, premadeTemplates } from 'embercom/models/data/outbound/constants';\n\nconst LEGACY_TEMPLATE_NAMES = ['official'];\nconst INTERCOM_BUILT_TEMPLATE_NAMES = [\n  'personal',\n  'company',\n  'announcement',\n  'plain',\n  'html-block-template',\n].concat(LEGACY_TEMPLATE_NAMES);\n\nconst WIDGETS = [\n  {\n    name: 'logo',\n    template: Handlebars.templates['email-templates/partials/logo'],\n    label: 'logo',\n    requiredFields: 'logo',\n    editor: 'logo',\n  },\n  {\n    name: 'social',\n    template: Handlebars.templates['email-templates/partials/social'],\n    label: 'social accounts',\n    placeholderText: 'Add your social accounts',\n    requiredFields: 'facebook|twitter',\n    editor: 'social',\n  },\n  {\n    name: 'address',\n    template: Handlebars.templates['email-templates/partials/address'],\n    label: 'physical address',\n    requiredFields: 'address',\n    editor: 'text',\n  },\n];\n\nexport { WIDGETS };\n\nexport default Model.extend({\n  name: attr('string'),\n  appId: attr('string'),\n  template: attr('string'),\n\n  isAnnouncement: equal('id', 'announcement'),\n  isPersonal: equal('id', 'personal'),\n  isCompany: equal('id', 'company'),\n  isHtmlMode: equal('id', 'html-block-template'),\n  isPlain: equal('id', 'plain'),\n  isOfficial: equal('id', 'official'),\n  isCustom: match('id', /^\\d+$/),\n  isPlainOrCompanyOrAnnouncement: or('isPlain', 'isCompany', 'isAnnouncement'),\n  isPremade: or('isPlain', 'isCompany', 'isAnnouncement', 'isPersonal', 'isOfficial'),\n\n  outboundTemplateType: computed('id', function() {\n    if (this.isCustom) {\n      return emailTemplateTypes.custom;\n    }\n    if (this.isPremade) {\n      return emailTemplateTypes.premade;\n    }\n    if (this.isHtmlMode) {\n      return emailTemplateTypes.htmlMode;\n    }\n  }),\n\n  outboundTemplateId: computed('id', function() {\n    if (this.isCustom) {\n      return Number(this.id);\n    }\n    if (this.isPremade) {\n      return premadeTemplates[this.id];\n    }\n    if (this.isHtmlMode) {\n      return -1;\n    }\n  }),\n\n  getAssociatedMessages(app) {\n    return ajax({\n      type: 'GET',\n      url: '/ember/email_templates/messages_using_template',\n      data: {\n        id: this.id,\n        app_id: app.get('id'),\n      },\n    });\n  },\n\n  _notEqualWithStandarizedWhitespace(string1, string2) {\n    return string1.replace(/\\s+/g, ' ') !== string2.replace(/\\s+/g, ' ');\n  },\n\n  isDirtyIgnoringWhitespace: computed(\n    'hasDirtyAttributes',\n    'template',\n    'data.template',\n    function() {\n      if (this.hasDirtyAttributes) {\n        return (\n          this.changedAttributes.name ||\n          this._notEqualWithStandarizedWhitespace(this.template, this.data.template)\n        );\n      } else {\n        return false;\n      }\n    },\n  ),\n}).reopenClass({\n  widgets() {\n    return WIDGETS;\n  },\n  populateDefaultTemplates(app, translations) {\n    let templateData = {\n      app_name: app.get('name'),\n      date: moment().format(dateAndTimeFormats.emailTemplateRenderDateFormat),\n      app_base_color: app.get('base_color'),\n      show_powered_by: app.get('show_powered_by'),\n      powered_by_link: translations.get('poweredByLink'),\n      unsubscribe_link: translations.get('unsubscribeLink'),\n      dont_want_to_get_emails_like_these: translations.get('dontWantToGetEmailsLikeThese'),\n    };\n\n    let store = getEmberDataStore();\n    INTERCOM_BUILT_TEMPLATE_NAMES.forEach(templateName => {\n      if (!store.hasRecordForId('email-template', templateName)) {\n        store.pushPayload('email-template', {\n          'email-templates': [\n            {\n              id: templateName,\n              app_id: app.get('id'),\n              name: capitalize(templateName),\n              template: render([`email-templates/email-templates-${templateName}`], templateData)\n                .replace(/\\[\\[/g, '{{')\n                .replace(/\\]\\]/g, '}}'),\n            },\n          ],\n        });\n      }\n    });\n  },\n  isIntercomBuiltTemplate(id) {\n    return INTERCOM_BUILT_TEMPLATE_NAMES.includes(id);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  default_email_template: attr(),\n  email_templates: attr(),\n  email_template_data: attr(),\n});\n","import { getOwner } from '@ember/application';\nimport { inject as service } from '@ember/service';\nimport Model, { attr, hasMany } from '@ember-data/model';\nimport EmailValidations from 'embercom/validations/email';\nimport emailEditConfigGenerator from 'embercom/objects/content-editor/configuration-generators/email';\nimport { dependentKeyCompat } from '@ember/object/compat';\nexport default class EmailModel extends Model.extend(EmailValidations) {\n  @service store;\n\n  @attr() showUnsubscribeLink;\n  @hasMany('emails/localized-email-content', { inverse: 'email' }) localizedEmailContents;\n\n  @dependentKeyCompat\n  get contentHash() {\n    return this.localizedEmailContents.map(\n      localizedEmailContent => localizedEmailContent.contentHash,\n    );\n  }\n\n  @dependentKeyCompat\n  get hasUnsavedChanges() {\n    return (\n      this.hasDirtyAttributes ||\n      this.localizedEmailContents.any(localizedContent => localizedContent.hasUnsavedChanges)\n    );\n  }\n\n  get localizedContents() {\n    return this.localizedEmailContents;\n  }\n\n  editorConfig() {\n    let container = getOwner(this);\n    return emailEditConfigGenerator({ container });\n  }\n\n  rollbackAttributes() {\n    super.rollbackAttributes();\n    this.localizedEmailContents.forEach(content => content.rollbackAttributes());\n  }\n}\n","import Model, { attr, belongsTo } from '@ember-data/model';\nimport { dependentKeyCompat } from '@ember/object/compat';\nimport { inject as service } from '@ember/service';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport Admin from 'embercom/models/admin';\nimport {\n  defaultBlockWithModelKey,\n  emailTemplateTypes,\n  premadeTemplateIDMapping,\n  senderTypes,\n} from 'embercom/models/data/outbound/constants';\nimport LocalizedEmailContentValidations from 'embercom/validations/localized-email-content';\n\nexport default class LocalizedEmailContentModel extends Model.extend(\n  LocalizedEmailContentValidations,\n) {\n  @service store;\n  @belongsTo('emails/email', { inverse: 'localizedEmailContents' }) email;\n  @fragmentArray('common/blocks/block', {\n    polymorphic: true,\n    typeKey: 'modelKey',\n    defaultValue: () => [defaultBlockWithModelKey],\n  })\n  blocks;\n  @attr('string') locale;\n  @attr('string') assignToId;\n  @attr('number') assignToType;\n  @attr('number') emailTemplateType;\n  @attr('string') emailTemplateId;\n  @attr('string') subject;\n  @attr('number') senderType;\n  @attr('string') senderId;\n  @attr('number') replyToType;\n  @attr('string') replyToId;\n\n  get isUsingPremadeTemplate() {\n    return this.emailTemplateType === emailTemplateTypes.premade;\n  }\n\n  get isUsingCustomTemplate() {\n    return this.emailTemplateType === emailTemplateTypes.custom;\n  }\n\n  get isHtmlMode() {\n    return this.emailTemplateType === emailTemplateTypes.htmlMode;\n  }\n\n  get emailTemplate() {\n    if (this.isUsingPremadeTemplate) {\n      return this.store.peekRecord(\n        'email-template',\n        premadeTemplateIDMapping[this.emailTemplateId],\n      );\n    } else if (this.isUsingCustomTemplate) {\n      return this.store.findRecord('email-template', this.emailTemplateId);\n    } else if (this.isHtmlMode) {\n      return this.store.peekRecord('email-template', 'html-block-template');\n    } else {\n      throw new Error(`Unknown email template`);\n    }\n  }\n\n  @dependentKeyCompat\n  get hasUnsavedChanges() {\n    return this.hasDirtyAttributes || this.blocks.any(block => block.hasDirtyAttributes);\n  }\n\n  get isSenderAdmin() {\n    return this.senderType === senderTypes.admin;\n  }\n\n  get isSenderOwner() {\n    return this.senderType === senderTypes.owner;\n  }\n\n  get isSenderCustomEmail() {\n    return this.senderType === senderTypes.customEmailAddress;\n  }\n\n  get isSenderOwnerWithCustomEmailAddressFallback() {\n    return this.senderType === senderTypes.ownerWithCustomEmailAddressFallback;\n  }\n\n  get isReplyToCustomEmail() {\n    return this.replyToType === senderTypes.customEmailAddress;\n  }\n\n  get customFromAddress() {\n    if (this.isSenderCustomEmail || this.isSenderOwnerWithCustomEmailAddressFallback) {\n      return this.store.peekRecord('custom-email-address', this.senderId);\n    }\n  }\n\n  get isAssignToOwner() {\n    return this.assignToType === senderTypes.owner;\n  }\n\n  get contentHash() {\n    return this.serialize();\n  }\n\n  get sender() {\n    let sender = Admin.peekAndMaybeLoad(this.store, this.senderId);\n    if (sender?.isTeam) {\n      throw new Error(`Sending an Email from a team is not supported`);\n    }\n    return sender;\n  }\n\n  get assignTo() {\n    return Admin.peekAndMaybeLoad(this.store, this.assignToId);\n  }\n\n  get senderAvatar() {\n    if (this.isSenderAdmin) {\n      return this.sender.avatar;\n    }\n  }\n\n  get senderName() {\n    let senderName;\n    if (this.isSenderCustomEmail || this.isSenderOwnerWithCustomEmailAddressFallback) {\n      senderName = this.customFromAddress.displayAs;\n    } else if (this.isSenderAdmin || this.isSenderOwner) {\n      senderName = this.sender.displayNameAndEmail;\n    }\n    return senderName || 'Unknown';\n  }\n}\n","import EmberObject from '@ember/object';\nimport { isPresent } from '@ember/utils';\n\nexport default class TemplateInfo {\n  store = undefined;\n  emailTemplate = undefined;\n  senderName = undefined;\n  avatar = undefined;\n  showUnsubscribeLink = true;\n\n  constructor(inputs) {\n    let { emailTemplate, store, senderName, avatar, showUnsubscribeLink } = inputs;\n    this.emailTemplate = emailTemplate;\n    this.store = store;\n    this.senderName = senderName;\n    this.avatar = avatar;\n    this.showUnsubscribeLink = showUnsubscribeLink;\n  }\n\n  // The composer itself mutates the data that we pass to it. This method\n  // converts the object to the POJO that the composer expects.\n  get composerHash() {\n    return {\n      name: this.name,\n      html: this.html,\n      data: this.data,\n      emailTemplateData: this.emailTemplateData,\n    };\n  }\n\n  get data() {\n    return {\n      unsubscribe_link: this.unsubscribeLink,\n      unsubscribe_url: '',\n      footerVisibilityClass: this.footerVisibilityClass,\n      unsubscribeLinkClass: this.unsubscribeLinkClass,\n      admin_avatar: this.avatarURL,\n      hide_avatar: isPresent(this.avatarURL) ? '' : 'hidden',\n      admin_name_and_app: this.senderName,\n    };\n  }\n\n  get avatarURL() {\n    let url = this.avatar?.image_urls?.square_50;\n    if (isPresent(url)) {\n      return `<img src=\"${url}\" height=\"40\" width=\"40\" class=\"avatar\" alt=\"intercomavatar\">`;\n    } else {\n      return ``;\n    }\n  }\n\n  get name() {\n    return `${this.emailTemplate.id}-desktop`;\n  }\n\n  get html() {\n    return this.emailTemplate.template;\n  }\n\n  get unsubscribeLink() {\n    if (this.showUnsubscribeLink) {\n      return `<a href=\"#\" class=\"ic-unsubscribe-link\">Unsubscribe from our emails</a>`;\n    }\n  }\n\n  get unsubscribeLinkClass() {\n    return this.showUnsubscribeLink ? `` : 'hidden';\n  }\n\n  get unsubscribeUrl() {\n    return ``;\n  }\n\n  get footerVisibilityClass() {\n    return ``;\n  }\n\n  get emailTemplateData() {\n    return this.store.peekAll('email-template-data').map(model =>\n      EmberObject.create({\n        identifier: model.identifier,\n        value: model.value,\n      }),\n    );\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { hasMany } from '@ember-data/model';\nimport { alias } from '@ember/object/computed';\n\nexport default Model.extend({\n  archivedEvents: alias('archived_events'),\n  archived_events: hasMany('attribute'),\n});\n","import { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { findByProperty, templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport DateFormatter from 'embercom/vendor/intercom/date-formatter';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { getApp } from 'embercom/lib/container-lookup';\n\nexport default Fragment.extend({\n  name: attr(),\n  first: attr(),\n  last: attr(),\n  count: attr(),\n  visible_for_current_admin: attr(),\n  description: attr(),\n  identifier: templateString('user_event_summaries.${name}'),\n  isDescriptionModifiable: true,\n  isUserEvent: true,\n  icon: 'event',\n  settingsPath: 'apps.app.settings.events',\n  humanFriendlyName: computed('name', function() {\n    return this.name\n      .toLowerCase()\n      .replace(/(\\-|\\_)/g, ' ')\n      .replace(/^(\\w)/, (match, firstCharacter) => firstCharacter.toUpperCase());\n  }),\n  formattedFirstDate: computed('first', function() {\n    return DateFormatter.fromNow(this.first);\n  }),\n  formattedLastDate: computed('last', function() {\n    return DateFormatter.fromNow(this.last);\n  }),\n  expanded: false,\n  app: computed(function() {\n    return getApp();\n  }),\n  attribute: findByProperty('app.attributes', 'identifier', 'identifier'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\n\nexport default Model.extend({\n  name: attr(),\n  human_friendly_name: attr(),\n  created_at: attr(),\n  description: attr(),\n  selector: attr(),\n  sourceUrl: attr(),\n  eventTrigger: attr(),\n  urlRegex: attr(),\n  hasDynamicSegment: computed('urlRegex', function() {\n    return this.urlRegex.includes('(.*)');\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  name: attr(),\n  amount: attr(),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, hasMany } from '@ember-data/model';\n\nexport default Model.extend({\n  nextCursor: attr(),\n  pages: hasMany('facebook-page'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  name: attr('string'),\n  accessToken: attr('string'),\n  status: attr('string'),\n  subscribed: attr('boolean', { defaultValue: false }),\n  added: attr('boolean'),\n  about: attr('string'),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { computed } from '@ember/object';\n\nexport default Fragment.extend({\n  key: attr('string'),\n  name: attr('string'),\n  description: attr('string'),\n  displayDescription: computed('description', 'name', function() {\n    let description = this.description;\n    if (description && description.length > 0) {\n      return description;\n    }\n    return this.name;\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  app_id: attr(),\n  limit: attr('number'),\n  limited: attr('boolean'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  forwardingEmailAddress: attr('string'),\n  appId: attr(),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport moment from 'moment';\n\nexport default Model.extend({\n  name: attr('string'),\n  time_zone_name: attr('string', {\n    defaultValue: () => moment.tz.guess(),\n  }),\n  force_2fa: attr('boolean'),\n  should_gather_social_data: attr('boolean'),\n  companies_enabled: attr('boolean'),\n  uses_test_app: attr('boolean'),\n  customer_has_active_subscription: attr('boolean'),\n  authorized_sign_in_methods: attr('array'),\n  sso_domain_whitelist: attr('array'),\n  can_enable_enforce_sso: attr('boolean'),\n  parsed_allowed_domains: attr('array'),\n  teammateConversationAttachmentsEnabled: attr('boolean'),\n  userConversationAttachmentsEnabled: attr('boolean'),\n});\n","import Model, { attr, hasMany } from '@ember-data/model';\n\nexport default class GithubIntegration extends Model {\n  @attr() redirectUrl;\n  @attr() nextPage;\n  @attr('string') defaultGithubWebhookConfigId;\n  @hasMany('github-repository') repositories;\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo } from '@ember-data/model';\n\nexport default Model.extend({\n  description: attr(),\n  admin: attr('boolean'),\n  webhook: belongsTo('github-webhook'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo } from '@ember-data/model';\n\nexport default Model.extend({\n  fullName: attr('string'),\n  url: attr('string'),\n  repository: belongsTo('github-repository'),\n});\n","define(\"embercom/models/graph-editor/bounds\", [\"exports\", \"graph-editor/models/graph-editor/bounds\"], function (_exports, _bounds) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _bounds.default;\n    }\n  });\n});\n","define(\"embercom/models/graph-editor/connection-point\", [\"exports\", \"graph-editor/models/graph-editor/connection-point\"], function (_exports, _connectionPoint) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _connectionPoint.default;\n    }\n  });\n});\n","define(\"embercom/models/graph-editor/coordinates\", [\"exports\", \"graph-editor/models/graph-editor/coordinates\"], function (_exports, _coordinates) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _coordinates.default;\n    }\n  });\n});\n","define(\"embercom/models/graph-editor/edge\", [\"exports\", \"graph-editor/models/graph-editor/edge\"], function (_exports, _edge) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _edge.default;\n    }\n  });\n});\n","define(\"embercom/models/graph-editor/edge/generator\", [\"exports\", \"graph-editor/models/graph-editor/edge/generator\"], function (_exports, _generator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _generator.default;\n    }\n  });\n  Object.defineProperty(_exports, \"LineSegment\", {\n    enumerable: true,\n    get: function get() {\n      return _generator.LineSegment;\n    }\n  });\n  Object.defineProperty(_exports, \"Path\", {\n    enumerable: true,\n    get: function get() {\n      return _generator.Path;\n    }\n  });\n});\n","define(\"embercom/models/graph-editor/graph\", [\"exports\", \"graph-editor/models/graph-editor/graph\"], function (_exports, _graph) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _graph.default;\n    }\n  });\n});\n","define(\"embercom/models/graph-editor/hooks\", [\"exports\", \"graph-editor/models/graph-editor/hooks\"], function (_exports, _hooks) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _hooks.default;\n    }\n  });\n});\n","define(\"embercom/models/graph-editor/node\", [\"exports\", \"graph-editor/models/graph-editor/node\"], function (_exports, _node) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _node.default;\n    }\n  });\n});\n","define(\"embercom/models/graph-editor/offset\", [\"exports\", \"graph-editor/models/graph-editor/offset\"], function (_exports, _offset) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _offset.default;\n    }\n  });\n});\n","define(\"embercom/models/graph-editor/settings\", [\"exports\", \"graph-editor/models/graph-editor/settings\"], function (_exports, _settings) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _settings.default;\n    }\n  });\n});\n","define(\"embercom/models/graph-editor/state\", [\"exports\", \"graph-editor/models/graph-editor/state\"], function (_exports, _state) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _state.default;\n    }\n  });\n});\n","import { attr } from '@ember-data/model';\nimport { empty, and, or } from '@ember/object/computed';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { validator, buildValidations } from 'ember-cp-validations';\n\nconst Validations = buildValidations({\n  title: validator('presence', {\n    presence: true,\n    message: 'Footer links should have a title.',\n  }),\n  url: validator('presence', {\n    presence: true,\n    message: 'Footer links should have a url.',\n  }),\n});\n\nexport default Fragment.extend(Validations, {\n  linkId: attr('number'),\n  title: attr('string'),\n  url: attr('string'),\n  sortOrder: attr('number'),\n\n  hasNoTitle: empty('title'),\n  hasNoUrl: empty('url'),\n  hasNoContent: and('hasNoTitle', 'hasNoUrl'),\n  isInvalid: or('hasNoTitle', 'hasNoUrl'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { lt, not, filterBy, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport {\n  findByProperty,\n  isAny,\n  rejectByProperty,\n  ternary,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport parseUrl from 'embercom/lib/url-parser';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport { validator, buildValidations } from 'ember-cp-validations';\n\nconst Validations = buildValidations({\n  externalLoginName: validator('presence', {\n    presence: true,\n    message: 'Please enter the Title for your login link',\n    disabled: not('model.segmentedContentTurnedOn'),\n  }),\n  externalLoginUrl: validator('presence', {\n    presence: true,\n    message: 'Please enter the URL for your login link',\n    disabled: not('model.segmentedContentTurnedOn'),\n  }),\n  identifier: validator('presence', {\n    presence: true,\n    message: 'Your URL cannot be empty.',\n  }),\n  footerLinks: validator('has-many'),\n  'selectedLocalesWithoutTitle.length': validator('number', {\n    message: 'Make sure that you fill in the title for all languages.',\n    lte: 0,\n  }),\n  'selectedLocalesWithHeadlineTooLong.length': validator('number', {\n    message: 'Make sure that the headline is under 160 characters for every language.',\n    lte: 0,\n  }),\n});\n\nexport default Model.extend(Validations, {\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  name: readOnly('defaultLocale.title'),\n  headline: readOnly('defaultLocale.headline'),\n  customDomain: attr('string'),\n  customDomainAndPathPrefix: attr('string'),\n  themeColor: attr('string'),\n  identifier: attr('string'),\n  headerUrl: attr('string'),\n  faviconUrl: attr('string'),\n  logoUrl: attr('string'),\n  socialUrl: attr('string'),\n  url: attr('string'),\n  turnedOn: attr('boolean'),\n  supportedLocales: fragmentArray('articles/site/supported-locale'),\n  locale: attr('string'),\n  homeUrl: attr('string'),\n  googleAnalyticsTrackingId: attr('string'),\n  externalLoginUrl: attr('string'),\n  externalLoginName: attr('string'),\n  segmentedContentTurnedOn: attr('boolean'),\n  multilingualTurnedOn: attr('boolean'),\n  zendeskImporterClientId: attr('string'),\n  zendeskImporterRedirectUri: attr('string'),\n  disableBranding: attr('boolean'),\n\n  facebookHandle: attr('string'),\n  twitterHandle: attr('string'),\n  linkedinHandle: attr('string'),\n\n  footerLinks: fragmentArray('help-center-site-footer-link'),\n  hasInvalidFooterLinks: isAny('footerLinks', 'isInvalid'),\n  canAddFooterLinks: lt('footerLinks.length', 8),\n\n  selectedLocales: filterBy('supportedLocales', 'isSelected', true),\n  selectedLocalesWithoutDefault: rejectByProperty('selectedLocales', 'localeId', 'locale'),\n  defaultLocale: findByProperty('selectedLocales', 'localeId', 'locale'),\n  selectedLocalesOrdered: computed('selectedLocales.[]', 'locale', function() {\n    let withoutDefault = this.selectedLocalesWithoutDefault;\n    return [this.defaultLocale].concat(withoutDefault);\n  }),\n  selectedLocalesWithoutTitle: filterBy('selectedLocales', 'invalidTitle', true),\n  selectedLocalesWithHeadlineTooLong: filterBy('selectedLocales', 'invalidHeadline', true),\n\n  userFriendlyUrl: computed('url', function() {\n    let { hostname, pathname, search } = parseUrl(this.url);\n    if (pathname === '/') {\n      pathname = '';\n    }\n    return hostname + pathname + search;\n  }),\n  turnedOff: not('turnedOn'),\n  onOffStatus: ternary('turnedOn', 'on', 'off'),\n\n  hasMultipleLocales: computed.gt('selectedLocales.length', 1),\n\n  addFooterLink() {\n    let emptyFooterLink = this.store.createFragment('help-center-site-footer-link');\n    this.footerLinks.pushObject(emptyFooterLink);\n    this._reOrderFooterLinks();\n    return emptyFooterLink;\n  },\n\n  removeFooterLink(link) {\n    this.footerLinks.removeObject(link);\n    this._reOrderFooterLinks();\n  },\n\n  _reOrderFooterLinks() {\n    this.footerLinks.forEach((link, index) => {\n      link.set('sortOrder', index + 1);\n    });\n  },\n\n  supportsLocale(locale) {\n    return this.selectedLocales.any(supportedLocale => supportedLocale.localeId === locale);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  name: attr(),\n});\n","import Model, { attr } from '@ember-data/model';\n\nexport default class IdentityVerificationSettingsModel extends Model {\n  @attr() enabledByDefault;\n  @attr() defaultStrictness;\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport EmberObject, { computed } from '@ember/object';\nimport pluralise from 'embercom/lib/inflector';\nimport { readOnly } from '@ember/object/computed';\nimport B64FilterParamEncoder from 'embercom/vendor/intercom/b64-filter-param-encoder';\n\nexport default Model.extend({\n  appId: attr(),\n  completedImportAt: attr(),\n  createdAt: attr(),\n  manualTagName: attr(),\n  manualTagId: attr(),\n  importedRowFailureCount: attr(),\n  importSummary: attr(),\n  importStatus: attr(),\n\n  errorReport: readOnly('importSummary.error_report'),\n  pluralisedError: computed('importedRowFailureCount', function() {\n    return pluralise('error', this.importedRowFailureCount);\n  }),\n  failedRecords: computed('errorReport', function() {\n    return this.errorReport.reduce((memo, record) => {\n      let failedRecord = EmberObject.create(record);\n      let errorMessage = failedRecord.get('error_message');\n\n      switch (errorMessage) {\n        case 'exceeds_max_length':\n          this._setFailedRecord(\n            failedRecord,\n            'Max length exceeded',\n            'Fields are limited to a maximum of 255 characters',\n          );\n          break;\n        case 'multiple_matches':\n          this._setFailedRecord(\n            failedRecord,\n            'Multiple records matched',\n            'Email address matched multiple records in Intercom. Include user IDs in your CSV or delete one of the matching user records in Intercom',\n          );\n          break;\n        case 'duplicate_csv_rows_detected':\n          this._setFailedRecord(\n            failedRecord,\n            'Duplicate rows in csv detected',\n            'We found other rows in the csv you imported that matched with this one. Make sure each row in your csv is a unique.',\n          );\n          break;\n        case 'invalid_email':\n          this._setFailedRecord(\n            failedRecord,\n            'Invalid email',\n            'Invalid email address: make sure you have the @ symbol',\n          );\n          break;\n        case 'missing_email':\n          this._setFailedRecord(\n            failedRecord,\n            'Missing email',\n            'There is no email value for this row: make sure you include one.',\n          );\n          break;\n        case 'mismatched_data_type':\n          this._setFailedRecord(\n            failedRecord,\n            'Mismatched data type',\n            'Mismatched data type: could not convert the value provided',\n          );\n          break;\n        case 'invalid_custom_data_number':\n          this._setFailedRecord(\n            failedRecord,\n            'Invalid custom data number',\n            'Number provided exceeds allowed value (minimum of -2147483647 and maximum of 2147483648). Try using a string as a data type, or reducing the size of the number.',\n          );\n          break;\n        case 'custom_attributes_limit_exceeded':\n          this._setFailedRecord(\n            failedRecord,\n            'Exceeded maximum custom data attributes',\n            'You have exceeded the maximum number of allowed custom data attributes.',\n          );\n          break;\n        case 'not_restorable':\n          this._setFailedRecord(\n            failedRecord,\n            'Blocked user',\n            'Unable to restore a previously blocked user.',\n          );\n          break;\n        case 'unrestorable_duplicate_user':\n          this._setFailedRecord(\n            failedRecord,\n            'Duplicate unrestorable user',\n            'User already exists but has different unique identifiers than in CSV. Ensure that this row has matching user_id and email values to the already existing user.',\n          );\n          break;\n        case 'user_not_found':\n        case 'not_unique_error':\n          this._setFailedRecord(\n            failedRecord,\n            'Lead / User Mismatch',\n            'A lead was found with same user_id as the user that was being imported, so we could not import them.',\n          );\n          break;\n        default:\n          if (errorMessage.toLowerCase().indexOf('phone') >= 0) {\n            this._setFailedRecord(failedRecord, 'Invalid phone number', errorMessage);\n          } else {\n            this._setFailedRecord(failedRecord, errorMessage, '');\n          }\n      }\n\n      memo.push(failedRecord);\n      return memo;\n    }, []);\n  }),\n\n  _setFailedRecord(failedRecord, displayError, tooltipError) {\n    failedRecord.set('display_error_message', displayError);\n    failedRecord.set('tooltip_error_message', tooltipError);\n  },\n  isLeads: false,\n  userListUrl: computed('appId', 'manualTagId', 'isLeads', function() {\n    if (!this.appId || !this.manualTagId) {\n      return null;\n    }\n    let dummyUser = {\n      isCompany: false,\n      is_anonymous: this.isLeads,\n      app_id: this.appId,\n    };\n\n    let predicate = {\n      comparison: 'eq',\n      type: 'manual_tag',\n      attribute: 'manual_tag_ids',\n      value: this.manualTagId.toString(),\n    };\n    return B64FilterParamEncoder.filterUrlFromPredicates(dummyUser, {\n      predicates: [predicate],\n    });\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  app_id: attr(),\n  to: attr(),\n  reply_to: attr(),\n  from: attr(),\n  cc: attr(),\n  bcc: attr(),\n  subject: attr(),\n  date: attr(),\n  plain_text: attr(),\n  html: attr(),\n});\n","import Model, { attr } from '@ember-data/model';\nimport { fragment } from 'ember-data-model-fragments/attributes';\nimport intermoji from '@intercom/intermoji';\n\nexport default class InboxViewModel extends Model {\n  @attr('string') name;\n  @fragment('predicates/predicate-group') predicateGroup;\n  @attr('string') avatar_emoji;\n  @attr('number') other_admins_with_view_visible_count;\n\n  get analyticsData() {\n    return {\n      object: 'inbox-view',\n      id: this.id,\n    };\n  }\n\n  get emojiUri() {\n    return intermoji.twemojiSVGUri(this.avatar_emoji);\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-side-effects */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { and, empty, equal, not, notEmpty, or, readOnly, reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { decamelize, w } from '@ember/string';\nimport { isEmpty } from '@ember/utils';\nimport { task, timeout } from 'ember-concurrency';\nimport {\n  equalToProperty,\n  isAny,\n  ternary,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport ENV from 'embercom/config/environment';\nimport ajax from 'embercom/lib/ajax';\nimport ConversationList from 'embercom/lib/inbox/conversation-list';\nimport findConversationDiff from 'embercom/lib/inbox/find-conversation-diff';\nimport Admin from 'embercom/models/admin';\nimport { CONVERSATION_STATES } from 'embercom/lib/inbox/constants';\nimport { getOwner } from '@ember/application';\nimport { captureException } from 'embercom/lib/sentry';\nimport storage from 'embercom/vendor/intercom/storage';\nimport { cancel, later, scheduleOnce } from '@ember/runloop';\n\nexport default Model.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  inboxService: service('inboxService'),\n  notificationsService: service(),\n  store: service(),\n\n  identifier: attr(),\n  name: attr(),\n  app_id: attr(),\n  open_count: attr(),\n  snoozed_count: attr(),\n  closed_count: attr(),\n  unread_count: attr(),\n  admin_id: attr(),\n  admin: computed('admin_id', function() {\n    if (this.admin_id) {\n      return Admin.peekAndMaybeLoad(this.store, this.admin_id);\n    }\n    return null;\n  }),\n\n  conversationList: null,\n  sortDirection: computed('_status', {\n    get() {\n      if (this._status === 'opened') {\n        this._sortDirection = storage.get(this._sortLocalStorageKey('sortDirection'));\n      }\n      if (!this._sortDirection) {\n        this._sortDirection = 'desc';\n      }\n      if (this.conversationList) {\n        this.conversationList.sortDirection = this._sortDirection;\n      }\n      return this._sortDirection;\n    },\n    set(key, value) {\n      this._sortDirection = value;\n      this.conversationList.sortDirection = value;\n      if (this._status === 'opened') {\n        storage.set(this._sortLocalStorageKey('sortDirection'), value);\n      }\n      return value;\n    },\n  }),\n  defaultSortKey: ternary(\n    'isMentionsInbox',\n    'last_part_where_current_admin_is_mentioned.created_at',\n    'sortingUpdatedAt',\n  ),\n  sortKey: computed('_status', {\n    get() {\n      if (this._status === 'opened') {\n        this._sortKey = storage.get(this._sortLocalStorageKey('sortKey'));\n      }\n      if (!this._sortKey) {\n        this._sortKey = this.defaultSortKey;\n      }\n      if (this.conversationList) {\n        this.conversationList.sortKey = this._sortKey;\n      }\n      return this._sortKey;\n    },\n    set(key, value) {\n      this._sortKey = value;\n      this.conversationList.sortKey = value;\n      if (this._status === 'opened') {\n        storage.set(this._sortLocalStorageKey('sortKey'), value);\n      }\n      return value;\n    },\n  }),\n  _sortLocalStorageKey(property) {\n    return `${this.app.get('currentAdmin.id')}-${this.id}-opened-${property}`;\n  },\n\n  conversations: readOnly('conversationList.items'),\n  hasNoConversations: empty('conversations'),\n  hasLoadedAll: equalToProperty('conversations.length', 'count'),\n  hasPrioritisedConversations: isAny('conversations', 'isPrioritised', true),\n  hasNoPrioritisedConversations: not('hasPrioritisedConversations'),\n  hasActiveTimeTarget: isAny('conversations', 'hasActiveTimeTarget', true),\n  hasNoActiveTimeTarget: not('hasActiveTimeTarget'),\n\n  isEmpty: and('hasNoConversations', 'hasNotErrored', 'fetchPageTask.isIdle'),\n  hasNotErrored: not('fetchPageTask.last.error'),\n\n  assignee_identifier: or('admin.id', 'id'),\n  avatar: reads('admin.avatar'),\n  avatarData: reads('admin.avatarData'),\n\n  isTeamInbox: reads('admin.is_team'),\n  isBot: reads('admin.is_bot'),\n  isMeInbox: equalToProperty('id', 'app.currentAdmin.id'),\n  isUnassignedInbox: equal('identifier', 'unassigned'),\n  isMentionsInbox: equal('id', 'mentions'),\n  isAllInbox: equal('id', 'all'),\n  isInboxView: computed('id', function() {\n    return this.id.startsWith('view:');\n  }),\n  inboxViewId: computed('id', function() {\n    return this.isInboxView ? this.id.slice(5) : null;\n  }),\n  isPredefinedInbox: or('isUnassignedInbox', 'isAllInbox', 'isMentionsInbox'),\n  isNotAdminInbox: or('isTeamInbox', 'isPredefinedInbox', 'isBot', 'admin.isBot', 'isInboxView'),\n  isAdminInbox: not('isNotAdminInbox'),\n  hasTeamMembers: notEmpty('admin.member_ids'),\n  canBeBackgrounded: not('isAllInbox'),\n\n  countIsUndefined: equal('count', undefined),\n  determinantCount: ternaryToProperty('isMentionsInbox', 'unread_count', 'open_count'),\n  determinantCountIsUndefined: equal('determinantCount', undefined),\n  determinantCountIsZero: equal('determinantCount', 0),\n  hideOpenCountInNavs: or('determinantCountIsUndefined', 'app.inboxIsNotActive'),\n  queryParams: {},\n\n  analyticsData: computed('id', function() {\n    return {\n      object: 'inbox',\n      id: this.id,\n    };\n  }),\n\n  _status: 'opened',\n  status: computed({\n    get() {\n      return this._status;\n    },\n    set(key, value) {\n      this.set('_status', value);\n      // waiting since sort order is only available on open inbox. Next breach time is available in all but closed inbox.\n      if (\n        (this.isSortingByWaitTime && value !== 'opened') ||\n        (this.isSortingByNextBreachTime && value === 'closed')\n      ) {\n        this.sortBy(this.defaultSortKey, 'desc');\n      }\n\n      return value;\n    },\n  }),\n\n  state: computed('status', function() {\n    let status = this.status;\n    if (status === 'opened') {\n      return 'open';\n    }\n    return status;\n  }),\n\n  isSortingByWaitTime: equal('sortKey', 'waitingSince'),\n  isSortingByNextBreachTime: equal('sortKey', 'nextBreachTime'),\n  isSortedByPriorityNewest: equal('sortKey', 'priorityNewest'),\n\n  countKey: computed('status', function() {\n    switch (this.status) {\n      case 'unread':\n        return 'unread_count';\n      case 'opened':\n        return 'open_count';\n      case 'snoozed':\n        return 'snoozed_count';\n\n      case 'closed':\n        return 'closed_count';\n\n      case 'read':\n        return 'read_count';\n\n      default:\n        return 'open_count';\n    }\n  }),\n\n  init() {\n    this._super(...arguments);\n    if (this.isMentionsInbox) {\n      this.set('status', undefined);\n    }\n    this.conversationLoader = getOwner(this)\n      .factoryFor('customClass:inbox/conversationLoader')\n      .create({ inbox: this });\n\n    this.realtimeUpdater = getOwner(this)\n      .factoryFor('customClass:inbox/realtimeinboxupdater')\n      .create({ inbox: this });\n\n    this.set('conversationList', this._createConversationListModel());\n    if (!this.conversationList.isValidSort()) {\n      this.sortBy(this.defaultSortKey, 'desc');\n    }\n  },\n\n  enableRealtime() {\n    this.realtimeUpdater.enable();\n  },\n\n  willDestroy() {\n    this.realtimeUpdater.destroy();\n    this._cancelScheduledSync();\n  },\n\n  disableRealtime() {\n    this.realtimeUpdater.disable();\n  },\n\n  sortBy(sortKey, sortDirection) {\n    this.setProperties({ sortKey, sortDirection });\n    if (!this.hasLoadedAll || this.isMentionsInbox) {\n      this.reload();\n    } else {\n      this.conversationList.sort();\n    }\n  },\n\n  reload() {\n    this.cancelAllTasks();\n    this.clearConversations();\n\n    if (this.inboxService.inbox === this) {\n      this.inboxService.transitionToRoot();\n    }\n    this.fetchPageTask.perform(true);\n  },\n\n  setStatus(newStatus) {\n    let oldStatus = this.status;\n    if (oldStatus !== newStatus) {\n      // Set count to undefined to ensure we attempt to fetch a page\n      this.setProperties({\n        status: newStatus,\n        count: undefined,\n      });\n      this.reload();\n    }\n  },\n\n  _createConversationListModel() {\n    return new ConversationList({\n      applySorting: true,\n      sortKey: this.sortKey,\n      sortDirection: this.sortDirection,\n    });\n  },\n\n  sync: task(function*(additionalConversationsCount, fromUserInteraction) {\n    let convosDiff = null;\n    let remoteConvos = yield this._fetchConvoList(\n      additionalConversationsCount,\n      fromUserInteraction,\n    );\n\n    // This can happen under normal operation if an intercom admin is impersonating another user but has `restrict_data_access_enabled`\n    if (remoteConvos?.sync_data) {\n      convosDiff = findConversationDiff(\n        this.get('conversationList.unTransitionedConversations'),\n        remoteConvos.sync_data,\n      );\n    }\n\n    if (ENV.environment !== 'test') {\n      this.realtimeUpdater.schedulePoll();\n    }\n\n    this._setScheduledSync(remoteConvos?.valid_for);\n\n    if (convosDiff?.allDifferingIds.length > 0) {\n      try {\n        yield this.conversationLoader.loadConversations({\n          app_id: this.app_id,\n          from_user_interaction: fromUserInteraction,\n          ids: convosDiff.allDifferingIds,\n          include_total_count: false,\n        });\n\n        if (!this.isInboxView) {\n          convosDiff.allDifferingIds.forEach(id => {\n            let convo = this.store.peekRecord('conversation', id);\n            this.addConversations([convo]);\n            this.conversationWasUpdated(convo);\n          });\n        }\n\n        if (this.isInboxView) {\n          convosDiff.createdOrUpdatedIds.forEach(id => {\n            let convo = this.store.peekRecord('conversation', id);\n            this.conversationList.markConversationAsNotTransitioned(convo);\n            this.addConversations([convo]);\n            this.conversationWasUpdated(convo);\n          });\n\n          convosDiff.removedIds.forEach(id => {\n            let convo = this.store.peekRecord('conversation', id);\n            this.conversationList.markConversationAsTransitioned(convo);\n\n            let isCurrentConversation = convo === this.inboxService.currentConversation;\n            if (!isCurrentConversation) {\n              this.removeConversationTask.perform(convo);\n            }\n          });\n        }\n      } catch (e) {\n        if (this.inboxService.isActive) {\n          this.reload();\n        }\n        captureException(e, {\n          fingerprint: ['inbox-model', 'sync'],\n        });\n      }\n    }\n    this._updateInboxCount(remoteConvos.count);\n  }).enqueue(),\n\n  count: computed('status', 'open_count', 'closed_count', 'snoozed_count', {\n    get() {\n      return this.get(this.countKey);\n    },\n    set(key, value) {\n      this.set(this.countKey, value);\n      return value;\n    },\n  }),\n\n  firstName: computed('name', function() {\n    if (this.isTeamInbox) {\n      return this.name;\n    }\n    return w(this.name)[0];\n  }),\n\n  adminBelongsToTeam(admin) {\n    if (this.hasTeamMembers) {\n      return this.get('admin.member_ids').includes(parseInt(admin.get('id'), 10));\n    }\n    return false;\n  },\n\n  currentAdminBelongsToTeam() {\n    return this.adminBelongsToTeam(this.app.currentAdmin);\n  },\n\n  assigneeId: computed('assignee_identifier', function() {\n    let currentAssignee = this.assignee_identifier;\n    if (this.isMentionsInbox) {\n      return 'mentions';\n    } else if (currentAssignee === 'all') {\n      return null;\n    } else if (currentAssignee === 'unassigned') {\n      return 0;\n    } else if (this.isInboxView) {\n      return currentAssignee;\n    } else {\n      return parseInt(currentAssignee, 10);\n    }\n  }),\n\n  _fetchConvoList(additionalConversationsCount = 0, fromUserInteraction = false) {\n    let params = {\n      app_id: this.app_id,\n      from_user_interaction: fromUserInteraction,\n      state: this.state,\n      sort_key: decamelize(this.sortKey),\n      sort_direction: decamelize(this.sortDirection),\n      count:\n        Math.max(this.get('conversationList.length'), ENV.APP.conversations_per_page) +\n        additionalConversationsCount,\n    };\n    let assigneeId = this.assigneeId;\n    if (assigneeId !== null) {\n      params.assignee_id = assigneeId;\n    }\n\n    if (this.isInboxView) {\n      return ajax({\n        url: '/ember/conversations/for_inbox_view',\n        type: 'GET',\n        data: params,\n      });\n    } else {\n      return ajax({\n        url: '/ember/conversations/for_inbox',\n        type: 'GET',\n        data: params,\n      });\n    }\n  },\n\n  removeConversationTask: task(function*(conversation) {\n    let isConversationLeavingThisInbox =\n      this.conversationList.includes(conversation) && !this.isConversationInContext(conversation);\n\n    if (!isConversationLeavingThisInbox) {\n      return;\n    }\n\n    yield timeout(ENV.APP.auto_transition_timeout);\n    // Since we scheduled this task something else might have updated and untransitioned this conversation\n    if (!this.conversationList.transitionedConversations.includes(conversation)) {\n      return;\n    }\n\n    let isCurrentConversation = conversation === this.inboxService.currentConversation;\n    let isCurrentInbox = this === this.inboxService.inbox;\n    let transitionedToNextUntransitioned;\n    if (isCurrentConversation && isCurrentInbox) {\n      transitionedToNextUntransitioned = this._attemptTranstionToNextUntransitionedConversation(\n        conversation,\n      );\n    }\n    this.removeConversations([conversation]);\n\n    if (this.count > 0) {\n      this.decrementProperty('count');\n    }\n\n    if (isCurrentConversation && isCurrentInbox && !transitionedToNextUntransitioned) {\n      this.inboxService.transitionToRoot();\n    }\n  }),\n\n  // Fetch a page of items\n  fetchPageTask: task(function*(force) {\n    if (!force && this.hasLoadedAll) {\n      return;\n    }\n    if (isEmpty(this.conversations)) {\n      let params = this.conversationSearchParams;\n      params.from_user_interaction = true;\n      let results = yield this.conversationLoader.doSearch(params);\n      this.addConversations(results.conversations);\n      this.set('count', results.totalCount);\n      this._setScheduledSync(results.validFor);\n    } else {\n      yield this.sync.perform(ENV.APP.conversations_per_page, true);\n    }\n    this.inboxService.updateFavicon();\n    if (this.inboxService.inbox === this) {\n      this.inboxService.autoTransitionIfNoCurrentConversation();\n    }\n  }).drop(),\n\n  _setScheduledSync(timeToNextSync) {\n    if (this.isInboxView && timeToNextSync) {\n      this._cancelScheduledSync();\n      if (!this.isDestroying) {\n        this.set(\n          'scheduledSync',\n          later(null, () => this.sync.perform(undefined, false), timeToNextSync * 1000),\n        );\n      }\n    }\n  },\n\n  _cancelScheduledSync() {\n    cancel(this.scheduledSync);\n  },\n\n  nearestUntransitionedConversation(conversation) {\n    return this.conversationList.nearestUntransitionedConversation(conversation);\n  },\n\n  addConversations(items, force = false) {\n    this.conversationList.addItems(items, force);\n    this.realtimeUpdater.trackUpdatesToConversations(items);\n  },\n\n  forceAddConversations(items) {\n    this.addConversations(items, true);\n  },\n\n  removeConversations(items) {\n    this.conversationList.removeItems(items);\n    this.realtimeUpdater.stopTrackingUpdatesToConversations(items);\n  },\n\n  clearConversations() {\n    this.realtimeUpdater.stopTrackingUpdatesToConversations(this.get('conversationList.items'));\n    this.conversationList.clear();\n  },\n\n  clearTransitionedConversations() {\n    this.removeConversations(this.conversationList.transitionedConversations);\n  },\n\n  clearTransitionedConversationsExcluding(conversation) {\n    this.removeConversations(\n      this.conversationList.transitionedConversationsExcluding(conversation),\n    );\n  },\n\n  findConversationById(id) {\n    return this.conversationList.findById(id);\n  },\n\n  cancelAllTasks() {\n    this.fetchPageTask.cancelAll();\n    this.sync.cancelAll();\n    this.removeConversationTask.cancelAll();\n  },\n\n  conversationWasUpdated(conversation, removeWhenOutOfContextEvenIfCurrent = false) {\n    if (this.isMentionsInbox) {\n      this.conversationList.sort();\n      return;\n    }\n\n    conversation.set('userIsTyping', false);\n\n    if (!this.isInboxView) {\n      let isInList = this.conversationList.includes(conversation);\n      let isInContext = this.isConversationInContext(conversation);\n      let isCurrentConversation = conversation === this.inboxService.currentConversation;\n\n      if (isInList && !isInContext) {\n        if (this._shouldTransitionConversation(conversation)) {\n          this.conversationList.markConversationAsTransitioned(conversation);\n        }\n        if (removeWhenOutOfContextEvenIfCurrent || !isCurrentConversation) {\n          this.removeConversationTask.perform(conversation);\n        }\n      } else if (isInContext) {\n        this.conversationList.markConversationAsNotTransitioned(conversation);\n        if (!isInList) {\n          this.forceAddConversations([conversation]);\n        }\n      }\n    }\n    scheduleOnce('afterRender', this.conversationList, this.conversationList.sort);\n  },\n\n  isConversationInContext(conversation) {\n    return (\n      this._isConversationStatusInContext(conversation) &&\n      this._isConversationAssigneeInContext(conversation)\n    );\n  },\n\n  _isConversationStatusInContext(conversation) {\n    if (this.status === 'opened') {\n      return conversation.get('isOpen');\n    } else if (this.status === 'snoozed') {\n      return conversation.get('isSnoozed');\n    } else {\n      // See https://github.com/intercom/intercom/issues/28384 for more details\n      if (conversation.get('lastPart.isExplicitAssignment')) {\n        return true;\n      }\n      return !conversation.get('isOpen');\n    }\n  },\n\n  _isConversationAssigneeInContext(conversation) {\n    let assigneeInbox = this.assignee_identifier;\n    let assigneeIdentifier = conversation.get('assigneeIdentifier');\n    if (assigneeInbox === 'all') {\n      return true;\n    }\n    return assigneeInbox === assigneeIdentifier;\n  },\n\n  _shouldTransitionConversation(conversation) {\n    let inboxStatus = CONVERSATION_STATES[this.status];\n    let conversationState = conversation.get('state');\n    let inboxAssignee = this.assigneeId;\n    let conversationAssignee = Number(conversation.get('assignee.id') || 0);\n    let isAllInbox = this.isAllInbox;\n    return (\n      inboxStatus !== conversationState || (!isAllInbox && inboxAssignee !== conversationAssignee)\n    );\n  },\n\n  _updateInboxCount(count) {\n    this.set('count', count);\n  },\n\n  _attemptTranstionToNextUntransitionedConversation(conversation) {\n    let nextUntransitionedConversation;\n    try {\n      nextUntransitionedConversation = this.nearestUntransitionedConversation(conversation);\n    } catch (e) {\n      captureException(e, {\n        fingerprint: ['respond-service', 'nearestUntransitionedConversation'],\n      });\n    }\n\n    if (nextUntransitionedConversation && nextUntransitionedConversation !== conversation) {\n      this.inboxService.transitionToConversation(nextUntransitionedConversation);\n      return true;\n    }\n    return false;\n  },\n\n  conversationSearchParams: computed(\n    'app_id',\n    'assignee_identifier',\n    'sortKey',\n    'sortDirection',\n    'status',\n    function() {\n      let params = {\n        app_id: this.app_id,\n        assignee_identifier: this.assignee_identifier,\n        sort_key: decamelize(this.sortKey),\n        sort_direction: decamelize(this.sortDirection),\n        per_page: ENV.APP.conversations_per_page,\n        include_total_count: true,\n      };\n      let status = this.status;\n      if (status) {\n        params.status = status;\n      }\n      return params;\n    },\n  ),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { hasMany, attr } from '@ember-data/model';\n\nexport default Model.extend({\n  sections: hasMany('inbox/admin-app-sidebar-section', { async: false }),\n  notification: attr(),\n\n  addSection(sectionToAdd) {\n    this.sections.unshiftObject(sectionToAdd);\n  },\n\n  removeSection(sectionToRemove) {\n    this.sections.removeObject(sectionToRemove);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { belongsTo, attr } from '@ember-data/model';\nimport { equal, notEmpty } from '@ember/object/computed';\nimport { equalsAny, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Model.extend({\n  parentSectionList: belongsTo('inbox/admin-app-sidebar-section-list'),\n  sidebarViewId: attr('number'),\n  inboxAppId: attr('number'),\n  intercomModuleIdentifier: attr('string'),\n  name: attr('string'),\n  notifiable: attr('boolean'),\n  iconUrl: attr('string'),\n\n  isIntercomModule: notEmpty('intercomModuleIdentifier'),\n  isApp: notEmpty('inboxAppId'),\n  isUserModule: equalsAny('intercomModuleIdentifier', [\n    'campaigns',\n    'events',\n    'external-profiles',\n    'latest-conversations',\n    'notes',\n    'qualification',\n    'segments',\n    'tags',\n    'user-details',\n    'recent-events',\n    'recent-page-views',\n  ]),\n  isCompanyModule: equalsAny('intercomModuleIdentifier', [\n    'company-details',\n    'company-notes',\n    'company-tags',\n    'company-segments',\n  ]),\n  isConversationModule: equalsAny('intercomModuleIdentifier', ['similar-conversations']),\n  isShopify: equal('intercomModuleIdentifier', 'shopify2'),\n\n  uniqueIdentifier: ternaryToProperty('isIntercomModule', 'intercomModuleIdentifier', 'inboxAppId'),\n\n  appCardIdentifier: 'app-card',\n  componentIdentifier: ternaryToProperty(\n    'isIntercomModule',\n    'intercomModuleIdentifier',\n    'appCardIdentifier',\n  ),\n});\n","import { and, or, equal } from '@ember/object/computed';\nimport Rule from 'embercom/models/inbox/conversation-rules/rule';\n\nfunction roundRobinChanged(changedAttributes) {\n  return (\n    typeof changedAttributes['actionData'] === 'object' &&\n    (changedAttributes['actionData'][0]['round_robin'] !== undefined ||\n      changedAttributes['actionData'][1]['round_robin'] !== undefined)\n  );\n}\n\nexport default Rule.extend({\n  entityString: 'assignment_rule',\n  subRouteString: 'assignments',\n  allowedRuleActions: ['assign-conversation'],\n\n  isInboxAssignmentRule: equal('type', 'inbox-assignment'),\n  isDefaultInboxAssignmentRule: equal('type', 'default-inbox-assignment'),\n  isOwnerAssignmentRule: equal('firstAction.type', 'assign-conversation-to-owner'),\n  isAssignmentRule: or(\n    'isInboxAssignmentRule',\n    'isDefaultInboxAssignmentRule',\n    'isOwnerAssignmentRule',\n  ),\n  isTeamAssignmentRule: and('isAssignmentRule', 'firstAction.assignee.isTeam'),\n  isRoundRobinAssignmentRule: and(\n    'isTeamAssignmentRule',\n    'firstAction.data.actionData.round_robin',\n  ),\n  _buildRoundRobinMetaData(changedAttributes) {\n    if (roundRobinChanged(changedAttributes)) {\n      return {\n        round_robin_from: changedAttributes['actionData'][0]['round_robin'],\n        round_robin_to: changedAttributes['actionData'][1]['round_robin'],\n      };\n    } else {\n      let assignByRoundRobinRawData = this.get('firstAction.actionData.round_robin');\n      return {\n        round_robin_from: assignByRoundRobinRawData,\n        round_robin_to: assignByRoundRobinRawData,\n      };\n    }\n  },\n\n  buildMetaDataForAnalytics(isCreate) {\n    if (isCreate) {\n      return {\n        predicates: JSON.stringify(this.predicates),\n        assignee_id: this.get('firstAction.actionData.assignee_id'),\n        round_robin: this.get('firstAction.assignByRoundRobin'),\n      };\n    } else {\n      return this._buildRoundRobinMetaData(this.get('firstAction.changedAttributes'));\n    }\n  },\n});\n","import Rule from 'embercom/models/inbox/conversation-rules/rule';\n\nexport default Rule.extend({\n  entityString: 'priority_rule',\n  subRouteString: 'priorities',\n  allowedRuleActions: ['change-conversation-priority'],\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { isEqual, isPresent } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport { equal, readOnly, or, not, and } from '@ember/object/computed';\nimport { fragment } from 'ember-data-model-fragments/attributes';\nimport { isAny } from '@intercom/embercom-core/lib/computed-properties';\nimport ajax from 'embercom/lib/ajax';\nimport Admin from 'embercom/models/admin';\n\nexport default Model.extend({\n  appId: attr('string'),\n  createdAt: attr('date'),\n  name: attr('string'),\n  order: attr('number'),\n  underlyingRule: fragment('rules/rule'),\n  lastExecutedAt: attr('date'),\n  status: attr('string'),\n  type: attr('string'),\n  deleted: attr('boolean'),\n  createdByAdminId: attr(),\n  updatedByAdminId: attr(),\n\n  firstAction: readOnly('underlyingRule.actions.firstObject'),\n  entityString: '',\n  subRouteString: '',\n  allowedRuleActions: null,\n\n  hasValidName: computed('name', function() {\n    let name = this.name;\n    return isPresent(name) && name.length <= 100;\n  }),\n  underlyingRuleHasValidPredicates: and(\n    'underlyingRule.hasPredicates',\n    'underlyingRule.predicatesAreValid',\n  ),\n  underlyingRuleHasValidActions: and('underlyingRule.hasActions', 'underlyingRule.actionsAreValid'),\n  isValid: and('hasValidName', 'underlyingRuleHasValidPredicates', 'underlyingRuleHasValidActions'),\n\n  hasDirtyRuleActions: isAny('underlyingRule.actions', 'hasDirtyAttributes', true),\n  hasDirtyPredicates: isAny('underlyingRule.predicates', 'hasDirtyAttributes', true),\n  isDirtyOrHasDirtyChildObjects: or(\n    'hasDirtyAttributes',\n    'hasDirtyRuleActions',\n    'hasDirtyPredicates',\n  ),\n\n  isInboxAssignmentRule: equal('type', 'inbox-assignment'),\n  isDefaultInboxAssignmentRule: equal('type', 'default-inbox-assignment'),\n  isOwnerAssignmentRule: equal('firstAction.type', 'assign-conversation-to-owner'),\n  isAssignmentRule: or(\n    'isInboxAssignmentRule',\n    'isDefaultInboxAssignmentRule',\n    'isOwnerAssignmentRule',\n  ),\n  isTeamAssignmentRule: and('isAssignmentRule', 'firstAction.assignee.isTeam'),\n  isRoundRobinAssignmentRule: and(\n    'isTeamAssignmentRule',\n    'firstAction.data.actionData.round_robin',\n  ),\n\n  isConversationTagRule: equal('type', 'inbox-tag'),\n  isPriorityRule: equal('type', 'inbox-priority'),\n  isConversationSlaRule: equal('type', 'inbox-sla'),\n\n  isOperatorLeadQualificationRule: equal('type', 'operator-lead-qualification'),\n  isOperatorUpfrontCollectionRule: equal('type', 'operator-upfront-collection'),\n  isCustomBotRule: or('isCustomBotSimpleActionRule', 'isCustomBotFollowUpRule'),\n  isCustomBotSimpleActionRule: equal('type', 'operator-simple-action-rule'),\n  isCustomBotFollowUpRule: equal('type', 'operator-follow-up'),\n\n  createdByAdmin: computed('createdByAdminId', function() {\n    return Admin.peekAndMaybeLoad(this.store, this.createdByAdminId);\n  }),\n  updatedByAdmin: computed('updatedByAdminId', function() {\n    return Admin.peekAndMaybeLoad(this.store, this.createdByAdminId);\n  }),\n\n  isNotExpanded: not('isExpanded'),\n  isLive: computed('status', {\n    get() {\n      return isEqual(this.status, 'live');\n    },\n    set(key, value) {\n      let newStatus = value ? 'live' : 'paused';\n      this.set('status', newStatus);\n      return isEqual(this.status, 'live');\n    },\n  }),\n\n  analyticsData: computed('id', function() {\n    return {\n      object: 'rule',\n      rule_id: this.id,\n    };\n  }),\n\n  createdSuccessEventText: computed('entityString', function() {\n    return `${this.entityString.dasherize()}-created`;\n  }),\n\n  updatedSuccessEventText: computed('entityString', function() {\n    return `${this.entityString.dasherize()}-updated`;\n  }),\n\n  updateOrder() {\n    return ajax({\n      url: `/ember/inbox/conversation_rules/${this.subRouteString}/${this.id}/reorder`,\n      type: 'PUT',\n      data: JSON.stringify({\n        app_id: this.appId,\n        order: this.order,\n      }),\n    });\n  },\n  buildMetaDataForAnalytics(isCreate) {\n    return {\n      predicates: JSON.stringify(this.predicates),\n    };\n  },\n});\n","import Rule from 'embercom/models/inbox/conversation-rules/rule';\n\nexport default Rule.extend({\n  entityString: 'sla_rule',\n  subRouteString: 'slas',\n  allowedRuleActions: ['apply-conversation-sla'],\n});\n","import Rule from 'embercom/models/inbox/conversation-rules/rule';\n\nexport default Rule.extend({\n  entityString: 'tag_rule',\n  subRouteString: 'tags',\n  allowedRuleActions: ['add-tag-to-conversation'],\n});\n","import Model, { attr, belongsTo } from '@ember-data/model';\n\nexport default class ConversationSla extends Model {\n  @attr('string') appId;\n  @attr('date') createdAt;\n  @attr('string') name;\n  @attr('number') firstReplyTimeInSeconds;\n  @attr('number') nextReplyTimeInSeconds;\n  @attr('string') officeHoursScheduleId;\n  @attr('boolean', { defaultValue: false }) archived;\n  @attr('date') archivedAt;\n\n  @belongsTo('admin', { async: false }) archivedBy;\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  auto_seat_assignment_done: attr('boolean', { defaultValue: false }),\n  manually_assigned_seat: attr('boolean', { defaultValue: false }),\n  billing_activated: attr('boolean', { defaultValue: false }),\n  fallback_admins_assigned: attr('boolean', { defaultValue: false }),\n  date_migration_complete: attr('date'),\n  grandfathered: attr('boolean', { defaultValue: false }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\n\nexport default EmberObject.extend({\n  type: 'assignee',\n  value: null,\n  assignee: null,\n  suggestionText: readOnly('assignee.name'),\n  suggestionAvatar: readOnly('assignee'),\n  filterAvatar: readOnly('assignee'),\n  filterText: readOnly('assignee.name'),\n}).reopenClass({\n  type: 'assignee',\n  dropdownIcon: 'inbox',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject, { computed } from '@ember/object';\n\nconst DATE_FORMAT = 'MMMM D, YYYY';\n\nexport default EmberObject.extend({\n  type: 'date',\n  range: null,\n  suggestionIcon: 'calendar',\n  suggestionText: null,\n  filterIcon: 'calendar',\n  filterText: computed('range', function() {\n    if (this.range.start.isSame(this.range.end, 'day')) {\n      return this.range.start.format(DATE_FORMAT);\n    } else {\n      return `${this.range.start.format(DATE_FORMAT)} - ${this.range.end.format(DATE_FORMAT)}`;\n    }\n  }),\n}).reopenClass({\n  type: 'date',\n  dropdownIcon: 'calendar',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\n\nlet QueryBuilderDropdownItem = EmberObject.extend({\n  isLabel: false,\n  isFilterType: false,\n  isLoadingSpinner: false,\n  isSuggestion: false,\n  isKeywordPrompt: false,\n  isNoMatchForType: false,\n  isKeyboardNavigable: false,\n});\n\nlet DropdownLabel = QueryBuilderDropdownItem.extend({\n  label: '',\n  isLabel: true,\n});\n\nlet DropdownFilterType = QueryBuilderDropdownItem.extend({\n  isFilterType: true,\n  isKeyboardNavigable: true,\n  filterType: undefined,\n  onClickAction: undefined,\n});\n\nlet DropdownLoadingSpinner = QueryBuilderDropdownItem.extend({\n  isLoading: true,\n  type: undefined,\n});\n\nlet DropdownSuggestion = QueryBuilderDropdownItem.extend({\n  suggestion: undefined,\n  isSuggestion: true,\n  isKeyboardNavigable: true,\n  onClickAction: undefined,\n});\n\nlet DropdownKeywordPrompt = QueryBuilderDropdownItem.extend({\n  isSearchByKeywordPrompt: true,\n  isKeyboardNavigable: true,\n  onClickAction: undefined,\n});\n\nlet DropdownNoMatchForType = QueryBuilderDropdownItem.extend({\n  isNoMatchForType: true,\n  type: undefined,\n});\n\nexport {\n  DropdownLabel,\n  DropdownFilterType,\n  DropdownLoadingSpinner,\n  DropdownSuggestion,\n  DropdownKeywordPrompt,\n  DropdownNoMatchForType,\n};\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject, { computed } from '@ember/object';\nimport { filterBy, mapBy } from '@ember/object/computed';\nimport TeammateAssigneeFilter from 'embercom/models/inbox/search/teammate-assignee-filter';\nimport TeamAssigneeFilter from 'embercom/models/inbox/search/team-assignee-filter';\nimport AssigneeFilter from 'embercom/models/inbox/search/assignee-filter';\nimport DateFilter from 'embercom/models/inbox/search/date-filter';\nimport TagFilter from 'embercom/models/inbox/search/tag-filter';\nimport UserFilter from 'embercom/models/inbox/search/user-filter';\n\nconst DATE_FORMAT = 'YYYY-MM-DD';\n\nexport default EmberObject.extend({\n  init() {\n    this._super(...arguments);\n    this.set('filters', []);\n  },\n\n  currentTextFilter: '',\n\n  _teammateAssigneeFilter: computed('filters.[]', function() {\n    return this.filters.find(f => f.type === TeammateAssigneeFilter.type);\n  }),\n  _teamAssigneeFilter: computed('filters.[]', function() {\n    return this.filters.find(f => f.type === TeamAssigneeFilter.type);\n  }),\n  _assigneeFilter: computed('filters.[]', function() {\n    return this.filters.find(f => f.type === AssigneeFilter.type);\n  }),\n  _dateFilter: computed('filters.[]', function() {\n    return this.filters.find(f => f.type === DateFilter.type);\n  }),\n  _tagFilters: filterBy('filters', 'type', TagFilter.type),\n  _userFilters: filterBy('filters', 'type', UserFilter.type),\n\n  tags: mapBy('_tagFilters', 'tag'),\n  users: mapBy('_userFilters', 'user'),\n\n  queryParams: computed(\n    '_tagFilters.[]',\n    '_userFilters.[]',\n    '_dateFilter',\n    '_assigneeFilter',\n    '_teammateAssigneeFilter',\n    '_teamAssigneeFilter',\n    'currentTextFilter',\n    function() {\n      let tagIds = this._tagFilters.map(f => f.value);\n      let userIds = this._userFilters.map(f => f.value);\n      let q = this.currentTextFilter.length > 0 ? this.currentTextFilter : null;\n      let adminDateRangeStart = this._dateFilter\n        ? this._dateFilter.range.start.format(DATE_FORMAT)\n        : null;\n      let adminDateRangeEnd = this._dateFilter\n        ? this._dateFilter.range.end.format(DATE_FORMAT)\n        : null;\n\n      let params = {\n        q,\n        userIds,\n        tagIds,\n        adminDateRangeStart,\n        adminDateRangeEnd,\n      };\n\n      if (this.app?.canAssignToTeamAndTeammate) {\n        let teammateAssigneeIdentifier = this._teammateAssigneeFilter\n          ? this._teammateAssigneeFilter.value\n          : 'all';\n        let teamAssigneeIdentifier = this._teamAssigneeFilter\n          ? this._teamAssigneeFilter.value\n          : 'all';\n\n        return { ...params, teammateAssigneeIdentifier, teamAssigneeIdentifier };\n      } else {\n        let assigneeIdentifier = this._assigneeFilter ? this._assigneeFilter.value : 'all';\n        return { ...params, assigneeIdentifier };\n      }\n    },\n  ),\n\n  state: computed('currentTextFilter', 'focusedStateType', function() {\n    if (this.focusedStateType) {\n      return 'focused';\n    } else if (this.currentTextFilter.endsWith(' ') || this.currentTextFilter.length === 0) {\n      return 'start';\n    } else {\n      return 'scattered';\n    }\n  }),\n\n  focusedStateType: computed('currentTextFilter', 'validFilterTypes', function() {\n    let words = this.currentTextFilter.split(/\\s+/).reverse();\n    let validFilterTypeSyntaxHash = {};\n    this.validFilterTypes.forEach(filterType => {\n      validFilterTypeSyntaxHash[`${filterType.type}:`] = filterType.type;\n    });\n    let syntaxSymbols = Object.keys(validFilterTypeSyntaxHash);\n    for (let word of words) {\n      if (word) {\n        for (let syntaxSymbol of syntaxSymbols) {\n          if (word.toLowerCase().startsWith(syntaxSymbol)) {\n            return validFilterTypeSyntaxHash[syntaxSymbol];\n          }\n        }\n      }\n    }\n  }),\n\n  suggestionsQuery: computed('currentTextFilter', 'focusedStateType', function() {\n    if (this.focusedStateType) {\n      let filterTypeSyntax = `${this.focusedStateType}:`;\n      let downcasedTextFilter = this.currentTextFilter.toLowerCase();\n      let indexOfSyntax = downcasedTextFilter.indexOf(filterTypeSyntax);\n\n      return this.currentTextFilter.substring(indexOfSyntax + filterTypeSyntax.length).trimStart();\n    }\n\n    return this.currentTextFilter;\n  }),\n\n  validFilterTypes: computed(\n    '_assigneeFilter',\n    '_teammateAssigneeFilter',\n    '_teamAssigneeFilter',\n    '_dateFilter',\n    'app.canAssignToTeamAndTeammate',\n    function() {\n      let filterTypes = [TagFilter, UserFilter];\n\n      if (this.app?.canAssignToTeamAndTeammate) {\n        if (!this._teammateAssigneeFilter) {\n          filterTypes.push(TeammateAssigneeFilter);\n        }\n        if (!this._teamAssigneeFilter) {\n          filterTypes.push(TeamAssigneeFilter);\n        }\n      } else if (!this._assigneeFilter) {\n        filterTypes.push(AssigneeFilter);\n      }\n\n      if (!this._dateFilter) {\n        filterTypes.push(DateFilter);\n      }\n\n      return filterTypes;\n    },\n  ),\n\n  validSuggestionTypes: computed(\n    '_assigneeFilter',\n    '_teammateAssigneeFilter',\n    '_teamAssigneeFilter',\n    'app.canAssignToTeamAndTeammate',\n    function() {\n      let suggestionTypes = [TagFilter.type, UserFilter.type];\n\n      if (this.app?.canAssignToTeamAndTeammate) {\n        if (!this._teammateAssigneeFilter) {\n          suggestionTypes.push(TeammateAssigneeFilter.type);\n        }\n        if (!this._teamAssigneeFilter) {\n          suggestionTypes.push(TeamAssigneeFilter.type);\n        }\n      } else if (!this._assigneeFilter) {\n        suggestionTypes.push(AssigneeFilter.type);\n      }\n\n      return suggestionTypes;\n    },\n  ),\n\n  addFilter(filter) {\n    if (this._shouldAddFilter(filter)) {\n      let remainingFilterText = this._textFilterWithoutTextProvidingCurrentSuggestion();\n      this.filters.pushObject(filter);\n      this.set('currentTextFilter', remainingFilterText);\n    }\n  },\n  removeFilter(filter) {\n    this.filters.removeObject(filter);\n  },\n  reset() {\n    this.set('filters', []);\n    this.set('currentTextFilter', '');\n  },\n  setCurrentFocusState(filterType) {\n    this.set('currentTextFilter', `${this.currentTextFilter}${filterType}:`);\n  },\n  _textFilterWithoutTextProvidingCurrentSuggestion() {\n    let removeAfterPosition = 0;\n    if (this.focusedStateType) {\n      removeAfterPosition = this.currentTextFilter\n        .toLowerCase()\n        .lastIndexOf(`${this.focusedStateType}:`);\n    } else {\n      removeAfterPosition = this.currentTextFilter.length - this.suggestionsQuery.length;\n    }\n    return this.currentTextFilter.substring(0, removeAfterPosition);\n  },\n  _shouldAddFilter(filter) {\n    return this.validFilterTypes.map(filterType => filterType.type).includes(filter.type);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\n\nexport default EmberObject.extend({\n  type: 'tag',\n  value: null,\n  tag: null,\n  suggestionIcon: 'tag',\n  suggestionText: readOnly('tag.name'),\n  filterIcon: 'tag',\n  filterText: readOnly('tag.name'),\n}).reopenClass({\n  type: 'tag',\n  dropdownIcon: 'tag',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\n\nexport default EmberObject.extend({\n  type: 'team-assigned',\n  value: null,\n  assignee: null,\n  suggestionText: readOnly('assignee.name'),\n  suggestionAvatar: readOnly('assignee'),\n  filterAvatar: readOnly('assignee'),\n  filterText: readOnly('assignee.name'),\n}).reopenClass({\n  type: 'team-assigned',\n  dropdownIcon: 'multiple-people',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\n\nexport default EmberObject.extend({\n  type: 'teammate-assigned',\n  value: null,\n  assignee: null,\n  suggestionText: readOnly('assignee.name'),\n  suggestionAvatar: readOnly('assignee'),\n  filterAvatar: readOnly('assignee'),\n  filterText: readOnly('assignee.name'),\n}).reopenClass({\n  type: 'teammate-assigned',\n  dropdownIcon: 'person',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject, { computed } from '@ember/object';\nimport { readOnly, notEmpty } from '@ember/object/computed';\n\nexport default EmberObject.extend({\n  type: 'user',\n  value: null,\n  user: null,\n  userHasName: notEmpty('user.name'),\n  suggestionText: readOnly('user.nameOrEmail'),\n  suggestionSubtext: computed('userHasName', 'user.email', function() {\n    if (this.userHasName) {\n      return this.user.email;\n    }\n  }),\n  suggestionAvatar: readOnly('user'),\n  filterAvatar: readOnly('user'),\n  filterText: readOnly('user.nameOrEmail'),\n}).reopenClass({\n  type: 'user',\n  dropdownIcon: 'user',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  name: attr('string'),\n  author: attr('string'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { filter } from '@ember/object/computed';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\n\nexport default Model.extend({\n  peopleCount: attr(),\n  viewCount: attr(),\n  articleResponseRate: attr(),\n  unhandledSearches: attr(),\n  operatorClosed: attr(),\n  articlePerformance: fragmentArray('insights/response'),\n\n  filteredSearches: filter('unhandledSearches', (s, i) => i < 10),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-jquery */\nimport { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { computed } from '@ember/object';\nimport { isEmpty } from '@ember/utils';\nimport { addProperties, applyFunction } from '@intercom/embercom-core/lib/computed-properties';\nimport countFormatter from 'embercom/lib/count-formatter';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport numberFormatter from 'embercom/lib/number-formatter';\nimport { toPercentString } from 'embercom/lib/percentage-formatter';\nimport $ from 'jquery';\nimport moment from 'moment';\n\nexport default Fragment.extend({\n  message_variation_id: attr('string'),\n  sent_count: attr('number'),\n  open_count: attr('number'),\n  open_percentage: attr('number'),\n  reply_count: attr('number'),\n  reply_percentage: attr('number'),\n  response_count: attr('number'),\n  response_percentage: attr('number'),\n  click_count: attr('number'),\n  click_percentage: attr('number'),\n  unsubscribe_count: attr('number'),\n  unsubscribe_percentage: attr('number'),\n  bounce_count: attr('number'),\n  bounce_percentage: attr('number'),\n  complained_count: attr('number'),\n  complained_percentage: attr('number'),\n  failed_count: attr('number'),\n  failed_percentage: addProperties('unsubscribe_percentage', 'bounce_percentage'),\n  thumbs_up_count: attr('number'),\n  thumbs_up_percentage: attr('number'),\n  thumbs_down_count: attr('number'),\n  thumbs_down_percentage: attr('number'),\n  happy_count: attr('number'),\n  happy_percentage: attr('number'),\n  neutral_count: attr('number'),\n  neutral_percentage: attr('number'),\n  sad_count: attr('number'),\n  sad_percentage: attr('number'),\n  reaction_0_count: attr('number'),\n  reaction_0_percentage: attr('number'),\n  reaction_1_count: attr('number'),\n  reaction_1_percentage: attr('number'),\n  reaction_2_count: attr('number'),\n  reaction_2_percentage: attr('number'),\n  reaction_3_count: attr('number'),\n  reaction_3_percentage: attr('number'),\n  reaction_4_count: attr('number'),\n  reaction_4_percentage: attr('number'),\n  last_sent_on: attr('string'),\n  goal_count: attr('number'),\n  goal_success_percentage: attr('number'),\n  displaySentCount: applyFunction(countFormatter, 'sent_count'),\n  displayOpenPercentage: applyFunction(toPercentString, 'open_percentage'),\n  displayReplyPercentage: applyFunction(toPercentString, 'reply_percentage'),\n  displayResponsePercentage: applyFunction(toPercentString, 'response_percentage'),\n  displayGoalSuccessPercentage: applyFunction(toPercentString, 'goal_success_percentage'),\n  displayClickPercentage: applyFunction(toPercentString, 'click_percentage'),\n  displayBouncePercentage: applyFunction(toPercentString, 'bounce_percentage'),\n  displayUnsubscribePercentage: applyFunction(toPercentString, 'unsubscribe_percentage'),\n  displayComplainedPercentage: applyFunction(toPercentString, 'complained_percentage'),\n  displayFailedPercentage: applyFunction(toPercentString, 'failed_percentage'),\n\n  displayHappyPercentage: applyFunction(toPercentString, 'happy_percentage'),\n  displayNeutralPercentage: applyFunction(toPercentString, 'neutral_percentage'),\n  displaySadPercentage: applyFunction(toPercentString, 'sad_percentage'),\n\n  displayThumbsUpPercentage: applyFunction(toPercentString, 'thumbs_up_percentage'),\n  displayThumbsDownPercentage: applyFunction(toPercentString, 'thumbs_down_percentage'),\n\n  displayReaction0Percentage: applyFunction(toPercentString, 'reaction_0_percentage'),\n  displayReaction1Percentage: applyFunction(toPercentString, 'reaction_1_percentage'),\n  displayReaction2Percentage: applyFunction(toPercentString, 'reaction_2_percentage'),\n  displayReaction3Percentage: applyFunction(toPercentString, 'reaction_3_percentage'),\n  displayReaction4Percentage: applyFunction(toPercentString, 'reaction_4_percentage'),\n\n  displayFailedCount: applyFunction(numberFormatter, 'failed_count'),\n  displayComplainedCount: applyFunction(numberFormatter, 'complained_count'),\n  displayUnsubscribeCount: applyFunction(numberFormatter, 'unsubscribe_count'),\n  displayBounceCount: applyFunction(numberFormatter, 'bounce_count'),\n\n  displayGoalCount: computed('goal_count', function() {\n    let goalCountValue = this.goal_count;\n    return isEmpty(goalCountValue) || goalCountValue === 0 ? '–' : goalCountValue;\n  }),\n  displayLastSentDate: computed('last_sent_on', function() {\n    let lastSent = this.last_sent_on;\n    return isEmpty(lastSent) ? 'Never' : moment(lastSent).fromNow();\n  }),\n  localeFormattedLastSentDate: computed('last_sent_on', function() {\n    let lastSent = this.last_sent_on;\n    return isEmpty(lastSent)\n      ? 'Never'\n      : moment(lastSent).format(dateAndTimeFormats.fullDateAndTimeWithoutTimezone);\n  }),\n  realTimeIntegerKeyTranslations: {\n    conversations: 'sent_count',\n    goals: 'goal_count',\n  },\n  realTimePercentageKeyTranslations: {\n    opens_rate: 'open_percentage',\n    replies_rate: 'reply_percentage',\n    responses_rate: 'response_percentage',\n    clicks_rate: 'click_percentage',\n    unsubscribes_rate: 'unsubscribe_percentage',\n    happy_rate: 'happy_percentage',\n    neutral_rate: 'neutral_percentage',\n    sadRate: 'sad_percentage',\n    thumbs_down_rate: 'thumbs_down_percentage',\n    thumbs_up_rate: 'thumbs_up_percentage',\n    bounces_rate: 'bounce_percentage',\n    complaints_rate: 'complained_percentage',\n    reaction_0_rate: 'reaction_0_percentage',\n    reaction_1_rate: 'reaction_1_percentage',\n    reaction_2_rate: 'reaction_2_percentage',\n    reaction_3_rate: 'reaction_3_percentage',\n    reaction_4_rate: 'reaction_4_percentage',\n    goals_rate: 'goal_success_percentage',\n  },\n  updateFromRealTimeNotification(realTimeStats) {\n    this.beginPropertyChanges();\n    this.set('lastUpdatedAt', new Date().getTime());\n    //We use a different naming scheme for stats on Real Time Push than the Embercom API so translation is required here.\n    $.each(this.realTimeIntegerKeyTranslations, (realTimeKey, emberKey) => {\n      this.set(emberKey, realTimeStats[realTimeKey]);\n    });\n    $.each(this.realTimePercentageKeyTranslations, (realTimeKey, emberKey) => {\n      this.set(emberKey, realTimeStats[realTimeKey] * 100);\n    });\n    //Convert Real Time Push timestamp to date string\n    let lastSentOnTimeStamp = realTimeStats.last_sent;\n    let lastSentOnString =\n      lastSentOnTimeStamp === 0 ? null : new Date(lastSentOnTimeStamp * 1000).toISOString();\n    this.set('last_sent_on', lastSentOnString);\n    this.endPropertyChanges();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport EmberObject, { computed } from '@ember/object';\nimport { empty, not, alias } from '@ember/object/computed';\nimport { toPercentString } from 'embercom/lib/percentage-formatter';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\n\nexport default Model.extend({\n  message_count: attr('number'),\n  messageCount: alias('message_count'),\n  conversation_count: attr('number'),\n  conversationCount: alias('conversation_count'),\n\n  has_any_conversations: attr('boolean'),\n  hasNoConversations: not('has_any_conversations'),\n  daily_stats_as_signal: attr(),\n\n  daily_stats: attr(),\n  conversationsChartCategories: alias('daily_stats'),\n  conversationsChartSeriesData: computed('daily_stats.[]', function() {\n    return [\n      {\n        name: 'Conversations per day',\n        data: this.daily_stats.mapBy('conversation_count'),\n      },\n    ];\n  }),\n\n  spamming_stats: fragmentArray('insights/spamming-stats'),\n  hasNoSpammingStats: empty('spamming_stats'),\n\n  email_variation_stats: fragmentArray('insights/variation-stat'),\n  in_app_variation_stats: fragmentArray('insights/variation-stat'),\n  variation_stats: fragmentArray('insights/variation-stat'),\n\n  global_stats: attr(),\n  formatted_global_stats: computed('global_stats', function() {\n    return {\n      email: EmberObject.create({\n        is_global: true,\n        opened: toPercentString(this.get('global_stats.email.open')),\n        unsubscribed: toPercentString(this.get('global_stats.email.unsubscribed')),\n        clicked: toPercentString(this.get('global_stats.email.clicked')),\n        goalPercentage: toPercentString(this.get('global_stats.email.goal')),\n      }),\n      in_app: EmberObject.create({\n        is_global: true,\n        opened: toPercentString(this.get('global_stats.in_app.open')),\n        clicked: toPercentString(this.get('global_stats.in_app.clicked')),\n        goalPercentage: toPercentString(this.get('global_stats.in_app.goal')),\n      }),\n    };\n  }),\n  lead_formatted_global_stats: computed('global_stats', function() {\n    return EmberObject.create({\n      is_global: true,\n      opened: toPercentString(this.get('global_stats.open_rate')),\n      replied: toPercentString(this.get('global_stats.reply_rate')),\n      goalPercentage: toPercentString(this.get('global_stats.goal_rate')),\n    });\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { computed } from '@ember/object';\nimport { gt } from '@ember/object/computed';\nimport Admin from 'embercom/models/admin';\n\nexport default Fragment.extend({\n  articleId: attr(),\n  authorId: attr(),\n  conversationsRate: attr('number'),\n  lastUpdated: attr(),\n  sadRate: attr('number'),\n  title: attr(),\n  views: attr('number'),\n\n  author: computed('author_id', function() {\n    if (this.author_id) {\n      return Admin.peekAndMaybeLoad(this.store, this.author_id);\n    }\n  }),\n  isSadRateHigh: gt('sadRate', 100),\n  sadRatePercentage: computed('sadRate', function() {\n    return this.sadRate * 100;\n  }),\n  conversationsRatePercentage: computed('conversationsRate', function() {\n    return this.conversationsRate * 100;\n  }),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { subtractProperties } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Fragment.extend({\n  received_message_count: attr('number'),\n  received_by_count: attr('number'),\n  example_users: attr('fragment-has-many', { modelName: 'user' }),\n\n  extra_user_count: subtractProperties('received_by_count', 'example_users.length'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { computed } from '@ember/object';\nimport { equal, or, reads, notEmpty } from '@ember/object/computed';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport Admin from 'embercom/models/admin';\nimport { objectNames } from 'embercom/models/data/matching-system/matching-constants';\nimport { OUTBOUND_EDITOR_ROUTES } from 'embercom/models/outbound/content-wrapper';\n\nexport default Fragment.extend({\n  title: attr('string'),\n  message_title: attr('string'),\n  variation_name: attr('string'),\n  stats: fragmentArray('insights/message-variation-stat'),\n  from_id: attr('number'),\n  from_address_id: attr('number'),\n  message_id: attr('number'),\n  is_deleted: attr('boolean'),\n  reply_type: attr('string'),\n  shouldShowReplyTypes: false,\n  style: attr('string'),\n  shouldShowMessageStyle: false,\n  message_goal_id: attr('number'),\n  campaign_id: attr('number'),\n  campaign_title: attr('string'),\n  entity_type: attr('string'),\n  ruleset_id: attr('string'),\n\n  hasMessageTitle: notEmpty('message_title'),\n  displayTitle: ternaryToProperty('hasMessageTitle', 'message_title', 'title'),\n\n  isTextReplyType: equal('reply_type', 'text_reply'),\n  isThumbsReplyType: equal('reply_type', 'thumbs_reply'),\n  isEmotionsReplyType: equal('reply_type', 'emotions_reply'),\n  isEmailStyle: equal('style', 'email'),\n  isChatStyle: equal('style', 'chat'),\n  isAnnouncementStyle: equal('style', 'announcement'),\n  isSmallAnnouncementStyle: equal('style', 'small-announcement'),\n  isLwrStyle: or('isThumbsReplyType', 'isEmotionsReplyType'),\n  admin: computed('from_id', function() {\n    return Admin.peekAndMaybeLoad(this.store, this.from_id);\n  }),\n\n  outboundEditorRoute: computed('entity_type', function() {\n    return OUTBOUND_EDITOR_ROUTES[objectNames[this.entity_type]];\n  }),\n\n  hasGoal: notEmpty('message_goal_id'),\n  noGoalValue: undefined,\n\n  opened: reads('stats.firstObject.displayOpenPercentage'),\n  clicked: reads('stats.firstObject.displayClickPercentage'),\n  unsubscribed: reads('stats.firstObject.displayUnsubscribePercentage'),\n  sent: reads('stats.firstObject.displaySentCount'),\n  goalPercentage: ternaryToProperty(\n    'hasGoal',\n    'stats.firstObject.displayGoalSuccessPercentage',\n    'noGoalValue',\n  ),\n  responsePercentage: reads('stats.firstObject.displayResponsePercentage'),\n  replyPercentage: reads('stats.firstObject.displayReplyPercentage'),\n  replied: ternaryToProperty('isLwrStyle', 'responsePercentage', 'replyPercentage'),\n  hasNoSentCount: equal('sent', '0'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { notEmpty, equal } from '@ember/object/computed';\nimport { isEmpty } from '@ember/utils';\nimport {\n  applyFunction,\n  selectFromObject,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport moment from 'moment';\n\nlet formatDate = function(date) {\n  if (isEmpty(date)) {\n    return null;\n  }\n  if (moment().diff(date) <= 0) {\n    return 'a few seconds ago';\n  }\n  return moment(date).fromNow();\n};\n\nexport default Model.extend({\n  learnMoreUrl: attr(),\n  longDescription: attr(),\n  name: attr(),\n  code: attr(),\n  setupFlowType: attr(),\n  shortDescription: attr(),\n  feature: attr(),\n  appId: attr(),\n  publiclyAvailable: attr(),\n  paywallFlag: attr('string'),\n  builtByIntercom: attr('boolean'),\n  logoUrl: attr('string'),\n  client_id: attr('string'),\n  installed: attr('boolean'),\n\n  connectedIntegration: belongsTo('connected-integration'),\n\n  hasIntegrated: notEmpty('connectedIntegration.content'),\n  addedDate: applyFunction(formatDate, 'connectedIntegration.content.createdAt'),\n  isCustom: equal('setupFlowType', 'custom'),\n  isModal: equal('setupFlowType', 'modal'),\n  isExternalLink: equal('setupFlowType', 'external-link'),\n\n  buttonComponentPath: computed('code', 'setupFlowType', function() {\n    let componentName = 'transition-connect-button';\n    if (this.isCustom) {\n      componentName = `${this.code}-connect-button`;\n    } else if (this.isModal) {\n      componentName = 'modal-connect-button';\n    } else if (this.isExternalLink) {\n      componentName = 'external-link-button';\n    }\n\n    return `integrations-hub/${componentName}`;\n  }),\n\n  connectedPagePath: computed('code', function() {\n    return ['apps.app.integrations-hub.integration', this.code];\n  }),\n  transitionParams: ternaryToProperty(\n    'currentCustomTransition',\n    'currentCustomTransition',\n    'connectedPagePath',\n  ),\n  currentCustomTransition: selectFromObject('customTransitions', 'code'),\n  customDescription: selectFromObject('customDescriptions', 'code'),\n}).reopen({\n  integrationsWithCustomTransition: ['segment'],\n  customTransitions: {\n    segment: ['apps.app.guide.step-group.step', 'segment_integration', 'segment_integration'],\n  },\n  customDescriptions: {\n    facebook: 'Forward private messages sent to your Facebook page.',\n    twitter: 'Forward direct messages sent to your Twitter account.',\n  },\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default class AccountList extends Fragment {\n  @attr('string') listId;\n}\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default class IdentityMappingField extends Fragment {\n  @attr('string') name;\n}\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default class Settings extends Fragment {\n  @attr('boolean') automaticTaskCreation;\n  @attr('string', { defaultValue: 'Amount' }) opportunityValueField;\n  @attr('array', { defaultValue: () => [] }) caseFields;\n  @attr('boolean', { defaultValue: false }) opportunitySync;\n  @attr('boolean', { defaultValue: true }) autoAssign;\n  @attr('string') intercomIdentityMappingAttribute;\n  @attr('string') salesforceIdentityMappingField;\n  @attr('boolean') identityMappingEmailFallbackEnabled;\n}\n","import Model, { attr, hasMany } from '@ember-data/model';\n\nexport default class IntercomPagesProfileModel extends Model {\n  @attr('string') assetUrl;\n  @attr('string') publicUrl;\n  @hasMany('intercom-sub-page', { async: false }) subPages;\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo } from '@ember-data/model';\n\nexport default Model.extend({\n  assetUrl: attr('string'),\n  subPath: attr('string'),\n  page: belongsTo('intercom-pages-profile'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { humanize } from 'ember-cli-string-helpers/helpers/humanize';\n\nexport default Model.extend({\n  token: attr(),\n  appName: attr(),\n  appIdCode: attr(),\n  hasInboxAccess: attr(),\n  senderName: attr(),\n  senderEmail: attr(),\n  senderAvatar: attr(),\n  authorizedSignInMethods: attr(),\n  active: attr(),\n  createdAt: attr(),\n  isEmailInvite: attr(),\n  email: attr(),\n  teammates: attr(),\n  revoked: attr(),\n  guideTaskCompleted: attr(),\n  guideChecklistKey: attr(),\n  guideChecklistProductId: attr(),\n  guideChecklistName: attr(),\n  guideTaskKey: attr(),\n  guideTaskName: attr(),\n  guideTaskDescription: attr(),\n  hasCustomDataAttributes: attr(),\n  signedUpWithSolutionId: attr(),\n  onboardingTaskCompleted: attr(),\n  onboardingTaskKey: attr(),\n  onboardingUseCaseKey: attr(),\n  onboardingHomeStepIdentifier: attr(),\n  appAtMaxTeammates: attr(),\n  appIsAnnuallyContracted: attr(),\n  onboardingHomeStepName: computed('onboardingHomeStepIdentifier', function() {\n    if (this.onboardingHomeStepIdentifier) {\n      return humanize([this.onboardingHomeStepIdentifier]);\n    }\n  }),\n  completed: attr(),\n  analyticsData: computed('token', function() {\n    return {\n      object: 'teammate_invite',\n      invite_token: this.token,\n    };\n  }),\n  samlAccountName: attr(),\n});\n","import { attr } from '@ember-data/model';\nimport ModelWithPermissions from 'embercom/models/model-with-permissions';\nimport DefaultAvatars from '@intercom/embercom-core/lib/default-avatars';\nimport ajax from 'embercom/lib/ajax';\n\nexport default class InvitedAdmin extends ModelWithPermissions {\n  @attr() email;\n  @attr() app_id;\n  @attr() active;\n  @attr() role_id;\n  @attr('boolean', { defaultValue: false }) has_inbox_access;\n  @attr('string', { defaultValue: 'all' }) accessType;\n  @attr('boolean', { defaultValue: false }) includeUnassigned;\n  @attr({ defaultValue: () => [] }) assigneeBlockedList;\n\n  get hasInboxAccess() {\n    return this.has_inbox_access;\n  }\n\n  get role() {\n    return this.role_id ? this.store.peekRecord('role', this.role_id) : null;\n  }\n\n  avatarData = {\n    url: DefaultAvatars.admins[128],\n    showAsActive: false,\n    showAsAway: false,\n    isCustomer: false,\n    isTeammate: true,\n    isCompany: false,\n    deleted: false,\n    shouldAnimateUpdate: false,\n  };\n\n  resend() {\n    return ajax({\n      url: `/ember/invited_admins/resend`,\n      type: 'POST',\n      data: JSON.stringify({ id: this.id, app_id: this.app_id }),\n    });\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { readOnly, notEmpty, and, or, empty } from '@ember/object/computed';\n\nexport default Model.extend({\n  billAhead: attr(),\n  description: attr(),\n  label: attr(),\n  metadata: attr(),\n  mrrAmount: attr(),\n  periodEnd: attr(),\n  periodStart: attr(),\n  postSubtotalType: attr(),\n  priceInCents: attr(),\n\n  // Metadata properties\n  userCount: readOnly('metadata.user_count'),\n  peopleCount: readOnly('metadata.people_count'),\n  agentCount: readOnly('metadata.agent_count'),\n  educateActive: readOnly('metadata.educate_active'),\n  perProductLineItem: readOnly('metadata.per_product_line_item'),\n  preDiscountCost: readOnly('metadata.pre_discount_cost'),\n  discountAmount: readOnly('metadata.discount_amount'),\n  hasPreDiscountCost: notEmpty('preDiscountCost'),\n\n  canDisplayMrrAmount: and('mrrAmount', 'metadata.product_and_plan_names'),\n\n  hasUserCount: notEmpty('userCount'),\n  hasPeopleCount: notEmpty('peopleCount'),\n  hasUserOrPeopleCount: or('hasUserCount', 'hasPeopleCount'),\n\n  productAndPlanNames: computed('metadata.product_and_plan_names', function() {\n    let productAndPlanNames = this.get('metadata.product_and_plan_names');\n    if (!productAndPlanNames) {\n      return '';\n    }\n    return productAndPlanNames.sort().join(', ');\n  }),\n\n  trueUpOveragePrice: computed(\n    'metadata.price_per_block',\n    'metadata.additional_blocks',\n    function() {\n      let pricePerBlock = this.get('metadata.price_per_block');\n      let additionalBlocks = this.get('metadata.additional_blocks');\n      return pricePerBlock * additionalBlocks;\n    },\n  ),\n\n  hasNoMetadata: empty('metadata'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, hasMany } from '@ember-data/model';\nimport { equal, notEmpty, or, reads } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport moment from 'moment';\n\nexport default Model.extend({\n  address: attr(),\n  annualContractTerms: attr(),\n  appIdCode: attr(),\n  appName: attr(),\n  billAheadCouponLineItems: hasMany('invoice-line-item'),\n  billAheadFixedPriceDiscountLineItems: hasMany('invoice-line-item'),\n  billAheadMultiProductDiscountLineItems: hasMany('invoice-line-item'),\n  billAheadPeriodEnd: attr(),\n  billAheadPeriodStart: attr(),\n  billAheadPermanentDiscountLineItems: hasMany('invoice-line-item', { async: false }),\n  billAheadPreSubtotalLineItems: hasMany('invoice-line-item', { async: false }),\n  billAheadSubtotal: attr(),\n  billAheadTotal: attr(),\n  billAheadVatLineItems: hasMany('invoice-line-item', { async: false }),\n  cardAmountInCents: attr(),\n  cardLastFour: attr(),\n  contactEmail: attr(),\n  entityName: attr(),\n  extraBillingDetails: attr(),\n  nonIrishVatNumber: attr(),\n  manuallyInvoiced: attr(),\n  outOfPeriodCouponLineItems: hasMany('invoice-line-item', { async: false }),\n  outOfPeriodPermanentDiscountLineItems: hasMany('invoice-line-item', { async: false }),\n  outOfPeriodVatLineItems: hasMany('invoice-line-item', { async: false }),\n  outOfPeriodCreditLineItems: hasMany('invoice-line-item', { async: false }),\n  paid: attr(),\n  periodEnd: attr(),\n  periodStart: attr(),\n  pricedPerProduct: attr(),\n  refundedAmount: attr(),\n  retrospectiveCouponLineItems: hasMany('invoice-line-item', { async: false }),\n  retrospectiveMultiProductDiscountLineItems: hasMany('invoice-line-item', { async: false }),\n  retrospectiveFixedPriceDiscountLineItems: hasMany('invoice-line-item', { async: false }),\n  retrospectivePeriodEnd: attr(),\n  retrospectivePeriodStart: attr(),\n  retrospectivePermanentDiscountLineItems: hasMany('invoice-line-item', { async: false }),\n  retrospectivePreSubtotalLineItems: hasMany('invoice-line-item', { async: false }),\n  retrospectivePrepaidCreditLineItems: hasMany('invoice-line-item', { async: false }),\n  retrospectiveSubtotal: attr(),\n  retrospectiveTotal: attr(),\n  retrospectiveVatLineItems: hasMany('invoice-line-item', { async: false }),\n  usageLimitAgreement: attr(),\n  subtotal: attr(),\n  total: attr(),\n  trueUp: attr(),\n  vatNumber: attr(),\n\n  //zuora fields\n  status: attr(),\n  number: attr(),\n  dueDate: attr(),\n  amount: attr('number'),\n  balance: attr('number'),\n  url: attr(),\n  includesOneTimeOnly: attr('boolean'),\n\n  isUpcoming: equal('id', 'upcoming'),\n\n  parsedPeriodEnd: computed('periodEnd', function() {\n    return moment(this.periodEnd, 'MMM D, YYYY');\n  }),\n\n  parsedBillAheadPeriodStart: computed('billAheadPeriodStart', function() {\n    return moment(this.billAheadPeriodStart, 'MMM D, YYYY');\n  }),\n\n  unixBillAheadPeriodStart: computed('billAheadPeriodStart', function() {\n    return moment(this.billAheadPeriodStart).unix();\n  }),\n\n  isZuora: computed('status', function() {\n    return typeof this.status !== 'undefined';\n  }),\n\n  isPaid: computed('isZuora', 'balance', 'paid', function() {\n    if (this.isZuora) {\n      return this.balance <= 0.0;\n    } else {\n      return this.paid;\n    }\n  }),\n\n  displayedTotal: computed('isZuora', 'total', 'amount', function() {\n    return this.isZuora ? this.amount * 100 : this.total;\n  }),\n\n  hideBillAhead: computed(\n    'billAheadCouponLineItems',\n    'billAheadFixedPriceDiscountLineItems',\n    'billAheadMultiProductDiscountLineItems',\n    'billAheadPermanentDiscountLineItems',\n    'billAheadPreSubtotalLineItems',\n    'billAheadVatLineItems',\n    function() {\n      return (\n        this.get('billAheadCouponLineItems.length') === 0 &&\n        this.get('billAheadFixedPriceDiscountLineItems.length') === 0 &&\n        this.get('billAheadMultiProductDiscountLineItems.length') === 0 &&\n        this.get('billAheadPermanentDiscountLineItems.length') === 0 &&\n        this.get('billAheadPreSubtotalLineItems.length') === 0 &&\n        this.get('billAheadVatLineItems.length') === 0\n      );\n    },\n  ),\n\n  hasRetrospectiveVatLineItems: notEmpty('retrospectiveVatLineItems'),\n  hasBillAheadVatLineItems: notEmpty('billAheadVatLineItems'),\n  hasVatLineItems: or('hasRetrospectiveVatLineItems', 'hasBillAheadVatLineItems'),\n\n  hideRetrospective: computed(\n    'retrospectiveCouponLineItems',\n    'retrospectiveFixedPriceDiscountLineItems',\n    'retrospectiveMultiProductDiscountLineItems',\n    'retrospectivePermanentDiscountLineItems',\n    'retrospectivePreSubtotalLineItems',\n    'retrospectiveVatLineItems',\n    function() {\n      return (\n        this.get('retrospectiveCouponLineItems.length') === 0 &&\n        this.get('retrospectiveFixedPriceDiscountLineItems.length') === 0 &&\n        this.get('retrospectiveMultiProductDiscountLineItems.length') === 0 &&\n        this.get('retrospectivePermanentDiscountLineItems.length') === 0 &&\n        this.get('retrospectivePreSubtotalLineItems.length') === 0 &&\n        this.get('retrospectiveVatLineItems.length') === 0\n      );\n    },\n  ),\n\n  isTrueUpWithNoExpansion: computed('billAheadPreSubtotalLineItems', 'trueUp', function() {\n    return this.get('billAheadPreSubtotalLineItems.length') === 0 && this.trueUp === true;\n  }),\n\n  trueUpExpansion: reads('billAheadPreSubtotalLineItems.firstObject'),\n\n  products: computed('retrospectivePreSubtotalLineItems', function() {\n    let products = [\n      { hasItem: false, name: 'Engage', newName: 'Messages', items: [] },\n      { hasItem: false, name: 'Respond', newName: 'Inbox', items: [] },\n      { hasItem: false, name: 'Educate', newName: 'Articles', items: [] },\n      { hasItem: false, name: 'Business', items: [] },\n    ];\n\n    let sortedRetrospectiveLineItems = this.retrospectivePreSubtotalLineItems.sortBy('start');\n\n    sortedRetrospectiveLineItems.forEach(lineItem => {\n      let lineItemHasBeenAddedToProduct = false;\n      products.forEach(product => {\n        let lineItemProductAndPlan = lineItem.get('productAndPlanNames');\n        let lineItemCountForProduct = product.items.length;\n        let matchesProductName =\n          lineItemProductAndPlan.match(product.name) ||\n          lineItemProductAndPlan.match(product.newName);\n        if (matchesProductName && !lineItemHasBeenAddedToProduct) {\n          if (\n            lineItemCountForProduct === 0 ||\n            product.items[lineItemCountForProduct - 1].productAndPlan !== lineItemProductAndPlan\n          ) {\n            product.items.push({\n              subsequentLineItemForProduct: false,\n              productAndPlan: lineItemProductAndPlan,\n              lineItem,\n            });\n          } else {\n            product.items.push({\n              subsequentLineItemForProduct: true,\n              productAndPlan: lineItemProductAndPlan,\n              lineItem,\n            });\n          }\n          lineItemHasBeenAddedToProduct = true;\n          product.hasItem = true;\n        }\n      });\n    });\n\n    return products;\n  }),\n\n  hasUsageLimitAgreement: computed(\n    'freeAgentCount',\n    'minimumAgentCount',\n    'minimumActivePeopleCount',\n    function() {\n      return this.freeAgentCount + this.minimumAgentCount + this.minimumActivePeopleCount > 0;\n    },\n  ),\n\n  freeAgentCount: computed('usageLimitAgreement', function() {\n    if (!this.usageLimitAgreement) {\n      return 0;\n    }\n    return this.get('usageLimitAgreement.free_agent_count');\n  }),\n\n  minimumAgentCount: computed('usageLimitAgreement', function() {\n    if (!this.usageLimitAgreement) {\n      return 0;\n    }\n    return this.get('usageLimitAgreement.minimum_agent_count');\n  }),\n\n  minimumActivePeopleCount: computed('usageLimitAgreement', function() {\n    if (!this.usageLimitAgreement) {\n      return 0;\n    }\n    return this.get('usageLimitAgreement.minimum_active_people_count');\n  }),\n});\n","import { attr } from '@ember-data/model';\nimport ModelWithPermissions from 'embercom/models/model-with-permissions';\n\nexport default class JitSettingsPermissions extends ModelWithPermissions {\n  @attr('string', { defaultValue: 'all' }) accessType;\n  @attr('boolean', { defaultValue: false }) includeUnassigned;\n  @attr({ defaultValue: () => [] }) assigneeBlockedList;\n\n  get conversationAccess() {\n    return this.getProperties(['accessType', 'includeUnassigned', 'assigneeBlockedList']);\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-observers */\n/* eslint-disable ember/no-classic-classes */\nimport { A, isArray } from '@ember/array';\nimport EmberObject, { computed, get, observer } from '@ember/object';\nimport { equal, gt, mapBy, none, not, notEmpty, or, reads } from '@ember/object/computed';\nimport { isEmpty, isPresent } from '@ember/utils';\nimport {\n  applyFunction,\n  subtractProperties,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport PredicateValidator from 'embercom/models/mixins/predicate-validator';\n\nlet SelectionState = EmberObject.extend(PredicateValidator, {\n  isSelectAllMode: false,\n  selected: null,\n  unselected: null,\n  predicates: null,\n  totalCount: null,\n  search: '',\n  isNotSelectAllMode: not('isSelectAllMode'),\n  hasCount: not('hasNoCount'),\n  hasNoCount: none('count'),\n  hasPredicates: notEmpty('predicates'),\n  hasNoPredicates: not('hasPredicates'),\n  hasUserAddedPredicates: notEmpty('activePredicatesWithoutAnonymous'),\n  isTargetingLeads: reads('hasAnonymousPredicate'),\n  hasIncludedIds: notEmpty('included_ids'),\n  hasExcludedIds: notEmpty('excluded_ids'),\n  isSelectionBased: or('hasIncludedIds', 'hasExcludedIds'),\n  isNotSelectionBased: not('isSelectionBased'),\n  isUserMessage: not('isCompanyMessage'),\n  hasMultipleRecipients: gt('count', 1),\n  countIsZero: equal('count', 0),\n  countIsZeroOrNone: or('countIsZero', 'hasNoCount'),\n  lastUpdatedAt: computed('predicatesUpdated', 'selected.[]', 'unselected.[]', function() {\n    return new Date().getTime();\n  }),\n  nestedPredicates: [],\n  nullifyCountWhenPredicatesChange: observer({\n    dependentKeys: ['predicatesUpdated'],\n\n    fn() {\n      this.set('totalCount', null);\n    },\n\n    sync: false,\n  }),\n  hasTotalCount: applyFunction(isPresent, 'totalCount'),\n  hasNoTotalCount: not('hasTotalCount'),\n  checkIsCompanyPredicate(predicate, regex) {\n    let self = this;\n    if (get(predicate, 'type') === 'or') {\n      return predicate.predicates.reduce(function(accumulator, orPredicate) {\n        return accumulator && self.checkIsCompanyPredicate(orPredicate, regex);\n      }, !isEmpty(predicate.predicates));\n    } else if (get(predicate, 'type') === 'and') {\n      return predicate.predicates.reduce(function(accumulator, andPredicate) {\n        return accumulator && self.checkIsCompanyPredicate(andPredicate, regex);\n      }, !isEmpty(predicate.predicates));\n    } else {\n      return get(predicate, 'attribute').match(regex) !== null;\n    }\n  },\n  isCompanyMessage: computed('predicates', 'selected', 'unselected', 'search', function() {\n    let self = this;\n    let predicates = this.predicates;\n    return (\n      isEmpty(this.selected) &&\n      isEmpty(this.unselected) &&\n      isEmpty(this.search) &&\n      isArray(predicates) &&\n      predicates.reduce(function(accumulator, predicate) {\n        return accumulator && self.checkIsCompanyPredicate(predicate, /^company/);\n      }, !isEmpty(predicates))\n    ); //If predicates are empty this resolves to false\n  }),\n  deselected: computed(function() {\n    return this.isSelectAllMode ? this.unselected : A();\n  }),\n  countFromDeselected: subtractProperties('totalCount', 'deselected.length'),\n  count: ternaryToProperty('isSelectAllMode', 'countFromDeselected', 'selected.length'),\n  isSingleSelection: equal('count', 1),\n  selectedIDs: mapBy('selected', 'id'),\n  deselectedIDs: mapBy('deselected', 'id'),\n  // nolaneo - Due to a discrepancy between how we use included_ids vs selectedIDs\n  // I've added a one way binding so we can fall through to selectedIDs if included_ids isn't set\n  included_ids: reads('selectedIDs'),\n  excluded_ids: reads('deselectedIDs'),\n  toApi() {\n    let isSelectAllMode = this.isSelectAllMode;\n    return {\n      included_ids: isSelectAllMode ? [] : this.selectedIDs,\n      excluded_ids: this.deselectedIDs,\n      predicates: isSelectAllMode ? this.predicates : [],\n      count: this.count,\n    };\n  },\n  toSelectAllSelection() {\n    return SelectionState.create({\n      isSelectAllMode: true,\n      predicates: this.predicates,\n      selected: [],\n      unselected: [],\n      count: this.totalCount,\n    });\n  },\n  toJSON: computed(\n    'selected',\n    'unselected',\n    'predicates',\n    'totalCount',\n    'search',\n    'isSelectAllMode',\n    function() {\n      let properties = [\n        'selected',\n        'unselected',\n        'predicates',\n        'totalCount',\n        'search',\n        'isSelectAllMode',\n      ];\n      return JSON.stringify(this.getProperties(properties));\n    },\n  ),\n}).reopenClass({\n  createFromId(id) {\n    return this.create({\n      isSelectAllMode: false,\n      selected: [{ id }],\n      unselected: [],\n      predicates: [],\n      count: 1,\n      search: '',\n    });\n  },\n});\n\nexport default SelectionState;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport Model, { attr } from '@ember-data/model';\nimport { A } from '@ember/array';\nimport ajax from 'embercom/lib/ajax';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\nimport Admin from 'embercom/models/admin';\n\nexport default class LogsSettingsModel extends Model {\n  @attr() type;\n  @attr() value;\n  @attr() app_id;\n  @attr() admin_id;\n  @attr() admin_ip;\n  @attr() created_at;\n\n  get admin() {\n    return Admin.peekAndMaybeLoad(this.store, this.admin_id);\n  }\n  get humanType() {\n    return this.type.replace('AppAdminEvents::', '').replace(/([a-z])([A-Z])/g, '$1 $2');\n  }\n  get isAdminDeletion() {\n    return this.type === 'AppAdminEvents::AdminDeletion';\n  }\n  get isAdminInviteChange() {\n    return this.type === 'AppAdminEvents::AdminInviteChange';\n  }\n  get isAdminInviteCreation() {\n    return this.type === 'AppAdminEvents::AdminInviteCreation';\n  }\n  get isAdminInviteDeletion() {\n    return this.type === 'AppAdminEvents::AdminInviteDeletion';\n  }\n  get _isRoleChanged() {\n    return this.value.before.role && this.value.after.role;\n  }\n  get _isRoleAssigned() {\n    return !this.value.before.role && this.value.after.role;\n  }\n  get _isRoleRemoved() {\n    return this.value.before.role && !this.value.after.role;\n  }\n  get isAdminInviteRoleChange() {\n    return this.isAdminInviteChange && this._isRoleChanged;\n  }\n  get isAdminInviteRoleAssign() {\n    return this.isAdminInviteChange && this._isRoleAssigned;\n  }\n  get isAdminInviteRoleRemove() {\n    return this.isAdminInviteChange && this._isRoleRemoved;\n  }\n  get isAdminLoginFailure() {\n    return this.type === 'AppAdminEvents::AdminLoginFailure';\n  }\n  get isAdminLoginSuccess() {\n    return this.type === 'AppAdminEvents::AdminLoginSuccess';\n  }\n  get isAdminLogout() {\n    return this.type === 'AppAdminEvents::AdminLogout';\n  }\n  get isAdminPermissionChange() {\n    return this.type === 'AppAdminEvents::AdminPermissionChange';\n  }\n  get isAdminRoleChange() {\n    return this.isAdminPermissionChange && this._isRoleChanged;\n  }\n  get isAdminRoleAssign() {\n    return this.isAdminPermissionChange && this._isRoleRemoved;\n  }\n  get isAdminRoleRemove() {\n    return this.isAdminPermissionChange && this._isRoleRemoved;\n  }\n  get isAdminAwayModeChange() {\n    return this.type === 'AppAdminEvents::AdminAwayModeChange';\n  }\n  get isAppAdminJoin() {\n    return this.type === 'AppAdminEvents::AppAdminJoin';\n  }\n  get isAppAuthenticationMethodChange() {\n    return this.type === 'AppAdminEvents::AppAuthenticationMethodChange';\n  }\n  get isAppDataDeletion() {\n    return this.type === 'AppAdminEvents::AppDataDeletion';\n  }\n  get isAppGoogleSsoDomainChange() {\n    return this.type === 'AppAdminEvents::AppGoogleSsoDomainChange';\n  }\n  get isAppIdentityVerificationChange() {\n    return this.type === 'AppAdminEvents::AppIdentityVerificationChange';\n  }\n  get isAppNameChange() {\n    return this.type === 'AppAdminEvents::AppNameChange';\n  }\n  get isAppOutboundAddressChange() {\n    return this.type === 'AppAdminEvents::AppOutboundAddressChange';\n  }\n  get isAppPackageTokenRegeneration() {\n    return this.type === 'AppAdminEvents::AppPackageTokenRegeneration';\n  }\n  get isAppTimezoneChange() {\n    return this.type === 'AppAdminEvents::AppTimezoneChange';\n  }\n  get isAppWebhookCreation() {\n    return this.type === 'AppAdminEvents::AppWebhookCreation';\n  }\n  get isAppWebhookDeletion() {\n    return this.type === 'AppAdminEvents::AppWebhookDeletion';\n  }\n  get isBulkExport() {\n    return this.type === 'AppAdminEvents::BulkExport';\n  }\n  get isBulkDelete() {\n    return this.type === 'AppAdminEvents::BulkDelete';\n  }\n  get isMessageDeletion() {\n    return this.type === 'AppAdminEvents::MessageDeletion';\n  }\n  get isMessageStateChange() {\n    return this.type === 'AppAdminEvents::MessageStateChange';\n  }\n  get isCampaignDeletion() {\n    return this.type === 'AppAdminEvents::CampaignDeletion';\n  }\n  get isCampaignStateChange() {\n    return this.type === 'AppAdminEvents::CampaignStateChange';\n  }\n  get isAppTeamCreation() {\n    return this.type === 'AppAdminEvents::AppTeamCreation';\n  }\n  get isAppTeamDeletion() {\n    return this.type === 'AppAdminEvents::AppTeamDeletion';\n  }\n  get isAppPackageInstallation() {\n    return this.type === 'AppAdminEvents::AppPackageInstallation';\n  }\n  get isAppPackageUninstallation() {\n    return this.type === 'AppAdminEvents::AppPackageUninstallation';\n  }\n  get isAppDataExport() {\n    return this.type === 'AppAdminEvents::AppDataExport';\n  }\n  get isHelpCenterSettingsChange() {\n    return this.type === 'AppAdminEvents::HelpCenterSettingsChange';\n  }\n  get isRoleChange() {\n    return this.type === 'AppAdminEvents::RoleChange';\n  }\n  get isRoleCreation() {\n    return this.type === 'AppAdminEvents::RoleCreation';\n  }\n  get isRoleDeletion() {\n    return this.type === 'AppAdminEvents::RoleDeletion';\n  }\n\n  static logSettingsUrl(appId, format) {\n    return `/ember/app/${appId}/admin-events.${format || 'json'}`;\n  }\n  static logsSettingsBetweenDatesUrl(appId, format, from, to) {\n    return `${this.logSettingsUrl(appId, format)}?from=${from}&to=${to}`;\n  }\n  static getLogsSettingsBetweenDates(appId, from, to) {\n    return ajax({\n      url: this.logsSettingsBetweenDatesUrl(appId, 'json', from, to),\n      type: 'GET',\n    }).then(\n      response => {\n        let store = getEmberDataStore();\n        store.pushPayload({ 'logs-settings': response });\n        let objs = response.map(function(el) {\n          try {\n            return store.peekRecord('logs-settings', el.id);\n          } catch (e) {\n            console.log('app admin event item load failed', e, el);\n          }\n        });\n\n        return A(objs);\n      },\n      function(e) {\n        console.error(e, 'app admin event item load failed');\n      },\n    );\n  }\n}\n","import { attr } from '@ember-data/model';\nimport Import from './import';\n\nexport default Import.extend({\n  accessToken: attr(),\n  secureAccessToken: attr(),\n  listId: attr(),\n  adminId: attr(),\n  userCount: attr(),\n\n  lists: null,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { A } from '@ember/array';\nimport EmberObject from '@ember/object';\nimport { equal } from '@ember/object/computed';\nimport ajax from 'embercom/lib/ajax';\n\nconst ENDPOINT_URL = '/ember/mailchimp_lists';\n\nlet MailchimpList = EmberObject.extend({\n  id: null,\n  stats: null,\n  name: null,\n  date_created: null,\n  empty: equal('stats.member_count', 0),\n  isSelected: false,\n}).reopenClass({\n  createFromPayload(listPayload) {\n    return this.create({\n      id: listPayload.id,\n      stats: listPayload.stats,\n      name: listPayload.name,\n      date_created: listPayload.date_created,\n    });\n  },\n  async list(accessToken) {\n    let response = await ajax({\n      url: ENDPOINT_URL,\n      type: 'POST',\n      data: JSON.stringify({\n        access_token: accessToken,\n      }),\n    });\n    let listObjects = response.mailchimp_lists.map(list => this.createFromPayload(list));\n    return A(listObjects);\n  },\n  async singleList(accessToken, listID) {\n    try {\n      let response = await ajax({\n        url: `${ENDPOINT_URL}/single_list`,\n        type: 'POST',\n        data: JSON.stringify({\n          access_token: accessToken,\n          list_id: listID,\n        }),\n      });\n      return this.createFromPayload(response.mailchimp_list);\n    } catch (error) {\n      return error;\n    }\n  },\n});\n\nexport default MailchimpList;\n","import Model, { attr } from '@ember-data/model';\nimport { dependentKeyCompat } from '@ember/object/compat';\n\n/*\n *  Note – properties added to this object will be persisted as part of the\n *  RulesetClientData's `metadata` field in the DB. You will not be able to\n *  query them.\n */\n\nexport default class ClientData extends Model {\n  @attr('string', { defaultValue: () => '' }) title;\n  @attr('array', { defaultValue: () => [] }) openedPanels;\n  @attr('boolean', { defaultValue: false }) openedSeriesEditor;\n\n  // Title is the only key that is directly editable by the Teammate.\n  // If a change occurs to, say, openedPanels, we do not want to block\n  // leaving the page as this is not critical data and the Teammate\n  // has no way to action this.\n  // For this getter to propagate changes, we must use dependentKeyCompat\n  // and access the `hasDirtyAttributes` computed property.\n  @dependentKeyCompat\n  get hasUnsavedChanges() {\n    if (this.hasDirtyAttributes) {\n      return Object.keys(this.changedAttributes()).includes('title');\n    } else {\n      return false;\n    }\n  }\n}\n","import Model, { attr } from '@ember-data/model';\nimport PredicateGroup from 'predicates/models/predicate-group';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { scheduleOnce } from '@ember/runloop';\nexport default class ContentPreview extends Model {\n  @attr({ defaultValue: () => {} }) contentPreviewData;\n  @attr() generatedAt;\n\n  @tracked predicateGroup = undefined;\n\n  // Due to a crashing bug with creating a predicate-group (a model fragment) as part of setting up a component\n  // whether inside a getter or not, we'll set it up directly on the model for use later.\n  // This is admittedly gross as we're not guaranteed that this content content preview will even have predicates.\n  ready() {\n    this.setupPredicateGroup();\n  }\n\n  @action onLoad() {\n    scheduleOnce('afterRender', this, this.setupPredicateGroup);\n  }\n\n  setupPredicateGroup() {\n    if (this.contentPreviewData?.predicates) {\n      this.predicateGroup = this.store.createFragment('predicates/predicate-group', {\n        predicates: PredicateGroup.convertRawPredicates(\n          this.store,\n          this.contentPreviewData.predicates,\n        ),\n      });\n    }\n  }\n}\n","import Model from '@ember-data/model';\nimport { getOwner } from '@ember/application';\nimport ControlGroupValidations from 'embercom/validations/control-group';\nimport controlGroupConfigGenerator from 'embercom/objects/content-editor/configuration-generators/control-group';\n\nexport default class ControlGroup extends Model.extend(ControlGroupValidations) {\n  editorConfig(baseConfig) {\n    // baseConfig here should be the editor configuration of the object we are creating a control\n    // group for. i.e. contentEditorService.editorConfiguration\n    let container = getOwner(this);\n    return controlGroupConfigGenerator({ baseConfig, container });\n  }\n}\n","import { attr } from '@ember-data/model';\nimport MF from 'ember-data-model-fragments';\nimport {\n  timetableTypes,\n  timezoneTypes,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { equal } from '@ember/object/computed';\n\nexport default MF.Fragment.extend({\n  timetableType: attr(),\n  timezoneType: attr(),\n  timeIntervals: MF.fragmentArray('matching-system/timetable/time-interval'),\n\n  isInsideOfficeHoursType: equal('timetableType', timetableTypes.insideOfficeHours),\n  isOutsideOfficeHoursType: equal('timetableType', timetableTypes.outsideOfficeHours),\n  isCustomTimesType: equal('timetableType', timetableTypes.customTimes),\n\n  isUserTimezoneBased: equal('timezoneType', timezoneTypes.basedOnUserTimezone),\n  isAppTimezoneBased: equal('timezoneType', timezoneTypes.basedOnAppTimezone),\n\n  timeIntervalsForDay(day) {\n    //return intervals that start or end on the day, or which entirely encompass the day\n    return this.timeIntervals.toArray().filter(timeInterval => {\n      return (\n        timeInterval.startDay === day ||\n        timeInterval.endDay === day ||\n        (timeInterval.startDay < day && timeInterval.endDay > day)\n      );\n    });\n  },\n});\n","import Model, { attr } from '@ember-data/model';\n\nexport default class RulesetErrors extends Model {\n  @attr('array', { defaultValue: () => [] }) messages;\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo, hasMany } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { equal, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { post, put } from 'embercom/lib/ajax';\nimport {\n  humanReadableObjectNames,\n  objectNames,\n  objectTypes,\n  states,\n  seriesOnlyObjectTypes,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport RulesetLinkValidations from 'embercom/validations/ruleset-link';\n\nexport default Model.extend(RulesetLinkValidations, {\n  appService: service(),\n  app: readOnly('appService.app'),\n  lastStateChange: belongsTo('matching-system/state-change'),\n  contentObject: belongsTo('content-object', { async: false }),\n  contentPreview: belongsTo('matching-system/content-preview', { async: false }),\n  objectStats: hasMany('outbound/content-statistic'),\n  state: attr('number'),\n  type: attr('string'),\n  matchingLocations: attr('array'),\n\n  isDraft: equal('state', states.draft),\n\n  isLive: equal('state', states.live),\n  isPaused: equal('state', states.paused),\n\n  isEnded: equal('state', states.ended),\n\n  isValid: readOnly('object.isValid'),\n\n  contentHash: readOnly('object.contentHash'),\n  implicitPredicates: readOnly('object.implicitPredicates'),\n  preferredDevices: readOnly('object.preferredDevices'),\n\n  objectName: computed('objectType', function() {\n    return objectNames[this.objectType];\n  }),\n\n  parameterizedObjectName: computed('objectName', function() {\n    return this.objectName.replace('_', '-');\n  }),\n\n  objectId: computed('object.id', function() {\n    return this.object.id.split('-').lastObject;\n  }),\n\n  databaseId: computed('id', function() {\n    return this.id.split('-').lastObject;\n  }),\n\n  humanReadableObjectName: computed('objectType', function() {\n    return humanReadableObjectNames[this.objectType];\n  }),\n\n  isSeriesOnlyObjectType: computed('objectType', function() {\n    return seriesOnlyObjectTypes.includes(this.objectType);\n  }),\n\n  isControlGroup: equal('objectType', objectTypes.controlGroup),\n\n  hasUnsavedChanges: computed('hasDirtyAttributes', 'object.hasUnsavedChanges', function() {\n    return this.hasDirtyAttributes || (this.object && this.object.hasUnsavedChanges);\n  }),\n\n  wentLiveAt: attr('date'),\n\n  rollbackAttributes() {\n    this._super(...arguments);\n    if (this.object) {\n      this.object.rollbackAttributes();\n    }\n  },\n\n  beforeSave() {\n    this.object?.beforeSave?.();\n  },\n\n  afterSave() {\n    this.object?.afterSave?.();\n  },\n\n  duplicate() {\n    let params = {\n      app_id: this.get('app.id'),\n      admin_id: this.get('app.currentAdmin.id'),\n    };\n    return post(`/ember/matching_system/ruleset_links/${this.id}/duplicate`, params);\n  },\n\n  end() {\n    let params = {\n      app_id: this.get('app.id'),\n      admin_id: this.get('app.currentAdmin.id'),\n    };\n    return put(`/ember/matching_system/ruleset_links/${this.id}/end`, params);\n  },\n});\n","import RulesetLink from '../ruleset-link';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default RulesetLink.extend({\n  objectType: objectTypes.answer,\n});\n","import RulesetLink from '../ruleset-link';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default RulesetLink.extend({\n  objectType: objectTypes.article,\n});\n","import { belongsTo } from '@ember-data/model';\nimport RulesetLink from '../ruleset-link';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default RulesetLink.extend({\n  object: belongsTo('banners/banner', { async: false }),\n  objectType: objectTypes.banner,\n});\n","import { belongsTo } from '@ember-data/model';\nimport RulesetLink from '../ruleset-link';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class extends RulesetLink {\n  @belongsTo('operator/custom-bot', { async: false }) object;\n\n  objectType = objectTypes.buttonCustomBot;\n\n  get contentHash() {\n    return this.serialize();\n  }\n\n  ready() {\n    this.object.initializeFragmentsAndSetInverseRelationships();\n  }\n}\n","import { belongsTo } from '@ember-data/model';\nimport RulesetLink from '../ruleset-link';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default RulesetLink.extend({\n  object: belongsTo('carousels/carousel', { async: false }),\n  objectType: objectTypes.carousel,\n});\n","import { belongsTo } from '@ember-data/model';\nimport RulesetLink from '../ruleset-link';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default RulesetLink.extend({\n  object: belongsTo('chats/chat', { async: false }),\n  objectType: objectTypes.chat,\n});\n","import { belongsTo, attr } from '@ember-data/model';\nimport RulesetLink from 'embercom/models/matching-system/ruleset-link';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default RulesetLink.extend({\n  object: belongsTo('matching-system/control-group', { async: false }),\n  objectType: objectTypes.controlGroup,\n  rulesetId: attr('number'),\n});\n","import { belongsTo } from '@ember-data/model';\nimport RulesetLink from '../ruleset-link';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class extends RulesetLink {\n  @belongsTo('operator/custom-bot', { async: false }) object;\n\n  objectType = objectTypes.customBot;\n\n  get contentHash() {\n    return this.serialize();\n  }\n\n  ready() {\n    this.object.initializeFragmentsAndSetInverseRelationships();\n  }\n}\n","import { belongsTo } from '@ember-data/model';\nimport RulesetLink from '../ruleset-link';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default RulesetLink.extend({\n  object: belongsTo('emails/email', { async: false }),\n  objectType: objectTypes.email,\n});\n","import { belongsTo } from '@ember-data/model';\nimport RulesetLink from '../ruleset-link';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class extends RulesetLink {\n  @belongsTo('operator/custom-bot', { async: false }) object;\n\n  objectType = objectTypes.inboundCustomBot;\n\n  get contentHash() {\n    return this.serialize();\n  }\n\n  ready() {\n    this.object.initializeFragmentsAndSetInverseRelationships();\n  }\n}\n","import RulesetLink from '../ruleset-link';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default RulesetLink.extend({\n  objectType: objectTypes.inboundTrigger,\n});\n","import RulesetLink from '../ruleset-link';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default RulesetLink.extend({\n  objectType: objectTypes.messengerTrigger,\n});\n","import { belongsTo } from '@ember-data/model';\nimport RulesetLink from '../ruleset-link';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default RulesetLink.extend({\n  object: belongsTo('posts/post', { async: false }),\n  objectType: objectTypes.post,\n});\n","import { belongsTo } from '@ember-data/model';\nimport RulesetLink from '../ruleset-link';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default RulesetLink.extend({\n  object: belongsTo('mobile-push/push', { async: false }),\n  objectType: objectTypes.push,\n});\n","import { belongsTo } from '@ember-data/model';\nimport RulesetLink from '../ruleset-link';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default RulesetLink.extend({\n  object: belongsTo('series/condition', { async: false }),\n  objectType: objectTypes.condition,\n});\n","import { belongsTo } from '@ember-data/model';\nimport RulesetLink from '../ruleset-link';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class extends RulesetLink {\n  @belongsTo('series/wait', { async: false }) object;\n  get objectType() {\n    return objectTypes.wait;\n  }\n}\n","import { belongsTo } from '@ember-data/model';\nimport RulesetLink from '../ruleset-link';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default RulesetLink.extend({\n  object: belongsTo('sms/sms', { async: false }),\n  objectType: objectTypes.sms,\n});\n","import { belongsTo } from '@ember-data/model';\nimport RulesetLink from '../ruleset-link';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class extends RulesetLink {\n  @belongsTo('tagger', { async: false }) object;\n\n  get objectType() {\n    return objectTypes.tagger;\n  }\n}\n","import { belongsTo } from '@ember-data/model';\nimport RulesetLink from '../ruleset-link';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default RulesetLink.extend({\n  object: belongsTo('tour', { async: false }),\n  objectType: objectTypes.tour,\n});\n","import Model, { attr, belongsTo } from '@ember-data/model';\nimport { inject as service } from '@ember/service';\nimport Admin from 'embercom/models/admin';\n\nexport default class RulesetVersion extends Model {\n  @service store;\n\n  @attr('date') createdAt;\n  @attr('number') createdBy;\n  @attr() contentStats;\n  @attr('number') uiIndex;\n  @attr('number') lastStateChangeAdminId;\n  @belongsTo('matching-system/ruleset', { async: false, inverse: null }) snapshot;\n\n  get creator() {\n    if (this.createdBy) {\n      return Admin.peekAndMaybeLoad(this.store, this.createdBy);\n    }\n    return null;\n  }\n\n  get lastStateChangeAdmin() {\n    if (this.lastStateChangeAdminId) {\n      return Admin.peekAndMaybeLoad(this.store, this.lastStateChangeAdminId);\n    }\n    return null;\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo, hasMany } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { and, equal, gt, lt, not, notEmpty, or, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { isAny } from '@intercom/embercom-core/lib/computed-properties';\nimport { task } from 'ember-concurrency';\nimport { copy } from 'ember-copy';\nimport { fragment } from 'ember-data-model-fragments/attributes';\nimport { post, put } from 'embercom/lib/ajax';\nimport nonconcurrentAjax from 'embercom/lib/nonconcurrent-ajax';\nimport { matchBehaviors, states } from 'embercom/models/data/matching-system/matching-constants';\nimport { contentWrapperTypes } from 'embercom/models/data/outbound/constants';\nimport TaggingMixin from 'embercom/models/mixins/tagging-mixin';\nimport RulesetValidations from 'embercom/validations/ruleset';\nimport Predicate from 'predicates/models/predicate';\nimport { isEmpty } from '@ember/utils';\nimport { objectWithVersions } from 'embercom/models/data/matching-system/matching-constants';\nimport { matchingLocations } from 'embercom/models/data/matching-system/matching-constants';\n\nconst REQUIRED_USERS_FOR_UI = 18;\nconst MAX_TESTS_ALLOWED = 2;\n\nexport default Model.extend(RulesetValidations, TaggingMixin, {\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  state: attr('number'),\n  isLive: equal('state', states.live),\n  isDraft: equal('state', states.draft),\n  isScheduled: equal('state', states.scheduled),\n  isPaused: equal('state', states.paused),\n  matchBehavior: attr('number'),\n  isMatchBehaviorSingle: equal('matchBehavior', matchBehaviors.single),\n  isMatchBehaviorStatic: equal('matchBehavior', matchBehaviors.static),\n  predicateGroup: fragment('predicates/predicate-group'),\n  clientPredicateGroup: fragment('predicates/predicate-group'),\n  rolePredicateGroup: fragment('predicates/predicate-group'),\n  rulesetLinks: hasMany('matching-system/ruleset-link', {\n    polymorphic: true,\n    async: false,\n  }),\n  matchingTimetable: fragment('matching-system/matching-timetable'),\n  scheduledActivation: fragment('matching-system/scheduled-state-change'),\n  scheduledDeactivation: fragment('matching-system/scheduled-state-change'),\n  goal: fragment('stats-system/goal'),\n  currentVersion: belongsTo('matching-system/ruleset-version'),\n  clientData: belongsTo('matching-system/client-data', {\n    async: false,\n  }),\n  node: computed(function() {\n    return this.store\n      .peekAll('series/node')\n      .find(node => Number(node.rulesetId) === Number(this.id));\n  }),\n  rulesetErrors: belongsTo('matching-system/ruleset-errors', { async: false }),\n  isNewRuleset: false,\n  isNotNewRuleset: not('isNewRuleset'),\n  isMemberOfSeries: notEmpty('node'),\n  createdAt: attr('date'),\n  audienceValid: and(\n    'validations.attrs.predicateGroup.isValid',\n    'validations.attrs.clientPredicateGroup.isValid',\n    'validations.attrs.userRolePredicate.isValid',\n  ),\n  isUsingWebOnlyPredicates: computed('clientPredicateGroup.predicates.@each.attribute', function() {\n    return [...Predicate.walkPredicates(this.clientPredicateGroup.predicates)].any(\n      predicate => predicate.isTimeOnPage || predicate.isPageTarget,\n    );\n  }),\n\n  hasMatchingTimetable: notEmpty('matchingTimetable'),\n  hasGoal: notEmpty('goal'),\n  hasNoGoal: not('hasGoal'),\n  userRolePredicate: computed(\n    'rolePredicateGroup.userPredicate',\n    'predicateGroup.userPredicate',\n    function() {\n      let predicateFromPredicateGroup = this.get('predicateGroup.userPredicate');\n      let predicateFromRolePredicateGroup = this.get('rolePredicateGroup.userPredicate');\n      if (predicateFromPredicateGroup && predicateFromRolePredicateGroup) {\n        throw new Error(\n          `Ruleset with id=${this.id} has user role predicates from both predicate groups`,\n        );\n      }\n      return predicateFromPredicateGroup || predicateFromRolePredicateGroup;\n    },\n  ),\n  userType: or('rolePredicateGroup.userType', 'predicateGroup.userType'),\n  tags: hasMany('tag', { async: true }),\n  taggings: hasMany('tagging'),\n  updateTaggingUrl: '/ember/content_service/contents/update_tags',\n\n  canCreateTest: lt('rulesetLinks.length', MAX_TESTS_ALLOWED),\n  hasTests: gt('rulesetLinks.length', 1),\n  hasControlGroup: isAny('rulesetLinks', 'isControlGroup', true),\n  hasDifferentRulesetLinkTypes: computed(\n    'rulesetLinks.length',\n    'rulesetLinks.@each.objectType',\n    function() {\n      let objectTypes = this.rulesetLinks.map(link => link.objectType);\n      return new Set(objectTypes).size === this.rulesetLinks.length;\n    },\n  ),\n\n  hasContentWithVersions: computed(\n    'rulesetLinks.length',\n    'rulesetLinks.@each.objectType',\n    function() {\n      let objectTypes = this.rulesetLinks.map(link => link.objectType);\n      return objectWithVersions.some(objectType => objectTypes.indexOf(objectType) >= 0);\n    },\n  ),\n\n  hasUnsavedChanges: computed(\n    'hasDirtyAttributes',\n    'rulesetLinks.@each.hasUnsavedChanges',\n    'clientData.hasUnsavedChanges',\n    function() {\n      return (\n        this.hasDirtyAttributes ||\n        this.rulesetLinks.any(link => link.hasUnsavedChanges) ||\n        this.clientData.hasUnsavedChanges\n      );\n    },\n  ),\n\n  isTriggeredByCode: computed('rulesetLinks.@each.matchingLocations', function() {\n    return this.rulesetLinks.any(rulesetLink =>\n      rulesetLink.matchingLocations.includes(matchingLocations.triggerFromCode),\n    );\n  }),\n\n  rollbackAttributes() {\n    this._super(...arguments);\n    this.rulesetLinks.forEach(link => link.rollbackAttributes());\n    this.clientData.rollbackAttributes();\n  },\n\n  async save() {\n    this.rulesetLinks.forEach(link => link.beforeSave());\n    await this._super(...arguments);\n    this.rulesetLinks.forEach(link => link.afterSave());\n  },\n\n  async activate(rulesetLinkId) {\n    let params = {\n      app_id: this.get('app.id'),\n      admin_id: this.get('app.currentAdmin.id'),\n    };\n    if (rulesetLinkId) {\n      params.ruleset_link_id = rulesetLinkId;\n    }\n    await put(`/ember/matching_system/rulesets/${this.id}/activate`, params);\n    await this.reload();\n  },\n\n  async deactivate(rulesetLinkId) {\n    let params = {\n      app_id: this.get('app.id'),\n      admin_id: this.get('app.currentAdmin.id'),\n    };\n    if (rulesetLinkId) {\n      params.ruleset_link_id = rulesetLinkId;\n    }\n    await put(`/ember/matching_system/rulesets/${this.id}/deactivate`, params);\n    await this.reload();\n  },\n\n  async schedule() {\n    let params = {\n      app_id: this.get('app.id'),\n      admin_id: this.get('app.currentAdmin.id'),\n    };\n    await put(`/ember/matching_system/rulesets/${this.id}/schedule`, params);\n    await this.reload();\n  },\n\n  async unschedule() {\n    let params = {\n      app_id: this.get('app.id'),\n      admin_id: this.get('app.currentAdmin.id'),\n    };\n    await put(`/ember/matching_system/rulesets/${this.id}/unschedule`, params);\n    await this.reload();\n  },\n\n  async reorder(priority) {\n    let params = {\n      app_id: this.get('app.id'),\n      admin_id: this.get('app.currentAdmin.id'),\n      priority,\n    };\n    await put(`/ember/matching_system/rulesets/${this.id}/reorder`, params);\n    await this.reload();\n  },\n\n  taggable: computed('taggings', 'updateTaggingsTask', function() {\n    return {\n      tags: [],\n      taggings: this.taggings,\n      type: 'content',\n      updateTaggings: (admin, addedTags, removedTags, initialTags) => {\n        return this.updateTaggingsTask.perform(addedTags, removedTags);\n      },\n    };\n  }),\n\n  updateTaggingsTask: task(function*(addedTags, removedTags) {\n    yield put(this.updateTaggingUrl, {\n      app_id: this.app.id,\n      added_tag_ids: addedTags.map(tag => tag.id),\n      removed_tag_ids: removedTags.map(tag => tag.id),\n      content_wrapper_id: this.id,\n      content_wrapper_type: contentWrapperTypes.ruleset,\n    });\n  }),\n\n  fetchAudiencePreviewTask: task(function*() {\n    yield this.fetchAudiencePreview();\n  }).restartable(),\n\n  _post(url, additionalData = {}) {\n    return this._request(url, 'POST', additionalData);\n  },\n\n  _request(url, requestType = 'POST', additionalData = {}) {\n    let data = Object.assign(additionalData, {\n      id: this.id,\n      app_id: this.get('app.id'),\n      admin_id: this.get('app.currentAdmin.id'),\n    });\n    if (requestType === 'POST') {\n      data = JSON.stringify(data);\n    }\n    return nonconcurrentAjax(this, {\n      url,\n      type: requestType,\n      data,\n    });\n  },\n\n  fetchAudiencePreview() {\n    let predicateGroup = copy(this.predicateGroup);\n    let rolePredicateGroup = copy(this.rolePredicateGroup);\n    return this.fetchAudiencePreviewRequest().then(response => {\n      let store = this.store;\n      let data = store.normalize('messages/audience-preview', {\n        users: response.users,\n        count: response.total_count,\n        limited: response.limited,\n      }).data.attributes;\n      data = Object.assign(data, { predicateGroup, rolePredicateGroup });\n      let audiencePreview = store.createFragment('messages/audience-preview', data);\n      this.set('audiencePreview', audiencePreview);\n    });\n  },\n\n  duplicate(params) {\n    return this._post(`/ember/matching_system/rulesets/${this.id}/duplicate`, params);\n  },\n\n  exportData(params) {\n    return this._post(`/ember/matching_system/rulesets/${this.id}/export`, params);\n  },\n\n  predicatesForAudiencePreview() {\n    let predicates = this.get('predicateGroup.predicates').serialize();\n    let rolePredicates = this.get('rolePredicateGroup.predicates').serialize();\n    let implicitPredicates = this.implicitPredicates || [];\n    let additionalPredicates = this.additionalPredicates;\n    return predicates\n      .concat(rolePredicates)\n      .concat(implicitPredicates)\n      .concat(additionalPredicates);\n  },\n\n  additionalPredicates: computed('node.series.exitPredicateGroup.predicates.[]', function() {\n    if (this.isMemberOfSeries && this.node.series?.hasExitRules) {\n      return this.negatePredicates(this.node.series.exitPredicateGroup.predicates.serialize());\n    }\n    return [];\n  }),\n\n  negatePredicates(predicates) {\n    return [\n      {\n        type: 'not',\n        predicates,\n      },\n    ];\n  },\n\n  fetchAudiencePreviewRequest() {\n    let allPredicates = this.predicatesForAudiencePreview();\n    let params = {\n      app_id: this.get('app.id'),\n      predicates: allPredicates,\n      page: 1,\n      per_page: REQUIRED_USERS_FOR_UI,\n      include_count: true,\n    };\n    return this._post('/ember/users/search.json', params);\n  },\n\n  implicitPredicates: computed('rulesetLinks.@each.implicitPredicates', function() {\n    // The logic here should be kept in sync with the backend's ImplicitPredicatesGenerator\n    let implicitPredicates = this.rulesetLinks\n      .filter(link => !link.isControlGroup && link.object)\n      .map(link => link.implicitPredicates);\n    let uniqueImplicitPredicates = new Set(implicitPredicates);\n    if (uniqueImplicitPredicates.size === 1) {\n      return uniqueImplicitPredicates.values().next().value;\n    }\n    let flattenedPredicates = [...uniqueImplicitPredicates].flat();\n    if (isEmpty(flattenedPredicates)) {\n      return [];\n    }\n    return [\n      {\n        type: 'or',\n        predicates: flattenedPredicates,\n      },\n    ];\n  }),\n}).reopenClass({\n  async createForType(store, params) {\n    let response = await post('/ember/matching_system/rulesets', params);\n    store.pushPayload('matching-system/ruleset', { 'matching-system/rulesets': [response] });\n    let ruleset = store.peekRecord('matching-system/ruleset', response.id);\n    ruleset.set('isNewRuleset', true);\n    return ruleset;\n  },\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { inject as service } from '@ember/service';\nimport moment from 'moment';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\n\nexport default class ScheduledStateChange extends Fragment {\n  @service appService;\n  @attr('number') changeStatus;\n  @attr('number') changeType;\n  @attr('date') changeAt;\n  @attr('number') timezoneType;\n\n  get appTimezone() {\n    return this.appService.app.timezone;\n  }\n\n  get humanReadableChangeAt() {\n    return moment(this.changeAt)\n      .tz(this.appTimezone)\n      .format(dateAndTimeFormats.dateHumanized);\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  newState: attr('number'),\n  changedById: attr('number'),\n  createdAt: attr('date'),\n});\n","import { attr } from '@ember-data/model';\nimport MF from 'ember-data-model-fragments';\nimport { computed } from '@ember/object';\nimport { DAY_IN_MINUTES } from 'embercom/components/matching-system/matching-timetable-editor';\n\nexport default MF.Fragment.extend({\n  startMinute: attr(),\n  endMinute: attr(),\n  startMinuteOffset: computed('startDay', function() {\n    return this.startDay * DAY_IN_MINUTES;\n  }),\n  endMinuteOffset: computed('endDay', function() {\n    return this.endDay * DAY_IN_MINUTES;\n  }),\n  adjustedStartMinute: computed('startMinute', 'startMinuteOffset', function() {\n    return this.startMinute - this.startMinuteOffset;\n  }),\n  adjustedEndMinute: computed('endMinute', 'endMinuteOffset', function() {\n    return this.endMinute - this.endMinuteOffset;\n  }),\n  startDay: computed('startMinute', function() {\n    return Math.floor(this.startMinute / DAY_IN_MINUTES) % 7;\n  }),\n  endDay: computed('endMinute', function() {\n    return Math.floor(this.endMinute / DAY_IN_MINUTES) % 7;\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, hasMany } from '@ember-data/model';\nimport { fragment } from 'ember-data-model-fragments/attributes';\n\nexport default Model.extend({\n  appId: attr('string'),\n  appName: attr('string'),\n  teammate: fragment('meeting-scheduler/teammate'),\n  slots: hasMany('meeting-scheduler/slot'),\n  emailFromConversation: attr('string'),\n  userIdFromConversation: attr('string'),\n  timezone: attr('string'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { or } from '@ember/object/computed';\nimport { applyFunction } from '@intercom/embercom-core/lib/computed-properties';\nimport moment from 'moment';\n\nexport default Model.extend({\n  startTime: attr('date'),\n  duration: attr('number'),\n  booked: attr('boolean'),\n\n  notBookable: or('booked', 'startInPast'),\n\n  start: applyFunction(moment, 'startTime'),\n  date: computed('start', function() {\n    return this.start.format('YYYY-MM-DD');\n  }),\n  startInPast: computed('start', function() {\n    return this.start.diff(moment(new Date())) < 0;\n  }),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport AdminAvatarData from 'embercom/models/mixins/admin-avatar-data';\n\nexport default Fragment.extend(AdminAvatarData, {\n  firstName: attr('string'),\n  jobTitle: attr('string'),\n  city: attr('string'),\n  avatar: attr(),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  all: attr('number'),\n  live: attr('number'),\n  stopped: attr('number'),\n  draft: attr('number'),\n  scheduled: attr('number'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, hasMany } from '@ember-data/model';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { fragment } from 'ember-data-model-fragments/attributes';\n\nexport default Model.extend({\n  appService: service(),\n  name: attr('string'),\n  appId: attr('string'),\n  createdAt: attr('date'),\n  messages: hasMany('message'),\n  messageCounts: fragment('message-counts'),\n\n  app: readOnly('appService.app'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { belongsTo, attr, hasMany } from '@ember-data/model';\nimport { notEmpty, equal, reads, and, gt, not, readOnly, or } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { fragment, fragmentArray } from 'ember-data-model-fragments/attributes';\nimport MessageVariationValidations from 'embercom/validations/message-variation';\nimport {\n  applyFunction,\n  equalToProperty,\n  objectAtProperty,\n  templateString,\n  ternary,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport StateProperties from 'embercom/models/mixins/common/states/state-properties';\nimport VariationUIConcern from 'embercom/models/mixins/messages/variation-ui-concern';\nimport generatePreviewBlocks from 'embercom/lib/blocks/generate-preview-blocks';\nimport nonconcurrentAjax from 'embercom/lib/nonconcurrent-ajax';\nimport MESSAGE_CONSTANTS from 'embercom/models/data/messages/message-constants';\nimport composerPresetForOptions from 'embercom/models/data/messages/composer-presets';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport moment from 'moment';\nimport Admin from 'embercom/models/admin';\n\nexport default Model.extend(MessageVariationValidations, StateProperties, VariationUIConcern, {\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  message: belongsTo('message'),\n  state: attr('string'),\n\n  isVariationA: equalToProperty('message.variationA.id', 'id'),\n  label: ternary('isVariationA', 'A', 'B'),\n  isControlGroup: false,\n  nameOfMessageRelationship: templateString('variation${label}'),\n\n  analyticsData: computed('messageStyle', function() {\n    return {\n      id: this.id,\n      object: 'message-variation',\n      message_style: this.messageStyle,\n      assignment_strategy: this.assignmentStrategy,\n      links_count: this.get('clickTrackingLinks.length'),\n    };\n  }),\n\n  assignToId: attr(),\n  assignTo: computed('assignToId', function() {\n    return Admin.peekAndMaybeLoad(this.store, this.assignToId);\n  }),\n  fromId: attr(),\n  from: computed('fromId', function() {\n    if (this.fromId) {\n      return Admin.peekAndMaybeLoad(this.store, this.fromId);\n    }\n  }),\n\n  emailAddressForApp: readOnly('from.email_address_for_app'),\n  templatedEmailAddressForApp: computed('emailAddressForApp', function() {\n    return `<${this.emailAddressForApp}>`;\n  }),\n\n  dynamicSender: attr(),\n  dynamicAssignee: attr(),\n\n  pushOnlyURIs: fragment('messages/push-only-uri'),\n\n  customFromAddress: belongsTo('custom-email-address', { async: true }),\n  hasCustomFromAddress: notEmpty('customFromAddress.content'),\n  customReplyToAddress: belongsTo('custom-email-address', { async: true }),\n  hasCustomReplyToAddress: notEmpty('customReplyToAddress.content'),\n\n  fromDisplayAs: ternaryToProperty(\n    'hasCustomFromAddress',\n    'customFromAddress.displayAs',\n    'from.localized_sender_name',\n  ),\n\n  wentLiveAt: attr('date'),\n  stoppedAt: attr('date'),\n  createdAt: attr('date'),\n  updatedAt: attr('date'),\n\n  blocks: fragmentArray('common/blocks/block', { polymorphic: true, typeKey: 'modelKey' }),\n  json_blocks: [],\n  clickTrackingLinks: hasMany('message-variation/click-tracking-link'),\n\n  resetLegacyJsonBlocks() {\n    // Legacy conversion to allow us to work with old components. Should be killed when Beckett is fully released.\n    this.set(\n      'json_blocks',\n      this.blocks.map(block => block.serialize()),\n    );\n  },\n\n  didUpdate() {\n    this._super(...arguments);\n    this.resetLegacyJsonBlocks();\n  },\n\n  didLoad() {\n    this._super(...arguments);\n    this.resetLegacyJsonBlocks();\n  },\n\n  messageStyle: attr('number'),\n  deliveryOption: attr('string'),\n  subject: attr('string'),\n  replyType: attr('string'),\n  assignmentStrategy: attr('string'),\n  pointerSelector: attr('string'),\n\n  reactions: fragmentArray('messages/reaction', { defaultValue: () => [] }),\n  isReactionsReply: equal('replyType', MESSAGE_CONSTANTS.reactionsReply),\n  isTextReply: equal('replyType', MESSAGE_CONSTANTS.textReply),\n  isAttributeCollectorReply: equal('replyType', MESSAGE_CONSTANTS.attributeCollectorReply),\n  hasRepliesDisabled: equal('replyType', MESSAGE_CONSTANTS.repliesDisabled),\n\n  messageStyleNames: ['chat', 'post', 'note', 'video', 'pointer'],\n  messageStyleName: objectAtProperty('messageStyleNames', 'messageStyle'),\n\n  isPost: equal('messageStyle', 1),\n  isNote: equal('messageStyle', 2),\n  isChat: equal('messageStyle', 0),\n  isVideo: equal('messageStyle', 3),\n  isPointer: equal('messageStyle', 4),\n\n  isEmail: reads('message.isEmail'),\n  isMobilePush: reads('message.isMobilePush'),\n  isInApp: reads('message.isInApp'),\n\n  isVisitorAutoMessage: reads('message.isVisitorAutoMessage'),\n  isUAMEmailCollectorEnabled: and('message.isAutoMessage', 'app.canUseContentOrientedNavigation'),\n  canUseAttributeCollector: or('isVisitorAutoMessage', 'isUAMEmailCollectorEnabled'),\n  supportsAttributeCollectorReplyType: and('isChat', 'canUseAttributeCollector'),\n\n  isFull: equal('deliveryOption', 'full'),\n  isSummary: equal('deliveryOption', 'summary'),\n  isBadge: equal('deliveryOption', 'badge'),\n\n  hasBeenSent: gt('stats.sentCount', 0),\n  hasNotBeenSent: not('hasBeenSent'),\n\n  canSetRoundRobin: and('message.app.inboxIsActive', 'assignTo.isTeam'),\n  assignWithRoundRobin: equal('assignmentStrategy', MESSAGE_CONSTANTS.roundRobin),\n\n  stats: belongsTo('messages/variation-stats'),\n  previewBlocks: applyFunction(generatePreviewBlocks, 'blocks'),\n\n  emailTemplate: belongsTo('email-template', { async: true }),\n\n  isHtmlMode: readOnly('emailTemplate.isHtmlMode'),\n\n  styleLabel: computed(\n    'isEmail',\n    'isMobilePush',\n    'isPost',\n    'isNote',\n    'isChat',\n    'isPointer',\n    function() {\n      let label = 'Email'; // default to email\n      if (this.isMobilePush) {\n        label = 'Push Message';\n      } else if (this.isPost) {\n        label = 'Post';\n      } else if (this.isNote) {\n        label = 'Note';\n      } else if (this.isChat) {\n        label = 'Chat';\n      } else if (this.isPointer) {\n        label = 'Pointer';\n      }\n      return label;\n    },\n  ),\n\n  styleIcon: computed(\n    'isEmail',\n    'isMobilePush',\n    'isPost',\n    'isNote',\n    'isChat',\n    'isPointer',\n    function() {\n      let icon = 'sent-message'; // default to email\n      if (this.isMobilePush) {\n        icon = 'push-notification';\n      } else if (this.isPost) {\n        icon = 'inapp-post';\n      } else if (this.isNote) {\n        icon = 'inapp-note';\n      } else if (this.isPointer) {\n        icon = 'inapp-pointer';\n      } else if (this.isChat) {\n        icon = 'chat-bubble';\n      }\n      return icon;\n    },\n  ),\n\n  humanReadableCreationDate: computed('createdAt', function() {\n    return moment(this.createdAt).fromNow();\n  }),\n\n  localeFormattedCreatedAtDate: computed('createdAt', function() {\n    return moment(this.createdAt).format(dateAndTimeFormats.fullDateAndTimeWithoutTimezone);\n  }),\n\n  //Temporary while we support both old and new variation models\n  isReactionOrLWRReply: reads('isReactionsReply'),\n\n  //Exposed for factories\n  rawBlocks: attr({ defaultValue: undefined }),\n\n  htmlPreview: '',\n\n  composerPreset(isReadOnly, isMobile) {\n    return composerPresetForOptions(this, {\n      isReadOnly,\n      isMobile,\n      canCreateVideoAutoMessages: this.get('app.canCreateVideoAutoMessages'),\n    });\n  },\n\n  activate() {\n    return this._post('/ember/message_variations/activate', {\n      message_id: this.get('message.id'),\n    }).then(response =>\n      this.store.pushPayload({\n        'message-variations': [response],\n      }),\n    );\n  },\n\n  deactivate() {\n    return this._post('/ember/message_variations/deactivate', {\n      message_id: this.get('message.id'),\n    }).then(response =>\n      this.store.pushPayload({\n        'message-variations': [response],\n      }),\n    );\n  },\n\n  generateHtmlPreview() {\n    return this._post(\n      '/ember/message_variations/generate_html_preview',\n      Object.assign(this.serialize(), {\n        selection_state: this.get('message.selectionState').serialize(),\n        show_unsubscribe_link: this.get('message.showUnsubscribeLink'),\n        preview_user_id: this.get('message.sampleUser.user_id'),\n      }),\n    ).then(response => this.set('htmlPreview', response));\n  },\n\n  sendPreviewEmails(outboundAddresses, sendPreviewUserId) {\n    return this._post(\n      `/ember/messages/send_preview_emails`,\n      Object.assign(this.serialize(), {\n        outbound_addresses: outboundAddresses,\n        selection_state: this.get('message.selectionState').serialize(),\n        show_unsubscribe_link: this.get('message.showUnsubscribeLink'),\n        preview_user_id: sendPreviewUserId ? this.get('message.sampleUser.user_id') : undefined,\n      }),\n    );\n  },\n\n  _post(url, additionalData = {}) {\n    return this._request(url, 'POST', additionalData);\n  },\n\n  _request(url, requestType = 'POST', additionalData = {}) {\n    return nonconcurrentAjax(this, {\n      url,\n      type: requestType,\n      data: JSON.stringify(\n        Object.assign(additionalData, {\n          id: this.id,\n          app_id: this.get('message.appId'),\n          admin_id: this.get('message.app.currentAdmin.id'),\n        }),\n      ),\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { belongsTo, attr } from '@ember-data/model';\n\nexport default Model.extend({\n  variation: belongsTo('message-variation'),\n  url: attr('string'),\n  clicks: attr('number'),\n  linkType: attr('string'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { belongsTo, attr, hasMany } from '@ember-data/model';\nimport { A } from '@ember/array';\nimport { computed } from '@ember/object';\nimport {\n  and,\n  bool,\n  empty,\n  equal,\n  gt,\n  mapBy,\n  not,\n  notEmpty,\n  or,\n  readOnly,\n  reads,\n} from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { isNone } from '@ember/utils';\nimport { fragment, fragmentArray } from 'ember-data-model-fragments/attributes';\nimport {\n  addProperties,\n  greaterThanProperty,\n  isAny,\n  subtractFrom,\n  ternary,\n  valueOrDefault,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport nonconcurrentAjax from 'embercom/lib/nonconcurrent-ajax';\nimport MESSAGE_CONSTANTS from 'embercom/models/data/messages/message-constants';\nimport MESSAGE_DEFAULTS from 'embercom/models/data/messages/message-defaults';\nimport SortableMessage from 'embercom/models/mixins/apps/app/messages/sortable-message';\nimport StateProperties from 'embercom/models/mixins/common/states/state-properties';\nimport MessageRollback from 'embercom/models/mixins/messages/message-rollback';\nimport MessageUIConcern from 'embercom/models/mixins/messages/message-ui-concern';\nimport MutatableMessage from 'embercom/models/mixins/mutatable-message';\nimport MessageValidations from 'embercom/validations/message';\nimport moment from 'moment';\nimport { hasNestedPredicates } from 'embercom/lib/predicates-helper';\nimport TaggingMixin from 'embercom/models/mixins/tagging-mixin';\nimport { reject } from 'rsvp';\n\n// The message state is inherited from its variations.\n// The state of the message is based on the highest priority variation state.\n// This is the prioritized list of states. ** DO NOT CHANGE WITHOUT REASON **\nconst PRIORITIZED_STATES = ['live', 'scheduled', 'stopped', 'draft'];\nconst REQUIRED_USERS_FOR_UI = 18;\nconst UNASSIGNED_ASSIGNEE_ID = 0;\n\nexport default Model.extend(\n  MutatableMessage,\n  MessageValidations,\n  StateProperties,\n  MessageUIConcern,\n  MessageRollback,\n  SortableMessage,\n  TaggingMixin,\n  {\n    appService: service(),\n    app: readOnly('appService.app'),\n    appId: readOnly('app.id'),\n\n    campaign: belongsTo('campaign', { async: true }),\n    folder: belongsTo('message-folder', { async: true }),\n    dependencies: belongsTo('messages/dependencies', { async: true }),\n\n    belongsToCampaign: notEmpty('campaign.content'),\n    belongsToFolder: notEmpty('folder.content'),\n\n    rollbackRelationshipNamesWhitelist: A(['variations']),\n\n    state: attr('string'),\n    type: attr('string'),\n    created_via: attr('string'),\n    created_via_version: attr('number'),\n    classType: attr('string'),\n    stoppedAt: attr('date'),\n    scheduledToGoLiveAt: attr('date'),\n    dueToStopAt: attr('date'),\n    pageTarget: fragment('messages/page-target'),\n    hasPageTargeting: readOnly('pageTarget.present'),\n    sendPushNotification: attr('boolean'),\n    firstWentLiveAt: attr('date'),\n    hasNoPushNotifications: not('sendPushNotification'),\n    isToBeScheduled: notEmpty('scheduledToGoLiveAt'),\n\n    tags: hasMany('tag', { async: true }),\n    taggings: hasMany('tagging'),\n\n    deliveryChannel: attr('number'),\n    hasNoDeliveryChannel: equal('deliveryChannel', MESSAGE_CONSTANTS.noChannel),\n    hasDeliveryChannel: not('hasNoDeliveryChannel'),\n    isWebFirst: equal('deliveryChannel', MESSAGE_CONSTANTS.webChannel),\n    isNotWebFirst: not('isWebFirst'),\n    isIOSFirst: equal('deliveryChannel', MESSAGE_CONSTANTS.iosChannel),\n    isAndroidFirst: equal('deliveryChannel', MESSAGE_CONSTANTS.androidChannel),\n    isMobileFirst: or('isAndroidFirst', 'isIOSFirst'),\n    isAnyPlatformFirst: equal('deliveryChannel', MESSAGE_CONSTANTS.anyChannel),\n    containsPointerMessage: isAny('variations', 'isPointer'),\n\n    isDueToStop: notEmpty('dueToStopAt'),\n    isNotDueToStop: not('isDueToStop'),\n\n    showUnsubscribeLink: attr('boolean'),\n    forceUnsubscribeLink: and(\n      'isManualMessage',\n      'isEmail',\n      'unsubscribeLinkRecipientThresholdExceeded',\n    ),\n    unsubscribeLinkRecipientThresholdExceeded: greaterThanProperty(\n      'audiencePreview.count',\n      'app.unsubscribe_link_recipient_threshold',\n    ),\n    selectionState: fragment('messages/selection-state'),\n\n    //@pat We need to separate the selection state validation due to an issue where existing predicates are in a weird state fail validation. See https://github.com/intercom/intercom/issues/59886 for more details.\n    selectionStateValuesAreValid: readOnly('selectionState.allPredicatesAreValid'),\n    goalPredicatesAreValid: or('hasNoGoal', 'goal.allPredicatesAreValid'),\n\n    validationsSucceed: and(\n      'validations.isValid',\n      'selectionStateValuesAreValid',\n      'goalPredicatesAreValid',\n    ),\n    validationsFail: not('validationsSucceed'),\n\n    messageGroupId: attr('number'),\n    messageGroupName: attr('string'),\n    messageGroupOrder: attr('number', { defaultValue: 0 }),\n\n    versionLock: attr('number'),\n\n    campaignMessageGroupId: attr('number'),\n    isAutoMessage: equal('classType', 'auto'),\n    isCampaignMessage: equal('classType', 'campaign'),\n    isNotCampaignMessage: not('isCampaignMessage'),\n    isVisitorAutoMessage: equal('classType', 'visitorauto'),\n    isNotVisitorAutoMessage: not('isVisitorAutoMessage'),\n    isManualMessage: equal('classType', 'manual'),\n    isNotManualMessage: not('isManualMessage'),\n    isAutoOrVisitorMessage: or('isAutoMessage', 'isVisitorAutoMessage'),\n    isNotCampaignMessageInNonDraftCampaign: or('isNotCampaignMessage', 'campaign.isDraft'),\n\n    isCampaignOrAutoMessage: or('isCampaignMessage', 'isAutoMessage'),\n    isNotCampaignOrAutoMessage: not('isCampaignOrAutoMessage'),\n    isCampaignOrAutoOrVisitorAutoMessage: or(\n      'isCampaignMessage',\n      'isAutoMessage',\n      'isVisitorAutoMessage',\n    ),\n\n    isDraftCampaignWithCampaignBehaviorPredicates: and(\n      'isCampaignMessage',\n      'campaign.isDraft',\n      'selectionState.hasCampaignBehaviorPredicates',\n    ),\n    isNotDraftCampaignWithCampaignBehaviorPredicates: not(\n      'isDraftCampaignWithCampaignBehaviorPredicates',\n    ),\n\n    isCampaignWithNoEntryPredicates: and('isCampaignMessage', 'campaign.hasNoEntryPredicateGroup'),\n    isNotCampaignWithNoEntryPredicates: not('isCampaignWithNoEntryPredicates'),\n\n    isDirectMessage: and('isManualMessage', 'selectionState.isSelectionBased'),\n    isNotDirectMessage: not('isDirectMessage'),\n\n    canCreateBVariation: and(\n      'hasSingleVariation',\n      'isCampaignOrAutoOrVisitorAutoMessage',\n      'isNotVideoMessage',\n      'hasNoControlGroup',\n    ),\n\n    isValidForAudiencePreviewUpdate: and(\n      'selectionState.isNotSelectionBased',\n      'selectionState.userAddedPredicatesAreTrackedAndValidOrEmpty',\n      'isNotCampaignMessageInNonDraftCampaign',\n      'isNotVisitorAutoMessage',\n      'isNotDraftCampaignWithCampaignBehaviorPredicates',\n      'isNotCampaignWithNoEntryPredicates',\n    ),\n    isValidForCampaignAudiencePreviewUpdate: and(\n      'isCampaignMessage',\n      'campaign.isNotDraft',\n      'selectionState.userAddedPredicatesAreTrackedAndValidOrEmpty',\n    ),\n\n    sampleUser: null,\n\n    title: attr('string'),\n\n    controlGroup: belongsTo('messages/control-group', { async: false }),\n    hasNoControlGroup: empty('controlGroup'),\n    hasControlGroup: not('hasNoControlGroup'),\n    variations: hasMany('message-variation'),\n    hasMultipleVariations: gt('variations.length', 1),\n    hasSingleVariation: not('hasMultipleVariations'),\n    variationA: reads('variations.firstObject'),\n    variationB: computed('hasMultipleVariations', 'variations.lastObject', function() {\n      return this.hasMultipleVariations ? this.get('variations.lastObject') : null;\n    }),\n    hasStoppedVariation: or('variationA.isStopped', 'variationB.isStopped'),\n\n    hasAnyHtmlVariation: or('variationA.isHtmlMode', 'variationB.isHtmlMode'),\n    isNotVideoMessage: not('variationA.isVideo'),\n\n    canBePaused: and('isLive', 'isCampaignOrAutoOrVisitorAutoMessage'),\n\n    isEditableManualMessage: and('isManualMessage', 'isDraft'),\n    canBeEdited: or('isEditableManualMessage', 'isNotManualMessage'),\n\n    canBeSetLive: computed(\n      'isManualMessage',\n      'isDraft',\n      'isStopped',\n      'hasStoppedVariation',\n      'campaign.state',\n      function() {\n        if (this.get('campaign.isNotLive')) {\n          return false;\n        } else if (this.isManualMessage) {\n          return this.isDraft;\n        } else {\n          return this.isDraft || this.isStopped || this.hasStoppedVariation;\n        }\n      },\n    ),\n\n    canNotBeAutoSaved: or('isLive', 'isScheduled'),\n    canBeAutoSaved: not('canNotBeAutoSaved'),\n\n    operatorLeadQualificationEnabled: attr('boolean'),\n    answerBotEnabled: attr('boolean'),\n    canHaveAnswerBotFollowup: readOnly('isInApp'),\n    isAttributeCollectorReply: isAny('variations', 'isAttributeCollectorReply'),\n    hasFollowUpRules: readOnly('isAttributeCollectorReply'),\n    isInAppAndUAMFollowUpActionsEnabled: and('isInApp', 'app.canUseContentOrientedNavigation'),\n    canHaveFollowUp: or(\n      'canHaveAnswerBotFollowup',\n      'isVisitorAutoMessage',\n      'isInAppAndUAMFollowUpActionsEnabled',\n    ),\n    followUpRules: fragmentArray('rules/rule'),\n\n    goal: fragment('messages/goal'),\n    hasGoal: notEmpty('goal'),\n    hasNoGoal: not('hasGoal'),\n\n    deliveryWindow: fragment('messages/delivery-window'),\n    hasDeliveryWindow: notEmpty('deliveryWindow'),\n    hasNoDeliveryWindow: not('hasDeliveryWindow'),\n\n    hasDeliveryConditions: or(\n      'selectionState.hasTimeOnPagePredicates',\n      'selectionState.hasPageTargetPredicates',\n    ),\n\n    audiencePreview: fragment('messages/audience-preview'),\n    campaignAudiencePreview: belongsTo('messages/campaign-audience-preview'),\n\n    isEmail: equal('type', MESSAGE_CONSTANTS.emailType),\n    isNotEmail: not('isEmail'),\n    isInApp: equal('type', MESSAGE_CONSTANTS.inAppType),\n    isNotInApp: not('isInApp'),\n    isMobilePush: equal('type', MESSAGE_CONSTANTS.pushType),\n    isNotMobilePush: not('isMobilePush'),\n    isInAppAndNotInCampaign: and('isInApp', 'isNotCampaignMessage'),\n    isInAppAndDeliveryWindowsEnabled: and('isInAppAndNotInCampaign', 'hasNoPushNotifications'),\n    canEditDeliveryWindows: or('isEmail', 'isMobilePush', 'isInAppAndDeliveryWindowsEnabled'),\n\n    clientData: fragment('messages/client-data'),\n    recipients: fragmentArray('messages/recipient'),\n    hasDisplayableUser: notEmpty('recipients'),\n    recipientsDisplayAs: mapBy('recipients', 'displayAs'),\n    recipientCount: reads('selectionState.count'),\n    recipientCountWithDisplayableUser: subtractFrom('recipientCount', 1),\n    hasMultipleRecipients: gt('selectionState.count', 1),\n    hasExamplePredicates: notEmpty('clientData.examplePredicates'),\n    hasNoExamplePredicates: not('hasExamplePredicates'),\n    isTargetingLeads: reads('selectionState.isTargetingLeads'),\n\n    feature: computed(\n      'isVisitorAutoMessage',\n      'isCampaignMessage',\n      'isAutoMessage',\n      'isManualMessage',\n      function() {\n        if (this.isEmail) {\n          return 'email_messages';\n        }\n\n        if (this.isVisitorAutoMessage) {\n          return 'visitor_auto_messaging';\n        }\n\n        if (this.isManualMessage) {\n          return 'manual_messaging';\n        }\n\n        if (this.isAutoMessage) {\n          return 'auto_messaging';\n        }\n\n        if (this.isCampaignMessage) {\n          return 'smart_campaigns';\n        }\n      },\n    ),\n\n    hasBeenSent: or('variationsHaveBeenSent', 'controlGroupHasBeenSent'),\n    variationsHaveBeenSent: isAny('variations', 'hasBeenSent'),\n    controlGroupHasBeenSent: readOnly('controlGroup.hasBeenSent'),\n    variationASends: valueOrDefault('variationA.stats.sentCount', 0),\n    variationBSends: valueOrDefault('variationB.stats.sentCount', 0),\n    totalSends: addProperties('variationASends', 'variationBSends'),\n\n    remainingSendCount: computed('recipientCount', 'totalSends', function() {\n      return Math.max(this.recipientCount - this.totalSends, 0);\n    }),\n\n    hasRemainingSendCount: gt('remainingSendCount', 0),\n    isStoppableManualMessage: and('isLive', 'isManualMessage', 'isInApp', 'hasNoPushNotifications'),\n    isManualMessageWithPendingSends: and('isStoppableManualMessage', 'hasRemainingSendCount'),\n    sendingStatus: ternary('isManualMessageWithPendingSends', 'Sending', 'Sent'),\n\n    // Set by the editor during composer upload.\n    // Exposed as a computed property for validation purposes\n    isUploading: bool('_isUploading'),\n    isNotUploading: not('isUploading'),\n\n    updateTaggingUrl: '/ember/content_service/contents/update_tags',\n\n    analyticsData: computed(\n      'variations',\n      'selectionState.userAddedPredicatesAsJSON',\n      'selectionState.hasEmailDisengagementPredicate',\n      'hasDeliveryWindow',\n      'controlGroup',\n      function() {\n        return {\n          id: this.id,\n          object: 'message',\n          has_message_delivery_window: this.hasDeliveryWindow,\n          has_enabled_exclude_disengaged_users: this.get(\n            'selectionState.hasEmailDisengagementPredicate',\n          ),\n          predicates: this.get('selectionState.userAddedPredicatesAsJSON'),\n          variations: this.variations.map(variation => variation.get('analyticsData')),\n          has_control_group: this.hasControlGroup,\n          control_group: this.hasControlGroup ? this.get('controlGroup.analyticsData') : null,\n          class_type: this.classType,\n          has_nested_logical_predicates: hasNestedPredicates(this.get('selectionState.predicates')),\n        };\n      },\n    ),\n\n    displayFirstWentLiveAtDate: computed('firstWentLiveAt', function() {\n      let firstWentLiveAt = this.firstWentLiveAt;\n      return firstWentLiveAt ? moment.utc(firstWentLiveAt).fromNow() : 'Never';\n    }),\n    formattedFirstWentLiveAtDate: computed('firstWentLiveAt', function() {\n      let firstWentLiveAt = this.firstWentLiveAt;\n      return firstWentLiveAt\n        ? moment.utc(firstWentLiveAt).format(dateAndTimeFormats.fullDateAndTimeWithoutTimezone)\n        : 'Never';\n    }),\n\n    redirectRulesetId: attr('string'),\n    redirectContentType: attr('string'),\n\n    shouldRedirectToContentObject: and('redirectRulesetId', 'redirectContentType'),\n\n    implicitPredicates() {\n      return this.selectionState.implicitPredicatesForMessage(this);\n    },\n\n    updateStateFromVariations() {\n      let variationStates = this.variations.map(variation => variation.get('state'));\n      let highestPriorityState = PRIORITIZED_STATES.find(state => variationStates.includes(state));\n      this.store.push(\n        this.store.normalize('message', { id: this.id, state: highestPriorityState }),\n      );\n    },\n\n    getDefaultValues() {\n      let defaults = MESSAGE_DEFAULTS;\n\n      let template = this.store.peekRecord(\n        'email-template',\n        this.get('app.default_email_template_id'),\n      );\n      defaults.variationA.emailTemplate = template;\n      defaults.variationB.emailTemplate = template;\n\n      return defaults;\n    },\n\n    latestDependencies() {\n      return this.store.findRecord('messages/dependencies', this.id);\n    },\n\n    activate() {\n      if (this.hasUnsavedMutations) {\n        console.error(`Last mutated at: ${this.get('mutations.lastMutatedAt')}`);\n        console.error(`Last saved at:   ${this.get('mutations.lastSavedAt')}`);\n        throw new Error(`Attempting to activate a message with pending changes`);\n      }\n      return this._post('/ember/messages/activate', {\n        ui_recipient_count: this.lastRecipientCount,\n      })\n        .then(() => {\n          if (this.isVisitorAutoMessage) {\n            this.incrementProperty('app.liveVisitorAutoMessageCount');\n          }\n        })\n        .then(() => this.reload());\n    },\n\n    deactivate() {\n      return this._post('/ember/messages/deactivate')\n        .then(() => {\n          if (this.isVisitorAutoMessage) {\n            this.decrementProperty('app.liveVisitorAutoMessageCount');\n          }\n        })\n        .then(() => this.reload());\n    },\n\n    duplicate(options) {\n      return this._post('/ember/messages/duplicate', {\n        type: options.messageType,\n      });\n    },\n\n    isLocked() {\n      throw new Error('isLocked message not yet implemented');\n    },\n\n    schedule(options) {\n      if (this.hasUnsavedMutations) {\n        throw new Error('Attempting to schedule a message with pending changes');\n      } else {\n        let params = Object.assign({ id: this.id }, options);\n        return this._post('/ember/messages/schedule', params).then(() => this.reload());\n      }\n    },\n\n    removeSchedule() {\n      return this._post('/ember/messages/remove_schedule').then(() => this.reload());\n    },\n\n    fetchDependencies() {\n      return this._get(`ember/messages/dependencies/${this.id}`);\n    },\n\n    move(options) {\n      let params = Object.assign({ id: this.id }, options);\n      return this._post('/ember/messages/move', params).then(() => this.reload());\n    },\n\n    startABTest() {\n      return this._post('/ember/messages/start_ab_test', { id: this.id }).then(response => {\n        let normalizedVariation = this.store.normalize(\n          'message-variation',\n          Object.assign(this.variationA.serialize(), {\n            id: response.id,\n            state: 'draft',\n            stats: null,\n            updated_at: null,\n            went_live_at: null,\n            stopped_at: null,\n            created_at: new Date(),\n          }),\n        );\n        this.store.push(normalizedVariation);\n      });\n    },\n\n    createControlGroup() {\n      return this._post('/ember/messages/create_control_group', { id: this.id }).then(response => {\n        this.store.push(this.store.normalize('messages/control-group', response));\n        let controlGroup = this.store.peekRecord('messages/control-group', response.id);\n        controlGroup.set('message', this);\n      });\n    },\n\n    changeSubclassType(params) {\n      if (this.isDraft) {\n        return this._post('/ember/messages/change_subclass_type', {\n          id: this.id,\n          type: params.type,\n        }).then(response => {\n          this.set('classType', response.class_type);\n        });\n      } else {\n        return reject();\n      }\n    },\n\n    versionLockInfo() {\n      let params = {};\n      try {\n        params = { tab_identifier: sessionStorage.getItem('embercom_tab_identifier') };\n      } catch (e) {\n        //Do nothing\n      }\n      return this._get(\n        '/ember/messages/version_lock_info',\n        Object.assign(params, {\n          id: this.id,\n          expected_lock_number: this.versionLock,\n        }),\n      );\n    },\n\n    fetchServerRecipientCount() {\n      return this._get('/ember/messages/recipient_count').then(response => {\n        this.set('lastRecipientCount', response.count);\n        return response.count;\n      });\n    },\n\n    save() {\n      // NOTE: We need to run `updatedLastMutatedAt` synchronously as we cannot guarantee that any tasks which follow `save` will run after `updateLastMutatedAt`\n      return this._super()\n        .then(() => {\n          this.updateLastMutatedAt();\n        })\n        .then(() => this);\n    },\n\n    reload() {\n      return this._super()\n        .then(() => {\n          // didUpdate won't fire on reload. See https://github.com/emberjs/data/issues/3748.\n          // Right now we only need message variations to respond to didUpdate.\n          this.variations.forEach(variation => variation.trigger('didUpdate'));\n        })\n        .then(() => this);\n    },\n\n    fetchSampleUser(params) {\n      return this._post('/ember/messages/preview_context', params);\n    },\n\n    fetchAudiencePreview() {\n      return this.fetchMessageAudiencePreviewRequest().then(response => {\n        let store = this.store;\n        let normalized = store.normalize('messages/audience-preview', {\n          users: response.users,\n          count: response.total_count,\n          limited: response.limited,\n        }).data.attributes;\n        let audiencePreview = store.createFragment('messages/audience-preview', normalized);\n        this.set('audiencePreview', audiencePreview);\n      });\n    },\n\n    fetchMessageAudiencePreviewRequest() {\n      if (this.isCampaignMessage) {\n        return this.get('campaign.content').fetchDraftAudiencePreview({\n          predicates: this.implicitPredicates(),\n        });\n      } else {\n        let params = {\n          app_id: this.appId,\n          campaign_id: this.get('campaign.id'),\n          predicates: this.implicitPredicates(),\n          page: 1,\n          per_page: REQUIRED_USERS_FOR_UI,\n          include_count: true,\n        };\n        return this._post('/ember/users/search.json', params);\n      }\n    },\n\n    fetchCampaignAudiencePreview() {\n      let params = {\n        message_id: this.id,\n        app_id: this.get('app.id'),\n        campaign_id: this.get('campaign.id'),\n        predicates: this.implicitPredicates(),\n      };\n      return this._post(\n        `/ember/campaign_message_previews/start_campaign_preview_job.json`,\n        params,\n      ).then(response => {\n        let store = this.store;\n        let campaignAudiencePreview = store.peekRecord(\n          'messages/campaign-audience-preview',\n          response.id,\n        );\n        if (isNone(campaignAudiencePreview)) {\n          campaignAudiencePreview = store.push(\n            store.normalize('messages/campaign-audience-preview', response),\n          );\n        }\n        this.set('campaignAudiencePreview', campaignAudiencePreview);\n      });\n    },\n\n    _post(url, additionalData = {}) {\n      return this._request(url, 'POST', additionalData);\n    },\n    _get(url, additionalData = {}) {\n      return this._request(url, 'GET', additionalData);\n    },\n    _request(url, requestType = 'POST', additionalData = {}) {\n      let data = Object.assign(additionalData, {\n        id: this.id,\n        app_id: this.appId,\n        admin_id: this.get('app.currentAdmin.id'),\n      });\n      if (requestType === 'POST') {\n        data = JSON.stringify(data);\n      }\n      return nonconcurrentAjax(this, {\n        url,\n        type: requestType,\n        data,\n      });\n    },\n  },\n).reopenClass({\n  getAssignToId(app, admin) {\n    if (app.get('inboxIsNotActive')) {\n      return UNASSIGNED_ASSIGNEE_ID;\n    }\n\n    if (app.get('requiresInboxSeatAccess') && !admin.get('hasInboxAccess')) {\n      return UNASSIGNED_ASSIGNEE_ID;\n    }\n\n    return admin.get('id');\n  },\n  getTitles(app, ids) {\n    return nonconcurrentAjax(this, {\n      url: '/ember/messages/titles',\n      type: 'POST',\n      data: JSON.stringify({\n        app_id: app.get('id'),\n        admin_id: app.get('currentAdmin.id'),\n        ids,\n      }),\n    });\n  },\n  getOnboardingHomeMessages(appId) {\n    return nonconcurrentAjax(this, {\n      url: '/ember/messages/onboarding_home_messages',\n      type: 'GET',\n      data: {\n        app_id: appId,\n      },\n    });\n  },\n  CREATED_VIA_EDITOR: 'editor',\n  CREATED_VIA_EDITOR_VERSION: 3,\n  CREATED_VIA_SIMPLE_COMPOSER: 'simple_composer',\n  CREATED_VIA_SIMPLE_COMPOSER_VERSION: 2,\n  CREATED_VIA_SIMPLE_COMPOSER_WITH_ONE_RECIPIENT: 'simple_composer_with_single_recipient',\n  CREATED_VIA_VISITOR_LIST: 'visitor_list',\n});\nexport { PRIORITIZED_STATES };\n","import { attr } from '@ember-data/model';\nimport { gt } from '@ember/object/computed';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { fragment, fragmentArray } from 'ember-data-model-fragments/attributes';\n\nexport default Fragment.extend({\n  users: fragmentArray('messages/recipient'),\n  count: attr('number'),\n  limited: attr('boolean'),\n  hasAudience: gt('count', 0),\n  predicateGroup: fragment('predicates/predicate-group'),\n  rolePredicateGroup: fragment('predicates/predicate-group'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { belongsTo, attr } from '@ember-data/model';\nimport { A } from '@ember/array';\nimport { not, or } from '@ember/object/computed';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\n\nexport default Model.extend({\n  message: belongsTo('message'),\n  evaluationCompleted: attr('boolean'),\n  isRunning: not('evaluationCompleted'),\n\n  isRunningOrHasSampleUsers: or('isRunning', 'sampleUsers.length'),\n\n  usersEvaluatedSoFar: attr('number'),\n  usersMatchedSoFar: attr('number'),\n  usersToBeConsidered: attr('number'),\n  usersEvaluatedPercentage: attr('number'),\n\n  sampleMatchingUserIds: attr('array', { defaultValue: () => A() }),\n  sampleUsers: fragmentArray('messages/recipient'),\n});\n","import { attr } from '@ember-data/model';\nimport { A } from '@ember/array';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { includes } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Fragment.extend({\n  openedSteps: attr('array', { defaultValue: () => A() }),\n  completedSteps: attr('array'),\n  explicitlyAddedTitle: attr('boolean'),\n  lastEditedAdminId: attr('number'),\n  examplePredicates: attr('array'),\n\n  hasOpenedAudienceStep: includes('openedSteps', 'audience'),\n  hasOpenedContentStep: includes('openedSteps', 'content'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { belongsTo, attr } from '@ember-data/model';\nimport { applyFunction } from '@intercom/embercom-core/lib/computed-properties';\nimport countFormatter from 'embercom/lib/count-formatter';\nimport { toPercentString } from 'embercom/lib/percentage-formatter';\n\nexport default Model.extend({\n  controlGroup: belongsTo('messages/control-group'),\n\n  sentCount: attr('number'),\n  displaySentCount: applyFunction(countFormatter, 'sentCount'),\n  goalCount: attr('number'),\n  goalSuccessPercentage: attr('number'),\n  displayGoalSuccessPercentage: applyFunction(toPercentString, 'goalSuccessPercentage'),\n  lastLoadedAt: attr('date'),\n}).reopenClass({\n  translateFromRealTimeNotification(data) {\n    data.last_loaded_at = new Date().toISOString();\n    return data;\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { belongsTo, attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { gt, not, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport nonconcurrentAjax from 'embercom/lib/nonconcurrent-ajax';\nimport StateProperties from 'embercom/models/mixins/common/states/state-properties';\nimport ControlGroupValidations from 'embercom/validations/messages/control-group';\n\nexport default Model.extend(ControlGroupValidations, StateProperties, {\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  message: belongsTo('message'),\n  stats: belongsTo('messages/control-group-stats'),\n\n  state: attr('string'),\n  wentLiveAt: attr('date'),\n  createdAt: attr('date'),\n  stoppedAt: attr('date'),\n\n  label: 'control',\n\n  isControlGroup: true,\n\n  typeIcon: 'person',\n\n  hasBeenSent: gt('stats.sentCount', 0),\n  hasNotBeenSent: not('hasBeenSent'),\n\n  analyticsData: computed('id', 'state', function() {\n    return {\n      id: this.id,\n      object: 'control-group',\n      state: this.state,\n    };\n  }),\n\n  async end() {\n    let data = {\n      id: this.id,\n      app_id: this.get('app.id'),\n      admin_id: this.get('app.currentAdmin.id'),\n    };\n    data = JSON.stringify(data);\n    return await nonconcurrentAjax(this, {\n      url: `/ember/control_groups/${this.id}/end`,\n      type: 'POST',\n      data,\n    });\n  },\n});\n","import { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { equal, not } from '@ember/object/computed';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport HoursOfDayMap from 'embercom/models/data/hours-of-day-map';\nimport DeliveryWindowValidations from 'embercom/validations/messages/delivery-window';\n\nexport default Fragment.extend(DeliveryWindowValidations, {\n  deliveryPeriod: attr('string'),\n  mondayDelivery: attr('boolean'),\n  tuesdayDelivery: attr('boolean'),\n  wednesdayDelivery: attr('boolean'),\n  thursdayDelivery: attr('boolean'),\n  fridayDelivery: attr('boolean'),\n  saturdayDelivery: attr('boolean'),\n  sundayDelivery: attr('boolean'),\n  deliverySecondsSinceMidnightStart: attr('number'),\n  deliverySecondsSinceMidnightEnd: attr('number'),\n\n  customDeliveryPeriod: equal('deliveryPeriod', 'custom'),\n  notCustomDeliveryPeriod: not('customDeliveryPeriod'),\n\n  enabledDays: computed(\n    'mondayDelivery',\n    'tuesdayDelivery',\n    'wednesdayDelivery',\n    'thursdayDelivery',\n    'fridayDelivery',\n    'saturdayDelivery',\n    'sundayDelivery',\n    function() {\n      let days = [];\n      if (this.mondayDelivery) {\n        days.push('Mon');\n      }\n      if (this.tuesdayDelivery) {\n        days.push('Tue');\n      }\n      if (this.wednesdayDelivery) {\n        days.push('Wed');\n      }\n      if (this.thursdayDelivery) {\n        days.push('Thu');\n      }\n      if (this.fridayDelivery) {\n        days.push('Fri');\n      }\n      if (this.saturdayDelivery) {\n        days.push('Sat');\n      }\n      if (this.sundayDelivery) {\n        days.push('Sun');\n      }\n      return days;\n    },\n  ),\n\n  daysText: computed('enabledDays.[]', function() {\n    let days = this.enabledDays;\n    if (days.length === 7) {\n      return 'Every day';\n    } else if (\n      days.length === 5 &&\n      days.includes('Mon') &&\n      days.includes('Tue') &&\n      days.includes('Wed') &&\n      days.includes('Thu') &&\n      days.includes('Fri')\n    ) {\n      return 'Weekdays';\n    } else if (days.length === 2 && days.includes('Sat') && days.includes('Sun')) {\n      return 'Weekends';\n    }\n    return days.join(', ');\n  }),\n\n  secondsFromMidnightToText(secondsFromMidnight) {\n    let mapping = HoursOfDayMap.find(function(windowTime) {\n      return windowTime.secondsFromMidnight === secondsFromMidnight;\n    });\n    return mapping ? mapping.text : 'Unknown';\n  },\n  startTimeText: computed('deliverySecondsSinceMidnightStart', function() {\n    return this.secondsFromMidnightToText(this.deliverySecondsSinceMidnightStart);\n  }),\n  endTimeText: computed('deliverySecondsSinceMidnightEnd', function() {\n    return this.secondsFromMidnightToText(this.deliverySecondsSinceMidnightEnd);\n  }),\n  summaryText: computed('deliveryPeriod', 'daysText', 'startTimeText', 'endTimeText', function() {\n    switch (this.deliveryPeriod) {\n      case 'custom':\n        return `${this.daysText}, ${this.startTimeText} - ${this.endTimeText}`;\n      case 'during_office_hours':\n        return 'During office hours';\n      case 'outside_office_hours':\n        return 'Outside office hours';\n    }\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { belongsTo, attr } from '@ember-data/model';\nimport { notEmpty } from '@ember/object/computed';\n\nexport default Model.extend({\n  message: belongsTo('message'),\n  campaignMessageDependencies: attr('array'),\n  hasAnyDependencies: notEmpty('campaignMessageDependencies'),\n});\n","import PredicateGroup from 'predicates/models/predicate-group';\n\nexport default PredicateGroup.extend({});\n","import PredicateGroup from 'embercom/models/common/predicate-group';\n\nexport default PredicateGroup.extend({});\n","import { attr } from '@ember-data/model';\nimport { equal, not } from '@ember/object/computed';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport PageTargetValidations from 'embercom/validations/messages/page-target';\nimport { selectFromObject } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Fragment.extend(PageTargetValidations, {\n  pageTargetString: attr('string'),\n  pageTargetType: attr('number'),\n  empty: equal('pageTargetType', 0),\n  present: not('empty'),\n\n  _comparisons: {\n    0: '',\n    1: 'the page with the URL',\n    2: 'pages with a URL that contains',\n    3: 'pages with a URL that match the regular expression',\n  },\n  comparison: selectFromObject('_comparisons', 'pageTargetType'),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  android: attr('array'),\n  ios: attr('array'),\n});\n","import { attr } from '@ember-data/model';\nimport { alias } from '@ember/object/computed';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  index: attr('number'),\n  unicodeEmoticon: attr('string'),\n\n  //Temporary while we work with supporting both JSON and DS.Model based reactions\n  unicode_emoticon: alias('unicodeEmoticon'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { notEmpty, equal } from '@ember/object/computed';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport UserAvatarData from 'embercom/models/mixins/user-avatar-data';\n\nexport default Fragment.extend(UserAvatarData, {\n  displayAs: attr('string'),\n  avatar: attr(),\n  userId: attr(),\n  email: attr('string'),\n\n  companies: attr('array'),\n  hasCompanies: notEmpty('companies'),\n\n  legacyUserData: attr(),\n  user: computed('legacyUserData', function() {\n    this.store.pushPayload({ user: this.legacyUserData });\n    return this.store.peekRecord('user', this.legacyUserData.id);\n  }),\n\n  role: attr(),\n  isVisitor: equal('role', 'visitor_role'),\n});\n","import { attr } from '@ember-data/model';\nimport { A } from '@ember/array';\nimport { computed, get } from '@ember/object';\nimport { and, equal, filterBy, not, notEmpty, or, reads, alias } from '@ember/object/computed';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport {\n  findBy,\n  isAny,\n  ternary,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport pluralise from 'embercom/lib/inflector';\nimport PredicateGroup from 'embercom/models/common/predicate-group';\nimport IMPLICIT_PREDICATES from 'embercom/models/data/messages/implicit-predicates';\nimport SelectionStateValidations from 'embercom/validations/messages/selection-state';\nimport { hasNestedPredicates } from 'embercom/lib/predicates-helper';\n\n// NB - nolaneo - In the context of a selection state user type\n// a `person` message is when the message is NOT targeting users.\n// We should look to remove this if we decided to move away from\n// predicates in the form `role ne user_role`.\n\nexport default PredicateGroup.extend(SelectionStateValidations, {\n  includedIds: attr('array'),\n  excludedIds: attr('array'),\n  count: attr('number'),\n  predicates: fragmentArray('common/predicate'),\n  clientPredicates: fragmentArray('common/predicate'),\n\n  clientPredicatesOrPredicate: findBy('clientPredicates', 'isOrPredicate'),\n  isClientPredicatesOrMode: notEmpty('clientPredicatesOrPredicate'),\n  clientPredicatesPageTargetJoinType: ternary('isClientPredicatesOrMode', 'or', 'and'),\n\n  predicatesOrNestedClientPredicates: ternaryToProperty(\n    'isClientPredicatesOrMode',\n    'clientPredicatesOrPredicate.predicates',\n    'clientPredicates',\n  ),\n\n  nestingLevelGreaterThanOne: computed('predicates.@each.{type,value,comparison}', function() {\n    return hasNestedPredicates(this.predicates);\n  }),\n\n  hasSimplePredicates: not('hasComplexPredicates'),\n  hasComplexPredicates: alias('nestingLevelGreaterThanOne'),\n\n  // Time on page predicates are always top level AND predicates\n  timeOnPagePredicates: filterBy('clientPredicates', 'isTimeOnPage'),\n  hasTimeOnPagePredicates: notEmpty('timeOnPagePredicates'),\n  // Page target predicates can be top level or nested OR predicates\n  pageTargetPredicates: filterBy('predicatesOrNestedClientPredicates', 'isPageTarget'),\n  hasPageTargetPredicates: notEmpty('pageTargetPredicates'),\n\n  addJSONClientPredicate(predicateJSON, options = {}) {\n    this.addClientPredicate(this.store.createFragment('common/predicate', predicateJSON), options);\n  },\n\n  addClientPredicate(predicate) {\n    if (get(predicate, 'constructor.modelName') !== 'common/predicate') {\n      throw new Error(`Expected object of type 'common/predicate' to be passed to addClientPredicate().\n        If you are using raw JSON predicates, use the addJSONClientPredicate() function.`);\n    } else {\n      let shouldNestPredicateInOrGroup =\n        predicate.get('isPageTarget') && this.isClientPredicatesOrMode;\n      let predicates = shouldNestPredicateInOrGroup\n        ? this.get('clientPredicatesOrPredicate.predicates')\n        : this.clientPredicates;\n      predicates.addObject(predicate);\n    }\n  },\n\n  userAddedPredicatesAreTrackedAndValidOrEmpty: or(\n    'allPredicatesAreTrackedAndValid',\n    'hasNoUserAddedPredicates',\n  ),\n  allPredicatesAreTrackedAndValid: and('allPredicatesAreValid', 'allPredicatesAreTracked'),\n\n  isTargetingUsers: equal('internalUserType', 'user'),\n  isTargetingLeads: equal('internalUserType', 'lead'),\n  isTargetingVisitors: equal('internalUserType', 'visitor'),\n  isTargetingNonUsers: equal('internalUserType', 'non_user'),\n  isTargetingNonVisitors: equal('internalUserType', 'non_visitor'),\n  isTargetingNonLeads: equal('internalUserType', 'non_lead'),\n  isTargetingEveryone: equal('internalUserType', 'everyone'),\n  audienceIncludesVisitors: or(\n    'isTargetingVisitors',\n    'isTargetingNonUsers',\n    'isTargetingNonLeads',\n    'isTargetingEveryone',\n  ),\n  audienceIncludesLeads: or(\n    'isTargetingLeads',\n    'isTargetingNonUsers',\n    'isTargetingNonVisitors',\n    'isTargetingEveryone',\n  ),\n\n  isSelectionBased: notEmpty('includedIds'),\n  isNotSelectionBased: not('isSelectionBased'),\n\n  hasPredicates: notEmpty('predicates'),\n  hasZeroCount: equal('count', 0),\n\n  hasUntrackedPredicates: isAny('userAddedPredicates', 'isUntracked', true),\n  allPredicatesAreTracked: not('hasUntrackedPredicates'),\n\n  internalUserType: reads('userTypePredicate.getUserType'),\n  externalTypeLabels: {\n    user: ['user'],\n    visitor: ['visitor'],\n    lead: ['lead'],\n    non_user: ['visitor', 'lead'],\n    non_visitor: ['user', 'lead'],\n    non_lead: ['user', 'visitor'],\n    everyone: ['user', 'lead', 'visitor'],\n  },\n  userTypes: computed('externalTypeLabels', 'internalUserType', function() {\n    if (this.externalTypeLabels[this.internalUserType]) {\n      return this.externalTypeLabels[this.internalUserType];\n    } else {\n      return ['people'];\n    }\n  }),\n  pluralUserTypes: computed('userTypes', function() {\n    if (this.userTypes) {\n      return this.userTypes.map(userType => pluralise(userType));\n    }\n  }),\n  implicitPredicatesForMessage(message) {\n    let predicates = this.serialize().predicates;\n    if (message.get('isEmail')) {\n      predicates.addObjects(IMPLICIT_PREDICATES.emailPredicates);\n    } else if (message.get('isInApp')) {\n      predicates.addObjects(this._implicitPredicatesForInApp(message));\n    } else if (message.get('isMobilePush')) {\n      predicates.addObjects(this._implicitPredicatesForPush(message));\n    } else {\n      throw new Error('Cannot generate implicit predicates for unknown message type');\n    }\n    if (message.get('isCampaignMessage') && message.get('campaign.isDraft')) {\n      predicates.addObjects(message.get('campaign.entryPredicateGroup.predicates').serialize());\n    }\n    return predicates;\n  },\n\n  hasCampaignBehaviorPredicates: isAny('userAddedPredicates', 'type', 'campaign_behavior'),\n\n  _implicitPredicatesForInApp(message) {\n    if (message.get('isAttributeCollectorReply')) {\n      return IMPLICIT_PREDICATES.emailCollectorPredicates;\n    } else if (message.get('isAndroidFirst')) {\n      return IMPLICIT_PREDICATES.androidPredicates;\n    } else if (message.get('isIOSFirst')) {\n      return IMPLICIT_PREDICATES.iosPredicates;\n    } else {\n      return A();\n    }\n  },\n\n  _implicitPredicatesForPush(message) {\n    if (message.get('isAndroidFirst')) {\n      return IMPLICIT_PREDICATES.androidPushOnlyPredicates;\n    } else if (message.get('isIOSFirst')) {\n      return IMPLICIT_PREDICATES.iosPushOnlyPredicates;\n    } else {\n      return IMPLICIT_PREDICATES.pushOnlyPredicates;\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { fragment } from 'ember-data-model-fragments/attributes';\n\nexport default Model.extend({\n  bouncedAt: attr('date'),\n  clickedAt: attr('date'),\n  linksClickedCount: attr('number'),\n  complainedAt: attr('date'),\n  hitGoalAt: attr('date'),\n  openedAt: attr('date'),\n  repliedAt: attr('date'),\n  respondedAt: attr('date'),\n  sentAt: attr('date'),\n  completedAt: attr('date'),\n  unsubscribedAt: attr('date'),\n  respondedWith: attr('string'),\n  collectedAt: attr('date'),\n  user: fragment('messages/recipient'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { belongsTo, attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { gt, reads } from '@ember/object/computed';\nimport { isEmpty, isPresent } from '@ember/utils';\nimport { applyFunction } from '@intercom/embercom-core/lib/computed-properties';\nimport countFormatter from 'embercom/lib/count-formatter';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport { toPercentString } from 'embercom/lib/percentage-formatter';\nimport moment from 'moment';\nimport StatsTranslator from 'embercom/lib/messages/real-time-stats-translations';\n\nexport default Model.extend({\n  variation: belongsTo('message-variation'),\n  clickTrackingLinks: attr(),\n  message: reads('variation.message'),\n  sentCount: attr('number'),\n  openCount: attr('number'),\n  openPercentage: attr('string'),\n  replyCount: attr('number'),\n  replyPercentage: attr('string'),\n  responseCount: attr('number'),\n  responsePercentage: attr('string'),\n  clickCount: attr('number'),\n  clickPercentage: attr('string'),\n  unsubscribeCount: attr('number'),\n  unsubscribePercentage: attr('string'),\n  bounceCount: attr('number'),\n  bouncePercentage: attr('string'),\n  complainedCount: attr('number'),\n  complainedPercentage: attr('string'),\n  failedCount: attr('number'),\n  failedPercentage: attr('string'),\n  thumbsUpCount: attr('number'),\n  thumbsUpPercentage: attr('string'),\n  thumbsDownCount: attr('number'),\n  thumbsDownPercentage: attr('string'),\n  happyCount: attr('number'),\n  happyPercentage: attr('string'),\n  neutralCount: attr('number'),\n  neutralPercentage: attr('string'),\n  sadCount: attr('number'),\n  sadPercentage: attr('string'),\n  reaction0Count: attr('number'),\n  reaction0Percentage: attr('string'),\n  reaction1Count: attr('number'),\n  reaction1Percentage: attr('string'),\n  reaction2Count: attr('number'),\n  reaction2Percentage: attr('string'),\n  reaction3Count: attr('number'),\n  reaction3Percentage: attr('string'),\n  reaction4Count: attr('number'),\n  reaction4Percentage: attr('string'),\n  lastSentOn: attr('date'),\n  goalCount: attr('number'),\n  goalSuccessPercentage: attr('string'),\n  attributeCollectorReplyCount: attr('number'),\n  attributeCollectorReplyPercentage: attr('string'),\n  lastLoadedAt: attr('date'),\n\n  displayClickPercentage: applyFunction(toPercentString, 'clickPercentage'),\n  displayFailedPercentage: applyFunction(toPercentString, 'failedPercentage'),\n  displayGoalSuccessPercentage: applyFunction(toPercentString, 'goalSuccessPercentage'),\n  displayOpenPercentage: applyFunction(toPercentString, 'openPercentage'),\n  displayReplyPercentage: applyFunction(toPercentString, 'replyPercentage'),\n  displayResponsePercentage: applyFunction(toPercentString, 'responsePercentage'),\n  displaySentCount: applyFunction(countFormatter, 'sentCount'),\n\n  hasReplies: gt('replyCount', 0),\n  hasClickTrackingLinks: gt('clickTrackingLinks.length', 0),\n\n  displayLastSentDate: computed('lastSentOn', function() {\n    let lastSent = this.lastSentOn;\n    return isEmpty(lastSent) ? 'Never' : moment(lastSent).fromNow();\n  }),\n  localeFormattedLastSentDate: computed('lastSentOn', function() {\n    let lastSent = this.lastSentOn;\n    return isEmpty(lastSent)\n      ? 'Never'\n      : moment(lastSent).format(dateAndTimeFormats.fullDateAndTimeWithoutTimezone);\n  }),\n}).reopenClass({\n  translateFromRealTimeNotification(data) {\n    let variationIds = Object.keys(data);\n    if (variationIds.length) {\n      return variationIds.map(variationId => {\n        let realtimeStatsForVariation = data[variationId];\n        let translatedStats = StatsTranslator.translateRealTimeStats(realtimeStatsForVariation);\n        Object.assign(translatedStats, {\n          id: variationId,\n          last_loaded_at: new Date().toISOString(),\n          click_tracking_links: realtimeStatsForVariation['click_tracking_links'],\n        });\n\n        // If the reply type of the associated variation is a legacy LWR type\n        // we will transpose these stats into reactions\n        if (isPresent(realtimeStatsForVariation.reply_type)) {\n          if (realtimeStatsForVariation.reply_type === 'thumbs_reply') {\n            translatedStats['reaction_0_count'] = translatedStats['thumbs_up_count'];\n            translatedStats['reaction_1_count'] = translatedStats['thumbs_down_count'];\n            translatedStats['reaction_0_percentage'] = translatedStats['thumbs_up_percentage'];\n            translatedStats['reaction_1_percentage'] = translatedStats['thumbs_down_percentage'];\n          } else if (realtimeStatsForVariation.reply_type === 'emotions_reply') {\n            translatedStats['reaction_0_count'] = translatedStats['happy_count'];\n            translatedStats['reaction_1_count'] = translatedStats['neutral_count'];\n            translatedStats['reaction_2_count'] = translatedStats['sad_count'];\n            translatedStats['reaction_0_percentage'] = translatedStats['happy_percentage'];\n            translatedStats['reaction_1_percentage'] = translatedStats['neutral_percentage'];\n            translatedStats['reaction_2_percentage'] = translatedStats['sad_percentage'];\n          }\n        }\n        return translatedStats;\n      });\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  commentPlaceholder: attr('string'),\n  defaultAssigneeId: attr('string'),\n  hideAllUnsubscribeLinks: attr('boolean'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport defaultTo from '@intercom/embercom-core/lib/default-to';\n\nexport default Model.extend({\n  name: attr(),\n  description: attr(),\n  icon_url: attr(),\n  configure_url: attr(),\n  params: attr(),\n  installed: attr(),\n  app_package_id: attr(),\n  installed_at: attr(),\n  available_in_operator: attr(),\n  available_in_messenger_home: attr(),\n  available_in_conversations: attr(),\n  available_in_messages: attr(),\n  notifiable: attr('boolean'),\n  availableInOperator: readOnly('available_in_operator'),\n  paywalledInOperator: attr('boolean'),\n  showInInserter: attr('boolean'),\n  availableAreaNames: defaultTo({\n    available_in_operator: 'Operator',\n    available_in_messenger_home: 'Messenger Home',\n    available_in_conversations: 'Inbox',\n    available_in_messages: 'Messages',\n  }),\n\n  hasConfiguration: computed('params', 'configure_url', function() {\n    return Boolean((this.params && this.get('params.length')) || this.configure_url);\n  }),\n\n  availableAreasToText: computed(\n    'available_in_operator',\n    'available_in_messenger_home',\n    'available_in_conversations',\n    'available_in_messages',\n    function() {\n      return [\n        'available_in_operator',\n        'available_in_messenger_home',\n        'available_in_conversations',\n        'available_in_messages',\n      ]\n        .filter(prop => this.get(prop))\n        .map(prop => this.availableAreaNames[prop]);\n    },\n  ),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, hasMany } from '@ember-data/model';\nimport { or } from '@ember/object/computed';\n\nimport { isAny } from '@intercom/embercom-core/lib/computed-properties';\n\nconst MAX_SLOT_COUNT = 3;\n\nexport default Model.extend({\n  appId: attr('string'),\n  slots: hasMany('messenger-home/slot'),\n  targetUserType: attr('string'),\n\n  hasUnsavedChanges: or('hasDirtyAttributes', 'slotsHaveUnsavedChanges', 'slotsWereDeleted'),\n  slotsHaveUnsavedChanges: isAny('slots', 'hasUnsavedChanges'),\n  slotsWereDeleted: false,\n});\n\nexport { MAX_SLOT_COUNT };\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { belongsTo, attr } from '@ember-data/model';\nimport { readOnly } from '@ember/object/computed';\nimport { fragment } from 'ember-data-model-fragments/attributes';\n\nexport default Model.extend({\n  slotGroup: belongsTo('messenger-home/slot-group'),\n  canvas: attr(),\n  messengerApp: belongsTo('messenger-app'),\n  messengerAppId: attr('number'),\n  displayOrder: attr('number'),\n  hasConfiguration: attr('boolean'),\n  hasUnsavedChanges: readOnly('hasDirtyAttributes'),\n  predicateGroup: fragment('predicates/predicate-group'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { changeGate } from '@intercom/embercom-core/lib/computed-properties';\nimport intercomMessengerColors from '@intercom/intercom-messenger-colors';\nimport { isRtlLocale } from 'embercom/lib/locale';\nimport { equal, sort, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { isPresent } from '@ember/utils';\n\nfunction renderEmojiWithLocaleText(emoji, text) {\n  return isRtlLocale() ? `${text} ${emoji}` : `${emoji} ${text}`;\n}\n\nexport default Fragment.extend({\n  appService: service(),\n  intl: service(),\n\n  appPrimaryColor: attr(),\n  appSecondaryColor: attr(),\n  logoURL: attr(),\n  locale: attr(),\n  backgroundPatternNumber: attr(),\n  greetingText: attr(),\n  aboutUsText: attr(),\n  messengerResponseTimeKey: attr(),\n  slotGroups: attr(),\n  showWeRunOnIntercom: attr(),\n  inboundConversationsEnabledForUsers: attr(),\n  inboundConversationsEnabledForVisitors: attr(),\n  activeTeammates: attr(),\n  launcherVisibleForUsers: attr(),\n  launcherVisibleForVisitors: attr(),\n  alignment: attr(),\n  horizontalPadding: attr(),\n  verticalPadding: attr(),\n  verticalPaddingAndroid: attr(),\n  verticalPaddingIOS: attr(),\n  frequency: attr(),\n  accessToTeammateEnabled: attr(),\n\n  appColors: computed('appPrimaryColor', 'appSecondaryColor', function() {\n    return intercomMessengerColors({\n      primaryColor: this.appPrimaryColor,\n      secondaryColor: this.appSecondaryColor,\n      darkenAmount: 20,\n    });\n  }),\n\n  operatorResponseForEmail: computed('locale', function() {\n    return renderEmojiWithLocaleText('✉️', 'customer@example.com');\n  }),\n\n  operatorResponseForExpectation: computed('locale', function() {\n    let text = this.intl.t(this.messengerResponseTimeKey);\n    return renderEmojiWithLocaleText('🕒', text);\n  }),\n\n  cardAssets: changeGate(\n    'appColors.primary_type',\n    function() {\n      switch (this.get('appColors.primary_type')) {\n        case 'light':\n          return {\n            nextIconUrl: '/assets/images/messenger-cards/next-icon-black.png',\n            nextIconUrl2x: '/assets/images/messenger-cards/next-icon-black@2x.png',\n          };\n        default:\n          return {\n            nextIconUrl: '/assets/images/messenger-cards/next-icon.png',\n            nextIconUrl2x: '/assets/images/messenger-cards/next-icon@2x.png',\n          };\n      }\n    },\n    { sync: true },\n  ),\n  isPrimaryColorLight: equal('appColors.primary_type', 'light'),\n  isUpfrontEmailCollectionEnabled: computed('frequency', function() {\n    return this.frequency !== 'never';\n  }),\n  hasUnknownResponseTime: equal(\n    'messengerResponseTimeKey',\n    'conversation_card_unknown_response_time',\n  ),\n\n  allTeammates: readOnly('appService.app.humanAdmins'),\n  teammatesSorting: ['has_photo_avatar:desc'],\n  sortedTeammates: sort('allTeammates', 'teammatesSorting'),\n  sampleTeammates: computed('activeTeammates', 'teammates.[]', function() {\n    return isPresent(this.activeTeammates)\n      ? this.activeTeammates\n      : this.sortedTeammates.slice(0, 3);\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { belongsTo } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { or, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { fragment } from 'ember-data-model-fragments/attributes';\n\nexport default Model.extend({\n  languages: belongsTo('messenger-settings/languages', { async: false }),\n  availability: belongsTo('messenger-settings/availability', { async: false }),\n  visibility: belongsTo('messenger-settings/visibility', { async: false }),\n  home: belongsTo('messenger-settings/home', { async: false }),\n  security: belongsTo('messenger-settings/security', { async: false }),\n  lookAndFeel: belongsTo('messenger-settings/look-and-feel', { async: false }),\n  metadata: fragment('messenger-settings/metadata'),\n  upfrontEmailCollection: belongsTo('messenger-settings/upfront-email-collection', {\n    async: false,\n  }),\n  temporaryExpectations: belongsTo('messenger-settings/temporary-expectations', { async: false }),\n\n  appService: service(),\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n\n  hasUnsavedChanges: or(\n    'languages.hasUnsavedChanges',\n    'availability.hasUnsavedChanges',\n    'visibility.hasUnsavedChanges',\n    'home.hasUnsavedChanges',\n    'security.hasUnsavedChanges',\n    'lookAndFeel.hasUnsavedChanges',\n    'upfrontEmailCollection.hasUnsavedChanges',\n  ),\n\n  previewConfiguration: computed(\n    'lookAndFeel.activeBrand.{brandName,logoUrl,messengerActionColor,messengerBackgroundColor,messengerWallpaper,launcherAlignment,launcherHorizontalAlignment,launcherVerticalPadding,messengerLogoUrl}',\n    'lookAndFeel.{showPoweredBy,verticalPaddingAndroid,verticalPaddingIOS}',\n    'languages.{defaultGreeting,defaultWelcomeMessage}',\n    'visibility.{messengerEnabledForUsers,messengerEnabledForVisitors,inboundConversationsEnabledForUsers,inboundConversationsEnabledForVisitors}',\n    'metadata',\n    'upfrontEmailCollection.frequency',\n    'temporaryExpectations.{enabled,message}',\n    'availability.{accessToTeammateEnabled,messengerResponseTimeKey}',\n    function() {\n      return this.store.createFragment('messenger-preview/configuration', {\n        alignment: this.get('lookAndFeel.activeBrand.launcherAlignment'),\n        appPrimaryColor: this.get('lookAndFeel.activeBrand.messengerActionColor'),\n        appSecondaryColor: this.get('lookAndFeel.activeBrand.messengerBackgroundColor'),\n        horizontalPadding: this.get('lookAndFeel.activeBrand.launcherHorizontalPadding'),\n        logoURL: this.get('lookAndFeel.activeBrand.messengerLogoUrl'),\n        verticalPadding: this.get('lookAndFeel.activeBrand.launcherVerticalPadding'),\n        locale: this.get('languages.defaultLocale'),\n        greetingText: this.get('languages.defaultGreeting'),\n        aboutUsText: this.get('languages.defaultWelcomeMessage'),\n        messengerResponseTimeKey: this.get('availability.messengerResponseTimeKey'),\n        accessToTeammateEnabled: this.get('availability.accessToTeammateEnabled'),\n        backgroundPatternNumber: this.get('lookAndFeel.backgroundId'),\n        slotGroups: this.get('home.slotGroups'),\n        showWeRunOnIntercom: this.get('lookAndFeel.showPoweredBy'),\n        inboundConversationsEnabledForUsers: this.get(\n          'visibility.inboundConversationsEnabledForUsers',\n        ),\n        inboundConversationsEnabledForVisitors: this.get(\n          'visibility.inboundConversationsEnabledForVisitors',\n        ),\n        activeTeammates: this.get('metadata.activeTeammates'),\n        launcherVisibleForUsers: this.get('visibility.messengerEnabledForUsers'),\n        launcherVisibleForVisitors: this.get('visibility.messengerEnabledForVisitors'),\n        verticalPaddingAndroid: this.get('lookAndFeel.verticalPaddingAndroid'),\n        verticalPaddingIOS: this.get('lookAndFeel.verticalPaddingIOS'),\n        frequency: this.get('upfrontEmailCollection.frequency'),\n        temporaryExpectations: {\n          avatar: {\n            avatarData: {\n              url: 'https://js.intercomcdn.com/images/attention.6a6e4cbc.png',\n            },\n          },\n          ...this.temporaryExpectations.getProperties('enabled', 'message'),\n        },\n      });\n    },\n  ),\n\n  refresh() {\n    this.languages.refresh();\n    this.availability.refresh();\n    this.visibility.refresh();\n    this.home.refresh();\n    this.security.refresh();\n    this.lookAndFeel.refresh();\n    this.upfrontEmailCollection.refresh();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  googleAnalyticsTrackingId: attr('string'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { not, or } from '@ember/object/computed';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport { isAny } from '@intercom/embercom-core/lib/computed-properties';\nimport { isPresent } from '@ember/utils';\nimport { createIntervalGroupsFromIntervals } from 'embercom/lib/office-hours/interval-group';\n\nexport default Model.extend({\n  init() {\n    this._super(...arguments);\n    this.setIntervalGroups();\n  },\n  setIntervalGroups() {\n    this.set(\n      'defaultOfficeHoursIntervalGroups',\n      createIntervalGroupsFromIntervals(this.defaultOfficeHoursIntervals),\n    );\n  },\n\n  accessToTeammateEnabled: attr(),\n  messengerAutomaticResponseTimeTranslationKey: attr(),\n  customResponseDelayEnabled: attr(),\n  customResponseDelay: attr(),\n  customResponseDelayOptions: attr(),\n  defaultOfficeHoursIntervals: fragmentArray('matching-system/timetable/time-interval'),\n  defaultOfficeHoursIntervalGroups: null,\n  reportingExcludeOooHours: attr(),\n  isValid: not('hasInvalidIntervalGroups'),\n  hasInvalidIntervalGroups: isAny('defaultOfficeHoursIntervalGroups', 'isInvalid'),\n  intervalGroupsAreDirty: isAny('defaultOfficeHoursIntervalGroups', 'isDirty'),\n  intervalsWereAddedOrRemoved: computed('defaultOfficeHoursIntervalGroups.[]', function() {\n    let flattenedGroupIntervals = this.defaultOfficeHoursIntervalGroups\n      .map(group => group.timeIntervals)\n      .flat();\n    return flattenedGroupIntervals.length !== this.defaultOfficeHoursIntervals.length;\n  }),\n  hasUnsavedChanges: or(\n    'hasDirtyAttributes',\n    'intervalsWereAddedOrRemoved',\n    'intervalGroupsAreDirty',\n  ),\n\n  messengerResponseTimeKeys: ['a_few_minutes', 'a_few_hours', 'a_day'],\n\n  messengerResponseTimeKey: computed(\n    'messengerAutomaticResponseTimeTranslationKey',\n    'customResponseDelayEnabled',\n    'customResponseDelay',\n    function() {\n      let responseTimeKey = this.messengerAutomaticResponseTimeTranslationKey;\n\n      if (this.customResponseDelayEnabled) {\n        let responseTimeIndex = this.customResponseDelay;\n        responseTimeKey = this.messengerResponseTimeKeys[responseTimeIndex];\n      }\n\n      return responseTimeKey;\n    },\n  ),\n\n  hasResponseTimeChanged: computed('customResponseDelayEnabled', 'customResponseDelay', function() {\n    return (\n      isPresent(this.changedAttributes().customResponseDelayEnabled) ||\n      isPresent(this.changedAttributes().customResponseDelay)\n    );\n  }),\n\n  save() {\n    let timeIntervals = this.defaultOfficeHoursIntervalGroups.map(group =>\n      group.timeIntervals.flat(),\n    );\n    this.set('defaultOfficeHoursIntervals', timeIntervals.flat());\n    return this._super(...arguments);\n  },\n\n  refresh() {\n    this.setIntervalGroups();\n    this.rollbackAttributes();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { hasMany } from '@ember-data/model';\nimport { isAny } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Model.extend({\n  slotGroups: hasMany('messenger-home/slot-group', { async: false }),\n  hasUnsavedChanges: isAny('slotGroups', 'hasUnsavedChanges'),\n\n  refresh() {\n    this.store.unloadAll('messenger-home/slot-group');\n    this.store.unloadAll('messenger-home/slot');\n    return this.reload();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { not, readOnly } from '@ember/object/computed';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport { isAny } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Model.extend({\n  defaultLocale: attr(),\n  availableLocales: fragmentArray('settings/messenger-locale'),\n  supportedLocales: fragmentArray('settings/messenger-locale'),\n  welcomeMessagesTooLong: isAny('supportedLocales', 'welcomeMessageTooLong'),\n  isValid: not('welcomeMessagesTooLong'),\n  hasUnsavedChanges: readOnly('hasDirtyAttributes'),\n\n  defaultGreeting: computed(\n    'defaultLocale',\n    'supportedLocales.@each.{localeId,greeting}',\n    function() {\n      let locale = this.defaultLocale;\n\n      return this.supportedLocales.filterBy('localeId', locale).get('firstObject.greeting');\n    },\n  ),\n\n  defaultWelcomeMessage: computed(\n    'defaultLocale',\n    'supportedLocales.@each.{localeId,userWelcomeMessage}',\n    function() {\n      let locale = this.defaultLocale;\n\n      return this.supportedLocales\n        .filterBy('localeId', locale)\n        .get('firstObject.userWelcomeMessage');\n    },\n  ),\n\n  defaultLanguageName: computed(\n    'defaultLocale',\n    'supportedLocales.@each.{localeId,name}',\n    function() {\n      let locale = this.defaultLocale;\n\n      return this.supportedLocales.filterBy('localeId', locale).get('firstObject.name');\n    },\n  ),\n\n  refresh() {\n    this.rollbackAttributes();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport Model, { attr, hasMany } from '@ember-data/model';\nimport { tracked } from '@glimmer/tracking';\nimport { isPresent } from '@ember/utils';\nimport { inject as service } from '@ember/service';\n\nconst SHORT_COLOR_HEX_CODE_REGEX = /^#[A-Fa-f0-9]{3}$/;\n\nexport default class LookAndFeelModel extends Model {\n  @service appService;\n  @hasMany('brand', { async: false }) brands;\n  @attr('boolean') widgetAudioEnabled;\n  @attr('string') primaryColor;\n  @attr('string') secondaryColor;\n  @attr('boolean') showPoweredBy;\n  @attr('string') messengerBackground;\n  @attr('string') logoUrl;\n  @attr() logoId;\n  @attr() launcherLogoUrl;\n  @attr() launcherLogoId;\n  @attr('string') alignment;\n  @attr('string') horizontalPadding;\n  @attr('string') verticalPadding;\n  @attr('string') verticalPaddingAndroid;\n  @attr('string') verticalPaddingIOS;\n\n  get primaryColorHex() {\n    return this.primaryColor.slice(1);\n  }\n  get secondaryColorHex() {\n    return this.secondaryColor.slice(1);\n  }\n  get hasUnsavedChanges() {\n    return this.hasDirtyAttributes && this.validPaddings;\n  }\n  get defaultBrand() {\n    return this.brands.findBy('isDefault');\n  }\n\n  @tracked activeBrand = this.defaultBrand;\n\n  get backgroundId() {\n    let messengerBackground = this.activeBrand.messengerWallpaper;\n    return isPresent(messengerBackground) ? messengerBackground.replace('background-', '') : null;\n  }\n\n  get previewConfigurationParams() {\n    return {\n      logoURL: this.logoUrl,\n      backgroundPatternNumber: this.backgroundId,\n      appPrimaryColor: this.primaryColor,\n      appSecondaryColor: this.secondaryColor,\n      showWeRunOnIntercom: this.showPoweredBy,\n    };\n  }\n\n  paddingMin = 20;\n  paddingMax = 32767;\n  paddingMinAndroid = 16;\n  iosHorizontalPadding = 20;\n  androidHorizontalPadding = 16;\n\n  get validPaddings() {\n    return (\n      this.paddingWithinBoundaries(this.horizontalPadding) &&\n      this.paddingWithinBoundaries(this.verticalPadding) &&\n      this.paddingWithinBoundariesAndroid(this.verticalPaddingAndroid) &&\n      this.paddingWithinBoundaries(this.verticalPaddingIOS)\n    );\n  }\n\n  paddingWithinBoundaries(padding) {\n    return Number(padding) >= this.paddingMin && Number(padding) <= this.paddingMax;\n  }\n  paddingWithinBoundariesAndroid(padding) {\n    return Number(padding) >= this.paddingMinAndroid && Number(padding) <= this.paddingMax;\n  }\n\n  expandShortColorCode(colorProperty) {\n    let color = this[colorProperty];\n    if (SHORT_COLOR_HEX_CODE_REGEX.exec(color) !== null) {\n      let expandedColor = color.replace(/([A-Fa-f0-9])/g, '$1$1');\n      this[colorProperty] = expandedColor;\n    }\n  }\n\n  expandColors() {\n    this.expandShortColorCode('primaryColor');\n    this.expandShortColorCode('secondaryColor');\n  }\n\n  refresh() {\n    this.rollbackAttributes();\n    this.activeBrand = this.defaultBrand;\n  }\n\n  save() {\n    return super.save().then(() => {\n      this.set('appService.app.base_color', this.primaryColor);\n    });\n  }\n}\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  activeTeammates: attr(),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { not, readOnly } from '@ember/object/computed';\nimport TrustedListUrlValidator from 'embercom/lib/trusted-list-url-validator';\n\nexport default Model.extend({\n  parsedAllowedDomains: attr('array'),\n  isValid: not('domainValidator.isNotValid'),\n  hasUnsavedChanges: readOnly('hasDirtyAttributes'),\n\n  allowedDomains: computed('parsedAllowedDomains.[]', function() {\n    return this.parsedAllowedDomains.join(',');\n  }),\n\n  domainValidator: computed('allowedDomains', function() {\n    return TrustedListUrlValidator.create({ urlString: this.allowedDomains });\n  }),\n\n  updateParsedAllowedDomains() {\n    this.set('parsedAllowedDomains', this.get('domainValidator.domainHostNames'));\n  },\n\n  refresh() {\n    this.rollbackAttributes();\n  },\n});\n","import Model, { attr } from '@ember-data/model';\n\nexport default class TemporrayExpectations extends Model {\n  @attr('boolean') enabled;\n  @attr('string') message;\n\n  get hasUnsavedChanges() {\n    return this.hasDirtyAttributes;\n  }\n\n  refresh() {\n    this.rollbackAttributes();\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Model.extend({\n  frequency: attr('string'),\n  hasUnsavedChanges: readOnly('hasDirtyAttributes'),\n  refresh() {\n    this.rollbackAttributes();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { and, not, or, readOnly } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { fragmentArray, fragment } from 'ember-data-model-fragments/attributes';\nimport { isEvery } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Model.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  hasUnsavedChanges: and('hasDirtyAttributes', 'hasValidLauncherPredicates'),\n\n  hasValidLauncherPredicates: computed(\n    'launcherPredicatesForUsers.[]',\n    'launcherPredicatesForAnonymous.[]',\n    'isFilterUsersSelected',\n    'isFilterVisitorsSelected',\n    'hasDirtyAttributes',\n    function() {\n      if (this.isFilterUsersSelected) {\n        return !this.hasNoPredicatesSelected('launcherPredicatesForUsers');\n      }\n      if (this.isFilterVisitorsSelected) {\n        return !this.hasNoPredicatesSelected('launcherPredicatesForAnonymous');\n      }\n      return true;\n    },\n  ),\n\n  messengerEnabledForUsers: attr('boolean'),\n  messengerEnabledForVisitors: attr('boolean'),\n  allowAllUsers: attr('boolean'),\n  allowAllVisitors: attr('boolean'),\n  isFilterUsersSelected: not('allowAllUsers'),\n  isFilterVisitorsSelected: not('allowAllVisitors'),\n\n  noContinuedConversationsEnabledForUsers: attr('boolean'),\n  noContinuedConversationsEnabledForVisitors: attr('boolean'),\n\n  disallowConversationReplyAfterSecondsForUsers: attr('number'),\n  disallowConversationReplyAfterSecondsForVisitors: attr('number'),\n\n  launcherPredicatesForUsers: fragmentArray('predicates/predicate', {\n    polymorphic: true,\n    typeKey: 'subclass',\n    defaultValue: () => [],\n  }),\n  launcherPredicatesForAnonymous: fragmentArray('predicates/predicate', {\n    polymorphic: true,\n    typeKey: 'subclass',\n    defaultValue: () => [],\n  }),\n\n  inboundConversationsForUsersPredicateGroup: fragment('predicates/predicate-group'),\n  inboundConversationsForVisitorsPredicateGroup: fragment('predicates/predicate-group'),\n  inboundConversationsEnabledForUsers: attr('boolean'),\n  inboundConversationsEnabledForVisitors: attr('boolean'),\n\n  contentSuggestionsForUsersPredicateGroup: fragment('predicates/predicate-group'),\n  contentSuggestionsForVisitorsPredicateGroup: fragment('predicates/predicate-group'),\n  contentSuggestionsEnabledForUsers: attr('boolean'),\n  contentSuggestionsEnabledForVisitors: attr('boolean'),\n\n  validUserLauncherPredicates: isEvery('launcherPredicatesForUsers', 'isValid'),\n  validVisitorLauncherPredicates: isEvery('launcherPredicatesForAnonymous', 'isValid'),\n  validLauncherPredicates: and('validUserLauncherPredicates', 'validVisitorLauncherPredicates'),\n\n  validUserInboundConversationsPredicates: isEvery(\n    'inboundConversationsForUsersPredicateGroup.predicates',\n    'isValid',\n  ),\n  validVisitorInboundConversationsPredicates: isEvery(\n    'inboundConversationsForVisitorsPredicateGroup.predicates',\n    'isValid',\n  ),\n  validInboundConversationsPredicates: and(\n    'validUserInboundConversationsPredicates',\n    'validVisitorInboundConversationsPredicates',\n  ),\n\n  validUserContentSuggestionsPredicates: isEvery(\n    'contentSuggestionsForUsersPredicateGroup.predicates',\n    'isValid',\n  ),\n  validVisitorContentSuggestionsPredicates: isEvery(\n    'contentSuggestionsForVisitorsPredicateGroup.predicates',\n    'isValid',\n  ),\n  validContentSuggestionsPredicates: and(\n    'validUserContentSuggestionsPredicates',\n    'validVisitorContentSuggestionsPredicates',\n  ),\n\n  validPredicates: and(\n    'validLauncherPredicates',\n    'validInboundConversationsPredicates',\n    'validContentSuggestionsPredicates',\n  ),\n  hasInvalidPredicates: not('validPredicates'),\n\n  showPaywallForConditionalDisplay: not('app.canUseConditionalDisplayForVisitors'),\n  isNotValidPaywallSaveState: and('isFilterVisitorsSelected', 'showPaywallForConditionalDisplay'),\n\n  isNotValidSaveState: or('hasInvalidPredicates', 'isNotValidPaywallSaveState'),\n  isValid: not('isNotValidSaveState'),\n\n  hasNoPredicatesSelected(type) {\n    if (this.get(`${type}.length`) === 0) {\n      return true;\n    }\n    //If \"Match Any\" is selected, need to check if the sublist of predicates is empty\n    return this.get(`${type}.firstObject.predicates.length`) === 0;\n  },\n\n  refresh() {\n    this.rollbackAttributes();\n  },\n\n  updateLauncherPredicates() {\n    if (\n      this.messengerEnabledForVisitors &&\n      this.isFilterVisitorsSelected &&\n      this.hasNoPredicatesSelected('launcherPredicatesForAnonymous')\n    ) {\n      this.set('allowAllVisitors', true);\n    }\n    if (\n      this.messengerEnabledForUsers &&\n      this.isFilterUsersSelected &&\n      this.hasNoPredicatesSelected('launcherPredicatesForUsers')\n    ) {\n      this.set('allowAllUsers', true);\n    }\n    if (!this.messengerEnabledForVisitors || this.allowAllVisitors) {\n      this.set('launcherPredicatesForAnonymous', []);\n    }\n    if (!this.messengerEnabledForUsers || this.allowAllUsers) {\n      this.set('launcherPredicatesForUsers', []);\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport { copy } from 'ember-copy';\nimport { resolve } from 'rsvp';\nimport { isPresent, isEmpty } from '@ember/utils';\nimport $ from 'jquery';\nimport EmberObject from '@ember/object';\nimport ajax from 'embercom/lib/ajax';\nimport { timeout } from 'ember-concurrency';\nimport { getContainer } from 'embercom/lib/container-lookup';\n\nconst ROUTE_LOCATIONS = [\n  { regex: /apps.app.index/, name: `user_list` },\n  { regex: /apps.app.users.index/, name: `user_list` },\n  { regex: /(app.users.segments)/, name: `user_list` },\n  { regex: /(app.users.user)/, name: `user_profile` },\n  { regex: /app.companies.segments/, name: `company_list` },\n  { regex: /(app.inbox)|(app.respond.inbox)|(app.respond.index)/, name: `inbox` },\n  { regex: /apps.app.conversation/, name: `single_conversation` },\n  { regex: /outbound.messages.(show|edit|index|message)/, name: `message_editor` },\n  { regex: /outbound.messages.(auto|manual|visitor-auto).message/, name: `message_editor` },\n  {\n    regex: /outbound.messages.(auto.|manual.|visitor-auto.)?(all|live|paused|scheduled|draft|yours)/,\n    name: `message_list`,\n  },\n  { regex: /campaigns.campaign/, name: `campaign_editor` },\n  { regex: /articles.list/, name: `article_list` },\n  { regex: /articles.article/, name: `article_editor` },\n];\n\nconst INTERACTION_LOCATIONS = [\n  { selector: `.js__main-container`, name: `main_content` },\n  { selector: `.left-nav__icon .product-icon`, name: `left_nav_product` },\n  { selector: `.left-nav__link.o__logo`, name: `left_nav_logo` },\n];\n\nexport default EmberObject.extend({}).reopenClass({\n  capture(metrics, delayInSeconds = 0) {\n    if (!Em.testing) {\n      return timeout(delayInSeconds * 1000).then(() => this.post('/frontend_stats', metrics));\n    }\n  },\n\n  timingMarksDisabled() {\n    return Em.testing || !window.performance || !window.performance.getEntriesByType;\n  },\n\n  captureTimingMarks(appId) {\n    if (this.timingMarksDisabled()) {\n      return;\n    }\n\n    let metrics = { emberTotalBootTime: window.performance.now() };\n\n    return timeout(6000).then(() => {\n      let setMetricKeyVal = (key, value) => (metrics[`ember_${key}`] = parseInt(value, 10));\n      window.performance\n        .getEntriesByType('mark')\n        .forEach(mark => setMetricKeyVal(mark.name, mark.startTime));\n      window.performance\n        .getEntriesByType('measure')\n        .forEach(measure => setMetricKeyVal(measure.name, measure.duration));\n\n      return this.capture(metrics);\n    });\n  },\n\n  getGeneralLocationForRoute(routeName) {\n    let location = 'other';\n    let generalLocation = ROUTE_LOCATIONS.find(route => route.regex.test(routeName));\n    if (generalLocation) {\n      location = generalLocation.name;\n    }\n    return location;\n  },\n\n  getInteractionLocationForTarget(target) {\n    let $target = $(target);\n    let location = 'other';\n    let generalLocation = INTERACTION_LOCATIONS.find(location =>\n      isPresent($target.closest(location.selector)),\n    );\n    if (generalLocation) {\n      location = generalLocation.name;\n    }\n    return location;\n  },\n\n  sendInteractionMetrics(metrics) {\n    if (isEmpty(metrics)) {\n      return resolve();\n    }\n    let copiedMetrics = metrics.map(metric => copy(metric));\n    return this.post('/ember/interaction_metrics', { metrics: copiedMetrics });\n  },\n\n  post(url, additionalData = {}) {\n    let type = 'POST';\n    let adminId = this._fetchCurrentAdminId();\n    if (adminId) {\n      let data = JSON.stringify(\n        Object.assign(additionalData, { admin_id: adminId, app_id: this._fetchCurrentAppId() }),\n      );\n      return this._ajax({ url, type, data }).catch(error =>\n        console.error(`Failed to send interaction metrics`),\n      );\n    } else {\n      return resolve();\n    }\n  },\n\n  //Visible for testing\n  _ajax(options) {\n    return ajax(options);\n  },\n\n  _fetchCurrentAdminId() {\n    let adminController = getContainer().lookup('controller:apps');\n    if (adminController && adminController.get('model.id')) {\n      return adminController.get('model.id');\n    }\n  },\n\n  _fetchCurrentAppId() {\n    let appController = getContainer().lookup('controller:apps.app');\n    if (appController && appController.get('model.id')) {\n      return appController.get('model.id');\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-new-mixins */\nimport { computed } from '@ember/object';\nimport Mixin from '@ember/object/mixin';\nimport DefaultAvatars from '@intercom/embercom-core/lib/default-avatars';\nimport avatarUtils from '@intercom/embercom-core/lib/avatar-utils';\n\nlet AdminAvatarDataMixin = Mixin.create({\n  avatarData: computed(\n    'avatar',\n    'isUnknown',\n    'isTeam',\n    'isUnassignedAdmin',\n    'away_mode_enabled',\n    function() {\n      let data = this.getProperties(\n        'avatar.image_urls.square_128',\n        'avatar.initials',\n        'isUnknown',\n        'isTeam',\n        'isUnassignedAdmin',\n        'away_mode_enabled',\n      );\n      let url = data.isUnassignedAdmin\n        ? '/assets/svgs/unassigned-avatar.svg'\n        : data['avatar.image_urls.square_128'];\n      if (typeof url !== 'string') {\n        url = DefaultAvatars.admins[128];\n      }\n      return {\n        url,\n        showAsActive: !data['away_mode_enabled'],\n        showAsAway: data['away_mode_enabled'],\n        initials: avatarUtils.formatInitials(data['avatar.initials']),\n        isCustomer: false,\n        isTeammate: !data['isTeam'],\n        isCompany: false,\n        isTeam: data['isTeam'],\n        deleted: data['isUnknown'],\n        shouldAnimateUpdate: false,\n      };\n    },\n  ),\n});\n\nexport default AdminAvatarDataMixin;\n","import { computed } from '@ember/object';\nexport default {\n  mapAdminToId(adminsKey, adminIdKey) {\n    return computed(`${adminsKey}.@each.id`, adminIdKey, {\n      get() {\n        return this.get(adminsKey).findBy('id', this.get(adminIdKey));\n      },\n      set(key, value) {\n        this.set(adminIdKey, value.get('id'));\n        return value;\n      },\n    });\n  },\n};\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-new-mixins */\nimport { computed } from '@ember/object';\nimport { not, readOnly } from '@ember/object/computed';\nimport Mixin from '@ember/object/mixin';\n\nlet SortableMessage = Mixin.create({\n  hasNotBeenSent: not('hasBeenSent'),\n  sortableTitle: readOnly('title'),\n  sortableType: readOnly('variations.firstObject.style'),\n  sortableFrom: readOnly('variations.firstObject.from.displayAs'),\n  variationAStats: readOnly('variationA.stats'),\n  variationBStats: readOnly('variationB.stats'),\n  sortableCreatedAt: computed('variations.@each.createdAt', function() {\n    return this.getMostRecentDate('createdAt');\n  }),\n  sortableSendAt: readOnly('sendAt'),\n  sortableLastSent: computed(\n    'variationAStats.lastSentOn',\n    'variationBStats.lastSentOn',\n    function() {\n      return this.getMostRecentDate('stats.lastSentOn');\n    },\n  ),\n  sortableSentCount: computed('variationAStats.sentCount', 'variationBStats.sentCount', function() {\n    if (this.hasNotBeenSent) {\n      return -1;\n    }\n    return this.variations.reduce(function(accumulator, variation) {\n      return (accumulator += variation.get('stats.sentCount'));\n    }, 0);\n  }),\n  sortableOpenedCount: computed(\n    'variationAStats.openPercentage',\n    'variationBStats.openPercentage',\n    'statsDivisor',\n    function() {\n      return this.getTotalForVariationStats('stats.openPercentage') / this.statsDivisor;\n    },\n  ),\n  sortableOpenedCountAsInt: computed(\n    'variationAStats.openCount',\n    'variationBStats.openCount',\n    function() {\n      if (this.hasNotBeenSent) {\n        return -1;\n      }\n      return this.variations.reduce(function(accumulator, variation) {\n        return (accumulator += variation.get('stats.openCount'));\n      }, 0);\n    },\n  ),\n  sortableRepliedCount: computed(\n    'variationAStats.{replyPercentage,responsePercentage}',\n    'variationBStats.{replyPercentage,responsePercentage}',\n    'statsDivisor',\n    function() {\n      return this.getResponseOrReplyTotal() / this.statsDivisor;\n    },\n  ),\n  sortableClickedCount: computed(\n    'variationAStats.clickPercentage',\n    'variationBStats.clickPercentage',\n    'statsDivisor',\n    function() {\n      return this.getTotalForVariationStats('stats.clickPercentage') / this.statsDivisor;\n    },\n  ),\n  sortableUnsubCount: computed(\n    'variationAStats.unsubscribePercentage',\n    'variationBStats.unsubscribePercentage',\n    'statsDivisor',\n    function() {\n      return this.getTotalForVariationStats('stats.unsubscribePercentage') / this.statsDivisor;\n    },\n  ),\n  sortableFailedCount: computed(\n    'variationAStats.failedPercentage',\n    'variationBStats.failedPercentage',\n    'statsDivisor',\n    function() {\n      return this.getTotalForVariationStats('stats.unsubscribePercentage') / this.statsDivisor;\n    },\n  ),\n  sortableGoalCount: computed(\n    'variationAStats.{goalCount,goalSuccessPercentage}',\n    'variationBStats.{goalCount,goalSuccessPercentage}',\n    'statsDivisor',\n    'hasNotBeenSent',\n    'statsDivisorWithOpens',\n    'hasNoGoal',\n    function() {\n      if (this.hasNoGoal || this.hasNotBeenSent) {\n        return -1;\n      }\n      return (\n        this.getTotalForVariationStats('stats.goalSuccessPercentage', 'openCount') /\n        this.statsDivisorWithOpens\n      );\n    },\n  ),\n\n  getMostRecentDate(property) {\n    // @ts-ignore\n    let date = new Date(this.get('variations.firstObject').get(property));\n    this.variations.mapBy(property).forEach(function(value) {\n      let variationDate = new Date(value);\n      if (variationDate > date) {\n        date = variationDate;\n      }\n    });\n    return date;\n  },\n  getTotalForVariationStats(stat, key) {\n    if (this.hasNotBeenSent) {\n      return -1;\n    }\n    let multiplier = key || 'sentCount';\n    let property = `stats.${multiplier}`;\n    return this.variations.reduce(function(accumulator, variation) {\n      return (accumulator += variation.get(stat) * variation.get(property));\n    }, 0);\n  },\n  getResponseOrReplyTotal() {\n    if (this.hasNotBeenSent) {\n      return -1;\n    }\n    return this.variations.reduce(function(accumulator, variation) {\n      if (variation.get('isTextReply')) {\n        return (accumulator +=\n          variation.get('stats.replyPercentage') * variation.get('stats.sentCount'));\n      } else {\n        return (accumulator +=\n          variation.get('stats.responsePercentage') * variation.get('stats.sentCount'));\n      }\n    }, 0);\n  },\n  statsDivisor: computed('sortableSentCount', function() {\n    return Math.max(this.sortableSentCount, 1);\n  }),\n\n  statsDivisorWithOpens: computed('sortableOpenedCountAsInt', function() {\n    return Math.max(this.sortableOpenedCountAsInt, 1);\n  }),\n});\n\nexport default SortableMessage;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { defineProperty } from '@ember/object';\nimport { equal, not, or } from '@ember/object/computed';\nimport { on } from '@ember/object/evented';\nimport Mixin from '@ember/object/mixin';\nimport { classify } from '@ember/string';\nimport {\n  selectFromObject,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport { VALID_STATES } from 'embercom/models/data/messages/message-constants';\n\nexport default Mixin.create({\n  initializeComputedProperties: on('init', function() {\n    VALID_STATES.forEach(state => {\n      let pascalCaseStateName = classify(state);\n      defineProperty(this, `is${pascalCaseStateName}`, equal('state', state));\n      defineProperty(this, `isNot${pascalCaseStateName}`, not(`is${pascalCaseStateName}`));\n    });\n  }),\n\n  _autoMessageOrCampaignStateNames: {\n    live: 'Live',\n    stopped: 'Paused',\n    scheduled: 'Scheduled',\n    draft: 'Draft',\n    ended: 'Ended',\n    draining: 'Emptying',\n  },\n  _manualMessageStateNames: {\n    live: 'Live',\n    stopped: 'Stopped',\n    scheduled: 'Scheduled',\n    draft: 'Draft',\n    new: 'Draft',\n  },\n  _stateNames: ternaryToProperty(\n    'isManualMessage',\n    '_manualMessageStateNames',\n    '_autoMessageOrCampaignStateNames',\n  ),\n  uiStateName: selectFromObject('_stateNames', 'state'),\n\n  isLiveOrScheduled: or('isLive', 'isScheduled'),\n  isLiveOrStopped: or('isLive', 'isStopped'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { computed } from '@ember/object';\nimport { or, readOnly, and } from '@ember/object/computed';\nimport Mixin from '@ember/object/mixin';\nimport { ARTICLES_FEATURE, INBOX_FEATURE, MESSAGES_FEATURE } from 'embercom/lib/billing';\nimport IntercomradesProductsOverride from 'embercom/lib/intercomrades-products-override';\nimport localFeatureFlags from 'embercom/lib/local-feature-flags';\n\nlet ComputedCanUseFeature = function(featureKey) {\n  return computed('features.[]', 'localStorageFeatures.[]', function() {\n    return this.canUseFeature(featureKey);\n  });\n};\n\nexport default Mixin.create({\n  //team-dev-platform\n  canUseManagedScopes: ComputedCanUseFeature('dev-platform-scope-enforcement'),\n  ssoDomainWhitelistEnabled: ComputedCanUseFeature('dev-platform-sso-domain-whitelist'),\n  canUseSsoDomainManagement: ComputedCanUseFeature('dev-platform-sso-domain-management'),\n  canUseStripeSettings: ComputedCanUseFeature('dev-platform-appstore-stripe-settings'),\n  canUseSlackLegacyApp: ComputedCanUseFeature('dev-platform-legacy-slack-integration'),\n  useAppCardApi: ComputedCanUseFeature('marketplace-app-card-api'),\n  showAppsInBotsPaywall: ComputedCanUseFeature('marketplace-validate-apps-in-operator'),\n  shouldShowPartnership: ComputedCanUseFeature('dev-platform-show-partnership'),\n  canUseSamlSso: ComputedCanUseFeature('saml_sso'),\n  canUseSamlMultiWorkspaces: ComputedCanUseFeature('rails-dev-platform-saml-multi-workspaces'),\n  canUseSalesforceIdentityMapping: ComputedCanUseFeature(\n    'dev-platform-salesforce-identity-mapping',\n  ),\n\n  //team-orchestration features\n  canDisableInboundConversations: ComputedCanUseFeature('disable_inbound_conversations'),\n  canUseD3EngageInsights: ComputedCanUseFeature('ember-engage-D3-insights'),\n  canUseBetterClickData: ComputedCanUseFeature('messages-better-click-data'),\n  canUseDeliverabilityDashboard: ComputedCanUseFeature('messages-can-use-deliverability-dashboard'),\n  canUseImprovedDeliverability: ComputedCanUseFeature('messages-improved-deliverability'),\n  canUseContentNavReleaseFeature: ComputedCanUseFeature('messages-content-nav-release'),\n  canUseContentOrientedNavigationFeature: ComputedCanUseFeature(\n    'messages-content-oriented-navigation',\n  ),\n  canUseToursInOutboundHomeFeature: ComputedCanUseFeature('message-tours-in-outbound-home'),\n  canUseContentOrientedNavigation: or(\n    'canUseContentOrientedNavigationFeature',\n    'canUseContentNavReleaseFeature',\n  ),\n  canUseToursInOutboundHome: or(\n    'canUseToursInOutboundHomeFeature',\n    'canUseContentNavReleaseFeature',\n  ),\n  canUseToursContentEditor: ComputedCanUseFeature('orchestration-tours-content-editor'),\n  canUseMessagesReporting: ComputedCanUseFeature('team-messages-reporting'),\n  canUseSeriesPrototype: ComputedCanUseFeature('messages-series-prototype'),\n  hasSavedContentFeature: ComputedCanUseFeature('saved_content'),\n  canUseBanners: ComputedCanUseFeature('messages-banners'),\n  canUseSMS: ComputedCanUseFeature('messages-sms'),\n  canUseSortInOutboundHome: ComputedCanUseFeature('messages-outbound-home-sorting'),\n  canUseSeries: ComputedCanUseFeature('messages-series'),\n  canUseEmailInOutboundHome: ComputedCanUseFeature('messages-outbound-home-email'),\n  campaignsDeprecated: ComputedCanUseFeature('orchestration-campaigns-deprecated'),\n\n  //team-mobile\n  canUseApnsBasedToken: ComputedCanUseFeature('team-mobile-apns-token-based-notification'),\n  canUseCarouselStats: ComputedCanUseFeature('team-mobile-carousel-stats'),\n  canUseProgrammaticCarousels: ComputedCanUseFeature('team-mobile-programmatic-carousels'),\n\n  //team-monetization\n  canUseEarlyStageGraduationView: ComputedCanUseFeature('early-stage-graduation-view'),\n  canUseEarlyStageGraduationRecommendations: ComputedCanUseFeature('early-stage-recommendations'),\n  canUseEligibilityCheckForCovidDiscountOffer: ComputedCanUseFeature(\n    'eligibility-check-for-covid-discount-offer',\n  ),\n  canUsePerProductPricingFlow: ComputedCanUseFeature('per-product-pricing-flow'),\n  canUsePurchaseMigrationView: ComputedCanUseFeature('purchase-migrations-view'),\n  canUsePurchaseV3: ComputedCanUseFeature('purchase-v3'),\n  canSeeBillingSummaryIfAnnuallyContracted: ComputedCanUseFeature('growth-annual-billing-summary'),\n  canSeePerWorkspaceUsageBreakdown: ComputedCanUseFeature(\n    'growth-annual-billing-summary-usage-breakdown',\n  ),\n  emailVerificationRequired: ComputedCanUseFeature('require-email-verification'),\n  shouldShowMissingCompanyAddressBanner: ComputedCanUseFeature(\n    'enable-missing-company-address-banner',\n  ),\n\n  canUseArticles: ComputedCanUseFeature(ARTICLES_FEATURE),\n  canUseInbox: ComputedCanUseFeature(INBOX_FEATURE),\n  canUseMessages: ComputedCanUseFeature(MESSAGES_FEATURE),\n\n  //team-activation\n  hasIntercomHomeDevelopmentMode: ComputedCanUseFeature('intercom-home-development-mode'),\n\n  //team-messenger\n  canEnforceEncryptedMode: ComputedCanUseFeature('team-messenger-enforce-encrypted-mode'),\n  canUseConditionalDisplayForVisitors: ComputedCanUseFeature(\n    'visitor_messenger_conditional_display',\n  ),\n  canUseNewVamPredicates: ComputedCanUseFeature('messenger-new-vam-predicates'),\n  displayMobileLauncherPositioning: ComputedCanUseFeature('messenger-mobile-launcher-positioning'),\n  hasTargetInboundConversationsFeature: ComputedCanUseFeature('target_inbound_conversations'),\n  canUseUnbrandedMessenger: ComputedCanUseFeature('unbranded'),\n  canEditIdentityVerificationV2Settings: ComputedCanUseFeature('identity-verification-v2'),\n\n  //team-operator\n  canUseOperatorQualifications: ComputedCanUseFeature('operator_qualification'),\n  canUseVisitorAutoMessaging: ComputedCanUseFeature('visitor_auto_messaging'),\n  canUseAppsInOperator: ComputedCanUseFeature('apps_in_operator'),\n  canUseSuggestedAnswers: ComputedCanUseFeature('team-operator-suggested-answers'),\n  hasHelpCenter: ComputedCanUseFeature('help_center'),\n  hasEmbeddedArticles: ComputedCanUseFeature('embedded_articles'),\n  canUsePathPrefixForCustomDomain: ComputedCanUseFeature('path_prefix_for_custom_domain'),\n  canUseArticleAudienceTargeting: ComputedCanUseFeature('article_audience_targeting'),\n  canUseArticleSuggestionsForLeads: ComputedCanUseFeature('operator-article-suggestions-for-leads'),\n  canUseArticlesNeedsReview: ComputedCanUseFeature('team-operator-articles-needs-review'),\n  canUseLoopingBot: ComputedCanUseFeature('team-self-serve-looping-bot'),\n  canUseNewArticleStatsSystem: ComputedCanUseFeature('articles-use-stats-system'),\n\n  // composer features\n  canUseHorizontalRule: ComputedCanUseFeature('articles-horizontal-rule'),\n  canUseTable: ComputedCanUseFeature('composer-table-enabled'),\n  canUseComposerForInboundBotPrompt: ComputedCanUseFeature('composer-ib-prompt'),\n  canUseMediaToolbar: ComputedCanUseFeature('articles-media-toolbar-enabled'),\n\n  //team-people\n  canUseNewEventsPipeline: ComputedCanUseFeature('team-pipeline-direct-events-store'),\n  canUseAppPermissions: ComputedCanUseFeature('app_permissions'),\n  canUseContentEvents: ComputedCanUseFeature('team-people-content-events-ui'),\n  canUseRoles: ComputedCanUseFeature('team-people-role-based-permissions'),\n  canUseReportingChannelDrilldown: ComputedCanUseFeature('team-people-reporting-channel-drilldown'),\n  canUseWorkspaceSecurityContact: ComputedCanUseFeature('team-people-security-contact'),\n  canUseReportingSharingDashboard: ComputedCanUseFeature('sharing-reports'),\n  canUseNewReportingIa: ComputedCanUseFeature('team-people-new-reporting-information-architecture'),\n  canUseVisualEventsCreator: ComputedCanUseFeature('visual-events-creator'),\n  canUseVisualEventsCreatorDisableUrlCheck: ComputedCanUseFeature(\n    'visual-events-creator-disable-url-check',\n  ),\n  isOnCsvBlockedList: ComputedCanUseFeature('csv-import-blockedlist'),\n  canUsePowerfulReporting: ComputedCanUseFeature('team-people-powerful-reporting'),\n  canSeePowerfulReportingNav: ComputedCanUseFeature('team-people-powerful-reporting-nav'),\n  canFilterByConversationAttributes: ComputedCanUseFeature(\n    'team-people-filter-by-conversation-attributes',\n  ),\n\n  //team-insights\n  hasOsa2OnboardingHome: ComputedCanUseFeature('team-insights-osa2-onboarding-home'),\n  canUseExportImprovements: ComputedCanUseFeature('insights-csv-export-improvements'),\n  canSeeConversationalInsights: ComputedCanUseFeature('insights-conversational-insights'),\n  canSeeConversationalInsightsLinks: ComputedCanUseFeature(\n    'insights-conversational-insights-production-links',\n  ),\n  canSeeConversationalInsightsInInbox: ComputedCanUseFeature(\n    'insights-conversational-insights-inbox-integration',\n  ),\n  canQueryPowerfulIndices: ComputedCanUseFeature('insights-powerful-indices'),\n\n  //team-inbox billing\n  canUseConversationRatings: ComputedCanUseFeature('conversation_ratings'),\n  canUseInboxSlas: ComputedCanUseFeature('inbox_conversation_sla_rules'),\n  canUsePriorityRules: ComputedCanUseFeature('inbox_priority_rules'),\n  canUseTagRules: ComputedCanUseFeature('inbox_conversation_tag_rules'),\n\n  //team-inbox features\n  canSeeSnowfall: ComputedCanUseFeature('respond-inbox-of-love-snowflakes'),\n  canSeePerProductPricingChanges: ComputedCanUseFeature('ember-inbox-per-product-pricing-ui'),\n  canUseBackgroundInboxes: ComputedCanUseFeature('ember-inbox-background-inboxes'),\n  canUseNewTagSettings: ComputedCanUseFeature('ember-inbox-new-tag-settings'),\n  canUseReferenceCountLogging: ComputedCanUseFeature('inbox-reference-count-logging'),\n  canUseConversationLevelTagging: ComputedCanUseFeature('inbox-conversation-level-tagging'),\n  canUseArchivedTags: ComputedCanUseFeature('inbox-archive-tags'),\n  canUseInboxViews: ComputedCanUseFeature('team-inbox-inbox-views'),\n  canUseSavedRepliesManagement: ComputedCanUseFeature('team-inbox-saved-replies-management'),\n  canUseSavedRepliesFuzzySearch: ComputedCanUseFeature('team-inbox-saved-replies-fuzzy-search'),\n  canUseCreateSavedReplyModal: ComputedCanUseFeature('team-inbox-create-saved-reply-modal'),\n  canUseUpdatedNavigation: ComputedCanUseFeature('updated-main-navigation'),\n  _canUseInboxInlineVisibilityManagement: ComputedCanUseFeature(\n    'inbox-inline-visibility-management',\n  ),\n  canUseInboxInlineVisibilityManagement: or(\n    '_canUseInboxInlineVisibilityManagement',\n    'canUseInboxViews',\n  ),\n  shouldShowInboxTourBanner: ComputedCanUseFeature('show-inbox-osa2-tour-banner'),\n  canUseTagManagement: ComputedCanUseFeature('team-inbox-can-use-tag-management'),\n  canUseArchiveDeleteSlas: ComputedCanUseFeature('archive-delete-slas'),\n  canUseNewSlaPage: and('canUseInboxSlas', 'canUseArchiveDeleteSlas'),\n\n  _canAssignToTeamAndTeammate: ComputedCanUseFeature('maintain-conversation-context'),\n  _canAssignToTeamAndTeammateDisabled: ComputedCanUseFeature(\n    'ember-inbox-maintain-conversation-context-disabled',\n  ),\n  canAssignToTeamAndTeammate: computed(\n    '_canAssignToTeamAndTeammate',\n    '_canAssignToTeamAndTeammateDisabled',\n    function() {\n      return this._canAssignToTeamAndTeammate && !this._canAssignToTeamAndTeammateDisabled;\n    },\n  ),\n  canUseConversationAttributeData: ComputedCanUseFeature('conversation-attribute-data'),\n  canUseEmberConversationTitle: ComputedCanUseFeature('team-inbox-conversation-title-support'),\n  canUseDuplicateConversationDetection: ComputedCanUseFeature('detect-duplicate-conversations'),\n  canUseNewInboxComposer: ComputedCanUseFeature('ember-prosemirror-composer-inbox'),\n  canUseRestrictConversationAccess: ComputedCanUseFeature('restrict-conversation-access'),\n\n  //team-support-retain features\n  canUseWorkloadManagement: readOnly('workloadManagementEnabled'),\n  canUseAutoAway: ComputedCanUseFeature('support-retain-auto-away'),\n  canUseContinuedConversations: ComputedCanUseFeature('team-snr-continued-conversations'),\n  canUseSidebarViews: ComputedCanUseFeature('team-support-retain-sidebar-views'),\n  canSeeWorkflowsOptIn: ComputedCanUseFeature('team-support-retain-can-see-new-rules-opt-in'),\n  canUseWorkflows: ComputedCanUseFeature('team-support-retain-workflows-management'),\n  shouldHideInboxRules: ComputedCanUseFeature('team-support-retain-hide-inbox-rules'),\n  canUseAwaitingFirstReplyTrigger: ComputedCanUseFeature('inbox_rules_awaiting_first_reply_event'),\n  canUseWorkflowsCloseConversationAction: ComputedCanUseFeature(\n    'team-support-retain-close-conversation-action',\n  ),\n  canUseDelayedTriggerEvents: ComputedCanUseFeature(\n    'team-support-retain-workflows-delayed-trigger-events',\n  ),\n\n  // team-ml features\n  hasAnswerBot: ComputedCanUseFeature('answer_workflows'),\n  canCreateAnswerFromRejectedSuggestedQuestions: ComputedCanUseFeature(\n    'ember-ml-create-answer-from-rejected-questions',\n  ),\n\n  // team-cto features\n  hasSecureUploads: ComputedCanUseFeature('team-cto-end-user-upload-security'),\n\n  //misc features\n  shouldWriteAdminPresence: ComputedCanUseFeature('write_new_admin_presence'),\n  shouldShowIntercomradeWarning: ComputedCanUseFeature('ember-enable-intercomrade-warning'),\n\n  //BILLING:\n  hasMultipleLanguages: ComputedCanUseFeature('multiple_language_support'),\n  canUseSmartCampaigns: ComputedCanUseFeature('smart_campaigns'),\n  canUseRotatingAssignment: ComputedCanUseFeature('round_robin'),\n  canUseFree: ComputedCanUseFeature('ember-purchase-free'),\n  canUseRevenueReports: ComputedCanUseFeature('revenue_reports'),\n  canUseCSVExport: ComputedCanUseFeature('inbox_csv_export'),\n  canUseActivityLogs: ComputedCanUseFeature('activity_logs'),\n  workloadManagementEnabled: ComputedCanUseFeature('manage_capacity'),\n  canUseBranchingQualification: ComputedCanUseFeature('branching_qualification'),\n  canUseConversationRouting: ComputedCanUseFeature('conversation_routing'),\n  hasAccountMarketingBillingFeature: ComputedCanUseFeature('account_marketing'),\n  hasUpfrontEmailCollectionBillingFeature: ComputedCanUseFeature('upfront_email_collection'),\n  hasDynamicAccountMessagesBillingFeature: ComputedCanUseFeature('dynamic_account_messages'),\n  hasSalesforceSandboxFeatureInPlan: ComputedCanUseFeature('salesforce_sandbox'),\n\n  canUseMessageFolders: ComputedCanUseFeature('message_folders'),\n  canUseInboxRules: ComputedCanUseFeature('inbox_rules'),\n  hasDefaultSenderAddress: ComputedCanUseFeature('default_sender_address'),\n\n  //design systems\n  canUseHasFeatureTest: ComputedCanUseFeature('has-feature-test-feature'),\n\n  //team-capture-convert features\n  canCreateVideoAutoMessages: ComputedCanUseFeature('team-cc-video-ams'),\n  canCreateVideoBAMs: ComputedCanUseFeature('team-cc-video-bams'),\n  ccIntercomPages: ComputedCanUseFeature('team-cc-pages'),\n  canUseSalesforceReauthentication: ComputedCanUseFeature('team-cc-salesforce-reauthentication'),\n  canUseSalesforceCasesCustomFields: ComputedCanUseFeature(\n    'team-cc-salesforce-cases-custom-fields',\n  ),\n  canUseMarketoExternalProfile: ComputedCanUseFeature('team-cc-marketo-external-profile'),\n  // Context: https://github.com/intercom/intercom/issues/134467\n  canUseManualAccountCreation: ComputedCanUseFeature('team-cc-manual-account-creation'),\n  canUseSfdcAttributeMappings: ComputedCanUseFeature('team-cc-sfdc-attribute-mappings'),\n  canUseMarketoIteration: ComputedCanUseFeature('team-cc-marketo-v2'),\n  canUseMarketoTriggerCampaigns: ComputedCanUseFeature('team-cc-marketo-trigger-campaigns'),\n  canUseOperatorTemplateModal: ComputedCanUseFeature('lead-gen-operator-template-modal'),\n\n  //team-reporting features\n  canUseConversationExplorer: ComputedCanUseFeature('ember-reporting-conversations-explorer'),\n  canUseExplorerIteration: ComputedCanUseFeature('ember-reporting-explorer-iteration'),\n  canSaveExplorerViews: ComputedCanUseFeature('ember-reporting-save-views'),\n  canUseConversationList: ComputedCanUseFeature('ember-reporting-conv-list'),\n  canUseFlexibleGeolocationFilter: ComputedCanUseFeature(\n    'ember-reporting-flexible-geolocation-filter',\n  ),\n\n  // team-billling\n  canUseImportantAdminNotifications: ComputedCanUseFeature('ember-important-admin-notifications'),\n\n  //team-messages features\n  canUseMessagePointers: ComputedCanUseFeature('team-oe-message-pointers'),\n  canUseTourScheduling: ComputedCanUseFeature('team-oe-tours-scheduling'),\n  canExportCsv: ComputedCanUseFeature('team-oe-csv-export'),\n  canUseMatchingSystemVersioning: ComputedCanUseFeature('team-oe-matching-system-versioning'),\n  hasVersioningBillingFeature: ComputedCanUseFeature('ruleset_versioning'),\n\n  //team-trust-and-safety\n  hasInboxSpamFilter: ComputedCanUseFeature('ember-spam-folder-in-inbox'),\n\n  // team-conversations\n  canSetEmailNotificationContent: ComputedCanUseFeature(\n    'ember-conversations-omit-notifications-content',\n  ),\n  isForbiddenFromUsingUserPresenceService: ComputedCanUseFeature(\n    'ember-conversations-is-forbidden-from-using-user-presence-service',\n  ),\n\n  canUseFeatureWithoutLocalOverrides(featureIdentifier) {\n    return this.canUseFeature(featureIdentifier, false);\n  },\n  canUseFeature(featureIdentifier, allowLocalOverrides = true) {\n    let appId = this.id;\n\n    if (IntercomradesProductsOverride.isEnabled(appId)) {\n      return IntercomradesProductsOverride.features(this).includes(featureIdentifier);\n    } else {\n      return (\n        (allowLocalOverrides && this.localStorageFeatures.includes(featureIdentifier)) ||\n        this.features.findBy('id', featureIdentifier) !== undefined\n      );\n    }\n  },\n\n  init() {\n    this._super(...arguments);\n    this.refreshLocalStorageFeatures();\n  },\n  refreshLocalStorageFeatures() {\n    this.set('localStorageFeatures', localFeatureFlags.list());\n  },\n  addLocalStorageFeature(featureKey) {\n    localFeatureFlags.add(featureKey);\n    this.refreshLocalStorageFeatures();\n  },\n  removeLocalStorageFeature(featureKey) {\n    localFeatureFlags.remove(featureKey);\n    this.refreshLocalStorageFeatures();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport Mixin from '@ember/object/mixin';\nimport { get } from '@ember/object';\nexport default Mixin.create({\n  rollbackMessageAndRelationships() {\n    let relationshipNames = get(this.constructor, 'relationshipNames');\n    let hasManyNamesToRollback = this._filterRelationshipNames(relationshipNames.hasMany);\n    let belongsToNamesToRollback = this._filterRelationshipNames(relationshipNames.belongsTo);\n\n    this.rollbackAttributes();\n    hasManyNamesToRollback.forEach(relationshipName => {\n      this.get(relationshipName).forEach(model => this._rollbackModelIfDefined(model));\n    });\n    belongsToNamesToRollback.forEach(relationshipName => {\n      this._rollbackBelongsToRelationship(this.get(relationshipName));\n    });\n  },\n\n  _filterRelationshipNames(relationshipNames) {\n    return relationshipNames.filter(relationshipName => {\n      return this.rollbackRelationshipNamesWhitelist.includes(relationshipName);\n    });\n  },\n\n  _rollbackBelongsToRelationship(relationship) {\n    if (relationship.isFulfilled) {\n      this._rollbackModelIfDefined(relationship.content);\n    }\n  },\n\n  _rollbackModelIfDefined(model) {\n    if (model) {\n      model.rollbackAttributes();\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport Mixin from '@ember/object/mixin';\nimport {\n  selectFromObject,\n  templateString,\n  ternary,\n  valueOrDefault,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport { computed } from '@ember/object';\n\nexport default Mixin.create({\n  _channelIcons: { Email: 'email', 'In-App': 'conversation', Push: 'push-notification' },\n  channelIcon: selectFromObject('_channelIcons', 'type'),\n\n  //Should deprecate in favour of using `selectionState.userTypes` everywhere\n  userTypeLabel: ternary('isTargetingLeads', 'lead', 'user'),\n  pluralUserTypeLabel: templateString('${userTypeLabel}s'),\n\n  uiTitle: valueOrDefault('title', 'Untitled Message'),\n\n  displayableClassType: computed('isVisitorAutoMessage', 'classType', function() {\n    if (this.isVisitorAutoMessage) {\n      return 'visitor auto';\n    } else {\n      return this.classType;\n    }\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-new-mixins */\nimport { computed } from '@ember/object';\nimport Mixin from '@ember/object/mixin';\nimport { selectFromObject } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Mixin.create({\n  _inAppIconMap: {\n    chat: 'chat-bubble',\n    post: 'inapp-post',\n    note: 'inapp-note',\n    video: 'video',\n    pointer: 'inapp-pointer',\n  },\n  _iconForInApp: selectFromObject('_inAppIconMap', 'messageStyleName'),\n\n  typeIcon: computed('message.type', '_iconForInApp', function() {\n    if (this.isEmail) {\n      return 'email';\n    } else if (this.isMobilePush) {\n      return 'push-notification';\n    } else {\n      return this._iconForInApp;\n    }\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-new-mixins */\nimport { computed } from '@ember/object';\nimport { isPresent, isBlank } from '@ember/utils';\nimport { assert } from '@ember/debug';\nimport Mixin from '@ember/object/mixin';\nimport moment from 'moment';\nimport { mutatedAtString } from 'embercom/lib/data-mutations/mutator';\n\nexport default Mixin.create({\n  updateLastMutatedAt() {\n    assert('The mutations attribute should already have been setup!', isPresent(this.mutations));\n    this.set('mutations.lastSavedAt', mutatedAtString());\n  },\n\n  hasUnsavedMutations: computed('mutations.lastMutatedAt', 'mutations.lastSavedAt', function() {\n    let lastMutatedAt = this.get('mutations.lastMutatedAt');\n    let lastSavedAt = this.get('mutations.lastSavedAt');\n    if (isBlank(lastMutatedAt)) {\n      return false;\n    } else if (isBlank(lastSavedAt)) {\n      return true;\n    }\n    return moment(lastSavedAt).isBefore(lastMutatedAt);\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-new-mixins */\nimport { computed } from '@ember/object';\nimport { alias, readOnly, not } from '@ember/object/computed';\nimport Mixin from '@ember/object/mixin';\nimport { rejectBy } from '@intercom/embercom-core/lib/computed-properties';\nimport PredicatesService from 'embercom/services/predicates-service';\nimport { hasNestedPredicates } from 'embercom/lib/predicates-helper';\n\nlet PredicateValidator = Mixin.create({\n  predicatesUpdated: computed(\n    'predicates.@each.{comparison,value}',\n    'nestedPredicates.@each.{comparison,value}',\n    'nestedPredicates.length',\n    'predicates.length',\n    'predicates',\n    'predicates.[]',\n    'nestedPredicates.[]',\n    function() {\n      return new Date().getTime();\n    },\n  ),\n\n  hasAnonymousPredicate: computed(\n    'predicates.@each.{comparison,value}',\n    'nestedPredicates.@each.{comparison,value}',\n    'nestedPredicates.length',\n    'predicates.length',\n    'predicates',\n    'predicates.[]',\n    function() {\n      let anonymousPredicates = this.predicates.filter(predicate => {\n        return this._isAnonymousTrue(predicate) || this._isNonUserRole(predicate);\n      });\n      return anonymousPredicates.length > 0;\n    },\n  ),\n\n  _isAnonymousTrue(predicate) {\n    return predicate.type === 'anonymous' && predicate.comparison === 'true';\n  },\n\n  _isNonUserRole(predicate) {\n    if (predicate.type !== 'role') {\n      return false;\n    }\n    return !(predicate.comparison === 'eq' && predicate.value === 'user_role');\n  },\n\n  hasUserPredicate: computed(\n    'predicates.@each.{comparison,value}',\n    'nestedPredicates.@each.{comparison,value}',\n    'nestedPredicates.length',\n    'predicates.length',\n    'predicates',\n    'predicates.[]',\n    function() {\n      let userPredicates = this.predicates.filter(function(predicate) {\n        return (\n          (predicate.type === 'anonymous' && predicate.comparison === 'false') ||\n          (predicate.type === 'role' && predicate.value === 'user_role')\n        );\n      });\n      return userPredicates.length > 0;\n    },\n  ),\n\n  anonymousPredicates: computed(\n    'predicates.@each.{comparison,value}',\n    'nestedPredicates.@each.{comparison,value}',\n    'nestedPredicates.length',\n    'predicates.length',\n    'predicates',\n    'predicates.[]',\n    function() {\n      return this.predicates.filter(predicate => {\n        return predicate.type === 'anonymous' || predicate.type === 'role';\n      });\n    },\n  ),\n\n  anonymousPredicate: readOnly('anonymousPredicates.firstObject'),\n\n  // I left `isOrGroup` as an alias to avoid modifying the other places it is called (LegacySelectionState).\n  // I will remove it in subsequent PR after making sure it doesn't impact anything\n  isOrGroup: alias('isNestedGroup'),\n  isNestedGroup: computed('predicates', 'predicates.[]', 'predicates.@each.type', function() {\n    if (this.predicates) {\n      return this.predicates.isAny('type', 'or') || this.predicates.isAny('type', 'and');\n    } else {\n      return false;\n    }\n  }),\n  // this is to store an array of nested predicates, it's a bit hacky but we're not picking\n  // up changes to nested predicates as part of the predicates array\n  // it means we have keep the nestedPredicates array up to date in the segment-filter/list-component\n  nestedPredicates: [],\n  editablePredicatesWithoutRole: computed('predicatesWithoutRole', function() {\n    let flattenedPredicates = Array.from(this._flattenPredicates(this.predicatesWithoutRole));\n    return flattenedPredicates.filter(pred => pred.type !== 'or' && pred.type !== 'and');\n  }),\n  activePredicates: computed(\n    'predicates',\n    'predicates.[]',\n    'nestedPredicates',\n    'nestedPredicates.[]',\n    'nestedPredicates.@each.{value,type,comparison}',\n    'predicates.@each.{value,type,comparison}',\n    function() {\n      let cleanPredicates = this.cleanedPredicates(this.predicates);\n      return cleanPredicates;\n    },\n  ),\n\n  activePredicatesWithoutAnonymous: rejectBy('activePredicates', 'type', 'anonymous'),\n  activePredicatesWithoutRole: rejectBy('activePredicates', 'type', 'role'),\n  predicatesWithoutRole: rejectBy('predicates', 'type', 'role'),\n\n  cleanedPredicates(predicates) {\n    predicates = predicates || [];\n    predicates = PredicatesService.removeAnonymousPredicateIfRolePresent(predicates);\n    return predicates\n      .filter(this.predicateIsFilterable.bind(this))\n      .map(this.cleanNestedPredicates.bind(this));\n  },\n\n  cleanNestedPredicates(predicate) {\n    if (predicate.type === 'or') {\n      return { type: 'or', predicates: this.cleanedPredicates(predicate.predicates) };\n    } else if (predicate.type === 'and') {\n      return { type: 'and', predicates: this.cleanedPredicates(predicate.predicates) };\n    } else {\n      return predicate;\n    }\n  },\n  predicateIsFilterable(predicate) {\n    let isComparisonWithValue = predicate.comparison && predicate.value;\n    let isBooleanWithComparison =\n      (predicate.type === 'boolean' || predicate.type === 'anonymous') && predicate.comparison;\n    let isKnownOrUnknown = predicate.comparison === 'known' || predicate.comparison === 'unknown';\n    // A join/logical predicate is only valid if it has at least one predicate that is filterable\n    let isValidJoinPredicate =\n      (predicate.type === 'or' || predicate.type === 'and') &&\n      predicate.predicates.any(this.predicateIsFilterable.bind(this));\n    return (\n      isComparisonWithValue || isBooleanWithComparison || isKnownOrUnknown || isValidJoinPredicate\n    );\n  },\n\n  _flattenedValidPredicates: computed(\n    'activePredicatesWithoutRole.[]',\n    'isNestedGroup',\n    function() {\n      let activePredicates = this.activePredicatesWithoutRole;\n      if (this.isNestedGroup) {\n        // Remove the only top level logical predicate as we're comparing the\n        // result to nestedPredicates that doesn't include the top level predicate.\n        // This is not necessary for predicates with an implicit AND (i.e. isNestedGroup == false)\n        activePredicates = activePredicates[0].predicates;\n      }\n      return Array.from(this._flattenPredicates(activePredicates));\n    },\n  ),\n\n  *_flattenPredicates(predicates) {\n    for (let predicate of predicates) {\n      yield predicate;\n      let children = predicate.predicates;\n      if (children) {\n        yield* this._flattenPredicates(children);\n      }\n    }\n  },\n\n  allPredicatesAreValid: computed(\n    'activePredicates.[]',\n    'predicates.@each.{type,value,comparison,isTracked}',\n    'nestedPredicates.@each.{type,value,comparison,isTracked}',\n    function() {\n      if (this.isNestedGroup) {\n        return (\n          this.hasValidNestedOrNonNestedPredicates &&\n          this.get('nestedPredicates.length') === this._flattenedValidPredicates.length\n        );\n      } else {\n        return (\n          this.hasValidNestedOrNonNestedPredicates &&\n          this.get('predicates.length') === this.get('activePredicates.length')\n        );\n      }\n    },\n  ),\n\n  hasValidNestedOrNonNestedPredicates: computed(\n    'activePredicatesWithoutAnonymous.[]',\n    'nestedPredicates.@each.{type,comparison,value}',\n    'predicates.@each.{type,comparison,value}',\n    function() {\n      if (this.isNestedGroup) {\n        return this._flattenedValidPredicates.length > 0;\n      } else {\n        return this.get('activePredicatesWithoutAnonymous.length') > 0;\n      }\n    },\n  ),\n\n  nestingLevelGreaterThanOne: computed(\n    'activePredicates.[]',\n    'predicates.@each.{type,value,comparison}',\n    'nestedPredicates.@each.{type,value,comparison}',\n    function() {\n      return hasNestedPredicates(this.predicates);\n    },\n  ),\n\n  hasSimplePredicates: not('nestingLevelGreaterThanOne'),\n});\n\nexport default PredicateValidator;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-new-mixins */\nimport Mixin from '@ember/object/mixin';\nimport ajax from 'embercom/lib/ajax';\nimport { notImplemented } from '@intercom/embercom-core/lib/computed-properties';\nimport moment from 'moment';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\nimport { action } from '@ember/object';\n\nlet TaggingMixin = Mixin.create({\n  updateTaggingUrl: notImplemented(),\n\n  refreshTaggings(admin, addedTags = [], removedTags = []) {\n    let taggings = this.taggings;\n    taggings.removeObjects(this._taggingsForTags(removedTags));\n    taggings.pushObjects(this._addedTaggings(admin, addedTags));\n    return taggings;\n  },\n\n  updateTaggings(admin, addedTags = [], removedTags = [], initialTags = []) {\n    let taggings = this.taggings;\n\n    taggings.removeObjects(this._taggingsForTags(removedTags));\n    taggings.pushObjects(this._addedTaggings(admin, addedTags));\n    return this._saveTaggings(addedTags, removedTags, initialTags);\n  },\n\n  removeTagging: action(function(tag) {\n    let addedTags = [];\n    let removedTags = [tag];\n    let initialTags = this.taggings.map(tagging => tagging.tag);\n\n    this.taggings.removeObjects(this._taggingsForTags([tag]));\n\n    return this._saveTaggings(addedTags, removedTags, initialTags);\n  }),\n\n  _taggingsForTags(tags) {\n    return tags.map(tag => {\n      return this.taggings.findBy('tag.id', tag.id);\n    });\n  },\n\n  _addedTaggings(admin, addedTags) {\n    return addedTags.map(tag => {\n      return getEmberDataStore().createRecord('tagging', {\n        tag,\n        admin,\n        tagged_at: moment().toString(),\n      });\n    });\n  },\n\n  _saveTaggings(addedTags = [], removedTags = [], initialTags = []) {\n    let params = {\n      id: this.id,\n      app_id: this.app_id,\n      tag_ids: this.taggings.map(tagging => tagging.tag.id),\n      added_tag_ids: addedTags.map(tag => tag.id),\n      removed_tag_ids: removedTags.map(tag => tag.id),\n      initial_tag_ids: initialTags.map(tag => tag.id),\n    };\n    return ajax({\n      url: this.updateTaggingUrl,\n      type: 'PUT',\n      data: JSON.stringify(params),\n    }).then(response => {\n      if (response.taggings) {\n        let store = getEmberDataStore();\n        response.taggings.forEach(taggingResponse => {\n          let existingTagging = this.taggings.findBy('tag.id', taggingResponse.tag_id.toString());\n          if (existingTagging) {\n            store.pushPayload({ tagging: [taggingResponse] });\n            if (existingTagging.isNew) {\n              let newTagging = store.peekRecord('tagging', taggingResponse.id.toString());\n              let index = this.taggings.indexOf(existingTagging);\n              this.taggings.replace(index, 1, [newTagging]);\n              existingTagging.unloadRecord();\n            }\n          }\n        });\n      }\n    });\n  },\n});\nexport default TaggingMixin;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-new-mixins */\nimport { computed } from '@ember/object';\nimport Mixin from '@ember/object/mixin';\nimport avatarUtils from '@intercom/embercom-core/lib/avatar-utils';\n\nlet UserAvatarDataMixin = Mixin.create({\n  avatarData: computed('isActive', 'avatar', 'isUnknown', function() {\n    let data = this.getProperties(\n      'avatar.color',\n      'avatar.image_urls.normal',\n      'isActive',\n      'avatar.initials',\n      'isUnknown',\n    );\n    return {\n      color: data['avatar.color'],\n      url: data['avatar.image_urls.normal'],\n      showAsActive: data['isActive'],\n      initials: avatarUtils.formatInitials(data['avatar.initials']),\n      isCustomer: true,\n      isTeammate: false,\n      isCompany: false,\n      isTeam: false,\n      deleted: data['isUnknown'],\n      shouldAnimateUpdate: true,\n    };\n  }),\n});\n\nexport default UserAvatarDataMixin;\n","import { attr } from '@ember-data/model';\nimport Import from './import';\nimport ajax from 'embercom/lib/ajax';\n\nexport default Import.extend({\n  appIdCode: attr(),\n  adminId: attr(),\n  apiKey: attr(),\n  apiSecret: attr(),\n  userCount: attr(),\n  manualTagName: attr(),\n  manualTagId: attr(),\n\n  completeFor(app_id) {\n    return ajax({\n      url: '/ember/mixpanel_imports/complete',\n      type: 'post',\n      contentType: 'application/json',\n      data: JSON.stringify({\n        app_id,\n        id: window.mixpanel_import_id,\n      }),\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { belongsTo, attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { fragment, fragmentArray } from 'ember-data-model-fragments/attributes';\nimport LocalizedPushContentValidations from 'embercom/validations/localized-push-content';\n\nexport default Model.extend(LocalizedPushContentValidations, {\n  push: belongsTo('mobile-push/push', { inverse: 'localizedPushContents' }),\n  titleBlocks: fragmentArray('common/blocks/block', {\n    polymorphic: true,\n    typeKey: 'modelKey',\n    defaultValue: () => [{ text: '', type: 'paragraph', modelKey: 'common/blocks/paragraph' }],\n  }),\n  bodyBlocks: fragmentArray('common/blocks/block', {\n    polymorphic: true,\n    typeKey: 'modelKey',\n    defaultValue: () => [{ text: '', type: 'paragraph', modelKey: 'common/blocks/paragraph' }],\n  }),\n  uris: fragment('mobile-push/uris'),\n  locale: attr('string'),\n\n  contentHash: computed(\n    'titleBlocks.@each.text',\n    'bodyBlocks.@each.text',\n    'uris.ios',\n    'uris.android',\n    function() {\n      return {\n        titleBlocks: this.titleBlocks.serialize(),\n        bodyBlocks: this.bodyBlocks.serialize(),\n        uris: this.uris.serialize(),\n      };\n    },\n  ),\n\n  hasUnsavedChanges: computed(\n    'hasDirtyAttributes',\n    'titleBlocks.@each.hasDirtyAttributes',\n    'bodyBlocks.@each.hasDirtyAttributes',\n    function() {\n      return (\n        this.hasDirtyAttributes ||\n        this.titleBlocks.any(block => block.hasDirtyAttributes) ||\n        this.bodyBlocks.any(block => block.hasDirtyAttributes)\n      );\n    },\n  ),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, hasMany } from '@ember-data/model';\nimport { getOwner } from '@ember/application';\nimport { computed } from '@ember/object';\nimport { preferredDevices } from 'embercom/models/data/outbound/constants';\nimport pushEditConfigGenerator from 'embercom/objects/content-editor/configuration-generators/push';\nimport PushValidations from 'embercom/validations/mobile-push';\n\nexport const hasDeviceTokenPredicate = {\n  attribute: 'has_device_token',\n  type: 'boolean',\n  comparison: 'true',\n  value: '',\n};\n\nexport const hasiOSSessionsPredicate = {\n  attribute: 'session_count_ios',\n  type: 'integer',\n  comparison: 'gt',\n  value: '0',\n};\nexport const hasAndroidSessionsPredicate = {\n  attribute: 'session_count_android',\n  type: 'integer',\n  comparison: 'gt',\n  value: '0',\n};\n\nconst implicitPredicatesForPush = [hasDeviceTokenPredicate];\nconst implicitPredicatesForAndroidFirstPush = [\n  hasDeviceTokenPredicate,\n  hasAndroidSessionsPredicate,\n];\nconst implicitPredicatesForiOSFirstPush = [hasDeviceTokenPredicate, hasiOSSessionsPredicate];\n\nexport default Model.extend(PushValidations, {\n  localizedPushContents: hasMany('mobile-push/localized-push-content', { inverse: 'push' }),\n  preferredDevices: attr('array'),\n\n  contentHash: computed('localizedPushContents.@each.contentHash', function() {\n    return this.localizedPushContents.map(localizedPushContent => localizedPushContent.contentHash);\n  }),\n\n  hasUnsavedChanges: computed(\n    'hasDirtyAttributes',\n    'localizedPushContents.@each.hasUnsavedChanges',\n    function() {\n      return (\n        this.hasDirtyAttributes ||\n        this.localizedPushContents.any(\n          localizedPushContent => localizedPushContent.hasUnsavedChanges,\n        )\n      );\n    },\n  ),\n\n  rollbackAttributes() {\n    this._super(...arguments);\n    this.localizedPushContents.forEach(content => content.rollbackAttributes());\n  },\n\n  editorConfig() {\n    let container = getOwner(this);\n    return pushEditConfigGenerator({ container, push: this });\n  },\n\n  implicitPredicates: computed('preferredDevices', function() {\n    // Any changes to this function should be made to the backend version too.\n    if (\n      this.preferredDevices.includes(preferredDevices.ios) &&\n      this.preferredDevices.includes(preferredDevices.android)\n    ) {\n      return implicitPredicatesForPush;\n    } else if (this.preferredDevices.includes(preferredDevices.android)) {\n      return implicitPredicatesForAndroidFirstPush;\n    } else if (this.preferredDevices.includes(preferredDevices.ios)) {\n      return implicitPredicatesForiOSFirstPush;\n    }\n  }),\n});\n","import { attr } from '@ember-data/model';\nimport MF from 'ember-data-model-fragments';\n\nexport default MF.Fragment.extend({\n  ios: attr('string'),\n  android: attr('string'),\n});\n","import Model, { attr } from '@ember-data/model';\nimport { dependentKeyCompat } from '@ember/object/compat';\nimport PERMISSION_LABELS from 'embercom/lib/permission-labels';\nimport { inject as service } from '@ember/service';\n\nconst permission = attr('boolean', { defaultValue: false });\n\nexport default class ModelWithPermissions extends Model {\n  @service appService;\n\n  @permission can_access_settings_and_billing;\n  @permission can_export_data;\n  @permission can_send_messages;\n  @permission can_redact_conversation_parts;\n  @permission can_reassign_conversations;\n  @permission can_access_billing_settings;\n  @permission can_access_product_settings;\n  @permission can_access_workspace_settings;\n  @permission can_create_and_edit_bots;\n  @permission can_manage_articles;\n  @permission can_manage_messenger_settings;\n  @permission can_manage_messages_settings;\n  @permission can_access_developer_hub;\n  @permission can_manage_apps_and_integrations;\n  @permission can_manage_teammates;\n  @permission can_manage_inbox_views;\n  @permission can_manage_saved_replies;\n  @permission can_manage_tags;\n\n  @dependentKeyCompat\n  get hasFullAccess() {\n    let permissionsKeys = this.allPermissionKeys.filter(\n      k => k !== 'can_access_settings_and_billing',\n    );\n    return permissionsKeys.every(k => this[k] === true);\n  }\n\n  get allPermissionKeys() {\n    let allKeys = Array.from(ModelWithPermissions.attributes.keys());\n    let permissionsKeys = allKeys.filter(k => k.startsWith('can_'));\n\n    if (!this.appService.app?.canUseInboxViews) {\n      permissionsKeys = permissionsKeys.without('can_manage_inbox_views');\n    }\n\n    if (!this.appService.app?.canUseCreateSavedReplyModal) {\n      permissionsKeys = permissionsKeys.without('can_manage_saved_replies');\n    }\n\n    if (!this.appService.app?.canUseTagManagement) {\n      permissionsKeys = permissionsKeys.without('can_manage_tags');\n    }\n\n    return permissionsKeys;\n  }\n\n  setAllPermissions(value) {\n    this.allPermissionKeys.forEach(attr => (this[attr] = value));\n  }\n\n  setPermissions(permissions) {\n    this.allPermissionKeys.forEach(attr => (this[attr] = permissions[attr]));\n  }\n\n  permissions() {\n    return this.getProperties(this.allPermissionKeys);\n  }\n\n  numberOfPermissionsChanged() {\n    let permissionKeys = this.allPermissionKeys.filter(\n      key => key !== 'can_access_settings_and_billing',\n    );\n    let changedKeys = Object.keys(this.changedAttributes());\n    return changedKeys.filter(key => permissionKeys.includes(key)).length;\n  }\n\n  static labelFor(permissionName) {\n    return PERMISSION_LABELS[permissionName] || 'Unknown permission';\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo } from '@ember-data/model';\nimport { htmlSafe } from '@ember/string';\nimport { computed } from '@ember/object';\nimport { none, or, empty } from '@ember/object/computed';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Model.extend({\n  app_id: attr(),\n  body: attr(),\n  escaped_body: attr(),\n  body_html_safe: attr(),\n  created_at: attr(),\n  model_id: attr(),\n  is_company: attr(),\n  last_edited_at: attr(),\n  created_by: attr(),\n  admin: belongsTo('admin'),\n  hasNoAdmin: none('admin'),\n  updated_by: belongsTo('admin'),\n  new: false,\n  bodyHtmlSafe: computed('body_html_safe', function() {\n    let body = this.body_html_safe;\n    if (body) {\n      return htmlSafe(this.body_html_safe);\n    }\n    return '';\n  }),\n  isDisplayable: or('isLoaded', 'isSaving'),\n  noAdminText: 'Added via the Intercom API',\n  adminDisplayAsIsEmpty: empty('admin.display_as'),\n  authorText: ternaryToProperty('adminDisplayAsIsEmpty', 'noAdminText', 'admin.display_as'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  client: attr(),\n  token: attr(),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  name: attr('string'),\n  idCode: attr('string'),\n  connectable: attr('boolean'),\n  nonConnectableReason: attr('string'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { fragment, fragmentArray } from 'ember-data-model-fragments/attributes';\n\nexport default Model.extend({\n  oauthClientId: attr('string'),\n  appPackageName: attr('string'),\n  appPackageId: attr('number'),\n  appPackageIconUrl: attr('string'),\n  appPackagePrivacyPolicyUrl: attr('string'),\n  appPackageTermsOfServiceUrl: attr('string'),\n  appPackageOwnerApp: fragment('oauth/app'),\n  appPackageOauthScopeCategories: fragmentArray('oauth/oauth-category'),\n  initiallySelectedAppIdCode: attr('string'),\n  allApps: fragmentArray('oauth/app'),\n  adminId: attr('string'),\n  adminEmailVerified: attr('boolean'),\n  adminEmailPendingVerification: attr('boolean'),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  identifier: attr('string'),\n  name: attr('string'),\n  embercomIllustrativeIconName: attr('string'),\n  shortDescription: attr('string'),\n  longDescription: attr('string'),\n  scopes: attr('array'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport MF from 'ember-data-model-fragments';\nimport { computed } from '@ember/object';\nimport { isAny, templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport { createIntervalGroupsFromIntervals } from 'embercom/lib/office-hours/interval-group';\nimport { formattedTimezone } from 'embercom/lib/time-zone';\nimport { isEmpty } from '@ember/utils';\n\nexport default Model.extend({\n  init() {\n    this._super(...arguments);\n    this.setIntervalGroups();\n  },\n  setIntervalGroups() {\n    this.set('intervalGroups', createIntervalGroupsFromIntervals(this.timeIntervals));\n  },\n  name: attr('string'),\n  isDefault: attr('boolean'),\n  timeIntervals: MF.fragmentArray('matching-system/timetable/time-interval'),\n  linkedTeamIds: attr('array', { defaultValue: () => [] }),\n  teamsCount: attr('number'),\n  intervalGroups: null,\n  timeZoneName: attr('string'),\n  formattedTimezone: computed('timeZoneName', function() {\n    return formattedTimezone(this.timeZoneName);\n  }),\n  label: computed('intervalGroups.@each.label', function() {\n    if (isEmpty(this.intervalGroups)) {\n      return 'Always on';\n    }\n    return this.intervalGroups.map(group => group.label).join(', ');\n  }),\n  labelWithTimezone: templateString('${label} • ${formattedTimezone}'),\n  hasInvalidInterval: isAny('intervalGroups', 'isInvalid'),\n  intervalsWereAddedOrRemoved: computed('intervalGroups.[]', function() {\n    let flattenedGroupIntervals = this.intervalGroups.map(group => group.timeIntervals).flat();\n    return flattenedGroupIntervals.length !== this.timeIntervals.length;\n  }),\n  intervalGroupsAreDirty: isAny('intervalGroups', 'isDirty'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, hasMany } from '@ember-data/model';\nimport { filterBy, notEmpty, readOnly } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { findBy, flatMap } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Model.extend({\n  identifier: attr('string'),\n  levels: hasMany('onboarding/home/level'),\n  forceAllGuide: attr('boolean'),\n\n  lockedLevels: filterBy('levels', 'locked'),\n  incompleteLevels: filterBy('levels', 'notCompleted'),\n  latestAvailableLevel: findBy('levels', 'available'),\n\n  allSteps: flatMap('levels', 'steps'),\n\n  latestAvailableStep: readOnly('latestAvailableLevel.availableSteps.firstObject'),\n  hasAvailableSteps: notEmpty('latestAvailableStep'),\n\n  latestAvailableOrPendingCompletedStep: findBy(\n    'latestAvailableLevel.steps',\n    'availableOrPendingCompleted',\n  ),\n  latestPendingCompletedStep: findBy('latestAvailableLevel.steps', 'pendingCompleted'),\n\n  findStepByIdentifier(stepIdentifier) {\n    return this.allSteps.findBy('identifier', stepIdentifier);\n  },\n  installMessengerStep: computed('allSteps.@each.identifier', function() {\n    return this.allSteps.find(step => step.identifier.startsWith('install_messenger'));\n  }),\n  installVisitorsMessengerStep: findBy('allSteps', 'identifier', 'set_up_messenger_visitors'),\n  installLoggedInMessengerStep: findBy('allSteps', 'identifier', 'set_up_messenger_logged_in'),\n\n  async loadSteps() {\n    let levels = this.levels.map(level => level.loadSteps());\n    return await Promise.all(levels);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo, hasMany } from '@ember-data/model';\nimport { equal, filterBy, not, mapBy, readOnly } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport Levels from 'embercom/lib/home/levels';\nimport { equalToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\n\nexport default Model.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  identifier: attr('string'),\n  guide_section: attr('string'),\n  guide: belongsTo('onboarding/home/guide'),\n  state: attr('string'),\n  steps: hasMany('onboarding/home/step'),\n  completed: equal('state', 'completed'),\n  notCompleted: not('completed'),\n  available: equal('state', 'available'),\n  completedSteps: filterBy('steps', 'state', 'completed'),\n  availableSteps: filterBy('steps', 'state', 'available'),\n\n  isLatestAvailableLevel: equalToProperty('identifier', 'guide.latestAvailableLevel.identifier'),\n\n  levelData: computed('identifier', function() {\n    return Levels[this.identifier];\n  }),\n  allStepsComplete: equalToProperty('completedSteps.length', 'steps.length'),\n\n  nextAvailableLevel: computed('identifier', 'guide', function() {\n    let levels = this.guide.get('levels');\n    let levelIndex = levels.indexOf(this);\n    let laterLevels = levels.slice(levelIndex + 1);\n    return laterLevels.findBy('available');\n  }),\n\n  availableStepsData: mapBy('availableSteps', 'stepData'),\n  availableStepsTimeToCompleteInMinutes: mapBy('availableStepsData', 'timeToCompleteInMinutes'),\n\n  timeToCompleteInMinutes: computed('availableStepsTimeToCompleteInMinutes.[]', function() {\n    let timePerStep = this.availableStepsTimeToCompleteInMinutes.filter(Number.isInteger);\n    return timePerStep.reduce((accumulator, time) => accumulator + time, 0);\n  }),\n\n  async loadSteps() {\n    let steps = this.steps\n      .filter(step => !!step.stepData.loadModelDataOnDemand === false)\n      .map(step => step.loadModelData());\n    return await Promise.all(steps);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo } from '@ember-data/model';\nimport { equal, or, readOnly } from '@ember/object/computed';\nimport STEPS from 'embercom/lib/home/steps';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport ENV from 'embercom/config/environment';\n\nexport default Model.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  identifier: attr('string'),\n  state: attr('string'),\n  hasGenerateDataCommand: attr('boolean'),\n\n  guide: readOnly('level.guide'),\n  level: belongsTo('onboarding/home/level'),\n\n  completed: equal('state', 'completed'),\n  pendingCompleted: equal('state', 'pending_completed'),\n  available: equal('state', 'available'),\n  availableOrPendingCompleted: or('available', 'pendingCompleted'),\n  locked: equal('state', 'locked'),\n  stepData: computed('identifier', function() {\n    let stepData = STEPS[this.identifier];\n    if (!stepData) {\n      let errorMsg = `Step data for \"${this.identifier}\" is missing. Configure the step in /app/lib/home/steps.js`;\n      console.error(errorMsg);\n      if (ENV.environment === 'development') {\n        throw new Error(errorMsg);\n      }\n    }\n\n    return stepData;\n  }),\n  modelData: null,\n\n  requiresHostedMessengerConversation: readOnly('stepData.requiresHostedMessengerConversation'),\n\n  nextStep: computed('identifier', 'level.steps.[]', function() {\n    let steps = this.get('level.steps');\n    let stepIndex = steps.indexOf(this);\n    return steps.objectAt(stepIndex + 1);\n  }),\n\n  analyticsMetadata: computed('level', 'guide', function() {\n    return {\n      step_identifier: this.identifier,\n      level_identifier: this.level?.get('identifier'),\n      guide_identifier: this.guide?.get('identifier'),\n    };\n  }),\n\n  async loadModelData() {\n    if (typeof this.stepData.getModelData === 'function') {\n      let modelData = await this.stepData.getModelData(this.store, this.app);\n      this.set('modelData', modelData);\n    }\n  },\n\n  async saveAndRefreshGuide() {\n    return await this.save();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { put } from 'embercom/lib/ajax';\nimport { inject as service } from '@ember/service';\n\nexport default Model.extend({\n  appService: service(),\n  admin_id: attr(),\n  user_anonymous_id: attr(),\n  conversation_id: attr(),\n\n  claim() {\n    return put(`/ember/onboarding/hosted_messenger_created_conversations/${this.id}/claim`, {\n      app_id: this.get('appService.app.id'),\n    });\n  },\n});\n","import Model, { attr } from '@ember-data/model';\n\nexport default class OperatorBotInboxSettingsModel extends Model {\n  @attr('boolean') assignConversationsToBots;\n  @attr('boolean') deferSlas;\n  @attr('date') assignConversationsToBotsLastEnabledAt;\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport AdminAvatarData from 'embercom/models/mixins/admin-avatar-data';\nimport { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\n\nexport default Model.extend(AdminAvatarData, {\n  appService: service(),\n  operatorId: attr('string'),\n  name: attr('string'),\n  customAvatarBackgroundColor: attr('string'),\n  customAvatarForegroundColor: attr('string'),\n  avatar: attr(),\n  avatarType: attr('string'),\n  avatarUpload: attr(),\n  isOperator: true,\n  has_default_avatar: attr('boolean'),\n  has_photo_avatar: attr('boolean'),\n\n  save() {\n    let formData = this._formData();\n    let ajaxParams = {\n      type: 'PUT',\n      url: `/ember/operator_identities/${this.operatorId}.json`,\n      data: formData,\n      contentType: false,\n      processData: false,\n    };\n    return ajax(ajaxParams)\n      .then(req => this._setPropertiesFromRequest(req))\n      .then(() => this._reloadOperatorAdmin());\n  },\n  revert() {\n    let formData = new FormData();\n    formData.append('app_id', this.get('appService.app.id'));\n    formData.append('id', this.id);\n    return ajax({\n      type: 'PUT',\n      url: `/ember/operator_identities/${this.operatorId}/revert.json`,\n      data: formData,\n      contentType: false,\n      processData: false,\n    }).then(req => this._setPropertiesFromRequest(req));\n  },\n  _formData() {\n    let formData = new FormData();\n    formData.append('app_id', this.get('appService.app.id'));\n    formData.append('id', this.id);\n    formData.append('name', this.name);\n    formData.append('avatar_type', this.avatarType);\n    formData.append('custom_avatar_background_color', this.customAvatarBackgroundColor);\n    formData.append('custom_avatar_foreground_color', this.customAvatarForegroundColor);\n\n    if (this.avatarUpload) {\n      formData.append('avatar_upload', this.avatarUpload, 'custom_avatar.png');\n    } else {\n      // This is form data so a value of null will convert to the 'null' string\n      // to get an empty field, the value must be an empty string.\n      formData.append('avatar_upload', '');\n    }\n\n    return formData;\n  },\n  _setPropertiesFromRequest(request) {\n    request['avatar_upload'] = null;\n    this.store.pushPayload({ 'operator-identities': request });\n    this.set('avatarUpload', null);\n    this.set('name', request.name);\n    return this;\n  },\n  _reloadOperatorAdmin() {\n    this.get('appService.app.operatorBot').reload();\n    return this;\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { not } from '@ember/object/computed';\n\nexport default Model.extend({\n  enabled: attr('boolean'),\n  enabledForLeads: attr('boolean'),\n  enabledForUsers: attr('boolean'),\n\n  isValid: true,\n  isNotDirty: not('hasDirtyAttributes'),\n\n  refresh() {\n    this.rollbackAttributes();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { not } from '@ember/object/computed';\n\nexport default Model.extend({\n  enabledForUsers: attr('boolean'),\n  enabledForLeads: attr('boolean'),\n\n  isValid: true,\n  isNotDirty: not('hasDirtyAttributes'),\n\n  refresh() {\n    this.rollbackAttributes();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { not } from '@ember/object/computed';\n\nexport default Model.extend({\n  isValid: true,\n  collectSms: attr('boolean'),\n  enabled: attr('boolean'),\n\n  isNotDirty: not('hasDirtyAttributes'),\n\n  refresh() {\n    this.rollbackAttributes();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { not } from '@ember/object/computed';\n\nexport default Model.extend({\n  enabledForLeads: attr('boolean'),\n  enabledForUsers: attr('boolean'),\n\n  isValid: true,\n  isNotDirty: not('hasDirtyAttributes'),\n\n  refresh() {\n    this.rollbackAttributes();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { validator, buildValidations } from 'ember-cp-validations';\nimport { readOnly, not } from '@ember/object/computed';\n\nconst Validations = buildValidations({\n  redirectEnabled: [\n    validator('task-bots/conversation-routing-has-valid-redirect', {\n      dependentKeys: [\n        'model.redirectEnabled',\n        'model.redirectEmail',\n        'model.redirectPhone',\n        'model.redirectUrl',\n      ],\n    }),\n  ],\n  redirectEmail: [validator('format', { allowBlank: true, type: 'email' })],\n  redirectPhone: [validator('format', { allowBlank: true, type: 'phone' })],\n  redirectUrl: [validator('format', { allowBlank: true, type: 'url' })],\n});\n\nexport default Model.extend(Validations, {\n  enabled: attr('boolean'),\n  assigneeId: attr('string'),\n  redirectEnabled: attr('boolean'),\n\n  redirectEmail: attr('string'),\n  redirectUrl: attr('string'),\n  redirectPhone: attr('string'),\n\n  isValid: readOnly('validations.isValid'),\n  isNotDirty: not('hasDirtyAttributes'),\n\n  refresh() {\n    this.rollbackAttributes();\n  },\n});\n","import Model, { attr } from '@ember-data/model';\n\nexport default class DuplicateConversationDetection extends Model {\n  @attr('boolean') enabled;\n\n  isValid = true;\n\n  get isNotDirty() {\n    return !this.hasDirtyAttributes;\n  }\n\n  refresh() {\n    this.rollbackAttributes();\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo } from '@ember-data/model';\nimport { readOnly, not, equal, and } from '@ember/object/computed';\nimport { ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Model.extend({\n  qualificationType: attr('string'),\n  simpleQualification: belongsTo('operator-settings/qualify-leads/simple-qualification', {\n    async: false,\n  }),\n  branchingQualification: belongsTo('operator-settings/qualify-leads/branching-qualification', {\n    async: false,\n  }),\n\n  enabled: attr('boolean'),\n  isValid: readOnly('currentQualificationType.isValid'),\n\n  isNotDirty: and('currentQualificationTypeIsNotDirty', 'qualifyLeadsIsNotDirty'),\n  currentQualificationTypeIsNotDirty: not('currentQualificationType.hasDirtyAttributes'),\n  qualifyLeadsIsNotDirty: not('hasDirtyAttributes'),\n\n  simpleQualificationSelected: equal('qualificationType', 'default_qualification'),\n  currentQualificationType: ternaryToProperty(\n    'simpleQualificationSelected',\n    'simpleQualification',\n    'branchingQualification',\n  ),\n\n  refresh() {\n    this.currentQualificationType.rollbackAttributes();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport { validator, buildValidations } from 'ember-cp-validations';\nimport { readOnly } from '@ember/object/computed';\nimport QualificationAttribute from 'embercom/models/qualification/attribute';\n\nconst Validations = buildValidations({\n  answers: {\n    validators: [\n      validator('has-many'),\n      validator('length', {\n        min: 1,\n        message: 'You must have at least one reply.',\n      }),\n    ],\n  },\n  collectsQualificationData: [\n    validator('task-bots/branching-qualification-collects-qualification-data', {\n      dependentKeys: ['model.answers.[]'],\n    }),\n  ],\n});\n\nexport default Model.extend(Validations, {\n  paywallFeature: 'branching_qualification',\n  customQuestion: attr('string'),\n  answers: fragmentArray('operator-settings/qualify-leads/branching-qualification/answer'),\n\n  isValid: readOnly('validations.isValid'),\n\n  sanitizeAttributes() {\n    this.answers.forEach(answer => {\n      answer.set(\n        'qualificationAttributes',\n        QualificationAttribute.removeInvalidFragments(answer.get('qualificationAttributes')),\n      );\n    });\n  },\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport { validator, buildValidations } from 'ember-cp-validations';\nimport { readOnly } from '@ember/object/computed';\n\nconst Validations = buildValidations({\n  label: {\n    description: 'Lead category',\n    validators: [\n      validator('presence', true),\n      validator('length', {\n        min: 1,\n        max: 34,\n      }),\n    ],\n  },\n  followUpRules: {\n    validators: [validator('has-many')],\n  },\n});\n\nexport default Fragment.extend(Validations, {\n  label: attr('string'),\n  qualificationAttributes: fragmentArray('qualification/attribute'),\n  followUpRules: fragmentArray('rules/rule'),\n\n  justAdded: false,\n\n  isValid: readOnly('validations.isValid'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model from '@ember-data/model';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport QualificationAttribute from 'embercom/models/qualification/attribute';\nimport { validator, buildValidations } from 'ember-cp-validations';\nimport { readOnly } from '@ember/object/computed';\n\nconst Validations = buildValidations({\n  followUpRules: {\n    validators: [validator('has-many')],\n  },\n});\n\nexport default Model.extend(Validations, {\n  paywallFeature: 'operator_qualification',\n  qualificationAttributes: fragmentArray('qualification/attribute'),\n  followUpRules: fragmentArray('rules/rule'),\n\n  isValid: readOnly('validations.isValid'),\n\n  sanitizeAttributes() {\n    this.set(\n      'qualificationAttributes',\n      QualificationAttribute.removeInvalidFragments(this.qualificationAttributes),\n    );\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo } from '@ember-data/model';\n\nexport default Model.extend({\n  appId: attr('string'),\n  leadDelayEnabled: attr('boolean'),\n  userDelayEnabled: attr('boolean'),\n\n  teamAvailability: belongsTo('operator-settings/team-availability', { async: false }),\n  conversationRouting: belongsTo('operator-settings/conversation-routing', { async: false }),\n  conversationRating: belongsTo('operator-settings/conversation-rating', { async: false }),\n  articleSuggestions: belongsTo('operator-settings/article-suggestions', { async: false }),\n  articleAutoReaction: belongsTo('operator-settings/article-auto-reaction', { async: false }),\n  contactCollection: belongsTo('operator-settings/contact-collection', { async: false }),\n  qualifyLeads: belongsTo('operator-settings/qualify-leads', { async: false }),\n  duplicateConversationDetection: belongsTo('operator-settings/duplicate-conversation-detection', {\n    async: false,\n  }),\n  upfrontCollection: belongsTo('operator-settings/upfront-collection', { async: false }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { not } from '@ember/object/computed';\n\nexport default Model.extend({\n  enabledForUsers: attr('boolean'),\n  enabledForLeads: attr('boolean'),\n\n  isValid: true,\n  isNotDirty: not('hasDirtyAttributes'),\n\n  refresh() {\n    this.rollbackAttributes();\n  },\n});\n","import Model, { attr } from '@ember-data/model';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\n\nexport default class UpfrontCollection extends Model {\n  @attr('boolean') enabledForUsers;\n  @attr('array') attributes;\n  @fragmentArray('rules/rule') followUpRules;\n\n  isValid = true;\n  paywallFeature = 'upfront_collection_bot';\n\n  get isNotDirty() {\n    return !this.hasDirtyAttributes;\n  }\n\n  refresh() {\n    this.rollbackAttributes();\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model from '@ember-data/model';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\n\nexport default Model.extend({\n  paths: fragmentArray('operator/custom-bots/path', {\n    defaultValue: () => [],\n  }),\n\n  setInverseRelationships() {\n    this.setIndexOnPaths();\n    this._setQuickReplyNextPath();\n  },\n\n  setIndexOnPaths() {\n    this.paths.forEach((path, index) => {\n      path.set('index', index);\n    });\n  },\n\n  _setQuickReplyNextPath() {\n    let pathOfSteps = this._getPathOfSteps();\n    this.paths.forEach(path => {\n      path\n        .get('steps')\n        .filter(step => step.isReplyButtons)\n        .forEach(step => {\n          step.get('controls').forEach(control => {\n            let nextPath = pathOfSteps.get(control.get('nextStepUuid'));\n            control.set('path', path);\n            control.linkToPath(nextPath);\n          });\n        });\n    });\n  },\n\n  _getPathOfSteps() {\n    let pathOfSteps = new Map();\n    this.paths.forEach(path => {\n      path.get('steps').forEach(step => {\n        pathOfSteps.set(step.get('uuid'), path);\n      });\n    });\n    return pathOfSteps;\n  },\n});\n","import Model, { attr } from '@ember-data/model';\n\nexport default class CustomBotReportableBot extends Model {\n  @attr('string') title;\n  @attr('string') type;\n}\n","import { attr } from '@ember-data/model';\n\nimport BaseCustomBot from 'embercom/models/operator/base-custom-bot';\n\nexport default BaseCustomBot.extend({\n  createdAt: attr('date'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { hasMany, attr } from '@ember-data/model';\nimport EmberObject, { computed } from '@ember/object';\nimport { or, bool, readOnly, equal } from '@ember/object/computed';\nimport { fragment } from 'ember-data-model-fragments/attributes';\nimport { inject } from '@ember/service';\nimport { put } from 'embercom/lib/ajax';\nimport Admin from 'embercom/models/admin';\n\nimport {\n  USER_TARGET,\n  NON_USER_TARGET,\n} from 'embercom/models/operator/custom-bots/initiators/bot-auto-message';\n\nexport default Model.extend({\n  appService: inject(),\n  app: readOnly('appService.app'),\n\n  initiators: hasMany('operator/custom-bots/initiator-summary', {\n    polymorphic: true,\n    async: false,\n  }),\n  botAutoMessage: computed('initiators.firstObject', function() {\n    let initiatorType = this.get('initiators.firstObject.type');\n    if (initiatorType === 'operator/custom-bots/initiators/bot-auto-message-summary') {\n      return this.get('initiators.firstObject');\n    }\n    return null;\n  }),\n  messengerTrigger: computed('initiators.firstObject', function() {\n    let initiatorType = this.get('initiators.firstObject.type');\n    if (initiatorType === 'operator/custom-bots/initiators/messenger-trigger-summary') {\n      return this.get('initiators.firstObject');\n    }\n    return null;\n  }),\n  inboundTrigger: computed('initiators.firstObject', function() {\n    let initiatorType = this.get('initiators.firstObject.type');\n    if (initiatorType === 'operator/custom-bots/initiators/inbound-trigger-summary') {\n      return this.get('initiators.firstObject');\n    }\n    return null;\n  }),\n  hasBotAutoMessage: bool('botAutoMessage'),\n  hasMessengerTrigger: bool('messengerTrigger'),\n  hasInboundTrigger: bool('inboundTrigger'),\n\n  isInbound: readOnly('hasInboundTrigger'),\n  isOutbound: or('hasBotAutoMessage', 'hasMessengerTrigger'),\n\n  stats: fragment('operator/custom-bots/stats'),\n  target: attr('string'),\n  state: attr('string'),\n  title: attr('string'),\n  order: attr('number'),\n  rulesetId: attr('number'),\n  hasControlGroup: attr('boolean'),\n  hasAbTest: attr('boolean'),\n  variantIds: attr('array'),\n  variantStats: attr('array'),\n  variantStates: attr('array'),\n\n  lastUpdatedById: attr('number'),\n  lastUpdatedBy: computed('lastUpdatedById', function() {\n    return Admin.peekAndMaybeLoad(this.store, this.lastUpdatedById);\n  }),\n\n  targetUsers: equal('target', USER_TARGET),\n  targetNonUsers: equal('target', NON_USER_TARGET),\n\n  analyticsData: computed('id', 'hasInboundTrigger', 'hasBotAutoMessage', function() {\n    let predicates;\n\n    if (this.hasInboundTrigger) {\n      predicates = this.inboundTrigger.ruleset.predicateGroup.serialize();\n    } else if (this.hasBotAutoMessage) {\n      predicates = this.botAutoMessage.selectionState.predicates.serialize();\n    }\n\n    return {\n      object: 'bot-auto-message',\n      bot_auto_message_id: this.get('botAutoMessage.id'),\n      initiator_type: this.get('initiators.firstObject.type'),\n      predicates,\n    };\n  }),\n\n  updateOrder(previousBot = EmberObject.create()) {\n    let url = `/ember/operator_custom_bot_summaries/${this.id}/reorder`;\n    let data = {\n      app_id: this.get('app.id'),\n      order: this.order,\n      target: this.target,\n      previous_bot_id: previousBot.get('id'),\n    };\n    return put(url, data);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\n\nconst TEMPLATE_INTERFACE_ICONS = {\n  1: 'qual-identify',\n  2: 'clock',\n  3: 'cash',\n  4: 'qualify',\n  5: 'chat-bubble-line',\n  6: 'message',\n  7: 'wave',\n  8: 'active',\n  9: 'rules',\n};\n\nconst TEMPLATE_ILLUSTRATIVE_ICONS = {\n  1: 'people',\n  2: 'delivery-window',\n  3: 'briefcase',\n  4: 'warning',\n  5: 'message',\n  6: 'schedule',\n  7: 'wave',\n  8: 'activity',\n  9: 'rule',\n};\n\nexport default Model.extend({\n  title: attr('string'),\n  description: attr('string'),\n  interfaceIcon: computed('id', function() {\n    return TEMPLATE_INTERFACE_ICONS[this.id];\n  }),\n  illustrativeIcon: computed('id', function() {\n    return TEMPLATE_ILLUSTRATIVE_ICONS[this.id];\n  }),\n  rolePredicates: attr('array'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { attr, hasMany } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { isBlank, compare } from '@ember/utils';\nimport { equal, readOnly, or, not, bool, and } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { copy } from 'ember-copy';\nimport { isAny, isEvery } from '@intercom/embercom-core/lib/computed-properties';\nimport { fragment } from 'ember-data-model-fragments/attributes';\nimport Validations from 'embercom/validations/custom-bot';\nimport StateProperties from 'embercom/models/mixins/common/states/state-properties';\nimport nonconcurrentAjax from 'embercom/lib/nonconcurrent-ajax';\nimport Admin from 'embercom/models/admin';\nimport customBotEditConfigGenerator from 'embercom/objects/content-editor/configuration-generators/custom-bot';\nimport inboundCustomBotEditConfigGenerator from 'embercom/objects/content-editor/configuration-generators/inbound-custom-bot';\nimport buttonCustomBotEditConfigGenerator from 'embercom/objects/content-editor/configuration-generators/button-custom-bot';\nimport { getOwner } from '@ember/application';\nimport BaseCustomBot from 'embercom/models/operator/base-custom-bot';\nimport { customBotDeliveryChannels } from 'embercom/lib/operator/custom-bots/constants';\nimport MessageConstants from 'embercom/models/data/messages/message-constants';\nimport {\n  INBOUND_BOT_TYPE,\n  OUTBOUND_BOT_TYPE,\n  BUTTON_BOT_TYPE,\n} from 'embercom/lib/operator/custom-bots/constants';\n\nexport default BaseCustomBot.extend(Validations, StateProperties, {\n  appService: service(),\n  store: service(),\n  app: readOnly('appService.app'),\n  availableTags: readOnly('app.tags.[]'),\n\n  rollbackAttributes(...args) {\n    this.initiators.forEach(initiator => initiator.rollbackAttributes());\n    this._super(...args);\n  },\n\n  hasUnsavedChanges: computed(\n    'hasDirtyAttributes',\n    'initiators.@each.hasDirtyAttributes',\n    function() {\n      return (\n        this.hasDirtyAttributes || this.initiators.any(initiator => initiator.hasDirtyAttributes)\n      );\n    },\n  ),\n\n  editorConfig() {\n    let container = getOwner(this);\n    if (this.canUseInboundContentEditor) {\n      return inboundCustomBotEditConfigGenerator({ container, customBot: this });\n    } else if (this.canUseButtonContentEditor) {\n      return buttonCustomBotEditConfigGenerator({ container, customBot: this });\n    } else {\n      return customBotEditConfigGenerator({ container, customBot: this });\n    }\n  },\n\n  title: attr('string'),\n  target: attr('string'),\n  targetLabel: computed('target', 'inboundTrigger.ruleset.predicateGroup', function() {\n    switch (this.target) {\n      case 'user':\n        return 'Users';\n      case 'non-user':\n        return 'Visitors';\n      case 'everyone':\n        return 'Everyone';\n      case 'new-conversation':\n        return this.get('inboundTrigger.ruleset.predicateGroup.userType') === 'user'\n          ? 'Users'\n          : 'Visitors';\n    }\n  }),\n  botData: fragment('operator/custom-bots/custom-bot-data'),\n  order: attr('number'),\n  stats: fragment('operator/custom-bots/stats'),\n  state: attr('string'),\n  showUntil: attr('string'),\n  type: attr('string'),\n  composerSuggestions: attr(),\n  rulesetId: attr('number'),\n  canUseInboundContentEditor: computed('type', function() {\n    return this.type === INBOUND_BOT_TYPE;\n  }),\n  canUseButtonContentEditor: computed('type', function() {\n    return this.type === BUTTON_BOT_TYPE;\n  }),\n  canUseButtonOrInboundContentEditor: or('canUseInboundContentEditor', 'canUseButtonContentEditor'),\n  initiators: hasMany('operator/custom-bots/initiator', {\n    polymorphic: true,\n    async: false,\n  }),\n  botAutoMessage: computed('initiators.firstObject', function() {\n    let initiatorType = this.get('initiators.firstObject.type');\n    if (initiatorType === 'operator/custom-bots/initiators/bot-auto-message') {\n      return this.get('initiators.firstObject');\n    }\n    return null;\n  }),\n  messengerTrigger: computed('initiators.firstObject', function() {\n    let initiatorType = this.get('initiators.firstObject.type');\n    if (initiatorType === 'operator/custom-bots/initiators/messenger-trigger') {\n      return this.get('initiators.firstObject');\n    }\n    return null;\n  }),\n  inboundTrigger: computed('initiators.firstObject', function() {\n    let initiatorType = this.get('initiators.firstObject.type');\n    if (initiatorType === 'operator/custom-bots/initiators/inbound-trigger') {\n      return this.get('initiators.firstObject');\n    }\n    return null;\n  }),\n\n  hasBotAutoMessage: bool('botAutoMessage'),\n  hasMessengerTrigger: bool('messengerTrigger'),\n  hasInboundTrigger: bool('inboundTrigger'),\n\n  isInbound: equal('type', INBOUND_BOT_TYPE),\n  isOutbound: equal('type', OUTBOUND_BOT_TYPE),\n  isButton: equal('type', BUTTON_BOT_TYPE),\n\n  serializedInitiators: computed('initiators.[]', function() {\n    return this.initiators.map(i => i.toJSON());\n  }),\n  templateId: attr('number'),\n  lastUpdatedAt: attr('date'),\n  lastUpdatedById: attr('number'),\n  lastUpdatedBy: computed('lastUpdatedById', function() {\n    return Admin.peekAndMaybeLoad(this.store, this.lastUpdatedById);\n  }),\n\n  hasTemplate: bool('templateId'),\n  hasNoTemplate: not('hasTemplate'),\n  firstStep: readOnly('paths.firstObject.steps.firstObject'),\n  lastStep: readOnly('paths.firstObject.steps.lastObject'),\n  isUploading: isAny('paths', 'isUploading'),\n  isNotUploading: not('isUploading'),\n  isNewCustomBot: false,\n  isNotNewCustomBot: not('isNewCustomBot'),\n\n  initiatorsAreNotActive: isEvery('initiators', 'isNotLive'),\n\n  isValid: or('isNotLive', 'validations.isValid'),\n  isLive: equal('state', 'live'),\n  isStopped: equal('state', 'stopped'),\n  isDraft: equal('state', 'draft'),\n  canSave: and('isValid', 'isNotUploading'),\n  canActivate: and('validations.isValid', 'isNotUploading'),\n\n  previewDisabledMessage: computed('canActivate', 'hasDirtyAttributes', function() {\n    if (!this.canActivate) {\n      return 'There are errors in your bot';\n    }\n    if (this.hasDirtyAttributes) {\n      return 'Please save your bot';\n    }\n  }),\n\n  canPreview: not('previewDisabledMessage'),\n\n  preferredDevices: attr('array'),\n\n  deliveryChannel: computed('preferredDevices.[]', function() {\n    return customBotDeliveryChannels.find(channel => {\n      return compare(channel.preferredDevices.sort(), this.preferredDevices.sort()) === 0;\n    });\n  }),\n\n  validationKeys: [\n    'botAutoMessage.validations.attrs.selectionState',\n    'messengerTrigger.validations',\n    'validations.attrs.paths',\n    'validations.attrs.firstPathConstraints',\n    'botAutoMessage.validations.attrs.deliveryWindow',\n    'inboundTrigger.validations.attrs.ruleset',\n    'inboundTrigger.validations.attrs.deliveryChannel',\n  ],\n\n  validationMessages: computed('validations.messages.[]', 'customBot.isUploading', function() {\n    let errorMessages = [];\n    let validationKeys = this.validationKeys;\n    if (this.get('customBot.isUploading')) {\n      errorMessages.push('Please wait for the upload to finish before saving');\n    }\n\n    validationKeys.forEach(validationKey => {\n      if (this.get(`${validationKey}.isInvalid`)) {\n        let message = this._formatValidationMessages(\n          validationKey,\n          this.get(`${validationKey}.messages`),\n        );\n        errorMessages.push(message);\n      }\n    });\n\n    return errorMessages.flat();\n  }),\n\n  validationFailureMessage: computed('validationMessages.[]', function() {\n    return this.validationMessages.join('. ');\n  }),\n\n  analyticsData: computed(\n    'id',\n    'isNewCustomBot',\n    'firstStep.id',\n    'hasInboundTrigger',\n    'hasBotAutoMessage',\n    function() {\n      let predicates;\n\n      if (this.hasInboundTrigger) {\n        predicates = this.inboundTrigger.ruleset.predicateGroup.serialize();\n      } else if (this.hasBotAutoMessage) {\n        predicates = this.botAutoMessage.selectionState.predicates.serialize();\n      }\n\n      return {\n        object: 'bot-auto-message',\n        context: this.isNewCustomBot ? 'new-workflow' : 'existing-workflow',\n        custom_bot_id: this.id,\n        bot_auto_message_id: this.get('botAutoMessage.id'),\n        workflow_first_step_id: this.get('firstStep.id'),\n        initiator_type: this.get('initiators.firstObject.type'),\n        predicates,\n      };\n    },\n  ),\n\n  analyticsEventObjectLabel: computed('target', 'isInbound', function() {\n    if (this.target === 'everyone') {\n      return 'custom_bot_bob';\n    } else if (this.target === 'user') {\n      return this.isInbound ? 'custom_bot_user_inbound' : 'custom_bot_user_outbound';\n    } else {\n      return this.isInbound ? 'custom_bot_visitor_inbound' : 'custom_bot_visitor_outbound';\n    }\n  }),\n\n  allowedUserRoles: ['user', 'lead', 'visitor'],\n\n  messageVariationForMessengerPreview: computed(\n    'lastStep.controls.[]',\n    'firstStep.blocks.[]',\n    function() {\n      let messageVariation = this.store.createRecord('message-variation');\n      let replyOptions = this.get('lastStep.controls').mapBy('buttonLabel');\n      messageVariation.setProperties({\n        blocks: copy(this.get('firstStep.blocks')),\n        from: this.get('app.operatorBot'),\n        isInApp: true,\n        messageStyle: MessageConstants.chat,\n        replyOptions,\n      });\n      return messageVariation;\n    },\n  ),\n\n  _formatValidationMessages(key, messages) {\n    if (key.includes('paths') || key.includes('firstPathConstraints')) {\n      return 'Finish designing your bot';\n    }\n\n    if (key.includes('messengerTrigger')) {\n      return 'Select where to launch your bot';\n    }\n\n    return messages;\n  },\n\n  getComposerSuggestions() {\n    if (!this.composerSuggestions) {\n      return null;\n    }\n    return this.composerSuggestions;\n  },\n\n  beforeSave() {\n    this.paths.invoke('ensureStepsAreLinkedCorrectly');\n    this._syncBotAutoMessagePredicatesWithRuleset();\n  },\n\n  _syncBotAutoMessagePredicatesWithRuleset() {\n    if (!this.hasBotAutoMessage || isBlank(this.rulesetId)) {\n      return;\n    }\n\n    let ruleset = this.store.peekRecord('matching-system/ruleset', this.rulesetId);\n    let predicates = copy(ruleset.predicateGroup.predicates);\n    let rolePredicates = copy(ruleset.rolePredicateGroup.predicates);\n    let clientPredicates = copy(ruleset.clientPredicateGroup.predicates);\n    let rulesetPredicates = predicates.concat(rolePredicates).concat(clientPredicates);\n\n    this.set('botAutoMessage.selectionState.predicates', rulesetPredicates);\n  },\n\n  save() {\n    this.paths.invoke('ensureStepsAreLinkedCorrectly');\n    return this._super(...arguments);\n  },\n\n  duplicate(duplicateTarget) {\n    return this._post(`/ember/operator_custom_bots/${this.id}/duplicate`, {\n      target: duplicateTarget,\n    }).then(response => {\n      this._pushPayloadToStore(response);\n      return this.store.peekRecord('operator/custom-bot', response.id);\n    });\n  },\n\n  activate() {\n    return this._post(`/ember/operator_custom_bots/${this.id}/activate`, {\n      initiators: this.serialize().initiators,\n    }).then(response => {\n      this._pushPayloadToStore(response);\n    });\n  },\n\n  deactivate() {\n    return this._post(`/ember/operator_custom_bots/${this.id}/deactivate`, {\n      initiators: this.serialize().initiators,\n    }).then(response => {\n      this._pushPayloadToStore(response);\n    });\n  },\n\n  initializeFragmentsAndSetInverseRelationships() {\n    this.setInverseRelationships();\n    this._createEmptySimpleActionRuleForEndStateSteps();\n  },\n\n  setIndexOnPaths() {\n    this.paths.forEach((path, index) => {\n      path.set('index', index);\n    });\n  },\n  addPath(newPath, index) {\n    if (!index) {\n      index = this.paths.length;\n    }\n    this.paths.insertAt(index, newPath);\n    this.setIndexOnPaths();\n  },\n  removePath(pathToRemove) {\n    this.paths.removeObject(pathToRemove);\n    this.setIndexOnPaths();\n  },\n  reorderPaths(reorderedPaths) {\n    this.set('paths', reorderedPaths);\n    this.setIndexOnPaths();\n  },\n\n  resetInvalidActions() {\n    this.paths.forEach(path => {\n      path.steps.forEach(step => {\n        this._resetInvalidActionsInStep(step);\n      });\n    });\n  },\n\n  _resetInvalidActionsInStep(step) {\n    step.simpleActionRule?.actions?.forEach(action => this._resetInvalidAction(action));\n\n    step.followUpRules.forEach(followUpRule => {\n      followUpRule.actions.forEach(action => this._resetInvalidAction(action));\n    });\n  },\n\n  _resetInvalidAction(action) {\n    if (action.type === 'tag-user') {\n      if (!this.availableTags.find(tag => action.actionData?.tag === tag.name)) {\n        action.set('actionData', {});\n      }\n    } else if (action.type === 'add-tag-to-conversation') {\n      if (!this.availableTags.find(tag => action.actionData?.tag_id === tag.id)) {\n        action.set('actionData', {});\n      }\n    }\n  },\n\n  _createEmptySimpleActionRuleForEndStateSteps() {\n    this.paths.forEach(path => {\n      if (\n        path.get('endStateStep.hasFollowUpRules') &&\n        !path.get('endStateStep.hasSimpleActionRule')\n      ) {\n        path.set('endStateStep.simpleActionRule', this.store.createFragment('rules/rule'));\n      }\n    });\n  },\n\n  _post(url, additionalData = {}) {\n    return this._request(url, 'POST', additionalData);\n  },\n\n  _request(url, requestType = 'POST', additionalData = {}) {\n    let data = Object.assign(additionalData, {\n      id: this.id,\n      app_id: this.get('app.id'),\n      admin_id: this.get('app.currentAdmin.id'),\n    });\n    if (requestType === 'POST') {\n      data = JSON.stringify(data);\n    }\n    return nonconcurrentAjax(this, {\n      url,\n      type: requestType,\n      data,\n    });\n  },\n\n  _pushPayloadToStore(response) {\n    let serializer = this.store.serializerFor('operator/custom-bot');\n    let model = this.store.modelFor('operator/custom-bot');\n    let serializedResponse = serializer.normalize(model, response);\n    serializedResponse.id = response.id;\n    this.store.push(serializedResponse);\n  },\n});\n","import Model, { attr } from '@ember-data/model';\n\nexport default class CustomBotsSettings extends Model {\n  @attr('boolean') autoClosingForUsers;\n  @attr('boolean') autoClosingForVisitors;\n  @attr('boolean') autoClosingFromButton;\n  @attr('boolean') autoClosingFromNewConversationUsers;\n  @attr('boolean') autoClosingFromNewConversationVisitors;\n}\n","import { attr } from '@ember-data/model';\nimport { fragmentOwner } from 'ember-data-model-fragments/attributes';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport Validations from 'embercom/validations/custom-bots/control';\n\nexport default Fragment.extend(Validations, {\n  uuid: attr('number'),\n  step: fragmentOwner(),\n  buttonLabel: attr('string'),\n  nextStepUuid: attr('string'),\n  attributeIdentifier: attr('string'),\n  nextPath: undefined, //this attribute is used for a quick-reply to keep track of the next path so before submitting it we can get the first step of the next path in order to set nextStepUuid\n  path: undefined,\n\n  linkToPath(path) {\n    if (!path) {\n      return;\n    }\n    let oldPath = this.nextPath;\n    if (oldPath) {\n      oldPath.get('incomingControls').removeObject(this);\n    }\n    path.get('incomingControls').pushObject(this);\n    this.set('nextPath', path);\n  },\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default class CustomBotData extends Fragment {\n  @attr('string') selector;\n  @attr('boolean', { allowNull: true }) composerDisabled;\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  type: attr('string'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  type: attr('string'),\n});\n","import { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { alias, readOnly, equal } from '@ember/object/computed';\nimport { fragment } from 'ember-data-model-fragments/attributes';\nimport { inject } from '@ember/service';\n\nimport {\n  USER_TARGET,\n  NON_USER_TARGET,\n} from 'embercom/models/operator/custom-bots/initiators/bot-auto-message';\n\nimport InitiatorSummary from 'embercom/models/operator/custom-bots/initiator-summary';\n\nexport default InitiatorSummary.extend({\n  appService: inject(),\n  app: readOnly('appService.app'),\n\n  selection_state: fragment('operator/custom-bots/initiators/bot-auto-messages/selection-state'),\n  selectionState: alias('selection_state'),\n  title: attr('string'),\n  updated_at: attr('date'),\n  stats: fragment('operator/custom-bots/stats'),\n  target: attr('string'),\n\n  targetUsers: equal('target', USER_TARGET),\n  targetNonUsers: equal('target', NON_USER_TARGET),\n  analyticsData: computed('id', function() {\n    return {\n      object: 'bot-auto-message',\n      bot_auto_message_id: this.id,\n    };\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { attr } from '@ember-data/model';\nimport { alias, equal, readOnly, notEmpty, not, and } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport { inject as service } from '@ember/service';\nimport { fragment } from 'ember-data-model-fragments/attributes';\nimport StateProperties from 'embercom/models/mixins/common/states/state-properties';\nimport nonconcurrentAjax from 'embercom/lib/nonconcurrent-ajax';\nimport Validations from 'embercom/validations/custom-bots/initiators/bot-auto-message';\nimport MESSAGE_CONSTANTS from 'embercom/models/data/messages/message-constants';\nimport { task } from 'ember-concurrency';\nimport Initiator from 'embercom/models/operator/custom-bots/initiator';\n\nexport const USER_TARGET = 'user';\nexport const NON_USER_TARGET = 'non-user';\nconst REQUIRED_USERS_FOR_UI = 18;\n\nexport default Initiator.extend(StateProperties, Validations, {\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  selection_state: fragment('operator/custom-bots/initiators/bot-auto-messages/selection-state'),\n  selectionState: alias('selection_state'),\n  updated_at: attr('date'),\n  title: attr('string'),\n  stats: fragment('operator/custom-bots/stats'),\n  messageType: attr('string'),\n  variationId: attr('string'),\n  deliveryWindow: fragment('messages/delivery-window'),\n  audiencePreview: fragment('messages/audience-preview'),\n\n  hasDeliveryWindow: notEmpty('deliveryWindow'),\n  hasNoDeliveryWindow: not('hasDeliveryWindow'),\n  isInApp: equal('messageType', MESSAGE_CONSTANTS.inAppType),\n\n  deliveryChannel: attr('string'),\n  isWebDeliveryChannel: equal('deliveryChannel', 'web'),\n\n  isValidForAudiencePreviewUpdate: and(\n    'targetUsers',\n    'selectionState.isNotSelectionBased',\n    'selectionState.hasEditablePredicates',\n    'selectionState.editablePredicatesAreTrackedAndValidOrEmpty',\n  ),\n  isUsingWebOnlyPredicates: readOnly('selectionState.isUsingWebOnlyPredicates'),\n  validationKeys: ['selectionState', 'deliveryWindow'],\n  target: attr('string'),\n  targetUsers: equal('target', USER_TARGET),\n  targetNonUsers: equal('target', NON_USER_TARGET),\n  targetLabel: ternary('targetUsers', 'Users', 'Visitors'),\n\n  previewDeviceType: computed('deliveryChannel', function() {\n    if (['android', 'ios'].includes(this.deliveryChannel)) {\n      return this.deliveryChannel;\n    }\n    return 'web';\n  }),\n\n  _post(url, additionalData = {}) {\n    return this._request(url, 'POST', additionalData);\n  },\n\n  _request(url, requestType = 'POST', additionalData = {}) {\n    let data = Object.assign(additionalData, {\n      id: this.id,\n      app_id: this.get('app.id'),\n      admin_id: this.get('app.currentAdmin.id'),\n    });\n    if (requestType === 'POST') {\n      data = JSON.stringify(data);\n    }\n    return nonconcurrentAjax(this, {\n      url,\n      type: requestType,\n      data,\n    });\n  },\n\n  fetchAudiencePreviewTask: task(function*() {\n    yield this.fetchAudiencePreview();\n  }).restartable(),\n\n  fetchAudiencePreview() {\n    return this.fetchAudiencePreviewRequest().then(response => {\n      let store = this.store;\n      let normalized = store.normalize('messages/audience-preview', {\n        users: response.users,\n        count: response.total_count,\n        limited: response.limited,\n      }).data.attributes;\n      let audiencePreview = store.createFragment('messages/audience-preview', normalized);\n      this.set('audiencePreview', audiencePreview);\n    });\n  },\n\n  fetchAudiencePreviewRequest() {\n    let params = {\n      app_id: this.get('app.id'),\n      predicates: this.previewablePredicates(),\n      page: 1,\n      per_page: REQUIRED_USERS_FOR_UI,\n      include_count: true,\n    };\n    return this._post('/ember/users/search.json', params);\n  },\n\n  previewablePredicates() {\n    let predicates = this.get('selectionState.predicates').serialize();\n    return this._rejectClientAttributePredicates(predicates);\n  },\n\n  _rejectClientAttributePredicates(predicates) {\n    return predicates.reject(predicate => {\n      if (predicate.type === 'or' || predicate.type === 'and') {\n        predicate.predicates = this._rejectClientAttributePredicates(predicate.predicates);\n        return predicate.predicates.length === 0;\n      } else {\n        return predicate.attribute.startsWith('client_attributes');\n      }\n    });\n  },\n});\n","import { attr } from '@ember-data/model';\nimport PredicateGroupFragment from 'predicates/models/predicate-group';\nimport Validations from 'embercom/validations/custom-bots/initiators/bot-auto-messages/selection-state';\nimport { isAny, selectFromObject } from '@intercom/embercom-core/lib/computed-properties';\nimport { notEmpty, or, and, not } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport Predicate from 'predicates/models/predicate';\nimport { inject as service } from '@ember/service';\n\nexport default PredicateGroupFragment.extend(Validations, {\n  contentEditorService: service(),\n  shouldValidate: not('contentEditorService.isSeriesMode'),\n  includedIds: attr('array', {\n    defaultValue: () => [],\n  }),\n  excludedIds: attr('array', {\n    defaultValue: () => [],\n  }),\n  count: attr('number', {\n    defaultValue: null,\n  }),\n\n  isSelectionBased: notEmpty('includedIds'),\n  isNotSelectionBased: not('isSelectionBased'),\n\n  hasEditablePredicates: notEmpty('editablePredicates'),\n  hasNoEditablePredicates: not('hasEditablePredicates'),\n\n  hasUntrackedPredicates: isAny('editablePredicates', 'isUntracked', true),\n  allPredicatesAreTracked: not('hasUntrackedPredicates'),\n\n  allPredicatesAreTrackedAndValid: and('isValid', 'allPredicatesAreTracked'),\n  editablePredicatesAreTrackedAndValidOrEmpty: or(\n    'allPredicatesAreTrackedAndValid',\n    'hasNoEditablePredicates',\n  ),\n\n  externalTypeLabels: { user: 'user', visitor: 'visitor', lead: 'lead', non_user: 'non user' },\n  externalUserType: selectFromObject('externalTypeLabels', 'userType'),\n  isUsingWebOnlyPredicates: computed('predicates.@each.attribute', function() {\n    return [...Predicate.walkPredicates(this.predicates)].any(\n      predicate => predicate.isTimeOnPage || predicate.isPageTarget,\n    );\n  }),\n  removeWebOnlyPredicates() {\n    this.removeAll(predicate => predicate.isTimeOnPage || predicate.isPageTarget);\n    this.set('predicates', this.predicates);\n  },\n});\n","import { attr, belongsTo } from '@ember-data/model';\n\nimport InitiatorSummary from 'embercom/models/operator/custom-bots/initiator-summary';\n\nexport default InitiatorSummary.extend({\n  type: attr('string', { defaultValue: 'InboundTrigger' }),\n  ruleset: belongsTo('matching-system/ruleset', {\n    async: false,\n  }),\n});\n","import { attr, belongsTo } from '@ember-data/model';\nimport { inject as service } from '@ember/service';\n\nimport { readOnly, equal, not } from '@ember/object/computed';\nimport Initiator from 'embercom/models/operator/custom-bots/initiator';\nimport Validations from 'embercom/validations/custom-bots/initiators/inbound-trigger';\n\nexport default Initiator.extend(Validations, {\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  type: attr('string', { defaultValue: 'InboundTrigger' }),\n  deliveryChannel: attr('string'),\n  composerDisabled: attr('boolean', { defaultValue: false }),\n  ruleset: belongsTo('matching-system/ruleset', {\n    async: false,\n  }),\n  userType: readOnly('ruleset.predicateGroup.userType'),\n  targetUsers: equal('userType', 'user'),\n  targetNonUsers: not('targetUsers'),\n  isUsingWebOnlyPredicates: readOnly('ruleset.isUsingWebOnlyPredicates'),\n});\n","import { attr, belongsTo } from '@ember-data/model';\n\nimport InitiatorSummary from 'embercom/models/operator/custom-bots/initiator-summary';\n\nexport default InitiatorSummary.extend({\n  type: attr('string', { defaultValue: 'MessengerTrigger' }),\n  selector: attr('string'),\n  state: attr('string'),\n  event: attr('string', { defaultValue: 'click' }),\n  ruleset: belongsTo('matching-system/ruleset', {\n    async: false,\n  }),\n});\n","import { attr, belongsTo } from '@ember-data/model';\n\nimport Validations from 'embercom/validations/custom-bots/initiators/messenger-trigger';\nimport Initiator from 'embercom/models/operator/custom-bots/initiator';\n\nexport default Initiator.extend(Validations, {\n  type: attr('string', { defaultValue: 'MessengerTrigger' }),\n  selector: attr('string'),\n  event: attr('string', { defaultValue: 'click' }),\n  ruleset: belongsTo('matching-system/ruleset', {\n    async: false,\n  }),\n});\n","import { attr } from '@ember-data/model';\nimport { readOnly } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport { findBy, isAny, templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport { characterIndex } from 'embercom/helpers/character-index';\nimport Validations from 'embercom/validations/custom-bots/path';\n\nexport default Fragment.extend(Validations, {\n  _id: attr('number'),\n  title: attr({ defaultValue: 'New path' }),\n  index: null, //position in the customBot paths array, initialized and updated by the workflow editor\n  label: computed('index', function() {\n    return characterIndex([this.index]);\n  }),\n  steps: fragmentArray('operator/custom-bots/step'),\n  endStateStep: findBy('steps', 'isEndStateStep'),\n  labelWithSeparator: templateString('${label}.'),\n  titleWithLabel: templateString('${labelWithSeparator} ${title}'),\n  hasReachedAutoFollowSoftLimit: readOnly('validations.attrs.autoFollowSoftLimit.hasWarnings'),\n  isUploading: isAny('steps', 'isUploading'),\n\n  init() {\n    this._super(...arguments);\n    this.set('incomingControls', []);\n  },\n\n  ensureStepsAreLinkedCorrectly() {\n    this._removeAutoFollowControlsFromLastStep();\n    this._updateReplyButtonNextStepUuid();\n    this.steps.forEach((step, index) => {\n      if (this._isLastStep(index)) {\n        return;\n      } else if (step.get('controls.length') !== 1) {\n        throw new Error(\n          `Non-final steps should have a single control. step: ${step.get(\n            'uuid',\n          )} controls: ${step.get('controls').mapBy('type')}`,\n        );\n      }\n\n      step.get('controls').forEach(control => {\n        control.set('nextStepUuid', this.steps.objectAt(index + 1).get('uuid'));\n      });\n    });\n  },\n\n  _isLastStep(index) {\n    return index === this.get('steps.length') - 1;\n  },\n\n  _updateReplyButtonNextStepUuid() {\n    this.steps\n      .filter(step => step.isReplyButtons)\n      .forEach(step =>\n        step.controls.forEach(control =>\n          control.set('nextStepUuid', control.get('nextPath.steps.firstObject.uuid')),\n        ),\n      );\n  },\n\n  _removeAutoFollowControlsFromLastStep() {\n    let lastStep = this.get('steps.lastObject');\n    if (lastStep.isReplyButtons) {\n      return;\n    }\n    lastStep.get('controls').forEach(control => lastStep.get('controls').removeObject(control));\n  },\n});\n","import { attr } from '@ember-data/model';\nimport { gt } from '@ember/object/computed';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  sent: attr('number'),\n  engagedPercentage: attr('number'),\n  goalSuccessPercentage: attr('number'),\n  lastSentAt: attr('date'),\n  hasBeenSent: gt('lastSentAt', 0),\n  workflowCompletedPercentage: attr('number'),\n  wentLiveAt: attr('date'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { attr } from '@ember-data/model';\nimport { bool, readOnly, notEmpty, or, not, equal } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { fragmentArray, fragment } from 'ember-data-model-fragments/attributes';\nimport generateUUID from 'embercom/lib/uuid-generator';\nimport Validations from 'embercom/validations/custom-bots/step';\nimport renderPreview from '@intercom/embercom-composer/lib/render-preview';\nimport { capitalize } from '@ember/string';\nimport { inject as service } from '@ember/service';\n\nexport default Fragment.extend(Validations, {\n  appService: service(),\n  type: attr('string'),\n  controls: fragmentArray('operator/custom-bots/control'),\n  blocks: fragmentArray('common/blocks/block', { polymorphic: true, typeKey: 'modelKey' }),\n  serializedBlocks: computed('blocks.@each.text', function() {\n    // We only need to serialize the blocks if they are a FragmentArray (in tests they are already serialized)\n    if (this.blocks.type === 'common/blocks/block') {\n      return this.blocks.serialize();\n    } else {\n      return this.blocks;\n    }\n  }),\n  uuid: attr('string', {\n    defaultValue() {\n      return generateUUID();\n    },\n  }),\n  simpleActionRule: fragment('rules/rule'),\n  followUpRules: fragmentArray('rules/rule'),\n  hasSimpleActionRule: notEmpty('simpleActionRule'),\n  hasFollowUpRules: notEmpty('followUpRules'),\n  hasActions: or('hasSimpleActionRule', 'hasFollowUpRules'),\n  hasBlocks: notEmpty('blocks'),\n  hasControls: notEmpty('controls'),\n  hasNoActions: not('hasActions'),\n  hasNoBlocks: not('hasBlocks'),\n  hasNoControls: not('hasControls'),\n\n  isAttributeCollector: equal('type', 'attribute_collector'),\n  isReplyButtons: equal('type', 'reply_buttons'),\n  isFreeInput: equal('type', 'free_input'),\n  isChatMessage: equal('type', 'chat_message'),\n  isMidPathActions: equal('type', 'mid_path_actions'),\n  isTerminal: equal('type', 'terminal'),\n  isFollowUpRules: equal('type', 'follow_up_rules'),\n  isAnswerBot: equal('type', 'answer_bot'),\n\n  isEndStateStep: computed('type', function() {\n    let endStateStepTypes = ['follow_up_rules', 'reply_buttons', 'answer_bot', 'terminal'];\n    return endStateStepTypes.find(endStateType => endStateType === this.type) !== undefined;\n  }),\n\n  attributeIdentifier: readOnly('controls.firstObject.attributeIdentifier'),\n  shouldCollectAttribute: bool('attributeIdentifier'),\n  isUploading: attr('boolean', {\n    defaultValue() {\n      return false;\n    },\n  }),\n  replyOptions: computed('controls.@each.buttonLabel', function() {\n    return this.controls.mapBy('buttonLabel').reject(label => !label);\n  }),\n  attributeIdentifiers: computed('attributeIdentifier', function() {\n    return this.controls.mapBy('attributeIdentifier').reject(identifier => !identifier);\n  }),\n  replyButtons: computed('controls.[]', function() {\n    if (this.type !== 'reply_buttons') {\n      return [];\n    }\n    return this.controls;\n  }),\n  oneLineSummary: computed('serializedBlocks.@each.text', function() {\n    let serializedBlocks = this.serializedBlocks;\n    let htmlString;\n\n    if (serializedBlocks.length > 0) {\n      htmlString = serializedBlocks\n        .map(block => {\n          switch (block.type) {\n            case 'app':\n            case 'image':\n            case 'button':\n              return `[${capitalize(block.type)}]`;\n            case 'messengerCard':\n              return `[${block.text}]`;\n            default:\n              return this.replace(block.text, '<br>', ' ');\n          }\n        })\n        .join(' ');\n    } else {\n      htmlString = '[Bot message]';\n    }\n\n    htmlString = renderPreview(htmlString, {});\n    return this.stripTextFromHTMLString(this.removeConsecutiveSpaces(htmlString));\n  }),\n  replace(text, from, to) {\n    return text ? text.replace(new RegExp(from, 'g'), to) : text;\n  },\n  removeConsecutiveSpaces(text) {\n    return text ? text.replace(/  +/g, ' ') : text;\n  },\n  stripTextFromHTMLString(htmlString) {\n    let fakeElement = document.createElement('div');\n    fakeElement.innerHTML = htmlString;\n    return fakeElement.textContent;\n  },\n});\n","import Model, { attr } from '@ember-data/model';\nimport Validations from 'embercom/validations/operator/resolution-bot-looping-settings';\n\nexport default class ResolutionBotLoopingSettings extends Model.extend(Validations) {\n  @attr('boolean') enabled;\n  @attr('boolean') accessToTeammateEnabled;\n  @attr('string') supportLink;\n\n  get isValid() {\n    return this.validations.isValid;\n  }\n}\n","import Model, { attr } from '@ember-data/model';\nimport { fragment } from 'ember-data-model-fragments/attributes';\n\nexport default class ResolutionBotSettings extends Model {\n  @attr('boolean') contentSuggestionsEnabledForUsers;\n  @attr('boolean') contentSuggestionsEnabledForVisitors;\n  @fragment('predicates/predicate-group') contentSuggestionsForUsersPredicateGroup;\n  @fragment('predicates/predicate-group') contentSuggestionsForVisitorsPredicateGroup;\n\n  @attr('boolean') predictiveAnswersEnabledForUsers;\n  @attr('boolean') predictiveAnswersEnabledForVisitors;\n  @fragment('predicates/predicate-group') predictiveAnswersForUsersPredicateGroup;\n  @fragment('predicates/predicate-group') predictiveAnswersForVisitorsPredicateGroup;\n  @attr('boolean') hasGeneratedPredictiveAnswers;\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, hasMany } from '@ember-data/model';\nimport EmberObject, { computed } from '@ember/object';\nimport { equal } from '@ember/object/computed';\nimport Admin from 'embercom/models/admin';\nimport { senderTypes } from 'embercom/models/data/outbound/constants';\nimport {\n  humanReadableObjectNames,\n  objectIcons,\n  states,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { selectFromObject } from '@intercom/embercom-core/lib/computed-properties';\nimport { isPresent } from '@ember/utils';\n\nexport default Model.extend({\n  appId: attr('string'),\n  senderId: attr('number'),\n  senderType: attr('number'),\n  contentId: attr('number'),\n  contentType: attr('number'),\n  insertable: attr('boolean'),\n  rulesetLinkId: attr('number'),\n  showAutomatically: attr('boolean'),\n  stats: hasMany('outbound/content-statistic'),\n  state: attr('number'),\n  createdAt: attr('date'),\n  wentLiveAt: attr('date'),\n  lastUpdatedById: attr('number'),\n\n  hasCustomEmailAddress: equal('senderType', senderTypes.customEmailAddress),\n  hasDynamicSender: equal('senderType', senderTypes.owner),\n\n  owner: EmberObject.create({ isDynamicSender: true, displayAs: 'Owner', id: 'owner' }),\n\n  isLive: equal('state', states.live),\n\n  lastUpdatedBy: computed('lastUpdatedById', function() {\n    return isPresent(this.lastUpdatedById)\n      ? Admin.peekAndMaybeLoad(this.store, this.lastUpdatedById)\n      : null;\n  }),\n\n  sender: computed('senderType', 'senderId', function() {\n    switch (this.senderType) {\n      case senderTypes.customEmailAddress:\n        return this.store.findRecord('custom-email-address', this.senderId);\n      case senderTypes.owner:\n        return this.owner;\n      default:\n        return isPresent(this.senderId) ? Admin.peekAndMaybeLoad(this.store, this.senderId) : null;\n    }\n  }),\n\n  contentTypeIcons: objectIcons,\n\n  contentTypeIcon: selectFromObject('contentTypeIcons', 'contentType'),\n\n  humanReadableContentName: computed('objectType', function() {\n    return humanReadableObjectNames[this.contentType];\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  value: attr(),\n  denominator: attr(),\n  key: attr('number'),\n  type: attr('number'),\n  subaggregations: attr(),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, hasMany } from '@ember-data/model';\nimport { selectFromObject, rejectBy } from '@intercom/embercom-core/lib/computed-properties';\nimport { gt, mapBy, readOnly, not } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport { contentWrapperTypes } from 'embercom/models/data/outbound/constants';\nimport { contentType } from 'embercom/helpers/content-type';\n\nexport const OUTBOUND_EDITOR_ROUTES = {\n  'in-app': 'apps.app.outbound.in-apps.in-app',\n  tour: 'apps.app.outbound.tour.edit',\n  banner: 'apps.app.outbound.banners.edit',\n  push: 'apps.app.outbound.push.edit',\n  sms: 'apps.app.outbound.sms.edit',\n  post: 'apps.app.outbound.post.edit',\n  chat: 'apps.app.outbound.chat.edit',\n  email: 'apps.app.outbound.email.edit',\n  carousel: 'apps.app.outbound.carousel.edit',\n  custom_bot: 'apps.app.outbound.custom-bot.edit',\n  inbound_custom_bot: 'apps.app.operator.custom-bots.inbound-custom-bot.edit',\n  button_custom_bot: 'apps.app.operator.custom-bots.button-custom-bot.edit',\n};\n\nexport const OUTBOUND_LIST_ROUTES = {\n  custom_bot: 'apps.app.operator.custom-bots.index',\n  inbound_custom_bot: 'apps.app.operator.custom-bots.index',\n  button_custom_bot: 'apps.app.operator.custom-bots.index',\n};\n\nconst LEGACY_EDITOR_ROUTES = {\n  all: 'apps.app.outbound.message',\n};\n\nconst SERIES_EDITOR_ROUTES = {\n  series: 'apps.app.outbound.series.series',\n};\n\nconst EDITOR_ROUTES = {\n  [contentWrapperTypes.message]: LEGACY_EDITOR_ROUTES,\n  [contentWrapperTypes.ruleset]: OUTBOUND_EDITOR_ROUTES,\n  [contentWrapperTypes.series]: SERIES_EDITOR_ROUTES,\n};\n\nexport default Model.extend({\n  contentWrapperType: attr('number'),\n  contentWrapperId: attr('number'),\n  appId: attr('string'),\n  title: attr('string'),\n  state: attr('number'),\n  audienceTypes: attr(),\n  matchBehavior: attr('number'),\n  contents: hasMany('outbound/content-fragment'),\n  relations: attr(),\n  tags: hasMany('tag'),\n  priority: attr('number'),\n\n  _contentsWithoutLegacyControlGroups: rejectBy(\n    'contents',\n    'contentType',\n    objectTypes.legacyControlGroup,\n  ),\n  contentsWithoutControlGroups: rejectBy(\n    '_contentsWithoutLegacyControlGroups',\n    'contentType',\n    objectTypes.controlGroup,\n  ),\n\n  hasMultipleContentFragments: gt('contents.length', 1),\n  versionA: readOnly('contents.firstObject'),\n  versionB: computed('hasMultipleContentFragments', 'contents.lastObject', function() {\n    return this.hasMultipleContentFragments ? this.get('contents.lastObject') : null;\n  }),\n\n  hasControlGroup: computed('contentTypes', function() {\n    return (\n      this.contentTypes.includes(objectTypes.legacyControlGroup) ||\n      this.contentTypes.includes(objectTypes.controlGroup)\n    );\n  }),\n  hasNoControlGroup: not('hasControlGroup'),\n  contentTypes: mapBy('contents', 'contentType'),\n\n  editorRoutes: EDITOR_ROUTES,\n  routes: selectFromObject('editorRoutes', 'contentWrapperType'),\n  routeForShowPage: selectFromObject('routes', 'routeKey'),\n\n  routeKey: computed('contentWrapperType', function() {\n    if (this.contentWrapperType === contentWrapperTypes.message) {\n      return 'all';\n    } else {\n      return contentType(this.contentTypes.firstObject);\n    }\n  }),\n\n  contentWrapperName: computed('contentWrapperType', function() {\n    if (this.contentWrapperType === contentWrapperTypes.message) {\n      return 'message';\n    } else if (this.contentWrapperType === contentWrapperTypes.ruleset) {\n      return 'ruleset';\n    } else if (this.contentWrapperName === contentWrapperTypes.series) {\n      return 'series';\n    } else {\n      return '';\n    }\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { alias, gt, not, or, bool, and, equal, empty } from '@ember/object/computed';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport UserPresence from 'embercom/models/types/user-presence-model';\nimport UserAvatarData from 'embercom/models/mixins/user-avatar-data';\n\nlet Participant = Model.extend(UserPresence, UserAvatarData, {\n  user_id: attr(),\n  display_as: attr(),\n  displayAs: alias('display_as'),\n  email: attr(),\n  user_phone_number: attr(),\n  phone: attr(),\n  avatar: attr(),\n  last_request_at: attr(),\n  last_request_at_ios: attr(),\n  last_request_at_android: attr(),\n  is_anonymous: attr(),\n  is_mobile_unidentified: attr(),\n  role: attr(),\n  pseudonym: attr(),\n  displayAsDidUpdate: false,\n\n  companies: attr('company-summaries', { defaultValue: () => [] }),\n\n  custom_data: attr({ defaultValue: () => ({}) }),\n  mostRecentCompany: alias('companies.firstObject'),\n  hasCompanies: gt('companies.length', 0),\n  hasNoCompanies: not('hasCompanies'),\n  hasDisplayableCompany: or('mostRecentCompany.notManuallyCreated', 'mostRecentCompany.name'),\n  hasEmail: bool('email'),\n  hasNoEmail: not('hasEmail'),\n  leadWithoutEmail: and('is_anonymous', 'hasNoEmail'),\n  isUserRole: equal('role', 'user_role'),\n  isLeadRole: equal('role', 'contact_role'),\n  typeLabel: ternary('is_anonymous', 'Lead', 'User'),\n  userPhoneNumberDidUpdate: false,\n\n  firstName: computed('display_as', function() {\n    return this.display_as.split(' ')[0];\n  }),\n\n  hasNeverBeenSeen: empty('last_request_at'),\n\n  pseudonymWithoutLocation: computed('display_as', 'is_anonymous', function() {\n    if (this.is_anonymous && this.pseudonym) {\n      return this.pseudonym.split(' ', 2).join(' ');\n    }\n    return '';\n  }),\n\n  analyticsData: computed('id', 'role', function() {\n    return {\n      object: 'user',\n      user_id: this.id,\n      user_role: this.role,\n    };\n  }),\n  _setAndNotifyChange(keyName, value) {\n    this.store.pushPayload({ participant: { id: this.id, [keyName]: value } });\n  },\n}).reopenClass({\n  peekAndMaybeLoad(store, id) {\n    let participant = store.peekRecord('participant', id);\n    if (participant) {\n      return participant;\n    }\n    store.pushPayload({\n      participants: [\n        {\n          id,\n          user_id: id,\n          display_as: 'This user has been deleted',\n          isUnknown: true,\n        },\n      ],\n    });\n    return store.peekRecord('participant', id);\n  },\n});\n\nexport default Participant;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  appId: attr('string'),\n  identifier: attr('string'),\n  value: attr('string'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { notEmpty, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { findByProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Model.extend({\n  appService: service(),\n  identifier: attr('string'),\n\n  app: readOnly('appService.app'),\n  appId: readOnly('app.id'),\n\n  hasOptions: notEmpty('options'),\n  name: readOnly('dataAttribute.name'),\n  isCompany: readOnly('dataAttribute.isCompany'),\n  identifierWithoutCompanyPrefix: readOnly('dataAttribute.identifierWithoutCompanyPrefix'),\n  options: readOnly('dataAttribute.options'),\n  dataAttribute: findByProperty('app.attributes', 'identifier', 'identifier'),\n});\n","import { attr } from '@ember-data/model';\nimport PredicateGroup from 'predicates/models/predicate-group';\n\nexport default PredicateGroup.extend({\n  name: attr('string'),\n});\n","import { attr } from '@ember-data/model';\nimport ModelWithPermissions from 'embercom/models/model-with-permissions';\n\nexport default class Permission extends ModelWithPermissions {\n  @attr() app_id;\n  @attr() admin_id;\n  @attr() role_id;\n  @attr('boolean', { defaultValue: false }) has_inbox_access;\n  @attr('string', { defaultValue: 'all' }) accessType;\n  @attr('boolean', { defaultValue: false }) includeUnassigned;\n  @attr({ defaultValue: () => [] }) assigneeBlockedList;\n\n  set reassignments(value) {\n    if (value) {\n      this.setProperties(Permission.transformReassignments(value));\n    }\n  }\n\n  get role() {\n    return this.role_id ? this.store.peekRecord('role', this.role_id) : null;\n  }\n\n  static transformReassignments(reassignments) {\n    return {\n      reassign_auto_messages_admin_id: reassignments.messages,\n      reassign_replies_admin_id: reassignments.conversations,\n      reassign_replies_teams: Object.entries(reassignments.teams).map(([team_id, assignee_id]) => ({\n        team_id,\n        assignee_id,\n      })),\n      reassign_owner_admin_id: reassignments.ownedUsersLeadsAndAccounts,\n      reassign_articles_author_id: reassignments.articles,\n    };\n  }\n\n  @attr() reassign_auto_messages_admin_id;\n  @attr() reassign_replies_admin_id;\n  @attr() reassign_owner_admin_id;\n  @attr() reassign_articles_author_id;\n  @attr('array', { defaultValue: () => [] }) reassign_replies_teams;\n}\n","import Model, { attr } from '@ember-data/model';\nimport STRICTNESS from 'embercom/lib/identity-verification-strictness';\nimport { capitalize } from '@ember/string';\n\nexport default class PingDomainSettingsModel extends Model {\n  @attr() pingDomainId;\n  @attr() identityVerificationEnabled;\n  @attr() identityVerificationStrictness;\n\n  get identityVerificationStrictnessLabel() {\n    return capitalize(STRICTNESS[this.identityVerificationStrictness].label);\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { not } from '@ember/object/computed';\nimport moment from 'moment';\n\nconst ERROR_MESSAGES = {\n  user_hash_is_missing: {\n    short: 'Missing user hashes',\n    long:\n      'A valid user hash is required to verify each user when identity verification is enabled.',\n  },\n  user_hash_is_unrecognized: {\n    short: 'Invalid user hashes',\n    long: 'The user hashes we received from this domain do not match our expectations.',\n  },\n  default: {\n    short: 'None',\n  },\n};\n\nexport default Model.extend({\n  appId: attr(),\n  domain: attr(),\n  validUserHash: attr(),\n  identityVerificationEnabled: attr(),\n  ignored: attr(),\n  errorCode: attr(),\n  createdAt: attr(),\n  updatedAt: attr(),\n  identifiedRequest: attr(),\n  settings: belongsTo('ping-domain-settings'),\n\n  hasError: not('validUserHash'),\n  lastModified: computed('updatedAt', function() {\n    return moment(this.updatedAt).fromNow();\n  }),\n  errorMessage: computed('errorCode', function() {\n    return ERROR_MESSAGES[this.errorCode] || ERROR_MESSAGES['default'];\n  }),\n});\n","import Model, { attr, belongsTo } from '@ember-data/model';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport { PLAN_DATA } from 'embercom/lib/billing';\nimport { inject as service } from '@ember/service';\n\nexport default class Plan extends Model {\n  @attr('boolean') active;\n  @attr('boolean') selfServe;\n  @attr('date') activatedAt;\n  @attr('number') tierId;\n  @attr('number') teammateLimit;\n  @attr('number') teammateMinimum;\n  @service store;\n\n  @belongsTo('product', { async: false }) product;\n\n  @fragmentArray('feature-fragment') features;\n  @fragmentArray('pricing-strategy') pricingStrategies;\n\n  get idAsNumber() {\n    return parseInt(this.id, 10);\n  }\n  get price() {\n    let prices = this.store.peekAll('price');\n    return prices.find(price => price.hasSamePlans([this.idAsNumber]));\n  }\n  get description() {\n    return PLAN_DATA[this.id]?.description;\n  }\n  get marketingFeatures() {\n    return PLAN_DATA[this.id]?.marketingFeatures;\n  }\n  get name() {\n    //used very rarely, mostly in the context of a product\n    return PLAN_DATA[this.id]?.name;\n  }\n\n  get marketingName() {\n    //used in the purchase flow\n    return PLAN_DATA[this.id]?.marketingName || this.nameWithProduct;\n  }\n\n  get nameWithProduct() {\n    //most of the time this is the name that should be used.\n    return PLAN_DATA[this.id]?.nameWithProduct || this.name;\n  }\n\n  get messengerText() {\n    let planName = this.nameWithProduct;\n    if (planName.includes('plan')) {\n      planName = `the ${planName}`;\n    }\n    return `Hi, I'm interested in learning more about ${planName}.`;\n  }\n\n  get prefix() {\n    return PLAN_DATA[this.id]?.prefix;\n  }\n}\n","import Model, { attr, belongsTo } from '@ember-data/model';\nimport { dependentKeyCompat } from '@ember/object/compat';\nimport { inject as service } from '@ember/service';\nimport { fragment, fragmentArray } from 'ember-data-model-fragments/attributes';\nimport Admin from 'embercom/models/admin';\nimport { defaultBlockWithModelKey, senderTypes } from 'embercom/models/data/outbound/constants';\nimport LocalizedPostContentValidations from 'embercom/validations/localized-post-content';\n\nexport default class LocalizedPostContentModel extends Model.extend(\n  LocalizedPostContentValidations,\n) {\n  @service store;\n  @belongsTo('posts/post', { inverse: 'localizedPostContents' }) post;\n  @fragmentArray('common/blocks/block', {\n    polymorphic: true,\n    typeKey: 'modelKey',\n    defaultValue: () => [defaultBlockWithModelKey],\n  })\n  blocks;\n  @attr('string') locale;\n  @attr('string') senderId;\n  @attr('string') assignToId;\n  @attr('number') senderType;\n  @attr('number') assignToType;\n  @fragment('content-service/follow-up-actions') followUpActions;\n\n  @dependentKeyCompat\n  get hasUnsavedChanges() {\n    return this.hasDirtyAttributes || this.blocks.any(block => block.hasDirtyAttributes);\n  }\n\n  get isSenderOwner() {\n    return this.senderType === senderTypes.owner;\n  }\n\n  get isAssignToOwner() {\n    return this.assignToType === senderTypes.owner;\n  }\n\n  get contentHash() {\n    let hash = this.serialize();\n    delete hash['announcement'];\n    delete hash['id'];\n    return hash;\n  }\n\n  get sender() {\n    return Admin.peekAndMaybeLoad(this.store, this.senderId);\n  }\n\n  get assignTo() {\n    return Admin.peekAndMaybeLoad(this.store, this.assignToId);\n  }\n\n  get senderName() {\n    return this.sender.firstNameOrNameOrEmail || 'Unknown';\n  }\n}\n","import { getOwner } from '@ember/application';\nimport { inject as service } from '@ember/service';\nimport Model, { attr, hasMany } from '@ember-data/model';\nimport PostValidations from 'embercom/validations/post';\nimport postEditConfigGenerator from 'embercom/objects/content-editor/configuration-generators/post';\nimport { dependentKeyCompat } from '@ember/object/compat';\nimport { preferredDevices } from 'embercom/models/data/outbound/constants';\nimport {\n  hasiOSSessionsPredicate,\n  hasAndroidSessionsPredicate,\n} from 'embercom/models/mobile-push/push';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\n\nexport const formatOptions = {\n  small: 0,\n  large: 1,\n};\n\nexport const replyTypeOptions = {\n  text: 0,\n  reaction: 1,\n};\n\nexport const defaultReactions = [\n  {\n    index: 0,\n    unicodeEmoticon: '💜',\n  },\n  {\n    index: 1,\n    unicodeEmoticon: '😴',\n  },\n  {\n    index: 2,\n    unicodeEmoticon: '👎',\n  },\n  {\n    index: 3,\n    unicodeEmoticon: '🎉',\n  },\n];\n\nexport default class PostModel extends Model.extend(PostValidations) {\n  @service store;\n\n  @attr('number') format;\n  @attr('number') replyType;\n  @attr('number') sentAs;\n  @attr() sendPushNotification;\n  @attr('array') preferredDevices;\n  @fragmentArray('messages/reaction') reactionSet;\n  @hasMany('posts/localized-post-content', { inverse: 'post' }) localizedPostContents;\n\n  @dependentKeyCompat\n  get contentHash() {\n    return this.localizedPostContents.map(localizedPostContent => localizedPostContent.contentHash);\n  }\n\n  @dependentKeyCompat\n  get hasUnsavedChanges() {\n    return (\n      this.hasDirtyAttributes ||\n      this.localizedPostContents.any(localizedContent => localizedContent.hasUnsavedChanges)\n    );\n  }\n\n  get localizedContents() {\n    return this.localizedPostContents;\n  }\n\n  @dependentKeyCompat\n  get implicitPredicates() {\n    // Any changes to this function should be made to the backend version too.\n    let predicates = [];\n\n    if (\n      this.preferredDevices.length === 2 &&\n      this.preferredDevices.includes(preferredDevices.ios) &&\n      this.preferredDevices.includes(preferredDevices.android)\n    ) {\n      predicates.push({\n        type: 'or',\n        predicates: [hasAndroidSessionsPredicate, hasiOSSessionsPredicate],\n      });\n    } else if (\n      this.preferredDevices.length === 1 &&\n      this.preferredDevices[0] === preferredDevices.android\n    ) {\n      predicates.push(hasAndroidSessionsPredicate);\n    } else if (\n      this.preferredDevices.length === 1 &&\n      this.preferredDevices[0] === preferredDevices.ios\n    ) {\n      predicates.push(hasiOSSessionsPredicate);\n    }\n    return predicates;\n  }\n\n  editorConfig() {\n    let container = getOwner(this);\n    return postEditConfigGenerator({ container });\n  }\n\n  get isTextReply() {\n    return this.replyType === replyTypeOptions.text;\n  }\n\n  get isReactionsReply() {\n    return this.replyType === replyTypeOptions.reaction;\n  }\n\n  get isSmall() {\n    return this.format === formatOptions.small;\n  }\n\n  get readableFormat() {\n    return this.isSmall ? 'small' : 'large';\n  }\n\n  rollbackAttributes() {\n    super.rollbackAttributes();\n    this.localizedPostContents.forEach(content => content.rollbackAttributes());\n  }\n}\n","define(\"embercom/models/predicates/anonymous\", [\"exports\", \"predicates/models/anonymous\"], function (_exports, _anonymous) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _anonymous.default;\n    }\n  });\n});\n","define(\"embercom/models/predicates/boolean\", [\"exports\", \"predicates/models/boolean\"], function (_exports, _boolean) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _boolean.default;\n    }\n  });\n});\n","define(\"embercom/models/predicates/campaign-behavior\", [\"exports\", \"predicates/models/campaign-behavior\"], function (_exports, _campaignBehavior) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _campaignBehavior.default;\n    }\n  });\n});\n","define(\"embercom/models/predicates/content-event\", [\"exports\", \"predicates/models/content-event\"], function (_exports, _contentEvent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _contentEvent.default;\n    }\n  });\n});\n","define(\"embercom/models/predicates/data/conversation-ratings\", [\"exports\", \"predicates/models/data/conversation-ratings\"], function (_exports, _conversationRatings) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _conversationRatings.default;\n    }\n  });\n});\n","define(\"embercom/models/predicates/data/ios\", [\"exports\", \"predicates/models/data/ios\"], function (_exports, _ios) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _ios.default;\n    }\n  });\n});\n","define(\"embercom/models/predicates/data/roles\", [\"exports\", \"predicates/models/data/roles\"], function (_exports, _roles) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _roles.default;\n    }\n  });\n});\n","define(\"embercom/models/predicates/date\", [\"exports\", \"predicates/models/date\"], function (_exports, _date) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _date.default;\n    }\n  });\n});\n","define(\"embercom/models/predicates/datetime\", [\"exports\", \"predicates/models/datetime\"], function (_exports, _datetime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _datetime.default;\n    }\n  });\n});\n","define(\"embercom/models/predicates/email-disengagement\", [\"exports\", \"predicates/models/email-disengagement\"], function (_exports, _emailDisengagement) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _emailDisengagement.default;\n    }\n  });\n});\n","define(\"embercom/models/predicates/logical\", [\"exports\", \"predicates/models/logical\"], function (_exports, _logical) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _logical.default;\n    }\n  });\n});\n","define(\"embercom/models/predicates/numeric-select\", [\"exports\", \"predicates/models/numeric-select\"], function (_exports, _numericSelect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _numericSelect.default;\n    }\n  });\n});\n","define(\"embercom/models/predicates/numeric\", [\"exports\", \"predicates/models/numeric\"], function (_exports, _numeric) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _numeric.default;\n    }\n  });\n});\n","define(\"embercom/models/predicates/office-hours-schedule\", [\"exports\", \"predicates/models/office-hours-schedule\"], function (_exports, _officeHoursSchedule) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _officeHoursSchedule.default;\n    }\n  });\n});\n","define(\"embercom/models/predicates/optional-select\", [\"exports\", \"predicates/models/optional-select\"], function (_exports, _optionalSelect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _optionalSelect.default;\n    }\n  });\n});\n","define(\"embercom/models/predicates/predicate-group\", [\"exports\", \"predicates/models/predicate-group\"], function (_exports, _predicateGroup) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _predicateGroup.default;\n    }\n  });\n});\n","define(\"embercom/models/predicates/predicate\", [\"exports\", \"predicates/models/predicate\"], function (_exports, _predicate) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _predicate.default;\n    }\n  });\n});\n","define(\"embercom/models/predicates/role\", [\"exports\", \"predicates/models/role\"], function (_exports, _role) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _role.default;\n    }\n  });\n});\n","define(\"embercom/models/predicates/select\", [\"exports\", \"predicates/models/select\"], function (_exports, _select) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _select.default;\n    }\n  });\n});\n","define(\"embercom/models/predicates/string\", [\"exports\", \"predicates/models/string\"], function (_exports, _string) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _string.default;\n    }\n  });\n});\n","define(\"embercom/models/predicates/url-visit\", [\"exports\", \"predicates/models/url-visit\"], function (_exports, _urlVisit) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _urlVisit.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { alias } from '@ember/object/computed';\nimport { ternary } from '@intercom/embercom-core/lib/computed-properties';\nimport numberFormatter from 'embercom/lib/number-formatter';\nimport numericFormatter from 'embercom/lib/numeric-formatter';\nimport usageFormatter from 'embercom/lib/usage-formatter';\nimport { getProductInfo } from 'embercom/lib/billing';\nimport { singularize } from 'ember-inflector';\n\nexport default Model.extend({\n  planIds: attr(),\n  peopleCount: attr('number'),\n  pricingModelIdentifier: attr(),\n  amount: attr('number'),\n  breakdown: attr(),\n  priceSet: attr(),\n  lotVariance: attr(),\n  perProductData: attr(),\n  monthly_active_people: alias('perProductData.maximum_monthly_active_identified_people'),\n  active_people: alias('perProductData.maximum_quarterly_active_people'),\n  currentTier: alias('breakdown.firstObject.charges.firstObject.current_tier'),\n  actualUsage: alias('breakdown.firstObject.charges.firstObject.actual_usage'),\n  billedUsage: alias('breakdown.firstObject.charges.firstObject.billed_usage'),\n  quarterly_active_people: alias('active_people'),\n  inbox_seats: alias('perProductData.agent_count'),\n  people_count: alias('peopleCount'),\n  preDiscountAmount: attr(),\n  discounts: attr(),\n  tiers: alias('breakdown.firstObject.charges.firstObject.tiers'),\n  pricingMetric: alias('breakdown.firstObject.charges.firstObject.pricing_metric'),\n  perUnitPrice: alias('breakdown.firstObject.charges.firstObject.per_unit_price'),\n  planStartingPrice: alias('breakdown.firstObject.plan_starting_price'),\n  blockSize: alias('breakdown.firstObject.charges.firstObject.block_size'),\n  pricingMetricDisplayName: computed('pricingMetric', function() {\n    return usageFormatter.getDisplayName(this.pricingMetric);\n  }),\n\n  hasSamePlans(yourPlanIds) {\n    let myPlanIds = this.planIds;\n\n    let youMatch = yourPlanIds.every(planId => myPlanIds.includes(planId));\n    let weMatch = myPlanIds.every(planId => yourPlanIds.includes(planId));\n\n    return youMatch && weMatch;\n  },\n\n  formattedStartingPrice: computed('planStartingPrice', function() {\n    return this.formatPrice({ price: this.planStartingPrice });\n  }),\n\n  currentTierInfo: computed('currentTier', function() {\n    let tierStart = this.blockSize\n      ? Math.max(0, this.billedUsage - this.blockSize + 1) // Adding 1 so the tiers don't overlap\n      : this.currentTier.starting_unit;\n\n    return {\n      tierStart,\n      tierEnd: this.billedUsage,\n    };\n  }),\n\n  formattedUsageDisplay: computed('pricingMetric', 'currentTier', function() {\n    if (this.pricingMetric === 'fixed') {\n      return '';\n    } else if (this.currentTier) {\n      let { tierStart, tierEnd } = this.currentTierInfo;\n\n      return `${numberFormatter(tierStart)} - ${numberFormatter(tierEnd)} (${numberFormatter(\n        this.actualUsage,\n      )} used)`;\n    } else {\n      return `${numberFormatter(this.billedUsage)} purchased (${this.actualUsage} used)`;\n    }\n  }),\n\n  nonFixedMetric: computed('currentTier', function() {\n    if (this.currentTier) {\n      return numberFormatter(this.currentTier.ending_unit);\n    } else {\n      return numberFormatter(this.billedUsage);\n    }\n  }),\n\n  formattedAmount: computed('amount', function() {\n    return this.formatPrice({ price: this.amount, formatter: numberFormatter });\n  }),\n  formattedPerUnitPrice: computed('perUnitPrice', function() {\n    return this.formatPrice({ price: this.perUnitPrice, formatter: numberFormatter });\n  }),\n\n  formattedPreDiscountAmount: computed('preDiscountAmount', function() {\n    return this.formatPrice({ price: this.preDiscountAmount });\n  }),\n\n  formattedPreDiscountAmountWithoutDollarSign: computed('preDiscountAmount', function() {\n    return `${numberFormatter(this.preDiscountAmount / 100)}`;\n  }),\n\n  amountToTwoDecimals: computed('amount', function() {\n    return `${numericFormatter(this.amount / 100, 2, true)}`;\n  }),\n\n  preDiscountAmountToTwoDecimals: computed('preDiscountAmount', function() {\n    return this.formatPrice({ price: this.preDiscountAmount });\n  }),\n\n  couponDiscountAmountFormatted: computed('couponDiscountAmount', function() {\n    return this.formatPrice({ price: this.couponDiscountAmount });\n  }),\n\n  couponDiscountAmount: computed('appliedCoupon', function() {\n    let coupon = this.appliedCoupon;\n    return coupon ? coupon.amount : 0;\n  }),\n\n  appliedCoupon: computed('discounts', function() {\n    return this.discounts.find(discount => discount.type === 'applied_coupon');\n  }),\n  hasCouponApplied: ternary('appliedCoupon', true, false),\n  hasPercentOffCoupon: ternary('appliedCoupon.percent_off', true, false),\n  hasFixedPriceCoupon: ternary('appliedCoupon.amount_off_in_cents', true, false),\n  couponPercentOff: alias('appliedCoupon.percent_off'),\n  couponFixedAmountOff: alias('appliedCoupon.amount_off_in_cents'),\n\n  getBreakdownInfo(formatter = numberFormatter) {\n    return this.breakdown?.map(({ plan_id, amount, charges, name }) => ({\n      ...getProductInfo(plan_id),\n      price: `${this.formatPrice({\n        price: amount,\n        isDiscount: name === 'applied_coupon',\n        formatter,\n      })}`,\n      breakdown: this.breakdownToDisplayBreakdown(charges),\n    }));\n  },\n\n  breakdownToDisplayBreakdown(charges) {\n    let priceMetricToDisplayName = {\n      thirty_day_messaged_contacts: 'people reached',\n      latest_daily_admin_count: 'seats',\n      thirty_day_messaged_contacts_product_tours: 'guided users',\n      quarterly_active_people: 'active people',\n      inbox_seats: 'seats',\n      fixed: 'unlimited articles',\n    };\n\n    return charges?.map(({ pricing_metric, billed_usage, price }) => ({\n      usage: pricing_metric === 'fixed' ? '' : numberFormatter(billed_usage),\n      metric:\n        billed_usage > 1\n          ? priceMetricToDisplayName[pricing_metric]\n          : singularize(priceMetricToDisplayName[pricing_metric]),\n      price: this.formatPrice({ price }),\n    }));\n  },\n\n  formatPrice({ price, isDiscount = false, formatter = numericFormatter }) {\n    if (isDiscount) {\n      return `-$${formatter(price / -100, 2, true)}`;\n    }\n\n    return `$${formatter(price / 100, 2, true)}`;\n  },\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default class PricingStrategy extends Fragment {\n  @attr('string') pricingMetric;\n  @attr() planLimit;\n  get minimum() {\n    return this.planLimit.minimum || 0;\n  }\n  get maximum() {\n    return this.planLimit.maximum || Infinity;\n  }\n}\n","import Model, { attr, hasMany } from '@ember-data/model';\nimport productKeyFromId from 'embercom/lib/product-key-from-id';\nimport {\n  ARTICLES_ID,\n  MESSAGES_ID,\n  INBOX_ID,\n  OPERATOR_ID,\n  PRODUCTS,\n  PRO_TIER_ID,\n} from 'embercom/lib/billing';\nimport usageFormatter from 'embercom/lib/usage-formatter';\nimport { isPresent } from '@ember/utils';\n\nexport default class Product extends Model {\n  @attr('string') name;\n  @attr('string') pricingMetric;\n  @attr('boolean') addon;\n  @attr('boolean') trialable;\n  @attr('date') activeTrialStartedAt;\n  @hasMany('plan', { async: false }) plans;\n\n  get idAsNumber() {\n    return parseInt(this.id, 10);\n  }\n\n  get notTrialable() {\n    return !this.trialable;\n  }\n\n  get active() {\n    return isPresent(this.activePlan);\n  }\n\n  get inactive() {\n    return !this.active;\n  }\n\n  get activePlan() {\n    return this.plans.findBy('active', true);\n  }\n\n  get hasOnePlan() {\n    return this.plans.length === 1;\n  }\n\n  get isArticles() {\n    return this.id === ARTICLES_ID;\n  }\n\n  get isMessages() {\n    return this.id === MESSAGES_ID;\n  }\n\n  get isInbox() {\n    return this.id === INBOX_ID;\n  }\n\n  get isOperator() {\n    return this.id === OPERATOR_ID;\n  }\n\n  get hasProPlan() {\n    return this.activePlan?.tierId === PRO_TIER_ID;\n  }\n\n  get selfServe() {\n    return this.plans.any(plan => plan.selfServe);\n  }\n\n  get hasQuarterlyActivePeoplePricingTable() {\n    return this.pricingMetric === 'quarterly_active_people';\n  }\n\n  get hasMonthlyActivePeoplePricingTable() {\n    return this.pricingMetric === 'monthly_active_people';\n  }\n\n  get hasPeopleRecordsPricingTable() {\n    return this.pricingMetric === 'people_count';\n  }\n\n  hasPlan(planId) {\n    return this.plans.any(plan => plan.idAsNumber === planId);\n  }\n\n  // // Only use for URLs/routes, otherwise use ID\n  get key() {\n    return productKeyFromId(this.id);\n  }\n\n  get activePlanName() {\n    if (this.hasOnePlan) {\n      return '';\n    }\n    return this.activePlan?.name;\n  }\n\n  get shortDescription() {\n    return PRODUCTS[this.id].shortDescription;\n  }\n\n  get longDescription() {\n    return PRODUCTS[this.id].longDescription;\n  }\n\n  get pricingMetricDisplayName() {\n    return `${usageFormatter.getDisplayName(this.pricingMetric)}`;\n  }\n\n  get videoId() {\n    return PRODUCTS[this.id].videoId;\n  }\n\n  get route() {\n    return PRODUCTS[this.id].route;\n  }\n\n  get optionClass() {\n    return PRODUCTS[this.id].optionClass;\n  }\n\n  get analyticsData() {\n    return {\n      object: 'product',\n      product_active: this.active,\n    };\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport Admin from 'embercom/models/admin';\n\nexport default Model.extend({\n  admin_id: attr(),\n  app_id: attr(),\n  job_title: attr(),\n  calendar_url: attr(),\n  show_calendar_in_messenger: attr(),\n  biography: attr(),\n  show_location: attr(),\n  email_address_for_app: attr(),\n  admin: computed('admin_id', function() {\n    return Admin.peekAndMaybeLoad(this.store, this.admin_id);\n  }),\n});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  _id: attr('string'),\n  identifier: attr('string'),\n\n  justAdded: false,\n  mandatoryAttribute: attr('boolean', { defaultValue: false }),\n}).reopenClass({\n  removeInvalidFragments(qualificationAttributes) {\n    //remove undefined and duplicate identifiers\n    let identifiers = qualificationAttributes\n      .uniqBy('identifier')\n      .map(attr => attr.get('identifier'));\n    identifiers = identifiers.filter(identifier => !!identifier);\n\n    return identifiers.map(identifier => {\n      return qualificationAttributes.find(attr => attr.get('identifier') === identifier);\n    });\n  },\n});\n","import Model, { attr } from '@ember-data/model';\n\nexport default class ChartModel extends Model {\n  @attr('string') dashboard_identifier;\n  @attr('string') chart_identifier;\n  @attr('string') aggregation_method;\n  @attr('string') grouping_method;\n}\n","import Model, { attr } from '@ember-data/model';\nimport { fragment } from 'ember-data-model-fragments/attributes';\nimport {\n  CONVERSATION_OBJECT_IDENTIFIER,\n  TIME_GROUP_PROPERTY,\n  getDefaultMetricProperty,\n  getDefaultMetricFunction,\n  getDefaultTimeProperty,\n  getObjectForMetric,\n} from 'embercom/lib/reporting/custom/object-catalog';\nimport { inject as service } from '@ember/service';\nimport Range from 'embercom/models/reporting/range';\n\nconst VISUALIZATION_TYPES = {\n  BAR: 'bar',\n  COUNTER: 'counter',\n};\n\nconst defaultBreakDownByProperty = {\n  [VISUALIZATION_TYPES.COUNTER]: undefined,\n  [VISUALIZATION_TYPES.BAR]: TIME_GROUP_PROPERTY.identifier,\n};\n\nexport default class Chart extends Model {\n  @service appService;\n\n  @attr('string') title;\n  @attr('string') description;\n  @attr('string', { defaultValue: VISUALIZATION_TYPES.BAR }) visualizationType;\n  @attr('string', { defaultValue: CONVERSATION_OBJECT_IDENTIFIER }) object;\n  @attr('string', {\n    defaultValue() {\n      return getDefaultMetricProperty(CONVERSATION_OBJECT_IDENTIFIER);\n    },\n  })\n  metricProperty;\n  @attr('string', {\n    defaultValue() {\n      return getDefaultMetricFunction(\n        CONVERSATION_OBJECT_IDENTIFIER,\n        getDefaultMetricProperty(CONVERSATION_OBJECT_IDENTIFIER),\n      );\n    },\n  })\n  metricFunction;\n  @attr('string', { defaultValue: TIME_GROUP_PROPERTY.identifier }) breakDownBy;\n  @attr({ defaultValue: () => ({}) }) filters;\n  @attr createdById;\n  @attr updatedById;\n  @attr('date') createdAt;\n  @attr('date') updatedAt;\n  @fragment('reporting/custom/date-range', {\n    defaultValue: {\n      property: getDefaultTimeProperty(CONVERSATION_OBJECT_IDENTIFIER),\n      selection: 'past_4_weeks',\n    },\n  })\n  dateRange;\n\n  get range() {\n    return Range.createFromModel(this.dateRange, this.appService.app.timezone);\n  }\n\n  applyDateRange(dateRange, property) {\n    if (property) {\n      this.dateRange.property = property;\n    }\n    this.dateRange.selection = dateRange.selectedRange;\n    if (dateRange.selectedRange === 'custom') {\n      this.dateRange.start = dateRange.startMoment.toDate();\n      this.dateRange.end = dateRange.endMoment.toDate();\n    }\n  }\n\n  applyFilter(property, values) {\n    let existingFilters = this.filters?.filters || [];\n    let newTopLevelFilter = {\n      type: 'and',\n      filters: existingFilters.reject(f => f.data.property === property),\n    };\n    if (values.length) {\n      newTopLevelFilter.filters.push({\n        data: { property, values },\n      });\n    }\n    this.filters = newTopLevelFilter;\n  }\n\n  updateMetric(metricProperty) {\n    let newObject = getObjectForMetric(metricProperty);\n    if (newObject !== this.object) {\n      this.object = newObject;\n      this.filters = {};\n      this.breakDownBy = defaultBreakDownByProperty[this.visualizationType];\n      this.dateRange.property = getDefaultTimeProperty(newObject);\n    }\n\n    this.metricFunction = getDefaultMetricFunction(newObject, metricProperty);\n    this.metricProperty = metricProperty;\n  }\n\n  updateBreakDownBy(newBreakDownBy) {\n    this.breakDownBy = newBreakDownBy;\n    if (this.visualizationType === VISUALIZATION_TYPES.COUNTER) {\n      this.visualizationType = VISUALIZATION_TYPES.BAR;\n    }\n  }\n\n  updateVisualization(newVisualization) {\n    this.visualizationType = newVisualization;\n    if (newVisualization === VISUALIZATION_TYPES.BAR) {\n      this.breakDownBy = TIME_GROUP_PROPERTY.identifier;\n    } else {\n      this.breakDownBy = null;\n    }\n  }\n\n  get isCounter() {\n    return this.visualizationType === VISUALIZATION_TYPES.COUNTER;\n  }\n}\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default class DateRange extends Fragment {\n  @attr('string') property;\n  @attr('string') selection;\n  @attr('date') start;\n  @attr('date') end;\n}\n","import {\n  TIME_GROUP_PROPERTY,\n  getFilterableProperties,\n  getAggregationFunction,\n  getObjectProperty,\n  getMetric,\n} from 'embercom/lib/reporting/custom/object-catalog';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\nimport Admin from 'embercom/models/admin';\nimport { CONVERSATION_RATINGS } from 'predicates/models/data/conversation-ratings';\nimport { USER_TYPES } from 'embercom/lib/filters-to-text';\nimport {\n  REPORTING_FILTER_SELECT_ALL,\n  AVAILABLE_CONTINENT_MAPPINGS,\n} from 'embercom/lib/reporting/flexible/constants';\nimport { lookupCountryName } from 'embercom/lib/countries';\nimport ConversationAttributeFilters from 'embercom/lib/reporting/custom/conversation-attribute-filters';\n\nconst LIMIT_FOR_NUMBER_OF_TERMS = 10000;\nconst MAXIMUM_NUMBER_OF_GROUPS = 10;\n\nconst TEAM_AND_TEAMMATE_PROPERTY_IDENTIFIERS = new Set([\n  'admin_participant_ids',\n  'admin_assignee_id',\n  '$admin_participant_ids',\n  'team_assignee_id',\n  'teammate_id',\n]);\n\nconst CONVERSATION_RATINGS_VALUE_TO_LABEL_MAPPING = Object.fromEntries([\n  ...CONVERSATION_RATINGS.map(r => [r.value, r.label]),\n]);\n\nconst sanitizeProperty = property => property.replace(/^\\$/, '');\n\nexport default class RenderableChart {\n  constructor(chartState, reportState) {\n    let filters = Object.fromEntries(\n      chartState.filters?.filters?.map(f => [f.data.property, f.data.values]) || [],\n    );\n    this.id = chartState.id;\n    this.object = chartState.object;\n    this.timeProperty = chartState.dateRange.property;\n    this.group = chartState.breakDownBy;\n    this.metricProperty = chartState.metricProperty;\n    this.metricFunction = chartState.metricFunction;\n    this.visualizationType = chartState.visualizationType;\n    this.filters = filters;\n    this.conversationAttributeFilters = new ConversationAttributeFilters();\n    this.reportState = reportState;\n    this.dateRange = reportState?.dateRange || chartState.range;\n  }\n\n  get metricUnit() {\n    return getMetric(this.metricProperty).unit;\n  }\n\n  get metricDisplayUnit() {\n    return getMetric(this.metricProperty).tooltipDisplayUnit;\n  }\n\n  get metricDisplayName() {\n    let metricName = getMetric(this.metricProperty).humanizedName;\n    let aggregationName = getAggregationFunction(this.metricFunction)?.humanizedName;\n    if (aggregationName) {\n      return `${aggregationName} ${metricName}`;\n    } else {\n      return metricName;\n    }\n  }\n\n  get filterableProperties() {\n    return getFilterableProperties(this.object).map(p => p.identifier);\n  }\n\n  get groupDisplayName() {\n    if (this.group) {\n      return getObjectProperty(this.object, this.group).humanizedName;\n    }\n    return null;\n  }\n\n  get isGroupedByTime() {\n    return this.group === TIME_GROUP_PROPERTY.identifier;\n  }\n\n  buildFunctionToMapGroupKeyFromDatabaseValueToDisplayName() {\n    let store = getEmberDataStore();\n    let groupIdentifier = this.group;\n    if (TEAM_AND_TEAMMATE_PROPERTY_IDENTIFIERS.has(groupIdentifier)) {\n      return value => Admin.peekAndMaybeLoad(store, value).displayAs;\n    }\n    if (groupIdentifier === 'conversation_tag_ids') {\n      return value => store.peekRecord('tag', value)?.name || 'Not tagged';\n    }\n    if (groupIdentifier === 'user_role') {\n      return value => USER_TYPES[value];\n    }\n    if (groupIdentifier === 'conversation_rating.rating_index') {\n      return value => CONVERSATION_RATINGS_VALUE_TO_LABEL_MAPPING[value] || 'No rating';\n    }\n    if (groupIdentifier === 'user_location.country_code') {\n      return lookupCountryName;\n    }\n    if (groupIdentifier === 'user_location.continent_code') {\n      return value => AVAILABLE_CONTINENT_MAPPINGS[value] || value;\n    }\n    return null;\n  }\n\n  buildViewConfig() {\n    if (!this.metricUnit) {\n      return;\n    }\n    return {\n      formatUnit: { unit: this.metricUnit },\n      labelMappingFunction: this.buildFunctionToMapGroupKeyFromDatabaseValueToDisplayName(),\n    };\n  }\n\n  get metricPropertyForDataConfig() {\n    let transformed = this.metricProperty;\n    if (\n      getMetric(this.metricProperty).canExcludeBotAndOfficeHours &&\n      this.reportState?.settings?.excludeOooHours\n    ) {\n      transformed = `${this.metricProperty}_in_office_hours`;\n    }\n    return transformed;\n  }\n\n  buildFilterForDataConfig(property, values) {\n    if (values.length === 0) {\n      return null;\n    }\n\n    if (values.firstObject === REPORTING_FILTER_SELECT_ALL) {\n      return {\n        type: 'exists',\n        data: {\n          property: sanitizeProperty(property),\n        },\n      };\n    }\n\n    // If we are filtering by \"Teams participated\" then the `values` are Team IDs\n    // The admin_participant_ids ES field stores teammate IDs so we need to use\n    // the teammate IDs from the supplied teams instead\n    if (property === '$admin_participant_ids') {\n      let store = getEmberDataStore();\n      values = values\n        .map(teamId => Admin.peekAndMaybeLoad(store, teamId)?.member_ids)\n        .flat()\n        .compact();\n    }\n\n    return {\n      type: 'category',\n      data: {\n        property: sanitizeProperty(property),\n        values,\n      },\n    };\n  }\n\n  mapFilterHashToDataConfig(filters) {\n    return Object.entries(filters)\n      .map(([property, values]) => this.buildFilterForDataConfig(property, values))\n      .compact();\n  }\n\n  buildFiltersForDataConfig() {\n    let chartFilters = this.mapFilterHashToDataConfig(this.filters);\n    let reportFilters = [];\n    if (this.reportState?.filters) {\n      reportFilters = this.mapFilterHashToDataConfig(\n        this.reportState.filters.filterPredicates(this.object),\n      );\n    }\n    return [\n      ...chartFilters,\n      ...reportFilters,\n      ...this.conversationAttributeFilters.toDataRequestFilterValues(),\n    ];\n  }\n\n  buildDataConfig() {\n    let dataConfig = {\n      series: [\n        {\n          name: `${this.object}_${this.visualizationType}`,\n          source: this.object === 'conversation' ? 'conversation' : 'conversation_part',\n          type: this.metricFunction,\n          data: {\n            property: this.metricPropertyForDataConfig,\n          },\n          filter: {\n            type: 'and',\n            filters: this.buildFiltersForDataConfig(),\n          },\n          time: {\n            start: this.dateRange.startMoment.valueOf(),\n            end: this.dateRange.endMoment.valueOf(),\n            interval: this.dateRange.interval,\n            property: this.timeProperty,\n          },\n        },\n      ],\n    };\n    if (this.group) {\n      let xAxis = this.isGroupedByTime\n        ? {\n            type: 'temporal',\n            data: {\n              property: this.isGroupedByTime ? this.timeProperty : sanitizeProperty(this.group),\n              interval: this.dateRange.interval,\n            },\n          }\n        : {\n            type: 'nominal',\n            data: {\n              property: sanitizeProperty(this.group),\n              term_size: LIMIT_FOR_NUMBER_OF_TERMS,\n              limit: MAXIMUM_NUMBER_OF_GROUPS - 1,\n            },\n          };\n      dataConfig.xAxis = xAxis;\n    }\n    return dataConfig;\n  }\n}\n","import { tracked } from '@glimmer/tracking';\nimport {\n  transformFilters,\n  mapFromPropertyIdentifierToFilterIdentifier,\n} from 'embercom/lib/reporting/custom/filter-helpers';\nimport { action } from '@ember/object';\nimport { CONVERSATION_OBJECT_IDENTIFIER } from 'embercom/lib/reporting/custom/object-catalog';\n\nexport default class ReportFilters {\n  @tracked teammatesAssigned = [];\n  @tracked teamsAssigned = [];\n  @tracked teammatesParticipated = [];\n  @tracked teamsParticipated = [];\n  @tracked continents = [];\n  @tracked countries = [];\n  @tracked channels = [];\n  @tracked conversationTypes = [];\n  @tracked scopingTagIds = [];\n  @tracked userType = [];\n  @tracked conversationRating = [];\n\n  constructor(filters) {\n    if (filters?.filters) {\n      filters.filters.forEach(filter => {\n        let filterIdentifier = mapFromPropertyIdentifierToFilterIdentifier(\n          filter.data.property,\n          CONVERSATION_OBJECT_IDENTIFIER,\n        );\n        this[filterIdentifier] = filter.data.values;\n      });\n    }\n  }\n\n  @action\n  updateFilter(filterName, filterValues) {\n    this[filterName] = filterValues;\n  }\n\n  @action\n  clearFilters() {\n    this.teammatesAssigned = [];\n    this.teamsAssigned = [];\n    this.teammatesParticipated = [];\n    this.teamsParticipated = [];\n    this.continents = [];\n    this.countries = [];\n    this.channels = [];\n    this.conversationTypes = [];\n    this.scopingTagIds = [];\n    this.userType = [];\n    this.conversationRating = [];\n  }\n\n  get toHash() {\n    let {\n      teammatesAssigned,\n      teamsAssigned,\n      teammatesParticipated,\n      teamsParticipated,\n      continents,\n      countries,\n      channels,\n      conversationTypes,\n      scopingTagIds,\n      userType,\n      conversationRating,\n    } = this;\n    return {\n      teammatesAssigned,\n      teamsAssigned,\n      teammatesParticipated,\n      teamsParticipated,\n      continents,\n      countries,\n      channels,\n      conversationTypes,\n      scopingTagIds,\n      userType,\n      conversationRating,\n    };\n  }\n\n  filterPredicates(filterableObject) {\n    return transformFilters(this.toHash, filterableObject);\n  }\n}\n","import Model, { attr, hasMany } from '@ember-data/model';\nimport { inject as service } from '@ember/service';\nimport Admin from 'embercom/models/admin';\nimport { fragment } from 'ember-data-model-fragments/attributes';\nimport { isEmpty } from '@ember/utils';\nimport Range from 'embercom/models/reporting/range';\n\nexport default class Report extends Model {\n  @service store;\n  @service appService;\n\n  @attr('string') title;\n  @attr('string') description;\n  @attr('date') updatedAt;\n  @attr('string') createdById;\n  @attr({ defaultValue: () => ({}) }) filters;\n  @fragment('reporting/custom/date-range') dateRange;\n\n  @hasMany('reporting/custom/chart') charts;\n\n  get range() {\n    return Range.createFromModel(this.dateRange, this.appService.app.timezone);\n  }\n\n  get hasCharts() {\n    return this.charts?.length > 0;\n  }\n\n  get hasDatesOverwritten() {\n    return Boolean(this.dateRange);\n  }\n\n  applyDateRange(dateRange) {\n    if (isEmpty(this.dateRange)) {\n      this.dateRange = this.store.createFragment('reporting/custom/date-range');\n    }\n    this.dateRange.selection = dateRange.selectedRange;\n\n    if (dateRange.selectedRange === 'custom') {\n      this.dateRange.start = dateRange.startMoment.toDate();\n      this.dateRange.end = dateRange.endMoment.toDate();\n    }\n  }\n\n  applyFilter(property, values) {\n    let existingFilters = this.filters?.filters || [];\n    let newTopLevelFilter = {\n      type: 'and',\n      filters: existingFilters.reject(f => f.data.property === property),\n    };\n    if (values.length) {\n      newTopLevelFilter.filters.push({\n        data: { property, values },\n      });\n    }\n    this.filters = newTopLevelFilter;\n  }\n\n  addNewChart(chart) {\n    if (chart.isCounter) {\n      let indexOfLastCounter = this.indexOfLastMatchingChart(c => c.isCounter);\n      this.charts.insertAt(indexOfLastCounter + 1, chart);\n    } else {\n      this.charts.pushObject(chart);\n    }\n    this.save();\n  }\n\n  indexOfLastMatchingChart(predicate) {\n    for (let i = this.charts.length - 1; i >= 0; i--) {\n      let chart = this.charts.objectAt(i);\n      if (predicate(chart)) {\n        return i;\n      }\n    }\n    return -1;\n  }\n\n  get createdByAdmin() {\n    if (this.createdById) {\n      return Admin.peekAndMaybeLoad(this.store, this.createdById);\n    } else {\n      return null;\n    }\n  }\n\n  get createdByAdminSortableName() {\n    return this.createdByAdmin ? this.createdByAdmin.name : 'Intercom';\n  }\n\n  get createdByCurrentAdmin() {\n    return this.appService.app.currentAdmin.id === this.createdById;\n  }\n\n  get titleForDisplay() {\n    let title = this.persistedTitle();\n    return isEmpty(title) ? 'Untitled' : title;\n  }\n\n  persistedTitle() {\n    if (this.hasDirtyAttributes) {\n      let changes = this.changedAttributes();\n      return changes.title ? changes.title[0] : this.title;\n    } else {\n      return this.title;\n    }\n  }\n}\n","import Model, { attr } from '@ember-data/model';\n\nexport default class MessageDataExportSchedule extends Model {\n  @attr('number') adminId;\n  @attr('string') name;\n  @attr('date') nextScheduledExport;\n  @attr('string') columnsToInclude;\n  @attr('string') filterPredicates;\n  @attr('number') timeToExport;\n  @attr('number') dayOfWeek;\n  @attr('number') dayOfMonth;\n  @attr('date') lastSuccessfulExport;\n  @attr('string') rangeSetting;\n}\n","import moment from 'moment';\nimport { tracked } from '@glimmer/tracking';\nimport { isEmpty } from '@ember/utils';\n\nconst ISO_FORMAT_WITHOUT_TZ = 'YYYY-MM-DDTHH:mm:ss';\nconst INTERVAL_THRESHOLDS = {\n  1: 'hour',\n  14: 'day',\n  91: 'week',\n};\n\nexport default class Range {\n  @tracked\n  start = null;\n  @tracked\n  end = null;\n  @tracked\n  selectedRange;\n  heatmapAggregations = [\n    { grouping: 'day_of_week', interval: 1 },\n    { grouping: 'hour_of_day', interval: 1 },\n  ];\n  teammateAggregation = { grouping: 'teammate_id', interval: 1 };\n  conversationRatingsAggregation = { grouping: 'rating_index', interval: 1 };\n  answerEffectivenessAggregation = { grouping: 'effectiveness', interval: 1 };\n\n  static createFromParams(rangeStart, rangeEnd, timezone) {\n    let start =\n      rangeStart ||\n      moment\n        .tz(timezone)\n        .subtract(6, 'days')\n        .startOf('day')\n        .format();\n    let end =\n      rangeEnd ||\n      moment\n        .tz(timezone)\n        .endOf('day')\n        .format();\n    return new Range(start, end, timezone);\n  }\n\n  static createFromPreset(preset, timezone) {\n    return new Range(null, null, timezone, preset);\n  }\n\n  static createFromModel(dateRange, timezone) {\n    if (isEmpty(dateRange)) {\n      return null;\n    }\n\n    if (dateRange.selection === 'custom') {\n      return Range.createFromParams(dateRange.start, dateRange.end, timezone);\n    } else {\n      return Range.createFromPreset(dateRange.selection, timezone);\n    }\n  }\n\n  constructor(start = null, end = null, timezone = null, preset = null) {\n    this.timezone = timezone;\n    if (preset) {\n      this.setDefaultRange(preset);\n    } else {\n      this.start = start;\n      this.end = end;\n      this.setSelectedRange();\n    }\n  }\n\n  setSelectedRange() {\n    this.selectedRange = this.getSelectedRangeFromCurrentTime() || 'custom';\n  }\n\n  getSelectedRangeFromCurrentTime() {\n    if (this.timezone) {\n      let start =\n        this.currentDateInTimezone\n          .clone()\n          .startOf('day')\n          .diff(this.startMoment, 'days') + 1;\n      let end =\n        this.currentDateInTimezone\n          .clone()\n          .endOf('day')\n          .diff(this.endMoment, 'days') + 1;\n      return Object.keys(this.defaultRanges).find(\n        key => this.defaultRanges[key][0] === start && this.defaultRanges[key][1] === end,\n      );\n    } else {\n      return null;\n    }\n  }\n\n  get defaultRanges() {\n    let startOfMonth = this.currentDateInTimezone.clone().startOf('month');\n    let monthToDate = this.currentDateInTimezone.clone().diff(startOfMonth, 'days') + 1;\n\n    return {\n      today: [1, 1],\n      yesterday: [2, 2],\n      past_week: [7, 1],\n      month_to_date: [monthToDate, 1],\n      past_4_weeks: [28, 1],\n      past_12_weeks: [84, 1],\n    };\n  }\n  get currentDateInTimezone() {\n    return this._currentDate().tz(this.timezone);\n  }\n  get startMoment() {\n    return moment.tz(this.start, this.timezone).startOf('day');\n  }\n  get endMoment() {\n    return moment.tz(this.end, this.timezone).endOf('day');\n  }\n  get comparisonStartMoment() {\n    return moment.tz(this.comparisonStart, this.timezone).startOf('day');\n  }\n  get comparisonEndMoment() {\n    return moment.tz(this.comparisonEnd, this.timezone).endOf('day');\n  }\n  get inDays() {\n    return Math.round(moment.duration(this.endMoment - this.startMoment).asDays());\n  }\n  get isSingleDay() {\n    return this.inDays <= 1;\n  }\n  get comparisonStart() {\n    return this._createComparison(this.startMoment);\n  }\n  get comparisonEnd() {\n    return this._createComparison(this.endMoment);\n  }\n  get comparisonStartIsMoreThanTwoYearsAgo() {\n    return this.comparisonStartMoment.isBefore(this._currentDate().subtract(2, 'years'));\n  }\n  get baseAggregations() {\n    if (this.isSingleDay) {\n      return [{ grouping: 'hour_of_day', interval: 1 }];\n    } else {\n      return [{ grouping: 'date', interval: this.interval }];\n    }\n  }\n  get tagAggregations() {\n    return [\n      {\n        grouping: 'conversation_tag_ids',\n        interval: 1,\n        unique_count: 'conversation_id',\n      },\n    ].concat(this.baseAggregations);\n  }\n  get interval() {\n    for (let threshold in INTERVAL_THRESHOLDS) {\n      if (this.inDays <= threshold) {\n        return INTERVAL_THRESHOLDS[threshold];\n      }\n    }\n    return 'month';\n  }\n  get hasDefaultEnd() {\n    return this.endMoment.isSame(this.currentDateInTimezone, 'day');\n  }\n\n  updateRange(start, end) {\n    this.start = this._convertToTimezone(start)\n      .startOf('day')\n      .format();\n    this.end = this._convertToTimezone(end)\n      .endOf('day')\n      .format();\n    this.selectedRange = 'custom';\n  }\n  setDefaultRange(selectedRange) {\n    let selectedInterval = this.defaultRanges[selectedRange];\n    let currentDate = this.currentDateInTimezone.endOf('day');\n    let startDate = currentDate\n      .clone()\n      .subtract(selectedInterval[0] - 1, 'days')\n      .startOf('day');\n    let endDate = currentDate\n      .clone()\n      .subtract(selectedInterval[1] - 1, 'days')\n      .endOf('day');\n\n    this.start = startDate.format();\n    this.end = endDate.format();\n    this.selectedRange = selectedRange;\n  }\n  _currentDate() {\n    return moment();\n  }\n  _createComparison(date) {\n    return date\n      .clone()\n      .subtract(this.inDays, 'days')\n      .format();\n  }\n  // stripping the computer timezone from the datestring avoids double accounting for timezones\n  // if the computer time does not match the app zone, and allows us to reliably use\n  // the date and time numeric values from the datestamp returned from the date picker\n  _convertToTimezone(date) {\n    return moment.tz(date.format(ISO_FORMAT_WITHOUT_TZ), this.timezone);\n  }\n}\n","import Model, { attr } from '@ember-data/model';\n\nexport default class ReportSubscription extends Model {\n  @attr('string') adminId;\n  @attr('array') teammateIds;\n  @attr('string', { defaultValue: 'dashboard' }) reportType;\n  @attr('string') cadence;\n  @attr('number') cadenceTimeOfDay;\n  @attr('string') cadenceDayOfWeek;\n  @attr('number') cadenceDateOfMonth;\n  @attr() jsonBlob;\n\n  unsubscribe() {\n    let adapter = this.store.adapterFor('report-subscription');\n    return adapter.unsubscribe(this);\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  excludeOooHours: attr(),\n\n  refresh() {\n    this.rollbackAttributes();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport { assert } from '@ember/debug';\nimport { isArray, A } from '@ember/array';\nimport { isPresent, isEmpty } from '@ember/utils';\nimport { copy } from 'ember-copy';\nimport { notEmpty, and, equal, readOnly, gt } from '@ember/object/computed';\nimport percent from 'embercom/lib/percentage-formatter';\nimport * as SIGNAL_QUERIES from 'embercom/lib/reporting/queries';\n\nimport EmberObject, { computed } from '@ember/object';\nimport moment from 'moment';\nimport ajax from 'embercom/lib/ajax';\n\nconst SECONDS_PER_MINUTE = 60;\nconst ISO_FORMAT_WITHOUT_TIME = 'YYYY-MM-DD';\n\nexport const SIGNAL_CONFIGS = {\n  CONVERSATIONS_PARTICIPATED_IN: { name: 'conversations_participated_in' },\n  NEW_CONVERSATIONS: { name: 'new_conversations' },\n  LEADS_CREATED_BY_SOURCE: { name: 'leads_created_by_source' },\n  EMAIL_CAPTURED: { name: 'email_captured' },\n  OPPORTUNITY_CREATED: { name: 'opportunity_created' },\n  OPPORTUNITY_CREATED_AMOUNT: { name: 'opportunity_created_amount' },\n  OPPORTUNITY_INFLUENCED: { name: 'opportunity_influenced' },\n  CLOSED_WON: { name: 'closed_won' },\n  CLOSED_WON_AMOUNT: { name: 'closed_won_amount' },\n  CLOSED_WON_INFLUENCED_AMOUNT: { name: 'closed_won_influenced_amount' },\n  LEAD_DISQUALIFIED: { name: 'lead_disqualified' },\n  OPPORTUNITY_INFLUENCED_AMOUNT: { name: 'opportunity_influenced_amount' },\n  MESSAGE_ROI: { name: 'message_roi' },\n  VAM_ROI: { name: 'vam_roi' },\n  TEAMMATE_PERFORMANCE: { name: 'teammate_performance' },\n  DEALS_INFLUENCED: { name: 'deals_influenced' },\n  MEDIAN_TIME_TO_CLOSE: { name: 'opportunity_median_time_to_close' },\n  EMAILS_SENT: { name: 'emails_sent' },\n  EMAILS_OPENED: { name: 'emails_opened' },\n  EMAILS_BOUNCED: { name: 'emails_bounced' },\n  EMAILS_WITH_COMPLAINTS: { name: 'emails_with_complaints' },\n  EMAIL_UNSUBSCRIBES: { name: 'email_unsubscribes' },\n  MESSAGES_USER_VOLUME: { name: 'messages_user_volume' },\n};\n\nlet Signal = EmberObject.extend({\n  name: null,\n  valueUnit: null,\n  timezone: null,\n  aggregations: null,\n  originalValue: null,\n  originalContext: [],\n  previousValue: null,\n  previousContext: null,\n  keysAreDates: true,\n  nestedKeysAreDates: true,\n  datePickerRangeStart: null,\n  datePickerRangeEnd: null,\n  interval: null,\n\n  hasPreviousValue: notEmpty('previousValue'),\n  hasPreviousContext: notEmpty('previousContext'),\n  comparison: and('hasPreviousValue', 'hasPreviousContext'),\n  valueUnitIsMinute: equal('valueUnit', 'minute'),\n\n  value: computed('originalValue', function() {\n    let numberValue = isNaN(this.originalValue) ? 0 : this.originalValue;\n    let value = typeof this.originalValue === 'object' ? this.originalValue : numberValue;\n    return this._convertValue(value);\n  }),\n  context: computed(\n    'originalContext',\n    'previousContext',\n    'keysAreDates',\n    'nestedKeysAreDates',\n    function() {\n      return this.originalContext.map((bucket, i) => this._computedContext(bucket, i));\n    },\n  ),\n  _computedContext(bucket, i) {\n    bucket = this._replaceNaNsWithZeros(bucket);\n    bucket = this._convertValues(bucket);\n\n    if (this.keysAreDates) {\n      bucket = this._convertKeysToAppsTimezone(bucket, this.nestedKeysAreDates);\n    }\n    if (isPresent(this.previousContext)) {\n      bucket = this._addPreviousValue(bucket, i);\n    }\n\n    return bucket;\n  },\n  _addPreviousValue(bucket, index) {\n    let previousBucket = this.keysAreDates\n      ? this.previousContext[index]\n      : this.previousContext.find(element => element.key === bucket.key);\n    if (isPresent(previousBucket)) {\n      return {\n        ...bucket,\n        previousValue: previousBucket.value,\n        previousKey: previousBucket.key,\n      };\n    } else {\n      return bucket;\n    }\n  },\n  maxValue: computed('values', function() {\n    let values = this.values;\n    if (isEmpty(values)) {\n      return 0;\n    }\n    return Math.max(...values);\n  }),\n  isEmpty: equal('maxValue', 0),\n  maxBucket: readOnly('maxBuckets.firstObject'),\n  hasMultipleMaxBuckets: gt('maxBuckets.length', 1),\n  maxBuckets: computed('context', 'maxValue', function() {\n    return this._findMaxBuckets(this.context, this.maxValue);\n  }),\n  values: computed('context', function() {\n    let values = [];\n    this.context.forEach(outerBucket => {\n      if (isArray(outerBucket.value)) {\n        outerBucket.value.forEach(bucket => values.push(bucket.value));\n      } else {\n        values.push(outerBucket.value);\n      }\n    });\n    return values;\n  }),\n  comparisons: computed('context', 'previousContext', function() {\n    let previousContext = this.previousContext || A();\n    return this.context.map(contextElement => {\n      let previousContextElement = previousContext.find(\n        element => element.key === contextElement.key,\n      );\n      let comparison = {\n        key: contextElement.key,\n        label: contextElement.label,\n        icon: contextElement.icon,\n      };\n      if (contextElement.url) {\n        comparison.url = contextElement.url;\n      }\n\n      if (contextElement.unique_count) {\n        comparison.value = contextElement.unique_count.value;\n        comparison.previousValue = previousContextElement\n          ? previousContextElement.unique_count.value\n          : 0;\n      } else {\n        // We could use count here but this is more correct.\n        comparison.value = contextElement.value.reduce((prev, current) => prev + current.value, 0);\n        comparison.previousValue = previousContextElement\n          ? previousContextElement.value.reduce((prev, current) => prev + current.value, 0)\n          : 0;\n      }\n      return comparison;\n    });\n  }),\n  analyticsContext: computed('aggregations.[]', function() {\n    let aggregations = this.aggregations;\n\n    if (\n      aggregations &&\n      aggregations.find(aggregation => aggregation.grouping === 'conversation_tag_ids')\n    ) {\n      return 'by_tag';\n    }\n\n    return null;\n  }),\n  signalAsStackableData(asPercentages = false, previousContext = false) {\n    let contextKey = previousContext ? 'previousContext' : 'originalContext';\n    let context = this.get(contextKey) || [];\n\n    return context.map(({ value: contextValue, key: date }) => {\n      let total = contextValue.reduce((sum, element) => sum + element.value, 0);\n\n      let totalsPerRating = contextValue.reduce(\n        (acc, element) => ({ ...acc, [element.key]: element.value }),\n        {},\n      );\n\n      let valuePerRating = contextValue.reduce(\n        (acc, element) => ({\n          ...acc,\n          [element.key]: asPercentages ? percent(total, element.value) : element.value,\n        }),\n        {},\n      );\n\n      let result = {\n        ...valuePerRating,\n        totalsPerRating,\n        totalConversations: total,\n        date: (this.keysAreDates ? this._convertKeysToAppsTimezone({ key: date }) : { key: date })\n          .key,\n      };\n\n      if (asPercentages) {\n        result['roundedPercentagesPerRating'] = valuePerRating;\n      }\n\n      return result;\n    });\n  },\n  aggregateSignalAsStackablePercentageData(previousContext = false) {\n    let contextKey = previousContext ? 'previousContext' : 'context';\n    let valueKey = previousContext ? 'previousValue' : 'value';\n    let context = this.get(contextKey) || [];\n    let total = this.get(valueKey) || 0;\n\n    let totalsPerKey = context.reduce(\n      (totals, contextItem) => ({\n        ...totals,\n        [contextItem.key]: contextItem.value,\n      }),\n      {},\n    );\n\n    let percentagesByKey = context.reduce(\n      (stackableData, contextItem) => ({\n        ...stackableData,\n        [contextItem.key]: percent(total, contextItem.value),\n      }),\n      {},\n    );\n\n    return {\n      percentagesByKey,\n      totalsPerKey,\n      total,\n    };\n  },\n  signalAsStackablePercentageData: computed('context', function() {\n    return this.signalAsStackableData(true);\n  }),\n  sumOfAllBuckets(usePreviousContext) {\n    let data = this.signalAsStackableData(false, usePreviousContext);\n    return data.reduce((sum, bucket) => sum + bucket.totalConversations, 0);\n  },\n  sumForBucketIndex(bucketIndex, usePreviousContext) {\n    let data = this.signalAsStackableData(false, usePreviousContext);\n    return data.reduce((sum, bucket) => {\n      return sum + (bucket[bucketIndex] || 0); // Default to 0 if bucket doesn't exist\n    }, 0);\n  },\n  percentForBucketIndex(bucketIndex, usePreviousContext) {\n    let total = this.sumOfAllBuckets(usePreviousContext);\n    let count = this.sumForBucketIndex(bucketIndex, usePreviousContext);\n    return total > 0 ? percent(total, count) : 0;\n  },\n  roundedPercentForBucketIndex(bucketIndex, usePreviousContext) {\n    let indexes = this.bucketIndexes(usePreviousContext);\n    let percentagesByKey = indexes.reduce(\n      (acc, index) => ({ ...acc, [index]: this.percentForBucketIndex(index, usePreviousContext) }),\n      {},\n    );\n    return percentagesByKey[bucketIndex] || 0;\n  },\n  bucketIndexes(usePreviousContext) {\n    let contextKey = usePreviousContext ? 'previousContext' : 'context';\n    let context = this.get(contextKey);\n    if (!context) {\n      return [];\n    }\n    return context.reduce((acc, series) => acc.concat(series.value.map(v => v.key)), []).uniq();\n  },\n  setComparison(previousSignal) {\n    this.setProperties({\n      previousValue: copy(previousSignal.get('value')),\n      previousContext: copy(previousSignal.get('context')),\n    });\n  },\n  _replaceNaNsWithZeros(bucket) {\n    if (isArray(bucket.value)) {\n      return {\n        ...bucket,\n        value: bucket.value.map(value => this._replaceNaNsWithZeros(value)),\n      };\n    } else if (isNaN(bucket.value)) {\n      return {\n        ...bucket,\n        value: 0,\n      };\n    }\n    return bucket;\n  },\n  _convertValues(bucket) {\n    if (isArray(bucket.value)) {\n      return {\n        ...bucket,\n        value: bucket.value.map(value => this._convertValues(value)),\n      };\n    } else {\n      return {\n        ...bucket,\n        value: this._convertValue(bucket.value),\n      };\n    }\n  },\n  _convertValue(value) {\n    if (this.valueUnitIsMinute) {\n      return value / SECONDS_PER_MINUTE;\n    }\n    return value;\n  },\n  _convertKeysToAppsTimezone(bucket, nestedKeysAreDates) {\n    if (isArray(bucket.value) && nestedKeysAreDates) {\n      return {\n        ...bucket,\n        value: bucket.value.map(value => this._convertKeysToAppsTimezone(value)),\n      };\n    } else if (Number.isInteger(bucket.key)) {\n      //If the key is an integer we're getting hourly granularity and so we should construct an ISO format key\n      return {\n        ...bucket,\n        key: moment(this.datePickerRangeStart)\n          .tz(this.timezone)\n          .startOf('day')\n          .add(bucket.key, 'hours')\n          .format(),\n      };\n    } else {\n      return {\n        ...bucket,\n        key: moment(bucket.key)\n          .tz(this.timezone)\n          .format(),\n      };\n    }\n  },\n  _findMaxBuckets(buckets, maxValue, outerKey) {\n    let maxBuckets = [];\n    buckets.forEach(bucket => {\n      if (isArray(bucket.value)) {\n        maxBuckets = maxBuckets.concat(this._findMaxBuckets(bucket.value, maxValue, bucket.key));\n      } else if (bucket.value === maxValue) {\n        bucket.outerKey = isEmpty(outerKey) ? bucket.key : outerKey;\n        maxBuckets.push(bucket);\n      }\n    });\n    return maxBuckets;\n  },\n\n  /**\n   * Transforms internal originalContext and previousContext with given transformation functions\n   * It is possible to pass multiple functions which will be chained\n   *\n   * See lib/reporting/signal-transformations.js for common transformation functions\n   *\n   * @return {Signal} New copy of signal model with transformed originalContext and previousContext\n   */\n  transform(...transformFns) {\n    let transformFn = state => transformFns.reduce((acc, fn) => fn(acc), state);\n    let originalTransformed = transformFn(this.contextAndValuePair({ previous: false }));\n\n    if (this.hasPreviousContext || this.hasPreviousValue) {\n      let previousTransformed = transformFn(this.contextAndValuePair({ previous: true }));\n      return Signal.create({\n        ...this,\n        originalContext: originalTransformed.context,\n        originalValue: originalTransformed.value,\n        previousContext: previousTransformed.context,\n        previousValue: previousTransformed.value,\n      });\n    } else {\n      return Signal.create({\n        ...this,\n        originalContext: originalTransformed.context,\n        originalValue: originalTransformed.value,\n      });\n    }\n  },\n\n  contextAndValuePair({ previous }) {\n    return {\n      context: previous ? this.previousContext : this.originalContext,\n      value: previous ? this.previousValue : this.originalValue,\n      previous,\n    };\n  },\n}).reopenClass({\n  fetchTabularSignal(app, signalConfig, rangeStart, rangeEnd, filters = {}) {\n    assert(\n      `Unknown signal ${signalConfig.name}, you will need to add it to Signal.SIGNAL_CONFIGS`,\n      this.isWhitelisted(signalConfig.name),\n    );\n    let params = {\n      app_id: app.get('id'),\n      signal_name: signalConfig.name,\n      range_start: rangeStart,\n      range_end: rangeEnd,\n      filters,\n    };\n\n    let _debug_name = signalConfig.debug_name || signalConfig.name;\n    let _debug_start = moment(rangeStart).format(ISO_FORMAT_WITHOUT_TIME);\n\n    return ajax({\n      type: 'POST',\n      url: `/ember/reporting/signal.json?_debug_name=${_debug_name}&_debug_start=${_debug_start}`,\n      data: JSON.stringify(params),\n    }).then(response => {\n      return response;\n    });\n  },\n  fetchSignal(\n    app,\n    signalConfig,\n    valueUnit,\n    rangeStart,\n    rangeEnd,\n    aggregations = [],\n    filters = {},\n    name,\n    interval,\n  ) {\n    assert(\n      `Unknown signal ${signalConfig.name}, you will need to add it to Signal.SIGNAL_CONFIGS`,\n      this.isWhitelisted(signalConfig.name),\n    );\n    let params = {\n      app_id: app.get('id'),\n      signal_name: signalConfig.name,\n      document_type: signalConfig.document_type,\n      range_field: signalConfig.range_field,\n      aggregation_type: signalConfig.aggregation_type,\n      aggregation_field: signalConfig.aggregation_field,\n      additional_aggregation_parameters: signalConfig.additional_aggregation_parameters,\n      aggregations: aggregations || signalConfig.aggregations || [],\n      range_start: rangeStart,\n      range_end: rangeEnd,\n      filters,\n    };\n\n    let _debug_name = signalConfig.debug_name || signalConfig.name;\n    let _debug_start = moment(rangeStart).format(ISO_FORMAT_WITHOUT_TIME);\n\n    return ajax({\n      type: 'POST',\n      url: `/ember/reporting/signal.json?_debug_name=${_debug_name}&_debug_start=${_debug_start}`,\n      data: JSON.stringify(params),\n    }).then(response => {\n      return Signal.create({\n        valueUnit,\n        aggregations,\n        timezone: app.get('timezone'),\n        name: _debug_name || name || response.name,\n        originalValue: response.value,\n        originalContext: response.context,\n        datePickerRangeStart: rangeStart,\n        datePickerRangeEnd: rangeEnd,\n        ...('keys_are_dates' in signalConfig ? { keysAreDates: signalConfig.keys_are_dates } : {}),\n        ...('nested_keys_are_dates' in signalConfig\n          ? { nestedKeysAreDates: signalConfig.nested_keys_are_dates }\n          : {}),\n        interval,\n      });\n    });\n  },\n  isWhitelisted(signalName) {\n    let allowedNames = Object.values(SIGNAL_CONFIGS)\n      .mapBy('name')\n      .concat(Object.values(SIGNAL_QUERIES).mapBy('name'));\n    return allowedNames.includes(signalName);\n  },\n});\n\nexport default Signal;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  title: attr('string', {\n    defaultValue: 'Untitled view',\n  }),\n  admin_id: attr('string'),\n  json_view: attr(),\n});\n","import { attr } from '@ember-data/model';\nimport ModelWithPermissions from 'embercom/models/model-with-permissions';\nimport Validations from 'embercom/validations/role';\nimport { getApp } from 'embercom/lib/container-lookup';\n\nexport default class Role extends ModelWithPermissions.extend(Validations) {\n  @attr('string', { defaultValue: '' }) name;\n  @attr('string', { defaultValue: '' }) description;\n  @attr('string', { defaultValue: 'all' }) accessType;\n  @attr('boolean', { defaultValue: false }) includeUnassigned;\n\n  @attr({ defaultValue: () => [] }) assigneeBlockedList;\n\n  get admins() {\n    let id = Number.parseInt(this.id, 10);\n    return getApp().humanAdmins.filter(\n      admin => Number.parseInt(admin.currentAppPermissions?.role_id, 10) === id,\n    );\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { attr } from '@ember-data/model';\nimport { equal, readOnly, not } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport Fragment from 'ember-data-model-fragments/fragment';\nimport { templateString } from '@intercom/embercom-core/lib/computed-properties';\nimport Admin from 'embercom/models/admin';\n\nexport default Fragment.extend({\n  _id: attr('string'),\n  type: attr('string'),\n\n  actionData: attr(),\n\n  assignee: computed('actionData.assignee_id', function() {\n    return Admin.peekAndMaybeLoad(this.store, this.get('actionData.assignee_id'));\n  }),\n  assignByRoundRobin: equal('actionData.round_robin', true),\n\n  defaultComponentPath: templateString('rules/actions/${type}'),\n  componentPath: computed('type', 'defaultComponentPath', function() {\n    let type = this.type;\n\n    switch (type) {\n      case 'send-follow-up-reply':\n      case 'close-conversation-with':\n        return 'rules/actions/send-follow-up-reply';\n      case 'send-app-without-introduction':\n        return 'rules/actions/send-app';\n    }\n\n    return this.defaultComponentPath;\n  }),\n  isCloseConversationWithAction: equal('type', 'close-conversation-with'),\n\n  justAdded: false,\n\n  isValid: readOnly('info.isValid'),\n  isInvalid: not('isValid'),\n\n  info: computed('type', 'actionData', 'actionData.value', function() {\n    let type = this.type;\n\n    switch (type) {\n      case 'assign-conversation':\n        return {\n          actionDescription:\n            \"Assign the conversation to a teammate, to available members of a team in rotation, or just assign to a team's inbox.\",\n          isValid: Boolean(this.get('actionData.assignee_id')),\n        };\n      case 'send-follow-up-reply':\n        return {\n          icon: 'chat-bubble',\n          description: 'Send bot message',\n          actionDescription:\n            'Send a custom reply to customers who provide their email after reading your message.',\n          placeholder: 'e.g. Thanks',\n          isValid: Boolean(this.get('actionData.reply')),\n        };\n      case 'close-conversation':\n        return {\n          icon: 'check',\n          description: 'Close conversation',\n          overlayPrompt: 'Have Operator close the conversation.',\n          actionDescription: 'Close the conversation.',\n          isValid: true,\n        };\n      case 'close-conversation-with':\n        return {\n          icon: 'check',\n          description: 'Send bot message and close conversation with',\n          overlayPrompt: 'Have Operator send a final response and close the conversation.',\n          placeholder:\n            'e.g. Thanks for that info. We don’t have a MacOS option right now, but check back soon.',\n          actionDescription: 'Send a custom reply and close the conversation.',\n          isValid: Boolean(this.get('actionData.reply')),\n        };\n      case 'send-to-salesforce':\n        return {\n          icon: 'salesforce',\n          description: 'Lead is created in Salesforce',\n          actionDescription:\n            'Automatically create a lead in Salesforce via the Salesforce integration.',\n          isValid: true,\n          placeholder: 'Intercom',\n        };\n      case 'send-to-hubspot':\n        return {\n          icon: 'hubspot',\n          description: 'Contact is created in HubSpot',\n          actionDescription:\n            'Automatically create a contact in HubSpot via the HubSpot integration.',\n          isValid: true,\n        };\n      case 'send-to-marketo':\n        return {\n          icon: 'marketo',\n          description: 'Lead is enriched in Marketo',\n          actionDescription:\n            'Automatically creates or enriches a lead in Marketo via the Marketo Enrichment integration.',\n          isValid: true,\n        };\n      case 'trigger-marketo-campaign':\n        return {\n          icon: 'marketo',\n          description: 'Trigger a Marketo campaign',\n          overlayPrompt: \"Enter the Marketo campaign's URL to fetch its details.\",\n          placeholder: 'https://example.marketo.com/#SC1234A1',\n          actionDescription: 'Trigger a Marketo campaign for the current lead',\n          isValid: Boolean(this.get('actionData.marketo_campaign_id')),\n        };\n      case 'tag-user':\n        return {\n          icon: 'tag',\n          description: `Tag is \"${this.get('actionData.tag')}\"`,\n          actionDescription:\n            'Apply a tag to each customer so you can group them and more easily manage and message them.',\n          isValid: Boolean(this.get('actionData.tag')),\n        };\n      case 'send-app-without-introduction':\n        return {\n          icon: 'gallery',\n          description: 'App',\n          actionDescription: 'Send an app',\n          isValid: Boolean(this.get('actionData.appName')),\n        };\n      case 'send-app':\n        return {\n          icon: 'gallery',\n          description: 'App',\n          actionDescription: 'Send an app',\n          isValid: Boolean(this.get('actionData.appName')),\n        };\n      case 'send-app-with-introduction':\n        return {\n          icon: 'app-store',\n          description: 'App',\n          actionDescription: 'Send an app',\n          isValid:\n            Boolean(this.get('actionData.appName')) && Boolean(this.get('actionData.introduction')),\n          isOpen: false,\n        };\n      case 'assign-conversation-to-owner':\n        return {\n          icon: 'assignment',\n          description: 'Assign to owner from Salesforce',\n          actionDescription: 'Automatically assign conversation to owner from salesforce.',\n          isValid: true,\n        };\n      case 'change-conversation-priority':\n        return {\n          icon: 'star',\n          description: 'Mark as priority',\n          actionDescription: 'Mark as priority',\n          isValid: true,\n        };\n      case 'apply-conversation-sla':\n        return {\n          icon: 'sla',\n          description: 'Apply conversation SLA description',\n          actionDescription: 'Apply conversation SLA action description',\n          isValid: Boolean(this.get('actionData.conversation_sla_id')),\n        };\n      case 'add-tag-to-conversation':\n        return {\n          icon: 'intercom',\n          description: 'Add conversation tag',\n          actionDescription: 'Add conversation tag',\n          isValid: Boolean(this.get('actionData.tag_id')),\n        };\n      case 'set-conversation-data-attribute':\n        return {\n          icon: 'transfer',\n          isValid:\n            typeof this.get('actionData.value') !== 'undefined' &&\n            this.get('actionData.value') !== '',\n        };\n\n      default:\n        throw new Error(`\"${type}\" is an unsupported action type`);\n    }\n  }),\n});\n","import { attr } from '@ember-data/model';\nimport { notEmpty, and } from '@ember/object/computed';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport PredicateGroup from 'predicates/models/predicate-group';\nimport { isEvery } from '@intercom/embercom-core/lib/computed-properties';\nimport { validator, buildValidations } from 'ember-cp-validations';\n\nconst Validations = buildValidations({\n  predicates: {\n    validators: [\n      validator('has-many'),\n      validator('length', {\n        min: 1,\n        message: 'You must have at least one data attribute.',\n        dependentKeys: ['model.predicates'],\n      }),\n    ],\n  },\n  actions: {\n    validators: [\n      validator('has-many'),\n      validator('length', {\n        min: 1,\n        message: 'You must have at least one action.',\n        dependentKeys: ['model.actions'],\n      }),\n    ],\n  },\n  validPredicatesAndActions: {\n    validators: [\n      validator('rule-data', {\n        dependentKeys: ['model.isRuleValid'],\n      }),\n    ],\n  },\n});\n\nexport default PredicateGroup.extend(Validations, {\n  _id: attr('string'),\n  actions: fragmentArray('rules/rule-action'),\n\n  hasActions: notEmpty('actions'),\n  actionsAreValid: isEvery('actions', 'isValid', true),\n\n  hasPredicates: notEmpty('predicates'),\n  hasNonLogicalPredicates: notEmpty('basePredicates'),\n  predicatesAreValid: isEvery('predicates', 'isValid', true),\n\n  isRuleValid: and('isValid', 'actionsAreValid', 'predicatesAreValid'),\n});\n","import Model, { attr } from '@ember-data/model';\nimport { fragment, fragmentArray } from 'ember-data-model-fragments/attributes';\n\nexport default class SalesforceIntegration extends Model {\n  @attr('boolean', { defaultValue: false }) isSandbox;\n  @attr('string') importStatus;\n  @attr('date') importCompletedAt;\n  @attr('number', { defaultValue: 0 }) importPercentage;\n  @attr('array') opportunityFields;\n  @attr('array') caseFields;\n  @attr('array') requiredCaseFields;\n  @attr('array') salesforceAccountLists;\n  @attr() features;\n  @fragmentArray('integrations/salesforce/account-list') accountLists;\n  @fragment('integrations/salesforce/settings') settings;\n  @attr('array') salesforceUsers;\n  @fragmentArray('crm/attribute-mapping') attributeMappings;\n  @fragment('crm/attribute-options') attributeOptions;\n  @fragmentArray('salesforce/salesforce-fields') salesforceFields;\n  @attr('boolean') shouldMigrate;\n\n  @fragmentArray('integrations/salesforce/identity-mapping-field')\n  identityMappingSupportedFields;\n}\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  label: attr('string'),\n  path: attr('string'),\n  source_object_type: attr('string'),\n  type: attr('string'),\n  updateable: attr('boolean'),\n});\n","import Model, { attr, hasMany } from '@ember-data/model';\nimport SamlAccountValidations from 'embercom/validations/saml-account';\n\nexport default class SamlAccount extends Model.extend(SamlAccountValidations) {\n  @attr('string') name;\n  @attr('string') idpSsoTargetUrl;\n  @attr('string') idpCert;\n  @attr('boolean') jitEnabled;\n  @hasMany('app-sso-domain', { async: false }) appSsoDomains;\n  //used for dirty tracking\n  @attr({ defaultValue: model => model.appSsoDomains.mapBy('id') }) appSsoDomainIds;\n  @attr() jitSettings;\n\n  get isValid() {\n    return this.validations.isValid;\n  }\n}\n","import Model, { attr } from '@ember-data/model';\n\nexport default class SamlAuthModel extends Model {\n  @attr('string') appName;\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport { computed } from '@ember/object';\nimport { isPresent } from '@ember/utils';\nimport { lte } from '@ember/object/computed';\nimport Admin from 'embercom/models/admin';\n\nexport default Model.extend({\n  adminId: attr(),\n  admin: computed('adminId', function() {\n    if (this.adminId) {\n      return Admin.peekAndMaybeLoad(this.store, this.adminId);\n    }\n  }),\n  appId: attr(),\n  blocks: fragmentArray('common/blocks/block', { polymorphic: true, typeKey: 'modelKey' }),\n  name: attr('string'),\n  summary: attr('string'),\n  createdAt: attr(),\n\n  serializedBlocks: computed('blocks.[]', function() {\n    return this.blocks.serialize();\n  }),\n\n  isValid: computed('name', 'blocks', function() {\n    return isPresent(this.name) && isPresent(this.blocks);\n  }),\n\n  isNameLengthValid: lte('name.length', 140),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { lte } from '@ember/object/computed';\nimport { Promise as EmberPromise } from 'rsvp';\nimport { isPresent } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport ajax from 'embercom/lib/ajax';\nimport Admin from 'embercom/models/admin';\n\nexport default Model.extend({\n  admin_id: attr(),\n  admin: computed('admin_id', function() {\n    if (this.admin_id) {\n      return Admin.peekAndMaybeLoad(this.store, this.admin_id);\n    }\n  }),\n  app_id: attr(),\n  created_at: attr(),\n  blocks: attr(),\n  summary: attr(),\n  name: attr(),\n  updated_at: attr(),\n  active: false,\n\n  isValid: computed('name', 'blocks', function() {\n    return isPresent(this.name) && isPresent(this.blocks);\n  }),\n\n  isNameLengthValid: lte('name.length', 140),\n}).reopenClass({\n  getRendered(id, appId, conversationId) {\n    return new EmberPromise(\n      function(resolve) {\n        ajax({\n          url: `/ember/saved_replies/${id}.json`,\n          type: 'GET',\n          data: {\n            conversation_id: conversationId,\n            app_id: appId,\n          },\n        }).then(function(data) {\n          resolve(data);\n        });\n      }.bind(this),\n    );\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { alias, not, and, equal, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\n\nconst PLATFORM_NAMES = ['iOS', 'Android', 'Chrome', 'Firefox'];\n\nexport default Model.extend({\n  appService: service(),\n  currentAdminId: readOnly('appService.app.currentAdmin.id'),\n\n  app_id: attr(),\n  name: attr(),\n  platform: attr(),\n  api_key: attr(),\n  api_secret: attr(),\n  has_certificate: attr(),\n  certificate_filename: attr(),\n  certificate_expiration_date: attr(),\n  identity_verified: attr(),\n  identityVerified: alias('identity_verified'),\n  identityUnverified: not('identityVerified'),\n  gcm_key: attr(),\n  is_activated: attr(),\n  secure_even_if_unidentified: attr(),\n\n  apns_key_id: attr(),\n  apns_team_id: attr(),\n  apns_token_file_name: attr(),\n  ios_bundle_id: attr(),\n  has_apns_token: attr('boolean'),\n\n  hasCertificate: alias('has_certificate'),\n  apnsKeyId: alias('apns_key_id'),\n  apnsTeamId: alias('apns_team_id'),\n  apnsTokenFileName: alias('apns_token_file_name'),\n  iosBundleId: alias('ios_bundle_id'),\n  hasApnsToken: alias('has_apns_token'),\n\n  disallowManualIdentityVerificationEnable: and(\n    'identityUnverified',\n    'secure_even_if_unidentified',\n  ),\n\n  isIOS: equal('platform', 'iOS'),\n  isAndroid: equal('platform', 'Android'),\n  isChromeDesktopNotifications: equal('platform', 'Chrome'),\n  isFirefoxDesktopNotifications: equal('platform', 'Firefox'),\n  enforces_encrypted_mode: attr(),\n  productionCert: attr('boolean'),\n}).reopenClass({\n  async findOrCreateForPlatform(platformName) {\n    if (!PLATFORM_NAMES.includes(platformName)) {\n      throw new Error(`${platformName} is not an allowable platform name`);\n    }\n    let store = getEmberDataStore();\n    let sdkApps = await store.findAll('sdk-app', { reload: true });\n    let sdkAppForPlatform = sdkApps.findBy('platform', platformName);\n    if (!sdkAppForPlatform) {\n      sdkAppForPlatform = store.createRecord('sdk-app', {\n        platform: platformName,\n        admin_id: this.currentAdminId,\n      });\n      await sdkAppForPlatform.save();\n    }\n    return sdkAppForPlatform;\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject, { computed } from '@ember/object';\nimport { changeGate } from '@intercom/embercom-core/lib/computed-properties';\nimport { alias, gt } from '@ember/object/computed';\n\nexport default EmberObject.extend({\n  queryParams: undefined,\n  rawText: alias('queryParams.searchTerm'),\n  tags: alias('queryParams.app.tags'),\n  isCompany: alias('queryParams.isCompany'),\n  text: changeGate(\n    'rawText',\n    function(value) {\n      if (!value) {\n        return '';\n      }\n      return value.trim();\n    },\n    { sync: true },\n  ),\n  hasValue: gt('text.length', 0),\n  searchedTagName: computed('text', function() {\n    let text = this.text;\n    if (text) {\n      let splitTagString = text.split('tag:');\n      if (splitTagString[1]) {\n        return splitTagString[1].trim();\n      }\n    }\n  }),\n  tag: computed('tags', 'searchedTagName', function() {\n    if (!this.tags) {\n      return null;\n    }\n    return this.tags.findBy('name', this.searchedTagName);\n  }),\n  predicate: computed('isCompany', 'tag', 'text', function() {\n    let tag = this.tag;\n    let text = this.text.trim();\n    if (text === '') {\n      return null;\n    }\n    if (this.isCompany) {\n      return this.createCompanyPredicates(tag, text);\n    } else {\n      return this.createUserPredicates(tag, text);\n    }\n  }),\n  createUserPredicates(tag, text) {\n    let or = { type: 'or', predicates: [] };\n    if (tag) {\n      or.predicates.push({\n        attribute: 'manual_tag_ids',\n        comparison: 'eq',\n        value: tag.get('id'),\n        type: 'manual_tag',\n      });\n    } else {\n      or.predicates.push({\n        attribute: 'name',\n        comparison: 'contains',\n        value: text,\n        type: 'string',\n      });\n      or.predicates.push({\n        attribute: 'email',\n        comparison: 'contains',\n        value: text,\n        type: 'string',\n      });\n    }\n\n    return or;\n  },\n  createCompanyPredicates(tag, text) {\n    if (tag) {\n      return {\n        attribute: 'company.manual_tag_ids',\n        comparison: 'eq',\n        value: tag.get('id'),\n        type: 'manual_tag',\n      };\n    } else {\n      return { attribute: 'company.name', comparison: 'contains', value: text, type: 'string' };\n    }\n  },\n  reset() {\n    this.set('rawText', '');\n  },\n});\n","import Model, { attr, belongsTo } from '@ember-data/model';\n\nexport default class SecurityAppSettings extends Model {\n  @attr('boolean') force_2fa;\n  @attr('array') authorizedSignInMethods;\n  @attr('array') ssoDomainWhitelist;\n  @belongsTo('saml-account', { async: false }) samlAccount;\n  @attr('boolean') canEnableEnforceSso;\n  @attr('boolean') canEnforceSaml;\n  @attr('boolean') userConversationAttachmentsEnabled;\n  @attr('boolean') notificationEmailsWithContentEnabled;\n  @attr('boolean') leadEmailIdentificationEnabled;\n  @attr('string') securityContactEmail;\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { alias, reads, or, equal, and, not, notEmpty } from '@ember/object/computed';\nimport { ternary, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport PredefinedSegmentIconMap from 'embercom/models/data/predefined-segment-icon-map';\nimport PredicateValidator from 'embercom/models/mixins/predicate-validator';\nimport numberFormatter from 'embercom/lib/number-formatter';\n\nconst MASTER_SEGMENT_IDS = ['all', 'all-leads', 'all-users'];\n\nlet SegmentModel = Model.extend(PredicateValidator, {\n  identifier: attr(),\n  name: attr(),\n  created_at: attr(),\n  is_predefined: attr(),\n  is_company: attr(),\n  is_editable: attr(),\n  app_id: attr(),\n  user_count: attr('number'),\n  count: attr('number'),\n  predicates: attr('array', {\n    defaultValue: () => [],\n  }),\n  search_count: -1,\n  isSegment: true,\n  queryPredicates: alias('predicates'),\n  created_by_id: attr(),\n  creator: computed('created_by_id', function() {\n    // The reason why we fetch the admin from the app has to do with inconsistencies on\n    // the backend controllers for Admins.\n    // Details: https://github.com/intercom/intercom/issues/133233#issuecomment-470468819\n    // When this issue gets solved we can just go through the Admin here.\n    return this.store\n      .peekRecord('app', this.app_id)\n      .admins.findBy('id', String(this.created_by_id));\n  }),\n  analyticsData: computed(\n    'id',\n    'segment_id',\n    'name',\n    'identifier',\n    'predicates.[]',\n    'is_company',\n    function() {\n      return {\n        object: 'segment',\n        segment_id: this.id,\n        name: this.name,\n        identifier: this.identifier,\n        predicates: this.predicates,\n        is_company: this.is_company,\n        has_nested_logical_predicates: this.nestingLevelGreaterThanOne,\n      };\n    },\n  ),\n\n  isPredefined: reads('is_predefined'),\n  isUsersSegment: equal('identifier', 'all-users'),\n  isContactsSegment: equal('identifier', 'all-leads'),\n  isActiveSegment: equal('identifier', 'active'),\n  isAllSegment: equal('identifier', 'all'),\n  isAllUsersWithoutAcquire: and('isUserSegment', 'isAllSegment'),\n  isAllUsersSegment: or('isUsersSegment', 'isAllUsersWithoutAcquire'),\n  isAllCompaniesSegment: and('isAllSegment', 'isCompany'),\n  isAllCompaniesSegmentWithoutChange: and('isAllCompaniesSegment', 'isNotDirty'),\n  isAllUsersSegmentWithoutChange: and('isAllUsersSegment', 'isNotDirty'),\n  isAllContactsSegmentWithoutChange: and('isContactsSegment', 'isNotDirty'),\n  isNotDirty: not('hasDirtyAttributes'),\n  isMasterSegment: computed('identifier', function() {\n    return MASTER_SEGMENT_IDS.includes(this.identifier);\n  }),\n  isEmpty: equal('count', 0),\n  hasCreator: notEmpty('created_by_id'),\n  hasCreationDate: notEmpty('created_at'),\n  hasCreationMetaData: or('hasCreator', 'hasCreationDate'),\n  isCompany: alias('is_company'),\n  isUser: not('isCompany'),\n  isAnonymousSegment: reads('hasAnonymousPredicate'),\n  isNotAnonymousSegment: not('isAnonymousSegment'),\n  isUserSegment: reads('hasUserPredicate'),\n  isNotUserSegment: not('isUserSegment'),\n\n  personTypeName: ternary('isAnonymousSegment', 'lead', 'user'),\n  defaultPredicateLength: ternary('is_company', 0, 1),\n\n  predefinedIcon: computed('isCompany', 'name', function() {\n    let iconMap = this.isCompany\n      ? SegmentModel.predefinedCompanyIconMap\n      : SegmentModel.predefinedUserIconMap;\n    return iconMap[this.name] || 'segment';\n  }),\n\n  defaultIcon: 'segment',\n  icon: ternaryToProperty('isPredefined', 'predefinedIcon', 'defaultIcon'),\n\n  formattedCount: computed('count', 'search_count', function() {\n    let displayedCount = this.search_count < 0 ? this.count : this.search_count;\n    return numberFormatter(displayedCount);\n  }),\n\n  toJSON() {\n    this.set('predicates', this.activePredicates);\n    return this;\n  },\n}).reopenClass(PredefinedSegmentIconMap);\n\nexport default SegmentModel;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { isEmpty, isPresent } from '@ember/utils';\nimport { applyFunction } from '@intercom/embercom-core/lib/computed-properties';\nimport moment from 'moment';\n\nlet formatDate = function(datestring) {\n  return isEmpty(datestring) ? 'Never' : moment(datestring).fromNow();\n};\n\nexport default Model.extend({\n  opened_at: attr(),\n  sent_at: attr(),\n  replied_at: attr(),\n  clicked_at: attr(),\n  responded_with: attr(),\n  responded_at: attr(),\n  unsubscribed_at: attr(),\n  bounced_at: attr(),\n  complained_at: attr(),\n  hit_goal_at: attr(),\n  user: belongsTo('user'),\n  displayOpenedAt: applyFunction(formatDate, 'opened_at'),\n  displaySentAt: applyFunction(formatDate, 'sent_at'),\n  displayRepliedAt: applyFunction(formatDate, 'replied_at'),\n  displayClickedAt: applyFunction(formatDate, 'clicked_at'),\n  displayUnsubscribedAt: applyFunction(formatDate, 'unsubscribed_at'),\n  displayHitGoalAt: applyFunction(formatDate, 'hit_goal_at'),\n  displayBouncedAt: applyFunction(formatDate, 'bounced_at'),\n  displayComplainedAt: applyFunction(formatDate, 'complained_at'),\n  displayRespondedAt: applyFunction(formatDate, 'responded_at'),\n\n  displayResponseType: computed('responded_with', function() {\n    let responded_with = this.responded_with;\n    if (isPresent(responded_with)) {\n      return this.responded_with.replace('_', ' '); // TODO remove this replace once LWRs are no more --LC\n    } else {\n      return `\\u2014`; //em dash\n    }\n  }),\n});\n","import Model from '@ember-data/model';\nimport { getOwner } from '@ember/application';\nimport conditionEditorConfigGenerator from 'embercom/objects/content-editor/configuration-generators/series/condition';\nimport { buildValidations } from 'ember-cp-validations';\n\n// When used as a RulesetLink object, the matchable object must implement the validations library.\n// For this model, we don't have any specific validations so we can build an empty validation set.\nconst ConditionValidations = buildValidations();\nexport default class SeriesCondition extends Model.extend(ConditionValidations) {\n  editorConfig() {\n    let container = getOwner(this);\n    return conditionEditorConfigGenerator({ container });\n  }\n}\n","import Model, { belongsTo, attr } from '@ember-data/model';\nimport { seriesEdgeTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class SeriesEdge extends Model {\n  @belongsTo('series/series', { inverse: 'edges' }) series;\n  @belongsTo('series/node', { async: false }) predecessor;\n  @belongsTo('series/node', { async: false }) successor;\n  @attr('number') edgeType;\n\n  get isPrimary() {\n    return this.edgeType === seriesEdgeTypes.primary;\n  }\n\n  get isAlternative() {\n    return this.edgeType === seriesEdgeTypes.alternative;\n  }\n\n  static createEdge(params) {\n    let { store, series, predecessor, successor, edgeType } = params;\n\n    return store.createRecord('series/edge', {\n      series,\n      predecessor,\n      successor,\n      edgeType,\n    });\n  }\n}\n","import Model, { attr, belongsTo, hasMany } from '@ember-data/model';\nimport ENV from 'embercom/config/environment';\n\nimport { post } from 'embercom/lib/ajax';\nimport {\n  objectTypes,\n  objectNames,\n  nodeDelayBehaviors,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { nodeGraphConfigurationClasses } from 'embercom/objects/series/configuration-list';\nimport { dependentKeyCompat } from '@ember/object/compat';\nimport { isNone } from '@ember/utils';\nimport moment from 'moment';\nimport { tracked } from '@glimmer/tracking';\nimport { cached } from 'tracked-toolbox';\n\nexport default class SeriesNode extends Model {\n  @belongsTo('series/series', { inverse: 'nodes', async: false }) series;\n  @belongsTo('matching-system/client-data', { async: false }) rulesetClientData;\n  @belongsTo('matching-system/ruleset-errors', { async: false }) rulesetErrors;\n  @hasMany('series/edge', { inverse: 'predecessor', async: false }) outwardEdges;\n  @hasMany('series/edge', { inverse: 'successor', async: false }) inwardEdges;\n  @hasMany('matching-system/content-preview', { async: false }) contentPreviews;\n\n  @attr('number') xPosition;\n  @attr('number') yPosition;\n  @attr('number') nodeType;\n  @attr('number') delayBehavior;\n  @attr('number') maxEvaluationTime;\n  @attr('number') completedCheckpointCount; // how many completed the Node\n  @attr('number') completedCount; // how many completed the Series\n  @attr('number') disengagedCount;\n  @attr('number') activeCheckpointCount;\n  @attr('number') completedTraversedPrimaryEdgesCheckpointCount;\n  @attr('number') completedTraversedAlternativeEdgesCheckpointCount;\n  @attr('number') completedEjectedCheckpointCount;\n  @attr('number') completedFinishedCheckpointCount;\n  @attr('number') expiredCheckpointCount;\n  @attr('number') exitedCheckpointCount;\n  @attr('boolean') rulesetHasGoal;\n  @attr() objectTypes;\n\n  @attr('number') rulesetId;\n  @tracked _ruleset = undefined;\n\n  async fetchRuleset() {\n    this._ruleset = await this.store.findRecord('matching-system/ruleset', this.rulesetId);\n    if (isNone(this._ruleset)) {\n      throw new Error(`Node ${this.id} is missing its Ruleset (${this.rulesetId})`);\n    }\n    return this._ruleset;\n  }\n\n  get ruleset() {\n    if (isNone(this._ruleset)) {\n      throw new Error(\n        `Attempted to access the Ruleset for Node ${this.id} before calling fetchRuleset`,\n      );\n    }\n    return this._ruleset;\n  }\n\n  get hasFetchedRuleset() {\n    return !isNone(this._ruleset);\n  }\n\n  set ruleset(ruleset) {\n    if (ENV.environment === 'test') {\n      this.rulesetId = ruleset.id;\n      this._ruleset = ruleset;\n    } else {\n      throw new Error('Do not attempt to directly set the Ruleset outside of tests');\n    }\n  }\n\n  @dependentKeyCompat\n  get isDelayable() {\n    return this.delayBehavior === nodeDelayBehaviors.delayable;\n  }\n\n  @dependentKeyCompat\n  get evaluationTimeDurations() {\n    let duration = moment.duration(this.maxEvaluationTime * 1000);\n    return {\n      days: Math.floor(duration.asDays()),\n      hours: Math.floor(duration.asHours()) % 24,\n      minutes: duration.asMinutes() % 60,\n    };\n  }\n\n  get delayDescription() {\n    if (this.isDelayable) {\n      let duration = this.evaluationTimeDurations;\n      let descriptions = [];\n      if (duration.days) {\n        descriptions.push(`${duration.days}d`);\n      }\n      if (duration.hours) {\n        descriptions.push(`${duration.hours}h`);\n      }\n      if (duration.minutes) {\n        descriptions.push(`${duration.minutes}m`);\n      }\n      return descriptions.join(' ');\n    }\n  }\n\n  get objectNames() {\n    return this.objectTypes.map(objectType => objectNames[objectType]);\n  }\n\n  get hasErrors() {\n    return this.rulesetErrors.get('messages').length > 0;\n  }\n\n  get title() {\n    return this.graphConfiguration.title;\n  }\n\n  @cached\n  get graphConfiguration() {\n    let firstObjectType = this.objectTypes.firstObject;\n    let GraphConfigurationClass = nodeGraphConfigurationClasses[firstObjectType];\n    return new GraphConfigurationClass(this);\n  }\n\n  async duplicate(params) {\n    let duplicate_nodes = await this.constructor.duplicateCollection({ nodes: [this], ...params });\n    return duplicate_nodes.firstObject;\n  }\n\n  static async duplicateCollection(params) {\n    let { nodes, store, app } = params;\n    let node_ids = nodes.map(node => node.id);\n    let requestParams = {\n      node_ids,\n      app_id: app.id,\n      admin_id: app.currentAdmin.id,\n    };\n\n    let response = await post(`/ember/series/nodes/duplicate`, requestParams);\n\n    store.pushPayload({ 'series/node': response });\n    return response.map(newNode => store.peekRecord('series/node', newNode.id));\n  }\n\n  static async createNode(params) {\n    let { store, app, series, objectType, objectData, defaultParams } = params;\n    defaultParams = defaultParams || {};\n\n    let requestParams = {\n      app_id: app.id,\n      series_id: series.id,\n      object_type: objectType,\n      object_data: objectData,\n      ...defaultParams,\n    };\n    let response = await post('/ember/series/nodes', requestParams);\n\n    store.pushPayload({ 'series/node': [response] });\n    return store.peekRecord('series/node', response.id);\n  }\n\n  get isStarting() {\n    return this.inwardEdges.length === 0;\n  }\n\n  get isEnding() {\n    return this.outwardEdges.length === 0;\n  }\n\n  get isInternal() {\n    return this.inwardEdges.length > 0;\n  }\n\n  get isCondition() {\n    return this.objectTypes.firstObject === objectTypes.condition;\n  }\n}\n","import Model, { hasMany, attr, belongsTo } from '@ember-data/model';\nimport { inject as service } from '@ember/service';\nimport { isNone, isEmpty, isPresent } from '@ember/utils';\nimport { put, post } from 'embercom/lib/ajax';\nimport {\n  states,\n  seriesExitBehaviors,\n  seriesMigrationStatuses,\n  seriesDuplicationStatuses,\n  objectTypes,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport RSVP from 'rsvp';\nimport { fragment } from 'ember-data-model-fragments/attributes';\nimport { dependentKeyCompat } from '@ember/object/compat';\n\nexport default class Series extends Model {\n  @service seriesEditorService;\n  @service store;\n  @service appService;\n  @hasMany('series/node', { async: false }) nodes;\n  @hasMany('series/edges', { async: false }) edges;\n  @hasMany('outbound/content-statistic', { async: false }) stats;\n  @belongsTo('campaign') migratedCampaign;\n  @attr('number') state;\n  @attr('string') title;\n  @fragment('stats-system/goal') goal;\n  @attr('number') exitBehavior;\n  @fragment('predicates/predicate-group') exitPredicateGroup;\n  @attr('date') wentLiveAt;\n  @attr('number') seriesMigrationStatus;\n  @attr('number') duplicationStatus;\n\n  _persistedNodeIds;\n  _persistedEdgeIds;\n\n  get isLive() {\n    return this.state === states.live;\n  }\n\n  get isDraft() {\n    return this.state === states.draft;\n  }\n\n  @dependentKeyCompat\n  get hasGoal() {\n    return isPresent(this.goal);\n  }\n\n  @dependentKeyCompat\n  get hasExitRules() {\n    return this.exitBehavior === seriesExitBehaviors.exitRules;\n  }\n\n  @dependentKeyCompat\n  get migrationFromCampaignHasStarted() {\n    return this.seriesMigrationStatus !== seriesMigrationStatuses.noMigration;\n  }\n\n  @dependentKeyCompat\n  get migrationFromCampaignHasCompleted() {\n    return this.seriesMigrationStatus === seriesMigrationStatuses.completed;\n  }\n\n  @dependentKeyCompat\n  get migrationFromCampaignInProgress() {\n    return this.seriesMigrationStatus === seriesMigrationStatuses.inProgress;\n  }\n\n  @dependentKeyCompat\n  get migrationFromCampaignHasFailed() {\n    return this.seriesMigrationStatus === seriesMigrationStatuses.failed;\n  }\n\n  @dependentKeyCompat\n  get duplicationInProgress() {\n    return this.duplicationStatus === seriesDuplicationStatuses.inProgress;\n  }\n\n  @dependentKeyCompat\n  get duplicationFailed() {\n    return this.duplicationStatus === seriesDuplicationStatuses.failed;\n  }\n\n  get persistedNodeIds() {\n    this._persistedNodeIds = this._persistedNodeIds || this.nodes.initialState.map(node => node.id);\n    return this._persistedNodeIds;\n  }\n\n  get persistedEdgeIds() {\n    this._persistedEdgeIds = this._persistedEdgeIds || this.edges.initialState.map(edge => edge.id);\n    return this._persistedEdgeIds;\n  }\n\n  get hasUnsavedChanges() {\n    if (this.hasDirtyAttributes) {\n      return true;\n    }\n    let currentNodeIds = this.nodes.map(node => node.id);\n    let currentEdgeIds = this.edges.map(edge => edge.id);\n    return (\n      !_.isEqual(currentNodeIds, this.persistedNodeIds) ||\n      !_.isEqual(currentEdgeIds, this.persistedEdgeIds) ||\n      this.edges.any(edge => edge.hasDirtyAttributes) ||\n      this.nodes.any(node => node.hasDirtyAttributes)\n    );\n  }\n\n  get invalidStartingNodes() {\n    return this.nodes.filter(\n      node =>\n        (node.isStarting && node.objectTypes.firstObject !== objectTypes.condition) ||\n        (node.isStarting && node.isEnding),\n    );\n  }\n\n  get hasInvalidStartingNodes() {\n    if (isEmpty(this.nodes)) {\n      return true;\n    }\n\n    return isPresent(this.invalidStartingNodes);\n  }\n\n  async save() {\n    this._clearDanglingEdges();\n    await super.save(...arguments);\n    this._clearLocallyCreatedEdges();\n    this._persistedNodeIds = this.nodes.map(node => node.id);\n    this._persistedEdgeIds = this.edges.map(edge => edge.id);\n  }\n\n  async activate() {\n    let app = this.app;\n    let params = {\n      app_id: app.id,\n      admin_id: app.currentAdmin.id,\n      selected_campaign_state: this.seriesEditorService.selectedCampaignState,\n    };\n    await put(`/ember/series/series/${this.id}/activate`, params);\n    return await this.reload();\n  }\n\n  async deactivate() {\n    let app = this.app;\n    let params = {\n      app_id: app.id,\n      admin_id: app.currentAdmin.id,\n    };\n    let response = await put(`/ember/series/series/${this.id}/deactivate`, params);\n    this.store.pushPayload({ 'series/series': response });\n    return this;\n  }\n\n  async duplicate() {\n    let app = this.app;\n    let params = {\n      app_id: app.id,\n      admin_id: app.currentAdmin.id,\n    };\n    let duplicateJSON = await post(`/ember/series/series/${this.id}/duplicate`, params);\n    this.store.push(this.store.normalize('series/series', duplicateJSON));\n    return this.store.peekRecord('series/series', duplicateJSON.id);\n  }\n\n  async archive() {\n    let app = this.app;\n    let params = {\n      app_id: app.id,\n      admin_id: app.currentAdmin.id,\n    };\n    await put(`/ember/series/series/${this.id}/archive`, params);\n  }\n\n  async updateSettings() {\n    let app = this.app;\n    let params = {\n      app_id: app.id,\n      admin_id: app.currentAdmin.id,\n      exit_behavior: this.exitBehavior,\n      exit_predicate_group: this.exitPredicateGroup?.serialize(),\n      goal: this.goal?.serialize(),\n    };\n    await put(`/ember/series/series/${this.id}/update_settings`, params);\n  }\n\n  async cancelSettingsChanges() {\n    this.set('goal', this.seriesEditorService.settingsState.goal);\n    this.set('exitBehavior', this.seriesEditorService.settingsState.exitBehavior);\n    this.set('exitPredicateGroup', this.seriesEditorService.settingsState.exitPredicateGroup);\n  }\n\n  _clearLocallyCreatedEdges() {\n    this.locallyCreatedEdges.forEach(edge => this.store.unloadRecord(edge));\n  }\n\n  _clearDanglingEdges() {\n    let currentNodeIds = this.nodes.map(node => node.id);\n    this.edges.forEach(edge => {\n      if (\n        !currentNodeIds.includes(edge.predecessor?.id) ||\n        !currentNodeIds.includes(edge.successor?.id)\n      ) {\n        this.store.unloadRecord(edge);\n      }\n    });\n  }\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get locallyCreatedEdges() {\n    return this.edges.filter(edge => isNone(edge.id));\n  }\n\n  edgeForNodes(predecessor, successor) {\n    return this.edges.find(\n      edge => edge.predecessor === predecessor && edge.successor === successor,\n    );\n  }\n\n  get startingNodes() {\n    return this.nodes.filter(node => node.isStarting);\n  }\n\n  async audiencePreviewPredicates() {\n    let rulesets = await this.loadStartingRulesets();\n    return [\n      {\n        type: 'or',\n        predicates: rulesets.map(ruleset => ({\n          type: 'and',\n          predicates: ruleset.predicatesForAudiencePreview(),\n        })),\n      },\n    ];\n  }\n\n  async loadStartingRulesets() {\n    return await Promise.all(this.startingNodes.map(node => node.fetchRuleset()));\n  }\n\n  async fetchAudiencePreview() {\n    let startingNodeRulesets = await this.loadStartingRulesets();\n    let audiencesForStartingNodes = Promise.all(\n      startingNodeRulesets.map(ruleset => ruleset.fetchAudiencePreview()),\n    );\n\n    let allStartingNodePredicates = await this.audiencePreviewPredicates();\n\n    let totalAudienceParams = {\n      app_id: this.app.id,\n      predicates: allStartingNodePredicates,\n      page: 1,\n      per_page: 1,\n      include_count: true,\n    };\n\n    let audience = await RSVP.hash({\n      total: post('/ember/users/search.json', totalAudienceParams),\n      perStartingNode: audiencesForStartingNodes,\n    });\n\n    return {\n      total: audience.total.total_count,\n      startingNodes: this.startingNodes.reduce((hash, node) => {\n        hash[node.id] = node.ruleset.audiencePreview.count;\n        return hash;\n      }, {}),\n    };\n  }\n}\n","import Model, { attr } from '@ember-data/model';\nimport {\n  humanReadableObjectNames,\n  objectInterfaceIcons,\n  objectTypes,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { inject as service } from '@ember/service';\nimport { fragment } from 'ember-data-model-fragments/attributes';\n\nexport default class Template extends Model {\n  @attr('string') title;\n  @attr('string') description;\n  @attr('array') nodes;\n  @attr('array') edges;\n  @attr('string') thumbnail;\n  @attr('string') preview;\n  @attr('number') objective;\n  @attr('boolean') requiresMobileSdk;\n  @fragment('series/template/metadata') metadata;\n\n  @service appService;\n\n  get objectType() {\n    return objectTypes.series;\n  }\n\n  get contentObjectIcon() {\n    return objectInterfaceIcons[this.objectType];\n  }\n\n  get contentObjectName() {\n    return humanReadableObjectNames[this.objectType];\n  }\n\n  get isAvailable() {\n    if (this.requiresMobileSdk) {\n      return this.appService.app.hasIOSSdk || this.appService.app.hasAndroidSdk;\n    } else {\n      return true;\n    }\n  }\n}\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default class Metadata extends Fragment {\n  @attr('string') goodFor;\n}\n","import Model, { attr } from '@ember-data/model';\nimport { getOwner } from '@ember/application';\nimport waitEditorConfigGenerator from 'embercom/objects/content-editor/configuration-generators/series/wait';\nimport { seriesWaitTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport moment from 'moment';\nimport { inject as service } from '@ember/service';\nimport WaitValidations from 'embercom/validations/wait';\n\nexport default class SeriesWait extends Model.extend(WaitValidations) {\n  @attr('number') type;\n  @attr('number') timeDelay;\n  @service appService;\n  @service seriesEditorService;\n\n  get series() {\n    return this.seriesEditorService.series;\n  }\n\n  get isRelative() {\n    return this.type === seriesWaitTypes.relative;\n  }\n\n  get isAbsolute() {\n    return this.type === seriesWaitTypes.absolute;\n  }\n\n  get timeDelayAsMoment() {\n    if (this.appService?.app) {\n      return moment.unix(this.timeDelay).tz(this.appService?.app?.timezone);\n    } else {\n      return moment.unix(this.timeDelay);\n    }\n  }\n\n  editorConfig() {\n    let container = getOwner(this);\n    return waitEditorConfigGenerator({ container, wait: this });\n  }\n}\n","import { attr } from '@ember-data/model';\nimport { gt } from '@ember/object/computed';\nimport Fragment from 'ember-data-model-fragments/fragment';\nconst CHAR_LIMIT = 160;\n\nexport default Fragment.extend({\n  localeId: attr('string'),\n  name: attr('string'),\n  // TODO: Rename this as welcome messages are now Team Intros\n  userWelcomeMessage: attr('string'),\n  isPermitted: attr('boolean'),\n  greeting: attr('string', { defaultValue: '' }),\n  welcomeMessageTooLong: gt('userWelcomeMessage.length', CHAR_LIMIT),\n});\n","import { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport const MONDAY = 0;\nconst TUESDAY = 1;\nconst WEDNESDAY = 2;\nconst THURSDAY = 3;\nexport const FRIDAY = 4;\nexport const SATURDAY = 5;\nexport const SUNDAY = 6;\n\nexport const DAYS = {\n  [MONDAY]: 'monday',\n  [TUESDAY]: 'tuesday',\n  [WEDNESDAY]: 'wednesday',\n  [THURSDAY]: 'thursday',\n  [FRIDAY]: 'friday',\n  [SATURDAY]: 'saturday',\n  [SUNDAY]: 'sunday',\n};\n\nexport default Fragment.extend({\n  startTime: attr('number', { defaultValue: 9 * 60 }),\n  endTime: attr('number', { defaultValue: 17 * 60 }),\n  startDay: attr('number', { defaultValue: 0 }),\n  endDay: attr('number', { defaultValue: 6 }),\n  period: computed('startDay', 'endDay', function() {\n    let startDay = this.startDay;\n    let endDay = this.endDay;\n\n    if (startDay === endDay && startDay >= MONDAY && startDay <= SUNDAY) {\n      return DAYS[startDay];\n    } else if (startDay === SATURDAY && endDay === SUNDAY) {\n      return 'weekends';\n    } else if (startDay === MONDAY && endDay === FRIDAY) {\n      return 'weekdays';\n    } else {\n      return 'everyday';\n    }\n  }),\n  isInvalid: computed('startTime', 'endTime', function() {\n    let startTime = this.startTime;\n    let endTime = this.endTime;\n    return startTime >= endTime;\n  }),\n}).reopenClass({\n  periodValueMapping: {\n    everyday: { startDay: MONDAY, endDay: SUNDAY },\n    weekdays: { startDay: MONDAY, endDay: FRIDAY },\n    weekends: { startDay: SATURDAY, endDay: SUNDAY },\n    monday: { startDay: MONDAY, endDay: MONDAY },\n    tuesday: { startDay: TUESDAY, endDay: TUESDAY },\n    wednesday: { startDay: WEDNESDAY, endDay: WEDNESDAY },\n    thursday: { startDay: THURSDAY, endDay: THURSDAY },\n    friday: { startDay: FRIDAY, endDay: FRIDAY },\n    saturday: { startDay: SATURDAY, endDay: SATURDAY },\n    sunday: { startDay: SUNDAY, endDay: SUNDAY },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { not } from '@ember/object/computed';\n\nexport default Model.extend({\n  authenticatedAdmin: attr('boolean'),\n  viaSingleSignOn: attr('boolean'),\n  notViaSingleSignOn: not('viaSingleSignOn'),\n\n  state() {\n    let modelName = this.constructor.modelName;\n    let adapter = this.store.adapterFor(modelName);\n    return adapter.state().then(response => {\n      this.set('authenticatedAdmin', response.authenticated_admin);\n      this.set('viaSingleSignOn', response.via_single_sign_on);\n      this.set('ipCountryCode', response.ip_country_code);\n      return this;\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  name: attr(),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { hasMany } from '@ember-data/model';\n\nexport default Model.extend({\n  channels: hasMany('slack-channel'),\n  notificationTypes: hasMany('slack-notification-type'),\n  notificationRules: hasMany('slack-notification-rule'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { hasMany } from '@ember-data/model';\nimport { inject as service } from '@ember/service';\nimport { filterBy } from '@ember/object/computed';\nimport ajax from 'embercom/lib/ajax';\n\nexport default Model.extend({\n  intercomEventService: service(),\n\n  topics: hasMany('webhook-topic'),\n  subscriptions: hasMany('slack-subscription'),\n\n  selectedTopics: filterBy('topics', 'selected', true),\n\n  trackEvent(action) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action,\n      object: 'slack_legacy_integration',\n      place: 'slack_integration',\n    });\n  },\n}).reopenClass({\n  getRedirectUrl(appId, topicIds, oauthRedirectSubpath) {\n    return ajax({\n      url: '/ember/slack_legacy_integrations/get_redirect_url',\n      type: 'GET',\n      data: {\n        app_id: appId,\n        topics: topicIds,\n        dest: oauthRedirectSubpath,\n      },\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { belongsTo, hasMany, attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { readOnly, notEmpty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { findBy } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Model.extend({\n  appService: service(),\n  intercomEventService: service(),\n  app: readOnly('appService.app'),\n\n  channel: belongsTo('slack-channel'),\n  notificationTypes: hasMany('slack-notification-type'),\n  assigneeId: attr('string'),\n  intercomAdminId: attr('string'),\n  createdAt: attr('date'),\n\n  assignee: computed('assigneeId', function() {\n    let assigneeId = this.assigneeId;\n\n    if (assigneeId) {\n      return this._getAdminById(`${assigneeId}`);\n    }\n  }),\n\n  owner: computed('intercomAdminId', function() {\n    let intercomAdminId = this.intercomAdminId;\n\n    if (intercomAdminId) {\n      return this._getAdminById(`${intercomAdminId}`);\n    }\n  }),\n\n  conversationNotificationType: findBy('notificationTypes', 'isConversationType', true),\n  hasConversationNotificationType: notEmpty('conversationNotificationType'),\n\n  _getAdminById(adminId) {\n    let admin = this.get('app.teams').findBy('id', adminId);\n\n    if (admin === undefined) {\n      admin = this.get('app.admins').findBy('id', adminId);\n    }\n\n    return admin;\n  },\n\n  trackEvent(action) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action,\n      object: 'slack_notification_rule',\n      place: 'slack_integration',\n      notification_rule_id: this.id,\n      assignee_id: this.get('assignee.id'),\n      channel: this.get('channel.id'),\n      notification_types: this.notificationTypes.mapBy('id'),\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { not } from '@ember/object/computed';\nimport { containsByProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Model.extend({\n  name: attr(),\n  allConversationNotificationTypeIds: ['conversation.all', 'conversation.new'],\n\n  isConversationType: containsByProperty('allConversationNotificationTypeIds', 'id'),\n  isNonConversationType: not('isConversationType'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, hasMany } from '@ember-data/model';\nimport { notEmpty } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport ReportsLabels from 'embercom/lib/integrations/slack-reports-labels';\nimport { findBy } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Model.extend({\n  url: attr(),\n  topics: hasMany('webhook-topic'),\n  reports: attr(),\n  reportsLabels: computed('reports', function() {\n    if (this.reports === undefined) {\n      return [];\n    } else {\n      return Object.keys(this.reports).map(report => ({\n        id: report,\n        label: ReportsLabels[report],\n      }));\n    }\n  }),\n\n  _topicToNotificationTypes: {\n    'conversation.user.created': 'conversation.new',\n    'conversation.user.replied': 'conversation.all',\n    'conversation.admin.opened': 'conversation.all',\n    'conversation.admin.closed': 'conversation.all',\n    'conversation.admin.replied': 'conversation.all',\n    'conversation.admin.noted': 'conversation.all',\n    'conversation.admin.assigned': 'conversation.all',\n    'user.created': 'user.created',\n    'company.created': 'company.created',\n    'contact.signed_up': 'lead.signed_up',\n  },\n\n  notificationTypes: computed('topics', function() {\n    let resultSet = [];\n    this.topics.forEach(topic => {\n      let notificationTypeId = this._topicToNotificationTypes[topic.id];\n      if (notificationTypeId) {\n        let notificationType = this.store.peekRecord('slack-notification-type', notificationTypeId);\n        if (notificationType) {\n          resultSet.push(notificationType);\n        }\n      }\n    });\n    return resultSet;\n  }),\n\n  newConversationNotificationType: findBy('notificationTypes', 'id', 'conversation.new'),\n  allConversationNotificationType: findBy('notificationTypes', 'id', 'conversation.all'),\n  conversationNotificationType: computed(\n    'newConversationNotificationType',\n    'allConversationNotificationType',\n    function() {\n      let newConversationNotificationType = this.newConversationNotificationType;\n      let allConversationNotificationType = this.allConversationNotificationType;\n\n      if (allConversationNotificationType) {\n        return allConversationNotificationType;\n      } else if (newConversationNotificationType) {\n        return newConversationNotificationType;\n      }\n      return null;\n    },\n  ),\n  hasConversationNotificationType: notEmpty('conversationNotificationType'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { belongsTo } from '@ember-data/model';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\nimport { bool } from '@ember/object/computed';\nimport LocalizedSmsContentValidations from 'embercom/validations/localized-sms-message-content';\n\nexport default Model.extend(LocalizedSmsContentValidations, {\n  sms: belongsTo('sms/sms', { inverse: 'localizedSmsMessageContents' }),\n  bodyBlocks: fragmentArray('common/blocks/block', {\n    polymorphic: true,\n    typeKey: 'modelKey',\n    defaultValue: () => [{ text: '', type: 'paragraph', modelKey: 'common/blocks/paragraph' }],\n  }),\n\n  isValid: bool('bodyBlocks.firstObject.text.length'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { hasMany } from '@ember-data/model';\nimport SmsValidations from 'embercom/validations/sms';\nimport { getOwner } from '@ember/application';\nimport smsEditConfigGenerator from 'embercom/objects/content-editor/configuration-generators/sms';\n\nexport default Model.extend(SmsValidations, {\n  localizedSmsMessageContents: hasMany('sms/localized-sms-message-content', { inverse: 'sms' }),\n\n  rollbackAttributes() {\n    this._super(...arguments);\n    this.localizedSmsMessageContents.forEach(content => content.rollbackAttributes());\n  },\n\n  editorConfig() {\n    let container = getOwner(this);\n    return smsEditConfigGenerator({ container, sms: this });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport Admin from 'embercom/models/admin';\n\nexport default Model.extend({\n  provider: attr(),\n  profileUrl: attr(),\n  adminId: attr(),\n  admin: computed('adminId', function() {\n    return Admin.peekAndMaybeLoad(this.store, this.adminId);\n  }),\n  imageUrl: attr(),\n  username: attr(),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, hasMany } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { not } from '@ember/object/computed';\nimport { applyFunction, isAny, isEvery } from '@intercom/embercom-core/lib/computed-properties';\nexport default Model.extend({\n  idAsNumber: applyFunction(parseInt, 'id'),\n  name: attr('string'),\n  key: attr('string'),\n  description: attr('string'),\n  activeTrialStartedAt: attr('date'),\n  products: hasMany('product', { async: false }),\n\n  active: isEvery('products', 'active'),\n  partiallyActive: isAny('products', 'active'),\n  inactive: not('active'),\n\n  trialable: isEvery('products', 'trialable'),\n  notTrialable: not('trialable'),\n  trialing: computed('products.@each.activeTrialStartedAt', function() {\n    return this.products.every(product => product.get('activeTrialStartedAt'));\n  }),\n\n  analyticsData: computed('active', function() {\n    return {\n      object: 'solution',\n      solution_active: this.active,\n    };\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { or } from '@ember/object/computed';\nimport UserAvatarData from 'embercom/models/mixins/user-avatar-data';\nimport ajax from 'embercom/lib/ajax';\n\nexport default Model.extend(UserAvatarData, {\n  appId: attr('string'),\n  name: attr('string'),\n  email: attr('string'),\n  emailSubject: attr('string'),\n  avatar: attr(),\n  isProcessing: false,\n  isDeleted: false,\n  createdAt: attr('date'),\n  nameOrEmail: or('name', 'email'),\n  processSpamMessage() {\n    return ajax({\n      url: '/ember/spam_messages/process_email',\n      data: JSON.stringify({\n        id: this.id,\n        app_id: this.appId,\n      }),\n      type: 'POST',\n      contentType: 'application/json',\n      dataType: 'JSON',\n    });\n  },\n});\n","import BaseStat from './base-stat';\n\nexport default BaseStat.extend({});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo } from '@ember-data/model';\nimport { fragment } from 'ember-data-model-fragments/attributes';\n\nexport default Model.extend({\n  createdAt: attr('date'),\n  createdVia: attr(),\n  versionIndex: attr('number'),\n  user: fragment('messages/recipient'),\n  company: belongsTo('company'),\n  userModel: belongsTo('user'),\n});\n","import { attr } from '@ember-data/model';\nimport BaseStat from './base-stat';\n\nexport default BaseStat.extend({\n  contentLinkId: attr(),\n  contentLinkUrl: attr(),\n});\n","import { attr } from '@ember-data/model';\nimport BaseStat from './base-stat';\n\nexport default BaseStat.extend({\n  email: attr(),\n});\n","import BaseStat from './base-stat';\n\nexport default BaseStat.extend({});\n","import BaseStat from './base-stat';\n\nexport default BaseStat.extend({});\n","import { attr } from '@ember-data/model';\nimport BaseStat from './base-stat';\n\nexport default BaseStat.extend({\n  failureCategory: attr(),\n});\n","import { attr } from '@ember-data/model';\nimport BaseStat from './base-stat';\n\nexport default BaseStat.extend({\n  userGoalAttributes: attr(),\n});\n","import { attr } from '@ember-data/model';\nimport MF from 'ember-data-model-fragments';\nimport { fragment } from 'ember-data-model-fragments/attributes';\nimport { states, defaultGoalMatchingTime } from 'embercom/models/data/stats-system/goals-constants';\nimport { computed } from '@ember/object';\nimport { and, reads, not } from '@ember/object/computed';\n\nexport default MF.Fragment.extend({\n  entityId: attr('string'),\n  entityType: attr('string'),\n  predicateGroup: fragment('predicates/predicate-group'),\n  timeConstraint: attr('number', { defaultValue: defaultGoalMatchingTime }),\n  state: attr('number', { defaultValue: states.active }),\n  usesClientPredicate: reads('predicateGroup.predicates.firstObject.isClientPredicate'),\n  usesUserPredicate: not('usesClientPredicate'),\n  hasClientPredicate: and('usesClientPredicate', 'predicateGroup.hasPredicates'),\n  hasUserPredicate: and('usesUserPredicate', 'predicateGroup.hasPredicates'),\n  timeConstraintInDays: computed('timeConstraint', function() {\n    return this.timeConstraint / 24;\n  }),\n});\n","import BaseStat from './base-stat';\n\nexport default BaseStat.extend({});\n","import { attr } from '@ember-data/model';\nimport BaseStat from './base-stat';\n\nexport default BaseStat.extend({\n  reaction: attr('string'),\n});\n","import BaseStat from './base-stat';\nimport { attr } from '@ember-data/model';\n\nexport default BaseStat.extend({\n  rulesetId: attr(),\n});\n","import { attr } from '@ember-data/model';\nimport BaseStat from './base-stat';\n\nexport default BaseStat.extend({\n  conversationId: attr(),\n});\n","import BaseStat from './base-stat';\nimport { attr } from '@ember-data/model';\n\nexport default BaseStat.extend({\n  completionNodeRulesetId: attr(),\n});\n","import BaseStat from './base-stat';\nimport { attr } from '@ember-data/model';\n\nexport default BaseStat.extend({\n  disengagedNodeRulesetId: attr(),\n});\n","import BaseStat from './base-stat';\n\nexport default BaseStat.extend({});\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  totalCount: attr('number'),\n  uniqueCount: attr('number'),\n});\n","import Fragment from 'ember-data-model-fragments/fragment';\nimport { fragment } from 'ember-data-model-fragments/attributes';\n\nexport default Fragment.extend({\n  receipt: fragment('stats-system/stat-count'),\n  completion: fragment('stats-system/stat-count'),\n  goalSuccess: fragment('stats-system/stat-count'),\n  tourStepFailure: fragment('stats-system/stat-count'),\n});\n","import { attr } from '@ember-data/model';\nimport BaseStat from './base-stat';\n\nexport default BaseStat.extend({\n  failureUrl: attr('string'),\n  failedSelector: attr('string'),\n  tourStepId: attr('number'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\n\n// update routes below for each offer once they are created\nconst OFFER_STATIC_DATA = {\n  extend_trial: {\n    name: 'Extend your trial',\n    icon: 'conversation-rating',\n    description: 'Still not sure? Get another 14 days for free.',\n    route: 'extend-trial',\n    redeemOnClick: true,\n  },\n  get_help: {\n    name: 'Get help setting up Intercom',\n    icon: 'messenger',\n    description: \"You don't have to figure it out alone. Our team can help!\",\n    route: 'get-help',\n    redeemOnClick: true,\n  },\n  downsize_products: {\n    name: 'Reduce the cost of Intercom',\n    icon: 'acquire',\n    description: 'Lower your monthly bill by downgrading from products you aren’t using.',\n    route: 'downsize',\n    redeemOnClick: false,\n  },\n  pause_subscription: {\n    name: 'Pause your subscription',\n    icon: 'schedule',\n    description: 'Put your account on hold but keep your setup and data.',\n    route: 'pause-subscription',\n    redeemOnClick: false,\n  },\n};\n\nexport default Model.extend({\n  valid: attr('boolean'),\n  type: attr('string'),\n  accepted: attr('boolean'),\n  metadata: attr(),\n  name: computed('id', function() {\n    return OFFER_STATIC_DATA[this.id].name;\n  }),\n  icon: computed('id', function() {\n    return OFFER_STATIC_DATA[this.id].icon;\n  }),\n  description: computed('id', function() {\n    return OFFER_STATIC_DATA[this.id].description;\n  }),\n  route: computed('id', function() {\n    return OFFER_STATIC_DATA[this.id].route;\n  }),\n  redeemOnClick: computed('id', function() {\n    return OFFER_STATIC_DATA[this.id].redeemOnClick;\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { belongsTo, attr } from '@ember-data/model';\n\nexport default Model.extend({\n  tag: belongsTo('tag'),\n\n  userCount: attr('number', { defaultValue: 0 }),\n  companyCount: attr('number', { defaultValue: 0 }),\n  messageCount: attr('number', { defaultValue: 0 }),\n  conversationCount: attr('number', { defaultValue: 0 }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo } from '@ember-data/model';\nimport { computed } from '@ember/object';\n\nexport default Model.extend({\n  name: attr(),\n  app_id: attr(),\n  isSegment: false,\n\n  predicate: computed('id', function() {\n    return {\n      comparison: 'eq',\n      value: this.id,\n      attribute: 'manual_tag_ids',\n      type: 'manual_tag',\n    };\n  }),\n\n  analyticsData: computed('id', 'name', function() {\n    return {\n      object: 'tag',\n      tag_id: this.id,\n      name: this.name,\n    };\n  }),\n\n  createdBy: belongsTo('admin', { async: false }),\n  created_at: attr(),\n\n  stats: belongsTo('tag-stats'),\n\n  archived: attr('boolean', { default: false }),\n  archivedBy: belongsTo('admin', { async: false }),\n  archived_at: attr(),\n});\n","import Model, { attr } from '@ember-data/model';\nimport { getOwner } from '@ember/application';\nimport taggerEditorConfigGenerator from 'embercom/objects/content-editor/configuration-generators/tagger';\nimport { buildValidations } from 'ember-cp-validations';\n\n// When used as a RulesetLink object, the matchable object must implement the validations library.\n// For this model, we don't have any specific validations so we can build an empty validation set.\nconst TaggerValidations = buildValidations();\n\nexport default class Tagger extends Model.extend(TaggerValidations) {\n  @attr('array') tagIds;\n\n  add(tagId) {\n    let _tagId = Number(tagId);\n\n    if (this.tagIds.includes(_tagId)) {\n      return;\n    }\n\n    this.tagIds.pushObject(_tagId);\n  }\n\n  remove(tagId) {\n    this.tagIds.removeObject(Number(tagId));\n  }\n\n  editorConfig() {\n    let container = getOwner(this);\n    return taggerEditorConfigGenerator({ container });\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { belongsTo, attr } from '@ember-data/model';\nimport { notEmpty, or } from '@ember/object/computed';\n\nexport default Model.extend({\n  tag: belongsTo('tag', { async: false }),\n  admin: belongsTo('admin', { async: false }),\n  tagged_at: attr(),\n  workflowId: attr('number'),\n  workflowName: attr('string'),\n  hasAdmin: notEmpty('admin'),\n  hasTaggingDate: notEmpty('tagged_at'),\n  hasWorkflow: notEmpty('workflowId'),\n  hasTaggingMetaData: or('hasAdmin', 'hasTaggingDate'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  appId: attr('string'),\n  teamId: attr('string'),\n  volumeControlEnabled: attr('boolean'),\n  distributionMethod: attr('string'),\n  order: attr(),\n  officeHoursScheduleId: attr('string'),\n  teamResponseDelayEnabled: attr('boolean', { defaultValue: false }),\n  customResponseDelay: attr('number', { defaultValue: 3 }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { alias, sort, readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Admin from 'embercom/models/admin';\nimport ajax from 'embercom/lib/ajax';\nimport { senderTypes } from 'embercom/models/data/outbound/constants';\n\nlet Team = Admin.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  member_ids: attr(),\n  teamMembers: computed('member_ids', function() {\n    let member_ids = this.member_ids || [];\n    return member_ids.map(id => {\n      return Admin.peekAndMaybeLoad(this.store, String(id));\n    });\n  }),\n  teamAvatar: attr(),\n  assigneeId: attr(),\n  outboundType: senderTypes.admin,\n\n  assignee_id: alias('assigneeId'),\n  sortKey: ['name'],\n  sortedTeamMembers: sort('teamMembers', 'sortKey'),\n  deleteAndReassign(adminIdToReassignTo) {\n    let url = `/ember/teams/${this.id}`;\n    this.deleteRecord();\n    return ajax({\n      url,\n      type: 'DELETE',\n      data: JSON.stringify({ app_id: this.app.id, assignee_id: adminIdToReassignTo }),\n    });\n  },\n});\n\nexport default Team;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr, belongsTo } from '@ember-data/model';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\n\nexport default Model.extend({\n  title: attr('string'),\n  description: attr('string'),\n  contentObjects: attr('array'),\n  legacyPredicates: fragmentArray('common/predicate'),\n  ruleset: belongsTo('matching-system/ruleset', { async: false }),\n});\n","import { attr } from '@ember-data/model';\nimport TourStep from '@intercom/intersection-shared-models/models/tour-step';\n\nexport default TourStep.extend({\n  updatedAt: attr('date'),\n});\n","define(\"embercom/models/tour-step/selectors\", [\"exports\", \"@intercom/intersection-shared-models/models/tour-step/selectors\"], function (_exports, _selectors) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _selectors.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  title: attr('string'),\n  description: attr('string'),\n  interfaceIcon: attr('string'),\n  illustrativeIcon: attr('string'),\n});\n","import { attr } from '@ember-data/model';\nimport Tour from '@intercom/intersection-shared-models/models/tour';\nimport { getOwner } from '@ember/application';\nimport { fragment } from 'ember-data-model-fragments/attributes';\nimport EmbercomOnlyTourValidations from 'embercom/validations/tour';\nimport Admin from 'embercom/models/admin';\nimport { dependentKeyCompat } from '@ember/object/compat';\nimport productTourEditorConfigGenerator from 'embercom/objects/content-editor/configuration-generators/product-tour';\n\nexport default class TourModel extends Tour.extend(EmbercomOnlyTourValidations) {\n  @attr() assigneeId;\n  @attr() fromId;\n  @fragment('tours/client-data') clientData;\n  @fragment('stats-system/tour-counts') stats;\n\n  get assignTo() {\n    return Admin.peekAndMaybeLoad(this.store, this.assigneeId);\n  }\n  get from() {\n    return Admin.peekAndMaybeLoad(this.store, this.fromId);\n  }\n  @dependentKeyCompat\n  get implicitPredicates() {\n    return [];\n  }\n  @dependentKeyCompat\n  get canStartInserting() {\n    return this.clientData?.insertable && this.validations.isValid;\n  }\n  get stepsUpdatedAt() {\n    let updatedAts = this.steps.map(step => step.updatedAt);\n    return updatedAts.reduce((a, b) => (new Date(a) > new Date(b) ? a : b));\n  }\n\n  showStat(statName) {\n    return !(statName === 'completion' && this.get('steps.length') === 1);\n  }\n\n  editorConfig() {\n    let container = getOwner(this);\n    return productTourEditorConfigGenerator({ container, productTour: this });\n  }\n}\n","import { attr } from '@ember-data/model';\nimport Fragment from 'ember-data-model-fragments/fragment';\n\nexport default Fragment.extend({\n  insertable: attr('boolean'),\n  showAutomatically: attr('boolean'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject, { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport ajax from 'embercom/lib/ajax';\n\nconst Translations = EmberObject.extend({\n  message: EmberObject.create({\n    unsubscribe: 'Unsubscribe',\n    dont_want_to_get_emails_like_these: \"Don't want to get emails like this?\",\n    powered_by_intercom: 'Powered by Intercom',\n  }),\n  dontWantToGetEmailsLikeThese: readOnly('message.dont_want_to_get_emails_like_these'),\n  poweredByLink: computed('message.powered_by_intercom', function() {\n    return this.get('message.powered_by_intercom').replace(\n      'Intercom',\n      '<a href=\"https://www.intercom.io\">Intercom</a>',\n    );\n  }),\n  unsubscribeLink: readOnly('message.unsubscribe'),\n});\n\nTranslations.reopenClass({\n  async fetch(appId) {\n    let res = await ajax({\n      url: `/ember/i18n.json`,\n      type: 'GET',\n      data: { app_id: appId },\n    });\n\n    return res.map(responseObject => Translations.create(responseObject));\n  },\n});\n\nexport default Translations;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\n\nexport default Model.extend({\n  name: attr(),\n\n  analyticsData: computed('name', function() {\n    return {\n      object: 'twitter-account',\n      name: this.name,\n    };\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { hasMany } from '@ember-data/model';\n\nexport default Model.extend({\n  twitterAccounts: hasMany('twitter-account'),\n});\n","import { copy } from 'ember-copy';\nlet Json = {\n  serialize(hash) {\n    return hash;\n  },\n  deserialize(hash) {\n    return copy(hash, true);\n  },\n};\n\nexport default Json;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { computed } from '@ember/object';\nimport DateFormatter from 'embercom/vendor/intercom/date-formatter';\nimport moment from 'moment';\nimport Mixin from '@ember/object/mixin';\nimport { inject as service } from '@ember/service';\n\nexport default Mixin.create({\n  userPresenceService: service(),\n  defaultPlatform: 'web',\n  platformTimeStampKeys: {\n    web: 'last_request_at',\n    ios: 'last_request_at_ios',\n    android: 'last_request_at_android',\n  },\n  lastUserPresenceUpdate: undefined,\n\n  isActive: computed('last_request_at', 'lastUserPresenceUpdate', function() {\n    return DateFormatter.isJustNow(this.last_request_at);\n  }),\n\n  updatePresenceStatus(latestTime, platform, lastVisitedUrl) {\n    // update this property so that isActive will be recalculated (since it's dependent on the current time)\n    this.set('lastUserPresenceUpdate', Date.now());\n    latestTime = this._latestTimeStamp(latestTime, this.last_request_at);\n    platform = platform || this.defaultPlatform;\n    let platformTimeStampKey;\n    platformTimeStampKey = this.platformTimeStampKeys[platform];\n    if (this.get(platformTimeStampKey) === latestTime) {\n      this._setAndNotifyChange(platformTimeStampKey, latestTime);\n    } else {\n      this._set(platformTimeStampKey, latestTime);\n    }\n\n    if (lastVisitedUrl) {\n      this._setAndNotifyChange('last_visited_url', lastVisitedUrl);\n    }\n\n    // This conditional will go when we have a last_request_at_web attribute\n    if (platform !== 'web') {\n      this.updateGlobalPresenceStatus(latestTime);\n    }\n  },\n\n  _latestTimeStamp(userPresenceTime, lastRequestAt) {\n    if (userPresenceTime && moment(userPresenceTime) > moment(lastRequestAt)) {\n      return userPresenceTime;\n    }\n    return lastRequestAt;\n  },\n\n  updateGlobalPresenceStatus(latestTime) {\n    if (this.last_request_at === latestTime) {\n      this._setAndNotifyChange('last_request_at', latestTime);\n    } else {\n      this._set('last_request_at', latestTime);\n    }\n  },\n  // this is an event triggered by Ember Data.\n  didLoad() {\n    if (this.userPresenceService && this.userPresenceService.isPollingStarted) {\n      this.userPresenceService.updateUserPresenceForLoadedObjects(this);\n    }\n  },\n\n  _set(keyName, value) {\n    this._setAndNotifyChange(keyName, value);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  name: attr(),\n  url: attr(),\n  contentType: attr(),\n  dimensions: attr(),\n  isImage: attr(),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\nimport { computed } from '@ember/object';\nimport { equal, or } from '@ember/object/computed';\n\nexport default Model.extend({\n  name: attr(),\n  isJavascript: equal('name', 'javascript'),\n  isIos: equal('name', 'ios'),\n  isAndroid: equal('name', 'android'),\n  isCordova: equal('name', 'cordova'),\n  isMobile: or('isAndroid', 'isIos', 'isCordova'),\n  isRails: equal('name', 'rails'),\n  isSegment: equal('name', 'segment'),\n  isStripe: equal('name', 'stripe'),\n  isWordPress: equal('name', 'wordpress'),\n  isSinglePageApp: equal('name', 'single_page'),\n  isEmailForwarding: equal('name', 'forward_support_email'),\n\n  formattedName: computed('name', function() {\n    if (this.isJavascript) {\n      return 'Javascript';\n    } else if (this.isRails) {\n      return 'Rails';\n    } else if (this.isSegment) {\n      return 'Segment';\n    } else if (this.isIos) {\n      return 'iOS';\n    } else if (this.isAndroid) {\n      return 'Android';\n    } else if (this.isCordova) {\n      return 'Cordova';\n    } else if (this.isSinglePageApp) {\n      return 'Single page app';\n    } else if (this.isEmailForwarding) {\n      return 'Forward support email';\n    } else if (this.isWordPress) {\n      return 'WordPress';\n    } else {\n      return 'Javascript';\n    }\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-side-effects */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport Model, { attr, hasMany } from '@ember-data/model';\nimport { copy } from 'ember-copy';\nimport { A } from '@ember/array';\nimport $ from 'jquery';\nimport { isPresent } from '@ember/utils';\nimport EmberObject, { computed, set } from '@ember/object';\nimport { task } from 'ember-concurrency';\nimport { inject as service } from '@ember/service';\nimport {\n  alias,\n  reads,\n  notEmpty,\n  not,\n  equal,\n  and,\n  filterBy,\n  or,\n  readOnly,\n  gt,\n} from '@ember/object/computed';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\nimport UserPresence from 'embercom/models/types/user-presence-model';\nimport ajax, { get } from 'embercom/lib/ajax';\nimport {\n  templateString,\n  ternary,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport TaggingMixin from 'embercom/models/mixins/tagging-mixin';\nimport UserAvatarData from 'embercom/models/mixins/user-avatar-data';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport moment from 'moment';\nimport { fragmentArray } from 'ember-data-model-fragments/attributes';\n\nexport default Model.extend(UserPresence, TaggingMixin, UserAvatarData, {\n  appService: service(),\n  user_id: attr(),\n  app_id: attr(),\n  name: attr(),\n  is_anonymous: attr(),\n  role: attr(),\n  display_as: attr(),\n  email: attr(),\n  phone: attr(),\n  avatar: attr(),\n  geoip_data: attr(),\n  has_device_token: attr(),\n  mobile_unidentified: attr(),\n  language_override: attr(),\n  last_heard_from_at: attr(),\n  last_contacted_at: attr(),\n  last_conversation_rating_given: attr(),\n  last_request_at: attr(),\n  last_visited_url: attr(),\n  recent_page_views: attr('array', { defaultValue: () => [] }),\n  recentPageViews: alias('recent_page_views'),\n  last_request_at_ios: attr(),\n  last_request_at_android: attr(),\n  last_session_start: attr(),\n  last_email_opened_at: attr(),\n  last_email_clicked_at: attr(),\n  remote_created_at: attr(),\n  created_at: attr(),\n  updated_at: attr(),\n  session_count: attr(),\n  session_count_ios: attr(),\n  session_count_android: attr(),\n  social_accounts: attr(),\n  ios_app_name: attr(),\n  ios_app_version: attr(),\n  ios_device: attr(),\n  ios_os_version: attr(),\n  android_app_name: attr(),\n  pseudonym: attr(),\n  android_app_version: attr(),\n  android_device: attr(),\n  android_os_version: attr(),\n\n  companies: hasMany('company'),\n\n  unsubscribed_from_emails: attr(),\n  marked_email_as_spam: attr(),\n  has_hard_bounced: attr(),\n\n  // canNotBeEmailed does not include unsubscribed_from_emails as we allow 1:1 emails to be sent.\n  canNotBeEmailed: or('hasNoEmail', 'marked_email_as_spam', 'has_hard_bounced'),\n\n  user_agent_data: attr(),\n  custom_data: attr(),\n  metadata: attr(),\n  qualification_company_id: attr(),\n  isAdmin: false,\n\n  tags: hasMany('tag'),\n\n  taggings: hasMany('tagging'),\n  campaigns: attr(),\n  referrer: attr(),\n  owner_id: attr(),\n  ownerId: alias('owner_id'),\n  account_name: attr(),\n  lead_category: attr(),\n  utm_campaign: attr(),\n  utm_content: attr(),\n  utm_medium: attr(),\n  utm_source: attr(),\n  utm_term: attr(),\n\n  unloadRecord() {\n    this.taggings && this.taggings.compact().forEach(t => t.unloadRecord);\n    this._super(...arguments);\n  },\n\n  user_event_summaries: fragmentArray('event-summary'),\n\n  displayAsDidUpdate: false,\n  consents_to_impersonation: attr(),\n  browser_locale: attr(),\n\n  locale: computed('browser_locale', function() {\n    return getEmberDataStore()\n      .peekRecord('app', this.app_id)\n      .get('browser_locales')\n      .findBy('locale_id', this.browser_locale);\n  }),\n\n  country: alias('geoip_data.country_code2'),\n  timezone: reads('geoip_data.timezone'),\n  hasTimezone: notEmpty('timezone'),\n  socialAccountsUserNamePosition: { facebook: 3, twitter: 3, linkedin: 4 },\n  isNotAnonymous: not('is_anonymous'),\n  isUserRole: equal('role', 'user_role'),\n  isLeadRole: equal('role', 'contact_role'),\n  isLeadWithNoEmail: and('isLeadRole', 'hasNoEmail'),\n\n  localTime: computed('hasTimezone', 'timezone', function() {\n    if (this.hasTimezone) {\n      return moment()\n        .tz(this.timezone)\n        .format(dateAndTimeFormats.timeWithoutTimezone);\n    }\n  }),\n\n  first_name: computed('displayAs', function() {\n    return this.displayAs.split(' ')[0];\n  }),\n  computedUrl: templateString('apps/${app_id}/users/${id}'),\n\n  notes: hasMany('note'),\n\n  event_summaries: alias('user_event_summaries'),\n  nameOrEmail: ternaryToProperty('hasEmailOnly', 'email', 'name'),\n  typeLabel: ternary('is_anonymous', 'Lead', 'User'),\n\n  displayAs: computed('name', 'email', 'display_as', 'pseudonym', function() {\n    return this.name || this.email || this.pseudonym || this.display_as || 'unknown';\n  }),\n\n  searchableProperties: computed('display_as', 'email', function() {\n    return [this.display_as, this.email];\n  }),\n\n  hasNameAndEmail: and('name', 'email'),\n\n  hasEmailOnly: computed('name', 'email', function() {\n    return !this.name && this.email;\n  }),\n\n  existingTags: filterBy('tags', 'isLoaded'),\n  existingSegments: filterBy('segments', 'isLoaded'),\n\n  shouldDisplayEmailRollover: computed('display_as', 'email', 'hasEmailPresent', function() {\n    return this.display_as !== this.email && this.hasEmailPresent;\n  }),\n\n  shouldDisplayPageActivity: notEmpty('last_visited_url'),\n  hasEmailPresent: notEmpty('email'),\n  hasNoEmail: not('hasEmailPresent'),\n  mostRecentCompany: alias('companies.firstObject'),\n  hasDisplayableCompany: or('mostRecentCompany.notManuallyCreated', 'mostRecentCompany.name'),\n  qualificationCompanyId: readOnly('qualificationCompany.id'),\n\n  qualificationCompany: computed('companies.length', 'qualification_company_id', function() {\n    let qualificationCompany = this.companies.findBy('id', String(this.qualification_company_id));\n\n    if (qualificationCompany) {\n      return qualificationCompany;\n    } else if (isPresent(this.companies)) {\n      return this.mostRecentCompany;\n    } else {\n      return EmberObject.create({ user_count: 0 });\n    }\n  }),\n\n  hasIosAttributes: gt('session_count_ios', 0),\n  hasAndroidAttributes: gt('session_count_android', 0),\n  hasMobileAttributes: or('hasIosAttributes', 'hasAndroidAttributes'),\n  hasMobileOrSocialAttributes: or('hasMobileAttributes', 'hasSocialAccounts'),\n  hasNotes: notEmpty('notes'),\n\n  getValue(identifier) {\n    let value;\n    try {\n      value = this.get(identifier);\n    } catch (e) {\n      if (!identifier.startsWith('custom_data.')) {\n        return;\n      }\n      let subIdentifiers = identifier.split('.');\n      value = this._data[subIdentifiers[0]];\n      for (let i = 1; i < subIdentifiers.length; i++) {\n        value = value[subIdentifiers[i]];\n      }\n    }\n    return value;\n  },\n\n  segment_ids: attr('array', { defaultValue: () => [] }),\n  segments: computed('segment_ids.[]', function() {\n    let store = getEmberDataStore();\n    // Filter out null segments https://github.com/intercom/intercom/issues/141011\n    return this.segment_ids.map(id => store.peekRecord('segment', id)).filter(segment => segment);\n  }),\n  segmentsError: false,\n  loadSegments: task(function*() {\n    this.set('segmentsError', false);\n    try {\n      let response = yield get('/ember/users/segments.json', {\n        app_id: this.app_id,\n        id: this.id,\n      });\n      this.set('segment_ids', response.segment_ids);\n    } catch (e) {\n      console.error(e);\n      this.set('segment_ids', []);\n      this.set('segmentsError', true);\n    }\n  }).drop(),\n\n  displayableSocialAccounts: computed('social_accounts', function() {\n    let accounts = {};\n    let unfilteredAccounts = this.social_accounts || {};\n    let accountsUserNamePosition = this.socialAccountsUserNamePosition;\n    let accountNames = Object.keys(accountsUserNamePosition);\n\n    accountNames.forEach(function(accountName) {\n      if (!(accountName in unfilteredAccounts)) {\n        return;\n      }\n\n      accounts[accountName] = unfilteredAccounts[accountName];\n      accounts[accountName].accounts.forEach(function(el) {\n        if (el.username) {\n          set(el, 'usernameLink', el.username);\n        } else if (el.url) {\n          let usernamePosition = accountsUserNamePosition[accountName];\n          let urlSplitOnSlash = el.url.split('/');\n          set(el, 'usernameLink', urlSplitOnSlash[usernamePosition]);\n        } else {\n          set(el, 'usernameLink', 'See profile');\n        }\n      });\n    });\n\n    return accounts;\n  }),\n\n  hasSocialAccounts: computed('social_accounts', function() {\n    return !$.isEmptyObject(this.displayableSocialAccounts);\n  }),\n\n  otherCompanies: computed('companies', function() {\n    let mostRecentCompany = this.mostRecentCompany;\n    return this.companies.filter(function(company) {\n      return company && company !== mostRecentCompany;\n    });\n  }),\n\n  otherCompanyNames: computed('otherCompanies', function() {\n    return this.otherCompanies\n      .map(function(company) {\n        return company.get('name');\n      })\n      .join(', ');\n  }),\n\n  otherCompaniesCount: alias('otherCompanies.length'),\n  updateTaggingUrl: '/ember/users/update_tags.json',\n\n  app: readOnly('appService.app'),\n  companyEmailAddresses: readOnly('app.companyEmailAddresses'),\n  emailIsAppCompanyAddress: computed('companyEmailAddresses.[]', function() {\n    return !!this.companyEmailAddresses.findBy('email_address', this.email);\n  }),\n\n  updateLeadEmail(email) {\n    let params = {\n      app_id: this.app_id,\n      email,\n      lead_id: this.id,\n    };\n\n    return ajax({\n      url: '/ember/lead_email.json',\n      type: 'POST',\n      data: JSON.stringify(params),\n    });\n  },\n\n  updateLeadPhone(phone) {\n    let params = {\n      app_id: this.app_id,\n      phone,\n      user_id: this.id,\n    };\n\n    return ajax({\n      url: '/ember/user_attributes/update_phone.json',\n      type: 'POST',\n      data: JSON.stringify(params),\n    });\n  },\n\n  updateLeadName(name) {\n    let params = {\n      app_id: this.app_id,\n      name,\n      lead_id: this.id,\n    };\n\n    return ajax({\n      url: '/ember/user_attributes/update_name.json',\n      type: 'POST',\n      data: JSON.stringify(params),\n    });\n  },\n\n  saveUnsubscribedFromEmails() {\n    let params = {\n      id: this.id,\n      app_id: this.app_id,\n      unsubscribed_from_emails: this.unsubscribed_from_emails,\n    };\n    return ajax({\n      url: '/ember/users/update_unsubscribed_from_emails.json',\n      type: 'PUT',\n      data: JSON.stringify(params),\n    });\n  },\n\n  blockUser(conversation) {\n    let options = {\n      id: this.id,\n      app_id: this.app_id,\n    };\n    if (conversation) {\n      options.conversation_id = conversation.get('id');\n    }\n    return ajax({\n      url: '/ember/users/block',\n      type: 'POST',\n      data: JSON.stringify(options),\n    });\n  },\n\n  addToCompany(remoteCompanyId, companyName) {\n    let params = {\n      id: this.id,\n      app_id: this.app_id,\n      remote_company_id: remoteCompanyId,\n      company_name: companyName,\n    };\n    return ajax({\n      url: '/ember/users/add_to_company.json',\n      type: 'PUT',\n      data: JSON.stringify(params),\n    });\n  },\n\n  removeFromCompany(qualificationCompanyId) {\n    let params = {\n      id: this.id,\n      app_id: this.app_id,\n      qualification_company_id: qualificationCompanyId,\n    };\n    return ajax({\n      url: '/ember/users/remove_from_company.json',\n      type: 'PUT',\n      data: JSON.stringify(params),\n    });\n  },\n\n  analyticsData: computed('id', 'role', function() {\n    return {\n      object: 'user',\n      user_id: this.id,\n      user_role: this.role,\n    };\n  }),\n  _setAndNotifyChange(keyName, value) {\n    this.store.pushPayload({ user: { id: this.id, [keyName]: value } });\n  },\n}).reopenClass({\n  search(app, predicates, options) {\n    let self = this;\n    let sort_by = options.sort_by;\n    let sort_direction = options.sort_direction;\n\n    if (this.xhr && this.xhr.readyState !== 4) {\n      //we don't want concurrent requests\n      this.xhr.abort();\n    }\n\n    let sortedAttributeSetting = app.get('userAttributeSettings').findBy('isSorted', true);\n    if (sortedAttributeSetting) {\n      sort_by = sort_by || sortedAttributeSetting.get('attribute');\n      sort_direction = sort_direction || sortedAttributeSetting.get('sort_by');\n    }\n\n    return ajax({\n      beforeSend(xhr) {\n        self.xhr = xhr;\n      },\n      url: '/ember/users/search.json',\n      type: 'POST',\n      data: JSON.stringify({\n        app_id: app.get('id'),\n        predicates,\n        segment_id: options.segmentId,\n        page: options.page || 1,\n        per_page: options.per_page || 25,\n        sort_by,\n        include_count: false,\n        sort_direction,\n        use_intersearch: true,\n        campaign_id: options.campaign_id,\n      }),\n    }).then(response => {\n      let array = A();\n\n      if (response.users) {\n        let store = getEmberDataStore();\n        store.pushPayload({ users: response.users });\n\n        response.users.forEach(function(user) {\n          array.pushObject(store.peekRecord('user', user.id));\n        });\n      }\n\n      return {\n        users: array,\n        totalCount: response.total_count,\n        totalPages: response.total_pages,\n        limited: response.limited,\n      };\n    });\n  },\n\n  getCount(app, selectionState) {\n    let predicates = copy(selectionState.get('predicates'), true);\n    let includedIDs = selectionState.get('included_ids');\n    if (includedIDs.length > 0) {\n      predicates.push({ attribute: '_id', type: 'id', comparison: 'in', value: includedIDs });\n    }\n    let excludedIDs = selectionState.get('excluded_ids');\n    if (excludedIDs.length > 0) {\n      predicates.push({ attribute: '_id', type: 'id', comparison: 'nin', value: excludedIDs });\n    }\n    let params = {\n      app_id: app.get('id'),\n      predicates,\n    };\n    return ajax({\n      url: '/ember/users/count.json',\n      type: 'POST',\n      data: JSON.stringify(params),\n    }).then(function(response) {\n      return response.count;\n    });\n  },\n\n  getMaybeMergedUser(userId) {\n    let store = getEmberDataStore();\n\n    return store.findRecord('user', userId).catch(response => {\n      if (response.jqXHR && response.jqXHR.status === 302) {\n        let id = response.jqXHR.responseJSON.merged_into_user_id;\n        return store.findRecord('user', id);\n      }\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Model, { attr } from '@ember-data/model';\n\nexport default Model.extend({\n  humanName: attr(),\n  requiresMetadata: attr('boolean'),\n  selected: false,\n});\n","import Model, { attr } from '@ember-data/model';\nimport { fragment, fragmentArray } from 'ember-data-model-fragments/attributes';\nimport { validator, buildValidations } from 'ember-cp-validations';\nimport { put } from 'embercom/lib/ajax';\nimport { inject as service } from '@ember/service';\nimport { MAX_DELAY_IN_SECONDS, MIN_DELAY_IN_SECONDS } from 'embercom/lib/workflows/helpers/delays';\n\nconst Validations = buildValidations({\n  actions: {\n    description: 'Valid actions by trigger',\n    validators: [\n      validator('workflow-has-valid-actions-by-uniqueness'),\n      validator('workflow-has-valid-actions-by-is-valid'),\n    ],\n  },\n  predicateGroup: {\n    description: 'Valid predicates by status',\n    validators: [validator('workflow-has-valid-predicates-for-status')],\n  },\n  data: {\n    description: 'Valid data for trigger',\n    validators: [validator('workflow-has-valid-trigger-data')],\n  },\n});\n\nexport default class Workflow extends Model.extend(Validations) {\n  @service appService;\n\n  @attr('string') name;\n  @attr('string') description;\n  @attr('string') triggerType;\n  @attr('string') status;\n  @attr('number') order;\n  @attr('date') lastAppliedAt;\n  @attr() data;\n  @fragmentArray('workflows/workflow-action') actions;\n  @fragment('predicates/predicate-group') predicateGroup;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get canBeSetLive() {\n    return !this.isLive && this.canBeLive;\n  }\n\n  get canBeSaved() {\n    if (!this.hasTrigger) {\n      return false;\n    }\n    if (!this.passesValidations) {\n      return false;\n    }\n    if (this.isLive && !this.canBeLive) {\n      return false;\n    }\n    return true;\n  }\n\n  get awaitingFirstReplyTrigger() {\n    return this.triggerType === 'awaiting_first_reply';\n  }\n\n  get isLive() {\n    return this.status === 'live';\n  }\n\n  get canBeLive() {\n    if (\n      this.hasTrigger &&\n      this.awaitingFirstReplyTrigger &&\n      !this.app.canUseAwaitingFirstReplyTrigger\n    ) {\n      return false;\n    }\n    return (\n      this.passesValidations && this.hasTrigger && this.hasPredicates && this.actions.length > 0\n    );\n  }\n\n  get passesValidations() {\n    return this.validations.isValid && this.predicateGroup.isValid;\n  }\n\n  get hasTrigger() {\n    return this.triggerType && this.triggerType !== '';\n  }\n\n  get hasPredicates() {\n    // The re-used model allows empty predicates to be valid, we don't\n    return this.predicateGroup.predicates && this.predicateGroup.predicates.length > 0;\n  }\n\n  get hasChanges() {\n    return (\n      this.hasDirtyAttributes ||\n      this.actions.hasDirtyAttributes ||\n      this.predicateGroup.hasDirtyAttributes\n    );\n  }\n\n  get hasSaveWarning() {\n    return this.triggerType === 'any_user_comment';\n  }\n\n  get saveWarningText() {\n    return \"This rule can potentially trigger for every customer response in a conversation which could be disruptive if set up incorrectly. Are you certain you're ready to turn this on?\";\n  }\n\n  get hasInvalidDelay() {\n    return (\n      this.data.delay_in_seconds > MAX_DELAY_IN_SECONDS ||\n      this.data.delay_in_seconds < MIN_DELAY_IN_SECONDS\n    );\n  }\n\n  reorder(newIndex) {\n    return put(`/ember/workflows/${this.id}/reorder`, {\n      order: newIndex,\n      app_id: this.appService.app.id,\n    });\n  }\n}\n","import { default as RuleAction } from 'embercom/models/rules/rule-action';\n\nexport default class WorkflowAction extends RuleAction {\n  get indexComponent() {\n    return `workflows/index/actions/${this.type}`;\n  }\n\n  get sortOrder() {\n    return [\n      'assign-conversation',\n      'assign-conversation-to-owner',\n      'change-conversation-priority',\n      'apply-conversation-sla',\n      'add-tag-to-conversation',\n      'close-conversation',\n      'set-conversation-attribute-data',\n    ].indexOf(this.type);\n  }\n}\n","import { modifier } from 'ember-modifier';\nimport { next } from '@ember/runloop';\n\nexport default modifier((element, [active]) => {\n  if (active === false) {\n    return;\n  }\n  // running this in a `next` give enough time for elements with simple animations to become visible\n  // eg. in our editor panels\n  next(this, () => {\n    element.focus();\n  });\n});\n","import { modifier } from 'ember-modifier';\nimport { next } from '@ember/runloop';\n\nexport default modifier((element, [active]) => {\n  if (active === false) {\n    return;\n  }\n  // running this in a `next` give enough time for elements with simple animations to become visible\n  // eg. in our editor panels\n  next(this, () => {\n    element.select();\n  });\n});\n","import Modifier from 'ember-modifier';\nimport { inject as service } from '@ember/service';\nimport { bind } from '@ember/runloop';\nimport Clipboard from 'clipboard';\n\nexport default class CopyToClipboardModifier extends Modifier {\n  @service notificationsService;\n\n  clipboard = null;\n  handler = null;\n\n  get text() {\n    return this.args.named.text;\n  }\n\n  get onSuccess() {\n    return this.args.named.onSuccess || (() => {});\n  }\n\n  get onFailure() {\n    return this.args.named.onFailure || (() => {});\n  }\n\n  get confirmationMessage() {\n    return this.args.named.confirmationMessage || 'Copied to clipboard';\n  }\n\n  get errorMessage() {\n    return (\n      this.args.named.errorMessage ||\n      'Your browser does not support copying directly to the clipboard. Please use Ctrl - C to do this instead.'\n    );\n  }\n\n  addEventListener() {\n    this.clipboard = new Clipboard(this.element, { text: () => this.text });\n\n    this.clipboard.on(\n      'success',\n      bind(this, () => {\n        this.notificationsService.notifyConfirmation(`${this.confirmationMessage}`);\n        this.onSuccess();\n      }),\n    );\n\n    this.clipboard.on(\n      'error',\n      bind(this, () => {\n        this.notificationsService.notifyWarning(this.errorMessage);\n        this.onFailure();\n      }),\n    );\n  }\n\n  removeEventListener() {\n    if (this.clipboard) {\n      this.clipboard.destroy();\n    }\n  }\n\n  didReceiveArguments() {\n    this.removeEventListener();\n    this.addEventListener();\n  }\n\n  willRemove() {\n    this.removeEventListener();\n  }\n}\n","define(\"embercom/modifiers/did-insert\", [\"exports\", \"@ember/render-modifiers/modifiers/did-insert\"], function (_exports, _didInsert) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _didInsert.default;\n    }\n  });\n});\n","define(\"embercom/modifiers/did-update\", [\"exports\", \"@ember/render-modifiers/modifiers/did-update\"], function (_exports, _didUpdate) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _didUpdate.default;\n    }\n  });\n});\n","import SortableGroup from 'embercom/modifiers/sortable-group';\n\nexport default class IntercomSortableGroup extends SortableGroup {\n  willRemove() {\n    this.announcer.remove();\n    this.removeEventListener();\n    this.sortableService.deregisterGroup(this.groupName, this);\n  }\n}\n","define(\"embercom/modifiers/keyboard-shortcut\", [\"exports\", \"ember-keyboard/deprecated/modifiers/keyboard-shortcut\"], function (_exports, _keyboardShortcut) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _keyboardShortcut.default;\n    }\n  });\n});\n","import { modifier } from 'ember-modifier';\nimport { throttle } from '@ember/runloop';\nimport ENV from 'embercom/config/environment';\n\nexport default modifier((_element, [onScroll], { scrollSelector }) => {\n  if (scrollSelector) {\n    let eventHandler = function(event) {\n      throttle(onScroll, event.target.scrollTop, ENV.APP._15MS);\n    };\n\n    let scrollContainerElement = document.querySelector(scrollSelector);\n\n    if (scrollContainerElement) {\n      scrollContainerElement.addEventListener('scroll', eventHandler);\n\n      // clean up when the element is removed\n      return () => scrollContainerElement.removeEventListener('scroll', eventHandler);\n    } else {\n      console.warn(`The scroll container doesn't exist (selector \"${scrollSelector}\" was used)`);\n    }\n  }\n});\n","/*\n * Nolaneo – ResizeObserver is supported by Chrome, Firefox, and Safari 13.1+.\n * This represents the vast majority of our userbase so I am chosing not to add the polyfill.\n * If you have a usecase where Teammates cannot use the native browser implementation of this feature,\n * please update this modifier with the polyfill from here https://github.com/juggle/resize-observer\n */\n\nimport Modifier from 'ember-modifier';\n\nexport default class OnElementResize extends Modifier {\n  element;\n  hander;\n  resizeObserver;\n  animationFrameId;\n\n  get handler() {\n    return this.args.positional?.firstObject;\n  }\n\n  didReceiveArguments() {\n    this.removeResizeObserver();\n    this.addResizeObserver();\n  }\n\n  willRemove() {\n    this.removeResizeObserver();\n  }\n\n  addResizeObserver() {\n    if (!window.ResizeObserver) {\n      return console.warn(`ResizeObserver is not supported by this browser`);\n    }\n    this.resizeObserver = new ResizeObserver(() => this.handler(this.element));\n    // requestAnimationFrame is required here because browsers don't currently implement the\n    // ResizeObserver spec correctly: https://github.com/hshoff/vx/pull/335\n    // https://github.com/WICG/ResizeObserver/issues/38\n    this.animationFrameId = window.requestAnimationFrame(() =>\n      this.resizeObserver.observe(this.element),\n    );\n  }\n\n  removeResizeObserver() {\n    if (this.resizeObserver) {\n      window.cancelAnimationFrame(this.animationFrameId);\n      this.resizeObserver.disconnect();\n    }\n  }\n}\n","define(\"embercom/modifiers/on-key\", [\"exports\", \"ember-keyboard/modifiers/on-key\"], function (_exports, _onKey) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _onKey.default;\n    }\n  });\n});\n","define(\"embercom/modifiers/on-keyboard\", [\"exports\", \"ember-keyboard/deprecated/modifiers/on-keyboard\"], function (_exports, _onKeyboard) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _onKeyboard.default;\n    }\n  });\n});\n","define(\"embercom/modifiers/ref\", [\"exports\", \"ember-ref-modifier/modifiers/ref\"], function (_exports, _ref) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _ref.default;\n    }\n  });\n});\n","define(\"embercom/modifiers/sortable-group\", [\"exports\", \"ember-sortable/modifiers/sortable-group\"], function (_exports, _sortableGroup) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _sortableGroup.default;\n    }\n  });\n});\n","define(\"embercom/modifiers/sortable-handle\", [\"exports\", \"ember-sortable/modifiers/sortable-handle\"], function (_exports, _sortableHandle) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _sortableHandle.default;\n    }\n  });\n});\n","define(\"embercom/modifiers/sortable-item\", [\"exports\", \"ember-sortable/modifiers/sortable-item\"], function (_exports, _sortableItem) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _sortableItem.default;\n    }\n  });\n});\n","define(\"embercom/modifiers/tooltip\", [\"exports\", \"@intercom/embercom-core/modifiers/tooltip\"], function (_exports, _tooltip) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _tooltip.default;\n    }\n  });\n});\n","define(\"embercom/modifiers/trap-focus\", [\"exports\", \"@intercom/embercom-core/modifiers/trap-focus\"], function (_exports, _trapFocus) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _trapFocus.default;\n    }\n  });\n});\n","define(\"embercom/modifiers/will-destroy\", [\"exports\", \"@ember/render-modifiers/modifiers/will-destroy\"], function (_exports, _willDestroy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _willDestroy.default;\n    }\n  });\n});\n","import ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\n\nexport default class StandardAudienceEditorConfiguration {\n  matchBehaviorSwitcher = null;\n  clientPredicatesEditor = null;\n  audienceRulesEditor = null;\n  audiencePreview = null;\n\n  // default values\n  defaults = {\n    showMatchBehavior: false,\n    showClientPredicates: false,\n    showAudiencePreview: true,\n    useRolePredicateGroup: false,\n  };\n\n  constructor(inputs) {\n    this.inputs = { ...this.defaults, ...inputs };\n    this.createDefaults();\n  }\n\n  createDefaults() {\n    if (this.inputs.showMatchBehavior) {\n      this.matchBehaviorSwitcher = this._createComponent(\n        'content-editor/audience-wrappers/standard/match-behavior-switcher',\n        this.inputs,\n      );\n    }\n\n    if (this.inputs.showClientPredicates) {\n      this.clientPredicatesEditor = this._createComponent(\n        'content-editor/audience-wrappers/standard/client-predicates-editor',\n        this.inputs,\n      );\n    }\n\n    this.audienceRulesEditor = this._createComponent(\n      'content-editor/audience-wrappers/standard/audience-rules-editor',\n      this.inputs,\n    );\n\n    if (this.inputs.showAudiencePreview) {\n      this.audiencePreview = this._createComponent(\n        'content-editor/audience-wrappers/standard/audience-preview',\n        this.inputs,\n      );\n    }\n  }\n\n  _createComponent(component, config) {\n    return ComponentConfiguration.create({\n      component,\n      config,\n    });\n  }\n}\n","import { assert } from '@ember/debug';\n\nexport default class ComponentConfiguration {\n  component = undefined;\n\n  constructor(params) {\n    this.component = params?.component;\n\n    assert('You must specify the path to the component file', this.component);\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport { assert } from '@ember/debug';\nimport { isArray } from '@ember/array';\n\n// The ActiveViewConfiguration is a simple\n// object that maps view keys to an array of component configurations.\n\nexport default EmberObject.extend({\n  init() {\n    this._super(...arguments);\n    Object.keys(this)\n      .reject(property => property === '_super')\n      .forEach(property => {\n        let value = this.get(property);\n        assert('An array must be passed for the view component configs', isArray(value));\n        value.forEach(element => {\n          assert(\n            `Expected a component for the active view configuration [${property}]`,\n            element.component,\n          );\n\n          element.parentConfiguration = this;\n        });\n      });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport { assert } from '@ember/debug';\n\nexport default EmberObject.extend({\n  component: undefined,\n\n  init(inputs) {\n    this._super(...arguments);\n    assert('A path must be provided for the component configuration', inputs.component);\n    assert(\n      `The component path must be within the content-editor or series directory. You passed '${inputs.component}'`,\n      inputs.component.startsWith('content-editor/') || inputs.component.startsWith('series/'),\n    );\n    this.setProperties(inputs);\n  },\n});\n","import EditorConfig from 'embercom/objects/content-editor/content-editor-configuration';\nimport generateViewModeConfig from 'embercom/objects/content-editor/configuration-generators/banner/view-mode-generator';\nimport generateEditModeConfig from 'embercom/objects/content-editor/configuration-generators/banner/edit-mode-generator';\nimport generateNotificationMessages from 'embercom/objects/content-editor/configuration-generators/standard-notification-messages-generator';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default function generateEditorConfig(options) {\n  options.objectType = objectTypes.banner;\n  return EditorConfig.create({\n    viewMode: generateViewModeConfig(options),\n    editMode: generateEditModeConfig(options),\n    notificationMessages: generateNotificationMessages(options),\n    requiredFeature: 'banner_messages',\n  });\n}\n","import EditModeConfig from 'embercom/objects/content-editor/edit-mode-configuration';\nimport BannerContentPanelConfiguration from 'embercom/objects/content-editor/panels/content/banner/panel-configuration';\nimport {\n  StandardAudiencePanelConfiguration,\n  StandardGoalPanelConfiguration,\n  StandardSchedulePanelConfiguration,\n} from 'embercom/objects/content-editor/panels/standard-panel-configurations';\nimport SeriesSchedulePanelConfiguration from 'embercom/objects/content-editor/panels/schedule/series-schedule-panel-configuration';\nimport StandardEditModeHeaderConfiguration from 'embercom/objects/content-editor/headers/edit-mode/standard-header-configuration';\nimport StandardSeriesModeHeaderConfiguration from 'embercom/objects/content-editor/headers/series-mode/standard-header-configuration';\n\nexport default function generateEditModeConfig(options) {\n  let container = options.container;\n\n  return EditModeConfig.create({\n    seriesHeaderComponentConfig: StandardSeriesModeHeaderConfiguration.create({ container }),\n    headerComponentConfigs: [StandardEditModeHeaderConfiguration.create({ container })],\n    editorPanelConfigs: [\n      BannerContentPanelConfiguration.create({ container }),\n      StandardAudiencePanelConfiguration.create({\n        hideMatchBehavior: true,\n        container,\n      }),\n      StandardGoalPanelConfiguration.create({\n        introText: 'Understand how your banner drives people to take action in your product.',\n        container,\n      }),\n      StandardSchedulePanelConfiguration.create({ container }),\n      SeriesSchedulePanelConfiguration.create({ container }),\n    ],\n    footerComponentConfigs: [],\n  });\n}\n","import { and, not } from '@ember/object/computed';\nimport ViewModeConfig from 'embercom/objects/content-editor/view-mode-configuration';\nimport TabsConfiguration from 'embercom/objects/content-editor/tabs-configuration';\nimport ActiveViewConfiguration from 'embercom/objects/content-editor/active-view-configuration';\nimport StandardContentTabConfiguration from 'embercom/objects/content-editor/tabs/standard-content-tab-configuration';\nimport StandardStatTabConfiguration from 'embercom/objects/content-editor/tabs/standard-stat-tab-configuration';\nimport StandardStatListConfiguration from 'embercom/objects/content-editor/stats/standard-stat-list-configuration';\nimport {\n  StandardAudienceSummaryConfiguration,\n  StandardGoalSummaryConfiguration,\n  StandardScheduleSummaryConfiguration,\n} from 'embercom/objects/content-editor/summaries/standard-summary-configurations';\nimport ContentSummaryConfiguration from 'embercom/objects/content-editor/summaries/content/banner/summary-configuration';\nimport StandardViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-header-configuration';\nimport StandardSeriesViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-series-header-configuration';\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\n\nexport default function generateViewModeConfig(options) {\n  let container = options.container;\n  return ViewModeConfig.create({\n    seriesHeaderComponentConfig: StandardSeriesViewModeHeaderConfiguration.create({ container }),\n    headerComponentConfigs: [StandardViewModeHeaderConfiguration.create({ container })],\n    tabsConfiguration: TabsConfiguration.create({\n      container,\n      tabComponentConfigs: [\n        StandardContentTabConfiguration.create({\n          label: 'Banner',\n          icon: 'alignment-reference',\n          view: 'content',\n        }),\n        StandardStatTabConfiguration.create({\n          label: 'Views',\n          view: 'receipts',\n          container,\n        }),\n        StandardStatTabConfiguration.extend({\n          isVisible: and('contentEditorService.activeObject.isOpenAURLAction', 'isNotDraft'),\n        }).create({\n          label: 'Clicked',\n          view: 'clicks',\n          container,\n        }),\n        StandardStatTabConfiguration.extend({\n          isVisible: and('contentEditorService.activeObject.isReactionAction', 'isNotDraft'),\n        }).create({\n          label: 'Reacted',\n          view: 'reactions',\n          tabComponent: 'content-editor/tabs/reactions/stat-tab',\n          container,\n        }),\n        StandardStatTabConfiguration.extend({\n          _isNotDraft: not('contentEditorService.ruleset.isDraft'),\n          isVisible: and('contentEditorService.ruleset.hasGoal', '_isNotDraft'),\n        }).create({\n          label: 'Goal',\n          view: 'goals',\n          container,\n        }),\n        StandardStatTabConfiguration.extend({\n          isVisible: and('contentEditorService.activeObject.isEmailCollectorAction', 'isNotDraft'),\n        }).create({\n          label: 'Emails collected',\n          view: 'collectedEmails',\n          container,\n        }),\n      ],\n    }),\n    activeViewConfiguration: ActiveViewConfiguration.create({\n      content: [\n        ContentSummaryConfiguration.create({ container }),\n        StandardAudienceSummaryConfiguration.create({ container }),\n        StandardGoalSummaryConfiguration.create({ container }),\n        StandardScheduleSummaryConfiguration.create({ container }),\n      ],\n      receipts: [\n        StandardStatListConfiguration.create({\n          stat: 'receipt',\n          hideCreatedVia: true,\n          noun: 'view',\n          verb: 'view',\n          emptyStateDescription: \"As people view your banner, we'll show you when it was seen\",\n          container,\n        }),\n      ],\n      clicks: [StandardStatListConfiguration.create({ stat: 'click', container })],\n      reactions: [StandardStatListConfiguration.create({ stat: 'reaction', container })],\n      collectedEmails: [\n        StandardStatListConfiguration.create({ stat: 'collectedEmail', container }),\n      ],\n      goals: [\n        StandardStatListConfiguration.create({\n          filters: [{ text: 'Hit the goal after clicking', value: stats.click }],\n          stat: 'goalSuccess',\n          container,\n        }),\n      ],\n    }),\n    footerComponentConfigs: [],\n  });\n}\n","import NotificationMessage from 'embercom/objects/content-editor/notification-message';\nimport { inject as service } from '@ember/service';\n\nexport default function generateBotNotifcationMessages(container, humanReadableObjectName) {\n  return NotificationMessage.extend({\n    contentEditorService: service(),\n    humanReadableObjectName,\n    async confirmation() {\n      await this.contentEditorService.ruleset.fetchAudiencePreview();\n\n      let ruleset = this.contentEditorService.ruleset;\n\n      let title = `Ready to set your ${this.humanReadableObjectName} live?`;\n      let confirmButtonText = `Set live`;\n\n      let body;\n      if (ruleset.hasControlGroup) {\n        body = `Part of your audience will be sent this ${this.humanReadableObjectName} and the rest will join the control group.`;\n        if (!ruleset.isMatchBehaviorStatic) {\n          body +=\n            ' Going forward, anyone who matches your rules in the future will be split similarly.';\n        }\n      } else {\n        body = `Your ${this.humanReadableObjectName} will be sent to users who match your rules, and anyone who matches your rules in the future.`;\n      }\n\n      return { title, body, confirmButtonText };\n    },\n  }).create({\n    success: `The ${humanReadableObjectName} was set live`,\n    failure: `We couldn't set this ${humanReadableObjectName} live. Send us a message and we'll do our best to help out.`,\n    container,\n  });\n}\n","import EditorConfig from 'embercom/objects/content-editor/content-editor-configuration';\nimport generateViewModeConfig from 'embercom/objects/content-editor/configuration-generators/button-custom-bot/view-mode-generator';\nimport generateEditModeConfig from 'embercom/objects/content-editor/configuration-generators/button-custom-bot/edit-mode-generator';\nimport generateNotificationMessages from 'embercom/objects/content-editor/configuration-generators/standard-notification-messages-generator';\nimport generateBotNotificationMessages from 'embercom/objects/content-editor/configuration-generators/bot-notification-messages-generator';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport { humanReadableObjectNames } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default function generateEditorConfig(options) {\n  options.objectType = objectTypes.buttonCustomBot;\n  let container = options.container;\n  let humanReadableObjectName = humanReadableObjectNames[options.objectType];\n  let notificationMessages = generateNotificationMessages(options);\n  notificationMessages.activate = generateBotNotificationMessages(\n    container,\n    humanReadableObjectName,\n  );\n  return EditorConfig.create({\n    viewMode: generateViewModeConfig(options),\n    editMode: generateEditModeConfig(options),\n    notificationMessages,\n    requiredFeature: 'bot_workflows',\n  });\n}\n","import EditModeConfig from 'embercom/objects/content-editor/edit-mode-configuration';\nimport ButtonCustomBotContentPanelConfiguration from 'embercom/objects/content-editor/panels/content/button-custom-bot/panel-configuration';\nimport CustomBotElementSelectorPanelConfiguration from 'embercom/objects/content-editor/panels/element-selector/custom-bot/standard-panel-configuration';\nimport StandardEditModeHeaderConfiguration from 'embercom/objects/content-editor/headers/edit-mode/standard-header-configuration';\nimport MoreDropdownConfiguration from 'embercom/objects/content-editor/headers/more-dropdown-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\n\nexport default function generateEditModeConfig({ container, customBot }) {\n  let panelConfiguration = [\n    ButtonCustomBotContentPanelConfiguration.create({ container, customBot }),\n    CustomBotElementSelectorPanelConfiguration.create({ container }),\n  ];\n\n  return EditModeConfig.create({\n    headerComponentConfigs: [\n      StandardEditModeHeaderConfiguration.create({\n        container,\n        moreDropdownConfig: MoreDropdownConfiguration.create({\n          duplicateModalComponent: 'custom-bots/duplicate-modal',\n          hideCsvExportOption: true,\n          hideTagOption: false,\n          container,\n        }),\n        previewConfig: ComponentConfiguration.create({\n          container,\n          component: 'content-editor/headers/custom-bots/preview-button',\n        }),\n      }),\n    ],\n    editorPanelConfigs: panelConfiguration,\n    footerComponentConfigs: [],\n  });\n}\n","import ViewModeConfig from 'embercom/objects/content-editor/view-mode-configuration';\nimport TabsConfiguration from 'embercom/objects/content-editor/tabs-configuration';\nimport ActiveViewConfiguration from 'embercom/objects/content-editor/active-view-configuration';\nimport StandardContentTabConfiguration from 'embercom/objects/content-editor/tabs/standard-content-tab-configuration';\nimport StandardStatTabConfiguration from 'embercom/objects/content-editor/tabs/standard-stat-tab-configuration';\nimport CustomBotPathAnalysisTabConfiguration from 'embercom/objects/content-editor/tabs/custom-bot/path-analysis-tab-configuration';\nimport StandardStatListConfiguration from 'embercom/objects/content-editor/stats/standard-stat-list-configuration';\nimport CustomBotPathAnalysisConfiguration from 'embercom/objects/content-editor/stats/custom-bot/path-analysis-configuration';\nimport StandardViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-header-configuration';\nimport MoreDropdownConfiguration from 'embercom/objects/content-editor/headers/more-dropdown-configuration';\nimport CustomBotContentSummaryConfiguration from 'embercom/objects/content-editor/summaries/content/custom-bot/summary-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\n\nexport default function generateViewModeConfig({ container, customBot }) {\n  let viewModeConfig = ViewModeConfig.create({\n    headerComponentConfigs: [\n      StandardViewModeHeaderConfiguration.create({\n        container,\n        moreDropdownConfig: MoreDropdownConfiguration.create({\n          hideCsvExportOption: true,\n          hideTagOption: false,\n          container,\n        }),\n        previewConfig: ComponentConfiguration.create({\n          container,\n          component: 'content-editor/headers/custom-bots/preview-button',\n        }),\n      }),\n    ],\n    tabsConfiguration: TabsConfiguration.create({\n      container,\n      tabComponentConfigs: [\n        StandardContentTabConfiguration.create({\n          label: 'Custom bot',\n          icon: 'operator',\n          view: 'content',\n        }),\n        StandardStatTabConfiguration.create({ label: 'Sent', view: 'receipts', container }),\n        StandardStatTabConfiguration.create({ label: 'Engaged', view: 'replies', container }),\n        StandardStatTabConfiguration.create({ label: 'Completed', view: 'completions', container }),\n        CustomBotPathAnalysisTabConfiguration.create({ container }),\n      ],\n    }),\n    activeViewConfiguration: ActiveViewConfiguration.create({\n      content: [CustomBotContentSummaryConfiguration.create({ container })],\n      receipts: [\n        StandardStatListConfiguration.create({\n          stat: 'receipt',\n          hideCreatedVia: true,\n          noun: 'send',\n          verb: 'received',\n          container,\n        }),\n      ],\n      replies: [\n        StandardStatListConfiguration.create({\n          stat: 'reply',\n          hideCreatedVia: true,\n          noun: 'engagements',\n          verb: 'engaged',\n          container,\n        }),\n      ],\n      completions: [\n        StandardStatListConfiguration.create({\n          stat: 'completion',\n          hideCreatedVia: true,\n          container,\n        }),\n      ],\n      pathAnalysis: [CustomBotPathAnalysisConfiguration.create({ container })],\n    }),\n    footerComponentConfigs: [],\n  });\n\n  return viewModeConfig;\n}\n","import EditorConfig from 'embercom/objects/content-editor/content-editor-configuration';\nimport generateViewModeConfig from 'embercom/objects/content-editor/configuration-generators/carousel/view-mode-generator';\nimport generateEditModeConfig from 'embercom/objects/content-editor/configuration-generators/carousel/edit-mode-generator';\nimport generateRequiredFeature from 'embercom/objects/content-editor/configuration-generators/carousel/feature-generator';\nimport generateSeriesModeConfig from 'embercom/objects/series/ruleset-editor/carousel/editor-configuration-generator';\nimport generateNotificationMessages from 'embercom/objects/content-editor/configuration-generators/standard-notification-messages-generator';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport NotificationMessage from 'embercom/objects/content-editor/notification-message';\nimport { inject as service } from '@ember/service';\nimport { humanReadableObjectNames } from 'embercom/models/data/matching-system/matching-constants';\nimport numberFormatter from 'embercom/lib/number-formatter';\nimport pluralize from 'embercom/lib/inflector';\nimport { targetUserGroup } from 'embercom/models/data/carousel/target-user-group';\n\nexport default function generateEditorConfig(options) {\n  options.objectType = objectTypes.carousel;\n  let container = options.container;\n  let humanReadableObjectName = humanReadableObjectNames[options.objectType];\n  let notificationMessages = generateNotificationMessages(options);\n  notificationMessages.activate = generateCarouselNotifcationMessages(\n    container,\n    humanReadableObjectName,\n  );\n  notificationMessages.delete = generateCarouselDeletionMessage(container, humanReadableObjectName);\n  return EditorConfig.create({\n    viewMode: generateViewModeConfig(options),\n    editMode: generateEditModeConfig(options),\n    seriesMode: generateSeriesModeConfig(options),\n    notificationMessages,\n    requiredFeature: generateRequiredFeature(options),\n  });\n}\n\nfunction generateCarouselNotifcationMessages(container, humanReadableObjectName) {\n  return NotificationMessage.extend({\n    contentEditorService: service(),\n    humanReadableObjectName,\n    async confirmation() {\n      await this.contentEditorService.ruleset.fetchAudiencePreview();\n\n      let ruleset = this.contentEditorService.ruleset;\n\n      let audienceCount = ruleset.audiencePreview.count;\n      let audience = `${numberFormatter(audienceCount)} ${pluralize('person', audienceCount)}`;\n\n      let title = `Ready to set your ${this.humanReadableObjectName} live?`;\n      let confirmButtonText = `Set live`;\n\n      let body;\n      if (ruleset.hasControlGroup) {\n        body = `Part of your audience of ${audience} will be sent this ${this.humanReadableObjectName} and the rest will join the control group.`;\n        if (!ruleset.isMatchBehaviorStatic) {\n          body +=\n            ' Going forward, anyone who matches your rules in the future will be split similarly.';\n        }\n      } else {\n        let object = this.contentEditorService.ruleset.rulesetLinks.firstObject.object;\n        if (object.targetUserGroup === targetUserGroup.new.value) {\n          body = `Your Mobile Carousel will be sent to new users who match your rules.`;\n        } else {\n          body = `Your ${this.humanReadableObjectName} will be sent to ${audience}`;\n          if (ruleset.isMatchBehaviorStatic) {\n            body += '.';\n          } else {\n            body += ' now, and anyone who matches your rules in the future.';\n          }\n        }\n      }\n\n      return { title, body, confirmButtonText };\n    },\n  }).create({\n    success: `The ${humanReadableObjectName} was set live`,\n    failure: `We couldn't set this ${humanReadableObjectName} live. Send us a message and we'll do our best to help out.`,\n    container,\n  });\n}\n\nfunction generateCarouselDeletionMessage(container, humanReadableObjectName) {\n  return NotificationMessage.extend({\n    contentEditorService: service(),\n    appService: service(),\n    confirmation() {\n      let title = `Delete this ${humanReadableObjectName}?`;\n      let confirmButtonText = `Delete`;\n      let primaryButtonType = 'primary-destructive';\n      let body = `Are you sure you want to delete this ${humanReadableObjectName}? This is permanent.`;\n      if (this.contentEditorService.ruleset.isLive || this.contentEditorService.ruleset.isPaused) {\n        body += ` This deletes the ${humanReadableObjectName} from Intercom and the Messenger. Any conversations it started will still be visible in the Inbox to teammates and included in reports.`;\n\n        if (this.appService.app.canUseProgrammaticCarousels) {\n          body += ` If the carousel can be triggered using code in the SDK, deleting it would break the SDK integration`;\n        }\n      }\n      return { title, body, confirmButtonText, primaryButtonType };\n    },\n  }).create({\n    success: `Your ${humanReadableObjectName} has been deleted`,\n    failure: `We could not delete your ${humanReadableObjectName}`,\n    container,\n  });\n}\n","import EditModeConfig from 'embercom/objects/content-editor/edit-mode-configuration';\nimport CarouselContentPanelConfiguration from 'embercom/objects/content-editor/panels/content/carousel/panel-configuration';\nimport CarouselTriggerProgrammaticallyPanelConfiguration from 'embercom/objects/content-editor/panels/trigger-programmatically/carousel/panel-configuration';\nimport {\n  StandardAudiencePanelConfiguration,\n  StandardGoalPanelConfiguration,\n  StandardSchedulePanelConfiguration,\n} from 'embercom/objects/content-editor/panels/standard-panel-configurations';\nimport SeriesSchedulePanelConfiguration from 'embercom/objects/content-editor/panels/schedule/series-schedule-panel-configuration';\nimport StandardEditModeHeaderConfiguration from 'embercom/objects/content-editor/headers/edit-mode/standard-header-configuration';\nimport CarouselAudienceEditorConfiguration from 'embercom/objects/content-editor/panels/audience/content/carousel/audience-editor-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport CarouselAudienceHeaderConfiguration from 'embercom/objects/content-editor/panels/audience/content/carousel/audience-header-configuration';\nimport StandardSeriesModeHeaderConfiguration from 'embercom/objects/content-editor/headers/series-mode/standard-header-configuration';\n\nexport default function generateEditModeConfig(options) {\n  let container = options.container;\n\n  let audienceEditorConfiguration = new CarouselAudienceEditorConfiguration({\n    allowedUserRoles: ['user'],\n    showClientPredicates: false,\n    container,\n  });\n  audienceEditorConfiguration.audienceRulesEditor = ComponentConfiguration.create({\n    component: 'content-editor/audience-wrappers/content/carousel/audience-rules-editor',\n    config: audienceEditorConfiguration.inputs,\n  });\n  audienceEditorConfiguration.audiencePreview = ComponentConfiguration.create({\n    component: 'content-editor/audience-wrappers/content/carousel/audience-preview',\n    config: audienceEditorConfiguration.inputs,\n  });\n\n  let app = container.lookup('service:appService').app;\n\n  let editorPanelConfigs = [\n    CarouselContentPanelConfiguration.create({ container }),\n    StandardAudiencePanelConfiguration.create({\n      audienceHeaderConfiguration: CarouselAudienceHeaderConfiguration.create({ container }),\n      audienceEditorConfiguration,\n      container,\n    }),\n  ];\n\n  if (app.canUseProgrammaticCarousels) {\n    editorPanelConfigs.push(\n      CarouselTriggerProgrammaticallyPanelConfiguration.create({ container }),\n    );\n\n    audienceEditorConfiguration.footer = ComponentConfiguration.create({\n      component: 'content-editor/panels/audience/content/carousel/footer',\n      config: audienceEditorConfiguration,\n    });\n  }\n\n  editorPanelConfigs = editorPanelConfigs.concat([\n    StandardGoalPanelConfiguration.create({\n      title: 'Set your goal',\n      introText: 'Understand how your carousel drives people to take action in your product.',\n      container,\n    }),\n    StandardSchedulePanelConfiguration.create({ container, title: 'Schedule your carousel' }),\n    SeriesSchedulePanelConfiguration.create({ container }),\n  ]);\n\n  return EditModeConfig.create({\n    seriesHeaderComponentConfig: StandardSeriesModeHeaderConfiguration.create({ container }),\n    headerComponentConfigs: [StandardEditModeHeaderConfiguration.create({ container })],\n    footerComponentConfigs: [],\n    editorPanelConfigs,\n  });\n}\n","export default function generateRequiredFeature(options) {\n  return 'mobile_carousels';\n}\n","import { not, and } from '@ember/object/computed';\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\nimport ViewModeConfig from 'embercom/objects/content-editor/view-mode-configuration';\nimport TabsConfiguration from 'embercom/objects/content-editor/tabs-configuration';\nimport ActiveViewConfiguration from 'embercom/objects/content-editor/active-view-configuration';\nimport StandardContentTabConfiguration from 'embercom/objects/content-editor/tabs/standard-content-tab-configuration';\nimport StandardStatTabConfiguration from 'embercom/objects/content-editor/tabs/standard-stat-tab-configuration';\nimport StandardStatListConfiguration from 'embercom/objects/content-editor/stats/standard-stat-list-configuration';\nimport {\n  StandardGoalSummaryConfiguration,\n  StandardScheduleSummaryConfiguration,\n} from 'embercom/objects/content-editor/summaries/standard-summary-configurations';\nimport CarouselAudienceSummaryConfiguration from 'embercom/objects/content-editor/summaries/audience/content/carousel/carousel-audience-summary-configuration';\nimport CarouselTriggerProgrammaticallySummaryConfiguration from 'embercom/objects/content-editor/summaries/trigger-programmatically/carousel/summary-configuration';\nimport StandardViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-header-configuration';\nimport ContentSummaryConfiguration from 'embercom/objects/content-editor/summaries/content/carousel/summary-configuration';\nimport StandardSeriesViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-series-header-configuration';\n\nexport default function generateViewModeConfig(options) {\n  let container = options.container;\n  return ViewModeConfig.create({\n    seriesHeaderComponentConfig: StandardSeriesViewModeHeaderConfiguration.create({ container }),\n    headerComponentConfigs: [StandardViewModeHeaderConfiguration.create({ container })],\n    tabsConfiguration: TabsConfiguration.create({\n      container,\n      tabComponentConfigs: [\n        StandardContentTabConfiguration.create({\n          label: 'Carousel',\n          icon: 'ios',\n          view: 'content',\n        }),\n        StandardStatTabConfiguration.create({\n          label: 'Sent',\n          view: 'receipts',\n          container,\n        }),\n        StandardStatTabConfiguration.create({\n          label: 'Completed',\n          view: 'completions',\n          container,\n        }),\n        StandardStatTabConfiguration.extend({\n          _isNotDraft: not('contentEditorService.ruleset.isDraft'),\n          isVisible: and('contentEditorService.ruleset.hasGoal', '_isNotDraft'),\n        }).create({\n          label: 'Goal',\n          view: 'goals',\n          container,\n        }),\n      ],\n    }),\n    activeViewConfiguration: ActiveViewConfiguration.create({\n      content: [\n        ContentSummaryConfiguration.create({ container }),\n        CarouselAudienceSummaryConfiguration.create({ container }),\n        CarouselTriggerProgrammaticallySummaryConfiguration.create({ container }),\n        StandardGoalSummaryConfiguration.create({ container, title: 'Set your goal' }),\n        StandardScheduleSummaryConfiguration.create({ container, title: 'Schedule your carousel' }),\n      ],\n      receipts: [\n        StandardStatListConfiguration.create({\n          stat: 'receipt',\n          hideCreatedVia: true,\n          noun: 'send',\n          verb: 'received',\n          emptyStateTitle: \"No one's been sent your carousel yet\",\n          emptyStateDescription: ' ', // We need a non-empty value as override in order to hide description\n          container,\n        }),\n      ],\n      completions: [StandardStatListConfiguration.create({ stat: 'completion', container })],\n      goals: [\n        StandardStatListConfiguration.create({\n          filters: [{ text: 'Hit the goal after opening', value: stats.open }],\n          stat: 'goalSuccess',\n          container,\n        }),\n      ],\n    }),\n    footerComponentConfigs: [],\n  });\n}\n","import EditorConfig from 'embercom/objects/content-editor/content-editor-configuration';\nimport generateViewModeConfig from 'embercom/objects/content-editor/configuration-generators/chat/view-mode-generator';\nimport generateSeriesModeConfig from 'embercom/objects/series/ruleset-editor/chat/editor-configuration-generator';\nimport generateEditModeConfig from 'embercom/objects/content-editor/configuration-generators/chat/edit-mode-generator';\nimport generateNotificationMessages from 'embercom/objects/content-editor/configuration-generators/standard-notification-messages-generator';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default function generateEditorConfig(options) {\n  options.objectType = objectTypes.chat;\n  return EditorConfig.create({\n    viewMode: generateViewModeConfig(options),\n    seriesMode: generateSeriesModeConfig(options),\n    editMode: generateEditModeConfig(options),\n    notificationMessages: generateNotificationMessages(options),\n    requiredFeature: 'auto_messaging',\n  });\n}\n","import EditModeConfig from 'embercom/objects/content-editor/edit-mode-configuration';\nimport ChatContentPanelConfiguration from 'embercom/objects/content-editor/panels/content/chat/panel-configuration';\nimport {\n  StandardAudiencePanelConfiguration,\n  StandardGoalPanelConfiguration,\n  StandardSchedulePanelConfiguration,\n} from 'embercom/objects/content-editor/panels/standard-panel-configurations';\nimport SeriesSchedulePanelConfiguration from 'embercom/objects/content-editor/panels/schedule/series-schedule-panel-configuration';\nimport StandardEditModeHeaderConfiguration from 'embercom/objects/content-editor/headers/edit-mode/standard-header-configuration';\nimport StandardSeriesModeHeaderConfiguration from 'embercom/objects/content-editor/headers/series-mode/standard-header-configuration';\n\nexport default function generateEditModeConfig(options) {\n  let container = options.container;\n\n  return EditModeConfig.create({\n    seriesHeaderComponentConfig: StandardSeriesModeHeaderConfiguration.create({ container }),\n    headerComponentConfigs: [StandardEditModeHeaderConfiguration.create({ container })],\n    editorPanelConfigs: [\n      ChatContentPanelConfiguration.create({ container }),\n      StandardAudiencePanelConfiguration.create({ container }),\n      StandardGoalPanelConfiguration.create({\n        introText: 'Understand how your chat drives people to take action in your product.',\n        container,\n      }),\n      StandardSchedulePanelConfiguration.create({ container }),\n      SeriesSchedulePanelConfiguration.create({ container }),\n    ],\n    footerComponentConfigs: [],\n  });\n}\n","import { not, and, bool } from '@ember/object/computed';\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\nimport ViewModeConfig from 'embercom/objects/content-editor/view-mode-configuration';\nimport TabsConfiguration from 'embercom/objects/content-editor/tabs-configuration';\nimport ActiveViewConfiguration from 'embercom/objects/content-editor/active-view-configuration';\nimport StandardContentTabConfiguration from 'embercom/objects/content-editor/tabs/standard-content-tab-configuration';\nimport StandardStatTabConfiguration from 'embercom/objects/content-editor/tabs/standard-stat-tab-configuration';\nimport StandardStatListConfiguration from 'embercom/objects/content-editor/stats/standard-stat-list-configuration';\nimport {\n  StandardAudienceSummaryConfiguration,\n  StandardGoalSummaryConfiguration,\n  StandardScheduleSummaryConfiguration,\n} from 'embercom/objects/content-editor/summaries/standard-summary-configurations';\nimport ContentSummaryConfiguration from 'embercom/objects/content-editor/summaries/content/chat/summary-configuration';\nimport StandardViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-header-configuration';\nimport StandardSeriesViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-series-header-configuration';\n\nexport default function generateViewModeConfig(options) {\n  let container = options.container;\n  return ViewModeConfig.create({\n    seriesHeaderComponentConfig: StandardSeriesViewModeHeaderConfiguration.create({ container }),\n    headerComponentConfigs: [StandardViewModeHeaderConfiguration.create({ container })],\n    tabsConfiguration: TabsConfiguration.create({\n      container,\n      tabComponentConfigs: [\n        StandardContentTabConfiguration.create({\n          label: 'Chat',\n          icon: 'chat-bubble',\n          view: 'content',\n        }),\n        StandardStatTabConfiguration.create({\n          label: 'Sent',\n          view: 'receipts',\n          container,\n        }),\n        StandardStatTabConfiguration.create({\n          label: 'Opened',\n          view: 'opens',\n          container,\n        }),\n        StandardStatTabConfiguration.create({\n          label: 'Clicked',\n          view: 'clicks',\n          container,\n        }),\n        StandardStatTabConfiguration.create({\n          label: 'Replied',\n          view: 'replies',\n          container,\n        }),\n        StandardStatTabConfiguration.extend({\n          isVisible: bool('contentEditorService.activeRulesetLink.object.hasEmailCollector'),\n        }).create({\n          label: 'Emails collected',\n          view: 'collectedEmails',\n          container,\n        }),\n        StandardStatTabConfiguration.extend({\n          _isNotDraft: not('contentEditorService.ruleset.isDraft'),\n          isVisible: and('contentEditorService.ruleset.hasGoal', '_isNotDraft'),\n        }).create({\n          label: 'Goal',\n          view: 'goals',\n          container,\n        }),\n      ],\n    }),\n    activeViewConfiguration: ActiveViewConfiguration.create({\n      content: [\n        ContentSummaryConfiguration.create({ container }),\n        StandardAudienceSummaryConfiguration.create({ container }),\n        StandardGoalSummaryConfiguration.create({ container }),\n        StandardScheduleSummaryConfiguration.create({ container }),\n      ],\n      receipts: [\n        StandardStatListConfiguration.create({\n          stat: 'receipt',\n          hideCreatedVia: true,\n          noun: 'send',\n          verb: 'received',\n          emptyStateTitle: \"No one's been sent your chat yet\",\n          emptyStateDescription: ' ', // We need a non-empty value as override in order to hide description\n          container,\n        }),\n      ],\n      opens: [\n        StandardStatListConfiguration.create({ stat: 'open', hideCreatedVia: true, container }),\n      ],\n      clicks: [StandardStatListConfiguration.create({ stat: 'click', container })],\n      replies: [StandardStatListConfiguration.create({ stat: 'reply', container })],\n      collectedEmails: [\n        StandardStatListConfiguration.create({ stat: 'collectedEmail', container }),\n      ],\n      goals: [\n        StandardStatListConfiguration.create({\n          filters: [\n            { text: 'Hit the goal after opening', value: stats.open },\n            { text: 'Hit the goal after clicking', value: stats.click },\n            { text: 'Hit the goal after replying', value: stats.reply },\n            { text: 'Hit the goal after provided email', value: stats.collectedEmail },\n          ],\n          stat: 'goalSuccess',\n          container,\n        }),\n      ],\n    }),\n    footerComponentConfigs: [],\n  });\n}\n","import generateViewModeConfig from 'embercom/objects/content-editor/configuration-generators/control-group/view-mode-generator';\n\nexport default function generateEditorConfig(options) {\n  return {\n    viewMode: generateViewModeConfig(options),\n  };\n}\n","import { not, and } from '@ember/object/computed';\nimport ViewModeConfig from 'embercom/objects/content-editor/view-mode-configuration';\nimport TabsConfiguration from 'embercom/objects/content-editor/tabs-configuration';\nimport ActiveViewConfiguration from 'embercom/objects/content-editor/active-view-configuration';\nimport StandardContentTabConfiguration from 'embercom/objects/content-editor/tabs/standard-content-tab-configuration';\nimport StandardStatTabConfiguration from 'embercom/objects/content-editor/tabs/standard-stat-tab-configuration';\nimport StandardStatListConfiguration from 'embercom/objects/content-editor/stats/standard-stat-list-configuration';\nimport ContentSummaryConfiguration from 'embercom/objects/content-editor/summaries/content/control-group/summary-configuration';\nimport StandardSeriesViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-series-header-configuration';\n\nexport default function generateViewModeConfig(options) {\n  // baseConfig here should be the editor configuration of the object we are creating a control\n  // group for. i.e. contentEditorService.editorConfiguration\n  let baseViewModeConfig = options.baseConfig.viewMode;\n  let container = options.container;\n\n  return ViewModeConfig.create({\n    seriesHeaderComponentConfig: StandardSeriesViewModeHeaderConfiguration.create({ container }),\n    headerComponentConfigs: baseViewModeConfig.headerComponentConfigs,\n    tabsConfiguration: TabsConfiguration.create({\n      container,\n      tabComponentConfigs: [\n        StandardContentTabConfiguration.create({\n          label: 'Control group',\n          icon: 'multiple-people',\n          view: 'content',\n        }),\n        StandardStatTabConfiguration.create({\n          label: 'Members',\n          view: 'receipts',\n          container,\n        }),\n        StandardStatTabConfiguration.extend({\n          _isNotDraft: not('contentEditorService.ruleset.isDraft'),\n          isVisible: and('contentEditorService.ruleset.hasGoal', '_isNotDraft'),\n        }).create({\n          label: 'Goal',\n          view: 'goals',\n          container,\n        }),\n      ],\n    }),\n    activeViewConfiguration: ActiveViewConfiguration.create({\n      content: [\n        ContentSummaryConfiguration.create({ container }),\n        ...baseViewModeConfig.activeViewConfiguration.content.slice(1), // drop the content summary\n      ],\n      receipts: [\n        StandardStatListConfiguration.create({\n          stat: 'receipt',\n          hideCreatedVia: true,\n          noun: 'member',\n          verb: 'joined',\n          emptyStateTitle: \"No one's joined your control group yet\",\n          emptyStateDescription: ' ', // We need a non-empty value as override in order to hide description\n          container,\n        }),\n      ],\n      opens: [\n        StandardStatListConfiguration.create({ stat: 'open', hideCreatedVia: true, container }),\n      ],\n      goals: [\n        StandardStatListConfiguration.create({\n          stat: 'goalSuccess',\n          container,\n        }),\n      ],\n    }),\n    footerComponentConfigs: baseViewModeConfig.footerComponentConfigs,\n  });\n}\n","import EditorConfig from 'embercom/objects/content-editor/content-editor-configuration';\nimport generateViewModeConfig from 'embercom/objects/content-editor/configuration-generators/custom-bot/view-mode-generator';\nimport generateEditModeConfig from 'embercom/objects/content-editor/configuration-generators/custom-bot/edit-mode-generator';\nimport generateSeriesModeConfig from 'embercom/objects/series/ruleset-editor/bot/editor-configuration-generator';\nimport generateNotificationMessages from 'embercom/objects/content-editor/configuration-generators/standard-notification-messages-generator';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default function generateEditorConfig(options) {\n  options.objectType = objectTypes.customBot;\n\n  return EditorConfig.create({\n    viewMode: generateViewModeConfig(options),\n    editMode: generateEditModeConfig(options),\n    seriesMode: generateSeriesModeConfig(options),\n    notificationMessages: generateNotificationMessages(options),\n    requiredFeature: 'bot_workflows',\n  });\n}\n","import EditModeConfig from 'embercom/objects/content-editor/edit-mode-configuration';\nimport CustomBotContentPanelConfiguration from 'embercom/objects/content-editor/panels/content/custom-bot/panel-configuration';\nimport {\n  StandardAudiencePanelConfiguration,\n  StandardSchedulePanelConfiguration,\n} from 'embercom/objects/content-editor/panels/standard-panel-configurations';\nimport SeriesSchedulePanelConfiguration from 'embercom/objects/content-editor/panels/schedule/series-schedule-panel-configuration';\nimport StandardEditModeHeaderConfiguration from 'embercom/objects/content-editor/headers/edit-mode/standard-header-configuration';\nimport MoreDropdownConfiguration from 'embercom/objects/content-editor/headers/more-dropdown-configuration';\nimport { timezoneTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport StandardAudienceEditorConfiguration from 'embercom/objects/content-editor/panels/audience/standard-audience-editor-configuration';\nimport { StandardGoalPanelConfiguration } from 'embercom/objects/content-editor/panels/standard-panel-configurations';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport StandardSeriesModeHeaderConfiguration from 'embercom/objects/content-editor/headers/series-mode/standard-header-configuration';\n\nexport default function generateEditModeConfig({ container, customBot }) {\n  let panelConfiguration = [\n    CustomBotContentPanelConfiguration.create({ container, customBot }),\n    StandardAudiencePanelConfiguration.create({\n      hideMatchBehavior: true,\n      audienceEditorConfiguration: new StandardAudienceEditorConfiguration({\n        showMatchBehavior: false,\n        allowedUserRoles: customBot.allowedUserRoles,\n        container,\n      }),\n      container,\n    }),\n    StandardSchedulePanelConfiguration.create({\n      timezoneType: timezoneTypes.basedOnAppTimezone,\n      container,\n    }),\n    SeriesSchedulePanelConfiguration.create({ container }),\n  ];\n\n  panelConfiguration.splice(\n    3,\n    0,\n    StandardGoalPanelConfiguration.create({\n      introText: 'Understand how your bot drives people to take action in your product.',\n      container,\n    }),\n  );\n\n  return EditModeConfig.create({\n    seriesHeaderComponentConfig: StandardSeriesModeHeaderConfiguration.create({\n      container,\n      previewConfig: ComponentConfiguration.create({\n        container,\n        component: 'content-editor/headers/custom-bots/preview-button',\n      }),\n    }),\n    headerComponentConfigs: [\n      StandardEditModeHeaderConfiguration.create({\n        container,\n        moreDropdownConfig: MoreDropdownConfiguration.create({\n          duplicateModalComponent: 'custom-bots/duplicate-modal',\n          hideCsvExportOption: true,\n          hideTagOption: false,\n          container,\n        }),\n        previewConfig: ComponentConfiguration.create({\n          container,\n          component: 'content-editor/headers/custom-bots/preview-button',\n        }),\n      }),\n    ],\n    editorPanelConfigs: panelConfiguration,\n    footerComponentConfigs: [],\n  });\n}\n","import EditModeConfig from 'embercom/objects/content-editor/edit-mode-configuration';\nimport CustomBotContentPanelConfiguration from 'embercom/objects/content-editor/panels/content/custom-bot/panel-configuration';\nimport { StandardSchedulePanelConfiguration } from 'embercom/objects/content-editor/panels/standard-panel-configurations';\nimport { timezoneTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default function generateEditModeConfig({ container, customBot }) {\n  return EditModeConfig.create({\n    editorPanelConfigs: [\n      CustomBotContentPanelConfiguration.create({ container, customBot }),\n      StandardSchedulePanelConfiguration.create({\n        timezoneType: timezoneTypes.basedOnUserTimezone,\n        container,\n      }),\n    ],\n  });\n}\n","import { not, and } from '@ember/object/computed';\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\nimport ViewModeConfig from 'embercom/objects/content-editor/view-mode-configuration';\nimport TabsConfiguration from 'embercom/objects/content-editor/tabs-configuration';\nimport ActiveViewConfiguration from 'embercom/objects/content-editor/active-view-configuration';\nimport StandardContentTabConfiguration from 'embercom/objects/content-editor/tabs/standard-content-tab-configuration';\nimport StandardStatTabConfiguration from 'embercom/objects/content-editor/tabs/standard-stat-tab-configuration';\nimport CustomBotPathAnalysisTabConfiguration from 'embercom/objects/content-editor/tabs/custom-bot/path-analysis-tab-configuration';\nimport StandardStatListConfiguration from 'embercom/objects/content-editor/stats/standard-stat-list-configuration';\nimport CustomBotPathAnalysisConfiguration from 'embercom/objects/content-editor/stats/custom-bot/path-analysis-configuration';\nimport {\n  StandardAudienceSummaryConfiguration,\n  StandardGoalSummaryConfiguration,\n  StandardScheduleSummaryConfiguration,\n} from 'embercom/objects/content-editor/summaries/standard-summary-configurations';\nimport CustomBotChannelSummaryConfiguration from 'embercom/objects/content-editor/summaries/channel/custom-bot/custom-bot-channel-summary-configuration';\nimport StandardViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-header-configuration';\nimport MoreDropdownConfiguration from 'embercom/objects/content-editor/headers/more-dropdown-configuration';\nimport CustomBotContentSummaryConfiguration from 'embercom/objects/content-editor/summaries/content/custom-bot/summary-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport StandardSeriesViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-series-header-configuration';\n\nexport default function generateViewModeConfig({ container, customBot }) {\n  let viewModeConfig = ViewModeConfig.create({\n    seriesHeaderComponentConfig: StandardSeriesViewModeHeaderConfiguration.create({ container }),\n    headerComponentConfigs: [\n      StandardViewModeHeaderConfiguration.create({\n        container,\n        moreDropdownConfig: MoreDropdownConfiguration.create({\n          duplicateModalComponent: 'custom-bots/duplicate-modal',\n          hideCsvExportOption: true,\n          hideTagOption: false,\n          container,\n        }),\n        previewConfig: ComponentConfiguration.create({\n          container,\n          component: 'content-editor/headers/custom-bots/preview-button',\n        }),\n      }),\n    ],\n    tabsConfiguration: TabsConfiguration.create({\n      container,\n      tabComponentConfigs: [\n        StandardContentTabConfiguration.create({\n          label: 'Custom bot',\n          icon: 'operator',\n          view: 'content',\n        }),\n        StandardStatTabConfiguration.create({ label: 'Sent', view: 'receipts', container }),\n        StandardStatTabConfiguration.create({ label: 'Engaged', view: 'replies', container }),\n        StandardStatTabConfiguration.create({ label: 'Completed', view: 'completions', container }),\n        CustomBotPathAnalysisTabConfiguration.create({ container }),\n      ],\n    }),\n    activeViewConfiguration: ActiveViewConfiguration.create({\n      content: [\n        CustomBotContentSummaryConfiguration.create({ container }),\n        StandardAudienceSummaryConfiguration.create({\n          hideMatchBehavior: true,\n          allowedUserRoles: customBot.allowedUserRoles,\n          container,\n        }),\n        CustomBotChannelSummaryConfiguration.create({ container }),\n        StandardScheduleSummaryConfiguration.create({ container }),\n      ],\n      receipts: [\n        StandardStatListConfiguration.create({\n          stat: 'receipt',\n          hideCreatedVia: true,\n          noun: 'send',\n          verb: 'received',\n          container,\n        }),\n      ],\n      replies: [\n        StandardStatListConfiguration.create({\n          stat: 'reply',\n          hideCreatedVia: true,\n          noun: 'engagements',\n          verb: 'engaged',\n          container,\n        }),\n      ],\n      completions: [\n        StandardStatListConfiguration.create({\n          stat: 'completion',\n          hideCreatedVia: true,\n          container,\n        }),\n      ],\n      pathAnalysis: [CustomBotPathAnalysisConfiguration.create({ container })],\n    }),\n    footerComponentConfigs: [],\n  });\n\n  viewModeConfig.tabsConfiguration.tabComponentConfigs.splice(\n    4,\n    0,\n    StandardStatTabConfiguration.extend({\n      _isNotDraft: not('contentEditorService.ruleset.isDraft'),\n      isVisible: and('contentEditorService.ruleset.hasGoal', '_isNotDraft'),\n    }).create({ label: 'Goal', view: 'goals', container }),\n  );\n\n  viewModeConfig.activeViewConfiguration.content.splice(\n    3,\n    0,\n    StandardGoalSummaryConfiguration.create({ container }),\n  );\n\n  viewModeConfig.activeViewConfiguration.goals = [\n    StandardStatListConfiguration.create({\n      filters: [\n        { text: 'Hit the goal after engaging', value: stats.reply },\n        { text: 'Hit the goal after completing', value: stats.completion },\n      ],\n      stat: 'goalSuccess',\n      container,\n    }),\n  ];\n\n  return viewModeConfig;\n}\n","import EditorConfig from 'embercom/objects/content-editor/content-editor-configuration';\nimport generateViewModeConfig from 'embercom/objects/content-editor/configuration-generators/email/view-mode-generator';\nimport generateEditModeConfig from 'embercom/objects/content-editor/configuration-generators/email/edit-mode-generator';\nimport generateNotificationMessages from 'embercom/objects/content-editor/configuration-generators/standard-notification-messages-generator';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport generateSeriesModeConfig from 'embercom/objects/series/ruleset-editor/email/editor-configuration-generator';\n\nexport default function generateEditorConfig(options) {\n  options.objectType = objectTypes.email;\n  return EditorConfig.create({\n    viewMode: generateViewModeConfig(options),\n    editMode: generateEditModeConfig(options),\n    notificationMessages: generateNotificationMessages(options),\n    seriesMode: generateSeriesModeConfig(options),\n    requiredFeature: 'auto_messaging',\n  });\n}\n","import EditModeConfig from 'embercom/objects/content-editor/edit-mode-configuration';\nimport EmailContentPanelConfiguration from 'embercom/objects/content-editor/panels/content/email/panel-configuration';\nimport {\n  StandardAudiencePanelConfiguration,\n  StandardGoalPanelConfiguration,\n  StandardSchedulePanelConfiguration,\n} from 'embercom/objects/content-editor/panels/standard-panel-configurations';\nimport SeriesSchedulePanelConfiguration from 'embercom/objects/content-editor/panels/schedule/series-schedule-panel-configuration';\nimport StandardEditModeHeaderConfiguration from 'embercom/objects/content-editor/headers/edit-mode/standard-header-configuration';\nimport StandardSeriesModeHeaderConfiguration from 'embercom/objects/content-editor/headers/series-mode/standard-header-configuration';\nimport { timezoneTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default function generateEditModeConfig(options) {\n  let container = options.container;\n\n  return EditModeConfig.create({\n    seriesHeaderComponentConfig: StandardSeriesModeHeaderConfiguration.create({ container }),\n    headerComponentConfigs: [StandardEditModeHeaderConfiguration.create({ container })],\n    editorPanelConfigs: [\n      EmailContentPanelConfiguration.create({ container }),\n      StandardAudiencePanelConfiguration.create({ container }),\n      StandardGoalPanelConfiguration.create({\n        introText: 'Understand how your email drives people to take action in your product.',\n        container,\n      }),\n      StandardSchedulePanelConfiguration.create({\n        timezoneType: timezoneTypes.basedOnUserTimezone,\n        container,\n      }),\n      SeriesSchedulePanelConfiguration.create({\n        timezoneType: timezoneTypes.basedOnUserTimezone,\n        container,\n      }),\n    ],\n    footerComponentConfigs: [],\n  });\n}\n","import { and } from '@ember/object/computed';\nimport ViewModeConfig from 'embercom/objects/content-editor/view-mode-configuration';\nimport TabsConfiguration from 'embercom/objects/content-editor/tabs-configuration';\nimport ActiveViewConfiguration from 'embercom/objects/content-editor/active-view-configuration';\nimport StandardContentTabConfiguration from 'embercom/objects/content-editor/tabs/standard-content-tab-configuration';\nimport StandardStatTabConfiguration from 'embercom/objects/content-editor/tabs/standard-stat-tab-configuration';\nimport StandardStatListConfiguration from 'embercom/objects/content-editor/stats/standard-stat-list-configuration';\nimport {\n  StandardAudienceSummaryConfiguration,\n  StandardGoalSummaryConfiguration,\n  StandardScheduleSummaryConfiguration,\n} from 'embercom/objects/content-editor/summaries/standard-summary-configurations';\nimport ContentSummaryConfiguration from 'embercom/objects/content-editor/summaries/content/email/summary-configuration';\nimport StandardViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-header-configuration';\nimport StandardSeriesViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-series-header-configuration';\n\nexport default function generateViewModeConfig(options) {\n  let container = options.container;\n  return ViewModeConfig.create({\n    seriesHeaderComponentConfig: StandardSeriesViewModeHeaderConfiguration.create({ container }),\n    headerComponentConfigs: [StandardViewModeHeaderConfiguration.create({ container })],\n    tabsConfiguration: TabsConfiguration.create({\n      container,\n      tabComponentConfigs: [\n        StandardContentTabConfiguration.create({\n          label: 'Email',\n          icon: 'email',\n          view: 'content',\n        }),\n        StandardStatTabConfiguration.create({\n          label: 'Sent',\n          view: 'receipts',\n          container,\n        }),\n        StandardStatTabConfiguration.create({\n          label: 'Opened',\n          view: 'opens',\n          container,\n        }),\n        StandardStatTabConfiguration.create({\n          label: 'Clicked',\n          view: 'clicks',\n          container,\n        }),\n        StandardStatTabConfiguration.create({\n          label: 'Replied',\n          view: 'replies',\n          container,\n        }),\n        StandardStatTabConfiguration.extend({\n          isVisible: and('contentEditorService.ruleset.hasGoal', 'isNotDraft'),\n        }).create({\n          label: 'Goal',\n          view: 'goals',\n          container,\n        }),\n        StandardStatTabConfiguration.create({\n          label: 'Issues',\n          view: 'emailFailures',\n          container,\n        }),\n      ],\n    }),\n    activeViewConfiguration: ActiveViewConfiguration.create({\n      content: [\n        ContentSummaryConfiguration.create({ container }),\n        StandardAudienceSummaryConfiguration.create({ container }),\n        StandardGoalSummaryConfiguration.create({ container }),\n        StandardScheduleSummaryConfiguration.create({ container }),\n      ],\n      receipts: [\n        StandardStatListConfiguration.create({\n          stat: 'receipt',\n          hideCreatedVia: true,\n          noun: 'send',\n          verb: 'received',\n          emptyStateTitle: \"No one's been sent your email yet\",\n          emptyStateDescription: ' ',\n          container,\n        }),\n      ],\n      opens: [\n        StandardStatListConfiguration.create({ stat: 'open', hideCreatedVia: true, container }),\n      ],\n      clicks: [StandardStatListConfiguration.create({ stat: 'click', container })],\n      replies: [StandardStatListConfiguration.create({ stat: 'reply', container })],\n      reactions: [StandardStatListConfiguration.create({ stat: 'reaction', container })],\n      goals: [\n        StandardStatListConfiguration.create({\n          stat: 'goalSuccess',\n          container,\n        }),\n      ],\n      emailFailures: [StandardStatListConfiguration.create({ stat: 'emailFailure', container })],\n    }),\n    footerComponentConfigs: [],\n  });\n}\n","import EditorConfig from 'embercom/objects/content-editor/content-editor-configuration';\nimport generateViewModeConfig from 'embercom/objects/content-editor/configuration-generators/inbound-custom-bot/view-mode-generator';\nimport generateEditModeConfig from 'embercom/objects/content-editor/configuration-generators/inbound-custom-bot/edit-mode-generator';\nimport generateNotificationMessages from 'embercom/objects/content-editor/configuration-generators/standard-notification-messages-generator';\nimport generateBotNotificationMessages from 'embercom/objects/content-editor/configuration-generators/bot-notification-messages-generator';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport { humanReadableObjectNames } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default function generateEditorConfig(options) {\n  options.objectType = objectTypes.inboundCustomBot;\n  let container = options.container;\n  let humanReadableObjectName = humanReadableObjectNames[options.objectType];\n  let notificationMessages = generateNotificationMessages(options);\n  notificationMessages.activate = generateBotNotificationMessages(\n    container,\n    humanReadableObjectName,\n  );\n  return EditorConfig.create({\n    viewMode: generateViewModeConfig(options),\n    editMode: generateEditModeConfig(options),\n    notificationMessages,\n    requiredFeature: 'bot_workflows',\n  });\n}\n","import EditModeConfig from 'embercom/objects/content-editor/edit-mode-configuration';\nimport InboundCustomBotContentPanelConfiguration from 'embercom/objects/content-editor/panels/content/inbound-custom-bot/panel-configuration';\nimport {\n  StandardAudiencePanelConfiguration,\n  StandardSchedulePanelConfiguration,\n} from 'embercom/objects/content-editor/panels/standard-panel-configurations';\nimport StandardEditModeHeaderConfiguration from 'embercom/objects/content-editor/headers/edit-mode/standard-header-configuration';\nimport MoreDropdownConfiguration from 'embercom/objects/content-editor/headers/more-dropdown-configuration';\nimport { timezoneTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport StandardAudienceEditorConfiguration from 'embercom/objects/content-editor/panels/audience/standard-audience-editor-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\n\nexport default function generateEditModeConfig({ container, customBot }) {\n  let panelConfiguration = [\n    InboundCustomBotContentPanelConfiguration.create({ container, customBot }),\n    StandardAudiencePanelConfiguration.create({\n      hideMatchBehavior: true,\n      audienceEditorConfiguration: new StandardAudienceEditorConfiguration({\n        showMatchBehavior: false,\n        allowedUserRoles: customBot.allowedUserRoles,\n        container,\n      }),\n      container,\n    }),\n    StandardSchedulePanelConfiguration.create({\n      timezoneType: timezoneTypes.basedOnAppTimezone,\n      container,\n    }),\n  ];\n\n  return EditModeConfig.create({\n    headerComponentConfigs: [\n      StandardEditModeHeaderConfiguration.create({\n        container,\n        moreDropdownConfig: MoreDropdownConfiguration.create({\n          duplicateModalComponent: 'custom-bots/duplicate-modal',\n          hideCsvExportOption: true,\n          hideTagOption: false,\n          container,\n        }),\n        previewConfig: ComponentConfiguration.create({\n          container,\n          component: 'content-editor/headers/custom-bots/preview-button',\n        }),\n      }),\n    ],\n    editorPanelConfigs: panelConfiguration,\n    footerComponentConfigs: [],\n  });\n}\n","import ViewModeConfig from 'embercom/objects/content-editor/view-mode-configuration';\nimport TabsConfiguration from 'embercom/objects/content-editor/tabs-configuration';\nimport ActiveViewConfiguration from 'embercom/objects/content-editor/active-view-configuration';\nimport StandardContentTabConfiguration from 'embercom/objects/content-editor/tabs/standard-content-tab-configuration';\nimport StandardStatTabConfiguration from 'embercom/objects/content-editor/tabs/standard-stat-tab-configuration';\nimport CustomBotPathAnalysisTabConfiguration from 'embercom/objects/content-editor/tabs/custom-bot/path-analysis-tab-configuration';\nimport StandardStatListConfiguration from 'embercom/objects/content-editor/stats/standard-stat-list-configuration';\nimport CustomBotPathAnalysisConfiguration from 'embercom/objects/content-editor/stats/custom-bot/path-analysis-configuration';\nimport {\n  StandardAudienceSummaryConfiguration,\n  StandardScheduleSummaryConfiguration,\n} from 'embercom/objects/content-editor/summaries/standard-summary-configurations';\nimport CustomBotChannelSummaryConfiguration from 'embercom/objects/content-editor/summaries/channel/custom-bot/custom-bot-channel-summary-configuration';\nimport StandardViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-header-configuration';\nimport MoreDropdownConfiguration from 'embercom/objects/content-editor/headers/more-dropdown-configuration';\nimport CustomBotContentSummaryConfiguration from 'embercom/objects/content-editor/summaries/content/custom-bot/summary-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\n\nexport default function generateViewModeConfig({ container, customBot }) {\n  let viewModeConfig = ViewModeConfig.create({\n    headerComponentConfigs: [\n      StandardViewModeHeaderConfiguration.create({\n        container,\n        moreDropdownConfig: MoreDropdownConfiguration.create({\n          duplicateModalComponent: 'custom-bots/duplicate-modal',\n          hideCsvExportOption: true,\n          hideTagOption: false,\n          container,\n        }),\n        previewConfig: ComponentConfiguration.create({\n          container,\n          component: 'content-editor/headers/custom-bots/preview-button',\n        }),\n      }),\n    ],\n    tabsConfiguration: TabsConfiguration.create({\n      container,\n      tabComponentConfigs: [\n        StandardContentTabConfiguration.create({\n          label: 'Custom bot',\n          icon: 'operator',\n          view: 'content',\n        }),\n        StandardStatTabConfiguration.create({ label: 'Sent', view: 'receipts', container }),\n        StandardStatTabConfiguration.create({ label: 'Engaged', view: 'replies', container }),\n        StandardStatTabConfiguration.create({ label: 'Completed', view: 'completions', container }),\n        CustomBotPathAnalysisTabConfiguration.create({ container }),\n      ],\n    }),\n    activeViewConfiguration: ActiveViewConfiguration.create({\n      content: [\n        CustomBotContentSummaryConfiguration.create({ container }),\n        StandardAudienceSummaryConfiguration.create({\n          hideMatchBehavior: true,\n          allowedUserRoles: customBot.allowedUserRoles,\n          container,\n        }),\n        CustomBotChannelSummaryConfiguration.create({ container }),\n        StandardScheduleSummaryConfiguration.create({ container }),\n      ],\n      receipts: [\n        StandardStatListConfiguration.create({\n          stat: 'receipt',\n          hideCreatedVia: true,\n          noun: 'send',\n          verb: 'received',\n          container,\n        }),\n      ],\n      replies: [\n        StandardStatListConfiguration.create({\n          stat: 'reply',\n          hideCreatedVia: true,\n          noun: 'engagements',\n          verb: 'engaged',\n          container,\n        }),\n      ],\n      completions: [\n        StandardStatListConfiguration.create({\n          stat: 'completion',\n          hideCreatedVia: true,\n          container,\n        }),\n      ],\n      pathAnalysis: [CustomBotPathAnalysisConfiguration.create({ container })],\n    }),\n    footerComponentConfigs: [],\n  });\n\n  return viewModeConfig;\n}\n","import EditorConfig from 'embercom/objects/content-editor/content-editor-configuration';\nimport generateViewModeConfig from 'embercom/objects/content-editor/configuration-generators/post/view-mode-generator';\nimport generateEditModeConfig from 'embercom/objects/content-editor/configuration-generators/post/edit-mode-generator';\nimport generateNotificationMessages from 'embercom/objects/content-editor/configuration-generators/standard-notification-messages-generator';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport generateSeriesModeConfig from 'embercom/objects/series/ruleset-editor/post/editor-configuration-generator';\n\nexport default function generateEditorConfig(options) {\n  options.objectType = objectTypes.post;\n  return EditorConfig.create({\n    viewMode: generateViewModeConfig(options),\n    editMode: generateEditModeConfig(options),\n    notificationMessages: generateNotificationMessages(options),\n    seriesMode: generateSeriesModeConfig(options),\n    requiredFeature: 'auto_messaging',\n  });\n}\n","import EditModeConfig from 'embercom/objects/content-editor/edit-mode-configuration';\nimport AnnouncementContentPanelConfiguration from 'embercom/objects/content-editor/panels/content/post/panel-configuration';\nimport {\n  StandardAudiencePanelConfiguration,\n  StandardGoalPanelConfiguration,\n  StandardSchedulePanelConfiguration,\n} from 'embercom/objects/content-editor/panels/standard-panel-configurations';\nimport SeriesSchedulePanelConfiguration from 'embercom/objects/content-editor/panels/schedule/series-schedule-panel-configuration';\nimport StandardEditModeHeaderConfiguration from 'embercom/objects/content-editor/headers/edit-mode/standard-header-configuration';\nimport StandardSeriesModeHeaderConfiguration from 'embercom/objects/content-editor/headers/series-mode/standard-header-configuration';\n\nexport default function generateEditModeConfig(options) {\n  let container = options.container;\n\n  return EditModeConfig.create({\n    seriesHeaderComponentConfig: StandardSeriesModeHeaderConfiguration.create({ container }),\n    headerComponentConfigs: [StandardEditModeHeaderConfiguration.create({ container })],\n    editorPanelConfigs: [\n      AnnouncementContentPanelConfiguration.create({ container }),\n      StandardAudiencePanelConfiguration.create({ container }),\n      StandardGoalPanelConfiguration.create({\n        introText: 'Understand how your post drives people to take action in your product.',\n        container,\n      }),\n      StandardSchedulePanelConfiguration.create({ container }),\n      SeriesSchedulePanelConfiguration.create({ container }),\n    ],\n    footerComponentConfigs: [],\n  });\n}\n","import { and } from '@ember/object/computed';\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\nimport ViewModeConfig from 'embercom/objects/content-editor/view-mode-configuration';\nimport TabsConfiguration from 'embercom/objects/content-editor/tabs-configuration';\nimport ActiveViewConfiguration from 'embercom/objects/content-editor/active-view-configuration';\nimport StandardContentTabConfiguration from 'embercom/objects/content-editor/tabs/standard-content-tab-configuration';\nimport StandardStatTabConfiguration from 'embercom/objects/content-editor/tabs/standard-stat-tab-configuration';\nimport StandardStatListConfiguration from 'embercom/objects/content-editor/stats/standard-stat-list-configuration';\nimport {\n  StandardAudienceSummaryConfiguration,\n  StandardGoalSummaryConfiguration,\n  StandardScheduleSummaryConfiguration,\n} from 'embercom/objects/content-editor/summaries/standard-summary-configurations';\nimport ContentSummaryConfiguration from 'embercom/objects/content-editor/summaries/content/post/summary-configuration';\nimport StandardViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-header-configuration';\nimport StandardSeriesViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-series-header-configuration';\n\nexport default function generateViewModeConfig(options) {\n  let container = options.container;\n  return ViewModeConfig.create({\n    seriesHeaderComponentConfig: StandardSeriesViewModeHeaderConfiguration.create({ container }),\n    headerComponentConfigs: [StandardViewModeHeaderConfiguration.create({ container })],\n    tabsConfiguration: TabsConfiguration.create({\n      container,\n      tabComponentConfigs: [\n        StandardContentTabConfiguration.create({\n          label: 'Post',\n          icon: 'inapp-post',\n          view: 'content',\n        }),\n        StandardStatTabConfiguration.create({\n          label: 'Sent',\n          view: 'receipts',\n          container,\n        }),\n        StandardStatTabConfiguration.create({\n          label: 'Opened',\n          view: 'opens',\n          container,\n        }),\n        StandardStatTabConfiguration.create({\n          label: 'Clicked',\n          view: 'clicks',\n          container,\n        }),\n        StandardStatTabConfiguration.extend({\n          isVisible: and('contentEditorService.activeObject.isTextReply', 'isNotDraft'),\n        }).create({\n          label: 'Replied',\n          view: 'replies',\n          container,\n        }),\n        StandardStatTabConfiguration.extend({\n          isVisible: and('contentEditorService.activeObject.isReactionsReply', 'isNotDraft'),\n        }).create({\n          label: 'Reacted',\n          view: 'reactions',\n          tabComponent: 'content-editor/tabs/reactions/stat-tab',\n          container,\n        }),\n        StandardStatTabConfiguration.extend({\n          isVisible: and('contentEditorService.ruleset.hasGoal', 'isNotDraft'),\n        }).create({\n          label: 'Goal',\n          view: 'goals',\n          container,\n        }),\n      ],\n    }),\n    activeViewConfiguration: ActiveViewConfiguration.create({\n      content: [\n        ContentSummaryConfiguration.create({ container }),\n        StandardAudienceSummaryConfiguration.create({ container }),\n        StandardGoalSummaryConfiguration.create({ container }),\n        StandardScheduleSummaryConfiguration.create({ container }),\n      ],\n      receipts: [\n        StandardStatListConfiguration.create({\n          stat: 'receipt',\n          hideCreatedVia: true,\n          noun: 'send',\n          verb: 'received',\n          emptyStateTitle: \"No one's been sent your post yet\",\n          emptyStateDescription: ' ', // We need a non-empty value as override in order to hide description\n          container,\n        }),\n      ],\n      opens: [\n        StandardStatListConfiguration.create({ stat: 'open', hideCreatedVia: true, container }),\n      ],\n      clicks: [StandardStatListConfiguration.create({ stat: 'click', container })],\n      replies: [StandardStatListConfiguration.create({ stat: 'reply', container })],\n      reactions: [StandardStatListConfiguration.create({ stat: 'reaction', container })],\n      goals: [\n        StandardStatListConfiguration.create({\n          filters: [\n            { text: 'Hit the goal after opening', value: stats.open },\n            { text: 'Hit the goal after clicking', value: stats.click },\n            { text: 'Hit the goal after replying', value: stats.reply },\n            { text: 'Hit the goal after reacting', value: stats.reaction },\n          ],\n          stat: 'goalSuccess',\n          container,\n        }),\n      ],\n    }),\n    footerComponentConfigs: [],\n  });\n}\n","import EditorConfig from 'embercom/objects/content-editor/content-editor-configuration';\nimport generateSeriesModeConfig from 'embercom/objects/series/ruleset-editor/tour/editor-configuration-generator';\nimport generateViewModeConfig from 'embercom/objects/content-editor/configuration-generators/product-tour/view-mode-generator';\nimport generateEditModeConfig from 'embercom/objects/content-editor/configuration-generators/product-tour/edit-mode-generator';\nimport generateNotificationMessages from 'embercom/objects/content-editor/configuration-generators/standard-notification-messages-generator';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default function generateEditorConfig(options) {\n  options.objectType = objectTypes.tour;\n  return EditorConfig.create({\n    viewMode: generateViewModeConfig(options),\n    editMode: generateEditModeConfig(options),\n    seriesMode: generateSeriesModeConfig(options),\n    notificationMessages: generateNotificationMessages(options),\n  });\n}\n","import EditModeConfig from 'embercom/objects/content-editor/edit-mode-configuration';\nimport ProductTourContentPanelConfiguration from 'embercom/objects/content-editor/panels/content/product-tour/panel-configuration';\nimport {\n  StandardAudiencePanelConfiguration,\n  StandardGoalPanelConfiguration,\n  StandardSchedulePanelConfiguration,\n} from 'embercom/objects/content-editor/panels/standard-panel-configurations';\nimport SeriesSchedulePanelConfiguration from 'embercom/objects/content-editor/panels/schedule/series-schedule-panel-configuration';\nimport StandardEditModeHeaderConfiguration from 'embercom/objects/content-editor/headers/edit-mode/standard-header-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport StandardSeriesModeHeaderConfiguration from 'embercom/objects/content-editor/headers/series-mode/standard-header-configuration';\n\nexport default function generateEditModeConfig(options) {\n  let container = options.container;\n\n  return EditModeConfig.create({\n    seriesHeaderComponentConfig: StandardSeriesModeHeaderConfiguration.create({\n      container,\n      previewConfig: ComponentConfiguration.create({\n        container,\n        component: 'content-editor/headers/tours/preview-button',\n      }),\n    }),\n    headerComponentConfigs: [\n      StandardEditModeHeaderConfiguration.create({\n        container,\n        previewConfig: ComponentConfiguration.create({\n          container,\n          component: 'content-editor/headers/tours/preview-button',\n        }),\n      }),\n    ],\n    editorPanelConfigs: [\n      ProductTourContentPanelConfiguration.create({ container }),\n      StandardAudiencePanelConfiguration.create({\n        hideMatchBehavior: true,\n        container,\n      }),\n      StandardGoalPanelConfiguration.create({\n        introText: 'Understand how your tour drives people to take action in your product.',\n        container,\n      }),\n      StandardSchedulePanelConfiguration.create({ container }),\n      SeriesSchedulePanelConfiguration.create({ container }),\n    ],\n    footerComponentConfigs: [],\n  });\n}\n","import { not, and } from '@ember/object/computed';\nimport ViewModeConfig from 'embercom/objects/content-editor/view-mode-configuration';\nimport TabsConfiguration from 'embercom/objects/content-editor/tabs-configuration';\nimport ActiveViewConfiguration from 'embercom/objects/content-editor/active-view-configuration';\nimport StandardContentTabConfiguration from 'embercom/objects/content-editor/tabs/standard-content-tab-configuration';\nimport StandardStatTabConfiguration from 'embercom/objects/content-editor/tabs/standard-stat-tab-configuration';\nimport StandardStatListConfiguration from 'embercom/objects/content-editor/stats/standard-stat-list-configuration';\nimport {\n  StandardAudienceSummaryConfiguration,\n  StandardGoalSummaryConfiguration,\n  StandardScheduleSummaryConfiguration,\n} from 'embercom/objects/content-editor/summaries/standard-summary-configurations';\nimport ContentSummaryConfiguration from 'embercom/objects/content-editor/summaries/content/tour/summary-configuration';\nimport StandardViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-header-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport StandardSeriesViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-series-header-configuration';\n\nexport default function generateViewModeConfig(options) {\n  let container = options.container;\n  return ViewModeConfig.create({\n    seriesHeaderComponentConfig: StandardSeriesViewModeHeaderConfiguration.create({ container }),\n    headerComponentConfigs: [\n      StandardViewModeHeaderConfiguration.create({\n        container,\n        previewConfig: ComponentConfiguration.create({\n          container,\n          component: 'content-editor/headers/tours/preview-button',\n        }),\n      }),\n    ],\n    tabsConfiguration: TabsConfiguration.create({\n      container,\n      tabComponentConfigs: [\n        StandardContentTabConfiguration.create({\n          label: 'Product Tour',\n          icon: 'product-tours',\n          view: 'content',\n        }),\n        StandardStatTabConfiguration.extend({ isVisible: true }).create({\n          label: 'Views',\n          view: 'receipts',\n          container,\n        }),\n        StandardStatTabConfiguration.extend({ isVisible: true }).create({\n          label: 'Completed',\n          view: 'completions',\n          container,\n        }),\n        StandardStatTabConfiguration.extend({ isVisible: true }).create({\n          label: 'Issues',\n          view: 'tourStepFailures',\n          container,\n        }),\n        StandardStatTabConfiguration.extend({\n          _isNotDraft: not('contentEditorService.ruleset.isDraft'),\n          isVisible: and('contentEditorService.ruleset.hasGoal', '_isNotDraft'),\n        }).create({\n          label: 'Goal',\n          view: 'goals',\n          container,\n        }),\n      ],\n    }),\n    activeViewConfiguration: ActiveViewConfiguration.create({\n      content: [\n        ContentSummaryConfiguration.create({ container }),\n        StandardAudienceSummaryConfiguration.create({ container }),\n        StandardGoalSummaryConfiguration.create({ container }),\n        StandardScheduleSummaryConfiguration.create({ container }),\n      ],\n      receipts: [\n        StandardStatListConfiguration.create({\n          stat: 'receipt',\n          hideCreatedVia: true,\n          noun: 'view',\n          verb: 'view',\n          emptyStateDescription: \"As people view your tour, we'll show you when it was seen\",\n          container,\n        }),\n      ],\n      goals: [\n        StandardStatListConfiguration.create({\n          stat: 'goalSuccess',\n          container,\n        }),\n      ],\n    }),\n    footerComponentConfigs: [],\n  });\n}\n","import EditorConfig from 'embercom/objects/content-editor/content-editor-configuration';\nimport generateViewModeConfig from 'embercom/objects/content-editor/configuration-generators/push/view-mode-generator';\nimport generateEditModeConfig from 'embercom/objects/content-editor/configuration-generators/push/edit-mode-generator';\nimport generateSeriesModeConfig from 'embercom/objects/series/ruleset-editor/push/editor-configuration-generator';\nimport generateNotificationMessages from 'embercom/objects/content-editor/configuration-generators/standard-notification-messages-generator';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default function generateEditorConfig(options) {\n  options.objectType = objectTypes.push;\n  return EditorConfig.create({\n    viewMode: generateViewModeConfig(options),\n    seriesMode: generateSeriesModeConfig(options),\n    editMode: generateEditModeConfig(options),\n    notificationMessages: generateNotificationMessages(options),\n    requiredFeature: 'push_only',\n  });\n}\n","import EditModeConfig from 'embercom/objects/content-editor/edit-mode-configuration';\nimport PushContentPanelConfiguration from 'embercom/objects/content-editor/panels/content/push/panel-configuration';\nimport {\n  StandardAudiencePanelConfiguration,\n  StandardGoalPanelConfiguration,\n  StandardSchedulePanelConfiguration,\n} from 'embercom/objects/content-editor/panels/standard-panel-configurations';\nimport SeriesSchedulePanelConfiguration from 'embercom/objects/content-editor/panels/schedule/series-schedule-panel-configuration';\nimport StandardEditModeHeaderConfiguration from 'embercom/objects/content-editor/headers/edit-mode/standard-header-configuration';\nimport { timezoneTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport StandardAudienceEditorConfiguration from 'embercom/objects/content-editor/panels/audience/standard-audience-editor-configuration';\nimport StandardSeriesModeHeaderConfiguration from 'embercom/objects/content-editor/headers/series-mode/standard-header-configuration';\n\nexport default function generateEditModeConfig(options) {\n  let container = options.container;\n\n  return EditModeConfig.create({\n    seriesHeaderComponentConfig: StandardSeriesModeHeaderConfiguration.create({ container }),\n    headerComponentConfigs: [StandardEditModeHeaderConfiguration.create({ container })],\n    editorPanelConfigs: [\n      PushContentPanelConfiguration.create({ container }),\n      StandardAudiencePanelConfiguration.create({\n        allowedUserRoles: ['user'],\n        audienceEditorConfiguration: new StandardAudienceEditorConfiguration({\n          showClientPredicates: false,\n          container,\n        }),\n        container,\n      }),\n      StandardGoalPanelConfiguration.create({\n        introText: 'Understand how your mobile push drives people to take action in your product.',\n        container,\n      }),\n      StandardSchedulePanelConfiguration.create({\n        timezoneType: timezoneTypes.basedOnUserTimezone,\n        container,\n      }),\n      SeriesSchedulePanelConfiguration.create({\n        timezoneType: timezoneTypes.basedOnUserTimezone,\n        container,\n      }),\n    ],\n    footerComponentConfigs: [],\n  });\n}\n","import { not, and } from '@ember/object/computed';\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\nimport ViewModeConfig from 'embercom/objects/content-editor/view-mode-configuration';\nimport TabsConfiguration from 'embercom/objects/content-editor/tabs-configuration';\nimport ActiveViewConfiguration from 'embercom/objects/content-editor/active-view-configuration';\nimport StandardContentTabConfiguration from 'embercom/objects/content-editor/tabs/standard-content-tab-configuration';\nimport StandardStatTabConfiguration from 'embercom/objects/content-editor/tabs/standard-stat-tab-configuration';\nimport StandardStatListConfiguration from 'embercom/objects/content-editor/stats/standard-stat-list-configuration';\nimport {\n  StandardAudienceSummaryConfiguration,\n  StandardGoalSummaryConfiguration,\n  StandardScheduleSummaryConfiguration,\n} from 'embercom/objects/content-editor/summaries/standard-summary-configurations';\nimport ContentSummaryConfiguration from 'embercom/objects/content-editor/summaries/content/push/summary-configuration';\nimport StandardViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-header-configuration';\nimport StandardSeriesViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-series-header-configuration';\n\nexport default function generateViewModeConfig(options) {\n  let container = options.container;\n  return ViewModeConfig.create({\n    seriesHeaderComponentConfig: StandardSeriesViewModeHeaderConfiguration.create({ container }),\n    headerComponentConfigs: [StandardViewModeHeaderConfiguration.create({ container })],\n    tabsConfiguration: TabsConfiguration.create({\n      container,\n      tabComponentConfigs: [\n        StandardContentTabConfiguration.create({\n          label: 'Mobile push',\n          icon: 'ios',\n          view: 'content',\n        }),\n        StandardStatTabConfiguration.create({\n          label: 'Sent',\n          view: 'receipts',\n          container,\n        }),\n        StandardStatTabConfiguration.create({\n          label: 'Opened',\n          view: 'opens',\n          container,\n        }),\n        StandardStatTabConfiguration.extend({\n          _isNotDraft: not('contentEditorService.ruleset.isDraft'),\n          isVisible: and('contentEditorService.ruleset.hasGoal', '_isNotDraft'),\n        }).create({\n          label: 'Goal',\n          view: 'goals',\n          container,\n        }),\n      ],\n    }),\n    activeViewConfiguration: ActiveViewConfiguration.create({\n      content: [\n        ContentSummaryConfiguration.create({ container }),\n        StandardAudienceSummaryConfiguration.create({\n          allowedUserRoles: ['user'],\n          container,\n        }),\n        StandardGoalSummaryConfiguration.create({ container }),\n        StandardScheduleSummaryConfiguration.create({ container }),\n      ],\n      receipts: [\n        StandardStatListConfiguration.create({\n          stat: 'receipt',\n          hideCreatedVia: true,\n          noun: 'send',\n          verb: 'received',\n          emptyStateTitle: \"No one's been sent your mobile push yet\",\n          emptyStateDescription: ' ', // We need a non-empty value as override in order to hide description\n          container,\n        }),\n      ],\n      opens: [\n        StandardStatListConfiguration.create({ stat: 'open', hideCreatedVia: true, container }),\n      ],\n      goals: [\n        StandardStatListConfiguration.create({\n          filters: [{ text: 'Hit the goal after opening', value: stats.open }],\n          stat: 'goalSuccess',\n          container,\n        }),\n      ],\n    }),\n    footerComponentConfigs: [],\n  });\n}\n","import SeriesEditorConfig from 'embercom/objects/content-editor/series-editor-configuration';\nimport generateSeriesModeConfig from 'embercom/objects/series/ruleset-editor/condition/editor-configuration-generator';\nimport generateNotificationMessages from 'embercom/objects/content-editor/configuration-generators/standard-notification-messages-generator';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default function generateEditorConfig(options) {\n  options.objectType = objectTypes.condition;\n  return new SeriesEditorConfig({\n    seriesMode: generateSeriesModeConfig(options),\n    notificationMessages: generateNotificationMessages(options),\n  });\n}\n","import SeriesEditorConfig from 'embercom/objects/content-editor/series-editor-configuration';\nimport generateSeriesModeConfig from 'embercom/objects/series/ruleset-editor/wait/editor-configuration-generator';\nimport generateNotificationMessages from 'embercom/objects/content-editor/configuration-generators/standard-notification-messages-generator';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default function generateEditorConfig(options) {\n  options.objectType = objectTypes.wait;\n  return new SeriesEditorConfig({\n    seriesMode: generateSeriesModeConfig(options),\n    notificationMessages: generateNotificationMessages(options),\n  });\n}\n","import EditorConfig from 'embercom/objects/content-editor/content-editor-configuration';\nimport generateViewModeConfig from 'embercom/objects/content-editor/configuration-generators/sms/view-mode-generator';\nimport generateEditModeConfig from 'embercom/objects/content-editor/configuration-generators/sms/edit-mode-generator';\nimport generateNotificationMessages from 'embercom/objects/content-editor/configuration-generators/standard-notification-messages-generator';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default function generateEditorConfig(options) {\n  options.objectType = objectTypes.sms;\n  return EditorConfig.create({\n    viewMode: generateViewModeConfig(options),\n    editMode: generateEditModeConfig(options),\n    notificationMessages: generateNotificationMessages(options),\n    requiredFeature: 'auto_messaging',\n  });\n}\n","import EditModeConfig from 'embercom/objects/content-editor/edit-mode-configuration';\nimport SmsContentPanelConfiguration from 'embercom/objects/content-editor/panels/content/sms/panel-configuration';\nimport {\n  StandardAudiencePanelConfiguration,\n  StandardGoalPanelConfiguration,\n  StandardSchedulePanelConfiguration,\n} from 'embercom/objects/content-editor/panels/standard-panel-configurations';\nimport SeriesSchedulePanelConfiguration from 'embercom/objects/content-editor/panels/schedule/series-schedule-panel-configuration';\nimport StandardEditModeHeaderConfiguration from 'embercom/objects/content-editor/headers/edit-mode/standard-header-configuration';\nimport { timezoneTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport StandardAudienceEditorConfiguration from 'embercom/objects/audience-editor/standard-audience-editor-configuration';\nimport StandardSeriesModeHeaderConfiguration from 'embercom/objects/content-editor/headers/series-mode/standard-header-configuration';\n\nexport default function generateEditModeConfig(options) {\n  let container = options.container;\n\n  return EditModeConfig.create({\n    seriesHeaderComponentConfig: StandardSeriesModeHeaderConfiguration.create({ container }),\n    headerComponentConfigs: [StandardEditModeHeaderConfiguration.create({ container })],\n    editorPanelConfigs: [\n      SmsContentPanelConfiguration.create({ container }),\n      StandardAudiencePanelConfiguration.create({\n        allowedUserRoles: ['user'],\n        audienceEditorConfiguration: new StandardAudienceEditorConfiguration({\n          showMatchBehavior: true,\n          showClientPredicates: false,\n        }),\n        container,\n      }),\n      StandardGoalPanelConfiguration.create({\n        introText: 'Understand how your SMS drives people to take action in your product.',\n        container,\n      }),\n      StandardSchedulePanelConfiguration.create({\n        timezoneType: timezoneTypes.basedOnUserTimezone,\n        container,\n      }),\n      SeriesSchedulePanelConfiguration.create({\n        timezoneType: timezoneTypes.basedOnUserTimezone,\n        container,\n      }),\n    ],\n    footerComponentConfigs: [],\n  });\n}\n","import { not, and } from '@ember/object/computed';\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\nimport ViewModeConfig from 'embercom/objects/content-editor/view-mode-configuration';\nimport TabsConfiguration from 'embercom/objects/content-editor/tabs-configuration';\nimport ActiveViewConfiguration from 'embercom/objects/content-editor/active-view-configuration';\nimport StandardContentTabConfiguration from 'embercom/objects/content-editor/tabs/standard-content-tab-configuration';\nimport StandardStatTabConfiguration from 'embercom/objects/content-editor/tabs/standard-stat-tab-configuration';\nimport StandardStatListConfiguration from 'embercom/objects/content-editor/stats/standard-stat-list-configuration';\nimport {\n  StandardAudienceSummaryConfiguration,\n  StandardGoalSummaryConfiguration,\n  StandardScheduleSummaryConfiguration,\n} from 'embercom/objects/content-editor/summaries/standard-summary-configurations';\nimport ContentSummaryConfiguration from 'embercom/objects/content-editor/summaries/content/sms/summary-configuration';\nimport StandardViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-header-configuration';\nimport StandardSeriesViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-series-header-configuration';\n\nexport default function generateViewModeConfig(options) {\n  let container = options.container;\n  return ViewModeConfig.create({\n    seriesHeaderComponentConfig: StandardSeriesViewModeHeaderConfiguration.create({ container }),\n    headerComponentConfigs: [StandardViewModeHeaderConfiguration.create({ container })],\n    tabsConfiguration: TabsConfiguration.create({\n      container,\n      tabComponentConfigs: [\n        StandardContentTabConfiguration.create({\n          label: 'SMS',\n          icon: 'push-notification',\n          view: 'content',\n        }),\n        StandardStatTabConfiguration.create({\n          label: 'Sent',\n          view: 'receipts',\n          container,\n        }),\n        StandardStatTabConfiguration.create({\n          label: 'Opened',\n          view: 'opens',\n          container,\n        }),\n        StandardStatTabConfiguration.extend({\n          _isNotDraft: not('contentEditorService.ruleset.isDraft'),\n          isVisible: and('contentEditorService.ruleset.hasGoal', '_isNotDraft'),\n        }).create({\n          label: 'Goal',\n          view: 'goals',\n          container,\n        }),\n      ],\n    }),\n    activeViewConfiguration: ActiveViewConfiguration.create({\n      content: [\n        ContentSummaryConfiguration.create({ container }),\n        StandardAudienceSummaryConfiguration.create({\n          allowedUserRoles: ['user'],\n          container,\n        }),\n        StandardGoalSummaryConfiguration.create({ container }),\n        StandardScheduleSummaryConfiguration.create({ container }),\n      ],\n      receipts: [\n        StandardStatListConfiguration.create({\n          stat: 'receipt',\n          hideCreatedVia: true,\n          noun: 'send',\n          verb: 'received',\n          emptyStateDescription: \"As people are sent your SMS, we'll show you when it was sent\",\n          container,\n        }),\n      ],\n      goals: [\n        StandardStatListConfiguration.create({\n          filters: [{ text: 'Hit the goal after opening', value: stats.open }],\n          stat: 'goalSuccess',\n          container,\n        }),\n      ],\n    }),\n    footerComponentConfigs: [],\n  });\n}\n","import numberFormatter from 'embercom/lib/number-formatter';\nimport pluralize from 'embercom/lib/inflector';\nimport NotificationMessages from 'embercom/objects/content-editor/notification-messages';\nimport NotificationMessage from 'embercom/objects/content-editor/notification-message';\nimport { inject as service } from '@ember/service';\nimport { characterIndex } from 'embercom/helpers/character-index';\nimport { humanReadableObjectNames } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default function generateNotificationMessages(options) {\n  let container = options.container;\n  let humanReadableObjectName = humanReadableObjectNames[options.objectType];\n\n  return NotificationMessages.create({\n    activate: NotificationMessage.extend({\n      contentEditorService: service(),\n      humanReadableObjectName,\n      async confirmation() {\n        await this.contentEditorService.ruleset.fetchAudiencePreview();\n\n        let ruleset = this.contentEditorService.ruleset;\n\n        let audienceCount = ruleset.audiencePreview.count;\n        let audience = `${numberFormatter(audienceCount)} ${pluralize('person', audienceCount)}`;\n\n        let title = `Ready to set your ${this.humanReadableObjectName} live?`;\n        let confirmButtonText = `Set live`;\n\n        let body;\n        if (ruleset.hasControlGroup) {\n          body = `Part of your audience of ${audience} will be sent this ${this.humanReadableObjectName} and the rest will join the control group.`;\n          if (!ruleset.isMatchBehaviorStatic) {\n            body +=\n              ' Going forward, anyone who matches your rules in the future will be split similarly.';\n          }\n        } else {\n          body = `Your ${this.humanReadableObjectName} will be sent to ${audience}`;\n          if (ruleset.isMatchBehaviorStatic) {\n            body += '.';\n          } else {\n            body += ' now, and anyone who matches your rules in the future.';\n          }\n        }\n\n        return { title, body, confirmButtonText };\n      },\n    }).create({\n      success: `The ${humanReadableObjectName} was set live`,\n      failure: `We couldn't set this ${humanReadableObjectName} live. Send us a message and we'll do our best to help out.`,\n      container,\n    }),\n    deactivate: NotificationMessage.create({\n      success: `The ${humanReadableObjectName} was paused`,\n      failure: `We couldn't pause this ${humanReadableObjectName}. Send us a message and we'll do our best to help out.`,\n      confirmation() {\n        let title = `Pausing the ${humanReadableObjectName}`;\n        let body = `You are about to pause this ${humanReadableObjectName}. Do you wish to continue?`;\n        let confirmButtonText = `Pause this ${humanReadableObjectName}`;\n        return { title, body, confirmButtonText };\n      },\n      container,\n    }),\n    duplicate: NotificationMessage.create({\n      success: `Your ${humanReadableObjectName} was successfully duplicated`,\n      failure: `We couldn't duplicate your ${humanReadableObjectName}. Send us a message and we'll do our best to help out.`,\n      container,\n    }),\n    cancel: NotificationMessage.create({\n      success: null,\n      failure: null,\n      container,\n    }),\n    save: NotificationMessage.extend({\n      contentEditorService: service(),\n      confirmation() {\n        if (this.contentEditorService.ruleset.isLive) {\n          let title = `Ready to set your changes live?`;\n          let confirmButtonText = `Set changes live`;\n          let body = `Your changes will go live for anyone who matches your rules in the future.`;\n          return { title, body, confirmButtonText };\n        }\n        return null;\n      },\n    }).create({\n      success: `Your ${humanReadableObjectName} has been updated`,\n      failure: `We could not save your ${humanReadableObjectName}`,\n      container,\n    }),\n    delete: NotificationMessage.extend({\n      contentEditorService: service(),\n      confirmation() {\n        let title = `Delete this ${humanReadableObjectName}?`;\n        let confirmButtonText = `Delete`;\n        let primaryButtonType = 'primary-destructive';\n        let body = `Are you sure you want to delete this ${humanReadableObjectName}? This is permanent.`;\n        if (\n          this.contentEditorService.ruleset.isLive ||\n          this.contentEditorService.ruleset.isPaused\n        ) {\n          body += ` This deletes the ${humanReadableObjectName} from Intercom and the Messenger. Any conversations it started will still be visible in the Inbox to teammates and included in reports.`;\n        }\n        return { title, body, confirmButtonText, primaryButtonType };\n      },\n    }).create({\n      success: `Your ${humanReadableObjectName} has been deleted`,\n      failure: `We could not delete your ${humanReadableObjectName}`,\n      container,\n    }),\n    activateRulesetLink: NotificationMessage.extend({\n      contentEditorService: service(),\n      confirmation() {\n        let title = `Set test live`;\n        let body = `You are about to set Test ${characterIndex([\n          this.contentEditorService.activeRulesetLinkIndex,\n        ])} live. Do you wish to continue?`;\n        let confirmButtonText = `Set Test ${characterIndex([\n          this.contentEditorService.activeRulesetLinkIndex,\n        ])} live`;\n        return { title, body, confirmButtonText };\n      },\n    }).create({\n      success: `Test ${characterIndex([\n        container.lookup('service:content-editor-service').activeRulesetLinkIndex,\n      ])} of your message is now live.`,\n      failure: `We couldn't set test ${characterIndex([\n        container.lookup('service:content-editor-service').activeRulesetLinkIndex,\n      ])} live. Send us a message and we'll do our best to help out.`,\n      container,\n    }),\n    deactivateRulesetLink: NotificationMessage.create({\n      success: `Test ${characterIndex([\n        container.lookup('service:content-editor-service').activeRulesetLinkIndex,\n      ])} of your message is now paused`,\n      failure: `We couldn't pause Test ${characterIndex([\n        container.lookup('service:content-editor-service').activeRulesetLinkIndex,\n      ])}. Send us a message and we'll do our best to help out.`,\n      container,\n    }),\n    endRulesetLink: NotificationMessage.create({\n      success: `Control group testing of your ${humanReadableObjectName} is now ended. Going forward, your ${humanReadableObjectName} will send to 100% of your selected audience.`,\n      failure:\n        \"We couldn't end the control group test. Send us a message and we'll do our best to help out.\",\n      container,\n    }),\n    duplicateRulesetLink: NotificationMessage.create({\n      success: `The test version of your message was created`,\n      failure: `We couldn't create the test version of your message. Send us a message and we'll do our best to help out.`,\n      container,\n    }),\n    deleteControlGroup: NotificationMessage.create({\n      humanReadableObjectName,\n      confirmation() {\n        let title = 'Delete control group';\n        let body = `By deleting the control group you will also delete all the statistics associated with this test. Users who joined the control group will not get this ${this.humanReadableObjectName} again. Are you sure you want to delete the control group?`;\n        let confirmButtonText = 'Delete';\n        return { title, body, confirmButtonText };\n      },\n      success: 'Control group deleted',\n      failure:\n        \"We could not delete the control group. Send us a message and we'll do our best to help out.\",\n      container,\n    }),\n    deleteRulesetLink: NotificationMessage.extend({\n      contentEditorService: service(),\n      confirmation() {\n        let title = `Delete test ${characterIndex([\n          this.contentEditorService.activeRulesetLinkIndex,\n        ])}`;\n        let body = `By deleting test ${characterIndex([\n          this.contentEditorService.activeRulesetLinkIndex,\n        ])} you will also delete all the statistics associated with this test. Users who received this test will not get this message again. Are you sure you want to delete test ${characterIndex(\n          [this.contentEditorService.activeRulesetLinkIndex],\n        )}?`;\n        let confirmButtonText = `Delete`;\n        return { title, body, confirmButtonText };\n      },\n    }).create({\n      success: `Test ${characterIndex([\n        container.lookup('service:content-editor-service').activeRulesetLinkIndex,\n      ])} deleted`,\n      failure: `We could not delete test ${characterIndex([\n        container.lookup('service:content-editor-service').activeRulesetLinkIndex,\n      ])}. Send us a message and we'll do our best to help out.`,\n      container,\n    }),\n    schedule: NotificationMessage.extend({\n      contentEditorService: service(),\n      async confirmation() {\n        await this.contentEditorService.ruleset.fetchAudiencePreview();\n        let ruleset = this.contentEditorService.ruleset;\n        let audienceCount = ruleset.audiencePreview.count;\n        let title = `Ready to schedule your message?`;\n        let scheduledActivationDate = ruleset.scheduledActivation.humanReadableChangeAt;\n        let body = `Your message will be sent to ${numberFormatter(audienceCount)} ${pluralize(\n          'person',\n          audienceCount,\n        )} when it goes live on ${scheduledActivationDate}`;\n        if (ruleset.isMatchBehaviorStatic) {\n          body += '.';\n        } else {\n          body += ', and anyone who matches your rules in the future.';\n        }\n        let confirmButtonText = 'Schedule';\n        return { title, body, confirmButtonText };\n      },\n    }).create({\n      success: 'The message was scheduled',\n      failure:\n        \"We couldn't schedule this message. Send us a message and we'll do our best to help out.\",\n      container,\n    }),\n    unschedule: NotificationMessage.create({\n      success: `The message was unscheduled`,\n      failure: `We couldn't unschedule this message. Send us a message and we'll do our best to help out.`,\n      confirmation() {\n        let title = `Unscheduling the message`;\n        let body = `You are about to unschedule this message. Do you wish to continue?`;\n        let confirmButtonText = `Unschedule this message`;\n        return { title, body, confirmButtonText };\n      },\n      container,\n    }),\n  });\n}\n","import SeriesEditorConfig from 'embercom/objects/content-editor/series-editor-configuration';\nimport generateSeriesModeConfig from 'embercom/objects/series/ruleset-editor/tagger/editor-configuration-generator';\nimport generateNotificationMessages from 'embercom/objects/content-editor/configuration-generators/standard-notification-messages-generator';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default function generateEditorConfig(options) {\n  options.objectType = objectTypes.tagger;\n  return new SeriesEditorConfig({\n    seriesMode: generateSeriesModeConfig(options),\n    notificationMessages: generateNotificationMessages(options),\n  });\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport { assert } from '@ember/debug';\n\nexport default EmberObject.extend({\n  editMode: undefined,\n  viewMode: undefined,\n  notificationMessages: undefined,\n\n  init(inputs) {\n    this._super(...arguments);\n    assert('An edit mode configuration must be passed', inputs.editMode);\n    assert('A view mode configuration must be passed', inputs.viewMode);\n    assert('Notification messages must be passed', inputs.notificationMessages);\n\n    inputs.editMode.parentConfiguration = this;\n    inputs.viewMode.parentConfiguration = this;\n\n    this.setProperties({\n      editMode: inputs.editMode,\n      viewMode: inputs.viewMode,\n      notificationMessages: inputs.notificationMessages,\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport { assert } from '@ember/debug';\nimport { isArray } from '@ember/array';\nimport { computed } from '@ember/object';\nimport { contentEditors } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default EmberObject.extend({\n  headerComponentConfigs: undefined,\n  editorPanelConfigs: undefined,\n  footerComponentConfigs: undefined,\n\n  init(inputs) {\n    this._super(...arguments);\n    assert(\n      'An array must be passed for the header component configs',\n      isArray(inputs.headerComponentConfigs),\n    );\n    assert(\n      'An array must be passed for the editor panel configs',\n      isArray(inputs.editorPanelConfigs),\n    );\n    assert(\n      'An array must be passed for the footer component configs',\n      isArray(inputs.footerComponentConfigs),\n    );\n\n    inputs.headerComponentConfigs.setEach('parentConfiguration', this);\n    inputs.editorPanelConfigs.setEach('parentConfiguration', this);\n    inputs.footerComponentConfigs.setEach('parentConfiguration', this);\n\n    this.setProperties({\n      headerComponentConfigs: inputs.headerComponentConfigs,\n      editorPanelConfigs: inputs.editorPanelConfigs,\n      footerComponentConfigs: inputs.footerComponentConfigs,\n    });\n  },\n\n  seriesEditorPanelConfigs: computed('editorPanelConfigs.[]', function() {\n    return this.editorPanelConfigs.filter(config =>\n      config.supportedEditors.includes(contentEditors.series),\n    );\n  }),\n\n  standaloneEditorPanelConfigs: computed('editorPanelConfigs.[]', function() {\n    return this.editorPanelConfigs.filter(config =>\n      config.supportedEditors.includes(contentEditors.standalone),\n    );\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport { assert } from '@ember/debug';\n\nexport default EmberObject.extend({\n  component: undefined,\n  moreDropdownConfig: undefined,\n\n  init(inputs) {\n    this._super(...arguments);\n    assert(\n      `The component path must be within the content-editor/headers directory. You passed '${inputs.component}'`,\n      inputs.component.startsWith('content-editor/headers/'),\n    );\n    this.setProperties(inputs);\n  },\n});\n","import HeaderConfiguration from 'embercom/objects/content-editor/header-configuration';\n\nexport default HeaderConfiguration.extend({\n  component: undefined,\n\n  init(inputs) {\n    inputs.component = 'content-editor/headers/edit-mode/standard-header';\n    this._super(...arguments);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\n\nexport default EmberObject.extend({\n  duplicateModalComponent: undefined,\n  hideCsvExportOption: false,\n  hideTagOption: false,\n\n  init(inputs) {\n    this._super(...arguments);\n    this.setProperties(inputs);\n  },\n});\n","import HeaderConfiguration from 'embercom/objects/content-editor/header-configuration';\n\nexport default HeaderConfiguration.extend({\n  init(inputs) {\n    inputs.component = 'content-editor/headers/series-mode/standard-header';\n    this._super(...arguments);\n  },\n});\n","import HeaderConfiguration from 'embercom/objects/content-editor/header-configuration';\n\nexport default HeaderConfiguration.extend({\n  component: undefined,\n\n  init(inputs) {\n    inputs.component = 'content-editor/headers/view-mode/standard-header';\n    this._super(...arguments);\n  },\n});\n","import HeaderConfiguration from 'embercom/objects/content-editor/header-configuration';\n\nexport default HeaderConfiguration.extend({\n  component: undefined,\n\n  init(inputs) {\n    inputs.component = 'content-editor/headers/view-mode/standard-series-header';\n    this._super(...arguments);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport { assert } from '@ember/debug';\n\nexport default EmberObject.extend({\n  success: undefined,\n  failure: undefined,\n  confirm: undefined,\n\n  init(inputs) {\n    this._super(...arguments);\n\n    assert(\n      'A key must be provided for the \"success\" notification The value may be blank.',\n      Object.keys(inputs).includes('success'),\n    );\n\n    assert(\n      'A key must be provided for the \"failure\" notification. The value may be blank.',\n      Object.keys(inputs).includes('failure'),\n    );\n\n    this.setProperties(inputs);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\n\nexport default EmberObject.extend({\n  activate: undefined,\n  deactivate: undefined,\n  delete: undefined,\n  pause: undefined,\n  duplicate: undefined,\n  schedule: undefined,\n  unschedule: undefined,\n  save: undefined,\n  autoSave: undefined,\n\n  init(inputs) {\n    this._super(...arguments);\n    this.setProperties({\n      activate: inputs.activate,\n      deactivate: inputs.deactivate,\n      delete: inputs.delete,\n      pause: inputs.pause,\n      duplicate: inputs.duplicate,\n      schedule: inputs.schedule,\n      unschedule: inputs.unschedule,\n      save: inputs.save,\n      autoSave: inputs.autoSave,\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport { assert } from '@ember/debug';\nimport { contentEditors } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default EmberObject.extend({\n  name: undefined,\n  header: undefined,\n  body: undefined,\n  supportedEditors: [contentEditors.standalone],\n\n  init(inputs) {\n    this._super(...arguments);\n    assert('A name must be provided for a panel configuration', inputs.name);\n    assert('A header must be provided for a panel configuration', inputs.header);\n    assert('A body must be provided for a panel configuration', inputs.body);\n\n    assert(\n      `The header component path used for this panel configuration must be within the 'content-editor/panels/${inputs.name}' directory. You passed ${inputs.header.component}`,\n      inputs.header.component.startsWith(`content-editor/panels/${inputs.name}`),\n    );\n    inputs.header.parentConfiguration = this;\n\n    assert(\n      `The body component path used for this panel configuration must be within the 'content-editor/panels/${inputs.name}' directory. You passed ${inputs.body.component}`,\n      inputs.body.component.startsWith(`content-editor/panels/${inputs.name}`),\n    );\n    inputs.body.parentConfiguration = this;\n\n    this.setProperties(inputs);\n  },\n});\n","import StandardAudienceEditorConfiguration from 'embercom/objects/content-editor/panels/audience/standard-audience-editor-configuration';\nimport { matchingLocations } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class CarouselContentEditorAudienceEditorConfiguration extends StandardAudienceEditorConfiguration {\n  get isDisabled() {\n    return this.ruleset.rulesetLinks.any(rulesetLink =>\n      rulesetLink.matchingLocations.includes(matchingLocations.triggerFromCode),\n    );\n  }\n}\n","import StandardAudienceHeaderConfiguration from 'embercom/objects/content-editor/panels/audience/standard-audience-header-configuration';\n\nexport default StandardAudienceHeaderConfiguration.extend({\n  init(inputs) {\n    this._super(...arguments);\n    this.title = 'Show your carousel automatically';\n    this.component = 'content-editor/panels/audience/content/carousel/header';\n  },\n});\n","import ContentEditorStandardAudienceEditorConfiguration from './standard-audience-editor-configuration';\n\nexport default class SeriesAudienceEditorConfiguration extends ContentEditorStandardAudienceEditorConfiguration {\n  constructor(inputs) {\n    super(inputs);\n\n    this.audienceRulesEditor = this._createComponent(\n      'content-editor/audience-wrappers/content/series/audience-rules-editor',\n      this.inputs,\n    );\n  }\n}\n","import StandardAudienceEditorConfiguration from 'embercom/objects/audience-editor/standard-audience-editor-configuration';\nimport { inject as service } from '@ember/service';\nimport { pluralize } from 'ember-inflector';\nimport toSentence from 'embercom/lib/to-sentence';\nimport { audienceNames } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class ContentEditorStandardAudienceEditorConfiguration extends StandardAudienceEditorConfiguration {\n  container = null;\n  @service contentEditorService;\n\n  contentEditorDefaults = {\n    showMatchBehavior: true,\n    showClientPredicates: true,\n    showAudiencePreview: true,\n\n    useRolePredicateGroup: true,\n    allowedUserRoles: ['user', 'lead', 'visitor'],\n  };\n\n  constructor(inputs) {\n    super(inputs);\n    this.container = inputs.container;\n    this.inputs = { ...this.contentEditorDefaults, ...inputs };\n    this._setDefaultPreviewConfigs();\n    this.createDefaults();\n  }\n\n  get ruleset() {\n    return this.contentEditorService.ruleset;\n  }\n\n  get isDisabled() {\n    return false;\n  }\n\n  get _tooltipText() {\n    if (this.ruleset.isDraft || this.ruleset.isScheduled) {\n      return 'The people below currently match the rules you added.';\n    } else if (this.ruleset.isLive) {\n      return 'The people below currently match the rules you added. Because this message is live, some or all of them may have received it.';\n    } else if (this.ruleset.isPaused) {\n      return 'The people below currently match the rules you added. Some or all of them may have received your message when it was live.';\n    }\n  }\n\n  get _humanReadableObjectName() {\n    return this.contentEditorService.configRulesetLink.humanReadableObjectName;\n  }\n\n  get _audienceString() {\n    let audienceRole = this._getAudienceRole();\n\n    if (!Array.isArray(audienceRole)) {\n      audienceRole = [audienceRole];\n    }\n\n    let audience = toSentence(\n      audienceRole.reverse().map(role => {\n        return pluralize(audienceNames[role]);\n      }),\n    );\n    return audience;\n  }\n\n  get _audiencePreviewText() {\n    if (this.ruleset.isMemberOfSeries) {\n      return 'If you set this Series live, they would enter it, as well as new people that start to match your rules.';\n    } else {\n      let matchBehaviorText = this.ruleset.isMatchBehaviorStatic\n        ? 'match your rules.'\n        : 'start to match your rules.';\n      return `If you set this ${this._humanReadableObjectName} live, we’ll send it to ${this._audienceString} that ${matchBehaviorText}`;\n    }\n  }\n\n  _getAudienceRole() {\n    return this.ruleset.userRolePredicate ? this.ruleset.userRolePredicate.value : ['user_role'];\n  }\n\n  _setDefaultPreviewConfigs() {\n    this.inputs = {\n      ...this.inputs,\n      ...{\n        tooltipText: this._tooltipText,\n        audiencePreviewText: this._audiencePreviewText,\n        emptyStateDescription: '',\n        useLegacyList: false,\n      },\n    };\n  }\n}\n","import StandardPanelHeaderConfiguration from '../standard-panel-header-configuration';\nimport { and, readOnly, union } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default StandardPanelHeaderConfiguration.extend({\n  contentEditorService: service(),\n\n  _validations: readOnly('contentEditorService.ruleset.validations'),\n  _predicateGroupErrors: readOnly('_validations.attrs.predicateGroup.errors'),\n  _userRolePredicateErrors: readOnly('_validations.attrs.userRolePredicate.errors'),\n  _clientPredicateGroupErrors: readOnly('_validations.attrs.clientPredicateGroup.errors'),\n  errors: union('_predicateGroupErrors', '_userRolePredicateErrors', '_clientPredicateGroupErrors'),\n  isComplete: and(\n    '_validations.attrs.predicateGroup.isValid',\n    '_validations.attrs.userRolePredicate.isValid',\n    '_validations.attrs.clientPredicateGroup.isValid',\n  ),\n\n  init(inputs) {\n    inputs.component = 'content-editor/panels/audience/header';\n    inputs.title = inputs.title || 'Rules';\n    this._super(...arguments);\n  },\n});\n","import PanelConfiguration from 'embercom/objects/content-editor/panel-configuration';\nimport AudienceHeaderConfiguration from 'embercom/objects/content-editor/panels/audience/standard-audience-header-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport { assert } from '@ember/debug';\nimport StandardAudienceEditorConfiguration from 'embercom/objects/content-editor/panels/audience/standard-audience-editor-configuration';\n\nexport default PanelConfiguration.extend({\n  init(inputs) {\n    // The container gives us access to Services in these objects. Pass `container: getOwner(this)` as an\n    // input when generating these configuration objects.\n    assert('You must provide the application container in your panel inputs', inputs.container);\n\n    let hideMatchBehavior =\n      inputs.hideMatchBehavior ??\n      (inputs.showMatchBehavior === undefined ? false : !inputs.showMatchBehavior);\n\n    let header =\n      inputs.audienceHeaderConfiguration ||\n      AudienceHeaderConfiguration.create(\n        {\n          title: inputs.title,\n          hideMatchBehavior,\n        },\n        { container: inputs.container },\n      );\n    let body = ComponentConfiguration.create({\n      allowedUserRoles: inputs.allowedUserRoles,\n      component: 'content-editor/panels/audience/body',\n      showMatchBehavior: !hideMatchBehavior,\n      audienceEditorConfiguration:\n        inputs.audienceEditorConfiguration ||\n        new StandardAudienceEditorConfiguration({\n          container: inputs.container,\n          showMatchBehavior: !hideMatchBehavior,\n          showAudiencePreview: true,\n        }),\n    });\n    this._super({\n      name: 'audience',\n      header,\n      body,\n    });\n  },\n});\n","import StandardPanelHeaderConfiguration from 'embercom/objects/content-editor/panels/standard-panel-header-configuration';\nimport { inject as service } from '@ember/service';\nimport { readOnly, empty } from '@ember/object/computed';\n\nexport default StandardPanelHeaderConfiguration.extend({\n  contentEditorService: service(),\n\n  errors: readOnly('contentEditorService.ruleset.validations.attrs.rulesetLinks.errors'),\n  isComplete: empty('errors'),\n\n  init(inputs) {\n    inputs.component = 'content-editor/panels/content/banner/header';\n    inputs.title = inputs.title || 'Create your banner';\n    this._super(...arguments);\n  },\n});\n","import PanelConfiguration from 'embercom/objects/content-editor/panel-configuration';\nimport BannerHeaderConfiguration from './header-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport { assert } from '@ember/debug';\nimport { contentEditors } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default PanelConfiguration.extend({\n  init(inputs) {\n    // The container gives us access to Services in these objects. Pass `container: getOwner(this)` as an\n    // input when generating these configuration objects.\n    assert('You must provide the application container in your panel inputs', inputs.container);\n\n    let header = BannerHeaderConfiguration.create(\n      {\n        title: inputs.title,\n      },\n      { container: inputs.container },\n    );\n    let body = ComponentConfiguration.create({\n      component: 'content-editor/panels/content/banner/body',\n    });\n    this._super({\n      name: 'content',\n      header,\n      body,\n      supportedEditors: [contentEditors.standalone, contentEditors.series],\n    });\n  },\n});\n","import PanelConfiguration from 'embercom/objects/content-editor/panel-configuration';\nimport CustomBotHeaderConfiguration from '../custom-bot/header-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport { assert } from '@ember/debug';\nimport { contentEditors } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default PanelConfiguration.extend({\n  init(inputs) {\n    // The container gives us access to Services in these objects. Pass `container: getOwner(this)` as an\n    // input when generating these configuration objects.\n    assert('You must provide the application container in your panel inputs', inputs.container);\n\n    let header = CustomBotHeaderConfiguration.create(\n      {\n        title: inputs.title,\n        fullScreenEnabled: true,\n      },\n      { container: inputs.container },\n    );\n    let body = ComponentConfiguration.create({\n      component: 'content-editor/panels/content/button-custom-bot/body',\n    });\n    this._super({\n      name: 'content',\n      header,\n      body,\n      supportedEditors: [contentEditors.standalone],\n    });\n  },\n});\n","import StandardPanelHeaderConfiguration from 'embercom/objects/content-editor/panels/standard-panel-header-configuration';\nimport { inject as service } from '@ember/service';\nimport { readOnly, empty } from '@ember/object/computed';\n\nexport default StandardPanelHeaderConfiguration.extend({\n  contentEditorService: service(),\n\n  errors: readOnly('contentEditorService.ruleset.validations.attrs.rulesetLinks.errors'),\n  isComplete: empty('errors'),\n\n  init(inputs) {\n    inputs.component = 'content-editor/panels/content/carousel/header';\n    inputs.title = inputs.title || 'Content';\n    this._super(...arguments);\n  },\n});\n","import PanelConfiguration from 'embercom/objects/content-editor/panel-configuration';\nimport CarouselHeaderConfiguration from './header-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport { assert } from '@ember/debug';\nimport { contentEditors } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default PanelConfiguration.extend({\n  init(inputs) {\n    // The container gives us access to Services in these objects. Pass `container: getOwner(this)` as an\n    // input when generating these configuration objects.\n    assert('You must provide the application container in your panel inputs', inputs.container);\n\n    let header = CarouselHeaderConfiguration.create(\n      {\n        title: 'Create your carousel',\n      },\n      { container: inputs.container },\n    );\n    let body = ComponentConfiguration.create({\n      component: 'content-editor/panels/content/carousel/body',\n    });\n    this._super({\n      name: 'content',\n      header,\n      body,\n      supportedEditors: [contentEditors.standalone, contentEditors.series],\n    });\n  },\n});\n","import StandardPanelHeaderConfiguration from 'embercom/objects/content-editor/panels/standard-panel-header-configuration';\nimport { inject as service } from '@ember/service';\nimport { readOnly, empty } from '@ember/object/computed';\n\nexport default StandardPanelHeaderConfiguration.extend({\n  contentEditorService: service(),\n\n  errors: readOnly('contentEditorService.ruleset.validations.attrs.rulesetLinks.errors'),\n  isComplete: empty('errors'),\n\n  init(inputs) {\n    inputs.component = 'content-editor/panels/content/chat/header';\n    inputs.title = inputs.title || 'Content';\n    this._super(...arguments);\n  },\n});\n","import PanelConfiguration from 'embercom/objects/content-editor/panel-configuration';\nimport ChatHeaderConfiguration from './header-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport { assert } from '@ember/debug';\nimport { contentEditors } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default PanelConfiguration.extend({\n  init(inputs) {\n    // The container gives us access to Services in these objects. Pass `container: getOwner(this)` as an\n    // input when generating these configuration objects.\n    assert('You must provide the application container in your panel inputs', inputs.container);\n\n    let header = ChatHeaderConfiguration.create(\n      {\n        title: inputs.title,\n      },\n      { container: inputs.container },\n    );\n    let body = ComponentConfiguration.create({\n      component: 'content-editor/panels/content/chat/body',\n    });\n    this._super({\n      name: 'content',\n      header,\n      body,\n      supportedEditors: [contentEditors.standalone, contentEditors.series],\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport StandardPanelHeaderConfiguration from 'embercom/objects/content-editor/panels/standard-panel-header-configuration';\nimport { inject as service } from '@ember/service';\nimport { empty, readOnly } from '@ember/object/computed';\nimport { computed } from '@ember/object';\n\nexport default StandardPanelHeaderConfiguration.extend({\n  contentEditorService: service(),\n\n  ignoredValidators: ['custom-bot-bot-data-selector-present'],\n\n  rulesetLinkErrors: computed(\n    'contentEditorService.ruleset.validations.attrs.rulesetLinks.errors',\n    function() {\n      return this.contentEditorService.ruleset.validations.attrs.rulesetLinks.errors.filter(\n        e => !this.ignoredValidators.includes(e.type),\n      );\n    },\n  ),\n\n  isValid: empty('rulesetLinkErrors'),\n  errors: computed('isValid', function() {\n    if (!this.isValid) {\n      let contentErrorMessages = this.rulesetLinkErrors.mapBy('message');\n      let uniqueContentErrorMessages = [...new Set(contentErrorMessages)];\n\n      if (uniqueContentErrorMessages.length === 1) {\n        return [{ message: uniqueContentErrorMessages.firstObject }];\n      } else {\n        return [{ message: 'Finish designing your bot' }];\n      }\n    }\n    return [];\n  }),\n  isComplete: readOnly('isValid'),\n\n  init(inputs) {\n    inputs.component = 'content-editor/panels/content/custom-bot/header';\n    inputs.title = inputs.title || 'Content';\n    this._super(...arguments);\n  },\n});\n","import PanelConfiguration from 'embercom/objects/content-editor/panel-configuration';\nimport CustomBotHeaderConfiguration from './header-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport { assert } from '@ember/debug';\nimport { contentEditors } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default PanelConfiguration.extend({\n  init(inputs) {\n    // The container gives us access to Services in these objects. Pass `container: getOwner(this)` as an\n    // input when generating these configuration objects.\n    assert('You must provide the application container in your panel inputs', inputs.container);\n\n    let header = CustomBotHeaderConfiguration.create(\n      {\n        title: inputs.title,\n        fullScreenEnabled: true,\n      },\n      { container: inputs.container },\n    );\n    let body = ComponentConfiguration.create({\n      component: 'content-editor/panels/content/custom-bot/body',\n    });\n    this._super({\n      name: 'content',\n      header,\n      body,\n      supportedEditors: [contentEditors.standalone, contentEditors.series],\n    });\n  },\n});\n","import StandardPanelHeaderConfiguration from 'embercom/objects/content-editor/panels/standard-panel-header-configuration';\nimport { inject as service } from '@ember/service';\nimport { readOnly, empty } from '@ember/object/computed';\n\nexport default StandardPanelHeaderConfiguration.extend({\n  contentEditorService: service(),\n\n  errors: readOnly('contentEditorService.ruleset.validations.attrs.rulesetLinks.errors'),\n  isComplete: empty('errors'),\n\n  init(inputs) {\n    inputs.component = 'content-editor/panels/content/email/header';\n    inputs.title = inputs.title || 'Content';\n    this._super(...arguments);\n  },\n});\n","import PanelConfiguration from 'embercom/objects/content-editor/panel-configuration';\nimport EmailHeaderConfiguration from './header-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport { assert } from '@ember/debug';\nimport { contentEditors } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default PanelConfiguration.extend({\n  init(inputs) {\n    // The container gives us access to Services in these objects. Pass `container: getOwner(this)` as an\n    // input when generating these configuration objects.\n    assert('You must provide the application container in your panel inputs', inputs.container);\n\n    let header = EmailHeaderConfiguration.create(\n      {\n        title: inputs.title,\n      },\n      { container: inputs.container },\n    );\n    let body = ComponentConfiguration.create({\n      component: 'content-editor/panels/content/email/body',\n    });\n    this._super({\n      name: 'content',\n      header,\n      body,\n      supportedEditors: [contentEditors.standalone, contentEditors.series],\n    });\n  },\n});\n","import PanelConfiguration from 'embercom/objects/content-editor/panel-configuration';\nimport CustomBotHeaderConfiguration from '../custom-bot/header-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport { assert } from '@ember/debug';\nimport { contentEditors } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default PanelConfiguration.extend({\n  init(inputs) {\n    // The container gives us access to Services in these objects. Pass `container: getOwner(this)` as an\n    // input when generating these configuration objects.\n    assert('You must provide the application container in your panel inputs', inputs.container);\n\n    let header = CustomBotHeaderConfiguration.create(\n      {\n        title: inputs.title,\n        fullScreenEnabled: true,\n      },\n      { container: inputs.container },\n    );\n    let body = ComponentConfiguration.create({\n      component: 'content-editor/panels/content/inbound-custom-bot/body',\n    });\n    this._super({\n      name: 'content',\n      header,\n      body,\n      supportedEditors: [contentEditors.standalone],\n    });\n  },\n});\n","import StandardPanelHeaderConfiguration from 'embercom/objects/content-editor/panels/standard-panel-header-configuration';\nimport { inject as service } from '@ember/service';\nimport { readOnly, empty } from '@ember/object/computed';\n\nexport default StandardPanelHeaderConfiguration.extend({\n  contentEditorService: service(),\n\n  errors: readOnly('contentEditorService.ruleset.validations.attrs.rulesetLinks.errors'),\n  isComplete: empty('errors'),\n\n  init(inputs) {\n    inputs.component = 'content-editor/panels/content/post/header';\n    inputs.title = inputs.title || 'Content';\n    this._super(...arguments);\n  },\n});\n","import PanelConfiguration from 'embercom/objects/content-editor/panel-configuration';\nimport PostHeaderConfiguration from './header-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport { assert } from '@ember/debug';\nimport { contentEditors } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default PanelConfiguration.extend({\n  init(inputs) {\n    // The container gives us access to Services in these objects. Pass `container: getOwner(this)` as an\n    // input when generating these configuration objects.\n    assert('You must provide the application container in your panel inputs', inputs.container);\n\n    let header = PostHeaderConfiguration.create(\n      {\n        title: inputs.title,\n      },\n      { container: inputs.container },\n    );\n    let body = ComponentConfiguration.create({\n      component: 'content-editor/panels/content/post/body',\n    });\n    this._super({\n      name: 'content',\n      header,\n      body,\n      supportedEditors: [contentEditors.standalone, contentEditors.series],\n    });\n  },\n});\n","import StandardPanelHeaderConfiguration from 'embercom/objects/content-editor/panels/standard-panel-header-configuration';\nimport { inject as service } from '@ember/service';\nimport { readOnly, empty } from '@ember/object/computed';\n\nexport default StandardPanelHeaderConfiguration.extend({\n  contentEditorService: service(),\n\n  errors: readOnly('contentEditorService.ruleset.validations.attrs.rulesetLinks.errors'),\n  isComplete: empty('errors'),\n\n  init(inputs) {\n    inputs.component = 'content-editor/panels/content/tour/header';\n    inputs.title = inputs.title || 'Create your tour';\n    this._super(...arguments);\n  },\n});\n","import PanelConfiguration from 'embercom/objects/content-editor/panel-configuration';\nimport ProductTourHeaderConfiguration from './header-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport { assert } from '@ember/debug';\nimport { contentEditors } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default PanelConfiguration.extend({\n  init(inputs) {\n    // The container gives us access to Services in these objects. Pass `container: getOwner(this)` as an\n    // input when generating these configuration objects.\n    assert('You must provide the application container in your panel inputs', inputs.container);\n\n    let header = ProductTourHeaderConfiguration.create(\n      {\n        title: inputs.title,\n      },\n      { container: inputs.container },\n    );\n    let body = ComponentConfiguration.create({\n      component: 'content-editor/panels/content/tour/body',\n    });\n    this._super({\n      name: 'content',\n      header,\n      body,\n      supportedEditors: [contentEditors.standalone, contentEditors.series],\n    });\n  },\n});\n","import StandardPanelHeaderConfiguration from 'embercom/objects/content-editor/panels/standard-panel-header-configuration';\nimport { inject as service } from '@ember/service';\nimport { readOnly, empty } from '@ember/object/computed';\n\nexport default StandardPanelHeaderConfiguration.extend({\n  contentEditorService: service(),\n\n  errors: readOnly('contentEditorService.ruleset.validations.attrs.rulesetLinks.errors'),\n  isComplete: empty('errors'),\n\n  init(inputs) {\n    inputs.component = 'content-editor/panels/content/push/header';\n    inputs.title = inputs.title || 'Content';\n    this._super(...arguments);\n  },\n});\n","import PanelConfiguration from 'embercom/objects/content-editor/panel-configuration';\nimport PushHeaderConfiguration from './header-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport { assert } from '@ember/debug';\nimport { contentEditors } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default PanelConfiguration.extend({\n  init(inputs) {\n    // The container gives us access to Services in these objects. Pass `container: getOwner(this)` as an\n    // input when generating these configuration objects.\n    assert('You must provide the application container in your panel inputs', inputs.container);\n\n    let header = PushHeaderConfiguration.create(\n      {\n        title: inputs.title,\n      },\n      { container: inputs.container },\n    );\n    let body = ComponentConfiguration.create({\n      component: 'content-editor/panels/content/push/body',\n    });\n    this._super({\n      name: 'content',\n      header,\n      body,\n      supportedEditors: [contentEditors.standalone, contentEditors.series],\n    });\n  },\n});\n","import StandardPanelHeaderConfiguration from 'embercom/objects/content-editor/panels/standard-panel-header-configuration';\nimport { inject as service } from '@ember/service';\nimport { readOnly, empty } from '@ember/object/computed';\n\nexport default StandardPanelHeaderConfiguration.extend({\n  contentEditorService: service(),\n\n  errors: readOnly('contentEditorService.ruleset.validations.attrs.rulesetLinks.errors'),\n  isComplete: empty('errors'),\n\n  init(inputs) {\n    inputs.component = 'content-editor/panels/content/sms/header';\n    inputs.title = inputs.title || 'Content';\n    this._super(...arguments);\n  },\n});\n","import PanelConfiguration from 'embercom/objects/content-editor/panel-configuration';\nimport SmsHeaderConfiguration from './header-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport { assert } from '@ember/debug';\nimport { contentEditors } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default PanelConfiguration.extend({\n  init(inputs) {\n    // The container gives us access to Services in these objects. Pass `container: getOwner(this)` as an\n    // input when generating these configuration objects.\n    assert('You must provide the application container in your panel inputs', inputs.container);\n\n    let header = SmsHeaderConfiguration.create(\n      {\n        title: inputs.title,\n      },\n      { container: inputs.container },\n    );\n    let body = ComponentConfiguration.create({\n      component: 'content-editor/panels/content/sms/body',\n    });\n    this._super({\n      name: 'content',\n      header,\n      body,\n      supportedEditors: [contentEditors.standalone, contentEditors.series],\n    });\n  },\n});\n","import StandardPanelHeaderConfiguration from 'embercom/objects/content-editor/panels/standard-panel-header-configuration';\nimport { inject as service } from '@ember/service';\nimport { readOnly, empty } from '@ember/object/computed';\n\nexport default StandardPanelHeaderConfiguration.extend({\n  contentEditorService: service(),\n\n  errors: readOnly('contentEditorService.ruleset.validations.attrs.rulesetLinks.errors'),\n  isComplete: empty('errors'),\n\n  init(inputs) {\n    inputs.component = 'content-editor/panels/content/tagger/header';\n    inputs.title = inputs.title || 'Tag a User';\n    this._super(...arguments);\n  },\n});\n","import PanelConfiguration from 'embercom/objects/content-editor/panel-configuration';\nimport TaggerHeaderConfiguration from './header-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport { assert } from '@ember/debug';\nimport { contentEditors } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default PanelConfiguration.extend({\n  init(inputs) {\n    // The container gives us access to Services in these objects. Pass `container: getOwner(this)` as an\n    // input when generating these configuration objects.\n    assert('You must provide the application container in your panel inputs', inputs.container);\n\n    let header = TaggerHeaderConfiguration.create(\n      { title: inputs.title },\n      { container: inputs.container },\n    );\n    let body = ComponentConfiguration.create({\n      component: 'content-editor/panels/content/tagger/body',\n    });\n    this._super({\n      name: 'content',\n      header,\n      body,\n      supportedEditors: [contentEditors.standalone, contentEditors.series],\n    });\n  },\n});\n","import StandardPanelHeaderConfiguration from 'embercom/objects/content-editor/panels/standard-panel-header-configuration';\nimport { inject as service } from '@ember/service';\nimport { readOnly, empty } from '@ember/object/computed';\n\nexport default StandardPanelHeaderConfiguration.extend({\n  contentEditorService: service(),\n\n  errors: readOnly('contentEditorService.ruleset.validations.attrs.rulesetLinks.errors'),\n  isComplete: empty('errors'),\n\n  init(inputs) {\n    inputs.component = 'content-editor/panels/content/wait/header';\n    inputs.title = inputs.title || 'Create your wait';\n    this._super(...arguments);\n  },\n});\n","import PanelConfiguration from 'embercom/objects/content-editor/panel-configuration';\nimport WaitHeaderConfiguration from './header-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport { assert } from '@ember/debug';\nimport { contentEditors } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default PanelConfiguration.extend({\n  init(inputs) {\n    // The container gives us access to Services in these objects. Pass `container: getOwner(this)` as an\n    // input when generating these configuration objects.\n    assert('You must provide the application container in your panel inputs', inputs.container);\n\n    let header = WaitHeaderConfiguration.create(\n      {\n        title: inputs.title,\n      },\n      { container: inputs.container },\n    );\n    let body = ComponentConfiguration.create({\n      component: 'content-editor/panels/content/wait/body',\n    });\n    this._super({\n      name: 'content',\n      header,\n      body,\n      supportedEditors: [contentEditors.standalone, contentEditors.series],\n    });\n  },\n});\n","import PanelConfiguration from 'embercom/objects/content-editor/panel-configuration';\nimport ElementSelectorHeaderConfiguration from './standard-panel-header-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport { assert } from '@ember/debug';\nimport { contentEditors } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default PanelConfiguration.extend({\n  init(inputs) {\n    // The container gives us access to Services in these objects. Pass `container: getOwner(this)` as an\n    // input when generating these configuration objects.\n    assert('You must provide the application container in your panel inputs', inputs.container);\n\n    let header = ElementSelectorHeaderConfiguration.create(\n      {\n        title: inputs.title,\n        fullScreenEnabled: false,\n      },\n      { container: inputs.container },\n    );\n    let body = ComponentConfiguration.create({\n      component: 'content-editor/panels/element-selector/custom-bot/body',\n    });\n    this._super({\n      name: 'element-selector',\n      header,\n      body,\n      supportedEditors: [contentEditors.standalone],\n    });\n  },\n});\n","import StandardPanelHeaderConfiguration from 'embercom/objects/content-editor/panels/standard-panel-header-configuration';\nimport { inject as service } from '@ember/service';\nimport { readOnly, bool } from '@ember/object/computed';\nimport { computed } from '@ember/object';\n\nexport default StandardPanelHeaderConfiguration.extend({\n  contentEditorService: service(),\n  isValid: bool('contentEditorService.activeObject.botData.selector'),\n  errors: computed('isValid', function() {\n    if (!this.isValid) {\n      return [{ message: 'Add a selector to trigger your bot' }];\n    }\n    return [];\n  }),\n  isComplete: readOnly('isValid'),\n  init(inputs) {\n    inputs.component = 'content-editor/panels/element-selector/custom-bot/header';\n    inputs.title = inputs.title || 'Choose where to launch your bot';\n    this._super(...arguments);\n  },\n});\n","import StandardPanelHeaderConfiguration from '../standard-panel-header-configuration';\nimport { readOnly, bool } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default StandardPanelHeaderConfiguration.extend({\n  contentEditorService: service(),\n  errors: readOnly('contentEditorService.ruleset.validations.attrs.goal.errors'),\n  isComplete: bool('contentEditorService.ruleset.validations.attrs.goal.isValid').readOnly(),\n\n  init(inputs) {\n    inputs.component = 'content-editor/panels/goal/header';\n    inputs.title = inputs.title || 'Goal';\n    this._super(...arguments);\n  },\n});\n","import PanelConfiguration from 'embercom/objects/content-editor/panel-configuration';\nimport GoalHeaderConfiguration from 'embercom/objects/content-editor/panels/goal/standard-goal-header-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport { contentEditors } from 'embercom/models/data/matching-system/matching-constants';\nimport { assert } from '@ember/debug';\n\nexport default PanelConfiguration.extend({\n  init(inputs) {\n    // The container gives us access to Services in these objects. Pass `container: getOwner(this)` as an\n    // input when generating these configuration objects.\n    assert('You must provide the application container in your panel inputs', inputs.container);\n\n    let header = GoalHeaderConfiguration.create(\n      {\n        title: inputs.title,\n      },\n      { container: inputs.container },\n    );\n\n    assert('You must provide the introduction text in your panel inputs', inputs.introText);\n    let body = ComponentConfiguration.create({\n      component: 'content-editor/panels/goal/body',\n      introText: inputs.introText,\n    });\n    this._super({\n      name: 'goal',\n      header,\n      body,\n      supportedEditors: [contentEditors.standalone, contentEditors.series],\n    });\n  },\n});\n","import StandardPanelHeaderConfiguration from '../standard-panel-header-configuration';\nimport { inject as service } from '@ember/service';\n\nexport default class SeriesScheduleHeaderConfiguration extends StandardPanelHeaderConfiguration {\n  @service contentEditorService;\n\n  get errors() {\n    return [];\n  }\n\n  get isComplete() {\n    return true;\n  }\n\n  get ruleset() {\n    return this.contentEditorService.ruleset;\n  }\n\n  get humanReadableObjectName() {\n    return this.ruleset.rulesetLinks.firstObject.humanReadableObjectName;\n  }\n\n  init(inputs) {\n    inputs.component = 'content-editor/panels/schedule/series-header';\n    inputs.title = inputs.title || `Scheduling`;\n    super.init(...arguments);\n  }\n}\n","import PanelConfiguration from 'embercom/objects/content-editor/panel-configuration';\nimport SeriesScheduleHeaderConfiguration from 'embercom/objects/content-editor/panels/schedule/series-schedule-header-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport { assert } from '@ember/debug';\nimport { timezoneTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport { contentEditors } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class SeriesSchedulePanelConfiguration extends PanelConfiguration {\n  init(inputs) {\n    // The container gives us access to Services in these objects. Pass `container: getOwner(this)` as an\n    // input when generating these configuration objects.\n    assert('You must provide the application container in your panel inputs', inputs.container);\n\n    let header = SeriesScheduleHeaderConfiguration.create(\n      {\n        title: inputs.title,\n      },\n      { container: inputs.container },\n    );\n    let body = ComponentConfiguration.create({\n      component: 'content-editor/panels/schedule/series-body',\n      timezoneType: inputs.timezoneType || timezoneTypes.basedOnAppTimezone,\n    });\n    super.init({\n      name: 'schedule',\n      header,\n      body,\n      supportedEditors: [contentEditors.series],\n    });\n  }\n}\n","import StandardPanelHeaderConfiguration from '../standard-panel-header-configuration';\nimport { and, readOnly, union } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default StandardPanelHeaderConfiguration.extend({\n  contentEditorService: service(),\n  _validations: readOnly('contentEditorService.ruleset.validations'),\n  _scheduledActivationErrors: readOnly('_validations.attrs.scheduledActivation.errors'),\n  _scheduledDeactivationErrors: readOnly('_validations.attrs.scheduledDeactivation.errors'),\n  _activationIsBeforeDeactivationErrors: readOnly(\n    '_validations.attrs.activationIsBeforeDeactivation.errors',\n  ),\n  errors: union(\n    '_scheduledActivationErrors',\n    '_scheduledDeactivationErrors',\n    '_activationIsBeforeDeactivationErrors',\n  ),\n  isComplete: and(\n    '_validations.attrs.scheduledActivation.isValid',\n    '_validations.attrs.scheduledDeactivation.isValid',\n    '_validations.attrs.activationIsBeforeDeactivation.isValid',\n  ),\n\n  ruleset: readOnly('contentEditorService.ruleset'),\n  humanReadableObjectName: readOnly('ruleset.rulesetLinks.firstObject.humanReadableObjectName'),\n\n  init(inputs) {\n    inputs.component = 'content-editor/panels/schedule/header';\n    inputs.title = inputs.title || `Scheduling`;\n    this._super(...arguments);\n  },\n});\n","import PanelConfiguration from 'embercom/objects/content-editor/panel-configuration';\nimport ScheduleHeaderConfiguration from 'embercom/objects/content-editor/panels/schedule/standard-schedule-header-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport { assert } from '@ember/debug';\nimport { timezoneTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default PanelConfiguration.extend({\n  init(inputs) {\n    // The container gives us access to Services in these objects. Pass `container: getOwner(this)` as an\n    // input when generating these configuration objects.\n    assert('You must provide the application container in your panel inputs', inputs.container);\n\n    let header = ScheduleHeaderConfiguration.create(\n      {\n        title: inputs.title,\n      },\n      { container: inputs.container },\n    );\n    let body = ComponentConfiguration.create({\n      component: 'content-editor/panels/schedule/body',\n      timezoneType: inputs.timezoneType || timezoneTypes.basedOnAppTimezone,\n    });\n    this._super({\n      name: 'schedule',\n      header,\n      body,\n    });\n  },\n});\n","define(\"embercom/objects/content-editor/panels/standard-panel-configurations\", [\"exports\", \"embercom/objects/content-editor/panels/audience/standard-audience-panel-configuration\", \"embercom/objects/content-editor/panels/goal/standard-goal-panel-configuration\", \"embercom/objects/content-editor/panels/schedule/standard-schedule-panel-configuration\"], function (_exports, _standardAudiencePanelConfiguration, _standardGoalPanelConfiguration, _standardSchedulePanelConfiguration) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"StandardAudiencePanelConfiguration\", {\n    enumerable: true,\n    get: function get() {\n      return _standardAudiencePanelConfiguration.default;\n    }\n  });\n  Object.defineProperty(_exports, \"StandardGoalPanelConfiguration\", {\n    enumerable: true,\n    get: function get() {\n      return _standardGoalPanelConfiguration.default;\n    }\n  });\n  Object.defineProperty(_exports, \"StandardSchedulePanelConfiguration\", {\n    enumerable: true,\n    get: function get() {\n      return _standardSchedulePanelConfiguration.default;\n    }\n  });\n});\n","import ComponentConfiguration from '../component-configuration';\nimport { assert } from '@ember/debug';\nimport { readOnly } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default ComponentConfiguration.extend({\n  contentEditorService: service(),\n\n  component: undefined,\n  title: undefined,\n  errors: undefined,\n  isComplete: undefined,\n\n  _openedPanels: readOnly('contentEditorService.ruleset.clientData.openedPanels'),\n  hasBeenOpened: computed('_openedPanels.[]', 'parentConfiguration.name', function() {\n    if (this._openedPanels && this.parentConfiguration) {\n      return this._openedPanels.includes(this.parentConfiguration.name);\n    }\n  }),\n\n  init(inputs) {\n    this._super(...arguments);\n    assert(`The panel header configuration must be provided with a title`, inputs.title);\n    assert(\n      `The component path must be within the content-editor/panels directory. You passed '${inputs.component}'`,\n      inputs.component.startsWith('content-editor/panels/'),\n    );\n\n    this.setProperties(inputs);\n\n    assert(`A value or computed property must be defined for 'errors'`, this.errors !== undefined);\n\n    assert(\n      `A value or computed property must be defined for 'isComplete'`,\n      this.isComplete !== undefined,\n    );\n  },\n});\n","import StandardPanelHeaderConfiguration from 'embercom/objects/content-editor/panels/standard-panel-header-configuration';\nimport { inject as service } from '@ember/service';\nimport { empty } from '@ember/object/computed';\n\nexport default StandardPanelHeaderConfiguration.extend({\n  contentEditorService: service(),\n\n  errors: [],\n  isComplete: empty('errors'),\n\n  init(inputs) {\n    inputs.component = 'content-editor/panels/trigger-programmatically/carousel/header';\n    inputs.title = 'Trigger your carousel from code';\n    this._super(...arguments);\n  },\n});\n","import PanelConfiguration from 'embercom/objects/content-editor/panel-configuration';\nimport ProgrammaticTriggerHeaderConfiguration from '../../trigger-programmatically/carousel/header-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport { assert } from '@ember/debug';\nimport { contentEditors } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default PanelConfiguration.extend({\n  init(inputs) {\n    // The container gives us access to Services in these objects. Pass `container: getOwner(this)` as an\n    // input when generating these configuration objects.\n    assert('You must provide the application container in your panel inputs', inputs.container);\n\n    let header = ProgrammaticTriggerHeaderConfiguration.create({ container: inputs.container });\n    let body = ComponentConfiguration.create({\n      component: 'content-editor/panels/trigger-programmatically/carousel/body',\n    });\n    this._super({\n      name: 'trigger-programmatically',\n      header,\n      body,\n      supportedEditors: [contentEditors.standalone],\n    });\n  },\n});\n","import { assert } from '@ember/debug';\n\nexport default class SeriesEditorConfiguration {\n  seriesMode = null;\n  notificationMessages = null;\n\n  constructor({ seriesMode, notificationMessages }) {\n    assert('An series mode configuration must be passed', seriesMode);\n    assert('Notification messages must be passed', notificationMessages);\n\n    seriesMode.parentConfiguration = this;\n    Object.assign(this, { seriesMode, notificationMessages });\n  }\n}\n","import { assert } from '@ember/debug';\nimport { isArray } from '@ember/array';\n\nexport default class SeriesModeConfiguration {\n  headerComponentConfig = undefined;\n  editorComponentConfigs = undefined;\n  viewModeSummaryConfig = undefined;\n  viewModeHeaderConfig = undefined;\n\n  constructor({\n    headerComponentConfig,\n    editorComponentConfigs,\n    viewModeHeaderConfig,\n    viewModeSummaryConfig,\n  }) {\n    assert('The header component config must be provided', headerComponentConfig !== undefined);\n    assert(\n      'An array must be passed for the editor component configs',\n      isArray(editorComponentConfigs),\n    );\n\n    editorComponentConfigs.setEach('parentConfiguration', this);\n    Object.assign(this, {\n      headerComponentConfig,\n      editorComponentConfigs,\n      viewModeSummaryConfig,\n      viewModeHeaderConfig,\n    });\n  }\n}\n","import ComponentConfiguration from '../../component-configuration';\n\nexport default ComponentConfiguration.extend({\n  init(inputs) {\n    inputs.component = 'content-editor/view-mode/custom-bot/path-analysis';\n    this._super(...arguments);\n  },\n});\n","import ComponentConfiguration from '../component-configuration';\nimport { assert } from '@ember/debug';\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\n\nexport default ComponentConfiguration.extend({\n  filters: [],\n  stat: undefined,\n\n  init(inputs) {\n    inputs.component = 'content-editor/view-mode/standard-stat-list';\n    this._super(...arguments);\n    assert(\n      `The standard stats-list must be passed a known stats system statistic key. You passed [${inputs.stat}]`,\n      Object.keys(stats).includes(inputs.stat),\n    );\n\n    this.setProperties(inputs);\n\n    this.filters.forEach(filter => {\n      assert(`Expected a text attribute for the filter [${filter}]`, filter.text);\n      assert(\n        `Expected a known stats system statistic value for the filter value. You passed [${filter.value}]`,\n        Object.values(stats).includes(filter.value),\n      );\n    });\n  },\n});\n","import StandardSummaryConfiguration from '../../../standard-summary-configuration';\nimport { not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default StandardSummaryConfiguration.extend({\n  init(_inputs) {\n    this._super({\n      title: 'Show your carousel automatically',\n      component: 'content-editor/summaries/audience/content/carousel/summary',\n    });\n  },\n  contentEditorService: service(),\n  isVisible: not('contentEditorService.isSeriesMode').readOnly(),\n});\n","import StandardSummaryConfiguration from '../standard-summary-configuration';\nimport { not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default StandardSummaryConfiguration.extend({\n  init(inputs) {\n    let title = inputs.title || 'Rules';\n    this._super({\n      title,\n      component: 'content-editor/summaries/audience/summary',\n    });\n  },\n\n  contentEditorService: service(),\n  isVisible: not('contentEditorService.isSeriesMode').readOnly(),\n});\n","import StandardSummaryConfiguration from '../../standard-summary-configuration';\nimport { not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default StandardSummaryConfiguration.extend({\n  init(inputs) {\n    let title = inputs.title || 'Channel';\n    this._super({\n      title,\n      component: 'content-editor/summaries/channel/custom-bot/summary',\n    });\n  },\n  contentEditorService: service(),\n  isVisible: not('contentEditorService.isSeriesMode').readOnly(),\n});\n","import StandardSummaryConfiguration from '../../standard-summary-configuration';\n\nexport default StandardSummaryConfiguration.extend({\n  init(inputs) {\n    let title = inputs.title || 'Content';\n    this._super({\n      title,\n      component: 'content-editor/summaries/content/banner/summary',\n      isVisible: true,\n    });\n  },\n});\n","import StandardSummaryConfiguration from 'embercom/objects/content-editor/summaries/standard-summary-configuration';\n\nexport default StandardSummaryConfiguration.extend({\n  init(inputs) {\n    let title = 'Create your carousel';\n    this._super({\n      title,\n      component: 'content-editor/summaries/content/carousel/summary',\n      isVisible: true,\n    });\n  },\n});\n","import StandardSummaryConfiguration from 'embercom/objects/content-editor/summaries/standard-summary-configuration';\n\nexport default StandardSummaryConfiguration.extend({\n  init(inputs) {\n    let title = inputs.title || 'Content';\n    this._super({\n      title,\n      component: 'content-editor/summaries/content/chat/summary',\n      isVisible: true,\n    });\n  },\n});\n","import StandardSummaryConfiguration from '../../standard-summary-configuration';\n\nexport default StandardSummaryConfiguration.extend({\n  init(inputs) {\n    let title = inputs.title || 'Content';\n    this._super({\n      title,\n      component: 'content-editor/summaries/content/control-group/summary',\n      isVisible: true,\n    });\n  },\n});\n","import StandardSummaryConfiguration from 'embercom/objects/content-editor/summaries/standard-summary-configuration';\n\nexport default StandardSummaryConfiguration.extend({\n  init(inputs) {\n    let title = inputs.title || 'Content';\n    this._super({\n      title,\n      component: 'content-editor/summaries/content/custom-bot/summary',\n      isVisible: true,\n    });\n  },\n});\n","import StandardSummaryConfiguration from 'embercom/objects/content-editor/summaries/standard-summary-configuration';\n\nexport default StandardSummaryConfiguration.extend({\n  init(inputs) {\n    let title = inputs.title || 'Content';\n    this._super({\n      title,\n      component: 'content-editor/summaries/content/email/summary',\n      isVisible: true,\n    });\n  },\n});\n","import StandardSummaryConfiguration from 'embercom/objects/content-editor/summaries/standard-summary-configuration';\n\nexport default StandardSummaryConfiguration.extend({\n  init(inputs) {\n    let title = inputs.title || 'Content';\n    this._super({\n      title,\n      component: 'content-editor/summaries/content/post/summary',\n      isVisible: true,\n    });\n  },\n});\n","import StandardSummaryConfiguration from '../../standard-summary-configuration';\n\nexport default StandardSummaryConfiguration.extend({\n  init(inputs) {\n    let title = inputs.title || 'Content';\n    this._super({\n      title,\n      component: 'content-editor/summaries/content/push/summary',\n      isVisible: true,\n    });\n  },\n});\n","import StandardSummaryConfiguration from '../../standard-summary-configuration';\n\nexport default StandardSummaryConfiguration.extend({\n  init(inputs) {\n    let title = inputs.title || 'Content';\n    this._super({\n      title,\n      component: 'content-editor/summaries/content/sms/summary',\n      isVisible: true,\n    });\n  },\n});\n","import StandardSummaryConfiguration from 'embercom/objects/content-editor/summaries/standard-summary-configuration';\n\nexport default StandardSummaryConfiguration.extend({\n  init(inputs) {\n    let title = inputs.title || 'Content';\n    this._super({\n      title,\n      component: 'content-editor/summaries/content/tour/summary',\n      isVisible: true,\n    });\n  },\n});\n","import StandardSummaryConfiguration from '../standard-summary-configuration';\nimport { bool } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default StandardSummaryConfiguration.extend({\n  init(inputs) {\n    let title = inputs.title || 'Goal';\n    this._super({\n      title,\n      component: 'content-editor/summaries/goal/summary',\n    });\n  },\n\n  contentEditorService: service(),\n  isVisible: bool('contentEditorService.ruleset.hasGoal').readOnly(),\n});\n","import StandardSummaryConfiguration from '../standard-summary-configuration';\nimport { not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default StandardSummaryConfiguration.extend({\n  init(inputs) {\n    let title = inputs.title || 'Schedule';\n    this._super({\n      title,\n      component: 'content-editor/summaries/schedule/summary',\n    });\n  },\n  contentEditorService: service(),\n  isVisible: not('contentEditorService.isSeriesMode').readOnly(),\n});\n","import ComponentConfiguration from '../component-configuration';\nimport { assert } from '@ember/debug';\n\nexport default ComponentConfiguration.extend({\n  component: undefined,\n  title: undefined,\n  isVisible: undefined,\n\n  init(inputs) {\n    this._super(...arguments);\n    assert(\n      `The component path must be within the content-editor/summaries or series/summaries directory. You passed '${inputs.component}'`,\n      inputs.component.startsWith('content-editor/summaries/') ||\n        inputs.component.startsWith('series/summaries/'),\n    );\n\n    this.setProperties(inputs);\n\n    assert('A value or computed property must be provided for title', this.title !== undefined);\n    assert(\n      'A value or computed property must be provided for isVisible',\n      this.isVisible !== undefined,\n    );\n  },\n});\n","define(\"embercom/objects/content-editor/summaries/standard-summary-configurations\", [\"exports\", \"embercom/objects/content-editor/summaries/audience/standard-audience-summary-configuration\", \"embercom/objects/content-editor/summaries/goal/standard-goal-summary-configuration\", \"embercom/objects/content-editor/summaries/schedule/standard-schedule-summary-configuration\"], function (_exports, _standardAudienceSummaryConfiguration, _standardGoalSummaryConfiguration, _standardScheduleSummaryConfiguration) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"StandardAudienceSummaryConfiguration\", {\n    enumerable: true,\n    get: function get() {\n      return _standardAudienceSummaryConfiguration.default;\n    }\n  });\n  Object.defineProperty(_exports, \"StandardGoalSummaryConfiguration\", {\n    enumerable: true,\n    get: function get() {\n      return _standardGoalSummaryConfiguration.default;\n    }\n  });\n  Object.defineProperty(_exports, \"StandardScheduleSummaryConfiguration\", {\n    enumerable: true,\n    get: function get() {\n      return _standardScheduleSummaryConfiguration.default;\n    }\n  });\n});\n","import StandardSummaryConfiguration from '../../standard-summary-configuration';\nimport { and, not } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default StandardSummaryConfiguration.extend({\n  init(_inputs) {\n    let title = 'Trigger your carousel from code';\n    this._super({\n      title,\n      component: 'content-editor/summaries/trigger-programmatically/carousel/summary',\n    });\n  },\n  contentEditorService: service(),\n  appService: service(),\n  isNotSeries: not('contentEditorService.isSeriesMode'),\n  hasNoControlGroup: not('contentEditorService.ruleset.hasControlGroup'),\n  isVisible: and('isNotSeries', 'hasNoControlGroup', 'appService.app.canUseProgrammaticCarousels'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport { assert } from '@ember/debug';\nimport { isArray } from '@ember/array';\n\nexport default EmberObject.extend({\n  tabComponentConfigs: undefined,\n  fallbackComponentConfig: undefined, //Optional\n\n  init(inputs) {\n    this._super(...arguments);\n    assert(\n      'An array must be passed for the tab component configs',\n      isArray(inputs.tabComponentConfigs),\n    );\n\n    inputs.tabComponentConfigs.setEach('parentConfiguration', this);\n\n    if (inputs.fallbackComponentConfig) {\n      inputs.fallbackComponentConfig.parentConfiguration = this;\n    }\n\n    this.setProperties({\n      tabComponentConfigs: inputs.tabComponentConfigs,\n      fallbackComponentConfig: inputs.fallbackComponentConfig,\n    });\n  },\n});\n","import TabConfiguration from '../tab-configuration';\nimport { inject as service } from '@ember/service';\nimport { not, readOnly } from '@ember/object/computed';\n\nexport default TabConfiguration.extend({\n  contentEditorService: service(),\n\n  isNotDraft: not('contentEditorService.ruleset.isDraft'),\n  isVisible: readOnly('isNotDraft'),\n\n  label: 'Path Analysis',\n  icon: 'path-analysis',\n  view: undefined,\n\n  init(inputs) {\n    inputs.component = 'content-editor/tabs/custom-bot/path-analysis-tab';\n    inputs.view = 'pathAnalysis';\n\n    this._super(...arguments);\n    this.setProperties({\n      view: inputs.view,\n    });\n  },\n});\n","import TabConfiguration from './tab-configuration';\nimport { assert } from '@ember/debug';\n\nexport default TabConfiguration.extend({\n  label: undefined,\n  icon: undefined,\n\n  init(inputs) {\n    inputs.component = 'content-editor/tabs/standard-content-tab';\n    inputs.view = 'content';\n\n    this._super(...arguments);\n\n    assert('A label must be passed for the standard content tab configuration', inputs.label);\n    assert('An icon must be passed for the standard content tab configuration', inputs.icon);\n\n    this.setProperties({\n      label: inputs.label,\n      icon: inputs.icon,\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport TabConfiguration from './tab-configuration';\nimport { assert } from '@ember/debug';\nimport { inject as service } from '@ember/service';\nimport { computed } from '@ember/object';\nimport { statisticKeys } from 'embercom/models/data/outbound/constants';\nimport { selectFromObject } from '@intercom/embercom-core/lib/computed-properties';\nimport { not, readOnly } from '@ember/object/computed';\n\nexport default TabConfiguration.extend({\n  contentEditorService: service(),\n  statisticKeys,\n\n  isNotDraft: not('contentEditorService.ruleset.isDraft'),\n  isVisible: readOnly('isNotDraft'),\n\n  label: undefined,\n  icon: undefined,\n  view: undefined,\n\n  statisticKey: selectFromObject('statisticKeys', 'view'),\n  statistic: computed(function() {\n    return this.contentEditorService.activeRulesetLink.objectStats.findBy('key', this.statisticKey);\n  }),\n\n  init(inputs) {\n    inputs.component = inputs.tabComponent || 'content-editor/tabs/standard-stat-tab';\n\n    this._super(...arguments);\n\n    assert(\n      'The view for a standard stats tab must be a known statistic.',\n      Object.keys(statisticKeys).includes(inputs.view),\n    );\n\n    this.setProperties({\n      label: inputs.label,\n      view: inputs.view,\n    });\n  },\n});\n","import ComponentConfiguration from '../component-configuration';\nimport { assert } from '@ember/debug';\n\nexport default ComponentConfiguration.extend({\n  view: undefined,\n  isVisible: true,\n\n  init(inputs) {\n    this._super(...arguments);\n    assert('A view must be passed for a tab configuration', inputs.view);\n    this.setProperties({\n      view: inputs.view,\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport { assert } from '@ember/debug';\nimport { isArray } from '@ember/array';\n\nexport default EmberObject.extend({\n  headerComponentConfigs: undefined,\n  tabsConfiguration: undefined,\n  activeViewConfiguration: undefined,\n  footerComponentConfigs: undefined,\n\n  init(inputs) {\n    this._super(...arguments);\n    assert(\n      'An array must be passed for the header component configs',\n      isArray(inputs.headerComponentConfigs),\n    );\n    assert('A tabs configuration must be provided', this.tabsConfiguration);\n    assert('An active view configuration must be provided', this.activeViewConfiguration);\n    assert(\n      'An array must be passed for the footer component configs',\n      isArray(inputs.footerComponentConfigs),\n    );\n\n    inputs.headerComponentConfigs.setEach('parentConfiguration', this);\n    inputs.tabsConfiguration.parentConfiguration = this;\n    inputs.activeViewConfiguration.parentConfiguration = this;\n    inputs.footerComponentConfigs.setEach('parentConfiguration', this);\n\n    this.setProperties({\n      headerComponentConfigs: inputs.headerComponentConfigs,\n      footerComponentConfigs: inputs.footerComponentConfigs,\n    });\n  },\n});\n","import NodeConfiguration, { NODE_CATEGORIES } from 'embercom/objects/series/node-configuration';\nimport BannerInserterConfiguration from 'embercom/objects/series/node/banner-inserter-configuration';\n\nexport default class BannerNodeConfiguration extends NodeConfiguration {\n  inserterConfiguration = new BannerInserterConfiguration();\n  category = NODE_CATEGORIES.content;\n}\n","import NodeConfiguration, { NODE_CATEGORIES } from 'embercom/objects/series/node-configuration';\nimport BotInserterConfiguration from 'embercom/objects/series/node/bot-inserter-configuration';\n\nexport default class BotNodeConfiguration extends NodeConfiguration {\n  inserterConfiguration = new BotInserterConfiguration();\n  category = NODE_CATEGORIES.content;\n}\n","import NodeConfiguration, { NODE_CATEGORIES } from 'embercom/objects/series/node-configuration';\nimport CarouselInserterConfiguration from 'embercom/objects/series/node/carousel-inserter-configuration';\n\nexport default class CarouselNodeConfiguration extends NodeConfiguration {\n  inserterConfiguration = new CarouselInserterConfiguration();\n  category = NODE_CATEGORIES.content;\n}\n","import NodeConfiguration, { NODE_CATEGORIES } from 'embercom/objects/series/node-configuration';\nimport ChatInserterConfiguration from 'embercom/objects/series/node/chat-inserter-configuration';\n\nexport default class ChatNodeConfiguration extends NodeConfiguration {\n  inserterConfiguration = new ChatInserterConfiguration();\n  category = NODE_CATEGORIES.content;\n}\n","import NodeConfiguration, { NODE_CATEGORIES } from 'embercom/objects/series/node-configuration';\nimport ConditionInserterConfiguration from 'embercom/objects/series/node/condition-inserter-configuration';\n\nexport default class ConditionNodeConfiguration extends NodeConfiguration {\n  inserterConfiguration = new ConditionInserterConfiguration();\n  category = NODE_CATEGORIES.condition;\n}\n","import PushNodeConfiguration from 'embercom/objects/series/push-node-configuration';\nimport TourNodeConfiguration from 'embercom/objects/series/tour-node-configuration';\nimport ConditionNodeConfiguration from 'embercom/objects/series/condition-node-configuration';\nimport ChatNodeConfiguration from 'embercom/objects/series/chat-node-configuration';\nimport CarouselNodeConfiguration from 'embercom/objects/series/carousel-node-configuration';\nimport PostNodeConfiguration from 'embercom/objects/series/post-node-configuration';\nimport WaitNodeConfiguration from 'embercom/objects/series/wait-node-configuration';\nimport TaggerNodeConfiguration from 'embercom/objects/series/tagger-node-configuration';\nimport EmailNodeConfiguration from 'embercom/objects/series/email-node-configuration';\nimport BotNodeConfiguration from 'embercom/objects/series/bot-node-configuration';\nimport BannerNodeConfiguration from 'embercom/objects/series/banner-node-configuration';\n\nimport PushGraphConfiguration from 'embercom/objects/series/node/push-graph-configuration';\nimport TourGraphConfiguration from 'embercom/objects/series/node/tour-graph-configuration';\nimport ChatGraphConfiguration from 'embercom/objects/series/node/chat-graph-configuration';\nimport PostGraphConfiguration from 'embercom/objects/series/node/post-graph-configuration';\nimport CarouselGraphConfiguration from 'embercom/objects/series/node/carousel-graph-configuration';\nimport WaitGraphConfiguration from 'embercom/objects/series/node/wait-graph-configuration';\nimport ConditionGraphConfiguration from 'embercom/objects/series/node/condition-graph-configuration';\nimport TaggerGraphConfiguration from 'embercom/objects/series/node/tagger-graph-configuration';\nimport EmailGraphConfiguration from 'embercom/objects/series/node/email-graph-configuration';\nimport BotGraphConfiguration from 'embercom/objects/series/node/bot-graph-configuration';\nimport BannerGraphConfiguration from 'embercom/objects/series/node/banner-graph-configuration';\n\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport const allNodeConfigurations = [\n  new ChatNodeConfiguration(),\n  new PostNodeConfiguration(),\n  new BannerNodeConfiguration(),\n  new EmailNodeConfiguration(),\n  new BotNodeConfiguration(),\n  new TourNodeConfiguration(),\n  new PushNodeConfiguration(),\n  new CarouselNodeConfiguration(),\n  new ConditionNodeConfiguration(),\n  new WaitNodeConfiguration(),\n  new TaggerNodeConfiguration(),\n];\n\nexport const nodeGraphConfigurationClasses = {\n  [objectTypes.chat]: ChatGraphConfiguration,\n  [objectTypes.post]: PostGraphConfiguration,\n  [objectTypes.banner]: BannerGraphConfiguration,\n  [objectTypes.email]: EmailGraphConfiguration,\n  [objectTypes.customBot]: BotGraphConfiguration,\n  [objectTypes.tour]: TourGraphConfiguration,\n  [objectTypes.push]: PushGraphConfiguration,\n  [objectTypes.carousel]: CarouselGraphConfiguration,\n  [objectTypes.condition]: ConditionGraphConfiguration,\n  [objectTypes.wait]: WaitGraphConfiguration,\n  [objectTypes.tagger]: TaggerGraphConfiguration,\n};\n","import NodeConfiguration, { NODE_CATEGORIES } from 'embercom/objects/series/node-configuration';\nimport EmailInserterConfiguration from 'embercom/objects/series/node/email-inserter-configuration';\n\nexport default class EmailNodeConfiguration extends NodeConfiguration {\n  inserterConfiguration = new EmailInserterConfiguration();\n  category = NODE_CATEGORIES.content;\n}\n","import InserterConfiguration from 'embercom/objects/series/node/inserter-configuration';\n\nexport const NODE_CATEGORIES = {\n  content: 0,\n  condition: 1,\n  action: 2,\n};\nexport default class NodeConfiguration {\n  inserterConfiguration = new InserterConfiguration();\n  category = null;\n}\n","import GraphConfiguration from 'embercom/objects/series/node/graph-configuration';\nimport StandardNodeComponentConfiguration from 'embercom/objects/series/node/standard-node-component-configuration';\nimport ConnectorConfiguration from 'embercom/objects/series/node/connector-configuration';\nimport StatsConfiguration from 'embercom/objects/series/node/stats-configuration';\nimport ComponentConfiguration from 'embercom/objects/component-configuration';\nimport NotOnlineConnectorConfiguration from 'embercom/objects/series/node/not-online-connector-configuration';\nimport renderPreview from '@intercom/embercom-composer/lib/render-preview';\nimport { htmlToTextContent } from 'embercom/lib/html-unescape';\nimport {\n  objectTypes,\n  seriesEdgeTypes,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { defaultDelayDescription } from 'embercom/lib/series/constants';\n\nexport default class BannerGraphConfiguration extends GraphConfiguration {\n  objectType = objectTypes['banner'];\n\n  constructor(seriesNode) {\n    super(...arguments);\n    this.componentConfig = new StandardNodeComponentConfiguration({\n      icon: 'series/content/banner',\n      objectType: this.objectType,\n      delayConfigurationComponent: new ComponentConfiguration({\n        component: 'series/node/in-app-delay-editor',\n      }),\n      statsSummaryConfigurationComponent: new StatsConfiguration({\n        verb: 'sent',\n        component: 'series/node/standard-stats-summary',\n      }),\n    });\n  }\n\n  get connectors() {\n    return [\n      new ConnectorConfiguration({\n        label: 'WHEN DELIVERED',\n        edgeType: seriesEdgeTypes.primary,\n        component: 'series/node/connectors/content-shortcuts-connector',\n      }),\n      new NotOnlineConnectorConfiguration({\n        node: this.node,\n        edgeType: seriesEdgeTypes.alternative,\n      }),\n    ];\n  }\n\n  get inferredTitle() {\n    let contentPreview = this.node.contentPreviews.firstObject?.contentPreviewData?.content;\n    if (contentPreview) {\n      let previewHtml = renderPreview(contentPreview, {});\n      return htmlToTextContent(previewHtml);\n    }\n    return '';\n  }\n\n  get primaryPredecessorLabel() {\n    return `Received '${this.title}'`;\n  }\n\n  get alternativePredecessorLabel() {\n    return `Did not come online to receive '${this.title}'`;\n  }\n\n  canStart() {\n    return false;\n  }\n\n  get checkpointStats() {\n    return [\n      { label: 'received', value: this.node.completedCheckpointCount },\n      { label: 'pending', value: this.node.activeCheckpointCount },\n      {\n        label: [\n          `didn't come online within ${this.node.delayDescription || defaultDelayDescription}`,\n        ],\n        value: this.node.expiredCheckpointCount,\n      },\n      { label: 'left path', value: this.node.exitedCheckpointCount },\n    ];\n  }\n}\n","import InserterConfiguration from 'embercom/objects/series/node/inserter-configuration';\nimport StandardInserterComponentConfiguration from 'embercom/objects/series/node/standard-inserter-component-configuration';\nimport StandardLoadingComponentConfiguration from 'embercom/objects/series/node/standard-loading-component-configuration';\nimport {\n  objectTypes,\n  objectNames,\n  objectFeatures,\n} from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class BannerInserterConfiguration extends InserterConfiguration {\n  objectType = objectTypes['banner'];\n  objectData = {};\n  requiredFeatures = [objectFeatures[objectTypes.banner]];\n  componentConfig = new StandardInserterComponentConfiguration({\n    icon: 'series/content/banner',\n    title: objectNames[this.objectType].capitalize(),\n  });\n  loadingComponentConfig = new StandardLoadingComponentConfiguration({\n    icon: 'series/content/banner',\n    title: `Empty ${objectNames[this.objectType]}`,\n    objectType: this.objectType,\n  });\n\n  canInsertNode() {\n    return super.canInsertNode(...arguments);\n  }\n}\n","import GraphConfiguration from 'embercom/objects/series/node/graph-configuration';\nimport StandardNodeComponentConfiguration from 'embercom/objects/series/node/standard-node-component-configuration';\nimport ConnectorConfiguration from 'embercom/objects/series/node/connector-configuration';\nimport NotOnlineConnectorConfiguration from 'embercom/objects/series/node/not-online-connector-configuration';\nimport ComponentConfiguration from 'embercom/objects/component-configuration';\nimport StatsConfiguration from 'embercom/objects/series/node/stats-configuration';\nimport { defaultDelayDescription } from 'embercom/lib/series/constants';\n\nimport {\n  objectTypes,\n  seriesEdgeTypes,\n  objectFeatures,\n} from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class CarouselGraphConfiguration extends GraphConfiguration {\n  objectType = objectTypes['customBot'];\n\n  constructor() {\n    super(...arguments);\n    this.componentConfig = new StandardNodeComponentConfiguration({\n      icon: 'series/content/bot',\n      paywallIcon: 'series/content/paywalled-bot',\n      requiredFeature: objectFeatures[this.objectType],\n      delayConfigurationComponent: new ComponentConfiguration({\n        component: 'series/node/in-app-delay-editor',\n      }),\n      statsSummaryConfigurationComponent: new StatsConfiguration({\n        verb: 'sent',\n        component: 'series/node/standard-stats-summary',\n      }),\n    });\n  }\n\n  get connectors() {\n    return [\n      new ConnectorConfiguration({\n        label: 'WHEN DELIVERED',\n        edgeType: seriesEdgeTypes.primary,\n        component: 'series/node/connectors/content-shortcuts-connector',\n      }),\n      new NotOnlineConnectorConfiguration({\n        node: this.node,\n        edgeType: seriesEdgeTypes.alternative,\n      }),\n    ];\n  }\n\n  get primaryPredecessorLabel() {\n    return `Received '${this.title}'`;\n  }\n\n  get alternativePredecessorLabel() {\n    return `Did not come online to receive '${this.title}'`;\n  }\n\n  canStart() {\n    return false;\n  }\n\n  get checkpointStats() {\n    return [\n      { label: 'received', value: this.node.completedCheckpointCount },\n      { label: 'pending', value: this.node.activeCheckpointCount },\n      {\n        label: [\n          `didn't come online within ${this.node.delayDescription || defaultDelayDescription}`,\n        ],\n        value: this.node.expiredCheckpointCount,\n      },\n      { label: 'left path', value: this.node.exitedCheckpointCount },\n    ];\n  }\n}\n","import InserterConfiguration from 'embercom/objects/series/node/inserter-configuration';\nimport StandardInserterComponentConfiguration from 'embercom/objects/series/node/standard-inserter-component-configuration';\nimport StandardLoadingComponentConfiguration from 'embercom/objects/series/node/standard-loading-component-configuration';\nimport {\n  objectTypes,\n  humanReadableObjectNames,\n  objectFeatures,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\nimport { EVERYONE_TARGET } from 'embercom/lib/operator/custom-bots/constants';\n\nexport default class BotInserterConfiguration extends InserterConfiguration {\n  objectType = objectTypes.customBot;\n  requiredFeatures = [objectFeatures[objectTypes.customBot]];\n\n  get objectData() {\n    let initiator = getEmberDataStore().createRecord(\n      'operator/custom-bots/initiators/bot-auto-message',\n      { target: EVERYONE_TARGET },\n    );\n    initiator.set('type', 'BotAutoMessage');\n\n    return {\n      initiators: [initiator],\n    };\n  }\n  componentConfig = new StandardInserterComponentConfiguration({\n    icon: 'series/content/bot',\n    paywallIcon: 'series/content/paywalled-bot',\n    requiredFeature: objectFeatures[objectTypes.customBot],\n    title: humanReadableObjectNames[this.objectType].capitalize(),\n  });\n  loadingComponentConfig = new StandardLoadingComponentConfiguration({\n    icon: 'series/content/bot',\n    title: `Empty ${humanReadableObjectNames[this.objectType]}`,\n    objectType: this.objectType,\n  });\n\n  canInsertNode({ app, _dataObject }) {\n    return true;\n  }\n}\n","import GraphConfiguration from 'embercom/objects/series/node/graph-configuration';\nimport StandardNodeComponentConfiguration from 'embercom/objects/series/node/standard-node-component-configuration';\nimport ConnectorConfiguration from 'embercom/objects/series/node/connector-configuration';\nimport NotOnlineConnectorConfiguration from 'embercom/objects/series/node/not-online-connector-configuration';\nimport ComponentConfiguration from 'embercom/objects/component-configuration';\nimport StatsConfiguration from 'embercom/objects/series/node/stats-configuration';\nimport {\n  objectTypes,\n  seriesEdgeTypes,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport renderPreview from '@intercom/embercom-composer/lib/render-preview';\nimport { htmlToTextContent } from 'embercom/lib/html-unescape';\nimport { defaultDelayDescription } from 'embercom/lib/series/constants';\n\nexport default class CarouselGraphConfiguration extends GraphConfiguration {\n  objectType = objectTypes['carousel'];\n\n  constructor(seriesNode) {\n    super(...arguments);\n    this.componentConfig = new StandardNodeComponentConfiguration({\n      icon: 'series/content/carousel',\n      objectType: this.objectType,\n      objectName: 'Carousel',\n      delayConfigurationComponent: new ComponentConfiguration({\n        component: 'series/node/in-app-delay-editor',\n      }),\n      statsSummaryConfigurationComponent: new StatsConfiguration({\n        verb: 'sent',\n        component: 'series/node/standard-stats-summary',\n      }),\n    });\n  }\n\n  get connectors() {\n    return [\n      new ConnectorConfiguration({\n        label: 'WHEN DELIVERED',\n        edgeType: seriesEdgeTypes.primary,\n        component: 'series/node/connectors/content-shortcuts-connector',\n      }),\n      new NotOnlineConnectorConfiguration({\n        node: this.node,\n        edgeType: seriesEdgeTypes.alternative,\n      }),\n    ];\n  }\n\n  get inferredTitle() {\n    let contentPreview = this.node.contentPreviews.firstObject?.contentPreviewData?.content;\n    if (contentPreview) {\n      let previewHtml = renderPreview(contentPreview, {});\n      return htmlToTextContent(previewHtml);\n    }\n    return '';\n  }\n\n  get primaryPredecessorLabel() {\n    return `Received '${this.title}'`;\n  }\n\n  get alternativePredecessorLabel() {\n    return `Did not come online to receive '${this.title}'`;\n  }\n\n  canStart() {\n    return false;\n  }\n\n  get checkpointStats() {\n    return [\n      { label: 'received', value: this.node.completedCheckpointCount },\n      { label: 'pending', value: this.node.activeCheckpointCount },\n      {\n        label: [\n          `didn't come online within ${this.node.delayDescription || defaultDelayDescription}`,\n        ],\n        value: this.node.expiredCheckpointCount,\n      },\n      { label: 'left path', value: this.node.exitedCheckpointCount },\n    ];\n  }\n}\n","import InserterConfiguration from 'embercom/objects/series/node/inserter-configuration';\nimport StandardInserterComponentConfiguration from 'embercom/objects/series/node/standard-inserter-component-configuration';\nimport StandardLoadingComponentConfiguration from 'embercom/objects/series/node/standard-loading-component-configuration';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class CarouselInserterConfiguration extends InserterConfiguration {\n  objectType = objectTypes['carousel'];\n  objectData = {};\n  componentConfig = new StandardInserterComponentConfiguration({\n    icon: 'series/content/carousel',\n    title: 'Carousel',\n  });\n  loadingComponentConfig = new StandardLoadingComponentConfiguration({\n    icon: 'series/content/carousel',\n    title: 'Empty carousel',\n    objectType: this.objectType,\n    objectName: 'Carousel',\n  });\n\n  canInsertNode() {\n    return super.canInsertNode(...arguments);\n  }\n}\n","import GraphConfiguration from 'embercom/objects/series/node/graph-configuration';\nimport StandardNodeComponentConfiguration from 'embercom/objects/series/node/standard-node-component-configuration';\nimport ConnectorConfiguration from 'embercom/objects/series/node/connector-configuration';\nimport StatsConfiguration from 'embercom/objects/series/node/stats-configuration';\nimport ComponentConfiguration from 'embercom/objects/component-configuration';\nimport NotOnlineConnectorConfiguration from 'embercom/objects/series/node/not-online-connector-configuration';\nimport renderPreview from '@intercom/embercom-composer/lib/render-preview';\nimport { htmlToTextContent } from 'embercom/lib/html-unescape';\nimport {\n  objectTypes,\n  seriesEdgeTypes,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { defaultDelayDescription } from 'embercom/lib/series/constants';\n\nexport default class ChatGraphConfiguration extends GraphConfiguration {\n  objectType = objectTypes['chat'];\n\n  constructor(seriesNode) {\n    super(...arguments);\n    this.componentConfig = new StandardNodeComponentConfiguration({\n      icon: 'series/content/chat',\n      objectType: this.objectType,\n      delayConfigurationComponent: new ComponentConfiguration({\n        component: 'series/node/in-app-delay-editor',\n      }),\n      statsSummaryConfigurationComponent: new StatsConfiguration({\n        verb: 'sent',\n        component: 'series/node/standard-stats-summary',\n      }),\n    });\n  }\n\n  get connectors() {\n    return [\n      new ConnectorConfiguration({\n        label: 'WHEN DELIVERED',\n        edgeType: seriesEdgeTypes.primary,\n        component: 'series/node/connectors/content-shortcuts-connector',\n      }),\n      new NotOnlineConnectorConfiguration({\n        node: this.node,\n        edgeType: seriesEdgeTypes.alternative,\n      }),\n    ];\n  }\n\n  get inferredTitle() {\n    let contentPreview = this.node.contentPreviews.firstObject?.contentPreviewData?.content;\n    if (contentPreview) {\n      let previewHtml = renderPreview(contentPreview, {});\n      return htmlToTextContent(previewHtml);\n    }\n    return '';\n  }\n\n  get primaryPredecessorLabel() {\n    return `Received '${this.title}'`;\n  }\n\n  get alternativePredecessorLabel() {\n    return `Did not come online to receive '${this.title}'`;\n  }\n\n  canStart() {\n    return false;\n  }\n\n  get checkpointStats() {\n    return [\n      { label: 'received', value: this.node.completedCheckpointCount },\n      { label: 'pending', value: this.node.activeCheckpointCount },\n      {\n        label: [\n          `didn't come online within ${this.node.delayDescription || defaultDelayDescription}`,\n        ],\n        value: this.node.expiredCheckpointCount,\n      },\n      { label: 'left path', value: this.node.exitedCheckpointCount },\n    ];\n  }\n}\n","import InserterConfiguration from 'embercom/objects/series/node/inserter-configuration';\nimport StandardInserterComponentConfiguration from 'embercom/objects/series/node/standard-inserter-component-configuration';\nimport StandardLoadingComponentConfiguration from 'embercom/objects/series/node/standard-loading-component-configuration';\nimport { objectTypes, objectNames } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class ChatInserterConfiguration extends InserterConfiguration {\n  objectType = objectTypes['chat'];\n  objectData = {};\n  componentConfig = new StandardInserterComponentConfiguration({\n    icon: 'series/content/chat',\n    title: objectNames[this.objectType].capitalize(),\n  });\n  loadingComponentConfig = new StandardLoadingComponentConfiguration({\n    icon: 'series/content/chat',\n    title: `Empty ${objectNames[this.objectType]}`,\n    objectType: this.objectType,\n  });\n\n  canInsertNode() {\n    return super.canInsertNode(...arguments);\n  }\n}\n","import GraphConfiguration from 'embercom/objects/series/node/graph-configuration';\nimport ConditionNodeComponentConfiguration from 'embercom/objects/series/node/condition-node-component-configuration';\nimport StandardConnectorConfiguration from 'embercom/objects/series/node/standard-connector-configuration';\nimport NotMatchedConnectorConfiguration from 'embercom/objects/series/node/not-matched-connector-configuration';\nimport ComponentConfiguration from 'embercom/objects/component-configuration';\nimport StatsConfiguration from 'embercom/objects/series/node/stats-configuration';\nimport { isPresent } from '@ember/utils';\nimport {\n  objectTypes,\n  seriesEdgeTypes,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { dependentKeyCompat } from '@ember/object/compat';\nimport { defaultDelayDescription } from 'embercom/lib/series/constants';\n\nexport default class ConditionGraphConfiguration extends GraphConfiguration {\n  objectType = objectTypes['condition'];\n\n  constructor(seriesNode) {\n    super(...arguments);\n    this.componentConfig = new ConditionNodeComponentConfiguration({\n      node: seriesNode,\n      icon: 'series/content/condition',\n      objectType: this.objectType,\n      delayConfigurationComponent: new ComponentConfiguration({\n        component: 'series/node/condition-delay-editor',\n      }),\n      statsSummaryConfigurationComponent: new StatsConfiguration({\n        verb: 'matched',\n        component: 'series/node/standard-stats-summary',\n      }),\n    });\n  }\n\n  @dependentKeyCompat\n  get title() {\n    if (isPresent(this.node.rulesetClientData.title) && !this.isUntitledCopy) {\n      return this.node.rulesetClientData.title;\n    }\n\n    if (this.inferredTitle) {\n      return this.inferredTitle + this.titleSuffix;\n    }\n\n    return this.defaultTitle + this.titleSuffix;\n  }\n\n  get defaultTitle() {\n    return 'Empty rules';\n  }\n\n  get inferredTitle() {\n    let predicateGroup = this.node.contentPreviews.firstObject?.predicateGroup;\n    let descriptions = [];\n\n    if (predicateGroup) {\n      // If we have a starting node, we want to show all predicates including the role predicate\n      if (\n        this.node.isStarting &&\n        this.node.rulesetClientData.openedSeriesEditor &&\n        isPresent(predicateGroup.predicates)\n      ) {\n        this._generateSummary(predicateGroup.predicates, descriptions);\n        return descriptions.join(', ').capitalize();\n      }\n\n      // Otherwise summarise only the 'editable' predicates. This prevents \"Type User, Visitor, Lead\"\n      // being prepended to every title.\n      if (isPresent(predicateGroup.editablePredicates)) {\n        this._generateSummary(predicateGroup.editablePredicates, descriptions);\n        return descriptions.join(', ').capitalize();\n      }\n    }\n  }\n\n  _generateSummary(predicates, descriptions) {\n    predicates.forEach(predicate => {\n      if (predicate.isLogicalType) {\n        this._generateSummary(predicate.predicates, descriptions);\n      } else {\n        descriptions.push(predicate.descriptionWithName);\n      }\n    });\n  }\n\n  canStart() {\n    return false;\n  }\n\n  get connectors() {\n    let connectors = [\n      new StandardConnectorConfiguration({\n        label: 'WHEN MATCHED',\n        edgeType: seriesEdgeTypes.primary,\n      }),\n    ];\n\n    if (!this.node.isStarting) {\n      connectors.push(\n        new NotMatchedConnectorConfiguration({\n          node: this.node,\n          edgeType: seriesEdgeTypes.alternative,\n        }),\n      );\n    }\n\n    return connectors;\n  }\n\n  get primaryPredecessorLabel() {\n    return `Matched '${this.title}'`;\n  }\n\n  get alternativePredecessorLabel() {\n    return `Did not match '${this.title}'`;\n  }\n\n  get checkpointStats() {\n    return [\n      { label: 'matched', value: this.node.completedCheckpointCount },\n      { label: \"didn't match\", value: this.node.completedTraversedAlternativeEdgesCheckpointCount },\n      { label: \"didn't match and left path\", value: this.node.completedEjectedCheckpointCount },\n      { label: 'trying to match', value: this.node.activeCheckpointCount },\n      {\n        label: [`didn't match within ${this.node.delayDescription || defaultDelayDescription}`],\n        value: this.node.expiredCheckpointCount,\n      },\n      { label: 'left path', value: this.node.exitedCheckpointCount },\n    ];\n  }\n}\n","import InserterConfiguration from 'embercom/objects/series/node/inserter-configuration';\nimport StandardInserterComponentConfiguration from 'embercom/objects/series/node/standard-inserter-component-configuration';\nimport StandardLoadingComponentConfiguration from 'embercom/objects/series/node/standard-loading-component-configuration';\nimport { objectTypes, objectNames } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class ConditionInserterConfiguration extends InserterConfiguration {\n  objectType = objectTypes['condition'];\n  objectData = {};\n  componentConfig = new StandardInserterComponentConfiguration({\n    icon: 'series/content/condition',\n    title: objectNames[this.objectType].capitalize(),\n  });\n  loadingComponentConfig = new StandardLoadingComponentConfiguration({\n    icon: 'series/content/condition',\n    title: `Empty rule`,\n    objectType: this.objectType,\n  });\n\n  canInsertNode() {\n    return super.canInsertNode(...arguments);\n  }\n}\n","import StandardNodeComponentConfiguration from './standard-node-component-configuration';\n\nexport default class ConditionNodeComponentConfiguration extends StandardNodeComponentConfiguration {\n  node = undefined;\n\n  get objectLabel() {\n    if (this.node.isStarting) {\n      return `Entry rules`;\n    } else {\n      return this.objectName;\n    }\n  }\n\n  constructor(params = {}) {\n    super(params);\n    this.node = params.node;\n  }\n}\n","import { seriesEdgeTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport { assert } from '@ember/debug';\nimport { isPresent } from '@ember/utils';\nimport ComponentConfiguration from 'embercom/objects/component-configuration';\n\nexport default class ConnectorConfiguration extends ComponentConfiguration {\n  edgeType = undefined;\n  customLabel = undefined;\n\n  get label() {\n    return this.customLabel;\n  }\n\n  constructor(inputs) {\n    super(inputs);\n    assert('You must provide an edge type for a connector', isPresent(inputs.edgeType));\n    assert(\n      'The provided edge type is unknown',\n      Object.values(seriesEdgeTypes).includes(inputs.edgeType),\n    );\n\n    this.edgeType = inputs.edgeType;\n    this.customLabel = inputs.label;\n  }\n}\n","import GraphConfiguration from 'embercom/objects/series/node/graph-configuration';\nimport StandardNodeComponentConfiguration from 'embercom/objects/series/node/standard-node-component-configuration';\nimport ConnectorConfiguration from 'embercom/objects/series/node/connector-configuration';\nimport StatsConfiguration from 'embercom/objects/series/node/stats-configuration';\nimport {\n  objectTypes,\n  seriesEdgeTypes,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport renderPreview from '@intercom/embercom-composer/lib/render-preview';\nimport { htmlToTextContent } from 'embercom/lib/html-unescape';\n\nexport default class EmailGraphConfiguration extends GraphConfiguration {\n  objectType = objectTypes['email'];\n\n  constructor(seriesNode) {\n    super(...arguments);\n    this.componentConfig = new StandardNodeComponentConfiguration({\n      icon: 'series/content/email',\n      objectType: this.objectType,\n      statsSummaryConfigurationComponent: new StatsConfiguration({\n        verb: 'sent',\n        component: 'series/node/standard-stats-summary',\n      }),\n    });\n  }\n\n  get connectors() {\n    return [\n      new ConnectorConfiguration({\n        label: 'WHEN SENT',\n        edgeType: seriesEdgeTypes.primary,\n        component: 'series/node/connectors/content-shortcuts-connector',\n      }),\n    ];\n  }\n\n  get inferredTitle() {\n    let contentPreview = this.node.contentPreviews.firstObject?.contentPreviewData?.content;\n    if (contentPreview) {\n      let previewHtml = renderPreview(contentPreview, {});\n      return htmlToTextContent(previewHtml);\n    }\n    return '';\n  }\n\n  canStart() {\n    return false;\n  }\n\n  get primaryPredecessorLabel() {\n    return `Received '${this.title}'`;\n  }\n\n  get checkpointStats() {\n    return [\n      { label: 'successfully sent', value: this.node.completedCheckpointCount },\n      {\n        label: 'ineligible to send',\n        value:\n          this.node.completedTraversedAlternativeEdgesCheckpointCount +\n          this.node.completedEjectedCheckpointCount,\n      },\n    ];\n  }\n}\n","import InserterConfiguration from 'embercom/objects/series/node/inserter-configuration';\nimport StandardInserterComponentConfiguration from 'embercom/objects/series/node/standard-inserter-component-configuration';\nimport StandardLoadingComponentConfiguration from 'embercom/objects/series/node/standard-loading-component-configuration';\nimport { objectTypes, objectNames } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class EmailInserterConfiguration extends InserterConfiguration {\n  objectType = objectTypes['email'];\n  objectData = {};\n  componentConfig = new StandardInserterComponentConfiguration({\n    icon: 'series/content/email',\n    title: objectNames[this.objectType].capitalize(),\n  });\n  loadingComponentConfig = new StandardLoadingComponentConfiguration({\n    icon: 'series/content/email',\n    title: `Empty ${objectNames[this.objectType]}`,\n    objectType: this.objectType,\n  });\n\n  canInsertNode() {\n    return super.canInsertNode(...arguments);\n  }\n}\n","import ComponentConfiguration from 'embercom/objects/component-configuration';\nimport {\n  seriesEdgeTypes,\n  humanReadableObjectNames,\n  rulesetCopyTitleSufix,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { isPresent } from '@ember/utils';\nimport { dependentKeyCompat } from '@ember/object/compat';\nimport escapeRegExp from 'embercom/lib/escape-regular-expression';\n\nexport default class GraphConfiguration {\n  node = undefined;\n  componentConfig = new ComponentConfiguration({ component: 'path/to/component/file' });\n  get connectors() {\n    return [{ edgeType: seriesEdgeTypes.primary }];\n  }\n  objectType = undefined;\n\n  constructor(node) {\n    this.node = node;\n  }\n\n  get inferredTitle() {\n    return '';\n  }\n\n  get defaultTitle() {\n    return `Empty ${humanReadableObjectNames[this.objectType]}`;\n  }\n\n  get primaryPredecessorLabel() {\n    return '';\n  }\n\n  get alternativePredecessorLabel() {\n    return '';\n  }\n\n  @dependentKeyCompat\n  get title() {\n    if (isPresent(this.node.rulesetClientData.title) && !this.isUntitledCopy) {\n      return this.node.rulesetClientData.title;\n    }\n\n    if (!this.node.rulesetClientData.openedSeriesEditor || !this.inferredTitle) {\n      return this.defaultTitle + this.titleSuffix;\n    }\n\n    return this.inferredTitle + this.titleSuffix;\n  }\n\n  get isUntitledCopy() {\n    let title = this.node.rulesetClientData.title || '';\n    let copySufixRegexString = `^(${escapeRegExp(rulesetCopyTitleSufix)})+$`;\n    let copySufixRegex = new RegExp(copySufixRegexString);\n    return title.match(copySufixRegex);\n  }\n\n  get titleSuffix() {\n    let rulesetTitle = this.node.rulesetClientData.title;\n    if (this.isUntitledCopy) {\n      return rulesetTitle;\n    } else {\n      return '';\n    }\n  }\n\n  canStart() {\n    throw new Error('Not implemented!');\n  }\n\n  get checkpointStatsOverviewValue() {\n    return this.checkpointStats.map(stat => stat.value).reduce((a, b) => a + b, 0);\n  }\n\n  get checkpointStatsOverviewLabel() {\n    return 'people in total';\n  }\n\n  get checkpointStats() {\n    return [];\n  }\n}\n","import ComponentConfiguration from 'embercom/objects/component-configuration';\n\nexport default class InserterConfiguration {\n  objectType = undefined;\n  requiredFeatures = [];\n  get objectData() {\n    return {};\n  }\n  componentConfig = new ComponentConfiguration({ component: 'path/to/component/file' });\n  loadingComponentConfig = new ComponentConfiguration({ component: 'path/to/component/file' });\n\n  isTooltipDisabled(app) {\n    return true;\n  }\n\n  disabledTooltipContent() {\n    return '';\n  }\n\n  get placeholderGraphNodeDataObject() {\n    return {\n      isNewlyInserted: true,\n      inserterConfig: this,\n    };\n  }\n\n  hasAccessToRequiredFeatures(app) {\n    return this.requiredFeatures.every(requiredFeature => {\n      return app.canUseFeature(requiredFeature);\n    });\n  }\n\n  canInsertNode({ app, _dataObject }) {\n    return this.hasAccessToRequiredFeatures(app);\n  }\n}\n","import ConnectorConfiguration from './connector-configuration';\n\nexport default class NotMatchedConnectorConfiguration extends ConnectorConfiguration {\n  node = undefined;\n\n  get label() {\n    if (this.node.isDelayable) {\n      return `IF NOT MATCHED AFTER ${this.node.delayDescription}`;\n    } else {\n      return `IF NOT MATCHED`;\n    }\n  }\n\n  constructor(inputs) {\n    inputs.component = 'series/node/connectors/standard-connector';\n    super({ ...inputs });\n\n    this.node = inputs.node;\n  }\n}\n","import ConnectorConfiguration from './connector-configuration';\n\nexport default class NotOnlineConnectorConfiguration extends ConnectorConfiguration {\n  node = undefined;\n\n  get label() {\n    if (this.node.isDelayable) {\n      return `IF NOT ONLINE AFTER ${this.node.delayDescription}`;\n    } else {\n      return `IF NOT ONLINE AFTER 30D`;\n    }\n  }\n\n  constructor(inputs) {\n    inputs.component = 'series/node/connectors/standard-connector';\n    super({ ...inputs });\n\n    this.node = inputs.node;\n  }\n}\n","import GraphConfiguration from 'embercom/objects/series/node/graph-configuration';\nimport StandardNodeComponentConfiguration from 'embercom/objects/series/node/standard-node-component-configuration';\nimport ConnectorConfiguration from 'embercom/objects/series/node/connector-configuration';\nimport NotOnlineConnectorConfiguration from 'embercom/objects/series/node/not-online-connector-configuration';\nimport ComponentConfiguration from 'embercom/objects/component-configuration';\nimport StatsConfiguration from 'embercom/objects/series/node/stats-configuration';\nimport {\n  objectTypes,\n  seriesEdgeTypes,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport renderPreview from '@intercom/embercom-composer/lib/render-preview';\nimport { htmlToTextContent } from 'embercom/lib/html-unescape';\nimport { defaultDelayDescription } from 'embercom/lib/series/constants';\n\nexport default class PostGraphConfiguration extends GraphConfiguration {\n  objectType = objectTypes['post'];\n\n  constructor(seriesNode) {\n    super(...arguments);\n    this.componentConfig = new StandardNodeComponentConfiguration({\n      icon: 'series/content/post',\n      objectType: this.objectType,\n      delayConfigurationComponent: new ComponentConfiguration({\n        component: 'series/node/in-app-delay-editor',\n      }),\n      statsSummaryConfigurationComponent: new StatsConfiguration({\n        verb: 'sent',\n        component: 'series/node/standard-stats-summary',\n      }),\n    });\n  }\n\n  get connectors() {\n    return [\n      new ConnectorConfiguration({\n        label: 'WHEN DELIVERED',\n        edgeType: seriesEdgeTypes.primary,\n        component: 'series/node/connectors/content-shortcuts-connector',\n      }),\n      new NotOnlineConnectorConfiguration({\n        node: this.node,\n        edgeType: seriesEdgeTypes.alternative,\n      }),\n    ];\n  }\n\n  get inferredTitle() {\n    let contentPreview = this.node.contentPreviews.firstObject?.contentPreviewData?.content;\n    if (contentPreview) {\n      let previewHtml = renderPreview(contentPreview, {});\n      return htmlToTextContent(previewHtml);\n    }\n    return '';\n  }\n\n  canStart() {\n    return false;\n  }\n\n  get primaryPredecessorLabel() {\n    return `Received '${this.title}'`;\n  }\n\n  get alternativePredecessorLabel() {\n    return `Did not come online to receive '${this.title}'`;\n  }\n\n  get checkpointStats() {\n    return [\n      { label: 'received', value: this.node.completedCheckpointCount },\n      { label: 'pending', value: this.node.activeCheckpointCount },\n      {\n        label: [\n          `didn't come online within ${this.node.delayDescription || defaultDelayDescription}`,\n        ],\n        value: this.node.expiredCheckpointCount,\n      },\n      { label: 'left path', value: this.node.exitedCheckpointCount },\n    ];\n  }\n}\n","import InserterConfiguration from 'embercom/objects/series/node/inserter-configuration';\nimport StandardInserterComponentConfiguration from 'embercom/objects/series/node/standard-inserter-component-configuration';\nimport StandardLoadingComponentConfiguration from 'embercom/objects/series/node/standard-loading-component-configuration';\nimport { objectTypes, objectNames } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class ChatInserterConfiguration extends InserterConfiguration {\n  objectType = objectTypes['post'];\n  objectData = {};\n  componentConfig = new StandardInserterComponentConfiguration({\n    icon: 'series/content/post',\n    title: objectNames[this.objectType].capitalize(),\n  });\n  loadingComponentConfig = new StandardLoadingComponentConfiguration({\n    icon: 'series/content/post',\n    title: `Empty ${objectNames[this.objectType]}`,\n    objectType: this.objectType,\n  });\n\n  canInsertNode() {\n    return super.canInsertNode(...arguments);\n  }\n}\n","import GraphConfiguration from 'embercom/objects/series/node/graph-configuration';\nimport StandardNodeComponentConfiguration from 'embercom/objects/series/node/standard-node-component-configuration';\nimport ConnectorConfiguration from 'embercom/objects/series/node/connector-configuration';\nimport StatsConfiguration from 'embercom/objects/series/node/stats-configuration';\nimport {\n  objectTypes,\n  seriesEdgeTypes,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport renderPreview from '@intercom/embercom-composer/lib/render-preview';\nimport { htmlToTextContent } from 'embercom/lib/html-unescape';\n\nexport default class PushGraphConfiguration extends GraphConfiguration {\n  objectType = objectTypes['push'];\n\n  constructor(seriesNode) {\n    super(...arguments);\n    this.componentConfig = new StandardNodeComponentConfiguration({\n      icon: 'series/content/push',\n      objectType: this.objectType,\n      statsSummaryConfigurationComponent: new StatsConfiguration({\n        verb: 'sent',\n        component: 'series/node/standard-stats-summary',\n      }),\n    });\n  }\n\n  get defaultTitle() {\n    return 'Empty push';\n  }\n\n  get connectors() {\n    return [\n      new ConnectorConfiguration({\n        label: 'WHEN DELIVERED',\n        edgeType: seriesEdgeTypes.primary,\n        component: 'series/node/connectors/content-shortcuts-connector',\n      }),\n    ];\n  }\n\n  get inferredTitle() {\n    let contentPreview = this.node.contentPreviews.firstObject?.contentPreviewData?.content;\n    if (contentPreview) {\n      let previewHtml = renderPreview(contentPreview, {});\n      return htmlToTextContent(previewHtml);\n    }\n    return '';\n  }\n\n  canStart() {\n    return false;\n  }\n\n  get primaryPredecessorLabel() {\n    return `Received '${this.title}'`;\n  }\n\n  get checkpointStats() {\n    return [\n      { label: 'successfully sent', value: this.node.completedCheckpointCount },\n      {\n        label: 'ineligible to send',\n        value:\n          this.node.completedTraversedAlternativeEdgesCheckpointCount +\n          this.node.completedEjectedCheckpointCount,\n      },\n    ];\n  }\n}\n","import InserterConfiguration from 'embercom/objects/series/node/inserter-configuration';\nimport StandardInserterComponentConfiguration from 'embercom/objects/series/node/standard-inserter-component-configuration';\nimport StandardLoadingComponentConfiguration from 'embercom/objects/series/node/standard-loading-component-configuration';\nimport { objectTypes, objectNames } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class PushInserterConfiguration extends InserterConfiguration {\n  objectType = objectTypes['push'];\n  objectData = {};\n\n  componentConfig = new StandardInserterComponentConfiguration({\n    icon: 'series/content/push',\n    title: objectNames[this.objectType].capitalize(),\n  });\n\n  loadingComponentConfig = new StandardLoadingComponentConfiguration({\n    icon: 'series/content/push',\n    title: `Empty ${objectNames[this.objectType]}`,\n    objectType: this.objectType,\n  });\n\n  isTooltipDisabled(app) {\n    return app.hasIOSSdk || app.hasAndroidSdk;\n  }\n\n  disabledTooltipContent() {\n    return 'You need to upload a push certificate for iOS or a FCM key for Android to use this template';\n  }\n\n  canInsertNode({ app, _dataObject }) {\n    if (app.hasIOSSdk || app.hasAndroidSdk) {\n      return true;\n    }\n\n    return false;\n  }\n}\n","import ConnectorConfiguration from './connector-configuration';\n\nexport default class StandardConnectorConfiguration extends ConnectorConfiguration {\n  constructor(inputs) {\n    inputs.component = 'series/node/connectors/standard-connector';\n    super(inputs);\n  }\n}\n","import ComponentConfiguration from 'embercom/objects/component-configuration';\nimport { assert } from '@ember/debug';\n\nexport default class StandardInserterComponentConfiguration extends ComponentConfiguration {\n  icon = undefined;\n  title = undefined;\n\n  constructor(params = {}) {\n    super({ component: 'series/node/inserters/standard' });\n    this.icon = params.icon;\n    this.paywallIcon = params.paywallIcon;\n    this.requiredFeature = params.requiredFeature;\n    this.title = params.title;\n\n    assert('You must specify the icon', this.icon);\n    assert('You must specify the title', this.title);\n  }\n\n  hasAccessToRequiredFeature(app) {\n    if (this.requiredFeature) {\n      return app.canUseFeature(this.requiredFeature);\n    } else {\n      return true;\n    }\n  }\n}\n","import ComponentConfiguration from 'embercom/objects/component-configuration';\nimport { assert } from '@ember/debug';\nimport { humanReadableObjectNames } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class StandardLoadingComponentConfiguration extends ComponentConfiguration {\n  icon = undefined;\n  title = undefined;\n  objectType = undefined;\n  objectName = undefined;\n\n  get objectLabel() {\n    return this.objectName;\n  }\n\n  constructor(params = {}) {\n    super({ component: 'series/node/graph/loading' });\n    this.icon = params.icon;\n    this.title = params.title;\n    this.objectType = params.objectType;\n    this.objectName = params.objectName || humanReadableObjectNames[this.objectType];\n\n    assert('You must specify the icon', this.icon);\n    assert('You must specify the title', this.title);\n  }\n}\n","import ComponentConfiguration from 'embercom/objects/component-configuration';\nimport { assert } from '@ember/debug';\nimport { humanReadableObjectNames } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class StandardNodeComponentConfiguration extends ComponentConfiguration {\n  icon = undefined;\n  objectType = undefined;\n  objectName = undefined;\n  delayConfigurationComponent = undefined;\n  statsSummaryConfigurationComponent = undefined;\n\n  get objectLabel() {\n    return this.objectName;\n  }\n\n  // In the standard node component, the label in the bottom of the block\n  // may be styled differently based on the object. E.g. starting rules has\n  // a different treatment.\n  get objectLabelClass() {\n    return undefined;\n  }\n\n  constructor(params = {}) {\n    super({ component: 'series/node/graph/standard' });\n    this.icon = params.icon;\n    this.paywallIcon = params.paywallIcon;\n    this.requiredFeature = params.requiredFeature;\n    this.objectType = params.objectType;\n    this.objectName = params.objectName || humanReadableObjectNames[this.objectType];\n    this.delayConfigurationComponent = params.delayConfigurationComponent;\n    this.statsSummaryConfigurationComponent = params.statsSummaryConfigurationComponent;\n\n    assert('You must specify the icon', this.icon);\n  }\n\n  hasAccessToRequiredFeature(app) {\n    if (this.requiredFeature) {\n      return app.canUseFeature(this.requiredFeature);\n    } else {\n      return true;\n    }\n  }\n}\n","import { assert } from '@ember/debug';\nimport { isPresent } from '@ember/utils';\nimport ComponentConfiguration from 'embercom/objects/component-configuration';\n\nexport default class StatsConfiguration extends ComponentConfiguration {\n  verb = undefined;\n\n  constructor(inputs) {\n    super(inputs);\n    assert('You must provide a verb for displaying stats', isPresent(inputs.verb));\n\n    this.verb = inputs.verb;\n  }\n}\n","import GraphConfiguration from 'embercom/objects/series/node/graph-configuration';\nimport StandardNodeComponentConfiguration from 'embercom/objects/series/node/standard-node-component-configuration';\nimport StandardConnectorConfiguration from 'embercom/objects/series/node/standard-connector-configuration';\nimport StatsConfiguration from 'embercom/objects/series/node/stats-configuration';\nimport {\n  objectTypes,\n  objectNames,\n  seriesEdgeTypes,\n} from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class TaggerGraphConfiguration extends GraphConfiguration {\n  objectType = objectTypes['tagger'];\n\n  constructor(seriesNode) {\n    super(...arguments);\n\n    this.componentConfig = new StandardNodeComponentConfiguration({\n      icon: 'series/content/tag',\n      objectType: this.objectType,\n      title: seriesNode.get('rulesetClientData.title') || objectNames[this.objectType].capitalize(),\n      statsSummaryConfigurationComponent: new StatsConfiguration({\n        verb: 'tagged',\n        component: 'series/node/standard-stats-summary',\n      }),\n    });\n  }\n\n  get connectors() {\n    return [\n      new StandardConnectorConfiguration({\n        label: 'WHEN TAGGED',\n        edgeType: seriesEdgeTypes.primary,\n      }),\n    ];\n  }\n\n  get inferredTitle() {\n    let previewText = this.node.contentPreviews.firstObject?.contentPreviewData?.content;\n    if (previewText) {\n      return `Tag with ${previewText}`;\n    }\n    return '';\n  }\n\n  get defaultTitle() {\n    return `Empty tag`;\n  }\n\n  canStart() {\n    return false;\n  }\n\n  get primaryPredecessorLabel() {\n    return `Applied '${this.title}'`;\n  }\n\n  get disableStatsPopover() {\n    return true;\n  }\n}\n","import InserterConfiguration from 'embercom/objects/series/node/inserter-configuration';\nimport StandardInserterComponentConfiguration from 'embercom/objects/series/node/standard-inserter-component-configuration';\nimport StandardLoadingComponentConfiguration from 'embercom/objects/series/node/standard-loading-component-configuration';\nimport { objectTypes, objectNames } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class TaggerInserterConfiguration extends InserterConfiguration {\n  objectType = objectTypes['tagger'];\n  objectData = {};\n  componentConfig = new StandardInserterComponentConfiguration({\n    icon: 'series/content/tag',\n    title: objectNames[this.objectType].capitalize(),\n  });\n  loadingComponentConfig = new StandardLoadingComponentConfiguration({\n    icon: 'series/content/tag',\n    title: `Empty tag`,\n    objectType: this.objectType,\n  });\n\n  canInsertNode() {\n    return super.canInsertNode(...arguments);\n  }\n}\n","import GraphConfiguration from 'embercom/objects/series/node/graph-configuration';\nimport StandardNodeComponentConfiguration from 'embercom/objects/series/node/standard-node-component-configuration';\nimport ConnectorConfiguration from 'embercom/objects/series/node/connector-configuration';\nimport NotOnlineConnectorConfiguration from 'embercom/objects/series/node/not-online-connector-configuration';\nimport ComponentConfiguration from 'embercom/objects/component-configuration';\nimport StatsConfiguration from 'embercom/objects/series/node/stats-configuration';\nimport {\n  objectTypes,\n  seriesEdgeTypes,\n  objectFeatures,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport renderPreview from '@intercom/embercom-composer/lib/render-preview';\nimport { htmlToTextContent } from 'embercom/lib/html-unescape';\nimport { defaultDelayDescription } from 'embercom/lib/series/constants';\n\nexport default class TourGraphConfiguration extends GraphConfiguration {\n  objectType = objectTypes['tour'];\n\n  constructor(seriesNode) {\n    super(...arguments);\n    this.componentConfig = new StandardNodeComponentConfiguration({\n      icon: 'series/content/tour',\n      paywallIcon: 'series/content/paywalled-tour',\n      requiredFeature: objectFeatures[this.objectType],\n      objectType: this.objectType,\n      delayConfigurationComponent: new ComponentConfiguration({\n        component: 'series/node/in-app-delay-editor',\n      }),\n      statsSummaryConfigurationComponent: new StatsConfiguration({\n        verb: 'sent',\n        component: 'series/node/standard-stats-summary',\n      }),\n    });\n  }\n\n  get connectors() {\n    return [\n      new ConnectorConfiguration({\n        label: 'WHEN DELIVERED',\n        edgeType: seriesEdgeTypes.primary,\n        component: 'series/node/connectors/content-shortcuts-connector',\n      }),\n      new NotOnlineConnectorConfiguration({\n        node: this.node,\n        edgeType: seriesEdgeTypes.alternative,\n      }),\n    ];\n  }\n\n  get inferredTitle() {\n    let contentPreview = this.node.contentPreviews.firstObject?.contentPreviewData?.content;\n    if (contentPreview) {\n      let previewHtml = renderPreview(contentPreview, {});\n      return htmlToTextContent(previewHtml);\n    }\n    return '';\n  }\n\n  canStart() {\n    return false;\n  }\n\n  get primaryPredecessorLabel() {\n    return `Received '${this.title}'`;\n  }\n\n  get alternativePredecessorLabel() {\n    return `Did not come online to receive '${this.title}'`;\n  }\n\n  get checkpointStats() {\n    return [\n      { label: 'received', value: this.node.completedCheckpointCount },\n      { label: 'pending', value: this.node.activeCheckpointCount },\n      {\n        label: [\n          `didn't come online within ${this.node.delayDescription || defaultDelayDescription}`,\n        ],\n        value: this.node.expiredCheckpointCount,\n      },\n      { label: 'left path', value: this.node.exitedCheckpointCount },\n    ];\n  }\n}\n","import InserterConfiguration from 'embercom/objects/series/node/inserter-configuration';\nimport StandardInserterComponentConfiguration from 'embercom/objects/series/node/standard-inserter-component-configuration';\nimport StandardLoadingComponentConfiguration from 'embercom/objects/series/node/standard-loading-component-configuration';\nimport {\n  objectTypes,\n  objectNames,\n  objectFeatures,\n} from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class TourInserterConfiguration extends InserterConfiguration {\n  objectType = objectTypes['tour'];\n  objectData = {};\n  requiredFeatures = [objectFeatures[objectTypes.tour]];\n  componentConfig = new StandardInserterComponentConfiguration({\n    icon: 'series/content/tour',\n    paywallIcon: 'series/content/paywalled-tour',\n    requiredFeature: objectFeatures[objectTypes.tour],\n    title: objectNames[this.objectType].capitalize(),\n  });\n  loadingComponentConfig = new StandardLoadingComponentConfiguration({\n    icon: 'series/content/tour',\n    title: `Empty ${objectNames[this.objectType]}`,\n    objectType: this.objectType,\n  });\n\n  canInsertNode({ app, _dataObject }) {\n    return true;\n  }\n}\n","import GraphConfiguration from 'embercom/objects/series/node/graph-configuration';\nimport StandardNodeComponentConfiguration from 'embercom/objects/series/node/standard-node-component-configuration';\nimport StandardConnectorConfiguration from 'embercom/objects/series/node/standard-connector-configuration';\nimport StatsConfiguration from 'embercom/objects/series/node/stats-configuration';\nimport {\n  objectTypes,\n  seriesEdgeTypes,\n  seriesWaitTypes,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport moment from 'moment';\n\nexport default class WaitGraphConfiguration extends GraphConfiguration {\n  objectType = objectTypes['wait'];\n\n  constructor(seriesNode) {\n    super(...arguments);\n    this.componentConfig = new StandardNodeComponentConfiguration({\n      icon: 'series/content/wait',\n      objectType: this.objectType,\n      statsSummaryConfigurationComponent: new StatsConfiguration({\n        verb: 'waited',\n        component: 'series/node/standard-stats-summary',\n      }),\n    });\n  }\n\n  get connectors() {\n    return [\n      new StandardConnectorConfiguration({\n        label: 'WHEN PASSED',\n        edgeType: seriesEdgeTypes.primary,\n      }),\n    ];\n  }\n\n  get inferredTitle() {\n    let previewData = this.node.contentPreviews.firstObject?.contentPreviewData;\n    let timeDelay = previewData?.time_delay;\n    let waitType = previewData?.wait_type;\n\n    if (waitType === seriesWaitTypes.relative) {\n      return `Wait for ${this._formatRelativeTimeDelay(timeDelay)}`;\n    } else if (waitType === seriesWaitTypes.absolute) {\n      return `Wait until ${this._formatAbsoluteTimeDelay(timeDelay, previewData?.timezone)}`;\n    } else {\n      return 'Wait';\n    }\n  }\n\n  get defaultTitle() {\n    return this.inferredTitle;\n  }\n\n  canStart() {\n    return false;\n  }\n\n  _formatRelativeTimeDelay(timeDelay) {\n    let delayDuration = moment.duration(timeDelay, 'seconds');\n    return delayDuration.format('d [days], h [hours], m [minutes]', { trim: 'all', minValue: 1 });\n  }\n\n  _formatAbsoluteTimeDelay(timeDelay, timezone) {\n    let timeDelayAsMoment = moment.unix(timeDelay);\n    if (timezone) {\n      timeDelayAsMoment = timeDelayAsMoment.tz(timezone);\n    }\n    return timeDelayAsMoment.format('MMM D, YYYY, HH:mm');\n  }\n\n  get primaryPredecessorLabel() {\n    return `Completed '${this.title}'`;\n  }\n\n  get checkpointStats() {\n    return [\n      { label: 'finished waiting', value: this.node.completedCheckpointCount },\n      { label: 'still waiting', value: this.node.activeCheckpointCount },\n      { label: 'left path', value: this.node.exitedCheckpointCount },\n    ];\n  }\n}\n","import InserterConfiguration from 'embercom/objects/series/node/inserter-configuration';\nimport StandardInserterComponentConfiguration from 'embercom/objects/series/node/standard-inserter-component-configuration';\nimport StandardLoadingComponentConfiguration from 'embercom/objects/series/node/standard-loading-component-configuration';\nimport { objectTypes, objectNames } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class PostInserterConfiguration extends InserterConfiguration {\n  objectType = objectTypes['wait'];\n  objectData = {};\n  componentConfig = new StandardInserterComponentConfiguration({\n    icon: 'series/content/wait',\n    title: objectNames[this.objectType].capitalize(),\n  });\n  loadingComponentConfig = new StandardLoadingComponentConfiguration({\n    icon: 'series/content/wait',\n    title: objectNames[this.objectType].capitalize(),\n    objectType: this.objectType,\n  });\n\n  canInsertNode() {\n    return super.canInsertNode(...arguments);\n  }\n}\n","import NodeConfiguration, { NODE_CATEGORIES } from 'embercom/objects/series/node-configuration';\nimport PostInserterConfiguration from 'embercom/objects/series/node/post-inserter-configuration';\n\nexport default class PostNodeConfiguration extends NodeConfiguration {\n  inserterConfiguration = new PostInserterConfiguration();\n  category = NODE_CATEGORIES.content;\n}\n","import NodeConfiguration, { NODE_CATEGORIES } from 'embercom/objects/series/node-configuration';\nimport PushInserterConfiguration from 'embercom/objects/series/node/push-inserter-configuration';\n\nexport default class PushNodeConfiguration extends NodeConfiguration {\n  inserterConfiguration = new PushInserterConfiguration();\n  category = NODE_CATEGORIES.content;\n}\n","import SeriesModeConfig from 'embercom/objects/content-editor/series-mode-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport StandardSeriesModeHeaderConfiguration from 'embercom/objects/content-editor/headers/series-mode/standard-header-configuration';\n\nexport default function generateEditorConfig(options) {\n  let container = options.container;\n\n  return new SeriesModeConfig({\n    headerComponentConfig: StandardSeriesModeHeaderConfiguration.create({ container }),\n    editorComponentConfigs: [\n      ComponentConfiguration.create({\n        component: 'content-editor/panels/content/custom-bot/body',\n      }),\n    ],\n  });\n}\n","import SeriesModeConfig from 'embercom/objects/content-editor/series-mode-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport StandardSeriesModeHeaderConfiguration from 'embercom/objects/content-editor/headers/series-mode/standard-header-configuration';\n\nexport default function generateEditorConfig(options) {\n  let container = options.container;\n\n  return new SeriesModeConfig({\n    headerComponentConfig: StandardSeriesModeHeaderConfiguration.create({ container }),\n    editorComponentConfigs: [\n      ComponentConfiguration.create({\n        component: 'content-editor/panels/content/carousel/body',\n      }),\n    ],\n  });\n}\n","import SeriesModeConfig from 'embercom/objects/content-editor/series-mode-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport StandardSeriesModeHeaderConfiguration from 'embercom/objects/content-editor/headers/series-mode/standard-header-configuration';\n\nexport default function generateEditorConfig(options) {\n  let container = options.container;\n\n  return new SeriesModeConfig({\n    headerComponentConfig: StandardSeriesModeHeaderConfiguration.create({ container }),\n    editorComponentConfigs: [\n      ComponentConfiguration.create({\n        component: 'content-editor/panels/content/chat/body',\n      }),\n    ],\n  });\n}\n","import SeriesModeConfig from 'embercom/objects/content-editor/series-mode-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport SeriesAudienceEditorConfiguration from 'embercom/objects/content-editor/panels/audience/series-audience-editor-configuration';\nimport StandardSeriesModeHeaderConfiguration from 'embercom/objects/content-editor/headers/series-mode/standard-header-configuration';\nimport StandardSeriesViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-series-header-configuration';\n\nexport default function generateEditorConfig(options) {\n  let container = options.container;\n\n  let audienceEditorConfiguration = new SeriesAudienceEditorConfiguration({\n    showMatchBehavior: false,\n    showClientPredicates: true,\n    container,\n  });\n\n  let ruleset = audienceEditorConfiguration.ruleset;\n\n  if (!shouldShowAudiencePreview(ruleset)) {\n    audienceEditorConfiguration.audiencePreview = ComponentConfiguration.create({\n      component:\n        'content-editor/audience-wrappers/content/series/audience-preview-non-starting-node',\n      config: audienceEditorConfiguration.inputs,\n    });\n  }\n\n  return new SeriesModeConfig({\n    headerComponentConfig: StandardSeriesModeHeaderConfiguration.create({ container }),\n    editorComponentConfigs: [\n      ComponentConfiguration.create({\n        component: 'content-editor/panels/audience/body',\n        audienceEditorConfiguration,\n      }),\n    ],\n\n    viewModeHeaderConfig: StandardSeriesViewModeHeaderConfiguration.create({ container }),\n    viewModeSummaryConfig: ComponentConfiguration.create({\n      component: 'content-editor/panels/audience/body',\n      audienceEditorConfiguration: new SeriesAudienceEditorConfiguration({\n        showClientPredicates: ruleset.clientPredicateGroup.predicates.length,\n        showAudiencePreview: false,\n        showMatchBehavior: false,\n        hideAddFilterGroupButton: true,\n        hideAddRule: true,\n        isDisabled: true,\n        container,\n      }),\n    }),\n  });\n}\n\nfunction shouldShowAudiencePreview(ruleset) {\n  if (!ruleset.get('node')) {\n    return true;\n  }\n  return ruleset.get('node').isStarting;\n}\n","import SeriesModeConfig from 'embercom/objects/content-editor/series-mode-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport StandardSeriesModeHeaderConfiguration from 'embercom/objects/content-editor/headers/series-mode/standard-header-configuration';\n\nexport default function generateEditorConfig(options) {\n  let container = options.container;\n\n  return new SeriesModeConfig({\n    headerComponentConfig: StandardSeriesModeHeaderConfiguration.create({ container }),\n    editorComponentConfigs: [\n      ComponentConfiguration.create({\n        component: 'content-editor/panels/content/email/body',\n      }),\n    ],\n  });\n}\n","import SeriesModeConfig from 'embercom/objects/content-editor/series-mode-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport StandardSeriesModeHeaderConfiguration from 'embercom/objects/content-editor/headers/series-mode/standard-header-configuration';\n\nexport default function generateEditorConfig(options) {\n  let container = options.container;\n\n  return new SeriesModeConfig({\n    headerComponentConfig: StandardSeriesModeHeaderConfiguration.create({ container }),\n    editorComponentConfigs: [\n      ComponentConfiguration.create({\n        component: 'content-editor/panels/content/post/body',\n      }),\n    ],\n  });\n}\n","import SeriesModeConfig from 'embercom/objects/content-editor/series-mode-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport StandardSeriesModeHeaderConfiguration from 'embercom/objects/content-editor/headers/series-mode/standard-header-configuration';\n\nexport default function generateEditorConfig(options) {\n  let container = options.container;\n\n  return new SeriesModeConfig({\n    headerComponentConfig: StandardSeriesModeHeaderConfiguration.create({ container }),\n    editorComponentConfigs: [\n      ComponentConfiguration.create({\n        component: 'content-editor/panels/content/push/body',\n      }),\n    ],\n  });\n}\n","import SeriesModeConfig from 'embercom/objects/content-editor/series-mode-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport StandardSeriesModeHeaderConfiguration from 'embercom/objects/content-editor/headers/series-mode/standard-header-configuration';\nimport StandardSeriesViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-series-header-configuration';\n\nexport default function generateEditorConfig(options) {\n  let container = options.container;\n\n  return new SeriesModeConfig({\n    headerComponentConfig: StandardSeriesModeHeaderConfiguration.create({ container }),\n    editorComponentConfigs: [\n      ComponentConfiguration.create({\n        component: 'content-editor/panels/content/tagger/body',\n      }),\n    ],\n\n    viewModeHeaderConfig: StandardSeriesViewModeHeaderConfiguration.create({ container }),\n    viewModeSummaryConfig: ComponentConfiguration.create({\n      component: 'content-editor/summaries/content/tagger/summary',\n    }),\n  });\n}\n","import SeriesModeConfig from 'embercom/objects/content-editor/series-mode-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport StandardSeriesModeHeaderConfiguration from 'embercom/objects/content-editor/headers/series-mode/standard-header-configuration';\n\nexport default function generateEditorConfig(options) {\n  let container = options.container;\n\n  return new SeriesModeConfig({\n    headerComponentConfig: StandardSeriesModeHeaderConfiguration.create({\n      container,\n      previewConfig: ComponentConfiguration.create({\n        container,\n        component: 'content-editor/headers/tours/preview-button',\n      }),\n    }),\n    editorComponentConfigs: [\n      ComponentConfiguration.create({\n        container,\n        component: 'content-editor/panels/content/tour/body',\n      }),\n    ],\n  });\n}\n","import SeriesModeConfig from 'embercom/objects/content-editor/series-mode-configuration';\nimport ComponentConfiguration from 'embercom/objects/content-editor/component-configuration';\nimport StandardSeriesModeHeaderConfiguration from 'embercom/objects/content-editor/headers/series-mode/standard-header-configuration';\nimport StandardSeriesViewModeHeaderConfiguration from 'embercom/objects/content-editor/headers/view-mode/standard-series-header-configuration';\nimport { computed } from '@ember/object';\n\nexport default function generateEditorConfig(options) {\n  let container = options.container;\n  let wait = options.wait;\n\n  return new SeriesModeConfig({\n    headerComponentConfig: StandardSeriesModeHeaderConfiguration.extend({\n      wait,\n      isValid: computed('wait.validations.isValid', function() {\n        return wait.validations.isValid;\n      }),\n      errorMessage: computed('wait.validations.errors.[]', function() {\n        return wait.validations.errors?.firstObject?.message;\n      }),\n    }).create({ container }),\n    editorComponentConfigs: [\n      ComponentConfiguration.create({\n        component: 'content-editor/panels/content/wait/body',\n      }),\n    ],\n\n    viewModeHeaderConfig: StandardSeriesViewModeHeaderConfiguration.create({ container }),\n    viewModeSummaryConfig: ComponentConfiguration.create({\n      component: 'content-editor/summaries/content/wait/summary',\n    }),\n  });\n}\n","import ComponentConfiguration from 'embercom/objects/component-configuration';\nimport { assert } from '@ember/debug';\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\n\nexport default class StandardStatListConfiguration extends ComponentConfiguration {\n  filters = [];\n  stat = undefined;\n\n  constructor(inputs) {\n    inputs.component = 'series/editor/standard-stats-list';\n    super(...arguments);\n\n    assert(\n      `The standard stats list must be passed a known stats system statistic key. You passed [${inputs.stat}].`,\n      Object.keys(stats).includes(inputs.stat),\n    );\n\n    Object.keys(inputs).forEach(key => {\n      this[key] = inputs[key];\n    });\n\n    this.filters.forEach(filter => {\n      assert(`Expected a text attribute for the filter [${filter}]`, filter.text);\n      assert(\n        `Expected a known stats system statistic value for the filter value. You passed [${filter.value}].`,\n        Object.values(stats).includes(filter.value),\n      );\n    });\n  }\n}\n","import StandardSummaryConfiguration from 'embercom/objects/content-editor/summaries/standard-summary-configuration';\n\nexport default class StandardExitRulesSummaryConfiguration extends StandardSummaryConfiguration {\n  isVisible = true;\n\n  init(inputs) {\n    let title = inputs.title || 'Exit Rules';\n    super.init({\n      title,\n      component: 'series/summaries/exit-rules/summary',\n    });\n  }\n}\n","import StandardSummaryConfiguration from 'embercom/objects/content-editor/summaries/standard-summary-configuration';\n\nexport default class StandardGoalSummaryConfiguration extends StandardSummaryConfiguration {\n  isVisible = true;\n\n  init(inputs) {\n    let title = inputs.title || 'Goal';\n    super.init({\n      title,\n      component: 'content-editor/summaries/goal/summary',\n    });\n  }\n}\n","import TabConfiguration from 'embercom/objects/content-editor/tabs/tab-configuration';\nimport { assert } from '@ember/debug';\n\nexport default class SeriesOverviewTabConfiguration extends TabConfiguration {\n  label;\n  subtitle;\n\n  init(inputs) {\n    inputs.component = 'series/editor/tabs/overview-tab';\n    inputs.view = 'overview';\n\n    super.init(...arguments);\n\n    assert('A label must be passed for the series overview tab configuration', inputs.label);\n    assert('A subtitle must be passed for the series overview tab configuration', inputs.subtitle);\n\n    this.setProperties({\n      label: inputs.label,\n      subtitle: inputs.subtitle,\n    });\n  }\n}\n","import TabConfiguration from 'embercom/objects/content-editor/tabs/tab-configuration';\nimport { assert } from '@ember/debug';\nimport { inject as service } from '@ember/service';\nimport { statisticKeys } from 'embercom/models/data/outbound/constants';\n\nexport default class SeriesStatTabConfiguration extends TabConfiguration {\n  @service appService;\n  @service seriesEditorService;\n  statisticKeys = statisticKeys;\n  label;\n  view;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get isVisible() {\n    return true;\n  }\n\n  get statisticKey() {\n    return this.statisticKeys[this.view];\n  }\n\n  get statistic() {\n    return this.seriesEditorService.series.stats.findBy('key', this.statisticKey);\n  }\n\n  init(inputs) {\n    inputs.component = inputs.tabComponent || 'series/editor/tabs/stat-tab';\n\n    super.init(...arguments);\n\n    assert(\n      'The view for a series stat tab must be a known statistic.',\n      Object.keys(statisticKeys).includes(inputs.view),\n    );\n\n    this.setProperties({\n      label: inputs.label,\n      view: inputs.view,\n    });\n  }\n}\n","import NodeConfiguration, { NODE_CATEGORIES } from 'embercom/objects/series/node-configuration';\nimport TaggerInserterConfiguration from 'embercom/objects/series/node/tagger-inserter-configuration';\n\nexport default class TaggerNodeConfiguration extends NodeConfiguration {\n  inserterConfiguration = new TaggerInserterConfiguration();\n  category = NODE_CATEGORIES.action;\n}\n","import NodeConfiguration, { NODE_CATEGORIES } from 'embercom/objects/series/node-configuration';\nimport TourInserterConfiguration from 'embercom/objects/series/node/tour-inserter-configuration';\n\nexport default class TourNodeConfiguration extends NodeConfiguration {\n  inserterConfiguration = new TourInserterConfiguration();\n  category = NODE_CATEGORIES.content;\n}\n","import NodeConfiguration, { NODE_CATEGORIES } from 'embercom/objects/series/node-configuration';\nimport WaitInserterConfiguration from 'embercom/objects/series/node/wait-inserter-configuration';\n\nexport default class WaitNodeConfiguration extends NodeConfiguration {\n  inserterConfiguration = new WaitInserterConfiguration();\n  category = NODE_CATEGORIES.action;\n}\n","interface StatsParams {\n  contentId: number;\n  contentType: number;\n  contentObject: any;\n  goal: any;\n  uiObjectName: string;\n  shortObjectName: string;\n  startDate: Date;\n}\n\nexport default class StatsParameters {\n  contentId: number;\n  contentType: number;\n  contentObject: any;\n  goal: any;\n  uiObjectName: string;\n  shortObjectName: string;\n  startDate: Date;\n\n  constructor(inputs: StatsParams) {\n    let {\n      contentId,\n      contentType,\n      contentObject,\n      goal,\n      uiObjectName,\n      shortObjectName,\n      startDate,\n    } = inputs;\n    this.contentId = contentId;\n    this.contentType = contentType;\n    this.contentObject = contentObject;\n    this.goal = goal;\n    this.uiObjectName = uiObjectName;\n    this.shortObjectName = shortObjectName;\n    this.startDate = startDate;\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\nimport { computed } from '@ember/object';\nimport Resolver from 'ember-resolver';\n\nexport default Resolver.extend({\n  moduleNameLookupPatterns: computed(function() {\n    return [this.mainModuleName, this.defaultModuleName];\n  }),\n});\n","import EmbercomRouter from './lib/router/embercom-router';\n\nexport default class Router extends EmbercomRouter {}\n\nRouter.map(function() {\n  this.route('load_time_baseline');\n  this.route('video');\n  this.route('saml');\n\n  this.route('not-found', { path: '/*path' });\n\n  this.route('start');\n  this.route('developer-signup', function() {});\n  this.route('early-stage', function() {});\n  this.route('early-stage-partner', { path: 'early-stage/:partner' });\n\n  this.route('invite');\n\n  this.route('signup', function() {\n    this.route('new');\n    this.route('get-started');\n    this.route('teams', function() {});\n  });\n\n  this.route('sign-in', { path: '/sign-in/:app_id' });\n\n  this.route('oauth', function() {\n    this.route('connect');\n  });\n\n  this.route('apps', function() {\n    this.route('new');\n    this.route('teams-checkout-redirect');\n\n    this.route('app', { path: ':app_id' }, function() {\n      this.route('appstore', function() {\n        this.route('app-package', { path: 'apps/:id' });\n        this.route('old-app-package', { path: ':id' });\n      });\n\n      this.route('developer-hub', function() {\n        this.route('app-packages', function() {\n          this.route('app-package', { path: ':id' }, function() {\n            this.route('basic-info', function() {\n              this.route('edit');\n            });\n            this.route('oauth', function() {\n              this.route('edit');\n            });\n            this.route('app-store-listing', function() {\n              this.route('edit');\n            });\n            this.route('getting-started-guide');\n            this.route('customer-workspaces');\n            this.route('review', function() {\n              this.route('edit');\n              this.route('no-oauth');\n            });\n            this.route('workspaces');\n            this.route('webhooks', function() {\n              this.route('edit');\n            });\n            this.route('canvas-kit');\n            this.route('reports', function() {\n              this.route('installs-and-uninstalls');\n              this.route('history-of-events');\n            });\n          });\n        });\n      });\n      this.route('teams-checkout', function() {\n        this.route('confirm');\n        this.route('early-stage-application');\n        this.route('plan');\n        this.route('verify');\n      });\n      this.route('load_time_baseline');\n      this.route('video');\n\n      this.route('trial');\n      this.route('trial-early-stage');\n      this.route('apply-for-early-stage');\n      this.route('mobile-welcome');\n\n      this.route('conversations', { path: 'conversations' });\n      this.route('conversation', { path: 'conversations/:conversation_id' });\n      this.route('created');\n      this.route('engage-redirect', { path: '/engage' });\n      this.route('engage-wildcard-redirect', { path: '/engage/*wildcard' });\n\n      this.route('educate-redirect', { path: '/educate' });\n      this.route('educate-wildcard-redirect', { path: '/educate/*wildcard' });\n\n      this.route('respond-redirect', { path: '/respond' });\n      this.route('respond-wildcard-redirect', { path: '/respond/*wildcard' });\n\n      this.route('inbox-insights-redirect', { path: '/inbox/insights' });\n\n      this.route('messages', function() {\n        this.route('all');\n        this.route('in-apps');\n        this.route('email');\n        this.route('search');\n\n        this.route('banners', function() {\n          this.route('banner', { path: ':id' });\n        });\n\n        this.route('guide', function() {});\n\n        this.route('messages', function() {\n          this.route('auto', function() {\n            this.route('all');\n            this.route('live');\n            this.route('paused');\n            this.route('draft');\n            this.route('scheduled');\n            this.route('yours');\n            this.route('message', { path: ':id' });\n\n            this.route('new');\n\n            this.route('folders', function() {\n              this.route('folder', { path: ':id' });\n              this.route('new');\n            });\n\n            this.route('campaigns', function() {\n              this.route('new');\n              this.route('campaign', { path: ':id' });\n            });\n            this.route('search');\n          });\n\n          this.route('visitor-auto', function() {\n            this.route('all');\n            this.route('live');\n            this.route('paused');\n            this.route('draft');\n            this.route('scheduled');\n            this.route('yours');\n            this.route('message', { path: ':id' });\n\n            this.route('new');\n            this.route('search');\n          });\n\n          this.route('manual', function() {\n            this.route('sent');\n            this.route('draft');\n            this.route('scheduled');\n            this.route('sent-via-api');\n\n            this.route('new');\n            this.route('search');\n\n            this.route('message', { path: ':id' });\n          });\n        });\n\n        this.route('message', { path: ':id' });\n        this.route('message-redirect', { path: '/*path/:message_id' });\n        this.route('message-show-redirect', { path: '/*path/:message_id/show' });\n        this.route('message-edit-redirect', { path: '/*path/:message_id/edit' });\n\n        this.route('about');\n        this.route('insights');\n        this.route('reporting', function() {\n          this.route('overview');\n          this.route('deliverability');\n        });\n        this.route('push', function() {\n          this.route('edit', { path: ':id' });\n        });\n        this.route('tour', function() {\n          this.route('edit', { path: ':id' });\n          this.route('new');\n        });\n      });\n\n      this.route('outbound', function() {\n        this.route('all');\n        this.route('in-apps');\n        this.route('search');\n\n        this.route('banners', function() {\n          this.route('new');\n          this.route('edit', { path: ':id' });\n        });\n\n        this.route('guide', function() {});\n\n        this.route('messages', function() {\n          this.route('auto', function() {\n            this.route('all');\n            this.route('live');\n            this.route('paused');\n            this.route('draft');\n            this.route('scheduled');\n            this.route('yours');\n            this.route('message', { path: ':id' });\n\n            this.route('new');\n\n            this.route('folders', function() {\n              this.route('folder', { path: ':id' });\n              this.route('new');\n            });\n\n            this.route('campaigns', function() {\n              this.route('new');\n              this.route('campaign', { path: ':id' }, function() {\n                this.route('users');\n              });\n            });\n            this.route('search');\n          });\n\n          this.route('visitor-auto', function() {\n            this.route('all');\n            this.route('live');\n            this.route('paused');\n            this.route('draft');\n            this.route('scheduled');\n            this.route('yours');\n            this.route('message', { path: ':id' });\n\n            this.route('new');\n            this.route('search');\n          });\n\n          this.route('manual', function() {\n            this.route('sent');\n            this.route('draft');\n            this.route('scheduled');\n            this.route('sent-via-api');\n\n            this.route('new');\n            this.route('search');\n\n            this.route('message', { path: ':id' });\n          });\n        });\n\n        this.route('message', { path: ':id' });\n        this.route('message-redirect', { path: '/*path/:message_id' });\n        this.route('message-show-redirect', { path: '/*path/:message_id/show' });\n        this.route('message-edit-redirect', { path: '/*path/:message_id/edit' });\n\n        this.route('about');\n        this.route('insights');\n        this.route('reporting', function() {\n          this.route('overview');\n          this.route('deliverability');\n        });\n        this.route('push', function() {\n          this.route('edit', { path: ':id' });\n        });\n        this.route('tour', function() {\n          this.route('edit', { path: ':id' });\n          this.route('new');\n        });\n        this.route('sms', function() {\n          this.route('edit', { path: ':id' });\n        });\n        this.route('chat', function() {\n          this.route('edit', { path: ':id' });\n        });\n        this.route('custom-bot', function() {\n          this.route('edit', { path: ':id' });\n        });\n        this.route('post', function() {\n          this.route('edit', { path: ':id' });\n        });\n        this.route('email', function() {\n          this.route('edit', { path: ':id' });\n        });\n        this.route('series', function() {\n          this.route('series', { path: ':id' });\n          this.route('new');\n\n          this.route('redirect-to', function() {\n            this.route('series', { path: ':id' });\n          });\n        });\n        this.route('carousel', function() {\n          this.route('edit', { path: ':id' });\n        });\n      });\n\n      this.route('inbox', function() {\n        this.route('redirect', { path: 'a/:assignee_identifier' }, function() {\n          this.route('conversation', { path: 'conversations/:conversation_id' });\n        });\n        this.route('conversations', { path: ':assignee_identifier' }, function() {\n          this.route('conversation', { path: 'conversations/:conversation_id' });\n        });\n        this.route('conversation', { path: 'conversation/:conversation_id' });\n\n        this.route('guide', function() {});\n        this.route('rules', function() {});\n        this.route('automation', function() {\n          this.route('assignment');\n          this.route('priority');\n          this.route('sla');\n          this.route('tag');\n          this.route('workload-management');\n          this.route('workflows', { path: '/rules' }, function() {\n            this.route('list');\n            this.route('new');\n            this.route('edit', { path: ':id' });\n          });\n        });\n        this.route('about');\n        this.route('inbox', function() {\n          this.route('redirect', { path: 'a/:assignee_identifier' }, function() {\n            this.route('conversation', { path: 'conversations/:conversation_id' });\n          });\n          this.route('conversations', { path: ':assignee_identifier' }, function() {\n            this.route('conversation', { path: 'conversations/:conversation_id' });\n          });\n          this.route('conversation', { path: 'conversation/:conversation_id' });\n        });\n        this.route('reporting', function() {\n          this.route('summary', { path: '/' }, function() {\n            this.route('conversations', { path: '/' });\n            this.route('sales', function() {\n              this.route('closed-won');\n              this.route('emails-captured');\n              this.route('new-leads');\n              this.route('opportunities');\n              this.route('pipeline');\n            });\n          });\n          this.route('leads');\n          this.route('performance', function() {\n            this.route('volume', { path: '/' });\n            this.route('responsiveness');\n            this.route('responsiveness-flexible');\n            this.route('happiness');\n            this.route('sales', function() {\n              this.route('opportunities');\n              this.route('pipeline');\n              this.route('closed-won');\n            });\n          });\n          this.route('conversations');\n          this.route('effectiveness');\n          this.route('slas');\n          this.route('export');\n        });\n        this.route('preferences', function() {\n          this.route('inbox-wallpaper', { path: '/' });\n          this.route('conversations');\n          this.route('away-mode-preferences');\n        });\n      });\n      this.route('skip-trial'), this.route('resolve-redirect', { path: '/resolve' });\n      this.route('resolve-wildcard-redirect', { path: '/resolve/*wildcard' });\n\n      this.route('import', function() {\n        this.route('csv', function() {\n          this.route('mapping', { path: ':id/mapping' });\n          this.route('finish', { path: ':id/finish' });\n          this.route('tag', { path: ':id/tag' });\n          this.route('summary', { path: ':id/summary' });\n        });\n\n        this.route('mailchimp', function() {\n          this.route('lists', { path: ':id/lists' });\n          this.route('tag', { path: ':id/tag' });\n          this.route('finish', { path: ':id/finish' });\n        });\n\n        this.route('mixpanel', function() {\n          this.route('instructions');\n          this.route('tag', { path: ':id/tag' });\n          this.route('finish', { path: ':id/finish' });\n        });\n\n        this.route('zendesk-chat', function() {\n          this.route('authorize');\n          this.route('import', { path: ':id/import' });\n        });\n      });\n\n      this.route('admins', function() {\n        this.route('admin', { path: ':admin_id' }, function() {});\n        this.route('me');\n      });\n\n      this.route('users', function() {\n        this.route('user-not-found');\n        this.route('user', { path: ':user_id' }, function() {\n          this.route('conversations');\n          this.route('all-conversations');\n        });\n\n        this.route('segments', { path: 'segments' }, function() {\n          this.route('segment', { path: ':segment_identifier' }, function() {});\n        });\n      });\n\n      this.route('companies', function() {\n        this.route('company-not-found');\n        this.route('company', { path: ':company_id' }, function() {\n          this.route('users');\n          this.route('conversations');\n        });\n        this.route('segments', function() {\n          this.route('segment', { path: ':segment_identifier' });\n        });\n      });\n\n      this.route('billing', function() {\n        this.route('invoices', function() {\n          this.route('invoice', { path: ':invoice_id' });\n        });\n        this.route('details', function() {});\n        this.route('summary', function() {});\n        this.route('cancel', function() {\n          this.route('confirm');\n          this.route('complete');\n          this.route('offer');\n        });\n      });\n\n      this.route('settings', function() {\n        this.route('tags');\n        this.route('tags-new');\n        this.route('imports');\n        this.route('people-segments');\n        this.route('company-segments');\n        this.route('people-data');\n        this.route('company-data');\n        this.route('conversation-data');\n        this.route('qualification-settings');\n        this.route('saved-replies');\n        this.route('events');\n        this.route('roles', function() {\n          this.route('index', { path: '/' });\n          this.route('new');\n          this.route('edit', { path: ':role_id' });\n        });\n        this.route('team');\n        this.route('teams');\n        this.route('teammates', function() {\n          this.route('index', { path: '/' });\n          this.route('invite', function() {\n            this.route('invite', { path: '/' });\n            this.route('edit', { path: '/:id/edit' });\n            this.route('csv-import');\n            this.route('permissions');\n          });\n          this.route('teammate', { path: '/:id' }, function() {\n            this.route('permissions');\n            this.route('remove');\n          });\n          this.route('permissions', { path: '/permissions/edit' });\n        });\n        this.route('general');\n        this.route('messaging');\n        this.route('messenger');\n        this.route('senders');\n        this.route('slas');\n        this.route('email-forwarding');\n        this.route('appearance');\n        this.route('logs');\n        this.route('blocked-users');\n        this.route('spam-messages');\n        this.route('web');\n        this.route('ios');\n        this.route('android');\n        this.route('email-templates', function() {\n          //TODO: GJ: create a team issue to standardise this:\n          this.route('email-templates', { path: '/' });\n          this.route('new-template', { path: 'new' });\n          this.route('edit-template', { path: ':id' });\n          this.route('copy-template', { path: '/copy-template-select' });\n        });\n        this.route('identity-verification', function() {\n          this.route('identity-verification', { path: '/' });\n          this.route('web');\n          this.route('ios');\n          this.route('android');\n        });\n        this.route('delete-user');\n        this.route('webhooks', function() {});\n        this.route('security');\n        this.route('universal-linking');\n        this.route('attachment-settings');\n        this.route('office-hours');\n      });\n\n      this.route('messenger-apps', function() {\n        this.route('mailchimp', function() {\n          this.route('settings');\n        });\n      });\n\n      this.route('messenger');\n\n      this.route('account', function() {\n        this.route('general', { path: '/' });\n        this.route('notifications');\n        this.route('password');\n        this.route('two_factor_auth');\n        this.route('oauth-tokens');\n        this.route('account_access');\n        this.route('visibility', function() {\n          this.route('tags');\n          this.route('user-segments');\n          this.route('company-segments');\n          this.route('events');\n          this.route('user-data');\n          this.route('company-data');\n          this.route('inboxes');\n        });\n      });\n\n      this.route('inbound-email', { path: '/inbound-email/:email_id' });\n\n      this.route('articles', function() {\n        this.route('guide', function() {});\n        this.route('articles', function() {\n          this.route('new');\n          this.route('list', function() {\n            this.route('all');\n            this.route('finished'); // redirects to published\n            this.route('published');\n            this.route('draft');\n            this.route('missing');\n          });\n          this.route('article', { path: ':id' }, function() {\n            this.route('edit');\n            this.route('show', function() {\n              this.route('stats');\n            });\n          });\n        });\n        this.route('site', function() {\n          this.route('collections', function() {\n            this.route('collection', { path: ':identifier' });\n          });\n          this.route('settings');\n        });\n        this.route('insights', function() {\n          this.route('closed-by-operator');\n        });\n        this.route('about');\n      });\n\n      this.route('feed', { path: 'conversations' }, function() {\n        this.route('conversation', { path: ':conversation_id' });\n      });\n\n      this.route('accounts');\n\n      this.route('platform', function() {\n        this.route('guide', function() {});\n      });\n\n      this.route('guide');\n\n      this.route('user_profile');\n\n      this.route('cda-onboarding', function() {\n        this.route('add');\n        this.route('generate');\n      });\n      this.route('operator', function() {\n        this.route('task-bots', function() {\n          this.route('users');\n          this.route('leads');\n          this.route('teammates');\n        });\n        this.route('custom-bots', function() {\n          this.route('index', { path: '/' });\n          this.route('new', { path: '/new' });\n          this.route('bot-auto-message', { path: 'bot-auto-message' }, function() {\n            this.route('show', { path: '/:id' });\n          });\n\n          this.route('outbound', { path: 'outbound' }, function() {\n            this.route('edit', { path: ':id' });\n          });\n\n          this.route('custom-bot', { path: '/:id' }, function() {\n            this.route('show', { path: '/' });\n            this.route('edit');\n          });\n\n          this.route('inbound-custom-bot', function() {\n            this.route('edit', { path: ':id' });\n          });\n\n          this.route('button-custom-bot', function() {\n            this.route('edit', { path: ':id' });\n          });\n\n          this.route('reporting', function() {\n            this.route('sent');\n            this.route('engaged');\n            this.route('completed');\n          });\n        });\n        this.route('resolution-bot', function() {\n          this.route('intro');\n          this.route('answers', { path: '/' }, function() {\n            this.route('answer', { path: ':answer_id' }, function() {\n              this.route('show', { path: '/' }, function() {\n                this.route('conversations');\n              });\n              this.route('edit');\n            });\n            this.route('new');\n            this.route('suggestions');\n          });\n\n          this.route('reporting');\n        });\n        this.route('settings');\n      });\n      this.route('home', function() {});\n      this.route('demo-messenger', function() {});\n      this.route('intersection');\n      this.route('test-conversation');\n      this.route('tours', function() {\n        this.route('new');\n        this.route('edit', { path: ':id' });\n      });\n      this.route('pre-tour');\n\n      this.route('reports', function() {\n        this.route('overview', { path: '/' });\n        this.route('custom-reports', function() {\n          this.route('report', function() {\n            this.route('new', function() {\n              this.route('chart', function() {\n                this.route('new');\n                this.route('edit', { path: '/:chart_id/edit' });\n              });\n            });\n            this.route('show', { path: '/:report_id' }, function() {\n              this.route('chart', function() {\n                this.route('new');\n                this.route('edit', { path: '/:chart_id/edit' });\n              });\n            });\n          });\n        });\n        this.route('conversations');\n        this.route('inbox', function() {\n          this.route('summary', { path: '/' }, function() {\n            this.route('conversations', { path: '/' });\n            this.route('sales', function() {\n              this.route('closed-won');\n              this.route('emails-captured');\n              this.route('new-leads');\n              this.route('opportunities');\n              this.route('pipeline');\n            });\n          });\n          this.route('conversation-tags');\n          this.route('leads');\n          this.route('performance', function() {\n            this.route('volume', { path: '/' });\n            this.route('responsiveness');\n            this.route('responsiveness-flexible');\n            this.route('happiness');\n            this.route('sales', function() {\n              this.route('opportunities');\n              this.route('pipeline');\n              this.route('closed-won');\n            });\n          });\n          this.route('conversations');\n          this.route('conversations-flexible');\n          this.route('team-performance');\n          this.route('effectiveness');\n          this.route('slas');\n          this.route('export');\n          this.route('sandbox');\n        });\n        this.route('messages');\n        this.route('lead-generation', function() {\n          this.route('leads', { path: '/' });\n          this.route('sales', function() {\n            this.route('opportunities');\n            this.route('pipeline');\n            this.route('closed-won');\n          });\n          this.route('custom-bots', function() {\n            this.route('sent');\n            this.route('engaged');\n            this.route('completed');\n          });\n        });\n        this.route('customer-engagement');\n        this.route('customer-support', function() {\n          this.route('overview', { path: '/' });\n          this.route('customer-satisfaction');\n          this.route('responsiveness');\n          this.route('conversations');\n          this.route('conversations-flexible');\n          this.route('team-performance');\n          this.route('conversation-tags');\n          this.route('effectiveness');\n          this.route('slas');\n          this.route('resolution-bot');\n          this.route('custom-bots', function() {\n            this.route('sent');\n            this.route('engaged');\n            this.route('completed');\n          });\n          this.route('articles', function() {\n            this.route('closed-by-operator');\n            this.route('flexible');\n          });\n          this.route('export');\n        });\n        this.route('articles', function() {\n          this.route('closed-by-operator');\n        });\n        this.route('operator', function() {\n          this.route('custom-bots', function() {\n            this.route('sent');\n            this.route('engaged');\n            this.route('completed');\n          });\n          this.route('resolution-bot');\n        });\n        this.route('conversational-insights', function() {\n          this.route('tracked-topics', function() {\n            this.route('topic', { path: ':topic_id' }, function() {\n              this.route('show', { path: '/' });\n              this.route('edit');\n            });\n            this.route('new');\n          });\n          this.route('suggested-topics', function() {\n            this.route('topic', { path: '/:topic_ids' }, function() {});\n          });\n        });\n      });\n\n      this.route('get-started', function() {\n        this.route('survey-splash');\n        this.route('use-case');\n        this.route('buyer-persona');\n        this.route('start-intent');\n      });\n\n      this.route('editor-demo');\n      this.route('feature-sync');\n\n      this.route('content', function() {\n        // eslint-disable-next-line ember/routes-segments-snake-case\n        this.route('new', { path: '/new/:creationParams' });\n      });\n      this.route('sms-demo');\n      this.route('email-editor-demo');\n      this.route('conversational-insights', function() {\n        this.route('topics', function() {\n          this.route('topic', { path: ':id' }, function() {\n            this.route('show', { path: '/' });\n            this.route('edit');\n          });\n          this.route('new');\n        });\n        this.route('suggestions', function() {});\n      });\n    });\n  });\n\n  this.route('changes', function() {\n    this.route('change', { path: ':id' });\n  });\n\n  this.route('meeting-scheduler', { path: '/meeting-scheduler/calendar/:id' });\n\n  this.route('app-builder');\n  this.route('canvas-kit-builder', function() {\n    this.route('preview');\n  });\n  this.route('graph-demo');\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  beforeModel() {\n    this.replaceWith('canvas-kit-builder');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  activate() {\n    document.body.classList.add('responsive');\n  },\n  deactivate() {\n    document.body.classList.remove('responsive');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport { later, schedule } from '@ember/runloop';\nimport { isEmpty, isPresent } from '@ember/utils';\nimport { inject as service } from '@ember/service';\nimport ENV from 'embercom/config/environment';\nimport AppRefreshing from 'embercom/routes/mixins/app-refresher';\nimport storage from 'embercom/vendor/intercom/storage';\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\n// eslint-disable-next-line @intercom/intercom/no-legacy-modal\nimport ConfirmModalMixin from 'embercom/routes/mixins/confirm-modal-mixin';\nimport { timeout } from 'ember-concurrency';\nimport ModelCacheHelper from 'embercom/lib/model-cache/helper';\nimport { showIntercomWidget, hideIntercomWidget } from 'embercom/lib/intercom-widget-helper';\n\nexport default IntercomRoute.extend(AppRefreshing, ConfirmModalMixin, {\n  shortcuts: service(),\n  bootOptionsService: service(),\n  intl: service(),\n\n  title(tokens) {\n    if (isEmpty(tokens)) {\n      return document.title;\n    } else {\n      let appName = this.modelFor('apps.app').get('name');\n      return `${tokens.reverse().join(' | ')} | ${appName} | Intercom`;\n    }\n  },\n  beforeModel(transition) {\n    let queryParams = transition.to.queryParams;\n    this.bootOptionsService.initFromQueryParams(queryParams);\n    this.markStart();\n\n    let locale = this.getLocale(queryParams.locale || 'en');\n\n    try {\n      if (queryParams.locale || !storage.get('locale')) {\n        storage.set('locale', {\n          key: locale,\n        });\n      }\n      this.intl.setLocale([storage.get('locale').key, 'en']);\n    } catch (e) {\n      this.intl.setLocale([locale, 'en']);\n    }\n\n    if (window.location.href.includes('translation_active=yes')) {\n      window.PHRASEAPP_CONFIG = {\n        projectId: '63a73a3130c6af471a590a82bd120986',\n        prefix: '[[__',\n        suffix: '__]]',\n      };\n      let phraseapp = document.createElement('script');\n      phraseapp.type = 'text/javascript';\n      phraseapp.async = true;\n      phraseapp.src = [\n        'https://',\n        'phraseapp.com/assets/in-context-editor/2.0/app.js?',\n        new Date().getTime(),\n      ].join('');\n      let s = document.getElementsByTagName('script')[0];\n      s.parentNode.insertBefore(phraseapp, s);\n    }\n\n    // When local model caching is enabled we essentially don't have any asnyc promises\n    // in the `apps.app` route. This causes the initial loading screen to never show.\n    // The actual hydration of the models takes a few hundred milliseconds so to force\n    // the loading screen to show for this process we return a NOOP timeout here.\n    if (!ModelCacheHelper.isDisabled()) {\n      return timeout(1);\n    }\n  },\n  afterModel(model, transition) {\n    this.markEnd();\n  },\n\n  renderTemplate() {\n    this._super(this, arguments);\n    this.render('feature-upgrade-prompt', {\n      into: 'application',\n      outlet: 'feature-upgrade-prompt',\n      controller: 'feature-upgrade-prompt',\n    });\n  },\n  updateRelativeTime() {\n    if (!ENV.APP.relative_time_update_interval) {\n      return;\n    }\n    let self = this;\n    later(\n      this,\n      function() {\n        self.send('refreshRelativeTime');\n        self.updateRelativeTime();\n      },\n      ENV.APP.relative_time_update_interval,\n    );\n  },\n  activate() {\n    this.registerShortcuts();\n    this.updateRelativeTime();\n    this.setLastRefreshedAt();\n  },\n\n  modalController() {\n    let modalControllerPath = this.controller.get('activeModalControllerPath');\n    let modalController;\n\n    if (modalControllerPath) {\n      modalController = this.controllerFor(modalControllerPath);\n    }\n    return modalController;\n  },\n\n  registerShortcuts() {\n    this.shortcuts.register('global-application', this, [\n      { key: 'escape', textBox: true, method: this.escapeShortcut },\n      { key: '↵', textBox: true, method: this.enterShortcut, commandKey: true },\n      { key: '/', method: this.shortcutKeyShortcut, shiftKey: true },\n    ]);\n  },\n\n  shortcutKeyShortcut() {\n    this.controller.send('toggleKeyboardShortcutsModal');\n  },\n\n  enterShortcut() {\n    let modalController = this.modalController();\n    if (modalController) {\n      try {\n        modalController.send('submit');\n      } catch (e) {\n        // swallow cases where the controller just didn't implement submit\n        if (!e.message.match(/Nothing handled the action 'submit'/)) {\n          throw e;\n        }\n      }\n    }\n  },\n\n  escapeShortcut() {\n    let modalController = this.modalController();\n    let modalControllerPath = this.controller.get('activeModalControllerPath');\n    if (modalController && modalControllerPath === 'apps/app/settings/modals/permission-request') {\n      modalController.send('closeModal');\n    } else if (modalController && modalController.get('modalAction') === 'message') {\n      return;\n    } else {\n      this.send('closeModal');\n    }\n  },\n\n  getLocale(locale) {\n    let locales = new Map([\n      ['en', 'en'],\n      ['en-us', 'en'],\n      ['en-US', 'en'],\n      ['es', 'es'],\n      ['de', 'de'],\n      ['fr', 'fr'],\n      ['pt-BR', 'pt-BR'],\n      ['pt-br', 'pt-BR'],\n      ['ja', 'ja'],\n    ]);\n\n    return locales.get(locale) || 'en';\n  },\n\n  isBackNavigation(transition) {\n    return transition.intent.url && window.history;\n  },\n\n  actions: {\n    warnOnNavigation(shouldWarnOnNavigation) {\n      this.controller.set('shouldWarnOnNavigation', shouldWarnOnNavigation);\n    },\n\n    openModal(controllerPath, model, options, controllerProps = {}, callbacks = {}) {\n      hideIntercomWidget();\n\n      let properties = {\n        model: model || {},\n        isOpen: true,\n        options,\n      };\n      properties = Object.assign({}, properties, controllerProps);\n      //Pat: In some cases we need to pass in the app & admin to the modal controller. This is to prevent subtle bugs where, due to model proxying on controllers, it is possible for app and admin properties to be overwritten. See https://github.com/intercom/intercom/issues/31851\n      properties.app = options && options.app ? options.app : this.modelFor('apps.app');\n      properties.admin = options && options.admin ? options.admin : this.modelFor('apps');\n      this.controllerFor(controllerPath).setProperties(properties);\n      if (callbacks.onOpen) {\n        this.controller.set('onOpen', callbacks.onOpen);\n      }\n      if (callbacks.onClose) {\n        this.controller.set('onClose', callbacks.onClose);\n      }\n      this.controller.set('activeModalControllerPath', controllerPath);\n      this.render(controllerPath, {\n        into: 'application',\n        outlet: 'modal',\n      });\n      if (this.controller.get('onOpen')) {\n        this.controller.get('onOpen')();\n        this.controller.set('onOpen', null);\n      }\n      schedule('afterRender', this, () => {\n        if (isPresent(this.controllerFor(controllerPath).trigger)) {\n          this.controllerFor(controllerPath).trigger('didBecomeActive');\n        }\n      });\n    },\n    openSecondaryModal(controllerPath, model, options) {\n      let properties = {\n        model: model || {},\n        isOpen: true,\n        options,\n      };\n      //Pat: In some cases we need to pass in the app & admin to the modal controller. This is to prevent subtle bugs where, due to model proxying on controllers, it is possible for app and admin properties to be overwritten. See https://github.com/intercom/intercom/issues/31851\n      properties.app = options && options.app ? options.app : this.modelFor('apps.app');\n      properties.admin = options && options.admin ? options.admin : this.modelFor('apps');\n\n      let controller = this.controllerFor(controllerPath);\n      if (options.target) {\n        controller.set('target', options.target);\n      }\n\n      controller.setProperties(properties);\n      this.controller.set('secondaryActiveModalControllerPath', controllerPath);\n      return this.render(controllerPath, {\n        into: 'application',\n        outlet: 'secondary_modal',\n      });\n    },\n    closeModal() {\n      let controllerPath = this.controller.get('activeModalControllerPath');\n      if (controllerPath) {\n        if (!this.controllerFor(controllerPath).get('canCloseModal')) {\n          return;\n        }\n        showIntercomWidget();\n        this.controllerFor(controllerPath).set('isOpen', false);\n        this.controller.set('activeModalControllerPath', null);\n        this.controller.send('modalClosed');\n\n        if (this.controller.get('onClose')) {\n          this.controller.get('onClose')(...arguments);\n          this.controller.set('onClose', null);\n        }\n\n        return this.disconnectOutlet({\n          outlet: 'modal',\n          parentView: 'application',\n        });\n      }\n    },\n    closeSecondaryModal() {\n      let controllerPath = this.controller.get('secondaryActiveModalControllerPath');\n      if (controllerPath) {\n        if (!this.controllerFor(controllerPath).get('canCloseModal')) {\n          return;\n        }\n        this.controllerFor(controllerPath).set('isOpen', false);\n        this.controller.set('secondaryActiveModalControllerPath', null);\n        this.controller.send('modalClosed');\n        return this.disconnectOutlet({\n          outlet: 'secondary_modal',\n          parentView: 'application',\n        });\n      }\n    },\n    toggleModal(controllerPath, model, options) {\n      if (this.controller.get('activeModalControllerPath') === controllerPath) {\n        this.send('closeModal');\n      } else {\n        // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n        this.send('openModal', controllerPath, model, options);\n      }\n    },\n    hideFeaturePrompt() {\n      let featurePromptController = this.controllerFor('featureUpgradePrompt');\n      let featureUpgradePromptComponent = featurePromptController.get(\n        'featureUpgradePromptComponent',\n      );\n      if (featureUpgradePromptComponent) {\n        featureUpgradePromptComponent.send('hide');\n      }\n    },\n\n    showFeaturePrompt(\n      feature,\n      planId,\n      targetSelector,\n      hoverSelector,\n      onSuccess,\n      customCTA,\n      customUpgradeButton,\n      onCustomCTA,\n      analyticsMetadata,\n    ) {\n      let featurePromptController = this.controllerFor('featureUpgradePrompt');\n      let featureUpgradePromptComponent = featurePromptController.get(\n        'featureUpgradePromptComponent',\n      );\n      featurePromptController.set('onSuccess', onSuccess);\n      if (featureUpgradePromptComponent) {\n        featureUpgradePromptComponent.send(\n          'show',\n          feature,\n          planId,\n          targetSelector,\n          hoverSelector,\n          customCTA,\n          customUpgradeButton,\n          onCustomCTA,\n          analyticsMetadata,\n        );\n      }\n    },\n\n    refreshRelativeTime() {\n      let applicationComponent = this.controller.get('applicationComponent');\n      applicationComponent.send('refreshRelativeTime');\n    },\n    activateTransitionSuppression() {\n      this.set('shouldSuppressTransitions', true);\n    },\n    deactivateTransitionSuppression() {\n      this.set('shouldSuppressTransitions', false);\n    },\n    willTransition(transition) {\n      this.refreshAppIfAppropriate(transition);\n      if (this.shouldSuppressTransitions && this.isBackNavigation(transition)) {\n        transition.abort();\n        window.history.forward();\n      }\n    },\n    setDocumentTitle(title) {\n      document.title = `${title} | Intercom`;\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { isPresent } from '@ember/utils';\nimport { inject as service } from '@ember/service';\nimport ENV from 'embercom/config/environment';\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { task } from 'ember-concurrency';\nimport storage from 'embercom/vendor/intercom/storage';\nimport md5 from 'md5';\nimport { encodedVapidToken } from 'embercom/lib/vapid-token';\nimport { computed } from '@ember/object';\nimport UserAgentDetector from '@intercom/embercom-core/lib/user-agent-detector';\nimport { getOwner } from '@ember/application';\nimport Metrics from 'embercom/models/metrics';\n\nexport default IntercomRoute.extend({\n  pubsub: service(),\n\n  conversationsService: service(),\n  bootService: service(),\n  shortcuts: service(),\n  modelDataCacheService: service(),\n  encodedVapidToken: computed('ENV.environment', function() {\n    return encodedVapidToken();\n  }),\n\n  beforeModel() {\n    if (sessionStorage) {\n      try {\n        let tabIdentifier =\n          ENV.environment === 'test'\n            ? 'test_tab'\n            : `${new Date().toISOString()}::${md5(Math.random())}`;\n        sessionStorage.setItem('embercom_tab_identifier', tabIdentifier);\n      } catch (e) {\n        // Do nothing\n      }\n    }\n    this.markStart();\n  },\n\n  adminModelId() {\n    if (isPresent(window.__embercom_boot_data)) {\n      return window.__embercom_boot_data.current_admin_id;\n    }\n  },\n\n  model() {\n    return this.modelDataCacheService.fetch('admin', this.adminModelId());\n  },\n\n  afterModel(model) {\n    this.set('admin', model);\n    this.conversationsService.set('admin', model);\n    this.markEnd();\n    this.bootService.ifOrWhenSecondaryStageReached().then(() => {\n      let admin = this.admin;\n      let appRoute = getOwner(this).lookup('route:apps/app');\n      let app = appRoute.app;\n\n      this.bootShortcuts(admin);\n      this.checkNotificationSettings(app, admin);\n    });\n  },\n  checkNotificationSettings(app, admin) {\n    let hasServiceWorkers = 'serviceWorker' in navigator;\n    let isImpersonationSession = app && app.get('impersonation_session');\n\n    if (isImpersonationSession || !hasServiceWorkers) {\n      return;\n    }\n\n    this.promptForPushPermissionIfRequired.perform(app, admin).catch(() => {\n      // Only catching so acceptance tests don't fail\n    });\n  },\n\n  bootShortcuts(admin) {\n    let state = {\n      advancedEnabled: admin.get('advanced_shortcuts_enabled'),\n      csEnabled: admin.get('hasEnabledCSComponent'),\n    };\n    let pubsub = this.pubsub;\n    this.shortcuts.setProperties({ state, pubsub });\n  },\n\n  promptForPushPermissionIfRequired: task(function*(app, admin) {\n    let serviceWorkerRegistration;\n    let options = { userVisibleOnly: true };\n    if (UserAgentDetector.isChrome()) {\n      options.applicationServerKey = this.encodedVapidToken;\n    }\n    if (ENV.environment === 'test' && navigator.serviceWorker.fakeReady) {\n      serviceWorkerRegistration = yield navigator.serviceWorker.fakeReady();\n    } else {\n      serviceWorkerRegistration = yield navigator.serviceWorker.ready;\n    }\n    let pushManager = serviceWorkerRegistration.pushManager;\n    let permissionState = yield pushManager.permissionState(options);\n\n    if (permissionState === 'denied') {\n      return;\n    }\n\n    let existingPushSubscription = yield pushManager.getSubscription();\n    if (existingPushSubscription) {\n      if (existingPushSubscription.endpoint.startsWith('https://android.googleapis.com/gcm/send')) {\n        Metrics.capture({ increment: ['gcm_unsubscribe_token'] });\n        yield existingPushSubscription.unsubscribe();\n      } else {\n        return;\n      }\n    }\n\n    let settings = yield this.store.findRecord('admin-notification-settings', admin.get('id'));\n    let hasLegacyPush = storage.get('inbox-desktop-notifications-setting');\n\n    if (hasLegacyPush) {\n      storage.remove('inbox-desktop-notifications-setting');\n      settings.set('webPushForAssignedToMe', true);\n    }\n    if (settings.get('hasAnyWebPush')) {\n      try {\n        let pushSubscription = yield pushManager.subscribe(options);\n        settings.savePushSubscription(app, admin, pushSubscription);\n      } catch (e) {\n        // User denied permission, it would be a bit rude to do anything now\n      }\n    }\n  }),\n\n  actions: {\n    refreshAppsAdminModel() {\n      this.refresh();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { and } from '@ember/object/computed';\nimport { debounce, throttle } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport Metrics from 'embercom/models/metrics';\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport ENV from 'embercom/config/environment';\nimport storage from 'embercom/vendor/intercom/storage';\nimport ModelCacheHelper from 'embercom/lib/model-cache/helper';\nimport RunMixin from 'ember-lifeline/mixins/run';\nimport Admin from 'embercom/models/admin';\nimport { configureScope } from '@sentry/browser';\n\nconst SHORTCUT_GROUP = 'global-shortcuts';\n\nexport default IntercomRoute.extend(RunMixin, {\n  intercomEventService: service(),\n  notificationsService: service(),\n  pubsub: service(),\n  store: service(),\n  cookies: service(),\n\n  userPresenceService: service(),\n  realTimeEventService: service(),\n  adminPingService: service(),\n  settingsService: service(),\n  inboxService: service(),\n  bootService: service(),\n  iamService: service(),\n  shortcuts: service(),\n  frontendStatsService: service(),\n  modelDataCacheService: service(),\n  identityVerificationRiskStateService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  appService: service(),\n\n  beforeModel(transition) {\n    this.frontendStatsService.recordBootLocationAndType(transition.to.name);\n    this.bootService.on('onSecondaryStage', app => {\n      this.iamService.boot(app);\n      this.adminPingService.start(app, app.get('currentAdmin'));\n      this.frontendStatsService.recordCacheMetrics();\n      this.frontendStatsService.sendInteractionMetrics();\n      if (!Em.testing) {\n        this.identityVerificationRiskStateService.start(app);\n      }\n    });\n\n    this.markStart();\n\n    if (this.app) {\n      this.unsubscribeRealTimeEvents(this.app.get('id'));\n      this.interLock.leave();\n      this.shortcuts.unregister(SHORTCUT_GROUP);\n      this._stopRealTime();\n      this._stopUserPresence();\n    }\n  },\n  model(params) {\n    this._lastAppIdLoaded = params.app_id;\n    if (ModelCacheHelper.isDisabled()) {\n      return this.store.findRecord('app', params.app_id);\n    } else {\n      return this.modelDataCacheService.fetch('app', params.app_id);\n    }\n  },\n  setupController(controller, model, transition) {\n    this._super(controller, model);\n    controller.set('solutionId', model.get('signedUpWithSolutionId'));\n  },\n  afterModel(model) {\n    this._eagerlyLoadAssociations(model);\n    this.set('app', model);\n    this.appService.refresh();\n    this.bootService.setApp(model);\n    this.interLock.initForApp(model.get('id'));\n    this.registerShortcuts();\n    this._startRealTime(model);\n\n    this._startUserPresence(model);\n    this.subscribeRealTimeEvents();\n\n    if (model.get('is_test_app')) {\n      this.intercomEventService.trackEvent('used-a-test-app');\n    }\n\n    this.reachability.startNotifier(\n      () => debounce(this, 'onNetworkIsReachable', ENV.APP._2000MS),\n      () => debounce(this, 'onNetworkIsNotReachable', ENV.APP._2000MS),\n    );\n\n    this.markEnd();\n    this._trackBootTime();\n    this._setSentryUserContext();\n    this._recordExperimentOverrides();\n    this.settingsService.start(this.app);\n  },\n\n  // This is because of relationship between ember data and ember model being lazy\n  // So we fetch them eagerly to make sure they will be pushed in the store and we won't do extra network requests\n  _eagerlyLoadAssociations(model) {\n    model.get('segments');\n  },\n\n  onNetworkIsReachable() {\n    if (this.isDestroying) {\n      return;\n    }\n    this.pubsub.publish('networkIsReachable');\n\n    if (this._inInbox()) {\n      this.fetchInboxCounters();\n    }\n    this._startUserPresence(this.app);\n  },\n\n  onNetworkIsNotReachable() {\n    this.pubsub.publish('networkIsNotReachable');\n    this._stopUserPresence();\n  },\n\n  registerShortcuts() {\n    let stateCheck = 'advancedEnabled';\n    this.shortcuts.register(SHORTCUT_GROUP, this, [\n      { stateCheck, key: 'g|a', method: this.allInboxShortcut },\n      { stateCheck, key: 'g|i', method: this.inboxShortcut },\n      { stateCheck, key: 'g|u', method: this.usersShortcut },\n    ]);\n  },\n\n  inboxShortcut() {\n    this.controller.send('transitionToInbox');\n  },\n\n  allInboxShortcut() {\n    this.controller.send('transitionToInbox', 'all');\n  },\n\n  usersShortcut() {\n    this.transitionTo('apps.app.users');\n  },\n\n  desktopNotificationsAppFlag: true,\n  desktopNotificationsBrowserPermit: false,\n  useDesktopNotifications: and(\n    'desktopNotificationsAppFlag',\n    'desktopNotificationsBrowserPermit',\n    'desktopNotificationsAdminSetting',\n  ),\n  _trackBootTime() {\n    Metrics.captureTimingMarks(this.get('app.id'));\n  },\n  _startRealTime(app) {\n    this.realTimeEventService.initForApp(app);\n  },\n  _stopRealTime() {\n    try {\n      this.realTimeEventService.unsubscribe();\n    } catch (e) {\n      // no-op\n    }\n  },\n\n  _startUserPresence(app) {\n    let userPresenceService = this.userPresenceService;\n    if (userPresenceService) {\n      userPresenceService.start(app);\n    }\n  },\n  _stopUserPresence() {\n    if (this.get('userPresenceService.isPollingStarted')) {\n      this.userPresenceService.stop();\n    }\n  },\n  _setSentryUserContext() {\n    let currentAdminId = this._adminIdInt();\n    configureScope(scope => {\n      scope.setUser({\n        id: currentAdminId,\n        app_id: this.get('app.id'),\n      });\n    });\n  },\n  _adminIdInt() {\n    return parseInt(this.get('app.currentAdmin.id'), 10);\n  },\n  _operatorBotIdInt() {\n    return parseInt(this.get('app.operatorBot.id'), 10);\n  },\n  _inAllInbox() {\n    return this.get('inboxService.inbox.identifier') === 'all';\n  },\n  _inOwnInbox() {\n    return this.get('inboxService.inbox.identifier') === this.modelFor('apps').get('id');\n  },\n  transitionToConversation(conversationId) {\n    return function() {\n      this.transitionTo(\n        this.get('app.inboxConversationsConversationRoute'),\n        this.modelFor('apps').get('email'),\n        conversationId,\n      );\n    }.bind(this);\n  },\n\n  // Notifications: Thread Assigned\n  // ==============================\n  //\n  _threadAssignedEvent(event) {\n    this._refreshNavCountersIfNeeded(event);\n    this.threadAssignedBrowserAlert(event);\n    //TODO: Paddy: this can be zapped when we finish migration\n    let permission = storage.get('inbox-desktop-notifications-setting');\n    if (permission && this.useDesktopNotifications) {\n      this.threadAssignedDesktopNotification(event);\n    }\n  },\n  threadAssignedBrowserAlert(event) {\n    let currentAdminId = this._adminIdInt();\n    let operatorBotId = this._operatorBotIdInt();\n\n    if (event.assigneeIdWas === currentAdminId) {\n      this.browserAlerts.reset(event.conversationId);\n    } else if (event.assigneeId === currentAdminId || this._isNotificationForTeam(event)) {\n      this._newMessageBrowserAlert(event);\n    } else if (event.assigneeIdWas === operatorBotId) {\n      // Conversation was moved out of the bot inbox\n      this._newMessageBrowserAlert(event);\n    }\n  },\n  threadAssignedDesktopNotification(event) {\n    if (!this.isDesktopNotificationToBeShown(event)) {\n      return;\n    }\n    let assignerName =\n      Admin.peekAndMaybeLoad(this.store, event.lastActivityOwnerId).get('name') || 'Someone';\n    let notificationOptions = {\n      title: `${assignerName} assigned this conversation with ${event.userDisplayAs} to you`,\n      body: event.lastActivityPreview ? `Note: \\\"${event.lastActivityPreview}\\\"` : '',\n      clickCallback: this.transitionToConversation(event.conversationId),\n      tag: this._generateNotificationTag(event),\n    };\n    if (event.ruleId) {\n      notificationOptions.title = `Conversation with ${event.userDisplayAs} autoassigned to you`;\n    }\n    this.desktopNotifications.createNotification(notificationOptions);\n  },\n\n  // Notifications: Thread Updated\n  // =============================\n  //\n  _threadUpdatedEvent(event) {\n    this.app.set('has_unseen_feed_conversations', true);\n    this._refreshNavCountersIfNeeded(event);\n\n    this.threadUpdatedBrowserAlert(event);\n    if (this.useDesktopNotifications) {\n      this.threadUpdatedDesktopNotification(event);\n    }\n  },\n  threadUpdatedBrowserAlert(event) {\n    if (!this._shouldReceiveBrowserAlert(event)) {\n      return;\n    }\n    if (event.subType !== 'comment') {\n      return;\n    }\n    if (event.lastActivityOwnerId) {\n      this.browserAlerts.reset(event.conversationId);\n    } else {\n      let notificationContent = `${event.userDisplayAs || 'Someone'} says…`;\n      this.triggerBrowserAlert(notificationContent, event.conversationId);\n    }\n  },\n  threadUpdatedDesktopNotification(event) {\n    if (!this.isDesktopNotificationToBeShown(event)) {\n      return;\n    }\n    let notificationOptions = {\n      clickCallback: this.transitionToConversation(event.conversationId),\n      tag: this._generateNotificationTag(event),\n    };\n    let adminName =\n      event.lastActivityOwnerId &&\n      Admin.peekAndMaybeLoad(this.store, event.lastActivityOwnerId).get('name');\n\n    if (event.subType === 'comment' || (event.subType === 'open' && event.lastActivityPreview)) {\n      let displayName = event.lastActivityOwnerId === null ? event.userDisplayAs : adminName;\n      notificationOptions.title = `${displayName || 'Someone'} says…`;\n      notificationOptions.body = event.lastActivityPreview;\n    } else if (event.subType === 'note') {\n      notificationOptions.title = `${adminName ||\n        'Someone'} added a note to your conversation with ${event.userDisplayAs}`;\n      notificationOptions.body = event.lastActivityPreview ? event.lastActivityPreview : '';\n    } else {\n      return;\n    }\n\n    this.desktopNotifications.createNotification(notificationOptions);\n  },\n\n  // Notifications: Thread Created\n  // =============================\n  //\n  _threadCreatedEvent(event) {\n    this.app.set('has_unseen_feed_conversations', true);\n    this._refreshNavCountersIfNeeded(event);\n\n    this.threadCreatedBrowserAlert(event);\n    if (this.useDesktopNotifications) {\n      this.threadCreatedDesktopNotification(event);\n    }\n  },\n  threadCreatedDesktopNotification(event) {\n    if (!this.isDesktopNotificationToBeShown(event)) {\n      return;\n    }\n    let notificationOptions = {\n      title: event.userDisplayAs\n        ? `New message from ${event.userDisplayAs}`\n        : 'New message received',\n      body: event.lastActivityPreview,\n      clickCallback: this.transitionToConversation(event.conversationId),\n      tag: this._generateNotificationTag(event),\n    };\n    this.desktopNotifications.createNotification(notificationOptions);\n  },\n  threadCreatedBrowserAlert(event) {\n    this._newMessageBrowserAlert(event);\n  },\n  _newMessageBrowserAlert(event) {\n    if (!this._shouldReceiveBrowserAlert(event)) {\n      return;\n    }\n    let notificationContent = event.userDisplayAs\n      ? `New message from ${event.userDisplayAs}`\n      : 'New message received';\n    this.triggerBrowserAlert(notificationContent, event.conversationId);\n  },\n  _shouldReceiveBrowserAlert(event) {\n    let admin = this.modelFor('apps');\n    switch (admin && admin.get('browser_alert_setting')) {\n      case 1: // Assigned conversations only\n        return this._isNotificationForCurrentAdmin(event);\n      case 3:\n        return this._isNotificationForTeam(event) || this._isNotificationForCurrentAdmin(event);\n      case 5: // Assigned and unassigned conversations\n        return (\n          this._isNotificationForUnassigned(event) || this._isNotificationForCurrentAdmin(event)\n        );\n      case 7:\n        return (\n          this._isNotificationForUnassigned(event) ||\n          this._isNotificationForTeam(event) ||\n          this._isNotificationForCurrentAdmin(event)\n        );\n      default:\n        return false;\n    }\n  },\n  triggerBrowserAlert(content, conversationId) {\n    let admin = this.modelFor('apps');\n    if (admin.get('audio_notifications_enabled')) {\n      this.sounds.playAdminNotification();\n    }\n    this.browserAlerts.showBrowserAlert(content, conversationId);\n  },\n\n  // Notifications: Thread Closed\n  // =============================\n  //\n\n  _threadClosedEvent(event) {\n    if (this.get('app.inboxIsNotActive')) {\n      this.app.refreshNavCounters();\n    }\n  },\n\n  // AdminAwayReassignMode\n  // =============================\n  //\n  _updatedAwayModeFromRealtimeEvent(event) {\n    let adminToUpdate = Admin.peekAndMaybeLoad(this.store, event.admin_id);\n    adminToUpdate.set('away_mode_enabled', event.away_mode_enabled);\n    adminToUpdate.set('reassign_conversations', event.reassign_conversations);\n  },\n\n  // Notifications logic\n  // ===================\n  //\n  _generateNotificationTag(event) {\n    return `_${event.lastCommentId}_${event.conversationId}`;\n  },\n  isDesktopNotificationToBeShown(event) {\n    let isNotificationContentAlreadyVisible = false;\n\n    if (!this.get('app.canUseUnfilteredDesktopNotifications')) {\n      let assigneeConversationRoute = `${this.get(\n        'app.inboxBaseRoute',\n      )}.assignee.conversations.conversation`;\n      let conversationRoute = this.get('app.conversationRoute');\n\n      let conversation =\n        this.modelFor(assigneeConversationRoute) || this.modelFor(conversationRoute);\n      if (conversation) {\n        let isNotificationForCurrentConversation = event.conversationId === conversation.get('id');\n        if (isNotificationForCurrentConversation) {\n          return false;\n        }\n      }\n      isNotificationContentAlreadyVisible =\n        this._inInbox() && (this._inAllInbox() || this._inOwnInbox());\n    }\n\n    let isAdminActiveInNotificationTarget = !document.hidden && isNotificationContentAlreadyVisible;\n    return (\n      this.interLock.isLeaderTab() &&\n      this._isNotificationForCurrentAdmin(event) &&\n      !isAdminActiveInNotificationTarget\n    );\n  },\n  _isNotificationForCurrentAdmin(event) {\n    let adminIdInt = this._adminIdInt();\n    if (event.ruleId) {\n      return event.assigneeId === adminIdInt && event.assigneeIdWas !== adminIdInt;\n    }\n    return event.assigneeId === adminIdInt && event.lastActivityOwnerId !== adminIdInt;\n  },\n  _isNotificationForUnassigned(event) {\n    return event.assigneeId === 0 && event.lastActivityOwnerId !== 0;\n  },\n\n  _isNotificationForTeam(event) {\n    let team = this.get('app.teams').findBy('id', event.assigneeId.toString());\n\n    return team && team.get('member_ids').includes(this._adminIdInt());\n  },\n\n  subscribeRealTimeEvents() {\n    let realtimeService = this.realTimeEventService;\n    this.set(\n      'desktopNotificationsAdminSetting',\n      storage.get('inbox-desktop-notifications-setting') || false,\n    );\n    this.set(\n      'desktopNotificationsBrowserPermit',\n      this.desktopNotifications.currentBrowserPermission(),\n    );\n\n    realtimeService.on('ThreadAssigned', this, '_threadAssignedEvent');\n    realtimeService.on('ThreadUpdated', this, '_threadUpdatedEvent');\n    realtimeService.on('ThreadReopened', this, '_threadUpdatedEvent');\n    realtimeService.on('ThreadUnsnoozed', this, '_threadUpdatedEvent');\n    realtimeService.on('ThreadCreated', this, '_threadCreatedEvent');\n    realtimeService.on('ThreadClosed', this, '_threadClosedEvent');\n    realtimeService.on('NewMinimumVersion', this, '_newMinimumVersionEvent');\n    realtimeService.on('AdminAwayReassignModeChange', this, '_updatedAwayModeFromRealtimeEvent');\n\n    realtimeService.subscribeTopics(['inbox-general', 'user-blocked']);\n  },\n  unsubscribeRealTimeEvents(appId) {\n    let realtimeService = this.realTimeEventService;\n    realtimeService.off('ThreadAssigned', this, '_threadAssignedEvent');\n    realtimeService.off('ThreadUpdated', this, '_threadUpdatedEvent');\n    realtimeService.off('ThreadReopened', this, '_threadUpdatedEvent');\n    realtimeService.off('ThreadUnsnoozed', this, '_threadUpdatedEvent');\n    realtimeService.off('ThreadCreated', this, '_threadCreatedEvent');\n    realtimeService.off('ThreadClosed', this, '_threadClosedEvent');\n    realtimeService.off('NewMinimumVersion', this, '_newMinimumVersionEvent');\n    realtimeService.off('AdminAwayReassignModeChange', this, '_updatedAwayModeFromRealtimeEvent');\n\n    realtimeService.unsubscribeTopics(['inbox-general', 'user-blocked']);\n  },\n\n  _refreshNavCountersIfNeeded(event) {\n    if (this.get('app.inboxIsNotActive')) {\n      this.app.refreshNavCounters();\n    } else if (!this._inInbox()) {\n      let currentAdminId = this._adminIdInt();\n      if (\n        event.lastActivityOwnerId === currentAdminId ||\n        event.assigneeIdWas === currentAdminId ||\n        event.assigneeId === currentAdminId\n      ) {\n        this.app.refreshNavCounters();\n      }\n    }\n  },\n\n  _recordExperimentOverrides() {\n    let domainParts = location.host.split('.');\n    let topLevelDomain = domainParts.slice(domainParts.length - 2).join('.');\n    let cookieDomain = `.${topLevelDomain}`;\n\n    this.cookies.write(\n      'exp-existing-customer-vbpnp',\n      this.app.get('hasValueBasedPricing') ? 'variation' : 'control',\n      {\n        domain: cookieDomain,\n        maxAge: 6 * 30 * 24 * 60 * 60, // 6 months\n        path: '/',\n        secure: true,\n        // sameSite: 'strict' (once ember-cookies is upgraded)\n      },\n    );\n  },\n\n  _newMinimumVersionEvent(event) {\n    let OLD_VERSION_ERROR_KEY = 'OLD_VERSION_ERROR';\n    let newMinimumVersionId = event.minimumVersionId;\n    let runningVersionId = Number($('meta[name=\"embercom_revision_id\"]').attr('content') || '0');\n    if (runningVersionId < newMinimumVersionId) {\n      this.notificationsService.removeNotification(OLD_VERSION_ERROR_KEY);\n      this.notificationsService.notifyWarningWithModelAndPartial(\n        {},\n        'notifications/old-version',\n        ENV.APP.notificationNoTimeout,\n        OLD_VERSION_ERROR_KEY,\n      );\n    }\n  },\n\n  fetchInboxCounters() {\n    let inboxes = this.modelFor(this.get('app.inboxRoute')).inboxes;\n    let assignee = this.modelFor(`${this.get('app.inboxBaseRoute')}.assignee`);\n    if (assignee) {\n      assignee.set('isLoaded', false);\n    }\n    inboxes.set('isLoaded', false);\n    this.store.findAll('inbox').then(newInboxes => {\n      let me = this.modelFor('apps');\n      this.send('updateNavCounters', {\n        open_message_thread_count: inboxes.findBy('identifier', 'all').get('count'),\n        admin_open_message_thread_count: inboxes.findBy('admin.id', me.get('id')).get('count'),\n      });\n      this.inboxService.updateFavicon();\n      this.controllerFor('apps.app.inbox').send('inboxesUpdated', newInboxes);\n    });\n  },\n\n  actions: {\n    error() {\n      let showBootErrorPage = !this.get('bootService.hasAdvancedToSecondaryStage');\n      if (showBootErrorPage) {\n        this.iamService.boot();\n        return true;\n      }\n    },\n    updateNavCounters(counters) {\n      // counters object: { user_count: 1, company_count: 1, open }\n      if (counters) {\n        this.app.setProperties(counters);\n      } else {\n        this.app.refreshNavCounters();\n      }\n    },\n    refreshInboxCounters() {\n      try {\n        if (this.get('inboxService.isActive') === false) {\n          throttle(this, this.fetchInboxCounters, ENV.APP._5000MS, false);\n        }\n        throttle(this, this.send, 'refreshRelativeTime', ENV.APP._3000MS, false);\n      } catch (e) {\n        // no-op\n      }\n    },\n    // pushes a payload to store to update existing customer record\n    loadCustomer(payload) {\n      return this.store.pushPayload('billing/customer', {\n        'billing/customer': payload,\n      });\n    },\n    setDocumentTitle(title) {\n      document.title = `${title} | ${this.app.get('name')} | Intercom`;\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport AccountRouteBase from 'embercom/routes/apps/app/account/base/account-route-base';\n\nexport default AccountRouteBase.extend({\n  analytics: {\n    section: 'your_account',\n    place: 'account_access',\n  },\n  titleToken: 'Your account access',\n\n  queryParams: {\n    createFromMessengerConversation: { replace: true },\n  },\n\n  // Do not prompt to save unsaved changes on this page\n  activate() {},\n\n  model(_, transition) {\n    return this.store.findAll('admin-impersonation-consent').then(consents => {\n      let latestActiveConsent = consents\n        .filter(consent => consent.get('isActive'))\n        .get('lastObject');\n\n      if (\n        !latestActiveConsent &&\n        transition.to.queryParams.createFromMessengerConversation === 'true'\n      ) {\n        return this.store\n          .createRecord('admin-impersonation-consent')\n          .save()\n          .then(consent => {\n            consents.toArray().pushObject(consent);\n            return { latestActiveConsent: consent, consents };\n          });\n      }\n      return { latestActiveConsent, consents: consents.toArray() };\n    });\n  },\n\n  setupController(controller, model) {\n    this._super(...arguments);\n    let latestActiveConsent = model.latestActiveConsent;\n    controller.set('impersonationConsents', model.consents);\n\n    if (!latestActiveConsent) {\n      return controller.set('model', this.store.createRecord('admin-impersonation-consent'));\n    }\n\n    controller.set('model', latestActiveConsent);\n  },\n\n  actions: {\n    willTransition(transition) {\n      if (!this.get('controller.model.isSaving')) {\n        this.controller.revertUnsavedChanges();\n      }\n    },\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default IntercomRoute.extend({\n  intercomEventService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  model() {\n    return this.modelFor('apps');\n  },\n\n  setupController(controller, model) {\n    this._super(...arguments);\n    controller.set('titleToken', this.titleToken);\n  },\n\n  renderTemplate() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: this.routeName,\n    });\n    this._super(...arguments);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport AccountRouteBase from 'embercom/routes/apps/app/account/base/account-route-base';\n\nexport default AccountRouteBase.extend({\n  activate() {\n    this._super(...arguments);\n    window.onbeforeunload = function() {\n      if (this.controller.hasUnsavedChanges()) {\n        return 'Warning: You have unsaved changes.';\n      }\n    }.bind(this);\n  },\n\n  deactivate() {\n    this._super(...arguments);\n    window.onbeforeunload = undefined;\n    if (this.controller.hasUnsavedChanges()) {\n      this.controller.revertUnsavedChanges();\n    }\n  },\n\n  willDestroy() {\n    this._super(...arguments);\n    window.onbeforeunload = undefined;\n  },\n\n  actions: {\n    willTransition(transition) {\n      if (this.controller.hasUnsavedChanges()) {\n        if (!confirm('Warning: You have unsaved changes. Do you want to leave the page?')) {\n          transition.abort();\n        } else {\n          this.controller.revertUnsavedChanges();\n        }\n      }\n    },\n  },\n});\n","import { isPresent } from '@ember/utils';\nimport { copy } from 'ember-copy';\nimport ENV from 'embercom/config/environment';\nimport { inject as service } from '@ember/service';\nimport CheckUnsavedChanges from 'embercom/routes/apps/app/account/base/check-unsaved-changes-route';\n\nexport default CheckUnsavedChanges.extend({\n  analytics: {\n    section: 'your_account',\n    place: 'general',\n  },\n  notificationsService: service(),\n  titleToken: 'Your details',\n  beforeModel(transition) {\n    let app = this.modelFor('apps.app');\n    this._notifyConfirmationForQueryParams(transition.to.queryParams, app);\n  },\n\n  setupController(controller, model) {\n    this._super(controller, model);\n    controller.resetToCurrentAdminData();\n  },\n\n  _notifyConfirmationForQueryParams(queryParams, app) {\n    let originalQueryParams = copy(queryParams);\n    if (isPresent(queryParams) && queryParams !== {}) {\n      if (queryParams['verifiedAdminEmail'] === 'true') {\n        this.notificationsService.notifyConfirmation(\n          `Your email '${app.get('currentAdmin.email')}' has been verified`,\n          ENV.APP._15000MS,\n        );\n        delete queryParams['verifiedAdminEmail'];\n      } else if (queryParams['verifiedAdminEmail'] === 'false') {\n        this.notificationsService.notifyError(\n          `We couldn't verify your email address. Your email is still ${app.get(\n            'currentAdmin.email',\n          )}. If you requested more than one verification email, please make sure that you clicked the link in the most recent mail.`,\n          ENV.APP._15000MS,\n        );\n        delete queryParams['verifiedAdminEmail'];\n      }\n      if (originalQueryParams !== queryParams) {\n        this.replaceWith('apps.app.account.general', app, { queryParams });\n      }\n    }\n  },\n});\n","import CheckUnsavedChanges from 'embercom/routes/apps/app/account/base/check-unsaved-changes-route';\n\nexport default CheckUnsavedChanges.extend({\n  analytics: {\n    section: 'your_account',\n    place: 'notifications',\n  },\n  titleToken: 'Your notification preferences',\n\n  activate() {\n    this.store\n      .createRecord('admin-pageview', {\n        pageKey: 'notifications_settings',\n      })\n      .save();\n  },\n  model() {\n    let admin = this.modelFor('apps');\n    return this.store.findRecord('admin-notification-settings', admin.get('id'));\n  },\n});\n","import AccountRouteBase from 'embercom/routes/apps/app/account/base/account-route-base';\n\nexport default AccountRouteBase.extend({\n  analytics: {\n    section: 'your_account',\n    place: 'oauth-tokens',\n  },\n  titleToken: 'Your OAuth tokens',\n\n  model() {\n    return this.store.findAll('oauth-tokens');\n  },\n});\n","import AccountRouteBase from 'embercom/routes/apps/app/account/base/account-route-base';\n\nexport default AccountRouteBase.extend({\n  analytics: {\n    section: 'your_account',\n    place: 'password',\n  },\n  titleToken: 'Change password',\n  model() {\n    return this.modelFor('apps');\n  },\n});\n","import AccountRouteBase from 'embercom/routes/apps/app/account/base/account-route-base';\n\nexport default AccountRouteBase.extend({\n  analytics: {\n    section: 'your_account',\n    place: 'two_factor_auth',\n  },\n  titleToken: 'Setup two factor authentication',\n  setupController(controller, model) {\n    this._super(...arguments);\n    model.getTwoFactorQRCodeSVG();\n  },\n});\n","import AccountRouteBase from 'embercom/routes/apps/app/account/base/account-route-base';\n\nexport default AccountRouteBase.extend({\n  analytics: {\n    section: 'your_account',\n    place: 'visibility_company_segments',\n  },\n  titleToken: 'Company segments visible to you',\n\n  beforeModel() {\n    if (!this.get('app.companiesActive')) {\n      this.transitionTo('apps.app.account.visibility.user-segments');\n    }\n  },\n});\n","import AccountRouteBase from 'embercom/routes/apps/app/account/base/account-route-base';\n\nexport default AccountRouteBase.extend({\n  analytics: {\n    section: 'your_account',\n    place: 'visibility_inboxes',\n  },\n  titleToken: 'Inboxes visible to you',\n\n  beforeModel() {\n    if (!this.get('app.currentAdminHasInboxAccess')) {\n      this.transitionTo('apps.app.account.general');\n    }\n  },\n});\n","import AccountRouteBase from 'embercom/routes/apps/app/account/base/account-route-base';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default AccountRouteBase.extend({\n  analytics: {\n    section: 'your_account',\n    place: 'visibility_tags',\n  },\n  appService: service(),\n  app: readOnly('appService.app'),\n  titleToken: computed('model', 'app.canUseContentOrientedNavigation', function() {\n    if (this.get('app.canUseContentOrientedNavigation')) {\n      return 'People, company and message tags visible to you';\n    } else {\n      return 'People and company tags visible to you';\n    }\n  }),\n});\n","import AccountRouteBase from 'embercom/routes/apps/app/account/base/account-route-base';\n\nexport default AccountRouteBase.extend({\n  analytics: {\n    section: 'your_account',\n    place: 'visibility_user_segments',\n  },\n  titleToken: 'People segments visible to you',\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport storage from 'embercom/vendor/intercom/storage';\n\nexport default IntercomRoute.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  analytics: {\n    section: 'platform',\n    place: 'accounts',\n  },\n  beforeModel(transition) {\n    transition.trigger(false, 'setDocumentTitle', `Accounts`);\n  },\n  async model() {\n    await this.store.query('account', {\n      skip_cache: true,\n    });\n    return this.store.peekAll('account');\n  },\n  activate() {\n    storage.set('lastProductUsed', 'accounts');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport { hash } from 'rsvp';\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { getAdminProfile } from 'embercom/lib/admins/admin-profiles';\nimport Admin from 'embercom/models/admin';\n\nlet AdminRoute = Route.extend({\n  store: service(),\n  intercomEventService: service(),\n\n  titleToken(model) {\n    return model.get('name');\n  },\n  model(params) {\n    let admin = Admin.peekAndMaybeLoad(this.store, params.admin_id);\n\n    this.trackProfileAccess(params.admin_id);\n    return admin;\n  },\n  afterModel(model) {\n    if (model.get('isOperator')) {\n      this.replaceWith('apps.app.operator.settings');\n      return;\n    }\n    let socialAccounts = this.store\n      .query('social-account', { admin_id: model.get('id') })\n      .then(models => model.set('socialAccounts', models));\n\n    let profile = getAdminProfile(\n      this.store,\n      this.modelFor('apps.app').get('id'),\n      model.get('id'),\n    ).then(profile => {\n      model.set('profile', profile);\n    });\n\n    return hash({\n      socialAccounts,\n      profile,\n    });\n  },\n  trackProfileAccess(adminId) {\n    let currentAdminId = this.modelFor('apps.app').get('currentAdmin.id');\n    if (typeof Intercom !== 'undefined') {\n      this.intercomEventService.trackEvent('activity-profile-visited', {\n        admin_accessed_by_id: currentAdminId,\n        admin_accessed_id: adminId,\n      });\n    }\n  },\n  actions: {\n    willTransition(transition) {\n      if (this.controller.hasUnsavedChanges()) {\n        if (!confirm('Warning: You have unsaved changes. Do you want to leave the page?')) {\n          transition.abort();\n        }\n      }\n    },\n  },\n});\n\nexport default AdminRoute;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\nimport { task } from 'ember-concurrency';\n\nexport default Route.extend({\n  conversationFeedService: service(),\n\n  model() {\n    this.set('admin', this.modelFor('apps.app.admins.admin'));\n    this.set('app', this.modelFor('apps.app'));\n    return this.conversationFeedService.getConversationsPage(this._searchOptions());\n  },\n\n  setupController(controller, model) {\n    controller.set('model', model.conversations);\n  },\n\n  _searchOptions() {\n    let appId = this.get('app.id');\n    let adminId = this.get('admin.id');\n\n    return EmberObject.create({ appId, adminId });\n  },\n\n  fetchPage: task(function*(searchOptions) {\n    try {\n      let result = yield this.conversationFeedService.paginate(searchOptions);\n\n      this.controller.setProperties({\n        conversations: result.conversations,\n        hasMoreConversationsToLoad: result.hasMoreConversationsToLoad,\n      });\n    } catch (e) {\n      // no handling\n    } finally {\n      this.controller.set('isPaginating', false);\n    }\n  }).drop(),\n\n  actions: {\n    paginate() {\n      if (this.controller.get('hasMoreConversationsToLoad')) {\n        this.controller.set('isPaginating', true);\n        let searchOptions = this._searchOptions();\n        searchOptions.set('pageFrom', this.controller.get('conversations.lastObject.updated_at'));\n        searchOptions.set('currentConversations', this.controller.get('conversations'));\n\n        return this.fetchPage.perform(searchOptions);\n      }\n    },\n\n    loading(transition) {\n      if (!this.controller) {\n        return;\n      }\n\n      this.controller.set('currentlyLoading', true);\n      transition.promise.finally(() => {\n        this.controller.set('currentlyLoading', false);\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  redirect(model) {\n    this.transitionTo('apps.app.admins.admin', model, model.get('currentAdmin'));\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { EARLY_STAGE_SOLUTION_ID } from 'embercom/lib/billing';\n\nexport default Route.extend({\n  beforeModel(transition) {\n    let queryParams = Object.assign(transition.to.queryParams || {}, {\n      solution_id: EARLY_STAGE_SOLUTION_ID,\n    });\n    this.replaceWith('apps.teams-checkout-redirect', {\n      queryParams,\n    });\n  },\n});\n","import { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport AppstoreRoute from 'embercom/routes/base/appstore';\n\nexport default AppstoreRoute.extend({\n  intercomEventService: service(),\n  appService: service(),\n  permissionsService: service(),\n\n  app: readOnly('appService.app'),\n  analytics: {\n    section: 'app_store',\n  },\n\n  queryParams: {\n    category: {\n      refreshModel: true,\n    },\n    search: {\n      refreshModel: true,\n    },\n    installed: {\n      refreshModel: true,\n    },\n    capability: {\n      refreshModel: true,\n    },\n  },\n\n  willTransition() {\n    this.refresh();\n  },\n\n  actions: {\n    didTransition() {\n      this._super();\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'visited',\n        object: 'app_store',\n      });\n\n      if (!this.permissionsService.currentAdminCan('can_manage_apps_and_integrations')) {\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'visited_without_install_permission',\n          object: 'app_store',\n        });\n      }\n    },\n  },\n});\n","import AppstoreAppPackageBaseRoute from 'embercom/routes/base/appstore/app-package';\n\nexport default AppstoreAppPackageBaseRoute;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport getTransitionParams from 'embercom/lib/router/get-transition-params';\n\nexport default Route.extend({\n  beforeModel(transition) {\n    let params = getTransitionParams(transition);\n    let appPackageCode = params['apps.app.appstore.old-app-package'].id;\n    this.transitionTo('apps.app.appstore.app-package', appPackageCode);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport storage from 'embercom/vendor/intercom/storage';\nimport { readOnly } from '@ember/object/computed';\nimport { isPresent } from '@ember/utils';\nimport { inject as service } from '@ember/service';\n\nexport default Route.extend({\n  permissionsService: service(),\n  helpCenterService: service(),\n  intercomEventService: service(),\n  onboardingHomeExternalStepService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  buildRouteInfoMetadata() {\n    return {\n      responsibleTeam: 'team-operator',\n    };\n  },\n\n  analytics: {\n    section: 'educate',\n  },\n\n  async model(params) {\n    await this.helpCenterService.maybeFetchSite();\n    let site = this.helpCenterService.site;\n\n    if (isPresent(params.selectedLocaleId) && !site.supportsLocale(params.selectedLocaleId)) {\n      this.transitionTo({ queryParams: { selectedLocaleId: undefined } });\n    }\n\n    return site;\n  },\n\n  afterModel(model, transition) {\n    this.set('helpCenterSite', model);\n    if (transition.to.queryParams.external_step) {\n      this.onboardingHomeExternalStepService.start(transition.to.queryParams.external_step, {\n        source: 'articles route afterModel',\n      });\n    }\n  },\n\n  activate() {\n    storage.set('lastProductUsed', 'articles');\n  },\n\n  deactivate() {\n    // TODO: Create a re-usable hook and use for all external step routes.\n    // use willTransition and check if transition.to matches external step\n    // tourInProgressRoute before unsetting. Explore other options too.\n    this.set('controller.externalStep', null);\n  },\n\n  actions: {\n    didTransition() {\n      this.intercomEventService.trackEvent('articles-visited');\n    },\n  },\n});\n","import BaseAboutRoute from 'embercom/routes/base/about-route';\n\nexport default BaseAboutRoute.extend();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  analytics: {\n    place: 'article_list',\n  },\n  titleToken: 'Articles',\n\n  beforeModel() {\n    // Get all the folders in the base articles route\n    // (not ideal, but we need them for the data models to resolve correctly -\n    // if an article in the article list is in a section for example).\n    // An alternative would be to sideload the folder into the article payload,\n    // but I don't think we need that now.\n    return this.store.query('articles/article-group', { include_article_stats: false });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  notificationsService: service(),\n  titleToken: alias('model.titleForDisplay'),\n\n  async model(params) {\n    // Prevent Ember data from its default behaviour when a cached model exists\n    // (which is to resolve this promise immediately with the cached model and\n    // to asynchronously update).\n    // We can't do that because of how the composer is bound.\n    try {\n      return await this.store.findRecord('article-multilingual', params.id, {\n        reload: true,\n      });\n    } catch (e) {\n      this.notificationsService.notifyError('Sorry that article cannot be found');\n      this.replaceWith('apps.app.articles.articles.list.all');\n    }\n  },\n\n  afterModel(model) {\n    model.loadStats.perform();\n  },\n\n  actions: {\n    returnToShowPage() {\n      this.replaceWith('apps.app.articles.articles.article.show');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport { alias, readOnly } from '@ember/object/computed';\nimport { CAN_MANAGE_ARTICLES_PERMISSION } from 'embercom/lib/articles/constants';\n\nexport default Route.extend({\n  intercomEventService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  showRoute: 'apps.app.articles.articles.article.show',\n\n  beforeModel(transition) {\n    this.permissionsService.ensurePermissionWhenTransitioning(\n      CAN_MANAGE_ARTICLES_PERMISSION,\n      transition,\n      this.showRoute,\n    );\n  },\n\n  activate() {\n    window.onbeforeunload = () => {\n      if (this.shouldSave()) {\n        return 'Warning: You have unsaved changes. Do you want to leave the page?';\n      }\n    };\n  },\n  deactivate() {\n    window.onbeforeunload = undefined;\n  },\n  titleToken(model) {\n    return `${model.get('titleForDisplay')} | Articles`;\n  },\n  invalidTitle(changed) {\n    if ('title' in changed) {\n      return !changed.title[0] && !changed.title[1];\n    }\n  },\n  invalidState(changed) {\n    if ('state' in changed) {\n      return !changed.state[0] && changed.state[1] === 'published';\n    }\n  },\n  invalidBlocks(changed) {\n    if ('jsonBlocks' in changed) {\n      let blocks = changed.jsonBlocks;\n      let newAndUnchanged = (!blocks[0] || blocks[0].length === 0) && !blocks[1][0].text;\n      return newAndUnchanged || JSON.stringify(blocks[1][0]) === JSON.stringify(blocks[0][0]);\n    }\n  },\n  shouldSave() {\n    let changed = this.currentModel.changedAttributes();\n\n    if (this.invalidTitle(changed)) {\n      delete changed.title;\n    }\n    if (this.invalidState(changed)) {\n      delete changed.state;\n    }\n    if (this.invalidBlocks(changed)) {\n      delete changed.jsonBlocks;\n    }\n\n    let countChanges = Object.keys(changed).length;\n    if (this.currentModel.ruleset) {\n      let changedRuleset = this.currentModel.ruleset.changedAttributes();\n      countChanges += Object.keys(changedRuleset).length;\n    }\n\n    return countChanges > 0;\n  },\n  afterModel(model) {\n    this.set('originalFolder', model.get('folder'));\n    if (model.ruleset) {\n      model.ruleset.get('fetchAudiencePreviewTask').perform();\n    }\n  },\n\n  selectedLocale: alias('controller.helpCenterService.currentlySelectedLocale.localeId'),\n\n  actions: {\n    cancelChangesAndCloseArticle() {\n      this.transitionTo('apps.app.articles.articles.article.show', this.currentModel);\n    },\n    didTransition() {\n      this.controller.set('keepAsDraft', this.currentModel.get('isDraft'));\n\n      this.currentModel.createContentIfNone(this.selectedLocale);\n\n      this.intercomEventService.trackEvent('educate-article-edit', {\n        action: 'change_to_edit',\n        object: 'article',\n        place: 'article',\n        owner: 'educate',\n        article_id: this.get('controller.model.id'),\n      });\n    },\n    willTransition(transition) {\n      if (this.shouldSave()) {\n        let model = this.get('controller.model');\n        if (!this.isCancelling) {\n          this.set('isCancelling', true);\n          transition.abort();\n          let confirmOptions = {\n            title: 'Close without saving?',\n            primaryButtonType: 'primary-destructive',\n            confirmButtonText: 'Close without saving',\n            cancelButtonText: 'Keep editing',\n            body: \"You'll lose your changes if you don't save first.\",\n          };\n          this.set('isCancelling', false);\n          intercomConfirm(this, confirmOptions).then(() => {\n            model.rollbackAttributes();\n            // Cancelling here needs to reset the folder if its been changed.\n            // reloading a model doesn't reload its relationships meaning the relationship changes\n            // have to be tracked manually\n            // https://github.com/emberjs/data/issues/1913\n            if (model.get('folder.name') !== this.get('originalFolder.name')) {\n              model.set('folder', this.originalFolder);\n            }\n            transition.retry();\n          });\n        }\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  beforeModel() {\n    this._super(this, arguments);\n    this.replaceWith('apps.app.articles.articles.article.show');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Route.extend(EventTracking, {\n  intercomEventService: service(),\n  queryParams: { displaying: { refreshModel: true } },\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  resetController(controller) {\n    controller.set('displaying', null);\n  },\n\n  titleToken(model) {\n    return model.get('titleForDisplay');\n  },\n  activate() {\n    this.trackEducateArticleEvent(this.modelFor(this.routeName), {\n      action: 'visited',\n      place: 'article',\n    });\n  },\n  actions: {\n    didTransition() {\n      this.intercomEventService.trackEvent('educate-article-stats', {\n        action: 'visited',\n        object: 'article_stats',\n        place: 'article_stats',\n        owner: 'educate',\n        article_id: this.get('controller.model.id'),\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport { A } from '@ember/array';\nimport EmberObject from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\nimport ajax from 'embercom/lib/ajax';\nimport { task } from 'ember-concurrency';\nimport { readOnly } from '@ember/object/computed';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\n\nexport default Route.extend(EventTracking, {\n  per_page: 10,\n  showing: 'conversations',\n  queryParams: {\n    conversations: { refreshModel: true, replace: true },\n    reaction: { refreshModel: true, replace: true },\n  },\n  store: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  resetController(controller) {\n    controller.set('conversations', true);\n    controller.set('reaction', null);\n  },\n\n  model(params) {\n    if (this.app.get('canUseNewArticleStatsSystem')) {\n      return;\n    } else {\n      let stat = this.paramsFor('apps.app.articles.articles.article.show').displaying;\n      let newChatString = stat === 'newchat' && params.conversations ? 'conversations' : 'people';\n      let endpoint = stat === 'viewers' ? 'viewers' : newChatString;\n      this.set('showing', endpoint);\n      this.set('per_page', this.showing === 'conversations' ? 10 : 30);\n      return this.getStats.perform();\n    }\n  },\n\n  getStats: task(function*(page = 1) {\n    let stat = this.paramsFor('apps.app.articles.articles.article.show').displaying;\n    let articleId = this.modelFor('apps.app.articles.articles.article').get('id');\n    let endpoint = this.showing;\n    let response = yield ajax({\n      url: `/ember/articles/${articleId}/${endpoint}.json`,\n      type: 'GET',\n      data: this._getStatsQueryParameters(stat, page),\n    });\n    return EmberObject.create(\n      endpoint === 'viewers'\n        ? this._createViewersFromStatsResponse(response)\n        : this._createConversationModelFromStatsResponse(response, endpoint),\n    );\n  }).enqueue(),\n\n  emptyConversation: EmberObject.create({\n    displayRepliedAt: 'Never',\n    displayRespondedAt: 'Never',\n    displayResponseType: `\\u2014`, //em dash\n  }),\n\n  _getStatsQueryParameters(stat, page) {\n    let isReaction = stat.indexOf('reaction_') === 0;\n    return {\n      app_id: this.modelFor('apps.app').get('id'),\n      has_reply: stat === 'newchat' ? true : undefined,\n      has_response: stat === 'reacted' ? true : undefined,\n      reaction_index: isReaction ? stat.slice(-1) : undefined,\n      page,\n      per_page: this.per_page,\n    };\n  },\n\n  _trackInsightsFilterEvent() {\n    this.trackEducateEvent({\n      action: 'sorted',\n      object: 'conversations',\n      place: 'insights',\n      sorted_by: this.showing,\n      article_id: this.modelFor('apps.app.articles.articles.article').get('id'),\n    });\n  },\n\n  _eventForConversationsStats() {\n    if (this.paramsFor('apps.app.articles.articles.article.show').displaying === 'newchat') {\n      this._trackInsightsFilterEvent();\n    }\n  },\n\n  _createViewersFromStatsResponse(response) {\n    this._eventForConversationsStats();\n    response.viewers.forEach(viewer => {\n      this.store.pushPayload({ user: viewer.user });\n      viewer.user = this.store.peekRecord('user', viewer.user.id);\n      if (viewer.conversation) {\n        this.store.pushPayload({ 'sent-conversations': [viewer.conversation] });\n        viewer.conversation = this.store.peekRecord('sent-conversation', viewer.conversation.id);\n      } else {\n        viewer.conversation = this.emptyConversation;\n      }\n    });\n    return {\n      total_views: response.total_views,\n      total_count: response.total_count,\n      total_pages: response.total_pages,\n      viewers: A(response.viewers),\n    };\n  },\n\n  _createConversationModelFromStatsResponse(response, endpoint) {\n    this._eventForConversationsStats();\n    response.conversations = response.conversations || A();\n    let mappedConversations = A();\n    if (endpoint === 'people') {\n      this.store.pushPayload({ 'sent-conversations': response.conversations });\n      mappedConversations = A(\n        response.conversations.map(c => this.store.peekRecord('sent-conversation', c.id)),\n      );\n    } else {\n      this.store.pushPayload({ conversations: response.conversations });\n      mappedConversations = A(\n        response.conversations.map(c => this.store.peekRecord('conversation', c.id)),\n      );\n    }\n\n    return {\n      total_count: response.total_count,\n      conversations: mappedConversations,\n    };\n  },\n\n  actions: {\n    loadNextPage(page) {\n      if (page) {\n        return this.getStats.perform(page).then(response => {\n          let responseListItems = response.viewers || response.conversations;\n          return { items: responseListItems, totalCount: response.total_count };\n        });\n      }\n      return;\n    },\n    didTransition() {\n      let stat = this.paramsFor('apps.app.articles.articles.article.show').displaying;\n      this.trackEducateEvent({\n        action: 'clicked',\n        object: 'article_stat',\n        article_stat: stat === 'newchat' ? 'conversations' : stat,\n        place: 'article',\n        article_id: this.modelFor('apps.app.articles.articles.article').get('id'),\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  beforeModel() {\n    this.replaceWith('apps.app.articles.articles.list.all');\n  },\n});\n","import EducateArticleListBase from 'embercom/routes/apps/app/articles/articles/list/educate-article-list-base';\n\nexport default EducateArticleListBase.extend({\n  selectedContentStatus: '',\n  title: 'All articles',\n});\n","import EducateArticleListBase from 'embercom/routes/apps/app/articles/articles/list/educate-article-list-base';\n\nexport default EducateArticleListBase.extend({\n  selectedContentStatus: 'draft',\n  title: 'Draft articles',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport { reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { startTour } from 'embercom/lib/intercom-widget-helper';\nimport ajax from 'embercom/lib/ajax';\nimport Article from 'embercom/models/article';\n\nexport default IntercomRoute.extend({\n  intercomEventService: service(),\n  onboardingHomeExternalStepService: service(),\n  router: service(),\n  analytics: {\n    place: 'articles_list',\n  },\n\n  currentImport: null,\n  currentImportUrl: null,\n  queryParams: { search_term: { refreshModel: true } },\n  titleToken: reads('title'),\n\n  beforeModel() {\n    let app = this.modelFor('apps.app');\n    Article.updateArticleCountsForApp(app);\n  },\n\n  model() {\n    let params = this.paramsFor('apps.app.articles');\n    return {\n      selectedContentStatus: this.selectedContentStatus,\n      locale: params.selectedLocaleId || null,\n      title: this.title,\n      articles: [],\n    };\n  },\n\n  activate() {\n    let statusToOption = {\n      '': 'all',\n      draft: 'drafts',\n      published: 'published',\n      missing: 'missing',\n    };\n\n    this.intercomEventService.trackEvent('educate-event', {\n      action: 'visited',\n      object: 'article_list',\n      place: 'article_list',\n      owner: 'educate',\n      option: statusToOption[this.selectedContentStatus],\n    });\n  },\n\n  renderTemplate() {\n    this._super(...arguments);\n    this.render('apps.app.articles.articles.list.search', {\n      into: 'apps.app.articles',\n      outlet: 'search',\n    });\n    this.render('apps/app/articles/articles/list/list-base');\n  },\n\n  getApiImport() {\n    let app = this.modelFor('apps.app');\n    return ajax({\n      url: 'ember/article_import_jobs/current_import',\n      type: 'GET',\n      data: { app_id: app.get('id') },\n    });\n  },\n\n  setupController(controller, model) {\n    this._super(controller, model);\n\n    controller.loadNextPage.perform();\n\n    this.getApiImport().then(currentImport => {\n      if (currentImport) {\n        controller.set('hasActiveApiImport', true);\n      } else {\n        controller.set('hasActiveApiImport', false);\n      }\n    });\n  },\n\n  resetController(controller, isExiting) {\n    if (isExiting) {\n      controller.setProperties({ search_term: null, inputSearchTerm: null });\n    }\n  },\n\n  actions: {\n    createArticle() {\n      this.transitionTo('apps.app.articles.articles.new');\n    },\n\n    reloadArticles() {\n      this.set('currentModel.articles.meta', null);\n      this.get('currentModel.articles').clear();\n      this.controllerFor(this.routeName)\n        .get('loadNextPage')\n        .perform();\n    },\n\n    loadNewlyImportedArticles() {\n      if (this.get('currentModel.isLoaded') === false) {\n        return;\n      }\n\n      this.set('currentModel.isLoaded', false);\n      let currentArticlesCount = this.get('currentModel.articles').length;\n      let params = {\n        state: this.selectedContentStatus,\n        page: 1,\n        per_page: 20,\n      };\n\n      this.store.findAll('articles/article-group').then(() => {\n        this.store.query('article-multilingual', params).then(response => {\n          let newArticles = response\n            .toArray()\n            .slice(0, response.meta.total_count - currentArticlesCount)\n            .filter(article => {\n              return !this.get('currentModel.articles').some(\n                currentArticle => currentArticle.get('id') === article.get('id'),\n              );\n            });\n          this.get('currentModel.articles').unshiftObjects(newArticles);\n          this.get('currentModel.isLoaded', true);\n        });\n      });\n    },\n\n    async openArticlesTour(route, tourId) {\n      await this.onboardingHomeExternalStepService.generateExampleDataForStep(\n        'create_short_article',\n      );\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'tour',\n        tour_id: tourId,\n      });\n\n      await this.onboardingHomeExternalStepService.loadStep('create_short_article');\n\n      if (this.onboardingHomeExternalStepService.externalStep) {\n        this.onboardingHomeExternalStepService.startAfterTransition('create_short_article', {\n          source: 'tutorial-container-component openArticlesTour',\n          method: 'startAfterTransition',\n        });\n      } else {\n        startTour(tourId);\n      }\n\n      this.router.transitionTo(route);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  beforeModel() {\n    this.transitionTo('published');\n  },\n});\n","import EducateArticleListBase from 'embercom/routes/apps/app/articles/articles/list/educate-article-list-base';\n\nexport default EducateArticleListBase.extend({\n  selectedContentStatus: 'missing',\n  title: 'Missing articles',\n});\n","import EducateArticleListBase from 'embercom/routes/apps/app/articles/articles/list/educate-article-list-base';\n\nexport default EducateArticleListBase.extend({\n  selectedContentStatus: 'published',\n  title: 'Published articles',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\nimport { CAN_MANAGE_ARTICLES_PERMISSION } from 'embercom/lib/articles/constants';\n\nexport default Route.extend(EventTracking, {\n  intercomEventService: service(),\n\n  beforeModel(transition) {\n    let app = this.modelFor('apps.app');\n\n    this.permissionsService.ensurePermissionWhenTransitioning(\n      CAN_MANAGE_ARTICLES_PERMISSION,\n      transition,\n    );\n\n    this.store\n      .createRecord('article-multilingual', {\n        authorId: app.get('currentAdmin.id'),\n        folder: this.store.peekRecord('articles/article-group', 'home'),\n      })\n      .save()\n      .then(article => {\n        article.set('state', 'published');\n        this.trackEducateArticleEvent(article, {\n          action: 'created',\n          place: 'article_list',\n          eventName: 'created_educate_article',\n        });\n        this.intercomEventService.trackEvent('visited_article_composer', {\n          action: 'visited',\n          object: 'article',\n          place: 'article_composer',\n          owner: 'growth-sp',\n        });\n        this.replaceWith('apps.app.articles.articles.article.edit', article);\n      });\n  },\n});\n","import { readOnly } from '@ember/object/computed';\nimport GuideRouteBase from 'embercom/routes/base/guide';\n\nexport default GuideRouteBase.extend({\n  product: readOnly('app.articlesProduct'),\n});\n","import { readOnly } from '@ember/object/computed';\nimport GuideIndexRouteBase from 'embercom/routes/base/guide/index';\n\nexport default GuideIndexRouteBase.extend({\n  product: readOnly('app.articlesProduct'),\n});\n","import { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport BaseProductIndexRoute from 'embercom/routes/base/product-index-route';\n\nexport default BaseProductIndexRoute.extend({\n  intercomEventService: service(),\n  analytics: {\n    place: 'index',\n  },\n\n  product: readOnly('app.articlesProduct'),\n  defaultRoutePath: 'apps.app.articles.articles',\n\n  activate() {\n    this._super(...arguments);\n    this.intercomEventService.trackEvent('visited_educate_product_section', {\n      action: 'visited',\n      object: 'educate_product_section',\n      place: 'educate_product_section',\n      owner: 'growth-sp',\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\n\nexport default Route.extend(EventTracking, {\n  beforeModel(transition) {\n    let originalTarget = transition.targetName;\n    let newTarget = originalTarget.replace(\n      'apps.app.articles.insights',\n      'apps.app.reports.articles',\n    );\n    return this.replaceWith(newTarget);\n  },\n});\n","import GlobalLoadingRoute from 'embercom/routes/base/global-loading-route';\n\nexport default GlobalLoadingRoute.extend();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\nimport ArticleGroup from 'embercom/models/articles/article-group';\nimport { CAN_MANAGE_ARTICLES_PERMISSION } from 'embercom/lib/articles/constants';\n\nexport default Route.extend(EventTracking, {\n  permissionsService: service(),\n\n  analytics: {\n    place: 'site',\n  },\n\n  beforeModel(transition) {\n    this.permissionsService.ensurePermissionWhenTransitioning(\n      CAN_MANAGE_ARTICLES_PERMISSION,\n      transition,\n    );\n  },\n\n  notificationsService: service('notificationsService'),\n\n  _saveFolder(folder) {\n    return folder\n      .saveIfDirty()\n      .then(() => {\n        this.notificationsService.notifyConfirmation(\"You've created a new collection\");\n      })\n      .catch(() => {\n        this.notificationsService.notifyError(\n          \"Something went wrong and we couldn't save the folder\",\n        );\n        folder.rollbackAttributes();\n      });\n  },\n\n  _createCollection(creatingArticle) {\n    let home = this.store.peekRecord('articles/article-group', 'home');\n    let folder = ArticleGroup.createNewFolder(home);\n    if (creatingArticle) {\n      return this._saveFolder(folder);\n    }\n    return this._saveFolder(folder).then(() =>\n      this.transitionTo('apps.app.articles.site.collections.collection', folder.get('id')),\n    );\n  },\n\n  actions: {\n    createArticle(folder) {\n      folder =\n        folder ||\n        this.store.peekRecord('articles/article-group', 'home').get('sortedSections.firstObject');\n      if (!folder) {\n        this._createCollection(true).then(() => this.send('createArticle'));\n      } else {\n        this.transitionTo('apps.app.articles.articles.new', {\n          queryParams: { folder_id: folder.get('id') },\n        });\n      }\n    },\n    createSection(parentFolder) {\n      let section = ArticleGroup.createNewFolder(parentFolder, 'Section heading');\n      section.save().then(() => {\n        this.trackEducateCollectionOrSectionEvent(section, {\n          action: 'created',\n          place: 'collection',\n        });\n      });\n    },\n    createCollection() {\n      this._createCollection();\n    },\n    // TODO: remove this and rename above post redesign\n    saveFolder() {\n      this._saveFolder(this.folder);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { fetchAdminPageviews } from 'embercom/lib/admin-view-tracking';\n\nexport default Route.extend({\n  beforeModel() {\n    fetchAdminPageviews(this.store);\n  },\n  model() {\n    return this.store.peekRecord('articles/article-group', 'home');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { Promise as EmberPromise } from 'rsvp';\nimport Route from '@ember/routing/route';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\n\nexport default Route.extend(EventTracking, {\n  titleToken(model) {\n    if (model.defaultLocalizedContent) {\n      return `${model.defaultLocalizedContent.name || 'Add a name'} | Help Center`;\n    }\n    return `${model.name} | Help Center`;\n  },\n\n  reloadCollectionAndChildren(collectionId) {\n    // We need the ancestors or else the parent relationship will cause Ember\n    // issue a new request for each ancestor\n    return this.store.query('articles/article-group', {\n      parent_id: collectionId,\n      include_ancestors: true,\n      include_article_stats: false,\n    });\n  },\n\n  copyModelToCollectionsController(model) {\n    // the collections controller template includes a header, which contains info\n    // from the route's 'collection' property (e.g. the collection name)\n    let collectionsController = this.controllerFor('apps.app.articles.site.collections');\n    collectionsController.set('collection', model);\n  },\n\n  beforeModel(transition) {\n    let collectionId = transition.to.params.identifier;\n    if (collectionId === 'home') {\n      return this.replaceWith('apps.app.articles.site.collections');\n    }\n\n    // sometimes we have the collection already in the store. we still want to\n    // reload later to make sure we have fresh data, but we can copy the data\n    // over to the parent route at this point so that the UI feels more\n    // responsive.\n    this.copyModelToCollectionsController(this.getModelFromCache(collectionId));\n\n    return EmberPromise.all([\n      this.reloadCollectionAndChildren(collectionId),\n      this.store.query('article-multilingual', {\n        collection_id: collectionId,\n        disable_pagination: true,\n      }),\n    ]);\n  },\n\n  getModelFromCache(collectionId) {\n    return this.store.peekRecord('articles/article-group', collectionId);\n  },\n\n  model(params) {\n    return this.getModelFromCache(params.identifier);\n  },\n\n  afterModel(model) {\n    if (!model) {\n      this.transitionTo('apps.app.articles.site.collections');\n    } else if (model.get('isSection')) {\n      this.transitionTo('apps.app.articles.site.collections.collection', model.get('parent.id'));\n    }\n    this.copyModelToCollectionsController(model);\n    $('.js__collections__content-pane').scrollTop(0);\n  },\n\n  actions: {\n    error(response) {\n      if (response.errorThrown === 'Not Found') {\n        this.transitionTo('apps.app.articles.site.collections');\n      } else {\n        return true;\n      }\n    },\n\n    deleteCollection(collection) {\n      let collectionController = this.controllerFor(\n        'apps.app.articles.site.collections.collection',\n      );\n      collectionController.send('deleteCollection', collection);\n    },\n\n    didTransition() {\n      // Prevents race conditions when changing locale tabs while saving state\n      this.currentModel.initLocalizedContent();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\nimport { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\n\nexport default IntercomRoute.extend(EventTracking, {\n  analytics: {\n    section: 'articles',\n    place: 'collections',\n  },\n  intercomEventService: service(),\n  titleToken: 'Help Center',\n\n  beforeModel() {\n    this.controllerFor('apps.app.articles.site.collections').set('collection', null);\n  },\n\n  model() {\n    return this.findCollectionAndChildren();\n  },\n\n  activate() {\n    this.intercomEventService.trackEvent('educate-event', {\n      action: 'visited',\n      object: 'collection_list',\n      place: 'collection_list',\n      owner: 'educate',\n    });\n    $('.js__collections__content-pane').scrollTop(0);\n  },\n\n  getApiImport() {\n    let app = this.modelFor('apps.app');\n    return ajax({\n      url: 'ember/article_import_jobs/current_import',\n      type: 'GET',\n      data: { app_id: app.get('id') },\n    });\n  },\n\n  setupController(controller, model) {\n    this._super(controller, model);\n\n    this.getApiImport().then(currentImport => {\n      if (currentImport) {\n        controller.set('hasActiveApiImport', true);\n      } else {\n        controller.set('hasActiveApiImport', false);\n      }\n    });\n  },\n\n  findCollectionAndChildren() {\n    return this.store.query('articles/article-group', {\n      parent_id: 'home',\n      include_ancestors: true,\n      include_article_stats: true,\n    });\n  },\n\n  actions: {\n    createCollection() {\n      this.controllerFor('apps.app.articles.site.collections').send('createCollection');\n    },\n\n    goToCollection(collection) {\n      this.transitionTo('apps.app.articles.site.collections.collection', collection.id);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  beforeModel() {\n    this.replaceWith('apps.app.articles.site.collections');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\n\nexport default IntercomRoute.extend(EventTracking, {\n  titleToken: 'Help Center settings',\n  analytics: {\n    place: 'settings',\n  },\n\n  actions: {\n    willTransition(transition) {\n      if (this.controller.get('saveEnabled')) {\n        if (confirm('Warning: You have unsaved changes. do you want to leave the page?')) {\n          this.controller.send('cancel');\n        } else {\n          transition.abort();\n        }\n      }\n    },\n    didTransition() {\n      this._super();\n      this.trackEducateEvent({ action: 'visited', object: 'settings', place: 'settings' });\n    },\n  },\n});\n","import Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class BillingRoute extends Route {\n  @service paywallService;\n  @service permissionsService;\n  @service customerService;\n  @service appService;\n  @service stripev3;\n\n  titleToken = 'Subscription';\n\n  analytics = {\n    section: 'billing_settings',\n  };\n\n  beforeModel(transition) {\n    if (!transition.to.queryParams.from_billing_admin) {\n      this.permissionsService.ensurePermissionWhenTransitioning(\n        'can_access_billing_settings',\n        transition,\n      );\n    }\n  }\n\n  model() {\n    let app = this.modelFor('apps/app');\n    return this.store.findRecord('billing/customer', app.get('customer_id'));\n  }\n\n  afterModel(model, transition) {\n    let hasPermission = this.permissionsService.currentAdminCan('can_access_billing_settings');\n    if (!hasPermission) {\n      return this.permissionsService.loadAllAdminsAndShowPermissionRequestModal(\n        'can_access_billing_settings',\n      );\n    }\n\n    let customer = model;\n    let app = this.appService.app;\n\n    if (app.isDeveloperWorkspace || app.isTestApp) {\n      this.notificationsService.notifyError(\n        'Developer and Test Workspaces cannot access billing settings',\n      );\n      return this.transitionTo('apps.app');\n    }\n\n    if (\n      customer.get('hasNoActiveSubscription') &&\n      !this.appService.app.hasValueBasedPricing &&\n      !this._openingModal(transition)\n    ) {\n      return this._noSubscriptionRedirect(customer);\n    } else {\n      return this.loadData.perform(customer);\n    }\n  }\n\n  setupController(controller, model, transition) {\n    super.setupController(...arguments);\n\n    if (transition.to.queryParams.feature) {\n      let featureName = transition.to.queryParams.feature;\n      this.paywallService.paywall({ featureName });\n    }\n  }\n\n  @task *loadData(customer) {\n    yield Promise.all([\n      this.stripev3.load(),\n      this.customerService.loadData({\n        fetchPrices: !customer.hasCustomPricing || customer.isAnnuallyContracted,\n        includeTiers: !customer.hasCustomPricing && 35,\n        overrideCanSeePrice: customer.isAnnuallyContracted,\n        fetchMigrationInformation:\n          customer.hasCustomPricing && this.appService.app.get('canUsePurchaseMigrationView'),\n      }),\n    ]);\n  }\n\n  _noSubscriptionRedirect(customer) {\n    let regularPlan = customer.get('canModifyOrRemoveProducts');\n    let app = this.appService.app;\n\n    if (app.validEarlyStageApplicant) {\n      return this._redirectForEarlyStageApplicant();\n    } else if (regularPlan) {\n      if (customer.get('hasEverHadSubscription')) {\n        return this.transitionTo('apps.app.billing.invoices');\n      }\n      this.paywallService.redirectToPurchase();\n    }\n  }\n\n  _redirectForEarlyStageApplicant() {\n    this.transitionTo(\n      this.paywallService.earlyStageApplicationRoute,\n      this.paywallService.earlyStageApplicationRouteParameters,\n    );\n  }\n\n  _openingModal(transition) {\n    return (\n      transition &&\n      (transition.to.queryParams.addressModalIsOpen ||\n        transition.to.queryParams.creditCardModalIsOpen)\n    );\n  }\n}\n","import Route from '@ember/routing/route';\nimport { hash } from 'rsvp';\n\nexport default class AppsAppBillingCancelRoute extends Route {\n  model() {\n    let questionPromise = this.store.findAll('cancellation-question');\n    let offersPromise = this.store.findAll('subscription/cancel/offer');\n\n    return hash({ questions: questionPromise, offers: offersPromise });\n  }\n}\n","import Route from '@ember/routing/route';\n\nexport default class AppsAppBillingCancelIndexRoute extends Route {\n  setupController(controller, { questions, offers }) {\n    super.setupController(...arguments);\n    controller.questionQueue = questions.filter(({ isFollowUp }) => !isFollowUp);\n    controller.currentQuestion = controller.questionQueue.shift();\n    controller.currentSelection = controller.currentQuestion.cancellationReasons.firstObject.id;\n    controller.responses = [];\n    if (controller.currentQuestion.multiSelect) {\n      controller.currentQuestion.cancellationReasons.forEach(reason => reason.reset());\n    }\n  }\n}\n","import Route from '@ember/routing/route';\n\nexport default class AppsAppBillingCancelOfferRoute extends Route {}\n","import { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport BillingSettingsRoute from 'embercom/routes/apps/app/settings/base/billing-settings-route';\n\nexport default BillingSettingsRoute.extend({\n  titleToken: 'Subscription',\n\n  appService: service(),\n  app: readOnly('appService.app'),\n  customerService: service(),\n  customer: readOnly('customerService.customer'),\n\n  redirect(model, transition) {\n    if (transition.to.name.includes('cancel')) {\n      return this.transitionTo('apps.app.billing.cancel');\n    }\n\n    if (\n      (this.app.hasValueBasedPricing && this.app.coreProduct) ||\n      (this.app.requiresInboxSeatAccess &&\n        this.customer.isAnnuallyContracted &&\n        this.app.canSeeBillingSummaryIfAnnuallyContracted)\n    ) {\n      return this.transitionTo('apps.app.billing.summary');\n    }\n  },\n});\n","import Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default class BillingIndexRoute extends Route {\n  @service appService;\n  @service customerService;\n  titleToken = 'Subscription';\n\n  get app() {\n    return this.appService.app;\n  }\n\n  redirect(model, transition) {\n    this.customerService.resetAll();\n    if (model.hasNoActiveSubscription) {\n      return;\n    }\n\n    if (\n      (this.app.hasValueBasedPricing && this.app.coreProduct) ||\n      (this.app.requiresInboxSeatAccess &&\n        this.model.isAnnuallyContracted &&\n        this.app.canSeeBillingSummaryIfAnnuallyContracted)\n    ) {\n      return this.transitionTo('apps.app.billing.summary');\n    }\n\n    return this.transitionTo('apps.app.billing.details');\n  }\n\n  setupController(controller, model) {\n    super.setupController(controller, model);\n    controller.set('titleToken', this.titleToken);\n    this.customerService.syncPlanIds();\n  }\n\n  resetController(controller, isExiting, transition) {\n    this.customerService.resetAll();\n  }\n}\n","import { hash } from 'rsvp';\nimport BillingSettingsRoute from 'embercom/routes/apps/app/settings/base/billing-settings-route';\n\nexport default BillingSettingsRoute.extend({\n  analytics: {\n    place: 'invoices',\n  },\n\n  titleToken: 'Invoices',\n  model() {\n    return hash({\n      invoices: this.store.findAll('invoice'),\n      customer: this.modelFor('apps.app.billing'),\n    });\n  },\n\n  setupController(controller, model) {\n    this._super(...arguments);\n    controller.setProperties({\n      customer: model.customer,\n      invoices: model.invoices.sortBy('unixBillAheadPeriodStart').reverse(),\n      app: this.modelFor('apps/app'),\n    });\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\n\nexport default IntercomRoute.extend({\n  titleToken: 'Invoice',\n\n  model(params) {\n    return this.store.findRecord('invoice', params.invoice_id, { reload: true });\n  },\n});\n","import Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default class BillingSummaryRoute extends Route {\n  @service appService;\n  @service customerService;\n\n  redirect() {\n    if (\n      !this.appService.app.hasValueBasedPricing &&\n      !(\n        this.appService.app.requiresInboxSeatAccess &&\n        this.customerService.customer.isAnnuallyContracted &&\n        this.appService.app.canSeeBillingSummaryIfAnnuallyContracted\n      )\n    ) {\n      return this.transitionTo('apps.app.billing.details');\n    }\n  }\n\n  model() {\n    if (this.customerService.customer.isAnnuallyContracted) {\n      return this.store.findRecord('billing/contract', this.appService.app.id);\n    }\n  }\n}\n","import Route from '@ember/routing/route';\n\nexport default class BillingSummaryIndexRoute extends Route {}\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\n\nexport default IntercomRoute.extend({\n  activate() {\n    this.hidePrimaryNav();\n  },\n\n  deactivate() {\n    this.showPrimaryNav();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  intercomEventService: service(),\n  initialCdaRows: 4,\n\n  activate() {\n    this.controllerFor('apps/app/cda-onboarding').set('currentStep', 2);\n\n    this.intercomEventService.trackEvent('cda-tool-add-step-visited', {\n      action: 'visted',\n      object: 'cda_tool_add',\n      place: 'cda_tool',\n      owner: 'growth',\n    });\n  },\n\n  setupController(controller) {\n    let cdaList = Array(this.initialCdaRows)\n      .fill()\n      .map(this._createBlankCda);\n    controller.set('cdaList', cdaList);\n  },\n\n  _createBlankCda() {\n    return { name: '', description: '', type: 'String' };\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport { hash } from 'rsvp';\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\n\nexport default Route.extend({\n  intercomEventService: service(),\n  model() {\n    let inviteLink = this.store\n      .createRecord('invite', {\n        hasCustomDataAttributes: true,\n      })\n      .save();\n\n    let untrackedCdas = ajax({\n      url: `/ember/untracked_custom_data_attributes?app_id=${this.modelFor('apps.app').get('id')}`,\n      type: 'GET',\n    });\n\n    return hash({\n      invite: inviteLink,\n      untrackedCustomDataAttributes: untrackedCdas,\n    });\n  },\n\n  activate() {\n    this.controllerFor('apps/app/cda-onboarding').set('currentStep', 3);\n\n    this.intercomEventService.trackEvent('cda-tool-generate-step-visited', {\n      action: 'visted',\n      object: 'cda_tool_generate',\n      place: 'cda_tool',\n      owner: 'growth',\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  intercomEventService: service(),\n  activate() {\n    this.controllerFor('apps/app/cda-onboarding').set('currentStep', 1);\n\n    this.intercomEventService.trackEvent('cda-tool-index-step-visited', {\n      action: 'visted',\n      object: 'cda_tool_index',\n      place: 'cda_tool',\n      owner: 'growth',\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport UsersOrCompaniesRoute from 'embercom/routes/base/users-or-companies-route';\nimport storage from 'embercom/vendor/intercom/storage';\n\nlet CompaniesRoute = UsersOrCompaniesRoute.extend({\n  analytics: {\n    section: 'platform',\n    place: 'companies',\n  },\n  isCompany: true,\n  model() {\n    let app = this.modelFor('apps/app');\n    return app.get('companySegments');\n  },\n  activate() {\n    storage.set('lastProductUsed', 'companies');\n  },\n  deactivate() {\n    this.store.unloadAll('company');\n  },\n  actions: {\n    showAllSegment() {\n      let segment = this.modelFor('apps/app/companies').get('firstObject');\n      segment.revert();\n      this.transitionTo('apps.app.companies.segments.segment', segment);\n    },\n    setSearch(text) {\n      this.controller.set('search.rawText', text);\n    },\n  },\n});\n\nexport default CompaniesRoute;\n","import MapBoxLoadingRoute from 'embercom/routes/base/mapbox-loading-route';\nimport { inject as service } from '@ember/service';\n\nlet CompaniesCompanyRoute = MapBoxLoadingRoute.extend({\n  store: service(),\n  analytics: {\n    place: 'company',\n  },\n  titleToken(model) {\n    return model.get('name');\n  },\n  model(params) {\n    return this.store.findRecord('company', params.company_id);\n  },\n  setupController(controller) {\n    this._super(...arguments);\n    controller.send('checkForMessageQueryParam');\n  },\n  actions: {\n    error(error) {\n      if (error?.jqXHR?.status === 404) {\n        this.transitionTo('apps.app.companies.company-not-found');\n      }\n    },\n  },\n});\n\nexport default CompaniesCompanyRoute;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  setupController(controller) {\n    controller.setProperties({\n      companyId: this.modelFor('apps.app.companies.company').get('id'),\n      status: 'all',\n      conversations: [],\n    });\n    controller.loadConversationsTask.perform();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  beforeModel() {\n    this.replaceWith('apps.app.companies.company.users');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  intercomEventService: service(),\n  // This route and empty model bizarrely/apparently has to exist in order\n  // for the redirect one level up (apps.app.companies.company.index) to fire\n  model() {},\n\n  setupController(controller) {\n    this._super(...arguments);\n    controller.send('reset');\n  },\n\n  actions: {\n    didTransition() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'visited',\n        object: 'company_profile_page',\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nlet CompaniesIndexRoute = Route.extend({\n  beforeModel() {\n    this.replaceWith('apps.app.companies.segments');\n  },\n});\n\nexport default CompaniesIndexRoute;\n","import GlobalLoadingRoute from 'embercom/routes/base/global-loading-route';\n\nlet CompaniesLoadingRoute = GlobalLoadingRoute.extend({});\n\nexport default CompaniesLoadingRoute;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  actions: {\n    addSegmentToList(segment) {\n      this.modelFor('apps.app.companies').pushObject(segment);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport getDefaultSegment from 'embercom/lib/routes/get-default-segment';\n\nlet SegmentsIndexRoute = Route.extend({\n  beforeModel() {\n    let segments = this.modelFor('apps.app.companies');\n    let admin = this.modelFor('apps');\n    let segment = getDefaultSegment(segments, admin.visible_segment_ids, 'all');\n    this.replaceWith('apps.app.companies.segments.segment', segment);\n  },\n});\n\nexport default SegmentsIndexRoute;\n","import { inject as service } from '@ember/service';\nimport SegmentSetupModelAndController from 'embercom/routes/mixins/users-and-companies/segment-setup-model-and-controller';\nimport ModalNavigationWarningRoute from 'embercom/routes/base/modal-navigation-warning';\n\nlet SegmentRoute = ModalNavigationWarningRoute.extend(SegmentSetupModelAndController, {\n  pubsub: service(),\n  titleToken: 'Companies',\n  companiesOrUsersRoute: 'apps.app.companies',\n\n  actions: {\n    willTransition(transition) {\n      let path = this.get('currentModel.identifier');\n      return this.conditionallyTransition(transition, path);\n    },\n    showSegment(segment) {\n      this.send('addSegmentToList', segment);\n      this.transitionTo('apps.app.companies.segments.segment', segment.identifier);\n    },\n    addFiltersToUrl(segment) {\n      this.addFiltersToUrl(segment);\n    },\n  },\n});\n\nexport default SegmentRoute;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport { action } from '@ember/object';\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { isBlank } from '@ember/utils';\nimport { permissionsMap } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class AppsAppContentEditRoute extends Route {\n  templateName = 'apps/app/content/edit';\n  @service outboundHomeService;\n  @service permissionsService;\n\n  model(params) {\n    return this.store.findRecord('matching-system/ruleset', params.id);\n  }\n\n  setupController(controller, model, transition) {\n    super.setupController(...arguments);\n\n    if (!this.hasPermission && controller.mode === 'edit') {\n      this.permissionsService.loadAllAdminsAndShowPermissionRequestModal(this.permissionKey);\n      controller.setProperties({\n        mode: 'view',\n      });\n      transition.to.queryParams.mode = 'view';\n      this.replaceWith(transition.to.name, model.id, {\n        queryParams: transition.to.queryParams,\n      });\n    }\n  }\n\n  get permissionKey() {\n    return permissionsMap[this.outboundHomeService.activeList];\n  }\n\n  get hasPermission() {\n    if (isBlank(this.permissionKey)) {\n      return true;\n    } else {\n      return this.permissionsService.currentAdminCan(this.permissionKey);\n    }\n  }\n\n  @action willTransition(transition) {\n    if (\n      this.controller.mode === 'edit' &&\n      !this.currentModel.isDeleted &&\n      this.currentModel.hasUnsavedChanges\n    ) {\n      if (confirm('Warning: You have unsaved changes. Do you want to leave the page?')) {\n        this.currentModel.rollbackAttributes();\n      } else {\n        transition.abort();\n      }\n    }\n  }\n\n  @action error(error, transition) {\n    console.error(error, transition);\n    throw error;\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { isBlank } from '@ember/utils';\nimport Ruleset from 'embercom/models/matching-system/ruleset';\nimport {\n  objectTypes,\n  humanReadableObjectNames,\n  permissionsMap,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { inject as service } from '@ember/service';\n\nconst SUPPORTED_CONTENT_TYPES = new Set([\n  objectTypes.push,\n  objectTypes.sms,\n  objectTypes.chat,\n  objectTypes.post,\n  objectTypes.email,\n  objectTypes.carousel,\n  objectTypes.customBot,\n  objectTypes.inboundCustomBot,\n  objectTypes.buttonCustomBot,\n  objectTypes.banner,\n]);\n\nconst ROUTE_MAP = {\n  [objectTypes.push]: 'apps.app.outbound.push.edit',\n  [objectTypes.sms]: 'apps.app.outbound.sms.edit',\n  [objectTypes.chat]: 'apps.app.outbound.chat.edit',\n  [objectTypes.post]: 'apps.app.outbound.post.edit',\n  [objectTypes.email]: 'apps.app.outbound.email.edit',\n  [objectTypes.carousel]: 'apps.app.outbound.carousel.edit',\n  [objectTypes.customBot]: 'apps.app.outbound.custom-bot.edit',\n  [objectTypes.inboundCustomBot]: 'apps.app.operator.custom-bots.inbound-custom-bot.edit',\n  [objectTypes.buttonCustomBot]: 'apps.app.operator.custom-bots.button-custom-bot.edit',\n  [objectTypes.banner]: 'apps.app.outbound.banners.edit',\n};\n\nexport default Route.extend({\n  notificationsService: service('notificationsService'),\n  permissionsService: service('permissionsService'),\n\n  model() {\n    let error = `\n      Transitioning to 'app.app.content.new' without creation params is unsupported.\n      Please pass a hash to use for Ruleset creation:\n      this.transitionToRoute('apps.app.content.new', {\n        object_type: objectTypes.example,\n        object_data: { ... },\n        etc\n      })\n    `;\n    console.error(error);\n    throw new Error(error);\n  },\n\n  async afterModel(creationParams, transition) {\n    let permissionKey = permissionsMap[creationParams.object_type];\n\n    if (this.hasPermission(permissionKey)) {\n      await this.createRecord(creationParams, transition);\n    } else {\n      this.permissionsService.loadAllAdminsAndShowPermissionRequestModal(permissionKey);\n      this.transitionTo(transition.from.name, {\n        queryParams: transition.from.queryParams,\n      });\n    }\n  },\n\n  hasPermission(permissionKey) {\n    if (isBlank(permissionKey)) {\n      return true;\n    } else {\n      return this.permissionsService.currentAdminCan(permissionKey);\n    }\n  },\n\n  async createRecord(creationParams, transition) {\n    if (SUPPORTED_CONTENT_TYPES.has(creationParams.object_type)) {\n      try {\n        let ruleset = await Ruleset.createForType(this.store, creationParams);\n        return this.replaceWith(ROUTE_MAP[creationParams.object_type], ruleset, {\n          queryParams: { mode: 'edit', id: ruleset.id },\n        });\n      } catch (error) {\n        this.notificationsService.notifyResponseError(error, {\n          default: `We couldn't create your ${\n            humanReadableObjectNames[creationParams.object_type]\n          }. Send us a message and we'll do our best to help out.`,\n        });\n        this.transitionTo(transition.from.name, {\n          queryParams: transition.from.queryParams,\n        });\n      }\n    } else {\n      let error = `Content Editor – Unsupported content type ${creationParams.object_type}`;\n      console.error(error);\n      throw new Error(error);\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport getTransitionParams from 'embercom/lib/router/get-transition-params';\n\nexport default Route.extend({\n  model() {},\n\n  redirect(_, transition) {\n    let app = this.modelFor('apps.app');\n    let params = getTransitionParams(transition);\n    let conversationId = params['apps.app.conversation'].conversation_id;\n    let redirectTo =\n      app.get('inboxIsActive') && app.get('currentAdminHasInboxAccess')\n        ? transition.to.queryParams['redirectTo']\n        : 'feed';\n\n    let conversationRoutes = {\n      feed: app.get('feedConversationRoute'),\n      inbox: app.get('inboxConversationRoute'),\n    };\n\n    let conversationRoute = conversationRoutes[redirectTo] || conversationRoutes['inbox'];\n\n    this.replaceWith(conversationRoute, app, conversationId);\n  },\n});\n","import Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport Topic from 'embercom/models/conversational-insights/topic';\n\nexport default class AppsAppConversationalInsightsRoute extends Route {\n  queryParams = {\n    predefinedTopics: {\n      refreshModel: true,\n    },\n  };\n\n  @service appService;\n  @service router;\n  @service store;\n\n  async beforeModel(transition) {\n    if (!this.appService.app.canUseFeature('conversational-insights')) {\n      this.transitionTo('apps.app');\n      return;\n    }\n  }\n\n  async model(params) {\n    if (params.predefinedTopics) {\n      return await Topic.findAllTopLevelTopics();\n    } else {\n      this.store.unloadAll('conversational-insights/topic');\n    }\n  }\n}\n","import Route from '@ember/routing/route';\n\nexport default class IndexRoute extends Route {\n  beforeModel() {\n    this.replaceWith('apps.app.conversational-insights.topics');\n  }\n}\n","import Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default class SuggestionsIndexRoute extends Route {\n  @service store;\n\n  async model() {\n    let suggestions = await this.store.findAll('conversational-insights/topic-suggestion');\n    suggestions = suggestions.filter(s => s.isSuggested);\n    return { suggestions };\n  }\n}\n","import Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport Topic from 'embercom/models/conversational-insights/topic';\n\nexport default class AppsAppConversationalInsightsTopicsIndexRoute extends Route {\n  @service store;\n\n  async model() {\n    return {\n      topics: await Topic.findAllTopLevelTopics(),\n    };\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class AppsAppConversationalInsightsTopicsNewRoute extends Route {\n  @service store;\n\n  model(_, transition) {\n    let parentId = transition.to.queryParams.parentId;\n    let parentTopic = parentId\n      ? this.store.peekRecord('conversational-insights/topic', parentId)\n      : null;\n    return this.store.createRecord('conversational-insights/topic', { parent: parentTopic });\n  }\n\n  @action\n  willTransition() {\n    if (this.controller.model.isNew) {\n      this.controller.model.rollbackAttributes();\n    }\n  }\n}\n","import Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default class AppsAppConversationalInsightsTopicsTopicRoute extends Route {\n  @service store;\n  @service intercomEventService;\n\n  model(params) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: 'topic',\n      place: 'topic',\n      section: 'conv-prototype',\n    });\n    let { id } = params;\n    return this.store.find('conversational-insights/topic', id);\n  }\n}\n","import Route from '@ember/routing/route';\n\nexport default class AppsAppConversationalInsightsTopicsTopicShowRoute extends Route {\n  async model() {\n    let topic = this.modelFor('apps.app.conversational-insights.topics.topic');\n    return { topic };\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  redirect() {\n    let app = this.modelFor('apps.app');\n    this.replaceWith(app.get('conversationsRoute'));\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  intercomEventService: service(),\n  redirect(model, transition) {\n    let previousAppId = transition.to.queryParams.previousAppId;\n    let analyticsParams = {\n      action: 'created',\n      context: 'apps_new',\n      place: 'apps_new',\n      object: 'app',\n    };\n\n    if (previousAppId) {\n      analyticsParams['previous_app_id_code'] = previousAppId;\n    }\n    this.intercomEventService.trackAnalyticsEvent(analyticsParams);\n    this.transitionTo('apps.app');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport { hash } from 'rsvp';\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\n\nexport default IntercomRoute.extend({\n  developerHub: service(),\n  titleToken: 'Developer Hub',\n  activate() {\n    this._super(...arguments);\n    this.hidePrimaryNav();\n  },\n  deactivate() {\n    this._super(...arguments);\n    this.showPrimaryNav();\n  },\n  fetchOauthScopes() {\n    return this.store.findAll('developer-hub/oauth-scope');\n  },\n  model() {\n    return hash({\n      oauthScopes: this.fetchOauthScopes(),\n    });\n  },\n  afterModel(model) {\n    this.set('developerHub.oauthScopes', model.oauthScopes);\n  },\n  analytics: {\n    section: 'developer_hub',\n    place: 'developer_hub',\n  },\n  actions: {\n    loading(transition) {\n      if (!this.controller) {\n        return;\n      }\n\n      this.controller.set('currentlyLoading', true);\n      transition.promise.finally(() => {\n        this.controller.set('currentlyLoading', false);\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport { alias } from '@ember/object/computed';\n\nexport default IntercomRoute.extend({\n  notificationsService: service(),\n  developerHub: service(),\n  titleToken: alias('developerHub.appPackage.name'),\n  model(params) {\n    return this.store.findRecord('developer-hub/app-package', params.id).catch(e => {\n      this.notificationsService.notifyError('Sorry that App cannot be found');\n      this.transitionTo('apps.app.developer-hub.app-packages');\n    });\n  },\n\n  afterModel(model) {\n    this.set('developerHub.appPackage', model);\n  },\n\n  actions: {\n    loading(transition) {\n      if (!this.controller) {\n        return;\n      }\n\n      this.controller.set('currentlyLoading', true);\n      transition.promise.finally(() => {\n        this.controller.set('currentlyLoading', false);\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  titleToken: 'App Store Listing',\n  analytics: { section: 'app_store_listing' },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default Route.extend({\n  developerHub: service(),\n  model() {\n    let appStoreListingPath = 'appPackage.changeRequest.appPackageConfig.appStoreListing';\n    this.developerHub.fillEmptyModel(\n      appStoreListingPath,\n      this.store.createFragment('developer-hub/app-store-listing'),\n    );\n    return this.store.query('appstore/category', { category_type: 'default' });\n  },\n  actions: {\n    willTransition(transition) {\n      this.get('developerHub.appPackage').rollbackAttributes();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default Route.extend({\n  developerHub: service(),\n\n  model() {\n    return this.store.query('appstore/category', { category_type: 'default' });\n  },\n\n  afterModel() {\n    if (!this.get('developerHub.appPackage.appStoreListing')) {\n      this.transitionTo('apps.app.developer-hub.app-packages.app-package.app-store-listing.edit');\n    }\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\n\nexport default IntercomRoute.extend({\n  titleToken: 'Basic Info',\n  analytics: { section: 'basic-info' },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default Route.extend({\n  developerHub: service(),\n  actions: {\n    willTransition(transition) {\n      this.get('developerHub.appPackage').rollbackAttributes();\n    },\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { hash } from 'rsvp';\nimport { inject as service } from '@ember/service';\nimport { alias } from '@ember/object/computed';\n\nexport default IntercomRoute.extend({\n  developerHub: service(),\n  appPackage: alias('developerHub.appPackage'),\n  model() {\n    return hash({\n      allApiVersions: this.store.query('developer-hub/api-version', {\n        app_package_id: this.get('appPackage.id'),\n      }),\n    });\n  },\n  actions: {\n    refreshRoute() {\n      this.refresh();\n    },\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default IntercomRoute.extend({\n  titleToken: 'Canvas Kit',\n  appService: service(),\n  app: readOnly('appService.app'),\n  developerHub: service(),\n  appPackage: readOnly('developerHub.appPackage'),\n  analytics: { section: 'canvas-kit' },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  titleToken: 'Installation status',\n  analytics: { section: 'customer-workspaces' },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport {\n  activate,\n  deactivate,\n  willTransition,\n} from 'embercom/routes/mixins/check-unsaved-changes-confirm';\n\nexport default Route.extend({\n  titleToken: 'Start guide',\n  analytics: { section: 'getting-started-guide' },\n  cleanUpOnNavigatingAway(controller) {\n    controller.model.rollbackAttributes();\n  },\n  activate,\n  deactivate,\n  actions: {\n    willTransition,\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\n\nexport default IntercomRoute.extend({\n  beforeModel() {\n    this.transitionTo('apps.app.developer-hub.app-packages.app-package.basic-info');\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\n\nexport default IntercomRoute.extend({\n  developerHub: service(),\n  titleToken: 'OAuth',\n  analytics: { section: 'oauth_scope' },\n\n  model() {\n    return this.store.queryRecord('developer-hub/app-package-install', {\n      app_package_id: this.get('developerHub.appPackage.id'),\n      only_owner_app: true,\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default Route.extend({\n  developerHub: service(),\n  actions: {\n    willTransition(transition) {\n      this.get('developerHub.appPackage').rollbackAttributes();\n    },\n  },\n});\n","import Route from '@ember/routing/route';\n\nexport default class HistoryOfEvents extends Route {\n  titleToken = 'History of events';\n}\n","import Route from '@ember/routing/route';\n\nexport default class InstallsAndUninstalls extends Route {\n  titleToken = 'Installs and uninstalls';\n  analytics = { section: 'installs_and_uninstalls' };\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport reviewStateMachine from 'embercom/lib/developer-hub/review-state-machine';\n\nexport default Route.extend({\n  developerHub: service(),\n  titleToken: 'Review',\n  analytics: { section: 'review' },\n\n  afterModel() {\n    let reviewState = reviewStateMachine(this.get('developerHub.appPackage'));\n    if (this.routeName !== reviewState.routeTransition) {\n      this.transitionTo(reviewState.routeTransition);\n    }\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { alias } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default IntercomRoute.extend({\n  titleToken: 'Webhooks',\n  developerHub: service(),\n  appPackage: alias('developerHub.appPackage'),\n  analytics: { section: 'webhooks' },\n\n  model() {\n    return this.store.query('developer-hub/webhook-topic', {\n      app_package_id: this.get('appPackage.id'),\n    });\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport { hash } from 'rsvp';\n\nexport default IntercomRoute.extend({\n  developerHub: service(),\n  beforeModel() {\n    let webhooksPath = 'appPackage.webhookDefinition';\n    this.developerHub.fillEmptyModel(\n      webhooksPath,\n      this.store.createFragment('developer-hub/webhook-definition'),\n    );\n  },\n\n  model() {\n    return hash({\n      topics: this.modelFor('apps/app/developer-hub/app-packages/app-package/webhooks'),\n    });\n  },\n\n  actions: {\n    willTransition(transition) {\n      this.get('developerHub.appPackage').rollbackAttributes();\n    },\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport { hash } from 'rsvp';\n\nexport default IntercomRoute.extend({\n  developerHub: service(),\n\n  model() {\n    return hash({\n      topics: this.modelFor('apps/app/developer-hub/app-packages/app-package/webhooks'),\n    });\n  },\n\n  afterModel() {\n    if (!this.get('developerHub.appPackage.webhookDefinition')) {\n      this.transitionTo('apps.app.developer-hub.app-packages.app-package.webhooks.edit');\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default Route.extend({\n  developerHub: service(),\n  titleToken: 'Workspaces',\n  analytics: { section: 'workspaces' },\n\n  model() {\n    let appPackageId = this.get('developerHub.appPackage.id');\n    return this.store.query('developer-hub/app-package-install', {\n      app_package_id: appPackageId,\n    });\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\n\nexport default IntercomRoute.extend({\n  beforeModel() {\n    this.transitionTo('apps.app.developer-hub');\n  },\n});\n","import { hash } from 'rsvp';\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport redirect from 'embercom/lib/redirect';\n\nexport default IntercomRoute.extend({\n  intercomEventService: service(),\n\n  afterModel() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'visited',\n      object: 'dev_hub_home',\n      place: 'developer_hub',\n    });\n  },\n  redirectTo(url) {\n    redirect(url);\n  },\n  fetchAppPackages() {\n    return this.store.findAll('developer-hub/app-package', { reload: true });\n  },\n  fetchApps() {\n    return this.store.findAll('developer-hub/app');\n  },\n  model() {\n    return hash({\n      appPackages: this.fetchAppPackages(),\n      apps: this.fetchApps(),\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  model() {\n    let push = this.store.createRecord('mobile-push/push');\n    push.localizedPushContents.pushObject(\n      this.store.createRecord('mobile-push/localized-push-content', {\n        push,\n        uris: { android: '', ios: '' },\n      }),\n    );\n    let ruleset = this.store.createRecord('matching-system/ruleset');\n    ruleset.set('predicateGroup', this.store.createFragment('predicates/predicate-group'));\n    ruleset.set('clientPredicateGroup', this.store.createFragment('predicates/predicate-group'));\n    ruleset.set('rolePredicateGroup', this.store.createFragment('predicates/predicate-group'));\n    ruleset.set('clientData', this.store.createRecord('matching-system/client-data'));\n    let rulesetLink = this.store.createRecord('matching-system/ruleset-links/push', {\n      type: 'matching-system/ruleset-links/push',\n    });\n    rulesetLink.set('object', push);\n    ruleset.rulesetLinks.pushObject(rulesetLink);\n    return ruleset;\n  },\n});\n","define(\"embercom/routes/apps/app/educate-redirect\", [\"exports\", \"embercom/routes/apps/app/educate-wildcard-redirect\"], function (_exports, _educateWildcardRedirect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _educateWildcardRedirect.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  beforeModel(transition) {\n    let correctedUrl = transition.intent.url.replace('educate', 'articles');\n\n    this.replaceWith(correctedUrl);\n  },\n});\n","import Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport {\n  senderTypes,\n  emailTemplateTypes,\n  premadeTemplates,\n} from 'embercom/models/data/outbound/constants';\n\nexport default class AppsAppEmailEditorDemoRoute extends Route {\n  @service appService;\n  @service store;\n\n  async beforeModel() {\n    await Promise.all([\n      this.appService.app.email_templates,\n      this.store.findAll('email-template-data'),\n      this.appService.app.customEmailAddresses,\n    ]);\n  }\n\n  async model() {\n    this.store.pushPayload({\n      'emails/localized-email-content': {\n        id: 1,\n        app_id: this.appService.app.id,\n        blocks: [{ type: 'paragraph', text: 'Hello, world!' }],\n        subject: 'Hello!',\n        email_template_id: premadeTemplates.personal,\n        email_template_type: emailTemplateTypes.premade,\n        assign_to_type: senderTypes.admin,\n        assign_to_id: this.appService.app.currentAdmin.id,\n        sender_type: senderTypes.admin,\n        sender_id: this.appService.app.currentAdmin.id,\n      },\n    });\n    return this.store.peekRecord('emails/localized-email-content', 1);\n  }\n}\n","define(\"embercom/routes/apps/app/engage-redirect\", [\"exports\", \"embercom/routes/apps/app/engage-wildcard-redirect\"], function (_exports, _engageWildcardRedirect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _engageWildcardRedirect.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  beforeModel(transition) {\n    let correctedUrl = transition.intent.url.replace('engage', 'messages');\n\n    this.replaceWith(correctedUrl);\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport DetectsIntercomradesDomain from 'embercom/lib/detects-intercomrades-domain';\nimport { inject as service } from '@ember/service';\nimport { hideIntercomWidgetWhenLoaded } from 'embercom/lib/intercom-widget-helper';\nimport ENV from 'embercom/config/environment';\n\nexport default IntercomRoute.extend(DetectsIntercomradesDomain, {\n  appService: service(),\n  activate() {\n    this._super(...arguments);\n    this.hidePrimaryNav();\n    hideIntercomWidgetWhenLoaded();\n  },\n\n  beforeModel() {\n    if (this.isIntercomradesDomain || ENV.environment !== 'production') {\n      if (window.opener) {\n        window.opener.postMessage(\n          {\n            features: this.appService.app.features.mapBy('id'),\n          },\n          'http://intercom.test',\n        );\n        window.close();\n      }\n    } else {\n      this.transitionTo('apps.app');\n    }\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport storage from 'embercom/vendor/intercom/storage';\n\nexport default IntercomRoute.extend({\n  analytics: {\n    section: 'platform',\n    place: 'feed',\n  },\n  activate() {\n    storage.set('lastProductUsed', 'feed');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default Route.extend({\n  store: service(),\n\n  model(params) {\n    return this.store.findRecord('conversation', params.conversation_id);\n  },\n\n  queryParams: {\n    redirectTo: {\n      replace: true,\n    },\n  },\n\n  setupController() {\n    this._super(...arguments);\n    this.set('controller.redirectTo', 'feed');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject, { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\nimport { task } from 'ember-concurrency';\n\nexport default Route.extend({\n  intercomEventService: service(),\n  maximumPendingUpdatesToPrepend: 10,\n  titleToken: 'Conversations',\n\n  realTimeEventService: service(),\n  conversationFeedService: service(),\n  onboardingHomeService: service(),\n  store: service(),\n\n  queryParams: {\n    showing: {\n      refreshModel: true,\n    },\n  },\n\n  app: computed(function() {\n    return this.modelFor('apps.app');\n  }),\n\n  model(params) {\n    let status = params.showing || 'opened';\n    return this.conversationFeedService.getConversationsPage(this._searchOptions(status));\n  },\n\n  setupController(controller, model) {\n    if (!controller.showing) {\n      controller.set('showing', 'opened');\n    }\n    controller.setProperties({\n      hasMoreConversationsToLoad: true,\n      conversations: model.conversations,\n      conversationsTotalCount: model.totalCount,\n      pendingConversations: [],\n    });\n\n    controller.contractConversations();\n    controller.hideRepeatedDays();\n  },\n\n  activate() {\n    this.realTimeEventService.on('ThreadCreated', this, '_prefetchPendingConversation');\n    this.realTimeEventService.on('ThreadUpdated', this, '_prefetchPendingConversation');\n    this.realTimeEventService.on('ThreadClosed', this, '_prefetchPendingConversation');\n    this.realTimeEventService.on('ThreadReopened', this, '_prefetchPendingConversation');\n\n    // Hooks\n    this.realTimeEventService.on('ThreadCreated', this, '_newlyOpened');\n    this.realTimeEventService.on('ThreadReopened', this, '_closedBecameOpen');\n    this.realTimeEventService.on('ThreadClosed', this, '_openBecameClosed');\n  },\n\n  deactivate() {\n    this.realTimeEventService.off('ThreadCreated', this, '_prefetchPendingConversation');\n    this.realTimeEventService.off('ThreadUpdated', this, '_prefetchPendingConversation');\n    this.realTimeEventService.off('ThreadClosed', this, '_prefetchPendingConversation');\n    this.realTimeEventService.off('ThreadReopened', this, '_prefetchPendingConversation');\n\n    // Hooks\n    this.realTimeEventService.off('ThreadCreated', this, '_newlyOpened');\n    this.realTimeEventService.off('ThreadReopened', this, '_closedBecameOpen');\n    this.realTimeEventService.off('ThreadClosed', this, '_openBecameClosed');\n\n    this.controller.contractConversations();\n  },\n\n  paginate: task(function*() {\n    this.controller.set('isPaginating', true);\n    let searchOptions = this._searchOptions(this.controller.get('showing'));\n    searchOptions.set('pageFrom', this.controller.get('conversations.lastObject.updated_at'));\n    searchOptions.set('currentConversations', this.controller.get('conversations'));\n\n    try {\n      let result = yield this.conversationFeedService.paginate(searchOptions);\n\n      this.controller.setProperties({\n        conversations: result.conversations,\n        conversationsTotalCount: result.totalCount,\n        hasMoreConversationsToLoad: result.hasMoreConversationsToLoad,\n      });\n      this.controller.hideRepeatedDays();\n    } catch (e) {\n      // no handling\n    } finally {\n      this.controller.set('isPaginating', false);\n    }\n  }).drop(),\n\n  _newlyOpened() {\n    this.controller.incrementProperty('openedCount');\n  },\n\n  _closedBecameOpen() {\n    this.controller.incrementProperty('openedCount');\n    this.controller.decrementProperty('closedCount');\n  },\n\n  _openBecameClosed() {\n    this.controller.decrementProperty('openedCount');\n    this.controller.incrementProperty('closedCount');\n  },\n\n  _prefetchPendingConversation(event) {\n    let conversation = this.controller.get('conversations').findBy('id', event.conversationId);\n    if (conversation) {\n      conversation.handleRealtimeEventIfShould(event);\n    } else {\n      this.store.findRecord('conversation', event.conversationId).then(\n        function(conversation) {\n          conversation.handleRealtimeEventIfShould(event);\n\n          if (conversation.get('isOpen') && this.controller.get('showing') === 'closed') {\n            return;\n          }\n\n          if (conversation.get('isClosed') && this.controller.get('showing') === 'open') {\n            return;\n          }\n\n          let pendingConversations = this.controller.get('pendingConversations');\n\n          // remove the pending conversation if already present\n          pendingConversations = pendingConversations.reject(pendingConversation => {\n            return pendingConversation.get('id') === conversation.get('id');\n          });\n\n          pendingConversations.unshiftObject(conversation);\n\n          this.controller.set('pendingConversations', pendingConversations);\n\n          if (this.controller.get('conversations.length') === 0) {\n            this.send('prependUpdatedConversations');\n          }\n        }.bind(this),\n      );\n    }\n  },\n\n  _searchOptions(status) {\n    return EmberObject.create({\n      appId: this.get('app.id'),\n      adminId: 'all',\n      status,\n    });\n  },\n\n  actions: {\n    prependUpdatedConversations() {\n      let pendingConversations = this.controller.get('pendingConversations');\n      let pendingIds = pendingConversations.map(pendingConversation =>\n        pendingConversation.get('id'),\n      );\n\n      let displayedConversations = this.controller\n        .get('conversations')\n        .reject(conversation => {\n          // remove updated conversations that we’ll add back in a moment\n\n          return pendingIds.includes(conversation.get('id'));\n        })\n        .reject(conversation => {\n          // only append conversations which match the open/closed feed state\n\n          let feedState = this.controller.get('showing');\n          if (!['open', 'closed'].includes(feedState)) {\n            return false;\n          }\n\n          let conversationState = this.isOpen ? 'open' : 'closed';\n          return conversationState !== feedState;\n        });\n\n      displayedConversations.unshiftObjects(pendingConversations);\n\n      let trimPendingUpdates = pendingConversations.length > this.maximumPendingUpdatesToPrepend;\n      // rendering a big load of new conversations is expensive and slow.\n      // instead, just reset the feed to show the latest N, as we're already\n      // scrolled to the top, and the user can paginate as required.\n\n      if (trimPendingUpdates) {\n        this.controller.setProperties({\n          conversations: displayedConversations.slice(0, this.maximumPendingUpdatesToPrepend),\n          hasMoreConversationsToLoad: true,\n          pendingConversations: [],\n        });\n      } else {\n        this.controller.setProperties({\n          conversations: displayedConversations,\n          pendingConversations: [],\n        });\n      }\n\n      this.controller.hideRepeatedDays();\n    },\n\n    paginate() {\n      if (this.controller.get('hasMoreConversationsToLoad')) {\n        return this.paginate.perform();\n      }\n    },\n\n    navigateToInstallMessenger() {\n      this.intercomEventService.trackEvent('clicked-install-messenger-user-list-empty-state');\n      return this.onboardingHomeService.openMessengerInstallationStep();\n    },\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport createUseCasePageData from 'embercom/models/data/onboarding/intent-survey/use-case-page-data';\nimport createBuyerPersonaPageData from 'embercom/models/data/onboarding/intent-survey/buyer-persona-page-data';\n\nexport default IntercomRoute.extend({\n  purchaseAnalyticsService: service(),\n  appService: service(),\n\n  activate() {\n    this.hidePrimaryNav();\n    this.purchaseAnalyticsService.trackGtmPageView();\n    document.body.classList.add('responsive');\n  },\n\n  beforeModel() {\n    this.transitionTo('apps.app.get-started.survey-splash');\n  },\n\n  model() {\n    return {\n      useCaseData: createUseCasePageData(),\n      buyerPersonaData: createBuyerPersonaPageData(),\n    };\n  },\n\n  deactivate() {\n    this.showPrimaryNav();\n    document.body.classList.remove('responsive');\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport ResetScroll from 'embercom/routes/mixins/reset-scroll';\n\nexport default IntercomRoute.extend(ResetScroll, {\n  analytics: {\n    place: 'intent_survey',\n    section: 'buyer_persona',\n  },\n\n  model() {\n    return {\n      useCaseData: this.modelFor('apps/app/get-started').useCaseData,\n      buyerPersonaData: this.modelFor('apps/app/get-started').buyerPersonaData,\n    };\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\n\nexport default IntercomRoute.extend({\n  analytics: {\n    place: 'intent_survey',\n    section: 'survey_splash',\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport ResetScroll from 'embercom/routes/mixins/reset-scroll';\n\nexport default IntercomRoute.extend(ResetScroll, {\n  analytics: {\n    place: 'intent_survey',\n    section: 'use_case',\n  },\n\n  model() {\n    return this.modelFor('apps/app/get-started').useCaseData;\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Route.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  analytics: {\n    place: 'setup_guide',\n  },\n\n  beforeModel() {\n    this.transitionTo(this.app.onboardingHomeRoute);\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport storage from 'embercom/vendor/intercom/storage';\nimport { captureException } from 'embercom/lib/sentry';\n\nexport default IntercomRoute.extend({\n  buildRouteInfoMetadata() {\n    return {\n      responsibleTeam: 'team-activation',\n    };\n  },\n  titleToken: 'Home',\n  onboardingHomeService: service(),\n  onboardingHomeExternalStepService: service(),\n  customerService: service(),\n  appService: service(),\n  loadingIndicatorService: service(),\n  app: readOnly('appService.app'),\n\n  analytics: {\n    place: 'home',\n  },\n\n  activate() {\n    storage.set('lastProductUsed', 'home');\n  },\n\n  beforeModel() {\n    this.intercomEventService.trackEvent('nco_visited_home');\n  },\n\n  async model() {\n    try {\n      await Promise.all([\n        this.customerService.refreshCustomer(),\n        this.onboardingHomeService.loadGuide(),\n      ]);\n    } catch (e) {\n      console.log('Home model hook error');\n      console.error(e);\n      captureException(e, {\n        fingerprint: ['route', 'home', 'model', e.message],\n        responsibleTeam: 'team-activation',\n      });\n      throw e;\n    }\n    return this.get('onboardingHomeService.guide');\n  },\n\n  actions: {\n    loading() {\n      this.loadingIndicatorService.on();\n    },\n\n    didTransition() {\n      this.loadingIndicatorService.off();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { captureException } from 'embercom/lib/sentry';\n\nexport default Route.extend({\n  analytics: {\n    place: 'onboarding_home',\n  },\n\n  guideAssistantService: service(),\n  onboardingHomeService: service(),\n  appService: service(),\n\n  queryParams: {\n    step: {\n      refreshModel: true,\n    },\n    app_package_code: null,\n  },\n\n  async model(queryParams) {\n    let guide = this.modelFor('apps.app.home');\n    if (queryParams.step) {\n      let step = this.store.peekRecord('onboarding/home/step', queryParams.step);\n      if (step) {\n        if (step.stepData.loadModelDataOnDemand && step.modelData === null) {\n          try {\n            await step.loadModelData();\n          } catch (e) {\n            console.log('Home index model hook error');\n            console.error(e);\n            captureException(e, {\n              fingerprint: ['route', 'home', 'index', 'model', e.message],\n              responsibleTeam: 'team-activation',\n            });\n            throw e;\n          }\n        }\n      }\n    }\n    return guide;\n  },\n\n  setupController(controller, model, transition) {\n    this._super(...arguments);\n    let initiallyOpenStep = this._getInitiallyOpenStep(transition.to.queryParams);\n    controller.set('initiallyOpenStep', initiallyOpenStep);\n    this._setupSelectedAppPackage(controller, transition.to.queryParams);\n    this.guideAssistantService.refreshScript();\n  },\n\n  _getInitiallyOpenStep(queryParams) {\n    if (queryParams.step) {\n      let step = this.store.peekRecord('onboarding/home/step', queryParams.step);\n      if (step) {\n        return step;\n      }\n    }\n    let latestStep = this.get('onboardingHomeService.guide.latestAvailableOrPendingCompletedStep');\n    if (!latestStep) {\n      return;\n    }\n\n    if (queryParams.showLatestAvailableOrPendingCompletedStep) {\n      return latestStep;\n    }\n\n    return this.get('onboardingHomeService.guide.latestPendingCompletedStep');\n  },\n\n  async _setupSelectedAppPackage(controller, queryParams) {\n    if (queryParams.app_package_code) {\n      try {\n        let selectedAppPackage = await this.store.findRecord(\n          'appstore/app-package',\n          queryParams.app_package_code,\n        );\n        controller.set('selectedAppPackage', selectedAppPackage);\n      } catch (e) {\n        console.log('Home index _setupSelectedAppPackage error');\n        console.error(e);\n        captureException(e, {\n          fingerprint: ['route', 'home', 'index', '_setupSelectedAppPackage', e.message],\n          responsibleTeam: 'team-activation',\n        });\n        throw e;\n      }\n    }\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\n\nexport default IntercomRoute.extend({\n  activate() {\n    this.hidePrimaryNav();\n  },\n\n  deactivate() {\n    this.showPrimaryNav();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  analytics: {\n    section: 'csv_imports',\n    place: 'finish',\n  },\n\n  activate() {\n    this.controllerFor('apps/app/import/csv').set('currentStep', 4);\n  },\n\n  model(params) {\n    return this.store.findRecord('csv-import', params.id);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  analytics: {\n    section: 'csv_imports',\n    place: 'index',\n  },\n\n  activate() {\n    this.controllerFor('apps/app/import/csv').set('currentStep', 1);\n  },\n\n  model() {\n    return this.store.query('csv-import', { page: 1 });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  analytics: {\n    section: 'csv_imports',\n    place: 'mapping',\n  },\n\n  activate() {\n    this.controllerFor('apps/app/import/csv').set('currentStep', 2);\n  },\n\n  model(params) {\n    return this.store.findRecord('csv-import', params.id);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  analytics: {\n    section: 'csv_imports',\n    place: 'tag',\n  },\n\n  activate() {\n    this.controllerFor('apps/app/import/csv').set('currentStep', 3);\n  },\n\n  model(params) {\n    return this.store.findRecord('csv-import', params.id);\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport unsubscribeApp from 'embercom/lib/appstore/unsubscribe-app';\n\nexport default IntercomRoute.extend({\n  activate() {\n    this.hidePrimaryNav();\n  },\n\n  deactivate() {\n    this.showPrimaryNav();\n  },\n\n  async model() {\n    let app = this.modelFor('apps/app');\n    let syncingState = await unsubscribeApp.fetchSyncingState(app.id);\n\n    return {\n      mailchimpImport: this.store.createRecord('mailchimp-import', {\n        appId: app.get('id'),\n      }),\n      syncingState,\n    };\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  analytics: {\n    section: 'mailchimp_imports',\n    place: 'finish',\n  },\n\n  activate() {\n    this.controllerFor('apps/app/import/mailchimp').set('currentStep', 3);\n  },\n\n  model(params) {\n    return this.store.findRecord('mailchimp-import', params.id);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  analytics: {\n    section: 'mailchimp_imports',\n    place: 'index',\n  },\n\n  activate() {\n    this.controllerFor('apps/app/import/mailchimp').set('currentStep', 1);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport MailchimpList from 'embercom/models/mailchimp-list';\n\nexport default Route.extend({\n  analytics: {\n    section: 'mailchimp_imports',\n    place: 'lists',\n  },\n\n  activate() {\n    this.controllerFor('apps/app/import/mailchimp').set('currentStep', 2);\n  },\n\n  model(params) {\n    return this.store.findRecord('mailchimp-import', params.id);\n  },\n\n  async afterModel(mailchimpImport) {\n    let lists = await MailchimpList.list(mailchimpImport.get('secureAccessToken'));\n    return mailchimpImport.set('lists', lists);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  analytics: {\n    section: 'mailchimp_imports',\n    place: 'tag',\n  },\n\n  activate() {\n    this.controllerFor('apps/app/import/mailchimp').set('currentStep', 3);\n  },\n\n  beforeModel(transition) {\n    this.controllerFor('apps/app/import/mailchimp/tag').set(\n      'mailchimpList',\n      transition.to.queryParams.mailchimpList,\n    );\n  },\n\n  model(params) {\n    return this.store.findRecord('mailchimp-import', params.id);\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\n\nexport default IntercomRoute.extend({\n  activate() {\n    this.hidePrimaryNav();\n  },\n\n  deactivate() {\n    this.showPrimaryNav();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  analytics: {\n    section: 'mixpanel_imports',\n    place: 'finish',\n  },\n\n  activate() {\n    this.controllerFor('apps/app/import/mixpanel').set('currentStep', 4);\n  },\n\n  model(params) {\n    return this.store.findRecord('mixpanel-import', params.id);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  analytics: {\n    section: 'mixpanel_imports',\n    place: 'index',\n  },\n\n  activate() {\n    this.controllerFor('apps/app/import/mixpanel').set('currentStep', 1);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  analytics: {\n    section: 'mixpanel_imports',\n    place: 'instructions',\n  },\n\n  activate() {\n    this.controllerFor('apps/app/import/mixpanel').set('currentStep', 2);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  analytics: {\n    section: 'mixpanel_imports',\n    place: 'tag',\n  },\n\n  activate() {\n    this.controllerFor('apps/app/import/mixpanel').set('currentStep', 3);\n  },\n\n  model(params) {\n    return this.store.findRecord('mixpanel-import', params.id);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Route.extend({\n  analytics: {\n    section: 'import_zendesk_chat',\n  },\n\n  appService: service(),\n  reportingService: service(),\n  app: readOnly('appService.app'),\n\n  activate() {\n    this.controllerFor('apps.app').set('showPrimaryNav', false);\n  },\n  deactivate() {\n    this.controllerFor('apps.app').set('showPrimaryNav', true);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  analytics: {\n    place: 'authorize',\n  },\n\n  activate() {\n    this.controllerFor('apps/app/import/zendesk-chat').set('currentStep', 2);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  intercomEventService: service(),\n  analytics: {\n    place: 'import',\n  },\n\n  activate() {\n    this.controllerFor('apps/app/import/zendesk-chat').set('currentStep', 3);\n  },\n\n  beforeModel(transition) {\n    // Redirects if user visits the url directly\n    if (transition.urlMethod === null) {\n      this.transitionTo('apps.app.import.zendesk-chat');\n    }\n  },\n  actions: {\n    didTransition() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'viewed',\n        object: 'confirmation_page',\n        context: 'zendesk_chat_import',\n        conversation_import_id: this.controller.get('model.id'),\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  intercomEventService: service(),\n  analytics: {\n    place: 'index',\n  },\n\n  activate() {\n    this.controllerFor('apps/app/import/zendesk-chat').set('currentStep', 1);\n  },\n\n  actions: {\n    didTransition() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'viewed',\n        object: 'zendesk_chat_importer_index',\n        context: 'zendesk_chat_import',\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nlet InboundEmailRoute = Route.extend({\n  store: service(),\n\n  titleToken: 'Raw Incoming Email',\n\n  model(params) {\n    return this.store.findRecord('inbound-email', params.email_id);\n  },\n});\n\nexport default InboundEmailRoute;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  beforeModel(transition) {\n    let correctedUrl = transition.intent.url.replace('insights', 'reporting');\n\n    this.replaceWith(correctedUrl);\n  },\n});\n","import { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport storage from 'embercom/vendor/intercom/storage';\nimport RSVP from 'rsvp';\n\nexport default IntercomRoute.extend({\n  buildRouteInfoMetadata() {\n    return {\n      responsibleTeam: 'team-inbox',\n    };\n  },\n  analytics: {\n    section: 'respond',\n  },\n  store: service(),\n  inboxService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  userCacheService: service(),\n  onboardingHomeExternalStepService: service(),\n\n  app: computed(function() {\n    return this.modelFor('apps.app');\n  }),\n\n  activate() {\n    storage.set('lastProductUsed', 'inbox');\n  },\n\n  deactivate() {\n    // this addresses an issue with destroyed User objects hanging round the user cache service\n    // for future reference the problem results in the following Ember assertion being triggered:\n    // \"Cannot create a new tag for `<embercom@model:user::ember2527:52ef87ea89b4e60739000021>` after it has been destroyed.\"\n    this.userCacheService.clear();\n  },\n\n  beforeModel(transition) {\n    if (transition.to.queryParams.embeddedContent) {\n      this.hidePrimaryNav();\n    }\n\n    let inboxService = this.inboxService;\n    inboxService.transitionTo = (...args) => this.transitionTo(...args);\n  },\n\n  model() {\n    let inboxes = this.store.findAll('inbox', { reload: true });\n\n    if (this.app.canUseInboxViews) {\n      let inboxViews = this.inboxService.loadInboxViews();\n\n      return RSVP.hash({\n        inboxes,\n        inboxViews,\n      });\n    }\n\n    return RSVP.hash({ inboxes });\n  },\n\n  afterModel() {\n    if (this.app.canUseInboxViews) {\n      this.inboxService.loadConversationAttributeDescriptors();\n    }\n\n    if (this.app.shouldShowInboxTourBanner) {\n      this.inboxService.loadBannerVisibility();\n    }\n  },\n});\n","import BaseAboutRoute from 'embercom/routes/base/about-route';\n\nexport default BaseAboutRoute.extend({});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default IntercomRoute.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  analytics: {\n    place: 'automation-rules',\n  },\n  titleToken: 'Automation',\n\n  beforeModel() {\n    if (!this.get('app.inboxIsActive')) {\n      return this.replaceWith('apps.app.inbox');\n    }\n  },\n});\n","import RuleBase from 'embercom/routes/apps/app/inbox/automation/rule-base';\nimport RSVP from 'rsvp';\n\nexport default RuleBase.extend({\n  analytics: {\n    section: 'respond',\n    place: 'automation_assignment',\n  },\n  model() {\n    let messagingSettings = this.store\n      .findRecord('messaging-settings', this.get('app.id'))\n      .catch(e => {\n        // This API has permissions, not having the permissions is fine\n        // since we will show a permission dialog if you try to set default assignee\n        // so catch the failure and do nothing with it\n        return;\n      });\n    let rules = this.store.findAll('inbox/conversation-rules/assignment');\n    return RSVP.hash({\n      rules,\n      messagingSettings,\n    });\n  },\n\n  setupController(controller, models) {\n    this._super(...arguments);\n    let messagingSettings = models.messagingSettings;\n    controller.setProperties({\n      messagingSettings,\n    });\n  },\n});\n","import RuleBase from 'embercom/routes/apps/app/inbox/automation/rule-base';\nimport RSVP from 'rsvp';\n\nexport default RuleBase.extend({\n  analytics: {\n    section: 'respond',\n    place: 'automation_priority',\n  },\n  model() {\n    return RSVP.hash({\n      rules: this.store.findAll('inbox/conversation-rules/priority'),\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default IntercomRoute.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  afterModel(models, transition) {\n    let rules = models.rules;\n    let queryParams = transition.to.queryParams;\n    if (queryParams && queryParams.id) {\n      let rule = rules.findBy('id', queryParams.id);\n      if (rule) {\n        rule.set('isExpanded', true);\n      } else {\n        rules.setEach('isExpanded', false);\n      }\n    }\n  },\n\n  setupController(controller, models) {\n    let rules = models.rules;\n    controller.setProperties({\n      model: rules,\n    });\n  },\n\n  deactivate() {\n    let rules = this.controller.get('model');\n    rules.setEach('isExpanded', false);\n    this.controller.set('id', null);\n  },\n});\n","import RuleBase from 'embercom/routes/apps/app/inbox/automation/rule-base';\nimport RSVP from 'rsvp';\n\nexport default RuleBase.extend({\n  analytics: {\n    section: 'respond',\n    place: 'automation_sla',\n  },\n  model() {\n    return RSVP.hash({\n      schedules: this.store.findAll('office-hours-schedule'),\n      rules: this.store.findAll('inbox/conversation-rules/sla'),\n      slas: this.store.findAll('inbox/conversation-sla'),\n    });\n  },\n\n  setupController(controller, models) {\n    this._super(...arguments);\n    let conversationSlas = models.slas;\n    let officeHoursSchedules = models.schedules;\n    controller.setProperties({\n      conversationSlas,\n      officeHoursSchedules,\n    });\n  },\n});\n","import RuleBase from 'embercom/routes/apps/app/inbox/automation/rule-base';\nimport RSVP from 'rsvp';\n\nexport default RuleBase.extend({\n  analytics: {\n    section: 'respond',\n    place: 'automation_tag',\n  },\n  model() {\n    return RSVP.hash({\n      rules: this.store.findAll('inbox/conversation-rules/tag'),\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport WorkflowsBaseRoute from 'embercom/routes/apps/app/inbox/automation/workflows/workflows-base';\nimport { action } from '@ember/object';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport RSVP from 'rsvp';\n\nexport default class WorkflowsEditRoute extends WorkflowsBaseRoute {\n  queryParams = {\n    mode: { refreshModel: true },\n  };\n\n  model(params) {\n    return RSVP.hash({\n      workflow: this.store.findRecord('workflow', params.id),\n      ...this.contextModels(),\n    });\n  }\n\n  setupController(controller, models) {\n    controller.setProperties({\n      workflow: models.workflow,\n      actionEditorContext: {\n        isRulePage: false,\n        canRemoveAssignee: true,\n        allowSlaOnDelete: true,\n        isWorkflows: true,\n        conversationSlas: models.conversationSlas,\n        officeHoursSchedules: models.officeHoursSchedules,\n        conversationCustomAttributes: models.conversationCustomAttributes,\n      },\n    });\n  }\n\n  activate() {\n    window.onbeforeunload = () => {\n      if (this.controller.workflow.hasChanges) {\n        return 'Warning: You have unsaved changes. Do you want to leave the page?';\n      }\n    };\n  }\n\n  deactivate() {\n    window.onbeforeunload = undefined;\n  }\n\n  @action\n  willTransition(transition) {\n    let workflow = this.controller.workflow;\n    if (workflow.hasChanges) {\n      transition.abort();\n\n      // This seems to cover an underlying ember bug https://github.com/emberjs/ember.js/issues/5210\n      if (window.history) {\n        window.history.forward();\n      }\n\n      intercomConfirm(this, {\n        title: 'Close without saving?',\n        primaryButtonType: 'primary-destructive',\n        confirmButtonText: 'Close without saving',\n        cancelButtonText: 'Keep editing',\n        body: \"You'll lose your changes if you don't save first.\",\n      }).then(() => {\n        workflow.rollbackAttributes();\n        transition.retry();\n      });\n    }\n  }\n\n  resetController(controller) {\n    controller.set('mode', null);\n  }\n}\n","import WorkflowsBaseRoute from 'embercom/routes/apps/app/inbox/automation/workflows/workflows-base';\nimport { timeout } from 'ember-concurrency';\nimport { task } from 'ember-concurrency-decorators';\nimport ajax from 'embercom/lib/ajax';\nimport RSVP from 'rsvp';\nimport storage from 'embercom/vendor/intercom/storage';\n\nconst STORAGE_KEY = 'rules-opt-in-started';\n\nexport default class WorkflowsListRoute extends WorkflowsBaseRoute {\n  model(_) {\n    return RSVP.hash({\n      workflows: this.store.query('workflow', {}),\n      ...this.contextModels(),\n    });\n  }\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get taskStartedBefore() {\n    let optInStarted = storage.get(STORAGE_KEY)?.optInStarted;\n    return optInStarted || false;\n  }\n\n  @task\n  *optCustomerIn() {\n    storage.set(STORAGE_KEY, { optInStarted: true });\n    yield ajax({\n      url: `/ember/workflows/opt_in`,\n      type: 'POST',\n      data: JSON.stringify({\n        app_id: this.app.id,\n      }),\n    }).catch(() => {\n      this.notificationsService.notifyError('Something went wrong. Please try again');\n    });\n\n    while (!this.app.canUseWorkflows) {\n      yield this.app.reload();\n      yield timeout(5000);\n    }\n    storage.remove(STORAGE_KEY);\n  }\n\n  @task\n  *pollAppReloadForWorkflows() {\n    while (!this.app.canUseWorkflows) {\n      yield this.app.reload();\n      yield timeout(5000);\n    }\n    storage.remove(STORAGE_KEY);\n  }\n\n  setupController(controller, models) {\n    controller.setProperties({\n      app: this.appService.app,\n      optCustomerIn: this.optCustomerIn,\n      pollAppReloadForWorkflows: this.pollAppReloadForWorkflows,\n      taskStartedBefore: this.taskStartedBefore,\n      workflows: models.workflows,\n      actionContext: {\n        conversationSlas: models.conversationSlas,\n        officeHoursSchedules: models.officeHoursSchedules,\n      },\n    });\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport WorkflowsBaseRoute from 'embercom/routes/apps/app/inbox/automation/workflows/workflows-base';\nimport { inject as service } from '@ember/service';\n\nexport default class WorkflowsNewRoute extends WorkflowsBaseRoute {\n  @service intercomEventService;\n\n  beforeModel() {\n    this.store\n      .createRecord('workflow', {\n        name: 'New rule',\n        triggerType: 'inbound_conversation_started',\n      })\n      .save()\n      .then(workflow => {\n        this.intercomEventService.trackEvent('workflows', {\n          action: 'created',\n          object: 'inbox_rule',\n          place: 'inbox_automation',\n          section: 'respond',\n          rule_id: workflow.id,\n        });\n        let queryParams = { mode: 'create' };\n        this.replaceWith('apps.app.inbox.automation.workflows.edit', workflow.id, { queryParams });\n      });\n  }\n}\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class WorkflowsBaseRoute extends IntercomRoute {\n  @service appService;\n  @service notificationsService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  beforeModel() {\n    if (!this.app.canSeeWorkflowsOptIn && !this.app.canUseWorkflows) {\n      this.replaceWith(this.app.inboxBaseRoute);\n    }\n  }\n\n  displayErrorAndRedirect(message, redirectTo) {\n    this.notificationsService.notifyError(message, -1);\n    return this.replaceWith(redirectTo);\n  }\n\n  handleError(error) {\n    return this.displayErrorAndRedirect(\n      \"We couldn't load that workflow.\",\n      'apps.app.inbox.automation.workflows.list',\n    );\n  }\n\n  contextModels() {\n    // We need to load these on routing as the UI expects the lists to be available\n    return {\n      conversationSlas: this.store.findAll('inbox/conversation-sla'),\n      officeHoursSchedules: this.store.findAll('office-hours-schedule'),\n      conversationCustomAttributes: this.store.findAll('conversation-attributes/descriptor'),\n    };\n  }\n\n  @action\n  error(response) {\n    console.error(response);\n    this.handleError(response);\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport RSVP from 'rsvp';\nimport { inject as service } from '@ember/service';\n\nexport default IntercomRoute.extend({\n  analytics: {\n    section: 'respond',\n    place: 'automation_workload_management',\n  },\n  confirmService: service(),\n  intercomEventService: service(),\n\n  beforeModel() {\n    let app = this.modelFor('apps.app');\n    if (!app.canUseWorkloadManagement) {\n      this.trackHitPaywall();\n    }\n  },\n  model() {\n    let app = this.modelFor('apps.app');\n    return RSVP.hash({\n      settings: this.store.findAll('team-setting'),\n      teams: app.assignableTeams,\n      capacity: this.store.findRecord('app-conversation-capacity-limit', app.get('id')),\n    });\n  },\n\n  trackHitPaywall() {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'workload-management',\n      action: 'hit-paywall',\n    });\n  },\n\n  rollbackModel() {\n    this.controller.model.settings.forEach(setting => {\n      setting.rollbackAttributes();\n    });\n    this.controller.model.capacity.rollbackAttributes();\n  },\n\n  actions: {\n    willTransition(transition) {\n      let hasSettingsChanged = this.get('controller.model.settings').any(\n        setting => setting.hasDirtyAttributes,\n      );\n\n      let hasCapacityChanged = this.get('controller.model.capacity.hasDirtyAttributes');\n\n      if (hasCapacityChanged || hasSettingsChanged) {\n        let options = {\n          title: 'Unsaved Changes',\n          body: 'You have unsaved changes. Do you want to discard them?',\n          confirmButtonText: 'Discard',\n          center: true,\n        };\n\n        transition.abort();\n        return this.confirmService.show(this, options).then(confirmed => {\n          if (!confirmed) {\n            return;\n          }\n          this.rollbackModel();\n          transition.retry();\n        });\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  bootService: service(),\n\n  beforeModel(transition) {\n    this.bootService.deferSecondaryPhase();\n    let app = this.modelFor('apps.app');\n    let conversationId = transition.to.params.conversation_id;\n    this.replaceWith(app.get('conversationRoute'), app, conversationId);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  bootService: service(),\n\n  beforeModel(transition) {\n    this.bootService.deferSecondaryPhase();\n    let app = this.modelFor('apps.app');\n    let conversationId = transition.to.params.conversation_id;\n    this.replaceWith(app.get('conversationRoute'), app, conversationId);\n  },\n});\n","import Route from '@ember/routing/route';\n\nexport default class GuideRoute extends Route {\n  redirect() {\n    this.replaceWith('apps.app.inbox');\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\nimport getTransitionParams from 'embercom/lib/router/get-transition-params';\n\nexport default Route.extend({\n  notificationsService: service(),\n  analytics: {\n    place: 'inbox',\n  },\n  loadingIndicatorService: service(),\n  realTimeEventService: service('realTimeEventService'),\n  bootService: service(),\n\n  app: computed(function() {\n    return this.modelFor('apps.app');\n  }),\n\n  beforeModel(transition) {\n    this.bootService.deferSecondaryPhase();\n\n    if (this.isDeeplink(transition) && !this.isRefresh(transition)) {\n      let target = this.getTransitionTarget(transition);\n      this.transitionTo(this.get('app.conversationRoute'), target);\n    }\n  },\n  getTransitionTarget(transition) {\n    let transitionParams = getTransitionParams(transition);\n\n    if (transition.intent.url) {\n      return transition.intent.url\n        .split('/')\n        .pop()\n        .split('?')[0];\n    } else if (transitionParams[this.get('app.inboxConversationRoute')]) {\n      return transitionParams[this.get('app.inboxConversationRoute')].conversation_id;\n    } else if (transitionParams[this.get('app.inboxConversationsConversationRoute')]) {\n      return transitionParams[this.get('app.inboxConversationsConversationRoute')].conversation_id;\n    } else if (transitionParams[this.get('app.inboxRedirectConversationRoute')]) {\n      return transitionParams[this.get('app.inboxRedirectConversationRoute')].conversation_id;\n    }\n  },\n  isDeeplink(transition) {\n    return (\n      transition.targetName === `${this.get('app.inboxBaseRoute')}.conversations.conversation` ||\n      transition.targetName === `${this.get('app.inboxBaseRoute')}.redirect.conversation`\n    );\n  },\n\n  isRefresh(transition) {\n    if (!transition.intent.url) {\n      return false;\n    }\n    let target = transition.intent.url.split('/').pop();\n    let lastViewed = null;\n    try {\n      lastViewed = sessionStorage.getItem('last-viewed-conversation');\n    } catch (e) {\n      // Nothing to do here\n    }\n    if (!lastViewed) {\n      return false;\n    }\n    return target === lastViewed;\n  },\n  updateCounters() {\n    this.send('refreshInboxCounters');\n  },\n  activate() {\n    this.get('realTimeEventService.inboxEvents').forEach(eventName => {\n      this.realTimeEventService.on(eventName, this, 'updateCounters');\n    });\n  },\n  deactivate() {\n    this.get('realTimeEventService.inboxEvents').forEach(eventName => {\n      this.realTimeEventService.off(eventName, this, 'updateCounters');\n    });\n  },\n  displayErrorAndRedirect(message, redirectTo) {\n    this.notificationsService.notifyError(message, -1);\n    return this.replaceWith(redirectTo);\n  },\n\n  handleError(error) {\n    switch (error.status) {\n      case 403:\n        return this.displayErrorAndRedirect(\n          \"You don't have permissions to do that, ask an admin on your team for help.\",\n          'apps.app',\n        );\n      case 404:\n        return this.displayErrorAndRedirect(\n          'That conversation could not be found',\n          this.get('app.inboxBaseRoute'),\n        );\n      case 410:\n        return this.displayErrorAndRedirect(\n          'That conversation was deleted',\n          this.get('app.inboxBaseRoute'),\n        );\n      default:\n        return this.displayErrorAndRedirect(\n          \"We couldn't load that conversation. Something went wrong on our side, please contact support.\",\n          this.get('app.inboxBaseRoute'),\n        );\n    }\n  },\n  actions: {\n    partAddedToConversation() {\n      // Just here to prevent the action from bubbling\n    },\n    loading(transition) {\n      if (transition.targetName === `${this.get('app.inboxBaseRoute')}.index`) {\n        this.loadingIndicatorService.on();\n      }\n      return true;\n    },\n    error(response) {\n      console.error(response);\n      this.handleError(response);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { isPresent } from '@ember/utils';\nimport ConversationKeyboardShortcutsRouteMixin from './mixins/conversation-keyboard-shortcuts';\n\nexport default Route.extend(ConversationKeyboardShortcutsRouteMixin, {\n  realTimeEventService: service('realTimeEventService'),\n  onboardingHomeExternalStepService: service(),\n  navbarCollapsingService: service(),\n  store: service(),\n  appService: service(),\n  savedReplySearchService: service(),\n  app: readOnly('appService.app'),\n\n  queryParams: {\n    app_package_code: null,\n    install_success: null,\n  },\n\n  model(params) {\n    return this.store.findRecord('conversation', params.conversation_id);\n  },\n\n  afterModel(model, transition) {\n    if (!model) {\n      return;\n    }\n    if (this.get('app.currentAdminHasInboxAccess')) {\n      model.markMentionsAsRead();\n    }\n    if (isPresent(model.get('participants'))) {\n      transition.trigger(\n        false,\n        'setDocumentTitle',\n        `${model.get('participants.firstObject.display_as')} | Conversation`,\n      );\n    }\n  },\n\n  activate() {\n    this._super(...arguments);\n  },\n\n  deactivate() {\n    this._super(...arguments);\n    if (this.onboardingHomeExternalStepService.isCurrentExternalStep('reply_in_inbox')) {\n      this.navbarCollapsingService.removeCollapsedSubmenu('Inbox');\n    }\n  },\n\n  actions: {\n    didTransition() {\n      this._super();\n      let app = this.modelFor('apps.app');\n      if (app.canUseSavedRepliesManagement) {\n        this.savedReplySearchService.build();\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport { getOwner } from '@ember/application';\nimport { isEmpty } from '@ember/utils';\nimport { inject as service } from '@ember/service';\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport ENV from 'embercom/config/environment';\nimport Metrics from 'embercom/models/metrics';\nimport { OFFLINE_NOTIFICATION_KEY } from 'embercom/lib/inbox/constants';\nimport getTransitionParams from 'embercom/lib/router/get-transition-params';\nimport { captureException } from 'embercom/lib/sentry';\n\nconst SHORTCUT_GROUP = 'inbox-conversations';\n\nexport default IntercomRoute.extend({\n  store: service(),\n  notificationsService: service(),\n  conversationCleaner: service(),\n  pubsub: service(),\n  shortcuts: service(),\n  inboxService: service(),\n  loadingIndicatorService: service(),\n  intercomEventService: service(),\n  savedReplySearchService: service(),\n  titleToken: 'Inbox',\n\n  get analytics() {\n    let model = this.modelFor(this.routeName);\n    let inboxType = 'unknown';\n\n    if (!model) {\n      inboxType = null;\n    } else if (model.isMeInbox) {\n      inboxType = 'me';\n    } else if (model.isMentionsInbox) {\n      inboxType = 'mentions';\n    } else if (model.isUnassignedInbox) {\n      inboxType = 'unassigned';\n    } else if (model.isAllInbox) {\n      inboxType = 'all';\n    } else if (model.isBot) {\n      inboxType = 'bot';\n    } else if (model.isAdminInbox) {\n      inboxType = 'teammate';\n    } else if (model.isTeamInbox) {\n      inboxType = 'team';\n    } else if (model.isInboxView) {\n      inboxType = 'view';\n    }\n\n    return {\n      inbox_type: inboxType,\n    };\n  },\n\n  queryParams: {\n    q: { refreshModel: true },\n    tagIds: { refreshModel: true },\n    userIds: { refreshModel: true },\n    assigneeIdentifier: { refreshModel: true },\n    teamAssigneeIdentifier: { refreshModel: true },\n    teammateAssigneeIdentifier: { refreshModel: true },\n    adminDateRangeStart: { refreshModel: true },\n    adminDateRangeEnd: { refreshModel: true },\n  },\n\n  get app() {\n    return this.modelFor('apps.app');\n  },\n\n  get inboxes() {\n    return this.modelFor(this.app.get('inboxBaseRoute')).inboxes;\n  },\n\n  beforeModel(transition) {\n    let identifier = this._getAssigneeIdFromTransition(transition);\n\n    // To support legacy identifiers, we always look if the assignee_identifier\n    // in URL is a legacy identifier or not and accordingly re-route the user.\n    if (\n      !['undefined', 'unassigned', 'all', 'mentions', 'search'].includes(identifier) ||\n      !identifier?.startsWith('view:')\n    ) {\n      // Find by old/legacy identifier and redirect\n      if (!this.inboxes.findBy('id', identifier)) {\n        let inbox = this.inboxes.findBy('identifier', identifier);\n        if (inbox) {\n          Metrics.capture({\n            increment: ['respond_inbox_identifier_swapped_with_id'],\n          });\n          return this.replaceWith(this.app.get('inboxConversationsRoute'), inbox.get('id'));\n        }\n      }\n    }\n\n    if (this.app.get('inboxConversationsRoute') !== this.routeName && ENV.environment !== 'test') {\n      this.transitionTo(this.app.get('inboxBaseRoute'));\n    }\n    if (transition.intent.url) {\n      this.inboxService.set('targetConversationId', transition.intent.url.split('/').pop());\n    }\n  },\n\n  model(params) {\n    if (params.assignee_identifier === 'search') {\n      return this._createSearchModel(params);\n    } else {\n      let inbox = this.inboxes.findBy('id', params.assignee_identifier);\n      return inbox;\n    }\n  },\n\n  serialize(model) {\n    // Temporary band-aid for undefined being passed to serialier\n    // proper fix is likely to patch href-to addon so it doesn't send null params\n    if (!model) {\n      return;\n    }\n    return { assignee_identifier: model.get('id') };\n  },\n\n  afterModel(model, transition) {\n    this.loadingIndicatorService.off();\n    let inboxService = this.inboxService;\n\n    // Same issue as in serialize\n    // Temporary band-aid for undefined being passed to afterModel\n    if (!model) {\n      let identifier = this._getAssigneeIdFromTransition(transition);\n      captureException(\n        new Error(`inbox not found ${identifier ? 'with assignee_identifier' : ''}`),\n        {\n          fingerprint: [\n            'inbox',\n            'conversations',\n            'model',\n            'missing inbox',\n            `${identifier ? 'with assignee_identifier' : 'without assignee_identifier'}`,\n          ],\n          extra: {\n            identifier,\n          },\n        },\n      );\n      return this.transitionTo(this.app.get('inboxBaseRoute'));\n    }\n\n    inboxService.setInbox(model);\n  },\n\n  activate() {\n    this.inboxService.activate();\n    this.conversationCleaner.start();\n    this.pubsub.subscribe('networkIsNotReachable', this, this._networkIsNotReachable);\n    this.pubsub.subscribe('networkIsReachable', this, this._networkIsReachable);\n    this.registerShortcuts();\n  },\n\n  deactivate() {\n    this.inboxService.deactivate();\n    this.conversationCleaner.stop();\n    this.pubsub.unsubscribe('networkIsNotReachable', this, this._networkIsNotReachable);\n    this.pubsub.unsubscribe('networkIsReachable', this, this._networkIsReachable);\n    this.shortcuts.unregister(SHORTCUT_GROUP);\n  },\n\n  _networkIsNotReachable() {\n    this.notificationsService.notifyError(\n      'It looks like you’ve gone offline. Check your internet connection.',\n      ENV.APP.notificationNoTimeout,\n      OFFLINE_NOTIFICATION_KEY,\n    );\n  },\n\n  _networkIsReachable() {\n    this.notificationsService.removeNotification(OFFLINE_NOTIFICATION_KEY);\n    this.notificationsService.notifyConfirmation('All good! Your internet connection is back…');\n    let appRoute = getOwner(this).lookup('route:apps/app');\n    if (appRoute) {\n      appRoute.fetchInboxCounters();\n    }\n    this.inboxService.inbox.reload();\n  },\n\n  _toCurrentInbox(transition) {\n    let targetAssignee = this._getAssigneeIdFromTransition(transition);\n\n    return targetAssignee === this.get('inboxService.inbox.id');\n  },\n\n  _toIndexRoute(transition) {\n    return transition.to.name === `${this.routeName}.index`;\n  },\n\n  _toCurrentInboxIndexWithContentPresent(transition) {\n    return (\n      this._toIndexRoute(transition) &&\n      this._toCurrentInbox(transition) &&\n      !this.get('inboxService.inbox.isEmpty')\n    );\n  },\n\n  _createSearchModel(params) {\n    let modelParams = {\n      id: 'search',\n      app_id: this.modelFor('apps.app').get('id'),\n      keywords: params.q,\n      tagIds: params.tagIds,\n      userIds: params.userIds,\n      assignee_identifier: params.assigneeIdentifier,\n      team_assignee_identifier: params.teamAssigneeIdentifier,\n      teammate_assignee_identifier: params.teammateAssigneeIdentifier,\n      adminDateRangeStart: params.adminDateRangeStart,\n      adminDateRangeEnd: params.adminDateRangeEnd,\n    };\n    return getOwner(this)\n      .factoryFor('customClass:inbox/searchInbox')\n      .create(modelParams);\n  },\n\n  _searchStringFromParams(params) {\n    if (!isEmpty(params.tag)) {\n      let tag = this.store.peekRecord('tag', params.tag);\n      return `tag: ${tag.name}`;\n    } else {\n      return params.q;\n    }\n  },\n\n  registerShortcuts() {\n    let stateCheck = 'advancedEnabled';\n\n    this.shortcuts.register(SHORTCUT_GROUP, this, [\n      { stateCheck, key: 'k', method: this.toPreviousConversation },\n      { stateCheck, key: 'j', method: this.toNextConversation },\n      { stateCheck, key: 'x', method: this.selectActiveConversation },\n    ]);\n  },\n\n  toPreviousConversation() {\n    this.inboxService.transitionToPreviousConversation();\n  },\n\n  toNextConversation() {\n    this.inboxService.transitionToNextConversation();\n  },\n\n  selectActiveConversation() {\n    let e = new Event('mouseup', { bubbles: true });\n    document.querySelector('.js__conversation-list-item.o__active input').dispatchEvent(e);\n  },\n\n  resetController(controller, isExiting, transition) {\n    let inboxController = this.controllerFor('apps.app.inbox');\n    if (!inboxController.get('searchIsSelected')) {\n      return;\n    }\n    if (isExiting || this._getAssigneeIdFromTransition(transition) !== 'search') {\n      controller.setProperties({\n        q: null,\n        tag: null,\n      });\n      inboxController.set('searchIsSelected', false);\n    }\n  },\n\n  _getAssigneeIdFromTransition(transition) {\n    let params = getTransitionParams(transition);\n    return params[this.routeName].assignee_identifier;\n  },\n\n  actions: {\n    willTransition(transition) {\n      // Prevent transitioning to 'index' if there are conversations in the list\n      if (this._toCurrentInboxIndexWithContentPresent(transition)) {\n        transition.abort();\n      }\n      return true;\n    },\n    didTransition() {\n      this._super();\n      if (this.get('inboxService.inbox.isSearch')) {\n        let conversations = this.get('inboxService.inbox.conversationList.items');\n        let currentConversation = this.get('inboxService.currentConversation');\n\n        if (conversations && conversations.indexOf(currentConversation) !== -1) {\n          this.intercomEventService.trackAnalyticsEvent({\n            action: 'viewed',\n            object: 'conversation',\n            place: 'inbox',\n            owner: 'inbox',\n            result_rank: conversations.indexOf(currentConversation) + 1,\n          });\n        }\n      }\n\n      if (this.app.canUseSavedRepliesManagement) {\n        this.savedReplySearchService.build();\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { schedule } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\nimport ConversationKeyboardShortcutsRouteMixin from '../mixins/conversation-keyboard-shortcuts';\nimport { markViewAsSeen, adminHasSeen } from 'embercom/lib/admin-view-tracking';\n\nconst VIEWED_SELF_ASSIGNED_CONVERSATION = 'viewed_self_assigned_conversation';\n\nexport default Route.extend(ConversationKeyboardShortcutsRouteMixin, {\n  appService: service(),\n  bootService: service(),\n  inboxService: service(),\n  userCacheService: service(),\n  store: service(),\n\n  beforeModel() {\n    this.set('app', this.modelFor('apps.app'));\n  },\n\n  model(params) {\n    return this.store.findRecord('conversation', params.conversation_id);\n  },\n\n  afterModel(model) {\n    this.inboxService.setCurrentConversation(model);\n    try {\n      window.sessionStorage.setItem('last-viewed-conversation', model.get('id'));\n    } catch (e) {} // eslint-disable-line no-empty\n    if (this.get('app.currentAdminHasInboxAccess')) {\n      schedule('afterRender', () => {\n        this.markAsRead(model);\n      });\n    }\n    this.bootService.advanceToSecondaryPhase();\n    this.prefetch(model);\n  },\n\n  prefetch(from) {\n    let [previous, next] = this.adjacentConversations(from);\n    this.prefetchParts(previous, next);\n    this.prefetchUsers(previous, next);\n  },\n\n  prefetchParts(previous, next) {\n    schedule('afterRender', this, async () => {\n      try {\n        if (next && !next.hasFetchedParts) {\n          await next.syncedPartList.sync();\n        } else if (previous && !previous.hasFetchedParts) {\n          await previous.syncedPartList.sync();\n        }\n      } catch (err) {\n        if (err.name === 'TaskCancelation') {\n          return; // Ignore sync cancellation, happens when conversation is torn down\n        }\n\n        throw err;\n      }\n    });\n  },\n\n  prefetchUsers(previous, next) {\n    schedule('afterRender', this, () => {\n      let cache = this.userCacheService;\n      if (next) {\n        cache.prefetchForConversation(next);\n      } else if (previous) {\n        cache.prefetchForConversation(previous);\n      }\n    });\n  },\n\n  adjacentConversations(from) {\n    let sortedList = this.get('inboxService.inbox.conversationList.sortedItems');\n    let fromIndex = sortedList.indexOf(from);\n    return [sortedList.objectAt(fromIndex - 1), sortedList.objectAt(fromIndex + 1)];\n  },\n\n  markAsRead(conversation) {\n    if (this.appService.app?.canUseRestrictConversationAccess && conversation.redacted) {\n      return;\n    }\n\n    conversation.markMentionsAsRead();\n    conversation.markAsReadForAdmin();\n\n    adminHasSeen(this.store, VIEWED_SELF_ASSIGNED_CONVERSATION, hasSeenConversation => {\n      if (!hasSeenConversation && this.inboxService.admin.id === conversation.assignee_id) {\n        markViewAsSeen(this.store, VIEWED_SELF_ASSIGNED_CONVERSATION);\n      }\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport { hash } from 'rsvp';\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  conversationPresenceService: service(),\n\n  model() {\n    let app = this.modelFor('apps.app');\n    let inbox = this.modelFor(app.get('inboxConversationsRoute'));\n    return this.get('conversationPresenceService.checkForConversations')\n      .perform()\n      .then(hasConversations => {\n        return hash({\n          inbox,\n          hasConversations,\n        });\n      });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { adminHasSeen } from 'embercom/lib/admin-view-tracking';\n\nconst VIEWED_SELF_ASSIGNED_CONVERSATION = 'viewed_self_assigned_conversation';\n\nexport default Route.extend({\n  beforeModel() {\n    let me = this.modelFor('apps');\n    let app = this.modelFor('apps.app');\n    let userID = me.get('id');\n    let shouldUseUnassignedInboxRoute =\n      app.get('signedUpWithSales') || app.get('signedUpWithSupportRetain');\n    return adminHasSeen(this.store, VIEWED_SELF_ASSIGNED_CONVERSATION).then(hasSeenConversation => {\n      let inbox = shouldUseUnassignedInboxRoute && !hasSeenConversation ? 'unassigned' : userID;\n      return this.replaceWith(app.get('inboxConversationsRoute'), inbox);\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { inject as service } from '@ember/service';\nimport Mixin from '@ember/object/mixin';\nimport { task } from 'ember-concurrency';\nimport ENV from 'embercom/config/environment';\nimport { SNOOZED_UNTIL_MAP } from 'embercom/lib/inbox/constants';\n\nconst SHORTCUT_GROUP = 'conversation';\n\nexport default Mixin.create({\n  notificationsService: service(),\n  conversationsService: service(),\n  appService: service(),\n  shortcuts: service(),\n\n  activate() {\n    this._super(...arguments);\n\n    let stateCheck = 'advancedEnabled';\n    this.shortcuts.register(SHORTCUT_GROUP, this, [\n      { stateCheck, key: 'a', method: this._handleAssignmentShortcut },\n      { stateCheck, key: 'e', method: this._handleCloseShortcut },\n      { stateCheck, key: 'n', method: this._handleNoteShortcut },\n      { stateCheck, key: 'r', method: this._handleCommentShortcut },\n      { stateCheck, key: 's', method: this._handleSavedRepliesShortcut },\n      { stateCheck, key: 't', method: this._handleTagUserShortcut },\n      { stateCheck, key: 't', method: this._handleTagConversationShortcut, shiftKey: true },\n      { stateCheck, key: 'y', method: this._handleCloseShortcut },\n      { stateCheck, key: 'z', method: this._handleSnoozeShortcut },\n      { stateCheck, key: 'o', method: this._handleReopenShortcut },\n      { stateCheck, key: 'p', method: this._handleTogglePriorityShortcut },\n    ]);\n\n    stateCheck = 'csEnabled';\n    this.shortcuts.register(SHORTCUT_GROUP, this, [\n      { stateCheck, key: 'i', method: this._handleImpersonationShortcut, shiftKey: true },\n      { stateCheck, key: 'a', method: this._handlePullConversationShortcut, altKey: true },\n    ]);\n  },\n\n  deactivate() {\n    this._super(...arguments);\n    this.shortcuts.unregister(SHORTCUT_GROUP);\n  },\n\n  _handleAssignmentShortcut() {\n    let $assignmentDropdown = $('.js__bulk-assign');\n    if (!$assignmentDropdown.length) {\n      $assignmentDropdown = $('.js__assignment-admin-dropdown .btn');\n    }\n    $assignmentDropdown.click();\n    this._trackShortcutUsage('assign');\n  },\n\n  _handleSnoozeShortcut() {\n    let conversation = this.modelFor(this.routeName);\n    if (conversation.get('isOpen')) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'snoozed',\n        object: conversation,\n        context: 'from_keyboard_shortcut',\n        snoozed_until: this.get('conversationsService.snoozedUntilDefaultText'),\n      });\n      let snoozedUntil = this.get('conversationsService.snoozedUntilDefaultValue');\n      let snoozeOptions = {\n        snoozedUntil,\n        customSnoozedUntil: SNOOZED_UNTIL_MAP[snoozedUntil].absoluteUnsnoozeTime,\n      };\n      this.conversationsService.addEventPartAndSave(conversation, 'snoozed', snoozeOptions);\n      this._displayUndoCloseNotification('snoozed', conversation, this.reopenConversationsTask);\n    }\n  },\n\n  _handleReopenShortcut() {\n    let conversation = this.modelFor(this.routeName);\n    if (conversation.get('isOpen')) {\n      return;\n    }\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'opened',\n      object: conversation,\n      context: 'from_keyboard_shortcut',\n    });\n    if (conversation.get('isSnoozed')) {\n      this.conversationsService.addEventPartAndSave(conversation, 'unsnoozed');\n    } else if (conversation.get('isClosed')) {\n      this.conversationsService.reopenConversation(conversation);\n    }\n  },\n\n  _handleCloseShortcut() {\n    let bulkCloseButton = $('.js__conversation-list__close-button');\n    if (bulkCloseButton.length !== 0) {\n      bulkCloseButton.click();\n    } else {\n      let conversation = this.modelFor(this.routeName);\n      if (conversation.get('isClosed')) {\n        return;\n      }\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'closed',\n        object: conversation,\n        context: 'with_keyboard_shortcut',\n      });\n      this.conversationsService.closeConversation(conversation);\n      this._displayUndoCloseNotification('closed', conversation, this.reopenConversationsTask);\n    }\n    this._trackShortcutUsage('close');\n  },\n\n  _handlePullConversationShortcut() {\n    $('.js__assign-next-conversation > button').click();\n  },\n\n  _handleImpersonationShortcut() {\n    $('.js__profile-actions-impersonation > button').click();\n  },\n\n  _handleNoteShortcut() {\n    this._focusOnTab('note');\n  },\n\n  _handleCommentShortcut() {\n    this._focusOnTab('comment');\n  },\n\n  _handleSavedRepliesShortcut() {\n    $('[data-inserter=\"saved-reply\"]').click();\n    this._trackShortcutUsage('saved-replies');\n  },\n\n  _handleTagUserShortcut() {\n    this.controller.send('tagUser');\n    this._trackShortcutUsage('tag-user');\n  },\n\n  _handleTagConversationShortcut() {\n    this.controller.send('tagLastUserComment');\n  },\n\n  _handleTogglePriorityShortcut() {\n    $('.js__change-priority-button').click();\n    this._trackShortcutUsage('priority');\n  },\n\n  _focusOnTab(focusTab) {\n    this.controller.send('focusComposerTab', focusTab);\n    let shortcutAction = `switch-tab-${focusTab}`;\n    this._trackShortcutUsage(shortcutAction);\n  },\n\n  reopenConversationsTask: task(function*(conversations) {\n    for (let i = 0; i < conversations.get('length'); i++) {\n      let conversation = conversations.objectAt(i);\n      if (conversation.get('isSnoozed')) {\n        yield this.conversationsService.addEventPartAndSave(conversation, 'unsnoozed');\n      } else if (conversation.get('isClosed')) {\n        yield this.conversationsService.reopenConversation(conversation);\n      }\n    }\n  }),\n\n  _displayUndoCloseNotification(actionType, conversation, reopenConversationsTask) {\n    this.notificationsService.notifyConfirmationWithModelAndPartial(\n      {\n        actionType,\n        conversations: [conversation],\n        reopenConversationsTask,\n      },\n      'apps/app/respond/inbox/partials/undo-close-conversations',\n      ENV.APP.default_notification_timeout,\n    );\n  },\n\n  _trackShortcutUsage(action) {\n    this.intercomEventService.trackEvent(`keyboard-shortcut-${action}`);\n  },\n});\n","import { inject as service } from '@ember/service';\nimport BaseProductIndexRoute from 'embercom/routes/base/product-index-route';\n\nexport default class IndexRoute extends BaseProductIndexRoute {\n  @service conversationPresenceService;\n\n  analytics = { place: 'index' };\n  defaultRoutePath = 'apps.app.inbox.inbox';\n  shouldRedirect = false;\n\n  get product() {\n    return this.app.inboxProduct;\n  }\n\n  get canAccessInbox() {\n    return this.app.currentAdminHasInboxAccess;\n  }\n\n  get app() {\n    return this.modelFor('apps.app');\n  }\n\n  async model() {\n    this.shouldRedirect = this.canAccessInbox;\n    let hasConversations = await this.conversationPresenceService.checkForConversations.perform();\n\n    return {\n      hasConversations,\n    };\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  beforeModel() {\n    let app = this.modelFor('apps.app');\n    if (app.get('inboxIsNotActive')) {\n      return this.replaceWith('apps.app.inbox');\n    }\n  },\n});\n","import AccountRouteBase from 'embercom/routes/apps/app/account/base/account-route-base';\n\nexport default AccountRouteBase.extend({\n  titleToken: 'Away mode preferences',\n\n  beforeModel(transition) {\n    let app = this.modelFor('apps.app');\n    if (!app.get('currentAdminHasInboxAccess')) {\n      return this.transitionTo('apps.app.account.general');\n    }\n\n    if (!app.get('canUseAutoAway')) {\n      return this.transitionTo('apps.app.inbox.preferences');\n    }\n  },\n\n  model() {\n    let admin = this.modelFor('apps');\n    return this.store.findRecord('admin-teammate-app-settings', admin.get('id'));\n  },\n\n  setupController(controller, model) {\n    controller.set('model', model);\n    controller.set('currentAdmin', this.modelFor('apps'));\n  },\n});\n","import CheckUnsavedChanges from 'embercom/routes/apps/app/account/base/check-unsaved-changes-route';\n\nexport default CheckUnsavedChanges.extend({\n  analytics: {\n    section: 'respond',\n    place: 'preferences_conversations',\n  },\n  titleToken: 'Your assignment preferences',\n\n  beforeModel() {\n    let admin = this.modelFor('apps');\n\n    if (!admin.get('canUseInboxInAnyApp')) {\n      this.transitionTo('apps.app.account.general');\n    }\n  },\n\n  model() {\n    let admin = this.modelFor('apps');\n    return admin;\n  },\n});\n","import AccountRouteBase from 'embercom/routes/apps/app/account/base/account-route-base';\n\nexport default AccountRouteBase.extend({\n  analytics: {\n    section: 'respond',\n    place: 'preferences_inbox_wallpaper',\n  },\n  titleToken: 'Your Inbox wallpaper',\n\n  beforeModel() {\n    if (!this.get('app.currentAdminHasInboxAccess')) {\n      this.transitionTo('apps.app.account.general');\n    }\n  },\n\n  model() {\n    let admin = this.modelFor('apps');\n    return this.store.findRecord('admin-teammate-app-settings', admin.get('id'));\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\n// This route just exists to redirect away from a URL structure we had\n// for a short time.\n\nexport default Route.extend({\n  beforeModel(params) {\n    let inboxRegex = /\\/apps\\/.+\\/inbox\\/a\\/(.+)/;\n    let convoRegex = /\\/apps\\/.+\\/inbox\\/a\\/(.+)\\/conversations\\/([0-9]+)/;\n    let convoMatch = params.intent.url.match(convoRegex);\n    let inboxMatch = params.intent.url.match(inboxRegex);\n    if (convoMatch) {\n      this.replaceWith(`apps.app.inbox.conversation`, convoMatch[2]);\n    } else if (inboxMatch) {\n      this.replaceWith(`apps.app.inbox`);\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  beforeModel(transition) {\n    let originalTarget = transition.targetName;\n    let newTarget = originalTarget.replace('apps.app.inbox.reporting', 'apps.app.reports.inbox');\n    return this.replaceWith(newTarget);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  analytics: {\n    place: 'rules',\n  },\n\n  titleToken: 'Inbox Rules',\n\n  beforeModel() {\n    let app = this.modelFor('apps.app');\n    if (!app.get('inboxIsActive')) {\n      return this.replaceWith('apps.app.inbox');\n    }\n    return this.transitionTo('apps.app.inbox.automation.assignment');\n  },\n});\n","import BaseProductIndexRoute from 'embercom/routes/base/product-index-route';\nimport storage from 'embercom/vendor/intercom/storage';\n\nexport default BaseProductIndexRoute.extend({\n  defaultRoutePath: 'apps.app.users',\n\n  afterModel(model, transition) {\n    let forcePlatform = transition.to.queryParams.forcePlatform;\n    let lastProductUsed = storage.get('lastProductUsed');\n\n    if (forcePlatform) {\n      return this._super(...arguments);\n    } else if (lastProductUsed) {\n      try {\n        this.replaceWith(`apps.app.${lastProductUsed}`);\n      } catch (e) {\n        console.error(\n          'Erorr during using lastProductUsed value to navigate. Key removed from local storage.',\n          'lastProductUsed value:',\n          lastProductUsed,\n          'Error:',\n          e,\n        );\n        storage.remove('lastProductUsed');\n        return this._super(...arguments);\n      }\n    } else {\n      return this._super(...arguments);\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nexport default Route.extend({\n  bootService: service(),\n  beforeModel() {\n    this.bootService.deferSecondaryPhase();\n  },\n});\n","import Route from '@ember/routing/route';\n\nexport default class MessagesRoute extends Route {\n  redirect(model, transition) {\n    if (transition.to.name.startsWith('apps.app.messages.')) {\n      let route = transition.to.name.replace('apps.app.messages', 'apps.app.outbound');\n      if (transition.to.params.id) {\n        this.replaceWith(route, transition.to.params.id);\n      } else {\n        this.replaceWith(route);\n      }\n    }\n  }\n}\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { hash } from 'rsvp';\nimport { adminHasSeen } from 'embercom/lib/admin-view-tracking';\n\nexport default IntercomRoute.extend({\n  intercomEventService: service(),\n  analytics: {\n    place: 'messenger_settings',\n    section: 'messenger',\n  },\n\n  titleToken: 'Messenger Settings',\n\n  appService: service(),\n  app: readOnly('appService.app'),\n  permissionsService: service(),\n\n  beforeModel(transition) {\n    this.permissionsService.ensurePermissionWhenTransitioning(\n      'can_manage_messenger_settings',\n      transition,\n    );\n  },\n\n  activate() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'visited',\n      object: 'messenger_settings',\n      place: 'messenger_settings',\n    });\n  },\n\n  model() {\n    let appId = this.get('app.id');\n    let hasDismissedBrandBanner = adminHasSeen(this.store, 'multibrand_banner_dismissed');\n\n    return hash({\n      settings: this.store.findRecord('messenger-settings/all', appId),\n      hasDismissedBrandBanner,\n    });\n  },\n\n  setupController(controller, model) {\n    let showBrandBanner =\n      !model.hasDismissedBrandBanner && model.settings.lookAndFeel.brands.length === 1;\n    controller.setProperties({\n      model: model.settings,\n      showBrandBanner,\n    });\n  },\n\n  actions: {\n    willTransition(transition) {\n      if (this.get('controller.model.hasUnsavedChanges')) {\n        if (!confirm('Warning: You have unsaved changes. Do you want to discard them?')) {\n          transition.abort();\n        } else {\n          this.get('controller.model').refresh();\n        }\n      }\n    },\n\n    didTransition() {\n      this._super();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  purchaseAnalyticsService: service(),\n  onboardingHomeService: service(),\n  activate() {\n    $('body').addClass('responsive');\n    this.controllerFor('apps.app').set('showPrimaryNav', false);\n\n    this.purchaseAnalyticsService.trackPageView({\n      action: 'viewed',\n      context: 'mobile_welcome',\n      place: 'mobile_welcome',\n      object: 'mobile_welcome',\n      mobile: true,\n    });\n  },\n  async model() {\n    await this.onboardingHomeService.loadGuide();\n    return this.get('onboardingHomeService.guide');\n  },\n  deactivate() {\n    $('body').removeClass('responsive');\n    this.controllerFor('apps.app').set('showPrimaryNav', true);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { hash } from 'rsvp';\n\nconst OPERATOR_CLASSIC_ROUTE = 'apps.app.operator.index';\nconst OPERATOR_TASK_BOTS_ROUTE = 'apps.app.operator.task-bots';\n\nexport default Route.extend({\n  buildRouteInfoMetadata() {\n    return {\n      responsibleTeam: 'team-operator',\n    };\n  },\n  beforeModel(transition) {\n    if (transition.to.name === OPERATOR_CLASSIC_ROUTE) {\n      this.replaceWith(OPERATOR_TASK_BOTS_ROUTE);\n    }\n  },\n\n  model() {\n    let app = this.modelFor('apps/app');\n    return hash({\n      lookAndFeel: this.store.findRecord('messenger-settings/look-and-feel', app.get('id')),\n      availability: this.store.findRecord('messenger-settings/availability', app.get('id')),\n    });\n  },\n\n  setupController(controller, model) {\n    this._super(...arguments);\n    controller.initializeConfigurationModel();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { hash } from 'rsvp';\n\nexport default Route.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  titleToken: 'Custom Bots',\n  analytics: {\n    place: 'custom-bots',\n    section: 'operator',\n  },\n\n  beforeModel() {\n    this.intercomEventService.trackEvent('visited-custom-bots', {\n      onMatchingSystem: true,\n    });\n  },\n\n  model() {\n    let findDescriptorPromise = async () => {\n      if (this.app.canUseConversationAttributeData) {\n        return this.store.findAll('conversation-attributes/descriptor');\n      }\n    };\n    return Promise.all([\n      findDescriptorPromise(),\n      this.store.findAll('people/qualification-attribute'),\n      this.store.findAll('messenger-app'),\n    ]).then(response => {\n      return hash({\n        qualificationAttributes: response[1],\n        messengerApps: response[2],\n      });\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nconst findCustomBotByBotAutoMessageId = (customBots, id) =>\n  customBots.find(customBot => {\n    let firstInitiator = customBot.get('initiators.firstObject');\n    return (\n      firstInitiator &&\n      firstInitiator.get('type') === 'operator/custom-bots/initiators/bot-auto-message-summary' &&\n      firstInitiator.get('id').toString() === id.toString()\n    );\n  });\n\nexport default Route.extend({\n  intercomEventService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  model(params) {\n    return this.store\n      .findAll('operator/custom-bot-summary')\n      .then(customBots => findCustomBotByBotAutoMessageId(customBots, params.id));\n  },\n\n  afterModel(customBot, _transition) {\n    if (customBot) {\n      this.transitionTo('apps.app.operator.custom-bots.custom-bot.show', customBot.id);\n    } else {\n      this.transitionTo('apps.app.operator.custom-bots.index');\n    }\n  },\n});\n","import ContentEditorRoute from 'embercom/routes/apps/app/content/edit';\n\nexport default class AppsAppContentEditRoute extends ContentEditorRoute {\n  setupController(_, model) {\n    super.setupController(...arguments);\n\n    this.controllerFor('apps.app.operator').set(\n      'currentViewedCustomBotTarget',\n      model.rulesetLinks.firstObject.object.target,\n    );\n    this.controllerFor('apps.app.operator.custom-bots').set('hidePaywallBanner', true);\n  }\n\n  resetController() {\n    super.resetController(...arguments);\n\n    this.controllerFor('apps.app.operator').set('currentViewedCustomBotTarget', undefined);\n    this.controllerFor('apps.app.operator.custom-bots').set('hidePaywallBanner', false);\n  }\n}\n","import Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport {\n  INBOUND_BOT_TYPE,\n  BUTTON_BOT_TYPE,\n  OUTBOUND_BOT_TYPE,\n} from 'embercom/lib/operator/custom-bots/constants';\n\nexport default class CustomBot extends Route {\n  @service notificationsService;\n\n  inboundRoute = 'apps.app.operator.custom-bots.inbound-custom-bot.edit';\n  outboundRoute = 'apps.app.operator.custom-bots.outbound.edit';\n  buttonRoute = 'apps.app.operator.custom-bots.button-custom-bot.edit';\n\n  model(params) {\n    try {\n      return this.store.findRecord('operator/custom-bot', params.id);\n    } catch (err) {\n      console.error(err);\n      this.notificationsService.notifyError('Sorry, there was an error loading that Custom Bot');\n      this.replaceWith('apps.app.operator.custom-bots.index');\n    }\n  }\n\n  afterModel(customBot) {\n    if (customBot.type === OUTBOUND_BOT_TYPE && customBot.rulesetId) {\n      this.replaceWith(this.outboundRoute, customBot.rulesetId);\n    } else if (customBot.type === INBOUND_BOT_TYPE && customBot.rulesetId) {\n      this.replaceWith(this.inboundRoute, customBot.rulesetId);\n    } else if (customBot.type === BUTTON_BOT_TYPE && customBot.rulesetId) {\n      this.replaceWith(this.buttonRoute, customBot.rulesetId);\n    } else {\n      console.error(\"Custom Bot doesn't have associated ruleset\");\n      this.notificationsService.notifyError('Sorry, there was an error loading that Custom Bot');\n      this.replaceWith('apps.app.operator.custom-bots.index');\n    }\n  }\n}\n","import ContentEditorRoute from 'embercom/routes/apps/app/content/edit';\n\nexport default class AppsAppContentEditRoute extends ContentEditorRoute {\n  setupController(_, model) {\n    super.setupController(...arguments);\n\n    this.controllerFor('apps.app.operator').set(\n      'currentViewedCustomBotTarget',\n      model.rulesetLinks.firstObject.object.target,\n    );\n    this.controllerFor('apps.app.operator.custom-bots').set('hidePaywallBanner', true);\n  }\n\n  resetController() {\n    super.resetController(...arguments);\n\n    this.controllerFor('apps.app.operator').set('currentViewedCustomBotTarget', undefined);\n    this.controllerFor('apps.app.operator.custom-bots').set('hidePaywallBanner', false);\n  }\n}\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport { hash } from 'rsvp';\nimport { readOnly } from '@ember/object/computed';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport { statisticKeys } from 'embercom/models/data/outbound/constants';\nimport {\n  EVERYONE_TARGET,\n  NEW_CONVERSATION_TARGET,\n  OUTBOUND_TARGET,\n} from 'embercom/lib/operator/custom-bots/constants';\n\nexport default IntercomRoute.extend({\n  intercomEventService: service(),\n  outboundHomeService: service(),\n  app: readOnly('outboundHomeService.app'),\n  tagService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n\n  queryParams: {\n    target: {\n      replace: true,\n      refreshModel: true,\n    },\n    state: {\n      replace: true,\n    },\n  },\n\n  statistics: [\n    statisticKeys.receipts,\n    statisticKeys.goals,\n    statisticKeys.replies,\n    statisticKeys.completions,\n  ],\n\n  beforeModel() {\n    this.outboundHomeService.setSearchParams({\n      selectedMatchBehaviorValue: null,\n    });\n  },\n\n  async model({ target, state }) {\n    let unknownTarget =\n      target !== EVERYONE_TARGET &&\n      target !== NEW_CONVERSATION_TARGET &&\n      target !== OUTBOUND_TARGET;\n\n    if (unknownTarget) {\n      let target = OUTBOUND_TARGET;\n      this.transitionTo(this.routeName, { queryParams: { target } });\n    }\n\n    let templates;\n    if (this.app.canUseOperatorTemplateModal) {\n      templates = this.store.findAll('template');\n    } else {\n      templates = this.store.query('operator/custom-bot-template', { target });\n    }\n\n    let promiseParams = {\n      templates,\n      accounts: this.store.findAll('account'),\n      messagesTags: this.tagService.getMessagesTags(this.app),\n      state,\n    };\n\n    if (\n      !this._shouldSeeOutboundIa(target) &&\n      !this._shouldSeeInboundIa(target) &&\n      !this._shouldSeeButtonIa(target)\n    ) {\n      return await hash(promiseParams);\n    }\n\n    this.outboundHomeService.setActiveList(this._getObjectType(target));\n\n    promiseParams.searchResponse = this.outboundHomeService.isFirstRequest\n      ? this.contentSearchWithParams({ target, state })\n      : this.contentSearch({ target });\n\n    let results = await hash(promiseParams);\n\n    return {\n      contentWrappers: results.searchResponse.contentWrappers,\n      pageFrom: results.searchResponse.pageFrom,\n      perPage: results.searchResponse.perPage,\n      totalCount: results.searchResponse.totalCount,\n      totalPages: results.searchResponse.totalPages,\n      lastPageHit: results.searchResponse.lastPageHit,\n      templates: results.templates,\n      accounts: results.accounts,\n      state: results.state,\n      messagesTags: results.messagesTags,\n    };\n  },\n\n  _shouldSeeOutboundIa(target) {\n    return target === OUTBOUND_TARGET;\n  },\n\n  _shouldSeeInboundIa(target) {\n    return target === NEW_CONVERSATION_TARGET;\n  },\n\n  _shouldSeeButtonIa(target) {\n    return target === EVERYONE_TARGET;\n  },\n\n  _getObjectType(target) {\n    if (target === OUTBOUND_TARGET) {\n      return objectTypes.customBot;\n    } else if (target === NEW_CONVERSATION_TARGET) {\n      return objectTypes.inboundCustomBot;\n    } else {\n      return objectTypes.buttonCustomBot;\n    }\n  },\n\n  async contentSearchWithParams(params) {\n    this._setOutboundHomeServiceFromParams(params);\n    return await this.contentSearch(params);\n  },\n\n  _setOutboundHomeServiceFromParams(params) {\n    if (params.tagIds) {\n      this.outboundHomeService.selectedTagValues = params.tagIds.split(',');\n    }\n    if (params.audiences) {\n      this.outboundHomeService.selectedAudienceValues = params.audiences.split(',');\n    }\n    if (params.state) {\n      this.outboundHomeService.selectedStateValue = parseInt(params.state, 10);\n    }\n  },\n\n  async contentSearch(params) {\n    let response = await this.outboundHomeService.contentSearchWithFilters({\n      object_types: [this._getObjectType(params.target)],\n      app_id: this.app.id,\n      per_page: 100,\n      statistics: this.statistics,\n    });\n    return response;\n  },\n\n  setupController(controller, model, transition) {\n    this._super(...arguments);\n\n    let showUpgradeModal =\n      transition &&\n      transition.to &&\n      transition.to.queryParams &&\n      transition.to.queryParams.add_custom_bots_modal;\n    if (showUpgradeModal) {\n      controller.set('launchUpgradeModal', true);\n    }\n\n    controller.setProperties({\n      model: model.contentWrappers,\n      pageFrom: model.pageFrom,\n      perPage: model.perPage,\n      totalCount: model.totalCount,\n      totalPages: model.totalPages,\n      lastPageHit: model.lastPageHit,\n      templates: model.templates,\n      objectTypes: [this._getObjectType(transition.to.queryParams.target)],\n      statistics: this.statistics,\n      messagesTags: model.messagesTags,\n    });\n  },\n\n  resetController(controller) {\n    controller.set('launchUpgradeModal', false);\n  },\n\n  actions: {\n    didTransition() {\n      this._super();\n      let params = this.paramsFor(this.fullRouteName) || {};\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'viewed',\n        object: 'operator-custom-bots',\n        target: params.target,\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { CUSTOM_BOT_REQUIRED_PERMISSION } from 'embercom/lib/operator/custom-bots/constants';\n\nexport default Route.extend({\n  appService: service(),\n  intercomEventService: service(),\n  notificationsService: service(),\n  editRoute: 'apps.app.operator.custom-bots.custom-bot.edit',\n  indexRoute: 'apps.app.operator.custom-bots.index',\n  reportingRoute: 'apps.app.operator.reporting',\n\n  beforeModel(transition) {\n    let hasPermission = this.permissionsService.currentAdminCan(CUSTOM_BOT_REQUIRED_PERMISSION);\n\n    if (hasPermission) {\n      this.createBotAndTransitionToEdit(transition.to.queryParams);\n    } else {\n      this.permissionsService.loadAllAdminsAndShowPermissionRequestModal(\n        CUSTOM_BOT_REQUIRED_PERMISSION,\n      );\n      this.transitionTo(this.indexRoute);\n    }\n  },\n\n  createBotAndTransitionToEdit(queryParams) {\n    let templateId = queryParams.templateId;\n    let createdFrom = queryParams.createdFrom;\n    let target = queryParams.target;\n    this.trackNewBotEvent(templateId, createdFrom, target);\n    let customBot = this.createCustomBot(templateId, target);\n    customBot\n      .save()\n      .then(bot => {\n        if (customBot.get('hasNoTemplate')) {\n          bot.set('title', undefined);\n        }\n        bot.set('isNewCustomBot', true);\n        bot.initiators.toArray().forEach(initiator => initiator.unloadRecord());\n        return bot.reload();\n      })\n      .then(bot => this.replaceWith(this.editRoute, bot.get('id')))\n      .catch(error => {\n        console.error(error);\n        customBot.unloadRecord();\n        this.displayError(error);\n        return this.transitionAfterError(createdFrom);\n      });\n  },\n\n  displayError(error) {\n    this.notificationsService.notifyResponseError(error, {\n      default:\n        'Couldnʼt create a new Custom Bot. Send us a message and weʼll do our best to help out.',\n      413: 'You have reached the maximum number of custom bots. Please delete some to build more.',\n    });\n  },\n\n  transitionAfterError(createdFrom) {\n    if (createdFrom === 'reporting') {\n      return this.transitionTo(this.reportingRoute);\n    }\n    return this.transitionTo(this.indexRoute);\n  },\n\n  createCustomBot(templateId, target) {\n    let initiator = this.createInitiator(target);\n    let customBot = this.store.createRecord('operator/custom-bot', {\n      initiators: [initiator],\n    });\n    if (templateId) {\n      customBot.set('templateId', templateId);\n    }\n\n    return customBot;\n  },\n\n  createInitiator(target) {\n    let initiator;\n\n    if (target === 'everyone') {\n      initiator = this.store.createRecord('operator/custom-bots/initiators/messenger-trigger');\n    } else if (target === 'new-conversation') {\n      initiator = this.store.createRecord('operator/custom-bots/initiators/inbound-trigger');\n    } else {\n      initiator = this.store.createRecord('operator/custom-bots/initiators/bot-auto-message', {\n        target,\n      });\n    }\n\n    return initiator;\n  },\n\n  trackNewBotEvent(templateId, context, target) {\n    let analyticsData = {\n      action: 'clicked',\n      context,\n      object: 'new-workflow',\n      target,\n    };\n    if (templateId) {\n      analyticsData.object = 'new-workflow-from-template';\n      analyticsData.workflow_template_id = templateId;\n    }\n    this.intercomEventService.trackAnalyticsEvent(analyticsData);\n  },\n});\n","import ContentEditorRoute from 'embercom/routes/apps/app/content/edit';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class AppsAppContentEditRoute extends ContentEditorRoute {\n  afterModel() {\n    this.outboundHomeService.setActiveList(objectTypes.customBot);\n    super.afterModel(...arguments);\n  }\n\n  setupController(_, model) {\n    super.setupController(...arguments);\n\n    this.controllerFor('apps.app.operator').set(\n      'currentViewedCustomBotTarget',\n      model.rulesetLinks.firstObject.object.target,\n    );\n    this.controllerFor('apps.app.operator.custom-bots').set('hidePaywallBanner', true);\n  }\n\n  resetController() {\n    super.resetController(...arguments);\n\n    this.controllerFor('apps.app.operator').set('currentViewedCustomBotTarget', undefined);\n    this.controllerFor('apps.app.operator.custom-bots').set('hidePaywallBanner', false);\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  beforeModel(transition) {\n    let originalTarget = transition.targetName;\n    let newTarget = originalTarget.replace(\n      'apps.app.operator.custom-bots.reporting',\n      'apps.app.reports.operator.custom-bots',\n    );\n    return this.replaceWith(newTarget);\n  },\n});\n","import BaseProductIndexRoute from 'embercom/routes/base/product-index-route';\n\nexport default class IndexRoute extends BaseProductIndexRoute {\n  defaultRoutePath = 'apps.app.operator.task-bots';\n  shouldRedirect = true;\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default Route.extend({\n  intercomEventService: service(),\n  titleToken: 'Resolution Bot',\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n\n  setupController(controller, model, transition) {\n    this._super(...arguments);\n\n    let showUpgradeModal =\n      transition &&\n      transition.to &&\n      transition.to.queryParams &&\n      transition.to.queryParams.add_answer_bot_modal;\n    if (showUpgradeModal) {\n      controller.set('launchUpgradeModal', true);\n    }\n  },\n\n  resetController(controller) {\n    controller.set('launchUpgradeModal', false);\n  },\n\n  actions: {\n    didTransition() {\n      this.intercomEventService.trackEvent('answer-bot-visited');\n    },\n  },\n});\n","import ErrorHandlingRoute from 'embercom/routes/base/error-handling-route';\n\nexport default ErrorHandlingRoute.extend({\n  titleToken: answerModel => answerModel.get('title') || 'New Answer',\n\n  analytics: {\n    section: 'operator',\n    place: 'answer',\n  },\n\n  model({ answer_id }) {\n    return this.store.findRecord('answers/answer', answer_id, {\n      reload: true,\n      include: 'example_questions,control_criteria,multipart_response,stats,ruleset',\n    });\n  },\n\n  async afterModel(model) {\n    let appId = this.modelFor('apps.app').get('id');\n    let lookAndFeel = await this.store.findRecord('messenger-settings/look-and-feel', appId);\n    this.set('messengerSettingsLookAndFeel', lookAndFeel);\n  },\n\n  handleError(error, transition) {\n    switch (error.status) {\n      case 404:\n        return this.displayErrorAndRedirect(\n          'Sorry but that answer does not exist',\n          this.transitionTo('apps.app.operator.resolution-bot'),\n        );\n      default:\n        return this.displayErrorAndRedirect(\n          \"We couldn't load the answer. Something went wrong on our side, please contact support.\",\n          this.transitionTo('apps.app.operator.resolution-bot'),\n        );\n    }\n  },\n\n  setupController(controller) {\n    this._super(...arguments);\n\n    let lookAndFeel = this.messengerSettingsLookAndFeel;\n    let previewConfiguration = this.store.createFragment(\n      'messenger-preview/configuration',\n      lookAndFeel.get('previewConfigurationParams'),\n    );\n    controller.set('previewConfiguration', previewConfiguration);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Route.extend({\n  intercomEventService: service(),\n  router: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  beforeModel(transition) {\n    this.permissionsService.ensurePermissionWhenTransitioning(\n      'can_create_and_edit_bots',\n      transition,\n      'apps.app.operator.resolution-bot.answers.answer.show',\n    );\n    let queryParams = transition.to.queryParams;\n    this.set('previousShowPageAnswerId', queryParams.previousShowPageAnswerId);\n    this.set('prepopulatedSearchTerm', queryParams.prepopulatedSearchTerm);\n    this.set('expandSelectedExamples', queryParams.expandSelectedExamples);\n    this.set('clusterId', queryParams.clusterId);\n  },\n\n  async afterModel(answer) {\n    let suggestedAnswerClustersModelKey = this.app.canUseSuggestedAnswers\n      ? 'answers/cluster'\n      : 'answers/suggested-answer-cluster';\n    let suggestedAnswerClusters = await this.store.findAll(suggestedAnswerClustersModelKey, {\n      reload: true,\n    });\n    let resolutionBotLoopingSettings = await this.store.findRecord(\n      'operator/resolution-bot-looping-settings',\n      this.app.id,\n    );\n\n    this.set('suggestedAnswerClusters', suggestedAnswerClusters);\n    this.set('resolutionBotLoopingSettings', resolutionBotLoopingSettings);\n  },\n\n  setupController(controller) {\n    this._super(...arguments);\n\n    controller.set('suggestedAnswerClusters', this.suggestedAnswerClusters);\n    controller.set('resolutionBotLoopingSettings', this.resolutionBotLoopingSettings);\n    controller.set('previousShowPageAnswerId', this.previousShowPageAnswerId);\n    controller.set('prepopulatedSearchTerm', this.prepopulatedSearchTerm);\n    controller.set('expandSelectedExamples', this.expandSelectedExamples);\n    controller.set('clusterId', this.clusterId);\n    controller.set(\n      'transitionedFromAnswerShowPage',\n      this.router.currentRouteName === 'apps.app.operator.resolution-bot.answers.answer.show.index',\n    );\n  },\n\n  activate() {\n    window.onbeforeunload = e => {\n      let answer = this.controller.model;\n      if (answer && answer.isThisOrRulesetDirty) {\n        let text = 'Warning: You have unsaved changes. Do you want to leave the page?';\n        e.returnValue = text;\n        return text;\n      }\n    };\n  },\n\n  deactivate() {\n    window.onbeforeunload = undefined;\n  },\n\n  actions: {\n    willTransition(transition) {\n      let answer = this.controller.model;\n      if (answer && answer.isThisOrRulesetDirty) {\n        transition.abort();\n\n        let confirmOptions = {\n          title: 'Close without saving?',\n          primaryButtonType: 'primary-destructive',\n          confirmButtonText: 'Close without saving',\n          cancelButtonText: 'Keep editing',\n          body: \"You'll lose your changes if you don't save first.\",\n        };\n        intercomConfirm(this, confirmOptions).then(() => {\n          this.intercomEventService.trackAnalyticsEvent({\n            action: 'closed_without_saving',\n            object: answer,\n          });\n          answer.rollbackAttributes();\n          transition.retry();\n        });\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  intercomEventService: service(),\n  queryParams: { eventType: { refreshModel: true } },\n  resetController(controller) {\n    controller.set('eventType', null);\n  },\n\n  actions: {\n    didTransition() {\n      let answer = this.get('controller.model');\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'viewed',\n        object: answer,\n        from_template: answer.get('fromTemplate'),\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport { hash } from 'rsvp';\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { readOnly } from '@ember/object/computed';\nimport {\n  IMPORT_BANNER_PAGEVIEW_KEY,\n  ANSWERS_INDEX_PAGEVIEW_KEY,\n} from 'embercom/lib/operator/answer-bot/constants';\nimport { inject as service } from '@ember/service';\nimport { adminHasSeenFromPageviews, fetchAdminPageviews } from 'embercom/lib/admin-view-tracking';\n\nexport default IntercomRoute.extend({\n  intercomEventService: service(),\n  frontendStatsService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  analytics: {\n    section: 'operator',\n    place: 'answers_index_page',\n  },\n\n  loadingAnimationIsActive: false,\n  hasSeenImportBanner: true,\n\n  async beforeModel() {\n    let adminPageviews = await fetchAdminPageviews(this.store);\n\n    let hasSeenImportBanner = adminHasSeenFromPageviews(adminPageviews, IMPORT_BANNER_PAGEVIEW_KEY);\n    let hasSeenAnswerAnimation = adminHasSeenFromPageviews(\n      adminPageviews,\n      ANSWERS_INDEX_PAGEVIEW_KEY,\n    );\n\n    if (!hasSeenAnswerAnimation || !hasSeenImportBanner) {\n      return this.setProperties({\n        loadingAnimationIsActive: !hasSeenAnswerAnimation,\n        hasSeenImportBanner,\n      });\n    }\n\n    this.set('loadingAnimationIsActive', false);\n    this.set('hasSeenImportBanner', true);\n  },\n\n  model() {\n    this.frontendStatsService.startInteractionTime('AnswerBot Index page model hook');\n\n    let suggestedAnswerClustersModelKey = this.app.canUseSuggestedAnswers\n      ? 'answers/cluster'\n      : 'answers/suggested-answer-cluster';\n\n    let model = hash({\n      answers: this.store.findAll('answers/answer', { reload: true, include: 'stats' }),\n      suggestedAnswerClusters: this.store.findAll(suggestedAnswerClustersModelKey, {\n        reload: true,\n      }),\n      conversationImports: this.store.findAll('conversation-import'),\n      resolutionBotSettings: this.store.findRecord(\n        'operator/resolution-bot-settings',\n        this.get('app.id'),\n      ),\n    });\n\n    this.frontendStatsService.stopInteractionTime('AnswerBot Index page model hook');\n    return model;\n  },\n\n  afterModel(model, transition) {\n    if (!transition.to.queryParams.status && model.answers.any(answer => answer.get('isLive'))) {\n      if (transition.sequence === 0) {\n        // There's a bug where queryParams are getting stripped when using replaceWith / transitionTo in afterModel\n        // workaround: https://github.com/emberjs/ember.js/issues/12169#issuecomment-380543689\n        transition.abort();\n        return this.replaceWith(this.routeName, { queryParams: { status: 'live' } });\n      }\n    }\n\n    if (model.suggestedAnswerClusters?.length > 0) {\n      model.suggestedAnswerClusters = model.suggestedAnswerClusters\n        .sortBy('examples.length')\n        .reverse();\n    }\n  },\n\n  setupController(controller, { answers }) {\n    this._super(...arguments);\n\n    controller.setProperties({\n      loadingAnimationIsActive: this.loadingAnimationIsActive,\n      hasSeenImportBanner: this.hasSeenImportBanner,\n    });\n  },\n\n  actions: {\n    refreshRoute() {\n      this.refresh();\n    },\n\n    didTransition() {\n      this._super();\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'viewed',\n        object: 'all_answers',\n        clusters_available: this.get('context.suggestedAnswerClusters.length') > 0,\n      });\n\n      // zendesk import email click analytics\n      if (\n        this.controller.get('importType') === 'zendesk_chat' &&\n        this.controller.get('importStatus') === 'success'\n      ) {\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'viewed',\n          object: 'main_page',\n          context: 'from_zendesk_chat_import_email',\n        });\n        // reset query params so that they don't persist when navigating back to the page\n        this.controller.set('importType', null);\n        this.controller.set('importStatus', null);\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default Route.extend({\n  intercomEventService: service(),\n  answerFollowOnCreationService: service(),\n\n  async beforeModel(transition) {\n    let queryParams = transition.to.queryParams;\n    this.intercomEventService.trackEvent('answer-bot-interacted');\n\n    this.permissionsService.ensurePermissionWhenTransitioning(\n      'can_create_and_edit_bots',\n      transition,\n    );\n\n    let answer = await this._createAnswer(queryParams).save();\n\n    if (queryParams.suggestionId) {\n      this._applySuggestedCluster(answer, queryParams.suggestionId, queryParams.clusterPosition);\n    } else if (queryParams.clusterId && queryParams.exampleIds) {\n      this._applyClusterExample(answer, queryParams.clusterId, queryParams.exampleIds);\n    } else {\n      this.intercomEventService.trackAnalyticsEvent({\n        answer_id: answer.get('id'),\n        place: 'answers_index_page',\n        action: 'clicked',\n        object: 'new_answer',\n      });\n    }\n\n    if (this.answerFollowOnCreationService.questionsSelected) {\n      Object.keys(this.answerFollowOnCreationService.questionsSelected).forEach(key => {\n        let question = this.answerFollowOnCreationService.questionsSelected[key].text;\n        let cluster = this.store.createRecord('answers/suggested-answer-cluster', {\n          archetype: question,\n        });\n        answer.applySuggestedCluster(cluster);\n      });\n\n      this.answerFollowOnCreationService.reset();\n    }\n\n    this.replaceWith('apps.app.operator.resolution-bot.answers.answer.edit', answer, {\n      queryParams,\n    });\n  },\n\n  _createAnswer({ language }) {\n    return this.store.createRecord('answers/answer', {\n      appId: this.modelFor('apps.app').get('id'),\n      languageCode: language,\n    });\n  },\n\n  _applySuggestedCluster(answer, suggestionId, clusterPosition) {\n    let cluster = this.store.peekRecord('answers/suggested-answer-cluster', suggestionId);\n    this.intercomEventService.trackAnalyticsEvent({\n      answer_id: answer.get('id'),\n      place: 'answers_index_page',\n      action: 'clicked',\n      object: 'create_new_answer',\n      context: 'from_clusters',\n      keywords: cluster.get('archetype'),\n      tile_position: clusterPosition < 0 ? null : clusterPosition + 1,\n    });\n    answer.applySuggestedCluster(cluster);\n  },\n\n  _applyClusterExample(answer, clusterId, exampleIds) {\n    let cluster = this.store.peekRecord('answers/cluster', clusterId);\n    this.intercomEventService.trackAnalyticsEvent({\n      answer_id: answer.get('id'),\n      place: 'answers_suggestions_page',\n      action: 'clicked',\n      object: 'create_new_answer',\n      context: 'from_clusters',\n      archetype: cluster.archetype.text,\n    });\n\n    let examples = [];\n    exampleIds.split(',').forEach(function(exampleId) {\n      let example = cluster.examples.findBy('id', exampleId);\n      examples.push(example);\n    });\n    answer.applyExample(cluster, examples);\n  },\n});\n","import Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default class Suggestions extends Route {\n  @service appService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  async model() {\n    return this.store.findAll('answers/cluster');\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  beforeModel() {\n    this.replaceWith('apps.app.operator.resolution-bot');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  beforeModel(transition) {\n    let originalTarget = transition.targetName;\n    let newTarget = originalTarget.replace(\n      'apps.app.operator.resolution-bot.reporting',\n      'apps.app.reports.operator.resolution-bot',\n    );\n    return this.replaceWith(newTarget);\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport { hash } from 'rsvp';\n\nconst OPERATOR_SETTINGS_PERMISSION = 'can_create_and_edit_bots';\n\nexport default IntercomRoute.extend({\n  intercomEventService: service(),\n  titleToken: 'Operator Settings',\n  analytics: {\n    place: 'settings',\n    section: 'operator',\n  },\n  appService: service(),\n  permissionsService: service(),\n\n  beforeModel(transition) {\n    this.permissionsService.ensurePermissionWhenTransitioning(\n      OPERATOR_SETTINGS_PERMISSION,\n      transition,\n      'apps.app.operator.task-bots',\n    );\n  },\n\n  model(params) {\n    let appId = this.get('appService.app.id');\n    let messengerSettingsPromise = this.store.findRecord('messenger-settings/all', appId);\n    let operatorIdentityPromise = this.store.findRecord('operator-identity', '1');\n    let customBotsSettingsPromise = this.store.findRecord('operator/custom-bots-settings', appId);\n    let conversationImportsPromise = this.store.findAll('conversation-import');\n    let botInboxSettingsPromise = this.store.findRecord('operator-bot-inbox-settings', appId);\n    let resolutionBotSettingsPromise = this.store.findRecord(\n      'operator/resolution-bot-settings',\n      appId,\n    );\n    let resolutionBotLoopingSettingsPromise = this.store.findRecord(\n      'operator/resolution-bot-looping-settings',\n      appId,\n    );\n    return hash({\n      identity: operatorIdentityPromise,\n      messengerSettings: messengerSettingsPromise,\n      conversationImports: conversationImportsPromise,\n      customBotsSettings: customBotsSettingsPromise,\n      botInboxSettings: botInboxSettingsPromise,\n      resolutionBotSettings: resolutionBotSettingsPromise,\n      resolutionBotLoopingSettings: resolutionBotLoopingSettingsPromise,\n    });\n  },\n\n  setupController(controller, model) {\n    this._super(...arguments);\n    controller.set('previewConfiguration', model.messengerSettings.get('previewConfiguration'));\n  },\n\n  actions: {\n    refreshRoute() {\n      this.refresh();\n    },\n    didTransition() {\n      this._super();\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'viewed',\n        object: 'operator_settings',\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nconst DEFAULT_ROUTE = 'apps.app.operator.task-bots.leads';\n\nexport default IntercomRoute.extend({\n  intercomEventService: service(),\n  navbarCollapsingService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  titleToken: 'Task Bots',\n  warningMessage: 'Warning: You have unsaved changes. Do you want to leave the page?',\n\n  model() {\n    let findDescriptorPromise = async () => {\n      if (this.app.canUseConversationAttributeData) {\n        return this.store.findAll('conversation-attributes/descriptor');\n      }\n    };\n    return Promise.all([\n      findDescriptorPromise(),\n      this.store.findRecord('operator-settings/task-bots', this.get('app.id')),\n    ]).then(response => {\n      return response[1];\n    });\n  },\n\n  beforeModel(transition) {\n    let targetRoute = transition.to.name;\n    if (\n      targetRoute === 'apps.app.operator.task-bots' ||\n      targetRoute === 'apps.app.operator.task-bots.index'\n    ) {\n      this.transitionTo(DEFAULT_ROUTE);\n    }\n  },\n\n  activate() {\n    this._super(...arguments);\n    window.onbeforeunload = () => {\n      let controller = this.controller;\n      if (controller.currentTaskHasChanged()) {\n        return this.warningMessage;\n      }\n    };\n    this.navbarCollapsingService.setActiveSubmenu('Operator');\n    if (this.get('navbarCollapsingService.collapsed')) {\n      this.navbarCollapsingService.toggleNavbarCollapsed();\n    }\n  },\n\n  deactivate() {\n    window.onbeforeunload = undefined;\n  },\n\n  actions: {\n    didTransition() {\n      let settings = this.get('controller.settings').serialize();\n      let eventsService = this.intercomEventService;\n      eventsService.trackAnalyticsEvent({\n        action: 'visited',\n        object: 'task_bots_settings',\n        settings,\n      });\n      this._super();\n    },\n\n    willTransition(transition) {\n      let controller = this.controller;\n      if (controller.currentTaskHasChanged() && !window.confirm(this.warningMessage)) {\n        transition.abort();\n        return;\n      } else if (transition.to.name === 'apps.app.operator.task-bots.index') {\n        this.transitionTo(DEFAULT_ROUTE);\n      }\n    },\n  },\n});\n","import TaskBotBase from 'embercom/routes/apps/app/operator/task-bots';\n\nexport default TaskBotBase.extend({\n  analytics: {\n    place: 'task_bots_leads',\n    section: 'operator',\n  },\n});\n","import TaskBotBase from 'embercom/routes/apps/app/operator/task-bots';\n\nexport default TaskBotBase.extend({\n  analytics: {\n    place: 'task_bots_teammates',\n    section: 'operator',\n  },\n});\n","import TaskBotBase from 'embercom/routes/apps/app/operator/task-bots';\n\nexport default TaskBotBase.extend({\n  analytics: {\n    place: 'task_bots_users',\n    section: 'operator',\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport EmailTemplate from 'embercom/models/email-template';\nimport MessagesRealtimeStats from 'embercom/routes/mixins/messages/messages-realtime-stats';\nimport storage from 'embercom/vendor/intercom/storage';\nimport { hash, resolve } from 'rsvp';\nimport { behaviorMap } from 'embercom/models/data/matching-system/matching-constants';\nimport { fetchAdminPageviews } from 'embercom/lib/admin-view-tracking';\n\nexport default Route.extend(MessagesRealtimeStats, {\n  outboundHomeService: service(),\n\n  buildRouteInfoMetadata() {\n    return {\n      responsibleTeam: 'team-orchestration',\n    };\n  },\n  customerService: service(),\n  analytics: {\n    section: 'messages',\n  },\n\n  activate() {\n    storage.set('lastProductUsed', 'outbound');\n  },\n\n  beforeModel() {\n    this.outboundHomeService.setSearchParams({\n      selectedMatchBehaviorValues: behaviorMap.ongoing,\n    });\n    this.intercomEventService.trackEvent('messages-visited');\n    let app = this.modelFor('apps.app');\n    let defaultEmailTemplates = app\n      .get('translations')\n      .then(translations => EmailTemplate.populateDefaultTemplates(app, translations));\n    return hash({\n      accounts: this.store.findAll('account'),\n      customer: resolve(app.get('canUseFree') ? this.customerService.refreshCustomer() : undefined),\n      userSources: app.get('userSources'),\n      defaultEmailTemplates,\n      folders: app.get('folders'),\n      emailTemplates: app.get('emailTemplates'),\n      customEmailAddresses: app.get('customEmailAddresses'),\n      emailTemplateData: this.store.findAll('email-template-data'),\n      adminPageviews: fetchAdminPageviews(this.store),\n    });\n  },\n});\n","import BaseAboutRoute from 'embercom/routes/base/about-route';\n\nexport default BaseAboutRoute.extend();\n","import OutboundBaseListRoute from 'embercom/lib/outbound/base-list-route';\nimport { matchBehaviors } from 'embercom/models/data/matching-system/matching-constants';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { statisticKeys } from 'embercom/models/data/outbound/constants';\n\nexport default OutboundBaseListRoute.extend({\n  appService: service(),\n  navbarCollapsingService: service(),\n  outboundHomeService: service(),\n\n  beforeModel() {\n    this._super();\n    this.outboundHomeService.setActiveList(null);\n    this.outboundHomeService.setSearchParams({\n      selectedMatchBehaviorValue: matchBehaviors.single,\n    });\n  },\n\n  titleToken: 'All Messages',\n  analytics: {\n    section: 'outbound',\n    place: 'all',\n  },\n  activate() {\n    if (this.get('navbarCollapsingService.collapsed')) {\n      this.navbarCollapsingService.toggleNavbarCollapsed();\n    }\n  },\n  objectTypes: readOnly('outboundHomeService.allObjectTypes'),\n\n  matchBehavior: matchBehaviors.single,\n  statistics: [statisticKeys.receipts, statisticKeys.goals],\n});\n","import ContentEditorRoute from 'embercom/routes/apps/app/content/edit';\nexport default ContentEditorRoute.extend({\n  analytics: {\n    section: 'messages',\n    place: 'banner_editor',\n  },\n});\n","import OutboundBaseListRoute from 'embercom/lib/outbound/base-list-route';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport { inject as service } from '@ember/service';\n\nexport default OutboundBaseListRoute.extend({\n  outboundHomeService: service(),\n\n  beforeModel() {\n    this._super();\n    this.outboundHomeService.setActiveList(objectTypes.banner);\n  },\n\n  analytics: {\n    section: 'outbound',\n    place: 'banners',\n  },\n  objectTypes: [objectTypes.banner],\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport Ruleset from 'embercom/models/matching-system/ruleset';\nimport {\n  objectTypes,\n  matchBehaviors,\n} from 'embercom/models/data/matching-system/matching-constants';\n\nexport default Route.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  intercomEventService: service(),\n  beforeModel(transition) {\n    let admin_id = this.get('app.currentAdmin.id');\n\n    let params = {\n      app_id: this.get('app.id'),\n      admin_id,\n      match_behavior: matchBehaviors.multi,\n      object_type: objectTypes.banner,\n      object_data: {\n        from_id: admin_id,\n      },\n    };\n    Ruleset.createForType(this.store, params).then(ruleset => {\n      ruleset.set('isNewRuleset', true);\n      this.replaceWith('apps.app.outbound.banners.edit', ruleset, {\n        queryParams: { mode: 'edit' },\n      });\n    });\n  },\n});\n","import { inject as service } from '@ember/service';\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { readOnly } from '@ember/object/computed';\n\nexport default IntercomRoute.extend({\n  notificationsService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  type: 'manual',\n\n  beforeModel(transition) {\n    if (this.get('app.canUseContentOrientedNavigation')) {\n      this.replaceWith('apps.app.outbound.all');\n    }\n    if (transition.to.queryParams.event === 'message_deleted') {\n      this.notificationsService.notifyConfirmation('Message Deleted', 8000);\n    }\n  },\n  setupController(controller, model) {\n    this._super(...arguments);\n    controller.recordPageRenderTime();\n    controller.reset();\n  },\n});\n","import ContentEditorRoute from 'embercom/routes/apps/app/content/edit';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nexport default ContentEditorRoute.extend({\n  analytics: {\n    section: 'messages',\n    place: 'carousel_editor',\n  },\n\n  afterModel() {\n    this.outboundHomeService.setActiveList(objectTypes.carousel);\n  },\n});\n","import OutboundBaseListRoute from 'embercom/lib/outbound/base-list-route';\nimport {\n  objectTypes,\n  matchBehaviors,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { inject as service } from '@ember/service';\n\nexport default class AppsAppOutboundCarouselIndexRoute extends OutboundBaseListRoute {\n  @service appService;\n  @service outboundHomeService;\n\n  beforeModel() {\n    this.outboundHomeService.setActiveList(objectTypes.carousel);\n  }\n\n  titleToken = 'Mobile Carousels';\n  analytics = {\n    section: 'outbound',\n    place: 'carousel',\n  };\n\n  objectTypes = [objectTypes.carousel];\n  matchBehavior = matchBehaviors.single;\n}\n","import ContentEditorRoute from 'embercom/routes/apps/app/content/edit';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nexport default ContentEditorRoute.extend({\n  analytics: {\n    section: 'messages',\n    place: 'chat_editor',\n  },\n\n  afterModel() {\n    this.outboundHomeService.setActiveList(objectTypes.chat);\n  },\n});\n","import OutboundBaseListRoute from 'embercom/lib/outbound/base-list-route';\nimport {\n  objectTypes,\n  matchBehaviors,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { inject as service } from '@ember/service';\n\nexport default class AppsAppOutboundChatIndexRoute extends OutboundBaseListRoute {\n  @service appService;\n  @service outboundHomeService;\n\n  beforeModel() {\n    this.outboundHomeService.setActiveList(objectTypes.chat);\n  }\n\n  titleToken = 'Chat';\n  analytics = {\n    section: 'outbound',\n    place: 'chat',\n  };\n\n  objectTypes = [objectTypes.chat];\n  matchBehavior = matchBehaviors.single;\n}\n","import ContentEditorRoute from 'embercom/routes/apps/app/content/edit';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport {\n  OPERATOR_OUTBOUND_CUSTOM_BOT_EDITOR_ROUTE as OPERATOR_EDIT_ROUTE,\n  OPERATOR_OUTBOUND_CUSTOM_BOT_INDEX_ROUTE as OPERATOR_INDEX_ROUTE,\n} from 'embercom/lib/operator/custom-bots/constants';\nimport { inject as service } from '@ember/service';\n\nexport default class OutboundCustomBotEditor extends ContentEditorRoute {\n  @service router;\n  @service store;\n\n  beforeModel(transition) {\n    super.beforeModel(...arguments);\n\n    this.outboundHomeService.setSearchParams({\n      selectedMatchBehaviorValue: null,\n    });\n\n    let queryParams = {};\n    let { to } = transition;\n    let rulesetId = to?.params?.id || to?.queryParams?.id;\n\n    if (this.shouldTransitionToEdit(rulesetId)) {\n      queryParams.mode = 'edit';\n    }\n\n    if (this.router.currentRoute?.name === OPERATOR_INDEX_ROUTE) {\n      return this.replaceWith(OPERATOR_EDIT_ROUTE, rulesetId, {\n        queryParams,\n      });\n    }\n  }\n\n  shouldTransitionToEdit(rulesetId) {\n    let ruleset = this.store.peekRecord('matching-system/ruleset', rulesetId);\n    return ruleset?.isNewRuleset;\n  }\n\n  afterModel() {\n    this.outboundHomeService.setActiveList(objectTypes.customBot);\n    super.afterModel(...arguments);\n  }\n}\n","import OutboundBaseListRoute from 'embercom/lib/outbound/base-list-route';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport { inject as service } from '@ember/service';\n\nexport default class AppsAppOutboundCustomBotIndexRoute extends OutboundBaseListRoute {\n  @service appService;\n  @service outboundHomeService;\n\n  beforeModel() {\n    this.outboundHomeService.setActiveList(objectTypes.customBot);\n    this.outboundHomeService.setSearchParams({\n      selectedMatchBehaviorValue: null,\n    });\n  }\n\n  titleToken = 'Custom Bots';\n  analytics = {\n    section: 'outbound',\n    place: 'custom-bot',\n  };\n\n  perPage = 100;\n  objectTypes = [objectTypes.customBot];\n}\n","import OutboundBaseListRoute from 'embercom/lib/outbound/base-list-route';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport { inject as service } from '@ember/service';\n\nexport default OutboundBaseListRoute.extend({\n  outboundHomeService: service(),\n\n  beforeModel() {\n    this._super();\n    this.outboundHomeService.setActiveList(null);\n  },\n\n  titleToken: 'Direct Messages',\n  analytics: {\n    section: 'outbound',\n    place: 'all',\n  },\n  objectTypes: [objectTypes.legacyMessageInApp, objectTypes.legacyMessageEmail],\n});\n","import ContentEditorRoute from 'embercom/routes/apps/app/content/edit';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nexport default ContentEditorRoute.extend({\n  analytics: {\n    section: 'messages',\n    place: 'email_editor',\n  },\n\n  afterModel() {\n    this.outboundHomeService.setActiveList(objectTypes.email);\n  },\n});\n","import OutboundBaseListRoute from 'embercom/lib/outbound/base-list-route';\nimport {\n  objectTypes,\n  matchBehaviors,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { readOnly } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default OutboundBaseListRoute.extend({\n  outboundHomeService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  beforeModel() {\n    this._super();\n    this.outboundHomeService.setActiveList(objectTypes.email);\n    this.app.currentAdmin.getEmailAddressForApp();\n  },\n\n  titleToken: 'Email',\n  analytics: {\n    section: 'outbound',\n    place: 'emails',\n  },\n  objectTypes: computed('app.canUseEmailInOutboundHome', function() {\n    return [objectTypes.legacyMessageEmail, objectTypes.email];\n  }),\n  matchBehavior: matchBehaviors.single,\n});\n","import Route from '@ember/routing/route';\n\nexport default class OutboundGuideRoute extends Route {\n  redirect() {\n    return this.replaceWith('apps.app.outbound.index');\n  }\n}\n","import { readOnly } from '@ember/object/computed';\nimport BaseProductIndexRoute from 'embercom/routes/base/product-index-route';\n\nexport default BaseProductIndexRoute.extend({\n  product: readOnly('app.messagesProduct'),\n  defaultRoutePath: 'apps.app.outbound.messages.auto',\n  salesUseCaseAppRoute: 'apps.app.outbound.messages.visitor-auto.all',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  beforeModel(transition) {\n    let originalTarget = transition.targetName;\n    let newTarget = originalTarget.replace(\n      'apps.app.outbound.insights',\n      'apps.app.reports.messages',\n    );\n    return this.replaceWith(newTarget);\n  },\n});\n","import GlobalLoadingRoute from 'embercom/routes/base/global-loading-route';\n\nexport default GlobalLoadingRoute.extend();\n","define(\"embercom/routes/apps/app/outbound/message-edit-redirect\", [\"exports\", \"embercom/routes/apps/app/outbound/message-redirect\"], function (_exports, _messageRedirect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _messageRedirect.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nconst DEPRECATED_PATHS = /auto|manual|v2/;\n\nexport default Route.extend({\n  model(params) {\n    if (params.path.match(DEPRECATED_PATHS)) {\n      this.replaceWith('apps.app.outbound.message', params.message_id);\n    } else {\n      this.replaceWith('not-found');\n    }\n  },\n});\n","define(\"embercom/routes/apps/app/outbound/message-show-redirect\", [\"exports\", \"embercom/routes/apps/app/outbound/message-redirect\"], function (_exports, _messageRedirect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _messageRedirect.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport { on } from '@ember/object/evented';\nimport { schedule } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport { isNone } from '@ember/utils';\nimport EmbeddedMessengerLoader from '@intercom/embercom-composer/mixins/embedded-messenger/loader';\nimport ENV from 'embercom/config/environment';\nimport getMessageRoute from 'embercom/lib/messages/message-router';\nimport CampaignAudiencePreviewRealTime from 'embercom/mixins/messages/campaign-audience-preview-real-time';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport Metrics from 'embercom/models/metrics';\nimport ErrorHandlingRoute from 'embercom/routes/base/error-handling-route';\nimport { OUTBOUND_EDITOR_ROUTES } from 'embercom/models/outbound/content-wrapper';\n\nexport default ErrorHandlingRoute.extend(EmbeddedMessengerLoader, CampaignAudiencePreviewRealTime, {\n  messageMutationService: service(),\n  intercomEventService: service(),\n  outboundHomeService: service(),\n\n  messageFallbackRoute: 'apps.app',\n\n  queryParams: {\n    viewing: {\n      replace: true,\n    },\n    inverted: {\n      replace: true,\n    },\n    reaction: {\n      replace: true,\n    },\n    goalFilter: {\n      replace: true,\n    },\n    linkFilter: {\n      replace: true,\n    },\n  },\n\n  titleToken(message) {\n    return `${message.get('uiTitle')} | Message`;\n  },\n\n  model(params) {\n    let message = this.store.peekRecord('message', params.id);\n    if (isNone(message)) {\n      return this.store.findRecord('message', params.id);\n    } else {\n      return message.reload();\n    }\n  },\n\n  transitionToContentObjectPage(model) {\n    this.transitionTo(OUTBOUND_EDITOR_ROUTES[model.redirectContentType], model.redirectRulesetId);\n  },\n\n  afterModel(model, transition) {\n    this._super(...arguments);\n    if (model.shouldRedirectToContentObject) {\n      return this.transitionToContentObjectPage(model);\n    }\n    let objectType = model.type.toLowerCase().camelize();\n    this.outboundHomeService.setActiveList(objectTypes[objectType]);\n    this._fetchRenderableSenderAddress(model);\n    return this.loadIntercomEmbedJs().then(() => {\n      if (model && transition.to.name === 'apps.app.outbound.message') {\n        Metrics.capture({ increment: ['engage_legacy_message_index_route'] });\n        this.replaceWith(getMessageRoute(model), model);\n      }\n    });\n  },\n\n  _fetchRenderableSenderAddress(model) {\n    model.variations.forEach(variation => {\n      variation.from.getEmailAddressForApp();\n    });\n  },\n\n  setupController(controller, model) {\n    this._super(controller, model);\n    this.messageMutationService.subscribeToModelMutations({ model, subscriber: controller });\n    //@pat - Due to a bug in Ember we need to set our controller's query param properties in a run loop. See https://github.com/emberjs/ember.js/issues/5465 for more details.\n    schedule('render', this, () => {\n      controller.setupEditingQueryParams();\n    });\n  },\n\n  resetController(controller, isExiting, transition) {\n    this._super(controller, isExiting, transition);\n    if (isExiting) {\n      controller.setProperties({ viewing: 'content', inverted: false });\n      this.messageMutationService.unsubscribeFromModelMutations({\n        model: controller.message,\n        subscriber: controller,\n      });\n    }\n  },\n\n  handleError(error) {\n    switch (error.status) {\n      case 403:\n        return this.displayErrorAndRedirect(\n          \"You don't have the right permissions to do that. One of your teammates should be able to change your permissions or help you out.\",\n          'apps.app',\n        );\n      case 404:\n        return this.displayErrorAndRedirect(\n          \"We couldn't find that message.\",\n          this.messageFallbackRoute,\n        );\n      case 500:\n        return this.displayErrorAndRedirect(\n          \"We couldn't load that message. Send us a message and we'll do our best to help out.\",\n          this.messageFallbackRoute,\n        );\n    }\n  },\n\n  setupUnloadWarnings: on('activate', function() {\n    if (ENV.environment !== 'test') {\n      window.onbeforeunload = () => {\n        if (this.currentModel.get('hasUnsavedMutations')) {\n          return 'Warning: You have unsaved changes. Do you want to leave the page?';\n        }\n      };\n    }\n  }),\n\n  removeUnloadWarnings: on('deactivate', function() {\n    window.onbeforeunload = undefined;\n  }),\n\n  actions: {\n    willTransition(transition) {\n      let message = this.controller.get('message');\n      if (!message.get('isDeleted') && message.get('hasUnsavedMutations')) {\n        if (confirm('Warning: You have unsaved changes. Do you want to leave the page?')) {\n          message.rollbackMessageAndRelationships();\n        } else {\n          transition.abort();\n        }\n      }\n    },\n  },\n});\n","import AutoMessageListRouteBase from 'embercom/routes/apps/app/outbound/messages/auto/base/auto-message-list-route-base';\nimport Search from 'embercom/routes/apps/app/outbound/mixins/search';\nimport EmberDataMessageListRoute from 'embercom/routes/apps/app/outbound/mixins/ember-data-message-list-route';\n\nexport default AutoMessageListRouteBase.extend(Search, EmberDataMessageListRoute, {\n  analytics: {\n    section: 'messages',\n    place: 'auto_all',\n  },\n  titleToken: 'All Auto Messages',\n  state: 'all',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { computed } from '@ember/object';\nimport MessageListQuery from 'embercom/lib/messages/query';\nimport MessageListRouteBase from 'embercom/routes/apps/app/outbound/base/message-list-route-base';\nimport { hashSettled } from 'rsvp';\n\nexport default MessageListRouteBase.extend({\n  type: 'auto',\n  model() {\n    let promises = { message_query: MessageListQuery.create({ app: this.app }) };\n    return hashSettled(promises).then(promises => promises.message_query.value);\n  },\n  app: computed(function() {\n    return this.modelFor('apps.app');\n  }),\n  setupController(controller, query) {\n    this._super(...arguments);\n    query.set('localSortDisabled', true);\n    controller.set('query', query);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { inject as service } from '@ember/service';\nimport ErrorHandlingRoute from 'embercom/routes/base/error-handling-route';\nimport Search from 'embercom/routes/apps/app/outbound/mixins/search';\n\nexport default ErrorHandlingRoute.extend(Search, {\n  notificationsService: service('notificationsService'),\n  realTimeEventService: service(),\n\n  model(params) {\n    return this.store.findRecord('campaign', params.id);\n  },\n\n  afterModel(campaign) {\n    // Ensure we load the latest messages and user counts by firing off a GET\n    return campaign.reload().then(campaign => {\n      campaign.get('messages').setEach('selected', false);\n      return campaign;\n    });\n  },\n\n  getTopicForCampaign(campaign) {\n    return `campaigns/${campaign.id}`;\n  },\n\n  actions: {\n    didTransition() {\n      let campaign = this.modelFor(this.routeName);\n      if (!campaign) {\n        return;\n      }\n\n      this.realTimeEventService.subscribeTopics([this.getTopicForCampaign(campaign)]);\n    },\n\n    willTransition(transition) {\n      let campaign = this.modelFor(this.routeName);\n      if (!campaign) {\n        return;\n      }\n\n      this.realTimeEventService.unsubscribeTopics([this.getTopicForCampaign(campaign)]);\n    },\n  },\n\n  handleError(error) {\n    switch (error.status) {\n      case 403:\n        return this.displayError(\n          \"You don't have permissions to do that, ask an admin on your team for help.\",\n          'apps.app',\n        );\n      case 404:\n        return this.displayErrorAndRedirect(\n          'That campaign could not be found',\n          'apps.app.outbound.messages.auto.campaigns',\n        );\n      case 500:\n        return this.displayErrorAndRedirect(\n          \"We couldn't load that campaign, something went wrong on our side, please contact support.\",\n          'apps.app.outbound.messages.auto.campaigns',\n        );\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-jquery */\nimport { cancel, schedule } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport confirmationOptions from 'embercom/models/data/campaign-confirmation-options';\nimport ErrorHandlingRoute from 'embercom/routes/base/error-handling-route';\nimport CheckUnsavedChanges from 'embercom/routes/mixins/check-unsaved-changes';\nimport $ from 'jquery';\nimport { readOnly } from '@ember/object/computed';\n\nexport default ErrorHandlingRoute.extend(CheckUnsavedChanges, {\n  permissionsService: service(),\n  notificationsService: service(),\n  intercomEventService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  _saveCampaignAndReturn() {\n    let campaign = this.controller.get('campaign');\n\n    campaign\n      .save()\n      .then(() => {\n        this.notificationsService.notifyConfirmation('Your changes were saved');\n        this._transitionToCampaignsShowPage(campaign);\n      })\n      .catch(response =>\n        this.notificationsService.notifyResponseError(response, {\n          default: \"Something went wrong and we couldn't save the campaign\",\n        }),\n      );\n  },\n\n  _rollbackCampaignAndReturn() {\n    let campaign = this.controller.get('campaign');\n    campaign.rollbackAttributes();\n    this.setCampaignTitle(campaign.get('title'));\n    this.store.pushPayload({\n      'campaign-summary': { id: campaign.id, title: campaign.title },\n    });\n    this._transitionToCampaignsShowPage(campaign);\n  },\n\n  _transitionToCampaignsShowPage(campaign) {\n    this.transitionTo('apps.app.outbound.messages.auto.campaigns.campaign', campaign, {\n      queryParams: { editing: false },\n    });\n  },\n\n  actions: {\n    createNewCampaignMessage(type = null, deliveryChannel = null) {\n      this.permissionsService.checkPermission('can_send_messages').then(() =>\n        this.transitionTo('apps.app.outbound.messages.auto.new', {\n          queryParams: {\n            campaign_id: this.controller.get('campaign.id'),\n            delivery_type: 'campaign',\n            audienceType: this.controller.get('campaign.memberType'),\n            type,\n            deliveryChannel,\n          },\n        }),\n      );\n    },\n    reorderCampaign(scrollParentSelector) {\n      let scrollParent = $(scrollParentSelector);\n      let oldScrollTop = 0;\n      if (scrollParent) {\n        oldScrollTop = scrollParent.scrollTop();\n        scrollParent.toggleClass('campaign__list-drag-disabled', true);\n      }\n      this.controller.set('disableMessageDragging', true);\n      this.controller\n        .get('campaign')\n        .reorderUsingMessages()\n        .then(() => {\n          if (scrollParent) {\n            schedule('afterRender', this, () => scrollParent.scrollTop(oldScrollTop));\n            scrollParent.toggleClass('campaign__list-drag-disabled', false);\n          }\n          this.controller.set('disableMessageDragging', false);\n          this.notificationsService.notifyConfirmation(\n            'The priority of your messages has been reordered',\n          );\n        })\n        .catch(response => {\n          this.notificationsService.notifyResponseError(response, {\n            default: \"Something went wrong and we couldn't reorder the campaign messages\",\n          });\n          this.controller.set('disableMessageDragging', false);\n        });\n    },\n    activateCampaign() {\n      let app = this.controller.get('app');\n      let campaign = this.controller.get('campaign');\n      return ajax({\n        url: '/ember/campaigns/preview_users.json',\n        type: 'GET',\n        data: {\n          app_id: app.get('id'),\n          id: campaign.get('id'),\n        },\n      }).then(response => {\n        let activateConfirmation = confirmationOptions.activate;\n        activateConfirmation.body = `${response.count} ${campaign.get(\n          'memberType',\n        )}s will enter the campaign and the messages will be set live`;\n        intercomConfirm(this, activateConfirmation).then(() => {\n          campaign\n            .activate()\n            .then(() => {\n              // Activating a campaign modifies the messages, so we clear any cached messages\n              this.notificationsService.notifyConfirmation(\n                `'${campaign.get('title')}' was set live`,\n              );\n              this.transitionTo(\n                'apps.app.outbound.messages.auto.campaigns.campaign.index',\n                campaign,\n              );\n            })\n            .catch(response =>\n              this.notificationsService.notifyResponseError(response, {\n                default: \"Something went wrong and we couldn't set that campaign live\",\n              }),\n            );\n        });\n      });\n    },\n    resumeCampaign(messageIds) {\n      let campaign = this.controller.get('campaign');\n      campaign\n        .resume(messageIds)\n        .then(() => {\n          this.notificationsService.notifyConfirmation(\n            `'${this.controller.get('campaign.title')}' was resumed`,\n          );\n          this.transitionTo('apps.app.outbound.messages.auto.campaigns.campaign.index', campaign);\n        })\n        .catch(response =>\n          this.notificationsService.notifyResponseError(response, {\n            default: \"Something went wrong and we couldn't resume that campaign\",\n          }),\n        );\n    },\n    deactivateCampaign() {\n      this.controller\n        .get('campaign')\n        .deactivate()\n        .then(() =>\n          this.notificationsService.notifyConfirmation(\n            `'${this.controller.get('campaign.title')}' was paused`,\n          ),\n        )\n        .catch(response =>\n          this.notificationsService.notifyResponseError(response, {\n            default: \"Something went wrong and we couldn't pause that campaign\",\n          }),\n        );\n    },\n    deleteCampaign() {\n      intercomConfirm(this, confirmationOptions.delete).then(() => {\n        let campaign = this.controller.get('campaign');\n        let campaignTitle = campaign.get('title');\n        let campaignId = campaign.get('id');\n        campaign\n          .destroyRecord()\n          .then(() => {\n            this.notificationsService.notifyConfirmation(`'${campaignTitle}' was deleted`);\n            if (this.get('app.canUseContentOrientedNavigation')) {\n              this.transitionTo('apps.app.outbound.messages.auto.campaigns');\n            } else {\n              this.transitionTo('apps.app.outbound.messages.auto');\n            }\n            let campaignSummaryToBeDeleted = this.store.peekRecord('campaign-summary', campaignId);\n            this.store.unloadRecord(campaignSummaryToBeDeleted);\n          })\n          .catch(response => {\n            this.notificationsService.notifyResponseError(response, {\n              default: \"Something went wrong and we couldn't delete that campaign\",\n            });\n          });\n      });\n    },\n    duplicateCampaign() {\n      this.controller\n        .get('campaign')\n        .duplicate()\n        .then(duplicated_campaign => {\n          this.store.pushPayload({ campaigns: [duplicated_campaign] });\n          this.store.pushPayload({\n            'campaign-summary': { id: duplicated_campaign.id, title: duplicated_campaign.title },\n          });\n          let campaign = this.store.peekRecord('campaign', duplicated_campaign.id);\n          campaign.autoFocusTitle = true;\n          this._transitionToCampaignsShowPage(campaign);\n        })\n        .catch(response =>\n          this.notificationsService.notifyResponseError(response, {\n            default: \"Something went wrong and we couldn't duplicate that campaign\",\n          }),\n        );\n    },\n    saveCampaign() {\n      let campaign = this.controller.get('campaign');\n\n      if (campaign.get('isLive') && !campaign.get('entryPredicateGroup.hasPredicates')) {\n        return this.notificationsService.notifyError('Your entry rules need to be completed');\n      }\n      if (!campaign.get('entryPredicateGroup.allPredicatesAreValid')) {\n        return this.notificationsService.notifyError('Your entry rules need to be completed');\n      }\n      if (!campaign.get('exitPredicateGroup.allPredicatesAreValid')) {\n        return this.notificationsService.notifyError('Your exit rules need to be completed');\n      }\n      if (!campaign.get('goalPredicateGroup.allPredicatesAreValid')) {\n        return this.notificationsService.notifyError('Your goal needs to be completed');\n      }\n      if (campaign.get('hasDirtyAttributes') && campaign.get('isLive')) {\n        let saveChangesOptions = confirmationOptions.saveChanges;\n        saveChangesOptions.body = `There'll be ${campaign.get(\n          'audiencePreviewCount',\n        )} people in this campaign after you save.`;\n        intercomConfirm(this, saveChangesOptions).then(() => this._saveCampaignAndReturn());\n      } else {\n        this._saveCampaignAndReturn();\n      }\n    },\n    cancelCampaignChanges() {\n      if (this.controller.get('campaign.hasDirtyAttributes')) {\n        intercomConfirm(this, confirmationOptions.cancelChanges).then(() => {\n          this.notificationsService.notifyConfirmation('Your changes were canceled');\n          this._rollbackCampaignAndReturn();\n        });\n      } else {\n        this._rollbackCampaignAndReturn();\n      }\n    },\n    openCampaignEntry() {\n      this.controller\n        .get('campaign')\n        .openEntry()\n        .then(() =>\n          this.notificationsService.notifyConfirmation(\n            `Entry into '${this.controller.get('campaign.title')}' has been resumed`,\n          ),\n        )\n        .catch(response =>\n          this.notificationsService.notifyResponseError(response, {\n            default: \"Something went wrong and we couldn't restart entry into that campaign\",\n          }),\n        );\n    },\n    closeCampaignEntry() {\n      this.controller\n        .get('campaign')\n        .closeEntry()\n        .then(() =>\n          this.notificationsService.notifyConfirmation(\n            `Entry into '${this.controller.get('campaign.title')}' has been stopped`,\n          ),\n        )\n        .catch(response =>\n          this.notificationsService.notifyResponseError(response, {\n            default: \"Something went wrong and we couldn't stop entry into that campaign\",\n          }),\n        );\n    },\n    updateCampaignTitle(title) {\n      let campaign = this.controller.get('campaign');\n      campaign.set('title', title);\n      this.setCampaignTitle(title);\n      this.store.pushPayload({\n        'campaign-summary': { id: campaign.id, title: campaign.title },\n      });\n    },\n    openExportModal() {\n      if (this.permissionsService.currentAdminCan('can_export_data')) {\n        let messageIds = [];\n        this.controller.get('campaign.messages').forEach(message => {\n          if (message.get('isLiveOrStopped')) {\n            messageIds.push(message.id);\n          }\n        });\n\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'exported',\n          object: 'csv',\n          place: 'campaign',\n          owner: 'messages',\n        });\n\n        // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n        this.send('openModal', 'apps/app/outbound/message-data-export-modal', {\n          messageIds,\n          exportFlag: 'engage',\n        });\n      } else {\n        this.permissionsService.loadAllAdminsAndShowPermissionRequestModal('can_export_data');\n      }\n    },\n  },\n\n  setupController(controller, campaign) {\n    this._super(controller, campaign);\n    controller.setupEventListeners();\n    this.setCampaignTitle(campaign.get('title'));\n    if (campaign.autoFocusTitle) {\n      campaign.autoFocusTitle = undefined;\n      controller.focusTitle();\n    }\n  },\n  resetController(controller, isExiting) {\n    if (isExiting) {\n      controller.teardownEventListeners();\n      cancel(controller.autoSaveTimer);\n    }\n  },\n  cleanUpOnNavigatingAway(controller) {\n    controller.model.rollbackAttributes();\n  },\n  handleError(error) {\n    switch (error.status) {\n      case 403:\n        return this.displayError(\n          \"You don't have permissions to do that, ask an admin on your team for help.\",\n          'apps.app',\n        );\n      case 404:\n        return this.displayErrorAndRedirect(\n          'That campaign could not be found',\n          'apps.app.outbound.messages.auto.campaigns',\n        );\n      case 500:\n        return this.displayErrorAndRedirect(\n          \"We couldn't load that campaign, something went wrong on our side, please contact support.\",\n          'apps.app.outbound.messages.auto.campaigns',\n        );\n    }\n  },\n  setCampaignTitle(title) {\n    this.controller.send('setDocumentTitle', `${title} | Campaign`);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\n\nexport default Route.extend({\n  notificationsService: service(),\n  titleToken(model) {\n    return `${model.get('title')} | Campaign`;\n  },\n\n  setupController(controller, model) {\n    controller.set('model', model);\n    this.resetPaging();\n  },\n\n  resetPaging() {\n    this.controller.setProperties({\n      page: 0,\n      users: [],\n    });\n  },\n\n  actions: {\n    loadNextPage() {\n      let controller = this.controller;\n      let nextPage = controller.page ? controller.page + 1 : 1;\n      controller.set('page', nextPage);\n      return ajax({\n        url: '/ember/campaigns/list_users',\n        type: 'GET',\n        data: {\n          id: controller.get('campaign.id'),\n          app_id: controller.get('campaign.appId'),\n          page: controller.page,\n          filter_by: controller.filter,\n          page_size: 35,\n        },\n      })\n        .then(response => {\n          controller.set('totalCount', response.count);\n          controller.users.pushObjects(response.users);\n          return response.users;\n        })\n        .catch(response =>\n          this.notificationsService.notifyResponseError(response, {\n            default: \"Something went wrong and we couldn't load the users in this campaign\",\n          }),\n        );\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { isEqual } from '@ember/utils';\nimport Campaign from 'embercom/models/campaign';\nimport RSVP from 'rsvp';\nimport { inject as service } from '@ember/service';\n\nexport default IntercomRoute.extend({\n  analytics: {\n    section: 'messages',\n    place: 'auto_campaigns',\n  },\n  titleToken: 'Campaigns',\n  queryParams: {\n    state: {\n      refreshModel: true,\n    },\n  },\n  outboundHomeService: service(),\n\n  beforeModel(transition) {\n    let app = this.modelFor('apps.app');\n    let { state, sortColumn, sortDirection } = transition.to.queryParams;\n    this.outboundHomeService.setActiveList(null);\n\n    if (isEqual(state, undefined)) {\n      return Campaign.countCampaigns(app).then(counts => {\n        let state = counts.live > 0 ? 'live' : 'all';\n        this.replaceWith({ queryParams: { state, sortColumn, sortDirection } });\n      });\n    }\n  },\n\n  model(params) {\n    let app = this.modelFor('apps.app');\n    return RSVP.hash({\n      campaigns: this.store.query('campaign', {\n        page: 1,\n        per_page: 25,\n        state: params.state,\n        sort_by_column: params.sortColumn,\n        sort_direction: params.sortDirection,\n      }),\n      counts: Campaign.countCampaigns(app),\n      seriesTemplates: this.store.findAll('series/template'),\n    });\n  },\n\n  setupController(controller, model) {\n    let totalFilteredCampaigns = model.campaigns.meta.total_count;\n    model.campaigns = model.campaigns.toArray();\n    controller.setProperties({\n      model,\n      totalFilteredCampaigns,\n      pageCount: 1,\n      seriesTemplates: model.seriesTemplates,\n    });\n    this._super(...arguments);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport ErrorHandlingRoute from 'embercom/routes/base/error-handling-route';\n\nexport default ErrorHandlingRoute.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  paywallService: service(),\n\n  beforeModel() {\n    let campaign = this.store.createRecord('campaign');\n    this.set('campaign', campaign);\n\n    return campaign.save().then(campaign => {\n      this.store.pushPayload({ 'campaign-summary': { id: campaign.id, title: campaign.title } });\n      this.navigateToCampaign(campaign);\n    });\n  },\n\n  handleError(error, transition) {\n    this.campaign.unloadRecord();\n    switch (error.status) {\n      case 402: {\n        return this.paywallService\n          .paywall({\n            featureName: error.required_feature,\n            transition,\n          })\n          .catch(this.paywallService.handleError);\n      }\n      case 403: {\n        this.permissionsService.loadAllAdminsAndShowPermissionRequestModal('can_send_messages');\n        return this.transitionTo('apps.app.outbound.messages.auto');\n      }\n      case 422:\n        return this.displayErrorAndRedirect(error.message, `apps.app`);\n    }\n  },\n\n  navigateToCampaign(campaign) {\n    campaign.set('autoFocusTitle', true);\n    this.replaceWith('apps.app.outbound.messages.auto.campaigns.campaign', campaign, {\n      queryParams: { editing: true },\n    });\n  },\n});\n","import AutoMessageListRouteBase from 'embercom/routes/apps/app/outbound/messages/auto/base/auto-message-list-route-base';\nimport EmberDataMessageListRoute from 'embercom/routes/apps/app/outbound/mixins/ember-data-message-list-route';\nimport Search from 'embercom/routes/apps/app/outbound/mixins/search';\n\nexport default AutoMessageListRouteBase.extend(Search, EmberDataMessageListRoute, {\n  analytics: {\n    section: 'messages',\n    place: 'auto_draft',\n  },\n  titleToken: 'Draft Auto Messages',\n  state: 'draft',\n  localSortEnabled: false,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { A } from '@ember/array';\nimport { inject as service } from '@ember/service';\nimport { isBlank, isPresent } from '@ember/utils';\nimport MessageListQuery from 'embercom/lib/messages/query';\nimport AutoMessageListRouteBase from 'embercom/routes/apps/app/outbound/messages/auto/base/auto-message-list-route-base';\nimport Search from 'embercom/routes/apps/app/outbound/mixins/search';\n\nexport default AutoMessageListRouteBase.extend(Search, {\n  intercomEventService: service(),\n  notificationsService: service(),\n  paywallService: service(),\n  beforeModel() {\n    let app = this.modelFor('apps.app');\n\n    if (!app.get('canUseMessageFolders')) {\n      this.paywallService.paywall({ featureName: 'message_folders' }).then(\n        () => {\n          true;\n        },\n        () => {\n          this.replaceWith('apps.app.outbound.messages.auto.all');\n        },\n      );\n    }\n  },\n\n  model(params) {\n    return this.store.findRecord('message-folder', params.id);\n  },\n  afterModel(folder, transition) {\n    if (isBlank(folder)) {\n      let folderName = this._extractNameFromTransition(transition);\n      if (isPresent(folderName)) {\n        this.notificationsService.notifyError(`We couldn't find the folder named '${folderName}'`);\n      } else {\n        this.notificationsService.notifyError(\"We couldn't find that folder\");\n      }\n      this.replaceWith('apps.app.outbound.messages.auto.all');\n    }\n  },\n  setupController(controller, folder) {\n    if (this.get('app.canUseContentOrientedNavigation')) {\n      this.replaceWith('apps.app.outbound.messages.auto.all');\n    }\n    this.intercomEventService.trackEvent('opened-message-folder', {\n      folder_name: folder.get('name'),\n    });\n\n    let query = MessageListQuery.create({ app: controller.app });\n    controller.setProperties({ query, folder });\n    controller.send('setDocumentTitle', folder.get('name'));\n\n    if (controller.localSortEnabled) {\n      controller.reset();\n    } else {\n      controller.searchTask.perform();\n    }\n  },\n  _extractNameFromTransition(transition) {\n    return A(transition.handlerInfos).get('lastObject.params.name');\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default IntercomRoute.extend({\n  analytics: {\n    section: 'messages',\n    place: 'auto_folders',\n  },\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  beforeModel(transition) {\n    if (this.get('app.canUseContentOrientedNavigation')) {\n      this.replaceWith('apps.app.outbound.all');\n    }\n  },\n  model() {\n    if (this.get('app.canUseContentOrientedNavigation')) {\n      this.replaceWith('apps.app.outbound.all');\n    }\n    return this.store.findAll('message-folder', { reload: true });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { computed } from '@ember/object';\nimport ErrorHandlingRoute from 'embercom/routes/base/error-handling-route';\nimport { inject as service } from '@ember/service';\n\nexport default ErrorHandlingRoute.extend({\n  paywallService: service(),\n  app: computed(function() {\n    return this.modelFor('apps.app');\n  }),\n\n  beforeModel() {\n    this.paywallService\n      .paywall({ featureName: 'message_folders' })\n      .then(\n        () => {\n          let messageFolder = this.store.createRecord('message-folder', {\n            appId: this.get('app.id'),\n          });\n          return messageFolder.save();\n        },\n        () => {\n          this.replaceWith('apps.app.outbound.messages.auto.folders');\n        },\n      )\n      .then(messageFolder =>\n        this.replaceWith('apps.app.outbound.messages.auto.folders.folder', messageFolder.id),\n      )\n      .catch(this.paywallService.handleError);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { updateMessageCountsForAppAndType } from 'embercom/lib/messages/message-counts';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Route.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  beforeModel(transition) {\n    if (this.get('app.canUseContentOrientedNavigation')) {\n      this.replaceWith('apps.app.outbound.all');\n    } else {\n      let replaceWithRoute = {\n        draft: 'apps.app.outbound.messages.auto.draft',\n        scheduled: 'apps.app.outbound.messages.auto.scheduled',\n        stopped: 'apps.app.outbound.messages.auto.paused',\n      }[transition.to.queryParams.state];\n\n      if (replaceWithRoute) {\n        return this.replaceWith(replaceWithRoute);\n      } else {\n        return this.redirectToAllOrLiveMessages();\n      }\n    }\n  },\n\n  redirectToAllOrLiveMessages() {\n    let app = this.modelFor('apps.app');\n    return updateMessageCountsForAppAndType(app, 'auto').then(() => {\n      if (app.get('liveAutoMessageCount') === 0) {\n        this.replaceWith('apps.app.outbound.messages.auto.all');\n      } else {\n        this.replaceWith('apps.app.outbound.messages.auto.live');\n      }\n    });\n  },\n});\n","import AutoMessageListRouteBase from 'embercom/routes/apps/app/outbound/messages/auto/base/auto-message-list-route-base';\nimport Search from 'embercom/routes/apps/app/outbound/mixins/search';\nimport EmberDataMessageListRoute from 'embercom/routes/apps/app/outbound/mixins/ember-data-message-list-route';\n\nexport default AutoMessageListRouteBase.extend(Search, EmberDataMessageListRoute, {\n  analytics: {\n    section: 'messages',\n    place: 'auto_live',\n  },\n  titleToken: 'Live Auto Messages',\n  state: 'live',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport MessagesMessageRoute from 'embercom/routes/apps/app/outbound/message';\nimport { hash } from 'rsvp';\n\nexport default MessagesMessageRoute.extend({\n  analytics: {\n    place: 'user_auto_message',\n  },\n\n  messageFallbackRoute: 'apps.app.outbound.messages.auto',\n  templateName: 'apps.app.outbound.message',\n\n  afterModel(message) {\n    if (message.shouldRedirectToContentObject) {\n      return this.transitionToContentObjectPage(message);\n    }\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'open_message',\n      object: message,\n      context: 'message-list',\n    });\n    if (message.get('isNotCampaignOrAutoMessage')) {\n      return this.replaceWith('apps.app.outbound.message', message, {\n        queryParams: { editing: false },\n      });\n    }\n    this._fetchRenderableSenderAddress(message);\n    let app = this.modelFor('apps.app');\n    return hash({\n      intercomEmbedJs: this.loadIntercomEmbedJs(),\n      operatorQualificationPanelIsEnabled: this._getOperatorQualificationPanelIsEnabled(app),\n    }).then(hash => {\n      delete hash.intercomEmbedJs; //as we don't want to set it on the controller\n      this.afterModelAdditionalData = hash;\n    });\n  },\n\n  setupController(controller, model) {\n    this._super(...arguments);\n\n    controller.setProperties(this.afterModelAdditionalData);\n  },\n\n  _getOperatorQualificationPanelIsEnabled(app) {\n    return this.store.findRecord('operator-settings/task-bots', app.get('id')).then(settings => {\n      return settings.get('qualifyLeads.enabled');\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport { and } from '@ember/object/computed';\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport ENV from 'embercom/config/environment';\nimport createFragmentFromBlock from 'embercom/lib/blocks/create-fragment-from-block';\nimport { initializeMutationsIfRequired } from 'embercom/lib/data-mutations/mutator';\nimport { USER_ROLE_PREDICATE } from 'embercom/lib/default-predicates';\nimport MESSAGE_CONSTANTS from 'embercom/models/data/messages/message-constants';\nimport {\n  EXCLUDE_DISENGAGED_USERS_PREDICATE,\n  INITIAL_PUSH_DEFAULTS,\n} from 'embercom/models/data/messages/message-defaults';\nimport Message from 'embercom/models/message';\nimport { post } from 'embercom/lib/ajax';\nimport splitHtml from '@intercom/embercom-composer/lib/split-html';\n\nexport default Route.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  editRoute: 'apps.app.outbound.messages.auto.message',\n  messagesRoute: 'apps.app.outbound.messages.auto',\n\n  app: computed(function() {\n    return this.modelFor('apps.app');\n  }),\n  admin: computed(function() {\n    return this.modelFor('apps');\n  }),\n\n  shouldHaveDisengagedUserPredicate: and('isEmailType', 'app.canUseImprovedDeliverability'),\n\n  beforeModel(transition) {\n    this.set('isEmailType', transition.to.queryParams.type === MESSAGE_CONSTANTS.emailType);\n    let { queryParams } = transition.to;\n    let { type, templateId, isPreSelected } = queryParams;\n\n    if (templateId && this.app.canUseContentOrientedNavigation) {\n      return this._transitionToMessageFromTemplate(type, templateId, isPreSelected);\n    }\n\n    let message = this._createNewMessage(queryParams);\n    message\n      .save()\n      .then(() => {\n        this._removeTemporaryVariation(message);\n        this.intercomEventService.trackEvent('engage-created-auto-message');\n        this.replaceWith(this.editRoute, message.get('id'), {\n          queryParams: { editing: true },\n        });\n      })\n      .catch(error => {\n        this._catchErrors(error);\n      });\n  },\n\n  async _transitionToMessageFromTemplate(messageType, templateId, isPreSelected) {\n    try {\n      let response = await post('/ember/messages', {\n        template_id: templateId,\n        app_id: this.app.id,\n      });\n      let messageId = response['id'];\n      this._trackTemplateEvent(messageType, templateId, messageId, isPreSelected);\n      return this.replaceWith(this.editRoute, messageId, {\n        queryParams: { editing: true, editing_admin_id: this.admin.id },\n      });\n    } catch (e) {\n      console.error(e);\n    }\n  },\n\n  _trackTemplateEvent(messageType, templateId, messageId, isPreSelected) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'created',\n      object: 'message-template',\n      message_template_id: templateId,\n      message_id: messageId,\n      message_type: messageType,\n      origin: isPreSelected ? messageType : 'all',\n    });\n  },\n\n  _createNewMessage(queryParams) {\n    let app = this.app;\n    let admin = this.admin;\n    let messageDefaults = this._getMessageDefaults(queryParams);\n    let type;\n    let messageStyle;\n    let deliveryChannel;\n    let selectionState = this._getSelectionState(queryParams);\n    let pushOnlyURIs = null;\n\n    if (this.isEmailType) {\n      type = MESSAGE_CONSTANTS.emailType;\n      messageStyle = MESSAGE_CONSTANTS.emailStyle;\n      deliveryChannel = MESSAGE_CONSTANTS.noChannel;\n    } else if (queryParams.type === MESSAGE_CONSTANTS.pushType) {\n      type = MESSAGE_CONSTANTS.pushType;\n      messageStyle = MESSAGE_CONSTANTS.noStyle;\n      deliveryChannel = queryParams.deliveryChannel;\n      pushOnlyURIs = this.store.createFragment(\n        'messages/push-only-uri',\n        INITIAL_PUSH_DEFAULTS.pushOnlyURIs,\n      );\n    } else {\n      type = MESSAGE_CONSTANTS.inAppType;\n      messageStyle = MESSAGE_CONSTANTS.chat;\n      deliveryChannel = MESSAGE_CONSTANTS.webChannel;\n    }\n\n    let blocks = messageDefaults.blocks.map(block => createFragmentFromBlock(this.store, block));\n    let message = this.store.createRecord('message', {\n      created_via: Message.CREATED_VIA_EDITOR,\n      created_via_version: Message.CREATED_VIA_EDITOR_VERSION,\n      deliveryChannel,\n      type,\n      selectionState,\n      classType: this._getDeliveryType(queryParams),\n      clientData: {},\n      folder: this._getFolder(queryParams),\n      campaign: this._getCampaign(queryParams),\n      state: 'draft',\n    });\n    let messageVariationParams = {\n      assignToId: Message.getAssignToId(app, admin),\n      subject: messageDefaults.subject,\n      blocks,\n      messageStyle,\n      state: 'draft',\n      fromId: this.get('admin.id'),\n    };\n    if (message.get('isMobilePush')) {\n      messageVariationParams.pushOnlyURIs = pushOnlyURIs;\n    }\n    let messageVariation = this.store.createRecord('message-variation', messageVariationParams);\n    message.get('variations').addObject(messageVariation);\n    initializeMutationsIfRequired(message);\n    return message;\n  },\n\n  _getCampaign(queryParams) {\n    if (queryParams.campaign_id) {\n      return this.store.peekRecord('campaign', queryParams.campaign_id);\n    }\n  },\n\n  _getDeliveryType(queryParams) {\n    return queryParams.delivery_type || 'auto';\n  },\n\n  _getFolder(queryParams) {\n    if (queryParams.message_group_id) {\n      return this.store.peekRecord('message-folder', queryParams.message_group_id);\n    }\n  },\n\n  _getMessageDefaults(queryParams) {\n    let messageDefaults = {};\n\n    if (queryParams.type === MESSAGE_CONSTANTS.pushType) {\n      messageDefaults = {\n        blocks: INITIAL_PUSH_DEFAULTS.pushBlocks,\n      };\n    } else if (\n      queryParams.type === MESSAGE_CONSTANTS.emailType &&\n      this.get('app.default_email_template_id') === 'html-block-template'\n    ) {\n      let emailTemplate = this.store.peekRecord('email-template', 'html-block-template');\n      let splitTemplate = splitHtml(emailTemplate.get('template'));\n      let blocks = [\n        {\n          type: 'html',\n          content: '<p>Hi there,</p>',\n          header: splitTemplate.header,\n          footer: splitTemplate.footer,\n        },\n      ];\n      messageDefaults = {\n        subject: queryParams.subject,\n        blocks,\n      };\n    } else {\n      messageDefaults = {\n        subject: queryParams.subject,\n        blocks: [\n          {\n            type: 'paragraph',\n            text: this.get('app.commentPlaceholder'),\n          },\n        ],\n      };\n    }\n    return messageDefaults;\n  },\n\n  _getSelectionState(queryParams) {\n    let selectionState;\n    if (queryParams.selectionState) {\n      selectionState = this._createSelectionStateFromUserList(queryParams);\n    } else {\n      selectionState = this._createSelectionStateForUsers();\n    }\n    return selectionState;\n  },\n\n  _createSelectionStateFromUserList(queryParams) {\n    let predicates = JSON.parse(queryParams.selectionState).predicates;\n    return this._createSelectionStateForPredicates(predicates);\n  },\n\n  _createSelectionStateForUsers() {\n    let predicates = [USER_ROLE_PREDICATE];\n    return this._createSelectionStateForPredicates(predicates);\n  },\n\n  _createSelectionStateForPredicates(predicates) {\n    if (this.shouldHaveDisengagedUserPredicate) {\n      predicates = predicates.concat(EXCLUDE_DISENGAGED_USERS_PREDICATE);\n    }\n    return this.store.createFragment('messages/selection-state', {\n      predicates,\n    });\n  },\n\n  _removeTemporaryVariation(message) {\n    // Currently, some message-variation defaults are set on the front end (like assignToId)\n    // and some are set on the back end. This method removes the temporary variation created to hold\n    // the attributes set on the front end. Factory Guy does not mark the variation as saved (i.e. isNew = false)\n    // after we mockCreate the message, so we need to skip this check in test.\n    // In future, we should move all messageVariation defaults to the back end.\n\n    if (ENV.environment !== 'test') {\n      message.get('variations').removeObjects(message.get('variations').filterBy('isNew'));\n    }\n  },\n\n  _catchErrors(error) {\n    if (error.status === 403) {\n      this.permissionsService.loadAllAdminsAndShowPermissionRequestModal('can_send_messages');\n    } else {\n      this.notificationsService.notifyResponseError(error, {\n        default:\n          \"Couldn't create a new message. Send us a message and we'll do our best to help out.\",\n      });\n    }\n    this.transitionTo(this.messagesRoute);\n  },\n});\n","import AutoMessageListRouteBase from 'embercom/routes/apps/app/outbound/messages/auto/base/auto-message-list-route-base';\nimport Search from 'embercom/routes/apps/app/outbound/mixins/search';\nimport EmberDataMessageListRoute from 'embercom/routes/apps/app/outbound/mixins/ember-data-message-list-route';\n\nexport default AutoMessageListRouteBase.extend(Search, EmberDataMessageListRoute, {\n  analytics: {\n    section: 'messages',\n    place: 'auto_paused',\n  },\n  titleToken: 'Paused Auto Messages',\n  state: 'stopped',\n});\n","import AutoMessageListRouteBase from 'embercom/routes/apps/app/outbound/messages/auto/base/auto-message-list-route-base';\nimport Search from 'embercom/routes/apps/app/outbound/mixins/search';\nimport EmberDataMessageListRoute from 'embercom/routes/apps/app/outbound/mixins/ember-data-message-list-route';\n\nexport default AutoMessageListRouteBase.extend(Search, EmberDataMessageListRoute, {\n  analytics: {\n    section: 'messages',\n    place: 'auto_scheduled',\n  },\n  titleToken: 'Scheduled Auto Messages',\n  state: 'scheduled',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport { isPresent } from '@ember/utils';\nimport AutoMessageListRouteBase from 'embercom/routes/apps/app/outbound/messages/auto/base/auto-message-list-route-base';\nimport EmberDataMessageListRoute from 'embercom/routes/apps/app/outbound/mixins/ember-data-message-list-route';\n\nexport default AutoMessageListRouteBase.extend(EmberDataMessageListRoute, {\n  titleToken: 'Auto Messages',\n  state: 'all',\n  localSortEnabled: false,\n\n  model(params) {\n    if (isPresent(params.search_term) || isPresent(params.admin_id)) {\n      return this._super(...arguments);\n    }\n  },\n\n  activate() {\n    this._super(...arguments);\n    this.controllerFor('apps/app/outbound').set('showSearch', true);\n  },\n\n  deactivate() {\n    this._super(...arguments);\n    this.controllerFor('apps/app/outbound').set('showSearch', false);\n  },\n});\n","import { computed } from '@ember/object';\nimport AutoMessageListRouteBase from 'embercom/routes/apps/app/outbound/messages/auto/base/auto-message-list-route-base';\nimport Search from 'embercom/routes/apps/app/outbound/mixins/search';\nimport { inject as service } from '@ember/service';\nimport EmberDataMessageListRoute from 'embercom/routes/apps/app/outbound/mixins/ember-data-message-list-route';\n\nexport default AutoMessageListRouteBase.extend(Search, EmberDataMessageListRoute, {\n  analytics: {\n    section: 'messages',\n    place: 'auto_yours',\n  },\n  intercomEventService: service(),\n  titleToken: 'Your Auto Messages',\n  admin_id: computed(function() {\n    return this.modelFor('apps').get('id');\n  }),\n  state: 'all',\n  activate() {\n    this.intercomEventService.trackEvent('viewed-my-messages');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  beforeModel() {\n    return this.replaceWith('apps.app.outbound.messages.auto');\n  },\n});\n","import MessageListRouteBase from 'embercom/routes/apps/app/outbound/base/message-list-route-base';\nimport EmberDataMessageListRoute from 'embercom/routes/apps/app/outbound/mixins/ember-data-message-list-route';\nimport Search from 'embercom/routes/apps/app/outbound/mixins/search';\n\nexport default MessageListRouteBase.extend(Search, EmberDataMessageListRoute, {\n  analytics: {\n    section: 'messages',\n    place: 'manual_draft',\n  },\n  titleToken: 'Draft Manual Messages',\n  state: 'draft',\n  localSortEnabled: false,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  beforeModel() {\n    return this.replaceWith('apps.app.outbound.messages.manual.sent');\n  },\n});\n","import MessagesMessageRoute from 'embercom/routes/apps/app/outbound/message';\n\nexport default MessagesMessageRoute.extend({\n  analytics: {\n    place: 'manual_message',\n  },\n\n  messageFallbackRoute: 'apps.app.outbound.messages.manual',\n  templateName: 'apps.app.outbound.message',\n\n  _shouldRedirectBackToShowPage(message, transition) {\n    if (message.get('isNotManualMessage')) {\n      return true;\n    }\n    if (message.get('isLive') && transition.to.queryParams.editing === 'true') {\n      return true;\n    }\n    return false;\n  },\n\n  afterModel(message, transition) {\n    if (message.shouldRedirectToContentObject) {\n      return this.transitionToContentObjectPage(message);\n    }\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'open_message',\n      object: message,\n      context: 'message-list',\n    });\n    this._fetchRenderableSenderAddress(message);\n    if (this._shouldRedirectBackToShowPage(message, transition)) {\n      return this.replaceWith('apps.app.outbound.message', message, {\n        queryParams: { editing: false },\n      });\n    }\n    return this.loadIntercomEmbedJs();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport ENV from 'embercom/config/environment';\nimport createFragmentFromBlock from 'embercom/lib/blocks/create-fragment-from-block';\nimport { initializeMutationsIfRequired } from 'embercom/lib/data-mutations/mutator';\nimport { USER_ROLE_PREDICATE } from 'embercom/lib/default-predicates';\nimport MESSAGE_CONSTANTS from 'embercom/models/data/messages/message-constants';\nimport { INITIAL_PUSH_DEFAULTS } from 'embercom/models/data/messages/message-defaults';\nimport Message from 'embercom/models/message';\n\nexport default Route.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  editRoute: 'apps.app.outbound.messages.manual.message',\n  messagesRoute: 'apps.app.outbound.messages.manual',\n\n  app: computed(function() {\n    return this.modelFor('apps.app');\n  }),\n  admin: computed(function() {\n    return this.modelFor('apps');\n  }),\n\n  beforeModel(transition) {\n    let message = this._createNewMessage(transition.to.queryParams);\n    message\n      .save()\n      .then(() => {\n        this._removeTemporaryVariation(message);\n        this.intercomEventService.trackEvent('engage-created-manual-message');\n        this.replaceWith(this.editRoute, message.get('id'), {\n          queryParams: { editing: true },\n        });\n      })\n      .catch(error => {\n        this._catchErrors(error);\n      });\n  },\n  _createNewMessage(queryParams) {\n    let app = this.app;\n    let admin = this.admin;\n    let selectionState = this._getSelectionState(queryParams);\n    let type;\n    let messageStyle;\n    let deliveryChannel;\n\n    if (queryParams.type === MESSAGE_CONSTANTS.emailType) {\n      type = MESSAGE_CONSTANTS.emailType;\n      messageStyle = MESSAGE_CONSTANTS.emailStyle;\n      deliveryChannel = MESSAGE_CONSTANTS.noChannel;\n    } else if (queryParams.type === MESSAGE_CONSTANTS.pushType) {\n      type = MESSAGE_CONSTANTS.pushType;\n      messageStyle = MESSAGE_CONSTANTS.noStyle;\n      deliveryChannel = queryParams.deliveryChannel;\n    } else {\n      type = MESSAGE_CONSTANTS.inAppType;\n      messageStyle = MESSAGE_CONSTANTS.chat;\n      deliveryChannel = parseInt(queryParams.deliveryChannel, 10);\n    }\n\n    let message = this.store.createRecord('message', {\n      created_via: Message.CREATED_VIA_EDITOR,\n      created_via_version: Message.CREATED_VIA_EDITOR_VERSION,\n      deliveryChannel,\n      classType: 'manual',\n      clientData: {},\n      type,\n      selectionState,\n    });\n    let blocks = [\n      createFragmentFromBlock(this.store, {\n        type: 'paragraph',\n        text: app.get('commentPlaceholder'),\n      }),\n    ];\n\n    let messageVariationParams = {\n      assignToId: Message.getAssignToId(app, admin),\n      blocks,\n      messageStyle,\n      state: 'draft',\n      fromId: this.get('admin.id'),\n    };\n    if (message.get('isMobilePush')) {\n      messageVariationParams.pushOnlyURIs = this.store.createFragment(\n        'messages/push-only-uri',\n        INITIAL_PUSH_DEFAULTS.pushOnlyURIs,\n      );\n      messageVariationParams.blocks = INITIAL_PUSH_DEFAULTS.pushBlocks.map(block =>\n        createFragmentFromBlock(this.store, block),\n      );\n    }\n\n    let messageVariation = this.store.createRecord('message-variation', messageVariationParams);\n    message.get('variations').addObject(messageVariation);\n    initializeMutationsIfRequired(message);\n    return message;\n  },\n  _getSelectionState(queryParams) {\n    let selectionState;\n    if (queryParams.selectionState) {\n      if (this.isCompanyMessage(queryParams)) {\n        selectionState = this.store.createFragment('messages/selection-state', {\n          predicates: this._companyTargetedPredicates(queryParams),\n        });\n      } else {\n        selectionState = this.store.createFragment('messages/selection-state', {\n          predicates: JSON.parse(queryParams.selectionState).predicates,\n        });\n      }\n    } else {\n      throw new Error('No selection state could be found');\n    }\n    return selectionState;\n  },\n  _companyTargetedPredicates(queryParams) {\n    return [\n      USER_ROLE_PREDICATE,\n      {\n        type: 'or',\n        predicates: JSON.parse(queryParams.selectionState).selected.map(company => {\n          return {\n            attribute: 'company.remote_company_id',\n            comparison: 'eq',\n            type: 'string',\n            value: company.remote_company_id,\n          };\n        }),\n      },\n    ];\n  },\n  isCompanyMessage(queryParams) {\n    return (\n      typeof queryParams.is_company_message !== 'undefined' &&\n      queryParams.is_company_message === 'true'\n    );\n  },\n  _removeTemporaryVariation(message) {\n    // Currently, some message-variation defaults are set on the front end (like assignToId)\n    // and some are set on the back end. This method removes the temporary variation created to hold\n    // the attributes set on the front end. Factory Guy does not mark the variation as saved (i.e. isNew = false)\n    // after we mockCreate the message, so we need to skip this check in test.\n    // In future, we should move all messageVariation defaults to the back end.\n\n    if (ENV.environment !== 'test') {\n      message.get('variations').removeObjects(message.get('variations').filterBy('isNew'));\n    }\n  },\n  _catchErrors(error) {\n    if (error.status === 403) {\n      this.permissionsService.loadAllAdminsAndShowPermissionRequestModal('can_send_messages');\n    } else {\n      this.notificationsService.notifyResponseError(error, {\n        default:\n          \"Couldn't create a new message. Send us a message and we'll do our best to help out.\",\n      });\n    }\n    this.transitionTo(this.messagesRoute);\n  },\n});\n","import MessageListRouteBase from 'embercom/routes/apps/app/outbound/base/message-list-route-base';\nimport EmberDataMessageListRoute from 'embercom/routes/apps/app/outbound/mixins/ember-data-message-list-route';\nimport Search from 'embercom/routes/apps/app/outbound/mixins/search';\n\nexport default MessageListRouteBase.extend(Search, EmberDataMessageListRoute, {\n  analytics: {\n    section: 'messages',\n    place: 'manual_scheduled',\n  },\n  titleToken: 'Scheduled Manual Messages',\n  state: 'scheduled',\n  localSortEnabled: false,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport { isPresent } from '@ember/utils';\nimport MessageListRouteBase from 'embercom/routes/apps/app/outbound/base/message-list-route-base';\nimport EmberDataMessageListRoute from 'embercom/routes/apps/app/outbound/mixins/ember-data-message-list-route';\n\nexport default MessageListRouteBase.extend(EmberDataMessageListRoute, {\n  titleToken: 'Manual Messages',\n  state: 'all',\n  localSortEnabled: false,\n\n  model(params) {\n    if (isPresent(params.search_term) || isPresent(params.admin_id)) {\n      return this._super(...arguments);\n    }\n  },\n\n  activate() {\n    this._super(...arguments);\n    this.controllerFor('apps/app/outbound').set('showSearch', true);\n  },\n\n  deactivate() {\n    this._super(...arguments);\n    this.controllerFor('apps/app/outbound').set('showSearch', false);\n  },\n});\n","import MessageListRouteBase from 'embercom/routes/apps/app/outbound/base/message-list-route-base';\nimport EmberDataMessageListRoute from 'embercom/routes/apps/app/outbound/mixins/ember-data-message-list-route';\nimport Search from 'embercom/routes/apps/app/outbound/mixins/search';\n\nexport default MessageListRouteBase.extend(Search, EmberDataMessageListRoute, {\n  titleToken: 'Sent via API Manual Messages',\n  created_via: 'api',\n  state: 'sent',\n  localSortEnabled: false,\n});\n","import MessageListRouteBase from 'embercom/routes/apps/app/outbound/base/message-list-route-base';\nimport EmberDataMessageListRoute from 'embercom/routes/apps/app/outbound/mixins/ember-data-message-list-route';\nimport Search from 'embercom/routes/apps/app/outbound/mixins/search';\n\nexport default MessageListRouteBase.extend(Search, EmberDataMessageListRoute, {\n  analytics: {\n    section: 'messages',\n    place: 'manual_sent',\n  },\n  titleToken: 'Sent Manual Messages',\n  state: 'sent',\n  localSortEnabled: false,\n});\n","import AutoMessageListRouteBase from 'embercom/routes/apps/app/outbound/messages/auto/base/auto-message-list-route-base';\nimport Search from 'embercom/routes/apps/app/outbound/mixins/search';\nimport EmberDataMessageListRoute from 'embercom/routes/apps/app/outbound/mixins/ember-data-message-list-route';\n\nexport default AutoMessageListRouteBase.extend(Search, EmberDataMessageListRoute, {\n  analytics: {\n    section: 'messages',\n    place: 'visitor_auto_all',\n  },\n  titleToken: 'All Auto Messages',\n  state: 'all',\n  type: 'visitor_auto',\n});\n","import AutoMessageListRouteBase from 'embercom/routes/apps/app/outbound/messages/auto/base/auto-message-list-route-base';\nimport EmberDataMessageListRoute from 'embercom/routes/apps/app/outbound/mixins/ember-data-message-list-route';\nimport Search from 'embercom/routes/apps/app/outbound/mixins/search';\n\nexport default AutoMessageListRouteBase.extend(Search, EmberDataMessageListRoute, {\n  analytics: {\n    section: 'messages',\n    place: 'visitor_auto_draft',\n  },\n  titleToken: 'Draft Auto Messages',\n  state: 'draft',\n  type: 'visitor_auto',\n  localSortEnabled: false,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { updateMessageCountsForAppAndType } from 'embercom/lib/messages/message-counts';\n\nexport default Route.extend({\n  analytics: {\n    place: 'visitor_auto_message',\n  },\n  beforeModel() {\n    return this.redirectToAllOrLiveMessages();\n  },\n\n  redirectToAllOrLiveMessages() {\n    let app = this.modelFor('apps.app');\n    return updateMessageCountsForAppAndType(app, 'visitor_auto').then(() => {\n      if (app.get('liveVisitorAutoMessageCount') === 0) {\n        this.replaceWith('apps.app.outbound.messages.visitor-auto.all');\n      } else {\n        this.replaceWith('apps.app.outbound.messages.visitor-auto.live');\n      }\n    });\n  },\n});\n","import AutoMessageListRouteBase from 'embercom/routes/apps/app/outbound/messages/auto/base/auto-message-list-route-base';\nimport Search from 'embercom/routes/apps/app/outbound/mixins/search';\nimport EmberDataMessageListRoute from 'embercom/routes/apps/app/outbound/mixins/ember-data-message-list-route';\n\nexport default AutoMessageListRouteBase.extend(Search, EmberDataMessageListRoute, {\n  analytics: {\n    section: 'messages',\n    place: 'visitor_auto_live',\n  },\n  titleToken: 'Live Auto Messages',\n  state: 'live',\n  type: 'visitor_auto',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { hash } from 'rsvp';\nimport MessagesMessageRoute from 'embercom/routes/apps/app/outbound/message';\nimport getTransitionParams from 'embercom/lib/router/get-transition-params';\n\nconst DISABLED_VAM_VIEWS = ['sent', 'opened', 'clicked'];\n\nexport default MessagesMessageRoute.extend({\n  analytics: {\n    place: 'visitor_auto_message',\n  },\n\n  templateName: 'apps.app.outbound.message',\n  messageFallbackRoute: 'apps.app.outbound.messages.visitor-auto',\n\n  beforeModel(transition) {\n    this._super(...arguments);\n    if (DISABLED_VAM_VIEWS.includes(transition.to.queryParams['viewing'])) {\n      let params = getTransitionParams(transition);\n      return this.transitionTo(\n        'apps.app.outbound.message',\n        params[`${this.messageFallbackRoute}.message`].id,\n        { queryParams: { viewing: 'content' } },\n      );\n    }\n  },\n\n  afterModel(message) {\n    if (message.shouldRedirectToContentObject) {\n      return this.transitionToContentObjectPage(message);\n    }\n    if (message.get('isNotVisitorAutoMessage')) {\n      return this.replaceWith('apps.app.outbound.message', message, {\n        queryParams: { editing: false },\n      });\n    }\n\n    let app = this.modelFor('apps.app');\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'open_message',\n      object: message,\n      context: 'message-list',\n    });\n\n    this._fetchRenderableSenderAddress(message);\n\n    return hash({\n      intercomEmbedJs: this.loadIntercomEmbedJs(),\n      operatorQualificationPanelIsEnabled: this._getOperatorQualificationPanelIsEnabled(app),\n    }).then(hash => {\n      delete hash.intercomEmbedJs; //as we don't want to set it on the controller\n      this.afterModelAdditionalData = hash;\n    });\n  },\n\n  setupController(controller, model) {\n    this._super(...arguments);\n\n    controller.setProperties(this.afterModelAdditionalData);\n  },\n\n  _getOperatorQualificationPanelIsEnabled(app) {\n    return this.store.findRecord('operator-settings/task-bots', app.get('id')).then(settings => {\n      return settings.get('qualifyLeads.enabled');\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport ENV from 'embercom/config/environment';\nimport createFragmentFromBlock from 'embercom/lib/blocks/create-fragment-from-block';\nimport { initializeMutationsIfRequired } from 'embercom/lib/data-mutations/mutator';\nimport { VISITOR_ROLE_PREDICATE } from 'embercom/lib/default-predicates';\nimport MESSAGE_CONSTANTS from 'embercom/models/data/messages/message-constants';\nimport Message from 'embercom/models/message';\n\nexport default Route.extend({\n  intercomEventService: service(),\n  notificationsService: service(),\n  editRoute: 'apps.app.outbound.messages.visitor-auto.message',\n  messagesRoute: 'apps.app.outbound.messages.visitor-auto',\n\n  app: computed(function() {\n    return this.modelFor('apps.app');\n  }),\n\n  beforeModel() {\n    let message = this._createNewMessage();\n    message\n      .save()\n      .then(() => {\n        this._removeTemporaryVariation(message);\n        this.intercomEventService.trackEvent('visitor-auto-message-created');\n        this.replaceWith(this.editRoute, message.get('id'), {\n          queryParams: { editing: true },\n        });\n      })\n      .catch(error => {\n        this._catchErrors(error);\n      });\n  },\n\n  _createNewMessage() {\n    let admin = this.modelFor('apps');\n    let assignToId = Message.getAssignToId(this.app, admin);\n    let selectionState = this.store.createFragment('messages/selection-state', {\n      predicates: [VISITOR_ROLE_PREDICATE],\n    });\n    let message = this.store.createRecord('message', {\n      classType: 'visitorauto',\n      type: 'In-App',\n      selectionState,\n      deliveryChannel: MESSAGE_CONSTANTS.webChannel,\n      created_via: Message.CREATED_VIA_EDITOR,\n      created_via_version: Message.CREATED_VIA_EDITOR_VERSION,\n      clientData: {},\n      state: 'draft',\n    });\n    let messageVariation = this.store.createRecord('message-variation', {\n      assignToId,\n      fromId: admin.id,\n      blocks: [createFragmentFromBlock(this.store, { text: 'Hi there, ', type: 'paragraph' })],\n      messageStyle: MESSAGE_CONSTANTS.chat,\n      state: 'draft',\n    });\n    message.get('variations').addObject(messageVariation);\n    initializeMutationsIfRequired(message);\n    return message;\n  },\n\n  _removeTemporaryVariation(message) {\n    // Currently, some message-variation defaults are set on the front end (like assignToId)\n    // and some are set on the back end. This method removes the temporary variation created to hold\n    // the attributes set on the front end. Factory Guy does not mark the variation as saved (i.e. isNew = false)\n    // after we mockCreate the message, so we need to skip this check in test.\n    // In future, we should move all messageVariation defaults to the back end.\n\n    if (ENV.environment !== 'test') {\n      message.get('variations').removeObjects(message.get('variations').filterBy('isNew'));\n    }\n  },\n\n  _catchErrors(error) {\n    if (error.status === 403) {\n      this.permissionsService.loadAllAdminsAndShowPermissionRequestModal('can_send_messages');\n    } else {\n      this.notificationsService.notifyResponseError(error, {\n        default:\n          \"Couldn't create a new message. Send us a message and we'll do our best to help out.\",\n      });\n    }\n    this.transitionTo(this.messagesRoute);\n  },\n});\n","import AutoMessageListRouteBase from 'embercom/routes/apps/app/outbound/messages/auto/base/auto-message-list-route-base';\nimport Search from 'embercom/routes/apps/app/outbound/mixins/search';\nimport EmberDataMessageListRoute from 'embercom/routes/apps/app/outbound/mixins/ember-data-message-list-route';\n\nexport default AutoMessageListRouteBase.extend(Search, EmberDataMessageListRoute, {\n  analytics: {\n    section: 'messages',\n    place: 'visitor_auto_paused',\n  },\n  titleToken: 'Paused Auto Messages',\n  state: 'stopped',\n  type: 'visitor_auto',\n});\n","import AutoMessageListRouteBase from 'embercom/routes/apps/app/outbound/messages/auto/base/auto-message-list-route-base';\nimport EmberDataMessageListRoute from 'embercom/routes/apps/app/outbound/mixins/ember-data-message-list-route';\nimport Search from 'embercom/routes/apps/app/outbound/mixins/search';\n\nexport default AutoMessageListRouteBase.extend(Search, EmberDataMessageListRoute, {\n  analytics: {\n    section: 'messages',\n    place: 'visitor_auto_scheduled',\n  },\n  titleToken: 'Scheduled Auto Messages',\n  state: 'scheduled',\n  type: 'visitor_auto',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport { isPresent } from '@ember/utils';\nimport AutoMessageListRouteBase from 'embercom/routes/apps/app/outbound/messages/auto/base/auto-message-list-route-base';\nimport EmberDataMessageListRoute from 'embercom/routes/apps/app/outbound/mixins/ember-data-message-list-route';\n\nexport default AutoMessageListRouteBase.extend(EmberDataMessageListRoute, {\n  titleToken: 'Visitor Auto Messages',\n  state: 'all',\n  type: 'visitor_auto',\n  localSortEnabled: false,\n\n  model(params) {\n    if (isPresent(params.search_term) || isPresent(params.admin_id)) {\n      return this._super(...arguments);\n    }\n  },\n\n  activate() {\n    this._super(...arguments);\n    this.controllerFor('apps/app/outbound').set('showSearch', true);\n  },\n\n  deactivate() {\n    this._super(...arguments);\n    this.controllerFor('apps/app/outbound').set('showSearch', false);\n  },\n});\n","import { computed } from '@ember/object';\nimport AutoMessageListRouteBase from 'embercom/routes/apps/app/outbound/messages/auto/base/auto-message-list-route-base';\nimport Search from 'embercom/routes/apps/app/outbound/mixins/search';\nimport { inject as service } from '@ember/service';\nimport EmberDataMessageListRoute from 'embercom/routes/apps/app/outbound/mixins/ember-data-message-list-route';\n\nexport default AutoMessageListRouteBase.extend(Search, EmberDataMessageListRoute, {\n  analytics: {\n    section: 'messages',\n    place: 'visitor_auto_yours',\n  },\n  intercomEventService: service(),\n  titleToken: 'Your Auto Messages',\n  admin_id: computed(function() {\n    return this.modelFor('apps').get('id');\n  }),\n  state: 'all',\n  type: 'visitor_auto',\n  activate() {\n    this.intercomEventService.trackEvent('viewed-my-messages');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport Mixin from '@ember/object/mixin';\nimport { isPresent } from '@ember/utils';\n\nexport default Mixin.create({\n  localSortEnabled: true,\n\n  _requestPayload(params) {\n    let payload = {\n      type: this.type,\n      state: this.state,\n      sort_by: params.sort_by || this.sort_by,\n      sort_direction: params.sort_direction || this.sort_direction,\n      page: 1,\n      per_page: 25,\n    };\n    let createdVia = params.created_via || this.created_via;\n    if (createdVia) {\n      payload.created_via = createdVia;\n    }\n    if (params.search_term) {\n      payload.search_term = params.search_term;\n    }\n    let adminId = params.admin_id || this.admin_id;\n    if (adminId) {\n      payload.from_id = adminId;\n    }\n    return payload;\n  },\n\n  model(params) {\n    if (this.localSortEnabled) {\n      return this._super(...arguments);\n    } else {\n      return this.store.query('message', this._requestPayload(params));\n    }\n  },\n\n  setupController(controller, messages) {\n    if (this.localSortEnabled) {\n      if (this.admin_id) {\n        controller.set('admin_id', this.admin_id);\n      }\n      this._super(...arguments);\n    } else {\n      if (isPresent(messages)) {\n        controller.setProperties({\n          model: messages.toArray(),\n          totalMessages: messages.meta.total_count,\n          totalMessageCount: messages.meta.total_count,\n          pageCount: 1,\n        });\n      } else {\n        controller.setProperties({\n          model: [],\n          totalMessages: 0,\n          pageCount: 1,\n        });\n      }\n      controller.recordPageRenderTime();\n      controller.reset();\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport Mixin from '@ember/object/mixin';\nexport default Mixin.create({\n  renderTemplate() {\n    this._super(...arguments);\n\n    this.render('apps.app.outbound.messages.search', {\n      into: 'apps.app.outbound',\n      outlet: 'search',\n    });\n  },\n});\n","import ContentEditorRoute from 'embercom/routes/apps/app/content/edit';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nexport default ContentEditorRoute.extend({\n  analytics: {\n    section: 'messages',\n    place: 'post_editor',\n  },\n\n  afterModel() {\n    this.outboundHomeService.setActiveList(objectTypes.post);\n  },\n});\n","import OutboundBaseListRoute from 'embercom/lib/outbound/base-list-route';\nimport {\n  objectTypes,\n  matchBehaviors,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { inject as service } from '@ember/service';\n\nexport default class AppsAppOutboundPostIndexRoute extends OutboundBaseListRoute {\n  @service appService;\n  @service outboundHomeService;\n\n  beforeModel() {\n    this.outboundHomeService.setActiveList(objectTypes.post);\n  }\n\n  titleToken = 'Post';\n  analytics = {\n    section: 'outbound',\n    place: 'post',\n  };\n\n  objectTypes = [objectTypes.post];\n  matchBehavior = matchBehaviors.single;\n}\n","import ContentEditorRoute from 'embercom/routes/apps/app/content/edit';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nexport default ContentEditorRoute.extend({\n  analytics: {\n    section: 'messages',\n    place: 'push_editor',\n  },\n\n  afterModel() {\n    this.outboundHomeService.setActiveList(objectTypes.push);\n  },\n});\n","import OutboundBaseListRoute from 'embercom/lib/outbound/base-list-route';\nimport {\n  objectTypes,\n  matchBehaviors,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { inject as service } from '@ember/service';\n\nexport default OutboundBaseListRoute.extend({\n  appService: service(),\n  outboundHomeService: service(),\n\n  beforeModel() {\n    this._super();\n    this.outboundHomeService.setActiveList(objectTypes.push);\n  },\n\n  titleToken: 'Push',\n  analytics: {\n    section: 'outbound',\n    place: 'push',\n  },\n  objectTypes: [objectTypes.legacyMessagePush, objectTypes.push],\n  matchBehavior: matchBehaviors.single,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  analytics: {\n    place: 'reporting',\n  },\n});\n","import { hash } from 'rsvp';\nimport ReportBase from 'embercom/routes/apps/app/reports/base/report';\nimport { SIGNAL_CONFIGS } from 'embercom/models/reporting/signal';\nimport Range from 'embercom/models/reporting/range';\nimport { inject as service } from '@ember/service';\nimport moment from 'moment';\n\nexport default ReportBase.extend({\n  intercomEventService: service(),\n  router: service(),\n  reportName: 'deliverability_report',\n\n  queryParams: {},\n\n  beforeModel(transition) {\n    if (this.get('app.canUseDeliverabilityDashboard')) {\n      this._super(transition);\n      let timezone = this.get('app.timezone');\n      this.reportingService.updateRange(\n        Range.createFromParams(\n          moment\n            .tz(timezone)\n            .subtract(29, 'days')\n            .startOf('day')\n            .format(),\n          moment\n            .tz(timezone)\n            .endOf('day')\n            .format(),\n          timezone,\n        ),\n      );\n    } else {\n      this.transitionTo('apps.app.outbound');\n    }\n  },\n  fetchSignals() {\n    let range = this.range;\n    return hash({\n      emailsSent: this._fetchComparisonSignal(SIGNAL_CONFIGS.EMAILS_SENT, 'email', range),\n      emailsOpened: this._fetchComparisonSignal(SIGNAL_CONFIGS.EMAILS_OPENED, 'email', range),\n      emailsBounced: this._fetchComparisonSignal(SIGNAL_CONFIGS.EMAILS_BOUNCED, 'email', range),\n      emailsWithComplaints: this._fetchComparisonSignal(\n        SIGNAL_CONFIGS.EMAILS_WITH_COMPLAINTS,\n        'email',\n        range,\n      ),\n      emailUnsubscribes: this._fetchComparisonSignal(\n        SIGNAL_CONFIGS.EMAIL_UNSUBSCRIBES,\n        'email',\n        range,\n      ),\n    });\n  },\n  _fetchComparisonSignal(...args) {\n    return this.reportingService.fetchComparisonSignal(...args);\n  },\n  actions: {\n    didTransition() {\n      let routeName = this.router.currentRouteName;\n      if (routeName.endsWith('loading')) {\n        return;\n      }\n\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'viewed',\n        object: 'deliverability_report',\n        place: 'reporting',\n        routeName,\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\nimport Range from 'embercom/models/reporting/range';\nimport { hash } from 'rsvp';\n\nexport default Route.extend({\n  appService: service(),\n  reportingService: service(),\n  app: readOnly('appService.app'),\n\n  queryParams: {\n    rangeEnd: { refreshModel: true },\n    rangeStart: { refreshModel: true },\n  },\n\n  beforeModel() {\n    if (!this.get('app.canUseMessagesReporting')) {\n      this.transitionTo('apps.app.users');\n    }\n  },\n\n  model(params) {\n    let { rangeStart, rangeEnd } = params;\n    let range = Range.createFromParams(rangeStart, rangeEnd, this.get('app.timezone'));\n\n    return hash({ range });\n  },\n\n  setupController(controller, { range }) {\n    controller.setProperties({\n      range,\n      rangeStart: range.start,\n      rangeEnd: range.end,\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { PAGE_SIZE } from 'embercom/models/data/outbound/constants';\nimport { hash } from 'rsvp';\nimport { statisticKeys } from 'embercom/models/data/outbound/constants';\n\nexport default Route.extend({\n  titleToken: 'Messages',\n  intercomEventService: service(),\n  outboundHomeService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  objectTypes: readOnly('outboundHomeService.allObjectTypes'),\n  statistics: [statisticKeys.receipts, statisticKeys.goals],\n\n  activate() {\n    this._super(...arguments);\n    this.outboundHomeService.setActiveList(null);\n    this.intercomEventService.trackEvent('outbound-list-view', {\n      route: this.routeName,\n    });\n    this.controllerFor('apps/app/outbound').set('showSearch', true);\n  },\n\n  deactivate() {\n    this._super(...arguments);\n    this.controllerFor('apps/app/outbound').set('showSearch', false);\n    let searchController = this.controllerFor('apps/app/outbound/search');\n    if (!(searchController.isDestroying || searchController.isDestroyed)) {\n      searchController.send('resetSearch');\n    }\n  },\n\n  async model(params) {\n    let response = {};\n\n    if (params.searchString) {\n      response = await this.outboundHomeService.contentSearch({\n        app_id: this.app.id,\n        object_types: this.objectTypes,\n        per_page: PAGE_SIZE,\n        page_from: 0,\n        title: params.searchString,\n        statistics: this.statistics,\n      });\n    }\n\n    return hash({\n      response,\n      searchString: params.searchString,\n      type: params.type,\n    });\n  },\n\n  setupController(controller, { response, searchString, type }) {\n    controller.setProperties({\n      searchResults: response.contentWrappers,\n      pageFrom: response.pageFrom,\n      perPage: response.perPage,\n      totalCount: response.totalCount,\n      totalPages: response.totalPages,\n      lastPageHit: response.lastPageHit,\n      searchString,\n      type,\n      objectTypes: this.objectTypes,\n      statistics: this.statistics,\n    });\n  },\n});\n","import Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default class AppsAppOutboundSeriesSeriesRoute extends Route {\n  @service appService;\n\n  beforeModel() {\n    if (!this.appService.app.canUseSeries) {\n      this.replaceWith('apps.app.outbound.all');\n    }\n  }\n}\n","import OutboundBaseListRoute from 'embercom/lib/outbound/base-list-route';\nimport { PAGE_SIZE } from 'embercom/models/data/outbound/constants';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport { hash } from 'rsvp';\n\nexport default class AppsAppOutboundSeriesIndexRoute extends OutboundBaseListRoute {\n  titleToken = 'Series';\n  analytics = {\n    section: 'outbound',\n    place: 'series',\n  };\n  objectTypes = [objectTypes.series];\n\n  activate() {\n    this.intercomEventService.trackEvent('series-viewed-home');\n  }\n\n  beforeModel() {\n    this.outboundHomeService.setActiveList(objectTypes.series);\n  }\n\n  async model() {\n    let searchResponsePromise = this.outboundHomeService.fetchSeriesList({ per_page: PAGE_SIZE });\n\n    let results = await hash({\n      searchResponse: searchResponsePromise,\n      seriesTemplates: this.store.findAll('series/template'),\n    });\n\n    return {\n      contentWrappers: results.searchResponse.contentWrappers,\n      pageFrom: results.searchResponse.pageFrom,\n      perPage: results.searchResponse.perPage,\n      totalCount: results.searchResponse.totalCount,\n      totalPages: results.searchResponse.totalPages,\n      lastPageHit: results.searchResponse.lastPageHit,\n      templates: [],\n      tourTemplates: [],\n      seriesTemplates: results.seriesTemplates,\n      messagesTags: [],\n    };\n  }\n}\n","import Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { post } from 'embercom/lib/ajax';\nimport { action } from '@ember/object';\n\nexport default class AppsAppOutboundSeriesNewRoute extends Route {\n  @service store;\n  @service appService;\n  @service notificationsService;\n\n  async model(params) {\n    let response = await post('/ember/series/series', {\n      app_id: this.appService.app.id,\n      template_id: params.template_id,\n    });\n    this.store.pushPayload('series/series', { 'series/series': [response] });\n    let series = this.store.peekRecord('series/series', response.id);\n    this.replaceWith('apps.app.outbound.series.series', series);\n  }\n\n  @action error(response) {\n    this.notificationsService.notifyResponseError(response, {\n      403: `You don't have permission to do that. Ask an admin on your team for help.`,\n      default: `Something went wrong on our side, please try again and reach out to our support team if the problem persists.`,\n    });\n    this.transitionTo('apps.app.outbound.series.index');\n  }\n}\n","import Route from '@ember/routing/route';\nimport { next } from '@ember/runloop';\n\nexport default class AppsAppOutboundSeriesRedirectToSeriesRoute extends Route {\n  afterModel(series) {\n    // Run next to ensure we've torn down and unregistered the old Series editor, if it existed.\n    next(this, () => {\n      this.replaceWith('apps.app.outbound.series.series', series.id, {\n        queryParams: { mode: 'edit' },\n      });\n    });\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { schedule } from '@ember/runloop';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport ENV from 'embercom/config/environment';\n\nexport default class AppsAppOutboundSeriesSeriesRoute extends Route {\n  @service navbarCollapsingService;\n  @service notificationsService;\n\n  async model(params) {\n    return await this.store.findRecord('series/series', params.id);\n  }\n\n  activate() {\n    if (this.navbarCollapsingService.collapsed === false) {\n      this.navbarCollapsingService.set('collapsed', true);\n    }\n    this.intercomEventService.trackEvent('series-viewed-editor');\n\n    if (ENV.environment !== 'test' && !this.hasSetupBeforeUnload) {\n      this.hasSetupBeforeUnload = true;\n      window.onbeforeunload = e => {\n        let series = this.controller.model;\n\n        if (series.hasUnsavedChanges) {\n          let text = \"You'll lose your changes if you don't save first.\";\n          e.returnValue = text;\n          return text;\n        }\n      };\n    }\n  }\n\n  deactivate() {\n    if (this.navbarCollapsingService.collapsed !== false) {\n      this.navbarCollapsingService.set('collapsed', false);\n    }\n    window.onbeforeunload = undefined;\n    this.hasSetupBeforeUnload = false;\n    this.currentModel.unloadRecord();\n  }\n\n  @action didTransition() {\n    // After the controller has loaded, unset the Initial Node query param if it was provided.\n    // This will remove it from the URL.\n    schedule('afterRender', this, () => {\n      this.controller.nodeId = null;\n    });\n  }\n\n  @action willTransition(transition) {\n    let series = this.controller.model;\n    if (!transition.data.forceTransition && series.hasUnsavedChanges) {\n      transition.abort();\n      let confirmOptions = {\n        title: 'Close without saving?',\n        primaryButtonType: 'primary-destructive',\n        confirmButtonText: 'Close without saving',\n        cancelButtonText: 'Keep editing',\n        body: \"You'll lose your changes if you don't save first.\",\n      };\n      intercomConfirm(this, confirmOptions).then(() => {\n        transition.data.forceTransition = true;\n        transition.retry();\n      });\n    }\n  }\n\n  @action error(response) {\n    this.notificationsService.notifyResponseError(response, {\n      404: `We couldn't find that Series`,\n      403: `You don't have permission to do that. Ask an admin on your team for help.`,\n      default: `Something went wrong on our side, please try again and reach out to our support team if the problem persists.`,\n    });\n    this.transitionTo('apps.app.outbound.series');\n  }\n}\n","import ContentEditorRoute from 'embercom/routes/apps/app/content/edit';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nexport default ContentEditorRoute.extend({\n  analytics: {\n    section: 'messages',\n    place: 'sms_editor',\n  },\n\n  afterModel() {\n    this.outboundHomeService.setActiveList(objectTypes.sms);\n  },\n});\n","import OutboundBaseListRoute from 'embercom/lib/outbound/base-list-route';\nimport {\n  objectTypes,\n  matchBehaviors,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { inject as service } from '@ember/service';\n\nexport default class AppsAppOutboundSmsIndexRoute extends OutboundBaseListRoute {\n  @service appService;\n  @service outboundHomeService;\n\n  beforeModel() {\n    this.outboundHomeService.setActiveList(objectTypes.sms);\n  }\n\n  titleToken = 'SMS';\n  analytics = {\n    section: 'outbound',\n    place: 'sms',\n  };\n\n  objectTypes = [objectTypes.sms];\n  matchBehavior = matchBehaviors.single;\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly } from '@ember/object/computed';\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\n\nexport default Route.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  intercomEventService: service(),\n  outboundHomeService: service(),\n  analytics: {\n    section: 'tours',\n    place: 'tour-editor',\n  },\n\n  model(params) {\n    return this.store.findRecord('matching-system/ruleset', params.id, {\n      adapterOptions: {\n        stats: [stats.receipt, stats.completion, stats.goalSuccess, stats.tourStepFailure],\n      },\n    });\n  },\n\n  afterModel(model, transition) {\n    this.outboundHomeService.setActiveList(objectTypes.tour);\n    let referer = transition.to.queryParams.referer;\n    if (referer === 'insert_tour_modal') {\n      let tour_id = model.get('rulesetLinks.firstObject.object.id');\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'edit_url',\n        place: 'insert_tour_modal',\n        section: 'tours',\n        tour_id,\n      });\n    }\n  },\n\n  actions: {\n    didTransition() {\n      let eventObject = this.controller.get('editing') ? 'edit_tour' : 'show_tour';\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'viewed',\n        object: eventObject,\n        ruleset_id: this.controller.get('model.id'),\n      });\n    },\n  },\n});\n","import OutboundBaseListRoute from 'embercom/lib/outbound/base-list-route';\nimport {\n  objectTypes,\n  matchBehaviors,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { inject as service } from '@ember/service';\n\nexport default OutboundBaseListRoute.extend({\n  outboundHomeService: service(),\n\n  beforeModel() {\n    this._super();\n    this.outboundHomeService.setActiveList(objectTypes.tour);\n  },\n\n  titleToken: 'Product Tours',\n  analytics: {\n    section: 'outbound',\n    place: 'product-tours',\n  },\n  objectTypes: [objectTypes.tour],\n  matchBehavior: matchBehaviors.single,\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport Ruleset from 'embercom/models/matching-system/ruleset';\nimport {\n  objectTypes,\n  matchBehaviors,\n} from 'embercom/models/data/matching-system/matching-constants';\n\nexport default Route.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  intercomEventService: service(),\n  analytics: {\n    section: 'tours',\n    place: 'tour-editor',\n  },\n\n  tourEditRoute: 'apps.app.outbound.tour.edit',\n\n  beforeModel(transition) {\n    let admin_id = this.get('app.currentAdmin.id');\n    let template_id = transition.to.queryParams.templateId;\n\n    let params = {\n      app_id: this.get('app.id'),\n      admin_id,\n      match_behavior: matchBehaviors.single,\n      object_type: objectTypes.tour,\n      object_data: {\n        from_id: admin_id,\n        template_id,\n      },\n    };\n    Ruleset.createForType(this.store, params).then(ruleset => {\n      ruleset.set('isNewRuleset', true);\n\n      if (this.app.canUseToursContentEditor) {\n        this.replaceWith(this.tourEditRoute, ruleset, {\n          queryParams: { mode: 'edit' },\n        });\n      } else {\n        this.replaceWith(this.tourEditRoute, ruleset, {\n          queryParams: { editing: 'true' },\n        });\n      }\n\n      let event = {\n        action: 'viewed',\n        object: 'new_tour',\n        context: 'from_index_page',\n        ruleset_id: ruleset.id,\n      };\n\n      if (params.object_data.template_id) {\n        event.template_id = params.object_data.template_id;\n      }\n\n      this.intercomEventService.trackAnalyticsEvent(event);\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport GuideRouteBase from 'embercom/routes/base/guide';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default GuideRouteBase.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  analytics: {\n    section: 'platform',\n    place: 'start_guide',\n  },\n\n  beforeModel() {\n    this.transitionTo(this.app.onboardingHomeRoute);\n  },\n\n  activate() {\n    this.controllerFor('apps.app').set('showPrimaryNav', true);\n  },\n});\n","import GuideIndexRouteBase from 'embercom/routes/base/guide/index';\n\nexport default GuideIndexRouteBase.extend();\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport {\n  hideIntercomWidgetWhenLoaded,\n  showIntercomWidget,\n} from 'embercom/lib/intercom-widget-helper';\n\nexport default IntercomRoute.extend({\n  title: 'Design Your Product Tour - Intercom',\n  activate() {\n    this._super(...arguments);\n    this.hidePrimaryNav();\n    hideIntercomWidgetWhenLoaded();\n  },\n  deactivate() {\n    this._super(...arguments);\n    this.showPrimaryNav();\n    showIntercomWidget();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport Route from '@ember/routing/route';\nimport storage from 'embercom/vendor/intercom/storage';\nimport { inject as service } from '@ember/service';\nimport Range from 'embercom/models/reporting/range';\nimport { action } from '@ember/object';\nimport { hash } from 'rsvp';\n\nexport default class ReportsRoute extends Route {\n  @service appService;\n  @service reportingService;\n\n  buildRouteInfoMetadata() {\n    return {\n      responsibleTeam: 'team-reporting',\n    };\n  }\n\n  analytics = {\n    section: 'reports',\n  };\n  titleToken = 'Reports';\n  queryParams = {\n    rangeEnd: { refreshModel: true },\n    rangeStart: { refreshModel: true },\n  };\n\n  activate() {\n    storage.set('lastProductUsed', 'reports');\n  }\n\n  beforeModel(transition) {\n    if (transition.to.queryParams.embeddedContent) {\n      this.controllerFor('apps/app').set('showPrimaryNav', false);\n    }\n\n    let { rangeStart, rangeEnd } = transition.to.queryParams;\n    let range = Range.createFromParams(rangeStart, rangeEnd, this.appService.app.timezone);\n    this.reportingService.set('range', range);\n  }\n\n  async model(_params, transition) {\n    let customReports = [];\n    if (this.appService.app.canSeePowerfulReportingNav && transition.data.reportsAreVisible) {\n      customReports = this.findAllCustomReportsForCurrentUser();\n    }\n    return hash({ customReports });\n  }\n\n  async findAllCustomReportsForCurrentUser() {\n    let customReports = await this.store.findAll('reporting/custom/report', {\n      reload: true,\n      backgroundReload: false,\n    });\n    return customReports.filterBy('createdByCurrentAdmin').sortBy('titleForDisplay');\n  }\n\n  @action\n  loadCustomReports() {\n    let transition = this.refresh();\n    transition.data.reportsAreVisible = true;\n  }\n}\n","import Articles from 'embercom/routes/apps/app/reports/customer-support/articles';\n\nexport default Articles.extend({\n  controllerName: 'apps.app.reports.customer-support.articles',\n  templateName: 'apps.app.reports.customer-support.articles',\n});\n","import ClosedByOperator from 'embercom/routes/apps/app/reports/customer-support/articles/closed-by-operator';\n\nexport default ClosedByOperator.extend({\n  controllerName: 'apps.app.reports.customer-support.articles.closed-by-operator',\n  templateName: 'apps.app.reports.customer-support.articles.closed-by-operator',\n\n  beforeModel(transition) {\n    let app = this.modelFor('apps.app');\n    if (app.get('canUseNewReportingIa')) {\n      return this.transitionTo('apps.app.reports.customer-support.articles.closed-by-operator');\n    }\n    this.replaceWith('apps.app.reports.articles.closed-by-operator', {\n      queryParams: {\n        interval: transition.to.queryParams.interval || 28,\n      },\n    });\n  },\n});\n","import ArticleIndex from 'embercom/routes/apps/app/reports/customer-support/articles/index';\n\nexport default ArticleIndex.extend({\n  controllerName: 'apps.app.reports.customer-support.articles.index',\n  templateName: 'apps.app.reports.customer-support.articles.index',\n\n  beforeModel(transition) {\n    let app = this.modelFor('apps.app');\n    if (app.get('canUseNewReportingIa')) {\n      return this.transitionTo('apps.app.reports.customer-support.articles');\n    }\n    this.replaceWith('apps.app.reports.articles.index', {\n      queryParams: {\n        interval: transition.to.queryParams.interval || 28,\n      },\n    });\n  },\n});\n","import ReportBase from 'embercom/routes/apps/app/reports/base/report';\nimport { inject as service } from '@ember/service';\nimport Admin from 'embercom/models/admin';\n\nexport default ReportBase.extend({\n  reportContext: 'performance',\n  titleToken: 'Performance',\n  store: service(),\n\n  beforeModel(transition) {\n    this._super(...arguments);\n\n    //When transitioning from responsiveness and happiness we may have a teamParticipated query param\n    let teamOrTeammateSelected =\n      transition.to.queryParams.teamsParticipated || transition.to.queryParams.teammateId;\n    if (teamOrTeammateSelected) {\n      this.set('teamOrTeammate', Admin.peekAndMaybeLoad(this.store, teamOrTeammateSelected));\n    } else {\n      this.set('teamOrTeammate', this.get('app.appTeam'));\n    }\n    this.set('teammateIds', this._teammateIds(this.teamOrTeammate));\n  },\n\n  filters() {\n    let filters = {};\n\n    if (this.teammateIds && !this.get('teamOrTeammate.isAppTeam')) {\n      filters['teammate_ids'] = this.teammateIds;\n    }\n\n    if (this.scopingTagIds) {\n      filters['scoping_tag_ids'] = this.scopingTagIds;\n    }\n\n    return filters;\n  },\n\n  setupController(controller, model) {\n    this._super(...arguments);\n    let teamOrTeammate = this.teamOrTeammate;\n    controller.set('teamOrTeammate', teamOrTeammate);\n    controller.set('teammateIds', this.teammateIds);\n    controller.set('filters', this.filters());\n    if (this.botInboxTime) {\n      controller.set('botInboxTime', this.botInboxTime);\n    }\n    let {\n      interval,\n      comparisonStartMoment,\n      comparisonEndMoment,\n      startMoment,\n      endMoment,\n      inDays,\n      timezone,\n    } = this.range;\n\n    controller.set('rangeParams', {\n      interval,\n      comparisonStartMoment,\n      comparisonEndMoment,\n      startMoment,\n      endMoment,\n      inDays,\n      timezone,\n    });\n  },\n\n  _teammateIds(teamOrTeammate) {\n    if (!teamOrTeammate) {\n      return;\n    } else if (teamOrTeammate.get('isTeam')) {\n      return teamOrTeammate.get('member_ids');\n    } else {\n      return [parseInt(teamOrTeammate.get('id'), 10)];\n    }\n  },\n});\n","import { assert } from '@ember/debug';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { hash } from 'rsvp';\nimport { on } from '@ember/object/evented';\n\nexport default IntercomRoute.extend({\n  store: service(),\n  intercomEventService: service(),\n  reportingService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  range: readOnly('reportingService.range'),\n\n  mergedProperties: ['queryParams'],\n  queryParams: {\n    teammateId: { refreshModel: true },\n    scopingTagIds: { refreshModel: true, type: 'intarray' },\n    slaId: { refreshModel: true },\n    botInboxTime: { refreshModel: true },\n  },\n\n  trackPageview: on('activate', function() {\n    let models = [];\n\n    if (this.teammate) {\n      models = [...models, this.teammate];\n    }\n\n    if (this.teamOrTeammate) {\n      models = [...models, this.teamOrTeammate];\n    }\n\n    this.instrumentationEvent = setTimeout(\n      () =>\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'viewed',\n          object: this.reportName,\n          context: this.reportContext,\n          start_date: this.range.startMoment.format('YYYY/MM/DD'),\n          end_date: this.range.endMoment.format('YYYY/MM/DD'),\n          filtered_tag: this.get('tag.name'),\n          models,\n        }),\n      this.instrumentationDelay || 0,\n    );\n  }),\n\n  cleanupDelayedTrackPageview: on('deactivate', function() {\n    return this.instrumentationEvent && clearTimeout(this.instrumentationEvent);\n  }),\n\n  beforeModel(transition) {\n    let { scopingTagIds, botInboxTime } = transition.to.queryParams;\n    let tagId = scopingTagIds ? scopingTagIds[0] : undefined;\n    let tag = tagId ? this.store.peekRecord('tag', tagId) : undefined;\n\n    if (!tag) {\n      this.setProperties({\n        scopingTagIds: null,\n        tag: undefined,\n        botInboxTime,\n      });\n    } else {\n      this.setProperties({\n        scopingTagIds,\n        tag,\n        botInboxTime,\n      });\n    }\n  },\n\n  async model() {\n    let reportingAllSettings = await this.store.queryRecord('reporting/settings', {});\n    let dataConfigs = {};\n\n    if (this.dashboardIdentifier) {\n      let fetchedDataConfigs = await this.store.query('reporting/chart', {\n        dashboard_identifier: this.dashboardIdentifier,\n      });\n\n      dataConfigs = this.chartIdentifiers.reduce((result, id) => {\n        result[id] = this.findDataConfig(fetchedDataConfigs, id);\n        return result;\n      }, {});\n    }\n    let botInboxSettings = await this.store.findRecord('operator-bot-inbox-settings', this.app.id);\n\n    let settings = {\n      reportingExcludeOooHours: reportingAllSettings.get('excludeOooHours'),\n      allowToExcludeBotInbox: botInboxSettings.get('assignConversationsToBots'),\n      excludeBotInboxStartDate: botInboxSettings.get('assignConversationsToBotsLastEnabledAt'),\n    };\n\n    return hash({\n      settings,\n      dataConfigs,\n      dashboardIdentifier: this.dashboardIdentifier,\n      signals: this.fetchSignals(settings),\n    });\n  },\n\n  findDataConfig(dataConfigs, chartId) {\n    let result = dataConfigs.findBy('chart_identifier', chartId);\n\n    if (!result) {\n      result = this.store.createRecord('reporting/chart', {\n        dashboard_identifier: this.dashboardIdentifier,\n        chart_identifier: chartId,\n        aggregation_method: 'median',\n        app_id: this.app.id,\n      });\n    }\n    return result;\n  },\n\n  setupController(controller, model) {\n    let { range, reportName, tag } = this;\n    let controllerProperties = {\n      rangeStart: range.start,\n      rangeEnd: range.end,\n      range,\n      tag,\n      reportName,\n      rangeParams: {\n        baseAggregations: range.baseAggregations,\n        heatmapAggregations: range.heatmapAggregations,\n        interval: range.interval,\n        comparisonStartMoment: range.comparisonStartMoment,\n        comparisonEndMoment: range.comparisonEndMoment,\n        startMoment: range.startMoment,\n        endMoment: range.endMoment,\n        inDays: range.inDays,\n        timezone: range.timezone,\n      },\n      ...model,\n    };\n    controller.setProperties(controllerProperties);\n    this.intercomEventService.trackEvent(`viewed_${this.reportName}`);\n  },\n\n  fetchSignals() {\n    assert('Must implement fetchSignals');\n  },\n\n  deserializeQueryParam(value, urlKey, defaultValueType) {\n    if (defaultValueType === 'intarray') {\n      let arr = [];\n      for (let i = 0; i < value.length; i++) {\n        arr.push(parseInt(value[i], 10));\n      }\n      return arr; // Original: return Ember.A(JSON.parse(value));\n    }\n    return this._super(...arguments);\n  },\n\n  serializeQueryParam(value, urlKey, defaultValueType) {\n    if (defaultValueType === 'intarray') {\n      return value; // Original: return JSON.stringify(value);\n    }\n    return this._super(...arguments);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport PALETTE from '@intercom/embercom-core/lib/palette';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default Route.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  reportContext: 'sales',\n\n  setupController(controller, model) {\n    this._super(controller, model);\n\n    let parentController = this.controllerFor(this.parentRoute);\n    controller.set('range', parentController.get('range'));\n    controller.set('palette', PALETTE);\n    controller.set('app', this.app);\n    controller.set('signals', parentController.get('signals'));\n  },\n});\n","import Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default class ReportsConversationalInsightsRoute extends Route {\n  @service appService;\n\n  beforeModel() {\n    if (!this.appService.app.canSeeConversationalInsights) {\n      return this.transitionTo('apps.app.reports');\n    }\n  }\n}\n","import Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default class ConversationalInsightsIndexRoute extends Route {\n  @service appService;\n\n  beforeModel() {\n    this.transitionTo('apps.app.reports.conversational-insights.tracked-topics');\n  }\n}\n","import Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport { hash } from 'rsvp';\nimport ajax from 'embercom/lib/ajax';\n\nexport default class ConversationalInsightsSuggestedTopicsIndexRoute extends Route {\n  @service reportingService;\n  @service appService;\n\n  @task\n  *topicStatsQuery({ rangeStart, rangeEnd }) {\n    let reportingSettings = yield this.store.queryRecord('reporting/settings', {});\n\n    return yield ajax({\n      url: '/ember/conversational_insights/suggested_conversation_topics/stats',\n      type: 'POST',\n      contentType: 'application/json',\n      data: JSON.stringify({\n        app_id: this.appService.app.id,\n        range_start: rangeStart,\n        range_end: rangeEnd,\n        exclude_ooo_hours: reportingSettings.excludeOooHours,\n        exclude_bot_inbox: false,\n      }),\n    });\n  }\n\n  @task\n  *loadStats() {\n    let { start, end } = this.reportingService.range;\n    let response = yield this.topicStatsQuery.perform({ rangeStart: start, rangeEnd: end });\n    let statsObject = {};\n    response.stats.forEach(topicStats => {\n      statsObject[topicStats.topic_id] = topicStats;\n    });\n    return statsObject;\n  }\n\n  async model() {\n    let topics = await this.store.findAll('conversational-insights/suggested-conversation-topic');\n    let stats = this.loadStats.perform();\n\n    return hash({\n      topics,\n      stats,\n    });\n  }\n}\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport ajax from 'embercom/lib/ajax';\n\nexport default class TopicRoute extends IntercomRoute {\n  @service notificationsService;\n  @service appService;\n\n  @task\n  *retrieveTopics(topic_ids) {\n    return yield ajax({\n      url: '/ember/conversational_insights/suggested_conversation_topics/query',\n      type: 'GET',\n      contentType: 'application/json',\n      data: {\n        app_id: this.appService.app.id,\n        topic_ids,\n      },\n    });\n  }\n\n  async model(params) {\n    let topic_ids = params.topic_ids.split(',');\n    let topics = await this.retrieveTopics.perform(topic_ids);\n\n    let ids = topics.map(t => t.id);\n    let name = topics.map(t => t.name).join(' and ');\n    let keyphraseSet = new Set(topics.map(t => t.keyphrases).flat());\n    let keyphrases = [...keyphraseSet];\n\n    let mergedTopic = {\n      name,\n      keyphrases: keyphrases.join(', '),\n      ids,\n    };\n    return {\n      mergedTopic,\n    };\n  }\n}\n","import Route from '@ember/routing/route';\nimport { hash } from 'rsvp';\n\nexport default class ConversationalInsightsTrackedTopicsIndexRoute extends Route {\n  get rangeSetting() {\n    return this.reportingService.range.selectedRange;\n  }\n\n  async model() {\n    let topics = this.store.findAll('conversational-insights/conversation-topic');\n    return hash({\n      topics,\n    });\n  }\n}\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\n\nexport default class TopicRoute extends IntercomRoute {\n  async model() {\n    let topic = this.store.createRecord('conversational-insights/conversation-topic');\n    return { topic };\n  }\n}\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\n\nexport default class TopicRoute extends IntercomRoute {\n  @service notificationsService;\n\n  @task\n  *retrieveTopic(topicId) {\n    try {\n      return yield this.store.findRecord('conversational-insights/conversation-topic', topicId);\n    } catch (err) {\n      this.notificationsService.notifyResponseError(err, {\n        default: `No such topic id: ${topicId}`,\n      });\n      this.transitionTo('apps.app.reports.conversational-insights');\n    }\n  }\n\n  async model(params) {\n    let topic = await this.retrieveTopic.perform(params.topic_id);\n\n    return {\n      topic,\n    };\n  }\n}\n","import ReportBase from 'embercom/routes/apps/app/reports/base/report';\n\nexport default ReportBase.extend({\n  reportName: 'conversations_explorer',\n  analytics: {\n    place: 'explorer',\n  },\n  titleToken: 'Explorer',\n\n  async beforeModel() {\n    this._super(...arguments);\n\n    if (!this.get('app.canUseConversationExplorer')) {\n      this.transitionTo('apps.app.users');\n    }\n  },\n  fetchSignals() {\n    return Promise.resolve();\n  },\n});\n","import Route from '@ember/routing/route';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class IndexCustomReportsRoute extends Route {\n  @service appService;\n  @service intercomEventService;\n\n  analytics = {\n    place: 'reports',\n  };\n\n  beforeModel() {\n    if (!this.appService.app.canUsePowerfulReporting) {\n      this.transitionTo('apps.app.reports');\n    }\n  }\n\n  model() {\n    return this.store.findAll('reporting/custom/report');\n  }\n\n  @action\n  didTransition() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: 'custom_reports',\n    });\n  }\n}\n","import Route from '@ember/routing/route';\n\nexport default class CustomReportsReportRoute extends Route {\n  analytics = {\n    section: 'custom_reports',\n  };\n}\n","import Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class NewReportRoute extends Route {\n  analytics = {\n    place: 'reports',\n  };\n\n  model() {\n    return this.store.createRecord('reporting/custom/report');\n  }\n\n  @action\n  didTransition() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'create_report',\n    });\n  }\n}\n","import Route from '@ember/routing/route';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { hash } from 'rsvp';\n\nexport default class ShowReportRoute extends Route {\n  @service appService;\n  @service intercomEventService;\n  @service confirmService;\n\n  LEAVE_WITHOUT_SAVING_MODAL_CONTENT = {\n    title: 'Leave without saving?',\n    primaryButtonType: 'primary-destructive',\n    confirmButtonText: 'Leave without saving',\n    cancelButtonText: 'Save changes',\n    body: \"You'll lose your changes if you don't save first.\",\n  };\n\n  analytics = {\n    place: 'reports',\n  };\n\n  model({ report_id }) {\n    return hash({\n      report: this.store.findRecord('reporting/custom/report', report_id, {\n        reload: true,\n        backgroundReload: false,\n      }),\n      settings:\n        this.store.peekAll('reporting/settings')?.firstObject ||\n        this.store.queryRecord('reporting/settings', {}),\n    });\n  }\n\n  @action\n  didTransition() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: 'custom_report',\n    });\n  }\n\n  @action\n  async willTransition(transition) {\n    let { report } = this.modelFor(this.routeName);\n    let currentPage = 'apps.app.reports.custom-reports.report.show.index';\n    if (\n      !transition.data.skipConfirmation &&\n      report.hasDirtyAttributes &&\n      transition.to.name !== currentPage\n    ) {\n      transition.abort();\n      let confirmed = await this.confirmService.show(this, this.LEAVE_WITHOUT_SAVING_MODAL_CONTENT);\n      if (!confirmed) {\n        report.save();\n        this.notificationsService.notifyConfirmation('Your report has been saved');\n      } else {\n        report.rollbackAttributes();\n      }\n      transition.data.skipConfirmation = true;\n      transition.retry();\n    }\n  }\n}\n","import Route from '@ember/routing/route';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Range from 'embercom/models/reporting/range';\n\nexport default class EditChartCustomReportRoute extends Route {\n  @service appService;\n  @service navbarCollapsingService;\n  @service confirmService;\n  @service notificationsService;\n\n  LEAVE_WITHOUT_SAVING_MODAL_CONTENT = {\n    title: 'Leave without saving?',\n    primaryButtonType: 'primary-destructive',\n    confirmButtonText: 'Leave without saving',\n    cancelButtonText: 'Save changes',\n    body: \"You'll lose your changes if you don't save first.\",\n  };\n\n  async model({ chart_id }) {\n    let { report, settings } = this.modelFor('apps.app.reports.custom-reports.report.show');\n    let chart = await this.store.findRecord('reporting/custom/chart', chart_id);\n    let dateRange = new Range(null, null, this.appService.app.timezone);\n    return { report, chart, settings, dateRange };\n  }\n\n  activate() {\n    this.navbarCollapsingService.setActiveSubmenu('Custom Reports');\n    this.navbarCollapsingService.toggleNavbarCollapsed();\n  }\n\n  @action\n  async willTransition(transition) {\n    let { chart } = this.modelFor(this.routeName);\n    let currentPage = 'apps.app.reports.custom-reports.report.show.chart.edit';\n    if (\n      !transition.data.skipConfirmation &&\n      !transition.to.queryParams.cancelling &&\n      chart.hasDirtyAttributes &&\n      transition.to.name !== currentPage\n    ) {\n      transition.abort();\n      let confirmed = await this.confirmService.show(this, this.LEAVE_WITHOUT_SAVING_MODAL_CONTENT);\n      if (!confirmed) {\n        await chart.save();\n        this.notificationsService.notifyConfirmation('Your chart has been saved');\n      } else {\n        chart.rollbackAttributes();\n      }\n      transition.data.skipConfirmation = true;\n      transition.retry();\n    }\n    if (this.navbarCollapsingService.collapsed && transition.to.name !== currentPage) {\n      this.navbarCollapsingService.toggleNavbarCollapsed();\n    }\n  }\n\n  @action\n  didTransition() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: 'custom_chart',\n    });\n  }\n}\n","import Route from '@ember/routing/route';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class NewChartCustomReportRoute extends Route {\n  @service appService;\n  @service navbarCollapsingService;\n  @service confirmService;\n\n  LEAVE_WITHOUT_SAVING_MODAL_CONTENT = {\n    title: 'Leave without saving?',\n    primaryButtonType: 'primary-destructive',\n    confirmButtonText: 'Leave without saving',\n    cancelButtonText: 'Save changes',\n    body: \"You'll lose your changes if you don't save first.\",\n  };\n\n  queryParams = {\n    source: '',\n  };\n\n  model() {\n    let { report, settings } = this.modelFor('apps.app.reports.custom-reports.report.show');\n    return {\n      report,\n      settings,\n      chart: this.store.createRecord('reporting/custom/chart'),\n    };\n  }\n\n  activate() {\n    this.navbarCollapsingService.setActiveSubmenu('Custom Reports');\n    this.navbarCollapsingService.toggleNavbarCollapsed();\n  }\n\n  @action\n  async willTransition(transition) {\n    let { report, chart } = this.modelFor(this.routeName);\n    let currentPage = 'apps.app.reports.custom-reports.report.show.chart.new';\n    if (\n      !transition.data.skipConfirmation &&\n      !transition.to.queryParams.cancelling &&\n      chart.isNew &&\n      transition.to.name !== currentPage\n    ) {\n      transition.abort();\n      let confirmed = await this.confirmService.show(this, this.LEAVE_WITHOUT_SAVING_MODAL_CONTENT);\n      if (!confirmed) {\n        await chart.save();\n        await report.addNewChart(chart);\n        this.notificationsService.notifyConfirmation('Your chart has been saved');\n      } else {\n        chart.unloadRecord();\n      }\n      transition.data.skipConfirmation = true;\n      transition.retry();\n    }\n    if (this.navbarCollapsingService.collapsed && transition.to.name !== currentPage) {\n      this.navbarCollapsingService.toggleNavbarCollapsed();\n    }\n  }\n\n  @action\n  didTransition() {\n    let params = this.paramsFor(this.routeName);\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'opened',\n      object: 'chart_creator',\n      from_url: params.source !== 'custom_report',\n    });\n  }\n}\n","import PALETTE from '@intercom/embercom-core/lib/palette';\nimport InsightsRouteBase from 'embercom/routes/base/insights';\n\nexport default InsightsRouteBase.extend({\n  titleToken() {\n    let app = this.modelFor('apps.app');\n    if (app.get('canUseNewReportingIa')) {\n      return 'Customer engagement';\n    } else {\n      return app.get('messagesProduct.name');\n    }\n  },\n  analytics: {\n    place: 'messages',\n  },\n  queryParams: {\n    interval: {\n      replace: true,\n      refreshModel: true,\n    },\n  },\n  _defaultIntervalParam(transition) {\n    return this.replaceWith(undefined, {\n      queryParams: {\n        interval: transition.to.queryParams.interval || 28,\n      },\n    });\n  },\n  beforeModel(transition) {\n    let app = this.modelFor('apps.app');\n    if (!app.get('canUseNewReportingIa')) {\n      return this.transitionTo('apps.app.reports.messages');\n    }\n    return this._defaultIntervalParam(transition);\n  },\n  setupController(controller) {\n    controller.setProperties({\n      engageInsightsIsActive: true,\n      supportInsightsIsActive: false,\n      palette: PALETTE,\n      dashboardName: 'Customer engagement',\n      chartNames: {\n        messagesSent: 'Messages sent',\n        messageVolume: 'Message volume by user',\n        messagePerformance: 'Message performance',\n        export: 'Export',\n      },\n    });\n    controller.refreshModel();\n  },\n  _updateMessageVariationStats(messageId, stats) {\n    let model = this.get('controller.model');\n\n    if (!model) {\n      return;\n    }\n\n    let variationIds = Object.keys(stats);\n    let statsBuckets = ['email_variation_stats', 'in_app_variation_stats'];\n    variationIds.forEach(function(variationId) {\n      variationId = parseInt(variationId, 10);\n      statsBuckets.forEach(function(statBucket) {\n        let variationStats = model.get(statBucket).findBy('id', variationId);\n        if (variationStats) {\n          variationStats\n            .get('stats.firstObject')\n            .updateFromRealTimeNotification(stats[variationId]);\n        }\n      });\n    });\n  },\n  actions: {\n    didTransition() {\n      this._super();\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'viewed',\n        object: 'messages_report',\n        interval: `${this.interval}_days`,\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\n\nexport default Route.extend(EventTracking, {\n  analytics: {\n    place: 'articles',\n  },\n  titleToken() {\n    let app = this.modelFor('apps.app');\n    return app.get('articlesProduct.name');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport { A } from '@ember/array';\nimport { computed } from '@ember/object';\nimport Route from '@ember/routing/route';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\nimport { inject as service } from '@ember/service';\nimport nonconcurrentAjax from 'embercom/lib/nonconcurrent-ajax';\n\nexport default Route.extend(EventTracking, {\n  store: service(),\n  intercomEventService: service(),\n  queryParams: {\n    interval: { refreshModel: true },\n  },\n\n  analytics: {\n    place: 'articles',\n    context: 'conversation_closed_by_operator',\n  },\n\n  app: computed(function() {\n    return this.modelFor('apps.app');\n  }),\n\n  setupController(controller, model) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'visited',\n      object: 'operator-closed-conversation',\n      models: this.admin,\n    });\n    this._super(controller, model);\n  },\n\n  beforeModel(transition) {\n    let app = this.modelFor('apps.app');\n    if (!app.get('canUseNewReportingIa')) {\n      return this.transitionTo('apps.app.reports.articles.closed-by-operator');\n    }\n    this.replaceWith('apps.app.reports.customer-support.articles.closed-by-operator', {\n      queryParams: {\n        interval: transition.to.queryParams.interval || 28,\n      },\n    });\n  },\n\n  model(params) {\n    return nonconcurrentAjax(this, {\n      url: '/ember/insights/closed_by_operator.json',\n      type: 'GET',\n      data: {\n        app_id: this.modelFor('apps.app').get('id'),\n        interval: params.interval,\n      },\n    }).then(response => {\n      return this._createConversationModelFromInsightsResponse(response);\n    });\n  },\n\n  _createConversationModelFromInsightsResponse(response) {\n    response.conversations = response.conversations || A();\n    this.store.pushPayload({ conversations: response.conversations });\n    return {\n      total_count: response.conversations.length,\n      conversations: A(\n        response.conversations.map(c => this.store.peekRecord('conversation', c.id)),\n      ),\n    };\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport { hash } from 'rsvp';\nimport {\n  setControllerFilterProperties,\n  setRouteFilterProperties,\n} from 'embercom/lib/reporting/flexible/filter-helpers';\nimport ConversationAttributeDescriptor from 'embercom/models/conversation-attributes/descriptor';\n\nexport default class ArticlesFlexibleRoute extends IntercomRoute {\n  @service appService;\n  @service store;\n  @service reportingService;\n  analytics = { place: 'articles_summary' };\n  reportName = 'articles_summary';\n  reportContext = 'articles';\n  titleToken = 'Articles';\n\n  dashboardIdentifier = 'articles-summary';\n\n  shouldRedirectFromParent = true;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get range() {\n    return this.reportingService.range;\n  }\n\n  filters() {\n    return {};\n  }\n\n  beforeModel(transition) {\n    super.beforeModel(...arguments);\n    setRouteFilterProperties(this, transition.to.queryParams, []);\n    if (this.shouldRedirectFromParent && !this.app.canUseNewReportingIa) {\n      return this.transitionTo('apps.app.reports.articles');\n    }\n  }\n\n  setupController(controller, model) {\n    super.setupController(...arguments);\n\n    let { range, reportContext, reportName, tag } = this;\n    let controllerProperties = {\n      rangeStart: range.start,\n      rangeEnd: range.end,\n      range,\n      rangeParams: {\n        interval: this.range.interval,\n        comparisonStartMoment: this.range.comparisonStartMoment,\n        comparisonEndMoment: this.range.comparisonEndMoment,\n        startMoment: this.range.startMoment,\n        endMoment: this.range.endMoment,\n        inDays: this.range.inDays,\n        timezone: this.range.timezone,\n      },\n      reportContext,\n      reportName,\n      tag,\n      ...model,\n    };\n    controller.setProperties(controllerProperties);\n    setControllerFilterProperties(this, controller, []);\n  }\n\n  async model() {\n    let reportingAllSettings = await this.store.queryRecord('reporting/settings', {});\n    let conversationAttributeDescriptors = [];\n\n    let settings = {\n      reportingExcludeOooHours: reportingAllSettings.get('excludeOooHours'),\n    };\n\n    if (this.app.canUseFeature('conversation_attributes')) {\n      conversationAttributeDescriptors = await ConversationAttributeDescriptor.peekAllAndMaybeLoad();\n    }\n\n    return hash({\n      settings,\n      dashboardIdentifier: this.dashboardIdentifier,\n      conversationAttributeDescriptors,\n    });\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport EventTracking from 'embercom/components/mixins/articles/event-tracking';\n\nexport default IntercomRoute.extend(EventTracking, {\n  intercomEventService: service(),\n  analytics: {\n    place: 'articles',\n  },\n  queryParams: {\n    interval: {\n      replace: true,\n      refreshModel: true,\n    },\n  },\n  beforeModel(transition) {\n    let app = this.modelFor('apps.app');\n    if (!app.get('canUseNewReportingIa')) {\n      return this.transitionTo('apps.app.reports.articles');\n    }\n    this.replaceWith('apps.app.reports.customer-support.articles.index', {\n      queryParams: {\n        interval: transition.to.queryParams.interval || 28,\n      },\n    });\n  },\n  setupController(controller) {\n    this.trackEducateEvent({ action: 'visited', object: 'insights', place: 'insights' });\n    controller.refreshModel();\n  },\n  actions: {\n    didTransition() {\n      this._super();\n      let intervalValue = `${this.controllerFor('apps.app.reports.articles.index').get(\n        'interval',\n      )}_days`;\n      this.trackEducateEvent({\n        action: 'sorted',\n        object: 'insights',\n        place: 'insights',\n        sorted_by_interval: intervalValue,\n      });\n      this.intercomEventService.trackEvent('educate-insights', {\n        action: 'visited',\n        object: 'educate-insights',\n        place: 'educate-insights',\n        owner: 'educate',\n      });\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'viewed',\n        object: 'articles_report',\n        interval: intervalValue,\n      });\n    },\n  },\n});\n","import ReportBase from 'embercom/routes/apps/app/reports/base/report';\n\nexport default ReportBase.extend({\n  reportName: 'conversation_tags',\n  analytics: {\n    place: 'conversation-tags',\n  },\n  titleToken: 'Conversation tags',\n\n  beforeModel() {\n    let app = this.modelFor('apps.app');\n    if (!app.get('canUseNewReportingIa')) {\n      return this.transitionTo('apps.app.reports.inbox.conversation-tags');\n    }\n  },\n\n  fetchSignals() {\n    return Promise.resolve();\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport { hash } from 'rsvp';\nimport {\n  parsedESFilters,\n  setControllerFilterProperties,\n  filterQueryParams,\n  setRouteFilterProperties,\n} from 'embercom/lib/reporting/flexible/filter-helpers';\nimport ConversationAttributeDescriptor from 'embercom/models/conversation-attributes/descriptor';\n\nconst QUERY_PARAMS_ES_MAPPINGS = {\n  teammateId: 'admin_participant_ids',\n  teamsParticipated: 'admin_participant_ids', //a list of teammate ids is passed to ES\n  scopingTagIds: 'conversation_tag_ids',\n  teammatesAssigned: 'admin_assignee_id',\n  channels: 'channel_type',\n  continents: 'user_location.continent_code',\n  countries: 'user_location.country_name',\n  conversationTypes: 'message_subclass_type',\n  teamsAssigned: 'team_assignee_id',\n  customAttributes: 'custom_attributes',\n};\nconst FILTER_TYPES = Object.keys(QUERY_PARAMS_ES_MAPPINGS);\n\nexport default class ConversationsRoute extends IntercomRoute {\n  @service appService;\n  @service store;\n  @service reportingService;\n  reportName = 'conversations_ngs_dashboard';\n  titleToken = 'Conversations';\n  analytics = {\n    place: 'conversations_ngs',\n  };\n  mergedProperties = ['queryParams'];\n  queryParams = filterQueryParams(FILTER_TYPES);\n  dashboardIdentifier = 'inbox-new-inbound-conversations';\n  chartIdentifiers = ['new-inbound-conversations', 'new-conversations-channels'];\n  shouldRedirectFromParent = true;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get range() {\n    return this.reportingService.range;\n  }\n\n  findDataConfig(dataConfigs, chartId) {\n    let result = dataConfigs.findBy('chart_identifier', chartId);\n\n    if (!result) {\n      result = this.store.createRecord('reporting/chart', {\n        dashboard_identifier: this.dashboardIdentifier,\n        chart_identifier: chartId,\n        app_id: this.app.id,\n      });\n    }\n\n    return result;\n  }\n\n  filters() {\n    let queryParamMappings = Object.assign({}, QUERY_PARAMS_ES_MAPPINGS);\n    if (!this.app.canUseFeature('conversation_attributes')) {\n      delete queryParamMappings.customAttributes;\n    }\n\n    return parsedESFilters(this, queryParamMappings);\n  }\n\n  beforeModel(transition) {\n    super.beforeModel(...arguments);\n\n    //setup filters\n    setRouteFilterProperties(this, transition.to.queryParams, FILTER_TYPES);\n  }\n\n  async model() {\n    let conversationAttributeDescriptors = [];\n    let fetchedDataConfigs = await this.store.query('reporting/chart', {\n      dashboard_identifier: this.dashboardIdentifier,\n    });\n\n    let dataConfigs = this.chartIdentifiers.reduce((result, id) => {\n      result[id] = this.findDataConfig(fetchedDataConfigs, id);\n      return result;\n    }, {});\n\n    if (this.app.canUseFeature('conversation_attributes')) {\n      conversationAttributeDescriptors = await ConversationAttributeDescriptor.peekAllAndMaybeLoad();\n    }\n\n    return hash({\n      dataConfigs,\n      dashboardIdentifier: this.dashboardIdentifier,\n      conversationAttributeDescriptors,\n    });\n  }\n\n  setupController(controller, model) {\n    super.setupController(...arguments);\n\n    let { range, reportName, tag } = this;\n    let controllerProperties = {\n      rangeStart: range.start,\n      rangeEnd: range.end,\n      range,\n      rangeParams: {\n        baseAggregations: range.baseAggregations,\n        heatmapAggregations: range.heatmapAggregations,\n        interval: range.interval,\n        comparisonStartMoment: range.comparisonStartMoment,\n        comparisonEndMoment: range.comparisonEndMoment,\n        startMoment: range.startMoment,\n        endMoment: range.endMoment,\n        inDays: range.inDays,\n        timezone: range.timezone,\n      },\n      tag,\n      reportName,\n      ...model,\n    };\n    controller.setProperties(controllerProperties);\n    setControllerFilterProperties(this, controller, FILTER_TYPES);\n  }\n\n  resetController(controller, isExiting, transition) {\n    if (isExiting) {\n      controller.clearReportSubscription();\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/use-brace-expansion */\nimport ReportBase from 'embercom/routes/apps/app/reports/base/report';\n\nexport default ReportBase.extend({\n  beforeModel() {\n    this._super(...arguments);\n\n    this.transitionTo('apps.app.reports.customer-support.conversations-flexible');\n  },\n});\n","import LeadGenerationCustomBotsRoute from 'embercom/routes/apps/app/reports/lead-generation/custom-bots';\n\nexport default LeadGenerationCustomBotsRoute.extend({\n  controllerName: 'apps.app.reports.lead-generation.custom-bots',\n  templateName: 'apps.app.reports.lead-generation.custom-bots',\n\n  beforeModel() {\n    let app = this.modelFor('apps.app');\n    if (!app.get('canUseNewReportingIa')) {\n      return this.transitionTo('apps.app.reports.operator.custom-bots');\n    }\n\n    this.replaceWith('apps.app.reports.customer-support.custom-bots.sent');\n  },\n});\n","import Route from '@ember/routing/route';\n\nexport default class CustomBotsCompletedRoute extends Route {\n  parentRoute = 'apps.app.reports.customer-support.custom-bots';\n  templateName = 'apps.app.reports.lead-generation.custom-bots.completed';\n  controllerName = 'apps.app.reports.lead-generation.custom-bots.completed';\n}\n","import Route from '@ember/routing/route';\n\nexport default class CustomBotsEngagedRoute extends Route {\n  parentRoute = 'apps.app.reports.customer-support.custom-bots';\n  templateName = 'apps.app.reports.lead-generation.custom-bots.engaged';\n  controllerName = 'apps.app.reports.lead-generation.custom-bots.engaged';\n}\n","import Route from '@ember/routing/route';\n\nexport default class CustomBotsSentRoute extends Route {\n  parentRoute = 'apps.app.reports.customer-support.custom-bots';\n  templateName = 'apps.app.reports.lead-generation.custom-bots.sent';\n  controllerName = 'apps.app.reports.lead-generation.custom-bots.sent';\n}\n","import PerformanceReportBase from 'embercom/routes/apps/app/reports/base/performance-report';\n\nimport { hash } from 'rsvp';\nimport {\n  parsedESFilters,\n  setControllerFilterProperties,\n  filterQueryParams,\n  setRouteFilterProperties,\n} from 'embercom/lib/reporting/flexible/filter-helpers';\nimport ConversationAttributeDescriptor from 'embercom/models/conversation-attributes/descriptor';\n\nconst QUERY_PARAMS_ES_MAPPINGS = {\n  teammateId: 'teammate_id',\n  teamsParticipated: 'teammate_id', //a list of teammate ids is passed to ES\n  scopingTagIds: 'conversation_tag_ids',\n  teammatesAssigned: 'admin_assignee_id',\n  channels: 'channel_type',\n  continents: 'user_location.continent_code',\n  countries: 'user_location.country_name',\n  conversationTypes: 'message_subclass_type',\n  teamsAssigned: 'team_assignee_id',\n  customAttributes: 'custom_attributes',\n};\nconst FILTER_TYPES = Object.keys(QUERY_PARAMS_ES_MAPPINGS);\n\nexport default PerformanceReportBase.extend({\n  reportName: 'performance_happiness_report',\n  analytics: {\n    place: 'happiness',\n  },\n  queryParams: filterQueryParams(FILTER_TYPES),\n  shouldRedirectFromParent: true,\n  mergedProperties: ['queryParams'],\n\n  titleToken() {\n    return 'Customer satisfaction';\n  },\n\n  filters() {\n    return parsedESFilters(this, QUERY_PARAMS_ES_MAPPINGS, { supportSameFieldFilters: false });\n  },\n\n  beforeModel(transition) {\n    this._super(...arguments);\n\n    //setup filters\n    setRouteFilterProperties(this, transition.to.queryParams, FILTER_TYPES);\n  },\n\n  async model() {\n    let conversationAttributeDescriptors = [];\n\n    if (this.app.canUseFeature('conversation_attributes')) {\n      conversationAttributeDescriptors = await ConversationAttributeDescriptor.peekAllAndMaybeLoad();\n    }\n\n    return hash({\n      conversationAttributeDescriptors,\n    });\n  },\n\n  setupController(controller, model) {\n    this._super(controller, model);\n    setControllerFilterProperties(this, controller, FILTER_TYPES);\n  },\n\n  fetchSignals() {\n    return {};\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport { hash } from 'rsvp';\nimport {\n  parsedESFilters,\n  setControllerFilterProperties,\n  filterQueryParams,\n  setRouteFilterProperties,\n} from 'embercom/lib/reporting/flexible/filter-helpers';\nimport ConversationAttributeDescriptor from 'embercom/models/conversation-attributes/descriptor';\n\nconst QUERY_PARAMS_ES_MAPPINGS = {\n  teammateId: 'admin_participant_ids',\n  teamsParticipated: 'admin_participant_ids', //a list of teammate ids is passed to ES\n  scopingTagIds: 'conversation_tag_ids',\n  channels: 'channel_type',\n  continents: 'user_location.continent_code',\n  countries: 'user_location.country_name',\n  conversationTypes: 'message_subclass_type',\n  teammatesAssigned: 'admin_assignee_id',\n  teamsAssigned: 'team_assignee_id',\n  customAttributes: 'custom_attributes',\n};\nconst FILTER_TYPES = Object.keys(QUERY_PARAMS_ES_MAPPINGS);\n\nexport default class EffectivenessRoute extends IntercomRoute {\n  @service appService;\n  @service store;\n  @service reportingService;\n  analytics = { place: 'effectiveness' };\n  mergedProperties = ['queryParams'];\n  queryParams = filterQueryParams(FILTER_TYPES);\n  reportName = 'effectiveness_dashboard';\n  reportContext = 'effectiveness';\n  titleToken = 'Effectiveness';\n\n  dashboardIdentifier = 'effectiveness';\n  chartIdentifiers = [\n    'number-of-teammate-replies-to-close-counter',\n    'number-of-teammate-replies-to-close-columnchart',\n    'first-assignment-time-counter',\n    'first-assignment-time-columnchart',\n    'first-assignment-to-last-close-time-counter',\n    'first-assignment-to-last-close-time-columnchart',\n  ];\n\n  shouldRedirectFromParent = true;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get range() {\n    return this.reportingService.range;\n  }\n\n  filters() {\n    let queryParamMappings = Object.assign({}, QUERY_PARAMS_ES_MAPPINGS);\n    if (!this.app.canUseFeature('conversation_attributes')) {\n      delete queryParamMappings.customAttributes;\n    }\n    return parsedESFilters(this, queryParamMappings);\n  }\n\n  beforeModel(transition) {\n    super.beforeModel(...arguments);\n\n    //setup filters\n    setRouteFilterProperties(this, transition.to.queryParams, FILTER_TYPES);\n  }\n\n  findDataConfig(dataConfigs, chartId) {\n    let result = dataConfigs.findBy('chart_identifier', chartId);\n\n    if (!result) {\n      result = this.store.createRecord('reporting/chart', {\n        dashboard_identifier: this.dashboardIdentifier,\n        chart_identifier: chartId,\n        app_id: this.app.id,\n      });\n    }\n\n    return result;\n  }\n\n  setupController(controller, model) {\n    super.setupController(...arguments);\n\n    let { range, reportContext, reportName, tag } = this;\n    let controllerProperties = {\n      rangeStart: range.start,\n      rangeEnd: range.end,\n      range,\n      rangeParams: {\n        interval: this.range.interval,\n        comparisonStartMoment: this.range.comparisonStartMoment,\n        comparisonEndMoment: this.range.comparisonEndMoment,\n        startMoment: this.range.startMoment,\n        endMoment: this.range.endMoment,\n        inDays: this.range.inDays,\n        timezone: this.range.timezone,\n      },\n      reportContext,\n      reportName,\n      tag,\n      ...model,\n    };\n    controller.setProperties(controllerProperties);\n    setControllerFilterProperties(this, controller, FILTER_TYPES);\n  }\n\n  async model() {\n    let conversationAttributeDescriptors = [];\n    let reportingAllSettings = await this.store.queryRecord('reporting/settings', {});\n    let fetchedDataConfigs = await this.store.query('reporting/chart', {\n      dashboard_identifier: this.dashboardIdentifier,\n    });\n\n    let dataConfigs = this.chartIdentifiers.reduce((result, id) => {\n      result[id] = this.findDataConfig(fetchedDataConfigs, id);\n      return result;\n    }, {});\n\n    let settings = {\n      reportingExcludeOooHours: reportingAllSettings.get('excludeOooHours'),\n    };\n\n    if (this.app.canUseFeature('conversation_attributes')) {\n      conversationAttributeDescriptors = await ConversationAttributeDescriptor.peekAllAndMaybeLoad();\n    }\n\n    return hash({\n      settings,\n      dataConfigs,\n      dashboardIdentifier: this.dashboardIdentifier,\n      conversationAttributeDescriptors,\n    });\n  }\n}\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { hash } from 'rsvp';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport ConversationAttributeDescriptor from 'embercom/models/conversation-attributes/descriptor';\nimport {\n  FilterSet,\n  convertFilterPredicatesToFilterSet,\n} from 'embercom/lib/reporting/flexible/filter-helpers';\n\nexport default class ExportRoute extends IntercomRoute {\n  @service appService;\n  @service reportingService;\n\n  reportName = 'inbox_export_report';\n  titleToken = 'Export';\n  analytics = {\n    place: 'export',\n  };\n  queryParams = {\n    scheduleId: {\n      refreshModel: true,\n    },\n  };\n\n  get app() {\n    return this.appService.app;\n  }\n\n  beforeModel() {\n    let app = this.modelFor('apps.app');\n    if (!app.get('canUseNewReportingIa')) {\n      return this.transitionTo('apps.app.reports.inbox.export');\n    }\n  }\n\n  async model(params) {\n    if (!this.app.canUseExportImprovements) {\n      return {};\n    }\n\n    let conversationAttributeDescriptors = [];\n    if (this.app.canUseFeature('conversation_attributes')) {\n      conversationAttributeDescriptors = await ConversationAttributeDescriptor.peekAllAndMaybeLoad();\n    }\n\n    let schedules = await this.store.findAll('reporting/message-data-export-schedule');\n\n    let modelHash = {\n      conversationAttributeDescriptors,\n      schedules,\n    };\n\n    if (params.scheduleId) {\n      let scheduleToEdit = await this.store.peekRecord(\n        'reporting/message-data-export-schedule',\n        params.scheduleId,\n      );\n\n      if (!scheduleToEdit) {\n        return this.transitionTo('apps.app.reports.customer-support.export', {\n          queryParams: { scheduleId: null },\n        });\n      }\n\n      this.reportingService.range.setDefaultRange(scheduleToEdit.rangeSetting);\n      modelHash.selectedColumns = scheduleToEdit.columnsToInclude.split(',');\n      modelHash.filterSet = new FilterSet();\n      let filterPredicates = JSON.parse(scheduleToEdit.filterPredicates);\n      convertFilterPredicatesToFilterSet(filterPredicates, modelHash.filterSet);\n      modelHash.scheduleToEdit = scheduleToEdit;\n      modelHash.initialFiltersAddedDirty = true;\n    } else {\n      modelHash.scheduleToEdit = this.store.createRecord('reporting/message-data-export-schedule', {\n        timeToExport: 0,\n      });\n    }\n\n    return hash(modelHash);\n  }\n\n  setupController(controller, model) {\n    super.setupController(...arguments);\n    controller.setProperties({\n      reportName: this.reportName,\n      range: this.reportingService.range,\n      ...model,\n    });\n  }\n\n  @action\n  willTransition() {\n    if (this.controller.scheduleToEdit) {\n      this.controller.scheduleToEdit.rollbackAttributes();\n    }\n  }\n}\n","import ReportBase from 'embercom/routes/apps/app/reports/base/report';\n\nexport default class CustomerSupportOverviewRoute extends ReportBase {\n  reportName = 'summary_conversations_report';\n  reportContext = 'summary';\n  titleToken = 'Summary';\n  analytics = {\n    place: 'conversations',\n  };\n  instrumentationDelay = 3000;\n  dashboardIdentifier = 'inbox-summary-conversations';\n  chartIdentifiers = [\n    'first-response-time',\n    'first-response-time-counter',\n    'time-to-close',\n    'time-to-close-counter',\n  ];\n  shouldRedirectFromParent = true;\n\n  get currentTeammate() {\n    return this.modelFor('apps');\n  }\n\n  findDataConfig(dataConfigs, chartId) {\n    let result = dataConfigs.findBy('chart_identifier', chartId);\n\n    if (!result) {\n      result = this.store.createRecord('reporting/chart', {\n        dashboard_identifier: this.dashboardIdentifier,\n        chart_identifier: chartId,\n        aggregation_method: 'median',\n        app_id: this.app.id,\n      });\n    }\n\n    return result;\n  }\n\n  beforeModel() {\n    super.beforeModel(...arguments);\n\n    let app = this.modelFor('apps.app');\n    if (app.get('inboxIsNotActive')) {\n      return this.replaceWith('apps.app.inbox');\n    }\n  }\n\n  setupController(controller, model) {\n    super.setupController(...arguments);\n    controller.set('teammate', this.currentTeammate);\n\n    let {\n      interval,\n      comparisonStartMoment,\n      comparisonEndMoment,\n      startMoment,\n      endMoment,\n      inDays,\n      timezone,\n    } = this.range;\n\n    controller.set('rangeParams', {\n      interval,\n      comparisonStartMoment,\n      comparisonEndMoment,\n      startMoment,\n      endMoment,\n      inDays,\n      timezone,\n    });\n  }\n\n  fetchSignals() {\n    return {};\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport Range from 'embercom/models/reporting/range';\nimport { hash } from 'rsvp';\nimport setupLineChartSignal from 'embercom/lib/inbox/reporting/setup-line-chart-signal';\nimport moment from 'moment';\nimport {\n  MEDIAN_TIME_TO_CLOSE,\n  ANSWER_BOT_EFFECTIVENESS,\n  ANSWER_BOT_ANSWERS_SENT,\n} from 'embercom/lib/reporting/queries';\nimport {\n  NEW_CONVERSATIONS_EVENT_TYPE,\n  FILTER_STARTED_CONVERSATIONS,\n  FILTER_INBOUND_CONVERSATION,\n  FILTER_OUTBOUND_CONVERSATION,\n} from 'embercom/lib/reporting/events';\n\nconst CONVERSATION_SOURCE_ALL = 'all';\nconst CONVERSATION_SOURCE_OUTBOUND = 'outbound';\nconst CONVERSATION_SOURCE_INBOUND = 'inbound';\nconst OUTBOUND_MESSAGE_TYPES = [\n  'AutoMessage',\n  'CampaignMessage',\n  'VisitorAutoMessage',\n  'ManualMessage',\n];\n\nconst INBOUND_MESSAGE_TYPES = ['UserMessage'];\n\nconst ALL_CONVERSATIONS_SIGNAL_CONFIG = {\n  name: 'default_query',\n  document_type: 'events',\n  range_field: 'event.created_at',\n  keys_are_dates: false,\n  aggregation_type: 'value_count',\n  aggregation_field: 'conversation.id',\n};\n\nfunction fetchSignals({\n  reportingService,\n  range,\n  timezone,\n  reportingSettings,\n  conversationSource,\n  resolutionBotSetting,\n}) {\n  let legacyFilterConversationSource = legacyFiltersForConversationSource(conversationSource);\n  let legacyFilterResolutionBotSetting = legacyFiltersForResolutionBotSetting(resolutionBotSetting);\n  let legacyFilters = Object.assign(\n    {},\n    legacyFilterConversationSource,\n    legacyFilterResolutionBotSetting,\n  );\n  let filterConversationSource = filtersForConversationSource(conversationSource);\n  return hash({\n    effectiveness: reportingService.fetchAnswerBotEffectivenessSignal(\n      ANSWER_BOT_EFFECTIVENESS,\n      'conversations',\n      range,\n      legacyFilters,\n    ),\n    inboundEffectiveness: reportingService.fetchAnswerBotEffectivenessSignal(\n      ANSWER_BOT_EFFECTIVENESS,\n      'conversations',\n      range,\n      legacyFiltersForConversationSource(CONVERSATION_SOURCE_INBOUND),\n    ),\n    outboundEffectiveness: reportingService.fetchAnswerBotEffectivenessSignal(\n      ANSWER_BOT_EFFECTIVENESS,\n      'conversations',\n      range,\n      legacyFiltersForConversationSource(CONVERSATION_SOURCE_OUTBOUND),\n    ),\n    answersSentByDay: reportingService.fetchComparisonSignal(\n      ANSWER_BOT_ANSWERS_SENT,\n      'answers',\n      range,\n      legacyFilterConversationSource,\n    ),\n    conversationsSent: reportingService.fetchSignal(\n      ALL_CONVERSATIONS_SIGNAL_CONFIG,\n      'conversations',\n      range,\n      {\n        ...NEW_CONVERSATIONS_EVENT_TYPE,\n        ...FILTER_STARTED_CONVERSATIONS,\n        ...filterConversationSource,\n      },\n    ),\n    answersSent: reportingService.fetchComparisonNumericSignal(\n      ANSWER_BOT_ANSWERS_SENT,\n      'answers',\n      range,\n      [{ grouping: 'answer_id', interval: 1 }],\n      legacyFilterConversationSource,\n    ),\n    inboundMedianClosedTimeLastWeek: medianClosedTimeLastWeek(\n      reportingService,\n      legacyFiltersForConversationSource(CONVERSATION_SOURCE_INBOUND),\n      timezone,\n      reportingSettings,\n    ),\n    outboundMedianClosedTimeLastWeek: medianClosedTimeLastWeek(\n      reportingService,\n      legacyFiltersForConversationSource(CONVERSATION_SOURCE_OUTBOUND),\n      timezone,\n      reportingSettings,\n    ),\n  });\n}\n\nfunction medianClosedTimeLastWeek(reportingService, filters, timezone, reportingSettings) {\n  let weekAgo = moment\n    .tz(timezone)\n    .subtract(6, 'days')\n    .startOf('day')\n    .format();\n  let today = moment\n    .tz(timezone)\n    .endOf('day')\n    .format();\n  let weekRange = Range.createFromParams(weekAgo, today, timezone);\n  return reportingService.fetchSignal(\n    MEDIAN_TIME_TO_CLOSE({ withinOfficeHours: reportingSettings.reportingExcludeOooHours }),\n    'second',\n    weekRange,\n    filters,\n  );\n}\n\nfunction filtersForConversationSource(source) {\n  // returns filters for the new pipeline, answering conversation count question\n  if (source === CONVERSATION_SOURCE_ALL) {\n    return {};\n  } else if (source === CONVERSATION_SOURCE_OUTBOUND) {\n    return FILTER_OUTBOUND_CONVERSATION;\n  }\n  return FILTER_INBOUND_CONVERSATION;\n}\n\nfunction legacyFiltersForConversationSource(source) {\n  // returns filters for old pipeline, answering basic answerbot questions\n  if (source === CONVERSATION_SOURCE_ALL) {\n    return {};\n  } else if (source === CONVERSATION_SOURCE_OUTBOUND) {\n    return { message_subclass_types: OUTBOUND_MESSAGE_TYPES };\n  }\n  return { message_subclass_types: INBOUND_MESSAGE_TYPES };\n}\n\nfunction legacyFiltersForResolutionBotSetting(setting) {\n  if (setting === 'all') {\n    return {};\n  } else if (setting === 'one-time') {\n    return { resolution_bot_looping_enabled: [false] };\n  }\n  return { resolution_bot_looping_enabled: [true] };\n}\n\nexport default IntercomRoute.extend({\n  intercomEventService: service(),\n  titleToken: 'Resolution Bot | Operator',\n\n  appService: service(),\n  reportingService: service(),\n  app: readOnly('appService.app'),\n  range: readOnly('reportingService.range'),\n\n  queryParams: {\n    conversationSource: {\n      refreshModel: true,\n    },\n    resolutionBotSetting: {\n      refreshModel: true,\n    },\n  },\n\n  analytics: {\n    place: 'answer_bot',\n  },\n\n  async model(params) {\n    let timezone = this.get('app.timezone');\n    let range = this.range;\n    let reportingService = this.reportingService;\n\n    let answers = this.store.findAll('answers/answer', {\n      app_id: this.get('app.id'),\n      reload: true,\n      include: 'stats',\n    });\n\n    let reportingAllSettings = await this.store.queryRecord('reporting/settings', {});\n    let conversationSource = params.conversationSource;\n    let resolutionBotSetting = params.resolutionBotSetting;\n    let reportingSettings = {\n      reportingExcludeOooHours: reportingAllSettings.get('excludeOooHours'),\n    };\n    let signals = fetchSignals({\n      reportingService,\n      range,\n      timezone,\n      reportingSettings,\n      conversationSource,\n      resolutionBotSetting,\n    });\n    return hash({ range, signals, answers, reportingSettings });\n  },\n\n  beforeModel() {\n    let app = this.modelFor('apps.app');\n    if (!app.get('canUseNewReportingIa')) {\n      return this.transitionTo('apps.app.reports.operator.resolution-bot');\n    }\n  },\n\n  setupController(controller, { range, signals, answers }) {\n    signals.answersSentByDayLines = setupLineChartSignal([signals.answersSentByDay]);\n\n    controller.setProperties({\n      signals,\n      range,\n      answers,\n      rangeStart: range.start,\n      rangeEnd: range.end,\n    });\n  },\n\n  actions: {\n    didTransition() {\n      this._super();\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'viewed',\n        object: 'answer_bot_report',\n        context: 'operator',\n        start_date: moment(this.controller.rangeStart).format('YYYY/MM/DD'),\n        end_date: moment(this.controller.rangeEnd).format('YYYY/MM/DD'),\n        conversation_source: this.controller.conversationSource,\n        resolution_bot_setting: this.controller.resolutionBotSetting,\n      });\n    },\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport { hash } from 'rsvp';\nimport {\n  parsedESFilters,\n  setControllerFilterProperties,\n  filterQueryParams,\n  setRouteFilterProperties,\n} from 'embercom/lib/reporting/flexible/filter-helpers';\nimport ConversationAttributeDescriptor from 'embercom/models/conversation-attributes/descriptor';\n\nconst QUERY_PARAMS_ES_MAPPINGS = {\n  teammateId: 'teammate_id',\n  teamsParticipated: 'teammate_id', //a list of teammate ids is passed to ES\n  scopingTagIds: 'conversation_tag_ids',\n  channels: 'channel_type',\n  continents: 'user_location.continent_code',\n  countries: 'user_location.country_name',\n  conversationTypes: 'message_subclass_type',\n  teammatesAssigned: 'admin_assignee_id',\n  teamsAssigned: 'team_assignee_id',\n  botInboxTime: null, //bot inbox is a setting, it's not passed to ES\n  customAttributes: 'custom_attributes',\n};\n\nconst FILTER_TYPES = Object.keys(QUERY_PARAMS_ES_MAPPINGS);\n\nexport default class ResponsivenessRoute extends IntercomRoute {\n  @service appService;\n  @service store;\n  @service reportingService;\n  @service intercomEventService;\n  analytics = { place: 'responsiveness' };\n  queryParams = filterQueryParams(FILTER_TYPES);\n  reportName = 'performance_responsiveness_report';\n  reportContext = 'performance';\n  titleToken = 'Responsiveness';\n\n  dashboardIdentifier = 'inbox-performance-responsiveness';\n  chartIdentifiers = [\n    'response-time-counter',\n    'first-response-time-counter',\n    'time-to-close-counter',\n    'response-time',\n    'first-response-time',\n    'time-to-close',\n  ];\n\n  shouldRedirectFromParent = true;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get range() {\n    return this.reportingService.range;\n  }\n\n  filters() {\n    let queryParamMappings = Object.assign({}, QUERY_PARAMS_ES_MAPPINGS);\n    if (!this.app.canUseFeature('conversation_attributes')) {\n      delete queryParamMappings.customAttributes;\n    }\n    return parsedESFilters(this, queryParamMappings);\n  }\n\n  beforeModel(transition) {\n    super.beforeModel(...arguments);\n\n    //setup filters\n    setRouteFilterProperties(this, transition.to.queryParams, FILTER_TYPES);\n  }\n\n  findDataConfig(dataConfigs, chartId) {\n    let result = dataConfigs.findBy('chart_identifier', chartId);\n\n    if (!result) {\n      result = this.store.createRecord('reporting/chart', {\n        dashboard_identifier: this.dashboardIdentifier,\n        chart_identifier: chartId,\n        aggregation_method: 'median',\n        app_id: this.app.id,\n      });\n    }\n\n    return result;\n  }\n\n  async model() {\n    let reportingAllSettings = await this.store.queryRecord('reporting/settings', {});\n    let botInboxSettings = await this.store.findRecord('operator-bot-inbox-settings', this.app.id);\n    let conversationAttributeDescriptors = [];\n\n    let fetchedDataConfigs = await this.store.query('reporting/chart', {\n      dashboard_identifier: this.dashboardIdentifier,\n    });\n\n    let dataConfigs = this.chartIdentifiers.reduce((result, id) => {\n      result[id] = this.findDataConfig(fetchedDataConfigs, id);\n      return result;\n    }, {});\n\n    let settings = {\n      reportingExcludeOooHours: reportingAllSettings.get('excludeOooHours'),\n      allowToExcludeBotInbox: botInboxSettings.get('assignConversationsToBots'),\n      excludeBotInboxStartDate: botInboxSettings.get('assignConversationsToBotsLastEnabledAt'),\n    };\n\n    if (this.app.canUseFeature('conversation_attributes')) {\n      conversationAttributeDescriptors = await ConversationAttributeDescriptor.peekAllAndMaybeLoad();\n    }\n\n    return hash({\n      settings,\n      dataConfigs,\n      dashboardIdentifier: this.dashboardIdentifier,\n      conversationAttributeDescriptors,\n    });\n  }\n\n  setupController(controller, model) {\n    super.setupController(...arguments);\n\n    let { range, reportContext, reportName, tag } = this;\n    let controllerProperties = {\n      rangeStart: range.start,\n      rangeEnd: range.end,\n      range,\n      rangeParams: {\n        interval: this.range.interval,\n        comparisonStartMoment: this.range.comparisonStartMoment,\n        comparisonEndMoment: this.range.comparisonEndMoment,\n        startMoment: this.range.startMoment,\n        endMoment: this.range.endMoment,\n        inDays: this.range.inDays,\n        timezone: this.range.timezone,\n      },\n      reportContext,\n      reportName,\n      tag,\n      ...model,\n    };\n    controller.setProperties(controllerProperties);\n    setControllerFilterProperties(this, controller, FILTER_TYPES);\n  }\n\n  resetController(controller, isExiting, transition) {\n    if (isExiting) {\n      controller.clearReportSubscription();\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport setupLineChartSignal from 'embercom/lib/inbox/reporting/setup-line-chart-signal';\nimport percent from 'embercom/lib/percentage-formatter';\nimport {\n  SLA_CONVERSATION_WAIT_TIME,\n  SLA_STATUS_BY_CONVERSATION,\n  SLA_STATUS_BY_TRIGGERING_COMMENT,\n  SLA_STATUS_BY_TRIGGERING_COMMENT_AT_BREACH,\n} from 'embercom/lib/reporting/queries';\nimport Signal from 'embercom/models/reporting/signal';\nimport ReportBase from 'embercom/routes/apps/app/reports/base/report';\nimport { hash } from 'rsvp';\nimport {\n  parsedESFilters,\n  setControllerFilterProperties,\n  filterQueryParams,\n  setRouteFilterProperties,\n} from 'embercom/lib/reporting/flexible/filter-helpers';\nimport ConversationAttributeDescriptor from 'embercom/models/conversation-attributes/descriptor';\nimport { buildNestedFieldFilters } from 'embercom/lib/reporting/nested-field-filters';\n\nconst SECONDS_IN_MINUTE = 60;\n\nconst TARGET_TYPE_KEYS = {\n  firstReplyTime: 'first_reply_time',\n  nextReplyTime: 'next_reply_time',\n};\n\nconst TARGET_TYPE_KEYS_TO_NAME = {\n  first_reply_time: 'firstReplyTime',\n  next_reply_time: 'nextReplyTime',\n};\n\nconst BREACHED_SLA_STATUSES = ['fixed', 'missed'];\n\nconst GROUP_BY_STATUS = {\n  grouping: 'sla_status',\n  interval: 1,\n};\n\nconst GROUP_BY_TARGET_TYPE = {\n  grouping: 'sla_target_type',\n  interval: 1,\n};\n\nconst QUERY_PARAMS_ES_MAPPINGS = {\n  teammateId: 'admin_participant_ids',\n  teamsParticipated: 'admin_participant_ids', //a list of teammate ids is passed to ES\n  scopingTagIds: 'conversation_tag_ids',\n  teammatesAssigned: 'admin_assignee_id',\n  channels: 'channel_type',\n  continents: 'user_location.continent_code',\n  countries: 'user_location.country_name',\n  conversationTypes: 'message_subclass_type',\n  teamsAssigned: 'team_assignee_id',\n  customAttributes: 'custom_attributes',\n  slas: 'conversation_sla_ids',\n};\nconst FILTER_TYPES = Object.keys(QUERY_PARAMS_ES_MAPPINGS);\n\nlet filterByTargetType = target => ({\n  sla_target_types: [TARGET_TYPE_KEYS[target]],\n});\n\nlet filterBySLAStatus = (statuses = []) => ({\n  sla_statuses: statuses,\n});\n\nlet reduceSignalForComparisonContexts = (signal, mapContextToKeys) => reduce =>\n  ['originalContext', 'previousContext'].reduce(\n    (statusByContext, context) => ({\n      ...statusByContext,\n      [mapContextToKeys ? mapContextToKeys[context] : context]: reduce(signal[context]),\n    }),\n    {},\n  );\n\nlet createKeyedValuesForContexts = signal =>\n  reduceSignalForComparisonContexts(signal, {\n    originalContext: 'value',\n    previousContext: 'previousValue',\n  })(context =>\n    context.reduce(\n      (statusByKey, { key, value = 0 } = {}) => ({\n        ...statusByKey,\n        [TARGET_TYPE_KEYS_TO_NAME[key]]: value / SECONDS_IN_MINUTE,\n      }),\n      { firstReplyTime: 0, nextReplyTime: 0 },\n    ),\n  );\n\nlet createSLAStatusComparison = signal =>\n  reduceSignalForComparisonContexts(signal)(context =>\n    context.reduce(\n      (statusByKey, { key, value = 0 } = {}) => ({\n        ...statusByKey,\n        [key]: value,\n      }),\n      { hit: 0, fixed: 0, missed: 0 },\n    ),\n  );\n\nlet combineHourValuesForSLA = ({ hours: [first, second], sla }) => ({\n  key: first.key,\n  count: first.count + second.count,\n  value: first.value + second.value,\n  metadata: {\n    firstReplyTime: sla.firstReplyTimeInSeconds && {\n      count: first.count,\n      value: first.value,\n    },\n    nextReplyTime: sla.nextReplyTimeInSeconds && {\n      count: second.count,\n      value: second.value,\n    },\n  },\n});\n\nlet combineDayValuesForSLA = ({ days: [first, second], sla }) => ({\n  key: first.key,\n  count: first.count + second.count,\n  value: first.value.map((hour, i) =>\n    combineHourValuesForSLA({ hours: [hour, second.value[i]], sla }),\n  ),\n});\n\nlet defaultHeatmap = { originalContext: [], originalValue: 0 };\n\nlet combineHeatmapsForSLA = ({\n  heatmaps: [firstReplyHeatmap = defaultHeatmap, nextReplyHeatmap = defaultHeatmap],\n  sla,\n}) =>\n  Signal.create({\n    valueUnit: firstReplyHeatmap.valueUnit,\n    aggregations: firstReplyHeatmap.aggregations,\n    timezone: firstReplyHeatmap.timezone,\n    name: firstReplyHeatmap.name,\n    originalValue: firstReplyHeatmap.originalValue + nextReplyHeatmap.originalValue,\n    originalContext: firstReplyHeatmap.originalContext.map((day, i) =>\n      combineDayValuesForSLA({ days: [day, nextReplyHeatmap.originalContext[i]], sla }),\n    ),\n    datePickerRangeStart: firstReplyHeatmap.rangeStart,\n    datePickerRangeEnd: firstReplyHeatmap.rangeEnd,\n  });\n\nlet transformToPercentHit = (signal, key) => ({\n  ...signal,\n  name: TARGET_TYPE_KEYS_TO_NAME[key],\n  originalContext: (signal.originalContext || []).map(({ key, count, value }) => ({\n    key,\n    count,\n    value: percent(count, (value.find(item => item.key === 'hit') || { count: 0 }).count) || 0,\n  })),\n});\n\nlet fetchSignals = ({ reportingService, range, conversationSLA, filters }) => {\n  let signalPromises = {\n    slaConversations: reportingService.fetchComparisonSignal(\n      SLA_STATUS_BY_CONVERSATION,\n      'conversations',\n      range,\n      filters,\n      [GROUP_BY_STATUS],\n    ),\n  };\n\n  if (conversationSLA) {\n    // These signals are used in charts that require a conversationSLA\n    let slaSpecificSignals = {\n      firstReplyTargets: reportingService.fetchComparisonSignal(\n        SLA_STATUS_BY_TRIGGERING_COMMENT,\n        'conversations',\n        range,\n        {\n          ...filterByTargetType('firstReplyTime'),\n          ...filters,\n        },\n        [GROUP_BY_STATUS],\n      ),\n      nextReplyTargets: reportingService.fetchComparisonSignal(\n        SLA_STATUS_BY_TRIGGERING_COMMENT,\n        'conversations',\n        range,\n        {\n          ...filterByTargetType('nextReplyTime'),\n          ...filters,\n        },\n        [GROUP_BY_STATUS],\n      ),\n      firstReplyMisses: reportingService.fetchComparisonSignal(\n        SLA_STATUS_BY_TRIGGERING_COMMENT,\n        'conversations',\n        range,\n        {\n          ...filterBySLAStatus(BREACHED_SLA_STATUSES),\n          ...filterByTargetType('firstReplyTime'),\n          ...filters,\n        },\n        [GROUP_BY_STATUS],\n      ),\n      nextReplyMisses: reportingService.fetchComparisonSignal(\n        SLA_STATUS_BY_TRIGGERING_COMMENT,\n        'conversations',\n        range,\n        {\n          ...filterBySLAStatus(BREACHED_SLA_STATUSES),\n          ...filterByTargetType('nextReplyTime'),\n          ...filters,\n        },\n        [GROUP_BY_STATUS],\n      ),\n      slaWaitTime: reportingService.fetchComparisonSignal(\n        SLA_CONVERSATION_WAIT_TIME,\n        'conversations',\n        range,\n        {\n          ...SLA_CONVERSATION_WAIT_TIME.filters,\n          ...filters,\n        },\n        [GROUP_BY_TARGET_TYPE],\n      ),\n      firstReplyHitsOverTime: reportingService.fetchComparisonSignal(\n        SLA_STATUS_BY_TRIGGERING_COMMENT,\n        'hits',\n        range,\n        {\n          ...filterByTargetType('firstReplyTime'),\n          ...filters,\n        },\n        [...range.baseAggregations, GROUP_BY_STATUS],\n      ),\n      nextReplyHitsOverTime: reportingService.fetchComparisonSignal(\n        SLA_STATUS_BY_TRIGGERING_COMMENT,\n        'hits',\n        range,\n        {\n          ...filterByTargetType('nextReplyTime'),\n          ...filters,\n        },\n        [...range.baseAggregations, GROUP_BY_STATUS],\n      ),\n      firstReplyBreachesHeatmap: reportingService.fetchHeatmapSignal(\n        SLA_STATUS_BY_TRIGGERING_COMMENT_AT_BREACH,\n        'misses',\n        range,\n        {\n          ...filterBySLAStatus(BREACHED_SLA_STATUSES),\n          ...filterByTargetType('firstReplyTime'),\n          ...filters,\n        },\n      ),\n      nextReplyBreachesHeatmap: reportingService.fetchHeatmapSignal(\n        SLA_STATUS_BY_TRIGGERING_COMMENT_AT_BREACH,\n        'misses',\n        range,\n        {\n          ...filterBySLAStatus(BREACHED_SLA_STATUSES),\n          ...filterByTargetType('nextReplyTime'),\n          ...filters,\n        },\n      ),\n    };\n\n    signalPromises = { ...signalPromises, ...slaSpecificSignals };\n  }\n\n  return hash(signalPromises).then(signals => {\n    let conversationStatusByKey = createSLAStatusComparison(signals.slaConversations);\n    let [breachCount, previousBreachCount] = ['originalContext', 'previousContext'].map(\n      key => conversationStatusByKey[key].fixed + conversationStatusByKey[key].missed,\n    );\n\n    let extraSlaSpecificSignals = {};\n    if (conversationSLA) {\n      let { firstReplyTimeInSeconds, nextReplyTimeInSeconds } = conversationSLA;\n\n      let hitsOverTimeList = [\n        firstReplyTimeInSeconds &&\n          transformToPercentHit(signals.firstReplyHitsOverTime, 'first_reply_time'),\n        nextReplyTimeInSeconds &&\n          transformToPercentHit(signals.nextReplyHitsOverTime, 'next_reply_time'),\n      ];\n\n      extraSlaSpecificSignals = {\n        combinedBreachesHeatmap: combineHeatmapsForSLA({\n          heatmaps: [signals.firstReplyBreachesHeatmap, signals.nextReplyBreachesHeatmap],\n          sla: conversationSLA,\n        }),\n        hitsOverTime: setupLineChartSignal(hitsOverTimeList.filter(signal => signal)),\n        waitTimeByTarget: createKeyedValuesForContexts(signals.slaWaitTime),\n      };\n    }\n\n    return {\n      ...signals,\n      conversationSuccesRate: {\n        value:\n          percent(signals.slaConversations.value, signals.slaConversations.value - breachCount) ||\n          0,\n        previousValue:\n          percent(\n            signals.slaConversations.previousValue,\n            signals.slaConversations.previousValue - previousBreachCount,\n          ) || 0,\n      },\n      conversationBreaches: {\n        value: breachCount,\n        previousValue: previousBreachCount,\n      },\n      ...extraSlaSpecificSignals,\n    };\n  });\n};\n\nlet selectSLA = (slas, slaId, defaultSla) => {\n  if (slaId || slas.length > 0) {\n    return slaId ? slas.find(({ id }) => id === slaId) : defaultSla;\n  }\n};\n\nexport default ReportBase.extend({\n  reportName: 'slas_report',\n  selectedConversationSLA: null,\n  titleToken: 'SLAs',\n  analytics: {\n    place: 'slas',\n  },\n  queryParams: filterQueryParams(FILTER_TYPES),\n  shouldRedirectFromParent: true,\n  mergedProperties: ['queryParams'],\n\n  filters(selectedConversationSLA) {\n    let rawFilters = parsedESFilters(this, QUERY_PARAMS_ES_MAPPINGS);\n    let { custom_attributes, ...filters } = rawFilters || {};\n    let nestedFilters = buildNestedFieldFilters(custom_attributes);\n\n    if (nestedFilters) {\n      filters.nested_filters = nestedFilters;\n    }\n    return filters;\n  },\n\n  async beforeModel(transition) {\n    this._super(...arguments);\n\n    //setup filters\n    setRouteFilterProperties(this, transition.to.queryParams, FILTER_TYPES);\n\n    let app = this.modelFor('apps.app');\n    if (!app.get('canUseInboxSlas')) {\n      this.transitionTo('apps.app.reports.customer-support');\n    }\n  },\n\n  async model(params) {\n    let { rules, slas } = await hash({\n      rules: this.store.findAll('inbox/conversation-rules/sla'),\n      slas: this.store.findAll('inbox/conversation-sla'),\n    });\n\n    let conversationAttributeDescriptors = [];\n\n    if (this.app.canUseFeature('conversation_attributes')) {\n      conversationAttributeDescriptors = await ConversationAttributeDescriptor.peekAllAndMaybeLoad();\n    }\n\n    let selectedConversationSLA;\n    // Use the `slas` queryParam for the slaId when using the filter bar\n    let slaId = this.slas[0];\n    selectedConversationSLA = selectSLA(slas, slaId, null);\n\n    return hash({\n      conversationSLAs: slas,\n      conversationSLARulesCount: rules.length,\n      selectedConversationSLA,\n      signals: fetchSignals({\n        reportingService: this.reportingService,\n        range: this.range,\n        conversationSLA: selectedConversationSLA,\n        filters: this.filters(selectedConversationSLA),\n      }),\n      conversationAttributeDescriptors,\n    });\n  },\n\n  setupController(controller, model) {\n    this._super(...arguments);\n    controller.setProperties({\n      slaId: model.selectedConversationSLA && model.selectedConversationSLA.id,\n      selectedConversationSLA: model.selectedConversationSLA,\n      conversationSLAs: model.conversationSLAs,\n      conversationSLARulesCount: model.conversationSLARulesCount,\n      signals: model.signals,\n    });\n    setControllerFilterProperties(this, controller, FILTER_TYPES);\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport { hash } from 'rsvp';\nimport {\n  parsedESFilters,\n  setControllerFilterProperties,\n  filterQueryParams,\n  setRouteFilterProperties,\n} from 'embercom/lib/reporting/flexible/filter-helpers';\nimport ConversationAttributeDescriptor from 'embercom/models/conversation-attributes/descriptor';\n\nconst QUERY_PARAMS_ES_MAPPINGS = {\n  teammateId: 'admin_participant_ids',\n  teamsParticipated: 'admin_participant_ids', //a list of teammate ids is passed to ES\n  scopingTagIds: 'conversation_tag_ids',\n  teammatesAssigned: 'admin_assignee_id',\n  teamsAssigned: 'team_assignee_id',\n  channels: 'channel_type',\n  continents: 'user_location.continent_code',\n  countries: 'user_location.country_name',\n  customAttributes: 'custom_attributes',\n  conversationTypes: 'message_subclass_type',\n  botInboxTime: null, //bot inbox is a setting, it's not passed to ES\n};\nconst FILTER_TYPES = Object.keys(QUERY_PARAMS_ES_MAPPINGS);\n\nexport default class TeamPerformanceRoute extends IntercomRoute {\n  @service appService;\n  @service store;\n  @service reportingService;\n  reportName = 'team-performance';\n  titleToken = 'Team performance';\n  analytics = {\n    place: 'team_performance',\n  };\n  mergedProperties = ['queryParams'];\n  queryParams = filterQueryParams(FILTER_TYPES);\n  dashboardIdentifier = 'team-performance';\n  chartIdentifiers = ['team-first-response'];\n  shouldRedirectFromParent = true;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get range() {\n    return this.reportingService.range;\n  }\n\n  findDataConfig(dataConfigs, chartId) {\n    let result = dataConfigs.findBy('chart_identifier', chartId);\n\n    if (!result) {\n      result = this.store.createRecord('reporting/chart', {\n        dashboard_identifier: this.dashboardIdentifier,\n        chart_identifier: chartId,\n        app_id: this.app.id,\n      });\n    }\n\n    return result;\n  }\n\n  filters() {\n    let queryParamMappings = Object.assign({}, QUERY_PARAMS_ES_MAPPINGS);\n    if (!this.app.canUseFeature('conversation_attributes')) {\n      delete queryParamMappings.customAttributes;\n    }\n    return parsedESFilters(this, queryParamMappings);\n  }\n\n  beforeModel(transition) {\n    super.beforeModel(...arguments);\n\n    //setup filters\n    setRouteFilterProperties(this, transition.to.queryParams, FILTER_TYPES);\n  }\n\n  async model() {\n    let reportingAllSettings = await this.store.queryRecord('reporting/settings', {});\n    let botInboxSettings = await this.store.findRecord('operator-bot-inbox-settings', this.app.id);\n    let conversationAttributeDescriptors = [];\n\n    let fetchedDataConfigs = await this.store.query('reporting/chart', {\n      dashboard_identifier: this.dashboardIdentifier,\n    });\n\n    let dataConfigs = this.chartIdentifiers.reduce((result, id) => {\n      result[id] = this.findDataConfig(fetchedDataConfigs, id);\n      return result;\n    }, {});\n\n    if (this.app.canUseFeature('conversation_attributes')) {\n      conversationAttributeDescriptors = await ConversationAttributeDescriptor.peekAllAndMaybeLoad();\n    }\n\n    let settings = {\n      reportingExcludeOooHours: reportingAllSettings.get('excludeOooHours'),\n      allowToExcludeBotInbox: botInboxSettings.get('assignConversationsToBots'),\n      excludeBotInboxStartDate: botInboxSettings.get('assignConversationsToBotsLastEnabledAt'),\n    };\n\n    return hash({\n      settings,\n      dataConfigs,\n      dashboardIdentifier: this.dashboardIdentifier,\n      conversationAttributeDescriptors,\n    });\n  }\n\n  setupController(controller, model) {\n    super.setupController(...arguments);\n\n    let { range, reportName, tag } = this;\n    let controllerProperties = {\n      rangeStart: range.start,\n      rangeEnd: range.end,\n      range,\n      rangeParams: {\n        baseAggregations: range.baseAggregations,\n        heatmapAggregations: range.heatmapAggregations,\n        interval: range.interval,\n        comparisonStartMoment: range.comparisonStartMoment,\n        comparisonEndMoment: range.comparisonEndMoment,\n        startMoment: range.startMoment,\n        endMoment: range.endMoment,\n        inDays: range.inDays,\n        timezone: range.timezone,\n      },\n      tag,\n      reportName,\n      ...model,\n    };\n    controller.setProperties(controllerProperties);\n    setControllerFilterProperties(this, controller, FILTER_TYPES);\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Route.extend({\n  reportingService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  titleToken: 'Inbox',\n\n  beforeModel() {\n    let app = this.modelFor('apps.app');\n    if (app.get('inboxIsNotActive')) {\n      return this.replaceWith('apps.app.inbox');\n    }\n  },\n});\n","import CustomerSupportConversationTagsRoute from 'embercom/routes/apps/app/reports/customer-support/conversation-tags';\n\nexport default CustomerSupportConversationTagsRoute.extend({\n  controllerName: 'apps.app.reports.customer-support.conversation-tags',\n  templateName: 'apps.app.reports.customer-support.conversation-tags',\n\n  beforeModel() {\n    let app = this.modelFor('apps.app');\n    if (app.get('canUseNewReportingIa')) {\n      return this.transitionTo('apps.app.reports.customer-support.conversation-tags');\n    }\n  },\n\n  fetchSignals() {\n    return Promise.resolve();\n  },\n});\n","import ConversationsRoute from 'embercom/routes/apps/app/reports/customer-support/conversations-flexible';\n\nexport default class InboxConversationsRoute extends ConversationsRoute {\n  controllerName = 'apps.app.reports.customer-support.conversations-flexible';\n  templateName = 'apps.app.reports.customer-support.conversations-flexible';\n  shouldRedirectFromParent = false;\n\n  beforeModel() {\n    super.beforeModel(...arguments);\n\n    return this.transitionTo('apps.app.reports.customer-support.conversations-flexible');\n  }\n}\n","import ConversationsRoute from 'embercom/routes/apps/app/reports/customer-support/conversations';\n\nexport default ConversationsRoute.extend({\n  controllerName: 'apps.app.reports.customer-support.conversations',\n  templateName: 'apps.app.reports.customer-support.conversations',\n  shouldRedirectFromParent: false,\n\n  beforeModel() {\n    this._super(...arguments);\n\n    if (this.get('app.canUseNewReportingIa')) {\n      return this.transitionTo('apps.app.reports.customer-support.conversations');\n    }\n  },\n});\n","import EffectivenessRoute from 'embercom/routes/apps/app/reports/customer-support/effectiveness';\n\nexport default class InboxEffectivenessRoute extends EffectivenessRoute {\n  controllerName = 'apps.app.reports.customer-support.effectiveness';\n  templateName = 'apps.app.reports.customer-support.effectiveness';\n  shouldRedirectFromParent = false;\n\n  beforeModel() {\n    super.beforeModel(...arguments);\n\n    return this.transitionTo('apps.app.reports.customer-support.effectiveness');\n  }\n}\n","import CustomerSupportExportRoute from 'embercom/routes/apps/app/reports/customer-support/export';\n\nexport default CustomerSupportExportRoute.extend({\n  controllerName: 'apps.app.reports.customer-support.export',\n  templateName: 'apps.app.reports.customer-support.export',\n\n  beforeModel() {\n    let app = this.modelFor('apps.app');\n    if (app.get('canUseNewReportingIa')) {\n      return this.transitionTo('apps.app.reports.customer-support.export');\n    }\n  },\n});\n","import LeadGenerationLeadsRoute from 'embercom/routes/apps/app/reports/lead-generation/leads';\n\nexport default LeadGenerationLeadsRoute.extend({\n  controllerName: 'apps.app.reports.lead-generation.leads',\n  templateName: 'apps.app.reports.lead-generation.leads',\n  shouldRedirectFromParent: false,\n\n  beforeModel() {\n    this._super(...arguments);\n\n    let app = this.modelFor('apps.app');\n    if (app.get('canUseNewReportingIa')) {\n      return this.transitionTo('apps.app.reports.lead-generation.leads');\n    }\n  },\n});\n","import CustomerSatisfactionRoute from 'embercom/routes/apps/app/reports/customer-support/customer-satisfaction';\n\nexport default CustomerSatisfactionRoute.extend({\n  controllerName: 'apps.app.reports.customer-support.customer-satisfaction',\n  templateName: 'apps.app.reports.customer-support.customer-satisfaction',\n  shouldRedirectFromParent: true,\n\n  beforeModel() {\n    this._super(...arguments);\n\n    return this.transitionTo('apps.app.reports.customer-support.customer-satisfaction');\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\n\nexport default class ResponsivenessFlexibleRoute extends IntercomRoute {\n  beforeModel() {\n    return this.transitionTo('apps.app.reports.customer-support.responsiveness');\n  }\n}\n","import ResponsivenessRoute from 'embercom/routes/apps/app/reports/customer-support/responsiveness';\n\nexport default class InboxResponsivenessRoute extends ResponsivenessRoute {\n  controllerName = 'apps.app.reports.customer-support.responsiveness';\n  templateName = 'apps.app.reports.customer-support.responsiveness';\n  shouldRedirectFromParent = false;\n\n  beforeModel() {\n    super.beforeModel(...arguments);\n\n    return this.transitionTo('apps.app.reports.customer-support.responsiveness');\n  }\n}\n","import LeadGenerationSalesRoute from 'embercom/routes/apps/app/reports/lead-generation/sales';\n\nexport default LeadGenerationSalesRoute.extend({\n  controllerName: 'apps.app.reports.lead-generation.sales',\n  templateName: 'apps.app.reports.lead-generation.sales',\n  shouldRedirectFromParent: false,\n\n  beforeModel() {\n    this._super(...arguments);\n\n    let app = this.modelFor('apps.app');\n    if (app.get('canUseNewReportingIa')) {\n      return this.transitionTo('apps.app.reports.lead-generation.sales');\n    }\n\n    this.replaceWith('apps.app.reports.inbox.performance.sales.opportunities');\n  },\n});\n","import BaseSalesRoute from 'embercom/routes/apps/app/reports/base/sales-route';\n\nexport default BaseSalesRoute.extend({\n  parentRoute: 'apps.app.reports.inbox.performance.sales',\n});\n","import SalesRoute from './base/sales-route';\n\nexport default SalesRoute.extend({\n  templateName: 'apps.app.reports.lead-generation.sales.closed-won',\n});\n","import SalesRoute from './base/sales-route';\n\nexport default SalesRoute.extend({\n  templateName: 'apps.app.reports.lead-generation.sales.opportunities',\n});\n","import SalesRoute from './base/sales-route';\n\nexport default SalesRoute.extend({\n  templateName: 'apps.app.reports.lead-generation.sales.pipeline',\n});\n","import PerformanceReportBase from 'embercom/routes/apps/app/reports/base/performance-report';\n\nexport default PerformanceReportBase.extend({\n  beforeModel(transition) {\n    this.replaceWith('apps.app.reports.inbox.conversations-flexible');\n\n    this._super(...arguments);\n  },\n});\n","import CustomerSupportSlasRoute from 'embercom/routes/apps/app/reports/customer-support/slas';\n\nexport default CustomerSupportSlasRoute.extend({\n  controllerName: 'apps.app.reports.customer-support.slas',\n  templateName: 'apps.app.reports.customer-support.slas',\n  shouldRedirectFromParent: false,\n\n  beforeModel() {\n    this._super(...arguments);\n\n    this.transitionTo('apps.app.reports.customer-support.slas');\n  },\n});\n","import CustomerSupportOverviewRoute from 'embercom/routes/apps/app/reports/customer-support/overview';\n\nexport default class ConversationRoute extends CustomerSupportOverviewRoute {\n  controllerName = 'apps.app.reports.customer-support.overview';\n  templateName = 'apps.app.reports.customer-support.overview';\n  shouldRedirectFromParent = false;\n\n  beforeModel() {\n    super.beforeModel(...arguments);\n\n    return this.transitionTo('apps.app.reports.customer-support.overview');\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { hash } from 'rsvp';\nimport { computed } from '@ember/object';\nimport ReportBase from 'embercom/routes/apps/app/reports/base/report';\nimport { SIGNAL_CONFIGS } from 'embercom/models/reporting/signal';\nimport setupLineChartSignal from 'embercom/lib/inbox/reporting/setup-line-chart-signal';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nlet fetchSignals = ({ service, range, filters }) =>\n  hash({\n    //These signals represent reference totals and should not be filtered\n    closedWonAmount: service.fetchComparisonSignal(\n      SIGNAL_CONFIGS.CLOSED_WON_AMOUNT,\n      'dollars',\n      range,\n      {},\n    ),\n    opportunityCreated: service.fetchComparisonSignal(\n      SIGNAL_CONFIGS.OPPORTUNITY_CREATED,\n      'opportunity',\n      range,\n      {},\n    ),\n    opportunityCreatedAmount: service.fetchComparisonSignal(\n      SIGNAL_CONFIGS.OPPORTUNITY_CREATED_AMOUNT,\n      'dollars',\n      range,\n      {},\n    ),\n\n    closedWonInfluencedAmount: service.fetchComparisonSignal(\n      SIGNAL_CONFIGS.CLOSED_WON_INFLUENCED_AMOUNT,\n      'dollars',\n      range,\n      filters,\n    ),\n    opportunityInfluenced: service.fetchComparisonSignal(\n      SIGNAL_CONFIGS.OPPORTUNITY_INFLUENCED,\n      'opportunity',\n      range,\n      filters,\n    ),\n    opportunityInfluencedAmount: service.fetchComparisonSignal(\n      SIGNAL_CONFIGS.OPPORTUNITY_INFLUENCED_AMOUNT,\n      'dollars',\n      range,\n      filters,\n    ),\n  });\n\nlet addLineChartSignals = signals => ({\n  ...signals,\n  opportunitiesChart: setupLineChartSignal([\n    signals.opportunityCreated,\n    signals.opportunityInfluenced,\n  ]),\n  pipelineChart: setupLineChartSignal([\n    signals.opportunityCreatedAmount,\n    signals.opportunityInfluencedAmount,\n  ]),\n  closedWonChart: setupLineChartSignal([\n    signals.closedWonAmount,\n    signals.closedWonInfluencedAmount,\n  ]),\n});\n\nexport default ReportBase.extend({\n  router: service(),\n  reportName: 'summary_sales_report',\n  reportContext: 'summary',\n  paywalled: readOnly('app.canUseRevenueReports'),\n  titleToken: 'Summary',\n  analytics: {\n    place: 'sales',\n  },\n\n  filters: computed('scopingTagIds', function() {\n    let filters = {};\n    if (this.scopingTagIds) {\n      filters['user_tag_ids'] = this.scopingTagIds;\n    }\n    return filters;\n  }),\n\n  fetchSignals() {\n    let { range, filters } = this;\n\n    return fetchSignals({\n      service: this.reportingService,\n      range,\n      filters,\n    }).then(addLineChartSignals);\n  },\n\n  setupController(controller, model) {\n    this._super(...arguments);\n    controller.set('filters', this.filters);\n  },\n\n  actions: {\n    didTransition() {\n      this._super();\n      let routeName = this.router.currentRouteName;\n      if (routeName.endsWith('loading')) {\n        return;\n      }\n    },\n  },\n});\n","import BaseSalesRoute from 'embercom/routes/apps/app/reports/base/sales-route';\n\nexport default BaseSalesRoute.extend({\n  parentRoute: 'apps.app.reports.inbox.summary.sales',\n});\n","import SalesRoute from './base/sales-route';\n\nexport default SalesRoute.extend();\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Route.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  beforeModel() {\n    this.replaceWith('apps.app.reports.inbox.summary.sales.opportunities');\n  },\n});\n","import SalesRoute from './base/sales-route';\n\nexport default SalesRoute.extend();\n","import SalesRoute from './base/sales-route';\n\nexport default SalesRoute.extend();\n","import TeamPerformanceRoute from 'embercom/routes/apps/app/reports/customer-support/team-performance';\n\nexport default class InboxTeamPerformancesRoute extends TeamPerformanceRoute {\n  controllerName = 'apps.app.reports.customer-support.team-performance';\n  templateName = 'apps.app.reports.customer-support.team-performance';\n  shouldRedirectFromParent = false;\n\n  beforeModel() {\n    super.beforeModel(...arguments);\n\n    return this.transitionTo('apps.app.reports.customer-support.team-performance');\n  }\n}\n","import { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { hash } from 'rsvp';\nimport {\n  OPERATOR_CONVERSATIONS_COMPLETED,\n  OPERATOR_CONVERSATION_ENGAGED,\n  OPERATOR_CONVERSATION_SENT,\n} from 'embercom/lib/reporting/queries';\nimport moment from 'moment';\nimport { on } from '@ember/object/evented';\n\nlet fetchApps = store =>\n  hash({\n    salesforce: store.findRecord('appstore/app-package', 'salesforce-by-intercom'),\n    googleCalendar: store.findRecord('appstore/app-package', 'google-calendar-meetings'),\n  });\n\nlet fetchSignals = ({ service, range, filters, bookedByOperatorFilter }) =>\n  hash({\n    conversationsSent: service.fetchComparisonSignal(\n      OPERATOR_CONVERSATION_SENT,\n      'conversation',\n      range,\n      filters,\n    ),\n    conversationsEngaged: service.fetchComparisonSignal(\n      OPERATOR_CONVERSATION_ENGAGED,\n      'conversation',\n      range,\n      filters,\n    ),\n    conversationsCompleted: service.fetchComparisonSignal(\n      OPERATOR_CONVERSATIONS_COMPLETED,\n      'conversation',\n      range,\n      filters,\n    ),\n  });\n\nexport default IntercomRoute.extend({\n  appService: service(),\n  reportingService: service(),\n  app: readOnly('appService.app'),\n  titleToken: 'Custom Bots | Operator',\n  range: readOnly('reportingService.range'),\n\n  analytics: {\n    place: 'custom_bots',\n  },\n  instrumentationDelay: 3000,\n\n  queryParams: {\n    customBot: { refreshModel: true },\n  },\n\n  model(params) {\n    let { customBot } = params;\n\n    let filters = {};\n\n    filters['exists_fields'] = ['custom_bot_id'];\n    if (customBot) {\n      filters.custom_bot_id = [customBot];\n    }\n\n    let bookedByOperatorFilter = {\n      ...filters,\n      meeting_invitation_sender_ids: [this.get('app.operatorBot.id')],\n    };\n    let range = this.range;\n\n    let apps = fetchApps(this.store);\n    let signals = fetchSignals({\n      service: this.reportingService,\n      range,\n      filters,\n      bookedByOperatorFilter,\n    });\n    let bots = this.store.findAll('operator/custom-bot-reportable-bot');\n    let botTemplates = this.store.findAll('operator/custom-bot-template');\n    return hash({ range, bots, botTemplates, signals, apps, filters });\n  },\n\n  beforeModel() {\n    let app = this.modelFor('apps.app');\n    if (!app.get('canUseNewReportingIa')) {\n      return this.transitionTo('apps.app.reports.operator.custom-bots');\n    }\n\n    this.replaceWith('apps.app.reports.lead-generation.custom-bots.sent');\n  },\n\n  setupController(controller, { range, bots, botTemplates, signals, apps, filters }) {\n    controller.setProperties({\n      range,\n      bots,\n      botTemplates,\n      signals,\n      apps,\n      filters,\n      rangeStart: range.start,\n      rangeEnd: range.end,\n    });\n  },\n\n  trackPageview: on('activate', function() {\n    this.intercomEventService.trackEvent('viewed_custom_bots_report');\n    this.instrumentationEvent = setTimeout(\n      () =>\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'viewed',\n          object: 'custom_bots_report',\n          context: 'operator',\n          start_date: moment(this.rangeStart).format('YYYY/MM/DD'),\n          end_date: moment(this.rangeEnd).format('YYYY/MM/DD'),\n          bot_id: this.customBot,\n        }),\n      this.instrumentationDelay || 0,\n    );\n  }),\n\n  cleanupDelayedTrackPageview: on('deactivate', function() {\n    return this.instrumentationEvent && clearTimeout(this.instrumentationEvent);\n  }),\n});\n","import ReportBase from 'embercom/routes/apps/app/reports/base/report';\n\nexport default ReportBase.extend({\n  reportName: 'leads_report',\n  titleToken: 'Leads',\n  analytics: {\n    place: 'leads',\n  },\n  shouldRedirectFromParent: true,\n\n  fetchSignals() {\n    return {};\n  },\n\n  setupController(controller) {\n    this._super(...arguments);\n    controller.loadSalesforceIntegrationTask.perform();\n  },\n\n  beforeModel() {\n    this._super(...arguments);\n\n    let app = this.modelFor('apps.app');\n    if (this.shouldRedirectFromParent && !app.get('canUseNewReportingIa')) {\n      return this.transitionTo('apps.app.reports.inbox.leads');\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { hash } from 'rsvp';\nimport { SIGNAL_CONFIGS } from 'embercom/models/reporting/signal';\nimport { MEETING_BOOKED } from 'embercom/lib/reporting/queries';\n\nimport { readOnly } from '@ember/object/computed';\n\nimport PerformanceReportBase from 'embercom/routes/apps/app/reports/base/performance-report';\nimport setupLineChartSignal from 'embercom/lib/inbox/reporting/setup-line-chart-signal';\n\nexport default PerformanceReportBase.extend({\n  dashboardIdentifier: 'inbox-performance-sales',\n  chartIdentifiers: [\n    'time-to-close-opportunity',\n    'time-to-close-opportunity-counter',\n    'meetings-booked-counter',\n    'meetings-booked',\n  ],\n  reportName: 'performance_sales_report',\n  paywalled: readOnly('app.canUseRevenueReports'),\n  analytics: {\n    place: 'sales',\n  },\n  shouldRedirectFromParent: true,\n  titleToken: 'Sales',\n\n  beforeModel() {\n    this._super(...arguments);\n\n    if (this.shouldRedirectFromParent) {\n      let app = this.modelFor('apps.app');\n      if (!app.get('canUseNewReportingIa')) {\n        return this.transitionTo('apps.app.reports.inbox.performance.sales');\n      }\n      this.replaceWith('apps.app.reports.lead-generation.sales.opportunities');\n    }\n  },\n\n  filters(options = {}) {\n    let teammateFilter = options.teammateFilter || 'teammate_ids';\n    let filters = {};\n    if (this.scopingTagIds) {\n      filters['user_tag_ids'] = this.scopingTagIds;\n    }\n    if (this.teammateIds && !this.get('teamOrTeammate.isAppTeam')) {\n      filters[teammateFilter] = this.teammateIds;\n    }\n    return filters;\n  },\n\n  fetchSignals() {\n    let range = this.range;\n\n    let signals = hash({\n      //These signals represent reference totals and should not be filtered\n      opportunityCreated: this._fetchComparisonSignal(\n        SIGNAL_CONFIGS.OPPORTUNITY_CREATED,\n        'opportunity',\n        range,\n        {},\n      ),\n      opportunityCreatedAmount: this._fetchComparisonSignal(\n        SIGNAL_CONFIGS.OPPORTUNITY_CREATED_AMOUNT,\n        'dollars',\n        range,\n        {},\n      ),\n      closedWonAmount: this._fetchComparisonSignal(\n        SIGNAL_CONFIGS.CLOSED_WON_AMOUNT,\n        'dollars',\n        range,\n        {},\n      ),\n\n      meetingBooked: this._fetchComparisonSignal(\n        MEETING_BOOKED,\n        'teammate_participant_id',\n        range,\n        this.filters({ teammateFilter: 'teammate_participant_ids' }),\n      ),\n      closedWonInfluencedAmount: this._fetchComparisonSignal(\n        SIGNAL_CONFIGS.CLOSED_WON_INFLUENCED_AMOUNT,\n        'dollars',\n        range,\n        this.filters(),\n      ),\n      opportunityInfluenced: this._fetchComparisonSignal(\n        SIGNAL_CONFIGS.OPPORTUNITY_INFLUENCED,\n        'opportunity',\n        range,\n        this.filters(),\n      ),\n      opportunityInfluencedAmount: this._fetchComparisonSignal(\n        SIGNAL_CONFIGS.OPPORTUNITY_INFLUENCED_AMOUNT,\n        'dollars',\n        range,\n        this.filters(),\n      ),\n      teammatePerformance: this._fetchTabularSignal(\n        SIGNAL_CONFIGS.TEAMMATE_PERFORMANCE,\n        range,\n        this.filters(),\n      ),\n      dealsInfluenced: this._fetchTabularSignal(\n        SIGNAL_CONFIGS.DEALS_INFLUENCED,\n        range,\n        this.filters(),\n      ),\n    });\n\n    return signals.then(signals => this._addLineChartSignals(signals));\n  },\n\n  _fetchComparisonSignal(...args) {\n    return this.reportingService.fetchComparisonSignal(...args);\n  },\n\n  _fetchTabularSignal(...args) {\n    return this.reportingService.fetchTabularSignal(...args);\n  },\n\n  _addLineChartSignals(signals) {\n    return {\n      ...signals,\n      opportunitiesChart: setupLineChartSignal([\n        signals.opportunityCreated,\n        signals.opportunityInfluenced,\n      ]),\n      pipelineChart: setupLineChartSignal([\n        signals.opportunityCreatedAmount,\n        signals.opportunityInfluencedAmount,\n      ]),\n      closedWonChart: setupLineChartSignal([\n        signals.closedWonAmount,\n        signals.closedWonInfluencedAmount,\n      ]),\n    };\n  },\n});\n","import BaseSalesRoute from 'embercom/routes/apps/app/reports/base/sales-route';\n\nexport default BaseSalesRoute.extend({\n  parentRoute: 'apps.app.reports.lead-generation.sales',\n});\n","import SalesRoute from './base/sales-route';\n\nexport default SalesRoute.extend();\n","import SalesRoute from './base/sales-route';\n\nexport default SalesRoute.extend();\n","import SalesRoute from './base/sales-route';\n\nexport default SalesRoute.extend();\n","import CustomerEngagementRoute from 'embercom/routes/apps/app/reports/customer-engagement';\n\nexport default CustomerEngagementRoute.extend({\n  controllerName: 'apps.app.reports.customer-engagement',\n  templateName: 'apps.app.reports.customer-engagement',\n\n  beforeModel(transition) {\n    let app = this.modelFor('apps.app');\n    if (app.get('canUseNewReportingIa')) {\n      return this.transitionTo('apps.app.reports.customer-engagement');\n    }\n    return this._defaultIntervalParam(transition);\n  },\n  setupController(controller) {\n    this._super(controller);\n    controller.setProperties({\n      dashboardName: 'Messages report',\n      chartNames: {\n        messagesSent: 'Are messages sending as expected?',\n        messageVolume: 'Have any users received too many messages?',\n        messagePerformance: 'How are messages performing?',\n        export: 'Export',\n      },\n    });\n  },\n});\n","import LeadGenerationCustomBotRoute from 'embercom/routes/apps/app/reports/lead-generation/custom-bots';\n\nexport default LeadGenerationCustomBotRoute.extend({\n  controllerName: 'apps.app.reports.lead-generation.custom-bots',\n  templateName: 'apps.app.reports.lead-generation.custom-bots',\n\n  beforeModel() {\n    let app = this.modelFor('apps.app');\n    if (app.get('canUseNewReportingIa')) {\n      return this.transitionTo('apps.app.reports.lead-generation.custom-bots');\n    }\n\n    this.replaceWith('apps.app.reports.operator.custom-bots.sent');\n  },\n});\n","import Route from '@ember/routing/route';\n\nexport default class CustomBotsCompletedRoute extends Route {\n  parentRoute = 'apps.app.reports.operator.custom-bots';\n  templateName = 'apps.app.reports.lead-generation.custom-bots.completed';\n  controllerName = 'apps.app.reports.lead-generation.custom-bots.completed';\n}\n","import Route from '@ember/routing/route';\n\nexport default class CustomBotsEngagedRoute extends Route {\n  parentRoute = 'apps.app.reports.operator.custom-bots';\n  templateName = 'apps.app.reports.lead-generation.custom-bots.engaged';\n  controllerName = 'apps.app.reports.lead-generation.custom-bots.engaged';\n}\n","import Route from '@ember/routing/route';\n\nexport default class CustomBotsSentRoute extends Route {\n  parentRoute = 'apps.app.reports.operator.custom-bots';\n  templateName = 'apps.app.reports.lead-generation.custom-bots.sent';\n  controllerName = 'apps.app.reports.lead-generation.custom-bots.sent';\n}\n","import CustomerSupportReolutionBotRoute from 'embercom/routes/apps/app/reports/customer-support/resolution-bot';\n\nexport default CustomerSupportReolutionBotRoute.extend({\n  controllerName: 'apps.app.reports.customer-support.resolution-bot',\n  templateName: 'apps.app.reports.customer-support.resolution-bot',\n\n  beforeModel() {\n    let app = this.modelFor('apps.app');\n    if (app.get('canUseNewReportingIa')) {\n      return this.transitionTo('apps.app.reports.customer-support.resolution-bot');\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport ReportBase from 'embercom/routes/apps/app/reports/base/report';\nimport { hash } from 'rsvp';\n\nexport default ReportBase.extend({\n  analytics: {\n    place: 'overview',\n  },\n  titleToken: 'Overview',\n\n  reportName: 'overview_report',\n\n  appService: service(),\n  app: readOnly('appService.app'),\n  instrumentationDelay: 3000,\n\n  async model() {\n    return hash({\n      settings: this.store\n        .queryRecord('reporting/settings', {})\n        .then(settings => ({ reportingExcludeOooHours: settings.excludeOooHours })),\n    });\n  },\n});\n","define(\"embercom/routes/apps/app/resolve-redirect\", [\"exports\", \"embercom/routes/apps/app/resolve-wildcard-redirect\"], function (_exports, _resolveWildcardRedirect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _resolveWildcardRedirect.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  beforeModel(transition) {\n    let correctedUrl = transition.intent.url.replace('resolve', 'inbox');\n\n    this.replaceWith(correctedUrl);\n  },\n});\n","define(\"embercom/routes/apps/app/respond-redirect\", [\"exports\", \"embercom/routes/apps/app/respond-wildcard-redirect\"], function (_exports, _respondWildcardRedirect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _respondWildcardRedirect.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  beforeModel(transition) {\n    let correctedUrl = transition.intent.url.replace('respond', 'inbox');\n\n    this.replaceWith(correctedUrl);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  analytics: {\n    section: 'settings',\n  },\n});\n","import SdkBaseRoute from 'embercom/routes/apps/app/settings/base/sdk-base-route';\n\nexport default SdkBaseRoute.extend({\n  analytics: {\n    section: 'settings',\n    place: 'android',\n  },\n  titleToken: 'Android',\n});\n","import ProductSettingsRoute from 'embercom/routes/apps/app/settings/base/product-settings-route';\n\nexport default ProductSettingsRoute.extend({\n  beforeModel() {\n    this._super(...arguments);\n\n    this.replaceWith('apps.app.messenger', { queryParams: { section: 'lookAndFeel' } });\n  },\n});\n","import { inject as service } from '@ember/service';\nimport WorkspaceSettingsRoute from 'embercom/routes/apps/app/settings/base/workspace-settings-route';\n\nexport default class AttachmentSettings extends WorkspaceSettingsRoute {\n  @service appService;\n\n  analytics = {\n    section: 'settings',\n    place: 'attachment_settings',\n  };\n  titleToken = 'Attachment Settings';\n\n  model() {\n    return this.store.findRecord('attachment-settings', this.appService.app.id);\n  }\n}\n","import ProductSettingsRoute from 'embercom/routes/apps/app/settings/base/product-settings-route';\nimport { inject as service } from '@ember/service';\n\nexport default ProductSettingsRoute.extend({\n  store: service(),\n  model() {\n    let app = this.modelFor('apps/app');\n    return this.store.findRecord('data-attribute-settings', app.id);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  setupController(controller, model) {\n    this._super(...arguments);\n    controller.set('titleToken', this.titleToken);\n  },\n\n  renderTemplate() {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: this.routeName,\n    });\n    this._super(...arguments);\n  },\n});\n","import { inject as service } from '@ember/service';\nimport SettingsRoute from 'embercom/routes/apps/app/settings/base/base-settings-route';\n\nexport default SettingsRoute.extend({\n  intercomEventService: service(),\n  beforeModel(transition) {\n    this._super(...arguments);\n    this.permissionsService.ensurePermissionWhenTransitioning(\n      'can_access_billing_settings',\n      transition,\n    );\n  },\n});\n","import SettingsRoute from 'embercom/routes/apps/app/settings/base/base-settings-route';\n\nexport default class ManageMessagesSettingsRoute extends SettingsRoute {\n  beforeModel(transition) {\n    return this.permissionsService.ensurePermissionWhenTransitioning(\n      'can_manage_messages_settings',\n      transition,\n    );\n  }\n}\n","import SettingsRoute from 'embercom/routes/apps/app/settings/base/base-settings-route';\n\nexport default class ManageTeammatesRoute extends SettingsRoute {\n  beforeModel(transition) {\n    super.beforeModel(...arguments);\n    return this.permissionsService.ensurePermissionWhenTransitioning(\n      'can_manage_teammates',\n      transition,\n    );\n  }\n}\n","import { inject as service } from '@ember/service';\nimport SettingsRoute from 'embercom/routes/apps/app/settings/base/base-settings-route';\n\nexport default SettingsRoute.extend({\n  intercomEventService: service(),\n  beforeModel(transition) {\n    this._super(...arguments);\n    this.permissionsService.ensurePermissionWhenTransitioning(\n      'can_access_product_settings',\n      transition,\n    );\n  },\n});\n","import ManageTeammatesRoute from 'embercom/routes/apps/app/settings/base/manage-teammates-route';\nimport { inject as service } from '@ember/service';\n\nexport default class RolesSettingsRoute extends ManageTeammatesRoute {\n  @service appService;\n\n  beforeModel(transition) {\n    super.beforeModel(...arguments);\n    if (!this.appService.app.canUseRoles) {\n      this.permissionsService.cancelTransition(transition, 'apps.app.settings');\n    }\n  }\n}\n","import ProductSettingsRoute from 'embercom/routes/apps/app/settings/base/product-settings-route';\nimport SdkApp from 'embercom/models/sdk-app';\n\nexport default ProductSettingsRoute.extend({\n  setupController(controller, model) {\n    this._super(...arguments);\n    controller.set('titleToken', this.titleToken);\n    controller.set('apiKey', model.api_key);\n  },\n\n  model() {\n    return SdkApp.findOrCreateForPlatform(this.titleToken);\n  },\n});\n","import { inject as service } from '@ember/service';\nimport SettingsRoute from 'embercom/routes/apps/app/settings/base/base-settings-route';\n\nexport default SettingsRoute.extend({\n  intercomEventService: service(),\n  beforeModel(transition) {\n    this._super(...arguments);\n    this.permissionsService.ensurePermissionWhenTransitioning(\n      'can_access_workspace_settings',\n      transition,\n    );\n  },\n});\n","import ProductSettingsRoute from 'embercom/routes/apps/app/settings/base/product-settings-route';\n\nexport default ProductSettingsRoute.extend({\n  analytics: {\n    section: 'settings',\n    place: 'blocked_users',\n  },\n  titleToken: 'Blocked people',\n});\n","import AttributeSettingsBase from 'embercom/routes/apps/app/settings/base/attribute-settings-base';\n\nexport default AttributeSettingsBase.extend({\n  analytics: {\n    section: 'settings',\n    place: 'company_data',\n  },\n  titleToken: 'Company data',\n});\n","import ProductSettingsRoute from 'embercom/routes/apps/app/settings/base/product-settings-route';\n\nexport default ProductSettingsRoute.extend({\n  analytics: {\n    section: 'settings',\n    place: 'company_segments',\n  },\n  titleToken: 'Company segments',\n});\n","import { hash } from 'rsvp';\nimport BaseSettingsRoute from 'embercom/routes/apps/app/settings/base/base-settings-route';\nimport { inject as service } from '@ember/service';\n\nexport default class ConversationData extends BaseSettingsRoute {\n  @service intercomEventService;\n  @service appService;\n  @service modalService;\n\n  titleToken = 'Conversation data';\n\n  permissionService;\n\n  beforeModel(transition) {\n    super.beforeModel(transition);\n    let permission = 'can_access_product_settings';\n    this.permissionsService.ensurePermissionWhenTransitioning(permission, transition);\n  }\n\n  model() {\n    let app = this.modelFor('apps.app');\n\n    return hash({\n      app,\n      conversationAttributeDescriptors: this.store.findAll('conversation-attributes/descriptor'),\n    });\n  }\n}\n","import ProductSettingsRoute from 'embercom/routes/apps/app/settings/base/product-settings-route';\n\nexport default ProductSettingsRoute.extend({\n  analytics: {\n    section: 'settings',\n    place: 'delete_user',\n  },\n  titleToken: 'Deleting people data',\n});\n","import ManageMessagesSettingsRoute from 'embercom/routes/apps/app/settings/base/manage-messages-settings-route';\n\nexport default ManageMessagesSettingsRoute.extend({\n  analytics: {\n    section: 'settings',\n    place: 'inbound_email_addresses',\n  },\n  titleToken: 'Email forwarding',\n});\n","import ManageMessagesSettingsRoute from 'embercom/routes/apps/app/settings/base/manage-messages-settings-route';\n\nexport default class EmailTemplatesRoute extends ManageMessagesSettingsRoute {\n  analytics = {\n    section: 'settings',\n    place: 'email_templates',\n  };\n  titleToken = 'Email templates';\n\n  model() {\n    return this.modelFor('apps.app').get('email_templates');\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  setupController(controller, model) {\n    this._super(...arguments);\n    controller.set('titleToken', this.titleToken);\n  },\n  titleToken: 'Edit custom email template',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport { resolve } from 'rsvp';\nimport { inject as service } from '@ember/service';\nimport ManageMessagesSettingsRoute from 'embercom/routes/apps/app/settings/base/manage-messages-settings-route';\n\nexport default ManageMessagesSettingsRoute.extend({\n  notificationsService: service(),\n  titleToken: 'Edit custom template',\n  model(params) {\n    return this.store.findRecord('email-template', params.id).then(resolve, () => {\n      this.notificationsService.notifyError(\"We couldn't find that email template\");\n      this.transitionTo('apps.app.settings.email-templates.email-templates');\n    });\n  },\n  setupController(controller, model) {\n    this._super(controller, model);\n    controller.setupEventListeners();\n  },\n  resetController(controller, isExiting) {\n    if (isExiting) {\n      controller.teardownEventListeners();\n    }\n  },\n  actions: {\n    willTransition(transition) {\n      if (this.controller.get('template.isDirtyIgnoringWhitespace')) {\n        this.controller.showDiscardChangeWarning(transition);\n        transition.abort();\n      }\n    },\n  },\n});\n","import ManageMessagesSettingsRoute from 'embercom/routes/apps/app/settings/base/manage-messages-settings-route';\n\nexport default ManageMessagesSettingsRoute.extend({\n  titleToken: 'Email templates',\n  model() {\n    let app = this.modelFor('apps.app');\n    return this.store.findRecord('email-templates-settings', app.get('id'));\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { post } from 'embercom/lib/ajax';\n\nexport default Route.extend({\n  notificationsService: service(),\n  createTemplate(transition) {\n    let templateId = transition.to.queryParams['templateId'];\n    let app = this.modelFor('apps.app');\n\n    post('/ember/email_templates', { template_id: templateId, app_id: app.id }).then(\n      template => {\n        this.store.pushPayload('email-template', template);\n        transition.abort();\n        return this.replaceWith('apps.app.settings.email-templates.edit-template', template.id);\n      },\n      error => {\n        transition.abort();\n        this.notificationsService.notifyResponseError(error, {\n          default: \"Something went wrong and we couldn't create your new the template\",\n        });\n        return this.replaceWith('apps.app.settings.email-templates');\n      },\n    );\n  },\n\n  beforeModel(transition) {\n    this._super(...arguments);\n    this.createTemplate(transition);\n  },\n});\n","import { hash } from 'rsvp';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport ProductSettingsRoute from 'embercom/routes/apps/app/settings/base/product-settings-route';\n\nexport default ProductSettingsRoute.extend({\n  intercomEventService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  analytics: {\n    section: 'settings',\n    place: 'events',\n  },\n\n  titleToken: 'Events',\n\n  model() {\n    return hash({\n      eventSettings: this.store.findRecord('event-settings', this.get('app.id')),\n      eventTrackers: this.store.findAll('event-tracker'),\n      pingDomains: this.store.query('ping-domain', { ignore_anonymous: false }),\n    });\n  },\n\n  setupController(controller, models) {\n    this._super(controller, models);\n    controller.setProperties(models);\n\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: this.routeName,\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport IntercomTimezoneOptions from 'embercom/lib/intercom-timezone-options';\nimport WorkspaceSettingsRoute from 'embercom/routes/apps/app/settings/base/workspace-settings-route';\nimport { inject as service } from '@ember/service';\n\nexport default WorkspaceSettingsRoute.extend({\n  analytics: {\n    section: 'settings',\n    place: 'general',\n  },\n  titleToken: 'General settings',\n  customerService: service(),\n  activate() {\n    window.onbeforeunload = function() {\n      if (this.controller && this.controller.get('model.hasDirtyAttributes')) {\n        return 'Warning: You have unsaved changes.';\n      }\n    }.bind(this);\n  },\n  hasAlreadyCancelled: false,\n  deactivate() {\n    this.set('hasAlreadyCancelled', false);\n    window.onbeforeunload = undefined;\n  },\n  beforeModel(transition) {\n    this._super(...arguments);\n    return this.customerService.loadData({\n      fetchPrices: false,\n    });\n  },\n  model() {\n    let app = this.modelFor('apps/app');\n    return this.store.findRecord('general-app-settings', app.get('id'));\n  },\n  setupController(controller, model) {\n    this._super(...arguments);\n    let timezoneName = model.get('time_zone_name');\n    let customTimezoneRequired = typeof timezoneName === 'string' && timezoneName.length > 0;\n    for (let i = 0, l = IntercomTimezoneOptions.length; i < l; i++) {\n      if (IntercomTimezoneOptions[i].name === timezoneName) {\n        controller.set('selectedTimezone', IntercomTimezoneOptions[i]);\n        customTimezoneRequired = false;\n        break;\n      }\n    }\n    if (customTimezoneRequired) {\n      controller.set('useCustomTimezone', true);\n      controller.set('customTimezoneName', timezoneName);\n      controller.set('selectedTimezone', {\n        name: timezoneName,\n        description: timezoneName,\n      });\n    }\n  },\n  actions: {\n    willTransition(transition) {\n      if (this.hasAlreadyCancelled) {\n        transition.abort();\n        this.set('hasAlreadyCancelled', false);\n      } else if (\n        this.controller.get('model.hasDirtyAttributes') &&\n        !window.confirm('Warning: You have unsaved changes. Leave page?')\n      ) {\n        this.set('hasAlreadyCancelled', true);\n        transition.abort();\n      } else {\n        return true;\n      }\n    },\n  },\n});\n","import { hash } from 'rsvp';\nimport IdentityVerificationBasePlatform from 'embercom/routes/apps/app/settings/identity-verification/identity-verification-base-platform';\n\nexport default IdentityVerificationBasePlatform.extend({\n  analytics: {\n    section: 'settings',\n    place: 'identity_verification_android',\n  },\n  platform: 'Android',\n\n  model() {\n    return hash({\n      sdk_apps: this.store.findAll('sdk-app'),\n      userSources: this.userSources,\n    });\n  },\n\n  afterModel(model) {\n    this.set('app.sdkApps', model.sdk_apps);\n  },\n});\n","import { computed } from '@ember/object';\nimport WorkspaceSettingsRoute from 'embercom/routes/apps/app/settings/base/workspace-settings-route';\nimport { inject as service } from '@ember/service';\n\nexport default WorkspaceSettingsRoute.extend({\n  store: service(),\n\n  titleToken: computed('platform', function() {\n    return `Identity verification of ${this.platform} users`;\n  }),\n\n  app: computed(function() {\n    return this.modelFor('apps.app');\n  }),\n\n  userSources: computed(function() {\n    return this.store.findAll('user-source');\n  }),\n});\n","import { inject as service } from '@ember/service';\nimport WorkspaceSettingsRoute from 'embercom/routes/apps/app/settings/base/workspace-settings-route';\n\nexport default WorkspaceSettingsRoute.extend({\n  titleToken: 'Identity verification',\n  appService: service(),\n\n  beforeModel() {\n    this.replaceWith('apps.app.settings.security');\n  },\n});\n","import { hash } from 'rsvp';\nimport IdentityVerificationBasePlatform from 'embercom/routes/apps/app/settings/identity-verification/identity-verification-base-platform';\n\nexport default IdentityVerificationBasePlatform.extend({\n  analytics: {\n    section: 'settings',\n    place: 'identity_verification_ios',\n  },\n  platform: 'iOS',\n\n  model() {\n    return hash({\n      sdk_apps: this.store.findAll('sdk-app'),\n      userSources: this.userSources,\n    });\n  },\n\n  afterModel(model) {\n    this.set('app.sdkApps', model.sdk_apps);\n  },\n});\n","import { hash } from 'rsvp';\nimport IdentityVerificationBasePlatform from 'embercom/routes/apps/app/settings/identity-verification/identity-verification-base-platform';\n\nexport default IdentityVerificationBasePlatform.extend({\n  analytics: {\n    section: 'settings',\n    place: 'identity_verification_web',\n  },\n  platform: 'web',\n\n  model() {\n    return hash({\n      identityVerificationSettings: this.store.queryRecord('identity-verification-settings', {}),\n      pingDomains: this.store.query('ping-domain', { ignore_anonymous: true }),\n      userSources: this.userSources,\n      api_secret: this.get('app.fetchAPISecret').perform(),\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport { hash } from 'rsvp';\nimport ProductSettingsRoute from 'embercom/routes/apps/app/settings/base/product-settings-route';\n\nexport default ProductSettingsRoute.extend({\n  analytics: {\n    section: 'settings',\n    place: 'imports',\n  },\n  titleToken: 'Import history',\n\n  model() {\n    let controller = this.controllerFor('apps/app/settings/imports');\n    return hash({\n      csvImports: this.store.query('csv-import', { page: 1 }).then(csvImports => {\n        controller.set('hasMoreCsvImports', csvImports.meta.pages_left);\n        return this.store.peekAll('csv-import');\n      }),\n      mailchimpImports: this.store.query('mailchimp-import', { page: 1 }).then(mailchimpImports => {\n        controller.set('hasMoreMailchimpImports', mailchimpImports.meta.pages_left);\n        return this.store.peekAll('mailchimp-import');\n      }),\n      mixpanelImports: this.store.query('mixpanel-import', { page: 1 }).then(mixpanelImports => {\n        controller.set('hasMoreMixpanelImports', mixpanelImports.meta.pages_left);\n        return this.store.peekAll('mixpanel-import');\n      }),\n    });\n  },\n});\n","import Route from '@ember/routing/route';\n\nexport default class SettingsIndexRoute extends Route {\n  DEFAULT_ROUTE = 'apps.app.settings.general';\n\n  beforeModel(transition) {\n    if (transition.targetName === 'apps.app.settings.index') {\n      let replacementRoute =\n        this.permissionsService.getFirstAccessibleSettingsRoute() || this.DEFAULT_ROUTE;\n\n      this.replaceWith(replacementRoute);\n    }\n  }\n}\n","import SdkBaseRoute from 'embercom/routes/apps/app/settings/base/sdk-base-route';\n\nexport default SdkBaseRoute.extend({\n  analytics: {\n    section: 'settings',\n    place: 'ios',\n  },\n  titleToken: 'iOS',\n});\n","import { tryInvoke } from '@ember/utils';\nimport AppAdminEventsQuery from 'embercom/lib/admins/app-admin-events-query';\nimport ManageTeammatesRoute from 'embercom/routes/apps/app/settings/base/manage-teammates-route';\n\nexport default ManageTeammatesRoute.extend({\n  titleToken: 'Teammate activity logs',\n  analytics: {\n    section: 'settings',\n    place: 'logs',\n  },\n  model() {\n    let app = this.modelFor('apps/app');\n    return AppAdminEventsQuery.create({ appId: app.get('id'), content: [] });\n  },\n  setupController(controller, query) {\n    this._super(...arguments);\n    tryInvoke(controller, 'afterSetup');\n  },\n});\n","import { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport ManageMessagesSettingsRoute from 'embercom/routes/apps/app/settings/base/manage-messages-settings-route';\n\nexport default ManageMessagesSettingsRoute.extend({\n  analytics: {\n    section: 'settings',\n    place: 'messaging',\n  },\n  appService: service(),\n  app: readOnly('appService.app'),\n  titleToken: 'Message settings',\n  model() {\n    return this.store.findRecord('messaging-settings', this.get('app.id'));\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  beforeModel() {\n    this._super(...arguments);\n\n    this.replaceWith('apps.app.messenger');\n  },\n});\n","import ProductSettingsRoute from 'embercom/routes/apps/app/settings/base/product-settings-route';\n\nexport default ProductSettingsRoute.extend({\n  titleToken: 'Office hours',\n\n  model() {\n    return this.store.findAll('office-hours-schedule', { reload: true });\n  },\n\n  setupController(controller, model) {\n    this._super(...arguments);\n    model.forEach(schedule => schedule.setIntervalGroups());\n    controller.setProperties({\n      app: this.modelFor('apps/app'),\n    });\n  },\n});\n","import AttributeSettingsBase from 'embercom/routes/apps/app/settings/base/attribute-settings-base';\n\nlet PeopleDataSettingsRoute = AttributeSettingsBase.extend({\n  analytics: {\n    section: 'settings',\n    place: 'people_data',\n  },\n  titleToken: 'People data',\n});\n\nexport default PeopleDataSettingsRoute;\n","import ProductSettingsRoute from 'embercom/routes/apps/app/settings/base/product-settings-route';\n\nexport default ProductSettingsRoute.extend({\n  analytics: {\n    section: 'settings',\n    place: 'people_segments',\n  },\n  titleToken: 'People segments',\n});\n","import AttributeSettingsBase from 'embercom/routes/apps/app/settings/base/attribute-settings-base';\n\nlet QualificationAttributeRoute = AttributeSettingsBase.extend({\n  analytics: {\n    section: 'settings',\n    place: 'qualification_settings',\n  },\n  titleToken: 'Qualification settings',\n  model() {\n    return this.store.findAll('people/qualification-attribute');\n  },\n  setupController(controller, model) {\n    this._super(controller, model);\n    controller.set('initialSelectedIdentifiers', model.mapBy('identifier'));\n  },\n});\n\nexport default QualificationAttributeRoute;\n","import RolesSettingsRoute from 'embercom/routes/apps/app/settings/base/roles-settings-route';\nimport { action } from '@ember/object';\nimport { intercomPromiseConfirm as confirm } from 'embercom/lib/intercom-confirm';\n\nexport default class extends RolesSettingsRoute {\n  titleToken = 'Edit role';\n\n  model(params) {\n    return this.store.findRecord('role', params.role_id);\n  }\n\n  @action\n  async saveChanges() {\n    try {\n      await this.currentModel.save();\n      this.transitionTo('apps.app.settings.roles.index');\n    } catch (error) {\n      let message =\n        error.jqXHR?.responseJSON?.errors || \"The role couldn't be saved, please try again later.\";\n      this.notificationsService.notifyError(message);\n    }\n  }\n\n  @action\n  async delete() {\n    if (\n      await confirm(this, {\n        title: 'Remove role',\n        body: 'This action can’t be undone.',\n        primaryButtonType: 'primary-destructive',\n        confirmButtonText: 'Remove',\n      })\n    ) {\n      try {\n        await this.currentModel.destroyRecord();\n        this.transitionTo('apps.app.settings.roles.index');\n      } catch (_) {\n        let message = \"The role couldn't be deleted, please try again later.\";\n        this.notificationsService.notifyError(message);\n      }\n    }\n  }\n\n  @action\n  async willTransition(transition) {\n    if (this.currentModel.hasDirtyAttributes) {\n      transition.abort();\n\n      if (\n        await confirm(this, {\n          title: 'Close without saving?',\n          primaryButtonType: 'primary-destructive',\n          confirmButtonText: 'Close without saving',\n          cancelButtonText: 'Keep editing',\n          body: \"You'll lose your changes if you don't save first.\",\n        })\n      ) {\n        this.currentModel.rollbackAttributes();\n        await transition.retry();\n      }\n    }\n  }\n}\n","import RolesSettingsRoute from 'embercom/routes/apps/app/settings/base/roles-settings-route';\n\nexport default class extends RolesSettingsRoute {\n  titleToken = 'Roles';\n\n  beforeModel(transition) {\n    super.beforeModel(...arguments);\n    if (!transition.isAborted) {\n      return this.store.findAll('permission');\n    }\n  }\n\n  model() {\n    return this.store.findAll('role');\n  }\n}\n","import RolesSettingsRoute from 'embercom/routes/apps/app/settings/base/roles-settings-route';\nimport { action } from '@ember/object';\nimport { intercomPromiseConfirm as confirm } from 'embercom/lib/intercom-confirm';\n\nexport default class extends RolesSettingsRoute {\n  titleToken = 'Edit role';\n\n  model() {\n    return this.store.createRecord('role');\n  }\n\n  @action\n  async save() {\n    try {\n      await this.currentModel.save();\n      this.transitionTo('apps.app.settings.roles.index');\n    } catch (error) {\n      let message =\n        error.jqXHR?.responseJSON?.errors || \"The role couldn't be saved, please try again later.\";\n      this.notificationsService.notifyError(message);\n    }\n  }\n\n  get currentModelIsDirty() {\n    // we can't use .hasDirtyAttributes because that's always true for Ember Data models where .isNew is true\n    return Object.keys(this.currentModel.changedAttributes()).length > 0;\n  }\n\n  @action\n  async willTransition(transition) {\n    if (this.currentModelIsDirty) {\n      transition.abort();\n\n      if (\n        await confirm(this, {\n          title: 'Close without saving?',\n          primaryButtonType: 'primary-destructive',\n          confirmButtonText: 'Close without saving',\n          cancelButtonText: 'Keep editing',\n          body: \"You'll lose your changes if you don't save first.\",\n        })\n      ) {\n        this.currentModel.unloadRecord();\n        await transition.retry();\n      }\n    } else {\n      // unload so it doesn't appear in the index if you click the back button\n      this.currentModel.unloadRecord();\n    }\n  }\n}\n","import { hash } from 'rsvp';\nimport { action } from '@ember/object';\nimport BaseSettingsRoute from 'embercom/routes/apps/app/settings/base/base-settings-route';\nimport { inject as service } from '@ember/service';\n\nexport default class SavedReplies extends BaseSettingsRoute {\n  @service intercomEventService;\n  @service appService;\n\n  titleToken = 'Saved replies';\n\n  permissionService;\n\n  beforeModel(transition) {\n    super.beforeModel(transition);\n\n    let permission = this.appService.app?.canUseCreateSavedReplyModal\n      ? 'can_manage_saved_replies'\n      : 'can_access_product_settings';\n\n    this.permissionsService.ensurePermissionWhenTransitioning(permission, transition);\n  }\n\n  @action\n  willTransition(transition) {\n    if (\n      this.controller.hasUnsavedChanges &&\n      !confirm('Warning: You have unsaved changes. Do you want to leave the page?')\n    ) {\n      transition.abort();\n    }\n  }\n\n  model() {\n    let app = this.modelFor('apps.app');\n\n    return hash({\n      app,\n      savedReplies: app.savedReplies,\n    });\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport { hash } from 'rsvp';\nimport WorkspaceSettingsRoute from 'embercom/routes/apps/app/settings/base/workspace-settings-route';\n\nexport default WorkspaceSettingsRoute.extend({\n  analytics: {\n    section: 'settings',\n    place: 'security',\n  },\n  titleToken: 'Security settings',\n  activate() {\n    window.onbeforeunload = function() {\n      if (this.controller && this.controller.get('isDirty')) {\n        return 'Warning: You have unsaved changes.';\n      }\n    }.bind(this);\n  },\n  hasAlreadyCancelled: false,\n  deactivate() {\n    this.set('hasAlreadyCancelled', false);\n    window.onbeforeunload = undefined;\n  },\n  model() {\n    let { id } = this.modelFor('apps/app');\n\n    return hash({\n      pingDomains: this.store.query('ping-domain', { ignore_anonymous: true }),\n      settings: this.store.findRecord('security-app-settings', id),\n    });\n  },\n  actions: {\n    willTransition(transition) {\n      if (this.hasAlreadyCancelled) {\n        transition.abort();\n        this.set('hasAlreadyCancelled', false);\n      } else if (\n        this.controller.get('isDirty') &&\n        !window.confirm('Warning: You have unsaved changes. Leave page?')\n      ) {\n        this.set('hasAlreadyCancelled', true);\n        transition.abort();\n      } else {\n        return true;\n      }\n    },\n  },\n});\n","import { isPresent } from '@ember/utils';\nimport ENV from 'embercom/config/environment';\nimport { inject as service } from '@ember/service';\nimport ManageMessagesSettingsRoute from 'embercom/routes/apps/app/settings/base/manage-messages-settings-route';\n\nexport default class SendersRoute extends ManageMessagesSettingsRoute {\n  @service appService;\n\n  analytics = {\n    section: 'settings',\n    place: 'senders',\n  };\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get titleToken() {\n    return 'Addresses & domains';\n  }\n\n  async beforeModel(transition) {\n    await super.beforeModel(transition);\n\n    this._notifyConfirmationForQueryParams(transition.to.queryParams);\n  }\n\n  _notifyConfirmationForQueryParams(queryParams) {\n    if (isPresent(queryParams) && isPresent(queryParams['verifiedCustomEmail'])) {\n      this.notificationsService.notifyConfirmation(\n        `${queryParams['verifiedCustomEmail']} has been verified.`,\n        ENV.APP._15000MS,\n      );\n      delete queryParams['verifiedCustomEmail'];\n      this.replaceWith('apps.app.settings.senders', this.appService.app, { queryParams });\n    }\n  }\n}\n","import ProductSettingsRoute from 'embercom/routes/apps/app/settings/base/product-settings-route';\nimport RSVP from 'rsvp';\n\nexport default ProductSettingsRoute.extend({\n  analytics: {\n    section: 'settings',\n    place: 'slas',\n  },\n  titleToken: 'SLAs',\n  beforeModel(transition) {\n    this._super(...arguments);\n    let app = this.modelFor('apps.app');\n    if (!app.get('canUseInboxSlas')) {\n      this.transitionTo('apps.app.settings.general');\n    }\n  },\n\n  model() {\n    return RSVP.hash({\n      officeHoursSchedules: this.store.findAll('office-hours-schedule'),\n      slas: this.store.findAll('inbox/conversation-sla'),\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { Promise as EmberPromise } from 'rsvp';\nimport { A } from '@ember/array';\nimport ProductSettingsRoute from 'embercom/routes/apps/app/settings/base/product-settings-route';\n\nexport default ProductSettingsRoute.extend({\n  analytics: {\n    section: 'settings',\n    place: 'spam_messages',\n  },\n  titleToken: 'Spam',\n  model() {\n    return this.getSpamMessages();\n  },\n  getSpamMessages(page) {\n    let params = {\n      page,\n      per_page: 20,\n    };\n    return this.store.query('spam-message', params).then(response => {\n      // turn the immutable query response into something we can append to\n      // for infinite scrolling\n      let spamMessages = A(response.toArray());\n      spamMessages.meta = response.meta;\n      return spamMessages;\n    });\n  },\n  actions: {\n    loadNextPage() {\n      let nextPage = this.get('currentModel.meta.next_page');\n      if (!nextPage) {\n        return EmberPromise.resolve([]);\n      }\n      return this.getSpamMessages(nextPage).then(spamMessages => {\n        this.currentModel.pushObjects(spamMessages);\n        this.currentModel.setProperties({\n          meta: spamMessages.meta,\n        });\n        return spamMessages;\n      });\n    },\n  },\n});\n","import { inject as service } from '@ember/service';\nimport SettingsRoute from 'embercom/routes/apps/app/settings/base/base-settings-route';\n\nexport default SettingsRoute.extend({\n  titleToken: 'Tags',\n\n  modelDataCacheService: service(),\n\n  analytics: {\n    place: 'tag_settings',\n    location: 'tags',\n    owner: 'inbox',\n  },\n\n  beforeModel(transition) {\n    this._super(...arguments);\n    let app = this.modelFor('apps/app');\n    if (app.canUseTagManagement) {\n      this.permissionsService.ensurePermissionWhenTransitioning('can_manage_tags', transition);\n    } else {\n      this.permissionsService.ensurePermissionWhenTransitioning(\n        'can_access_product_settings',\n        transition,\n      );\n    }\n    if (!app.canUseNewTagSettings) {\n      this.transitionTo('apps.app.settings.tags');\n    }\n  },\n\n  async model() {\n    let app = this.modelFor('apps/app');\n    // Query ensures that deleted tags are not included. findAll does not purge objects deleted remotely.\n    let tags = await this.store.query('tag', {});\n\n    let existingTagIds = app.tags.map(tag => tag.id);\n    let newTags = tags.filter(tag => existingTagIds.indexOf(tag.id) === -1);\n\n    let newTagIds = tags.map(tag => tag.id);\n    let deletedTags = app.tags.filter(tag => newTagIds.indexOf(tag.id) === -1);\n\n    app.tags.removeObjects(deletedTags);\n    app.tags.pushObjects(newTags);\n\n    app.updateLocalCache(this.modelDataCacheService);\n\n    return tags;\n  },\n});\n","import SettingsRoute from 'embercom/routes/apps/app/settings/base/base-settings-route';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\n\nexport default SettingsRoute.extend({\n  analytics: {\n    section: 'settings',\n    place: 'tags',\n  },\n  appService: service(),\n  app: readOnly('appService.app'),\n  titleToken: computed('model', 'app.canUseContentOrientedNavigation', function() {\n    if (this.get('app.canUseContentOrientedNavigation')) {\n      return 'People, company and message tags';\n    } else {\n      return 'People and company tags';\n    }\n  }),\n\n  beforeModel(transition) {\n    this._super(...arguments);\n    if (this.app.canUseNewTagSettings) {\n      this.transitionTo('apps.app.settings.tags-new');\n    }\n    if (!this.app.canUseTagManagement) {\n      this.permissionsService.ensurePermissionWhenTransitioning(\n        'can_access_product_settings',\n        transition,\n      );\n    }\n  },\n});\n","import { inject as service } from '@ember/service';\n\nimport ManageTeammatesRoute from 'embercom/routes/apps/app/settings/base/manage-teammates-route';\n\nconst MIGRATION_MODAL_PAGEVIEW_KEY = 'inbox-ppp-migration-modal';\n\nexport { MIGRATION_MODAL_PAGEVIEW_KEY };\n\nexport default class TeammatesRoute extends ManageTeammatesRoute {\n  @service customerService;\n\n  async beforeModel() {\n    await super.beforeModel(...arguments);\n    if (!this.customerService.customer) {\n      this.customerService.loadData({ fetchPrices: false });\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { hash } from 'rsvp';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport ManageTeammatesRoute from 'embercom/routes/apps/app/settings/base/manage-teammates-route';\nimport { adminHasSeen } from 'embercom/lib/admin-view-tracking';\n\nconst MIGRATION_MODAL_PAGEVIEW_KEY = 'inbox-ppp-migration-modal';\n\nexport { MIGRATION_MODAL_PAGEVIEW_KEY };\n\nexport default class IndexRoute extends ManageTeammatesRoute {\n  @service modelDataCacheService;\n  @service customerService;\n  @service permissionsMutatorService;\n  @service appService;\n\n  analytics = {\n    section: 'settings',\n    place: 'teammates',\n  };\n\n  titleToken = 'Teammates';\n\n  async beforeModel() {\n    await super.beforeModel(...arguments);\n    // We wait for the app to refresh in the cache to prevent an edge case where booting directly\n    // to the teammates page would cause the refesh to clobber the data loaded in the model hook here.\n    return this.modelDataCacheService.awaitRefreshedModel('app', this.get('app.id'));\n  }\n\n  _getFirstActivePricePlan() {\n    let migrationPricePlans = this.get('customerService.migrationPrices');\n    let activePlanIds = this.get('customerService.activePlanIds');\n    return migrationPricePlans.find(price => price.hasSamePlans(activePlanIds));\n  }\n\n  _getPricePerInboxSeatPromise() {\n    let fallbackPrice = 0;\n    let pricePerInboxSeat = this.get('app.customer.pricePerSeat');\n    if (pricePerInboxSeat) {\n      return Promise.resolve(pricePerInboxSeat);\n    }\n    let context = this;\n    return this.customerService\n      .loadData({ fetchMigrationInformation: true })\n      .then(() => {\n        let pricePlan = context._getFirstActivePricePlan();\n        if (pricePlan === undefined) {\n          pricePlan = context.get('customerService.migrationPrices.firstObject');\n        }\n        return pricePlan ? pricePlan.get('perProductData.price_per_agent') : fallbackPrice;\n      })\n      .catch(() => {\n        return fallbackPrice;\n      });\n  }\n\n  _getInvitedAdminsPromise() {\n    return this.appService.app.fetchAndUpdateAllAdminPermissions().then(() =>\n      this.store.findAll('invited-admin').catch(() => {\n        this.notificationsService.notifyError(\n          \"Hmm, we couldn't get the invited admins. Please try again\",\n        );\n      }),\n    );\n  }\n\n  _getInviteLinksPromise() {\n    return this.store\n      .query('invite', { type: 'onboarding_home_step' })\n      .then(inviteLinks => inviteLinks.sortBy('createdAt').reverse());\n  }\n\n  model() {\n    let app = this.appService.app;\n    if (app.get('is_test_app')) {\n      return { invitedAdmins: [], inviteLinks: [] };\n    }\n    let promises = {\n      inviteLinks: this._getInviteLinksPromise(),\n      invitedAdmins: this._getInvitedAdminsPromise(),\n      pricePerInboxSeat: this._getPricePerInboxSeatPromise(),\n    };\n\n    if (app.get('canSeePerProductPricingChanges')) {\n      promises.hasSeenMigrationModal = adminHasSeen(this.store, MIGRATION_MODAL_PAGEVIEW_KEY);\n      promises.migrationState = this.store\n        .findRecord('inbox/pricing-migration/migration-state', app.get('id'))\n        .catch(() => {\n          return this.store.createRecord('inbox/pricing-migration/migration-state');\n        });\n    }\n\n    if (app.canUseRoles) {\n      promises.roles = this.store.findAll('role');\n    }\n\n    return hash(promises);\n  }\n\n  afterModel() {\n    this.customerService.refreshCustomer();\n  }\n\n  setupController(controller, model) {\n    super.setupController(...arguments);\n    let app = this.appService.app;\n    let admins = app.get('humanAdmins');\n    this.customerService.set('pricePerInboxSeat', model.pricePerInboxSeat);\n    controller.setProperties({\n      model: admins,\n      invitedAdmins: model.invitedAdmins,\n      inviteLinks: model.inviteLinks,\n      migrationState: model.migrationState,\n      hasDismissedMigrationModal: model.hasSeenMigrationModal,\n    });\n    this.permissionsMutatorService.set('invitedAdmins', model.invitedAdmins);\n    this.customerService.set('migrationState', model.migrationState);\n  }\n\n  @action\n  error(e) {\n    if (e.responseJSON && e.responseJSON.test_app) {\n      let options = {\n        title: 'Switching to production',\n        body:\n          'Teammate settings aren’t available on your test version of Intercom. Would you like to switch to your production version?',\n        confirmButtonText: 'Switch to production',\n      };\n      intercomConfirm(this, options).then(() => {\n        let parentAppId = e.responseJSON.parent_app_id;\n        window.location = `/a/apps/${parentAppId}/settings/team/`;\n      });\n    }\n  }\n}\n","import { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport ManageTeammatesRoute from 'embercom/routes/apps/app/settings/base/manage-teammates-route';\n\nexport default class InviteRoute extends ManageTeammatesRoute {\n  @service permissionsMutatorService;\n  @service appService;\n  @service store;\n\n  analytics = {\n    section: 'settings',\n    place: 'teammate-invite',\n  };\n\n  inviteEmails = [];\n\n  async beforeModel() {\n    await super.beforeModel(...arguments);\n\n    if (this.appService.app.isTestApp) {\n      this.transitionTo('apps.app.settings.teammates');\n    }\n  }\n\n  model() {\n    return {\n      app: this.appService.app,\n      emails: this.inviteEmails,\n      roles: this.appService.app.canUseRoles ? this.store.findAll('role') : [],\n    };\n  }\n\n  @action\n  onEmailsChange(emails) {\n    this.set('currentModel.emails', emails);\n  }\n}\n","import { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { isValidEmail } from 'embercom/lib/email';\nimport ManageTeammatesRoute from 'embercom/routes/apps/app/settings/base/manage-teammates-route';\n\nexport default class CsvImportRoute extends ManageTeammatesRoute {\n  @service appService;\n\n  analytics = {\n    section: 'settings',\n    place: 'teammate-invite-csv-import',\n  };\n\n  beforeModel(transition) {\n    if (!transition.data.parsedCsv) {\n      this.transitionTo('apps.app.settings.teammates');\n    }\n  }\n\n  model(_params, transition) {\n    return {\n      columns: this._columnsFromParsedCsv(transition.data.parsedCsv),\n      hasHeaderRow: this._guessHasHeaderRow(transition.data.parsedCsv),\n      selectedIndex: this._guessEmailAddressColumnIndex(transition.data.parsedCsv),\n    };\n  }\n\n  _columnsFromParsedCsv(parsedCsv) {\n    // convert rows of columns to columns of rows\n    let rows = parsedCsv.data;\n    let columns = new Array(rows[0].length);\n    for (let col = 0; col < columns.length; col++) {\n      columns[col] = new Array(rows.length);\n      for (let row = 0; row < columns[col].length; row++) {\n        columns[col][row] = rows[row][col];\n      }\n    }\n    return columns;\n  }\n\n  _guessHasHeaderRow(parsedCsv) {\n    let firstRow = parsedCsv.data[0];\n    if (firstRow && firstRow.length > 0) {\n      return firstRow.find(item => isValidEmail(item)) === undefined;\n    } else {\n      return false;\n    }\n  }\n\n  _guessEmailAddressColumnIndex(parsedCsv) {\n    let headerRow = parsedCsv.data[0];\n    let columnNames = headerRow.map(n => n.toLowerCase());\n    let emailColumnName =\n      columnNames.find(n => n === 'email') ||\n      columnNames.find(n => n.startsWith('email')) ||\n      columnNames.find(n => n.includes('email'));\n    if (emailColumnName) {\n      return columnNames.indexOf(emailColumnName);\n    }\n\n    let sampleRow = parsedCsv.data.length > 1 ? parsedCsv.data[1] : parsedCsv.data[0];\n    let firstPossibleEmail = sampleRow.findIndex(value => isValidEmail(value));\n    if (firstPossibleEmail !== -1) {\n      return firstPossibleEmail;\n    }\n    return null;\n  }\n\n  _getInviteEmails() {\n    let inviteEmails = this.currentModel.columns[this.currentModel.selectedIndex];\n    if (this.currentModel.hasHeaderRow) {\n      inviteEmails = inviteEmails.slice(1);\n    }\n    return inviteEmails;\n  }\n\n  @action\n  onContinue() {\n    let inviteModel = this.modelFor('apps.app.settings.teammates.invite');\n    inviteModel.emails = this._getInviteEmails();\n    this.transitionTo('apps.app.settings.teammates.invite');\n  }\n}\n","import { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport ManageTeammatesRoute from 'embercom/routes/apps/app/settings/base/manage-teammates-route';\nimport { hash } from 'rsvp';\nimport { confirmSubscriptionChanges } from 'embercom/lib/admins/inbox-seat-info';\nimport { intercomPromiseConfirm } from 'embercom/lib/intercom-confirm';\n\nexport default class EditRoute extends ManageTeammatesRoute {\n  @service appService;\n  @service store;\n  closeWithoutSaving = false;\n\n  analytics = {\n    section: 'settings',\n    place: 'edit-single-invite-permissions',\n  };\n\n  async beforeModel() {\n    await super.beforeModel(...arguments);\n    this.closeWithoutSaving = false;\n  }\n\n  async model({ id }) {\n    // We need to fetch all invites because there is no endpoint for fetching a single invite\n    await this.store.findAll('invited-admin');\n    return hash({\n      app: this.appService.app,\n      invite: this.store.peekRecord('invited-admin', id),\n      roles: this.modelFor('apps.app.settings.teammates.invite').roles,\n    });\n  }\n\n  async saveChanges() {\n    try {\n      let invite = this.currentModel.invite;\n      await invite.save();\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'updated',\n        object: 'teammate-invite',\n        place: 'teammate-list',\n      });\n      this.notificationsService.notifyConfirmation(`Permissions changed for ${invite.email}`);\n      this.transitionTo('apps.app.settings.teammates');\n    } catch (error) {\n      this.notificationsService.notifyError(\n        'Something went wrong and we couldn’t update your invite. Please try again.',\n      );\n      console.error(error);\n    }\n  }\n\n  get numberOfSeatsRequired() {\n    let invite = this.currentModel.invite;\n    return invite.hasDirtyAttributes &&\n      invite.has_inbox_access &&\n      invite.changedAttributes().has_inbox_access\n      ? 1\n      : 0;\n  }\n\n  @action\n  async confirmAndSaveChanges() {\n    if (\n      await confirmSubscriptionChanges(this.numberOfSeatsRequired, {\n        confirmationButtonLabel: 'Save and fill seat',\n      })\n    ) {\n      await this.saveChanges();\n    }\n  }\n\n  @action\n  async willTransition(transition) {\n    if (this.closeWithoutSaving) {\n      return;\n    }\n\n    let permissionsObject = this.currentModel.invite;\n    if (permissionsObject && permissionsObject.hasDirtyAttributes) {\n      transition.abort();\n\n      let confirmOptions = {\n        title: 'Close without saving?',\n        primaryButtonType: 'primary-destructive',\n        confirmButtonText: 'Close without saving',\n        cancelButtonText: 'Keep editing',\n        body: \"You'll lose your changes if you don't save first.\",\n      };\n\n      if (await intercomPromiseConfirm(this, confirmOptions)) {\n        // I wish I didn't have to do this. Normally we would rollback then retry\n        // which would run this action again and exit the route. However, doing that\n        // in this route looks bad. The IcOnOffToggle components which are bound to\n        // the model are animated with CSS transitions - so you'll see them animate\n        // back to their original positions before we exit the route.\n        this.closeWithoutSaving = true;\n        await transition.retry();\n        permissionsObject.rollbackAttributes();\n      }\n    }\n  }\n}\n","import { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport ManageTeammatesRoute from 'embercom/routes/apps/app/settings/base/manage-teammates-route';\nimport { assign } from '@ember/polyfills';\nimport { post } from 'embercom/lib/ajax';\nimport { pluralize } from 'ember-inflector';\nimport { confirmSubscriptionChanges as confirmSubscriptionChangesFromInboxSeats } from 'embercom/lib/admins/inbox-seat-info';\nimport { confirmPriceIncrease as confirmPriceIncreaseFromSeats } from 'embercom/lib/admins/seat-info';\n\nexport default class PermissionsRoute extends ManageTeammatesRoute {\n  @service appService;\n  @service store;\n\n  analytics = {\n    section: 'settings',\n    place: 'teammate-invite-permissions',\n  };\n\n  _getPermissionsObject() {\n    let permissionsObject = this.store.createRecord('permission', {\n      app_id: this.appService.app.id,\n    });\n    if (!this.appService.app.canUseFeature('app_permissions')) {\n      permissionsObject.setAllPermissions(true);\n    }\n    return permissionsObject;\n  }\n\n  model() {\n    return {\n      app: this.appService.app,\n      emails: this.modelFor('apps.app.settings.teammates.invite').emails,\n      permissionsObject: this._getPermissionsObject(),\n      roles: this.modelFor('apps.app.settings.teammates.invite').roles,\n    };\n  }\n\n  afterModel(model) {\n    if (model.emails.length === 0) {\n      this.transitionTo('apps.app.settings.teammates.invite');\n    }\n  }\n\n  async sendInvites() {\n    try {\n      let permissions = this.currentModel.permissionsObject.serialize();\n      let invitees = this.currentModel.emails.map(email =>\n        assign(\n          {\n            email,\n          },\n          permissions,\n        ),\n      );\n\n      await post('/ember/invite_admin_groups', { invitees, app_id: this.appService.app.id });\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'created',\n        object: 'teammate-invite',\n        place: 'teammate-list',\n        numberOfInvites: invitees.length,\n      });\n      this.notificationsService.notifyConfirmation(\n        `You have invited ${pluralize(invitees.length, 'teammate')} to work with you in ${\n          this.appService.app.name\n        }`,\n      );\n      this.transitionTo('apps.app.settings.teammates');\n    } catch (error) {\n      this.notificationsService.notifyError(\n        'Something went wrong and we couldn’t send your invites. Please try again.',\n      );\n      console.error(error);\n    }\n  }\n\n  get numberOfInboxSeatsRequired() {\n    return this.currentModel.permissionsObject.has_inbox_access\n      ? this.currentModel.emails.length\n      : 0;\n  }\n\n  get numberOfTeammateSeatsRequired() {\n    return this.appService.app.canSeeCostChangeCard ? this.currentModel.emails.length : 0;\n  }\n\n  async confirmChanges() {\n    return (\n      (await confirmSubscriptionChangesFromInboxSeats(this.numberOfInboxSeatsRequired)) &&\n      (await confirmPriceIncreaseFromSeats(this.numberOfTeammateSeatsRequired))\n    );\n  }\n\n  @action\n  async confirmAndSendInvites() {\n    if (await this.confirmChanges()) {\n      await this.sendInvites();\n    }\n  }\n}\n","import { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport ManageTeammatesRoute from 'embercom/routes/apps/app/settings/base/manage-teammates-route';\nimport { pluralize } from 'ember-inflector';\nimport { intercomPromiseConfirm } from 'embercom/lib/intercom-confirm';\n\nexport default class PermissionsRoute extends ManageTeammatesRoute {\n  @service appService;\n  @service permissionsMutatorService;\n  @service store;\n  closeWithoutSaving = false;\n\n  analytics = {\n    section: 'settings',\n    place: 'bulk-teammate-permissions',\n  };\n\n  async beforeModel(transition) {\n    await super.beforeModel(...arguments);\n    this.closeWithoutSaving = false;\n\n    if (!transition.data.teammates) {\n      this.transitionTo('apps.app.settings.teammates');\n    }\n  }\n\n  model(_params, transition) {\n    let commonRoleId = this._getCommonRoleId(transition.data.teammates);\n    let permissionsObject = this.store.createRecord('permission', { role_id: commonRoleId });\n    permissionsObject.setAllPermissions(undefined);\n    permissionsObject.accessType = undefined;\n    return {\n      app: this.appService.app,\n      teammates: transition.data.teammates,\n      permissionsObject,\n      permissionsObjectChanged: false,\n      roles: this.appService.app.canUseRoles ? this.store.findAll('role') : [],\n    };\n  }\n\n  _getCommonRoleId(teammates) {\n    let commonRoleId = teammates[0].currentAppPermissions.role_id;\n    let allRolesMatch = teammates.every(\n      teammate => teammate.currentAppPermissions.role_id === commonRoleId,\n    );\n    return allRolesMatch ? commonRoleId : null;\n  }\n\n  getChangedPermissionProperties(permissionsObject) {\n    let rawPermissions = permissionsObject.permissions();\n    let changedPermissions = Object.keys(rawPermissions).reduce((result, key) => {\n      if (rawPermissions[key] !== undefined) {\n        result[key] = rawPermissions[key];\n      }\n      return result;\n    }, {});\n\n    if (permissionsObject.accessType !== undefined) {\n      changedPermissions['accessType'] = permissionsObject.accessType;\n      changedPermissions['includeUnassigned'] = permissionsObject.includeUnassigned;\n      changedPermissions['assigneeBlockedList'] = permissionsObject.assigneeBlockedList;\n    }\n\n    return Object.assign({ role_id: permissionsObject.role_id }, changedPermissions);\n  }\n\n  @action\n  async savePermissions() {\n    let { teammates, permissionsObject } = this.currentModel;\n\n    if (this.appService.app.canUseRoles) {\n      let confirmed = await intercomPromiseConfirm(this, {\n        title: `Apply changes`,\n        confirmButtonText: `Apply changes`,\n        body: `The changes you made to these teammates will have immediate effect.`,\n      });\n      if (!confirmed) {\n        return;\n      }\n    }\n\n    try {\n      let permissionsProperties = this.getChangedPermissionProperties(permissionsObject);\n\n      await this.permissionsMutatorService.bulkEditPermissions(teammates, permissionsProperties);\n      this.notificationsService.notifyConfirmation(\n        `Saved permissions for ${teammates.length} ${pluralize('teammate')}`,\n      );\n      this.closeWithoutSaving = true;\n      this.transitionTo('apps.app.settings.teammates');\n    } catch (err) {\n      console.error(err);\n      this.notificationsService.notifyError(\n        'There was an error saving your changes. Please try again.',\n      );\n    }\n  }\n\n  @action\n  async willTransition(transition) {\n    if (this.closeWithoutSaving) {\n      return;\n    }\n\n    // Only show modal if there were any changes\n    if (this.currentModel.permissionsObjectChanged) {\n      transition.abort();\n\n      let confirmOptions = {\n        title: 'Close without saving?',\n        primaryButtonType: 'primary-destructive',\n        confirmButtonText: 'Close without saving',\n        cancelButtonText: 'Keep editing',\n        body: \"You’ll lose your changes if you don't save first.\",\n      };\n\n      if (await intercomPromiseConfirm(this, confirmOptions)) {\n        this.closeWithoutSaving = true;\n        await transition.retry();\n      }\n    }\n  }\n}\n","import ManageTeammatesRoute from 'embercom/routes/apps/app/settings/base/manage-teammates-route';\nimport Admin from 'embercom/models/admin';\n\nexport default class TeammateRoute extends ManageTeammatesRoute {\n  async beforeModel(transition) {\n    await super.beforeModel(...arguments);\n\n    if (transition.targetName === 'apps.app.settings.teammates.teammate.index') {\n      this.replaceWith('apps.app.settings.teammates.teammate.permissions');\n    }\n  }\n\n  model({ id }) {\n    return Admin.peekAndMaybeLoad(this.store, id);\n  }\n}\n","import { hash } from 'rsvp';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { intercomPromiseConfirm } from 'embercom/lib/intercom-confirm';\nimport { confirmSubscriptionChanges } from 'embercom/lib/admins/inbox-seat-info';\nimport ManageTeammatesRoute from 'embercom/routes/apps/app/settings/base/manage-teammates-route';\n\nexport default class PermissionsRoute extends ManageTeammatesRoute {\n  @service permissionsMutatorService;\n  @service appService;\n  @service store;\n\n  analytics = {\n    section: 'settings',\n    place: 'teammate-permissions',\n  };\n\n  closeWithoutSaving = false;\n\n  async beforeModel() {\n    await super.beforeModel(...arguments);\n    this.closeWithoutSaving = false;\n  }\n\n  model() {\n    let admin = this.modelFor('apps.app.settings.teammates.teammate');\n    return hash({\n      app: this.appService.app,\n      admin,\n      permissionsObject: admin.currentAppPermissions,\n      reassignments: undefined,\n      roles: this.appService.app.canUseRoles ? this.store.findAll('role') : [],\n    });\n  }\n\n  async saveChanges() {\n    try {\n      this.currentModel.permissionsObject.reassignments = this.currentModel.reassignments;\n      await this.permissionsMutatorService.savePermission(\n        this.currentModel.admin,\n        this.currentModel.permissionsObject,\n        this.currentModel.permissionsObject.has_inbox_access,\n      );\n      this.transitionTo('apps.app.settings.teammates');\n    } catch (error) {\n      console.error(error);\n    }\n  }\n\n  get numberOfSeatsRequired() {\n    let model = this.currentModel.permissionsObject;\n    return model.hasDirtyAttributes &&\n      model.changedAttributes().has_inbox_access &&\n      model.has_inbox_access\n      ? 1\n      : 0;\n  }\n\n  @action\n  async confirmAndSaveChanges() {\n    if (\n      await confirmSubscriptionChanges(this.numberOfSeatsRequired, {\n        confirmationButtonLabel: 'Save and fill seat',\n      })\n    ) {\n      await this.saveChanges();\n    }\n  }\n\n  @action\n  async willTransition(transition) {\n    if (this.closeWithoutSaving) {\n      return;\n    }\n\n    let permissionsObject = this.currentModel.permissionsObject;\n    if (permissionsObject && permissionsObject.hasDirtyAttributes) {\n      transition.abort();\n\n      let confirmOptions = {\n        title: 'Close without saving?',\n        primaryButtonType: 'primary-destructive',\n        confirmButtonText: 'Close without saving',\n        cancelButtonText: 'Keep editing',\n        body: \"You'll lose your changes if you don't save first.\",\n      };\n\n      if (await intercomPromiseConfirm(this, confirmOptions)) {\n        // I wish I didn't have to do this. Normally we would rollback then retry\n        // which would run this action again and exit the route. However, doing that\n        // in this route looks bad. The IcOnOffToggle components which are bound to\n        // the model are animated with CSS transitions - so you'll see them animate\n        // back to their original positions before we exit the route.\n        this.closeWithoutSaving = true;\n        await transition.retry();\n        permissionsObject.rollbackAttributes();\n      }\n    }\n  }\n}\n","import { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport ManageTeammatesRoute from 'embercom/routes/apps/app/settings/base/manage-teammates-route';\nimport { hash } from 'rsvp';\n\nexport default class RemoveRoute extends ManageTeammatesRoute {\n  @service permissionsMutatorService;\n  @service appService;\n\n  analytics = {\n    section: 'settings',\n    place: 'teammate-remove',\n  };\n\n  async beforeModel() {\n    await super.beforeModel(...arguments);\n    let teammateId = this.paramsFor('apps.app.settings.teammates.teammate').id;\n    if (teammateId === this.appService.app.currentAdmin.id) {\n      this.replaceWith('apps.app.settings.teammates.teammate.permissions', teammateId);\n    }\n  }\n\n  model() {\n    return hash({\n      app: this.appService.app,\n      teammate: this.modelFor('apps.app.settings.teammates.teammate'),\n      reassignments: { teams: {} },\n    });\n  }\n\n  @action\n  async removeTeammate() {\n    let { teammate, reassignments } = this.currentModel;\n    let permission = teammate.currentAppPermissions;\n\n    try {\n      await permission.destroyRecord({ adapterOptions: { reassignments } });\n      this.appService.app.admins.removeObject(teammate);\n      permission.unloadRecord();\n      teammate.unloadRecord();\n      this.notificationsService.notifyConfirmation(\n        `${teammate.displayAs} has been removed from the ${this.currentModel.app.name} workspace`,\n      );\n      this.transitionTo('apps.app.settings.teammates');\n    } catch (error) {\n      this.notificationsService.notifyError(\n        'Something went wrong and we could not save your changes. Please try again.',\n      );\n      console.error(error);\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport { inject as service } from '@ember/service';\nimport ModelCacheHelper from 'embercom/lib/model-cache/helper';\nimport { hash } from 'rsvp';\nimport ProductSettingsRoute from './base/product-settings-route';\n\nexport default ProductSettingsRoute.extend({\n  analytics: {\n    section: 'settings',\n    place: 'teams',\n  },\n  titleToken: 'Teams',\n  modelDataCacheService: service(),\n  appService: service(),\n\n  model() {\n    let app = this.modelFor('apps.app');\n    if (ModelCacheHelper.isDisabled()) {\n      this.store.findRecord('app', app.get('id'));\n    } else {\n      this.modelDataCacheService.fetch('app', app.get('id'));\n    }\n    return hash({\n      schedules: this.store.findAll('office-hours-schedule'),\n      teamSettings: this.store.findAll('team-setting'),\n    });\n  },\n\n  beforeModel() {\n    // the settings navigation menu has teams & roles combined and navigates to this route (apps.app.settings.teams)\n    // so if the current teammate doesn't have access to teams, then transition straight to roles\n    if (\n      !this.permissionsService.currentAdminCan('can_access_product_settings') &&\n      this.appService.app.canUseRoles\n    ) {\n      return this.transitionTo('apps.app.settings.roles');\n    }\n    return this._super(...arguments);\n  },\n\n  afterModel() {\n    let app = this.modelFor('apps.app');\n    return this.modelDataCacheService.awaitRefreshedModel('app', app.get('id'));\n  },\n\n  _deleteOrRollback(model) {\n    if (model.get('isNew')) {\n      model.deleteRecord();\n    } else {\n      model.rollbackAttributes();\n    }\n  },\n\n  _revertTeamsState() {\n    let dirtyTeams = this.get('controller.dirtyTeams');\n    let dirtyTeamSettings = this.get('controller.dirtyTeamSettings');\n\n    dirtyTeams.forEach(this._deleteOrRollback);\n    dirtyTeamSettings.forEach(this._deleteOrRollback);\n  },\n\n  actions: {\n    error(e) {\n      if (e.responseJSON && e.responseJSON.test_app) {\n        let options = {\n          title: 'Switching to production',\n          body:\n            'Teammate settings aren’t available on your test version of Intercom. Would you like to switch to your production version?',\n          confirmButtonText: 'Switch to production',\n        };\n        intercomConfirm(this, options).then(() => {\n          let parentAppId = e.responseJSON.parent_app_id;\n          window.location = `/a/apps/${parentAppId}/settings/teams/`;\n        });\n      }\n    },\n    willTransition(transition) {\n      if (this.controller.hasUnsavedChanges()) {\n        if (window.confirm('Warning: You have unsaved changes. Do you want to discard them?')) {\n          this._revertTeamsState();\n        } else {\n          transition.abort();\n        }\n      }\n    },\n  },\n});\n","import ManageMessagesSettingsRoute from 'embercom/routes/apps/app/settings/base/manage-messages-settings-route';\n\nexport default ManageMessagesSettingsRoute.extend({\n  analytics: {\n    section: 'settings',\n    place: 'universal_linking',\n  },\n  titleToken: 'Universal linking',\n\n  model() {\n    return this.store.findAll('click-tracking-domain-opt-out', { reload: true });\n  },\n\n  setupController(controller) {\n    this._super(...arguments);\n    controller.reset();\n  },\n});\n","import ProductSettingsRoute from 'embercom/routes/apps/app/settings/base/product-settings-route';\nimport { hash } from 'rsvp';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default ProductSettingsRoute.extend({\n  analytics: {\n    section: 'settings',\n    place: 'web',\n  },\n  appService: service(),\n  app: readOnly('appService.app'),\n  titleToken: 'Web',\n\n  model() {\n    return hash({\n      userSources: this.store.findAll('user-source'),\n    });\n  },\n});\n","import SettingsRoute from 'embercom/routes/apps/app/settings/base/base-settings-route';\n\nexport default SettingsRoute.extend({\n  analytics: {\n    section: 'settings',\n    place: 'webhooks',\n  },\n  titleToken: 'Webhooks',\n\n  beforeModel(transition) {\n    this._super(...arguments);\n    this.permissionsService.ensurePermissionWhenTransitioning(\n      'can_access_developer_hub',\n      transition,\n    );\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { hash } from 'rsvp';\nexport default Route.extend({\n  titleToken: 'Webhooks',\n\n  model() {\n    return hash({\n      webhooks: this.store.findAll('developer-home/webhook'),\n      topics: this.store.findAll('developer-hub/webhook-topic'),\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  intercomEventService: service(),\n  redirect(app) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'clicked',\n      object: 'escape-hatch',\n    });\n    this.transitionTo('apps.app.index');\n  },\n});\n","import Route from '@ember/routing/route';\n\nexport default class AppsAppSmsDemoRoute extends Route {\n  model() {\n    let sms = this.store.createRecord('sms/sms');\n    sms.localizedSmsMessageContents.pushObject(\n      this.store.createRecord('sms/localized-sms-message-content', {\n        sms,\n      }),\n    );\n    return sms;\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\n\nimport { inject as service } from '@ember/service';\nimport {\n  EARLY_STAGE_SOLUTION_ID,\n  LATEST_PRICING_MODEL,\n  CORE_SOLUTION_ID,\n  CORE_PRICING_MODEL,\n  CORE_EARLY_STAGE_SOLUTION_ID,\n} from 'embercom/lib/billing';\nimport parseTextToJson from 'embercom/lib/parse-text-to-json';\n\nexport default IntercomRoute.extend({\n  analytics: {\n    section: 'signup',\n  },\n  redirectService: service(),\n  purchaseAnalyticsService: service(),\n  boundUnloadEvent: null,\n  appService: service(),\n  gtmService: service(),\n  router: service(),\n\n  beforeModel(transition) {\n    document.body.classList.add('signup__teams__body');\n  },\n\n  model({ solutionId, partnerSource }, transition) {\n    let safeSolutionId = solutionId.length\n      ? solutionId\n      : this.appService.app.signed_up_with_solution_id;\n    let pricingModel = this.choosePricingModel({ partnerSource, solutionId: safeSolutionId });\n\n    let priceQuery = {\n      pricing_model_identifier: pricingModel,\n      people_count: 0,\n    };\n\n    if (safeSolutionId === CORE_EARLY_STAGE_SOLUTION_ID) {\n      priceQuery.coupon_code =\n        partnerSource && this.appService.app.hasAnyInstalledAtDate\n          ? 'EarlyStageCoreCouponStarter'\n          : 'EarlyStageCoreCouponStandard';\n    }\n\n    return this.store.query('price', priceQuery);\n  },\n\n  setupController(controller, model, transition) {\n    this._super(controller, model);\n    this.purchaseAnalyticsService.setDefaults();\n\n    this.controllerFor('signup').set('purchaseExperience', 'v3');\n    if (!transition.to.queryParams.solution_id) {\n      controller.set('solutionId', this.appService.app.signed_up_with_solution_id);\n    }\n    if (transition.to.queryParams.after_signup_redirect_path) {\n      this.redirectService.setRedirectPath(transition.to.queryParams.after_signup_redirect_path);\n    }\n    controller.hideWidgetIfAppropriate();\n    controller.set('prices', model.toArray());\n    if (typeof controller.addOnPlanIds === 'string') {\n      controller.set('addOnPlanIds', parseTextToJson(controller.addOnPlanIds) || []);\n    }\n  },\n\n  fireUnloadEvent() {\n    let controller = this.controllerFor(this.router.currentRouteName);\n    this.purchaseAnalyticsService.trackEvent({\n      place: controller.place,\n      context: controller.context,\n      action: 'navigated_away',\n      object: controller.place,\n      mobile: controller.mobileDevice,\n    });\n\n    return 'fired navigated_away'; // need to return otherwise ajax doesn't fire.\n  },\n\n  choosePricingModel({ solutionId, partnerSource }) {\n    let earlyStage = solutionId === EARLY_STAGE_SOLUTION_ID;\n    let earlyStagePartnerWithMessengerInstalled =\n      partnerSource && this.appService.app.hasAnyInstalledAtDate;\n\n    let solutionsPricingModel = {\n      [EARLY_STAGE_SOLUTION_ID]: 'per_product_pricing_early_stage',\n      [CORE_SOLUTION_ID]: CORE_PRICING_MODEL,\n      [CORE_EARLY_STAGE_SOLUTION_ID]: CORE_PRICING_MODEL,\n    };\n\n    if (earlyStage && earlyStagePartnerWithMessengerInstalled) {\n      return 'per_product_pricing_early_stage_free';\n    } else {\n      return solutionsPricingModel[solutionId] || LATEST_PRICING_MODEL;\n    }\n  },\n\n  deactivate() {\n    this.showPrimaryNav();\n    window.removeEventListener('beforeunload', this.boundUnloadEvent);\n    this.set('boundUnloadEvent', null);\n    document.body.classList.remove('signup__teams__body');\n  },\n\n  activate() {\n    this.hidePrimaryNav();\n    this.set('boundUnloadEvent', this.fireUnloadEvent.bind(this));\n    window.addEventListener('beforeunload', this.boundUnloadEvent);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport { MARKETO_FORM_IDS } from 'embercom/lib/gtm';\nimport { setPricingParamsIfEmpty } from 'embercom/lib/purchase/setup';\nexport default IntercomRoute.extend({\n  purchaseAnalyticsService: service(),\n  gtmService: service(),\n  stripev3: service(),\n  router: service(),\n\n  activate() {\n    document.body.classList.add('responsive');\n  },\n\n  deactivate() {\n    document.body.classList.remove('responsive');\n  },\n\n  beforeModel(transition) {\n    this._super();\n    let app = this.modelFor('apps/app');\n    if (app.forceEmailVerification) {\n      return this.transitionTo('apps.app.teams-checkout.verify');\n    }\n    return this.stripev3.load();\n  },\n\n  afterModel(model, transition) {\n    this.gtmService.setupMarketo(MARKETO_FORM_IDS.trialSignupEnd);\n  },\n\n  setupController(controller, model, transition) {\n    this._super(...arguments);\n    setPricingParamsIfEmpty(controller, transition);\n    this._setCouponCodeFromSessionStorage(controller);\n    this.controllerFor('apps.app.teams-checkout').set('navStep', 3);\n  },\n\n  _setCouponCodeFromSessionStorage(controller) {\n    let couponCode = window.sessionStorage && window.sessionStorage['intercom-coupon-code'];\n    if (couponCode) {\n      controller.set('couponCode', couponCode);\n    }\n  },\n\n  redirect(model, transition) {\n    let app = this.modelFor('apps/app');\n    if (app.get('hasActiveSubscription')) {\n      this.showPrimaryNav();\n      this.router.transitionTo(app.defaultPostSignupRoute);\n    }\n  },\n  actions: {\n    didTransition() {\n      let controller = this.controllerFor('apps.app.teams-checkout.confirm');\n      this.purchaseAnalyticsService.trackPageView({\n        context: 'usecase_signup_flow',\n        object: controller.object,\n        place: controller.place,\n        planIds: controller.addOnPlanIds,\n        solutionId: controller.solutionId,\n        pro: controller.isPro,\n        free: controller.free,\n        cartAmount: controller.totalAmount,\n        gclid: controller.gclid,\n        emailSubmissionId: controller.emailSubmissionId,\n        mobile: controller.mobileDevice,\n        addOn: controller.addOn,\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport Route from '@ember/routing/route';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport $ from 'jquery';\nimport { MARKETO_FORM_IDS } from 'embercom/lib/gtm';\nimport ajax from 'embercom/lib/ajax';\n\nexport default Route.extend({\n  purchaseAnalyticsService: service(),\n  gtmService: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  activate() {\n    $('body').addClass('responsive');\n  },\n\n  deactivate() {\n    $('body').removeClass('responsive');\n  },\n\n  setupController(controller) {\n    this._super(...arguments);\n    controller.hideWidgetIfAppropriate();\n    this.controllerFor('apps.app.teams-checkout').set('navStep', 2);\n  },\n\n  model(_params) {\n    return ajax({ url: '/api/early-stage-partners' });\n  },\n\n  beforeModel(transition) {\n    if (this.app.validEarlyStageApplicant) {\n      if (this.app.hasNoActiveSubscription) {\n        this.transitionTo('apps.app.teams-checkout.confirm', {\n          queryParams: transition.to.queryParams,\n        });\n      } else {\n        this.transitionTo('apps.app');\n      }\n    }\n  },\n  actions: {\n    didTransition() {\n      let controller = this.controllerFor('apps.app.teams-checkout.early-stage-application');\n      let event = {\n        action: 'viewed',\n        context: 'usecase_signup_flow',\n        place: 'early_stage_application',\n        object: 'early_stage_application',\n        solutionId: controller.solutionId,\n        gclid: controller.gclid,\n        emailSubmissionId: controller.emailSubmissionId,\n        mobile: controller.mobileDevice,\n      };\n\n      this.purchaseAnalyticsService.trackPageView(event);\n    },\n  },\n\n  afterModel() {\n    this.gtmService.setupMarketo(MARKETO_FORM_IDS.earlyStage);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { MARKETO_FORM_IDS } from 'embercom/lib/gtm';\nimport { setPricingParamsIfEmpty } from 'embercom/lib/purchase/setup';\n\nexport default IntercomRoute.extend({\n  purchaseAnalyticsService: service(),\n  appService: service(),\n  gtmService: service(),\n  app: readOnly('appService.app'),\n\n  activate() {\n    document.body.classList.add('responsive');\n  },\n\n  deactivate() {\n    document.body.classList.remove('responsive');\n  },\n\n  afterModel(model, transition) {\n    this.gtmService.setupMarketo(MARKETO_FORM_IDS.addOns);\n  },\n\n  beforeModel(transition) {\n    let app = this.get('appService.app');\n\n    if (app.get('hasActiveSubscription')) {\n      return this.transitionTo('apps.app.billing.details');\n    }\n\n    if (app.forceEmailVerification) {\n      return this.transitionTo('apps.app.teams-checkout.verify');\n    }\n\n    this._super(...arguments);\n  },\n\n  setupController(controller, model, transition) {\n    this._super(...arguments);\n    setPricingParamsIfEmpty(controller, transition);\n    let teamsController = this.controllerFor('apps.app.teams-checkout');\n    teamsController.setProperties({ navStep: 2, editingAddons: true });\n  },\n  actions: {\n    didTransition() {\n      let controller = this.controllerFor('apps.app.teams-checkout.plan');\n      this.purchaseAnalyticsService.trackPageView({\n        context: 'usecase_signup_flow',\n        object: controller.object,\n        place: controller.place,\n        planIds: controller.addOnPlanIds,\n        solutionId: controller.solutionId,\n        pro: controller.isPro,\n        cartAmount: controller.totalAmount,\n        gclid: controller.gclid,\n        emailSubmissionId: controller.emailSubmissionId,\n        mobile: controller.mobileDevice,\n        addOn: controller.addOn,\n      });\n    },\n  },\n});\n","import Route from '@ember/routing/route';\n\nexport default class AppsAppTeamsCheckoutVerifyRoute extends Route {\n  activate() {\n    document.body.classList.add('responsive');\n  }\n\n  deactivate() {\n    document.body.classList.remove('responsive');\n  }\n}\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { hideIntercomWidgetWhenLoaded } from 'embercom/lib/intercom-widget-helper';\nimport { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nexport default IntercomRoute.extend({\n  analytics: {\n    place: 'hosted_messenger',\n  },\n\n  onboardingHomeService: service(),\n  appService: service(),\n  guide: readOnly('onboardingHomeService.guide'),\n\n  activate() {\n    this.hidePrimaryNav();\n    hideIntercomWidgetWhenLoaded();\n  },\n\n  model() {\n    return this.onboardingHomeService.findOrLoadGuide();\n  },\n\n  setupController(controller) {\n    controller.set('model', this.guide.findStepByIdentifier('send_test_message'));\n  },\n\n  deactivate() {\n    this.showPrimaryNav();\n  },\n});\n","import { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\n\nexport default class ToursRoute extends Route {\n  @service intercomEventService;\n  @service appService;\n\n  beforeModel(transition) {\n    this.intercomEventService.trackEvent('product-tours-visited');\n\n    if (this.appService.app.canUseToursInOutboundHome) {\n      let { queryParams, params } = transition.to;\n      let newRoute = `apps.app.outbound.tour.${transition.to.localName}`;\n\n      if (params.id !== undefined) {\n        let tour = this.store.findRecord('matching-system/ruleset', params.id);\n        this.replaceWith(newRoute, tour, { queryParams });\n      } else {\n        this.replaceWith(newRoute, { queryParams });\n      }\n    }\n  }\n}\n","import EditTourRoute from '../outbound/tour/edit';\nexport default EditTourRoute;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport { readOnly } from '@ember/object/computed';\nimport { computed } from '@ember/object';\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport { objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\nimport { isBlank } from '@ember/utils';\n\nexport default IntercomRoute.extend({\n  appService: service(),\n  intercomEventService: service(),\n  onboardingHomeExternalStepService: service(),\n  analytics: {\n    section: 'tours',\n    place: 'tours',\n  },\n  app: readOnly('appService.app'),\n  queryParams: {\n    state: {\n      refreshModel: false,\n      default: 'all',\n    },\n  },\n\n  titleToken: computed('controller.state', function() {\n    if (this.controller.state === 'published') {\n      return 'Published Product Tours';\n    } else if (this.controller.state === 'draft') {\n      return 'Draft Product Tours';\n    } else {\n      return 'All Product Tours';\n    }\n  }),\n\n  model(params) {\n    let queryParams = {\n      object_type: objectTypes.tour,\n      stats: [stats.receipt, stats.completion, stats.goalSuccess, stats.tourStepFailure],\n      include_unique_stat_count: true,\n    };\n\n    if (isBlank(params.state)) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'viewed',\n        object: 'all_tours',\n      });\n    }\n\n    let templates = this.store.findAll('tour-template');\n    this.store.findAll('account');\n    return this.store.query('matching-system/ruleset', queryParams).then(rulesets => {\n      return { rulesets, templates };\n    });\n  },\n});\n","import NewTourRoute from 'embercom/routes/apps/app/outbound/tour/new';\n\nexport default NewTourRoute.extend({\n  tourEditRoute: 'apps.app.tours.edit',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { EARLY_STAGE_SOLUTION_ID } from 'embercom/lib/billing';\n\nexport default Route.extend({\n  beforeModel(transition) {\n    let queryParams = Object.assign(transition.to.queryParams || {}, {\n      solution_id: EARLY_STAGE_SOLUTION_ID,\n    });\n    this.replaceWith('apps.teams-checkout-redirect', {\n      queryParams,\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport UsersOrCompaniesRoute from 'embercom/routes/base/users-or-companies-route';\nimport { inject as service } from '@ember/service';\n\nexport default UsersOrCompaniesRoute.extend({\n  buildRouteInfoMetadata() {\n    return {\n      responsibleTeam: 'team-people',\n    };\n  },\n  intercomEventService: service(),\n  userCacheService: service(),\n  analytics: {\n    section: 'platform',\n    place: 'users',\n  },\n\n  activate() {\n    this._super(...arguments);\n    this.intercomEventService.trackEvent('user-list-visited');\n  },\n  deactivate() {\n    this._super(...arguments);\n    this.userCacheService.clear();\n    this.store.unloadAll('user');\n    this.store.unloadAll('company');\n  },\n  isCompany: false,\n  model() {\n    let app = this.modelFor('apps/app');\n    return app.get('userSegments');\n  },\n  actions: {\n    showAllSegment() {\n      let segment = this.modelFor('apps/app/users').get('firstObject');\n      segment.revert();\n      this.transitionTo('apps.app.users.segments.segment', segment);\n    },\n    setSearch(text) {\n      this.controller.set('search.rawText', text);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nlet UsersIndexRoute = Route.extend({\n  beforeModel() {\n    this.replaceWith('apps.app.users.segments');\n  },\n});\n\nexport default UsersIndexRoute;\n","import GlobalLoadingRoute from 'embercom/routes/base/global-loading-route';\n\nlet UsersLoadingRoute = GlobalLoadingRoute.extend({});\n\nexport default UsersLoadingRoute;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  analytics: {\n    place: 'segment',\n  },\n  actions: {\n    addSegmentToList(segment) {\n      this.modelFor('apps.app.users').pushObject(segment);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport getDefaultSegment from 'embercom/lib/routes/get-default-segment';\n\nlet SegmentsIndexRoute = Route.extend({\n  beforeModel() {\n    let app = this.modelFor('apps.app');\n    let segments = this.modelFor('apps.app.users');\n    let admin = this.modelFor('apps');\n    let segment;\n    if (app.importedUsersAndIsNotActivated) {\n      segment = segments.firstObject;\n    } else if (app.onlyArticlesIsActive) {\n      segment = segments.findBy('identifier', 'all-leads');\n    } else {\n      segment = getDefaultSegment(segments, admin.visible_segment_ids, 'all-users');\n    }\n\n    this.replaceWith('apps.app.users.segments.segment', segment);\n  },\n});\n\nexport default SegmentsIndexRoute;\n","import { inject as service } from '@ember/service';\nimport LegacySelectionState from 'embercom/models/legacy-selection-state';\nimport ModalNavigationWarningRoute from 'embercom/routes/base/modal-navigation-warning';\nimport SegmentSetupModelAndController from 'embercom/routes/mixins/users-and-companies/segment-setup-model-and-controller';\nimport storage from 'embercom/vendor/intercom/storage';\n\nexport default ModalNavigationWarningRoute.extend(SegmentSetupModelAndController, {\n  pubsub: service(),\n  gtmService: service(),\n\n  titleToken: 'Users',\n  companiesOrUsersRoute: 'apps.app.users',\n\n  activate() {\n    this._super();\n    storage.set('lastProductUsed', 'users');\n  },\n  afterModel(model) {\n    this._super(...arguments);\n    let eventName = model.get('is_predefined')\n      ? 'applied-segment-to-user-list'\n      : 'applied-custom-segment-to-user-list';\n    this.intercomEventService.trackEvent(eventName);\n  },\n  actions: {\n    willTransition(transition) {\n      let path = this.get('currentModel.identifier');\n      return this.conditionallyTransition(transition, path);\n    },\n    createAutoMessage(segment) {\n      let selectionState = LegacySelectionState.create({\n        predicates: segment.get('activePredicates'),\n      });\n      this.intercomEventService.trackEvent('user-list-auto-message-created');\n      this.transitionTo('apps.app.outbound.messages.auto.new', {\n        queryParams: {\n          selectionState: selectionState.get('toJSON'),\n        },\n      });\n    },\n    createSegment(segment) {\n      this.intercomEventService.trackEvent('user-list-segment-created');\n      // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n      this.send('openModal', 'apps/app/users/segments/segment/modals/segment', segment);\n    },\n    showSegment(segment) {\n      this.send('addSegmentToList', segment);\n      this.transitionTo('apps.app.users.segments.segment', segment.identifier);\n    },\n    addFiltersToUrl(segment) {\n      this.addFiltersToUrl(segment);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport { isPresent } from '@ember/utils';\nimport { inject as service } from '@ember/service';\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\n\nexport default IntercomRoute.extend({\n  intercomEventService: service(),\n  analytics: {\n    place: 'user',\n  },\n  userCacheService: service('userCacheService'),\n  titleToken(model) {\n    return model.get('display_as');\n  },\n  userPresenceService: service('userPresenceService'),\n\n  model(params) {\n    return this.userCacheService.getUserAndRefreshCache(params.user_id);\n  },\n  afterModel(model) {\n    this._resetSearch();\n    this.userPresenceService.updateUserPresenceForUser(model);\n    this._trackVisitedUserProfile(model);\n  },\n  _trackVisitedUserProfile(model) {\n    let eventName = `visited-${model.get('typeLabel').toLowerCase()}-profile`;\n    this.intercomEventService.trackEvent(eventName);\n  },\n  _resetSearch() {\n    let search = this.controllerFor('apps.app.users').get('search');\n    if (isPresent(search)) {\n      search.reset();\n    }\n  },\n  actions: {\n    error() {\n      this.transitionTo('apps.app.users.user-not-found');\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport UserConversationsRoute from 'embercom/routes/base/user-conversations-route';\nimport { inject as service } from '@ember/service';\n\nexport default UserConversationsRoute.extend({\n  onboardingHomeExternalStepService: service(),\n\n  externalStep: null,\n\n  async beforeModel(transition) {\n    this._super(...arguments);\n    this.controllerFor('apps.app.users.user').set('selectedOption', 'all');\n\n    if (transition.to.queryParams.external_step) {\n      await this.onboardingHomeExternalStepService.start(transition.to.queryParams.external_step, {\n        source: 'all-conversations route beforeModel',\n      });\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport UserConversationsRoute from 'embercom/routes/base/user-conversations-route';\n\nexport default UserConversationsRoute.extend({\n  beforeModel() {\n    this._super(...arguments);\n    this.controllerFor('apps.app.users.user').set('selectedOption', 'conversations');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport UserConversationsRoute from 'embercom/routes/base/user-conversations-route';\n\nexport default UserConversationsRoute.extend({\n  beforeModel() {\n    this._super(...arguments);\n    this.controllerFor('apps.app.users.user').set('selectedOption', 'all-conversations');\n    this.transitionTo('apps.app.users.user.all-conversations');\n  },\n});\n","import Route from '@ember/routing/route';\n\nexport default class AppsAppVideoRoute extends Route {\n  analytics = {\n    place: 'video',\n    section: 'video',\n  };\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { captureException } from 'embercom/lib/sentry';\n\nexport default Route.extend({\n  setupController(controller, error) {\n    captureException(error, {\n      tags: { bootError: true },\n    });\n    console.log(error);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nlet AppsIndexRoute = Route.extend({\n  beforeModel() {\n    let apps = this.modelFor('apps').get('apps');\n    let defaultApp = apps.findBy('is_default_app');\n    let appIdToUse = (defaultApp && defaultApp.id) || apps.get('firstObject.id');\n    this.transitionTo('apps.app', appIdToUse);\n  },\n});\n\nexport default AppsIndexRoute;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport MarketingFont from 'embercom/lib/marketing-font';\n\nexport default Route.extend({\n  beforeModel() {\n    return MarketingFont.loadAkkuratPro();\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\nimport { EARLY_STAGE_SOLUTION_IDS } from 'embercom/lib/billing';\n\nexport default Route.extend({\n  notificationsService: service(),\n\n  beforeModel(transition) {\n    let queryParams = transition.to.queryParams;\n    let apps = this.modelFor('apps').get('apps');\n    let { after_signup_redirect_path, free, solution_id } = queryParams;\n    let defaultApp;\n    if (after_signup_redirect_path) {\n      let appId = this.parseAppId(after_signup_redirect_path);\n      defaultApp = apps.find(app => app.id === appId);\n    }\n\n    if (!defaultApp) {\n      defaultApp = apps.findBy('is_default_app');\n    }\n\n    let appToUse = defaultApp && defaultApp.id ? defaultApp : apps.get('lastObject');\n    if (!appToUse || !appToUse.id) {\n      queryParams.noApp = true;\n      return this.transitionTo('signup.teams.index', { queryParams });\n    }\n    let appIdToUse = appToUse.id;\n    if (free) {\n      this.setupFreeFeatureFlags(appToUse);\n    }\n\n    if (EARLY_STAGE_SOLUTION_IDS.includes(solution_id)) {\n      return this.transitionTo('apps.app.teams-checkout.early-stage-application', appIdToUse);\n    }\n\n    if (queryParams.developer) {\n      return this.transitionTo('apps.app.developer-hub', appIdToUse);\n    }\n    this.transitionTo('apps.app.teams-checkout.plan', appIdToUse);\n  },\n\n  setupFreeFeatureFlags(app) {\n    let params = {\n      url: `/ember/customers/${app.id}/update_subscription`,\n      type: 'post',\n      contentType: 'application/json',\n      data: JSON.stringify({ free: true }),\n    };\n    this.app = app;\n    return ajax(params)\n      .then(this.redirectToAppAndSendSuccessMessage.bind(this))\n      .catch(this.redirectToAppAndSendFailureMessage.bind(this));\n  },\n\n  async redirectToAppAndSendSuccessMessage() {\n    this.notificationsService.notifyConfirmation(\n      'You have successfully updated your subscription!',\n      5000,\n    );\n    this.redirectToApp();\n  },\n\n  redirectToAppAndSendFailureMessage(err) {\n    console.error(err);\n    let errorMessage =\n      (err && err.jqXHR && err.jqXHR.responseJSON && err.jqXHR.responseJSON.message) ||\n      'An unknown error occured! Please contact us for help';\n\n    this.notificationsService.notifyError(\n      `Your free plan could not be started. ${errorMessage}`,\n      5000,\n    );\n    this.redirectToApp();\n  },\n\n  redirectToApp() {\n    this.replaceWith('apps.app.home');\n  },\n\n  parseAppId(url) {\n    let match = url.match(/apps\\/(.*?)\\//);\n    return match && match.length > 1 && match[1];\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport { inject as service } from '@ember/service';\nimport AppstoreRoute from 'embercom/routes/base/appstore';\n\nexport default AppstoreRoute.extend({\n  intercomEventService: service(),\n  analytics: { place: 'public_app_store' },\n  appstoreMetaTagsService: service(),\n  gtmService: service(),\n\n  queryParams: {\n    category: {\n      refreshModel: true,\n    },\n    search: {\n      refreshModel: true,\n    },\n    capability: {\n      refreshModel: true,\n    },\n    features: {\n      refreshModel: false,\n    },\n  },\n\n  headTags() {\n    let category = this.controller?.get('selectedCategory');\n    let capability = this.controller?.get('selectedCapability');\n    return this.appstoreMetaTagsService.getMetaTags({ category, capability });\n  },\n\n  actions: {\n    didTransition() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'visited',\n        object: 'public_app_store',\n      });\n\n      if (this.appstoreService.shouldEnableGtmTracking()) {\n        this.gtmService.loadThirdPartyScripts();\n        this.gtmService.startTrackingPageViewsGlobally();\n      }\n    },\n  },\n});\n","import AppstoreAppPackageBaseRoute from 'embercom/routes/base/appstore/app-package';\nimport { inject as service } from '@ember/service';\n\nexport default AppstoreAppPackageBaseRoute.extend({\n  appstoreMetaTagsService: service(),\n\n  headTags() {\n    let appPackage = this.modelFor(this.routeName);\n    return this.appstoreMetaTagsService.getMetaTags({ appPackage });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default Route.extend({\n  appstoreMetaTagsService: service(),\n\n  headTags() {\n    // Only override the head tags if an app_package_code is provided\n    let appPackage = this.controller ? this.controller.get('selectedAppPackage') : null;\n    if (appPackage) {\n      return this.appstoreMetaTagsService.getMetaTags({ appPackage });\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  notificationsService: service('notificationsService'),\n  redirect() {\n    this.notificationsService.notifyError(\"We couldn't find the page you're looking for\", -1);\n    this.transitionTo('appstore');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nexport default Route.extend({\n  customerService: service(),\n\n  activate() {\n    this.customerService.refreshCustomer();\n  },\n  redirect() {\n    let guideRoute = this.routeName.replace(/about/, 'guide');\n    this.replaceWith(guideRoute);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport { inject as service } from '@ember/service';\nimport { hash } from 'rsvp';\nimport ajax from 'embercom/lib/ajax';\nimport { readOnly } from '@ember/object/computed';\n\nexport default IntercomRoute.extend({\n  iamService: service(),\n  appstoreService: service(),\n  appService: service(),\n\n  adminIsLoggedIn: readOnly('appService.app.currentAdmin'),\n\n  beforeModel(transition) {\n    this.iamService.boot();\n    let { category, search, installed, capability } = transition.to.queryParams;\n    if (search === '') {\n      this.transitionTo({ queryParams: { search: null } });\n      return;\n    }\n    let place = 'home';\n    let params = { page: 1 };\n    if (category) {\n      place = 'category';\n      params.category = category;\n    } else if (search) {\n      place = 'search';\n      params.search = search;\n    } else if (installed) {\n      place = 'installed';\n      params.installed = true;\n    } else if (capability) {\n      place = 'capability';\n      params.capability = capability;\n    }\n    this.setProperties({ 'analytics.place': place, params });\n  },\n\n  model() {\n    return hash({\n      appPackages: this.fetchAppPackages(),\n      defaultCategories: this.fetchDefaultCategories(),\n      featuredCategories: this.fetchFeaturedCategories(),\n      collections: this.fetchCollections(),\n      recentlyViewed: this.fetchRecentlyViewed(),\n    });\n  },\n\n  afterModel(model, transition) {\n    let title = this.appstoreService.generateTitle(transition.to.queryParams);\n    transition.trigger(false, 'setDocumentTitle', title);\n  },\n\n  fetchAppPackages() {\n    if (this.get('appService.app.useAppCardApi')) {\n      return this.store.query('appstore/app-card', this.params);\n    }\n    return this.store.query('appstore/app-package', this.params);\n  },\n\n  fetchDefaultCategories() {\n    return this.store.query('appstore/category', { category_type: 'default' });\n  },\n\n  fetchFeaturedCategories() {\n    return this.store.query('appstore/category', { category_type: 'featured' });\n  },\n\n  fetchCollections() {\n    return this.store.query('appstore/category', { category_type: 'collection' });\n  },\n\n  fetchRecentlyViewed() {\n    if (this.adminIsLoggedIn) {\n      return ajax({\n        url: '/ember/appstore/app_packages/recently_viewed',\n        type: 'GET',\n        data: {\n          admin_id: this['app,currentAdmin'],\n          app_id: this.get('app.id'),\n        },\n      });\n    }\n  },\n\n  setupController(controller, model) {\n    this._super(...arguments);\n\n    if (controller.displayFeaturedCategoriesGrid === true) {\n      controller.set('featuredCategoriesAndApps', this._segregateFeaturedApps(model));\n    }\n  },\n\n  _segregateFeaturedApps(model) {\n    let { appPackages, featuredCategories } = model;\n\n    let getCategoryIdsForAppPackage = appPackage =>\n      appPackage.categories.map(category => category.id);\n\n    return featuredCategories.reduce((accum, category) => {\n      accum.push({\n        category,\n        appPackages: appPackages.filter(ap =>\n          getCategoryIdsForAppPackage(ap).includes(category.id),\n        ),\n      });\n      return accum;\n    }, []);\n  },\n\n  actions: {\n    loading(transition) {\n      if (!this.controller) {\n        return true;\n      }\n\n      this.controller.set('currentlyLoading', true);\n      transition.promise.finally(() => {\n        this.controller.set('currentlyLoading', false);\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-private-routing-service */\nimport { inject as service } from '@ember/service';\nimport ErrorHandlingRoute from 'embercom/routes/base/error-handling-route';\n\nexport default ErrorHandlingRoute.extend({\n  appstoreService: service(),\n  router: service(),\n  beforeModel() {\n    let router = this.router._router._routerMicrolib;\n    let previousRoutes = router.currentHandlerInfos;\n    let previousRoute = previousRoutes && previousRoutes.pop();\n    if (previousRoute && previousRoute.name === this.get('appstoreService.baseRoute')) {\n      let queryParams = router.state.queryParams;\n      this.set('previousQueryParams', queryParams);\n    }\n  },\n  model({ id }) {\n    return this.store.findRecord('appstore/app-package', id);\n  },\n  afterModel(model, transition) {\n    let title = `${model.get('name')} | App Store`;\n    transition.trigger(false, 'setDocumentTitle', title);\n  },\n  handleError(error, transition) {\n    switch (error.status) {\n      case 404:\n        return this.displayErrorAndRedirect(\n          'Sorry but that app does not exist',\n          this.get('appstoreService.baseRoute'),\n        );\n    }\n  },\n  setupController(controller, model) {\n    controller.set('previousQueryParams', this.previousQueryParams);\n    this._super(...arguments);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { get } from '@ember/object';\nimport { isPresent } from '@ember/utils';\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\nimport { captureException } from 'embercom/lib/sentry';\n\nexport default Route.extend({\n  notificationsService: service(),\n  displayError(message) {\n    this.notificationsService.notifyError(message);\n  },\n  displayErrorAndRedirect(message, replacementRoute) {\n    this.notificationsService.notifyError(message);\n    this.replaceWith(replacementRoute);\n  },\n  actions: {\n    error(response, transition) {\n      if (isPresent(get(response, 'jqXHR.responseJSON.errors'))) {\n        let error = get(response, 'jqXHR.responseJSON.errors.firstObject');\n        this.handleError(error, transition);\n      } else if (isPresent(get(response, 'jqXHR.status'))) {\n        let error = { status: get(response, 'jqXHR.status') };\n        this.handleError(error, transition);\n      } else if (get(response, 'errors.firstObject')) {\n        let error = get(response, 'errors.firstObject');\n        this.handleError(error, transition);\n      } else {\n        captureException(response, {\n          fingerprint: ['unhandled-route-exception'],\n          extra: {\n            routeName: this.routeName,\n            queryParams: this.queryParams,\n          },\n        });\n\n        throw response;\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { on } from '@ember/object/evented';\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default Route.extend({\n  loadingIndicatorService: service(),\n  globalLoadingOn: on('activate', function() {\n    this.loadingIndicatorService.on();\n  }),\n  globalLoadingOff: on('deactivate', function() {\n    this.loadingIndicatorService.off();\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\n// For Start Screen Guide\nimport { valueOrDefault } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Route.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  paywallService: service(),\n  queryParams: {\n    openPaywall: { replace: true },\n  },\n\n  product: null,\n  productId: valueOrDefault('product.id', null),\n  solution: null,\n  solutionId: valueOrDefault('solution.id', null),\n  templateName: 'apps/app/guide/start-guide',\n  analytics: {\n    place: 'start_guide',\n  },\n\n  activate() {\n    this._super(...arguments);\n    let params = this.paramsFor(this.routeName);\n\n    if (params && params.openPaywall) {\n      this.paywallService\n        .open({ comment: 'Start Screen Guide: Platform index' })\n        .catch(this.paywallService.handleError);\n    }\n  },\n\n  setupController(controller, model) {\n    this._super(...arguments);\n    controller.set('product', this.product);\n    controller.set('solution', this.solution);\n  },\n});\n","import Route from '@ember/routing/route';\nimport ResetScroll from 'embercom/routes/mixins/reset-scroll';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { typeOf } from '@ember/utils';\n\nexport default class IndexRoute extends Route.extend(ResetScroll) {\n  @service appService;\n  @service intercomEventService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get productName() {\n    return this.product?.name || 'Platform';\n  }\n\n  get solutionName() {\n    return this.solution?.name || '';\n  }\n\n  get subjectName() {\n    return this.solution ? this.solutionName : this.productName;\n  }\n\n  get titleToken() {\n    return `${this.subjectName} Start guide`;\n  }\n\n  renderTemplate(controller, _model) {\n    super.renderTemplate(...arguments);\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'viewed',\n      object: this.solution || this.product || 'platform',\n      context: this.productName.toLowerCase(),\n    });\n  }\n\n  @action\n  navigateTo(params) {\n    let paramsArray = typeOf(params) === 'array' ? params : [params];\n    this.transitionTo(...paramsArray);\n  }\n}\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\nexport default IntercomRoute.extend({\n  analytics: {\n    place: 'insights',\n  },\n\n  model() {\n    return this.store.findAll('admin-pageview');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default Route.extend({\n  intercomEventService: service(),\n\n  markStart() {\n    this.mark('beforeModel');\n  },\n\n  markEnd() {\n    this.mark('afterModel');\n    this.measureDuration();\n  },\n\n  mark(name) {\n    if (window.performance && window.performance.mark) {\n      window.performance.mark(`route_${this.routeName}_${name}`);\n    }\n  },\n\n  measureDuration() {\n    if (window.performance && window.performance.measure) {\n      let prefix = `route_${this.routeName}_`;\n      window.performance.measure(\n        `${prefix}duration`,\n        `${prefix}beforeModel`,\n        `${prefix}afterModel`,\n      );\n    }\n  },\n\n  hidePrimaryNav() {\n    this.controllerFor('apps/app').set('showPrimaryNav', false);\n  },\n\n  showPrimaryNav() {\n    this.controllerFor('apps/app').set('showPrimaryNav', true);\n  },\n\n  _inInbox() {\n    let match =\n      this.routeName.match(/^apps.app.*.inbox.conversations.+$/) ||\n      this.routeName.match(/^apps.app.*.inbox.search.conversations.+$/) ||\n      this.routeName.match(/^apps.app.*.inbox.conversation$/) ||\n      [];\n    return match.length > 0;\n  },\n\n  activate() {\n    if (this.controller) {\n      this.set('controller.inInbox', this._inInbox());\n    }\n  },\n\n  deactivate() {\n    if (this.controller) {\n      this.set('controller.inInbox', false);\n    }\n  },\n\n  actions: {\n    didTransition() {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'navigated',\n        object: this.routeName,\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { Promise as EmberPromise } from 'rsvp';\nimport Route from '@ember/routing/route';\nlet MapBoxLoadingRoute = Route.extend({\n  beforeModel() {\n    let promise = new EmberPromise(\n      function(resolve) {\n        if (typeof window.L === 'undefined') {\n          return $.getScript('https://api.tiles.mapbox.com/mapbox.js/v1.6.2/mapbox.js')\n            .done(this.loadMapStyles)\n            .done(function() {\n              $.getScript(\n                'https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-markercluster/v0.4.0/leaflet.markercluster.js',\n              ).always(function() {\n                resolve();\n              });\n            })\n            .fail(function() {\n              resolve();\n            });\n        } else {\n          resolve();\n        }\n      }.bind(this),\n    );\n    return promise;\n  },\n  loadMapStyles() {\n    $('head').append(\n      $('<link rel=\"stylesheet\" type=\"text/css\" />').attr(\n        'href',\n        'https://api.tiles.mapbox.com/mapbox.js/v1.6.2/mapbox.css',\n      ),\n    );\n    $('head').append(\n      $('<link rel=\"stylesheet\" type=\"text/css\" />').attr(\n        'href',\n        'https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-markercluster/v0.4.0/MarkerCluster.css',\n      ),\n    );\n    $('head').append(\n      $('<link rel=\"stylesheet\" type=\"text/css\" />').attr(\n        'href',\n        'https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-markercluster/v0.4.0/MarkerCluster.Default.css',\n      ),\n    );\n  },\n});\nexport default MapBoxLoadingRoute;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\nimport ENV from 'embercom/config/environment';\n\nlet ModalNavigationWarningRoute = IntercomRoute.extend({\n  activate() {\n    let self = this;\n    if (ENV.environment !== 'test') {\n      window.onbeforeunload = function() {\n        let applicationController = self.controllerFor('application');\n        if (applicationController.get('shouldWarnOnNavigation')) {\n          let modalController = self.controllerFor(\n            applicationController.get('activeModalControllerPath'),\n          );\n          return modalController.get('warningMessage');\n        }\n      };\n    }\n  },\n  deactivate() {\n    if (ENV.environment !== 'test') {\n      window.onbeforeunload = undefined;\n    }\n  },\n\n  conditionallyTransition(transition, path) {\n    let shouldCloseModal = true;\n    let applicationController = this.controllerFor('application');\n    if (applicationController.get('shouldWarnOnNavigation')) {\n      let modalController = this.controllerFor(\n        applicationController.get('activeModalControllerPath'),\n      );\n      shouldCloseModal = window.confirm(modalController.get('warningMessage'));\n      if (shouldCloseModal) {\n        modalController.send('closeModal');\n      }\n      transition.abort();\n      //use history.pushState to get over the fact that the url has already\n      //changed by the time we get here\n      history.pushState({}, '', path);\n    } else {\n      return true;\n    }\n  },\n});\n\nexport default ModalNavigationWarningRoute;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\nimport { valueOrDefault } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Route.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  defaultRoutePath: null,\n  product: null,\n  productId: valueOrDefault('product.id', null),\n  shouldRedirect: true,\n\n  init() {\n    this._super(...arguments);\n    if (this.shouldRedirect && this.defaultRoutePath === null) {\n      throw new TypeError('Must set defaultRoutePath on product index route.');\n    }\n  },\n\n  afterModel() {\n    if (this.shouldRedirect) {\n      return this.replaceWith(this.defaultRoutePath);\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  conversationFeedService: service(),\n\n  beforeModel() {\n    this.setProperties({\n      user: this.modelFor('apps.app.users.user'),\n      app: this.modelFor('apps.app'),\n      admin: this.controllerFor('apps.app').get('admin'),\n    });\n  },\n  model() {\n    return this.conversationFeedService.getConversationsPage(this._searchOptions());\n  },\n  setupController(controller, model) {\n    this._super(controller, model);\n    controller.set('model', model.conversations);\n    controller.set('app', this.app);\n    controller.set('admin', this.admin);\n  },\n  _searchOptions() {\n    return EmberObject.create({\n      appId: this.get('app.id'),\n      adminId: this.get('admin.id'),\n      userId: this.get('user.id'),\n      scope: this.controllerFor('apps.app.users.user').get('selectedOption'),\n    });\n  },\n  actions: {\n    paginate() {\n      this.controller.set('isPaginating', true);\n\n      let searchOptions = this._searchOptions();\n      searchOptions.set('before', this.controller.get('conversations.lastObject.updated_at'));\n      searchOptions.set('currentConversations', this.controller.get('conversations'));\n\n      this.conversationFeedService.paginate(searchOptions).then(response => {\n        this.controller.setProperties({\n          isPaginating: false,\n          model: response.conversations,\n          hasMoreConversationsToLoad: response.hasMoreConversationsToLoad,\n        });\n      });\n    },\n\n    refresh() {\n      this.refresh();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\nimport { inject as service } from '@ember/service';\nimport IntercomRoute from 'embercom/routes/base/intercom-route';\n\nconst routesWhereWeShouldRetainTheSearchTerm = new Set([\n  'apps.app.users.segments.segment.index',\n  'apps.app.companies.segments.segment',\n]);\n\nexport default IntercomRoute.extend({\n  bootService: service(),\n  store: service(),\n\n  activate() {\n    this.bootService.deferSecondaryPhase();\n  },\n\n  actions: {\n    willTransition(transition) {\n      if (!routesWhereWeShouldRetainTheSearchTerm.has(transition.to.name)) {\n        // we are not doing... `this.controller.send('exitSearch')` because\n        // this would modify this.controller.searchTerm, which will cause an implicit\n        // query param transition, which will result in the URL for `apps.app.index` (e.g. a/apps/tx2p130c)\n        // to end up in the browser history, even though we transition away from it with a subsequent .replaceWith\n        transition.to.queryParams.searchTerm = '';\n        this.controller.set('showSearch', false);\n      }\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport Route from '@ember/routing/route';\nimport $ from 'jquery';\nimport { bind } from '@ember/runloop';\n\nexport default Route.extend({\n  activate() {\n    $('body').addClass('responsive');\n    document.title = 'Canvas Kit Builder';\n  },\n\n  deactivate() {\n    $('body').removeClass('responsive');\n  },\n\n  importModule() {\n    import('@intercom/canvas-kit-schema-linter').then(module => module.default());\n  },\n\n  beforeModel() {\n    $(document).on('codemirrorloaded', bind(this, this.importModule));\n  },\n\n  willDestroy() {\n    this._super(...arguments);\n    $(document).off('codemirrorloaded');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default Route.extend({\n  iamService: service(),\n  intercomEventService: service(),\n  queryParams: null,\n\n  beforeModel(transition) {\n    this.set('queryParams', transition.to.queryParams);\n    this.iamService.boot();\n  },\n\n  actions: {\n    didTransition() {\n      let referal = document.referrer;\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'visited',\n        section: 'index',\n        object: 'canvas-kit-builder',\n        queryParams: this.queryParams,\n        in_snippet: false,\n        referal,\n      });\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default Route.extend({\n  iamService: service(),\n  intercomEventService: service(),\n  queryParams: null,\n\n  async beforeModel(transition) {\n    this.set('queryParams', transition.to.queryParams);\n    await this.iamService.boot(); // need to display the launcher to fire analytics events but do not want it visible on this page.\n    window.Intercom('update', { hide_default_launcher: true });\n  },\n\n  actions: {\n    didTransition() {\n      let referal = document.referrer;\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'visited',\n        section: 'preview',\n        object: 'canvas-kit-builder',\n        queryParams: this.queryParams,\n        in_snippet: false,\n        referal,\n      });\n    },\n  },\n});\n","import Route from '@ember/routing/route';\n\nexport default class ChangesRoute extends Route {\n  beforeModel() {\n    window.location.replace('https://intercom.com/changes');\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  intercomEventService: service(),\n  beforeModel(transition) {\n    let queryParams = Object.assign(transition.to.queryParams || {}, {\n      developer: true,\n    });\n    this.replaceWith('signup.teams.index', {\n      queryParams,\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { EARLY_STAGE_SOLUTION_ID } from 'embercom/lib/billing';\nimport getTransitionParams from 'embercom/lib/router/get-transition-params';\n\nexport default Route.extend({\n  beforeModel(transition) {\n    let params = getTransitionParams(transition);\n    let queryParams = Object.assign(transition.to.queryParams || {}, {\n      partner: params['early-stage-partner'].partner,\n      solution_id: EARLY_STAGE_SOLUTION_ID,\n    });\n    this.replaceWith('signup.teams.index', {\n      queryParams,\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { EARLY_STAGE_SOLUTION_ID } from 'embercom/lib/billing';\n\nexport default Route.extend({\n  beforeModel(transition) {\n    let queryParams = Object.assign(transition.to.queryParams || {}, {\n      solution_id: EARLY_STAGE_SOLUTION_ID,\n    });\n    this.replaceWith('signup.teams.index', {\n      queryParams,\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { captureException } from 'embercom/lib/sentry';\n\nexport default Route.extend({\n  setupController(controller, error) {\n    captureException(error, {\n      tags: { bootError: true },\n    });\n    console.log(error);\n  },\n});\n","import Route from '@ember/routing/route';\nimport Graph from 'embercom/models/graph-editor/graph';\n\nconst CONNECTION_POINTS = [\n  { x: 50, y: -10, alignment: 'top' },\n  { x: -10, y: 50, alignment: 'left' },\n  { x: 10, y: 50, alignment: 'right' },\n  { x: 50, y: 10, alignment: 'bottom' },\n];\n\nexport { CONNECTION_POINTS };\n\nexport default class GraphDemoRoute extends Route {\n  model() {\n    let graph = new Graph();\n    for (let y = 100; y < 2000; y += 200) {\n      for (let x = 100; x < 2000; x += 200) {\n        let predecessor = graph.nodes.lastObject;\n        let node = graph.addNode({\n          position: { x, y },\n          connectionPoints: CONNECTION_POINTS,\n          dataObject: { color: Math.floor(Math.random() * 16777215).toString(16) },\n        });\n\n        if (x !== 100) {\n          graph.addEdge({\n            predecessor,\n            successor: node,\n          });\n        }\n      }\n    }\n    return graph;\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nlet AppsIndexRoute = Route.extend({\n  beforeModel() {\n    this.transitionTo('apps');\n  },\n});\n\nexport default AppsIndexRoute;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport { allSettled, hash } from 'rsvp';\nimport { computed } from '@ember/object';\nimport { mapBy, not, and } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\nimport MarketingFont from 'embercom/lib/marketing-font';\nimport Admin from 'embercom/models/admin';\nimport { containsByProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport ajax from 'embercom/lib/ajax';\nimport { LIVE_CHAT_SALES_SOLUTION_ID } from 'embercom/lib/billing';\n\nexport default Route.extend({\n  intercomEventService: service(),\n  iamService: service(),\n  router: service(),\n\n  adminAlreadyOnApp: containsByProperty('currentAdminAppIds', 'invite.appIdCode'),\n  currentAdminAppIds: mapBy('currentAdmin.apps', 'id'),\n  doesNotHaveCustomDataAttributes: not('invite.hasCustomDataAttributes'),\n  shouldRedirectToGuide: and('adminAlreadyOnApp', 'doesNotHaveCustomDataAttributes'),\n\n  hasLiveChatSalesSolution: computed('invite.signedUpWithSolutionId', function() {\n    return this.get('invite.signedUpWithSolutionId') === parseInt(LIVE_CHAT_SALES_SOLUTION_ID, 10);\n  }),\n\n  analytics: {\n    section: 'signup',\n    place: 'invite',\n  },\n\n  beforeModel() {\n    this.iamService.boot();\n    return allSettled(\n      [\n        MarketingFont.loadAkkuratPro(),\n        Admin.me(false).then(admin => {\n          this.set('currentAdmin', admin);\n        }),\n      ],\n      'load marketing font and admin',\n    );\n  },\n\n  model(params) {\n    return this.store.findRecord('invite', params.token).then(invite => {\n      let untrackedCdas;\n\n      if (invite.get('hasCustomDataAttributes')) {\n        this.intercomEventService.trackEvent('invite-link-visited', {\n          action: 'visited',\n          object: 'cda_invite_link',\n          place: 'invite_page',\n          owner: 'growth',\n        });\n\n        untrackedCdas = ajax({\n          url: `ember/untracked_custom_data_attributes?invite_token=${params.token}`,\n          type: 'GET',\n        });\n      }\n\n      return hash({\n        invite,\n        untrackedCdas,\n      });\n    });\n  },\n\n  afterModel(models) {\n    this.set('invite', models.invite);\n    if (this.shouldRedirectToGuide) {\n      this.transitionToGuide(models.invite);\n    }\n  },\n\n  setupController(controller, models) {\n    this._super(controller, models);\n\n    controller.set('untrackedCdas', models['untrackedCdas']);\n    controller.set('adminAlreadyOnApp', this.adminAlreadyOnApp);\n    controller.set('currentAdmin', this.currentAdmin);\n  },\n\n  _getRouteParameters(invite) {\n    let appId = invite.get('appIdCode');\n    let guideChecklistKey = invite.get('guideChecklistKey');\n    let guideTaskKey = invite.get('guideTaskKey');\n\n    let onboardingUseCasekey = invite.get('onboardingUseCaseKey');\n    let onboardingTaskKey = invite.get('onboardingTaskKey');\n\n    let onboardingHomeStepIdentifier = invite.get('onboardingHomeStepIdentifier');\n\n    if (guideChecklistKey && guideTaskKey) {\n      return [\n        `${this.guideRoutePath(invite)}.checklist.task`,\n        appId,\n        guideChecklistKey,\n        guideTaskKey,\n      ];\n    } else if (onboardingHomeStepIdentifier) {\n      return ['apps.app.home', appId, { queryParams: { step: onboardingHomeStepIdentifier } }];\n    } else if (onboardingUseCasekey && onboardingTaskKey) {\n      return ['apps.app.home', appId];\n    } else if (this.hasLiveChatSalesSolution) {\n      return [this.guideRoutePath(invite), appId];\n    } else {\n      return ['apps.app', appId];\n    }\n  },\n\n  guideRoutePath(invite) {\n    return 'apps.app.home';\n  },\n\n  transitionToGuide(invite) {\n    let routeParameters = this._getRouteParameters(invite, false);\n    this.transitionTo.apply(this, routeParameters);\n  },\n\n  actions: {\n    error(error) {\n      if (error && error.status === 404) {\n        document.location.href = '/404.html';\n      }\n    },\n\n    didTransition() {\n      let model = this.controller.get('model');\n      if (model.invite.get('guideTaskKey')) {\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'viewed',\n          object: model.invite,\n        });\n      }\n    },\n\n    /**\n     * Forces the app to go through rails, allowing it to properly handle\n     * things like two-factor authentication.\n     */\n    hardRedirectToGuide(invite) {\n      let routeParameters = this._getRouteParameters(invite);\n      let url = this.router.urlFor.apply(this.router, routeParameters);\n\n      document.location.href = url;\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport Route from '@ember/routing/route';\nimport { hash } from 'rsvp';\n\nexport default Route.extend({\n  activate() {\n    $('body').addClass('responsive');\n  },\n  model(params) {\n    let duration = params.duration ? this._getDurationFromString(params.duration) : '30';\n    let calendar = this.store.findRecord('meeting-scheduler/calendar', params.id, {\n      adapterOptions: { duration },\n    });\n    return hash({\n      calendar,\n      duration,\n    });\n  },\n  afterModel(model) {\n    this.set('title', `Meet with ${model.calendar.get('teammate.firstName')}`);\n  },\n  _getDurationFromString(durationString) {\n    return durationString.replace('min', '');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport Mixin from '@ember/object/mixin';\nimport ENV from 'embercom/config/environment';\nimport redirect from 'embercom/lib/redirect';\nimport { inject as service } from '@ember/service';\n\nlet AppRefresher = Mixin.create({\n  autoRefreshRegex: /^apps\\.app\\.([a-z]+)\\.index$/,\n  router: service(),\n\n  doRedirect(refreshUrl, transition) {\n    redirect(refreshUrl, transition);\n  },\n\n  setLastRefreshedAt() {\n    this.set('lastRefreshedAt', new Date().getTime());\n  },\n\n  lastRefreshGreaterThanTimeout() {\n    let now = new Date().getTime();\n    let lastRefreshedAt = this.lastRefreshedAt;\n    if (!lastRefreshedAt) {\n      return false;\n    }\n    let timeSinceLastRefresh = now - lastRefreshedAt;\n    return timeSinceLastRefresh > ENV.APP.refresh_app_after_minutes * 1000 * 60;\n  },\n\n  refreshAppIfAppropriate(transition) {\n    let transitionTarget = transition.to.name;\n    if (this.lastRefreshGreaterThanTimeout() && this.isAutoRefreshRoute(transitionTarget)) {\n      let refreshUrl = this.autoRefreshUrl(transition);\n      this.doRedirect(refreshUrl, transition);\n    }\n  },\n\n  isAutoRefreshRoute(routeName) {\n    return !!routeName.match(this.autoRefreshRegex);\n  },\n\n  autoRefreshUrl(transition) {\n    let rootUrl = this.router.rootURL.replace(/\\/$/, '');\n    let transitionUrl = transition.router.generate(transition.to.name);\n    return rootUrl + transitionUrl;\n  },\n});\n\nexport default AppRefresher;\n","import intercomPromiseConfirm from 'embercom/lib/intercom-confirm';\n// Checks if model has unsaved changes and prompts user on leaving the page\n// Differs from check-unsaved-changes by using a intercom confirm modal instead of browser's confirm\nconst unsavedChangesMessage = 'Warning: You have unsaved changes. Leave page?';\n\nexport function activate() {\n  window.onbeforeunload = function() {\n    if (this.controller && this.controller.get('model.hasDirtyAttributes')) {\n      return unsavedChangesMessage;\n    }\n  }.bind(this);\n}\n\nexport function deactivate() {\n  window.onbeforeunload = undefined;\n}\n\nexport async function willTransition(transition) {\n  this._super(...arguments);\n\n  if (this.controller.get('model.hasDirtyAttributes')) {\n    transition.abort();\n    try {\n      await intercomPromiseConfirm(this, {\n        title: 'Unsaved Changes',\n        body: 'You have unsaved changes. Do you want to discard them?',\n        confirmButtonText: 'Discard',\n        center: true,\n      });\n      if (this.cleanUpOnNavigatingAway) {\n        this.cleanUpOnNavigatingAway(this.controller);\n      }\n      return transition.retry().followRedirects();\n    } catch (e) {\n      return true;\n    }\n  } else {\n    return true;\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport Mixin from '@ember/object/mixin';\nimport { on } from '@ember/object/evented';\n// Checks if model has unsaved changes and prompts user on leaving the page\n\nexport default Mixin.create({\n  setupCheckUnsavedChanges: on('activate', function() {\n    window.onbeforeunload = function() {\n      if (this.controller && this.controller.get('model.hasDirtyAttributes')) {\n        return this.unsavedChangesMessage;\n      }\n    }.bind(this);\n  }),\n  teardownCheckUnsavedChanges: on('deactivate', function() {\n    window.onbeforeunload = undefined;\n  }),\n  actions: {\n    willTransition(transition) {\n      this._super(...arguments);\n\n      if (\n        this.controller.get('model.hasDirtyAttributes') &&\n        !window.confirm(this.unsavedChangesMessage)\n      ) {\n        transition.abort();\n      } else {\n        if (this.controller.get('model.hasDirtyAttributes') && this.cleanUpOnNavigatingAway) {\n          this.cleanUpOnNavigatingAway(this.controller);\n        }\n        return true;\n      }\n    },\n  },\n  unsavedChangesMessage: 'Warning: You have unsaved changes. Leave page?',\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport Mixin from '@ember/object/mixin';\nlet ConfirmModalMixin = Mixin.create({\n  actions: {\n    openConfirm(resolve, reject, options) {\n      let confirmationModalController = 'apps/app/confirm-modal';\n      this.controllerFor(confirmationModalController).setup(resolve, reject, options);\n      return this.render(confirmationModalController, {\n        into: 'application',\n        outlet: 'confirm',\n      });\n    },\n    closeConfirm() {\n      return this.disconnectOutlet({\n        outlet: 'confirm',\n        parentView: 'application',\n      });\n    },\n  },\n});\n\nexport default ConfirmModalMixin;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { on } from '@ember/object/evented';\nimport Mixin from '@ember/object/mixin';\nimport { inject as service } from '@ember/service';\nimport { isPresent } from '@ember/utils';\nimport ControlGroupStats from 'embercom/models/messages/control-group-stats';\nimport VariationStats from 'embercom/models/messages/variation-stats';\n\nexport default Mixin.create({\n  realTimeEventService: service(),\n  subscribeToMessageStatsUpdate: on('activate', function() {\n    this.realTimeEventService.subscribeTopics(['messages']);\n    this.realTimeEventService.on('MessageStatsUpdate', this, '_updateMessageStats');\n  }),\n  unsubscribeFromMessageStatsUpdate: on('deactivate', function() {\n    this.realTimeEventService.off('MessageStatsUpdate', this, '_updateMessageStats');\n    this.realTimeEventService.unsubscribeTopics(['messages']);\n  }),\n  _updateMessageStats(realtimeStats) {\n    let messageId = Object.keys(realtimeStats)[0];\n    let message = this.store.peekRecord('message', messageId);\n    if (isPresent(message)) {\n      let statsForMessage = realtimeStats[messageId];\n      message.get('variations').forEach(variation => {\n        statsForMessage[variation.get('id')].reply_type = variation.get('replyType');\n      });\n      let variationStats = VariationStats.translateFromRealTimeNotification(statsForMessage);\n      variationStats.forEach(variationStat => {\n        this.store.push(this.store.normalize('messages/variation-stats', variationStat));\n      });\n      if (isPresent(statsForMessage.control_group_stats)) {\n        let controlGroupStats = ControlGroupStats.translateFromRealTimeNotification(\n          statsForMessage.control_group_stats,\n        );\n        this.store.push(this.store.normalize('messages/control-group-stats', controlGroupStats));\n      }\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\n/* eslint-disable ember/no-jquery */\nimport Mixin from '@ember/object/mixin';\nimport $ from 'jquery';\nimport { on } from '@ember/object/evented';\nexport default Mixin.create({\n  scrollToTopOnActivate: on('activate', function() {\n    this._scrollToTop();\n  }),\n\n  _scrollToTop: () => {\n    $('.o__scrolls').scrollTop(0);\n  },\n\n  actions: {\n    scrollToTop() {\n      this._scrollToTop();\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport Mixin from '@ember/object/mixin';\nimport { inject as service } from '@ember/service';\nimport B64FilterParamEncoder from 'embercom/vendor/intercom/b64-filter-param-encoder';\n\nlet RailsSegmentParameters = Mixin.create({\n  router: service(),\n  parseRailsParameters(segmentIdentifier) {\n    if (segmentIdentifier.indexOf(':') > -1) {\n      let separated = segmentIdentifier.split(':');\n      segmentIdentifier = separated[0];\n      this.set('queryParameters', JSON.parse(B64FilterParamEncoder.b64Decode(separated[1])));\n    }\n    return segmentIdentifier;\n  },\n  applyRailsParameters(segment) {\n    let queryParameters = this.queryParameters;\n    if (queryParameters) {\n      if (queryParameters.predicates) {\n        segment.set('predicates', queryParameters.predicates);\n      } else if (queryParameters.search) {\n        this.send('setSearch', queryParameters.search);\n      }\n    }\n    this.set('queryParameters', undefined);\n  },\n  // we need to pass the segment because sometimes the controller is using a copy, not the route's model\n  addFiltersToUrl(segment) {\n    if (!this.get('router.location').replaceState) {\n      return;\n    }\n    // This isn't ideal, but at least it's more Ember friendly than messing with window.location directly.\n    // Because the `onUpdate` action fires as you edit the segment filters, we cannot use `replaceWith`\n    // because it does a transition which causes the editor to lose focus.\n    let newUrl = this.router.urlFor(\n      this.routeName,\n      B64FilterParamEncoder.segmentIdentifierWithFilters(segment),\n    );\n    this.get('router.location').replaceState(newUrl);\n  },\n});\n\nexport default RailsSegmentParameters;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-new-mixins */\nimport { isPresent } from '@ember/utils';\nimport Mixin from '@ember/object/mixin';\nimport RailsSegmentParameters from 'embercom/routes/mixins/users-and-companies/rails-segment-parameters';\n\nlet SegmentSetupModelAndController = Mixin.create(RailsSegmentParameters, {\n  model(params) {\n    let segmentIdentifier = this.parseRailsParameters(params.segment_identifier);\n    let segments = this.modelFor(this.companiesOrUsersRoute);\n    let segment = segments.findBy('identifier', segmentIdentifier);\n    if (segment === undefined) {\n      segment = segments.findBy('identifier', 'all-users');\n    }\n    if (params.predicates) {\n      segment.set('predicates', JSON.parse(params.predicates));\n    }\n    return segment;\n  },\n  afterModel(model) {\n    if (model.hasDirtyAttributes) {\n      model.rollbackAttributes();\n    }\n\n    // drop the search term if this is not one of the \"all\" segments\n    if (\n      this.paramsFor(this.companiesOrUsersRoute).searchTerm &&\n      !model.isUsersSegment &&\n      !model.isContactsSegment &&\n      !model.isAllSegment\n    ) {\n      this.transitionTo(this.routeName, model.identifier, { queryParams: { searchTerm: '' } });\n    }\n  },\n  setupController(controller, model) {\n    let app = this.modelFor('apps.app');\n\n    this.applyRailsParameters(model);\n\n    controller.setProperties({\n      model,\n      app,\n    });\n  },\n\n  serialize(model) {\n    return { segment_identifier: model.get('identifier') };\n  },\n  _hasQueryParamPredicates() {\n    return isPresent(this.get('queryParameters.predicates'));\n  },\n});\n\nexport default SegmentSetupModelAndController;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { later } from '@ember/runloop';\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n  router: service(),\n  notificationsService: service('notificationsService'),\n  redirect() {\n    let url = this.router.location.formatURL('/not-found');\n    if (window.location.pathname !== url) {\n      later(() => {\n        this.notificationsService.notifyError(\"We couldn't find the page you're looking for\", -1);\n      }, 3000);\n      this.transitionTo('apps');\n    }\n  },\n});\n","import IntercomRoute from 'embercom/routes/base/intercom-route';\n\nexport default IntercomRoute.extend({\n  model(params) {\n    return this.store.queryRecord('oauth/authorization-request', {\n      client_id: params.clientId,\n    });\n  },\n  afterModel(model, transition) {\n    transition.trigger(\n      false,\n      'setDocumentTitle',\n      `${model.get('appPackageName')} wants access to Intercom`,\n    );\n  },\n  activate() {\n    this.hidePrimaryNav();\n  },\n  deactivate() {\n    this.showPrimaryNav();\n  },\n});\n","import Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default class SamlRoute extends Route {\n  @service iamService;\n\n  beforeModel(_transition) {\n    this.iamService.boot();\n  }\n}\n","import Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { getSamlSignInErrorMessage } from 'embercom/lib/saml';\n\nexport default class SignInRoute extends Route {\n  @service redirectService;\n  @service iamService;\n  @service notificationsService;\n\n  beforeModel(transition) {\n    this.iamService.boot();\n\n    let errorCode = transition.to.queryParams.error_code;\n    if (errorCode !== undefined) {\n      let errorMessage = getSamlSignInErrorMessage(errorCode);\n      this.notificationsService.notifyError(errorMessage, 0);\n    }\n  }\n\n  model(params) {\n    return this.store.findRecord('app-sign-in-configuration', params.app_id);\n  }\n\n  afterModel(model) {\n    if (model.signedInWithAuthorizedMethod === true) {\n      this.transitionTo('apps.app', model.id);\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { inject as service } from '@ember/service';\nimport Route from '@ember/routing/route';\nimport MarketingFont from 'embercom/lib/marketing-font';\nimport AppInstall from 'embercom/models/app-install';\nimport { MARKETO_FORM_IDS } from 'embercom/lib/gtm';\nimport ENV from 'embercom/config/environment';\n\nexport default class SignupRoute extends Route {\n  @service intl;\n  @service iamService;\n  @service gtmService;\n  @service appService;\n  @service redirectService;\n\n  activate() {\n    document.body.classList.add('responsive');\n  }\n\n  deactivate() {\n    document.body.classList.remove('responsive', 'signup__teams__body');\n  }\n\n  beforeModel(_transition) {\n    this.iamService.boot();\n\n    document.body.classList.add('signup__teams__body');\n    MarketingFont.loadAkkuratPro();\n  }\n\n  model(params) {\n    let installProps = {\n      email: params.email,\n      name: params.name,\n      emailSubmissionId: params.emailSubmissionId,\n      securityResearcher: params.securityResearcher,\n      locale: params.locale,\n      operatorPage: params.operatorPage,\n      adBlockerDetected: false,\n      solutionId: params.solutionId,\n      perProductPricingFlow: params.perProductPricingFlow,\n      existingAdmin: params.existingAdmin,\n      purchaseExperience: 'v1',\n    };\n\n    return this.gtmService\n      .detectAdBlocker()\n      .then(blocked => {\n        installProps.adBlockerDetected = blocked;\n        return AppInstall.create(installProps);\n      })\n      .catch(() => {\n        return AppInstall.create(installProps);\n      });\n  }\n\n  afterModel(model, transition) {\n    this.gtmService.setupMarketo(MARKETO_FORM_IDS.trialSignupAppCreated);\n    this.gtmService.setupMarketo(MARKETO_FORM_IDS.trialSignupEnd);\n\n    if (transition.to.queryParams.developer) {\n      this.gtmService.setupMarketo(MARKETO_FORM_IDS.developerSignup);\n    }\n\n    return this.store\n      .createRecord('signup')\n      .state()\n      .then(signup => {\n        model.set('viaSingleSignOn', signup.get('viaSingleSignOn'));\n        model.set('authenticatedAdmin', signup.get('authenticatedAdmin'));\n        if (signup.get('authenticatedAdmin')) {\n          if (transition.to.queryParams.noApp) {\n            return;\n          } else if (!this.appService.app) {\n            this.transitionTo('apps.teams-checkout-redirect', {\n              queryParams: transition.to.queryParams,\n            });\n            return;\n          } else if (transition.to.queryParams.developer) {\n            this.redirectService.redirect(\n              `${window.location.origin}/a/apps/_/developer-hub`,\n              transition,\n            );\n          } else if (this.appService.app) {\n            this.redirectToPricingPage();\n          }\n        }\n\n        if (signup.get('ipCountryCode')) {\n          model.set('ipCountryCode', signup.get('ipCountryCode').toLowerCase());\n        }\n        if (model.email) {\n          this.gtmService.marketoTrialSignupStart(model.email);\n        }\n      });\n  }\n\n  redirectToPricingPage() {\n    window.location.replace(`${ENV.APP.marketingSiteUrl}/pricing`);\n    return;\n  }\n\n  buildRouteInfoMetadata() {\n    return {\n      responsibleTeam: 'team-purchase',\n    };\n  }\n}\n","import Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default class SignupGetStartred extends Route {\n  @service iamService;\n  @service purchaseAnalyticsService;\n\n  analytics = {\n    section: 'signup',\n    place: 'create_account',\n  };\n\n  activate() {\n    this.iamService.boot();\n\n    this.purchaseAnalyticsService.setDefaults();\n    this.purchaseAnalyticsService.trackEvent({\n      context: 'signup',\n      action: 'viewed',\n      object: 'blocking_screen',\n    });\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  beforeModel(transition) {\n    this.replaceWith('signup.teams.index', {\n      queryParams: transition.to.queryParams,\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject, inject as service } from '@ember/service';\nimport {\n  EARLY_STAGE_SOLUTION_ID,\n  CORE_EARLY_STAGE_SOLUTION_ID,\n  LATEST_PRICING_MODEL,\n  CORE_SOLUTION_ID,\n  CORE_PRICING_MODEL,\n  plansFromSolution,\n  solutionIdFromMarketingSiteTab,\n} from 'embercom/lib/billing';\n\nfunction cleanParam(param) {\n  if (param) {\n    return param.split('&')[0];\n  }\n  return param;\n}\n\nexport default Route.extend({\n  redirectService: service(),\n  stripe: inject('stripev3'),\n  iamService: service(),\n\n  beforeModel() {\n    this.iamService.boot();\n    return this.stripe.load();\n  },\n\n  model({ solutionId, isPro = false, addOnPlanIds = [], partnerSource }, transition) {\n    if (!solutionId) {\n      let referrer = document.referrer;\n      let tab = cleanParam(referrer.split('tab=')[1]);\n      solutionId = solutionIdFromMarketingSiteTab(tab);\n    }\n    let priceQuery = {\n      pricing_model_identifier: this.choosePricingModel(solutionId),\n      plan_ids: [...plansFromSolution(isPro, parseInt(solutionId, 10)), ...addOnPlanIds],\n    };\n\n    if (solutionId === CORE_EARLY_STAGE_SOLUTION_ID) {\n      priceQuery.coupon_code = partnerSource\n        ? 'EarlyStageCoreCouponStarter'\n        : 'EarlyStageCoreCouponStandard';\n    }\n\n    return this.store.query('price', priceQuery);\n  },\n\n  choosePricingModel(solutionId) {\n    let solutionPricingModels = {\n      [EARLY_STAGE_SOLUTION_ID]: 'per_product_pricing_early_stage',\n      [CORE_SOLUTION_ID]: CORE_PRICING_MODEL,\n      [CORE_EARLY_STAGE_SOLUTION_ID]: CORE_PRICING_MODEL,\n    };\n\n    return solutionPricingModels[solutionId] || LATEST_PRICING_MODEL;\n  },\n\n  setupController(controller, model, transition) {\n    this._super(...arguments);\n    this.controllerFor('signup').set('purchaseExperience', 'v3');\n    if (transition.to.queryParams.after_signup_redirect_path) {\n      this.redirectService.setRedirectPath(transition.to.queryParams.after_signup_redirect_path);\n    }\n    controller.set('model', model.firstObject);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-controller-access-in-routes */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\nimport { setPricingParamsIfEmpty } from 'embercom/lib/purchase/setup';\n\nexport default Route.extend({\n  purchaseAnalyticsService: service(),\n\n  setupController(controller, model, transition) {\n    this._super(...arguments);\n\n    this.purchaseAnalyticsService.setDefaults();\n    controller.hideWidgetIfAppropriate();\n    if (!transition.to.queryParams.developer) {\n      setPricingParamsIfEmpty(controller, transition);\n    }\n\n    if (controller.firstName && controller.lastName) {\n      controller.set(\n        'name',\n        `${controller.firstName.capitalize()} ${controller.lastName.capitalize()}`,\n      );\n    }\n\n    if (transition.to.queryParams.couponCode) {\n      window.sessionStorage['intercom-coupon-code'] = transition.to.queryParams.couponCode;\n    }\n\n    if (transition.to.queryParams.qa) {\n      controller.model.setProperties({\n        email: `bob+qa-${new Date().valueOf()}viaurl@intercom.io`,\n        appName: 'IntercomQATest',\n        name: 'Bob QATest',\n      });\n    }\n  },\n  actions: {\n    didTransition() {\n      let controller = this.controllerFor('signup.teams.index');\n      let event = {\n        action: 'viewed',\n        context: 'usecase_signup_flow',\n        place: 'create_account',\n        object: 'create_account',\n        section: 'create_account',\n        planIds: controller.addOnPlanIds,\n        solutionId: controller.solutionId,\n        pro: controller.isPro,\n        free: controller.free,\n        gclid: controller.gclid,\n        emailSubmissionId: controller.emailSubmissionId,\n        via_single_sign_on: controller.get('appInstall.viaSingleSignOn'),\n        mobile: this.get('controller.mobileDevice'),\n        developer: controller.developer,\n        addOn: controller.addOn,\n      };\n\n      this.purchaseAnalyticsService.trackPageView(event);\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Route from '@ember/routing/route';\nexport default Route.extend({\n  beforeModel(transition) {\n    this.replaceWith('signup.teams.index', {\n      queryParams: transition.to.queryParams,\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport Route from '@ember/routing/route';\nimport Admin from 'embercom/models/admin';\n\nexport default class VideoRoute extends Route {\n  activate() {\n    document.body.classList.add('responsive');\n  }\n\n  deactivate() {\n    document.body.classList.remove('responsive');\n  }\n\n  beforeModel() {\n    return Admin.meWithoutRedirect()\n      .then(admin => {\n        this.transitionTo('apps.app.video', admin.get('current_app_id'));\n      })\n      .catch(() => {\n        //show them the video without the Messenger on this route as they are not authenticated\n      });\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport JSONSerializer from '@ember-data/serializer/json';\n\nexport default JSONSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    note: { embedded: 'always' },\n    segment: { embedded: 'always' },\n    tag: { embedded: 'always' },\n    conversation: { embedded: 'always' },\n  },\n});\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend({\n  primaryKey: 'admin_id',\n\n  // By default, ember will try to singluarize the key to get the model name\n  modelNameFromPayloadKey() {\n    return 'admin-notification-settings';\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    app_permissions: { embedded: 'always' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    ruleset: { embedded: 'always' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    archetype: { embedded: 'always' },\n    examples: { embedded: 'always' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    attributes: {\n      serialize: 'records',\n      deserialize: 'records',\n    },\n    attribute_settings: {\n      serialize: 'records',\n      deserialize: 'records',\n    },\n    features: {\n      serialize: 'records',\n      deserialize: 'records',\n    },\n    products: {\n      serialize: 'records',\n      deserialize: 'records',\n    },\n    qualification_attributes: {\n      serialize: 'records',\n      deserialize: 'records',\n    },\n    segments: {\n      serialize: 'records',\n      deserialize: 'records',\n    },\n    sdkApps: {\n      serialize: 'records',\n      deserialize: 'records',\n    },\n    plans: {\n      serialize: 'records',\n      deserialize: 'records',\n    },\n    admins: {\n      serialize: 'records',\n      deserialize: 'records',\n    },\n    tags: {\n      serialize: 'records',\n      deserialize: 'records',\n    },\n  },\n});\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\nexport default EmbercomBaseSerializer.extend({});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    categories: {\n      serialize: false,\n      deserialize: 'records',\n    },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    categories: {\n      serialize: false,\n      deserialize: 'records',\n    },\n    messengerApp: {\n      serialize: false,\n      deserialize: 'records',\n    },\n  },\n});\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend({\n  attrs: {\n    parent: { key: 'parent_id' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    folder: { key: 'folder_id' },\n    ruleset: { embedded: 'always' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default class ArticleSerializer extends EmbercomBaseSerializer.extend(EmbeddedRecordsMixin) {\n  attrs = {\n    folder: { key: 'folder_id' },\n    stats: { embedded: 'always' },\n  };\n}\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend({\n  attrs: {\n    parent: { key: 'parent_id' },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport JSONAPISerializer from '@ember-data/serializer/json-api';\n\nexport default JSONAPISerializer.extend({});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  primaryKey: 'identifier',\n  attrs: {\n    options: {\n      serialize: 'records',\n      deserialize: 'records',\n    },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    localizedBannerContents: { embedded: 'always' },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport JSONSerializer from '@ember-data/serializer/json';\nimport RESTSerializer from '@ember-data/serializer/rest';\nimport { isArray } from '@ember/array';\nimport { decamelize, underscore } from '@ember/string';\nimport { pluralize } from 'ember-inflector';\n\nlet restSerializer = RESTSerializer.create();\n\nexport default JSONSerializer.extend({\n  serialize(snapshot, options = {}) {\n    options.includeId = true;\n    return this._super(snapshot, options);\n  },\n  keyForAttribute(attr) {\n    return decamelize(attr);\n  },\n  keyForRelationship(attr) {\n    return decamelize(attr);\n  },\n  modelNameFromPayloadKey: restSerializer.modelNameFromPayloadKey,\n  pushPayload: restSerializer.pushPayload,\n  warnMessageNoModelForKey: restSerializer.warnMessageNoModelForKey,\n\n  normalizeArrayResponse(store, primaryModelClass, payload, id, requestType) {\n    let extractedPayload = this.extractArrayPayload(primaryModelClass.modelName, payload);\n    return this._super(store, primaryModelClass, extractedPayload, id, requestType);\n  },\n\n  // Optional, custom key to extract an array response payload\n  collectionKey: null,\n\n  extractArrayPayload(modelName, payload) {\n    if (isArray(payload)) {\n      return payload;\n    }\n\n    let key = this.collectionKey || underscore(pluralize(modelName));\n    let extractedPayload = payload[key] ? payload[key] : payload;\n    extractedPayload.meta = payload.meta;\n\n    return extractedPayload;\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default class ContractSerializer extends EmbercomBaseSerializer.extend(\n  EmbeddedRecordsMixin,\n) {\n  attrs = {\n    currentPrice: { embedded: 'always' },\n  };\n}\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend({\n  collectionKey: 'blocked_users',\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default class BrandSerializer extends EmbercomBaseSerializer.extend(EmbeddedRecordsMixin) {\n  attrs = {\n    brandDomains: { embedded: 'always' },\n  };\n}\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    messages: { embedded: 'always' },\n    stats: { serialize: false },\n    migratedSeries: { key: 'migrated_series_id' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    cancellationReasons: { embedded: 'always' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\nexport default class CarouselScreenSerializer extends EmbercomBaseSerializer.extend(\n  EmbeddedRecordsMixin,\n) {\n  attrs = {\n    carouselActions: { embedded: 'always' },\n    templateId: {\n      serialize: false,\n    },\n  };\n}\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\nexport default class CarouselSerializer extends EmbercomBaseSerializer.extend(\n  EmbeddedRecordsMixin,\n) {\n  attrs = {\n    localizedCarouselContents: { embedded: 'always' },\n    textColor: {\n      serialize: false,\n    },\n    backgroundColor: {\n      serialize: false,\n    },\n    actionsColor: {\n      serialize: false,\n    },\n    verticalAlignment: {\n      serialize: false,\n    },\n  };\n}\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\nexport default class LocalizedCarouselContentSerializer extends EmbercomBaseSerializer.extend(\n  EmbeddedRecordsMixin,\n) {\n  attrs = {\n    carouselScreens: { embedded: 'always' },\n  };\n}\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default class ChatSerializer extends EmbercomBaseSerializer.extend(EmbeddedRecordsMixin) {\n  attrs = {\n    localizedChatContents: { embedded: 'always' },\n  };\n}\n","import BlockSerializer from './block';\n\nexport default BlockSerializer.extend();\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\nimport { isPresent } from '@ember/utils';\nimport { assert } from '@ember/debug';\n\nexport default EmbercomBaseSerializer.extend({\n  keyForAttribute(attr) {\n    if (attr === 'contentType') {\n      return attr;\n    }\n    return this._super(...arguments);\n  },\n\n  serialize(snapshot, options) {\n    let serialized = this._super(snapshot, options);\n    if (isPresent(serialized.attachment_id)) {\n      serialized.id = serialized.attachment_id;\n      delete serialized.attachment_id;\n    } else {\n      assert('Attachments must have an attachment id to be serialized correctly');\n    }\n    return serialized;\n  },\n});\n","import { isBlank } from '@ember/utils';\nimport { dasherize } from '@ember/string';\nimport { A } from '@ember/array';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend({\n  optionalAttributes: A(),\n  keyForAttribute(attr) {\n    return attr;\n  },\n  normalize(modelClass, resourceHash) {\n    let result = this._super(modelClass, resourceHash);\n    if (result.data.attributes.type) {\n      Object.assign(result.data.attributes, resourceHash, {\n        modelKey: `common/blocks/${dasherize(result.data.attributes.type)}`,\n      });\n    }\n    if (result.data.attributes.type === 'video') {\n      Object.assign(result.data.attributes, {\n        videoId: resourceHash.id,\n      });\n      delete result.data.attributes.id;\n    }\n    if (result.data.attributes.type === 'attachmentList') {\n      result.data.attributes.attachments = result.data.attributes.attachments || [];\n      result.data.attributes.attachments = result.data.attributes.attachments.map(attachment => {\n        let copiedAttachment = Object.assign({}, attachment, {\n          attachmentId: attachment.id,\n        });\n\n        delete copiedAttachment.id;\n        return copiedAttachment;\n      });\n    }\n    return result;\n  },\n  serialize(snapshot, options) {\n    let serialized = this._super(snapshot, options);\n    this.optionalAttributes.forEach(optionalAttribute => {\n      if (isBlank(serialized[optionalAttribute])) {\n        delete serialized[optionalAttribute];\n      }\n    });\n    return serialized;\n  },\n});\n","import BlockSerializer from './block';\n\nconst OPTIONAL_BLOCK_ATTRIBUTES = ['align', 'trackingLinkUrl'];\n\nexport default BlockSerializer.extend({\n  optionalAttributes: OPTIONAL_BLOCK_ATTRIBUTES,\n});\n","import { A } from '@ember/array';\nimport BlockSerializer from './block';\n\nconst OPTIONAL_BLOCK_ATTRIBUTES = A(['align']);\n\nexport default BlockSerializer.extend({\n  optionalAttributes: OPTIONAL_BLOCK_ATTRIBUTES,\n});\n","import { A } from '@ember/array';\nimport BlockSerializer from './block';\n\nconst OPTIONAL_BLOCK_ATTRIBUTES = A(['imageUrl']);\n\nexport default BlockSerializer.extend({\n  optionalAttributes: OPTIONAL_BLOCK_ATTRIBUTES,\n});\n","import { A } from '@ember/array';\nimport BlockSerializer from './block';\n\nconst OPTIONAL_BLOCK_ATTRIBUTES = A(['align', 'linkUrl', 'text', 'trackingLinkUrl']);\n\nexport default BlockSerializer.extend({\n  optionalAttributes: OPTIONAL_BLOCK_ATTRIBUTES,\n});\n","import { A } from '@ember/array';\nimport BlockSerializer from './block';\n\nconst OPTIONAL_BLOCK_ATTRIBUTES = A(['align']);\n\nexport default BlockSerializer.extend({\n  optionalAttributes: OPTIONAL_BLOCK_ATTRIBUTES,\n});\n","import { A } from '@ember/array';\nimport BlockSerializer from './block';\n\nconst OPTIONAL_BLOCK_ATTRIBUTES = A(['align']);\n\nexport default BlockSerializer.extend({\n  optionalAttributes: OPTIONAL_BLOCK_ATTRIBUTES,\n});\n","import BlockSerializer from './block';\n\nexport default BlockSerializer.extend();\n","import { assert } from '@ember/debug';\nimport { isPresent } from '@ember/utils';\nimport { A } from '@ember/array';\nimport BlockSerializer from './block';\n\nconst OPTIONAL_BLOCK_ATTRIBUTES = A(['text', 'trackingLinkUrl']);\n\nexport default BlockSerializer.extend({\n  optionalAttributes: OPTIONAL_BLOCK_ATTRIBUTES,\n  serialize(snapshot, options) {\n    let serialized = this._super(snapshot, options);\n    if (isPresent(serialized.videoId)) {\n      serialized.id = serialized.videoId;\n      delete serialized.videoId;\n    } else {\n      assert('video blocks must have a videoId to be serialized correctly');\n    }\n    return serialized;\n  },\n});\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\nexport default EmbercomBaseSerializer.extend({\n  serialize(snapshot, options) {\n    let serialized = this._super(snapshot, options);\n    if (serialized.hasOwnProperty('value_description')) {\n      delete serialized.value_description;\n    }\n    if (serialized.type === 'or' || serialized.type === 'and') {\n      delete serialized.attribute;\n      delete serialized.comparison;\n      delete serialized.value;\n    } else {\n      delete serialized.predicates;\n    }\n    return serialized;\n  },\n});\n","import SubviewSerializer from './subview';\nimport { getOwner } from '@ember/application';\n\nexport default class ContentBlockSerializer extends SubviewSerializer {\n  normalize(modelClass, resourceHash) {\n    let result = super.normalize(modelClass, resourceHash);\n    let store = getOwner(this).lookup('service:store');\n    Object.assign(result.data.attributes, {\n      appearance: store.normalize('common/subviews/appearance', resourceHash.appearance).data\n        .attributes,\n      block: store.normalize('common/blocks/block', resourceHash.block).data.attributes,\n    });\n    return result;\n  }\n}\n","import SubviewSerializer from './subview';\n\nexport default SubviewSerializer;\n","import { dasherize } from '@ember/string';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\nimport { getOwner } from '@ember/application';\n\nexport default class SubviewSerializer extends EmbercomBaseSerializer {\n  normalize(modelClass, resourceHash) {\n    let result = super.normalize(...arguments);\n    if (result.data.attributes.type) {\n      Object.assign(result.data.attributes, resourceHash, {\n        modelKey: `common/subviews/${dasherize(result.data.attributes.type)}`,\n      });\n    }\n    if (result.data.attributes.subviews) {\n      Object.assign(result.data.attributes, {\n        subviews: this.normalizeRecursively(result.data.attributes.subviews),\n      });\n    }\n    return result;\n  }\n\n  normalizeRecursively(subviews) {\n    let store = getOwner(this).lookup('service:store');\n    return subviews.map(subview => {\n      let modelKey = `common/subviews/${dasherize(subview.type)}`;\n      return store.normalize(modelKey, subview, true).data.attributes;\n    });\n  }\n}\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  collectionKey: 'companies',\n\n  attrs: {\n    notes: { key: 'note_ids' },\n    plan: { key: 'plan_id' },\n    segments: { key: 'segment_ids' },\n    tags: { key: 'tag_ids' },\n    taggings: {\n      serialize: 'records',\n      deserialize: 'records',\n    },\n  },\n});\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend({\n  attrs: {\n    integration: { key: 'integration_id' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default class ConversationAttributeDescriptorSerializer extends EmbercomBaseSerializer.extend(\n  EmbeddedRecordsMixin,\n) {\n  attrs = {\n    listOptions: { embedded: 'always' },\n  };\n}\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    taggings: {\n      serialize: 'records',\n      deserialize: 'records',\n    },\n    uploads: {\n      embedded: 'always',\n    },\n    _rule: {\n      key: 'rule',\n      serialize: false,\n      deserialize: 'records',\n    },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    drafts: {\n      embedded: 'always',\n    },\n\n    participants: {\n      embedded: 'always',\n    },\n\n    conversationAttributes: {\n      embedded: 'always',\n    },\n\n    first_user_part: {\n      embedded: 'always',\n    },\n\n    initiator: {\n      embedded: 'always',\n    },\n\n    last_part: {\n      embedded: 'always',\n    },\n\n    last_action_part: {\n      embedded: 'always',\n    },\n\n    last_part_where_current_admin_is_mentioned: {\n      embedded: 'always',\n    },\n\n    last_part_with_content_excluding_operator_v2: {\n      embedded: 'always',\n    },\n\n    topics: {\n      deserialize: 'records',\n    },\n  },\n\n  normalize(modelClass, resourceHash) {\n    if (resourceHash && resourceHash.id) {\n      let existingRecord = this.store.peekRecord('conversation', resourceHash.id);\n\n      if (existingRecord) {\n        // We rollback the attributes of the existing record here because Ember Data forces the value of a dirty attribute [1]\n        // to take precedence over the value returned from the server. This can cause problems when we set, for example, the\n        // state of the conversation in the client to CLOSED and the conversation syncing operation loads the conversation,\n        // which has been OPENED in the meantime. Since we have set the value of the attribute to CLOSED, it will always return\n        // the CLOSED value because the attribute is dirty even though the actual value in the model is OPENED.\n        //\n        // With this in mind, if the client receives an update from the server, we always want it to read the latest attribute\n        // value from the server (and not the dirty attribute value which takes precedence) so we rollback any dirty attributes\n        // on the model.\n        //\n        // 1: A dirty attribute is an model attribute updated locally in the client\n        existingRecord.rollbackAttributes();\n      }\n\n      if (!resourceHash.links) {\n        resourceHash.links = {};\n      }\n\n      resourceHash.links.taggings = `/ember/conversations/tags.json?conversation_id=${resourceHash.id}`;\n    }\n\n    return this._super(modelClass, resourceHash);\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default class TopicSerializer extends EmbercomBaseSerializer.extend(EmbeddedRecordsMixin) {\n  attrs = {\n    subTopics: { embedded: 'always' },\n    parent: { key: 'parent_id' },\n  };\n}\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend({\n  collectionKey: 'sender_emails',\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    archived_attributes: {\n      serialize: 'records',\n      deserialize: 'records',\n    },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    appPackage: { key: 'app_package_id' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    apiVersion: {\n      deserialize: 'records',\n      serialize: 'records',\n    },\n  },\n});\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend();\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend({\n  collectionKey: 'dkim_settings',\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default class EmailSerializer extends EmbercomBaseSerializer.extend(EmbeddedRecordsMixin) {\n  attrs = {\n    localizedEmailContents: { embedded: 'always' },\n  };\n}\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    archived_events: {\n      serialize: 'records',\n      deserialize: 'records',\n    },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\n\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    eventTrigger: 'trigger',\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    pages: {\n      serialize: false,\n      deserialize: 'records',\n    },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    repositories: {\n      serialize: false,\n      deserialize: 'records',\n    },\n  },\n});\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend({\n  primaryKey: 'full_name',\n});\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend({\n  attrs: {\n    repository: {\n      key: 'name',\n    },\n  },\n  normalize(modelClass, resourceHash) {\n    let result = this._super(modelClass, resourceHash);\n    Object.assign(result.data.attributes, resourceHash, {\n      fullName: resourceHash.repository,\n    });\n\n    return result;\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    rooms: {\n      serialize: false,\n      deserialize: 'records',\n    },\n    topics: {\n      serialize: false,\n      deserialize: 'records',\n    },\n    subscriptions: {\n      serialize: false,\n      deserialize: 'records',\n    },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    topics: {\n      serialize: 'ids',\n      deserialize: 'ids',\n    },\n    room: {\n      key: 'room_id',\n    },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {});\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\n// only convert the ones we know about\nconst CONVERSATION_ATTRIBUTES = {\n  manual_tag_ids: 'conversation.tag_ids',\n  assignee_id: 'conversation.assignee_id',\n  waiting_since: 'conversation.waiting_since',\n  next_breach_time: 'conversation.next_breach_time',\n};\n\nfunction ensurePredicatesArePrefixed(predicates) {\n  predicates.forEach(predicate => {\n    if (predicate.predicates) {\n      ensurePredicatesArePrefixed(predicate.predicates);\n    } else if (CONVERSATION_ATTRIBUTES[predicate.attribute]) {\n      predicate.attribute = CONVERSATION_ATTRIBUTES[predicate.attribute];\n    }\n  });\n}\n\nexport default EmbercomBaseSerializer.extend({\n  normalize(typeClass, hash) {\n    let payload = this._super(...arguments);\n    ensurePredicatesArePrefixed(payload.data.attributes.predicateGroup?.predicates || []);\n    return payload;\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    sections: { embedded: 'always' },\n  },\n\n  normalizeResponse(store, primaryModelClass, payload, id, requestType) {\n    payload = this.alterIdsForNonpersistedSections(payload);\n    return this._super(...arguments);\n  },\n\n  alterIdsForNonpersistedSections(payload) {\n    payload.sections.forEach(function(section) {\n      if (section.id === null) {\n        section.id = section.name;\n      }\n    });\n    return payload;\n  },\n});\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend({\n  normalizeResponse(store, primaryModelClass, payload, id, requestType) {\n    this.addIdsToSections(payload);\n    return this._super(...arguments);\n  },\n\n  addIdsToSections(payload) {\n    payload.forEach(function(section) {\n      if (section.id === null) {\n        section.id = section.name;\n      }\n    });\n    return payload;\n  },\n});\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend({\n  normalize(typeClass, hash) {\n    if (!hash.id) {\n      hash.id = 'fake';\n    }\n    if (hash.per_variation_stats) {\n      this.deleteIdAndTypeFromVariationStats(hash);\n      this.unwrapPerVariationStats(hash);\n    }\n\n    let normalized = this._super(typeClass, hash);\n    return normalized;\n  },\n\n  deleteIdAndTypeFromVariationStats(hash) {\n    for (let statKey in hash.per_variation_stats) {\n      if (hash.per_variation_stats.hasOwnProperty(statKey)) {\n        hash.per_variation_stats[statKey].forEach(s => {\n          delete s.id;\n          delete s.type;\n        });\n      }\n    }\n  },\n\n  unwrapPerVariationStats(hash) {\n    hash.in_app_variation_stats = hash.per_variation_stats.inApps;\n    hash.email_variation_stats = hash.per_variation_stats.emails;\n    hash.variation_stats = hash.per_variation_stats.visitor_auto_messages;\n\n    delete hash.per_variation_stats;\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    subPages: { embedded: 'always' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    billAheadPreSubtotalLineItems: { embedded: 'always' },\n    billAheadCouponLineItems: { embedded: 'always' },\n    billAheadFixedPriceDiscountLineItems: { embedded: 'always' },\n    billAheadMultiProductDiscountLineItems: { embedded: 'always' },\n    billAheadPermanentDiscountLineItems: { embedded: 'always' },\n    billAheadVatLineItems: { embedded: 'always' },\n    outOfPeriodCouponLineItems: { embedded: 'always' },\n    outOfPeriodPermanentDiscountLineItems: { embedded: 'always' },\n    outOfPeriodVatLineItems: { embedded: 'always' },\n    outOfPeriodCreditLineItems: { embedded: 'always' },\n    retrospectiveCouponLineItems: { embedded: 'always' },\n    retrospectiveMultiProductDiscountLineItems: { embedded: 'always' },\n    retrospectiveFixedPriceDiscountLineItems: { embedded: 'always' },\n    retrospectivePermanentDiscountLineItems: { embedded: 'always' },\n    retrospectivePreSubtotalLineItems: { embedded: 'always' },\n    retrospectivePrepaidCreditLineItems: { embedded: 'always' },\n    retrospectiveVatLineItems: { embedded: 'always' },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport JSONAPISerializer from '@ember-data/serializer/json-api';\n\nexport default JSONAPISerializer.extend({});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    lastStateChange: { embedded: 'always' },\n    object: { embedded: 'always' },\n    objectStats: { embedded: 'always' },\n    contentObject: { embedded: 'always' },\n    contentPreview: { embedded: 'always' },\n    wentLiveAt: {\n      serialize: false,\n    },\n  },\n});\n","import RulesetLinkSerializer from '../ruleset-link';\n\nexport default RulesetLinkSerializer;\n","import RulesetLinkSerializer from '../ruleset-link';\n\nexport default RulesetLinkSerializer;\n","import RulesetLinkSerializer from '../ruleset-link';\n\nexport default RulesetLinkSerializer;\n","import RulesetLinkSerializer from '../ruleset-link';\n\nexport default RulesetLinkSerializer;\n","import RulesetLinkSerializer from '../ruleset-link';\n\nexport default RulesetLinkSerializer;\n","import RulesetLinkSerializer from '../ruleset-link';\n\nexport default RulesetLinkSerializer;\n","import RulesetLinkSerializer from 'embercom/serializers/matching-system/ruleset-link';\nexport default RulesetLinkSerializer;\n","import RulesetLinkSerializer from '../ruleset-link';\n\nexport default RulesetLinkSerializer;\n","import RulesetLinkSerializer from '../ruleset-link';\n\nexport default RulesetLinkSerializer;\n","import RulesetLinkSerializer from '../ruleset-link';\n\nexport default RulesetLinkSerializer;\n","import RulesetLinkSerializer from 'embercom/serializers/matching-system/ruleset-link';\n\nexport default RulesetLinkSerializer;\n","import RulesetLinkSerializer from 'embercom/serializers/matching-system/ruleset-link';\n\nexport default RulesetLinkSerializer;\n","import RulesetLinkSerializer from '../ruleset-link';\n\nexport default RulesetLinkSerializer;\n","import RulesetLinkSerializer from '../ruleset-link';\n\nexport default RulesetLinkSerializer;\n","import RulesetLinkSerializer from '../ruleset-link';\n\nexport default RulesetLinkSerializer;\n","import RulesetLinkSerializer from '../ruleset-link';\n\nexport default RulesetLinkSerializer;\n","import RulesetLinkSerializer from '../ruleset-link';\n\nexport default RulesetLinkSerializer;\n","import RulesetLinkSerializer from '../ruleset-link';\n\nexport default RulesetLinkSerializer;\n","import RulesetLinkSerializer from '../ruleset-link';\n\nexport default RulesetLinkSerializer;\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    snapshot: { embedded: 'always' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    rulesetLinks: { embedded: 'always' },\n    clientData: { embedded: 'always' },\n    rulesetErrors: { embedded: 'always' },\n    state: { serialize: false },\n    tags: { key: 'tag_ids' },\n    taggings: {\n      serialize: 'records',\n      deserialize: 'records',\n    },\n    currentVersion: { embedded: 'always' },\n  },\n\n  serialize(snapshot, options = {}) {\n    let json = this._super(snapshot, options);\n    json.implicit_predicates = snapshot.record.implicitPredicates;\n    return json;\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\n\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    slots: { embedded: 'always' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    stats: { embedded: 'always' },\n    clickTrackingLinks: { embedded: 'always' },\n    customFromAddress: { key: 'from_custom_email_address_id' },\n    customReplyToAddress: { key: 'reply_to_custom_email_address_id' },\n  },\n  normalize(modelClass, resourceHash) {\n    // Ensure that blocks must be an array\n    resourceHash.blocks = resourceHash.blocks || [];\n    return this._super(modelClass, resourceHash);\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    variations: { embedded: 'always' },\n    controlGroup: { embedded: 'always' },\n    goal: { embedded: 'always' },\n    deliveryWindow: { embedded: 'always' },\n    campaign: { key: 'campaign_id' },\n    folder: { key: 'folder_id' },\n    dependencies: { key: 'dependencies_id' },\n    tags: { key: 'tag_ids' },\n    taggings: {\n      serialize: 'records',\n      deserialize: 'records',\n    },\n  },\n  normalize(modelClass, resourceHash) {\n    resourceHash.dependencies_id = resourceHash.id;\n    return this._super(modelClass, resourceHash);\n  },\n  serialize() {\n    let json = this._super(...arguments);\n    try {\n      json.client_data.tab_identifier = sessionStorage.getItem('embercom_tab_identifier');\n    } catch (e) {\n      // Do nothing;\n    }\n    return json;\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    stats: { embedded: 'always' },\n  },\n  normalize(modelClass, resourceHash) {\n    // Ensure that blocks must be an array\n    resourceHash.blocks = resourceHash.blocks || [];\n    return this._super(modelClass, resourceHash);\n  },\n});\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend({\n  normalize(modelClass, resourceHash) {\n    let result = this._super(modelClass, resourceHash);\n    if (result.data.id) {\n      result.data.attributes.userId = result.data.id;\n    }\n    result.data.attributes.legacyUserData = resourceHash;\n    return result;\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport JSONSerializer from '@ember-data/serializer/json';\nimport { decamelize } from '@ember/string';\n\nexport default JSONSerializer.extend({\n  // Prevents `reaction0Count` from being decamelized as `reaction0_count`\n  // Non reaction stats are ignored.\n  keyForAttribute(attr) {\n    let preformattedAttr = attr.replace(/(\\w+?)(\\d+)(\\w+)/, (match, a, b, c) => `${a}_${b}_${c}`);\n    return decamelize(preformattedAttr);\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    slots: { embedded: 'always' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    canvas: { embedded: 'always' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    languages: { embedded: 'always' },\n    availability: { embedded: 'always' },\n    visibility: { embedded: 'always' },\n    home: { embedded: 'always' },\n    security: { embedded: 'always' },\n    lookAndFeel: { embedded: 'always' },\n    upfrontEmailCollection: { embedded: 'always' },\n    temporaryExpectations: { embedded: 'always' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    slotGroups: { embedded: 'always' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default class LookAndFeelSerializer extends EmbercomBaseSerializer.extend(\n  EmbeddedRecordsMixin,\n) {\n  attrs = {\n    brands: { embedded: 'always' },\n  };\n}\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    localizedPushContents: { embedded: 'always' },\n  },\n});\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend({\n  attrs: {\n    admin: { key: 'created_by' },\n  },\n  collectionKey: 'notes',\n});\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend({\n  primaryKey: 'token',\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmberBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmberBaseSerializer.extend(EmbeddedRecordsMixin, {\n  primaryKey: 'identifier',\n  attrs: {\n    levels: { embedded: 'always' },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  primaryKey: 'identifier',\n  attrs: {\n    steps: { embedded: 'always' },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend({\n  primaryKey: 'identifier',\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    simpleQualification: { embedded: 'always' },\n    branchingQualification: { embedded: 'always' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    teamAvailability: { embedded: 'always' },\n    conversationRouting: { embedded: 'always' },\n    conversationRating: { embedded: 'always' },\n    articleSuggestions: { embedded: 'always' },\n    articleAutoReaction: { embedded: 'always' },\n    qualifyLeads: { embedded: 'always' },\n    contactCollection: { embedded: 'always' },\n    duplicateConversationDetection: { embedded: 'always' },\n    upfrontCollection: { embedded: 'always' },\n  },\n});\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend({\n  normalizeResponse(store, primaryModelClass, response, id, requestType) {\n    response.paths = this._normalizePaths(response.paths);\n    return this._super(...arguments);\n  },\n\n  _normalizePaths(paths) {\n    if (!paths) {\n      return paths;\n    }\n\n    paths = paths.map(path => ({\n      ...path,\n      _id: path.id,\n    }));\n\n    return paths;\n  },\n});\n","import CustomBotSerializer from 'embercom/serializers/operator/custom-bot';\n\nexport const polymorphicMap = {\n  BotAutoMessage: {\n    type: 'operator/custom-bots/initiators/bot-auto-message-summary',\n  },\n  MessengerTrigger: {\n    type: 'operator/custom-bots/initiators/messenger-trigger-summary',\n  },\n  InboundTrigger: {\n    type: 'operator/custom-bots/initiators/inbound-trigger-summary',\n  },\n};\n\nexport default CustomBotSerializer.extend({ polymorphicMap });\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport const polymorphicMap = {\n  BotAutoMessage: {\n    type: 'operator/custom-bots/initiators/bot-auto-message',\n  },\n  MessengerTrigger: {\n    type: 'operator/custom-bots/initiators/messenger-trigger',\n  },\n  InboundTrigger: {\n    type: 'operator/custom-bots/initiators/inbound-trigger',\n  },\n};\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  polymorphicMap,\n\n  attrs: {\n    initiators: { embedded: 'always' },\n  },\n\n  normalize(modelClass, resourceHash) {\n    resourceHash = this._normalizeSingleResource(resourceHash);\n    return this._super(modelClass, resourceHash);\n  },\n\n  _normalizeSingleResource(response) {\n    response.initiators = this._normalizeInitiators(response.initiators);\n    response.paths = this._normalizePaths(response.paths);\n    return response;\n  },\n\n  _normalizeInitiators(initiators) {\n    if (!initiators) {\n      return initiators;\n    }\n\n    initiators = initiators.map(initiator => {\n      let initiatorType = this.polymorphicMap[initiator.type];\n      if (!initiatorType) {\n        console.error(\n          `Initiator type (${initiator.type}) not found. Please check serializers/operator/custom-bot(-summary).js`,\n        );\n      }\n      initiator.type = initiatorType.type;\n      return initiator;\n    });\n    return initiators;\n  },\n\n  _normalizePaths(paths) {\n    if (!paths) {\n      return paths;\n    }\n\n    paths = paths.map(path => ({\n      ...path,\n      _id: path.id,\n    }));\n\n    paths.forEach(path => {\n      path.steps = this._normalizeSteps(path.steps);\n    });\n\n    return paths;\n  },\n\n  _normalizeSteps(steps) {\n    if (!steps) {\n      return steps;\n    }\n\n    steps = steps.map(step => {\n      if (step.type === 'follow_up_rules' || step.type === 'answer_bot') {\n        if (step.simple_action_rule === null) {\n          step.simple_action_rule = this.store.createFragment('rules/rule');\n        }\n      }\n      return step;\n    });\n\n    return steps;\n  },\n});\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend({\n  serialize(...args) {\n    let json = this._super(...args);\n    json.id = json.initiator_id;\n    return json;\n  },\n});\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend({\n  serialize(...args) {\n    let result = this._super(...args);\n    result.type = 'BotAutoMessage';\n    return result;\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    ruleset: { embedded: 'always' },\n  },\n\n  serialize(...args) {\n    let inboundTriggerJson = this._super(...args);\n    inboundTriggerJson.id = inboundTriggerJson.initiator_id;\n    return inboundTriggerJson;\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    ruleset: { embedded: 'always' },\n  },\n\n  serialize(...args) {\n    let result = this._super(...args);\n    result.type = 'InboundTrigger';\n    return result;\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    ruleset: { embedded: 'always' },\n  },\n\n  serialize(...args) {\n    let json = this._super(...args);\n    json.id = json.initiator_id;\n    return json;\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    ruleset: { embedded: 'always' },\n  },\n\n  serialize(...args) {\n    let result = this._super(...args);\n    result.type = 'MessengerTrigger';\n    return result;\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    stats: { embedded: 'always' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    contents: { embedded: 'always' },\n    tags: { key: 'tag_ids' },\n  },\n});\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend({\n  attrs: {\n    companies: { key: 'companies' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    settings: { embedded: 'always' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default class PostSerializer extends EmbercomBaseSerializer.extend(EmbeddedRecordsMixin) {\n  attrs = {\n    localizedPostContents: { embedded: 'always' },\n  };\n}\n","define(\"embercom/serializers/predicates/anonymous\", [\"exports\", \"predicates/serializers/anonymous\"], function (_exports, _anonymous) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _anonymous.default;\n    }\n  });\n});\n","define(\"embercom/serializers/predicates/boolean\", [\"exports\", \"predicates/serializers/boolean\"], function (_exports, _boolean) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _boolean.default;\n    }\n  });\n});\n","define(\"embercom/serializers/predicates/campaign-behavior\", [\"exports\", \"predicates/serializers/campaign-behavior\"], function (_exports, _campaignBehavior) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _campaignBehavior.default;\n    }\n  });\n});\n","define(\"embercom/serializers/predicates/content-event\", [\"exports\", \"predicates/serializers/content-event\"], function (_exports, _contentEvent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _contentEvent.default;\n    }\n  });\n});\n","define(\"embercom/serializers/predicates/date\", [\"exports\", \"predicates/serializers/date\"], function (_exports, _date) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _date.default;\n    }\n  });\n});\n","define(\"embercom/serializers/predicates/datetime\", [\"exports\", \"predicates/serializers/datetime\"], function (_exports, _datetime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _datetime.default;\n    }\n  });\n});\n","define(\"embercom/serializers/predicates/email-disengagement\", [\"exports\", \"predicates/serializers/email-disengagement\"], function (_exports, _emailDisengagement) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _emailDisengagement.default;\n    }\n  });\n});\n","define(\"embercom/serializers/predicates/logical\", [\"exports\", \"predicates/serializers/logical\"], function (_exports, _logical) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _logical.default;\n    }\n  });\n});\n","define(\"embercom/serializers/predicates/numeric-select\", [\"exports\", \"predicates/serializers/numeric-select\"], function (_exports, _numericSelect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _numericSelect.default;\n    }\n  });\n});\n","define(\"embercom/serializers/predicates/numeric\", [\"exports\", \"predicates/serializers/numeric\"], function (_exports, _numeric) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _numeric.default;\n    }\n  });\n});\n","define(\"embercom/serializers/predicates/office-hours-schedule\", [\"exports\", \"predicates/serializers/campaign-behavior\"], function (_exports, _campaignBehavior) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _campaignBehavior.default;\n    }\n  });\n});\n","define(\"embercom/serializers/predicates/optional-select\", [\"exports\", \"predicates/serializers/optional-select\"], function (_exports, _optionalSelect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _optionalSelect.default;\n    }\n  });\n});\n","define(\"embercom/serializers/predicates/predicate\", [\"exports\", \"predicates/serializers/predicate\"], function (_exports, _predicate) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _predicate.default;\n    }\n  });\n});\n","define(\"embercom/serializers/predicates/role\", [\"exports\", \"predicates/serializers/role\"], function (_exports, _role) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _role.default;\n    }\n  });\n});\n","define(\"embercom/serializers/predicates/select\", [\"exports\", \"predicates/serializers/select\"], function (_exports, _select) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _select.default;\n    }\n  });\n});\n","define(\"embercom/serializers/predicates/string\", [\"exports\", \"predicates/serializers/string\"], function (_exports, _string) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _string.default;\n    }\n  });\n});\n","define(\"embercom/serializers/predicates/url-visit\", [\"exports\", \"predicates/serializers/url-visit\"], function (_exports, _urlVisit) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _urlVisit.default;\n    }\n  });\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    plans: { embedded: 'always' },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport JSONSerializer from '@ember-data/serializer/json';\n\nexport default JSONSerializer.extend({\n  primaryKey: '_id',\n\n  serialize(snapshot, options) {\n    let json = this._super(...arguments);\n\n    json._isDirty = snapshot.record.get('hasDirtyAttributes');\n\n    return json;\n  },\n});\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\nimport { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\n\nexport default class ReportSerializer extends EmbercomBaseSerializer.extend(EmbeddedRecordsMixin) {\n  attrs = {\n    charts: {\n      deserialize: 'records',\n      serialize: 'ids',\n    },\n  };\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport JSONSerializer from '@ember-data/serializer/json';\n\nexport default JSONSerializer.extend({\n  attrs: {\n    actionData: { key: 'action_data' },\n  },\n\n  serialize(snapshot, options) {\n    let json = this._super(...arguments);\n\n    json._isDirty = snapshot.record.get('hasDirtyAttributes');\n\n    return json;\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport JSONSerializer from '@ember-data/serializer/json';\n\nexport default JSONSerializer.extend({\n  serialize(snapshot, options) {\n    let json = this._super(...arguments);\n\n    json._isDirty = snapshot.record.get('hasDirtyAttributes');\n\n    return json;\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    caseFields: {\n      serialize: false,\n      deserialize: 'records',\n    },\n    requiredCaseFields: {\n      serialize: false,\n      deserialize: 'records',\n    },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    appSsoDomains: {\n      serialize: 'records',\n      deserialize: 'records',\n    },\n  },\n  serialize(snapshot) {\n    let json = this._super(...arguments);\n\n    try {\n      let jitSettings = json.jit_settings;\n\n      jitSettings.access_type = snapshot.record.jitSettings.accessType;\n      jitSettings.include_unassigned = snapshot.record.jitSettings.includeUnassigned;\n      jitSettings.assignee_blocked_list = snapshot.record.jitSettings.assigneeBlockedList;\n    } catch (e) {\n      // Do nothing;\n    }\n\n    return json;\n  },\n  normalize() {\n    let payload = this._super(...arguments);\n\n    try {\n      let jitSettings = payload.data.attributes.jitSettings;\n\n      jitSettings.accessType = jitSettings.access_type;\n      jitSettings.includeUnassigned = jitSettings.include_unassigned;\n      jitSettings.assigneeBlockedList = jitSettings.assignee_blocked_list;\n    } catch (e) {\n      // Do nothing;\n    }\n\n    return payload;\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    samlAccount: {\n      serialize: 'records',\n      deserialize: 'records',\n    },\n  },\n});\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\nexport default EmbercomBaseSerializer.extend({\n  serialize(snapshot, options) {\n    let activePredicates = snapshot.record.activePredicates;\n    snapshot._attributes.predicates = activePredicates;\n    let serialized = this._super(snapshot, options);\n    return serialized;\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport JSONSerializer from '@ember-data/serializer/json';\n\nexport default JSONSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    user: {\n      serialize: 'records',\n      deserialize: 'records',\n    },\n  },\n});\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend({\n  attrs: {\n    predecessor: { key: 'predecessor_id' },\n    successor: { key: 'successor_id' },\n    series: { key: 'series_id' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    series: { key: 'series_id' },\n    rulesetClientData: { embedded: 'always' },\n    rulesetErrors: { embedded: 'always' },\n    contentPreviews: { embedded: 'always' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    nodes: { embedded: 'always' },\n    edges: { embedded: 'always' },\n    stats: { embedded: 'always' },\n    migratedCampaign: { key: 'migrated_campaign_id' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    channels: {\n      serialize: false,\n      deserialize: 'records',\n    },\n    notificationTypes: {\n      serialize: false,\n      deserialize: 'records',\n    },\n    notificationRules: {\n      serialize: false,\n      deserialize: 'records',\n    },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    topics: {\n      serialize: false,\n      deserialize: 'records',\n    },\n    subscriptions: {\n      serialize: false,\n      deserialize: 'records',\n    },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    channel: {\n      key: 'channel_id',\n      serialize: 'ids',\n      deserialize: 'ids',\n    },\n    notificationTypes: {\n      serialize: 'ids',\n      deserialize: 'ids',\n    },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    topics: {\n      serialize: 'ids',\n      deserialize: 'ids',\n    },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    localizedSmsMessageContents: { embedded: 'always' },\n  },\n});\n","import EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend({\n  primaryKey: 'id',\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  collectionKey: 'tags',\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    createdBy: { key: 'created_by_id' },\n    archivedBy: { key: 'archived_by_id' },\n    stats: {\n      serialize: false,\n      deserialize: 'records',\n    },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    tag: { key: 'tag_id' },\n    admin: { key: 'admin_id' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    ruleset: { embedded: 'always' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    steps: { embedded: 'always' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  attrs: {\n    twitterAccounts: { embedded: 'always' },\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\nimport { isArray } from '@ember/array';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  collectionKey: 'users',\n\n  attrs: {\n    companies: {\n      serialize: 'records',\n      deserialize: 'records',\n    },\n    notes: { key: 'note_ids' },\n    tags: { key: 'tag_ids' },\n    taggings: {\n      serialize: 'records',\n      deserialize: 'records',\n    },\n  },\n\n  normalizeSingleResponse(store, primaryModelClass, payload, id, requestType) {\n    // single user responses look like multi-user responses, e.g. { users: [{ ... }] }\n    // I'm making this also work with normal looking single-user responses so that we can\n    // change this easily on the back end. It also makes testing easier (because the factories look\n    // more like you'd expect them to)\n    if (this.collectionKey && isArray(payload[this.collectionKey])) {\n      payload = this.extractArrayPayload(primaryModelClass.modelName, payload).firstObject;\n    } else if (requestType === 'createRecord' && payload.user) {\n      // the user creation modal expects a different response type\n      // once this ships we should make the responses from this endpoint more consistent\n      payload = payload.user;\n    }\n    return this._super(store, primaryModelClass, payload, id, requestType);\n  },\n});\n","import { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\nimport EmbercomBaseSerializer from 'embercom/serializers/base/embercom-base-serializer';\n\nexport default EmbercomBaseSerializer.extend(EmbeddedRecordsMixin, {\n  normalize(modelClass, resourceHash) {\n    // Ensure that data must be a hash\n    resourceHash.data = resourceHash.data || {};\n    return this._super(modelClass, resourceHash);\n  },\n});\n","define(\"embercom/services/-ea-motion\", [\"exports\", \"ember-animated/services/motion\"], function (_exports, _motion) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _motion.default;\n    }\n  });\n});\n","import { cancel, later, run } from '@ember/runloop';\nimport Service, { inject as service } from '@ember/service';\nimport ENV from 'embercom/config/environment';\nimport ajax from 'embercom/lib/ajax';\nimport storage from 'embercom/vendor/intercom/storage';\nimport { isEmpty } from '@ember/utils';\n\nconst LOCAL_STORAGE_KEY = 'admin-ping-service.lastAdminPingTimestamp';\nconst ADMIN_PING_INTERVAL = ENV.APP._1M;\n\nexport default class AdminPingService extends Service {\n  @service logService;\n\n  get isPollingStarted() {\n    return !isEmpty(this.pollingTimer);\n  }\n\n  start(app, admin) {\n    if (!app.get('shouldWriteAdminPresence')) {\n      return;\n    }\n\n    this.app = app;\n    this.admin = admin;\n\n    this.pingPeriodically();\n  }\n\n  stop() {\n    cancel(this.pollingTimer);\n    this.pollingTimer = null;\n    this.app = null;\n    this.admin = null;\n  }\n\n  pingPeriodically() {\n    this._ping();\n    this.pollingTimer = this._defer(this, this.pingPeriodically, ENV.APP.adminPingInterval);\n  }\n\n  _hasPingedRecently() {\n    let lastAdminPingTimestamp = storage.get(LOCAL_STORAGE_KEY);\n    let pingMultiplier = this.app.canUseAutoAway ? 1 : 4;\n\n    let hasPingedRecently =\n      lastAdminPingTimestamp &&\n      Date.now() - lastAdminPingTimestamp < ADMIN_PING_INTERVAL * pingMultiplier;\n\n    if (hasPingedRecently) {\n      return true;\n    } else {\n      storage.set(LOCAL_STORAGE_KEY, Date.now());\n      return false;\n    }\n  }\n\n  // method is here so we can mock it for integration tests and wait for andThen\n  _defer() {\n    return later.apply(run, arguments);\n  }\n\n  _ping() {\n    if (this._hasPingedRecently()) {\n      return;\n    }\n\n    let request = {\n      type: 'POST',\n      url: '/ember/ping.json',\n      data: JSON.stringify({\n        app_id: this.app.id,\n      }),\n    };\n\n    return ajax(request).catch(e => {\n      if (e.jqXHR.status === 403) {\n        this.stop();\n      }\n      this.logService.log(e);\n    });\n  }\n}\n","define(\"embercom/services/ajax-service\", [\"exports\", \"@intercom/embercom-composer/services/ajax-service\"], function (_exports, _ajaxService) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _ajaxService.default;\n    }\n  });\n});\n","import Service from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class AnswerFollowOnCreationService extends Service {\n  @tracked questionsSelected = {};\n  @tracked rejectedExampleQuestions = [];\n\n  // Sets and holds the suggested examples questions that were rejected in the questions panel of the edit route.\n  setRejectedQuestions(rejectedQuestions) {\n    this.rejectedExampleQuestions = rejectedQuestions;\n  }\n\n  // Returns whether there are rejected suggested questions that would trigger the\n  // 'create new answer from rejected questions' modal.\n  get hasRejectedQuestions() {\n    return this.rejectedExampleQuestions.length > 0;\n  }\n\n  // Sets and holds the questions that have been selected in the 'create new answer from rejected questions' modal\n  // to be added to the new answer when transitioning to the new/edit routes.\n  setQuestionsSelectedFromRejectedQuestions(questions) {\n    this.questionsSelected = questions;\n  }\n\n  // Clears the rejected questions and seleted questions once the 'create new answer from rejected questions' flow has\n  // been completed or canceled.\n  reset() {\n    this.rejectedExampleQuestions = [];\n    this.questionsSelected = {};\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport Service, { inject as service } from '@ember/service';\nimport { getOwner } from '@ember/application';\nimport ENV from 'embercom/config/environment';\nimport { task, timeout } from 'ember-concurrency';\n\nexport default Service.extend({\n  realTimeEventService: service(),\n  inboxService: service('inboxService'),\n  store: service(),\n  app: computed('refreshCount', function() {\n    return getOwner(this)\n      .lookup('route:apps/app')\n      .get('app');\n  }),\n\n  refresh() {\n    this.incrementProperty('refreshCount');\n  },\n\n  init() {\n    this._super(...arguments);\n    this.enableRealtimeHandlers();\n  },\n\n  enableRealtimeHandlers() {\n    this.realTimeEventService.on('MentionCreated', this, 'updateUnreadMentionCounts');\n  },\n\n  updateUnreadMentionCounts(event) {\n    this.set('app.unread_mention_threads', event.unreadCount);\n    let inbox = this.store.peekRecord('inbox', 'mentions');\n    if (inbox) {\n      inbox.set('unread_count', event.unreadCount);\n    }\n    this.inboxService.scheduleInboxCountersPoll.perform();\n  },\n\n  scheduleAppCountersPoll: task(function*() {\n    if (ENV.environment === 'test') {\n      return;\n    }\n    yield timeout(ENV.APP._1M);\n    this.app.refreshNavCounters();\n    this.scheduleAppCountersPoll.perform();\n  }).restartable(),\n});\n","import Service from '@ember/service';\nimport MetaTags from 'embercom/lib/meta-tags';\nimport { publicPageRootUrl } from 'embercom/lib/embercom-boot-data';\nimport ENV from 'embercom/config/environment';\n\nexport default class AppstoreMetaTagsService extends Service {\n  siteName = 'Intercom Apps & Integrations';\n  imageUrl = 'https://static.intercomassets.com/appstore/images/seo/public_app_store_home.png';\n\n  getMetaTags({ appPackage, category, capability }) {\n    let title = this.getTitle(appPackage, category, capability);\n    let description = this.getDescription(appPackage);\n    let url = this.getUrl(appPackage, category, capability);\n\n    return this.buildMetaTags(url, title, description);\n  }\n\n  buildMetaTags(url, title, description) {\n    return [\n      MetaTags.buildMetaTag('description', description),\n      MetaTags.buildLinkTag('canonical', url),\n      MetaTags.buildOpenGraphTag('locale', 'en_US'),\n      MetaTags.buildOpenGraphTag('type', 'website'),\n      MetaTags.buildOpenGraphTag('title', title),\n      MetaTags.buildOpenGraphTag('description', description),\n      MetaTags.buildOpenGraphTag('url', url),\n      MetaTags.buildOpenGraphTag('site_name', this.siteName),\n      MetaTags.buildOpenGraphTag('image', this.imageUrl),\n      MetaTags.buildTwitterTag('card', 'summary'),\n      MetaTags.buildTwitterTag('description', description),\n      MetaTags.buildTwitterTag('title', title),\n      MetaTags.buildTwitterTag('image', this.imageUrl),\n      MetaTags.buildTwitterTag('site', '@intercom'),\n    ];\n  }\n\n  getTitle(appPackage, category, capability) {\n    if (appPackage) {\n      return `${appPackage.get('name')} | ${this.siteName}`;\n    } else if (category) {\n      return `${category.get('name')} | ${this.siteName}`;\n    } else if (capability) {\n      return `${capability.name} | ${this.siteName}`;\n    }\n    return this.siteName;\n  }\n\n  getDescription(appPackage) {\n    if (appPackage) {\n      return appPackage.get('description');\n    }\n    return 'Powerful apps and integrations to acquire, engage and retain more customers with Intercom.';\n  }\n\n  getUrl(appPackage, category, capability) {\n    let appstoreRootPath = `${ENV.APP.marketingSiteUrl}${publicPageRootUrl()}`;\n    if (appPackage) {\n      return `${appstoreRootPath}apps/${appPackage.get('id')}`;\n    } else if (category) {\n      return `${appstoreRootPath}?category=${category.get('slug')}`;\n    } else if (capability) {\n      return `${appstoreRootPath}?capability=${capability.slug}`;\n    }\n    return this.cleanCurrentUrl();\n  }\n\n  cleanCurrentUrl() {\n    let currentUrl = window.location.href;\n    if (currentUrl.endsWith('/')) {\n      currentUrl = currentUrl.slice(0, -1);\n    }\n    return currentUrl;\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-private-routing-service */\nimport Service, { inject as service } from '@ember/service';\nimport { isPresent } from '@ember/utils';\nimport { isBootedInPublicAppStoreMode, publicPageRootUrl } from 'embercom/lib/embercom-boot-data';\nimport ENV from 'embercom/config/environment';\nimport { task } from 'ember-concurrency-decorators';\n\nimport ajax from 'embercom/lib/ajax';\n\nexport default class AppstoreService extends Service {\n  @service store;\n  @service router;\n  @service appService;\n  @service redirectService;\n\n  appCapabilities = [\n    { slug: 'messages', name: 'Outbound' },\n    { slug: 'inbox', name: 'Inbox' },\n    { slug: 'operator', name: 'Operator' },\n    { slug: 'messenger', name: 'Messenger' },\n  ];\n\n  get baseRoute() {\n    return isBootedInPublicAppStoreMode() ? 'appstore.index' : 'apps.app.appstore.index';\n  }\n  getRedirectQueryParams() {\n    let params;\n    let router = this.router._router;\n    let currentState = router.currentState;\n    let routerLib = router._routerMicrolib;\n    if (routerLib && routerLib.activeTransition) {\n      params = routerLib.activeTransition.to.queryParams;\n    } else if (currentState) {\n      params = currentState.routerJsState.queryParams;\n    }\n    if (!params) {\n      return {};\n    }\n\n    let {\n      install_success,\n      app_package_code,\n      tab,\n      error_message,\n      is_onboarding,\n      email_request,\n      inbox_capability,\n      redirect,\n    } = params;\n\n    return {\n      install_success,\n      app_package_code,\n      tab,\n      error_message,\n      is_onboarding,\n      email_request,\n      inbox_capability,\n      redirect,\n    };\n  }\n\n  @task({ drop: true })\n  *dismissAppInstallNotifications(restrict_to) {\n    yield ajax({\n      url: '/ember/messenger_apps/dismiss_notifications',\n      type: 'DELETE',\n      data: JSON.stringify({\n        app_id: this.get('appService.app.id'),\n        restrict_to,\n      }),\n    });\n  }\n\n  hasAppPackageCode() {\n    let { app_package_code } = this.getRedirectQueryParams();\n    return isPresent(app_package_code);\n  }\n  peekOrFindAppPackage(packageId) {\n    return this.store.hasRecordForId('appstore/app-package', packageId)\n      ? this.store.peekRecord('appstore/app-package', packageId)\n      : this.store.findRecord('appstore/app-package', packageId);\n  }\n  async resolveAppPackageCodes(appPackageCodes) {\n    let recommendations = [];\n\n    for (let i = 0; i < appPackageCodes.length; i++) {\n      let recommendationPackage = await this.peekOrFindAppPackage(appPackageCodes[i]);\n      recommendations.push(recommendationPackage);\n    }\n    return recommendations;\n  }\n  generateTitle({ app_package_code, category, installed, search, capability }) {\n    if (app_package_code) {\n      let modelPath = this.get('appService.app.useAppCardApi')\n        ? 'appstore/app-card'\n        : 'appstore/app-package';\n      let appPackage = this.store.peekRecord(modelPath, app_package_code);\n      return appPackage ? `${appPackage.get('name')} | App Store` : 'App Store';\n    } else if (search) {\n      return 'Search Results | App Store';\n    } else if (installed) {\n      return 'Installed apps | App Store';\n    } else if (category) {\n      let categories = this.store.peekAll('appstore/category');\n      let categoryName = categories.find(c => c.get('slug') === category)?.name;\n      return categoryName ? `${categoryName} | App Store` : 'App Store';\n    } else if (capability) {\n      let capitalized = capability.charAt(0).toUpperCase() + capability.slice(1);\n      return `Works with ${capitalized} | App Store`;\n    } else {\n      return 'App Store';\n    }\n  }\n  urlForWorkspaceAppstore(currentLocation) {\n    let rootUrl = publicPageRootUrl();\n    let appPackagePath = currentLocation.pathname.substring(rootUrl.length);\n    let currentQueryParams = currentLocation.search;\n    let host = currentLocation.host;\n    let startOfTld = host.lastIndexOf('.') + 1;\n    let tld = host.slice(startOfTld);\n    let intercomHost = `${currentLocation.protocol}//app.intercom.${tld}`;\n    let urlForWorkspaceAppstore = encodeURIComponent(\n      `${intercomHost}/a/apps/_/appstore${appPackagePath}${currentQueryParams}`,\n    );\n    let signInUrl = `${intercomHost}/admins/sign_in?redirect_url=${urlForWorkspaceAppstore}`;\n    return signInUrl;\n  }\n  redirectToWorkspaceAppstore() {\n    this.redirectService.redirect(this.urlForWorkspaceAppstore(window.location));\n  }\n  shouldEnableGtmTracking() {\n    return isBootedInPublicAppStoreMode() && ENV.environment === 'production';\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/use-brace-expansion */\n/* eslint-disable ember/no-classic-classes */\nimport { getOwner } from '@ember/application';\nimport { computed } from '@ember/object';\nimport Service, { inject as service } from '@ember/service';\nimport {\n  filter,\n  filterBy,\n  mapBy,\n  notEmpty,\n  readOnly,\n  reads,\n  setDiff,\n  uniq,\n} from '@ember/object/computed';\nimport { isEmpty, isPresent } from '@ember/utils';\nimport { rejectBy, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport AttributeWithSettings from 'embercom/lib/attribute-with-settings';\nimport AssignmentRulesMessageAttributes from 'embercom/models/data/assignment-rules-message-attributes';\nimport { objectNames } from 'embercom/models/data/matching-system/matching-constants';\n\nconst STANDARD_EDITABLE_ATTRIBUTES = new Set(['email', 'phone']);\nconst EXTRA_USER_ATTRIBUTES = ['Current page URL'];\nconst CONVERSATION_ATTRIBUTE_DESCRIPTOR_MAPPED_TYPES = {\n  decimal: 'float',\n  list: 'conversation_attribute_list',\n};\n\nconst createAttributeModels = propertyKey =>\n  computed(function() {\n    return this.get(propertyKey).map(data => this.store.createRecord('attribute', data));\n  });\n\nexport default Service.extend({\n  store: service(),\n\n  companyAttributeNamesToDisplay: [\n    'id',\n    'company.remote_company_id',\n    'company.user_count',\n    'company.plan_id',\n    'company.remote_created_at',\n    'company.size',\n    'company.monthly_spend',\n    'company.last_request_at',\n    'company.session_count',\n    'company.industry',\n    'company.website',\n  ],\n  blockListedCompanyAttributeNames: [\n    'company.plan.name',\n    'company.tag_ids',\n    'company.manual_tag_ids',\n  ],\n  blockListedUserAttributeNames: ['manual_tag_ids', 'vip_timestamp', 'name', 'created_at', 'role'],\n  blockListedLeadAttributeNames: [\n    'role',\n    'manual_tag_ids',\n    'user_id',\n    'session_count',\n    'remote_created_at',\n    'anonymous',\n    'session_count_ios',\n    'session_count_android',\n  ],\n  blockListedAttributeNames: [\n    'anonymous',\n    'name',\n    'geoip_data.continent_code',\n    'geoip_data.country_name',\n    'geoip_data.country_code',\n    'geoip_data.region_name',\n    'geoip_data.city_name',\n    'geoip_data.timezone',\n    'social_accounts.facebook.accounts.0.url',\n    'social_accounts.twitter.accounts.0.url',\n    'social_accounts.linkedin.accounts.0.url',\n    'social_accounts.klout.accounts.0.kscore',\n    'social_accounts.job_title',\n    'company.tag_ids',\n    'manual_tag_ids',\n    'account_id',\n    'owner_name',\n  ],\n  blackListedStatsSystemGoalAttributeNames: ['tag_ids'],\n  pinnedAttributeNames: ['user_id'],\n  abmTemplatableAttributes: ['owner_name', 'account_name'],\n  showCompanyAttributes: reads('app.companiesActive'),\n  attributeNames: mapBy('displayableAttributes', 'identifier'),\n  eventAttributes: filterBy('attributes', 'type', 'user_event'),\n  contentEventAttributes: filterBy('attributes', 'type', 'content_event'),\n  eventNames: mapBy('eventAttributes', 'identifier'),\n  hasEvents: notEmpty('eventNames'),\n  displayedUserAttributeNames: mapBy('displayedUserAttributes', 'identifier'),\n  qualificationAttributeIdentifiers: mapBy('app.qualification_attributes', 'identifier'),\n  attributeSettings: reads('app.attribute_settings'),\n  attributes: reads('app.attributes'),\n  nonArchivedAttributes: rejectBy('attributes', 'archived', true),\n  filterableAttributes: filterBy('attributes', 'filterable', true),\n  permittedUserAttributeNames: setDiff('displayedUserAttributeNames', 'blockListedAttributeNames'),\n  unpinnedUserAttributeNames: setDiff('permittedUserAttributeNames', 'pinnedAttributeNames'),\n  extraCompanyAttributes: filterBy('allCompanyAttributes', 'isCustomData', true),\n  allUserAttributes: filterBy('displayableAttributes', 'isUser', true),\n  allUserAttributeNames: mapBy('allUserAttributes', 'identifier'),\n  allCompanyAttributes: filterBy('displayableAttributes', 'isCompany', true),\n  allCompanyAttributeNames: mapBy('allCompanyAttributes', 'identifier'),\n  displayableCompanyAttributes: filterBy('displayableAttributes', 'isCompany', true),\n  displayedCompanyAttributes: filterBy('displayableAttributes', 'isDisplayedOnCompanies', true),\n  // This is the list of attributes that will be visible on the user list\n  displayedUserAttributes: filterBy('displayableAttributes', 'isDisplayedOnUsers', true),\n  attributesForGoals: uniq('app.messageGoalAttributes', 'campaignSpecificGoalAttributes'),\n  attributesForExit: readOnly('filterableAttributesWithoutRoleOrType'),\n  attributesForEntry: readOnly('filterableAttributesWithoutRoleOrType'),\n  filterableCompanyAttributesForMessaging: filterBy(\n    'filterableAttributesWithoutRoleOrType',\n    'isCompany',\n  ),\n  filterableUserAttributesWithoutContentTypes: computed(\n    'filterableUserAttributesForMessaging',\n    function() {\n      return this.filterableUserAttributesForMessaging.reject(\n        filterableAttribute => filterableAttribute.get('type') === 'content_event',\n      );\n    },\n  ),\n\n  filterableUserAttributesForMessaging: filterBy('filterableAttributesWithoutRoleOrType', 'isUser'),\n  filterableCampaignAttributesForMessaging: filterBy(\n    'filterableAttributesForCampaignMessaging',\n    'isCampaign',\n  ),\n  filterableVisitorAttributesForMessaging: filterBy('filterableAttributes', 'visitor_triggered'),\n  filterableCompanyAttributesMaybeWithPlansSegmentsAndTags: filter(\n    'filterableCompanyAttributesForMessaging',\n    function(attribute) {\n      return !(\n        this._shouldRejectAttributeIfNoSegmentsOrTags(attribute, 'app.editableCompanySegments') ||\n        this._shouldRejectAttributeIfNoCollection(attribute, 'plan', 'app.plans')\n      );\n    },\n  ),\n  filterableUserAttributesMaybeWithSegmentsAndTags: filter(\n    'filterableUserAttributesWithoutContentTypes',\n    function(attribute) {\n      return !this._shouldRejectAttributeIfNoSegmentsOrTags(attribute, 'app.editableUserSegments');\n    },\n  ),\n  filterableAttributesForCampaignMessaging: uniq(\n    'filterableAttributesWithoutRoleOrType',\n    'campaignAttributesExcludingLegacyAttributes',\n  ),\n  filterableUserAttributesForInboxRules: computed('filterableAttributesWithoutRole', function() {\n    return this.filterableAttributesWithoutRole\n      .filterBy('isUser', true)\n      .rejectBy('isUserEvent', true);\n  }),\n  filterableCompanyAttributesForInboxRules: filterBy(\n    'filterableAttributesWithoutRole',\n    'isCompany',\n    true,\n  ),\n\n  assignmentRulesMessageAttributesAsAttributes: createAttributeModels(\n    '_assignmentRulesMessageAttributesData',\n  ),\n  workflowConditionAttributes: computed(\n    'canUseConversationAttributeData',\n    'nonArchivedConversationCustomAttributes',\n    function() {\n      let conversationAttributes = this.assignmentRulesMessageAttributesAsAttributes;\n      conversationAttributes = conversationAttributes.concat(this.assigneeAttributes);\n      if (this.app?.canUseConversationAttributeData) {\n        conversationAttributes = conversationAttributes.concat(\n          this.nonArchivedConversationCustomAttributes,\n        );\n      }\n      return [\n        {\n          heading: 'Availability',\n          attributes: this.availabilityAttributes,\n        },\n        {\n          heading: 'Conversation data',\n          attributes: conversationAttributes,\n        },\n        {\n          heading: 'People data',\n          attributes: this.filterableUserAttributesForInboxRules,\n        },\n        {\n          heading: 'Company data',\n          attributes: this.filterableCompanyAttributesForInboxRules,\n        },\n      ];\n    },\n  ),\n  workflowFilterAttributes: createAttributeModels('_workflowFilterAttributes'),\n  availabilityAttributes: createAttributeModels('_availabilityAttributes'),\n  deprecatedCampaignAttributes: createAttributeModels('_deprecatedCampaignAttributeData'),\n  clientVamAttributes: createAttributeModels('_clientVamAttributesData'),\n  newVamPredicates: createAttributeModels('_newVamPredicatesData'),\n  newAbmPredicates: createAttributeModels('_newAbmPredicatesData'),\n  campaignSpecificGoalAttributes: createAttributeModels('_campaignSpecificGoalAttributesData'),\n  campaignAttributesExcludingLegacyAttributes: createAttributeModels(\n    '_campaignAttributesDataExcludingLegacyAttributes',\n  ),\n  tourClientPredicates: createAttributeModels('_tourClientPredicatesData'),\n\n  _assignmentRulesMessageAttributesData: AssignmentRulesMessageAttributes,\n\n  _workflowFilterAttributes: [\n    {\n      name: 'Assign to',\n      identifier: 'rules_filters.assign_to',\n      type: 'rules_filters_assign_to',\n      icon: 'assignment',\n      description: 'Filter for rules that assign to teammates or teams',\n    },\n    {\n      name: 'Tag',\n      identifier: 'conversation.tag_ids',\n      type: 'rules_filters_manual_tag',\n      icon: 'tag',\n      description: 'Filter for rules that add tags to conversations',\n    },\n    {\n      name: 'Mark as priority',\n      identifier: 'rules_filters.mark_priority',\n      type: 'rules_filters_mark_priority',\n      icon: 'star',\n      description: 'Filter for rules that mark conversations as priority',\n    },\n    {\n      name: 'Apply SLA',\n      identifier: 'rules_filters.apply_conversation_sla',\n      type: 'rules_filters_apply_conversation_sla',\n      icon: 'sla',\n      description: 'Filter for rules that apply an SLA',\n    },\n  ],\n\n  _availabilityAttributes: [\n    {\n      name: 'Office hours',\n      identifier: 'office_hours.schedule',\n      type: 'office_hours_schedule',\n      icon: 'clock',\n      description: 'During or outside of a chosen office hours schedule',\n    },\n  ],\n\n  assigneeAttributes: computed('app.canAssignToTeamAndTeammate', function() {\n    let attributes = [];\n    if (this.app?.canAssignToTeamAndTeammate) {\n      attributes.push({\n        name: 'Teammate assigned',\n        identifier: 'conversation.admin_assignee_id',\n        type: 'admin_assignee_id',\n        icon: 'person',\n        description: 'The teammate to whom the conversation is assigned',\n        adminType: 'teammate',\n      });\n\n      attributes.push({\n        name: 'Team assigned',\n        identifier: 'conversation.team_assignee_id',\n        type: 'team_assignee_id',\n        icon: 'team',\n        description: 'The team to whom the conversation is assigned',\n        adminType: 'team',\n      });\n    }\n    return attributes;\n  }),\n\n  // These attributes that are no longer available. They're grandfathered on existing message.\n  _deprecatedCampaignAttributeData: [\n    {\n      name: 'Web sessions during campaign',\n      identifier: 'campaign.sessions_at_match',\n      type: 'integer',\n      icon: 'sessions',\n      description:\n        'The number of times a user has visited your app or site since entering a campaign',\n    },\n  ],\n\n  _campaignAttributesDataExcludingLegacyAttributes: [\n    {\n      name: 'Entered campaign',\n      identifier: 'campaign.matched_at',\n      type: 'date',\n      icon: 'campaign',\n      description: 'The day a user entered a campaign',\n    },\n    {\n      name: 'Clicked on link in message',\n      shortName: 'Clicked',\n      identifier: 'campaign.clicked_message_group',\n      type: 'campaign_behavior',\n      icon: 'cursor',\n      description: 'People who were sent the message and clicked on a link in it',\n    },\n    {\n      name: 'Opened message',\n      shortName: 'Opened',\n      identifier: 'campaign.opened_message_group',\n      type: 'campaign_behavior',\n      icon: 'opened-message',\n      description: 'People who were sent the message and opened it',\n    },\n    {\n      name: 'Received message',\n      shortName: 'Received',\n      identifier: 'campaign.received_message_group',\n      type: 'campaign_behavior',\n      icon: 'message',\n      description: 'People who were sent the message and received it',\n    },\n    {\n      name: 'Replied to message',\n      shortName: 'Replied to',\n      identifier: 'campaign.replied_message_group',\n      type: 'campaign_behavior',\n      icon: 'conversation',\n      description: 'People who were sent the message and replied to it',\n    },\n    {\n      name: 'Unsubscribed from message',\n      shortName: 'Unsubscribed from',\n      identifier: 'campaign.unsubscribed_message_group',\n      type: 'campaign_behavior',\n      icon: 'unsubscribed',\n      description: 'People who were sent the message and clicked unsubscribe in it',\n    },\n    {\n      name: 'Message bounced',\n      shortName: 'Message bounced for',\n      identifier: 'campaign.bounced_message_group',\n      type: 'campaign_behavior',\n      icon: 'bounced',\n      description: 'People who were sent the message but it bounced',\n    },\n  ],\n\n  nonCustomConversationAttributes: computed(\n    'app.canUseInboxSlas',\n    'app.canAssignToTeamAndTeammate',\n    'app.canUseConversationAttributeData',\n    function() {\n      let attributes = [];\n      if (this.app?.canAssignToTeamAndTeammate) {\n        attributes.push({\n          name: 'Teammate assigned',\n          identifier: 'conversation.admin_assignee_id',\n          type: 'admin_assignee_id',\n          icon: 'person',\n          description: 'The teammate to whom the conversation is assigned',\n          adminType: 'teammate',\n        });\n\n        attributes.push({\n          name: 'Team assigned',\n          identifier: 'conversation.team_assignee_id',\n          type: 'team_assignee_id',\n          icon: 'team',\n          description: 'The team to whom the conversation is assigned',\n          adminType: 'team',\n        });\n      } else {\n        attributes.push({\n          name: 'Assignee',\n          identifier: 'conversation.assignee_id',\n          type: 'owner_id',\n          icon: 'person',\n          description: 'The teammate or team to whom the conversation is assigned',\n        });\n      }\n\n      attributes.push({\n        name: 'Conversation tag',\n        identifier: 'conversation.tag_ids',\n        type: 'manual_tag',\n        icon: 'tag',\n        description: \"A group a conversation belongs to, based on a tag you've applied to them\",\n      });\n\n      attributes.push({\n        name: 'SLA due in',\n        identifier: 'conversation.next_breach_time',\n        type: 'datetime',\n        icon: 'sla',\n        description: 'The time remaining until an SLA is due',\n        direction: 'future',\n      });\n\n      attributes.push({\n        name: 'Waiting for teammate reply',\n        identifier: 'conversation.waiting_since',\n        type: 'datetime',\n        icon: 'clock',\n        description: 'The time a person has been waiting for a teammate reply',\n        direction: 'past',\n      });\n\n      attributes.push({\n        name: 'Conversation started',\n        identifier: 'conversation.conversation_started_at',\n        type: 'datetime',\n        icon: 'clock',\n        description:\n          'The time since the conversation started. Conversations start when a customer sends an inbound message or responds to an outbound message',\n        direction: 'past',\n        suffix: 'ago',\n      });\n\n      return attributes;\n    },\n  ),\n  nonArchivedConversationCustomAttributes: filterBy(\n    'conversationCustomAttributes',\n    'archived',\n    false,\n  ),\n  archivedConversationCustomAttributes: filterBy('conversationCustomAttributes', 'archived', true),\n  conversationCustomAttributes: computed(\n    'conversationAttributeDescriptors',\n    'conversationAttributeDescriptors.@each.archived',\n    function() {\n      return this.conversationAttributeDescriptors.map(\n        this._conversationAttributeDescriptorToAttribute.bind(this),\n      );\n    },\n  ),\n  conversationAttributes: computed(\n    'nonCustomConversationAttributes',\n    'conversationCustomAttributes',\n    'app.canUseConversationAttributeData',\n    function() {\n      let attributes = this.nonCustomConversationAttributes;\n      if (this.app?.canUseConversationAttributeData) {\n        attributes = attributes.concat(this.conversationCustomAttributes);\n      }\n      return attributes;\n    },\n  ),\n\n  _conversationAttributeDescriptorToAttribute(descriptor) {\n    let { name, description, id, archived, listOptions } = descriptor;\n    let originalDataType = descriptor.dataType;\n    let mappedTypes = Object.keys(CONVERSATION_ATTRIBUTE_DESCRIPTOR_MAPPED_TYPES);\n\n    let predicateDataType;\n    if (mappedTypes.includes(originalDataType)) {\n      predicateDataType = CONVERSATION_ATTRIBUTE_DESCRIPTOR_MAPPED_TYPES[originalDataType];\n    } else {\n      predicateDataType = originalDataType;\n    }\n\n    let attribute = this.store.createRecord('attribute', {\n      name,\n      identifier: `conversation.custom_attribute.${id}`,\n      type: predicateDataType,\n      icon: 'transfer',\n      description,\n      archived,\n    });\n\n    if (originalDataType === 'list' && listOptions) {\n      listOptions.forEach(({ id, label }) =>\n        attribute.options.createRecord({\n          identifier: id,\n          value: label,\n        }),\n      );\n    }\n\n    return attribute;\n  },\n\n  campaignAttributes: uniq(\n    'deprecatedCampaignAttributes',\n    'campaignAttributesExcludingLegacyAttributes',\n  ),\n  _campaignSpecificGoalAttributesData: [\n    {\n      name: 'Replied to any campaign message',\n      shortName: 'Replied to campaign',\n      identifier: 'campaign.replied_to_any_message',\n      type: 'campaign_goal',\n      icon: 'conversation',\n      description: 'The day a user replied to any campaign message',\n    },\n  ],\n  allAttributes: uniq(\n    'attributes',\n    'campaignAttributes',\n    'campaignSpecificGoalAttributes',\n    'visitorMessagingAttributes',\n    'assignmentRulesMessageAttributesAsAttributes',\n    'tourClientPredicates',\n    'conversationAttributes',\n    'availabilityAttributes',\n    'workflowFilterAttributes',\n  ),\n\n  _tourGoalClientPredicatesData: [\n    {\n      name: 'Page visited',\n      goalName: 'Page URL visited',\n      icon: 'link',\n      identifier: 'client_attributes.last_visited_url',\n      type: 'string',\n      description: 'The specific page a user last viewed on your app or site',\n      filterable: true,\n      sortable: false,\n      usable_in_message_goal: false,\n      displayable: true,\n    },\n  ],\n\n  _tourClientPredicatesData: [\n    {\n      name: 'Current page URL',\n      goalName: 'Page URL visited',\n      icon: 'link',\n      identifier: 'client_attributes.last_visited_url',\n      type: 'string',\n      description: 'The specific page a user last viewed on your app or site',\n      filterable: true,\n      sortable: false,\n      usable_in_message_goal: false,\n      displayable: true,\n    },\n  ],\n  _clientVamAttributesData: [\n    {\n      name: 'Current page URL',\n      identifier: 'last_visited_url',\n      type: 'string',\n      description: 'The specific page a visitor last viewed on your app or site',\n      filterable: true,\n      sortable: false,\n      usable_in_message_goal: false,\n      displayable: true,\n    },\n    {\n      name: 'Time on current page',\n      identifier: 'client_attributes.time_on_page',\n      type: 'duration_integer',\n      description: 'How long a person has spent viewing a specific page',\n      filterable: true,\n      sortable: false,\n      usable_in_message_goal: false,\n      displayable: true,\n    },\n    {\n      name: 'Single page views',\n      identifier: 'url_visits',\n      type: 'url_visit',\n      description: 'The number of times someone has viewed a single page on your app or site',\n      filterable: true,\n      sortable: false,\n      usable_in_message_goal: false,\n      displayable: true,\n    },\n    {\n      name: 'Total visits',\n      identifier: 'visit_count',\n      type: 'integer',\n      description: 'The number of times someone has visited your app or site',\n      filterable: true,\n      sortable: true,\n      usable_in_message_goal: true,\n      displayable: true,\n    },\n  ],\n  _newVamPredicatesData: [\n    {\n      name: 'Total page views',\n      identifier: 'total_url_visits',\n      type: 'integer',\n      description:\n        'The total number of pages someone has viewed on your app or site, including multiple views of any page',\n      filterable: true,\n      sortable: true,\n      usable_in_message_goal: false,\n      displayable: true,\n    },\n    {\n      name: 'Over-messaging protection',\n      identifier: 'over_messaging_protection',\n      type: 'over_messaging_protection',\n      description: \"Exclude visitors who've received or sent a message in the past day\",\n      icon: 'flag',\n      filterable: true,\n      sortable: true,\n      usable_in_message_goal: false,\n      displayable: true,\n    },\n  ],\n  _newAbmPredicatesData: [\n    {\n      name: 'Owner',\n      identifier: 'owner_id',\n      type: 'owner_id',\n      description: 'The teammate that owns a lead or user in Intercom',\n      filterable: true,\n      sortable: false,\n      usable_in_message_goal: false,\n      displayable: true,\n    },\n    {\n      name: 'Account',\n      identifier: 'account_id',\n      type: 'account_id',\n      description: 'The account that owns a lead or user in Intercom',\n      filterable: true,\n      sortable: false,\n      usable_in_message_goal: false,\n      displayable: true,\n    },\n  ],\n  botAutoMessageClientAttributes: filter('clientVamAttributes', attr => attr.isTimeOnPage),\n  botAutoMessageAudienceAttributes: filter(\n    'botAutoMessageUserAttributes',\n    attr => !attr.isTimeOnPage,\n  ),\n  botAutoMessageAudienceAttributesNoPageTargetting: filter(\n    'botAutoMessageAudienceAttributes',\n    attr => !attr.isPageTarget,\n  ),\n  botAutoMessageAudienceVisitorMessagingAttributes: filter(\n    'visitorMessagingAttributes',\n    attr => !attr.isTimeOnPage,\n  ),\n  botAutoMessageUserAttributes: computed(\n    'filterableUserAttributes',\n    'clientVamAttributes',\n    'newAbmPredicates',\n    'app.hasAccountMarketingBillingFeature',\n    'app.canUseNewVamPredicates',\n    'newVamPredicates',\n    function() {\n      let attributes = this.filterableUserAttributes\n        .concat(this.clientVamAttributes)\n        .filter(attribute => attribute.get('tracked'))\n        .uniqBy('identifier');\n\n      if (this.get('app.canUseNewVamPredicates')) {\n        attributes = attributes.concat(this.newVamPredicates);\n      }\n\n      if (!this.get('app.hasAccountMarketingBillingFeature')) {\n        return attributes.filter(attr => attr.identifier !== 'account_id');\n      }\n\n      return attributes;\n    },\n  ),\n  botAutoMessageUserAttributesNoPageTargetting: computed(\n    'botAutoMessageUserAttributes.@each.{isTimeOnPage,isPageTarget}',\n    function() {\n      return this.botAutoMessageUserAttributes.reject(a => a.isTimeOnPage || a.isPageTarget);\n    },\n  ),\n  filterableUserAttributes: computed('filterableAttributesWithoutRoleOrType', function() {\n    return this.filterableAttributesWithoutRoleOrType.rejectBy('isUser', false);\n  }),\n  botAutoMessageCollectableAttributes: computed(\n    'nonArchivedAttributes',\n    'nonArchivedConversationCustomAttributes',\n    function() {\n      // Non standard attributes not listed here can't be updated by end user: https://github.com/intercom/intercom/blob/0bf6cda71218de195114b9d80ecf101ea21de8bf/app/commands/users/update_attribute.rb#L26-L38\n      let collectableStandardAttributes = [\n        'name',\n        'email',\n        'phone',\n        'company.name',\n        'company.size',\n        'company.website',\n        'company.industry',\n      ];\n      let qualificationAttributeIdentifiers = this.qualificationAttributeIdentifiers;\n      return this.nonArchivedAttributes\n        .rejectBy('type', 'date')\n        .rejectBy('isUserEvent', true)\n        .filter(attribute => {\n          let identifier = attribute.get('identifier');\n          return (\n            attribute.isCustomData ||\n            attribute.isCompanyCustomData ||\n            qualificationAttributeIdentifiers.includes(identifier) ||\n            collectableStandardAttributes.includes(identifier)\n          );\n        })\n        .concat(this.nonArchivedConversationCustomAttributes);\n    },\n  ),\n  botAutoMessageCollectableAttributeGroupList: computed(\n    'botAutoMessageCollectableAttributes',\n    function() {\n      return this._attributesToGroupList(this.botAutoMessageCollectableAttributes);\n    },\n  ),\n  botAutoMessageAttributes: uniq(\n    'attributes',\n    'visitorMessagingAttributes',\n    'assignmentRulesMessageAttributesAsAttributes',\n  ),\n  customBotFollowupActionAttributes: computed(\n    'botAutoMessageAttributes',\n    'nonArchivedConversationCustomAttributes',\n    function() {\n      let attributes = this.botAutoMessageAttributes\n        .reject(attribute => attribute.get('isTimeOnPage'))\n        .rejectBy('identifier', 'message.content')\n        .rejectBy('identifier', 'role')\n        .concat(this.nonArchivedConversationCustomAttributes);\n      return this._attributesToGroupList(attributes);\n    },\n  ),\n  _attributesToGroupList(attributes) {\n    let peopleAttributeGroup = { heading: 'People data', attributes: [] };\n    let companyAttributeGroup = { heading: 'Company data', attributes: [] };\n    let messageAttributeGroup = { heading: 'Message data', attributes: [] };\n    let conversationAttributeGroup = { heading: 'Conversation data', attributes: [] };\n    attributes.forEach(function(attribute) {\n      if (attribute.isMessage) {\n        messageAttributeGroup.attributes.push(attribute);\n      } else if (attribute.isCompany) {\n        companyAttributeGroup.attributes.push(attribute);\n      } else if (attribute.isConversation) {\n        conversationAttributeGroup.attributes.push(attribute);\n      } else {\n        peopleAttributeGroup.attributes.push(attribute);\n      }\n    });\n    let attributeGroups = [peopleAttributeGroup, companyAttributeGroup];\n    if (isPresent(messageAttributeGroup.attributes)) {\n      attributeGroups.push(messageAttributeGroup);\n    }\n    if (isPresent(conversationAttributeGroup.attributes)) {\n      attributeGroups.push(conversationAttributeGroup);\n    }\n    return attributeGroups;\n  },\n  visitorMessagingAttributesNoPageTargetting: computed(\n    'visitorMessagingAttributes.@each.{isTimeOnPage,isPageTarget}',\n    function() {\n      return this.visitorMessagingAttributes.reject(a => a.isTimeOnPage || a.isPageTarget);\n    },\n  ),\n  visitorMessagingAttributes: computed(\n    'filterableVisitorAttributesForMessaging',\n    'clientVamAttributes',\n    'app.hasAccountMarketingBillingFeature',\n    'app.canUseNewVamPredicates',\n    'newVamPredicates',\n    'newAbmPredicates',\n    function() {\n      let vamAttributes = this.filterableVisitorAttributesForMessaging.concat(\n        this.clientVamAttributes,\n      );\n      if (this.get('app.canUseNewVamPredicates')) {\n        vamAttributes = vamAttributes.concat(this.newVamPredicates);\n      }\n      if (this.get('app.hasAccountMarketingBillingFeature')) {\n        vamAttributes = vamAttributes.concat(this.newAbmPredicates);\n      }\n      vamAttributes = vamAttributes.filter(attribute => attribute.get('tracked'));\n      return vamAttributes.uniqBy('identifier');\n    },\n  ),\n\n  messengerConditionalDisplayAttributes: computed(\n    'clientVamAttributes',\n    'filterableVisitorAttributesForMessaging',\n    function() {\n      return this.clientVamAttributes\n        .concat(this.filterableVisitorAttributesForMessaging)\n        .reject(attribute => attribute.get('isTimeOnPage'));\n    },\n  ),\n\n  vamEditorAttributes: computed(\n    'app.attributes',\n    'filterableVisitorAttributesForMessaging',\n    'abmTemplatableAttributes',\n    'app.hasAccountMarketingBillingFeature',\n    function() {\n      if (!this.get('app.attributes')) {\n        return [];\n      }\n      let attributes = this.get('app.attributes')\n        .filterBy('isApp')\n        .concat(this.filterableVisitorAttributesForMessaging);\n      if (this.get('app.hasAccountMarketingBillingFeature')) {\n        attributes = attributes.concat(\n          this.attributes.filter(attribute =>\n            this.abmTemplatableAttributes.includes(attribute.identifier),\n          ),\n        );\n      }\n\n      return attributes;\n    },\n  ),\n\n  greetingComposerAttributes: rejectBy('app.userAttributes', 'isUserEvent', true),\n  tourUrlComposerAttributes: rejectBy('app.allowedAttributes', 'isUserEvent', true),\n  bannerActionUrlComposerAttributes: rejectBy('app.allowedAttributes', 'isUserEvent', true),\n  userEditorAttributes: ternaryToProperty(\n    'showCompanyAttributes',\n    'app.attributes',\n    'app.userAttributes',\n  ),\n\n  attributeMap: computed('displayableAttributes', function() {\n    let attributes = {};\n\n    this.displayableAttributes.forEach(displayableAttribute => {\n      let name = displayableAttribute.attribute.get('identifier');\n      attributes[name] = displayableAttribute;\n    });\n\n    return attributes;\n  }),\n\n  app: computed(function() {\n    return getOwner(this)\n      .lookup('route:apps/app')\n      .get('app');\n  }),\n\n  standardEditableAttributes: filter('attributes', function(attribute) {\n    return STANDARD_EDITABLE_ATTRIBUTES.has(attribute.get('identifier'));\n  }),\n\n  // TODO: SS - Used for rules where the anonymous attribute can be selected, remove this when 'Role' is fully supported\n  filterableAttributesWithoutRole: computed('filterableAttributes.[]', function() {\n    return this.filterableAttributes.reject(filterableAttribute =>\n      ['role'].includes(filterableAttribute.get('identifier')),\n    );\n  }),\n\n  filterableAttributesWithoutRoleOrType: computed('filterableAttributes.[]', function() {\n    return this.filterableAttributes.reject(filterableAttribute =>\n      ['anonymous', 'role'].includes(filterableAttribute.get('identifier')),\n    );\n  }),\n\n  displayableAttributes: computed(\n    'attributes.length',\n    'attributeSettings.length',\n    'attributes.@each.archived',\n    function() {\n      return this.attributes.reduce((displayableAttributes, attribute) => {\n        if (\n          attribute.get('displayable') &&\n          attribute.get('identifier') !== 'role' &&\n          !attribute.get('archived')\n        ) {\n          displayableAttributes.push(this.convertToAttributeWithSettings(attribute));\n        }\n        return displayableAttributes;\n      }, []);\n    },\n  ),\n\n  attributesWithSettings(attributes) {\n    return attributes.map(attribute => this.convertToAttributeWithSettings(attribute));\n  },\n\n  convertToAttributeWithSettings(attribute) {\n    let attributeSettings = this.attributeSettings;\n    return AttributeWithSettings.create({\n      attribute,\n      attributeSettings: attributeSettings.filterBy('attribute', attribute.get('identifier')),\n    });\n  },\n\n  visibleCompanyAttributes: computed('visibleCompanyAttributeNames.[]', function() {\n    let attributes = this._without(\n      this.visibleCompanyAttributeNames,\n      this.blockListedCompanyAttributeNames,\n    );\n    return this._collectAttributes(attributes);\n  }),\n\n  hiddenCompanyAttributes: computed('hiddenCompanyAttributeNames.[]', function() {\n    let attributes = this._without(\n      this.hiddenCompanyAttributeNames,\n      this.blockListedCompanyAttributeNames,\n    );\n    return this._collectAttributes(attributes);\n  }),\n\n  visibleCompanyAttributeNames: computed(\n    'allCompanyAttributeNames.[]',\n    'app.currentAdmin.visible_company_attribute_ids.[]',\n    function() {\n      return this.allCompanyAttributeNames.filter(attribute => {\n        return this.get('app.currentAdmin.visible_company_attribute_ids').includes(attribute);\n      });\n    },\n  ),\n\n  hiddenCompanyAttributeNames: setDiff('allCompanyAttributeNames', 'visibleCompanyAttributeNames'),\n\n  visibleAttributeNames: computed(\n    'attributeNames.[]',\n    'blockListedAttributeNames.[]',\n    'app.currentAdmin.visible_attribute_ids.[]',\n    function() {\n      let visibleAttributes = this.get('app.currentAdmin.visible_attribute_ids');\n      return this._without(this.attributeNames, this.blockListedAttributeNames).filter(\n        attribute => {\n          return visibleAttributes.includes(attribute);\n        },\n      );\n    },\n  ),\n\n  hiddenAttributeNames: computed(\n    'blockListedAttributeNames.[]',\n    'visibleAttributeNames',\n    'attributeNames',\n    function() {\n      let filter = this._concat('blockListedAttributeNames', 'visibleAttributeNames');\n      return this._without(this.attributeNames, filter);\n    },\n  ),\n\n  visibleAttributes: computed('visibleAttributeNames', function() {\n    let attributes = this._collectAttributes(this.visibleAttributeNames);\n    return this._extractUserAttributes(attributes);\n  }),\n\n  hiddenAttributes: computed('hiddenAttributeNames', function() {\n    let attributes = this._collectAttributes(this.hiddenAttributeNames);\n    return this._extractUserAttributes(attributes);\n  }),\n\n  visibleEventNames: computed(\n    'eventNames.[]',\n    'app.currentAdmin.visible_user_event_ids.[]',\n    function() {\n      return this.eventNames.filter(event => {\n        return this.get('app.currentAdmin.visible_user_event_ids').includes(event);\n      });\n    },\n  ),\n  hiddenEventNames: setDiff('eventNames', 'visibleEventNames'),\n\n  inboxSidebarVisibleAttributeNames: computed(\n    'attributeNames.[]',\n    'blockListedAttributeNames.[]',\n    'app.currentAdmin.visible_attribute_ids.[]',\n    function() {\n      let visibleAttributes = this.get('app.currentAdmin.visible_attribute_ids');\n      return this._without(this.attributeNames, this.blockListedAttributeNames).filter(\n        attribute => {\n          return visibleAttributes.includes(attribute);\n        },\n      );\n    },\n  ),\n\n  // This is the list of attributes that will be displayed above the fold in the user details card in the inbox sidebar\n  inboxSidebarVisibleAttributes: computed('inboxSidebarVisibleAttributeNames.[]', function() {\n    let attributes = this._collectAttributes(this.inboxSidebarVisibleAttributeNames);\n    return this._extractUserAttributes(attributes);\n  }),\n\n  // This is the list of attributes that will be displayed under show more in the user details card in the inbox sidebar\n  inboxSidebarHiddenAttributes: computed(\n    'blockListedAttributeNames.[]',\n    'inboxSidebarVisibleAttributeNames.[]',\n    'attributeNames.[]',\n    function() {\n      let filter = this.blockListedAttributeNames.concat(this.inboxSidebarVisibleAttributeNames);\n      let attributes = this._collectAttributes(this._without(this.attributeNames, filter));\n      return this._extractUserAttributes(attributes);\n    },\n  ),\n\n  _mapAttributesToFilters(filterableAttributes) {\n    return filterableAttributes.map(attribute => {\n      return {\n        attribute,\n        attributeSetting: this.attributeSettings.findBy('attribute', attribute.get('identifier')),\n      };\n    });\n  },\n  entryFilters: computed('attributesForEntry', 'attributeSettings', function() {\n    return this._mapAttributesToFilters(this.attributesForEntry);\n  }),\n  exitFilters: computed('attributesForExit', 'attributeSettings', function() {\n    return this._mapAttributesToFilters(this.attributesForExit);\n  }),\n  goalFilters: computed('attributesForGoals', 'attributeSettings', function() {\n    return this._mapAttributesToFilters(this.attributesForGoals);\n  }),\n  messageGoalFilters: computed('app.messageGoalAttributes', 'attributeSettings', function() {\n    return this._mapAttributesToFilters(this.get('app.messageGoalAttributes'));\n  }),\n\n  messageGoalUserAttributes: filterBy('app.messageGoalAttributes', 'isUser', true),\n  messageGoalCompanyAttributes: filterBy('app.messageGoalAttributes', 'isCompany', true),\n\n  companyAttributes: filter('allCompanyAttributes', function(displayableAttribute) {\n    return this.companyAttributeNamesToDisplay.includes(\n      displayableAttribute.attribute.get('identifier'),\n    );\n  }),\n\n  statsSystemGoalUserAttributes: filter('messageGoalUserAttributes', function(attribute) {\n    return !this.blackListedStatsSystemGoalAttributeNames.includes(attribute.identifier);\n  }),\n  statsSystemGoalAttributes: uniq('statsSystemGoalUserAttributes', '_tourGoalClientPredicatesData'),\n\n  findByIdentifiers(identifiers) {\n    return identifiers.map(identifier => this.findByIdentifier(identifier));\n  },\n\n  findByIdentifier(identifier) {\n    return this.allAttributes.findBy('identifier', identifier);\n  },\n\n  _extractUserAttributes(attributes) {\n    return attributes.filter(displayableAttribute => displayableAttribute.attribute.get('isUser'));\n  },\n\n  _collectAttributes(attributeNames) {\n    return attributeNames.map(attributeName => this.attributeMap[attributeName]);\n  },\n\n  _without(elements, filter) {\n    return elements.reject(element => filter.includes(element));\n  },\n\n  _concat() {\n    let args = Array.prototype.slice.call(arguments);\n    return args.reduce((result, array) => {\n      let parsedArray = Array.isArray(array) ? array : this.get(array);\n      return result.concat(parsedArray);\n    }, []);\n  },\n\n  _shouldRejectAttributeIfNoSegmentsOrTags(attribute, segmentCollection) {\n    return (\n      this._shouldRejectAttributeIfNoCollection(attribute, 'tag', segmentCollection) ||\n      this._shouldRejectAttributeIfNoCollection(attribute, 'manual_tag', 'app.tags')\n    );\n  },\n\n  _shouldRejectAttributeIfNoCollection(attribute, type, collectionProperty) {\n    return attribute.get('type') === type && isEmpty(this.get(collectionProperty));\n  },\n\n  userAttributes: rejectBy(\n    'filterableUserAttributesMaybeWithSegmentsAndTags',\n    'isUntrackedCda',\n    true,\n  ),\n\n  attributeGroupListForAnonymous: computed('messengerConditionalDisplayAttributes.[]', function() {\n    return [\n      {\n        heading: 'Person Data',\n        attributes: this.messengerConditionalDisplayAttributes,\n      },\n    ];\n  }),\n\n  attributeGroupListForUsers: computed(\n    'userAttributes.[]',\n    'filterableCompanyAttributesMaybeWithPlansSegmentsAndTags.[]',\n    'messengerConditionalDisplayAttributes.[]',\n    function() {\n      return [\n        {\n          heading: 'User Data',\n          attributes: [\n            ...this.messengerConditionalDisplayAttributes.filter(el => {\n              return EXTRA_USER_ATTRIBUTES.includes(el.get('name'));\n            }),\n            ...this.userAttributes,\n          ],\n        },\n        {\n          heading: 'Company Data',\n          attributes: this.filterableCompanyAttributesMaybeWithPlansSegmentsAndTags,\n        },\n      ];\n    },\n  ),\n\n  attributeGroupListForContentEvents: computed('contentEventAttributes', function() {\n    let groups = [];\n    Object.keys(this.app.content_events_config).forEach(contentType => {\n      let config = this.app.content_events_config[contentType];\n      let attributes = this._attributesForContentType(contentType, config.events);\n      if (attributes.length > 0) {\n        groups.push({\n          heading: config.title,\n          attributes,\n        });\n      }\n    });\n    return groups;\n  }),\n  _attributesForContentType(contentType, events) {\n    let attributes = Object.keys(events).map(event => `${contentType}_${event}`);\n    if (this.contentEventAttributes.length > 0) {\n      return attributes\n        .map(attribute => this.contentEventAttributes.findBy('identifier', attribute))\n        .filter(Boolean);\n    } else {\n      return [];\n    }\n  },\n\n  contentEventAttributesFor(objectType) {\n    let objectName = objectNames[objectType];\n    return this.contentEventAttributes.filter(attribute =>\n      attribute.identifier.startsWith(`${objectName}_`),\n    );\n  },\n\n  conversationAttributeDescriptors: computed(function() {\n    return this.store.peekAll('conversation-attributes/descriptor');\n  }),\n});\n","import Service from '@ember/service';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { adminHasSeen, markViewAsSeen } from 'embercom/lib/admin-view-tracking';\n\nexport default class BannerDismissalService extends Service {\n  @service store;\n\n  @action\n  async dismiss(key) {\n    return await markViewAsSeen(this.store, key);\n  }\n\n  @action\n  async hasDismissed(key) {\n    return await adminHasSeen(this.store, key);\n  }\n}\n","import Service from '@ember/service';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class BootOptionsService extends Service {\n  @tracked embeddedContent = false;\n\n  initFromQueryParams(params) {\n    if (params.embeddedContent) {\n      this.embeddedContent = true;\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { Promise as EmberPromise } from 'rsvp';\nimport { schedule } from '@ember/runloop';\nimport { empty } from '@ember/object/computed';\nimport Evented from '@ember/object/evented';\nimport Service from '@ember/service';\nimport ENV from 'embercom/config/environment';\nimport RunMixin from 'ember-lifeline/mixins/run';\n\n// This service introduces a phased boot process with a deferred secondary stage\n// for running non-critical code such as ajax requests and secondary UI updates.\n// By default, the second phase kicks in after 2 seconds but performance sensitive\n// routes such as the user list and the inbox can manually control advancement\n// to the secondary phase by calling `deferSecondaryPhase` and `advanceToSecondaryPhase`.\n// If `advanceToSecondaryPhase` isn't called within 10 seconds, the boot auto advances.\n// An `onSecondaryStage` event is emitted when the secondary stage can be run\n\nexport default Service.extend(Evented, RunMixin, {\n  shouldDeferSecondaryPhase: false,\n  hasAdvancedToSecondaryStage: false,\n  considerAutoAdvancementDelay: ENV.APP._2000MS,\n  secondaryStageAdvancementDelay: ENV.APP.secondaryStageAdvancementDelay,\n  autoAdvanceWhenDefferedDelay: ENV.APP._10000MS,\n  manualAdvanceToSecondaryStage: false,\n  hasNoAppModel: empty('app'),\n\n  init() {\n    this._super(...arguments);\n    this._scheduleConsiderAutoAdvancementToSecondaryPhase();\n  },\n\n  deferSecondaryPhase() {\n    this.set('shouldDeferSecondaryPhase', true);\n  },\n\n  deferSecondaryPhaseForManualAdvance() {\n    this.set('manualAdvanceToSecondaryStage', true);\n    this.deferSecondaryPhase();\n  },\n\n  setApp(app) {\n    this.set('app', app);\n    this._scheduleConsiderAutoAdvancementToSecondaryPhase();\n  },\n\n  considerAutoAdvancementToSecondaryPhase() {\n    if (this.shouldDeferSecondaryPhase) {\n      this.runTask(() => {\n        this.advanceToSecondaryPhase();\n      }, this.autoAdvanceWhenDefferedDelay);\n    } else {\n      this.advanceToSecondaryPhase();\n    }\n  },\n\n  advanceToSecondaryPhase() {\n    if (\n      this.hasAdvancedToSecondaryStage ||\n      this.hasNoAppModel ||\n      this.manualAdvanceToSecondaryStage\n    ) {\n      return;\n    }\n\n    schedule('afterRender', () => {\n      let hasAdvancedToSecondaryStage = this.hasAdvancedToSecondaryStage;\n      if (!hasAdvancedToSecondaryStage) {\n        this.set('hasAdvancedToSecondaryStage', true);\n\n        this.runTask(() => {\n          this.triggerSecondaryStage();\n        }, this.secondaryStageAdvancementDelay);\n      }\n    });\n  },\n\n  ifOrWhenSecondaryStageReached() {\n    return new EmberPromise(resolve => {\n      if (this.hasAdvancedToSecondaryStage) {\n        resolve();\n      } else {\n        this.on('onSecondaryStage', () => resolve());\n      }\n    });\n  },\n\n  triggerSecondaryStage() {\n    this.set('hasAdvancedToSecondaryStage', true);\n    this.trigger('onSecondaryStage', this.app);\n  },\n\n  _scheduleConsiderAutoAdvancementToSecondaryPhase() {\n    this.runTask(() => {\n      this.considerAutoAdvancementToSecondaryPhase();\n    }, this.considerAutoAdvancementDelay);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { hash } from 'rsvp';\nimport { computed } from '@ember/object';\nimport { A } from '@ember/array';\nimport { readOnly } from '@ember/object/computed';\nimport Service, { inject as service } from '@ember/service';\nimport OpenCenteredWindow from 'embercom/lib/open-centered-window';\nimport { task } from 'ember-concurrency';\nimport { post } from 'embercom/lib/ajax';\n\nexport default Service.extend({\n  store: service(),\n  notificationsService: service(),\n  appService: service(),\n  attributeService: service(),\n\n  app: readOnly('appService.app'),\n  origin: '',\n  trustedOrigins: A(),\n  messageHandlers: {},\n  messageListener: null,\n  boundEventData: {},\n  boundEventCreatorStage: null,\n  boundEventCreatorState: computed('boundEventData', 'boundEventCreatorStage', function() {\n    return {\n      eventData: this.boundEventData,\n      stage: this.boundEventCreatorStage,\n    };\n  }),\n\n  onBoundEventCreated: () => {},\n\n  openBoundEventCreator({\n    urlString,\n    eventName,\n    trustedOrigins = [],\n    onBoundEventCreated = () => {},\n  }) {\n    urlString = this._urlWithHttpPrefix(urlString);\n    this.setProperties({\n      origin: new URL(urlString).origin,\n      boundEventData: { name: eventName },\n      boundEventCreatorStage: 'CHOOSE_EVENT_TYPE',\n      trustedOrigins,\n      onBoundEventCreated,\n    });\n    let creatorWindow = OpenCenteredWindow(urlString, 800, 1100, 'Codeless Tracking');\n    this._attachMessageListener(creatorWindow);\n  },\n\n  _attachMessageListener(creatorWindow) {\n    if (this.messageListener) {\n      this._removeMessageListener();\n    }\n\n    let messageListener = event => {\n      if (!event.data.boundEventCreator) {\n        return;\n      }\n      if (!this._compareAndUpdateExpectedOrigin(event.origin)) {\n        return;\n      }\n      this._handleMessage(creatorWindow, event.data);\n    };\n\n    window.addEventListener('message', messageListener);\n    this.set('messageListener', messageListener);\n  },\n\n  _removeMessageListener() {\n    window.removeEventListener('message', this.messageListener);\n    this.set('messageListener', null);\n  },\n\n  _handleMessage(creatorWindow, eventData) {\n    let messageHandlers = {\n      ready: this._handleReadyMessage.bind(this),\n      closed: this._handleClosedMessage.bind(this),\n      newEvent: this._handleNewEventMessage.bind(this),\n      newOrigin: this._handleNewOriginMessage.bind(this),\n      updateStage: this._handleUpdateStageMessage.bind(this),\n      updateData: this._handleUpdateDataMessage.bind(this),\n      default: () => {},\n    };\n\n    let messageType = eventData.boundEventCreator.type || 'default';\n    return messageHandlers[messageType](creatorWindow, eventData);\n  },\n\n  _handleReadyMessage(creatorWindow, eventData) {\n    let origin = this.origin;\n\n    if (!creatorWindow || !origin) {\n      return;\n    }\n\n    creatorWindow.postMessage(\n      {\n        boundEventCreator: {\n          type: 'open',\n          boundEventCreatorState: this.boundEventCreatorState,\n        },\n      },\n      origin,\n    );\n  },\n\n  _handleClosedMessage(creatorWindow, eventData) {\n    this._removeMessageListener();\n    creatorWindow.close();\n  },\n\n  _handleUpdateStageMessage(creatorWindow, eventData) {\n    let newStage = eventData.boundEventCreator.newStage;\n    this.set('boundEventCreatorStage', newStage);\n  },\n\n  _handleUpdateDataMessage(creatorWindow, eventData) {\n    let existingEventData = this.boundEventData;\n    let newEventData = eventData.boundEventCreator.eventData;\n    this.set('boundEventData', Object.assign({}, existingEventData, newEventData));\n  },\n\n  _handleNewEventMessage(creatorWindow, eventData) {\n    this._saveNewEvent.perform(eventData);\n  },\n\n  _handleNewOriginMessage(creatorWindow, eventData) {\n    let newOrigin = eventData.boundEventCreator.newOrigin;\n    this.set('origin', newOrigin);\n  },\n\n  _urlWithHttpPrefix(url) {\n    if (url.match(/^http(?:s?):\\/\\//)) {\n      return url;\n    }\n    return `http://${url}`;\n  },\n\n  _isSameHostIgnoringWWW(origin1, origin2) {\n    let origin1Host = new URL(origin1).host.replace(/www\\./, '');\n    let origin2Host = new URL(origin2).host.replace(/www\\./, '');\n    return origin1Host === origin2Host;\n  },\n\n  _isAcceptableOrigin(eventOrigin) {\n    if (this._isSameHostIgnoringWWW(eventOrigin, this.origin)) {\n      return true;\n    }\n    return this.trustedOrigins.any(origin => {\n      return this._isSameHostIgnoringWWW(`http://${origin}`, eventOrigin);\n    });\n  },\n\n  _compareAndUpdateExpectedOrigin(eventOrigin) {\n    let isAcceptableOrigin = this._isAcceptableOrigin(eventOrigin);\n    let isOriginDifferent = eventOrigin !== this.origin;\n    if (isAcceptableOrigin && isOriginDifferent) {\n      this.set('origin', eventOrigin);\n    }\n    return isAcceptableOrigin;\n  },\n\n  _saveNewEvent: task(function*(eventData) {\n    let newEvent = eventData.boundEventCreator.newEvent;\n    let boundWebEvent = this.store.createRecord('event-tracker', newEvent);\n    try {\n      let responses = yield hash({\n        userEventName: this._saveUserEventName(newEvent.name),\n        boundWebEvent: boundWebEvent.save(),\n      });\n      this._handleUserEventNameSaved(responses.userEventName);\n      this._handleBoundWebEventSaved(responses.boundWebEvent);\n    } catch (error) {\n      this._handleBoundWebEventSaveFailed(boundWebEvent);\n      this.notificationsService.notifyError(\n        'Sorry, an error occured while trying to save your new event. Try again or send us a message.',\n      );\n    }\n  }),\n\n  _saveUserEventName(eventName) {\n    return post('/ember/events/create', {\n      app_id: this.get('app.id'),\n      admin_id: this.get('app.currentAdmin.id'),\n      event_name: eventName,\n    });\n  },\n\n  _handleUserEventNameSaved(userEventNameResponse) {\n    let userEvent = this.store.pushPayload({ attribute: userEventNameResponse });\n    if (!this._doesAttributeExist(userEvent)) {\n      this.get('attributeService.attributes').pushObject(userEvent);\n    }\n  },\n\n  _handleBoundWebEventSaved(boundWebEvent) {\n    this.onBoundEventCreated(boundWebEvent);\n  },\n\n  _handleBoundWebEventSaveFailed(boundWebEvent) {\n    boundWebEvent.send('becameInvalid'); // https://stackoverflow.com/a/27435234/2840978\n    boundWebEvent.unloadRecord();\n  },\n\n  _doesAttributeExist(attribute) {\n    return Boolean(this.attributeService.findByIdentifier(attribute.get('identifier')));\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { later } from '@ember/runloop';\nimport Service, { inject as service } from '@ember/service';\nimport Metrics from 'embercom/models/metrics';\n\nexport default Service.extend({\n  hearbeatFrequencyInMinutes: 30,\n  minuteCount: 0,\n\n  store: service(),\n\n  init() {\n    this._super(...arguments);\n    if (window.performance) {\n      this.scheduleHeartbeat();\n    }\n  },\n\n  scheduleHeartbeat() {\n    let hearbeatFrequencyInMinutes = this.hearbeatFrequencyInMinutes;\n    let hearbeatFrequencyInMilliseconds = hearbeatFrequencyInMinutes * 60 * 1000;\n    later(this, this.heartbeat, hearbeatFrequencyInMilliseconds);\n  },\n\n  heartbeat() {\n    let minuteCount = this.incrementProperty('minuteCount', this.hearbeatFrequencyInMinutes);\n    let payload = {};\n\n    try {\n      payload[`emberUsedJSHeapSize${minuteCount}`] = window.performance.memory.usedJSHeapSize;\n      payload[`emberTotalJSHeapSize${minuteCount}`] = window.performance.memory.totalJSHeapSize;\n    } catch (e) {} // eslint-disable-line no-empty\n\n    try {\n      payload[`emberDomNodeCount${minuteCount}`] = this._getAllElements().length;\n      payload[`emberDomEventListenerCount${minuteCount}`] = this._getDomEventListenerCount();\n    } catch (e) {} // eslint-disable-line no-empty\n\n    try {\n      let userCount = this._getModelCacheCount('user');\n      payload[`emberCachedUserCount${minuteCount}`] = userCount;\n\n      let conversationCount = this._getModelCacheCount('conversation');\n      payload[`emberCachedConversationCount${minuteCount}`] = conversationCount;\n\n      let conversationPartCount = this._getModelCacheCount('conversation-part');\n      payload[`emberCachedConversationPartCount${minuteCount}`] = conversationPartCount;\n    } catch (e) {} // eslint-disable-line no-empty\n\n    Metrics.capture(payload);\n    this.scheduleHeartbeat();\n  },\n\n  _getModelCacheCount(modelName) {\n    return this.store.peekAll(modelName).length;\n  },\n\n  _getAllElements() {\n    return document.querySelectorAll('*');\n  },\n\n  _getDomEventListenerCount() {\n    let elements = this._getAllElements();\n    let count = 0;\n\n    for (let i = 0; i < elements.length; i++) {\n      let element = elements[i];\n      let events = $._data(element, 'events');\n\n      if (events) {\n        let eventKeys = Object.keys(events);\n\n        for (let j = 0; j < eventKeys.length; j++) {\n          count += events[eventKeys[j]].length;\n        }\n      }\n    }\n\n    return count;\n  },\n});\n","import Service from '@ember/service';\nimport { intercomPromiseConfirm } from 'embercom/lib/intercom-confirm';\n\nexport default class ConfirmService extends Service {\n  show() {\n    return intercomPromiseConfirm(...arguments);\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport { getOwner } from '@ember/application';\nimport EmberObject, { action, computed } from '@ember/object';\nimport { bool, equal, readOnly, or, notEmpty } from '@ember/object/computed';\nimport Service, { inject as service } from '@ember/service';\nimport { task, taskGroup } from 'ember-concurrency';\nimport ENV from 'embercom/config/environment';\nimport { intercomPromiseConfirm } from 'embercom/lib/intercom-confirm';\nimport { objectNames, objectTypes } from 'embercom/models/data/matching-system/matching-constants';\nimport {\n  OUTBOUND_EDITOR_ROUTES,\n  OUTBOUND_LIST_ROUTES,\n} from 'embercom/models/outbound/content-wrapper';\nimport { stats } from '../models/data/stats-system/stats-constants';\n\nconst PrivateAPI = EmberObject.extend({\n  notificationsService: service(),\n  router: service(),\n  store: service(),\n  intercomEventService: service(),\n  parentRuleset: undefined,\n  activeRulesetLink: undefined,\n\n  activeView: undefined,\n  mode: undefined,\n  uploadingImage: undefined,\n  onChangeFilter: undefined,\n  onChangeMode: undefined,\n  onChangeView: undefined,\n  onChangeActiveRulesetLink: undefined,\n  selectedVersion: undefined,\n  versionSidebarOpen: false,\n  duplicateModalOpen: false,\n\n  isSeriesMode: readOnly('parentRuleset.isMemberOfSeries'),\n  isEditMode: equal('mode', 'edit').readOnly(),\n  isViewMode: equal('mode', 'view').readOnly(),\n  isUploadingImage: equal('uploadingImage', true).readOnly(),\n  rulesetHasVersions: or('parentRuleset.currentVersion', 'selectedVersion'),\n  isViewingVersionSnapshot: notEmpty('selectedVersion'),\n\n  ruleset: computed('parentRuleset', 'selectedVersion', function() {\n    if (this.selectedVersion) {\n      return this.selectedVersion.snapshot;\n    } else {\n      return this.parentRuleset;\n    }\n  }),\n\n  parentRulesetId: readOnly('parentRuleset.id'),\n\n  trackAnalyticsEvent(action, object) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action,\n      object,\n      ruleset_id: this.ruleset.id,\n      content_type: objectNames[this.activeRulesetLink.objectType],\n    });\n  },\n\n  rulesetLinkForConfiguration: computed('activeRulesetLink', function() {\n    if (this.activeRulesetLink) {\n      if (this.activeRulesetLink.objectType === objectTypes.controlGroup) {\n        return this.ruleset.rulesetLinks.find(link => link.objectType !== objectTypes.controlGroup);\n      } else {\n        return this.activeRulesetLink;\n      }\n    }\n  }).readOnly(),\n\n  objectForConfiguration: readOnly('rulesetLinkForConfiguration.object'),\n\n  editorConfiguration: computed('objectForConfiguration', function() {\n    if (this.objectForConfiguration) {\n      return this.objectForConfiguration.editorConfig(this.ruleset);\n    }\n  }).readOnly(),\n\n  activeObjectId: computed('activeRulesetLink', function() {\n    return Number(this.activeRulesetLink.objectId);\n  }),\n\n  _apiTask: task(function*(block, notificationOptions) {\n    if (notificationOptions.confirmation) {\n      let confirmationMessage = yield notificationOptions.confirmation();\n      if (confirmationMessage) {\n        let confirmed = yield intercomPromiseConfirm(\n          this,\n          confirmationMessage,\n          this.container.lookup('route:application'),\n        );\n        if (confirmed === false) {\n          return;\n        }\n      }\n    }\n    try {\n      let response = yield block();\n      if (notificationOptions.success) {\n        this.notificationsService.notifyConfirmation(notificationOptions.success);\n      }\n      return { success: true, response };\n    } catch (error) {\n      let failureMessage = notificationOptions.failure || 'Something went wrong';\n      this.notificationsService.notifyResponseError(error, { default: failureMessage });\n      return { success: false, error };\n    }\n  }),\n\n  apiTasks: taskGroup().drop(),\n\n  saveRuleset: task(function*() {\n    let notificationOptions = this.editorConfiguration.notificationMessages.save;\n    let result = yield this._apiTask.perform(() => {\n      return this.ruleset.save();\n    }, notificationOptions);\n    this.trackAnalyticsEvent('clicked', 'save_and_close');\n    return result;\n  }).group('apiTasks'),\n\n  activateRuleset: task(function*() {\n    let notificationOptions = this.editorConfiguration.notificationMessages.activate;\n    yield this._apiTask.perform(() => {\n      return this.ruleset.activate();\n    }, notificationOptions);\n  }).group('apiTasks'),\n\n  saveAndActivateRuleset: task(function*() {\n    let notificationOptions = this.editorConfiguration.notificationMessages.activate;\n    yield this._apiTask.perform(async () => {\n      await this.ruleset.save();\n      await this.ruleset.activate();\n      this.changeToViewMode();\n    }, notificationOptions);\n  }).group('apiTasks'),\n\n  activateRulesetLink: task(function*() {\n    let notificationOptions = this.editorConfiguration.notificationMessages.activateRulesetLink;\n    yield this._apiTask.perform(() => {\n      return this.ruleset.activate(this.activeRulesetLink.id);\n    }, notificationOptions);\n  }).group('apiTasks'),\n\n  deactivateRulesetLink: task(function*() {\n    let notificationOptions = this.editorConfiguration.notificationMessages.deactivateRulesetLink;\n    yield this._apiTask.perform(() => {\n      return this.ruleset.deactivate(this.activeRulesetLink.id);\n    }, notificationOptions);\n  }).group('apiTasks'),\n\n  endRulesetLink: task(function*() {\n    let notificationOptions = this.editorConfiguration.notificationMessages.endRulesetLink;\n    yield this._apiTask.perform(async () => {\n      await this.activeRulesetLink.end();\n      await this.ruleset.reload();\n    }, notificationOptions);\n  }).group('apiTasks'),\n\n  deactivateRuleset: task(function*() {\n    let notificationOptions = this.editorConfiguration.notificationMessages.deactivate;\n    yield this._apiTask.perform(() => {\n      return this.ruleset.deactivate();\n    }, notificationOptions);\n  }).group('apiTasks'),\n\n  deleteRuleset: task(function*() {\n    let notificationOptions = this.editorConfiguration.notificationMessages.delete;\n    let deletedRulesetID = this.ruleset.id;\n    let deletedContentType = objectNames[this.activeRulesetLink.objectType];\n    let result = yield this._apiTask.perform(() => {\n      return this.ruleset.destroyRecord();\n    }, notificationOptions);\n    if (result.success) {\n      this.intercomEventService.trackAnalyticsEvent({\n        action: 'clicked',\n        object: 'delete',\n        ruleset_id: deletedRulesetID,\n        content_type: deletedContentType,\n      });\n      let routeName = OUTBOUND_LIST_ROUTES[deletedContentType] || 'apps.app.outbound.all';\n      this.router.transitionTo(routeName);\n    }\n  }).group('apiTasks'),\n\n  duplicateRuleset: task(function*(newObjectType = null) {\n    let notificationOptions = this.editorConfiguration.notificationMessages.duplicate;\n    let result = yield this._apiTask.perform(() => {\n      return this.ruleset.duplicate({ new_object_type: newObjectType });\n    }, notificationOptions);\n    if (result.success) {\n      this.trackAnalyticsEvent('clicked', 'duplicate');\n      let routeName =\n        OUTBOUND_EDITOR_ROUTES[objectNames[newObjectType]] || this.router.currentRouteName;\n      this.router.transitionTo(routeName, result.response.id, {\n        queryParams: { mode: 'edit' },\n      });\n    }\n    this.set('duplicateModalOpen', false);\n  }).group('apiTasks'),\n\n  cancelRulesetChanges: task(function*() {\n    let notificationOptions = this.editorConfiguration.notificationMessages.cancel;\n    yield this._apiTask.perform(() => {\n      this.ruleset.rollbackAttributes();\n    }, notificationOptions);\n  }).group('apiTasks'),\n\n  duplicateRulesetLink: task(function*() {\n    let notificationOptions = this.editorConfiguration.notificationMessages.duplicateRulesetLink;\n    let result = yield this._apiTask.perform(() => {\n      return this.rulesetLinkForConfiguration.duplicate();\n    }, notificationOptions);\n    if (result.success) {\n      this.store.pushPayload({ [result.response.type]: result.response });\n      let newRulesetLink = this.store.peekRecord(`${result.response.type}`, result.response.id);\n      this.ruleset.rulesetLinks.pushObject(newRulesetLink);\n      return newRulesetLink;\n    }\n  }).group('apiTasks'),\n\n  createControlGroup: task(function*() {\n    let result = yield this._apiTask.perform(async () => {\n      let newRulesetLink = await this.store\n        .createRecord('matching-system/ruleset-links/control-group', {\n          rulesetId: this.ruleset.id,\n        })\n        .save();\n\n      this.ruleset.rulesetLinks.pushObject(newRulesetLink);\n      return newRulesetLink;\n    }, {});\n    if (result.success) {\n      return result.response;\n    }\n  }).group('apiTasks'),\n\n  deleteRulesetLink: task(function*() {\n    let notificationOptions;\n    if (this.activeRulesetLink.isControlGroup) {\n      notificationOptions = this.editorConfiguration.notificationMessages.deleteControlGroup;\n    } else {\n      notificationOptions = this.editorConfiguration.notificationMessages.deleteRulesetLink;\n    }\n    yield this._apiTask.perform(() => {\n      return this.activeRulesetLink.destroyRecord();\n    }, notificationOptions);\n  }).group('apiTasks'),\n\n  scheduleRuleset: task(function*() {\n    let notificationOptions = this.editorConfiguration.notificationMessages.schedule;\n    yield this._apiTask.perform(async () => {\n      await this.ruleset.save();\n      await this.ruleset.schedule();\n      this.changeToViewMode();\n    }, notificationOptions);\n  }).group('apiTasks'),\n\n  unscheduleRuleset: task(function*() {\n    let notificationOptions = this.editorConfiguration.notificationMessages.unschedule;\n    yield this._apiTask.perform(() => {\n      return this.ruleset.unschedule();\n    }, notificationOptions);\n  }).group('apiTasks'),\n\n  changeToViewMode: action(async function() {\n    this.set('mode', 'view');\n    if (this.onChangeMode) {\n      this.onChangeMode('view');\n    }\n    this.changeActiveViewTo('content');\n  }),\n\n  uploadImageStarted: action(async function() {\n    this.set('uploadingImage', true);\n  }),\n\n  uploadImageFinished: action(async function() {\n    this.set('uploadingImage', false);\n  }),\n\n  selectVersion: action(function(version) {\n    let activeRulesetLinkInSnapshot = version.snapshot.rulesetLinks.find(\n      rulesetLink => this.activeRulesetLink?.databaseId === rulesetLink.databaseId,\n    );\n\n    this.setProperties({\n      selectedVersion: version,\n      activeRulesetLink: activeRulesetLinkInSnapshot || version.snapshot.rulesetLinks.firstObject,\n    });\n  }),\n\n  clearVersion: action(function() {\n    this.setProperties({\n      selectedVersion: undefined,\n      activeRulesetLink: this.parentRuleset.rulesetLinks.firstObject,\n    });\n  }),\n\n  changeActiveViewTo: action(function(view) {\n    if (!this.isEditMode) {\n      this.set('activeView', view);\n      if (this.onChangeView) {\n        this.onChangeView(view);\n      }\n      this.changeActiveFilterTo(stats.receipt);\n    } else {\n      throw new Error('Attempted to change active view while in edit mode');\n    }\n  }),\n\n  changeActiveFilterTo: action(function(filter) {\n    if (!this.isEditMode) {\n      this.set('activeFilter', filter);\n      if (this.onChangeFilter) {\n        this.onChangeFilter(filter);\n      }\n    } else {\n      throw new Error('Attempted to change active filter while in edit mode');\n    }\n  }),\n});\n\nexport default Service.extend({\n  init() {\n    this._super(...arguments);\n    let container = getOwner(this);\n    this.set('_privateAPI', PrivateAPI.create({ container }));\n    this.set = () => {\n      throw new Error(`'set' is disabled. The content editor service is read only`);\n    };\n    this.setProperties = () => {\n      throw new Error(`'setProperties' is disabled. The content editor service is read only`);\n    };\n  },\n\n  isEditMode: readOnly('_privateAPI.isEditMode'),\n  isSeriesMode: readOnly('_privateAPI.isSeriesMode'),\n  isViewMode: readOnly('_privateAPI.isViewMode'),\n  isUploadingImage: readOnly('_privateAPI.isUploadingImage'),\n  selectedVersion: readOnly('_privateAPI.selectedVersion'),\n  activeObjectId: readOnly('_privateAPI.activeObjectId'),\n  versionSidebarOpen: readOnly('_privateAPI.versionSidebarOpen'),\n  duplicateModalOpen: readOnly('_privateAPI.duplicateModalOpen'),\n  hasPreviouslyOpenedCurrentPanel: bool('_privateAPI.hasPreviouslyOpenedCurrentPanel'),\n\n  ruleset: readOnly('_privateAPI.ruleset'),\n  parentRulesetId: readOnly('_privateAPI.parentRulesetId'),\n  activeFilter: readOnly('_privateAPI.activeFilter'),\n  activeRulesetLink: readOnly('_privateAPI.activeRulesetLink'),\n  activeView: readOnly('_privateAPI.activeView'),\n  activeObject: readOnly('_privateAPI.activeRulesetLink.object'),\n  isViewingVersionSnapshot: readOnly('_privateAPI.isViewingVersionSnapshot'),\n  parentRulesetLinks: readOnly('_privateAPI.parentRuleset.rulesetLinks'),\n  activeRulesetLinkIndex: computed('ruleset.rulesetLinks.[]', 'activeRulesetLink', function() {\n    return this.ruleset.rulesetLinks.indexOf(this.activeRulesetLink);\n  }),\n\n  activeHumanReadableObjectName: readOnly('activeRulesetLink.humanReadableObjectName'),\n\n  async withModelChange(block, options = {}) {\n    this.log(`withModelChange – location [${options.location}]`);\n    await block();\n  },\n\n  configRulesetLink: readOnly('_privateAPI.rulesetLinkForConfiguration'),\n  editorConfiguration: readOnly('_privateAPI.editorConfiguration'),\n  initiallyOpenSectionName: readOnly(\n    'editorConfiguration.editMode.editorPanelConfigs.firstObject.name',\n  ),\n\n  activateRuleset: readOnly('_privateAPI.activateRuleset'),\n  saveAndActivateRuleset: readOnly('_privateAPI.saveAndActivateRuleset'),\n  activateRulesetLink: readOnly('_privateAPI.activateRulesetLink'),\n  cancelRulesetChanges: readOnly('_privateAPI.cancelRulesetChanges'),\n  deactivateRuleset: readOnly('_privateAPI.deactivateRuleset'),\n  deactivateRulesetLink: readOnly('_privateAPI.deactivateRulesetLink'),\n  deleteRuleset: readOnly('_privateAPI.deleteRuleset'),\n  deleteRulesetLink: readOnly('_privateAPI.deleteRulesetLink'),\n  duplicateRuleset: readOnly('_privateAPI.duplicateRuleset'),\n  duplicateRulesetLink: readOnly('_privateAPI.duplicateRulesetLink'),\n  endRulesetLink: readOnly('_privateAPI.endRulesetLink'),\n  saveRuleset: readOnly('_privateAPI.saveRuleset'),\n  scheduleRuleset: readOnly('_privateAPI.scheduleRuleset'),\n  unscheduleRuleset: readOnly('_privateAPI.unscheduleRuleset'),\n  rulesetHasVersions: readOnly('_privateAPI.rulesetHasVersions'),\n\n  onChangeFilter: readOnly('_privateAPI.onChangeFilter'),\n  onChangeMode: readOnly('_privateAPI.onChangeMode'),\n  onChangeView: readOnly('_privateAPI.onChangeView'),\n  onChangeActiveRulesetLink: readOnly('_privateAPI.onChangeActiveRulesetLink'),\n\n  register(params = {}) {\n    this.log(`Registered ruleset id:[${params.ruleset.id}]`);\n    if (this.ruleset) {\n      throw new Error('Only one Ruleset may be registered at a time in the content editor service');\n    }\n    this._privateAPI.setProperties({\n      parentRuleset: params.ruleset,\n      activeRulesetLink: params.rulesetLink || params.ruleset.rulesetLinks.firstObject,\n      activeFilter: params.filter,\n      activeView: params.view,\n      mode: params.mode,\n      onChangeFilter: params.onChangeFilter || (() => {}),\n      onChangeMode: params.onChangeMode || (() => {}),\n      onChangeView: params.onChangeView || (() => {}),\n      onChangeActiveRulesetLink: params.onChangeActiveRulesetLink || (() => {}),\n    });\n\n    if (params.mode === 'edit') {\n      this.sectionDidOpen(this.initiallyOpenSectionName);\n    }\n  },\n\n  unregister(ruleset) {\n    if (this._privateAPI.parentRuleset === ruleset) {\n      this._privateAPI.setProperties({\n        parentRuleset: undefined,\n        activeRulesetLink: undefined,\n        activeFilter: undefined,\n        activeView: undefined,\n        mode: undefined,\n        onChangeFilter: undefined,\n        onChangeMode: undefined,\n        onChangeView: undefined,\n        onChangeActiveRulesetLink: undefined,\n        selectedVersion: undefined,\n        versionSidebarOpen: false,\n      });\n    } else {\n      throw new Error('Attempted to unregister a Ruleset which was not set');\n    }\n  },\n\n  changeToEditMode: action(async function() {\n    this.log('Changing to edit mode');\n    this._privateAPI.trackAnalyticsEvent('clicked', 'edit');\n    this.changeActiveViewTo('content');\n    this._privateAPI.set('mode', 'edit');\n    if (this._privateAPI.onChangeMode) {\n      this.onChangeMode('edit');\n    }\n  }),\n\n  hideVersionSidebar: action(async function() {\n    this._privateAPI.set('versionSidebarOpen', false);\n    this._privateAPI.clearVersion();\n  }),\n\n  showVersionSidebar: action(async function() {\n    this._privateAPI.set('versionSidebarOpen', true);\n  }),\n\n  hideDuplicateModal: action(async function() {\n    this._privateAPI.set('duplicateModalOpen', false);\n  }),\n\n  showDuplicateModal: action(async function() {\n    this._privateAPI.set('duplicateModalOpen', true);\n  }),\n\n  changeToViewMode: action(async function() {\n    this.log('Changing to view mode');\n    this._privateAPI.changeToViewMode();\n  }),\n\n  uploadImageStarted: action(async function() {\n    this._privateAPI.uploadImageStarted();\n  }),\n\n  uploadImageFinished: action(async function() {\n    this._privateAPI.uploadImageFinished();\n  }),\n\n  selectVersion: action(async function(version) {\n    this._privateAPI.selectVersion(version);\n  }),\n\n  showAllVersions: action(async function() {\n    this._privateAPI.clearVersion();\n  }),\n\n  changeActiveViewTo: action(async function(view) {\n    this.log(`Changing activeView to: [${view}]`);\n    this._privateAPI.changeActiveViewTo(view);\n  }),\n\n  changeActiveFilterTo: action(async function(filter) {\n    this.log(`Changing activeFilter to: [${filter}]`);\n    this._privateAPI.changeActiveFilterTo(filter);\n  }),\n\n  deleteTest: action(async function() {\n    await this.deleteRulesetLink.perform();\n    this.changeActiveRulesetLink(this.ruleset.rulesetLinks.firstObject);\n  }),\n\n  changeActiveRulesetLink: action(function(rulesetLink) {\n    this.log(`Changing activeRulesetLink : [${rulesetLink.id}]`);\n    if (\n      !this.activeRulesetLink.isControlGroup &&\n      rulesetLink.isControlGroup &&\n      !['content', 'receipts', 'goals'].includes(this.activeView)\n    ) {\n      this.changeActiveViewTo('content');\n    }\n    this._privateAPI.set('activeRulesetLink', rulesetLink);\n    if (this._privateAPI.onChangeActiveRulesetLink) {\n      this.onChangeActiveRulesetLink(rulesetLink.id);\n    }\n  }),\n\n  createNewTest: action(async function() {\n    let newRulesetLink = await this.duplicateRulesetLink.perform();\n    this._privateAPI.trackAnalyticsEvent('clicked', `content_editor_ab_test`);\n    this.changeActiveRulesetLink(newRulesetLink);\n  }),\n\n  createNewControlGroup: action(async function() {\n    let newRulesetLink = await this._privateAPI.createControlGroup.perform();\n    this.log(`Changing activeRulesetLink : [${newRulesetLink.id}]`);\n    this._privateAPI.trackAnalyticsEvent('clicked', `content_editor_control_group`);\n    this.changeActiveRulesetLink(newRulesetLink);\n  }),\n\n  sectionDidOpen: action(function(panelName) {\n    let clientData = this.ruleset.clientData;\n    if (clientData.get('openedPanels').includes(panelName)) {\n      this._privateAPI.set('hasPreviouslyOpenedCurrentPanel', true);\n    } else {\n      this._privateAPI.set('hasPreviouslyOpenedCurrentPanel', false);\n      this.withModelChange(\n        () => {\n          clientData.get('openedPanels').pushObject(panelName);\n        },\n        { location: 'edit-mode.recordPanelOpen' },\n      );\n    }\n    this._privateAPI.trackAnalyticsEvent('opened', `content_editor_${panelName}`);\n  }),\n\n  sectionDidClose: action(function(panelName) {\n    this._privateAPI.trackAnalyticsEvent('closed', `content_editor_${panelName}`);\n  }),\n\n  log(message) {\n    if (ENV.environment !== 'production' || window.LOG_CONTENT_EDITOR_SERVICE) {\n      console.log(`📝[Content Editor Service] ${message}`);\n    }\n  },\n});\n","import Service from '@ember/service';\nimport { inject as service } from '@ember/service';\n\nexport default class ConversationAccessService extends Service {\n  @service appService;\n\n  isConversationAccessAllowed(conversation, admin) {\n    let adminPermission = admin.currentAppPermissions;\n    // This follows the same logic we have on the backend\n    // https://github.com/intercom/intercom/blob/d16bfa2d35e771396288ea048084fbaab06b6eb9/app/commands/conversations/admin/can_access_conversation.rb#L3\n    switch (adminPermission.accessType) {\n      case 'all_except':\n        return (\n          this._isAssignedToThem(admin, conversation) ||\n          !this._isAssignedToExcluded(adminPermission, conversation)\n        );\n      case 'only_them':\n        return (\n          this._isAssignedToThem(admin, conversation) ||\n          this._shouldIncludeUnassigned(adminPermission, conversation)\n        );\n      case 'only_them_or_their_teams':\n        return (\n          this._isAssignedToThem(admin, conversation) ||\n          this._shouldIncludeUnassigned(adminPermission, conversation) ||\n          this._isAssignedToTheirTeams(admin, conversation)\n        );\n      default:\n        return true;\n    }\n  }\n\n  get app() {\n    return this.appService.app;\n  }\n\n  _isAssignedToTheirTeams(admin, conversation) {\n    let adminTeams = this.app.teamsWithoutAppTeam\n      .filter(team => team.member_ids.includes(parseInt(admin.id, 10)))\n      .mapBy('id');\n    return adminTeams.includes(conversation.team_assignee_id);\n  }\n\n  _isAssignedToThem({ id }, { admin_assignee_id }) {\n    return admin_assignee_id === id;\n  }\n\n  _isAssignedToExcluded({ assigneeBlockedList }, { admin_assignee_id, team_assignee_id }) {\n    let blockList = assigneeBlockedList || [];\n    blockList = blockList.map(id => parseInt(id, 10));\n    return (\n      blockList.includes(parseInt(admin_assignee_id, 10)) ||\n      blockList.includes(parseInt(team_assignee_id, 10))\n    );\n  }\n\n  _shouldIncludeUnassigned(permission, conversation) {\n    return (\n      permission.includeUnassigned && !conversation.hasTeamAssignee && !conversation.hasAssignee\n    );\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Service, { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { task, timeout } from 'ember-concurrency';\nimport { assert } from '@ember/debug';\nimport containerLookup from 'embercom/lib/container-lookup';\nimport { captureException } from 'embercom/lib/sentry';\n\nconst SWEEP_INTERVAL = 1000 * 60;\n\nexport function conversationTask(definedTask) {\n  return task(function*(...args) {\n    let cleaner = containerLookup('service:conversationCleaner');\n\n    let conversation = this;\n    cleaner.retain(conversation, 'convo task');\n\n    try {\n      return yield* definedTask.apply(this, args);\n    } finally {\n      cleaner.release(conversation, 'convo task');\n    }\n  });\n}\n\nexport default Service.extend({\n  store: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  init() {\n    this._super(...arguments);\n    this.referenceCounts = {};\n    this.readyToUnload = {};\n    this.log = {};\n  },\n\n  start() {\n    this._tick.perform();\n  },\n\n  stop() {\n    // could also let the current one complete & cancel the next\n    // or trigger sweep right away before cancelling etc…\n    this._tick.cancelAll();\n  },\n\n  isRetained(conversation) {\n    return (\n      this.referenceCounts.hasOwnProperty(conversation.id) &&\n      this.referenceCounts[conversation.id] > 0\n    );\n  },\n\n  retain(conversation, location = '') {\n    if (this.app && this.app.canUseReferenceCountLogging) {\n      this.logOperation('retain', conversation, location);\n    }\n    let count = this.referenceCounts[conversation.id] || 0;\n    this.referenceCounts[conversation.id] = count + 1;\n    delete this.readyToUnload[conversation.id];\n  },\n\n  release(conversation, location = '') {\n    if (this.app && this.app.canUseReferenceCountLogging) {\n      this.logOperation('release', conversation, location);\n    }\n    let count = this.referenceCounts[conversation.id] || 0;\n    assert('Attempted to release a conversation which is not retained', count > 0);\n\n    if (count <= 0) {\n      if (this.app && this.app.canUseReferenceCountLogging) {\n        captureException(new Error('Attempted to release a conversation which is not retained'), {\n          extra: { referenceCountingLog: this.log[conversation.id] },\n        });\n      } else {\n        captureException(new Error('Attempted to release a conversation which is not retained'));\n      }\n      count = 1; // ensure we don't go negative\n    }\n\n    this.referenceCounts[conversation.id] = count - 1;\n    delete this.readyToUnload[conversation.id];\n  },\n\n  retainMulti(conversations, location = '') {\n    conversations.forEach(conversation => this.retain(conversation, location));\n  },\n\n  releaseMulti(conversations, location = '') {\n    conversations.forEach(conversation => this.release(conversation, location));\n  },\n\n  _tick: task(function*() {\n    if (Ember.testing) {\n      return;\n    }\n\n    while (true) {\n      this._sweep();\n      yield timeout(SWEEP_INTERVAL);\n    }\n  }).drop(),\n\n  _peek(id) {\n    return this.store.peekRecord('conversation', id);\n  },\n\n  _sweep() {\n    Object.keys(this.readyToUnload).forEach(id => {\n      let conversation = this._peek(id);\n      if (conversation) {\n        conversation.unloadRecord();\n      }\n      if (this.app && this.app.canUseReferenceCountLogging) {\n        this.clearLog(id);\n      }\n    });\n    this.readyToUnload = {};\n\n    Object.keys(this.referenceCounts).forEach(id => {\n      let count = this.referenceCounts[id];\n      if (count === 0) {\n        this.readyToUnload[id] = true;\n        delete this.referenceCounts[id];\n      }\n    });\n  },\n\n  logOperation(operation, conversation, location) {\n    if (!this.log[conversation.id]) {\n      this.log[conversation.id] = [];\n    }\n    this.log[conversation.id].push(`${operation} ${location}`);\n  },\n\n  clearLog(id) {\n    if (this.log[id]) {\n      delete this.log[id];\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport { Promise as EmberPromise } from 'rsvp';\nimport Service, { inject as service } from '@ember/service';\nimport Conversation from 'embercom/models/conversation';\n\nexport default Service.extend({\n  store: service(),\n  options: {},\n\n  getConversationsPage(options) {\n    this.set('options', options);\n    return new EmberPromise(resolve => {\n      return this._conversationSearch().then(response => {\n        resolve({\n          conversations: this._loadConversationsResponse(response),\n          totalCount: response.total_count || 0,\n        });\n      });\n    });\n  },\n\n  paginate(options) {\n    this.set('options', options);\n    return new EmberPromise(resolve => {\n      this._conversationSearch().then(response => {\n        let conversations = this._loadConversationsResponse(response);\n\n        conversations.forEach(conversation => {\n          if (!this.get('options.currentConversations').includes(conversation)) {\n            this.get('options.currentConversations').pushObject(conversation);\n            return;\n          }\n        });\n\n        resolve({\n          conversations: this.get('options.currentConversations'),\n          totalCount: response.total_count,\n          hasMoreConversationsToLoad:\n            this.get('options.currentConversations').length < response.total_count,\n        });\n      });\n    });\n  },\n\n  _loadConversationsResponse(response) {\n    let conversations = this._formatConversations(response.conversations);\n    this.store.pushPayload({ conversations });\n    return conversations.map(({ id }) => this.store.peekRecord('conversation', id));\n  },\n\n  _formatConversations(response) {\n    if (this.get('options.userId')) {\n      return response.map(conversation => {\n        return conversation.conversation;\n      });\n    } else {\n      return response;\n    }\n  },\n\n  _conversationSearch() {\n    return Conversation.newSearch({\n      app_id: this.get('options.appId'),\n      assignee_identifier: this.get('options.adminId'),\n      page_from: this.get('options.pageFrom'),\n      user_id: this.get('options.userId'),\n      scope: this.get('options.scope'),\n      status: this.get('options.status'),\n      before: this.get('options.before'),\n      initiated_by_admin_id: this.get('options.initiatedByAdminId'),\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport Service, { inject as service } from '@ember/service';\nimport { getRouter } from 'embercom/lib/container-lookup';\nimport { readOnly } from '@ember/object/computed';\nimport generateUUID from 'embercom/lib/uuid-generator';\nimport OpenCenteredWindow from 'embercom/lib/open-centered-window';\nimport { buildAuthorizeUrl } from 'embercom/lib/import/authorize-url-builder';\n\nexport default Service.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  tokenRetrievalError: false,\n  conversationImport: null,\n  intercomEventService: service(),\n\n  handleRedirect(queryParams) {\n    let searchParams = new URLSearchParams(queryParams);\n    let code = searchParams.get('code');\n    let state = searchParams.get('state');\n    if (!code || !this._verifyState(state)) {\n      return this.set('tokenRetrievalError', true);\n    }\n\n    let origin = this.conversationImport.get('origin');\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'integrated',\n      object: origin,\n      context: `${origin}_import`,\n    });\n\n    this.conversationImport.set('code', code);\n    return this.conversationImport\n      .save()\n      .then(response => {\n        this.set('tokenRetrievalError', false);\n        let router = getRouter();\n        router.transitionTo('apps.app.import.zendesk-chat.import', response);\n      })\n      .catch(error => {\n        this.set('tokenRetrievalError', true);\n      });\n  },\n\n  authorize(conversationImport) {\n    this.set('tokenRetrievalError', false);\n    this.set('conversationImport', conversationImport);\n    let authorizeUrl = this._authorizeUrl(conversationImport);\n    return OpenCenteredWindow(authorizeUrl, 800, 1100);\n  },\n\n  _authorizeUrl(conversationImport) {\n    let baseUrl = buildAuthorizeUrl(conversationImport);\n    return `${baseUrl}&state=${this._generateState()}`;\n  },\n\n  _verifyState(state) {\n    return state === window.sessionStorage.getItem('authorizeState');\n  },\n\n  _generateState() {\n    let state = generateUUID();\n    window.sessionStorage.setItem('authorizeState', state);\n    return state;\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { readOnly } from '@ember/object/computed';\nimport Service, { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\n\nimport { task } from 'ember-concurrency';\n\nexport default Service.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  hasConversations: null,\n\n  checkForConversations: task(function*() {\n    if (this.hasConversations !== null) {\n      return this.hasConversations;\n    }\n    let app_id = this.get('app.id');\n    try {\n      let result = yield this._ajaxGet({\n        url: `/ember/apps/${app_id}/conversations_exist.json`,\n        data: { app_id },\n      });\n      let hasConversations = this.set('hasConversations', result.conversations_exists);\n      return hasConversations;\n    } catch (e) {\n      console.error(e);\n      return false;\n    }\n  }),\n\n  _ajaxGet(options) {\n    return ajax(Object.assign(options, { type: 'GET' }));\n  },\n});\n","import Service from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport Range from 'embercom/models/reporting/range';\nimport moment from 'moment';\n\nfunction nested(path, query) {\n  return {\n    nested: {\n      path,\n      query,\n    },\n  };\n}\n\nfunction aggResolutionTimePercentiles() {\n  return {\n    aggs: {\n      resolution_time_percentiles: {\n        percentiles: {\n          field: 'time_to_close_from_initial_user_part',\n        },\n      },\n    },\n  };\n}\n\nfunction aggResponseTimePercentiles() {\n  return {\n    aggs: {\n      response_time_percentiles: {\n        percentiles: {\n          field: 'response_time',\n        },\n      },\n    },\n  };\n}\n\nfunction aggByMonth(aggs = {}) {\n  return {\n    aggs: {\n      group_by_month: {\n        date_histogram: {\n          field: 'created_at',\n          interval: 'month',\n        },\n        ...aggs,\n      },\n    },\n  };\n}\n\nfunction aggByTagId() {\n  return {\n    aggs: {\n      tag_id: {\n        terms: {\n          field: 'tag_ids',\n        },\n      },\n    },\n  };\n}\n\nfunction aggByConversationRatingIndex() {\n  return {\n    aggs: {\n      conversation_rating: {\n        terms: {\n          field: 'conversation_rating_index',\n        },\n      },\n    },\n  };\n}\n\nfunction aggSplitDateRange(dateRange) {\n  let start = dateRange.startMoment;\n  let end = dateRange.endMoment;\n  let duration = end.diff(start);\n  let midPoint = start.clone().add(duration / 2); //Math.round(start + (end - start) / 2);\n  return {\n    aggs: {\n      date_ranges: {\n        range: {\n          field: 'created_at',\n          keyed: true,\n          ranges: [\n            {\n              key: 'previous',\n              from: start.format(),\n              to: midPoint.format(),\n            },\n            {\n              key: 'current',\n              from: midPoint.format(),\n              to: end.format(),\n            },\n          ],\n        },\n      },\n    },\n  };\n}\n\n// A date range with twice the duration, and the same end date\nfunction extendedPrecedingRange(dateRange, timezone) {\n  let start = dateRange.startMoment;\n  let end = dateRange.endMoment;\n  let duration = end.diff(start);\n  return Range.createFromParams(\n    start\n      .clone()\n      .subtract(duration)\n      .format(),\n    end.format(),\n    timezone,\n  );\n}\n\nexport default class ConversationalInsightsService extends Service {\n  @service appService;\n  @tracked currentDateRange;\n\n  cache = {};\n\n  constructor() {\n    super(...arguments);\n    let endDate = moment\n      .tz(this.appService.app.timezone)\n      .endOf('day')\n      .format();\n    let startDate = moment\n      .tz(this.appService.app.timezone)\n      .subtract(1, 'years')\n      .startOf('day')\n      .format();\n    this.currentDateRange = Range.createFromParams(\n      startDate,\n      endDate,\n      this.appService.app.timezone,\n    );\n  }\n\n  async getConversations({ topic, topicToOverlap, tagIds, from, size }) {\n    from = from || 0;\n    size = size || 10;\n    let query = {\n      ...this.querySelectConversatonsWithKeyphrases({\n        topic,\n        topicToOverlap,\n        tagIds,\n      }),\n      from,\n      size,\n      highlight: {\n        fields: {\n          human_parts_plain_text: {},\n          'parts.body': { pre_tags: ['<u>'], post_tags: ['</u>'] },\n          'parts.body.full_words': { pre_tags: ['<u>'], post_tags: ['</u>'] },\n        },\n      },\n      sort: [{ created_at: { order: 'desc' } }],\n    };\n    let results = await this.queryBackend({ query });\n    return {\n      total: results.hits.total,\n      conversations: results.hits.hits.map(c => {\n        let highlightedIds;\n        let highlights;\n        if (c.highlight) {\n          let esHighlights = (c.highlight['parts.body.full_words'] || []).concat(\n            c.highlight['parts.body'] || [],\n          );\n          highlightedIds = esHighlights.map(highlight => {\n            let highlightedText = highlight.replace(/\\<\\/?u\\>/g, '');\n            let highlightedPart = c._source.parts.find(p => p.body.includes(highlightedText));\n            let conversationId = c._source.id.split('_')[1];\n            if (highlightedPart === c._source.parts[0]) {\n              return `initial-part-${conversationId}-${highlightedPart.id}`;\n            }\n            return `comment-${conversationId}-${highlightedPart.id}`;\n          });\n          highlights = esHighlights;\n        } else {\n          highlightedIds = [];\n          highlights = [];\n        }\n\n        return {\n          _source: c._source,\n          highlights,\n          highlightedIds,\n        };\n      }),\n    };\n  }\n\n  async getCounts({ topic, topicToOverlap }) {\n    let query = {\n      ...this.querySelectConversatonsWithKeyphrases({\n        topic,\n        topicToOverlap,\n      }),\n      ...aggByMonth(),\n      size: 0,\n    };\n    let queryResult = await this.queryBackend({ query });\n    return {\n      total: queryResult.hits.total,\n      countsByMonth: queryResult.aggregations.group_by_month.buckets,\n    };\n  }\n\n  async getMultipleCounts({ topics, byMonth, comparePreviousRange }) {\n    let queries = topics.map(topic => {\n      let dateRange = comparePreviousRange\n        ? extendedPrecedingRange(this.currentDateRange, this.appService.app.timezone)\n        : this.currentDateRange;\n\n      let query = {\n        ...this.querySelectConversatonsWithKeyphrases({ topic, dateRange }),\n        size: 0,\n      };\n      if (byMonth) {\n        query = {\n          ...query,\n          ...aggByMonth(),\n        };\n      }\n      if (comparePreviousRange) {\n        query = {\n          ...query,\n          ...aggSplitDateRange(dateRange),\n        };\n      }\n      return query;\n    });\n    let rawResults = await this.multiQueryBackend({ queries });\n    return rawResults.map(queryResult => {\n      let result = {\n        total: queryResult.hits.total,\n      };\n      if (byMonth) {\n        result.countsByMonth = queryResult.aggregations.group_by_month.buckets;\n      }\n      if (comparePreviousRange) {\n        result.currentCount = queryResult.aggregations.date_ranges.buckets.current.doc_count;\n        result.previousCount = queryResult.aggregations.date_ranges.buckets.previous.doc_count;\n      }\n      return result;\n    });\n  }\n\n  async getOverlapCounts({ topic, topicsToOverlap }) {\n    let queries = topicsToOverlap.map(topicToOverlap => {\n      let query = {\n        ...this.querySelectConversatonsWithKeyphrases({ topic, topicToOverlap }),\n        ...aggByMonth(),\n        size: 0,\n      };\n      return query;\n    });\n    let rawResults = await this.multiQueryBackend({ queries });\n    return rawResults.map(queryResult => {\n      let result = {\n        total: queryResult.hits.total,\n        countsByMonth: queryResult.aggregations.group_by_month.buckets,\n      };\n      return result;\n    });\n  }\n\n  async getCountsSplitByTag({ topic }) {\n    let query = {\n      ...this.querySelectConversatonsWithKeyphrases({ topic }),\n      ...aggByMonth(aggByTagId()),\n      size: 0,\n    };\n    let queryResult = await this.queryBackend({ query });\n    return {\n      total: queryResult.hits.total,\n      countsByMonth: queryResult.aggregations.group_by_month.buckets,\n    };\n  }\n\n  async getConversationRatings({ topic }) {\n    let query = {\n      ...this.querySelectConversatonsWithKeyphrases({\n        topic,\n        csatValues: [1, 2, 3, 4, 5],\n      }),\n      ...aggByMonth(aggByConversationRatingIndex()),\n      size: 0,\n    };\n    let queryResults = await this.queryBackend({ query });\n    return {\n      total: queryResults.hits.total,\n      buckets: queryResults.aggregations.group_by_month.buckets,\n    };\n  }\n\n  async getResponseTimePercentiles({ topic }) {\n    let query = {\n      ...this.querySelectConversatonsWithKeyphrases({ topic }),\n      ...aggByMonth(aggResponseTimePercentiles()),\n      size: 0,\n    };\n    let queryResults = await this.queryBackend({ query });\n    return {\n      total: queryResults.hits.total,\n      buckets: queryResults.aggregations.group_by_month.buckets,\n    };\n  }\n\n  async getMultipleMedianResolutionTime({ topics }) {\n    let queries = topics.map(topic => {\n      return {\n        ...this.querySelectConversatonsWithKeyphrases({ topic }),\n        ...aggResolutionTimePercentiles(),\n        size: 0,\n      };\n    });\n    let rawResults = await this.multiQueryBackend({ queries });\n    return rawResults.map(queryResults => {\n      return {\n        total: queryResults.hits.total,\n        buckets: queryResults.aggregations.resolution_time_percentiles.values,\n      };\n    });\n  }\n\n  async getMultipleMedianResponseTime({ topics }) {\n    let queries = topics.map(topic => {\n      return {\n        ...this.querySelectConversatonsWithKeyphrases({ topic }),\n        ...aggResponseTimePercentiles(),\n        size: 0,\n      };\n    });\n    let rawResults = await this.multiQueryBackend({ queries });\n    return rawResults.map(queryResults => {\n      return {\n        total: queryResults.hits.total,\n        buckets: queryResults.aggregations.response_time_percentiles.values,\n      };\n    });\n  }\n\n  async getResolutionTimePercentiles({ topic }) {\n    let query = {\n      ...this.querySelectConversatonsWithKeyphrases({ topic }),\n      ...aggByMonth(aggResolutionTimePercentiles()),\n      size: 0,\n    };\n    let queryResults = await this.queryBackend({ query });\n    return {\n      total: queryResults.hits.total,\n      buckets: queryResults.aggregations.group_by_month.buckets,\n    };\n  }\n\n  @task({ maxConcurrency: 3 })\n  *queryBackendTask({ query }) {\n    let key = JSON.stringify(query);\n    if (this.cache[key]) {\n      return this.cache[key];\n    }\n\n    let appId = this.appService.app.id;\n    this.cache[key] = yield ajax({\n      url: '/ember/conversational_insights/conversations/search',\n      type: 'POST',\n      data: JSON.stringify({\n        app_id: appId,\n        query,\n      }),\n    });\n    return this.cache[key];\n  }\n\n  @task({ maxConcurrency: 1 })\n  *multiQueryBackendTask({ queries }) {\n    let key = JSON.stringify(queries);\n    if (this.cache[key]) {\n      return this.cache[key];\n    }\n\n    let appId = this.appService.app.id;\n    this.cache[key] = yield ajax({\n      url: '/ember/conversational_insights/conversations/multi_search',\n      type: 'POST',\n      data: JSON.stringify({\n        app_id: appId,\n        queries,\n      }),\n    });\n    return this.cache[key];\n  }\n\n  async queryBackend({ query }) {\n    return await this.queryBackendTask.perform({ query });\n  }\n\n  async multiQueryBackend({ queries }) {\n    return await this.multiQueryBackendTask.perform({ queries });\n  }\n\n  buildQueryString(phrases) {\n    return phrases\n      .filter(g => g.trim())\n      .map(g => g.trim().replace(/\"/g, ''))\n      .map(g => `(\"${g}\"~5)`)\n      .join(' OR ');\n  }\n\n  analyzeKeyphrases(keyphrases) {\n    let lightlyAnalyzedKeyphrases = keyphrases.filter(\n      keyphrase => keyphrase.trim().startsWith('\"') && keyphrase.trim().endsWith('\"'),\n    );\n    let fullyAnalyzedKeyphrases = keyphrases.filter(\n      keyphrase => !lightlyAnalyzedKeyphrases.includes(keyphrase),\n    );\n\n    return { lightlyAnalyzedKeyphrases, fullyAnalyzedKeyphrases };\n  }\n\n  buildPartQuery({ topic }) {\n    if (!topic?.keyphrases) {\n      return {};\n    }\n\n    let filters = [];\n\n    let { lightlyAnalyzedKeyphrases, fullyAnalyzedKeyphrases } = this.analyzeKeyphrases(\n      topic.keyphrases,\n    );\n\n    if (lightlyAnalyzedKeyphrases.length) {\n      filters.push({\n        query_string: {\n          query: this.buildQueryString(lightlyAnalyzedKeyphrases),\n          fields: ['parts.body.full_words'],\n          default_operator: 'AND',\n          analyzer: 'analyzer_full_words',\n        },\n      });\n    }\n    if (fullyAnalyzedKeyphrases.length) {\n      filters.push({\n        query_string: {\n          query: this.buildQueryString(fullyAnalyzedKeyphrases),\n          fields: ['parts.body'],\n          default_operator: 'AND',\n          analyzer: 'standard_english_with_nltk_stopwords',\n        },\n      });\n    }\n\n    if (topic.partTypes && !topic.isMatchingAllPartTypes) {\n      let esPartTypes = this.partTypesToRealSubclasses(topic.partTypes);\n      filters.push({\n        terms: {\n          'parts.part_type': esPartTypes,\n        },\n      });\n    }\n    if (topic.authorTypes) {\n      filters.push({\n        terms: {\n          'parts.author_type': topic.authorTypes,\n        },\n      });\n    }\n\n    return {\n      function_score: {\n        query: {\n          bool: {\n            filter: filters,\n          },\n        },\n        boost: '1',\n        boost_mode: 'multiply',\n      },\n    };\n  }\n\n  buildMustNotPartQuery({ topic }) {\n    if (!topic?.keyphrases) {\n      return {};\n    }\n\n    let filters = [];\n\n    let { lightlyAnalyzedKeyphrases, fullyAnalyzedKeyphrases } = this.analyzeKeyphrases(\n      topic.excludedKeyphrases,\n    );\n\n    if (lightlyAnalyzedKeyphrases.length) {\n      filters.push({\n        query_string: {\n          query: this.buildQueryString(lightlyAnalyzedKeyphrases),\n          fields: ['parts.body.full_words'],\n          default_operator: 'AND',\n          analyzer: 'analyzer_full_words',\n        },\n      });\n    }\n\n    if (fullyAnalyzedKeyphrases.length) {\n      filters.push({\n        query_string: {\n          query: this.buildQueryString(fullyAnalyzedKeyphrases),\n          fields: ['parts.body'],\n          default_operator: 'AND',\n          analyzer: 'standard_english_with_nltk_stopwords',\n        },\n      });\n    }\n\n    return {\n      function_score: {\n        query: {\n          bool: {\n            filter: filters,\n          },\n        },\n      },\n    };\n  }\n\n  querySelectConversatonsWithKeyphrases({\n    topic,\n    topicToOverlap,\n    tagIds,\n    csatValues,\n    dateRange = this.currentDateRange,\n  }) {\n    let createdAtGt = dateRange.startMoment.format();\n    let createdAtLt = dateRange.endMoment.format();\n    let mustParts = [];\n    let mustNotParts = [];\n\n    if (topic) {\n      // This implementation of subtopics is taking a subtopic to be\n      // the intersection of the subtopic's keyphrases, excludedKeyphrases, tagIds and all\n      // ancestor topic keyphrases, excludedKeyphrases, tagIds\n      // E.g. given the following topics and keyphrases:\n      //\n      // topic1: ['test', 'experiment']\n      //  |-> subtopic1: ['alpha', 'beta']\n      //       |-> subtopic2: ['cat', 'dog']\n      //\n      // The conversations in subtopic2 would match:\n      //    ('test' OR 'experiment') AND ('alpha' OR 'beta') AND ('cat' OR 'dog')\n      //\n\n      // ancestors may not exist if a TopicSuggestion has been passed in as the topic\n      let ancestors = topic.ancestors || [];\n      let topicsToFilterBy = [topic, ...ancestors];\n\n      topicsToFilterBy.forEach(filterTopic => {\n        mustParts.push(nested('parts', this.buildPartQuery({ topic: filterTopic })));\n\n        if (filterTopic.excludedKeyphrases && filterTopic.excludedKeyphrases.length > 0) {\n          mustNotParts.push(nested('parts', this.buildMustNotPartQuery({ topic: filterTopic })));\n        }\n\n        if (filterTopic.tagIds && !filterTopic.tagIds.includes('any')) {\n          filterTopic.tagIds.forEach(tagId => mustParts.push({ terms: { tag_ids: [tagId] } }));\n        }\n      });\n    }\n\n    if (topicToOverlap) {\n      mustParts.push(nested('parts', this.buildPartQuery({ topic: topicToOverlap })));\n    }\n\n    if (tagIds) {\n      mustParts.push({ terms: { tag_ids: tagIds } });\n    }\n\n    if (csatValues) {\n      mustParts.push({ terms: { conversation_rating_index: csatValues } });\n    }\n\n    let query = {\n      bool: {\n        must: [\n          ...mustParts,\n          {\n            range: {\n              created_at: {\n                gt: createdAtGt,\n                lt: createdAtLt,\n              },\n            },\n          },\n        ],\n      },\n    };\n\n    if (mustNotParts.length > 0) {\n      query.bool['must_not'] = mustNotParts;\n    }\n\n    return { query };\n  }\n\n  partTypesToRealSubclasses(partTypes) {\n    let esType = {\n      // from https://github.com/intercom/intercom/blob/5dd5c494e1823b1f6d166f2605144bba7bb98f24/app/models/conversation_part.rb#L96-L136\n      comment: [0, 2, 3, 4, 10, 11, 21, 31],\n      note: [1, 13, 38],\n      // from https://github.com/intercom/intercom/blob/5dd5c494e1823b1f6d166f2605144bba7bb98f24/app/models/message.rb#L70-L81\n      message: [\n        'ManualMessage',\n        'AutoMessage',\n        'UserMessage',\n        'VisitorAutoMessage',\n        'DisplayableContent',\n        'CampaignMessage',\n        'BotAutoMessage',\n        'TriggeredMessage',\n\n        // unfortunately I (Mario) haven't shipped https://github.com/intercom/intercom/pull/179808 properly and\n        // values are analyzed as text, which means they're lowercased. We should rationalise this field,\n        // including making message and part types the same (instead of having numbers and strings mixed)\n        'manualmessage',\n        'automessage',\n        'usermessage',\n        'visitorautomessage',\n        'displayablecontent',\n        'campaignmessage',\n        'botautomessage',\n        'triggeredmessage',\n      ],\n    };\n    return partTypes.map(type => esType[type]).flat();\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport { getOwner } from '@ember/application';\nimport { isArray } from '@ember/array';\nimport { readOnly } from '@ember/object/computed';\nimport { later } from '@ember/runloop';\nimport Service, { inject as service } from '@ember/service';\nimport { isBlank, isPresent } from '@ember/utils';\nimport defaultTo from '@intercom/embercom-core/lib/default-to';\nimport ENV from 'embercom/config/environment';\nimport { post } from 'embercom/lib/ajax';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport {\n  CONVERSATION_PRIORITIES,\n  CONVERSATION_STATES,\n  SNOOZED_UNTIL_MAP,\n} from 'embercom/lib/inbox/constants';\nimport { captureException } from 'embercom/lib/sentry';\nimport generateUUID from 'embercom/lib/uuid-generator';\nimport Admin from 'embercom/models/admin';\nimport storage from 'embercom/vendor/intercom/storage';\nimport moment from 'moment';\nimport { Promise as EmberPromise } from 'rsvp';\nimport { getEmberDataStore } from 'embercom/lib/container-lookup';\n\nlet validTypes = ['assignment', 'close', 'comment', 'note', 'open', 'snoozed', 'unsnoozed'];\nlet passivePartTypes = ['priority_changed', 'title_changed'];\n\nexport default Service.extend({\n  SILENCE_AWAY_WARNING_KEY: 'silence_away_mode_warning',\n  realTimeEventService: service(),\n  inboxService: service(),\n  store: service(),\n  onboardingHomeExternalStepService: service(),\n  notificationsService: service(),\n  intercomEventService: service(),\n  appService: service(),\n  conversationCleaner: service(),\n  app: readOnly('appService.app'),\n  admin: null,\n  snoozedUntilDefaultValue: 1,\n  snoozedUntilDefaultText: 'tomorrow',\n\n  realtimeConversations: defaultTo({}),\n\n  // TODO - Ideally these realtime event handlers would hang off the conversation model\n  // once the conversation model has moved to ember-data and we can inject the realtime\n  // service there we should move these\n  init() {\n    this._super(...arguments);\n    this.setupRealtime();\n  },\n\n  setupRealtime() {\n    let realtimeEventService = this.realTimeEventService;\n    realtimeEventService.get('inboxEvents').forEach(eventName => {\n      realtimeEventService.on(eventName, this, '_genericRealtimeHandler');\n    });\n  },\n\n  subscribeRealtime(conversation) {\n    if (!conversation) {\n      return;\n    }\n\n    let conversationId = conversation.get('id');\n    if (this.realtimeConversations[conversationId]) {\n      return;\n    }\n\n    this.conversationCleaner.retain(conversation, 'convo service');\n    this.realTimeEventService.subscribeTopics([`conversation/${conversationId}`]);\n    this.realtimeConversations[conversationId] = conversation;\n  },\n\n  unsubscribeRealtime(conversation) {\n    if (!conversation) {\n      return;\n    }\n\n    let conversationId = conversation.get('id');\n    if (!this.realtimeConversations[conversationId]) {\n      return;\n    }\n\n    this.conversationCleaner.release(conversation, 'convo service');\n    this.realTimeEventService.unsubscribeTopics([`conversation/${conversationId}`]);\n    delete this.realtimeConversations[conversationId];\n  },\n\n  async _genericRealtimeHandler(event) {\n    let conversation = this.realtimeConversations[event.conversationId];\n\n    if (!conversation || conversation.isDestroying || conversation.isDestroyed) {\n      return;\n    }\n\n    if (conversation.shouldHandleRealtimeEvent(event)) {\n      await conversation.syncedPartList.sync();\n      conversation.updatedByRealtimeEvent(event);\n    }\n  },\n\n  trackMessengerCardUsage({ conversation, blocks }) {\n    blocks.forEach(block => {\n      if (block.type === 'messengerCard') {\n        let messenger_app_id = block.messenger_app_id;\n\n        post('/ember/messenger_app_usages', {\n          app_id: this.get('app.id'),\n          messenger_app_id,\n        });\n        this.intercomEventService.trackAnalyticsEvent({\n          action: 'sent',\n          object: 'messenger_app_card',\n          messenger_app_id,\n          conversation_id: conversation.get('id'),\n        });\n      }\n    });\n  },\n\n  addPart(conversation, type, blocks, uploads, assignee) {\n    validatePartArgs(...arguments);\n    let admin = this.admin;\n    let modifiedType = modifyType(conversation, type, admin);\n    let part = createPart(admin, conversation, modifiedType, blocks);\n\n    this._updateStateAndPriority(conversation, part, admin);\n    updateAssignment(admin, conversation, part, assignee, this.app);\n    this.addUploads(part, uploads);\n    conversation.addParts([part]);\n    this.trackMessengerCardUsage({ conversation, blocks });\n    this.inboxService.partAddedToConversationLocally(conversation);\n    this._notifyExternalStepServiceIfNecessary(part);\n\n    return part;\n  },\n\n  addPartAndSave(conversation, type, blocks, uploads, assignee) {\n    let part = this.addPart(conversation, type, blocks, uploads, assignee);\n    this._warnAboutAwayMode(type);\n    return this.saveConversation(conversation, part);\n  },\n\n  reopenConversation(conversation) {\n    this.addPartAndSave(conversation, 'open', []);\n  },\n\n  closeConversation(conversation) {\n    this.addPartAndSave(conversation, 'close', []);\n  },\n\n  redactPart(part) {\n    let partDisplayName = part.get('isNote') ? 'note' : 'message';\n    return part\n      .redact()\n      .then(redacted_part => {\n        let redactedBy = Admin.peekAndMaybeLoad(this.store, redacted_part.redacted_by_id);\n        part.uploads.forEach(upload => {\n          this.store.unloadRecord(upload);\n        });\n        part.setProperties({\n          body: redacted_part.body,\n          blocks: redacted_part.blocks,\n          uploads: redacted_part.uploads,\n          redacted_at: redacted_part.redacted_at,\n          redactedBy,\n        });\n        this.notificationsService.notifyConfirmation(\n          `The ${partDisplayName} was deleted`,\n          ENV.APP._5000MS,\n        );\n      })\n      .catch(() => {\n        this.notificationsService.notifyError(\n          `Something went wrong and the ${partDisplayName} wasn՚t deleted. Try again.`,\n          ENV.APP._5000MS,\n        );\n      });\n  },\n\n  addPartAndSnooze(conversation, type, blocks, uploads, assignee, options = {}) {\n    let snoozedUntil = isBlank(options.snoozedUntil)\n      ? this.snoozedUntilDefaultValue\n      : options.snoozedUntil;\n\n    let commentPart = this.addPart(conversation, type, blocks, uploads, assignee);\n    let snoozedEventPart = this.addEventPart(conversation, 'snoozed', {\n      snoozedUntil,\n      customSnoozedUntil: options.customSnoozedUntil,\n    });\n\n    return this.saveConversationWithMultipleParts(conversation, [commentPart, snoozedEventPart]);\n  },\n\n  addEventPartAndSave(conversation, type, options) {\n    let part = this.addEventPart(conversation, type, options);\n\n    return this.saveConversation(conversation, part);\n  },\n\n  saveConversation(conversation, part) {\n    return new EmberPromise((resolve, reject) => {\n      this.conversationCleaner.retain(conversation, 'convo service');\n      conversation\n        .get('savePart')\n        .perform(part)\n        .then(() => {\n          // Note: We don't want to delete drafts when a snoozed/open/closed/unsnoozed/assignment part is added to the conversation\n          if (this.shouldDeleteDraft(part)) {\n            this.deleteDraft(conversation).then(resolve);\n          } else {\n            resolve();\n          }\n        })\n        .catch(e => {\n          this.handleSavePartError(conversation, e);\n          reject();\n        })\n        .finally(() => {\n          this.conversationCleaner.release(conversation, 'convo service');\n        });\n    });\n  },\n\n  saveConversationWithMultipleParts(conversation, parts) {\n    return new EmberPromise((resolve, reject) => {\n      this.conversationCleaner.retain(conversation, 'convo service');\n      conversation\n        .get('saveMultipleParts')\n        .perform(parts)\n        .then(() => {\n          this.deleteDraft(conversation).then(resolve);\n        })\n        .catch(e => {\n          this.handleSavePartError(conversation, e);\n          reject();\n        })\n        .finally(() => {\n          this.conversationCleaner.release(conversation, 'convo service');\n        });\n    });\n  },\n\n  addEventPart(conversation, type, options = {}) {\n    let admin = this.admin;\n    let eventData = {\n      template: this._generateEventDataTemplate(type, options),\n      event_references: {\n        admin: {\n          id: this.get('admin.id'),\n          label: this.get('admin.nameOrEmail'),\n          type: 'admin',\n        },\n      },\n    };\n\n    let part = createPart(admin, conversation, type);\n    this._handleSnoozeOptions(options, eventData, part);\n    this._handlePriorityOptions(options, eventData, part);\n\n    if (this.app.canUseEmberConversationTitle) {\n      this._handleTitleOption(options, eventData, part, conversation);\n    }\n\n    part.setProperties({\n      event_data: eventData,\n      blocks: null,\n      is_event: true,\n    });\n\n    this._updateStateAndPriority(conversation, part, admin);\n    conversation.addParts([part]);\n    this.inboxService.partAddedToConversationLocally(conversation);\n\n    if (type === 'snoozed') {\n      this.intercomEventService.trackEvent('respond-snoozed-conversation');\n    }\n    return part;\n  },\n\n  _notifyExternalStepServiceIfNecessary(part) {\n    if (\n      (part.type !== 'assignment' &&\n        this.onboardingHomeExternalStepService.isExternalStepRunning('reply_in_inbox')) ||\n      (part.type === 'close' &&\n        this.onboardingHomeExternalStepService.isExternalStepRunning('resolve_a_conversation'))\n    ) {\n      later(() => {\n        this.onboardingHomeExternalStepService.completeExternalStep();\n      }, ENV.APP._600MS);\n    }\n  },\n\n  _generateEventDataTemplate(eventPartType, options) {\n    switch (eventPartType) {\n      case 'snoozed':\n        return '[[admin]] snoozed this conversation [[snoozed_until]]';\n      case 'title_changed':\n        if (options.title === '') {\n          return '[[admin]] removed the title';\n        }\n        return '[[admin]] set title to \"[[title]]\"';\n      case 'priority_changed':\n        if (options.priority === CONVERSATION_PRIORITIES.priority) {\n          return '[[admin]] marked this conversation as priority';\n        }\n        return '[[admin]] removed priority from this conversation';\n      default:\n        return '[[admin]] reopened this conversation';\n    }\n  },\n\n  _handleSnoozeOptions(options, eventData, part) {\n    if (isPresent(options.snoozedUntil)) {\n      let snoozeUntilOptionKey = this.getSnoozeUntilOptionsKey(options.snoozedUntil);\n      eventData.event_references.snoozed_until = {\n        id: snoozeUntilOptionKey,\n        label: this.getSnoozedUntilLabel(options),\n        type: 'snoozed_until',\n        custom_snoozed_until_time: options.customSnoozedUntil,\n      };\n      part.set('snoozed_until', snoozeUntilOptionKey);\n      part.set('custom_snoozed_until_time', options.customSnoozedUntil);\n      part.set('author_timezone', moment.tz.guess());\n    }\n  },\n\n  _handleTitleOption(options, eventData, part, conversation) {\n    if (options.hasOwnProperty('title')) {\n      eventData.event_references.title = {\n        type: 'title',\n        value: options.title,\n      };\n      part.set('title', options.title);\n      conversation.set('title', options.title);\n    }\n  },\n\n  _handlePriorityOptions(options, eventData, part) {\n    if (isPresent(options.priority)) {\n      eventData.event_references.priority = {\n        type: 'priority',\n        value: options.priority,\n      };\n      part.set('priority', options.priority);\n    }\n  },\n\n  getSnoozedUntilLabel(options) {\n    let snoozedUntilOption = this.getSnoozeUntilOptionsKey(options.snoozedUntil);\n    if (snoozedUntilOption === 'custom_timer') {\n      return `until ${moment(options.customSnoozedUntil).format(dateAndTimeFormats.timeOnDay)}`;\n    } else {\n      return SNOOZED_UNTIL_MAP[options.snoozedUntil].eventLabel;\n    }\n  },\n\n  getSnoozeUntilOptionsKey(snoozeUntil) {\n    return snoozeUntil === 'custom_timer' ? snoozeUntil : SNOOZED_UNTIL_MAP[snoozeUntil].key;\n  },\n\n  handleSavePartError(conversation, error) {\n    if (conversation === this.get('inboxService.currentConversation')) {\n      return;\n    }\n\n    captureException(error, {\n      fingerprint: ['conversations-service', 'handleSavePartError'],\n      tags: {\n        conversation_id: conversation.id,\n        app_id: this.app.id,\n      },\n    });\n\n    if (this.app?.canUseRestrictConversationAccess && error?.jqXHR?.status === 403) {\n      this.notificationsService.notifyErrorWithModelAndPartial(\n        {\n          app: this.app,\n          conversation,\n        },\n        'apps/app/inbox/inbox/partials/error-conversation-is-restricted',\n        ENV.APP.notificationNoTimeout,\n      );\n    } else {\n      this.notificationsService.notifyErrorWithModelAndPartial(\n        {\n          app: this.app,\n          conversation,\n        },\n        'apps/app/inbox/inbox/partials/error-in-conversation',\n        ENV.APP.notificationNoTimeout,\n      );\n    }\n  },\n\n  removePart(conversation, part) {\n    if (part.get('assignee_id')) {\n      conversation.set('assignee_id', conversation.get('last_assignee'));\n    }\n    conversation.removePart(part);\n    this._updateStateAndPriority(conversation, conversation.get('lastPart'), this.admin);\n    this.inboxService.partRemovedFromConversation(conversation);\n  },\n\n  getDraft(conversation) {\n    let draft = conversation.get('draft');\n    if (!draft) {\n      draft = conversation.createDraftForAdmin(this.admin);\n    }\n    return draft;\n  },\n\n  clearDraft(conversation) {\n    let draft = this.getDraft(conversation);\n    draft.setProperties({\n      blocks: [{ type: 'paragraph', text: '' }],\n    });\n  },\n\n  updateDraft(conversation, subclass, blocks) {\n    let draft = this.getDraft(conversation);\n    if (draft.get('subclass') !== subclass || !this._blocksEqual(draft.get('blocks'), blocks)) {\n      draft.setProperties({ blocks, subclass });\n      return conversation.get('updateDraft').perform(draft);\n    }\n  },\n\n  deleteDraft(conversation) {\n    return conversation.get('deleteDraft').perform();\n  },\n\n  _blocksEqual(a, b) {\n    return JSON.stringify(a) === JSON.stringify(b);\n  },\n\n  _warnAboutAwayMode(partTypeBeingAdded) {\n    if (\n      partTypeBeingAdded === 'comment' &&\n      this.get('admin.away_mode_enabled') &&\n      !this.get('admin.reassign_conversations') &&\n      !storage.get(this.SILENCE_AWAY_WARNING_KEY)\n    ) {\n      this._openWarningDialog();\n    }\n  },\n\n  _openWarningDialog() {\n    getOwner(this)\n      .lookup('controller:application')\n      .send('openModal', 'apps/app/inbox/inbox/conversations/modals/away_mode_warning', {\n        admin: this.admin,\n        app: this.app,\n      });\n  },\n\n  _updateStateAndPriority(conversation, part, admin) {\n    this._updateState(conversation, part, admin);\n    this._updatePriority(conversation, part);\n  },\n\n  _updateState(conversation, part, admin) {\n    if (part.get('isCloser')) {\n      this._setState(conversation, part, CONVERSATION_STATES.closed);\n    }\n    if (\n      part.get('isOpener') &&\n      (!conversation.get('isSnoozed') || isSnoozedAndNotByAssignee(conversation, admin))\n    ) {\n      this._setState(conversation, part, CONVERSATION_STATES.open);\n    }\n    if (part.get('isSnoozer')) {\n      this._setState(conversation, part, CONVERSATION_STATES.snoozed);\n    }\n    if (part.get('isUnsnoozer')) {\n      this._setState(conversation, part, CONVERSATION_STATES.open);\n    }\n  },\n\n  _setState(conversation, part, state) {\n    conversation.setProperties({\n      state,\n      lastActionPart: part,\n    });\n  },\n\n  _updatePriority(conversation, part) {\n    if (part.get('isPriorityChanger')) {\n      conversation.setProperties({\n        priority: part.get('priority'),\n        lastActionPart: part,\n      });\n    }\n  },\n\n  shouldDeleteDraft(part) {\n    return isPresent(part.get('blocks'));\n  },\n\n  addUploads(part, uploads) {\n    if (!part.uploads) {\n      part.set('uploads', []);\n    }\n\n    if (uploads) {\n      uploads.forEach(upload => {\n        part.get('uploads').pushObject(this.store.createRecord('upload', upload));\n      });\n    }\n  },\n});\n\nfunction validatePartArgs(conversation, type, blocks, uploads, assignee) {\n  if (!validTypes.includes(type)) {\n    throw new Error(`Invalid conversation part type ${type}`);\n  }\n  if (!isArray(blocks)) {\n    throw new Error('Blocks must be an array');\n  }\n  if (type === 'assignment' && !assignee) {\n    throw new Error(`When creating an assignment part you must pass an assignee`);\n  }\n}\n\nfunction modifyType(conversation, type, admin) {\n  if (type === 'comment') {\n    if (conversation.get('isClosed') || isSnoozedAndNotByAssignee(conversation, admin)) {\n      return 'open';\n    }\n  }\n\n  return type;\n}\n\nfunction createPart(admin, conversation, type, blocks) {\n  let store = getEmberDataStore();\n  return store.createRecord('conversation-part', {\n    admin_id: admin.get('id'),\n    admin,\n    admin_only: type === 'note',\n    conversation_id: conversation.get('id'),\n    app_id: conversation.get('app_id'),\n    blocks,\n    type,\n    sub_type: type,\n    created_at: moment().toISOString(),\n    lightweight_reply_type: null,\n    isImmediateSend: true,\n    client_assigned_uuid: generateUUID(),\n    passive: passivePartTypes.includes(type),\n  });\n}\n\nfunction updateAssignment(admin, conversation, part, assignee, app) {\n  if (part.get('type') === 'assignment') {\n    setAssignee(admin, app, conversation, part, assignee);\n  } else if (isImplicitAssignment(admin, conversation, part, app)) {\n    if (app.canAssignToTeamAndTeammate) {\n      setAssignee(admin, app, conversation, part, {\n        adminId: admin.id,\n        teamId: conversation.team_assignee_id,\n      });\n    } else {\n      setAssignee(admin, app, conversation, part, admin);\n    }\n  }\n}\n\nfunction isImplicitAssignment(admin, conversation, part, app) {\n  let adminHasInboxAccess = !app.get('requiresInboxSeatAccess') || admin.get('hasInboxAccess');\n\n  return (\n    part.get('isComment') &&\n    conversation.get('canBeImplicitlyAssigned') &&\n    admin.get('assign_conversations_on_reply') &&\n    adminHasInboxAccess\n  );\n}\n\nfunction setAssignee(admin, app, conversation, part, assignment) {\n  if (app.canAssignToTeamAndTeammate) {\n    let event_data = assignmentEventData(admin, app, conversation, assignment);\n\n    let assignee_id = String(assignment.adminId) === '0' ? assignment.teamId : assignment.adminId;\n\n    conversation.set('assignee_id', assignee_id);\n    conversation.set('admin_assignee_id', assignment.adminId);\n    conversation.set('team_assignee_id', assignment.teamId);\n\n    part.setProperties({\n      event_data,\n      assignee_id,\n      admin_assignee_id: assignment.adminId,\n      team_assignee_id: assignment.teamId,\n    });\n  } else {\n    conversation.set('last_assignee', conversation.get('assignee_id'));\n    conversation.set('assignee_id', assignment.get('id'));\n\n    part.setProperties({\n      assignee: assignment,\n      assignee_id: assignment.get('id'),\n    });\n  }\n}\n\nfunction assignmentEventData(admin, app, conversation, { adminId, teamId }) {\n  let adminChanged = adminId !== conversation.admin_assignee_id;\n  let teamChanged = teamId !== conversation.team_assignee_id;\n\n  let template;\n  if (adminChanged && teamChanged) {\n    template = '[[admin]] assigned this conversation to [[admin_assignee]] and [[team_assignee]]';\n  } else if (adminChanged) {\n    template = '[[admin]] assigned this conversation to [[admin_assignee]]';\n  } else {\n    template = '[[admin]] assigned this conversation to [[team_assignee]]';\n  }\n\n  return {\n    template,\n    event_references: {\n      admin: {\n        id: Number(admin.id),\n        type: 'admin',\n        label: admin.name,\n      },\n      admin_assignee: {\n        id: Number(adminId),\n        type: 'admin',\n        label: app.admins.findBy('id', adminId)?.name || 'Unassigned',\n      },\n      team_assignee: {\n        id: Number(teamId),\n        type: 'team',\n        label: app.admins.findBy('id', teamId)?.name || 'Unassigned',\n      },\n    },\n  };\n}\n\nfunction isSnoozedAndNotByAssignee(conversation, admin) {\n  return conversation.get('isSnoozed') && !conversation.isAssignedTo(admin);\n}\n","import CookiesService from 'ember-cookies/services/cookies';\n\nexport default CookiesService;\n","define(\"embercom/services/csv\", [\"exports\", \"ember-spreadsheet-export/services/csv\"], function (_exports, _csv) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _csv.default;\n    }\n  });\n  Object.defineProperty(_exports, \"initialize\", {\n    enumerable: true,\n    get: function get() {\n      return _csv.initialize;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport Service, { inject as service } from '@ember/service';\nimport { hash } from 'rsvp';\nimport { alias, filterBy, mapBy, not, or, readOnly, bool } from '@ember/object/computed';\nimport ImmutableProduct from 'embercom/lib/immutable-product';\nimport PlanUpdater from 'embercom/lib/plan-updater';\nimport { findBy, ternaryToProperty } from '@intercom/embercom-core/lib/computed-properties';\nimport {\n  ANSWER_BOT_ESSENTIAL_ID,\n  EARLY_STAGE_BUNDLE,\n  GRANDFATHERED_PRICING_MODEL,\n  LATEST_PRICING_MODEL,\n} from 'embercom/lib/billing';\nimport moment from 'moment';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport { captureException } from 'embercom/lib/sentry';\nimport { task } from 'ember-concurrency';\n\nexport default Service.extend({\n  appService: service(),\n  purchaseAnalyticsService: service(),\n  app: readOnly('appService.app'),\n  store: service(),\n  customer: null,\n  products: null,\n  prices: null,\n  plans: computed('products', function() {\n    let array = this.products.mapBy('plans');\n    return array.reduce(function(initial, current) {\n      return initial.concat(current.toArray());\n    }, []);\n  }),\n  addons: filterBy('products', 'addon', true),\n  activePlans: filterBy('plans', 'active', true),\n  originalActivePlans: computed('plans.[]', 'activePlans.[]', function() {\n    return this.plans.filter(plan => plan.get('content.active'));\n  }),\n  activePlanIds: mapBy('activePlans', 'idAsNumber'),\n  totalAmountPostCoupon: null,\n  isMessengerInstalled: readOnly('app.hasAnyInstalledAtDate'),\n  earlyStagePartnerWithoutMessenger: computed(\n    'customer.earlyStagePartner',\n    'isMessengerInstalled',\n    function() {\n      return this.get('customer.earlyStagePartner') && !this.isMessengerInstalled;\n    },\n  ),\n  noValidEarlyStageApplication: not('app.validEarlyStageApplicant'),\n  eligibletoEditAsRegularCustomer: or(\n    'noValidEarlyStageApplication',\n    'customer.hasActiveSubscription',\n  ),\n  featureName: null,\n  planIds: [],\n  solutionId: null,\n  migrationPrices: ternaryToProperty(\n    'migrationState.grandfathered',\n    'grandfatheredMigrationPrices',\n    'latestMigrationPrices',\n  ),\n  migrationState: null,\n  pricePerInboxSeat: null,\n  earlyStageGraduation: null,\n  canUseEarlyStageGraduationView: alias('app.canUseEarlyStageGraduationView'),\n  canUsePurchaseMigrationView: alias('app.canUsePurchaseMigrationView'),\n\n  pricingMigrationDate: alias('migrationState.date_migration_complete'),\n  migrationDate: ternaryToProperty(\n    'canUseEarlyStageGraduationView',\n    'earlyStageGraduationDate',\n    'pricingMigrationDate',\n  ),\n  formattedMigrationDate: computed('migrationDate', function() {\n    return moment(this.migrationDate).format(dateAndTimeFormats.date);\n  }),\n  timeToMigrationDateText: computed('migrationDate', function() {\n    return moment().to(moment(this.migrationDate));\n  }),\n  earlyStageGraduationRecommendedPlanIds: readOnly('earlyStageGraduation.recommendedPlanIds'),\n\n  appIsInPricingTransition: computed(\n    'migrationState.{auto_seat_assignment_done,date_migration_complete}',\n    function() {\n      let migrationStarted = this.get('migrationState.auto_seat_assignment_done');\n      let migrationFinished = moment().isAfter(\n        moment(this.get('migrationState.date_migration_complete')),\n      );\n      return migrationStarted && !migrationFinished;\n    },\n  ),\n\n  isDirty: computed('products.@each.updating', function() {\n    let products = this.products;\n\n    return products.any(product => {\n      return product.get('updating') === true;\n    });\n  }),\n\n  // Final price MODEL billed to customer\n  currentPrice: computed('prices.[]', 'activePlans.[]', function() {\n    if (this.get('prices.length')) {\n      let planIds = this.activePlans.mapBy('id').map(id => Number(id));\n      let priceModel = this.prices.find(price => price.hasSamePlans(planIds));\n      return priceModel;\n    }\n  }),\n\n  migrationPrice: computed('activePlans.[]', 'migrationPrices.[]', function() {\n    if (!this.migrationPrices) {\n      return null;\n    }\n\n    let activePlanIds = this.activePlanIds;\n    return this.migrationPrices.find(price => price.hasSamePlans(activePlanIds));\n  }),\n\n  // If changing a subscription, price billed to customer before editing\n  originalPrice: computed('prices', 'originalActivePlans.[]', 'activePlans.[]', function() {\n    let currentActivePlans = this.plans.filter(plan => plan.get('content.active'));\n    if (this.get('prices.length')) {\n      let planIds = currentActivePlans.mapBy('idAsNumber');\n      return this.prices.find(price => price.hasSamePlans(planIds));\n    }\n    // eslint-disable-next-line ember/no-volatile-computed-properties\n  }).volatile(),\n\n  currentNumberOfInboxSeats: computed('appService.app.humanAdmins.[]', function() {\n    return this.get('app.humanAdmins').filter(admin => admin.get('hasInboxAccess')).length;\n  }),\n\n  totalAmount: alias('currentPrice.amountToTwoDecimals'),\n\n  couponDiscountAmountFormatted: alias('currentPrice.couponDiscountAmountFormatted'),\n\n  couponAmount: computed('currentPrice', function() {\n    return this.get('currentPrice.preDiscountAmount') - this.get('currentPrice.amount');\n  }),\n  answerBotPlan: findBy('activePlans', 'id', ANSWER_BOT_ESSENTIAL_ID),\n  answerBotPlanStartDate: alias('answerBotPlan.activatedAt'),\n\n  totalAmountAfterMigration: alias('migrationPrice.amountToTwoDecimals'),\n\n  couponDiscountAmountAfterMigrationFormatted: alias(\n    'migrationPrice.couponDiscountAmountFormatted',\n  ),\n\n  getPriceFromPlanIds(planIds) {\n    return this.prices.find(price => price.hasSamePlans(planIds));\n  },\n  refreshCustomer() {\n    return this.store\n      .findRecord('billing/customer', this.get('app.customer_id'), { reload: true })\n      .then(customer => {\n        this.set('app.customer', customer);\n        return customer;\n      });\n  },\n  reportProductChangesForAnalytics(locationInfo) {\n    this.products.forEach(product => {\n      if (product.updating) {\n        this.purchaseAnalyticsService.trackEvent({\n          action: `product ${product.newStatus}`,\n          product_name: product.name,\n          tier: product.activePlan?.name,\n          old_tier: product.previousActivePlan?.name,\n          is_trial: product.trialable,\n          object: `${product.name}`,\n          ...locationInfo,\n        });\n      }\n    });\n  },\n\n  getPricePromise({ includeTiers, planIds, pricingModel, agentCount, overrideCanSeePrice }) {\n    let query = {\n      plan_ids: planIds,\n      include_tiers: includeTiers,\n      agent_count: agentCount,\n      override_can_see_price: overrideCanSeePrice,\n    };\n\n    if (pricingModel) {\n      query['pricing_model_identifier'] = pricingModel;\n    }\n    return this.store.query('price', query);\n  },\n  /**\n   * Bulk request prices to add to customer service\n   *\n   * @method bulkLoadPrices\n   * @param {Object[]} params An array of request parameter objects.\n   *\n   *\n   * @example\n   * ```\n   * requests = [{planIds:[1,4,15]}, {planIds: [3,5], includeTiers: 35}]\n   * bulkLoadPrices(requests);\n   * ```\n   */\n  async bulkLoadPrices(params) {\n    let promises = params.map(request =>\n      this.getPricePromise({ agentCount: this.app.agentCount, ...request }),\n    );\n    let results = await Promise.all(promises);\n    let prices = results.flatMap(result => {\n      return result.toArray();\n    });\n    if (!this.prices) {\n      this.set('prices', prices);\n    } else if (typeof this.prices === 'object') {\n      this.set('prices', prices.concat(this.prices));\n    } else {\n      this.set('prices', this.prices.concat(prices));\n    }\n  },\n\n  ensureDataIsLoaded: task(function*(options = {}) {\n    if (!this.customer || (options.fetchPrices && !this.prices)) {\n      yield this.loadData(options);\n    }\n  }),\n\n  loadData(\n    { fetchPrices, fetchMigrationInformation, includeTiers, overrideCanSeePrice } = {\n      fetchPrices: true,\n      fetchMigrationInformation: false,\n      includeTiers: 35,\n      overrideCanSeePrice: false,\n    },\n  ) {\n    if (includeTiers && !fetchPrices) {\n      throw new Error(\n        'If you want to include tiers you must fetch prices as well. Add fetchPrices: true property to your paramters to fix this.',\n      );\n    }\n    let app = this.app;\n    let products = this.products\n      ? this.products\n      : app.get('products').map(product => ImmutableProduct.create({ content: product }));\n\n    let prices = this.prices;\n    let migrationState = Promise.resolve(null);\n\n    if (fetchPrices) {\n      prices = this.getPricePromise({\n        includeTiers,\n        agentCount: app.agentCount,\n        overrideCanSeePrice,\n      });\n    }\n    let latestMigrationPrices = [];\n    let grandfatheredMigrationPrices = [];\n    if (\n      fetchMigrationInformation ||\n      this.canUsePurchaseMigrationView ||\n      this.canUseEarlyStageGraduationView\n    ) {\n      latestMigrationPrices = this.getPricePromise({\n        pricingModel: LATEST_PRICING_MODEL,\n        agentCount: this.currentNumberOfInboxSeats,\n        includeTiers,\n      });\n      grandfatheredMigrationPrices = this.getPricePromise({\n        pricingModel: GRANDFATHERED_PRICING_MODEL,\n        agentCount: this.currentNumberOfInboxSeats,\n      });\n\n      // TODO: Insert logic to get migration plan from early stage application model\n      migrationState = this.store\n        .findRecord('inbox/pricing-migration/migration-state', app.get('id'))\n        .catch(() => {\n          return this.store.createRecord('inbox/pricing-migration/migration-state');\n        });\n    }\n\n    return hash({\n      customer: this.store.findRecord('billing/customer', app.get('customerId')),\n      products,\n      prices,\n      latestMigrationPrices,\n      grandfatheredMigrationPrices,\n      migrationState,\n    })\n      .then(\n        ({\n          customer,\n          products,\n          prices,\n          latestMigrationPrices,\n          grandfatheredMigrationPrices,\n          migrationState,\n        }) => {\n          this.setProperties({\n            customer,\n            products,\n            prices: prices ? prices.toArray() : null,\n            allPricesLoadedForApp: prices ? this.app.id : null,\n            grandfatheredMigrationPrices: grandfatheredMigrationPrices\n              ? grandfatheredMigrationPrices.toArray()\n              : null,\n            latestMigrationPrices: latestMigrationPrices ? latestMigrationPrices.toArray() : null,\n            migrationState,\n          });\n          return this.loadEarlyStageGraduation();\n        },\n      )\n      .then(() => {\n        return { customer: this.customer, products: this.products, prices: this.prices };\n      });\n  },\n\n  updateData({ featureName, solutionId, planIds, overrideExistingPlans }) {\n    if (featureName) {\n      PlanUpdater.setActivePlansFromFeatureName(featureName, this.products);\n    } else if (solutionId) {\n      PlanUpdater.setActivePlansFromSolutionId(solutionId, this.products);\n    } else if (planIds && planIds.length) {\n      PlanUpdater.setActivePlans(planIds, this.products, overrideExistingPlans);\n    }\n  },\n\n  // Mock function at the moment, in the future it will query the store for an early stage application\n  loadEarlyStageGraduation() {\n    if (this.canUseEarlyStageGraduationView) {\n      return this.store\n        .findRecord('billing/early-stage-graduation', this.get('app.id'))\n        .then(earlyStageGraduation => this.set('earlyStageGraduation', earlyStageGraduation))\n        .catch(e => {\n          try {\n            captureException(e);\n          } catch (e) {\n            // noop\n          }\n        });\n    } else {\n      return Promise.resolve();\n    }\n  },\n\n  earlyStageFuturePlans: computed('earlyStageGraduation.planIds.[]', 'plans', function() {\n    let futurePlans = this.get('earlyStageGraduation.planIds');\n    return this.plans.filter(plan => futurePlans.includes(plan.get('id')));\n  }),\n\n  earlyStageGraduationDate: alias('earlyStageGraduation.graduationDate'),\n  earlyStageGraduationStarted: bool('earlyStageGraduation.customerGraduationProcessTriggered'),\n  earlyStageGraduationPricingModelIdentifier: alias('earlyStageGraduation.priceSetIdentifier'),\n\n  // In the future, this will update / save the ESA model in the db, but for now it does nothing\n  updateEarlyStageFuturePlans() {\n    return Promise.resolve();\n  },\n\n  addPlanToEarlyStageGraduation(planId) {\n    this.get('earlyStageGraduation.planIds').addObject(planId);\n  },\n\n  removePlanFromEarlyStageGraduation(planId) {\n    this.get('earlyStageGraduation.planIds').removeObject(planId);\n  },\n\n  setPlansAsActiveFromEarlyStageGraduation() {\n    let planIds = this.get('earlyStageGraduation.planIds');\n    planIds = planIds.map(planId => planId.toString());\n    if (planIds.length === 0) {\n      this.deactivateAllPlans();\n    }\n    this.updateData({\n      planIds,\n      overrideExistingPlans: true,\n    });\n  },\n\n  resetAll() {\n    this.resetProducts();\n    this.resetQueryParams();\n    // Solve strange recompute bug with original price\n    this.set('prices', this.prices);\n  },\n\n  resetQueryParams() {\n    this.setProperties({ planIds: null, featureName: null, solutionId: null });\n  },\n\n  deactivateAllPlans() {\n    this.products &&\n      this.products.forEach(product => {\n        product.plans &&\n          product.plans.forEach(plan => {\n            plan.set('active', false);\n          });\n      });\n  },\n\n  resetProducts() {\n    this.products &&\n      this.products.forEach(product => {\n        product.plans &&\n          product.plans.forEach(plan => {\n            plan.resetState();\n          });\n      });\n  },\n\n  syncPlanIds() {\n    this.set('planIds', this.activePlans.mapBy('id'));\n  },\n\n  markProductsAsActiveIfEarlyStageApplicant() {\n    if (this.eligibletoEditAsRegularCustomer) {\n      return;\n    }\n\n    PlanUpdater.setActivePlans(EARLY_STAGE_BUNDLE, this.products);\n  },\n});\n","define(\"embercom/services/dependency-checker\", [\"exports\", \"ember-collapsible-panel/services/dependency-checker\"], function (_exports, _dependencyChecker) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _dependencyChecker.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport { or, match } from '@ember/object/computed';\nimport { isEmpty, isEqual } from '@ember/utils';\nimport Service, { inject as service } from '@ember/service';\nimport { getOwner } from '@ember/application';\nimport diffCalculator from 'embercom/lib/developer-hub/diff-calculator';\nimport RouteRegexes from 'embercom/lib/route-regexes';\n\nexport default Service.extend({\n  router: service(),\n  appPackage: computed(function() {\n    return getOwner(this)\n      .lookup('route:apps/app/developer-hub/app-packages/app-package')\n      .modelFor('apps/app/developer-hub/app-packages/app-package');\n  }),\n  oauthScopes: computed(function() {\n    return getOwner(this)\n      .lookup('route:apps/app/developer-hub')\n      .modelFor('apps/app/developer-hub').oauthScopes;\n  }),\n  appStoreListingHasChanges: computed('appPackage', 'appPackage.changeRequest', function() {\n    return this.hasDiff(\n      this.get('appPackage.appStoreListing'),\n      this.get('appPackage.changeRequest.appPackageConfig.appStoreListing'),\n    );\n  }),\n  oauthClientHasChanges: computed('appPackage', 'appPackage.changeRequest', function() {\n    return this.hasDiff(\n      this.get('appPackage.oauthClient'),\n      this.get('appPackage.changeRequest.appPackageConfig.oauthClient'),\n    );\n  }),\n  messengerAppHasChanges: computed('appPackage', 'appPackage.changeRequest', function() {\n    return this.hasDiff(\n      this.get('appPackage.messengerApp'),\n      this.get('appPackage.changeRequest.appPackageConfig.messengerApp'),\n    );\n  }),\n  inboxAppHasChanges: computed('appPackage', 'appPackage.changeRequest', function() {\n    return this.hasDiff(\n      this.get('appPackage.inboxApp'),\n      this.get('appPackage.changeRequest.appPackageConfig.inboxApp'),\n    );\n  }),\n  basicInformationHasChanges: computed('appPackage', 'appPackage.changeRequest', function() {\n    return this.hasDiff(this.appPackage, this.get('appPackage.changeRequest.appPackageConfig'));\n  }),\n  appPackageHasChanges: or(\n    'basicInformationHasChanges',\n    'messengerAppHasChanges',\n    'inboxAppHasChanges',\n    'oauthClientHasChanges',\n    'appStoreListingHasChanges',\n  ),\n  isPublicApp: computed('appPackage.state', function() {\n    return isEqual(this.get('appPackage.state'), 'public_app');\n  }),\n  fillEmptyModel(path, value) {\n    if (isEmpty(this.get(path))) {\n      this.set(path, value);\n    }\n  },\n  hasDiff(modelA, modelB) {\n    if (isEmpty(modelA) && isEmpty(modelB)) {\n      return false;\n    }\n    if (isEmpty(modelA) && !isEmpty(modelB)) {\n      return true;\n    }\n    if (!isEmpty(modelA) && isEmpty(modelB)) {\n      return true;\n    }\n    return !isEmpty(diffCalculator(modelA, modelB));\n  },\n\n  isOnBasicInfo: match('router.currentRouteName', RouteRegexes.developerHub.basicInfo),\n  isOnAuthentication: match('router.currentRouteName', RouteRegexes.developerHub.authentication),\n  isOnCanvasKit: match('router.currentRouteName', RouteRegexes.developerHub.canvasKit),\n  isOnWebhooks: match('router.currentRouteName', RouteRegexes.developerHub.webhooks),\n\n  isOnReview: match('router.currentRouteName', RouteRegexes.developerHub.review),\n  isOnWorkspaces: match('router.currentRouteName', RouteRegexes.developerHub.workspaces),\n  isOnAppStoreListing: match('router.currentRouteName', RouteRegexes.developerHub.appStoreListing),\n  isOnGettingStartedGuide: match(\n    'router.currentRouteName',\n    RouteRegexes.developerHub.gettingStartedGuide,\n  ),\n  isOnCustomerWorkspaces: match(\n    'router.currentRouteName',\n    RouteRegexes.developerHub.customerWorkspaces,\n  ),\n\n  isOnReports: match('router.currentRouteName', RouteRegexes.developerHub.reports.base),\n\n  isOnEditPage: match('router.currentRouteName', RouteRegexes.developerHub.edit),\n});\n","import Service, { inject as service } from '@ember/service';\n\nexport default class EducateEventService extends Service {\n  @service intercomEventService;\n\n  owner = 'educate';\n  eventName = 'educate-event';\n\n  trackEducateArticleEvent(article, metadata = {}) {\n    metadata.owner = this.owner;\n    metadata.object = 'article';\n    metadata.article_id = article.get('id');\n    if (!metadata.collection_id) {\n      metadata.collection_id = article.get('collection.id');\n    }\n    if (!metadata.section_id) {\n      metadata.section_id = article.get('section.id');\n    }\n\n    let eventName = metadata.eventName || this.eventName;\n    delete metadata['eventName'];\n\n    this.intercomEventService.trackEvent(eventName, metadata);\n  }\n}\n","define(\"embercom/services/ember-oauth2\", [\"exports\", \"ember-oauth2/services/ember-oauth2\"], function (_exports, _emberOauth) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _emberOauth.default;\n    }\n  });\n});\n","define(\"embercom/services/event-listener-stack\", [\"exports\", \"@intercom/embercom-core/services/event-listener-stack\"], function (_exports, _eventListenerStack) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _eventListenerStack.default;\n    }\n  });\n});\n","define(\"embercom/services/excel\", [\"exports\", \"ember-spreadsheet-export/services/excel\"], function (_exports, _excel) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _excel.default;\n    }\n  });\n  Object.defineProperty(_exports, \"initialize\", {\n    enumerable: true,\n    get: function get() {\n      return _excel.initialize;\n    }\n  });\n});\n","define(\"embercom/services/fb\", [\"exports\", \"ember-cli-facebook-js-sdk/services/fb\"], function (_exports, _fb) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _fb.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { isPresent } from '@ember/utils';\nimport { resolve } from 'rsvp';\nimport { schedule } from '@ember/runloop';\nimport { A } from '@ember/array';\nimport Service, { inject as service } from '@ember/service';\nimport Metrics from 'embercom/models/metrics';\nimport { task, timeout } from 'ember-concurrency';\nimport ENV from 'embercom/config/environment';\nimport storage from 'embercom/vendor/intercom/storage';\nimport UserAgentDetector from '@intercom/embercom-core/lib/user-agent-detector';\nimport platform from 'embercom/lib/browser-platform';\n\nconst PAGE_RELOAD_TYPE = 1; // https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigation/type\nconst BROWSER_NAME = UserAgentDetector.browserName();\n\nlet FrontendStatsService = Service.extend({\n  stats: {},\n  timings: {},\n  markOptions: {},\n  interactionMetrics: A(),\n  modelDataCacheService: service(),\n\n  statsRecordingDisabled() {\n    return !window.performance || !window.performance.getEntriesByName;\n  },\n\n  enqueueInteractionMetric(data) {\n    this.interactionMetrics.pushObject(data);\n  },\n\n  sendInteractionMetrics() {\n    return this.debouncedSendMetricsTask.perform();\n  },\n\n  debouncedSendMetricsTask: task(function*() {\n    yield timeout(ENV.APP._3000MS);\n    yield Metrics.sendInteractionMetrics(this.interactionMetrics);\n\n    this.interactionMetrics.clear();\n  }).restartable(),\n\n  recordBootLocationAndType(targetRoute) {\n    if (this.hasRecordedBootLocation || this.statsRecordingDisabled()) {\n      return;\n    }\n    this.set('hasRecordedBootLocation', true);\n    let location = Metrics.getGeneralLocationForRoute(targetRoute);\n    this.log(`METRICS: 📍 Boot location: ${location}`);\n    this.set('bootLocation', location);\n    this.enqueueInteractionMetric({\n      name: 'boot_location',\n      location,\n      route: targetRoute,\n      browser: this.getBrowserName(),\n      platform: this.getPlatformName(),\n    });\n\n    if (this.getPerformanceNavigationType() === PAGE_RELOAD_TYPE) {\n      this.log(`METRICS: ♻️ Page reload`);\n      this.enqueueInteractionMetric({ name: 'page_reload', location });\n    }\n  },\n\n  getBrowserName() {\n    return BROWSER_NAME;\n  },\n\n  getPlatformName() {\n    return platform.name;\n  },\n\n  recordTimeToRender() {\n    if (this.hasRecordedTimeToRender || this.statsRecordingDisabled()) {\n      return;\n    }\n    this.set('hasRecordedTimeToRender', true);\n    schedule('afterRender', this, () => {\n      let time = window.performance.now();\n      this.log(`METRICS: 🎨 Time to render: ${time}`);\n      this.enqueueInteractionMetric({\n        name: 'time_to_render',\n        time,\n        location: this.bootLocation,\n      });\n    });\n  },\n\n  recordFirstInteraction(target) {\n    if (this.hasRecordedFirstInteraction || this.statsRecordingDisabled()) {\n      return resolve();\n    }\n    let location = Metrics.getInteractionLocationForTarget(target);\n    let time = window.performance.now();\n    this.enqueueInteractionMetric({ name: 'first_interaction', time, location });\n    this.log(`METRICS: 👩‍💻 First interaction: ${time}`);\n    this.set('hasRecordedFirstInteraction', true);\n    return this.sendInteractionMetrics();\n  },\n\n  recordCacheMetrics() {\n    let cacheMetrics = this.get('modelDataCacheService.cacheMetrics');\n    if (isPresent(cacheMetrics)) {\n      cacheMetrics.forEach(metric =>\n        this.enqueueInteractionMetric({\n          name: 'model_data_cache',\n          model: metric.model,\n          status: metric.status,\n        }),\n      );\n    }\n    return this.sendInteractionMetrics();\n  },\n\n  recordVersionLockCheckResult(options) {\n    let metricData = Object.assign(options, { name: 'version_lock_check' });\n    this.enqueueInteractionMetric(metricData);\n    return this.sendInteractionMetrics();\n  },\n\n  recordComposerSyncTime(time) {\n    if (time < 100) {\n      return;\n    }\n\n    this.enqueueInteractionMetric({\n      name: 'composer_sync_time',\n      time,\n      browser: this.getBrowserName(),\n      platform: this.getPlatformName(),\n    });\n    return this.sendInteractionMetrics();\n  },\n\n  _getInteractionTimeTopic(subject, id) {\n    if (id) {\n      return `${subject}:${id}`;\n    }\n    return subject;\n  },\n\n  startInteractionTime(subject, options = {}) {\n    if (this.statsRecordingDisabled()) {\n      return;\n    }\n    let topic = this._getInteractionTimeTopic(subject, options.id);\n    let startMarkName = `${topic}:start`;\n    window.performance.mark(startMarkName);\n\n    this.markOptions[topic] = options;\n  },\n\n  stopInteractionTime(subject, options = {}) {\n    if (this.statsRecordingDisabled()) {\n      return;\n    }\n\n    let topic = this._getInteractionTimeTopic(subject, options.id);\n    let startMarkName = `${topic}:start`;\n    let startMarks = performance.getEntriesByName(startMarkName, 'mark');\n    if (startMarks.length === 0) {\n      return;\n    }\n\n    let markOptions = this.markOptions[topic];\n    let endMarkName = `${topic}:end`;\n    window.performance.mark(endMarkName);\n    window.performance.measure(topic, startMarkName, endMarkName);\n    let measurement = window.performance.getEntriesByType('measure').find(m => m.name === topic);\n\n    if (measurement) {\n      this.enqueueInteractionMetric({\n        name: 'interaction_time',\n        subject,\n        time: measurement.duration,\n        sample_rate: options.sampleRate || 1,\n        browser: this.getBrowserName(),\n        platform: this.getPlatformName(),\n        ...markOptions,\n      });\n\n      delete this.markOptions[topic];\n      window.performance.clearMarks(startMarkName);\n      window.performance.clearMarks(endMarkName);\n      window.performance.clearMeasures(topic);\n\n      this.sendInteractionMetrics();\n    }\n  },\n\n  start(key) {\n    if (this.statsRecordingDisabled()) {\n      return;\n    }\n    if (this.timings[key] === undefined) {\n      //skip the first so we're not capturing data when loading the app\n      this.timings[key] = null;\n    } else {\n      this.timings[key] = window.performance.now();\n    }\n  },\n\n  stop(key, bufferSize, numberOfItemsRendered) {\n    if (this.statsRecordingDisabled()) {\n      return;\n    }\n\n    let start = this.timings[key];\n    if (start) {\n      let duration = window.performance.now() - start;\n      this.capture(key, duration, bufferSize, numberOfItemsRendered);\n      this.timings[key] = null;\n    }\n  },\n\n  timeUntilAfterRender(key, options = {}) {\n    this.start(key);\n    schedule('afterRender', this, function() {\n      this.stop(key, options.bufferSize, options.numberOfItemsRendered);\n    });\n  },\n\n  capture(key, value, bufferSize = 10, numberOfItemsRendered = 1) {\n    this.stats[key] = this.stats[key] || [];\n    this.stats[key].push(value / numberOfItemsRendered);\n\n    if (this.stats[key].length >= bufferSize) {\n      Metrics.capture(this.stats);\n      this.stats = {};\n    }\n  },\n\n  log(string) {\n    if (storage.get('frontendMetricsLogging')) {\n      console.debug(string);\n    }\n  },\n\n  getPerformanceNavigationType() {\n    return window.performance.navigation.type;\n  },\n});\n\nexport default FrontendStatsService;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Service from '@ember/service';\nimport Evented from '@ember/object/evented';\nimport { later } from '@ember/runloop';\nimport ENV from 'embercom/config/environment';\n\nexport default Service.extend(Evented, {\n  promiseCount: 0,\n\n  pushEvent(event) {\n    let timeOutPromise = new Promise((resolve, reject) => {\n      later(this, () => reject(event), ENV.APP._2000MS);\n    });\n\n    let gtmPromise = new Promise((resolve, reject) => {\n      let messageId = this.incrementProperty('promiseCount');\n      event.messageId = messageId;\n      if (this.has('gtm-event')) {\n        this.trigger('gtm-event', { resolve, reject, event });\n      } else {\n        reject('No gtm-event subscription in Google Tag Manager service');\n      }\n    });\n\n    return Promise.race([gtmPromise, timeOutPromise]);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-private-routing-service */\n/* eslint-disable ember/no-classic-classes */\nimport { getOwner } from '@ember/application';\nimport Service from '@ember/service';\nimport Gtm from '@intercom/gtm-js';\nimport ENV from 'embercom/config/environment';\nimport ajax from 'embercom/lib/ajax';\nimport { MARKETO_ACCOUNT_ID, MARKETO_FORM_IDS, MARKETO_URL } from 'embercom/lib/gtm';\nimport { captureException } from 'embercom/lib/sentry';\n\nexport default Service.extend({\n  /** @type {import('@intercom/gtm-js').default | null} */\n  intercomGtm: null,\n  loadedThirdPartyScripts: false,\n  globalPageViewTrackingEnabled: false,\n  init() {\n    this._super(...arguments);\n    this.set('intercomGtm', new Gtm());\n  },\n\n  screenSize() {\n    return this.intercomGtm.device;\n  },\n\n  activeExperiments() {\n    return ajax({\n      url: `gtm_tracking/ab_test_impressions`,\n      type: 'GET',\n    });\n  },\n\n  startTrackingPageViewsGlobally() {\n    if (this.globalPageViewTrackingEnabled) {\n      return;\n    }\n\n    let currentContext = this;\n    getOwner(this)\n      .lookup('router:main')\n      .on('didTransition', function() {\n        currentContext._trackPageView();\n      });\n\n    this.set('globalPageViewTrackingEnabled', true);\n  },\n\n  _trackPageView() {\n    this.recordPageView().then(() => this.recordOnPageviewEvent());\n    this.recordPageViewInThirdPartyTools();\n  },\n\n  detectAdBlocker() {\n    return this.intercomGtm.detectAdBlocker();\n  },\n\n  loadThirdPartyScripts() {\n    if (this.loadedThirdPartyScripts) {\n      return;\n    }\n\n    let intercomGtm = this.intercomGtm;\n    intercomGtm.loadGoogleAnalytics(ENV.APP.google_analytics_id);\n    intercomGtm.loadMarketoMunchkin();\n    intercomGtm.loadFacebookPixel();\n    intercomGtm.loadGooglePixel();\n    intercomGtm.loadClearbit();\n\n    this.set('loadedThirdPartyScripts', true);\n  },\n\n  recordEvent(eventName, metadata) {\n    let intercomGTM = this.intercomGtm;\n    let pageviewId = intercomGTM.pageviewId;\n    let app = getOwner(this).lookup('route:apps/app').app;\n\n    if (app && metadata) {\n      metadata['app_id_code'] = app.get('id');\n      metadata['admin_id'] = app.get('currentAdmin.id');\n    }\n\n    if (pageviewId) {\n      return intercomGTM.recordEvent(eventName, pageviewId, metadata);\n    }\n  },\n\n  pageViewId() {\n    return this.intercomGtm.pageviewId;\n  },\n\n  recordPageView(metadata) {\n    return this.intercomGtm.recordPageView({ metadata });\n  },\n\n  recordOnPageviewEvent() {\n    return this.intercomGtm.recordOnPageviewEvent(window);\n  },\n\n  async getRecaptchaToken() {\n    let result = await this.intercomGtm.recaptcha.getRecaptchaToken(ENV.recaptchaSiteKey, 'signup');\n\n    if (result.error) {\n      console.error(result);\n      return null;\n    }\n\n    return result.token;\n  },\n\n  recordPageViewInThirdPartyTools() {\n    let intercomGtm = this.intercomGtm;\n    intercomGtm.recordPageViewInThirdPartyTools();\n  },\n\n  getVariation(experimentName) {\n    return this.intercomGtm.getVariation(experimentName);\n  },\n\n  setupMarketo(formId) {\n    try {\n      let IntercomGTM = this.intercomGtm;\n      if (IntercomGTM.initMarketoForms) {\n        IntercomGTM.initMarketoForms(MARKETO_URL, MARKETO_ACCOUNT_ID, formId);\n      }\n    } catch (e) {\n      console.error(e);\n      captureException(e);\n    }\n  },\n\n  fireMarketoEvent(formId, data) {\n    try {\n      let IntercomGTM = this.intercomGtm;\n      let firstName = '';\n      let lastName = '';\n      try {\n        let arr = (data.name || '').split(' ');\n        firstName = arr.splice(0, 1)[0];\n        lastName = arr.join(' ');\n        delete data['name'];\n      } catch (e) {\n        captureException(e);\n      }\n      let formData = Object.assign(\n        {\n          FirstName: firstName || '',\n          LastName: lastName || '',\n          Company: data['Company'] || '',\n        },\n        data,\n      );\n      IntercomGTM.recordMarketoEvent(formId, formData)\n        .catch(error => {\n          captureException(error);\n        })\n        .then(() => true);\n    } catch (e) {\n      captureException(e);\n    }\n  },\n\n  marketoTrialSignupStart(email) {\n    // Someone went to the login page and then went \"don't have an account, sign up\"\n    try {\n      // marketo Trial (Start Signup)\n      let IntercomGTM = this.intercomGtm;\n      if (IntercomGTM.initMarketoForms) {\n        IntercomGTM.initMarketoForms(\n          MARKETO_URL,\n          MARKETO_ACCOUNT_ID,\n          MARKETO_FORM_IDS.trialSignupStart,\n        ).then(() => {\n          try {\n            IntercomGTM.recordMarketoEvent(MARKETO_FORM_IDS.trialSignupStart, {\n              Email: email,\n            });\n          } catch (e) {\n            captureException(e);\n          }\n        });\n      }\n    } catch (e) {\n      captureException(e);\n    }\n  },\n\n  // Sends the email submission to our backend + marketo. Returns the email submission ID from our backend\n  async recordEmailSubmission(email, marketoFormID, extraPayload) {\n    let IntercomGTM = this.intercomGtm;\n\n    // Load the marketo form\n    await IntercomGTM.initMarketoForms(MARKETO_URL, MARKETO_ACCOUNT_ID, marketoFormID);\n\n    // Record the email submission in our backend and marketo\n    let { id } = await IntercomGTM.recordEmailSubmission(\n      email,\n      true,\n      IntercomGTM.pageviewId,\n      extraPayload,\n      null,\n      marketoFormID,\n    );\n\n    // Fire third party events on email submission\n    IntercomGTM.recordThirdPartyEventsOnEmailSubmission(id);\n\n    return id;\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Service, { inject as service } from '@ember/service';\nimport ScriptData from 'embercom/lib/home/guide-assistant-scripts';\nimport { readOnly } from '@ember/object/computed';\n\nexport default Service.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  currentAdmin: readOnly('app.currentAdmin'),\n  onboardingHomeService: service(),\n  latestAvailableOrPendingCompletedStep: readOnly(\n    'onboardingHomeService.guide.latestAvailableOrPendingCompletedStep',\n  ),\n\n  onboardingAssistant: {\n    name: 'Phil',\n    avatarLink: '/assets/images/onboarding/home/guide-assistants/phil.png',\n  },\n\n  scriptLines: null,\n\n  _getScriptData() {\n    if (this.app.isTestApp) {\n      return ScriptData.testApp;\n    }\n\n    if (this.latestAvailableOrPendingCompletedStep) {\n      return this.latestAvailableOrPendingCompletedStep.stepData.generateGuideAssistantScript(\n        this.onboardingHomeService.guide.identifier,\n      );\n    } else {\n      return ScriptData.allStepsFinished;\n    }\n  },\n\n  refreshScript() {\n    let script = this._getScriptData();\n    this.set(\n      'scriptLines',\n      script.generateScript({ adminName: this.get('currentAdmin.first_name') }),\n    );\n  },\n\n  triggerTransitionalScript() {\n    let script = this._getScriptData();\n    if (script.hasTransitionalScript) {\n      this.set(\n        'scriptLines',\n        script.generateTransitionalScript({ adminName: this.get('currentAdmin.first_name') }),\n      );\n    }\n  },\n});\n","define(\"embercom/services/head-data\", [\"exports\", \"ember-cli-head/services/head-data\"], function (_exports, _headData) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _headData.default;\n    }\n  });\n});\n","define(\"embercom/services/head-tags\", [\"exports\", \"ember-cli-meta-tags/services/head-tags\"], function (_exports, _headTags) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _headTags.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Service, { inject as service } from '@ember/service';\nimport { getOwner } from '@ember/application';\nimport { computed } from '@ember/object';\nimport { or, equal } from '@ember/object/computed';\nimport { findByProperty } from '@intercom/embercom-core/lib/computed-properties';\n\nexport default Service.extend({\n  init() {\n    this._super(...arguments);\n    this.maybeFetchSite();\n  },\n  showCollectionReorderWarning: true,\n  showSectionReorderWarning: true,\n  store: service(),\n\n  isSingleLanguage: equal('site.selectedLocales.length', 1),\n  currentlySelectedLocaleId: or('_queryParamLocale', 'site.locale'),\n  currentlySelectedLocale: findByProperty(\n    'site.selectedLocales',\n    'localeId',\n    'currentlySelectedLocaleId',\n  ),\n\n  _queryParamLocale: computed('_articlesController.selectedLocaleId', function() {\n    return this._articlesController.get('selectedLocaleId');\n  }),\n\n  _articlesController: computed(function() {\n    return getOwner(this).lookup('controller:apps/app/articles');\n  }),\n\n  async maybeFetchSite() {\n    if (!this.site) {\n      let site = await this.store.findAll('help-center-site');\n      this.set('site', site.firstObject);\n    }\n  },\n\n  updateLocale(locale) {\n    this._articlesController.set('selectedLocaleId', locale);\n  },\n\n  resetLocale(locale) {\n    this._articlesController.set('selectedLocaleId', null);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Service, { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { get } from 'embercom/lib/ajax';\n\nexport default Service.extend({\n  appService: service(),\n  latestConversationId: null,\n\n  fetchConversationIdIfNecessary: task(function*() {\n    if (this.latestConversationId) {\n      return;\n    }\n    let conversationRecord = yield get(\n      '/ember/onboarding/hosted_messenger_created_conversations/latest_for_admin_or_app',\n      { app_id: this.get('appService.app.id') },\n    );\n    this.set('latestConversationId', conversationRecord.conversation_id);\n  }).drop(),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport { hash } from 'rsvp';\nimport $ from 'jquery';\nimport Service, { inject as service } from '@ember/service';\nimport ENV from 'embercom/config/environment';\n\nexport default Service.extend({\n  bootOptionsService: service(),\n\n  boot(app) {\n    let hasApp = app !== undefined;\n\n    if (!this._isEnabledInEnvironment() || (hasApp && this._isImpersonationSession(app))) {\n      return;\n    }\n\n    if (this._isEmbeddedContent()) {\n      return;\n    }\n\n    let promises = {\n      script: $.getScript(this._scriptSrc()),\n    };\n\n    if (hasApp) {\n      promises.data = $.get('/ember/admins/intercom_settings.json');\n    }\n\n    return hash(promises).then(({ data }) => {\n      data = data || { app_id: 'tx2p130c' };\n      window.intercomSettings = data;\n      this._intercomBoot(data);\n    });\n  },\n\n  update(data) {\n    window.Intercom('update', data);\n  },\n\n  _intercomBoot(data) {\n    window.Intercom('boot', data);\n  },\n\n  _isImpersonationSession(app) {\n    return app.get('impersonation_session');\n  },\n\n  _isEnabledInEnvironment() {\n    //stub this to `true` if you want this service to run in tests\n    return ENV.environment !== 'test';\n  },\n\n  _isDevelopmentEnvironment() {\n    return ENV.environment === 'development';\n  },\n\n  _isEmbeddedContent() {\n    return this.get('bootOptionsService.embeddedContent');\n  },\n\n  _scriptSrc() {\n    return 'https://widget.intercom.io/widget/tx2p130c';\n  },\n});\n","define(\"embercom/services/ic-browser-environment\", [\"exports\", \"@intercom/embercom-core/services/ic-browser-environment\"], function (_exports, _icBrowserEnvironment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _icBrowserEnvironment.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport Service from '@ember/service';\nimport { computed } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\nimport ajax from 'embercom/lib/ajax';\nimport IdentityVerificationRiskStates from 'embercom/lib/identity-verification-risk-states';\n\nexport default Service.extend({\n  app: undefined,\n  riskState: 0,\n\n  adminHasWorkSpacePermissions: readOnly('app.currentAdmin.canAccessWorkSpaceSettings'),\n  disableNotifications: readOnly('app.canUseDisableIdentityVerificationNotifications'),\n\n  // Any admin without full permissions should have their risk level decreased by one.\n  // E.g., medium risk == low risk for a partial permission admin.\n  adminRiskState: computed('adminHasWorkSpacePermissions', 'riskState', function() {\n    return this.adminHasWorkSpacePermissions ? this.riskState : Math.max(this.riskState - 1, 0);\n  }),\n\n  shouldShowLowNotification: computed('disableNotifications', 'adminRiskState', function() {\n    return (\n      !this.disableNotifications && this.adminRiskState >= IdentityVerificationRiskStates.LOW_RISK\n    );\n  }),\n\n  shouldShowMediumNotification: computed('disableNotifications', 'adminRiskState', function() {\n    return (\n      !this.disableNotifications &&\n      this.adminRiskState >= IdentityVerificationRiskStates.MEDIUM_RISK\n    );\n  }),\n\n  shouldShowHighNotification: computed('disableNotifications', 'adminRiskState', function() {\n    return (\n      !this.disableNotifications && this.adminRiskState >= IdentityVerificationRiskStates.HIGH_RISK\n    );\n  }),\n\n  shouldShowLackOfSecurityContactEmailNotification: computed(\n    'disableNotifications',\n    'securityContactEmailFilled',\n    function() {\n      if (this.app === undefined || !this.app.canUseWorkspaceSecurityContact) {\n        return false;\n      }\n      return !this.disableNotifications && !this.securityContactEmailFilled;\n    },\n  ),\n\n  start(app) {\n    this.set('app', app);\n\n    return ajax({\n      url: '/ember/identity_verification_risk_state',\n      type: 'GET',\n      data: {\n        app_id: app.get('id'),\n      },\n    }).then(response => {\n      this.set('riskState', response.identity_verification_risk_state);\n      this.set('securityContactEmailFilled', response.security_contact_email_filled);\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/require-computed-property-dependencies */\n/* eslint-disable ember/no-classic-classes */\nimport { later, cancel } from '@ember/runloop';\nimport { computed } from '@ember/object';\nimport { A } from '@ember/array';\nimport { readOnly, filterBy, setDiff, filter, equal, bool } from '@ember/object/computed';\nimport Service, { inject as service } from '@ember/service';\nimport { task, timeout } from 'ember-concurrency';\nimport ajax from 'embercom/lib/ajax';\nimport ENV from 'embercom/config/environment';\nimport InboxRealtimeAdapter from 'embercom/lib/inbox/realtime-adapter';\nimport FaviconCounter from 'embercom/lib/favicon-counter';\nimport { getOwner } from '@ember/application';\nimport storage from 'embercom/vendor/intercom/storage';\n\nconst INBOX_TOUR_STORAGE_KEY = 'has-seen-inbox-tour-banner';\n\nexport default Service.extend({\n  PAGE_SIZE: 15,\n\n  appService: service(),\n  app: readOnly('appService.app'),\n  admin: readOnly('app.currentAdmin'),\n  store: service(),\n  realtimeService: service('realTimeEventService'),\n\n  isActive: false,\n\n  inbox: null,\n  currentConversation: null,\n  teamInboxes: filterBy('inboxes', 'isTeamInbox'),\n  hasDismissedBanner: false,\n\n  inboxes: A(),\n\n  inboxViews: A(),\n\n  meInbox: computed('inboxes.[]', function() {\n    return this.inboxes.find(inbox => {\n      return inbox.get('admin_id') === this.get('admin.id');\n    });\n  }),\n  operatorInbox: computed('inboxes.@each.admin_id', 'app.operatorBot.id', function() {\n    return this.inboxes.find(inbox => {\n      return inbox.admin_id === this.app.operatorBot.id;\n    });\n  }),\n  unassignedInbox: computed('inboxes.[]', function() {\n    return this.inboxes.findBy('isUnassignedInbox');\n  }),\n  mentionsInbox: computed('inboxes.[]', function() {\n    return this.inboxes.findBy('isMentionsInbox');\n  }),\n  allInbox: computed('inboxes.[]', function() {\n    return this.inboxes.findBy('isAllInbox');\n  }),\n\n  displayableOtherInboxes: computed('inboxes.[]', 'admin.id', function() {\n    return this.inboxes\n      .rejectBy('isPredefinedInbox')\n      .rejectBy('isBot')\n      .rejectBy('admin.isBot')\n      .rejectBy('admin_id', this.get('admin.id'))\n      .rejectBy('isInboxView');\n  }),\n\n  displayableOtherInboxesWithOperator: computed(\n    'operatorInbox',\n    'displayableOtherInboxes.[]',\n    function() {\n      return [].concat([this.operatorInbox], this.displayableOtherInboxes);\n    },\n  ),\n\n  defaultInboxes: computed('meInbox', 'mentionsInbox', 'unassignedInbox', 'allInbox', function() {\n    return [this.meInbox, this.mentionsInbox, this.unassignedInbox, this.allInbox];\n  }),\n  extraInboxes: computed(\n    'visibleSidebarItems',\n    'inboxesWithMeMembership',\n    'pinnedInboxesWithoutMembership',\n    'visibleInboxViews',\n    function() {\n      return [\n        ...this.visibleSidebarItems,\n        ...this.inboxesWithMeMembership,\n        ...this.pinnedInboxesWithoutMembership,\n        ...this.visibleInboxViews,\n      ].uniq();\n    },\n  ),\n\n  visibleSidebarItems: computed(\n    'inboxes.[]',\n    'admin.visible_inbox_sidebar_item_ids.[]',\n    function() {\n      if (!this.get('admin.visible_inbox_sidebar_item_ids')) {\n        return [];\n      }\n      let inboxes = this.inboxes;\n      return this.get('admin.visible_inbox_sidebar_item_ids')\n        .map(id => {\n          return inboxes.findBy('id', id);\n        })\n        .compact();\n    },\n  ),\n\n  pinnedInboxes: computed('inboxes.[]', 'admin.visible_assignee_ids.[]', function() {\n    let inboxes = this.inboxes;\n    let visibleAssigneeIds = this.get('admin.visible_assignee_ids');\n    return inboxes.filter(inbox => visibleAssigneeIds.includes(inbox.get('id')));\n  }),\n  pinnedInboxesWithoutMembership: setDiff('pinnedInboxes', 'inboxesWithMeMembership'),\n\n  nonMeMembershipInboxes: setDiff('displayableOtherInboxes', 'inboxesWithMeMembership'),\n\n  sortedNonMeMembershipInboxes: computed('nonMeMembershipInboxes.[]', function() {\n    return this.nonMeMembershipInboxes.sort(this._sortInboxes);\n  }),\n\n  sortedNonMeMembershipInboxesWithOperator: computed(\n    'operatorInbox',\n    'sortedNonMeMembershipInboxes.[]',\n    function() {\n      return [].concat([this.operatorInbox], this.sortedNonMeMembershipInboxes).compact();\n    },\n  ),\n\n  inboxesWithMeMembership: filter('teamInboxes', function(inbox) {\n    return inbox.adminBelongsToTeam(this.admin);\n  }),\n\n  inboxViewInboxes: filter('inboxes', function(inbox) {\n    return this.app.canUseInboxViews && inbox.get('isInboxView');\n  }),\n\n  visibleInboxViews: computed(\n    'inboxViewInboxes.[]',\n    'admin.visible_inbox_view_ids.[]',\n    'app.canUseInboxViews',\n    function() {\n      let visibleInboxViewIds = this.admin.visible_inbox_view_ids || [];\n      let views = this.inboxViewInboxes.filter(view => visibleInboxViewIds.includes(view.id));\n      return views.sortBy('name');\n    },\n  ),\n  hiddenInboxViews: setDiff('inboxViewInboxes', 'visibleInboxViews'),\n  sortedHiddenInboxViews: computed('hiddenInboxViews', function() {\n    return this.hiddenInboxViews.sort(this._sortInboxes);\n  }),\n\n  defaultDropdownInboxes: computed(\n    'meInbox',\n    'mentionsInbox',\n    'unassignedInbox',\n    'allInbox',\n    'inboxesWithMeMembership',\n    'pinnedInboxesWithoutMembership',\n    'visibleSidebarItems',\n    function() {\n      let inboxes = [this.meInbox, this.mentionsInbox, this.unassignedInbox, this.allInbox];\n      inboxes.pushObjects(this.visibleSidebarItems);\n      inboxes.pushObjects(this.inboxesWithMeMembership);\n      inboxes.pushObjects(this.pinnedInboxesWithoutMembership);\n      return inboxes.uniq();\n    },\n  ),\n\n  isSearchInbox: bool('inbox.isSearch'),\n  isMentionsInbox: equal('inbox.assignee_identifier', 'mentions'),\n\n  faviconCounter: null,\n\n  init() {\n    this._super(...arguments);\n    this.realtimeAdapter = InboxRealtimeAdapter.create({\n      inboxService: this,\n      realtimeService: this.realtimeService,\n      store: this.store,\n    });\n    this.faviconCounter = new FaviconCounter();\n    this.loadInboxes();\n    this.backgroundInboxList = getOwner(this).lookup('customClass:inbox/backgroundInboxList');\n  },\n\n  activate() {\n    if (this.get('app.inboxIsActive')) {\n      this.realtimeAdapter.enable();\n      this._startSleepDetection();\n      this.updateFavicon();\n      this.set('isActive', true);\n    }\n  },\n\n  deactivate() {\n    let currentInbox = this.inbox;\n    if (this.app.canUseBackgroundInboxes) {\n      this.backgroundInboxList.deactivate();\n    } else if (currentInbox) {\n      currentInbox.clearConversations();\n      currentInbox.disableRealtime();\n    }\n    this.realtimeAdapter.disable();\n    this._disableSleepDetection();\n    this._clearFaviconCounter();\n    this.clearCurrentConversation();\n    this.set('inbox', null);\n    this.set('isActive', false);\n  },\n\n  setInbox(inbox) {\n    let currentInbox = this.inbox;\n    if (inbox !== currentInbox) {\n      if (this.app.canUseBackgroundInboxes) {\n        this.clearCurrentConversation();\n        this.set('inbox', inbox);\n        this.updateFavicon();\n        this.backgroundInboxList.changeInbox(inbox, currentInbox);\n        this.autoTransitionIfNoCurrentConversation();\n      } else {\n        if (currentInbox) {\n          currentInbox.disableRealtime();\n          currentInbox.clearConversations();\n        }\n        this.clearCurrentConversation();\n        this.set('inbox', inbox);\n        this.updateFavicon();\n        this.inbox.reload();\n        inbox.enableRealtime();\n      }\n    }\n  },\n\n  setCurrentConversation(conversation) {\n    let inbox = this.inbox;\n    this.set('currentConversation', conversation);\n    inbox.clearTransitionedConversationsExcluding(conversation);\n  },\n\n  clearCurrentConversation() {\n    this.set('currentConversation', null);\n  },\n\n  // Hook for the ConversationsService to inform this service that a change has\n  // occured on a conversation and allow this service to react appropriately\n  partAddedToConversationLocally(conversation) {\n    if (!this.inbox) {\n      return;\n    }\n    let removeWhenOutOfContextEvenIfCurrent =\n      conversation.get('lastPart.isCloser') || conversation.get('lastPart.isSnoozer');\n    if (this.app.canUseBackgroundInboxes) {\n      this.backgroundInboxList.forEach(inbox => {\n        inbox.conversationWasUpdated(conversation, removeWhenOutOfContextEvenIfCurrent);\n      });\n      if (!this.inbox.canBeBackgrounded) {\n        this.inbox.conversationWasUpdated(conversation, removeWhenOutOfContextEvenIfCurrent);\n      }\n    } else {\n      this.inbox.conversationWasUpdated(conversation, removeWhenOutOfContextEvenIfCurrent);\n    }\n  },\n\n  // Hook for the ConversationsService to inform this service that a part has been\n  // removed. This can happen in the case of a bulk action failure\n  partRemovedFromConversation(conversation) {\n    if (!this.inbox) {\n      return;\n    }\n    if (this.app.canUseBackgroundInboxes) {\n      this.backgroundInboxList.forEach(inbox => {\n        inbox.conversationWasUpdated(conversation);\n      });\n      if (!this.inbox.canBeBackgrounded) {\n        this.inbox.conversationWasUpdated(conversation);\n      }\n    } else {\n      this.inbox.conversationWasUpdated(conversation);\n    }\n  },\n\n  transitionToNextConversation() {\n    this.transitionToConversation(\n      this.inbox.conversationList.nextUntransitioned(this.currentConversation),\n    );\n  },\n\n  transitionToPreviousConversation() {\n    this.transitionToConversation(\n      this.inbox.conversationList.previousUntransitioned(this.currentConversation),\n    );\n  },\n\n  transitionToRoot() {\n    this.clearCurrentConversation();\n    this.transitionTo(this.get('app.inboxConversationsRoute'), this.inbox, {\n      queryParams: this.inbox.queryParams,\n    });\n  },\n\n  transitionToUnassigned() {\n    this.clearCurrentConversation();\n    this.transitionTo(this.get('app.inboxConversationsRoute'), this.unassignedInbox);\n  },\n\n  transitionToConversation(conversation) {\n    if (conversation) {\n      this.transitionTo(this.get('app.inboxConversationsConversationRoute'), conversation, {\n        queryParams: this.inbox.queryParams,\n      });\n    }\n  },\n\n  updateInboxCounters(inboxes) {\n    inboxes.forEach(inboxData => {\n      // convert from wire format\n      if (Array.isArray(inboxData)) {\n        inboxData = { id: inboxData[0], open_count: inboxData[1] };\n      }\n      // nexus cannot give us good values for mentions since it is broadcast\n      if (inboxData.id === 'mentions') {\n        return;\n      }\n      let inboxModel = this.store.peekRecord('inbox', inboxData.id);\n      if (inboxModel) {\n        if (inboxData.open_count !== inboxModel.open_count) {\n          inboxModel.setProperties(inboxData);\n        }\n        if (inboxModel.get('identifier') === 'all') {\n          this.set('app.open_message_thread_count', inboxModel.get('open_count'));\n        }\n        if (inboxModel.get('admin.id') === this.get('admin.id')) {\n          this.set('app.admin_open_message_thread_count', inboxModel.get('open_count'));\n        }\n      }\n    });\n    this.updateFavicon();\n  },\n\n  updateFavicon() {\n    this.faviconCounter.updateFaviconCounter(this.get('inbox.determinantCount'));\n  },\n\n  autoTransitionIfNoCurrentConversation() {\n    if (this.currentConversation) {\n      return;\n    }\n\n    let targetConversation;\n\n    if (this.targetConversationId) {\n      targetConversation = this.inbox.findConversationById(this.targetConversationId);\n      this.set('targetConversationId', null);\n    }\n\n    if (!targetConversation) {\n      targetConversation = this.get('inbox.conversationList.sortedItems.firstObject');\n    }\n    this.transitionToConversation(targetConversation);\n  },\n\n  loadInboxes(forceReload = false) {\n    let inboxes = this.store.peekAll('inbox');\n    if (forceReload || inboxes.get('length') === 0) {\n      if (this.app.canUseInboxViews) {\n        this.loadInboxViews();\n      }\n      return this.store.query('inbox', {}).then(result => {\n        this.set('inboxes', result);\n\n        let validFor = result.meta.view_counters_valid_for;\n        if (validFor) {\n          this.scheduleInboxViewCountersRefresh.perform(validFor);\n        }\n      });\n    } else {\n      this.set('inboxes', inboxes);\n    }\n  },\n\n  loadInboxViews() {\n    let inboxViews = this.store.findAll('inbox-view');\n    this.set('inboxViews', inboxViews);\n    return inboxViews;\n  },\n\n  async loadInboxViewCounters() {\n    let countersData = await ajax({\n      url: `/ember/inboxes/view_counters?app_id=${this.app.id}`,\n      type: 'get',\n      contentType: 'application/json',\n    });\n\n    countersData.counters.forEach(([id, count]) => {\n      let inbox = this.store.peekRecord('inbox', id);\n      inbox.open_count = count;\n    });\n\n    if (countersData.valid_for) {\n      this.scheduleInboxViewCountersRefresh.perform(countersData.valid_for);\n    }\n  },\n\n  loadConversationAttributeDescriptors() {\n    if (this.app.canUseConversationAttributeData) {\n      this.store.findAll('conversation-attributes/descriptor');\n    }\n  },\n\n  loadBannerVisibility() {\n    let seen = !!storage.get(INBOX_TOUR_STORAGE_KEY);\n    this.set('hasDismissedBanner', seen);\n  },\n\n  closeTourBanner() {\n    storage.set(INBOX_TOUR_STORAGE_KEY, true);\n    this.set('hasDismissedBanner', true);\n  },\n\n  scheduleInboxCountersPoll: task(function*() {\n    if (ENV.environment === 'test') {\n      return;\n    }\n    yield timeout(ENV.APP._1M);\n    this.loadInboxes(true);\n    this.scheduleInboxCountersPoll.perform();\n  }).restartable(),\n\n  scheduleInboxViewCountersRefresh: task(function*(validFor) {\n    if (ENV.environment === 'test') {\n      return;\n    }\n    yield timeout(validFor * ENV.APP._1000MS);\n    this.loadInboxViewCounters();\n  }).restartable(),\n\n  _updateInboxCount(count) {\n    this.set('inbox.count', count);\n  },\n\n  _clearFaviconCounter() {\n    this.faviconCounter.resetFaviconCounter();\n  },\n\n  _startSleepDetection() {\n    if (ENV.environment !== 'production' || this.inbox?.isSearch) {\n      return;\n    }\n    this._lastSleepDetectionTime = new Date().getTime();\n    this._sleepDetectionTimer = later(this, this._checkForSleep, ENV.APP._1000MS);\n  },\n\n  _disableSleepDetection() {\n    cancel(this._sleepDetectionTimer);\n  },\n\n  _checkForSleep() {\n    let currentTime = new Date().getTime();\n    let timeSinceLastRun = currentTime - this._lastSleepDetectionTime;\n    if (timeSinceLastRun > 30000) {\n      console.log('Sleep detected, reloading');\n      this.inbox.reload();\n    }\n    this._startSleepDetection();\n  },\n\n  _sortInboxes(a, b) {\n    if (a.get('isTeamInbox') && !b.get('isTeamInbox')) {\n      return -1;\n    }\n    if (!a.get('isTeamInbox') && b.get('isTeamInbox')) {\n      return 1;\n    }\n    let aName = a.get('name');\n    let bName = b.get('name');\n    if (aName > bName) {\n      return 1;\n    }\n    if (aName < bName) {\n      return -1;\n    }\n    return 0;\n  },\n});\n","define(\"embercom/services/intercom-event-service\", [\"exports\", \"@intercom/embercom-core/services/intercom-event-service\"], function (_exports, _intercomEventService) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _intercomEventService.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport Service, { inject } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport parseDomain from 'parse-domain';\nimport OpenCenteredWindow from 'embercom/lib/open-centered-window';\nimport $ from 'jquery';\nimport { get } from '@ember/object';\nimport { runTask, runDisposables } from 'ember-lifeline';\nimport ENV from 'embercom/config/environment';\n\nconst INCORRECT_ORIGIN = 0;\nconst INCORRECT_TYPE = 1;\nconst INCORRECT_HOST = 2;\n\nconst INTERSECTION_WINDOW_SCALE = 0.85;\n\nexport default Service.extend({\n  appService: inject(),\n  app: readOnly('appService.app'),\n\n  intercomEventService: inject(),\n  notificationsService: inject(),\n\n  intersectionWindow: null,\n  targetDomain: null,\n\n  eventHandlers: {},\n\n  registerEventHandler(eventName, handler) {\n    this.eventHandlers[eventName] = handler;\n  },\n\n  unregisterEventHandler(eventName) {\n    if (this.eventHandlers[eventName]) {\n      delete this.eventHandlers[eventName];\n    }\n  },\n\n  willDestroy() {\n    this._super(...arguments);\n    $(window).off('message.intersection');\n    $(window).off('message.intersection-wait-for-ready');\n    let eventKeys = Object.keys(this.eventHandlers);\n    eventKeys.forEach(event => {\n      this.unregisterEventHandler(event);\n    });\n  },\n\n  openTourSplashScreen() {\n    let height = this._getHeight();\n    let width = this._getWidth();\n    let appId = this.get('app.id');\n    return OpenCenteredWindow(`/a/apps/${appId}/pre-tour`, height, width, 'Product Tour Editor');\n  },\n\n  openWindow(url, mode) {\n    $(window).off('message.intersection');\n    $(window).off('message.intersection-wait-for-ready');\n    let urlString = this._urlWithHttpPrefix(url);\n    let height = this._getHeight();\n    let width = this._getWidth();\n    this.intersectionWindow = OpenCenteredWindow(urlString, height, width, 'Product Tour Editor');\n    this.targetDomain = new URL(urlString);\n    //eslint-disable-next-line @intercom/intercom/no-jquery-window-on\n    $(window).on(\n      'message.intersection-wait-for-ready',\n      function(event) {\n        this.intersectionService.handleReadyEvent(event.originalEvent, this.mode);\n      }.bind({ intersectionService: this, mode }),\n    );\n    //eslint-disable-next-line @intercom/intercom/no-jquery-window-on\n    $(window).on('message.intersection', event => this.handlePostMessage(event.originalEvent));\n  },\n\n  waitForMessenger() {\n    runTask(\n      this,\n      () => {\n        this.intercomEventService.trackAnalyticsEvent({\n          place: 'tour_editor',\n          action: 'loading_failed',\n          object: 'tour_builder',\n        });\n        this.notificationsService.notifyWarningWithModelAndPartial(\n          {},\n          'notifications/tours/-messenger-not-loaded',\n          ENV.APP._1000MS * 60 * 10,\n        );\n      },\n      ENV.APP._1000MS * 20,\n    );\n  },\n\n  _getHeight() {\n    return Math.floor(window.outerHeight * INTERSECTION_WINDOW_SCALE);\n  },\n\n  _getWidth() {\n    return Math.floor(window.outerWidth * INTERSECTION_WINDOW_SCALE);\n  },\n\n  _urlWithHttpPrefix(url) {\n    if (url.match(/^http(?:s?):\\/\\//)) {\n      return url;\n    }\n    return `http://${url}`;\n  },\n\n  // Error responses cannot be cloned via Structured Clone:\n  // (https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm)\n  // This is the default cloning algorithm used by postMessage\n  // To ensure our objects may be posted, we naively deep clone them.\n  _ensurePostableObject(object) {\n    return JSON.parse(JSON.stringify(object));\n  },\n\n  _parseDomain(url) {\n    return parseDomain(url, { customTlds: ['test'] });\n  },\n\n  handleReadyEvent(event, mode) {\n    if (get(event, 'data.type') !== 'intercom-snippet__ready') {\n      return INCORRECT_TYPE;\n    }\n\n    let eventURL = new URL(get(event, 'origin'));\n    let parsedEventURL = this._parseDomain(eventURL.href);\n    let parsedTargetURL = this._parseDomain(this.targetDomain.href);\n\n    if (!parsedEventURL || !parsedTargetURL || !this._hasSameTLD(parsedEventURL, parsedTargetURL)) {\n      return INCORRECT_HOST;\n    }\n\n    this.updateTargetDomain(eventURL);\n\n    runDisposables(this);\n\n    let appId = this.get('app.id');\n    this.intersectionWindow.postMessage(\n      {\n        type: 'intercom-snippet__boot-intersection',\n        mode,\n        appId,\n      },\n      this.targetDomain.origin,\n    );\n  },\n\n  _hasSameTLD(url1, url2) {\n    return `${url1.domain}${url1.tld}` === `${url2.domain}${url2.tld}`;\n  },\n\n  // Update the targetDomain to account for a HTTP --> HTTPS change, for a example.com --> www.example.com or for a\n  // example.com --> example.org change.\n  updateTargetDomain(eventDomain) {\n    this.targetDomain = eventDomain;\n  },\n\n  respondToRequest(event, result, data) {\n    let responseData = {\n      __messageType: 'intersection-service-response',\n      __requestId: get(event, 'data.__requestId'),\n    };\n    let postMessageData = this._ensurePostableObject(Object.assign(responseData, { result }, data));\n\n    this.intersectionWindow.postMessage(postMessageData, this.targetDomain.origin);\n  },\n\n  _formatData(data, method) {\n    if (method === 'POST' || method === 'PUT') {\n      return JSON.stringify(data);\n    } else {\n      return data;\n    }\n  },\n\n  handlePostMessage(event) {\n    if (get(event, 'origin') !== this.targetDomain.origin) {\n      return INCORRECT_ORIGIN;\n    }\n\n    if (get(event, 'data.__messageType') !== 'intersection-service-request') {\n      return INCORRECT_TYPE;\n    }\n\n    switch (get(event, 'data.__requestType')) {\n      case 'ajax':\n        this.handleAjaxRequest(event);\n        break;\n      case 'event':\n        this.handleEventRequest(event);\n        break;\n      default:\n        throw new Error('Unknown event type received from Intersection');\n    }\n  },\n\n  handleAjaxRequest(event) {\n    let requestData = get(event, 'data.__requestData');\n    let options = {\n      url: requestData.url,\n      method: requestData.method,\n      data: this._formatData(requestData.hash.data, requestData.method),\n      contentType: 'application/json',\n    };\n\n    $.ajax(options).then(\n      content => this.respondToRequest(event, 'success', { content }),\n      error => this.respondToRequest(event, 'error', { error }),\n    );\n  },\n\n  handleEventRequest(event) {\n    let requestData = get(event, 'data.__requestData');\n    let handler = this.eventHandlers[requestData.eventName];\n    if (handler) {\n      try {\n        let content = handler(requestData.eventData);\n        this.respondToRequest(event, 'success', { content });\n      } catch (error) {\n        this.respondToRequest(event, 'error', { error });\n        throw error;\n      }\n    } else {\n      this.respondToRequest(event, 'error', {\n        error: { message: `No handler for '${requestData.eventName}'` },\n      });\n    }\n  },\n});\n\nexport { INCORRECT_ORIGIN, INCORRECT_TYPE, INCORRECT_HOST };\n","define(\"embercom/services/intl\", [\"exports\", \"ember-intl/services/intl\"], function (_exports, _intl) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _intl.default;\n    }\n  });\n});\n","define(\"embercom/services/keyboard\", [\"exports\", \"ember-keyboard/services/keyboard\"], function (_exports, _keyboard) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _keyboard.default;\n    }\n  });\n});\n","import TransitionMap from \"liquid-fire/transition-map\";\nexport default TransitionMap;\n","import Service from '@ember/service';\n\nexport default class LoadingIndicatorService extends Service {\n  on() {\n    document.body.classList.add('global-loading');\n  }\n  off() {\n    document.body.classList.remove('global-loading');\n  }\n}\n","import Service from '@ember/service';\nimport { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\n\nexport default class LogService extends Service {\n  @service appService;\n\n  log(message) {\n    return ajax({\n      type: 'POST',\n      url: '/ember/log',\n      data: JSON.stringify({\n        app_id: this.appService.app.id,\n        message,\n      }),\n    });\n  }\n}\n","import Media from 'ember-responsive/services/media';\nexport default Media;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Evented from '@ember/object/evented';\nimport { isArray, A } from '@ember/array';\nimport { isPresent, typeOf, isEmpty } from '@ember/utils';\nimport { assert } from '@ember/debug';\nimport Service, { inject as service } from '@ember/service';\nimport {\n  initializeMutationsIfRequired,\n  performMutations,\n} from 'embercom/lib/data-mutations/mutator';\n\nexport default Service.extend({\n  frontendStatsService: service(),\n\n  subscribers: null,\n\n  init() {\n    this._super(...arguments);\n    this.set('subscribers', new Map());\n  },\n\n  _getModelKey(model) {\n    let keyPrefix;\n\n    if (model.get('_internalModel')) {\n      // `model` is either a message or a variation's message, see https://github.com/intercom/intercom/issues/63344\n      keyPrefix = model.get('_internalModel').modelName;\n    } else if (model.content && model.content._internalModel) {\n      keyPrefix = model.content._internalModel.modelName;\n    }\n\n    assert('The message mutation service requires a valid keyPrefix', isPresent(keyPrefix));\n\n    return `model:${keyPrefix}:${model.get('id')}`;\n  },\n\n  _notifySubscribers(model) {\n    let subscribers = this.subscribers.get(this._getModelKey(model));\n    if (isArray(subscribers)) {\n      subscribers.forEach(subscriber => {\n        assert(\n          `All subscribers must extend ${Evented.name}`,\n          typeOf(subscriber.has) === 'function',\n        );\n        assert(\n          'All subscribers must respond to didPerformMutations',\n          subscriber.has('didPerformMutations'),\n        );\n        subscriber.trigger('didPerformMutations', model);\n      });\n    }\n  },\n\n  subscribeToModelMutations(options) {\n    let modelKey = this._getModelKey(options.model);\n    initializeMutationsIfRequired(options.model);\n    if (this.subscribers.has(modelKey)) {\n      this.subscribers.get(modelKey).addObject(options.subscriber);\n    } else {\n      this.subscribers.set(modelKey, A([options.subscriber]));\n    }\n  },\n\n  unsubscribeFromModelMutations(options) {\n    let modelKey = this._getModelKey(options.model);\n    let modelSubscribers = this.subscribers.get(modelKey);\n    if (isArray(modelSubscribers)) {\n      modelSubscribers.removeObject(options.subscriber);\n      if (isEmpty(modelSubscribers)) {\n        this.subscribers.delete(modelKey);\n      }\n    }\n  },\n\n  performMutations(model, mutations) {\n    let modelName = model.constructor.modelName || model.content.constructor.modelName; // `model` is either a message or a variation's message, see https://github.com/intercom/intercom/issues/63344\n    assert(\n      'The Message Mutation Service should only be used to mutate messages',\n      modelName === 'message',\n    );\n    let preMutationHash = model.get('mutations.lastMutationHash');\n    performMutations(model, mutations, this.frontendStatsService);\n    let postMutationHash = model.get('mutations.lastMutationHash');\n    if (preMutationHash !== postMutationHash) {\n      this._notifySubscribers(model);\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Service from '@ember/service';\nimport Evented from '@ember/object/evented';\n\nexport default Service.extend(Evented, {\n  initializeMessengerApp(inboxAppId, canvasCreationOptions, resolve, reject) {\n    this.trigger('initializeMessengerApp', inboxAppId, canvasCreationOptions, resolve, reject);\n  },\n\n  updateInboxAppCanvas(inboxAppId, error, resolve, reject) {\n    this.trigger('updateInboxAppCanvas', inboxAppId, error, resolve, reject);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Service from '@ember/service';\nimport { getOwner } from '@ember/application';\n\nexport default Service.extend({\n  openModal() {\n    getOwner(this)\n      .lookup('route:application')\n      .send('openModal', ...arguments);\n  },\n  closeModal() {\n    getOwner(this)\n      .lookup('route:application')\n      .send('closeModal');\n  },\n  openSecondaryModal() {\n    getOwner(this)\n      .lookup('route:application')\n      .send('openSecondaryModal', ...arguments);\n  },\n  closeSecondaryModal() {\n    getOwner(this)\n      .lookup('route:application')\n      .send('closeSecondaryModal', ...arguments);\n  },\n});\n","define(\"embercom/services/model-data-cache-service\", [\"exports\", \"model-data-cache-service/services/model-data-cache\"], function (_exports, _modelDataCache) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _modelDataCache.default;\n    }\n  });\n});\n","import Ember from 'ember';\nimport MomentService from 'ember-moment/services/moment';\nimport config from '../config/environment';\n\nconst { get } = Ember;\n\nexport default MomentService.extend({\n  defaultFormat: get(config, 'moment.outputFormat')\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { A } from '@ember/array';\nimport { readOnly } from '@ember/object/computed';\nimport Service, { inject as service } from '@ember/service';\nimport RunMixin from 'ember-lifeline/mixins/run';\nimport { action } from '@ember/object';\n\nexport default Service.extend(RunMixin, {\n  appService: service(),\n  intercomEventService: service(),\n  router: service(),\n  app: readOnly('appService.app'),\n\n  collapsed: false,\n  _collapsedSubmenus: null,\n  _activeSubmenu: null,\n\n  init() {\n    this._super(...arguments);\n    this.set('_collapsedSubmenus', A());\n  },\n\n  toggleNavbarCollapsed: action(function() {\n    let activeSubmenu = this._activeSubmenu;\n    if (this.collapsed) {\n      this._collapsedSubmenus.removeObject(activeSubmenu);\n      this._toggleCollapsed();\n      this._trackToggleSubmenuAnalyticsEvent('expanded');\n    } else {\n      this._collapsedSubmenus.addObject(activeSubmenu);\n      this._toggleCollapsedWithTransition();\n      this._trackToggleSubmenuAnalyticsEvent('collapsed');\n    }\n  }),\n\n  setCollapsedSubmenu(submenuTitle) {\n    this._collapsedSubmenus.addObject(submenuTitle);\n  },\n\n  removeCollapsedSubmenu(submenuTitle) {\n    this._collapsedSubmenus.removeObject(submenuTitle);\n  },\n\n  setActiveSubmenu(submenuTitle) {\n    this.set('_activeSubmenu', submenuTitle);\n    this._updateCollapsedState();\n  },\n\n  _updateCollapsedState() {\n    let activeSubmenu = this._activeSubmenu;\n    let activeSubmenuIsCollapsed = this._collapsedSubmenus.includes(activeSubmenu);\n    this.set('collapsed', activeSubmenuIsCollapsed);\n  },\n\n  _toggleCollapsed() {\n    this.toggleProperty('collapsed');\n    $(window).trigger('resize');\n  },\n\n  _toggleCollapsedWithTransition(transitionDurationMs) {\n    this.runTask(() => {\n      this._toggleCollapsed();\n    }, transitionDurationMs);\n  },\n\n  _trackToggleSubmenuAnalyticsEvent(action) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action,\n      place: this.get('router.currentRouteName'),\n      object: 'submenu',\n      app_id: this.get('app.id'),\n      admin_id: this.get('app.currentAdmin.id'),\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nimport Service, { inject as service } from '@ember/service';\nimport ENV from 'embercom/config/environment';\nimport extractResponseError from 'embercom/lib/extract-response-error';\nimport { later } from '@ember/runloop';\nimport { A } from '@ember/array';\nimport { notEmpty } from '@ember/object/computed';\nimport defaultTo from '@intercom/embercom-core/lib/default-to';\n\nconst defaultResponseProvidedErrors = [403, 422];\n\nconst Notification = EmberObject.extend({\n  message: null,\n  type: defaultTo('help'),\n  duration: defaultTo(ENV.APP.default_notification_timeout),\n  key: null,\n  data: defaultTo({}),\n  button: null,\n  partial: null,\n  hasPartial: notEmpty('partial'),\n});\n\nexport default Service.extend({\n  permissionsService: service(),\n  paywallService: service(),\n  intercomEventService: service(),\n  conversationsService: service(),\n  inboxService: service(),\n\n  init() {\n    this._super(...arguments);\n    this.set('notifications', A());\n  },\n\n  notifyConfirmation(message, duration, key) {\n    this._notify(message, duration, 'confirmation', key);\n  },\n\n  notifyHelp(message, duration, key) {\n    this._notify(message, duration, 'help', key);\n  },\n\n  notifyError(message, duration, key) {\n    this._notify(message, duration, 'error', key);\n  },\n\n  notifyWarning(message, duration, key) {\n    this._notify(message, duration, 'warning', key);\n  },\n\n  notifyLoading(message, duration, key) {\n    this._notify(message, duration, 'loading', key);\n  },\n\n  removeNotification(key) {\n    this._removeNotificationWithKey(key);\n  },\n\n  notifyErrorWithModelAndPartial(model, partial, duration) {\n    let notification = this._createCustomNotification(model, partial, 'error', duration);\n    this._addObject(notification);\n  },\n\n  notifyConfirmationWithModelAndPartial(model, partial, duration) {\n    let notification = this._createCustomNotification(model, partial, 'confirmation', duration);\n    this._addObject(notification);\n  },\n\n  notifyWarningWithModelAndPartial(model, partial, duration) {\n    let notification = this._createCustomNotification(model, partial, 'warning', duration);\n    this._addObject(notification);\n  },\n\n  notifyErrorWithButton(message, button, duration, key) {\n    this._notify(message, duration, 'error', key, button);\n  },\n\n  notifyWarningWithButton(message, button, duration, key) {\n    this._notify(message, duration, 'warning', key, button);\n  },\n\n  notifyConfirmationWithButton(message, button, duration, key) {\n    this._notify(message, duration, 'confirmation', key, button);\n  },\n\n  notifyResponseError(\n    response,\n    messages = {},\n    options = { responseProvidedErrors: defaultResponseProvidedErrors },\n  ) {\n    messages.default = messages.default || 'Something went wrong, please try again.';\n\n    let error = this._getErrorForResponse(response);\n    let messageProvidedForErrors = Object.keys(messages)\n      .filter(statusCode => !isNaN(statusCode))\n      .map(status => parseInt(status, 10));\n    let useMessageFromError =\n      options.responseProvidedErrors.includes(error.status) &&\n      !messageProvidedForErrors.includes(error.status);\n    if (error.status === 402 && error.required_feature) {\n      this._paywallFeature(error.required_feature);\n    } else if (error.status === 403 && error.required_permission) {\n      this.permissionsService.checkPermission(error.required_permission);\n    } else if (useMessageFromError) {\n      this.notifyError(error.message);\n    } else {\n      let messageForErrorStatus = messages[error.status] || messages.default;\n      this.notifyError(messageForErrorStatus);\n    }\n  },\n\n  clear() {\n    this.notifications.clear();\n  },\n\n  _notify(message, duration, type, key, button) {\n    let notification = this._createDefaultNotification(message, duration, type, key, button);\n    this._addObject(notification);\n  },\n\n  _createDefaultNotification(message, duration, type, key, button) {\n    duration = this._getNotificationDuration(duration);\n    return Notification.create({ message, duration, type, key, button });\n  },\n\n  _getNotificationDuration(duration) {\n    if (\n      ENV.APP.forced_notification_timeout !== null &&\n      ENV.APP.forced_notification_timeout !== undefined\n    ) {\n      return ENV.APP.forced_notification_timeout;\n    }\n    return duration;\n  },\n\n  _removeNotificationWithKey(key) {\n    let matchingNotification = this.notifications.findBy('key', key);\n    if (matchingNotification !== null) {\n      this._removeObject(matchingNotification);\n    }\n  },\n\n  _addObject(notification) {\n    this.notifications.addObject(notification);\n\n    if (notification.get('duration') > 0) {\n      later(\n        this,\n        function() {\n          this._removeObject(notification);\n        },\n        notification.get('duration'),\n      );\n    }\n  },\n\n  _removeObject(notification) {\n    this.notifications.removeObject(notification);\n  },\n\n  _createCustomNotification(\n    model,\n    partial,\n    type,\n    duration = ENV.APP.desktopNotificationTimeout,\n    key = {},\n  ) {\n    return Notification.create({ partial, duration, type, data: model, key });\n  },\n\n  _getErrorForResponse(response) {\n    return extractResponseError(response) || {};\n  },\n\n  _paywallFeature(feature) {\n    return this.paywallService\n      .paywall({ featureName: feature })\n      .catch(this.paywallService.handleError);\n  },\n\n  _reopenConversations(conversations, reopenConversationsTask, openOrUnsnooze) {\n    this.intercomEventService.trackAnalyticsEvent({\n      object: 'conversation',\n      models: conversations,\n      action: `undo-${conversations.get('firstObject.isClosed') ? 'close' : 'snooze'}`,\n    });\n\n    reopenConversationsTask.perform(conversations, openOrUnsnooze);\n\n    this.get('inboxService.inbox').addConversations(conversations, true);\n    this.inboxService.transitionToConversation(conversations.get('firstObject'));\n  },\n\n  actions: {\n    closeNotification(notification) {\n      this._removeObject(notification);\n      if (notification.button) {\n        notification.button.action();\n      }\n    },\n\n    undoConversationsClose(notification) {\n      this._removeObject(notification);\n      let openOrUnsnooze = notification.get('data.actionType') === 'snoozed' ? 'unsnoozed' : 'open';\n      this._reopenConversations(\n        notification.get('data.conversations'),\n        notification.get('data.reopenConversationsTask'),\n        openOrUnsnooze,\n      );\n    },\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Service from '@ember/service';\nimport { computed } from '@ember/object';\nimport EmberOAuth2 from 'ember-oauth2/services/ember-oauth2';\n\nexport default Service.extend({\n  mailchimp: computed(function() {\n    return EmberOAuth2.create().setProvider('mailchimp');\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Service, { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\nimport { or, none, readOnly, not } from '@ember/object/computed';\nimport {\n  startTour,\n  hookIntoTourComplete,\n  hookIntoTourError,\n} from 'embercom/lib/intercom-widget-helper';\nimport ajax from 'embercom/lib/ajax';\nimport Metrics from 'embercom/models/metrics';\nimport { captureException } from 'embercom/lib/sentry';\nimport routeRegexes from '../lib/route-regexes';\n\nconst SESSION_STORAGE_STEP_KEY = 'onboarding-external-step';\n\nexport default Service.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  onboardingHomeService: service(),\n  hostedMessengerConversationService: service(),\n  intercomEventService: service(),\n  store: service(),\n  router: service(),\n\n  _tourHookRemovers: [],\n  externalStep: null,\n  externalStepModeDisabled: none('externalStep'),\n  externalStepModeEnabled: not('externalStepModeDisabled'),\n  externalStepIsCompletedOrPendingCompleted: or(\n    'externalStep.completed',\n    'externalStep.pendingCompleted',\n  ),\n  externalStepAvailable: readOnly('externalStep.available'),\n\n  isCurrentExternalStep(identifier) {\n    if (this.externalStepModeDisabled) {\n      return false;\n    }\n    return this.get('externalStep.identifier') === identifier;\n  },\n\n  isExternalStepRunning(identifier) {\n    return identifier && this.isCurrentExternalStep(identifier);\n  },\n\n  startAfterTransition: action(function(stepIdentifier, startTourMetadata) {\n    this._clearStartAfterTransitionCallback();\n    this.startAfterTransitionCallback = transition => {\n      if (!transition.isAborted) {\n        this.start(stepIdentifier, startTourMetadata);\n      }\n      this.startAfterTransitionCallback = null;\n    };\n\n    this.router.one('routeDidChange', this, this.startAfterTransitionCallback);\n  }),\n\n  start: action(async function(stepIdentifier, startTourMetadata = {}) {\n    let externalStep = await this.loadStep(stepIdentifier);\n\n    if (!externalStep) {\n      return;\n    }\n\n    this._storeStepIdentifierInSession(stepIdentifier);\n    this._trackAnalyticsEvent({\n      object: `${externalStep.identifier}_external_step`,\n      action: 'started',\n      section: 'external_step',\n    });\n\n    let started = this._possiblyStartTour(externalStep, startTourMetadata);\n\n    if (started) {\n      this.router.on('routeDidChange', this, '_considerDisablingExternalStep');\n    }\n  }),\n\n  async generateExampleDataForStep(stepIdentifier, params = {}) {\n    if (await this._needsHostedMessengerConversation(stepIdentifier)) {\n      await this.hostedMessengerConversationService.fetchConversationIdIfNecessary.perform();\n      params.conversation_id = this.hostedMessengerConversationService.latestConversationId;\n    }\n\n    return ajax({\n      url: `/ember/onboarding/home/steps/${stepIdentifier}/generate_external_step_data`,\n      type: 'POST',\n      data: JSON.stringify({\n        app_id: this.app.id,\n        ...params,\n      }),\n    });\n  },\n\n  async continueSession() {\n    let stepIdentifier = this._getStepIdentifierFromSession();\n\n    if (!stepIdentifier) {\n      return;\n    }\n\n    let externalStep = await this.loadStep(stepIdentifier);\n\n    if (!externalStep) {\n      return;\n    }\n\n    this._trackAnalyticsEvent({\n      object: `${externalStep.identifier}_external_step`,\n      action: 'continued',\n      section: 'external_step',\n    });\n    this.router.on('routeDidChange', this, '_considerDisablingExternalStep');\n  },\n\n  async _needsHostedMessengerConversation(stepIdentifier) {\n    let externalStep = await this.loadStep(stepIdentifier);\n    if (!externalStep) {\n      return false;\n    }\n    return externalStep.requiresHostedMessengerConversation;\n  },\n\n  loadStep: action(async function(stepIdentifier) {\n    await this.onboardingHomeService.findOrLoadGuide(false);\n    let externalStep = this.store.peekRecord('onboarding/home/step', stepIdentifier);\n\n    if (!externalStep) {\n      console.error('Could not load step:', stepIdentifier);\n      try {\n        captureException(new Error(`Coud not load step ${stepIdentifier}`), {\n          fingerprint: ['onboarding-home-external-step-service', 'loadStep', stepIdentifier],\n          responsible_team: 'team-activation',\n          extra: {\n            guide_exists: !!this.onboardingHomeService.guide,\n          },\n        });\n      } catch (e) {\n        // noop\n      }\n    }\n\n    return this.set('externalStep', externalStep);\n  }),\n\n  _possiblyStartTour(externalStep, startTourMetadata) {\n    let tourId =\n      this.app.hasOsa2OnboardingHome && externalStep.stepData.osa2ProductTourId\n        ? externalStep.stepData.osa2ProductTourId\n        : externalStep.stepData.productTourId;\n    if (!tourId) {\n      return false;\n    }\n\n    let removeErrorHook = hookIntoTourError(tourId, () => {\n      this._recordTourError(tourId, startTourMetadata);\n      removeErrorHook();\n      this._tourHookRemovers.pushObject(removeErrorHook);\n    });\n\n    startTour(tourId);\n\n    if (externalStep.stepData.productTourCompletesStep) {\n      let removeHook = hookIntoTourComplete(tourId, () => {\n        this.completeExternalStep();\n        removeHook();\n      });\n      this._tourHookRemovers.pushObject(removeHook);\n    }\n    Metrics.capture({\n      increment: ['onboarding_home_tour.start'],\n      tags: {\n        tour_id: tourId,\n      },\n    });\n    return true;\n  },\n\n  _storeStepIdentifierInSession(stepIdentifier) {\n    if (!window.sessionStorage) {\n      return;\n    }\n    if (!stepIdentifier) {\n      return window.sessionStorage.removeItem(SESSION_STORAGE_STEP_KEY);\n    }\n    window.sessionStorage.setItem(SESSION_STORAGE_STEP_KEY, stepIdentifier);\n  },\n\n  _getStepIdentifierFromSession() {\n    if (window.sessionStorage) {\n      return window.sessionStorage.getItem(SESSION_STORAGE_STEP_KEY);\n    }\n  },\n\n  _considerDisablingExternalStep(transition) {\n    let routesToKeepExternalStepRunning = this.get('externalStep.stepData.tourInProgressRoutes');\n    if (\n      (this.externalStepIsCompletedOrPendingCompleted &&\n        routeRegexes.onboardingHome.test(transition.to.name)) ||\n      (routesToKeepExternalStepRunning && !routesToKeepExternalStepRunning.test(transition.to.name))\n    ) {\n      this.disable();\n    }\n  },\n\n  _clearStartAfterTransitionCallback() {\n    if (this.startAfterTransitionCallback) {\n      this.router.off('routeDidChange', this, this.startAfterTransitionCallback);\n      this.startAfterTransitionCallback = null;\n    }\n  },\n\n  _recordTourError(tourId, startTourMetadata = {}) {\n    Metrics.capture({\n      increment: ['onboarding_home_tour.error'],\n      tags: {\n        tour_id: tourId,\n      },\n    });\n\n    captureException(new Error(`Onboarding Home tour ${tourId} failed to start or progress`), {\n      fingerprint: ['onboarding', 'home', 'tour', 'error', tourId, startTourMetadata.source],\n      extra: {\n        tourId,\n        startTourMetadata,\n        latestConversationId: this.hostedMessengerConversationService.latestConversationId,\n      },\n      tags: { responsibleTeam: 'team-activation' },\n    });\n  },\n\n  _removeTourHooks() {\n    this._tourHookRemovers.forEach(remover => remover());\n  },\n\n  async completeExternalStep() {\n    if (!this.externalStepAvailable) {\n      return;\n    }\n    let state = this._determineCompletedStateForStep(this.externalStep);\n    this.externalStep.set('state', state);\n    await this.externalStep.saveAndRefreshGuide();\n    this._trackAnalyticsEvent({\n      object: `${this.externalStep.identifier}_external_step`,\n      action: 'completed',\n      section: 'external_step',\n    });\n  },\n\n  _determineCompletedStateForStep(step) {\n    let state = 'pending_completed';\n    if (\n      step.get('level.availableSteps.length') === 1 &&\n      step.get('level.availableSteps.firstObject') === step\n    ) {\n      state = 'completed';\n    }\n    return state;\n  },\n\n  disable() {\n    this.set('externalStep', null);\n    this._storeStepIdentifierInSession(null);\n    this.set('recentlyVisitedExternalStep', true);\n    this.router.off('routeDidChange', this, '_considerDisablingExternalStep');\n    this._removeTourHooks();\n  },\n\n  _trackAnalyticsEvent(metadata) {\n    this.intercomEventService.trackAnalyticsEvent({\n      ...this.externalStep.analyticsMetadata,\n      ...metadata,\n    });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Service, { inject as service } from '@ember/service';\nimport ajax, { get } from 'embercom/lib/ajax';\nimport { notEmpty, readOnly } from '@ember/object/computed';\nimport { action, computed } from '@ember/object';\nimport { A } from '@ember/array';\nimport { task, waitForProperty } from 'ember-concurrency';\nimport { fetchAdminPageviews, markViewAsSeen } from 'embercom/lib/admin-view-tracking';\nimport { captureException } from 'embercom/lib/sentry';\n\nconst ADMIN_PAGEVIEW_KEY_PREFIX = 'onboarding_home_level';\n\nexport default Service.extend({\n  store: service(),\n  router: service(),\n  appService: service(),\n  app: readOnly('appService.app'),\n  responsibleTeam: 'team-activation',\n  guide: null,\n  levelAdminPageViews: A(),\n  incompleteAndUnseenLevels: computed(\n    'levelAdminPageViews.[]',\n    'guide.incompleteLevels.[]',\n    function() {\n      if (!this.guide) {\n        return A();\n      }\n      return this.get('guide.incompleteLevels').reject(level =>\n        this._levelPageViewPresentFor(level.identifier),\n      );\n    },\n  ),\n\n  hasIncompleteAndUnseenLevels: notEmpty('incompleteAndUnseenLevels'),\n\n  init() {\n    this._super(...arguments);\n    this.setLevelAdminPageViews.perform();\n  },\n\n  setLevelAdminPageViews: task(function*() {\n    let allPageViews = yield fetchAdminPageviews(this.store);\n    let levelPageViews = allPageViews.filter(pageView =>\n      pageView.pageKey.startsWith(ADMIN_PAGEVIEW_KEY_PREFIX),\n    );\n    this.set('levelAdminPageViews', levelPageViews);\n  }),\n\n  createPageViewForLevel: task(function*(levelIdentifier) {\n    yield waitForProperty(this, 'setLevelAdminPageViews.isIdle');\n    if (!this._levelPageViewPresentFor(levelIdentifier)) {\n      let adminPageView = yield markViewAsSeen(\n        this.store,\n        this._pageViewKeyForLevel(levelIdentifier),\n      );\n      this.levelAdminPageViews.pushObject(adminPageView);\n    }\n  }),\n\n  async loadGuide(loadSteps = true) {\n    if (!this.app?.id) {\n      return;\n    }\n\n    let guide = await this.store.queryRecord('onboarding/home/guide', {});\n    if (loadSteps) {\n      try {\n        await guide.loadSteps();\n      } catch (e) {\n        console.log('Error loading steps');\n        captureException(e, { tags: { responsibleTeam: this.responsibleTeam } });\n      }\n    }\n    this.set('guide', guide);\n  },\n\n  async findOrLoadGuide(loadSteps = true) {\n    if (this.guide) {\n      return;\n    }\n\n    return await this.loadGuide(loadSteps);\n  },\n\n  async resetGuide(options = {}) {\n    await ajax({\n      url: '/ember/onboarding/home/guide/reset',\n      type: 'POST',\n      data: JSON.stringify({\n        app_id: this.get('app.id'),\n        levels: options.levels,\n        steps: options.steps,\n      }),\n    });\n    await this.loadGuide();\n  },\n\n  async getAvailableGuides() {\n    return await get('/ember/onboarding/home/guide/available_guides', {\n      app_id: this.get('app.id'),\n    });\n  },\n\n  async changeGuide({ identifier }) {\n    return await ajax({\n      url: '/ember/onboarding/home/guide/change_guide',\n      type: 'POST',\n      data: JSON.stringify({\n        app_id: this.get('app.id'),\n        identifier,\n      }),\n    });\n  },\n\n  getStep: action(function(identifier) {\n    let steps = this.store.peekAll('onboarding/home/step');\n    return steps.findBy('identifier', identifier);\n  }),\n\n  openMessengerInstallationStep() {\n    let step = this.get('guide.installMessengerStep');\n\n    if (step) {\n      return this.router.transitionTo('apps.app.home', this.app, {\n        queryParams: { step: step.identifier },\n      });\n    }\n    this.router.transitionTo('apps.app.settings.web');\n  },\n\n  _levelPageViewPresentFor(levelIdentifier) {\n    return this.levelAdminPageViews.any(pageview => {\n      return pageview.pageKey === this._pageViewKeyForLevel(levelIdentifier);\n    });\n  },\n\n  _pageViewKeyForLevel(levelIdentifier) {\n    return [ADMIN_PAGEVIEW_KEY_PREFIX, levelIdentifier].join('_');\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Service from '@ember/service';\nimport OpenCenteredWindow from 'embercom/lib/open-centered-window';\n\nexport default Service.extend({\n  setup(url, height, width, name) {\n    return OpenCenteredWindow(url, height, width, name);\n  },\n});\n","import Service, { inject as service } from '@ember/service';\n\nexport default class OperatorMessengerAppService extends Service {\n  @service store;\n  @service appService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  validateMessengerAppIds(messengerAppIds) {\n    let errors = messengerAppIds.reduce((errors, appId) => {\n      let messengerApp = this.store.peekRecord('messenger-app', appId);\n      if (!messengerApp) {\n        errors.push(`An uninstalled app is present`);\n      } else if (!messengerApp.availableInOperator) {\n        errors.push(`The App ${messengerApp.get('name')} cannot be used in a bot`);\n      } else if (messengerApp.paywalledInOperator && !this.app.canUseAppsInOperator) {\n        errors.push(`Upgrade to use App ${messengerApp.get('name')} in a bot`);\n      }\n      return errors;\n    }, []);\n\n    return errors.length > 0 ? errors.join(', ') : true;\n  }\n}\n","import { tracked } from '@glimmer/tracking';\nimport Service from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\nimport { inject as service } from '@ember/service';\nimport { isPresent, isBlank } from '@ember/utils';\nimport {\n  behaviorMap,\n  matchBehaviors,\n  objectTypes,\n  roleTypes,\n  states,\n  objectsWithPriority,\n} from 'embercom/models/data/matching-system/matching-constants';\n\nexport default class OutboundHomeService extends Service {\n  @service store;\n  @service appService;\n\n  // Available filters\n  @tracked selectedAudienceValues = [];\n  @tracked selectedStateValue = null;\n  @tracked selectedSenderValue = null;\n  @tracked selectedTagValues = null;\n  @tracked selectedMatchBehaviorValues = behaviorMap.ongoing;\n\n  isFirstRequest = true;\n  @tracked activeList = null;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get allObjectTypes() {\n    let types = [\n      objectTypes.legacyMessageInApp,\n      objectTypes.legacyMessageEmail,\n      objectTypes.legacyMessagePush,\n      objectTypes.push,\n      objectTypes.tour,\n      objectTypes.post,\n      objectTypes.chat,\n      objectTypes.carousel,\n      objectTypes.email,\n      objectTypes.customBot,\n    ];\n\n    if (this.app.canUseBanners) {\n      types.push(objectTypes.banner);\n    }\n\n    return types;\n  }\n\n  get selectedTabIsOngoing() {\n    return (\n      this.selectedMatchBehaviorValues?.length === 2 &&\n      this.selectedMatchBehaviorValues.includes(matchBehaviors.single) &&\n      this.selectedMatchBehaviorValues.includes(matchBehaviors.multi)\n    );\n  }\n\n  get selectedTabIsOneOff() {\n    return (\n      this.selectedMatchBehaviorValues?.length === 1 &&\n      this.selectedMatchBehaviorValues[0] === matchBehaviors.static\n    );\n  }\n\n  get selectedStateIsLiveOrSent() {\n    return this.selectedStateValue === states.live;\n  }\n\n  get selectedStateIsPaused() {\n    return this.selectedStateValue === states.paused;\n  }\n\n  get selectedAudienceContainsVisitors() {\n    return this.selectedAudienceValues.includes(roleTypes.visitorRole);\n  }\n\n  get isPrioritizable() {\n    return objectsWithPriority.includes(this.activeList);\n  }\n\n  setSearchParams(params) {\n    Object.keys(params).forEach(key => {\n      this.set(key, params[key]);\n    });\n  }\n\n  setActiveList(currentList) {\n    this.activeList = currentList;\n    if (this.activeList === objectTypes.tour) {\n      // We don't support one-off tours so we don't have one-off / ongoing tabs for tours.\n      this.selectedMatchBehaviorValues = [matchBehaviors.single];\n    }\n    if (this.activeList === objectTypes.banner) {\n      // Banners don't currently fit in the ongoing  and one off world, as their matching behavior is multi\n      this.selectedMatchBehaviorValues = [matchBehaviors.multi];\n    }\n    if (\n      this.activeList === objectTypes.inboundCustomBot ||\n      this.activeList === objectTypes.buttonCustomBot\n    ) {\n      // Inbound/button Custom Bots don't currently fit in the ongoing and one off world, as their matching behavior is transient\n      this.selectedMatchBehaviorValues = [matchBehaviors.transient];\n    }\n    if (\n      // If someone switches list from banners or tours they'd be looking at messages in a state that is now illegal\n      // So we should set users that are on only matchBehaviors.multi/transient/ to default ongoing => [matchBehaviors.single, matchBehaviors.multi]\n      (this.selectedMatchBehaviorValues.includes(matchBehaviors.multi) &&\n        this.activeList !== objectTypes.banner) ||\n      (this.selectedMatchBehaviorValues.includes(matchBehaviors.transient) &&\n        this.activeList !== objectTypes.inboundCustomBot &&\n        this.activeList !== objectTypes.buttonCustomBot) ||\n      (this.selectedMatchBehaviorValues.includes(matchBehaviors.single) &&\n        this.activeList !== objectTypes.tour)\n    ) {\n      this.selectedMatchBehaviorValues = [matchBehaviors.single, matchBehaviors.multi];\n    }\n  }\n\n  resetFilters() {\n    this.selectedSenderValue = null;\n    this.selectedAudienceValues = [];\n    this.selectedStateValue = null;\n    this.selectedTagValues = null;\n  }\n\n  handleIllegalFilter(propertyChanged) {\n    if (propertyChanged !== 'selectedMatchBehaviorValues') {\n      return;\n    }\n\n    if (this.selectedStateIsLiveOrSent) {\n      this.selectedStateValue = null;\n    }\n    if (this.selectedTabIsOneOff && this.selectedStateIsPaused) {\n      this.selectedStateValue = null;\n    }\n    if (this.selectedTabIsOneOff && this.selectedAudienceContainsVisitors) {\n      this.selectedAudienceValues = [];\n    }\n  }\n\n  safelySet(property, value) {\n    this.set(property, value);\n    this.handleIllegalFilter(property);\n  }\n\n  contentSearchWithFilters(searchParams) {\n    searchParams = this._addFilterParams(searchParams);\n    return this._doSearch(searchParams);\n  }\n\n  contentSearch(searchParams) {\n    return this._doSearch(searchParams);\n  }\n\n  async _doSearch(searchParams) {\n    let response = await this._search(searchParams);\n\n    return {\n      contentWrappers: this._contentWrapperModels(response.content_wrappers),\n      pageFrom: response.page_from,\n      perPage: response.per_page,\n      totalCount: response.total_count,\n      totalPages: response.total_pages,\n      lastPageHit: response.last_page_hit,\n    };\n  }\n\n  async fetchSeriesList(params) {\n    let response = await this._fetchSeriesList({\n      ...params,\n      app_id: this.appService.app.id,\n    });\n\n    return {\n      contentWrappers: this._contentWrapperModels(response.content_wrappers),\n      pageFrom: response.page_from,\n      perPage: response.per_page,\n      totalCount: response.total_count,\n      totalPages: response.total_pages,\n      lastPageHit: response.last_page_hit,\n    };\n  }\n\n  _addFilterParams(searchParams) {\n    if (this.selectedSenderValue) {\n      this._setIfPresent(searchParams, 'sender_type', this.selectedSenderValue.split('_')[0]);\n      this._setIfPresent(searchParams, 'sender_id', this.selectedSenderValue.split('_')[1]);\n    }\n    this._setIfPresent(searchParams, 'audience_types', this.selectedAudienceValues || []);\n    this._setIfPresent(searchParams, 'states', this._stateParamsForSearch());\n    this._setIfPresent(searchParams, 'tag_ids', this.selectedTagValues || []);\n    this._setIfPresent(searchParams, 'match_behaviors', this.selectedMatchBehaviorValues || []);\n    return searchParams;\n  }\n\n  _stateParamsForSearch() {\n    if (isBlank(this.selectedStateValue)) {\n      return [];\n    } else if (this.selectedTabIsOneOff && this.selectedStateIsLiveOrSent) {\n      return [states.live, states.paused];\n    } else {\n      return [this.selectedStateValue];\n    }\n  }\n\n  _setIfPresent(searchParams, key, value, defaultValue = null) {\n    if (isPresent(value)) {\n      searchParams[key] = value;\n    } else {\n      delete searchParams[key];\n    }\n  }\n\n  _contentWrapperModels(objects) {\n    return objects.map(contentWrapper => {\n      let normalizedObject = this.store.normalize('outbound/content-wrapper', contentWrapper);\n      return this.store.push(normalizedObject);\n    });\n  }\n\n  _search(params) {\n    return ajax({\n      url: 'ember/content_service/contents/search',\n      type: 'GET',\n      data: params,\n    });\n  }\n\n  _fetchSeriesList(params) {\n    return ajax({\n      url: 'ember/series/series',\n      type: 'GET',\n      data: params,\n    });\n  }\n}\n","define(\"embercom/services/panel-actions\", [\"exports\", \"ember-collapsible-panel/services/panel-actions\"], function (_exports, _panelActions) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _panelActions.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport { getOwner } from '@ember/application';\nimport { Promise as EmberPromise, resolve, reject } from 'rsvp';\nimport Service, { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\nimport { isFreeFeatureLimited } from 'embercom/lib/feature-limits';\nimport ENV from 'embercom/config/environment';\nimport { captureException } from 'embercom/lib/sentry';\nimport { computed } from '@ember/object';\nimport { CORE_EARLY_STAGE_SOLUTION_ID } from 'embercom/lib/billing';\n\nexport const PAYWALL_CLOSED_MESSAGE = 'store closed';\n\nlet defaultParams = {\n  featureName: '',\n  productIds: undefined,\n  appId: undefined,\n  action: undefined,\n  comment: undefined,\n  transition: undefined,\n  checkInStep: undefined,\n  hideSuccessPage: undefined,\n};\n\nexport default Service.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n  notificationsService: service(),\n  permissionsService: service('permissions-service'),\n  loadingIndicatorService: service(),\n  modelDataCacheService: service('model-data-cache-service'),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  store: service(),\n  router: service(),\n  purchaseAnalyticsService: service(),\n  earlyStageApplicationRoute: 'apps.app.teams-checkout.confirm',\n  earlyStageApplicationRouteParameters: computed('app.signedUpWithSolutionId', function() {\n    let solutionId =\n      `${this.app.signedUpWithSolutionId}` === CORE_EARLY_STAGE_SOLUTION_ID ? 15 : 10;\n    return {\n      queryParams: {\n        solution_id: solutionId,\n      },\n    };\n  }),\n\n  init() {\n    this._super(...arguments);\n    this.handleError = this.handleError.bind(this);\n  },\n\n  /**\n   * Open the paywall to a particular state.\n   * @returns {Promise}\n   */\n  open({ productIds, solutionId, planId, place } = defaultParams) {\n    return this._run({\n      productIds,\n      solutionId,\n      planId,\n      place,\n    });\n  },\n\n  /**\n   * Open the paywall if the customer does not have the provided featureName through their subscription.\n   * Returns immediately if the customer already has the provided featureName.\n   * Returns immediately if the customer already has the provided planId.\n   * The promise is resolved if the customer buys something in the store.\n   * The promise is rejected if the customer closes the store without buying anything.\n   * @returns {Promise}\n   */\n  paywall({ planId, featureName, comment, transition } = defaultParams) {\n    if (this._shouldSkipPaywall(featureName, planId, this.app)) {\n      return resolve();\n    }\n\n    return this.permissionsService.checkPermission('can_access_billing_settings').then(\n      () => {\n        return this._run({\n          planId,\n          featureName,\n          comment,\n          transition,\n        });\n      },\n      () => {\n        return reject('You do not have permission to access billing and payment details');\n      },\n    );\n  },\n\n  redirectToPurchase(featureName) {\n    if (this._shouldRedirectForEarlyStage()) {\n      this._redirectForEarlyStage();\n      return;\n    }\n\n    if (this.app.hasValueBasedPricing) {\n      this.router.transitionTo('apps.app.billing');\n      return;\n    }\n\n    let currentPath = this.router.currentURL;\n    let query = `after_signup_redirect_path=${encodeURIComponent(currentPath)}`;\n    if (featureName) {\n      query += this._addOnQueryParams(featureName);\n    }\n    if (this.app.canUseFree) {\n      query += '&free=true&from_product=true';\n    }\n\n    let redirectUrl = `${ENV.APP.marketingSiteUrl}/pricing?${query}`;\n    if (currentPath.includes('home')) {\n      window.location.href = redirectUrl;\n    } else {\n      window.location.replace(redirectUrl);\n    }\n  },\n\n  _addOnQueryParams(featureName) {\n    let featureMap = {\n      answer_workflows: '&current_tab=support_tab&add_on=answer_bot',\n      bot_workflows: '&current_tab=acquire_tab&add_on=custom_bots',\n      product_tours: '&current_tab=engage_tab&add_on=tours',\n    };\n    return featureMap[featureName];\n  },\n\n  /**\n   * @returns {Void}\n   * @public\n   */\n  handleError(e) {\n    if (e && e.message === PAYWALL_CLOSED_MESSAGE) {\n      return;\n    }\n\n    if (e === undefined) {\n      return;\n    }\n\n    try {\n      captureException(e || new Error('Unknown Paywall Store error'));\n    } catch (err) {\n      // Do nothing\n    }\n  },\n\n  _planIdsFromProducts(productIds) {\n    let products = this.app.products;\n    return productIds.map(productId => {\n      let product = products.findBy('id', productId);\n      return product.get('plans.firstObject.id');\n    });\n  },\n\n  _planIdsWithFeature(featureName) {\n    let products = this.app.products;\n    if (!this.app.hasActiveSubscription) {\n      products = products.filter(function(product) {\n        return !product.get('addon');\n      });\n    }\n\n    return products\n      .map(product => {\n        let planWithFeature = product.plans.find(plan => {\n          let featureKeys = plan.features.mapBy('key');\n          return featureKeys.includes(featureName);\n        });\n\n        if (!planWithFeature) {\n          return;\n        }\n        return planWithFeature.id;\n      })\n      .compact();\n  },\n\n  _isFeatureAnAddon(featureName) {\n    let products = this.app.products;\n    let isAddon = false;\n    products.forEach(product => {\n      product.plans.find(plan => {\n        let featureKeys = plan.features.mapBy('key');\n        if (featureKeys.includes(featureName) && product.addon) {\n          isAddon = true;\n        }\n      });\n    });\n\n    return isAddon;\n  },\n\n  /**\n   * @returns {Promise}\n   * @private\n   */\n  _run({ featureName, productIds = [], planId, solutionId, place = 'paywall' } = defaultParams) {\n    let planIds = [];\n    if (featureName) {\n      planIds = this._planIdsWithFeature(featureName);\n    } else if (productIds.length) {\n      planIds = this._planIdsFromProducts(productIds);\n    } else if (planId) {\n      planIds = [planId];\n    }\n\n    this.purchaseAnalyticsService.trackEvent({\n      action: 'clicked',\n      object: 'paywall',\n      context: 'paywall',\n      place,\n      feature: featureName,\n      planIds,\n      productIds,\n      solutionId,\n    });\n\n    if (this._shouldRedirectForEarlyStage()) {\n      this.redirectToPurchase();\n      return resolve();\n    }\n\n    if (this.app.hasActiveSubscription || planIds.length === 1) {\n      return new EmberPromise((resolve, reject) => {\n        this.modalService.openModal(\n          'apps/app/modals/change-plan-modal',\n          { planIds, featureName },\n          {},\n          {},\n          { onClose: reject },\n        );\n      });\n    }\n\n    if (this.app.canUsePurchaseV3 && !this.app.hasActiveSubscription && planIds.length !== 1) {\n      this.redirectToPurchase(featureName);\n      return resolve();\n    }\n\n    this.router.transitionTo('apps.app.billing.details', {\n      queryParams: { featureName, planIds, solutionId },\n    });\n    return resolve();\n  },\n\n  /**\n   * @returns {Bool}\n   * @private\n   */\n  _shouldSkipPaywall(featureName, planId, app) {\n    let hasFeatureName = Boolean(featureName);\n    if (!hasFeatureName && !planId) {\n      return true;\n    }\n\n    if (featureName && app.canUseFeature(featureName)) {\n      return !isFreeFeatureLimited(app, featureName);\n    } else if (planId) {\n      let activeProductForPlan = app.activeProductByPlanId(planId);\n      return activeProductForPlan && activeProductForPlan.get('activePlan.id') === planId;\n    }\n    return false;\n  },\n\n  /**\n   * @returns {String}\n   * @private\n   */\n  _location() {\n    return getOwner(this)\n      .lookup('controller:application')\n      .get('currentPath')\n      .replace('apps.app.', '')\n      .replace('.index', '')\n      .replace(/\\./g, '/');\n  },\n\n  /**\n   * @returns {Promise}\n   * @private\n   */\n  _createAndSaveAttemptedPaidAction({ app, comment, attemptedAction }) {\n    return this.store\n      .createRecord('attempted-paid-action', {\n        appId: app.id,\n        location: this._location(),\n        comment,\n        attemptedAction,\n      })\n      .save();\n  },\n  _shouldRedirectForEarlyStage() {\n    return this.app.validEarlyStageApplicant && !this.app.hasActiveSubscription;\n  },\n  _redirectForEarlyStage() {\n    return this.router.transitionTo(\n      this.earlyStageApplicationRoute,\n      this.earlyStageApplicationRouteParameters,\n    );\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { computed } from '@ember/object';\nimport {\n  addProperties,\n  greaterThanProperty,\n  lessThanProperty,\n  templateString,\n  ternaryToProperty,\n} from '@intercom/embercom-core/lib/computed-properties';\nimport Service, { inject as service } from '@ember/service';\nimport { task, all } from 'ember-concurrency';\nimport intercomConfirm from 'embercom/lib/intercom-confirm';\nimport { alias, bool, readOnly, gt, not, filterBy } from '@ember/object/computed';\nimport currencyFormatter from 'embercom/lib/currency-formatter';\nimport moment from 'moment';\nimport pluralise from 'embercom/lib/inflector';\nimport { Promise as EmberPromise } from 'rsvp';\n\nconst FREE_PLAN_SEAT_COUNT = 1;\nconst MAXIMUM_NUMBER_OF_INFLIGHT_UPDATE_PERMISSIONS_REQUESTS = 10;\n\nexport default Service.extend({\n  intercomEventService: service(),\n  appService: service(),\n  modelDataCacheService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  notificationsService: service(),\n  customerService: service(),\n\n  invitedAdmins: null,\n  app: readOnly('appService.app'),\n  teammates: alias('app.admins'),\n  adminsWithInboxAccess: filterBy('teammates', 'hasInboxAccess', true),\n  adminsWithoutInboxAccess: filterBy('teammates', 'hasInboxAccess', false),\n  adminsWithInboxAccessCount: readOnly('adminsWithInboxAccess.length'),\n  adminsWithoutInboxAccessCount: readOnly('adminsWithoutInboxAccess.length'),\n  activeInvitedAdmins: filterBy('invitedAdmins', 'active', true),\n  invitesWithInboxAccess: filterBy('activeInvitedAdmins', 'hasInboxAccess', true),\n  invitesWithInboxAccessCount: readOnly('invitesWithInboxAccess.length'),\n  hasInvitesWithInboxAccess: gt('invitesWithInboxAccessCount', 0),\n  adminsAndInvitesWithInboxAccessCount: addProperties(\n    'adminsWithInboxAccessCount',\n    'invitesWithInboxAccessCount',\n  ),\n\n  onFreePlan: computed(\n    'customerService.customer.hasActiveSubscription',\n    'app.canUseFree',\n    function() {\n      return (\n        !this.get('customerService.customer.hasActiveSubscription') && this.get('app.canUseFree')\n      );\n    },\n  ),\n  currentEarlyStageCustomer: bool('customerService.customer.currentEarlyStageCustomer'),\n  hasNoSubscriptionForInbox: not('app.inboxProduct.active'),\n  freeSeatCount: readOnly('app.customer.freeSeatCount'),\n  formattedPricePerSeat: computed('customerService.pricePerInboxSeat', function() {\n    return currencyFormatter(this.get('customerService.pricePerInboxSeat'));\n  }),\n  pricingTransitionDate: computed(\n    'customerService.migrationState.date_migration_complete',\n    function() {\n      return moment(this.get('customerService.migrationState.date_migration_complete')).format(\n        'MMM D',\n      );\n    },\n  ),\n  aboveFreeSeatThreshold: greaterThanProperty(\n    'adminsAndInvitesWithInboxAccessCount',\n    'freeSeatCount',\n  ),\n  allFreeSeatsNotActivelyOccupied: lessThanProperty('adminsWithInboxAccessCount', 'freeSeatCount'),\n  allFreeSeatsOccupiedByActiveAdmins: not('allFreeSeatsNotActivelyOccupied'),\n  priceWillDecreaseMessage: templateString(\n    'Your subscription will decrease by ${formattedPricePerSeat}/month',\n  ),\n  pricingTransitionPriceWillDecreaseMessage: templateString(\n    'Your subscription starting ${pricingTransitionDate} will decrease by ${formattedPricePerSeat}/month',\n  ),\n  priceHasDecreasedMessage: templateString(\n    'Your subscription has decreased by ${formattedPricePerSeat}/month',\n  ),\n  priceWillNotChangeMessage: 'The cost of your subscription will not change',\n  pricingTransitionPriceWillNotChangeMessage: templateString(\n    'Your subscription starting ${pricingTransitionDate} will not change',\n  ),\n  priceDidNotChangeMessage: 'The cost of your subscription did not change',\n  removeSeatPriceInfo: ternaryToProperty(\n    'aboveFreeSeatThreshold',\n    'priceWillDecreaseMessage',\n    'priceWillNotChangeMessage',\n  ),\n  removedSeatPriceInfo: 'Saved. You removed an Inbox seat',\n  pricingTransitionRemoveSeatPriceInfo: ternaryToProperty(\n    'aboveFreeSeatThreshold',\n    'pricingTransitionPriceWillDecreaseMessage',\n    'pricingTransitionPriceWillNotChangeMessage',\n  ),\n  hasSeatsLeft: gt('seatsLeft', 0),\n  seatsLeft: computed(\n    'freeSeatCount',\n    'adminsAndInvitesWithInboxAccessCount',\n    'onFreePlan',\n    function() {\n      let adminsAndInvitesWithInboxAccessCount = this.adminsAndInvitesWithInboxAccessCount;\n      if (this.onFreePlan) {\n        return Math.max(FREE_PLAN_SEAT_COUNT - adminsAndInvitesWithInboxAccessCount, 0);\n      }\n      return Math.max(this.freeSeatCount - adminsAndInvitesWithInboxAccessCount, 0);\n    },\n  ),\n  async giveInboxSeat(admin) {\n    await this.showChangedSeatsModalForAdmin(admin);\n    await this.savePermission(\n      admin,\n      admin.get('currentAppPermissions'),\n      true,\n      `Saved. You gave ${admin.get('name')} an Inbox seat.`,\n    );\n  },\n\n  async removeInboxSeat(admin, teammates) {\n    return this._openReassignModal(admin, teammates);\n  },\n\n  savePermission(admin, permission, hasInboxAccess, confirmationNotificationMessage) {\n    return this._savePermissionTask.perform(\n      admin,\n      permission,\n      hasInboxAccess,\n      confirmationNotificationMessage,\n    );\n  },\n\n  _saveChangesToPermission: task(function*(teammate, permissionChanges) {\n    let permissions = teammate.currentAppPermissions;\n    permissions.setProperties(permissionChanges);\n    try {\n      yield permissions.save();\n    } catch (err) {\n      console.error(err);\n      permissions.rollbackAttributes();\n      throw err;\n    }\n  })\n    .maxConcurrency(MAXIMUM_NUMBER_OF_INFLIGHT_UPDATE_PERMISSIONS_REQUESTS)\n    .enqueue(),\n\n  _bulkEditPermissions: task(function*(teammates, permissionChanges) {\n    // we can't reload individual models since the \"show\" action doesn't exist\n    yield this.app.fetchAndUpdateAllAdminPermissions();\n    let tasks = teammates.map(teammate =>\n      this._saveChangesToPermission.perform(teammate, permissionChanges),\n    );\n    yield all(tasks);\n  }),\n\n  bulkEditPermissions(teammates, permissionChanges) {\n    this.intercomEventService.trackAnalyticsEvent({\n      action: 'saved',\n      object: 'permissions',\n      teammateIds: teammates.map(t => t.id),\n      teammateCount: teammates.length,\n      permissionChanges,\n    });\n    return this._bulkEditPermissions.perform(teammates, permissionChanges);\n  },\n\n  getInTransitionAddTeammateModalBody(adminName) {\n    let transitionDate = this.pricingTransitionDate;\n    let seatPrice = this.formattedPricePerSeat;\n\n    return this.hasSeatsLeft\n      ? `Giving ${adminName} Inbox access will fill your available Inbox seat. Your subscription starting ${transitionDate} won’t change.`\n      : `You’re about to give ${adminName} Inbox access. Your subscription starting ${transitionDate} will increase by ${seatPrice}/month.`;\n  },\n\n  getAddTeammateModalBody(adminName) {\n    let seatPrice = this.formattedPricePerSeat;\n    if (this.hasSeatsLeft) {\n      return `Giving ${adminName} Inbox access will fill your available Inbox seat. The cost of your monthly subscription won’t change.`;\n    }\n    if (this.get('app.isDeveloperWorkspace')) {\n      return `Since this is a developer workspace you will not be charged for additional inbox seats.`;\n    }\n    let priceChangeWarning = `Giving ${adminName} Inbox access will add a new seat to your subscription for ${seatPrice}/month.`;\n    return this._maybeAddPendingInviteNoticeToText(priceChangeWarning);\n  },\n\n  showChangedSeatsModalForAdmin(admin) {\n    if (\n      this.currentEarlyStageCustomer ||\n      (this.customerService.customer.isAnnuallyContracted &&\n        this.app.canUseFeature('team-people-show-seat-cost-change-card'))\n    ) {\n      return;\n    }\n    let adminName = admin.get('name');\n    let options = {\n      title: this.hasSeatsLeft > 0 ? 'Fill an Inbox seat?' : 'Add a new Inbox seat?',\n      body: this.get('customerService.appIsInPricingTransition')\n        ? this.getInTransitionAddTeammateModalBody(adminName)\n        : this.getAddTeammateModalBody(adminName),\n      confirmButtonText: this.hasSeatsLeft > 0 ? 'Fill seat' : 'Add seat',\n      center: true,\n    };\n    return this._showIntercomConfirmModal(options);\n  },\n\n  showChangedSeatsModalForInvitee(invitee, permission) {\n    let options = {\n      title: this.hasSeatsLeft > 0 ? 'Fill an Inbox seat?' : 'Add a new Inbox seat?',\n      body: this._inviteeConfirmBodyText(invitee),\n      confirmButtonText: this._inviteeConfirmButtonText(permission),\n      center: true,\n    };\n    return this._showIntercomConfirmModal(options);\n  },\n\n  _maybeAddPendingInviteNoticeToText(modalText) {\n    if (this.allFreeSeatsOccupiedByActiveAdmins) {\n      return modalText;\n    }\n\n    if (this.hasInvitesWithInboxAccess) {\n      let numberOfAdminsWithSeats = this.adminsWithInboxAccessCount;\n      let numberOfInviteesWithSeats = this.invitesWithInboxAccessCount;\n\n      let pluralisedTeammate = pluralise('teammate', numberOfAdminsWithSeats);\n      let pluralisedSeat = numberOfAdminsWithSeats > 1 ? 'seats' : 'a seat';\n      let pluralisedInvite = pluralise('invite', numberOfInviteesWithSeats);\n      modalText += ` This projected change is based on ${numberOfAdminsWithSeats} existing ${pluralisedTeammate} with ${pluralisedSeat} and ${numberOfInviteesWithSeats} pending ${pluralisedInvite} that would affect your subscription if accepted.`;\n    }\n    return modalText;\n  },\n\n  _showIntercomConfirmModal(options) {\n    return intercomConfirm(this, options);\n  },\n\n  _inviteeConfirmBodyText(inviteeEmail) {\n    let hasSeatsLeft = this.hasSeatsLeft;\n    let formattedPricePerSeat = this.formattedPricePerSeat;\n    let onFreePlan = this.onFreePlan;\n    let hasNoSubscriptionForInbox = this.hasNoSubscriptionForInbox;\n\n    if (onFreePlan && hasNoSubscriptionForInbox) {\n      return `When ${inviteeEmail} accepts this invite, it will not add a new inbox seat. You will have to swap out your seat since you only have 1 available on the free plan`;\n    }\n    if (hasSeatsLeft) {\n      return `Inviting ${inviteeEmail} will fill your available Inbox seat. The cost of your monthly subscription won’t change.`;\n    }\n\n    let priceChangeWarning = `When ${inviteeEmail} accepts this invite, it will add a new seat to your subscription for ${formattedPricePerSeat}/month.`;\n    return this._maybeAddPendingInviteNoticeToText(priceChangeWarning);\n  },\n\n  _inviteeConfirmButtonText(permission) {\n    let hasSeatsLeft = this.hasSeatsLeft;\n    if (permission.get('isNew')) {\n      if (this.onFreePlan) {\n        return 'Invite';\n      }\n      return hasSeatsLeft ? 'Invite and fill seat' : 'Invite and add seat';\n    }\n    return hasSeatsLeft ? 'Fill seat' : 'Add seat';\n  },\n\n  _openReassignModal(admin, teammates) {\n    let removeSeatPriceInfoText = this.get('customerService.appIsInPricingTransition')\n      ? this.pricingTransitionRemoveSeatPriceInfo\n      : this.removeSeatPriceInfo;\n\n    let removeSeatPriceInfo = this.currentEarlyStageCustomer\n      ? this.priceWillNotChangeMessage\n      : removeSeatPriceInfoText;\n\n    return new EmberPromise(resolve => {\n      this.get('modalService.openModal').call(\n        this,\n        'apps/app/settings/modals/reassign-messages',\n        admin,\n        {\n          teammateModal: this,\n          teammates,\n          removeSeatPriceInfo,\n          removedSeatPriceInfo: this.removedSeatPriceInfo,\n          hadInboxAccess: true,\n          isSecondaryModal: false,\n        },\n        undefined,\n        {\n          onClose: resolve,\n        },\n      );\n    });\n  },\n  _updateOutOfOfficeSettings(admin, hasInboxAccess) {\n    if (\n      this.get('app.requiresInboxSeatAccess') &&\n      !hasInboxAccess &&\n      admin.get('reassign_conversations')\n    ) {\n      admin.set('reassign_conversations', false);\n      admin.saveOutOfOfficeSettings();\n    }\n  },\n\n  _cleanUpTeamMembershipsAndReturnWhetherCacheShouldBeUpdated(permission, hasInboxAccess) {\n    if (!hasInboxAccess && permission.get('reassign_replies_teams.length') > 0) {\n      let idsOfDeletedTeams = permission.get('reassign_replies_teams').mapBy('team_id');\n      let teamsToBeDeleted = this.get('app.teams').filter(team =>\n        idsOfDeletedTeams.includes(team.get('id')),\n      );\n      teamsToBeDeleted.forEach(team => this.app.removeTeam(team));\n      return true;\n    }\n    return false;\n  },\n\n  _afterPermissionSave(admin, permission, hasInboxAccess) {\n    let shouldUpdateAppCache = this._cleanUpTeamMembershipsAndReturnWhetherCacheShouldBeUpdated(\n      permission,\n      hasInboxAccess,\n    );\n    let isAdmin = admin.constructor.modelName !== 'invited-admin';\n    let shouldUpdateAdminAndAppCache = isAdmin && admin.id === this.app.currentAdmin.id;\n    if (shouldUpdateAdminAndAppCache) {\n      admin.updateLocalCache(this.modelDataCacheService);\n      this.app.updateLocalCache(this.modelDataCacheService);\n    } else if (shouldUpdateAppCache) {\n      this.app.updateLocalCache(this.modelDataCacheService);\n    }\n  },\n\n  _savePermissionTask: task(function*(\n    admin,\n    permission,\n    hasInboxAccess,\n    confirmationNotificationMessage,\n  ) {\n    permission.set('has_inbox_access', hasInboxAccess);\n    this._updateOutOfOfficeSettings(admin, hasInboxAccess);\n    try {\n      yield permission.save();\n      this._afterPermissionSave(admin, permission, hasInboxAccess);\n      this.notificationsService.notifyConfirmation(\n        confirmationNotificationMessage || `Permissions changed for ${admin.name}`,\n      );\n    } catch (error) {\n      let message =\n        error?.jqXHR?.responseJSON?.message ||\n        `Something went wrong and we couldn't save your changes. Please try again.`;\n      this.notificationsService.notifyError(message);\n      throw error;\n    }\n  }),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport { Promise as EmberPromise, resolve } from 'rsvp';\nimport Service, { inject as service } from '@ember/service';\nimport { readOnly } from '@ember/object/computed';\n\nlet permissionsService = Service.extend({\n  appService: service(),\n  // eslint-disable-next-line @intercom/intercom/no-legacy-modal\n  modalService: service(),\n  app: readOnly('appService.app'),\n  currentAdminCan(permission) {\n    if (this.app.is_test_app) {\n      return true;\n    }\n    // For some reason the currentAdmin on the app is not a fully fledged admin at sign-up and is missing current_app_id\n    // looking up the admins by currentAdmin.id to get the full admin.\n    let admin = this.app.admins.findBy('id', this.app.currentAdmin.id);\n    let currentAppPermissions = admin.permissions.findBy('app_id', this.app.id);\n    // the currentAppPermission returned is not an ember class at sign-up which is why .get() is not used to check the permission\n    return currentAppPermissions && currentAppPermissions[permission];\n  },\n  checkPermission(permissionRequired) {\n    return new EmberPromise((resolve, reject) => {\n      if (this.currentAdminCan(permissionRequired)) {\n        resolve();\n      } else {\n        this.loadAllAdminsAndShowPermissionRequestModal(permissionRequired);\n        reject();\n      }\n    });\n  },\n  loadAllAdminsAndShowPermissionRequestModal(_permissionRequired) {\n    return this.app.fetchAndUpdateAllAdminPermissions().then(() => {\n      let adminIds = this.app.adminsWhoCanManageTeammates\n        .filter(admin => admin.id !== this.app.currentAdmin.id)\n        .map(admin => admin.id);\n      this.showPermissionModal(adminIds);\n    });\n  },\n  cancelTransition(transition, failureRoute) {\n    if (!transition.from || transition.from.name === 'application_loading') {\n      transition.router.transitionTo(failureRoute || 'apps', {\n        queryParams: { forcePlatform: true },\n      });\n    } else {\n      transition.abort();\n    }\n  },\n  ensurePermissionWhenTransitioning(permissionRequired, transition, failureRoute) {\n    return this.checkPermission(permissionRequired).catch(() => {\n      this.cancelTransition(transition, failureRoute);\n    });\n  },\n  checkOneOnOneMessagingPermission(permissionRequired, isCompany, selectedCount) {\n    if (selectedCount <= 1 && !isCompany) {\n      return resolve();\n    } else {\n      return this.checkPermission(permissionRequired);\n    }\n  },\n  showPermissionModal(adminIds) {\n    let adminsWithPermission = this.app.admins.filter(function(admin) {\n      return adminIds.indexOf(admin.id) > -1;\n    });\n    return new EmberPromise(resolve => {\n      this.modalService.openModal('apps/app/settings/modals/permission-request', {\n        adminsWhoCanChangePermissions: adminsWithPermission,\n        complete: resolve,\n      });\n    });\n  },\n  _findFirstAccessibleRoute(permissionRouteMappings) {\n    let permissions = Object.keys(permissionRouteMappings);\n    let routeKey = permissions.find(permission => this.currentAdminCan(permission));\n\n    return permissionRouteMappings[routeKey];\n  },\n  getFirstAccessibleGeneralSettingsRoute() {\n    let PERMISSION_TO_ROUTE_MAPPINGS = {\n      can_access_workspace_settings: 'apps.app.settings.general',\n      can_access_product_settings: 'apps.app.settings.teams',\n      can_manage_teammates: 'apps.app.settings.teammates',\n    };\n\n    return this._findFirstAccessibleRoute(PERMISSION_TO_ROUTE_MAPPINGS);\n  },\n  getFirstAccessibleSettingsRoute() {\n    let PERMISSION_TO_ROUTE_MAPPINGS = {\n      can_access_workspace_settings: 'apps.app.settings.general',\n      can_manage_teammates: 'apps.app.settings.teammates',\n      can_access_product_settings: 'apps.app.settings.tags',\n      can_access_developer_hub: 'apps.app.settings.webhooks.index',\n    };\n\n    return this._findFirstAccessibleRoute(PERMISSION_TO_ROUTE_MAPPINGS);\n  },\n});\n\nexport default permissionsService;\n","define(\"embercom/services/power-calendar\", [\"exports\", \"ember-power-calendar/services/power-calendar\"], function (_exports, _powerCalendar) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _powerCalendar.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { map, filterBy, readOnly } from '@ember/object/computed';\nimport { computed, get } from '@ember/object';\nimport Service, { inject as service } from '@ember/service';\nimport PredicateFilterMap from 'embercom/models/data/predicate-filter-map';\nimport { USER_ROLE_PREDICATE, LEAD_ROLE_PREDICATE } from 'embercom/lib/default-predicates';\n\nconst COMPARISON_OPTIONS_EXCLUSIONS = [\n  'duration_integer',\n  'url_visit_integer',\n  'url_visit',\n  'over_messaging_protection',\n];\n\nexport default Service.extend({\n  appService: service(),\n  app: readOnly('appService.app'),\n\n  androidAppVersionOptions: map('app.android_app_versions', function(version) {\n    return { text: version, value: version };\n  }),\n\n  androidVersionOptions: map('app.android_os_versions', function(version) {\n    return { text: version, value: version };\n  }),\n\n  androidDeviceOptions: map('app.android_devices', function(device) {\n    return { text: device, value: device };\n  }),\n\n  iosAppVersionOptions: map('app.ios_app_versions', function(version) {\n    return { text: version, value: version };\n  }),\n\n  anonymousOptions: [\n    { text: 'Users', value: 'false', icon: 'multiple-people' },\n    { text: 'Leads', value: 'true', icon: 'multiple-people' },\n  ],\n\n  tagOptions: computed('app.segments.[]', function() {\n    return this.get('app.segments')\n      .rejectBy('is_company', true)\n      .rejectBy('is_editable', false)\n      .map(segment => ({\n        text: get(segment, 'name'),\n        value: get(segment, 'id'),\n      }));\n  }),\n\n  companyTagOptions: computed('app.segments.[]', function() {\n    return this.get('app.segments')\n      .rejectBy('is_company', false)\n      .rejectBy('is_editable', false)\n      .map(segment => ({\n        text: get(segment, 'name'),\n        value: get(segment, 'id'),\n      }));\n  }),\n\n  manualTagOptions: map('app.tags', function(tag) {\n    return { text: get(tag, 'name'), value: get(tag, 'id') };\n  }),\n\n  iosDeviceOptions: computed(function() {\n    return PredicateFilterMap.ios_device.data.map(device => ({\n      text: device.label,\n      value: device.value,\n      group: device.group,\n    }));\n  }),\n\n  iosVersionOptions: computed(function() {\n    return PredicateFilterMap.ios_version.data.map(device => ({\n      text: device.label,\n      value: device.value,\n    }));\n  }),\n\n  planOptions: map('app.plans', function(plan) {\n    return { text: get(plan, 'name'), value: get(plan, 'id') };\n  }),\n\n  browserLocaleOptions: map('app.browser_locales', function(locale) {\n    return { text: get(locale, 'name'), value: get(locale, 'locale_id') };\n  }),\n\n  ownerIdOptions: map('app.admins', function(admin) {\n    return { text: get(admin, 'name'), value: get(admin, 'id') };\n  }),\n\n  accounts: filterBy('app.accounts', 'deleted', false),\n\n  accountIdOptions: map('accounts', function(account) {\n    return { text: get(account, 'name'), value: get(account, 'id') };\n  }),\n\n  lastConversationRatingGivenOptions: computed(function() {\n    return PredicateFilterMap.last_conversation_rating_given.data.map(conversationRating => ({\n      text: conversationRating.label,\n      emoji: conversationRating.emoji,\n      value: conversationRating.value,\n    }));\n  }),\n}).reopenClass({\n  genericTypes: [\n    'tag',\n    'numericTag',\n    'optionalTag',\n    'contentEvent',\n    'select',\n    'string',\n    'numeric',\n    'date',\n    'boolean',\n    'anonymous',\n    'role',\n    'logical',\n    'overMessagingProtection',\n    'campaignBehavior',\n    'campaignGoal',\n    'urlVisit',\n    'emailDisengagement',\n    'officeHoursSchedule',\n  ],\n  tagTypes: ['tag', 'manual_tag', 'company_tag', 'android_device', 'ios_device'],\n  numericTagTypes: [\n    'android_app_version',\n    'android_version',\n    'ios_app_version',\n    'ios_version',\n    'last_conversation_rating_given',\n  ],\n  optionalTagTypes: ['plan', 'browser_locale', 'owner_id'],\n  selectTypes: ['account_id'],\n  stringTypes: ['string', 'downcased_string', 'id'],\n  numericTypes: [\n    'integer',\n    'float',\n    'user_event',\n    'user_event_integer',\n    'duration_integer',\n    'url_visit_integer',\n  ],\n  dateTypes: ['date', 'user_event_date'],\n  booleanTypes: ['boolean'],\n  anonymousTypes: ['anonymous'],\n  roleTypes: ['role'],\n  logicalTypes: ['and', 'or', 'not'],\n  notUserEditable: ['relationship'],\n  contentEventTypes: ['content_event'],\n  campaignBehaviorTypes: ['campaign_behavior'],\n  overMessagingProtectionTypes: ['over_messaging_protection'],\n  emailDisengagementTypes: ['email_disengagement'],\n  campaignGoalTypes: ['campaign_goal'],\n  urlVisitTypes: ['url_visit'],\n  officeHoursScheduleTypes: ['office_hours_schedule'],\n  isAnonymousOrRoleType(predicate) {\n    return ['anonymous', 'role'].includes(predicate.type);\n  },\n  removeAnonymousPredicateIfRolePresent(predicates) {\n    let rolePredicate = predicates.findBy('type', 'role');\n    let anonymousPredicate = predicates.findBy('type', 'anonymous');\n    if (rolePredicate && anonymousPredicate) {\n      predicates = predicates.removeObjects([rolePredicate, anonymousPredicate]);\n      if (anonymousPredicate.comparison === 'true') {\n        predicates.pushObject(LEAD_ROLE_PREDICATE);\n      } else {\n        predicates.pushObject(USER_ROLE_PREDICATE);\n      }\n    }\n    return predicates;\n  },\n  comparisonOptionsForType(type, genericType) {\n    let comparisonOptions = COMPARISON_OPTIONS_EXCLUSIONS.includes(type)\n      ? PredicateFilterMap[type]\n      : PredicateFilterMap[genericType];\n    if (!comparisonOptions) {\n      throw new Error(`No comparison option found for type: ${type}`);\n    } else {\n      return comparisonOptions.comparison;\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Evented from '@ember/object/evented';\nimport Service from '@ember/service';\nexport default Service.extend(Evented, {\n  publish() {\n    return this.trigger.apply(this, arguments);\n  },\n  subscribe() {\n    return this.on.apply(this, arguments);\n  },\n  unsubscribe() {\n    return this.off.apply(this, arguments);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport Service, { inject as service } from '@ember/service';\nimport { captureException } from 'embercom/lib/sentry';\nimport { sendIntercomUpdate } from 'embercom/lib/intercom-widget-helper';\n\nexport default Service.extend({\n  gtmService: service(),\n  intercomEventService: service(),\n  googleTagManagerService: service(),\n  router: service(),\n  cookies: service(),\n  defaultProperties: {},\n\n  init() {\n    this._super(...arguments);\n    this.defaultProperties = {\n      screen_size: this.gtmService.screenSize(),\n    };\n  },\n\n  setDefaults(props) {\n    this.defaultProperties = Object.assign(this.defaultProperties, props);\n  },\n\n  applyDefaults(event) {\n    let objectCopy = Object.assign({}, event);\n\n    return Object.assign(objectCopy, this.defaultProperties);\n  },\n  trackPageView(pageView) {\n    pageView.action = 'viewed';\n    this.trackIntercomEvent(pageView);\n    this.trackGoogleTagManager(pageView).catch(e => captureException(e));\n    return this.trackGtmPageView(pageView)\n      .then(() => this.gtmService.recordOnPageviewEvent())\n      .then(() => this.setGtmIdentifierCda());\n  },\n\n  trackEvent(event) {\n    this.trackIntercomEvent(event);\n    let gtmEvent = this.trackGtmEvent(event);\n    return this.trackGoogleTagManager(event)\n      .catch(e => captureException(e))\n      .finally(() => gtmEvent);\n  },\n\n  trackAnalyticsAndGtmEvent(event) {\n    this.trackIntercomEvent(event);\n    return this.trackGtmEvent(event);\n  },\n\n  trackIntercomEvent(event) {\n    let data = this.scrubData(this.applyDefaults(event));\n    this.intercomEventService.trackAnalyticsEvent(data);\n  },\n\n  trackGoogleTagManager({\n    context,\n    action,\n    object,\n    place,\n    solutionId,\n    planIds,\n    cartAmount,\n    gclid,\n    emailSubmissionId,\n    email,\n  }) {\n    let event = `${context}-${action}-${object}`;\n    let data = this.applyDefaults({\n      event,\n      action,\n      object,\n      place,\n      context,\n      metadata: {\n        gclid,\n        email_submission_id: emailSubmissionId,\n        solution_id: solutionId,\n        plan_ids: planIds,\n        mrr: cartAmount,\n        email,\n        origin: window.location.href,\n        referrer: document.referrer,\n        path: this.router.currentURL,\n      },\n    });\n    return this.googleTagManagerService.pushEvent(data);\n  },\n\n  trackGtmPageView(pageView) {\n    let data = this.scrubData(this.applyDefaults(pageView));\n    return this.gtmService.recordPageView(data);\n  },\n\n  trackGtmEvent(event) {\n    let identifier = `${event.context}-${event.action}-${event.object}`;\n    let gtmService = this.gtmService;\n    let data = this.scrubData(this.applyDefaults(event));\n    return gtmService.recordEvent(identifier, data);\n  },\n\n  setGtmIdentifierCda() {\n    let cookieService = this.cookies;\n    let gtmCookie = cookieService.read('gtm_id');\n    if (gtmCookie) {\n      sendIntercomUpdate({ gtm_cookie_identifier: gtmCookie });\n    }\n  },\n\n  scrubData(data) {\n    delete data.email;\n    return data;\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport { isPresent } from '@ember/utils';\nimport { bind } from '@ember/runloop';\nimport $ from 'jquery';\nimport { readOnly } from '@ember/object/computed';\nimport Evented from '@ember/object/evented';\nimport Service, { inject as service } from '@ember/service';\nimport NexusIntercom from 'embercom/vendor/intercom/nexus';\nimport Metrics from 'embercom/models/metrics';\nimport ENV from 'embercom/config/environment';\nimport Admin from 'embercom/models/admin';\nimport { captureException } from 'embercom/lib/sentry';\n\nconst EVENTS = [\n  'AdminAwayReassignModeChange',\n  'AdminIsTyping',\n  'AdminIsTypingANote',\n  'ArticleStatsUpdate',\n  'CampaignMessagePreview',\n  'CompanyDetails',\n  'ContentStatsUpdate',\n  'ConversationAttributesUpdated',\n  'ConversationPartUpdated',\n  'ConversationReadByAdmin',\n  'ConversationSeen',\n  'CountersUpdated',\n  'CsvImportUserCreateProgress',\n  'ExternalReplySendStateUpdated',\n  'ForwardMailSetupInstructions',\n  'ForwardMailVerified',\n  'ImportStarted',\n  'ImportCompleted',\n  'MixpanelImportUserCreateProgress',\n  'MailchimpImportUserCreateProgress',\n  'MentionCreated',\n  'MessageStatsUpdate',\n  'MessengerCardUpdated',\n  'NewMinimumVersion',\n  'PositiveRatingAdded',\n  'ThreadAssigned',\n  'ThreadClosed',\n  'ThreadCreated',\n  'ThreadIngested',\n  'ThreadReopened',\n  'ThreadSnoozed',\n  'ThreadUnsnoozed',\n  'ThreadUpdated',\n  'UnsubscribeIntegrationVerified',\n  'UserBlocked',\n  'UserDetails',\n  'UserIsTyping',\n  'UserMerged',\n];\n\nconst NEXUS_INIT_ERROR_KEY = 'nexus-init-failure';\n\nexport default Service.extend(Evented, {\n  notificationsService: service('notificationsService'),\n  store: service(),\n  currentAdminId: readOnly('app.currentAdmin.id'),\n\n  inboxEvents: [\n    'ThreadAssigned',\n    'ThreadReopened',\n    'ThreadCreated',\n    'ThreadClosed',\n    'ThreadUpdated',\n    'ThreadSnoozed',\n    'ThreadUnsnoozed',\n    'ConversationAttributesUpdated',\n    'ConversationPartUpdated',\n  ],\n  init() {\n    this._super(...arguments);\n    let nexus = NexusIntercom.create();\n    this.set('nexus', nexus);\n\n    $(document).on('click', 'a.js__realtime-service-reloader', bind(this, this.reloadWindow));\n  },\n\n  reloadWindow() {\n    window.location.reload();\n  },\n\n  initForApp(app) {\n    this.set('app', app);\n    this.nexus\n      .initForApp(app.get('id'), {\n        longPollingEnabled: false,\n      })\n      .catch(e => {\n        captureException(e, {\n          fingerprint: ['real-time-event-service', 'initForApp'],\n          extra: {\n            app_id: app.get('id'),\n          },\n        });\n        Metrics.capture({ increment: ['realtime-service.initForAppFailed'] });\n        this.notificationsService.removeNotification(NEXUS_INIT_ERROR_KEY);\n        this.notificationsService.notifyErrorWithModelAndPartial(\n          {},\n          'notifications/nexus-init-failure',\n          ENV.APP.notificationNoTimeout,\n          NEXUS_INIT_ERROR_KEY,\n        );\n      });\n    this._setUpEventListeners();\n    this.subscribeTopics([`admin/${this.currentAdminId}`]);\n  },\n\n  unsubscribe() {\n    if (this.isDestroying) {\n      return;\n    }\n    this.unsubscribeTopics([`admin/${this.currentAdminId}`]);\n    this.nexus.unsubscribe();\n    this.set('app', null);\n  },\n\n  subscribeTopics(topics) {\n    this.nexus.subscribeTopics(topics);\n  },\n\n  unsubscribeTopics(topics) {\n    this.nexus.unsubscribeTopics(topics);\n  },\n\n  sendAdminIsTypingEvent(admin, conversation) {\n    let eventData = this._adminIsTypingEventData(admin, conversation);\n    this.nexus.throttleSendUserEvent(\n      conversation.get('main_participant.id'),\n      'AdminIsTyping',\n      eventData,\n    );\n  },\n\n  sendAdminIsTypingANoteEvent(admin, conversation) {\n    let eventData = this._adminIsTypingEventData(admin, conversation);\n    this.nexus.throttleSendEvent('AdminIsTypingANote', eventData);\n  },\n\n  sendUserContentSeenByAdminEvent(conversation) {\n    let eventData = this._userContentSeenData(conversation);\n    this.nexus.sendUserEvent(\n      conversation.get('main_participant.id'),\n      'UserContentSeenByAdmin',\n      eventData,\n    );\n  },\n\n  _setUpEventListeners() {\n    let nexus = this.nexus;\n    EVENTS.forEach(eventName => {\n      let handler = this[`_handle${eventName}Event`] || this._handleGeneric;\n      nexus.addListener(eventName, bind(this, handler));\n    });\n  },\n\n  _handleGeneric(data) {\n    this.trigger(data.eventName, this._flattenEventData(data));\n  },\n\n  _handleConversationSeenEvent(data) {\n    let conversation = this._findConversation(data.eventData.conversationId);\n    if (conversation) {\n      conversation.updateConversationReadAt();\n    }\n  },\n\n  _handleUserIsTypingEvent(data) {\n    try {\n      let conversation = this._findConversation(data.eventData.conversationId);\n      if (conversation) {\n        conversation.updateUserIsTyping();\n      }\n    } catch (e) {\n      captureException(e, {\n        fingerprint: ['real-time-event-service', '_handleUserIsTypingEvent'],\n        extra: {\n          data,\n        },\n      });\n    }\n  },\n\n  _handleConversationReadByAdminEvent(data) {\n    let conversation = this._findConversation(data.eventData.conversationId);\n    if (isPresent(conversation)) {\n      conversation.set('admin_has_read', true);\n    }\n  },\n\n  _handleAdminIsTypingEvent(data) {\n    this._typingEvent(data, 'comment');\n  },\n\n  _handleAdminIsTypingANoteEvent(data) {\n    this._typingEvent(data, 'note');\n  },\n\n  _handleExternalReplySendStateUpdatedEvent(data) {\n    let conversation = this._findConversation(data.eventData.conversationId);\n    if (isPresent(conversation)) {\n      conversation.handleExternalReplySendStateRealtimeEvent(data.eventData);\n    }\n  },\n\n  _typingEvent(data, action) {\n    let conversation = this._findConversation(data.eventData.conversationId);\n    if (conversation) {\n      let typingAdmin = Admin.peekAndMaybeLoad(this.store, data.eventData.adminId);\n      let currentAdmin = this.get('app.currentAdmin');\n\n      if (typingAdmin !== currentAdmin) {\n        conversation.updateAdminIsTyping(typingAdmin, action);\n      }\n    }\n  },\n\n  _findConversation(conversationId) {\n    return this.store.peekRecord('conversation', conversationId);\n  },\n\n  _adminIsTypingEventData(admin, conversation) {\n    return {\n      conversationId: conversation.get('id'),\n      adminName: admin.get('first_name'),\n      hasDefaultAvatar: admin.get('has_default_avatar'),\n      adminAvatar: admin.get('avatar').image_urls.square_128,\n      adminId: admin.get('id'),\n    };\n  },\n\n  _userContentSeenData(conversation) {\n    return {\n      conversationId: conversation.get('id'),\n    };\n  },\n\n  _flattenEventData(data) {\n    return Object.assign(data.eventData, { eventName: data.eventName });\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Service from '@ember/service';\nimport redirect from 'embercom/lib/redirect';\n\nexport default Service.extend({\n  futureRedirectPath: null,\n\n  redirect() {\n    redirect(...arguments);\n  },\n\n  setRedirectPath(path) {\n    this.set('futureRedirectPath', path);\n  },\n\n  getRedirectPath() {\n    return this.futureRedirectPath;\n  },\n});\n","import Service, { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport { isPresent } from '@ember/utils';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class ReportSubscriptionService extends Service {\n  @tracked subscription;\n  @service store;\n  @service appService;\n\n  @task *retrieveSubscription(subscriptionId) {\n    if (isPresent(subscriptionId)) {\n      try {\n        this.subscription = yield this.store.findRecord(\n          'reporting/report-subscription',\n          subscriptionId,\n        );\n      } catch (err) {\n        this.subscription = this.createNewDefaultSubscription();\n        return err.jqXHR.status;\n      }\n    } else {\n      this.subscription = this.createNewDefaultSubscription();\n    }\n    return 200;\n  }\n\n  rollbackSubscriptionChanges() {\n    this.subscription.rollbackAttributes();\n    if (this.subscription.isDeleted) {\n      this.subscription = this.createNewDefaultSubscription();\n    }\n  }\n\n  resetSubscription() {\n    this.subscription = this.createNewDefaultSubscription();\n  }\n\n  createNewDefaultSubscription() {\n    return this.store.createRecord('reporting/report-subscription', {\n      teammateIds: [],\n      cadence: 'weekly',\n      cadenceTimeOfDay: 8,\n      cadenceDayOfWeek: 'monday',\n      cadenceDateOfMonth: 1,\n      jsonBlob: {},\n    });\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport { hash } from 'rsvp';\nimport { tracked } from '@glimmer/tracking';\nimport Evented from '@ember/object/evented';\nimport Service, { inject as service } from '@ember/service';\nimport Signal, { SIGNAL_CONFIGS } from 'embercom/models/reporting/signal';\nimport Message from 'embercom/models/message';\nimport {\n  NEW_CONVERSATIONS_TAG_LIST,\n  CONVERSATIONS_PARTICIPATED_IN_TAG_LIST,\n} from 'embercom/lib/reporting/queries';\nimport moment from 'moment';\nimport dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\n\nconst SIGNAL_NAME_TO_TAG_LIST_QUERY = {\n  [SIGNAL_CONFIGS.NEW_CONVERSATIONS.name]: NEW_CONVERSATIONS_TAG_LIST,\n  [SIGNAL_CONFIGS.CONVERSATIONS_PARTICIPATED_IN.name]: CONVERSATIONS_PARTICIPATED_IN_TAG_LIST,\n};\n\nexport const REPORTING_RANGE_UPDATED = 'range_updated';\n\nexport default class ReportingService extends Service.extend(Evented) {\n  @service router;\n  @service appService;\n  @service notificationsService;\n\n  @tracked range = null;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  fetchSignal(signalConfig, valueUnit, range, filters, aggregations, name) {\n    filters = filters || {};\n    let { start, end, interval, baseAggregations } = range;\n\n    return this._fetchSignal(\n      signalConfig,\n      valueUnit,\n      start,\n      end,\n      aggregations || baseAggregations,\n      filters,\n      name,\n      interval,\n    );\n  }\n\n  updateRange(\n    range,\n    excludeBotInboxStartDate = null,\n    triggerEvent = true,\n    articleStatsStartDate = null,\n  ) {\n    if (range.comparisonStartIsMoreThanTwoYearsAgo) {\n      this.notificationsService.notifyWarning(\n        'We only store data for 2 years. You won’t see ‘previous period’ data before that date.',\n        5000,\n      );\n    } else if (range.comparisonStartMoment.isBefore(this.get('app.created_at'))) {\n      this.notificationsService.notifyWarning(\n        `Data starts on ${moment(this.get('app.created_at')).format(\n          dateAndTimeFormats.date,\n        )}, when your app was created. You won’t see ‘previous period’ data before that date.`,\n        5000,\n      );\n    } else if (excludeBotInboxStartDate && range.startMoment.isBefore(excludeBotInboxStartDate)) {\n      this.notificationsService.notifyWarning(\n        `Data to exclude bots is available from ${moment(excludeBotInboxStartDate).format(\n          dateAndTimeFormats.date,\n        )}, when your bot inbox was activated.`,\n        5000,\n      );\n    }\n\n    // TODO: Once article stats are backfilled, this warning can be removed\n    if (articleStatsStartDate && range.startMoment.isBefore(articleStatsStartDate)) {\n      this.notificationsService.notifyWarning(\n        `Data for articles is available only from ${moment(articleStatsStartDate).format(\n          dateAndTimeFormats.date,\n        )}.`,\n        5000,\n      );\n    }\n\n    this.set('range', range);\n    if (triggerEvent) {\n      this.trigger(REPORTING_RANGE_UPDATED);\n    }\n  }\n\n  fetchHeatmapSignal(signalConfig, valueUnit, range, filters) {\n    let { start, end } = range;\n    return this._fetchSignal(\n      signalConfig,\n      valueUnit,\n      start,\n      end,\n      range.heatmapAggregations,\n      filters,\n    ).then(signal => {\n      signal.set('keysAreDates', false);\n      return signal;\n    });\n  }\n\n  fetchComparisonNumericSignal(signalConfig, valueUnit, range, aggregations, filters = {}) {\n    return hash({\n      current: this.fetchNumericSignal(signalConfig, valueUnit, range, aggregations, filters),\n      previous: this.fetchPreviousNumericSignal(\n        signalConfig,\n        valueUnit,\n        range,\n        aggregations,\n        filters,\n      ),\n    }).then(signals => {\n      let aggregateSignal = signals.current;\n      aggregateSignal.setComparison(signals.previous);\n      return aggregateSignal;\n    });\n  }\n\n  fetchNumericSignal(signalConfig, valueUnit, range, aggregations, filters) {\n    let { start, end } = range;\n    return this._fetchNumericSignal(signalConfig, valueUnit, start, end, aggregations, filters);\n  }\n\n  fetchPreviousNumericSignal(signalConfig, valueUnit, range, aggregations, filters) {\n    let { comparisonStart, comparisonEnd } = range;\n    return this._fetchNumericSignal(\n      signalConfig,\n      valueUnit,\n      comparisonStart,\n      comparisonEnd,\n      aggregations,\n      filters,\n    );\n  }\n\n  _fetchNumericSignal(signalConfig, valueUnit, rangeStart, rangeEnd, aggregations, filters) {\n    return this._fetchSignal(\n      signalConfig,\n      valueUnit,\n      rangeStart,\n      rangeEnd,\n      aggregations,\n      filters,\n    ).then(signal => {\n      signal.setProperties({\n        keysAreDates: false,\n        nestedKeysAreDates: false,\n      });\n      return signal;\n    });\n  }\n\n  fetchStackedSignal(\n    { signalConfig, valueUnit, range, aggregations, filters, debugName },\n    transform = signal => signal,\n  ) {\n    return hash({\n      current: this._fetchCurrentSignal(\n        { ...signalConfig, debug_name: debugName },\n        valueUnit,\n        range,\n        aggregations,\n        filters,\n      ).then(transform),\n      previous: this._fetchPreviousSignal(\n        { ...signalConfig, debug_name: debugName },\n        valueUnit,\n        range,\n        aggregations,\n        filters,\n      ).then(transform),\n    }).then(signals => {\n      let aggregateSignal = signals.current;\n      aggregateSignal.setComparison(signals.previous);\n      return aggregateSignal;\n    });\n  }\n\n  fetchAnswerBotEffectivenessSignal(signalConfig, valueUnit, range, filters) {\n    let { answerEffectivenessAggregation } = range;\n    let aggregations = [answerEffectivenessAggregation];\n\n    let transformSignalToConversationRatingSignal = signal => {\n      signal.setProperties({\n        keysAreDates: false,\n        nestedKeysAreDates: false,\n      });\n      return signal;\n    };\n\n    return this.fetchStackedSignal(\n      {\n        signalConfig,\n        valueUnit,\n        range,\n        aggregations,\n        filters,\n      },\n      transformSignalToConversationRatingSignal,\n    );\n  }\n\n  fetchConversationRatingSignal(signalConfig, valueUnit, range, filters) {\n    let { baseAggregations, conversationRatingsAggregation } = range;\n    let aggregations = baseAggregations.concat(conversationRatingsAggregation);\n\n    let transformSignalToConversationRatingSignal = signal => {\n      signal.setProperties({\n        keysAreDates: true,\n        nestedKeysAreDates: false,\n      });\n      return signal;\n    };\n\n    return this.fetchStackedSignal(\n      {\n        signalConfig,\n        valueUnit,\n        range,\n        aggregations,\n        filters,\n      },\n      transformSignalToConversationRatingSignal,\n    );\n  }\n\n  async fetchComparisonTagSignal(signalConfig, valueUnit, range, filters = {}) {\n    let tagAggregations = range.tagAggregations;\n    let signals = await this._fetchComparisonTagSignalHash(\n      signalConfig,\n      valueUnit,\n      range,\n      tagAggregations,\n      filters,\n    );\n    let aggregateSignal = await this._processTagSignal(signals.current);\n    aggregateSignal.setComparison(this._processTagSignal(signals.previous));\n    return aggregateSignal;\n  }\n\n  fetchComparisonSignal(signalConfig, valueUnit, range, filters, aggregations, name) {\n    filters = filters || {};\n    aggregations = aggregations || range.baseAggregations;\n\n    return hash({\n      current: this._fetchCurrentSignal(\n        signalConfig,\n        valueUnit,\n        range,\n        aggregations,\n        filters,\n        name,\n      ),\n      previous: this._fetchPreviousSignal(\n        signalConfig,\n        valueUnit,\n        range,\n        aggregations,\n        filters,\n        name,\n      ),\n    }).then(signals => {\n      let aggregateSignal = signals.current;\n      aggregateSignal.setComparison(signals.previous);\n      return aggregateSignal;\n    });\n  }\n\n  fetchTabularSignal(signalConfig, range, filters) {\n    filters = filters || {};\n    let { start, end, comparisonStart, comparisonEnd } = range;\n\n    return hash({\n      current: this._fetchTabularSignal(signalConfig, start, end, filters),\n      previous: this._fetchTabularSignal(signalConfig, comparisonStart, comparisonEnd, filters),\n    });\n  }\n\n  fetchLeadSourceSignal(range) {\n    let leadSourceFilters = { message_subclass_types: ['VisitorAutoMessage'] };\n    let leadSourceAggregations = [{ grouping: 'message_id', interval: 1 }].concat(\n      range.baseAggregations,\n    );\n\n    return this.fetchComparisonSignal(\n      SIGNAL_CONFIGS.LEADS_CREATED_BY_SOURCE,\n      'lead',\n      range,\n      leadSourceFilters,\n      leadSourceAggregations,\n    ).then(signal => {\n      return this._addMessageTitles(signal);\n    });\n  }\n\n  _fetchCurrentSignal(signalConfig, valueUnit, range, aggregations, filters) {\n    let { start, end, interval } = range;\n    return this._fetchSignal(\n      signalConfig,\n      valueUnit,\n      start,\n      end,\n      aggregations,\n      filters,\n      name,\n      interval,\n    );\n  }\n\n  _fetchPreviousSignal(signalConfig, valueUnit, range, aggregations, filters) {\n    let { comparisonStart, comparisonEnd, interval } = range;\n    return this._fetchSignal(\n      signalConfig,\n      valueUnit,\n      comparisonStart,\n      comparisonEnd,\n      aggregations,\n      filters,\n      name,\n      interval,\n    );\n  }\n\n  _fetchComparisonTagSignalHash(signalConfig, valueUnit, range, tagAggregations, filters) {\n    return hash({\n      current: this._fetchCurrentSignal(signalConfig, valueUnit, range, tagAggregations, filters),\n      previous: this._fetchPreviousSignal(signalConfig, valueUnit, range, tagAggregations, filters),\n    });\n  }\n\n  _processTagSignal(signal) {\n    let contextWithoutDeletedTags = signal\n      .get('context')\n      .map(tagContext => {\n        let tag = this._getTagById(tagContext.key);\n        if (!tag) {\n          return null;\n        }\n\n        return { ...tagContext, icon: 'tag', label: tag.get('name') };\n      })\n      .compact();\n    return Signal.create({ ...signal, context: contextWithoutDeletedTags });\n  }\n\n  _tagsFromTagListSignal(signal) {\n    return signal\n      .get('originalValue')\n      .filter(t => this._getTagById(t.key))\n      .sortBy('count', 'key')\n      .reverseObjects()\n      .mapBy('key');\n  }\n\n  _getTagById(tagId) {\n    let tags = this.get('app.tags');\n    return tags.findBy('id', `${tagId}`);\n  }\n\n  _addMessageTitles(signal) {\n    let ids = signal\n      .get('context')\n      .mapBy('key')\n      .map(Number);\n    return Message.getTitles(this.app, ids).then(titles => {\n      signal.get('context').forEach(context => {\n        context.icon = context.key === 0 ? 'chat-bubble' : 'auto-message';\n        context.label = titles[context.key] || context.key;\n        if (context.key !== 0) {\n          context.url = this.router.urlFor('apps.app.outbound.message', this.app.id, context.key);\n        }\n      });\n      return signal;\n    });\n  }\n\n  async listTags(signalConfig, range, scopingTagId, teammateIds = []) {\n    let requestSignalConfig = SIGNAL_NAME_TO_TAG_LIST_QUERY[signalConfig.name];\n    if (requestSignalConfig === undefined) {\n      return null;\n    }\n\n    let filters = {};\n    if (scopingTagId) {\n      filters['conversation_tag_ids'] = [scopingTagId];\n    }\n    if (teammateIds && teammateIds.length > 0) {\n      filters['teammate_ids'] = teammateIds;\n    }\n\n    let signal = await this.fetchSignal(requestSignalConfig, 'tags', range, filters, []);\n    return this._tagsFromTagListSignal(signal);\n  }\n\n  _fetchTabularSignal(signalConfig, rangeStart, rangeEnd, filters = {}) {\n    return Signal.fetchTabularSignal(this.app, signalConfig, rangeStart, rangeEnd, filters);\n  }\n\n  _fetchSignal(\n    signalConfig,\n    valueUnit,\n    rangeStart,\n    rangeEnd,\n    aggregations,\n    filters = {},\n    name,\n    interval,\n  ) {\n    return Signal.fetchSignal(\n      this.app,\n      signalConfig,\n      valueUnit,\n      rangeStart,\n      rangeEnd,\n      aggregations,\n      filters,\n      name,\n      interval,\n    );\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport Service, { inject as service } from '@ember/service';\nimport { isBlank } from '@ember/utils';\nimport { task } from 'ember-concurrency-decorators';\nimport { action } from '@ember/object';\nimport escapeRegExp from 'embercom/lib/escape-regular-expression';\n\nimport SearchClient from 'embercom/lib/search/client';\n\nlet searchClientConfig = {\n  disableGlobalStopWords: true,\n  fields: [\n    { name: 'name', boost: 10 },\n    {\n      name: 'admin',\n      boost: 5,\n    },\n    {\n      name: 'body',\n      boost: 1,\n      stopWords: [\n        'a',\n        'able',\n        'about',\n        'across',\n        'after',\n        'all',\n        'almost',\n        'also',\n        'am',\n        'among',\n        'an',\n        'and',\n        'any',\n        'are',\n        'as',\n        'at',\n        'be',\n        'because',\n        'been',\n        'but',\n        'by',\n        'can',\n        'cannot',\n        'could',\n        'dear',\n        'did',\n        'do',\n        'does',\n        'either',\n        'else',\n        'ever',\n        'every',\n        'for',\n        'from',\n        'get',\n        'got',\n        'had',\n        'has',\n        'have',\n        'he',\n        'her',\n        'hers',\n        'him',\n        'his',\n        'how',\n        'however',\n        'i',\n        'if',\n        'in',\n        'into',\n        'is',\n        'it',\n        'its',\n        'just',\n        'least',\n        'let',\n        'like',\n        'likely',\n        'may',\n        'me',\n        'might',\n        'most',\n        'must',\n        'my',\n        'neither',\n        'no',\n        'nor',\n        'not',\n        'of',\n        'off',\n        'often',\n        'on',\n        'only',\n        'or',\n        'other',\n        'our',\n        'own',\n        'rather',\n        'said',\n        'say',\n        'says',\n        'she',\n        'should',\n        'since',\n        'so',\n        'some',\n        'than',\n        'that',\n        'the',\n        'their',\n        'them',\n        'then',\n        'there',\n        'these',\n        'they',\n        'this',\n        'tis',\n        'to',\n        'too',\n        'twas',\n        'us',\n        'wants',\n        'was',\n        'we',\n        'were',\n        'what',\n        'when',\n        'where',\n        'which',\n        'while',\n        'who',\n        'whom',\n        'why',\n        'will',\n        'with',\n        'would',\n        'yet',\n        'you',\n        'your',\n      ],\n    },\n  ],\n};\n\nexport default class SavedReplySearchService extends Service {\n  @service appService;\n  @service frontendStatsService;\n  client = new SearchClient(searchClientConfig);\n\n  get app() {\n    return this.appService.app;\n  }\n\n  get savedReplies() {\n    return this.app.savedReplies;\n  }\n\n  build() {\n    if (!this._buildingPromise) {\n      this._buildingPromise = this.savedReplies.then(() => this._build.perform());\n    }\n    return this._buildingPromise;\n  }\n\n  rebuild() {\n    this._buildingPromise = undefined;\n    return this.build();\n  }\n\n  typeaheadSearch(queryString) {\n    let results = [];\n\n    if (\n      this.app.canUseSavedRepliesManagement &&\n      !this._build.isRunning &&\n      this._build.performCount > 0\n    ) {\n      results = this._search(queryString);\n    } else {\n      results = this.searchUsingRegex(this.savedReplies, queryString);\n    }\n\n    return results.slice(0, 10);\n  }\n\n  @task({ restartable: true })\n  *search(queryString) {\n    if (!this.app.canUseSavedRepliesFuzzySearch) {\n      throw new Error('Does not have fuzzy search enabled');\n    }\n\n    yield this.build();\n    return this._search(queryString);\n  }\n\n  @task({ drop: true })\n  *_build() {\n    let startTime = window.performance.now();\n    let savedRepliesSearchDocuments = this.savedReplies.map(reply => ({\n      id: reply.id,\n      name: reply.name,\n      admin: reply?.admin?.name,\n      body: reply.body ? reply.body : reply.summary,\n    }));\n    yield this.client.build(savedRepliesSearchDocuments);\n    let duration = window.performance.now() - startTime;\n    this.frontendStatsService.capture('ember_savedReplySearchIndexBuildTime', duration, 0);\n  }\n\n  searchUsingRegex(replies, query, regexTestFunction = this.testAllReplyFields) {\n    let escaped = escapeRegExp(query);\n\n    return replies.filter(reply => {\n      let rx = new RegExp(escaped, 'gi');\n\n      return !this._isUnsavedReply(reply) && regexTestFunction(rx, reply);\n    });\n  }\n\n  @action\n  testAllReplyFields(regex, reply) {\n    return (\n      regex.test(reply.admin?.name) || this.testName(regex, reply) || regex.test(reply.summary)\n    );\n  }\n\n  testName(regex, reply) {\n    return regex.test(reply.name);\n  }\n\n  _search(queryString) {\n    if (isBlank(queryString)) {\n      if (!this.savedReplies || this.savedReplies.length === 0) {\n        return [];\n      }\n      return this.savedReplies.filter(reply => {\n        return !this._isUnsavedReply(reply);\n      });\n    }\n\n    let combinedResultsSet = [];\n\n    let fuzzyResults = this.client.search(queryString);\n    fuzzyResults.forEach(result => {\n      let reply = this.savedReplies.findBy('id', result.ref);\n      if (!this._isUnsavedReply(reply)) {\n        combinedResultsSet.push(reply);\n      }\n    });\n\n    let regexSearchResults = this.searchUsingRegex(this.savedReplies, queryString);\n\n    combinedResultsSet = combinedResultsSet.concat(regexSearchResults);\n    let uniqResults = combinedResultsSet.reduce((obj, reply, index) => {\n      if (reply && reply.id && !obj[reply.id]) {\n        obj[reply.id] = reply;\n      }\n      return obj;\n    }, {});\n    return Object.values(uniqResults);\n  }\n\n  _isUnsavedReply(reply) {\n    return reply.isNew;\n  }\n}\n","import Service, { inject as service } from '@ember/service';\nimport moment from 'moment';\nimport { timeout } from 'ember-concurrency';\nimport { task } from 'ember-concurrency-decorators';\nimport ENV from 'embercom/config/environment';\nimport AssigneeFilter from 'embercom/models/inbox/search/assignee-filter';\nimport TeammateAssigneeFilter from 'embercom/models/inbox/search/teammate-assignee-filter';\nimport TeamAssigneeFilter from 'embercom/models/inbox/search/team-assignee-filter';\nimport DateFilter from 'embercom/models/inbox/search/date-filter';\nimport TagFilter from 'embercom/models/inbox/search/tag-filter';\nimport User from 'embercom/models/user';\nimport UserFilter from 'embercom/models/inbox/search/user-filter';\n\nconst DEFAULT_SUGGESTIONS_TO_FETCH = 6;\n\nexport default class SearchSuggestionsService extends Service {\n  @service appService;\n\n  get app() {\n    return this.appService.app;\n  }\n\n  getAssigneeSuggestions(query, count = DEFAULT_SUGGESTIONS_TO_FETCH) {\n    return this._assigneeSuggestionsTask.perform(query, count);\n  }\n\n  getTeammateAssigneeSuggestions(query, count = DEFAULT_SUGGESTIONS_TO_FETCH) {\n    return this._teammateAssigneeSuggestionsTask.perform(query, count);\n  }\n\n  getTeamAssigneeSuggestions(query, count = DEFAULT_SUGGESTIONS_TO_FETCH) {\n    return this._teamAssigneeSuggestionsTask.perform(query, count);\n  }\n\n  getDateSuggestions() {\n    return this._dateSuggestionsTask.perform();\n  }\n\n  getTagSuggestions(query, count = DEFAULT_SUGGESTIONS_TO_FETCH, selectedTags = []) {\n    return this._tagSuggestionsTask.perform(query, count, selectedTags);\n  }\n\n  getUserSuggestions(query, count = DEFAULT_SUGGESTIONS_TO_FETCH, selectedUsers = []) {\n    return this._userSuggestionsTask.perform(query, count, selectedUsers);\n  }\n\n  @task({ restartable: true })\n  *_assigneeSuggestionsTask(query, count) {\n    let assignees = this.app.assignableAdmins;\n    return yield this._filterByName(query, assignees)\n      .slice(0, count)\n      .map(assignee =>\n        AssigneeFilter.create({\n          assignee,\n          value: assignee.id,\n        }),\n      );\n  }\n\n  @task({ restartable: true })\n  *_teammateAssigneeSuggestionsTask(query, count) {\n    let assignees = this.app.assignableAdmins.filterBy('isTeam', false);\n    return yield this._filterByName(query, assignees)\n      .slice(0, count)\n      .map(assignee =>\n        TeammateAssigneeFilter.create({\n          assignee,\n          value: assignee.id,\n        }),\n      );\n  }\n\n  @task({ restartable: true })\n  *_teamAssigneeSuggestionsTask(query, count) {\n    let assignees = this.app.assignableAdmins.filterBy('isTeam', true);\n    assignees.unshift(this.app.unassignedAdmin);\n    return yield this._filterByName(query, assignees)\n      .slice(0, count)\n      .map(assignee =>\n        TeamAssigneeFilter.create({\n          assignee,\n          value: assignee.id,\n        }),\n      );\n  }\n\n  @task({ drop: true })\n  *_dateSuggestionsTask() {\n    let now = moment();\n    let today = now.clone();\n    let yesterday = now.clone().subtract(1, 'days');\n\n    return yield [\n      DateFilter.create({\n        suggestionText: 'Today',\n        range: {\n          start: today,\n          end: today,\n        },\n      }),\n      DateFilter.create({\n        suggestionText: 'Yesterday',\n        range: {\n          start: yesterday,\n          end: yesterday,\n        },\n      }),\n      DateFilter.create({\n        suggestionText: 'Last 30 days',\n        range: {\n          start: now.clone().subtract(30, 'days'),\n          end: today,\n        },\n      }),\n      DateFilter.create({\n        suggestionText: 'Last 90 days',\n        range: {\n          start: now.clone().subtract(90, 'days'),\n          end: today,\n        },\n      }),\n    ];\n  }\n\n  @task({ restartable: true })\n  *_tagSuggestionsTask(query, count, selectedTags) {\n    let tags = this.app.tags.filter(tag => !selectedTags.includes(tag));\n\n    return yield this._filterByName(query, tags)\n      .slice(0, count)\n      .map(tag => TagFilter.create({ tag, value: tag.id }));\n  }\n\n  @task({ restartable: true })\n  *_userSuggestionsTask(query, count, selectedUsers) {\n    yield timeout(ENV.APP._750MS);\n\n    let predicates = [\n      {\n        type: 'or',\n        predicates: [\n          { attribute: 'name', comparison: 'contains', type: 'string', value: query },\n          { attribute: 'email', comparison: 'contains', type: 'string', value: query },\n        ],\n      },\n    ];\n    let options = {\n      page: 1,\n      per_page: count + selectedUsers.length,\n      sort_by: 'name',\n      sort_direction: 'asc',\n    };\n\n    let searchResults = yield User.search(this.app, predicates, options);\n    return searchResults.users\n      .filter(user => !selectedUsers.includes(user))\n      .slice(0, count)\n      .map(user => UserFilter.create({ user, value: user.id }));\n  }\n\n  _filterByName(query, arr) {\n    let lowerCaseQuery = query.toLowerCase();\n    return arr.filter(item => item.name.toLowerCase().includes(lowerCaseQuery));\n  }\n}\n","import Service, { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport ajax from 'embercom/lib/ajax';\n\nexport default class SecurityAppSettingsService extends Service {\n  @service appService;\n  @service store;\n  @tracked settings = {};\n\n  @task({ drop: true })\n  *ensureDataIsLoaded() {\n    if (!this.settings.notificationEmailsWithContentEnabled) {\n      let result = yield ajax({\n        url: '/ember/security_app_settings/contentless_notification_settings',\n        type: 'GET',\n        data: {\n          app_id: this.appService.app.id,\n        },\n      });\n      this.settings.notificationEmailsWithContentEnabled =\n        result['notification_emails_with_content_enabled'];\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Service from '@ember/service';\nexport default Service.extend({\n  collapsed: false,\n  toggle() {\n    this.toggleProperty('collapsed');\n  },\n  expand() {\n    this.set('collapsed', false);\n  },\n});\n","import Service, { inject as service } from '@ember/service';\nimport Graph from 'embercom/models/graph-editor/graph';\nimport { task, taskGroup } from 'ember-concurrency-decorators';\nimport { tracked } from '@glimmer/tracking';\nimport { allNodeConfigurations } from 'embercom/objects/series/configuration-list';\nimport SeriesNode from 'embercom/models/series/node';\nimport SeriesEdge from 'embercom/models/series/edge';\nimport {\n  objectTypes,\n  seriesEdgeTypes,\n  seriesNodeTypes,\n} from 'embercom/models/data/matching-system/matching-constants';\nimport { isNone, isPresent } from '@ember/utils';\nimport { A } from '@ember/array';\nimport LoopDetector from 'embercom/lib/series/loop-detector';\nimport { debounce } from '@ember/runloop';\nimport ENV from 'embercom/config/environment';\nimport Coordinates from 'embercom/models/graph-editor/coordinates';\nimport SeriesEdgeGenerator from 'embercom/components/series/edge/generator';\nimport { stats } from 'embercom/models/data/stats-system/stats-constants';\nimport { linkedCampaignStates } from 'embercom/models/data/matching-system/matching-constants';\nimport { timeout } from 'ember-concurrency';\nimport { copy } from 'ember-copy';\n\nconst NODE_WIDTH = 192;\nconst NODE_HEIGHT = 144;\n\nexport const CONNECTION_POINTS = [\n  { x: -8, y: NODE_HEIGHT / 2, alignment: 'left', direction: 'inwards' },\n];\n\nconst featureFlagMapToOptInObjectTypes = {\n  canUseBanners: objectTypes.banner,\n};\n\nclass TemporaryEdgeObject {\n  isTemporary = true;\n\n  edgeType = undefined;\n\n  constructor(inputs) {\n    let { edgeType } = inputs;\n    this.edgeType = edgeType;\n  }\n\n  get isPrimary() {\n    return this.edgeType === seriesEdgeTypes.primary;\n  }\n\n  get isAlternative() {\n    return this.edgeType === seriesEdgeTypes.alternative;\n  }\n}\n\nexport default class SeriesEditorService extends Service {\n  @service appService;\n  @service store;\n  @service notificationsService;\n  @service intercomEventService;\n  @service router;\n\n  @tracked series = undefined;\n  @tracked graph = undefined;\n  @tracked activeSeriesNode = undefined;\n  edgeTypeForNewEdge = seriesEdgeTypes.primary;\n  seriesObjectType = objectTypes.series;\n  @tracked nodesWithErrorsToDisplay = A([]);\n  @tracked mode = 'edit';\n  onChangeMode = undefined;\n  @tracked activeView = 'overview';\n  onChangeView = undefined;\n  @tracked activeFilter = stats.receipt;\n  onChangeFilter = undefined;\n\n  @tracked isShowingSettings = false;\n  @tracked isEditingTitle = false;\n  @tracked isDuplicatingNode = false;\n  isShowingShortcuts = false;\n\n  @tracked lastUpdatedNodesAt = undefined;\n  @tracked lastUpdatedEdgesAt = undefined;\n  settingsState = undefined;\n\n  get lastGraphUpdateTime() {\n    return this.lastUpdatedNodesAt > this.lastUpdatedEdgesAt\n      ? this.lastUpdatedNodesAt\n      : this.lastUpdatedEdgesAt;\n  }\n\n  @tracked lastRenderedEdgesAt = undefined;\n\n  @tracked selectedCampaignState = linkedCampaignStates.draining;\n\n  @taskGroup({ drop: true })\n  apiTasks;\n\n  /*\n   * PUBLIC API\n   */\n\n  register(params) {\n    this.log(`Registered series id:[${params.series.id}]`);\n    if (this.series) {\n      throw new Error(\n        'Only one series object may be registered at a time in the series editor service',\n      );\n    } else {\n      this.series = params.series;\n      this._initializeGraph();\n    }\n    if (params.mode) {\n      this.changeMode(params.mode);\n    }\n    if (params.view) {\n      this.changeActiveView(params.view);\n    }\n    if (params.filter) {\n      this.changeActiveFilter(params.filter);\n    }\n    if (params.onChangeMode) {\n      this.onChangeMode = params.onChangeMode;\n    }\n    if (params.onChangeView) {\n      this.onChangeView = params.onChangeView;\n    }\n    if (params.onChangeFilter) {\n      this.onChangeFilter = params.onChangeFilter;\n    }\n  }\n\n  unregister(series) {\n    if (this.series !== series) {\n      throw new Error('Attempted to unregister a series object which was not set');\n    } else {\n      this.series = undefined;\n      this.graph = undefined;\n      this.activeSeriesNode = undefined;\n    }\n  }\n\n  registerActiveSeriesNode(node) {\n    if (node !== this.activeSeriesNode) {\n      this.activeSeriesNode = node;\n    }\n  }\n\n  unregisterActiveSeriesNode() {\n    this._showErrorsOnNode(this.activeSeriesNode);\n    this.activeSeriesNode = undefined;\n  }\n\n  closeRulesetEditor() {\n    this.unregisterActiveSeriesNode();\n  }\n\n  canShowErrorOnNode(node) {\n    return this.nodesWithErrorsToDisplay.includes(node.id);\n  }\n\n  get nodeConfigurations() {\n    let enabledNodeConfigurations = allNodeConfigurations;\n    Object.keys(featureFlagMapToOptInObjectTypes).forEach(feature => {\n      if (!this.appService.app[feature]) {\n        enabledNodeConfigurations = enabledNodeConfigurations.filter(\n          config =>\n            config.inserterConfiguration.objectType !== featureFlagMapToOptInObjectTypes[feature],\n        );\n      }\n    });\n    return enabledNodeConfigurations;\n  }\n\n  get isViewMode() {\n    return this.mode === 'view';\n  }\n\n  get isEditMode() {\n    return !this.isViewMode;\n  }\n\n  get shortcutsDisabled() {\n    return this.isEditingTitle || this.isShowingSettings || this.isDuplicatingNode;\n  }\n\n  get hasPaywalledNodes() {\n    let nodes = this.series?.nodes || [];\n    return nodes.any(\n      node =>\n        !node.graphConfiguration.componentConfig.hasAccessToRequiredFeature(this.appService.app),\n    );\n  }\n\n  @task({ restartable: true })\n  *updateRenderedEdges() {\n    yield timeout(ENV.APP._250MS);\n    this.lastRenderedEdgesAt = new Date();\n  }\n\n  @task({ group: 'apiTasks' })\n  *save() {\n    if (this.isViewMode) {\n      throw new Error('Cannot save a Series in view mode');\n    }\n    try {\n      yield this._save.perform();\n      this.intercomEventService.trackEvent('series-saved');\n      this.notificationsService.notifyConfirmation('Your Series has been updated.');\n      return true;\n    } catch (e) {\n      this.notificationsService.notifyResponseError(e, {\n        default: 'Error saving the Series',\n      });\n      return false;\n    }\n  }\n\n  @task()\n  *saveAndClose() {\n    let success = yield this.save.perform();\n    if (success) {\n      this.changeMode('view');\n    }\n  }\n\n  @task({ group: 'apiTasks' })\n  *saveAndSetLive() {\n    this._showErrorsOnAllNodes();\n    yield this._save.perform();\n    yield this.series.activate();\n    this.notificationsService.notifyConfirmation('Your Series has been set live.');\n    this.changeMode('view');\n    this.intercomEventService.trackEvent('series-set-live');\n  }\n\n  @task({ group: 'apiTasks' })\n  *deactivate() {\n    yield this.series.deactivate();\n    this.notificationsService.notifyConfirmation('Your Series has been paused.');\n  }\n\n  @task({ group: 'apiTasks' })\n  *createNode(graphNode, inserterConfig) {\n    try {\n      let newNode = yield SeriesNode.createNode({\n        store: this.store,\n        app: this.appService.app,\n        series: this.series,\n        objectType: inserterConfig.objectType,\n        objectData: inserterConfig.objectData,\n        defaultParams: graphNode.dataObject?.defaultParams,\n      });\n      newNode.xPosition = graphNode.position.x;\n      newNode.yPosition = graphNode.position.y;\n\n      let originalDataObject = graphNode.dataObject;\n\n      graphNode.dataObject = newNode;\n\n      if (originalDataObject.hasTemporaryEdge) {\n        this._replaceTemporaryEdge(graphNode);\n      }\n    } catch (e) {\n      console.error(e);\n      this.notificationsService.notifyResponseError(e, {\n        default: \"Something went wrong and we couldn't create that block\",\n      });\n      this.graph.deleteNode(graphNode);\n    }\n  }\n\n  @task({ group: 'apiTasks' })\n  *duplicateNodes(graphNodes) {\n    if (this.isViewMode) {\n      throw new Error('Cannot duplicate in view mode');\n    }\n\n    let newSeriesNodes = yield SeriesNode.duplicateCollection({\n      nodes: graphNodes.map(graphNode => graphNode.dataObject),\n      store: this.store,\n      app: this.appService.app,\n    });\n    let newGraphNodes = graphNodes.map(graphNode => this._graphNodeDuplicate(graphNode));\n\n    if (newGraphNodes.length !== newSeriesNodes.length) {\n      throw new Error('Unexpected error while duplicating');\n    }\n\n    for (let i = 0; i < newGraphNodes.length; i++) {\n      newSeriesNodes[i].xPosition = newGraphNodes[i].position.x;\n      newSeriesNodes[i].yPosition = newGraphNodes[i].position.y;\n      newGraphNodes[i].dataObject = newSeriesNodes[i];\n    }\n\n    this.graph.state.selectedNodes.clear();\n    newGraphNodes.map(node => this.graph.state.addSelectedNode(node));\n\n    return newGraphNodes;\n  }\n\n  @task()\n  *_save() {\n    // we need to fetch these first because series.save() unloads them\n    let locallyCreatedEdgeNodePairs = this._getLocallyCreatedEdgeNodePairs();\n    if (this.series.isLive) {\n      this._showErrorsOnAllNodes();\n    }\n\n    yield this.series.save();\n    this._associateSeriesEdgesWithGraph(locallyCreatedEdgeNodePairs);\n  }\n\n  @task({ group: 'apiTasks' })\n  *duplicate() {\n    try {\n      let duplicatedSeries = yield this.series.duplicate();\n      this.router.transitionTo('apps.app.outbound.series.redirect-to.series', duplicatedSeries);\n    } catch (e) {\n      console.error(e);\n      this.notificationsService.notifyResponseError(e, {\n        default: \"Something went wrong and we couldn't duplicate the series.\",\n      });\n    }\n  }\n\n  @task({ group: 'apiTasks' })\n  *delete() {\n    try {\n      yield this.series.archive();\n      this.router.transitionTo('apps.app.outbound.series.index');\n    } catch (e) {\n      console.error(e);\n      this.notificationsService.notifyResponseError(e, {\n        default: \"Something went wrong and we couldn't delete the series.\",\n      });\n    }\n  }\n\n  @task({ group: 'apiTasks' })\n  *updateSettings() {\n    yield this.series.updateSettings();\n    this.notificationsService.notifyConfirmation('Your settings have been updated.');\n  }\n\n  @task({ group: 'apiTasks' })\n  *cancelSettingsChanges() {\n    yield this.series.cancelSettingsChanges();\n  }\n\n  get showRulesetEditor() {\n    return this.activeSeriesNode !== undefined;\n  }\n\n  storeSettingsState() {\n    let currentGoal = copy(this.series.goal);\n    let currentExitBehavior = this.series.exitBehavior;\n    let currentExitPredicateGroup = copy(this.series.exitPredicateGroup);\n\n    this.settingsState = {\n      goal: currentGoal,\n      exitBehavior: currentExitBehavior,\n      exitPredicateGroup: currentExitPredicateGroup,\n    };\n  }\n\n  changeMode(mode) {\n    this.mode = mode;\n\n    this.graph.state.inPanningMode = this.isViewMode;\n    this.graph.state.disableScroll = this.isViewMode;\n\n    if (this.onChangeMode) {\n      this.onChangeMode(mode);\n    }\n  }\n\n  changeActiveView(newView) {\n    if (this.activeView === newView) {\n      return;\n    }\n    if (!this.isEditMode) {\n      this.activeView = newView;\n      if (this.onChangeView) {\n        this.onChangeView(newView);\n      }\n    } else {\n      throw new Error('Attempted to change active view while in edit mode');\n    }\n  }\n\n  changeActiveFilter(filter) {\n    if (this.activeFilter === filter) {\n      return;\n    }\n    if (!this.isEditMode) {\n      this.activeFilter = filter;\n      if (this.onChangeFilter) {\n        this.onChangeFilter(filter);\n      }\n    } else {\n      throw new Error('Attempted to change active filter while in edit mode');\n    }\n  }\n\n  addNode(node) {\n    return this._addNode(node);\n  }\n\n  addEdge(edge) {\n    this._addEdge(edge);\n  }\n\n  createGraphEdge(predecessor, successor) {\n    if (this.graph.hooks.canInsertEdge(predecessor, successor)) {\n      let edgeDataObject = { edgeType: seriesEdgeTypes.primary };\n      let edge = this.graph.addEdge({\n        predecessor,\n        successor,\n        dataObject: edgeDataObject,\n      });\n      this.graph.hooks.didInsertEdge(edge);\n    }\n  }\n\n  /*\n   * PRIVATE\n   */\n\n  _graphNodeDuplicate(graphNode) {\n    let spacing = this.graph.settings.grid.spacing;\n    let position = this.graph.findClosestFreeCoordinates(\n      new Coordinates(graphNode.position.x + spacing, graphNode.position.y + spacing * 2),\n    );\n    return this.graph.addNode({ position, connectionPoints: CONNECTION_POINTS });\n  }\n\n  _initializeGraph() {\n    this.graph = new Graph({\n      canUpdateNode: this._canUpdateNode.bind(this),\n      didUpdateNode: this._didUpdateNode.bind(this),\n      canInsertNode: this._canInsertNode.bind(this),\n      didInsertNode: this._didInsertNode.bind(this),\n      canSelectNode: this._canSelectNode.bind(this),\n      canInsertEdge: this._canInsertEdge.bind(this),\n      didInsertEdge: this._didInsertEdge.bind(this),\n      canDeleteEdge: this._canDeleteEdge.bind(this),\n      didDeleteEdge: this._didDeleteEdge.bind(this),\n      canDeleteNode: this._canDeleteNode.bind(this),\n      didDeleteNode: this._didDeleteNode.bind(this),\n      canAddNodesToSelection: this._canAddNodesToSelection.bind(this),\n    });\n\n    this.graph.settings.scale.zoomFactor = 0.2;\n    this.graph.settings.grid.spacing = 16;\n    this.graph.settings.node.defaultWidth = NODE_WIDTH;\n    this.graph.settings.node.defaultHeight = NODE_HEIGHT;\n    this.graph.settings.node.defaultSpacing = NODE_WIDTH * 2;\n\n    this.series.nodes.forEach(node => {\n      this._addNode(node);\n    });\n\n    this.series.edges.forEach(edge => {\n      this._addEdge(edge);\n    });\n  }\n\n  _addNode(node) {\n    let position = this.graph.findClosestFreeCoordinates(\n      new Coordinates(node.xPosition, node.yPosition),\n    );\n    return this.graph.addNode({\n      position,\n      connectionPoints: CONNECTION_POINTS,\n      dataObject: node,\n    });\n  }\n\n  _addEdge(edge) {\n    let predecessor = this.graph.nodeForDataObject(edge.predecessor);\n    let successor = this.graph.nodeForDataObject(edge.successor);\n    let graphEdge = this.graph.addEdge({\n      predecessor,\n      successor,\n      dataObject: edge,\n    });\n    graphEdge.generator = new SeriesEdgeGenerator(graphEdge);\n  }\n\n  _canUpdateNode() {\n    return this.isEditMode;\n  }\n\n  _didUpdateNode(node) {\n    let seriesNode = node.dataObject;\n    seriesNode.xPosition = node.position.x;\n    seriesNode.yPosition = node.position.y;\n    this.lastUpdatedNodesAt = new Date();\n  }\n\n  _canInsertNode(dataObject) {\n    if (this.isViewMode) {\n      return false;\n    }\n    return dataObject.inserterConfig.canInsertNode({ app: this.appService.app, dataObject });\n  }\n\n  _canSelectNode() {\n    return this.isEditMode;\n  }\n\n  async _didInsertNode(graphNode) {\n    let hasOverlap = false;\n    do {\n      hasOverlap = this.graph.nodes.some(\n        node =>\n          node.position.x === graphNode.position.x &&\n          node.position.y === graphNode.position.y &&\n          node !== graphNode,\n      );\n      if (hasOverlap) {\n        graphNode.position.x += this.graph.settings.grid.spacing;\n        graphNode.position.y += this.graph.settings.grid.spacing;\n      }\n    } while (hasOverlap);\n\n    let inserterConfig = graphNode.dataObject.inserterConfig;\n    await this.createNode.perform(graphNode, inserterConfig);\n\n    // If we had created edges on the graph before the Series Node had been created and\n    // persisted, we must update the successor references on those edges to the real data object.\n    if (isPresent(graphNode.inwardEdges)) {\n      graphNode.inwardEdges.forEach(edge => {\n        edge.dataObject.successor = graphNode.dataObject;\n      });\n    }\n    this.lastUpdatedNodesAt = new Date();\n  }\n\n  _canInsertEdge(predecessor, successor) {\n    if (this.isViewMode) {\n      return false;\n    }\n\n    // In the case where we're directly inserting a shortcut we will allow this through.\n    // We handle this here as we will return false with the next check otherwise.\n    if (successor.dataObject.hasTemporaryEdge) {\n      return true;\n    }\n\n    if (successor.dataObject.isNewlyInserted) {\n      return false;\n    }\n\n    if (predecessor === successor) {\n      return false;\n    }\n\n    let predecessorSeriesNode = predecessor.dataObject;\n    let successorSeriesNode = successor.dataObject;\n\n    if (isNone(successorSeriesNode.id)) {\n      throw new Error(`Cannot insert edge. Successor is missing ID`);\n    }\n\n    if (this._doesCreateLoop(predecessorSeriesNode, successorSeriesNode)) {\n      debounce(this, this._notifyInfiniteLoopError, ENV.APP._750MS, true);\n      return false;\n    }\n\n    if (\n      predecessorSeriesNode.isStarting &&\n      predecessorSeriesNode.objectTypes.includes(objectTypes.seriesCondition) &&\n      this.edgeTypeForNewEdge === seriesEdgeTypes.alternative\n    ) {\n      return false;\n    }\n\n    let existingEdge = predecessorSeriesNode.outwardEdges.find(\n      edge => edge.successor === successorSeriesNode && edge.edgeType === this.edgeTypeForNewEdge,\n    );\n\n    return isNone(existingEdge);\n    // TODO: Check with predecessor & successor series node objects if they can connect with each other\n  }\n\n  _didInsertEdge(edge) {\n    edge.generator = new SeriesEdgeGenerator(edge);\n\n    // For temporary edges, we will defer calling this method until\n    // the node we're inserting has been persisted on the backend.\n    if (edge.dataObject?.isTemporary) {\n      edge.dataObject = new TemporaryEdgeObject({\n        edgeType: edge.dataObject.edgeType,\n      });\n      return;\n    }\n\n    let predecessorSeriesNode = edge.predecessor.dataObject;\n    let successorSeriesNode = edge.successor.dataObject;\n\n    // Once the edge is inserted remove predecessor and successor\n    // nodes from `nodesWithErrorsToDisplay` list. This makes sure\n    // that if the Nodes had validation errors for edge connections\n    // they are cleared once the edge is connected\n    this._removeNodeFromErrorsToDisplay(predecessorSeriesNode);\n    this._removeNodeFromErrorsToDisplay(successorSeriesNode);\n\n    let edgeType = isPresent(edge.dataObject?.edgeType)\n      ? edge.dataObject.edgeType\n      : this.edgeTypeForNewEdge;\n\n    edge.dataObject = SeriesEdge.createEdge({\n      store: this.store,\n      series: this.series,\n      predecessor: predecessorSeriesNode,\n      successor: successorSeriesNode,\n      edgeType,\n    });\n\n    successorSeriesNode.nodeType = seriesNodeTypes.internal;\n    this.lastUpdatedEdgesAt = new Date();\n  }\n\n  _canDeleteEdge() {\n    return this.isEditMode;\n  }\n\n  _didDeleteEdge(edge) {\n    this.store.unloadRecord(edge.dataObject);\n    this.lastUpdatedEdgesAt = new Date();\n  }\n\n  _canDeleteNode() {\n    return this.isEditMode;\n  }\n\n  _didDeleteNode(node) {\n    this.store.unloadRecord(node.dataObject);\n  }\n\n  _canAddNodesToSelection(event) {\n    return event?.shiftKey || event?.metaKey;\n  }\n\n  _doesCreateLoop(predecessorSeriesNode, successorSeriesNode) {\n    let newEdgeList = this.series.edges.map(edge => {\n      return { predecessor: edge.predecessor.id, successor: edge.successor?.id };\n    });\n    newEdgeList.push({ successor: successorSeriesNode.id, predecessor: predecessorSeriesNode.id });\n\n    return new LoopDetector(newEdgeList).detectLoop();\n  }\n\n  _notifyInfiniteLoopError() {\n    this.notificationsService.notifyError(\n      'This connection would create an infinite loop',\n      ENV.APP._2000MS,\n    );\n  }\n\n  /*\n   * When creating a Rules block from a shortcut in the UI, we must wait for the server request for to complete\n   * before we have the ID of the successor node for us to actually create an edge. While that request is happening\n   * we create a 'temporary edge' in the UI. This is an graph edge that links the two graph nodes but does not\n   * have an associated Series edge model as its dataObject.\n   *\n   * When the server request completes, we upgrade this temporary edge to a real edge by calling the _didInsertEdge\n   * handler. This will then create the Series edge model we require.\n   */\n  _replaceTemporaryEdge(graphNode) {\n    let temporaryEdges = this.graph.edges.filter(edge => edge.dataObject?.isTemporary);\n    let temporaryEdge = temporaryEdges.find(edge => edge.successor === graphNode);\n    if (isPresent(temporaryEdge)) {\n      temporaryEdge.dataObject.isTemporary = false;\n      this._didInsertEdge(temporaryEdge);\n    } else {\n      throw new Error(`Expected a temporary edge to be present`);\n    }\n  }\n\n  _getLocallyCreatedEdgeNodePairs() {\n    let locallyCreatedEdges = this.series.locallyCreatedEdges;\n    return locallyCreatedEdges.map(locallyCreatedEdge => {\n      return {\n        predecessor: locallyCreatedEdge.predecessor,\n        successor: locallyCreatedEdge.successor,\n      };\n    });\n  }\n\n  _associateSeriesEdgesWithGraph(edgeNodePairs) {\n    edgeNodePairs.forEach(edgeNodePair => {\n      let { predecessor, successor } = edgeNodePair;\n      let seriesEdge = this.series.edgeForNodes(predecessor, successor);\n      let graphEdge = this.graph.edgeForNodeDataObjects(predecessor, successor);\n      graphEdge.dataObject = seriesEdge;\n    });\n  }\n\n  _showErrorsOnAllNodes() {\n    this.nodesWithErrorsToDisplay = A(this.series.nodes.map(node => node.id));\n  }\n\n  _showErrorsOnNode(node) {\n    this.nodesWithErrorsToDisplay.pushObject(node.id);\n  }\n\n  _removeNodeFromErrorsToDisplay(node) {\n    this.nodesWithErrorsToDisplay.removeObject(node.id);\n  }\n\n  log(message) {\n    if (ENV.environment !== 'production' || window.LOG_CONTENT_EDITOR_SERVICE) {\n      console.log(`📝[Series Editor Service] ${message}`);\n    }\n  }\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { reads } from '@ember/object/computed';\nimport Service from '@ember/service';\nexport default Service.extend({\n  app: null,\n  start(app) {\n    this.set('app', app);\n  },\n  stop() {\n    this.set('app', null);\n  },\n  timezone: reads('app.timezone'),\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport Service from '@ember/service';\nimport EmberObject from '@ember/object';\nimport { bind } from '@ember/runloop';\nimport $ from 'jquery';\nimport platform from 'embercom/lib/browser-platform';\n\nconst Shortcut = EmberObject.extend({\n  stateCheck: null,\n  group: null,\n  context: null,\n  key: null,\n  textBox: false,\n  modalActive: true,\n  method: null,\n  shiftKey: false,\n  commandKey: false,\n  altKey: false,\n});\n\nexport default Service.extend({\n  spoolInterval: 300,\n  spooledKeyPresses: null,\n  state: null,\n  shortcuts: null,\n\n  keyMap: {\n    13: '↵',\n    27: 'escape',\n    32: 'space',\n    38: '↑',\n    40: '↓',\n    65: 'a',\n    66: 'b',\n    69: 'e',\n    71: 'g',\n    73: 'i',\n    74: 'j',\n    75: 'k',\n    77: 'm',\n    78: 'n',\n    79: 'o',\n    80: 'p',\n    82: 'r',\n    83: 's',\n    84: 't',\n    85: 'u',\n    88: 'x',\n    89: 'y',\n    90: 'z',\n    191: '/',\n  },\n\n  init() {\n    this._super(...arguments);\n    this.set('spooledKeyPresses', []);\n    this.set('shortcuts', []);\n    this.set('state', {});\n    $(document)\n      .keydown(bind(this, this.onKeyDown))\n      .keyup(bind(this, this.onKeyUp));\n  },\n\n  register(group, context, shortcutOptions) {\n    shortcutOptions.forEach(shortcutOption => {\n      shortcutOption.group = group;\n      shortcutOption.context = context;\n      this.shortcuts.pushObject(Shortcut.create(shortcutOption));\n    });\n  },\n\n  unregister(group) {\n    this.set('shortcuts', this.shortcuts.rejectBy('group', group));\n  },\n\n  setState(state, value) {\n    this.set(`state.${state}`, value);\n  },\n\n  willDestroy() {\n    this._super(...arguments);\n    $(document)\n      .off('keydown')\n      .off('keyup');\n  },\n\n  triggerShortcuts(keyPress) {\n    this.shortcuts.forEach(shortcut => {\n      if (this.shouldTriggerShortcut(shortcut, keyPress)) {\n        keyPress.originalEvent.preventDefault();\n        shortcut.get('method').apply(shortcut.get('context'));\n      }\n    });\n  },\n\n  shouldTriggerShortcut(shortcut, keyPress) {\n    return (\n      (shortcut.key === keyPress.key || shortcut.key === keyPress.keys) &&\n      this.hasCorrectModifierKeys(shortcut, keyPress) &&\n      this.isStateValid(shortcut) &&\n      this.textNotBlocking(shortcut, keyPress) &&\n      this.modalNotBlocking(shortcut, keyPress)\n    );\n  },\n\n  hasCorrectModifierKeys(shortcut, keyPress) {\n    return (\n      shortcut.shiftKey === keyPress.shiftKey &&\n      shortcut.commandKey === keyPress.commandKey &&\n      shortcut.altKey === keyPress.altKey\n    );\n  },\n\n  isStateValid(shortcut, keyPress) {\n    return !shortcut.get('stateCheck') || this.get(`state.${shortcut.get('stateCheck')}`);\n  },\n\n  modalNotBlocking(shortcut, keyPress) {\n    return !keyPress.isModalActive || shortcut.get('modalActive');\n  },\n\n  textNotBlocking(shortcut, keyPress) {\n    return !keyPress.isInputFocused || shortcut.get('textBox');\n  },\n\n  onKeyDown(e) {\n    this.onKey(e, 'keyDown');\n  },\n  onKeyUp(e) {\n    this.onKey(e, 'keyUp');\n  },\n\n  onKey(e, keyEventType) {\n    let key = this.humanizeKeyCode(e);\n    if (key) {\n      this.spoolKeyPresses(key, keyEventType);\n      let keyPress = this.translateRawKeyDown(key, e);\n      if (keyPress) {\n        //right now this only supports keyDown shortcuts, should be refactored if\n        //others are added.\n        if (keyEventType === 'keyDown') {\n          this.triggerShortcuts(keyPress);\n        }\n      }\n      return keyPress;\n    }\n  },\n  humanizeKeyCode(e) {\n    let keyCode = e.which !== undefined ? e.which : e.keyCode;\n    return this.keyMap[keyCode];\n  },\n\n  translateRawKeyDown(humanizedKey, e) {\n    let $focused = $(':focus');\n    let isInputFocused = this.isInputFocused($focused);\n    let isModalActive = this.isModalActive();\n\n    return {\n      key: humanizedKey,\n      keys: this.spooledKeyPresses.map(e => e.key).join('|'),\n      isModalActive,\n      focusedElement: $focused,\n      isInputFocused,\n      isNormalMode: !(isInputFocused || isModalActive),\n      shiftKey: e.shiftKey || false,\n      altKey: e.altKey || false,\n      commandKey: (platform.isMac ? e.metaKey : e.ctrlKey) || false,\n      originalEvent: e,\n    };\n  },\n\n  isInputFocused($focused) {\n    return $focused.is('input, textarea, [contenteditable=true]');\n  },\n\n  spoolKeyPresses(key, keyEventType) {\n    let now = Date.now();\n    this.set(\n      'spooledKeyPresses',\n      this.spooledKeyPresses.filter(element => element.at > now - this.spoolInterval),\n    );\n\n    if (keyEventType === 'keyDown') {\n      this.spooledKeyPresses.push({ key, at: now });\n    }\n  },\n  isModalActive() {\n    return $('.modal__overlay').length > 0;\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport Service, { inject as service } from '@ember/service';\n\nexport default Service.extend({\n  store: service(),\n\n  providerNameMap: {\n    twitter: 'Twitter',\n    facebook: 'Facebook',\n    linkedin: 'LinkedIn',\n  },\n  notificationsService: service('notificationsService'),\n\n  providerName(provider) {\n    return this.providerNameMap[provider];\n  },\n\n  updateSocialAccounts(admin) {\n    return this.store.query('social-account', { admin_id: admin.get('id') });\n  },\n\n  oAuthSuccess(admin, provider) {\n    return this.updateSocialAccounts(admin).then(items => {\n      admin.setSocialAccounts(items);\n      this.notificationsService.notifyConfirmation(\n        `Great, your ${this.providerName(provider)} account is connected`,\n        3000,\n      );\n      return items;\n    });\n  },\n\n  oAuthFailure(provider) {\n    this.notificationsService.notifyError(\n      `Couldn't connect to ${this.providerName(provider)}. Give it another try.`,\n      3000,\n    );\n  },\n\n  deleteSocialAccount(account, admin, provider) {\n    return account.destroyRecord().then(() => {\n      return this.updateSocialAccounts(admin).then(items => {\n        admin.setSocialAccounts(items);\n        this.notificationsService.notifyConfirmation(\n          `Your ${this.providerName(provider)} account has been disconnected`,\n          3000,\n        );\n      });\n    });\n  },\n});\n","define(\"embercom/services/stripev3\", [\"exports\", \"@adopted-ember-addons/ember-stripe-elements/services/stripev3\"], function (_exports, _stripev) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _stripev.default;\n    }\n  });\n});\n","import Service from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\n\nexport default class TagService extends Service {\n  async getMessagesTags(app) {\n    let response = await ajax({\n      type: 'GET',\n      url: '/ember/tags/messages_tag_ids',\n      data: {\n        app_id: app.id,\n      },\n    });\n\n    let messagesTagIds = response.messages_tag_ids;\n    return app.tags.filter(tag => {\n      return messagesTagIds.includes(parseInt(tag.id, 10));\n    });\n  }\n}\n","define(\"embercom/services/text-measurer\", [\"exports\", \"ember-text-measurer/services/text-measurer\"], function (_exports, _textMeasurer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _textMeasurer.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { htmlSafe } from '@ember/string';\nimport Service, { inject as service } from '@ember/service';\nexport default Service.extend({\n  intl: service('intl'),\n\n  localize(keyName, options) {\n    if (window.PHRASEAPP_CONFIG) {\n      return `${window.PHRASEAPP_CONFIG.prefix}phrase_${keyName}${window.PHRASEAPP_CONFIG.suffix}`;\n    } else {\n      return htmlSafe(this.intl.t(keyName, options));\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport { resolve, Promise as EmberPromise } from 'rsvp';\nimport Service, { inject as service } from '@ember/service';\nimport LRUCache from 'embercom/lib/lru-cache';\nimport User from 'embercom/models/user';\n\nconst cacheSize = 100;\n\nexport default Service.extend({\n  _cache: null,\n  _pendingFetches: null,\n  store: service(),\n\n  init() {\n    this._super();\n    this.set('_pendingFetches', {});\n    this.set('_cache', new LRUCache(cacheSize));\n    let store = this.store;\n    this._cache.shift = function() {\n      let entry = LRUCache.prototype.shift.call(this);\n      store.unloadRecord(entry.value);\n      return entry;\n    };\n  },\n\n  willDestroy() {\n    this.clear();\n    this._cache;\n    this.set('_pendingFetches', {});\n  },\n\n  getUser(id) {\n    return this._getUser(id);\n  },\n\n  getUserAndRefreshCache(id) {\n    return this._getUser(id, true);\n  },\n\n  _getUser(id, refreshCache = false) {\n    if (!id) {\n      throw new Error(`Invalid user id ${id}`);\n    }\n    let cachedUser = this._getCachedUser(id);\n    if (!cachedUser) {\n      return this._fetchAndCache(id);\n    }\n    if (refreshCache) {\n      this._fetchAndCache(id);\n    }\n    // check\n    return resolve(cachedUser);\n  },\n\n  _getCachedUser(id) {\n    let cachedUser = this._cache.get(id);\n    if (cachedUser && !cachedUser.isDestroyed && !cachedUser.isDestroying) {\n      return cachedUser;\n    }\n  },\n\n  prefetch(id) {\n    if (!id) {\n      throw new Error(`Invalid user id ${id}`);\n    }\n    let cachedUser = this._getCachedUser(id);\n    if (!cachedUser) {\n      this._fetchAndCache(id);\n    }\n  },\n\n  stuff(records) {\n    records.forEach(record => {\n      this._updateCacheWithUserOrLead(record);\n    });\n  },\n\n  _isUserOrLead(record) {\n    return record && (record.typeLabel === 'User' || record.typeLabel === 'Lead');\n  },\n\n  _updateCacheWithUserOrLead(record) {\n    if (this._isUserOrLead(record)) {\n      this._updateCache(record);\n    }\n  },\n\n  _updateCache(record) {\n    let userId = record.get('id');\n    // we don't need any special casing for records already in the cache\n    // because Ember data will take care of this for us.\n    this._cache.set(userId, record);\n  },\n\n  prefetchForConversation(conversation) {\n    let main_participant = conversation.get('main_participant.id');\n    if (main_participant) {\n      this.prefetch(main_participant);\n    }\n  },\n\n  clear() {\n    this._cache.removeAll();\n  },\n\n  _fetchAndCache(id) {\n    if (this._pendingFetches[id]) {\n      return this._pendingFetches[id];\n    }\n\n    this._pendingFetches[id] = new EmberPromise((resolve, reject) => {\n      User.getMaybeMergedUser(id)\n        .then(user => {\n          delete this._pendingFetches[id];\n          if (user) {\n            this._updateCacheWithUserOrLead(user);\n          } else {\n            this._cache.remove(id);\n          }\n          resolve(user);\n        })\n        .catch(error => {\n          delete this._pendingFetches[id];\n          reject(error);\n        });\n    });\n\n    return this._pendingFetches[id];\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport { later, cancel, debounce } from '@ember/runloop';\nimport { A, isArray } from '@ember/array';\nimport { notEmpty } from '@ember/object/computed';\nimport Service, { inject as service } from '@ember/service';\nimport ENV from 'embercom/config/environment';\nimport ajax from 'embercom/lib/ajax';\nimport { captureException } from 'embercom/lib/sentry';\n\nlet UserPresenceService = Service.extend({\n  store: service(),\n  app: null,\n  isPollingStarted: notEmpty('pollingTimer'),\n  newUserIds: A(),\n\n  start(app) {\n    if (this._isEnabledInEnvironment()) {\n      this.set('app', app);\n      this.pollNexusForData();\n      later(this, this.refreshUserPresenceStatus, ENV.APP.userPresenceRefreshInterval);\n    }\n  },\n\n  stop() {\n    if (this._isEnabledInEnvironment()) {\n      cancel(this.pollingTimer);\n      cancel(this.refreshTimer);\n      this.set('pollingTimer', null);\n      this.set('refreshTimer', null);\n      this.set('app', null);\n    }\n  },\n\n  pollNexusForData() {\n    if (this._isKillswitchEnabled()) {\n      return;\n    }\n    let userIds = this._getAllUniqueUserIdsFromTheCache();\n    this._getLatestUserPresenceFromNexusInBatches(userIds);\n    if (this._isEnabledInEnvironment()) {\n      this.set(\n        'pollingTimer',\n        later(this, this.pollNexusForData, ENV.APP.userPresencePollingInterval),\n      );\n    }\n  },\n\n  refreshUserPresenceStatus() {\n    let self = this;\n    let userIds = self._getAllUniqueUserIdsFromTheCache();\n    userIds.forEach(function(userId) {\n      self._updatePresenceStatusForUser(userId);\n      self._updatePresenceStatusForParticipant(userId);\n    });\n    if (this._isEnabledInEnvironment()) {\n      self.set(\n        'refreshTimer',\n        later(self, self.refreshUserPresenceStatus, ENV.APP.userPresenceRefreshInterval),\n      );\n    }\n  },\n\n  syncParticipantStatusWithUser(user) {\n    this._updatePresenceStatusForParticipant(user.get('id'), user.get('last_request_at'));\n  },\n\n  updateUserPresenceForLoadedObjects(objects) {\n    if (this.isPollingStarted) {\n      if (isArray(objects)) {\n        this.newUserIds.pushObjects(objects.mapBy('id'));\n      } else {\n        this.newUserIds.pushObject(objects.id);\n      }\n      debounce(\n        this,\n        this._getLatestUserPresenceFromNexusInBatches,\n        this.newUserIds.uniq(),\n        ENV.APP._150MS,\n      );\n    }\n  },\n\n  updateUserPresenceForUser(user) {\n    if (this.isPollingStarted) {\n      this._getLatestUserPresenceFromNexusInBatches([user.get('id')]);\n    }\n  },\n\n  _getAllUniqueUserIdsFromTheCache() {\n    let userIds = A();\n    userIds.pushObjects(this._getUserIdsFromCache());\n    userIds.pushObjects(this._getParticipantIdsFromCache());\n    return userIds.uniq();\n  },\n\n  _getUserIdsFromCache() {\n    return this.store.peekAll('user').map(u => u.id);\n  },\n\n  _getParticipantIdsFromCache() {\n    return this.store.peekAll('participant').map(u => u.id);\n  },\n\n  _getLatestUserPresenceFromNexusInBatches(userIds) {\n    this.newUserIds.clear();\n    while (userIds.length > 0) {\n      let data = userIds.splice(0, ENV.APP.userPresencePollingBatchSize);\n      this._getLatestUserPresenceFromNexus(data);\n    }\n  },\n\n  _getLatestUserPresenceFromNexus(userIds) {\n    let request = { type: 'POST' };\n\n    request.url = ENV.APP.userPresenceProxyPollingEndpoint;\n    request.data = JSON.stringify({\n      app_id: this.get('app.id'),\n      users: userIds,\n    });\n\n    return ajax(request)\n      .then(response => {\n        this._updatePresenceStatusForReturnedUsers(response.users);\n      })\n      .catch(e => {\n        if (!e.jqXHR) {\n          captureException(e, {\n            fingerprint: ['user-presence-service', 'getLatestUserPresenceFromNexus'],\n          });\n        }\n      });\n  },\n\n  _flattenUserPresenceResponse(response) {\n    if (response['userData']) {\n      return response['userData'];\n    }\n    return response;\n  },\n\n  _updatePresenceStatusForReturnedUsers(response) {\n    response.forEach(\n      function(userPresenceResponse) {\n        let userId = userPresenceResponse['userId'];\n        let userData = this._flattenUserPresenceResponse(userPresenceResponse);\n        let latestTime = new Date(userData['lastSeen'] * 1000).toISOString();\n        let platform = userData['platform'] || null;\n        let lastVisitedUrl = userData['page'] || null;\n\n        this._updatePresenceStatusForUser(userId, latestTime, platform, lastVisitedUrl);\n        this._updatePresenceStatusForParticipant(userId, latestTime, platform, lastVisitedUrl);\n      }.bind(this),\n    );\n  },\n\n  _updatePresenceStatusForUser(userId, time, platform, lastVisitedUrl) {\n    let user = this.store.peekRecord('user', userId);\n    if (user) {\n      user.updatePresenceStatus(time, platform, lastVisitedUrl);\n    }\n  },\n\n  _updatePresenceStatusForParticipant(userId, time, platform, lastVisitedUrl) {\n    let participant = this.store.peekRecord('participant', userId);\n    if (participant) {\n      participant.updatePresenceStatus(time, platform, lastVisitedUrl);\n    }\n  },\n\n  _isEnabledInEnvironment() {\n    return ENV.environment !== 'test';\n  },\n\n  _isKillswitchEnabled() {\n    return this.get('app.isForbiddenFromUsingUserPresenceService');\n  },\n});\n\nexport default UserPresenceService;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport { getOwner } from '@ember/application';\nimport { isEmpty, isNone } from '@ember/utils';\nimport { computed } from '@ember/object';\nimport Service, { inject as service } from '@ember/service';\nimport ajax from 'embercom/lib/ajax';\nimport Metrics from 'embercom/models/metrics';\n\nexport default Service.extend({\n  realTimeEventService: service('realTimeEventService'),\n  store: service(),\n\n  init() {\n    this._super(...arguments);\n    this.start();\n  },\n\n  start() {\n    this.realTimeEventService.subscribeTopics([`user-general`]);\n    this.realTimeEventService.on('UserDetails', this, 'updateUserData');\n    this.realTimeEventService.on('CompanyDetails', this, 'updateCompanyData');\n    this.realTimeEventService.on('UserMerged', this, 'updateParticipant');\n  },\n\n  willDestroy() {\n    this.realTimeEventService.off('UserDetails', this, 'updateUserData');\n    this.realTimeEventService.off('CompanyDetails', this, 'updateCompanyData');\n    this.realTimeEventService.off('UserMerged', this, 'updateParticipant');\n    this.realTimeEventService.unsubscribeTopics([`user-general`]);\n  },\n\n  app: computed(function() {\n    return getOwner(this)\n      .lookup('route:apps/app')\n      .get('app');\n  }),\n\n  updateUserData(userData) {\n    let user = this.store.peekRecord('user', userData.id);\n    if (user) {\n      this.updateData(user, userData);\n    }\n\n    let participant = this.store.peekRecord('participant', userData.id);\n    if (participant) {\n      this.updateData(participant, userData);\n    }\n  },\n\n  updateCompanyData(companyData) {\n    let company = this.store.peekRecord('company', companyData.id);\n    if (!company) {\n      this.store.createRecord('company', companyData);\n      return this.updateCompanyData(companyData);\n    }\n    this.updateData(company, companyData);\n    return company;\n  },\n\n  updateData(model, data) {\n    let userDetailsDidUpdate = false;\n    let displayAsDidUpdate = false;\n\n    Object.keys(data).forEach(attribute => {\n      let newValue = data[attribute];\n      let currentValue = model.get(attribute);\n      if (this._shouldUpdateAttribute(attribute, newValue, currentValue)) {\n        try {\n          if (attribute === 'companies') {\n            let hadNoCompanies = isEmpty(currentValue);\n            newValue.forEach(companyData => {\n              let company = this.updateCompanyData(companyData);\n              if (hadNoCompanies) {\n                currentValue.addObject(company);\n              }\n            });\n          } else {\n            model.set(attribute, newValue);\n          }\n          userDetailsDidUpdate = true;\n          displayAsDidUpdate = displayAsDidUpdate || attribute === 'display_as';\n        } catch (e) {\n          Metrics.capture({ increment: ['user_updater_service_error'] });\n        }\n      }\n    });\n\n    if (userDetailsDidUpdate) {\n      model.set('_lastEdit', new Date());\n    }\n\n    model.setProperties({ userDetailsDidUpdate, displayAsDidUpdate });\n  },\n\n  updateParticipant(event) {\n    let lead = this.store.peekRecord('participant', event.leadId);\n    if (lead) {\n      this.updateParticipantConversations(event);\n      ajax({\n        url: `/ember/participants/${event.userId}.json`,\n        type: 'GET',\n        data: { app_id: event.appId },\n      }).then(response => {\n        let userData = response.participants[0];\n        if (userData) {\n          this.updateData(lead, userData);\n        }\n      });\n    }\n  },\n\n  updateParticipantConversations(event) {\n    let allConversations = getOwner(this)\n      .lookup('controller:apps/app/inbox/inbox/conversations')\n      .get('query.content');\n    if (allConversations) {\n      let conversations = allConversations.filterBy('main_participant.id', event.leadId);\n      conversations.forEach(conversation => {\n        conversation.syncedPartList.sync();\n        conversation.set('lead_shares_email_with_user', false);\n      });\n    }\n  },\n\n  _shouldUpdateAttribute(attribute, newValue, currentValue) {\n    if (attribute === 'eventName') {\n      return false;\n    } else if (isNone(newValue) && isNone(currentValue)) {\n      return false;\n    } else {\n      return !_.isEqual(newValue, currentValue);\n    }\n  },\n});\n","export default {\n  \"accordion\": {\n    \"chevron-right\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M4 2.768L5.768 1l7.248 7.248-7.248 7.248L4 13.728l5.48-5.48z\\\"/></svg>\"\n  },\n  \"answer-bot\": {\n    \"arrow-curved\": \"<svg width=\\\"56\\\" height=\\\"46\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M55.04.587L1.2 1.651l.859 43.425 53.838-1.064z\\\"/><path d=\\\"M47.32 7.717l-.517.733-.143.893-.427.774-.354.798-.395.78-.473.743-.185.893-.634.767-.584.795-.414.894-.39.903-.338.932-.536.833-.622.76-.348.956-.674.73-.55.815-.583.792-.622.768-.7.694-.687.71-.906.472-.577.751-.782.53-.597.734-.617.723-.886.39-.767.54-.679.662-.708.627-.802.401-.649.628-.882.283-.753.462-.662.638-.904.18-.812.373-.695.6-.879.218-.797.393-.822.35-.813.348-.989.327-.982.378-.955.47-1.051.142-.965.446-1.036.197-1.022.227-1.053.086-1.005.361-1.045-.138-1.02.231-1.024.116-1.042-.148-1.009.308-1.03.074-1.033-.055-1.026.159-1.035-.003-.912-.06\\\" stroke=\\\"#888\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"/><path d=\\\"M39.468 8.19l.716-.1.727-.012.757.105.787-.406.791-.356.635-.396.698-.25.813-.195.789-.284L47.297 6l.846-.599.944-.6-.154 1.016.215 1.269.326.768.206.834.197.85-.087.9.377.902.302.918.369.892.283.619.412.55\\\" stroke=\\\"#888\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"/></svg>\",\n    \"arrow-with-loop\": \"<svg width=\\\"132\\\" height=\\\"26\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M75.425.088A1.588 1.588 0 0 0 75.199 0s.257.072.374.133l.204.098a2.964 2.964 0 0 1-.2-.06s-.076-.04-.152-.083zM37.975 11.25c.02.052.034.091.033.097l-.033-.097zm-.097-.246c.037.084.072.177.097.246a6.5 6.5 0 0 0-.164-.382l-.055-.142.122.278zM3.893 7.334l.094-.01-.09.023c-.111.028-.219.03-.279.003.084.004.18 0 .275-.016zm.23-.024l.138-.015-.117.036c0-.01-.01-.017-.02-.02zm19.532 13.174h-.002l.027-.072-.025.072zm8.424 2.973c.064-.035.141-.071.21-.1l-.082.044c-.122.054-.181.088-.128.056zM78.974 1.55l.002-.04.121.037-.123.003zm-4.029-.1c.013.011.033.027.075.058a.302.302 0 0 1-.075-.058zM25.42 14.206c-.012.023-.025.036-.037.06a.316.316 0 0 1 .037-.06zm-.822 3.283c-.01-.018-.01-.04.003-.073.019-.004.042-.015.064-.012-.03.055-.036.088-.03.104l-.02.128a.767.767 0 0 1-.017-.147zm53.1-16.095c-.014.006-.042.006-.077-.002.012-.005.086-.001.076.002zM23.892 19.512l-.006.055.006-.055zm-.058.428c-.034.15-.078.27-.119.377a3.93 3.93 0 0 0 .105-.346c.043-.19.06-.33.066-.404a2.544 2.544 0 0 1-.052.373zm-.119.377c-.02.058-.036.095-.036.095l.036-.095zM6.588 6.711c-.053.012-.104.015-.155.02-.019-.02-.026-.041.003-.06.035.032.08.05.152.04zm17.357 18.11c.04-.01.096 0 .152.009-.012.011-.046.015-.152-.01zm11.52-1.965a.288.288 0 0 0 .015-.018c.11-.08.053-.03-.015.018zm88.823-14.57c-.005-.012.004-.018.003-.028.037.02.048.031-.003.027zM6.454 6.756a1.045 1.045 0 0 1-.242-.01l.221-.015c.007.008.012.017.021.025zM109.59 4.66l-.429-.03c.65-.057-.437-.13-.445-.283.152.071.318.146.514.181.136.024.268.066.401.105.032.01.065.016.097.025l-.138.002zM97.97 2.612c.085.005.19.006.288.005.03.016.06.03.095.051a4.067 4.067 0 0 1-.383-.056zM4.147 7.123a.242.242 0 0 1-.126-.028l.05-.014c.225-.055.451-.109.678-.161-.07.087-.246.207-.602.203zM34.207 22.1c-.034.039-.07.076-.1.116a.76.76 0 0 0-.292.076.58.58 0 0 1 .215.03l-.05.073c-.077.111-.15.216-.218.27-.141.113-.298.21-.455.307a8.482 8.482 0 0 0-.274.174 1.263 1.263 0 0 1-.316.112 6.028 6.028 0 0 0-.178.052c0-.017-.004-.032.016-.06l.207-.093c-.042-.11-.274.088-.473.202.11-.046.23-.09.246-.072l-.235.114-.026.014c-.023.011-.046.018-.07.03-.203.112-.41.202-.62.294l-.428.196c-.102.047-.208.09-.31.133-.074.015-.137.021-.222.049-.165.058-.307.118-.435.17-.121.035-.239.076-.362.107a9.379 9.379 0 0 1-.84.156c-.177.026-.352.026-.532.029a7.3 7.3 0 0 0-.294.005c-.122.004-.234.03-.34.06a2.664 2.664 0 0 0-.44-.137c-.332-.05-.584-.005-.724-.017-.074-.004-.063-.019-.092-.033l-.261-.125c-.023.043.004.088.065.133.048.037.188.11.202.108.03.041.4-.077.805-.023.183.034.282.081.332.129-.03.01-.063.018-.091.029-.072-.02-.15-.04-.25-.053-.327-.025-.574.02-.715.026l-.064-.013-.081-.015-.682-.293c-.24-.123-.47-.261-.709-.39-.276-.177-.535-.344-.639-.474l-.177-.402c-.152-.085-.347-.304-.486-.442-.139-.143-.217-.285-.202-.338l-.109-.582c-.038-.158-.035-.375-.114-.597.066.042.112-.045.143-.196.016-.058.023-.209.036-.23.026-.07.054-.146.085-.224-.08.055-.079-.026-.063-.13.015-.104.04-.23-.03-.156.077-.099.183-.372.226-.582.034-.17.073-.353.108-.524.017-.138.2-.498.065-.538.06.002.123-.043.187-.134a1.33 1.33 0 0 0 .168-.37c.08-.268.118-.51.203-.601a.24.24 0 0 1 .083-.033c.028-.077.124-.182.257-.33a2.617 2.617 0 0 0 .378-.546l.234-.416.14-.218c.056-.097.101-.19.139-.274 0 .162.122-.024.226-.172l.08-.106c.054-.07.108-.143.158-.21.09-.129.154-.22.2-.26-.043.047-.152.179-.15.133.008-.137.146-.309.256-.375.106-.07.324-.181.493-.377.09-.136-.005-.124.016-.19.022-.019.048-.035.07-.055.019-.02.036-.042.055-.063.079.008.288-.046.758-.396.376-.365.447-.597.469-.689l.035-.025c.046-.036.082-.086.124-.128l.223-.075a1.74 1.74 0 0 0 .55-.311c.35-.337.457-.588.5-.598l.585-.354.169-.101c.032-.016.011-.008.042-.022.047-.02.148-.047.293-.086a2.04 2.04 0 0 0 .558-.225c.203-.126.326-.25.43-.346.238-.222.176-.162.484-.308l.35-.154c.112-.047.253-.11.307-.118-.012.005-.05-.03-.158-.026l-.203.002c.424-.375.667-.315.92-.326h.193a.39.39 0 0 0 .109.034c.09.01.203.012.513-.099.161-.058.39-.17.54-.271.154-.1.269-.19.355-.25l.107-.074c.02-.013.01-.009.051-.03l.007-.004c.03.053.068.103.099.157l.056.094-.003.019a.607.607 0 0 0 .043.048c.032.053.062.107.096.16.086.131.19.253.296.374a1.9 1.9 0 0 1 .245.318l.143.257c.096.17.193.34.269.515v.002c-.01.026.01.095.065.206l.042.194c.031.153.063.304.112.45l.059.17c.075.217.151.435.206.656.02.074.006.195-.007.324a2.098 2.098 0 0 0-.004.556c.034.206.115.38.188.534.051.11.105.224.11.298.01.136.032.273.054.41.024.153.051.306.05.456-.003.143-.036.286-.066.43l-.013.073c-.042.102-.08.221-.101.364l-.007.071.015-.07c.014-.056.036-.102.056-.151-.009.048-.02.098-.026.145-.013.12-.057.258-.105.404-.046.143-.092.285-.121.43-.029.146-.086.281-.14.418-.051.125-.1.252-.14.382-.066.217-.054.425-.043.608.006.098.014.232-.005.28-.054.132-.137.253-.217.376-.08.12-.158.243-.224.368-.072.14-.166.266-.259.394-.077.105-.154.21-.222.319-.06.094-.157.19-.26.292-.113.11-.223.22-.317.345-.092.12-.17.25-.246.38-.075.128-.145.249-.225.338a9.896 9.896 0 0 1-.603.609c-.032.03-.055.061-.082.092l-.055.024c.013 0 .019.002.03.003zm2.78-15.243a.165.165 0 0 1-.015.01l-.007.001c.006-.004.017-.006.021-.011zM98.803 1.81l-.034-.018h.057c-.011.004-.013.014-.023.018zm2.39.374l.056.007-.011-.015c.01.008.035.01.058.01l-.034.005h-.013l.002.001a.735.735 0 0 1-.177.004l-.181-.03c-.09-.055-.184-.125-.289-.193.269.097.468.193.589.211zm-.037-.218a.193.193 0 0 1 .026.09l-.009-.023-.279-.118c.035-.022.138-.011.262.051zm30.804 7.687a6.805 6.805 0 0 1-.073-.233 3.647 3.647 0 0 0-.271-.706 4.46 4.46 0 0 0-.38-.579 4.841 4.841 0 0 1-.19-.266c-.054-.08-.089-.175-.129-.269a2.752 2.752 0 0 0-.34-.626 5.42 5.42 0 0 0-.418-.462c-.085-.088-.173-.175-.252-.27a6.52 6.52 0 0 1-.231-.286 6.832 6.832 0 0 0-.389-.472 4.37 4.37 0 0 0-.455-.408c-.095-.077-.192-.153-.277-.239a4.416 4.416 0 0 0-.455-.389c-.098-.076-.199-.152-.287-.238-.04-.04-.099-.145-.151-.237-.096-.17-.214-.38-.406-.563a11.5 11.5 0 0 0-.388-.354c-.109-.096-.216-.19-.319-.288-.187-.178-.395-.294-.561-.387a1.507 1.507 0 0 1-.233-.145c-.106-.104-.194-.22-.28-.33a4.654 4.654 0 0 0-.317-.377.742.742 0 0 0-1.04-.022.72.72 0 0 0-.022 1.029c.074.077.141.165.212.256.126.162.259.33.417.482.176.17.369.278.54.374.109.061.212.118.264.168.115.109.234.215.357.324.115.102.233.206.348.315.033.033.097.144.142.225.095.17.213.38.401.563.129.126.272.238.416.35.105.082.213.163.306.257.125.126.263.24.402.353.104.084.21.166.301.265.109.117.208.245.306.372.091.117.181.234.277.344.101.118.209.23.317.34.108.11.215.217.304.332.052.066.101.183.154.308.026.062.061.115.088.175a1.524 1.524 0 0 0-.32-.087 6.199 6.199 0 0 0-.154-.004l-.017-.001a2.338 2.338 0 0 0-.315.006c-.115.006-.232.01-.296-.008l-.897-.267c-.123-.07-.249-.147-.395-.228l-.043.07c-.084-.034-.17-.062-.255-.092-.035-.028-.067-.059-.081-.07.005.017-.006.026-.027.031-.027-.009-.054-.022-.083-.03a1.332 1.332 0 0 1-.295-.161 2.107 2.107 0 0 0-.553-.278 2.156 2.156 0 0 0-.609-.066c-.132-.002-.257-.003-.342-.027-.129-.037-.251-.092-.375-.146a3.943 3.943 0 0 0-.506-.19 4.162 4.162 0 0 0-.525-.104c-.134-.02-.269-.04-.399-.075a3.584 3.584 0 0 0-.541-.095c-.069-.008-.135-.023-.203-.033-.011-.006-.019-.013-.032-.019-.224-.097-.448-.113-.461-.118-.027-.01-.056-.018-.084-.029a4.875 4.875 0 0 0-.5-.17c-.119-.03-.23-.089-.343-.143a2.83 2.83 0 0 0-.534-.214 2.468 2.468 0 0 0-.596-.057c-.134 0-.26-.002-.355-.025-.075-.019-.178-.082-.288-.149-.163-.1-.348-.214-.578-.268a2.077 2.077 0 0 0-.624-.03c-.13.008-.254.015-.336-.003a6.992 6.992 0 0 1-.409-.113 7.143 7.143 0 0 0-.499-.135 15.202 15.202 0 0 0-.502-.1c-.14-.026-.28-.053-.419-.083-.123-.026-.24-.077-.358-.125a3.097 3.097 0 0 0-.538-.18 3.297 3.297 0 0 0-.56-.051c-.129-.003-.259-.005-.384-.03a5.962 5.962 0 0 0-.512-.073c-.14-.015-.281-.03-.419-.057a12.699 12.699 0 0 0-.492-.083 6.704 6.704 0 0 1-.852-.172 7.282 7.282 0 0 0-.497-.115c-.107-.02-.217-.033-.325-.046-.54-.14-1.06-.27-1.609-.351a2.213 2.213 0 0 1-.226-.096 2.203 2.203 0 0 0-.573-.207 2.24 2.24 0 0 0-.611 0 1.447 1.447 0 0 1-.343.009 4.468 4.468 0 0 1-.41-.099 5.507 5.507 0 0 0-.503-.118c-.039-.007-.078-.005-.117-.01-.07-.038-.144-.082-.218-.125.041.04.106.082.173.122-.115-.012-.228-.025-.343-.028a1.501 1.501 0 0 0-.554-.237c-.264-.063-.49-.084-.714-.157l-.816-.229c-.454-.085-.777.003-.909-.035-.015.026-.03.054-.068.075-.046.034-.113.06-.291.015-.029-.006-.075-.018-.11-.027l-.049-.023c-.171-.087-.364-.187-.598-.223a1.599 1.599 0 0 0-.382-.006c.284-.138-.134-.076-.12-.224-.148.027-.288.033-.299.023-.068-.009-.355-.115-.426-.065a1.82 1.82 0 0 0-.698-.117 1.435 1.435 0 0 0-.434-.047l.064.018c-.025.022-.054.034-.084.047-.168.013-.251-.01-.515-.047-.22-.027-.418-.048-.568-.09-.25-.07-.532-.26-.867-.378.56.322-.18.19-.223.337-.039-.001-.079.003-.116-.001a1.601 1.601 0 0 0-.368-.001 5.547 5.547 0 0 0-.479 0c.027.012.07.028.098.048a.965.965 0 0 1-.206.01c-.132-.016-.262-.05-.393-.081l-.047-.01a.294.294 0 0 1-.084-.063.181.181 0 0 1-.055.035c-.115-.025-.229-.055-.345-.067a1.284 1.284 0 0 1-.31-.11 2.028 2.028 0 0 0-.604-.185 3.292 3.292 0 0 0-.564.005c-.13.008-.256.021-.384.008a2.069 2.069 0 0 0-.439.012 1.118 1.118 0 0 0-.392-.051c.162-.004.213.041.18.072-.058.007-.11.008-.163.01-.567-.132-.61-.35-1.328-.505l.132.15c-.201-.017-.42-.01-.573-.033a3.882 3.882 0 0 0-.604-.076c-.203-.01-.348-.016-.44-.01-.112 0-.204.016-.209.07.114-.153-.236-.235-.685-.286-.273-.03-.591.008-.779.024a4.104 4.104 0 0 1-.235.014.386.386 0 0 1-.113-.015c.113.039.09.098.1.136-.108-.044-.357-.24-.918-.308a12.395 12.395 0 0 0-.94-.088c-.613.025-.89.223-.961.202-.246.008-.492.013-.737.008a1.791 1.791 0 0 0-.271-.036l-.42-.017a1.868 1.868 0 0 0-.13-.1c-.255-.196-.755-.26-1.036-.193-.012.002.265.07.277.07-.207.027-.34.05-.424.052-.093.002-.07 0-.156-.019-.157-.033-.421-.165-.853-.182l-1.107.034.016.16c-.352-.078-.795-.075-1.15-.162-.153.072-.394.105-.627.115-.194.014-.463-.066-.906-.096-.565.014-.9.217-.964.163a12.976 12.976 0 0 0-.909.013c-.04.007-.104-.003-.284-.05-.144-.038-.438-.114-.68-.076a1.265 1.265 0 0 0-.376.12l-.206-.248c-.168.059-.3.107-.346.114-.026.002-.022.006-.131-.003-.184-.023-.57-.074-.788.047.003-.003.193.004.19.007.037.119-.192.088-.426.097-.242.005-.488.017-.617.056a.38.38 0 0 1-.141-.028.576.576 0 0 1-.148-.056c-.074-.042-.084-.09.03-.118-.752.097-1.684.205-2.553.182l-.161.003-.113.005-.276-.002A3.525 3.525 0 0 0 68.17.4c-.363.056-.675.116-.901.209-.339.013-.66.026-.972.04-.439.05-.74.166-.818.128-.034-.01-.03-.018-.08-.038l-.235-.087a1.865 1.865 0 0 0-.437-.098 2.092 2.092 0 0 0-.486.021c-.542.107-.667.122-1.204.185l.023.034c-.372.057-.981.225-1.323.398a.5.5 0 0 0-.034.003l-.934.112a1.79 1.79 0 0 0-.36.091l-.125-.025a8.43 8.43 0 0 0-1.405-.053c-.435.059-.735.289-.851.35-.024.015.247-.015.266-.026-.029.02-.048.026-.075.042-.077.022-.153.05-.233.06-.054.008-.11.01-.164.015a7.702 7.702 0 0 1-.361-.039c-.103.011-.054.043-.022.073-.123.008-.246.016-.37.033-.025.004-.047.014-.072.018-.114-.012-.225-.029-.346-.021l.12.067c-.27.076-.601.156-.86.152-.155.001-.347-.01-.582.005-.198.02-.28.004-.496-.005a4.093 4.093 0 0 0-.328-.01l-.193.013-.145.012-.577.056c-.385.04-.757.107-1.114.185.27-.028.145.093.05.153l-.016-.003c-.393-.038-.895.233-.91.167-.01-.008-.076-.017-.244-.043-.152-.021-.405-.062-.705-.01-.508.105-.753.212-.883.207-.02.01.294.033.31.025l-.303.043c-.096.02-.195.05-.272.078-.16.059-.275.127-.389.195l-.026.014c-.066.016-.131.033-.197.047-.166.036-.33.081-.496.125-.033.01-.065.017-.098.025a5.2 5.2 0 0 1 .34-.198c-.545.23-.726.214-.69.076-.053.055-.136.107-.16.152-.022.023-.05.043-.135.06-.087.022-.222.012-.562.084-.019.041.23.006.376.022a.441.441 0 0 1 .157.03 4.247 4.247 0 0 0-.112.062l-.175.036a1.415 1.415 0 0 0-.233.072c-.05.024-.108.047-.17.07-.19.064-.373.127-.477.161l-.032.008c.334-.13.187-.152-.01-.168-.225-.006-.457.01-.189-.129-.626.239.128.24.142.309-.041.01-.082.016-.123.026a1.288 1.288 0 0 1-.317.005 6.099 6.099 0 0 0-.217-.005.86.86 0 0 0-.316.03c-.031.005-.06.004-.092.012-.009.002-.015.006-.024.009a.202.202 0 0 1-.076.004c-.045-.008.051-.088.158-.196l-.096.021-.143.043a2.69 2.69 0 0 0-.243.1l-.331.174-.105.05-.039.016-.086.03-.34.12c-.027.008-.051.018-.077.028a1.584 1.584 0 0 0-.388.055 2.192 2.192 0 0 0-.374.15c-.14.019-.3.041-.507.101a1.459 1.459 0 0 0-.358.169c-.032.021-.051.037-.079.057-.147.028-.295.056-.437.1a4.15 4.15 0 0 0-.498.207c-.118.055-.234.112-.355.151-.12.04-.247.063-.374.086-.18.034-.36.07-.53.13a5.489 5.489 0 0 0-.485.2 5.62 5.62 0 0 1-.368.156c-.17.06-.33.144-.492.23-.113.059-.226.12-.344.166-.113.042-.235.062-.355.084-.168.032-.36.068-.55.143-.06.024-.112.055-.167.084-.151.05-.321.123-.461.194a1.609 1.609 0 0 1-.323.12l-.338.071c.233-.008.386 0 .578-.047-.032.018-.064.037-.093.05-.088.037-.172.081-.257.123-.216.015-.442.021-.617.079a1.526 1.526 0 0 0-.095.243c-.014.003-.024.008-.039.011a8.133 8.133 0 0 0-.138-.152c-.076-.081-.144-.172-.213-.262a3.35 3.35 0 0 0-.413-.47 10.454 10.454 0 0 0-.742-.621c-.224-.165-.482-.208-.689-.242-.098-.017-.22-.037-.31-.09a6.738 6.738 0 0 0-.824-.438c-.098-.041-.19-.099-.286-.155-.17-.1-.361-.215-.592-.289a5.059 5.059 0 0 0-.595-.136 5.815 5.815 0 0 1-.358-.072l-.297-.077a9.049 9.049 0 0 0-.64-.154 11.192 11.192 0 0 0-.633-.094l-.32-.044c-.125-.018-.249-.043-.375-.068a6.346 6.346 0 0 0-.572-.098 8.112 8.112 0 0 0-.565-.038l-.221-.012a.144.144 0 0 0-.062-.051c-.063-.028-.135-.042-.175-.054-.105-.024-.242-.051-.315-.105-.201-.012-.204.04-.233.077-.043.045-.07.039-.49.025-.313.013-.344-.051-.328-.124a.915.915 0 0 1-.148.091c-.106-.014-.212-.034-.318-.038-.133-.005-.265-.026-.397-.046a4.293 4.293 0 0 0-.552-.058c-.24-.003-.442.056-.626.108a1.089 1.089 0 0 1-.477.035c-.125-.026-.25-.06-.399-.093a1.91 1.91 0 0 0-.566-.052l.026.03c-.127.005-.253.01-.38.018l-.236-.061a.75.75 0 0 0 .108.067c-.098.006-.196.013-.292.016-.084.001-.144-.007-.152-.007l.054.02a4.25 4.25 0 0 0-.477.065c-.03.006-.06.008-.09.014-.12-.028-.255-.048-.34-.063-.097-.022-.172-.055-.209-.105l.023.033a23.11 23.11 0 0 0-.755.1c-.2.012-.396.028-.583.044l-.312.026c-.135.01-.27.009-.406.008-.17 0-.34-.002-.508.013a3.94 3.94 0 0 0-.518.09c-.126.027-.25.056-.376.068-.134.012-.269.015-.404.018a6.086 6.086 0 0 0-.502.024 2.172 2.172 0 0 0-.57.158 1.528 1.528 0 0 1-.3.093l-.076-.017a.322.322 0 0 1-.067-.031c-.147.052-.209.078-.224.094l-.197.023-.338.042c-.3.036-.607.002-.904.04a3.906 3.906 0 0 0-.515.114c-.054.015-.109.024-.163.037-.016-.008-.082.004-.243.051a9.219 9.219 0 0 1-.364.038c-.165.014-.331.028-.496.053-.08.013-.198-.002-.32-.015-.178-.021-.377-.046-.595-.01-.171.027-.34.073-.506.121-.125.035-.249.071-.375.093a2.547 2.547 0 0 0-.54.173 1.82 1.82 0 0 1-.326.113c-.073.013-.187 0-.31-.014a1.982 1.982 0 0 0-.61-.001c-.167.033-.33.076-.493.12-.128.034-.257.069-.387.095a2.068 2.068 0 0 0-.559.229c-.107.058-.21.113-.287.13-.078.017-.194.01-.317.003-.18-.01-.384-.022-.6.028a57.93 57.93 0 0 0-.878.21 9.64 9.64 0 0 0-.488.136 10.4 10.4 0 0 1-.383.109c-.163.043-.324.1-.485.156-.124.044-.247.09-.376.124-.166.045-.33.096-.494.147a9.816 9.816 0 0 1-.37.112c-.118.034-.243.05-.366.068a3.663 3.663 0 0 0-.526.104.485.485 0 1 0 .285.928c.123-.037.252-.054.38-.072.17-.024.338-.05.5-.096.132-.038.262-.078.392-.119.153-.047.306-.095.46-.138.151-.04.3-.093.449-.146.123-.044.247-.087.372-.121.03.017.056.028.1.055.04-.032.054-.066.054-.1a19.7 19.7 0 0 0 .292-.083c.072-.022.146-.041.218-.061.3.038 1-.087 1.452-.197-.158-.011-.503.044-.497-.04l.132-.032a1.32 1.32 0 0 1 .32-.004c.176.01.377.021.587-.025.103-.022.197-.056.284-.095.029 0 .056-.003.084-.003-.018-.004-.03-.01-.048-.014.08-.036.155-.075.224-.112l.057-.03a.83.83 0 0 0 .124-.01c.049-.036.088-.067.117-.094.146-.03.29-.068.435-.107.14-.037.282-.076.425-.104.074-.012.189 0 .31.013.053.006.112.01.17.015-.142.09-.32.192-.426.18l.054.032c.208-.058.354-.137.469-.203.106.004.217.001.333-.02.196-.036.37-.108.524-.17.12-.05.236-.098.332-.114a4.63 4.63 0 0 0 .475-.116c.13-.037.261-.075.394-.096.08-.012.2 0 .323.015.175.02.372.043.583.011.143-.02.287-.033.432-.045.152-.013.303-.026.455-.047a4.02 4.02 0 0 0 .49-.11c.082-.022.166-.039.248-.056-.074.032-.103.057.067.055.023-.002.076-.005.137-.018-.042-.024-.034-.047-.004-.071.273-.027.553-.004.83-.037l.883-.107c.21-.024.394-.094.556-.155.118-.046.231-.09.316-.097.14-.015.281-.017.423-.02a6.59 6.59 0 0 0 .474-.022c.167-.016.333-.051.498-.088.13-.029.258-.059.388-.07.139-.011.278-.01.418-.009.163.003.325.001.488-.011l.32-.026c.195-.017.398-.034.61-.047.088-.001.22.014.354.035.174.027.37.06.582.048.17-.008.342-.04.515-.074.135-.027.272-.056.412-.06.14-.004.282-.013.425-.022.167-.01.336-.021.508-.024.088-.012.212.03.342.062.349.088.836.086 1.186-.013.128-.037.262-.067.336-.07.14.002.279.025.419.046.17.026.34.05.511.057.144.006.287.03.429.053.165.028.332.054.498.064l.359.017c.19.009.38.016.569.032.143.012.286.018.429.025.167.007.333.013.497.032.164.019.326.052.486.084.143.029.284.057.426.078l.339.046c.193.025.385.05.574.085.195.037.383.088.57.138l.316.082c.14.034.28.06.416.085.162.03.32.056.472.105.123.04.251.115.387.196.134.08.267.157.404.216.253.107.473.238.751.405.204.121.429.158.61.188.084.014.227.038.263.063.081.06.155.132.235.198.073.14.164.312.334.498.157.153.309.255.431.351a3.35 3.35 0 0 0-.512.182c-.176.086-.351.177-.525.268l-.3.155c-.07.036-.137.08-.205.12l-.205.062.038.034c-.029.019-.06.034-.089.052-.034.022-.069.041-.104.062-.027.009-.045.017-.074.026-.127.042-.248.091-.342.128-.206.083-.4.185-.504.354l.576-.296a4.634 4.634 0 0 0-.348.227c-.103.075-.206.152-.317.214-.178.1-.319.229-.444.345-.026.003-.058.016-.113.058.001.02.004.025.005.039a1.23 1.23 0 0 1-.176.138c-.06.036-.176.061-.288.086-.19.043-.407.092-.61.221-.098.063-.2.123-.3.184-.066.04-.13.082-.197.122-.13.048-.257.092-.397.136-.027.051.041.04.041.04-.114.095-.2.19-.271.276-.033.028-.068.053-.1.08a3.842 3.842 0 0 1-.29.24c-.024.018-.041.04-.064.058l-.022.006c-.12.029-.295.056-.494.144-.228.098-.4.263-.494.436-.006 0 .181-.171.184-.167-.248.36-.373.667-.51.734-.126.09-.323.178-.479.298-.153.113-.27.286-.2.374-.053.09-.011.05.09-.034-.016.017-.031.036-.048.053-.086.082-.183.151-.278.222-.087.064-.164.138-.246.207-.137.045-.31.158-.47.453.023-.028.034-.012.069-.022l-.009.015c-.092.134-.177.271-.266.388l-.17.215a4.293 4.293 0 0 0-.156.232c-.106.126-.213.25-.311.384a2.028 2.028 0 0 1-.23.252c-.128.13-.272.276-.388.462l-.084.131c-.026.042-.049.085-.075.127l-.003-.013c-.164.13-.224.27-.188.3.004.005.016-.002.02 0-.05.088-.108.174-.155.264-.052.099-.12.191-.186.285a2.727 2.727 0 0 0-.318.529c-.085.202-.129.41-.167.593-.024.112-.047.224-.081.33l-.08.239c-.076.22-.15.443-.202.67l-.029.124a7.91 7.91 0 0 0-.164.876c-.014.128-.003.248.014.363a.616.616 0 0 0 .005.219c-.066.014-.087.294-.037.683.026-.443.076-.443.138-.44.02.073.043.145.048.216.007.078-.008.184-.022.295-.03.23-.068.515.036.806.072.201.197.34.324.461.08.116.167.222.247.306.004.006.072.041.15.105.029.047.058.095.086.144.032.056.072.118.108.177.01.122.09.304.277.498.258.254.514.373.477.41.033.006.065.012.097.02.071.058.14.119.228.167.226.123.462.196.69.267a5.8 5.8 0 0 1 .244.078c.095.033.193.058.291.084.231.084.452.167.673.261.555.101.87-.005.94.056.1.007.384.198.958.166l.009-.001-.012-.129-.02-.205.015-.002a1.823 1.823 0 0 1 .474-.058c.147-.001.29.01.435.018.236-.004.432-.068.605-.155l.129-.024c-.056.064-.013.048.281.053-.119.04-.236.063-.434.112-.177.04-.454.109-.662.112 0 0 .054.01.147.019.101.001.234-.005.355-.017.246-.026.434-.04.434-.04l-.187.047c-.12.03-.298.082-.511.113-.213.023-.363.006-.503.011h-.22c.61.092.573.06.337.211.11.007.208.007.296.004.101-.007.212-.035.29-.059.163-.05.268-.109.363-.16.093-.052.176-.1.264-.13l.523-.137c.246-.151-.064-.155.19-.333l.172-.042c.128-.041.44-.073.797-.227.355-.172.519-.433.717-.487.085-.123-.2.164-.236.092.034-.027.056-.042.084-.066.11-.052.223-.098.331-.157.05-.028.12-.05.197-.071l-.187.142c.174-.117.302-.118.53-.245a1.5 1.5 0 0 0 .358-.168c.083-.054.167-.107.25-.159.017-.01.034-.023.05-.034.169-.033.227.02 0 .191.133-.075.322-.306.249-.358.082-.056.17-.107.247-.168.017-.014.026-.029.042-.042.018-.005.035-.012.054-.014.08-.01.149 0 .214.005a.445.445 0 0 0 .258-.051 1.19 1.19 0 0 0 .25-.165l.084-.076.066-.066.023-.028.1-.13c-.055.039-.118.075-.106.036.155-.18.297-.317.43-.415-.642.573.02-.39-.71.387.007-.254.536-.55.72-.842.429-.293.232.128.471-.005-.046-.034.097-.192.245-.393l-.057.266.222-.242c.096-.113.19-.256.271-.374l-.158.217a1.07 1.07 0 0 1-.183.196c.064-.066.183-.283.232-.423.06-.156.102-.304.144-.429.026-.07.03-.096.076-.183l.14-.282c.085-.181.165-.35.263-.474-.116.118-.36.42-.26.024.036-.058.081-.112.113-.173.05-.098.112-.192.174-.285.104-.159.22-.338.304-.54.01-.03.009-.056.017-.083a.449.449 0 0 0 .102-.191c.053-.128.04-.434.058-.656.023-.074.071.02.102.085-.014-.194.23-.517.331-.97a1.996 1.996 0 0 0-.027-.777l.01-.053c.008.019.016.042.023.048.027.033.039-.063.069-.155-.03.018-.053.008-.068-.023l.002-.01c.012-.11.036-.22.06-.33.052-.16.119-.41.095-.565l.069-.124c-.058-.175-.073-.167-.086-.082a4.853 4.853 0 0 0-.053-.467 3.607 3.607 0 0 1-.045-.331c-.005-.082-.029-.153-.049-.227.008-.053.011-.114.02-.164.037-.219.08-.443-.056-.877-.018-.09-.11-.273-.215-.491-.005-.039-.002-.074-.013-.114a8.6 8.6 0 0 0-.227-.728 1.6 1.6 0 0 1 .052.133c.071.205.122.376.156.186-.096-.171-.193-.39-.294-.6-.019-.074-.039-.149-.055-.226-.037-.182-.079-.389-.166-.591-.053-.12-.12-.234-.182-.35a2.467 2.467 0 0 0-.042-.229 1.626 1.626 0 0 0-.28-.596c-.124-.167-.244-.287-.33-.376l-.108-.113-.133-.16-.035.083-.085-.142a9.307 9.307 0 0 0-.137-.23 2.11 2.11 0 0 1 .174-.052c.236-.04.773-.231 1-.403l.312-.194c.09-.048.106-.061.218-.09.182-.054.599-.087.987-.308.168-.095.287-.183.383-.243l.118-.072.125-.056.75-.312c.035-.014.087-.017.265-.012.151.004.41.02.684-.063l.765-.17c.211.003-.094.093-.102.176.107-.038.155-.092.24-.143.133-.071.33-.195.533-.28 0 0-.017.136-.021.137.11-.101.187-.187.247-.246.067-.063.049-.06.075-.078.016-.016.16-.04.335-.052.09-.008.2-.018.324-.037.062-.01.129-.023.2-.04l.138-.039.52-.14.267-.072c.148-.04.272-.091.373-.138.438-.218.387-.197.764-.31.217-.072.44-.167.569-.26.108-.025.217-.048.327-.07.053-.002.099-.002.156-.007.076-.006.154-.015.236-.029l.178-.034c.12-.029.395.008.813-.066.371-.086.623-.207.86-.256a8.32 8.32 0 0 1 .941-.146c.264-.106.076-.11-.042-.116-.11-.006-.22-.009.096-.1.354-.049.644-.133.84-.133l.275.066-.065-.022c.14.046.363.127.748.078.573-.124.834-.373.866-.366.236-.066.482-.14.73-.214.05-.002.096.004.148-.005a1.26 1.26 0 0 0 .393-.146c.151-.042.3-.087.453-.124.207-.07.497-.055.876-.101.256-.049.49-.01.842-.003l-.085-.01c-.006-.007.012-.017.018-.026.068 0 .134 0 .206-.01.1-.015.192-.042.28-.072-.044.02-.093.043-.143.07.781-.06 1.228-.045 1.694-.06.54-.085.868-.364.92-.323l.228-.013c-.342-.043-.021-.086.233-.155.121.017.248.025.384.014a.153.153 0 0 0 .06.024c.043.014.083.025.222.047.184.005.511.029.798-.032.224-.05.443-.1.657-.15.427-.102.829-.237 1.216-.318.334.09.746.004.786.16.476-.05.833-.177.97-.171l.18.054c.075.022.17.053.3.08.14.03.33.052.501.036.486-.049.832-.24.968-.227l.029-.06c.367.15 1.12-.236 1.374-.13-.041-.067-.183-.086-.153-.143a61.981 61.981 0 0 0 .58.02c-.157-.026-.283-.103-.249-.171.055-.001.112.002.166-.001.083-.006.164-.03.245-.044.134.076-.222.056-.046.154l.135-.17c.011-.002.023-.003.034-.006.367.046.468.25-.019.28 1.54.041 2.54.074 3.983-.098l-.154-.095c.185-.019.348-.045.464-.049.105-.004.138.004.32.038.164.03.373.076.633.065a1.23 1.23 0 0 0 .567-.158c.038.025.223.027.13.102.331-.051.241-.03.258-.068.001-.033-.008-.081.02-.09.023 0 .02.002.044.022-.015-.017-.019-.029-.044-.047a.14.14 0 0 1-.046-.06l.046.007c.053.016.072.038.243.116.074.035.165.077.281.117.126.043.276.075.42.082l.478.031c.007-.039.19-.102.451-.158a2.38 2.38 0 0 0 .642-.194c.08-.007.16-.016.24-.013.065 0 .13-.005.194-.007a.797.797 0 0 1-.121.051.15.15 0 0 1-.033.019l.033.01.22.05a3.94 3.94 0 0 1 .307-.142l.093-.003c.06.024.18.067.32.101l.307.1.011-.127c.149.04.313.079.493.089.164.067.311.132.514.124.223-.017.398-.032.548-.047l.853.032c.178.01.372-.02.558-.047.04-.007.083-.007.123-.012.058.034.14.064.256.084.253.038.51-.015.7-.054.2-.043.303-.06.39-.036.106.025.235.09.282.165.191.032.617.053.792.017.228-.019.467-.03.714-.037.037 0 .065-.007.1-.01a33.367 33.367 0 0 0 .758.048c.164.008.328.007.49.006.148-.002.297-.003.445.005.107.006.234.04.369.074.165.044.354.093.557.105.17.01.34.005.509-.001.143-.005.285-.01.426-.002.178.012.36-.005.542-.024.209.088.405.227.876.182l-.224-.048.44-.058.206-.017.24.001.088.04c.178.08.379.172.62.192a12 12 0 0 0 .468.027c.153.007.309.014.463.027.12.01.237.005.348-.004.306.07.585.164.819.206-.192-.06-.082-.161.228-.132.255.08-.28.218.273.186-.132-.04-.018-.107.107-.102-.018 0 .17.048.22.099l.163.122c.148.025.35.08.621.11.24.012.386-.001.587 0 .325-.005.9.016 1.205-.006.276-.019.59.095 1.077.173.218.032.406.035.567.042.084.034.17.07.267.083.182.025.37.02.556.013.129-.006.258-.014.385.005.161.022.32.05.48.077l.184.03c.105.044.219.085.361.119.285.054.52.02.673.01.174-.015.24-.008.27.008.035.01.163.1.425.24l.167-.09c.067.023.131.048.205.06.035.005.068.002.103.005l.021.008c.215.06.302.111.422.143a.71.71 0 0 0 .448-.063c.035-.012-.002-.021-.129-.02-.12 0-.355.01-.486-.034.089-.017.163-.03.229-.04.13-.012.252-.023.341-.008a.73.73 0 0 1 .13.036l.016.015c.132.093.256.2.737.295l-.055-.07c.024.006.046.015.071.019.154.026.307.056.459.086.144.029.289.057.434.082.003.002.006.006.009.007.064.024.069.036.132.055.018.012.018.019.039.028a.69.69 0 0 0 .147.048c.122.027.26.037.433.04l.138.002a.611.611 0 0 0 .153-.005c.098-.005.159-.017.248-.018.025.007.051.012.077.018a5.5 5.5 0 0 0 .499.119c.075.013.146.013.218.014.116.13-.097.13.042.273.202.043.42.121.638.174.174.04.319.075.466.11.137.035.274.069.44.102.068.012.199.04.331.054.127.014.256.019.378.021.258-.141.144-.15.03-.157-.103-.006-.186-.014-.031-.093.08.02.158.047.238.061.162.03.326.05.492.069l.103.014a.612.612 0 0 1-.175.075c.675.07.368.017.267-.062.081.01.161.02.241.034.144.027.287.064.429.1.16.042.32.082.481.113.154.03.31.054.465.078.153.023.305.048.456.077l.066.009c.032.014.069.026.096.042-.013-.016-.006-.02-.006-.03.084.014.169.026.254.036.085.048.179.108.293.175.054.032.117.065.184.098.069.033.16.067.153.08.039.037.103.085.212.15.154.01.154-.078.204-.12.052-.061.152.01.707.135.081.071.003.144.01.213-.005.067.146.135.451.162.046.004-.626-.16-.255-.208.677.154.127-.033.801-.066.331.228.67.048.752.35.235-.112.26-.102.469-.135.06.016.119.036.179.049l.026.003c.03.022.07.043.103.065.033.036.034.06.112.146.061.079.134.173.094.212.148-.025-.013-.21-.057-.315a.469.469 0 0 1-.023-.082c.094.005.183.005.269.001.1.117.269.272.518.37.289.14.526.273.532.41.331.01.499.014 1.001.026-.067.005-.155-.047-.202-.074.223.062.399.096.549.155.173.062.398.164.674.255.118.046.38.098.538.095l.367.004c.193.01.134.064.145.13.029-.087.033-.143.129-.107.11.039.392.29.768.382.277.073.451.099.232-.094.166.054.372.154.549.25l.128.072.17.07c.099.038.167.062.203.082-.013-.123.266-.126.455-.11.05.006.083.012.13.023.099.026.193.04.278.048.169.015.297.005.386-.023a.607.607 0 0 0 .165.094l.083.038.152.053.24.077c.093.05.193.096.305.13.137.04.269.092.402.145.064.026.13.046.194.07a.27.27 0 0 0 .06.069c.155.044.235.055.276.048l.312.093c.038.054.079.108.14.177.161.07.341.105.457.073l.104.057c.339.165.64.215.85.137 0 0-.092-.015-.259-.023a4.597 4.597 0 0 1-.389-.04 1.8 1.8 0 0 0 .317-.095s.214.046.329.102c.042.024.092.058.134.088-.029.006-.058.007-.087.013a4.716 4.716 0 0 0-.517.16c-.123.044-.247.09-.375.12-.158.036-.317.079-.478.123-.14.04-.282.079-.426.112a1.786 1.786 0 0 1-.318.023c-.185.005-.395.01-.62.063-.178.04-.352.1-.524.16-.121.043-.241.087-.364.114-.156.036-.311.075-.463.115-.147.037-.292.075-.438.107-.136.03-.274.045-.41.06a5.4 5.4 0 0 0-.506.073 14.91 14.91 0 0 1-.539.1l-.36.066a6.841 6.841 0 0 0-.519.129c-.126.035-.244.07-.356.087a.728.728 0 0 0-.613.83.734.734 0 0 0 .841.607c.166-.026.34-.072.525-.124.128-.035.262-.073.405-.1l.336-.062c.189-.033.386-.068.588-.111.117-.025.238-.036.362-.05a5.34 5.34 0 0 0 .568-.086c.161-.035.323-.077.487-.119.139-.036.279-.072.421-.104.178-.04.352-.1.527-.161.12-.042.241-.086.366-.115.079-.018.197-.021.323-.024.184-.005.393-.01.617-.062.164-.038.326-.082.486-.127.139-.038.277-.076.416-.108.186-.043.364-.105.539-.167.118-.042.233-.085.35-.112.14-.031.28-.045.415-.06.175-.019.344-.039.504-.074l.372-.084c.162-.038.309-.07.462-.1a.737.737 0 0 0 .493-.351.718.718 0 0 0 .058-.598z\\\" fill=\\\"#334BFA\\\"/></svg>\"\n  },\n  \"app-store\": {\n    \"hero-icon\": \"<svg width=\\\"50\\\" height=\\\"50\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M21.5 13a1.5 1.5 0 0 1 1.5 1.5v7a1.5 1.5 0 0 1-1.5 1.5h-7a1.5 1.5 0 0 1-1.5-1.5v-7a1.5 1.5 0 0 1 1.5-1.5h7zm0 14a1.5 1.5 0 0 1 1.5 1.5v7a1.5 1.5 0 0 1-1.5 1.5h-7a1.5 1.5 0 0 1-1.5-1.5v-7a1.5 1.5 0 0 1 1.5-1.5h7zm14-14a1.5 1.5 0 0 1 1.5 1.5v7a1.5 1.5 0 0 1-1.5 1.5h-7a1.5 1.5 0 0 1-1.5-1.5v-7a1.5 1.5 0 0 1 1.5-1.5h7zM29 21h6v-6h-6v6zM15 35h6v-6h-6v6zm0-14h6v-6h-6v6zm22 11a1 1 0 0 1-1 1h-3v3a1 1 0 1 1-2 0v-3h-3a1 1 0 1 1 0-2h3v-3a1 1 0 1 1 2 0v3h3a1 1 0 0 1 1 1zM25 48C12.297 48 2 37.703 2 25S12.297 2 25 2s23 10.297 23 23-10.297 23-23 23zm0-48C11.193 0 0 11.193 0 25s11.193 25 25 25 25-11.193 25-25S38.807 0 25 0z\\\"/></svg>\",\n    \"more-apps-cta-icon-small\": \"<svg width=\\\"24\\\" height=\\\"24\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M10.32 6.24a.72.72 0 01.72.72v3.36a.72.72 0 01-.72.72H6.96a.72.72 0 01-.72-.72V6.96a.72.72 0 01.72-.72h3.36zm0 6.72a.72.72 0 01.72.72v3.36a.72.72 0 01-.72.72H6.96a.72.72 0 01-.72-.72v-3.36a.72.72 0 01.72-.72h3.36zm6.72-6.72a.72.72 0 01.72.72v3.36a.72.72 0 01-.72.72h-3.36a.72.72 0 01-.72-.72V6.96a.72.72 0 01.72-.72h3.36zm-3.12 3.84h2.88V7.2h-2.88v2.88zM7.2 16.8h2.88v-2.88H7.2v2.88zm0-6.72h2.88V7.2H7.2v2.88zm10.56 5.28a.48.48 0 01-.48.48h-1.44v1.44a.48.48 0 01-.96 0v-1.44h-1.44a.48.48 0 010-.96h1.44v-1.44a.48.48 0 01.96 0v1.44h1.44a.48.48 0 01.48.48zM12 23.04C5.903 23.04.96 18.097.96 12 .96 5.903 5.903.96 12 .96 18.097.96 23.04 5.903 23.04 12c0 6.097-4.943 11.04-11.04 11.04zM12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0z\\\" fill=\\\"#334BFA\\\" fill-rule=\\\"evenodd\\\"/></svg>\",\n    \"more-apps-cta-icon\": \"<svg width=\\\"32\\\" height=\\\"32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M13.76 8.32c.53 0 .96.43.96.96v4.48c0 .53-.43.96-.96.96H9.28a.96.96 0 0 1-.96-.96V9.28c0-.53.43-.96.96-.96h4.48zm0 8.96c.53 0 .96.43.96.96v4.48c0 .53-.43.96-.96.96H9.28a.96.96 0 0 1-.96-.96v-4.48c0-.53.43-.96.96-.96h4.48zm8.96-8.96c.53 0 .96.43.96.96v4.48c0 .53-.43.96-.96.96h-4.48a.96.96 0 0 1-.96-.96V9.28c0-.53.43-.96.96-.96h4.48zm-4.16 5.12h3.84V9.6h-3.84v3.84zM9.6 22.4h3.84v-3.84H9.6v3.84zm0-8.96h3.84V9.6H9.6v3.84zm14.08 7.04a.64.64 0 0 1-.64.64h-1.92v1.92a.64.64 0 1 1-1.28 0v-1.92h-1.92a.64.64 0 1 1 0-1.28h1.92v-1.92a.64.64 0 1 1 1.28 0v1.92h1.92a.64.64 0 0 1 .64.64zM16 30.72C7.87 30.72 1.28 24.13 1.28 16S7.87 1.28 16 1.28 30.72 7.87 30.72 16 24.13 30.72 16 30.72zM16 0C7.164 0 0 7.164 0 16s7.164 16 16 16 16-7.164 16-16S24.836 0 16 0z\\\" fill=\\\"#334BFA\\\" fill-rule=\\\"evenodd\\\"/></svg>\"\n  },\n  \"appstore\": {\n    \"details\": {\n      \"messenger-big\": \"<svg width=\\\"40\\\" height=\\\"40\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8 11.105a7.183 7.183 0 01-3.842-1.091.596.596 0 01-.18-.828A.591.591 0 014.804 9a6.164 6.164 0 006.394 0 .594.594 0 01.824.186.593.593 0 01-.179.828A7.183 7.183 0 018 11.104zm1.556 1.5l3.888 1.548 1.556.774v.294a.773.773 0 01-.368.663.781.781 0 01-.76.033l-5.094-1.764h-5.53A2.242 2.242 0 011 11.917V3.236A2.242 2.242 0 013.248 1h9.504C13.997 1 15 1.998 15 2.462v12.465l-1.556-.774V3.491a.946.946 0 00-.948-.944H3.504a.946.946 0 00-.948.944v8.17c0 .522.424.945.948.945h6.052z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n      \"messenger\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8 11.105a7.183 7.183 0 01-3.842-1.091.596.596 0 01-.18-.828A.591.591 0 014.804 9a6.164 6.164 0 006.394 0 .594.594 0 01.824.186.593.593 0 01-.179.828A7.183 7.183 0 018 11.104zm1.556 1.5l3.888 1.548 1.556.774v.294a.773.773 0 01-.368.663.781.781 0 01-.76.033l-5.094-1.764h-5.53A2.242 2.242 0 011 11.917V3.236A2.242 2.242 0 013.248 1h9.504C13.997 1 15 1.998 15 2.462v12.465l-1.556-.774V3.491a.946.946 0 00-.948-.944H3.504a.946.946 0 00-.948.944v8.17c0 .522.424.945.948.945h6.052z\\\" fill=\\\"#334BFA\\\"/></svg>\"\n    }\n  },\n  \"arrow-rebrand\": \"<svg width=\\\"13\\\" height=\\\"11\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8.136 5.21l.669-.1h2.307l-1.474-.924-1.008-.632-.03-.018-.031-.015-.617-.275-.033-.035-.403-.421-.067-.07-.09-.04-.67-.3-.76-.497-.692-.517-.032-.023-.036-.019a.096.096 0 0 1-.04-.035.176.176 0 0 1-.023-.072.377.377 0 0 1 .052-.233c.014-.022.06-.065.147-.083.08-.017.133.001.15.011l.696.52.006.004.007.005.605.42.038.028.043.019.616.276.033.034.02.02.02.018.505.421.07.059.086.03.424.147a.594.594 0 0 0 .248.163l1.948 1.22.03.019.031.014.67.3.766.5c.104.074.14.123.153.15.014.024.03.069.03.171a.622.622 0 0 1-.045.055c-.03.034-.066.072-.119.127l.362.346-.362-.346a1.228 1.228 0 0 0-.106.128l-.005.005-.022.029h-.052l-.122.076-.504.316-.005.003-1.303.837-.686.41-1.398.73-.028.015-.026.018-.59.411-.691.412-.015.01-.014.01-.59.41-.678.404a.422.422 0 0 1-.098.04c-.008.002-.013.003-.062.003-.09 0-.123-.015-.14-.025a.483.483 0 0 1-.144-.165.237.237 0 0 1-.012-.173.255.255 0 0 1 .115-.162l.688-.308.043-.02.038-.026.605-.421.214-.15v-.022l.563-.336.705-.42.005-.004 1.714-1.053 1.507-.926h-2.31l-.037.006-.669.1H6.263l-1.596-.105-.027-.001h-.028l-2.307.106H2.25l-.774-.102-.033-.004H.705c-.015 0-.058-.007-.113-.075A.445.445 0 0 1 .5 5.346c0-.087.029-.135.058-.164.031-.029.102-.073.248-.073h.774l.774.101.043.006.044-.002 2.291-.104 1.687.104h1.68l.037-.005z\\\"/></svg>\",\n  \"arrow-right-thick\": \"<svg viewBox=\\\"-1 0 8 12\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M0 11a.5.5 0 0 0 .8.4l6.667-5a.5.5 0 0 0 0-.8L.8.6A.5.5 0 0 0 0 1v10z\\\" fill=\\\"#222\\\"/></svg>\\n\",\n  \"avatars\": {\n    \"company\": {\n      \"l\": \"<svg width=\\\"48\\\" height=\\\"48\\\" viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M34.493 11c1.03 0 1.507.57 1.507 1.68v22.783c0 1.02-.477 1.537-1.507 1.537h-3.905C29.478 37 29 36.484 29 35.463V12.68c0-1.11.477-1.68 1.588-1.68h3.905zM34 15h-3v4h3v-4zm-20.415 3h10.858c1.095 0 1.557.513 1.557 1.534v15.929c0 1.02-.462 1.537-1.557 1.537H13.585C12.545 37 12 36.484 12 35.463v-15.93c0-1.02.544-1.533 1.585-1.533zM18 22h-4v4h4v-4zm6 0h-4v4h4v-4zm10 0h-3v4h3v-4zm-16 7h-4v4h4v-4zm6 0h-4v4h4v-4zm10 0h-3v4h3v-4z\\\" fill-rule=\\\"evenodd\\\"/></svg>\",\n      \"m\": \"<svg width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M23 7c.532 0 1 .449 1 1v16c0 .556-.463 1-1 1h-3c-.567 0-1-.482-1-1V8a1 1 0 0 1 1-1h3zm-.396 2h-2.108v3h2.108V9zM9 12h7c.472 0 1 .45 1 1v11c0 .506-.411 1-1 1H9c-.54 0-1-.488-1-1V13c0-.563.497-1 1-1zm2.78 3H9v2.7h2.78V15zM16 15h-2.732v2.7H16V15zm6.604-1h-2.108v3h2.108v-3zM11.78 19.34H9V22h2.78v-2.66zm4.221 0h-2.732V22H16v-2.66zm6.604-.34h-2.108v3h2.108v-3z\\\" fill-rule=\\\"evenodd\\\"/></svg>\",\n      \"s\": \"<svg width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M17.464 5c.304 0 .536.285.536.623v12.754c0 .339-.232.623-.536.623h-2.928c-.304 0-.536-.285-.536-.623V5.623c0-.339.232-.623.536-.623h2.928zM17 6.994h-2v1.994h2V6.994zM6.518 8.988h5.964c.286 0 .518.249.518.552v8.908c0 .303-.232.552-.518.552H6.518C6.232 19 6 18.75 6 18.448V9.54c0-.303.232-.552.518-.552zM9 10.98H7v1.994h2V10.98zm3 0h-2v1.994h2V10.98zm5 0h-2v1.994h2V10.98zm-8 3.99H7v1.994h2V14.97zm3 0h-2v1.994h2V14.97zm5 0h-2v1.994h2V14.97z\\\" fill-rule=\\\"evenodd\\\"/></svg>\",\n      \"xl\": \"<svg width=\\\"72\\\" height=\\\"72\\\" viewBox=\\\"0 0 72 72\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M52 16c1 0 2 1 2 2v36c0 1-1 2-2 2h-7c-1 0-2-1-2-2V18c0-1 1-2 2-2h7zm-1 6h-5v6h5v-6zm-31 5h17c1 0 2 1 2 2v25c0 1-1 2-2 2H20c-1 0-2-1-2-2V29c0-1 1-2 2-2zm7 6h-6v6h6v-6zm9 0h-6v6h6v-6zm15 0h-5v6h5v-6zM27 43h-6v6h6v-6zm9 0h-6v6h6v-6zm15 1h-5v6h5v-6z\\\" fill-rule=\\\"evenodd\\\"/></svg>\",\n      \"xs\": \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M5 3h6c.662 0 1 .486 1 1l.016 8c0 .55-.354 1-1.016 1H5c-.75 0-1-.45-1-1V4c0-.514.25-1 1-1zm2.359 2H5v2.323h2.359V5zM11 5l-2.35.005v2.318H11V5zM7.359 8.67H5V11h2.359V8.67zm3.641 0H8.65V11H11V8.67z\\\" fill-rule=\\\"evenodd\\\"/></svg>\"\n    }\n  },\n  \"campaign-arrow-product-refresh\": \"<svg width=\\\"46\\\" height=\\\"46\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><circle fill=\\\"#fff\\\" cx=\\\"23\\\" cy=\\\"23\\\" r=\\\"22.92\\\"/><path d=\\\"M38.24 22.52c-.12-.12-.12-.24-.24-.36l-12-12a1.16 1.16 0 0 0-1.68 0c-.48.48-.48 1.2 0 1.68l9.96 9.96H8.84c-.72 0-1.2.48-1.2 1.2s.48 1.2 1.2 1.2h25.44l-9.96 9.96c-.48.48-.48 1.2 0 1.68.24.24.6.36.84.36.36 0 .6-.12.84-.36l12-12c.12-.12.24-.24.24-.36.12-.36.12-.6 0-.96z\\\" fill=\\\"#888\\\"/></svg>\",\n  \"campaign-arrow\": \"<svg width=\\\"46\\\" height=\\\"46\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><circle fill=\\\"#fff\\\" cx=\\\"23\\\" cy=\\\"23\\\" r=\\\"22.92\\\"/><path d=\\\"M38.24 22.52c-.12-.12-.12-.24-.24-.36l-12-12a1.16 1.16 0 0 0-1.68 0c-.48.48-.48 1.2 0 1.68l9.96 9.96H8.84c-.72 0-1.2.48-1.2 1.2s.48 1.2 1.2 1.2h25.44l-9.96 9.96c-.48.48-.48 1.2 0 1.68.24.24.6.36.84.36.36 0 .6-.12.84-.36l12-12c.12-.12.24-.24.24-.36.12-.36.12-.6 0-.96z\\\" fill=\\\"#AABFCA\\\"/></svg>\",\n  \"carousels\": {\n    \"new\": \"<svg width=\\\"32\\\" height=\\\"32\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M15 6a1 1 0 00-1 1v7H7a1 1 0 00-1 1v2a1 1 0 001 1h7v7a1 1 0 001 1h2a1 1 0 001-1v-7h7a1 1 0 001-1v-2a1 1 0 00-1-1h-7V7a1 1 0 00-1-1h-2z\\\" fill=\\\"#222\\\"/></svg>\"\n  },\n  \"checkmark\": \"<svg width=\\\"12\\\" height=\\\"12\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M3.72 12c-.303 0-.504-.1-.705-.4L.101 7.191c-.202-.3-.1-.8.301-1.1.302-.2.804-.1 1.005.3L3.72 9.796l.301-.5s0-.1.1-.1l.503-.602 1.91-2.805.504-.6v-.1L8.04 3.886l.904-1.402s0-.1.1-.1l.503-.6.402-.801c.1 0 .1 0 .1-.1l.604-.601c.301-.3.804-.401 1.105-.1.302.3.302.8.1 1.1l-.502.601-.402.701-.1.1-.503.601-.904 1.403s0 .1-.1.1L8.342 6.09l-.402.6-2.01 2.905s0 .1-.1.1l-.503.601-.906 1.402c-.2.2-.402.301-.703.301L3.72 12z\\\" fill=\\\"#000\\\"/></svg>\",\n  \"credit-card\": {\n    \"american-express\": \"<svg width=\\\"752\\\" height=\\\"471\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><rect fill=\\\"#2557D6\\\" x=\\\"1\\\" width=\\\"750\\\" height=\\\"471\\\" rx=\\\"40\\\"/><path d=\\\"M1.003 221.185h36.024l8.123-19.51h18.185l8.101 19.51h70.88V206.27l6.327 14.98h36.796l6.327-15.202v15.138h176.151l-.082-32.026h3.408c2.386.083 3.083.302 3.083 4.226v27.8h91.106v-7.455c7.349 3.92 18.779 7.455 33.819 7.455h38.328l8.203-19.51h18.185l8.021 19.51h73.86v-18.532l11.186 18.532h59.187V98.678h-58.576v14.468l-8.202-14.468h-60.105v14.468l-7.532-14.468h-81.188c-13.59 0-25.536 1.889-35.186 7.153v-7.153h-56.026v7.153c-6.14-5.426-14.508-7.153-23.812-7.153H180.908l-13.734 31.641-14.104-31.641H88.6v14.468l-7.083-14.468H26.534L1 156.924v64.261h.003zm227.396-17.67h-21.614l-.08-68.794-30.573 68.793H157.62l-30.652-68.854v68.854H84.084l-8.101-19.592h-43.9L23.9 203.514H1l37.756-87.837h31.326l35.859 83.164v-83.164h34.412l27.593 59.587 25.347-59.587h35.104v87.837h.003zM68.777 165.692l-14.43-35.017-14.35 35.017h28.78zm245.642 37.821h-70.433v-87.837h70.433v18.291h-49.348V149.8h48.165v18.005H265.07v17.542h49.348v18.166zm99.256-64.18c0 14.004-9.386 21.24-14.856 23.412 4.613 1.748 8.553 4.838 10.43 7.397 2.976 4.369 3.49 8.271 3.49 16.116v17.255h-21.266l-.08-11.077c0-5.285.508-12.886-3.328-17.112-3.081-3.09-7.777-3.76-15.368-3.76h-22.633v31.95H328.98v-87.838h48.495c10.775 0 18.714.283 25.53 4.207 6.67 3.924 10.67 9.652 10.67 19.45zm-26.652 13.042c-2.898 1.752-6.324 1.81-10.43 1.81H350.98v-19.51h25.962c3.674 0 7.508.164 9.998 1.584 2.735 1.28 4.427 4.003 4.427 7.765 0 3.84-1.61 6.929-4.344 8.351zm60.466 51.138h-21.513v-87.837h21.513v87.837zm249.74 0H667.35l-39.964-65.927v65.927h-42.94l-8.204-19.592h-43.799l-7.96 19.592H499.81c-10.248 0-23.224-2.257-30.572-9.715-7.41-7.458-11.265-17.56-11.265-33.533 0-13.027 2.304-24.936 11.366-34.347 6.816-7.01 17.49-10.242 32.02-10.242h20.412v18.821h-19.984c-7.694 0-12.039 1.14-16.224 5.203-3.594 3.699-6.06 10.69-6.06 19.897 0 9.41 1.878 16.196 5.797 20.628 3.245 3.476 9.144 4.53 14.694 4.53h9.469l29.716-69.076h31.592l35.696 83.081v-83.08h32.103l37.062 61.174V115.68h21.596v87.834zm-128.159-37.82l-14.591-35.017-14.51 35.017h29.1zm181.886 178.074c-5.121 7.458-15.101 11.239-28.611 11.239h-40.718v-18.84h40.553c4.022 0 6.837-.527 8.532-2.175a7.71 7.71 0 0 0 2.493-5.73c0-2.56-1.024-4.592-2.575-5.81-1.53-1.341-3.757-1.95-7.429-1.95-19.797-.67-44.495.609-44.495-27.194 0-12.743 8.125-26.157 30.25-26.157h41.998v-17.48h-39.02c-11.776 0-20.33 2.808-26.388 7.174v-7.175H627.83c-9.23 0-20.063 2.279-25.187 7.175v-7.175H499.578v7.175c-8.203-5.892-22.043-7.175-28.431-7.175h-67.983v7.175c-6.49-6.258-20.92-7.175-29.716-7.175h-76.085l-17.41 18.763-16.307-18.763H149.99v122.592h111.516l17.94-19.06 16.9 19.06 68.739.061v-28.838h6.757c9.12.14 19.878-.226 29.368-4.31v33.085h56.697v-31.952h2.735c3.49 0 3.834.143 3.834 3.616v28.333H636.71c10.935 0 22.365-2.787 28.695-7.845v7.845h54.632c11.369 0 22.471-1.587 30.918-5.651v-22.838zm-341.503-47.154c0 24.406-18.286 29.445-36.716 29.445H346.43v29.469h-40.98l-25.962-29.085-26.981 29.085H168.99v-87.859h84.8l25.941 28.799 26.819-28.799h67.371c16.732 0 35.532 4.613 35.532 28.945zm-167.625 40.434h-51.839v-17.481h46.289V301.64h-46.289v-15.973h52.86l23.062 25.604-24.083 25.776zm83.526 10.06l-32.37-35.788 32.37-34.651v70.439zm47.873-39.066H345.98v-22.374h27.492c7.612 0 12.896 3.09 12.896 10.773 0 7.598-5.04 11.601-13.14 11.601zm142.744-40.373h70.369v18.17h-49.372v15.973h48.167v17.925h-48.167v17.481l49.372.08v18.23h-70.37v-87.859zm-27.054 47.03c4.693 1.724 8.53 4.816 10.329 7.375 2.977 4.29 3.408 8.293 3.493 16.037v17.417H481.57v-10.992c0-5.286.511-13.112-3.408-17.198-3.08-3.147-7.777-3.9-15.468-3.9h-22.533v32.09h-21.186v-87.859h48.678c10.674 0 18.448.47 25.369 4.146 6.654 4.004 10.839 9.488 10.839 19.51-.003 14.024-9.395 21.18-14.945 23.373zM477 303.59c-2.82 1.667-6.308 1.81-10.41 1.81h-25.614v-19.733h25.962c3.754 0 7.51.08 10.062 1.587 2.732 1.423 4.366 4.144 4.366 7.903 0 3.76-1.634 6.788-4.366 8.433zm190.336 5.597c4.106 4.23 6.306 9.572 6.306 18.614 0 18.9-11.858 27.723-33.122 27.723h-41.065v-18.84h40.9c4 0 6.836-.527 8.613-2.175 1.45-1.359 2.49-3.333 2.49-5.73 0-2.56-1.125-4.592-2.573-5.81-1.612-1.34-3.836-1.95-7.508-1.95-19.717-.67-44.41.61-44.41-27.193 0-12.744 8.04-26.158 30.144-26.158h42.269v18.7h-38.677c-3.834 0-6.327.143-8.447 1.587-2.31 1.422-3.166 3.534-3.166 6.32 0 3.315 1.96 5.57 4.613 6.545 2.224.77 4.613.996 8.205.996l11.35.305c11.446.278 19.303 2.249 24.078 7.066zM751 285.667h-38.427c-3.836 0-6.385.143-8.532 1.587-2.224 1.423-3.081 3.534-3.081 6.322 0 3.314 1.878 5.569 4.61 6.544 2.225.77 4.614.996 8.126.996l11.427.304c11.531.284 19.228 2.258 23.921 7.072.855.67 1.368 1.422 1.956 2.175v-25z\\\" fill=\\\"#FFF\\\"/></g></svg>\",\n    \"default\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"750\\\" height=\\\"471\\\"><rect fill=\\\"#000c9d\\\" width=\\\"750\\\" height=\\\"471\\\" rx=\\\"40\\\"/><rect width=\\\"110.324\\\" height=\\\"99.679\\\" x=\\\"48.71\\\" y=\\\"153.576\\\" rx=\\\"20.323\\\" ry=\\\"0\\\" fill=\\\"#9d9400\\\"/><path d=\\\"M78.102 310.37v-3.795h-5.117v-11.27h-4.198l-.402 11.27H56.942l10.58-25.07-3.967-1.725-11.673 27.14v3.45h16.445v9.66h4.658v-9.66h5.117zm19.586-30.59c-4.025 0-7.878 1.38-11.213 4.6l2.588 2.933c2.645-2.473 5.002-3.68 8.395-3.68 4.197 0 7.532 2.357 7.532 6.727 0 4.773-3.737 6.958-7.532 6.958H95.1l-.575 3.795h3.335c4.658 0 8.223 1.84 8.223 7.532 0 4.945-3.278 8.108-8.855 8.108-3.22 0-6.555-1.323-8.798-3.968l-3.22 2.645c2.99 3.68 7.705 5.233 12.133 5.233 8.165 0 13.742-5.175 13.742-12.018 0-6.152-4.37-9.372-9.027-9.717 4.197-.805 7.762-4.428 7.762-9.2 0-5.405-4.715-9.948-12.132-9.948zm34.477 0c-5.347 0-8.912 1.898-12.075 5.693l3.335 2.53c2.53-2.933 4.658-4.198 8.568-4.198 4.427 0 7.072 2.76 7.072 7.188 0 6.497-3.22 10.81-18.17 25.127v3.91h23.518l.575-4.082h-18.63c13.052-11.903 17.71-17.825 17.71-25.07 0-6.325-4.428-11.098-11.903-11.098zm48.738 36.34h-8.28v-35.65h-4.198l-11.73 7.245 2.07 3.393 9.085-5.463v30.475h-9.775v3.91h22.828v-3.91zm69.587-5.75v-3.795h-5.117v-11.27h-4.198l-.402 11.27H229.33l10.58-25.07-3.967-1.725-11.673 27.14v3.45h16.445v9.66h4.658v-9.66h5.117zm19.585-30.59c-4.025 0-7.877 1.38-11.212 4.6l2.587 2.933c2.645-2.473 5.003-3.68 8.395-3.68 4.198 0 7.533 2.357 7.533 6.727 0 4.773-3.738 6.958-7.533 6.958h-2.357l-.575 3.795h3.335c4.657 0 8.222 1.84 8.222 7.532 0 4.945-3.277 8.108-8.855 8.108-3.22 0-6.555-1.323-8.797-3.968l-3.22 2.645c2.99 3.68 7.705 5.233 12.132 5.233 8.165 0 13.743-5.175 13.743-12.018 0-6.152-4.37-9.372-9.028-9.717 4.198-.805 7.763-4.428 7.763-9.2 0-5.405-4.715-9.948-12.133-9.948zm34.478 0c-5.348 0-8.913 1.898-12.075 5.693l3.335 2.53c2.53-2.933 4.657-4.198 8.567-4.198 4.428 0 7.073 2.76 7.073 7.188 0 6.497-3.22 10.81-18.17 25.127v3.91H316.8l.575-4.082h-18.63c13.053-11.903 17.71-17.825 17.71-25.07 0-6.325-4.427-11.098-11.902-11.098zm48.737 36.34h-8.28v-35.65h-4.197l-11.73 7.245 2.07 3.393 9.085-5.463v30.475h-9.775v3.91h22.827v-3.91zm69.588-5.75v-3.795h-5.118v-11.27h-4.197l-.403 11.27h-11.442l10.58-25.07-3.968-1.725-11.672 27.14v3.45h16.445v9.66h4.657v-9.66h5.118zm19.585-30.59c-4.025 0-7.878 1.38-11.213 4.6l2.588 2.933c2.645-2.473 5.002-3.68 8.395-3.68 4.197 0 7.532 2.357 7.532 6.727 0 4.773-3.737 6.958-7.532 6.958h-2.358l-.575 3.795h3.335c4.658 0 8.223 1.84 8.223 7.532 0 4.945-3.278 8.108-8.855 8.108-3.22 0-6.555-1.323-8.798-3.968l-3.22 2.645c2.99 3.68 7.705 5.233 12.133 5.233 8.165 0 13.742-5.175 13.742-12.018 0-6.152-4.37-9.372-9.027-9.717 4.197-.805 7.762-4.428 7.762-9.2 0-5.405-4.715-9.948-12.132-9.948zm34.477 0c-5.347 0-8.912 1.898-12.075 5.693l3.335 2.53c2.53-2.933 4.658-4.198 8.568-4.198 4.427 0 7.072 2.76 7.072 7.188 0 6.497-3.22 10.81-18.17 25.127v3.91h23.518l.575-4.082h-18.63c13.052-11.903 17.71-17.825 17.71-25.07 0-6.325-4.428-11.098-11.903-11.098zm48.738 36.34h-8.28v-35.65H513.2l-11.73 7.245 2.07 3.393 9.085-5.463v30.475h-9.775v3.91h22.828v-3.91zm69.588-5.75v-3.795h-5.118v-11.27h-4.197l-.403 11.27h-11.442l10.58-25.07-3.968-1.725-11.672 27.14v3.45h16.445v9.66h4.657v-9.66h5.118zm19.584-30.59c-4.024 0-7.877 1.38-11.212 4.6l2.588 2.933c2.645-2.473 5.002-3.68 8.395-3.68 4.197 0 7.532 2.357 7.532 6.727 0 4.773-3.737 6.958-7.532 6.958h-2.358l-.575 3.795h3.335c4.658 0 8.223 1.84 8.223 7.532 0 4.945-3.278 8.108-8.855 8.108-3.22 0-6.555-1.323-8.798-3.968l-3.22 2.645c2.99 3.68 7.705 5.233 12.133 5.233 8.165 0 13.742-5.175 13.742-12.018 0-6.152-4.37-9.372-9.027-9.717 4.197-.805 7.762-4.428 7.762-9.2 0-5.405-4.715-9.948-12.132-9.948zm34.478 0c-5.347 0-8.912 1.898-12.075 5.693l3.335 2.53c2.53-2.933 4.658-4.198 8.568-4.198 4.427 0 7.072 2.76 7.072 7.188 0 6.497-3.22 10.81-18.17 25.127v3.91h23.518l.575-4.082h-18.63c13.052-11.903 17.71-17.825 17.71-25.07 0-6.325-4.428-11.098-11.903-11.098zm48.738 36.34h-8.28v-35.65h-4.198l-11.73 7.245 2.07 3.393 9.085-5.463v30.475h-9.775v3.91h22.828v-3.91z\\\" fill=\\\"#fff\\\"/><path d=\\\"M55.607 415.42h6.445v-22.245l-7.012 1.406v-3.594l6.973-1.406h3.945v25.84h6.446v3.32H55.607v-3.32zm25.468 0h6.446v-22.245l-7.012 1.406v-3.594l6.973-1.406h3.945v25.84h6.445v3.32H81.075v-3.32zm40.918 0h13.77v3.321h-18.516v-3.32q2.246-2.324 6.114-6.23 3.886-3.926 4.882-5.06 1.895-2.128 2.637-3.593.762-1.484.762-2.91 0-2.324-1.64-3.79-1.622-1.464-4.24-1.464-1.855 0-3.925.645-2.05.644-4.394 1.953v-3.985q2.382-.957 4.453-1.445 2.07-.488 3.789-.488 4.531 0 7.226 2.265 2.696 2.266 2.696 6.055 0 1.797-.684 3.418-.664 1.602-2.441 3.789-.489.566-3.106 3.281-2.617 2.696-7.383 7.559zm34.024-12.401q2.832.605 4.414 2.52 1.601 1.913 1.601 4.726 0 4.316-2.968 6.68-2.969 2.363-8.438 2.363-1.836 0-3.789-.372-1.933-.351-4.004-1.074v-3.808q1.64.957 3.594 1.445 1.953.488 4.082.488 3.711 0 5.645-1.465 1.953-1.464 1.953-4.257 0-2.579-1.817-4.024-1.797-1.465-5.02-1.465h-3.398v-3.242h3.555q2.91 0 4.453-1.152 1.543-1.172 1.543-3.36 0-2.246-1.601-3.437-1.583-1.211-4.551-1.211-1.621 0-3.477.352-1.855.351-4.082 1.093v-3.515q2.246-.625 4.2-.938 1.972-.312 3.71-.312 4.492 0 7.11 2.05 2.617 2.032 2.617 5.508 0 2.422-1.387 4.102-1.387 1.66-3.945 2.305zm26.289-13.438h15.488v3.32H185.92v7.149q.86-.293 1.719-.43.86-.156 1.719-.156 4.882 0 7.734 2.676 2.852 2.675 2.852 7.246 0 4.707-2.93 7.324-2.93 2.598-8.262 2.598-1.836 0-3.75-.313-1.894-.312-3.926-.937v-3.965q1.758.957 3.633 1.426 1.875.468 3.965.468 3.379 0 5.352-1.777 1.972-1.777 1.972-4.824 0-3.047-1.972-4.825-1.973-1.777-5.352-1.777-1.582 0-3.164.352-1.562.351-3.203 1.093v-14.648zm33.867 15.313q-2.812 0-4.434 1.503-1.601 1.504-1.601 4.141t1.601 4.14q1.622 1.505 4.434 1.505 2.813 0 4.434-1.504 1.62-1.524 1.62-4.14 0-2.638-1.62-4.142-1.602-1.503-4.434-1.503zm-3.945-1.68q-2.54-.625-3.965-2.363-1.406-1.739-1.406-4.239 0-3.496 2.48-5.527 2.5-2.031 6.836-2.031 4.356 0 6.836 2.03 2.48 2.032 2.48 5.528 0 2.5-1.425 4.239-1.407 1.738-3.926 2.363 2.851.664 4.434 2.597 1.601 1.934 1.601 4.727 0 4.238-2.598 6.504-2.578 2.266-7.402 2.266t-7.422-2.266q-2.578-2.266-2.578-6.504 0-2.793 1.602-4.727 1.601-1.933 4.453-2.597zm-1.446-6.23q0 2.265 1.407 3.535 1.425 1.27 3.984 1.27 2.54 0 3.965-1.27 1.445-1.27 1.445-3.536 0-2.265-1.445-3.535-1.426-1.27-3.965-1.27-2.559 0-3.984 1.27-1.407 1.27-1.407 3.535zm98.054 17.469h6.445v-22.246l-7.011 1.406v-3.593l6.972-1.407h3.946v25.84h6.445v3.32h-16.797v-3.32zm36.738-12.403q2.832.606 4.415 2.52 1.601 1.914 1.601 4.727 0 4.316-2.969 6.68-2.968 2.363-8.437 2.363-1.836 0-3.79-.371-1.933-.352-4.003-1.074v-3.81q1.64.958 3.594 1.446 1.953.489 4.082.489 3.71 0 5.644-1.465 1.953-1.465 1.953-4.258 0-2.578-1.816-4.024-1.797-1.464-5.02-1.464h-3.398v-3.243h3.555q2.91 0 4.453-1.152 1.543-1.172 1.543-3.36 0-2.245-1.602-3.437-1.582-1.21-4.55-1.21-1.622 0-3.477.35-1.856.352-4.082 1.095v-3.516q2.246-.625 4.199-.938 1.973-.312 3.71-.312 4.493 0 7.11 2.05 2.617 2.032 2.617 5.509 0 2.421-1.386 4.101-1.387 1.66-3.946 2.305zm16.915 12.403h13.77v3.32h-18.517v-3.32q2.247-2.324 6.114-6.23 3.886-3.926 4.883-5.059 1.894-2.129 2.636-3.594.762-1.484.762-2.91 0-2.324-1.64-3.789-1.622-1.465-4.239-1.465-1.855 0-3.926.645-2.05.644-4.394 1.953v-3.984q2.383-.957 4.453-1.446 2.07-.488 3.789-.488 4.531 0 7.226 2.266 2.696 2.265 2.696 6.054 0 1.797-.684 3.418-.664 1.602-2.441 3.79-.488.566-3.106 3.28-2.617 2.696-7.382 7.56zm22.753 0h6.446v-22.246l-7.012 1.406v-3.593l6.973-1.407h3.945v25.84h6.445v3.32h-16.797v-3.32zm49.473-12.403q2.832.606 4.414 2.52 1.602 1.914 1.602 4.727 0 4.316-2.969 6.68-2.969 2.363-8.438 2.363-1.835 0-3.789-.371-1.933-.352-4.004-1.074v-3.81q1.641.958 3.594 1.446 1.953.489 4.082.489 3.711 0 5.645-1.465 1.953-1.465 1.953-4.258 0-2.578-1.816-4.024-1.797-1.464-5.02-1.464h-3.398v-3.243h3.554q2.91 0 4.453-1.152 1.543-1.172 1.543-3.36 0-2.245-1.601-3.437-1.582-1.21-4.551-1.21-1.621 0-3.477.35-1.855.352-4.082 1.095v-3.516q2.246-.625 4.2-.938 1.972-.312 3.71-.312 4.493 0 7.11 2.05 2.617 2.032 2.617 5.509 0 2.421-1.387 4.101-1.386 1.66-3.945 2.305zm24.355-10l-9.96 15.567h9.96v-15.566zm-1.035-3.437h4.961v19.004h4.16v3.281h-4.16v6.875h-3.925v-6.875h-13.165v-3.808l12.13-18.477zm15.704 0h15.488v3.32h-11.875v7.149q.86-.293 1.719-.43.859-.156 1.718-.156 4.883 0 7.735 2.676 2.851 2.676 2.851 7.246 0 4.707-2.93 7.324-2.93 2.598-8.261 2.598-1.836 0-3.75-.313-1.895-.312-3.926-.937v-3.965q1.758.957 3.633 1.426t3.965.469q3.379 0 5.351-1.778 1.973-1.777 1.973-4.824 0-3.047-1.973-4.824-1.972-1.778-5.351-1.778-1.582 0-3.164.352-1.563.352-3.203 1.094v-14.649zm25.468 0h15.489v3.32H502.82v7.149q.859-.293 1.718-.43.86-.156 1.72-.156 4.882 0 7.733 2.676 2.852 2.676 2.852 7.246 0 4.707-2.93 7.324-2.93 2.598-8.261 2.598-1.836 0-3.75-.313-1.895-.312-3.926-.937v-3.965q1.758.957 3.633 1.426t3.964.469q3.38 0 5.352-1.778 1.973-1.777 1.973-4.824 0-3.047-1.973-4.824-1.973-1.778-5.352-1.778-1.582 0-3.164.352-1.562.352-3.203 1.094v-14.649z\\\" fill=\\\"#fff\\\" fill-opacity=\\\".784\\\"/></svg>\",\n    \"diners-club\": \"<svg width=\\\"750\\\" height=\\\"471\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><rect fill=\\\"#0079BE\\\" width=\\\"750\\\" height=\\\"471\\\" rx=\\\"40\\\"/><path d=\\\"M584.934 237.947c0-99.415-82.981-168.133-173.895-168.1h-78.242c-92.003-.033-167.73 68.705-167.73 168.1 0 90.93 75.727 165.64 167.73 165.204h78.242c90.914.436 173.895-74.293 173.895-165.204z\\\" fill=\\\"#FFF\\\"/><path d=\\\"M333.28 83.93c-84.07.027-152.194 68.308-152.214 152.58.02 84.258 68.144 152.533 152.214 152.56 84.09-.027 152.228-68.302 152.24-152.56-.012-84.272-68.15-152.553-152.24-152.58z\\\" fill=\\\"#0079BE\\\"/><path d=\\\"M237.066 236.098c.08-41.18 25.746-76.296 61.94-90.25v180.48c-36.194-13.947-61.861-49.044-61.94-90.23zm131 90.275V145.847c36.207 13.92 61.914 49.057 61.98 90.257-.066 41.212-25.773 76.322-61.98 90.269z\\\" fill=\\\"#FFF\\\"/></g></svg>\",\n    \"discover\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"780\\\" height=\\\"501\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#4D4D4D\\\" d=\\\"M54.992 0C24.627 0 0 24.63 0 55.004v390.992C0 476.376 24.619 501 54.992 501h670.016C755.373 501 780 476.37 780 445.996V55.004C780 24.624 755.381 0 725.008 0H54.992z\\\"/><path fill=\\\"#FFF\\\" d=\\\"M327.152 161.893c8.837 0 16.248 1.784 25.268 6.09v22.751c-8.544-7.863-15.955-11.154-25.756-11.154-19.264 0-34.414 15.015-34.414 34.05 0 20.075 14.681 34.196 35.37 34.196 9.312 0 16.586-3.12 24.8-10.857v22.763c-9.341 4.14-16.911 5.776-25.756 5.776-31.278 0-55.582-22.596-55.582-51.737 0-28.826 24.951-51.878 56.07-51.878zm-97.113.627c11.546 0 22.11 3.72 30.943 10.994l-10.748 13.248c-5.35-5.646-10.41-8.028-16.564-8.028-8.853 0-15.3 4.745-15.3 10.989 0 5.354 3.619 8.188 15.944 12.482 23.365 8.044 30.29 15.176 30.29 30.926 0 19.193-14.976 32.553-36.32 32.553-15.63 0-26.994-5.795-36.458-18.872l13.268-12.03c4.73 8.61 12.622 13.222 22.42 13.222 9.163 0 15.947-5.952 15.947-13.984 0-4.164-2.055-7.734-6.158-10.258-2.066-1.195-6.158-2.977-14.2-5.647-19.291-6.538-25.91-13.527-25.91-27.185 0-16.225 14.214-28.41 32.846-28.41zm234.723 1.728h22.437l28.084 66.592 28.446-66.592h22.267l-45.494 101.686h-11.053l-44.687-101.686zm-397.348.152h30.15c33.312 0 56.534 20.382 56.534 49.641 0 14.59-7.104 28.696-19.118 38.057-10.108 7.901-21.626 11.445-37.574 11.445H67.414V164.4zm96.135 0h20.54v99.143h-20.54V164.4zm411.734 0h58.252v16.8H595.81v22.005h36.336v16.791H595.81v26.762h37.726v16.785h-58.252V164.4zm71.858 0h30.455c23.69 0 37.265 10.71 37.265 29.272 0 15.18-8.514 25.14-23.986 28.105l33.148 41.766h-25.26l-28.429-39.828h-2.678v39.828h-20.515V164.4zm20.515 15.616v30.025h6.002c13.117 0 20.069-5.362 20.069-15.328 0-9.648-6.954-14.697-19.745-14.697h-6.326zM87.94 181.199v65.559h5.512c13.273 0 21.656-2.394 28.11-7.88 7.103-5.955 11.376-15.465 11.376-24.98 0-9.499-4.273-18.725-11.376-24.681-6.785-5.78-14.837-8.018-28.11-8.018H87.94z\\\"/><path fill=\\\"#F47216\\\" d=\\\"M415.13 161.213c30.941 0 56.022 23.58 56.022 52.709v.033c0 29.13-25.081 52.742-56.021 52.742s-56.022-23.613-56.022-52.742v-.033c0-29.13 25.082-52.71 56.022-52.71zM779.983 288.36c-26.05 18.33-221.077 149.34-558.754 212.623H724.99c30.365 0 54.992-24.63 54.992-55.004V288.361z\\\"/></g></svg>\",\n    \"jcb\": \"<svg width=\\\"750\\\" height=\\\"471\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><defs><linearGradient x1=\\\".032%\\\" y1=\\\"50%\\\" x2=\\\"99.974%\\\" y2=\\\"50%\\\" id=\\\"a\\\"><stop stop-color=\\\"#007B40\\\" offset=\\\"0%\\\"/><stop stop-color=\\\"#55B330\\\" offset=\\\"100%\\\"/></linearGradient><linearGradient x1=\\\".472%\\\" y1=\\\"50%\\\" x2=\\\"99.986%\\\" y2=\\\"50%\\\" id=\\\"b\\\"><stop stop-color=\\\"#1D2970\\\" offset=\\\"0%\\\"/><stop stop-color=\\\"#006DBA\\\" offset=\\\"100%\\\"/></linearGradient><linearGradient x1=\\\".114%\\\" y1=\\\"50.001%\\\" x2=\\\"99.986%\\\" y2=\\\"50.001%\\\" id=\\\"c\\\"><stop stop-color=\\\"#6E2B2F\\\" offset=\\\"0%\\\"/><stop stop-color=\\\"#E30138\\\" offset=\\\"100%\\\"/></linearGradient></defs><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><rect fill=\\\"#0E4C96\\\" width=\\\"750\\\" height=\\\"471\\\" rx=\\\"40\\\"/><path d=\\\"M617.243 346.766c0 41.615-33.728 75.36-75.36 75.36H132.757V124.245c0-41.626 33.733-75.37 75.365-75.37l409.12-.001v297.892h.001z\\\" fill=\\\"#FFF\\\"/><path d=\\\"M483.859 242.045c11.684.253 23.437-.516 35.077.4 11.787 2.2 14.628 20.043 4.156 25.888-7.141 3.85-15.633 1.432-23.379 2.113H483.86v-28.401zm41.833-32.145c2.596 9.165-6.238 17.392-15.066 16.13h-26.767c.185-8.642-.368-18.021.272-26.208 10.724.301 21.549-.616 32.21.48 4.58 1.15 8.413 4.916 9.35 9.598zM590.12 73.997c.498 17.501.071 35.927.214 53.783-.035 72.596.072 145.194-.055 217.79-.469 27.207-24.582 50.844-51.6 51.387-27.046.111-54.095.016-81.142.047v-109.75c29.47-.154 58.959.307 88.417-.232 13.667-.86 28.632-9.876 29.27-24.915 1.61-15.102-12.632-25.55-26.153-27.201-5.198-.135-5.044-1.515 0-2.117 12.892-2.787 23.02-16.133 19.226-29.499-3.236-14.058-18.773-19.499-31.697-19.472-26.351-.18-52.709-.026-79.063-.077.172-20.489-.354-41 .286-61.474 2.087-26.716 26.806-48.747 53.447-48.27h78.85z\\\" fill=\\\"url(#a)\\\"/><path d=\\\"M159.74 125.04c.674-27.163 24.889-50.611 51.875-51.007 26.944-.083 53.891-.012 80.837-.036-.074 90.885.148 181.777-.112 272.658-1.038 26.834-24.99 49.834-51.679 50.307-26.996.099-53.995.014-80.992.042V283.551c26.223 6.194 53.722 8.832 80.473 4.721 15.993-2.575 33.488-10.424 38.902-27.014 3.986-14.192 1.742-29.126 2.334-43.692v-33.824h-46.297c-.208 22.37.426 44.78-.335 67.125-1.248 13.734-14.846 22.46-27.8 21.995-16.066.169-47.898-11.64-47.898-11.64-.08-41.917.466-94.408.692-136.182z\\\" fill=\\\"url(#b)\\\"/><path d=\\\"M309.72 197.39c-2.434.517-.49-8.3-1.114-11.646.166-21.15-.346-42.323.284-63.458 2.083-26.829 26.991-48.916 53.739-48.288h78.766c-.074 90.884.147 181.775-.112 272.656-1.039 26.834-24.992 49.833-51.68 50.308-26.998.1-53.998.015-80.997.043V272.708c18.44 15.128 43.5 17.484 66.472 17.525 17.317-.006 34.534-2.675 51.35-6.67V260.79c-18.953 9.447-41.233 15.446-62.243 10.018-14.656-3.65-25.294-17.811-25.056-32.936-1.699-15.728 7.524-32.335 22.981-37.011 19.19-6.008 40.108-1.413 58.096 6.398 3.855 2.018 7.765 4.521 6.222-1.921v-17.9c-30.084-7.157-62.101-9.792-92.329-2.004-8.748 2.468-17.27 6.21-24.379 11.956z\\\" fill=\\\"url(#c)\\\"/></g></svg>\",\n    \"mastercard\": \"<svg width=\\\"750\\\" height=\\\"471\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><rect fill=\\\"#000\\\" width=\\\"750\\\" height=\\\"471\\\" rx=\\\"40\\\"/><path d=\\\"M434.008 235.5c0 99.142-80.37 179.504-179.508 179.504S75 334.642 75 235.5c0-99.133 80.362-179.504 179.5-179.504 99.137 0 179.508 80.37 179.508 179.504\\\" fill=\\\"#D9222A\\\"/><path d=\\\"M495.492 55.996c-46.38 0-88.642 17.596-120.5 46.466a182.43 182.43 0 0 0-18.125 18.996h36.266a181.8 181.8 0 0 1 13.684 19.013h-63.634a178.716 178.716 0 0 0-10.341 19.008h84.312a179.19 179.19 0 0 1 7.6 19.004h-99.512a177.294 177.294 0 0 0-5.217 19.009h109.942a180.428 180.428 0 0 1 4.041 38.008c0 19.933-3.254 39.113-9.254 57.02h-99.512a177.651 177.651 0 0 0 7.595 19.01h84.317a179.97 179.97 0 0 1-10.346 19.012h-63.625a181.65 181.65 0 0 0 13.684 18.996h36.258a179.297 179.297 0 0 1-18.13 19.012c31.86 28.867 74.118 46.454 120.497 46.454C594.629 415.004 675 334.642 675 235.5c0-99.13-80.37-179.504-179.508-179.504\\\" fill=\\\"#EE9F2D\\\"/><path d=\\\"M651.075 335.558c0-3.2 2.592-5.8 5.796-5.8s5.796 2.6 5.796 5.8c0 3.2-2.592 5.8-5.796 5.8a5.798 5.798 0 0 1-5.796-5.8zm5.796 4.409a4.41 4.41 0 0 0 4.408-4.409 4.404 4.404 0 0 0-4.408-4.404 4.398 4.398 0 0 0-4.404 4.404 4.404 4.404 0 0 0 4.404 4.409zm-.783-1.859H654.9v-5.095h2.15c.45 0 .908 0 1.304.254.413.279.646.77.646 1.279 0 .57-.337 1.104-.883 1.312l.937 2.25h-1.316l-.78-2.016h-.87v2.016zm0-2.891h.658c.246 0 .504.02.725-.1.196-.125.296-.359.296-.584a.636.636 0 0 0-.288-.516c-.208-.13-.537-.1-.758-.1h-.633v1.3zm-443.501-80.063c-2.045-.237-2.945-.3-4.35-.3-11.045 0-16.637 3.788-16.637 11.267 0 4.612 2.73 7.546 6.987 7.546 7.938 0 13.659-7.559 14-18.513zm14.171 32.996h-16.146l.371-7.675c-4.925 6.067-11.496 8.95-20.425 8.95-10.562 0-17.804-8.25-17.804-20.23 0-18.024 12.596-28.54 34.217-28.54 2.208 0 5.041.2 7.941.57.605-2.442.763-3.487.763-4.8 0-4.908-3.396-6.738-12.5-6.738-9.533-.108-17.396 2.271-20.625 3.334.204-1.23 2.7-16.658 2.7-16.658 9.712-2.846 16.117-3.917 23.325-3.917 16.733 0 25.596 7.512 25.58 21.712.032 3.805-.597 8.5-1.58 14.671-1.692 10.73-5.32 33.717-5.817 39.321zm-62.158 0h-19.488l11.163-69.996-24.925 69.996h-13.28l-1.64-69.596-11.734 69.596H86.454l15.238-91.054h28.02l1.7 50.967 17.092-50.967h31.167L164.6 288.15m354.975-32.996c-2.037-.237-2.942-.3-4.342-.3-11.041 0-16.633 3.788-16.633 11.267 0 4.612 2.725 7.546 6.983 7.546 7.938 0 13.663-7.559 13.992-18.513zm14.183 32.996h-16.145l.366-7.675c-4.925 6.067-11.5 8.95-20.42 8.95-10.567 0-17.8-8.25-17.8-20.23 0-18.024 12.587-28.54 34.212-28.54 2.208 0 5.037.2 7.933.57.604-2.442.763-3.487.763-4.8 0-4.908-3.392-6.738-12.496-6.738-9.533-.108-17.388 2.271-20.63 3.334.205-1.23 2.709-16.658 2.709-16.658 9.713-2.846 16.113-3.917 23.313-3.917 16.741 0 25.604 7.512 25.587 21.712.033 3.805-.596 8.5-1.58 14.671-1.682 10.73-5.32 33.717-5.812 39.321zm-220.391-1.125c-5.334 1.68-9.492 2.4-14 2.4-9.963 0-15.4-5.725-15.4-16.267-.142-3.27 1.433-11.879 2.67-19.737 1.125-6.917 8.45-50.53 8.45-50.53h19.371l-2.262 11.209h11.7l-2.642 17.796h-11.742c-2.25 14.083-5.454 31.625-5.491 33.95 0 3.817 2.037 5.483 6.67 5.483 2.221 0 3.942-.225 5.255-.7l-2.58 16.396m59.392-.6c-6.654 2.033-13.075 3.017-19.879 3-21.683-.02-32.987-11.346-32.987-33.033 0-25.313 14.379-43.946 33.9-43.946 15.97 0 26.17 10.433 26.17 26.796 0 5.429-.7 10.729-2.387 18.212H339c-1.304 10.742 5.57 15.217 16.837 15.217 6.934 0 13.188-1.43 20.142-4.663l-3.22 18.417zm-10.887-43.9c.108-1.542 2.054-13.217-9.013-13.217-6.17 0-10.583 4.704-12.379 13.217h21.392zm-123.425-5.017c0 9.367 4.541 15.825 14.841 20.675 7.892 3.709 9.113 4.809 9.113 8.171 0 4.617-3.48 6.7-11.192 6.7-5.812 0-11.22-.908-17.458-2.92 0 0-2.563 16.32-2.68 17.1 4.43.966 8.38 1.862 20.28 2.191 20.562 0 30.058-7.83 30.058-24.75 0-10.175-3.975-16.146-13.737-20.633-8.171-3.75-9.109-4.588-9.109-8.046 0-4.004 3.238-6.046 9.538-6.046 3.825 0 9.05.408 14 1.113l2.775-17.175c-5.046-.8-12.696-1.442-17.15-1.442-21.8 0-29.346 11.387-29.28 25.062m229.088-23.116c5.413 0 10.459 1.42 17.413 4.92l3.187-19.762c-2.854-1.12-12.904-7.7-21.416-7.7-13.042 0-24.067 6.47-31.821 17.15-11.309-3.746-15.959 3.825-21.659 11.367l-5.062 1.179c.383-2.483.73-4.95.613-7.446h-17.896c-2.446 22.917-6.78 46.13-10.171 69.075l-.884 4.975h19.496c3.254-21.142 5.038-34.68 6.121-43.842l7.342-4.083c1.096-4.08 4.529-5.458 11.416-5.292a82.966 82.966 0 0 0-1.383 15.184c0 24.225 13.071 39.308 34.05 39.308 5.404 0 10.042-.712 17.221-2.658l3.43-20.759c-6.46 3.18-11.76 4.675-16.56 4.675-11.328 0-18.183-8.362-18.183-22.183 0-20.05 10.196-34.108 24.746-34.108\\\" fill=\\\"#000\\\"/><path d=\\\"M170.208 282.742h-19.491l11.17-69.988-24.925 69.988H123.68l-1.642-69.588-11.733 69.588H92.062L107.3 191.7h28.02l.788 56.363 18.904-56.363h30.267l-15.07 91.042\\\" fill=\\\"#FFF\\\"/><path d=\\\"M632.52 197.096l-4.32 26.308c-5.33-7.012-11.054-12.087-18.612-12.087-9.834 0-18.784 7.454-24.642 18.425-8.158-1.692-16.596-4.563-16.596-4.563l-.004.067c.658-6.133.92-9.875.862-11.146h-17.9c-2.437 22.917-6.77 46.13-10.158 69.075l-.892 4.975h19.492c2.633-17.096 4.65-31.292 6.133-42.55 6.659-6.017 9.992-11.267 16.721-10.917-2.979 7.205-4.725 15.505-4.725 24.017 0 18.513 9.367 30.725 23.534 30.725 7.141 0 12.62-2.462 17.966-8.17l-.912 6.883H636.9l14.842-91.042H632.52zm-24.37 73.942c-6.633 0-9.983-4.909-9.983-14.596 0-14.554 6.27-24.875 15.112-24.875 6.696 0 10.321 5.104 10.321 14.508 0 14.68-6.37 24.963-15.45 24.963z\\\" fill=\\\"#000\\\"/><path d=\\\"M218.192 249.758c-2.042-.237-2.946-.3-4.346-.3-11.046 0-16.634 3.788-16.634 11.267 0 4.604 2.73 7.546 6.98 7.546 7.945 0 13.666-7.558 14-18.513zm14.179 32.984h-16.146l.367-7.663c-4.921 6.054-11.5 8.95-20.421 8.95-10.567 0-17.804-8.25-17.804-20.229 0-18.033 12.591-28.542 34.216-28.542 2.209 0 5.042.2 7.938.571.604-2.442.762-3.487.762-4.808 0-4.908-3.391-6.73-12.496-6.73-9.537-.108-17.395 2.272-20.629 3.322.204-1.226 2.7-16.638 2.7-16.638 9.709-2.858 16.121-3.93 23.321-3.93 16.738 0 25.604 7.518 25.588 21.705.029 3.82-.605 8.512-1.584 14.675-1.687 10.725-5.32 33.725-5.812 39.317zm261.375-88.592l-3.192 19.767c-6.95-3.496-12-4.921-17.408-4.921-14.55 0-24.75 14.058-24.75 34.108 0 13.821 6.858 22.18 18.183 22.18 4.8 0 10.096-1.492 16.554-4.676l-3.42 20.75c-7.184 1.959-11.817 2.671-17.226 2.671-20.975 0-34.05-15.083-34.05-39.308 0-32.55 18.059-55.3 43.888-55.3 8.508 0 18.563 3.608 21.42 4.729m31.443 55.608c-2.042-.237-2.942-.3-4.346-.3-11.042 0-16.634 3.788-16.634 11.267 0 4.604 2.73 7.546 6.984 7.546 7.937 0 13.662-7.558 13.996-18.513zm14.179 32.984h-16.15l.37-7.663c-4.924 6.054-11.5 8.95-20.42 8.95-10.563 0-17.804-8.25-17.804-20.229 0-18.033 12.595-28.542 34.212-28.542 2.213 0 5.042.2 7.942.571.6-2.442.762-3.487.762-4.808 0-4.908-3.391-6.73-12.496-6.73-9.533-.108-17.395 2.272-20.629 3.322.204-1.226 2.704-16.638 2.704-16.638 9.709-2.858 16.117-3.93 23.317-3.93 16.742 0 25.604 7.518 25.583 21.705.034 3.82-.595 8.512-1.579 14.675-1.683 10.725-5.325 33.725-5.812 39.317zm-220.392-1.122c-5.338 1.68-9.496 2.41-14 2.41-9.963 0-15.4-5.726-15.4-16.267-.138-3.28 1.437-11.88 2.675-19.738 1.12-6.925 8.446-50.533 8.446-50.533h19.366l-2.258 11.212h9.942l-2.646 17.788h-9.975c-2.25 14.091-5.463 31.62-5.496 33.95 0 3.829 2.042 5.483 6.671 5.483 2.22 0 3.937-.217 5.254-.692l-2.579 16.388m59.392-.591c-6.65 2.033-13.08 3.012-19.88 3-21.683-.022-32.987-11.347-32.987-33.034 0-25.321 14.38-43.95 33.9-43.95 15.97 0 26.17 10.429 26.17 26.8 0 5.433-.7 10.733-2.382 18.212h-38.575c-1.305 10.742 5.57 15.221 16.837 15.221 6.93 0 13.188-1.433 20.137-4.675l-3.22 18.425zm-10.892-43.913c.117-1.538 2.058-13.217-9.013-13.217-6.166 0-10.579 4.717-12.375 13.217h21.388zm-123.421-5.004c0 9.366 4.542 15.816 14.842 20.675 7.891 3.708 9.112 4.812 9.112 8.17 0 4.617-3.483 6.7-11.187 6.7-5.817 0-11.225-.908-17.467-2.92 0 0-2.554 16.32-2.67 17.1 4.42.966 8.374 1.85 20.274 2.191 20.567 0 30.059-7.829 30.059-24.746 0-10.179-3.971-16.15-13.738-20.637-8.167-3.758-9.112-4.583-9.112-8.046 0-4 3.245-6.058 9.541-6.058 3.821 0 9.046.42 14.004 1.125l2.771-17.18c-5.041-.8-12.691-1.441-17.146-1.441-21.804 0-29.345 11.379-29.283 25.067m398.454 50.629h-18.437l.917-6.892c-5.346 5.717-10.825 8.18-17.967 8.18-14.167 0-23.53-12.213-23.53-30.726 0-24.629 14.522-45.392 31.709-45.392 7.558 0 13.28 3.088 18.604 10.096l4.325-26.308h19.221l-14.842 91.042zm-28.745-17.109c9.075 0 15.45-10.283 15.45-24.954 0-9.404-3.63-14.508-10.325-14.508-8.838 0-15.117 10.317-15.117 24.875 0 9.687 3.358 14.587 9.992 14.587zm-56.843-56.929c-2.44 22.917-6.774 46.13-10.162 69.063l-.891 4.975h19.491c6.971-45.275 8.659-54.117 19.588-53.009 1.742-9.266 4.983-17.383 7.4-21.479-8.163-1.7-12.721 2.913-18.688 11.675.471-3.787 1.334-7.466 1.163-11.225h-17.9m-160.421 0c-2.446 22.917-6.78 46.13-10.167 69.063l-.887 4.975h19.5c6.962-45.275 8.646-54.117 19.57-53.009 1.75-9.266 4.992-17.383 7.4-21.479-8.154-1.7-12.716 2.913-18.678 11.675.47-3.787 1.325-7.466 1.162-11.225h-17.9m254.567 68.242c0-3.213 2.596-5.8 5.796-5.8a5.79 5.79 0 0 1 5.795 5.8 5.797 5.797 0 0 1-5.795 5.796 5.8 5.8 0 0 1-5.796-5.796zm5.796 4.404a4.403 4.403 0 0 0 4.404-4.404 4.404 4.404 0 0 0-4.404-4.408 4.41 4.41 0 0 0-4.409 4.408 4.41 4.41 0 0 0 4.409 4.404zm-.784-1.87h-1.187v-5.084h2.154c.446 0 .908.008 1.296.254.416.283.654.767.654 1.275 0 .575-.338 1.113-.888 1.317l.942 2.237h-1.32l-.78-2.008h-.87v2.008zm0-2.88h.654c.246 0 .513.017.73-.1.195-.125.295-.362.295-.587a.677.677 0 0 0-.287-.525c-.204-.117-.542-.084-.763-.084h-.629v1.296z\\\" fill=\\\"#FFF\\\"/></g></svg>\",\n    \"visa\": \"<svg width=\\\"750\\\" height=\\\"471\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><rect fill=\\\"#0E4595\\\" width=\\\"750\\\" height=\\\"471\\\" rx=\\\"40\\\"/><path d=\\\"M278.197 334.228l33.361-195.763h53.36l-33.385 195.763h-53.336zm246.111-191.54c-10.572-3.966-27.137-8.222-47.823-8.222-52.725 0-89.865 26.55-90.18 64.603-.298 28.13 26.513 43.822 46.753 53.186 20.77 9.594 27.752 15.714 27.654 24.283-.132 13.121-16.587 19.116-31.923 19.116-21.357 0-32.703-2.966-50.226-10.276l-6.876-3.111-7.49 43.824c12.464 5.464 35.51 10.198 59.438 10.443 56.09 0 92.501-26.246 92.916-66.882.2-22.268-14.016-39.216-44.8-53.188-18.65-9.055-30.072-15.099-29.951-24.268 0-8.137 9.667-16.839 30.556-16.839 17.45-.27 30.089 3.535 39.937 7.5l4.781 2.26 7.234-42.43m137.307-4.222h-41.231c-12.774 0-22.332 3.487-27.942 16.234l-79.245 179.404h56.032s9.161-24.123 11.233-29.418c6.124 0 60.554.084 68.337.084 1.596 6.853 6.491 29.334 6.491 29.334h49.513l-43.188-195.638zm-65.418 126.407c4.413-11.279 21.26-54.723 21.26-54.723-.316.522 4.38-11.334 7.075-18.684l3.606 16.879s10.217 46.728 12.352 56.528h-44.293zM232.903 138.465l-52.24 133.496-5.567-27.13c-9.725-31.273-40.025-65.155-73.898-82.118l47.766 171.203 56.456-.065 84.004-195.386h-56.521\\\" fill=\\\"#FFF\\\"/><path d=\\\"M131.92 138.465H45.879l-.681 4.073c66.938 16.204 111.231 55.363 129.618 102.414l-18.71-89.96c-3.23-12.395-12.597-16.094-24.186-16.526\\\" fill=\\\"#F2AE14\\\"/></g></svg>\"\n  },\n  \"developer-hub\": {\n    \"app-package\": \"<svg viewBox=\\\"0 0 50 50\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M25 49L1 38.694V12l24 10.325zm0 0l24-10.306V12L25 22.325zm-.249-27L49 11.818 24.751 1 1 11.818z\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\" fill=\\\"none\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"/></svg>\",\n    \"header-logo\": \"<svg width=\\\"130\\\" height=\\\"32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M28.956 0h-24a4 4 0 0 0-4 4v24a4 4 0 0 0 4 4h24a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4zm-7.734 5.867a1.067 1.067 0 0 1 2.134 0v14.251a1.067 1.067 0 0 1-2.134 0V5.867zm-5.333-.54a1.067 1.067 0 0 1 2.134 0v15.467a1.067 1.067 0 0 1-2.134 0V5.327zm-5.333.54a1.067 1.067 0 0 1 2.133 0v14.251a1.067 1.067 0 1 1-2.133 0V5.867zM5.223 8a1.067 1.067 0 1 1 2.133 0v9.594a1.067 1.067 0 0 1-2.133 0V8zm23.094 16.27c-.164.142-4.116 3.457-11.361 3.457-7.245 0-11.195-3.315-11.361-3.457a1.066 1.066 0 0 1 1.385-1.621c.062.052 3.591 2.945 9.975 2.945 6.464 0 9.938-2.914 9.972-2.943a1.065 1.065 0 0 1 1.503.115 1.064 1.064 0 0 1-.113 1.504zm.372-6.676a1.067 1.067 0 0 1-2.133 0V8a1.067 1.067 0 1 1 2.133 0v9.594z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M45.62 20.626a.956.956 0 0 1-.978.973.953.953 0 0 1-.962-.973v-9.277c0-.534.404-.973.978-.973.559 0 .962.44.962.973v9.277zm12.539-9.277v8.477c0 1.146-.605 1.79-1.567 1.79h-.077c-.916 0-1.35-.534-1.738-1.319l-1.956-3.846-1.738-3.971.047 3.846.015 4.285a.956.956 0 0 1-.977.973.953.953 0 0 1-.962-.973v-8.477c0-1.052.605-1.79 1.66-1.79h.078c.977 0 1.38.534 1.77 1.319l1.923 3.815 1.645 3.705-.046-3.548-.016-4.285c0-.534.403-.973.978-.973.557-.001.96.438.96.972zm7.775 9.262a.956.956 0 0 1-.977.973.953.953 0 0 1-.962-.973v-8.398h-2.406c-.496 0-.9-.377-.9-.926 0-.534.404-.91.9-.91h6.75c.497 0 .9.377.9.926 0 .534-.403.91-.9.91h-2.405v8.398zm5.836-.314v-8.712c0-.816.45-1.271 1.272-1.24h5.586c.497 0 .9.392.9.926s-.403.91-.9.91h-4.935v2.7h4.361c.482 0 .87.361.87.879a.853.853 0 0 1-.87.879h-4.36v3.108h4.934c.497 0 .9.392.9.926s-.403.91-.9.91h-5.633c-.806.001-1.256-.454-1.226-1.286zm18.777.015c.264.455.093 1.036-.45 1.319a1.02 1.02 0 0 1-1.365-.392l-2.157-4.034h-2.048l.016 3.422a.956.956 0 0 1-.978.973.953.953 0 0 1-.962-.973v-9.042c0-.816.45-1.271 1.272-1.24h3.678c2.53 0 3.585 1.664 3.585 3.359 0 1.617-.932 2.81-2.53 3.124l1.94 3.484zm-6.021-4.882h3.072c1.04 0 1.583-.675 1.583-1.633s-.574-1.617-1.598-1.617h-3.057v3.25zm10.614 5.322c-1.163-1.052-1.69-2.7-1.69-4.772 0-2.088.511-3.72 1.66-4.756.714-.628 1.676-1.052 3.073-1.052 1.226 0 2.173.283 2.887.895.62.502 1.07 1.209 1.334 2.198.14.518-.217 1.036-.807 1.146-.558.094-1.008-.267-1.179-.785-.186-.502-.435-.863-.73-1.115-.403-.361-.9-.518-1.552-.518-.698 0-1.304.204-1.754.659-.651.659-.93 1.837-.93 3.328 0 1.476.263 2.653.946 3.312.45.455 1.04.659 1.722.659.714 0 1.257-.188 1.708-.612.232-.22.435-.502.574-.832.202-.487.621-.848 1.164-.722.543.126.885.659.714 1.177-.28.863-.76 1.554-1.412 2.025-.714.518-1.599.785-2.716.785-1.428 0-2.328-.424-3.011-1.02zm9.452-4.772c0-3.516 1.428-5.808 4.796-5.808 3.337 0 4.78 2.229 4.78 5.808 0 3.626-1.46 5.808-4.78 5.808-3.383 0-4.796-2.182-4.796-5.808zm7.589 0c0-2.669-.962-3.971-2.809-3.971-1.816 0-2.778 1.303-2.778 3.971 0 2.669.931 3.971 2.778 3.971 1.831 0 2.809-1.303 2.809-3.971zm17.04 4.631a.956.956 0 0 1-.978.973.953.953 0 0 1-.962-.973v-4.207l.047-4.097-1.35 4.16-1.366 4.097c-.232.722-.714 1.005-1.319 1.005-.637 0-1.102-.298-1.35-1.02l-1.397-4.081-1.289-4.097.047 4.034v4.207a.956.956 0 0 1-.978.973.953.953 0 0 1-.962-.973v-8.398c0-1.162.621-1.837 1.708-1.837 1.024 0 1.598.549 1.924 1.554l1.427 4.285.87 2.92.884-2.92 1.428-4.285c.326-1.005.884-1.554 1.909-1.554 1.086 0 1.691.659 1.691 1.837l.016 8.397z\\\" fill=\\\"#000\\\" fill-rule=\\\"nonzero\\\"/></g></svg>\"\n  },\n  \"drag\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" fill=\\\"none\\\"><path d=\\\"M2 2h2v2H2V2zm5 0h2v2H7V2zm5 0h2v2h-2V2zM2 7h2v2H2V7zm5 0h2v2H7V7zm5 0h2v2h-2V7zM2 12h2v2H2v-2zm5 0h2v2H7v-2zm5 0h2v2h-2v-2z\\\" fill=\\\"#222\\\"/></svg>\\n\",\n  \"educate\": {\n    \"collection-icons\": {\n      \"biz-creditcard\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M47 34a4 4 0 0 1-4 4H5a4 4 0 0 1-4-4V14a4 4 0 0 1 4-4h38a4 4 0 0 1 4 4v20zM1 18h46m-6 6h-6m-12 0H7m6 4H7\\\" fill=\\\"none\\\"/></svg>\",\n      \"biz-delivery\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M33 26h9l5 8v7h-5m-20 0h11V20H22m-10.99 4.995L11 41h5\\\"/><path d=\\\"M41.986 40.982a2.997 2.997 0 1 1-5.995 0 2.997 2.997 0 0 1 6 0zm-19.984 0a2.997 2.997 0 1 1-5.995 0 2.997 2.997 0 0 1 5.995 0zm-2.998-27.97c0 4.903-4.09 8.994-8.993 8.994-4.9 0-8.99-4.09-8.99-8.993 0-4.903 4.09-8.992 8.994-8.992s8.994 4.09 8.994 8.996z\\\"/><path d=\\\"M9.012 8.008v5.996h3.997M1 31l6.014.005M4 34h3m-1 3h1m26-4h13m-13 8h3\\\"/></g></svg>\",\n      \"biz-dollar\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M47 24c0 12.703-10.297 23-23 23C11.3 47 1 36.703 1 24 1 11.298 11.3 1 24 1c12.703 0 23 10.298 23 23z\\\"/><path d=\\\"M19 29a5 5 0 0 0 5 5 5 5 0 0 0 0-10 5 5 0 0 1 0-10 5 5 0 0 1 5 5m-5-8v26\\\"/></g></svg>\",\n      \"biz-euro\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M47 24c0 12.703-10.297 23-23 23C11.3 47 1 36.703 1 24 1 11.298 11.3 1 24 1c12.703 0 23 10.298 23 23z\\\"/><path d=\\\"M29 35c-7.18 0-13-2-13-11s5.82-11 13-11M13 27h11m-11-4h13\\\"/></g></svg>\",\n      \"biz-package\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M24 21L1 11v26l23 10V21zm0 0l23-10v26L24 47V21zM1 11L24 1l23 10M14.333 5.167l20.885 10.896\\\"/><path d=\\\"M18 25L7 20v10l11 5V25z\\\"/></g></svg>\",\n      \"biz-shop\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M43 19.625V44H5V19.625\\\"/><path d=\\\"M25 38H9V26h16v12zm14 6H29V26h10v18zm4-40H5l-4 8h46l-4-8zm4 10a6 6 0 0 1-6 6c-1.652 0-2.914-.92-4-2-1.416 2.25-4.146 4-7 4a7.973 7.973 0 0 1-6-2.72A7.97 7.97 0 0 1 18 22c-2.854 0-5.584-1.75-7-4-1.084 1.08-2.348 2-4 2a6 6 0 0 1-6-6v-2h46v2z\\\"/><path d=\\\"M11 18v-6l2-8m11 15.28V4m13 14v-6l-2-8\\\"/><path d=\\\"M35 35a1 1 0 1 0 0 2 1 1 0 0 0 0-2\\\" fill=\\\"#231F1F\\\"/></g></svg>\",\n      \"book-book\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M9 16v25c0 6 6 6 6 6l24-3V9l-26 3a4 4 0 0 1-4-4c0-4.574 2.723-2.95 26-7M14 8l23-3\\\" fill=\\\"none\\\"/></svg>\",\n      \"book-bookmark\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linecap=\\\"round\\\"><path d=\\\"M35 31l-6-6-6 6V7h12v24z\\\"/><path d=\\\"M35 9h6v38H11a4 4 0 0 1-4-4V5\\\"/><path d=\\\"M39 9V1H11a4 4 0 0 0 0 8h12\\\"/></g></svg>\",\n      \"book-library\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M21 47H9V1h12v46zm12 0H21V17h12v30zm-8-4h4M15 5v26\\\"/><path d=\\\"M17 43h-4v-8h4v8zm10-22v18M5 13v28m-4 6h8V7H1v40zm45.81-1.5L41 47 30.998 8.27l5.81-1.5 10 38.73z\\\"/></g></svg>\",\n      \"book-opened\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M24 41c0-4 2-6 6-6h12V3H30c-4 0-6 2-6 6 0-4-2-6-6-6H6v32h12c4 0 6 2 6 6z\\\"/><path d=\\\"M42 7h4v32H34c-4 0-7 2-7 6h-6c0-4-3-6-7-6H2V7h4m18 2v31\\\"/></g></svg>\",\n      \"book-opened2\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M24 11c0-3.866 10.297-7 23-7v33c-12.703 0-23 3.134-23 7 0-3.866-10.3-7-23-7V4c12.7 0 23 3.134 23 7zm0 0v32m-5-27.52c-3.22-1.232-7.773-2.128-13-2.48m13 8.48c-3.22-1.232-7.773-2.128-13-2.48m13 8.48c-3.22-1.232-7.773-2.128-13-2.48m13 8.48c-3.22-1.23-7.773-2.127-13-2.48m23-15.52c3.223-1.232 7.773-2.128 13-2.48m-13 8.48c3.223-1.232 7.773-2.128 13-2.48m-13 8.48c3.223-1.232 7.773-2.128 13-2.48m-13 8.48c3.223-1.23 7.773-2.127 13-2.48\\\" fill=\\\"none\\\"/></svg>\",\n      \"book-star\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M11 5h24v4\\\"/><path d=\\\"M39 9V1H11a4 4 0 0 0 0 8h30v38H11a4 4 0 0 1-4-4V5\\\"/><path d=\\\"M24 15.975L27 25h9l-7 5 3 9-8-5-8 5 3-9-7-5h9l3-9.025z\\\"/></g></svg>\",\n      \"chat-comment\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M47 21.766C47 32.13 36.703 40.53 24 40.53c-2.835 0-5.55-.417-8.058-1.183l-13.217 6.15L7.9 35.167C3.643 31.76 1 27.015 1 21.767 1 11.4 11.297 3 24 3s23 8.402 23 18.766zM15 17h13m-13 6h19m-19 6h19\\\" fill=\\\"none\\\"/></svg>\",\n      \"chat-conversation\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M14.88 29.628A18.448 18.448 0 0 1 12 29L2 33l4-7c-3.147-2.518-5-6.25-5-10.13C1 8.21 8.61 2 18 2s17 6.21 17 13.87\\\"/><path d=\\\"M19 33c0 8.576 10 15 19 11l8 3-3-6c2.592-2.074 4-4.806 4-8 0-6.31-6.267-12-14-12-7.732 0-14 5.69-14 12z\\\"/></g></svg>\",\n      \"chat-delete\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M19 34.87c-1.772-.148-3.563-.432-5-.87L3 39l4-9c-3.858-3.086-6-7.246-6-12C1 8.61 10.328 1 21.835 1 33.343 1 43 8.61 43 18c0 .678-.05 1.347-.145 2.004\\\"/><path d=\\\"M47 35c0 6.628-5.374 12-12 12-6.628 0-12-5.372-12-12s5.372-12 12-12c6.626 0 12 5.372 12 12zm-17.4 5.4l10.8-10.8m0 10.8L29.6 29.6\\\"/></g></svg>\",\n      \"chat-edit\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M20 34.942c-2.083-.12-4.292-.42-6-.942L3 39l4-9c-3.858-3.086-6-7.246-6-12C1 8.61 10.328 1 21.835 1 33.343 1 43 8.61 43 18c0 1.044-.117 2.065-.342 3.057M31.997 45.002l-7 2 2-7L42 25l5 5-15.003 15.002zM38 29l5 5m-16.003 6.002l5 5\\\" fill=\\\"none\\\"/></svg>\",\n      \"chat-info\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M47 21.766C47 32.13 36.703 40.53 24 40.53c-2.835 0-5.55-.417-8.058-1.183l-13.217 6.15L7.9 35.167C3.642 31.76 1 27.015 1 21.767 1 11.4 11.297 3 24 3s23 8.402 23 18.766z\\\"/><path d=\\\"M25 31V19h-4m0 12h8\\\"/><path d=\\\"M24 11a2 2 0 1 0 0 4 2 2 0 0 0 0-4\\\" fill=\\\"#231F1F\\\"/></g></svg>\",\n      \"chat-plus\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M18.972 34.87c-1.763-.15-3.544-.435-4.972-.87L3 39l4-9c-3.857-3.086-6-7.246-6-12C1 8.61 10.327 1 21.835 1 33.343 1 43 8.61 43 18c0 .68-.05 1.35-.147 2.01\\\"/><path d=\\\"M47 35c0 6.628-5.374 12-12 12-6.628 0-12-5.372-12-12s5.372-12 12-12c6.626 0 12 5.372 12 12zm-17.454 0h10.91M35 40.454V29.546\\\"/></g></svg>\",\n      \"chat-question\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M47 21.268c0 10.363-10.297 18.765-23 18.765-2.835 0-5.55-.418-8.058-1.184L2.725 45 7.9 34.668c-4.258-3.406-6.9-8.15-6.9-13.4C1 10.904 11.297 2.502 24 2.502s23 8.402 23 18.766z\\\"/><path d=\\\"M25 28.502a2 2 0 1 0 0 4 2 2 0 0 0 0-4\\\" fill=\\\"#231F1F\\\"/><path d=\\\"M19 17.75c0-3.312 2.686-6.124 6-6.124 3.313 0 6 2.626 6 5.938 0 3.315-2.687 5.938-6 5.938V26\\\"/></g></svg>\",\n      \"chat-single\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M47 21.766C47 32.13 36.703 40.53 24 40.53c-2.835 0-5.55-.417-8.058-1.183l-13.217 6.15L7.9 35.167C3.643 31.76 1 27.015 1 21.767 1 11.4 11.297 3 24 3s23 8.402 23 18.766z\\\" fill=\\\"none\\\"/></svg>\",\n      \"chat-star\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M20 34.942c-2.083-.12-4.292-.42-6-.942L3 39l4-9c-3.858-3.086-6-7.246-6-12C1 8.61 10.328 1 21.835 1 33.343 1 43 8.61 43 18c0 1.044-.117 2.065-.342 3.057\\\"/><path d=\\\"M36.016 25L40 33h7l-6 5 3 9-8-5.494L28 47l3-9-6-5h7l4.016-8z\\\"/></g></svg>\",\n      \"chat-user\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M12 32.395v4.342L4.117 39.56C2.23 40.235 1 42.02 1 44.022V47h30v-2.977c0-2.003-1.232-3.788-3.117-4.463L20 36.737v-4.613\\\"/><path d=\\\"M23.697 24.105c0 5.232-3.534 9.475-7.895 9.475-4.36 0-7.895-4.243-7.895-9.475 0-5.232 3.535-9.473 7.895-9.473 4.36 0 7.895 4.242 7.895 9.473z\\\"/><path d=\\\"M23.646 23.25c-.265.032-.47.015-.738.065-2.69.52-4.416-.456-5.897-3.046-.884 1.7-3.66 3.042-5.94 3.042-1.124 0-2.114-.205-3.08-.71M21 13c0-6.628 5.82-12 13-12s13 5.372 13 12c0 4.992-3.302 9.272-8 11.08C38 25 33 30 32 31c0-1 0-5 .007-6.14-1.06-.15-2.08-.42-3.04-.792\\\"/><path d=\\\"M40 13h-2v2h2v-2zm-5 0h-2v2h2v-2zm-5 0h-2v2h2v-2z\\\" fill=\\\"#231F1F\\\"/></g></svg>\",\n      \"comms-check\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M19 32H4a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h36a3 3 0 0 1 3 3v10\\\"/><path d=\\\"M42 5L22 22 2 5m45 27c0 6.628-5.374 12-12 12-6.628 0-12-5.372-12-12s5.372-12 12-12c6.626 0 12 5.372 12 12z\\\"/><path d=\\\"M41.545 28.727l-7.636 8.37-5.458-5.455\\\"/></g></svg>\",\n      \"comms-edit\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M21 32H4.997A3 3 0 0 1 2 29V7a3 3 0 0 1 2.997-3h36A3.004 3.004 0 0 1 44 7v11\\\"/><path d=\\\"M43.125 4.917L22.997 21 2.875 4.875m29.122 37.128l-7 2 2-7L42 22l5 5-15.003 15.003zM38 26l5 5m-16.003 6.003l5 5\\\"/></g></svg>\",\n      \"comms-email-edit\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M19 33H3.947C2.29 33 1 31.656 1 30V8c0-1.656 1.29-3 2.947-3h36C41.604 5 43 6.344 43 8v9\\\"/><path d=\\\"M42.104 5.875L21.947 22 1.827 5.906m29.935 16.839c-1.088.404-2.204 1.01-3.108 1.784l-2.383-1.375-3.264 5.654 2.373 1.37a9.833 9.833 0 0 0-.17 1.79c0 .61.06 1.204.17 1.784L23 35.128l3.264 5.654 2.39-1.372c.904.773 2.02 1.378 3.108 1.784v2.745h6.53v-2.75c1.087-.406 2.175-1.01 3.078-1.784l2.37 1.37L47 35.13l-2.377-1.372a9.83 9.83 0 0 0 .17-1.786c0-.612-.064-1.206-.17-1.787l2.373-1.37-3.264-5.655-2.362 1.37c-.903-.772-1.99-1.38-3.08-1.783V20h-6.528v2.745z\\\"/><path d=\\\"M39.35 31.97a4.353 4.353 0 1 1-8.705 0 4.353 4.353 0 0 1 8.706 0z\\\"/></g></svg>\",\n      \"comms-email\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M45 35a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V13a3 3 0 0 1 3-3h36a3 3 0 0 1 3 3v22z\\\"/><path d=\\\"M44 11L24 27 4 11\\\"/></g></svg>\",\n      \"comms-inbox-down\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M47 47H1V33h15v2c0 2.2 1.8 4 4 4h9c2.2 0 4-1.8 4-4v-2h14v14zM1 33l7-12h5m21 0h6l7 12M23 23V1m8 14l-8 8-8-8\\\" fill=\\\"none\\\"/></svg>\",\n      \"comms-inbox-up\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M47 47H1V33h15v2c0 2.2 1.8 4 4 4h9c2.2 0 4-1.8 4-4v-2h14v14zM1 33l7-12h7m20 0h5l7 12M25 1v22M17 9l8-8 8 8\\\" fill=\\\"none\\\"/></svg>\",\n      \"comms-inbox\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M13 35H1V17a6 6 0 0 1 12 0v18z\\\"/><path d=\\\"M7 11h34a6 6 0 0 1 6 6v18H13m14 0v12M5 31h4m0-20V5m6-4H9v4h6V1z\\\"/></g></svg>\",\n      \"comms-mail\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M47 3L1 22l18 7L47 3z\\\"/><path d=\\\"M47 3l-8 37-20-11L47 3zM19 29v16l7-12\\\"/></g></svg>\",\n      \"comms-minus\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M19 32H4a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h36a3 3 0 0 1 3 3v9\\\"/><path d=\\\"M42.125 4.917L22 21 1.875 4.875M47 32c0 6.627-5.374 12-12 12-6.628 0-12-5.373-12-12s5.372-12 12-12c6.626 0 12 5.373 12 12zm-17.454 0h10.91\\\"/></g></svg>\",\n      \"comms-phone\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M18.17 14.804a4.627 4.627 0 0 0 0-6.542l-4.906-4.906a4.626 4.626 0 0 0-6.543 0l-2.69 2.69a6.93 6.93 0 0 0-.872 8.732c7.82 11.82 18.25 22.25 30.07 30.067a6.938 6.938 0 0 0 8.73-.875l2.69-2.69a4.625 4.625 0 0 0 0-6.543L39.74 29.83a4.628 4.628 0 0 0-6.544 0l-1.635 1.635A109.75 109.75 0 0 1 16.54 16.44l1.635-1.636z\\\" fill=\\\"none\\\"/></svg>\",\n      \"comms-phone2\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M42 6c2.76.564 5 3.183 5 6v3c0 2.186-1.814 4-4 4h-6c-2.185 0-4-1.814-4-4v-2a92.057 92.057 0 0 0-18 0v2c0 2.186-1.815 4-4 4H5c-2.185 0-4-1.814-4-4v-3c0-2.817 2.238-5.436 5-6a89.94 89.94 0 0 1 36 0zm1 38H5v-6c0-8.8 7.2-16 16-16h6c8.8 0 16 7.2 16 16v6zM21 18v4m7-4v4\\\"/><path d=\\\"M31 33a7 7 0 1 1-14 0 7 7 0 0 1 14 0z\\\"/></g></svg>\",\n      \"comms-plus\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M19 32H4a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h36a3 3 0 0 1 3 3v9\\\"/><path d=\\\"M42.156 4.906L22 21 1.875 4.875M47 32c0 6.627-5.374 12-12 12-6.628 0-12-5.373-12-12s5.372-12 12-12c6.626 0 12 5.373 12 12zm-17.454 0h10.91M35 37.455v-10.91\\\"/></g></svg>\",\n      \"comms-search\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M20 32H4a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h36a3 3 0 0 1 3 3v11\\\"/><path d=\\\"M42.146 4.938L22 21 1.854 4.895M42.222 31.61a7.61 7.61 0 0 1-7.61 7.61 7.61 7.61 0 0 1 0-15.22 7.61 7.61 0 0 1 7.61 7.61zM40 37l7 7\\\"/></g></svg>\",\n      \"comms-text\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M23 29v14a4 4 0 0 1-4 4H5a4 4 0 0 1-4-4V13a4 4 0 0 1 4-4h6m0 8H1m22 22H1\\\"/><path d=\\\"M12 41a2 2 0 1 0 0 4 2 2 0 0 0 0-4\\\" fill=\\\"#231F1F\\\"/><path d=\\\"M9 13h2m36 3a3 3 0 0 1-3 3H33l-6 6v-6h-7a3 3 0 0 1-3-3V4a3 3 0 0 1 3-3h24a3 3 0 0 1 3 3v12z\\\"/><path d=\\\"M32 9a1 1 0 1 0 0 2 1 1 0 0 0 0-2m5 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2M27 9a1 1 0 1 0 0 2 1 1 0 0 0 0-2\\\" fill=\\\"#231F1F\\\"/></g></svg>\",\n      \"comms-timed\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M20 33H4a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3h36a3 3 0 0 1 3 3v11\\\"/><path d=\\\"M42.14 5.906L22 22 1.86 5.906M47 32c0 6.075-4.926 11-11 11-6.075 0-11-4.925-11-11s4.925-11 11-11c6.074 0 11 4.925 11 11z\\\"/><path d=\\\"M39 33h-4v-7\\\"/></g></svg>\",\n      \"comms-video\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M29 33H11V15h18v7l8-5v14l-8-5v7z\\\"/><path d=\\\"M47 24c0 12.703-10.297 23-23 23C11.298 47 1 36.704 1 24 1 11.3 11.298 1 24 1c12.703 0 23 10.3 23 23z\\\"/></g></svg>\",\n      \"comms-voice\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M5 29a4 4 0 0 1 0-8m24 23h4a7 7 0 0 0 7-7v-2m-11 9a3 3 0 0 1-6 0 3 3 0 0 1 6 0zm-16-9H9a4 4 0 0 1-4-4V19a4 4 0 0 1 4-4h4v20zm30-6a4 4 0 0 0 0-8m-8 14h4a4 4 0 0 0 4-4V19a4 4 0 0 0-4-4h-4v20zM10 15c0-7.73 6.268-14 14-14 7.73 0 14 6.27 14 14\\\" fill=\\\"none\\\"/></svg>\",\n      \"devices-desktop\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linecap=\\\"round\\\"><path d=\\\"M47 36a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h40a3 3 0 0 1 3 3v30zm-37 9h28m-7 0H17l2-6h10l2 6z\\\"/><path d=\\\"M43 31H5V7h38v24zm-18 4a1 1 0 1 1-2 0 1 1 0 0 1 2 0z\\\"/></g></svg>\",\n      \"devices-laptop\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linecap=\\\"round\\\"><path d=\\\"M41 31H7V11h34v20z\\\"/><path d=\\\"M3 35V10a3 3 0 0 1 3-3h36a3 3 0 0 1 3 3v25m-16 0v2H19v-2H1v4a2 2 0 0 0 2 2h42a2 2 0 0 0 2-2v-4H29z\\\"/></g></svg>\",\n      \"devices-mobile\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M39 43a4 4 0 0 1-4 4H13a4 4 0 0 1-4-4V5a4 4 0 0 1 4-4h22a4 4 0 0 1 4 4v38zm0-34H9m30 30H9\\\"/><path d=\\\"M24 41a2 2 0 1 0 0 4 2 2 0 0 0 0-4\\\" fill=\\\"#231F1F\\\"/><path d=\\\"M19 5h10\\\"/></g></svg>\",\n      \"devices-server\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linecap=\\\"round\\\"><path d=\\\"M43 11c0 4.418-8.508 8-19 8S5 15.418 5 11s8.508-8 19-8 19 3.582 19 8zm0 8c0 4.418-8.508 8-19 8S5 23.418 5 19m38 9c0 4.418-8.508 8-19 8S5 32.418 5 28\\\"/><path d=\\\"M5 11v26c0 4.418 8.508 8 19 8s19-3.582 19-8V11\\\"/></g></svg>\",\n      \"devices-tablet\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M41 43a4 4 0 0 1-4 4H11a4 4 0 0 1-4-4V5a4 4 0 0 1 4-4h26a4 4 0 0 1 4 4v38z\\\"/><path d=\\\"M24 41a2 2 0 1 0 0 4 2 2 0 0 0 0-4\\\" fill=\\\"#231F1F\\\"/><path d=\\\"M37 39H11V7h26v32z\\\"/><path d=\\\"M24 3a1 1 0 1 0-.002 1.998A1 1 0 0 0 24 3\\\" fill=\\\"#231F1F\\\"/></g></svg>\",\n      \"devices-window-check\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M1 10h40\\\"/><path d=\\\"M7 5a1 1 0 0 0 0 2 1 1 0 0 0 0-2m4 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2m4 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2\\\" fill=\\\"#231F1F\\\"/><path d=\\\"M17 34H5a4 4 0 0 1-4-4V6a4 4 0 0 1 4-4h32a4 4 0 0 1 4 4v12\\\"/><path d=\\\"M47 35c0 6.628-5.373 12-12 12-6.63 0-12-5.372-12-12 0-6.627 5.37-12 12-12 6.627 0 12 5.373 12 12z\\\"/><path d=\\\"M41 32l-7 7.673-5-5\\\"/></g></svg>\",\n      \"devices-window-settings\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M1 9h40\\\"/><path d=\\\"M7 4a1 1 0 0 0 0 2 1 1 0 0 0 0-2m4 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2m4 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2\\\" fill=\\\"#231F1F\\\"/><path d=\\\"M19 33H5a4 4 0 0 1-4-4V5a4 4 0 0 1 4-4h32a4 4 0 0 1 4 4v16\\\"/><path d=\\\"M33 27.523c-1 .372-2.026.93-2.855 1.64l-2.19-1.26-3.004 5.194 2.18 1.26A9.06 9.06 0 0 0 26.978 36c0 .56.057 1.11.155 1.64l-2.182 1.262 3 5.195 2.198-1.26c.83.71 1.855 1.268 2.855 1.64V47h6v-2.523c1-.372 2-.93 2.83-1.64l2.178 1.26 2.998-5.195-2.186-1.26c.1-.532.155-1.08.155-1.642 0-.562-.058-1.11-.158-1.642l2.18-1.26-3-5.198-2.17 1.26C41 28.45 40 27.893 39 27.52V25h-6v2.523z\\\"/><path d=\\\"M39.973 36a4 4 0 1 1-8 0 4 4 0 0 1 8 0z\\\"/></g></svg>\",\n      \"devices-window\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M47 38a4 4 0 0 1-4 4H5a4 4 0 0 1-4-4V10a4 4 0 0 1 4-4h38a4 4 0 0 1 4 4v28zM1 16h46\\\"/><path d=\\\"M9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm6 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm6 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z\\\"/></g></svg>\",\n      \"file-check\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M37 9V5H11V1H1v31a3 3 0 0 0 6 0V9h34v10M4 35h14\\\"/><path d=\\\"M47 35c0 6.627-5.374 12-12 12-6.63 0-12-5.373-12-12s5.37-12 12-12c6.626 0 12 5.373 12 12z\\\"/><path d=\\\"M41.545 31.727l-7.636 8.37-5.458-5.455\\\"/></g></svg>\",\n      \"file-down\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M21 43H1V1h22l10 10.003V19\\\"/><path d=\\\"M23 1v10h10m14 24c0 6.627-5.374 12-12 12-6.63 0-12-5.373-12-12s5.37-12 12-12c6.626 0 12 5.373 12 12z\\\"/><path d=\\\"M35 40.45V29.543m-4.364 6.547L35 40.456l4.363-4.364\\\"/></g></svg>\",\n      \"file-edit\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M19 43H1V1h22l10 10v15\\\"/><path d=\\\"M23 1v10h10m-1 34.003l-7 2 2-7L42.002 25l5 5L32 45.003zM38.002 29l5 5M27 40.003l5 5\\\"/></g></svg>\",\n      \"file-file\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M41 47H7V1h22l12 12v34z\\\"/><path d=\\\"M29 1v12h12\\\"/></g></svg>\",\n      \"file-files\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M41 41H13V1h16l12 12v28z\\\"/><path d=\\\"M29 1v12h12m-6 28v6H7V7h6\\\"/></g></svg>\",\n      \"file-folder-down\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M37 9V5H11V1H1v31a3 3 0 0 0 6 0V9h34v9M4 35h14m29 0c0 6.627-5.374 12-12 12-6.63 0-12-5.373-12-12s5.37-12 12-12c6.626 0 12 5.373 12 12z\\\"/><path d=\\\"M35 40.455v-10.91m-4.364 6.545L35 40.456l4.363-4.364\\\"/></g></svg>\",\n      \"file-folder-edit\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M37 9V5H11V1H1v31a3 3 0 0 0 6 0V9h34v10M4 35h15m12.997 10l-7 2 2-7L42 24.997l5 5L31.997 45zM38 28.997l5 5M26.997 40l5 5\\\" fill=\\\"none\\\"/></svg>\",\n      \"file-folder-lock\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M37 9V5H11V1H1v31a3 3 0 0 0 6 0V9h34v10M4 35h15m28 12H29V33h18v14zm-9-4v-3\\\"/><path d=\\\"M38 36a2 2 0 1 0 0 4 2 2 0 0 0 0-4\\\" fill=\\\"#231F1F\\\"/><path d=\\\"M32 33v-2a6 6 0 0 1 12 0v2\\\"/></g></svg>\",\n      \"file-folder-plus\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M37 9V5H11V1H1v31a3 3 0 0 0 6 0V9h34v9M4 35h14m29 0c0 6.627-5.374 12-12 12-6.63 0-12-5.373-12-12s5.37-12 12-12c6.626 0 12 5.373 12 12zm-17.454 0h10.91M35 40.455v-10.91\\\" fill=\\\"none\\\"/></svg>\",\n      \"file-folder-search\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M37 9V5H11V1H1v31a3 3 0 0 0 6 0V9h34v10M4 35h15m23.22-.39a7.61 7.61 0 0 1-7.61 7.61 7.61 7.61 0 1 1 7.61-7.61zM40 40l7 7\\\" fill=\\\"none\\\"/></svg>\",\n      \"file-folder-up\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M37 9V5H11V1H1v31a3 3 0 0 0 6 0V9h34v9M4 35h14m29 0c0 6.627-5.374 12-12 12-6.63 0-12-5.373-12-12s5.37-12 12-12c6.626 0 12 5.373 12 12z\\\"/><path d=\\\"M35 29.545v10.91m4.364-6.545L35 29.544l-4.363 4.364\\\"/></g></svg>\",\n      \"file-lock\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M21 43H1V1h22l10 10.003V20\\\"/><path d=\\\"M23 1v10h10m14 36H29V33h18v14zm-9-4v-3\\\"/><path d=\\\"M38 36.003a2 2 0 1 0 0 4 2 2 0 0 0 0-4\\\" fill=\\\"#231F1F\\\"/><path d=\\\"M32 33v-1.997a6 6 0 0 1 12 0V33\\\"/></g></svg>\",\n      \"file-plus\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M21 43H1V1h22l10 10v8\\\"/><path d=\\\"M23 1v10h10m14 24c0 6.627-5.374 12-12 12-6.63 0-12-5.373-12-12s5.37-12 12-12c6.626 0 12 5.373 12 12zm-17.454 0h10.91M35 40.455v-10.91\\\"/></g></svg>\",\n      \"file-search\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M22 43H1V1h22l10 10v9\\\"/><path d=\\\"M23 1v10h10m9.22 23.61a7.61 7.61 0 0 1-7.608 7.61 7.61 7.61 0 0 1 0-15.22 7.61 7.61 0 0 1 7.61 7.61zM40 40l7 7\\\"/></g></svg>\",\n      \"file-spreadsheet\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linecap=\\\"round\\\"><path d=\\\"M41 47H7V1h22l12 12v34z\\\"/><path d=\\\"M29 1v12h12m-6 28H13V17h22v24zM13 23h22m-22 6h22m-22 6h22M21 17v24\\\"/></g></svg>\",\n      \"file-up\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M21 43H1V1h22l10 10.003V19\\\"/><path d=\\\"M23 1v10h10m14 24c0 6.627-5.374 12-12 12-6.63 0-12-5.373-12-12s5.37-12 12-12c6.626 0 12 5.373 12 12z\\\"/><path d=\\\"M35 29.542v10.91m4.364-6.542L35 29.544l-4.363 4.364\\\"/></g></svg>\",\n      \"info-check\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M34.002 17l-15 14-5-5\\\"/><path d=\\\"M47.002 24c0 12.703-10.3 23-23 23-12.706 0-23-10.297-23-23s10.294-23 23-23c12.7 0 23 10.297 23 23z\\\"/></g></svg>\",\n      \"info-cross\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M46 24.043c-.023 12.15-9.893 21.98-22.042 21.958C11.806 45.98 1.978 36.11 2 23.96 2.023 11.808 11.89 1.978 24.042 2c12.15.024 21.98 9.892 21.958 22.043zm-13.5-8.51l-17 16.937m16.968.033L15.53 15.5\\\" fill=\\\"none\\\"/></svg>\",\n      \"info-exclamation\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M45.997 23.613c.21 12.15-9.847 22.172-21.997 22.383-12.148.212-21.786-9.468-21.996-21.617C1.792 12.23 11.85 2.203 24 1.992c12.15-.21 21.786 9.47 21.997 21.617zM24 26.993v-14\\\"/><path d=\\\"M24 31.993h-.035a2 2 0 0 0 .035 4h.035a2 2 0 0 0-.034-4\\\" fill=\\\"#231F1F\\\"/></g></svg>\",\n      \"info-info\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M46 24c0 12.15-9.852 22-22 22-12.152 0-22-9.85-22-22S11.848 2 24 2c12.148 0 22 9.85 22 22zM18 38h12\\\"/><path d=\\\"M20 20h4v17\\\"/><path d=\\\"M23 11a2 2 0 1 0 0 4 2 2 0 0 0 0-4\\\" fill=\\\"#231F1F\\\"/></g></svg>\",\n      \"info-question\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M24 34a2 2 0 1 0 0 4 2 2 0 0 0 0-4\\\" fill=\\\"#231F1F\\\"/><path d=\\\"M47 24c0 12.703-10.297 23-23 23S1 36.703 1 24 11.297 1 24 1s23 10.297 23 23z\\\"/><path d=\\\"M18 19a6 6 0 1 1 6 6v6\\\"/></g></svg>\",\n      \"info-sync\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M1.56 20.21l5.56 8.312 6.424-7.662M46.69 28.9l-5.555-8.313-6.427 7.663\\\"/><path d=\\\"M41.167 20.625c1.652 8.82-4.687 17.482-13.16 19.468-5.912 1.386-11.832-.5-15.853-4.478m-5.03-7.198c-2.607-9.77 3.98-19.285 13.12-21.427 6.317-1.48 12.634.77 16.643 5.315\\\"/></g></svg>\",\n      \"tools-compose\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M39 22v25H1V5h32\\\"/><path d=\\\"M27.294 23.534l-5.657 2.83 2.828-5.658L43.557 1.614c1.87-1.87 4.7.956 2.828 2.828l-19.09 19.092zM40.73 4.442l2.827 2.83\\\"/></g></svg>\",\n      \"tools-dashboard\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M27 31a3 3 0 0 1-6 0 3 3 0 0 1 6 0zm-.88-2.12l9.9-9.9M5 32h4m34 .002L39 32m2.553-8.27l-3.696 1.53M31.27 13.447l-1.53 3.695M24 12v4m-7.27-2.553l1.53 3.695m-7.694.422l2.826 2.83M6.447 23.73l3.695 1.53\\\"/><path d=\\\"M24 8C11.297 8 1 18.3 1 31v9h46v-9C47 18.3 36.703 8 24 8z\\\"/></g></svg>\",\n      \"tools-delete\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M41 47H7V7h34v40zM33 7H15V1h18v6zM1 7h46m-32 8v23m9-23v23m9-23v23\\\" fill=\\\"none\\\"/></svg>\",\n      \"tools-edit\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M14.932 43.968L2 47l3.033-12.93 31.2-31.203a4 4 0 0 1 5.658 0l4.247 4.243a4 4 0 0 1 0 5.656L14.932 43.968zm29.84-29.735L34.82 4.28m7.125 12.782L31.992 7.11M15.436 43.465l-9.9-9.9\\\" fill=\\\"none\\\"/></svg>\",\n      \"tools-locked\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M25 30a1 1 0 1 1-1.998.002A1 1 0 0 1 25 30zm-1 1v6\\\"/><path d=\\\"M41 19H7v28h34V19zm-28-7c0-6.075 4.925-11 11-11s11 4.925 11 11v7H13v-7z\\\"/></g></svg>\",\n      \"tools-setting1\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M40.508 27H47v-6h-6.494c-.418-1.734-1.102-4.36-2.006-5.844l4.592-4.59-5.658-5.658L32.84 9.5c-1.48-.904-4.105-1.588-5.84-2.006V1h-6v6.494c-1.734.418-4.36 1.102-5.842 2.006l-4.593-4.592-5.658 5.657L9.5 15.158c-.905 1.48-1.588 4.108-2.01 5.842H1v6h6.49c.422 1.734 1.105 4.36 2.01 5.842l-4.594 4.593 5.66 5.657 4.59-4.594c1.483.906 4.11 1.59 5.844 2.01V47h6v-6.492c1.735-.42 4.36-1.104 5.84-2.008l4.596 4.592 5.656-5.657-4.592-4.593c.904-1.48 1.588-4.108 2.008-5.842z\\\"/><path d=\\\"M33 24a9 9 0 0 1-9 9 9 9 0 0 1-9-9 9 9 0 0 1 9-9 9 9 0 0 1 9 9z\\\"/></g></svg>\",\n      \"tools-setting2\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M16.36 35.586L35.585 16.36a7.995 7.995 0 0 0 8.777-1.708c2.373-2.373 2.938-5.716 1.705-8.628L42.242 10H38V5.46l3.83-3.827C38.915.4 35.422.967 33.05 3.34a8.002 8.002 0 0 0-1.71 8.777L12.118 31.344A7.995 7.995 0 0 0 1.633 41.83L5.46 38H10v4.242L6.024 46.07a7.88 7.88 0 0 0 8.703-1.707c2.374-2.373 2.865-5.865 1.632-8.777z\\\"/><path d=\\\"M23.85 19.608l-7.49-7.49a7.998 7.998 0 0 0-1.707-8.778C12.28.967 8.938.4 6.023 1.632L10 5.462v4.54H5.46L1.633 6.024a7.882 7.882 0 0 0 1.707 8.703c2.373 2.375 5.866 2.902 8.778 1.67l7.492 7.474m4.24 4.22l7.494 7.498a7.995 7.995 0 0 0 1.707 8.777 8.002 8.002 0 0 0 8.78 1.705L38 42.243V38h4.243l3.828 3.83a8 8 0 0 0-1.703-8.78 8 8 0 0 0-8.778-1.706l-7.49-7.492\\\"/></g></svg>\",\n      \"tools-setting3\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M22.858 31a6 6 0 1 1-6-6c3.315 0 6 2.685 6 6zm18-21a3 3 0 1 1-6 0 3 3 0 0 1 6 0z\\\"/><path d=\\\"M29.858 31c0-.934-.103-1.842-.29-2.72l3.145-1.815-4-6.93-3.087 1.824C24.282 20.14 23 19.2 21 18.63V15h-8v3.635c-2 .568-3.426 1.51-4.77 2.724L5.036 19.53l-4.018 6.93 3.137 1.816A13.084 13.084 0 0 0 3.862 31c0 .934.1 1.842.286 2.72L1 35.534l4 6.93 3.23-1.824C9.574 41.856 11 42.798 13 43.368V47h8v-3.633c2-.57 3.282-1.512 4.628-2.726l3.12 1.828 3.982-6.93-3.152-1.816c.185-.877.28-1.785.28-2.72zm15-21c0-.56-.072-1.1-.195-1.62l1.99-1.148-2-3.464-1.92 1.15A7.164 7.164 0 0 0 40 3.293V1h-4v2.295c-1 .316-2.09.88-2.874 1.623l-2.028-1.15-2.018 3.464 1.982 1.15c-.124.518-.2 1.06-.2 1.618 0 .56.07 1.098.194 1.62l-1.993 1.148 2 3.464 2.062-1.15c.785.744 1.875 1.31 2.875 1.625V19h4v-2.293a7.16 7.16 0 0 0 2.734-1.625l1.953 1.15 1.983-3.464-1.998-1.15c.123-.518.186-1.06.186-1.618z\\\"/></g></svg>\",\n      \"tools-unlock\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M25 30a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-1 1v6\\\"/><path d=\\\"M41 19H7v28h34V19zm-28-7c0-6.075 4.924-11 11-11 6.074 0 11 4.925 11 11v7\\\"/></g></svg>\",\n      \"user-check\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M42 34l-6.05 6L32 35.99M25 29v-5.72m-10 .126V29L4.98 32.577A6 6 0 0 0 1 38.227V43h22\\\"/><path d=\\\"M29.976 13c0 6.627-4.476 12-10 12-5.522 0-10-5.373-10-12s4.478-12 10-12c5.524 0 10 5.373 10 12z\\\"/><path d=\\\"M29.938 11.938c-.336.04-.62-.004-.96.06-3.408.66-5.596-.576-7.47-3.857-1.125 2.16-4.642 3.86-7.53 3.86a8.035 8.035 0 0 1-3.873-.96M47 37c0 5.523-4.478 10-10 10-5.524 0-10-4.477-10-10s4.476-10 10-10c5.522 0 10 4.477 10 10z\\\"/></g></svg>\",\n      \"user-contact\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M41 47H7V1h34v46zM7 1H3c-1.1 0-2 .9-2 2v42c0 1.1.9 2 2 2h4\\\"/><path d=\\\"M26 24.22V27l5.076 1.45C32.136 28.754 33 29.9 33 31v6H13v-6c0-1.1.865-2.247 1.922-2.55L20 27v-2.75\\\"/><path d=\\\"M29 18.542c0 3.613-2.688 6.543-6 6.543-3.315 0-6-2.93-6-6.543C17 14.93 19.685 12 23 12c3.312 0 6 2.93 6 6.542z\\\"/><path d=\\\"M28.938 17.352c-1 1-3.86.996-4.938-1.01-2 2-5.25 2-6.87.857M41 4h2c2.2 0 4 1.8 4 4v6h-6m0 0h6v10h-6m0 0h6v10h-6m0 0h6v6c0 2.2-1.8 4-4 4h-2\\\"/></g></svg>\",\n      \"user-edit\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M34 45l-7 2 2-7 13-13 5 5-13 13zm4-14l5 5m-14 4l5 5m-3-13.963L25 29v-5.843m-10 .373V29L4.98 32.577A6 6 0 0 0 1 38.227V43h21\\\"/><path d=\\\"M29.75 13c0 6.627-4.48 12-10 12-5.523 0-10-5.373-10-12s4.477-12 10-12c5.52 0 10 5.373 10 12z\\\"/><path d=\\\"M29.667 11.916c-.336.04-.58.018-.917.083-3.406.653-5.593-.58-7.468-3.86C20.157 10.293 16.64 12 13.75 12c-1.422 0-2.646-.292-3.87-.933\\\"/></g></svg>\",\n      \"user-group\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M8 13.188V16l-5.078 1.45C1.865 17.754 1 18.9 1 20v1h11\\\"/><path d=\\\"M14 13.188V16l5.076 1.45C20.136 17.754 21 18.9 21 20v1H10\\\"/><path d=\\\"M17 7.543c0 3.612-2.688 6.542-6 6.542-3.315 0-6-2.93-6-6.543C5 3.93 7.685 1 11 1c3.312 0 6 2.93 6 6.543z\\\"/><path d=\\\"M16.938 6.396c-1 1-3.86.952-4.937-1.056-2 2-5.25 2-6.864.86M34 13.188V16l-5.078 1.45C27.865 17.754 27 18.9 27 20v1h11\\\"/><path d=\\\"M40 13.188V16l5.076 1.45C46.136 17.754 47 18.9 47 20v1H36\\\"/><path d=\\\"M43 7.543c0 3.612-2.688 6.542-6 6.542-3.315 0-6-2.93-6-6.543C31 3.93 33.685 1 37 1c3.312 0 6 2.93 6 6.543z\\\"/><path d=\\\"M42.906 6.39c-1 1-3.828.958-4.906-1.05-2 2-5.25 2-6.868.86M21 39.21V42l-5.078 1.45C14.865 43.75 14 44.9 14 46v1h11\\\"/><path d=\\\"M27 39.188V42l5.076 1.45C33.136 43.752 34 44.9 34 46v1H23\\\"/><path d=\\\"M30 33.542c0 3.614-2.688 6.544-6 6.544-3.315 0-6-2.93-6-6.544C18 29.93 20.685 27 24 27c3.312 0 6 2.93 6 6.542z\\\"/><path d=\\\"M29.906 32.34c-1 1-3.828 1.008-4.906-1-2 2-5.25 2-6.868.86M8 25l5 5m27-5l-5 5\\\"/></g></svg>\",\n      \"user-locked\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M25 29v-5.625m-10 .03V29L4.98 32.576A6 6 0 0 0 1 38.226V43h24\\\"/><path d=\\\"M29.977 13c0 6.627-4.477 12-10 12-5.522 0-10-5.373-10-12 0-6.628 4.478-12 10-12 5.523 0 10 5.372 10 12z\\\"/><path d=\\\"M29.958 11.926c-.336.04-.642.008-.982.073-3.406.653-5.594-.58-7.47-3.86-1.124 2.153-4.64 3.86-7.53 3.86-1.422 0-2.646-.295-3.87-.937M47 47H31V34h16v13zm-8-4v-2\\\"/><path d=\\\"M39 37a2 2 0 1 0 0 4 2 2 0 0 0 0-4\\\" fill=\\\"#231F1F\\\"/><path d=\\\"M33 34v-2a6 6 0 0 1 12 0v2\\\"/></g></svg>\",\n      \"user-profile\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M29 12h18v34H1V12h18\\\"/><path d=\\\"M18 30a4 4 0 1 1-8 0 4 4 0 0 1 8 0z\\\"/><path d=\\\"M14 34c-5 0-7 3-7 6h14c0-3-2-6-7-6zm15-18H19V8c0-2.75 2.25-5 5-5s5 2.25 5 5v8z\\\"/><path d=\\\"M24 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4\\\" fill=\\\"#231F1F\\\"/><path d=\\\"M1 20h46M26 38h16m-16-4h16m-16-4h16m-16-4h8\\\"/></g></svg>\",\n      \"user-search\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M25 29v-5.667m-10 .083V29L4.98 32.578A6 6 0 0 0 1 38.228v4.77h24\\\"/><path d=\\\"M29.977 13c0 6.627-4.477 12-10 12-5.522 0-10-5.373-10-12 0-6.628 4.478-12 10-12 5.523 0 10 5.372 10 12z\\\"/><path d=\\\"M29.938 11.926c-.336.04-.62.008-.96.073-3.408.653-5.596-.58-7.47-3.86-1.125 2.153-4.64 3.86-7.53 3.86a8.13 8.13 0 0 1-3.894-.95M43 36a7 7 0 1 1-14 0 7 7 0 0 1 14 0zm4 11l-6-6\\\"/></g></svg>\",\n      \"user-setting\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M26 29v-5.687m-10 .093V29L5.98 32.577A6 6 0 0 0 2 38.227V43h22\\\"/><path d=\\\"M30.976 13c0 6.627-4.476 12-10 12-5.52 0-10-5.373-10-12s4.48-12 10-12c5.524 0 10 5.373 10 12z\\\"/><path d=\\\"M30.938 11.938c-.336.04-.62-.004-.96.06-3.408.66-5.596-.576-7.47-3.857-1.125 2.16-4.64 3.86-7.53 3.86-1.423 0-2.647-.29-3.87-.93M40.332 38a3 3 0 0 1-6 0 3 3 0 0 1 6 0z\\\"/><path d=\\\"M44.332 38c0-.56-.073-1.1-.195-1.62l1.99-1.148-2-3.464-2.156 1.15c-.783-.744-1.97-1.307-2.97-1.625V29h-4v2.295c-1 .316-1.85.88-2.634 1.623l-1.907-1.15-1.96 3.464 2.01 1.15A6.9 6.9 0 0 0 30.323 38c0 .56.077 1.098.2 1.62l-1.985 1.148 2 3.464 1.823-1.15c.79.744 1.64 1.31 2.64 1.625V47h4v-2.293c1-.316 2.187-.88 2.97-1.625l2.075 1.15 2.042-3.464-1.97-1.15c.123-.518.216-1.06.216-1.618z\\\"/></g></svg>\",\n      \"user-star\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M25 29v-5.812m-10 .342V29L4.98 32.577A6 6 0 0 0 1 38.227V43h21\\\"/><path d=\\\"M29.75 13c0 6.627-4.48 12-10 12-5.523 0-10-5.373-10-12s4.477-12 10-12c5.52 0 10 5.373 10 12z\\\"/><path d=\\\"M29.688 11.922c-.336.04-.6.013-.938.078-3.407.656-5.593-.578-7.468-3.86C20.157 10.297 16.64 12 13.75 12c-1.422 0-2.65-.296-3.875-.937m27.139 15.942L40 34h7l-6 4.997L44 47l-7-4.995L30 47l3-8.003L27 34h7l3.014-6.995z\\\"/></g></svg>\",\n      \"user-user\": \"<svg viewBox=\\\"0 0 48 48\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g stroke-width=\\\"2\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M19 26.563V32L8.98 35.578A6 6 0 0 0 5 41.228v3.77h38v-3.77a6.002 6.002 0 0 0-3.982-5.65L29 31.998v-5.84\\\"/><path d=\\\"M33.75 16c0 6.627-4.478 12-10 12-5.523 0-10-5.373-10-12s4.477-12 10-12c5.522 0 10 5.373 10 12z\\\"/><path d=\\\"M33.688 14.906c-.337.04-.6.028-.938.094-3.406.656-5.593-.578-7.468-3.86C24.157 13.297 20.64 15 17.75 15c-1.422 0-2.646-.29-3.87-.932\\\"/></g></svg>\"\n    }\n  },\n  \"guide\": {\n    \"linkedin-icon\": \"<svg width=\\\"12\\\" height=\\\"12\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M.404 5.13h3.118V16H.404V5.13zm1.48-1.36H1.86C.733 3.77 0 2.94 0 1.89 0 .814.754 0 1.905 0c1.15 0 1.858.812 1.88 1.885 0 1.052-.73 1.886-1.902 1.886zM16 16h-3.536v-5.625c0-1.472-.553-2.476-1.77-2.476-.93 0-1.448.676-1.688 1.33-.09.234-.077.56-.077.89V16H5.425s.045-9.964 0-10.87H8.93v1.706c.206-.746 1.326-1.81 3.112-1.81C14.26 5.026 16 6.59 16 9.956V16z\\\" fill=\\\"#FFF\\\" fill-rule=\\\"evenodd\\\" opacity=\\\".7\\\"/></svg>\",\n    \"twitter-icon\": \"<svg width=\\\"14\\\" height=\\\"12\\\" viewBox=\\\"0 0 18 15\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" xmlns:xlink=\\\"http://www.w3.org/1999/xlink\\\"><defs><path id=\\\"a\\\" d=\\\"M0 0h18v15H0z\\\"/></defs><g transform=\\\"matrix(1 0 0 -1 0 15)\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" opacity=\\\".7\\\"><mask id=\\\"b\\\" fill=\\\"#fff\\\"><use xlink:href=\\\"#a\\\"/></mask><path d=\\\"M18 13.225a7.231 7.231 0 0 0-2.12-.597 3.787 3.787 0 0 1 1.623 2.095 7.294 7.294 0 0 0-2.345-.92A3.643 3.643 0 0 1 12.463 15c-2.04 0-3.693-1.695-3.693-3.787 0-.297.032-.586.095-.863-3.07.158-5.79 1.666-7.61 3.957-.32-.56-.5-1.21-.5-1.904 0-1.314.65-2.472 1.642-3.152a3.6 3.6 0 0 0-1.673.475v-.048c0-1.835 1.273-3.365 2.962-3.713A3.594 3.594 0 0 0 2.018 5.9c.47-1.505 1.834-2.6 3.45-2.63A7.29 7.29 0 0 0 0 1.7 10.287 10.287 0 0 1 5.66 0c6.793 0 10.507 5.77 10.507 10.774 0 .165-.004.328-.01.49.72.534 1.347 1.2 1.842 1.96\\\" mask=\\\"url(#b)\\\" fill=\\\"#FFF\\\"/></g></svg>\"\n  },\n  \"illustrative\": {\n    \"features\": {\n      \"messenger\": \"<svg width=\\\"40\\\" height=\\\"40\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M29.458 20.761a1 1 0 0 1-.076 1.412c-.152.136-3.778 3.335-9.2 3.335-5.423 0-9.049-3.199-9.201-3.335a1 1 0 0 1 1.334-1.49c.045.04 3.244 2.825 7.867 2.825 4.664 0 7.833-2.795 7.864-2.823a1 1 0 0 1 1.412.076zM35 36.71c0 .466-.262 1.048-.418 1.172a.788.788 0 0 1-.794.022l-9.791-5.637-.463-.267H7.25C6.009 32 5 30.975 5 29.715V4.286C5 3.026 6.009 2 7.25 2h25.5C33.99 2 35 3.026 35 4.286V36.71zM32.75 0H7.25C4.906 0 3 1.923 3 4.286v25.429C3 32.078 4.906 34 7.25 34H23l9.79 5.637c.433.243.905.363 1.376.363.495 0 .989-.133 1.437-.399.874-.518 1.397-1.868 1.397-2.891V4.286C37 1.923 35.093 0 32.75 0z\\\" fill=\\\"#334BFA\\\"/></svg>\"\n    }\n  },\n  \"illustrative-icons\": {\n    \"acquire\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M36 27.825v-2.1a16 16 0 0 0-13-15.71v-3.29h2v-2H15v2h2v3.3a16 16 0 0 0-13 15.7h2a14 14 0 0 1 12.1-13.86 1 1 0 0 0 .9-1v-4.14h2v4.18a1 1 0 0 0 .87 1A14 14 0 0 1 34 24.725a2.84 2.84 0 0 1-2.85 3H5a5 5 0 0 0-5 5v2a1 1 0 0 0 1 1h38a1 1 0 0 0 1-1v-2a5 5 0 0 0-4-4.9zm2 5.9H2v-1a3 3 0 0 1 3-3h30a3 3 0 0 1 3 3z\\\"/><path d=\\\"M30.5 22.415a11 11 0 0 0-10.5-7.69v2a9 9 0 0 1 8.59 6.3zM29.11 8.28l2-3.997 1.789.894-2 3.998zm3.438 2.546l3.998-2 .894 1.79-3.998 2z\\\"/></svg>\",\n    \"activity\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M38 3H2a1 1 0 0 0-1 1v33h2V23h6a1 1 0 0 0 .89-.55l4-8.09 6.14 14A1 1 0 0 0 21 29a1 1 0 0 0 .88-.52l5.28-9.68 3.06 3.83A1 1 0 0 0 31 23h6v8a4 4 0 0 1-4 4H6v2h32a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zm-1 18h-5.52l-3.7-4.62a1 1 0 0 0-1.66.15l-5 9.21-6.2-14.14A1 1 0 0 0 14 11a1 1 0 0 0-.92.55L8.38 21H3V5h34z\\\"/></svg>\",\n    \"android-mobile\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><g transform=\\\"translate(2)\\\"><path d=\\\"M35 0H15a1 1 0 0 0-1 1v5h2V2h18v6H21v2h13v18H21a3 3 0 0 0 3-3v-4a3 3 0 0 0-3-3h-1v-1a8 8 0 0 0-2-5.27V8h-2v2.08a7.93 7.93 0 0 0-8 0V8H6v3.73A8 8 0 0 0 4 17v1H3a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3h1v1a1 1 0 0 0 1 1v3a3 3 0 0 0 6 0v-3h2v3a3 3 0 0 0 1 2.22V39a1 1 0 0 0 1 1h20a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1zM10 28H6V18h12v10h-8zm11-8a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-1v-6zm-9-9a6 6 0 0 1 5.92 5H6.08A6 6 0 0 1 12 11zM3 26a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h1v6zm6 7a1 1 0 0 1-2 0v-3h2zm7-3h1v3a1 1 0 0 1-2 0v-3zm0 8v-2a3 3 0 0 0 3-3v-3h15v8z\\\"/><path d=\\\"M22 4h6v2h-6z\\\"/><circle cx=\\\"25\\\" cy=\\\"34\\\" r=\\\"2\\\"/></g></svg>\",\n    \"app-store\": \"<svg width=\\\"40\\\" height=\\\"40\\\" viewBox=\\\"0 0 40 40\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M3.5 23h10.996a2.5 2.5 0 0 1 2.5 2.5v11a2.5 2.5 0 0 1-2.5 2.5H3.5A2.5 2.5 0 0 1 1 36.5v-11A2.5 2.5 0 0 1 3.5 23zM3 37h11.996V25H2.999v12zm29.002-5v6a.999.999 0 1 1-2 0v-6h-5.998a.999.999 0 1 1 0-2h5.999v-6a.999.999 0 1 1 2 0v6H38a.999.999 0 1 1 0 2h-5.998zM25.504 1h10.997A2.5 2.5 0 0 1 39 3.5v11a2.5 2.5 0 0 1-2.5 2.5H25.504a2.5 2.5 0 0 1-2.5-2.5v-11a2.5 2.5 0 0 1 2.5-2.5zm-.5 14h11.997V3H25.004v12zM3.5 1h10.997a2.5 2.5 0 0 1 2.5 2.5v11a2.5 2.5 0 0 1-2.5 2.5H3.5A2.5 2.5 0 0 1 1 14.5v-11A2.5 2.5 0 0 1 3.5 1zM3 15h11.997V3H3v12z\\\"/></svg>\",\n    \"article-feedback\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><g transform=\\\"translate(3.515)\\\"><path d=\\\"M5 11h15v2H5zm0 5h15v2H5zm0 5h8v2H5z\\\"/><ellipse cx=\\\"21\\\" cy=\\\"28.5\\\" rx=\\\"1\\\" ry=\\\"1.5\\\"/><ellipse cx=\\\"27\\\" cy=\\\"28.5\\\" rx=\\\"1\\\" ry=\\\"1.5\\\"/><path d=\\\"M32.79 29.19a8.81 8.81 0 0 0-.53-1.69 8.93 8.93 0 0 0-.83-1.5A9 9 0 0 0 29 23.54a8.93 8.93 0 0 0-1.53-.83 9.06 9.06 0 0 0-1.69-.53c-.26-.05-.52-.09-.78-.12V6a1 1 0 0 0-.29-.71l-5-5A1 1 0 0 0 19 0H1a1 1 0 0 0-1 1v32a1 1 0 0 0 1 1h14.49c.06.17.11.34.18.5a9 9 0 0 0 1.93 2.86L19 36a7 7 0 0 1-1.5-2.22 7 7 0 0 1 .64-6.64 7 7 0 0 1 3.08-2.54 7 7 0 0 1 1.31-.41 7.15 7.15 0 0 1 2.82 0 7 7 0 0 1 5 4.13 6.88 6.88 0 0 1 .41 1.31 7.11 7.11 0 0 1 0 2.82 6.94 6.94 0 0 1-.41 1.31 7 7 0 0 1-1.5 2.22 7.14 7.14 0 0 1-1 .86 7 7 0 0 1-2.5 1.05 7.15 7.15 0 0 1-2.82 0 7 7 0 0 1-1.31-.41l-.78 1.84A9 9 0 0 0 24 40a8.93 8.93 0 0 0 3.5-.71 8.94 8.94 0 0 0 1.5-.83A9 9 0 0 0 31.43 36a9 9 0 0 0 .83-1.53 8.87 8.87 0 0 0 .53-1.69 9.09 9.09 0 0 0 0-3.62zM19 2.41L22.59 6H19zm4 19.64c-.28 0-.57.07-.84.13a9 9 0 0 0-4.55 2.45 9.12 9.12 0 0 0-1.1 1.37 9 9 0 0 0-.83 1.53 8.92 8.92 0 0 0-.52 1.69v.21A3 3 0 0 1 12.07 32H2V2h15v5a1 1 0 0 0 1 1h5z\\\"/><path d=\\\"M26.29 34.71l1.41-1.41a5.24 5.24 0 0 0-7.41 0l1.41 1.41a3.32 3.32 0 0 1 4.59 0z\\\"/></g></svg>\",\n    \"article\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M34.5 32.5v-24a1 1 0 0 0-.29-.71l-7-7A1 1 0 0 0 26.5.5h-20a1 1 0 0 0-1 1v37a1 1 0 0 0 1 1h27a1 1 0 0 0 1-1v-3h-2v2h-21a4 4 0 0 1-4-4v-31h17v7a1 1 0 0 0 1 1h7v22zm-8-29.59l5.59 5.59H26.5z\\\"/><path d=\\\"M11.5 13.5h17v2h-17zm0 5h17v2h-17zm0 5h17v2h-17zm0 5h10v2h-10z\\\"/></svg>\",\n    \"attention\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M20 38c9.941 0 18-8.06 18-18S29.941 2 20 2 2 10.06 2 20s8.059 18 18 18zm0 2c11.046 0 20-8.95 20-20S31.046 0 20 0 0 8.95 0 20s8.954 20 20 20z\\\" clip-rule=\\\"evenodd\\\"/><path d=\\\"M17.498 28.185a2.498 2.498 0 012.492-2.511 2.519 2.519 0 012.516 2.511c0 1.381-1.13 2.485-2.516 2.485a2.476 2.476 0 01-2.492-2.485zM17.494 9.33h4.992l-.667 14.114h-3.66L17.495 9.33z\\\"/></svg>\",\n    \"auto-message\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M31 0H9a5 5 0 0 0-5 5v34a1 1 0 0 0 1.71.71l8-8-1.42-1.42L6 36.59V5a3 3 0 0 1 3-3h22a3 3 0 0 1 3 3v22a3 3 0 0 1-3 3H16v2h15a5 5 0 0 0 5-5V5a5 5 0 0 0-5-5z\\\"/><path d=\\\"M21.83 17l-4.58 5.35a1 1 0 0 0 1.52 1.3l6-7A1 1 0 0 0 24 15h-5.83l4.58-5.35a1 1 0 1 0-1.52-1.3l-6 7A1 1 0 0 0 16 17z\\\"/></svg>\",\n    \"banner-filled\": \"<svg width=\\\"40\\\" height=\\\"40\\\" viewBox=\\\"0 0 40 40\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M34 6H6C5.44772 6 5 6.44772 5 7V33C5 33.5523 5.44772 34 6 34H34C34.5523 34 35 33.5523 35 33V7C35 6.44771 34.5523 6 34 6ZM6 2C3.23858 2 1 4.23858 1 7V33C1 35.7614 3.23858 38 6 38H34C36.7614 38 39 35.7614 39 33V7C39 4.23858 36.7614 2 34 2H6Z\\\" fill=\\\"#334BFA\\\"/><rect x=\\\"7\\\" y=\\\"8\\\" width=\\\"26\\\" height=\\\"6\\\" rx=\\\"2\\\" fill=\\\"#334BFA\\\"/></svg>\\n\",\n    \"bot-filled\": \"<svg viewBox=\\\"0 0 40 40\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M15.625 13.5h8.75a2.125 2.125 0 010 4.25h-8.75a2.125 2.125 0 010-4.25z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M2.5 10.5c0-2.8 0-4.2.545-5.27A5 5 0 015.23 3.045C6.3 2.5 7.7 2.5 10.5 2.5h19c2.8 0 4.2 0 5.27.545a5 5 0 012.185 2.185c.545 1.07.545 2.47.545 5.27v15.7c0 .28 0 .42-.054.527a.5.5 0 01-.219.218C37.12 27 36.98 27 36.7 27H3.3c-.28 0-.42 0-.527-.055a.5.5 0 01-.219-.218C2.5 26.62 2.5 26.48 2.5 26.2V10.5zm7.5 5.125A5.625 5.625 0 0115.625 10h8.75a5.625 5.625 0 010 11.25h-8.75A5.625 5.625 0 0110 15.625z\\\"/><path d=\\\"M2.552 31.32c-.018-.275-.027-.412.025-.526a.512.512 0 01.22-.235c.11-.059.254-.059.541-.059h33.324c.287 0 .43 0 .541.06.095.05.176.136.22.234.052.114.043.251.024.527-.062.943-.197 1.62-.492 2.199a5 5 0 01-2.185 2.185c-1.07.545-2.47.545-5.27.545h-19c-2.8 0-4.2 0-5.27-.545a5 5 0 01-2.185-2.185c-.295-.58-.43-1.256-.493-2.2z\\\"/></svg>\",\n    \"briefcase\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M35 8h-8V6a4 4 0 0 0-4-4h-6a4 4 0 0 0-4 4v2H5a4 4 0 0 0-4 4v12a1 1 0 0 0 1 1h1v12a1 1 0 0 0 1 1h32a1 1 0 0 0 1-1V27h-2v9H8a3 3 0 0 1-3-3v-8h9v2a1 1 0 0 0 1 1h9a1 1 0 0 0 1-1v-2h13a1 1 0 0 0 1-1V12a4 4 0 0 0-4-4zM15 6a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2H15zm8 20h-7v-4h7zm14-3H25v-2a1 1 0 0 0-1-1h-9a1 1 0 0 0-1 1v2H3V12a2 2 0 0 1 2-2h30a2 2 0 0 1 2 2z\\\"/></svg>\",\n    \"camera\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><g transform=\\\"translate(1 4)\\\"><path d=\\\"M37 5h-8.76L27 .71A1 1 0 0 0 26 0H12a1 1 0 0 0-1 .71L9.76 5H1a1 1 0 0 0-1 1v25a1 1 0 0 0 1 1h32v-2H5a3 3 0 0 1-3-3V7h8.5a1 1 0 0 0 1-.71L12.74 2h12.52l1.29 4.29a1 1 0 0 0 1 .71H36v25h2V6a1 1 0 0 0-1-1z\\\"/><path d=\\\"M19 8a10 10 0 1 0 10 10A10 10 0 0 0 19 8zm0 18a8 8 0 1 1 8-8 8 8 0 0 1-8 8z\\\"/><path d=\\\"M19 12v2a4 4 0 0 1 4 4h2a6 6 0 0 0-6-6z\\\"/><circle cx=\\\"32\\\" cy=\\\"11\\\" r=\\\"2\\\"/></g></svg>\",\n    \"campaign\": \"<svg viewBox=\\\"0 0 40 40\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M7.778 21.875L1.937 25.16a1.25 1.25 0 000 2.18l16.837 9.47a2.5 2.5 0 002.452 0l16.837-9.47a1.25 1.25 0 000-2.18l-5.84-3.285-10.997 6.186a2.5 2.5 0 01-2.452 0L7.778 21.875z\\\"/><path d=\\\"M18.774 3.19a2.5 2.5 0 012.452 0l16.837 9.47a1.25 1.25 0 010 2.18l-16.837 9.47a2.5 2.5 0 01-2.452 0L1.937 14.84a1.25 1.25 0 010-2.18l16.837-9.47z\\\"/></svg>\",\n    \"carousel-filled\": \"<svg viewBox=\\\"0 0 40 40\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M2 8c0-2.8 0-4.2.545-5.27A5 5 0 014.73.545C5.8 0 7.2 0 10 0h9c2.8 0 4.2 0 5.27.545a5 5 0 012.185 2.185C27 3.8 27 5.2 27 8v24c0 2.8 0 4.2-.545 5.27a5 5 0 01-2.185 2.185C23.2 40 21.8 40 19 40h-9c-2.8 0-4.2 0-5.27-.545a5 5 0 01-2.185-2.185C2 36.2 2 34.8 2 32V8zm15.5 25a3 3 0 11-6 0 3 3 0 016 0zM7 5a1.5 1.5 0 00-1.5 1.5v18.25a1.5 1.5 0 001.5 1.5h15a1.5 1.5 0 001.5-1.5V6.5A1.5 1.5 0 0022 5H7z\\\"/><path d=\\\"M30 5h1a2.5 2.5 0 012.5 2.5v25A2.5 2.5 0 0131 35h-1V5zM37.5 10h-1v20h1a2.5 2.5 0 002.5-2.5v-15a2.5 2.5 0 00-2.5-2.5z\\\"/></svg>\",\n    \"chart\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"40\\\" height=\\\"40\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M38 2H2a1 1 0 00-1 1v35h2V4h34v28a4 4 0 01-4 4H6v2h32a1 1 0 001-1V3a1 1 0 00-1-1z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M8 20a1 1 0 00-1 1v10a1 1 0 001 1h5a1 1 0 001-1V21a1 1 0 00-1-1H8zm4 2H9v8h3v-8zm5-7a1 1 0 00-1 1v15a1 1 0 001 1h5a1 1 0 001-1V16a1 1 0 00-1-1h-5zm4 2h-3v13h3V17zm5-7a1 1 0 00-1 1v20a1 1 0 001 1h5a1 1 0 001-1V11a1 1 0 00-1-1h-5zm4 2h-3v18h3V12z\\\"/></svg>\\n\",\n    \"chat-filled\": \"<svg viewBox=\\\"0 0 40 40\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M2.5 16.416c0-3.506 0-5.26.758-6.815.62-1.272 1.831-2.556 3.064-3.25 1.509-.849 3.1-.943 6.285-1.13A125.95 125.95 0 0120 5c2.675 0 5.172.09 7.393.22 3.184.188 4.776.282 6.285 1.13 1.233.695 2.444 1.98 3.064 3.251.758 1.556.758 3.309.758 6.815v4.668c0 3.506 0 5.26-.758 6.815-.62 1.272-1.831 2.556-3.064 3.25-1.509.849-3.1.943-6.285 1.13-2.221.131-4.718.221-7.393.221-2.192 0-4.263-.06-6.162-.154l-6.814 3.098c-1.506.684-2.259 1.026-2.867.92a2 2 0 01-1.309-.842c-.348-.51-.348-1.337-.348-2.992V16.416zM10 13.5a1 1 0 011-1h18a1 1 0 011 1V15a1 1 0 01-1 1H11a1 1 0 01-1-1v-1.5zm1 6.5a1 1 0 00-1 1v1.5a1 1 0 001 1h10.5a1 1 0 001-1V21a1 1 0 00-1-1H11z\\\"/></svg>\",\n    \"code\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M10 12.462l-6.25 6.076a2.027 2.027 0 0 0 0 2.924L10 27.538 8.496 29l-6.25-6.076a4.054 4.054 0 0 1 0-5.848L8.496 11 10 12.462zm20 0l6.25 6.076a2.026 2.026 0 0 1 0 2.924L30 27.538 31.504 29l6.25-6.076a4.054 4.054 0 0 0 0-5.848L31.504 11 30 12.462zm-4-5.863L16.92 34 15 33.401 24.08 6l1.92.599z\\\"/></svg>\",\n    \"collection\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M34.5 8h-1V1a1 1 0 0 0-1-1h-23a5 5 0 0 0-5 5v30a5 5 0 0 0 5 5h25a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1zm-25-6h22v6h-2V5a1 1 0 0 0-1-1h-19v2h18v2h-18a3 3 0 0 1 0-6zm24 33a3 3 0 0 1-3 3h-21a3 3 0 0 1-3-3V9a5 5 0 0 0 3 1h24z\\\"/><path d=\\\"M8.5 13h2v22h-2z\\\"/></svg>\",\n    \"company\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M39 0H25a1 1 0 0 0-1 1v15H1a1 1 0 0 0-1 1v22a1 1 0 0 0 1 1h20v-2h-3V25a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v13H2V18h22v21a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1zM10 26h6v12h-6zm28 12H26V2h12z\\\"/><path d=\\\"M29 13h6a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1zm1-6h4v4h-4zm-1 17h6a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1zm1-6h4v4h-4zm-1 17h6a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1zm1-6h4v4h-4z\\\"/></svg>\",\n    \"conversation-rating\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><g transform=\\\"translate(1.015 1.015)\\\"><path d=\\\"M37.58 15.16A19 19 0 0 0 22.81.38a19.25 19.25 0 0 0-7.65 0 18.86 18.86 0 0 0-3.57 1.11 19 19 0 0 0-6 30.92L7 31a17.08 17.08 0 0 1-2.1-2.52 16.87 16.87 0 0 1-2.56-6.07 17.17 17.17 0 0 1 0-6.85A16.9 16.9 0 0 1 4.9 9.49a17 17 0 0 1 7.47-6.16 16.88 16.88 0 0 1 3.19-1 17.28 17.28 0 0 1 6.85 0 16.88 16.88 0 0 1 6.07 2.57 17 17 0 0 1 6.16 7.47 16.93 16.93 0 0 1 1 3.19 17.18 17.18 0 0 1 0 6.85 16.88 16.88 0 0 1-2.56 6.07 17 17 0 0 1-7.47 6.16 16.93 16.93 0 0 1-3.19 1 17.28 17.28 0 0 1-6.85 0 16.88 16.88 0 0 1-3.19-1l-.78 1.84a18.86 18.86 0 0 0 3.57 1.11 19.15 19.15 0 0 0 7.65 0 19 19 0 0 0 14.76-14.78 19.15 19.15 0 0 0 0-7.65z\\\"/><path d=\\\"M9 19a10 10 0 0 0 20 0h-2a8 8 0 0 1-16 0z\\\"/><ellipse cx=\\\"13\\\" cy=\\\"14.5\\\" rx=\\\"2\\\" ry=\\\"2.5\\\"/><ellipse cx=\\\"25\\\" cy=\\\"14.5\\\" rx=\\\"2\\\" ry=\\\"2.5\\\"/></g></svg>\",\n    \"conversation\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><g transform=\\\"translate(1.5)\\\"><path d=\\\"M33 8H15a4 4 0 0 0-4 4v13H7a1 1 0 0 0-.64.23L2 28.86V4a2 2 0 0 1 2-2h18a2 2 0 0 1 2 2v2h2V4a4 4 0 0 0-4-4H4a4 4 0 0 0-4 4v27a1 1 0 0 0 1.64.77L7.36 27H11v4a4 4 0 0 0 4 4h14.64l5.72 4.77A1 1 0 0 0 37 39V12a4 4 0 0 0-4-4zm2 28.86l-4.36-3.63A1 1 0 0 0 30 33H15a2 2 0 0 1-2-2V12a2 2 0 0 1 2-2h18a2 2 0 0 1 2 2z\\\"/><circle cx=\\\"18\\\" cy=\\\"21\\\" r=\\\"2\\\"/><circle cx=\\\"24\\\" cy=\\\"21\\\" r=\\\"2\\\"/><circle cx=\\\"30\\\" cy=\\\"21\\\" r=\\\"2\\\"/></g></svg>\",\n    \"data-collection\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M1 8.74072c0-.69035.55964-1.25 1.25-1.25h21.5c.6904 0 1.25.55965 1.25 1.25 0 .69036-.5596 1.25-1.25 1.25H2.25c-.69036 0-1.25-.55964-1.25-1.25zM1 20.7407c0-.6903.55964-1.25 1.25-1.25h21.5c.6904 0 1.25.5597 1.25 1.25 0 .6904-.5596 1.25-1.25 1.25H2.25c-.69036 0-1.25-.5596-1.25-1.25zM1 32.7407c0-.6903.55964-1.25 1.25-1.25h21.5c.6904 0 1.25.5597 1.25 1.25 0 .6904-.5596 1.25-1.25 1.25H2.25c-.69036 0-1.25-.5596-1.25-1.25zM33.6545 12.3131c-.1177.0745-.368.2157-.6965.2158-.5066 0-.9271-.2459-1.2292-.4937-.315-.2584-.6095-.6068-.8846-1.007-.5525-.8036-1.1197-1.95317-1.6687-3.41729l1.8727-.70216c.5182 1.38199 1.0182 2.36692 1.444 2.98636.1373.19969.2575.34749.3574.45359.0753-.0874.1615-.1929.2585-.3176.4001-.51436.9033-1.25146 1.4538-2.11023 1.097-1.71139 2.3311-3.82673 3.2139-5.41574l1.7483.97133c-.8961 1.61287-2.1521 3.76653-3.2784 5.5237-.5612.8755-1.1029 1.67254-1.5589 2.25884-.2254.2899-.4506.5551-.6617.757-.1045.1-.23.2081-.3706.2971zM33.6545 24.3131c-.1177.0745-.368.2157-.6965.2158-.5066 0-.9271-.2459-1.2292-.4937-.315-.2584-.6095-.6068-.8846-1.007-.5525-.8036-1.1197-1.9532-1.6687-3.4173l1.8727-.7021c.5182 1.3819 1.0182 2.3669 1.444 2.9863.1373.1997.2575.3475.3574.4536.0753-.0874.1615-.1929.2585-.3176.4001-.5144.9033-1.2515 1.4538-2.1102 1.097-1.7114 2.3311-3.8268 3.2139-5.4158l1.7483.9714c-.8961 1.6128-2.1521 3.7665-3.2784 5.5237-.5612.8755-1.1029 1.6725-1.5589 2.2588-.2254.2899-.4506.5551-.6617.757-.1045.1-.23.2081-.3706.2971zM34 34.9907c1.1046 0 2-.8954 2-2 0-1.1045-.8954-2-2-2s-2 .8955-2 2c0 1.1046.8954 2 2 2zm0 2c2.2091 0 4-1.7908 4-4 0-2.2091-1.7909-4-4-4-2.2091 0-4 1.7909-4 4 0 2.2092 1.7909 4 4 4z\\\" clip-rule=\\\"evenodd\\\"/></svg>\",\n    \"delivery-window\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M20 0a20 20 0 0 1 20 20c0 11.046-8.954 20-20 20S0 31.046 0 20 8.954 0 20 0zm0 38a18 18 0 0 0 18-18c0-9.941-8.059-18-18-18S2 10.059 2 20s8.059 18 18 18zm13.54-26.54v-.03c4.488 7.106 2.712 16.473-4.065 21.444C22.7 37.845 13.231 36.726 7.8 30.312S2.828 14.374 8.85 8.51C14.87 2.647 24.402 2.44 30.67 8.04l-1.33 1.49c-5.459-4.924-13.796-4.787-19.09.314-5.295 5.1-5.742 13.427-1.025 19.065 4.718 5.639 12.993 6.668 18.948 2.357 5.954-4.311 7.56-12.494 3.677-18.736l1.69-1.07zm-7.833 12.833l-1.414 1.414-5-5A1 1 0 0 1 19 20v-9h2v8.586l4.707 4.707z\\\"/></svg>\",\n    \"email-filled\": \"<svg viewBox=\\\"0 0 40 40\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M2.067 9.095C1.25 10.7 1.25 12.8 1.25 17v5.222c0 3.553 0 5.33.758 6.884.625 1.282 1.82 2.551 3.064 3.25 1.508.85 3.139.946 6.402 1.139 2.528.15 5.414.255 8.526.255s5.997-.105 8.526-.255c3.263-.193 4.894-.29 6.402-1.138 1.243-.7 2.44-1.969 3.064-3.25.758-1.556.758-3.332.758-6.885V17c0-4.2 0-6.3-.818-7.905a7.5 7.5 0 00-3.277-3.278C33.05 5 30.95 5 26.75 5h-13.5c-4.2 0-6.3 0-7.905.817a7.5 7.5 0 00-3.278 3.278zm6.604.69a1.875 1.875 0 00-2.342 2.93l9.05 7.239c.583.466 1.097.878 1.553 1.19.488.336 1.011.632 1.635.804.938.26 1.928.26 2.866 0 .624-.172 1.147-.468 1.635-.803.456-.313.97-.724 1.554-1.191l9.05-7.24a1.875 1.875 0 00-2.343-2.928l-9.002 7.201c-.646.517-1.052.84-1.38 1.066-.31.212-.445.262-.514.281a1.626 1.626 0 01-.866 0c-.069-.019-.204-.069-.513-.28-.329-.227-.735-.55-1.381-1.067L8.671 9.786z\\\"/></svg>\",\n    \"email\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M38.42 13.09h-.09L33 8.8V1a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7.67l-5.59 4.47A1 1 0 0 0 1 14v25a1 1 0 0 0 1 1h36a1 1 0 0 0 1-1V14a1 1 0 0 0-.58-.91zM31 2v13h2v-3.64l3.37 2.7L20 27.7 9 18.53V2zM7 16.86L3.55 14 7 11.24zM37 38H3V16.14l16.36 13.63a1 1 0 0 0 1.28 0L37 16.14z\\\"/><path d=\\\"M13 7h14v2H13zm0 5h14v2H13zm0 5h14v2H13z\\\"/></svg>\",\n    \"engage\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M38.77 2.37a1 1 0 0 0-1-.33L1.76 11a1 1 0 0 0-.29 1.81l11 7 1.07-1.69-9-5.75 29.37-7.32-18.54 15.18a1 1 0 0 0-.3 1.13l6 16A1 1 0 0 0 22 38a1 1 0 0 0 .91-.57l16-34a1 1 0 0 0-.14-1.06zM22.1 34.43l-3.4-9.08a6 6 0 0 1 1.82-6.75l14.7-12zM5.28 28.31l5.008-3.984 1.245 1.565-5.008 3.984zm.973 6.011l5.009-3.984 1.245 1.565-5.009 3.984z\\\"/></svg>\",\n    \"error\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M20 0A19.87 19.87 0 0 0 8.42 3.69l1.16 1.63a18 18 0 1 1-2.71 2.36L5.41 6.32A20 20 0 1 0 20 0z\\\"/><path d=\\\"M27.47 5.85A16 16 0 0 0 4 20h2A14 14 0 0 1 26.53 7.61zm-3.18 9.44L20 19.59l-4.29-4.3-1.42 1.42 4.3 4.29-4.3 4.29 1.42 1.42 4.29-4.3 4.29 4.3 1.42-1.42-4.3-4.29 4.3-4.29-1.42-1.42z\\\"/></svg>\",\n    \"event\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M38 4.5h-5v-3h-2v3h-6v-3h-2v3h-6v-3h-2v3H9v-3H7v3H2a1 1 0 0 0-1 1v32a1 1 0 0 0 1 1h36a1 1 0 0 0 1-1v-32a1 1 0 0 0-1-1zm-5 32H3v-30h4v3h2v-3h6v3h2v-3h6v3h2v-3h6v3h2v-3h4v6H8v2h29v18a4 4 0 0 1-4 4z\\\"/><path d=\\\"M18 29.44c-.67-.48-2-2.84-3-5.32l-1.86.75c1.15 3.03 3 6.63 4.86 6.63.57 0 2.3 0 8.89-12.54l-1.77-.93C22.53 22.96 19.16 28.5 18 29.44z\\\"/></svg>\",\n    \"folder\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M39 9.5h-2v-5a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v4H3a1 1 0 0 0-1 1v4H1a1 1 0 0 0-1 1v21a1 1 0 0 0 1 1h33v-2H6a4 4 0 0 1-4-4v-15h23a1 1 0 0 0 .8-.4l2.7-3.6H38v25h2v-26a1 1 0 0 0-1-1zm-35 1h16v3H4zm24-1a1 1 0 0 0-.8.4l-2.7 3.6H22v-4a1 1 0 0 0-1-1H8v-3h27v4z\\\"/></svg>\",\n    \"github\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M20 .21a20 20 0 0 0-4.21 39.55H16a1 1 0 0 0 1-1v-7.55a3 3 0 0 1 1.05-2.26 1 1 0 0 0-.6-1.74 7.73 7.73 0 0 1-7.45-7 7.41 7.41 0 0 1 1.5-5 1 1 0 0 0 .13-1 12.38 12.38 0 0 1-.63-4 5.19 5.19 0 0 1 3.28 1.64 1 1 0 0 0 1.08.23 12.4 12.4 0 0 1 9.26 0 1 1 0 0 0 1.08-.23 5.28 5.28 0 0 1 3.3-1.58 12.56 12.56 0 0 1-.64 4 1 1 0 0 0 .13 1A7.41 7.41 0 0 1 30 20.21a7.73 7.73 0 0 1-7.43 7 1 1 0 0 0-.61 1.76A3 3 0 0 1 23 31.21v8h2v-8a4.93 4.93 0 0 0-.55-2.26 9.43 9.43 0 0 0 6-14.49A18 18 0 0 0 31 9.21a1 1 0 0 0-1-1 7.49 7.49 0 0 0-5.23 1.84 14.39 14.39 0 0 0-9.53 0A7.48 7.48 0 0 0 10 8.21a1 1 0 0 0-1 1 18 18 0 0 0 .59 5.29 9.43 9.43 0 0 0 6 14.49 4.93 4.93 0 0 0-.59 2.22v2h-.72a1.79 1.79 0 0 1-1.75-1.43l-.16-.8A3.45 3.45 0 0 0 9 28.21v2a1.45 1.45 0 0 1 1.41 1.16l.16.8a3.79 3.79 0 0 0 3.71 3H15v2.3a18 18 0 1 1 12.62-1l.85 1.81A20 20 0 0 0 20 .21z\\\"/></svg>\",\n    \"goal\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M39.92 7.62A1 1 0 0 0 39 7h-4.59l3.29-3.29-1.41-1.42L33 5.59V1a1 1 0 0 0-1.71-.71l-4.6 4.6a4 4 0 0 0-.89 4.33l1 2.54-2 2a15.05 15.05 0 1 0 1.41 1.41l2-2 2.54 1a4 4 0 0 0 4.33-.89l4.6-4.6a1 1 0 0 0 .24-1.06zm-12.26.86a2 2 0 0 1 .45-2.17L31 3.41v4.18l-2.63 2.63zM28 25a13 13 0 1 1-4.55-9.86l-2.12 2.12a10 10 0 1 0 .34 15.19L20.33 31a8 8 0 1 1-.44-12.27l-2.14 2.14a5 5 0 1 0 1.41 1.41l2.14-2.14a8 8 0 0 1 .86 8.45l1.79.89a10 10 0 0 0-1.22-10.77l2.12-2.12A12.93 12.93 0 0 1 28 25zm-10 0a3 3 0 1 1-3-3 3 3 0 0 1 1.29.3l-2 2 1.41 1.41 2-2A3 3 0 0 1 18 25zm15.7-13.11a2 2 0 0 1-2.17.45l-1.75-.7L32.41 9h4.17z\\\"/></svg>\",\n    \"integration\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M32.73 26H28V14h4.73A7.18 7.18 0 0 0 40 7.52 7 7 0 0 0 32.48 0 7.18 7.18 0 0 0 26 7.27V12H14V7.27A7.18 7.18 0 0 0 7.52 0 7 7 0 0 0 0 7.52 7.18 7.18 0 0 0 7.27 14H12v10h2V14h12v9a3 3 0 0 1-3 3H7.27A7.18 7.18 0 0 0 0 32.48 7 7 0 0 0 7.52 40 7.18 7.18 0 0 0 14 32.73V28h12v4.73A7.18 7.18 0 0 0 32.48 40a7 7 0 0 0 7.5-7.5 7.18 7.18 0 0 0-7.25-6.5zM28 7a5 5 0 1 1 5 5h-5zm-16 5H7a5 5 0 1 1 5-5zm0 21a5 5 0 1 1-5-5h5zm21 5a5 5 0 0 1-5-5v-5h5a5 5 0 0 1 0 10z\\\"/></svg>\",\n    \"ios-mobile\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><g transform=\\\"translate(.535)\\\"><path d=\\\"M8 4h6v2H8z\\\"/><circle cx=\\\"11\\\" cy=\\\"34\\\" r=\\\"2\\\"/><path d=\\\"M32 10c-5 0-5 5-5 5 5 0 5-5 5-5z\\\"/><path d=\\\"M38.76 18.3a7 7 0 0 0-5.64-3.3A6.75 6.75 0 0 0 28 17.41a6.64 6.64 0 0 0-6-2.31V1a1 1 0 0 0-1-1H1a1 1 0 0 0-1 1v38a1 1 0 0 0 1 1h20a1 1 0 0 0 1-1v-3.81a4.33 4.33 0 0 0 2.65.8A5.27 5.27 0 0 0 28 34.45 5.27 5.27 0 0 0 31.35 36h.18a4.37 4.37 0 0 0 3.07-1.3l.84-.83a15.52 15.52 0 0 0 3.11-4.47 1 1 0 0 0-.35-1.25 5 5 0 0 1 .24-8.43 1 1 0 0 0 .32-1.41zM20 2v6H6v2h14v5.77a7.79 7.79 0 0 0-3.85 5 1 1 0 0 0 0 .11A15.59 15.59 0 0 0 16.9 28H2V2zM2 38v-8h15.77A15.49 15.49 0 0 0 20 33.23V38zm32-14a7 7 0 0 0 2.38 5.26A13.46 13.46 0 0 1 34 32.45l-.84.83a2.28 2.28 0 0 1-1.75.71 3.94 3.94 0 0 1-2.67-1.64 1 1 0 0 0-1.53 0A3.94 3.94 0 0 1 24.56 34a2.28 2.28 0 0 1-1.75-.71l-.81-.84a13.66 13.66 0 0 1-3.9-11.27 5.51 5.51 0 0 1 4.1-4.09c1.82-.34 3.59.54 5 2.49a1 1 0 0 0 1.63 0A5.26 5.26 0 0 1 33 17h.07a4.82 4.82 0 0 1 3.41 1.63A7 7 0 0 0 34 24z\\\"/></g></svg>\",\n    \"lead-qualification\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M23 16.5h11v2H23zm0 5h11v2H23zm0 5h8v2h-8zm-17 2v4a1 1 0 0 0 1 1h8v-2H8v-3a5 5 0 0 1 10 0v5h2v-5a7 7 0 0 0-3.78-6.21 5 5 0 1 0-6.44 0A7 7 0 0 0 6 28.5zm4-10a3 3 0 1 1 3 3 3 3 0 0 1-3-3z\\\"/><path d=\\\"M39 1.5H1a1 1 0 0 0-1 1v36h2v-28h36v22a4 4 0 0 1-4 4H5v2h34a1 1 0 0 0 1-1v-35a1 1 0 0 0-1-1zm-37 7v-5h36v5z\\\"/></svg>\",\n    \"link\": \"<svg viewBox=\\\"0 0 40 40\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M5.858 17.172A8 8 0 1 1 17.172 5.858l5.657 5.657c.43.43.802.9 1.115 1.394l-3.237.727-5.657-5.657c-2.343-2.343-4.728-2.343-7.07 0-2.344 2.343-2.344 4.728 0 7.071l5.656 5.657c2.343 2.343 4.728 2.343 7.071 0l3.832-.411a8 8 0 0 1-13.024 2.532l-5.657-5.656zm28.284 5.656A8 8 0 1 1 22.83 34.142l-5.657-5.657a8.021 8.021 0 0 1-1.115-1.394l3.236-.727 5.657 5.657c2.343 2.343 4.728 2.343 7.071 0s2.343-4.728 0-7.071l-5.657-5.657c-2.343-2.343-4.728-2.343-7.07 0l-3.832.411a8 8 0 0 1 13.024-2.532l5.656 5.656z\\\" /></svg>\",\n    \"live\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M18 24.94c-.68-.48-2-2.84-3-5.32l-1.85.75C14.29 23.4 16.14 27 18 27c.57 0 2.3 0 8.89-12.54l-1.77-.93C22.53 18.45 19.16 24 18 24.94z\\\"/><path d=\\\"M20 0A19.86 19.86 0 0 0 8.42 3.69l1.16 1.63a18 18 0 1 1-2.71 2.36L5.41 6.32A20 20 0 1 0 20 0z\\\"/><path d=\\\"M20 4A16 16 0 0 0 4 20h2A14 14 0 0 1 26.53 7.61l.93-1.77A16 16 0 0 0 20 4z\\\"/></svg>\",\n    \"manual-message\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M31 0H9a5 5 0 0 0-5 5v34a1 1 0 0 0 1.71.71l8-8-1.42-1.42L6 36.59V5a3 3 0 0 1 3-3h22a3 3 0 0 1 3 3v22a3 3 0 0 1-3 3H16v2h15a5 5 0 0 0 5-5V5a5 5 0 0 0-5-5z\\\"/></svg>\",\n    \"mention\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M34.14 5.86A20 20 0 1 0 5.86 34.14a20 20 0 0 0 28.28 0l-1.41-1.41A18 18 0 1 1 7.27 7.27 18 18 0 0 1 38 20c0 2.62-.81 4.66-2.33 5.92A6.47 6.47 0 0 1 30.2 27c-1-.2-2.2-.89-2.2-3V11h-2v1.78A6.41 6.41 0 0 0 21.57 11H21a10 10 0 0 0-10 10v1.1a7 7 0 0 0 6.94 6.9 10.06 10.06 0 0 0 8.12-4.12A4.59 4.59 0 0 0 29.8 29a8.41 8.41 0 0 0 7.13-1.52A9.37 9.37 0 0 0 40 20a19.87 19.87 0 0 0-5.86-14.14zM26 18.94A8.07 8.07 0 0 1 17.94 27 4.94 4.94 0 0 1 13 22.06V21a8 8 0 0 1 8-8h.61A4.44 4.44 0 0 1 26 17.43v1.51z\\\"/></svg>\",\n    \"message\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M38.77 2.37a1 1 0 0 0-1-.34L1.76 11a1 1 0 0 0-.3 1.81l13.72 8.82 5.88 15.69A1 1 0 0 0 22 38a1 1 0 0 0 .9-.57l16-34a1 1 0 0 0-.13-1.06zm-34.29 10l29.43-7.32-18 14.71zm17.62 22l-4.91-13.05 18-14.75zM5.38 28.215l4.998-3.998 1.25 1.561-4.998 3.998zm1 6l4.997-3.998 1.25 1.562-4.998 3.998z\\\"/></svg>\",\n    \"messenger\": \"<svg viewBox=\\\"0 0 40 40\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M29.458 20.761a1 1 0 0 1-.076 1.412c-.152.136-3.778 3.335-9.2 3.335-5.423 0-9.049-3.199-9.201-3.335a1 1 0 0 1 1.334-1.49c.045.04 3.244 2.825 7.867 2.825 4.664 0 7.833-2.795 7.864-2.823a1 1 0 0 1 1.412.076zM35 36.71c0 .466-.262 1.048-.418 1.172a.788.788 0 0 1-.794.022l-9.791-5.637-.463-.267H7.25C6.009 32 5 30.975 5 29.715V4.286C5 3.026 6.009 2 7.25 2h25.5C33.99 2 35 3.026 35 4.286V36.71zM32.75 0H7.25C4.906 0 3 1.923 3 4.286v25.429C3 32.078 4.906 34 7.25 34H23l9.79 5.637c.433.243.905.363 1.376.363.495 0 .989-.133 1.437-.399.874-.518 1.397-1.868 1.397-2.891V4.286C37 1.923 35.093 0 32.75 0z\\\"/></svg>\\n\",\n    \"mobile-carousel\": \"<svg viewBox=\\\"0 0 40 40\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M12.4 4a.4.4 0 00-.4.4v1.2c0 .22.18.4.4.4h5.2a.4.4 0 00.4-.4V4.4a.4.4 0 00-.4-.4h-5.2zm-3 8a.4.4 0 00-.4.4v1.2c0 .22.18.4.4.4h11.2a.4.4 0 00.4-.4v-1.2a.4.4 0 00-.4-.4H9.4zM9 16.4c0-.22.18-.4.4-.4h11.2c.22 0 .4.18.4.4v1.2a.4.4 0 01-.4.4H9.4a.4.4 0 01-.4-.4v-1.2zm.4 3.6a.4.4 0 00-.4.4v1.2c0 .22.18.4.4.4h5.2a.4.4 0 00.4-.4v-1.2a.4.4 0 00-.4-.4H9.4zM15 36a2 2 0 100-4 2 2 0 000 4z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M7 0a3 3 0 00-3 3v34a3 3 0 003 3h16a3 3 0 003-3V3a3 3 0 00-3-3H7zm16 2H7a1 1 0 00-1 1v34a1 1 0 001 1h16a1 1 0 001-1V3a1 1 0 00-1-1z\\\"/><path d=\\\"M28 34.8c0 .11.09.2.2.2h.8a3 3 0 003-3V8a3 3 0 00-3-3h-.8a.2.2 0 00-.2.2v1.6c0 .11.09.2.2.2h.8a1 1 0 011 1v24a1 1 0 01-1 1h-.8a.2.2 0 00-.2.2v1.6zm7-4.252c0 .138.137.235.262.176A3 3 0 0037 28.002v-16a3 3 0 00-1.738-2.723c-.125-.058-.262.038-.262.176v21.093z\\\"/></svg>\",\n    \"notification-desktop\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M35 3H5a4 4 0 0 0-4 4v20a4 4 0 0 0 4 4h10v4h-3v2h16v-2h-3v-4h10a4 4 0 0 0 4-4V7a4 4 0 0 0-4-4zM23 35h-6v-4h6zm12-6H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h30a2 2 0 0 1 2 2v16H5v2h32v2a2 2 0 0 1-2 2z\\\"/><path d=\\\"M21 7h12v2H21zm2 4h5v2h-5z\\\"/></svg>\",\n    \"notification-inapp\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><g transform=\\\"translate(0 .5)\\\"><path d=\\\"M14 4h11v2H14zm2 4h5v2h-5z\\\"/><path d=\\\"M39 10h-7V4a4 4 0 0 0-4-4H4a4 4 0 0 0-4 4v15.66A4.29 4.29 0 0 0 4 24h8v3H9v2h14v-2h-3v-3h4v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V11a1 1 0 0 0-1-1zm-1 6H28v2h10v11H26V12h12zM18 27h-4v-3h4zm1-5H4a2.31 2.31 0 0 1-2-2.34V4a2 2 0 0 1 2-2h24a2 2 0 0 1 2 2v6h-5a1 1 0 0 0-1 1v5H4v2h20v4zm7 15v-6h12v6z\\\"/><circle cx=\\\"32\\\" cy=\\\"34\\\" r=\\\"2\\\"/><path d=\\\"M30 13h4v2h-4z\\\"/></g></svg>\",\n    \"notification-mobile-push\": \"<svg viewBox=\\\"0 0 40 40\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M14 13.4c0-.22.18-.4.4-.4h11.2c.22 0 .4.18.4.4v1.2a.4.4 0 01-.4.4H14.4a.4.4 0 01-.4-.4v-1.2zm.4 3.6a.4.4 0 00-.4.4v1.2c0 .22.18.4.4.4h5.2a.4.4 0 00.4-.4v-1.2a.4.4 0 00-.4-.4h-5.2zM17 4.4c0-.22.18-.4.4-.4h5.2c.22 0 .4.18.4.4v1.2a.4.4 0 01-.4.4h-5.2a.4.4 0 01-.4-.4V4.4zM20 36a2 2 0 100-4 2 2 0 000 4z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M9 3a3 3 0 013-3h16a3 3 0 013 3v34a3 3 0 01-3 3H12a3 3 0 01-3-3V3zm3-1h16a1 1 0 011 1v25H11V3a1 1 0 011-1zm-1 28v7a1 1 0 001 1h16a1 1 0 001-1v-7H11z\\\"/></svg>\",\n    \"operator\": \"<svg viewbox=\\\"0 0 40 40\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g clip-path=\\\"url(#clip0)\\\" fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\"><path d=\\\"M32 6H8a2 2 0 00-2 2v24a2 2 0 002 2h24a2 2 0 002-2V8a2 2 0 00-2-2zM8 4a4 4 0 00-4 4v24a4 4 0 004 4h24a4 4 0 004-4V8a4 4 0 00-4-4H8z\\\"/><path d=\\\"M26 13H14a3 3 0 100 6h12a3 3 0 100-6zm-12-2a5 5 0 000 10h12a5 5 0 000-10H14zm20 17H6v-2h28v2z\\\"/></g><defs><clipPath id=\\\"clip0\\\"><path d=\\\"M0 0h40v40H0z\\\"/></clipPath></defs></svg>\\n\",\n    \"optimize-performance\": \"<svg viewBox=\\\"0 0 40 40\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M36.28 17.323H24.352a3.367 3.367 0 00-3.363 3.364v18.064a1 1 0 001.559.83l4.664-3.148.011-.008h9.057a3.367 3.367 0 003.363-3.364V20.687a3.367 3.367 0 00-3.363-3.364zm-9.126 17.1c-.394 0-.777.131-1.089.372l-3.076 2.075V20.687a1.365 1.365 0 011.363-1.364H36.28a1.365 1.365 0 011.363 1.364V29.3a6.1 6.1 0 01-5.734 5.11l.352.02-5.107-.007zM15.654.249H3.72A3.367 3.367 0 00.357 3.612v18.072a1 1 0 001.56.829l4.668-3.157h9.069a3.368 3.368 0 003.364-3.364V3.612A3.367 3.367 0 0015.654.249zm-9.13 17.107a1.76 1.76 0 00-1.061.35L2.357 19.8V3.612A1.365 1.365 0 013.72 2.249h11.933a1.365 1.365 0 011.364 1.363v8.772a6.091 6.091 0 01-4.933 4.972h-5.56zM11.62 21.9l-1.843.778A10.326 10.326 0 0017 28.724l.44-1.951a8.321 8.321 0 01-5.82-4.873zm17.187-6.89l1.932-.517A10.33 10.33 0 0022.526 7l-.338 1.972a8.323 8.323 0 016.619 6.038z\\\"/><path d=\\\"M33.721 26.588a1 1 0 00-.907-.58h-2.806l2.353-2.8a1 1 0 10-1.53-1.287l-3.73 4.444a1 1 0 00.765 1.643h2.794l-2.318 2.736a1 1 0 00.19 1.466c.177.121.386.187.6.188a1 1 0 00.868-.524l3.575-4.219a1 1 0 00.146-1.067z\\\"/></svg>\",\n    \"outbound\": \"<svg viewBox=\\\"0 0 40 40\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M30.403 35.238l7.522-28.582c.73-2.777-1.804-5.312-4.581-4.58L4.762 9.595c-3.495.92-3.794 5.767-.438 7.109l11.53 4.612 6.357-6.356a2 2 0 012.828 2.828l-6.356 6.356 4.612 11.531c1.342 3.356 6.188 3.057 7.108-.438zM7.164 21.46a2 2 0 010 2.83l-3.25 3.25a2 2 0 01-2.828-2.83l3.25-3.25a2 2 0 012.828 0z\\\"/><path d=\\\"M14.876 27.952a2 2 0 10-2.828-2.828l-8.462 8.462a2 2 0 102.828 2.828l8.462-8.462zm3.664 7.712a2 2 0 10-2.83-2.828l-3.25 3.25a2 2 0 102.83 2.828l3.25-3.25z\\\"/></svg>\",\n    \"pencil\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M35.745 4.26a6 6 0 0 0-8.49 0L5.335 26.18a1 1 0 0 0-.26.45l-2.58 9.61a1 1 0 0 0 1.26 1.26l9.62-2.54a1 1 0 0 0 .45-.26l21.92-21.96a6 6 0 0 0 0-8.49zm-29 30.36l-1.36-1.33 1.19-4.47 4.61 4.61zm21.83-17.53L13.115 32.5l-5.62-5.62 17.64-17.67 3.43 3.43a3.14 3.14 0 0 1 .01 4.45zm5.76-5.76l-2.12 2.12-5.66-5.66 2.12-2.12a4.1 4.1 0 0 1 5.66 0 4 4 0 0 1 0 5.66z\\\"/></svg>\",\n    \"people\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M32 16.75a7 7 0 1 0-8 0 10.93 10.93 0 0 0-5.37 4.5A11.09 11.09 0 0 0 16 19.76a7 7 0 1 0-7.95 0A11 11 0 0 0 1 30v8h2v-8a9 9 0 0 1 18 0v6H6v2h16a1 1 0 0 0 1-1v-2h15a1 1 0 0 0 1-1v-7a11 11 0 0 0-7-10.25zM7 14a5 5 0 1 1 5 5 5 5 0 0 1-5-5zm16-3a5 5 0 1 1 5 5 5 5 0 0 1-5-5zm14 18a4 4 0 0 1-4 4H23v-3a10.94 10.94 0 0 0-2.85-7.36A8.93 8.93 0 0 1 28.3 18a9.22 9.22 0 0 1 8.7 9.34z\\\"/></svg>\",\n    \"post-filled\": \"<svg viewBox=\\\"0 0 40 40\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M5 10.5c0-2.8 0-4.2.545-5.27A5 5 0 017.73 3.045C8.8 2.5 10.2 2.5 13 2.5h14c2.8 0 4.2 0 5.27.545a5 5 0 012.185 2.185C35 6.3 35 7.7 35 10.5v19c0 2.8 0 4.2-.545 5.27a5 5 0 01-2.185 2.185c-1.07.545-2.47.545-5.27.545H13c-2.8 0-4.2 0-5.27-.545a5 5 0 01-2.185-2.185C5 33.7 5 32.3 5 29.5v-19zm6 9.5a1 1 0 00-1 1v1.5a1 1 0 001 1h18a1 1 0 001-1V21a1 1 0 00-1-1H11zm-1 8.5a1 1 0 011-1h10.5a1 1 0 011 1V30a1 1 0 01-1 1H11a1 1 0 01-1-1v-1.5zM13.75 15a3.75 3.75 0 100-7.5 3.75 3.75 0 000 7.5z\\\"/></svg>\",\n    \"post\": \"<svg viewBox=\\\"0 0 40 40\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M11 8v7h18V8H11zm-1-2a1 1 0 00-1 1v9a1 1 0 001 1h20a1 1 0 001-1V7a1 1 0 00-1-1H10z\\\"/><path d=\\\"M9 21h22v2H9v-2zm0 5h22v2H9v-2zm0 5h14v2H9v-2z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M7 2h26a2 2 0 012 2v36h2V4a4 4 0 00-4-4H7a4 4 0 00-4 4v32a4 4 0 004 4h24v-2H7a2 2 0 01-2-2V4a2 2 0 012-2z\\\"/></svg>\",\n    \"product-tours-filled\": \"<svg viewBox=\\\"0 0 40 40\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M21.139 2.579a1.5 1.5 0 00-2.278 0L14.574 7.58c-.916.027-1.8.059-2.648.095-3.495.149-5.243.223-6.778 1.063-1.287.705-2.474 1.944-3.123 3.26-.775 1.569-.775 3.428-.775 7.146v6.712c0 3.718 0 5.577.775 7.147.649 1.316 1.836 2.554 3.123 3.258 1.535.841 3.283.915 6.778 1.064 2.43.104 5.163.175 8.074.175 2.91 0 5.643-.071 8.074-.175 3.495-.149 5.243-.223 6.778-1.064 1.287-.704 2.474-1.943 3.123-3.258.775-1.57.775-3.429.775-7.147v-6.712c0-3.718 0-5.577-.775-7.147-.649-1.316-1.836-2.554-3.123-3.259-1.535-.84-3.282-.914-6.778-1.063-.848-.036-1.732-.068-2.648-.095l-4.287-5.001zM10 18a1 1 0 011-1h18a1 1 0 011 1v1.5a1 1 0 01-1 1H11a1 1 0 01-1-1V18zm1 6.5a1 1 0 00-1 1V27a1 1 0 001 1h13a1 1 0 001-1v-1.5a1 1 0 00-1-1H11z\\\"/></svg>\",\n    \"product-tours-list\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M9 40a4 4 0 0 1-4-4h2a2 2 0 0 0 2 2h27a2 2 0 0 0 2-2V15a2 2 0 0 0-2-2v-2a4 4 0 0 1 4 4v21a4 4 0 0 1-4 4H9z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M25.861 6L18.5 0l-7.361 6H4a4 4 0 0 0-4 4v22a4 4 0 0 0 4 4h28a4 4 0 0 0 4-4V10a4 4 0 0 0-4-4h-6.139zM18.5 2.58L11.85 8H4a2 2 0 0 0-2 2v22a2 2 0 0 0 2 2h28a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2h-6.85L18.5 2.58z\\\"/><path d=\\\"M5 12h23v2H5zm0 4h26v2H5zm0 4h14v2H5z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M22.5 29a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm0 1a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm-4-1a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm0 1a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z\\\"/><path d=\\\"M16 28.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z\\\"/></svg>\",\n    \"push-notification-filled\": \"<svg viewBox=\\\"0 0 40 40\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M6.25 8c0-2.8 0-4.2.545-5.27A5 5 0 018.98.545C10.05 0 11.45 0 14.25 0h11.5c2.8 0 4.2 0 5.27.545a5 5 0 012.185 2.185c.545 1.07.545 2.47.545 5.27v24c0 2.8 0 4.2-.545 5.27a5 5 0 01-2.185 2.185C29.95 40 28.55 40 25.75 40h-11.5c-2.8 0-4.2 0-5.27-.545a5 5 0 01-2.185-2.185C6.25 36.2 6.25 34.8 6.25 32V8zM23 33a3 3 0 11-6 0 3 3 0 016 0zM11.25 5a1.5 1.5 0 00-1.5 1.5v18.25a1.5 1.5 0 001.5 1.5h17.5a1.5 1.5 0 001.5-1.5V6.5a1.5 1.5 0 00-1.5-1.5h-17.5z\\\"/></svg>\",\n    \"reply-button\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M2 10h36a2 2 0 0 1 2 2v15.771a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V12a2 2 0 0 1 2-2zm.105 2.197v15.377h35.79V12.197H2.105zm6.316 6.59H31.58v2.197H8.42v-2.197z\\\"/></svg>\",\n    \"respond\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M12 12h16v2H12zm0 5h16v2H12zm0 5h11v2H12z\\\"/><path d=\\\"M20 2C6.73 2 0 7.38 0 18s6.73 16 20 16a40.39 40.39 0 004.1-.2l-.21-2A38 38 0 0120 32C7.89 32 2 27.42 2 18S7.89 4 20 4s18 4.58 18 14c0 3.74-1 6.76-2.85 9A8.71 8.71 0 0033 32a1.53 1.53 0 01-2.44 1.17L28.2 31.4 27 33l6.4 4.8A1 1 0 0035 37v-4.48a6.52 6.52 0 011.67-4.25C38.88 25.69 40 22.23 40 18 40 7.38 33.27 2 20 2z\\\"/></svg>\",\n    \"rocket-ship\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M30.32 3.864c-3.029.981-6.607 2.977-9.69 6.059-4.004 4.003-6.5 8.403-7.052 11.687l4.812 4.812c3.284-.553 7.682-3.048 11.687-7.053 3.082-3.082 5.073-6.656 6.052-9.681.49-1.515.718-2.868.716-3.936-.002-1.102-.248-1.763-.542-2.06-.292-.294-.947-.542-2.048-.545-1.067-.003-2.42.226-3.936.717zm3.94-2.117c1.218.004 2.347.264 3.037.96.688.695.945 1.822.948 3.042.003 1.253-.262 2.756-.784 4.37-1.045 3.229-3.15 6.996-6.394 10.24-4.257 4.257-9.09 7.013-12.833 7.501l-.341.045-5.798-5.798.045-.341c.487-3.744 3.244-8.578 7.501-12.833 3.244-3.244 7.015-5.353 10.247-6.4 1.614-.523 3.118-.79 4.371-.786z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M11.213 13.453l5.892-1.468.338 1.358-5.892 1.468a6.5 6.5 0 0 0-3.718 2.528L3.75 23.057l4.847.284 1.093-1.476a2.5 2.5 0 0 1 2.983-.811l.472.2-.546 1.288-.472-.2a1.1 1.1 0 0 0-1.313.357l-1.543 2.084-8.133-.476 5.556-7.782a7.9 7.9 0 0 1 4.519-3.072zm13.976 14.996l1.468-5.892 1.358.338-1.468 5.892a7.9 7.9 0 0 1-3.072 4.519l-7.782 5.556-.476-8.133 2.083-1.543a1.1 1.1 0 0 0 .357-1.313l-.2-.472 1.29-.546.2.472a2.5 2.5 0 0 1-.812 2.983l-1.476 1.093.284 4.847 5.718-4.084a6.5 6.5 0 0 0 2.527-3.717zm.056-17.949c-.164.647-.036 1.046.159 1.241.195.196.594.323 1.24.159.63-.16 1.37-.576 2.034-1.24.664-.665 1.08-1.404 1.24-2.034.165-.646.037-1.045-.158-1.24-.195-.196-.594-.323-1.24-.16-.63.16-1.37.577-2.034 1.241-.665.665-1.08 1.404-1.24 2.034zm-1.357-.344c.232-.913.796-1.867 1.608-2.679.812-.811 1.765-1.375 2.679-1.607.896-.228 1.891-.158 2.575.526.683.683.753 1.678.525 2.575-.231.913-.795 1.867-1.607 2.678-.812.812-1.765 1.376-2.679 1.608-.897.227-1.891.158-2.575-.526-.683-.683-.753-1.678-.526-2.575zM12.207 25.34l-6.746 5.474-.882-1.088 6.746-5.474.882 1.088zm-8.24 9.45l9.164-8.657.962 1.018-9.164 8.656-.962-1.018zm5.22-.251l5.474-6.746 1.087.882-5.474 6.746-1.087-.882zm19.544-12.824l-10.44-10.44.99-.99 10.44 10.44-.99.99z\\\"/></svg>\",\n    \"rule\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M28.48 21.37l-1 1.75a47.35 47.35 0 0 1 5.31 3.38H27a8.32 8.32 0 0 1-6.94-3.71l-.59-.88-1.66 1.11.59.88a10.31 10.31 0 0 0 8.6 4.6h5.88a41.18 41.18 0 0 1-5.35 3.37l.95 1.76c5-2.68 7.53-4.75 7.53-6.13-.01-.49-.01-1.98-7.53-6.13z\\\"/><path d=\\\"M27 13.5h5.88a41.18 41.18 0 0 1-5.35 3.37l.95 1.76C33.47 15.94 36 13.88 36 12.5c0-.49 0-2-7.52-6.12l-1 1.75a47.35 47.35 0 0 1 5.31 3.38H27a10.31 10.31 0 0 0-8.6 4.6l-4.46 6.69A8.32 8.32 0 0 1 7 26.5H2v2h5a10.31 10.31 0 0 0 8.6-4.6l4.46-6.69A8.32 8.32 0 0 1 27 13.5z\\\"/><path d=\\\"M13.94 17.21l.42.63L16 16.73l-.42-.63A10.31 10.31 0 0 0 7 11.5H2v2h5a8.32 8.32 0 0 1 6.94 3.71z\\\"/></svg>\",\n    \"saved-reply\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M39 18H29a1 1 0 0 0-.89.55L27.38 20H12.62l-.72-1.45A1 1 0 0 0 11 18H1a1 1 0 0 0-1 1v13h2V20h8.38l2.72 5.45a1 1 0 0 0 .9.55h12a1 1 0 0 0 .89-.55L29.62 20H38v6a4 4 0 0 1-4 4H5v2h34a1 1 0 0 0 1-1V19a1 1 0 0 0-1-1zm-13.62 6H14.62l-1-2h12.76zM3 14h34v2H3zm0-6h34v2H3z\\\"/></svg>\",\n    \"schedule\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><g transform=\\\"translate(1 1.5)\\\"><path d=\\\"M37 3h-5V0h-2v3h-6V0h-2v3h-6V0h-2v3H8V0H6v3H1a1 1 0 0 0-1 1v32a1 1 0 0 0 1 1h36a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zm-5 32H2V5h4v3h2V5h6v3h2V5h6v3h2V5h6v3h2V5h4v6H7v2h29v18a4 4 0 0 1-4 4z\\\"/><circle cx=\\\"10\\\" cy=\\\"19\\\" r=\\\"2\\\"/><circle cx=\\\"19\\\" cy=\\\"19\\\" r=\\\"2\\\"/><circle cx=\\\"28\\\" cy=\\\"19\\\" r=\\\"2\\\"/><circle cx=\\\"10\\\" cy=\\\"28\\\" r=\\\"2\\\"/><circle cx=\\\"19\\\" cy=\\\"28\\\" r=\\\"2\\\"/><circle cx=\\\"28\\\" cy=\\\"28\\\" r=\\\"2\\\"/></g></svg>\",\n    \"series\": \"<svg width=\\\"40\\\" height=\\\"40\\\" viewBox=\\\"0 0 40 40\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M21 13.12l.043-9.259a1.85 1.85 0 01.966-1.6 2.062 2.062 0 011.942-.035l9.023 4.668c.638.333 1.03.964 1.026 1.65a1.862 1.862 0 01-1.043 1.645l-9.065 4.591c-.61.31-1.348.291-1.94-.049a1.925 1.925 0 01-.803-.89A1.826 1.826 0 0121 13.12z\\\"/><path d=\\\"M14.903 7c-4.256.135-7.785 3.704-7.9 7.982-.116 4.308 3.257 7.809 7.535 7.819l11.824.028c2.237.005 4.006 1.843 3.946 4.096-.062 2.282-1.968 4.209-4.236 4.28l-2.599.083a1.906 1.906 0 00-1.832 1.914 1.796 1.796 0 001.858 1.797l2.598-.082c4.258-.136 7.785-3.7 7.9-7.983.116-4.303-3.26-7.808-7.535-7.818l-11.824-.028c-2.24-.006-4.006-1.84-3.946-4.097.062-2.278 1.97-4.208 4.236-4.28l1.278.045a1.908 1.908 0 001.84-1.91 1.806 1.806 0 00-1.864-1.804L14.903 7z\\\"/><path d=\\\"M8.37 28.184a6 6 0 119.306 7.578 6 6 0 01-9.306-7.578z\\\"/></svg>\\n\",\n    \"settings\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M12.2498.462512c.1075-.080586.3737-.2625.75-.2625h3.3c.4537 0 1.254.283558 1.2981 1.126368l.3147 2.75328c.7086.18799 1.3806.45661 2.0138.80629l2.224-1.74745c.167-.14837.436-.31349.7994-.31349.4088 0 .6981.2089.8571.3679l2.4 2.4c.159.15899.3679.44834.3679.8571 0 .36985-.171.64194-.3213.80817l-1.7629 2.16355c.3017.61777.5615 1.27137.7806 1.95997l2.7998.3199c.1158.0054.2506.0253.3917.0773.1839.0677.3255.1703.4317.2765.0655.0655.1193.1364.1408.1658l.2646.2646V16.3c0 .4537-.2836 1.254-1.1264 1.2981l-2.7532.3147c-.1869.7042-.4533 1.3723-.7999 2.002l1.7332 2.1271c.1503.1662.3213.4383.3213.8081 0 .4088-.2089.6981-.3679.8571l-2.4 2.4c-.159.159-.4483.3679-.8571.3679-.3698 0-.6419-.171-.8082-.3213l-2.1635-1.7629c-.6177.3017-1.2714.5616-1.9599.7806l-.3249 2.8422-.0396.3467-.2468.2468-.0088.0089c-.0427.0428-.1387.1393-.2483.2215-.1074.0806-.3737.2625-.75.2625h-3.4c-.4537 0-1.254-.2836-1.2981-1.1264l-.3146-2.7532c-.7043-.1869-1.3724-.4533-2.00213-.7998l-2.127 1.7331c-.16623.1503-.43832.3213-.80817.3213-.40875 0-.69811-.2089-.8571-.3679l-2.4-2.4c-.159-.159-.3679-.4483-.3679-.8571 0-.3616.16352-.6298.31132-.7969l1.6801-2.1602c-.30212-.6166-.56249-1.2692-.78211-1.9566l-2.7222-.2402-.36214-.0319-.257072-.2571-.008839-.0088c-.042878-.0427-.139348-.1387-.221556-.2483-.080586-.1074-.262498-.3737-.262498-.75V13c0-.4537.283565-1.254 1.126385-1.2981l2.75326-.3146c.18683-.7043.45329-1.3724.79981-2.00212L3.33313 7.36491c-.09917-.08017-.18038-.17472-.24123-.27361-.14137-.22972-.1671-.45956-.1671-.60379 0-.28484.10207-.62878.3679-.8946l2.4-2.4c.15899-.159.44835-.3679.8571-.3679.37666 0 .65192.17737.81724.32963l2.06663 1.74869c.61413-.29917 1.26373-.55709 1.94783-.77474l.3248-2.84212.0396-.346769.2468-.246796.0088-.008844v-.00001c.0427-.042885.1387-.139342.2483-.221539zm1.3651 1.737498h2.0698l.3216 2.81355.0843.73753.7303.13279c.9703.17642 1.8416.52648 2.6242 1.04818l.6028.40189.5697-.44762 2.2704-1.78388 1.4008 1.40074-1.7642 2.16515-.4279.52515.3289.59217c.4571.82264.8284 1.74684 1.1094 2.77744l.1783.6535.673.0769 2.9135.333v2.0584l-2.8135.3216-.7376.0843-.1328.7303c-.1764.9703-.5264 1.8417-1.0481 2.6242l-.4095.6142.4663.5722 1.7642 2.1651-1.3922 1.3922-2.1651-1.7642-.5252-.4279-.5921.329c-.8227.457-1.7469.8283-2.7775 1.1093l-.6535.1783-.0769.673-.3216 2.8135h-2.1698l-.3216-2.8135-.0843-.7376-.7303-.1328c-.9703-.1764-1.8416-.5264-2.6242-1.0481l-.61415-.4095-.57222.4663-2.16515 1.7642-1.4031-1.4031 1.68928-2.1719.40581-.5218-.32101-.5778c-.45704-.8227-.8283-1.7469-1.10939-2.7775l-.18322-.6718-.69365-.0612-2.6879-.2372v-2.1516l2.81355-.3216.73753-.0842.13279-.7304c.17642-.9703.52648-1.8416 1.04818-2.62419l.40944-.61415-.46625-.57222-1.7642-2.16515 1.38294-1.38294L8.65386 6.8634l.52752.44636.60407-.33559c.82265-.45704 1.74685-.82831 2.77745-1.10939l.6535-.17823.0769-.67299.3216-2.81355zM14.6998 11.3c-1.8778 0-3.4 1.5222-3.4 3.4s1.5222 3.4 3.4 3.4 3.4-1.5222 3.4-3.4-1.5222-3.4-3.4-3.4zm-5.4 3.4c0-2.9823 2.4177-5.39999 5.4-5.39999 2.9823 0 5.4 2.41769 5.4 5.39999s-2.4177 5.4-5.4 5.4c-2.9823 0-5.4-2.4177-5.4-5.4zm22.7004 9.6c.5523 0 1 .4477 1 1v1.8001c.6685.1357 1.2886.4048 1.8312.7783l1.3822-1.3054c.4015-.3792 1.0344-.3611 1.4136.0404.3792.4015.3611 1.0344-.0404 1.4136l-1.3665 1.2906c.34.5338.5815 1.1365.6989 1.7824h1.981c.5523 0 1 .4477 1 1s-.4477 1-1 1h-2.0216c-.1392.62-.3935 1.1965-.7394 1.7058l1.4476 1.3672c.4015.3792.4196 1.0121.0404 1.4136-.3792.4016-1.0121.4196-1.4136.0404l-1.5064-1.4226c-.5123.3306-1.089.5701-1.707.6956v2c0 .5523-.4477 1-1 1s-1-.4477-1-1v-2c-.5942-.1206-1.1501-.3465-1.6474-.6575l-1.466 1.3845c-.4015.3792-1.0344.3612-1.4136-.0404-.3792-.4015-.3611-1.0344.0404-1.4136l1.3868-1.3098c-.3661-.5232-.6346-1.1197-.779-1.7632h-1.9212c-.5523 0-1-.4477-1-1s.4477-1 1-1h1.8806c.1217-.6698.3769-1.293.737-1.8412l-1.3042-1.2318c-.4015-.3792-.4196-1.0121-.0404-1.4136.3792-.4015 1.0121-.4196 1.4136-.0404l1.3402 1.2658c.5287-.353 1.1284-.608 1.7732-.7388v-1.8c0-.5523.4477-1 1-1zM32 29c-1.6569 0-3 1.3432-3 3 0 1.6569 1.3431 3 3 3s3-1.3431 3-3c0-1.6568-1.3431-3-3-3z\\\" clip-rule=\\\"evenodd\\\"/></svg>\\n\",\n    \"stop-automatically\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M32 9V2h2V0H6v2h2v7a12 12 0 0 0 7.22 11A12 12 0 0 0 8 31v7H6v2h28v-2h-2v-7a12 12 0 0 0-7.22-11A12 12 0 0 0 32 9zM10 38v-6h3.77a5.61 5.61 0 0 0 4.4-2.12L20 27.6l1.83 2.28a5.61 5.61 0 0 0 4.4 2.12H30v6zm19.95-8h-3.72a3.62 3.62 0 0 1-2.84-1.37l-2.61-3.26a1 1 0 0 0-1.56 0l-2.61 3.26A3.62 3.62 0 0 1 13.77 30h-3.72a10 10 0 0 1 19.9 0zM20 19a10 10 0 0 1-8-4h14v-2H10.84A9.93 9.93 0 0 1 10 9V2h20v7a10 10 0 0 1-10 10z\\\"/></svg>\",\n    \"tag\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M11.63 12a2 2 0 0 0-1.45.49A2 2 0 0 0 11.36 16h.14a2 2 0 0 0 1.5-3.32 2 2 0 0 0-1.37-.68z\\\"/><path d=\\\"M35.24 18.33l-14.36-16a1 1 0 0 0-.74-.33H10.5a1 1 0 0 0-1 .91L9.05 8H6.5a1 1 0 0 0-1 .91l-1 11a1 1 0 0 0 .25.75l15 17a1 1 0 0 0 .7.34h.05a1 1 0 0 0 .68-.26l9.63-8.83-1.31-1.48-8.88 8.14L6.5 19.66 7.42 10h9.27l15.07 16.67 1.48-1.34-1.89-2.09 3.82-3.5a1 1 0 0 0 .07-1.41zm-5.23 3.42L17.88 8.33a1 1 0 0 0-.74-.33h-6.09l.37-4h8.27L33.1 18.93z\\\"/><path d=\\\"M13.751 24.662l1.505-1.317 7 8-1.506 1.317z\\\"/></svg>\",\n    \"team\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M32.22 25.79A5 5 0 0 0 27 17.42V17a7 7 0 0 0-3.78-6.21 5 5 0 1 0-6.44 0A7 7 0 0 0 13 17v.42a5 5 0 0 0-5.22 8.37A7 7 0 0 0 4 32v6h2v-6a5 5 0 0 1 10 0v4H9v2h8a1 1 0 0 0 1-1v-5a7 7 0 0 0-3.78-6.21A5 5 0 0 0 15.9 23h8.2a5 5 0 0 0 1.68 2.79A7 7 0 0 0 22 32v5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-5a7 7 0 0 0-3.78-6.21zM17 7a3 3 0 1 1 3 3 3 3 0 0 1-3-3zm3 5a5 5 0 0 1 5 5v2a5 5 0 0 0-.9 2h-8.2a5 5 0 0 0-.9-2v-2a5 5 0 0 1 5-5zM8 22a3 3 0 1 1 3 3 3 3 0 0 1-3-3zm18 0a3 3 0 1 1 3 3 3 3 0 0 1-3-3zm8 11a3 3 0 0 1-3 3h-7v-4a5 5 0 0 1 5.5-5 5.15 5.15 0 0 1 4.5 5.2z\\\"/></svg>\",\n    \"token\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><g transform=\\\"translate(1.595 .75)\\\"><circle cx=\\\"7.07\\\" cy=\\\"6\\\" r=\\\"2\\\"/><path d=\\\"M21.37 27.29l1.41 1.41 3-3a1 1 0 0 0 0-1.37l-7.63-8.5a5.07 5.07 0 1 0-1.45 1.38l4.12 4.59-2.49 2.49 1.41 1.41 2.42-2.42L23.7 25zM11.07 13a3 3 0 1 1 3 3 3 3 0 0 1-3-3z\\\"/><path d=\\\"M36.81 23.33l-21-23a1 1 0 0 0-.74-.33h-13a1 1 0 0 0-1 .92L0 14.36a1 1 0 0 0 .26.75l20.93 23.07a1 1 0 0 0 .7.33 1 1 0 0 0 .69-.27l12.14-11.5-1.37-1.45L22 36.08l-20-22L3 2h11.63l20.7 22.67z\\\"/></g></svg>\",\n    \"untracked-attribute\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M32 0H9v17a1 1 0 0 0 1.71.71l3.29-3.3 3.29 3.29A1 1 0 0 0 19 17V2h13a2 2 0 0 1 2 2v32a2 2 0 0 1-2 2H10a4 4 0 0 1-4-4V0H4v39a1 1 0 0 0 1 1h27a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4zM17 14.59l-2.29-2.29a1 1 0 0 0-1.41 0L11 14.59V2h6z\\\"/><path d=\\\"M10 22h20v2H10zm0 5h20v2H10zm0 5h13v2H10z\\\"/></svg>\",\n    \"video\": \"<svg viewBox=\\\"0 0 40 40\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M24.42 25.18H11.91v-2h12.51v2zm5.32.4a1.4 1.4 0 1 1-.02-2.8 1.4 1.4 0 0 1 .02 2.8z\\\"/><path d=\\\"M8.56 17.79h29.56V39h-2V19.79H6.93V35c0 .53.195 1.125.57 1.5.375.375.9.5 1.43.5h25.19v2H4.93V17.79h3.63z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M33.074.067L2.301 12.5l2.918 7.223L35.992 7.29 33.075.067zM31.97 2.671L4.904 13.605l.746 1.846a1.8 1.8 0 0 0 2.343.994l25.396-10.26-1.42-3.514z\\\"/><path d=\\\"M11 9h2v7h-2zm7-2h2v6h-2zm7-3h2v7h-2z\\\"/></svg>\",\n    \"visitor-auto-message\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M31.405 17.945l-15.44 16.61 2.17-12.76a1 1 0 0 0-1-1.17h-6.74l13.74-15.17-2 13a1 1 0 0 0 1 1.15h5v-2h-3.83l2.35-15.14a1 1 0 0 0-1.73-.82l-17.53 19.31a1 1 0 0 0 .74 1.68h7.82l-2.52 14.88a1 1 0 0 0 .54 1.06 1 1 0 0 0 .44.1 1 1 0 0 0 .72-.36l17.73-19z\\\"/></svg>\",\n    \"warning\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M39 0H1a1 1 0 0 0-1 1v38a1 1 0 0 0 1 1h38a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1zm-1 38H2V2h36z\\\"/><path d=\\\"M10 19c.57 0 2.3 0 8.89-12.54l-1.77-.93c-2.58 4.92-6 10.5-7.16 11.41-.67-.48-2-2.84-3-5.32l-1.86.75C6.29 15.4 8.14 19 10 19zm4.29 4.29l-3.79 3.8-3.79-3.8-1.42 1.42 3.8 3.79-3.8 3.79 1.42 1.42 3.79-3.8 3.79 3.8 1.42-1.42-3.8-3.79 3.8-3.79-1.42-1.42zM22 9h12v2H22zm0 4h8v2h-8zm0 13h12v2H22zm0 4h8v2h-8z\\\"/></svg>\",\n    \"wave\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M18.26 7.884c1.85 0 4.382 4.228 5.958 6.546 1.576 2.318 3.782 4.77 5.054 4.77a.777.777 0 0 0 .572-.23c1.082-1.082.218-3.68 1.732-5.2a4.298 4.298 0 0 1 2.928-1.294c.158 0 .316.012.472.038a1.371 1.371 0 0 1 .948 2.032c-1.13 2-1.716 4.466-.886 7.88.974 4 .542 7.25-3.03 10.82-1.63 1.632-3.768 2.824-6.074 2.824-1.822 0-3.748-.744-5.612-2.6-4.218-4.22-11.36-8.98-9.412-10.928.418-.42.826-.6 1.242-.6.87 0 1.77.8 2.87 1.9 1.432 1.432 2.612 2.78 3.166 2.78a.26.26 0 0 0 .188-.074c.43-.432-2.056-2.706-4-4.654s-5.952-4.652-4-6.6c.42-.42.83-.6 1.236-.6 1.478 0 2.91 2.364 4.6 4.06 1.922 1.924 3.4 4.112 4.178 4.112a.35.35 0 0 0 .258-.108c.664-.664-2.49-3.354-4.87-5.734S10.476 11.51 12.1 9.886a1.377 1.377 0 0 1 1-.444c1.878 0 4.268 3.766 5.814 5.314 1.674 1.672 3.172 4.412 3.914 4.412a.27.27 0 0 0 .2-.084c.642-.644-1.696-2.866-3.246-4.762-1.948-2.38-3.896-4.544-2.382-6.058a1.173 1.173 0 0 1 .858-.38h.002zm-.002-1.4a2.57 2.57 0 0 0-1.848.79 3.143 3.143 0 0 0-.912 1.712c-.762-.576-1.556-.944-2.4-.944a2.78 2.78 0 0 0-2 .854 3 3 0 0 0-.84 2.66c.11.643.334 1.26.662 1.824-.593.16-1.13.481-1.554.926a3 3 0 0 0-.93 2.238c.044 1.55 1.23 2.916 2.616 4.218-.43.19-.818.462-1.144.8a2.462 2.462 0 0 0-.738 1.872c.084 2.04 2.43 4.166 6.23 7.472 1.362 1.182 2.772 2.4 3.928 3.558 2 2 4.222 3.018 6.6 3.018 2.47 0 4.978-1.148 7.064-3.234 1.906-1.906 3.08-3.838 3.59-5.904.456-1.852.4-3.834-.19-6.238-.642-2.646-.4-4.826.744-6.858a2.801 2.801 0 0 0 .088-2.582 2.737 2.737 0 0 0-2.024-1.522 4.217 4.217 0 0 0-.698-.056 5.702 5.702 0 0 0-3.916 1.712c-1.17 1.17-1.336 2.716-1.456 3.844-.031.342-.08.681-.146 1.018-.68-.428-2.05-1.72-3.6-4-.2-.29-.412-.614-.638-.956-2.33-3.516-4.286-6.2-6.478-6.2l-.01-.022z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M7.302 25.442a12.574 12.574 0 0 0 5.471 5.536l-.642 1.244a13.974 13.974 0 0 1-6.08-6.152l1.25-.628zm-2.776 1.514a15.206 15.206 0 0 0 6.906 6.975l-.624 1.254a16.606 16.606 0 0 1-7.542-7.617l1.26-.612zm22.406-14.154a12.57 12.57 0 0 0-4.718-5.748l.771-1.168a13.97 13.97 0 0 1 5.243 6.388l-1.296.528zm-.896-6.68a14.896 14.896 0 0 0-1.93-1.633l.812-1.142a16.302 16.302 0 0 1 2.11 1.786 16.48 16.48 0 0 1 3.982 6.407l-1.327.448a15.08 15.08 0 0 0-3.645-5.864l-.002-.002z\\\"/></svg>\",\n    \"webhook\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path d=\\\"M34 34a2 2 0 1 0-1.72-3H11a1 1 0 0 0-1 1 4 4 0 0 1-1.17 2.83 4.09 4.09 0 0 1-5.66 0A4 4 0 0 1 6 28v-2a6 6 0 1 0 4.24 10.24A6 6 0 0 0 11.92 33h20.36A2 2 0 0 0 34 34z\\\"/><path d=\\\"M38.24 27.76a6 6 0 0 0-6.36-1.37L21.73 9A2 2 0 0 0 22 8a2 2 0 1 0-2 2l10.62 18.18a1 1 0 0 0 1.37.36 4.08 4.08 0 0 1 4.84.63 4 4 0 0 1 0 5.66 4.09 4.09 0 0 1-5.66 0l-1.42 1.41a6 6 0 0 0 8.49-8.48z\\\"/><path d=\\\"M16.16 12.61L6 30a2 2 0 1 0 2 2 2 2 0 0 0-.27-1l10.58-18.11a1 1 0 0 0-.31-1.4h-.07a4 4 0 0 1-.79-.62 4 4 0 0 1 0-5.66 4.09 4.09 0 0 1 5.66 0 4 4 0 0 1 .89 4.31l1.86.74a6 6 0 1 0-9.81 2c.14.11.26.23.42.35z\\\"/></svg>\"\n  },\n  \"import\": {\n    \"csv_icon\": \"<svg width=\\\"20\\\" height=\\\"24\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M13.5 6.5v-6l6 6h-6zm3.07 6.92l-1.466 5.185a.499.499 0 1 1-.962 0l-1.467-5.186a.5.5 0 1 1 .963-.273l.984 3.484.984-3.483a.5.5 0 0 1 .963.272zm-6.228 5.663c-.92 0-1.682-.752-1.737-1.71a.5.5 0 0 1 .47-.53c.31-.008.512.196.527.47.026.432.35.77.74.77.41 0 .742-.37.742-.824 0-.51-.322-.7-.807-.826l-.12-.033c-1.284-.335-1.553-1.16-1.553-1.792 0-1.006.78-1.825 1.74-1.825.92 0 1.682.752 1.74 1.71a.5.5 0 1 1-1 .06c-.024-.432-.35-.77-.74-.77-.408 0-.74.37-.74.825 0 .51.322.7.806.826l-.007.516.126-.484c1.284.335 1.554 1.16 1.554 1.793 0 1.005-.78 1.823-1.742 1.823zm-4.706-1c.303 0 .64-.064.807-.845.06-.27.33-.443.594-.385.27.06.443.325.385.595-.29 1.353-1.132 1.636-1.786 1.636-1.91 0-1.91-2.208-1.91-3.15 0-.943 0-3.15 1.91-3.15.654 0 1.495.283 1.786 1.635a.499.499 0 0 1-.385.593.503.503 0 0 1-.594-.383c-.167-.78-.504-.847-.807-.847-.46 0-.91.166-.91 2.15 0 1.985.45 2.15.91 2.15zM19.854 6.148l-6-6A.495.495 0 0 0 13.5 0H.5a.5.5 0 0 0-.5.5v23a.5.5 0 0 0 .5.5h19a.5.5 0 0 0 .5-.5v-17a.5.5 0 0 0-.146-.353z\\\" fill=\\\"#1d364b\\\" fill-rule=\\\"evenodd\\\"/></svg>\"\n  },\n  \"inbox\": {\n    \"help-guide-code\": \"<svg viewBox=\\\"0 0 180 144\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path clip-rule=\\\"evenodd\\\" d=\\\"M36 136c-3.4 0-6-2.6-6-6V8c0-3.4 2.6-6 6-6h130c3.4 0 6 2.6 6 6v122c0 3.4-2.6 6-6 6z\\\" fill=\\\"#fff\\\" fill-rule=\\\"evenodd\\\"/><path d=\\\"M166 4c2.2 0 4 1.8 4 4v122c0 2.2-1.8 4-4 4H36c-2.2 0-4-1.8-4-4V8c0-2.2 1.8-4 4-4zm0-4H36c-4.4 0-8 3.6-8 8v122c0 4.4 3.6 8 8 8h130c4.4 0 8-3.6 8-8V8c0-4.4-3.6-8-8-8z\\\" fill=\\\"#338fcd\\\"/><path d=\\\"M44 94v-4h112v4zm0 8v-4h106v4zm0 8v-4h100v4zm0 8v-4h112v4zm112-76v4H44v-4zm-6-8v4H44v-4zm-6-8v4H44v-4zm12-8v4H44v-4z\\\" clip-rule=\\\"evenodd\\\" fill=\\\"#f3f7fa\\\" fill-rule=\\\"evenodd\\\"/><path clip-rule=\\\"evenodd\\\" d=\\\"M46 52h80v32H46z\\\" fill=\\\"#158bcb\\\" fill-rule=\\\"evenodd\\\" opacity=\\\".1\\\"/><g fill=\\\"none\\\" stroke=\\\"#008bd1\\\" stroke-miterlimit=\\\"10\\\" stroke-width=\\\"4\\\"><path d=\\\"M126 82v2h-2\\\"/><path d=\\\"M120 84H50\\\" stroke-dasharray=\\\"2 2\\\"/><path d=\\\"M48 84h-2v-2\\\"/><path d=\\\"M46 78V56\\\" stroke-dasharray=\\\"2 2\\\"/><path d=\\\"M46 54v-2h2\\\"/><path d=\\\"M52 52h70\\\" stroke-dasharray=\\\"2 2\\\"/><path d=\\\"M124 52h2v2\\\"/><path d=\\\"M126 58v22\\\" stroke-dasharray=\\\"2 2\\\"/></g></svg>\",\n    \"help-guide-create-lists\": \"<svg viewBox=\\\"0 0 180 144\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path clip-rule=\\\"evenodd\\\" d=\\\"M36 136c-3.3 0-6-2.7-6-6V8c0-3.3 2.7-6 6-6h130c3.3 0 6 2.7 6 6v122c0 3.3-2.7 6-6 6z\\\" fill=\\\"#fff\\\" fill-rule=\\\"evenodd\\\"/><path d=\\\"M166 4c2.2 0 4 1.8 4 4v122c0 2.2-1.8 4-4 4H36c-2.2 0-4-1.8-4-4V8c0-2.2 1.8-4 4-4zm0-4H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1.4-.7 1.9-1.2.8-2.2.8c-1.2 0-2-.4-2.5-1.2-.2-.4-.4-1-.4-1.6h1.6z\\\"/></g></svg>\",\n    \"help-guide-format-text\": \"<svg viewBox=\\\"0 0 180 144\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path clip-rule=\\\"evenodd\\\" d=\\\"M36 136c-3.3 0-6-2.7-6-6V8c0-3.3 2.7-6 6-6h130c3.3 0 6 2.7 6 6v122c0 3.3-2.7 6-6 6z\\\" fill=\\\"#fff\\\" fill-rule=\\\"evenodd\\\"/><path d=\\\"M166 4c2.2 0 4 1.8 4 4v122c0 2.2-1.8 4-4 4H36c-2.2 0-4-1.8-4-4V8c0-2.2 1.8-4 4-4zm0-4H36c-4.4 0-8 3.6-8 8v122c0 4.4 3.6 8 8 8h130c4.4 0 8-3.6 8-8V8c0-4.4-3.6-8-8-8z\\\" fill=\\\"#3990cb\\\"/><path d=\\\"M44 96v-4h112v4zm0 8v-4h106v4zm0 8v-4h100v4zm0 8v-4h112v4zm0-54V16h114v50zm0 22V78h70v10z\\\" clip-rule=\\\"evenodd\\\" fill=\\\"#f3f7fa\\\" fill-rule=\\\"evenodd\\\"/><path d=\\\"M98.4 85H64c-1.7 0-3-1.3-3-3V68c0-1.7 1.3-3 3-3h72c1.7 0 3 1.3 3 3v14c0 1.7-1.3 3-3 3h-30.4l-3.6 3.6z\\\" fill=\\\"#f3f7fa\\\"/><path d=\\\"M136 66c1.1 0 2 .9 2 2v14c0 1.1-.9 2-2 2h-30.8l-.6.6-2.6 2.6-2.6-2.6-.6-.6H64c-1.1 0-2-.9-2-2V68c0-1.1.9-2 2-2zm0-2H64c-2.2 0-4 1.8-4 4v14c0 2.2 1.8 4 4 4h34l4 4 4-4h30c2.2 0 4-1.8 4-4V68c0-2.2-1.8-4-4-4z\\\" fill=\\\"#3690cb\\\"/><g fill=\\\"#3990cb\\\"><path d=\\\"M76.1 75.9c.3.2.5.4.7.7s.3.6.3 1c0 .5-.1.8-.3 1.2-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.1-2.9-.1-2.9zM74 96v-4h52v4z\\\" fill-rule=\\\"evenodd\\\"/></g></svg>\",\n    \"help-guide-quick-actions\": \"<svg viewBox=\\\"0 0 180 144\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path clip-rule=\\\"evenodd\\\" d=\\\"M36 136c-3.4 0-6-2.6-6-6V8c0-3.4 2.6-6 6-6h130c3.4 0 6 2.6 6 6v122c0 3.4-2.6 6-6 6z\\\" fill=\\\"#fff\\\" fill-rule=\\\"evenodd\\\"/><path d=\\\"M166 4c2.2 0 4 1.8 4 4v122c0 2.2-1.8 4-4 4H36c-2.2 0-4-1.8-4-4V8c0-2.2 1.8-4 4-4zm0-4H36c-4.4 0-8 3.6-8 8v122c0 4.4 3.6 8 8 8h130c4.4 0 8-3.6 8-8V8c0-4.4-3.6-8-8-8z\\\" fill=\\\"#338fcd\\\"/><path d=\\\"M44 58v-4h112v4zm0 8v-4h106v4zm0 8v-4h100v4zm0 8v-4h112v4zm0-44h19.2v8H44zm24.8 0H88v8H68.8z\\\" clip-rule=\\\"evenodd\\\" fill=\\\"#f3f7fa\\\" fill-rule=\\\"evenodd\\\"/><g fill=\\\"#338fcd\\\"><path d=\\\"M53.4 102.2H52c-.4 0-.6.2-.6.6v.6c0 .4-.2.6-.6.6H48c-.4 0-.6-.4-.6-.6v-.6c0-.4-.4-.6-.6-.6h-1.2c-.2 0-.2-.2-.2-.2l1.4-4v-.2c0-.2.2-.2.2-.2h4.8c.2 0 .2 0 .2.2l1.6 4.2-.2.2zm1.4-.2l-2-5.2c0-.2-.4-.4-.6-.4h-5.4c-.2 0-.6.2-.6.4L44 102v3.8c0 .4.4.6.6.6H54c.4 0 .6-.2.6-.6l.2-3.8c0 .2 0 .2 0 0z\\\"/><g transform=\\\"scale(2)\\\"><path d=\\\"M36.3 48.6c1.2 0 2.1.9 2.1 2.1s-.9 2.1-2.1 2.1-2.1-.9-2.1-2.1.9-2.1 2.1-2.1zm0-.6c-1.5 0-2.7 1.2-2.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2.8-.8l4-.8c.2 0 .2 0 .4.2l.2 1.2s0 .2-.2.2h-.6l-1.2-.2-2.6-.2c0-.2-.2-.2 0-.4-.2.2 0 0 0 0zm6 1h-.4c-.2 0-.2 0-.2-.2l-.4-2c0-.4-.4-.6-.8-.4l-8 1.8c-.4 0-.6.4-.4.6l1 4.2-.2 1.8c0 .4.2.6.6.6l8 1c.4 0 .6-.2.6-.6l.8-6.2c0-.2-.2-.6-.6-.6zm-1.8 1.4c-.4 0-.6.2-.6.6v.2c0 .2.2.4.6.4.4 0 .6-.2.6-.6 0-.2-.2-.4-.6-.6m0 3.8l-.6-1-.6-.8-.2-.2h-.2l-.2.2h-.4l-.6-1-.2-.2h-.2l-2 2-.6.2v.2c0 .2 0 .2.2.2h1.4l1 .2h3c.2.4.2.4.2.2z\\\"/></g></svg>\"\n  },\n  \"interface-icons\": {\n    \"social\": {\n      \"facebook\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"100\\\" height=\\\"100\\\" viewBox=\\\"0 0 100 100\\\"><path d=\\\"M38.1 100V53.1H25.7V36.2h12.4V21.8C38.1 10.4 45.4 0 62.3 0c6.8 0 11.9.7 11.9.7l-.4 15.8H63c-6.1 0-7.1 2.8-7.1 7.5v12.3h18.3l-.8 16.9H56V100H38.1z\\\"/></svg>\",\n      \"github\": \"<svg width=\\\"100\\\" height=\\\"100\\\" viewBox=\\\"0 0 100 100\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M50 1C22.388 1 0 23.489 0 51.226c0 22.195 14.325 41.017 34.195 47.657 2.5.46 3.412-1.09 3.412-2.415 0-1.196-.046-5.156-.07-9.35-13.904 3.035-16.843-5.923-16.843-5.923-2.277-5.8-5.551-7.345-5.551-7.345-4.544-3.115.345-3.053.345-3.053 5.02.35 7.663 5.174 7.663 5.174 4.461 7.677 11.706 5.457 14.55 4.17.455-3.238 1.749-5.457 3.174-6.708C29.776 72.164 18.1 67.853 18.1 48.608c0-5.487 1.95-9.963 5.142-13.48-.51-1.274-2.23-6.385.495-13.297 0 0 4.193-1.35 13.75 5.15C41.474 25.86 45.75 25.31 50 25.29c4.248.019 8.526.577 12.518 1.696 9.54-6.505 13.74-5.15 13.74-5.15 2.734 6.919 1.013 12.023.5 13.292 3.204 3.516 5.139 7.992 5.139 13.48 0 19.294-11.694 23.543-22.833 24.787 1.8 1.558 3.393 4.611 3.393 9.295 0 6.714-.067 12.128-.067 13.783 0 1.337.91 2.9 3.443 2.41C85.687 92.23 100 73.408 100 51.225 100 23.49 77.612 1 50 1z\\\"/></svg>\",\n      \"klout\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"100\\\" height=\\\"100\\\" viewBox=\\\"0 0 100 100\\\"><path d=\\\"M0 11.3v61.1h67.6L100 88.7V11.3H0zm40.9 35H36l-12.1 17H9.5L26 41.2 10.8 20h14L36 36.3h4.9v10zm35.2 17L64 46.3h-8.2v17H44.4V20h11.5v16.3h8.2L75.2 20h14L73.9 41.2l16.5 22.1H76.1z\\\"/></svg>\",\n      \"linkedin\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"100\\\" height=\\\"100\\\" viewBox=\\\"0 0 100 100\\\"><path d=\\\"M22.7 97.8V33.3H1.3v64.5h21.4zM12 24.5c7.5 0 12.1-5 12.1-11.1C24 7 19.5 2.2 12.1 2.2 4.8 2.2 0 7 0 13.4c0 6.2 4.6 11.1 11.8 11.1h.2zm22.6 73.3H56v-36c0-1.9.1-3.9.7-5.2 1.5-3.9 5.1-7.8 11-7.8 7.8 0 10.9 5.9 10.9 14.6v34.5H100v-37c0-19.8-10.6-29-24.7-29-11.6 0-16.6 6.5-19.5 10.9h.2v-9.4H34.6c.2 5.9 0 64.4 0 64.4z\\\"/></svg>\",\n      \"twitter\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"100\\\" height=\\\"100\\\" viewBox=\\\"0 0 100 100\\\"><path d=\\\"M100 19a42 42 0 0 1-11.8 3.2c4.2-2.5 7.5-6.6 9-11.4-4 2.4-8.4 4.1-13 5-3.7-4-9.1-6.5-15-6.5-11.3 0-20.5 9.2-20.5 20.5 0 1.6.2 3.2.5 4.7-17.1-.9-32.2-9-42.3-21.4-1.8 3-2.8 6.6-2.8 10.3 0 7.1 3.6 13.4 9.1 17.1-3.4-.1-6.5-1-9.3-2.6v.3c0 9.9 7.1 18.2 16.5 20.1-1.7.5-3.5.7-5.4.7-1.3 0-2.6-.1-3.9-.4 2.6 8.1 10.2 14.1 19.2 14.2-7 5.5-15.9 8.8-25.5 8.8-1.7 0-3.3-.1-4.9-.3 9.1 5.8 19.9 9.2 31.4 9.2 37.7 0 58.4-31.3 58.4-58.4 0-.9 0-1.8-.1-2.7 4.2-2.7 7.7-6.3 10.4-10.4z\\\"/></svg>\"\n    },\n    \"standard\": {\n      \"ab-test\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M10.602 7.508l2.53-2.53.547.91a.7.7 0 001.3-.36V2.7a.7.7 0 00-.7-.7H11.45a.7.7 0 00-.36 1.3l.91.547-2.53 2.53a.2.2 0 01-.282 0l-1.061-1.06a1.8 1.8 0 00-2.546 0l-4.95 4.949a.8.8 0 001.132 1.131l4.95-4.95a.2.2 0 01.283 0l1.06 1.061a1.8 1.8 0 002.546 0zM1.755 4.418l1.443 1.443-1.131 1.132L.624 5.55a.8.8 0 011.131-1.132z\\\"/><path d=\\\"M9.138 14.064L5.037 9.962l1.131-1.131 4.101 4.101a.2.2 0 00.283 0l1.47-1.47-.91-.546a.7.7 0 01.36-1.3H14.3a.7.7 0 01.7.7v2.829a.7.7 0 01-1.3.36l-.547-.911-1.47 1.47a1.8 1.8 0 01-2.545 0z\\\"/></svg>\",\n      \"academy\": \"<svg width=\\\"16\\\" height=\\\"16\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8.313.874a.7.7 0 00-.626 0l-7 3.5a.7.7 0 000 1.252l2.27 1.135c-1.31 2.088-1.25 4.287-1.184 5.043.029.326.164.63.39.87.605.641 2.65 2.526 5.837 2.526a7.982 7.982 0 004.579-1.455c.156-.108.075-.354-.113-.377a3.904 3.904 0 01-1.21-.342.21.21 0 00-.188.003c-.8.425-1.83.771-3.068.771-2.619 0-4.318-1.556-4.82-2.087a.047.047 0 01-.008-.014.054.054 0 01-.005-.018c-.057-.656-.095-2.55 1.05-4.29l3.47 1.735a.7.7 0 00.626 0l1.904-.952a.2.2 0 000-.358l-1.118-.559a.2.2 0 00-.18 0L8 7.717 4.325 5.88a.69.69 0 00-.025-.013L2.565 5 8 2.283l6.687 3.343a.7.7 0 00.626-1.252l-7-3.5z\\\" fill=\\\"#222\\\"/><path d=\\\"M8.374 4.687a.7.7 0 01.939-.313l4 2A.7.7 0 0113.7 7l.002.395a.2.2 0 00.013.068l1.195 3.224a.46.46 0 01-.055.456c-.24.294-.798.787-1.853.787-1.053 0-1.614-.492-1.855-.786-.105-.128-.114-.303-.056-.458L12.237 7.6a.2.2 0 00-.098-.249L8.687 5.626a.7.7 0 01-.313-.939z\\\" fill=\\\"#222\\\"/></svg>\",\n      \"account\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M1.321 7.839V5.607c0-.357.321-.661.679-.661h3.5V3.375c0-.357.304-.661.661-.661H9.84c.357 0 .661.304.661.661v1.571h3.518c.357 0 .661.304.661.661v2.232H9.412V6.768H6.608v1.071H1.322zm8.072-2.893v-.643a.649.649 0 0 0-.661-.661H7.286a.66.66 0 0 0-.661.661v.643h2.768zm-.536 2.393v2.089H7.161V7.339h1.696zm-2.25 1.268v1.375h2.804V8.607h5.268v4c0 .357-.304.679-.661.679H2a.703.703 0 0 1-.679-.679v-4h5.286z\\\"/></svg>\",\n      \"active\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M1 5.8c0-1.68 0-2.52.327-3.162a3 3 0 011.311-1.311C3.28 1 4.12 1 5.8 1h4.4c1.68 0 2.52 0 3.162.327a3 3 0 011.311 1.311C15 3.28 15 4.12 15 5.8v4.4c0 1.68 0 2.52-.327 3.162a3 3 0 01-1.311 1.311C12.72 15 11.88 15 10.2 15H5.8c-1.68 0-2.52 0-3.162-.327a3 3 0 01-1.311-1.311C1 12.72 1 11.88 1 10.2V5.8zm12.6 2.9v1.5c0 .863-.001 1.426-.036 1.856-.034.414-.092.58-.138.67a1.6 1.6 0 01-.7.7c-.09.046-.256.104-.67.138-.43.035-.993.036-1.856.036H5.8c-.863 0-1.426-.001-1.856-.036-.414-.034-.58-.092-.67-.138a1.6 1.6 0 01-.7-.7c-.046-.09-.104-.256-.138-.67-.035-.43-.036-.993-.036-1.856V8.7h.225l.994 1.49a.5.5 0 00.873-.074l1.46-3.283a.1.1 0 01.18-.004l2.441 4.882a.5.5 0 00.912-.037l1.427-3.57a.095.095 0 01.176 0c.144.36.492.596.88.596H13.6zm0-1.4V5.8c0-.863-.001-1.426-.036-1.856-.034-.414-.092-.58-.138-.67a1.6 1.6 0 00-.7-.7c-.09-.046-.256-.104-.67-.138-.43-.035-.993-.036-1.856-.036H5.8c-.863 0-1.426.001-1.856.036-.414.034-.58.092-.67.138a1.6 1.6 0 00-.7.7c-.046.09-.104.256-.138.67-.035.43-.036.993-.036 1.856v1.5h.44a1 1 0 01.832.445l.104.157a.1.1 0 00.175-.015l1.581-3.559a.5.5 0 01.905-.02l2.392 4.786a.1.1 0 00.183-.008l1.524-3.81a.5.5 0 01.928 0l.71 1.773a.4.4 0 00.37.251H13.6z\\\"/></svg>\",\n      \"activity\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13.661 10.482l.089.089c.161.179.25.429.25.696 0 .518-.339.929-.821 1.036a27.502 27.502 0 0 1-3.214.429c-.643.036-1.286.071-1.964.071-.643 0-1.304-.036-1.946-.071a25.572 25.572 0 0 1-3.125-.411c-.054-.018-.107-.018-.161-.036a1.077 1.077 0 0 1-.768-1.018c0-.268.107-.518.286-.714.018-.018.036-.054.071-.071l.071-.071c.018-.018.036-.018.036-.036.375-.339.786-.643.857-1.554.357-4.161.714-5.821 3.393-6.75.411-.143.554-.357.643-.536.018-.018.036-.054.054-.089a.67.67 0 0 1 .339-.286c.089-.036.179-.036.25-.036a.69.69 0 0 1 .268.036.626.626 0 0 1 .339.304l.054.071c.089.179.232.393.643.536 2.679.929 3.036 2.589 3.393 6.75.071.911.464 1.214.857 1.554 0 .018.018.018.036.036zm-4.232 3.089h.054c.125 0 .214.107.214.232 0 .036-.018.071-.018.107l-.036.036a1.97 1.97 0 0 1-1.107.857c-.179.036-.357.071-.536.071s-.357-.036-.536-.071a1.97 1.97 0 0 1-1.107-.857s-.018-.018-.018-.036c-.018-.036-.036-.071-.036-.107 0-.125.107-.232.232-.232h.036c.464.036.946.036 1.429.036h.018c.464 0 .946 0 1.411-.036z\\\"/></svg>\",\n      \"add-column-left\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M11 1h2a2 2 0 012 2v11a2 2 0 01-2 2h-2a2 2 0 01-2-2V3a2 2 0 012-2zm0 1a1 1 0 00-1 1v11a1 1 0 001 1h2a1 1 0 001-1V3a1 1 0 00-1-1h-2zM2 3a2 2 0 012-2h2a2 2 0 012 2v11a2 2 0 01-2 2H4a2 2 0 01-2-2v-2h1v2a1 1 0 001 1h2a1 1 0 001-1V3a1 1 0 00-1-1H4a1 1 0 00-1 1v2H2V3z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M2.5 6a.498.498 0 00-.498.5L2.007 8H.5a.501.501 0 00.003 1H2.01l.005 1.5c.001.276.226.5.502.5s.5-.224.498-.5L3.01 9h1.493c.277 0 .5-.224.499-.5A.503.503 0 004.5 8H3.007l-.005-1.5A.503.503 0 002.5 6z\\\"/></svg>\",\n      \"add-column-right\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M5 16H3a2 2 0 01-2-2V3a2 2 0 012-2h2a2 2 0 012 2v11a2 2 0 01-2 2zm0-1a1 1 0 001-1V3a1 1 0 00-1-1H3a1 1 0 00-1 1v11a1 1 0 001 1h2zm9-1a2 2 0 01-2 2h-2a2 2 0 01-2-2V3a2 2 0 012-2h2a2 2 0 012 2v2h-1V3a1 1 0 00-1-1h-2a1 1 0 00-1 1v11a1 1 0 001 1h2a1 1 0 001-1v-2h1v2z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M13.5 11a.498.498 0 00.498-.5L13.993 9H15.5a.501.501 0 00-.003-1H13.99l-.005-1.5c-.001-.276-.226-.5-.502-.5s-.5.224-.498.5L12.99 8h-1.493c-.277 0-.5.224-.499.5.001.276.226.5.502.5h1.493l.005 1.5c.001.276.226.5.502.5z\\\"/></svg>\",\n      \"add-participant\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M9 3a3 3 0 11-6 0 3 3 0 016 0zM1.415 14.845c.086.07.281.208.56.208h5.928A.097.097 0 008 14.956a.099.099 0 00-.069-.093A2.801 2.801 0 016 12.2v-.4A2.8 2.8 0 018.8 9a.2.2 0 00.2-.2c0-.086.004-.171.012-.256a.206.206 0 00-.132-.215 8.585 8.585 0 00-2.87-.48h-.02c-.434 0-2.648 0-4.456 1.308C.358 10.01.32 11.552.477 12.584a6.15 6.15 0 00.411 1.47c.085.195.184.386.296.54.055.077.132.17.231.251z\\\"/><path d=\\\"M13 8.8V11h2.2a.8.8 0 01.8.8v.4a.8.8 0 01-.8.8H13v2.2a.8.8 0 01-.8.8h-.4a.8.8 0 01-.8-.8V13H8.8a.8.8 0 01-.8-.8v-.4a.8.8 0 01.8-.8H11V8.8a.8.8 0 01.8-.8h.4a.8.8 0 01.8.8z\\\"/></svg>\",\n      \"add-row-above\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15.001 12v2a2 2 0 01-2 2h-11a2 2 0 01-2-2v-2a2 2 0 012-2h11a2 2 0 012 2zm-1 0a1 1 0 00-1-1h-11a1 1 0 00-1 1v2a1 1 0 001 1h11a1 1 0 001-1v-2zm-1-9a2 2 0 012 2v2a2 2 0 01-2 2h-11a2 2 0 01-2-2V5a2 2 0 012-2h2v1h-2a1 1 0 00-1 1v2a1 1 0 001 1h11a1 1 0 001-1V5a1 1 0 00-1-1h-2V3h2z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M10.001 3.499c0-.277-.224-.5-.5-.499l-1.5.005V1.498a.498.498 0 00-.5-.498c-.276 0-.5.226-.5.502v1.507l-1.5.005a.501.501 0 000 1l1.5-.005v1.493c0 .276.224.499.5.498.276 0 .5-.226.5-.502V4.005L9.501 4c.276 0 .5-.225.5-.501z\\\"/></svg>\",\n      \"add-row-below\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M1 5V3a2 2 0 012-2h11a2 2 0 012 2v2a2 2 0 01-2 2H3a2 2 0 01-2-2zm1 0a1 1 0 001 1h11a1 1 0 001-1V3a1 1 0 00-1-1H3a1 1 0 00-1 1v2zm1 9a2 2 0 01-2-2v-2a2 2 0 012-2h11a2 2 0 012 2v2a2 2 0 01-2 2h-2v-1h2a1 1 0 001-1v-2a1 1 0 00-1-1H3a1 1 0 00-1 1v2a1 1 0 001 1h2v1H3z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M6 13.501c0 .277.223.5.5.499l1.5-.005v1.507c0 .276.223.499.5.498.275 0 .5-.226.5-.502v-1.507l1.5-.005a.5.5 0 100-1l-1.5.005v-1.493a.501.501 0 00-1 .004v1.493L6.5 13a.5.5 0 00-.5.501z\\\"/></svg>\",\n      \"add\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M12.9 12.9c2.7-2.7 2.7-7.2 0-9.9S5.7.3 3 3s-2.7 7.2 0 9.9 7.2 2.8 9.9 0zM9.1 4.2v2.7h2.7v2.2H9.1v2.7H6.9V9.1H4.2V6.9h2.7V4.2h2.2z\\\" fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\"/></svg>\",\n      \"alert-circle\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0-6.083a.701.701 0 0 1-.697-.621L6.88 4.615A1 1 0 0 1 7.872 3.5h.256a1 1 0 0 1 .993 1.115l-.424 3.68A.701.701 0 0 1 8 8.918zM8 12.5c-.714 0-1.25-.536-1.25-1.25S7.286 10 8 10s1.25.536 1.25 1.25S8.714 12.5 8 12.5z\\\"/></svg>\",\n      \"alert\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M7.164 8.755a.842.842 0 0 0 1.671 0l.536-4.64A1 1 0 0 0 8.377 3h-.755a1 1 0 0 0-.994 1.115l.536 4.64zM6.5 12.5c0 .857.644 1.5 1.5 1.5.857 0 1.5-.643 1.5-1.5S8.857 11 8 11c-.856 0-1.5.643-1.5 1.5z\\\"/></svg>\",\n      \"alignment-reference\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M16-1v2H0v-2h16zm0 5v9H0V4h16zm0 12v1H0v-1h16z\\\"/></svg>\",\n      \"all-companies\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M1 15.5V.5h5v15H1zm1.5-13v2h2v-2h-2zm8.5 1v1h4v11H7v-11h1v-1h3zm-8.5 3v2h2v-2h-2zm6 0v2h2v-2h-2zm3 0v2h2v-2h-2zm-9 4v2h2v-2h-2zm6 0v2h2v-2h-2zm3 0v2h2v-2h-2z\\\"/></svg>\",\n      \"alt-tag\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M4.88 11h1.116L3.908 4.7h-1.54L.246 11H1.36l.432-1.323h2.655L4.88 11zM2.09 8.741l1.026-3.15 1.026 3.15H2.09zM7.107 11h4.04V9.974H8.206V4.7H7.107V11zm8.592-6.3h-4.95v.981h1.935V11h1.089V5.681h1.926V4.7z\\\"/></svg>\",\n      \"android\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M10.167 1.185l-.56 1.118C10.602 2.84 11 3.803 11 4.92H5c0-1.117.413-2.095 1.408-2.6L5.76 1.143c-.03-.046 0-.107.047-.138a.124.124 0 0 1 .138.046l.647 1.175a3.33 3.33 0 0 1 1.41-.306c.52 0 .994.124 1.422.307L10 1.093c.015-.046.076-.06.138-.046a.1.1 0 0 1 .03.138zM6.5 3.935c.294 0 .5-.206.5-.5 0-.294-.206-.5-.5-.5-.295 0-.5.206-.5.5 0 .294.205.5.5.5zm3 0c.294 0 .5-.206.5-.5 0-.294-.206-.5-.5-.5-.295 0-.5.206-.5.5 0 .294.205.5.5.5zm-5.5 3v3c0 1.28-2 1.234-2 0v-3c0-1.328 2-1.297 2 0zm10 0v3c0 1.266-2 1.297-2 0v-3c0-1.28 2-1.297 2 0zm-3-1v5c-.002.492-.508.998-1 1v2c0 .74-.39 1-.77 1-.383 0-.76-.3-.76-1v-2h-.94v2c0 .65-.383.998-.765 1-.383.002-.765-.344-.765-.994v-2.005c-.47 0-1-.482-1-.893V5.935h6z\\\"/></svg>\",\n      \"app-store\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M.7 3.1A2.4 2.4 0 013.1.7h1.8a2.4 2.4 0 012.4 2.4v1.8a2.4 2.4 0 01-2.4 2.4H3.1A2.4 2.4 0 01.7 4.9V3.1zm2.4-1h1.8a1 1 0 011 1v1.8a1 1 0 01-1 1H3.1a1 1 0 01-1-1V3.1a1 1 0 011-1zm-2.4 9a2.4 2.4 0 012.4-2.4h1.8a2.4 2.4 0 012.4 2.4v1.8a2.4 2.4 0 01-2.4 2.4H3.1a2.4 2.4 0 01-2.4-2.4v-1.8zm2.4-1h1.8a1 1 0 011 1v1.8a1 1 0 01-1 1H3.1a1 1 0 01-1-1v-1.8a1 1 0 011-1zm8-9.4a2.4 2.4 0 00-2.4 2.4v1.8a2.4 2.4 0 002.4 2.4h1.8a2.4 2.4 0 002.4-2.4V3.1A2.4 2.4 0 0012.9.7h-1.8zm1.8 1.4h-1.8a1 1 0 00-1 1v1.8a1 1 0 001 1h1.8a1 1 0 001-1V3.1a1 1 0 00-1-1z\\\"/><path d=\\\"M11.3 11.3H9.4a.7.7 0 100 1.4h1.9v1.9a.7.7 0 101.4 0v-1.9h1.9a.7.7 0 100-1.4h-1.9V9.4a.7.7 0 10-1.4 0v1.9z\\\"/></svg>\",\n      \"app\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M14.661 3.839L7.982 5.66 1.321 3.839 8 2zM7.607 6.25V14l-6.286-1.732V4.554zm7.072-1.696v7.714L8.411 14V6.25z\\\"/></svg>\",\n      \"apple\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M10.054 3.286c-.482.589-1.286 1.054-2.071.982-.107-.786.286-1.625.75-2.143.5-.589 1.339-1.036 2.054-1.071.089.821-.25 1.643-.732 2.232zm1.75 5.178c-.018-1.768 1.446-2.607 1.518-2.643-.821-1.214-2.107-1.375-2.554-1.393-1.089-.107-2.125.643-2.679.643-.536 0-1.393-.625-2.304-.607-1.179.018-2.268.696-2.875 1.75-1.232 2.125-.321 5.286.875 7.018.589.857 1.286 1.804 2.214 1.768.875-.036 1.214-.571 2.286-.571 1.054 0 1.357.571 2.304.554s1.536-.857 2.125-1.714c.679-.982.946-1.929.964-1.982-.018 0-1.857-.714-1.875-2.821z\\\"/></svg>\",\n      \"archive\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M2 5.613V14.5h12V5.613H2zm4.05 1.91h4v1.625h-4V7.523zM1.5 1.5h13v3.25h-13V1.5z\\\"/></svg>\",\n      \"arrow-insert-column\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M5.5 8.317L8 11l2.5-2.683-.732-.786-1.235 1.325V5H7.466v3.856L6.232 7.531l-.732.786z\\\"/></svg>\",\n      \"arrow-insert-row\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M8.317 10.5L11 8 8.317 5.5l-.786.732 1.325 1.234H5v1.068h3.856L7.531 9.768l.786.732z\\\"/></svg>\",\n      \"arrow\": \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M9.974 6.886V4.378c0-.18.063-.3.166-.358.042 0 .083 0 .104-.02.082 0 .187.04.29.12l4.238 3.422A.59.59 0 0 1 15 8c0 .16-.083.32-.228.458l-4.237 3.404c-.312.26-.56.14-.56-.238V9.116h-5.34v-2.23h5.34zM1 8.418v-.836c0-.378.333-.696.748-.696h1.39v2.23H1.75c-.407.002-.74-.308-.748-.698z\\\"/></svg>\",\n      \"article\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M11.65 1.682c1.119 0 2.107.219 2.955.588.466.203.981.436 1.278.862.1.147.116.193.117.285l-.002 10.537-.015.105-.029.095-.027.063-.036.064-.06.08a.711.711 0 01-.093.09l-.082.057-.11.053-.112.031-.118.013-.08-.003-.091-.014-.058-.016-.064-.024-.078-.04-.08-.054-.02-.017c-.111-.095-.369-.264-.765-.44-.683-.303-1.493-.487-2.43-.487s-1.747.184-2.43.487a3.753 3.753 0 00-.716.4l-.048.04a.696.696 0 01-.095.068l-.097.048a.695.695 0 01-.18.047l-.138.003a.705.705 0 01-.321-.107l-.187-.137-.058-.04a4.273 4.273 0 00-.6-.322c-.538-.24-1.354-.487-2.43-.487s-1.892.248-2.43.487a4.469 4.469 0 00-.514.268l-.144.094-.108.08-.042.032-.072.046-.106.048-.08.023-.088.014-.066.003a.706.706 0 01-.135-.013l-.077-.02-.064-.024-.079-.04-.02-.011a.719.719 0 01-.156-.136l.076.076a.704.704 0 01-.099-.104l-.06-.092-.048-.108-.021-.074-.015-.105V3.477c.01-.642.96-1.021 1.413-1.217.844-.364 1.826-.58 2.935-.58 1.14 0 2.142.228 2.999.608a6 6 0 01.653.337c.178-.11.395-.224.649-.337.857-.38 1.86-.607 2.999-.607zm0 1.4c-.937 0-1.747.183-2.43.487a4.36 4.36 0 00-.522.27l.001 8.859.243-.101a7.432 7.432 0 012.708-.487c1.118 0 2.105.219 2.95.587V3.838l-.11-.065-.28-.145-.164-.074c-.677-.295-1.476-.472-2.396-.472zm-7.3 0c-.912 0-1.706.174-2.38.465a4.85 4.85 0 00-.449.22l-.12.069-.003 8.861c.692-.3 1.684-.587 2.952-.587 1.189 0 2.136.252 2.82.531l.129.056.002-8.86a4.586 4.586 0 00-.52-.268c-.684-.304-1.494-.487-2.431-.487z\\\"/></svg>\",\n      \"assignment\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M1 9.32v.38c0 1.68 0 3.02.327 3.662a3 3 0 001.311 1.31C3.28 15 4.12 15 5.8 15h4.4c1.68 0 2.52 0 3.162-.327a3 3 0 001.31-1.311C15 12.72 15 11.38 15 9.7v-.38c0-.112 0-.168-.022-.21a.2.2 0 00-.087-.088C14.848 9 14.79 9 14.68 9h-.76c-.112 0-.168 0-.21.022a.2.2 0 00-.088.087c-.022.043-.022.099-.022.211v.38c0 .863-.001 1.926-.036 2.356-.034.414-.092.58-.139.67a1.6 1.6 0 01-.699.7c-.09.046-.256.104-.67.138-.43.035-.993.036-1.856.036H5.8c-.863 0-1.426-.001-1.856-.036-.414-.034-.58-.092-.67-.139a1.6 1.6 0 01-.7-.699c-.046-.09-.104-.256-.138-.67-.035-.43-.036-1.493-.036-2.356v-.38c0-.112 0-.168-.022-.21a.2.2 0 00-.087-.088C2.248 9 2.192 9 2.08 9h-.76c-.112 0-.168 0-.21.022a.2.2 0 00-.088.087C1 9.152 1 9.208 1 9.32z\\\"/><path d=\\\"M5.05 3.16a2.3 2.3 0 012.3 2.3v1.456a.708.708 0 00-.005.074v1.24L5.313 6.197a.35.35 0 00-.495 0l-.495.495a.35.35 0 000 .495l3.227 3.228a.7.7 0 00.99 0l3.228-3.228a.35.35 0 000-.495l-.495-.495a.35.35 0 00-.495 0L8.749 8.226V5.459a3.7 3.7 0 00-3.7-3.7H3.5a.7.7 0 000 1.4h1.55z\\\"/></svg>\",\n      \"attachment\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8.256 1.454a3.7 3.7 0 015.233 5.232L8.186 11.99a2.2 2.2 0 01-3.112-3.112l3.182-3.182a.7.7 0 11.99.99L6.064 9.868A.8.8 0 107.196 11l5.303-5.304a2.3 2.3 0 00-3.253-3.252L3.943 7.747a3.8 3.8 0 005.374 5.374l3.182-3.182a.7.7 0 01.99.99l-3.182 3.182a5.2 5.2 0 01-7.354-7.354l5.303-5.303z\\\"/></svg>\",\n      \"attribute-titles\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M6 2.5h4c3 0 5.5 2.5 5.5 5.5S13 13.5 10 13.5H6C3 13.5.5 11 .5 8S3 2.5 6 2.5zm0 10h4c2.5 0 4.5-2 4.5-4.5s-2-4.5-4.5-4.5H6c-2.5 0-4.5 2-4.5 4.5s2 4.5 4.5 4.5zM4 8l1.5 1.5v1.696L2.5 8l3-3.196v1.589zm9.5-.107l-3 3.196V9.5L12 7.893l-1.5-1.5V4.804zm-8-.393h1v1h-1v-1zm2 0h1v1h-1v-1zm3 1h-1v-1h1v1z\\\"/></svg>\",\n      \"auto-message\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M11.5 1H7c-.75 2.714-1.696 5.339-2.5 7.982H7C6.339 11.018 5.232 13.107 4.857 15c1.714-2.589 4.071-5.411 5.821-7.875.196-.286.607-.786.464-1.125H8.535c.911-1.768 2.089-3.196 2.964-5z\\\"/></svg>\",\n      \"back\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M3.414 7l5.293-5.293A.999.999 0 1 0 7.293.293l-7 7a.999.999 0 0 0 0 1.414l7 7a.997.997 0 0 0 1.414 0 .999.999 0 0 0 0-1.414L3.414 9H15a1 1 0 0 0 0-2H3.414z\\\"/></svg>\",\n      \"banner-filled\": \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M13.8947 2.66667H2.10526C1.87272 2.66667 1.68421 2.85321 1.68421 3.08333V12.9167C1.68421 13.1468 1.87272 13.3333 2.10526 13.3333H13.8947C14.1273 13.3333 14.3158 13.1468 14.3158 12.9167V3.08333C14.3158 2.85321 14.1273 2.66667 13.8947 2.66667ZM2.10526 1C0.942559 1 0 1.93274 0 3.08333V12.9167C0 14.0673 0.942558 15 2.10526 15H13.8947C15.0574 15 16 14.0673 16 12.9167V3.08333C16 1.93274 15.0574 1 13.8947 1H2.10526Z\\\" fill=\\\"#222222\\\"/><rect x=\\\"3\\\" y=\\\"4\\\" width=\\\"10\\\" height=\\\"3\\\" rx=\\\"1.5\\\" fill=\\\"#222222\\\"/></svg>\\n\",\n      \"bar-charts\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M2.321 12.143V5.411h2.75v6.732h1.571V8.518H9.41v3.625h1.554V2.822h2.768v9.321h1.196v1.036H1.089v-1.036h1.232z\\\"/></svg>\",\n      \"big-announcement\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M11.732.839l.304-.732c2.875.946 4.661 4.232 3.714 6.982l-.839-.214c.732-2.536-.643-5.089-3.179-6.036zm.197 5.625c0 .107.107.304.107.411.214.643.214 1.286.214 1.911 0 .643-.107 1.161-.321 1.589-.196.536-.518.857-1.054 1.161-.429.321-.946.429-1.589.321-.536 0-1.054-.214-1.589-.429-.429-.089-.946-.196-1.482-.411l-.107.732 3.5 4.143v.214c0-.107 0-.107-.107-.107H8.34s-.107 0-.107-.107L6.001 13.66l-.107 1.696c0 .107-.107.107-.214.107h-.518c-.107 0-.214-.107-.214-.107l-.107-1.696-2.339 2.339H1.341a.23.23 0 0 1-.214-.214l3.607-4.25-.107-1.589c-.536-.411-.946-.839-1.161-1.375-.75-1.375-.536-2.857-.214-4.232 0-.321 0-.75.107-1.054.107-.643.321-1.179.625-1.5.214-.304.536-.518.75-.625.107-.107.321-.107.429-.214a3.973 3.973 0 0 1 1.589 0c.518.107 1.054.429 1.589.75a5.44 5.44 0 0 1 1.482 1.268l.321.321c-.429 0-.75.196-1.071.411-.321-.411-.732-.732-1.054-1.054s-.75-.536-1.161-.643c-.429-.107-.75-.107-1.071 0-.304.107-.518.321-.732.643s-.321.732-.321 1.161 0 .964.214 1.589c.107.536.321 1.179.625 1.804.321.643.643 1.161 1.071 1.589s.839.857 1.268 1.161c.429.321.839.429 1.268.536s.75 0 1.071-.107c.304-.214.518-.429.625-.732a4 4 0 0 0 .214-1.286c0-.411-.107-.839-.214-1.375.429-.107.75-.214 1.054-.518zm-.84-4.035l.321-.732c2.018.732 3.071 2.857 2.536 4.768l-.732-.214c.411-1.482-.429-3.179-2.125-3.821zm-1.91 2.857v-.304c0-.536.536-1.071 1.268-1.071.75 0 1.286.536 1.286 1.161 0 .643-.536 1.179-1.286 1.179-.304 0-.625-.107-.946-.321l-.643.321-1.161.411H7.59c-.107 0-.214-.089-.321-.196-.107-.214 0-.321.214-.429l1.071-.429z\\\"/></svg>\",\n      \"bluetooth\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M8.488 8l2.925 2.508a.974.974 0 010 1.479l-3.24 2.777a.974.974 0 01-1.607-.74V9.647l-2.21 1.894a.433.433 0 01-.61-.047L3.323 11a.433.433 0 01.047-.61L6.16 8 3.37 5.61A.433.433 0 013.323 5l.423-.494a.433.433 0 01.61-.047l2.21 1.894V1.976a.974.974 0 011.608-.74l3.24 2.777a.974.974 0 010 1.48L8.487 8zM8.08 3.153v3.2l1.867-1.6-1.867-1.6zm0 9.694l1.867-1.6-1.867-1.6v3.2z\\\"/></svg>\",\n      \"bold\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M10.192 7.472c1.419.459 2.128 1.44 2.128 2.944 0 1.003-.325 1.787-.976 2.352-.65.555-1.541.832-2.672.832H4V2.4h4.224c2.133 0 3.2.901 3.2 2.704 0 1.11-.41 1.899-1.232 2.368zM6.048 6.8H7.92c.501 0 .875-.101 1.12-.304.245-.213.368-.539.368-.976 0-.459-.123-.79-.368-.992-.245-.203-.619-.304-1.12-.304H6.048V6.8zm2.32 4.976c.597 0 1.05-.117 1.36-.352.32-.245.48-.656.48-1.232 0-.565-.165-.965-.496-1.2-.32-.245-.768-.368-1.344-.368h-2.32v3.152h2.32z\\\"/></svg>\",\n      \"book\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M2.946 2.893v-.089c0-.929.857-1.696 2.054-1.696.232-.018.429 0 .571.054l.143.036c.054.018.089.018.107.036s.036.018.054.018l6.893 2.554c.196.071.286.214.286.429v8.304c0 .304-.143.446-.446.446a.5.5 0 0 1-.411-.214l-1.268 1.25v.446c0 .143-.071.268-.196.375a.591.591 0 0 1-.268.071l-.161-.036-7.054-2.768c-.196-.071-.286-.214-.286-.429V3.126c-.018-.018-.018-.071-.018-.125v-.107zm7.733 2.946l1.375-1.321-6.518-2.429h-.018l-.143-.054c-.125-.018-.25-.036-.375-.036-.143 0-.286.018-.446.036-.357.089-.696.446-.696.821 0 .018.018.107.071.232l6.714 2.732zm1.446 6.59V4.893l-1.25 1.161a.344.344 0 0 1 .054.179v7.339z\\\"/></svg>\",\n      \"boolean\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M10 3.5H6a4.5 4.5 0 000 9h4a4.5 4.5 0 100-9zM6 2a6 6 0 100 12h4a6 6 0 000-12H6z\\\"/><circle cx=\\\"10\\\" cy=\\\"8\\\" r=\\\"2.5\\\"/></svg>\",\n      \"bot-filled\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M6.25 5.4h3.5a.85.85 0 010 1.7h-3.5a.85.85 0 010-1.7z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M1 4.2c0-1.12 0-1.68.218-2.108a2 2 0 01.874-.874C2.52 1 3.08 1 4.2 1h7.6c1.12 0 1.68 0 2.108.218a2 2 0 01.874.874C15 2.52 15 3.08 15 4.2v6.28c0 .112 0 .168-.022.21a.2.2 0 01-.087.088c-.043.022-.099.022-.211.022H1.32c-.112 0-.168 0-.21-.022a.2.2 0 01-.088-.087C1 10.648 1 10.592 1 10.48V4.2zm3 2.05A2.25 2.25 0 016.25 4h3.5a2.25 2.25 0 010 4.5h-3.5A2.25 2.25 0 014 6.25z\\\"/><path d=\\\"M1.021 12.528c-.007-.11-.01-.165.01-.21a.205.205 0 01.088-.094c.044-.024.101-.024.216-.024h13.33c.115 0 .172 0 .216.024.038.02.07.054.088.094.02.045.017.1.01.21-.025.378-.079.648-.197.88a2 2 0 01-.874.874c-.428.218-.988.218-2.108.218H4.2c-1.12 0-1.68 0-2.108-.218a2 2 0 01-.874-.874c-.118-.232-.172-.502-.197-.88z\\\"/></svg>\",\n      \"bot-info\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M7.768 2.625C7.768 1.929 8.339 1 9.411 1c.411 0 .732.161.946.411s.304.571.304.893C10.661 3.179 9.982 4 9.018 4zm2.964 9.786l-.071.089C9.215 14.054 7.447 15 6.786 15h-.018c-.214 0-.464-.054-.625-.25-.179-.179-.268-.464-.268-.875 0-.321.054-.982.179-1.464l1.018-4.446c.054-.232.089-.411.089-.5-.179.071-.964.643-1.357.929l-.125.107-.411-1.089.089-.071C6.803 6.002 8.536 4.93 9.339 4.93a.59.59 0 0 1 .536.286c.107.196.143.429.143.732s-.054.964-.143 1.393L8.732 11.93a2.307 2.307 0 0 0-.071.482c0 .071.018.107.018.125.125-.018.929-.571 1.446-1.054l.107-.107z\\\"/></svg>\",\n      \"bottom\": \"<svg height=\\\"16\\\" width=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M4.168 7.168a.5.5 0 01.452-.844l2.18.436V1.6a.6.6 0 01.6-.6h1.2a.6.6 0 01.6.6v5.16l2.18-.436a.5.5 0 01.452.844l-3.408 3.408a.6.6 0 01-.849 0zM2 12.6a.6.6 0 01.6-.6h10.8a.6.6 0 01.6.6v.8a.6.6 0 01-.6.6H2.6a.6.6 0 01-.6-.6z\\\"/></svg>\",\n      \"bounced\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M9 11.6a1 1 0 11-2 0 1 1 0 012 0zM8 4.8c-.634 0-1.122.56-1.034 1.188l.465 3.317a.575.575 0 001.138 0l.465-3.317A1.044 1.044 0 008 4.8z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M9.907 1.811c-.847-1.47-2.967-1.47-3.814 0L.4 11.702C-.446 13.17.613 15 2.305 15h11.39c1.692 0 2.75-1.831 1.906-3.298l-5.694-9.89zM13.695 13.6a.8.8 0 00.693-1.2L8.693 2.51a.8.8 0 00-1.386 0L1.612 12.4a.8.8 0 00.693 1.2h11.39z\\\"/></svg>\",\n      \"brush\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8.232 5.571l3.232-3.107c.643-.589.893-.607 1.571-.036l1.429 1.232c.714.589.732.857.071 1.5l-3.304 3.179c-.125-1.25-1.75-2.625-3-2.768zm1.714 2.786c.875 2.518-2.357 4.071-4.054 4.411-1.893.375-2.768.232-4.839-.464.321-.071 2.411-.286 2.196-1.786-.161-1.875 2.214-4.446 4.696-3.839 1 .179 1.911 1.214 2 1.679z\\\"/></svg>\",\n      \"button-pill\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M12.8 4.4H3.2c-.583 0-.936.001-1.2.023a1.07 1.07 0 00-.273.043.6.6 0 00-.261.261A1.134 1.134 0 001.423 5c-.022.264-.023.617-.023 1.2v1.6c0 .583.001.936.023 1.2.015.19.037.259.043.273a.6.6 0 00.261.261c.014.006.083.028.273.043.264.022.617.023 1.2.023h2.16c.224 0 .336 0 .422.044a.4.4 0 01.174.174c.044.086.044.198.044.422v.12c0 .224 0 .336-.044.422a.4.4 0 01-.174.174C5.696 11 5.584 11 5.36 11H3.2c-1.12 0-1.68 0-2.108-.218a2 2 0 01-.874-.874C0 9.48 0 8.92 0 7.8V6.2c0-1.12 0-1.68.218-2.108a2 2 0 01.874-.874C1.52 3 2.08 3 3.2 3h9.6c1.12 0 1.68 0 2.108.218a2 2 0 01.874.874C16 4.52 16 5.08 16 6.2v3.3c0 .195 0 .292-.04.346a.2.2 0 01-.149.079c-.067.004-.147-.05-.31-.16l-.617-.414a.875.875 0 01-.194-.15.4.4 0 01-.073-.137c-.017-.057-.017-.12-.017-.244V6.2c0-.583-.001-.936-.023-1.2a1.131 1.131 0 00-.043-.273.6.6 0 00-.261-.261A1.132 1.132 0 0014 4.423c-.264-.022-.617-.023-1.2-.023z\\\"/><path d=\\\"M8 7.4a.4.4 0 01.62-.333l4.752 3.133a.4.4 0 01-.135.724l-1.918.42 1.612 2.994a.4.4 0 01-.163.542l-.528.284a.4.4 0 01-.542-.162l-1.612-2.994-1.407 1.37A.4.4 0 018 13.093V7.401z\\\"/></svg>\",\n      \"calendar\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M3.8 7c0-.265 0-.398.035-.506a.714.714 0 01.459-.459C4.4 6 4.534 6 4.8 6s.399 0 .506.035c.218.071.388.242.459.459.035.108.035.24.035.506s0 .4-.035.507a.714.714 0 01-.459.459C5.2 8 5.066 8 4.8 8s-.399 0-.506-.034a.714.714 0 01-.459-.46C3.8 7.4 3.8 7.267 3.8 7zM3.8 10.2c0-.265 0-.398.035-.506a.714.714 0 01.459-.458C4.4 9.2 4.534 9.2 4.8 9.2s.399 0 .506.035c.218.07.388.24.459.458.035.108.035.24.035.507 0 .266 0 .399-.035.506a.714.714 0 01-.459.459c-.107.035-.24.035-.506.035s-.399 0-.506-.035a.714.714 0 01-.459-.459c-.035-.107-.035-.24-.035-.506zM7.035 6.494C7 6.602 7 6.734 7 7s0 .4.035.507c.07.217.24.388.458.459C7.601 8 7.733 8 8 8c.266 0 .399 0 .506-.034a.714.714 0 00.459-.46C9 7.4 9 7.267 9 7c0-.265 0-.398-.035-.506a.714.714 0 00-.459-.459C8.4 6 8.266 6 8 6s-.4 0-.507.035a.714.714 0 00-.458.459zM7 10.2c0-.265 0-.398.035-.506a.714.714 0 01.458-.458C7.601 9.2 7.733 9.2 8 9.2c.266 0 .399 0 .506.035.218.07.388.24.459.458.035.108.035.24.035.507 0 .266 0 .399-.035.506a.714.714 0 01-.459.459c-.107.035-.24.035-.506.035s-.4 0-.507-.035a.714.714 0 01-.458-.459C7 10.6 7 10.467 7 10.201zM10.234 6.494c-.035.108-.035.24-.035.506s0 .4.035.507c.071.217.242.388.459.459.108.034.24.034.506.034s.4 0 .507-.034a.714.714 0 00.458-.46c.035-.107.035-.24.035-.506 0-.265 0-.398-.035-.506a.714.714 0 00-.458-.459C11.598 6 11.466 6 11.199 6c-.265 0-.398 0-.506.035a.714.714 0 00-.459.459zM10.2 10.2c0-.265 0-.398.034-.506a.714.714 0 01.459-.458c.108-.035.24-.035.506-.035s.4 0 .507.035c.217.07.388.24.458.458.035.108.035.24.035.507 0 .266 0 .399-.035.506a.714.714 0 01-.458.459c-.108.035-.24.035-.507.035-.265 0-.398 0-.506-.035a.714.714 0 01-.459-.459c-.035-.107-.035-.24-.035-.506z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M3.8.96c0-.336 0-.504.065-.633a.6.6 0 01.263-.262C4.256 0 4.424 0 4.76 0h.08c.336 0 .504 0 .632.065a.6.6 0 01.263.262C5.8.456 5.8.624 5.8.96V1h4.4V.96c0-.336 0-.504.065-.633a.6.6 0 01.262-.262C10.656 0 10.825 0 11.16 0h.08c.336 0 .504 0 .632.065a.6.6 0 01.262.262c.066.129.066.297.066.633v.047A3 3 0 0115 4v8a3 3 0 01-3 3H4a3 3 0 01-3-3V4a3 3 0 012.8-2.993V.96zM2.4 5.3a1.7 1.7 0 011.7-1.7h7.8a1.7 1.7 0 011.7 1.7v6.6a1.7 1.7 0 01-1.7 1.7H4.1a1.7 1.7 0 01-1.7-1.7V5.3z\\\"/></svg>\",\n      \"camera\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8 10.8a2.8 2.8 0 100-5.6 2.8 2.8 0 000 5.6z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M4.685 2.63a1 1 0 01-.578.501L1.094 4.135A1.6 1.6 0 000 5.653V11.4A2.6 2.6 0 002.6 14h10.8a2.6 2.6 0 002.6-2.6V5.653a1.6 1.6 0 00-1.094-1.518l-3.013-1.004a1 1 0 01-.578-.501l-.594-1.188A.8.8 0 0010.006 1H5.994a.8.8 0 00-.715.442L4.685 2.63zM2.6 12.6h10.8a1.2 1.2 0 001.2-1.2V5.653a.2.2 0 00-.137-.19L11.45 4.46a2.4 2.4 0 01-1.387-1.203L9.635 2.4h-3.27l-.428.856A2.4 2.4 0 014.55 4.459L1.537 5.463a.2.2 0 00-.137.19V11.4a1.2 1.2 0 001.2 1.2z\\\"/><path d=\\\"M0 1.4c0-.22.18-.4.4-.4h2.2c.22 0 .4.18.4.4v.402a.4.4 0 01-.285.384l-2.2.66A.4.4 0 010 2.462V1.4z\\\"/></svg>\",\n      \"campaign\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M3.111 8.75L.775 10.064a.5.5 0 000 .872l6.735 3.788a1 1 0 00.98 0l6.735-3.788a.5.5 0 000-.872L12.89 8.75 8.49 11.224a1 1 0 01-.98 0L3.11 8.75z\\\"/><path d=\\\"M7.51 1.276a1 1 0 01.98 0l6.735 3.788a.5.5 0 010 .872L8.49 9.724a1 1 0 01-.98 0L.775 5.936a.5.5 0 010-.872L7.51 1.276z\\\"/></svg>\",\n      \"carousel-filled\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M.8 3.2c0-1.12 0-1.68.218-2.108a2 2 0 01.874-.874C2.32 0 2.88 0 4 0h3.6c1.12 0 1.68 0 2.108.218a2 2 0 01.874.874c.218.428.218.988.218 2.108v9.6c0 1.12 0 1.68-.218 2.108a2 2 0 01-.874.874C9.28 16 8.72 16 7.6 16H4c-1.12 0-1.68 0-2.108-.218a2 2 0 01-.874-.874C.8 14.48.8 13.92.8 12.8V3.2zm6.2 10a1.2 1.2 0 11-2.4 0 1.2 1.2 0 012.4 0zM2.8 2a.6.6 0 00-.6.6v7.3a.6.6 0 00.6.6h6a.6.6 0 00.6-.6V2.6a.6.6 0 00-.6-.6h-6z\\\"/><path d=\\\"M12 2h.4a1 1 0 011 1v10a1 1 0 01-1 1H12V2zM15 4h-.4v8h.4a1 1 0 001-1V5a1 1 0 00-1-1z\\\"/></svg>\",\n      \"cash\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M14.929 3.679v8.625H1.09V3.679h13.839zm-.768.75H1.875v7.125h12.286V4.429zm-11.715.589h4.339c-.786.589-1.321 1.679-1.321 2.946 0 1.286.536 2.411 1.375 3H2.446V5.018zm11.143 5.946H9.196c.804-.589 1.357-1.714 1.357-3 0-1.268-.518-2.357-1.321-2.946h4.357v5.946zM6.75 7.089c0-.839.625-1.179 1.071-1.179v-.304c0-.089.036-.125.125-.125h.125c.089 0 .143.036.143.125v.304c.125 0 .304.036.536.089.268.089.411.179.411.25 0 .036 0 .054-.018.071l-.179.411c-.018.036-.036.054-.054.054l-.036-.018c-.018 0-.036 0-.054-.018a.877.877 0 0 1-.179-.089.889.889 0 0 0-.429-.125v1.143c.625.286 1.054.518 1.054 1.232 0 .768-.571 1.143-1.054 1.196v.286c0 .071-.054.107-.143.107h-.125c-.089 0-.125-.036-.125-.107v-.286c-.286 0-1.054-.161-1.054-.321v-.054l.179-.518.054-.054c.018 0 .125.054.286.143s.339.143.536.161V8.249c-.589-.214-1.071-.518-1.071-1.161zm.696-.053c0 .196.143.357.411.518V6.536c-.268.125-.411.286-.411.5zm-4.232.928c0 .571.304 1.018.643 1.018s.625-.446.625-1.018c0-.554-.286-1.018-.625-1.018s-.643.464-.643 1.018zm8.518.715c.125.196.268.304.446.304.339 0 .643-.446.643-1.018 0-.554-.304-1.018-.643-1.018-.357 0-.625.446-.625 1.018 0 .286.054.518.179.714zM3.714 7.5c.054-.107.107-.161.143-.161.018 0 .071.054.143.161s.107.268.107.464-.036.357-.107.464c-.071.125-.125.179-.143.179-.054 0-.089-.054-.143-.179a.79.79 0 0 1-.125-.464.79.79 0 0 1 .125-.464zm8.322 0c.054-.107.107-.161.143-.161.018 0 .071.054.143.161s.107.268.107.464-.036.357-.107.464c-.071.125-.125.179-.143.179-.054 0-.089-.054-.143-.179-.071-.107-.107-.268-.107-.464s.036-.357.107-.464zm-3.875.893v1.071c.268-.071.411-.25.411-.518 0-.232-.143-.429-.411-.554z\\\"/></svg>\",\n      \"center\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M1.065 3.328C1 3.456 1 3.624 1 3.96v.08c0 .336 0 .504.065.632a.6.6 0 00.263.263C1.456 5 1.624 5 1.96 5h12.08c.336 0 .504 0 .632-.065a.6.6 0 00.263-.263C15 4.544 15 4.376 15 4.04v-.08c0-.336 0-.504-.065-.632a.6.6 0 00-.263-.263C14.544 3 14.376 3 14.04 3H1.96c-.336 0-.504 0-.632.065a.6.6 0 00-.263.263zM5 7.96c0-.336 0-.504.065-.632a.6.6 0 01.263-.263C5.456 7 5.624 7 5.96 7h4.08c.336 0 .504 0 .632.065a.6.6 0 01.263.263c.065.128.065.296.065.632v.08c0 .336 0 .504-.065.632a.6.6 0 01-.263.263C10.544 9 10.376 9 10.04 9H5.96c-.336 0-.504 0-.632-.065a.6.6 0 01-.263-.263C5 8.544 5 8.376 5 8.04v-.08zm-2 4c0-.336 0-.504.065-.632a.6.6 0 01.263-.263C3.456 11 3.624 11 3.96 11h8.08c.336 0 .504 0 .632.065a.6.6 0 01.263.263c.065.128.065.296.065.632v.08c0 .336 0 .504-.065.632a.6.6 0 01-.263.263c-.128.065-.296.065-.632.065H3.96c-.336 0-.504 0-.632-.065a.6.6 0 01-.263-.263C3 12.544 3 12.376 3 12.04v-.08z\\\"/></svg>\",\n      \"chat-bubble-line\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M4.6 6.8a1.1 1.1 0 100 2.2 1.1 1.1 0 000-2.2zm3.4 0A1.1 1.1 0 108 9a1.1 1.1 0 000-2.2zm2.3 1.1a1.1 1.1 0 112.2 0 1.1 1.1 0 01-2.2 0z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M.5 6.66c0-1.49 0-2.236.31-2.864a3.14 3.14 0 011.25-1.304c.615-.336 1.316-.365 2.719-.424C5.749 2.028 6.839 2 8 2s2.251.028 3.221.068c1.403.059 2.104.088 2.718.424.516.282.99.777 1.25 1.304.311.628.311 1.373.311 2.864v2.48c0 1.49 0 2.236-.31 2.864a3.14 3.14 0 01-1.25 1.304c-.615.336-1.316.365-2.719.424-.97.04-2.06.068-3.221.068-.58 0-1.834-.007-2.604-.019a2.207 2.207 0 00-.3.006.978.978 0 00-.184.041 2.157 2.157 0 00-.267.121l-1.835.908c-.766.379-1.148.568-1.459.521a1 1 0 01-.671-.416C.5 14.704.5 14.277.5 13.423V6.66zm13.6 0v2.48c0 .77-.001 1.258-.034 1.636-.03.352-.081.507-.131.608-.133.27-.404.551-.667.695-.262.144-.572.19-2.105.254-.954.04-2.024.067-3.163.067-.574 0-1.821-.007-2.582-.019h-.033a3.233 3.233 0 00-.466.017 2.38 2.38 0 00-.444.1c-.168.055-.323.133-.423.182l-.028.014-1.835.908-.289.143V6.66c0-.77.001-1.258.034-1.636.03-.352.081-.507.131-.608.133-.27.404-.551.667-.695.262-.144.572-.19 2.105-.254A76.17 76.17 0 018 3.4c1.139 0 2.21.027 3.163.067 1.533.064 1.843.11 2.105.254.263.144.534.426.667.695.05.101.101.256.131.608.033.378.034.867.034 1.636zM1.33 13.997l.005-.001a.034.034 0 01-.006.001z\\\"/></svg>\",\n      \"chat-bubble\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M1.303 3.84C1 4.463 1 5.164 1 6.566v6.446c0 .662 0 .993.14 1.197a.8.8 0 00.523.337c.243.042.544-.095 1.147-.369l2.725-1.239a50.085 50.085 0 005.422-.026c1.274-.075 1.91-.113 2.514-.452a3.22 3.22 0 001.226-1.3C15 10.537 15 9.836 15 8.434V6.566c0-1.402 0-2.103-.303-2.726a3.22 3.22 0 00-1.226-1.3c-.603-.34-1.24-.377-2.514-.452A50.377 50.377 0 008 2c-1.07 0-2.069.036-2.957.088-1.274.075-1.91.113-2.514.452a3.22 3.22 0 00-1.226 1.3zM4.4 6.4a1.1 1.1 0 100 2.2 1.1 1.1 0 000-2.2zm3.6 0a1.1 1.1 0 100 2.2 1.1 1.1 0 000-2.2zm2.5 1.1a1.1 1.1 0 112.2 0 1.1 1.1 0 01-2.2 0z\\\"/></svg>\",\n      \"chat-filled\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M1 6.566c0-1.402 0-2.103.303-2.726a3.22 3.22 0 011.226-1.3c.603-.34 1.24-.377 2.514-.452A50.38 50.38 0 018 2c1.07 0 2.069.036 2.957.088 1.274.075 1.91.113 2.514.452a3.22 3.22 0 011.226 1.3C15 4.463 15 5.164 15 6.566v1.868c0 1.402 0 2.103-.303 2.726a3.22 3.22 0 01-1.226 1.3c-.603.34-1.24.377-2.514.452a50.401 50.401 0 01-5.422.026l-2.725 1.24c-.603.273-.904.41-1.147.368a.8.8 0 01-.524-.337C1 14.005 1 13.674 1 13.012V6.566zM4 5.4c0-.22.18-.4.4-.4h7.2c.22 0 .4.18.4.4V6a.4.4 0 01-.4.4H4.4A.4.4 0 014 6v-.6zM4.4 8a.4.4 0 00-.4.4V9c0 .22.18.4.4.4h4.2A.4.4 0 009 9v-.6a.4.4 0 00-.4-.4H4.4z\\\"/></svg>\",\n      \"check\": \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M13.933 3.09a.35.35 0 0 0-.495.026l-7.236 8.012-3.757-3.393a.35.35 0 0 0-.495.025l-.86.951a.35.35 0 0 0 .026.495l4.96 4.48a.34.34 0 0 0 .17.082.346.346 0 0 0 .34-.107l8.324-9.217a.35.35 0 0 0-.026-.494l-.951-.86z\\\"/></svg>\",\n      \"city\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M14.054 1.125v13.75h-3.946V1.125h3.946zm-1.108 1.679h-1.732v1.714h1.732V2.804zM3.036 4.5V2.982h.571V4.5h1.571v-.946h2.571V4.5h1.143v10.375H1.963V4.5h1.071zm1.785 1.732H3.089v1.732h1.732V6.232zm2.929 0H6.018v1.732H7.75V6.232zm5.196 0h-1.732v1.732h1.732V6.232zM4.821 9.696H3.089v1.714h1.732V9.696zm2.929 0H6.018v1.714H7.75V9.696zm5.196 0h-1.732v1.714h1.732V9.696z\\\"/></svg>\",\n      \"clearbit\": \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M2.92 1H7v13H2.92A1.92 1.92 0 0 1 1 12.08V2.92C1 1.86 1.86 1 2.92 1zM8 8h6v4.08c0 1.06-.86 1.92-1.92 1.92H8V8zm0-7h4.08C13.14 1 14 1.86 14 2.92V7H8V1z\\\"/></svg>\",\n      \"click-element\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M9.14 1.169a.7.7 0 00-1.339-.41l-.537 1.758a.7.7 0 001.338.41l.538-1.758zM3.84 1.84a.7.7 0 011.236-.657l.94 1.766a.7.7 0 11-1.237.657L3.84 1.84zM12.28 3.016a.7.7 0 00-.947-.29l-1.766.94a.7.7 0 00.657 1.235l1.766-.938a.7.7 0 00.29-.947zM1.556 5.201a.7.7 0 01.409-1.338l1.758.537a.7.7 0 11-.41 1.339L1.557 5.2zM1.331 8.837a.7.7 0 01.29-.946l1.766-.94a.7.7 0 11.657 1.237l-1.766.939a.7.7 0 01-.947-.29zM5.998 5.568c0-.457.508-.73.89-.479l6.82 4.497a.574.574 0 01-.194 1.04l-2.753.603 1.844 3.414c.15.279.046.627-.234.777l-.758.408a.574.574 0 01-.777-.233l-1.844-3.413-2.02 1.966a.574.574 0 01-.974-.41v-8.17z\\\"/></svg>\",\n      \"clock-15\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8.502 7.783c.04.022.093.023.2.027l2.102.068c.107.003.161.005.206.013a.6.6 0 01.483.499c.007.045.007.099.007.206 0 .109 0 .163-.007.208a.6.6 0 01-.489.5c-.045.008-.1.009-.208.011l-2.331.05c-.58.012-.871.018-1.092-.092a1 1 0 01-.448-.447c-.11-.22-.105-.51-.094-1.09l.056-3.033c.002-.106.003-.16.01-.204a.6.6 0 01.502-.492C7.444 4 7.497 4 7.603 4c.105 0 .157 0 .202.007a.6.6 0 01.501.488c.008.044.01.097.012.202l.074 2.801c.003.106.004.16.026.2a.2.2 0 00.084.085z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15 8A7 7 0 111 8a7 7 0 0114 0zm-1.4 0A5.6 5.6 0 112.4 8a5.6 5.6 0 0111.2 0z\\\"/></svg>\",\n      \"clock-30\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M7.2 8l.08-2.8c.003-.11.005-.164.013-.21a.6.6 0 01.498-.483C7.837 4.5 7.89 4.5 8 4.5c.109 0 .163 0 .21.007a.6.6 0 01.497.484c.008.045.01.1.013.209L8.8 8l-.08 2.8c-.003.11-.005.164-.013.21a.6.6 0 01-.498.483c-.046.007-.1.007-.209.007-.109 0-.163 0-.21-.007a.6.6 0 01-.497-.484c-.008-.045-.01-.1-.013-.209L7.2 8z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15 8A7 7 0 111 8a7 7 0 0114 0zm-1.4 0A5.6 5.6 0 112.4 8a5.6 5.6 0 0111.2 0z\\\"/></svg>\",\n      \"clock-45\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M7.498 7.783c-.04.022-.093.023-.2.027l-2.102.068a1.505 1.505 0 00-.206.013.6.6 0 00-.483.499c-.007.045-.007.099-.007.206 0 .109 0 .163.007.208a.6.6 0 00.489.5c.045.008.1.009.208.011l2.331.05c.58.012.871.018 1.092-.092a1 1 0 00.448-.447c.11-.22.105-.51.094-1.09l-.056-3.033a1.499 1.499 0 00-.01-.204.6.6 0 00-.502-.492C8.556 4 8.503 4 8.397 4c-.105 0-.157 0-.202.007a.6.6 0 00-.501.488c-.008.044-.01.097-.012.202l-.074 2.801c-.003.106-.004.16-.026.2a.2.2 0 01-.084.085z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15 8A7 7 0 111 8a7 7 0 0114 0zm-1.4 0A5.6 5.6 0 112.4 8a5.6 5.6 0 0111.2 0z\\\"/></svg>\",\n      \"clock-60\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M7.136 8.1a.865.865 0 101.728 0l-.136-3.4a1.487 1.487 0 00-.017-.222.6.6 0 00-.49-.47C8.173 4 8.115 4 8 4s-.173 0-.221.008a.6.6 0 00-.49.47c-.01.049-.012.106-.017.221l-.136 3.402z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15 8A7 7 0 111 8a7 7 0 0114 0zm-1.4 0A5.6 5.6 0 112.4 8a5.6 5.6 0 0111.2 0z\\\"/></svg>\",\n      \"clock-filled\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M8 15A7 7 0 108 1a7 7 0 000 14zm.936-7.681a.4.4 0 00.152.293l2.01 1.577a.4.4 0 01.085.537l-.363.545a.4.4 0 01-.533.124L7.532 8.807a1 1 0 01-.499-.92l.246-4.509A.4.4 0 017.68 3h.642a.4.4 0 01.4.378l.215 3.941z\\\"/></svg>\",\n      \"clock\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8.93 7.639c.034.043.08.076.174.143l1.713 1.226c.093.067.14.1.174.135a.6.6 0 01.123.672c-.02.045-.052.092-.116.188a1.49 1.49 0 01-.127.177.6.6 0 01-.664.147 1.425 1.425 0 01-.191-.106L7.91 8.942c-.294-.179-.442-.268-.547-.392a1 1 0 01-.2-.375c-.044-.155-.036-.328-.02-.672l.126-2.805c.005-.117.007-.175.018-.224a.6.6 0 01.487-.466C7.824 4 7.882 4 8 4s.176 0 .225.008a.6.6 0 01.487.468c.01.049.013.107.018.225l.108 2.587a.868.868 0 00.024.224.4.4 0 00.069.127z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15 8A7 7 0 111 8a7 7 0 0114 0zm-1.4 0A5.6 5.6 0 112.4 8a5.6 5.6 0 0111.2 0z\\\"/></svg>\",\n      \"close-conversation\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M10.203 3.757a.8.8 0 01.912 1.255l-2.5 3a.8.8 0 01-1.23 0l-2.5-3a.8.8 0 01.912-1.255l1.303.521V1a.9.9 0 011.8 0v3.278l1.303-.52z\\\"/><path d=\\\"M2.522 4.677c.092-.158.334-.121.385.054.127.44.28.825.432 1.148.029.06.026.13-.008.189L1.446 9.3h2.823c.281 0 .517.203.608.47A3.295 3.295 0 008 12a3.295 3.295 0 003.123-2.23c.091-.267.327-.47.608-.47h2.823L12.67 6.067a.203.203 0 01-.008-.188 7.79 7.79 0 00.432-1.148c.05-.175.293-.212.385-.054l2.386 4.09A1 1 0 0116 9.27V13a2 2 0 01-2 2H2a2 2 0 01-2-2V9.27a1 1 0 01.136-.504l2.386-4.09z\\\"/></svg>\",\n      \"close\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M9.41425 8.00025L13.7072 3.70725C14.0982 3.31625 14.0982 2.68425 13.7072 2.29325C13.3162 1.90225 12.6843 1.90225 12.2933 2.29325L8.00025 6.58625L3.70725 2.29325C3.31625 1.90225 2.68425 1.90225 2.29325 2.29325C1.90225 2.68425 1.90225 3.31625 2.29325 3.70725L6.58625 8.00025L2.29325 12.2933C1.90225 12.6843 1.90225 13.3162 2.29325 13.7072C2.48825 13.9022 2.74425 14.0002 3.00025 14.0002C3.25625 14.0002 3.51225 13.9022 3.70725 13.7072L8.00025 9.41425L12.2933 13.7072C12.4883 13.9022 12.7442 14.0002 13.0002 14.0002C13.2562 14.0002 13.5122 13.9022 13.7072 13.7072C14.0982 13.3162 14.0982 12.6843 13.7072 12.2933L9.41425 8.00025Z\\\"/></svg>\",\n      \"cloud-upload\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M5.112 3.359a4.7 4.7 0 018.568 2.208A3.7 3.7 0 0112.3 12.7h-.024a.2.2 0 01-.187-.27l.383-1.023a.211.211 0 01.169-.132 2.3 2.3 0 00.196-4.512.7.7 0 01-.538-.695L12.3 6a3.3 3.3 0 00-6.24-1.5.7.7 0 01-.886.33 1.8 1.8 0 00-2.392 2.208.7.7 0 01-.364.84 1.8 1.8 0 00.734 3.422h.197a.2.2 0 01.187.13l.375 1a.2.2 0 01-.187.27H3.1a3.2 3.2 0 01-1.774-5.794 3.2 3.2 0 013.786-3.548z\\\"/><path d=\\\"M10.203 10.743a.8.8 0 00.912-1.255l-2.5-3a.8.8 0 00-1.23 0l-2.5 3a.8.8 0 00.912 1.255l1.303-.521V14.5a.9.9 0 001.8 0v-4.278l1.303.52z\\\"/></svg>\",\n      \"code-block\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M2.32 9c-.112 0-.168 0-.21.022a.2.2 0 00-.088.087C2 9.152 2 9.208 2 9.32v.38c0 1.68 0 2.02.327 2.662a3 3 0 001.311 1.31C4.28 14 5.12 14 6.8 14h4.4c1.68 0 2.52 0 3.162-.327a3 3 0 001.311-1.311C16 11.72 16 10.88 16 9.2V7.8c0-1.68 0-2.52-.327-3.162a3 3 0 00-1.311-1.311 2.294 2.294 0 00-.5-.182c-.112-.028-.168-.042-.222-.025a.211.211 0 00-.111.087c-.029.048-.029.111-.029.237v.814c0 .07 0 .106.008.133a.164.164 0 00.056.092c.02.019.068.043.162.091a1.6 1.6 0 01.7.7c.046.09.104.256.138.67.035.43.036.993.036 1.856v1.4c0 .863-.001 1.426-.036 1.856-.034.414-.092.58-.138.67a1.6 1.6 0 01-.7.7c-.09.046-.256.104-.67.138-.43.035-.993.036-1.856.036H6.8c-.863 0-1.426-.001-1.856-.036-.414-.034-.58-.092-.67-.139a1.6 1.6 0 01-.7-.699c-.046-.09-.104-.256-.138-.67-.035-.43-.036-.493-.036-1.356v-.38c0-.112 0-.168-.022-.21a.2.2 0 00-.087-.088C3.248 9 3.192 9 3.08 9h-.76z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M2.042 4.131a.2.2 0 010-.262L3.397 2.31a.2.2 0 00-.02-.282l-.754-.656a.2.2 0 00-.282.02L.187 3.869a.2.2 0 000 .262L2.34 6.608a.2.2 0 00.282.02l.754-.656a.2.2 0 00.02-.282L2.042 4.13zm7.916 0a.2.2 0 000-.262L8.603 2.31a.2.2 0 01.02-.282l.754-.656a.2.2 0 01.283.02l2.154 2.477a.2.2 0 010 .262L9.66 6.608a.2.2 0 01-.283.02l-.754-.656a.2.2 0 01-.02-.282l1.355-1.56z\\\"/><path d=\\\"M4.582 7.5a.2.2 0 01-.193-.253l1.8-6.6A.2.2 0 016.382.5h1.036a.2.2 0 01.193.253l-1.8 6.6a.2.2 0 01-.193.147H4.582z\\\"/></svg>\",\n      \"code\": \"<svg width=\\\"17\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M10.016 2a.4.4 0 01.385.51l-3.2 11.2a.4.4 0 01-.385.29h-.832a.4.4 0 01-.385-.51l3.2-11.2A.4.4 0 019.184 2h.832zM2.008 8.128a.2.2 0 010-.256l1.71-2.053a.4.4 0 00-.05-.563l-.615-.512a.4.4 0 00-.563.051L.14 7.615a.6.6 0 000 .769l2.35 2.82a.4.4 0 00.563.052l.615-.512a.4.4 0 00.05-.563l-1.71-2.053zm11.985-.256a.2.2 0 010 .256l-1.71 2.053a.4.4 0 00.05.563l.615.512a.4.4 0 00.564-.051l2.35-2.821a.6.6 0 000-.768l-2.35-2.82a.4.4 0 00-.564-.052l-.614.512a.4.4 0 00-.051.563l1.71 2.053z\\\"/></svg>\",\n      \"collapse\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M2 7l1.625-1.625L1 2.75 2.75 1l2.625 2.625L7 2v5H2zm11.25 8l-2.625-2.625L9 14V9h5l-1.625 1.625L15 13.25z\\\"/></svg>\",\n      \"collection\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13.982 2.982v11.964H3.018s-1 .054-1-1V2.482c0-.821.679-1.482 1.5-1.482h9.464v.982H3.518c-.268 0-.482.232-.482.518a.48.48 0 0 0 .482.482h10.464z\\\"/></svg>\",\n      \"columns\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M14.929 2.821v10.357H1.072V2.821h13.857zM5.25 3.964H2.232v8.054H5.25V3.964zm4.321 0H6.41v8.054h3.161V3.964zm4.197 0h-3.036v8.054h3.036V3.964z\\\"/></svg>\",\n      \"command\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M12.375 9.75A2.62 2.62 0 0 1 15 12.375C15 13.839 13.821 15 12.375 15s-2.607-1.161-2.625-2.643a.873.873 0 0 0-.875-.857h-1.75a.877.877 0 0 0-.875.875A2.618 2.618 0 0 1 3.625 15 2.607 2.607 0 0 1 1 12.375 2.618 2.618 0 0 1 3.625 9.75a.877.877 0 0 0 .875-.875v-1.75a.877.877 0 0 0-.875-.875A2.618 2.618 0 0 1 1 3.625 2.607 2.607 0 0 1 3.625 1 2.618 2.618 0 0 1 6.25 3.625c0 .482.393.875.875.875h1.75a.877.877 0 0 0 .875-.875C9.75 2.161 10.929 1 12.375 1S15 2.161 15 3.625a2.63 2.63 0 0 1-2.625 2.625.877.877 0 0 0-.875.875v1.75c0 .482.393.875.875.875zM3.625 4.5c.482 0 .875-.393.875-.875s-.393-.875-.875-.875-.875.393-.875.875.393.875.875.875zm8.75-1.75c-.482 0-.875.393-.875.875s.393.875.875.875.875-.393.875-.875-.393-.875-.875-.875zM9.75 8.875v-1.75a.877.877 0 0 0-.875-.875h-1.75a.877.877 0 0 0-.875.875v1.75c0 .482.393.875.875.875h1.75a.877.877 0 0 0 .875-.875zM3.625 13.25c.482 0 .875-.393.875-.875s-.393-.875-.875-.875-.875.393-.875.875.393.875.875.875zm8.75 0c.482 0 .875-.393.875-.875s-.393-.875-.875-.875-.875.393-.875.875.393.875.875.875z\\\"/></svg>\",\n      \"company\": \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M10.536 1h2.928c.304 0 .536.286.536.625v13.75c0 .34-.232.625-.536.625h-2.928c-.304 0-.536-.286-.536-.625V1.625c0-.34.232-.625.536-.625zM13 3h-2v2h2V3zM1.518 5h5.964c.286 0 .518.25.518.554v9.892c0 .304-.232.554-.518.554H1.518C1.232 16 1 15.75 1 15.446V5.554C1 5.25 1.232 5 1.518 5zM4 7H2v2h2V7zm3 0H5v2h2V7zm6 0h-2v2h2V7zm-9 4H2v2h2v-2zm3 0H5v2h2v-2zm6 0h-2v2h2v-2z\\\" fill-rule=\\\"evenodd\\\"/></svg>\",\n      \"complete\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M11.495 6.495a.7.7 0 00-.99-.99L7 9.01 5.495 7.505a.7.7 0 00-.99.99l2 2a.7.7 0 00.99 0l4-4z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M1 5.8c0-1.68 0-2.52.327-3.162a3 3 0 011.311-1.311C3.28 1 4.12 1 5.8 1h4.4c1.68 0 2.52 0 3.162.327a3 3 0 011.311 1.311C15 3.28 15 4.12 15 5.8v4.4c0 1.68 0 2.52-.327 3.162a3 3 0 01-1.311 1.311C12.72 15 11.88 15 10.2 15H5.8c-1.68 0-2.52 0-3.162-.327a3 3 0 01-1.311-1.311C1 12.72 1 11.88 1 10.2V5.8zm12.6 0v4.4c0 .863-.001 1.426-.036 1.856-.034.414-.092.58-.138.67a1.6 1.6 0 01-.7.7c-.09.046-.256.104-.67.138-.43.035-.993.036-1.856.036H5.8c-.863 0-1.426-.001-1.856-.036-.414-.034-.58-.092-.67-.138a1.6 1.6 0 01-.7-.7c-.046-.09-.104-.256-.138-.67-.035-.43-.036-.993-.036-1.856V5.8c0-.863.001-1.426.036-1.856.034-.414.092-.58.138-.67a1.6 1.6 0 01.7-.7c.09-.046.256-.104.67-.138.43-.035.993-.036 1.856-.036h4.4c.863 0 1.426.001 1.856.036.414.034.58.092.67.138a1.6 1.6 0 01.7.7c.046.09.104.256.138.67.035.43.036.993.036 1.856z\\\"/></svg>\",\n      \"compose\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M14.696 3.804l-1.125 1.125-1.714-1.714 1.125-1.125zm-3.41 0l1.696 1.714-5.125 5.125h-.018l-2.518.839.804-2.554zm-9.965 8.5V5.929c0-.875.714-1.607 1.589-1.607h6.375l.304.036L8.41 5.519h-5.5a.401.401 0 0 0-.393.411v6.375c0 .214.179.393.393.393h6.375a.397.397 0 0 0 .393-.393V9.966l1.179-1.214v3.554c0 .875-.732 1.607-1.571 1.607H2.911c-.875 0-1.589-.732-1.589-1.607zm10.25-7.34l-.286-.268-4.25 4.232.286.286z\\\"/></svg>\",\n      \"computer\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M2.589 9.911V3.375c0-.411.214-.625.625-.625h9.554c.446 0 .661.214.661.625v6.536H2.59zm9.947-6.304H3.465v5.411h9.071V3.607zm.875 6.893l1.464 1.607H1.125L2.589 10.5H13.41zm-4.375.518H6.982l-.589.589h3.214zm-7.911 1.625h13.75c-.018.214-.071.393-.196.518a.47.47 0 0 1-.25.089H1.554c-.357 0-.429-.393-.429-.607z\\\"/></svg>\",\n      \"contact-book\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M2.089 13.054c0-.518.25-.768.732-.768h.446v-.5h-.446c-.446 0-.732-.286-.732-.768 0-.5.25-.75.732-.75h.446v-.5h-.446c-.446 0-.732-.286-.732-.768 0-.5.25-.75.732-.75h.446v-.518h-.446c-.482 0-.732-.25-.732-.75 0-.482.286-.768.732-.768h.446v-.5h-.446c-.482 0-.732-.25-.732-.75 0-.518.25-.768.732-.768h.446v-.518h-.446c-.482 0-.732-.25-.732-.75 0-.482.286-.768.732-.768h.446v-.839H13.91v13.357H3.267v-.857h-.446c-.446 0-.732-.286-.732-.768zm.429-10.125c0 .232.107.357.304.357h1.196c.196 0 .304-.125.304-.357s-.107-.339-.304-.339H2.822c-.196 0-.304.107-.304.339zm0 2.035c0 .232.107.339.304.339h1.196c.196 0 .304-.107.304-.339s-.107-.357-.304-.357H2.822c-.196 0-.304.125-.304.357zM12 10.821v-.661c-.143-.357-.321-.518-.804-.732a6.881 6.881 0 0 1-.732-.411A3.467 3.467 0 0 0 9.41 8.66c.179-.196.357-.536.536-1.018.054-.143.089-.268.089-.375v-.393c0-.161 0-.304.018-.411 0-.125-.018-.25-.036-.375-.161-.554-.571-.839-1.214-.839s-1.054.286-1.214.839c-.018.125-.036.25-.018.375.018.107.018.25.018.411v.393c0 .179.107.5.321.946.089.179.196.321.286.446-.411.071-.75.196-1.054.357-.304.196-.554.321-.732.411-.375.179-.607.339-.696.5a.542.542 0 0 0-.089.232v.661H12zM2.518 6.982c0 .232.107.339.304.339h1.196c.196 0 .304-.107.304-.339 0-.25-.107-.375-.304-.375H2.822c-.196 0-.304.125-.304.375zm.303 2.375h1.196c.196 0 .304-.125.304-.357s-.107-.357-.304-.357H2.821c-.196 0-.304.125-.304.357s.107.357.304.357zm0 2.018h1.196c.196 0 .304-.125.304-.357s-.107-.357-.304-.357H2.821c-.196 0-.304.125-.304.357s.107.357.304.357zm-.303 1.679c0 .232.107.357.304.357h1.196c.196 0 .304-.125.304-.357 0-.25-.107-.357-.304-.357H2.822c-.196 0-.304.107-.304.357z\\\"/></svg>\",\n      \"contract-filter\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 5.5l-2-2-1 1 3 3 3-3-1-1zm0 5l2 2 1-1-3-3-3 3 1 1z\\\"/></svg>\",\n      \"conversation\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M12 4H4a2.5 2.5 0 00-2.5 2.5v3A2.5 2.5 0 004 12h1.293a2 2 0 011.414.586l-1.06 1.06a.5.5 0 00-.354-.146H4a4 4 0 01-4-4v-3a4 4 0 014-4h8a4 4 0 014 4v3a4 4 0 01-4 4h-1.293a.5.5 0 00-.353.146l-2 2a.5.5 0 01-.708 0l-2-2 1.061-1.06L8 13.879l1.293-1.293A2 2 0 0110.707 12H12a2.5 2.5 0 002.5-2.5v-3A2.5 2.5 0 0012 4z\\\"/><rect x=\\\"3.75\\\" y=\\\"7\\\" width=\\\"2\\\" height=\\\"2\\\" rx=\\\".5\\\"/><rect x=\\\"7\\\" y=\\\"7\\\" width=\\\"2\\\" height=\\\"2\\\" rx=\\\".5\\\"/><rect x=\\\"10.25\\\" y=\\\"7\\\" width=\\\"2\\\" height=\\\"2\\\" rx=\\\".5\\\"/></svg>\",\n      \"copy-message-to-production\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M10.018 1v3h3v10H4V1h6.018zm1 2h2l-2-1.982V3zM6 8h2v2h1V8h2V7H9V5H8v2H6v1z\\\"/></svg>\",\n      \"coupon\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M1.107 6.25l1.536 4.482c.036 0 .071 0 .089-.018s.089-.018.214-.018V8.339l.036-.071-.643-1.893a.931.931 0 0 0 .214-.25c.125-.161.196-.375.214-.643l7.125-2.429c.089.089.196.179.286.232.196.143.393.214.607.214l1.036 3h1.196L11.713 2.66a.795.795 0 0 1-.411 0c-.286-.054-.518-.304-.679-.732L1.516 5.053c.143.429.089 1.036-.411 1.196zm1.929.321l.411 1.214c.054-.018.125-.125.143-.179.018-.036.071-.071.125-.089h-.054c.036 0 .054-.089.071-.268 0-.411.375-.75.786-.75h6.679l-.839-2.429c-.268-.071-.5-.179-.661-.321L3.376 5.91c-.054.232-.179.446-.339.661zm.678 1.715v4.75c.161.018.304.071.411.125.268.161.393.464.393.911h9.607c0-.554.214-.982.786-1.036v-4.75a1.15 1.15 0 0 1-.375-.125c-.268-.161-.393-.464-.411-.875H4.518c-.054.554-.232.946-.804 1zm1.125.5l.268-.161c.196-.179.339-.357.429-.536h7.554c.125.286.393.554.696.696v3.75l-.286.161c-.232.179-.357.375-.411.554H5.535a1.441 1.441 0 0 0-.179-.339 1.99 1.99 0 0 0-.518-.375v-3.75zm.607.428v2.893c.268.196.446.375.536.536h6.643c.089-.125.268-.304.554-.536V9.196c-.268-.214-.446-.375-.536-.5H5.964a2.831 2.831 0 0 1-.518.518z\\\"/></svg>\",\n      \"creditcard\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M1.321 11.464V4.553c0-.571.5-1.054 1.071-1.054H13.66c.571 0 1.036.482 1.036 1.054v6.911c0 .571-.464 1.036-1.036 1.036H2.392c-.571 0-1.071-.464-1.071-1.036zm12.483-6.357h-11.5v2h11.5v-2z\\\"/></svg>\",\n      \"crosshair\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M3.304 3.268C4.608 1.964 6.161 1.322 8 1.322s3.411.643 4.732 1.946C14.036 4.589 14.678 6.161 14.678 8c0 3.661-2.982 6.679-6.679 6.679-1.839 0-3.411-.661-4.696-1.982-1.304-1.286-1.964-2.857-1.964-4.696S2 4.572 3.303 3.269zm1.892 5.178H3.035c.089 1.196.571 2.214 1.464 3.089a4.684 4.684 0 0 0 3.089 1.429v-2.125h.875v2.125c2.357-.161 4.25-2.071 4.518-4.518h-2.125v-.875h2.125c-.161-2.375-2.071-4.286-4.518-4.554v2.161h-.875V3.017c-2.411.161-4.411 2.179-4.571 4.554h2.179v.875z\\\"/></svg>\",\n      \"cursor\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M12.321 8.911l-3.5.875 1.839 4.179-2.143.946-1.839-4.196-3 2.018V1.09z\\\"/></svg>\",\n      \"custom-data\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M11.824 1.3c-.111 0-.167 0-.21.021a.201.201 0 00-.088.087c-.022.043-.022.1-.022.212v.76c0 .112 0 .168.021.21.02.038.05.068.087.088.043.022.1.022.212.023.251.002.353.008.434.024a1.3 1.3 0 011.021 1.021c.022.109.025.256.025.754v.803c0 .562 0 .992.126 1.391.11.352.293.677.534.955a2.5 2.5 0 00.38.351 2.5 2.5 0 00-.38.35 2.699 2.699 0 00-.534.956c-.127.4-.127.83-.126 1.39v.804c0 .498-.003.645-.025.754a1.3 1.3 0 01-1.021 1.021c-.081.016-.183.022-.434.024-.113.001-.17.001-.212.023a.199.199 0 00-.087.088c-.021.042-.021.098-.021.21v.76c0 .112 0 .169.022.211.02.038.05.069.088.088.043.022.099.021.21.02.277-.001.502-.01.707-.05a2.7 2.7 0 002.121-2.122c.052-.263.052-.56.052-.956v-.78c0-.7.008-.897.06-1.063a1.3 1.3 0 01.258-.46c.114-.133.279-.242.875-.608l.015-.01A.2.2 0 0016 8.494v-.968-.018a.2.2 0 00-.088-.158l-.007-.004-.008-.005c-.596-.366-.76-.476-.875-.608a1.3 1.3 0 01-.258-.46c-.052-.166-.06-.364-.06-1.063v-.78c0-.395 0-.693-.052-.956a2.7 2.7 0 00-2.121-2.121 3.8 3.8 0 00-.707-.052zM4.18 1.3c.111 0 .167 0 .21.021a.2.2 0 01.088.087c.022.043.022.1.022.212v.76c0 .112 0 .168-.022.21a.2.2 0 01-.086.088c-.043.022-.1.022-.212.023a2.456 2.456 0 00-.434.024 1.3 1.3 0 00-1.021 1.021c-.022.109-.025.256-.025.754v.803c0 .562 0 .992-.126 1.391a2.7 2.7 0 01-.534.955A2.5 2.5 0 011.659 8a2.5 2.5 0 01.38.35 2.7 2.7 0 01.535.956c.127.4.126.83.126 1.39v.804c0 .498.003.645.025.754a1.3 1.3 0 001.021 1.021c.081.016.183.022.434.024.113.001.17.001.212.023a.2.2 0 01.086.088c.022.042.022.098.022.21v.76c0 .112 0 .169-.022.211a.2.2 0 01-.088.088c-.043.022-.099.021-.21.02a3.796 3.796 0 01-.707-.05 2.7 2.7 0 01-2.121-2.122c-.052-.263-.052-.56-.052-.956v-.78c0-.7-.008-.897-.06-1.063a1.3 1.3 0 00-.258-.46C.868 9.135.703 9.026.107 8.66a.2.2 0 01-.103-.167v-.968-.018a.2.2 0 01.088-.158c.004-.002.008-.004.015-.01.596-.365.76-.475.875-.607a1.3 1.3 0 00.258-.46c.052-.166.06-.364.06-1.063v-.78c0-.395 0-.693.052-.956a2.7 2.7 0 012.121-2.121A3.8 3.8 0 014.18 1.3zM8 9a1 1 0 100-2 1 1 0 000 2z\\\"/><path d=\\\"M12.2 8a1 1 0 11-2 0 1 1 0 012 0zM4.8 9a1 1 0 100-2 1 1 0 000 2z\\\"/></svg>\",\n      \"delete-column\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g clip-path=\\\"url(#clip0)\\\" fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\"><path d=\\\"M5 0h6a2 2 0 012 2v11.953a2 2 0 01-2 2H5a2 2 0 01-2-2V2a2 2 0 012-2zm0 1a1 1 0 00-1 1v11.953a1 1 0 001 1h6a1 1 0 001-1V2a1 1 0 00-1-1H5z\\\"/><path d=\\\"M10.154 5.896a.597.597 0 00-.846.001L8.042 7.172l-1.27-1.27a.597.597 0 00-.846.001.601.601 0 00.001.849l1.27 1.27-1.273 1.282a.601.601 0 00.001.848.597.597 0 00.846 0l1.274-1.283 1.278 1.278a.596.596 0 00.845-.001.601.601 0 00-.001-.849L8.889 8.02l1.266-1.275a.601.601 0 00-.001-.848z\\\"/></g><defs><clipPath id=\\\"clip0\\\"><path d=\\\"M0 0h16v16H0z\\\"/></clipPath></defs></svg>\",\n      \"delete-row\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15.977 4.977v6a2 2 0 01-2 2H2.023a2 2 0 01-2-2v-6a2 2 0 012-2h11.954a2 2 0 012 2zm-1 0a1 1 0 00-1-1H2.023a1 1 0 00-1 1v6a1 1 0 001 1h11.954a1 1 0 001-1v-6z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M10.08 10.13a.597.597 0 000-.845L8.804 8.02l1.27-1.27a.597.597 0 00-.001-.846.601.601 0 00-.849.002l-1.27 1.27L6.673 5.9a.601.601 0 00-.849.001.597.597 0 00.001.846l1.283 1.274L5.83 9.3a.597.597 0 000 .846.601.601 0 00.85-.002l1.278-1.278 1.274 1.266a.601.601 0 00.849-.001z\\\"/></svg>\",\n      \"delete\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M10.53 5.47a.75.75 0 010 1.06L9.06 8l1.47 1.47a.75.75 0 11-1.06 1.06L8 9.06l-1.47 1.47a.75.75 0 11-1.06-1.06L6.94 8 5.47 6.53a.75.75 0 011.06-1.06L8 6.94l1.47-1.47a.75.75 0 011.06 0z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M1 8a7 7 0 1114 0A7 7 0 011 8zm7 5.6A5.6 5.6 0 118 2.4a5.6 5.6 0 010 11.2z\\\"/></svg>\",\n      \"dismiss\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M11.03 4.97a.75.75 0 010 1.06L9.06 8l1.97 1.97a.75.75 0 11-1.06 1.06L8 9.06l-1.97 1.97a.75.75 0 11-1.06-1.06L6.94 8 4.97 6.03a.75.75 0 011.06-1.06L8 6.94l1.97-1.97a.75.75 0 011.06 0z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M1 5.8c0-1.68 0-2.52.327-3.162a3 3 0 011.311-1.311C3.28 1 4.12 1 5.8 1h4.4c1.68 0 2.52 0 3.162.327a3 3 0 011.311 1.311C15 3.28 15 4.12 15 5.8v4.4c0 1.68 0 2.52-.327 3.162a3 3 0 01-1.311 1.311C12.72 15 11.88 15 10.2 15H5.8c-1.68 0-2.52 0-3.162-.327a3 3 0 01-1.311-1.311C1 12.72 1 11.88 1 10.2V5.8zm12.6 0v4.4c0 .863-.001 1.426-.036 1.856-.034.414-.092.58-.138.67a1.6 1.6 0 01-.7.7c-.09.046-.256.104-.67.138-.43.035-.993.036-1.856.036H5.8c-.863 0-1.426-.001-1.856-.036-.414-.034-.58-.092-.67-.138a1.6 1.6 0 01-.7-.7c-.046-.09-.104-.256-.138-.67-.035-.43-.036-.993-.036-1.856V5.8c0-.863.001-1.426.036-1.856.034-.414.092-.58.138-.67a1.6 1.6 0 01.7-.7c.09-.046.256-.104.67-.138.43-.035.993-.036 1.856-.036h4.4c.863 0 1.426.001 1.856.036.414.034.58.092.67.138a1.6 1.6 0 01.7.7c.046.09.104.256.138.67.035.43.036.993.036 1.856z\\\"/></svg>\",\n      \"divider\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><rect y=\\\"6\\\" width=\\\"16\\\" height=\\\"3\\\" rx=\\\"1\\\"/><rect x=\\\"3\\\" y=\\\"1\\\" width=\\\"10\\\" height=\\\"2\\\" rx=\\\"1\\\"/><rect x=\\\"3\\\" y=\\\"12\\\" width=\\\"10\\\" height=\\\"2\\\" rx=\\\"1\\\"/></svg>\",\n      \"double-chevrons\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13 4.679l-5 3.75-5-3.714 1.179-1.25L8 6.108l3.821-2.696zm0 4.16l-5 3.75-5-3.714 1.179-1.25L8 10.286l3.821-2.696z\\\"/></svg>\",\n      \"down-arrow\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M12.634 6.866A.8.8 0 0012.07 5.5H3.93a.8.8 0 00-.565 1.366l3.927 3.927a1 1 0 001.414 0l3.927-3.927z\\\"/></svg>\",\n      \"download-conversation\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M1 9.32v.38c0 1.68 0 3.02.327 3.662a3 3 0 001.311 1.31C3.28 15 4.12 15 5.8 15h4.4c1.68 0 2.52 0 3.162-.327a3 3 0 001.31-1.311C15 12.72 15 11.38 15 9.7v-.38c0-.112 0-.168-.022-.21a.2.2 0 00-.087-.088C14.848 9 14.79 9 14.68 9h-.76c-.112 0-.168 0-.21.022a.2.2 0 00-.088.087c-.022.043-.022.099-.022.211v.38c0 .863-.001 1.926-.036 2.356-.034.414-.092.58-.139.67a1.6 1.6 0 01-.699.7c-.09.046-.256.104-.67.138-.43.035-.993.036-1.856.036H5.8c-.863 0-1.426-.001-1.856-.036-.414-.034-.58-.092-.67-.139a1.6 1.6 0 01-.7-.699c-.046-.09-.104-.256-.138-.67-.035-.43-.036-1.493-.036-2.356v-.38c0-.112 0-.168-.022-.21a.2.2 0 00-.087-.088C2.248 9 2.192 9 2.08 9h-.76c-.112 0-.168 0-.21.022a.2.2 0 00-.088.087C1 9.152 1 9.208 1 9.32z\\\"/><path d=\\\"M10.728 6.197L8.695 8.23V.99a.7.7 0 10-1.4 0v7.24L5.263 6.197a.35.35 0 00-.495 0l-.495.495a.35.35 0 000 .495L7.5 10.415a.7.7 0 00.99 0l3.228-3.228a.35.35 0 000-.495l-.495-.495a.35.35 0 00-.495 0z\\\"/></svg>\",\n      \"download\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M1 9.32v.38c0 1.68 0 3.02.327 3.662a3 3 0 001.311 1.31C3.28 15 4.12 15 5.8 15h4.4c1.68 0 2.52 0 3.162-.327a3 3 0 001.31-1.311C15 12.72 15 11.38 15 9.7v-.38c0-.112 0-.168-.022-.21a.2.2 0 00-.087-.088C14.848 9 14.79 9 14.68 9h-.76c-.112 0-.168 0-.21.022a.2.2 0 00-.088.087c-.022.043-.022.099-.022.211v.38c0 .863-.001 1.926-.036 2.356-.034.414-.092.58-.139.67a1.6 1.6 0 01-.699.7c-.09.046-.256.104-.67.138-.43.035-.993.036-1.856.036H5.8c-.863 0-1.426-.001-1.856-.036-.414-.034-.58-.092-.67-.139a1.6 1.6 0 01-.7-.699c-.046-.09-.104-.256-.138-.67-.035-.43-.036-1.493-.036-2.356v-.38c0-.112 0-.168-.022-.21a.2.2 0 00-.087-.088C2.248 9 2.192 9 2.08 9h-.76c-.112 0-.168 0-.21.022a.2.2 0 00-.088.087C1 9.152 1 9.208 1 9.32z\\\"/><path d=\\\"M10.728 6.197L8.695 8.23V.99a.7.7 0 10-1.4 0v7.24L5.263 6.197a.35.35 0 00-.495 0l-.495.495a.35.35 0 000 .495L7.5 10.415a.7.7 0 00.99 0l3.227-3.228a.35.35 0 000-.495l-.494-.495a.35.35 0 00-.495 0z\\\"/></svg>\",\n      \"draft\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M7 5H4v1H3V5l4-4v4zm3-4v1H8V1h2zm2 1h-1V1h2.018v2H12V2zm0 4h1.018V4H12v2zM3 9h1V7H3v2zm9-2h1.018v2H12V7zm-9 5h1v-2H3v2zm9 0h1.018v-2H12v2zm-8 3H3v-2h1v2zm8-2h1.018v2H11v-1h1v-1zm-7 2h2v-1H5v1zm5.018-1v1H8v-1h2.018z\\\"/></svg>\",\n      \"drag\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M1.649 4.291C1.6 4.441 1.6 4.628 1.6 5c0 .372 0 .558.049.709a1 1 0 00.642.642c.15.049.337.049.71.049.371 0 .557 0 .708-.049a1 1 0 00.642-.642c.05-.15.05-.337.05-.709 0-.372 0-.558-.05-.709a1 1 0 00-.642-.642C3.56 3.6 3.372 3.6 3 3.6c-.372 0-.558 0-.709.049a1 1 0 00-.642.642zm0 6c-.049.15-.049.337-.049.709 0 .372 0 .558.049.709a1 1 0 00.642.642c.15.049.337.049.71.049.371 0 .557 0 .708-.049a1 1 0 00.642-.642c.05-.15.05-.337.05-.709 0-.372 0-.558-.05-.709a1 1 0 00-.642-.642C3.56 9.6 3.372 9.6 3 9.6c-.372 0-.558 0-.709.049a1 1 0 00-.642.642zM6.6 5c0-.372 0-.558.049-.709a1 1 0 01.642-.642c.15-.049.337-.049.71-.049.371 0 .557 0 .708.049a1 1 0 01.642.642c.05.15.05.337.05.709 0 .372 0 .558-.05.709a1 1 0 01-.642.642C8.56 6.4 8.372 6.4 8 6.4c-.372 0-.558 0-.709-.049a1 1 0 01-.642-.642C6.6 5.559 6.6 5.372 6.6 5zm.049 5.291c-.049.15-.049.337-.049.709 0 .372 0 .558.049.709a1 1 0 00.642.642c.15.049.337.049.71.049.371 0 .557 0 .708-.049a1 1 0 00.642-.642c.05-.15.05-.337.05-.709 0-.372 0-.558-.05-.709a1 1 0 00-.642-.642C8.56 9.6 8.372 9.6 8 9.6c-.372 0-.558 0-.709.049a1 1 0 00-.642.642zM11.6 5c0-.372 0-.558.049-.709a1 1 0 01.642-.642c.15-.049.337-.049.71-.049.371 0 .558 0 .708.049a1 1 0 01.642.642c.05.15.05.337.05.709 0 .372 0 .558-.05.709a1 1 0 01-.642.642c-.15.049-.337.049-.709.049-.372 0-.558 0-.709-.049a1 1 0 01-.642-.642C11.6 5.559 11.6 5.372 11.6 5zm.049 5.291c-.049.15-.049.337-.049.709 0 .372 0 .558.049.709a1 1 0 00.642.642c.15.049.337.049.71.049.371 0 .558 0 .708-.049a1 1 0 00.642-.642c.05-.15.05-.337.05-.709 0-.372 0-.558-.05-.709a1 1 0 00-.642-.642C13.56 9.6 13.372 9.6 13 9.6c-.372 0-.558 0-.709.049a1 1 0 00-.642.642z\\\"/></svg>\",\n      \"drop-off\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\"><path d=\\\"M14.94 9.5l-1.307-1.4-3.733 4V1.5c0-.6-.373-1-.933-1H1.5v2h6.533v9.6L4.3 8.1 2.993 9.5l5.32 5.7c.374.4.934.4 1.307 0l5.32-5.7z\\\"/></svg>\",\n      \"duplicate\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M6 4.84c0-1.344 0-2.016.262-2.53A2.4 2.4 0 017.31 1.262C7.824 1 8.496 1 9.84 1h1.32c1.344 0 2.016 0 2.53.262a2.4 2.4 0 011.048 1.048C15 2.824 15 3.496 15 4.84v1.32c0 1.344 0 2.016-.262 2.53a2.4 2.4 0 01-1.048 1.048c-.514.262-1.186.262-2.53.262H9.84c-1.344 0-2.016 0-2.53-.262A2.4 2.4 0 016.262 8.69C6 8.176 6 7.504 6 6.16V4.84z\\\"/><path d=\\\"M2.31 6.262C2.792 6.016 3.414 6 4.6 6v.212c0 .434 0 .832.012 1.188-.565 0-.942.004-1.234.028-.314.026-.406.068-.432.081a1 1 0 00-.437.437c-.013.026-.055.118-.081.432-.027.33-.028.767-.028 1.462v1.32c0 .695.001 1.132.028 1.462.026.314.068.406.081.432a1 1 0 00.437.437c.026.014.118.055.432.081.33.027.767.028 1.462.028h1.32c.695 0 1.132-.001 1.462-.028.314-.026.406-.067.432-.081a1 1 0 00.437-.437c.013-.026.055-.118.08-.432.025-.292.028-.669.029-1.234.356.012.754.012 1.188.012H10c-.001 1.186-.016 1.808-.262 2.29a2.4 2.4 0 01-1.048 1.048C8.176 15 7.504 15 6.16 15H4.84c-1.344 0-2.016 0-2.53-.262a2.4 2.4 0 01-1.048-1.048C1 13.176 1 12.504 1 11.16V9.84c0-1.344 0-2.016.262-2.53A2.4 2.4 0 012.31 6.262z\\\"/></svg>\",\n      \"edit\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M12.867 1.718a1 1 0 00-1.414 0L10.04 3.132l2.828 2.829 1.414-1.415a1 1 0 000-1.414l-1.414-1.414zm-.868 5.111L9.171 4 3.514 9.657c-1.578 1.578-1.982 3.547-2.086 4.452a.41.41 0 00.462.462c.905-.103 2.874-.508 4.452-2.085L12 6.829z\\\"/></svg>\",\n      \"email-filled\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M.827 3.638C.5 4.28.5 5.12.5 6.8v2.089c0 1.42 0 2.131.303 2.754.25.512.729 1.02 1.226 1.3.603.34 1.255.378 2.56.455 1.012.06 2.166.102 3.411.102s2.399-.042 3.41-.102c1.306-.077 1.958-.116 2.561-.455.498-.28.976-.788 1.226-1.3.303-.623.303-1.333.303-2.754V6.8c0-1.68 0-2.52-.327-3.162a3 3 0 00-1.311-1.311C13.22 2 12.38 2 10.7 2H5.3c-1.68 0-2.52 0-3.162.327A3 3 0 00.827 3.638zm2.642.276a.75.75 0 10-.937 1.172l3.62 2.896c.233.186.438.35.62.476.196.134.405.252.655.321a2.15 2.15 0 001.146 0c.25-.069.46-.187.654-.321.183-.125.388-.29.622-.476l3.62-2.896a.75.75 0 00-.938-1.172l-3.6 2.88c-.258.207-.421.337-.553.427a.722.722 0 01-.205.113.65.65 0 01-.346 0 .722.722 0 01-.205-.113 10.71 10.71 0 01-.553-.426l-3.6-2.88z\\\"/></svg>\",\n      \"email\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M8 .5a7.5 7.5 0 017.496 7.257l.004.247a6.04 6.04 0 01-.21 1.655l-.083.272c-.434 1.315-1.328 2.169-2.732 2.169-1.183 0-2.027-.554-2.49-1.49-.9 1.106-2.265 1.647-3.564 1.271-1.838-.531-2.845-2.7-2.25-4.844.596-2.144 2.57-3.45 4.408-2.918A3.152 3.152 0 0110.27 5.34l.093-.18a.7.7 0 011.224.68c-.498.896-.782 2.618-.508 3.7.197.783.618 1.16 1.396 1.16.659 0 1.077-.354 1.344-1.043l.062-.175c.145-.443.207-.908.218-1.28L14.1 8A6.1 6.1 0 108 14.1a.7.7 0 110 1.4 7.5 7.5 0 010-15zM5.617 7.439c-.434 1.56.366 2.754 1.221 3.002.838.242 2.113-.325 2.545-1.88.434-1.56-.366-2.754-1.221-3.001-.838-.243-2.113.324-2.545 1.879z\\\"/></svg>\",\n      \"error\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M10.53 5.47a.75.75 0 010 1.06L9.06 8l1.47 1.47a.75.75 0 11-1.06 1.06L8 9.06l-1.47 1.47a.75.75 0 11-1.06-1.06L6.94 8 5.47 6.53a.75.75 0 011.06-1.06L8 6.94l1.47-1.47a.75.75 0 011.06 0z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M1 8a7 7 0 1114 0A7 7 0 011 8zm7 5.6A5.6 5.6 0 118 2.4a5.6 5.6 0 010 11.2z\\\"/></svg>\",\n      \"event\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M11.495 6.995a.7.7 0 00-.99-.99L7 9.51 5.495 8.005a.7.7 0 00-.99.99l2 2a.7.7 0 00.99 0l4-4z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M3.865.327C3.8.456 3.8.624 3.8.96v.047A3 3 0 001 4v8a3 3 0 003 3h8a3 3 0 003-3V4a3 3 0 00-2.8-2.993V.96c0-.336 0-.504-.066-.633a.6.6 0 00-.262-.262C11.744 0 11.576 0 11.24 0h-.08c-.336 0-.504 0-.633.065a.6.6 0 00-.262.262C10.2.456 10.2.624 10.2.96V1H5.8V.96c0-.336 0-.504-.065-.633a.6.6 0 00-.263-.262C5.344 0 5.176 0 4.84 0h-.08c-.336 0-.504 0-.632.065a.6.6 0 00-.263.262zM2.4 5.3a1.7 1.7 0 011.7-1.7h7.8a1.7 1.7 0 011.7 1.7v6.6a1.7 1.7 0 01-1.7 1.7H4.1a1.7 1.7 0 01-1.7-1.7V5.3z\\\"/></svg>\",\n      \"expand\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M6 1L4.375 2.625 7 5.25 5.25 7 2.625 4.375 1 6V1h5zm4.75 8l2.625 2.625L15 10v5h-5l1.625-1.625L9 10.75z\\\"/></svg>\",\n      \"expander-dots\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M2 10c-1.107 0-2-.893-2-2s.893-2 2-2 2 .893 2 2-.893 2-2 2zm6 0c-1.107 0-2-.893-2-2s.893-2 2-2 2 .893 2 2-.893 2-2 2zm6 0c-1.107 0-2-.893-2-2s.893-2 2-2 2 .893 2 2-.893 2-2 2z\\\"/></svg>\",\n      \"export\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M9.804 4.571L10.411 4c.179-.179.179-.429 0-.589L8.268 1.393a.42.42 0 0 0-.589 0L5.572 3.375c-.179.179-.179.429 0 .589l.589.589a.465.465 0 0 0 .625 0l.339-.286V9.41c0 .232.214.429.429.429h.857a.435.435 0 0 0 .429-.429V4.285l.357.286a.442.442 0 0 0 .607 0zm-6.09 10.393h8.571c.946 0 1.714-.75 1.714-1.714V8.125c0-.946-.768-1.714-1.714-1.714h-.857v1.714h.857v5.125H3.714V8.125h.857V6.411h-.857C2.768 6.411 2 7.179 2 8.125v5.125c0 .964.768 1.714 1.714 1.714z\\\"/></svg>\",\n      \"eyedropper\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M1.089 13.661a.38.38 0 0 1 .107-.286l1.089-1.054a.606.606 0 0 1-.179-.464c0-.214.071-.393.214-.536l6.036-6.036-.571-.589a.881.881 0 0 1-.286-.679v-.125c.054-.661.625-1.196 1.286-1.25h.089c.286 0 .518.089.696.268l.589.571 1.893-1.893c.339-.339.732-.5 1.196-.5s.857.161 1.196.5c.321.357.482.75.482 1.196 0 .464-.161.857-.482 1.179l-1.911 1.911.536.536a.881.881 0 0 1 .286.679v.125a1.374 1.374 0 0 1-1.25 1.25h-.107c-.286 0-.518-.089-.696-.268l-.554-.536-6.036 6.054a.85.85 0 0 1-.5.214h-.054a.704.704 0 0 1-.482-.179l-1.054 1.054c-.089.071-.179.107-.268.107s-.179-.036-.25-.107l-.911-.893a.354.354 0 0 1-.107-.25zm9.125-6.536L8.91 5.804l-6.071 6.054 1.321 1.304zm-7.143 6.161l-.357-.357-.714.732.357.339z\\\"/></svg>\",\n      \"facebook\": \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M6.104 16V8.496H4.12V5.792h1.984V3.488C6.104 1.664 7.272 0 9.976 0c1.088 0 1.904.112 1.904.112l-.064 2.528h-1.728c-.976 0-1.136.448-1.136 1.2v1.968h2.928l-.128 2.704H8.968V16H6.104z\\\"/></svg>\",\n      \"failed-image-upload\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M7.956 14.737a.2.2 0 00.19.263H11.2c1.68 0 2.52 0 3.162-.327a3 3 0 001.311-1.311C16 12.72 16 11.88 16 10.2V5.8c0-1.68 0-2.52-.327-3.162a3 3 0 00-1.311-1.311c-.418-.213-.92-.287-1.682-.313a.199.199 0 00-.195.136l-1.914 5.743c-.067.2.182.354.33.205l.933-.932a.8.8 0 011.132 0L14.6 7.8v2.4c0 .863-.001 1.426-.036 1.856-.034.414-.092.58-.138.67a1.6 1.6 0 01-.7.7c-.09.046-.256.104-.67.138-.43.035-.993.036-1.856.036H8.48a.2.2 0 00-.19.137l-.334 1z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M4.927 16a.2.2 0 00.19-.137l5.2-15.6a.2.2 0 00-.19-.263H9.073a.2.2 0 00-.19.137L8.595 1H4.8c-1.68 0-2.52 0-3.162.327A3 3 0 00.327 2.638C0 3.28 0 4.12 0 5.8v4.4c0 1.68 0 2.52.327 3.162a3 3 0 001.311 1.311c.52.265 1.17.315 2.292.325l-.247.739a.2.2 0 00.19.263h1.054zm-.531-2.4l1.084-3.254a.599.599 0 01-.504-.17l-2.01-2.01a.8.8 0 00-1.132 0L1.4 8.6v1.6c0 .863.001 1.426.036 1.856.034.414.092.58.138.67a1.6 1.6 0 00.7.7c.09.046.256.104.67.138.359.03.81.035 1.452.036zM5.3 4.5a1.3 1.3 0 11-2.6 0 1.3 1.3 0 012.6 0z\\\"/></svg>\",\n      \"failed-video-upload\": \"<svg width=\\\"16\\\" height=\\\"18\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8.044 4.148a.2.2 0 00-.092-.238L3.086 1.174A1.4 1.4 0 001 2.394v13.212a1.4 1.4 0 002.086 1.22l.833-.468a.2.2 0 00.092-.111l4.033-12.1zm.516 9.6l6.27-3.528a1.4 1.4 0 000-2.44l-3.605-2.028 1.409-4.226a.4.4 0 00-.38-.526h-.632a.4.4 0 00-.38.274l-5.067 15.2a.4.4 0 00.38.526h.632a.4.4 0 00.38-.273l.993-2.98z\\\"/></svg>\",\n      \"field\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M6 4.25H2.75A2.75 2.75 0 000 7v2a2.75 2.75 0 002.75 2.75H6v-1.5H2.75c-.69 0-1.25-.56-1.25-1.25V7c0-.69.56-1.25 1.25-1.25H6v-1.5zm4 6h3.25c.69 0 1.25-.56 1.25-1.25V7c0-.69-.56-1.25-1.25-1.25H10v-1.5h3.25A2.75 2.75 0 0116 7v2a2.75 2.75 0 01-2.75 2.75H10v-1.5z\\\"/><path d=\\\"M6 1.5a.5.5 0 000 1h1a.5.5 0 01.5.5v10a.5.5 0 01-.5.5H6a.5.5 0 000 1h1c.384 0 .735-.144 1-.382.265.238.616.382 1 .382h1a.5.5 0 000-1H9a.5.5 0 01-.5-.5V3a.5.5 0 01.5-.5h1a.5.5 0 000-1H9c-.384 0-.735.144-1 .382A1.494 1.494 0 007 1.5H6z\\\"/></svg>\",\n      \"filled-cloud-download\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M5.112 3.359a4.7 4.7 0 018.568 2.208 3.7 3.7 0 01-.767 7.082.19.19 0 01-.217-.215l.133-1.062a.21.21 0 01.15-.174 2.301 2.301 0 00-.142-4.435.7.7 0 01-.538-.695L12.3 6a3.3 3.3 0 00-6.24-1.5.7.7 0 01-.886.33 1.8 1.8 0 00-2.392 2.208.7.7 0 01-.364.84A1.8 1.8 0 001.4 9.5c0 .893.701 1.695 1.586 1.79a.22.22 0 01.198.185l.125 1a.2.2 0 01-.198.225H3.1a3.2 3.2 0 01-1.774-5.794 3.2 3.2 0 013.786-3.548z\\\"/><path d=\\\"M8 6.1a.9.9 0 00-.9.9v4.278l-1.303-.52a.8.8 0 00-.911 1.254l2.5 3a.8.8 0 001.229 0l2.5-3a.8.8 0 00-.912-1.255l-1.303.521V7a.9.9 0 00-.9-.9z\\\"/></svg>\",\n      \"filled-cloud-upload\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M5.112 3.359a4.7 4.7 0 018.568 2.208A3.7 3.7 0 0112.3 12.7h-.024a.2.2 0 01-.187-.27l.383-1.023a.211.211 0 01.169-.132 2.3 2.3 0 00.196-4.512.7.7 0 01-.538-.695L12.3 6a3.3 3.3 0 00-6.24-1.5.7.7 0 01-.886.33 1.8 1.8 0 00-2.392 2.208.7.7 0 01-.364.84 1.8 1.8 0 00.734 3.422h.197a.2.2 0 01.187.13l.375 1a.2.2 0 01-.187.27H3.1a3.2 3.2 0 01-1.774-5.794 3.2 3.2 0 013.786-3.548z\\\"/><path d=\\\"M10.203 10.743a.8.8 0 00.912-1.255l-2.5-3a.8.8 0 00-1.23 0l-2.5 3a.8.8 0 00.912 1.255l1.303-.521V14.5a.9.9 0 001.8 0v-4.278l1.303.52z\\\"/></svg>\",\n      \"final-path\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\"><path d=\\\"M2 0c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1s-1-.4-1-1V1c0-.6.4-1 1-1zm13 2l-2 4 2 4H5V2h10z\\\"/></svg>\",\n      \"flag\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M5.946 7.607V1.161c1.482-.054 2.607.339 3.679.911 2.125 1.125 4.232 1.286 5.714.589-.625.536-1.107.982-1.482 1.339-1 1-1.482 1.607-1.482 1.911 0 .071.036.161.125.25.179.268.429.536.732.839l.518.482c.482.446.929.857 1.357 1.214-.804.214-2.714-.196-3.554-.411-2.071-.482-4.125-.964-5.125-.804a2.545 2.545 0 0 0-.482.125zM4.875 1.161v13.732H3.679V1.161h1.196z\\\"/></svg>\",\n      \"flipboard\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M5.857 10.411l-1.375 3.607c-.125.268.018.571.304.696L5 14.75c.232 0 .411-.125.5-.357l1.536-3.982H8.84l1.536 3.982a.52.52 0 0 0 .518.357l.196-.036c.286-.125.446-.429.321-.696l-1.393-3.607h3.643V2.643h-5.25v-.929c0-.268-.196-.464-.464-.464s-.464.196-.464.464v.929H2.34v7.768h3.518zm6.697-6.697v5.589H3.447V3.714h9.107zM7.161 6.768l.607.911L10.5 5.84l.375.518.786-1.768-1.929.089.375.571-2.161 1.429-.589-.893-3.125 2.089.393.607z\\\"/></svg>\",\n      \"floating\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><rect x=\\\"4\\\" y=\\\"4\\\" width=\\\"8\\\" height=\\\"2\\\" rx=\\\"1\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15 2H1v12h14V2zm-1 1H2v10h12V3z\\\"/></svg>\",\n      \"folder\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M6.893 4h7.732c.179 0 .375.196.375.393v8.196c0 .214-.196.411-.393.411H1.393C1.197 13 1 12.804 1 12.589V4.393C1 4.197 1.196 4 1.393 4H2l.5-1.589c.089-.214.393-.411.589-.411h2.714c.196 0 .5.196.589.411z\\\"/></svg>\",\n      \"follow\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 0c4.446 0 8 3.554 8 8s-3.554 8-8 8-8-3.554-8-8 3.554-8 8-8zm0 1.786C4.518 1.786 1.786 4.518 1.786 8S4.518 14.214 8 14.214 14.214 11.482 14.214 8 11.482 1.786 8 1.786zM7 7H4v2h3v3h2V9h3V7H9V4H7v3z\\\"/></svg>\",\n      \"following\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 0c4.446 0 8 3.554 8 8s-3.554 8-8 8-8-3.554-8-8 3.554-8 8-8zm0 1.786C4.518 1.786 1.786 4.518 1.786 8S4.518 14.214 8 14.214 14.214 11.482 14.214 8 11.482 1.786 8 1.786zm-.946 7.339l3.732-4.429 1.179 1.25-4.768 5.643-3.196-3.268 1.107-1.179z\\\"/></svg>\",\n      \"forward\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M14.24 7.2c-.224 0-.336 0-.422-.044a.4.4 0 01-.174-.174c-.044-.086-.044-.198-.044-.422V5.8c0-.863-.001-1.426-.036-1.856-.034-.414-.092-.58-.138-.67a1.6 1.6 0 00-.7-.7c-.09-.046-.256-.104-.67-.138-.43-.035-.993-.036-1.856-.036H4.8c-.863 0-1.426.001-1.856.036-.414.034-.58.092-.67.138a1.6 1.6 0 00-.7.7c-.046.09-.104.256-.138.67-.035.43-.036.993-.036 1.856v1.532c0 .756.001 1.236.033 1.607.03.345.08.498.13.6.13.264.4.55.656.694.26.144.558.193 2.05.275.417.023.854.043 1.306.058.222.008.332.011.415.056.073.04.131.1.168.174.042.084.042.194.042.413v.12c0 .23 0 .343-.045.43a.403.403 0 01-.182.176c-.088.042-.202.039-.428.03a65.232 65.232 0 01-1.353-.06c-1.366-.074-2.05-.112-2.655-.45a3.154 3.154 0 01-1.232-1.301C0 9.53 0 8.797 0 7.332V5.8c0-1.68 0-2.52.327-3.162a3 3 0 011.311-1.311C2.28 1 3.12 1 4.8 1h5.4c1.68 0 2.52 0 3.162.327a3 3 0 011.311 1.311C15 3.28 15 4.12 15 5.8v.76c0 .224 0 .336-.044.422a.4.4 0 01-.174.174c-.086.044-.198.044-.422.044h-.12zM9 15.2v-.7a2.3 2.3 0 012.3-2.3h1.603l-.282 1.13a.7.7 0 001.174.665l2-2a.7.7 0 000-.99l-2-2a.7.7 0 00-1.174.665l.282 1.13H11.3a3.7 3.7 0 00-3.7 3.7v.7a.7.7 0 101.4 0z\\\"/><path d=\\\"M3.95 3.9a.75.75 0 10-.9 1.2l2.656 1.992.087.065c.393.296.749.564 1.16.672a2.15 2.15 0 001.094 0c.411-.108.767-.376 1.16-.672l.087-.065L11.95 5.1a.75.75 0 10-.9-1.2L8.394 5.892c-.535.401-.64.463-.729.487a.65.65 0 01-.33 0c-.089-.024-.194-.085-.729-.487L3.95 3.9z\\\"/></svg>\",\n      \"gallery\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M6.821 1.321v5.5h-5.5v-5.5h5.5zm7.858 0v5.5H9.197v-5.5h5.482zM6.821 9.196v5.482h-5.5V9.196h5.5zm7.858 0v5.482H9.197V9.196h5.482z\\\"/></svg>\",\n      \"gif\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M6.524 7.574c.102 0 .188.038.26.114a.355.355 0 01.108.26v1.924a.49.49 0 01-.101.304.453.453 0 01-.248.178c-.495.14-.986.21-1.472.21-.792 0-1.422-.22-1.892-.66-.47-.445-.705-1.037-.705-1.778 0-.758.229-1.352.686-1.784.457-.436 1.094-.654 1.91-.654.491 0 .925.09 1.302.267a.346.346 0 01.197.229.42.42 0 010 .304l-.102.241a.306.306 0 01-.184.178.327.327 0 01-.26-.006 1.884 1.884 0 00-.82-.184c-.443 0-.79.125-1.04.374-.246.246-.368.59-.368 1.035 0 .44.127.785.38 1.035.254.25.597.374 1.029.374.131 0 .264-.017.4-.05.034-.01.05-.03.05-.064v-.813c0-.038-.018-.057-.057-.057h-.545a.355.355 0 01-.26-.108.376.376 0 01-.109-.266v-.229c0-.101.036-.188.108-.26a.359.359 0 01.26-.114h1.473zm2.374-1.822c.102 0 .189.038.26.114a.355.355 0 01.108.26v4.006a.345.345 0 01-.114.26.348.348 0 01-.254.108h-.692a.369.369 0 01-.368-.368V6.126c0-.101.036-.188.108-.26a.359.359 0 01.26-.114h.692zm4.329.114a.345.345 0 00-.26-.114H10.65a.359.359 0 00-.26.114.355.355 0 00-.108.26v4.006a.369.369 0 00.368.368h.559a.355.355 0 00.26-.108.345.345 0 00.114-.26V8.735c0-.038.02-.057.057-.057h1.194a.355.355 0 00.26-.108.345.345 0 00.114-.26v-.235a.345.345 0 00-.114-.26.355.355 0 00-.26-.108H11.64c-.038-.004-.057-.025-.057-.063V6.85c0-.038.02-.057.057-.057h1.327a.347.347 0 00.254-.108.345.345 0 00.114-.26v-.299a.355.355 0 00-.108-.26z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M0 7.4c0-2.24 0-3.36.436-4.216a4 4 0 011.748-1.748C3.04 1 4.16 1 6.4 1h3.2c2.24 0 3.36 0 4.216.436a4 4 0 011.748 1.748C16 4.04 16 5.16 16 7.4v1.2c0 2.24 0 3.36-.436 4.216a4 4 0 01-1.748 1.748C12.96 15 11.84 15 9.6 15H6.4c-2.24 0-3.36 0-4.216-.436a4 4 0 01-1.748-1.748C0 11.96 0 10.84 0 8.6V7.4zm14.6 0v1.2c0 1.143-.001 1.916-.05 2.513-.047.58-.133.87-.233 1.067a2.6 2.6 0 01-1.137 1.137c-.197.1-.486.186-1.067.233-.597.049-1.37.05-2.513.05H6.4c-1.143 0-1.916-.001-2.513-.05-.58-.047-.87-.133-1.067-.233a2.6 2.6 0 01-1.137-1.137c-.1-.197-.186-.486-.233-1.067-.049-.597-.05-1.37-.05-2.513V7.4c0-1.143.001-1.916.05-2.513.047-.58.133-.87.233-1.067A2.6 2.6 0 012.82 2.683c.197-.1.486-.186 1.067-.233.597-.049 1.37-.05 2.513-.05h3.2c1.143 0 1.916.001 2.513.05.58.047.87.133 1.067.233a2.6 2.6 0 011.137 1.137c.1.197.186.486.233 1.067.049.597.05 1.37.05 2.513z\\\"/></svg>\",\n      \"gift\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M1.768 6.375l-.911-.268C1.178 4.982 2.053 4.428 3.5 4.428a8.626 8.626 0 0 1 1.607.196c-1-1.071-1.607-2.446-.196-3.214a1.97 1.97 0 0 1 .946-.25c1.268 0 2.107.982 2.768 2.625.625-1.089 1.339-1.643 2.161-1.643 1.232 0 2.036 1.071 1.589 2.286-.089.286-.25.536-.446.732-.125.125-.25.232-.375.286.196-.018.339-.054.429-.089.982-.232 1.554-.518 1.714-.875.089-.179 0-.429-.25-.732l.714-.589c1 1.232.482 2.196-1.018 2.821l.929.268-2.089.554v-.018l-1.036-.268c-.643.089-1.232.143-1.786.161l1.643.464-2.393.643-2.25-.607 1.964-.536a8.232 8.232 0 0 0-.929-.411l-2.25.607-2.214-.589 2.357-.661 1.161.321c-.214-.071-.429-.143-.643-.196l-.643-.161c-1.089-.232-1.929-.214-2.482.018a1.19 1.19 0 0 0-.714.804zm3.321-3.5c.161.661 1 1.536 1.982 2.179l.893-.25c-.304-1.018-.679-1.75-1.107-2.214-.304-.339-.643-.5-1-.5-.411 0-.911.339-.768.786zm4.072 2.018l.875.25c.929-.411 1.571-.589 1.518-1.429-.071-.554-.571-.625-.768-.625-.714 0-1.25.821-1.625 1.804zM4.929 7.429V14l-2.196-.607V6.822zm9.16-.608v6.571l-2.143.589V7.427zm-2.928.804v6.571l-2.375.643V8.268zM8 8.268v6.571l-2.304-.625V7.643z\\\"/></svg>\",\n      \"github\": \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8 0C3.582 0 0 3.672 0 8.2c0 3.624 2.292 6.697 5.471 7.781.4.075.546-.178.546-.394 0-.196-.007-.842-.011-1.527-2.225.496-2.695-.967-2.695-.967-.364-.947-.888-1.2-.888-1.2-.727-.508.055-.498.055-.498.803.057 1.226.845 1.226.845.714 1.253 1.873.891 2.328.68.073-.528.28-.89.508-1.094-1.776-.207-3.644-.911-3.644-4.053 0-.896.312-1.627.823-2.2-.082-.21-.357-1.043.079-2.172 0 0 .67-.22 2.2.84A7.441 7.441 0 0 1 8 3.967c.68.003 1.364.094 2.003.277 1.526-1.062 2.198-.841 2.198-.841.438 1.13.162 1.963.08 2.17.513.574.823 1.305.823 2.2 0 3.15-1.872 3.845-3.654 4.048.288.254.543.753.543 1.517 0 1.096-.01 1.98-.01 2.25 0 .219.145.474.55.394C13.71 14.895 16 11.821 16 8.201 16 3.67 12.418 0 8 0z\\\"/></svg>\",\n      \"globe\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M3.304 12.696c1.286 1.321 2.857 1.982 4.714 1.982 3.661 0 6.661-3.018 6.661-6.679 0-1.839-.643-3.411-1.946-4.732-1.321-1.304-2.893-1.946-4.714-1.946A6.67 6.67 0 0 0 1.34 8c0 1.839.661 3.411 1.964 4.696zm-.143-6.982a5.244 5.244 0 0 1 1.214-1.661h.018a.13.13 0 0 0 .071-.036c0 .089 0 .161.071.25.089-.018.125 0 .125.018h-.054c.018.054.018.071-.036.054s-.107-.036-.179-.036c-.054 0-.071.018-.036.071.018 0 .036 0 .036.018l.036.036.214.036c.018.018.054.018.071 0a.455.455 0 0 0 .125-.054c.018-.018 0-.018-.018-.018 0-.036-.018-.054-.071-.054a.137.137 0 0 1 .089-.036c.018.018.054.018.089.018.018-.036.036-.054.018-.071.018-.054.054-.071.089-.089.018.018.018 0 .036-.036.054.018.089.054.089.089l.036.054.071.071c.054.089.089.071.089-.018.054.018.089.089.089.179.071-.018.107-.071.107-.179v-.054c.018-.018.036-.018.054 0s.018 0 .018-.018c.018 0 .018.018.018.036.018.018.054.018.071 0 .125 0 .071.214 0 .214-.036.018-.054.036-.054.054-.054.054-.054.089.036.107a.37.37 0 0 1 .143.071h-.071c-.036 0-.054 0-.054-.018-.036 0-.071 0-.107.018-.054.018-.107.018-.125 0 .054 0 .089-.054.107-.161-.089-.018-.143 0-.161.089-.018.071-.054.089-.071.036-.018-.018-.054-.018-.071.018l-.143.054c-.071.018-.107.054-.107.089v.179c.125.089.179.143.179.179a.346.346 0 0 0 .143.018.418.418 0 0 0 .143.036c0 .018.018.036.071.036 0 .054.018.071.036.071h.089c0-.054.018-.054.054 0l.071.107c-.018 0-.018.018 0 .054 0 .018.018.071.036.089h-.018c.054.054.143.018.143-.036-.018 0-.036-.036-.036-.089-.054-.054-.054-.107.018-.125 0 .071.196-.018.071-.071.054-.089.054-.143 0-.196-.018-.018-.018-.018-.036-.018l-.036-.018c.036-.018.054-.054.036-.089s-.018-.071-.018-.125h.089l.125.036c.036.018.071 0 .089-.054.071.018.089.054.071.071h.089a.54.54 0 0 0 .143.143c0 .036 0 .054.018.054-.018 0-.018.018-.018.036h.071c.018.018.036.018.036-.018.071 0 .107-.036.107-.125.018 0 .054.036.071.089.018.071.036.107.054.107.036.036.071.054.089.071.054.054.089.107.089.161.018 0 .054-.018.071-.054 0 0 0 .018.018.054.054 0 .089.036.089.089-.036 0-.036.018-.018.036s.018.036-.018.036c0 .018-.018.036-.054.018s-.071-.018-.107-.018c-.018.089-.089.125-.179.107s-.179-.018-.268 0c-.071.018-.232.196-.232.286a.161.161 0 0 0 .125-.054.193.193 0 0 1 .089-.054.135.135 0 0 0 .089-.036l.071-.036c0 .018 0 .018.018.018v.018h-.054c-.018.018-.036.018-.018.036.036.125.089.179.179.179-.018.018-.018.036-.036.018a.039.039 0 0 0-.036.036c-.036 0-.071.018-.089.036s-.054.018-.089.018l.036-.036h.054c-.018-.054-.054-.071-.107-.054-.018.018-.036.018-.071.018l-.036.036c-.018.018-.036.036-.054.036a.187.187 0 0 0-.036.089.194.194 0 0 1-.143.143l-.036.018c-.018.018-.036.018-.018.018-.018.018-.036.036-.054.036-.018.018-.018.036-.018.071-.036 0-.054.054-.054.143-.018.018-.036.054-.054.125-.018.054-.054.071-.107.071-.018.054-.036.089-.089.107s-.071.054-.071.143c.036.036.054.107.054.232.018.089 0 .125-.036.125-.054-.054-.071-.071-.054-.089 0-.071-.071-.268-.143-.214-.036.036-.054.036-.071.018-.036-.036-.107-.054-.232-.054a.137.137 0 0 1 .036.071c-.089.054-.143.036-.179-.018-.018-.018-.036-.018-.071-.018-.161.018-.232.107-.232.268-.018 0-.018.036-.018.125 0 .107.018.179.054.214.018.054.036.089.036.107.018 0 .054.018.089.054.036.054.071.071.089.071v.036l.071.018.036-.036c.018 0 .018-.018.018-.036-.071-.018-.036-.107.036-.125 0 .036.018.036.036.018l.054-.036h.018c.018 0 .018 0 .018-.018h.018c.018 0 .036 0 .054-.018.018.018.018.018.018.036a.039.039 0 0 0-.036.036l-.036.036-.054.161c-.018.018 0 .054.018.071s.018.036 0 .054a.43.43 0 0 0 .214 0v-.018c.054 0 .071.036.054.089s-.018.089 0 .089c0 .054 0 .071.018.089s.018.054.018.089c.054.036.089.071.071.125.018.018.054.018.107.018s.071-.018.071-.071c.054 0 .089.036.089.125.089 0 .143-.036.125-.089s-.018-.089.018-.089c0-.018.018-.018.036 0s.036 0 .054-.018l.036-.036c0-.018 0-.018.018-.018l.018-.018c.054.018.107.036.125.018.089-.018.125-.018.143.036 0 .054.036.071.089.071h.107c.036.018.071 0 .089-.018.018.018.018.018.036.018l.018.018c.018 0 .036 0 .036.018s0 .018.018.018c0 .018.018.036.036.036l.036.036c0 .018.018.036.036.036.054.036.071.054.054.071 0 .018.018.018.054.036.036 0 .054 0 .071.018s.036.018.071.018c.018-.036.036-.054.054-.036l.071.071c.054.036.071.054.054.054-.018.018 0 .036.018.089a.137.137 0 0 1 .036.071c0 .054 0 .071.018.089-.018 0-.018.018-.018.071v.054a.056.056 0 0 0 .036.018c.054.018.071 0 .071-.036.018.018.018.018.036.018s.018 0 .036.018.036.036.054.036c0 .018.054.143.054.018.054 0 .071.018.071.054 0 .054 0 .089-.018.107.054 0 .071 0 .089-.018s.036-.018.071-.018.071 0 .089-.018a.526.526 0 0 1 .196.125c.125.089.143.357.018.446l-.125.143v.107c0 .054 0 .089-.018.089 0 .161-.018.232-.054.232 0 .054 0 .071-.018.089s-.036.054-.054.107a.349.349 0 0 1-.107.071l-.125.089c-.018 0-.036 0-.054.018s-.036.018-.054.018l-.018.036c-.018 0-.018 0-.018.018l-.036.036c-.018.018-.018.071 0 .143 0 .054-.018.107-.036.125s-.036.036-.036.054c-.018 0-.036 0-.018.018 0 .018-.018.018-.054.018-.054 0-.143.071-.143.143 0 .054-.036.107-.089.161l-.054.036c-.036.018-.054.036-.054.054.018 0 .018.018.018.054-.018.036-.018.071-.018.089-.089-.018-.125 0-.125.054a.303.303 0 0 0-.179.054v.018c-.018 0-.018 0-.018.018v.036c0 .054-.018.054-.036.036-.036-.018-.071 0-.089.018.071.089.036.143.018.161l-.107.107c-.054.089-.054.107-.054.179v.054c.018 0 .036 0 .036-.018v-.018c0-.054.089.018.036.018l-.107.143c-.054 0-.125.161-.054.161 0 .018 0 .036.018.036v.054l-.214-.071c-.054 0-.161-.054-.214-.071 0-.393.018-.589.054-.589 0-.089.018-.143.054-.143v-.232c-.018-.018-.018-.054 0-.089 0-.018 0-.036.018-.054s.018-.036.018-.054c.054-.018.071-.107.071-.304v-.179c0-.054.018-.071.054-.071 0-.125.018-.232.036-.357.018-.054 0-.143-.018-.304-.018 0-.036-.018-.036-.054l-.036-.018-.054-.071c-.125 0-.214-.161-.214-.286-.018 0-.018-.018-.018-.036s0-.036-.018-.036-.018-.036-.018-.071c.018 0 .018-.018 0-.054a.847.847 0 0 0-.143-.214l-.036-.036c-.054-.036-.071-.071-.036-.125l.054-.143c-.071-.018-.018-.286.054-.286a.13.13 0 0 1 .036-.071c.036.018.071.018.089 0l-.036-.036v-.232c0-.054-.071-.357-.143-.071l-.143-.054c-.054 0-.089-.036-.107-.089.018-.071-.018-.125-.125-.161.054-.071-.161-.214-.25-.214 0 .018-.018 0-.054-.036-.036 0-.054-.018-.071-.054s-.054-.054-.107-.054-.089-.018-.143-.036c-.071-.018-.125-.036-.161-.036-.018-.018-.054-.036-.089-.054-.054 0-.089-.018-.107-.054-.071 0-.107-.071-.107-.196 0-.196-.054-.286-.143-.286 0-.054-.125-.143-.179-.143 0-.089-.018-.125-.071-.125a.31.31 0 0 0-.054-.125c-.089-.089-.125.018-.054.071.036.036.054.071.054.089.018 0 .036.036.071.089a.287.287 0 0 0 .054.107c.054.089.089.143.089.161-.018.018-.054.018-.071 0-.107-.054-.161-.107-.161-.196-.071-.018-.107-.107-.107-.232-.036 0-.071-.054-.107-.179 0-.107-.054-.161-.161-.161-.018 0-.036-.036-.054-.089l-.054-.071c0-.107-.036-.179-.125-.196 0-.071 0-.125-.018-.161a.196.196 0 0 1 0-.143c0-.232-.054-.393-.161-.482zM9.25 6.5c-.018 0 .018-.25.036-.304.018 0 .018.018.018.036.054-.018.089-.036.143-.036.054.018.071 0 .071-.018.054 0 .071.018.054.071h.089c.036 0 .054-.018.054-.054a.039.039 0 0 1-.036-.036c.054-.054.071-.107.018-.161s-.089-.089-.089-.107l-.071-.054.125.036c.018 0 .018-.018.018-.071l.018-.018c.018.018.036.036.054.036.018.018.036 0 .089-.054.018-.018 0-.018-.018-.018.018-.018.018-.036.018-.054-.018-.018-.018-.018 0-.036h.071c-.018-.018 0-.054.018-.071 0 .054.018.054.036 0a.137.137 0 0 1 .071-.036.099.099 0 0 1 .089-.054c.018.018.054 0 .071-.036a.137.137 0 0 1-.036-.089v-.107c.018 0 .036-.018.089-.036.018 0 .036.018.054.071 0 .018 0 .036.018.036.054.018.071.018.071 0v-.071c-.018 0-.036-.018-.054-.071v-.036c-.018 0-.018 0-.018-.018s0-.018-.018-.036a.13.13 0 0 0-.071.036c-.054 0-.107 0-.125-.018s-.054-.018-.107-.018l-.018-.018c-.018-.018-.036-.036-.036-.054l-.036-.054c-.018-.054 0-.071.018-.071.018.018.036.018.054.018 0-.036.054-.071.179-.089s.196-.071.196-.125c-.054 0-.036-.036.018-.089l.107-.125.089-.089c.018-.018.054-.036.125-.054.036 0 .071 0 .107-.018l.357-.071c.054 0 .071 0 .071.018h.179c.089 0 .143.018.143.036.036 0 .071 0 .107.018.054.018.071.036.089.018.054-.054.286.071.286.143-.089 0-.143 0-.196.018-.089.018-.161.036-.214.036 0 .018 0 .018.018 0l-.018.036c.054 0 .143.107.143.161.036 0 .071-.018.089-.036s.036-.018.054-.018c0 .036.018.054.036.054s.036-.018.054-.054c-.018 0-.036-.018-.036-.036s0-.036.018-.036.054-.036.071-.036c.018.018.054.018.071-.036.714.857 1.125 1.857 1.25 3-.054 0-.125-.018-.196-.036-.125 0-.214-.018-.268-.071s-.143-.054-.25-.036V7.39c0-.054-.018-.089-.071-.143-.143-.143-.179 0-.054.125 0 .036.018.071.036.089s.036.036.018.054l.036.018.018-.071h.018c0 .054 0 .089.018.107l.036.036c0 .018 0 .018-.018 0v.036c.089 0 .161-.054.214-.161.018.018.036.036.018.054s-.018.018 0 .018c.054.054.054.089.036.107.054.054.071.018.071-.036.089.054.089.125 0 .196 0 .018 0 .036-.018.054s-.018.036-.018.054c0 .125 0 .125-.196.196-.089.054-.125.089-.107.107-.125 0-.214.036-.232.107-.107 0-.161.018-.179.071-.089 0-.125-.036-.125-.107-.018-.054-.054-.089-.089-.089.018-.018 0-.036-.036-.071.018 0 .018-.018 0-.071-.018-.089-.071-.179-.125-.286-.018-.018-.018-.036-.018-.054l-.018-.036a.216.216 0 0 1-.071-.161.473.473 0 0 1-.107-.179.661.661 0 0 1-.161-.214h.107c.036 0 .054-.018.054-.071l-.036-.018c-.036-.018-.036-.036.018-.036 0-.036 0-.054.018-.071s.018-.036.018-.054c.054-.196.054-.232-.089-.179 0 .036-.018.036-.054 0-.018 0-.036 0-.054-.018s-.071-.018-.125 0c-.054.036-.107.018-.125-.036a.099.099 0 0 1-.054-.089c0-.089-.054-.196-.179-.196-.036.018-.036.036-.018.071.018.071.036.107.018.125.036 0 .036.018.018.036-.036.036-.054.071-.054.089-.054-.018-.089-.054-.089-.107-.018-.018-.036-.054-.071-.089-.018-.018-.036-.036-.018-.054h-.036v-.089c0-.054-.018-.089-.071-.089a.13.13 0 0 1-.071-.036c-.018 0-.071-.036-.125-.107-.054-.089-.107-.107-.125-.054-.018.018-.018.036 0 .054l.036.054c.054-.018.071 0 .089.054 0 .071.036.089.089.071 0 .018 0 .036.018.036v.036c.018-.018.054 0 .071.018 0 .036.018.054.036.054-.018.018-.036.018-.071-.018 0 0 0 .018-.018.036.018.036-.018.089-.071.143 0-.125-.018-.196-.054-.196-.018-.036-.036-.071-.089-.089-.054 0-.089-.018-.107-.054-.018 0-.036-.018-.054-.054s-.036-.054-.071-.071a.137.137 0 0 1-.071.036c-.018.018-.071.036-.143.036-.054 0-.089 0-.107-.018l-.054.143c-.054.089-.071.143-.071.179a.13.13 0 0 1-.036.071l-.054.071c-.018.018-.071.036-.125.018-.071 0-.107.018-.107.036-.125-.036-.179-.107-.179-.214zm-.821-1.875a.455.455 0 0 0 .125-.054v.089c0 .018.036 0 .089-.018.036-.018.071-.018.089-.018l.107-.036.018.071c.018.018.036.018.054 0l.036-.036c0 .018 0 .036.018.036l-.036.036c-.054.018-.089.036-.143.036-.036 0-.071 0-.107.018-.054.018-.089.018-.089 0-.071 0-.196-.018-.125-.089.018-.018.018-.036-.036-.036zm1.017.571c0-.036.018-.036.036-.018s.054 0 .071-.054c.054 0 .071.054 0 .054v.071c.018 0 .036-.018.054-.036s.036-.018.054-.018l-.036.054c-.018.018 0 .036.018.054.054.054.071.089.054.107.071 0 .107.054.089.179.018 0 .036-.018.036-.054l.036.036c0 .018-.018.018-.036.018-.018.054-.036.071-.089.071h-.125c-.018-.036-.054-.054-.071-.036-.054.018-.054 0-.036-.036.018-.018.018-.036.018-.071h.071c.018 0 .036 0 .036-.018l-.036-.018c0-.089-.036-.125-.107-.125 0-.018 0-.036-.018-.054s-.036-.054-.018-.107zm-.214.411c-.018-.018-.018-.071 0-.125-.036-.018-.036-.018.018-.036.054 0 .071-.018.071-.036-.018 0-.036-.018-.036-.054.018-.018.018-.018.036 0 0 .018.036.018.107 0v.071c-.036.125-.107.179-.196.179zm.25.089h.054c-.018.018-.036.018-.054 0zm2.929.429c-.018.054-.018.089.018.089 0 .036.018.071.054.089.054.054.054.125.036.25-.018.036.018.071.089.089.018.089.143.125.196.036-.054 0-.071-.018-.054-.071.018-.089 0-.107-.018-.125-.018 0-.018-.018-.018-.036s.018-.018.036-.018c.018.018.036.018.071.018l-.018-.036c-.018-.018-.018-.018-.018-.036a.137.137 0 0 1-.036-.071c-.018 0-.036 0-.054.018s-.036.018-.036-.018v-.054c-.054 0-.161-.161-.036-.161 0 0 .036 0 .107-.018.018-.018.018-.018 0-.018a.137.137 0 0 1-.036-.089c-.018-.054-.089-.054-.179.036a.137.137 0 0 1-.089.036c0 .018 0 .054-.018.089zm-1.107.196c.036 0 .036.018.018.054.268 0 .393-.018.393-.054.018 0 .036.018.054.054 0 0 0-.018.018-.036.018 0 .054.018.071.054.018.054.089.054.196 0 .054-.036.054-.054 0-.054.018-.071 0-.107-.054-.125-.071-.018-.107-.054-.125-.089-.018 0-.036 0-.054-.018s-.036-.018-.054-.018c-.054 0-.089.018-.107.036s-.036.018-.036.018-.036-.018-.018-.036c0-.018-.018-.036-.054-.036.018-.071-.036-.107-.125-.107a.567.567 0 0 1-.089.179c-.036.054-.054.125-.036.179zm-4.358-.285l.071-.054c0 .036-.018.054-.071.054zm3.25.303l-.036-.071c.036 0 .054 0 .054-.018.018.018.036.018.018.036zm-.035.161v-.089c-.018-.018-.018-.036.018-.036l.018.036c.018 0 .018-.018.018-.054.071 0 .018.161-.054.143zm.232.125c.018-.018.036-.018.071 0s.054.018.054 0l.036-.036c0 .071 0 .089-.054.071s-.089-.036-.107-.036zM8.786 8.25c0-.036.018-.054.036-.054l-.036-.179c-.018-.018-.018-.054.018-.071.018-.018.018-.036.018-.054 0-.107.018-.214.071-.304l.054-.125c.018-.054.036-.071.054-.054s.036 0 .054-.018c.054-.036.143-.196.125-.214 0-.036 0-.054.018-.071s.018-.036.018-.054l.018-.036.054-.071c.018.018.054.018.089-.036.018-.018.036-.036.054-.036a.099.099 0 0 1 .089-.054c0 .018.018.018.071 0 .036-.018.071-.018.089-.018.018-.089.089-.125.214-.125 0-.036.054-.036.161-.018l.196.036v-.036c.071.018.179.286.179.357h.125c0 .054.054.071.161.071.071.018.268-.018.268-.089.089 0 .107.036.089.089.018.018.107.018.232.018.054.018.107.018.143.036.018.018.036.018.018.036.018 0 .036.018.054.036.018.036.036.054.054.054-.018.054.054.214.107.214 0 .089.036.143.089.179a.459.459 0 0 0 .179.286c-.018.018-.018.054.018.071l.054.107c.018.018.018.036.018.054s0 .036.018.036c0 .071.125.321.196.321.018.018.018.036 0 .036 0 .018.036.018.089.018.018 0 .036 0 .036-.018.054 0 .125-.018.25-.036 0 .054-.018.089-.036.143a.138.138 0 0 0-.036.143c-.054 0-.054.018-.036.036v.054l-.089.089c0 .036-.018.071-.054.107-.036.018-.071.054-.107.089a.977.977 0 0 0-.161.196c-.161.125-.214.196-.161.214 0 .054 0 .125-.018.214-.018.125 0 .179.036.179l.036.179c.018.089.018.143 0 .143 0 .036-.018.071-.036.125s-.036.089-.036.107c-.018.018-.018.018-.036.018l-.036.036c-.018 0-.036.018-.054.054-.018.054-.036.071-.054.071 0 .071 0 .125-.018.161s-.018.089-.018.179l-.071.232c-.161.125-.232.214-.232.268-.018.054-.036.071-.054.089l-.071.107c-.196 0-.304.018-.304.054-.054 0-.089 0-.125.018-.089.054-.107.018-.161-.214-.018 0-.018-.018-.018-.071 0-.036-.018-.054-.036-.054l-.018-.071-.107-.25c-.018-.018-.018-.036-.018-.054-.018 0-.018 0-.018-.018v-.054c-.018-.018-.018-.036-.018-.071s-.018-.089-.036-.161c-.071-.125-.071-.125-.089-.286a.594.594 0 0 1 .018-.304.673.673 0 0 0 .036-.375c0-.018 0-.036-.018-.071s-.018-.071-.018-.089c-.054 0-.071-.036-.071-.107-.054-.018-.089-.089-.089-.214.036-.036.054-.143.054-.321-.018-.018-.054-.018-.071-.036L10.143 9c-.018.018-.054.018-.125.018-.018-.071-.107-.089-.232-.071-.089.018-.196.018-.304.018 0 .018-.018.036-.054.018-.089 0-.179-.018-.232-.071-.054 0-.196-.143-.196-.196-.125-.125-.179-.232-.179-.357-.018-.018-.036-.054-.036-.107zm-3.161-.554h.036c.018.018.018.036.036.018h.018c0 .018-.018.036-.054.036s-.054-.018-.036-.054zm.179.018c.071 0 .107 0 .125-.018.054 0 .089.018.107.036a.099.099 0 0 0 .089.054l.054.054c.018.018.018.036-.036.054-.089 0-.143-.036-.179-.089-.054 0-.107-.036-.161-.089zM6.196 8h.071c.018.018.036.018.054 0a.13.13 0 0 0-.036-.071c.054 0 .089 0 .107.018s.036.018.071.018v-.054a.161.161 0 0 1 .107.107C6.534 8 6.499 8 6.463 8h-.125c0 .018-.018.036-.054.036S6.213 8.018 6.195 8zm-.232-.018c.054.018.071.036.071.054L6.071 8c.018 0 .018.018.018.036h-.107c-.036 0-.036-.018-.018-.054zm.732 0c.018 0 .036.018.036.036-.054 0-.054-.018-.036-.036zm-.053.036V8c.018 0 .036 0 .036.018h-.036zm-.25.428c.018-.018.018-.018.018-.036h.018a.039.039 0 0 1-.036.036zm5.786 2.447c0-.179.018-.304.036-.375l.054.054c.018 0 .018-.018.036-.054-.036 0-.054 0-.054-.018s0-.036.018-.054c.125.036.179.018.179-.036-.054-.018-.054-.054-.018-.089l.036.036c.054 0 .071-.018.054-.071-.018-.036-.018-.071 0-.089 0 .089.018.161.054.196.036.018.036.036 0 .054-.054.018-.071.071-.071.161h-.036a.33.33 0 0 1-.036.125c-.018.036-.018.071-.018.125-.018 0-.036.018-.018.071 0 .125-.018.196-.071.25-.125.018-.143-.089-.143-.286zm.321-.661l-.036.054c0-.018.018-.036.036-.054z\\\"/></svg>\",\n      \"goals\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M13.052.117a.4.4 0 01.662.157l.44 1.317a.4.4 0 00.253.253l1.317.44a.4.4 0 01.156.662l-2.903 2.903a.4.4 0 01-.409.096l-1.144-.381-2.369 2.369a.7.7 0 01-.99-.99l2.369-2.369-.382-1.144a.4.4 0 01.097-.41L13.052.117z\\\"/><path d=\\\"M8 1.9A6.1 6.1 0 1014.1 8a.7.7 0 111.4 0A7.5 7.5 0 118 .5a.7.7 0 110 1.4z\\\"/><path d=\\\"M8 5.3A2.7 2.7 0 1010.7 8a.7.7 0 111.4 0A4.1 4.1 0 118 3.9a.7.7 0 110 1.4z\\\"/></svg>\",\n      \"hamburger\": \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M2 12h11a1 1 0 0 1 0 2H2a1 1 0 0 1 0-2zm0-5h9a1 1 0 0 1 0 2H2a1 1 0 1 1 0-2zm0-5h12a1 1 0 0 1 0 2H2a1 1 0 1 1 0-2z\\\"/></svg>\",\n      \"hash\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M12.928 6.812V5.468h-1.876l.378-2.282h-1.386L9.68 5.468H7.356l.364-2.282H6.334l-.378 2.282H3.828v1.344h1.904l-.434 2.604h-2.17v1.302h1.96l-.378 2.296h1.372l.406-2.296h2.31l-.406 2.296h1.386l.392-2.296h2.03V9.416h-1.82l.434-2.604h2.114zm-3.85 2.66H6.642l.448-2.73h2.45l-.462 2.73z\\\"/></svg>\",\n      \"heading\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M1.3 12.565h2.002V8.912h3.692v3.653h2.002v-9.1H6.994v3.601H3.302V3.465H1.3v9.1zm10.699 0h1.976V3.4H12.61l-2.613.78.416 1.638 1.586-.39v7.137z\\\"/></svg>\",\n      \"hidden\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\"><path d=\\\"M2.38 5.85l6.692 6.815c-.344.05-.696.085-1.072.085-4.279 0-6.404-3.465-6.933-4.476a.59.59 0 0 1 0-.548A9.47 9.47 0 0 1 2.38 5.85zm12.5 8.015c.16.16.16.42 0 .58l-.435.435a.41.41 0 0 1-.58 0l-2.806-2.806-.026.014-1.313-1.337.008-.007L1.12 2.135a.41.41 0 0 1 0-.58l.435-.435a.41.41 0 0 1 .58 0L4.94 3.925A7.104 7.104 0 0 1 8 3.25c4.279 0 6.404 3.465 6.933 4.476a.59.59 0 0 1 0 .548c-.304.58-1.146 1.96-2.608 3.036l2.555 2.555zM6.276 5.261l.875.875c.262-.126.544-.215.853-.215 1.127 0 2.041.93 2.041 2.078 0 .302-.081.577-.195.835l.87.87A3.245 3.245 0 0 0 11.211 8c0-1.804-1.435-3.266-3.207-3.266-.639 0-1.23.198-1.728.527z\\\"/></svg>\",\n      \"horizontal-order\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><rect x=\\\"11.5\\\" y=\\\"14\\\" width=\\\"2\\\" height=\\\"2\\\" rx=\\\"1\\\" transform=\\\"rotate(-180 11.5 14)\\\"/><rect x=\\\"11.5\\\" y=\\\"9\\\" width=\\\"2\\\" height=\\\"2\\\" rx=\\\"1\\\" transform=\\\"rotate(-180 11.5 9)\\\"/><rect x=\\\"11.5\\\" y=\\\"4\\\" width=\\\"2\\\" height=\\\"2\\\" rx=\\\"1\\\" transform=\\\"rotate(-180 11.5 4)\\\"/><rect x=\\\"6.5\\\" y=\\\"14\\\" width=\\\"2\\\" height=\\\"2\\\" rx=\\\"1\\\" transform=\\\"rotate(-180 6.5 14)\\\"/><rect x=\\\"6.5\\\" y=\\\"9\\\" width=\\\"2\\\" height=\\\"2\\\" rx=\\\"1\\\" transform=\\\"rotate(-180 6.5 9)\\\"/><rect x=\\\"6.5\\\" y=\\\"4\\\" width=\\\"2\\\" height=\\\"2\\\" rx=\\\"1\\\" transform=\\\"rotate(-180 6.5 4)\\\"/></svg>\",\n      \"hubspot\": \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 756 841\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M728.702 399.29c-18.61-32.032-44.786-57.712-77.512-77.045-24.456-14.244-49.816-23.284-78.393-27.167V193.295c28.577-12.14 46.312-39.009 46.312-70.355 0-42.726-34.246-77.35-76.918-77.35-42.705 0-77.552 34.624-77.552 77.35 0 31.346 16.712 58.216 45.289 70.355v101.829c-22.862 3.305-46.57 10.435-68.22 21.391-44.22-33.6-189.219-143.828-274.041-208.208 2.012-7.256 3.56-14.736 3.56-22.627C171.228 38.357 132.924 0 85.606 0S0 38.357 0 85.68c0 47.318 38.327 85.686 85.645 85.686 16.14 0 31.07-4.723 43.952-12.488l17.9 13.586 245.968 177.308c-13.002 11.945-25.113 25.531-34.8 40.776-19.633 31.078-31.63 65.272-31.63 102.571v7.783c0 26.183 4.973 50.902 13.443 74.124 7.458 20.276 18.363 38.711 31.869 55.38l-81.633 81.872c-24.163-8.998-51.352-3.032-69.534 15.256a65.769 65.769 0 0 0-19.364 46.831c.006 17.686 6.893 34.309 19.399 46.814a65.711 65.711 0 0 0 46.797 19.408 65.768 65.768 0 0 0 46.815-19.408 65.854 65.854 0 0 0 19.375-46.814 66.367 66.367 0 0 0-3.046-19.87l84.376-84.428c11.568 7.993 24.062 14.724 37.493 20.528 26.491 11.459 55.731 18.44 87.732 18.44h5.864c35.378 0 68.75-8.314 100.122-25.32 33.058-17.971 58.932-42.548 78.478-73.923 19.65-31.461 30.47-66.222 30.47-104.465v-1.91c0-37.619-8.705-72.328-26.989-104.126zM625.608 576.399c-22.902 25.463-49.227 41.148-78.987 41.148h-4.904c-16.998 0-33.624-4.7-49.901-13.25-18.347-9.411-32.292-22.837-43.706-39.837-11.796-16.686-18.198-34.904-18.198-54.22v-5.866c0-18.99 3.641-36.997 12.82-54.002 9.813-18.59 23.067-33.045 40.694-44.539 17.306-11.413 35.79-17.011 56.376-17.011h1.915c18.667 0 36.339 3.682 53.016 12.22 16.992 9.103 30.875 21.54 41.637 37.9 10.453 16.364 16.672 34.016 18.672 53.246.314 3.997.474 8.091.474 12.003 0 26.097-9.967 50.268-29.908 72.208z\\\"/></svg>\",\n      \"image-with-text\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M1 4a1 1 0 00-1 1v3a1 1 0 001 1h3a1 1 0 001-1V5a1 1 0 00-1-1H1zm6.054.273C7 4.38 7 4.52 7 4.8s0 .42.054.527a.5.5 0 00.219.218c.107.055.247.055.527.055h7.4c.28 0 .42 0 .527-.054a.5.5 0 00.218-.219C16 5.22 16 5.08 16 4.8s0-.42-.055-.527a.5.5 0 00-.218-.218C15.62 4 15.48 4 15.2 4H7.8c-.28 0-.42 0-.527.054a.5.5 0 00-.218.219zm0 3.199C7 7.58 7 7.72 7 8s0 .42.054.527a.5.5 0 00.219.219c.107.054.247.054.527.054h7.4c.28 0 .42 0 .527-.054a.5.5 0 00.218-.219C16 8.42 16 8.28 16 8s0-.42-.055-.527a.5.5 0 00-.218-.218C15.62 7.2 15.48 7.2 15.2 7.2H7.8c-.28 0-.42 0-.527.055a.5.5 0 00-.218.218zM7 11.198c0-.28 0-.42.054-.527a.5.5 0 01.219-.218c.107-.055.247-.055.527-.055h2.4c.28 0 .42 0 .527.055a.5.5 0 01.218.218c.055.107.055.247.055.527s0 .42-.055.527a.5.5 0 01-.218.219c-.107.054-.247.054-.527.054H7.8c-.28 0-.42 0-.527-.054a.5.5 0 01-.218-.219C7 11.618 7 11.48 7 11.198z\\\"/></svg>\",\n      \"inapp-badge\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M15.018 4.5a3.452 3.452 0 0 1-1.161 2.589c.107.446.161.929.161 1.411a6.501 6.501 0 0 1-13 0c0-3.589 2.911-6.5 6.5-6.5.482 0 .964.054 1.411.161A3.457 3.457 0 0 1 11.518 1c1.929 0 3.5 1.571 3.5 3.5zm-2 4c0-.286-.018-.554-.071-.821A3.173 3.173 0 0 1 11.518 8a3.505 3.505 0 0 1-3.5-3.5c0-.518.107-1 .321-1.429A4.106 4.106 0 0 0 7.518 3c-3.036 0-5.5 2.464-5.5 5.5s2.464 5.5 5.5 5.5 5.5-2.464 5.5-5.5z\\\"/></svg>\",\n      \"inapp-full\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M15.054.982V14h-14V.982h14zm-1 1h-12V13h12V1.982zm-1 2h-10v-1h10v1zm0 2h-10v-1h10v1zm0 2.018h-10V6.982h10V8zm0 2h-10V9h10v1zm0 2h-10v-1h10v1z\\\"/></svg>\",\n      \"inapp-note\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M15 1v9l-5 5H1V1h14zm-1 1H2v12h8v-4h4V2zm-1 2H3V3h10v1zm0 2H3V5h10v1zm0 2H3V7h10v1z\\\"/></svg>\",\n      \"inapp-pointer\": \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\">\\n  <path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M8.11597 13.9116C11.4515 13.3772 14 10.4861 14 7C14 3.13403 10.866 0 7 0C3.13403 0 0 3.13403 0 7C0 10.4868 2.54944 13.3782 5.88599 13.9119V7.66089H3.37805C3.198 7.66089 3.078 7.5979 3.02002 7.49512C3.02002 7.45288 3.02002 7.41211 3 7.39111C3 7.30908 3.04004 7.2041 3.12 7.10107L6.54199 2.86304C6.62512 2.7627 6.72742 2.69214 6.84155 2.65796C6.89221 2.64282 6.94519 2.63501 7 2.63501C7.16003 2.63501 7.31995 2.71802 7.45801 2.86304L10.8621 7.1001C11.1219 7.41211 11.002 7.65991 10.624 7.65991H8.11597V13.9116Z\\\" />\\n</svg>\\n\",\n      \"inapp-post\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M15 1v14H1V1h14zm-1 1H2v12h12V2zm-1 5H3V3h10v4zm0 2H3V8h10v1zm0 2H3v-1h10v1zm0 2H3v-1h10v1z\\\"/></svg>\",\n      \"inapp-snippet\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M15.054 3v10h-1V4H3.036v9h-1V3h13.018zM4.036 5h9.018v1H4.036V5zm0 2h9.018v1H4.036V7zm0 2h9.018v1H4.036V9zm1 3h1v1h-1v-1zm3 0h1.018v1H8.036v-1zm3.018 0h1v1h-1v-1z\\\"/></svg>\",\n      \"inbox\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M2.906 2.89A2 2 0 014.57 2h6.86a2 2 0 011.664.89l2.738 4.108a1 1 0 01.168.555V12a2 2 0 01-2 2H2a2 2 0 01-2-2V7.553a1 1 0 01.168-.555l2.738-4.107zm1.664.51h6.86c.2 0 .388.1.499.267L14.55 7.6h-2.596a4.001 4.001 0 01-7.91 0H1.449l2.622-3.933a.6.6 0 01.5-.267z\\\"/></svg>\",\n      \"info\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 1a7.11 7.11 0 0 0-4.964 2.036C1.768 4.34 1 6.09 1 8c0 1.929.768 3.679 2.036 4.964A7.037 7.037 0 0 0 8 15a7.097 7.097 0 0 0 4.964-2.036A7.114 7.114 0 0 0 15 8c0-1.911-.786-3.661-2.036-4.964C11.66 1.786 9.91 1 8 1zm.732 4.143h-.036c-.518 0-.857-.411-.875-.982 0-.25.107-.536.321-.768A1.1 1.1 0 0 1 9.017 3c.268 0 .5.089.661.286.161.179.214.411.214.643 0 .304-.107.607-.321.821-.214.232-.5.393-.839.393zm1.214 6.018l-.054.054a8.39 8.39 0 0 1-1.589 1.304c-.5.304-.946.482-1.179.482-.161 0-.339-.036-.464-.179s-.179-.339-.179-.625c0-.214.018-.696.125-1.054l.732-3.179a1.56 1.56 0 0 0 .054-.357.522.522 0 0 1-.161.089c-.161.107-.357.25-.554.393l-.25.196-.107.071-.268-.768.054-.054c.518-.5 1.089-.911 1.589-1.232.518-.304.982-.5 1.268-.5.161-.018.268.089.375.196.054.125.107.286.107.518s-.054.696-.107 1.018l-.821 3.268c-.036.143-.054.25-.054.357 0 .036 0 .054.018.071.018 0 .071-.018.143-.071.161-.107.357-.232.589-.411.107-.089.196-.179.304-.25l.089-.089.286.679z\\\"/></svg>\",\n      \"inline\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M2 3h12v2H2z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15 2H1v12h14V2zm-1 1H2v10h12V3z\\\"/></svg>\",\n      \"insert-data\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M4.911 6.054L2.947 8l1.964 1.964v1.857L1.072 8l3.839-3.821v1.875zM13.054 8L11.09 6.054V4.179L14.911 8l-3.821 3.821V9.964zM6.25 7.339v1.357H4.875V7.339H6.25zm2.446 0v1.357H7.303V7.339h1.393zm2.429 0v1.357H9.75V7.339h1.375z\\\"/></svg>\",\n      \"insights\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M9.018 1.143c.643.196 1.25.536 1.714 1.018A4.158 4.158 0 0 1 12 4.929v.393c-.089.536-.232 1.054-.482 1.518-.036.036-1.607 1.536-1.607 3.179l-.089.482c-.107.321-.25.482-.536.482H6.518c-.286 0-.446-.161-.5-.482l-.089-.482C5.929 8.376 4.5 6.84 4.5 6.84a3.725 3.725 0 0 1-.446-1.518l-.036-.393c0-1.054.375-2.036 1.143-2.768C5.965 1.429 6.929 1 7.982 1c.411 0 .661.054 1.036.143zM6.375 12h3.304v1H6.375v-1zM7 14h1.982v.464H7V14z\\\"/></svg>\",\n      \"intercom\": \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M14 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm-3.867 3.02c0-.293.24-.53.534-.53.294 0 .533.237.533.53v7.114a.534.534 0 0 1-1.067 0V3.02zm-2.666-.348c0-.297.238-.54.533-.54.294 0 .533.243.533.54v7.812c0 .297-.24.538-.533.538a.535.535 0 0 1-.533-.538V2.672zm-2.667.35a.533.533 0 0 1 1.067-.003v7.114a.534.534 0 0 1-1.067 0V3.02zM2.133 4.088A.534.534 0 0 1 3.2 4.087v4.8a.534.534 0 0 1-1.067-.001v-4.8zm11.547 8.048c-.082.07-2.058 1.73-5.68 1.73s-5.598-1.66-5.68-1.73a.533.533 0 0 1 .692-.812C3.044 11.355 4.808 12.8 8 12.8c3.232 0 4.97-1.457 4.986-1.472a.533.533 0 1 1 .694.81zm.187-3.25a.535.535 0 0 1-1.067.001v-4.8a.534.534 0 0 1 1.067-.001v4.8z\\\"/></svg>\",\n      \"intro\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 0c4.429 0 8 3.571 8 8s-3.571 8-8 8-8-3.571-8-8 3.571-8 8-8zm-.464 5.786V3.982c-3.054.196-3.554 2.232-3.571 4.446v3.036c0 .304.214.536.482.536h2.589c.268 0 .5-.232.5-.536V8.535a.503.503 0 0 0-.5-.518h-.911c0-1.518.393-2.232 1.411-2.232zm4.518 0V3.982C9 4.178 8.5 6.214 8.465 8.428v3.036c0 .304.482.536.75.536h2.589c.268 0 .25-.232.25-.536V8.535a.503.503 0 0 0-.5-.518h-.911c0-1.518.393-2.232 1.411-2.232z\\\"/></svg>\",\n      \"ios\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 13a1 1 0 100-2 1 1 0 000 2z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M2.5 4c0-1.4 0-2.1.272-2.635A2.5 2.5 0 013.865.272C4.4 0 5.1 0 6.5 0h3c1.4 0 2.1 0 2.635.272a2.5 2.5 0 011.092 1.093C13.5 1.9 13.5 2.6 13.5 4v8c0 1.4 0 2.1-.273 2.635a2.5 2.5 0 01-1.092 1.092C11.6 16 10.9 16 9.5 16h-3c-1.4 0-2.1 0-2.635-.273a2.5 2.5 0 01-1.093-1.092C2.5 14.1 2.5 13.4 2.5 12V4zm4-2.6h3c.723 0 1.181.001 1.528.03.33.026.434.071.471.09a1.1 1.1 0 01.481.48c.019.038.064.142.09.472.029.347.03.805.03 1.528v8c0 .723-.001 1.181-.03 1.528-.026.33-.071.434-.09.471a1.1 1.1 0 01-.48.481c-.038.019-.142.064-.472.09-.347.029-.805.03-1.528.03h-3c-.723 0-1.181-.001-1.528-.03-.33-.026-.434-.071-.471-.09A1.1 1.1 0 014.02 14c-.019-.038-.064-.142-.09-.472-.029-.347-.03-.805-.03-1.528V4c0-.723.001-1.181.03-1.528.026-.33.071-.434.09-.471a1.1 1.1 0 01.48-.481c.038-.019.142-.064.472-.09.347-.029.805-.03 1.528-.03z\\\"/></svg>\",\n      \"italic\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M9.183 1.6c.363 0 .668.126.914.378.252.251.378.556.378.914 0 .357-.126.662-.378.914a1.245 1.245 0 01-.914.378c-.352 0-.654-.126-.906-.378a1.245 1.245 0 01-.378-.914c0-.358.123-.663.37-.914.252-.252.556-.378.914-.378zm.545 4.043l-1.802 6.249c-.1.357-.15.591-.15.703 0 .064.027.126.08.184.052.053.108.08.166.08.1 0 .2-.044.3-.132.263-.217.58-.61.949-1.178l.298.176c-.884 1.54-1.825 2.311-2.821 2.311-.38 0-.686-.105-.914-.316a1.093 1.093 0 01-.334-.818c0-.216.05-.492.15-.826l1.22-4.201c.117-.404.176-.709.176-.914a.45.45 0 00-.167-.343c-.111-.1-.264-.15-.457-.15-.088 0-.194.004-.317.01l.115-.352 2.98-.483h.527z\\\"/></svg>\",\n      \"keyboard\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M1.071 11.5V4.482c0-.429.339-.75.75-.75H14.16c.429 0 .768.321.768.75V11.5c0 .411-.357.75-.768.75H1.821a.754.754 0 0 1-.75-.75zm.733-7.018V11.5c0 .018 0 .018.018.018h12.339c.018 0 .036 0 .036-.018V4.482a.039.039 0 0 0-.036-.036H1.822zm2.446.875v1.161H3.071V5.357H4.25zm2.161 0v1.161H5.25V5.357h1.161zm2.196 0v1.161H7.428V5.357h1.179zm2.161 0v1.161H9.589V5.357h1.179zm2.178 0v1.161h-1.179V5.357h1.179zM5.375 7.429V8.59H4.214V7.429h1.161zm2.161 0V8.59H6.375V7.429h1.161zm2.178 0V8.59H8.553V7.429h1.161zm2.179 0V8.59h-1.161V7.429h1.161zM10.768 9.5v1.143H5.25V9.5h5.518z\\\"/></svg>\",\n      \"klout\": \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M0 3v9.776h10.816L16 15.384V3H0zm6.544 5.6H5.76l-1.936 2.72H1.52l2.64-3.536-2.432-3.392h2.24L5.76 7h.784v1.6zm5.632 2.72L10.24 8.6H8.928v2.72H7.104V4.392h1.84V7h1.312l1.776-2.608h2.24l-2.448 3.392 2.64 3.536h-2.288z\\\"/></svg>\",\n      \"l-pipe\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M3 1v9h12v1H2V1h1z\\\"/></svg>\",\n      \"large-right-arrow\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M4 2.768L5.768 1l7.248 7.248-7.248 7.248L4 13.728l5.48-5.48z\\\"/></svg>\",\n      \"left\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M1 11.96c0-.336 0-.504.065-.632a.6.6 0 01.263-.263C1.456 11 1.624 11 1.96 11h9.08c.336 0 .504 0 .632.065a.6.6 0 01.263.263c.065.128.065.296.065.632v.08c0 .336 0 .504-.065.632a.6.6 0 01-.263.263c-.128.065-.296.065-.632.065H1.96c-.336 0-.504 0-.632-.065a.6.6 0 01-.263-.263C1 12.544 1 12.376 1 12.04v-.08zm0-4c0-.336 0-.504.065-.632a.6.6 0 01.263-.263C1.456 7 1.624 7 1.96 7h5.08c.336 0 .504 0 .632.065a.6.6 0 01.263.263C8 7.456 8 7.624 8 7.96v.08c0 .336 0 .504-.065.632a.6.6 0 01-.263.263C7.544 9 7.376 9 7.04 9H1.96c-.336 0-.504 0-.632-.065a.6.6 0 01-.263-.263C1 8.544 1 8.376 1 8.04v-.08zm.065-4.632C1 3.456 1 3.624 1 3.96v.08c0 .336 0 .504.065.632a.6.6 0 00.263.263C1.456 5 1.624 5 1.96 5h12.08c.336 0 .504 0 .632-.065a.6.6 0 00.263-.263C15 4.544 15 4.376 15 4.04v-.08c0-.336 0-.504-.065-.632a.6.6 0 00-.263-.263C14.544 3 14.376 3 14.04 3H1.96c-.336 0-.504 0-.632.065a.6.6 0 00-.263.263z\\\"/></svg>\",\n      \"legal\": \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M12.97 9.847a1.834 1.834 0 1 0-3.668 0 1.834 1.834 0 0 0 3.668 0zm1.418 5.156l-1.392-.354-.67 1.316-1.19-2.549-1.191 2.549-.67-1.316-1.392.354 1.414-3.03c-.216-.101-.457-.18-.589-.362-.177-.242-.116-.615-.211-.906-.091-.282-.362-.546-.362-.858 0-.312.271-.576.362-.857.094-.292.034-.665.211-.907.178-.245.552-.302.797-.48.243-.177.412-.516.703-.611.281-.091.616.081.928.081.311 0 .646-.172.927-.081.292.095.461.434.703.611.245.178.62.235.798.48.177.242.116.615.211.907.091.281.362.546.362.857 0 .312-.271.576-.362.858-.095.291-.035.664-.211.906-.133.183-.374.261-.589.362l1.413 3.03zM4 .018L2 2h2V.018zM7.714 13H2V3h3V0h7.039v5.99c-.054-.006-.103-.025-.158-.025a2.64 2.64 0 0 0-.576.076c-.058.012-.116.029-.174.032-.048-.003-.106-.02-.165-.032a2.63 2.63 0 0 0-.575-.076c-.172 0-.337.026-.491.076-.436.142-.703.441-.88.64-.037.041-.071.085-.111.119-.031.018-.084.038-.137.061-.241.106-.606.267-.873.633-.265.365-.306.761-.333 1.023-.006.058-.008.116-.022.17-.014.03-.044.074-.071.121-.135.23-.338.577-.338 1.039 0 .462.203.809.338 1.039.027.047.057.092.077.138.008.037.01.096.016.153.027.262.068.658.333 1.022.038.053.079.102.121.146L7.714 13z\\\"/></svg>\",\n      \"line-separator\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M4 3.6a.6.6 0 01.6-.6h6.8a.6.6 0 01.6.6v.8a.6.6 0 01-.6.6H4.6a.6.6 0 01-.6-.6v-.8zm-4 4A.6.6 0 01.6 7h14.8a.6.6 0 01.6.6v.8a.6.6 0 01-.6.6H.6a.6.6 0 01-.6-.6v-.8zM4.6 11a.6.6 0 00-.6.6v.8a.6.6 0 00.6.6h6.8a.6.6 0 00.6-.6v-.8a.6.6 0 00-.6-.6H4.6z\\\"/></svg>\",\n      \"link\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M10.901 8.78l2.122-2.122a2.6 2.6 0 10-3.677-3.676l-.962.961c-.159.159-.238.238-.33.267a.4.4 0 01-.246 0c-.092-.03-.17-.108-.33-.267l-.084-.085c-.158-.158-.238-.237-.267-.329a.4.4 0 010-.247c.03-.091.109-.17.267-.329l.962-.961a4 4 0 015.656 5.656l-2.12 2.122a4 4 0 01-5.658 0l-.255-.258c-.157-.159-.236-.238-.265-.33a.4.4 0 010-.246c.03-.09.11-.17.267-.327l.084-.084c.158-.158.237-.237.329-.267a.4.4 0 01.247 0c.091.03.17.109.329.267l.254.255a2.6 2.6 0 003.677 0z\\\"/><path d=\\\"M5.103 7.224L2.982 9.345a2.6 2.6 0 003.677 3.678l.961-.962c.159-.159.238-.238.33-.268a.4.4 0 01.246 0c.092.03.17.11.33.268l.084.085c.159.158.238.237.267.329a.4.4 0 010 .247c-.03.091-.108.17-.267.329l-.961.961a4 4 0 01-5.657-5.656l2.121-2.122a4 4 0 015.657 0l.255.258c.157.159.236.238.265.329a.4.4 0 010 .247c-.03.09-.11.17-.267.327l-.083.084c-.159.158-.238.237-.33.267a.4.4 0 01-.247 0c-.091-.03-.17-.109-.329-.267l-.254-.255a2.6 2.6 0 00-3.677 0z\\\"/></svg>\",\n      \"linkedin\": \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M3.632 15.032V5.008H.208v10.024h3.424zM1.92 3.6c1.2 0 1.936-.8 1.936-1.776C3.84.8 3.12.032 1.936.032.768.032 0 .8 0 1.824 0 2.816.736 3.6 1.888 3.6h.032zM5.536 15H8.96V9.568c0-.304.016-.624.112-.832.24-.624.816-1.248 1.76-1.248 1.248 0 1.744.944 1.744 2.336V15H16V9.424c0-3.168-1.696-4.64-3.952-4.64-1.856 0-2.656 1.04-3.12 1.744h.032V5.024H5.536c.032.944 0 10.304 0 10.304V15z\\\"/></svg>\",\n      \"list\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M3.4 4c0-.665-.535-1.2-1.2-1.2C1.535 2.8 1 3.335 1 4c0 .665.535 1.2 1.2 1.2.665 0 1.2-.535 1.2-1.2zm0 4c0-.665-.535-1.2-1.2-1.2C1.535 6.8 1 7.335 1 8c0 .665.535 1.2 1.2 1.2.665 0 1.2-.535 1.2-1.2zm-1.2 2.8c.665 0 1.2.535 1.2 1.2 0 .665-.535 1.2-1.2 1.2-.665 0-1.2-.535-1.2-1.2 0-.665.535-1.2 1.2-1.2zM5 3.6a.4.4 0 01.4-.4h9.2a.4.4 0 01.4.4v.8a.4.4 0 01-.4.4H5.4a.4.4 0 01-.4-.4v-.8zm0 4a.4.4 0 01.4-.4h9.2a.4.4 0 01.4.4v.8a.4.4 0 01-.4.4H5.4a.4.4 0 01-.4-.4v-.8zm0 4c0-.22.18-.4.4-.4h7.2c.22 0 .4.18.4.4v.8a.4.4 0 01-.4.4H5.4a.4.4 0 01-.4-.4v-.8z\\\"/></svg>\",\n      \"location\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M12.5 5.5a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0zM8 4a1 1 0 11-2 0 1 1 0 012 0z\\\"/><path d=\\\"M8 11c.433 0 .855-.05 1.26-.145l-.201 3.207A1 1 0 018.06 15h-.122a1 1 0 01-.998-.938l-.2-3.207c.405.095.827.145 1.26.145z\\\"/></svg>\",\n      \"locked\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M4.161 7.125V4.857c0-2.071 1.607-3.768 3.768-3.768h.143c2.089 0 3.75 1.643 3.75 3.768v2.268h1.375v7.786H2.822V7.125h1.339zm5.768 0V4.857a1.86 1.86 0 0 0-1.857-1.875h-.143c-1.071 0-1.893.786-1.893 1.875v2.268h3.893zm-.75 6.357l-.571-2.536c.375-.232.571-.554.571-1 0-.643-.518-1.179-1.161-1.179s-1.179.536-1.179 1.179c0 .446.196.786.571 1l-.571 2.536h2.339z\\\"/></svg>\",\n      \"logout\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M7.054 3.625V2.482c0-.518.25-.768.75-.768h6.375c.5 0 .75.25.75.768v11.804h-1.768V3.465H8.822V5.09zM1.089 8.696v-.821c0-.411.304-.714.714-.714h3.929V4.59c0-.268.089-.393.25-.393.054 0 .161.054.286.143l4.179 3.482c.161.125.232.268.232.464s-.071.339-.232.464l-4.179 3.5a.382.382 0 0 1-.286.125c-.161 0-.25-.125-.25-.393V9.428H1.803c-.411 0-.714-.321-.714-.732zM8.821 11.5v2.786H7.053v-1.321z\\\"/></svg>\",\n      \"lwr-happy\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M6 8c.552 0 1-.672 1-1.5S6.552 5 6 5s-1 .672-1 1.5S5.448 8 6 8zm5-1.5c0 .828-.448 1.5-1 1.5s-1-.672-1-1.5S9.448 5 10 5s1 .672 1 1.5zm-.107 3.156c.343-.133.72.195.53.51A3.998 3.998 0 018 12.094c-1.45 0-2.72-.771-3.421-1.927-.192-.315.185-.643.53-.51.68.263 1.685.543 2.891.543a8.06 8.06 0 002.893-.544z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15.4 8A7.4 7.4 0 11.6 8a7.4 7.4 0 0114.8 0zM14 8A6 6 0 112 8a6 6 0 0112 0z\\\"/></svg>\",\n      \"lwr-neutral\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M6 8c.552 0 1-.672 1-1.5S6.552 5 6 5s-1 .672-1 1.5S5.448 8 6 8zm5-1.5c0 .828-.448 1.5-1 1.5s-1-.672-1-1.5S9.448 5 10 5s1 .672 1 1.5zM5.6 10a.6.6 0 00-.6.6v.19c0 .238.168.441.405.471.464.059 1.33.139 2.595.139 1.265 0 2.13-.08 2.595-.139a.467.467 0 00.405-.47V10.6a.6.6 0 00-.6-.6H5.6z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15.4 8A7.4 7.4 0 11.6 8a7.4 7.4 0 0114.8 0zM14 8A6 6 0 111.999 8 6 6 0 0114 8z\\\"/></svg>\",\n      \"lwr-sad\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M6 8c.552 0 1-.672 1-1.5S6.552 5 6 5s-1 .672-1 1.5S5.448 8 6 8zm5-1.5c0 .828-.448 1.5-1 1.5s-1-.672-1-1.5S9.448 5 10 5s1 .672 1 1.5zm-.472 5.092c.7.165 1.208-.542.593-.917A5.972 5.972 0 008 9.8a5.97 5.97 0 00-3.121.875c-.614.375-.108 1.082.593.917A10.967 10.967 0 018 11.3c.87 0 1.717.101 2.528.292z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15.4 8A7.4 7.4 0 11.6 8a7.4 7.4 0 0114.8 0zM14 8A6 6 0 111.999 8 6 6 0 0114 8z\\\"/></svg>\",\n      \"lwr-thumbs-down\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M9.105 15.698c-.511 0-.97-.313-1.156-.787l-.032-.07a116.247 116.247 0 00-.497-1.068 57.293 57.293 0 00-.93-1.909c-.327-.628-1.071-1.916-1.453-2.57a2.009 2.009 0 01-.255-1.278L5.4 3.394c.1-.741.677-1.328 1.418-1.437l4.342-.644a.69.69 0 01.05-.005c1.359-.105 2.542.842 2.945 2.047v.001l1.146 3.376.001.004c.252.755.273 1.67-.118 2.433-.418.816-1.246 1.339-2.412 1.339h-2.07c.311 1.114.548 2.169.53 3.008-.01.54-.128 1.11-.51 1.545-.401.457-.976.637-1.617.637zm.084-1.44l.018.038c.305-.016.416-.105.463-.159.07-.08.155-.26.163-.65.016-.802-.29-1.988-.733-3.48a.7.7 0 01.671-.9h3c.7 0 1.014-.278 1.167-.576.18-.35.2-.86.037-1.351v-.002l-1.147-3.375v-.004c-.227-.68-.868-1.133-1.49-1.097l-4.315.64a.278.278 0 00-.235.238L6.17 8.2a.613.613 0 00.077.388c.376.645 1.139 1.964 1.485 2.627.275.528.652 1.315.956 1.962a140.632 140.632 0 01.501 1.08z\\\"/><path d=\\\"M1 2.52c0-.288.233-.522.522-.522h1.871c.314 0 .556.274.518.585L3.17 8.539a.522.522 0 01-.518.46h-1.12a.522.522 0 01-.522-.522L1 2.521z\\\"/></svg>\",\n      \"lwr-thumbs-up\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M9.105.3c-.511 0-.97.313-1.156.787l-.032.07a118.364 118.364 0 01-.497 1.069 58.04 58.04 0 01-.93 1.908c-.327.628-1.071 1.916-1.453 2.571a2.009 2.009 0 00-.255 1.278l.618 4.621a1.68 1.68 0 001.418 1.438l4.342.643a.728.728 0 00.05.005c1.359.105 2.542-.841 2.945-2.046v-.002l1.146-3.376.001-.003c.252-.756.273-1.67-.118-2.434-.418-.816-1.246-1.338-2.412-1.338h-2.07c.311-1.115.548-2.17.53-3.008-.01-.541-.128-1.11-.51-1.546C10.32.481 9.745.3 9.105.3zm.084 1.441l.018-.038c.305.016.416.105.463.158.07.08.155.26.163.65.016.802-.29 1.989-.733 3.48a.7.7 0 00.671.9h3c.7 0 1.014.279 1.167.576.18.35.2.86.037 1.351v.002l-1.147 3.376v.003c-.227.68-.868 1.133-1.49 1.097l-4.315-.64a.278.278 0 01-.235-.238L6.17 7.797a.609.609 0 01.077-.388c.376-.645 1.139-1.964 1.485-2.627a59.24 59.24 0 00.956-1.961 141.961 141.961 0 00.501-1.08z\\\"/><path d=\\\"M1 13.477c0 .289.233.523.522.523h1.871a.522.522 0 00.518-.585L3.17 7.46A.522.522 0 002.651 7h-1.12a.522.522 0 00-.522.521L1 13.477z\\\"/></svg>\",\n      \"manual-message\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15.767 2.188l-3.134 11.907c-.392 1.492-2.46 1.62-3.033.188L7.348 8.652 1.718 6.4C.284 5.827.412 3.76 1.903 3.367L13.812.233a1.6 1.6 0 011.955 1.955zM2.26 4.72a.2.2 0 00-.024.379l5.48 2.192L9.28 5.73a.7.7 0 01.99.99L8.708 8.282l2.192 5.48a.2.2 0 00.38-.023l3.133-11.907a.2.2 0 00-.245-.245L2.261 4.721z\\\"/><path d=\\\"M2.845 9.42a.7.7 0 10-.99-.99L.505 9.78a.7.7 0 00.99.99l1.35-1.35zm3.15.585a.7.7 0 010 .99l-3.15 3.15a.7.7 0 01-.99-.99l3.15-3.15a.7.7 0 01.99 0zm1.575 3.15a.7.7 0 010 .99l-1.35 1.35a.7.7 0 01-.99-.99l1.35-1.35a.7.7 0 01.99 0z\\\"/></svg>\",\n      \"marketo\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\"><path fill=\\\"#888\\\" d=\\\"M15.183 3.21h-1.54c-.376 0-.753.284-.837.631l-1.987 8.087c1.06.309 1.94.65 2.661.99l2.23-9.077c.084-.347-.153-.63-.527-.63M10.99 5.739H9.45c-.376 0-.752.285-.836.632l-1.186 4.825c1.025.156 1.945.347 2.766.56l1.323-5.385c.085-.347-.152-.632-.527-.632M3.134 8.863H1.593c-.374 0-.751.284-.836.63l-.329 1.338c.24-.018.487-.03.75-.033a48.59 48.59 0 0 1 2.155.027l.328-1.331c.084-.347-.153-.63-.527-.63m4.029-1.68H5.622c-.375 0-.752.285-.837.632l-.747 3.042a36.39 36.39 0 0 1 2.84.26l.811-3.302c.086-.347-.152-.631-.526-.631\\\"/></svg>\",\n      \"megaphone\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M0 7.357v.554c.143 1.804 1.607 1.732 1.607 1.732h.554l2.089 3.464c.196.232.571.464.911.286l1.25-.661-1.768-3.089h.661c2.286 0 3.143 1.25 4.143 2.357l.143.161c.214.25.589.696.946.696.518-.054.464-.286.464-.536V2.964c0-.268-.018-.536-.5-.536-.429 0-.607.339-.821.589-.964 1.214-1.893 2.732-4.375 2.732h-3.75C.911 5.749.108 6.017 0 7.356zm14.607-3.125C15.5 5.125 16 6.339 16 7.625s-.5 2.5-1.411 3.411a.532.532 0 0 1-.357.143.577.577 0 0 1-.375-.143.518.518 0 0 1 0-.75c.714-.714 1.089-1.661 1.089-2.661s-.375-1.946-1.089-2.661a.498.498 0 0 1 0-.732c.196-.214.536-.196.75 0zm-5.107.75v5.357c-1.286-1.268-2.089-1.607-4-1.607V6.643c1.911 0 2.732-.339 4-1.661zm3.607.482c.571.571.893 1.339.893 2.161s-.321 1.589-.893 2.161a.514.514 0 0 1-.75 0 .53.53 0 0 1 0-.732c.375-.375.589-.893.589-1.429s-.214-1.036-.589-1.411c-.196-.214-.196-.554 0-.75a.552.552 0 0 1 .75 0zM3.268 7.339H1.643c-.143 0-.286-.143-.286-.286s.143-.268.286-.268H3.25c.143 0 .268.125.268.268s-.125.286-.25.286zm0 1.179H1.643c-.143 0-.286-.143-.286-.286s.143-.268.286-.268H3.25c.143 0 .268.125.268.268s-.125.286-.25.286z\\\"/></svg>\",\n      \"message\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M3.96 4.908a.75.75 0 00-.92 1.184l3.124 2.43.09.07c.4.313.762.595 1.184.71.368.1.756.1 1.124 0 .422-.115.784-.397 1.185-.71l.089-.07 3.124-2.43a.75.75 0 10-.92-1.184l-3.125 2.43c-.547.425-.655.491-.745.516a.65.65 0 01-.34 0c-.09-.025-.198-.09-.745-.516L3.96 4.908z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M0 6.8c0-1.68 0-2.52.327-3.162a3 3 0 011.311-1.311C2.28 2 3.12 2 4.8 2h6.4c1.68 0 2.52 0 3.162.327a3 3 0 011.311 1.311C16 4.28 16 5.12 16 6.8v2.503c0 1.461 0 2.192-.303 2.814a3.149 3.149 0 01-1.224 1.3c-.602.34-1.285.38-2.651.463-1.148.07-2.456.12-3.822.12s-2.674-.05-3.822-.12c-1.366-.082-2.049-.123-2.651-.463a3.149 3.149 0 01-1.224-1.3C0 11.495 0 10.764 0 9.303V6.8zm14.6 0v2.503c0 .754-.001 1.233-.033 1.603-.03.345-.08.497-.129.598a1.756 1.756 0 01-.652.693c-.258.146-.556.196-2.049.286A62.692 62.692 0 018 12.6c-1.332 0-2.611-.05-3.737-.117-1.492-.09-1.791-.14-2.049-.286a1.756 1.756 0 01-.652-.693c-.05-.101-.1-.253-.13-.598-.03-.37-.032-.849-.032-1.603V6.8c0-.863.001-1.426.036-1.856.034-.414.092-.58.138-.67a1.6 1.6 0 01.7-.7c.09-.046.256-.104.67-.138.43-.035.993-.036 1.856-.036h6.4c.863 0 1.427.001 1.856.036.414.034.58.092.67.138a1.6 1.6 0 01.7.7c.046.09.104.256.138.67.035.43.036.993.036 1.856z\\\"/></svg>\",\n      \"messenger\": \"<svg width=\\\"16\\\" height=\\\"17\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M3.969 8.944a.7.7 0 01.983-.079l.01.01.067.048c.063.045.165.112.304.19a5 5 0 001.265.479A6.09 6.09 0 008 9.75c1.027 0 1.806-.236 2.319-.465.257-.114.448-.227.57-.307a2.385 2.385 0 00.157-.11l.002-.003a.7.7 0 01.908 1.066l-.002.001v.001l-.003.003-.007.005-.019.016a3.76 3.76 0 01-.269.193 5.448 5.448 0 01-.769.415c-.668.297-1.639.585-2.887.585-.65 0-1.226-.078-1.724-.196a6.36 6.36 0 01-1.623-.618 4.694 4.694 0 01-.433-.27 2.3 2.3 0 01-.174-.133l-.002-.002a.7.7 0 01-.075-.987z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M3.2 14.3h6.9l3.924 1.682a.7.7 0 00.976-.644V3.2A2.2 2.2 0 0012.8 1H3.2A2.2 2.2 0 001 3.2v8.9a2.2 2.2 0 002.2 2.2zm10.4-.023L10.387 12.9H3.2a.8.8 0 01-.8-.8V3.2a.8.8 0 01.8-.8h9.6a.8.8 0 01.8.8v11.077z\\\"/></svg>\",\n      \"microphone\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8 0a3 3 0 00-3 3v5a3 3 0 006 0V3a3 3 0 00-3-3z\\\"/><path d=\\\"M3.047 6.03C3.12 6 3.214 6 3.4 6c.186 0 .28 0 .353.03a.4.4 0 01.217.217C4 6.32 4 6.414 4 6.6V8a4 4 0 008 0V6.6c0-.186 0-.28.03-.353a.4.4 0 01.217-.217C12.32 6 12.414 6 12.6 6c.186 0 .28 0 .353.03a.4.4 0 01.217.217c.03.073.03.167.03.353V8A5.202 5.202 0 019 13.104v.449a8.545 8.545 0 011.874.4.19.19 0 01.126.181v.666a.2.2 0 01-.2.2H5.2a.2.2 0 01-.2-.2v-.666a.19.19 0 01.126-.18A8.545 8.545 0 017 13.552v-.45A5.202 5.202 0 012.8 8V6.6c0-.186 0-.28.03-.353a.4.4 0 01.217-.217z\\\"/></svg>\",\n      \"middle\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M5.402 2.35c-.394-.1-.667.383-.38.67l2.555 2.555a.6.6 0 00.849 0L10.98 3.02c.287-.287.014-.769-.38-.67l-1.6.4V.4a.4.4 0 00-.4-.4H7.4a.4.4 0 00-.4.4v2.349l-1.598-.4v.001zM10.6 13.651c.393.099.666-.384.38-.67l-2.555-2.556a.6.6 0 00-.85 0L5.022 12.98c-.287.287-.013.77.38.671l1.6-.4v2.35c0 .22.18.4.4.4h1.2a.4.4 0 00.4-.4v-2.35l1.599.4H10.6zM2 7.6a.6.6 0 01.6-.6h10.8a.6.6 0 01.6.6v.8a.6.6 0 01-.6.6H2.6a.6.6 0 01-.6-.6v-.8z\\\"/></svg>\",\n      \"mobile\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M4.893 13.482V5.196A1.22 1.22 0 0 1 6.089 4h2.946V1.857c0-.214.304-.536.607-.536s.625.321.625.536v2.196c.5.125.857.589.857 1.143v8.286c0 .643-.536 1.196-1.196 1.196H6.089a1.22 1.22 0 0 1-1.196-1.196zm.982-7.678v2.054c0 .446.393.821.875.821h2.518c.482 0 .893-.375.893-.821V5.804c0-.446-.411-.804-.893-.804H6.75c-.482 0-.875.357-.875.804zm.036 4.553a.488.488 0 0 0 .339.143c.268 0 .482-.196.482-.464s-.214-.482-.482-.482-.482.214-.482.482c0 .125.054.232.143.321zm1.803 0a.488.488 0 0 0 .339.143c.268 0 .482-.196.482-.464s-.214-.482-.482-.482-.5.214-.5.482c0 .125.054.232.161.321zm1.732 0a.488.488 0 0 0 .339.143c.268 0 .5-.196.5-.464s-.232-.482-.5-.482-.482.214-.482.482c0 .125.054.232.143.321zM5.911 12a.48.48 0 0 0 .821-.339c0-.268-.214-.5-.482-.5s-.482.232-.482.5c0 .125.054.25.143.339zm1.803 0a.48.48 0 0 0 .821-.339c0-.268-.214-.5-.482-.5s-.5.232-.5.5c0 .125.054.25.161.339zm1.732 0a.488.488 0 0 0 .339.143c.268 0 .5-.214.5-.482s-.232-.5-.5-.5-.482.232-.482.5c0 .125.054.25.143.339zm-3.535 1.625a.44.44 0 0 0 .339.161c.268 0 .482-.232.482-.5s-.214-.482-.482-.482a.48.48 0 0 0-.339.821zm1.803 0a.44.44 0 0 0 .339.161c.268 0 .482-.232.482-.5s-.214-.482-.482-.482-.5.214-.5.482c0 .125.054.25.161.339zm1.732 0a.44.44 0 0 0 .339.161c.268 0 .5-.232.5-.5s-.232-.482-.5-.482a.48.48 0 0 0-.339.821z\\\"/></svg>\",\n      \"multiplatform\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M15.625 1.071c.232.161.375.393.375.679v10.339c0 .232-.125.429-.268.589a.693.693 0 0 1-.464.196h-5.25c.089.589.268 1.143.5 1.429h.464c.107 0 .196.089.196.232v.214a.198.198 0 0 1-.196.196H7.964c.161-.196.232-.464.232-.732v-3.679h7.071v-8.75H.767v1.929c-.25 0-.482.054-.643.161-.071.036-.089.071-.125.071V1.749c0-.286.143-.518.375-.643A.757.757 0 0 1 .731.999h14.536c.125 0 .268.054.357.071zM7.268 4.375a.774.774 0 0 1 .375.643v9.196a.85.85 0 0 1-.25.589.68.68 0 0 1-.464.196H4.608a1.39 1.39 0 0 0 .232-.786v-.964h2.054V5.07H.769v1.964c-.25 0-.482.054-.643.179-.071 0-.089.018-.125.054V5.053c0-.286.143-.536.375-.643.089-.054.232-.125.357-.125h6.161c.143 0 .268.071.375.089zM3.911 7.714a.655.655 0 0 1 .375.607v5.875a.86.86 0 0 1-.25.607.675.675 0 0 1-.482.179H.768A.79.79 0 0 1 0 14.196V8.357c0-.304.143-.536.375-.643a.715.715 0 0 1 .393-.089h2.786c.125 0 .268.018.357.089zm-.375.661H.768v4.875h2.768V8.375zm-1.375 6.107c.196 0 .321-.179.321-.357 0-.161-.143-.339-.321-.339s-.357.179-.357.339a.37.37 0 0 0 .357.357z\\\"/></svg>\",\n      \"multiple-people\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M4.5 6.6a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm5.427 7.276c-.015.04-.03.082-.047.124h5.363c.375 0 1.497-3.75 0-4.875S11.874 8 11.5 8c-.24 0-1.101 0-2.083.299.521.536.77 1.208.885 1.794.137.707.113 1.443.032 2.072a8.274 8.274 0 01-.407 1.71zM8.243 9.125C6.746 8 4.874 8 4.5 8 4.126 8 2.251 8 .756 9.125-.74 10.25.383 14 .757 14h7.486c.375 0 1.497-3.75 0-4.875zM14 4.1a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z\\\"/></svg>\",\n      \"new-direct-message\": \"<svg width=\\\"16\\\" height=\\\"17\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M6 6a3 3 0 100-6 3 3 0 000 6zm-4.025 9.053a.888.888 0 01-.56-.208 1.328 1.328 0 01-.23-.25 2.898 2.898 0 01-.297-.54 6.15 6.15 0 01-.411-1.47c-.158-1.033-.12-2.576 1.057-3.428C3.342 7.848 5.556 7.85 5.99 7.85h.02c.341 0 1.786 0 3.266.637.116.05.152.194.086.301a2.806 2.806 0 00-.353.893.21.21 0 01-.204.17H7.25a2.9 2.9 0 00-2.192 4.8c.126.144.03.403-.16.403H1.974z\\\"/><path d=\\\"M11.007 14.953a.8.8 0 001.255.912l3-2.5a.8.8 0 000-1.23l-3-2.5a.8.8 0 00-1.255.912l.521 1.303H7.25a.9.9 0 100 1.8h4.278l-.52 1.303z\\\"/></svg>\",\n      \"new-window\": \"<svg width=\\\"16\\\" height=\\\"16\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M5.6 1c.22 0 .4.18.4.4v.8a.4.4 0 01-.4.4H4A1.4 1.4 0 002.6 4v8A1.4 1.4 0 004 13.4h8a1.4 1.4 0 001.4-1.4v-1.6c0-.22.18-.4.4-.4h.8c.22 0 .4.18.4.4V12a3 3 0 01-3 3H4a3 3 0 01-3-3V4a3 3 0 013-3h1.6zm3.3 0a.4.4 0 00-.4.4v.8c0 .22.18.4.4.4h3.369L7.134 7.734a.8.8 0 001.132 1.132L13.4 3.73V7.1c0 .22.18.4.4.4h.8a.4.4 0 00.4-.4V1.8a.8.8 0 00-.8-.8H8.9z\\\" fill=\\\"#222\\\"/></svg>\",\n      \"new\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M7.5 3a.5.5 0 00-.5.5V7H3.5a.5.5 0 00-.5.5v1a.5.5 0 00.5.5H7v3.5a.5.5 0 00.5.5h1a.5.5 0 00.5-.5V9h3.5a.5.5 0 00.5-.5v-1a.5.5 0 00-.5-.5H9V3.5a.5.5 0 00-.5-.5h-1z\\\"/></svg>\",\n      \"newspaper\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M14.5 2h-11c-.375 0-.5.125-.5.5V4H1.5c-.375 0-.5.125-.5.5V13c0 .75.25 1 1 1h12c.75 0 1-.25 1-1V2.5c0-.375-.125-.5-.5-.5zM14 13H2.25c-.179 0-.25-.071-.25-.25V5h1v7h1V3h10v10zM5 4v3h3V4H5zm4 0v1h4V4H9zm0 2v1h4V6H9zM5 8v1h8V8H5zm0 2v1h8v-1H5z\\\"/></svg>\",\n      \"next-step\": \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M2 4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H2zm7 2l3 2.5L9 11V9H4V8h5V6z\\\"/></svg>\",\n      \"next\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M5.714 3.161l5.179 4.232a.788.788 0 0 1 0 1.214l-5.179 4.232-.071.071a.596.596 0 0 1-.304.089.518.518 0 0 1-.518-.518V3.517a.518.518 0 0 1 .804-.429z\\\"/></svg>\",\n      \"not-seen-path\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\"><path d=\\\"M14.293.293a.999.999 0 1 1 1.414 1.414l-14 14a.997.997 0 0 1-1.414 0 .999.999 0 0 1-.001-1.413l2.529-2.529C1.172 10.291.198 8.614.128 8.489a.998.998 0 0 1-.002-.975C.251 7.289 3.245 2 8 2c1.331 0 2.515.431 3.548 1.038zm.281 5.376a13.292 13.292 0 0 1 1.298 1.843 1 1 0 0 1-.001.98C15.744 8.716 12.707 14 8 14a6.391 6.391 0 0 1-1.557-.2l1.815-1.815C10.969 11.82 13.059 9.13 13.819 8c-.163-.243-.391-.56-.669-.907zM8 4C5.146 4 2.958 6.835 2.181 7.999a12.603 12.603 0 0 0 2.059 2.347l1.834-1.834A1.925 1.925 0 0 1 6 8a2 2 0 0 1 2-2c.178 0 .348.029.512.074l1.566-1.566C9.437 4.201 8.742 4 8 4z\\\"/></svg>\",\n      \"note\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M3 4v11h10V1H6zm1 10V5h3V2h5v12H4zm6-7V6H5v1h5zM5 8v1h4V8H5zm6 3v-1H5v1h6z\\\"/></svg>\",\n      \"notification\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M12 7a3 3 0 100-6 3 3 0 000 6z\\\"/><path d=\\\"M13 12.267V7.874a4.007 4.007 0 01-1.4.106v4.287c0 .736-.597 1.333-1.333 1.333H3.733A1.333 1.333 0 012.4 12.267V5.733c0-.736.597-1.333 1.333-1.333H8.02A4.048 4.048 0 018.126 3H3.733A2.733 2.733 0 001 5.733v6.534A2.733 2.733 0 003.733 15h6.534A2.733 2.733 0 0013 12.267z\\\"/></svg>\",\n      \"opened-message\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M8 10.8a2.8 2.8 0 100-5.6 2.8 2.8 0 000 5.6zm0-1.4a1.4 1.4 0 10-.082-2.798 1 1 0 01-1.315 1.315A1.4 1.4 0 008 9.4z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M.391 6.691a2.447 2.447 0 000 2.618A8.993 8.993 0 008 13.5a8.993 8.993 0 007.609-4.191 2.447 2.447 0 000-2.618A8.993 8.993 0 008 2.5 8.993 8.993 0 00.391 6.691zM8 3.9a7.593 7.593 0 00-6.426 3.54 1.047 1.047 0 000 1.12A7.593 7.593 0 008 12.1a7.594 7.594 0 006.426-3.54 1.047 1.047 0 000-1.12A7.593 7.593 0 008 3.9z\\\"/></svg>\",\n      \"operator\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M4 6.6c0-1.16.94-2.1 2.1-2.1h3.8a2.1 2.1 0 110 4.2H6.1A2.1 2.1 0 014 6.6zm2.1-.7h3.8a.7.7 0 110 1.4H6.1a.7.7 0 110-1.4z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M3.4 1A2.4 2.4 0 001 3.4v9.2A2.4 2.4 0 003.4 15h9.2a2.4 2.4 0 002.4-2.4V3.4A2.4 2.4 0 0012.6 1H3.4zm9.2 1.4H3.4a1 1 0 00-1 1v7.2h11.2V3.4a1 1 0 00-1-1zM2.4 12.6V12h11.2v.6a1 1 0 01-1 1H3.4a1 1 0 01-1-1z\\\"/></svg>\",\n      \"outbound-filled\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M12.161 14.095L15.17 2.662A1.5 1.5 0 0013.338.83L1.905 3.84C.507 4.207.387 6.145 1.73 6.682l4.612 1.845 2.542-2.543a.8.8 0 011.132 1.132L7.473 9.658l1.845 4.612c.537 1.343 2.475 1.223 2.843-.175zM2.866 8.584a.8.8 0 010 1.132l-1.3 1.3A.8.8 0 01.434 9.884l1.3-1.3a.8.8 0 011.132 0z\\\"/><path d=\\\"M5.95 11.18a.8.8 0 00-1.13-1.13l-3.386 3.384a.8.8 0 001.132 1.132L5.95 11.18zm1.466 3.086a.8.8 0 00-1.132-1.132l-1.3 1.3a.8.8 0 001.132 1.132l1.3-1.3z\\\"/></svg>\",\n      \"owner\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8.852 7.23a2.23 2.23 0 11-4.46 0 2.23 2.23 0 014.46 0z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M8 15.5a7.5 7.5 0 100-15 7.5 7.5 0 000 15zm-4.671-3.847a1.87 1.87 0 00-.133.106A6.1 6.1 0 0110 2.235v4.391a.2.2 0 00.31.167l1.08-.719a.2.2 0 01.22 0l1.08.719a.2.2 0 00.31-.167V4.505a6.1 6.1 0 01-2.258 8.945c-.017-.644-.209-1.35-.826-1.797-1.332-.965-2.967-.965-3.286-.965h-.016c-.32 0-1.952 0-3.285.965z\\\"/></svg>\",\n      \"path-analysis\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\"><path d=\\\"M7 10h8a1 1 0 0 1 .993.883L16 11v4a1 1 0 0 1-.883.993L15 16H7a1 1 0 0 1-.993-.883L6 15v-4a1 1 0 0 1 .883-.993L7 10h8zM1 0a1 1 0 0 1 .993.883L2 1v3h3v2H2v6h3v2H1a1 1 0 0 1-.993-.883L0 13V1a1 1 0 0 1 1-1zm14 2a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1z\\\"/></svg>\",\n      \"pause\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 1c3.786 0 7 3.214 7 7s-3.214 7-7 7-7-3.214-7-7 3.214-7 7-7zM7 5H5v6h2V5zm4 0H9v6h2V5z\\\"/></svg>\",\n      \"person-square-fill\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 9a2.5 2.5 0 100-5 2.5 2.5 0 000 5z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M3.572 14.933c-.374-.047-.67-.126-.934-.26a3 3 0 01-1.311-1.311C1 12.72 1 11.88 1 10.2V5.8c0-1.68 0-2.52.327-3.162a3 3 0 011.311-1.311C3.28 1 4.12 1 5.8 1h4.4c1.68 0 2.52 0 3.162.327a3 3 0 011.311 1.311C15 3.28 15 4.12 15 5.8v4.4c0 1.68 0 2.52-.327 3.162a3 3 0 01-1.311 1.311c-.263.134-.56.213-.935.26l-.01.001C11.88 15 11.185 15 10.2 15H5.495M13.6 5.8v4.4c0 .863-.001 1.426-.036 1.856-.034.414-.092.58-.138.67a1.6 1.6 0 01-.7.7.74.74 0 01-.106.043c-.02-.72-.236-1.509-.926-2.01-1.494-1.082-3.327-1.081-3.685-1.081H7.99c-.358 0-2.188 0-3.683 1.082-.691.5-.907 1.289-.928 2.01a.74.74 0 01-.106-.044 1.6 1.6 0 01-.7-.7c-.046-.09-.104-.256-.138-.67-.035-.43-.036-.993-.036-1.856V5.8c0-.863.001-1.426.036-1.856.034-.414.092-.58.138-.67a1.6 1.6 0 01.7-.7c.09-.046.256-.104.67-.138.43-.035.993-.036 1.856-.036h4.4c.863 0 1.426.001 1.856.036.414.034.58.092.67.138a1.6 1.6 0 01.7.7c.046.09.104.256.138.67.035.43.036.993.036 1.856z\\\"/></svg>\",\n      \"person\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8 6a3 3 0 100-6 3 3 0 000 6zm-4.025 9.053a.887.887 0 01-.56-.208 1.325 1.325 0 01-.23-.25 2.898 2.898 0 01-.297-.54 6.15 6.15 0 01-.412-1.47c-.157-1.033-.118-2.576 1.058-3.428C5.342 7.848 7.556 7.85 7.99 7.85h.02c.434 0 2.651 0 4.458 1.309 1.175.852 1.213 2.395 1.055 3.427a6.153 6.153 0 01-.412 1.47 2.901 2.901 0 01-.296.54 1.327 1.327 0 01-.23.25.887.887 0 01-.56.208h-8.05z\\\"/></svg>\",\n      \"phone\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M1.339 4.179v-.232a.839.839 0 0 1 .25-.518l2.018-2c.071-.054.125-.089.179-.089s.107.054.161.143l1.625 3.036a.471.471 0 0 1 .054.214c0 .125-.054.214-.143.304l-.732.732a.714.714 0 0 0-.214.518c.125.929 1 2.125 2.018 3.143s2.286 1.964 3.161 2.054c.196 0 .357-.071.518-.232l.875-.857c.161-.161.321-.179.5-.071l2.929 1.732c.089.054.143.107.143.179 0 .054-.036.125-.089.179l-2 2a.838.838 0 0 1-.536.25h-.232c-1 0-2.446-.446-3.946-1.393-1.929-1.214-3.911-3.214-5.125-5.125-1-1.571-1.411-2.946-1.411-3.964z\\\"/></svg>\",\n      \"picture\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M1 5.8c0-1.68 0-2.52.327-3.162a3 3 0 011.311-1.311C3.28 1 4.12 1 5.8 1h4.4c1.68 0 2.52 0 3.162.327a3 3 0 011.311 1.311C15 3.28 15 4.12 15 5.8v4.4c0 1.68 0 2.52-.327 3.162a3 3 0 01-1.311 1.311C12.72 15 11.88 15 10.2 15H5.8c-1.68 0-2.52 0-3.162-.327a3 3 0 01-1.311-1.311C1 12.72 1 11.88 1 10.2V5.8zm12.6 2v2.4c0 .863-.001 1.426-.036 1.856-.034.414-.092.58-.138.67a1.6 1.6 0 01-.7.7c-.09.046-.256.104-.67.138-.43.035-.993.036-1.856.036H5.8c-.863 0-1.426-.001-1.856-.036-.414-.034-.58-.092-.67-.138a1.6 1.6 0 01-.7-.7c-.046-.09-.104-.256-.138-.67-.035-.43-.036-.993-.036-1.856V8.6l.434-.434a.8.8 0 011.132 0l2.01 2.01a.6.6 0 00.848 0l4.01-4.01a.8.8 0 011.132 0L13.6 7.8zM6.3 4.5a1.3 1.3 0 11-2.6 0 1.3 1.3 0 012.6 0z\\\"/></svg>\",\n      \"pipedrive\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\"><path d=\\\"M6.551 6.041c0-2.385 1.337-3.235 2.587-3.235 1.535 0 2.566 1.29 2.566 3.213 0 2.192-1.312 3.171-2.609 3.171-1.749 0-2.544-1.634-2.544-3.149zM9.755 0C7.93 0 6.874.8 6.365 1.352 6.302.876 5.981.258 4.725.258H2v2.785h1.117c.19 0 .25.058.25.243V16h3.25v-4.772c0-.128-.002-.249-.006-.357.507.454 1.477 1.081 2.991 1.081 3.176 0 5.398-2.456 5.398-5.975C15 2.402 12.891 0 9.755 0z\\\"/></svg>\\n\",\n      \"pointed-star\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 1.321l1.482 5.304h5.196l-4.214 2.804 1.786 5.25-4.232-3.482-4.071 3.482 1.607-5.25-4.232-2.804h5.196z\\\"/></svg>\",\n      \"pointer-box\": \"<svg width=\\\"16\\\" height=\\\"15\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M.5 1.8H0V0h1.6v1H1v.8H.5zM6.933 0h-3.2v1h3.2V0zm2.134 0v1h3.2V0h-3.2zM14.4 0v1h.6v.8h1V0h-1.6zM16 4.2h-1v3.6h1V4.2zM6.933 12v-1h-3.2v1h3.2zM1.6 12v-1H1v-.8H0V12h1.6zM0 7.8h1V4.2H0v3.6z\\\"/><path d=\\\"M15 10.225l-2.835.696 1.49 3.326-1.736.753-1.49-3.34L8 13.267V4l7 6.225z\\\"/></svg>\",\n      \"post-filled\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M2 4.2c0-1.12 0-1.68.218-2.108a2 2 0 01.874-.874C3.52 1 4.08 1 5.2 1h5.6c1.12 0 1.68 0 2.108.218a2 2 0 01.874.874C14 2.52 14 3.08 14 4.2v7.6c0 1.12 0 1.68-.218 2.108a2 2 0 01-.874.874C12.48 15 11.92 15 10.8 15H5.2c-1.12 0-1.68 0-2.108-.218a2 2 0 01-.874-.874C2 13.48 2 12.92 2 11.8V4.2zM4.4 8a.4.4 0 00-.4.4V9c0 .22.18.4.4.4h7.2A.4.4 0 0012 9v-.6a.4.4 0 00-.4-.4H4.4zM4 11.4c0-.22.18-.4.4-.4h4.2c.22 0 .4.18.4.4v.6a.4.4 0 01-.4.4H4.4A.4.4 0 014 12v-.6zM5.5 6a1.5 1.5 0 100-3 1.5 1.5 0 000 3z\\\"/></svg>\",\n      \"prev\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M10.286 12.839l-5.179-4.25A.752.752 0 0 1 4.821 8c0-.25.107-.464.286-.607l5.179-4.232.071-.071a.596.596 0 0 1 .304-.089c.286 0 .518.232.518.518v8.964a.518.518 0 0 1-.804.429z\\\"/></svg>\",\n      \"product-tours-filled\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M8.456 1.031a.6.6 0 00-.912 0L5.83 3.032c-.367.01-.72.024-1.06.038-1.398.06-2.097.09-2.71.425-.516.282-.99.778-1.25 1.304C.5 5.427.5 6.17.5 7.658v2.684c0 1.488 0 2.231.31 2.86.26.525.734 1.02 1.25 1.303.613.336 1.312.366 2.71.425.973.041 2.066.07 3.23.07 1.164 0 2.257-.029 3.23-.07 1.398-.06 2.097-.09 2.71-.425.516-.282.99-.778 1.25-1.304.31-.628.31-1.371.31-2.859V7.658c0-1.488 0-2.231-.31-2.86a3.143 3.143 0 00-1.25-1.303c-.613-.336-1.312-.366-2.71-.425-.34-.014-.693-.027-1.06-.038l-1.714-2zM4 7.201c0-.222.18-.4.4-.4h7.2c.22-.001.4.178.4.399v.6a.4.4 0 01-.4.4H4.4a.4.4 0 01-.4-.4v-.6zm.4 2.6a.4.4 0 00-.4.399v.6c0 .221.18.4.4.4h5.2a.4.4 0 00.4-.4v-.6a.4.4 0 00-.4-.4H4.4z\\\"/></svg>\",\n      \"product-tours\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M4 6.2c0-.22.18-.4.4-.4h7.2c.22 0 .4.18.4.4v.6a.4.4 0 01-.4.4H4.4a.4.4 0 01-.4-.4v-.6zm.4 2.6a.4.4 0 00-.4.4v.6c0 .221.18.4.4.4h5.2a.4.4 0 00.4-.4v-.6a.4.4 0 00-.4-.4H4.4z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M6 2H4.8c-1.68 0-2.52 0-3.162.327A3 3 0 00.327 3.638C0 4.28 0 5.12 0 6.8v2.4c0 1.68 0 2.52.327 3.162a3 3 0 001.311 1.311C2.28 14 3.12 14 4.8 14h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 001.311-1.311C16 11.72 16 10.88 16 9.2V6.8c0-1.68 0-2.52-.327-3.162a3 3 0 00-1.311-1.311C13.72 2 12.88 2 11.2 2H10l-.869-.869C8.735.735 8.537.537 8.31.463a1 1 0 00-.618 0c-.228.074-.426.272-.822.668L6 2zm4.083 1.4c-.245 0-.367 0-.482-.028a1 1 0 01-.29-.12c-.1-.061-.187-.148-.36-.32l-.81-.81L8 1.98l-.141.141-.81.81c-.173.173-.26.26-.36.322a1 1 0 01-.29.12c-.115.027-.237.027-.482.027H4.8c-.863 0-1.426.001-1.856.036-.414.034-.58.092-.67.138a1.6 1.6 0 00-.7.7c-.046.09-.104.256-.138.67-.035.43-.036.993-.036 1.856v2.4c0 .863.001 1.426.036 1.856.034.414.092.58.138.67a1.6 1.6 0 00.7.7c.09.046.256.104.67.138.43.035.993.036 1.856.036h6.4c.863 0 1.426-.001 1.856-.036.414-.034.58-.092.67-.138a1.6 1.6 0 00.7-.7c.046-.09.104-.256.138-.67.035-.43.036-.993.036-1.856V6.8c0-.863-.001-1.426-.036-1.856-.034-.414-.092-.58-.138-.67a1.6 1.6 0 00-.7-.7c-.09-.046-.256-.104-.67-.138-.43-.035-.993-.036-1.856-.036h-1.117z\\\"/></svg>\",\n      \"push-notification-filled\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M2.5 3.2c0-1.12 0-1.68.218-2.108a2 2 0 01.874-.874C4.02 0 4.58 0 5.7 0h4.6c1.12 0 1.68 0 2.108.218a2 2 0 01.874.874c.218.428.218.988.218 2.108v9.6c0 1.12 0 1.68-.218 2.108a2 2 0 01-.874.874C11.98 16 11.42 16 10.3 16H5.7c-1.12 0-1.68 0-2.108-.218a2 2 0 01-.874-.874C2.5 14.48 2.5 13.92 2.5 12.8V3.2zm6.7 10a1.2 1.2 0 11-2.4 0 1.2 1.2 0 012.4 0zM4.5 2a.6.6 0 00-.6.6v7.3a.6.6 0 00.6.6h7a.6.6 0 00.6-.6V2.6a.6.6 0 00-.6-.6h-7z\\\"/></svg>\",\n      \"push-notification\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M2.393 10.5a.727.727 0 0 1 0 .911.857.857 0 0 1-.464.161c-.214 0-.375-.054-.482-.161A4.617 4.617 0 0 1 .001 8.054c0-1.232.482-2.464 1.5-3.375.214-.268.625-.268.893 0s.268.643 0 .911c-.679.696-1.054 1.554-1.054 2.464.054.893.375 1.75 1.054 2.446zm12.161-5.821A4.627 4.627 0 0 1 16 8.054a4.617 4.617 0 0 1-1.446 3.357.865.865 0 0 1-.482.161.855.855 0 0 1-.464-.161.617.617 0 0 1 0-.911 3.291 3.291 0 0 0 1.054-2.446c0-.911-.375-1.768-1.054-2.464-.268-.268-.268-.643 0-.911s.679-.268.946 0zm-3.036 1.285a.678.678 0 0 1 .964 0c.589.589.911 1.339.911 2.089 0 .732-.321 1.482-.911 2.071-.161.161-.321.214-.482.214s-.321-.107-.482-.214c-.268-.214-.268-.643 0-.911a1.665 1.665 0 0 0 0-2.34c-.268-.214-.268-.643 0-.911zM4 10.339c-.161 0-.321-.107-.482-.214a2.906 2.906 0 0 1-.857-2.071c0-.75.321-1.5.857-2.089a.804.804 0 0 1 .964 0c.268.268.268.696 0 .911a1.663 1.663 0 0 0 0 2.34.617.617 0 0 1 0 .911c-.107.161-.321.214-.482.214zm4-.357c-1.143 0-2-.857-2-1.911 0-1.089.857-1.946 2-1.946 1.089 0 2 .857 2 1.946 0 1.054-.911 1.911-2 1.911z\\\"/></svg>\",\n      \"put-live\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 1c3.804 0 7 3.196 7 7s-3.196 7-7 7-7-3.196-7-7 3.196-7 7-7zm4 7L6 4.393v7.214z\\\"/></svg>\",\n      \"qual-identify\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M6 6a3 3 0 100-6 3 3 0 000 6zm-4.025 9.053a.887.887 0 01-.56-.208 1.324 1.324 0 01-.23-.25 2.898 2.898 0 01-.297-.54 6.15 6.15 0 01-.411-1.47c-.158-1.033-.12-2.576 1.057-3.428C3.342 7.848 5.556 7.85 5.99 7.85h.02c.168 0 .603 0 1.178.076.156.02.222.207.124.33A5.975 5.975 0 006 12c0 .99.24 1.923.664 2.746.07.137-.026.307-.181.307H1.975zM8 12a4 4 0 016.985-2.663l-2.939 2.716a.2.2 0 01-.256.013l-1.444-1.088a.2.2 0 00-.262.018l-.448.448a.198.198 0 00-.004.276c.393.412 1.389 1.445 1.93 2.005a.499.499 0 00.72-.004l3.306-3.49A4 4 0 118 12z\\\"/></svg>\",\n      \"qualify\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M4.9 12c0-1.048-.852-1.9-1.9-1.9s-1.9.852-1.9 1.9.852 1.9 1.9 1.9 1.9-.852 1.9-1.9zM6 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0zM2.684 6.051l-.142.162-.151-.154L.644 4.27.51 4.132l.132-.139.608-.644.143-.151.146.149.91.935L4.81 1.621A2.977 2.977 0 0 0 3 1a3 3 0 1 0 3 3c0-.484-.125-.934-.329-1.339l-2.987 3.39zM8 13h8v-2H8v2zm0-8h8V3H8v2z\\\"/></svg>\",\n      \"receive\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8.7 5a.7.7 0 10-1.4 0v3.603l-1.13-.282a.7.7 0 00-.665 1.174l2 2a.7.7 0 00.99 0l2-2a.7.7 0 00-.665-1.174l-1.13.282V5z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M1 5.8c0-1.68 0-2.52.327-3.162a3 3 0 011.311-1.311C3.28 1 4.12 1 5.8 1h4.4c1.68 0 2.52 0 3.162.327a3 3 0 011.311 1.311C15 3.28 15 4.12 15 5.8v4.4c0 1.68 0 2.52-.327 3.162a3 3 0 01-1.311 1.311C12.72 15 11.88 15 10.2 15H5.8c-1.68 0-2.52 0-3.162-.327a3 3 0 01-1.311-1.311C1 12.72 1 11.88 1 10.2V5.8zm12.6 0v4.4c0 .863-.001 1.426-.036 1.856-.034.414-.092.58-.138.67a1.6 1.6 0 01-.7.7c-.09.046-.256.104-.67.138-.43.035-.993.036-1.856.036H5.8c-.863 0-1.426-.001-1.856-.036-.414-.034-.58-.092-.67-.138a1.6 1.6 0 01-.7-.7c-.046-.09-.104-.256-.138-.67-.035-.43-.036-.993-.036-1.856V5.8c0-.863.001-1.426.036-1.856.034-.414.092-.58.138-.67a1.6 1.6 0 01.7-.7c.09-.046.256-.104.67-.138.43-.035.993-.036 1.856-.036h4.4c.863 0 1.426.001 1.856.036.414.034.58.092.67.138a1.6 1.6 0 01.7.7c.046.09.104.256.138.67.035.43.036.993.036 1.856z\\\"/></svg>\",\n      \"recipient-data\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M9.393 6.696c1 0 1.714.911 1.714 2.107 0 1.5-1 2.196-1.911 2.196-.5 0-.893-.196-1.196-.696l-.107.589H6.804V4.999h1.393v2.304c.196-.411.607-.607 1.196-.607zm-5-1.392l1.714 5.589H4.696L4.303 9.5H2.696l-.393 1.393H.999l1.696-5.589h1.696zM4.196 8.5l-.393-1.196c-.107-.304-.196-.696-.304-1.107-.107.411-.196.804-.304 1.107L2.891 8.5h1.304zm9.911 1.482c.286 0 .5.018.589-.089l.196.911c-.196.089-.589.196-1.089.196-1.304 0-2.196-.804-2.196-2.107 0-1.196.893-2.196 2.393-2.196.393 0 .696.107 1 .196l-.196 1c-.107 0-.411-.089-.696-.089-.714 0-1.107.393-1.107 1.089 0 .714.5 1.089 1.107 1.089zM8.893 10c.5 0 .911-.393.911-1.196 0-.607-.304-1.107-.911-1.107-.286 0-.696.304-.696.696v1c0 .304.304.607.696.607z\\\"/></svg>\",\n      \"regular-path\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\"><path d=\\\"M9.3 1.3L7.9 2.7 12.2 7H0v2h12.2l-4.3 4.3 1.4 1.4L16 8z\\\"/></svg>\",\n      \"relationship-light\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M4.306 2.3c-1.123 0-3.005.389-3.005 2.99v.005c-.003.381.076.752.235 1.1a6.157 6.157 0 0 0 1.412 2.047L8 13.436l5.046-4.988c.32-.305.601-.635.845-.99.534-.815.808-1.549.808-2.167 0-2.471-1.634-2.99-3.004-2.99-1.085 0-2.18 1.304-2.836 2.083-.14.169-.268.32-.379.441a.707.707 0 0 1-.489.212.654.654 0 0 1-.483-.225 5.08 5.08 0 0 1-.23-.302C6.79 3.849 5.652 2.3 4.305 2.3M8 15.001a.647.647 0 0 1-.457-.189L2.04 9.373A7.412 7.412 0 0 1 .347 6.92 3.848 3.848 0 0 1 0 5.287h.001C.002 2.642 1.651 1 4.306 1c1.73 0 3.018 1.43 3.726 2.349.814-.959 2.086-2.347 3.663-2.347C14.35 1.002 16 2.645 16 5.291c0 .876-.347 1.848-1.029 2.891-.304.441-.644.84-1.019 1.199l-5.495 5.431a.645.645 0 0 1-.457.189\\\"/></svg>\",\n      \"relationship\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M1.321 5.5c0-2.304 1.446-3.357 3.321-3.357.679 0 1.446.339 2.321 1.036.393.304.732.643 1.036 1 .625-.696 1.321-1.268 2.125-1.696a2.472 2.472 0 0 1 1.232-.339c1.857 0 3.321 1 3.321 3.357 0 .696-.286 1.482-.839 2.339a6.336 6.336 0 0 1-.839 1l-5 5.018-5-5.018a6.284 6.284 0 0 1-1.411-2.071 3.04 3.04 0 0 1-.268-1.268z\\\"/></svg>\",\n      \"reload\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M2.518 9.196A5.483 5.483 0 0 1 8 3.714h.214c.089 0 .143 0 .179.018V1.339L12 4.964 8.393 8.571V6.053c-.036-.018-.089-.018-.179-.018H8c-1.768 0-3.161 1.446-3.161 3.161S6.214 12.339 8 12.339a3.14 3.14 0 0 0 3.161-3.143v-.482h2.321v.482c0 3-2.5 5.464-5.482 5.464-3 0-5.482-2.446-5.482-5.464z\\\"/></svg>\",\n      \"remove-participant\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8.217 13.004H0s.352-3.89 5.595-4.762c-.854-.854-1.558-1.829-1.558-3.504 0-1.106.051-3.738 3-3.738 2.864 0 2.998 2.626 2.998 3.732 0 1.674-.72 2.773-1.558 3.56.015.004.028-.008.043-.004-1.172.786-1.294 2.357-.348 3.303.405.405.418 1.413.045 1.413zm1.786-3.878l-.881.881a.416.416 0 0 0 0 .588l1.909 1.909-1.909 1.909a.416.416 0 0 0 0 .588l.881.881a.416.416 0 0 0 .588 0l1.909-1.909 1.909 1.909a.416.416 0 0 0 .588 0l.881-.881a.416.416 0 0 0 0-.588l-1.909-1.909 1.909-1.909a.416.416 0 0 0 0-.588l-.881-.881a.416.416 0 0 0-.588 0L12.5 11.035l-1.909-1.909a.415.415 0 0 0-.588 0z\\\"/></svg>\\n\",\n      \"remove\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8 0c4.446 0 8 3.554 8 8s-3.554 8-8 8-8-3.554-8-8 3.554-8 8-8zm0 1.786C4.518 1.786 1.786 4.518 1.786 8S4.518 14.214 8 14.214 14.214 11.482 14.214 8 11.482 1.786 8 1.786zM7 7H4v2h8V7H7z\\\" fill=\\\"#FA3D5B\\\"/></svg>\",\n      \"reopen-conversation\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M10.203 4.743a.8.8 0 00.912-1.255l-2.5-3a.8.8 0 00-1.23 0l-2.5 3a.8.8 0 00.912 1.255L7.1 4.222V7.5a.9.9 0 001.8 0V4.222l1.303.52z\\\"/><path d=\\\"M2.604 4.535c.088-.15.318-.126.386.035.163.389.355.694.528.92a.21.21 0 01.016.23L1.446 9.3h2.823c.281 0 .517.203.608.47A3.295 3.295 0 008 12a3.295 3.295 0 003.123-2.23c.091-.267.327-.47.608-.47h2.823l-2.088-3.58a.207.207 0 01.016-.23 4.19 4.19 0 00.528-.92c.068-.16.298-.185.386-.035l2.468 4.231A1 1 0 0116 9.27V13a2 2 0 01-2 2H2a2 2 0 01-2-2V9.27a1 1 0 01.136-.504l2.468-4.23z\\\"/></svg>\",\n      \"reply\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M10.8 10v1a.7.7 0 101.4 0v-1a3.7 3.7 0 00-3.7-3.7H6.897l.282-1.13a.7.7 0 00-1.174-.665l-2 2a.7.7 0 000 .99l2 2a.7.7 0 001.174-.665L6.897 7.7H8.5a2.3 2.3 0 012.3 2.3z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M1 5.8c0-1.68 0-2.52.327-3.162a3 3 0 011.311-1.311C3.28 1 4.12 1 5.8 1h4.4c1.68 0 2.52 0 3.162.327a3 3 0 011.311 1.311C15 3.28 15 4.12 15 5.8v4.4c0 1.68 0 2.52-.327 3.162a3 3 0 01-1.311 1.311C12.72 15 11.88 15 10.2 15H5.8c-1.68 0-2.52 0-3.162-.327a3 3 0 01-1.311-1.311C1 12.72 1 11.88 1 10.2V5.8zm12.6 0v4.4c0 .863-.001 1.426-.036 1.856-.034.414-.092.58-.138.67a1.6 1.6 0 01-.7.7c-.09.046-.256.104-.67.138-.43.035-.993.036-1.856.036H5.8c-.863 0-1.426-.001-1.856-.036-.414-.034-.58-.092-.67-.138a1.6 1.6 0 01-.7-.7c-.046-.09-.104-.256-.138-.67-.035-.43-.036-.993-.036-1.856V5.8c0-.863.001-1.426.036-1.856.034-.414.092-.58.138-.67a1.6 1.6 0 01.7-.7c.09-.046.256-.104.67-.138.43-.035.993-.036 1.856-.036h4.4c.863 0 1.426.001 1.856.036.414.034.58.092.67.138a1.6 1.6 0 01.7.7c.046.09.104.256.138.67.035.43.036.993.036 1.856z\\\"/></svg>\",\n      \"respond\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M8.29 0a6.29 6.29 0 0 1 6.29 6.29c0 6.29-6.284 8.71-6.284 8.71v-2.42H8.29A6.29 6.29 0 1 1 8.29 0zm.58 9.103a.578.578 0 1 0 0 .001zm-.578-5.71c-1.01 0-1.84.78-1.925 1.77l.957.135a.97.97 0 0 1 1.938.028c0 .964-1.355.964-1.355 2.312v.108h.77v-.108c0-.77 1.547-.963 1.547-2.312a1.934 1.934 0 0 0-1.932-1.932z\\\"/></svg>\",\n      \"responder-off\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M0 15.893l3.589-1.232c1.25.839 2.786 1.304 4.411 1.304 4.518 0 8-3.589 8-8C16 3.572 12.429.036 8 .036c-4.411 0-8 3.536-8 7.929 0 1.571.464 3.018 1.214 4.268zm6.804-4.411L5.25 9.857 2.982 9.5V6.518l2.268-.339 1.554-1.625h.179v6.929h-.179zm4.857-3.518l1.786 1.804a.637.637 0 0 1 0 .875c-.107.107-.25.161-.411.161s-.304-.054-.429-.161l-1.821-1.839-1.804 1.839a.58.58 0 0 1-.429.161.63.63 0 0 1-.411-.161.637.637 0 0 1 0-.875l1.804-1.804-1.804-1.821a.593.593 0 1 1 .839-.839l1.804 1.804 1.821-1.804a.593.593 0 1 1 .839.839z\\\"/></svg>\",\n      \"responder-on\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M0 15.893l3.589-1.232c1.25.839 2.786 1.304 4.411 1.304 4.518 0 8-3.589 8-8C16 3.572 12.429.036 8 .036c-4.411 0-8 3.536-8 7.929 0 1.571.464 3.018 1.214 4.268zm12.929-7.857c0 1.357-.589 2.625-1.679 3.625-.125.071-.286.161-.464.161s-.357-.089-.464-.161a.557.557 0 0 1 0-.857c.839-.714 1.304-1.696 1.304-2.768 0-1.054-.464-2.036-1.304-2.786-.268-.232-.268-.589 0-.821.25-.232.661-.232.929 0 1.089.964 1.679 2.232 1.679 3.607zm-6.125 3.446L5.25 9.857 2.982 9.5V6.518l2.268-.339 1.554-1.625h.179v6.929h-.179zm1.928-.678c-.179 0-.357-.054-.464-.161-.268-.232-.268-.589 0-.821 1.071-.946 1.071-2.482 0-3.446-.268-.232-.268-.571 0-.804.25-.232.661-.232.929 0 2.196 1.911.804 5.232-.464 5.232z\\\"/></svg>\",\n      \"right\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M1.065 3.328C1 3.456 1 3.624 1 3.96v.08c0 .336 0 .504.065.632a.6.6 0 00.263.263C1.456 5 1.624 5 1.96 5h12.08c.336 0 .504 0 .632-.065a.6.6 0 00.263-.263C15 4.544 15 4.376 15 4.04v-.08c0-.336 0-.504-.065-.632a.6.6 0 00-.263-.263C14.544 3 14.376 3 14.04 3H1.96c-.336 0-.504 0-.632.065a.6.6 0 00-.263.263zM8 7.96c0-.336 0-.504.065-.632a.6.6 0 01.263-.263C8.456 7 8.624 7 8.96 7h5.08c.336 0 .504 0 .632.065a.6.6 0 01.263.263c.065.128.065.296.065.632v.08c0 .336 0 .504-.065.632a.6.6 0 01-.263.263C14.544 9 14.376 9 14.04 9H8.96c-.336 0-.504 0-.632-.065a.6.6 0 01-.263-.263C8 8.544 8 8.376 8 8.04v-.08zm-4 4c0-.336 0-.504.065-.632a.6.6 0 01.263-.263C4.456 11 4.624 11 4.96 11h9.08c.336 0 .504 0 .632.065a.6.6 0 01.263.263c.065.128.065.296.065.632v.08c0 .336 0 .504-.065.632a.6.6 0 01-.263.263c-.128.065-.296.065-.632.065H4.96c-.336 0-.504 0-.632-.065a.6.6 0 01-.263-.263C4 12.544 4 12.376 4 12.04v-.08z\\\"/></svg>\",\n      \"rocket-ship\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M4.485 5.381l2.357-.587L5.04 9.017l-.19-.08a.44.44 0 0 0-.524.143l-.618.833-3.253-.19L2.678 6.61a3.16 3.16 0 0 1 1.807-1.229zm6.178 3.642l.543.135-.587 2.357a3.16 3.16 0 0 1-1.229 1.807l-3.113 2.223-.19-3.254.833-.617a.44.44 0 0 0 .143-.525l-.08-.189 3.68-1.937z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M14.919 1.083C14.643.804 14.19.7 13.704.699c-.502-.001-1.103.105-1.749.314-1.292.419-2.801 1.263-4.099 2.56-1.702 1.702-2.805 3.636-3 5.133l-.018.137 2.32 2.319.136-.018c1.497-.195 3.43-1.298 5.133-3 1.297-1.298 2.14-2.805 2.557-4.097.21-.645.315-1.246.314-1.747-.001-.488-.104-.94-.38-1.217zm-4.72 1.908c-.325.325-.55.706-.644 1.071-.09.36-.063.757.21 1.03.274.274.672.302 1.03.21.366-.092.748-.318 1.072-.642.325-.325.55-.706.643-1.072.091-.359.063-.756-.21-1.03-.273-.273-.671-.301-1.03-.21-.365.093-.747.318-1.072.643z\\\"/><path d=\\\"M4.37 10.3L3 11.73a3.11 3.11 0 0 0-.79 2.11 3.59 3.59 0 0 0 2.12-.78l1.37-1.42-1.33-1.34z\\\"/></svg>\",\n      \"rounded-check\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zM5.641 7.641L6.85 8.85a.2.2 0 0 0 .292-.01l3.218-3.678a.2.2 0 0 1 .292-.01l1.012 1.012a.5.5 0 0 1 .016.69l-4.326 4.759a.5.5 0 0 1-.724.017L4.354 9.354a.5.5 0 0 1 0-.708l1.005-1.005a.2.2 0 0 1 .282 0z\\\"/></svg>\",\n      \"rss\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M10.482 5.518C12.643 7.697 14 10.697 14 14h-2.304A9.693 9.693 0 0 0 2 4.304V2c3.304 0 6.304 1.357 8.482 3.518zM2 8.375V6.089c2.179 0 4.161.875 5.589 2.321a7.826 7.826 0 0 1 2.321 5.589H7.624c0-1.339-.607-2.911-1.643-3.982a5.649 5.649 0 0 0-3.982-1.643zm1.607 2.429a1.581 1.581 0 0 1 1.589 1.589c0 .429-.179.821-.464 1.125-.286.286-.679.464-1.125.464s-.839-.179-1.143-.464A1.64 1.64 0 0 1 2 12.393c0-.446.179-.839.464-1.125a1.65 1.65 0 0 1 1.143-.464z\\\"/></svg>\",\n      \"rules-series\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8.21 14.752l5.042-6.303c.4-.499.6-.749.6-.959a.6.6 0 00-.226-.47c-.164-.13-.484-.13-1.123-.13H9.5V1.626c0-.84 0-1.259-.157-1.43a.6.6 0 00-.536-.189c-.23.036-.492.364-1.017 1.02L2.748 7.33c-.4.5-.6.749-.6.959a.6.6 0 00.226.47c.164.13.484.13 1.123.13h4.42c.304 0 .415.401.154.558L6.5 10.39v3.763c0 .84 0 1.259.157 1.43a.6.6 0 00.536.189c.23-.036.492-.364 1.017-1.02z\\\"/></svg>\",\n      \"rules\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8.875 7.643L8.5 8 7.339 9.286 6.178 10.59l-.839.929-.071.089c-.482.518-1.089.786-1.768.786H1.857c-.464 0-.821-.393-.821-.911 0-.482.357-.911.821-.911H3.5c.25 0 .482-.125.679-.339l1.679-1.839.321-.393L7.34 6.715l2.054-2.25c.482-.554 1.161-.857 1.821-.857h.375c.214 0 .357-.179.393-.429v-.911c0-.089.036-.179.089-.214.089-.036.161-.036.214 0l2.536 2.107a.499.499 0 0 1 .143.357c0 .125-.018.286-.143.375l-.036.036-1.393 1.161-1.071.875-.036.036c-.036.036-.054.036-.125.036-.089 0-.179-.125-.214-.25V5.93c.036-.25-.125-.464-.339-.482-.018-.036-.089-.036-.143 0h-.25a.851.851 0 0 0-.643.304zM1.893 5.446l-.036-.036a.812.812 0 0 1-.696-.429C1 4.677 1 4.338 1.161 4.07c.143-.286.429-.464.696-.464h1.607c.679 0 1.321.286 1.804.804l.089.089.821.946.036.018.089.107c.196.232.25.518.196.821a.943.943 0 0 1-.5.607.745.745 0 0 1-.875-.161l-.036-.054-.911-1.018c-.196-.196-.429-.321-.714-.321H1.892zm10.393 3.59l2.536 2.071c.089.071.143.214.179.339a.512.512 0 0 1-.143.375l-.071.054-2.464 2.054-.036.018c-.054.036-.143.036-.214 0-.054-.018-.089-.125-.089-.214v-.857c0-.232-.161-.446-.339-.482h-.482a2.616 2.616 0 0 1-1.768-.821l-.893-1h.036c-.036 0-.054-.036-.054-.036l-.071-.054c-.179-.214-.25-.536-.214-.839.071-.268.25-.518.5-.625a.772.772 0 0 1 .875.143l.054.089.946 1.018a.786.786 0 0 0 .625.304h.321c.214.018.429-.161.464-.411v-.929c0-.107.036-.161.089-.214.089-.036.161-.036.214.018z\\\"/></svg>\",\n      \"salesforce\": \"<svg width=\\\"16\\\" height=\\\"11\\\" viewBox=\\\"0 0 16 11\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M6.64 1.22A2.83 2.83 0 0 1 8.662.37c1.055 0 1.97.576 2.462 1.434a3.501 3.501 0 0 1 1.389-.288c1.899 0 3.44 1.526 3.44 3.41 0 1.882-1.541 3.409-3.44 3.409-.235 0-.457-.024-.68-.07a2.522 2.522 0 0 1-2.192 1.267 2.62 2.62 0 0 1-1.102-.247A2.873 2.873 0 0 1 5.902 11a2.863 2.863 0 0 1-2.69-1.843A2.653 2.653 0 0 1 .006 6.571c0-.979.533-1.831 1.33-2.292a2.963 2.963 0 0 1-.252-1.21c0-1.681 1.39-3.04 3.1-3.04.997 0 1.888.466 2.456 1.192z\\\"/></svg>\",\n      \"save\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M10.5 1.339V14.66l-2.518-2.679L5.5 14.66V1.339h5z\\\"/></svg>\",\n      \"saved-reply\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M2.316 3.707C2.392 2.167 3.674 1 5.215 1h5.57c1.541 0 2.823 1.168 2.9 2.707a99.012 99.012 0 01-.069 10.791.967.967 0 01-1.44.78L8.48 13.26a1 1 0 00-.958 0l-3.697 2.017a.967.967 0 01-1.44-.78A94.545 94.545 0 012.2 8.5c0-1.904.054-3.54.116-4.793zM5.215 2.4h5.57c.83 0 1.463.616 1.501 1.376l.01.224H3.704l.01-.224c.038-.76.672-1.376 1.502-1.376zm-1.567 3a98.55 98.55 0 00.092 8.329l3.11-1.697a2.4 2.4 0 012.3 0l3.11 1.697a98.76 98.76 0 00.092-8.329H3.647z\\\"/></svg>\",\n      \"schedule\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M3.865.327C3.8.456 3.8.624 3.8.96v.047A3 3 0 001 4v8a3 3 0 003 3h2.75a5.888 5.888 0 01-.765-1.4H4.1a1.7 1.7 0 01-1.7-1.7V5.3a1.7 1.7 0 011.7-1.7h7.8a1.7 1.7 0 011.7 1.7v.684c.503.192.974.45 1.4.765V4a3 3 0 00-2.8-2.993V.96c0-.336 0-.504-.066-.633a.6.6 0 00-.262-.262C11.744 0 11.576 0 11.24 0h-.08c-.336 0-.504 0-.633.065a.6.6 0 00-.262.262C10.2.456 10.2.624 10.2.96V1H5.8V.96c0-.336 0-.504-.065-.633a.6.6 0 00-.263-.262C5.344 0 5.176 0 4.84 0h-.08c-.336 0-.504 0-.632.065a.6.6 0 00-.263.262z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M11.5 7a4.5 4.5 0 100 9 4.5 4.5 0 100-9zm-.692 4.672l.165-2.3a.4.4 0 01.4-.372h.262a.4.4 0 01.398.364l.158 1.73a.4.4 0 00.166.288l1.606 1.15a.4.4 0 01.11.531l-.132.22a.4.4 0 01-.526.151l-2.267-1.162a.7.7 0 01-.34-.6z\\\"/></svg>\",\n      \"search\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M10.125 9.054l3.536 3.536c.321.321.339.839.054 1.143-.304.268-.804.25-1.125-.071l-3.536-3.536c-.732.5-1.625.875-2.589.875-2.464 0-4.464-2.054-4.464-4.518s2-4.482 4.464-4.482 4.464 2.018 4.464 4.482c0 .982-.304 1.839-.804 2.571zM3.5 6.482c0 1.661 1.321 2.982 2.964 2.982s3-1.321 3-2.982c0-1.625-1.357-2.982-3-2.982S3.5 4.857 3.5 6.482z\\\"/></svg>\",\n      \"segment\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8.732 1.321h.018c3.232 0 5.929 2.679 5.929 5.946H8.733V1.321zM1.339 8.732c0-3.232 2.625-5.911 5.893-5.911v5.911h5.964c0 3.286-2.661 5.946-5.929 5.946-3.286 0-5.929-2.679-5.929-5.946z\\\"/></svg>\",\n      \"sent-message\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 .1a.9.9 0 00-.9.9v2.778l-1.303-.52a.8.8 0 00-.912 1.254l2.5 3a.8.8 0 001.23 0l2.5-3a.8.8 0 00-.912-1.255L8.9 3.778V1A.9.9 0 008 .1z\\\"/><path d=\\\"M2.525 5.23a.418.418 0 00-.092-.093.21.21 0 00-.081-.029.404.404 0 00-.123.016 2.377 2.377 0 00-.591.203A3 3 0 00.327 6.638C0 7.28 0 8.12 0 9.8v1.503c0 1.461 0 2.192.303 2.814a3.15 3.15 0 001.224 1.3c.602.34 1.285.38 2.651.463C5.326 15.95 6.634 16 8 16s2.674-.05 3.822-.12c1.366-.082 2.049-.123 2.651-.463.504-.284.97-.78 1.224-1.3.303-.622.303-1.353.303-2.814V9.8c0-1.68 0-2.52-.327-3.162a3 3 0 00-1.311-1.311 2.377 2.377 0 00-.591-.203.38.38 0 00-.123-.016.21.21 0 00-.081.029.386.386 0 00-.092.094l-.621.744c-.084.101-.126.151-.138.19a.196.196 0 00.1.236c.035.018.103.024.24.035.414.034.58.092.67.138a1.6 1.6 0 01.7.7c.046.09.104.256.138.67.035.43.036.993.036 1.856v1.503c0 .754-.001 1.233-.033 1.603-.03.345-.08.497-.129.598a1.756 1.756 0 01-.652.693c-.258.146-.556.196-2.049.286A62.608 62.608 0 018 14.6c-1.332 0-2.611-.05-3.737-.117-1.492-.09-1.791-.14-2.049-.286a1.756 1.756 0 01-.652-.693c-.05-.101-.1-.253-.13-.598-.03-.37-.032-.849-.032-1.603V9.8c0-.863.001-1.426.036-1.856.034-.414.092-.58.138-.67a1.6 1.6 0 01.7-.7c.09-.046.256-.104.67-.138.137-.011.205-.017.24-.035a.196.196 0 00.1-.236c-.012-.039-.054-.089-.138-.19l-.62-.744z\\\"/><path d=\\\"M2.908 8.04a.75.75 0 011.052-.132l3.125 2.43c.547.426.655.491.745.516a.65.65 0 00.34 0c.09-.025.198-.09.745-.516l3.125-2.43a.75.75 0 01.92 1.184l-3.124 2.43-.09.07c-.4.313-.763.595-1.184.71-.368.1-.756.1-1.124 0-.422-.114-.784-.397-1.185-.71l-.089-.07-3.124-2.43a.75.75 0 01-.132-1.052z\\\"/></svg>\",\n      \"series\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8 1.18A.7.7 0 019.035.564l3.338 1.82a.7.7 0 010 1.23l-3.338 1.82A.7.7 0 018 4.821V1.179z\\\"/><path d=\\\"M3.9 5.75A1.85 1.85 0 015.75 3.9H6a.9.9 0 000-1.8h-.25a3.65 3.65 0 100 7.3h4.5a1.85 1.85 0 010 3.7H9.5a.9.9 0 100 1.8h.75a3.65 3.65 0 000-7.3h-4.5A1.85 1.85 0 013.9 5.75z\\\"/><path d=\\\"M5.3 16a2.3 2.3 0 100-4.6 2.3 2.3 0 000 4.6z\\\"/></svg>\",\n      \"sessions\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M14.929 2.286v11.429H1.09V2.286h13.839zm-1.358 1.357H2.446v8.714h11.125V3.643zm-7.41 4.946l1.964-4.304 1.804 5.393 1.518-3.679 1.339 3.286-.714.161-.643-1.589-1.571 3.857-1.857-5.518L6.34 9.839 4.894 8.107l-.929.679-.25.179-.536-.339 1.857-1.339z\\\"/></svg>\",\n      \"settings\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M8 1.7a6.4 6.4 0 00-.47.017h-.002l-.007.005a.088.088 0 00-.026.04L7.12 2.904a1.5 1.5 0 01-2.1.87l-1.073-.541a.088.088 0 00-.046-.01.035.035 0 00-.008 0l-.001.002a6.159 6.159 0 00-.666.666h-.001l-.002.009c0 .01 0 .027.01.046l.541 1.073a1.5 1.5 0 01-.87 2.1l-1.14.376a.088.088 0 00-.04.026l-.005.007v.001a6.4 6.4 0 000 .942v.001l.004.007c.007.008.02.019.04.026l1.142.376a1.5 1.5 0 01.87 2.1l-.541 1.073a.088.088 0 00-.01.046l.001.008v.001c.206.239.428.461.667.666v.001l.009.002c.01 0 .027 0 .046-.01l1.074-.541a1.5 1.5 0 012.099.87l.376 1.14a.083.083 0 00.026.04.037.037 0 00.007.005h.001a6.434 6.434 0 00.942 0h.001l.007-.004a.088.088 0 00.026-.04l.376-1.142a1.5 1.5 0 012.1-.87l1.073.541c.019.01.036.012.046.01h.007l.001-.001h.001a6.26 6.26 0 00.666-.667h.001l.002-.009a.088.088 0 00-.01-.046l-.541-1.074a1.5 1.5 0 01.87-2.099l1.14-.376a.088.088 0 00.041-.026.037.037 0 00.005-.007v-.001a6.38 6.38 0 000-.942v-.001l-.005-.007a.088.088 0 00-.04-.026l-1.142-.376a1.5 1.5 0 01-.87-2.1l.541-1.073a.088.088 0 00.01-.046.032.032 0 000-.008l-.002-.001a6.346 6.346 0 00-.666-.666v-.001l-.009-.002a.088.088 0 00-.046.01l-1.073.541a1.5 1.5 0 01-2.1-.87l-.376-1.14a.088.088 0 00-.026-.04.035.035 0 00-.007-.005h-.001A6.401 6.401 0 008 1.7zM7.426.321a7.8 7.8 0 011.148 0 1.448 1.448 0 011.26 1.002l.377 1.142a.1.1 0 00.14.058l1.073-.54a1.448 1.448 0 011.6.18 7.8 7.8 0 01.812.814c.4.465.432 1.101.182 1.6l-.54 1.072a.1.1 0 00.057.14l1.142.377c.529.175.957.647 1.002 1.26a7.794 7.794 0 010 1.148 1.448 1.448 0 01-1.002 1.26l-1.142.377a.1.1 0 00-.058.14l.54 1.073c.252.498.22 1.134-.18 1.6a7.8 7.8 0 01-.814.812 1.45 1.45 0 01-1.599.182l-1.073-.54a.1.1 0 00-.14.057l-.377 1.142a1.448 1.448 0 01-1.26 1.002 7.794 7.794 0 01-1.148 0 1.448 1.448 0 01-1.26-1.002l-.377-1.142c-.019-.058-.085-.085-.14-.058l-1.073.54a1.448 1.448 0 01-1.599-.18 7.743 7.743 0 01-.813-.814 1.448 1.448 0 01-.182-1.6l.54-1.072a.1.1 0 00-.057-.14l-1.142-.377a1.448 1.448 0 01-1.002-1.26 7.8 7.8 0 010-1.148 1.448 1.448 0 011.002-1.26l1.142-.377a.1.1 0 00.058-.14l-.54-1.073a1.448 1.448 0 01.18-1.6 7.8 7.8 0 01.814-.812 1.448 1.448 0 011.6-.182l1.072.54a.1.1 0 00.14-.057l.377-1.142A1.448 1.448 0 017.426.321zM8 6.7a1.3 1.3 0 100 2.6 1.3 1.3 0 000-2.6zM5.3 8a2.7 2.7 0 115.4 0 2.7 2.7 0 01-5.4 0z\\\"/></svg>\",\n      \"share\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M1 3a2.7 2.7 0 114.019 2.357A3.793 3.793 0 008 6.8a3.793 3.793 0 002.981-1.443A2.7 2.7 0 0112.3.3a2.7 2.7 0 01.147 5.396A5.202 5.202 0 018.7 8.153v2.239a2.701 2.701 0 11-1.4 0V8.153a5.202 5.202 0 01-3.747-2.457A2.7 2.7 0 011 3zm2.7-1.3a1.3 1.3 0 100 2.6 1.3 1.3 0 000-2.6zm4.3 10a1.3 1.3 0 100 2.6 1.3 1.3 0 000-2.6zM11 3a1.3 1.3 0 112.6 0A1.3 1.3 0 0111 3z\\\"/></svg>\",\n      \"sketch-app\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M6.054 2H3.84L.001 4.839l.107.179L4.054 5zm4.732 3l-2-3H6.982l-2 3h5.804zM16 5l-2.839-3H9.732l2 3H16zM3.911 6H.715l5.839 7.768zm.839 0l3.143 9.25L11.018 6H4.75zm7.107 0l-2.804 8.25L15.41 6h-3.554z\\\"/></svg>\",\n      \"sla\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8 5a3.5 3.5 0 012.832 5.557L8 8.5V5zm6.05-1.818l.468.586c.113.083.08.266-.064.367L12.67 5.43c-.083.111-.267.079-.369-.065l-.468-.586c-.112-.083-.08-.266.065-.367l1.845-1.284c.072-.05.257-.018.307.054z\\\"/><rect x=\\\"5.5\\\" width=\\\"5\\\" height=\\\"1.5\\\" rx=\\\".5\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M8 13.5a5 5 0 100-10 5 5 0 000 10zM8 15A6.5 6.5 0 108 2a6.5 6.5 0 000 13z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M8.5 1v2h-1V1h1z\\\"/></svg>\",\n      \"slipping-away\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8.357 7.214l-.089.268c-.018.054-.036.143-.089.286l-.143.357a34.657 34.657 0 0 0-.679 1.946H5.393l1.839 4.839 4.607-4.839H9.768l1.571-4.446H7.16l.196-.482c.054-.161.268-.821.393-1.161.446-1.357.768-2.321.946-2.893H6.338L4.177 7.214h4.179z\\\"/></svg>\",\n      \"small-check\": \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M12.537 4.074a.286.286 0 0 0-.404.02l-5.895 6.528-3.061-2.765a.286.286 0 0 0-.403.02l-.7.776a.285.285 0 0 0 .02.403l4.042 3.65a.278.278 0 0 0 .139.067.282.282 0 0 0 .276-.087l6.781-7.51a.285.285 0 0 0-.02-.402l-.775-.7z\\\"/></svg>\",\n      \"small-close\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8.018 6.643L5.375 4 4 5.375l2.643 2.643L4 10.643 5.375 12l2.643-2.625L10.625 12 12 10.643 9.357 8.018 12 5.375 10.643 4z\\\"/></svg>\",\n      \"small-down-arrow\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M4.302 6.98A.6.6 0 014.766 6h6.468a.6.6 0 01.464.98l-2.924 3.574a1 1 0 01-1.548 0L4.302 6.98z\\\"/></svg>\",\n      \"small-ellipsis\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M3.5 9.5A1.51 1.51 0 0 1 2 8c0-.839.679-1.5 1.5-1.5.839 0 1.5.661 1.5 1.5 0 .821-.661 1.5-1.5 1.5zm4.5 0A1.51 1.51 0 0 1 6.5 8c0-.839.679-1.5 1.5-1.5.839 0 1.5.661 1.5 1.5 0 .821-.661 1.5-1.5 1.5zm4.5 0A1.51 1.51 0 0 1 11 8c0-.839.679-1.5 1.5-1.5.839 0 1.5.661 1.5 1.5 0 .821-.661 1.5-1.5 1.5z\\\"/></svg>\",\n      \"small-thin-down-arrow\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M3.934 5.934a.8.8 0 011.132 0L8 8.87l2.934-2.935a.8.8 0 011.132 1.132l-3.5 3.5a.8.8 0 01-1.132 0l-3.5-3.5a.8.8 0 010-1.132z\\\"/></svg>\",\n      \"small-thin-right-arrow\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M5.434 3.434a.8.8 0 011.132 0l4 4a.8.8 0 010 1.132l-4 4a.8.8 0 01-1.132-1.132L8.87 8 5.434 4.566a.8.8 0 010-1.132z\\\"/></svg>\",\n      \"small-up-arrow\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M4.302 9.02a.6.6 0 00.464.98h6.468a.6.6 0 00.464-.98L8.774 5.446a1 1 0 00-1.548 0L4.302 9.02z\\\"/></svg>\",\n      \"star-outlined\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M9.152 6.76L8 4.33 6.848 6.76l-2.651.352 1.94 1.854-.488 2.648L8 10.33l2.35 1.285-.486-2.648 1.94-1.854-2.652-.352zm4.915-.865c.415.056.581.57.277.861L11.48 9.495l.72 3.911a.499.499 0 01-.727.532L8 12.04l-3.472 1.898a.499.499 0 01-.727-.532l.72-3.911-2.865-2.739a.502.502 0 01.277-.86l3.917-.52 1.7-3.59a.497.497 0 01.9 0l1.7 3.59 3.917.52z\\\"/></svg>\",\n      \"star\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M7.55 1.785a.498.498 0 01.9 0l1.584 3.345a.498.498 0 00.384.281l3.649.484c.415.056.581.57.277.861l-2.669 2.551a.504.504 0 00-.146.455l.67 3.644a.499.499 0 01-.727.532L8.237 12.17a.495.495 0 00-.474 0l-3.235 1.768a.499.499 0 01-.727-.532l.67-3.644a.503.503 0 00-.146-.455l-2.67-2.551a.502.502 0 01.278-.86l3.649-.485a.498.498 0 00.384-.28L7.55 1.784z\\\"/></svg>\",\n      \"stop\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 1c3.857 0 7 3.143 7 7s-3.143 7-7 7-7-3.143-7-7 3.143-7 7-7zM5 11h6V5H5v6z\\\"/></svg>\",\n      \"stripe\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M9.018 7.179C11.125 8 12.5 8.858 12.5 11.036c0 1.321-.446 2.321-1.321 3.018-.786.625-1.929.946-3.321.946-1.75 0-3.446-.518-4.357-1.036l.482-2.929c1.054.625 2.679 1.107 3.661 1.107.804 0 1.232-.286 1.232-.804 0-.536-.446-.875-1.804-1.357-2.107-.768-3.411-1.679-3.411-3.804 0-1.179.429-2.143 1.232-2.821.786-.625 1.875-.982 3.196-.982 1.857 0 3.196.518 3.857.839l-.464 2.893c-.839-.411-2.036-.875-3.214-.875-.643 0-1 .25-1 .696 0 .518.625.839 1.75 1.25z\\\"/></svg>\",\n      \"sub-heading\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M.092 12.63h2.002V8.977h3.692v3.653h2.002v-9.1H5.786v3.601H2.094V3.53H.092v9.1zm9.022 0h6.734v-1.729h-3.965l1.482-1.144c1.612-1.248 2.392-2.002 2.392-3.523 0-1.729-1.248-2.834-3.133-2.834-1.625 0-2.496.663-3.393 1.885l1.404 1.131c.676-.832 1.157-1.222 1.859-1.222.715 0 1.222.416 1.222 1.183 0 .754-.442 1.248-1.573 2.184l-3.029 2.483v1.586z\\\"/></svg>\",\n      \"table\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M7 4H1v4h6V4zm1 0v4h6V4H8zM7 9H1v3.8c0 .11.09.2.2.2H7V9zm1 4V9h6v3.8a.2.2 0 01-.2.2H8zm0 1h5.8a1.2 1.2 0 001.2-1.2V2.2A1.2 1.2 0 0013.8 1H1.2A1.2 1.2 0 000 2.2v10.6A1.2 1.2 0 001.2 14H8z\\\"/></svg>\",\n      \"tag\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M1.5 7.743a2 2 0 00.586 1.414l5.657 5.657a2 2 0 002.828 0l4.243-4.243a2 2 0 000-2.828L9.157 2.086A2 2 0 007.743 1.5H3.5a2 2 0 00-2 2v4.243zm5.818-.425a1.7 1.7 0 10-2.404-2.404 1.7 1.7 0 002.404 2.404z\\\"/></svg>\",\n      \"thin-down-arrow\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M3.934 5.934a.8.8 0 011.132 0L8 8.87l2.934-2.935a.8.8 0 011.132 1.132l-3.5 3.5a.8.8 0 01-1.132 0l-3.5-3.5a.8.8 0 010-1.132z\\\"/></svg>\",\n      \"thin-left-arrow\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M10.566 3.434a.8.8 0 00-1.132 0l-4 4a.8.8 0 000 1.132l4 4a.8.8 0 001.132-1.132L7.13 8l3.435-3.434a.8.8 0 000-1.132z\\\"/></svg>\",\n      \"thin-right-arrow\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M5.434 3.434a.8.8 0 011.132 0l4 4a.8.8 0 010 1.132l-4 4a.8.8 0 01-1.132-1.132L8.87 8 5.434 4.566a.8.8 0 010-1.132z\\\"/></svg>\",\n      \"thin-up-arrow\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M3.934 10.066a.8.8 0 001.132 0L8 7.13l2.934 2.935a.8.8 0 101.132-1.132l-3.5-3.5a.8.8 0 00-1.132 0l-3.5 3.5a.8.8 0 000 1.132z\\\"/></svg>\",\n      \"thumbsup\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M9.105.3c-.511 0-.97.313-1.156.787l-.032.07a118.364 118.364 0 01-.497 1.069 58.04 58.04 0 01-.93 1.908c-.327.628-1.071 1.916-1.453 2.571a2.009 2.009 0 00-.255 1.278l.618 4.621a1.68 1.68 0 001.418 1.438l4.342.643a.728.728 0 00.05.005c1.359.105 2.542-.841 2.945-2.046v-.002l1.146-3.376.001-.003c.252-.756.273-1.67-.118-2.434-.418-.816-1.246-1.338-2.412-1.338h-2.07c.311-1.115.548-2.17.53-3.008-.01-.541-.128-1.11-.51-1.546C10.32.481 9.745.3 9.105.3zm.084 1.441l.018-.038c.305.016.416.105.463.158.07.08.155.26.163.65.016.802-.29 1.989-.733 3.48a.7.7 0 00.671.9h3c.7 0 1.014.279 1.167.576.18.35.2.86.037 1.351v.002l-1.147 3.376v.003c-.227.68-.868 1.133-1.49 1.097l-4.315-.64a.278.278 0 01-.235-.238L6.17 7.797a.609.609 0 01.077-.388c.376-.645 1.139-1.964 1.485-2.627a59.24 59.24 0 00.956-1.961 141.961 141.961 0 00.501-1.08z\\\"/><path d=\\\"M1 13.477c0 .289.233.523.522.523h1.871a.522.522 0 00.518-.585L3.17 7.46A.522.522 0 002.651 7h-1.12a.522.522 0 00-.522.521L1 13.477z\\\"/></svg>\",\n      \"tooltip\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M1.321 7.982c0-3.661 2.982-6.661 6.679-6.661 1.839 0 3.411.643 4.732 1.946 1.304 1.321 1.946 2.893 1.946 4.714 0 3.696-2.982 6.696-6.679 6.696-1.857 0-3.429-.661-4.714-1.982-1.304-1.286-1.964-2.857-1.964-4.714zm4.947-1.946l.179-.125c.018 0 .054-.036.143-.089.071-.054.125-.071.161-.089.214-.125.446-.196.714-.25.161-.018.268-.036.321-.036.589 0 .768.214.768.643 0 .304-.143.554-.429.786l-.446.411a3.07 3.07 0 0 0-.464.536c-.214.286-.393.804-.393 1.393v.179c0 .089 0 .143.018.179l.018.179h1.536v-.179c0-.429.161-.821.482-1.161l.232-.196a1.67 1.67 0 0 1 .232-.196 2.38 2.38 0 0 0 .5-.464c.304-.375.554-.893.554-1.661 0-1.232-.911-2.018-2.357-2.018-.875 0-1.661.232-2.357.696l-.125.089zm.661 5.946c.196.196.429.286.732.286.661 0 1.089-.393 1.089-1.036 0-.625-.393-1-1.089-1-.625 0-1.036.375-1.036 1 0 .304.107.554.304.75z\\\"/></svg>\",\n      \"top\": \"<svg height=\\\"16\\\" width=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M11.833 7.833a.5.5 0 01-.452.843L9.2 8.24v5.16a.6.6 0 01-.6.6H7.4a.6.6 0 01-.6-.6V8.24l-2.18.436a.5.5 0 01-.452-.844l3.408-3.408a.6.6 0 01.849 0zM14 2.4a.6.6 0 01-.6.6H2.6a.6.6 0 01-.6-.6v-.8a.6.6 0 01.6-.6h10.8a.6.6 0 01.6.6z\\\"/></svg>\",\n      \"tours-type-to-progress\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M2 3v11h12V2H2v1zm11 10V3H3v10h10z\\\"/><path d=\\\"M7.5 4h1v8h-1z\\\"/><path d=\\\"M6 4h4v1H6zm0 7h4v1H6z\\\"/></svg>\",\n      \"transfer\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M10.512 1.385a.8.8 0 00-1.296.772L9.504 3.6H5a.9.9 0 100 1.8h4.504l-.288 1.443a.8.8 0 001.296.772l3-2.5a.8.8 0 000-1.23l-3-2.5zM.1 4.5a.9.9 0 01.9-.9h1a.9.9 0 010 1.8H1a.9.9 0 01-.9-.9zM5.488 8.385a.8.8 0 011.296.772L6.496 10.6H11a.9.9 0 110 1.8H6.496l.288 1.443a.8.8 0 01-1.296.772l-3-2.5a.8.8 0 010-1.23l3-2.5zM15.9 11.5a.9.9 0 00-.9-.9h-1a.9.9 0 100 1.8h1a.9.9 0 00.9-.9z\\\"/></svg>\",\n      \"trash\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M6.4 1a.4.4 0 00-.4.4v.17c-1.467.099-2.64.279-3.178.371a.39.39 0 00-.322.387V3.6c0 .22.18.4.4.4h10.2a.4.4 0 00.4-.4V2.328a.39.39 0 00-.322-.387A32.048 32.048 0 0010 1.57V1.4a.4.4 0 00-.4-.4H6.4zm6.1 4l-.47 8.918c-.018.36-.234.674-.583.76C10.869 14.822 9.79 15 8 15s-2.869-.178-3.447-.322c-.35-.087-.565-.4-.584-.76L3.5 5h9z\\\"/></svg>\",\n      \"trigger\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M7.87 8.65H4.266C4.12 8.65 4 8.524 4 8.364c0-.062.018-.126.052-.176l4.711-6.57a.254.254 0 01.374-.061c.067.054.105.14.105.232V7.35h2.492c.147 0 .266.126.266.286a.317.317 0 01-.052.175l-4.715 6.572a.254.254 0 01-.373.06.296.296 0 01-.106-.232V9.43l1.164-.5c.048-.022.08-.078.08-.137 0-.08-.057-.143-.128-.143z\\\"/></svg>\",\n      \"truncated-message\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13 3v10h-1V4H7v3H4v6H3V6l3-3h7zm-6 9v1H6v-1h1zm3 0v1H9v-1h1z\\\"/></svg>\",\n      \"twitter\": \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M16 3.05a6.713 6.713 0 0 1-1.886.512 3.277 3.277 0 0 0 1.438-1.822 6.447 6.447 0 0 1-2.077.799A3.281 3.281 0 0 0 7.8 4.777c0 .255.031.511.08.751a9.321 9.321 0 0 1-6.762-3.42A3.218 3.218 0 0 0 .67 3.753a3.29 3.29 0 0 0 1.455 2.733A3.14 3.14 0 0 1 .638 6.07v.048a3.29 3.29 0 0 0 2.638 3.213c-.272.08-.56.112-.863.112-.208 0-.416-.016-.624-.064a3.274 3.274 0 0 0 3.07 2.27A6.59 6.59 0 0 1 0 13.008a9.325 9.325 0 0 0 5.019 1.471c6.026 0 9.335-5.003 9.335-9.335 0-.144 0-.287-.016-.431A5.682 5.682 0 0 0 16 3.05z\\\"/></svg>\",\n      \"unassigned\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 9a2.5 2.5 0 100-5 2.5 2.5 0 000 5z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15.5 8a7.5 7.5 0 11-15 0 7.5 7.5 0 0115 0zM3.642 12.269c.144-.306.358-.586.666-.81 1.495-1.082 3.325-1.081 3.684-1.081h.017c.358 0 2.191 0 3.685 1.082.307.223.52.502.664.808a6.1 6.1 0 10-8.716 0z\\\"/></svg>\",\n      \"unfollow\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 0c4.446 0 8 3.554 8 8s-3.554 8-8 8-8-3.554-8-8 3.554-8 8-8zm0 1.786C4.518 1.786 1.786 4.518 1.786 8S4.518 14.214 8 14.214 14.214 11.482 14.214 8 11.482 1.786 8 1.786zM7 8L5 6l1-1 2 2 2-2 1 1-2 2 2 2-1 1-2-2-2 2-1-1z\\\"/></svg>\",\n      \"unlocked\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M7.75 7.179V5.054a3.513 3.513 0 0 1 3.518-3.518h.143c1.946 0 3.5 1.536 3.5 3.518v2.125h-1.75v-.5l.589-.554v-.232h-.589v-.839a1.73 1.73 0 0 0-1.75-1.75h-.143a1.74 1.74 0 0 0-1.75 1.75v2.125h1.268v7.286H1.09V7.179h6.661zm-.714 5.946L6.5 10.75c.357-.196.536-.518.536-.929 0-.625-.5-1.125-1.125-1.125-.589 0-1.089.5-1.089 1.125 0 .411.179.732.536.929l-.536 2.375h2.214z\\\"/></svg>\",\n      \"unsubscribed\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M5.995 5.005a.7.7 0 10-.99.99l5 5a.7.7 0 00.99-.99l-5-5z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M1 8a7 7 0 1114 0A7 7 0 011 8zm7 5.6A5.6 5.6 0 118 2.4a5.6 5.6 0 010 11.2z\\\"/></svg>\",\n      \"up-arrow\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M3.366 9.134A.8.8 0 003.93 10.5h8.138a.8.8 0 00.565-1.366L8.707 5.207a1 1 0 00-1.414 0L3.366 9.134z\\\"/></svg>\",\n      \"upgrade\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M8 15A7 7 0 108 1a7 7 0 000 14zm2.343-6.916a.8.8 0 00.723-1.35l-2.5-2.5a.8.8 0 00-1.132 0l-2.5 2.5a.8.8 0 00.723 1.35L7.1 7.796V11.1a.9.9 0 101.8 0V7.796l1.443.288z\\\"/></svg>\",\n      \"upload\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13.911 8.143H9.482v6.536H6.536V8.143H2.107l5.911-6.821z\\\"/></svg>\",\n      \"vertical-ellipsis\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><rect x=\\\"6.5\\\" y=\\\"1\\\" width=\\\"3\\\" height=\\\"3\\\" rx=\\\"1.25\\\"/><rect x=\\\"6.5\\\" y=\\\"6.5\\\" width=\\\"3\\\" height=\\\"3\\\" rx=\\\"1.25\\\"/><rect x=\\\"6.5\\\" y=\\\"12\\\" width=\\\"3\\\" height=\\\"3\\\" rx=\\\"1.25\\\"/></svg>\",\n      \"vertical-order\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><rect x=\\\"2\\\" y=\\\"11.5\\\" width=\\\"2\\\" height=\\\"2\\\" rx=\\\"1\\\" transform=\\\"rotate(-90 2 11.5)\\\"/><rect x=\\\"7\\\" y=\\\"11.5\\\" width=\\\"2\\\" height=\\\"2\\\" rx=\\\"1\\\" transform=\\\"rotate(-90 7 11.5)\\\"/><rect x=\\\"12\\\" y=\\\"11.5\\\" width=\\\"2\\\" height=\\\"2\\\" rx=\\\"1\\\" transform=\\\"rotate(-90 12 11.5)\\\"/><rect x=\\\"2\\\" y=\\\"6.5\\\" width=\\\"2\\\" height=\\\"2\\\" rx=\\\"1\\\" transform=\\\"rotate(-90 2 6.5)\\\"/><rect x=\\\"7\\\" y=\\\"6.5\\\" width=\\\"2\\\" height=\\\"2\\\" rx=\\\"1\\\" transform=\\\"rotate(-90 7 6.5)\\\"/><rect x=\\\"12\\\" y=\\\"6.5\\\" width=\\\"2\\\" height=\\\"2\\\" rx=\\\"1\\\" transform=\\\"rotate(-90 12 6.5)\\\"/></svg>\",\n      \"video-camera\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M3.4 1a.4.4 0 00-.4.4V2c0 .22.18.4.4.4h5.2A.4.4 0 009 2v-.6a.4.4 0 00-.4-.4H3.4zm1.779 6.055a.382.382 0 00-.579.328l.001 3.234c0 .297.324.48.579.328l2.694-1.617a.382.382 0 000-.656L5.18 7.055z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M0 7.8c0-1.68 0-2.52.327-3.162a3 3 0 011.311-1.311C2.28 3 3.12 3 4.8 3h2.4c1.68 0 2.52 0 3.162.327a3 3 0 011.311 1.311C12 5.28 12 6.12 12 7.8v2.4c0 1.68 0 2.52-.327 3.162a3 3 0 01-1.311 1.311C9.72 15 8.88 15 7.2 15H4.8c-1.68 0-2.52 0-3.162-.327a3 3 0 01-1.311-1.311C0 12.72 0 11.88 0 10.2V7.8zm10.6 0v2.4c0 .863-.001 1.426-.036 1.856-.034.414-.092.58-.138.67a1.6 1.6 0 01-.7.7c-.09.046-.256.104-.67.138-.43.035-.993.036-1.856.036H4.8c-.863 0-1.426-.001-1.856-.036-.414-.034-.58-.092-.67-.138a1.6 1.6 0 01-.7-.7c-.046-.09-.104-.256-.138-.67-.035-.43-.036-.993-.036-1.856V7.8c0-.863.001-1.426.036-1.856.034-.414.092-.58.138-.67a1.6 1.6 0 01.7-.7c.09-.046.256-.104.67-.138.43-.035.993-.036 1.856-.036h2.4c.863 0 1.426.001 1.856.036.414.034.58.092.67.138a1.6 1.6 0 01.7.7c.046.09.104.256.138.67.035.43.036.993.036 1.856z\\\"/><path d=\\\"M13 7.433a.6.6 0 01.41-.57l1.8-.6a.6.6 0 01.79.57v4.335a.6.6 0 01-.79.569l-1.8-.6a.6.6 0 01-.41-.57V7.434z\\\"/></svg>\",\n      \"video-pointer\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M6.757 5.452A.5.5 0 006 5.881l.002 4.234a.5.5 0 00.757.428l3.526-2.117a.5.5 0 000-.857L6.757 5.452z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M4.8 2H6l.869-.869c.396-.396.594-.594.822-.668a1 1 0 01.618 0c.228.074.426.272.822.668L10 2h1.2c1.68 0 2.52 0 3.162.327a3 3 0 011.311 1.311C16 4.28 16 5.12 16 6.8v2.4c0 1.68 0 2.52-.327 3.162a3 3 0 01-1.311 1.311C13.72 14 12.88 14 11.2 14H4.8c-1.68 0-2.52 0-3.162-.327a3 3 0 01-1.311-1.311C0 11.72 0 10.88 0 9.2V6.8c0-1.68 0-2.52.327-3.162a3 3 0 011.311-1.311C2.28 2 3.12 2 4.8 2zm4.8 1.372c.116.028.238.028.483.028H11.2c.863 0 1.426.001 1.856.036.414.034.58.092.67.138a1.6 1.6 0 01.7.7c.046.09.104.256.138.67.035.43.036.993.036 1.856v2.4c0 .863-.001 1.426-.036 1.856-.034.414-.092.58-.138.67a1.6 1.6 0 01-.7.7c-.09.046-.256.104-.67.138-.43.035-.993.036-1.856.036H4.8c-.863 0-1.426-.001-1.856-.036-.414-.034-.58-.092-.67-.138a1.6 1.6 0 01-.7-.7c-.046-.09-.104-.256-.138-.67-.035-.43-.036-.993-.036-1.856V6.8c0-.863.001-1.426.036-1.856.034-.414.092-.58.138-.67a1.6 1.6 0 01.7-.7c.09-.046.256-.104.67-.138.43-.035.993-.036 1.856-.036h1.117c.245 0 .367 0 .482-.028a1 1 0 00.29-.12c.1-.061.187-.148.36-.32l.81-.81L8 1.98l.141.141.81.81c.173.173.26.26.36.322a1 1 0 00.29.12z\\\"/></svg>\",\n      \"video\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M6.757 5.452A.5.5 0 006 5.881l.002 4.234a.5.5 0 00.757.428l3.526-2.117a.5.5 0 000-.857L6.757 5.452z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M0 6.283c0-1.489 0-2.233.308-2.86.26-.526.73-1.02 1.245-1.302.612-.337 1.313-.37 2.716-.434A81.705 81.705 0 018 1.6a81.7 81.7 0 013.73.087c1.404.065 2.105.097 2.717.434a3.14 3.14 0 011.245 1.303C16 4.05 16 4.794 16 6.283v3.434c0 1.489 0 2.233-.309 2.86a3.135 3.135 0 01-1.244 1.302c-.612.337-1.313.37-2.716.434-1.107.05-2.374.087-3.731.087-1.357 0-2.624-.036-3.73-.087-1.404-.065-2.105-.097-2.717-.434a3.136 3.136 0 01-1.245-1.303C0 11.95 0 11.206 0 9.717V6.283zm14.6 0v3.434c0 .768-.001 1.256-.034 1.633-.03.353-.08.507-.13.608-.133.27-.401.55-.664.695-.261.143-.572.19-2.106.261C10.578 12.964 9.333 13 8 13c-1.333 0-2.577-.036-3.666-.086-1.534-.07-1.845-.118-2.106-.261a1.741 1.741 0 01-.663-.695c-.05-.101-.101-.255-.132-.607-.032-.378-.033-.866-.033-1.634V6.283c0-.768.001-1.257.033-1.634.03-.352.082-.506.132-.607.132-.27.4-.55.663-.695.261-.143.572-.19 2.106-.261A80.3 80.3 0 018 3c1.333 0 2.578.036 3.666.086 1.534.07 1.845.118 2.106.261.263.145.53.426.663.695.05.101.101.255.131.607.033.377.034.866.034 1.634z\\\"/></svg>\",\n      \"visible\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\"><path d=\\\"M8 12.75c-4.279 0-6.404-3.465-6.933-4.476a.59.59 0 0 1 0-.548C1.596 6.715 3.721 3.25 8 3.25s6.404 3.465 6.933 4.476a.59.59 0 0 1 0 .548C14.404 9.285 12.279 12.75 8 12.75zm.004-8.016C6.233 4.734 4.797 6.196 4.797 8s1.436 3.266 3.207 3.265c1.771 0 3.207-1.462 3.207-3.266.001-1.803-1.435-3.265-3.207-3.265zm0 5.344c-1.127 0-2.041-.93-2.041-2.078 0-1.148.914-2.078 2.041-2.078 1.127 0 2.041.93 2.041 2.078 0 1.148-.914 2.078-2.041 2.078z\\\"/></svg>\",\n      \"wave\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M2.788 1.939a.8.8 0 000 1.131l3.96 3.96a.4.4 0 11-.566.566L2.575 3.99a.8.8 0 10-1.131 1.13l4.313 4.313a.4.4 0 01-.565.566l-2.9-2.9a.8.8 0 00-1.13 1.132l5.293 5.294.01.01a5 5 0 008.294-5.074l-1.17-4.848a1 1 0 00-1.973.234V5.47c0 .242 0 .363-.048.42a.2.2 0 01-.167.069c-.074-.006-.16-.092-.331-.263L6.323.949A.8.8 0 105.192 2.08l3.252 3.253a.4.4 0 11-.565.566l-3.96-3.96a.8.8 0 00-1.131 0z\\\"/></svg>\",\n      \"wrench\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M1.607 12.143l-.268-.268c0-1.571 1.464-3.036 3.018-3.036.214 0 .518.089.893.268L9.107 5.25c-.179-.375-.268-.679-.268-.911 0-1.571 1.482-3.018 3.036-3.018l.196.196c.018.018.036.054.071.089l-.696.696c-.304.286-.446.5-.446.661v.429c0 .554 1.036 1.589 1.589 1.589h.429c.161 0 .375-.143.679-.446l.696-.696.179.179c.054.054.089.089.089.107 0 1.554-1.464 3.018-3.018 3.018-.268 0-.554-.071-.857-.232l-3.857 3.857c.161.304.232.589.232.893 0 1.536-1.518 3.018-3.036 3.018a.868.868 0 0 1-.179-.179l-.089-.089.696-.696c.304-.304.446-.518.446-.679v-.446c0-.589-1-1.589-1.589-1.589-.732 0-.768.107-1.107.446z\\\"/></svg>\",\n      \"x\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M9.414 8.00001L14.707 2.70701C15.098 2.31601 15.098 1.68401 14.707 1.29301C14.316 0.902006 13.684 0.902006 13.293 1.29301L8 6.58601L2.707 1.29301C2.316 0.902006 1.684 0.902006 1.293 1.29301C0.902 1.68401 0.902 2.31601 1.293 2.70701L6.586 8.00001L1.293 13.293C0.902 13.684 0.902 14.316 1.293 14.707C1.488 14.902 1.744 15 2 15C2.256 15 2.512 14.902 2.707 14.707L8 9.41401L13.293 14.707C13.488 14.902 13.744 15 14 15C14.256 15 14.512 14.902 14.707 14.707C15.098 14.316 15.098 13.684 14.707 13.293L9.414 8.00001Z\\\"/></svg>\"\n    },\n    \"tiny\": {\n      \"alert-circle\": \"<svg width=\\\"12\\\" height=\\\"12\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 12 12\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M6 11.25A5.25 5.25 0 106 .75a5.25 5.25 0 000 10.5zm0-4.563a.526.526 0 01-.522-.465L5.17 3.556a.836.836 0 111.66 0l-.308 2.666A.526.526 0 016 6.687zm0 2.688a.916.916 0 01-.938-.938c0-.535.403-.937.938-.937.535 0 .938.402.938.938A.916.916 0 016 9.374z\\\" fill=\\\"#222\\\"/></svg>\",\n      \"alert\": \"<svg width=\\\"12\\\" height=\\\"12\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 12 12\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M5.373 6.566a.631.631 0 0 0 1.254 0l.369-3.201a1.002 1.002 0 1 0-1.993 0l.37 3.201zm-.498 2.809A1.1 1.1 0 0 0 6 10.5a1.1 1.1 0 0 0 1.125-1.125A1.1 1.1 0 0 0 6 8.25a1.1 1.1 0 0 0-1.125 1.125z\\\"/></svg>\",\n      \"android\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"12\\\" height=\\\"12\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M10 8.57v-3a.5.5 0 0 1 1 0v3a.5.5 0 0 1-1 0zm-9 0v-3a.5.5 0 0 1 1 0v3a.5.5 0 0 1-1 0zm6.675-7.48c.99.532 1.306 1.624 1.306 2.902H3.017c0-1.278.17-2.4 1.16-2.903L3.853.392a.22.22 0 0 1 .09-.282.191.191 0 0 1 .26.07c0 .005.003.01.005.013l.34.713c.438-.203.968-.262 1.45-.26.518 0 .884.077 1.31.26l.48-.74a.186.186 0 0 1 .257-.057.19.19 0 0 1 .06.257l-.43.722zM5 2.5c0-.294-.206-.5-.5-.5-.294 0-.5.206-.5.5 0 .294.206.5.5.5.294 0 .5-.206.5-.5zm3 0c0-.295-.205-.5-.5-.5-.295 0-.5.205-.5.5 0 .294.205.5.5.5.295 0 .5-.206.5-.5zm.98 2.54l.016 3.947a1 1 0 0 1-.905 1l-.114.01.013 1.505a.494.494 0 0 1-.49.496h-.003A.496.496 0 0 1 7 11.502V9.998H5v1.508a.492.492 0 0 1-.982.002v-.002l.01-1.508H4.01c-.55 0-.998-.446-1-.997L3 5.04h5.98z\\\"/></svg>\",\n      \"app-store\": \"<svg width=\\\"12\\\" height=\\\"12\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 12 12\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M8.4.2A1.8 1.8 0 006.6 2v1.6a1.8 1.8 0 001.8 1.8H10a1.8 1.8 0 001.8-1.8V2A1.8 1.8 0 0010 .2H8.4zM10 1.4H8.4a.6.6 0 00-.6.6v1.6a.6.6 0 00.6.6H10a.6.6 0 00.6-.6V2a.6.6 0 00-.6-.6zm-9.8 7A1.8 1.8 0 012 6.6h1.6a1.8 1.8 0 011.8 1.8V10a1.8 1.8 0 01-1.8 1.8H2A1.8 1.8 0 01.2 10V8.4zM2 7.8h1.6a.6.6 0 01.6.6V10a.6.6 0 01-.6.6H2a.6.6 0 01-.6-.6V8.4a.6.6 0 01.6-.6z\\\"/><path d=\\\"M8.6 7.178a.59.59 0 01.6-.578c.331 0 .6.259.6.578V8.6h1.422a.59.59 0 01.578.6.59.59 0 01-.578.6H9.8v1.422a.59.59 0 01-.6.578.59.59 0 01-.6-.578V9.8H7.178a.59.59 0 01-.578-.6c0-.331.259-.6.578-.6H8.6V7.178z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M.2 2A1.8 1.8 0 012 .2h1.6A1.8 1.8 0 015.4 2v1.6a1.8 1.8 0 01-1.8 1.8H2A1.8 1.8 0 01.2 3.6V2zM2 1.4h1.6a.6.6 0 01.6.6v1.6a.6.6 0 01-.6.6H2a.6.6 0 01-.6-.6V2a.6.6 0 01.6-.6z\\\"/></svg>\",\n      \"assignment\": \"<svg width=\\\"12\\\" height=\\\"12\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M.75 6.99v.285c0 1.26 0 2.265.245 2.746.216.424.56.768.984.984.48.245 1.11.245 2.37.245h3.3c1.261 0 1.891 0 2.372-.245a2.25 2.25 0 00.984-.984c.245-.48.245-1.486.245-2.746V6.99c0-.084 0-.126-.016-.158a.15.15 0 00-.066-.066c-.032-.016-.074-.016-.158-.016h-.57c-.084 0-.126 0-.158.016a.15.15 0 00-.066.066c-.016.032-.016.074-.016.158v.285c0 .647 0 1.445-.027 1.767-.026.31-.07.435-.104.503a1.2 1.2 0 01-.524.524c-.068.035-.193.078-.503.104-.322.026-.745.027-1.392.027h-3.3c-.647 0-1.07 0-1.392-.027-.31-.026-.435-.07-.503-.104a1.2 1.2 0 01-.524-.524c-.035-.068-.078-.193-.104-.503-.026-.322-.027-1.12-.027-1.767V6.99c0-.084 0-.126-.016-.158a.15.15 0 00-.066-.066c-.032-.016-.074-.016-.158-.016H.99c-.084 0-.126 0-.158.016a.15.15 0 00-.066.066C.75 6.864.75 6.906.75 6.99z\\\"/><path d=\\\"M3.787 2.37c.953 0 1.725.772 1.725 1.724v1.093a.531.531 0 00-.003.055v.93L3.985 4.648a.263.263 0 00-.372 0l-.37.371a.263.263 0 000 .371l2.42 2.421a.525.525 0 00.742 0l2.42-2.42a.263.263 0 000-.372l-.37-.371a.263.263 0 00-.372 0L6.562 6.169V4.094A2.775 2.775 0 003.787 1.32H2.625a.525.525 0 100 1.05h1.162z\\\"/></svg>\",\n      \"calendar\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"12\\\" height=\\\"12\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M2.73 2.398v-.535c0-.539.325-.86.899-.86.55 0 .883.337.883.86v.535h.605v-.535c0-.523.348-.86.895-.86.55 0 .886.337.886.86v.535h.614v-.535c0-.523.336-.86.886-.86.551 0 .895.337.895.86v.535h1.008v8.598H1.699V2.398zm.47-.535v1.418c0 .254.148.375.429.375.308 0 .414-.105.414-.375V1.863c0-.258-.133-.375-.414-.375-.281 0-.43.117-.43.375zm2.398 0v1.418c0 .27.109.375.414.375.308 0 .418-.105.418-.375V1.863c0-.258-.137-.375-.418-.375-.282 0-.414.117-.414.375zm2.382 0v1.418c0 .27.11.375.418.375.282 0 .426-.12.426-.375V1.863c0-.258-.144-.375-.426-.375-.28 0-.418.117-.418.375zm1.61 2.438H2.426v5.984H9.59zM3.738 8.918l.078-.602c.297.11.579.16.832.16.375 0 .614-.187.614-.453 0-.335-.215-.484-.895-.523v-.602c.496-.043.735-.203.735-.457 0-.214-.16-.32-.48-.32-.25.004-.493.066-.712.188l-.078-.606c.254-.121.586-.187.977-.187.683 0 1.125.324 1.125.75 0 .39-.254.671-.766.843v.016c.578.16.86.441.86.855 0 .7-.618 1.098-1.462 1.098a2.072 2.072 0 0 1-.828-.16zM8.023 5.57v3.457h-.738V6.47l-.617.226-.078-.601 1.058-.524zm0 0\\\"/></svg>\",\n      \"chat-bubble\": \"<svg width=\\\"12\\\" height=\\\"12\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 12 12\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M.738 2.446C.5 2.935.5 3.486.5 4.588v5.064c0 .52 0 .78.11.94.095.14.243.236.41.265.192.034.429-.074.902-.289l2.141-.973a39.345 39.345 0 004.26-.021c1.001-.06 1.502-.089 1.976-.356a2.53 2.53 0 00.963-1.021c.238-.49.238-1.04.238-2.142V4.588c0-1.102 0-1.653-.238-2.142a2.53 2.53 0 00-.963-1.021c-.474-.267-.975-.297-1.975-.356a39.59 39.59 0 00-4.648 0c-1 .06-1.5.089-1.975.356a2.53 2.53 0 00-.963 1.021zM6 4.5a.9.9 0 100 1.8.9.9 0 000-1.8zm-3.9.9a.9.9 0 111.8 0 .9.9 0 01-1.8 0zM9 4.5a.9.9 0 100 1.8.9.9 0 000-1.8z\\\"/></svg>\",\n      \"clock\": \"<svg width=\\\"12\\\" height=\\\"12\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 12 12\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M6 11A5 5 0 106 1a5 5 0 000 10zm.668-5.486a.286.286 0 00.109.209l1.435 1.126c.118.092.144.26.062.384l-.26.389a.286.286 0 01-.38.089L5.666 6.577a.714.714 0 01-.356-.659l.175-3.148a.286.286 0 01.285-.27h.46c.151 0 .277.118.285.27l.153 2.744z\\\"/></svg>\",\n      \"company\": \"<svg width=\\\"12\\\" height=\\\"12\\\" viewBox=\\\"0 0 12 12\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8 0h3c-.179 0 0 .214 0 0v11c0-.214-.179 0 0 0H8c.179 0 0-.214 0 0V0c0 .214.179 0 0 0zm2 1H9v1h1V1zM0 3h7c-.232 0 0 .178 0 0v8c0-.178-.232 0 0 0H0c.232 0 0-.178 0 0V3c0 .178.232 0 0 0zm10 0H9v1h1V3zM3 4H1v2h2V4zm3 0H4v2h2V4zm4 1H9v1h1V5zM3 7H1v2h2V7zm3 0H4v2h2V7z\\\" fill-rule=\\\"evenodd\\\"/></svg>\",\n      \"delete\": \"<svg width=\\\"12\\\" height=\\\"12\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M3.79 3.79a.65.65 0 000 .92L5.08 6 3.79 7.29a.65.65 0 00.92.92L6 6.92l1.29 1.29a.65.65 0 10.92-.92L6.92 6l1.29-1.29a.65.65 0 00-.92-.92L6 5.08 4.71 3.79a.65.65 0 00-.92 0z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M.5 6a5.5 5.5 0 1111 0 5.5 5.5 0 01-11 0zM6 10.3a4.3 4.3 0 110-8.6 4.3 4.3 0 010 8.6z\\\"/></svg>\",\n      \"down-arrow\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"12\\\" height=\\\"12\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M2 3l4 4 4-4H2z\\\"/></svg>\",\n      \"draft\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"12\\\" height=\\\"12\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M5.018 3H3v2H2V3l3-3zM8 0v1H6V0h2zm1 0h1v2H9V0zm0 3h1v2H9V3zM2 6h1v2H2V6zm7 0h1v2H9V6zM3 9.982h1V11H2V9h1v.982zM9 9h1v2H8v-1h1V9zm-4 2h2v-1H5v1z\\\"/></svg>\",\n      \"drag\": \"<svg width=\\\"12\\\" height=\\\"12\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M0 4.8h2.4v2.4H0zM0 0h2.4v2.4H0zm9.6 0H12v2.4H9.6zM4.801 0h2.4v2.4h-2.4zM9.6 4.8H12v2.4H9.6zm-4.799 0h2.4v2.4h-2.4zM0 9.6h2.4V12H0zm9.6 0H12V12H9.6zm-4.799 0h2.4V12h-2.4z\\\"/></svg>\",\n      \"email\": \"<svg width=\\\"12\\\" height=\\\"12\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M9.587 4.759a.6.6 0 00-.774-.918L6.696 5.627a7.76 7.76 0 01-.424.346.516.516 0 01-.147.086.45.45 0 01-.25 0 .516.516 0 01-.147-.086 8.181 8.181 0 01-.424-.346L3.187 3.841a.6.6 0 00-.774.918l2.132 1.798c.18.152.339.286.48.388.152.11.318.209.518.267.299.086.615.086.914 0 .2-.058.366-.157.518-.267a8.75 8.75 0 00.48-.388L9.587 4.76z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M0 5.1c0-1.26 0-1.89.245-2.371a2.25 2.25 0 01.984-.984c.48-.245 1.11-.245 2.37-.245H8.4c1.26 0 1.89 0 2.371.245.424.216.768.56.984.984C12 3.209 12 3.839 12 5.1v1.877c0 1.096 0 1.644-.227 2.11-.19.391-.54.762-.918.976-.452.254-.964.285-1.989.347-.86.052-1.842.09-2.866.09s-2.005-.038-2.866-.09c-1.025-.062-1.537-.093-1.989-.347a2.362 2.362 0 01-.918-.975C0 8.62 0 8.073 0 6.978V5.1zm10.8 0v1.877c0 .568-.001.92-.024 1.19-.021.248-.056.342-.082.395a1.169 1.169 0 01-.428.455c-.157.088-.34.127-1.472.195A46.62 46.62 0 016 9.3a46.62 46.62 0 01-2.794-.088c-1.133-.068-1.315-.107-1.472-.195a1.17 1.17 0 01-.428-.455c-.026-.053-.06-.147-.082-.396-.023-.27-.024-.62-.024-1.189V5.1c0-.65 0-1.065.027-1.38.024-.301.065-.403.087-.447.101-.197.262-.358.46-.459.043-.022.145-.063.446-.087.315-.026.73-.027 1.38-.027h4.8c.65 0 1.065 0 1.38.027.301.024.403.065.447.087.197.101.358.262.459.46.022.043.063.145.087.446.026.315.027.73.027 1.38z\\\"/></svg>\",\n      \"facebook\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"12\\\" height=\\\"12\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M7 6.5h1.911L9 4.5H7V2.679c.071-.446.357-.679.875-.679h1.607L9.518.054 7.804-.017c-.571 0-1.107.071-1.536.304C5.464.733 5 1.501 5 2.608v1.893H3.5v2H5v5.5h2v-5.5z\\\"/></svg>\",\n      \"info\": \"<svg width=\\\"12\\\" height=\\\"12\\\" viewBox=\\\"0 0 12 12\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M6 0a6.053 6.053 0 0 0-4.25 1.75A6.04 6.04 0 0 0 0 6a5.977 5.977 0 0 0 6 6 6.04 6.04 0 0 0 4.25-1.75A6.053 6.053 0 0 0 12 6c0-1.643-.679-3.143-1.75-4.25C9.143.679 7.643 0 6 0zm.589 3.714h-.036c-.411 0-.679-.339-.696-.786 0-.196.089-.429.268-.607C6.268 2.125 6.5 2 6.821 2a.68.68 0 0 1 .536.232.85.85 0 0 1 .161.518.876.876 0 0 1-.268.643.849.849 0 0 1-.661.321zm.965 4.822l-.036.036c-.411.446-.875.786-1.268 1.054-.393.232-.768.375-.946.375a.497.497 0 0 1-.375-.143c-.089-.107-.143-.268-.143-.5 0-.179.018-.554.089-.839l.589-2.554a.972.972 0 0 0 .054-.286.329.329 0 0 1-.143.071c-.125.107-.268.196-.429.321-.071.054-.143.107-.196.161l-.107.054-.196-.625.036-.036c.39-.367.815-.696 1.268-.982.411-.25.804-.393 1.018-.393.125-.018.214.071.304.143.054.107.071.232.071.429 0 .179-.018.554-.071.804l-.661 2.625c-.036.107-.036.196-.036.286v.054a.31.31 0 0 0 .125-.054c.125-.089.286-.179.464-.339.089-.071.161-.143.25-.196l.071-.071.232.536.036.069z\\\"/></svg>\",\n      \"insert-data\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"12\\\" height=\\\"12\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M3.5 3L0 6.5 3.5 10V8.5l-2-2 2-2V3zm7 3.5l-2 2V10L12 6.5 8.5 3v1.5zm-7-.5v1h1V6h-1zm2 0v1h1V6h-1zm2 0v1h1V6h-1z\\\"/></svg>\",\n      \"ios\": \"<svg width=\\\"12\\\" height=\\\"13\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M6.8 8.8a.8.8 0 11-1.6 0 .8.8 0 011.6 0z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M2.218 1.092C2 1.52 2 2.08 2 3.2v5.6c0 1.12 0 1.68.218 2.108a2 2 0 00.874.874C3.52 12 4.08 12 5.2 12h1.6c1.12 0 1.68 0 2.108-.218a2 2 0 00.874-.874C10 10.48 10 9.92 10 8.8V3.2c0-1.12 0-1.68-.218-2.108a2 2 0 00-.874-.874C8.48 0 7.92 0 6.8 0H5.2C4.08 0 3.52 0 3.092.218a2 2 0 00-.874.874zM6.8 1.2H5.2c-.58 0-.943 0-1.216.023-.26.021-.33.056-.347.064a.8.8 0 00-.35.35c-.008.016-.043.088-.064.347-.022.273-.023.636-.023 1.216v5.6c0 .58 0 .943.023 1.216.021.26.056.33.064.347a.8.8 0 00.35.35c.016.008.088.043.347.064.273.022.636.023 1.216.023h1.6c.58 0 .943 0 1.216-.023.26-.021.33-.056.347-.064a.8.8 0 00.35-.35c.008-.016.043-.088.064-.347.022-.273.023-.636.023-1.216V3.2c0-.58 0-.943-.023-1.216-.021-.26-.056-.33-.064-.347a.8.8 0 00-.35-.35c-.016-.008-.088-.043-.347-.064C7.743 1.201 7.38 1.2 6.8 1.2z\\\"/></svg>\",\n      \"locked\": \"<svg width=\\\"12\\\" height=\\\"12\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M3.254 5.277V3.576C3.254 2.023 4.46.75 6.08.75h.107C7.755.75 9 1.982 9 3.576v1.701h1.031v5.84H2.25v-5.84h1.004zm4.326 0V3.576A1.395 1.395 0 0 0 6.187 2.17H6.08c-.803 0-1.42.59-1.42 1.406v1.701h2.92zm-.562 4.768L6.59 8.143c.28-.174.428-.416.428-.75a.88.88 0 0 0-.871-.885.892.892 0 0 0-.884.885c0 .334.147.59.428.75l-.428 1.902h1.754z\\\"/></svg>\\n\",\n      \"message\": \"<svg width=\\\"12\\\" height=\\\"12\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M9.587 4.759a.6.6 0 00-.774-.918L6.696 5.627a7.76 7.76 0 01-.424.346.516.516 0 01-.147.086.45.45 0 01-.25 0 .516.516 0 01-.147-.086 8.181 8.181 0 01-.424-.346L3.187 3.841a.6.6 0 00-.774.918l2.132 1.798c.18.152.339.286.48.388.152.11.318.209.518.267.299.086.615.086.914 0 .2-.058.366-.157.518-.267a8.75 8.75 0 00.48-.388L9.587 4.76z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M0 5.1c0-1.26 0-1.89.245-2.371a2.25 2.25 0 01.984-.984c.48-.245 1.11-.245 2.37-.245H8.4c1.26 0 1.89 0 2.371.245.424.216.768.56.984.984C12 3.209 12 3.839 12 5.1v1.877c0 1.096 0 1.644-.227 2.11-.19.391-.54.762-.918.976-.452.254-.964.285-1.989.347-.86.052-1.842.09-2.866.09s-2.005-.038-2.866-.09c-1.025-.062-1.537-.093-1.989-.347a2.362 2.362 0 01-.918-.975C0 8.62 0 8.073 0 6.978V5.1zm10.8 0v1.877c0 .568-.001.92-.024 1.19-.021.248-.056.342-.082.395a1.169 1.169 0 01-.428.455c-.157.088-.34.127-1.472.195A46.62 46.62 0 016 9.3a46.62 46.62 0 01-2.794-.088c-1.133-.068-1.315-.107-1.472-.195a1.17 1.17 0 01-.428-.455c-.026-.053-.06-.147-.082-.396-.023-.27-.024-.62-.024-1.189V5.1c0-.65 0-1.065.027-1.38.024-.301.065-.403.087-.447.101-.197.262-.358.46-.459.043-.022.145-.063.446-.087.315-.026.73-.027 1.38-.027h4.8c.65 0 1.065 0 1.38.027.301.024.403.065.447.087.197.101.358.262.459.46.022.043.063.145.087.446.026.315.027.73.027 1.38z\\\"/></svg>\",\n      \"messenger\": \"<svg width=\\\"12\\\" height=\\\"13\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 12 12\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M4.068 6.425l-.013-.008a.6.6 0 00-.715.963c.067.05.138.093.21.135.123.07.297.158.521.244.45.174 1.097.34 1.929.34.832 0 1.48-.166 1.93-.34.223-.086.397-.175.52-.244.07-.04.14-.084.206-.132l.002-.002a.61.61 0 00.122-.841.6.6 0 00-.84-.12l.002-.001v-.001l.003-.001-.013.008a2.666 2.666 0 01-.436.215c-.326.127-.828.26-1.496.26s-1.17-.134-1.496-.26a2.667 2.667 0 01-.436-.215zm-.01-.007l-.003-.001h.002z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M2.8 10.5h4.7l2.803 1.201a.5.5 0 00.697-.46V2.8A1.8 1.8 0 009.2 1H2.8A1.8 1.8 0 001 2.8v5.9a1.8 1.8 0 001.8 1.8zm7-.32L7.746 9.3H2.8a.6.6 0 01-.6-.6V2.8a.6.6 0 01.6-.6h6.4a.6.6 0 01.6.6v7.38z\\\"/></svg>\",\n      \"new\": \"<svg width=\\\"12\\\" height=\\\"12\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M5.5 2a.5.5 0 00-.5.5V5H2.5a.5.5 0 00-.5.5v1a.5.5 0 00.5.5H5v2.5a.5.5 0 00.5.5h1a.5.5 0 00.5-.5V7h2.5a.5.5 0 00.5-.5v-1a.5.5 0 00-.5-.5H7V2.5a.5.5 0 00-.5-.5h-1z\\\"/></svg>\",\n      \"note\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"12\\\" height=\\\"12\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M2 2v9h8V0H4zm1 8V3h2V1h4v9H3zm5-5V4H4v1h4zM4 6v1h3V6H4z\\\"/></svg>\",\n      \"phone\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"12\\\" height=\\\"12\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M3.313 1.525L4.32 3.217c.12.2.084.46-.086.62l-.623.587a1 1 0 0 0-.12 1.318c.336.46.732.917 1.19 1.374.508.51 1.054.978 1.636 1.408a1 1 0 0 0 1.274-.07l.62-.575a.498.498 0 0 1 .578-.074l1.62.875a.503.503 0 0 1 .117.795L9 11c-3.88 0-7.99-4.106-8-8 0-.116.515-.645 1.546-1.588a.5.5 0 0 1 .766.112z\\\"/></svg>\",\n      \"segment\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"12\\\" height=\\\"12\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M7 5h5c0-1.214-.607-2.679-1.464-3.536S8.215 0 7 0v5zM6 6V1c-1.214 0-2.679.607-3.536 1.464S1 4.785 1 6s.607 2.679 1.464 3.536S4.785 11 6 11s2.679-.607 3.536-1.464S11 7.215 11 6H6z\\\"/></svg>\",\n      \"series\": \"<svg width=\\\"12\\\" height=\\\"12\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M6.3 3.936l.013-2.778c0-.197.11-.38.29-.48.178-.1.4-.104.582-.01l2.707 1.4c.192.1.31.29.308.495a.559.559 0 01-.313.494l-2.72 1.377a.617.617 0 01-.696-.1.548.548 0 01-.171-.398z\\\"/><path d=\\\"M4.47 2.1c-1.276.04-2.335 1.111-2.37 2.395A2.264 2.264 0 004.363 6.84l3.547.009a1.187 1.187 0 011.183 1.229 1.337 1.337 0 01-1.27 1.284l-.78.024a.572.572 0 00-.55.575.539.539 0 00.558.539l.78-.025c1.276-.04 2.335-1.11 2.37-2.395a2.265 2.265 0 00-2.262-2.345l-3.547-.009a1.186 1.186 0 01-1.183-1.229 1.338 1.338 0 011.27-1.284l.384.014a.572.572 0 00.552-.573.542.542 0 00-.56-.542L4.472 2.1z\\\"/><path d=\\\"M2.511 8.455a1.8 1.8 0 112.778 2.29 1.8 1.8 0 01-2.778-2.29z\\\"/></svg>\",\n      \"star\": \"<svg width=\\\"12\\\" height=\\\"12\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M5.663 1.339a.372.372 0 01.674 0l1.189 2.509a.374.374 0 00.288.21l2.736.364a.377.377 0 01.208.645L8.757 6.981a.378.378 0 00-.11.34l.502 2.734c.057.31-.27.55-.545.399L6.178 9.128a.371.371 0 00-.356 0l-2.426 1.326a.374.374 0 01-.545-.4l.503-2.732a.378.378 0 00-.11-.341L1.241 5.067a.377.377 0 01.208-.645l2.736-.364a.374.374 0 00.288-.21l1.19-2.509z\\\"/></svg>\",\n      \"tag\": \"<svg width=\\\"12\\\" height=\\\"12\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 12 12\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M1 5.682c0 .398.158.78.44 1.06l4.242 4.243a1.5 1.5 0 002.121 0l3.182-3.182a1.5 1.5 0 000-2.121L6.743 1.439A1.5 1.5 0 005.682 1H2.5A1.5 1.5 0 001 2.5v3.182zm4.364-.318A1.275 1.275 0 103.56 3.56a1.275 1.275 0 001.803 1.803z\\\"/></svg>\",\n      \"thin-down-arrow\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"12\\\" height=\\\"12\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M1 2l5 5 5-5H8.5L6 4.5 3.5 2H1z\\\"/></svg>\",\n      \"thin-up-arrow\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"12\\\" height=\\\"12\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M1 7l5-5 5 5H8.5L6 4.5 3.5 7H1z\\\"/></svg>\",\n      \"twitter\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"12\\\" height=\\\"12\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M12 2.357a5.241 5.241 0 0 1-1.411.393 2.558 2.558 0 0 0 1.071-1.357c-.482.286-1 .5-1.554.607-.5-.5-1.089-.75-1.786-.786-.482 0-.929.125-1.357.393-.75.482-1.125 1.179-1.125 2.071 0 .196.018.375.071.571-.179-.036-.339-.036-.518-.054C3.516 3.981 1.998 3.141.82 1.677c-.214.339-.304.768-.321 1.214.018.857.375 1.536 1.107 2.071a2.945 2.945 0 0 1-1.143-.321v.036c0 .339.071.679.214 1.018.357.75.946 1.214 1.786 1.393a2.49 2.49 0 0 1-.643.089c-.125 0-.286-.018-.482-.054.071.161.143.357.25.554.464.75 1.143 1.125 2.054 1.143-.929.696-1.946 1.054-3.054 1.071-.25 0-.446 0-.589-.018 1.107.696 2.357 1.054 3.786 1.089 2.143-.036 3.911-.804 5.268-2.375 1.143-1.339 1.714-2.875 1.714-4.625v-.339a5.9 5.9 0 0 0 1.232-1.268z\\\"/></svg>\",\n      \"up-arrow\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"12\\\" height=\\\"12\\\" viewBox=\\\"0 0 12 12\\\"><path d=\\\"M2 7l4-4 4 4H2z\\\"/></svg>\"\n    }\n  },\n  \"invite-link\": {\n    \"communication-tools\": \"<svg width=\\\"94\\\" height=\\\"78\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"invite-link__web-ios\\\"><path fill=\\\"#248FED\\\" d=\\\"M35.506 63.186l-.9-.4-.142-.063-.154-.017-.9-.1-.11.994.35-.936-.8-.3-.133-.04-.9-.2-.217.976.447-.894-.8-.4-.16-.08-.177-.02-.9-.1-.11.994.447-.894-.8-.4-.16-.08-.177-.02-.9-.1-.11.994.447-.894-.8-.4-.204-.076-.8-.2-.133-.024-.9-.1-.11.994.217-.976-.9-.2-.217.976.447-.894-.8-.4-.204-.076-.8-.2-.243.97.447-.894-.8-.4-.21-.106H21.5v1l.217-.976-.9-.2-.9-.2-.217.976.447-.894-.8-.4-.096-.042-.8-.3-.1-.034-.8-.2-.824-.28-.873-.22-.827-.28-.208-.044-.9-.1-.11.994.244-.97-.8-.2-.243.97.35-.936-.8-.3-.934-.313-.764-.28-.117-.04-.125-.013-.9-.1-.11.994.53-.847-.8-.5-.134-.084-.15-.04-.8-.2-.925-.206-.22.977.35-.934-.8-.3-.115-.043-.124-.014-.9-.1-.11.995.22-.976-.9-.2-.9-.2-.775-.194-.828-.28-.315.95.916.41.4-.9.056-.164.2-.8.21-1.045-.98-.197.937.35.3-.8.04-.132.2-.9-.98-.223.937.35.3-.8.04-.13.2-.9-.98-.225.894.448.4-.8.08-.16.02-.177.1-.9-.993-.11.848.53.5-.8.09-.145.04-.166.2-.9.2-.9.024-.218v-.9h-1l.893.45.4-.8.055-.11.02-.12.2-.9.02-.108.1-.9-.994-.11.935.35.3-.8.044-.114.012-.124.1-.9L6.2 39l.894.447.4-.8.055-.11.02-.12.2-.9-.97-.217.89.447.4-.8.054-.13.3-.9.04-.207.1-.9.1-.9-.995-.11.893.447.4-.8.076-.204.2-.8-.97-.243.893.447.4-.8-.89-.447-.244.97.8.2.133.024.9.1.11-.994-.448.894.8.4.204.076.8.2.132.024.9.1.11-.994-.218.976.9.2.217-.976-.35.936.8.3.133.04.9.2.774.194.243-.97-.53.848.8.5.196.12.227.026.9.1.11-.994-.35.936.8.3.35-.936-.447.894.8.4.16.08.177.02.9.1.11-.994-.35.936.8.3.132.04.9.2.217-.976-.35.936.8.3.13.04.9.2.775.194.243-.97-.45.894.8.4.11.055.12.02.9.2.775.19.926.205.775.194.926.205.108.02.9.1.11-.996-.448.893.8.4.094.04.8.3.13.04.9.2.107.02.9.1.11-.995-.24.97.8.2.24-.97-.35.932.8.3.842.378.163.057.8.2.242-.97-.35.936.8.3.932.313.1.023.9.2.103.02.9.1.914.186L41 40.098l-.5.9-.07.126-.033.142-.2.9-.2.9.978.216-.916-.407-.4.9-.09.193v1.12h1l-.895-.447-.4.8-.08.16-.02.18-.1.9.994.11-.978-.214-.2.9.976.22-.85-.53-.5.8-.12.192-.025.227-.1.9.993.11-.815-.58-.5.7-.15.21-.03.26-.1.9.993.11-.95-.316-.3.9-.03.1-.2.9.976.216-.937-.35-.3.8-.063.17v1.08h1l-.914-.406-.4.9-.056.163-.2.8.97.244-.916-.406-.4.9-.056.165-.2.8.97.244-.915-.407-.4.9-.065.144-.018.155-.1.9.993.11-.896-.447-.4.8-.043.097-.3.8-.04.13-.2.9-.2.9-.022.217v1h1l.406-.916zm-.812 1.828l1.406.625V63.1h-1l.976.217.2-.9.2-.9-.976-.217.936.35.3-.8-.936-.35.894.447.4-.8.08-.16.02-.177.1-.9-.994-.11.914.406.4-.9.056-.163.2-.8-.97-.243.914.406.4-.9.056-.163.2-.8-.97-.243.914.406.4-.9.086-.194V53.6h-1l.936.35.3-.8.04-.133.2-.9-.976-.217.95.316.3-.9.044-.206.1-.9-.994-.11.814.58.5-.7.15-.21.03-.26.1-.9-.994-.11.848.53.5-.8.09-.146.038-.167.2-.9.018-.107.1-.9-.994-.11.894.447.4-.8.106-.21V44.2h-1l.914.406.4-.9.062-.19.2-.9.2-.9-.976-.216.874.486.5-.9.665-1.198-1.35-.27-1-.2-.99-.112-.11.994.216-.976-.9-.2-.217.976.315-.95-.9-.3-.766-.286-.108-.034-.8-.2-.245.97.406-.914-.9-.4-.855-.322-.107-.034-.8-.2-.132-.024-.9-.1-.11.994.218-.976-.9-.2-.217.976.35-.936-.8-.3-.35.936.45-.894-.8-.4-.16-.08-.177-.02-.9-.1-.11.994.22-.976-.9-.2-.777-.194-.925-.206-.773-.194-.926-.206-.216.976.447-.894-.8-.4-.202-.076-.8-.2-.927-.206-.22.976.35-.936-.8-.3-.13-.04-.9-.2-.21.976.35-.936-.8-.3-.115-.044-.124-.014-.9-.1-.11.994.447-.894-.8-.4-.097-.042-.8-.3-.11-.044-.126-.014-.9-.1-.11.994.53-.848-.8-.5-.133-.084-.15-.038-.8-.2-.926-.206-.215.976.35-.936-.8-.3-.133-.04-.9-.2-.105-.018-.9-.1-.11.994.245-.97-.8-.2-.243.97.45-.894-.8-.4-.16-.08-.18-.02-.9-.1-.11.994.246-.97-.8-.2-.78-.195-.356.718-.4.8-.077.204-.2.8.97.243-.893-.447-.4.8-.08.16-.02.177-.1.9-.1.9.995.11-.95-.316-.3.9.95.316-.894-.447-.4.8-.056.11-.026.12-.2.9.976.217-.893-.447-.4.8-.08.16-.02.177-.1.9.995.11-.937-.35-.3.8-.045.116-.014.124-.1.9.993.11-.976-.217-.2.9.977.217-.893-.447-.4.8-.106.21V44.2h1l-.976-.217-.2.9-.2.9L4.7 46l-.848-.53-.5.8-.12.193-.026.227-.1.9.994.11-.894-.447-.4.8-.055.11-.02.12-.2.9.98.217-.935-.35-.3.8-.04.133-.2.9.97.217-.935-.35-.3.8-.046.154-.2 1-.19.753.97.243-.92-.406-.4.9L.54 55.2l1.044.35.9.3.873.22.926.206.9.2.107.018.9.1.11-.994-.35.936.8.3.133.04.9.2.774.194.243-.97-.53.848.8.5.193.12.227.026.9.1.11-.994-.35.936.8.3.934.313.765.28.1.03.8.2.13.023.9.1.11-.994-.317.95.9.3.873.22.827.28.875.22.242-.97-.35.935.8.3.35-.936-.448.893.8.4.11.053.12.027.9.2.9.2.216.023h.9v-1l-.447.894.8.4.205.08.8.2.242-.97-.45.893.8.4.11.056.12.022.9.2.107.018.9.1.11-.99-.243.97.8.2.244-.97-.446.892.8.4.16.08.178.02.9.1.11-.993-.447.892.8.4.16.08.177.02.9.1.11-.992-.445.895.8.4.11.058.12.026.9.2.217-.98-.35.935.8.3.117.044.124.013.9.1.11-.995-.406.913.9.4z\\\"/><path fill=\\\"#248FED\\\" d=\\\"M7.63 32.243c.066.262.142.437.326.804.116.233.156.325.174.396.06.188.07.312.07.657v.162l.05.154c.05.15.09.25.172.455.068.18.096.25.13.35.136.33.23.57.42 1.05.164.41.287.694.434.987.263.53.544 1.267.732 1.93a35.24 35.24 0 0 0 .153.6c.26.934.56 1.587 1.11 2.13l.71-.706-.78.626c.265.33.42.66.63 1.29.03.127.08.287.2.65.106.312.148.444.18.577l.043.128a6.4 6.4 0 0 0 .404.818c.167.3.233.43.296.584.355.988.75 1.67 1.694 3.086.14.24.294.426.636.81.26.29.358.414.44.55.12.184.18.33.3.73.18.578.288.854.526 1.21.084.117.14.19.21.274l.166.205c.245.3.36.47.427.636l.183.377.15.3.073.145.112.117c.083.085.3.252.264.223a.32.32 0 0 1-.053-.082l.064.11c.033.053.062.104.133.23.21.377.34.57.59.82a1.35 1.35 0 0 0 1.13.4 1.87 1.87 0 0 0 .37-.08l.222-.075c.71-.3 1.194-.56 2.28-1.18l.016-.01c.163-.096.64-.4.707-.44.22-.134.387-.22.55-.29.133-.04.26-.1.528-.232a2.62 2.62 0 0 1 .32-.144 2.72 2.72 0 0 0 .597-.296c.126-.077.167-.1.2-.11l.2-.092c.386-.23.757-.424 1.632-.862.12-.06.07-.04.51-.215.3-.12.49-.21.694-.347.187-.11.36-.244.653-.49l.13-.11c.22-.183.34-.267.43-.304.525-.21.862-.428 1.53-.93l1.2-.9.107-.09a.57.57 0 0 1-.183.132 2.08 2.08 0 0 0 .25-.11c.158-.083.3-.186.437-.32a1.41 1.41 0 0 0 .287-.41.484.484 0 0 1-.086.11c.123-.098.316-.22.79-.49.576-.33.833-.49 1.143-.75l.066-.06c.373-.376.53-.51.74-.614l.142-.07.114-.115c-.11.11-.15.126-.19.14.09-.03.133-.048.204-.08a1.26 1.26 0 0 0 .385-.263l-.71-.712.446.894c.407-.205.577-.47.717-.867l.03-.086-.89-.447.832.556c.013-.024.1-.093.28-.207-.044.02.26-.17.34-.22L37.6 44l.447.894c-.002.002.014-.004.096-.024.218-.055.335-.09.504-.176l.108-.062c.234-.156.362-.29.613-.592.124-.15.17-.197.187-.208l.152-.125c.257-.256.367-.354.548-.475l.152-.125a6.67 6.67 0 0 0 .46-.517c.17-.202.243-.286.34-.383L40.5 41.5l.447.894c.178-.088.264-.134.383-.21.172-.106.328-.228.477-.377a1.75 1.75 0 0 0 .33-.465l.027-.05a.505.505 0 0 1-.248.157l-.316-.95-.447-.9c.017-.01-.01-.01-.253-.01v2c.558 0 .787-.026 1.147-.207l-.763-1.843c-.467.158-.683.41-.896.823l-.022.04c-.01.02-.004.01.027-.02a.662.662 0 0 1-.123.097 2.74 2.74 0 0 1-.217.117l-.145.07-.115.116a6.67 6.67 0 0 0-.46.52c-.17.2-.243.285-.34.382l.707.707-.555-.832c-.32.214-.51.38-.852.726L39 43l-.555-.832c-.234.156-.362.29-.613.592-.124.15-.17.197-.187.208l.555.832-.447-.894c.002-.002-.014.004-.096.024a2.14 2.14 0 0 0-.504.176l-.108.062c-.054.036-.32.202-.302.19-.404.257-.66.466-.875.787l-.062.108a2.115 2.115 0 0 0-.127.31c.01-.05.09-.167.27-.257l-.15.072-.117.115c.11-.11.15-.128.19-.142-.09.03-.135.05-.206.08a1.26 1.26 0 0 0-.384.27l.71.708-.446-.893c-.46.23-.734.46-1.26.987-.12.097-.314.218-.79.49-.574.328-.83.49-1.14.75a1.463 1.463 0 0 0-.354.47.484.484 0 0 1 .087-.11c.02-.02.05-.036-.056.01a1.27 1.27 0 0 0-.443.29l.71.707-.6-.8-1.2.9c-.53.4-.76.55-1.07.672-.34.133-.6.312-.97.62l-.14.116a3.46 3.46 0 0 1-.434.335 1.94 1.94 0 0 1-.37.18c-.528.21-.47.188-.664.286-.924.46-1.32.667-1.766.936l.513.858-.32-.95a2.78 2.78 0 0 0-.6.296 1.173 1.173 0 0 1-.2.11 3.88 3.88 0 0 0-.58.256 2.62 2.62 0 0 1-.32.147c-.34.135-.6.272-.905.46-.09.053-.56.35-.697.433l.02-.01c-1.016.58-1.46.82-1.998 1.05-.177.056-.13.042-.105.04a.65.65 0 0 1 .505.173c-.084-.085-.13-.157-.256-.38a4.728 4.728 0 0 0-.22-.37l-.83.55.895-.447a1.74 1.74 0 0 0-.456-.56 1.067 1.067 0 0 0-.13-.1l-.708.707.895-.445-.15-.3-.15-.3c-.126-.327-.33-.63-.694-1.08l-.166-.2a6.18 6.18 0 0 1-.133-.173c-.066-.098-.124-.247-.246-.644-.176-.578-.284-.854-.522-1.21-.14-.24-.292-.426-.634-.81-.26-.29-.358-.414-.44-.55l-.026-.04c-.855-1.286-1.193-1.87-1.49-2.688a6.41 6.41 0 0 0-.416-.845c-.165-.3-.23-.43-.294-.583l-.928.37.97-.244c-.05-.2-.1-.36-.22-.724a7.85 7.85 0 0 1-.18-.578c-.3-.91-.55-1.43-.99-1.982l-.074-.08c-.24-.24-.417-.617-.588-1.245a15.218 15.218 0 0 1-.075-.29l-.074-.304a14.08 14.08 0 0 0-.877-2.304 11.37 11.37 0 0 1-.366-.836 36.53 36.53 0 0 0-.41-1.01 4.44 4.44 0 0 0-.14-.377 5.636 5.636 0 0 1-.13-.346l-.946.32h1c0-.555-.022-.83-.15-1.216-.045-.19-.12-.365-.305-.73-.115-.235-.155-.327-.173-.398l-1.94.485zM56 .3h-1.9l-.11.006-.9.1.11.994.11-.994-.9-.1-.218-.024-.208.07-.9.3.316.948.1-.995-1-.1-.89-.1L49.5.4h-.9v1l.11-.994-.9-.1L47.7.3h-.9l-.11.006-.9.1.11.994.1-.995-1-.1h-.21l-.9.1.11.995v-1h-.9l-.11.006-.9.1.11.994.217-.976-.9-.2-.162-.036-.165.018-.9.1.11.994.1-.995-1-.1-.89-.1h-.22l-.9.1.11.995.11-.994-.9-.1-.237-.026-.224.084-.8.3-.75.316-.7.3-.37.16-.16.37-.3.7.92.394-.815-.58-.5.7-.14.198-.037.243-.1.7-.01.14v.9h1l-.995-.11-.1.9-.1.9-.018.165.036.162.2.9.976-.218-.996.11.1.9.995-.11-.995-.11-.1.9-.006.11v.9h1l-.996-.11-.1.9-.1.9v.22l.1.9.992-.11-.996-.11-.1.9-.004.11v.9h1l-.976-.217-.2.9-.05.217.05.217.2.9.975-.22-.994.11.1.9.997-.11-.97-.24-.2.8-.03.12v1.02l.023.22.2.9.976-.215-.997-.11-.1.9-.008.11v.9h1l-.995-.11-.1.9-.02.178.043.176.2.8.033.133.07.12.4.7.865-.497-.92.395.3.7.156.37.37.156.7.3.394-.92-.58.81.7.5.186.104.7.3.31.13.327-.084.8-.2-.242-.97-.125.992.8.1.123.015.124-.015.8-.1.886-.1-.11-.99-.275.962.7.2.15.03.8.1.126.015.122-.016.8-.1-.124-.995v1h1.7v-1l-.95.316.3.9.95-.312-.995.11.1.9.034.307.2.235.6.7.76-.65-.935.35.3.8.287.867.06.13.4.8.894-.447-.97.244.2.8.047.185.11.152.5.7.815-.58-.97.242.2.8.72 2.88 1.17-2.73.3-.7-.92-.393.85.53.5-.8.085-.132.038-.153.2-.8.28-.827-.95-.315.76.65.6-.7.08-.093.056-.11.4-.8.056-.11.025-.12.2-.9-.98-.22.76.65.6-.7.117-.132.06-.166.3-.8-.936-.35.11.997.9-.1-.11-.994-.1.994 1 .1.89.1h.21l1-.1.8.005.9.094.32.03.278-.16.7-.4-.496-.868.244.97.8-.2.108-.034.8-.3.475-.177.14-.483.2-.7-.963-.277.87.496.4-.7.07-.12.03-.134.2-.8.03-.12V21.6h-1l.995.11.1-.9-.997-.11.978.217.2-.9.02-.107.1-.9.098-.786.01-.124v-1.8h-1l.994.11.1-.9.005-.11v-.9h-1l.975.217.2-.9.037-.162-.02-.165-.1-.9-.993.11.976.217.2-.9.026-.217V10l-.004-.11-.1-.9-.994.11h1v-.9h-1l.993.11.1-.9v-.22l-.1-.9-.994.11.977.217.2-.9.023-.217V4.42l-.06-.17-.3-.8-.048-.124-.073-.107-.5-.7-.817.58.895-.45-.4-.8-.15-.3-.298-.15-.8-.4-.11-.06-.12-.026-.9-.2-.216.976.448-.894-.8-.4-.195-.1H56zm0 2v-1l-.447.894.8.4.11.055.12.02.9.2.217-.98-.447.893.8.4.447-.894-.894.446.4.8.08.133.5.7.814-.58-.936.35.3.8.936-.35h-1v.9h1l-.976-.217-.2.9-.036.16.018.166.1.9.994-.11-.994-.11-.1.9-.006.11v.9l.006.11.1.9.994-.11h-1v1.8h1l-.976-.218-.2.9-.036.16.018.166.1.9.994-.11-.976-.22-.2.9-.024.217v.9h1l-.994-.11-.1.9-.006.11v1.8h1l-.992-.124-.1.8-.102.915.994.11-.976-.215-.2.9-.018.106-.1.9-.006.11v1.8h1l-.97-.24-.2.8.97.24-.868-.494-.4.7-.06.107-.034.115-.2.7.962.276-.35-.936-.8.3.35.934-.243-.97-.8.2-.133.032-.12.07-.7.4.496.867.1-.997-1-.1-1-.005-1.1.102.1.995.11-.994-.9-.1-1.01-.1h-.21l-.9.1-.61.07-.216.576-.3.8.936.35-.76-.65-.6.7-.162.19-.054.244-.2.9.976.22-.894-.447-.4.8.894.45-.76-.65-.6.7-.127.15-.062.186-.3.9-.22.87.97.243-.84-.53-.5.8-.07.135-.3.7.92.393.97-.24-.2-.8-.045-.187-.11-.152-.5-.7-.814.58.97-.24-.2-.8-.075-.205-.4-.8-.894.445.95-.315-.3-.9-.313-.832-.06-.166-.116-.132-.6-.7L44 28l.994-.11-.1-.9-.045-.206-.3-.9-.23-.684H41.9l-.124.008-.8.1.124.992.124-.992-.8-.1-.124.992.275-.962-.7-.2-.19-.054-.195.022-.9.1-.814.102.124.992.124-.992-.8-.1-.185-.023-.19.045-.8.2.24.97.393-.92-.7-.3-.394.92.58-.814-.7-.5-.187-.105-.7-.3-.395.92.92-.39-.3-.7-.054-.1-.4-.7-.87.5.97-.242-.2-.8-.97.244.994.11.1-.9.007-.11v-.9h-1l.993.11.1-.9.02-.164-.034-.163-.2-.9-.977.217h1v-.9h-1l.97.242.2-.8.04-.174-.02-.18-.1-.9-.02-.107-.2-.9-.977.217.975.218.2-.9.04-.223v-.9h-1l.992.11.1-.9v-.22l-.1-.9-.994.11.992.11.1-.9.1-.9.006-.11v-.9h-1l.994.11.1-.9v-.22l-.1-.9-.018-.106-.2-.9-.977.216.992.11.1-.9.1-.9.005-.11v-.9h-1l.99.14.1-.7-.99-.14.814.58.5-.7.105-.185.3-.7-.92-.393.39.92.7-.3.7-.3.756-.283-.35-.936-.11.994.9.1h.22l.9-.1-.11-.994-.11.994.9.1 1.01.1h.21l.9-.1-.11-.994-.217.976.9.2.16.035.166-.018.9-.1-.11-.994v1h.9l.11-.007.9-.1-.11-.993-.1.994 1 .1h.21l.9-.1-.11-.994v1h.9v-1l-.11.993.9.1.11.005h.9v-1l-.11.994.9.1 1.01.1.21.02.203-.067.9-.3-.316-.95-.11.99.9.1h.22l.9-.1-.11-.996v1H56z\\\"/><g fill=\\\"#248FED\\\" class=\\\"invite-link__web-ios-bell\\\"><path d=\\\"M85.636 51.65l-.3-.8-.042-.097-.4-.8-.4-.8-.894.447.97-.243-.2-.8-.038-.153-.084-.134-.5-.8-.848.53.976-.217-.2-.9-.027-.12-.06-.11-.4-.8-.9.447.935-.35-.3-.8-.046-.124-.077-.107-.5-.7-.815.58.95-.32-.3-.9-.317-.84-.06-.168-.115-.134-.6-.7-.76.65.936-.35-.3-.8-.087-.18-.5-.8-.85.53.937-.35-.3-.8-.076-.204-.153-.154-.6-.6-.755-.653-.54-.54-.167-.166-.224-.074-.9-.3-.32.95.58-.816-.7-.5-.7-.5-.166-.118-.2-.044-.9-.2-.773-.194-.827-.28-.215-.07-.224.02-.8.1-.886.1-.9.1.11.993v-1h-.96l-.155.05-.9.3-.73.18-.206.076-.4.2-.133.08-.7.5.58.814-.447-.895-.8.4.446.894-.318-.95-.9.3-.31.103-.19.263-.5.7.815.58-.71-.706-.6.6-.105.128-.5.7-.546.63-.11.154-.4.7-.426.85-.04.095-.3.8-.04.134-.2.9-.194.772-.03.12V46h1l-.995-.11-.1.9-.1.9-.02.178.046.175.2.8.32.973.313.835.42.96.42.84.904-.45-.95.32.3.9.3.9.076.17.5.9.38.76.38.86.914-.403-.977.218.2.9.037.168.096.147.5.8.85-.53-.98.196.2 1 .043.224.133.18.6.8.8-.6-.993.11.1.9.038.174.3 1 .295 1.077.964-.26-.96-.276-.2.7.96.275-.92-.396-.3.7.92.394-.83-.556-.4.6-1.868 2.8 3.09-1.325.7-.3.85-.426.887-.545-.53-.847.35.935.8-.3.8-.3-.35-.935.217.975.9-.2.826-.206.97-.32.18-.082.7-.4-.5-.862.22.976.9-.2.133-.04.8-.3.127-.047.104-.076.7-.5L75 61l.217.976.9-.2.244-.054.19-.163.7-.6-.65-.76.25.97.8-.2.976-.32.18-.09.7-.4.75-.376-.446-.894.35.936.8-.3.866-.287.18-.08.7-.4-.496-.87.11.994.9-.1.18-.02.16-.08.8-.4-.45-.896.35.936.8-.3.866-.286.728-.18.23-.054.178-.154.7-.6-.65-.76.218.978.9-.2.133-.04.8-.3.938-.28 3.677-1.1-3.742-.834-.9-.2-.22.98.496-.868-.7-.4-.105-.05-.7-.3-.12-.045-.7-.2-.274.964.8-.6-.6-.8-.083-.114-.113-.086-.8-.6-.6.8.707-.707-.7-.7-.71.71.936-.35zm-1.872.7l.076.204.153.153.7.7.107.093.8.6.6-.8-.8.6.6.8.202.27.323.092.7.2.275-.962-.394.92.7.3.394-.92-.496.868.7.4.13.075.15.033.9.2.216-.976-.287-.958-1 .3-.864.322.35.936-.22-.976-.9.2-.25.054-.19.163-.7.6.65.76-.244-.97-.8.2-.973.32-.835.32-.098.04-.8.4.445.9-.11-.994-.9.1-.204.023-.18.1-.7.4.497.868-.316-.95-.9.3-.832.314-.096.04-.8.4-.75.428.496.868-.314-.95-.9.3-.727.18-.23.057-.178.15-.7.6.65.76-.218-.972-.9.2-.2.045-.164.12-.7.5.58.812-.35-.932-.8.3.35.936-.216-.974-.9.2-.148.03-.13.076-.7.4.492.868-.318-.95-.9.3-.726.18-.874.195-.133.04-.8.3-.8.3-.18.086-.8.5-.718.353-.648.273.39.92.833.554.4-.6.086-.16.3-.7.04-.12.2-.7.075-.27-.074-.27-.3-1.1-.305-1.025-.96.285.997-.11-.1-.9-.03-.27-.163-.22-.6-.8-.8.6.98-.195-.2-1-.035-.18-.098-.154-.5-.8-.85.53.978-.216-.2-.9-.062-.19-.4-.9-.42-.84-.52-.94-.872.486.95-.317-.3-.9-.3-.9-.055-.13-.4-.8-.38-.86-.28-.745-.287-.866-.18-.728-.97.24.996.11.1-.9.1-.9.006-.11v-.9h-1l.97.247.2-.8.207-.927-.976-.22.94.35.3-.8-.938-.35.895.45.4-.8.375-.65-.87-.496.76.65.6-.7.556-.77-.813-.58.71.706.6-.6.108-.127.5-.7-.814-.58.317.95.9-.3.13-.055.8-.4.137-.08.7-.5-.58-.816.447.895.4-.2-.443-.9.243.97.8-.2.97-.32-.31-.95v1h.8l.11-.006.9-.1.9-.1.814-.102-.124-.992-.316.95.9.3.873.22.926.206L75 36.9l-.58.814.7.5.7.5.12.087.144.05.9.3.316-.95-.707.71.6.6.756.65.54.55.71-.71-.94.35.3.8.09.18.5.8.85-.53-.94.35.3.8.06.17.114.14.6.7.76-.65-.935.35.3.8.287.867.05.144.085.12.5.7.81-.58-.935.35.3.8.043.098.4.8.895-.446-.975.22.2.9.04.166.09.146.5.8.85-.53-.97.244.2.8.074.203.4.8.4.8.893-.447-.935.35.3.8z\\\"/><path d=\\\"M67.2 32.7v.8h1l-.99-.14-.1.7.99.14-.962-.275-.2.7.962.275-.8-.6-.6.8.14-.153-.8.7.66.753-.14-.99-.7.1-.7.1.14.99v-1h-.8v1l.707-.707-.5-.5-.667-.56-.64.767.832-.555-.4-.6L62.8 35h1v-1.4h-1l.992.124.1-.8-.992-.124.832.555.4-.6-.832-.555.707.707.5-.5.5-.5-.707-.707-.14.99.7.1.13.02.134-.018.8-.1-.124-.992v1h.7v-1l-.768.64.5.6.56.567.096.095.116.066.7.4.496-.868h-1zm2 0v-.58l-.504-.288-.7-.4-.496.868.707-.707-.5-.5-.44-.533-.3-.36H65.8l-.124.008-.8.1.124.992.14-.99-.7-.1-.494-.07-.353.353-.5.5-.5.5-.125.152-.4.6-.13.197-.03.234-.1.8-.008.124v1.703l.168.252.4.6.08.12.112.093.6.5.433.44.293.292H65.1l.14-.01.7-.1.7-.1.295-.042.224-.195.8-.7.14-.153.6-.8.11-.148.05-.177.2-.7.03-.134.1-.7.01-.14v-.8zm6.855 28.732l.3-.2-.555-.832-.995.1.1 1 .02.205.1.18.5.9.11.198.184.13.7.5.1.077.12.046.8.3.35-.936-.77.64.5.6.197.237.295.085.7.2.275-.962-.494.868.7.4.102.05.7.3.295.128.314-.07.9-.2 1.07-.318.2-.084.9-.5.244-.135.137-.25.4-.7.2-.35-.098-.39-.1-.4-.97.24h1v-.3h-1l.89.446.1-.2.26-.52-.32-.48-.6-.9-.832.554.936-.35-.3-.8-.074-.204-.15-.15-.7-.7-.6-.6-.294-.29h-1.2v2h.8v-1l-.707.704.6.6.7.7.707-.706-.936.35.3.8.04.11.064.093.6.9.832-.55-.894-.444-.1.2-.106.21v.66l.03.12.1.4.97-.242-.868-.49-.4.7.868.497-.486-.873-.9.5.2-.085-1 .3-.83.18.216.974.394-.92-.7-.3-.394.92.496-.867-.7-.4-.105-.06-.11-.034-.7-.2-.27.96.77-.64-.5-.6-.17-.2-.25-.09-.8-.3-.35.933.58-.813-.7-.5-.58.815.874-.485-.5-.9.12.384-.1-1-.164-1.654-1.387.925-.3.2 1.11 1.663zm-7.023-5.087l-.4-.6-.832.555.92-.394-.3-.7-.052-.102-.4-.7-.868.496.98-.196-.1-.5-.03-.12-.2-.6-.95.316.99-.14-.1-.7-.023-.162-.073-.145-.3-.6-.637-1.067-.857.514.92-.394-.3-.7-.17-.522-.95.316.986-.164-.2-1.2-.1-.6-.024-.15-.068-.133-.4-.8-1.788.894.4.8L65 48.4l-.986.164.1.6.2 1.2.037.152.2.6.33.778.07.12.6 1 .266.533.894-.447-.99.14.1.7.04.176.2.6.95-.316-.98.196.1.5.03.16.082.14.4.7.868-.496-.92.394.3.7.09.16.4.6 1.663-1.11z\\\"/><path d=\\\"M65.9 44.2l.3-.4.2-.267V42.5h-1l-.928.37.2.5 1.856-.74-.2-.5-1.928-4.823V43.2h1l-.8-.6-.3.4 1.6 1.2z\\\"/></g><path fill=\\\"#2E3192\\\" d=\\\"M17.2 25.4v-.5h-1l.707.707.4-.4.145-.145.076-.19.4-1 .29-.678-.918-.394.868.496.4-.7.095-.166.027-.19.1-.7-.99-.14.868.496.4-.7.48-.766.063-.1.04-.114.3-.9L19 19l.6.8.8-.6.19-.142.104-.21.3-.6-.894-.448.832.555.4-.6-.832-.555.555.832.9-.6.11-.074.088-.1.7-.8-.753-.658.555.832.6-.4.64-.364.145-.1.6-.5.6-.5L24.6 14l.447.894.8-.4.108-.062.3-.2-.555-.832.316.95.6-.2.18-.082.7-.4-.992-1.736-.7.4.496.868-.316-.95-.6.2-.127.044-.112.074-.3.2.555.832-.447-.894-.8.4-.104.05-.09.076-.6.5-.6.5.64.768-.5-.868-.7.4-.66.436-.11.074-.09.1-.7.8.2-.174-.9.6-.17.11-.11.167-.4.6-.06.108-.3.6.893.447-.6-.8-.8.6-.25.187-.1.297-.3.9.95.316-.848-.53-.5.8-.42.734-.096.166-.025.19-.1.7.99.14-.868-.496-.4.7-.05.102-.3.7-.41 1.023.927.37-.707-.71-.4.4-.292.29v.91h2zm65.2 7.5v-.7h-1l.857.514.3-.5.214-.355-.1-.41-.2-.8-.97.24.97.242.2-.8.03-.12V29.2l-.1-1.1.01-.7v-.205l-.08-.19-.3-.7-.92.395.97-.243-.2-.8-.97.243.99-.14-.1-.7-.027-.135-.2-.7-.043-.12-.3-.7-.3-.7-.3-.7-.92.395.96-.275-.2-.7-.06-.203-.134-.162-.5-.6-.767.64.97-.243-.2-.8-.05-.195-.12-.162-.6-.8-.8.6.912-.406-.4-.9-.54-.98-.07-.122-.1-.1-.5-.5-.44-.532-.113-.12-.7-.6-.644-.647-.666-.56-.13-.11-.16-.06-.8-.3-.654-.282-.394.92.58-.81-.7-.5-.12-.08-.143-.05-.6-.2-.318.95.555-.83-.6-.4-.555.83.64-.768-.6-.5-.087-.064-.6-.4-.108-.062-.8-.4-.21-.105H68.2v1l.316-.95-.9-.3-.632 1.9.9.3.154.05H69.1v-1l-.447.895.8.4.447-.895-.555.832.6.4.555-.83-.64.77.6.5.085.063.6.4.112.073.127.044.6.2.316-.95-.58.812.7.5.186.104.7.3.843.316.35-.935-.64.766.6.5.63.64.75.65.65-.758-.77.64.5.6.56.566.708-.708-.874.486.5.9.36.82.046.104.067.09.6.8.8-.6-.97.243.2.8.055.22.145.18.5.6.77-.64-.962.272.2.7.044.12.3.7.3.7.3.7.92-.393-.963.272.2.7.97-.28-.99.14.1.7.02.105.2.8.05.15.3.7.92-.394h-1v.8l.105 1.1-.005.8h1l-.97-.24-.2.8-.06.242.06.244.2.8.97-.244-.856-.514-.3.5-.14.237v.975h2zm-70.708-7.676l.1-.8-.992-.124.962.275.2-.7.03-.15.1-.8-.992-.125.814.58.5-.7.418-.625.096-.144.042-.16.2-.8-.97-.24.848.53.5-.8-.848-.53.65.76.7-.6.196-.167.09-.24.3-.8-.936-.352.768.64.5-.6 1.367-1.64H14.1v2h.1v-1l-.768-.64-.5.6-.11.13-.058.16-.3.8.936.35-.65-.76-.7.6-.117.1-.08.13-.5.8-.085.136-.038.153-.2.8.97.243-.832-.556-.4.6-.482.674-.147.205-.04.25-.1.8.99.126-.963-.274-.2.7-.03.15-.1.8 1.984.25zM83.9 21.8h.2v-1l-.447.894.6.3.447-.894-.994.11.1.9.032.165.2.7.192.768.194.874.062.19.4.9.914-.407h-1v.78l.064.17.3.8.936-.35-.986-.164-.1.6-.024.143.018.14.1.8.033.26.16.21.3.4.8-.6-.97-.244-.2.8-.03.12v1.463l.04.134.2.7.19.77.97-.245-.98-.198-.2 1-.02.194v1.1h1l-.89-.45-.2.4-.14.28.05.31.1.7.99-.14-.927-.37-.4 1 .096-.186-.6.9-.116.17-.037.207-.2 1.1.985.18-.705-.707-.7.7-.225.224-.052.315-.2 1.2 1.973.33.2-1.2-.986-.168.708.708.7-.7.22-.22.06-.31.2-1.1-.153.376.6-.9.096-.184.4-1 .1-.247-.04-.263-.1-.7-.99.14.896.445.2-.4.107-.21V33l-.02.196.2-1 .045-.22-.056-.22-.2-.8-.208-.73-.96.274h1v-1.2h-1l.97.243.2-.8.117-.462-.286-.38-.3-.4-.8.6.993-.12-.1-.8-1 .12.986.17.1-.6.045-.262-.094-.25-.3-.8-.935.35h1v-.81l-.088-.195-.4-.9-.914.406.974-.217-.2-.9-.205-.828-.21-.73-.96.273.992-.11-.1-.9-.06-.54-.488-.244-.6-.3-.21-.104h-.44v2zM28.494 70.314l.9.4.406-.914-.832.555.6.9.134.2.212.12.9.5.83.557.556-.832-.65.76.7.6.148.127.186.062.9.3.316-.95-.486.87.9.5.9.5.9.5.144.06 1.1.4.1.03 1.2.3.667.19.275-.96-.496.867.7.4.166.095.19.026.7.1.13.02.134-.02.8-.1-.124-.99-.35.935.8.3.17.064H43v-1l-.275.96.7.2 1.232.31.182.045.18-.024.8-.1-.13-.99-.448.895.8.4.203.075.8.2.12.03h2.13l.14-.01.7-.1-.14-.99-.125.99.8.1.8.1.125.018.123-.017.8-.1.12-.02.8-.2.15-.05.7-.3-.395-.92v1h.8l.14-.01.7-.1.134-.03.7-.2.767-.19-.243-.97v1h.7l.125-.01.8-.1.234-.03.197-.13.6-.4-.55-.82.124.993.8-.1.14-.017.13-.056.7-.3-.393-.92.217.97.9-.2.148-.033.13-.075.7-.4-.494-.866.394.92.7-.3.757-.285.63-.174.12-.044.7-.3-.4-.913.276.96.7-.2.15-.044.13-.09.6-.4.152-.127.6-.6-.71-.7.496.866.7-.4.085-.054.7-.5 5.42-3.865-6.31 2.103-.3.1.63 1.9.3-.1-.316-.95-.58-.81-.7.5.58.815-.495-.867-.7.4-.117.066-.095.097-.6.6.706.705-.554-.83-.6.4.555.83-.276-.96-.7.2-.12.043-.7.3.394.92-.273-.962-.7.2-.874.327-.745.32-.1.05-.7.4.496.868-.217-.976-.9.2-.177.06-.7.3.393.92-.125-.99-.8.1-.233.03-.196.13-.6.4.554.83-.124-.99-.8.1.124.99v-1h-.825l-.12.03-.8.2-.73.21.273.96-.14-.99-.7.1.14.99v-1H53.7l-.19.08-.7.3.394.92-.243-.97-.8.2.25.97-.122-.99-.8.1.125.99.124-.99-.8-.1-.8-.1L50 75.7l-.13.02-.7.1.14.99v-1h-2v1l.243-.97-.8-.2-.243.97.448-.895-.8-.4-.27-.135-.3.037-.8.1.123.99.25-.97-1.2-.3-.666-.193-.135-.038h-.64v1l.35-.938-.8-.3-.23-.087-.244.03-.8.1.126.998.14-.99-.7-.1-.14.99.498-.868-.7-.4-.105-.06-.113-.036-.7-.2-1.234-.307.1.03-1.1-.4.144.066-.9-.5-.9-.5-.9-.5-.17-.073-.9-.3-.316.95.65-.76-.7-.6-.094-.075-.9-.6-.97-.542.347.32-.6-.9-.16-.24-.266-.12-.9-.4-.812 1.83zm-7.908-2.808l.4.9.265.81.15.426.416.177.7.3.394-.92-.625.78.5.4.623-.78-.994.1.1 1 .033.35.254.25.7.7.8.8.116.112.145.072.6.3.446-.895-.98.194.1.5.096.48.44.217.8.4.4.2.202.077.4.1.245-.97-.53.846.8.5.65.467.54.456.145.12.18.06.9.3.317-.946-.814.58.5.7.156.22.24.11 1.1.5.414-.91-.706.706.6.6 1.417-1.415-.6-.6-.13-.13-.17-.07-1.1-.5-.412.91.812-.58-.5-.7-.19-.267-.31-.103-.9-.3-.316.95.64-.768-.6-.5-.76-.545-.85-.535-.135-.083-.15-.04-.4-.1-.246.97.446-.895-.4-.2-.8-.4-.445.893.98-.197-.1-.5-.096-.48-.44-.215-.6-.3-.457.9.706-.707-.8-.8-.7-.7-.71.705.995-.1-.1-1-.042-.417-.328-.263-.5-.4-.106-.09-.13-.052-.7-.3-.394.92.95-.316-.3-.9-.437-.99-1.83.814z\\\"/></svg>\",\n    \"desktop-mobile\": \"<svg width=\\\"80\\\" height=\\\"75\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"invite-link__inapp\\\"><g fill=\\\"#248FED\\\" class=\\\"invite-link__inapp-mobile\\\"><path d=\\\"M78.696 42.02l-1-.2-.196-.02h-1.9l-.9-.095-.1.995.316-.95-.9-.3-.154-.05H71.7v1l.217-.976-.9-.2-.217-.024h-1v1l.11-.994-.9-.1-1.01-.1h-.2l-1 .1.1.994.11-.994-.9-.1L66 41h-1v1l.316-.95-.9-.3-.203-.066-.213.02-1 .1-.9-.004v1l.316-.95-.9-.3-.203-.066-.213.02-1 .1.296.015-1-.2-.986-.12-1.01-.1-.15-.02-.146.03-1 .2.36-.007-1.2-.2-.164.986.992-.125-.1-.8-.992.13h1v-1l.095-.9-.995-.1.95.315.3-.9.05-.152V35.6h-1l.994.11.1-.9.006-.11v-3.8h-1l.994.11.1-.9v-.22l-.1-.9-.994.11.995.1.1-1 .005-1h-1l.976.217.2-.9.02-.117.1-1 .004-1h-1l.994.11.1-.9v-.21l-.1-1-.1-.91-.994.11.994.11.1-.9.006-.11v-1l-.006-.11-.1-.9-.994.11h1v-1h-1l.976.217.2-.9.036-.162-.018-.165-.1-.9-.994.11h1v-2.8l.095-.9.005-1v-.9l.095-.9v-.21l-.1-.9L56 8.5l.95.316.3-.9.083-.252-.052-.26-.2-1-.98.196 1 .11.1-.9.01-.11V3.8l.096-.9v-.2l-.1-1-.995.1-.315.95.9.3.206.068.218-.024.9-.1L58 2v1h1.8V2l-.11.994.9.1.9.1.11-.994-.243.97.8.2.133.024.9.1.9.1h.22l.9-.1-.11-.994-.316.95.9.3.154.05H66.9v-1l-.124.992.8.1.124.008h.9v-1l-.11.994.9.1.11.006h.9V3l-.217.976.9.2.107.018.9.1.11.006h.9l.11-.006.9-.1L74 3.2l-.124.992.8.1.124.008h.9v-1l-.11.994.9.1.11-.994-.217.976.9.2.107.018.9.1.11.006h1.7v-1l-.994-.11-.1.9L79 4.6v2.8l.006.11.1.9.994-.11-.95-.316-.3.9-.05.154V12l-.095.9.995.1-.976-.217-.2.9-.024.217v.9l.02.196.2 1 .98-.196-.976-.217-.2.9-.035.157.01.16.1 1 .99-.1-.995-.11-.1.9-.1.9-.017.154.03.152.2 1 .98-.196-.994-.11-.1.9-.1.9-.006.11v1l.008.11.1.9.997-.11-.995-.1-.1 1 .996.1-.95-.316-.3.9-.05.154V28l.004.11.1.9.994-.11-.995-.11-.1.9-.1 1.01.99.1-.976-.217-.2.9-.034.162.02.165.1.9.1.99-.008.8-.095.9.997.1-.978-.217-.2.9-.017.107-.1.9-.018.154.03.152.2 1 .98-.196-.95-.316-.3.9-.07.208.025.218.1.9.995-.11h-1v1h1l-.995-.11-.1.9-.005.11v1l1.196-.98zm-.392 1.96l1.196.24V42h-1l.994.11.1-.9.006-.11v-1l-.006-.11-.1-.9-.994.11.95.316.3-.9.083-.252-.052-.26-.2-1-.98.196 1 .11.1-.9-.99-.11.977.217.2-.9.02-.117.1-1 .004-1-.104-1.1-.1-.91-.997.11.976.217.2-.9.02-.117.1-1 .1-.89v-.22l-.1-.9-.995.11h1v-1.9h-1l.95.316.3-.9.046-.216.1-1v-.21l-.1-.9-.992.11h1v-1h-1l.996.11.1-.9.1-.9.015-.154-.03-.152-.2-1-.98.196.995.11.1-.9.1-.9v-.21l-.1-1-.993.1.977.217.2-.9.046-.206-.04-.2-.2-1-.982.2h1v-.9h-1l.977.218.2-.9.02-.116.1-1 .004-1V9.2h-1l.95.316.3-.9.07-.208-.03-.218-.1-.9L80 7.4h1V4.6h-1l.994.11.1-.9.123-1.11H78.4v1l.11-.994-.9-.1-.11.994.217-.976-.9-.2-.107-.018-.9-.1-.11-.006h-.9v1l.124-.992-.8-.1-.117-.015-.117.013-.9.1.11.994v-1h-.9v1l.11-.994-.9-.1-.11.994.217-.976-.9-.2L70.4 2h-.9v1l.11-.994-.9-.1-.11-.006h-.9v1l.124-.992-.8-.1L66.9 1.8H66v1l.316-.95-.9-.3-.208-.068-.218.024-.9.1.11.994.11-.994-.9-.1-.9-.1-.11.994.243-.97-.8-.2-.133-.024-.9-.1-.9-.1L59.8 1H58l-.11.006-.9.1.11.994.316-.95-.9-.3L55.05.364l.155 1.537.1 1v-.2l-.1 1-.005 1v1h1l-.994-.11-.1.9-.017.16.03.15.2 1 .98-.19-.95-.316-.3.9-.07.208.02.22.1.9.99-.11-.996-.1-.1 1-.005 1v.9l-.096.9-.005 1V16l.005.11.1.9.997-.11-.977-.217-.2.9-.025.217v1l.008.11.1.9.993-.11h-1v1h1l-.994-.11-.1.9v.22l.1.9.1.99.994-.1-.997-.11-.1.9-.006.11v.9l-.092.9.995.1-.977-.217-.2.9-.024.217v.9l-.1.9v.21l.1.9.996-.11-.996-.11-.1.9-.005.11v3.8h1l-.997-.11-.1.9-.006.11v1.9h1l-.95-.316-.3.9-.046.216-.1 1 .01 1.1.01.124.1.8.09.74.736.122 1.2.2.18.03.18-.035 1-.2-.296.02 1 .1.89.1.915.19.15.03.15-.014 1-.1-.1-.995-.314.95.9.3.152.05h1.16l1.1-.105-.1-.997-.316.95.9.3.153.05H66v-1l-.11.994.9.1H67l1-.1h-.2l1 .1.89.1.11.007h1v-1l-.217.975.9.2.217.02h2v-1l-.316.95.9.3.216.048 1 .1 1 .006h1l-.196-.02 1 .2z\\\"/><path d=\\\"M80.616 7.15l-.9-.3-.203-.066-.213.02-1 .1.1.996.11-.994-.9-.1-.11-.006h-.9v1l.217-.976-.9-.2L75.7 6.6H74v1l.11-.994-.9-.1-.11.994.217-.976-.9-.2-.162-.036-.165.018-.9.1.11.994v-1h-.9v1l.11-.994-.9-.1-.786-.098-.914-.102-.9-.1h-.22l-.9.1.11.994.316-.95-.9-.3-.208-.068-.218.024-.9.1.11.994.11-.994-.9-.1-.9-.1-.786-.098L61.6 5.6h-.9v1l.217-.976-.9-.2L59.8 5.4h-.9v1l.217-.976-.9-.2L58 5.2h-1.8l.996 1.09.1-1.1.1-1.1.013-.144-.03-.142-.2-1 .01.287.1-1.1-1-.09v1h.8v-1l-.11 1 .9.1h1.02V2l-.218.976.9.2.9.2.217.024h1.7v-1l-.11.994.9.1.9.1h.22l.9-.1-.11-.994v1h.9l.11-.006.9-.1-.11-.994-.11.994.9.1.11-.994-.244.97.8.2.827.28.208.068.22-.024.9-.1-.11-.994v1h.9v-1l-.218.976.9.2.217.024h.9l.11-.006.9-.1L74 3l-.243.97.8.2.12.03H75.8v-1l-.35.936.8.3.116.044.124.014.9.1.11.006h.9v-1l-.11.994.9.1h.22l.9-.1-.11-.994-.962-.275-.2.7L79 4.16V5l.008.124.1.8.992-.124h-1v.7l.008.124.1.8.1.8.992-.124.316-.95zm-.632 1.9l1.505.5-.2-1.574-.1-.8-.1-.8-.99.124h1v-.7l-.01-.124-.1-.8L80 5h1v-.7h-1l.962.275.2-.7.41-1.433-1.482.164-.9.1.11.994.11-.994-.9-.1-.11-.006h-.9v1l.11-.994-.9-.1-.11.994.35-.936-.8-.3-.17-.064H74.8v1l.243-.97-.8-.2-.175-.044-.178.02-.9.1.11.994v-1h-.9v1l.217-.976-.9-.2L71.3 1.9h-.9l-.11.006-.9.1.11.994.316-.95-.9-.3-.873-.22-.133-.024-.9-.1h-.22l-.9.1.11.994v-1h-.9l-.11.006-.9.1.11.994.11-.994-.9-.1-.9-.1-.11-.006h-1.7v1l.217-.976-.9-.2-.9-.2L58.9 1H58v1l.11-.994-.9-.1L57.1.9h-1.713l-.083.91-.1 1.1-.013.144.03.142.2 1-.01-.287-.1 1.1-.1 1.1-.1 1.09H58v-1l-.217.97.9.2.217.02h.9v-1l-.217.975.9.2.217.024h.9v-1l-.124.99.8.1.914.103.9.1h.22l.9-.1-.11-.995-.316.95.9.3.208.065.218-.025.9-.1L66.9 7l-.11.994.9.1.9.1.786.098.914.102.11.006h.9l.11-.006.9-.1-.11-.994-.217.976.9.2.107.018.9.1.11.006h1.7v-1l-.217.976.9.2.217.024h.9v-1l-.11.994.9.1h.21l1-.1-.1-.994-.316.95.9.3zM78.19 41.806l-.9.1.11.994.217-.976-.9-.2-.217-.024h-.9l-1.1.105.1.995.11-.994-.9-.1-1.01-.1-.904-.187-.152-.03-.154.01-.9.1.11.99.1-.996-1-.1-1.1-.005h-.9v1l.287-.96-1-.3-.97-.217-.157-.037-.16.015-1 .1h.2l-1-.1-.89-.1-.11.995.287-.96-1-.3-.14-.04H60.2l-1.1.104.1.994.217-.976-.9-.2-.217-.028h-1v1l.217-.977-.9-.2-.107-.02-.9-.1-.11.995h1v-.9l.095-.9v-.21l-.1-.9-.995.11h1v-1l-.02-.196-.2-1-.98.196.95.318.3-.9-.95-.314v1h1.7l.9.095.89.1h.21l1-.1h-.2l1 .1 1 .003.9.095.1-.995-.217.976.9.2.117.02 1 .1L66 37h1.9v-1l-.217.976.9.2.217.024h2v-1l-.217.976.9.2.93.282.19.057.197-.02 1-.1-.1-.995-.11.994.9.1h.21l1-.1-.1-.994-.217.976.9.2.217.024h1l.9.095.1-.995-.97-.243-.2.8-.076.303.11.29.3.8.936-.35h-1v.7h1l-.97-.243-.2.8-.024.133-.1.9-.017.154.03.152.2 1 .98-.196-.98-.217-.2.9.97.217-.11-.994zm.22 1.988l.71-.08.156-.697.2-.9.046-.206-.04-.2-.2-1-.982.2.994.11.1-.9L78.4 40l.97.243.2-.8.03-.12V38.32l-.064-.17-.3-.8-.936.35.97.243.2-.8.28-1.123-1.15-.115-1-.1-1.1-.005v1l.217-.976-.9-.2-.157-.035-.16.01-1 .1.1.99.11-.995-.9-.1h-.21l-1 .1.387.036-1-.3-.97-.217-.217-.026h-2v1l.217-.978-.9-.2L67.9 35H65l-.9-.095-.1.995.217-.976-.9-.2-.117-.02-1-.1-1-.004-.9-.095h-.2l-1 .1.1.995.11-.994-.9-.1-1.01-.1-1-.006h-1.52l-.23.684-.3.9-.083.252.052.26.2 1-.02-.196v1.11l.1.9.99-.11-.996-.1-.1 1-.005 1v.895l.89.1.9.1.11-.995-.218.976.9.2.216.024h1v-1l-.22.976.9.2.158.035.16-.01 1-.1.9.01h.9v-1l-.29.96 1 .3.178.035.9.1 1.01.1h.2l1-.1-.1-.994-.22.977.9.2.93.283.14.04h2.06l.9.094h.21l.9-.1-.11-.994-.196.98 1 .2 1.096.117.89.1h.21l1-.1.8.005v-1l-.217.977.9.2.162.035.164-.018.9-.1z\\\"/></g><g fill=\\\"#2E3192\\\" class=\\\"invite-link__inapp-desktop\\\"><path d=\\\"M69.7 67.305l-1-.1h-.21l-.9.1.11.995.316-.95-.9-.3-.263-.086-.27.06-.9.2.217.976v-1h-1.8v1l.11-.994-.9-.1h-.22l-.9.1.11.994v-1h-1v1l.217-.976-.9-.2L60.4 67h-.9l-.11.006-.9.1.11.994v-1h-1.8l-.11.006-.9.1-.9.1.11.994.11-.994-.9-.1-.9-.1-.11-.006h-1.8l-.217.024-.9.2.217.976.11-.994-.9-.1h-.22l-.9.1.11.994v-1h-.9v1l.11-.994-.9-.1-.11-.006H46v1l.11-.994-.9-.1-.165-.018-.162.036-.9.2.217.976v-1h-.9l-.11.006-.9.1.11.994.217-.976-.9-.2-.157-.035-.16.01-1 .1-.8-.01v1l.11-.995-.9-.1-.11-.006h-1.8v1l.11-.995-.9-.1h-.22l-.9.1-.107.02-.9.2.217.974.11-.995-.9-.1-.9-.1-.9-.1h-.22l-.9.1-.9.1.11.994v-1h-1.8v1l.217-.978-.9-.2L27 67.1h-.9l-.11.006-.9.1-.9.1.11.994.217-.976-.9-.2-.157-.035-.16.01-1 .1.1.99.217-.977-.9-.2-.162-.036-.165.02-.9.1-.107.016-.9.2.217.978.217-.976-.9-.2-.162-.035-.165.017-.9.1.11.996.11-.995-.9-.1h-2.972l-.154.05-.9.3.316.95v-1h-1.8v1l.217-.975-.9-.2-.162-.036-.165.02-.9.1.11.99.217-.974-.9-.2-.217-.048-.217.044-.9.2.217.98.1-.995-1-.1-1-.005-.217.024-.9.2.217.976v-1H2.5v1l.11-.994-.9-.1-.11.994.994.11.1-.9v-.22l-.1-.9-.994.11.994.11.1-.9.1-.9v-.22l-.1-.9-.994.11.976.217.2-.9.036-.162-.018-.165-.1-.9L1.8 62l.994.11.1-.9.098-.786.184-.807.036-.162-.018-.165-.1-.9-.994.11.994.11.1-.9.1-.9v-.22l-.1-.9-.994.11.994.11.1-.9.018-.165-.036-.162-.2-.9L2.1 54l.95.316.3-.9.042-.192.1-.8.015-.117-.013-.117-.1-.9-.1-.9-.994.11h1v-.9h-1l.95.316.3-.9.05-.154V47.8h-1l.994.11.1-.9.006-.11V46l-.006-.11-.1-.9-.994.11h1v-.9l-.006-.11-.1-.9-.994.11.97.243.2-.8.03-.12V40.7h-1l.976.217.2-.9L2.9 39.8l.95.316.3-.9.05-.154V38l-.024-.217-.2-.9L3 37.1l.994.11.1-.9.1-.9.006-.11v-1.7h-1l.994.11.1-.9.006-.11v-.9h-1l.976.217.2-.9.036-.162-.018-.165-.1-.9L3.4 30l.994.11.1-.9.1-.9.018-.165-.036-.162-.2-.9-.976.217.994.11.1-.9.013-.117-.015-.117-.1-.8-.992.124.976.217.2-.9.024-.217v-.9h-1l.994.11.1-.9.006-.11V22h-1l.976.217.2-.9.018-.107.1-.9L5 20.2v-.9l-.008-.124-.1-.8-.992.124.97.243.2-.8-.97-.243.243.97.8-.2-.243-.97.11.994.9-.1-.11-.994-.11.994.9.1.9.1h.22l.9-.1-.11-.994v1h1v-1l-.11.994.9.1.165.018.162-.036.9-.2-.217-.976-.11.994.9.1h.22l.9-.1-.11-.994v1h1v-1l-.11.994.9.1.9.1h.22l.9-.1-.11-.994-.287.958 1 .3.195.058.202-.022.9-.1.107-.018.9-.2.9-.2-.217-.976-.11.994.9.1.11-.994-.217.976.9.2.117.02 1 .1.21-.002.9-.1.9-.1-.11-.994-.217.976.9.2.217.048.217-.048.9-.2-.217-.976v1h1l.11-.006.9-.1-.11-.994v1h.9v-1l-.11.994.9.1 1.01.1.16.017.157-.03.9-.2-.217-.97-.316.95.9.3.263.087.27-.06.9-.2-.217-.976-.217.977.9.2.206.047.2-.04 1-.2.81-.087-.11-.995-.11.997.9.1.11.003h2.8v-1l-.11.995.9.1h.22l.9-.1.9-.1.9-.1-.11-.995-.197.98 1 .2.196.02h.9v-1l-.11.993.9.1.11.006h5.5v-1l-.197.98 1 .2.206.04.207-.046.9-.2-.218-.976.11.994.9-.1.9-.1-.11-.993v1h1v-1l-.218.975.9.2.216.024h1.8v-1l-.11.992.9.1.11.008h1l.215-.022.9-.2-.218-.976v1h1.8v-1l-.11.994.9.1.11.006h1l.216-.024.9-.2-.217-.976-.11.996.9.1.11-.996-.218.977.9.2.16.034.166-.018.9-.1-.11-.995-.992-.11-.1.9-.005.11v.8l.006.11.1.9.995-.11h-1v.9h1l-.993-.11-.1.9-.006.11v1.026l.03.12.2.8.97-.245h-1v.9h1l-.992-.11-.1.9-.006.11v.9h1l-.994-.11-.1.9v.22l.1.9.993-.11-.95-.314-.3.9-.086.263.06.27.2.9.98-.23-.992-.11-.1.9-.1.9-.025.236.085.224.3.8.936-.35-.974-.217-.2.9-.027.22v.9l.005.11.1.9.995-.11-.977-.216-.2.9-.024.216v.9l.005.11.1.9L70 38h-1v.9h1l-.976-.217-.2.9-.05.23.056.23.2.8.97-.243-.994.11.1.9.994-.11h-1v1.8h1l-.976-.217-.2.9-.018.107-.1.9-.018.165.036.162.2.9L70 46l-.976-.217-.2.9-.024.217v.9h1l-.992-.124-.1.8-.015.117.013.117.1.9.994-.11h-1v1.8l.006.11.1.9.994-.11-.95-.316-.3.9-.05.154V54h1l-.994-.11-.1.9-.018.165.036.162.2.9.976-.217-.976-.217-.2.9-.05.23.056.23.2.8.97-.243-.994-.11-.1.9-.018.165.036.162.2.9.976-.217-.994-.11-.1.9-.1.9v.22l.1.9.994-.11-.994-.11-.1.9-.1.9v.22l.1.9.994-.11-.994-.11-.1.9-.018.165.036.162.2.9.976-.217-.976-.217-.2.9-.036.162.018.165.1.9.994-.11.1-.995zm-.2 1.99l1.23.123-.136-1.228-.1-.9-.994.11.976.217.2-.9.048-.217-.048-.217-.2-.9-.976.217.994.11.1-.9v-.22l-.1-.9-.994.11.994.11.1-.9.1-.9v-.22l-.1-.9-.994.11.994.11.1-.9.1-.9.018-.165-.036-.162-.2-.9-.976.217.994.11.1-.9.02-.178-.044-.175-.2-.8-.97.243.976.217.2-.9.048-.217-.048-.217-.2-.9-.976.217.994.11.1-.9.006-.11v-.9h-1l.95.316.3-.9.068-.208-.024-.218-.1-.9-.994.11h1v-1.8l-.006-.11-.1-.9-.994.11.992.124.1-.8.008-.124v-.9h-1l.976.217.2-.9.048-.217-.048-.217-.2-.9-.976.217.994.11.1-.9-.994-.11.976.217.2-.9.024-.217v-1.8l-.006-.11-.1-.9-.024-.133-.2-.8-.97.243.976.217.2-.9L71 38.9V38l-.006-.11-.1-.9-.994.11h1v-.9h-1l.976.217.2-.9.036-.162-.018-.165-.1-.9-.994.11h1v-.9h-1l.976.217.2-.9.065-.29-.1-.278-.3-.8-.93.35.995.11.1-.9.1-.9.018-.17-.035-.16-.2-.9-.975.21.95.316.3-.9.07-.208-.026-.22-.1-.9-.995.11.994.11.1-.9.004-.11v-.9h-1l.995.11.1-.9.004-.11v-1.02l-.03-.12-.2-.8-.97.244h1V22h-1l.994.11.1-.9.006-.11v-.9l-.005-.11-.1-.9-.993.11h1v-.8h-1l.995.11.1-.9.14-1.242-1.24.138-.9.1.11.994.218-.976-.9-.2-.106-.018-.9-.1-.16-.018-.164.036-.9.2.22.976v-1h-1v1l.11-.994-.9-.1-.11-.006h-1.8l-.216.024-.9.2.216.976v-1h-1v1l.11-.994-.9-.1-.11-.006h-1.8v1l.217-.976-.9-.2-.216-.024h-1l-.11.006-.9.1-.9.1-.106.018-.9.2.218.976.2-.98-1-.2-.196-.02h-5.5v1l.11-.994-.9-.1-.11-.006h-.9v1l.195-.98-1-.2-.153-.03-.154.016-.9.1-.9.1-.9.1.11.994.11-.994-.9-.1-.11-.006H38v1l.11-.994-.9-.1h-.22l-.9.1-1.086.213.196.98.217-.98-.9-.2-.217-.05-.217.05-.9.2.217.97.316-.95-.9-.3-.263-.086-.27.06-.9.2.217.976.1-.995-1-.1-.89-.1-.11-.002h-.9l-.11.005-.9.1.11.995v-1h-1l-.217.023-.9.2.217.976.217-.977-.9-.2-.162-.037-.165.02-.9.1-.9.1.11.993.1-.994-1-.1-.1.997.217-.977-.9-.2-.107-.02-.9-.1-.165-.017-.162.034-.9.2-.9.2.217.976-.11-.994-.9.1.11.992.287-.96-1-.3-.195-.058-.202.022-.9.1.11.994.11-.992-.9-.1-.9-.1-.11-.006h-1l-.11.005-.9.1.11.994.11-.997-.9-.1-.165-.018-.162.036-.9.2.217.978.11-.996-.9-.1-.11-.003h-1l-.11.004-.9.1.11.997.11-.997-.9-.1-.9-.1h-.22l-.9.1-.133.022-.8.2-.582.144-.145.58-.2.8-.045.18.023.187.1.8L4 19.3H3v.9h1l-.994-.11-.1.9.994.11-.976-.217-.2.9L2.7 22v.9h1l-.994-.11-.1.9-.006.11v.9h1l-.976-.217-.2.9-.038.17.022.17.1.8.992-.123-.994-.11-.1.9-.018.165.036.162.2.9.976-.217-.994-.11-.1.9-.1.9v.22l.1.9.994-.11-.976-.217-.2.9-.024.217v.9h1l-.994-.11-.1.9-.006.11v1.7h1l-.994-.11-.1.9-.1.9-.018.165.036.162.2.9L3.2 38h-1v.9h1l-.95-.316-.3.9-.026.1-.2.9-.024.216v1.8h1l-.97-.243-.2.8-.044.175.02.178.1.9.994-.11h-1v.9l.006.11.1.9L2.7 46h-1v.9h1l-.994-.11-.1.9-.006.11v.9h1l-.95-.316-.3.9-.05.154V50.5l.006.11.1.9.1.9.994-.11-.992-.124-.1.8.992.124-.95-.316-.3.9-.086.263.06.27.2.9.976-.217-.994-.11-.1.9v.22l.1.9.994-.11-.994-.11-.1.9-.1.9v.22l.1.9.994-.11-.976-.217-.2.9-.116.893-.102.914v.22l.1.9.994-.11-.976-.217-.2.9-.036.162.018.165.1.9.994-.11-.994-.11-.1.9-.1.9v.22l.1.9.994-.11-.994-.11-.1.9-.11.993.994.11.9.1.11.007h2.7l.217-.024.9-.2L6.1 68.2v1H7l.9.095.16.016.157-.03.9-.2-.217-.98-.217.98.9.2.162.04.165-.02.9-.1-.11-.994-.217.977.9.2.217.024h1.962l.154-.05.9-.3-.316-.95v1H17v-1l-.11.995.9.1h.22l.9-.1-.11-.993-.217.976.9.2.217.05.217-.05.9-.2-.217-.974.11.994.9-.1-.11-1-.217.977.9.2.157.037.16-.01 1-.1-.1-.995-.217.978.9.2.162.036.165-.02.9-.1.9-.1-.11-.993v1h.9v-1l-.217.978.9.2.217.025h1.8l.11-.005.9-.1.9-.1-.11-.996-.11.993.9.1.9.1.9.1.165.016.162-.037.9-.2-.217-.975.11.995.9-.1-.11-1-.11.994.9.1.11.005h1.8v-1l-.11.993.9.1.11.006h.9l1.1-.105-.1-.995-.217.975.9.2.162.037.165-.018.9-.1-.11-.995v1h.9l.217-.026.9-.2-.217-.975-.11.993.9.1.11.005h.9v-1l-.11.993.9.1.11.006h.9l.11-.006.9-.1-.11-.995-.11.994.9.1.165.017.162-.036.9-.2-.217-.974v1h1.8v-1l-.11.994.9.1.9.1h.22l.9-.1.9-.1-.11-.994v1h1.8l.11-.006.9-.1-.11-1v1h.9v-1l-.217.976.9.2.217.024h1l.11-.006.9-.1-.11-.994-.11.994.9.1.11.006h1.8l.217-.024.9-.2L66.8 68l-.316.95.9.3.208.068.218-.024.9-.1-.11-.994-.1.995 1 .1z\\\"/><path d=\\\"M70.3 22.905l-1 .1.1.995.217-.976-.9-.2-.157-.035-.16.01-1 .1-.8-.01v1l.11-.995-.9-.1-.914-.187-.26-.053-.252.086-.9.3.316.95.11-.994-.9-.1-.165-.017-.162.036-.9.2L62 24l.217-.976-.9-.2-.117-.02-1-.1-.21.002-.9.1.11.994v-1h-.9v1l.11-.994-.9-.1-.11-.006h-2.8v1l.11-.994-.9-.1-.11-.006h-1.8l-1.1.105.1.995.11-.994-.9-.1h-.22l-.9.1.11.994.11-.994-.9-.1-.165-.018-.162.036-.9.2.217.976.196-.98-1-.2-.986-.114h-.22l-.9.1.11.994.11-.994-.9-.1-.218-.024-.208.07-.9.3.316.948.1-.995-1-.1h-.21l-.9.1.11.995v-1H39v1l.11-.994-.9-.1-.11-.006h-1l-.11.006-.9.1.11.994v-1h-.9l-.217.024-.9.2.217.976v-1h-.9l-.9-.095-1-.005h-.9v1l.217-.976-.9-.2-.255-.057-.25.075-1 .3.288.958v-1H27v1l.11-.994-.9-.1-.9-.1h-.21l-1 .1.1.994.11-.994-.9-.1-.11-.006h-.9l-.11.006-.9.1.11.994.196-.98-1-.2-.152-.03-.154.016-.9.1-.9.1-.9.1.11.994.316-.95-.9-.3-.203-.066-.213.02-1 .1.1.996.11-.994-.9-.1L15 22.7h-1.8l-.217.024-.9.2.217.976.196-.98-1-.2-.986-.114-.11-.006H7.6l-.11.006-.9.1-.9.1-.9.1.11.994.217-.976-.9-.2L4 23.7h1V23H4l.992.124.1-.8.016-.124-.016-.124-.1-.8L4 21.4l.99.14.1-.7.01-.14v-1.6l-.01-.14-.1-.7-.99.14h1v-.9H4l-.217.976.9.2.217.048.217-.048.9-.2L5.8 17.5l.11.994.9-.1-.11-.994-.11.994.9.1h.22l.9-.1-.11-.994v1h1v-1l-.11.994.9.1.9.1.11.006h1.8l1.1-.105.91-.1L15 17.4v1h.9v-1l-.316.95.9.3.208.068.218-.024.9-.1.99-.1-.1-.994-.217.976.9.2.162.036.165-.018.9-.1-.11-.994v1h.9l.9.095 1 .005h.9l.217-.024.9-.2-.217-.976-.11.994.9.1.11.006h1l.217-.024.9-.2-.217-.976v1h.9l.11-.006.9-.1-.11-.994-.11.994.9.1h.21l1-.1-.1-.994-.217.976.9.2.107.018.9.1.9.1h.22l.9-.1-.11-.994-.196.98 1 .2.26.053.252-.084.9-.3-.316-.95-.11.99.9.1.9.1h.22l.9-.1.99-.1h.8l.11-.007.9-.1-.11-.994-.11.993.9.1h.22l.9-.1-.11-.995v1h1v-1l-.11.992.9.1.11.004H50l.217-.026.9-.2-.217-.976v1h.9v-1l-.217.975.9.2.157.032.16-.017 1-.1.8.004h.9v-1l-.11.996.9.1h.21l1-.1-.1-.995-.217.978.9.2.162.037.165-.018.9-.1-.11-.995-.217.978.9.2.217.022h.9l1.1-.103.91-.1-.11-.998v1h.9l.217-.024.9-.2-.217-.976-.217.977.9.2.206.046.2-.04 1-.2-.2-.98-.11.994.9.1.11-.995-.218.977.9.2.205.045.206-.04 1-.2-.196-.98-.24.97.8.2.242-.97-.99.14.1.7.99-.14-.97-.24-.2.8-.045.18.023.186.1.8.993-.123-.99-.125-.1.8-.03.27.104.248.3.7.92-.394-.977-.22-.2.9-.05.23.054.23.2.8.97-.24h-1v.8h1l-.1-.996zm.2 1.99l.9-.09v-1.828l-.03-.12-.2-.8-.97.243.976.217.2-.9.07-.315-.127-.296-.3-.7-.92.394.99.124.1-.8.01-.124-.018-.124-.1-.8-.99.124.97.243.2-.8.046-.19-.028-.194-.1-.7-.097-.67-.65-.17-.8-.2-.22-.056-.22.044-1 .2.196.98.216-.976-.9-.2-.108-.02-.9-.1-.156-.017-.15.03-1 .2.195.98.215-.976-.9-.2-.216-.048-.22.047-.9.2.218.98v-1h-.9l-.11.005-.9.1-.99.1-.8-.005v1l.215-.974-.9-.2-.165-.036-.165.017-.9.1.11.994.217-.973-.9-.2-.158-.033-.16.016-1 .1.1.995.11-.995-.9-.1-.11-.01h-1.8l-1.1.104.1.998.214-.975-.9-.2-.217-.024h-.9l-.22.024-.9.2.218.976v-1h-3.7v1l.11-.994-.9-.1-.11-.01h-1l-.11.005-.9.1.11.993.11-.995-.9-.1h-.22l-.9.1.11.993v-1h-.9l-1.1.104-.91.1.11.997.11-.993-.9-.1-.9-.1-.22-.024-.206.07-.9.3.315.95.197-.98-1-.2-.15-.03-.155.016-.9.1.11.992.11-.992-.9-.1-.9-.1-.11.997.217-.974-.9-.2-.158-.037-.16.016-1 .1.1.995.11-.995-.9-.1h-.22l-.9.1.11.995v-1h-.9l-.217.025-.9.2.216.975v-1h-1v1l.11-.996-.9-.1-.165-.018-.16.036-.9.2.216.977v-1h-1.8l-.9-.095-1-.004-.11.01-.9.1.11.995.216-.974-.9-.2-.16-.037-.16.014-1 .1-.91.1.11.994.316-.95-.9-.3-.154-.05H15l-.11.005-.9.1-.99.1-.8-.006h-.9v1l.11-.995-.9-.1-.9-.1-.11-.006h-1l-.11.004-.9.1.11.994.11-.995-.9-.1h-.22l-.9.1-.107.017-.9.2.217.977.217-.977-.9-.2L3 16.25v2.15l.01.14.1.7.99-.14h-1v1.6h1l-.99-.14-.1.7-.02.13.018.134.1.8.992-.124-.992-.124-.1.8L3 23v1.502l.783.174.9.2.162.036.165-.018.9-.1.9-.1.9-.1-.11-.994v1h2.8v-1l-.11.994.9.1.914.187.207.05.21-.044.9-.2-.21-.976v1H15v-1l-.11.994.9.1H16l1-.1-.1-.994-.316.95.9.3.208.07.218-.026.9-.1.9-.1.9-.1-.11-.995-.196.98 1 .2.152.03.154-.018.9-.1-.11-.997v1h.9v-1l-.11.995.9.1h.21l1-.1-.1-.993-.11.995.9.1.9.1h2.057l.14-.04 1-.3-.287-.96-.217.978.9.2.217.025h1.8l.9.095 1 .005.217-.022.9-.2-.217-.977v1h.9l.11-.003.9-.1-.11-.994v1h1v-1l-.11.992.9.1.11.006h1.8l.11-.006.9-.1-.11-.993-.1.996 1 .1.213.02.203-.067.9-.3-.316-.95-.11.992.9.1h.22l.9-.1-.11-.994-.11.993.9.1.914.19.207.04.21-.045.9-.2-.21-.977-.11.994.9.1h.22l.9-.1-.114-1-.11.994.9.1H51l1-.1.8.006h.9v-1l-.11.994.9.1.11.006h2.8v-1l-.11.994.9.1.11.006h.9l.11-.006.9-.1-.11-.994-.1.995 1 .1.1-.995-.217.976.9.2.217.05.217-.048.9-.2-.217-.977-.11.994.9.1.218.024.208-.07.9-.3-.316-.947-.196.98 1 .2.986.114.11.008h.9l1.1-.105-.1-.994-.217.974.9.2.157.035.16-.01 1-.1zM69.4 67.1h-1.7l-.11.006-.9.1-.9.1.11.994v-1h-1.8v1l.217-.976-.9-.2-.217-.048-.217.048-.9.2.217.976.1-.995-1-.1h-.21l-.9.1-.9.1.11.995v-1h-.9v1l.11-.994-.9-.1-.11-.006h-.9v1l.11-.994-.9-.1-.9-.1h-.22l-.9.1.11.994v-1h-.9l-.11.006-.9.1.11.994v-1h-.9l-.11.006-.9.1.11.994.11-.994-.9-.1h-.22l-.9.1.11.994.316-.95-.9-.3-.263-.086-.27.06-.9.2.217.976.11-.994-.9-.1L46 67.2h-1.8l-.217.024-.9.2.217.976.11-.994-.9-.1h-.22l-.9.1.11.994.217-.976-.9-.2-.217-.024h-1l-.11.006-.9.1.11.994v-1h-.9v1l.217-.976-.9-.2-.162-.036-.165.018-.9.1-.9.1.11.994.11-.994-.9-.1h-.22l-.9.1.11.994.11-.994-.9-.1h-.22l-.9.1.11.994v-1h-1.8v1l.316-.95-.9-.3-.208-.068-.218.024-.9.1-.9.1-.9.1.11.994v-1h-2.7v1l.11-.994-.9-.1-1.01-.1-.89-.1h-.22l-.9.1.11.994v-1h-.9l-.217.024-.9.2.217.976.11-.994-.9-.1-.165-.018-.162.036-.9.2.217.976v-1h-.9v1l.217-.976-.9-.2-.217-.048-.217.048-.9.2.217.976-.11-.994-.9.1.11.994.11-.994-.9-.1-.11.994.217-.976-.9-.2-.217-.048-.217.048-.9.2.217.976.11-.994-.9-.1-.9-.1L8 67.2H7l-.217.024-.9.2.217.976v-1h-.9v1l.11-.994-.9-.1-.9-.1h-.22l-.9.1-.99.1.1.994h1v-2.5h-1l.992.124.1-.8.008-.124V62h-1v1h1.8l.217-.024.9-.2L4.3 61.8l-.217.976.9.2.107.018.9.1.11.006H7v-1l-.11.994.9.1h.22l.9-.1.9-.1.9-.1.9-.1-.11-.994-.196.98 1 .2.152.03.154-.016.9-.1-.11-.994-.11.994.9.1h.22l.9-.1-.11-.994-.217.976.9.2.162.036.165-.018.9-.1L17 62l-.217.976.9.2.217.048.217-.048.9-.2L18.8 62l.11.994.9-.1.9-.1-.11-.994-.11.994.9.1.11.006h1.8l.11-.006.9-.1-.11-.994v1h.9v-1l-.217.976.9.2.162.036.165-.018.9-.1-.11-.994-.11.994.9.1.165.018.162-.036.9-.2-.217-.976-.316.95.9.3.263.086.27-.06.9-.2-.217-.976.11.994.9-.1-.11-.994-.217.976.9.2.157.035.16-.01 1-.1.8.01v-1l-.11.995.9.1.11.006h1.8v-1l-.11.995.9.1.165.018.162-.035.9-.2-.217-.973-.217.976.9.2.217.026h1.062l.154-.05.9-.3-.316-.95-.217.977.9.2.162.036.165-.018.9-.1-.11-.993v1h.9v-1l-.316.95.9.3.316.104.316-.103.9-.3-.316-.95-.11.994.9.1.165.02.162-.035.9-.2-.217-.976-.217.974.9.2.217.024h.9l.9.095h.21l.9-.1-.11-1v1h.9v-1l-.11.994.9.1.165.018.162-.036.9-.2-.217-.976v1h.9l.217-.022.9-.2-.217-.978-.316.95.9.3.154.05H57.7l.11-.007.9-.1-.11-.996-.217.976.9.2.217.024h2.7l.217-.023.9-.2-.217-.976-.11.992.9.1h.21l1-.1-.1-.994-.217.976.9.2.217.023h1.8v-1l-.11.993.9.1.117.013.117-.015.8-.1-.124-.992h-1v1.64l.038.135.2.7.962-.277h-1v.8h1l-.992-.123-.1.8-.016.123.016.124.1.8.992-.125-.992-.123-.1.8-.094.56.986.163v-1zm0 2h.847l.14-.836.1-.6.105-.84.016-.124-.016-.124-.1-.8-.992.124.992.124.1-.8.008-.124v-.94l-.038-.135-.2-.7-.962.275h1v-2.633l-1.124.14-.8.1.124.993.11-.994-.9-.1-.11-.006h-1.8v1l.217-.976-.9-.2-.157-.035-.16.01-1 .1.1.99.11-.995-.9-.1-.165-.018-.162.035-.9.2.217.975v-1h-2.7v1l.217-.976-.9-.2-.162-.036-.165.02-.9.1.11.993v-1h-.9v1l.316-.95-.9-.3-.263-.087-.27.06-.9.2.217.975v-1h-.9l-.217.024-.9.2.217.976.11-.994-.9-.1H51.4l-.11.006-.9.1.11.992.1-.995-1-.1-1-.002v1l.217-.976-.9-.2-.217-.048-.217.047-.9.2.217.98.11-.995-.9-.1-.218-.024-.208.07-.9.3.316.95.316-.95-.9-.3-.154-.05H43.2l-.11.004-.9.1.11.994.217-.977-.9-.2-.27-.06-.263.087-.9.3.316.95v-1h-.9v1l.217-.974-.9-.2-.217-.048-.217.048-.9.2.217.976.11-.996-.9-.1-.11-.01h-1.8v1l.11-.995-.9-.1-.11-.006h-.9l-1.1.1.1.996.217-.973-.9-.2-.162-.036-.165.02-.9.1-.107.017-.9.2.217.976.316-.95-.9-.3-.263-.084-.27.06-.9.2.217.975.11-.993-.9-.1h-.22l-.9.1.11 1 .217-.975-.9-.2-.217-.024h-.9l-.11.007-.9.1.11.994v-1h-1.8v1l.11-.993-.9-.1h-.22l-.9.1-.9.1-.107.02-.9.2.217.975.217-.975-.9-.2-.162-.036-.165.017-.9.1.11.995.217-.975-.9-.2-.162-.036-.165.017-.9.1.11.995.11-.993-.9-.1h-.22l-.9.1.11.994.196-.98-1-.2-.152-.03-.154.017-.9.1-.9.1-.9.1-.9.1.11.994.11-.993-.9-.1L7 61.1h-.9v1l.11-.994-.9-.1L5.2 62l.217-.976-.9-.2-.217-.048-.217.048-.9.2L3.4 62v-1H.6v4.1h1l-.992-.124-.1.8L.5 65.9v3.605l1.1-.11 1-.1.91-.1-.11-.995-.11.994.9.1.9.1.11.006h.9l.217-.024.9-.2L7 68.2v1h1v-1l-.11.994.9.1.9.1.165.018.162-.036.9-.2-.217-.976-.217.976.9.2.107.018.9.1h.22l.9-.1.107-.018.9-.2-.217-.976-.217.976.9.2.217.024h.9l.217-.024.9-.2L17 68.2l-.11.994.9.1.165.018.162-.036.9-.2-.217-.976v1h.9l.11-.006.9-.1L20.6 68l-.11.994.9.1 1.01.1.89.1.11.006h2.7l.11-.006.9-.1.9-.1.9-.1L28.8 68l-.316.95.9.3.154.05H31.5l.11-.006.9-.1-.11-.994-.11.994.9.1h.22l.9-.1-.11-.994-.11.994.9.1h.22l.9-.1.9-.1-.11-.994-.217.976.9.2.217.024h.9l.11-.006.9-.1-.11-.994v1h1v-1l-.217.976.9.2.162.036.165-.018.9-.1-.11-.994-.11.994.9.1.165.018.162-.036.9-.2-.217-.976v1H46v-1l-.11.994.9.1.165.018.162-.036.9-.2-.217-.976-.316.95.9.3.208.068.218-.024.9-.1-.11-.994-.11.994.9.1h.22l.9-.1-.11-.994v1h.9l.11-.006.9-.1-.11-.994v1h.9l.11-.006.9-.1L55 68.1l-.11.994.9.1.9.1.11.006h.9v-1l-.11.994.9.1.11.006h.9l.11-.006.9-.1.9-.1-.11-.994-.1.995 1 .1.16.016.157-.03.9-.2-.217-.97-.217.977.9.2.217.024h1.8l.11-.005.9-.1.9-.1-.11-.994v1h1.7z\\\"/><path d=\\\"M42.3 73.6h-1.6v1l.275-.962-.7-.2-.135-.038H37.2l-.217.024-.9.2.217.976.196-.98-1-.2-.147-.03-.15.015-1 .1h.2l-1-.1-1.1-.005-.9-.095-1.1-.005-.22.024-.9.2.21.976v-1h-1v1l.216-.976-.9-.2-.217.976h1v-.84l-.04-.135-.2-.7-.96.275h1v-.8l-.01-.14-.1-.7-.02-.103-.2-.8-.97.243h1v-.7h-1l.893.447.4-.8.105-.21V68.4h-1l.194.98 1-.2-.195-.98-.218.976.9.2.205.046.205-.04 1-.2-.298.013 1 .1 1.1.005h3l.11-.006.9-.1-.11-.994-.2.98 1 .2.197.04.194-.04 1-.2-.485-.022 1 .3.24.07.243-.047 1-.2-.197-.98-.11 1 .9.1h.21l1-.1-.1-.99h-1v.8l.01.14.1.7.02.104.2.8.97-.243-.97-.242-.2.8-.03.12v1.047l.03.12.2.8.97-.242-.97-.242-.2.8-.047.183.02.184.1.8.99-.123v-1zm0 2h1.133l-.14-1.124-.1-.8-.993.124.97.243.2-.8.06-.243-.06-.243-.2-.8-.97.243h1v-.8h-1l.97.243.2-.8.06-.243-.06-.243-.2-.8-.97.243.99-.14-.1-.7-.99.14h1v-1.905l-1.1.11-1 .1.1.995.11-.994-.9-.1-.154-.017-.152.03-1 .2.483.02-1-.3-.24-.07-.243.04-1 .2h.392l-1-.2-.152-.03-.154.015-.9.1.11.994v-1h-4l-.9-.095-.15-.015-.146.03-1 .2.196.98.217-.974-.9-.2-.206-.046-.2.04-1 .2-.8.16v1.52h1l-.893-.446-.4.8-.106.21v1.06l.03.12.2.8.97-.243-.99.14.1.7.99-.14h-1v.945l.04.134.2.7.96-.276h-1v1.5l.784.175.9.2.218.023h1l.22-.024.9-.2-.217-.977v1h1l.9.095 1.1.005.9.094h.2l1-.1-.295-.014 1 .2.208.047.208-.047.9-.2-.217-.973v1H40v-1l-.275.963.7.2.135.037h1.74z\\\"/><path d=\\\"M15.676 75.292l.8.1.807.184.217.024h1l.11-.006.9-.1-.11-.994-.217.976.9.2.157.035.16-.01 1-.1.8.01.11-.005.9-.1-.11-.994-.1.996 1 .1.16.017.157-.034.9-.2L25 74.4l-.11.994.9.1H26l1-.1.8.006.11-.006.9-.1-.11-.994v1h1v-1l-.217.976.9.2.107.018.9.1 1.01.1h.21l.9-.1-.11-.994-.1.995 1 .1.213.02.203-.066.9-.3-.316-.95-.11.99.9.1h.21l1-.1-.1-1-.11.993.9.1.11.006h.9l.196-.02 1-.2L40 74.3l-.11.994.9.1H41l1-.1-.1-.994-.217.976.9.2.217.024h.9l.196-.02 1-.2-.196-.98-.217.976.9.2.162.036.165-.018.9-.1-.11-.994v1h1v-1l-.11.994.9.1.11.006h.9l.9.095 1 .005h1l.217-.024.9-.2-.217-.976-.217.976.9.2.206.046.2-.04 1-.2L55 74.4v1h1.112l.194-.086.9-.4L56.8 74v1H58v-2h-1.412l-.194.086-.9.4.406.914v-1H55l-.196.02-1 .2.196.98.217-.976-.9-.2-.217-.048-.217.048-.9.2.217.976v-1h-1.9l-.9-.095-1-.005v1l.11-.994-.9-.1-.11-.006h-1l-.11.006-.9.1.11.994.217-.976-.9-.2-.206-.046-.2.04-1 .2.2.982v-1h-.9v1l.218-.976-.9-.2-.156-.035-.16.01-1 .1.1.99.11-.995-.9-.1-.153-.017-.15.03-1 .2.194.98v-1h-.9v1l.11-.994-.9-.1h-.21l-1 .1.1.994.11-.992-.9-.1-.216-.02-.207.07-.9.3.315.947.1-.995-1-.1h-.21l-.9.1.11.996.1-.997-1-.1-.89-.1-.11.994.22-.975-.9-.2-.218-.024h-1l-.11.01-.9.1.11.993v-1h-.9l-1.1.105.1.997.11-.993-.9-.1-.163-.02-.162.037-.9.2.218.976.1-.993-1-.1H23l-.9.1.11.995v-1h-.9l-1.1.103.1.996.218-.974-.9-.2-.162-.037-.165.017-.9.1.11.995v-1h-1v1l.22-.976-.9-.2-.89-.116-.25 1.984z\\\"/></g></svg>\",\n    \"intercom\": \"<svg viewBox=\\\"0 0 458 243\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill=\\\"#248FED\\\" d=\\\"M292.476.578l-4.045.145-.48.017-.46.118-3.96 1.007 1.108 4.36-.012-4.5-3.982.013.015 4.5.33-4.488-3.97-.294-.155-.01-.153-.002-3.974-.022-.024 4.5.27-4.492-3.96-.237-.326-.02-.326.028-3.95.34.385 4.49.24-4.49-3.98-.212-3.973-.22-.2-.007-3.973-.047-.22-.002-.216.02-3.964.34-.208.02-3.963.53.59 4.46.59-4.46-3.977-.526-.406-.053-.41.02-3.97.198-.142.007-.14.017-3.968.45.504 4.47-.08-4.5-3.966.075.083 4.5.687-4.45-3.977-.614-.6-.092-.603.07-3.97.463.52 4.47-.125-4.5-3.986.11.122 4.497.993-4.39-3.937-.89-.737-.166-.75.08-4.003.44.49 4.473.83-4.424-3.945-.74-.657-.123-.665.073-3.994.44.49 4.47.75-4.44-3.97-.67-.65-.11-.66.08-3.967.495.558 4.468-.152-4.495-3.998.135-.36.01-.353.07-3.937.77.865 4.415.66-4.45-3.977-.59-.755-.11-.75.143-3.97.762.85 4.42-.483-4.478-3.98.43.48 4.474.197-4.496-3.976-.17-.2 4.495.79-4.43-3.964-.707-.51-.09-.517.025-3.974.208-.59.027-.565.185-3.5 1.14 1.394 4.28-1.015-4.385-3.587.83 1.016 4.385-.837-4.42-3.585.674-1.304.242-.96.91-2.7 2.56 3.095 3.267-2.9-3.44-2.87 2.423 2.903 3.44-2.335-3.85-3.273 1.984-1.956 1.185-.196 2.277-.333 3.863 4.484.386-4.34-1.175-.99 3.66 4.346 1.173-3.98-2.097-1.825 3.463-.48.908-.036 1.028-.146 4.024-.148 4-.003.13-.036 4.013v.507l.108.498.868 3.972 4.396-.96-4.42-.85-.78 4.072-.12.63.06.637.37 3.975 4.48-.42-4.497-.183-.16 3.975 4.495.18-4.49-.323-.287 3.997-.01.127v.126l-.06 4.02-.08 3.99-.003.125.003.13.148 4.005.094 3.948 4.5-.103-4.5-.023-.02 3.996 4.5.022-4.493-.26-.23 4.004-.006.118L133.78 87l-.006.22.014.217.265 4 .01.136.016.135.506 4.01 4.464-.565-4.496.152.14 4.02 4.496-.152-4.38-1.034-.937 3.963-.18.77.09.78.46 4.054 4.47-.514-4.28-1.39-1.276 3.94-.185.565-.03.594-.205 4-.016.34.036.34.406 4.03 4.478-.45-4.44-.738-.666 4.005-.14.84.18.83.85 3.99 4.4-.94-4.456.626.56 3.99 4.46-.627-4.488-.358-.32 4.04 4.484.357-4.458-.614-.55 3.98-.024.202-.367 3.995-.02.204v.205l-.003 4.02 4.5.005-4.497-.155-.14 4-.124 4.03 4.496.137-4.432-.776-.713 4.078-.295 1.703.92 1.465 2.154 3.43 3.81-2.39-4.49.276.24 3.91.03.485.134.468 1.07 3.774.326 1.15.85.834 2.79 2.737.254.25.29.208 3.16 2.24 2.606-3.67-3.58 2.74 2.32 3.034.873 1.14 1.37.424 3.61 1.117.546.17.57.026 3.81.19.21-4.492-.77 4.434 3.697.637 3.606.594.52.087.53-.036 3.66-.26-.32-4.49-.453 4.48 3.61.365 3.702.292.358-4.485-.58 4.465 3.62.47.29.04h.295l3.63-.006h.227l.227-.024 3.624-.37-.456-4.476-.885 4.41 3.624.73.904.18.904-.19 3.64-.76-.924-4.404-.722 4.443 3.526.57 3.624.51.688.095.685-.114 3.73-.623-.745-4.436-4.1 1.855 1.64 3.63.216.476.32.415 2.35 3.05 3.566-2.75-3.76 2.47 2.12 3.225 3.76-2.47-4.387 1.003.89 3.888.114.493.22.458 1.694 3.512 4.053-1.955-4.133 1.778 1.54 3.58.086.204.106.19 1.88 3.407 3.94-2.17-4.18 1.67 1.454 3.64.328.81.608.633 2.81 2.923 3.244-3.117-4.424.82.733 3.966.166.89.494.753 2.155 3.286 3.763-2.467-4.31 1.29 1.128 3.766.066.22.086.21 1.542 3.735.096.23.12.22 1.96 3.56.11.188 1.92 3.127 3.61 5.876 3.925-5.67 2.064-2.982.125-.18.105-.19 1.952-3.51.11-.194.086-.203 1.6-3.69.074-.175 1.387-3.608.14-.366.075-.386.758-3.87-4.415-.867 3.534 2.783 2.455-3.118.42-.534.243-.636 1.384-3.61-4.2-1.613 3.943 2.166 1.858-3.38-3.944-2.165 3.85 2.336 2.003-3.294.18-.29.132-.315 1.48-3.557.067-.177 1.332-3.63-4.225-1.55 3.994 2.07 1.78-3.436.066-.124 1.664-3.47-4.057-1.95 3.77 2.46 2.1-3.228.15-.227.12-.24 1.77-3.6-4.038-1.99.02 4.5 3.77-.017-.023-4.5-.452 4.475 3.596.364 3.57.39.41.04.415-.03 3.612-.27-.335-4.49-.106 4.5 3.627.086.403.01.4-.064 3.602-.56-.695-4.448-.82 4.424 3.627.672.844.157.84-.166 3.616-.71-.864-4.416.078 4.5 3.622-.064-.08-4.5-.516 4.47 3.61.418.268.03h.27l3.625-.015.312-.003.31-.043 3.55-.514.223-.032.22-.054 3.574-.89.327-.08.31-.13 3.48-1.444-1.724-4.157.48 4.473 3.91-.42 1.6-.17 1.13-1.146 2.67-2.713 2.615-2.657-3.203-3.16 2.688 3.61 2.98-2.22 1.39-1.032.34-1.7.73-3.703-4.414-.873 4.166 1.7 1.434-3.506.113-.283.077-.296.934-3.623.212-.83-.11-.85-.492-3.92-4.463.564 4.467.55.49-3.998.04-.34-.01-.342-.12-3.963-4.495.134 4.465.57.504-3.94.06-.476-.04-.48-.347-4-4.483.39 4.5-.104-.095-3.98-4.5.102 4.425.823.734-3.942.064-.36.01-.366.086-3.97.004-.25-.022-.254-.36-3.972-4.48.408 4.498-.13-.114-3.97-.004-.166-.016-.164-.413-3.96-.376-3.94-4.48.427 4.495-.253-.226-3.983-4.495.254 4.4.94.842-3.95.096-.45.002-.464.02-3.97-4.5-.024 4.484.38.335-3.955.022-.26-.01-.264-.126-3.978-.062-3.903v-.126l-.007-.126-.29-3.957-4.486.324 4.443.71.635-4 .1-.622-.078-.63-.48-3.95-4.468.545 4.48-.42-.377-3.976-4.48.422 4.49.29.257-3.97-4.49-.29 4.484.4.353-3.97.045-.51-.07-.507-.55-3.95-4.455.62 4.484-.375-.33-3.968-4.486.376 4.493.196.177-3.99v-.21l-.013-3.98-4.5.013 4.414.866.77-3.94.1-.503-.02-.51-.13-3.996-4.498.15 4.486.355.315-3.987.02-.287-.013-.29-.2-3.974-.01-.21-.03-.21-.573-3.955-.09-.607-.25-.562-1.706-3.874-4.12 1.813 4.39-.988-.94-4.18-.162-.73-.393-.64-2.207-3.59-.25-.41-.335-.344-2.94-3.073-.115-.115-3.114-3.03-.382-.375-.464-.273-3.7-2.19-.253-.15-.27-.116-3.93-1.686-3.945-1.74-.23-.102-.24-.075L293.98.78l-.736-.23-.77.028zm.32 8.994l-.16-4.497-1.345 4.294 4.26 1.33 1.35-4.3-1.816 4.115 3.99 1.76 3.978 1.705 1.774-4.137-2.292 3.872 3.705 2.19 2.29-3.873-3.135 3.227 3.116 3.03 3.138-3.23-3.25 3.11 2.94 3.073 3.252-3.11-3.835 2.354 2.207 3.59 3.834-2.36-4.39.986.938 4.18.096.428.18.4 1.706 3.878 4.117-1.814-4.45.646.573 3.957 4.454-.645-4.495.223.2 3.972 4.492-.223-4.486-.355-.31 3.984-.02.254.007.25.134 3.998 4.5-.15-4.415-.86-.77 3.94-.084.433v.443l.01 3.978 4.5-.012-4.493-.2-.175 3.99-.01.29.025.284.333 3.966.01.12.015.12.55 3.95 4.455-.617-4.48-.4-.355 3.968-.006.11-.258 3.97-.023.355.03.357.376 3.973.01.12.48 3.948 4.468-.54-4.444-.705-.64 4-.08.516.037.52.288 3.96 4.49-.327-4.5.08.064 3.97.126 4.047 4.498-.143-4.484-.38-.337 3.956-.016.176v.18l-.023 3.97 4.5.02-4.4-.94-.84 3.956-.127.59.035.603.225 3.98.01.17.38 3.976.417 4 4.478-.465-4.497.13.115 3.97.006.138.013.136.36 3.974 4.48-.406-4.5-.097-.086 3.97 4.5.1-4.426-.823-.735 3.945-.085.46.01.466.093 3.98.003.142.013.142.347 3.997 4.483-.39-4.464-.57-.505 3.944-.048.35.01.353.12 3.966 4.496-.138-4.467-.548-.49 3.997-.068.553.07.554.494 3.917 4.466-.56-4.358-1.12-.934 3.62 4.36 1.12-4.166-1.7-1.43 3.51-.167.4-.083.425-.73 3.7 4.412.875-2.688-3.61-2.98 2.22-.28.207-.24.246-2.62 2.66L305.03 176l3.207 3.153-.48-4.475-3.906.42-.643.067-.6.25-3.48 1.44 1.72 4.157-1.09-4.366-3.57.89 1.087 4.37-.643-4.453-3.55.514.64 4.454-.02-4.5-3.62.018.02 4.5.516-4.47-3.61-.415-.294-.034-.295.006-3.623.06-.397.01-.39.075-3.61.71.863 4.416.82-4.425-3.625-.676-.756-.14-.76.118-3.603.567.696 4.444.11-4.5-3.625-.085-.222-.005-.22.018-3.613.27.334 4.488.488-4.472-3.6-.39-3.63-.37-.237-.02h-.24l-3.77.02-2.785.013-1.23 2.5-1.77 3.597 4.037 1.988-3.77-2.46-2.1 3.226-.16.248-.128.263-1.665 3.468 4.057 1.947-3.996-2.07-1.78 3.435-.13.25-.1.27-1.333 3.626 4.225 1.55-4.155-1.725-1.48 3.557 4.155 1.727-3.844-2.337-2 3.296-.1.17-1.857 3.38-.147.27-.106.283-1.387 3.61 4.2 1.61-3.534-2.783-2.456 3.12-.67.85-.21 1.068-.76 3.87 4.416.866-4.2-1.618-1.387 3.607 4.2 1.616-4.13-1.79-1.6 3.69 4.13 1.79-3.935-2.186-1.953 3.51 3.93 2.19-3.7-2.56-2.067 2.984 3.7 2.56 3.834-2.356-1.923-3.128-3.834 2.353 3.947-2.17-1.96-3.56-3.942 2.17 4.16-1.718-1.543-3.738-4.16 1.72 4.31-1.29-1.125-3.768-.19-.63-.36-.55-2.155-3.29-3.766 2.47 4.425-.82-.734-3.968-.246-1.324-.934-.97-2.81-2.925-3.246 3.12 4.176-1.67-1.452-3.64-.105-.26-.137-.244-1.88-3.407-3.94 2.174 4.135-1.777-1.54-3.58-.08-.175-1.693-3.512-4.055 1.954 4.386-1.007-.89-3.886-.18-.79-.446-.678-2.12-3.224-.093-.142-.105-.132-2.35-3.05-3.56 2.748 4.1-1.856-1.64-3.63-1.428-3.16-3.417.573-3.73.627.747 4.437.624-4.455-3.53-.49-3.426-.557-.824-.135-.82.17-3.64.76.923 4.406.887-4.413-3.626-.73-.667-.132-.677.07-3.627.37.455 4.477-.004-4.5-3.63.004.005 4.5.58-4.46-3.62-.472-.11-.014-.112-.01-3.606-.288-3.51-.358-.382-.04-.386.028-3.66.258.317 4.49.735-4.44-3.575-.59-3.666-.632-.272-.046-.275-.01-3.81-.183-.216 4.496 1.33-4.3-3.61-1.117-1.33 4.3 3.575-2.734-2.32-3.033-.418-.54-.557-.396-3.16-2.24-2.603 3.67 3.15-3.213-2.79-2.736-3.15 3.213 4.328-1.23-1.07-3.774-4.33 1.23 4.493-.28-.24-3.91-.07-1.142-.61-.97-2.15-3.43-3.813 2.39 4.432.777.71-4.075.054-.318.01-.32.125-4.01.14-3.98v-.156l.005-4.02-4.5-.002 4.48.413.37-4-4.48-.41 4.456.61.547-3.98.017-.126.01-.13.32-4.04.04-.493-.07-.49-.56-3.99-.022-.155-.032-.152-.85-3.985-4.4.938 4.44.737.666-4.004.1-.59-.06-.6-.407-4.027-4.48.45 4.492.23.204-4-4.49-.228 4.28 1.39 1.28-3.94.3-.93-.11-.97-.467-4.05-4.47.514 4.38 1.03.935-3.964.137-.585-.02-.6-.137-4.022-.008-.207-.027-.203-.507-4.01-4.462.565 4.49-.297-.263-4-4.49.295 4.498.14.128-4.005-4.5-.14 4.493.256.23-4 .01-.118v-.12l.02-3.995v-.13l-.097-4.004-.147-4.06-4.498.164 4.496.09.08-4.01.063-4.04-4.5-.07 4.49.322.287-4 .006-.14.164-3.975.01-.302-.027-.3-.372-3.98-4.48.42 4.42.848.78-4.07.177-.906-.197-.9-.867-3.972-4.396.96 4.5.04.033-4.015-4.5-.04 4.5.165.144-4.005.146-4.03-4.496-.16 3.98 2.096 1.824-3.46.233-.44.13-.486.986-3.658.105-.39.035-.4.332-3.866-4.483-.385 2.333 3.845 3.274-1.985.3-.18.266-.228 2.87-2.42.1-.086.094-.09 2.7-2.56-3.107-3.26.83 4.423 3.588-.676.185-.04 3.59-.83.19-.048.19-.06 3.5-1.14-1.395-4.28.236 4.495 3.974-.21-.235-4.49-.787 4.43 3.968.704.296.052.298.013 3.975.17.34.015.336-.037 3.98-.43.186-.02.18-.034 3.97-.765-.85-4.42-.66 4.45 3.978.587.763.114.76-.146 3.937-.77-.865-4.415.15 4.5 4-.136.2-.007.2-.025 3.97-.497-.557-4.462-.753 4.435 3.966.675.62.105.625-.07 3.997-.438-.49-4.474-.83 4.426 3.944.738.656.125.663-.073 4-.438-.49-4.474-.992 4.39 3.937.89.55.126.566-.014 3.987-.11.2-.004.197-.023 3.97-.462-.52-4.47-.686 4.448 3.976.614.385.06.386-.008 3.966-.073.215-.003.21-.024 3.97-.45-.51-4.47.225 4.496 3.97-.198-.22-4.494-.59 4.46 3.976.527.59.077.59-.08 3.966-.527-.59-4.46.383 4.483 3.966-.34-.382-4.483-.05 4.5 3.973.045.052-4.5-.25 4.492 3.98.222 3.992.213.312.016.31-.027 3.95-.34-.386-4.484-.27 4.492 3.96.235.125.007h.12l3.975.022.023-4.5-.33 4.486 3.972.295.172.01h.173l3.98-.01h.557l.54-.14 3.963-1.005-1.11-4.36.16 4.495 4.045-.145z\\\"/><path fill=\\\"#248FED\\\" d=\\\"M279.84 119.205l-3.27 1.95-3.303 2.038-.422.26-.356.346-2.81 2.73 3.14 3.22-1.82-4.12-3.51 1.55 1.82 4.112-.977-4.39-3.79.84-.375.085-.356.145-3.503 1.436 1.705 4.164-1.14-4.354-3.65.956-.488.13-.45.233-3.467 1.803 2.077 3.992-1.315-4.306-3.647 1.117 1.315 4.302-.498-4.474-3.845.43-.1.01-3.828.52-.275.035-.267.07-3.66.96 1.137 4.355-.686-4.447-3.76.582.69 4.444.236-4.495-3.846-.2-.13-.006-3.79-.088-.17-.004-.17.01-3.83.2.24 4.495.94-4.403-3.75-.803-.47-.1h-.48l-3.85.007.007 4.5.17-4.5-3.82-.145-.17 4.493.744-4.438-3.782-.632-.345-.056-.35-.004-3.9-.04-.044 4.5 1.64-4.19-3.62-1.42-3.63-1.38-.136-.05-.136-.04-3.664-1.133-1.33 4.3 2.344-3.84-3.32-2.027-.65-.395-.74-.162-3.8-.822-.95 4.4 1.273-4.312-3.727-1.1-1.275 4.316 2.85-3.483-3.014-2.462-.352-.288-.404-.214-3.41-1.79-2.09 3.986 3.01-3.343-2.89-2.6-6.024 6.685 2.887 2.6.42.38.5.263 3.408 1.79 2.093-3.985-2.847 3.485 3.012 2.462.7.572.87.256 3.728 1.1.16.046.163.036 3.8.82.95-4.4-2.343 3.843 3.32 2.024.48.29.535.164 3.66 1.13 1.33-4.3-1.596 4.21 3.586 1.363 3.58 1.402.77.3.827.01 3.9.04.044-4.5-.743 4.437 3.785.633.283.05.287.01 3.82.146.176.006 3.852-.004-.005-4.5-.942 4.4 3.754.805.582.12.593-.033 3.826-.2-.236-4.493-.1 4.498 3.79.09.106-4.5-.237 4.496 3.844.2.466.026.46-.07 3.76-.582.227-.033.225-.06 3.66-.957-1.14-4.354.6 4.46 3.827-.516-.6-4.46.5 4.473 3.842-.43.416-.047.4-.122 3.65-1.112.396-.12.368-.19 3.468-1.805-2.075-3.99 1.14 4.354 3.65-.957.29-.076.273-.113 3.5-1.434-1.705-4.165.976 4.392 3.79-.843.435-.094.41-.18 3.504-1.55.74-.325.58-.563 2.8-2.73-3.14-3.224 2.36 3.83 3.247-2 3.214-1.914-4.61-7.73z\\\"/><path fill=\\\"#4689C8\\\" d=\\\"M375.575 66.425l3.338-1.087-1.36-4.174.894 4.298 3.426-.712-.893-4.298.73 4.33 3.657-.62 1.27-.213.954-.87 3.65-3.32-1.08.72 4.178-1.977.475-.225.407-.33 3.383-2.736-2.76-3.414.024 4.39 4.38-.02 1.27-.01 1.07-.682 3.093-1.977-2.362-3.7.92 4.294 3.65-.78.516-.11.475-.23 3.31-1.6-3.827-7.904-3.31 1.6 1.91 3.954-.92-4.295-3.65.78-.774.17-.67.427-3.096 1.976 2.364 3.7-.024-4.39-4.38.024-1.54.004-1.196.97-3.384 2.734 2.76 3.415-1.877-3.968-4.177 1.976-.59.28-.487.44-3.64 3.315 2.955 3.25-.73-4.33-3.655.62-.165.03-3.426.71-.235.05-.23.076-3.34 1.086 2.718 8.35zm5.005 31.99l1.873 1.997 2.024 2.157 2.76-1.07 4.462-1.73-2.55.186 4.49 1.01.88.2.89-.166 5.04-.94.46-.086.44-.186 3.73-1.576-1.71-4.044-.465 4.365 3.992.426.462-4.365-2.18 3.81 3.44 1.97.758.432.865.11 3.947.503.13.015 3.33.33.74.072.723-.176 3.184-.77-1.03-4.265.774 4.32 3.165-.565-.776-4.32.09 4.39 4.55-.09-1.9-.39 4.32 1.955 1.34.606 1.43-.32 4.157-.93-.96-4.283-.31 4.38 4.068.283.31-4.376-1.09 4.252 3.734.957.874.224.89-.14 3.9-.61-.675-4.336-.876 4.3 3.814.78.67.137.68-.072 3.813-.412-.944-8.73-3.812.417.473 4.363.875-4.3-3.812-.776-.774-.157-.78.12-3.9.61.675 4.34 1.09-4.253-3.732-.96-.384-.1-.4-.026-4.07-.283-.64-.044-.625.14-4.16.935.96 4.282 1.81-4-4.32-1.96-.905-.41-.993.02-4.55.092-.345.007-.34.06-3.164.565-.13.022-.13.03-3.18.77 1.034 4.27.43-4.37-3.332-.327-.43 4.37.56-4.354-3.95-.504-.556 4.356 2.176-3.81-3.44-1.968-.8-.456-.914-.097-3.994-.425-1.13-.12-1.045.44-3.73 1.577 1.71 4.043-.806-4.315-5.04.94 1.767.03-4.49-1.01-1.3-.293-1.24.48-4.464 1.726 1.583 4.1 3.2-3.004-1.876-2-6.4 6.01zm-11.355 33.095l3.225 1.554 1.907-3.954-2.666 3.487 2.88 2.196.72.55.88.22 3.61.904 1.07-4.26-3.17 3.038 2.88 3.005.334.348.4.266 3.46 2.31 2.437-3.652-3.607 2.502 2.43 3.504.5.724.743.474 2.96 1.89 2.363-3.7-3.66 2.426 1.923 2.903.638.963 1.03.525 3.144 1.6.26.132.27.096 3.704 1.31 1.463-4.14-2.982 3.23 2.925 2.71.74.69.97.293 3.694 1.116 1.27-4.206-4.065 1.66.385.937 8.13-3.317-.383-.938-.79-1.94-2.006-.604-3.693-1.115-1.27 4.2 2.985-3.22-2.924-2.71-.67-.62-.853-.3-3.703-1.31-1.463 4.14 1.99-3.91-3.145-1.602-1.994 3.913 3.66-2.422-1.926-2.903-.514-.772-.785-.5-2.96-1.89-2.36 3.696 3.604-2.502-2.43-3.503-.477-.69-.695-.464-3.46-2.31-2.438 3.65 3.17-3.037-2.88-3.004-.877-.917-1.23-.308-3.61-.904-1.065 4.26 2.665-3.49-2.872-2.194-.352-.27-.402-.198-3.223-1.555-3.812 7.91zm-284-71.955l-2.945-2.297-.914-.712-1.146-.17-3.606-.53-.157-.02-3.58-.396-.482 4.363 3.766-2.256-2.81-4.695-1.4-2.34-2.72.22-5.41.438.36 4.376 2.345-3.712-3.552-2.243-.43-.27-.482-.16-3.89-1.34-.24-.08-.246-.056-3.6-.794-.945 4.285L56.177 48l-2.633-2.533-.87-.84-1.18-.274-3.575-.83-1.983 8.554 3.575.83.99-4.276-3.044 3.166 2.632 2.53.89.858 1.21.266 3.6.793.945-4.288-1.43 4.15 3.89 1.34 1.433-4.15L58.283 57l3.555 2.246 1.24.784 1.46-.117 5.41-.438-4.12-2.12 2.813 4.696 1.12 1.87 2.17.24 3.58.4.48-4.364-.638 4.34 3.606.53.64-4.34-2.7 3.46 2.947 2.3 5.4-6.926zM72.605 91.99l-2.74.97 1.463 4.138-.37-4.374-4.463.377.48-.01-4.58-.11 1.412.27-4.83-1.782-1.522 4.118 2.25-3.77-3.7-2.21-2.105-1.26-2.175 1.137-3.956 2.063 2.03 3.89-.82-4.315-3.7.704-.14.023-.138.035-3.85.985 1.085 4.254.76-4.324-3.2-.56-.76-.136-.76.132-3.14.55-3.204.6.805 4.31 1.112-4.247-4.55-1.195-.945-.25-.963.178-4.526.838.8 4.317.265-4.382-4.1-.242-.642-.04-.632.15-4.074.97 1.018 4.27.678-4.338-3.82-.6-3.735-.664-1.105-.196-1.063.36-3.77 1.27 1.4 4.16.1-4.39-3.86-.09-.2 8.778 3.86.09.77.018.73-.246 3.774-1.27-1.4-4.16-.768 4.32 3.823.68 3.91.613.85.132.84-.2 4.077-.97-1.015-4.27-.263 4.38 4.095.25.536.03.526-.096 4.525-.84-1.91-.07 4.55 1.192.95.25.97-.18 3.16-.59 3.093-.542-.76-4.324-.76 4.323 3.2.56.934.165.918-.236 3.85-.983-1.09-4.253.82 4.315 3.7-.705.638-.12.575-.3 3.957-2.063-2.03-3.894-2.25 3.77 3.7 2.21.35.204.38.14 4.83 1.786.683.253.728.02 4.58.116.24.005.24-.02 4.465-.375.56-.05.53-.187 2.74-.97-2.927-8.28zm8.79 31.677l-2.154 3.066 3.6 2.523-2.165-3.818-3.215 1.825-.308.176-.276.22-2.805 2.26-.143.12-3.004 2.64 2.9 3.292-2.28-3.75-3.52 2.14-.424.255-.357.35-2.96 2.88-.263.256-.213.297-2.115 2.885 3.54 2.596-2.12-3.84-3.087 1.706-.6.33-.47.5-2.424 2.566 3.19 3.013-2.844-3.344-2.907 2.478 2.846 3.342-1.098-4.25-3.778.973-.944.242-.752.62-2.966 2.445 2.79 3.39 1.205-4.22-1.133-.325-2.41 8.443 1.133.323 2.22.63 1.78-1.47 2.965-2.442-2.793-3.387 1.1 4.25 3.775-.976.98-.253.77-.656 2.905-2.478.18-.154.163-.17 2.425-2.57-3.193-3.013 2.124 3.843 3.083-1.703.844-.47.57-.777 2.118-2.887-3.54-2.597 3.063 3.145 2.96-2.886-3.06-3.147 2.28 3.753 3.52-2.14.33-.2.29-.255 3.004-2.644-2.9-3.294 2.755 3.42 2.804-2.26-2.753-3.42 2.168 3.82 3.21-1.828.86-.487.567-.808 2.153-3.07-7.19-5.046z\\\"/><g fill=\\\"#2E368F\\\"><path d=\\\"M375.61 66.53l3.337-1.087-1.393-4.28.915 4.407 3.42-.712-.92-4.406.75 4.437 3.654-.62 1.303-.22.977-.89 3.64-3.32-1.102.74 4.176-1.977.487-.23.42-.338 3.385-2.737-2.83-3.5.025 4.5 4.38-.023 1.3-.006 1.1-.7 3.096-1.976-2.42-3.79.944 4.4 3.645-.784.53-.112.487-.236 3.31-1.603-3.92-8.1-3.31 1.6 1.96 4.05-.943-4.4-3.646.78-.793.17-.682.44-3.095 1.976 2.42 3.792-.02-4.5-4.38.022-1.58.008-1.226.993-3.386 2.737 2.83 3.5-1.926-4.07-4.177 1.974-.608.288-.5.453-3.64 3.315 3.028 3.33-.75-4.44-3.656.62-.168.03-3.428.713-.24.05-.237.078-3.337 1.088 2.787 8.557z\\\"/><path d=\\\"M375.61 66.53l3.337-1.087-1.393-4.28.915 4.407 3.42-.712-.92-4.406.75 4.437 3.654-.62 1.303-.22.977-.89 3.64-3.32-1.102.74 4.176-1.977.487-.23.42-.338 3.385-2.737-2.83-3.5.025 4.5 4.38-.023 1.3-.006 1.1-.7 3.096-1.976-2.42-3.79.944 4.4 3.645-.784.53-.112.487-.236 3.31-1.603-3.92-8.1-3.31 1.6 1.96 4.05-.943-4.4-3.646.78-.793.17-.682.44-3.095 1.976 2.42 3.792-.02-4.5-4.38.022-1.58.008-1.226.993-3.386 2.737 2.83 3.5-1.926-4.07-4.177 1.974-.608.288-.5.453-3.64 3.315 3.028 3.33-.75-4.44-3.656.62-.168.03-3.428.713-.24.05-.237.078-3.337 1.088 2.787 8.557zm4.89 31.96l1.873 1.998 2.075 2.21 2.827-1.092 4.464-1.724-2.61.192 4.48 1.01.9.204.91-.17 5.04-.94.48-.09.447-.188 3.73-1.576-1.75-4.145-.476 4.47 3.994.42.474-4.477-2.23 3.907 3.44 1.966.775.443.887.11 3.947.503.13.015 3.33.33.76.073.74-.18 3.183-.77-1.06-4.372.792 4.43 3.163-.565-.794-4.43.09 4.5 4.554-.09-1.948-.4 4.32 1.956 1.37.62 1.47-.33 4.157-.93-.984-4.39-.316 4.485 4.068.288.315-4.49-1.114 4.36 3.733.957.896.23.916-.143 3.9-.61-.697-4.445-.896 4.41 3.81.776.686.14.696-.076 3.81-.415-.97-8.944-3.81.414.484 4.472.896-4.41-3.813-.778-.794-.16-.8.123-3.9.61.693 4.446 1.116-4.36-3.734-.96-.394-.102-.408-.028-4.067-.285-.657-.046-.644.144-4.16.932.985 4.39 1.856-4.098-4.32-1.958-.93-.42-1.016.02-4.55.093-.356.007-.347.064-3.164.57-.134.024-.134.033-3.18.77 1.06 4.376.44-4.476-3.33-.33-.44 4.48.57-4.465-3.95-.506-.57 4.463 2.23-3.91-3.44-1.967-.82-.47-.94-.1-3.99-.422-1.156-.123-1.07.456-3.73 1.576 1.75 4.146-.824-4.423-5.04.94 1.81.032-4.486-1.01-1.336-.3-1.273.49-4.46 1.723 1.62 4.198 3.28-3.08-1.872-1.993-6.56 6.16z\\\"/><path d=\\\"M380.5 98.49l1.873 1.998 2.075 2.21 2.827-1.092 4.464-1.724-2.61.192 4.48 1.01.9.204.91-.17 5.04-.94.48-.09.447-.188 3.73-1.576-1.75-4.145-.476 4.47 3.994.42.474-4.477-2.23 3.907 3.44 1.966.775.443.887.11 3.947.503.13.015 3.33.33.76.073.74-.18 3.183-.77-1.06-4.372.792 4.43 3.163-.565-.794-4.43.09 4.5 4.554-.09-1.948-.4 4.32 1.956 1.37.62 1.47-.33 4.157-.93-.984-4.39-.316 4.485 4.068.288.315-4.49-1.114 4.36 3.733.957.896.23.916-.143 3.9-.61-.697-4.445-.896 4.41 3.81.776.686.14.696-.076 3.81-.415-.97-8.944-3.81.414.484 4.472.896-4.41-3.813-.778-.794-.16-.8.123-3.9.61.693 4.446 1.116-4.36-3.734-.96-.394-.102-.408-.028-4.067-.285-.657-.046-.644.144-4.16.932.985 4.39 1.856-4.098-4.32-1.958-.93-.42-1.016.02-4.55.093-.356.007-.347.064-3.164.57-.134.024-.134.033-3.18.77 1.06 4.376.44-4.476-3.33-.33-.44 4.48.57-4.465-3.95-.506-.57 4.463 2.23-3.91-3.44-1.967-.82-.47-.94-.1-3.99-.422-1.156-.123-1.07.456-3.73 1.576 1.75 4.146-.824-4.423-5.04.94 1.81.032-4.486-1.01-1.336-.3-1.273.49-4.46 1.723 1.62 4.198 3.28-3.08-1.872-1.993-6.56 6.16zm-11.322 33.118l3.224 1.555 1.955-4.053-2.733 3.575 2.872 2.195.74.565.902.226 3.61.91 1.093-4.362-3.24 3.113 2.88 3.006.34.356.41.275 3.46 2.31 2.5-3.745-3.7 2.564 2.43 3.502.517.743.76.484 2.96 1.89 2.424-3.79-3.75 2.486 1.92 2.9.655.984 1.056.538 3.144 1.603.264.134.28.095 3.7 1.31 1.5-4.243-3.057 3.304 2.927 2.71.762.704.99.3 3.694 1.12 1.3-4.31-4.165 1.7.383.94 8.335-3.4-.386-.94-.81-1.987-2.05-.62-3.693-1.117-1.304 4.307 3.06-3.3-2.926-2.71-.682-.63-.875-.31-3.703-1.31-1.5 4.243 2.04-4.01-3.143-1.602-2.04 4.01 3.75-2.483-1.923-2.903-.525-.792-.803-.513-2.96-1.89-2.42 3.79 3.698-2.563-2.43-3.503-.49-.702-.71-.475-3.46-2.31-2.5 3.74 3.25-3.114-2.88-3.006-.9-.936-1.257-.315-3.613-.906-1.09 4.366 2.73-3.573-2.874-2.195-.364-.28-.41-.2-3.227-1.555-3.91 8.11z\\\"/><path d=\\\"M369.178 131.608l3.224 1.555 1.955-4.053-2.733 3.575 2.872 2.195.74.565.902.226 3.61.91 1.093-4.362-3.24 3.113 2.88 3.006.34.356.41.275 3.46 2.31 2.5-3.745-3.7 2.564 2.43 3.502.517.743.76.484 2.96 1.89 2.424-3.79-3.75 2.486 1.92 2.9.655.984 1.056.538 3.144 1.603.264.134.28.095 3.7 1.31 1.5-4.243-3.057 3.304 2.927 2.71.762.704.99.3 3.694 1.12 1.3-4.31-4.165 1.7.383.94 8.335-3.4-.386-.94-.81-1.987-2.05-.62-3.693-1.117-1.304 4.307 3.06-3.3-2.926-2.71-.682-.63-.875-.31-3.703-1.31-1.5 4.243 2.04-4.01-3.143-1.602-2.04 4.01 3.75-2.483-1.923-2.903-.525-.792-.803-.513-2.96-1.89-2.42 3.79 3.698-2.563-2.43-3.503-.49-.702-.71-.475-3.46-2.31-2.5 3.74 3.25-3.114-2.88-3.006-.9-.936-1.257-.315-3.613-.906-1.09 4.366 2.73-3.573-2.874-2.195-.364-.28-.41-.2-3.227-1.555-3.91 8.11zM85.293 59.468l-2.946-2.297-.936-.73-1.17-.17-3.6-.53-.16-.02-3.58-.39-.5 4.47 3.86-2.31-2.81-4.695-1.438-2.4-2.787.227-5.41.437.36 4.485 2.404-3.807-3.554-2.242-.44-.28-.493-.17-3.89-1.34-.245-.084-.254-.06-3.6-.796-.97 4.394 3.12-3.244-2.63-2.533-.894-.86-1.21-.28-3.574-.83-2.03 8.77 3.578.83 1.013-4.38-3.12 3.24 2.63 2.533.915.88 1.238.272 3.6.795.97-4.396-1.467 4.254 3.89 1.34 1.467-4.256-2.404 3.81 3.553 2.244 1.266.802 1.496-.12 5.41-.438-4.22-2.173 2.812 4.693 1.143 1.913 2.22.246 3.577.396.495-4.474-.654 4.45 3.607.536.656-4.452-2.767 3.55 2.947 2.297 5.533-7.1z\\\"/><path d=\\\"M85.293 59.468l-2.946-2.297-.936-.73-1.17-.17-3.6-.53-.16-.02-3.58-.39-.5 4.47 3.86-2.31-2.81-4.695-1.438-2.4-2.787.227-5.41.437.36 4.485 2.404-3.807-3.554-2.242-.44-.28-.493-.17-3.89-1.34-.245-.084-.254-.06-3.6-.796-.97 4.394 3.12-3.244-2.63-2.533-.894-.86-1.21-.28-3.574-.83-2.03 8.77 3.578.83 1.013-4.38-3.12 3.24 2.63 2.533.915.88 1.238.272 3.6.795.97-4.396-1.467 4.254 3.89 1.34 1.467-4.256-2.404 3.81 3.553 2.244 1.266.802 1.496-.12 5.41-.438-4.22-2.173 2.812 4.693 1.143 1.913 2.22.246 3.577.396.495-4.474-.654 4.45 3.607.536.656-4.452-2.767 3.55 2.947 2.297 5.533-7.1zm-12.725 32.42l-2.74.97 1.5 4.24-.38-4.484-4.464.378.38 4.484.113-4.5-4.58-.114 1.447.278-4.83-1.785-1.56 4.22 2.307-3.863-3.7-2.21-2.15-1.288-2.23 1.162-3.952 2.063 2.08 3.99-.84-4.43-3.7.7-.14.027-.136.035-3.85.986 1.115 4.36.78-4.433-3.2-.564-.78-.135-.78.138-3.14.55-3.205.6.823 4.422 1.14-4.353-4.553-1.19-.97-.255-.99.182-4.53.833.82 4.423.27-4.49-4.093-.25-.666-.04-.645.15-4.075.97 1.04 4.377.695-4.445L12.38 93l-3.73-.664-1.133-.2-1.09.367-3.77 1.27 1.433 4.26.104-4.5-3.857-.09-.203 9 3.856.09.79.02.747-.256 3.77-1.27-1.435-4.26-.788 4.43 3.823.68 3.91.61.877.14.86-.205 4.076-.97-1.04-4.376-.27 4.494 4.1.246.547.033.54-.1 4.527-.837-1.96-.073 4.553 1.192.975.255.99-.183 3.16-.59 3.093-.54-.78-4.433-.777 4.433 3.2.56.956.168.94-.24 3.85-.986-1.12-4.35.84 4.42 3.7-.703.654-.122.59-.304 3.955-2.066-2.08-3.99-2.31 3.862 3.7 2.21.356.21.39.146 4.83 1.784.7.26.746.02 4.58.11.25.008.245-.02 4.464-.38.575-.046.546-.194 2.74-.967-3-8.484z\\\"/><path d=\\\"M72.568 91.887l-2.74.97 1.5 4.24-.38-4.483-4.464.378.38 4.484.113-4.5-4.58-.114 1.447.278-4.83-1.785-1.56 4.22 2.307-3.863-3.7-2.21-2.15-1.288-2.23 1.162-3.952 2.063 2.08 3.99-.84-4.43-3.7.7-.14.027-.136.035-3.85.986 1.115 4.36.78-4.433-3.2-.564-.78-.135-.78.138-3.14.55-3.205.6.823 4.422 1.14-4.353-4.553-1.19-.97-.255-.99.182-4.53.833.82 4.423.27-4.49-4.093-.25-.666-.04-.645.15-4.075.97 1.04 4.377.695-4.445L12.38 93l-3.73-.664-1.133-.2-1.09.367-3.77 1.27 1.433 4.26.104-4.5-3.857-.09-.203 9 3.856.09.79.02.747-.256 3.77-1.27-1.435-4.26-.788 4.43 3.823.68 3.91.61.877.14.86-.205 4.076-.97-1.04-4.376-.27 4.494 4.1.246.547.033.54-.1 4.527-.837-1.96-.073 4.553 1.192.975.255.99-.183 3.16-.59 3.093-.54-.78-4.433-.777 4.433 3.2.56.956.168.94-.24 3.85-.986-1.12-4.35.84 4.42 3.7-.703.654-.122.59-.304 3.955-2.066-2.08-3.99-2.31 3.862 3.7 2.21.356.21.39.146 4.83 1.784.7.26.746.02 4.58.11.25.008.245-.02 4.464-.38.575-.046.546-.194 2.74-.967-3-8.484zm8.735 31.717l-2.153 3.066 3.683 2.586-2.222-3.914-3.21 1.825-.31.18-.283.23L74 129.835l-.148.125-3.004 2.642 2.972 3.38-2.337-3.846-3.52 2.14-.435.264-.364.356-2.96 2.882-.27.26-.22.304-2.114 2.883 3.63 2.66-2.18-3.937-3.084 1.705-.615.34-.48.51-2.42 2.568 3.27 3.09-2.92-3.42-2.91 2.48 2.92 3.427-1.126-4.357-3.776.975-.967.25-.77.635-2.97 2.447 2.865 3.47 1.236-4.324-1.132-.323-2.47 8.653 1.133.323 2.275.65 1.825-1.506 2.964-2.447-2.864-3.47 1.126 4.354 3.77-.978 1.004-.26.79-.67 2.907-2.476.19-.16.17-.177 2.42-2.57-3.27-3.087 2.176 3.94 3.087-1.706.867-.48.582-.794 2.115-2.884-3.63-2.66 3.14 3.224 2.96-2.882-3.14-3.223 2.337 3.847 3.52-2.14.336-.205.3-.26 3.004-2.642-2.974-3.38 2.823 3.503 2.805-2.26-2.823-3.503 2.22 3.91 3.214-1.826.88-.5.58-.83 2.152-3.07-7.366-5.17z\\\"/><path d=\\\"M81.303 123.604l-2.153 3.066 3.683 2.586-2.222-3.914-3.21 1.825-.31.18-.283.23L74 129.835l-.148.125-3.004 2.642 2.972 3.38-2.337-3.846-3.52 2.14-.435.264-.364.356-2.96 2.882-.27.26-.22.304-2.114 2.883 3.63 2.66-2.18-3.937-3.084 1.705-.615.34-.48.51-2.42 2.568 3.27 3.09-2.92-3.42-2.91 2.48 2.92 3.427-1.126-4.357-3.776.975-.967.25-.77.635-2.97 2.447 2.865 3.47 1.236-4.324-1.132-.323-2.47 8.653 1.133.323 2.275.65 1.825-1.506 2.964-2.447-2.864-3.47 1.126 4.354 3.77-.978 1.004-.26.79-.67 2.907-2.476.19-.16.17-.177 2.42-2.57-3.27-3.087 2.176 3.94 3.087-1.706.867-.48.582-.794 2.115-2.884-3.63-2.66 3.14 3.224 2.96-2.882-3.14-3.223 2.337 3.847 3.52-2.14.336-.205.3-.26 3.004-2.642-2.974-3.38 2.823 3.503 2.805-2.26-2.823-3.503 2.22 3.91 3.214-1.826.88-.5.58-.83 2.152-3.07-7.366-5.17z\\\"/></g></svg>\",\n    \"invite-link-popover\": \"<svg width=\\\"8\\\" height=\\\"11\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M0-.5L7 6l-7 5.5-3-.5V0l3-.5z\\\" fill-rule=\\\"evenodd\\\"/></svg>\",\n    \"line-vertical\": \"<svg width=\\\"3\\\" height=\\\"145\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill=\\\"#248FED\\\" d=\\\"M2.27 434.297l.1-.9v-.184l-.1-1-.016-.103-.2-.9-.024.467.3-.9.06-.183-.02-.19-.1-.9-.016.286.2-.9.032-.142-.016-.145-.1-.9-.216-.993.017.277.1-1 .02-.14-.03-.137-.2-.9v.38l.2-.9.04-.19-.04-.19-.2-.9.02.287.1-.9.006-.997-.104-1.087v.184l.1-.9.1-.9.016-.145-.03-.142-.2-.9.016.287.1-.9.007-1.097v-.142l-.045-.135-.3-.9.04.374.1-.9.1-.9.017-.145-.03-.142-.2-.9v.38l.2-.9.03-.137-.014-.14-.1-1-.016.277.2-.9.03-.142-.018-.145-.1-.9v.194l.1-.9.004-.997.094-.803.015-.135-.027-.134-.2-1-.005.362.2-.9.03-.142-.014-.145-.1-.9-.04-.18-.3-.9.043.277v-.9l.093-.803.004-.997v-1l.093-.803.007-.997.096-.803.017-.145-.033-.142-.2-.9.02.19V392l.096-.803.006-.997-.106-.997.006-.803v-1.9l.096-.803.1-.9.004-.997v-1.9l-.103-.997-.018.287.2-.9.033-.142-.017-.145-.1-.9.004-.803v-1l-.106-.997v.194l.1-.9.014-.145-.033-.142-.2-.9.02.19v-.9l.095-.803.006-1.097.095-.803v-.194l-.1-.9-.016.287.2-.9.04-.19-.043-.19-.2-.9.02.19v-1.9l.096-.803.1-.9.005-.997-.106-.997v.184l.1-1 .015-.14-.03-.137-.2-.9.015.287.1-.9v-.194l-.1-.9.004-.803.093-.803.005-1.097-.106-.997.003-.803-.02.19.2-.9.02-.19v-.9l-.02-.19-.2-.9.02.19v-1.9l.094-.803v-.194l-.1-.9v.194l.1-.9v-.184l-.1-1v.184l.1-.9v-.194l-.1-.9v.194l.1-.9.185-.807.02-.19v-1.9l-.104-.997v.194l.1-.9v-.194l-.1-.9v.194l.1-.9.1-.9.016-.135-.028-.134-.2-1 .017.172v-.9l-.103-.997.008-.803v-1l-.02.19.2-.9.116-.993.02-.19-.06-.184-.3-.9.025.467.2-.9.04-.18-.035-.182-.2-1-.005.362.2-.9.02-.19v-.9l-.02.19.2-.9.033-.142-.015-.145-.1-.9-.1-.9.006-.803-.02.19.2-.9.02-.19v-1l-.02-.19-.2-.9v.38l.2-.9.03-.142-.014-.145-.1-.9v.194l.1-.9.005-.997-.02-.19-.2-.9.017.103-.1-1v.184l.1-.9.005-.997-.106-.997-.04.374.3-.9.077-.23-.052-.237-.2-.9.02.19v-.9l.098-.913.003-.987V304l.097-.803.006-.997v-.9l-.02-.19-.2-.9.015.277.1-1 .005-.987-.02-.19-.2-.9.014.287.1-.9.1-.9v-.194l-.1-.9-.1-.9.003-.903.096-.803.1-.9.1-.9.014-.145-.035-.142-.2-.9.016.287.1-.9v-.194l-.1-.9.006-.903-.02.19.2-.9.02-.19v-.9l-.02-.19-.2-.9-.082-.807v.194l.1-.9v-.194l-.1-.9v.194l.1-.9.187-.925.018-.172v-.9l.095-.803.006-.997v-1.042l-.043-.135-.3-.9.045.277v-.9l-.035.25.3-1 .05-.17-.018-.177-.1-.9-.1-.9v.194l.1-.9v-.194l-.1-.9-.1-.9-.018.287.2-.9.205-1.018.027-.134-.015-.135-.1-.9-.215-.993.02.19v-1.8l-.02.19.2-.9.035-.142-.017-.145-.1-.9v.194l.1-.9.006-1.097-.02-.19-.2-.9.015.287.1-.9.1-.9.005-.997-.02-.19-.2-.9v.38l.2-.9.03-.142-.014-.145-.1-.9-.01.27.2-1 .045-.23-.073-.22-.3-.9.04.374.1-.9.007-.997v-.9l.095-.803.003-.997-.02-.19-.2-.9.015.277.1-1 .015-.14-.03-.137-.2-.9.02.19v-1.8l.095-.803.184-.807.032-.142-.015-.145-.1-.9.006-.903.095-.803.006-.997-.02-.19-.2-.9.02.19v-1.8l-.107-.997.003-.903-.02.19.2-.9.03-.142-.016-.145-.1-.9v.194l.1-.9.018-.145-.032-.142-.2-.9v.38l.2-.9.035-.142-.016-.145-.1-.9-.012.27.2-1 .027-.135-.016-.135-.1-.9-.1-.9v.194l.1-.9v-.194l-.1-.9-.1-.9-.1-.9v.184l.1-1 .006-.987-.046.277.3-.9.06-.183-.02-.19-.1-.9-.1-.9-.1-.9.004-.804.092-.803.187-.925.036-.182-.04-.18-.2-.9.015.287.1-.9v-.194l-.1-.9.002-.803.094-.803.005-.997-.02-.19-.2-.9.017.103-.1-1v.184l.1-.9.1-.9.005-.997v-.9l-.104-.997-.015.287.2-.9.043-.19-.04-.19-.2-.9.02.19v-2.8l.096-.803.006-.997-.02-.19-.2-.9v.38l.2-.9.02-.19v-.9l-.105-.997-.1-.99v.184l.1-.9.005-.997v-.9l-.104-.997.003-.803v-.9l-.044.277.3-.9.044-.135V179.8l-.103-.997-.218-.993.02.19v-.9l.095-.803.004-.997-.107-.997v.194l.1-.9.1-.9.015-.135-.026-.134-.2-1v.362l.2-.9.04-.19-.042-.19-.2-.9.02.19v-.9l-.103-.997v.194l.1-.9v-.194l-.1-.9-.018.287.2-.9.03-.137-.014-.14-.1-1-.1-.91-.1-.9-.04.374.3-.9.06-.183-.02-.19-.1-.9-.017.286.2-.9.052-.237-.077-.23-.3-.9.04.374.1-.9v-.194l-.1-.9-.1-.99-.018.277.2-.9.04-.19-.04-.19-.2-.9.02.19v-.9l-.02.19.2-.9.03-.142-.015-.145-.1-.9-.1-.9.003-.803v-1l.095-.803.004-.997v-5.5l-.02.19.2-.9.04-.19-.04-.19-.2-.9.015.287.1-.9.002-.997v-.9l-.103-.997-.1-.99-.018.277.2-.9.03-.142-.016-.145-.1-.9-.04.374.3-.9.06-.183-.02-.19-.1-.9-.217-.994-.087-.807v.194l.1-.9.1-1.01v-.184l-.1-.9-.1-.9-.017.287.2-.9.116-.993v-.194l-.1-.9v.194l.1-.9v-.194l-.1-.9.003-.903.095-.803.004-.997-.105-.997-.018.287.2-.9.032-.142-.018-.145-.1-.9-.1-.9.004-.903-.104-.997v.194l.1-.9v-.997l-.02.19.2-.9.02-.19v-2.8l-.104-.997.003-.803-.02-.19-.2-.9.016.287.1-.9.015-.145-.03-.142-.2-.9.017.287.1-.9.004-1.097v-1.8l-.02.19.2-.9.02-.19v-1.8l-.107-.997v.184l.1-1 .1-.89v-.194l-.1-.9v.194l.1-.9.014-.145-.033-.142-.2-.9.015.287.1-.9.1-.9.004-1.097.092-.803.005-.997-.02-.19-.2-.9.02.19v-.9l-.02.19.2-.9.02-.19v-2.042l-.045-.135-.3-.9.045.277v-.9l.095-.803.005-.997v-1.8l-.02-.19-.2-.9.02.19v-1l-.02.19.2-.9.02-.19V73l.095-.803.1-.9v-.194l-.1-.9v.194l.1-.9.014-.135-.024-.134-.2-1 .012.27.1-.9.013-.146-.032-.142-.2-.9v.38l.2-.9.033-.142-.015-.145-.1-.9.005-.803-.045.277.3-.9L2.7 63l-.09-.277-.3-.9.04.364.1-1 .1-.89.015-.145-.03-.142-.2-.9.02.19v-1.8l-.105-.997-.017.287.2-.9.03-.137-.014-.14-.1-1V53.8l-.02.19.2-.9.03-.142-.017-.145-.1-.9.004-.803-.02-.19-.2-.9v.38l.2-.9.02-.19v-.9l.097-.913.016-.14-.03-.137-.2-.9.016.287.1-.9.1-.9v-.194l-.1-.9v.194l.1-.9.005-1.097-.103-.997-.1-.9-.016.287.2-.9.043-.19-.042-.19-.2-.9.02.19v-.9l.097-.803.1-.9.006-1.097-.105-.997v.194l.1-.9.01-.997-.107-.997-.1-.9v.194l.1-.9v-.194l-.1-.9.007-.903v-.9l.093-.803.1-.9.005-.997.092-.803.006-.997-.11-.997-.1-.99.007-.813v-.9l.095-.803v-.194l-.1-.9v.194l.1-.9.02-.19-.06-.184-.3-.9.04.374.1-.9.1-1.01.006-.987-.02-.19-.2-.9.017.287.1-.9.007-.997V5.5l-.09-1.087-.1-.91v.194l.1-.9v-.194l-.1-.9v.194l.1-.9L.53.803l-.1.9v.194l.1.9v-.194l-.1.9v.194l.1.9.1.99-.005.813V10l-.095.803-.016.145.032.142.2.9-.02-.19v.9l-.097.913-.1.89-.02.19.06.184.3.9-.04-.374-.1.9v.194l.1.9v-.194l-.1.9-.01.997v.9l.1 1.087.1.91-.006.803-.095.803-.005.997-.093.803-.1.9-.005.997v1l.105.997v-.194l-.1.9v.194l.1.9.1.9-.005.803-.093.803v.194l.1.9-.007.903-.094.803-.1.9-.006.997.02.19.2.9v-.38l-.2.9-.03.142.016.145.1.9.1.9-.004.903-.095.803v.194l.1.9v-.194l-.1.9-.1.9-.016.145.032.142.2.9-.02-.277-.1 1-.004.987.02-.19-.2.9-.04.19.04.19.2.9-.02-.19v.9l.11.997.013-.287-.2.9-.02.19v.9l.103 1.087.016-.277-.2.9-.03.142.014.145.1.9-.005.803v.9l.02.19.2.9-.014-.287-.1.9-.1 1.01-.02.186.06.17.3.9v-.557l-.3.9-.045.135v1.05l.11.996.016-.287-.2.9-.042.19.044.19.2.9-.02-.288-.1.9-.013.134.027.134.2 1-.012-.27-.1.9v.196l.1.9V71.1l-.1.9-.1.9-.005.997.02-.19-.2.9-.02.19v1l.02.19.2.9-.02-.19v2.7L.53 80.2l-.005.996v.14l.046.136.3.9-.05-.277V84l.02-.19-.2.9-.02.19v.9l.02.19.2.9-.02-.19v.9l-.092.803V89.5l-.096.803-.1.9-.016.145.032.142.2.9-.018-.287-.1.9v.194l.1.9v-.194l-.1.9-.1 1.01v.184l.1.9-.007.803v.9l.02-.19-.2.9-.02.19v2.8l-.095.803-.017.145.034.142.2.9-.017-.287-.1.9-.018.145.03.142.2.9-.02-.19v.9l.104.997-.006.903v1.8l.02-.19-.2.9-.02.19v.9l-.094.803v.194l.1.9-.006.903.106.997.1.9.015-.287-.2.9-.03.142.015.145.1.9-.006.803-.097.803v1.097l.107.997v-.194l-.1.9v.194l.1.9v-.194l-.1.9-.182.807-.033.142.013.145.1.9.1.9v-.184l-.1 1-.1.89v.194l.1.9.216.993.082.807.04-.374-.3.9-.06.183.02.19.1.9.016-.286-.2.9-.03.137.01.14.1 1 .1.91-.005.803v.9l-.095.803-.018.145.032.142.2.9v-.38l-.2.9-.02.19v6.4l-.096.803-.01 1.097v.9l.105.997.1.9.016-.287-.2.9-.02.19v.9l.02.19.2.9v-.38l-.2.9-.03.137.018.14.1 1 .1.91v-.194l-.1.9-.02.19.06.184.3.9-.024-.467-.2.9-.03.142.014.145.1.9.04-.374-.3.9-.06.183.02.19.1.9.1.9.1.99.016-.276-.2.9-.03.142.015.145.1.9v-.194l-.1.9v.194l.1.9-.008.803.02.19.2.9v-.38l-.2.9-.04.18.037.182.2 1-.015-.27-.1.9-.1.9v.195l.1.9-.005.803-.096.803V178l.02.19.2.9.085.807-.006.803v1.9l.04-.277-.3.9-.046.135v1.942l.104.997-.005.803v.9l-.096.803v.184l.1 1 .1.91-.005.803.02-.19-.2.9-.04.19.04.19.2.9-.02-.19v.9l-.096.803-.007.997v1.9l.02.19.2.9v-.38l-.2.9-.03.142.014.145.1.9-.008.803v.9l-.097.803-.1.9v.184l.1 1 .016.103.2.9-.02-.19v.9l-.097.803L.7 209l.103.997v-.194l-.1.9-.016.145.03.142.2.9-.004-.362-.2 1-.11.975-.006.997.102.997.1.9.1.9.04-.374-.3.9-.044.135V219l-.098.913v.184l.1.9.1.9.1.9v-.194l-.1.9v.194l.1.9.1.9.012-.27-.2 1-.03.135.016.135.1.9.015-.287-.2.9-.04.19.04.19.2.9-.016-.287-.1.9v.194l.1.9.013-.287-.2.9-.02.19v1l.104.997-.006.803v.9l.02.19.2.9-.02-.19v.9l-.094.803v1.097l.106.997.015-.287-.2.9-.114.993-.004.997v.9l.02.19.2.9-.017-.277-.1 1-.015.14.03.137.2.9-.02-.19v.9l-.095.803-.004.997v.9l-.097.803-.02.19.06.184.3.9-.03-.45-.2 1-.026.135.014.135.1.9.016-.287-.2.9-.04.19.04.19.2.9-.02-.19v.9l-.096.803-.1.9-.014.145.03.142.2.9-.02-.19v1l-.095.803v.194l.1.9.017-.287-.2.9-.02.19v1.8l.02.19.2.9.085.807.01-.27-.2 1-.196.883-.03.142.014.145.1.9.1.9v-.194l-.1.9v.194l.1.9.1.9.033-.348-.3 1-.036.12v1.17l.046.13.3.9-.045-.28v1.8l-.092.802-.005.996.02-.173-.2 1-.112.975v.193l.1.9V282l-.1.9v.193l.1.9.216.993-.02-.19v.9l.02-.19-.2.9-.02.19v1l.107.996v-.194l-.1.9-.02.145.03.142.2.9-.013-.288-.1.9-.1.9-.1.9V294l.104.997.1.9v-.194l-.1.9-.1.9-.016.145.033.142.2.9-.02-.19v.9l-.097.913-.017.14.03.137.2.9-.02-.19v1.8l-.095.803-.008.997v1.8l-.096.913-.004.987.02.19.2.9.026-.467-.3.9-.06.183.02.19.1.9-.006.804-.093.803v.184l.1 1 .016.103.2.9L.8 315v.9l-.096.803v.194l.1.9.016-.287-.2.9-.04.19.04.19.2.9-.02-.19v1l.02-.19-.2.9-.02.19v.9l.105.997.1.9.014-.287-.2.9-.02.19v.9l.02-.19-.2.9-.04.18.035.182.2 1 .006-.362-.2.9-.05.237.08.23.3.9-.04-.374-.1.9-.187.807-.02.19v1.9l.103.997-.003.803.017.172.2 1-.01-.27-.1.9-.1.9v.195l.1.9v-.194l-.1.9v.194l.1.9-.006.903v.9l.02-.19-.2.9-.114.993v.194l.1.9v-.194l-.1.9v.184l.1 1v-.184l-.1.9v.194l.1.9v-.194l-.1.9-.006.997v1l.02.19.2.9-.02-.19v.9l.02-.19-.2.9-.02.19v.9l.105.997-.01.903-.093.803V359l.107.997v-.194l-.1.9-.018.145.03.142.2.9-.016-.277-.1 1v.184l.1.9-.004.803-.096.803-.1.9-.005.997v1l.02.19.2.9v-.38l-.2.9-.03.142.014.145.1.9v-.194l-.1.9v1.097l-.097.803-.005.997.02.19.2.9-.017-.287-.1.9v.194l.1.9-.004.903v.9l.104.997.016-.287-.2.9-.035.142.017.145.1.9-.005.803v1.9l-.096.803-.1.9-.007.997v1.9l.103.997-.005.803-.096.803-.004.997v1.9l.02.19.2.9-.016-.287-.1.9-.006.997-.094.803-.01 1.097v.9l-.095.803-.004.997v.142l.043.135.3.9-.04-.18.1.9.014-.287-.2.9-.04.18.036.182.2 1-.013-.27-.1.9-.005.998-.095.803v.194l.1.9.016-.287-.2.9-.03.137.013.14.1 1 .016-.277-.2.9-.04.19.043.19.2.9-.016-.287-.1.9-.1.9-.02.19.06.184.3.9-.043-.277v1l-.092.803-.017.145.034.142.2.9-.016-.287-.1.9-.1.9v.184l.1 1-.005.813-.095.803-.015.145.034.142.2.9v-.38l-.2.9-.04.19.042.19.2.9-.018-.277-.1 1-.016.14.03.137.2.9.085.807.016-.287-.2.9-.03.142.02.145.1.9.04-.374-.3.9-.078.23.053.237.2.9-.015-.103.1 1v-.184l-.1.9 1.74.194z\\\"/></svg>\",\n    \"track-filter\": \"<svg width=\\\"79\\\" height=\\\"61\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"invite-link__track\\\"><path fill=\\\"#248FED\\\" d=\\\"M58.087 43.22l-.89.12.135.99.175-.985-.906-.16-1-.085-.12-.01-.13.02-.905.16.175.986.266-.964-.903-.25-.225-.06-.23.044-.906.177.19.98.13-.99-.91-.117-.16-.02-.156.03-.904.173.187.98-.077-1-.906.07-.863.02-.814-.054-.92-.048-.894-.056-.867-.088-.858-.13-.123-.02-.124.012-.907.086-.865.046-.823-.03-.143-.004-.138.036-.9.23.25.967.202-.98-.92-.19-.22-.043-.22.055-.907.22.237.97.036-1-.913-.03-.807-.113-.963-.07-.07.997.18-.983-.902-.165-.15-.014-.91-.03-.12-.003-.113.024-.903.19.2.98.03-1-.91-.024-.153.01-.904.116-.91.122.134.99.033-1-.91-.033-.035 1 .15-.99-.91-.135-.174-.01-.91.022-.883-.005-.004 1 .267-.964-.89-.246-.16-.043-.163.01-.916.05.056 1 .08-.997-.916-.074-.19-.018-.18.053-.89.268.286.96-.033-1-.914.03-.96.074-.818-.018-.013 1 .116-.994-.908-.107-.886-.126-.924-.113-.94-.09-.993-.014-.966.043-.97.103.11.99.036-1-.904-.03-1.002.057-.922.067-.908.07.072.997.218-.977-.912-.2-.193-.022-.905-.016-.12.006-.91.092.1.995.125-.993-.905-.113-.145-.01-.913.02-.89.005-.822-.077-.172-.015-.168.042-.907.236.25.97.078-.997-.92-.07-.85-.13-.115-.02-.116.01-.91.08.084.997 1 .01.006-.885.07-.83.06-.917v-.11l-.038-.893.046-.8-1-.05.974.234.21-.88.025-.195.035-.89.032-.893-.01-.172-.122-.897-.99.14.997.07.06-.89.073-.876-.998-.084.967.256.233-.875.028-.154.09-.89.008-.15-.043-.894-.01-.1-.136-.898-.99.15.96.29.262-.87.04-.134.003-.14.014-.9-1-.012.987.156.14-.885.12-.91.008-.19-.054-.897.01-.825-1-.01.99.147.13-.89.03-.206-.055-.2-.24-.89-.966.262 1 .03.027-.9-1-.03.986.175.158-.888.108-.957.004-.114-.004-.895-.012-.15-.14-.894-.988.156.96.284.26-.882.062-.21-.03-.215-.13-.894-.99.14 1 .023.02-.894-1-.028.98.21.187-.878.18-.892.015-.132.06-.89V13.6l-.045-.9.045-.79-.027-.968.02-.84-1-.027.98.187.17-.89.092-.984L4 7.45l-1-.04.964.27.236-.88.052-.19-.023-.198-.11-.9-.997.117.996.09.08-.898.086-.89.01-.12-.018-.117-.134-.923-.066-.863-1 .08.98.21.18-.84-.98-.21-.07 1 .874.062.15.01.146-.035.965-.22L5.1 1l-.18 1 .96.163.98.11.114.013.113-.013.937-.108-.115-.994-.12 1 .92.11.9.13.175.03.176-.04.94-.2-.21-.98-.067 1 .93.06.88.1.953.086 1.033-.008.98-.06 1-.133-.133-.99-.07.996.935.065h.144l.926-.068-.07-.997-.047 1 .934.04 1.02-.047.12-.013.94-.155-.167-.986-.18.984.922.17.917.176.193.02.933-.004.172-.017.93-.17-.175-.98-.133.99.934.126.117.016.118-.013.93-.096-.102-.993-.12.997.936.113.195.02.19-.05.927-.255-.265-.964-.19.984.933.185.207.04.204-.048.93-.21-.22-.974-.166.987.933.156.145.015.93.017.018-1-.145.99.927.137 1.01.075 1.02-.014 1.022-.104-.107-.994-.116.993.934.11.14.015.137-.022.93-.152-.16-.987-.055 1 .933.05.98.01.105-.008.93-.094.853-.013.858.05.217-.01.925-.153-.16-.986-.07.996.935.067.878.11.995.055.142-.006.94-.085-.09-.997-.175.983.93.164.206.015.936-.03.936-.03.964-.065.89-.02.917-.007.845.073.983.025.917.037h.107l.93-.06.83.02.987-.04.924.028.028-1-1 .02.018.954 1-.02-.987-.152-.134.873-.014.162.01.876-.04.84.01.184.12.89.99-.13-1-.01-.01.89.057.96 1-.062-.98-.2-.184.89-.04.18.03.18.145.894.986-.16-.995-.097-.085.887.996.1-.96-.276-.25.877-.037.205-.065.89-.014.95.01.168.14.9.99-.155-1-.008-.006.89 1 .006-.98-.194-.178.884-.027.12.007.127.046.894.058.904-.014.81-.04.86-.123.79-.053.983-.036.9-.065.857-.014.17.04.168.236.885.965-.26-1-.025-.02.896.06.983.093.926.996-.1-1-.077-.066.886-.11.83-.08.933-.04.932-.032.894 1 .04-.973-.237-.217.88-.028.216-.017.89.01.177.142.896.987-.16-1 .048.044.89 1-.046-.996-.09-.084.896-.047.936-.008.147.033.143.224.89.97-.243-.976-.218-.2.89-.037.17.02.17.11.895.994-.12-.994-.1-.09.89-.006.118.015.9-.026.844 1 .027-.966-.257-.24.89-.054.205.033.206.14.894.99-.15-1-.038-.03.87 1 .035-.14-.99zm.268 1.98l.835-.112.03-.842.03-.87-.01-.19-.138-.894-.988.152.966.257.237-.89.03-.11.004-.11.03-.89-.01-.94-1 .017.997.103.09-.89.01-.11-.01-.115-.11-.895-.994.12.976.22.2-.89.053-.23-.06-.23-.223-.89-.97.243 1 .048.04-.89.08-.853v-.14l-.04-.886-.01-.11-.142-.897-.988.16 1 .02.015-.894-1-.02.97.235.215-.88.03-.2.034-.89.036-.887.072-.843.11-.837.074-.944-.002-.175-.09-.89-.053-.86.03-.807.002-.147-.037-.14-.236-.885-.967.26.998.076.07-.895.037-.926.046-.875.12-.79.052-.99.013-.92-.058-.97-.048-.884-1 .054.98.194.174-.885.02-.19.006-.89-.01-.16-.14-.896-.99.155 1 .014.013-.89.063-.83-.997-.074.96.278.25-.877.035-.176.085-.89.01-.13-.02-.127-.144-.892-.988.16.98.2.18-.89.024-.13-.008-.132-.055-.885.01-.82-.01-.14-.12-.89-.99.13 1 .054.045-.89-.01-.94-1 .01.99.155.132-.87.01-.17-.02-.953-.01-.97-.96-.033L58.2.444l-.99.04-.857-.017-1.017.06.06 1 .04-1-.934-.04-.95-.025-.87-.077-1.027.004-.95.023-.97.063-.898.03-.93.03.028 1 .18-.98-.93-.168-.13-.025-.133.013-.942.084.09.998.054-1-.923-.05-.86-.108-.99-.074-.12-.003-.113.018-.926.154.166.986.053-1-.93-.058-1.01.018-1.01.096.098.994.01-1-.935-.008-.887-.05-.218.01-.93.154.16.988.114-.995-.932-.11h-.222l-.93.1-.843.008L33.1.46l-.85-.13-.13-.01-.93-.02-.02 1 .17-.983-.935-.157-.194-.033-.19.044-.93.21.22.98.19-.98-.93-.18-.23-.044-.23.06-.924.257.266.96.12-.993-.94-.114-.22-.002-.93.097.104.996.133-.99L24.79.3l-.16-.02-.154.028-.93.168.178.984-.004-1-.933.004.004 1 .19-.982-.92-.178-.93-.17L20.95.1l-.174.03-.94.157.165.985-.04-1-.924.046-.84-.042-.12.002-.926.068.073.997.07-.997-.94-.066-.205.007-.927.126-.856.05-.89.01-.83-.078-.9-.103-.975-.067-.14-.01-.138.03-.94.2.21.98.144-.99L8.984.3l-.95-.12L7.91.17l-.117.013-.937.108.115 1L7.08.3 6.16.19 5.258.034 5.06 0l-.193.044-.964.22.223.976.072-.997L3.324.18 2.457.117l-.183.85-.18.838-.03.142.01.146.073.926.14.98.99-.14-.996-.1-.08.894-.08.9v.205l.11.9.996-.118-.963-.27-.246.875-.03.11-.007.118-.037.896-.075.84-.153.79-.016.166-.02.894.03.94-.047.81.045.998 1-.05-1-.065-.06.89 1 .067-.98-.2-.18.88-.19.865-.02.184-.02.89.01.163.125.897.99-.14-.96-.284-.26.884-.065.217.038.223.14.89.987-.154-1 .004.002.895 1-.004-.996-.103-.097.89-.15.82-.016.145-.03.9-.004.15.04.144.24.887.964-.26-.99-.145-.13.89-.01.14-.007.89.055.96 1-.056-.992-.13-.115.883-.134.856-.016.14-.012.9 1 .015-.956-.29-.262.87-.064.216.033.223.135.895.99-.15-1 .05.045.89 1-.05-.997-.102-.09.89.994.103-.968-.254-.23.876-.03.17-.077.89-.067.907.007.205.124.897.99-.138-1-.033-.03.89-.037.884 1 .04-.97-.224-.21.88-.026.183-.043.89.035.986 1-.04-1-.065-.056.902-.07.886-.01.954-.01 1.1 1.09-.098.91-.08-.086-.995-.15.99.923.135.996.08.165.016.16-.042.907-.234-.25-.97-.09.994.914.083h1l.933-.02-.023-1-.124.99.906.114.114.017.115-.01.91-.096-.104-.993-.02 1 .908.017.018-1-.214.977.912.2.144.03.145-.01.903-.07.906-.063.9-.05.812.03.144-.005.903-.1.843-.033.857.01.83.083.88.108.887.126.93.11.104.01.91.01 1.005-.074.87-.028.13-.005.125-.04.89-.27-.29-.96-.08.997.914.074h.133l.916-.05-.054-.994-.27.964.892.244.127.035h.135l.915.002.938-.024-.027-1-.146.99.91.135.112.01.91.033.17-.01.905-.12.9-.12-.13-.99-.023 1 .91.02.117.004.115-.022.903-.188-.203-.98-.03 1 .91.027.03-1-.18.986.902.165.108.016.906.066.844.114 1.012.04.137.004.133-.034.906-.223-.24-.97-.2.98.92.19.227.05.223-.06.9-.23-.25-.97-.03 1 .91.024.99-.053.956-.09-.097-.994-.15.99.904.135.955.097.942.06.92.047.897.055 1-.03.95-.07.11-.015.905-.173-.19-.98-.125.99.91.12.16.02.16-.03.907-.18-.193-.98-.264.962.904.25.217.06.226-.04.906-.16-.176-.986-.08.997.91.073.81.15.153.03.155-.02.89-.12z\\\"/><path fill=\\\"#248FED\\\" d=\\\"M59.105 9.05l-.92.13-.936-.242-.95.073-.93.06-.93-.2-.94.03-.925.168-.94-.156-.92.268-.93-.015-.93.01-.93-.092L47 9.07l-.93.06-.93-.09-.94.104-.918-.254-.935-.094-.933.052-.933.005-.92.22-.915-.26-.943.057-.932-.038-.923.065-.94-.13-.93.084-.925-.05-.934-.04-.93-.03-.93.01-.934.19-.93-.066-.927.086-.937-.07h-.93l-.93-.06-.93-.067-.935-.045-.93-.014-.94.17-.93-.063-.93-.07-.93-.075-.932-.08-.93.095-.93.183-.935-.16-.924.21-.934.022-.935.036-.932-.06-.935-.04-.925-.237-.936.12-.94.05-.93-.08-.933.06-.945-.145-.85.017-.136-.706.14-.813-.046-.81.118-.8L3.25 4.7l-.014-.807.192-.79-.088-.79-.113-.886 1.005.11.92-.06.915-.147.923.19.94-.137.924.236.93-.086.93.057.93-.116.934-.06.927.12.93.105.93-.14.928.267.934-.053.923-.21.934-.03.935.03.926.023.93.08.936-.15.925.167.933.06.934.055.93-.106.932-.03.932.135.924-.126.936.02.934-.144.93.13.932.03.93.175.936-.03.932-.05.924-.25.932.028.933.014.938-.06.93.04.923.24.94.027.926-.283.934.035.936.16.93-.172.93.1.933-.068.93.094.93-.18.935.106.918.243.95-.11.924.206h.937l.932.104.935-.14.95-.14.96-.04.97.003-.14.835-.1.827.155.84-.15.8.046.805-.05.81.048.82-.01.823.106.787z\\\"/><path fill=\\\"#248FED\\\" d=\\\"M58.965 8.06l-.92.13.14.99.252-.967-.937-.243-.16-.042-.168.013-.948.08-.91.057.057.998.22-.976-.923-.203-.12-.025-.124.006-.934.03-.146.016-.924.167.175.983.165-.99-.944-.155-.224-.037-.217.063-.924.267.28.96.02-1-.93-.017-.96.01.01 1 .1-.99-.93-.094-1.026-.01-1 .06.06 1 .096-1-.93-.09-.205.002-.94.103.11.993.268-.96-.916-.257-.168-.03-.937-.095L42.3 7.8l-.93.05-.885.002-.114.002-.11.028-.93.22.236.972.275-.96-.92-.264-.164-.047-.17.01-.942.06.06.997.042-1-.934-.037h-.11l-.923.064.07.997.14-.99-.94-.13-.113-.014-.114.01-.926.084.09.996.057-1-.924-.05-.94-.048-.95-.03-.976.01-.19.02-.933.19.2.98.075-.997-.93-.063h-.17l-.926.086.09.998.074-.996-.938-.07-1-.004-.862-.058-.923-.066-.96-.044-.96-.016-.19.015-.935.168.175.984.068-1-.93-.065-.92-.07-.927-.076-.927-.08h-.19l-.93.1-1.023.2.195.98.166-.986-.935-.16-.196-.033-.196.045-.926.21.22.977-.024-1-.933.023-.95.04.04 1 .06-1-.93-.057-.95-.04-.044.996.248-.97-.926-.233-.187-.045-.19.02-.937.12-.866.044.055 1 .07-1-.93-.08h-.15l-.934.056.06 1 .153-.988-.95-.15-.175-.01-.85.01.02 1 .982-.185-.135-.708-.983.185.984.17.14-.81.02-.116-.006-.118-.046-.814-.996.057.99.145.118-.8.024-.15-.024-.15-.127-.817-.99.155 1-.02-.015-.806-1 .02.97.235.192-.79.04-.17-.018-.175-.088-.79-.115-.903-.99.13-.106.992 1.003.11.175.002.92-.06 1.006-.16-.16-.987-.2.98.925.19.17.03.172-.024.94-.135-.144-.99-.248.97.925.237.166.046.17-.015.93-.083-.087-.993-.06 1 .93.057.187-.006.93-.115.873-.055-.064-.998-.127.99.924.12.944.106.13.013.13-.02.93-.136-.147-.99-.28.96.93.27.164.05.17-.01.933-.05.16-.02.924-.21-.216-.975.034 1 .934-.033.873.03.933.025.87.075.12.01.12-.02.935-.146-.154-.99-.177.985.925.167.11.014.93.06.938.06.17-.005.93-.104.853-.02-.03-1-.14.99.93.133.135.02.136-.02.93-.125-.135-.993-.02 1 .936.02.17-.012.93-.14-.15-.99-.14.99.93.13.11.01.93.03.033-1-.183.984.93.173.22.014.936-.033.95-.043.205-.032.923-.244-.257-.964-.027 1 .93.027.947.014 1.02-.06-.065-.997-.04 1 .93.035.042-1-.253.97.92.24.11.03.116.003.94.023.16.007.156-.05.924-.28-.29-.957-.035 1 .937.032.035-1-.167.987.936.16.176.03.172-.034.93-.173-.18-.984-.106.994.93.097h.177l.93-.07-.072-.994-.104.995.93.096.15.014.145-.03.93-.18-.19-.98-.11.994.937.102.11-.995-.256.966.92.242.18.047.19-.02.95-.11-.113-.993-.215.978.92.202.216.023.935.002v-1l-.112.99.933.107.13.014.132-.02.936-.14.944-.14-.142-.99.04 1 .956-.04.926.005.002-1-.987-.162-.14.836-.107.87-.02.15.027.148.153.84.982-.177-.985-.18-.15.8-.02.117.007.12.044.806 1-.056-1-.06-.046.81-.002.115.046.82-.01.755.01.144.103.786.99-.13-.14-.99zm.28 1.98l.98-.138-.13-.982-.103-.788-.99.13 1 .013.01-.823-.046-.886-1 .054 1 .06.047-.81v-.116l-.045-.807-.998.056.983.18.148-.802.04-.17-.03-.18-.15-.84-.983.18.993.12.1-.825.13-.792.19-1.16L59.208.7l-.97-.004-1 .04-.106.01-.944.14-.94.14.15.99.112-.995-.933-.1h-.11L53.53.91l-.002 1 .216-.976L52.82.73l-.16-.04-.166.02-.95.107.112.994.256-.96-.92-.24-.146-.026-.936-.11-.148-.015-.15.03-.93.177.188.982.103-.996-.93-.1h-.175l-.933.063.072.997.105-.994-.93-.1-.145-.015-.143.027-.93.17.182.984.168-.988-.936-.16-.133-.013L43.31.49l-.167-.005-.16.05-.924.282.29.955.03-1-.94-.026-.03 1 .25-.97-.927-.24-.21-.03L39.6.47h-.11l-.934.063-.852-.016-.92-.026h-.142l-.138.04-.924.25.256.967-.05-1-.933.047-.92.03.037 1 .184-.984-.93-.175-.15-.015-.934-.03-.033.997.138-.99-.93-.13-.143-.02-.144.024-.932.14.15.99.02-1-.934-.02-.154.01-.925.127.134.99.14-.99-.93-.13L27.42.6l-.932.027-1.01.11.11.994.06-.99-.932-.054-.927-.06-.07.998.18-.99-.93-.163-.167-.03-.166.026-.935.148.156.99.086-.996-.93-.08L20.03.5l-.933-.028L18.1.5l-.185.025-.923.207.22.977-.062-1-.934.05.057 1L16.55.8l-.93-.27-.21-.06-.213.033-.93.14.147.988.112-.99-.93-.1-.91-.116L12.5.41l-.933.06-.99.122.123.992.06-.998L9.83.53h-.15l-.93.083.087.996.247-.97L8.16.4 7.966.35 7.77.38l-.94.135.14.99.2-.98-.926-.19L6.07.303l-.18.03-.916.146-.827.05.067 1 .108-1L3.318.42 2.058.29l.16 1.257.113.884.09.78 1-.11-.97-.23-.193.79-.03.125v.13l.017.807.01.134.128.816.99-.156-.99-.144-.117.8-.01.205.045.81 1-.057-.986-.17-.14.813-.034.18.033.18.13.707.158.83.84-.018.854-.016-.02-1-.152.987.95.147.216.01.934-.06-.06-.997-.085.994.93.08H7l.94-.05 1.01-.126-.126-.992-.246.97.925.236.202.03.933.04.915.06h.1l.936-.034.92-.022.2-.025.92-.21-.23-.976-.168.986.937.16.182.03.18-.035.93-.187.836-.08-.105-.996-.087.998.933.08.937.076.936.07.94.063.124.01.12-.022.936-.165-.174-.987-.016 1 .93.014.903.04.907.065.934.06.994.003.867.065h.165l.926-.087-.09-.995-.07.998.93.068.137.01.134-.027.935-.19-.2-.98.01 1 .93-.01.89.03.915.045.92.05.15-.004.928-.083-.09-.994-.137.99.94.13.21.007.92-.067-.07-.996-.04 1 .934.036h.102l.943-.06-.06-1-.28.96.916.263.25.07.252-.06.926-.22-.23-.97.006 1 .933-.003.98-.056-.054-.997-.1.995.933.093.1-.994-.266.966.92.255.185.05.19-.02.94-.106-.11-.994-.096.997.93.09.155.003.93-.06.865.005.835.09.11.007.933-.01.9.015.15.006.148-.042.926-.265-.28-.96-.16.99.942.155.17.03.17-.03.925-.17-.175-.983.03 1 .936-.03-.03-1-.213.98.93.202.134.03.136-.01.93-.053.97-.075-.077-.997-.25.968.936.244.192.05.197-.03.92-.13z\\\"/><g fill=\\\"#2E3192\\\" class=\\\"invite-link__track-mouse\\\"><path d=\\\"M41.063 26.285l.198.84.31.714.16.75.19.74.31.696.2.732.19.736.1.764.346.934.24.966.305.924.388-.64.168-.77.24-.744.393-.68.36-.67.865-.352.893-.332.886-.365.916-.24-.884-.363-.883-.392-.9-.365-.74-.615-.88-.348-.817-.46-.915-.318-.72-.66-.91-.49z\\\"/><path d=\\\"M40.09 26.514l.198.84.053.163.31.714.92-.39-.98.21.16.76.2.79.05.15.31.698.92-.4-.964.265.2.73.186.72.968-.25-.99.13.1.768.053.216.344.93.94-.345-.97.243.24.964.325.998.68 2.07 1.125-1.864.387-.642.09-.14.034-.164.167-.77.214-.646-.954-.31.867.5.393-.68.374-.694-.88-.474.373.927.866-.353.864-.32.917-.38-.38-.922.257.967.914-.245 2.877-.76-2.75-1.13-.882-.363-.855-.383-.934-.376-.372.926.642-.765-.74-.62-.124-.104-.15-.06-.88-.345-.366.93.49-.87-.817-.464-.168-.072-.915-.316-.326.944.68-.738-.72-.66-.092-.086-.11-.06-.914-.49-1.955-1.046.51 2.16zm1.946-.458l-.973.23-.472.88.92.49.47-.882-.67.737.72.67.154.14.196.07.915.318.328-.944-.492.87.82.463.127.06.88.346.364-.93-.64.767.736.616.12.1.148.06.9.36.85.38.907.375.383-.923-.258-.966-.918.24-.124.043-.888.365-.863.32-.894.364-.334.137-.17.313-.36.67-.376.654-.084.19-.24.742-.194.87.977.21-.855-.517-.39.64.856.52.95-.313-.304-.923-.22-.897-.03-.104-.346-.93-.938.346.99-.13-.1-.764-.023-.116-.19-.736-.204-.747-.05-.136-.305-.697-.916.4.97-.25-.194-.746-.15-.714-.057-.184-.303-.712-.92.39.974-.23-.2-.84z\\\"/><path d=\\\"M40.61 27.717l.454.608.415.598.51.648.54.62.43.557.11.15.16.096.68.4.507-.86-.805.59.456.62.11.125.545.53.518.527.71-.7-.852.52.403.66.116.155.51.56.615.58.684-.73-.76.644.492.58.573.592.72-.697-.81.585.453.622.1.14.142.096.643.443 1.13-1.65-.642-.44-.567.824.81-.587-.45-.624-.09-.11-.53-.547-.45-.53-.08-.08-.56-.522-.458-.504-.74.675.854-.52-.404-.66-.06-.096-.08-.082-.534-.54-.563-.546-.696.717.805-.59-.458-.62-.12-.162-.178-.102-.68-.4-.508.862.788-.616-.47-.6-.544-.62-.44-.554-.397-.575-.477-.635-1.6 1.197z\\\"/></g><path fill=\\\"#FFF\\\" d=\\\"M9.705 6.537l.55-.43.673-.57.937-.796-.97-.75-.717-.56-.615.79.84-.54-.475-.73L9.1 1.66l-.844 1.27-.487.73.83.555-.64-.77-.67.56-.98.815 1.02.758.65.48.59-.803-.697.718.51.494.624.607.687-.537zM8.473 4.96l.616.79.69-.72-.51-.493-.1-.086-.65-.48-.6.81.64.77.672-.56.113-.09.08-.12.49-.732-.833-.554-.84.544.474.73.09.14.135.103.72.56.616-.79-.648-.76-.64.544-.52.404zm16.14 1.857l.615-.733.52-.735.46-.66-.535-.597-.518-.573-.603-.6-.643-.64-.7.578-.63.517-.12.114-.54.616-.49.562.4.63.462.73.065.1.087.085.7.67.77.74.688-.82zM23.08 5.533l.767.642.692-.722-.7-.67-.7.72.84-.535-.463-.73-.844.536.753.657.54-.61-.755-.654.64.77.626-.516-.634-.77-.705.71.568.56.48.535.74-.67-.816-.578-.47.667-.56.664zM17.04 6.72l.706-.492.112-.078.087-.105.524-.633.49-.6-.46-.628-.49-.666-.094-.127-.128-.09-.746-.54-.685-.5-.605.6-.658.65-.554.587-.647.684.645.688.53.57.08.076.654.56.586.5.633-.44zm-1.143-1.642l.57.82.65-.76-.654-.558-.65.76.73-.683-.532-.567-.72.684.728.687.53-.55.63-.62-.7-.712-.587.81.745.54.588-.81-.806.59.488.666.808-.59-.77-.64-.523.635.77.637-.57-.82-.71.49z\\\"/><path fill=\\\"#2E3192\\\" d=\\\"M66.314 30.005l.075.91.01.114.03.1.28.89.95-.306-.99.132.12.913.153.942.987-.16-.99-.15-.14.933-.016.12.01.12.084.91v.84l1-.004-.956-.293-.275.893-.036.166-.12.913.994.13-.97-.244-.22.89-.167 1 .987.158-.933-.356-.326.862-.332.84-.305.944.952.308-.835-.552-.517.777-.087.163-.36.856.92.386-.77-.638-.59.714-.12.182-.42.823.887.458-.826-.563-.523.76.825.566-.692-.72-.677.652-.116.113-.074.147-.436.84.887.46-.54-.843-.79.508-.14.106-.68.63-.674.56-.69.49-.742.498-.774.554.583.813-.38-.926-.854.35-.15.06-.124.11-.727.626.654.755-.253-.97-.91.24-.86.19-.16.05-.86.35.377.927-.246-.97-.898.23-.84.156-.86.11-.86.058-.95.104-.866.045.053 1 .092-.998-.92-.087-.84-.14-.146-.024-.145.02-.938.12.127.99.187-.98-.91-.17-.89-.183-.2.98.5-.87-.82-.47-.124-.07-.14-.034-.9-.216-.23.974.454-.89-.82-.42-.143-.074-.158-.022-.937-.15-.155.988.484-.875-.81-.448-.71-.465-.11-.062-.834-.403-.82-.413-.45.893.76-.65-.607-.71-.7-.71-.16-.13-.78-.512-.554.836.86-.51-.483-.816-.066-.11-.092-.09-.654-.65-.125-.105-.76-.54-.58.813.78-.628-.583-.72-.777.627.91-.42-.395-.854-.065-.142L33 44.13l-.633-.69-.737.677.918-.4-.37-.85-.395-.862-.1-.17-.56-.766-.805.59.978-.217-.198-.913-.22-.92-.113-.82-.217-.973-.976.22.992-.117-.108-.913-.02-.11-.212-.91-.974.228 1 .04.034-.92.11-.833.023-.18-.044-.18-.22-.913-.973.23.99.16.144-.916.013-.128.027-.92-1-.03.968.247.23-.9.257-.82.04-.14v-.144l.01-.955-1-.013.882.47.443-.827.053-.12.322-.855-.935-.35.882.47.434-.816.068-.126.03-.14.195-.93-.98-.205.786.617.573-.73.086-.136.45-.807.447-.84-.883-.47.747.667.62-.69-.75-.666.655.756.702-.608.15-.163.545-.74-.8-.594.646.76.702-.6.088-.08.63-.678.63-.796-.784-.62.44.897.84-.413.136-.08.755-.53.763-.543-.583-.813.43.904.836-.398.86-.464.09-.054.78-.53-.563-.827.05 1 .966-.05.265-.012.226-.146.81-.52-.54-.84.227.972.913-.216-.228-.974.08.998.927-.075.975-.134.846-.05.907-.046-.05-1-.103.995.93.094.116.01.117-.018.91-.123-.133-.99-.024 1 .922.02.02-1-.183.982.91.17.94.163.172-.987-.54.84.85.55.247.16h1.257v-1l-.36.934.828.317.17.05.894.17.19-.98-.488.876.796.445.11.06.126.035.905.238.255-.966-.61.795.74.567.103.08.12.05.853.36.39-.924-.522.852.79.482.524-.85-.617.79.73.57.616-.79-.74.67.626.69.16.148.763.54.58-.815-.86.517.483.8.086.12.59.71.074.083.66.642.697-.72-.79.61.56.727.537.725.548.743.806-.592-.93.368.34.86.456.91.89-.455-.94.346.32.865.936-.344-.986.17.157.923.028.17.086.15.45.815.875-.485-.962.268.243.882.965-.27-.996.083zm1.994-.164l-.033-.18-.245-.88-.032-.112-.058-.103-.452-.814-.874.486.986-.165-.156-.924-.047-.18-.318-.864-.05-.11-.42-.82-.3-.77-.05-.12-.08-.105-.55-.75-.55-.742-.57-.74-.098-.108-.663-.642-.696.72.772-.637-.588-.713-.775.637.855-.517-.484-.8-.11-.18-.167-.12-.764-.54-.58.816.745-.67-.624-.69-.126-.12-.73-.57-.092-.065-.79-.486-.135-.07-.856-.36-.39.92.61-.793-.74-.567-.16-.124-.196-.05-.906-.238-.255.966.486-.874-.796-.444-.14-.077-.16-.03-.89-.175-.19.983.36-.935-.826-.318-.16-.08h-1.14v1l.54-.84-.853-.55-.17-.108-.2-.037-.93-.162-.897-.164-.16-.017-.926-.02-.157.01-.91.12.13.994.1-.994-.927-.096-.15-.004-.917.05-.934.057-.995.134-.87.068-.148.023-.913.21-.167.04-.145.094-.81.518.54.847-.05-1-.968.05-.28.012-.233.156-.78.53.567.826-.477-.88-.814.44-.79.374-.157.09-.754.54-.75.524.576.82-.44-.898-.84.413-.206.1-.14.174-.58.735-.576.616.73.68-.645-.76-.708.6-.09.073-.068.09-.55.743.803.595-.657-.755-.7.61-.09.09-.616.69-.08.09-.057.104-.438.82-.44.79.874.485-.787-.618-.573.73-.143.185-.05.23-.193.93.98.2-.884-.47-.434.817-.053.117-.323.854.934.353-.88-.47-.444.826-.117.214-.004.242-.01.952 1 .012-.957-.298-.27.87-.24.95-.03.215-.03.92 1 .03-.99-.157-.143.915-.033.196.047.194.22.914.974-.233-.992-.123-.114.92-.046 1.004-.006.136.03.132.21.91.975-.227-.99.12.11.917.02.104.2.893.116.833.234.993.192.893.045.206.124.17.56.766.807-.59-.907.42.385.843.36.83.067.152.113.122.634.69.736-.678-.91.418.394.856.053.113.08.095.58.72.087.106.114.08.764.54.58-.813-.706.71.653.65.704-.71-.86.51.48.816.12.197.19.13.782.516.55-.835-.71.706.65.652.557.655.13.154.18.09.835.42.846.41.44-.9-.546.84.773.5.87.485.154.086.177.03.934.146.157-.987-.456.89.818.42.11.052.12.027.9.216.23-.973-.497.87.82.468.14.08.158.032.905.182.925.172.16.03.156-.02.935-.12-.13-.99-.16.985.91.15.99.094.146.002.92-.05.967-.106.88-.06.974-.125.96-.18.963-.244.127-.043.864-.35-.374-.926.22.976.895-.2.944-.25.226-.06.174-.15.728-.625-.654-.756.377.926.855-.35.11-.046.095-.065.748-.537.745-.497.776-.555.765-.634.72-.66-.678-.734.54.842.79-.51.225-.145.12-.237.434-.84-.885-.46.693.72.675-.65.132-.157.522-.764.06-.11.423-.824-.89-.458.77.64.594-.716.097-.114.057-.135.36-.854-.923-.39.834.556.515-.776.075-.115.043-.13.286-.883.313-.795.334-.88.052-.2.146-.916.204-.802.022-.11.12-.914-.995-.13.956.298.276-.896.047-.145v-.15l-.002-.922-.083-.997-.997.09.99.15.14-.932.02-.155-.024-.155-.15-.914-.116-.885-.04-.17-.284-.89-.953.305 1-.083-.076-.91zm-5.013 20.09l.83.46.963-1.75-1.106 1.668.783.52 1.106-1.667-1.51 1.3.62.72.116.135.136.11.725.594 1.268-1.548-1.43 1.397.66.672.1.1.11.084.75.575 1.218-1.587-1.43 1.396.657.674.23.234.29.15.85.435.914-1.78-1.296 1.523.716.61 1.3-1.526-1.427 1.404.66.67.14.142.164.11.78.53 1.12-1.656-1.42 1.408.66.67.198.194.24.137.82.465.99-1.74-1.435 1.394.665.684.143.133.72.61.8.623.113.09.13.07.83.473.988-1.74-1.49 1.33.632.71 2.99-2.66-.634-.71-.22-.246-.284-.163-.83-.47-.986 1.74 1.23-1.58-.74-.575-.657-.56-1.29 1.527 1.433-1.395-.667-.684-.198-.204-.248-.14-.825-.47-.988 1.74 1.42-1.41-.663-.67-.138-.135-.16-.11-.782-.53-1.122 1.655 1.426-1.404-.66-.67-.128-.12-.715-.61-.175-.154-.208-.106-.85-.437-.915 1.78 1.43-1.4-.657-.673-.1-.1-.113-.088-.75-.574-1.217 1.585 1.43-1.396-.658-.673-.162-.145-.725-.598-1.268 1.546 1.517-1.303-.62-.722-.18-.21-.23-.153-.786-.52-.145-.09-.83-.455-1.924 3.506z\\\"/></svg>\"\n  },\n  \"loading-indicators\": {\n    \"blue\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 24 24\\\" class=\\\"loading__indicator__graphic\\\">\\n  <defs>\\n    <linearGradient x1=\\\"28.154%\\\" y1=\\\"63.74%\\\" x2=\\\"74.629%\\\" y2=\\\"17.783%\\\" id=\\\"blueLoadingIndicatorGradient\\\">\\n      <stop stop-color=\\\"#334bfa\\\" offset=\\\"0%\\\"/>\\n      <stop stop-color=\\\"#FFF\\\" stop-opacity=\\\"0\\\" offset=\\\"100%\\\"/>\\n    </linearGradient>\\n  </defs>\\n  <g transform=\\\"translate(2)\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\">\\n    <circle stroke=\\\"url(#blueLoadingIndicatorGradient)\\\" stroke-width=\\\"4\\\" cx=\\\"10\\\" cy=\\\"12\\\" r=\\\"10\\\"/>\\n    <path d=\\\"M10 2C4.477 2 0 6.477 0 12\\\" stroke=\\\"#334bfa\\\" stroke-width=\\\"4\\\"/>\\n    <rect fill=\\\"#334bfa\\\" x=\\\"8\\\" width=\\\"4\\\" height=\\\"4\\\" rx=\\\"8\\\"/>\\n  </g>\\n</svg>\\n\",\n    \"white\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 24 24\\\" class=\\\"loading__indicator__graphic\\\">\\n  <defs>\\n    <linearGradient x1=\\\"28.154%\\\" y1=\\\"63.74%\\\" x2=\\\"74.629%\\\" y2=\\\"17.783%\\\" id=\\\"whiteLoadingIndicatorGradient\\\">\\n      <stop stop-color=\\\"#FFF\\\" offset=\\\"0%\\\"/>\\n      <stop stop-color=\\\"#FFF\\\" stop-opacity=\\\"0\\\" offset=\\\"100%\\\"/>\\n    </linearGradient>\\n  </defs>\\n  <g transform=\\\"translate(2)\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\">\\n    <circle stroke=\\\"url(#whiteLoadingIndicatorGradient)\\\" stroke-width=\\\"4\\\" cx=\\\"10\\\" cy=\\\"12\\\" r=\\\"10\\\"/>\\n    <path d=\\\"M10 2C4.477 2 0 6.477 0 12\\\" stroke=\\\"#FFF\\\" stroke-width=\\\"4\\\"/>\\n    <rect fill=\\\"#FFF\\\" x=\\\"8\\\" width=\\\"4\\\" height=\\\"4\\\" rx=\\\"8\\\"/>\\n  </g>\\n</svg>\\n\"\n  },\n  \"logo\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 74 74\\\"><path d=\\\"M64.75 0H9.25A9.25 9.25 0 0 0 0 9.25v55.5A9.25 9.25 0 0 0 9.25 74h55.5A9.25 9.25 0 0 0 74 64.75V9.25A9.25 9.25 0 0 0 64.75 0zM46.867 13.567a2.467 2.467 0 0 1 4.933 0V46.52a2.467 2.467 0 1 1-4.933 0V13.568zM34.533 12.32a2.467 2.467 0 1 1 4.934 0v35.765a2.467 2.467 0 1 1-4.934 0V12.32zM22.2 13.566a2.467 2.467 0 0 1 4.933 0V46.52a2.467 2.467 0 0 1-4.933 0V13.568zM9.867 18.5a2.467 2.467 0 0 1 4.933 0v22.185a2.467 2.467 0 0 1-4.933 0V18.5zm53.405 37.625c-.38.326-9.518 7.994-26.272 7.994-16.754 0-25.89-7.67-26.272-7.996a2.466 2.466 0 0 1 3.205-3.75c.145.12 8.304 6.81 23.067 6.81 14.948 0 22.982-6.738 23.06-6.806a2.467 2.467 0 0 1 3.212 3.745zm.86-15.44a2.467 2.467 0 1 1-4.932 0V18.5a2.467 2.467 0 0 1 4.933 0v22.185z\\\" fill=\\\"#CFD8DC\\\" fill-rule=\\\"evenodd\\\"/></svg>\",\n  \"message-creation\": {\n    \"android\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 83 98\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M48.06 76.86H34.47C27.577 76.838 22 71.243 22 64.35v-35A19.29 19.29 0 0 1 41.26 10c10.655 0 19.294 8.635 19.3 19.29v35a12.51 12.51 0 0 1-12.5 12.57z\\\" fill=\\\"#8E9E2E\\\"/><path d=\\\"M47.75 77.72c-.4-.16-.8.18-1.2.09l-.29-.07a4.48 4.48 0 0 0-.63-.06 6 6 0 0 1-2 .11.65.65 0 0 0-.34 0 1.9 1.9 0 0 1-1.64-.12h-.09c-.38.32-.77.1-1.15.21a3.15 3.15 0 0 1-.92 0c-.31 0-.63.14-.92-.07-.29-.21-.61.24-.91.19a.75.75 0 0 1-.15 0 4.36 4.36 0 0 0-1.3 0c-.23 0-.47.11-.7.12-.23.01-.43-.16-.62 0s-.44-.13-.69 0h-.27c-.08 0-.36.1-.53 0-.17-.1-.3-.79-.91-.63-.24.07-.53.21-.69-.18 0 0-.07-.06-.1 0-.21.24-.39.26-.47-.07-.41.29-.67-.06-1-.15a1 1 0 0 1-.47-.38.49.49 0 0 0-.42-.18 2.32 2.32 0 0 1-1.23-.31 1.65 1.65 0 0 0-.72-.4c-.17 0-.44 0-.35-.38 0-.08-.06-.08-.13-.07-.07.01-.29-.1-.39-.24a6.36 6.36 0 0 0-1.1-1.1 4.1 4.1 0 0 1-.52-.5c-.06-.06-.17-.07-.24-.12-.3-.2-.84-.22-.81-.71a.22.22 0 0 0-.23-.22c-.28 0-.35-.2-.41-.4a1.09 1.09 0 0 0-.35-.58.74.74 0 0 1-.32-.72.53.53 0 0 0-.08-.31 9.48 9.48 0 0 1-.56-1.1c-.09-.19 0-.43-.11-.62-.21-.42-.41-.84-.61-1.28a.47.47 0 0 1 .08-.54c.24-.28.18-.5-.09-.71a.73.73 0 0 1-.18-1.1.83.83 0 0 0-.15-1.16c-.26-.25-.46-.49-.28-.76a.13.13 0 0 0 0-.19c-.2-.17 0-.32.17-.47a.41.41 0 0 0 .17-.56c-.17-.37-.33-.73-.1-1.1a.25.25 0 0 0-.12-.33.36.36 0 0 1-.16-.47 3.38 3.38 0 0 0 .2-.92 2.08 2.08 0 0 0-.13-.92 1.42 1.42 0 0 1 0-.91c0-.21-.06-.43.12-.62.38-.38.22-.76.07-1.14a.46.46 0 0 1 0-.19c0-.53.09-1.07.14-1.59 0-.08-.07-.16-.11-.25.07-.06.22-.12.19-.17-.19-.34-.56-.67-.16-1-.2-.22.13-.44.07-.66-.06-.22.19-.67-.28-1a.16.16 0 0 1 0-.23.39.39 0 0 0-.09-.57c-.11-.09 0-.18.22-.25h.08-.06c0-.07-.19-.15-.11-.19.44-.18.25-.36.15-.55-.1-.19-.08-.13 0-.19.35-.28.22-.57.18-.86-.04-.29-.36-.48.17-.7.1 0 0-.13 0-.19 0-.23-.15-.45 0-.68a.2.2 0 0 0 0-.29c-.3-.25-.09-.5 0-.75 0-.08.12-.18 0-.23-.3-.18-.27-.34-.1-.52s-.2-.66.13-1c0 0 0-.1-.11-.13-.4-.13-.42-.25-.08-.39.34-.14.16-.2.07-.32a.71.71 0 0 1-.14-.81c.15-.26.38-.54-.15-.8-.13-.07 0-.19 0-.28 0-.09.11-.27 0-.38-.11-.11-.06-.49.15-.72.21-.23.13-.4 0-.61-.13-.21-.35-.49-.22-.71a1.39 1.39 0 0 0 .09-.66c0-.24 0-.48.08-.72a3.05 3.05 0 0 0 0-1 .16.16 0 0 1 .08-.19c.49-.28.27-.56.13-.85-.14-.29-.14-.28 0-.43.14-.15.05-.22 0-.33-.05-.11-.21-.47 0-.72s.05-.54-.1-.81c-.15-.27-.26-.57.07-.86.08-.06 0-.16-.07-.23s.15-.35 0-.52a2.72 2.72 0 0 1-.26-.58s0-.09.08-.14c.25-.37 0-.74.11-1.11 0-.08-.09-.17-.18-.25a.24.24 0 0 1 0-.4c.11-.12.07-.24.12-.35.14-.32.29-.62-.08-1v-.1c.19-.15.11-.33.1-.51a.81.81 0 0 1 .16-.55c.52-.61.49-.6.43-1.3a.88.88 0 0 1 0-.36c.12-.32-.5-.5-.41-.84 0-.17-.06-.33.37-.35.43-.02.36-.29.35-.48a4.47 4.47 0 0 1 1-2.27 3.57 3.57 0 0 1 .38-.49.65.65 0 0 0 .07-.6.82.82 0 0 1 .32-.83 5.27 5.27 0 0 0 1-1.24 2.91 2.91 0 0 1 1.19-1.14.72.72 0 0 0 .41-.71c0-.41.35-.55.8-.37a.3.3 0 0 0 .43-.18c.13 0 .21-.19.27-.3.06-.11-.1-.67.16-.85a3 3 0 0 1 1.07-.39c.44-.13.56-.65 1-.83l.29-.12a4 4 0 0 0 .59-.29c.57-.39 1-1 1.76-1.1a.81.81 0 0 0 .31-.18 1.78 1.78 0 0 1 1.63-.55h.07c.27-.44.72-.4 1.09-.59a3.72 3.72 0 0 1 .94-.25c.31-.06.61-.32 1-.14s.59-.33.92-.34a.76.76 0 0 1 .15 0c.47 0 .92-.12 1.38-.15.24 0 .49-.15.74-.16.25-.01.46.13.66-.06s.48.15.71.07c.23-.08.18 0 .26 0 .08 0 .35-.1.51 0 .16.1.31.76.89.6.24-.07.51-.21.68.17 0 0 .07.07.1 0 .2-.25.36-.3.47 0 .38-.35.64 0 .95.08a.9.9 0 0 1 .49.32.44.44 0 0 0 .43.13 1.93 1.93 0 0 1 1.22.15c.228.155.494.245.77.26.17 0 .41-.13.4.3 0 .08.07.07.13.06.06-.01.3 0 .42.15.38.343.816.617 1.29.81.21.1.4.25.6.37.2.12.18 0 .26 0 .34.1.86 0 1 .45 0 .12.14.16.27.13a.45.45 0 0 1 .5.25.82.82 0 0 0 .51.42.66.66 0 0 1 .52.57.4.4 0 0 0 .17.26c.317.24.62.497.91.77.15.15.18.4.32.54.33.3.72.57 1.08.87a.48.48 0 0 1 .14.52c-.09.35.06.52.4.57a.71.71 0 0 1 .67.86.79.79 0 0 0 .69.93c.37.1.66.24.62.58a.15.15 0 0 0 .11.18c.25.08.17.3.06.53a.44.44 0 0 0 .1.6c.354.227.554.63.52 1.05a.26.26 0 0 0 .22.29.39.39 0 0 1 .19.57c0 .335.027.67.08 1 .052.33.179.645.37.92.19.297.257.655.19 1 0 .23.13.44 0 .67-.31.46-.09.82.07 1.22a.65.65 0 0 1 0 .2c0 .56 0 1.14-.07 1.67 0 .08.07.16.11.24-.07.06-.23.12-.2.17.2.34.57.68.17 1 .2.22-.14.44-.07.65.07.21-.19.67.27 1a.15.15 0 0 1 0 .24.38.38 0 0 0 .1.56c.1.1 0 .19-.22.26h-.08.06c0 .06.19.15.11.18-.44.18-.25.37-.15.55.1.18.08.14 0 .19-.35.28-.22.57-.18.86.04.29.36.48-.17.71-.1 0 0 .12 0 .19s.15.45 0 .67a.2.2 0 0 0 0 .29c.3.26.09.51 0 .76 0 .07-.11.17 0 .23.31.17.27.33.11.51-.3.33.19.67-.13 1 0 0 0 .11.11.14.39.12.42.24.08.39-.34.15-.16.2-.07.32a.7.7 0 0 1 .14.8c-.15.26-.38.54.15.81.13.06 0 .18 0 .28 0 .1-.11.26 0 .38s0 .48-.15.71c-.15.23-.14.41 0 .62.14.21.35.48.22.71a1.38 1.38 0 0 0-.09.66c0 .24 0 .47-.08.71a2.86 2.86 0 0 0 0 1 .17.17 0 0 1-.08.19c-.49.27-.27.56-.13.84.14.28.14.28 0 .43-.14.15 0 .23 0 .34 0 .11.21.46 0 .71-.21.25 0 .54.09.81s.27.57-.06.86c-.08.07 0 .16.07.23s-.15.35 0 .53c.117.175.205.367.26.57 0 0 0 .1-.07.14-.25.37 0 .74-.11 1.11 0 .08.1.16.19.23s.17.26 0 .38-.06.23-.1.33c-.12.31-.26.61.13.91v.09c0 .03-.06.32 0 .48a.71.71 0 0 1-.08.53c-.39.62-.42.65-.22 1.2a.64.64 0 0 1 .05.71c0 .22-.07.45-.11.68 0 .07-.1.06-.21 0a.89.89 0 0 0 .31.55c.26.25.46.49.27.76a.14.14 0 0 0 0 .19c.19.17 0 .32-.17.47a.42.42 0 0 0-.17.57c.23.321.269.742.1 1.1a.24.24 0 0 0 .11.32.36.36 0 0 1 .17.48 4.13 4.13 0 0 0-.24 1 3.51 3.51 0 0 0 0 1 1.8 1.8 0 0 1-.14 1c-.09.21-.06.48-.29.63-.46.32-.42.74-.44 1.18a.53.53 0 0 1 0 .22 15.87 15.87 0 0 1-.83 1.52 1.26 1.26 0 0 0 0 .28c-.09 0-.26 0-.26.06 0 .4.1.94-.45 1 0 .31-.4.31-.48.53-.08.22-.59.45-.49 1a.18.18 0 0 1-.15.22.5.5 0 0 0-.37.52c0 .15-.14.15-.36 0v-.07.06c0 .08 0 .26-.07.22-.45-.19-.46.08-.55.3-.09.22-.07.15-.16.14-.46-.09-.63.19-.86.41-.23.22-.25.59-.73.28-.09-.06-.12.06-.18.1-.06.04-.33.39-.64.33a.22.22 0 0 0-.26.17c-.12.4-.46.32-.75.31-.09 0-.21 0-.24.08-.05.35-.24.38-.48.29-.41-.15-.62.42-1.06.19 0 0-.1 0-.11.14 0 .42-.17.48-.39.19s-.24-.11-.35 0a.8.8 0 0 1-.85.27c-.3-.08-.6-.3-.86.23-.06.14-.2 0-.3 0-.1 0-.29-.1-.42 0l-.14-2.44a.23.23 0 0 1 .21 0c.29.19.54-.26.84.14.3-.17.67.08.92-.34.05-.09.14 0 .22 0a1.64 1.64 0 0 0 1.43-.25c.08-.05.14-.15.25-.09.33.17.5-.11.67-.32.17-.21.16-.28.28-.33l1-.35c.24-.09.52-.13.57-.49a.16.16 0 0 1 .15-.15 2.1 2.1 0 0 0 1.29-1c.06-.08.17-.11.24-.18.24-.24.85-.19.76-.73 0-.08 0-.13.11-.13.46 0 .45-.44.7-.64a.33.33 0 0 0 .07-.37c-.09-.32 0-.48.35-.55a.15.15 0 0 0 .12-.13 1.29 1.29 0 0 1 .35-.71c.2-.22.43-.45.4-.75a3.12 3.12 0 0 1 0-1c0-.11 0-.25.08-.34.42-.31.27-.76.41-1.14a2.65 2.65 0 0 0 .07-.8c0-.27-.27-.51.05-.81a5.05 5.05 0 0 1-.06-1.6v-2.17c0-.18.1-.36 0-.53a1.33 1.33 0 0 1-.09-.37c-.11-.09-.15-.19 0-.31a.65.65 0 0 0 .17-.76.24.24 0 0 1-.08-.18 2.9 2.9 0 0 1-.14-1.3 3.33 3.33 0 0 0-.2-1.49.73.73 0 0 1 .16-.82.6.6 0 0 0 .2-.53 2.86 2.86 0 0 1-.13-.58c0-.77-.37-1.54 0-2.31.06-.16.16-.36-.19-.52-.08 0 0-.12 0-.18a1.9 1.9 0 0 0 .11-.39c.02-.45.07-.897.15-1.34a2.79 2.79 0 0 0-.16-2 .52.52 0 0 1 0-.57c.21-.3 0-.58 0-.87 0-.06-.09-.13-.07-.19a3.73 3.73 0 0 0 .13-1.93.34.34 0 0 1 0-.24c.2-.3-.23-.61.19-.91-.16-.35.17-.7-.22-1-.08-.07 0-.16 0-.24a2.28 2.28 0 0 0 .13-1.6c0-.09-.1-.2 0-.29.29-.27.06-.54-.05-.81s-.18-.29-.17-.43a7.53 7.53 0 0 1 .16-1.16c.05-.28.14-.55-.12-.82a.23.23 0 0 1 0-.25 3 3 0 0 0 0-1.84v-.33c0-.39.49-.77.08-1.15a.13.13 0 0 1 0-.2c.36-.33.09-.67.19-1a.39.39 0 0 0-.13-.39.44.44 0 0 1 0-.71.2.2 0 0 0 0-.19 1.56 1.56 0 0 1 0-.83c.07-.29.21-.6.06-.87a3 3 0 0 1-.42-1c0-.12-.14-.22-.06-.35.24-.45 0-.84 0-1.25a4.24 4.24 0 0 0-.19-.8c-.08-.27-.41-.44-.21-.79a4.88 4.88 0 0 1-.58-1.4 15.79 15.79 0 0 0-.94-1.83c-.09-.14-.09-.33-.24-.44a.79.79 0 0 1-.39-.72.41.41 0 0 0-.37-.47c-.23 0-.23-.24-.22-.45.01-.21-.46-.08-.5-.3a1.31 1.31 0 0 0-.5-.87c-.38-.26-.56-.7-.9-1-.34-.3-.64-.73-1-1s-.75-.2-.88-.59c-.22-.66-1-.58-1.32-1-.32-.42-.67-.26-1-.39-.5-.2-.985-.438-1.45-.71-.16-.07-.28-.28-.5-.23 0-.47-.25-.4-.52-.2h-.09c-.09-.46-.43-.16-.66-.16-.56 0-1-.41-1.53-.49a2.9 2.9 0 0 0-.51 0c-.13 0-.26.07-.38 0a3.9 3.9 0 0 0-1.76-.2.13.13 0 0 1-.17-.1c-.12-.33-.27-.18-.4-.13a.76.76 0 0 1-.6.08.2.2 0 0 0-.22.06c-.26.26-.52.38-.78.21-.49-.31-.87.37-1.34.17-.07 0-.12.06-.17.1a.28.28 0 0 0-.12.12c-.11.29-.27.24-.46.12a.29.29 0 0 0-.37 0c-.1.1-.23 0-.35 0a13 13 0 0 1-1.56.26 3.16 3.16 0 0 0-1.17.56.72.72 0 0 1-.68.12c-.09 0-.14 0-.19.1-.05.1-.07.2-.14.23a1.83 1.83 0 0 1-.67.15c-.27 0-.3.38-.46.56a.17.17 0 0 1-.12.05c-.22 0-.33.21-.4.45-.07.24-.29.3-.53.32a1.28 1.28 0 0 0-.91.4 1.05 1.05 0 0 1-.54.46 1.09 1.09 0 0 0-.78.79c0 .12-.12.17-.2.25-.08.08-.07.08-.14 0-.44-.31-.61-.24-.66-.11l-.22.19c-.17.27-.33.53-.51.78a.77.77 0 0 1-.27.19c-.55.32-.53.36-.58 1.08a.57.57 0 0 1-.23.44c-.12.1-.29.16-.22.39v.08c-.48 0-.51.35-.56.65 0 .11-.1.18-.06.32.04.14 0 .25-.21.29-.21.04-.25 0-.27.1-.06.36-.43.57-.35 1v.15a4.41 4.41 0 0 1-.45.4c-.16.11.12.39-.14.47-.1 0-.19.1-.14.19a.49.49 0 0 1-.21.78c-.3.2.24.54-.06.75a.66.66 0 0 0-.35.65 2.93 2.93 0 0 1 0 1.47 2.74 2.74 0 0 0-.1.69 3 3 0 0 0 .15.71.64.64 0 0 1-.19.75c-.17.16-.27.32-.22.5a3 3 0 0 1 .13.58 5.05 5.05 0 0 1 0 2.32c-.07.16-.16.35.19.52.08 0 0 .12 0 .18a1.66 1.66 0 0 0-.11.38c-.025.45-.075.897-.15 1.34a2.76 2.76 0 0 0 .16 2 .51.51 0 0 1 0 .57c-.21.29 0 .58 0 .86 0 .07.09.13.07.19a3.75 3.75 0 0 0-.13 1.93c.03.08.03.17 0 .25-.2.3.22.61-.19.9.16.35-.17.71.22 1 .08.07 0 .16 0 .24a2.23 2.23 0 0 0-.13 1.6c0 .1.09.2 0 .29-.28.28-.06.55 0 .82.06.27.19.28.18.43a7.88 7.88 0 0 1-.16 1.16c-.05.27-.14.55.12.82a.2.2 0 0 1 0 .24 3.12 3.12 0 0 0 0 1.84v.33c0 .39-.49.77-.09 1.16a.12.12 0 0 1 0 .19c-.36.33-.09.67-.19 1a.36.36 0 0 0 .13.38.44.44 0 0 1 0 .71.2.2 0 0 0 0 .19c.085.28.085.58 0 .86a1.41 1.41 0 0 0-.1.92c.185.32.291.68.31 1.05 0 .13.1.27 0 .39-.32.43-.14.87-.21 1.31-.03.29-.03.58 0 .87 0 .29.3.57 0 .86.1.527.12 1.067.06 1.6v2.18c0 .17-.1.36 0 .51a.75.75 0 0 1 0 .8.4.4 0 0 0 .09.57c.19.14.1.3 0 .49s.35.27.31.46a1.42 1.42 0 0 0 .07 1c.24.38.24.83.44 1.22.158.448.352.883.58 1.3.2.29.6.43.62.82 0 .68.73.79 1 1.31.14.34.6.36.86.58.26.22.83.62 1.23 1 .15.1.22.32.43.31-.06.47.17.46.47.28h.09c0 .47.41.2.62.23.53.07.91.54 1.43.63.162.03.326.05.49.06h.37a3.76 3.76 0 0 0 1.7.22.12.12 0 0 1 .16.1c.12.33.26.18.39.13.13-.05.41-.19.61-.1a.22.22 0 0 0 .24-.05c.28-.25.57-.35.84-.17.48.33 1-.34 1.45-.05.06 0 .12 0 .19-.07s.1 0 .14-.1c.17-.27.34-.2.52-.05a.31.31 0 0 0 .38.07c.13-.09.26 0 .38 0 .566.011 1.13.058 1.69.14.467.05.94.007 1.39-.13.24 0 .48-.1.72.15.07.07.16 0 .23 0s.16-.15.24-.14c.247.006.49.057.72.15.25.11.48-.22.72-.28a.18.18 0 0 1 .14 0c.22.11.42 0 .63-.17a.57.57 0 0 1 .67 0 1.55 1.55 0 0 0 1 .22c.254-.08.526-.08.78 0l-.43 2.31z\\\" fill=\\\"#000\\\"/><rect fill=\\\"#8E9E2E\\\" x=\\\"45.4\\\" y=\\\"68.93\\\" width=\\\"8.61\\\" height=\\\"26.87\\\" rx=\\\"2.82\\\"/><path d=\\\"M51.09 96.67c-.15-.16-.29.18-.44.09l-.1-.07a.49.49 0 0 0-.23-.06c-.24 0-.47.3-.71.11h-.13c-.04 0-.39.25-.59-.12-.13.32-.27.1-.41.2-.14.1-.2 0-.37 0-.17 0-.33.12-.45-.12s-.34.18-.49.09c-.15-.09 0 0-.07 0a1.79 1.79 0 0 0-.63-.24c-.11 0-.27 0-.38-.07-.11-.07-.11-.24-.29-.16-.18.08-.12-.24-.26-.24s0-.09-.13 0-.21 0-.22-.15c-.01-.15.45-.65.1-.69-.14 0-.37 0-.12-.29v-.05c-.27.09-.37.05-.14-.15-.41 0-.22-.23-.3-.35-.08-.12 0-.19.1-.3.1-.11 0-.15 0-.2 0-.05-.39-.3-.34-.49a.37.37 0 0 0 0-.38c-.07-.08-.27-.12.14-.18.07 0 0 0 0-.05s-.1-.1 0-.15a.54.54 0 0 0 .15-.53v-.24c0-.08-.08-.06-.1-.08-.02-.02-.45-.24-.14-.36.08 0 0-.08-.05-.11s-.17-.12-.1-.18.12-.15 0-.23c-.12-.08-.1-.17.1-.26s.08-.07.06-.1a2.85 2.85 0 0 1 0-.41c0-.07.14-.14.12-.21a2.81 2.81 0 0 0-.22-.47s0-.11.2-.17c.2-.06.26-.15 0-.24s-.33-.25-.06-.37.26-.27-.11-.39-.46-.18-.28-.28c.18-.1 0-.05 0-.07 0-.02 0-.11.18-.17.18-.06.26-.13.17-.2s-.33-.26-.1-.4c.06 0 0-.08-.12-.11s-.21-.12-.16-.17a.68.68 0 0 0 .2-.34.34.34 0 0 0-.13-.33c-.14-.11-.08-.21 0-.32.08-.11-.06-.16.12-.23.38-.14.22-.27.07-.41-.15-.14 0-.05 0-.07 0-.19.09-.39.13-.57.04-.18-.06-.06-.1-.09.07 0 .22 0 .19-.06-.2-.12-.56-.24-.16-.37-.2-.08.13-.16.07-.23s.18-.24-.28-.36c-.09 0-.09-.06 0-.08.09-.02.11-.14-.09-.21-.2-.07 0-.06.22-.09 0 0-.19 0-.11-.07.44-.06.25-.13.15-.2s-.08 0 0-.06c.35-.1.22-.21.19-.31s-.37-.18.17-.26c.09 0 0 0 0-.07s-.14-.16 0-.24c.14-.08.06-.07 0-.1-.31-.1-.09-.18 0-.28.09-.1.11-.06 0-.08-.3-.06-.27-.12-.11-.18.16-.06-.19-.24.14-.36h-.11c-.4-.05-.42-.09-.09-.14.33-.05.17-.07.08-.12-.09-.05-.29-.19-.14-.29.15-.1.37-.19-.15-.29-.13 0 0-.06 0-.1 0-.04.11-.09 0-.14-.11-.05-.06-.17.15-.25.21-.08.13-.15 0-.23-.13-.08-.35-.17-.22-.25.13-.08.07-.16.09-.24a.92.92 0 0 1 .07-.26c.08-.12 0-.24 0-.36s0 0 .08-.07c.49-.1.27-.2.13-.3-.14-.1-.14-.1 0-.16s0-.08 0-.12c0-.04-.2-.16 0-.26s0-.19-.1-.29c-.1-.1-.26-.2.07-.31.07 0 0 0-.07-.08s.15-.12 0-.19a1.18 1.18 0 0 1-.26-.21h.08c.25-.13 0-.26.11-.4s-.1-.05-.2-.08-.16-.09 0-.14c.16-.05.07-.08.11-.12.04-.04.26-.21-.13-.32 0 0 .07-.11 0-.17-.07-.06 0-.13.08-.19.41-.23.42-.23.19-.46 0 0-.07-.08-.06-.12.01-.04-.61-.13-.61-.24 0-.11-.14-.1.27-.15.41-.05.26-.13.19-.19-.33-.28 0-.55 0-.83 0-.07.08-.14.12-.21.04-.07 0-.13-.2-.19s-.25-.19-.15-.29a.71.71 0 0 0 .18-.27.8.8 0 0 0 0-.38.7.7 0 0 1 .38-.72c.15-.09.13-.22 0-.42-.13-.2 0-.34.47-.21.47.13.24-.08.24-.08s.06-.1.06-.17-.36-.46-.23-.56c.19-.099.406-.14.62-.12.24 0 .16-.4.38-.44h.15a.91.91 0 0 0 .29-.1c.24-.17.46-.55.83-.45.06 0 .1 0 .15-.07.22-.18.53-.33.78 0 .14-.32.28-.1.42-.2.14-.1.22 0 .33 0 .11 0 .23-.14.33.07.1.21.22-.24.33-.19.11.05 0 0 .05 0 .16.1.32 0 .47 0 .15 0 .17-.12.25-.12.08 0 .16.15.23 0s.16.14.24 0c.08-.14.06 0 .09-.06s.11-.12.17 0c.06.12.15.78.41.54.11-.09.26-.25.3.12.13-.25.22-.3.22 0 .24-.34.31 0 .45 0s.13.14.15.28c.02.14.08.12.17.1.09-.02.49-.08.59.1.1.18.14.22.3.23.16.01.3-.08.06.25 0 .06 0 .06 0 0s.16 0 .17.12a1 1 0 0 0 .26.64c.08.08.08.2.14.29.06.09.1 0 .14.06.04.06.55.15.28.41-.06.06 0 .11.09.12.09.01.2.14.14.24-.06.1-.08.22 0 .32s.11.26-.09.35c-.2.09-.07.07-.06.11.01.136.01.274 0 .41 0 .07-.14.14-.12.2.055.165.129.322.22.47 0 .06 0 .12-.2.17-.2.05-.26.16 0 .24.26.08.33.25.06.38s-.26.26.11.39.46.18.28.27c-.18.09-.05 0 0 .07s0 .12-.18.17c-.18.05-.26.13-.17.21.09.08.33.26.1.39-.06 0 0 .09.12.12s.21.11.16.17a.73.73 0 0 0-.2.33.34.34 0 0 0 .13.33c.14.11.08.22 0 .33-.08.11.06.15-.12.22-.38.14-.22.28-.07.42.15.14 0 0 0 .06 0 .19-.09.39-.13.58 0 0 .06.06.1.08-.07 0-.22 0-.19.06.2.12.56.25.16.37.2.08-.13.16-.07.24.06.08-.18.24.28.35.1 0 .09.06 0 .09s-.11.14.09.2 0 .07-.22.1c0 0 .19 0 .11.06-.44.07-.25.13-.15.2s.09 0 0 .07c-.35.1-.22.2-.19.31.03.11.37.17-.17.25-.09 0 0 0 0 .07s.14.16 0 .24c-.14.08-.06.08 0 .11.31.09.09.18 0 .27-.09.09-.11.06 0 .08.3.07.27.12.11.19-.16.07.19.24-.13.36h.1c.4 0 .42.09.09.14-.33.05-.17.07-.08.11.09.04.29.19.14.29-.15.1-.37.2.15.29.13 0 0 .07 0 .1s-.11.1 0 .14c.11.04.06.18-.15.26-.21.08-.13.15 0 .22s.35.18.22.26c-.13.08-.07.16-.09.24a.78.78 0 0 1-.07.25c-.08.12 0 .24 0 .37s0 0-.08.06c-.49.1-.27.21-.13.31s.15.1 0 .15c-.15.05-.05.08 0 .12.05.04.2.17 0 .26s0 .2.1.29c.1.09.26.21-.07.31-.07 0 0 .06.07.09s-.15.12 0 .18a1 1 0 0 1 .26.21l-.08.05c-.25.13 0 .27-.11.4s.1.06.2.09.16.09 0 .13c-.16.04-.07.08-.11.12-.04.04-.26.22.14.33-.18.06-.07.12 0 .17.07.05 0 .13-.08.19-.39.23-.42.24-.22.44.2.2.17.17 0 .25l-.1.25h-.21c-.11 0 .11.13.3.19s.46.18.28.28c-.18.1-.05 0 0 .07s0 .11-.18.17c-.18.06-.26.13-.17.2s.33.26.1.4c-.06 0 0 .08.12.11s.21.12.16.17a.73.73 0 0 0-.2.33.35.35 0 0 0 .13.34c.14.11.08.21 0 .32-.08.11.06.16-.12.23-.38.14-.22.27-.07.41.15.14 0 0 0 .07 0 .19-.09.39-.13.57-.04.18.06.06.1.09-.07 0-.22 0-.19.06.19.13.57.21.16.39.19.13-.14.22-.09.33.05.11-.22.29.18.55.09.06.07.11 0 .13-.07.02-.16.16 0 .33s0 .1-.26.05h-.07.05c0 .05.15.15.07.13-.44-.08-.3.07-.26.21.04.14 0 .1 0 .09-.38 0-.33.14-.39.28s.15.42-.33.18c-.09-.05-.05 0-.06.07-.01.07 0 .26-.24.21-.24-.05-.12 0-.08.12.11.31-.13.23-.3.19-.17-.04-.13 0-.1.06.11.3 0 .32-.14.22s-.2.33-.49.11v.12c.09.39 0 .44-.15.15-.15-.29-.14-.13-.17 0s-.18.35-.35.23c-.17-.12-.31-.32-.38.21 0 .14-.1 0-.15 0-.05 0-.14-.11-.2 0 0-.82-.06-1.63-.06-2.45h.05c.05 0 .09-.22.21.17 0-.16.2.14.17-.25 0-.08 0 0 .06 0 .18.2.33.17.36 0 0 0 0-.1 0 0 .21.22.15 0 .12-.14s-.06-.18 0-.19a1.49 1.49 0 0 1 .28-.06c.08 0 .19 0 0-.2s0-.06 0-.06c.3.05.25-.17.18-.31-.07-.14.06 0 .07-.05.01-.05.52-.06.13-.21-.06 0 0 0 0 0 .37 0 .1-.14.21-.23.11-.09 0-.09-.13-.14-.13-.05-.23-.17 0-.25.06 0 .06-.05 0-.07a.22.22 0 0 1 0-.31c.08-.11.24-.22.1-.33-.14-.11-.33-.25-.31-.38.02-.13-.1-.1 0-.14.32-.15.14-.31.21-.47a.55.55 0 0 0 0-.31c0-.11-.3-.21 0-.31a.79.79 0 0 1-.06-.58 5.29 5.29 0 0 0 0-.79c0-.06.1-.12 0-.19a.17.17 0 0 1-.09-.13c-.12 0-.16-.07-.05-.11.11-.04.3-.19.18-.27-.05 0-.08 0-.08-.07a.45.45 0 0 1-.14-.47.54.54 0 0 0-.19-.54c-.1-.1-.1-.2.15-.29.25-.09.25-.13.2-.19-.05-.06-.12-.14-.12-.21 0-.28-.37-.56 0-.83.07-.06.16-.13-.19-.19-.08 0 0 0 0-.07s.1-.09.11-.14c.026-.168.08-.33.16-.48a.46.46 0 0 0-.16-.73c-.11-.07-.15-.14 0-.2s0-.21 0-.32c0-.11-.09 0-.07-.06a.59.59 0 0 0 .14-.7v-.09c.21-.11-.22-.22.19-.32-.16-.13.18-.26-.22-.38-.08 0 0-.06 0-.09.26-.19.28-.38.14-.58 0 0-.1-.07 0-.1.29-.1.06-.2-.05-.29-.11-.09-.18-.11-.18-.16a1.45 1.45 0 0 1 .16-.42c0-.1.15-.19-.12-.29-.07 0-.06-.06 0-.09.27-.22.12-.44 0-.66v-.12c0-.04.49-.28.08-.42-.06 0-.06 0 0-.07.36-.12.08-.24.19-.36s0-.1-.13-.14c-.13-.04-.23-.17 0-.26.06 0 .06 0 0-.06a.22.22 0 0 1 0-.31c.08-.11.24-.23.1-.34-.14-.11-.33-.25-.31-.37.02-.12-.1-.1 0-.14.32-.16.14-.32.21-.47a.58.58 0 0 0 0-.32c0-.1-.3-.21 0-.31a.78.78 0 0 1-.06-.58 5.1 5.1 0 0 0 0-.78c0-.06.1-.13 0-.19s-.14-.21 0-.31.16-.15 0-.23c-.16-.08 0-.12.09-.19s-.31-.13-.22-.2.26-.26.19-.38 0-.34 0-.51c0-.17.12-.4.08-.5-.04-.1-.31-.14-.09-.27s-.15-.25 0-.44-.22-.1-.28-.15a1 1 0 0 1-.23-.32s.05-.19-.07-.13c.26-.37.1-.3-.1-.1 0 0-.06.05 0 0 .19-.37-.1-.07-.17 0s-.16-.26-.32-.25a.35.35 0 0 0-.14 0s-.08.08-.11.06a.37.37 0 0 0-.45 0l-.07-.09c-.05-.32-.1-.16-.15-.11-.05.05-.15.2-.23.11-.08-.09-.05 0-.08 0-.1.25-.21.35-.3.17-.18-.33-.35.34-.52 0 0 0-.05 0-.07.07a.19.19 0 0 0-.05.1c-.07.28-.13.2-.19 0s-.09-.15-.14-.07c-.05.08-.09 0-.14 0-.05 0-.4 0-.61-.14-.21-.14-.37.06-.42.13-.05.07-.07.11-.15-.13 0-.07 0 0 0 0v.15a.29.29 0 0 1-.17-.11c-.09-.1 0 .24 0 .3 0 0-.06 0 0 .19s0 .13-.09.06-.27-.17-.26-.07c.01.1 0 .16-.07.13s-.22 0-.07.2 0 0 0 .07 0 0-.08 0c-.46-.26-.53-.24-.5-.19h-.06v.25c0 .07 0 0-.09.06-.26.07-.25.12.14.3.1 0 .11.08.07.11-.04.03-.16 0 0 .11-.4.11-.26.22-.14.33.12.11 0 .08.11.12.11.04.11.09 0 .13-.11.04-.22.06-.2.09.02.03-.14.26.12.4 0 0 .09 0 .07.05a.81.81 0 0 1-.26.2c-.12.07.25.13 0 .19s-.14.06-.07.09c.33.1.31.2.07.31-.24.11.36.17.13.28-.23.11-.3.18-.18.27a.48.48 0 0 1 .25.55.53.53 0 0 0 .19.54c.1.1.1.2-.15.3-.25.1-.25.12-.2.19.05.07.12.14.12.21 0 .27.37.55 0 .83-.07.06-.16.13.19.19.08 0 0 0 0 .06s-.1.09-.11.14a1.65 1.65 0 0 1-.16.49.45.45 0 0 0 .17.72c.1.07.14.14 0 .21-.14.07 0 .21 0 .31s.09 0 .07.07a.58.58 0 0 0-.14.7v.08c-.21.11.22.22-.19.33.16.13-.18.25.22.38.08 0 0 .06 0 .09-.26.19-.28.38-.14.57 0 0 .1.07 0 .1-.29.1-.06.2 0 .3.06.1.19.1.18.15a1.45 1.45 0 0 1-.16.42c0 .1-.14.2.12.3.07 0 .06.06 0 .08-.27.23-.12.45 0 .67v.12c0 .04-.49.27-.08.41.06 0 .06 0 0 .07-.36.12-.08.25-.19.37s0 .09.14.13c.14.04.22.18 0 .26 0 0-.06 0 0 .07a.22.22 0 0 1 0 .31c-.08.11-.24.22-.1.33.14.11.33.25.31.38-.02.13.1.09 0 .14-.32.15-.14.31-.21.47a.55.55 0 0 0 0 .31c0 .11.3.21 0 .31a.79.79 0 0 1 .06.58 5.1 5.1 0 0 0 0 .78c0 .07-.1.13 0 .19s.14.21 0 .32c-.14.11-.16.15 0 .22s0 .13-.09.19.31.13.22.21c-.09.08-.26.25-.19.38s0 .33 0 .5c0 .17-.11.37-.08.56.03.19.29.27.06.4-.23.13.08.42-.11.63-.19.21.15.26.17.39.04.205.04.415 0 .62 0 .07-.16.13 0 .17-.43.06-.29.13 0 .14 0 0 .07 0 0 0-.39.11 0 .12.09.15s-.08.3 0 .41l.11.08h.13a.32.32 0 0 0 .26.33v.09c-.2.26-.06.17 0 .15.06-.02.2-.09.19 0-.01.09 0 0 .07 0s.27-.24.24-.05c0 .35.31-.24.29.06l.05-.06a.26.26 0 0 0 .06-.09c.09-.26.09-.17.09 0s0 .15.06.07c.06-.08 0 0 .07 0s.07.05.18.05a.51.51 0 0 1 .3.1c.17.12.33-.07.5-.13.17-.06.17-.1.26.15 0 .07.06 0 .08 0 .02 0 .06-.15.09-.14a.38.38 0 0 1 .26.14c.09.12.17-.21.26-.27.09-.06 0 0 0 0s.15 0 .22-.17.16-.12.25 0 .25.29.38.22c.13-.07.18-.15.28-.05l.09 2.48z\\\" fill=\\\"#000\\\"/><rect fill=\\\"#8E9E2E\\\" x=\\\"72.1\\\" y=\\\"38.27\\\" width=\\\"8.61\\\" height=\\\"26.87\\\" rx=\\\"2.82\\\"/><path d=\\\"M77.79 66c-.15-.15-.29.19-.44.09l-.1-.06A.49.49 0 0 0 77 66c-.24 0-.47.3-.71.11h-.12c-.2.14-.4.26-.59-.11-.13.33-.27.1-.41.21-.14.11-.2 0-.37 0-.17 0-.33.13-.45-.11s-.34.18-.49.09h-.07a1.72 1.72 0 0 0-.63-.24c-.11 0-.27 0-.37-.07-.1-.07-.11-.25-.3-.16s-.11-.24-.26-.25c-.15-.01 0-.08-.13 0s-.21 0-.22-.15c-.01-.15.45-.64.1-.68-.14 0-.37 0-.12-.3-.27.09-.37 0-.14-.16-.41.06-.22-.22-.29-.34-.07-.12 0-.19.09-.3.09-.11 0-.15 0-.2 0-.05-.39-.3-.34-.5a.34.34 0 0 0 0-.37c-.07-.09-.27-.12.14-.18.07 0 0 0 0 0s-.1-.1 0-.16a.52.52 0 0 0 .16-.52v-.24c0-.08-.08-.06-.1-.09-.02-.03-.45-.24-.14-.36.08 0 .05-.07 0-.1s-.16-.12-.1-.19.13-.15 0-.22-.1-.18.1-.26c.2-.08.08-.07.07-.1a2 2 0 0 1-.05-.41c0-.07.14-.14.12-.21a2 2 0 0 0-.22-.47c0-.06 0-.11.2-.17.2-.06.26-.16 0-.24-.26-.08-.33-.25-.06-.37s.26-.27-.11-.4-.46-.18-.28-.27c.18-.09 0 0 0-.07s0-.12.18-.17c.18-.05.26-.13.17-.2s-.33-.27-.1-.4c.06-.04.02-.08-.12-.12-.23 0-.21-.11-.16-.17a.65.65 0 0 0 .2-.33.34.34 0 0 0-.13-.33c-.14-.11-.08-.22 0-.33.08-.11-.06-.15.12-.22.38-.14.22-.28.07-.41-.15-.13-.05 0 0-.07 0-.19.09-.39.14-.57 0 0-.07-.06-.11-.09.07 0 .22 0 .19-.06-.19-.12-.56-.24-.16-.37-.2-.08.13-.16.07-.24-.06-.08.18-.24-.28-.35-.09 0-.09-.06 0-.09s.11-.13-.09-.2 0-.07.22-.09c0 0-.19-.06-.11-.07.44-.06.25-.13.15-.2s-.08 0 0-.07c.35-.1.23-.2.19-.31-.04-.11-.36-.17.17-.25.09 0 0 0 0-.07s-.14-.16 0-.24c.14-.08.06-.07 0-.11-.31-.09-.09-.18 0-.27.09-.09.12-.06 0-.08-.3-.06-.27-.12-.1-.19s-.2-.24.13-.36h-.11c-.4 0-.42-.08-.09-.14.33-.06.17-.07.08-.11-.09-.04-.29-.19-.14-.29.15-.1.38-.2-.15-.29-.13 0 0-.07 0-.1s.11-.1 0-.14c-.11-.04-.06-.18.15-.26.21-.08.13-.14 0-.22-.13-.08-.35-.17-.22-.25.13-.08.07-.16.09-.24a1.29 1.29 0 0 1 .08-.26.42.42 0 0 0 0-.36l.08-.07c.49-.1.27-.2.13-.3-.14-.1-.14-.11 0-.16s0-.08 0-.12c0-.04-.21-.17 0-.26s0-.19-.1-.29c-.1-.1-.26-.21.07-.31.08 0 0-.06-.07-.08-.07-.02.15-.13 0-.19a1.18 1.18 0 0 1-.26-.21h.08c.25-.13 0-.27.11-.4s-.1-.06-.19-.08c-.09-.02-.17-.09 0-.14.17-.05.06-.08.1-.12.04-.04.26-.22-.13-.32 0 0 .06-.11 0-.17-.06-.06 0-.13.08-.19.41-.24.42-.24.19-.46a.16.16 0 0 1-.06-.13c0-.11-.61-.12-.61-.24s-.14-.09.28-.14c.42-.05.25-.13.18-.19-.33-.28 0-.56 0-.83a.6.6 0 0 1 .13-.21c0-.07-.05-.13-.21-.19-.16-.06-.25-.2-.15-.3a.71.71 0 0 0 .18-.27.79.79 0 0 0 0-.38.71.71 0 0 1 .39-.72c.14-.08.12-.22 0-.42-.12-.2 0-.34.47-.2s.24-.08.24-.08.07-.11.06-.17c-.01-.06-.36-.46-.23-.57a1.23 1.23 0 0 1 .62-.11c.24 0 .16-.4.38-.44h.15a.89.89 0 0 0 .29-.09c.24-.17.46-.56.83-.45.06 0 .1 0 .15-.07.22-.19.53-.33.78 0 .14-.32.28-.1.42-.21.14-.11.22 0 .33 0 .11 0 .23-.14.33.07.1.21.22-.23.33-.18.11.05 0 0 0 0 .16.1.32 0 .47 0 .15 0 .17-.12.25-.12.08 0 .16.15.23 0s.16.13.24 0c.08-.13.06 0 .09-.06s.11-.12.17 0c.06.12.15.78.41.53.11-.08.26-.24.3.12 0 .05 0 .06 0 0 .13-.26.22-.3.22 0 .24-.35.31 0 .45 0s.13.14.15.28c.02.14.08.12.17.11.09-.01.49-.08.59.1a.35.35 0 0 0 .3.22c.1 0 .3-.08.06.26 0 .06 0 .06.05 0s.16 0 .17.12a1 1 0 0 0 .26.65c.08.08.09.2.14.28.05.08.1 0 .14.06.04.06.55.16.29.42-.07.06 0 .1.08.12.08.02.2.14.14.24-.06.1-.08.22 0 .32s.11.25-.09.35c-.2.1-.07.07-.06.1a3 3 0 0 1 0 .41c0 .07-.13.14-.12.21.057.164.13.321.22.47 0 .06 0 .11-.2.17-.2.06-.26.16 0 .24.26.08.33.25.06.37s-.26.27.11.4.46.18.28.27c-.18.09 0 0 0 .07s0 .12-.18.17c-.18.05-.26.13-.17.2s.34.27.1.4c-.06.04-.02.08.12.12.23.05.22.11.16.17a.84.84 0 0 0-.2.33.33.33 0 0 0 .14.33c.13.11.07.22 0 .33-.07.11.07.15-.12.22-.37.14-.22.27-.07.41.15.14.05 0 0 .07 0 .19-.09.39-.13.57 0 0 .06.06.1.09-.07 0-.22 0-.19.06.2.12.56.24.16.37.2.08-.13.16-.06.24.07.08-.19.24.27.35.1 0 .09.06 0 .09s-.11.13.1.2c.21.07 0 .07-.23.09 0 0 .19.06.11.07-.44.06-.25.13-.15.2s.09 0 0 .07c-.35.1-.22.2-.19.31.03.11.37.17-.16.25-.1 0 0 0 0 .07s.14.16 0 .24c-.14.08-.07.07 0 .1.31.1.09.19 0 .28-.09.09-.11.06 0 .08.3.06.27.12.11.19-.16.07.19.24-.13.36h.1c.4 0 .42.09.09.14-.33.05-.17.08-.08.12.09.04.29.19.14.29-.15.1-.37.2.15.29.13 0 0 .07 0 .1s-.12.1 0 .14c.12.04.06.17-.15.26s-.13.14 0 .22c.13.08.34.17.21.25-.13.08-.07.16-.09.24a.84.84 0 0 1-.07.26c-.08.12 0 .24 0 .36s0 0-.08.07c-.48.1-.27.2-.13.3.14.1.15.11 0 .16s0 .08 0 .12c0 .04.2.17 0 .26s0 .19.09.29c.09.1.26.2-.06.31-.08 0 0 .06.06.08.06.02-.15.13 0 .19a1 1 0 0 1 .26.21h-.07c-.26.13 0 .27-.12.4s.1.06.2.08c.1.02.16.09 0 .14-.16.05-.07.08-.11.12-.04.04-.26.22.14.32-.18.06-.07.11 0 .17.07.06 0 .13-.08.19-.39.22-.42.23-.22.44.2.21.17.17.05.25l-.1.24h-.21c-.11 0 .12.14.3.2s.46.18.28.27c-.18.09 0 0 0 .07s0 .12-.18.17c-.18.05-.26.13-.17.21.09.08.34.26.1.39-.06 0 0 .09.12.12s.22.11.16.17a.84.84 0 0 0-.2.33.33.33 0 0 0 .14.33c.13.11.07.22 0 .33-.07.11.07.15-.12.22-.37.14-.22.28-.07.42.15.14.05 0 0 .06 0 .2-.09.39-.13.58 0 0 .06.06.1.08-.07 0-.22 0-.19.06.2.14.57.22.16.4.19.12-.14.22-.09.32.05.1-.22.29.18.56.09 0 .07.1 0 .13s-.16.16 0 .33 0 .1-.26 0h-.06.05s.15.14.07.13c-.44-.08-.3.07-.26.2.04.13 0 .11 0 .1-.38 0-.33.13-.38.28-.05.15.14.42-.34.17-.09 0-.05 0-.06.07-.01.07 0 .27-.24.21-.24-.06-.12 0-.08.12.11.32-.13.24-.3.2-.17-.04-.13 0-.1.06.11.3 0 .31-.14.22s-.2.33-.48.1v.13c.1.39 0 .43-.15.14s-.14-.12-.17 0-.18.36-.35.24c-.17-.12-.31-.33-.38.21 0 .13-.1 0-.15 0-.05 0-.14-.1-.2 0 0-.81-.06-1.63-.06-2.44 0 0 .1-.23.21.17.05-.16.2.14.17-.26 0-.08 0 0 .06 0 .18.21.33.17.36 0 .03-.17 0-.11.05 0 .22.21.15 0 .12-.14s-.06-.18 0-.19a.73.73 0 0 1 .28-.06c.08 0 .19 0 0-.2s0-.06 0-.06c.3 0 .25-.17.18-.31-.07-.14.06 0 .07 0 .01 0 .52-.06.13-.22-.06 0-.05 0 0 0 .37 0 .1-.14.21-.22.11-.08 0-.1-.13-.14-.13-.04-.23-.17 0-.26.06 0 .06 0 0-.06a.24.24 0 0 1 0-.31c.08-.11.24-.23.1-.33-.14-.1-.33-.26-.31-.38.02-.12-.1-.1 0-.14.31-.16.14-.32.2-.47a.58.58 0 0 0 0-.32c0-.1-.3-.2 0-.31a.76.76 0 0 1-.06-.57 5.16 5.16 0 0 0 0-.79c0-.06.1-.13 0-.19a.21.21 0 0 1-.09-.13c-.12 0-.16-.07 0-.11.16-.04.29-.19.17-.28 0 0-.08 0-.08-.06a.46.46 0 0 1-.14-.47.54.54 0 0 0-.19-.54c-.1-.1-.1-.2.15-.3.25-.1.25-.12.2-.19-.05-.07-.12-.13-.12-.2 0-.28-.37-.56 0-.84.07-.06.16-.13-.18-.19-.09 0 0 0 0-.06s.1-.09.11-.14c.026-.168.08-.33.16-.48a.46.46 0 0 0-.16-.73c-.11-.07-.15-.14 0-.21.15-.07 0-.21 0-.31s-.09 0-.07-.07a.57.57 0 0 0 .14-.69v-.09c.21-.11-.22-.22.19-.33-.15-.12.18-.25-.22-.38-.07 0 0 0 0-.08.26-.19.28-.39.14-.58 0 0-.1-.07 0-.1.29-.1.06-.2 0-.3-.06-.1-.18-.1-.18-.15a1.45 1.45 0 0 1 .16-.42c.05-.1.15-.2-.11-.3-.07 0-.07-.05 0-.08.27-.22.13-.44 0-.67 0 0 0-.08.05-.12.05-.04.49-.27.08-.41-.06 0-.06-.05 0-.07.36-.12.08-.24.19-.36s0-.1-.13-.14c-.13-.04-.23-.17 0-.26.06 0 .06 0 0-.07s-.05-.2 0-.31c.05-.11.24-.22.1-.33-.14-.11-.33-.25-.31-.38.02-.13-.1-.09 0-.14.31-.15.14-.31.2-.47a.55.55 0 0 0 0-.31c0-.1-.3-.21 0-.31a.79.79 0 0 1-.06-.58 5.1 5.1 0 0 0 0-.78c0-.07.1-.13 0-.19s-.14-.21 0-.32c.14-.11.16-.15 0-.22s0-.13.09-.19-.31-.13-.22-.2.26-.26.19-.39 0-.33 0-.5c0-.17.12-.41.08-.51-.04-.1-.31-.14-.09-.26s-.15-.25 0-.44-.21-.1-.28-.16a1.09 1.09 0 0 1-.23-.32s.05-.18-.07-.12c.26-.37.1-.3-.1-.1 0 0-.06 0 0 0 .2-.38-.1-.07-.17 0s-.16-.26-.32-.25a.23.23 0 0 0-.14 0s-.08.09-.11.07a.37.37 0 0 0-.45 0s-.05 0-.07-.09c0-.32-.1-.17-.15-.11-.05.06-.15.2-.22.11-.07-.09-.06 0-.09 0-.1.25-.2.35-.3.16-.1-.19-.35.35-.52.06l-.07.07a.13.13 0 0 0 0 .1c-.06.27-.13.2-.19 0s-.09-.15-.14-.07c-.05.08-.09 0-.14 0-.2-.08-.4 0-.6-.14-.2-.14-.38.06-.43.13-.05.07-.07.1-.15-.13 0-.07 0 0-.05 0s0 .15 0 .15a.24.24 0 0 1-.17-.11c-.08-.09 0 .24 0 .31 0 0-.06 0 0 .2s0 .13-.09 0S74 40 74 40.05c0 .05 0 .16-.06.12-.06-.04-.23 0-.07.21s0 .05 0 .07c0 .02 0 0-.08 0-.45-.26-.53-.24-.5-.19h-.06c0 .09 0 .18.05.26.05.08 0 0-.09 0-.26.08-.25.12.14.31.1 0 .11.08.07.11-.04.03-.15 0 0 .1s.05 0 0 0c-.4.11-.25.21-.14.32.11.11 0 .08.11.12.11.04.11.09 0 .14-.11.05-.22.06-.2.08.02.02-.14.27.12.4 0 0 .09 0 .07.05a1 1 0 0 1-.26.21c-.12.06.25.13 0 .19s-.14.06-.06.08c.32.11.3.21.06.31s.37.17.13.28c-.24.11-.3.19-.18.28a.48.48 0 0 1 .25.55.54.54 0 0 0 .19.54c.1.1.1.2-.15.3-.25.1-.25.12-.2.18a.6.6 0 0 1 .13.21c0 .28.36.56 0 .84-.07.06-.16.13.19.19.08 0 0 0 0 .06s-.1.09-.11.14a1.77 1.77 0 0 1-.15.48.45.45 0 0 0 .16.73c.1.07.14.14 0 .21-.14.07 0 .2 0 .31 0 .11.09 0 .07.07a.55.55 0 0 0-.13.69.06.06 0 0 1 0 .09c-.21.11.22.22-.19.33.16.12-.17.25.22.38.08 0 0 0 0 .08-.25.19-.28.39-.13.58 0 0 .09.07 0 .1-.28.1-.06.2 0 .3.06.1.19.1.18.15a1.45 1.45 0 0 1-.16.42c-.05.1-.14.2.12.29.07 0 .06.06 0 .09-.27.22-.12.44 0 .66v.13c0 .04-.49.27-.09.41.07 0 .06 0 0 .07-.35.12-.08.24-.18.36-.1.12 0 .1.13.14.13.04.22.17 0 .26 0 0-.06 0 0 .07s.06.2 0 .31c-.06.11-.23.22-.1.33.13.11.33.25.31.38-.02.13.1.09 0 .14-.32.15-.14.31-.21.47a.55.55 0 0 0 0 .31c0 .1.3.21 0 .31a.74.74 0 0 1 .06.58 5.1 5.1 0 0 0 0 .78c0 .07-.1.13 0 .19s.14.21 0 .32c-.14.11-.16.15 0 .22s0 .13-.09.19.31.13.22.2-.26.26-.19.38 0 .34 0 .51c0 .17-.11.37-.08.55.03.18.29.27.06.4-.23.13.08.42-.11.63-.19.21.15.27.17.4a1.79 1.79 0 0 1 0 .61c0 .08-.17.13-.05.17-.43.07-.29.13 0 .15 0 0 .08 0 0 0-.39.12 0 .13.09.16s-.08.29 0 .4a.54.54 0 0 0 .12.09h.12a.32.32 0 0 0 .26.32v.1c-.19.25-.06.17 0 .15.06-.02.2-.1.19 0-.01.1 0 0 .07 0s.28-.24.24 0c0 .35.31-.24.29.06l.06-.06v-.09c.09-.26.09-.18.09 0s0 .15.06.08c.06-.07 0 0 .07 0a.3.3 0 0 0 .18 0 .45.45 0 0 1 .3.1c.17.12.33-.07.5-.13.17-.06.17-.1.26.14 0 .08.06 0 .09 0s0-.15.08-.15a.44.44 0 0 1 .26.15c.09.12.17-.21.26-.27.09-.06 0 0 .05 0s.15 0 .23-.17c.08-.17.15-.11.24 0s.25.29.38.21c.13-.08.18-.14.28 0L77.79 66z\\\" fill=\\\"#000\\\"/><rect fill=\\\"#8E9E2E\\\" x=\\\"1.82\\\" y=\\\"38.27\\\" width=\\\"8.61\\\" height=\\\"26.87\\\" rx=\\\"2.82\\\"/><path d=\\\"M7.5 66c-.14-.15-.29.19-.43.09L7 66a.53.53 0 0 0-.23-.06c-.24 0-.48.3-.72.11h-.12c-.2.14-.39.26-.59-.11-.14.33-.28.1-.42.21-.14.11-.19 0-.37 0s-.33.13-.44-.11c-.11-.24-.34.18-.49.09h-.07a1.87 1.87 0 0 0-.63-.24c-.11 0-.28 0-.38-.07-.1-.07-.11-.25-.3-.16s-.11-.24-.25-.25c-.14-.01-.05-.08-.14 0-.09.08-.21 0-.21-.15s.45-.64.1-.68c-.14 0-.37 0-.13-.3-.27.09-.38 0-.14-.16-.42.06-.23-.22-.3-.34-.07-.12 0-.19.1-.3.1-.11 0-.15 0-.2 0-.05-.39-.3-.33-.5a.36.36 0 0 0 0-.37c-.06-.09-.26-.12.14-.18.07 0 0 0 0 0s-.1-.1 0-.16a.51.51 0 0 0 .15-.52v-.24c0-.08-.08-.06-.1-.09-.02-.03-.46-.24-.14-.36.08 0 0-.07-.05-.1s-.17-.12-.1-.19.12-.15 0-.22-.11-.18.09-.26c.2-.08.08-.07.07-.1-.01-.03 0-.28 0-.41 0-.13.14-.14.13-.21a3.31 3.31 0 0 0-.22-.47c0-.06 0-.11.19-.17.19-.06.26-.16 0-.24-.26-.08-.34-.25-.07-.37s.27-.27-.1-.4-.46-.18-.28-.27c.18-.09.05 0 0-.07s0-.12.17-.17c.17-.05.27-.13.17-.2s-.33-.27-.1-.4c.07 0 0-.08-.11-.12-.11-.04-.22-.11-.17-.17a.76.76 0 0 0 .21-.33.35.35 0 0 0-.14-.33c-.13-.11-.07-.22 0-.33.07-.11-.06-.15.13-.22.37-.14.22-.28.07-.41-.15-.13-.05 0-.05-.07.05-.19.1-.39.14-.57 0 0-.07-.06-.1-.09.07 0 .22 0 .19-.06-.2-.12-.56-.24-.17-.37-.19-.08.14-.16.07-.24-.07-.08.19-.24-.27-.35-.1 0-.09-.06 0-.09s.11-.13-.1-.2c-.21-.07 0-.07.23-.09 0 0-.2-.06-.12-.07.45-.06.25-.13.15-.2s-.08 0 0-.07c.35-.1.22-.2.19-.31-.03-.11-.37-.17.16-.25.1 0 0 0 0-.07s-.14-.16 0-.24c.14-.08.07-.07 0-.11-.31-.09-.09-.18 0-.27.09-.09.11-.06 0-.08-.31-.06-.27-.12-.11-.19.16-.07-.19-.24.13-.36h-.1c-.4 0-.42-.08-.09-.14.33-.06-.03-.21-.17-.21s-.3-.19-.14-.29c.16-.1.37-.2-.15-.29-.13 0 0-.07 0-.1s.12-.1 0-.14c-.12-.04 0-.18.16-.26.16-.08.13-.14-.05-.22-.18-.08-.34-.17-.22-.25.12-.08.08-.16.1-.24a.84.84 0 0 1 .07-.26.38.38 0 0 0 0-.36l.09-.07c.48-.1.27-.2.13-.3-.14-.1-.15-.11 0-.16s0-.08 0-.12c0-.04-.21-.17 0-.26s0-.19-.09-.29c-.09-.1-.26-.21.06-.31.08 0 0-.06-.06-.08-.06-.02.14-.13 0-.19a1 1 0 0 1-.26-.21h.07c.26-.13 0-.27.12-.4s-.11-.06-.2-.08c-.09-.02-.16-.09 0-.14.16-.05.07-.08.11-.12.04-.04.26-.22-.14-.32 0 0 .06-.11 0-.17-.06-.06 0-.13.08-.19.4-.24.42-.24.19-.46a.16.16 0 0 1-.06-.13c0-.11-.61-.12-.61-.24s-.14-.09.27-.14c.41-.05.25-.13.19-.19-.33-.28 0-.56 0-.83a.6.6 0 0 1 .13-.21c0-.07 0-.13-.2-.19s-.25-.2-.15-.3a.71.71 0 0 0 .18-.27 1.15 1.15 0 0 0 0-.38.7.7 0 0 1 .38-.72c.15-.08.13-.22 0-.42-.13-.2 0-.34.48-.2s.24-.08.24-.08.06-.11.06-.17c0-.06-.37-.46-.23-.57a1.21 1.21 0 0 1 .62-.11c.23 0 .16-.4.38-.44h.15a.84.84 0 0 0 .28-.09c.25-.17.47-.56.84-.45.06 0 .1 0 .15-.07.22-.19.53-.33.78 0 .14-.32.28-.1.42-.21.14-.11.22 0 .33 0 .11 0 .22-.14.33.07.11.21.22-.23.33-.18.11.05 0 0 0 0h.47c.16 0 .17-.12.25-.12.08 0 .16.15.23 0s.16.13.24 0c.08-.13.06 0 .08-.06.02-.06.12-.12.17 0 .05.12.15.78.42.53.11-.08.26-.24.3.12 0 .05 0 .06 0 0 .12-.26.22-.3.21 0 .25-.35.32 0 .46 0s.13.14.15.28c.02.14.08.12.17.11.09-.01.48-.08.58.1.1.18.15.21.3.22.15.01.31-.08.07.26 0 .06 0 .06 0 0s.16 0 .17.12a1 1 0 0 0 .26.65c.08.08.08.2.14.28.06.08.1 0 .13.06s.55.16.29.42c-.07.06 0 .1.08.12.08.02.2.14.15.24-.05.1-.09.22 0 .32s.12.25-.08.35c-.2.1-.08.07-.07.1a2 2 0 0 1 0 .41c0 .07-.14.14-.12.21a2 2 0 0 0 .22.47c0 .06 0 .11-.2.17-.2.06-.26.16 0 .24.26.08.33.25.06.37s-.26.27.11.4.46.18.27.27c-.19.09 0 0 0 .07s0 .12-.17.17c-.17.05-.26.13-.17.2s.33.27.1.4c-.06.04-.02.08.12.12.23.05.21.11.16.17a.65.65 0 0 0-.2.33.34.34 0 0 0 .13.33c.14.11.08.22 0 .33-.08.11.06.15-.12.22-.38.14-.22.27-.07.41.15.14 0 0 0 .07 0 .19-.09.39-.14.57 0 0 .07.06.11.09-.07 0-.23 0-.2.06.2.12.57.24.17.37.2.08-.13.16-.07.24.06.08-.19.24.27.35.1 0 .1.06 0 .09s-.11.13.09.2 0 .07-.22.09c0 0 .19.06.11.07-.44.06-.25.13-.15.2s.08 0 0 .07c-.35.1-.22.2-.18.31.04.11.36.17-.17.25-.1 0 0 0 0 .07s.15.16 0 .24c-.15.08-.06.07 0 .1.3.1.09.19 0 .28-.09.09-.12.06 0 .08.31.06.28.12.11.19-.17.07.19.24-.13.36h.11c.4 0 .42.09.08.14-.34.05-.16.08-.07.12.09.04.29.19.14.29-.15.1-.38.2.15.29.13 0 0 .07 0 .1s-.11.1 0 .14c.11.04.06.17-.15.26s-.13.14 0 .22c.13.08.35.17.22.25-.13.08-.07.16-.09.24a1.29 1.29 0 0 1-.08.26.38.38 0 0 0 0 .36l-.08.07c-.49.1-.27.2-.13.3.14.1.14.11 0 .16s0 .08 0 .12c0 .04.21.17 0 .26s0 .19.09.29c.09.1.27.2-.06.31-.08 0 0 .06.07.08.07.02-.15.13 0 .19.096.057.184.128.26.21h-.08c-.25.13 0 .27-.11.4s.1.06.19.08c.09.02.17.09 0 .14-.17.05-.06.08-.1.12-.04.04-.26.22.13.32 0 0-.06.11 0 .17.06.06 0 .13-.08.19-.39.22-.42.23-.22.44.2.21.17.17 0 .25l-.11.24h-.21c-.11 0 .12.14.31.2s.46.18.27.27c-.19.09 0 0 0 .07s0 .12-.17.17c-.17.05-.26.13-.17.21.09.08.33.26.1.39-.06 0 0 .09.12.12s.21.11.16.17a.65.65 0 0 0-.2.33.34.34 0 0 0 .13.33c.14.11.08.22 0 .33-.08.11.06.15-.12.22-.38.14-.22.28-.07.42.15.14 0 0 0 .06 0 .2-.09.39-.14.58 0 0 .07.06.11.08-.07 0-.23 0-.2.06.2.14.57.22.17.4.19.12-.15.22-.09.32s-.22.29.18.56c.08 0 .07.1 0 .13s-.16.16 0 .33 0 .1-.26 0h-.07s.15.14.07.13c-.45-.08-.31.07-.26.2.05.13 0 .11 0 .1-.38 0-.34.13-.39.28-.05.15.14.42-.34.17-.08 0 0 0 0 .07s0 .27-.25.21c-.25-.06-.11 0-.07.12.11.32-.14.24-.31.2-.17-.04-.13 0-.09.06.11.3 0 .31-.15.22s-.2.33-.48.1v.13c.1.39 0 .43-.14.14s-.15-.12-.18 0-.18.36-.35.24c-.17-.12-.3-.33-.38.21 0 .13-.1 0-.14 0-.04 0-.14-.1-.2 0 0-.81-.06-1.63-.07-2.44 0 0 .1-.23.22.17 0-.16.2.14.17-.26 0-.08 0 0 .06 0 .18.21.33.17.36 0 .03-.17 0-.11 0 0 .21.21.14 0 .12-.14-.02-.14-.07-.18 0-.19a.67.67 0 0 1 .27-.06c.08 0 .19 0 0-.2s0-.06 0-.06c.3 0 .24-.17.18-.31-.06-.14.05 0 .06 0 .01 0 .53-.06.13-.22-.06 0-.05 0 0 0 .37 0 .09-.14.2-.22.11-.08 0-.1-.13-.14-.13-.04-.23-.17 0-.26 0 0 .06 0 0-.06a.22.22 0 0 1 0-.31c.08-.11.23-.23.1-.33s-.33-.26-.31-.38c.02-.12-.1-.1 0-.14.32-.16.14-.32.21-.47a.58.58 0 0 0 0-.32c0-.1-.3-.2 0-.31a.72.72 0 0 1-.06-.57 5.16 5.16 0 0 0 0-.79c0-.06.1-.13 0-.19a.26.26 0 0 1-.09-.13c-.11 0-.15-.07 0-.11.15-.04.3-.19.17-.28-.06 0-.08 0-.08-.06a.46.46 0 0 1-.14-.47.53.53 0 0 0-.2-.54c-.09-.1-.09-.2.16-.3.25-.1.24-.12.2-.19a.49.49 0 0 1-.13-.2c0-.28-.36-.56 0-.84.06-.06.16-.13-.19-.19-.08 0 0 0 0-.06s.1-.09.11-.14a1.77 1.77 0 0 1 .15-.48.46.46 0 0 0-.16-.73c-.1-.07-.15-.14 0-.21.15-.07 0-.21 0-.31s-.09 0-.07-.07a.55.55 0 0 0 .13-.69.06.06 0 0 1 0-.09c.2-.11-.23-.22.19-.33-.16-.12.17-.25-.22-.38-.08 0 0 0 0-.08.25-.19.28-.39.13-.58 0 0-.09-.07 0-.1.29-.1.07-.2 0-.3-.07-.1-.19-.1-.18-.15a1.21 1.21 0 0 1 .16-.42c0-.1.14-.2-.12-.3-.07 0-.06-.05 0-.08.27-.22.12-.44 0-.67v-.12c0-.04.49-.27.08-.41-.06 0 0-.05 0-.07.36-.12.09-.24.19-.36s0-.1-.13-.14c-.13-.04-.23-.17 0-.26 0 0 .06 0 0-.07s-.06-.2 0-.31c.06-.11.23-.22.1-.33-.13-.11-.33-.25-.31-.38.02-.13-.1-.09 0-.14.32-.15.14-.31.21-.47a.55.55 0 0 0 0-.31c0-.1-.3-.21 0-.31a.74.74 0 0 1-.06-.58 5.1 5.1 0 0 0 0-.78c0-.07.1-.13 0-.19s-.13-.21 0-.32c.13-.11.16-.15 0-.22s0-.13.09-.19-.32-.13-.22-.2.25-.26.18-.39 0-.33 0-.5c0-.17.12-.41.08-.51-.04-.1-.3-.14-.09-.26s-.14-.25 0-.44-.21-.1-.27-.16a.82.82 0 0 1-.23-.32s0-.18-.07-.12c.25-.37.1-.3-.11-.1.19-.38-.1-.07-.17 0s-.17-.26-.33-.25a.2.2 0 0 0-.13 0s-.09.09-.11.07a.37.37 0 0 0-.45 0l-.07-.09c0-.32-.1-.17-.15-.11-.05.06-.15.2-.23.11-.08-.09-.06 0-.08 0-.1.25-.21.35-.31.16-.1-.19-.34.35-.52.06l-.07.07a.28.28 0 0 0 0 .1c-.06.27-.12.2-.18 0s-.1-.15-.14-.07c-.04.08-.09 0-.14 0-.2-.08-.41 0-.61-.14s-.37.06-.42.13c-.05.07-.07.1-.16-.13 0-.07 0 0 0 0v.15a.23.23 0 0 1-.17-.11c-.09-.09 0 .24 0 .31 0 0-.07 0 0 .2s0 .13-.08 0-.27-.16-.27-.06 0 .16-.06.12c-.06-.04-.22 0-.07.21s0 .05 0 .07c0 .02 0 0-.07 0-.46-.26-.53-.24-.51-.19h-.06v.26c0 .08 0 0-.08 0-.26.08-.25.12.13.31.1 0 .12.08.07.11-.05.03-.15 0 0 .1s.06 0 0 0c-.39.11-.25.21-.13.32.12.11 0 .08.11.12.11.04.11.09 0 .14-.11.05-.21.06-.19.08.02.02-.14.27.11.4 0 0 .09 0 .08.05a1.18 1.18 0 0 1-.26.21c-.12.06.25.13 0 .19s-.15.06-.07.08c.33.11.31.21.06.31s.37.17.13.28c-.24.11-.29.19-.17.28a.49.49 0 0 1 .25.55.54.54 0 0 0 .19.54c.1.1.1.2-.15.3-.25.1-.25.12-.21.18a.6.6 0 0 1 .13.21c0 .28.37.56 0 .84-.07.06-.16.13.18.19.09 0 0 0 0 .06s-.1.09-.1.14a1.51 1.51 0 0 1-.16.48.46.46 0 0 0 .16.73c.1.07.15.14 0 .21-.15.07 0 .2 0 .31 0 .11.09 0 .07.07a.56.56 0 0 0-.14.69v.09c0 .03.23.22-.19.33.16.12-.17.25.22.38.08 0 0 0 0 .08-.26.19-.28.39-.14.58 0 0 .1.07 0 .1-.29.1-.06.2 0 .3.06.1.18.1.17.15a1.42 1.42 0 0 1-.15.42c0 .1-.15.2.11.29.07 0 .06.06 0 .09-.28.22-.13.44 0 .66v.13c0 .04-.49.27-.08.41.06 0 .05 0 0 .07-.36.12-.09.24-.19.36s0 .1.13.14c.13.04.23.17 0 .26-.06 0-.07 0 0 .07s.06.2 0 .31c-.06.11-.24.22-.1.33.14.11.32.25.31.38-.01.13.09.09 0 .14-.31.15-.14.31-.21.47a.81.81 0 0 0 0 .31c0 .1.31.21 0 .31a.79.79 0 0 1 .06.58 4.08 4.08 0 0 0 0 .78c0 .07-.1.13 0 .19s.14.21 0 .32c-.14.11-.16.15 0 .22s0 .13-.09.19.31.13.22.2-.26.26-.19.38 0 .34 0 .51c0 .17-.12.37-.09.55.03.18.3.27.06.4s.08.42-.1.63c-.18.21.14.27.17.4.04.201.04.409 0 .61 0 .08-.17.13 0 .17-.44.07-.29.13 0 .15 0 0 .07 0 0 0-.4.12 0 .13.09.16s-.08.29 0 .4a.33.33 0 0 0 .11.09h.13a.31.31 0 0 0 .26.32v.1c-.19.25 0 .17 0 .15 0-.02.2-.1.18 0-.02.1 0 0 .08 0s.27-.24.24 0c0 .35.31-.24.29.06v-.06a.17.17 0 0 0 0-.09c.1-.26.1-.18.1 0s0 .15.06.08c.06-.07 0 0 .06 0a.3.3 0 0 0 .18 0 .48.48 0 0 1 .31.1c.16.12.33-.07.5-.13.17-.06.17-.1.26.14 0 .08 0 0 .08 0s.06-.15.09-.15c.1.02.192.073.26.15.09.12.17-.21.25-.27.07.11.15 0 .22-.17s.16-.11.24 0c.08.11.26.29.38.21.12-.08.19-.14.28 0L7.5 66z\\\" fill=\\\"#000\\\"/><rect fill=\\\"#8E9E2E\\\" x=\\\"28.86\\\" y=\\\"68.93\\\" width=\\\"8.61\\\" height=\\\"26.87\\\" rx=\\\"2.82\\\"/><path d=\\\"M34.55 96.67c-.15-.16-.29.18-.43.09l-.11-.07a.46.46 0 0 0-.23-.06c-.23 0-.47.3-.71.11h-.12c-.2.13-.4.25-.59-.12-.14.32-.28.1-.42.2-.14.1-.2 0-.37 0-.17 0-.33.12-.45-.12s-.34.18-.49.09c-.15-.09 0 0-.07 0a1.72 1.72 0 0 0-.63-.24c-.11 0-.27 0-.37-.07-.1-.07-.11-.24-.3-.16-.19.08-.11-.24-.25-.24s0-.09-.14 0-.21 0-.21-.15.44-.65.09-.69c-.14 0-.37 0-.12-.29v-.05c-.27.09-.37.05-.14-.15-.41 0-.22-.23-.29-.35-.07-.12 0-.19.1-.3.1-.11 0-.15 0-.2 0-.05-.39-.3-.34-.49a.35.35 0 0 0 0-.38c-.07-.08-.27-.12.14-.18.07 0 0 0 0-.05s-.1-.1 0-.15a.52.52 0 0 0 .16-.53v-.24c0-.08-.08-.06-.1-.08-.02-.02-.45-.24-.14-.36.08 0 0-.08 0-.11s-.16-.12-.09-.18.12-.15 0-.23c-.12-.08-.1-.17.1-.26s.08-.07.07-.1a1.92 1.92 0 0 1 0-.41c0-.07.14-.14.12-.21a2.19 2.19 0 0 0-.22-.47s0-.11.2-.17c.2-.06.26-.15 0-.24s-.33-.25-.06-.37.26-.27-.11-.39-.46-.18-.28-.28c.18-.1 0-.05 0-.07 0-.02 0-.11.17-.17.17-.06.26-.13.17-.2s-.33-.26-.1-.4c.06 0 0-.08-.12-.11s-.21-.12-.16-.17a.68.68 0 0 0 .2-.34.34.34 0 0 0-.13-.33c-.14-.11-.08-.21 0-.32.08-.11-.06-.16.12-.23.38-.14.22-.27.07-.41a.13.13 0 0 1 0-.07c0-.19.09-.39.14-.57.05-.18-.07-.06-.11-.09.07 0 .23 0 .2-.06-.2-.12-.57-.24-.17-.37-.2-.08.13-.16.07-.23s.19-.24-.27-.36c-.1 0-.1-.06 0-.08.1-.02.11-.14-.09-.21-.2-.07 0-.06.22-.09 0 0-.19 0-.11-.07.44-.06.25-.13.15-.2s-.08 0 0-.06c.35-.1.22-.21.18-.31-.04-.1-.36-.18.17-.26.1 0 0 0 0-.07s-.15-.16 0-.24c.15-.08.06-.07 0-.1-.3-.1-.09-.18 0-.28.09-.1.12-.06 0-.08-.31-.06-.28-.12-.11-.18.17-.06-.19-.24.13-.36h-.11c-.4-.05-.42-.09-.08-.14.34-.05.16-.07.07-.12-.09-.05-.29-.19-.14-.29.15-.1.38-.19-.15-.29-.13 0 0-.06 0-.1 0-.04.11-.09 0-.14-.11-.05-.06-.17.15-.25.21-.08.13-.15 0-.23-.13-.08-.35-.17-.22-.25.13-.08.07-.16.09-.24a1.53 1.53 0 0 1 .08-.26.38.38 0 0 0 0-.36l.08-.07c.49-.1.27-.2.13-.3-.14-.1-.14-.1 0-.16s.05-.08 0-.12c-.05-.04-.21-.16 0-.26s.05-.19-.09-.29c-.14-.1-.27-.2.06-.31.08 0 0 0-.07-.08s.15-.12 0-.19a1.18 1.18 0 0 1-.26-.21h.08c.25-.13 0-.26.11-.4s-.1-.05-.19-.08-.17-.09 0-.14c.17-.05.06-.08.1-.12.04-.04.26-.21-.13-.32 0 0 .06-.11 0-.17-.06-.06 0-.13.08-.19.41-.23.42-.23.19-.46 0 0-.07-.08-.06-.12.01-.04-.61-.13-.61-.24 0-.11-.14-.1.28-.15.42-.05.25-.13.18-.19-.33-.28 0-.55 0-.83a.6.6 0 0 1 .13-.21c0-.06 0-.13-.21-.19s-.25-.19-.15-.29a.71.71 0 0 0 .18-.27.8.8 0 0 0 0-.38.71.71 0 0 1 .39-.72c.15-.09.12-.22 0-.42-.12-.2 0-.34.47-.21.47.13.24-.08.24-.08s.07-.1.06-.17c-.01-.07-.36-.46-.23-.56a1.13 1.13 0 0 1 .62-.12c.24 0 .16-.4.38-.44h.15a.91.91 0 0 0 .29-.1c.24-.17.46-.55.83-.45.06 0 .1 0 .15-.07.23-.18.53-.33.78 0 .13-.32.27-.1.41-.2.14-.1.22 0 .33 0 .11 0 .23-.14.33.07.1.21.22-.24.33-.19.11.05 0 0 .06 0h.47c.16 0 .16-.12.25-.12s.15.15.22 0 .16.14.24 0c.08-.14.06 0 .09-.06s.11-.12.17 0c.06.12.15.78.41.54.11-.09.27-.25.3.12.12-.25.22-.3.21 0 .25-.34.31 0 .45 0s.13.14.15.28c.02.14.09.12.17.1.08-.02.49-.08.59.1.1.18.14.22.3.23.16.01.31-.08.06.25 0 .06 0 .06.05 0s.17 0 .17.12a1 1 0 0 0 .27.64c.07.08.08.2.13.29.05.09.11 0 .14.06.03.06.55.15.29.41-.07.06 0 .11.08.12.08.01.2.14.14.24-.06.1-.08.22 0 .32s.11.26-.08.35c-.19.09-.08.07-.07.11.01.04 0 .27.05.41.05.14-.14.14-.13.2.059.163.133.32.22.47 0 .06 0 .12-.19.17-.19.05-.26.16 0 .24.26.08.34.25.07.38s-.27.26.1.39.46.18.28.27c-.18.09 0 0 0 .07s0 .12-.17.17c-.17.05-.27.13-.17.21.1.08.33.26.1.39-.07 0 0 .09.11.12s.22.11.17.17a.76.76 0 0 0-.21.33.33.33 0 0 0 .14.33c.13.11.07.22 0 .33-.07.11.06.15-.13.22-.37.14-.22.28-.07.42.15.14 0 0 0 .06 0 .19-.1.39-.14.58 0 0 .07.06.1.08-.07 0-.22 0-.19.06.2.12.56.25.16.37.2.08-.13.16-.06.24.07.08-.19.24.27.35.1 0 .09.06 0 .09s-.11.14.1.2c.21.06 0 .07-.23.1 0 0 .2 0 .12.06-.45.07-.25.13-.15.2s.08 0 0 .07c-.35.1-.22.2-.19.31.03.11.37.17-.16.25-.1 0 0 0 0 .07s.14.16 0 .24c-.14.08-.07.08 0 .11.31.09.09.18 0 .27-.09.09-.11.06 0 .08.3.07.27.12.11.19-.16.07.19.24-.13.36h.1c.4 0 .42.09.09.14-.33.05-.17.07-.08.11.09.04.3.19.14.29-.16.1-.37.2.15.29.13 0 0 .07 0 .1s-.12.1 0 .14c.12.04 0 .18-.16.26-.16.08-.13.15 0 .22s.34.18.22.26c-.12.08-.08.16-.1.24a.78.78 0 0 1-.07.25.41.41 0 0 0 0 .37l-.09.06c-.48.1-.27.21-.13.31s.15.1 0 .15c-.15.05 0 .08 0 .12 0 .04.21.17 0 .26s0 .2.09.29c.09.09.26.21-.06.31-.08 0 0 .06.06.09s-.14.12 0 .18a1 1 0 0 1 .26.21l-.07.05c-.26.13 0 .27-.12.4s.11.06.2.09c.09.03.16.09 0 .13-.16.04-.07.08-.11.12-.04.04-.26.22.14.33 0 0-.06.12 0 .17.06.05 0 .13-.08.19-.38.23-.42.24-.22.44.2.2.17.17 0 .25-.17.08-.07.16-.1.25s-.1 0-.21 0c-.11 0 .12.13.3.19s.46.18.28.28c-.18.1 0 0 0 .07s0 .11-.17.17c-.17.06-.27.13-.17.2s.33.26.1.4c-.07 0 0 .08.11.11s.22.12.17.17a.76.76 0 0 0-.21.33.34.34 0 0 0 .14.34c.13.11.07.21 0 .32-.07.11.06.16-.13.23-.37.14-.22.27-.07.41a.1.1 0 0 1 0 .07c0 .19-.1.39-.14.57-.04.18.07.06.1.09-.07 0-.22 0-.19.06.2.13.57.21.16.39.2.13-.14.22-.09.33.05.11-.22.29.18.55.09.06.07.11 0 .13-.07.02-.15.16 0 .33s0 .1-.25.05h-.07c0 .05.14.15.06.13-.44-.08-.3.07-.26.21.04.14 0 .1 0 .09-.37 0-.33.14-.38.28-.05.14.14.42-.34.18-.09-.05 0 0-.06.07s0 .26-.24.21c-.24-.05-.11 0-.08.12.12.31-.13.23-.3.19-.17-.04-.13 0-.09.06.11.3 0 .32-.15.22s-.2.33-.48.11v.12c.1.39 0 .44-.15.15-.15-.29-.14-.13-.17 0s-.18.35-.35.23c-.17-.12-.31-.32-.38.21 0 .14-.1 0-.15 0-.05 0-.14-.11-.19 0 0-.82-.06-1.63-.07-2.45 0 0 .1-.22.21.17 0-.16.21.14.18-.25 0-.08 0 0 .05 0 .18.2.33.17.37 0 0 0 0-.1 0 0 .21.22.14 0 .11-.14-.03-.14-.06-.18 0-.19a1.49 1.49 0 0 1 .28-.06c.08 0 .19 0 0-.2s0-.06 0-.06c.29.05.24-.17.17-.31-.07-.14.06 0 .07-.05.01-.05.52-.06.13-.21-.06 0 0 0 0 0 .37 0 .1-.14.21-.23.11-.09 0-.09-.13-.14-.13-.05-.23-.17 0-.25.06 0 .07-.05 0-.07a.23.23 0 0 1 0-.31c.08-.11.24-.22.1-.33-.14-.11-.32-.25-.31-.38.01-.13-.09-.1 0-.14.31-.15.14-.31.21-.47a.81.81 0 0 0 0-.31c0-.11-.31-.21 0-.31a.79.79 0 0 1-.06-.58 4.23 4.23 0 0 0 0-.79c0-.06.1-.12 0-.19a.26.26 0 0 1-.09-.13c-.11 0-.15-.07 0-.11.15-.04.29-.19.17-.27-.05 0-.07 0-.07-.07a.44.44 0 0 1-.15-.47.54.54 0 0 0-.19-.54c-.1-.1-.1-.2.15-.29.25-.09.25-.13.21-.19a.6.6 0 0 1-.13-.21c0-.28-.37-.56 0-.83.07-.06.16-.13-.18-.19-.09 0 0 0 0-.07s.11-.09.11-.14c.026-.168.08-.33.16-.48a.46.46 0 0 0-.16-.73c-.1-.07-.15-.14 0-.2s0-.21 0-.32c0-.11-.09 0-.07-.06a.57.57 0 0 0 .14-.7v-.09c0-.03-.23-.22.19-.32-.16-.13.17-.26-.22-.38-.08 0 0-.06 0-.09.26-.19.28-.38.14-.58 0 0-.1-.07 0-.1.29-.1.06-.2 0-.29-.06-.09-.18-.11-.17-.16a1.42 1.42 0 0 1 .15-.42c.05-.1.15-.19-.11-.29-.07 0-.06-.06 0-.09.28-.22.13-.44 0-.66v-.12c0-.04.49-.28.08-.42-.06 0-.06 0 0-.07.36-.12.09-.24.19-.36s0-.1-.13-.14c-.13-.04-.23-.17 0-.26.06 0 .07 0 0-.06a.23.23 0 0 1 0-.31c.08-.11.24-.23.1-.34-.14-.11-.32-.25-.31-.37.01-.12-.09-.1 0-.14.31-.16.14-.32.21-.47a.86.86 0 0 0 0-.32c0-.1-.31-.21 0-.31a.78.78 0 0 1-.06-.58 4.08 4.08 0 0 0 0-.78c0-.06.1-.13 0-.19s-.14-.21 0-.31.16-.15 0-.23c-.16-.08 0-.12.09-.19s-.31-.13-.22-.2.26-.26.19-.38 0-.34 0-.51c0-.17.12-.4.08-.5-.04-.1-.31-.14-.09-.27s-.15-.25 0-.44-.21-.1-.28-.15a1.24 1.24 0 0 1-.23-.32s.05-.19-.07-.13c.26-.37.11-.3-.1-.1 0 0-.06.05 0 0 .2-.37-.1-.07-.17 0s-.16-.26-.32-.25h-.14s-.08.08-.11.06a.37.37 0 0 0-.45 0l-.07-.09c0-.32-.1-.16-.15-.11-.05.05-.15.2-.22.11-.07-.09-.06 0-.09 0-.1.25-.2.35-.3.17-.17-.33-.35.34-.52 0l-.07.07a.19.19 0 0 0 0 .1c-.06.28-.12.2-.19 0s-.09-.15-.14-.07c-.05.08-.09 0-.13 0-.21-.08-.41 0-.61-.14s-.38.06-.42.13c-.04.07-.08.11-.16-.13 0-.07 0 0 0 0v.15a.28.28 0 0 1-.18-.11c-.08-.1 0 .24 0 .3 0 0-.06 0 0 .19s0 .13-.08.06-.27-.17-.27-.07 0 .16-.06.13-.23 0-.07.2 0 0 0 .07 0 0-.08 0c-.45-.26-.52-.24-.5-.19h-.06v.25c0 .07 0 0-.08.06-.26.07-.25.12.13.3.1 0 .11.08.07.11-.04.03-.15 0 0 .11s.05 0 0 0c-.4.11-.25.22-.14.33.11.11 0 .08.11.12.11.04.12.09 0 .13-.12.04-.21.06-.19.09.02.03-.15.26.11.4 0 0 .09 0 .07.05a.81.81 0 0 1-.26.2c-.11.07.25.13 0 .19s-.14.06-.06.09c.32.1.3.2.06.31-.24.11.37.17.13.28-.24.11-.3.18-.17.27a.48.48 0 0 1 .24.55.53.53 0 0 0 .19.54c.1.1.1.2-.15.3-.25.1-.24.12-.2.19a.6.6 0 0 1 .13.21c0 .27.36.55 0 .83-.06.06-.16.13.19.19.08 0 0 0 0 .06s-.1.09-.11.14a2 2 0 0 1-.15.49.45.45 0 0 0 .16.72c.1.07.15.14 0 .21-.15.07 0 .21 0 .31s.09 0 .07.07a.56.56 0 0 0-.13.7v.08c0 .02.22.22-.19.33.16.13-.17.25.22.38.08 0 0 .06 0 .09-.25.19-.28.38-.13.57 0 0 .09.07 0 .1-.29.1-.07.2 0 .3.07.1.19.1.18.15a1.21 1.21 0 0 1-.16.42c-.05.1-.14.2.12.3.07 0 .06.06 0 .08-.27.23-.12.45 0 .67v.12c0 .04-.49.27-.08.41.06 0 0 0 0 .07-.36.12-.09.25-.19.37s0 .09.13.13c.13.04.23.18 0 .26 0 0-.06 0 0 .07a.22.22 0 0 1 0 .31c-.08.11-.23.22-.1.33.13.11.33.25.31.38-.02.13.1.09 0 .14-.32.15-.14.31-.21.47a.55.55 0 0 0 0 .31c0 .11.3.21 0 .31a.75.75 0 0 1 .06.58 5.1 5.1 0 0 0 0 .78c0 .07-.1.13 0 .19s.13.21 0 .32c-.13.11-.16.15 0 .22s0 .13-.09.19.32.13.22.21c-.1.08-.25.25-.18.38s0 .33 0 .5c0 .17-.12.37-.09.56.03.19.29.27.06.4-.23.13.08.42-.11.63-.19.21.15.26.17.39.04.205.04.415 0 .62 0 .07-.17.13 0 .17-.43.06-.29.13 0 .14 0 0 .08 0 0 0-.4.11 0 .12.08.15s-.08.3 0 .41a.5.5 0 0 0 .12.08h.12a.32.32 0 0 0 .26.33v.09c-.19.26-.06.17 0 .15.06-.02.2-.09.19 0-.01.09 0 0 .07 0 .2-.18.28-.24.24-.05 0 .35.31-.24.29.06l.06-.06v-.09c.1-.26.09-.17.1 0 .01.17 0 .15 0 .07 0-.08 0 0 .07 0a.24.24 0 0 0 .18.05.51.51 0 0 1 .3.1c.17.12.34-.07.5-.13.16-.06.18-.1.26.15 0 .07.06 0 .09 0s.05-.15.08-.14a.36.36 0 0 1 .26.14c.09.12.17-.21.26-.27.09-.06 0 0 0 0s.15 0 .23-.17c.08-.17.16-.12.24 0 .08.12.25.29.38.22.13-.07.19-.15.28-.05l-.01 2.48z\\\" fill=\\\"#000\\\"/><path d=\\\"M16.88 31c.11.15.22-.19.33-.09.11.1.05 0 .08.06a.27.27 0 0 0 .17.06c.18 0 .35-.3.53-.11h.1c.03 0 .29-.25.44.12.1-.33.21-.1.31-.21.1-.11.17 0 .25 0 .08 0 .17-.14.25.07.08.21.17-.23.25-.19.11.09.23 0 .35 0 .12 0 .13-.12.19-.12s.12.15.17 0c.05-.15.12.14.18 0s0 0 .06-.06.09-.12.13 0c.04.12.09.78.24.52.06-.1.12-.28.18.07 0 0 0 .06 0 0 0-.28.08-.34.12 0 .08-.39.16-.1.24-.12.08-.02.1.08.14.2.04.12.08.07.12 0 .04-.07.21-.32.31-.24.1.08.14.08.21 0 .07-.08.09-.26.13.14 0 .07 0 0 0 0s.08-.1.12 0c.04.1.26.21.39.15s.12 0 .18 0 0-.08.07-.1c.07-.02.18-.46.27-.14 0 .08 0 .05.07 0s.1-.17.14-.1c.04.07.12.12.17 0 .05-.12.13-.11.2.09s0 .08.08.07c.08-.01.2 0 .3 0 .1 0 .11.14.16.13a2.25 2.25 0 0 0 .35-.22s.08 0 .13.19.12.26.18 0 .18-.34.28-.07c.1.27.2.27.29-.1.09-.37.14-.46.21-.28.07.18 0 .05.05 0s.09 0 .13.17c.04.17.1.27.15.17.05-.1.2-.33.3-.1 0 .07.06 0 .09-.11s.08-.22.12-.17a.65.65 0 0 0 .25.21.24.24 0 0 0 .25-.14c.08-.13.16-.07.25 0s.11-.06.16.13c.11.37.21.22.31.07s0-.05.05-.05l.43.14s0-.07.07-.1v.19c.09-.2.19-.56.28-.17.06-.2.12.14.18.07s.18.19.26-.27c0-.1 0-.09.07 0s.1.11.15-.1c.05-.21 0 0 .07.23v-.12c0 .45.1.25.15.15.05-.1 0-.08 0 0 .08.35.15.22.23.19.08-.03.13-.37.19.16 0 .1 0 0 0 0s.13-.14.19 0 0 .07.08 0c.06-.31.13-.09.2 0s0 .11.06 0c0-.31.09-.27.14-.11.05.16.18-.19.27.13v-.1c0-.4.07-.42.1-.09.03.33.06.17.09.08.03-.09.14-.3.22-.14.08.16.14.37.22-.15 0-.13 0 0 .07 0s.07.12.1 0 .14 0 .2.16.11.13.16-.05.13-.34.19-.22c.06.12.12.08.18.1a.53.53 0 0 1 .2.07c.09.07.18 0 .27 0 .09 0 0 0 0 .09.07.48.15.27.23.13.08-.14.07-.15.11 0 .04.15.06 0 .1 0 .04 0 .12-.21.19 0s.14 0 .22-.09c.08-.09.15-.26.23.06 0 .08 0 0 .06-.06s.1.14.14 0a1 1 0 0 1 .16-.26v.07c.1.26.2 0 .3.11.1.11 0-.1.06-.19s.07-.16.1 0 .06.07.09.11c.03.04.17.26.25-.14 0 0 .09.06.13 0 .04-.06.1 0 .14.08.18.4.18.42.35.19 0 0 .06-.07.09-.06.03.01.09-.61.18-.61s.08-.14.11.27c.03.41.1.25.14.19.21-.33.42 0 .63 0l.16.13c.06.05.09 0 .14-.2.05-.2.14-.25.22-.15.08.1.27.24.4.19.13-.05.28 0 .42.25.14.25.14 0 .2-.18s.17-.11.21.35c.04.46.12.17.12.17h.1c.03 0 .1-.56.18-.52.08.04.17.23.28.39.11.16.21-.19.32-.09.11.1 0 0 .08.06s.11.07.17.06c.06-.01.36-.3.54-.11h.09c.03 0 .29-.25.44.12.11-.33.21-.1.32-.21.11-.11.16 0 .25 0s.16-.14.24.07c.08.21.17-.23.25-.19.12.09.23 0 .35 0 .12 0 .13-.12.19-.12s.12.15.17 0c.05-.15.12.14.18 0s.05 0 .06-.06c.01-.06.09-.12.13 0 .04.12.1.78.24.52.06-.1.12-.28.18.07 0 0 0 .06 0 0 0-.28.08-.34.12 0 .08-.39.16-.1.25-.12.09-.02.09.08.14.2.05.12.07.07.11 0 .04-.07.21-.32.32-.24.11.08.13.08.2 0s.09-.26.13.14c0 .07 0 0 0 0s.07-.1.11 0c.04.1.26.21.39.15s.13 0 .19 0 0-.08.06-.1c.06-.02.18-.46.27-.14 0 .08.05.05.08 0s.09-.17.14-.1c.05.07.11.12.17 0 .06-.12.13-.11.19.09s0 .08.08.07a2.87 2.87 0 0 1 .31 0c.05 0 .1.14.15.13a2.25 2.25 0 0 0 .35-.22c.05 0 .09 0 .13.19.04.19.12.26.18 0s.19-.34.28-.07c.09.27.2.27.3-.1.1-.37.13-.46.2-.28s0 .05.05 0 .09 0 .13.17c.04.17.1.27.15.17.05-.1.2-.33.3-.1 0 .07.06 0 .09-.11s.08-.22.13-.17a.57.57 0 0 0 .24.21.24.24 0 0 0 .25-.14c.08-.13.17-.07.25 0 .08.07.11-.06.17.13.1.37.2.22.31.07.11-.15 0-.05.05-.05l.43.14s0-.07.06-.1v.19c.09-.2.18-.56.27-.17.06-.2.12.14.18.07s.18.19.27-.27c0-.1 0-.09.06 0s.1.11.15-.1c.05-.21.05 0 .07.23 0 0 0-.2.05-.12 0 .45.1.25.15.15.05-.1 0-.08 0 0 .08.35.16.22.24.19.08-.03.12-.37.19.16 0 .1 0 0 .05 0s.12-.14.18 0 .05.07.08 0c.07-.31.13-.09.2 0s.05.11.06 0c.05-.31.1-.27.14-.11.04.16.18-.19.27.13v-.1c0-.4.07-.42.11-.09.04.33.05.17.08.08.03-.09.14-.3.22-.14.08.16.15.37.22-.15 0-.13 0 0 .07 0s.07.12.11 0c.04-.12.13 0 .19.16s.11.13.17-.05c.06-.18.13-.34.19-.22.06.12.12.08.18.1a.56.56 0 0 1 .19.07c.09.07.18 0 .27 0 .09 0 0 0 0 .09.08.48.15.27.23.13.08-.14.08-.15.12 0 .04.15.06 0 .09 0s.12-.21.19 0 .15 0 .22-.09.15-.26.23.06c0 .08 0 0 .06-.06s.1.14.15 0a1 1 0 0 1 .15-.26v.07c.1.26.2 0 .3.11.1.11 0-.1.06-.19s.07-.16.1 0 .06.07.09.11c.03.04.17.26.25-.14 0 0 .09.06.13 0 .04-.06.1 0 .15.08.16.38.17.42.32.22.15-.2.13-.17.19 0l.19.1a.88.88 0 0 1 0 .21s.1-.12.15-.3c.05-.18.13-.46.2-.28s0 .05.06 0 .08 0 .12.17c.04.17.1.27.16.17s.19-.33.29-.1c0 .07.07 0 .09-.11.02-.11.09-.22.13-.17a.53.53 0 0 0 .25.21c.08 0 .16 0 .25-.14s.16-.07.24 0c.08.07.12-.06.17.13.1.37.2.22.31.07.11-.15 0-.05.05-.05l.43.14s0-.07.06-.1c0 .07 0 .22.05.19.09-.2.18-.56.28-.17.06-.2.11.14.17.07.06-.07.18.19.27-.27 0-.1 0-.09.06 0s.11.11.16-.1c.05-.21.05 0 .07.23 0 0 0-.2.05-.12 0 .45.09.25.15.15s0-.08 0 0c.07.35.15.22.23.19.08-.03.13-.37.19.16 0 .1 0 0 0 0s.12-.14.18 0 .06.07.08 0c.07-.31.14-.09.21 0 .07.09 0 .11.06 0 0-.31.09-.27.14-.11.05.16.18-.19.27.13v-.1c0-.4.07-.42.11-.09.04.33 0 .17.08.08.08-.09.15-.3.22-.14.07.16.15.37.22-.15 0-.13.05 0 .08 0s.07.12.1 0v2.45h-.06c-.06 0-.17.23-.25-.19-.09.16-.19-.17-.28.22 0 .08 0 0-.06 0-.15-.26-.29-.28-.44-.14-.15.14 0 .1-.07 0-.08-.29-.15-.06-.23 0-.08.06-.07.18-.11.17a.93.93 0 0 1-.32-.15c-.07 0-.14-.15-.22.11 0 .07 0 .06-.06 0-.17-.28-.33-.13-.5 0-.17.13-.06 0-.09-.05s-.21-.49-.31-.08c0 .06 0 .05 0 0-.09-.36-.19-.09-.28-.19-.09-.1-.07 0-.1.13s-.13.23-.19 0c0-.06 0-.07 0 0s-.16.06-.24 0c-.08-.06-.16-.24-.24-.1-.08.14-.19.32-.29.31-.1-.01-.07.09-.1 0-.12-.31-.24-.14-.36-.21-.12-.07-.15 0-.23 0-.08 0-.16.31-.24 0-.14.13-.28.08-.43.06a2.38 2.38 0 0 0-.59 0s-.09-.1-.14 0a.2.2 0 0 1-.1.09c0 .11-.05.15-.08 0s-.14-.29-.21-.17v.07c-.12.17-.24.19-.35.15-.11-.04-.27 0-.41.19-.14.19-.15.1-.22-.15s-.09-.25-.14-.21c-.05.04-.11.12-.16.13-.21 0-.41.37-.62 0-.05-.07-.1-.16-.14.18 0 .09 0 0 0 0s-.07-.1-.11-.1a1 1 0 0 1-.36-.16c-.18-.14-.37-.21-.55.16 0 .1-.1.15-.15 0-.05-.15-.16 0-.23 0s0 .1-.06.08c-.17-.22-.34-.26-.52-.14h-.06c-.06 0-.17.23-.25-.19-.09.16-.19-.17-.28.22 0 .08-.05 0-.07 0-.14-.26-.29-.28-.43-.14s-.05.1-.08 0c-.07-.29-.15-.06-.22 0s-.08.18-.11.17a.93.93 0 0 1-.32-.15c-.07 0-.15-.15-.22.11 0 .07 0 .06-.07 0-.16-.28-.33-.13-.49 0-.16.13-.06 0-.09-.05s-.21-.49-.32-.08c0 .06 0 .05 0 0-.09-.36-.18-.09-.27-.19-.09-.1-.07 0-.1.13s-.13.23-.2 0c0-.06 0-.07 0 0s-.15.06-.23 0c-.08-.06-.17-.24-.25-.1-.08.14-.19.32-.28.31-.09-.01-.07.09-.11 0-.11-.31-.23-.14-.35-.21a.49.49 0 0 0-.24 0c-.07 0-.15.31-.23 0-.14.13-.29.08-.43.06a2.35 2.35 0 0 0-.59 0c-.05 0-.1-.1-.14 0-.04.1-.16.14-.24 0-.08-.14-.11-.16-.17 0-.06.16-.09 0-.14-.09-.05-.09-.1.31-.15.22-.05-.09-.19-.26-.29-.19-.1.07-.25 0-.38 0s-.27-.12-.41-.09c-.14.03-.2.3-.3.06-.1-.24-.32.08-.47-.1-.15-.18-.2.14-.3.17a.9.9 0 0 1-.46 0s-.1-.17-.16 0c0-.44-.1-.29-.16 0 0 0 0 .07 0 0-.07-.41-.13 0-.19.06s-.31-.15-.46-.09a.59.59 0 0 0-.14.06s-.07.11-.11.1a.52.52 0 0 0-.51 0v-.1c0-.31-.07-.16-.11-.1-.04.06-.11.19-.17.1-.06-.09 0 0-.07 0-.07.25-.15.35-.22.17-.07-.18-.26.34-.39 0l-.05.07a.19.19 0 0 0 0 .1c0 .28-.09.2-.14 0-.05-.2-.07-.14-.11-.07-.04.07-.07 0-.1 0s-.3 0-.46-.15c-.16-.15-.25.07-.37.13s-.13.1-.2-.14c0-.08 0 0-.06 0s0 .15-.06.15a.33.33 0 0 1-.2-.15c-.07-.12-.13.21-.19.27-.06-.11-.11 0-.17.17-.06.17-.12.11-.18 0s-.19-.29-.29-.21c-.1.08-.14.14-.21 0-.07-.14-.21-.16-.32.08 0 .06-.06 0-.09 0s0 0 0-.07c0-.52-.08-.57-.11-.53h-.09A1.3 1.3 0 0 1 39 33s-.06 0-.09-.06c-.17-.23-.17-.22-.35.19 0 .11-.09.12-.14.08-.05-.04-.09-.15-.13 0-.04.15 0 .06 0 0-.08-.39-.16-.25-.24-.13-.08.12-.06 0-.09.1s-.07.12-.1 0 0-.21-.06-.19c-.06.02-.2-.14-.3.11v.08a1.18 1.18 0 0 1-.16-.26c0-.12-.09.24-.14 0-.05-.24 0-.15-.06-.07-.08.33-.16.31-.23.06s-.13.37-.21.13c-.08-.24-.14-.29-.21-.17-.07.12-.28.29-.42.25-.14-.04-.27 0-.4.19s-.15.1-.22-.15-.1-.25-.14-.21c-.04.04-.11.12-.16.13-.21 0-.42.37-.63 0 0-.07-.09-.16-.14.18 0 .09 0 0 0 0s-.07-.1-.11-.1a1 1 0 0 1-.36-.16c-.18-.14-.37-.21-.55.16 0 .1-.1.15-.15 0-.05-.15-.16 0-.24 0-.08 0 0 .1 0 .08-.17-.22-.35-.26-.52-.14h-.07c-.07 0-.16.23-.24-.19-.09.16-.19-.17-.29.22 0 .08 0 0-.06 0-.14-.26-.29-.28-.43-.14s-.06.1-.08 0c-.08-.29-.15-.06-.22 0s-.08.18-.12.17a.88.88 0 0 1-.31-.15c-.08 0-.15-.15-.22.11 0 .07 0 .06-.07 0-.16-.28-.33-.13-.5 0-.17.13-.06 0-.09-.05s-.2-.49-.31-.08c0 .06 0 .05-.05 0-.09-.36-.18-.09-.27-.19-.09-.1-.07 0-.11.13-.04.13-.12.23-.19 0 0-.06 0-.07 0 0s-.15.06-.23 0c-.08-.06-.17-.24-.25-.1-.08.14-.19.32-.28.31-.09-.01-.08.09-.11 0-.12-.31-.23-.14-.35-.21a.49.49 0 0 0-.24 0c-.08 0-.15.31-.23 0-.14.13-.29.08-.43.06a2.31 2.31 0 0 0-.59 0s-.1-.1-.14 0c-.04.1-.16.14-.24 0-.08-.14-.11-.16-.17 0-.06.16-.09 0-.14-.09-.05-.09-.1.31-.15.22-.05-.09-.19-.26-.29-.19-.1.07-.25 0-.38 0s-.27-.12-.41-.09c-.14.03-.21.3-.3.06s-.32.08-.48-.1c-.16-.18-.19.14-.29.17a.89.89 0 0 1-.46 0c-.05 0-.11-.17-.16 0 0-.44-.1-.29-.16 0 0 0 0 .07 0 0-.07-.41-.13 0-.2.06s-.3-.15-.45-.09a.94.94 0 0 0-.15.06s-.07.11-.1.1a.52.52 0 0 0-.51 0l-.05-.1c0-.31-.08-.16-.12-.1-.04.06-.11.19-.16.1s0 0-.07 0c-.07.25-.15.35-.22.17-.07-.18-.26.34-.39 0l-.06.07a.41.41 0 0 0 0 .1c0 .28-.1.2-.15 0-.05-.2-.07-.14-.1-.07s-.07 0-.1 0-.31 0-.46-.15c-.15-.15-.25.07-.37.13s-.13.1-.2-.14c0-.08 0 0-.06 0s0 .15-.07.15a.32.32 0 0 1-.19-.15c-.07-.12-.13.21-.19.27-.06.06 0 0 0 0s-.12 0-.17.17c-.05.17-.12.11-.18 0s-.19-.29-.29-.21c-.1.08-.14.14-.21 0L16.88 31z\\\" fill=\\\"#FFF\\\"/><circle fill=\\\"#FFF\\\" cx=\\\"34.14\\\" cy=\\\"19.62\\\" r=\\\"5.99\\\"/><path d=\\\"M41 19.69c-.16.09.17.2.07.29L41 20a.34.34 0 0 0-.07.15c0 .15.27.34.06.47v.09c0 .03.22.31-.18.35.29.16 0 .2.13.32s0 .15 0 .21.09.19-.13.19.17.22.1.28c-.13.06-.08.19-.11.3-.03.11.06.15 0 .21s-.18 0 0 .15-.17 0-.11.14c.06.14 0 0 0 .08s.07.13 0 .12c-.07-.01-.72-.3-.56-.06.06.09.18.24-.14.09 0 0-.06 0 0 0 .21.17.25.24 0 .11.29.27 0 .18 0 .25s-.12 0-.24 0-.09 0-.07.07c.02.07.14.34 0 .36-.14.02-.13.05-.1.16s.15.23-.18 0v.1c0-.01-.3 0-.34.15-.04.15-.08.06-.12.1-.04.04 0 .08 0 .11s.19.44-.08.27c-.07 0-.07 0 0 .08s0 .18 0 .16c0-.02-.15 0-.13.07.02.07 0 .15-.2 0s-.09 0-.1 0c-.01 0-.13.12-.19.2-.06.08-.15-.07-.18 0a1.42 1.42 0 0 0-.15.35s-.06 0-.2-.11-.21-.18-.14.06c.07.24 0 .37-.2.16s-.26-.16-.19.21.08.48-.06.33c-.14-.15 0 0 0 0s-.07 0-.18-.12c-.11-.12-.18-.22-.19-.11-.01.11-.06.37-.22.18s-.06 0 0 .14 0 .23-.06.19a.61.61 0 0 0-.28-.14c-.07 0-.14 0-.19.19-.05.19-.13.11-.22.07-.09-.04-.09.08-.17-.1-.16-.35-.22-.19-.29 0-.07.19 0 .06 0 .06l-.4-.1v.1c0-.06 0-.22-.05-.19-.07.21-.14.58-.24.18 0 .2-.11-.13-.16-.06s-.16-.19-.25.26c0 .1 0 .1-.06 0s-.09-.11-.15.09 0 0 0-.22v.1c0-.44-.07-.25-.13-.15s0 .08 0 0c0-.36-.11-.24-.18-.22-.07.02-.17.35-.15-.18 0-.1 0 0 0 0s-.13.13-.16-.06 0-.07-.07 0c-.12.29-.14.07-.17-.08-.03-.15 0-.12 0 0-.1.29-.14.24-.14.07 0-.17-.2.15-.19-.18l-.06.09c-.14.38-.18.39-.12.06s0-.17 0-.09c0 .08-.21.23-.22.06-.01-.17 0-.39-.24.08-.06.11 0 0-.06 0s0-.13-.08 0-.14 0-.1-.2c.04-.2 0-.16-.16 0s-.25.27-.25.13-.06-.12-.1-.16c-.04-.04-.1-.07-.12-.14-.02-.07-.13-.11-.22-.11s0 0 0-.1c.19-.45 0-.3-.1-.22-.1.08-.14.09-.1 0 .04-.09 0-.07 0-.07s-.21.1-.16-.07c.05-.17-.07-.12-.21 0-.14.12-.28.12-.13-.18 0-.07 0 0-.08 0s0-.17-.08-.11a.75.75 0 0 1-.27.1v-.08c.1-.24-.12-.13-.12-.26s-.1 0-.18.1c-.08.1-.16.07-.1 0s0-.08 0-.13.09-.29-.25-.08c0 0 0-.1-.06-.1s-.09-.05 0-.15c.2-.38.23-.39-.05-.37h-.09s-.55.3-.6.23c-.05-.07-.15 0 .16-.24s.16-.22.08-.21c-.38 0-.2-.34-.27-.51a.5.5 0 0 1 0-.19c0-.06-.07-.05-.24 0-.17.05-.28 0-.22-.12.06-.12.11-.32 0-.42-.11-.1-.11-.24.09-.44s0-.13-.22-.12c-.22.01-.16-.11.27-.28.43-.17.14-.14.14-.14s0-.06-.06-.08c-.06-.02-.57.06-.54 0 .03-.06.18-.2.31-.32s-.21-.15-.13-.27v-.07c0-.06.06-.11 0-.16s-.34-.28-.16-.45c.18-.17 0 0 0-.08s-.27-.26.1-.39c-.32-.09-.09-.18-.2-.28-.11-.1 0-.15 0-.22s-.14-.17.08-.22c.22-.05-.21-.17-.15-.24.06-.07 0 0 0 0v-.32c0-.11-.1-.14-.09-.19.01-.05.18-.08 0-.16s.16-.08.08-.16 0 0 0-.07-.09-.11 0-.13c.09-.02.76.14.56-.06-.2-.2-.23-.19.12-.12 0 0 .06 0 0 0-.25-.12-.3-.18 0-.11-.35-.21 0-.17 0-.25 0-.08.1 0 .23 0s.09 0 .06-.08-.21-.3-.1-.35c.11-.05.13-.07.06-.17s-.2-.19.18 0c.06 0 0 0 0 0v-.11s.3-.09.31-.22c.01-.13.06-.08.08-.13.02-.05 0-.07-.05-.1s-.28-.39 0-.27c.07 0 .07 0 0-.08s-.08-.17 0-.16c.08.01.15 0 .11-.11-.04-.11 0-.16.19-.07s.09 0 .09 0 .11-.15.15-.23c.04-.08.16 0 .18 0a1.28 1.28 0 0 0 .07-.37s.06-.06.22.07.25.13.13-.09-.09-.37.15-.2c.24.17.3.1.14-.25-.16-.35-.17-.44 0-.33.17.11 0 0 0-.05s0-.07.19.08c.19.15.22.17.21.07-.01-.1 0-.38.18-.23 0 0 .06 0 0-.14s0-.23 0-.2a.62.62 0 0 0 .3.07c.07 0 .13-.07.14-.22.01-.15.11-.13.2-.11.09.02.07-.11.19.05s.25.14.29 0h.41v-.11c0 .06.09.2.09.17 0-.21 0-.58.2-.22 0-.21.14.1.17 0s.19.14.19-.32c0-.1 0-.1 0 0s.11.1.13-.11c.02-.21 0 0 .09.21v-.12c.11.43.12.23.16.13.04-.1 0-.09 0 0 .11.33.16.2.23.16.07-.04.09-.37.18.16 0 .09 0 0 0 0s.1-.15.16 0 0 .06.06-.05c.06-.3.12-.09.18 0s0 .11.06 0c0-.3.08-.26.12-.1.04.16.17-.18.23.14v-.1c0-.4.09-.42.1-.08.01.34 0 .17.07.08.07-.09.15-.28.2-.12.05.16.08.39.22-.12 0-.13 0 0 .06 0s.05.13.09 0c.04-.13.13 0 .15.18.02.18.07.14.15 0 .08-.14.19-.31.22-.17.03.14.09.1.14.13a.79.79 0 0 1 .15.12c.06.09.15.07.24.06.09-.01 0 0 0 .09-.09.48 0 .3.15.19.15-.11.12-.11.1 0-.02.11 0 .06.07.06s.18-.16.17 0c-.01.16.1.1.21 0 .11-.1.25-.17.16.15 0 .08 0 0 .08 0s0 .16.1.08a.84.84 0 0 1 .25-.16v.08c0 .27.15.11.18.24s.09-.07.15-.14.14-.1.1 0c-.04.1 0 .08 0 .13s0 .3.26 0c0 0 0 .09.08.09s.09 0 .06.14c-.12.4-.14.42.09.35s.2-.05.16.08a1.05 1.05 0 0 1 0 .19s0 .08-.13.16.14 0 .3-.14c.16-.14.41-.24.33-.07-.08.17 0 .06 0 0s.07 0 0 .21-.13.24 0 .22c.13-.02.37-.09.26.13 0 .06 0 .06.14 0s.21-.07.2 0c-.01.07-.06.24 0 .31s.09.12.24.1c.15-.02.16.08.15.18-.01.1.11.06 0 .2s-.1.27.08.28c.18.01.06 0 .06 0 .03.135.05.272.06.41h.12c-.06 0-.19.12-.16.12.22 0 .59-.09.26.15.21 0-.07.15 0 .18s-.12.21.34.13h.06c-.04 0-.07.12.14.1.21-.02 0 0-.19.13H41h.12c-.4.18-.2.16-.1.18.1.02.09 0 0 0-.32.17-.18.19-.13.26.05.07.39 0-.12.2-.09 0 0 0 0 0s.16.08 0 .16 0 .06 0 .06c.31 0 .11.11 0 .19s-.11.06 0 0c.3 0 .28 0 .12.11-.16.11.22.13-.09.25h.11c.4 0 .42 0 .09.08-.33.08-.16.06-.07.08.09.02.3.11.15.19s-.37.14.16.19c.13 0 0 0 0 .07s-.12.06 0 .09h-2.45c.2 0-.23-.09.18-.15-.16 0 .16-.13-.23-.17-.08 0 0 0 0 0 .25-.11.25-.21.1-.27-.15-.06-.1 0 0-.05.28-.09 0-.1-.07-.13s-.18 0-.18 0a1.08 1.08 0 0 1 .11-.21c0-.06.12-.13-.14-.1-.07 0-.07 0 0 0 .25-.17.08-.24-.06-.29-.14-.05 0-.05 0-.07 0-.02.42-.29 0-.21-.06 0 0 0 0 0 .32-.19 0-.14.11-.23s0 0-.15 0-.24 0 0-.12c0 0-.1-.06 0-.14.1-.08.15-.2 0-.18-.15.02-.34.07-.35 0-.01-.07-.11 0 0 0 .23-.24 0-.2 0-.3 0-.1 0-.09-.08-.12s-.3.11-.08-.13c-.15 0-.18-.08-.22-.17a.85.85 0 0 0-.29-.24v-.07c0 .04-.09 0-.11 0-.02 0-.13.1-.07 0s.13-.29 0-.22h-.08c-.16.08-.22 0-.26 0-.04 0-.13-.09-.3 0-.17.09-.12 0 0-.2s.09-.24 0-.21-.12.07-.15.06c-.03-.01-.38.2-.35-.15 0-.07 0-.17-.15.14 0 .07 0 0 0 0v-.13c0-.02-.11-.1-.14-.22-.03-.12-.15-.29-.36 0-.06.09-.1.13-.1 0s-.08-.06-.12-.08c-.04-.02 0 .09 0 .06 0-.23-.15-.3-.28-.19-.13.11 0 0 0 0s-.13.21-.13-.21c-.07.15-.1-.19-.19.2 0 .08 0 0 0 0-.07-.26-.16-.29-.26-.15-.1.14 0 .1 0 0 0-.29-.09-.07-.13 0-.04.07-.05.19-.07.18a.61.61 0 0 1-.2-.15s-.1-.14-.12.12c0 .08 0 .07 0 0-.13-.26-.21-.09-.29 0-.08.09-.05 0-.07 0-.02 0-.22-.47-.2 0 0 .06 0 .06 0 0-.13-.34-.13-.06-.21-.14-.08-.08 0 0 0 .14s0 .24-.12 0c0 0-.08.09-.15 0-.07-.09-.18-.18-.18 0s0 .35-.05.35 0 .1-.06 0c-.19-.26-.18-.06-.28-.09-.1-.03-.1 0-.14.05-.04.05.06.31-.14 0 0 .17-.11.17-.2.2-.09.03-.19.16-.28.24-.09.08-.1 0-.08 0 .02 0 0 .17-.15.06-.15-.11-.16-.08-.06.09.1.17 0 .07-.13 0s.17.28.08.23c-.09-.05-.26-.11-.26 0s-.13.1-.18.17c-.05.07-.2 0-.24.14-.04.14.15.28-.07.19-.22-.09-.06.21-.27.18-.21-.03.06.19 0 .26a.41.41 0 0 1-.17.24s-.18 0-.08.06c-.41-.17-.29-.06-.06.09 0 0 .06 0 0 0-.39-.14 0 .07 0 .13s-.23.12-.2.24a.22.22 0 0 0 0 .1s.08.08.06.1a.21.21 0 0 0-.1.3h-.09c-.32-.06-.17 0-.12.05.05.05.17.11.07.12-.1.01 0 0 0 .06.24.1.31.16.13.16-.34 0 .32.22 0 .25h.07a.22.22 0 0 0 .09 0c.27.06.19.08 0 .09-.19.01-.16 0-.08 0s0 0 0 .06 0 .17-.16.26 0 .15.12.22.11.07-.13.12c-.08 0 0 0 0 0h.15a.22.22 0 0 1-.14.13c-.12.05.21.06.28.09.07.03 0 0 0 0s0 .06.18.07c.18.01.12.05 0 .1s-.27.16-.19.2c.08.04.16 0 .07.1s-.12.16.12.16h-.01c-.5.16-.54.2-.49.21v.06a1.6 1.6 0 0 1 .19.11v.08c-.18.17-.16.18.25.13h.11c-.02 0-.11.1.06.05.17-.05 0 0 0 0-.34.21-.18.19-.06.19h.12c.12 0 .12 0 0 .07s-.18.12-.16.12c.02 0-.06.18.19.11h.08a1.66 1.66 0 0 1-.17.22c-.09.08.24-.09.07.06-.17.15-.11.1 0 .06.3-.13.3-.08.14.09-.16.17.34-.15.18 0-.16.15-.19.25-.06.21.13-.04.33-.05.35 0 .02.05.12.11.3 0s.12 0 0 .2-.13.22-.08.21c.05-.01.13 0 .16 0s.41-.11.31.21c0 .07 0 .17.18-.09.06-.07 0 0 0 0v.12a1 1 0 0 1 .09.26c0 .17.09.3.36 0 .08-.08.12-.1.09 0s.07.07.1.1.06-.08.06-.06c0 .24.08.34.23.26.15-.08 0 0 0 0s.17-.18.08.23c.1-.13.06.2.23-.15 0-.07 0 0 0 0 0 .27.1.31.22.19s0-.08 0 0c0 .29.08.08.14 0 .06-.08.08-.17.1-.16a.48.48 0 0 1 .16.18c0 .06.07.16.15-.09 0-.07 0-.06 0 0 .07.29.19.14.3 0 .11-.14 0 0 0 0s.12.5.19.09c0-.06 0-.05 0 0 .06.36.11.08.17.18.06.1 0 0 .06-.13s.07-.23.12 0c0 0 0 .06 0 0s.09-.06.15 0 .13.21.17.07c.04-.14.06-.34.12-.33.06.01 0-.1.06 0 .14.31.17.11.26.16s.1 0 .15 0c.05 0 0-.31.14 0 0-.14.15-.14.24-.14a.8.8 0 0 0 .33-.17s.09.06.09 0 0-.16.15 0 .14.12.08-.06c-.06-.18 0-.07.12 0s-.1-.31 0-.24.24.16.25.06c.01-.1.16-.05.21-.11.05-.06.21 0 .27-.09.06-.09-.08-.3.11-.17.19.13.1-.19.3-.12.2.07 0-.19 0-.26a.36.36 0 0 1 .2-.2s.18.06.11 0c.36.26.27.13.07-.07 0 0 0-.05 0 0 .35.22 0-.07 0-.14s.24-.06.25-.18a.45.45 0 0 0 0-.11s-.07-.09 0-.11c.07-.02.21-.13.17-.26-.04-.13 0 0 .09 0 .3.13.17 0 .13 0-.04 0-.14-.15 0-.14.14.01 0 0 0-.06s-.27-.23-.09-.19c.35.05-.26-.28 0-.24l-.06-.06-.08-.05c-.25-.12-.17-.12 0-.09s.15 0 .09 0c0 0 0-.18.21-.23.21-.05 0-.16-.07-.24-.07-.08-.09-.09.16-.09.07 0 0 0 0 0s-.15-.05-.14-.06a.23.23 0 0 1 .17-.09c.12 0-.21-.1-.26-.14-.05-.04 0 0 0 0s0-.06-.16-.11-.11-.07 0-.1.29-.09.22-.15c-.07-.06-.14-.08 0-.12l2.32.25z\\\" fill=\\\"#000\\\"/><circle fill=\\\"#FFF\\\" cx=\\\"48.39\\\" cy=\\\"19.62\\\" r=\\\"5.99\\\"/><path d=\\\"M55.23 19.69c-.16.09.18.2.08.29a.22.22 0 0 0-.07.06c0 .05-.08.1-.07.15.01.05.26.34.05.47v.09c0 .03.21.31-.19.35.3.16 0 .2.14.32s0 .15-.05.21.08.19-.14.19c-.22 0 .17.22.1.28-.07.06 0 0 0 0s-.08.19-.1.3c-.02.11.06.15 0 .21s-.18 0 0 .15-.17 0-.11.14c.06.14-.05 0 0 .08s.06.13 0 .12c-.06-.01-.72-.3-.57-.06.07.09.19.24-.14.09.22.17.26.24 0 .11.29.27 0 .18 0 .25s-.11 0-.23 0c-.12 0-.1 0-.08.07.02.07.15.34 0 .36-.15.02-.14.05-.1.16.04.11.15.23-.18 0-.06 0 0 0 0 0v.1c0-.01-.31 0-.34.15-.03.15-.09.06-.12.1-.03.04 0 .08 0 .11s.19.44-.08.27c-.07 0-.07 0 0 .08s0 .18 0 .16c0-.02-.16 0-.14.07.02.07 0 .15-.2 0s-.08 0-.09 0c-.01 0-.13.12-.2.2-.07.08-.15-.07-.18 0a1.93 1.93 0 0 0-.15.35s-.06 0-.19-.11-.22-.18-.15.06 0 .37-.19.16-.27-.16-.19.21c.08.37.07.48-.06.33-.13-.15 0 0 0 0s-.07 0-.17-.12-.18-.22-.19-.11c-.01.11-.06.37-.22.18s-.06 0 0 .14 0 .23-.07.19a.63.63 0 0 0-.27-.14c-.08 0-.15 0-.19.19-.04.19-.14.11-.22.07-.08-.04-.1.08-.18-.1-.15-.35-.21-.19-.29 0-.08.19 0 .06 0 .06l-.4-.1v.1c0-.06-.05-.22-.06-.19-.06.21-.14.58-.24.18 0 .2-.11-.13-.16-.06s-.15-.19-.25.26c0 .1 0 .1-.06 0s-.09-.11-.15.09 0 0 0-.22c0 0-.05.18-.05.1 0-.44-.07-.25-.12-.15-.05.1 0 .08 0 0 0-.36-.12-.24-.19-.22-.07.02-.17.35-.14-.18 0-.1 0 0 0 0s-.13.13-.15-.06c-.02-.19 0-.07-.07 0-.12.29-.14.07-.17-.08-.03-.15 0-.12 0 0-.11.29-.14.24-.14.07 0-.17-.21.15-.2-.18l-.06.09c-.14.38-.18.39-.11.06.07-.33 0-.17 0-.09 0 .08-.22.23-.23.06-.01-.17 0-.39-.24.08-.06.11 0 0 0 0s0-.13-.09 0-.13 0-.1-.2 0-.16-.15 0-.26.27-.25.13c.01-.14-.07-.12-.11-.16-.04-.04-.6-.01-.6-.12s-.13-.11-.22-.11 0 0 0-.1c.2-.45 0-.3-.1-.22-.1.08-.14.09-.1 0 .04-.09 0-.07-.05-.07s-.21.1-.16-.07c.05-.17-.07-.12-.21 0-.14.12-.27.12-.12-.18 0-.07 0 0-.09 0s0-.17-.07-.11a.87.87 0 0 1-.28.1v-.08c.11-.24-.12-.13-.12-.26s-.1 0-.18.1c-.08.1-.16.07-.09 0s0-.08 0-.13.09-.29-.25-.08c0 0 0-.1-.06-.1s-.08-.05 0-.15c.21-.38.23-.39 0-.37h-.1c-.01 0-.54.3-.59.23-.05-.07-.16 0 .16-.24s.15-.22.07-.21c-.37 0-.2-.34-.26-.51a.29.29 0 0 1 0-.19c0-.06-.08-.05-.24 0-.16.05-.28 0-.23-.12.05-.12.11-.32 0-.42-.11-.1-.1-.24.1-.44s0-.13-.23-.12c-.23.01-.15-.11.28-.28.43-.17.14-.14.14-.14s0-.06-.07-.08c-.07-.02-.56.06-.54 0 .02-.06.19-.2.32-.32s-.22-.15-.14-.27v-.07c0-.06.06-.11.05-.16-.01-.05-.35-.28-.16-.45v-.08c0-.08-.27-.26.1-.39-.32-.09-.09-.18-.19-.28-.1-.1 0-.15 0-.22s-.13-.17.09-.22c.22-.05-.22-.17-.16-.24.06-.07 0 0 0 0v-.32c0-.11-.1-.14-.08-.19.02-.05.17-.08 0-.16s.16-.08.08-.16 0 0 0-.07-.09-.11 0-.13c.09-.02.76.14.56-.06-.2-.2-.23-.19.12-.12-.25-.12-.3-.18 0-.11-.34-.21 0-.17 0-.25 0-.08.1 0 .22 0s.09 0 .06-.08-.21-.3-.09-.35c.12-.05.12-.07.06-.17s-.2-.19.17 0c.07 0 0 0 0 0v-.11s.3-.09.31-.22c.01-.13.07-.08.09-.13.02-.05-.05-.07-.06-.1-.01-.03-.27-.39 0-.27.08 0 .07 0 0-.08s-.08-.17 0-.16c.08.01.16 0 .11-.11s0-.16.19-.07.09 0 .1 0c.04-.082.09-.16.15-.23h.18a2.73 2.73 0 0 0 .07-.37s0-.06.22.07.24.13.13-.09c-.11-.22-.09-.37.14-.2.23.17.3.1.15-.25s-.17-.44 0-.33c.17.11 0 0 0-.05s.06-.07.2.08c.14.15.22.17.21.07-.01-.1 0-.38.17-.23s.06 0 0-.14 0-.23 0-.2a.67.67 0 0 0 .3.07c.07 0 .14-.07.15-.22.01-.15.1-.13.2-.11.1.02.07-.11.19.05s.25.14.29 0h.41v-.11c0 .06.08.2.09.17 0-.21 0-.58.2-.22 0-.21.13.1.17 0 .04-.1.19.14.18-.32 0-.1 0-.1 0 0s.11.1.13-.11c.02-.21.05 0 .1.21v-.12c.1.43.12.23.15.13s0-.09.05 0c.11.33.16.2.23.16.07-.04.09-.37.18.16 0 .09 0 0 0 0s.1-.15.16 0 .05.06.07-.05c0-.3.12-.09.18 0s0 .11.05 0c0-.3.09-.26.12-.1s.17-.18.23.14v-.1c.06-.4.09-.42.1-.08.01.34 0 .17.07.08.07-.09.16-.28.21-.12.05.16.07.39.21-.12 0-.13 0 0 .07 0s0 .13.09 0 .13 0 .14.18c.01.18.07.14.16 0s.19-.31.21-.17c.02.14.09.1.14.13.05.03.11.06.15.12.04.06.15.07.24.06.09-.01 0 0 0 .09-.09.48 0 .3.15.19.15-.11.11-.11.1 0-.01.11 0 .06.06.06s.19-.16.18 0c-.01.16.09.1.21 0s.24-.17.16.15c0 .08 0 0 .08 0s0 .16.1.08a.82.82 0 0 1 .24-.16v.08c0 .27.15.11.17.24.02.13.09-.07.16-.14s.14-.1.1 0c-.04.1 0 .08 0 .13s0 .3.26 0c0 0 0 .09.08.09s.09 0 .06.14c-.12.4-.14.42.1.35.24-.07.19-.05.16.08s0 .12.05.19a1.21 1.21 0 0 1-.13.16s.14 0 .3-.14c.16-.14.41-.24.33-.07-.08.17 0 .06 0 0s.08 0 0 .21-.13.24 0 .22c.13-.02.37-.09.25.13 0 .06 0 .06.14 0s.22-.07.2 0a.57.57 0 0 0 0 .31c0 .07.09.12.25.1.16-.02.15.08.14.18-.01.1.11.06 0 .2s-.09.27.09.28h.06c0 .14 0 .28.06.41.06.13.08 0 .12 0-.05 0-.18.12-.15.12.21 0 .58-.09.26.15.2 0-.08.15 0 .18s-.12.21.34.13h.06c-.04 0-.08.12.14.1.22-.02 0 0-.19.13h-.08.2c-.41.18-.21.16-.1.18.11.02.09 0 0 0-.31.17-.17.19-.12.26.05.07.38 0-.12.2-.09 0 0 0 0 0s.17.08 0 .16-.05.06 0 .06c.31 0 .1.11 0 .19s-.1.06 0 0c.31 0 .28 0 .13.11-.15.11.21.13-.1.25h.11c.4 0 .43 0 .1.08-.33.08-.17.06-.08.08.09.02.3.11.15.19s-.36.14.16.19c.13 0 0 0 0 .07s-.11.06 0 .09h-2.44c.2 0-.23-.09.18-.15-.16 0 .17-.13-.22-.17-.08 0 0 0 0 0 .26-.11.26-.21.1-.27-.16-.06-.1 0 0-.05.28-.09 0-.1-.07-.13s-.19 0-.18 0a.53.53 0 0 1 .11-.21c0-.06.12-.13-.15-.1-.07 0-.06 0 0 0 .24-.17.07-.24-.07-.29-.14-.05 0-.05 0-.07 0-.02.41-.29 0-.21-.06 0-.06 0 0 0 .31-.19 0-.14.1-.23s0 0-.15 0-.23 0 0-.12.05 0 0 0-.09-.06 0-.14c.09-.08.15-.2 0-.18-.15.02-.34.07-.36 0-.02-.07-.1 0 0 0 .24-.24 0-.2.05-.3.05-.1-.05-.09-.08-.12s-.3.11-.07-.13c-.16 0-.19-.08-.23-.17a.81.81 0 0 0-.28-.24s0-.11-.05-.07a.17.17 0 0 1-.11 0c-.08.08-.12.1-.06 0s.13-.29 0-.22h-.07c-.16.08-.23 0-.26 0s-.14-.09-.3 0c-.16.09-.13 0 0-.2s.08-.24 0-.21-.11.07-.14.06c-.03-.01-.39.2-.35-.15 0-.07 0-.17-.16.14 0 .07 0 0 0 0v-.13a.65.65 0 0 1-.15-.22c-.05-.17-.15-.29-.36 0-.06.09-.1.13-.09 0 .01-.13-.08-.06-.12-.08-.04-.02-.05.09-.05.06-.05-.23-.15-.3-.27-.19-.12.11 0 0 0 0s-.13.21-.12-.21c-.08.15-.1-.19-.2.2 0 .08 0 0 0 0-.06-.26-.16-.29-.25-.15-.09.14 0 .1-.05 0 0-.29-.1-.07-.14 0-.04.07 0 .19-.07.18a.59.59 0 0 1-.19-.15s-.11-.14-.13.12c0 .08 0 .07 0 0-.13-.26-.22-.09-.3 0-.08.09 0 0-.06 0s-.22-.47-.2 0c0 .06 0 .06 0 0-.13-.34-.13-.06-.2-.14-.07-.08 0 0 0 .14s0 .24-.12 0c0 0-.07.09-.14 0s-.18-.18-.18 0 0 .35-.06.35 0 .1 0 0c-.19-.26-.19-.06-.28-.09-.09-.03-.1 0-.14.05-.04.05 0 .31-.14 0 0 .17-.11.17-.2.2-.09.03-.19.16-.28.24-.09.08-.11 0-.09 0 .02 0 0 .17-.14.06-.14-.11-.16-.08-.07.09.09.17 0 .07-.12 0s.16.28.08.23c-.08-.05-.27-.11-.26 0 .01.11-.13.1-.18.17-.05.07-.21 0-.25.14-.04.14.16.28-.07.19-.23-.09-.05.21-.26.18-.21-.03 0 .19 0 .26a.36.36 0 0 1-.16.24s-.18 0-.09.06c-.4-.17-.29-.06-.05.09 0 0 .06 0 0 0-.39-.14 0 .07 0 .13s-.23.12-.2.24a.54.54 0 0 0 0 .1s.09.08.07.1c-.02.02-.18.16-.1.3.08.14 0 0-.1 0-.31-.06-.17 0-.12.05.05.05.17.11.08.12-.09.01 0 0 0 .06.24.1.32.16.14.16-.34 0 .31.22 0 .25h.06a.23.23 0 0 0 .1 0c.26.06.18.08 0 .09-.18.01-.15 0-.08 0 .07 0 0 0 0 .06s0 .17-.15.26 0 .15.12.22.1.07-.14.12c-.07 0 0 0 0 0a1.3 1.3 0 0 1 .15 0 .28.28 0 0 1-.15.13c-.11.05.22.06.28.09.06.03 0 0 0 0s0 .06.19.07c.19.01.12.05 0 .1s-.27.16-.18.2c.09.04.15 0 .07.1-.08.1-.13.16.12.16.06 0 0 0 0 0h-.06c-.5.16-.54.2-.5.21v.06a1.8 1.8 0 0 1 .2.11v.08c-.18.17-.16.18.25.13h.1c-.03 0-.11.1.06.05.17-.05 0 0 0 0-.34.21-.19.19-.06.19h.11c.11 0 .12 0 0 .07s-.18.12-.15.12-.06.18.19.11h.07a1.66 1.66 0 0 1-.17.22c-.08.08.24-.09.07.06-.17.15-.1.1 0 .06.3-.13.3-.08.13.09-.17.17.35-.15.18 0-.17.15-.18.25-.06.21.12-.04.33-.05.35 0 .02.05.12.11.31 0s.12 0 0 .2-.13.22-.08.21c.05-.01.13 0 .16 0s.41-.11.31.21c0 .07 0 .17.17-.09.06-.07 0 0 0 0v.12a.57.57 0 0 1 .09.26c0 .17.09.3.36 0 .08-.08.13-.1.09 0-.04.1.07.07.11.1.04.03.06-.08.06-.06 0 .24.07.34.22.26.15-.08 0 0 0 0s.17-.18.07.23c.11-.13.06.2.24-.15 0-.07 0 0 0 0 0 .27.1.31.22.19s.06-.08.05 0c0 .29.08.08.14 0 .06-.08.09-.17.11-.16a.48.48 0 0 1 .16.18c0 .06.07.16.15-.09 0-.07 0-.06 0 0 .06.29.19.14.29 0 .1-.14 0 0 0 0s.12.5.19.09c0-.06 0-.05 0 0 .06.36.12.08.18.18.06.1 0 0 .06-.13s.06-.23.12 0c0 0 0 .06 0 0s.1-.06.15 0c.05.06.14.21.17.07.03-.14.07-.34.13-.33.06.01 0-.1.06 0 .13.31.17.11.25.16.08.05.1 0 .15 0 .05 0 0-.31.15 0 0-.14.14-.14.24-.14a.83.83 0 0 0 .32-.17s.1.06.09 0c-.01-.06 0-.16.15 0s.14.12.09-.06c-.05-.18 0-.07.12 0s-.11-.31 0-.24.23.16.25.06c.02-.1.15-.05.21-.11s.21 0 .26-.09c.05-.09-.08-.3.12-.17.2.13.09-.19.29-.12.2.07 0-.19 0-.26a.38.38 0 0 1 .21-.2s.17.06.1 0c.36.26.27.13.07-.07 0 0-.05-.05 0 0 .35.22 0-.07 0-.14s.25-.06.25-.18a.45.45 0 0 0 0-.11s-.06-.09 0-.11c.06-.02.2-.13.16-.26-.04-.13 0 0 .1 0 .29.13.17 0 .12 0-.05 0-.14-.15-.05-.14.09.01 0 0 0-.06-.21-.15-.28-.23-.09-.19.34.05-.27-.28 0-.24l-.05-.06-.09-.05c-.25-.12-.17-.12 0-.09s.16 0 .09 0h.05c.05 0 0-.18.2-.23.2-.05 0-.16-.06-.24-.06-.08-.09-.09.15-.09.08 0 0 0 0 0s-.14-.05-.13-.06c.01-.01 0-.07.16-.09.16-.02-.2-.1-.25-.14-.05-.04 0 0 0 0s0-.06-.16-.11-.11-.07 0-.1.3-.09.22-.15c-.08-.06-.14-.08 0-.12l2.47.19zM27.13.15c-.12.1.19 0 .12 0v.07c0 .01.31-.07.17.06-.14.13 0 0 0 0s.26-.06-.05.15c.29-.13.11 0 .22 0s0 0 0 .05.15 0 0 .09.23-.07.2 0v.07c0 .01.12 0 .13 0 .01 0-.12.1 0 0s-.11.09 0 .06 0 0 .07 0 .11 0 0 0-.67.39-.43.3c.24-.09.26-.1 0 .08.25-.13.32-.15 0 0 .36-.17.11 0 .14 0 .03 0-.06.06-.16.13s-.05 0 0 0 .3-.1.24 0 0 .07 0 0 .24-.11-.11.09c-.06 0 0 0 0 0s.09 0 0 0-.15.16-.08.16c.07 0 0 0 0 0h.1c.02 0 .42-.18.16 0-.07.05 0 0 0 0s.15-.06.1 0c-.05.06-.09.08 0 0s.1 0-.07.09-.06.05 0 .05h.07c.07 0-.11.08-.08.09h.23l-.16.12c-.16.12-.21.15 0 .06s.32-.12.09 0-.2.17.13 0 .42-.19.27-.08c-.15.11 0 0 0 0l-.13.11c-.13.11-.22.15-.13.11.09-.04.31-.11.12 0s0 0 .11 0 .2-.09.16-.05c-.04.04-.15.12-.15.15s0 0 .15 0h.05c-.04 0 .06 0-.09.1-.32.2-.17.15 0 .1a1.26 1.26 0 0 1-.07.16h.1l-.17.1c.19-.07.52-.23.18 0 .18-.08-.1.09 0 .08.1-.01-.14.13.27-.07.09-.05.09 0 0 0s-.09.08.1 0 0 0-.19.12h-.06.05s.18-.08.11 0c-.39.22-.21.14-.12.1.09-.04.08 0 0 0-.3.18-.17.14-.14.14s.34-.15-.12.12c-.08 0 0 0 0 0s.14 0 0 .06c.27-.13.09 0 0 .06s-.09.07 0 0c.28-.13.25-.11.11 0s.19 0-.08.12h.1c.35-.18.38-.19.09 0-.29.19-.14.09-.06.06.08-.03.27-.11.15 0-.12.11-.31.21.16 0 .11-.06 0 0 0 0s-.09.07 0 0 .06 0-.11.12c-.17.12-.11.09 0 0s.32-.14.22-.07 0 .06-.06.09a.28.28 0 0 1 0 .08c-.06 0 0 0 0 0h-.06c-.42.25-.22.16-.09.11s.14-.05 0 0c0 0 .2-.07.06 0s0 0 .11 0 .25-.09 0 .08h.07c.07 0-.12.09 0 0l.24-.09-.06.05c-.21.14 0 0-.06.12l.18-.08c.14-.07.15-.06 0 0s0 0-.09.07-.21.16.15 0v.07c-.34.23-.35.24-.13.17h.07s.54-.27.55-.25c.01.02.14-.05-.22.15s-.22.15-.15.12c.31-.11 0 .1 0 .16a.36.36 0 0 1-.09.09l.2-.06c.2-.06.23-.09.15 0-.08.09-.17.17-.12.18.05.01 0 0-.16.21s0 0 .17 0 .12 0-.28.21-.13.11-.13.11a4.61 4.61 0 0 1 .47-.2 2.75 2.75 0 0 1-.3.24c-.12.1.19 0 .12 0v.07c0 .01.31-.07.17.06-.14.13 0 0 0 0s.26-.05-.05.16c.29-.13.11 0 .22 0 0 0 .15 0 0 .09s.23-.07.2 0v.07c0 .01.12 0 .13 0 .01 0-.12.09 0 0s-.11.09 0 .06 0 0 .07 0 .11 0 0 0-.67.39-.43.3c.24-.09.26-.11 0 .08.25-.13.32-.15 0 0 .36-.17.11 0 .14 0 .03 0-.06.06-.16.13s-.05 0 0 0 .3-.1.24 0 0 .07 0 0 .24-.1-.11.1c-.06 0 0 0 0 0s.09 0 0 0-.15.16-.08.16c.07 0 0 0 0 0h.1c.09 0 .42-.18.16 0-.07 0 0 0 0 0h.1c-.05 0-.09.08 0 .05s.1 0-.07.09-.06.05 0 .05h.07c.07 0-.11.09-.08.1h.23l-.16.12c-.16.12-.21.15 0 0s.32-.11.09 0-.2.17.13 0 .42-.19.27-.09c-.15.1 0 0 0 0l-.13.11c-.13.11-.22.14-.13.11.09-.03.31-.11.12 0s0 0 .11 0 .2-.08.16 0a.63.63 0 0 0-.15.16h.2c-.04 0 .06 0-.09.1-.32.2-.17.15 0 .1l-.07.16h.1l-.17.1c.19-.07.52-.23.18 0 .18-.08-.1.09 0 .07.1-.02-.14.13.27-.07.09 0 .09 0 0 0s-.09.07.1 0 0 0-.19.12H31h.06s.18-.08.11 0c-.39.22-.21.14-.12.1.09-.04.08 0 0 0-.3.19-.17.14-.14.15.03.01.34-.15-.12.12-.08.05 0 0 0 0s.14 0 0 0c.27-.13.09 0 0 .07s-.09.06 0 0c.27-.14.25-.11.11 0s.19 0-.08.12h.1c.35-.19.38-.19.09 0-.29.19-.14.09-.06.06.08-.03.27-.11.15 0-.12.11-.31.21.16 0 .11-.05 0 0 0 0s-.09.07 0 0 .06 0-.11.12c-.17.12-.11.08.05 0s.32-.13.22-.06 0 .06-.06.09a.27.27 0 0 1 0 .07c-.06.06 0 .06 0 .06h-.06c-.42.24-.22.16-.09.11s.14 0 0 0c0 0 .2-.07.06 0s0 .05.11 0 .25-.09 0 .08h.07c.07 0-.12.1 0 0l.24-.09h-.06c-.21.14 0 .05-.06.12l.18-.08c.14-.07.15-.07 0 0l-.09.07c-.09.08-.21.16.15 0l-.05.07c-.32.22-.35.24-.16.17.19-.07.17-.05.07 0l-.07.09-.18.11.28-.12c.24-.1.42-.19.27-.08-.15.11 0 0 0 0l-.13.11c-.13.11-.22.15-.13.12s.31-.12.12 0 0 0 .11 0 .2-.09.16 0a1 1 0 0 0-.15.15h.15c.15 0 .09 0 0 0s.06 0-.09.09c-.32.2-.17.15 0 .11l-.07.16h.1l-.17.1c.19-.07.52-.22.18 0 .18-.09-.1.09 0 .07.1-.02-.14.13.28-.07.08 0 .08 0 0 0s-.09.08.1 0 0 0-.19.12h-.06.05s.18-.08.11 0c-.39.22-.21.14-.12.1.09-.04.08 0 0 0-.3.18-.17.14-.13.14.04 0 .33-.15-.13.12-.08 0 0 0 0 0s.14 0 0 .06-.06 0 0 0c.27-.13.09 0 0 .06s-.09.07 0 0c.28-.13.25-.11.11 0s.19-.05-.08.12h.1c.35-.18.38-.18.09 0-.29.18-.14.1-.06.06.08-.04.27-.11.15 0-.12.11-.31.21.16 0 .11-.06 0 0 0 0s-.09.07 0 0l-2.15 1.17s-.22.07.13-.14c-.15.05.13-.13-.22 0-.08 0 0 0 0 0 .21-.15.21-.19.07-.16-.14.03-.09 0 0 0 .25-.16 0-.06-.07 0l-.17.06a.46.46 0 0 1 .1-.14c0-.05.11-.11-.12 0-.07 0-.06 0 0 0 .22-.17.07-.13 0-.12-.07.01 0 0 0 0s.41-.28 0-.11c-.06 0 0 0 0 0 .31-.19 0-.08.13-.15.13-.07 0 0-.12 0s-.22.08 0-.05c-.09 0-.07 0 0-.06s.19-.15.06-.1c-.13.05-.31.11-.3.08.01-.03-.1 0 0 0 .26-.18.09-.12.14-.18.05-.06 0 0 0-.05s-.29.11 0-.06c-.14 0-.11 0-.11-.07s-.07-.08-.1-.11.07-.07 0 0-.08 0-.09 0c-.01 0-.14.07 0 0s.25-.17.13-.12h-.08c-.15.05-.19 0-.17 0 .02 0 0-.05-.21 0s-.11 0 .1-.12c.21-.12.21-.14.16-.13a.26.26 0 0 1-.13 0c-.05 0-.37.08-.1-.12 0 0 .13-.1-.18.06-.08 0 0 0 0 0l.08-.08a.36.36 0 0 1 .09-.15c.1-.11.14-.19-.21 0-.09 0-.14 0 0 0s0-.06 0-.08h-.07c.17-.14.19-.21.06-.18 0 0-.22.07.13-.15-.15.06.13-.12-.22 0-.08 0 0 0 0 0 .21-.16.21-.2.07-.16-.14.04-.09 0 0 0 .25-.15 0-.06-.07 0l-.17.06a.48.48 0 0 1 .1-.15s.11-.1-.12 0c-.07 0-.06 0 0 0 .23-.16.08-.13 0-.12-.08.01 0 0 0 0s.41-.28 0-.11c-.06 0-.06 0 0 0 .3-.19 0-.08.13-.15.13-.07 0 0-.12 0s-.22.08 0 0 .06 0 0 0-.07 0 0-.05.19-.15.06-.11c-.13.04-.31.12-.3.09.01-.03-.1 0 0 0 .26-.18.09-.12.14-.18.05-.06 0 0 0-.06s-.29.11 0-.06c-.14 0-.11 0-.11-.07s-.07-.07-.1-.11c-.03-.04.07-.07 0 0s-.14 0 0-.07.13-.11 0 0-.05 0 .06-.07-.29.13-.22.07c.07-.06.21-.17.13-.15-.08.02 0-.07 0-.1s.07-.11 0-.13c-.07-.02-.28.09-.09 0 .19-.09-.11 0 0-.15s-.15 0-.18 0a.08.08 0 0 1 0-.11s.14-.1 0-.06c.38-.22.24-.16 0 0 .35-.21 0 0-.08 0s.1-.14 0-.15h-.17c.01 0 0-.12-.06-.11-.06.01 0 0 .08-.06.27-.16.13-.09.08-.07-.05.02-.19.06-.12 0-.23.1-.33.13-.17 0s-.34.1-.1-.06h-.16c-.25.12-.18.07-.06 0s.12-.09 0-.06c0 0 0-.06.07-.17.07-.11-.08 0-.15 0-.07 0-.11 0 .1-.12.21-.12 0 0 0 0l-.14.06.11-.12c.11-.12-.21.08-.27.09-.06.01 0 0 0 0h-.17c-.17 0-.11 0 0 0s.23-.18.15-.17c-.08.01-.14 0-.07 0s.12-.12-.1 0c-.06 0 0 0 0 0l.06-.05c.46-.25.49-.29.45-.28h-.16c.18-.15.16-.14-.21 0h-.09c.03 0 .12-.09 0 0 .34-.21.2-.16.09-.12a.21.21 0 0 0-.1 0c-.12.05-.11 0 0 0s.18-.11.16-.11c-.02 0 .1-.11-.13 0h-.07l.21-.15c.1-.07-.23.09 0 0s.13-.08 0-.05c-.29.14-.28.12-.08 0s-.34.15-.14 0 .25-.18.13-.13c-.12.05-.29.08-.27 0 .02-.08 0 0-.21 0s-.11 0 .1-.12c.21-.12.21-.14.16-.13-.05.01-.11 0-.13 0-.02 0-.37.09-.1-.12.05 0 .13-.1-.18.06-.08 0 0 0 0 0s.08-.06.08-.08a.36.36 0 0 1 .09-.15c.1-.11.14-.18-.21 0-.09 0-.14 0 0 0s0 0 0-.07h-.07c.173-.14.193-.2.06-.18 0 0-.22.07.13-.14-.15.05.13-.13-.22 0-.08 0 0 0 0 0 .21-.15.21-.2.07-.16-.14.04-.09 0 0 0 .25-.16 0-.07-.07 0l-.17.06a.48.48 0 0 1 .1-.15s.11-.1-.12 0c-.07 0-.06 0 0 0 .23-.17.08-.14 0-.12-.08.02 0 0 0 0s.41-.27 0-.1c-.06 0-.06 0 0 0 .3-.19 0-.08.13-.15.13-.07 0 0-.12 0s-.22.08 0 0c-.09 0-.07 0 0-.06s.19-.15.06-.11c-.13.04-.31.12-.3.09.01-.03-.1 0 0 0 .26-.18.09-.12.14-.18.05-.06 0 0 0-.06s-.29.11 0-.06c-.14 0-.11 0-.11-.06s-.07-.08-.1-.12c-.03-.04.07-.06 0 0s-.14 0 0-.07.13-.1 0 0 0 0 .06-.07-.29.13-.22.07c.07-.06.21-.16.13-.15-.08.01 0-.07 0-.1s.07-.11 0-.13c-.07-.02-.28.1-.09 0 .19-.1-.11 0 0-.15s-.15 0-.18 0a.08.08 0 0 1 0-.11s.14-.1 0 0c.38-.23.24-.17 0 0 0 0-.07 0 0 0 .35-.21 0 0-.08 0s.1-.14 0-.15h.46c.01 0 0-.12-.06-.11-.06.01 0 0 .08-.06.27-.16.13-.09.08-.07-.05.02-.19.07-.12 0-.23.1-.33.13-.17 0s-.34.11-.1-.06h-.16c-.25.12-.18.07-.06 0s.12-.08.05 0c-.07.08 0 0 0 0s0-.06.07-.17c.07-.11-.08 0-.15 0-.07 0-.11 0 .1-.11.21-.11 0 0 0 0a1.14 1.14 0 0 1-.14.06l.11-.11c.11-.11-.21.07-.27.08-.06.01 0 0 0 0H25c-.17 0-.11 0 0 0s.23-.18.15-.16c-.08.02-.14 0-.07 0l2.05-1.7zM56.87 1c-.15 0 .14.14 0 .12h-.14s.22.23 0 .17c0 0 .19.19-.15 0 .27.18.06.1.14.17.08.07 0 0 0 .06s.1.1-.09 0 .19.15.14.15c-.1 0 0 0 0 .08s.09.09.08.1c-.01.01-.14 0 0 .06s-.13 0-.05 0c0 0 .1.08 0 .05s-.69-.35-.48-.19c.21.16.23.16-.09 0 0 0-.05 0 0 0 .24.14.3.19 0 .05.34.2.07.08.08.11.01.03-.08 0-.19-.06s-.07 0 0 0 .25.2.17.19c-.08-.01-.09 0 0 0s.22.15-.14 0c-.06 0 0 0 0 0s.08.07 0 .05c-.08-.02-.22 0-.18 0 .04 0 0 0 0 0s.07.05.08.07c.01.02.38.25.09.12-.07 0-.05 0 0 0s.13.09.07.07c-.06-.02-.12 0-.05 0 .07 0 .08.07-.11 0s-.07 0-.07 0v.09c0 .03-.14 0-.13 0l.15.18-.19-.07c-.19-.07-.24-.1 0 0s.27.2 0 .09c-.27-.11-.25-.08.06.12s.39.25.22.18l-.17-.06c-.17-.06-.24-.1-.16 0 .08.1.26.2.05.11-.21-.09 0 0 .09.08s.18.12.13.1a.57.57 0 0 0-.21 0l.09.12c.09.12 0 .07 0 .06 0-.01 0 .06-.13 0-.34-.15-.22-.06-.1 0h-.17l.08.06c-.06 0-.2-.1-.18-.08.17.12.48.31.12.14.16.11-.14 0-.09 0 .05 0-.18 0 .21.19.09.05.08.05 0 0s-.11 0 .07.08 0 0-.21-.09h-.06.05l.1.06c-.4-.2-.24-.09-.15 0s.06 0 0 0c-.32-.15-.21-.07-.19 0 .02.07.31.2-.17 0-.09 0 0 0 0 0s.11.1 0 0-.07 0 0 0c.26.16.06.07-.06 0s-.11-.05 0 0c.26.15.23.14.08.08-.15-.06.15.13-.15 0l.09.05c.34.2.36.22.06.07s-.15-.07-.08 0c.07.07.24.17.1.12-.14-.05-.35-.15.11.12.11.06 0 0 0 0s-.11 0 0 0 0 .05-.15 0-.13 0 0 .06.29.19.17.14c-.12-.05-.07 0-.1 0h-.09c-.09 0 0 0 0 .06s0 0-.07 0c-.44-.22-.26-.1-.15 0 .11.1.12.09 0 0 0 0 .16.13 0 .07s-.06 0 .05.09.21.16-.08 0a1.8 1.8 0 0 1 .21.16h-.07c-.23-.1 0 0-.13 0l.16.1c.13.08.14.1 0 0s-.06 0-.1 0c-.04 0-.25-.08.09.12 0 0-.06 0 0 0h-.08c-.38-.16-.4-.16-.22 0 .18.16.06.05.05.05-.01 0 .52.32.51.34-.01.02.12.08-.25-.11s-.24-.1-.18-.06c.26.21-.06.09-.11.12s-.08 0-.13 0 0 0 .16.13.2.15.11.12c-.09-.03-.25-.06-.22 0s0 .07-.27 0-.06 0 .13.13.07.08-.33-.12-.17-.06-.17-.06c.149.088.292.185.43.29a2.46 2.46 0 0 1-.37-.12c-.15-.05.14.14 0 .11h-.14s.22.22 0 .17c0 0 .19.19-.15 0 .27.18.06.09.14.17.08.08 0 0 0 .06s.1.1-.09 0 .19.15.14.14c-.05-.01 0 0 0 0v.08c0 .08.09.09.08.1-.01.01-.14 0 0 0h-.05c.08 0 0 0 0 0s.1.07 0 0-.69-.35-.48-.2c.21.15.23.17-.09 0 0 0-.05 0 0 0 .24.14.3.18 0 .05.34.2.07.08.08.11l-.19-.06c-.1 0-.07 0 0 0s.25.2.17.18c-.08-.02-.09 0 0 .06s.22.14-.14 0c-.06 0 0 0 0 0s.08.07 0 0-.22 0-.18 0c.04 0 0 0 0 0l.08.06c.08.07.38.26.09.13-.07 0-.05 0 0 0s.13.1.07.08c-.06-.02-.12 0-.05 0 .07 0 .08.08-.11 0s-.07 0-.07 0v.09c0 .09-.14 0-.13 0 .046.067.096.13.15.19l-.19-.07c-.19-.07-.24-.1 0 0s.27.2 0 .09c-.27-.11-.25-.08.06.12s.39.25.22.18l-.17-.06c-.17-.06-.24-.1-.16-.05.08.05.26.21.05.12-.06 0 0 0 .09.07s.18.12.13.11a.57.57 0 0 0-.21 0l.09.12c.09.12 0 .07 0 .06 0-.01 0 .06-.13 0-.34-.16-.22-.06-.1 0a.86.86 0 0 0-.17 0l.08.06c-.06 0-.2-.1-.18-.08.17.11.48.31.12.14.16.11-.14 0-.09 0 .05 0-.18 0 .21.19.09.06.08.06 0 0s-.11 0 .07.08 0 0-.21-.09h-.06l.1.06c-.4-.2-.24-.1-.15 0s.06 0 0 0c-.32-.15-.21-.07-.19 0 .02.07.31.21-.17 0-.09-.05 0 0 0 0s.11.09 0 0-.07 0 0 0c.26.16.06.07-.06 0s-.11 0 0 0c.26.16.23.15.08.09-.15-.06.15.13-.15 0l.09.06c.34.2.36.22.06.07s-.15-.07-.08 0c.07.07.24.17.1.11-.14-.06-.35-.14.11.12.11.07 0 0 0 0s-.11 0 0 0h-.15c-.15 0-.13 0 0 .05s.29.2.17.15c-.12-.05-.07 0-.1 0h-.09c-.07 0 0 0 0 .07h-.07c-.44-.21-.26-.09-.15 0 .11.09.12.09 0 0 0 0 .16.13 0 .06s-.06 0 .05.1.21.16-.08 0c.076.045.147.099.21.16h-.07c-.23-.1 0 0-.13 0s.08.06.16.11.14.09 0 0a.21.21 0 0 0-.1 0c-.11 0-.25-.09.09.12 0 0-.06 0 0 0h-.08c-.37-.15-.4-.16-.24 0 .16.16.14.11 0 .07h-.11l-.19-.1c.075.07.159.131.25.18.22.14.39.25.22.18l-.17-.05c-.17-.05-.24-.11-.16 0 .08.11.26.2 0 .11-.06 0 0 0 .09.08s.18.12.13.1a1 1 0 0 0-.21 0l.09.12c.09.12 0 .07 0 .07s0 .05-.13 0c-.35-.15-.22-.06-.1 0h-.17l.08.06c-.06 0-.2-.1-.18-.08.02.02.48.31.12.14.16.11-.14 0-.09 0 .05 0-.18 0 .21.19.09 0 .08 0 0 0s-.11 0 .07.08 0 0-.21-.09h-.06.05s.17.1.09.07c-.39-.2-.23-.1-.14 0s.06 0 0 0c-.32-.15-.21-.08-.19 0 .02.08.3.2-.17 0-.09 0 0 0 0 0s.11.1-.05 0-.07 0 0 0c.26.16.06.08-.06 0s-.11 0 0 0c.26.15.23.15.08.08-.15-.07.14.13-.15 0l.09.06c.34.193.36.213.06.06-.21-.11-.15-.07-.08 0 .07.07.24.17.1.12-.14-.05-.35-.15.11.12.11.06 0 0 0 0s-.1 0 0 0L49.07 11s-.18-.14.19 0c-.12-.1.18 0-.15-.17-.07 0 0 0 0 0 .24.09.28.07.17 0-.11-.07-.08-.06 0 0 .26.12.07 0 0-.07s-.15-.1-.14-.11a.61.61 0 0 1 .18 0s.15 0-.07-.11c-.06 0 0 0 0 0 .26.09.15 0 .08-.1-.07-.1 0 0 .05 0s.46.19.11 0c.33.15.1 0 .2 0s0 0-.1-.09-.18-.13 0 0c-.07-.06 0-.06 0 0s.23.08.12 0c-.11-.08-.26-.2-.24-.21.02-.01-.07-.07 0 0 .29.13.15 0 .23 0 .08 0 0 0 0-.05s-.24-.18.05 0c-.1-.09 0-.1 0-.12v-.15c0-.05.1 0 0 0l-.07-.07c-.09-.06-.12-.08 0 0s.28.11.18 0h-.06c-.13-.11-.13-.14-.08-.15.05-.01 0-.07-.12-.18-.12-.11-.07-.08.16 0s.23.1.19.07c-.04-.03-.09-.08-.09-.1 0-.02-.27-.27 0-.16.07 0 .16.06-.14-.11-.08 0 0 0 0 0h.11a.34.34 0 0 1 .18 0c.14 0 .23 0-.08-.2-.08-.06-.12-.1 0 0s.06 0 .07 0h-.06c.21.06.28 0 .19 0-.09 0 0 0 0 0s-.18-.15.19 0c-.12-.09.18 0-.15-.17-.07 0 0 0 0 0 .24.09.28.07.17 0-.11-.07-.08-.06 0 0 .26.12.07 0 0-.07l-.14-.11a.36.36 0 0 1 .18 0c.05 0 .15 0-.07-.1-.06 0-.05 0 0 0 .26.1.15 0 .08-.1-.07-.1 0 0 0 0s.46.19.11 0c-.05 0 0 0 0 0 .33.15.1 0 .2 0s0 0-.1-.09-.18-.14 0 0c0 0 .06 0 0 0s0-.06 0 0 .23.08.12 0c-.11-.08-.26-.2-.24-.21.02-.01-.07-.06 0 0 .29.12.15 0 .23 0 .08 0 0 0 0 0s-.24-.18.05 0c-.1-.1 0-.11 0-.13v-.15c0-.05.1 0 0 0s-.1-.1.07 0 .15.05 0 0 0 0 .1 0-.26-.17-.18-.14c.08.03.25.08.2 0-.05-.08.06 0 .07-.08.01-.08.13 0 .12 0-.01 0-.23-.18 0-.09s0-.11.15-.06-.11-.11-.12-.14a.08.08 0 0 1 .07-.1s.16.06.06 0c.4.2.27.11 0 0 0 0-.06 0 0 0 .37.18 0 0 0-.07s.17 0 .13-.06a.09.09 0 0 0 0-.06s-.09-.07-.07-.07c.02 0 .13 0 .06-.11s0 0 .09 0c.28.14.15.06.1 0-.05-.06.39-.81.44-.81.05 0 0 0 0 0s-.28-.2-.11-.13c.17.07-.28-.22 0-.11v-.05h-.08c-.24-.14-.17-.12 0-.06s.14.06.07 0c0 0 0-.07.18 0s0-.09-.06-.14c-.06-.05-.08-.08.14 0 .07 0 0 0 0 0L52 5.3a.27.27 0 0 1 .15 0c.11 0-.17-.13-.22-.18.11 0 0 0-.13-.12s-.08-.08 0 0 .28.1.22 0c-.06-.1-.11-.1 0-.07s.17 0 0-.11h.07c.46.24.51.25.48.23a.74.74 0 0 1-.09-.12h.06c.22.07.21.06-.13-.17-.09-.06-.09-.08 0-.07.09.01.14 0 0 0s-.05 0 0 0c.36.17.24.09.15 0s0 0-.08-.07-.1-.07 0 0l.18.08c-.07-.07.15 0-.06-.12h-.06l.25.09c.11 0-.21-.14 0 0s.13.06.06 0c-.28-.17-.25-.17 0-.08.25.09-.31-.2-.09-.1s.28.11.18 0c-.1-.11-.23-.2-.17-.21.06-.01 0-.06-.12-.18s-.07-.08.16 0 .23.1.19.07c-.04-.03-.09-.08-.09-.1 0-.02-.27-.26 0-.15.07 0 .16 0-.14-.12-.08 0 0 0 0 0h.11a.31.31 0 0 1 .18 0c.14 0 .23 0-.08-.2-.08-.06-.12-.09 0 0s.06 0 .07 0c.01 0-.08-.06-.06-.05.21.06.28.05.19 0-.09-.05 0 0 0 0s-.18-.15.19 0c-.12-.09.18 0-.15-.16-.07 0 0 0 0 0 .24.09.28.07.17 0-.11-.07-.08-.06 0 0 .26.12.07 0 0-.07s-.15-.1-.14-.11a.38.38 0 0 1 .18 0c.05 0 .15 0-.07-.11-.06 0-.05 0 0 0 .26.1.15 0 .08-.09-.07-.09 0 0 0 0s.46.18.11 0c-.05 0 0 0 0 0 .33.15.1 0 .2 0s0 0-.1-.09-.18-.13 0 0c-.07-.06 0-.07 0 0s.23.08.12 0c-.11-.08-.26-.2-.24-.22.02-.02-.07-.06 0 0 .29.12.15 0 .23 0 .08 0 0 0 0 0s-.24-.18.05 0c-.1-.1 0-.11 0-.13v-.15c0-.05.1 0 0 0s-.1-.11.07 0 .15.06 0-.05 0 0 .1 0-.26-.17-.18-.14c.08.03.25.08.2 0-.05-.08.06 0 .07-.07.01-.07.13 0 .12-.06-.01-.06-.23-.18 0-.09s0-.11.15-.06-.11-.11-.12-.14a.08.08 0 0 1 .07-.1s.16.06.06 0c.4.2.27.12 0 0 0 0-.06 0 0 0 .37.18 0 0 0-.07s.17 0 .13-.06c-.04-.06 0 0 0-.06s-.09-.07-.07-.07c.02 0 .13 0 .06-.11h.09c.28.15.15.06.1 0-.05-.06-.15-.12-.07-.09.08.03 0 0 0 0s-.28-.2-.11-.13c.17.07-.28-.22 0-.11L54.4.96c-.24-.14-.17-.12 0 0s.14 0 .07 0c0 0 0-.07.18 0s0-.08-.07-.14c-.07-.06-.07-.08.15 0 .07 0 0 0 0 0l-.12-.09a.27.27 0 0 1 .15 0c.11 0-.17-.13-.22-.17.11 0 0 0-.13-.12s-.08-.08 0 0 .28.09.22 0c-.06-.09-.11-.1 0-.07l2.24.63z\\\" fill=\\\"#000\\\"/></g></svg>\\n\",\n    \"email\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 300 200\\\"><path d=\\\"M80.94 83.55l61.12-41.45 61.12 41.62a.2.2 0 0 1 0 .33L141 119.72 81 83.88a.2.2 0 0 1-.06-.33z\\\" fill=\\\"#ff7952\\\"/><path d=\\\"M80.85 82.57c.62-.23 1-.87 1.53-1.14.14-.07.28-.13.41-.21a9.17 9.17 0 0 0 .86-.5 14.7 14.7 0 0 1 2.53-1.86 1.7 1.7 0 0 0 .43-.33 4.48 4.48 0 0 1 2.21-1.35s.07-.06.1-.1c.31-.61 1-.77 1.39-1.2a7.7 7.7 0 0 1 1.2-.82 3.47 3.47 0 0 1 1.24-.76c.56-.09.66-.73 1.09-1a1.22 1.22 0 0 1 .19-.12 11.65 11.65 0 0 0 1.7-1.18c.29-.21.55-.51.85-.71s.65-.26.8-.58.65-.29.89-.56c.09-.1.24-.13.28-.27.09-.31.35-.37.6-.45.45-.15.88.33 1.45-.36.23-.28.43-.63.92-.54a.09.09 0 0 0 .13-.07c0-.36.19-.55.56-.43.17-.59.73-.62 1.12-.91a2.08 2.08 0 0 1 .8-.3 1 1 0 0 0 .57-.36 5.22 5.22 0 0 1 1.39-1.23 3.22 3.22 0 0 0 1-.69c.17-.2.27-.5.69-.3.07 0 .14 0 .17-.13a.86.86 0 0 1 .54-.41 8.72 8.72 0 0 0 2-1.16c.28-.23.6-.39.89-.6.1-.07.16-.2.25-.29.38-.38.61-1 1.23-1a.39.39 0 0 0 .34-.29.89.89 0 0 1 .63-.54 1.88 1.88 0 0 0 .83-.53 1.45 1.45 0 0 1 1-.56.79.79 0 0 0 .41-.2c.48-.38 1-.69 1.46-1.05.25-.17.58-.22.82-.41.55-.41 1.06-.87 1.58-1.33a.9.9 0 0 1 .73-.26.79.79 0 0 0 .88-.56 1.54 1.54 0 0 1 1.32-1 1.63 1.63 0 0 0 1.37-1.06c.19-.44.39-.82.84-.9a.3.3 0 0 0 .24-.19c.12-.31.41-.31.72-.27a.88.88 0 0 0 .83-.36 2.64 2.64 0 0 1 1.38-1.06.51.51 0 0 0 .37-.39.73.73 0 0 1 .52-.55 8.52 8.52 0 0 0 1.32-.65 4.74 4.74 0 0 0 1.12-.93 3.8 3.8 0 0 1 1.18-.82c.3-.15.53-.43.88-.45a2.16 2.16 0 0 0 1.54-1 1.1 1.1 0 0 1 .23-.2l2.15-1.3a1.25 1.25 0 0 0 .26-.3c.12 0 .28.08.33 0 .33-.46.57-1.06 1.25-1 .18-.37.65-.29.9-.53a6.59 6.59 0 0 1 .85-.58 3.8 3.8 0 0 0 1-.9h.14a.88.88 0 0 1 .56.33 2.58 2.58 0 0 0 .64.53 1.22 1.22 0 0 0 .64.22c.18 0 .24.16.21.41h-.07.06c.1 0 .3 0 .3.08 0 .52.33.53.64.61.1 0 .22 0 .25.16.17.54.62.69 1 .92s.83.12.83.76c0 .12.16.12.25.17.3.18.66.28.86.63a.45.45 0 0 0 .4.22c.51 0 .71.38 1 .71.08.1.16.25.3.22a.57.57 0 0 1 .73.36c.26.54 1 .44 1.23 1 0 .07.15.08.24 0 .39-.21.56-.12.56.28s.17.32.37.35a1.65 1.65 0 0 1 1.14.6c.26.35.49.79 1.13.59.16-.05.23.18.35.27s.28.33.49.35c.45.05.67.39.85.76a1 1 0 0 0 .83.52 1.43 1.43 0 0 1 1.05.44 3.4 3.4 0 0 0 .81.67c.3.23.61.44.89.7a7 7 0 0 0 1.33.88.33.33 0 0 1 .2.23c.09.65.58.73 1 .86a.82.82 0 0 1 .57.37 1 1 0 0 0 .42.33c.33.19.72.24 1 .6a1.82 1.82 0 0 0 1.1.64 1.38 1.38 0 0 1 1.09.82c0 .12.2.16.34.15.36 0 .37.43.67.5a5.26 5.26 0 0 1 .9.29c.07 0 .1.12.14.19.34.54 1 .67 1.39 1.08.09.09.26.06.41 0a.49.49 0 0 1 .52.3c.08.19.25.25.37.38.33.37.65.76 1.26.7 0 0 .09 0 .11.1.11.28.38.33.61.44a1.7 1.7 0 0 1 .65.54c.62.91.61.93 1.57 1.3a1.92 1.92 0 0 1 .47.25c.41.32.79-.2 1.22.09.21.14.43.13.37.59s.33.53.58.61a12.33 12.33 0 0 1 3 2.1 7.93 7.93 0 0 1 .68.62 1.27 1.27 0 0 0 .8.3 1.69 1.69 0 0 1 1.16.6 8.24 8.24 0 0 0 1.84 1.49 6.53 6.53 0 0 1 1.87 1.57 1.48 1.48 0 0 0 1.09.54.87.87 0 0 1 .83 1c0 .4.44.5.44.5.09.16.36.25.53.32s.8-.14 1.16.16a9.19 9.19 0 0 1 1.11 1.22c.45.49 1.16.56 1.63 1a3.28 3.28 0 0 0 .34.31 9.36 9.36 0 0 0 .79.62 14.67 14.67 0 0 1 2.62 1.78 1.51 1.51 0 0 0 .46.27 4.49 4.49 0 0 1 2.07 1.56h.13a5.8 5.8 0 0 1 1.75 1 4.8 4.8 0 0 1 .61.55 1.57 1.57 0 0 1 .4.64.58.58 0 0 1-.06.42l-.2.29a2.72 2.72 0 0 1-.59.68 3.77 3.77 0 0 1-1.11.52 2 2 0 0 0-.95.58 1.93 1.93 0 0 1-.54.49l-.2.11a10.9 10.9 0 0 0-1.78 1c-.31.18-.59.47-.9.65s-.67.21-.84.52-.68.23-.93.49c-.1.09-.25.11-.3.24-.12.31-.37.35-.63.41-.46.11-.86-.4-1.48.25-.25.26-.48.6-1 .46-.06 0-.13 0-.14.07-.06.36-.23.53-.59.38-.21.58-.78.57-1.19.82a2 2 0 0 1-.81.25 1 1 0 0 0-.6.32 5.51 5.51 0 0 1-1.48 1.12 3.16 3.16 0 0 0-1 .61c-.19.18-.3.48-.71.25-.07 0-.14 0-.18.11a.9.9 0 0 1-.57.38 8.19 8.19 0 0 0-2.06 1c-.3.21-.63.35-.93.53a1.79 1.79 0 0 0-.27.28c-.41.34-.68.91-1.3.9a.43.43 0 0 0-.37.27.87.87 0 0 1-.66.49 2 2 0 0 0-.87.47 1.42 1.42 0 0 1-1 .48.87.87 0 0 0-.42.17c-.51.34-1 .61-1.54.94-.26.15-.6.18-.85.34-.57.38-1.12.8-1.67 1.21a.91.91 0 0 1-.75.21.79.79 0 0 0-.92.5 1.56 1.56 0 0 1-1.39.87 1.64 1.64 0 0 0-1.45 1c-.21.43-.45.79-.9.84a.32.32 0 0 0-.26.17c-.13.3-.43.27-.73.22a.88.88 0 0 0-.86.3 2.57 2.57 0 0 1-1.46 1 .51.51 0 0 0-.39.36.74.74 0 0 1-.56.51 8.59 8.59 0 0 0-1.36.55 4.72 4.72 0 0 0-1.2.84 3.75 3.75 0 0 1-1.23.73c-.31.13-.56.39-.91.38a2.2 2.2 0 0 0-1.61.84 1.12 1.12 0 0 1-.24.19l-2.25 1.13a1.24 1.24 0 0 0-.28.28c-.11 0-.27-.1-.32 0-.37.44-.65 1-1.33 1-.2.34-.67.23-.93.45s-1 .37-1.22 1a.34.34 0 0 1-.31.22.83.83 0 0 0-.72.53c-.08.16-.25.15-.46 0-.07.08-.12.28-.2.24-.47-.25-.62.07-.83.3s-.15.18-.25.16c-.57-.08-.89.26-1.28.52s-.47.69-1.05.41c-.1 0-.17.09-.26.15a1.83 1.83 0 0 1-.94.5.41.41 0 0 0-.37.26c-.21.47-.65.48-1.06.56-.13 0-.3 0-.33.17a.56.56 0 0 1-.65.5 3.77 3.77 0 0 0-1.39.77 2.13 2.13 0 0 1-.69-.53.26.26 0 0 0-.31-.07.64.64 0 0 1-.55 0q-.13-.06-.15-.36c0-.28-.19-.3-.39-.32a1.6 1.6 0 0 1-1.17-.54c-.28-.33-.54-.75-1.17-.52-.16.06-.25-.16-.37-.25s-.3-.31-.51-.32c-.45 0-.69-.34-.89-.71a.92.92 0 0 0-.86-.46 1.44 1.44 0 0 1-1.07-.38 3.55 3.55 0 0 0-.85-.62c-.31-.21-.64-.4-.93-.64a7.3 7.3 0 0 0-1.38-.8.34.34 0 0 1-.22-.22c-.12-.65-.62-.69-1.07-.8a.85.85 0 0 1-.6-.33.89.89 0 0 0-.44-.3c-.33-.17-.73-.2-1-.55a1.76 1.76 0 0 0-1.14-.57 1.4 1.4 0 0 1-1.14-.75c0-.13-.2-.15-.34-.14-.36 0-.4-.41-.7-.45a5.28 5.28 0 0 1-.91-.24c-.08 0-.11-.11-.16-.18-.37-.52-1-.61-1.45-1-.09-.07-.26 0-.41 0a.48.48 0 0 1-.54-.27c-.09-.18-.27-.24-.39-.36-.36-.35-.69-.71-1.3-.61 0 0-.09 0-.12-.1-.13-.28-.4-.31-.63-.41a1.53 1.53 0 0 1-.68-.5c-.65-.83-.67-.88-1.52-1.16a1.5 1.5 0 0 1-1-.53l-.87-.64c-.08-.06 0-.13 0-.22a1.6 1.6 0 0 0-.89-.18 1.24 1.24 0 0 1-1.17-.38.3.3 0 0 0-.27-.14c-.33 0-.45-.24-.55-.53a.89.89 0 0 0-.68-.6 2.69 2.69 0 0 1-1.55-.81.5.5 0 0 0-.5-.17.73.73 0 0 1-.73-.24 8.27 8.27 0 0 0-1.14-.91 5 5 0 0 0-1.31-.63 3.79 3.79 0 0 1-1.25-.72c-.26-.2-.61-.3-.78-.61a2.16 2.16 0 0 0-1.52-1 1 1 0 0 1-.28-.12l-2.09-1.4a1.12 1.12 0 0 0-.38-.11c0-.1 0-.28-.13-.3-.56-.1-1.2-.06-1.47-.69-.41 0-.53-.47-.86-.59-.5-.18-.81-.7-1.48-.56a.39.39 0 0 1-.35-.16.84.84 0 0 0-.81-.38c-.18 0-.26-.14-.23-.39l.06-.05h-.06c-.11 0-.31 0-.31-.06 0-.52-.37-.51-.67-.57-.11 0-.23 0-.27-.14-.2-.53-.66-.66-1.07-.86s-.84-.08-.87-.72c0-.11-.17-.1-.26-.15-.32-.16-.68-.24-.9-.57a.42.42 0 0 0-.41-.2c-.51.05-.73-.34-1-.65-.08-.1-.17-.24-.3-.2a.58.58 0 0 1-.76-.32c-.29-.53-1-.38-1.28-.92a.17.17 0 0 0-.24 0c-.38.23-.56.15-.58-.25s-.18-.3-.39-.32a1.61 1.61 0 0 1-1.17-.54c-.28-.33-.54-.75-1.17-.52-.16.06-.24-.16-.36-.25a1.5 1.5 0 0 1-.24-.2l-.3-.21a1.49 1.49 0 0 1-.5-.89 1.33 1.33 0 0 1 1.23-.21.61.61 0 0 1 .14.07c1-1.72.29-.47.52-.86l.07.06.15.1c.11.06.22.1.33.15a.8.8 0 0 1 .52.51c.56.15.87.72 1.54.67.14 0 .23.12.32.21A5.55 5.55 0 0 0 86.65 86c.14 0 .32.08.39.22.23.47.71.5 1.14.62a2.89 2.89 0 0 1 .67.2c.52.33 1 .7 1.5 1.07a1.86 1.86 0 0 0 1.17.57.49.49 0 0 1 .34.17 7.24 7.24 0 0 0 2.49 1.51c.16.08.28.22.43.31.51.33.79 1 1.52 1a.27.27 0 0 1 .26.16c.27.58.87.62 1.27 1a.85.85 0 0 0 .59.2 1 1 0 0 1 1 .59.48.48 0 0 0 .23.19 3.9 3.9 0 0 1 1.17.71 3.21 3.21 0 0 0 1.19.83 5.42 5.42 0 0 1 1.59.59c.17.11.4.13.52.3.43.63 1.11.83 1.67 1.24a10.93 10.93 0 0 0 1.18.72c.39.23.94.2 1.16.71a13.27 13.27 0 0 1 2.2 1.25c1 .61 2 1.15 3 1.73a3.47 3.47 0 0 0 .7.45 2 2 0 0 1 .55.22.39.39 0 0 1 .44.21 1.57 1.57 0 0 0 1 .77h.08a.52.52 0 0 1 .29.08 7.24 7.24 0 0 1 1.84.93 8.29 8.29 0 0 0 2.13 1 1.69 1.69 0 0 1 1 .79 1.31 1.31 0 0 0 .61.6 5.86 5.86 0 0 1 .85.36 12.14 12.14 0 0 1 3.17 1.85.67.67 0 0 0 .8.26c.1 0 .16.1.23.16a5.85 5.85 0 0 0 .47.4c.59.4 1.18.78 1.74 1.23a6.91 6.91 0 0 0 2.83 1.5 1.19 1.19 0 0 1 .79.44c.29.42.76.5 1.15.74.08 0 .22 0 .29.09a9.26 9.26 0 0 0 2.56 1.69.74.74 0 0 1 .31.22c.3.41.95.3 1.13.89.56.15.87.72 1.54.67.14 0 .23.12.32.21a3.51 3.51 0 0 0 .33.34c.09.09.28.23.29.26a1 1 0 0 0 .33.22 1.26 1.26 0 0 0 .24-.22c.06-.07 0-.12.22-.14.52 0 .77-.37 1.09-.68.17-.16.3-.39.5-.49.55-.29 1.11-.54 1.67-.78a1.83 1.83 0 0 0 1.07-.74.49.49 0 0 1 .32-.22 7.44 7.44 0 0 0 2.54-1.43 3.51 3.51 0 0 1 .48-.22c.53-.28 1.29-.18 1.62-.84a.26.26 0 0 1 .27-.14c.63 0 1-.46 1.47-.63a.8.8 0 0 0 .46-.41 1 1 0 0 1 1-.55.46.46 0 0 0 .28-.11 3.69 3.69 0 0 1 1.19-.67 3.33 3.33 0 0 0 1.31-.63 5.17 5.17 0 0 1 1.29-1.1c.18-.09.31-.29.52-.31a5.71 5.71 0 0 0 1.9-.85 11.8 11.8 0 0 0 1.2-.67c.39-.23.64-.72 1.19-.67a14 14 0 0 1 2.16-1.31c1-.54 2-1.16 3-1.74a3.23 3.23 0 0 0 .73-.4 2.18 2.18 0 0 1 1.22-.65 1.06 1.06 0 0 0 .84-.51c.17-.28.46-.31.77-.34s.33-.55.66-.63a4.4 4.4 0 0 0 1.55-.67 19.16 19.16 0 0 1 1.93-1.09c.7-.42 1.46-.7 2.15-1.14.5-.3.88-.84 1.5-.92 1-.14 1.55-1 2.44-1.28.55-.18.93-.71 1.43-1 .76-.47 1.54-.92 2.33-1.32.27-.14.61-.15.82-.41.48.23.68-.06.81-.46 0 0 .06-.11.12-.1.53.17.65-.37.94-.61a26.78 26.78 0 0 1 2.37-1.25c.24-.15.47-.31.69-.47a4.41 4.41 0 0 1 .49-.39 16.89 16.89 0 0 0 2.58-1.48.3.3 0 0 1 .3-.07c.35.17.47-.08.64-.24a2 2 0 0 1 .8-.58.49.49 0 0 0 .3-.23 1.45 1.45 0 0 1 1.06-.8c.83-.1 1.15-1.06 2-1.19.1 0 .16-.13.23-.21a.48.48 0 0 0 .14-.2.56.56 0 0 1 .07-.28.38.38 0 0 1 .19 0l.07.06c.09.07.19.06.15 0s.07 0 .14 0 .27-.07.3-.17-.14-.12-.15-.23a.42.42 0 0 0-.27-.18 2.11 2.11 0 0 1-.38-.17l-.48-.25a1.65 1.65 0 0 1-.86-.77c-.05-.12-.2-.16-.31-.2s-.3 0-.39-.09a5.15 5.15 0 0 1-.86-.76c-.26-.33-.75-.25-1.09-.42a.42.42 0 0 1-.18-.14 1.32 1.32 0 0 0-.92-.41 1.34 1.34 0 0 1-.87-.6 4 4 0 0 0-1.26-1.12 3.18 3.18 0 0 1-1-.64 3.14 3.14 0 0 0-1.62-1 2.09 2.09 0 0 1-.46-.26c-.07 0-.17-.1-.14-.19.15-.53-.06-.73-.26-.82l-.38-.3c-.45-.24-.9-.48-1.35-.74a1.9 1.9 0 0 1-.4-.35 2.29 2.29 0 0 0-1.79-1 1.65 1.65 0 0 1-.73-.41c-.19-.17-.34-.41-.64-.41-.06 0-.12 0-.14-.06-.17-.6-.64-.75-1.11-.92-.16-.06-.28-.2-.48-.21a.49.49 0 0 1-.48-.37c0-.14-.08-.31-.19-.36-.54-.25-.89-.78-1.52-.9-.07 0-.17 0-.22-.07a5.39 5.39 0 0 1-.61-.72c-.16-.25-.59-.1-.7-.44 0-.14-.14-.27-.27-.26a1.2 1.2 0 0 1-1.16-.72c-.23-.44-.82-.12-1.08-.58a1.6 1.6 0 0 0-.9-.82 6.51 6.51 0 0 1-2.2-1.28 8.38 8.38 0 0 0-2-1.17 1.69 1.69 0 0 1-1-.85 1.2 1.2 0 0 0-.57-.64 5.7 5.7 0 0 1-.82-.41 12.29 12.29 0 0 1-3-2 .66.66 0 0 0-.79-.31c-.1 0-.15-.11-.22-.17a4.57 4.57 0 0 0-.44-.44c-.57-.43-1.14-.84-1.67-1.32a6.72 6.72 0 0 0-2.74-1.67 1.18 1.18 0 0 1-.75-.49c-.26-.43-.73-.55-1.11-.81-.08-.06-.22 0-.28-.11a9.28 9.28 0 0 0-2.45-1.83.71.71 0 0 1-.3-.24c-.28-.43-.93-.36-1.08-1-.54-.18-.82-.77-1.5-.75-.13 0-.21-.14-.3-.24a5.37 5.37 0 0 0-2-1.53c-.14-.07-.32-.1-.38-.26-.2-.48-.68-.53-1.09-.68a3 3 0 0 1-.67-.24c-.49-.36-1-.76-1.42-1.16a1.9 1.9 0 0 0-1.14-.64.47.47 0 0 1-.33-.19 7.61 7.61 0 0 0-2.39-1.66c-.21-.11-.16-.15-.22-.2a4 4 0 0 1-.21-.37c-.1 0-.28.06-.28.32 0 .09 0 .06-.14.08-.63 0-.93.53-1.42.74a.83.83 0 0 0-.43.45 1 1 0 0 1-.94.62.43.43 0 0 0-.27.13 3.76 3.76 0 0 1-1.14.75 3.51 3.51 0 0 0-1.26.73 5.41 5.41 0 0 1-1.2 1.19c-.17.11-.29.32-.5.35a5.9 5.9 0 0 0-1.83 1c-.4.22-.77.5-1.15.76s-.58.77-1.13.75a13.34 13.34 0 0 1-2.06 1.47c-1 .62-1.89 1.31-2.83 2a3 3 0 0 0-.7.44 2.16 2.16 0 0 1-1.16.74 1.11 1.11 0 0 0-.81.58c-.14.29-.43.34-.73.39s-.3.58-.62.69a4 4 0 0 0-1.49.78 21.2 21.2 0 0 1-1.85 1.23c-.67.47-1.4.81-2.06 1.29-.47.35-.81.91-1.42 1-1 .21-1.47 1.09-2.34 1.45-.54.23-.88.78-1.35 1.13-.72.53-1.46 1-2.23 1.49-.26.16-.59.2-.78.47-.5-.19-.68.11-.78.52 0 0 0 .12-.1.1-.55-.12-.63.43-.9.69-.66.63-1.57.87-2.27 1.42-.22.17-.44.34-.66.53a4.47 4.47 0 0 1-.45.42 16.32 16.32 0 0 0-2.46 1.66.28.28 0 0 1-.3.09c-.36-.14-.46.12-.62.29a1.84 1.84 0 0 1-.75.64.49.49 0 0 0-.29.26 1.41 1.41 0 0 1-1 .87c-.89.15-1.13 1.15-1.93 1.34-.1 0-.14.15-.21.23a.5.5 0 0 0-.13.21c-.07.38-.33.47-.65.5a.72.72 0 0 0-.54.28c-.13.19-.34.22-.52.32-.78.43-1.46 1-2.29 1.38a8.57 8.57 0 0 0-1.73 1.33 1.68 1.68 0 0 1-1 .52c-.14 0-.22.13-.31.22s-.12.26-.22.33a5.49 5.49 0 0 1-1 .51c-.39.13-.5.61-.78.87a.56.56 0 0 1-.2.11 1.27 1.27 0 0 0-.72.7 1.4 1.4 0 0 1-.88.6 3.68 3.68 0 0 0-1.5.76 3.27 3.27 0 0 1-1 .72z\\\"/><path d=\\\"M141 119.72l61.65-35.55a.52.52 0 0 1 .78.45v60.25H80.69V84.63a.51.51 0 0 1 .78-.44z\\\" fill=\\\"#fcc800\\\"/><path d=\\\"M141.13 118.66c.82-.29 1.37-1 2.15-1.34l.56-.25c.4-.2.8-.38 1.18-.61a25.89 25.89 0 0 1 3.56-2.18 2.87 2.87 0 0 0 .59-.39 7.8 7.8 0 0 1 3.05-1.61.32.32 0 0 0 .14-.12c.53-.68 1.35-.89 2-1.39a13.27 13.27 0 0 1 1.67-1 6 6 0 0 1 1.71-.9c.71-.14 1-.84 1.57-1.12a2.34 2.34 0 0 1 .27-.15 20 20 0 0 0 2.37-1.38c.41-.25.79-.6 1.21-.83s.86-.33 1.12-.69.88-.35 1.23-.67c.13-.11.33-.15.41-.3a1.25 1.25 0 0 1 .84-.54c.59-.18 1 .31 1.88-.48.34-.31.68-.72 1.26-.64a.17.17 0 0 0 .17-.09c.13-.4.36-.61.79-.5.35-.66 1.06-.73 1.6-1.06a3.12 3.12 0 0 1 1.06-.38 1.87 1.87 0 0 0 .79-.44 9.16 9.16 0 0 1 2-1.42 5.79 5.79 0 0 0 1.38-.82c.26-.22.45-.56.92-.36.08 0 .18-.07.24-.16a1.57 1.57 0 0 1 .76-.49 14.84 14.84 0 0 0 2.71-1.35c.39-.26.83-.46 1.24-.7.13-.09.24-.24.37-.34.56-.43 1-1.08 1.75-1.17a.66.66 0 0 0 .49-.34 1.55 1.55 0 0 1 .9-.63 3.33 3.33 0 0 0 1.15-.63 2.47 2.47 0 0 1 1.36-.67 1.61 1.61 0 0 0 .55-.24c.68-.45 1.36-.82 2.06-1.24.34-.21.76-.28 1.1-.5.77-.49 1.51-1 2.26-1.55a1.51 1.51 0 0 1 1-.33 1.33 1.33 0 0 0 1.21-.67 2.66 2.66 0 0 1 1.87-1.15 2.87 2.87 0 0 0 1-.34 6.55 6.55 0 0 0 1.18-.85c.18-.14.36-.29.54-.41a2.14 2.14 0 0 1 1-.45 1.06 1.06 0 0 1 .94.55c.09.16.14.29.26.36a.71.71 0 0 1 .29.59 2.64 2.64 0 0 1-.16.93 4.09 4.09 0 0 0-.21 1 2.34 2.34 0 0 0 0 .46 1.35 1.35 0 0 0 .05.33 4.68 4.68 0 0 1 .1 2.32.81.81 0 0 0 .11.69 1.22 1.22 0 0 1 .17 1 14 14 0 0 0-.2 1.93 8.32 8.32 0 0 0 .13 1.93 6.86 6.86 0 0 1 0 1.92 3.71 3.71 0 0 1-.13 1.29 3.93 3.93 0 0 0-.07 2.42 1.75 1.75 0 0 1 .05.4l-.14 3.34a3.06 3.06 0 0 0 .1.51c-.07.12-.22.25-.19.35.2.72.57 1.43.17 2.16.2.47-.14.93-.07 1.38.1.69-.19 1.41.27 2.08a.55.55 0 0 1 0 .5 1.43 1.43 0 0 0 .1 1.19c.1.2 0 .38-.22.53h-.08l.06.06s.19.32.11.39c-.45.38-.25.77-.15 1.16a.55.55 0 0 1 0 .4 3 3 0 0 0-.19 1.81c0 .49.37 1-.16 1.48-.1.09 0 .26 0 .4a3.4 3.4 0 0 1 0 1.42.7.7 0 0 0 0 .6 2 2 0 0 1-.05 1.59c0 .16-.11.37 0 .49a.93.93 0 0 1 .11 1.08c-.3.69.19 1.4-.13 2.1a.26.26 0 0 0 .11.29c.39.26.42.52.08.81s-.17.43-.08.68a2.75 2.75 0 0 1 .14 1.7c-.14.55-.37 1.13.15 1.69.13.13 0 .38 0 .58a1.85 1.85 0 0 0 0 .81 1.92 1.92 0 0 1-.15 1.5 1.53 1.53 0 0 0 0 1.29 2.46 2.46 0 0 1 .22 1.49 6 6 0 0 0-.1 1.39c0 .5 0 1-.07 1.5a12.51 12.51 0 0 0 0 2.12.56.56 0 0 1-.08.4 1.16 1.16 0 0 0-.3.88c0 .31.09.84.16 1.3a3.41 3.41 0 0 1 0 1.42v.12a4.92 4.92 0 0 0-.94 0c-.37 0-.73.06-1.11.09h-.6a1.67 1.67 0 0 1-.41-.07 3.05 3.05 0 0 0-1.69.09 2.37 2.37 0 0 1-1.81-.06.54.54 0 0 0-.49.06c-.38.22-.73-.15-1.1 0a8.71 8.71 0 0 1-1.21.26.66.66 0 0 1-.3-.07 11.45 11.45 0 0 0-2.34-.12c-.15 0-.32.11-.48.2a.84.84 0 0 1-.8 0 5.64 5.64 0 0 0-2.59 0 .24.24 0 0 1-.2 0 1.66 1.66 0 0 0-1 0 2.84 2.84 0 0 1-1.12-.08 4 4 0 0 0-2.69-.19 3.46 3.46 0 0 1-.71.06c-.68 0-.72.61-1.4.61-.34 0-.58.14-.86-.27s-.75-.26-1.09-.19a21.43 21.43 0 0 1-4.87 0 10.08 10.08 0 0 1-1.22-.12 2 2 0 0 0-1.1.2 2.9 2.9 0 0 1-1.72.15 14.46 14.46 0 0 0-3.15-.19 11.38 11.38 0 0 1-3.23-.25 2.67 2.67 0 0 0-1.6.17 1.38 1.38 0 0 1-1.64-.34c-.29-.35-.86-.17-.86-.17a1.9 1.9 0 0 0-.82 0c-.28 0-.77.56-1.4.52a15.76 15.76 0 0 1-2.14-.39c-.86-.15-1.69.19-2.53.09l-.61-.06c-.45 0-.89-.07-1.33-.06a26.42 26.42 0 0 1-4.17.11 3.41 3.41 0 0 0-.71 0 7.84 7.84 0 0 1-3.44-.11.31.31 0 0 0-.19 0 9 9 0 0 1-2.42.21 12.57 12.57 0 0 1-1.94 0 6.29 6.29 0 0 1-1.94-.07c-.68-.23-1.27.23-1.91.19h-.31a22.77 22.77 0 0 0-2.74 0c-.48 0-1 .12-1.46.12a3.24 3.24 0 0 0-1.32 0c-.5.23-.94-.13-1.4 0-.17 0-.36 0-.51.06a1.22 1.22 0 0 1-1 0c-.6-.14-.73-.78-1.87-.52a1.56 1.56 0 0 1-1.41-.07.14.14 0 0 0-.19 0 .62.62 0 0 1-.94 0c-.63.39-1.28.1-1.92.12a3.28 3.28 0 0 1-1.1-.2 1.83 1.83 0 0 0-.9 0 9.27 9.27 0 0 1-2.44.24 5.78 5.78 0 0 0-1.61 0c-.33.06-.66.26-1-.14 0-.07-.2 0-.29 0a1.46 1.46 0 0 1-.9 0 14.82 14.82 0 0 0-3-.15h-1.42c-.17 0-.33.08-.5.1-.7.1-1.38.46-2.1.14a.71.71 0 0 0-.6 0 1.45 1.45 0 0 1-1.08.1 3.39 3.39 0 0 0-1.31 0 2.67 2.67 0 0 1-1.53-.09 1.32 1.32 0 0 0-.59-.07h-2.4c-.4 0-.8-.13-1.21-.12-.91 0-1.81.14-2.72.22a1.49 1.49 0 0 1-1-.2 1.36 1.36 0 0 0-1.39 0 2.66 2.66 0 0 1-2.19.07 2.76 2.76 0 0 0-2.3.1 2.07 2.07 0 0 1-1.59.28.53.53 0 0 0-.41 0 .94.94 0 0 1-1-.18 2.47 2.47 0 0 0-1.65-.16c-.54.06-1.13.13-1.71.17a8.92 8.92 0 0 1 .08-2.29 2.17 2.17 0 0 0 0-.57.71.71 0 0 0-.13-.38 1.24 1.24 0 0 1-.16-1 17.85 17.85 0 0 0 .2-1.92 8.29 8.29 0 0 0-.14-1.93 6.87 6.87 0 0 1 0-1.92 3.79 3.79 0 0 1 .13-1.3 3.83 3.83 0 0 0 .07-2.41 1.36 1.36 0 0 1 0-.4l.13-3.34a1.84 1.84 0 0 0-.1-.51c.07-.11.22-.24.19-.35-.2-.71-.56-1.42-.16-2.15-.2-.47.13-.93.06-1.38-.09-.7.19-1.41-.27-2.08a.59.59 0 0 1 0-.5 1.42 1.42 0 0 0-.1-1.19c-.1-.2 0-.39.23-.54h.07v-.06c0-.13-.19-.31-.11-.38.44-.38.24-.77.15-1.16a.51.51 0 0 1 0-.4 3 3 0 0 0 .19-1.81c0-.49-.37-1 .16-1.48.1-.09 0-.27 0-.4a3.58 3.58 0 0 1 0-1.42.76.76 0 0 0 0-.61 2 2 0 0 1 0-1.59c0-.16.11-.36 0-.48a.94.94 0 0 1-.11-1.08c.3-.69-.19-1.41.13-2.1a.27.27 0 0 0-.1-.29c-.4-.26-.42-.52-.09-.82s.17-.42.08-.67a2.83 2.83 0 0 1-.14-1.7c.14-.55.37-1.13-.15-1.69-.13-.14 0-.39 0-.59a1.81 1.81 0 0 0 0-.8 1.86 1.86 0 0 1 .11-1.23 1.57 1.57 0 0 0 0-1.29 2.52 2.52 0 0 1-.21-1.49 5.91 5.91 0 0 0 .09-1.39c0-.5 0-1 .07-1.49a12.5 12.5 0 0 0 0-2.12.55.55 0 0 1 .08-.4c.48-.58.27-1.18.13-1.77a1.42 1.42 0 0 1 0-.91 1.69 1.69 0 0 0 0-.71 2.33 2.33 0 0 0 0-.37v-.48a4.22 4.22 0 0 1 0-1.18l.22-1.09a1.65 1.65 0 0 1 .39-.94 1.18 1.18 0 0 1 .51-.32 1.08 1.08 0 0 1 .47 0 1.87 1.87 0 0 1 1.2.65 1 1 0 0 0 .67.33 1.66 1.66 0 0 1 .77.44 1 1 0 0 0 .45.32 10.09 10.09 0 0 1 1.17.4c.09 0 .15.14.22.22.53.61 1.33.81 1.94 1.29a.88.88 0 0 0 .52.08.81.81 0 0 1 .71.38 2.54 2.54 0 0 0 .54.44 2.45 2.45 0 0 0 1.7.86c.06 0 .12.06.16.12.2.32.54.39.85.54a2.78 2.78 0 0 1 .92.64 3.84 3.84 0 0 0 2.06 1.48 2.62 2.62 0 0 1 1.3.72l1.17.82c.11.08.06.15 0 .24a3 3 0 0 0 1.14.33 2 2 0 0 1 1.51.58.56.56 0 0 0 .36.19c.4 0 .6.32.76.65a1.52 1.52 0 0 0 .93.76 4.57 4.57 0 0 1 2 1.1.86.86 0 0 0 .65.25 1.25 1.25 0 0 1 .94.37 15.63 15.63 0 0 0 1.55 1.16 9.39 9.39 0 0 0 1.73.88 6.48 6.48 0 0 1 1.65 1 3.91 3.91 0 0 1 1 .77 3.85 3.85 0 0 0 2 1.3 1.37 1.37 0 0 1 .37.17l2.8 1.83a2.48 2.48 0 0 0 .48.17c.07.12.1.32.21.35.71.2 1.51.24 1.93 1 .51.07.73.59 1.15.77.65.27 1.11.88 1.93.83a.58.58 0 0 1 .45.22 1.44 1.44 0 0 0 1.07.53c.22 0 .33.19.34.46l-.07.05h.08c.14 0 .37 0 .39.1.1.58.53.61.92.73.13 0 .29.07.35.19a3 3 0 0 0 1.46 1.09c.43.22 1 .2 1.19.9 0 .13.22.14.34.2a3.31 3.31 0 0 1 1.2.76.75.75 0 0 0 .54.27c.62 0 1 .47 1.35.86.11.11.25.28.41.25a.93.93 0 0 1 1 .47c.44.61 1.3.55 1.73 1.18a.27.27 0 0 0 .31.06c.43-.21.66-.09.74.35s.28.36.54.41a2.71 2.71 0 0 1 1.53.75c.4.4.79.9 1.53.73.19 0 .33.22.49.33s.42.38.69.42l-1 2.24a1.39 1.39 0 0 1-.43-.28c-.43-.5-1.21-.47-1.53-1.14-.71-.24-1.19-.91-2-1-.17 0-.3-.16-.42-.28a9.74 9.74 0 0 0-2.82-1.84c-.19-.08-.42-.13-.53-.3-.35-.55-.95-.64-1.49-.84a4.08 4.08 0 0 1-.87-.31c-.69-.44-1.36-.91-2-1.39a3.23 3.23 0 0 0-1.54-.78.83.83 0 0 1-.45-.24 13 13 0 0 0-3.31-2 5.45 5.45 0 0 1-.58-.4c-.68-.43-1.13-1.25-2-1.31a.44.44 0 0 1-.34-.22c-.42-.66-1.17-.8-1.73-1.25a1.42 1.42 0 0 0-.75-.3 1.59 1.59 0 0 1-1.28-.78.75.75 0 0 0-.32-.24 6.61 6.61 0 0 1-1.55-.94 5.91 5.91 0 0 0-1.61-1.08 9.76 9.76 0 0 1-2.05-.86c-.23-.15-.53-.2-.7-.41a10.31 10.31 0 0 0-2.25-1.59c-.5-.35-1.05-.64-1.58-1s-1.19-.36-1.54-.94a24.82 24.82 0 0 1-2.92-1.68c-1.3-.8-2.64-1.54-4-2.31a6.16 6.16 0 0 0-.94-.59 4.64 4.64 0 0 1-.72-.32.67.67 0 0 1-.58-.3 2.53 2.53 0 0 0-1.28-1h-.1a1 1 0 0 1-.37-.13 12.42 12.42 0 0 1-2.42-1.28 14.86 14.86 0 0 0-2.8-1.45 2.89 2.89 0 0 1-1.4-1 2.23 2.23 0 0 0-.85-.74c-.37-.16-.75-.31-1.11-.51-.7-.4-1.45-.74-2.17-1.12l-.27-.14-.12-.07-.1-.07a2.9 2.9 0 0 1-.28-.32c-.06-.08-.13-.18-.19-.15s0 .17.11.44-.1 0-.11.07v.17A1.72 1.72 0 0 0 82 87c0 .47 0 .94-.1 1.41a12 12 0 0 0 .1 4.3 2 2 0 0 1 0 1.19 5.31 5.31 0 0 0 0 1.82c0 .13.09.27.07.4a16.74 16.74 0 0 0-.14 4.06 1.25 1.25 0 0 1 0 .51c-.21.63.22 1.29-.19 1.91.15.73-.18 1.48.22 2.21a.79.79 0 0 1 0 .5 9.51 9.51 0 0 0-.14 3.36 1.06 1.06 0 0 1 0 .61 2.54 2.54 0 0 0 0 1.72 4.78 4.78 0 0 1 .18.9c0 .82-.09 1.63-.16 2.44a3.29 3.29 0 0 0 .11 1.73.78.78 0 0 1 0 .5 13.28 13.28 0 0 0 0 3.88 5.62 5.62 0 0 1 0 .7c0 .81-.49 1.61-.08 2.42a.45.45 0 0 1 0 .41c-.36.69-.08 1.41-.19 2.12a1.4 1.4 0 0 0 .13.8 1.62 1.62 0 0 1 0 1.5.69.69 0 0 0 0 .4 7.31 7.31 0 0 1 0 1.81 5.73 5.73 0 0 0-.1 1.93 9.35 9.35 0 0 1 .31 2.21 2.75 2.75 0 0 1 0 .81 10.18 10.18 0 0 0-.2 2.75v1.84c0 .62.3 1.2 0 1.81 0 .24 0 .48.06.73v1.13h3.97a5.91 5.91 0 0 0 1.11 0 3.66 3.66 0 0 1 1.83 0 1.85 1.85 0 0 0 1.31 0 1.48 1.48 0 0 1 1.11.09c.39.14.75-.31 1.19-.22a7.24 7.24 0 0 0 2.22.19c1-.09 2 0 3 0s2.15.11 3.23.08a7.36 7.36 0 0 1 2.34-.05c1.22.37 2.44-.09 3.66.1a13.12 13.12 0 0 0 2.33-.17h3.57a3.51 3.51 0 0 0 1.21 0c.41.45.82.3 1.24 0 .06 0 .15-.07.2 0 .5.41 1 0 1.5-.06 1.19-.16 2.37.15 3.56.09.37 0 .74 0 1.11-.07a7.43 7.43 0 0 1 .81-.09 29.07 29.07 0 0 0 4 0 .45.45 0 0 1 .39.1c.29.31.6.16.9.1a3.57 3.57 0 0 1 1.3-.11.81.81 0 0 0 .51 0 2.44 2.44 0 0 1 1.75-.17c1 .33 2-.34 3-.06a.76.76 0 0 0 .41-.07.63.63 0 0 0 .29-.1 1 1 0 0 1 1.1 0 1.29 1.29 0 0 0 .8.07 2 2 0 0 1 .81 0c1.18.09 2.36 0 3.55.15a15.65 15.65 0 0 0 2.9-.13 2.93 2.93 0 0 1 1.52.14.78.78 0 0 0 .5 0c.17 0 .33-.15.49-.15a9.66 9.66 0 0 1 1.52.15c.53.12 1-.21 1.51-.27a1 1 0 0 1 .3 0 2.23 2.23 0 0 0 1.32-.17 2.42 2.42 0 0 1 1.41 0 6.68 6.68 0 0 0 2.22.21 6.28 6.28 0 0 1 1.62-.05 5.41 5.41 0 0 0 2.53-.07 3.4 3.4 0 0 1 .71-.05c.1 0 .25 0 .29.08a.79.79 0 0 0 .9.53h.64c.68-.05 1.36-.11 2-.14a3.46 3.46 0 0 1 .71.06 4 4 0 0 0 2.69-.19 2.84 2.84 0 0 1 1.12-.08 1.59 1.59 0 0 0 1 0 .24.24 0 0 1 .2 0 5.64 5.64 0 0 0 2.59 0 .84.84 0 0 1 .8 0 .86.86 0 0 0 .48.2 12.2 12.2 0 0 0 2.34-.11.67.67 0 0 1 .3-.08 10.45 10.45 0 0 1 1.21.26c.37.12.72-.25 1.1 0a.52.52 0 0 0 .49.07 2 2 0 0 1 1.81-.07c.59.24 1-.36 1.63-.12a2.85 2.85 0 0 0 1.6.17 11.75 11.75 0 0 1 3.23-.25 14.46 14.46 0 0 0 3.15-.19 2.9 2.9 0 0 1 1.72.15 2 2 0 0 0 1.1.2c.41 0 .81-.11 1.22-.12a21.43 21.43 0 0 1 4.87 0 1.08 1.08 0 0 0 1.09-.18c.09-.09.25 0 .38 0a5.63 5.63 0 0 0 .81.11h.76l.4.07v-.12a1.39 1.39 0 0 0 .09-.34v-.92a8.64 8.64 0 0 0-.27-2.13 2.13 2.13 0 0 1 0-1.2 5.56 5.56 0 0 0 0-1.82c0-.13-.1-.27-.08-.39a15.87 15.87 0 0 0 .14-4.07 1.26 1.26 0 0 1 0-.51c.2-.62-.23-1.28.19-1.9-.16-.73.17-1.48-.22-2.21-.08-.15 0-.34 0-.51a9.49 9.49 0 0 0 .14-3.36 1.15 1.15 0 0 1 0-.61 2.51 2.51 0 0 0 0-1.71 4.85 4.85 0 0 1-.17-.91c0-.81.08-1.62.15-2.44a3.16 3.16 0 0 0-.11-1.72.89.89 0 0 1 0-.51 13.21 13.21 0 0 0 0-3.87 4.11 4.11 0 0 1 0-.7c0-.81.49-1.61.08-2.43a.47.47 0 0 1 0-.4c.36-.7.09-1.42.19-2.12a1.44 1.44 0 0 0-.13-.81 1.6 1.6 0 0 1 0-1.49.7.7 0 0 0 0-.4 6.93 6.93 0 0 1 0-1.82 5.68 5.68 0 0 0 .1-1.92 10.51 10.51 0 0 1-.31-2.22 2.68 2.68 0 0 1 0-.8 10.22 10.22 0 0 0 .21-2.75v-1.84c0-.61-.31-1.21 0-1.81a22.29 22.29 0 0 1-.06-3.37v-1.39c0-.14 0-.31-.11-.4s-.29.06-.41.12a.58.58 0 0 1-.17.06.37.37 0 0 0-.21.13l-.13.16a4 4 0 0 1-.37.24 3.59 3.59 0 0 1-.86.34 1.84 1.84 0 0 0-1.12.68 1.45 1.45 0 0 1-1 .47c-.42.08-.5.65-.93.79a7.27 7.27 0 0 0-2 1c-.81.57-1.72 1-2.57 1.45s-1.92 1-2.84 1.54a7.26 7.26 0 0 1-2 1.22c-1.24.29-2.07 1.29-3.22 1.74a12.87 12.87 0 0 0-1.86 1.38c-1 .62-2 1.21-3.1 1.77a3.32 3.32 0 0 0-1.07.56c-.58-.18-.87.16-1.09.61 0 .06-.09.14-.15.13-.65-.11-.87.5-1.27.8-1 .73-2.13 1.05-3.13 1.7-.31.19-.63.39-.93.61a7.37 7.37 0 0 1-.66.48 29.93 29.93 0 0 0-3.43 2 .47.47 0 0 1-.39.11c-.41-.13-.6.16-.82.36a3.41 3.41 0 0 1-1.08.74.88.88 0 0 0-.41.3 2.52 2.52 0 0 1-1.44 1c-1 .22-1.58 1.31-2.61 1.57-.13 0-.21.16-.31.26a.66.66 0 0 0-.21.23 1 1 0 0 1-.92.59 1.3 1.3 0 0 0-.74.34 1.75 1.75 0 0 1-.71.38c-1.06.52-2 1.19-3.15 1.65a16.62 16.62 0 0 0-2.45 1.56 2.87 2.87 0 0 1-1.39.64.9.9 0 0 0-.43.25c-.13.11-.21.3-.35.37a8.15 8.15 0 0 1-1.38.63c-.52.16-.77.69-1.18 1a.87.87 0 0 1-.27.14 2.19 2.19 0 0 0-1.05.81 2.38 2.38 0 0 1-1.22.7 6.59 6.59 0 0 0-2 .93 5.84 5.84 0 0 1-1.38.85z\\\"/><path fill=\\\"#f8afaf\\\" d=\\\"M180.75 97.04V59.77h-74.43v39.25l35.03 20.44 39.4-22.42z\\\"/><path d=\\\"M179.89 96.65c.15-.53-.19-1-.09-1.56 0-.12 0-.25.06-.37a5.54 5.54 0 0 0 .07-.81 10 10 0 0 1-.11-2.56 1.1 1.1 0 0 0 0-.44 3 3 0 0 1 .12-2.11v-.11c-.32-.49-.1-1-.21-1.49a5.92 5.92 0 0 1 0-1.19c0-.4-.14-.81.07-1.19s-.23-.78-.18-1.17a1.2 1.2 0 0 1 0-.19 8 8 0 0 0 0-1.69c0-.29-.12-.6-.12-.89s.15-.56 0-.81.13-.58 0-.86c0-.1 0-.22-.06-.31s-.12-.41 0-.61c.13-.37.77-.45.51-1.15-.1-.28-.28-.58.08-.86 0 0 .05-.09 0-.12-.28-.19-.35-.38 0-.58-.4-.38-.1-.78-.12-1.17a1.32 1.32 0 0 1 .19-.68.68.68 0 0 0 0-.56 3.69 3.69 0 0 1-.23-1.49 2.2 2.2 0 0 0 0-1c-.07-.2-.27-.4.14-.59.07 0 0-.12 0-.18a.57.57 0 0 1 0-.55 5.42 5.42 0 0 0-.01-1.86v-.88c0-.1-.08-.2-.1-.3-.09-.43-.45-.85-.14-1.29a.29.29 0 0 0-.05-.37.62.62 0 0 1-.1-.67 1.22 1.22 0 0 0 0-.8 1 1 0 0 1 .1-.93.62.62 0 0 0 .07-.37l-.05-.82c0-.08.1-.26.12-.39h-.05a3.61 3.61 0 0 0-.81.22.63.63 0 0 1-.61-.2.56.56 0 0 0-.85 0 1.07 1.07 0 0 1-1.34.06 1.15 1.15 0 0 0-1.42.11c-.32.26-.64.46-1 .28a.2.2 0 0 0-.24 0c-.22.19-.42 0-.61-.18a.63.63 0 0 0-.73-.17 1.73 1.73 0 0 1-1.42.1.36.36 0 0 0-.42.12.52.52 0 0 1-.61.16 7 7 0 0 0-1.19-.2 3.19 3.19 0 0 0-1.18.14 2.48 2.48 0 0 1-1.18 0c-.26 0-.55.07-.79-.12a1.51 1.51 0 0 0-1.48-.07.55.55 0 0 1-.25 0l-2.05-.13a.75.75 0 0 0-.31.1c-.08-.07-.15-.22-.22-.19-.44.2-.87.56-1.32.16-.29.2-.57-.13-.85-.07s-.86-.18-1.28.28a.23.23 0 0 1-.3 0 .6.6 0 0 0-.73.09c-.12.11-.24 0-.33-.22v-.07s-.19.19-.24.11c-.23-.44-.47-.25-.71-.15-.08 0-.17.09-.24 0-.37-.35-.74-.22-1.11-.19s-.62.37-.91-.16c-.06-.1-.16 0-.25 0-.29 0-.58.14-.87 0a.3.3 0 0 0-.37 0c-.33.31-.65.09-1 0-.09 0-.22-.11-.29 0a.42.42 0 0 1-.67.11c-.42-.3-.86.19-1.28-.13-.06 0-.14 0-.18.1-.16.4-.32.42-.5.09s-.26-.17-.42-.08a1.12 1.12 0 0 1-1 .14c-.34-.14-.7-.37-1 .15-.08.13-.23 0-.36 0s-.34-.12-.49 0c-.32.22-.63.06-.92-.15a.66.66 0 0 0-.8 0 1 1 0 0 1-.91.22 2.27 2.27 0 0 0-.85-.09c-.31 0-.62 0-.92-.07a4.71 4.71 0 0 0-1.3 0 .25.25 0 0 1-.25-.08c-.35-.48-.72-.27-1.09-.13-.18.07-.36.15-.55 0s-.29 0-.44 0-.59.2-.92 0a1.24 1.24 0 0 0-1 .1 1 1 0 0 1-1.11-.06c-.08-.08-.21 0-.3.06s-.45-.15-.68 0a3.43 3.43 0 0 1-.74.26c-.06 0-.12 0-.18-.07-.47-.26-1 0-1.43-.12-.1 0-.2.1-.3.2a.35.35 0 0 1-.49 0c-.14-.11-.29-.07-.43-.11-.39-.12-.78-.26-1.16.14a.09.09 0 0 1-.12 0c-.21-.18-.41-.07-.62 0a1.1 1.1 0 0 1-.69-.08c-.83-.4-.83-.42-1.65-.19a1.34 1.34 0 0 1-.44.06c-.42 0-.44.61-.86.61-.21 0-.35.14-.52-.27s-.47-.26-.67-.19a8.12 8.12 0 0 1-3 0 3.9 3.9 0 0 1-.75-.12.87.87 0 0 0-.68.2 1.14 1.14 0 0 1-1 .15 5.5 5.5 0 0 0-1.93-.19 4.56 4.56 0 0 1-2-.25 1 1 0 0 0-1 .17c-.38.27-.77.11-1-.34a.39.39 0 0 0-.53-.17c-.14-.08-.36 0-.51 0s-.47.56-.85.52a2.29 2.29 0 0 1-.64-.16 1.52 1.52 0 0 0-.34-.23.44.44 0 0 0-.47.08.33.33 0 0 1 0 .24.45.45 0 0 0-.06.14 1.19 1.19 0 0 0-.07.4 9.07 9.07 0 0 1 .12 2.51 1.08 1.08 0 0 0 0 .44 3 3 0 0 1-.12 2.11v.12c.33.49.1 1 .21 1.49a5.17 5.17 0 0 1 0 1.18c0 .4.14.81-.07 1.19s.23.78.19 1.18v.18a8 8 0 0 0 0 1.69c0 .29.12.6.12.9s-.15.56 0 .8-.13.58 0 .86c0 .11 0 .22.07.31s.11.41 0 .61c-.14.37-.78.45-.52 1.15.1.28.28.58-.07.86 0 0-.06.1 0 .13.27.19.34.38 0 .57.39.39.09.78.12 1.18a1.33 1.33 0 0 1-.2.67.73.73 0 0 0 0 .56 3.56 3.56 0 0 1 .24 1.49 2 2 0 0 0 0 1c.06.2.26.41-.14.6-.08 0 0 .12 0 .17a.59.59 0 0 1 0 .56 5.62 5.62 0 0 0-.15 1.87v.87c0 .1.08.2.1.3.1.43.45.85.14 1.29a.29.29 0 0 0 .05.37.6.6 0 0 1 .1.67 1.29 1.29 0 0 0 0 .8 1 1 0 0 1-.1.94.57.57 0 0 0-.06.36v1.47c0 .25-.14.5-.12.74 0 .56.14 1.12.22 1.68a.63.63 0 0 1-.2.61c-.28.17-.26.4 0 .44h.43a.23.23 0 0 1 0 .1.52.52 0 0 0 .09.21 1.13 1.13 0 0 0 1.28.62c.41-.06.78-.07 1 .26a.22.22 0 0 0 .23.1c.28 0 .37.19.43.46a.63.63 0 0 0 .55.51 1.78 1.78 0 0 1 1.27.63.36.36 0 0 0 .43.12.53.53 0 0 1 .61.16 5.15 5.15 0 0 0 .92.77 3.37 3.37 0 0 0 1.09.49 2.45 2.45 0 0 1 1 .57c.21.17.51.23.63.51.24.58.74.69 1.24.81a.78.78 0 0 1 .23.08l1.71 1.16a1 1 0 0 0 .32.06c0 .1 0 .27.09.28.48.05 1 0 1.23.52.34 0 .42.4.69.49.42.13.65.59 1.24.4a.25.25 0 0 1 .29.12.59.59 0 0 0 .68.29c.15 0 .21.11.17.36h-.06.06c.09 0 .26-.07.26 0 0 .5.28.45.54.49.09 0 .19 0 .22.11.13.48.52.56.86.72s.72 0 .7.6c0 .11.14.09.22.12.26.13.57.17.73.47a.29.29 0 0 0 .34.15c.44-.09.61.26.82.53.07.09.14.21.25.16a.41.41 0 0 1 .63.24c.22.48.84.27 1.05.77 0 .06.12.05.2 0 .34-.26.49-.2.48.18s.14.28.32.28a1.12 1.12 0 0 1 1 .4c.22.3.41.68 1 .4.14-.07.2.13.3.2s.24.27.42.26c.38 0 .57.27.72.59a.64.64 0 0 0 .71.37 1 1 0 0 1 .9.27 2.14 2.14 0 0 0 .69.51c.25.17.51.33.75.53a4.91 4.91 0 0 0 1.14.64.23.23 0 0 1 .16.19.62.62 0 0 0 .32.53c.17.09.24 0 .35 0s.15-.08.21.11c0 .07.12 0 .17-.06s.08-.29.51-.34a1.23 1.23 0 0 0 .86-.59c.25-.33.51-.6 1-.5.12 0 .19-.08.23-.2.09-.3.46-.1.6-.31a3.72 3.72 0 0 1 .52-.59h.2c.53 0 .83-.46 1.3-.61.09 0 .12-.19.16-.32a.34.34 0 0 1 .41-.27c.17 0 .28-.09.42-.12.4-.1.81-.16.94-.7a.1.1 0 0 1 .12 0c.27 0 .39-.15.55-.28a1.06 1.06 0 0 1 .63-.27c.89-.06.94 0 1.46-.58a1 1 0 0 1 .77-.49l.81-.35c.08 0 .12 0 .17.15a1.23 1.23 0 0 0 .46-.61c.15-.39.33-.72.71-.73a.2.2 0 0 0 .21-.14c.09-.27.35-.22.61-.14a.63.63 0 0 0 .72-.22 1.82 1.82 0 0 1 1.18-.79.37.37 0 0 0 .32-.31.53.53 0 0 1 .44-.44 6.08 6.08 0 0 0 1.13-.41 3.69 3.69 0 0 0 1-.7 2.27 2.27 0 0 1 1-.6c.25-.1.45-.33.75-.29a1.49 1.49 0 0 0 1.32-.67 1 1 0 0 1 .19-.16l1.85-.89c.1 0 .15-.17.22-.25.09 0 .24.12.28.06.28-.39.48-.92 1.07-.8.15-.32.56-.17.77-.36s.84-.26 1-.87a.24.24 0 0 1 .25-.18.59.59 0 0 0 .58-.45c.06-.15.2-.12.4 0 0-.07.07-.26.15-.21.42.27.53 0 .69-.23.06-.06.11-.15.21-.13.49.13.75-.17 1.06-.38s.35-.63.87-.31c.09.06.14-.08.21-.12.24-.17.43-.41.77-.41a.3.3 0 0 0 .31-.21c.14-.43.52-.4.87-.45.1 0 .25 0 .26-.14 0-.37.24-.45.52-.42.52 0 .66-.59 1.19-.52.06 0 .11-.08.1-.18-.06-.43.07-.52.39-.32s.31 0 .4-.14a1.14 1.14 0 0 1 .84-.64c.36 0 .79 0 .82-.64 0-.16.22-.11.33-.16s.35-.07.43-.23l1.36 2a.43.43 0 0 1-.28.13c-.44 0-.58.59-1.11.41-.31.36-.88.31-1.07.87 0 .11-.18.11-.29.13a3.57 3.57 0 0 0-1.86.9c-.09.08-.17.21-.32.19-.45-.07-.64.3-.89.56s-.23.35-.39.43c-.45.23-.91.42-1.38.61s-.69.22-.86.62a.34.34 0 0 1-.26.18 5 5 0 0 0-2.08 1.15 2.76 2.76 0 0 1-.39.18c-.45.22-1.1.06-1.34.66a.19.19 0 0 1-.22.12c-.55-.1-.8.35-1.22.48a.58.58 0 0 0-.37.35.67.67 0 0 1-.8.45.28.28 0 0 0-.24.08 2.58 2.58 0 0 1-1 .54 2.28 2.28 0 0 0-1.08.49 3.66 3.66 0 0 1-1 .94c-.14.08-.24.26-.43.25-.64 0-1 .44-1.56.66a8 8 0 0 0-1 .55c-.32.18-.49.63-1 .53a8.69 8.69 0 0 1-1.77 1.07c-.83.44-1.61 1-2.42 1.43-.19.11-.45.14-.6.31a1.9 1.9 0 0 1-.38.32.27.27 0 0 1-.32.23 1.05 1.05 0 0 0-.94.34.44.44 0 0 1-.16.19 4.78 4.78 0 0 1-1.39.95 5.45 5.45 0 0 0-1.58 1.13 1.19 1.19 0 0 1-1 .39.85.85 0 0 0-.69.16 5.18 5.18 0 0 1-.58.47 8.21 8.21 0 0 1-2.58 1.52c-.21 0-.48.08-.49.49 0 .1-.14.07-.21.1a2.77 2.77 0 0 0-.49.15c-.3.14-1.27.66-2 1l-.32-.23-.9-.63-.34-.22-.28-.17a3.59 3.59 0 0 0-1.27-.42.8.8 0 0 1-.64-.36c-.22-.37-.63-.4-1-.6-.06 0-.19 0-.24-.06a6.26 6.26 0 0 0-2.09-1.37.51.51 0 0 1-.25-.18c-.23-.38-.8-.21-.92-.76-.46-.09-.7-.6-1.28-.49-.12 0-.19-.1-.25-.18a3.72 3.72 0 0 0-1.72-1.16c-.12 0-.27 0-.32-.18-.17-.43-.58-.41-.94-.49a1.76 1.76 0 0 1-.57-.13 13 13 0 0 1-1.21-.89 1.28 1.28 0 0 0-1-.43.33.33 0 0 1-.28-.13 5.08 5.08 0 0 0-2-1.22 2.27 2.27 0 0 1-.35-.26c-.42-.27-.61-.92-1.25-.82a.19.19 0 0 1-.21-.13c-.19-.53-.7-.51-1-.82a.58.58 0 0 0-.49-.14.67.67 0 0 1-.79-.47.24.24 0 0 0-.18-.16 2.63 2.63 0 0 1-1-.58 2.24 2.24 0 0 0-1-.68 3.7 3.7 0 0 1-1.33-.42c-.14-.09-.34-.09-.43-.24-.32-.56-.9-.69-1.35-1a7.31 7.31 0 0 0-1-.58c-.32-.18-.79-.11-1-.58a8.83 8.83 0 0 1-1.81-1c-.8-.49-1.63-.91-2.45-1.38-.2-.11-.34-.31-.57-.36a1.83 1.83 0 0 1-.54-.2 3.5 3.5 0 0 1-.51-.46 1.77 1.77 0 0 0-1.12-.62 1.49 1.49 0 0 1 .1-1.08.7.7 0 0 0-.09-.54c-.09-.12-.18-.24-.13-.38a2.8 2.8 0 0 0 .19-1.36 13.65 13.65 0 0 1 0-1.81c0-.67.11-1.32.08-2 0-.47-.29-1-.06-1.43.37-.75-.08-1.5.11-2.25.12-.47-.15-1-.17-1.42a20 20 0 0 1 0-2.19c0-.25.17-.5 0-.75.44-.25.3-.5 0-.76 0 0-.07-.09 0-.12.42-.31 0-.62-.06-.92a17.84 17.84 0 0 1 .1-2.19c0-.22 0-.45-.07-.68a2.75 2.75 0 0 1-.09-.5 11 11 0 0 0 0-2.43.22.22 0 0 1 .09-.24c.32-.18.17-.36.11-.54a1.43 1.43 0 0 1-.11-.81.3.3 0 0 0 0-.31 1 1 0 0 1-.16-1.07c.33-.63-.35-1.25-.06-1.87 0-.08 0-.16-.07-.25a.3.3 0 0 0-.1-.18c-.27-.22-.19-.44 0-.67a.52.52 0 0 0 .07-.49c-.09-.18 0-.33 0-.5.09-.72 0-1.45.14-2.18a5.63 5.63 0 0 0-.12-1.78 1.15 1.15 0 0 1 .14-.93c.08-.1 0-.21 0-.31s-.16-.2-.15-.3a3.35 3.35 0 0 1 .15-.93c.12-.32-.22-.62-.27-.93a.28.28 0 0 1 0-.18.9.9 0 0 0-.17-.81 3.26 3.26 0 0 1 0-1.67 10 10 0 0 0 .23-1.52 5.51 5.51 0 0 0 .82 0 6.7 6.7 0 0 1 1.8 0l.65.09a1.7 1.7 0 0 0 .39 0 1.77 1.77 0 0 0 .77-.18 1.11 1.11 0 0 1 .44-.05c.06 0 .15 0 .18.08.14.52.37.57.55.53h.39c.42 0 .83-.11 1.25-.14a1.34 1.34 0 0 1 .44.06c.82.23.82.21 1.65-.19a1.1 1.1 0 0 1 .69-.08c.2 0 .41.15.61 0a.11.11 0 0 1 .13 0c.38.4.77.26 1.16.14.14 0 .29 0 .43-.11a.35.35 0 0 1 .49 0c.09.1.2.22.3.2.47-.1.95.14 1.43-.11.06 0 .12-.1.18-.08a4.07 4.07 0 0 1 .74.26c.23.12.45-.25.68 0s.22.14.3.07a.83.83 0 0 1 1.11-.07c.36.24.61-.36 1-.12a1.14 1.14 0 0 0 1 .17 4.42 4.42 0 0 1 2-.25 5.5 5.5 0 0 0 1.93-.19 1.14 1.14 0 0 1 1.05.15.87.87 0 0 0 .68.2 3.9 3.9 0 0 1 .75-.12 8.12 8.12 0 0 1 3 0 .47.47 0 0 0 .67-.19c0-.08.15 0 .23 0a3 3 0 0 0 .5.11 16.85 16.85 0 0 1 1.73.16 4.57 4.57 0 0 0 2.61-.16.81.81 0 0 1 .74 0c.37.21.74 0 1.11 0 .08 0 .17-.09.25-.07a6.35 6.35 0 0 0 2.49.14.47.47 0 0 1 .31 0c.39.21.79-.22 1.17.19.45-.15.91.18 1.36-.22.09-.08.21 0 .31 0a3.63 3.63 0 0 0 2.06.14c.13 0 .26-.1.37 0 .36.29.71.06 1.06 0a2 2 0 0 1 .55-.18c.5 0 1 .09 1.5.16a1.28 1.28 0 0 0 1.06-.11.31.31 0 0 1 .31 0 5 5 0 0 0 2.37 0 2.2 2.2 0 0 1 .44 0c.49 0 1 .49 1.48.08a.18.18 0 0 1 .25 0c.43.36.87.08 1.3.19a.59.59 0 0 0 .5-.13.67.67 0 0 1 .92 0 .26.26 0 0 0 .24 0 2.6 2.6 0 0 1 1.11 0 2.22 2.22 0 0 0 1.19.1 3.68 3.68 0 0 1 1.35-.31c.17 0 .34-.1.5 0a3.93 3.93 0 0 0 1.69.2 7.1 7.1 0 0 0 1.13 0c.37 0 .74-.3 1.11 0a9.45 9.45 0 0 1 2.06-.06h2.81a2.23 2.23 0 0 0 .68 0 1.41 1.41 0 0 1 1.12 0 .74.74 0 0 0 .81 0c.23-.16.45 0 .68.09s.46-.31.73-.22a2.07 2.07 0 0 0 .37.11l.53.07a5.44 5.44 0 0 0 1.07 0 8 8 0 0 1 1.09 0c0 .61-.06 1.22-.05 1.8 0 1.2-.12 1.6-.09 2.33 0 .48.29 1 .06 1.43-.37.75.08 1.5-.11 2.25-.11.47.15 1 .17 1.43v2.19c0 .24-.17.49-.05.74-.44.25-.29.5 0 .76 0 0 .07.09 0 .12-.42.31 0 .62.06.92a20 20 0 0 1-.09 2.19c0 .22 0 .45.06.68a2.19 2.19 0 0 1 .09.5 11.61 11.61 0 0 0 0 2.43.22.22 0 0 1-.09.24c-.32.18-.17.36-.11.55a1.24 1.24 0 0 1 .11.8.35.35 0 0 0 0 .31 1 1 0 0 1 .16 1.08c-.33.62.35 1.24.06 1.86 0 .08 0 .17.07.25a.3.3 0 0 0 .1.18c.27.22.2.44 0 .67a.49.49 0 0 0-.07.5c.08.17 0 .33 0 .49-.08.73 0 1.45-.14 2.18a5.63 5.63 0 0 0 .12 1.78 1.18 1.18 0 0 1-.14.94c-.07.09 0 .2 0 .3s.15.2.14.3a3.29 3.29 0 0 1-.15.93c-.12.33.22.62.28.93a.31.31 0 0 1 0 .19.89.89 0 0 0 .17.8.9.9 0 0 1 0 .87 2.6 2.6 0 0 0-.21 1.36 2.12 2.12 0 0 1 .05 1z\\\"/><path d=\\\"M121.27 80.05c.1.15.19-.19.29-.09l.07.06c.05 0 .1.08.16.07s.32-.31.48-.12 0 0 .08 0 .27-.26.4.12c.09-.33.19-.1.28-.21s.15 0 .23 0 .15-.14.22.07.15-.23.22-.19c.1.1.21 0 .32 0s.11-.12.16-.12.11.15.16 0 .11.13.16 0 0 0 .06-.07.07-.11.11 0 .09.78.22.52c0-.1.11-.28.16.07 0 0 0 .06 0 0 0-.27.07-.34.1 0 .08-.39.15-.09.23-.12s.08.08.12.2.07.07.11 0 .19-.32.28-.24.12.09.19 0 .07-.26.11.14c0 .08 0 0 0 0s.07-.1.11-.05.23.21.35.15.11 0 .16 0 0-.08.06-.1.16-.45.24-.14c0 .08 0 .05.07 0s.09-.17.13-.1.1.12.15 0 .12-.1.18.1 0 .07.07.06a1.26 1.26 0 0 1 .27 0c.05 0 .1.14.14.12a1.53 1.53 0 0 0 .32-.22s.08 0 .12.2.1.26.16 0 .17-.33.25-.06.18.26.27-.11.12-.46.18-.28 0 0 .05 0 .08 0 .11.18.09.26.14.17.18-.33.27-.1c0 .06 0 0 .08-.12s.07-.21.11-.16.15.19.23.2.15 0 .22-.13.15-.08.22 0 .1-.06.15.12c.09.38.19.22.28.07s.25.1.38.13 0-.06.06-.1v.19c.08-.2.17-.56.25-.16 0-.2.11.13.16.07s.16.18.24-.28c0-.1 0-.09.06 0s.09.11.14-.09 0 0 .06.22 0-.19 0-.11c.05.44.09.25.14.15s0-.08 0 0c.07.35.14.22.21.19s.12-.37.18.17c0 .09 0 0 0 0s.11-.14.17 0 0 .06.07 0c.06-.31.12-.09.18 0s0 .11.06 0c0-.3.08-.27.12-.11s.16-.19.24.13v-.1c0-.4.06-.42.09-.09s0 .17.08.08.13-.29.2-.14.13.37.19-.15c0-.13 0 0 .07 0s.06.11.09 0 .12-.06.18.15.1.13.15 0 .11-.35.17-.22.11.07.16.09a.36.36 0 0 1 .17.07c.09.08.17 0 .25 0s0 0 .05.08c.06.49.13.27.2.13s.07-.14.11 0 .05 0 .08 0 .11-.2.17 0 .13 0 .2-.1.14-.26.21.07c0 .07 0 0 .05-.07s.09.15.13 0a1 1 0 0 1 .14-.26v.08c.09.25.18 0 .27.11s0-.1.05-.2.06-.16.1 0 .05.07.07.11.15.26.23-.14.08.07.11 0 .09 0 .13.08c.16.41.16.42.32.19 0 0 .05-.07.08-.06s.08-.61.16-.61.07-.14.1.27.09.26.13.19c.18-.33.37 0 .56 0s.09.08.14.12.09 0 .13-.2.13-.25.2-.15.24.24.36.19.25 0 .38.25.12.05.18-.17.15-.11.19.34.1.17.1.17h.1c.03 0 .09-.56.16-.52s.15.23.25.39.19-.19.29-.09l.07.06s.1.08.15.07.32-.31.49-.12.05 0 .08 0 .26-.26.4.12c.09-.33.19-.1.28-.21s.15 0 .22 0 .16-.14.23.07.15-.23.22-.19c.11.1.22 0 .32 0s.12-.12.17-.12.11.15.15 0 .11.13.17 0 0 0 0-.07.08-.11.12 0 .08.78.22.52c.05-.1.11-.28.16.07 0 0 0 .06 0 0 0-.27.07-.34.11 0 .07-.39.15-.09.22-.12s.09.08.13.2.07.07.1 0 .19-.32.29-.24.12.09.18 0 .08-.26.12.14c0 .08 0 0 0 0s.07-.1.1-.05.24.21.36.15.11 0 .16 0 0-.08.06-.1.16-.45.24-.14c0 .08.05.05.07 0s.08-.17.13-.1.1.12.15 0 .12-.1.17.1 0 .07.07.06a1.45 1.45 0 0 1 .28 0s.09.14.14.12a1.53 1.53 0 0 0 .32-.22s.07 0 .11.2.11.26.16 0 .17-.33.26-.06.18.26.26-.11.12-.46.19-.28.08 0 .12.18.09.26.14.17.17-.33.26-.1c0 .06.06 0 .08-.12s.08-.21.12-.16.15.19.22.2.15 0 .23-.13.14-.08.22 0 .1-.06.15.12c.09.38.18.22.28.07s.26.1.39.13 0-.06.06-.1v.19c.08-.2.16-.56.25-.16.05-.2.11.13.16.07s.16.18.24-.28c0-.1 0-.09.06 0s.09.11.13-.09.05 0 .07.22 0-.19 0-.11c0 .44.09.25.13.15s0-.08.05 0c.07.35.14.22.21.19s.12-.37.17.17c0 .09 0 0 0 0s.11-.14.16 0 .05.06.07 0c.07-.31.13-.09.19 0s0 .11 0 0c0-.3.08-.27.13-.11s.16-.19.24.13v-.1c0-.4.06-.42.1-.09s.05.17.08.08.13-.29.19-.14.14.37.2-.15c0-.13 0 0 .07 0s.06.11.09 0 .12-.06.17.15.1.13.15 0 .12-.35.18-.22.1.07.16.09a.41.41 0 0 1 .17.07c.08.08.16 0 .25 0s0 0 0 .08c.07.49.14.27.21.13s.07-.14.1 0 .06 0 .08 0 .12-.2.18 0 .13 0 .19-.1.14-.26.21.07c0 .07 0 0 .06-.07s.09.15.13 0a.78.78 0 0 1 .14-.26v.08c.09.25.18 0 .27.11s0-.1.06-.2.06-.16.09 0 .06.07.08.11.15.26.22-.14.07.07.11 0 .09 0 .13.08c.15.39.16.42.29.22s.12-.17.18-.05l.16.1v.21c0 .11.09-.11.14-.3s.12-.46.18-.28 0 0 .05 0 .08 0 .11.18.09.26.14.17.18-.33.27-.1c0 .06.06 0 .08-.12s.07-.21.11-.16.15.19.23.2.15 0 .22-.13.15-.08.22 0 .11-.06.15.12c.1.38.19.22.28.07s.26.1.38.13 0-.06.06-.1v.19c.09-.2.17-.56.25-.16.06-.2.11.13.16.07s.16.18.24-.28c0-.1 0-.09.06 0s.09.11.14-.09 0 0 .06.22 0-.19 0-.11c.05.44.09.25.14.15s0-.08 0 0c.06.35.13.22.2.19s.12-.37.18.17c0 .09 0 0 0 0s.11-.14.17 0 .05.06.07 0c.06-.31.12-.09.18 0s0 .11.06 0c0-.3.08-.27.12-.11s.16-.19.25.13v-.1c0-.4.06-.42.09-.09s0 .17.08.08.13-.29.2-.14.13.37.19-.15c0-.13 0 0 .07 0s.07.11.09 0v2.44h-.06c-.07-.21-.15.22-.22-.19-.09.16-.17-.18-.26.22 0 .08 0 0-.06 0-.13-.26-.26-.28-.39-.14s0 .1-.07 0c-.06-.29-.13-.06-.2.05s-.07.18-.1.18a.8.8 0 0 1-.28-.16c-.07 0-.14-.15-.2.12 0 .07 0 .06-.06 0-.15-.27-.3-.12-.45 0s-.05 0-.08-.05-.19-.49-.28-.08c0 .06 0 .06 0 0-.08-.36-.16-.08-.24-.19s-.07 0-.1.13-.11.23-.17 0c0-.06 0-.06-.05 0s-.14.06-.21 0-.15-.24-.22-.1-.17.33-.26.31-.06.1-.09 0c-.1-.32-.21-.14-.32-.21s-.14 0-.21 0-.14.3-.21 0c-.13.13-.26.08-.39.06a2.37 2.37 0 0 0-.53 0s-.09-.1-.13 0-.06.09-.09.09 0 .16-.07 0-.13-.3-.19-.18 0 .08 0 .08c-.1.16-.21.18-.31.14s-.25 0-.37.19-.13.1-.2-.15-.08-.25-.12-.2-.1.12-.14.12c-.19 0-.38.37-.57 0 0-.07-.08-.16-.13.19 0 .08 0 0 0 0s-.06-.1-.09-.11a.84.84 0 0 1-.33-.16c-.16-.14-.33-.21-.49.16 0 .11-.1.15-.14 0s-.14 0-.21 0 0 .09-.05.07c-.15-.21-.31-.26-.47-.14s0 0-.06 0c-.07-.21-.15.22-.22-.19-.08.16-.17-.18-.25.22 0 .08 0 0-.06 0-.13-.26-.26-.28-.39-.14s-.05.1-.07 0c-.07-.29-.13-.06-.2.05s-.07.18-.1.18a.84.84 0 0 1-.29-.16c-.06 0-.13-.15-.2.12 0 .07 0 .06-.06 0-.14-.27-.29-.12-.44 0s-.06 0-.08-.05-.19-.49-.29-.08c0 .06 0 .06 0 0-.08-.36-.17-.08-.25-.19s-.06 0-.09.13-.12.23-.17 0c0-.06 0-.06 0 0s-.14.06-.21 0-.15-.24-.22-.1-.17.33-.26.31-.06.1-.09 0c-.11-.32-.22-.14-.32-.21s-.14 0-.21 0-.14.3-.21 0c-.13.13-.26.08-.39.06a2.32 2.32 0 0 0-.53 0s-.09-.1-.13 0-.14.14-.21 0-.11-.16-.16 0-.08 0-.12-.09-.09.31-.14.22-.17-.26-.26-.19-.23 0-.34 0-.25-.11-.37-.08-.19.29-.28.06-.28.08-.42-.11-.18.15-.27.17a.72.72 0 0 1-.41 0c-.05 0-.09-.17-.14 0 0-.44-.1-.3-.15 0 0 0 0 .07 0 0-.06-.42-.11 0-.17.06s-.28-.16-.41-.1l-.13.07s-.07.1-.1.09a.45.45 0 0 0-.46 0v-.09c0-.32-.07-.17-.1-.11s-.1.19-.16.11 0 0-.05 0c-.07.25-.14.34-.21.16s-.23.35-.35.06v.07a.23.23 0 0 0 0 .1c0 .27-.08.19-.13 0s-.06-.14-.09-.07-.06 0-.09 0-.28 0-.41-.14-.23.06-.34.12-.12.1-.18-.14c0-.08 0 0-.05 0s0 .16-.06.15a.27.27 0 0 1-.18-.15c-.06-.12-.11.22-.17.27s-.1 0-.15.17-.11.11-.16 0-.17-.29-.26-.21-.12.15-.19.05-.19-.17-.29.07c0 .06-.06 0-.08 0s0 0 0-.08c0-.52-.07-.57-.1-.53h-.07a1.49 1.49 0 0 1-.24.14s-.06 0-.08-.06c-.16-.23-.16-.21-.31.19-.05.11-.09.12-.13.08s-.08-.15-.12 0c-.08-.4-.15-.26-.22-.14s-.06 0-.08.11-.07.11-.1 0 0-.22-.05-.2-.18-.14-.27.12v.07a1.45 1.45 0 0 1-.14-.26c0-.12-.08.25-.12 0s-.05-.14-.06-.07c-.07.33-.14.31-.21.07s-.12.36-.19.13-.12-.3-.18-.18-.25.3-.38.25-.24 0-.36.19-.14.1-.2-.15-.09-.25-.13-.2-.09.12-.14.12-.38.37-.57 0c0-.07-.08-.16-.12.19 0 .08 0 0 0 0s-.06-.1-.09-.11a.84.84 0 0 1-.33-.16c-.16-.14-.33-.21-.49.16 0 .11-.09.15-.14 0s-.14 0-.21 0 0 .09 0 .07c-.16-.21-.32-.26-.47-.14s0 0-.06 0c-.08-.21-.15.22-.22-.19-.09.16-.18-.18-.26.22 0 .08 0 0-.06 0-.13-.26-.26-.28-.39-.14s0 .1-.07 0c-.07-.29-.13-.06-.2.05s-.07.18-.1.18a.72.72 0 0 1-.28-.16c-.07 0-.14-.15-.2.12 0 .07 0 .06-.06 0-.15-.27-.3-.12-.45 0s-.05 0-.08-.05-.19-.49-.28-.08c0 .06 0 .06 0 0-.08-.36-.16-.08-.24-.19s-.07 0-.1.13-.11.23-.17 0c0-.06 0-.06-.05 0s-.14.06-.21 0-.15-.24-.22-.1-.17.33-.26.31-.06.1-.09 0c-.11-.32-.21-.14-.32-.21s-.14 0-.21 0-.14.3-.21 0c-.13.13-.26.08-.39.06a2.37 2.37 0 0 0-.53 0s-.09-.1-.13 0-.14.14-.21 0-.1-.16-.15 0-.09 0-.13-.09-.09.31-.14.22-.17-.26-.26-.19-.22 0-.34 0-.25-.11-.37-.08-.18.29-.27.06-.28.08-.43-.11-.18.15-.27.17a.72.72 0 0 1-.41 0c-.05 0-.09-.17-.14 0-.05-.44-.09-.3-.14 0 0 0 0 .07 0 0 0-.42-.11 0-.17.06s-.27-.16-.41-.1l-.13.07s-.06.1-.09.09a.45.45 0 0 0-.46 0v-.09c0-.32-.07-.17-.1-.11s-.1.19-.15.11 0 0-.06 0c-.07.25-.14.34-.2.16s-.24.35-.36.06v.07a.19.19 0 0 0 0 .1c0 .27-.08.19-.12 0s-.07-.14-.1-.07-.06 0-.09 0-.27 0-.41-.14-.23.06-.34.12-.12.1-.17-.14c0-.08 0 0-.06 0s0 .16-.06.15a.24.24 0 0 1-.17-.15c-.06-.12-.12.22-.18.27s-.11 0-.16.17-.1.11-.16 0-.17-.29-.26-.21-.12.15-.18.05zm0 11.6c.1.15.19-.19.29-.09l.07.06a.25.25 0 0 0 .16.06c.16 0 .32-.3.48-.11h.08c.08 0 .27-.25.4.12.09-.33.19-.1.28-.21s.15 0 .23 0 .15-.14.22.07.15-.23.22-.19c.1.09.21 0 .32 0s.11-.12.16-.12.11.15.16 0 .11.13.16 0 0 0 .06-.06.07-.11.11 0 .09.78.22.52c0-.1.11-.28.16.07 0 0 0 .06 0 0 0-.28.07-.34.1 0 .08-.39.15-.1.23-.12s.08.08.12.2.07.07.11 0 .19-.32.28-.24.12.08.19 0 .07-.26.11.14c0 .07 0 0 0 0s.07-.1.11 0 .23.21.35.15.11 0 .16 0 0-.08.06-.1.16-.46.24-.14c0 .08 0 0 .07 0s.09-.17.13-.1.1.12.15 0 .12-.1.18.09 0 .08.07.07a2.56 2.56 0 0 1 .27 0c.05 0 .1.14.14.13a2 2 0 0 0 .32-.22s.08 0 .12.19.1.26.16 0 .17-.34.25-.07.18.27.27-.1.12-.46.18-.28 0 0 .05 0 .08 0 .11.17.09.27.14.17.18-.33.27-.1c0 .07 0 0 .08-.11s.07-.22.11-.17.15.19.23.21.15 0 .22-.14.15-.07.22 0 .1-.06.15.13c.09.37.19.22.28.07l.38.14s0-.07.06-.1v.19c.08-.2.17-.56.25-.16 0-.2.11.13.16.06s.16.19.24-.27c0-.1 0-.09.06 0s.09.11.14-.1 0 0 .06.23 0-.2 0-.12c.05.45.09.25.14.15s0-.08 0 0c.07.35.14.22.21.19s.12-.37.18.16c0 .1 0 0 0 0s.11-.14.17 0 0 .07.07 0c.06-.31.12-.09.18 0s0 .11.06 0c0-.3.08-.27.12-.11s.16-.19.24.13v-.1c0-.4.06-.42.09-.09s0 .17.08.08.13-.29.2-.14.13.37.19-.15c0-.13 0 0 .07 0s.06.12.09 0 .12-.05.18.16.1.13.15 0 .11-.34.17-.22.11.08.16.1a.36.36 0 0 1 .17.07c.09.08.17 0 .25 0s0 0 .05.09c.06.48.13.27.2.13s.07-.15.11 0 .05 0 .08 0 .11-.21.17 0 .13 0 .2-.09.14-.26.21.06c0 .08 0 0 .05-.06s.09.14.13 0a1 1 0 0 1 .14-.26v.07c.09.26.18 0 .27.12s0-.11.05-.2.06-.16.1 0 .05.07.07.11.15.26.23-.14.08.06.11 0 .09 0 .13.08c.16.4.16.42.32.19 0 0 .05-.07.08-.06s.08-.61.16-.61.07-.14.1.27.09.26.13.19c.18-.33.37 0 .56 0s.09.08.14.13.09 0 .13-.2.13-.25.2-.15.24.24.36.19.25 0 .38.25.12 0 .18-.18.15-.1.19.35.1.17.1.17h.1c.03 0 .09-.56.16-.52s.15.23.25.39.19-.19.29-.09l.07.06s.1.07.15.06.32-.3.49-.11h.08c.03 0 .26-.25.4.12.09-.33.19-.1.28-.21s.15 0 .22 0 .16-.14.23.07.15-.23.22-.19c.11.09.22 0 .32 0s.12-.12.17-.12.11.15.15 0 .11.13.17 0 0 0 0-.06.08-.11.12 0 .08.78.22.52c.05-.1.11-.28.16.07 0 0 0 .06 0 0 0-.28.07-.34.11 0 .07-.39.15-.1.22-.12s.09.08.13.2.07.07.1 0 .19-.32.29-.24.12.08.18 0 .08-.26.12.14c0 .07 0 0 0 0s.07-.1.1 0 .24.21.36.15.11 0 .16 0 0-.08.06-.1.16-.46.24-.14c0 .08.05 0 .07 0s.08-.17.13-.1.1.12.15 0 .12-.1.17.09 0 .08.07.07.19 0 .28 0 .09.14.14.13a2 2 0 0 0 .32-.22s.07 0 .11.19.11.26.16 0 .17-.34.26-.07.18.27.26-.1.12-.46.19-.28.08 0 .12.17.09.27.14.17.17-.33.26-.1c0 .07.06 0 .08-.11s.08-.22.12-.17a.53.53 0 0 0 .22.21c.08 0 .15 0 .23-.14s.14-.07.22 0 .1-.06.15.13c.09.37.18.22.28.07l.39.14s0-.07.06-.1v.19c.08-.2.16-.56.25-.16.05-.2.11.13.16.06s.16.19.24-.27c0-.1 0-.09.06 0s.09.11.13-.1.05 0 .07.23 0-.2 0-.12c0 .45.09.25.13.15s0-.08.05 0c.07.35.14.22.21.19s.12-.37.17.16c0 .1 0 0 0 0s.11-.14.16 0 .05.07.07 0c.07-.31.13-.09.19 0s0 .11 0 0c0-.3.08-.27.13-.11s.16-.19.24.13v-.1c0-.4.06-.42.1-.09s.05.17.08.08.13-.29.19-.14.14.37.2-.15c0-.13 0 0 .07 0s.06.12.09 0 .12-.05.17.16.1.13.15 0 .12-.34.18-.22.1.08.16.1a.41.41 0 0 1 .17.07c.08.08.16 0 .25 0s0 0 0 .09c.07.48.14.27.21.13s.07-.15.1 0 .06 0 .08 0 .12-.21.18 0 .13 0 .19-.09.14-.26.21.06c0 .08 0 0 .06-.06s.09.14.13 0a.78.78 0 0 1 .14-.26v.07c.09.26.18 0 .27.12s0-.11.06-.2.06-.16.09 0 .06.07.08.11.15.26.22-.14.07.06.11 0 .09 0 .13.08c.15.39.16.42.29.22s.12-.17.18 0l.16.1v.21c0 .11.09-.12.14-.3s.12-.46.18-.28 0 0 .05 0 .08 0 .11.17.09.27.14.17.18-.33.27-.1c0 .07.06 0 .08-.11s.07-.22.11-.17.15.19.23.21.15 0 .22-.14.15-.07.22 0 .11-.06.15.13c.1.37.19.22.28.07l.38.14s0-.07.06-.1v.19c.09-.2.17-.56.25-.16.06-.2.11.13.16.06s.16.19.24-.27c0-.1 0-.09.06 0s.09.11.14-.1 0 0 .06.23 0-.2 0-.12c.05.45.09.25.14.15s0-.08 0 0c.06.35.13.22.2.19s.12-.37.18.16c0 .1 0 0 0 0s.11-.14.17 0 .05.07.07 0c.06-.31.12-.09.18 0s0 .11.06 0c0-.3.08-.27.12-.11s.16-.19.25.13v-.1c0-.4.06-.42.09-.09s0 .17.08.08.13-.29.2-.14.13.37.19-.15c0-.13 0 0 .07 0s.07.12.09 0v2.45h-.06c-.06 0-.15.23-.22-.18-.09.15-.17-.18-.26.21 0 .08 0 0-.06 0-.13-.26-.26-.28-.39-.14s0 .1-.07 0c-.06-.29-.13-.06-.2 0s-.07.18-.1.17a.77.77 0 0 1-.28-.15c-.07 0-.14-.15-.2.11 0 .07 0 .06-.06 0-.15-.27-.3-.13-.45 0s-.05 0-.08 0-.19-.49-.28-.08c0 .06 0 .06 0 0-.08-.36-.16-.09-.24-.19s-.07 0-.1.13-.11.23-.17 0c0-.06 0-.06-.05 0s-.14.06-.21 0-.15-.24-.22-.1-.17.33-.26.31-.06.09-.09 0c-.1-.31-.21-.14-.32-.21s-.14 0-.21 0-.14.31-.21 0c-.13.13-.26.08-.39.06a1.9 1.9 0 0 0-.53 0s-.09-.1-.13 0a.19.19 0 0 1-.09.09c0 .11 0 .15-.07 0s-.13-.29-.19-.17 0 .07 0 .07c-.1.17-.21.19-.31.15s-.25 0-.37.19-.13.1-.2-.15-.08-.25-.12-.21-.1.12-.14.13c-.19 0-.38.37-.57 0 0-.07-.08-.16-.13.18 0 .09 0 0 0 0s-.06-.11-.09-.11a.84.84 0 0 1-.33-.16c-.16-.14-.33-.21-.49.16 0 .1-.1.15-.14 0s-.14 0-.21 0 0 .09-.05.07c-.15-.22-.31-.26-.47-.14s0 0-.06 0-.15.23-.22-.18c-.08.15-.17-.18-.25.21 0 .08 0 0-.06 0-.13-.26-.26-.28-.39-.14s-.05.1-.07 0c-.07-.29-.13-.06-.2 0s-.07.18-.1.17a.81.81 0 0 1-.29-.15c-.06 0-.13-.15-.2.11 0 .07 0 .06-.06 0-.14-.27-.29-.13-.44 0s-.06 0-.08 0-.19-.49-.29-.08c0 .06 0 .06 0 0-.08-.36-.17-.09-.25-.19s-.06 0-.09.13-.12.23-.17 0c0-.06 0-.06 0 0s-.14.06-.21 0-.15-.24-.22-.1-.17.33-.26.31-.06.09-.09 0c-.11-.31-.22-.14-.32-.21s-.14 0-.21 0-.14.31-.21 0c-.13.13-.26.08-.39.06a1.87 1.87 0 0 0-.53 0s-.09-.1-.13 0-.14.14-.21 0-.11-.16-.16 0-.08 0-.12-.09-.09.31-.14.22-.17-.26-.26-.19-.23 0-.34 0-.25-.12-.37-.08-.19.29-.28 0-.28.08-.42-.1-.18.15-.27.17a.72.72 0 0 1-.41 0c-.05 0-.09-.17-.14 0 0-.44-.1-.29-.15 0 0 0 0 .08 0 0-.06-.41-.11 0-.17.06s-.28-.15-.41-.09a.33.33 0 0 0-.13.07s-.07.1-.1.09a.43.43 0 0 0-.46 0v-.1c0-.31-.07-.16-.1-.1s-.1.19-.16.1 0 0-.05.05c-.07.26-.14.35-.21.17s-.23.34-.35.06v.06a.39.39 0 0 0 0 .11c0 .27-.08.19-.13 0s-.06-.14-.09-.07-.06 0-.09 0-.28 0-.41-.15-.23.07-.34.13-.12.1-.18-.14c0-.08 0 0-.05 0s0 .15-.06.15a.3.3 0 0 1-.18-.15c-.06-.12-.11.21-.17.27-.05-.11-.1 0-.15.17s-.11.11-.16 0-.17-.29-.26-.21-.12.14-.19 0-.19-.16-.29.08c0 .06-.06 0-.08.05s0 0 0-.08c0-.52-.07-.57-.1-.53h-.07a1.49 1.49 0 0 1-.24.14s-.06 0-.08-.06c-.16-.23-.16-.22-.31.19-.05.11-.09.12-.13.08s-.08-.15-.12 0 0 .06 0 0c-.08-.39-.15-.25-.22-.13s-.06 0-.08.11-.07.11-.1 0 0-.21-.05-.19-.18-.14-.27.11v.08a1.92 1.92 0 0 1-.14-.26c0-.12-.08.25-.12 0s-.05-.15-.06-.07c-.07.33-.14.31-.21.06s-.12.37-.19.13-.12-.29-.18-.17-.25.29-.38.25-.24 0-.36.19-.14.1-.2-.15-.09-.25-.13-.21-.09.12-.14.13-.38.37-.57 0c0-.07-.08-.16-.12.18 0 .09 0 0 0 0s-.06-.11-.09-.11a.84.84 0 0 1-.33-.16c-.16-.14-.33-.21-.49.16 0 .1-.09.15-.14 0s-.14 0-.21 0 0 .09 0 .07c-.16-.22-.32-.26-.47-.14s0 0-.06 0-.15.23-.22-.18c-.09.15-.18-.18-.26.21 0 .08 0 0-.06 0-.13-.26-.26-.28-.39-.14s0 .1-.07 0c-.07-.29-.13-.06-.2 0s-.07.18-.1.17a.7.7 0 0 1-.28-.15c-.07 0-.14-.15-.2.11 0 .07 0 .06-.06 0-.15-.27-.3-.13-.45 0s-.05 0-.08 0-.19-.49-.28-.08c0 .06 0 .06 0 0-.08-.36-.16-.09-.24-.19s-.07 0-.1.13-.11.23-.17 0c0-.06 0-.06-.05 0s-.14.06-.21 0-.15-.24-.22-.1-.17.33-.26.31-.06.09-.09 0c-.11-.31-.21-.14-.32-.21s-.14 0-.21 0-.14.31-.21 0c-.13.13-.26.08-.39.06a1.9 1.9 0 0 0-.53 0s-.09-.1-.13 0-.14.14-.21 0-.1-.16-.15 0-.09 0-.13-.09-.09.31-.14.22-.17-.26-.26-.19-.22 0-.34 0-.25-.12-.37-.08-.18.29-.27 0-.28.08-.43-.1-.18.15-.27.17a.72.72 0 0 1-.41 0c-.05 0-.09-.17-.14 0-.05-.44-.09-.29-.14 0 0 0 0 .08 0 0 0-.41-.11 0-.17.06s-.27-.15-.41-.09a.42.42 0 0 0-.13.07s-.06.1-.09.09a.43.43 0 0 0-.46 0v-.1c0-.31-.07-.16-.1-.1s-.1.19-.15.1 0 0-.06.05c-.07.26-.14.35-.2.17s-.24.34-.36.06v.06a.32.32 0 0 0 0 .11c0 .27-.08.19-.12 0s-.07-.14-.1-.07-.06 0-.09 0-.27 0-.41-.15-.23.07-.34.13-.12.1-.17-.14c0-.08 0 0-.06 0s0 .15-.06.15a.26.26 0 0 1-.17-.15c-.06-.12-.12.21-.18.27s-.11 0-.16.17-.1.11-.16 0-.17-.29-.26-.21-.12.14-.18 0zm6.19 20.78c-.19-.05-.09.3-.25.29h-.11c-.07 0-.15 0-.19.06s-.16.49-.44.46l-.06.09c-.06.2-.13.4-.49.2.09.34-.14.22-.17.38s-.15.12-.23.17-.08.23-.27.11 0 .3-.12.32c-.17 0-.23.15-.33.25s-.05.18-.11.22-.19 0-.13.14-.19 0-.19.09-.06 0 0 .09 0 .15-.1.12-.53-.57-.52-.26c0 .12 0 .31-.21.06.12.26.13.34-.09.12.15.37-.1.19-.16.26s-.14 0-.25-.07-.11 0-.12.06 0 .4-.15.41-.18 0-.19.15.08.27-.19 0c-.05-.05-.05 0 0 0s0 .13-.09.12a.41.41 0 0 0-.45.13c0 .07-.12.07-.18.12s0 .09 0 .13.1.48-.17.29c-.06 0-.08 0 0 .09s0 .2-.07.18-.18 0-.18.09-.06.17-.24 0-.09 0-.11 0a1.54 1.54 0 0 1-.26.25h-.21a1.81 1.81 0 0 0-.2.42c0 .05-.08.06-.24-.08s-.26-.13-.18.1 0 .4-.22.24-.34-.08-.22.29.15.46 0 .36-.06 0 0 0-.06.08-.22-.06-.24-.14-.24 0 0 .4-.22.28c-.06 0-.07 0 0 .15s0 .23 0 .22a.69.69 0 0 0-.35 0 .28.28 0 0 0-.15.28c0 .16-.11.17-.22.18s-.07.12-.23 0-.32 0-.33.15v.07l-.48.17v.13s-.16-.16-.15-.13c0 .22.16.58-.17.32.06.2-.18 0-.2.06s-.28 0-.09.41v.07c0-.03-.16 0-.08.18s0 0-.2-.13v-.07s.07.18 0 .12c-.3-.33-.24-.14-.23 0s0 .09 0 0c-.27-.23-.27-.07-.32 0s.09.38-.28 0c-.06-.07 0 0 0 0s0 .19-.19.09-.09 0 0 .08c.11.3-.08.17-.22.11s-.11-.06-.06 0c.13.28.07.28-.07.18s-.06.28-.33.07v.12c.2.34.18.38-.05.14s-.15-.1-.13 0 0 .33-.12.26-.35-.21-.12.27c.06.12-.05 0-.08 0s-.13-.05-.1.06-.09.13-.27 0-.18 0-.13.15.08.37-.05.31-.16 0-.23 0a.71.71 0 0 1-.22.07c-.13 0-.18.1-.24.2s0 0-.1 0c-.35-.34-.3-.12-.29 0s0 .17-.1.09-.08 0-.1 0 0 .25-.16.16-.16 0-.15.22 0 .32-.25.1c-.06 0-.05 0 0 .1s-.17-.06-.15.07a1.06 1.06 0 0 1 0 .31h-.07c-.24-.14-.2.12-.35.11s0 .11 0 .2 0 .18-.07.1-.09 0-.14 0-.31-.1-.15.27-.11 0-.13.06-.08.09-.18 0c-.4-.21-.41-.22-.44.08v.11c0 .01.27.56.19.62s0 .16-.26-.15-.24-.14-.24-.06c0 .41-.4.28-.61.39h-.22c-.08 0-.07.1 0 .26s0 .3-.11.27a.43.43 0 0 0-.49.11c-.11.13-.26.2-.54.08-.13-.05-.16.06-.09.28s-.09.2-.4-.14-.2-.07-.2-.07-.07.06-.08.11.24.52.14.54-.29-.07-.48-.13-.1.3-.25.29h-.11c-.07 0-.15 0-.2.07s-.16.48-.43.45c-.05 0-.06.05-.07.09-.06.21-.13.4-.48.2.1.34-.13.22-.17.38s-.14.13-.23.18-.07.22-.27.11 0 .3-.12.31c-.17 0-.23.14-.32.24s0 .18-.11.22-.2 0-.14.14-.19 0-.19.09-.06 0 0 .1 0 .15-.1.11-.54-.56-.53-.26c0 .12.05.31-.21.06.13.26.13.34-.09.12.16.37-.09.19-.16.26s-.13 0-.24-.07-.12 0-.12.07 0 .39-.16.4-.17 0-.18.15.07.27-.2 0 0 .13-.08.12a.42.42 0 0 0-.46.13c0 .07-.12.07-.17.12s0 .09 0 .13.1.49-.17.29c-.07 0-.08 0 0 .1s0 .19-.08.17-.17 0-.17.09-.06.17-.24.05-.09 0-.11 0-.18.15-.26.24-.18 0-.22 0a2 2 0 0 0-.2.41s-.07.06-.23-.08-.26-.13-.18.1 0 .4-.23.24-.34-.08-.21.29.14.46 0 .36-.06 0 0 0-.07.08-.22-.06-.25-.14-.24 0 0 .4-.22.28c-.06 0-.07 0 0 .15s0 .23 0 .22a.69.69 0 0 0-.35 0 .29.29 0 0 0-.15.28c0 .16-.11.17-.22.18s-.08.12-.23 0c-.32-.24-.32 0-.33.15a.12.12 0 0 1 0 .07c-.16.06-.33.11-.49.18s0 .08 0 .12c-.06-.05-.16-.16-.16-.13 0 .23.16.58-.16.32.06.2-.19 0-.21.07s-.27 0-.09.4v.07c0-.03-.16 0-.09.18s0 0-.19-.13v-.07.05s.07.18 0 .12c-.31-.33-.24-.14-.23 0s0 .09 0 0c-.28-.24-.27-.08-.33 0s.09.38-.27 0c-.07-.07 0 0-.05 0s0 .2-.19.09-.09 0 0 .09c.11.29-.08.16-.21.1s-.11-.06-.07 0c.13.28.07.28-.07.18s-.05.28-.32.08v.11c.2.34.18.38 0 .14s-.14-.1-.12 0 0 .34-.12.26-.36-.2-.12.27c.06.12 0 0-.08 0s-.14 0-.11.06-.09.13-.27 0-.18 0-.13.14.08.37 0 .31-.15 0-.22 0a.71.71 0 0 1-.22.07c-.13 0-.19.1-.25.2s0 0-.09 0c-.36-.34-.3-.11-.29.05s0 .17-.1.09-.08 0-.1 0 0 .25-.16.16-.17.06-.15.22 0 .32-.26.1c-.06-.05 0 0 0 .1s-.17-.06-.15.07a.83.83 0 0 1 0 .31h-.08c-.24-.14-.2.12-.35.11s0 .11.06.2 0 .18-.07.1-.1 0-.15 0-.3-.1-.15.28-.12 0-.14.06-.07.09-.18 0c-.38-.2-.41-.22-.43 0s0 .23-.15.17h-.23s-.08-.07-.14-.16 0 .16 0 .34.14.47 0 .37-.06 0 0 0-.06.08-.22-.06-.24-.15-.24 0 0 .41-.22.29c-.06 0-.07 0 0 .15s0 .23 0 .22a.52.52 0 0 0-.35 0 .27.27 0 0 0-.15.27c0 .17-.11.17-.22.18s-.07.13-.23 0c-.31-.23-.32 0-.33.16v.07l-.48.17v.13s-.16-.16-.15-.12c0 .22.15.58-.17.32.06.2-.19 0-.2.06s-.28 0-.09.4v.08c0-.03-.16 0-.09.18s0 0-.19-.14v-.06.05c0 .05.07.19 0 .13-.3-.33-.24-.14-.23 0s0 .09 0 0c-.27-.23-.27-.08-.32 0s.09.39-.28 0c-.07-.07 0 0 0 0s0 .2-.19.1-.09 0-.06.08c.12.3-.07.16-.21.1s-.11-.06-.07 0c.14.28.08.28-.06.18s-.06.27-.33.07v.11c.2.35.18.39 0 .14s-.15-.1-.13 0 0 .33-.12.26-.35-.21-.12.26c.06.12 0 0-.08 0s-.13 0-.1.06l-1.46-2s0-.05.07 0 0-.3.34 0c0-.19.28 0 .14-.37 0-.08 0 0 .08 0 .28.11.43 0 .48-.18 0 0 0-.12.07-.06.24.18.17-.05.18-.19s0-.2 0-.22a1.18 1.18 0 0 1 .39-.08c.1 0 .22 0 .14-.24v-.07c.32.11.39-.12.48-.31h.11c.03 0 .48.26.34-.14 0-.06 0-.07 0 0 .3.24.22-.05.37 0s.06-.06 0-.18 0-.27.19-.12h.07s.11-.15.23-.14.29.08.29-.08 0-.4.08-.45 0-.12.1-.07c.29.18.3 0 .45-.07s.16-.09.23-.15 0-.35.22-.14c.06-.2.22-.26.37-.33a4.33 4.33 0 0 0 .53-.43s.15 0 .15-.07a.21.21 0 0 1 0-.15v-.09c0 .07.3.15.29 0v-.1a.36.36 0 0 1 .25-.35c.15-.05.24-.19.26-.43s.09-.18.3 0 .23.14.25.07a.52.52 0 0 1 .07-.21c.18-.17.18-.58.57-.45.08 0 .18.07 0-.24 0-.08 0 0 .06 0h.16a1.14 1.14 0 0 1 .43-.12c.25 0 .46-.07.41-.5 0-.11 0-.19.14-.12s.16-.07.24-.11 0-.1 0-.1a.43.43 0 0 0 .56-.24s0-.05.08 0 0-.29.34 0c0-.19.28 0 .14-.37 0-.07 0 0 .07 0 .29.11.44 0 .49-.18 0 0 0-.11.07-.06s.17-.05.17-.18v-.22a.92.92 0 0 1 .38-.09c.1 0 .23 0 .14-.24v-.06c.31.11.38-.12.48-.32h.11c.03 0 .48.26.34-.14 0-.07 0-.07 0 0 .29.23.22 0 .37 0s.06-.06 0-.18 0-.27.18-.11h.08c.01 0 .11-.15.22-.15s.3.09.29-.08 0-.39.09-.44 0-.13.09-.07c.3.18.31 0 .46-.07a.48.48 0 0 0 .22-.15c.07-.06 0-.35.23-.14.06-.21.22-.26.37-.34a4.33 4.33 0 0 0 .53-.43s.14 0 .14-.07.07-.22.25-.12.2.05.14-.14.06-.1.18 0-.09-.32 0-.28.33.08.37 0 .26-.15.37-.24.33-.09.44-.21 0-.37.25-.25.24-.27.5-.23.1-.25.18-.33a1 1 0 0 1 .44-.3s.19.07.17-.06c.3.32.27.16.15-.1 0 0 0-.07 0 0 .3.29.12-.09.14-.18s.38-.08.49-.23a.75.75 0 0 0 .09-.15v-.15a.67.67 0 0 0 .47-.33h.1c.22.23.17.08.17 0s0-.24.1-.2 0 0 0-.09c-.08-.25-.06-.38.11-.28.32.18 0-.46.34-.31v-.09a.17.17 0 0 0 0-.11c-.11-.25 0-.22.11-.13s.15.07.13 0 .07 0 .11-.05c.2 0 .28-.21.51-.19s.2-.22.28-.35.06-.17.27 0c.06.05 0 0 0 0v-.16a.3.3 0 0 1 .27 0c.13 0 0-.27 0-.36s.1-.08.06-.25 0-.17.17-.12.35.1.39 0 0-.22.17-.18.29 0 .26-.28c0-.07 0-.08.06-.1s0 0 .07 0c.34.4.41.41.42.35h.1a2.69 2.69 0 0 1 .16-.29h.12c.3.07.28.06.21-.39 0-.12 0-.16.09-.16s.17.06.11-.1 0-.06 0 0c.3.27.3.1.31 0s0 0 0-.15 0-.14.12 0 .16.14.17.11.27 0 .21-.29v-.09a1.19 1.19 0 0 1 .29.11c.12.07 0-.26.12-.12s.12.09.09 0c-.11-.31 0-.35.18-.2s-.09-.39.13-.25.3.15.29 0c0-.31.09-.43.24-.48a.44.44 0 0 0 .27-.43c0-.13.08-.18.29 0s.24.14.26.08 0-.17.07-.21.17-.58.56-.45c.08 0 .18.07 0-.25 0-.07 0 0 .06 0h.16a1 1 0 0 1 .43-.12c.25 0 .47-.07.42-.5 0-.12 0-.19.13-.12s.17-.07.25-.12 0-.1 0-.09q.44.09.57-.24h.08c.08 0 0-.29.33 0 0-.19.28 0 .14-.37 0-.07 0 0 .08 0 .28.11.43 0 .48-.18 0 0 0-.11.07-.06.24.19.17 0 .18-.18s0-.21 0-.23a1.18 1.18 0 0 1 .39-.08c.1 0 .22 0 .14-.24v-.06c.32.11.39-.12.48-.32h.11c.03 0 .48.26.34-.15 0-.06 0-.06.06 0 .29.23.22 0 .36 0s.06-.06 0-.18 0-.27.19-.11h.07s.11-.15.23-.15.29.08.29-.08 0-.39.08-.44 0-.13.1-.08c.29.18.3 0 .45-.06a.51.51 0 0 0 .23-.15c.07-.06 0-.35.22-.14.06-.21.22-.27.37-.34a4.33 4.33 0 0 0 .53-.43s.15 0 .15-.07.06-.22.24-.13.2.06.14-.13.07-.1.19 0-.09-.32 0-.29.33.09.38 0 .25-.15.37-.24.32-.09.43-.21 0-.37.25-.25.25-.27.5-.23.1-.25.18-.34a1.3 1.3 0 0 1 .44-.29c.06 0 .19.07.17-.07.31.33.27.17.16-.09 0 0 0-.07 0 0 .31.3.13-.08.15-.17s.37-.08.48-.23a.78.78 0 0 0 .1-.15v-.15a.67.67 0 0 0 .48-.34h.1c.22.23.17.08.17 0s0-.24.09-.2.06 0 0-.09c-.07-.25-.06-.38.12-.28s0-.46.33-.31v-.09a.28.28 0 0 0 0-.11c-.12-.25 0-.22.1-.13s.15.07.14 0 .07 0 .11 0c.19 0 .28-.21.51-.19s.19-.22.28-.35.06-.17.26 0 0 0 .06 0 0-.16 0-.17a.36.36 0 0 1 .27 0c.13 0 0-.27 0-.36s.1-.08.06-.25 0-.18.16-.13.35.11.4 0 0-.22.16-.18zM155.6 111c0 .2.31 0 .36.15a.42.42 0 0 1 0 .1c0 .06.07.14.13.17s.52 0 .59.26h.11c.22 0 .43 0 .36.39.28-.2.26.06.42 0s.17.1.25.16.24 0 .2.23.29-.09.35 0 .22.16.35.22.19 0 .25 0 0 .2.18.09.05.19.16.15 0 0 .1 0 .15 0 .14.05-.34.71-.06.59c.12 0 .28-.15.14.18 0 0 0 .06 0 0 .19-.2.27-.23.14 0 .3-.27.21 0 .31.07s0 .13 0 .26 0 .11.1.09.39-.12.44 0 .09.16.21.12.24-.16.05.2c0 .06 0 0 0 0h.14c.01 0 .13.35.29.38s.11.1.18.13.08 0 .11 0 .43-.25.35.07c0 .08 0 .08.1 0s.18-.08.19 0 0 .18.15.13.18 0 .13.22 0 .1 0 .1a3.41 3.41 0 0 1 .33.17s0 .18.08.2a1.7 1.7 0 0 0 .46.06c.06 0 .09 0 0 .25s0 .29.16.14.37-.15.31.13 0 .35.35.11.39-.29.35-.09c0 0 0 .06.06 0s.1 0 0 .23-.05.28 0 .24.38-.14.35.12c0 .07 0 .06.15 0s.2-.12.22 0a.56.56 0 0 0 .12.33.29.29 0 0 0 .32.06c.16-.06.2 0 .25.15s.15 0 .09.21c-.11.38.08.32.26.27h.08c.02 0 .22.27.34.4s.08 0 .12 0c0 .06-.09.2-.06.19.2-.11.49-.35.36 0 .17-.12 0 .19.13.18s.07.28.42 0c.07-.06.09 0 .08 0s0 .16.21 0 0 0-.06.23l-.05.06s.15-.14.11-.06c-.21.39 0 .27.06.22s.08 0 .06 0c-.13.34 0 .29.12.31s.33-.21.09.27c-.05.08 0 0 .05 0s.2 0 .16.15 0 .09.1 0c.24-.21.18 0 .17.17s0 .13.05 0c.22-.22.25-.16.2 0s.29 0 .19.28l.1-.06q.38-.45.15 0c-.11.21 0 .17 0 .12s.3-.14.29 0-.07.41.29 0c.1-.1.05 0 .06.07s0 .14.1.08.16 0 .1.25 0 .18.19.08.32-.2.31-.06.07.14.12.2a.55.55 0 0 1 .14.19c0 .12.16.14.28.17s0 0 0 .1c-.2.45 0 .32.15.26s.15-.07.12.06 0 .08.07.09.24-.09.21.1.12.14.27.07.3-.12.19.2c0 .08 0 0 .09 0s0 .19.13.12a1.19 1.19 0 0 1 .29-.11v.09c0 .27.19.15.23.29s.1 0 .17-.11.16-.09.12 0 0 .09 0 .15 0 .32.31 0 0 .11.11.11.11 0 .09.16c-.06.45-.07.47.23.39h.12c.02 0 .44-.44.52-.38s.16-.07 0 .3-.05.27 0 .25c.39-.14.4.28.59.45a.52.52 0 0 1 .07.21c0 .06.12 0 .26-.08s.28-.1.3 0a.46.46 0 0 0 .28.43c.16.05.28.17.27.48 0 .15.11.13.3 0s.22 0 0 .43 0 .21 0 .21.07.05.12 0 .42-.4.47-.31a1.51 1.51 0 0 1 .05.5c0 .2.32 0 .37.15a.23.23 0 0 0 0 .1c0 .06.07.14.13.17s.52 0 .58.27h.11c.22 0 .43 0 .37.39.29-.2.26 0 .43 0s.17.1.24.16.25 0 .2.23.3-.09.35 0 .22.16.34.22.2 0 .25 0 0 .2.19.09 0 .19.15.15 0 .06.1 0 .15 0 .15.06-.35.7-.06.58c.11 0 .28-.15.13.18 0 0 0 .06 0 0 .2-.2.27-.23.14 0 .3-.27.22 0 .31.06s.05.13 0 .26 0 .11.11.09.38-.12.44 0 .08.16.21.12.23-.16 0 .2c0 .06 0 .05 0 0s.13 0 .14 0 .13.35.29.39.11.09.18.12.08 0 .12 0 .43-.25.34.07c0 .08 0 .08.1 0s.19-.08.19 0 0 .18.15.14.19 0 .14.21 0 .1 0 .1a2.55 2.55 0 0 1 .33.17c.06 0 0 .19.08.21a2.34 2.34 0 0 0 .47 0c.06 0 .09.05 0 .25s0 .29.16.14.37-.15.31.13.05.35.35.11.39-.29.36-.09c0 0 0 .06.06 0s.1 0 0 .23-.05.28 0 .24.38-.14.35.12c0 .07.05.06.15 0s.21-.12.22-.05a.5.5 0 0 0 .13.33.27.27 0 0 0 .31.06c.16-.06.2 0 .25.15s.15 0 .1.21c-.12.38.07.32.26.27h.07c.01 0 .22.27.34.4s.08 0 .12-.05c0 .07-.09.2-.06.19.2-.11.5-.35.36.05.17-.13 0 .19.14.17s.07.28.41-.05c.07-.06.1 0 .09 0s0 .16.2 0 0 0-.06.23l-.05.06v-.05s.15-.13.11-.06c-.2.39 0 .27.06.22s.08 0 .06 0c-.12.34 0 .29.12.31s.33-.21.09.27c0 .09 0 0 0 0s.2 0 .16.15 0 .09.1 0c.24-.2.18 0 .17.17s0 .13.06.05.24-.16.19 0 .29 0 .19.28l.1-.06c.26-.3.3-.3.15 0s0 .18 0 .12.3-.14.29 0-.07.4.3 0c.09-.1 0 0 .06.07s0 .14.09.08.16 0 .1.25 0 .18.19.08.32-.2.31-.06.07.14.12.2a1 1 0 0 1 .15.19c0 .12.16.15.27.17s0 0 0 .1c-.2.45 0 .32.15.26s.16-.07.12.06 0 .08.08.09.24-.09.2.1.12.14.27.07.3-.12.19.21c0 .07 0 0 .1 0s0 .19.12.12a1.24 1.24 0 0 1 .3-.11v.09c0 .28.19.15.23.29s.1-.05.17-.11.16-.09.12 0 0 .1 0 .15 0 .32.31 0c-.06.18.05.11.11.11s.11 0 .1.16c-.06.43-.07.47.19.4s.22-.05.21.09l.12.21s0 .09-.1.18.16 0 .31-.15.39-.29.36-.09c0 0 0 .06.06 0s.1 0 0 .22-.05.29.06.25.38-.14.34.11c0 .07.05.07.15 0s.21-.12.22-.05a.71.71 0 0 0 .13.33.28.28 0 0 0 .32.06c.15-.06.2 0 .25.14s.14 0 .09.22c-.11.38.07.32.26.26H200c.12.13.23.28.34.4s.08 0 .13 0c0 .07-.1.21-.07.19.2-.1.5-.34.36.05.18-.12 0 .19.14.18s.07.27.41-.05c.08-.07.1 0 .09 0s0 .16.2 0 .06 0-.06.23l-.05.06s.15-.13.11-.06c-.2.4 0 .27.06.23s.09-.05.06 0c-.12.34 0 .28.12.31s.34-.22.09.26c0 .09 0 0 0 0s.2 0 .16.14 0 .09.1 0c.24-.21.18 0 .18.17s0 .12.05.05c.22-.22.24-.16.2 0s.28 0 .18.29l.1-.06c.26-.31.3-.3.15 0s0 .17 0 .12.31-.15.29 0-.07.41.3 0c.09-.09 0 .05.06.07s0 .14.09.08l-1.35 2s-.06 0-.05-.06c0-.23-.29.07-.13-.32-.18.06-.09-.27-.4 0-.06.05 0 0 0-.07 0-.31-.12-.42-.34-.4 0 0-.11 0-.08-.05.09-.28-.11-.14-.24-.1s-.18.1-.22.06a1 1 0 0 1-.21-.34c-.05-.09-.06-.21-.28 0h-.08c0-.34-.25-.33-.47-.35 0 0 0-.07-.07-.1s.08-.54-.25-.28h-.05c.12-.35-.13-.19-.16-.34s-.07 0-.17 0-.25.1-.18-.14v-.07s-.19-.05-.22-.17 0-.3-.19-.25-.36.15-.45.07-.12 0-.1-.07c.06-.34-.15-.27-.23-.4s-.14-.12-.22-.17-.33.15-.22-.17a.58.58 0 0 1-.45-.24 3.67 3.67 0 0 0-.6-.36c-.05 0 0-.15-.12-.12a.27.27 0 0 1-.15 0c-.09.08-.14.09-.11 0s0-.34-.1-.28-.07 0-.09 0a.38.38 0 0 1-.42-.12.45.45 0 0 0-.5-.11c-.13 0-.2 0-.13-.27s.05-.27 0-.26a.81.81 0 0 1-.22 0c-.22-.12-.61 0-.63-.39 0-.09 0-.2-.24.05-.06.07 0 0 0 0v-.16a1.12 1.12 0 0 1-.26-.37c-.1-.24-.24-.42-.63-.24-.1 0-.18.06-.16-.08s-.13-.14-.2-.2-.09.06-.09 0c-.05-.29-.19-.45-.43-.46 0 0-.06 0-.05-.07 0-.22-.29.07-.13-.32-.18.07-.09-.27-.4 0-.06.05 0 0 0-.07 0-.3-.12-.42-.34-.4 0 0-.11.05-.08 0 .09-.29-.11-.15-.25-.11s-.17.1-.21.07a1.15 1.15 0 0 1-.21-.34c-.05-.09-.07-.22-.28-.05h-.08c0-.33-.25-.32-.47-.35 0 0 0-.07-.07-.1s.08-.54-.25-.27h-.05c.12-.36-.13-.2-.16-.34s-.07 0-.17 0-.26.1-.18-.14v-.07c0 .01-.18-.06-.21-.17s0-.31-.19-.25-.37.14-.45.06-.12 0-.1-.06c.06-.34-.15-.28-.23-.41s-.14-.12-.22-.17-.33.15-.22-.17c-.22 0-.33-.12-.45-.24a4.54 4.54 0 0 0-.6-.36c-.05 0 0-.14-.12-.12s-.23 0-.21-.19 0-.21-.18-.09-.12 0-.09-.17-.27.2-.27.08 0-.34-.17-.34-.23-.2-.36-.27-.2-.28-.36-.35-.36.1-.32-.15c.06-.41-.35-.15-.4-.4s-.28 0-.39-.07a1.1 1.1 0 0 1-.43-.32s0-.2-.13-.14c.2-.4.06-.31-.15-.11 0 0-.06 0 0 0 .17-.38-.12-.08-.22-.08s-.21-.33-.39-.38a.53.53 0 0 0-.18 0h-.15a.74.74 0 0 0-.5-.35v-.11c.14-.28 0-.18 0-.16s-.22.08-.23 0 0 0-.09 0-.35.19-.31 0c.06-.36-.45.11-.42-.22h-.09l-.09.06c-.2.2-.2.1-.16 0s0-.17-.06-.13-.07 0-.09-.09-.3-.2-.36-.42-.28-.12-.44-.15-.18 0-.11-.25c0-.07 0 0-.06 0s-.13.1-.15.08a.34.34 0 0 1-.1-.25c0-.15-.25.09-.34.09s-.12-.06-.27 0-.18 0-.17-.12 0-.37-.16-.36-.22 0-.23-.1-.12-.28-.36-.16h-.11c-.03 0 0 0 0-.09.27-.45.25-.52.19-.51l-.06-.09a1.86 1.86 0 0 1-.34 0s0-.06-.05-.12c0-.3 0-.29-.45-.07-.1.06-.16 0-.18 0s0-.18-.14-.07-.05 0 0 0c.15-.38 0-.31-.16-.27s-.06 0-.14 0-.14 0-.08-.11.08-.2.05-.2-.12-.25-.36-.11c0 0-.08.06-.08 0a1.13 1.13 0 0 1 0-.32c0-.13-.23.14-.16-.07s0-.15 0-.1c-.26.22-.32.15-.26-.1s-.34.22-.28 0 0-.34-.1-.28c-.28.12-.44.05-.54-.08a.46.46 0 0 0-.51-.11c-.13 0-.2 0-.13-.27s0-.27 0-.27a.41.41 0 0 1-.22 0c-.23-.11-.62 0-.63-.38 0-.09 0-.2-.25 0-.05.07 0 0 0 0v-.16a1.31 1.31 0 0 1-.27-.37c-.09-.24-.23-.42-.62-.24-.11 0-.19 0-.16-.08s-.13-.14-.2-.2-.09 0-.09 0c-.05-.3-.19-.45-.43-.46 0 0-.06 0 0-.07 0-.22-.29.07-.13-.32-.18.07-.09-.27-.4 0-.07 0-.05 0-.05-.07 0-.3-.12-.42-.35-.4h-.08c.09-.29-.11-.15-.24-.11s-.18.1-.21.07a1.17 1.17 0 0 1-.22-.34c0-.09-.06-.22-.28-.06h-.08c0-.33-.25-.32-.47-.35 0 0 0-.07-.06-.1s.08-.54-.26-.27c-.05 0-.06 0 0 0 .11-.36-.13-.2-.16-.34s-.08 0-.18 0-.25.1-.17-.14v-.08s-.18-.05-.22-.16 0-.31-.18-.25-.37.14-.45.06-.13 0-.11-.06c.07-.34-.15-.28-.22-.41s-.15-.12-.23-.17-.32.15-.21-.17a.6.6 0 0 1-.46-.24 4.43 4.43 0 0 0-.59-.36c-.05 0 0-.14-.13-.12s-.23 0-.2-.19 0-.21-.18-.09-.12 0-.09-.17-.27.2-.27.08 0-.34-.18-.34-.22-.2-.35-.27-.21-.28-.36-.35-.36.1-.32-.15c.05-.41-.36-.15-.4-.41s-.28 0-.39-.06a1.25 1.25 0 0 1-.44-.32s0-.2-.12-.14c.2-.4.06-.31-.15-.11 0 0-.06 0 0 0 .17-.38-.13-.09-.22-.08-.24 0-.21-.33-.4-.38a.47.47 0 0 0-.17 0h-.16a.72.72 0 0 0-.49-.34s-.05 0 0-.11c.15-.28 0-.18-.05-.16s-.22.08-.22 0 0 0-.09 0c-.22.16-.35.19-.32 0 .06-.36-.45.11-.41-.22h-.09a.27.27 0 0 0-.09.06c-.2.19-.2.1-.17-.06s0-.16-.06-.12-.06 0-.08-.09-.3-.2-.37-.43-.28-.11-.43-.14-.18 0-.11-.25c0-.07 0-.05-.06 0s-.13.1-.15.08a.34.34 0 0 1-.1-.25c0-.15-.25.09-.35.09s-.11-.07-.26 0-.18 0-.18-.12 0-.37-.15-.37-.22 0-.23-.1z\\\"/></svg>\",\n    \"in-app\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 300 200\\\"><defs><clipPath id=\\\"a\\\"><circle cx=\\\"58.27\\\" cy=\\\"71.82\\\" r=\\\"14.04\\\" fill=\\\"none\\\"/></clipPath></defs><circle cx=\\\"219.01\\\" cy=\\\"148.76\\\" r=\\\"20.59\\\" fill=\\\"#276ffa\\\"/><path d=\\\"M238.73 148.56c.14-.28-.22-.54-.13-.81a1.46 1.46 0 0 0 .05-.2 1.57 1.57 0 0 0 0-.43c0-.45-.4-.84-.27-1.31a.31.31 0 0 0-.07-.22 1 1 0 0 1-.08-1.11c-.38-.17-.23-.47-.4-.7a1.48 1.48 0 0 1-.16-.59c0-.21-.26-.35-.13-.6s-.36-.31-.38-.51a.32.32 0 0 1 0-.09 2 2 0 0 0-.31-.81c-.08-.13-.25-.23-.31-.36s0-.33-.21-.36 0-.32-.16-.41 0-.12-.12-.12-.19-.13-.17-.26.56-.57.14-.76c-.16-.07-.4-.11-.17-.42v-.06c-.28.06-.39 0-.19-.23-.44 0-.28-.31-.42-.45a.48.48 0 0 1-.05-.4.21.21 0 0 0-.16-.24c-.27-.13-.57-.23-.66-.49a.51.51 0 0 0-.33-.38c-.12 0-.35 0-.11-.32 0-.06 0-.07-.06-.07s-.2-.07-.23-.18a1.67 1.67 0 0 0-.55-.83c-.13-.09-.21-.22-.33-.32s-.14 0-.19 0c-.23-.08-.63 0-.59-.35 0-.09-.07-.12-.18-.09s-.27 0-.31-.16a.34.34 0 0 0-.31-.27c-.2 0-.32-.11-.33-.37a.17.17 0 0 0-.11-.16c-.23-.12-.42-.29-.64-.42s-.14-.26-.25-.31a6.59 6.59 0 0 0-.86-.27c-.11 0-.19-.1-.17-.33s-.13-.39-.37-.26-.58.1-.66-.24-.34-.46-.71-.22-.48.27-.56 0c0-.06-.07-.08-.13 0s-.21-.05-.23-.27-.13-.32-.29-.28-.56.14-.72-.16c-.05-.09-.14-.08-.24 0s-.26.15-.35.07a1.6 1.6 0 0 0-.53-.34.94.94 0 0 0-.62 0c-.23.08-.4 0-.59-.12s-.28 0-.38-.18c-.19-.41-.47-.3-.74-.19a.21.21 0 0 1-.13 0 6.06 6.06 0 0 0-1-.25c-.05 0-.11.07-.16.1 0-.07-.06-.23-.1-.2-.24.19-.47.54-.69.13-.15.19-.29-.15-.44-.09s-.45-.17-.65.3c0 .1-.1.1-.15 0s-.26-.1-.37.12-.12 0-.18-.22c0 .05-.08.2-.11.12-.15-.44-.26-.24-.38-.13s-.08.08-.12 0c-.22-.34-.4-.17-.59-.11s-.26.41-.49-.09c0-.1-.08 0-.12 0s-.28.19-.46 0-.15 0-.18.07c-.12.32-.32.14-.51.06s-.14-.08-.15 0c-.05.33-.16.32-.31.19s-.39.3-.69 0c0 0-.06 0-.06.13 0 .4 0 .44-.23.14s-.18-.12-.22 0-.24.4-.47.32-.47-.22-.45.33c0 .13-.12 0-.18 0s-.21 0-.24.07-.28.16-.5 0-.3 0-.35.22-.14.45-.33.4-.3.06-.44.1-.3.11-.46.15a1.35 1.35 0 0 0-.56.36s-.07.06-.15 0c-.41-.32-.47 0-.55.18s-.08.22-.24.17-.16 0-.21.09-.13.36-.36.32-.32.18-.38.4-.14.43-.5.29c-.08 0-.1 0-.08.15s-.27 0-.28.2a1.47 1.47 0 0 1-.12.46h-.11c-.35 0-.38.32-.63.41-.05 0 0 .14 0 .24s0 .23-.15.2-.14.06-.22.09-.46.12-.3.53h-.06c-.2 0-.19.12-.23.22a.35.35 0 0 1-.3.21c-.6 0-.6.07-.68.54a.36.36 0 0 1-.08.22c-.16.15.35.55.23.71s0 .22-.39.06-.35 0-.35.16c0 .62-.53.87-.83 1.29a1.63 1.63 0 0 1-.31.27c-.09.09-.06.23 0 .41s.07.43-.1.55a1.58 1.58 0 0 0-.6.81 1.23 1.23 0 0 1-.58.87c-.17.12-.16.32 0 .53s0 .41-.49.4-.23.22-.23.22v.27c0 .09.48.38.39.56s-.32.34-.54.57.1.57 0 .82a.76.76 0 0 0-.09.18 1.62 1.62 0 0 0-.13.41c-.06.45.18.91 0 1.34a.3.3 0 0 0 0 .23.91.91 0 0 1-.17 1.1v.06c.34.25.13.51.25.77a1.27 1.27 0 0 1 0 .61c0 .21.15.41 0 .62s.29.38.28.58v.09a2 2 0 0 0 .14.86 4.14 4.14 0 0 0 .2.43c0 .13-.08.31.13.39s-.05.31.08.43 0 .12.1.14.16.16.11.29-.7.45-.33.72c.14.1.37.19.09.44v.06c.29 0 .39.07.14.27.44 0 .23.35.32.54a.5.5 0 0 1-.06.4c0 .13 0 .2.11.27s.52.34.56.61a.59.59 0 0 0 .23.45c.11.06.33.06 0 .34-.06.05 0 .07 0 .08s.18.11.19.22a1.65 1.65 0 0 0 .38.92 3.07 3.07 0 0 1 .23.39s.12 0 .18.08.63.09.51.45c0 .1 0 .14.16.12s.26.09.28.22.07.3.23.35a.33.33 0 0 1 .23.43.18.18 0 0 0 .08.18c.21.17.36.36.55.54s.07.28.17.37a3.73 3.73 0 0 0 .78.44c.1.05.16.14.1.36s0 .39.32.32.55.06.57.4.24.51.65.36.53-.18.57.07c0 .06 0 .09.11.06s.18.11.15.33.07.35.23.34.59 0 .68.29c0 .09.12.11.25 0s.28-.08.34 0a1.36 1.36 0 0 0 .44.45 1 1 0 0 0 .61.15.65.65 0 0 1 .55.24c.1.09.27.07.32.28.1.43.4.38.69.32a.19.19 0 0 1 .13 0 10.66 10.66 0 0 0 1 .47s.12 0 .18-.06c0 .08 0 .24.06.22.28-.14.58-.44.7 0 .19-.16.26.2.41.17s.4.3.7-.13c.06-.09.12-.08.16 0s.23.14.38 0 .12 0 .13.25v.07-.06s.13-.18.14-.1c.05.46.2.29.34.21s.09-.07.12 0c.14.38.35.28.55.25s.34-.35.46.19c0 .1.08 0 .13 0s.3-.13.45.06.13.07.19 0c.19-.3.34-.07.51.07s.12.11.16 0c.11-.31.22-.28.34-.12s.44-.22.68.09c0 0 .07 0 .09-.11.06-.4.13-.42.25-.1s.15.16.22.07.32-.31.53-.19.4.31.5-.23c0-.14.13 0 .19 0s.19.09.25 0 .31-.11.5.07.3.1.39-.12.24-.41.41-.33.3 0 .45 0a3.57 3.57 0 0 1 .47 0 1.07 1.07 0 0 0 .64-.21h.14c.33.4.45.12.57-.07s.13-.2.27-.12.16 0 .22 0 .22-.29.44-.21.35-.12.44-.32.23-.4.55-.19c.08.05.11 0 .11-.13s.28 0 .33-.12a2.61 2.61 0 0 1 .21-.41h.12c.33.09.43-.24.69-.29.05 0 0-.14 0-.24s.06-.22.2-.16.16 0 .24 0c.24 0 .48 0 .41-.45h.07c.07 0 .2-.07.26-.17a.32.32 0 0 1 .33-.14c.56.06.61.07.78-.31a.31.31 0 0 1 .31-.36l.41-.23s.1.05.17.13a.56.56 0 0 0 .06-.47c-.05-.3-.08-.55.18-.53.06 0 .09 0 .07-.11s.13-.17.34-.11.35 0 .37-.16.08-.58.42-.61c.1 0 .13-.1.06-.24s0-.29.07-.34a1.78 1.78 0 0 0 .52-.36.94.94 0 0 0 .25-.57c0-.24.19-.35.33-.5s.1-.27.32-.28c.45 0 .45-.32.45-.61a.25.25 0 0 1 0-.13 7.28 7.28 0 0 0 .62-.87v-.2h.22c-.07-.29-.31-.64.15-.68-.12-.21.26-.21.24-.37s.33-.36 0-.72c-.08-.08-.05-.13 0-.16s.19-.2 0-.38 0-.11.27-.08h.07c0-.06-.15-.16-.06-.15.46 0 .33-.15.25-.3s-.05-.11 0-.13c.38-.08.31-.3.32-.5s-.27-.4.28-.42c.1 0 0-.08 0-.12s-.06-.32.15-.43.09-.12 0-.2c-.28-.23 0-.35.12-.5s.12-.09 0-.15c-.28-.16-.23-.26 0-.36s-.13-.46.23-.65c0 0 0-.07-.09-.1-.38-.12-.41-.2-.07-.27s.17-.12.09-.2-.28-.38-.11-.56.39-.34-.13-.53c-.12 0 0-.13 0-.19s.12-.17 0-.25l2.46-.09a.2.2 0 0 1 0 .18c-.22.22.2.46-.22.67.14.26-.2.51.18.79.07.06 0 .12 0 .18a1.42 1.42 0 0 0-.27 1.16c0 .08.07.16 0 .21-.31.16-.12.39 0 .61s.15.25.12.35a2.74 2.74 0 0 1-.34.81c-.1.19-.24.36 0 .62a.14.14 0 0 1 0 .19 2.05 2.05 0 0 0-.42 1.31c0 .08-.1.14-.13.22-.12.26-.65.35-.37.77 0 .07 0 .12-.06.14-.41.09-.27.42-.47.6s-.08.18 0 .31.05.42-.24.47c-.07 0-.1.06-.1.11a.86.86 0 0 1-.29.57c-.18.15-.44.27-.44.53a1.29 1.29 0 0 1-.14.82c-.05.08 0 .22-.14.25-.42.11-.47.46-.72.68a2.43 2.43 0 0 0-.4.51c-.12.17 0 .53-.39.5a2.59 2.59 0 0 1-.74.93c-.39.37-.68.83-1.09 1.18-.09.09-.26.11-.31.24a.65.65 0 0 1-.14.26c0 .13 0 .21-.14.18s-.48 0-.53.25a.14.14 0 0 1-.05.14 1.66 1.66 0 0 1-.69.7 2.08 2.08 0 0 0-.79.82.46.46 0 0 1-.61.19c-.2-.06-.35-.07-.44 0a1.9 1.9 0 0 1-.3.33c-.46.34-.85.87-1.52.83-.14 0-.3 0-.27.34 0 .09-.08 0-.13 0a1.05 1.05 0 0 0-.31 0 4.46 4.46 0 0 1-1 .22 1.72 1.72 0 0 0-1.38.65.3.3 0 0 1-.4.12c-.27-.14-.43.08-.64.12 0 0-.07.12-.12.11a2.63 2.63 0 0 0-1.45.16.19.19 0 0 1-.18 0c-.25-.17-.42.29-.69-.09-.24.19-.53-.08-.75.32 0 .08-.12 0-.18 0a1.31 1.31 0 0 0-1.2-.07c-.07 0-.15.1-.21 0-.21-.29-.4 0-.61.06s-.21.18-.32.16a5.08 5.08 0 0 1-.86-.19c-.2-.07-.39-.17-.62.08a.14.14 0 0 1-.18 0 1.82 1.82 0 0 0-1.36-.22c-.09 0-.16-.06-.24-.08-.28-.08-.47-.56-.83-.23-.06.05-.11 0-.14 0-.16-.41-.46-.21-.68-.37s-.19 0-.31.05-.4.13-.5-.14a.11.11 0 0 0-.13-.08.73.73 0 0 1-.59-.22c-.19-.15-.35-.38-.61-.33a1.42 1.42 0 0 1-.84 0c-.09 0-.22 0-.27-.1-.16-.43-.52-.41-.79-.61a2.55 2.55 0 0 0-.57-.29c-.2-.09-.53.08-.56-.31a3 3 0 0 1-1-.57c-.45-.28-.91-.56-1.34-.88-.11-.07-.16-.23-.3-.25a.51.51 0 0 1-.49-.42c0-.19-.13-.33-.37-.29s-.22-.14-.22-.32-.41 0-.46-.12a1.05 1.05 0 0 0-.45-.67c-.31-.18-.45-.52-.69-.77s-.42-.63-.7-.89-.55-.26-.53-.62c0-.56-.58-.63-.68-1.09 0-.29-.4-.38-.56-.6a5.67 5.67 0 0 1-.94-.87c-.05-.13 0-.33-.14-.4.33-.33.14-.39-.18-.4 0 0-.09 0-.06-.05.3-.33-.15-.31-.28-.44-.34-.31-.21-.82-.4-1.19a3.72 3.72 0 0 0-.19-.34c-.06-.09-.17-.15-.19-.24a5.71 5.71 0 0 0-.42-1.33s0-.1.05-.16c.29-.18.11-.24 0-.33s-.26-.25-.22-.42 0-.12-.09-.16c-.29-.14-.46-.33-.3-.57.27-.41-.45-.65-.22-1.06 0 0 0-.09-.09-.13s0-.07-.11-.09c-.29-.09-.24-.23-.11-.38s.12-.21 0-.3 0-.19 0-.28a7.85 7.85 0 0 1 .07-1.28c.12-.34-.11-.68-.14-1 0-.18-.08-.37.17-.54.08 0 0-.11 0-.17s-.14-.13-.13-.18a1.18 1.18 0 0 1 .17-.53c.13-.18-.2-.38-.24-.56a.15.15 0 0 1 0-.11c.13-.15 0-.32-.1-.49s-.06-.35.07-.51a1 1 0 0 0 .33-.75.69.69 0 0 1 .07-.58.79.79 0 0 0 .16-.9.38.38 0 0 1 0-.26s0-.09.1-.08c.52.06.6-.05.59-.16l.08-.21c0-.24.06-.48.11-.72a.59.59 0 0 1 .14-.22c.38-.36.36-.36.15-1a.38.38 0 0 1 .08-.4c.09-.09.24-.16.13-.33s0-.07 0-.08c.46 0 .43-.29.42-.55 0-.09.07-.15 0-.27s0-.22.16-.24.24 0 .25-.06c0-.3.4-.41.32-.77 0-.05-.05-.11 0-.13a1.41 1.41 0 0 1 .44-.23c.17-.05-.07-.35.18-.35.1 0 .18 0 .14-.11-.16-.36 0-.53.3-.56s-.08-.5.24-.54.47-.12.48-.35a1.38 1.38 0 0 1 .53-1 1.92 1.92 0 0 0 .61-1 .45.45 0 0 1 .54-.34c.21 0 .36 0 .43-.12a1.83 1.83 0 0 1 .23-.38c.4-.4.61-1.07 1.29-1.15.14 0 .31 0 .2-.38 0-.08.08 0 .12-.06a1.49 1.49 0 0 0 .3-.09 4 4 0 0 1 .9-.45 1.57 1.57 0 0 0 1.21-.92c.07-.16.18-.28.37-.22s.4-.16.6-.25.05-.12.1-.12a2.44 2.44 0 0 0 1.37-.48.17.17 0 0 1 .18 0c.28.11.35-.37.7-.06.19-.23.54 0 .66-.47 0-.09.11 0 .18 0a1.28 1.28 0 0 0 1.18-.17c.07 0 .13-.13.21-.06.27.23.4 0 .58-.2s.17-.23.27-.24a6.61 6.61 0 0 1 .89 0c.21 0 .42.09.59-.2a.11.11 0 0 1 .17 0 2.11 2.11 0 0 0 1.38-.09h.25c.29 0 .58.46.86 0 0-.07.1-.06.14 0 .24.37.5.11.74.23.09 0 .2 0 .29-.12s.37-.21.53 0c0 .06.08.07.13 0a.8.8 0 0 1 .64.06c.21.11.42.3.65.2a1.49 1.49 0 0 1 .82-.19c.09 0 .21-.06.29 0 .26.35.6.27.9.41a2.74 2.74 0 0 0 .62.18c.21 0 .5-.19.61.17a2.55 2.55 0 0 1 1.14.33c.49.22 1 .32 1.51.56.12.06.2.2.34.19a.51.51 0 0 1 .56.32c.09.18.2.28.43.18s.25.08.3.27.38-.14.47 0a1 1 0 0 0 .57.57 2.79 2.79 0 0 1 .85.58c.31.22.53.55.86.75s.63.1.67.47c.07.56.69.51.88.94.11.26.5.25.69.44a6.8 6.8 0 0 1 .84.94c.08.12.06.32.25.35-.25.39-.06.41.25.35h.07c-.22.39.21.28.36.38.37.25.39.75.66 1.06a2.43 2.43 0 0 0 .26.3c.07.07.19.11.23.19a4 4 0 0 0 .71 1.2s.06.09 0 .17c-.24.24-.06.26 0 .33s.3.19.29.37a.15.15 0 0 0 .12.14c.32.07.5.23.42.49-.13.44.58.54.45 1 0 .06.07.08.12.11a.15.15 0 0 0 .13.06c.3 0 .27.18.18.36s-.07.23 0 .29.06.18.07.28a6 6 0 0 1 .19 1.26c0 .36.24.65.38 1 .06.17.15.34-.06.56s0 .12 0 .17.17.09.17.15a1.2 1.2 0 0 1-.06.56c-.09.2.27.32.35.5a.11.11 0 0 1 0 .11c-.08.17 0 .31.21.45s.13.33 0 .51a1 1 0 0 0-.17.81.75.75 0 0 1 .08.58z\\\"/><path d=\\\"M227.84 157.36v2.16a1.72 1.72 0 0 1-2.68 1.43l-3.63-3.59h-10.79a1.73 1.73 0 0 1-1.73-1.72v-15.38a1.73 1.73 0 0 1 1.73-1.72h15.37a1.72 1.72 0 0 1 1.73 1.72v17.1\\\" fill=\\\"#fff\\\"/><path d=\\\"M228.7 157.49c-.16.18.18.35.09.53a.37.37 0 0 0-.07.12.74.74 0 0 0-.06.28c0 .29.3.59.11.87v.15a.67.67 0 0 1 .1.49.53.53 0 0 1-.36.44v.06c.21.37-.12.51-.19.77s-.25.33-.41.46-.27.37-.54.28-.27.39-.51.41h-.1c-.31 0-.59.08-.9.08a2.15 2.15 0 0 1-.51 0c-.15 0-.25-.23-.44-.11s-.24-.27-.42-.26-.05-.08-.13 0-.16 0-.18-.12.29-.76 0-.71c-.12 0-.29.09-.17-.27 0-.05 0-.07 0 0-.2.19-.29.2-.17-.1-.31.23-.25-.11-.36-.19s-.06-.17 0-.32-.05-.15-.12-.15-.44 0-.52-.17-.11-.23-.25-.23-.28.1-.06-.25c0-.07 0-.06 0 0s-.15 0-.17-.1a.79.79 0 0 0-.35-.57c-.09-.05-.14-.15-.21-.21s-.11 0-.15 0a.69.69 0 0 0-.29 0c-.07 0-.08 0 0-.12s0-.07-.06 0-.12.11-.11 0a.2.2 0 0 0 0-.11h-.06c-.06 0-.09.1-.09-.1s0-.08-.05-.07-.23 0-.38 0-.17-.14-.25-.12a2.74 2.74 0 0 0-.55.22c-.07 0-.13 0-.2-.2s-.18-.26-.28 0-.29.33-.44.06-.31-.26-.46.11-.21.46-.32.28-.06-.05-.09 0-.13 0-.19-.17-.16-.26-.24-.17-.31.33-.47.1c0-.06-.1 0-.14.12s-.13.21-.2.16a.81.81 0 0 0-.39-.2.45.45 0 0 0-.39.13c-.13.14-.25.08-.38 0s-.18.06-.26-.12c-.17-.38-.33-.22-.49-.07s0 0-.08 0l-.67-.14-.11.11c0-.07 0-.22-.07-.19-.15.19-.29.56-.44.16-.09.2-.19-.13-.28-.07s-.28-.19-.42.28c0 .09-.06.09-.1 0s-.16-.11-.24.09-.07 0-.1-.22v-.08.06s-.07.19-.08.11c-.08-.44-.16-.25-.23-.15s-.06.08-.08 0c-.12-.35-.25-.22-.37-.18s-.2.36-.3-.17c0-.1 0 0-.08 0s-.19.15-.28 0-.09-.06-.16 0c-.18.3-.35.06-.47-.1s-.08-.13-.14 0c-.19.26-.31.18-.35 0-.06-.34-.49 0-.49-.42 0-.05-.07 0-.14 0-.31.27-.41.2-.25-.1s0-.21-.09-.21-.46-.1-.43-.35.17-.45-.38-.44c-.14 0 0-.13 0-.2s.07-.21-.05-.27-.1-.36.11-.51.13-.18-.05-.28-.34-.21-.22-.3.08-.19.1-.28a1.08 1.08 0 0 1 .07-.31.51.51 0 0 0 0-.42s0-.06.09-.08c.48-.12.26-.24.13-.36s-.15-.12 0-.18 0-.1 0-.15-.21-.19 0-.3.05-.23-.09-.34-.26-.24.06-.36c.08 0 0-.07-.06-.1s.14-.15 0-.23a.87.87 0 0 1-.26-.24l.07-.06c.25-.15 0-.31.11-.47s-.1-.07-.19-.1-.16-.1 0-.16.06-.09.11-.14.26-.25-.14-.38.06-.13 0-.2 0-.15.08-.23c.4-.27.42-.27.19-.54 0 0-.07-.1-.06-.14s-.61-.15-.61-.29-.14-.11.27-.17.25-.15.19-.22c-.33-.33 0-.65 0-1a.71.71 0 0 1 .13-.24c0-.08 0-.15-.2-.23s-.25-.23-.15-.34a.71.71 0 0 0 .19-.64.61.61 0 0 1 .25-.65c.12-.1 0-.22-.18-.32s-.11-.26.35-.33.17-.18.17-.18v-.16c0-.05-.56-.16-.52-.28s.23-.26.38-.43-.18-.34-.09-.51a.42.42 0 0 0 .07-.13.62.62 0 0 0 .06-.26c0-.28-.3-.56-.11-.84v-.15c-.13-.23-.25-.46.12-.69-.33-.16-.1-.32-.21-.49s0-.26 0-.39-.12-.45.13-.6-.13-.46 0-.66l.05-.09c.22-.23.32-.52.53-.76s.17-.32.31-.42.34-.05.38-.27.36 0 .47-.16.13 0 .16-.1.21-.17.34-.11.37.74.59.48c.09-.1.19-.28.28.07 0 .05 0 .06 0 0 .07-.27.13-.34.19 0 .13-.39.26-.09.39-.12s.15.08.22.2.12.07.18 0 .33-.32.49-.24a.25.25 0 0 0 .33 0c.06-.06.13-.26.19.14 0 .08 0 0 .06 0s.12-.1.18 0a.7.7 0 0 0 .62.15 2.62 2.62 0 0 1 .28 0s.07-.08.1-.1.28-.45.43-.14c0 .08.08.05.12 0s.14-.17.22-.1.17.12.26 0 .2-.1.31.1a.09.09 0 0 0 .12.06 3.88 3.88 0 0 1 .48 0c.08 0 .16.14.24.12a2.87 2.87 0 0 0 .55-.22c.07 0 .14 0 .2.2s.19.26.28 0 .3-.33.44-.06.32.26.47-.11.21-.46.32-.28.06 0 .08 0 .14 0 .2.18.15.26.24.17.31-.33.46-.1c0 .06.1 0 .14-.12s.13-.21.2-.16a.91.91 0 0 0 .39.2.45.45 0 0 0 .39-.13c.13-.14.26-.08.39 0s.18-.06.26.12c.16.38.32.22.48.07s.06-.05.08 0l.68.13s.07-.06.1-.1c0 .07.05.22.07.19.14-.2.28-.56.43-.16.1-.2.19.13.28.07s.28.18.42-.28c0-.1.07-.09.1 0s.16.11.24-.09.08 0 .11.22.06-.19.08-.11c.07.44.15.25.23.15s.06-.09.08 0c.12.35.24.22.36.19s.21-.37.3.17c0 .09.06 0 .08 0s.19-.14.29 0 .11.06.17 0c.19-.3.35-.05.47.1s.07.14.14.05c.19-.27.3-.18.35 0 .05.35.49 0 .48.43h.14c.31-.26.41-.2.25.1s0 .21.09.21.46.11.42.36-.18.45.37.45c.14 0 0 .13 0 .2s-.07.2 0 .27.1.35-.1.51-.14.17 0 .27.34.2.22.3-.08.18-.1.28a1.09 1.09 0 0 1-.07.3.54.54 0 0 0 0 .43l-.08.07c-.49.12-.27.24-.14.36s.15.12 0 .18 0 .1 0 .15.21.19 0 .3 0 .23.09.34.26.24-.06.37c-.08 0 0 .06.06.09s-.14.15 0 .23a1 1 0 0 1 .26.24l-.07.06c-.25.16 0 .31-.11.47s.1.07.19.1.16.11 0 .16-.06.09-.11.14-.26.26.14.38-.06.14 0 .2a.17.17 0 0 1-.07.23c-.39.26-.42.27-.23.51s.18.2.06.3l-.11.29h-.21c-.11 0 .12.15.3.23s.46.21.28.32 0 .06 0 .08 0 .14-.17.2-.26.16-.17.24.33.31.1.47c-.07 0 0 .1.11.14s.22.13.17.2a.81.81 0 0 0-.2.39.4.4 0 0 0 .13.38c.13.13.07.26 0 .39s.06.18-.13.26c-.37.17-.21.32-.07.49a.1.1 0 0 1 .05.08l-.14.67.1.1c-.07 0-.22.05-.19.07.2.15.57.29.17.44.2.09-.14.18-.07.27s-.19.29.27.42c.1 0 .09.07 0 .1s-.11.16.1.24 0 .08-.22.11.19.06.11.08c-.45.07-.25.15-.15.23s.08.06 0 .08c-.35.12-.22.24-.19.37s.37.2-.16.3c-.1 0 0 .05 0 .08s.15.19 0 .28-.07.09 0 .12c.3.11.08.22 0 .32s-.11.08 0 .1c.31.07.27.14.11.22s.19.28-.13.42c0 0 0 .05.11.06.39.05.41.11.08.17s-.17.08-.08.13.3.22.14.34-.37.23.15.34c.13 0 0 .08 0 .12s-.11.11 0 .16l-2.45.06a.07.07 0 0 1 0-.1c.2-.13-.23-.26.19-.39-.16-.14.17-.3-.22-.44-.08 0 0-.07 0-.1a.48.48 0 0 0 .14-.68s-.1-.09 0-.12c.29-.12.06-.23-.05-.35s-.18-.12-.17-.18a1.73 1.73 0 0 1 .15-.49c.06-.12.15-.24-.11-.35-.07 0-.06-.07 0-.1.28-.26.13-.52 0-.78v-.14c0-.04.49-.33.08-.49-.06 0-.05-.06 0-.08.36-.14.09-.29.19-.43s0-.11-.13-.16-.23-.2 0-.31c.06 0 .07 0 0-.08a.3.3 0 0 1 0-.36c.08-.13.24-.26.1-.39s-.32-.29-.31-.44-.09-.12 0-.17c.32-.18.14-.37.21-.55a1.15 1.15 0 0 0 0-.37c0-.12-.31-.24 0-.37a.92.92 0 0 1-.06-.67 7.23 7.23 0 0 0 0-.93c0-.07.09-.15 0-.22a.29.29 0 0 1-.09-.16c-.11 0-.15-.08 0-.13s.3-.21.17-.32c-.06 0-.08-.05-.08-.08a.59.59 0 0 1-.14-.55.73.73 0 0 0-.2-.63c-.1-.12-.09-.24.15-.35s.25-.15.21-.22a.75.75 0 0 1-.13-.25c0-.33-.37-.65 0-1 .07-.07.17-.15-.18-.22-.09 0 0-.05 0-.08s.1-.1.11-.16a1.72 1.72 0 0 1 .15-.57.6.6 0 0 0-.16-.86c-.1-.07-.15-.16 0-.24s0-.24 0-.36-.1-.06-.08-.08c.22-.24.27-.65.13-.64s-.23 0 .14-.2c-.16 0 .08-.21-.27 0-.07 0 0 0 0 0 .14-.23 0-.34-.11-.25s-.07.08 0 0c.06-.29-.08-.09-.13 0s-.07.18-.08.17-.23-.09-.38-.16-.23-.15-.34.12c0 .07-.07.06-.11 0-.26-.27-.52-.12-.78 0 0 0-.09 0-.14-.05s-.32-.49-.49-.08c0 .06 0 .06-.08 0-.14-.36-.28-.08-.42-.19s-.12 0-.17.13-.2.23-.3 0c0-.06 0-.06-.08 0a.29.29 0 0 1-.36 0c-.13-.08-.27-.24-.39-.1s-.3.33-.45.31-.11.1-.16 0c-.18-.32-.37-.14-.55-.21a.78.78 0 0 0-.37 0c-.13 0-.25.3-.37 0a1.06 1.06 0 0 1-.68.06 7.16 7.16 0 0 0-.92 0c-.07 0-.15-.1-.22 0s-.25.14-.37 0-.18-.16-.27 0-.14 0-.22-.09-.15.31-.24.22-.3-.26-.45-.19-.39 0-.59 0-.43-.11-.65-.08-.32.29-.47.06-.49.08-.74-.11-.31.15-.47.17a2.18 2.18 0 0 1-.72 0c-.08 0-.16-.17-.24 0-.08-.44-.17-.3-.25 0 0 0 0 .07 0 0-.1-.42-.2 0-.3.06s-.48-.16-.72-.1l-.22.07c-.06 0-.11.1-.17.09a1.76 1.76 0 0 0-.4-.07c-.12 0-.13 0-.18.08s0 0-.06-.08c-.1-.31-.1-.15-.11-.08s0 .2-.07.14 0 0 0 .07c.09.24.15.32 0 .21s-.12 0-.06.08.13.14 0 .1 0 0 0 .05h.09c.25.12.18.08 0 .05s-.15 0-.07 0 0 0 0 .05v.18a.7.7 0 0 1-.1.36c-.12.19.07.39.13.58s.1.21-.15.31c-.07 0 0 .07 0 .1s.15.07.15.1a.53.53 0 0 1-.15.3c-.12.11.21.21.27.31v.06c-.11.09 0 .18.17.27s.11.18 0 .28-.29.3-.22.45.15.22.05.32-.16.34.08.51c.06.05 0 .1 0 .15s0 0-.07.06c-.52 0-.57.12-.53.18v.13a2.86 2.86 0 0 1 .15.41s0 .09-.06.14c-.23.27-.22.27.19.54.11.07.12.15.08.23s-.15.13 0 .2.06 0 0 0c-.39.13-.25.25-.13.38s0 .1.1.14.12.11 0 .16-.21.07-.19.1-.14.32.11.47c0 0 .09 0 .08.06a1.23 1.23 0 0 1-.26.24c-.12.08.24.15 0 .23s-.15.07-.07.1c.33.12.31.24.06.36s.37.2.13.33-.3.22-.17.32a.63.63 0 0 1 .25.65.71.71 0 0 0 .19.64c.1.11.09.23-.15.34s-.25.15-.21.23a.71.71 0 0 1 .13.24c0 .33.37.65 0 1-.07.07-.16.15.18.22.09 0 0 0 0 .08s-.1.11-.11.16a1.72 1.72 0 0 1-.15.57.6.6 0 0 0 .16.86c.1.08.15.16 0 .24s0 .24-.05.36.1.06.08.08c-.22.26-.27.63-.13.62s.23 0-.13.19c.16 0-.08.22.27 0 .07 0 0 0 0 0-.14.23 0 .35.11.25s.07-.08.05 0c-.06.29.08.09.13 0s.07-.18.08-.17.26.08.39.16.23.14.35-.12c0-.07.07-.06.1 0 .26.27.52.12.78 0h.14c.05 0 .33.49.49.09 0-.07.06-.06.08 0 .14.36.29.09.43.19s.11 0 .16-.13.2-.22.3 0c0 0 .06.06.08 0a.3.3 0 0 1 .37 0c.13.08.26.23.39.1s.29-.33.44-.31.11-.1.17 0c.18.32.36.14.55.21a.77.77 0 0 0 .37 0c.12 0 .24-.3.36 0a1 1 0 0 1 .68-.06 7 7 0 0 0 .92 0c.08 0 .15.1.23 0s.24-.14.37 0 .17.16.26 0 .15 0 .22.09.15-.32.24-.22.3.25.45.18.4 0 .59 0h.42a1.56 1.56 0 0 0 .48 0 2.53 2.53 0 0 0 .4-.12.38.38 0 0 1 .23.32c0 .57.62.5.63.77s.31.1.43.19a1.83 1.83 0 0 1 .47.49c0 .06 0 .23.13.19-.22.4-.07.35.16.18h.05c-.19.4.13.14.24.15s.22.45.42.56a1.11 1.11 0 0 0 .19.09h.16a1.09 1.09 0 0 0 .53.53v.13c-.13.32 0 .24 0 .19s.15-.14.16 0c.13-.23.15-.33.16-.14s.08.09.1 0 0-.2.08 0 0-.05 0-.08a.54.54 0 0 1 0-.11c-.08-.27-.06-.2 0-.06s.09.13.06.06.06-.07.23 0 0-.14-.07-.19-.09-.06.16-.06c.07 0 0 0 0-.07s-.15-.08-.14-.11a.42.42 0 0 1 .14-.28c.12-.09-.21-.2-.27-.3v-.06c.12-.08 0-.17-.17-.26s-.11-.18 0-.26.29-.28.22-.42-.15-.21-.05-.31z\\\"/><path d=\\\"M212.78 150c-.1.12.17-.09.12 0a.61.61 0 0 0 0 .06v.07s.28-.14.18 0 .23-.13 0 .17c.24-.21.1 0 .2-.09s0 0 .05 0 .13-.07 0 .1.19-.15.17-.1 0 0 .08 0 .1-.06.11 0-.08.13.05 0-.06.12 0 .06 0 0 .05 0 .1-.08 0 0-.48.61-.28.43.2-.19 0 .09c.18-.21.23-.25.05 0 .26-.29.09-.05.12-.05s0 .08-.09.18 0 .06 0 0 .24-.22.21-.14 0 .09 0 0 .18-.2-.06.13c0 .06 0 0 0 0s.07-.06 0 0-.08.22 0 .19l.26-.1c.07-.06.3-.34.14-.08 0 .07 0 .06 0 0s.12-.12.09-.06 0 .11 0 0 .08-.06 0 .11 0 .08 0 .07.06 0 .09 0-.05.13 0 .12a1.3 1.3 0 0 0 .19-.13l-.08.18c-.08.18-.11.23 0 0s.22-.25.1 0-.1.25.12-.05.26-.38.19-.21l-.07.17c-.07.17-.11.23-.05.16s.21-.26.12-.05 0 0 .07-.09.13-.18.11-.13a.57.57 0 0 0 0 .21l.12-.09c.12-.09.07 0 .06 0s.05 0 0 .12c-.16.35-.06.22 0 .1a.85.85 0 0 0 0 .17l.06-.09-.08.17c.11-.16.29-.48.14-.11.1-.18 0 .13 0 .08s0 .19.17-.22c0-.09 0-.08 0 0s0 .11.07-.07 0 0-.08.21v.07-.06s.09-.17.06-.1c-.17.41-.08.24 0 .15s0-.07 0 0c-.13.33-.06.22 0 .2s.18-.32 0 .17c0 .09 0 0 0 0s.08-.12 0 .05 0 .07 0 0c.14-.27.07-.06 0 .06s0 .11 0 0c.12-.28.12-.24.07-.09s.11-.16 0 .15v-.1c.15-.36.17-.38.06-.07s-.05.16 0 .08.14-.26.1-.11-.09.37.1-.12c0-.12 0 0 0 0s0 .12 0 0v.16c0 .16 0 .14 0 0s.14-.32.12-.19 0 .08 0 .1a.17.17 0 0 1 0 .09c0 .07 0 0 .07 0s0 0 0 .08c-.13.47 0 .27 0 .14s.06-.13 0 0 0 .05 0 0 .09-.19.06 0 0 .06.08-.07.1-.24 0 .07v-.05c0-.05 0 .14 0 0a1.58 1.58 0 0 1 .1-.24v.2a.78.78 0 0 0 .06-.19c0-.15.06-.15 0 0s0 .06 0 .11 0 .26.09-.12 0 .06 0 0v.24c0 .01.14-.6.16-.59s0-.14 0 .27v.19c.11-.32.1 0 .15.06a.9.9 0 0 1 0 .13l.06-.2c.06-.2.07-.24.07-.14s0 .24.07.2.07 0 .08.26 0 0 .06-.16.05-.11 0 .35 0 .17 0 .17.07-.56.08-.52a2.2 2.2 0 0 1 0 .39c0 .15.06-.18.09-.09s0 .05 0 .07v.06c0-.01.1-.3.14-.1s.07-.25.11.13c0-.33.06-.1.08-.21s0 0 .06 0 0-.14.07.07 0-.23.05-.19.06 0 .09 0 0-.12 0-.12 0 .15 0 0 0 .13 0 0v-.06c0-.06 0-.12 0 0s.09.77.11.51v.07s0 .05 0 0c0-.28 0-.35 0 0 0-.39 0-.1.05-.12s0 .07.06.19 0 .07 0 0v-.24c0 .08.05.07.05 0v.13c0 .08 0 0 0 0v-.05c0 .05.1.2.13.13s0-.07 0-.1v-.15c0 .08 0 .05 0 0v-.1c0 .07.05.11.05 0s0-.1.06.09 0 .07 0 .06 0 0 .06-.06.06.13.07.11a1.29 1.29 0 0 0 0-.24l.08.19c.08.19.09.24 0 0s0-.33.05-.08.12.24 0-.12-.1-.45 0-.28 0 0 .08.15.09.25.08.15-.05-.33 0-.11v-.12c0-.12-.05-.21 0-.17s.09.17.12.18 0 0 0-.15 0-.08.05 0 0-.07.08.1c.15.35.13.19.1 0l.14.08v-.1l.08.18c-.05-.2-.16-.54 0-.18-.06-.19.08.11.06 0s.12.15 0-.28c0-.09 0-.09 0 0s.07.09 0-.1 0 0 .1.19v.08-.06s-.07-.18 0-.1c.18.4.12.22.09.12s0-.08 0 0c.15.32.12.19.12.15s-.12-.35.12.13c0 .09 0 0 0 0s0-.14.05 0c-.12-.29 0-.1.06 0s.06.1 0 0c-.12-.28-.09-.26 0-.12s0-.19.12.09v-.1c-.17-.36-.17-.38 0-.09s.08.15 0 .06-.1-.27 0-.14.2.31 0-.16c-.06-.12 0 0 0 0s.07.09 0 0 0-.07.12.11.08.1 0-.06-.13-.32-.06-.22.06.05.08.06h.08c.06.06.06 0 .05 0s0 0 .06.06c.26.41.17.21.11.09s0-.14 0 0-.08-.19 0-.06.06 0 0-.11-.11-.24.08 0c.05.07 0 0 0-.06s.1.11 0 0-.08-.18-.11-.24 0 0 0 .05c.16.2.05 0 .13.06l-.1-.17c-.08-.14-.07-.15 0 0l.08.08c.08.08.18.19 0-.15s0 0 .07 0c.26.29.28.32.2.13s-.07-.16 0-.07l.1.06.12.17s0-.11-.14-.27-.25-.39-.12-.25 0 0 .12.12.18.19.14.11-.16-.3 0-.13 0 0-.06-.1-.11-.19-.07-.15a.67.67 0 0 0 .17.12v-.2c0 .03 0-.06.11.07s.18.14.11 0 0-.05 0-.05h.17s0-.06-.05-.09l.14.14c-.11-.16-.34-.45-.06-.17-.12-.16.11.08.08 0s.16.11-.13-.25c-.06-.07-.06-.07 0 0s.09.07 0-.09 0 0 .17.15l.05.06s-.13-.15-.07-.09c.31.32.19.17.13.09s0-.07 0 0c.25.24.18.13.17.09s-.23-.28.15.09c.07.07 0 0 0 0s-.08-.13 0 0 .06 0 0 0c-.2-.23 0-.09.07 0s.09.07 0 0c-.21-.22-.18-.21-.06-.1s-.1-.17.15 0l-.08-.08c-.28-.28-.29-.3 0-.08s.13.11.07 0-.19-.22-.07-.13.3.22-.08-.13c-.09-.09 0 0 0 0s.09.07 0 0l1.89 1.57h-.05c-.05 0 .13.21-.2 0 .09.13-.18-.06.09.23.05.05 0 0 0 0-.22-.13-.26-.12-.19 0s0 .08 0 0c-.22-.18-.07 0 0 .09s.11.15.09.15a.35.35 0 0 1-.18 0c-.06 0-.14-.07 0 .13s0 .06 0 0c-.23-.16-.17 0-.14.09s-.38-.32-.13 0c-.26-.24-.1 0-.19-.08s0 0 .06.12.12.2-.05 0-.05 0-.05 0 0 .07-.06 0-.2-.14-.13 0 .16.29.13.29 0 .09 0 0c-.23-.22-.15-.06-.22-.09s-.05 0-.07 0 .15.27-.07 0c.05.13 0 .12-.07.13s-.08.1-.13.14-.08-.06-.05 0a.42.42 0 0 1 0 .09c.06.1.07.14 0 .05s-.21-.22-.16-.1a.44.44 0 0 1 0 .08c.06.15 0 .19 0 .18s-.07.06 0 .23 0 .11-.15-.08-.16-.19-.15-.15 0 .12 0 .13.08.39-.16.14c-.05-.05-.11-.12.06.19 0 .07 0 0 0 0l-.09-.08a.31.31 0 0 1-.18-.06c-.12-.1-.21-.13-.07.22 0 .1 0 .15 0 0s-.06 0-.09 0 0 .09 0 .07-.22-.17-.21 0 .06.23-.15-.13c0 .16-.14-.13 0 .24 0 .07 0 0 0 0-.15-.21-.2-.21-.18-.06s0 .1 0 0c-.15-.25-.07 0-.05.07s.06.18 0 .18-.09-.05-.15-.1-.11-.11 0 .14c0 .06 0 .06 0 0-.16-.23-.15-.07-.16 0s0 0-.05 0-.25-.43-.12 0c0 .06 0 .05 0 0-.17-.33-.09-.06-.16-.15s0 0 0 .14 0 .22-.06 0c0 0 0-.06 0 0s0 .07-.08 0-.13-.2-.11-.06.06.33 0 .32 0 .1 0 0c-.14-.29-.12-.11-.18-.16s-.05 0-.07 0 0 .3-.08 0c0 .13-.07.1-.12.09s-.11.07-.17.1-.06-.09-.05 0 0 .15-.08 0-.08-.15-.05 0 0 .05-.07-.08.05.31 0 .22-.13-.23-.14-.16-.09 0-.12 0-.11-.09-.15-.05 0 .3-.08.08-.09.1-.17-.08 0 .15-.07.18-.09 0-.15 0-.06-.16-.06 0c-.07-.44-.07-.29 0 0 0 0 0 .07 0 0-.08-.41 0 0-.06.07s-.11-.14-.15-.07a.12.12 0 0 0 0 .07v.09c0-.02-.12-.09-.16 0s0 0 0-.09v-.11.11c0-.09 0 0 0 0 0 .25 0 .35-.06.17-.06-.33-.07.35-.13.06v.07a.25.25 0 0 0 0 .1v-.02c0 .07 0 0 0 0s-.11 0-.16-.14-.08.07-.12.13 0 .1-.07-.15c0-.07 0 0 0 0v.14c0-.01-.05 0-.07-.15s-.05.22-.07.27l-.07.17c-.07.17 0 .11-.06 0s-.05-.29-.09-.21-.06.14-.07 0-.07-.16-.12.07c0 .06 0 0 0 0v-.6a.56.56 0 0 1-.1.14v-.07c0-.23 0-.22-.14.18 0 .11 0 .11-.05.07s0-.15 0 0c0-.4 0-.26-.07-.15s0 0 0 .1 0 .12 0 0a.69.69 0 0 0 0-.19c0 .09 0-.15-.12.09v.07a1 1 0 0 1 0-.26c0-.12-.07.24 0 0s0-.14 0-.06c-.08.31-.11.29-.09.05s-.11.35-.09.11 0-.3 0-.19-.15.27-.18.22-.09 0-.18.16-.07.08 0-.17 0-.25 0-.21-.06.11-.08.11-.23.33-.21 0c0-.07 0-.16-.09.17 0 .08 0 0 0 0v-.11a.34.34 0 0 1-.07-.18c0-.16-.05-.24-.22.09-.05.1-.08.14-.06 0s0-.05-.06-.07 0 .09 0 .06q0-.33-.12-.18c0-.2-.13.19 0-.21-.08.14 0-.18-.16.17 0 .07 0 0 0 0 0-.26 0-.29-.08-.18s-.06.09 0 0c.08-.28 0-.07-.09 0s-.09.16-.1.15a.44.44 0 0 1 0-.19c0-.05 0-.15-.12.08 0 .06 0 .05 0 0 .06-.28 0-.16-.14-.09s0 0 0-.06.15-.47-.05-.11c.12-.34 0-.1 0-.21s0 0-.09.11-.14.18-.05 0v-.05c0 .01-.08 0-.06-.05s.06-.23 0-.12-.2.26-.22.23-.07.07 0 0c.11-.3 0-.16 0-.24s0 0-.06-.05-.19.24 0 0c-.11.09-.13 0-.15 0s-.13 0-.18-.07 0-.1 0 0-.12.09 0-.08.05-.16-.06 0-.05 0 0-.1-.2.25-.16.16.08-.24 0-.2-.05-.07-.09-.08 0-.15-.06-.15-.22.2-.11 0-.13 0-.06-.17-.14.09-.17.08a.1.1 0 0 1-.11-.1s.08-.15 0-.07c.25-.35.15-.25 0 0 .24-.34 0 0-.08 0s0-.18-.06-.16h-.08s-.08.07-.08 0 0-.15-.12-.1 0 0 0-.09c.2-.25.09-.14 0-.1s-.15.12-.11.05-.27.23-.17.08-.29.2-.13-.05h-.06l-.08.07c-.19.19-.15.12-.06 0s.08-.12 0-.07 0 0 0-.05-.08-.06 0-.2-.11 0-.18 0-.1 0 .06-.15a1.2 1.2 0 0 1-.12.09s0-.06.06-.16-.19.12-.25.15 0 0-.16.07-.11 0 0-.05.17-.25.08-.23-.15 0-.1 0c.87-.77 1.48-1.28 2.07-1.77z\\\"/><circle cx=\\\"58.27\\\" cy=\\\"71.82\\\" r=\\\"14.04\\\" fill=\\\"#8e9e2e\\\"/><path d=\\\"M45.09 72c-.14.19.21.36.12.54a.69.69 0 0 0-.05.13.79.79 0 0 0-.06.29c0 .3.38.56.23.88 0 0 0 .09.06.14.17.22.3.43 0 .74.36.09.18.31.33.45s.08.26.11.39.22.22.06.41.31.17.31.31a.14.14 0 0 1 0 .06.89.89 0 0 0 .21.54c.06.08.2.13.24.22s0 .24.15.23 0 .24.09.28 0 .08.1.07.16.06.13.16-.6.51-.25.59c.14 0 .34 0 .09.29v.05c.27-.09.36-.08.14.15.4-.11.21.18.31.27s0 .18 0 .31 0 .14.11.16.46.09.5.28.07.24.22.25.3-.07 0 .25c-.05 0 0 0 0 0s.16 0 .17.11a.77.77 0 0 0 .33.59c.09 0 .14.15.22.21s.11 0 .15 0 .52-.14.42.19c0 .09 0 .1.13.05s.22 0 .23.08.07.21.2.19.23 0 .2.27a.11.11 0 0 0 .06.13 3.87 3.87 0 0 1 .43.27c.07 0 .07.21.15.24a3 3 0 0 0 .61.11c.08 0 .12.07.08.28s0 .33.24.18.44-.17.45.14.19.39.49.12.38-.33.41-.11c0 0 0 .06.09 0s.13 0 .12.23.06.3.18.24.41-.2.49.08c0 .07.09 0 .17-.06s.19-.17.24-.1a.93.93 0 0 0 .34.29.49.49 0 0 0 .42 0c.16-.1.26 0 .39.07s.19 0 .24.16c.1.4.3.27.49.15h.08a3.59 3.59 0 0 0 .69.2s.08-.06.11-.1c0 .07 0 .22.06.19.17-.19.32-.55.46-.14.11-.2.2.14.29.08s.31.18.43-.29c0-.1.07-.1.1 0s.17.1.24-.11.08 0 .13.21.05-.19.07-.11c.11.44.18.24.25.14s.05-.09.08 0c.16.34.28.18.4.13s.15-.39.33.12c0 .09.06 0 .09 0s.17-.17.3 0 .1 0 .12-.06c.06-.31.21-.12.35 0s.1.09.1 0c0-.32.08-.3.2-.16s.24-.26.46 0c0 0 .05 0 0-.11 0-.4 0-.43.15-.13s.14.14.16 0 .13-.35.29-.25.36.26.28-.27c0-.13.08 0 .13 0s.15.06.16-.05.18-.12.35 0 .22 0 .23-.16 0-.4.18-.33.21 0 .31 0a1.08 1.08 0 0 1 .31-.07.63.63 0 0 0 .37-.25h.12c.35.35.35.09.39-.09s0-.18.15-.11.11 0 .15-.06 0-.29.23-.22.22-.11.23-.29 0-.36.35-.18c.07 0 .07 0 0-.11s.21 0 .19-.13a1.39 1.39 0 0 1 0-.37h.1c.29.08.25-.2.44-.24 0 0 0-.12-.06-.21s0-.19.09-.14.11 0 .17 0 .37 0 .17-.39.14-.06.16-.13.08-.14.21-.12c.51 0 .51 0 .5-.32a.19.19 0 0 1 0-.16c.11-.1-.41-.49-.32-.59s0-.17.32 0 .31 0 .29-.08c-.1-.47.35-.57.56-.84a.84.84 0 0 1 .24-.16c.07 0 0-.16-.08-.3s-.12-.33 0-.39a.77.77 0 0 0 .46-.51.62.62 0 0 1 .46-.54c.15-.07.12-.21-.05-.38s0-.27.44-.22.21-.13.21-.13v-.19c0-.06-.5-.3-.43-.41s.29-.21.49-.36-.12-.39 0-.55a.83.83 0 0 0 .08-.12.9.9 0 0 0 .11-.27c0-.3-.22-.62 0-.9v-.15c-.12-.26-.22-.49.16-.73-.33-.17-.12-.35-.24-.51s0-.28 0-.41-.15-.27 0-.42-.27-.24-.25-.37A.16.16 0 0 1 71 70a1 1 0 0 0-.1-.56c0-.1-.14-.18-.17-.27s.1-.22-.1-.26.08-.22 0-.29 0-.08-.08-.08-.15-.1-.09-.19.72-.37.39-.53c-.13-.06-.34-.1 0-.3-.28 0-.37 0-.1-.17-.42 0-.19-.22-.25-.34s0-.18.1-.3 0-.14-.07-.18-.44-.18-.44-.37 0-.24-.17-.3-.29 0 0-.25v-.05c0 .01-.15-.06-.14-.14a.78.78 0 0 0-.21-.64c-.08-.07-.1-.18-.16-.27s-.1 0-.14 0-.55 0-.38-.27c0-.08 0-.11-.12-.08s-.22 0-.21-.12 0-.22-.15-.24-.21-.1-.13-.3 0-.12 0-.14a3.15 3.15 0 0 1-.38-.35c-.06 0 0-.22-.08-.27a2.15 2.15 0 0 0-.58-.24c-.07 0-.11-.09 0-.29s0-.33-.2-.22-.44 0-.4-.25-.11-.41-.45-.21-.45.24-.43 0c0-.05 0-.08-.08 0s-.12-.06-.07-.26 0-.31-.12-.27-.45.11-.47-.17c0-.08-.08-.08-.18 0s-.22.12-.26 0a.73.73 0 0 0-.26-.37.49.49 0 0 0-.42 0c-.17.07-.26 0-.36-.15s-.19 0-.2-.23c0-.4-.24-.32-.45-.23a.14.14 0 0 1-.09 0 4.77 4.77 0 0 0-.8-.45s-.09 0-.13.07v-.2c-.21.15-.43.47-.48 0-.15.17-.16-.17-.27-.13s-.25-.26-.48.18c0 .09-.08.08-.11 0s-.14-.13-.25.06-.08 0-.08-.24v-.07.05s-.09.18-.09.1c0-.45-.13-.27-.22-.18s-.07.07-.08 0c-.09-.37-.23-.26-.36-.23s-.24.35-.3-.18c0-.1-.06 0-.09 0s-.21.13-.3 0-.09-.07-.13 0c-.12.3-.23.08-.34-.06s-.08-.11-.1 0c-.08.31-.15.28-.23.12s-.29.21-.46-.1v.11c0 .4-.08.42-.17.09s-.1-.16-.15-.07-.2.3-.34.17-.29-.33-.33.21c0 .13-.09 0-.13 0s-.13-.09-.17 0-.19.08-.34-.11-.2-.1-.25.1-.13.39-.26.29-.2 0-.3 0a1.71 1.71 0 0 1-.32 0 .47.47 0 0 0-.42.14l-.1-.05c-.28-.41-.33-.16-.4 0s-.07.18-.18.08-.11 0-.15 0-.12.26-.28.15-.24.07-.29.25-.11.34-.37.11c-.06-.06-.07 0-.06.1s-.21-.07-.23.07a1.46 1.46 0 0 1-.1.35h-.08c-.27-.14-.29.16-.48.16s0 .12 0 .21 0 .2-.12.12-.12 0-.18 0-.37-.07-.25.33-.14 0-.18.11-.1.11-.23.07c-.45-.14-.49-.16-.56.15s0 .27-.2.25l-.29.12s-.09-.05-.16-.13 0 .19 0 .38.16.48-.05.42c0 0-.07 0 0 .08s-.08.12-.27 0-.3-.06-.29.07 0 .46-.25.43c-.08 0-.09.06 0 .18s.08.24 0 .26a.89.89 0 0 0-.4.2.45.45 0 0 0-.13.4c0 .19-.11.25-.21.33s-.05.19-.25.17c-.4-.06-.36.17-.32.39v.09a4.71 4.71 0 0 0-.44.56v.14c-.07 0-.22-.05-.2 0 .11.23.38.5 0 .48.14.17-.21.12-.18.24s-.28.21.11.5c.08.07.06.1 0 .11s-.16.12 0 .27 0 .07-.25 0h-.07s.16.12.08.11c-.45-.07-.3.07-.22.18s.06.08 0 .08c-.37 0-.28.19-.28.32s.31.29-.23.26c-.1 0 0 .06 0 .09s.09.22-.11.28-.08.08 0 .14c.28.17.05.24-.09.33s-.12 0 0 .1c.29.12.25.19.07.24s.15.32-.19.43c0 0 0 .05.09.07.39.1.41.15.07.18s-.17.08-.08.14.28.25.12.37-.38.23.13.36c.13 0 0 .08 0 .12s-.12.11 0 .17l-2.59.18v-.13c.22-.15-.21-.33.22-.47-.15-.18.19-.35-.19-.55-.08 0 0-.09 0-.13a.71.71 0 0 0 .23-.8c0-.06-.08-.12 0-.15.31-.1.11-.27 0-.43s-.16-.18-.14-.25a1.67 1.67 0 0 1 .29-.56c.08-.13.21-.24 0-.45-.06-.05 0-.09 0-.13.34-.23.28-.58.3-.91 0-.06.08-.1.1-.15s.6-.2.29-.54v-.09c.39 0 .21-.28.38-.4s0-.12 0-.23-.1-.32.17-.33c.07 0 .09 0 .08-.07a.45.45 0 0 1 .21-.39c.15-.1.37-.15.33-.35s-.09-.48 0-.63 0-.17.1-.17c.37 0 .36-.3.56-.44a1.22 1.22 0 0 0 .27-.36c.09-.12-.06-.42.28-.34a1.38 1.38 0 0 1 .5-.66c.28-.25.47-.58.75-.83.07-.07.21-.05.22-.17a.33.33 0 0 1 .08-.19c0-.12 0-.18.1-.14s.39 0 .4-.14v-.12a.82.82 0 0 1 .45-.51 1.07 1.07 0 0 0 .52-.63c.07-.16.2-.23.46-.1s.28.12.34 0a1 1 0 0 1 .19-.26c.32-.25.54-.71 1.06-.6.1 0 .23.07.16-.28 0-.09.06 0 .1 0h.22a2.85 2.85 0 0 1 .72-.11.89.89 0 0 0 1-.5c.06-.12.15-.19.28-.09s.3 0 .45-.07 0-.11.08-.1a1.24 1.24 0 0 0 1-.07.11.11 0 0 1 .13 0c.19.18.29-.27.49.12.17-.18.38.1.52-.29 0-.08.08 0 .13 0a.67.67 0 0 0 .84.09s.1-.1.14 0c.15.29.28 0 .43-.06s.15-.17.22-.16a2.45 2.45 0 0 1 .6.18c.14.06.27.16.44-.09 0-.07.09 0 .13 0 .29.3.61.22.95.16.06 0 .11.06.17.07s.3.53.57.18c0-.05.08 0 .1 0 .08.39.31.17.46.31s.13 0 .22-.08.3-.15.36.11c0 .06 0 .08.08.07a.39.39 0 0 1 .41.15c.13.13.22.33.41.26a.88.88 0 0 1 .63-.1c.06 0 .16 0 .18.07.08.39.35.32.53.48a1.18 1.18 0 0 0 .4.21c.13.06.41-.14.38.22a1.5 1.5 0 0 1 .74.38c.31.21.64.39.94.6.08.06.09.19.21.19a.28.28 0 0 1 .33.3c0 .16 0 .27.26.19s.16.09.14.25.35-.11.36 0 .1.44.28.51.3.37.47.54.27.46.47.64.46.13.39.42c-.12.46.42.42.44.77s.32.24.44.39a3.37 3.37 0 0 1 .43.76c0 .1-.06.26.09.29-.35.29-.18.31.12.28 0 0 .08 0 0 0-.32.29.1.22.21.3.28.2.11.59.26.84a1.14 1.14 0 0 0 .15.23c0 .06.15.09.16.16a2.35 2.35 0 0 0 .29.93s0 .06-.07.11c-.29.16-.12.19 0 .24s.25.16.19.29 0 .08.08.1c.27.09.42.22.25.39s.42.44.18.74c0 0 0 .06.08.09s0 0 .11.06c.28 0 .22.16.09.27s-.13.15 0 .21 0 .13 0 .2c-.07.3 0 .59-.09.89s.1.48.14.73.08.26-.17.37c-.07 0 0 .08 0 .13s.15.08.14.13a.63.63 0 0 1-.17.36c-.12.12.21.27.25.4a.08.08 0 0 1 0 .08c-.13.1 0 .22.12.35s.07.25-.06.36-.34.32-.29.52.09.3 0 .41a.44.44 0 0 0-.09.64.17.17 0 0 1 0 .18s0 .07-.09.06c-.51-.09-.58 0-.56.06l-.07.15a4.36 4.36 0 0 1 0 .51.29.29 0 0 1-.12.15c-.33.23-.31.22 0 .69a.21.21 0 0 1 0 .29c-.07.06-.2.09-.08.24s0 .05 0 .05c-.42 0-.36.17-.32.37s0 .1 0 .2 0 .18-.13.17-.22 0-.22 0c0 .22-.32.26-.19.56v.1a1.21 1.21 0 0 1-.38.12c-.14 0 .12.28-.11.25s-.17 0-.12.06c.2.31.1.43-.19.41s.15.41-.14.39-.4 0-.37.22a.76.76 0 0 1-.32.77 1 1 0 0 0-.38.71c0 .18-.13.29-.41.21s-.31-.06-.34 0a.87.87 0 0 1-.14.29c-.27.29-.36.84-.9.82-.11 0-.24 0-.1.31 0 .08-.06 0-.09 0a.8.8 0 0 0-.23 0 1.86 1.86 0 0 1-.66.28.84.84 0 0 0-.82.69c0 .13-.11.23-.25.16s-.29.1-.44.16 0 .11 0 .11a1.15 1.15 0 0 0-1 .29.09.09 0 0 1-.13 0c-.22-.13-.22.32-.51 0-.12.21-.39 0-.44.39 0 .09-.08 0-.13 0a.68.68 0 0 0-.84.08s-.08.12-.14 0c-.21-.25-.28 0-.4.15s-.11.22-.18.22a2.69 2.69 0 0 1-.63-.06c-.15 0-.3-.1-.41.17 0 .08-.07.08-.12 0a1 1 0 0 0-1 0h-.18c-.06 0-.41-.47-.6 0 0 .06-.07.06-.1 0-.17-.36-.35-.1-.52-.21s-.13 0-.2.12-.26.22-.37 0c0-.06-.06-.07-.09-.05a.39.39 0 0 1-.44 0c-.15-.1-.29-.28-.46-.17s-.4.27-.58.23-.15.07-.2 0c-.16-.34-.41-.23-.62-.35a1.25 1.25 0 0 0-.43-.12c-.14 0-.37.22-.43-.13a1.29 1.29 0 0 1-.79-.21c-.34-.17-.73-.22-1.06-.38-.09 0-.13-.17-.24-.14a.27.27 0 0 1-.38-.24c0-.16-.12-.23-.31-.11s-.18-.05-.19-.21-.31.17-.36 0-.18-.41-.37-.45-.4-.27-.59-.41-.35-.41-.58-.54-.49 0-.48-.31c0-.48-.49-.34-.59-.68s-.38-.14-.52-.27a3.05 3.05 0 0 1-.58-.66c0-.08 0-.25-.16-.25.27-.35.11-.34-.18-.24h-.05c.25-.35-.14-.19-.27-.25-.29-.15-.22-.55-.43-.76a1.21 1.21 0 0 0-.2-.19s-.16-.06-.18-.12a1.91 1.91 0 0 0-.5-.84v-.13c.25-.22.09-.21 0-.25s-.26-.1-.23-.24 0-.08-.1-.09c-.29 0-.44-.12-.34-.32.19-.35-.5-.34-.33-.68l-.1-.07a.17.17 0 0 0-.12 0c-.28 0-.24-.1-.13-.24s.09-.18 0-.21 0-.13 0-.2c0-.31-.17-.57-.1-.9s-.18-.45-.3-.67-.13-.24.09-.41c.06 0 0-.08 0-.12s-.16 0-.16-.1a.65.65 0 0 1 .09-.39c.1-.15-.25-.22-.33-.34s0 0 0-.08 0-.22-.2-.32-.12-.23 0-.35.27-.39.19-.58-.16-.27-.07-.4z\\\"/><g clip-path=\\\"url(#a)\\\"><circle cx=\\\"58.27\\\" cy=\\\"89.67\\\" r=\\\"11.34\\\"/><path d=\\\"M47.8 89.78c-.15.15.2.28.11.43a.53.53 0 0 0-.06.1.68.68 0 0 0-.05.23c0 .24.36.44.2.7v.11c0 .04.3.33 0 .6.35.06.17.24.31.35s.06.2.08.31.21.16 0 .32.3.13.29.24c0 .18.09.29.17.42s.18.1.21.17-.07.19.12.17 0 .2.07.23 0 .06.09 0 .15 0 .1.13-.61.48-.29.52c.13 0 .33 0 .07.24.26-.1.34-.09.11.12.39-.13.19.13.28.2s0 .15-.05.27 0 .12.07.13.42 0 .44.19 0 .2.18.2.28-.09 0 .21c0 .06 0 0 0 0s.14 0 .13.08a.56.56 0 0 0 .24.5c.08 0 .11.12.18.17s.09 0 .13 0 .48-.18.36.13c0 .08 0 .09.11 0s.19 0 .19 0 0 .18.16.16.19 0 .14.22 0 .11 0 .12a2.43 2.43 0 0 1 .35.2s0 .19.1.21a1.73 1.73 0 0 0 .51 0c.06 0 .1 0 0 .26s0 .31.19.15.38-.2.37.1.12.35.39.07.34-.34.35-.14 0 .06.07 0 .11 0 .08.22 0 .29.13.23.34-.23.39 0c0 .08.07.06.14-.07s.17-.17.21-.11a.6.6 0 0 0 .25.27.3.3 0 0 0 .34 0c.13-.11.21 0 .3.06s.16 0 .19.15c.07.39.23.25.38.13s0 0 .07 0a3 3 0 0 0 .54.2s.06-.07.09-.1v.19c.13-.19.26-.55.37-.14.08-.2.15.14.22.08s.24.17.34-.29c0-.1 0-.1.08-.05s.14.11.19-.1.06 0 .1.22 0-.2.05-.12c.1.44.15.24.2.14s0-.08.07 0c.13.35.22.2.32.15s.11-.39.26.13c0 .09 0 0 .07 0s.13-.16.24 0 .09 0 .1 0c0-.31.16-.12.27 0s.09.1.09 0c0-.31 0-.29.15-.15s.18-.24.38 0v-.11c-.06-.4 0-.43.11-.12s.12.14.13 0 .09-.34.23-.23.31.28.21-.24c0-.13.06 0 .1 0s.13.08.13 0 .13-.1.29 0 .18 0 .17-.14 0-.38.13-.3.17 0 .25 0a1.87 1.87 0 0 1 .25 0 .36.36 0 0 0 .29-.2h.1c.34.36.32.12.33 0s0-.17.12-.09.09 0 .12 0 0-.27.18-.18.18-.08.17-.25 0-.32.28-.13c.07.05.06 0 0-.1s.18 0 .16-.1a1 1 0 0 1 0-.33h.09c.26.11.2-.16.36-.17s0-.11-.07-.2-.06-.17.06-.11.1 0 .15 0 .34 0 .11-.33.12 0 .13-.1.06-.11.18-.08c.47.1.47.09.43-.23v-.13c0-.02-.42-.46-.36-.55s-.05-.15.31 0 .28 0 .26 0c-.14-.41.27-.45.45-.67 0 0 .14-.07.21-.11s0-.13-.1-.26-.14-.27 0-.32a.49.49 0 0 0 .4-.38c0-.18.11-.33.41-.41s.11-.16-.07-.31 0-.22.42-.15.2-.1.2-.1v-.15c0-.05-.51-.27-.44-.35s.28-.16.46-.27-.13-.31 0-.44l.08-.09a.5.5 0 0 0 .1-.21c0-.24-.24-.5 0-.72v-.12c-.13-.21-.24-.39.14-.58-.34-.14-.12-.28-.23-.41s0-.21 0-.32-.14-.21 0-.33-.26-.18-.24-.29c.08-.17 0-.3-.07-.45s-.14-.14-.17-.21.11-.18-.08-.2.09-.18 0-.23 0-.06-.08-.06-.14-.07-.08-.15.72-.34.41-.45c-.12 0-.32 0 0-.24-.28 0-.36 0-.09-.13-.4 0-.16-.17-.22-.26s0-.15.12-.26 0-.12 0-.14-.41-.12-.4-.28 0-.2-.13-.23-.28 0 0-.21c.06 0 0 0 0 0s-.14 0-.12-.11a.52.52 0 0 0-.14-.52c-.07-.06-.07-.15-.12-.22s-.1 0-.13 0-.51.08-.33-.2c0-.07 0-.09-.1 0s-.2 0-.19-.09 0-.19-.11-.19.01-.2.1-.4 0-.1 0-.12a2 2 0 0 1-.31-.27v-.23a1.24 1.24 0 0 0-.48-.16c-.07 0-.09-.07 0-.26s0-.3-.16-.18-.39.09-.32-.19-.06-.37-.38-.15-.41.28-.37.07c0 0 0-.06-.07 0s-.09 0 0-.24 0-.29-.07-.25-.39.16-.39-.11c0-.07-.05-.06-.15 0s-.2.13-.22.06a.55.55 0 0 0-.18-.33.33.33 0 0 0-.35 0c-.15.07-.21 0-.29-.12s-.15 0-.14-.2c0-.39-.17-.3-.35-.2a.09.09 0 0 1-.08 0 3.94 3.94 0 0 0-.48-.31s-.07.05-.11.07v-.2c-.18.17-.38.49-.39.07-.13.18-.12-.16-.21-.12s-.19-.24-.39.2c0 .09-.07.08-.09 0s-.11-.13-.2.06-.06 0 0-.23v-.07s-.08.18-.08.1c0-.45-.09-.26-.17-.18s-.05.08-.06 0c-.06-.37-.18-.25-.28-.22s-.2.36-.24-.18c0-.1 0 0-.07 0s-.16.14-.24 0-.07-.07-.1 0c-.1.3-.18.08-.27-.06s-.06-.11-.08 0c-.06.31-.12.28-.18.12s-.23.21-.37-.11v.11c0 .4-.06.42-.13.09s-.09-.16-.12-.07-.16.3-.27.17-.24-.34-.26.19c0 .13-.06 0-.1 0s-.1-.1-.13 0-.15.08-.27-.11-.17-.11-.2.08-.09.38-.19.27-.17 0-.25 0a.78.78 0 0 1-.26 0 .33.33 0 0 0-.33.12l-.08-.06c-.25-.42-.28-.18-.33 0s0 .17-.13.07-.09 0-.13 0-.07.25-.22.13-.19 0-.22.21-.06.32-.3.07c0-.06-.06 0 0 .1s-.18-.08-.18 0a1.26 1.26 0 0 1-.05.32h-.08c-.24-.15-.23.12-.39.11s0 .11 0 .2 0 .19-.09.11-.1 0-.15 0-.32-.09-.18.29-.12 0-.14.07-.08.1-.19 0c-.41-.18-.45-.19-.48.08s0 .24-.15.21l-.47.18s-.08-.06-.15-.14 0 .17.06.35.2.44 0 .37c0 0-.06 0 0 .07s0 .09-.23 0-.28-.09-.26 0 .08.4-.18.35c-.08 0-.08 0 0 .16s.1.22 0 .23a.58.58 0 0 0-.34.13.3.3 0 0 0-.09.33c0 .16-.06.2-.16.26s0 .16-.21.12c-.39-.09-.33.11-.27.3v.08a3.79 3.79 0 0 0-.38.42s0 .08.06.13c-.07 0-.22-.06-.2 0 .13.2.41.45 0 .39.15.15-.19.09-.15.19s-.26.15.14.42c.08 0 .07.08 0 .09s-.15.08 0 .21 0 .06-.24 0h-.07s.17.11.09.09c-.44-.08-.29 0-.21.14s.07.06 0 .06c-.36 0-.26.14-.25.24s.31.25-.23.2c-.09 0 0 0 0 .07s.1.18-.09.23-.08 0 0 .1c.29.15.06.2-.08.26s-.12 0 0 .08c.29.11.25.16.08.2s.15.26-.19.34l.1.06c.39.08.41.12.08.14s-.17.06-.09.11.29.2.13.29-.38.18.13.29c.13 0 0 .06 0 .09s-.11.1 0 .14h-2.45v-.1c.21-.12-.21-.27.21-.38-.15-.16.18-.29-.2-.46-.08 0 0-.07 0-.1A.53.53 0 0 0 46 88s-.09-.09 0-.12c.3-.07.09-.21 0-.35s-.16-.15-.14-.21a1.33 1.33 0 0 1 .26-.46c.08-.1.2-.19 0-.37-.06 0 0-.08 0-.11.33-.18.26-.47.26-.75 0 0 .07-.08.09-.12s.57-.13.25-.44V85c.38 0 .19-.23.35-.32s0-.1 0-.2-.12-.28.14-.26c.07 0 .08 0 .08-.05a.31.31 0 0 1 .17-.33c.14-.07.34-.1.29-.28s-.13-.42 0-.54 0-.15.09-.14c.35 0 .32-.23.48-.34s.16-.19.23-.29-.09-.39.24-.28c0-.27.23-.4.4-.55s.38-.48.61-.69c0 0 .18 0 .18-.13a.26.26 0 0 1 .06-.18c-.05-.1-.05-.16.07-.11s.35.07.35-.09v-.11a.61.61 0 0 1 .36-.44.78.78 0 0 0 .41-.54c.05-.15.16-.21.39-.06s.25.13.3.05a.8.8 0 0 1 .08-.32c.26-.2.42-.64.87-.49.09 0 .2.08.12-.27 0-.08.05 0 .08 0a.47.47 0 0 0 .2 0 1.65 1.65 0 0 1 .59-.06.65.65 0 0 0 .78-.44c0-.12.12-.19.23-.08s.25 0 .38 0 0-.11.06-.09a.86.86 0 0 0 .84 0h.11c.16.19.23-.26.41.13.13-.17.31.12.42-.27 0-.08.07 0 .11 0a.48.48 0 0 0 .68.1s.09-.1.13 0c.12.29.23 0 .34-.06s.13-.17.19-.16a1.81 1.81 0 0 1 .49.18c.12.06.22.16.36-.1 0-.07.08-.06.11 0 .23.3.5.2.78.14.05 0 .09.05.14.06s.23.52.47.17c0-.06.07 0 .08 0 0 .39.25.16.37.29s.11 0 .19-.08.26-.17.29.09c0 .06 0 .07.06.06s.25 0 .34.13.17.31.33.23.4-.2.53-.13.15 0 .16 0c0 .37.27.29.41.43a.87.87 0 0 0 .33.17c.11 0 .37-.16.31.19a1 1 0 0 1 .61.3c.25.18.53.31.78.49.06 0 .06.17.17.16s.28 0 .27.25 0 .24.21.15.14.07.11.22.32-.13.32 0 .05.38.21.43.24.32.38.45.2.39.37.54.42.07.33.33c-.16.42.35.34.34.65s.29.18.39.3a2.25 2.25 0 0 1 .35.62c0 .08-.08.23.07.24-.36.28-.19.28.1.23 0 0 .07 0 0 0-.33.27.08.17.19.24s0 .49.19.69a1.27 1.27 0 0 0 .13.19s.14.07.15.12a1.45 1.45 0 0 0 .24.76s0 .06-.07.11c-.29.14-.13.15-.06.2s.23.12.17.22 0 .08.07.09c.27.06.41.16.24.31s.41.35.15.61c0 0 0 .05.08.07a.19.19 0 0 0 .11 0c.28 0 .22.12.08.22s-.13.13 0 .17 0 .11 0 .17c-.07.25 0 .49-.1.74s.09.39.13.59.09.22-.16.31c-.07 0 0 .07 0 .1s.15.08.14.11a.43.43 0 0 1-.16.3c-.13.1.21.23.25.34s0 0 0 .06 0 .18.13.29.08.21 0 .3-.33.26-.28.42.11.25 0 .34-.24.3-.06.53v.16c0 .05 0 .06-.09 0-.51-.09-.58 0-.55 0l-.07.12a3.09 3.09 0 0 1 0 .43c0 .05 0 .08-.11.11-.31.18-.29.17 0 .59.08.11.06.19 0 .24s-.19.06-.07.2c-.41 0-.34.12-.29.3s0 .08 0 .17.06.15-.1.13-.22 0-.22 0c0 .19-.28.2-.14.46 0 0 .06.09 0 .09a.86.86 0 0 1-.35.08c-.13 0 .14.26-.09.21h-.1c.21.28.12.38-.15.33s.17.38-.1.34-.36 0-.33.16a.56.56 0 0 1-.22.66.77.77 0 0 0-.3.61c0 .16-.09.25-.35.15s-.28-.07-.31 0a.67.67 0 0 1-.09.26c-.22.24-.26.74-.74.67-.1 0-.22 0-.07.28 0 .08 0 0-.07 0h-.2a1.5 1.5 0 0 1-.56.2c-.32 0-.6.12-.66.59 0 .13-.07.22-.21.14s-.24.08-.36.12 0 .11 0 .1a.82.82 0 0 0-.81.23.07.07 0 0 1-.11 0c-.19-.15-.17.3-.43 0-.09.2-.34-.07-.35.36 0 .08-.06 0-.11 0a.5.5 0 0 0-.7 0s-.06.12-.11 0c-.18-.25-.24 0-.33.13s-.08.21-.14.21a1.86 1.86 0 0 1-.52-.07c-.13 0-.25-.11-.34.16 0 .08-.06.07-.1 0-.29-.22-.53-.08-.79 0h-.15c-.05 0-.33-.48-.49-.06 0 .06-.06.06-.08 0-.14-.37-.29-.1-.43-.21s-.11 0-.16.12-.22.22-.3 0c0-.06 0-.07-.08 0a.29.29 0 0 1-.36 0c-.12-.1-.23-.27-.37-.16s-.34.28-.49.24-.13.08-.16 0c-.13-.33-.34-.21-.5-.32a.78.78 0 0 0-.36-.1c-.12 0-.32.23-.35-.11a.88.88 0 0 1-.65-.17c-.28-.14-.6-.17-.88-.3-.07 0-.09-.16-.19-.12s-.28 0-.31-.2-.08-.22-.25-.09-.15 0-.15-.19-.29.2-.32.07-.12-.38-.29-.39-.32-.23-.48-.34-.27-.35-.46-.46-.44 0-.4-.25c.06-.44-.42-.26-.47-.56s-.33-.1-.45-.21a2 2 0 0 1-.47-.54c0-.07 0-.23-.13-.21.29-.34.13-.31-.14-.2 0 0-.07 0 0 0 .27-.34-.12-.16-.23-.21s-.16-.47-.34-.63a.83.83 0 0 0-.17-.15s-.15 0-.16-.09a1.44 1.44 0 0 0-.41-.69v-.12c.25-.2.09-.18 0-.21s-.25-.06-.21-.18 0-.07-.08-.07c-.28 0-.43-.08-.31-.26s-.47-.25-.28-.55l-.09-.06a.29.29 0 0 0-.12 0c-.28 0-.24-.08-.12-.2s.1-.15 0-.18 0-.1 0-.16c0-.26-.14-.47-.06-.75s-.16-.37-.27-.55-.13-.19.1-.34c.07 0 0-.07 0-.1s-.16 0-.16-.07a.43.43 0 0 1 .1-.33c.1-.12-.25-.18-.32-.28v-.06c.1-.11 0-.18-.19-.26s-.12-.19 0-.3.27-.32.19-.47-.16-.23-.07-.34z\\\"/><circle cx=\\\"58.27\\\" cy=\\\"69.84\\\" r=\\\"3.84\\\"/><path d=\\\"M55.29 69.87c-.15 0 .19.08.09.12s-.05 0-.06 0-.07 0-.06.06.32.1.14.19.26 0-.09.18h.23c.11 0 0 .06 0 .09s.15 0 0 .1.24 0 .21 0 0 .08 0 .11.12 0 .13 0-.12.1.06 0-.11.09 0 .07 0 0 .07 0 .11 0 0 0-.66.41-.41.33.27-.11 0 .09c.25-.13.31-.16.06 0 .35-.19.11 0 .15 0s-.05.07-.13.16 0 .06 0 0 .3-.12.26-.05 0 .1.06.05.22-.15-.08.12.09 0 .06 0-.09.22 0 .22l.09-.06c.09 0 .35-.29.16 0 0 .07 0 .06.06 0s.12-.1.09 0 0 .12 0 .06.1-.06 0 .12 0 .07 0 .07h.11c.04 0 0 .13 0 .13a.85.85 0 0 0 .23-.12l-.06.19c-.06.19-.09.25 0 .06s.21-.27.12 0 0 .28.14 0 .23-.4.18-.22 0 0 0 .17-.06.26 0 .18.17-.29.13-.06c0 .06 0 0 .07-.1s.08-.2.08-.15v.22c0 .02 0 0 .1-.11s.07-.06.08 0 0-.06 0 .13c0 .37 0 .22.1.08a.93.93 0 0 0 .13.15v-.1.19c0-.19.08-.56.1-.16 0-.2 0 .14.06.07s.07.19.08-.27c0-.1 0-.1 0 0v-.09.11c0 .44 0 .24.06.14s0-.08 0 0c.06.35.08.21.1.17s0-.37.09.16c0 .09 0 0 0 0s0-.15.07 0 0 .06 0 0c0-.3 0-.09.08 0s0 .1 0 0v-.11c0 .16 0-.21.13.1v-.11c-.09-.38-.09-.41 0-.09s.07.16 0 .07 0-.3 0-.16.18.33 0-.17c0-.12 0 0 0 0s.06.1 0 0 0-.06.12.12.09.1 0-.07-.11-.33 0-.22.07 0 .1.06.05 0 .09 0 .07 0 .07-.06 0 0 .06.06c.27.4.19.2.14.07s-.06-.13 0 0-.09-.19 0-.07.07 0 0-.12-.12-.24.1 0c.06 0 0 0 0-.07s.12.09.06 0a1.14 1.14 0 0 1-.13-.23v.05c.2.16.07 0 .16 0s-.06-.08-.12-.15-.1-.13 0-.05.06 0 .1.05.23.14-.05-.15.07 0 0 0h.09c.35.22.37.22.22 0v-.06s-.47-.39-.46-.41-.1-.09.25.14.23.12.18.07c-.24-.24.07-.11.14-.16s.08 0 .13 0 0 0-.16-.14-.2-.15-.1-.13.25 0 .23 0 0-.09.28 0 .06 0-.14-.12-.09-.08.35 0 .18 0 .18 0-.54-.18-.49-.19a1.62 1.62 0 0 1 .4 0c.16 0-.17-.12-.07-.14h.14c-.01 0-.28-.16-.09-.21s-.25-.11.13-.16c-.32 0-.1-.07-.21-.11s0-.06 0-.09-.14 0 .06-.09-.24 0-.2-.06 0-.08 0-.12-.12 0-.13 0 .14-.07 0 0 .12-.07 0-.06 0 0-.07 0h-.05c.07 0 .74-.26.48-.23s-.28 0 0-.09c-.27.08-.34.09-.06 0-.38.11-.11 0-.14 0s.06-.06.17-.13.05-.05 0-.05-.32.07-.26 0 0-.08-.05-.06-.25.1.1-.11c.07 0 0 0 0 0h-.06c.04 0 .13-.19.05-.2s0 0 0-.07H60c-.1 0-.41.21-.17 0 .06-.05 0 0-.06 0s-.15.08-.1 0 .07-.11 0-.06-.1 0 0-.12 0-.06 0-.06h-.11c-.04 0 .07-.12 0-.13a1.07 1.07 0 0 0-.25.07l.1-.17c.1-.17.14-.23 0-.07s-.26.22-.12 0 .1-.26-.15 0-.31.34-.22.18 0 0 .06-.17.12-.24 0-.17-.23.25-.14 0c0-.06 0 0-.08.08s-.13.18-.12.13a.52.52 0 0 0 0-.22s-.06 0-.14.09-.07 0-.07 0-.06 0 0-.14c.1-.35 0-.22-.08-.1a1 1 0 0 0-.09-.18v.1a1 1 0 0 0 0-.18c-.09.18-.2.53-.14.13-.06.19 0-.14 0-.08s0-.2-.14.25c0 .09 0 .09 0 0s0-.12-.06.08 0 0 0-.22v-.07.18c.05-.44 0-.25 0-.16s0 .08 0 0c0-.35 0-.22-.06-.19s-.07.36-.06-.17c0-.1 0 0 0 0s0 .15-.06 0 0-.07 0 0c0 .31-.05.09-.08 0s0-.12 0 0v.11c0-.16-.06.19-.11-.13v.12c0 .09 0 .29-.06.15s-.1-.36-.05.16c0 .13 0 0 0 0s0-.11 0 0 0 .06-.09-.14-.07-.12-.05 0 0 .35 0 .23-.06-.06-.08-.07-.05 0-.08-.06-.07 0-.09 0v-.08c-.18-.45-.14-.23-.12-.09s0 .14 0 0 0 .21-.05.06-.07 0 0 .12.07.26-.1 0v.07c0 .07-.1-.12-.06 0l.08.25v-.05c-.15-.21-.06 0-.14 0s0 .1.08.18.07.15 0 0 0 0-.08-.08-.2-.18 0 .16-.06 0-.05 0 0 .05-.08 0c-.28-.28-.31-.29-.23-.11s.08.16 0 .09h-.11l-.15-.15a.79.79 0 0 0 .17.26c.16.2.29.36.14.24s0 0-.15-.09-.21-.15-.16-.08.21.27 0 .15 0 0 .06.09.15.16.11.14-.18-.08-.21-.06 0 0 .06.14 0 .08 0 .08 0 .06-.13 0c-.34-.17-.23 0-.12.06l-.19.07.09.06-.17-.07c.16.12.48.29.1.16.18.1-.14 0-.08 0s-.2 0 .22.18c.09 0 .08 0 0 0s-.11 0 .08.08 0 0-.22 0h-.07s.17.07.1 0c-.43-.13-.25 0-.16 0s.08 0 0 0c-.34-.08-.23 0-.2 0s.34.13-.18 0c-.09 0 0 0 0 0s.13.07-.05 0-.07 0 0 0c.3.08.08.06 0 .07s-.12 0 0 0c.3.07.27.07.1.07s.18.08-.14.08h.1c.39.06.42.07.08 0s-.16 0-.07 0 .29.07.13.09-.37 0 .15.08c.13 0 0 0 0 0s-.11 0 0 0h-2.24c.2 0-.22-.11.19-.15-.15-.06.18-.1-.2-.19-.08 0 0 0 0 0 .26-.07.3-.14.17-.25s-.09 0 0 0c.29 0 .07-.08 0-.15s-.17-.08-.16-.1a.43.43 0 0 1 .2-.17c.06 0 .16 0-.08-.16-.06 0 0-.05 0-.05.29 0 .17-.17.11-.3s0 0 .06 0 .51 0 .15-.16c.35.09.12-.07.24-.08s0 0-.09-.11-.17-.17.06-.1h.06c-.01 0 0-.12.07-.12s.26 0 .17-.08-.22-.27-.17-.31-.06-.09 0-.06c.3.11.19 0 .29-.07s.08-.07.1-.11-.18-.26.1-.1c-.05-.15 0-.19.13-.24s.14-.2.22-.29.12 0 .09 0a.17.17 0 0 1 0-.11c-.06-.09-.08-.14 0-.07s.26.17.21 0 0-.07 0-.08c-.05-.17 0-.23.09-.24s.13-.12.1-.32 0-.13.21 0 .18.18.18.13a.34.34 0 0 1 0-.16c.09-.1.07-.46.34-.22.06.05.12.12 0-.21 0-.08 0 0 0 0a.38.38 0 0 0 .11.07.51.51 0 0 1 .28.06c.16.09.27.12.28-.27 0-.1 0-.16.09 0s.11 0 .16 0 0-.09 0-.07c.16.17.27.2.36.06s.08-.24.18.16c0-.16.14.16.16-.24 0-.08 0 0 0 0 .11.25.19.27.28.12s0-.1 0 0c.05.29.09 0 .13 0s.06-.19.08-.18a.6.6 0 0 1 .2.17s.08.15.15-.11c0-.07 0-.06 0 0 .08.28.19.15.32.07s0 0 .05 0 0 .5.18.11c0 .36.09.11.12.23s0 0 .09-.11.15-.2.11 0c0 .06 0 .07 0 0s.11 0 .13.06 0 .26.11.15.23-.27.28-.23.08-.07.06 0c0 .32.08.19.12.29s.08 0 .12.07.24-.23.12.08c.14-.07.2 0 .26.09a2 2 0 0 0 .32.17s0 .12.06.08.16 0 .09.12-.06.17.09 0 .08 0 0 .13.25-.19.22-.1-.09.27 0 .25.08.14.14.19 0 .2.11.24.3-.08.15.11.18.1.08.29.19 0 .24.06a.33.33 0 0 1 .13.25s-.12.13 0 .1c-.38.23-.24.19 0 .09 0 0 .07 0 0 0-.36.21 0 .07.1.08s-.06.23 0 .29l.09.06h.11a.24.24 0 0 0 .1.3l-.08.06c-.3.1-.15.08-.09.09s.21 0 .13.07 0 0 .06 0c.25 0 .37 0 .19.11s.37.1.1.23h.17c.28 0 .21 0 .06.09s-.14.06-.06.07 0 0 0 .07 0 .21-.12.31.07.16.12.24.1.09-.14.12c-.08 0 0 0 0 0h.14a.19.19 0 0 1-.15.12c-.12 0 .21.1.26.15s0 .07.15.13.1.1 0 .13-.31.08-.24.15.13.13 0 .15-.2.1 0 .23c.06 0 0 0 0 .08s0 0-.07 0c-.51-.12-.57-.11-.53-.07h-.05a.64.64 0 0 1 .08.2h-.07c-.26 0-.24 0 .1.28.09.07.09.1 0 .12s-.16 0 0 .08c-.38-.12-.27 0-.19.08s0 0 .07.1.08.1-.06 0-.2-.07-.19 0-.19 0 0 .22c0 0 .07.06 0 .06a1.12 1.12 0 0 1-.27 0c-.12 0 .18.18 0 .09s-.14-.06-.08 0c.25.22.2.25 0 .15s.26.28 0 .18-.29-.11-.21 0 .12.32 0 .36-.11.13 0 .32 0 .15-.2 0-.22-.13-.21-.08 0 .13 0 .16 0 .47-.28.29c-.07 0-.15-.09 0 .2 0 .07 0 0 0 0h-.12A.44.44 0 0 1 61 74c-.18 0-.3-.06-.22.32 0 .11 0 .17-.08.07s-.1 0-.15 0 0 .09 0 .08c-.2-.15-.31-.14-.37 0s0 .25-.21-.12c0 .17-.16-.12-.1.27 0 .08 0 0 0 0-.17-.22-.25-.22-.31-.06s0 .1 0 0c-.11-.27-.1 0-.12.08s0 .19 0 .19a.5.5 0 0 1-.23-.13s-.11-.13-.12.14c0 .07 0 .06 0 0-.14-.25-.22-.11-.32 0s0 0-.06 0-.15-.48-.2-.07c0 .06 0 .06 0 0-.05-.36-.11-.09-.16-.19s0 0-.07.12-.1.23-.12 0c0 0 0-.06 0 0s-.1 0-.14 0-.07-.25-.14-.12-.16.31-.22.28-.06.09-.06 0c0-.32-.12-.16-.18-.25s-.09 0-.14 0-.17.26-.13-.06c-.12.11-.19 0-.27 0s-.24-.05-.35-.1 0-.11-.07-.06-.15.08-.12-.1 0-.17-.1 0-.08 0 0-.12-.2.24-.19.14 0-.28-.05-.25-.12-.11-.18-.14-.07-.2-.15-.22-.29.15-.18-.07-.19-.07-.14-.27-.19 0-.25 0a.34.34 0 0 1-.17-.22s.08-.16 0-.1c.32-.31.19-.24-.05-.08 0 0-.06 0 0 0 .3-.29 0-.06-.12-.06s0-.24-.09-.28a.29.29 0 0 0-.1 0h-.11s0-.23-.16-.27 0 0 .07-.08c.27-.16.12-.11.06-.11h-.2c-.25.07-.36.06-.21-.06s-.39 0-.15-.21h-.18c-.27.06-.21 0-.08-.08s.13-.09 0-.08 0 0 0-.08-.07-.19.06-.32-.1-.14-.18-.21-.12-.07.12-.16c.07 0 0 0 0 0h-.15c.01 0 0-.09.12-.15s-.22 0-.29-.09 0-.07-.17-.1-.12-.08 0-.12.28-.15.2-.21-.15-.09-.05-.14z\\\"/></g><path d=\\\"M83.68 84h62a4.4 4.4 0 0 0 4.4-4.41V34.4a4.4 4.4 0 0 0-4.44-4.4l-52.19.38a4.41 4.41 0 0 0-4.37 4.41v34.38a3.7 3.7 0 0 1-1 2.49l-6.65 7.28A3 3 0 0 0 83.68 84z\\\" fill=\\\"#8e9e2e\\\"/><path d=\\\"M84.07 83.11c.51.15 1-.19 1.53-.09l.37.06a7.41 7.41 0 0 0 .8.07A9.37 9.37 0 0 1 89.3 83a1.09 1.09 0 0 0 .44 0 2.93 2.93 0 0 1 2.08.11.11.11 0 0 0 .11 0c.49-.33 1-.1 1.48-.21a4.58 4.58 0 0 1 1.17 0c.39 0 .8-.14 1.17.07s.78-.23 1.16-.19h.19a7.68 7.68 0 0 0 1.66 0c.29 0 .6-.12.89-.12s.55.15.8 0 .57.13.85 0c.1 0 .21 0 .3-.07s.4-.11.61 0c.36.14.44.78 1.13.52.28-.1.58-.28.85.07 0 0 .1.06.12 0 .19-.27.38-.34.57 0 .38-.39.78-.1 1.16-.12a1.3 1.3 0 0 1 .67.2.7.7 0 0 0 .55 0 3.49 3.49 0 0 1 1.48-.24 2 2 0 0 0 1 0c.2-.06.4-.26.59.14 0 .08.12 0 .18 0a.55.55 0 0 1 .54 0 5.53 5.53 0 0 0 1.85.15h.87c.1 0 .2-.08.3-.1.42-.1.84-.46 1.27-.14a.28.28 0 0 0 .36 0 .59.59 0 0 1 .66-.1 1.29 1.29 0 0 0 .8 0 1 1 0 0 1 .92.1.57.57 0 0 0 .36.06h1.45c.25 0 .49.13.74.12.55 0 1.1-.14 1.65-.22a.62.62 0 0 1 .6.2.56.56 0 0 0 .85 0A1 1 0 0 1 125 83a1.12 1.12 0 0 0 1.4-.11c.32-.26.63-.46 1-.28a.2.2 0 0 0 .24 0c.22-.19.41 0 .6.18a.62.62 0 0 0 .72.17 1.68 1.68 0 0 1 1.4-.1.36.36 0 0 0 .42-.12.51.51 0 0 1 .6-.16 6.82 6.82 0 0 0 1.17.2 3.11 3.11 0 0 0 1.17-.14 2.57 2.57 0 0 1 1.17 0c.26 0 .54-.06.78.13a1.49 1.49 0 0 0 1.47.07.51.51 0 0 1 .24 0l2 .13a.71.71 0 0 0 .3-.1c.08.07.15.22.22.19.43-.2.86-.56 1.31-.16.28-.2.56.13.83.06s.85.19 1.26-.27a.23.23 0 0 1 .3 0 .58.58 0 0 0 .73-.1c.12-.1.23 0 .32.23v.07s.19-.19.24-.11c.22.44.46.25.7.15s.14-.09.19 0c.28.35.58.17.83.06s.26-.48.7-.11c.08.07.11-.06.16-.1s.29-.36.57-.38a.19.19 0 0 0 .18-.23c0-.39.24-.43.49-.59.08 0 .19-.11.12-.21-.19-.29-.12-.4.1-.51.38-.26 0-.67.29-1 0 0 0-.11-.1-.15-.4-.16-.42-.32-.08-.5s.16-.25.07-.41a1.09 1.09 0 0 1-.14-1c.15-.33.38-.68-.15-1-.13-.08 0-.24 0-.36s.11-.33 0-.48c-.21-.32-.06-.62.15-.92a.62.62 0 0 0 0-.78 1 1 0 0 1-.22-.9 2.25 2.25 0 0 0 .09-.85c0-.3 0-.6.08-.9a5.07 5.07 0 0 0 0-1.29.24.24 0 0 1 .08-.24c.49-.35.27-.71.13-1.08a.55.55 0 0 1 0-.54.64.64 0 0 0 0-.43c0-.31-.21-.59 0-.92a1.16 1.16 0 0 0-.1-1 .93.93 0 0 1 .07-1.1c.08-.08 0-.2-.07-.3s.15-.44 0-.67a4 4 0 0 1-.26-.73c0-.06 0-.12.08-.18.25-.47 0-.94.11-1.41 0-.1-.1-.2-.19-.3a.32.32 0 0 1 0-.48c.1-.14.06-.29.1-.42.12-.39.26-.78-.13-1.16v-.12c.17-.2.06-.4 0-.61a1 1 0 0 1 .08-.67c.41-.83.42-.83.19-1.64a1.28 1.28 0 0 1-.06-.43c0-.41-.61-.44-.61-.85 0-.2-.14-.35.28-.52s.25-.46.18-.66a8.12 8.12 0 0 1 0-3 4.58 4.58 0 0 1 .13-.74.88.88 0 0 0-.21-.67 1.15 1.15 0 0 1-.15-1 5.66 5.66 0 0 0 .2-1.91 4.28 4.28 0 0 1 .24-2 1 1 0 0 0-.17-1c-.27-.38-.11-.77.35-1a.38.38 0 0 0 .17-.52c.08-.13 0-.35 0-.5s-.57-.46-.52-.84a6.21 6.21 0 0 1 .38-1.3c.15-.52-.19-1-.09-1.54 0-.12.05-.24.06-.37a5.29 5.29 0 0 0 .07-.8c0-.42-.09-.84-.14-1.26a4.14 4.14 0 0 1 0-1.17.67.67 0 0 0-.08-.33 3.47 3.47 0 0 1-.6-1.53l-.08-.05c-.48-.07-.62-.46-1-.57s-.53-.25-.82-.34-.59 0-.87-.18-.77.23-1.15.19a1.21 1.21 0 0 1-.19 0 7.09 7.09 0 0 0-1.66 0c-.29 0-.6.12-.89.12s-.55-.14-.79 0-.57-.13-.85 0c-.11 0-.22 0-.31.07s-.4.11-.6 0c-.37-.13-.45-.77-1.14-.51-.28.1-.57.29-.85-.07h-.12c-.19.27-.38.34-.57 0-.38.4-.77.1-1.16.13a1.42 1.42 0 0 1-.67-.19.7.7 0 0 0-.55 0 3.66 3.66 0 0 1-1.48.25 2.12 2.12 0 0 0-1 0c-.2.07-.4.27-.59-.13 0-.07-.12 0-.18 0a.55.55 0 0 1-.54 0 5.27 5.27 0 0 0-1.85-.14h-.87c-.1 0-.19.08-.29.1-.43.1-.84.46-1.28.15a.27.27 0 0 0-.36.06.62.62 0 0 1-.66.1 1.19 1.19 0 0 0-.79 0 1 1 0 0 1-.93-.1.57.57 0 0 0-.36-.06c-.49.05-1 0-1.45.06-.24 0-.49-.14-.73-.12-.56.05-1.11.14-1.66.23a.62.62 0 0 1-.6-.19.56.56 0 0 0-.85 0 1.06 1.06 0 0 1-1.32.08 1.11 1.11 0 0 0-1.4.11c-.31.26-.62.47-1 .29a.2.2 0 0 0-.25 0c-.21.19-.41 0-.6-.17a.61.61 0 0 0-.72-.17 1.72 1.72 0 0 1-1.4.11.36.36 0 0 0-.42.12.51.51 0 0 1-.6.17 6 6 0 0 0-1.17-.19 3.33 3.33 0 0 0-1.17.14 2.4 2.4 0 0 1-1.16 0c-.26 0-.54.06-.79-.12a1.47 1.47 0 0 0-1.46-.06.69.69 0 0 1-.24.05l-2-.13a1 1 0 0 0-.31.11c-.07-.07-.15-.22-.22-.19-.43.2-.85.57-1.3.17-.28.21-.57-.13-.84-.06s-.85-.18-1.26.28a.23.23 0 0 1-.3.05.57.57 0 0 0-.72.1c-.12.1-.23 0-.33-.22v-.08.06c-.07 0-.19.19-.23.11-.23-.44-.47-.24-.7-.14s-.18.08-.24 0c-.37-.35-.73-.21-1.1-.18s-.61.37-.9-.16c-.06-.09-.17 0-.22 0-.24 0-.43.18-.69.06a.19.19 0 0 0-.27.11c-.14.37-.42.25-.71.27-.09 0-.22 0-.21.12 0 .36-.1.4-.34.41-.46 0-.3.59-.73.7-.06 0-.05.1 0 .17.29.3.27.38-.09.38s-.23.14-.18.27a.79.79 0 0 1 0 .8.88.88 0 0 0-.11.44.56.56 0 0 0 .33.51c.13.09 0 .24 0 .36s-.11.34 0 .49c.21.32.06.62-.15.91a.62.62 0 0 0 0 .78 1 1 0 0 1 .22.91 2.2 2.2 0 0 0-.09.84c0 .3 0 .6-.08.91a5 5 0 0 0 0 1.28.23.23 0 0 1-.08.24c-.49.36-.27.72-.13 1.08a.57.57 0 0 1 0 .55.63.63 0 0 0 0 .43c0 .3.21.59 0 .91a1.18 1.18 0 0 0 .1 1 .92.92 0 0 1-.07 1.09c-.08.09 0 .21.07.3s-.15.44 0 .67a4.26 4.26 0 0 1 .26.73c0 .06 0 .12-.08.18-.25.47 0 .95-.11 1.42 0 .09.1.2.19.29a.33.33 0 0 1 0 .49c-.1.14-.06.28-.1.42-.12.39-.26.77.13 1.15v.12c-.17.2-.06.41 0 .61a1.07 1.07 0 0 1-.08.68c-.39.79-.42.82-.22 1.53a1 1 0 0 1 0 .9l-.11.87c0 .08-.09.08-.21.07a1.25 1.25 0 0 0 .31.69c.26.32.46.63.28 1a.19.19 0 0 0 0 .24c.2.22 0 .42-.17.6a.62.62 0 0 0-.17.72 1.74 1.74 0 0 1 .1 1.41.36.36 0 0 0 .12.42.52.52 0 0 1 .16.6 5.31 5.31 0 0 0-.2 1.17 3.35 3.35 0 0 0 .13 1.17 2.28 2.28 0 0 1 0 1.16c0 .26.06.54-.12.79a1.44 1.44 0 0 0-.07 1.46 1.23 1.23 0 0 1 0 .33 4.93 4.93 0 0 1-1 2.42 1.9 1.9 0 0 0-.17.38c-.11 0-.29 0-.31.07-.14.45-.16 1-.76 1.08 0 .34-.48.32-.61.57s-.72.5-.65 1.11a.23.23 0 0 1-.17.25.59.59 0 0 0-.42.6c0 .16-.15.18-.38.09v-.07.06s0 .27-.08.25c-.48-.13-.5.17-.58.42 0 .08-.06.18-.16.19-.5 0-.65.38-.87.68s-.15.7-.73.55c-.11 0-.11.12-.16.18-.18.23-.28.52-.61.62a.28.28 0 0 0-.22.29.51.51 0 0 1-.19.44c-.09.07-.24.09-.35.16s-.18.08-.11.17c.22.27.13.34-.05.46s-.15.27-.11.41a.48.48 0 0 1 0 .46s0 .09.13.1c.4 0 .46 0 .18.29s-.06.23.06.28c.31.08.48.16.55.41s.24.59.61.17c.08-.1.12 0 .19.08s.19.14.29 0c0 .81 0 1.63.1 2.45a.86.86 0 0 1-.42 0 2.66 2.66 0 0 0-.79-.17.82.82 0 0 1-.67-.46c-.65-.15-.87-.81-1.52-1a.48.48 0 0 1-.22-.37 12.29 12.29 0 0 1-.42-2.73c0-.16 0-.37.1-.49.41-.38.38-.84.57-1.31a3 3 0 0 1 .3-.64 13.2 13.2 0 0 1 1.12-1c.27-.22.58-.42.62-.85a.32.32 0 0 1 .19-.25 5 5 0 0 0 1.6-1.71 1.78 1.78 0 0 1 .32-.29c.34-.35 1-.39 1.05-1a.18.18 0 0 1 .17-.18c.55-.06.64-.57 1-.82a.6.6 0 0 0 .23-.45c0-.39.26-.61.55-.6a.15.15 0 0 0 .14-.11A2.35 2.35 0 0 1 88 70a.92.92 0 0 0 .22-.87 3.63 3.63 0 0 1-.31-1.34c0-.17-.1-.34 0-.49.32-.55.14-1.11.21-1.67a6.86 6.86 0 0 0 0-1.11c0-.37-.3-.73 0-1.1a8.71 8.71 0 0 1-.06-2v-2.77a2.23 2.23 0 0 0 0-.68 1.58 1.58 0 0 1-.1-.47.27.27 0 0 1 0-.39 1 1 0 0 0 .18-1L88 56a.38.38 0 0 1-.08-.24 4.62 4.62 0 0 1-.14-1.65 5.39 5.39 0 0 0-.19-1.91 1.12 1.12 0 0 1 .15-1 .87.87 0 0 0 .2-.68 4.66 4.66 0 0 1-.13-.73 8.18 8.18 0 0 1 0-3 .46.46 0 0 0-.19-.66c-.08 0 0-.15 0-.23a2.68 2.68 0 0 0 .11-.49c0-.57.06-1.14.15-1.71a4.39 4.39 0 0 0-.16-2.58.82.82 0 0 1 0-.73c.21-.37 0-.73 0-1.1 0-.08-.09-.16-.07-.24a6.06 6.06 0 0 0 .13-2.47.52.52 0 0 1 0-.3c.2-.38-.22-.78.19-1.16a.78.78 0 0 1 0-.34v-.41a1.6 1.6 0 0 0-.06-.86c0-.13 0-.27.12-.38.56-.83.93-1.39 1.41-2.12.09-.13.17-.29.33-.32.51-.07.7-.47 1-.78.18-.15.34-.38.57-.44a4.32 4.32 0 0 1 1.88-.21 1.31 1.31 0 0 0 1.06-.13.34.34 0 0 1 .31 0 5 5 0 0 0 2.35 0 1.5 1.5 0 0 1 .42 0c.49 0 1 .48 1.47.07a.18.18 0 0 1 .25 0c.42.35.86.08 1.29.18a.56.56 0 0 0 .48-.14.66.66 0 0 1 .91 0 .3.3 0 0 0 .24 0 2.55 2.55 0 0 1 1.1 0 2.24 2.24 0 0 0 1.17.09 3.86 3.86 0 0 1 1.34-.32c.17 0 .34-.1.49 0 .56.31 1.11.13 1.67.2a8.22 8.22 0 0 0 1.11 0c.37 0 .73-.31 1.1 0a8.72 8.72 0 0 1 2-.08c.93 0 1.85 0 2.77-.06a2.23 2.23 0 0 0 .68 0 1.38 1.38 0 0 1 1.11 0 .73.73 0 0 0 .79 0c.23-.17.45-.05.67.08s.46-.32.72-.23a2.77 2.77 0 0 0 1.35.18 13.36 13.36 0 0 1 1.79 0c.66 0 1.3.1 2 .07.48 0 1-.3 1.42-.07.74.36 1.48-.09 2.22.09.46.11.94-.15 1.41-.18a19.46 19.46 0 0 1 2.16 0c.25 0 .49.16.74 0 .25.44.5.29.75 0 0 0 .09-.07.12 0 .31.41.61 0 .91-.07a15.6 15.6 0 0 1 2.16.08l.67-.07a2.22 2.22 0 0 1 .5-.1 10.61 10.61 0 0 0 2.39 0c.09 0 .19 0 .24.09.18.32.37.17.55.11a1.29 1.29 0 0 1 .9-.05.3.3 0 0 0 .3-.05 1 1 0 0 1 1.07-.17c.62.32 1.22-.35 1.84-.07.08 0 .16 0 .24-.07a.4.4 0 0 0 .18-.1c.22-.28.44-.2.67 0a.61.61 0 0 0 .54.07 1 1 0 0 1 .63.08 5 5 0 0 1 2.53 1.16 16.09 16.09 0 0 1 1.61 1.59 1.39 1.39 0 0 1 .37 1.14.65.65 0 0 0 .12.37c.06.12.22.21.23.34a2.9 2.9 0 0 1 0 1.18c-.12.32.22.61.28.91a.31.31 0 0 1 0 .19.89.89 0 0 0 .17.8.86.86 0 0 1 0 .85 2.55 2.55 0 0 0-.21 1.35 2 2 0 0 1 0 1 2.1 2.1 0 0 0 .07 1.54.9.9 0 0 1 .05.43c0 .06 0 .15-.07.17-.53.14-.58.37-.53.55v.39q.09.61.15 1.23a1.29 1.29 0 0 1-.07.43c-.23.81-.21.81.2 1.64a1 1 0 0 1 .07.67c0 .21-.14.41 0 .61a.11.11 0 0 1 0 .13c-.4.38-.25.76-.14 1.15.05.13 0 .28.11.42a.33.33 0 0 1 0 .48c-.09.1-.21.2-.19.3.09.47-.15.94.11 1.41 0 .06.09.12.07.18a3.43 3.43 0 0 1-.26.74c-.11.22.25.44 0 .67s-.14.21-.06.29a.83.83 0 0 1 .06 1.1c-.24.36.37.6.13 1a1.11 1.11 0 0 0-.18 1 4.29 4.29 0 0 1 .25 2 5.41 5.41 0 0 0 .19 1.91 1.12 1.12 0 0 1-.15 1 .87.87 0 0 0-.2.67 4.58 4.58 0 0 1 .13.74 8.12 8.12 0 0 1 0 3 .46.46 0 0 0 .19.66c.08.06 0 .15 0 .23a2.88 2.88 0 0 0-.11.49c0 .57-.06 1.14-.15 1.71a4.42 4.42 0 0 0 .16 2.59.8.8 0 0 1 0 .72c-.21.37 0 .74-.05 1.1 0 .08.09.17.07.25a6 6 0 0 0-.13 2.46.55.55 0 0 1 0 .31c-.2.38.22.78-.19 1.15.16.45-.17.9.22 1.34.08.09 0 .21 0 .31a3.64 3.64 0 0 0-.22 1c0 .41 0 .82-.09 1.25 0 .16 0 .34-.12.44-.41.32-.38.76-.53 1.19a1.89 1.89 0 0 1-.27.67 4.52 4.52 0 0 1-1.53 1.11 2.9 2.9 0 0 0-1.17.65.47.47 0 0 1-.38.12h-1.46a11.63 11.63 0 0 0-1.17.13 2.18 2.18 0 0 1-.43 0c-.49 0-1-.49-1.47-.08a.17.17 0 0 1-.24 0c-.42-.36-.86-.08-1.29-.19a.58.58 0 0 0-.49.13.64.64 0 0 1-.9 0 .27.27 0 0 0-.24 0 2.72 2.72 0 0 1-1.1 0 2.15 2.15 0 0 0-1.17-.1 3.63 3.63 0 0 1-1.34.31c-.17 0-.34.1-.5 0-.55-.31-1.11-.14-1.66-.2a7 7 0 0 0-1.12 0c-.36 0-.73.3-1.09 0a9.29 9.29 0 0 1-2 .06h-2.78a2.16 2.16 0 0 0-.67 0 1.39 1.39 0 0 1-1.11 0 .73.73 0 0 0-.8 0c-.23.16-.44 0-.67-.09s-.46.31-.72.22a2.75 2.75 0 0 0-1.35-.19 13.22 13.22 0 0 1-1.78 0c-.66 0-1.3-.11-2-.08-.48 0-1 .29-1.42.06-.74-.37-1.48.08-2.22-.11-.47-.12-.94.15-1.41.17a19.64 19.64 0 0 1-2.17 0c-.24 0-.48-.17-.73 0-.25-.44-.5-.3-.75 0 0 0-.1.07-.12 0-.31-.41-.61 0-.91.07a17.26 17.26 0 0 1-2.16-.1c-.23 0-.45 0-.68.07a2.81 2.81 0 0 1-.49.09 10.7 10.7 0 0 0-2.4 0 .22.22 0 0 1-.24-.09c-.17-.32-.36-.17-.54-.11a1.36 1.36 0 0 1-.79.11.32.32 0 0 0-.31 0 1 1 0 0 1-1.06.17c-.62-.33-1.23.35-1.85.06-.07 0-.16 0-.24.07a.3.3 0 0 0-.18.1c-.22.27-.43.19-.66 0a.52.52 0 0 0-.49-.07c-.17.09-.33 0-.49 0-.72-.09-1.43 0-2.15-.14a5.49 5.49 0 0 0-1.76.12 1.15 1.15 0 0 1-.93-.14c-.09-.08-.2 0-.3 0s-.2.15-.3.15a3.61 3.61 0 0 1-.91-.15c-.32-.12-.61.21-.92.27a.31.31 0 0 1-.19 0 .87.87 0 0 0-.79.17.9.9 0 0 1-.86 0 2.53 2.53 0 0 0-1.34-.21 2.37 2.37 0 0 1-1 0z\\\"/><path d=\\\"M138.88 72.91c-.33-.22-.75 0-1.07-.17l-.22-.13c-.18-.07-.32-.18-.5-.23a3.51 3.51 0 0 1-1.62-.54.48.48 0 0 0-.27-.09A1.31 1.31 0 0 1 134 71h-.07c-.45.13-.62-.24-.95-.31a1.9 1.9 0 0 1-.67-.4c-.22-.15-.53-.17-.62-.49s-.55-.1-.74-.29l-.1-.07a3.38 3.38 0 0 0-.89-.66c-.16-.11-.39-.17-.54-.29s-.19-.35-.43-.32-.2-.35-.41-.41-.09-.12-.19-.09c-.25.06-.29-.1-.34-.25s.33-.77-.18-.91c-.2-.06-.48-.08-.34-.46 0 0 0-.08-.05-.07-.29.1-.42 0-.28-.25-.47.07-.42-.33-.6-.53a.72.72 0 0 1-.13-.48c0-.16-.09-.23-.2-.31-.29-.2-.66-.38-.76-.72a1 1 0 0 0-.35-.57c-.12-.09-.36-.14-.06-.43.06 0 0-.09 0-.11s-.2-.18-.21-.31a3.16 3.16 0 0 0-.32-1.24 4.59 4.59 0 0 1-.18-.56c0-.06-.11-.1-.15-.16-.16-.25-.59-.45-.35-.82.07-.09 0-.18-.09-.23s-.22-.27-.18-.43a.62.62 0 0 0-.06-.55.5.5 0 0 1 0-.65.26.26 0 0 0 0-.25 6.51 6.51 0 0 1-.09-1c0-.17.13-.33.12-.5 0-.37-.1-.75-.15-1.14 0-.14 0-.28.24-.39s.31-.33.1-.56a.54.54 0 0 1 .1-.9c.36-.26.4-.55.12-.95s-.31-.56-.07-.73a.13.13 0 0 0 0-.17c-.13-.2.07-.28.3-.33s.35-.21.34-.41c0-.36-.05-.73.31-.93.1-.06.11-.18 0-.32a.3.3 0 0 1 .06-.45 4 4 0 0 0 .62-.62 2.19 2.19 0 0 0 .41-.77 1.21 1.21 0 0 1 .59-.67c.16-.12.27-.35.54-.33.53.05.73-.27 1-.59a.46.46 0 0 1 .17-.14 4.08 4.08 0 0 1 1.82-.21c.09 0 .19-.06.29-.07.06.08.1.24.16.22a1.79 1.79 0 0 1 .67-.12.49.49 0 0 1 .5.39.37.37 0 0 1 .33.18c.05.12.09.24.19.29.32.15.36.57.94.48.13 0 .17.06.18.16s.14.36.42.4.11.14 0 .33h-.07.06c.07 0 .25 0 .2.09-.26.38 0 .42.15.53s.12.08.09.15c-.2.41 0 .58.18.81s.5.28.07.65c-.08.07 0 .11.05.16s.26.34.15.58a.18.18 0 0 0 .12.24c.34.14.17.41.09.65 0 .08-.09.17 0 .2.33.09.32.25.19.43s.26.55 0 .87c0 0 0 .09.12.11.4.08.43.19.11.33s-.15.19 0 .28.31.46.15.7-.38.46.14.71c.13.06 0 .16 0 .24s-.12.22 0 .33 0 .43-.21.61-.17.33 0 .53.3.47.15.65-.15.36-.21.55a3.42 3.42 0 0 1-.2.59 3.07 3.07 0 0 0-.18.85.15.15 0 0 1-.13.14c-.54.1-.4.38-.34.66s.07.28-.09.36-.09.17-.12.26.05.45-.2.59-.22.41-.18.68.05.58-.37.65c-.1 0-.08.11 0 .2.12.24-.27.2-.24.39a2.15 2.15 0 0 1 0 .57s-.08 0-.12.07c-.36.16-.37.54-.63.76-.06 0 0 .17 0 .28s0 .28-.16.3-.17.12-.26.17c-.24.16-.52.26-.4.71h-.07c-.23 0-.24.17-.31.3a.55.55 0 0 1-.38.3c-.67.14-.68.11-1 .64a.63.63 0 0 1-.19.24c-.24.16.15.67-.08.86s-.11.28-.45 0-.42 0-.5.1a3.32 3.32 0 0 1-1.78 1 1.78 1.78 0 0 1-.48.11c-.15 0-.24.16-.29.37a.55.55 0 0 1-.54.45 2.72 2.72 0 0 0-1.24.36 1.92 1.92 0 0 1-1.33.28c-.24 0-.43.12-.57.38s-.49.26-.76-.14-.38-.07-.38-.07-.24 0-.32.11-.21.62-.49.62a3.3 3.3 0 0 1-1-.27c-.36-.13-.7.21-1.06.13l-.26-.08a3.33 3.33 0 0 0-.55-.1 3.48 3.48 0 0 1-1.73-.14.51.51 0 0 0-.3 0c-.49 0-1 0-1.32-.52h-.08c-.42.2-.67-.11-1-.14a2.47 2.47 0 0 1-.73-.31c-.23-.11-.55-.09-.68-.4s-.56 0-.77-.18A1.05 1.05 0 0 1 111 70a4.83 4.83 0 0 0-1-.53 4.76 4.76 0 0 1-.57-.19c-.16-.09-.24-.32-.48-.24s-.32-.4-.56-.46-.13-.14-.24-.12-.32-.15-.38-.32.36-.76-.16-1c-.19-.09-.46-.17-.28-.53v-.07c-.31.05-.44 0-.24-.31-.47 0-.37-.4-.51-.62a.7.7 0 0 1 0-.5.33.33 0 0 0-.15-.33c-.26-.24-.57-.47-.62-.8a1 1 0 0 0-.27-.59c-.11-.1-.35-.16 0-.42.06 0 0-.09 0-.1s-.17-.19-.17-.33a2.69 2.69 0 0 0-.25-1.2 2.57 2.57 0 0 1-.16-.54c0-.06-.12-.1-.16-.16-.17-.24-.6-.4-.36-.76.05-.1 0-.18-.11-.22a.3.3 0 0 1-.21-.4.58.58 0 0 0-.1-.51.48.48 0 0 1 0-.62.26.26 0 0 0 0-.24c-.11-.31-.15-.62-.23-.93 0-.15.07-.34 0-.49a11.09 11.09 0 0 0-.4-1c0-.13 0-.26.14-.42s.21-.4 0-.55a.52.52 0 0 1-.16-.86c.26-.34.21-.64-.18-.91s-.5-.39-.32-.63a.1.1 0 0 0 0-.16c-.2-.14 0-.28.16-.41s.24-.32.15-.48-.33-.63-.1-.94c.07-.09 0-.2-.1-.29s-.2-.27-.15-.41a3.32 3.32 0 0 0 .26-.79 1.87 1.87 0 0 0 0-.81A1.14 1.14 0 0 1 103 47c.07-.18 0-.39.24-.52.42-.25.39-.61.35-1a.31.31 0 0 1 0-.19 9 9 0 0 1 .78-1.32v-.26h.26c0-.38 0-.94.57-.91 0-.32.44-.22.61-.39s.69-.19.88-.74a.21.21 0 0 1 .25-.14.5.5 0 0 0 .63-.21c.1-.12.22 0 .31.18v.08-.06s.15-.19.19-.12c.21.45.38.25.59.16s.15-.08.2 0c.27.4.57.31.88.37s.65-.13.63.44c0 .1.11.07.17.1s.49.13.55.42a.21.21 0 0 0 .24.17c.41 0 .45.3.48.57 0 .09 0 .2.13.19.35-.05.42.11.36.34-.11.42.5.47.32.89 0 0 .05.08.15.07.41 0 .48.06.22.3s-.1.23 0 .3.44.37.36.65-.25.55.32.66c.14 0 0 .17 0 .25s-.07.25 0 .34.14.41 0 .64-.09.36.1.52.4.39.28.59 0 .39 0 .58a3.14 3.14 0 0 1 0 .61 2.26 2.26 0 0 0 0 .86.13.13 0 0 1-.09.16c-.49.23-.27.47-.14.71s.14.25 0 .37-.06.18 0 .28.19.4 0 .6-.08.45 0 .68.22.51-.13.72c-.08 0 0 .13 0 .2s-.18.27-.08.43a1.8 1.8 0 0 1 .2.51s-.06.08-.09.11c-.3.27-.1.62-.26.91 0 .06.08.15.16.22s.13.24 0 .33-.1.17-.15.25-.36.45 0 .78v.07c0 .07-.11.25-.11.39a.49.49 0 0 1-.17.42c-.5.42-.54.43-.46.93a.47.47 0 0 1-.11.59l-.26.52c0 .05-.11 0-.21 0a.71.71 0 0 0 .15.52c.18.29.3.55.06.71a.1.1 0 0 0 0 .16c.13.2-.07.27-.3.32s-.36.2-.33.39c0 .35.06.72-.28.92-.1.06-.11.17 0 .31a.3.3 0 0 1 0 .45 3.17 3.17 0 0 0-.58.64 2 2 0 0 0-.38.8 1.33 1.33 0 0 1-.63.74c-.21.14-.34.39-.57.32-.5-.11-.66.2-.84.52a.32.32 0 0 1-.1.13c-.39.23-.82.41-1.21.63-.06 0-.08.13-.12.2-.07 0-.2-.13-.22-.08-.14.31-.22.77-.68.57-.07.27-.39.07-.52.21s-.59.09-.64.63a.12.12 0 0 1-.16.12c-.21-.05-.34 0-.41.3s-.14.07-.29-.12v-.08.08c0 .06 0 .23-.1.16-.32-.34-.39-.1-.5.05s-.08.13-.14.08c-.36-.24-.54 0-.77.08s-.26.49-.62 0c-.06-.08-.1 0-.15.05s-.32.26-.56.15-.18 0-.22.1c-.13.35-.4.2-.64.12-.07 0-.16-.07-.19 0-.07.33-.22.33-.4.2-.34-.23-.53.31-.87 0 0 0-.08 0-.09.12 0 .41-.15.46-.32.14s-.19-.14-.28 0-.43.36-.69.22-.49-.33-.69.21c-.06.13-.17 0-.26 0s-.24-.11-.36 0v-2.45a.13.13 0 0 1 .14 0c.21.21.43-.23.67.17.24-.18.55.13.77-.3 0-.09.12 0 .18 0a1.25 1.25 0 0 0 1.05-.09c.07 0 .13-.12.22-.05.27.24.42 0 .6-.2s.16-.23.27-.25a8.51 8.51 0 0 1 .9-.11c.22 0 .45 0 .56-.31a.14.14 0 0 1 .17-.09 1.71 1.71 0 0 0 1.32-.51c.07 0 .17 0 .25-.06.27-.11.75.17.84-.33 0-.07.06-.09.14 0 .39.2.49-.18.77-.22.11 0 .18-.11.2-.26s.2-.37.48-.27a.13.13 0 0 0 .15 0 .94.94 0 0 1 .58-.36c.24-.05.53-.07.64-.32a1.66 1.66 0 0 1 .49-.74c.08-.05.11-.2.2-.16.37.1.45-.26.67-.45a1.9 1.9 0 0 0 .35-.52c.1-.19-.06-.5.32-.55a4 4 0 0 1 .45-1.14 10.75 10.75 0 0 0 .54-1.6c0-.13.18-.24.15-.39a.82.82 0 0 1 0-.31c-.08-.09-.1-.18 0-.24s.4-.31.33-.53a.16.16 0 0 1 0-.16 1.88 1.88 0 0 1 .1-1 2 2 0 0 0 0-1.19.51.51 0 0 1 .26-.61c.19-.1.29-.22.27-.37a2.59 2.59 0 0 1 0-.47c.06-.61-.21-1.25.19-1.82.08-.12.18-.26-.15-.42-.08 0 0-.09 0-.14a1.85 1.85 0 0 0 .13-.29 9.75 9.75 0 0 1 .21-1 1.64 1.64 0 0 0-.15-1.57c-.11-.15-.16-.3 0-.44s0-.45 0-.67c0-.05-.1-.09-.08-.14a1.89 1.89 0 0 0-.05-1.46.19.19 0 0 1 0-.18c.17-.27-.31-.4 0-.7-.21-.22 0-.57-.42-.68-.09 0 0-.1 0-.17a1 1 0 0 0-.33-1c-.06 0-.15-.07-.1-.17.15-.32-.17-.32-.35-.38s-.24 0-.29-.06a2.14 2.14 0 0 1-.19-.26l-.21-.25c-.09-.14-.22-.25-.43-.07s-.09 0-.12 0c-.24-.34-.7-.23-1-.08h-.18c-.06 0-.23-.09-.35-.11s-.25 0-.23.24c0 .07 0 .08-.09 0-.36-.21-.35.15-.55.22s-.12.11-.06.25 0 .35-.28.35q-.09 0-.09.09a.92.92 0 0 1-.28.52c-.15.16-.4.31-.33.57a1.6 1.6 0 0 1 .09.82c0 .09.06.21 0 .28-.39.24-.25.62-.37.93a2.46 2.46 0 0 0-.08.67c0 .22.27.46-.06.66a4.37 4.37 0 0 1 0 1.25 12 12 0 0 0 .1 1.7c0 .14-.07.29 0 .42a.6.6 0 0 1 0 .69c-.11.18-.13.35.08.49s.07.27 0 .42.35.24.28.42a1.06 1.06 0 0 0 0 .85 7 7 0 0 1 .19 1.1c.09.41 0 .82.17 1.22s.42.51.27.85c-.24.54.32.86.28 1.36 0 .31.31.51.42.78a9.53 9.53 0 0 1 .44 1.27c0 .14 0 .34.13.43-.35.31-.16.41.16.44h.06c-.3.34.15.34.28.48.33.33.25.85.52 1.2a2.51 2.51 0 0 0 .26.31c.06.08.19.11.23.19a2.22 2.22 0 0 0 .81 1s.08.06 0 .16c-.15.3 0 .26.14.25s.27 0 .38.15a.15.15 0 0 0 .19.05c.32-.1.56-.07.65.19.17.48.82.1 1 .51 0 .05.1 0 .16 0a.31.31 0 0 0 .15 0c.24-.18.32-.06.37.14s.12.22.24.2.17.09.25.15a9.07 9.07 0 0 1 1.13.64c.28.23.68.17 1 .23.18 0 .37 0 .48.28 0 .08.11 0 .17 0s.15-.12.2-.1a1.66 1.66 0 0 1 .49.26c.16.15.38-.15.56-.18a.1.1 0 0 1 .1 0c.13.14.3 0 .45-.13s.31-.09.47 0a.76.76 0 0 0 .73.21.93.93 0 0 1 .54-.09.63.63 0 0 0 .82-.2.39.39 0 0 1 .22-.09s.08 0 .11.05c.2.49.35.52.44.45h.23l.65-.35a.45.45 0 0 1 .26 0c.54 0 .54 0 .84-.55a.42.42 0 0 1 .34-.23c.13 0 .29 0 .33-.19 0 0 0-.07.06 0 .38.26.53 0 .7-.19.06-.07.16-.07.19-.21s.12-.19.29-.1.2.13.25.09c.22-.22.6-.15.75-.52 0 0 0-.11.07-.11a1.29 1.29 0 0 1 .48 0c.18 0 .1-.35.32-.23s.18 0 .18 0c0-.39.19-.47.52-.39s0-.52.37-.46.48 0 .54-.24a1.46 1.46 0 0 1 .28-.54 1.91 1.91 0 0 1 .37-.43 1.69 1.69 0 0 0 .59-1 .43.43 0 0 1 .47-.4c.2 0 .35-.07.39-.21a1.5 1.5 0 0 1 .15-.42c.25-.54.24-1.18.79-1.55.11-.08.25-.18 0-.44-.06-.06 0-.08.07-.11s.17-.14.21-.23l.5-.89a1.53 1.53 0 0 0 .27-1.52c-.07-.17-.08-.32.07-.43s.12-.42.18-.63c0 0-.08-.11 0-.15a2.18 2.18 0 0 0 .3-1.44.23.23 0 0 1 0-.18c.21-.22-.22-.47.2-.69-.16-.26.19-.54-.21-.79-.09 0 0-.12 0-.18a1.27 1.27 0 0 0 0-1.21c0-.07-.13-.14 0-.22.24-.25 0-.41-.17-.58s-.21-.17-.23-.28a7.71 7.71 0 0 1-.09-.84c0-.2 0-.45-.3-.51a.11.11 0 0 1-.1-.14 1.15 1.15 0 0 0-.59-1.08c-.06 0 0-.14-.09-.2-.1-.24 0-.72-.44-.59-.07 0-.1 0-.09-.09a.3.3 0 0 0-.12-.36c-.09 0-.18-.05-.24-.14s-.13 0-.23 0-.22.19-.31-.09c0 0-.05-.06-.08 0a.5.5 0 0 1-.42 0c-.17 0-.42-.12-.52.1a1.75 1.75 0 0 1-.36.62c-.07.05-.07.16-.19.16-.42 0-.51.32-.75.51a1.71 1.71 0 0 0-.37.51c-.12.18 0 .5-.35.53a4.38 4.38 0 0 1-.47 1.09 8.37 8.37 0 0 0-.51 1.56c0 .13-.16.24-.12.38a.57.57 0 0 1-.18.64c-.16.13-.23.28-.07.47s0 .27-.14.38.27.31.17.45a1 1 0 0 0-.25.79 7.65 7.65 0 0 1 0 1.07 9.29 9.29 0 0 0 0 1.18c.06.28.36.52.19.83-.29.51.26.84.2 1.31 0 .3.31.5.42.75a12.1 12.1 0 0 1 .5 1.17c.05.14 0 .34.16.41-.31.34-.1.41.21.39h.06c-.26.37.2.3.35.41.35.26.38.77.69 1.08l.32.26c.09.06.22.08.27.16a3.24 3.24 0 0 0 1 1 .12.12 0 0 1 0 .17c-.14.31.05.27.17.3s.36.07.44.24.08.1.17.08c.33 0 .56 0 .61.29.1.5.8.18.93.64 0 .06.1 0 .16 0a.28.28 0 0 0 .15 0c.27-.15.33 0 .36.19s.08.24.2.23.16.11.23.18c.32.31.74.47 1 .81s.66.31 1 .41c.18.06.37.09.43.39 0 .09.1.07.16.07s.18-.08.23 0a1.66 1.66 0 0 1 .44.36c.13.19.42-.05.6 0a.11.11 0 0 1 .1.06c.11.16.3.09.49 0s.34 0 .46.16a.81.81 0 0 0 .66.4c.18 0 .37-.07.52.06-.16.62-.36 1.37-.59 2.13z\\\" fill=\\\"#fff\\\"/><rect x=\\\"89.53\\\" y=\\\"95.76\\\" width=\\\"150.63\\\" height=\\\"20.62\\\" rx=\\\"4\\\" fill=\\\"#a2bcf4\\\"/><path d=\\\"M235.61 117.24c-.74-.15-1.46.19-2.2.09-.18 0-.35 0-.53-.06a11.09 11.09 0 0 0-1.15-.07 21 21 0 0 1-3.63.12 1.86 1.86 0 0 0-.62 0 5.84 5.84 0 0 1-3-.12.23.23 0 0 0-.16 0 7.21 7.21 0 0 1-2.11.21 11.91 11.91 0 0 1-1.69 0 4.73 4.73 0 0 1-1.68-.07c-.59-.24-1.11.23-1.66.18h-.27a15.89 15.89 0 0 0-2.39 0c-.41 0-.85.12-1.27.12s-.79-.15-1.14 0-.82-.13-1.22 0c-.15 0-.31 0-.44.06a.93.93 0 0 1-.87 0c-.52-.13-.63-.77-1.63-.51-.39.1-.82.28-1.22-.08a.14.14 0 0 0-.17 0c-.27.28-.54.35-.81.05-.55.39-1.11.09-1.67.11a2.53 2.53 0 0 1-1-.19 1.38 1.38 0 0 0-.78 0 7.34 7.34 0 0 1-2.12.23 4.38 4.38 0 0 0-1.4 0c-.29.07-.58.27-.85-.14 0-.07-.17 0-.25 0a1.11 1.11 0 0 1-.78 0 11.22 11.22 0 0 0-2.65-.16h-1.24a3.34 3.34 0 0 0-.43.1c-.61.1-1.2.45-1.83.14a.54.54 0 0 0-.52 0 1.16 1.16 0 0 1-.94.1 2.44 2.44 0 0 0-1.14 0 2 2 0 0 1-1.33-.1 1.11 1.11 0 0 0-.51-.07h-2.09c-.35 0-.7-.14-1.05-.12-.79 0-1.58.13-2.37.22a1.17 1.17 0 0 1-.87-.2 1 1 0 0 0-1.21 0 2 2 0 0 1-1.9.06 2.15 2.15 0 0 0-2 .11 1.61 1.61 0 0 1-1.39.28.36.36 0 0 0-.35 0c-.31.19-.59 0-.86-.18a1.17 1.17 0 0 0-1-.17 3.45 3.45 0 0 1-2 .1.66.66 0 0 0-.6.12 1 1 0 0 1-.87.16 10.69 10.69 0 0 0-1.68-.2 6.69 6.69 0 0 0-1.67.13 4.69 4.69 0 0 1-1.67 0 3 3 0 0 1-1.13-.12 2.88 2.88 0 0 0-2.1-.07 1.32 1.32 0 0 1-.34 0l-2.91-.14a1.67 1.67 0 0 0-.44.11c-.1-.07-.21-.22-.31-.19-.62.19-1.23.56-1.87.16-.41.2-.81-.13-1.2-.07-.6.1-1.22-.19-1.81.28a.47.47 0 0 1-.43 0 1.13 1.13 0 0 0-1 .09c-.17.11-.33 0-.46-.22v-.08.06c-.12 0-.28.19-.34.11-.33-.44-.67-.25-1-.15a.41.41 0 0 1-.34 0 2.19 2.19 0 0 0-1.58-.19c-.42 0-.87.36-1.29-.17-.07-.09-.23 0-.34 0a2.48 2.48 0 0 1-1.24 0 .56.56 0 0 0-.52 0c-.48.3-.93.09-1.39 0-.14 0-.31-.12-.42 0a.72.72 0 0 1-.94.1c-.6-.29-1.22.2-1.82-.13a.23.23 0 0 0-.26.11c-.23.4-.45.42-.71.09s-.36-.17-.58-.08a2.17 2.17 0 0 1-1.48.14c-.48-.15-1-.38-1.47.15-.12.13-.34 0-.51 0s-.48-.11-.7 0a1.46 1.46 0 0 1-1.31-.15 1.23 1.23 0 0 0-1.12 0 1.89 1.89 0 0 1-1.3.22 4.49 4.49 0 0 0-1.21-.09c-.43 0-.86 0-1.3-.08a10.28 10.28 0 0 0-1.84 0 .44.44 0 0 1-.35-.08c-.5-.49-1-.27-1.54-.13a1.13 1.13 0 0 1-.79 0 1.26 1.26 0 0 0-.61 0 2.89 2.89 0 0 1-1.31 0 2.33 2.33 0 0 0-1.47.1 1.83 1.83 0 0 1-1.58-.07.39.39 0 0 0-.42.07c-.33.22-.64-.15-1 0a8 8 0 0 1-1 .26.5.5 0 0 1-.26-.08 9.23 9.23 0 0 0-2-.11c-.14 0-.29.1-.42.19a.62.62 0 0 1-.7 0 2.15 2.15 0 0 0-.6-.1 1.89 1.89 0 0 0-1.65.13h-.18a1.24 1.24 0 0 0-.87 0 2.13 2.13 0 0 1-1-.08 3 3 0 0 0-2.35-.19 2.56 2.56 0 0 1-.62.06c-.59 0-.62.61-1.21.61-.3 0-.5.14-.75-.28s-.66-.25-1-.18a16.19 16.19 0 0 1-4.23 0 9.3 9.3 0 0 1-1.06-.13 1.67 1.67 0 0 0-1 .21 1.83 1.83 0 0 1-.92.16 2.76 2.76 0 0 1-1-.27 7.33 7.33 0 0 1-2.75-2.33 4.15 4.15 0 0 1-.72-1.7 3.62 3.62 0 0 1 .11-1.68 2 2 0 0 0-.18-1.39 1.08 1.08 0 0 1 .35-1.42c.34-.25.17-.75.17-.75a1.48 1.48 0 0 0 0-.72c0-.24-.56-.67-.52-1.21a13.34 13.34 0 0 1 .38-1.86c.16-.75-.18-1.47-.09-2.21 0-.17 0-.35.07-.53a11.07 11.07 0 0 0 .06-1.15v-.91a4.59 4.59 0 0 1 0-1.11 3.53 3.53 0 0 1 1-2c.19-.17.33-.39.51-.57a3.82 3.82 0 0 1 1.55-.73 2.78 2.78 0 0 1 1.84-.07.19.19 0 0 0 .16 0 7.21 7.21 0 0 1 2.11-.21 10.6 10.6 0 0 1 1.69 0 4.51 4.51 0 0 1 1.68.07c.59.23 1.11-.24 1.67-.19h.26a14.67 14.67 0 0 0 2.39 0c.41 0 .86-.12 1.27-.12s.79.16 1.14 0 .82.13 1.22 0c.15 0 .31 0 .44-.06a.93.93 0 0 1 .87 0c.52.13.63.77 1.63.52.39-.1.82-.29 1.22.07a.14.14 0 0 0 .17 0c.27-.28.54-.35.81 0 .55-.4 1.11-.1 1.67-.12a2.54 2.54 0 0 1 1 .2 1.42 1.42 0 0 0 .79 0 7 7 0 0 1 2.12-.24 4.32 4.32 0 0 0 1.39 0c.29-.07.58-.27.85.14 0 .07.17 0 .25 0a1.1 1.1 0 0 1 .78 0 11.24 11.24 0 0 0 2.65.15h1.24a2.07 2.07 0 0 0 .43-.1c.61-.09 1.21-.45 1.83-.14a.54.54 0 0 0 .52 0 1.18 1.18 0 0 1 1-.09 2.58 2.58 0 0 0 1.14 0 2 2 0 0 1 1.32.1 1.13 1.13 0 0 0 .52.07h2.08c.35 0 .7.14 1 .12.79 0 1.58-.13 2.37-.22a1.17 1.17 0 0 1 .87.2 1 1 0 0 0 1.21 0 2.06 2.06 0 0 1 1.9-.06 2.12 2.12 0 0 0 2-.11 1.58 1.58 0 0 1 1.39-.27.43.43 0 0 0 .35 0c.31-.19.59 0 .86.17a1.14 1.14 0 0 0 1 .17 3.48 3.48 0 0 1 2-.1.69.69 0 0 0 .6-.11 1 1 0 0 1 .86-.17 10.69 10.69 0 0 0 1.68.2 6.36 6.36 0 0 0 1.68-.13 4.63 4.63 0 0 1 1.66 0 3 3 0 0 1 1.13.12 2.88 2.88 0 0 0 2.1.07 2 2 0 0 1 .35 0l2.9.14a1.67 1.67 0 0 0 .44-.11c.11.07.22.23.31.2.62-.2 1.23-.57 1.87-.17.41-.2.81.14 1.2.07.61-.1 1.23.19 1.81-.27a.42.42 0 0 1 .43 0 1.13 1.13 0 0 0 1-.1c.17-.1.33 0 .46.22v.08-.06c.12 0 .28-.19.34-.11.33.44.67.25 1 .15.11 0 .25-.08.34 0a2.24 2.24 0 0 0 1.58.18c.42 0 .88-.36 1.29.17.07.1.23 0 .34 0a2.48 2.48 0 0 1 1.24 0 .59.59 0 0 0 .53 0c.47-.3.92-.09 1.38 0 .14 0 .31.11.42 0a.73.73 0 0 1 .94-.11c.6.3 1.22-.19 1.83.13.07 0 .19 0 .25-.11.23-.39.45-.42.71-.08s.37.16.58.07a2.17 2.17 0 0 1 1.48-.14c.48.15 1 .38 1.47-.15.12-.13.34 0 .51 0s.48.11.7 0a1.48 1.48 0 0 1 1.31.15 1.17 1.17 0 0 0 1.12 0 1.9 1.9 0 0 1 1.3-.22 4.49 4.49 0 0 0 1.21.09c.43 0 .86 0 1.3.08a9.43 9.43 0 0 0 1.84 0 .44.44 0 0 1 .35.08c.5.49 1 .27 1.54.13a1.08 1.08 0 0 1 .79 0 1.39 1.39 0 0 0 .61 0 2.89 2.89 0 0 1 1.31 0 2.43 2.43 0 0 0 1.48-.09 1.77 1.77 0 0 1 1.57.06.39.39 0 0 0 .42-.07c.33-.21.64.15 1 0a5.75 5.75 0 0 1 1.05-.26c.09 0 .18 0 .26.07a9.23 9.23 0 0 0 2 .11c.14 0 .29-.1.43-.19a.6.6 0 0 1 .69 0 2.15 2.15 0 0 0 .6.1 1.89 1.89 0 0 0 1.65-.13.19.19 0 0 1 .18 0 1.24 1.24 0 0 0 .87 0 2.26 2.26 0 0 1 1 .08 3 3 0 0 0 2.21.22 1.94 1.94 0 0 1 1.28 0l1.25.11c.12 0 .11.1.1.21a2.2 2.2 0 0 0 1-.31 1.58 1.58 0 0 1 1.39-.27.43.43 0 0 0 .35 0c.31-.19.59 0 .86.17a1.15 1.15 0 0 0 1 .17 3.45 3.45 0 0 1 2-.1.69.69 0 0 0 .6-.11 1 1 0 0 1 .86-.17 10.69 10.69 0 0 0 1.68.2 6.32 6.32 0 0 0 1.68-.13 4.63 4.63 0 0 1 1.66 0 3 3 0 0 1 1.13.12 2.88 2.88 0 0 0 2.1.07 2.09 2.09 0 0 1 .35 0l1.45.07c.51 0 .91 0 1.58.1a3.64 3.64 0 0 0 .57 0c.11.1.21.28.33.29a2.13 2.13 0 0 1 2.16.51c.52.24.59.86.88 1.26.47.65.4 1.46.9 2.18a.54.54 0 0 1 .08.28.45.45 0 0 1 0 .23 1.11 1.11 0 0 0 .09 1c.11.17 0 .34-.22.47h-.08.06c0 .11.19.27.11.33-.44.33-.25.67-.15 1 0 .12.09.25 0 .35a2.27 2.27 0 0 0-.19 1.57c0 .43.37.88-.16 1.29-.1.07 0 .23 0 .35a2.56 2.56 0 0 1 0 1.23.62.62 0 0 0 0 .53c.31.47.09.92 0 1.38 0 .14-.11.32 0 .42a.74.74 0 0 1 .11.94 1.5 1.5 0 0 0-.06.91 1.59 1.59 0 0 1-.09 1 .3.3 0 0 0 .06.31c.36.34.3.69-.12.89s-.31.36-.35.64a2.1 2.1 0 0 1-1 1.55c-.57.3-1.15.4-1.54 1.1-.1.19-.42.14-.64.18a4.44 4.44 0 0 0-.91.12 22.29 22.29 0 0 1-.31-2.44.54.54 0 0 1 .31 0c.45.15.67-.37 1.18-.19.3-.35.92-.49.84-1.1 0-.12.1-.18.17-.26a1.54 1.54 0 0 0 .49-.95V112c0-.24 0-.49-.07-.73a.8.8 0 0 1 0-.53c.29-.51.06-1-.05-1.49a3.9 3.9 0 0 1-.18-.79c0-.71.09-1.42.16-2.12a2.5 2.5 0 0 0-.11-1.5.61.61 0 0 1 0-.44 10 10 0 0 0 0-3.37 4.18 4.18 0 0 1 .05-.61 4.88 4.88 0 0 1 .18-1 .64.64 0 0 0-.29-.72.22.22 0 0 1-.09-.24c.12-.57-.41-.83-.7-1.17a.56.56 0 0 0-.51-.17.89.89 0 0 1-.9-.31.27.27 0 0 0-.25-.08 3.72 3.72 0 0 1-.71 0 7 7 0 0 1-.79-.06 4.56 4.56 0 0 0-1.68-.11 7.07 7.07 0 0 1-1.92.31c-.23 0-.48.1-.7 0a7.75 7.75 0 0 0-2.39-.21 14.23 14.23 0 0 0-1.6 0c-.53 0-1.05.3-1.58 0a16.76 16.76 0 0 1-2.92.06h-4a3.87 3.87 0 0 0-1 0 4.08 4.08 0 0 1-.69.09.51.51 0 0 1-.56 0 1.94 1.94 0 0 0-1.39-.17h-.09a.68.68 0 0 1-.34.08 9.45 9.45 0 0 1-2.37.14 11 11 0 0 0-2.74.2 2.21 2.21 0 0 1-1.49-.16 1.67 1.67 0 0 0-1-.2 9.41 9.41 0 0 1-1.05.13 16.26 16.26 0 0 1-4.24 0 .85.85 0 0 0-1 .19c-.08.08-.21 0-.32 0a5.81 5.81 0 0 0-.71-.11c-.82 0-1.64-.06-2.46-.15a9.08 9.08 0 0 0-3.7.16 1.61 1.61 0 0 1-1 0 4.2 4.2 0 0 0-1.58 0c-.11 0-.23.09-.35.07a12.29 12.29 0 0 0-3.53-.13 1.08 1.08 0 0 1-.44 0c-.55-.2-1.12.23-1.66-.19-.63.16-1.29-.17-1.92.22-.13.08-.3 0-.44 0a7.38 7.38 0 0 0-2.92-.13c-.18 0-.37.1-.53 0-.51-.29-1-.06-1.49.05a3.86 3.86 0 0 1-.79.17c-.71 0-1.42-.08-2.12-.16a2.49 2.49 0 0 0-1.5.12.67.67 0 0 1-.44 0 10 10 0 0 0-3.3.06h-.61c-.71 0-1.4-.49-2.11-.08a.36.36 0 0 1-.35 0c-.61-.36-1.23-.09-1.85-.19a1.09 1.09 0 0 0-.7.13 1.24 1.24 0 0 1-1.3 0 .57.57 0 0 0-.34 0 5.23 5.23 0 0 1-1.58 0 4.56 4.56 0 0 0-1.68-.11 7.07 7.07 0 0 1-1.92.31 1.89 1.89 0 0 1-.71 0 7.72 7.72 0 0 0-2.39-.21 14.06 14.06 0 0 0-1.59 0c-.53 0-1 .3-1.58 0a16.76 16.76 0 0 1-2.92.06h-4a4 4 0 0 0-1 0 3 3 0 0 1-1.59 0 1.41 1.41 0 0 0-1.14 0 1.06 1.06 0 0 1-1-.09c-.35-.14-.66.32-1 .22a5.73 5.73 0 0 0-1.93-.18c-.86.09-1.71 0-2.57 0s-1.86-.12-2.81-.09a5.55 5.55 0 0 1-2 .06c-1.06-.37-2.12.08-3.18-.11a10.77 10.77 0 0 0-2 .17h-3.1a2.66 2.66 0 0 0-1 0c-.36-.44-.72-.29-1.08 0-.06 0-.13.07-.18 0-.44-.41-.87 0-1.3.06-1 .16-2.06-.16-3.1-.09q-.48 0-1 .06a4.31 4.31 0 0 1-.71.09 23.24 23.24 0 0 0-3.44 0c-.12 0-.26 0-.34-.09-.26-.32-.52-.16-.78-.11a2.46 2.46 0 0 1-1.14.11.64.64 0 0 0-.43 0A1.93 1.93 0 0 1 104 97c-.89-.33-1.76.34-2.65 0-.11 0-.23 0-.35.07a.77.77 0 0 0-.25.1.8.8 0 0 1-1 0 1 1 0 0 0-.71-.07 1.46 1.46 0 0 1-.69 0c-1-.08-2.06 0-3.1-.14a5.88 5.88 0 0 0-2.25.18 1.62 1.62 0 0 1-.87.19c-.12 0-.19.08-.25.17s-.06.24-.13.3c-.23.18-.42.4-.66.6s0 .64 0 .91a.32.32 0 0 1 0 .16c-.13.18 0 .63.15 1a1.76 1.76 0 0 1 0 1.22 5.11 5.11 0 0 0-.22 1.93 4.2 4.2 0 0 1 0 1.41 4.26 4.26 0 0 0 .08 2.21 2.09 2.09 0 0 1 0 .61c0 .09 0 .22-.07.26-.53.2-.57.53-.53.78v.55q.09.88.15 1.77a2.56 2.56 0 0 1-.06.62c-.12.62-.17.78-.1 1a1.47 1.47 0 0 0 .58.71 1.57 1.57 0 0 1 .42.51c.1.16.18.4.44.38 0 0 .1 0 .11.05.08.54.57.61 1 .55.14 0 .28 0 .42-.06a.57.57 0 0 1 .64 0c.14.09.28.22.42.19a8.12 8.12 0 0 0 2-.11c.09 0 .18-.09.26-.07a6.44 6.44 0 0 1 1 .26c.33.12.64-.25 1 0a.43.43 0 0 0 .43.06 1.58 1.58 0 0 1 1.57-.06c.51.24.87-.37 1.42-.13a2.18 2.18 0 0 0 1.39.18 8.67 8.67 0 0 1 2.81-.25 11 11 0 0 0 2.74-.19 2.2 2.2 0 0 1 1.49.15 1.61 1.61 0 0 0 1 .2 9.41 9.41 0 0 1 1.05-.13 16.71 16.71 0 0 1 4.24 0 .84.84 0 0 0 1-.19c.08-.08.22 0 .33 0a5.65 5.65 0 0 0 .7.11c.82 0 1.64.06 2.46.15a8.73 8.73 0 0 0 3.7-.16 1.68 1.68 0 0 1 1 0 4.21 4.21 0 0 0 1.58 0c.12 0 .24-.09.35-.07a12.29 12.29 0 0 0 3.53.13 1.08 1.08 0 0 1 .44 0c.55.21 1.12-.22 1.66.19.64-.16 1.29.17 1.92-.22.13-.08.3 0 .44 0a7.2 7.2 0 0 0 2.92.13c.18 0 .37-.09.53 0a2 2 0 0 0 1.49 0 3.32 3.32 0 0 1 .79-.18c.71 0 1.42.09 2.13.16a2.46 2.46 0 0 0 1.49-.12.63.63 0 0 1 .45 0 10.24 10.24 0 0 0 3.36 0h.61c.71 0 1.4.49 2.11.09a.32.32 0 0 1 .35 0c.61.35 1.23.08 1.85.18a1 1 0 0 0 .7-.13 1.26 1.26 0 0 1 1.3 0 .6.6 0 0 0 .35 0 4.87 4.87 0 0 1 1.57 0 4.57 4.57 0 0 0 1.68.1 7.13 7.13 0 0 1 1.92-.31c.24 0 .49-.1.71 0a7.72 7.72 0 0 0 2.39.21 14.22 14.22 0 0 0 1.6 0c.52 0 1.05-.3 1.57 0a17.9 17.9 0 0 1 2.93-.06h4a4.52 4.52 0 0 0 1 0 2.78 2.78 0 0 1 1.59 0 1.46 1.46 0 0 0 1.14 0 1.12 1.12 0 0 1 1 .09c.35.14.66-.31 1-.22a5.29 5.29 0 0 0 1.93.18c.86-.09 1.71 0 2.57 0s1.86.11 2.81.08a5.56 5.56 0 0 1 2-.06c1.07.37 2.12-.08 3.19.11a10.74 10.74 0 0 0 2-.17h3.1a2.66 2.66 0 0 0 1 0c.36.44.72.29 1.09 0 .05 0 .13-.07.17 0 .44.42.87 0 1.3-.06 1-.15 2.06.16 3.1.09q.48 0 1-.06a4.45 4.45 0 0 1 .71-.09 23.24 23.24 0 0 0 3.44 0 .38.38 0 0 1 .34.09c.26.32.52.17.78.11a2.46 2.46 0 0 1 1.14-.11.62.62 0 0 0 .44 0 1.86 1.86 0 0 1 1.52-.16c.89.33 1.76-.35 2.65-.06.11 0 .23 0 .35-.07a.52.52 0 0 0 .26-.1.8.8 0 0 1 1 0 .9.9 0 0 0 .7.07 1.66 1.66 0 0 1 .7 0c1 .08 2.06 0 3.09.14a11.24 11.24 0 0 0 2.52-.12 2.23 2.23 0 0 1 1.32.14.73.73 0 0 0 .44 0c.14 0 .28-.16.43-.15a6.42 6.42 0 0 1 1.31.15c.46.12.88-.22 1.31-.28a.62.62 0 0 1 .27 0 1.69 1.69 0 0 0 1.14-.17 1.79 1.79 0 0 1 1.23 0 5.1 5.1 0 0 0 1.93.21 4.18 4.18 0 0 1 1.41 0z\\\" fill=\\\"#a2bcf4\\\"/></svg>\",\n    \"ios\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 77 105\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M74.45 39.38c-13.78 2.07-21.88 29.11 0 35.83-6.29 15.12-9 36.18-35.15 24.12 0 0-31.47 16.14-36.86-34.8-3.79-35.83 23.43-35.14 34.8-27.91 5.81 3.7 13.76-14.47 37.21 2.76z\\\"/><path d=\\\"M74.19 40.31a1.57 1.57 0 0 0-.77.19 2.09 2.09 0 0 1-.73.3c-.13 0-.26 0-.39.06a5.59 5.59 0 0 0-.78.28c-.8.39-1.39 1.08-2.21 1.44a.94.94 0 0 0-.34.29 5.72 5.72 0 0 1-.75.8 2.36 2.36 0 0 1-.95.59s-.06.06-.07.1c-.1.6-.61.84-.86 1.31a4.69 4.69 0 0 1-.73 1c-.23.35-.33.79-.72 1-.39.21-.2.83-.43 1.16 0 0-.06.12-.1.17a6.52 6.52 0 0 0-.72 1.59c-.09.29-.11.63-.22.91s-.32.51-.22.8c.1.29-.32.53-.29.84 0 .12-.08.22 0 .33.15.26 0 .43-.11.62-.23.34-.85.3-.72 1.08 0 .3.18.63-.19.89a.08.08 0 0 0 0 .13c.26.22.31.42 0 .6.34.43.07.82.07 1.24a1.75 1.75 0 0 1-.19.71.73.73 0 0 0 0 .58 5.77 5.77 0 0 1 .4 1.53 1.8 1.8 0 0 0 .2 1c.11.19.35.35 0 .64-.06.05 0 .13 0 .18a.63.63 0 0 1 .22.53 4.26 4.26 0 0 0 .54 1.88c.13.27.25.56.4.82 0 .09.17.15.23.23.29.36.83.52.82 1.06a.31.31 0 0 0 .25.29.71.71 0 0 1 .49.49c.09.263.262.49.49.65.296.158.51.434.59.76a.57.57 0 0 0 .22.32c.37.35.77.65 1.17 1 .21.15.3.44.54.57a11.41 11.41 0 0 0 1.57.77c.226.069.4.25.46.48a.6.6 0 0 0 .78.45 1.18 1.18 0 0 1 1.32.52c.08.114.179.215.29.3.15.092.311.163.48.21a4.24 4.24 0 0 0 1.26.12 6.68 6.68 0 0 1 1.11.07 2.8 2.8 0 0 1 .48.12l.19.09a1.28 1.28 0 0 1-.14.25.61.61 0 0 0-.16.44c.07.33-.29.79-.64 1.11a1.85 1.85 0 0 0-.64 1.16 2.12 2.12 0 0 1-.46 1.48.4.4 0 0 0-.05.47.61.61 0 0 1-.08.68 7.64 7.64 0 0 0-.64 1.15 4.16 4.16 0 0 0-.32 1.27 3 3 0 0 1-.42 1.22c-.14.26-.15.59-.42.78a1.86 1.86 0 0 0-.64 1.51.59.59 0 0 1-.05.27l-1 2.08a1 1 0 0 0 0 .36c-.09 0-.26.07-.26.15 0 .52.13 1.11-.43 1.42.06.38-.39.53-.46.84-.11.47-.57.79-.37 1.41a.29.29 0 0 1-.12.33.77.77 0 0 0-.29.79c0 .17-.13.24-.38.22l-.05-.06v.06c0 .1.06.29 0 .29-.52 0-.47.35-.53.64 0 .09 0 .21-.13.24-.53.17-.62.6-.83 1-.21.4-.11.8-.73.76-.11 0-.11.15-.16.23-.18.28-.29.62-.64.77a.39.39 0 0 0-.23.36c0 .48-.44.62-.78.81-.11.06-.25.11-.24.25a.52.52 0 0 1-.48.6c-.54.13-.62.82-1.22.88-.07 0-.12.11-.1.21.1.44-.04.58-.42.42-.26-.11-.35 0-.45.21a1.3 1.3 0 0 1-1 .75c-.43.05-.88.07-1 .69 0 .15-.27.09-.4.13-.13.04-.42.05-.56.21-.29.35-.71.27-1.09.18a.92.92 0 0 0-.9.27 1.38 1.38 0 0 1-1 .4 5.77 5.77 0 0 0-1 0 7.79 7.79 0 0 1-1.08 0 6.44 6.44 0 0 0-1.52 0 .29.29 0 0 1-.28-.11c-.37-.52-.8-.34-1.23-.25-.22.05-.44.11-.63-.06a.91.91 0 0 0-.49-.12c-.34 0-.71.09-1-.14a1.68 1.68 0 0 0-1.17-.18 1.15 1.15 0 0 1-1.2-.37.3.3 0 0 0-.35 0c-.31.13-.44-.29-.72-.26a4.31 4.31 0 0 1-.88 0c-.07 0-.12-.08-.17-.13-.42-.43-1-.4-1.48-.68-.09-.05-.25 0-.38.07a.43.43 0 0 1-.54-.16c-.1-.16-.27-.19-.39-.29-.37-.28-.71-.59-1.26-.4-.06 0-.09 0-.07-.05 0-.18-.09-.1-.13-.08 0 .06-.09.06-.24 0a.51.51 0 0 0-.27 0h-.27c-.135 0-.27.016-.4.05a2.9 2.9 0 0 0-.83.45 2 2 0 0 1-.46.22c-.46.11-.3.73-.76.87-.24.07-.37.25-.67-.1-.3-.35-.58-.11-.79 0a7.9 7.9 0 0 1-3.4.54 4.1 4.1 0 0 1-.86 0 1.1 1.1 0 0 0-.77.25 1.39 1.39 0 0 1-1.23.17 11.38 11.38 0 0 0-2.24-.3 4.76 4.76 0 0 1-2.24-.6 1.38 1.38 0 0 0-1.15-.08.79.79 0 0 1-1-.67c-.08-.39-.52-.35-.52-.35a1.23 1.23 0 0 0-.55-.17c-.19 0-.71.31-1.11.09a5 5 0 0 1-1.19-1 2.43 2.43 0 0 0-.8-.41 2.59 2.59 0 0 1-.78-.43l-.32-.29-.72-.59a8.28 8.28 0 0 1-2.28-1.83 1.7 1.7 0 0 0-.38-.33 3.4 3.4 0 0 1-1.52-1.87s-.06-.06-.1-.08c-.64-.21-.75-.84-1.18-1.23a5.68 5.68 0 0 1-.79-1.1c-.23-.39-.59-.72-.63-1.19-.04-.47-.67-.64-.85-1.06a1.11 1.11 0 0 1-.09-.19 10.84 10.84 0 0 0-.86-1.7 9 9 0 0 1-.55-.87c-.12-.28-.1-.64-.38-.83-.28-.19-.13-.65-.34-.91-.08-.1-.07-.24-.19-.3-.28-.14-.29-.38-.3-.63 0-.44.56-.74.07-1.4-.2-.26-.48-.52-.25-.93a.09.09 0 0 0 0-.13c-.34-.12-.47-.3-.25-.6-.53-.28-.34-.81-.48-1.22a1.7 1.7 0 0 1 0-.78.85.85 0 0 0-.15-.6 3.9 3.9 0 0 1-.65-1.55 2.63 2.63 0 0 0-.26-1.07c-.11-.2-.36-.38 0-.68.06 0 0-.13 0-.19a.71.71 0 0 1-.18-.59 8.87 8.87 0 0 0-.25-2.06c-.08-.32-.09-.64-.16-1a1.77 1.77 0 0 0-.15-.31c-.18-.46-.61-.86-.39-1.39a.35.35 0 0 0-.11-.4.71.71 0 0 1-.2-.72 1.6 1.6 0 0 0-.08-.89 1.22 1.22 0 0 1 0-1 .64.64 0 0 0 0-.41c-.11-.54-.16-1.07-.25-1.61 0-.28.09-.57 0-.84-.1-.62-.24-1.23-.37-1.84a.74.74 0 0 1 .14-.7.68.68 0 0 0 0-1A1.32 1.32 0 0 1 1.3 59c.28-.5.24-1.119-.1-1.58-.26-.37-.45-.73-.25-1.11a.26.26 0 0 0 0-.28c-.18-.26 0-.47.2-.68a.75.75 0 0 0 .24-.8 2.23 2.23 0 0 1 0-1.61.49.49 0 0 0-.06-.49.64.64 0 0 1-.06-.71 7 7 0 0 0 .4-1.3 5 5 0 0 0 0-1.44A3.33 3.33 0 0 1 2 47.68c.13-.28.13-.62.39-.84.54-.43.52-1 .6-1.59A.88.88 0 0 1 3 45c.34-.71.66-1.43 1.07-2.11a1.11 1.11 0 0 0 .07-.37c.1 0 .27 0 .28-.13 0-.55 0-1.17.62-1.41 0-.39.46-.49.58-.8.21-.46.75-.68.68-1.35a.32.32 0 0 1 .19-.31.84.84 0 0 0 .51-.71c0-.18.18-.21.42-.13v.07-.07c0-.1 0-.31.11-.29.5.11.55-.22.71-.48 0-.09.09-.2.2-.2.56 0 .77-.42 1.11-.71.34-.29.36-.73.94-.5.11 0 .16-.1.23-.17a1.6 1.6 0 0 1 .87-.5.4.4 0 0 0 .35-.26c.17-.47.62-.44 1-.49.12 0 .28 0 .31-.14a.5.5 0 0 1 .65-.42c.56.1.86-.55 1.43-.42.06 0 .14-.06.16-.16 0-.43.23-.51.52-.25.29.26.34.07.48-.06a1.3 1.3 0 0 1 1.13-.43c.42.06.85.17 1.15-.39.08-.14.28 0 .42 0 .14 0 .4 0 .56-.07.35-.28.72-.14 1.08 0a.81.81 0 0 0 .9-.12 1.33 1.33 0 0 1 1-.24c.327.08.664.113 1 .1.35 0 .7 0 1 .12.491.09.99.13 1.49.12.1-.013.2.03.26.11.34.54.78.39 1.21.32.22 0 .44-.09.62.08a.84.84 0 0 0 .48.14c.35.05.72-.07 1 .19.347.22.768.296 1.17.21a1.16 1.16 0 0 1 1.19.44c.07.1.22.09.35 0 .32-.12.43.32.71.3a3.78 3.78 0 0 1 .89.07c.07 0 .11.09.17.15.39.46 1 .44 1.45.8.08.06.25 0 .39 0a.45.45 0 0 1 .53.23c.09.17.25.22.37.34.31.32.74.74 1.09.46l.06.06c0 .21.23.13.36.14a.68.68 0 0 1 .46.11c.207.149.455.23.71.23.19 0 .36-.11.65-.29a1.09 1.09 0 0 1 .83-.39l.88-.29c.09 0 .12.05.16.15a1.36 1.36 0 0 0 .54-.61c.2-.39.41-.73.83-.74a.24.24 0 0 0 .23-.14c.13-.28.41-.24.69-.15a.76.76 0 0 0 .8-.22 2.16 2.16 0 0 1 1.42-.76.46.46 0 0 0 .41-.29.63.63 0 0 1 .58-.42c.462-.06.92-.15 1.37-.27a5.61 5.61 0 0 0 1.28-.51 2.76 2.76 0 0 1 1.34-.32c.32 0 .63-.19.94 0a2.21 2.21 0 0 0 1.73-.1.94.94 0 0 1 .28-.06c.4 0 .8 0 1.2.06.4.06.79 0 1.19.11a1.23 1.23 0 0 0 .36-.08c.07.08.15.24.23.22.52-.18 1.07-.43 1.53 0 .37-.15.63.24 1 .25.5 0 .92.38 1.5.07a.31.31 0 0 1 .35.06.8.8 0 0 0 .84.15c.16-.06.26.07.29.31l-.05.07h.06c.1 0 .27-.1.29 0 .11.51.43.42.72.42.1 0 .22 0 .27.08.27.47.7.51 1.1.65.4.14.8 0 .88.56 0 .12.17.08.26.11.3.12.64.16.86.47a.36.36 0 0 0 .39.15c.47-.09.7.25.95.55.08.09.16.22.29.17a.49.49 0 0 1 .69.28c.26.49 1 .3 1.18.84 0 .07.14.07.22 0 .36-.24.53-.16.52.23-.01.39.16.3.35.31a1.28 1.28 0 0 1 1.05.53c.23.34.42.75 1 .55.15-.06.21.16.31.25s.25.31.45.33l-1.3 2.08a.6.6 0 0 1-.25-.22c-.23-.4-.83-.3-.93-.88-.48-.14-.7-.72-1.33-.64-.12 0-.19-.11-.26-.2a3.83 3.83 0 0 0-1.82-1.28c-.12 0-.29-.06-.35-.19-.19-.44-.62-.43-1-.52a2.87 2.87 0 0 1-.61-.11c-.47-.26-.91-.56-1.36-.86a1.44 1.44 0 0 0-1.07-.34.36.36 0 0 1-.31-.11 4.85 4.85 0 0 0-2.34-.88 2.17 2.17 0 0 1-.42-.17c-.49-.17-.88-.76-1.49-.47a.2.2 0 0 1-.25-.07c-.37-.46-.88-.26-1.31-.43a.67.67 0 0 0-.53 0 .73.73 0 0 1-1-.1.3.3 0 0 0-.25-.06 3.74 3.74 0 0 1-1.16-.05 2.12 2.12 0 0 0-1.24-.07 5.27 5.27 0 0 1-1.37.46c-.17 0-.33.14-.51.08a3.47 3.47 0 0 0-1.75.18 5.62 5.62 0 0 0-1.13.33c-.38.12-.63.55-1.11.38a15.68 15.68 0 0 1-2 .93c-.92.4-1.79.93-2.71 1.41a3.11 3.11 0 0 0-.69.32 2.36 2.36 0 0 1-.45.33.35.35 0 0 1-.4.22 1.59 1.59 0 0 0-1.15.29l-.06.05a.46.46 0 0 1-.26.16 3.43 3.43 0 0 1-2.23.45 6 6 0 0 1-1.44-.33l-.69-.28a4 4 0 0 0-.49-.15 1.37 1.37 0 0 1-.87-.67.92.92 0 0 0-.53-.5c-.25-.09-.53-.11-.77-.22a14.4 14.4 0 0 1-2.94-1.07c-.18-.13-.41-.3-.72 0-.08.07-.16 0-.23-.08a4.3 4.3 0 0 0-.48-.24c-.57-.19-1.17-.31-1.74-.54a7.8 7.8 0 0 0-1.35-.32 3.73 3.73 0 0 0-1.4.13 1 1 0 0 1-.76 0 2 2 0 0 0-1.17-.08c-.08 0-.17.1-.25.08a5.32 5.32 0 0 0-2.6 0 .61.61 0 0 1-.33 0c-.42-.14-.77.33-1.23 0-.42.26-1 0-1.33.53-.07.1-.2.07-.31.07a3.58 3.58 0 0 0-1.09.1 4.2 4.2 0 0 0-1 .47c-.11.07-.21.18-.35.14-.45-.1-.69.27-1 .53a2.32 2.32 0 0 1-.42.41c-.44.26-.93.45-1.39.68-.46.23-.67.32-.8.73 0 .12-.14.17-.24.22A4.2 4.2 0 0 0 9 39.64a1.85 1.85 0 0 1-.33.29c-.35.36-1 .51-1 1.16a.19.19 0 0 1-.16.2c-.55.16-.56.72-.89 1a.62.62 0 0 0-.16.5.71.71 0 0 1-.44.85.33.33 0 0 0-.16.21 3.81 3.81 0 0 1-.5 1.06 2.63 2.63 0 0 0-.56 1.12c.03.494-.017.99-.14 1.47-.06.16 0 .36-.15.49-.48.48-.41 1.13-.62 1.69a5.76 5.76 0 0 0-.25 1.18c0 .39.19.82-.19 1.17a18 18 0 0 1-.19 2.2 23.29 23.29 0 0 0-.1 3 2.59 2.59 0 0 0 0 .73c.145.39.145.82 0 1.21a.85.85 0 0 0 .05.87c.17.25.06.49-.07.74s.33.48.27.78a3.23 3.23 0 0 0-.07 1.48c.15.65.06 1.3.17 2 .11.7.06 1.43.18 2.15.09.52.42 1 .26 1.55-.25.86.35 1.59.3 2.43 0 .52.32 1 .43 1.49.16.78.36 1.55.48 2.33 0 .27 0 .56.13.8-.37.37-.17.61.17.81 0 0 .09.08 0 .12-.33.43.18.65.32 1 .223.757.407 1.524.55 2.3.07.238.16.469.27.69.103.152.194.313.27.48a11.3 11.3 0 0 0 .86 2.47c0 .08.09.18 0 .27-.22.3 0 .43.13.59.215.201.365.463.43.75a.39.39 0 0 0 .17.29c.366.204.6.582.62 1 0 .75.9 1 .94 1.76 0 .09.11.14.18.2a.34.34 0 0 0 .18.12c.36.07.41.3.41.58a.53.53 0 0 0 .2.48c.17.11.18.3.25.46.3.72.86 1.26 1.17 2a4.45 4.45 0 0 0 1.26 1.37c.282.198.473.5.53.84 0 .13.13.17.23.22.1.05.26 0 .32.12.232.23.431.494.59.78.16.33.61.28.9.43a.43.43 0 0 1 .14.13.92.92 0 0 0 .74.38c.297.063.555.248.71.51.24.4.586.726 1 .94.333.069.645.216.91.43.378.4.91.615 1.46.59a1 1 0 0 1 .42.13c.06 0 .15.05.14.13 0 .54.18.66.37.68l.38.16c.43.09.86.14 1.29.19.152.033.297.09.43.17.79.41.82.35 1.73.09a1.32 1.32 0 0 1 .71 0c.21.05.41.18.64 0h.12c.38.42.8.26 1.21.15.14 0 .29 0 .44-.11a.37.37 0 0 1 .51 0c.1.09.22.21.32.18.49-.11 1 0 1.48-.26.06 0 .12-.1.19-.09.27.02.538.063.8.13.26.07.42-.32.7-.16.11.07.25.1.33 0a.94.94 0 0 1 1.12-.33c.44.14.53-.52 1-.41.338.112.71.056 1-.15a4.9 4.9 0 0 1 .9-.58 4 4 0 0 1 .47-.22l.75-.33.52-.23.7.29.37.15.3.1c.282.087.569.153.86.2a1.4 1.4 0 0 1 1 .57 1 1 0 0 0 .6.45 4.1 4.1 0 0 1 .79.16 14.56 14.56 0 0 0 1.56.35 5.08 5.08 0 0 1 1.49.56c.202.2.528.2.73 0 .07-.07.15 0 .23.08.155.087.315.163.48.23.59.14 1.18.26 1.76.46a4 4 0 0 0 2.71 0 1 1 0 0 1 .74 0c.39.18.76 0 1.13 0 .08 0 .15-.11.23-.11a6 6 0 0 0 1.27 0 6.17 6.17 0 0 0 1.19-.4.53.53 0 0 1 .3-.09c.43 0 .65-.47 1.16-.28.32-.37.92-.26 1.08-.86 0-.12.17-.13.28-.15a2.51 2.51 0 0 0 1-.43 3.18 3.18 0 0 0 .76-.75c.08-.1.13-.25.27-.27.47 0 .57-.46.72-.8a1.7 1.7 0 0 1 .26-.54c.35-.38.7-.76 1.08-1.12a1.44 1.44 0 0 0 .54-1 .35.35 0 0 1 .15-.28 4.81 4.81 0 0 0 1.28-2.16c.06-.14.18-.25.25-.38.26-.47.93-.73.78-1.4a.2.2 0 0 1 .12-.23c.52-.27.47-.82.75-1.21a.66.66 0 0 0 .09-.54.79.79 0 0 1 .39-.92.29.29 0 0 0 .14-.22 3.24 3.24 0 0 1 .46-1.12 2.64 2.64 0 0 0 .56-1.17 4.62 4.62 0 0 1 .23-1.5c.07-.17 0-.38.18-.51.51-.47.55-1.11.83-1.67a9.49 9.49 0 0 0 .43-1.16c.14-.39 0-.88.44-1.15.17-.745.422-1.47.75-2.16l.21-.51.11-.3c0-.08.11-.2 0-.26l-.36-.11c-.11 0-.16-.16-.33-.14h-.25l-.14-.06a1.69 1.69 0 0 1-.54-.39 1 1 0 0 0-.85-.35c-.32 0-.49-.18-.66-.43-.17-.25-.62 0-.84-.22a5.57 5.57 0 0 0-1.24-1 4.44 4.44 0 0 1-.87-.59c-.26-.23-.52-.48-.79-.69-.63-.47-1-1.14-1.6-1.65-.37-.41-.94-.69-1.1-1.25-.19-.93-1.06-1.38-1.29-2.27a15.35 15.35 0 0 0-.86-1.42 7.5 7.5 0 0 1-.46-1.19 8.68 8.68 0 0 1-.32-1.24c-.05-.28 0-.59-.14-.85.36-.37.17-.61-.14-.87-.05 0-.09-.09-.05-.13.36-.41-.11-.7-.2-1a11.17 11.17 0 0 1 0-2.52v-.79a3.77 3.77 0 0 1 0-.58c.07-.47.16-.92.25-1.38.09-.46.13-.92.2-1.39 0-.09 0-.21.16-.25.35-.12.25-.36.25-.58a1.65 1.65 0 0 1 .16-.91.45.45 0 0 0 .06-.36 1.21 1.21 0 0 1 .27-1.22c.54-.55.26-1.46.82-2 .08-.06.06-.18.08-.28a.45.45 0 0 0 0-.23c-.12-.36.08-.56.34-.72a.73.73 0 0 0 .35-.46c0-.22.22-.32.34-.48.26-.34.5-.69.76-1a5.22 5.22 0 0 1 .87-1 3.68 3.68 0 0 0 .69-.78c.21-.28.42-.57.65-.84a1.4 1.4 0 0 1 .92-.63c.13 0 .2-.14.27-.23s.09-.28.18-.35a4.26 4.26 0 0 1 1-.52c.38-.13.5-.59.8-.82a.41.41 0 0 1 .21-.1 1.63 1.63 0 0 0 .8-.61c.257-.28.62-.44 1-.44a4.64 4.64 0 0 0 1.68-.29 3 3 0 0 1 1.2-.3c0 .63-.02 1.44 0 2.23zM40.52 23.93c-3.11-7.29-.14-18.3 14.93-22.49 0 0 6.23 17.2-14.93 22.49z\\\"/><path d=\\\"M39.69 24.16c.09-.19-.27-.2-.23-.37a.5.5 0 0 0 0-.12.58.58 0 0 0 0-.23c-.11-.21-.45-.35-.35-.63 0-.05 0-.08-.07-.11a.354.354 0 0 1 0-.6c-.35 0-.17-.24-.31-.35-.14-.11-.06-.22-.08-.32-.02-.1-.19-.2 0-.34s-.26-.18-.23-.3c.07-.17 0-.32-.07-.47-.07-.15-.14-.16-.15-.24-.01-.08.13-.18-.07-.23-.2-.05.11-.17 0-.25-.11-.08 0-.06-.07-.08-.07-.02-.11-.11 0-.17.11-.06.77-.16.51-.35-.1-.07-.28-.15.07-.24-.28 0-.35-.1 0-.16-.39-.11-.1-.22-.12-.33-.02-.11.08-.12.19-.18s.07-.1 0-.15c-.07-.05-.29-.29-.2-.42.09-.13.1-.18 0-.28-.1-.1-.26-.14.15-.15.07 0 0 0 0 0s-.09-.11 0-.16a.51.51 0 0 0 .2-.49v-.24c0-.08-.06-.07-.08-.1-.02-.03-.4-.31-.07-.37.09 0 .07-.06 0-.11s-.13-.15 0-.2c.13-.05.15-.12.07-.22-.08-.1-.06-.2.15-.23s.09-.05.08-.09c0-.136.02-.27.06-.4 0-.07.17-.1.18-.17 0-.17-.024-.337-.07-.5 0-.07 0-.12.25-.1.25.02.29-.07.09-.22-.2-.15-.23-.35.06-.37.29-.02.33-.15 0-.41s-.35-.34-.14-.36c0 0 .06 0 0-.07s0-.12.23-.08c.23.04.3 0 .24-.12s-.19-.38.08-.4c.07 0 .06-.07 0-.16s-.15-.2-.08-.23a.82.82 0 0 0 .33-.21.34.34 0 0 0 0-.35c-.06-.16 0-.22.16-.29.16-.07 0-.16.22-.13.39.08.33-.11.28-.31v-.09l.41-.41v-.12c.07 0 .21.09.2.06-.09-.21-.31-.52.09-.39-.11-.18.2 0 .2-.14s.29-.07 0-.45c-.06-.08 0-.1 0-.09 0 .01.17 0 0-.22s0-.06.23.06l.06.06v-.05s-.11-.16 0-.12c.38.23.27.06.24-.06-.03-.12 0-.09 0-.06.33.15.29 0 .34-.11.05-.11-.15-.37.3-.07.08.05 0 0 0 0s0-.21.19-.15.1 0 0-.1c-.15-.27.07-.19.22-.16s.13 0 .07 0c-.18-.26-.11-.28 0-.21.11.07 0-.3.33-.15v-.12c-.24-.31-.22-.36 0-.16.22.2.17.08.13 0-.04-.08-.06-.35.12-.3.18.05.39.16.12-.29-.07-.11.06 0 .09 0s.15 0 .12-.07.09-.16.29-.05c.2.11.2 0 .14-.17s-.08-.38.06-.33c.14.05.16 0 .24-.08a.87.87 0 0 1 .24-.1c.14 0 .2-.13.27-.24.07-.11 0 0 .1 0 .37.34.32.11.32-.06 0-.17 0-.17.12-.1s.09 0 .12 0 0-.26.18-.17.19-.06.19-.23 0-.33.28-.12c.06.06.06 0 0-.09s.18 0 .17-.08a.82.82 0 0 1 0-.33h.08c.24.15.23-.13.38-.12.15.01 0-.11 0-.2 0-.09 0-.19.1-.1s.1 0 .15 0c.05 0 .32.12.22-.27 0 0 .13 0 .17-.06.04-.06.09-.08.2 0 .39.25.4.26.49 0 0-.06 0-.11.07-.12.07-.01-.17-.6-.06-.65.11-.05 0-.17.25.18s.22.17.24.08c.1-.43.49-.25.75-.31a.53.53 0 0 1 .24 0c.08 0 .1-.09.09-.26-.01-.17.08-.3.2-.25.17.11.39.11.56 0a.45.45 0 0 1 .59 0c.12.08.18 0 .18-.27s.16-.18.37.22.2.12.2.12.09 0 .11-.08c.02-.08-.07-.57 0-.56.07.01.28.15.47.26.19.11.26-.29.49-.26h.15a.8.8 0 0 0 .31 0c.29-.13.7-.55 1-.4 0 0 .11 0 .17-.09a1.63 1.63 0 0 1 .46-.25.19.19 0 0 1 .17 0 .12.12 0 0 1 .05.07v.16c0 .1 0 0 0 0 .28-.18.19.26.33.33s.11.29.15.45c.04.16.22.22.09.51-.13.29.28.15.29.36v.08c.007.247.069.49.18.71a.64.64 0 0 0 .1.18.26.26 0 0 1 .08.11c0 .08-.12.18.07.22.19.04-.1.18 0 .24s0 .06.08.07c.08.01.13.1.07.17s-.75.23-.47.39c.11.06.3.12 0 .24 0 0-.05 0 0 0 .28 0 .36.06.06.15.41.06.12.2.15.31.03.11-.06.13-.18.2s-.06.1 0 .15c.06.05.34.25.26.39-.08.14-.07.18 0 .27.07.09.27.1-.13.17-.07 0 0 0 0 .05s.1.09.05.14a.5.5 0 0 0-.14.52v.23c0 .07.08.06.1.09.02.03.45.24.13.35-.08 0 0 .07.05.11.05.04.16.12.09.18s-.12.15 0 .23c.12.08.09.18-.11.25s-.09.06-.08.09a1.88 1.88 0 0 1 0 .41c0 .07-.15.12-.14.19.033.168.083.332.15.49 0 .06 0 .11-.21.14-.21.03-.28.11-.06.22.22.11.29.31 0 .38s-.31.2 0 .4.42.27.22.33c-.2.06-.06 0 0 .07s0 .12-.21.13c-.21.01-.29.06-.22.16.07.1.26.34 0 .4-.07 0 0 .08.09.15.09.07.17.17.1.21a.83.83 0 0 0-.29.26.34.34 0 0 0 0 .36c.1.15 0 .24-.08.32-.08.08 0 .17-.2.17-.4 0-.31.18-.22.36s0 .06 0 .08l-.35.48s0 .08.06.12h-.2c.12.19.4.46 0 .4.15.16-.19.09-.16.19s-.27.12.07.44c.08.07.05.1 0 .1s-.16.06 0 .22 0 .07-.24 0l-.06-.05s.14.14.07.11c-.42-.17-.28 0-.23.1.05.1 0 .08 0 .07-.35-.1-.28.06-.32.16-.04.1.21.35-.28.12-.09 0 0 0 0 .06s0 .22-.16.18c-.16-.04-.1 0 0 .11.2.25 0 .2-.19.2s-.13 0-.05.06.15.26 0 .21c-.15-.05 0 .3-.33.2l.05.1c.29.28.28.33 0 .16s-.17 0-.13 0c.04 0 .11.34-.07.32-.18-.02-.4-.09-.07.32.08.1-.06 0-.09.06s-.15 0-.1.09c.05.09-.08.17-.29.09-.21-.08-.2 0-.12.19.08.19.13.37 0 .34-.13-.03-.16.06-.23.1a.62.62 0 0 1-.24.13c-.14 0-.19.14-.25.26s0 0-.11 0c-.4-.29-.32-.06-.31.11.01.17 0 .17-.1.11-.1-.06-.09 0-.11.06-.02.06 0 .27-.16.2s-.18.08-.17.24c.01.16 0 .34-.28.14-.07 0-.06 0 0 .11s-.19 0-.17.09a.88.88 0 0 1 0 .33h-.08c-.26-.12-.22.16-.38.15-.16-.01 0 .11 0 .2 0 .09 0 .19-.09.11s-.1 0-.16 0-.32-.1-.19.29c0 0-.13 0-.16.08s-.09.09-.2 0c-.39-.21-.41-.23-.47 0s-.06.23-.19.17h-.27s-.06-.07-.12-.17-.05.17 0 .36c.05.19.07.49-.1.38-.17-.11-.06 0 0 .05s-.09.08-.23-.07c-.14-.15-.23-.17-.25-.05-.02.12-.08.41-.3.26-.06 0-.08 0-.05.15s0 .24-.08.22a.74.74 0 0 0-.38 0 .34.34 0 0 0-.23.26c0 .17-.16.17-.28.16-.12-.01-.11.13-.25 0s-.34-.1-.4.09v.07l-.56.08v.13c-.05-.05-.12-.19-.13-.15 0 .23 0 .61-.27.29 0 .21-.19-.07-.24 0-.05.07-.28-.1-.23.37 0 .1 0 .1-.06.06-.06-.04-.17-.06-.16.16.01.22-.06 0-.16-.18v-.08.2c-.21-.4-.2-.19-.23-.08s0 .09-.06 0c-.21-.3-.26-.15-.34-.09-.08.06 0 .41-.29-.07 0-.09 0 0-.06 0s-.1.19-.23 0-.08 0-.08.07c0 .31-.14.13-.27 0s-.08-.1-.07 0c0 .31 0 .29-.14.15-.14-.14-.17.24-.37 0v.12c.07.39 0 .43-.1.12s-.12-.14-.13 0c-.01.14-.1.33-.23.21-.13-.12-.28-.31-.23.22 0 .13-.07 0-.1 0s-.12-.08-.13 0l-.64-2.36h.08c.08 0 .14-.27.33.11.07-.19.27.1.28-.31 0-.08 0 0 .08 0 .23.2.41.17.54 0 .13-.17 0-.11.08 0 .17.25.19 0 .25-.12s0-.2.08-.21c.133-.02.267-.02.4 0 .1 0 .22.08.22-.2 0-.07 0-.07.06 0 .28.2.42 0 .57-.17.15-.17.08 0 .12 0 .04 0 .4.38.38 0 0-.07 0-.07.06 0 .23.3.24 0 .37 0s.08 0 .07-.17c-.01-.17.06-.27.22-.07h.07c.01 0 .15-.13.27-.1.12.03.27.15.31 0 .04-.15.08-.39.19-.42.11-.03 0-.12.11 0 .26.23.31 0 .47 0 .16 0 .17-.06.25-.11.08-.05 0-.35.26-.1.1-.2.27-.23.44-.28a4.45 4.45 0 0 0 .58-.38s.15 0 .16-.06a.2.2 0 0 1 .06-.14c0-.11 0-.16.06-.09s.3.18.3 0v-.09a.36.36 0 0 1 .27-.35c.16 0 .25-.19.28-.42.03-.23.09-.18.3 0s.23.14.26.07 0-.16.07-.21c.07-.05.15-.58.55-.47.08 0 .19 0 0-.25-.05-.07 0 0 .05 0a.56.56 0 0 0 .17 0 1.53 1.53 0 0 1 .41-.17c.25 0 .46-.13.36-.54 0-.11 0-.18.11-.13.11.05.15-.1.22-.16s0-.09 0-.09c.29 0 .46-.11.51-.34 0 0 0-.05.07 0 .22.07 0-.28.33-.08 0-.19.27-.07 0-.4 0-.07 0 0 .06 0 .3 0 .43-.09.42-.3v-.08c.28.1.15-.1.1-.24-.05-.14-.1-.18-.06-.21a1.16 1.16 0 0 1 .33-.2c.09 0 .22-.07 0-.27s0-.08 0-.08c.33 0 .3-.26.3-.48 0 0 .07 0 .09-.06.02-.06.56 0 .25-.27-.05-.05 0-.07 0-.05.37.07.17-.15.31-.2.14-.05 0-.08-.07-.17-.07-.09-.14-.22.11-.19h.07c-.01 0 0-.18.12-.23.12-.05.29-.1.2-.23-.09-.13-.22-.33-.16-.42.06-.09-.07-.11 0-.11.36 0 .22-.21.33-.32.11-.11.07-.17.1-.26s-.24-.25.09-.25a.62.62 0 0 1 .08-.5 2.47 2.47 0 0 0 .11-.67c0-.06.12-.09.06-.16s-.11-.2.09-.26.18-.1 0-.2 0-.11.11-.15c.11-.04-.3-.16-.19-.21.11-.05.28-.18.22-.3-.06-.12.07-.29.07-.44 0-.15.14-.32.12-.48-.02-.16-.27-.25 0-.36.38-.17-.07-.37.12-.55.19-.18-.15-.24-.17-.35a1.4 1.4 0 0 1 0-.54c0-.07.16-.13 0-.19.43-.09.28-.14 0-.19 0 0-.08 0 0 0 .4-.1 0-.15-.08-.22s.12-.37 0-.55a.79.79 0 0 0-.08-.16s-.12-.07-.11-.11a.65.65 0 0 0-.08-.59l.08-.07c.31-.1.15-.12.09-.15s-.22-.1-.14-.18c.08-.08 0-.06-.06-.07-.27 0-.39-.13-.21-.2.18-.07-.35 0-.09-.12h-.16c-.25.14-.18.1 0 0s.13-.12.06-.07c-.07.05 0 0 0 0s0-.06.08-.27c.08-.21-.06 0-.15.07s-.08.13 0-.16c0-.08 0 0 0 0l-.09.18a.6.6 0 0 1 0-.15c0-.13-.1.25-.11.32-.01.07 0 0 0 0v.19c0 .19 0 .12 0 0s-.08-.28-.07-.2c.01.08-.11.19-.22.12s-.3-.08-.34.19c0 .07-.05.06-.09.07-.04.01 0 0-.07 0-.21-.49-.28-.51-.31-.46H53a2.89 2.89 0 0 1-.24.25h-.12c-.28-.14-.27-.12-.31.33 0 .13-.07.16-.13.14-.06-.02-.15-.09-.13.09.02.18 0 0 0 0-.25-.33-.28-.16-.33 0-.05.16-.06 0 0 .14s0 .14-.13 0-.13-.18-.15-.15c-.02.03-.28 0-.28.24v.09a1.1 1.1 0 0 1-.28-.17c-.11-.08 0 .28-.14.11-.14-.17-.11-.11-.1 0 .06.34 0 .36-.21.19-.21-.17 0 .4-.17.23s-.28-.19-.29 0c0 .31-.15.41-.32.45-.17.04-.28.16-.33.39-.05.23-.1.16-.3 0-.2-.16-.23-.16-.25-.09-.02.07 0 .17-.09.21-.09.04-.21.58-.59.44-.08 0-.19-.08 0 .24 0 .08 0 0-.05 0a.61.61 0 0 0-.17 0 1.24 1.24 0 0 1-.44.11c-.26 0-.49.06-.42.5 0 .12 0 .2-.13.13s-.16.09-.24.14c-.08.05 0 .1 0 .09-.29 0-.48.06-.55.28 0 0 0 .06-.08 0-.21-.09 0 .29-.35 0 0 .19-.3 0-.1.38 0 .07 0 0-.07 0-.29-.07-.43 0-.45.26 0 0 0 .11-.06.07-.26-.14-.16.08-.14.22.02.14.07.19 0 .22-.115.07-.24.12-.37.15-.1 0-.23 0-.09.26v.07c-.33 0-.33.22-.37.43 0 0-.07 0-.1.06s-.53-.12-.28.23c0 0 0 .07 0 0-.35-.13-.2.12-.34.14-.14.02 0 .07 0 .17s.09.25-.15.17h-.07c.01 0 0 .19-.16.22s-.3 0-.23.2c.07.2.16.36.09.44-.07.08 0 .12-.06.1-.34 0-.26.17-.39.25-.13.08-.11.15-.16.23-.05.08.2.3-.13.23a.6.6 0 0 1-.15.49 3.45 3.45 0 0 0-.25.63s-.14.06-.1.14c.04.08.08.22-.12.24-.2.02-.19.07 0 .2s0 .11-.14.12c-.14.01.26.21.15.24-.11.03-.31.13-.28.26.03.13-.12.27-.16.41-.04.14-.17.28-.18.45-.01.17.24.29 0 .36-.4.11 0 .37-.22.52-.22.15.11.25.12.36.02.179 0 .36-.06.53 0 .06-.18.11-.07.18-.44 0-.3.1 0 .18 0 0 .07 0 0 0-.42 0 0 .15 0 .23 0 .08-.16.34-.1.52.019.058.042.115.07.17 0 0 .11.08.09.12a.69.69 0 0 0 0 .58s0 .05-.09.07c-.31.06-.16.1-.1.14.06.04.21.11.13.18-.08.07 0 .06.05.07.27.06.37.14.2.24-.17.1.38.25.12.43h.07a.21.21 0 0 0 .11 0c.27 0 .2.07.06.15-.14.08-.13.1 0 .12.13.02 0 .08 0 .12 0 .04.09.33 0 .53s.13.26.22.38.13.11-.09.25c-.06 0 0 0 0 .07s.15 0 .15 0a.37.37 0 0 1-.07.25c-.09.11.25.07.33.12.08.05 0 0 0 0s.06.12.23.12.15.09.07.19c-.08.1-.2.3-.1.37s.19.09.13.2l-2.38.7z\\\"/></g></svg>\\n\",\n    \"leads\": \"<svg viewBox=\\\"0 0 40 40\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M16.01 18.748a7 7 0 10-7.96.007A11 11 0 001 28.995v8h2v-8a9 9 0 1118 0V35H7v1.995h15a1 1 0 001-1v-7a11 11 0 00-6.99-10.247zM12 8a5 5 0 100 10 5 5 0 000-10z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M18 25c0-5.31 3.365-8 10-8s10 2.69 10 8c0 2.115-.56 3.845-1.665 5.135a3.26 3.26 0 00-.835 2.125v2.24a.5.5 0 01-.8.4l-3.2-2.4-1.45.4A20.33 20.33 0 0128 33c-6.635 0-10-2.69-10-8z\\\" fill=\\\"#fff\\\"/><path d=\\\"M24 22h8v2h-8v-2zm0 4h6v2h-6v-2z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M28 16.1c-7.299 0-11 2.959-11 8.8 0 5.84 3.701 8.8 11 8.8.753.001 1.506-.036 2.255-.11l-.115-2.057a20.95 20.95 0 01-2.14.11c-6.5-.143-9-2.143-8.944-6.743.06-4.9 2.736-6.744 8.944-6.744 5.808 0 9 2.344 8.944 6.744-.021 1.6-.55 3.718-1.568 4.95-.678.766-.207 1.31-.226 1.793a.842.842 0 01-1.342.644l-1.298-.974-.66 1.837 3.52 2.64a.55.55 0 00.88-.44v-2.464a3.58 3.58 0 01.919-2.338C38.384 29.13 39 27.226 39 24.9c0-5.841-3.702-8.8-11-8.8z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"mobile\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 65 104\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><rect fill=\\\"#FFF\\\" x=\\\"1.78\\\" y=\\\"1.24\\\" width=\\\"61.26\\\" height=\\\"100.92\\\" rx=\\\"7.56\\\"/><path d=\\\"M55 102.78c-.69-.11-1.36.13-2 .06h-.49a9.58 9.58 0 0 0-1.07-.05 23.68 23.68 0 0 1-3.37.08 2.73 2.73 0 0 0-.57 0 7.23 7.23 0 0 1-2.78-.09.26.26 0 0 0-.15 0 8.51 8.51 0 0 1-1.95.15c-.523.03-1.047.03-1.57 0a5.8 5.8 0 0 1-1.56 0c-.55-.17-1 .16-1.54.13h-.25a20.37 20.37 0 0 0-2.21 0c-.39 0-.8.09-1.18.09a3 3 0 0 0-1.07 0c-.4.17-.75-.09-1.13 0h-.4c-.26.1-.55.1-.81 0-.49-.1-.58-.56-1.51-.37a1.36 1.36 0 0 1-1.13-.06.15.15 0 0 0-.16 0 .54.54 0 0 1-.76 0c-.5.28-1 .07-1.54.08a2.72 2.72 0 0 1-.89-.14 1.64 1.64 0 0 0-.73 0 8.8 8.8 0 0 1-2 .17 5.06 5.06 0 0 0-1.29 0c-.27 0-.54.19-.79-.1 0-.05-.16 0-.23 0a1.39 1.39 0 0 1-.73 0 13.48 13.48 0 0 0-2.46-.11h-1.15c-.13 0-.26.06-.4.08a3.34 3.34 0 0 1-1.69.1.62.62 0 0 0-.48 0 1.34 1.34 0 0 1-.88.07 3.42 3.42 0 0 0-1.06 0 2.25 2.25 0 0 1-1.23-.07 1.51 1.51 0 0 0-.48 0 7.42 7.42 0 0 1-2.1-.26 7.6 7.6 0 0 1-1-.42 9.93 9.93 0 0 1-2.15-1.1 1.42 1.42 0 0 1-.55-.7 1.63 1.63 0 0 0-.77-.94 2.15 2.15 0 0 1-1-1.64 4.39 4.39 0 0 0-.62-1.94 1.82 1.82 0 0 1-.3-1.4.44.44 0 0 0 0-.32.85.85 0 0 1 .13-.8 1.34 1.34 0 0 0 .12-1A4.08 4.08 0 0 1 1 90.41a.76.76 0 0 0-.08-.55 1.09 1.09 0 0 1-.12-.8 13.69 13.69 0 0 0 .14-1.56 8.12 8.12 0 0 0-.09-1.56 5.68 5.68 0 0 1 0-1.54 3.64 3.64 0 0 1 .09-1c.2-.652.2-1.348 0-2a1.66 1.66 0 0 1 0-.32l.1-2.7a2.12 2.12 0 0 0-.08-.41c0-.09.16-.19.14-.28a2.44 2.44 0 0 1-.12-1.74c-.14-.38.1-.75 0-1.11-.07-.56.13-1.14-.2-1.68a.55.55 0 0 1 0-.4 1.28 1.28 0 0 0-.07-1 .35.35 0 0 1 .16-.43h.06c0-.11-.13-.26-.08-.32.32-.3.18-.61.11-.93a.5.5 0 0 1 0-.32c.18-.465.228-.97.14-1.46 0-.4-.27-.82.11-1.2.07-.07 0-.21 0-.32a3.18 3.18 0 0 1 0-1.15.66.66 0 0 0 0-.48 1.85 1.85 0 0 1 0-1.29c0-.13.08-.29 0-.39a.81.81 0 0 1-.08-.87c.21-.56-.14-1.13.09-1.69a.24.24 0 0 0-.07-.24c-.29-.21-.3-.42-.06-.66.24-.24.12-.34 0-.54a2.55 2.55 0 0 1-.1-1.37c.1-.44.27-.92-.11-1.36-.09-.12 0-.32 0-.48a1.78 1.78 0 0 0 0-.65A1.69 1.69 0 0 1 1 54.55a1.44 1.44 0 0 0 0-1 2.2 2.2 0 0 1-.16-1.2 6.18 6.18 0 0 0 .07-1.13v-1.2c.04-.573.04-1.147 0-1.72a.45.45 0 0 1 .06-.32 1.6 1.6 0 0 0 .09-1.43 1.29 1.29 0 0 1 0-.73 1.56 1.56 0 0 0 0-.57 3.5 3.5 0 0 1 0-1.21A2.78 2.78 0 0 0 1 42.63a2.16 2.16 0 0 1 0-1.46.45.45 0 0 0 0-.39c-.16-.31.1-.59 0-.89a8.08 8.08 0 0 1-.19-1 .69.69 0 0 1 0-.24A9.87 9.87 0 0 0 1 36.79a.84.84 0 0 0-.14-.39.71.71 0 0 1 0-.65 2.68 2.68 0 0 0 .07-.56 2.18 2.18 0 0 0-.09-1.53.18.18 0 0 1 0-.16 1.49 1.49 0 0 0 0-.81 2.48 2.48 0 0 1 .06-.9 3.56 3.56 0 0 0 .1-2.18A3.64 3.64 0 0 1 1 29c0-.55-.44-.58-.44-1.13 0-.28-.1-.47.2-.69.3-.22.18-.61.13-.88a19.84 19.84 0 0 1 0-3.93c0-.33.06-.66.09-1a1.88 1.88 0 0 0-.15-.9 2.73 2.73 0 0 1-.1-1.39 12.59 12.59 0 0 0 .13-2.53A10.93 10.93 0 0 1 1 14a2.28 2.28 0 0 0-.12-1.29 1.2 1.2 0 0 1 .25-1.33c.24-.23.12-.69.12-.69a1.64 1.64 0 0 0 0-.66c0-.22-.4-.63-.37-1.13a6 6 0 0 1 .46-1.85 11 11 0 0 1 .7-2.1c.09-.15.21-.29.31-.44.21-.33.48-.6.7-.91a6.53 6.53 0 0 1 2.82-2.27c.19-.07.38-.18.57-.26a4.31 4.31 0 0 1 3-.45.26.26 0 0 0 .15 0 7.6 7.6 0 0 1 2-.15 11.6 11.6 0 0 1 1.56 0 5.42 5.42 0 0 1 1.56 0c.55.17 1-.17 1.55-.13h.24c.74.045 1.48.045 2.22 0 .38 0 .79-.08 1.18-.08.35.07.71.07 1.06 0 .4-.16.75.1 1.13 0h.41a1.06 1.06 0 0 1 .8 0c.49.09.59.55 1.51.37a1.39 1.39 0 0 1 1.13.05h.16a.54.54 0 0 1 .76 0c.51-.28 1-.07 1.54-.09a3 3 0 0 1 .89.14c.243.06.497.06.74 0a8.12 8.12 0 0 1 2-.17 5.14 5.14 0 0 0 1.3 0c.26 0 .53-.19.78.1h.24c.235-.07.485-.07.72 0a13.52 13.52 0 0 0 2.46.11h1.15c.13 0 .27-.06.4-.07a3.24 3.24 0 0 1 1.69-.1.65.65 0 0 0 .49 0 1.33 1.33 0 0 1 .88-.07 2.84 2.84 0 0 0 1.05 0 2.34 2.34 0 0 1 1.23.07c.155.047.318.064.48.05h1.93c.33 0 .65.1 1 .08.73 0 1.47-.09 2.2-.15a1.25 1.25 0 0 1 .8.14c.355.18.775.18 1.13 0a2.38 2.38 0 0 1 1.76-.05 2.49 2.49 0 0 0 1.86-.08 1.8 1.8 0 0 1 1.44-.07.65.65 0 0 0 .36 0 1 1 0 0 1 .84.35 2 2 0 0 0 .93.51 3.17 3.17 0 0 1 1.78 1 .87.87 0 0 0 .51.35c.302.096.555.304.71.58.33.49.59 1 .87 1.52s.48 1 .75 1.57a4.05 4.05 0 0 1 .34 1.71 3 3 0 0 1 0 1.13 3.41 3.41 0 0 0-.05 2c.01.106.01.214 0 .32l-.1 2.7c.013.139.04.276.08.41-.05.1-.16.2-.14.29a2.44 2.44 0 0 1 .12 1.74c.14.38-.1.75 0 1.11.07.56-.13 1.14.2 1.68a.55.55 0 0 1 0 .4 1.28 1.28 0 0 0 .07 1 .35.35 0 0 1-.16.43h-.06c0 .11.13.26.08.31-.32.31-.18.62-.11.94a.5.5 0 0 1 0 .32 2.71 2.71 0 0 0-.14 1.46c0 .4.27.81-.11 1.2-.07.07 0 .21 0 .32.07.377.07.763 0 1.14a.69.69 0 0 0 0 .49 1.85 1.85 0 0 1 0 1.29c0 .13-.08.29 0 .39a.81.81 0 0 1 .08.87c-.21.56.14 1.13-.09 1.69a.25.25 0 0 0 .07.24c.29.21.3.42.06.66-.24.24-.12.34-.05.54.158.439.193.913.1 1.37-.1.44-.27.92.11 1.36.09.11 0 .32 0 .48a1.73 1.73 0 0 0 0 .64c.115.406.076.84-.11 1.22a1.44 1.44 0 0 0 0 1 2.2 2.2 0 0 1 .16 1.2 6.18 6.18 0 0 0-.07 1.13v1.2a12.2 12.2 0 0 0 0 1.71.44.44 0 0 1-.06.32 1.63 1.63 0 0 0-.09 1.44c.07.238.07.492 0 .73a1.55 1.55 0 0 0 0 .57c.07.4.07.81 0 1.21a2.78 2.78 0 0 0 .06 1.37c.17.472.17.988 0 1.46a.45.45 0 0 0 0 .39c.16.3-.1.59 0 .89.084.329.148.663.19 1a.74.74 0 0 1 0 .24 9.83 9.83 0 0 0-.09 1.88.84.84 0 0 0 .14.39.71.71 0 0 1 0 .65 2.6 2.6 0 0 0-.07.56A2.19 2.19 0 0 0 64 59v.16a1.49 1.49 0 0 0 0 .81 2.48 2.48 0 0 1-.06.9 3.46 3.46 0 0 0-.15 2 2.33 2.33 0 0 1 0 1.2l-.07 1.16c0 .11-.07.1-.15.09.011.317.082.63.21.92.222.391.293.85.2 1.29a.47.47 0 0 0 0 .33.84.84 0 0 1-.13.79 1.35 1.35 0 0 0-.12 1c.168.61.192 1.25.07 1.87a.84.84 0 0 0 .08.56c.143.24.186.528.12.8a13.32 13.32 0 0 0-.14 1.55A8.12 8.12 0 0 0 64 76a5.75 5.75 0 0 1 0 1.55 3.57 3.57 0 0 1-.09 1 3.41 3.41 0 0 0-.05 2c.01.106.01.214 0 .32l-.1 2.7c.013.139.04.276.08.41-.05.09-.16.2-.14.28a2.44 2.44 0 0 1 .12 1.74c.14.38-.1.75 0 1.11.07.56-.13 1.14.2 1.68a.56.56 0 0 1 0 .4 1.28 1.28 0 0 0 .07 1 .36.36 0 0 1-.16.44h-.06c0 .1.13.25.08.31-.32.3-.18.62-.11.93a.5.5 0 0 1 0 .32 2.71 2.71 0 0 0-.14 1.46c0 .4.27.8-.12 1.21-.08.08 0 .23 0 .35a2.49 2.49 0 0 1-.19 1.23.78.78 0 0 0-.1.52 1.74 1.74 0 0 1-.53 1.29c-.09.11-.21.25-.2.37a.86.86 0 0 1-.44.84c-.52.36-.66 1.08-1.29 1.31a.28.28 0 0 0-.14.23.42.42 0 0 1-.53.48.59.59 0 0 0-.53.28 2.26 2.26 0 0 1-.59.48 1.73 1.73 0 0 1-.72.26c-.5.09-1 .05-1.43.51-.11.11-.35 0-.53.06a2.45 2.45 0 0 0-.72 0c-.1-.58-.18-1.17-.25-1.75.123-.02.247-.02.37 0 .227.05.465.03.68-.06a1.24 1.24 0 0 1 .69 0c.48-.23 1.08-.24 1.42-.72a.48.48 0 0 1 .32-.17 3.51 3.51 0 0 0 1.86-1.53c.08-.13.13-.29.26-.36a1.48 1.48 0 0 0 .57-1.09 5.86 5.86 0 0 1 .11-.65 8 8 0 0 0 .43-1.68 2.42 2.42 0 0 0-.06-1.35.77.77 0 0 1 0-.4 12.15 12.15 0 0 0 0-3.13 5.12 5.12 0 0 1 0-.56c0-.66.35-1.3.06-2a.42.42 0 0 1 0-.33 5.47 5.47 0 0 0 .13-1.71 1.23 1.23 0 0 0-.09-.65 1.46 1.46 0 0 1 0-1.21.69.69 0 0 0 0-.32 6.48 6.48 0 0 1 0-1.46 5.13 5.13 0 0 0 .07-1.56 8.93 8.93 0 0 1-.22-1.78 2.36 2.36 0 0 1 0-.65 9.22 9.22 0 0 0 .15-2.22v-1.48c0-.48-.21-1 0-1.46a22.45 22.45 0 0 1-.05-2.72v-3.69c.02-.3.02-.6 0-.9a3.38 3.38 0 0 1-.07-.63.58.58 0 0 1 0-.52 2.29 2.29 0 0 0 .12-1.29v-.09a.87.87 0 0 1 0-.31 11 11 0 0 1-.1-2.21c.033-.85-.014-1.7-.14-2.54a2.6 2.6 0 0 1 .11-1.38 2 2 0 0 0 .14-.9c0-.32-.08-.65-.09-1a19.85 19.85 0 0 1 0-3.93 1 1 0 0 0-.14-.88c-.06-.07 0-.2 0-.3 0-.1.07-.44.07-.66 0-.76 0-1.51.11-2.27a10.46 10.46 0 0 0-.11-3.44 1.84 1.84 0 0 1 0-1 5.19 5.19 0 0 0 0-1.47c0-.11-.07-.22-.05-.32a15 15 0 0 0 .09-3.28 1.4 1.4 0 0 1 0-.41c.15-.51-.16-1 .14-1.54-.11-.59.12-1.2-.16-1.78a.72.72 0 0 1 0-.41 8.51 8.51 0 0 0 .1-2.71 1 1 0 0 1 0-.49 2.28 2.28 0 0 0 0-1.39 4.66 4.66 0 0 1-.13-.73c0-.65.06-1.31.11-2a2.86 2.86 0 0 0-.08-1.39.8.8 0 0 1 0-.41 12.07 12.07 0 0 0 0-3.12 5.44 5.44 0 0 1 0-.57c0-.65.35-1.3.06-2a.42.42 0 0 1 0-.33 5.47 5.47 0 0 0 .13-1.71 1.22 1.22 0 0 0-.09-.65 1.46 1.46 0 0 1 0-1.21.69.69 0 0 0 0-.32 6.48 6.48 0 0 1 0-1.46 5.13 5.13 0 0 0 .07-1.56 8.93 8.93 0 0 1-.22-1.78 3.37 3.37 0 0 1 0-.63 3.5 3.5 0 0 0-.21-2 4.59 4.59 0 0 0-.54-1.22c-.23-.39-.65-.61-.76-1.08a11.2 11.2 0 0 0-1.92-1.51 6.7 6.7 0 0 0-3.19-.79 5.29 5.29 0 0 0-.89 0 3.36 3.36 0 0 1-1.48 0 1.75 1.75 0 0 0-1.06 0 1.31 1.31 0 0 1-.89-.06c-.32-.1-.61.22-1 .16a6.37 6.37 0 0 0-1.79-.14c-.8.07-1.59 0-2.38 0-.79 0-1.73-.08-2.61-.06a6.66 6.66 0 0 1-1.89 0c-1-.27-2 .06-3-.08a13.28 13.28 0 0 0-1.88.12h-2.88a3.15 3.15 0 0 0-1 0c-.34-.32-.67-.21-1 0a.16.16 0 0 1-.16 0c-.4-.29-.81 0-1.21 0-1 .11-1.91-.12-2.87-.07l-.89.05c-.22 0-.44.07-.66.06a28.29 28.29 0 0 0-3.19 0 .4.4 0 0 1-.32-.07c-.24-.22-.48-.11-.72-.07a3.15 3.15 0 0 1-1.06.08.68.68 0 0 0-.4 0 2.25 2.25 0 0 1-1.42.12c-.82-.24-1.63.25-2.45 0a.76.76 0 0 0-.33 0 .67.67 0 0 0-.24.07.89.89 0 0 1-.88 0 1.11 1.11 0 0 0-.65 0 2 2 0 0 1-.65 0c-1-.06-1.91 0-2.87-.11a9 9 0 0 0-2.24.13c-.35.1-.718.131-1.08.09a.56.56 0 0 0-.34.1c-.1.07-.18.19-.29.22-.34.11-.66.26-1 .37-.34.11-.51.52-.76.76a.54.54 0 0 1-.16.14 1.21 1.21 0 0 0-.55.72 2 2 0 0 1-.56.78 2.48 2.48 0 0 0-.79 1.31 9.73 9.73 0 0 1-.22 1.1 2.63 2.63 0 0 0-.16.88c.006.337.05.672.13 1 .025.19.025.38 0 .57 0 .08 0 .2-.05.23a.65.65 0 0 0-.38.73v.51c0 .55.07 1.1.11 1.65.02.19.02.38 0 .57a3.6 3.6 0 0 0 .14 2.17c.075.297.095.606.06.91a1.4 1.4 0 0 0 0 .81.22.22 0 0 1 0 .16 2.24 2.24 0 0 0-.1 1.53c.002.19.029.378.08.56.1.205.1.445 0 .65a.74.74 0 0 0-.14.39 10.76 10.76 0 0 0 .08 1.88.53.53 0 0 1 .06.24 8.08 8.08 0 0 1-.19 1c-.08.3.18.58 0 .89a.5.5 0 0 0-.05.39 1.81 1.81 0 0 1 .32 1.7c-.17.48.26.81.09 1.32a2.48 2.48 0 0 0-.12 1.29c.166.86.223 1.736.17 2.61a13.38 13.38 0 0 0 .14 2.53c.09.465.051.945-.11 1.39a2 2 0 0 0-.14.9c0 .32.08.65.09 1a19.85 19.85 0 0 1 0 3.93 1 1 0 0 0 .14.88c.06.07 0 .2 0 .3 0 .1-.07.44-.07.66 0 .76 0 1.51-.11 2.27a10.47 10.47 0 0 0 .11 3.44 1.84 1.84 0 0 1 0 1 5.18 5.18 0 0 0 0 1.47c0 .11.07.22.05.32a15 15 0 0 0-.09 3.28 1.4 1.4 0 0 1 0 .41c-.15.51.16 1-.14 1.54.11.59-.12 1.19.16 1.78a.72.72 0 0 1 0 .41 8.81 8.81 0 0 0-.1 2.71 1 1 0 0 1 0 .49 2.28 2.28 0 0 0 0 1.39c.064.24.107.483.13.73 0 .65-.06 1.31-.11 2-.088.463-.06.94.08 1.39a.8.8 0 0 1 0 .41 12.07 12.07 0 0 0 0 3.12c.01.19.01.38 0 .57 0 .65-.35 1.29-.06 2a.42.42 0 0 1 0 .33 5.47 5.47 0 0 0-.13 1.71c-.025.22.006.444.09.65a1.46 1.46 0 0 1 0 1.21.69.69 0 0 0 0 .32 6.48 6.48 0 0 1 0 1.46 5.13 5.13 0 0 0-.07 1.56 8.93 8.93 0 0 1 .22 1.78c.03.219.03.441 0 .66a9.11 9.11 0 0 0-.15 2.21v1.49c0 .49.21 1 0 1.46a22.25 22.25 0 0 1 0 2.71v1.85c-.01.578.024 1.157.1 1.73-.005.27.043.538.14.79.198.4.343.823.43 1.26.043.33.22.626.49.82.22.166.375.403.44.67.13.29.53.26.72.51a3.1 3.1 0 0 0 1.23 1 9.81 9.81 0 0 0 2 .72c.387.07.778.12 1.17.15h1.3a6.66 6.66 0 0 1 1.89 0c.997.09 2 .114 3 .07a10.86 10.86 0 0 0 1.88-.12h2.88a3.58 3.58 0 0 0 1 0c.33.31.66.21 1 0 0 0 .12-.05.16 0 .41.3.81 0 1.21 0 1-.11 1.91.11 2.87.07l.9-.05a5 5 0 0 1 .65-.07c1.066.07 2.134.07 3.2 0 .1 0 .24 0 .31.07.24.23.48.12.72.08a3.15 3.15 0 0 1 1.06-.08.82.82 0 0 0 .41 0 2.16 2.16 0 0 1 1.41-.12c.83.23 1.64-.25 2.46 0a.93.93 0 0 0 .32 0 .68.68 0 0 0 .24-.08.92.92 0 0 1 .88 0c.207.08.433.098.65.05a2 2 0 0 1 .65 0c1 .06 1.91 0 2.87.1.781.04 1.564.01 2.34-.09a2.72 2.72 0 0 1 1.23.1c.13.04.27.04.4 0a2 2 0 0 1 .4-.1 7.09 7.09 0 0 1 1.22.1c.42.09.81-.15 1.22-.19a.65.65 0 0 1 .24 0 1.92 1.92 0 0 0 1.06-.13 2.2 2.2 0 0 1 1.14 0 6 6 0 0 0 1.79.16 5.24 5.24 0 0 1 1.31 0l-.6 1.42z\\\" fill=\\\"#000\\\"/><path d=\\\"M1.78 14.42V8.79a7.55 7.55 0 0 1 7.56-7.55h46.14A7.55 7.55 0 0 1 63 8.79v5.63H1.78z\\\" fill=\\\"#3B6EF1\\\"/><path d=\\\"M1.16 14.19c.11-.32-.13-.63-.06-.94v-.22a2.81 2.81 0 0 0 0-.49A5 5 0 0 1 1.11 11a.57.57 0 0 0 0-.26 1.57 1.57 0 0 1 .09-1.27.06.06 0 0 0 0-.07c-.23-.3-.08-.58-.14-.93a2.29 2.29 0 0 1 .06-.78c.05-.26 0-.56.19-.77.19-.21 0-.54.08-.79v-.11c.18-.34.28-.7.44-1a2.8 2.8 0 0 1 .22-.57c.09-.16.27-.27.27-.48 0-.21.31-.25.37-.45s.11-.1.1-.19c-.01-.09.12-.26.26-.33s.59.17.8-.27c.09-.17.16-.42.47-.32h.06c0-.24.06-.35.28-.25 0-.38.4-.33.61-.48a.7.7 0 0 1 .46-.08.45.45 0 0 0 .33-.14 1.79 1.79 0 0 1 .85-.51 1.41 1.41 0 0 0 .63-.17c.11-.09.23-.24.4 0 0 .05.08 0 .11 0a.37.37 0 0 1 .36-.09c.395.079.8.1 1.2.06h.52c.17 0 .12-.06.18-.07.26-.07.51-.33.78-.1a.15.15 0 0 0 .22 0 .31.31 0 0 1 .4-.07.62.62 0 0 0 .48 0 .54.54 0 0 1 .57.07.29.29 0 0 0 .22.05h.88c.3 0 .3.1.45.08.33 0 .67-.09 1-.15a.33.33 0 0 1 .37.14.31.31 0 0 0 .51 0A.57.57 0 0 1 17 .65a.6.6 0 0 0 .85-.08c.19-.18.38-.33.59-.2a.11.11 0 0 0 .15 0c.13-.14.25 0 .36.12a.35.35 0 0 0 .44.13.92.92 0 0 1 .85-.08c.08 0 .18 0 .26-.08a.29.29 0 0 1 .36-.12c.233.079.475.129.72.15.241.02.484-.014.71-.1a1.28 1.28 0 0 1 .7 0c.17 0 .34 0 .48.09a.77.77 0 0 0 .89 0 .27.27 0 0 1 .15 0l1.24.1a.48.48 0 0 0 .18-.08s.09.16.13.13c.26-.14.52-.4.79-.11.17-.15.35.09.51.05.16-.04.52.13.77-.2a.12.12 0 0 1 .18 0 .31.31 0 0 0 .44-.07c.07-.07.14 0 .2.16v.06s.12-.14.14-.08c.14.32.28.18.43.11.15-.07.1-.06.15 0 .22.25.44.16.66.13.22-.03.38-.26.55.12 0 .07.1 0 .15 0 .05 0 .35-.1.52 0a.17.17 0 0 0 .23 0c.2-.22.39-.07.58 0 .19.07.14.08.18 0 .04-.08.26-.2.4-.08.14.12.52-.14.77.09 0 0 .09 0 .11-.08.1-.28.19-.3.3-.06.11.24.16.12.25.06a.59.59 0 0 1 .63-.1c.2.1.42.27.62-.11 0-.09.14 0 .22 0 .08 0 .2.08.29 0 .09-.08.38 0 .56.11.18.11.31.09.48 0 .17-.09.37-.25.55-.16a1.3 1.3 0 0 0 .51.07 3.41 3.41 0 0 1 .55 0c.258.04.522.04.78 0a.13.13 0 0 1 .15.06c.21.34.43.19.65.09.22-.1.22-.11.34 0 .12.11.17 0 .26 0s.36-.15.55 0a.61.61 0 0 0 .63-.07c.23-.11.44-.18.67 0 .05.06.12 0 .18 0s.27.11.4 0a1.73 1.73 0 0 1 .45-.19s.07 0 .11.05c.29.18.58 0 .86.08.06 0 .12-.07.18-.14a.2.2 0 0 1 .3 0c.08.08.17.05.25.08.24.08.47.19.7-.1h.45a.54.54 0 0 1 .41 0c.5.29.5.31 1 .14a.63.63 0 0 1 .27 0c.25 0 .26-.44.51-.44s.21-.1.32.2c.11.3.28.18.4.13a4.05 4.05 0 0 1 1.8 0c.153.01.304.04.45.09a.47.47 0 0 0 .41-.15.6.6 0 0 1 .63-.11 2.89 2.89 0 0 0 1.16.14 2.25 2.25 0 0 1 1.19.18.65.65 0 0 0 .63-.11c.27-.18.54 0 .64.3a.25.25 0 0 0 .32.18c.08.07.23 0 .33 0s.38-.32.63-.22c.274.135.52.318.73.54.28.22.68.15 1 .37.059.062.122.119.19.17.133.112.274.216.42.31a3.48 3.48 0 0 1 1.32 1 1 1 0 0 0 .21.19 1.5 1.5 0 0 1 .77 1.15h.06c.37.15.39.52.6.79a2 2 0 0 1 .3.72c.1.25.27.49.18.77-.09.28.29.46.29.74a.5.5 0 0 1 0 .12c.01.375.04.749.09 1.12 0 .19.09.37.09.55 0 .18-.11.34 0 .49.11.15-.09.34 0 .51.09.17 0 .13 0 .19s.08.24 0 .37-.56.26-.37.69c.07.16.2.35 0 .52v.07c.2.11.25.23 0 .34.28.24.07.47.08.72a1.15 1.15 0 0 1-.14.59.71.71 0 0 0 0 .48c.05.27.12.58.15.88-.2.026-.4.026-.6 0a2.63 2.63 0 0 0-.93 0c-.15.05-.44.19-.52-.1 0-.05-.08 0-.11 0a.31.31 0 0 1-.33 0 2.91 2.91 0 0 0-1.13-.11 4.51 4.51 0 0 1-.52 0 1.42 1.42 0 0 0-.18.08c-.26.07-.52.32-.78.1a.15.15 0 0 0-.22 0 .32.32 0 0 1-.4.07.69.69 0 0 0-.49 0 .51.51 0 0 1-.56-.07.34.34 0 0 0-.22-.05h-.88c-.15 0-.3-.1-.45-.09-.33 0-.67.1-1 .16a.37.37 0 0 1-.37-.14.3.3 0 0 0-.51 0 .57.57 0 0 1-.81 0 .6.6 0 0 0-.85.07c-.19.19-.38.33-.59.2a.12.12 0 0 0-.15 0c-.13.14-.25 0-.36-.12a.33.33 0 0 0-.44-.12.89.89 0 0 1-.85.07.19.19 0 0 0-.26.08.28.28 0 0 1-.37.12 2.88 2.88 0 0 0-.71-.14 1.76 1.76 0 0 0-.71.09 1.32 1.32 0 0 1-.71 0c-.16 0-.33 0-.47-.09a.77.77 0 0 0-.89-.05.8.8 0 0 1-.15 0l-1.24-.1c-.06 0-.12.05-.18.07 0-.05-.09-.16-.13-.14-.26.14-.52.4-.79.12-.18.14-.35-.1-.51 0-.16.1-.52-.14-.77.2a.12.12 0 0 1-.18 0 .32.32 0 0 0-.44.07c-.08.08-.14 0-.2-.16v-.05s-.12.14-.14.08c-.14-.31-.29-.18-.43-.1-.14.08-.1 0-.15 0-.22-.26-.44-.16-.66-.14-.22.02-.38.26-.55-.12 0-.07-.1 0-.15 0-.05 0-.35.11-.52 0a.16.16 0 0 0-.23 0c-.2.22-.39.06-.58 0-.19-.06-.14-.08-.18 0-.04.08-.26.19-.4.08s-.52.13-.77-.1c0 0-.09 0-.11.08-.1.28-.19.3-.3.06-.11-.24-.16-.12-.25 0a.59.59 0 0 1-.63.1c-.2-.11-.42-.27-.62.1-.05.1-.15 0-.22 0s-.2-.09-.29 0c-.09.09-.38 0-.56-.11-.18-.11-.31-.1-.48 0-.17.1-.37.25-.55.16a1 1 0 0 0-.51-.07h-.55a2.27 2.27 0 0 0-.78 0 .16.16 0 0 1-.15-.06c-.22-.35-.44-.19-.66-.09-.22.1-.21.1-.33 0-.12-.1-.17 0-.26 0s-.36.14-.56 0a.64.64 0 0 0-.62.07c-.23.11-.44.19-.67 0h-.18c-.06 0-.27-.1-.41 0a1.89 1.89 0 0 1-.44.19s-.08 0-.11-.06c-.29-.18-.58 0-.86-.08-.06 0-.12.07-.18.14a.19.19 0 0 1-.3 0c-.08-.08-.17 0-.25-.08-.24-.08-.47-.18-.7.1h-.45a.55.55 0 0 1-.41-.06c-.48-.28-.5-.3-.93-.16a.52.52 0 0 1-.55 0l-.53-.08v-.15a.78.78 0 0 0-.42.22c-.2.19-.39.33-.59.2a.12.12 0 0 0-.15 0c-.13.14-.25 0-.37-.12a.32.32 0 0 0-.43-.12.91.91 0 0 1-.86.07.18.18 0 0 0-.25.08.29.29 0 0 1-.37.12 3 3 0 0 0-.71-.14 1.72 1.72 0 0 0-.71.09 1.32 1.32 0 0 1-.71 0c-.16 0-.33 0-.48-.09-.3-.27-.59-.16-.89-.05h-.15l-1.23-.1c-.06 0-.12.05-.19.07 0-.05-.09-.16-.13-.14-.27.14-.53.4-.8.12-.17.14-.34-.1-.51 0-.17.1-.52-.14-.76.2a.13.13 0 0 1-.19 0 .32.32 0 0 0-.44.07c-.07.08-.14 0-.19-.16v-.05s-.12.14-.15.08c-.14-.31-.28-.18-.43-.1-.15.08-.1 0-.14 0-.22-.26-.44-.16-.67-.14-.23.02-.37.26-.55-.12 0-.07-.09 0-.14 0-.05 0-.35.11-.53 0a.15.15 0 0 0-.22 0c-.2.22-.39.06-.59 0-.2-.06-.13-.08-.18 0-.05.08-.26.19-.39.08s-.52.13-.78-.1c0 0-.08 0-.11.08-.093.28-.193.3-.3.06-.07-.17-.15-.12-.25 0a.58.58 0 0 1-.62.1c-.2-.11-.42-.27-.63.1 0 .1-.14 0-.21 0-.07 0-.21-.09-.3 0l-.1-1.76a.25.25 0 0 1 .19 0c.23.15.47-.16.7.14.27-.12.55.12.82-.16.05-.06.12 0 .18 0a1.9 1.9 0 0 0 1.24.1c.08 0 .16-.07.23 0s.42 0 .63 0c.21 0 .22-.14.33-.13.302.017.603.054.9.11.22 0 .43.11.64-.08a.19.19 0 0 1 .19 0 2.54 2.54 0 0 0 1.42 0 .74.74 0 0 1 .26 0c.3 0 .6.35.9.06 0-.05.1 0 .15 0 .26.26.52.07.78.14a.33.33 0 0 0 .3-.09.35.35 0 0 1 .55 0 .17.17 0 0 0 .15 0c.22-.06.45-.06.67 0a1.1 1.1 0 0 0 .71.07 2 2 0 0 1 .81-.22c.1 0 .21-.07.3 0 .34.22.68.1 1 .14a3 3 0 0 0 .67 0c.23 0 .45-.22.67 0a4.32 4.32 0 0 1 1.24 0h1.69c.14 0 .28.07.41 0a.75.75 0 0 1 .29-.06c.07-.08.14-.11.24 0a.55.55 0 0 0 .59.12.22.22 0 0 1 .14-.05 2.52 2.52 0 0 1 1-.11 2.7 2.7 0 0 0 1.16-.13.61.61 0 0 1 .64.1.47.47 0 0 0 .41.15 2.15 2.15 0 0 1 .44-.09 4.37 4.37 0 0 1 1.8 0c.13.05.28.12.4-.13 0-.06.1 0 .14 0 .096.04.197.068.3.08a8.94 8.94 0 0 1 1 .11 2.36 2.36 0 0 0 1.57-.11.43.43 0 0 1 .45 0c.22.15.44 0 .67 0 0 0 .1-.07.14-.06.484.157 1 .191 1.5.1a.25.25 0 0 1 .19 0c.23.15.48-.16.7.14.27-.12.55.12.82-.16.05-.06.12 0 .19 0a1.9 1.9 0 0 0 1.24.1c.07 0 .15-.07.22 0s.42 0 .63 0c.21 0 .23-.14.34-.13.302.017.603.054.9.11.21 0 .42.11.63-.08a.19.19 0 0 1 .19 0 2.58 2.58 0 0 0 1.43 0 .77.77 0 0 1 .26 0c.3 0 .59.35.89.06a.1.1 0 0 1 .15 0c.26.26.52.07.78.14a.32.32 0 0 0 .3-.09.35.35 0 0 1 .55 0 .17.17 0 0 0 .15 0c.22-.06.45-.06.67 0a1.1 1.1 0 0 0 .71.07 2 2 0 0 1 .82-.22c.1 0 .2-.07.3 0 .33.22.67.1 1 .14.226.025.454.025.68 0 .22 0 .44-.22.67 0a4.29 4.29 0 0 1 1.24 0h1.69c.13 0 .27.07.41 0a.72.72 0 0 1 .67 0 .38.38 0 0 0 .48 0c.14-.11.28 0 .41.07.13.07.28-.23.44-.16.255.12.54.166.82.13a6.59 6.59 0 0 1 1.09 0c.4 0 .79.08 1.19.06.4-.02.58-.21.87 0 .45.26.9-.06 1.35.07.28.09.57-.1.85-.12.44-.025.88-.025 1.32 0 .09 0 .17.12.22 0 .19.31.3.21.22 0 0 0 .24.15.23.09-.01-.06-.11-.19-.13-.23a.27.27 0 0 1 0-.28.58.58 0 0 0 .05-.14 1.53 1.53 0 0 0 0-.31v-.41c0-.14-.08-.2-.07-.3a5.49 5.49 0 0 0 0-1.46.11.11 0 0 1 .06-.14c.23-.11.12-.22.08-.33a.69.69 0 0 1-.08-.48.17.17 0 0 0 0-.19.53.53 0 0 1-.12-.65c.21-.37-.26-.65-.11-1 0 0 0-.08-.07-.12-.07-.04 0-.06-.08-.08-.22-.08-.17-.2-.1-.33s.06-.2 0-.26 0-.17 0-.26c-.07-.38-.26-.71-.35-1.1-.09-.39-.35-.53-.56-.75-.21-.22-.25-.22-.21-.46 0-.07-.06-.09-.11-.12s-.16 0-.19 0a3.12 3.12 0 0 1-.27-.43c-.07-.18-.34-.11-.49-.18a.13.13 0 0 1-.07-.06c-.06-.15-.23-.17-.4-.15a.36.36 0 0 1-.37-.24.89.89 0 0 0-.55-.46 1 1 0 0 1-.49-.16.72.72 0 0 0-.78-.17.53.53 0 0 1-.22 0s-.08 0-.08-.07c0-.38-.13-.43-.23-.42l-.21-.05-.68.07a.75.75 0 0 1-.26 0c-.5-.16-.5-.15-1 .14a.59.59 0 0 1-.41.06c-.12 0-.25-.11-.37 0s-.05 0-.07 0c-.24-.29-.47-.18-.71-.1-.08 0-.17 0-.25.08a.19.19 0 0 1-.3 0c0-.07-.12-.16-.17-.14-.29.07-.58-.1-.87.08 0 0-.07.06-.11 0a1.85 1.85 0 0 1-.44-.18c-.14-.09-.27.17-.41 0-.14-.17-.13-.11-.18 0a.44.44 0 0 1-.67 0c-.22-.17-.37.26-.6.09a.58.58 0 0 0-.59-.13 2.27 2.27 0 0 1-1.19.18 2.87 2.87 0 0 0-1.16.14.61.61 0 0 1-.64-.11.47.47 0 0 0-.41-.15 2.16 2.16 0 0 1-.44.1 4.2 4.2 0 0 1-1.8 0c-.13 0-.28-.11-.41.13 0 .07-.09 0-.13 0-.04 0-.2-.07-.3-.08a7.19 7.19 0 0 1-1-.11 2.34 2.34 0 0 0-1.58.12.43.43 0 0 1-.44 0c-.22-.15-.45 0-.67 0 0 0-.1.07-.14 0a3.19 3.19 0 0 0-1.5-.1.25.25 0 0 1-.19 0c-.23-.14-.48.16-.7-.13-.27.11-.55-.13-.82.15 0 .06-.13 0-.19 0a1.83 1.83 0 0 0-1.24-.1c-.07 0-.15.07-.22 0s-.42 0-.63 0c-.21 0-.23.13-.34.12a6.91 6.91 0 0 1-.9-.11c-.21 0-.42-.1-.63.08a.15.15 0 0 1-.19 0 2.58 2.58 0 0 0-1.43 0 2.3 2.3 0 0 1-.26 0c-.3 0-.59-.36-.89-.06a.1.1 0 0 1-.15 0c-.26-.26-.53-.06-.79-.14a.3.3 0 0 0-.29.1.37.37 0 0 1-.56 0 .12.12 0 0 0-.14 0 1.38 1.38 0 0 1-.67 0 1.18 1.18 0 0 0-.71-.08 1.91 1.91 0 0 1-.82.23c-.1 0-.2.06-.3 0-.33-.23-.67-.1-1-.15a5.15 5.15 0 0 0-.68 0c-.22 0-.44.22-.67 0a4.67 4.67 0 0 1-1.24 0h-1.69c-.13 0-.27-.07-.41 0a.72.72 0 0 1-.67 0 .41.41 0 0 0-.49 0c-.13.12-.27 0-.4-.06s-.28.22-.44.16a1.41 1.41 0 0 0-.82-.14 6.6 6.6 0 0 1-1.09 0c-.4 0-.79-.08-1.19-.06-.4.02-.58.21-.87 0-.45-.27-.9.06-1.35-.08-.28-.08-.57.11-.85.13l-1.19.1c-.14 0-.29-.07-.4 0-.21-.27-.33-.13-.41.1 0 0 0 .06-.06 0-.25-.23-.32.11-.45.21-.32.25-.77.22-1.09.48a1.68 1.68 0 0 0-.29.24c-.06.07-.1.17-.18.22a2.7 2.7 0 0 0-1 .88.11.11 0 0 1-.14.06c-.24-.08-.22.07-.25.18-.03.11-.06.32-.2.4a.15.15 0 0 0-.06.16c.05.26 0 .46-.2.56-.2.1-.06.69-.35.92v.14a.17.17 0 0 0 0 .11c.15.17.08.25 0 .34a.22.22 0 0 0-.12.24c0 .1 0 .17-.06.25-.13.36-.09.75-.21 1.13a2.8 2.8 0 0 0 .09 1.07c0 .19.07.38-.11.56-.18.18 0 .12 0 .19s.11.12.1.18a1.78 1.78 0 0 1-.1.55c-.09.2.15.38.19.56a.17.17 0 0 1 0 .12c-.08.16 0 .32.12.48A.47.47 0 0 1 3 13a1.35 1.35 0 0 0-.16.82 1.12 1.12 0 0 1 0 .6l-1.68-.23z\\\" fill=\\\"#000\\\"/><path d=\\\"M1.78 82.15v12.41a7.55 7.55 0 0 0 7.56 7.56h46.14a7.55 7.55 0 0 0 7.56-7.56V82.15H1.78z\\\" fill=\\\"#3B6EF1\\\"/><path d=\\\"M2.4 82.41c-.11.34.13.68.06 1a1.09 1.09 0 0 0 0 .25 2.38 2.38 0 0 0 0 .53 6 6 0 0 1 .08 1.69.74.74 0 0 0 0 .29c.15.458.118.956-.09 1.39a.07.07 0 0 0 0 .07c.23.33.07.66.15 1 .03.262.03.528 0 .79 0 .26.1.53-.06.78s.17.51.14.77v.13a5.06 5.06 0 0 0 0 1.1c0 .2.09.4.09.6 0 .2-.11.36 0 .53.11.17-.09.38 0 .56.09.18 0 .15 0 .21s.08.26 0 .4-.54.28-.34.7c.08.16.25.31 0 .52v.07c.21.08.28.17.1.34.34.15.17.43.28.65a.7.7 0 0 1 0 .43.33.33 0 0 0 .13.31c.232.202.428.442.58.71a.88.88 0 0 0 .35.47c.11.07.29.08.15.35 0 0 0 .07.07.07s.2.11.25.22c.178.344.448.631.78.83.15.09.27.22.43.3.067.005.133.005.2 0 .25.09.59 0 .73.27a.14.14 0 0 0 .21.05.31.31 0 0 1 .39.07.54.54 0 0 0 .45.16.55.55 0 0 1 .52.19.27.27 0 0 0 .2.08c.293.015.587.015.88 0 .154.045.311.078.47.1.37 0 .74-.1 1.1-.16a.42.42 0 0 1 .41.14.35.35 0 0 0 .56 0 .66.66 0 0 1 .88-.05.69.69 0 0 0 .93-.07c.22-.19.42-.33.65-.2a.12.12 0 0 0 .16 0c.14-.13.27 0 .4.13a.38.38 0 0 0 .48.12 1.06 1.06 0 0 1 .93-.07c.1.043.218.01.28-.08a.33.33 0 0 1 .4-.12c.254.076.516.123.78.14.263.02.528-.01.78-.09.255-.07.525-.07.78 0 .17 0 .36 0 .52.09a.92.92 0 0 0 1 .05h.16l1.35.1a.86.86 0 0 0 .21-.07c0 .05.1.16.14.14.29-.14.58-.41.87-.12.19-.14.38.1.56.05.18-.05.57.13.84-.2a.16.16 0 0 1 .2 0 .37.37 0 0 0 .48-.06c.08-.08.16 0 .22.16v.05s.13-.14.16-.08c.15.31.31.17.47.1.16-.07.11-.06.16 0 .24.25.48.16.73.14.25-.02.4-.26.6.12 0 .07.1 0 .16 0s.38-.1.57 0a.2.2 0 0 0 .25 0c.21-.22.42-.06.64 0 .06 0 .14.08.19 0 .15-.22.29-.19.44-.08.15.11.57-.14.85.1 0 0 .09 0 .12-.08.1-.29.21-.3.33-.06.12.24.17.12.27.05a.69.69 0 0 1 .69-.1c.22.11.45.27.68-.1 0-.1.15 0 .23 0 .08 0 .23.09.33 0s.41 0 .61.11a.39.39 0 0 0 .52 0c.19-.13.41-.25.6-.16.179.067.37.09.56.07h.61c.285.045.575.045.86 0a.14.14 0 0 1 .16.06c.23.35.47.19.71.09s.24-.1.37 0a.41.41 0 0 0 .29 0c.2 0 .39-.15.6 0a.78.78 0 0 0 .69-.07c.25-.11.48-.19.73 0 .05.06.14 0 .2 0s.29.1.44 0c.156-.08.32-.144.49-.19 0 0 .08 0 .12.06.31.18.63 0 .94.08.07 0 .14-.08.2-.14a.21.21 0 0 1 .32 0c.1.08.19 0 .28.08.26.08.52.18.77-.1h.08c.02 0 .27.05.41 0a.65.65 0 0 1 .45.06c.55.29.55.3 1.09.14a.71.71 0 0 1 .29-.05c.27 0 .29-.44.56-.44.27 0 .23-.1.35.2.12.3.3.18.44.13a5.22 5.22 0 0 1 2 0c.165.02.329.05.49.09a.58.58 0 0 0 .45-.14.7.7 0 0 1 .69-.11c.41.125.842.173 1.27.14a2.71 2.71 0 0 1 1.31.17.64.64 0 0 0 .65-.12c.26-.19.49-.08.63.23a.22.22 0 0 0 .33.11c.09.06.22 0 .31-.07s.22-.44.44-.44c.275-.009.55.011.82.06.34 0 .54-.34.84-.42a1.41 1.41 0 0 0 .22-.06c.159-.05.31-.12.45-.21.44-.29.7-.77 1.16-1 .08 0 .11-.13.16-.21a2 2 0 0 1 .84-.95v-.07c0-.36.24-.54.29-.85a4.6 4.6 0 0 1 .25-.65c.09-.22 0-.49.24-.67.24-.18-.09-.48 0-.7v-.11a3.43 3.43 0 0 0 0-1c0-.19-.09-.4-.09-.59 0-.19.11-.37 0-.53-.11-.16.09-.38 0-.57-.09-.19 0-.14-.05-.2s-.08-.27 0-.41c.08-.14.56-.29.37-.75-.07-.18-.2-.38.06-.57-.2-.13-.25-.25 0-.38-.28-.25-.07-.51-.08-.77a.88.88 0 0 1 .14-.45.41.41 0 0 0 0-.36 2.46 2.46 0 0 1-.17-1 1.3 1.3 0 0 0 0-.65c-.05-.13-.19-.27.1-.39v-.12a.36.36 0 0 1 0-.36c.11-.4.148-.817.11-1.23a5.61 5.61 0 0 1 0-.58 1.67 1.67 0 0 0-.08-.2 3.61 3.61 0 0 0-.16-.42.81.81 0 0 1 0-.2.36.36 0 0 1 .09-.09c.06 0 0-.09 0-.09s-.12 0-.07-.12a.32.32 0 0 0 .05-.17.19.19 0 0 0-.1 0c-.14.08-.16.07-.18-.07a.07.07 0 0 0-.09 0H61c-.17 0-.33-.1-.49-.08-.37 0-.74.09-1.11.15a.39.39 0 0 1-.4-.14.35.35 0 0 0-.56 0 .66.66 0 0 1-.88 0 .69.69 0 0 0-.93.08c-.22.18-.42.33-.65.2a.11.11 0 0 0-.16 0c-.15.14-.28 0-.4-.13a.4.4 0 0 0-.48-.12 1.08 1.08 0 0 1-.94.07.24.24 0 0 0-.28.09.32.32 0 0 1-.4.11 3.56 3.56 0 0 0-.78-.14 1.91 1.91 0 0 0-.78.1 1.55 1.55 0 0 1-.77 0c-.18 0-.36 0-.53-.09-.32-.27-.64-.16-1-.05a.45.45 0 0 1-.16 0l-1.35-.1a.6.6 0 0 0-.21.08c0-.05-.1-.16-.14-.14-.29.15-.58.41-.88.12-.18.15-.37-.09-.55 0-.18.09-.57-.13-.84.2a.15.15 0 0 1-.2 0 .37.37 0 0 0-.49.07c-.08.07-.15 0-.21-.16v-.06s-.13.14-.16.08c-.15-.32-.31-.18-.47-.11-.16.07-.11.06-.16 0-.24-.25-.48-.16-.73-.13s-.41.26-.6-.12c0-.07-.1 0-.16 0s-.38.1-.57 0a.2.2 0 0 0-.25 0c-.22.22-.43.07-.64 0-.21-.07-.15-.08-.2 0-.14.22-.28.2-.43.08-.15-.12-.57.14-.85-.09 0 0-.09 0-.12.07-.1.29-.21.3-.33.07-.12-.23-.17-.12-.27-.06a.69.69 0 0 1-.69.1c-.22-.1-.46-.27-.68.11-.06.09-.16 0-.24 0-.08 0-.22-.08-.32 0s-.41 0-.61-.11a.4.4 0 0 0-.52 0c-.2.14-.41.25-.6.16a1.62 1.62 0 0 0-.57-.07 4 4 0 0 1-.6 0 3.1 3.1 0 0 0-.86 0 .14.14 0 0 1-.16-.06c-.23-.34-.47-.19-.71-.09s-.24.1-.37 0a.41.41 0 0 0-.29 0c-.2 0-.39.15-.6 0a.74.74 0 0 0-.69.06.57.57 0 0 1-.73 0c-.06-.06-.14 0-.2.05s-.29-.11-.44 0a2.47 2.47 0 0 1-.49.19H28c-.32-.18-.63 0-1-.08-.06 0-.13.07-.19.14a.22.22 0 0 1-.33 0c-.09-.07-.18 0-.28-.07-.26-.09-.51-.19-.76.1h-.49a.7.7 0 0 1-.45 0c-.53-.28-.55-.31-1-.16a.61.61 0 0 1-.6 0l-.58-.07c-.06 0-.05-.07-.05-.15a.76.76 0 0 0-.46.22c-.21.18-.42.33-.65.2a.11.11 0 0 0-.16 0c-.14.14-.27 0-.4-.13a.4.4 0 0 0-.48-.12 1.06 1.06 0 0 1-.93.07.24.24 0 0 0-.28.09.32.32 0 0 1-.4.11 3.56 3.56 0 0 0-.78-.14 1.89 1.89 0 0 0-.78.1 1.58 1.58 0 0 1-.78 0c-.17 0-.36 0-.52-.09a.92.92 0 0 0-1-.05.45.45 0 0 1-.16 0l-1.35-.1a.5.5 0 0 0-.2.08c0-.05-.1-.16-.14-.14-.29.15-.58.41-.87.12-.19.15-.38-.09-.56 0-.18.09-.57-.13-.84.2a.15.15 0 0 1-.2 0 .36.36 0 0 0-.48.07c-.08.07-.16 0-.22-.16v-.06c-.05 0-.13.14-.16.08-.15-.32-.31-.18-.47-.11-.16.07-.11.06-.15 0-.24-.25-.49-.16-.74-.13s-.4.26-.6-.12c0-.07-.1 0-.16 0s-.38.1-.57 0a.18.18 0 0 0-.24 0c-.22.22-.43.07-.65 0-.06 0-.14-.08-.19 0-.15.22-.29.2-.44.08-.15-.12-.57.14-.85-.09 0 0-.09 0-.11.07-.11.29-.22.3-.34.07-.12-.23-.17-.12-.27-.06a.68.68 0 0 1-.68.1c-.23-.1-.46-.27-.69.11 0 .09-.15 0-.23 0-.08 0-.23-.08-.33 0l-.11-1.75a.31.31 0 0 1 .21 0c.25.14.51-.17.76.13.3-.11.6.13.9-.15.06-.06.14 0 .2 0a2.2 2.2 0 0 0 1.36.1c.08 0 .17-.07.25 0 .23.2.46 0 .69 0a1.26 1.26 0 0 1 .37-.13c.335.02.67.06 1 .12.24 0 .47.1.7-.09a.18.18 0 0 1 .2 0 3.09 3.09 0 0 0 1.57 0 2.66 2.66 0 0 1 .28 0c.33 0 .65.36 1 .06a.12.12 0 0 1 .17 0c.28.26.57.06.85.13a.35.35 0 0 0 .33-.09.41.41 0 0 1 .6 0 .16.16 0 0 0 .16 0 1.68 1.68 0 0 1 .74 0c.247.1.518.128.78.08a2.22 2.22 0 0 1 .89-.23c.11 0 .22-.07.33 0 .36.23.74.1 1.11.15.246.015.494.015.74 0 .24 0 .49-.22.73 0a5.17 5.17 0 0 1 1.36 0h1.85c.15 0 .3.07.45 0 .1-.037.204-.061.31-.07a.18.18 0 0 1 .27 0 .64.64 0 0 0 .64.13.25.25 0 0 1 .16-.06 2.73 2.73 0 0 1 1.1-.1 3.43 3.43 0 0 0 1.27-.14.72.72 0 0 1 .7.11.51.51 0 0 0 .44.14 4.63 4.63 0 0 1 .49-.09 5 5 0 0 1 2 0c.14 0 .3.11.44-.14 0-.06.1 0 .16 0s.21.07.32.08a8.79 8.79 0 0 1 1.14.11 2.75 2.75 0 0 0 1.72-.12.53.53 0 0 1 .49 0c.25.15.49 0 .73 0 .06 0 .11-.07.16 0a3.85 3.85 0 0 0 1.65.1.27.27 0 0 1 .2 0c.26.14.52-.17.77.13.3-.11.6.13.9-.15.06-.06.13 0 .2 0a2.19 2.19 0 0 0 1.36.1c.08 0 .17-.07.24 0 .24.2.47 0 .7 0a1.3 1.3 0 0 1 .36-.13c.335.02.67.06 1 .12a.8.8 0 0 0 .7-.09.18.18 0 0 1 .2 0 3.06 3.06 0 0 0 1.56 0 2.85 2.85 0 0 1 .29 0c.33 0 .65.36 1 .06a.11.11 0 0 1 .16 0c.28.26.57.06.86.13a.33.33 0 0 0 .32-.09.42.42 0 0 1 .61 0 .16.16 0 0 0 .16 0c.24-.055.49-.055.73 0 .247.1.518.128.78.08a2.31 2.31 0 0 1 .9-.23c.11 0 .22-.07.32 0 .37.23.74.1 1.11.15.25.015.5.015.75 0 .24 0 .49-.22.73 0a5.15 5.15 0 0 1 1.36 0h1.85c.15 0 .3.07.45 0 .23-.11.5-.11.73 0a.48.48 0 0 0 .54 0c.15-.12.29 0 .44.06.15.06.31-.22.48-.16.281.129.593.177.9.14a7.87 7.87 0 0 1 1.19 0c.35 0 1.13.08 1.75.06a5.42 5.42 0 0 0 .64-.07 2 2 0 0 1 0 .9 2.72 2.72 0 0 0-.08 1.11 2 2 0 0 1 0 .74c-.09.31.1.62.12.94.025.48.025.96 0 1.44 0 .16-.12.32 0 .49-.31.17-.21.33 0 .5v.08c-.3.21 0 .41 0 .61a10 10 0 0 1-.07 1.44c0 .14 0 .29.05.44a1.3 1.3 0 0 1 .07.33 6.12 6.12 0 0 0 0 1.6c0 .06 0 .12-.07.16-.07.04-.12.24-.08.36a.83.83 0 0 1 .08.53.19.19 0 0 0 0 .2.6.6 0 0 1 .11.71c-.22.39.24.85 0 1.31v.19c.001.05.019.1.05.14.17.19.09.36-.05.51a.42.42 0 0 0-.12.35c0 .14-.07.23-.11.35a6.13 6.13 0 0 1-.68 1.47 9.91 9.91 0 0 0-.61 1.17c-.12.19-.21.42-.5.48-.08 0-.11.1-.15.17-.04.07 0 .18-.07.24a1.74 1.74 0 0 1-.56.4c-.23.1-.24.42-.4.59a.28.28 0 0 1-.12.08c-.22.06-.32.25-.43.45a.74.74 0 0 1-.57.34 2.52 2.52 0 0 0-1 .28 1.3 1.3 0 0 1-.69.28 2.1 2.1 0 0 0-1.14.3.9.9 0 0 1-.32.09h-.14c-.14-.37-.3-.39-.43-.36h-.29c-.29.05-.55.08-.83.11a1 1 0 0 1-.29 0c-.54-.17-.54-.16-1.09.13a.64.64 0 0 1-.45.06c-.13 0-.27-.11-.4 0s-.06 0-.08 0c-.26-.28-.51-.18-.77-.09-.09 0-.19 0-.28.07a.22.22 0 0 1-.33 0c-.06-.06-.13-.15-.19-.14-.32.07-.63-.1-.94.08 0 0-.09.07-.13.06a2.39 2.39 0 0 1-.48-.19c-.15-.08-.3.18-.45 0-.15-.18-.14-.1-.2 0a.52.52 0 0 1-.73 0c-.24-.17-.4.26-.66.09a.69.69 0 0 0-.64-.12 2.86 2.86 0 0 1-1.31.18 3.22 3.22 0 0 0-1.27.13.74.74 0 0 1-.7-.1.53.53 0 0 0-.44-.15 4.37 4.37 0 0 1-.5.09c-.66.13-1.34.13-2 0-.14-.05-.31-.12-.45.13 0 .06-.1 0-.15 0a1.32 1.32 0 0 0-.33-.08 11 11 0 0 1-1.14-.11 2.75 2.75 0 0 0-1.72.11.48.48 0 0 1-.48 0c-.25-.15-.49 0-.74 0 0 0-.1.07-.16.06a3.64 3.64 0 0 0-1.64-.1.34.34 0 0 1-.2 0c-.26-.15-.52.16-.77-.14-.3.12-.6-.12-.9.16-.06.06-.13 0-.2 0a2.27 2.27 0 0 0-1.36-.1c-.08 0-.17.07-.25 0-.23-.21-.46 0-.69 0-.23 0-.24.14-.36.13-.33 0-.66-.06-1-.11a.77.77 0 0 0-.7.08.21.21 0 0 1-.2 0 3.09 3.09 0 0 0-1.57 0h-.28c-.33 0-.65-.35-1-.06a.1.1 0 0 1-.16 0c-.29-.25-.58-.06-.86-.13a.39.39 0 0 0-.33.09.4.4 0 0 1-.6 0 .19.19 0 0 0-.16 0 1.54 1.54 0 0 1-.74 0 1.31 1.31 0 0 0-.78-.07 2.38 2.38 0 0 1-.89.22c-.11 0-.22.07-.33 0-.36-.22-.74-.1-1.11-.15a4.57 4.57 0 0 0-.74 0c-.24 0-.49.22-.73 0a5.17 5.17 0 0 1-1.36.05h-1.85c-.15 0-.3-.07-.45 0a.87.87 0 0 1-.74 0 .45.45 0 0 0-.53 0c-.15.11-.29 0-.44-.07-.15-.07-.31.23-.49.16a1.73 1.73 0 0 0-.89-.13 6.56 6.56 0 0 1-1.24 0 9.23 9.23 0 0 1-1.39-.27c-.33-.07-.74 0-1-.27s-1-.37-1.4-.77a5.94 5.94 0 0 0-.9-.49 5.61 5.61 0 0 1-.9-1.41c-.11-.14-.12-.35-.3-.44.14-.33 0-.4-.31-.46 0 0-.07 0-.06-.06.14-.35-.24-.37-.37-.55a5.22 5.22 0 0 1-.52-1.48 4.43 4.43 0 0 0-.17-.47c0-.11-.13-.21-.13-.34-.06-.58-.07-1.18-.15-1.73 0-.05 0-.12.07-.16.23-.11.12-.24.08-.36a.82.82 0 0 1-.08-.53.21.21 0 0 0 0-.2.59.59 0 0 1-.12-.71c.23-.41-.25-.82 0-1.23v-.16c0-.05 0-.09-.08-.12s-.14-.29 0-.44a.33.33 0 0 0 0-.33c-.06-.11 0-.22 0-.32.008-.481.042-.962.1-1.44a3.57 3.57 0 0 0-.09-1.17.74.74 0 0 1 .1-.62c.06-.06 0-.13 0-.2s-.11-.13-.1-.2c0-.207.033-.414.1-.61.09-.21-.15-.41-.19-.61a.17.17 0 0 1 0-.12.54.54 0 0 0-.13-.53.58.58 0 0 1 0-.57 1.6 1.6 0 0 0 .16-.9 1.24 1.24 0 0 1 0-.66l1.59.26z\\\" fill=\\\"#000\\\"/><circle fill=\\\"#FFF\\\" cx=\\\"32.41\\\" cy=\\\"92.14\\\" r=\\\"3.47\\\"/><path d=\\\"M36.36 92.18c-.09 0 .1.11 0 .16v.08c0 .03.15.2 0 .28-.15.08 0 0 0 0s.12.18-.1.21c.17.09 0 .11.07.18.07.07 0 .08 0 .12 0 .04 0 .11-.08.11s.09.13.06.16c0 0-.05.11-.07.17-.02.06 0 .09 0 .12s-.1 0 0 .09-.1 0-.06.08c.04.08 0 0 0 0v.08s-.4-.17-.31 0c.09.17.1.14-.09.06.12.1.15.14 0 .07.16.15 0 .1 0 .14 0 .04-.07 0-.13 0s-.06 0 0 0 .08.2 0 .21c-.08.01-.07 0 0 .09s.08.13-.11 0v.06c0-.01-.17 0-.19.09-.02.09-.05 0-.07.06-.02.06 0 0 0 .06s.1.25 0 .15 0 0 0 .05v.09c0-.01-.09 0-.08 0 .01 0 0 .09-.11 0s0 0-.06 0-.07.07-.11.12c-.04.05-.09 0-.1 0a.93.93 0 0 0-.09.2l-.11-.06c-.11-.06-.12-.1-.09 0s0 .21-.11.1c-.11-.11-.15-.09-.11.12.04.21 0 .26 0 .18 0-.08 0 0 0 0l-.1-.06c-.1-.06-.1-.12-.1-.06s0 .21-.13.1c-.13-.11 0 0 0 .08v.11a.3.3 0 0 0-.16-.08s-.08 0-.11.11-.08.06-.13 0 0 0-.1-.06-.12-.1-.16 0c-.04.1 0 0 0 0l-.23-.05v-.04c0 .02-.09.32-.14.09 0 .12-.07-.07-.1 0s-.09-.11-.14.15c0 0 0-.06-.09.05s0 0 0-.13v.06c0-.24 0-.14-.07-.08-.07.06 0 0 0 0 0-.2-.06-.13-.11-.12-.05.01-.09.19-.08-.1 0-.06 0 0 0 0s-.07.07-.08 0c-.01-.07 0 0 0 0s-.08 0-.09-.05c-.01-.05 0-.07 0 0s-.08.13-.08 0-.12.08-.12-.11v.06c-.08.21-.1.21-.07 0s0-.1 0-.06c0 .04-.13.14-.13 0s0-.22-.14 0c0 .07 0 0 0 0s0-.07 0 0-.08 0-.06-.12c.02-.12 0-.09-.09 0s-.14.14-.14.07 0-.07-.06-.09c-.06-.02-.06 0-.07-.08a.12.12 0 0 0-.13-.07v-.05c.11-.26 0-.17-.06-.13-.06.04-.08.05-.06 0 .02-.05 0 0 0 0s-.12.06-.1 0c.02-.06 0-.06-.12 0s-.15.06-.07-.1c.08-.16 0 0 0 0v-.06l-.16.05s-.07-.08-.07-.16 0 0-.1.06-.09 0 0 0 0-.05 0-.08 0-.16-.15 0v-.15c.11-.21.13-.21 0-.2-.13.01 0 0 0 0s-.31.17-.34.13c-.03-.04-.09 0 .09-.14s.09-.13 0-.12c-.21 0-.11-.2-.15-.3-.04-.1 0-.06 0-.1 0-.04 0 0-.13 0s-.16 0-.13-.06.06-.19 0-.25-.06-.13.06-.25 0-.07-.13-.07-.09-.06.15-.16.08-.08.08-.08h-.31c.01 0 .1-.11.18-.18.08-.07-.12-.09-.08-.16v-.09c0-.03-.19-.16-.09-.26 0 0-.15-.15.06-.23-.18-.05 0-.11-.11-.16s0-.09 0-.13c0-.04-.07-.1 0-.12.07-.02-.12-.1-.08-.14.04-.04 0 0 0 0v-.19c0-.07-.06-.08 0-.11s.1 0 0-.09.09 0 0-.09v-.07c0-.01.42.07.31 0-.11-.07-.13-.11.07-.07 0 0-.17-.11 0-.07-.19-.11 0-.09 0-.14 0-.05.06 0 .13 0 0 0-.11-.17 0-.2s.07 0 0-.1-.11-.11.09 0v-.06c0-.06.17 0 .17-.12v-.08c0-.03 0 0 0 0s-.15-.23 0-.16V90s.09 0 .07-.06c-.02-.06 0-.09.1 0s.06 0 .06 0a1 1 0 0 1 .09-.13h.1a1.3 1.3 0 0 0 0-.21h.13c.13 0 .13.07.07-.05-.06-.12 0-.21.09-.12s.16.06.08-.13-.1-.26 0-.19h.11c.11 0 .12.1.12 0s0-.21.1-.13c.1.08 0 0 0-.08v-.11a.45.45 0 0 0 .17 0 .14.14 0 0 0 .09-.13c0-.09.06-.08.11-.07.05.01 0-.05.11 0s.14.08.17 0h.24v-.06.09c0-.02 0-.33.12-.12 0-.12.08.06.1 0 .02-.06.11.08.1-.18 0 0 .07 0 .08-.07.01-.07 0 0 0 .12v-.07c.06.24.07.13.09.07.02-.06 0 0 0 0 .06.19.09.11.13.09.04-.02 0-.2.1.09 0 .06 0 0 0 0s0-.09.09 0h.1c.03 0 0 .06 0 0s0-.15.07-.06.1-.1.13.08v-.06c0-.22 0-.23 0 0s0 .09 0 0 .09-.16.12-.07.05.22.13-.06c0-.07 0 0 0 0s0 .07.06 0 .07 0 .08.1c.01.1 0 .08.09 0s.11-.17.12-.09c.01.08 0 0 .08.07s.06 0 .09.07.09 0 .14 0c.05 0 0 0 0 0 0 .28 0 .17.08.11.08-.06.07-.06.06 0-.01.06 0 0 0 0s.1-.09.1 0 .05.06.12 0c.07-.06.14-.09.09.09-.05.18 0 0 0 0s0 .09.06 0a.28.28 0 0 1 .14-.09s.09.06.11.14l.08-.08c.06-.06.08-.06.06 0-.02.06 0 0 0 .08s0 .16.15 0h.05c.05 0 0 0 0 .08-.06.23-.07.24.06.2.13-.04.11 0 .09 0v.11l-.07.09c-.07.09.08 0 .17-.07.09-.07.23-.14.19 0-.04.14 0 0 0 0v.12c0 .12-.07.14 0 .12.07-.02.21 0 .15.08s0 0 .08 0h.11c-.01 0 0 .13 0 .17a.12.12 0 0 0 .14.06c.09 0 .09 0 .09.1s.06 0 0 .12-.05.15 0 .16c.05.01 0 0 0 0v.23c0 .07 0 0 .06 0 0 0-.1.07-.08.07.02 0 .33 0 .14.09.12 0 0 .08 0 .1 0 .02-.06.12.2.07.05 0 .05 0 0 0s0 .07.08.06c.08-.01 0 0-.11.07h.07c-.23.1-.11.09 0 .1.11.01 0 0 0 0s-.1.11-.07.15c.03.04.22 0-.07.12 0 0 .1 0 0 .09 0 0 .06.06 0 .1-.06.04-.06 0 0 0s.15 0 .07.06c-.08.06.12.07-.06.14h.07c.22 0 .23 0 0 0s-.09 0 0 .05.17.06.08.1c-.09.04-.2.09.09.11.07 0 0 0 0 0s-.06 0 0 .06h-1.37s-.13-.05.1-.09c-.09 0 .09-.07-.13-.09 0 0 .15-.12.06-.16-.09-.04-.06 0 0 0s0-.06 0-.08h-.1a.49.49 0 0 1 .06-.13s.07-.07-.08-.06c-.15.01 0 0 0 0v-.16c0-.03 0 0 0 0s.24-.17 0-.12c0 0 0-.08.06-.13s0 0-.09 0-.13 0 0-.06v-.08c0-.08.09-.12 0-.11-.09.01-.2 0-.21 0-.01 0-.05 0 0 0s0-.11 0-.17v-.07c0-.07-.17.06 0-.08-.09 0-.11 0-.13-.09a.46.46 0 0 0-.17-.14s0-.06 0 0a.1.1 0 0 1-.06 0c-.05 0-.07 0 0 0s.08-.16 0-.12h-.15c-.02 0-.08-.05-.18 0-.1.05-.07 0 0-.1s0-.14 0-.13c0 .01-.06 0-.08 0-.02 0-.22.12-.2-.08 0 0 0-.1-.09.07v-.07a.48.48 0 0 1-.09-.13c0-.09-.08-.16-.2 0-.12.16-.06.07-.06 0s0 0-.07 0c0 0-.09-.17-.16-.11-.07.06 0 0 0 0s-.07.12-.07-.12c0 .08-.06-.11-.11.11 0 0-.09-.16-.15-.08h-.08c-.02 0 0 .1 0 .1a.28.28 0 0 1-.12-.08s-.06-.08-.07.06c-.01.14 0 0 0 0h-.18c-.05 0 0 0 0 0s-.13-.26-.12 0c-.07-.19-.07 0-.12-.08-.05-.08 0 0 0 .08s0 .13-.07 0h-.08c-.08 0-.11-.11-.11 0v.19s0 .06 0 0-.1 0-.16 0h-.08c-.02 0 0 .17-.08 0 0 .09-.07.1-.12.11-.05.01-.11.1-.16.14-.05.04-.06 0 0 0s0 .1-.09 0-.09-.05 0 0 0 0-.07 0 .09.15 0 .13c-.09-.02-.15-.06-.15 0s-.08.06-.1.09c-.02.03-.12 0-.14.09-.02.09.08.16-.05.11s0 .12-.15.11c-.15-.01 0 .11 0 .14a.19.19 0 0 1-.09.14s-.1 0 0 0c-.23-.09-.17 0 0 0-.22-.08 0 0 0 .08s-.13.06-.12.13a.64.64 0 0 1 0 .07v.05a.12.12 0 0 0-.06.17h-.07c.03 0 .09.07 0 .08-.09.01 0 0 0 0s.18.09.07.1c-.11.01.18.12 0 .14.15 0 .11 0 0 .05s-.08 0 0 0c0 0 0 .11-.09.16s0 .09.07.13c.07.04.06 0-.08.07h.08c-.01 0 0 0-.08.07s.12 0 .16 0c.04 0 0 0 0 0h.11c.11 0 .06 0 0 .06s-.16.09-.11.11c.05.02.09 0 0 .06s-.07.1.07.1c-.28.09-.31.12-.28.12l.11.06v.05c0 .05-.09.1.14.07h.06c-.01 0-.06.06 0 0-.19.12-.11.11 0 .11h.07c.07 0 .07 0 0 0s-.1.07-.08.07c.02 0 0 .11.11.06l-.1.12s.14-.05 0 0 0 .06 0 0 .17-.05.07.05.2-.08.11 0c-.09.08-.11.14 0 .12.11-.02.19 0 .2 0 .01 0 .07.06.18 0 .11-.06.07 0 0 .11s-.07.12 0 .12h.09c.02 0 .23-.06.18.13 0 0 0 .09.1-.05v.07a.53.53 0 0 1 .05.15c0 .1.06.17.21 0s.07 0 0 0 0 0 .07.06 0-.05 0 0 0 .19.13.14c.13-.05 0 0 0 0s.1-.09 0 .13c.06-.07 0 .12.14-.08 0 0 .06.17.13.11.07-.06 0 0 0 0s0 .05.08 0 0-.09.06-.08c.06.01.07.05.1.1s0 .09.08 0c0 .17.11.08.17 0 .06-.08 0 0 0 0s.07.28.11.05c0 .2.07 0 .1.1s0 0 0-.08 0-.13.08 0h.08c.08 0 .08.12.1 0 .02-.12 0-.19.07-.18.07.01 0-.06 0 0s.1.06.15.09a.11.11 0 0 0 .08 0s0-.18.09 0c0-.08.08-.08.14-.09a.48.48 0 0 0 .19-.09s0-.1.09 0 .08.06 0 0 0 0 .07 0-.06-.17 0-.14.14.09.15 0c.01-.09.09 0 .12-.07s.12 0 .15-.06 0-.17.07-.09c.07.08.06-.11.17-.08.11.03 0-.11 0-.14a.2.2 0 0 1 .12-.12h.06c.21.15.15.07 0 0 .19.13 0 0 0-.08s.14 0 .14-.1a.08.08 0 0 0 0-.07v-.06a.13.13 0 0 0 .09-.16H35c.16.07.09 0 .07 0-.02 0-.08-.08 0-.08 0 0-.16-.13 0-.12.16.01-.15-.15 0-.14.15.01 0 0 0 0-.14-.07-.1-.06 0-.05.1.01.09 0 0 0 0 0 0-.1.11-.13s0-.09 0-.14c0-.05 0-.05.09-.05h-.08.09c.09 0-.11-.06-.14-.09-.03-.03 0 0 0 0l-.09-.07c-.09-.07-.06 0 0 0s.17-.06.12-.09c-.05-.03-.08-.05 0-.07l1.19.57z\\\" fill=\\\"#FFF\\\"/></g></svg>\\n\",\n    \"pointers\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 300 200\\\"><path d=\\\"M42.31 54.53V40.22a10 10 0 0 1 10-10H242.6a10 10 0 0 1 10 10v14.31z\\\" fill=\\\"#ff7952\\\"/><path d=\\\"M41.45 53.78c.16-1-.18-2-.09-3 0-.25 0-.49.06-.73 0-.53.08-1.06.07-1.58a37.65 37.65 0 0 1-.11-5 4 4 0 0 0 0-.85 20.34 20.34 0 0 1-.13-2.06 5.13 5.13 0 0 1 .42-2.18.52.52 0 0 0 0-.25 6.6 6.6 0 0 1 .85-3.05 6.26 6.26 0 0 1 .6-1.08c.27-.33.51-.68.81-1a5.37 5.37 0 0 1 1.92-1.67c.84-.33 1.3-1.1 2.12-1.41a2.92 2.92 0 0 1 .38-.14 14.22 14.22 0 0 1 3.58-.78c.65-.05 1.2-.13 1.79-.14a4.33 4.33 0 0 0 1.57 0c.59-.23 1.12.14 1.67 0 .21 0 .43 0 .61-.06a1.74 1.74 0 0 1 1.19 0c.72.14.86.78 2.23.52a2.18 2.18 0 0 1 1.68.07.2.2 0 0 0 .23 0 .83.83 0 0 1 1.12 0c.75-.39 1.52-.1 2.28-.12a4.59 4.59 0 0 1 1.32.2 2.62 2.62 0 0 0 1.08 0 13.05 13.05 0 0 1 2.91-.24 8.22 8.22 0 0 0 1.92 0c.39-.06.79-.26 1.16.14.06.07.23 0 .34 0a2.08 2.08 0 0 1 1.08-.05 21 21 0 0 0 3.63.15h1.71c.19 0 .39-.08.59-.1a5 5 0 0 1 2.5-.14 1 1 0 0 0 .72-.05 2.08 2.08 0 0 1 1.3-.1 4.8 4.8 0 0 0 1.56 0 3.63 3.63 0 0 1 1.82.09 1.87 1.87 0 0 0 .71.07c1 0 1.89 0 2.86-.05.48 0 1 .14 1.44.13 1.09 0 2.17-.14 3.26-.22a2.16 2.16 0 0 1 1.19.19 1.84 1.84 0 0 0 1.65 0 3.73 3.73 0 0 1 2.61-.07 3.89 3.89 0 0 0 2.75-.1 2.9 2.9 0 0 1 1.91-.28.72.72 0 0 0 .48 0 1.31 1.31 0 0 1 1.2.16 2 2 0 0 0 1.42.17 6.58 6.58 0 0 1 2.76-.1A1.12 1.12 0 0 0 115 29a1.72 1.72 0 0 1 1.19-.17 22.08 22.08 0 0 0 2.3.21 12.64 12.64 0 0 0 2.3-.14 9.75 9.75 0 0 1 2.29 0 5.31 5.31 0 0 1 1.55.13 5.42 5.42 0 0 0 2.88.07 2.5 2.5 0 0 1 .49-.1l4 .14a4.17 4.17 0 0 0 .6-.1c.15.07.3.22.42.19a3.82 3.82 0 0 1 2.58-.16c.56-.2 1.11.13 1.64.06.83-.1 1.68.19 2.49-.27a.8.8 0 0 1 .59 0 2 2 0 0 0 1.42-.1.52.52 0 0 1 .64.23v.07l.07-.06c.16-.05.38-.2.46-.12.45.45.92.25 1.39.15a.76.76 0 0 1 .47 0 4.19 4.19 0 0 0 2.16.19c.58 0 1.2-.37 1.77.16.1.1.31 0 .47 0a5.11 5.11 0 0 1 1.7 0 1 1 0 0 0 .72 0 2.82 2.82 0 0 1 1.9 0c.19 0 .43.11.58 0a1.3 1.3 0 0 1 1.29-.11c.82.3 1.67-.19 2.5.13a.36.36 0 0 0 .35-.1.57.57 0 0 1 1-.09c.25.24.51.17.81.08a3.87 3.87 0 0 1 2-.14 2.18 2.18 0 0 0 2-.15c.17-.13.47 0 .7 0a2.39 2.39 0 0 0 1 0 2.65 2.65 0 0 1 1.8.16 2.21 2.21 0 0 0 1.54-.05 3.66 3.66 0 0 1 1.78-.22 8.42 8.42 0 0 0 1.66.1c.59 0 1.19 0 1.78.07a18 18 0 0 0 2.54 0 .85.85 0 0 1 .47.09 2.54 2.54 0 0 0 2.12.13 2 2 0 0 1 1.08 0 2.36 2.36 0 0 0 .84 0 5.42 5.42 0 0 1 1.8 0 4.33 4.33 0 0 0 2-.09 3.33 3.33 0 0 1 2.16.06.75.75 0 0 0 .58-.06c.45-.22.87.14 1.32 0a11.75 11.75 0 0 1 1.44-.26.92.92 0 0 1 .36.07 16.18 16.18 0 0 0 2.78.12 1.19 1.19 0 0 0 .58-.2 1.19 1.19 0 0 1 1 0 3.36 3.36 0 0 0 .65.08 3.47 3.47 0 0 0 2.27-.14.33.33 0 0 1 .24 0 2.44 2.44 0 0 0 1.2 0A4 4 0 0 1 201 29a5.65 5.65 0 0 0 3.22.19 4.86 4.86 0 0 1 .85-.06c.81 0 .86-.61 1.67-.61.41 0 .69-.14 1 .27s.9.25 1.31.19a31.32 31.32 0 0 1 5.81 0c.48 0 1 .08 1.45.13a2.88 2.88 0 0 0 1.32-.2 4.08 4.08 0 0 1 2-.15 20.57 20.57 0 0 0 3.76.19 16.21 16.21 0 0 1 3.86.25 3.68 3.68 0 0 0 1.91-.18 1.84 1.84 0 0 1 2 .35c.34.35 1 .17 1 .17a2.71 2.71 0 0 0 1 0c.33 0 .92-.56 1.67-.52a22.12 22.12 0 0 1 2.55.39c1 .15 2-.19 3-.09.24 0 .48.05.73.06.53 0 1 .06 1.59.07a8.86 8.86 0 0 1 5.2 1.31 7.08 7.08 0 0 0 .81.46 6.06 6.06 0 0 1 3 3.29.45.45 0 0 0 .15.19 6.26 6.26 0 0 1 1.4 2.85 7.45 7.45 0 0 1 .35 2.53 8.59 8.59 0 0 1-.06 2.33c-.23.81.23 1.52.19 2.28v.37a29.73 29.73 0 0 0 0 3.27c0 .57.12 1.18.12 1.75a4.57 4.57 0 0 0 0 1.57 1.46 1.46 0 0 1 0 .85v.21a1.1 1.1 0 0 0 0 .27 5.77 5.77 0 0 0 0 .72 6.77 6.77 0 0 0 .07 1.1 4.66 4.66 0 0 1 .12 1.3c-.34 0-.7 0-1.05-.08-1.36-.14-2-.78-3.24-.52a2.16 2.16 0 0 1-1.67-.07.21.21 0 0 0-.24 0 .83.83 0 0 1-1.11 0c-.75.39-1.52.1-2.29.12a4.53 4.53 0 0 1-1.31-.2 2.67 2.67 0 0 0-1.09 0 13 13 0 0 1-2.91.24 7.63 7.63 0 0 0-1.91 0c-.39.06-.79.26-1.16-.14-.07-.08-.24 0-.35 0a2 2 0 0 1-1.07 0 21.08 21.08 0 0 0-3.64-.15h-1.7c-.2 0-.39.08-.59.1a5.08 5.08 0 0 1-2.51.14 1 1 0 0 0-.71 0 2.08 2.08 0 0 1-1.3.1 4.86 4.86 0 0 0-1.57 0 3.6 3.6 0 0 1-1.81-.1 2.14 2.14 0 0 0-.71-.06h-2.86c-.48 0-1-.13-1.44-.12-1.09 0-2.17.14-3.26.22a2.08 2.08 0 0 1-1.19-.2 1.86 1.86 0 0 0-1.66 0 3.73 3.73 0 0 1-2.61.06 3.94 3.94 0 0 0-2.75.11 2.88 2.88 0 0 1-1.9.28.72.72 0 0 0-.48 0 1.28 1.28 0 0 1-1.18-.18 2.12 2.12 0 0 0-1.42-.17 6.27 6.27 0 0 1-2.76.1 1.21 1.21 0 0 0-.83.12 1.68 1.68 0 0 1-1.18.16c-.77-.09-1.53-.18-2.3-.2a11.9 11.9 0 0 0-2.31.14 9.66 9.66 0 0 1-2.28 0 5.31 5.31 0 0 1-1.55-.13 5.42 5.42 0 0 0-2.88-.07 2 2 0 0 1-.48 0l-4-.13a2.51 2.51 0 0 0-.6.1c-.14-.07-.29-.22-.42-.19a3.79 3.79 0 0 1-2.57.16c-.56.2-1.11-.13-1.65-.06-.82.09-1.68-.19-2.48.27a.8.8 0 0 1-.59 0 2 2 0 0 0-1.42.1.53.53 0 0 1-.64-.23l.05-.07h-.07c-.16 0-.38.19-.46.11-.45-.44-.92-.24-1.39-.15a.7.7 0 0 1-.47 0 4.19 4.19 0 0 0-2.16-.19c-.59 0-1.21.37-1.77-.16-.11-.1-.32 0-.48 0a5.05 5.05 0 0 1-1.69 0 1 1 0 0 0-.72 0 2.82 2.82 0 0 1-1.9 0c-.2 0-.44-.11-.58 0a1.3 1.3 0 0 1-1.29.11c-.82-.3-1.68.19-2.51-.13a.34.34 0 0 0-.34.1c-.32.4-.63.42-1 .09s-.5-.17-.8-.08a4 4 0 0 1-2 .14 2.2 2.2 0 0 0-2 .15c-.16.13-.46 0-.7 0a2.59 2.59 0 0 0-1 0 2.57 2.57 0 0 1-1.79-.15 2.24 2.24 0 0 0-1.55 0 3.51 3.51 0 0 1-1.77.21 8.49 8.49 0 0 0-1.66-.09c-.6 0-1.19 0-1.79-.07a17.8 17.8 0 0 0-2.53 0 .75.75 0 0 1-.47-.08 2.54 2.54 0 0 0-2.12-.13 2 2 0 0 1-1.08 0 2.41 2.41 0 0 0-.85 0 5.63 5.63 0 0 1-1.79 0 4.33 4.33 0 0 0-2 .09 3.33 3.33 0 0 1-2.16-.06.7.7 0 0 0-.58.06c-.45.22-.88-.15-1.32 0a12.1 12.1 0 0 1-1.44.26.92.92 0 0 1-.36-.07 16.25 16.25 0 0 0-2.79-.12 1.12 1.12 0 0 0-.58.2 1.17 1.17 0 0 1-1 0 3.44 3.44 0 0 0-.83-.11 3.38 3.38 0 0 0-2.26.14.33.33 0 0 1-.24 0 2.23 2.23 0 0 0-1.2 0 4 4 0 0 1-1.34-.08 5.39 5.39 0 0 0-3-.22 3.66 3.66 0 0 1-1.77 0l-1.7-.1c-.17 0-.16-.1-.14-.21a3.93 3.93 0 0 0-1.37.3 2.88 2.88 0 0 1-1.9.28.72.72 0 0 0-.48 0 1.3 1.3 0 0 1-1.19-.18 2.09 2.09 0 0 0-1.41-.17 6.27 6.27 0 0 1-2.76.1 1.2 1.2 0 0 0-.83.12 1.69 1.69 0 0 1-1.18.16c-.77-.09-1.54-.18-2.3-.2a11.9 11.9 0 0 0-2.31.14 9.67 9.67 0 0 1-2.28 0 5.31 5.31 0 0 1-1.55-.13 5.42 5.42 0 0 0-2.88-.07 2 2 0 0 1-.48 0l-4-.13a2.68 2.68 0 0 0-.61.1c-.14-.07-.29-.22-.42-.19a3.8 3.8 0 0 1-2.57.16c-.56.2-1.11-.13-1.65-.06-.83.09-1.68-.19-2.48.27a.83.83 0 0 1-.6 0 2 2 0 0 0-1.42.1.53.53 0 0 1-.64-.23l.06-.07h-.07s-.37.19-.46.11c-.45-.44-.91-.24-1.38-.15a.72.72 0 0 1-.48 0 4.17 4.17 0 0 0-2.16-.19c-.58 0-1.2.37-1.77-.16-.1-.1-.31 0-.47 0a5.11 5.11 0 0 1-1.7 0 1.05 1.05 0 0 0-.72 0 2.82 2.82 0 0 1-1.9 0c-.19 0-.43-.11-.58 0a1.3 1.3 0 0 1-1.29.11c-.82-.3-1.67.19-2.5-.13a.34.34 0 0 0-.34.1c-.32.4-.63.42-1 .09s-.51-.17-.8-.08a4 4 0 0 1-2 .14 2.2 2.2 0 0 0-2 .15c-.16.13-.46 0-.7 0a2.59 2.59 0 0 0-1 0l-.33-2.44a1.79 1.79 0 0 1 .61 0c.75.21 1.53-.22 2.27.19.88-.15 1.77.18 2.64-.22a1.12 1.12 0 0 1 .6 0 13.55 13.55 0 0 0 4 .14 1.47 1.47 0 0 1 .72 0 3.58 3.58 0 0 0 2-.05 6.76 6.76 0 0 1 1.08-.18c1 0 1.94.09 2.91.16a4.63 4.63 0 0 0 2.06-.11 1.12 1.12 0 0 1 .6 0 18.79 18.79 0 0 0 4.62 0 7.73 7.73 0 0 1 .84.05c1 0 1.92.49 2.9.08a.61.61 0 0 1 .48 0 8.63 8.63 0 0 0 2.53.19 2 2 0 0 0 1-.13 2.27 2.27 0 0 1 1.79 0 1 1 0 0 0 .47 0 10.49 10.49 0 0 1 2.17 0 8.11 8.11 0 0 0 2.3.1 13.12 13.12 0 0 1 2.64-.31 3.94 3.94 0 0 1 1 0 14.4 14.4 0 0 0 3.28.2h2.19c.73 0 1.44-.3 2.16 0a36 36 0 0 1 4-.06h5.46a8.34 8.34 0 0 0 1.32 0 6.1 6.1 0 0 1 .94-.09.85.85 0 0 1 .77 0 3.77 3.77 0 0 0 1.91.17h.12a1.53 1.53 0 0 1 .47-.07 16.86 16.86 0 0 1 3.25-.15 20.52 20.52 0 0 0 3.76-.19 4.08 4.08 0 0 1 2 .15 2.88 2.88 0 0 0 1.32.2c.49 0 1-.12 1.45-.12a30.58 30.58 0 0 1 5.82 0 1.49 1.49 0 0 0 1.3-.18c.11-.09.3 0 .45 0 .32 0 .65.1 1 .11 1.12 0 2.24.06 3.37.16a17 17 0 0 0 5.08-.16 2.89 2.89 0 0 1 1.43 0 7.52 7.52 0 0 0 2.17 0 4 4 0 0 1 .48-.07 23 23 0 0 0 4.84.14 1.77 1.77 0 0 1 .61 0c.75.21 1.54-.22 2.27.19.88-.15 1.78.18 2.64-.22a1.16 1.16 0 0 1 .61 0 13.49 13.49 0 0 0 4 .14 1.47 1.47 0 0 1 .72 0 3.58 3.58 0 0 0 2.05-.05 6.76 6.76 0 0 1 1.08-.18c1 0 1.94.09 2.91.16a4.63 4.63 0 0 0 2.06-.11 1.15 1.15 0 0 1 .61 0 18.79 18.79 0 0 0 4.62 0 7.89 7.89 0 0 1 .84.05c1 0 1.92.49 2.89.08a.64.64 0 0 1 .49 0 8.56 8.56 0 0 0 2.52.19 2 2 0 0 0 1-.13 2.25 2.25 0 0 1 1.78 0 1 1 0 0 0 .48 0 10.4 10.4 0 0 1 2.16 0 8.18 8.18 0 0 0 2.31.1 12.94 12.94 0 0 1 2.63-.31 3.93 3.93 0 0 1 1 0 14.47 14.47 0 0 0 3.28.2h2.19c.73 0 1.44-.3 2.16 0a36 36 0 0 1 4-.06h5.46a8.34 8.34 0 0 0 1.32 0 5.21 5.21 0 0 1 2.19 0 2.63 2.63 0 0 0 1.57 0 2 2 0 0 1 1.31.09c.48.14.91-.31 1.43-.22a10.27 10.27 0 0 0 2.65.19c1.18-.09 2.35 0 3.52 0s2.56.11 3.86.08a10.87 10.87 0 0 1 2.79-.06c1.46.37 2.91-.08 4.37.11a18.48 18.48 0 0 0 2.77-.17h4.27a5 5 0 0 0 1.44 0 1.14 1.14 0 0 0 1.48 0c.07 0 .18-.07.24 0 .6.41 1.2 0 1.79-.07 1.42-.15 2.83.16 4.25.1.44 0 .88 0 1.32-.07s.65-.1 1-.09c.79 0 1.58.06 2.37.07h.88a2.81 2.81 0 0 0 .44 0c0-.06 0-.11.09-.08.32.07.17-.29.11-.45a3 3 0 0 1-.12-.63 3.49 3.49 0 0 1 0-.79 1.12 1.12 0 0 0 0-.6 3.43 3.43 0 0 1-.17-2.09c.33-1.22-.35-2.42-.06-3.63a1 1 0 0 0-.07-.48.92.92 0 0 0-.1-.36 1.42 1.42 0 0 1 0-1.3 1.86 1.86 0 0 0 .07-1 2.8 2.8 0 0 1 0-1v-1c0-.27 0-.62-.05-.92-.08-.61-.19-1.21-.33-1.82a5.63 5.63 0 0 0-1.56-2.56 4.5 4.5 0 0 1-1-1.23c-.06-.17-.26-.24-.41-.32s-.36-.08-.5-.19-.43-.28-.64-.44a5.74 5.74 0 0 1-.66-.43c-.48-.33-1.06-.18-1.57-.23a1.38 1.38 0 0 1-.29-.08 1.82 1.82 0 0 0-1.34 0 2.64 2.64 0 0 1-.78.1 6.46 6.46 0 0 1-.84-.11 9.53 9.53 0 0 0-2.65-.21 8.41 8.41 0 0 1-1.94 0 7.87 7.87 0 0 0-3 .08 4.85 4.85 0 0 1-.85 0c-.12 0-.3 0-.34-.08a1 1 0 0 0-1.08-.53h-.76c-.81 0-1.62.11-2.43.14a4.86 4.86 0 0 1-.85-.06 5.56 5.56 0 0 0-3.22.19 4 4 0 0 1-1.33.08 2.33 2.33 0 0 0-1.2 0 .26.26 0 0 1-.24 0 3.47 3.47 0 0 0-2.27-.13 3.3 3.3 0 0 0-.82.11 1.15 1.15 0 0 1-1 0 1.21 1.21 0 0 0-.58-.19 17.2 17.2 0 0 0-2.78.11 1.23 1.23 0 0 1-.36.08 14 14 0 0 1-1.44-.26c-.45-.12-.87.25-1.32 0a.71.71 0 0 0-.58-.07 2.79 2.79 0 0 1-2.16.06c-.71-.23-1.2.37-1.95.13a4 4 0 0 0-1.91-.17 16.72 16.72 0 0 1-3.86.25 20.41 20.41 0 0 0-3.75.19 4.12 4.12 0 0 1-2.06-.15 3 3 0 0 0-1.32-.21c-.48.05-1 .12-1.45.13a30.48 30.48 0 0 1-5.81 0 1.52 1.52 0 0 0-1.31.18c-.1.09-.29 0-.44 0a8.23 8.23 0 0 0-1-.11c-1.13 0-2.25-.06-3.37-.16a17 17 0 0 0-5.08.16 3 3 0 0 1-1.43 0 7.53 7.53 0 0 0-2.17 0c-.16 0-.33.09-.48.07a23.13 23.13 0 0 0-4.85-.14 1.57 1.57 0 0 1-.61 0c-.75-.2-1.53.23-2.27-.19-.87.16-1.77-.17-2.64.22a1.12 1.12 0 0 1-.6 0 13.49 13.49 0 0 0-4-.14 1.51 1.51 0 0 1-.73 0 3.54 3.54 0 0 0-2 .05 6 6 0 0 1-1.09.17c-1 0-1.94-.08-2.91-.15a4.64 4.64 0 0 0-2.06.11 1.21 1.21 0 0 1-.6 0 18.32 18.32 0 0 0-4.62 0 7.89 7.89 0 0 1-.84 0c-1 0-1.92-.49-2.89-.08a.64.64 0 0 1-.49 0 8.3 8.3 0 0 0-2.53-.19 2 2 0 0 0-1 .13 2.27 2.27 0 0 1-1.79 0 .94.94 0 0 0-.47-.05 9.84 9.84 0 0 1-2.17 0 8.09 8.09 0 0 0-2.3-.1 13.89 13.89 0 0 1-2.64.31 3.85 3.85 0 0 1-1 0 15.08 15.08 0 0 0-3.28-.21h-2.2c-.74 0-1.44.31-2.16 0a35.74 35.74 0 0 1-4 .06h-5.46a8.5 8.5 0 0 0-1.33 0 5.17 5.17 0 0 1-2.18 0 2.63 2.63 0 0 0-1.57 0 2.07 2.07 0 0 1-1.32-.09c-.47-.14-.9.31-1.42.22a10.27 10.27 0 0 0-2.65-.19c-1.18.09-2.35 0-3.52 0s-2.56-.12-3.86-.09a10.05 10.05 0 0 1-2.79.06c-1.46-.37-2.91.08-4.37-.1a17.44 17.44 0 0 0-2.78.17h-4.26a5.35 5.35 0 0 0-1.44-.05 1.16 1.16 0 0 0-1.49 0 .24.24 0 0 1-.23 0c-.61-.41-1.2 0-1.79.06-1.42.16-2.83-.15-4.25-.09-.44 0-.88 0-1.33.07s-.65.1-1 .09a41.29 41.29 0 0 0-4.72 0 .63.63 0 0 1-.47-.1c-.35-.31-.71-.16-1.07-.1a4.75 4.75 0 0 1-1.55.1 1.26 1.26 0 0 0-.61.05 3.51 3.51 0 0 1-2.09.17c-1.17-.32-2.08.5-3.14.58-.13 0-.25.13-.37.2a.8.8 0 0 0-.23.22 1.2 1.2 0 0 1-1 .57 1.09 1.09 0 0 0-.71.42 3.47 3.47 0 0 1-.65.51 9.8 9.8 0 0 0-2.21 2.92 5.65 5.65 0 0 0-.53 2.95 4.53 4.53 0 0 1-.17 1.75 1.18 1.18 0 0 0 0 .59 3.35 3.35 0 0 1 .14.59 12.28 12.28 0 0 1-.15 1.81 6.1 6.1 0 0 0 .28 1.8 1.08 1.08 0 0 1 0 .36 3.11 3.11 0 0 0 .51 2.2 3.19 3.19 0 0 1 0 1.68 9.57 9.57 0 0 0-.21 2.66 7.81 7.81 0 0 1 0 1.93z\\\" fill=\\\"#ff7952\\\"/><path d=\\\"M242.07 152.88c-1.44-.16-2.84.18-4.26.09l-1-.07c-.74 0-1.48-.07-2.22-.06-2.34 0-4.67.3-7 .11a7.89 7.89 0 0 0-1.19 0 22.37 22.37 0 0 1-5.78-.12.66.66 0 0 0-.31 0 26.37 26.37 0 0 1-4.07.2c-1.08.09-2.17 0-3.26 0a16.63 16.63 0 0 1-3.24-.07c-1.14-.23-2.14.24-3.22.19a4.34 4.34 0 0 1-.51 0c-1.54-.09-3.07 0-4.61 0-.8 0-1.65.12-2.45.12a8.55 8.55 0 0 0-2.21 0c-.84.23-1.57-.14-2.36 0a3.82 3.82 0 0 0-.84.06 3.3 3.3 0 0 1-1.68 0c-1-.13-1.21-.77-3.14-.52a4.22 4.22 0 0 1-2.36-.07.47.47 0 0 0-.33 0 1.5 1.5 0 0 1-1.57 0 9.35 9.35 0 0 1-3.21.12 9 9 0 0 1-1.86-.2 5.1 5.1 0 0 0-1.51 0 25.71 25.71 0 0 1-4.1.24 16.1 16.1 0 0 0-2.69 0c-.55.06-1.12.26-1.63-.14a.69.69 0 0 0-.49 0 4.25 4.25 0 0 1-1.51 0 41.65 41.65 0 0 0-5.12-.15h-2.4c-.27 0-.54.08-.82.11a10.45 10.45 0 0 1-3.53.14 1.8 1.8 0 0 0-1 0 4.19 4.19 0 0 1-1.83.09 9 9 0 0 0-2.2 0 7.06 7.06 0 0 1-2.55-.1 3.72 3.72 0 0 0-1-.07c-1.36 0-2.66 0-4 .05-.68 0-1.36-.14-2-.12-1.52 0-3 .13-4.58.22a4.15 4.15 0 0 1-1.67-.2 3.64 3.64 0 0 0-2.33 0 7.25 7.25 0 0 1-3.67.07 7.57 7.57 0 0 0-3.87.1 5.51 5.51 0 0 1-2.67.28 1.55 1.55 0 0 0-.68 0 2.44 2.44 0 0 1-1.67-.17 3.94 3.94 0 0 0-2-.17 12.93 12.93 0 0 1-3.88.1 2.17 2.17 0 0 0-1.16.11 3.29 3.29 0 0 1-1.67.17c-1.07-.1-2.15-.19-3.24-.2a23.35 23.35 0 0 0-3.24.13 19.12 19.12 0 0 1-3.21 0 10.4 10.4 0 0 1-2.18-.13 10.83 10.83 0 0 0-4-.07 5 5 0 0 1-.67 0l-5.62-.14a8.53 8.53 0 0 0-.85.1c-.2-.07-.42-.22-.59-.19a7.41 7.41 0 0 1-3.62.17 13.75 13.75 0 0 1-2.32-.07c-1.16.1-2.36-.19-3.49.27a1.49 1.49 0 0 1-.84 0 3.84 3.84 0 0 0-2 .1.9.9 0 0 1-.9-.22l.07-.08-.1.06c-.22 0-.54.19-.65.11a2.42 2.42 0 0 0-2-.15 1.52 1.52 0 0 1-.67 0 8.16 8.16 0 0 0-3-.19c-.81 0-1.69.37-2.49-.16-.14-.1-.44 0-.66 0a9.57 9.57 0 0 1-2.39 0 1.92 1.92 0 0 0-1 0 5.6 5.6 0 0 1-2.67-.05 1.63 1.63 0 0 0-.82 0 2.42 2.42 0 0 1-1.81.11c-1.16-.3-2.36.19-3.52-.13a.61.61 0 0 0-.49.11 1.09 1.09 0 0 1-1.48 0c-.35-.31-.75-.26-1.22-.29a5 5 0 0 1-3-1 10 10 0 0 0-2.56-1.88c-.28-.1-.48-.56-.68-.87s-.49-.93-.82-1.28a4.17 4.17 0 0 1-.86-2.7 9.62 9.62 0 0 0-.32-2.39A6.66 6.66 0 0 1 41 140a16.57 16.57 0 0 0 .09-2.33c0-.84 0-1.68.08-2.51a35.43 35.43 0 0 0 0-3.57 1.43 1.43 0 0 1 .08-.66 4.82 4.82 0 0 0 .13-3 3.89 3.89 0 0 1 0-1.52 5.22 5.22 0 0 0 0-1.19 10.59 10.59 0 0 1 0-2.52 8.83 8.83 0 0 0-.09-2.85 6.34 6.34 0 0 1 .06-3 1.37 1.37 0 0 0-.07-.82c-.21-.64.15-1.23 0-1.86s-.19-1.35-.26-2a2.26 2.26 0 0 1 .08-.51 34.09 34.09 0 0 0 .11-3.92 2.17 2.17 0 0 0-.19-.81 2.15 2.15 0 0 1 0-1.35 7.55 7.55 0 0 0 .1-1.15 6.79 6.79 0 0 0-.13-3.2.54.54 0 0 1 0-.33 4.57 4.57 0 0 0 0-1.69 7.78 7.78 0 0 1 .08-1.87 11 11 0 0 0 .2-4.53 8.05 8.05 0 0 1-.07-1.2c0-1.14-.61-1.2-.61-2.34 0-.57-.14-1 .28-1.44s.23-1.26.13-1.83a61.87 61.87 0 0 1 0-8.17c0-.68.08-1.36.13-2a5.58 5.58 0 0 0-.13-1.9 8.25 8.25 0 0 1-.16-2.93 42.23 42.23 0 0 0 .2-5.28 31.9 31.9 0 0 1 .24-5.43 6.92 6.92 0 0 0-.17-2.68 3.43 3.43 0 0 1 .35-2.75 2.4 2.4 0 0 0 .17-1.45 5.83 5.83 0 0 0 0-1.38 8.65 8.65 0 0 1-.52-2.34c.06-1.43.23-2.18.38-3.6s-.18-2.83-.09-4.25l.06-1v-1.11l.09-1.19a9.29 9.29 0 0 1 3.37-6.68c.33-.28.68-.55 1-.84a9.38 9.38 0 0 1 2.84-1.48 6.94 6.94 0 0 1 3.16-.19.81.81 0 0 0 .31 0 25.18 25.18 0 0 1 4.07-.21c1.08-.09 2.17 0 3.26 0a17.58 17.58 0 0 1 3.25.07C64 29.42 65 29 66 29h.52c1.53.09 3.06 0 4.6 0 .8 0 1.66-.12 2.46-.12a8.47 8.47 0 0 0 2.2 0c.84-.23 1.58.14 2.36 0a4 4 0 0 0 .85-.06 3.37 3.37 0 0 1 1.67 0c1 .14 1.22.78 3.14.52a4.22 4.22 0 0 1 2.36.07.38.38 0 0 0 .33 0 1.53 1.53 0 0 1 1.57 0 9.36 9.36 0 0 1 3.21-.12 9 9 0 0 1 1.86.2 5.16 5.16 0 0 0 1.52 0 25.59 25.59 0 0 1 4.09-.24 16.09 16.09 0 0 0 2.69 0c.56-.06 1.12-.26 1.64.14a.71.71 0 0 0 .48 0 4 4 0 0 1 1.51-.05 41.65 41.65 0 0 0 5.12.15h2.4c.27 0 .55-.08.82-.1a10 10 0 0 1 3.53-.14 1.93 1.93 0 0 0 1-.05 4 4 0 0 1 1.82-.1 9.52 9.52 0 0 0 2.2 0 7.12 7.12 0 0 1 2.56.09 3.69 3.69 0 0 0 1 .07c1.36 0 2.66 0 4-.05.67 0 1.35.14 2 .13 1.52 0 3-.14 4.58-.22a4.12 4.12 0 0 1 1.67.19 3.57 3.57 0 0 0 2.33 0 7.25 7.25 0 0 1 3.67-.07 7.57 7.57 0 0 0 3.87-.1 5.55 5.55 0 0 1 2.68-.28 1.42 1.42 0 0 0 .68 0 2.48 2.48 0 0 1 1.66.17 3.83 3.83 0 0 0 2 .17 12.93 12.93 0 0 1 3.88-.1 2.17 2.17 0 0 0 1.16-.11 3.3 3.3 0 0 1 1.67-.17c1.08.1 2.16.19 3.24.21a25 25 0 0 0 3.24-.14 19.12 19.12 0 0 1 3.21 0 10.4 10.4 0 0 1 2.18.13 10.62 10.62 0 0 0 4.05.07A5 5 0 0 1 178 29l5.62.14a8.53 8.53 0 0 0 .85-.1c.19.07.41.22.59.19a7.39 7.39 0 0 1 3.62-.16 13.67 13.67 0 0 1 2.31.06c1.16-.1 2.36.19 3.49-.27a1.59 1.59 0 0 1 .84 0 3.88 3.88 0 0 0 2-.1.87.87 0 0 1 .89.23l-.07.07.1-.06c.23-.05.54-.2.65-.12a2.42 2.42 0 0 0 2 .15 1.52 1.52 0 0 1 .67 0 8.17 8.17 0 0 0 3 .19c.82 0 1.69-.37 2.49.16.14.1.44 0 .66 0a10.06 10.06 0 0 1 2.39 0 2 2 0 0 0 1 0 5.52 5.52 0 0 1 2.68 0 1.59 1.59 0 0 0 .81 0 2.47 2.47 0 0 1 1.81-.11c1.16.3 2.36-.19 3.53.13a.63.63 0 0 0 .48-.1 1 1 0 0 1 1.37-.09 1.34 1.34 0 0 0 1.13.08 7.62 7.62 0 0 1 2.86-.14 4.19 4.19 0 0 0 2.83-.15c.24-.13.66 0 1 0a4.7 4.7 0 0 0 1.35 0 5.14 5.14 0 0 1 2.53.16 4.27 4.27 0 0 0 2.16-.05 7.12 7.12 0 0 1 2.5-.22 16.79 16.79 0 0 0 2.34.1c.84 0 1.67 0 2.51.07a14.57 14.57 0 0 1 3.9.67 1.46 1.46 0 0 1 .66.36 13.18 13.18 0 0 0 2.64 1.91 3.34 3.34 0 0 1 1.15 1.21c.18.38.49.72.71 1.1a5.63 5.63 0 0 1 1.14 2.53c.13 1 .33 2.09.49 3.08a6.6 6.6 0 0 1-.06 3 1.37 1.37 0 0 0 .06.82c.22.64-.15 1.23 0 1.86s.19 1.35.26 2a1.79 1.79 0 0 1-.07.51 32 32 0 0 0-.12 3.92 2 2 0 0 0 .2.81 2.27 2.27 0 0 1 0 1.34 6.69 6.69 0 0 0-.11 1.16 6.62 6.62 0 0 0 .16 3.26.66.66 0 0 1 0 .34 4.37 4.37 0 0 0 0 1.69 7.78 7.78 0 0 1-.08 1.87 10.54 10.54 0 0 0-.22 4.25 7.19 7.19 0 0 1 .05 2.49l-.1 2.4c0 .23-.1.22-.21.2a7.53 7.53 0 0 0 .3 1.92 5.55 5.55 0 0 1 .28 2.68 1.38 1.38 0 0 0 0 .67 2.45 2.45 0 0 1-.18 1.67 4.05 4.05 0 0 0-.17 2 12.31 12.31 0 0 1 .1 3.88 2.27 2.27 0 0 0 .12 1.16 3.28 3.28 0 0 1 .16 1.67c-.09 1.08-.18 2.16-.2 3.24A23.35 23.35 0 0 0 254 94a18.12 18.12 0 0 1 0 3.21 9.77 9.77 0 0 1-.12 2.18 10.62 10.62 0 0 0-.07 4.05 3.77 3.77 0 0 1 0 .67l-.13 5.62a5 5 0 0 0 .1.85c-.07.19-.22.41-.19.59a7.39 7.39 0 0 1 .16 3.62 13.67 13.67 0 0 1-.06 2.31c.09 1.16-.19 2.36.27 3.49a1.59 1.59 0 0 1 0 .84 3.88 3.88 0 0 0 .1 2 .89.89 0 0 1-.23.89l-.07-.07.05.1c0 .22.19.54.11.65a2.46 2.46 0 0 0-.15 2 1.39 1.39 0 0 1 0 .67 8.17 8.17 0 0 0-.19 3c0 .82.37 1.69-.16 2.49-.1.14 0 .44 0 .66a10.06 10.06 0 0 1 0 2.39 2 2 0 0 0 0 1 5.52 5.52 0 0 1 0 2.68 1.59 1.59 0 0 0 0 .81 2.47 2.47 0 0 1 .11 1.81c-.3 1.21 0 2.64-.8 3.75a.89.89 0 0 0-.1.53 1.1 1.1 0 0 1-.63 1.38 1.88 1.88 0 0 0-.78 1 5.21 5.21 0 0 1-2.22 2.24 9.06 9.06 0 0 0-2.8 1.5c-.22.19-.72.18-1.09.24s-1 .06-1.51.16a22.69 22.69 0 0 1-.52-2.42 2.62 2.62 0 0 1 .74 0c1 .11 1.78-.55 2.76-.54.9-.58 2.05-1 2.51-2.07.08-.22.33-.37.5-.55a6 6 0 0 0 1.86-4.51 3.37 3.37 0 0 1 0-.95 7 7 0 0 0-.05-2.88 13.38 13.38 0 0 1-.18-1.52c0-1.37.09-2.73.16-4.1a9.12 9.12 0 0 0-.11-2.9 2.2 2.2 0 0 1 0-.85 37 37 0 0 0 0-6.49v-1.19c0-1.35.49-2.69.08-4.07a1.21 1.21 0 0 1 0-.68 16.85 16.85 0 0 0 .19-3.55 3.89 3.89 0 0 0-.13-1.36 4.38 4.38 0 0 1 0-2.51 1.88 1.88 0 0 0 0-.67 20.56 20.56 0 0 1 0-3 16 16 0 0 0 .1-3.24 25.67 25.67 0 0 1-.31-3.71 6.87 6.87 0 0 1 0-1.36 28.54 28.54 0 0 0 .2-4.62v-3.08a9.69 9.69 0 0 1 0-3c-.13-1.88-.08-3.76-.06-5.65v-7.68a16.53 16.53 0 0 0 0-1.86 11.71 11.71 0 0 1-.09-1.32 1.63 1.63 0 0 1 0-1.08 7.33 7.33 0 0 0 .17-2.68v-.19a2.89 2.89 0 0 1-.08-.65 35.1 35.1 0 0 1-.14-4.58 40.34 40.34 0 0 0-.19-5.28 8 8 0 0 1 .15-2.89 5.57 5.57 0 0 0 .2-1.86c0-.68-.12-1.36-.12-2a60.34 60.34 0 0 1 0-8.18 2.71 2.71 0 0 0-.19-1.81c-.1-.12 0-.35 0-.53a5.61 5.61 0 0 0-.08-1.16 8.71 8.71 0 0 0-1.75-3.68 6.34 6.34 0 0 0-5.48-2.58 8.15 8.15 0 0 1-.9.06 4 4 0 0 1-1-.08 14.93 14.93 0 0 0-3.06 0c-.22 0-.45.09-.67.07a45.67 45.67 0 0 0-6.82-.14 3 3 0 0 1-.85 0c-1.06-.2-2.16.23-3.2-.19-1.23.16-2.49-.17-3.71.22a2.22 2.22 0 0 1-.85 0 26.59 26.59 0 0 0-5.64-.14 2.92 2.92 0 0 1-1 0 7 7 0 0 0-2.88.05 11.4 11.4 0 0 1-1.52.17c-1.37 0-2.74-.08-4.1-.15a9 9 0 0 0-2.89.11 2.48 2.48 0 0 1-.86 0 36.07 36.07 0 0 0-6.49 0h-1.18c-1.36 0-2.7-.49-4.07-.08a1.25 1.25 0 0 1-.69 0 16.21 16.21 0 0 0-3.55-.19 3.89 3.89 0 0 0-1.36.13 4.38 4.38 0 0 1-2.51 0 1.88 1.88 0 0 0-.67-.05 19.28 19.28 0 0 1-3 0 16 16 0 0 0-3.24-.1 27.17 27.17 0 0 1-3.71.31 7.72 7.72 0 0 1-1.36 0 29.65 29.65 0 0 0-4.61-.21h-3.09a9.4 9.4 0 0 1-3 0c-1.88.13-3.76.08-5.65.06h-7.68a16.53 16.53 0 0 0-1.86 0 10.19 10.19 0 0 1-3.07 0 5.15 5.15 0 0 0-2.21 0 4 4 0 0 1-1.85-.09c-.67-.14-1.27.31-2 .22a20.29 20.29 0 0 0-3.73-.19c-1.66.09-3.3 0-5 0-1.83 0-3.6-.12-5.43-.09a19.88 19.88 0 0 1-3.93.06c-2.05-.37-4.09.08-6.14-.1a34.39 34.39 0 0 0-3.91.17h-6a10.6 10.6 0 0 0-2-.05 2.16 2.16 0 0 0-2.09 0 .48.48 0 0 1-.33 0c-.85-.41-1.68 0-2.52.06-2 .16-4-.15-6-.09l-1.87.07c-.46 0-.91.1-1.37.09-2.21-.08-4.42-.1-6.64 0a1.19 1.19 0 0 1-.66-.1 2.11 2.11 0 0 0-1.5-.1 9.44 9.44 0 0 1-2.19.1 2.43 2.43 0 0 0-.85.05 6.82 6.82 0 0 1-2.94.17c-1.72-.33-3.4.34-5.11.06a2.3 2.3 0 0 0-.68.06 1.85 1.85 0 0 0-.49.11 2.76 2.76 0 0 1-1.84 0 3.62 3.62 0 0 0-1.35-.07 5.53 5.53 0 0 1-1.35 0c-2-.09-4 0-6-.15a19.7 19.7 0 0 0-2.43 0 11.92 11.92 0 0 0-2.22.25c-.72.14-1.38.42-2.13.51a1.35 1.35 0 0 0-.65.33c-.19.16-.34.37-.52.51a15.94 15.94 0 0 0-1.71 1.36 4.33 4.33 0 0 0-.92 2l-.18.4a2.67 2.67 0 0 0-.3 1.81 6.41 6.41 0 0 1 0 1c0 .34-.06.78-.12 1.17a18.64 18.64 0 0 0-.21 3.73 15.47 15.47 0 0 1 0 2.72 15.58 15.58 0 0 0 .07 4.26 6.62 6.62 0 0 1 .05 1.18c0 .17 0 .43-.07.49a1.58 1.58 0 0 0-.53 1.51v1.07l.15 3.42a9.66 9.66 0 0 1-.07 1.2 10.82 10.82 0 0 0 .2 4.52 7.88 7.88 0 0 1 .07 1.88 4.8 4.8 0 0 0 0 1.69.63.63 0 0 1 0 .33 6.75 6.75 0 0 0-.14 3.19 7.59 7.59 0 0 0 .11 1.16 2.22 2.22 0 0 1 0 1.35 2.17 2.17 0 0 0-.19.81 30.2 30.2 0 0 0 .11 3.92 1.77 1.77 0 0 1 .07.5c-.07.68-.13 1.36-.26 2s.25 1.22 0 1.86a1.42 1.42 0 0 0-.06.81 5.61 5.61 0 0 1 .06 3c-.24 1 .37 1.68.13 2.74a7.57 7.57 0 0 0-.17 2.68 31.9 31.9 0 0 1 .24 5.43 38.67 38.67 0 0 0 .2 5.28 8.24 8.24 0 0 1-.16 2.89 5.84 5.84 0 0 0-.2 1.86c.05.68.12 1.36.13 2a62 62 0 0 1 0 8.18 2.86 2.86 0 0 0 .19 1.83c.08.15 0 .42 0 .63 0 .46-.1.91-.11 1.36 0 1.59-.06 3.16-.15 4.74a32.89 32.89 0 0 0 .16 7.15 5.9 5.9 0 0 1 0 2 15.66 15.66 0 0 0 0 3.06c0 .22.09.45.07.66 0 .57-.09 1.14-.13 1.71v1.6a6.76 6.76 0 0 0 .83 2.84 5.94 5.94 0 0 1 .33.67c.32.92 1.25 1.37 1.68 2.26.91.57 1.78 1.42 3 1.37a1.61 1.61 0 0 1 .71.21 7 7 0 0 0 2.54.41c.94 0 1.88 0 2.82-.08a3.18 3.18 0 0 1 1 0 7 7 0 0 0 2.88-.05 13.34 13.34 0 0 1 1.52-.17c1.37 0 2.74.08 4.1.15a8.83 8.83 0 0 0 2.9-.11 2.41 2.41 0 0 1 .85 0 37.13 37.13 0 0 0 6.5 0 11.73 11.73 0 0 1 1.18 0c1.35 0 2.7.49 4.07.08a1.31 1.31 0 0 1 .68 0 16.3 16.3 0 0 0 3.56.19 3.86 3.86 0 0 0 1.35-.13 4.38 4.38 0 0 1 2.51 0 1.88 1.88 0 0 0 .67.05 19.41 19.41 0 0 1 3 0 15.92 15.92 0 0 0 3.23.1 28.86 28.86 0 0 1 3.72-.31 7.61 7.61 0 0 1 1.35 0 28.54 28.54 0 0 0 4.62.21h3.08a9.12 9.12 0 0 1 3 0c1.88-.14 3.76-.09 5.65-.06h7.68c.62 0 1.25.09 1.86 0a10.52 10.52 0 0 1 3.07 0 5.15 5.15 0 0 0 2.21 0 3.75 3.75 0 0 1 1.85.09c.67.13 1.27-.32 2-.23a20.35 20.35 0 0 0 3.74.19c1.65-.09 3.3 0 4.95 0 1.82 0 3.6.12 5.42.09a20.68 20.68 0 0 1 3.93-.06c2.05.37 4.09-.08 6.15.1a34.22 34.22 0 0 0 3.9-.17h6a9.85 9.85 0 0 0 2 .05 2.16 2.16 0 0 0 2.09 0 .48.48 0 0 1 .33 0c.85.41 1.69 0 2.52-.06 2-.16 4 .15 6 .09l1.87-.06c.46 0 .91-.11 1.37-.1 2.21.08 4.42.11 6.64 0a1.19 1.19 0 0 1 .66.09 2.11 2.11 0 0 0 1.5.11 8.92 8.92 0 0 1 2.19-.11 2.41 2.41 0 0 0 .85-.05 6.87 6.87 0 0 1 2.95-.17c1.71.33 3.4-.34 5.1-.05a2.67 2.67 0 0 0 .68-.07 2.6 2.6 0 0 0 .5-.1 2.67 2.67 0 0 1 1.83-.05 3.46 3.46 0 0 0 1.36.07 5.54 5.54 0 0 1 1.35 0c2 .08 4 0 6 .14a44.25 44.25 0 0 0 4.88-.13 7.82 7.82 0 0 1 2.55.15 2.38 2.38 0 0 0 .84 0 5.86 5.86 0 0 1 .82-.14 23.73 23.73 0 0 1 2.54.14 11.9 11.9 0 0 0 2.54-.27 2.9 2.9 0 0 1 .51 0 5.62 5.62 0 0 0 2.2-.17 6.74 6.74 0 0 1 2.37 0 18.69 18.69 0 0 0 3.73.22 15.56 15.56 0 0 1 2.73-.05z\\\"/><path d=\\\"M88.48 77.54c-.16.16.18.33.09.49a.37.37 0 0 0-.07.12.57.57 0 0 0-.06.25c0 .27.3.54.11.81v.14c.13.22.25.44-.12.66.33.15.1.31.21.47s0 .25 0 .37.14.26-.07.37.24.25.19.37 0 0 0 .06a.87.87 0 0 0 0 .53c0 .1.12.19.12.29s-.15.17 0 .25-.14.18 0 .27 0 .07.06.1.12.13 0 .19-.78.14-.52.36c.1.09.28.19-.07.28 0 0-.06 0 0 0 .28.06.35.12 0 .18.39.13.1.25.12.37s-.08.15-.2.22-.07.11 0 .17.32.32.24.47-.08.21 0 .31.26.13-.14.19c-.07 0 0 0 0 .06s.09.11 0 .17a.64.64 0 0 0-.15.59v.28c0 .09.08.06.1.09s.46.27.15.41c-.08 0-.06.08 0 .11s.16.14.09.21-.12.17 0 .26.1.19-.1.29-.08.08-.07.12a3.41 3.41 0 0 1 .05.46c0 .08-.14.16-.12.23a2.66 2.66 0 0 0 .21.53c0 .07 0 .13-.19.19s-.26.18 0 .27.34.29.07.43-.27.3.1.44.46.2.28.31 0 .05 0 .08 0 .13-.17.19-.26.15-.17.23.33.29.1.44c-.07 0 0 .1.11.14s.22.12.17.19a.88.88 0 0 0-.21.37.44.44 0 0 0 .14.38c.13.12.07.24 0 .37s.06.17-.13.25c-.37.15-.22.31-.07.46a.15.15 0 0 1 0 .08c0 .22-.1.43-.14.65 0 0 .07.06.1.1-.07 0-.22 0-.19.07.2.14.57.28.17.42.2.09-.14.18-.07.26s-.19.28.27.41c.1 0 .09.06 0 .09s-.11.16.1.23 0 .08-.22.11.19.06.11.07c-.45.07-.25.15-.15.23s.08 0 0 .07c-.35.12-.22.23-.19.35s.37.2-.16.29c-.1 0 0 0 0 .07s.14.19 0 .28-.07.08 0 .12c.3.1.08.2-.05.3s-.11.07 0 .1c.31.07.27.13.11.21s.19.27-.13.4c0 0 0 .05.11.06.39 0 .41.1.08.16s-.17.08-.08.13.3.21.14.32-.37.22.15.33c.13 0 0 .08 0 .11s-.12.11 0 .16 0 .2-.15.29-.14.16 0 .25.34.2.22.29-.08.18-.1.27a1.11 1.11 0 0 1-.07.29.49.49 0 0 0 0 .41l-.09.07c-.48.12-.26.23-.13.35s.15.11 0 .17 0 .09 0 .14.21.19 0 .29 0 .22.09.33.26.23-.06.35c-.08 0 0 .06.06.09s-.14.14 0 .21a1 1 0 0 1 .26.24l-.07.06c-.25.14 0 .3-.11.45s.1.06.19.09.16.1 0 .15-.06.09-.11.14-.26.24.14.37-.06.13 0 .2 0 .14-.07.21c-.41.27-.43.27-.2.53a.16.16 0 0 1 .06.13c0 .13.62.14.62.27s.13.11-.28.17-.25.15-.19.21c.33.32 0 .63 0 .94a.71.71 0 0 1-.13.24c0 .07 0 .14.2.21s.25.22.15.33a.66.66 0 0 0-.19.61.58.58 0 0 1-.25.63c-.12.1 0 .21.18.31s.11.24-.35.31-.17.17-.17.17v.16c0 .05.56.15.52.27s-.23.25-.38.41.18.33.09.49a.37.37 0 0 0-.07.12.57.57 0 0 0-.06.25c0 .27.3.54.11.81v.14c.13.22.25.44-.12.66.33.15.1.31.21.47s0 .25 0 .37.14.26-.07.38.24.24.19.37 0 0 0 .06c-.09.17 0 .35 0 .53s.12.19.12.28-.15.18 0 .25-.14.18 0 .27 0 .07.06.1.12.13 0 .2-.78.14-.52.36c.1.08.28.18-.07.27 0 0-.06 0 0 0 .28.06.35.12 0 .18.39.12.1.24.12.37s-.08.14-.2.21-.07.12 0 .18.32.31.24.47a.24.24 0 0 0 0 .31c.06.06.26.13-.14.19-.07 0 0 0 0 .05s.09.12 0 .18a.62.62 0 0 0-.15.58v.28c0 .09.08.06.1.1s.46.26.15.4c-.08 0-.06.08 0 .12s.16.14.09.21-.12.17 0 .25.1.2-.1.29-.08.08-.07.12a3.8 3.8 0 0 1 .05.46c0 .08-.14.16-.12.24a2.83 2.83 0 0 0 .21.52c0 .07 0 .13-.19.2s-.26.17 0 .27.34.28.07.42-.27.3.1.44.46.2.28.31 0 .06 0 .08 0 .13-.17.19-.26.15-.17.23.33.3.1.45c-.07 0 0 .09.11.13s.22.13.17.19a.91.91 0 0 0-.21.38.42.42 0 0 0 .14.37c.13.12.07.25 0 .37s.06.17-.13.25c-.37.16-.22.31-.07.47a.1.1 0 0 1 0 .07c0 .22-.1.43-.14.65l.1.1c-.07 0-.22 0-.19.06.2.14.57.28.17.42.2.09-.14.18-.07.27s-.19.27.27.4c.1 0 .09.06 0 .09s-.11.16.1.23 0 .08-.22.11.19.06.11.07c-.45.08-.25.15-.15.23s.08.05 0 .07c-.35.12-.22.24-.19.35s.37.2-.16.29c-.1 0 0 0 0 .08s.14.18 0 .27-.07.08 0 .12c.3.1.08.2-.05.31s-.11.07 0 .09c.31.07.27.14.11.21s.19.27-.13.4c0 0 0 .05.11.06.39.05.41.1.08.16s-.17.08-.08.13.3.21.14.33-.37.22.15.32c.13 0 0 .08 0 .12s-.12.1 0 .15 0 .2-.15.29-.14.17 0 .25.34.2.22.29-.08.18-.1.27a1 1 0 0 1-.07.29.49.49 0 0 0 0 .41s0 .05-.09.08c-.48.11-.26.22-.13.34s.15.11 0 .17 0 .09 0 .14.21.19 0 .29 0 .22.09.33.26.23-.06.35c-.08 0 0 .06.06.09s-.14.14 0 .22a.85.85 0 0 1 .26.23l-.07.06c-.25.15 0 .3-.11.45s.1.06.19.09.16.11 0 .16-.06.09-.11.13-.26.25.14.37-.06.13 0 .19 0 .15-.07.22c-.39.25-.43.26-.23.49s.18.19.06.28-.07.19-.11.28-.1 0-.21 0 .12.15.3.22.46.2.28.31 0 .06 0 .08 0 .13-.17.19-.26.15-.17.23.33.3.1.45c-.07 0 0 .09.11.13s.22.13.17.19a.91.91 0 0 0-.21.38.42.42 0 0 0 .14.37c.13.12.07.25 0 .37s.06.17-.13.25c-.37.16-.22.31-.07.47a.1.1 0 0 1 0 .07c0 .22-.1.43-.14.65l.1.1c-.07 0-.22 0-.19.06.2.14.57.28.17.42.2.09-.14.18-.07.27s-.19.27.27.4c.1 0 .09.06 0 .1s-.11.15.1.22 0 .08-.22.11.19.06.11.07c-.45.08-.25.15-.15.23s.08.05 0 .07c-.35.12-.22.24-.19.35s.37.2-.16.29c-.1 0 0 0 0 .08s.14.18 0 .27-.07.08 0 .12c.3.1.08.2-.05.31s-.11.07 0 .09c.31.07.27.14.11.21s.19.27-.13.4c0 0 0 .05.11.06.39.05.41.1.08.16s-.17.08-.08.13.3.21.14.33-.37.22.15.32c.13 0 0 .08 0 .12s-.12.1 0 .15l-2.45.06a.06.06 0 0 1 0-.1c.2-.12-.23-.25.19-.37-.16-.14.17-.29-.22-.43-.08 0 0-.06 0-.1a.45.45 0 0 0 .14-.65s-.1-.08 0-.11c.29-.12.06-.22 0-.33s-.18-.12-.17-.18a1.71 1.71 0 0 1 .15-.47c.06-.11.15-.22-.11-.33-.07 0-.06-.07 0-.1.28-.25.13-.5 0-.75v-.14c0-.05.49-.31.08-.47-.06 0 0-.05 0-.07.36-.14.09-.28.19-.41s0-.11-.13-.16-.23-.19 0-.29c.06 0 .07-.05 0-.08a.29.29 0 0 1 0-.35c.08-.12.24-.25.1-.37s-.32-.28-.31-.43-.09-.1 0-.15c.32-.18.14-.36.21-.53a1.09 1.09 0 0 0 0-.36c0-.12-.31-.23 0-.35a.92.92 0 0 1 0-.65 6.48 6.48 0 0 0 0-.88c0-.08.09-.15 0-.22a.3.3 0 0 1-.09-.15c-.11 0-.15-.08 0-.12s.3-.21.17-.31c-.06 0-.08-.05-.08-.07a.59.59 0 0 1-.15-.53.66.66 0 0 0-.19-.61c-.1-.11-.09-.22.15-.33s.25-.14.21-.21a.71.71 0 0 1-.13-.24c0-.31-.37-.62 0-.94.07-.06.16-.14-.18-.21-.09 0 0-.05 0-.07s.1-.11.11-.16a1.68 1.68 0 0 1 .15-.55.56.56 0 0 0-.16-.82c-.1-.07-.15-.16 0-.23s0-.23 0-.35-.1 0-.08-.08a.69.69 0 0 0 .14-.78.06.06 0 0 1 0-.1c.2-.12-.23-.25.19-.37-.16-.14.17-.29-.22-.43-.08 0 0-.06 0-.1a.45.45 0 0 0 .14-.65s-.1-.08 0-.11c.29-.12.06-.22 0-.33s-.18-.12-.17-.18a1.71 1.71 0 0 1 .15-.47c.06-.11.15-.22-.11-.33-.07 0-.06-.07 0-.1.28-.25.13-.5 0-.75v-.14c0-.05.49-.31.08-.47-.06 0 0-.05 0-.07.36-.14.09-.28.19-.41s0-.11-.13-.16-.23-.19 0-.29c.06 0 .07-.05 0-.08a.29.29 0 0 1 0-.35c.08-.12.24-.25.1-.37s-.32-.28-.31-.43-.09-.1 0-.15c.32-.18.14-.36.21-.53a1.09 1.09 0 0 0 0-.36c0-.12-.31-.23 0-.35a.92.92 0 0 1 0-.65 6.48 6.48 0 0 0 0-.88c0-.08.09-.15 0-.22s-.14-.23 0-.35.17-.17 0-.26 0-.14.09-.21-.32-.15-.23-.23.26-.29.19-.43 0-.38 0-.57.12-.41.09-.62-.29-.31-.06-.46-.08-.47.1-.7-.14-.3-.17-.45a2 2 0 0 1 0-.69c0-.08.17-.16.05-.24.44-.08.29-.16 0-.24 0 0-.07 0 0 0 .41-.09 0-.19-.06-.29s.15-.45.09-.68a1.8 1.8 0 0 0-.06-.22s-.11-.1-.1-.16a1.16 1.16 0 0 0 0-.76s0-.06.09-.08c.32 0 .16-.11.1-.17s-.19-.17-.1-.25 0-.07 0-.1c-.25-.11-.35-.23-.17-.34.33-.2-.34-.39 0-.59l-.07-.07a.29.29 0 0 0-.1-.06c-.28-.07-.2-.14 0-.21s.15-.11.07-.16 0-.1 0-.15c.09-.23 0-.46.15-.69s-.07-.38-.13-.56-.1-.2.15-.3c.07 0 0-.06 0-.09s-.15-.07-.14-.1a.44.44 0 0 1 .14-.29c.12-.1-.21-.19-.27-.29v-.06c.12-.09 0-.17-.17-.26s-.11-.17 0-.27.29-.29.22-.43-.15-.21-.05-.31.16-.33-.08-.49c-.06 0 0-.09 0-.14s0-.05.07-.05c.52 0 .57-.12.53-.18V111a3.12 3.12 0 0 1-.15-.39.16.16 0 0 1 .06-.14c.23-.26.22-.26-.19-.52-.11-.07-.12-.15-.08-.22s.15-.13 0-.19-.06 0 0 0c.39-.12.25-.24.13-.37s0-.09-.1-.13-.12-.11 0-.16.21-.06.19-.09.14-.3-.11-.45c0 0-.09 0-.08-.06a1 1 0 0 1 .26-.23c.12-.08-.24-.14 0-.22s.15-.06.07-.09c-.33-.12-.31-.23-.06-.35s-.37-.19-.13-.32.3-.21.17-.31a.58.58 0 0 1-.25-.62.65.65 0 0 0-.19-.61c-.1-.11-.09-.22.15-.33s.25-.14.21-.22a.59.59 0 0 1-.13-.23c0-.31-.37-.63 0-.94.07-.07.16-.15-.18-.21-.09 0 0 0 0-.08s.1-.1.11-.15a1.62 1.62 0 0 1 .15-.55.56.56 0 0 0-.16-.82c-.1-.08-.15-.16 0-.23s0-.24 0-.35-.1-.06-.08-.08a.7.7 0 0 0 .14-.79v-.1c.2-.12-.23-.24.19-.36-.16-.14.17-.29-.22-.43-.08 0 0-.07 0-.1a.45.45 0 0 0 .14-.65s-.1-.08 0-.12c.29-.11.06-.22 0-.33s-.18-.11-.17-.17a1.61 1.61 0 0 1 .15-.47c.06-.12.15-.23-.11-.34-.07 0-.06-.06 0-.09.28-.25.13-.5 0-.75v-.14c0-.05.49-.31.08-.47-.06 0 0-.05 0-.08.36-.13.09-.27.19-.41s0-.1-.13-.15-.23-.19 0-.29c.06 0 .07 0 0-.08a.29.29 0 0 1 0-.35c.08-.12.24-.25.1-.37s-.32-.28-.31-.43-.09-.11 0-.16c.32-.17.14-.35.21-.53a1 1 0 0 0 0-.35c0-.12-.31-.24 0-.35a.92.92 0 0 1 0-.65 6.63 6.63 0 0 0 0-.89c0-.07.09-.14 0-.21s-.14-.24 0-.35.17-.17 0-.26 0-.14.09-.21-.32-.15-.23-.23.26-.29.19-.43 0-.38 0-.57.12-.42.09-.63-.29-.3-.06-.45-.08-.47.1-.71-.14-.3-.17-.45a2 2 0 0 1 0-.69c0-.07.17-.15.05-.23.44-.08.29-.16 0-.24 0 0-.07 0 0 0 .41-.1 0-.19-.06-.29s.15-.46.09-.69a1.66 1.66 0 0 0-.06-.21s-.11-.11-.1-.16a1.16 1.16 0 0 0 0-.76s0-.06.09-.08c.32-.06.16-.11.1-.17s-.19-.17-.1-.25 0-.07 0-.1c-.25-.11-.35-.23-.17-.34.33-.2-.34-.39 0-.59l-.07-.08a.19.19 0 0 0-.1 0c-.28-.07-.2-.14 0-.22s.15-.1.07-.15 0-.11 0-.16c.09-.23 0-.45.15-.68s-.07-.38-.13-.57-.1-.19.15-.29c.07 0 0-.06 0-.1s-.15-.06-.14-.09a.42.42 0 0 1 .14-.29c.12-.11-.21-.2-.27-.29v-.06c.12-.09 0-.17-.17-.26s-.11-.18 0-.27.29-.29.22-.43-.15-.21-.05-.31z\\\"/><path d=\\\"M252.26 78.28c-.47-.16-.92.18-1.38.09l-.33-.07a4.37 4.37 0 0 0-.72-.06 7.94 7.94 0 0 1-2.28.11.87.87 0 0 0-.39 0 2.44 2.44 0 0 1-1.87-.12h-.1c-.44.32-.88.1-1.32.2a3.76 3.76 0 0 1-1.06 0c-.35 0-.72.14-1.05-.07s-.7.24-1 .19a.86.86 0 0 1-.16 0 6.27 6.27 0 0 0-1.5 0c-.26 0-.54.12-.8.12s-.49-.15-.71 0-.51-.14-.77 0c-.09 0-.19 0-.27.06s-.36.12-.55 0-.39-.77-1-.52c-.24.1-.51.28-.76-.07a.07.07 0 0 0-.11 0c-.17.28-.33.35-.51 0-.34.4-.69.1-1 .12a1.08 1.08 0 0 1-.6-.2.58.58 0 0 0-.5 0 2.83 2.83 0 0 1-1.32.24 1.75 1.75 0 0 0-.88 0c-.18.06-.36.26-.53-.14 0-.07-.11 0-.16 0a.48.48 0 0 1-.49 0 4.45 4.45 0 0 0-1.66-.15 6.77 6.77 0 0 1-.78 0 1.83 1.83 0 0 0-.26.11c-.38.09-.76.45-1.15.14a.22.22 0 0 0-.32 0 .51.51 0 0 1-.6.09 1 1 0 0 0-.71 0 .81.81 0 0 1-.83-.1.49.49 0 0 0-.33-.07h-1.3c-.22 0-.44-.14-.66-.12-.49 0-1 .13-1.49.22a.53.53 0 0 1-.54-.2.47.47 0 0 0-.76 0 .87.87 0 0 1-1.19.07.91.91 0 0 0-1.25.11c-.29.26-.57.46-.87.27a.18.18 0 0 0-.22 0c-.19.19-.37 0-.54-.17a.51.51 0 0 0-.65-.17 1.44 1.44 0 0 1-1.26.1.29.29 0 0 0-.37.11.45.45 0 0 1-.55.17 4.24 4.24 0 0 0-1.05-.2 2.53 2.53 0 0 0-1.05.13 2 2 0 0 1-1 0c-.24 0-.49.06-.71-.13-.44-.37-.87-.21-1.31-.07a.63.63 0 0 1-.22 0l-1.82-.14a.82.82 0 0 0-.28.11c-.07-.07-.14-.22-.19-.19-.39.2-.78.57-1.18.17-.25.2-.5-.14-.75-.07s-.77-.19-1.13.27a.19.19 0 0 1-.27 0 .48.48 0 0 0-.65.1c-.11.1-.21 0-.29-.22v-.08.06c-.08 0-.18.19-.22.11-.2-.44-.41-.25-.63-.15s-.15.08-.21 0c-.33-.35-.66-.22-1-.19s-.55.37-.81-.16c0-.1-.14 0-.21 0-.26 0-.52.15-.78 0a.24.24 0 0 0-.33 0c-.29.3-.58.08-.87 0-.08 0-.19-.11-.26 0-.2.31-.39.27-.59.11-.37-.3-.76.19-1.14-.13-.05 0-.12 0-.16.11-.14.39-.28.42-.44.08s-.24-.16-.37-.08a.89.89 0 0 1-.93.14c-.3-.14-.62-.37-.92.15-.07.13-.21 0-.32 0s-.3-.11-.44 0-.55.05-.82-.15a.5.5 0 0 0-.7 0c-.26.19-.55.35-.81.22a2 2 0 0 0-.76-.1 7.38 7.38 0 0 1-.81-.07 3.76 3.76 0 0 0-1.16 0 .2.2 0 0 1-.22-.08c-.31-.49-.64-.27-1-.14-.17.08-.33.15-.5 0s-.25 0-.38 0-.53.21-.82 0a1 1 0 0 0-.93.09c-.33.16-.65.27-1-.06-.08-.08-.19 0-.27.06s-.4-.14-.6 0a2.83 2.83 0 0 1-.66.26c-.05 0-.11 0-.16-.07-.42-.25-.85 0-1.27-.11-.09 0-.18.1-.27.19a.27.27 0 0 1-.43 0c-.13-.1-.26-.06-.38-.1-.35-.12-.69-.26-1 .13h-.11c-.19-.17-.37-.06-.55 0a.87.87 0 0 1-.61-.07c-.74-.41-.74-.43-1.47-.2a.89.89 0 0 1-.39.06c-.37 0-.39.62-.76.62-.18 0-.31.13-.46-.28s-.42-.25-.6-.18a6.62 6.62 0 0 1-2.66 0 3.85 3.85 0 0 1-.66-.13.73.73 0 0 0-.6.2 1 1 0 0 1-.94.16 4.37 4.37 0 0 0-1.71-.2 3.37 3.37 0 0 1-1.76-.25.86.86 0 0 0-.88.18c-.33.27-.68.11-.89-.35a.33.33 0 0 0-.47-.17c-.12-.08-.32 0-.45 0s-.42.56-.76.52a5.82 5.82 0 0 1-1.16-.38c-.47-.16-.92.18-1.38.09l-.34-.07a4.37 4.37 0 0 0-.72-.06 7.86 7.86 0 0 1-2.27.11.87.87 0 0 0-.39 0 2.44 2.44 0 0 1-1.87-.12h-.1c-.44.32-.89.1-1.33.2a3.69 3.69 0 0 1-1 0c-.35 0-.72.14-1.06-.07s-.69.24-1 .19a1 1 0 0 1-.17 0 6.19 6.19 0 0 0-1.49 0c-.26 0-.54.12-.8.12s-.49-.15-.71 0-.51-.14-.77 0c-.09 0-.19 0-.27.06s-.36.12-.55 0-.39-.77-1-.52c-.24.1-.51.28-.76-.07a.07.07 0 0 0-.11 0c-.17.28-.34.35-.51 0-.34.4-.69.1-1 .12a1.08 1.08 0 0 1-.6-.2.58.58 0 0 0-.5 0 2.85 2.85 0 0 1-1.33.24 1.71 1.71 0 0 0-.87 0c-.18.06-.36.26-.53-.14 0-.07-.11 0-.16 0a.48.48 0 0 1-.49 0 4.45 4.45 0 0 0-1.66-.15 6.77 6.77 0 0 1-.78 0 1.45 1.45 0 0 0-.26.11c-.39.09-.76.45-1.15.14a.23.23 0 0 0-.33 0 .49.49 0 0 1-.59.09 1 1 0 0 0-.71 0 .81.81 0 0 1-.83-.1.5.5 0 0 0-.33-.07h-1.3c-.22 0-.44-.14-.66-.12-.5 0-1 .13-1.49.22a.53.53 0 0 1-.54-.2.47.47 0 0 0-.76 0 .87.87 0 0 1-1.19.07.91.91 0 0 0-1.25.11c-.29.26-.57.46-.87.27a.18.18 0 0 0-.22 0c-.2.19-.37 0-.54-.17a.51.51 0 0 0-.65-.17 1.44 1.44 0 0 1-1.26.1.3.3 0 0 0-.38.11.43.43 0 0 1-.54.17 4.32 4.32 0 0 0-1-.2 2.53 2.53 0 0 0-1 .13 2 2 0 0 1-1 0c-.24 0-.49.06-.71-.13-.44-.37-.87-.21-1.31-.07a.63.63 0 0 1-.22 0l-1.82-.14a.75.75 0 0 0-.28.11c-.07-.07-.14-.22-.19-.19-.39.2-.78.57-1.18.17-.25.2-.51-.14-.75-.07s-.77-.19-1.14.27a.18.18 0 0 1-.27 0 .47.47 0 0 0-.64.1c-.11.1-.21 0-.3-.22v-.08.06c-.07 0-.17.19-.21.11-.2-.44-.41-.25-.63-.15-.07 0-.15.08-.21 0-.33-.35-.66-.22-1-.19s-.55.37-.81-.16c0-.1-.14 0-.22 0-.25 0-.51.15-.77 0a.24.24 0 0 0-.33 0c-.3.3-.58.08-.87 0-.08 0-.19-.11-.26 0-.2.31-.39.27-.59.11-.38-.3-.76.19-1.14-.13 0 0-.13 0-.16.11-.14.39-.29.42-.45.08s-.23-.16-.36-.08a.89.89 0 0 1-.93.14c-.3-.14-.62-.37-.92.15-.07.13-.21 0-.32 0s-.3-.11-.44 0-.55.05-.82-.15a.5.5 0 0 0-.7 0c-.26.19-.55.35-.81.22a2 2 0 0 0-.76-.1 7.78 7.78 0 0 1-.82-.07 3.7 3.7 0 0 0-1.15 0 .2.2 0 0 1-.22-.08c-.31-.49-.64-.27-1-.14-.17.08-.33.15-.5 0s-.25 0-.38 0c-.28 0-.53.21-.82 0a1 1 0 0 0-.93.09c-.33.16-.65.27-1-.06-.08-.08-.19 0-.27.06s-.4-.14-.6 0a3 3 0 0 1-.66.26c-.05 0-.11 0-.16-.07-.42-.25-.85 0-1.27-.11-.09 0-.18.1-.27.19a.27.27 0 0 1-.43 0c-.13-.1-.26-.06-.38-.1-.35-.12-.69-.26-1 .13h-.1c-.19-.17-.37-.06-.55 0a.87.87 0 0 1-.61-.07c-.71-.39-.74-.42-1.38-.22a.84.84 0 0 1-.81.05l-.78-.11c-.07 0-.07-.1-.06-.21a1 1 0 0 0-.62.31c-.29.26-.57.46-.87.27a.18.18 0 0 0-.22 0c-.2.19-.37 0-.54-.17a.51.51 0 0 0-.65-.17 1.44 1.44 0 0 1-1.26.1.3.3 0 0 0-.38.11.43.43 0 0 1-.54.17 4.32 4.32 0 0 0-1.05-.2 2.53 2.53 0 0 0-1.05.13 2 2 0 0 1-1 0c-.24 0-.49.06-.71-.13-.44-.37-.88-.21-1.32-.07a.54.54 0 0 1-.21 0l-1.83-.14a.77.77 0 0 0-.27.11c-.07-.07-.14-.22-.2-.19-.39.2-.77.57-1.17.17-.26.2-.51-.14-.75-.07s-.77-.19-1.14.27a.18.18 0 0 1-.27 0 .48.48 0 0 0-.65.1c-.1.1-.21 0-.29-.22v-.08.06c-.07 0-.17.19-.21.11-.2-.44-.42-.25-.63-.15s-.15.08-.22 0c-.32-.35-.65-.22-1-.19s-.55.37-.81-.16c0-.1-.14 0-.22 0-.25 0-.51.15-.77 0a.24.24 0 0 0-.33 0c-.3.3-.58.08-.87 0-.09 0-.19-.11-.26 0-.2.31-.39.27-.59.11-.38-.3-.77.19-1.14-.13 0 0-.13 0-.16.11-.15.39-.29.42-.45.08s-.23-.16-.36-.08a.89.89 0 0 1-.93.14c-.3-.14-.62-.37-.92.15-.08.13-.21 0-.32 0s-.3-.11-.44 0l-.15-2.45a.45.45 0 0 1 .28 0c.34.2.7-.23 1 .19.4-.16.8.17 1.2-.22.08-.08.19 0 .28 0a3 3 0 0 0 1.83.13c.11 0 .23-.1.33 0 .32.29.62.06.93 0s.33-.18.5-.17a12.3 12.3 0 0 1 1.33.15 1 1 0 0 0 .94-.11.26.26 0 0 1 .27 0 4 4 0 0 0 2.11 0 1.72 1.72 0 0 1 .39 0c.44 0 .87.49 1.32.08a.16.16 0 0 1 .22 0c.38.36.77.09 1.15.19a.48.48 0 0 0 .44-.13.55.55 0 0 1 .82 0 .21.21 0 0 0 .21.05 2.07 2.07 0 0 1 1 0 1.74 1.74 0 0 0 1 .1 3.12 3.12 0 0 1 1.21-.3c.15 0 .3-.1.44 0 .49.32 1 .14 1.5.21a6.66 6.66 0 0 0 1 0c.33 0 .66-.31 1 0a6.68 6.68 0 0 1 1.84-.06h2.49c.2 0 .41.1.6 0a1.74 1.74 0 0 1 .43-.09.23.23 0 0 1 .35 0 .82.82 0 0 0 .87.17h.06a.31.31 0 0 1 .21-.08 3.77 3.77 0 0 1 1.49-.14 4.56 4.56 0 0 0 1.71-.2 1 1 0 0 1 .94.15.7.7 0 0 0 .6.21 3.85 3.85 0 0 1 .66-.13 6.62 6.62 0 0 1 2.66 0c.18.07.4.17.59-.18 0-.09.14 0 .21 0a3.54 3.54 0 0 0 .44.11 11.63 11.63 0 0 1 1.54.15 3.64 3.64 0 0 0 2.32-.16.66.66 0 0 1 .65 0c.33.21.66 0 1 .05.07 0 .15-.1.22-.08a4.74 4.74 0 0 0 2.21.14.45.45 0 0 1 .28 0c.34.2.7-.23 1 .19.4-.16.81.17 1.2-.22.08-.08.19 0 .28 0a3 3 0 0 0 1.83.13c.11 0 .23-.1.33 0 .32.29.62.06.93 0s.33-.18.5-.17a12.3 12.3 0 0 1 1.33.15 1 1 0 0 0 .94-.11.26.26 0 0 1 .27 0 4 4 0 0 0 2.11 0 1.72 1.72 0 0 1 .39 0c.44 0 .87.49 1.32.08a.16.16 0 0 1 .22 0c.38.36.77.09 1.15.19a.48.48 0 0 0 .44-.13.55.55 0 0 1 .82 0 .21.21 0 0 0 .21.05 2.07 2.07 0 0 1 1 0 1.74 1.74 0 0 0 1.05.1 3.17 3.17 0 0 1 1.21-.3c.15 0 .3-.1.44 0 .5.32 1 .14 1.5.21a6.66 6.66 0 0 0 1 0c.33 0 .66-.31 1 0a6.69 6.69 0 0 1 1.84-.06h2.49c.2 0 .41.1.61 0a1.15 1.15 0 0 1 1 0 .6.6 0 0 0 .72 0c.2-.17.4 0 .6.09s.41-.32.65-.22a2.33 2.33 0 0 0 1.21.18 10.82 10.82 0 0 1 1.61 0c.59 0 1.17.12 1.76.09.42 0 .86-.29 1.27-.06.67.37 1.33-.08 2 .1.41.12.84-.14 1.26-.16a14.1 14.1 0 0 1 1.95 0c.22 0 .44.17.66 0 .22.44.45.29.68 0 0 0 .08-.07.11 0 .27.41.54 0 .81-.06.65-.16 1.29.15 1.94.09.2 0 .41 0 .61-.06a2.33 2.33 0 0 1 .44-.1 8.67 8.67 0 0 0 2.16 0 .17.17 0 0 1 .21.09c.16.32.33.16.49.11a1 1 0 0 1 .71-.11.27.27 0 0 0 .27-.05.83.83 0 0 1 1-.17c.56.33 1.1-.34 1.66 0 .07 0 .14 0 .22-.07a.47.47 0 0 0-.15.84c.2-.28.39-.2.59 0a.4.4 0 0 0 .41 0c.16-.09.3 0 .44 0a18.08 18.08 0 0 1 1.94.14 4.72 4.72 0 0 0 1.58-.13.91.91 0 0 1 .83.15c.08.07.18 0 .27 0s.18-.15.27-.14a2.62 2.62 0 0 1 .82.14c.29.12.55-.21.83-.27a.23.23 0 0 1 .16 0 .72.72 0 0 0 .72-.18.76.76 0 0 1 .77 0 2.09 2.09 0 0 0 1.21.22 1.65 1.65 0 0 1 .88 0 1.71 1.71 0 0 0 1.38-.08.87.87 0 0 1 .39 0s.14 0 .16.07c.12.53.33.57.48.53h.35q.56-.09 1.11-.15a1.06 1.06 0 0 1 .39.06c.73.23.73.22 1.47-.19a.88.88 0 0 1 .61-.08c.18 0 .36.15.55 0 0 0 .08-.06.11 0 .34.39.68.25 1 .13.12 0 .25 0 .38-.1a.27.27 0 0 1 .43 0c.09.09.18.21.27.19.42-.1.85.14 1.27-.11.05 0 .11-.09.16-.07a2.45 2.45 0 0 1 .66.26c.21.11.4-.25.6 0s.19.15.27.07a.68.68 0 0 1 1-.06c.32.24.54-.37.88-.13a.91.91 0 0 0 .88.17 3.47 3.47 0 0 1 1.76-.24A4.56 4.56 0 0 0 173 76a1 1 0 0 1 .94.15.71.71 0 0 0 .6.21 3.85 3.85 0 0 1 .66-.13 6.62 6.62 0 0 1 2.66 0c.18.07.4.17.6-.18 0-.09.13 0 .2 0a3.54 3.54 0 0 0 .44.11 11.47 11.47 0 0 1 1.54.15 3.64 3.64 0 0 0 2.32-.16.66.66 0 0 1 .65 0c.34.21.66 0 1 .05.07 0 .15-.1.22-.08a4.74 4.74 0 0 0 2.21.14.45.45 0 0 1 .28 0c.34.2.7-.23 1 .19.4-.16.81.17 1.2-.22.08-.08.19 0 .28 0a3 3 0 0 0 1.83.13c.11 0 .23-.1.33 0 .32.29.63.06.94 0 .16 0 .33-.18.49-.17a12 12 0 0 1 1.33.15 1 1 0 0 0 .94-.11.26.26 0 0 1 .27 0 4 4 0 0 0 2.11 0 1.72 1.72 0 0 1 .39 0c.44 0 .87.49 1.32.08a.16.16 0 0 1 .22 0c.38.36.77.09 1.15.19a.47.47 0 0 0 .44-.13.55.55 0 0 1 .82 0 .23.23 0 0 0 .22.05 2 2 0 0 1 1 0 1.77 1.77 0 0 0 1.06.1 3.08 3.08 0 0 1 1.2-.3c.15 0 .3-.1.44 0 .5.32 1 .14 1.5.21a6.68 6.68 0 0 0 1 0c.33 0 .66-.31 1 0a6.61 6.61 0 0 1 1.83-.06h2.49c.2 0 .41.1.61 0a1.15 1.15 0 0 1 1 0 .6.6 0 0 0 .72 0c.21-.17.4 0 .6.09s.41-.32.65-.22a2.33 2.33 0 0 0 1.21.18 10.82 10.82 0 0 1 1.61 0c.59 0 1.17.12 1.76.09.43 0 .86-.29 1.27-.06.67.37 1.33-.08 2 .1.41.12.84-.14 1.27-.16a14 14 0 0 1 1.94 0c.22 0 .44.17.66 0 .23.44.45.29.68 0 0 0 .08-.07.11 0 .27.41.54 0 .81-.06.65-.16 1.3.15 1.94.09.2 0 .41 0 .61-.06a2.33 2.33 0 0 1 .44-.1 8.67 8.67 0 0 0 2.16 0 .17.17 0 0 1 .21.09c.16.32.33.16.49.11a1 1 0 0 1 .71-.11.29.29 0 0 0 .28-.05.81.81 0 0 1 .95-.17c.56.33 1.1-.34 1.66 0 .07 0 .15 0 .22-.07a.47.47 0 0 0 .16-.1c.2-.28.39-.2.6 0a.4.4 0 0 0 .44.07c.15-.09.29 0 .43 0a18.08 18.08 0 0 1 1.94.14 4.72 4.72 0 0 0 1.58-.13.91.91 0 0 1 .83.15c.08.07.18 0 .27 0s.18-.15.27-.14a2.57 2.57 0 0 1 .82.14c.29.12.55-.21.83-.27a.23.23 0 0 1 .16 0 .72.72 0 0 0 .72-.18.76.76 0 0 1 .77 0 2.09 2.09 0 0 0 1.21.22 1.65 1.65 0 0 1 .88 0z\\\"/><rect x=\\\"52.38\\\" y=\\\"39.59\\\" width=\\\"31.45\\\" height=\\\"8.75\\\" rx=\\\"1.56\\\" fill=\\\"#fff\\\"/><path d=\\\"M82.14 49.21c-.17-.16-.34.18-.51.09l-.12-.07a.88.88 0 0 0-.27-.06c-.28 0-.56.3-.84.11h-.14c-.23.13-.46.25-.69-.12-.16.32-.33.1-.49.21s-.26 0-.39 0-.26.14-.39-.07-.26.24-.38.19h-.07c-.18-.1-.36 0-.55 0s-.2.12-.29.12-.19-.16-.27 0-.19-.13-.28 0-.07 0-.1.06-.13.12-.2 0-.15-.77-.38-.52-.19.29-.28-.07c-.06.28-.13.35-.19 0-.13.4-.26.1-.39.12s-.15-.08-.22-.2-.12-.07-.18 0-.33.31-.49.23a.26.26 0 0 0-.32 0c-.07.07-.14.27-.2-.14 0-.07 0 0-.06 0s-.12.09-.18 0a.66.66 0 0 0-.61-.16 1.4 1.4 0 0 1-.29 0l-.1.1c-.03.03-.28.45-.42.14 0-.08-.09-.05-.12 0s-.15.16-.22.09-.18-.12-.27 0-.2.1-.3-.1-.08-.08-.12-.07a2.72 2.72 0 0 1-.49.05c-.08 0-.16-.14-.24-.12a2.53 2.53 0 0 0-.55.22c-.07 0-.13 0-.2-.2s-.18-.26-.28 0-.3.33-.44.06-.31-.26-.46.11-.21.46-.32.27-.06 0-.09 0-.13 0-.2-.17-.15-.26-.23-.17-.31.33-.47.1c0-.06-.1 0-.14.11s-.13.22-.2.17a.81.81 0 0 0-.39-.2.42.42 0 0 0-.39.13c-.13.14-.25.08-.38 0s-.18.06-.26-.12c-.17-.38-.33-.22-.49-.07s0 0-.08 0l-.67-.14-.11.11c0-.07-.05-.23-.07-.2-.15.2-.29.57-.44.17-.09.2-.19-.14-.28-.07s-.28-.19-.42.27c0 .1-.06.1-.1 0s-.16-.11-.23.1-.08 0-.11-.22v-.08.06s-.07.19-.08.11c-.08-.44-.15-.25-.23-.15s-.06.08-.08 0c-.12-.35-.25-.22-.37-.18s-.2.36-.3-.17c0-.1-.05 0-.08 0s-.19.15-.28 0-.09-.06-.13 0c-.1.3-.21.09-.32 0s-.07-.12-.09 0c-.08.31-.15.27-.22.11s-.28.19-.42-.13c0 0-.05 0-.06.11-.06.39-.11.42-.17.08s-.08-.16-.13-.07-.23.29-.34.14-.23-.38-.34.15c0 .13-.08 0-.12 0s-.11-.11-.16 0-.21 0-.31-.15-.17-.14-.26 0-.2.35-.3.22-.18-.07-.28-.09a1.67 1.67 0 0 1-.3-.08.54.54 0 0 0-.43 0l-.08-.08c-.11-.49-.23-.27-.35-.13s-.12.14-.19 0-.09 0-.14 0-.2.21-.3 0-.23 0-.34.09-.25.27-.37-.06c0-.08-.07 0-.1.07s-.14-.15-.23 0a1 1 0 0 1-.42.25s-.06 0-.09-.08c-.2-.28-.51-.11-.71-.31 0 0-.14 0-.24.11s-.25 0-.26-.1-.1-.14-.13-.22-.13-.45-.57-.35v-.07c.06-.2-.09-.22-.18-.3a.35.35 0 0 1-.12-.38c.21-.59.25-.53 0-.91a.33.33 0 0 1-.07-.23c0-.23-.62-.23-.62-.36s-.14-.12.28-.18.25-.15.18-.22c-.33-.32 0-.65 0-1a.71.71 0 0 1 .13-.24c0-.08 0-.15-.21-.23s-.24-.22-.15-.34a.71.71 0 0 0 .2-.64.6.6 0 0 1 .24-.65c.13-.1 0-.22-.17-.32s-.11-.25.35-.33.17-.17.17-.17v-.17c0-.05-.57-.15-.52-.28s.23-.21.38-.48-.15-.54 0-.77l.12-.15a3.15 3.15 0 0 0 .22-.33c.16-.35.3-.88.79-1a.3.3 0 0 0 .17-.13.69.69 0 0 1 1-.14c.27-.33.38-.1.56-.21s.26 0 .39 0 .27-.14.39.07.26-.24.39-.19 0 0 .06 0c.18.1.37 0 .55 0s.2-.12.29-.12.19.15.27 0 .19.14.28 0 .07 0 .1-.06.14-.12.2 0 .15.77.38.52.19-.28.28.07c.07-.28.13-.35.19 0 .13-.39.26-.1.39-.12s.15.08.22.2.12.07.18 0 .33-.32.49-.24a.27.27 0 0 0 .33 0c.06-.06.13-.26.19.14 0 .07 0 0 .06 0s.12-.09.18 0a.7.7 0 0 0 .62.15.88.88 0 0 1 .28 0s.07-.08.1-.11.28-.45.43-.14c0 .08.08.06.12-.05s.14-.16.22-.09.17.12.26 0 .2-.1.31.1a.1.1 0 0 0 .12.07 3.71 3.71 0 0 1 .48 0c.08 0 .16.14.24.12a2.53 2.53 0 0 0 .55-.22c.07 0 .13 0 .2.2s.19.26.28 0 .3-.34.44-.07.31.26.47-.1.2-.47.32-.28h.08c.08 0 .13 0 .2.17s.15.26.24.17.31-.33.46-.1c0 .07.1 0 .14-.11s.13-.22.2-.17a.81.81 0 0 0 .39.2.42.42 0 0 0 .39-.13c.13-.13.26-.07.38 0s.18-.06.27.13c.16.37.32.21.48.07a.15.15 0 0 1 .08 0l.68.14s.06-.07.1-.1c0 .07 0 .22.08.19.14-.2.28-.57.43-.17.09-.2.19.14.28.07s.28.19.42-.27c0-.1.06-.1.1 0s.16.11.24-.1.07 0 .1.22.07-.19.08-.11c.08.44.16.25.24.15s0-.08.08 0c.12.35.24.22.36.19s.2-.37.3.16c0 .1.05 0 .08 0s.19-.15.28 0 .09.07.13 0c.11-.3.21-.08.32 0s.07.11.1 0c.07-.31.14-.27.21-.11s.29-.19.43.13v-.11c.06-.39.11-.42.17-.08s.08.17.13.08.23-.3.35-.14.22.37.34-.15c0-.13.07 0 .11 0s.12.11.17 0 .2-.05.3.15.17.14.26 0 .2-.35.3-.22.19.07.28.1a1.09 1.09 0 0 1 .3.07.54.54 0 0 0 .43 0s.06 0 .08.08c.12.49.24.27.36.14s.11-.15.18 0 .09 0 .14 0 .2-.21.3 0 .23 0 .34-.09.25-.26.37.06c0 .08.07 0 .1-.06s.14.14.22 0a1 1 0 0 1 .24-.26l.06.07c.16.25.32 0 .47.11s.07-.1.1-.19.11-.17.16 0 .1.06.14.1.26.27.38-.13.14.06.21 0 .15 0 .22.07c.26.39.28.42.51.23 0-.09.09-.13.16-.14a.3.3 0 0 1 .24.09 2.19 2.19 0 0 1 .43.15v.21a.8.8 0 0 0 .43-.19c.26-.19.54-.28.61 0a.09.09 0 0 0 .13.06c.22-.08.22.13.16.34s0 .35.16.39.58.22.48.57c0 .09 0 .15.19.16s.28.14.26.28a6.86 6.86 0 0 0-.12.7c0 .26 0 .32.14.47s.07.25 0 .38.06.18-.13.26c-.37.17-.22.33-.07.49s0 .05 0 .08l-.14.67s.07.07.1.11c-.07 0-.22 0-.19.07.2.15.56.29.16.44.2.09-.13.18-.06.28s-.19.28.27.41c.1 0 .09.07 0 .1s-.11.16.1.24 0 .08-.23.11.2.07.12.08c-.45.08-.25.15-.15.23s.08.06 0 .08c-.35.12-.22.24-.19.37s.37.2-.16.3c-.1 0 0 0 0 .08s.14.19 0 .28-.07.08 0 .14c.3.18.07.37-.1.49s-.13.08-.05.15c.27.19.18.31 0 .36-.35.06-.06.51-.46.5v.13c.24.33.17.44-.13.25s-.21 0-.22.09c0 .27-.16.46-.41.41s-.45-.22-.52.33c0 .14-.14 0-.21 0s-.21-.09-.29 0c-.06-.82-.1-1.63-.1-2.45.06.2 0-.23.14.16 0-.15.18.11 0-.25 0-.07 0 0 0 0 .2.17.31.08.21-.05s-.07-.07 0 0c.28.07.09-.07 0-.11s-.17 0-.17-.06 0-.08.06-.17l.1-.24c0-.12.15-.23-.11-.35-.07 0-.06-.07 0-.1.27-.26.13-.52 0-.78v-.14c0-.04.49-.33.08-.49-.06 0-.06-.06 0-.08.36-.14.09-.29.19-.43s0-.11-.13-.16-.23-.2 0-.3c.06 0 .06-.06 0-.08a.32.32 0 0 1 0-.37c.08-.13.24-.26.1-.39s-.33-.29-.31-.44-.09-.11 0-.17c.31-.18.14-.36.2-.55a.38.38 0 0 0 0-.18v-.1c0-.04-.31 0 0-.16-.15 0-.14-.14-.18-.23s-.2-.16-.31-.18 0-.11-.08-.05-.06.08-.08.08 0 .15 0 0 0-.3-.18-.17c0 .06 0 .08-.08.08a.59.59 0 0 1-.55.14.73.73 0 0 0-.63.2c-.12.1-.24.09-.35-.15s-.15-.25-.22-.21a.67.67 0 0 1-.25.13c-.32 0-.65.37-1 0-.06-.07-.15-.17-.22.18 0 .09 0 0-.07 0s-.11-.1-.17-.11a1.72 1.72 0 0 1-.57-.15.59.59 0 0 0-.85.16c-.08.1-.17.15-.24 0s-.25 0-.37 0 0 .1-.08.08a.73.73 0 0 0-.82-.14.07.07 0 0 1-.1 0c-.13-.2-.26.23-.38-.19-.15.16-.3-.17-.45.22 0 .08-.07 0-.1 0a.48.48 0 0 0-.68-.14s-.08.1-.12 0c-.12-.29-.23-.06-.35 0s-.12.18-.18.17a1.84 1.84 0 0 1-.49-.15c-.12-.06-.23-.15-.35.11 0 .07-.07.06-.1 0-.26-.28-.52-.13-.78 0h-.14c-.05 0-.32-.49-.49-.08 0 .06-.06 0-.08 0-.14-.36-.29-.09-.43-.19s-.11 0-.16.13-.2.23-.3 0c0-.06 0-.07-.08 0a.32.32 0 0 1-.37 0c-.13-.08-.26-.24-.38-.1s-.3.32-.45.31-.11.09-.16 0c-.19-.32-.37-.14-.56-.21a1.14 1.14 0 0 0-.37 0c-.12 0-.24.31-.36 0a1 1 0 0 1-.68.06 7.08 7.08 0 0 0-.92 0c-.08 0-.15-.09-.22 0s-.25.14-.37 0-.18-.17-.27 0-.14 0-.22-.09-.15.32-.24.23-.3-.26-.45-.19-.39 0-.59 0-.43-.12-.65-.09-.32.29-.47.06-.49.08-.74-.1-.31.14-.47.16a1.94 1.94 0 0 1-.72 0c-.08 0-.16-.17-.24 0-.08-.44-.17-.29-.25 0 0 0 0 .07 0 0-.1-.41-.2 0-.3.06s-.48-.15-.72-.09a1.8 1.8 0 0 0-.22.06c-.06 0-.11.11-.17.1a1.19 1.19 0 0 0-.79 0s-.06 0-.08-.09c-.06-.32-.12-.16-.18-.11s-.18.2-.27.11-.07 0-.1.05c-.11.25-.24.35-.35.17s-.41.34-.61.05c0 0-.06 0-.09.07a.29.29 0 0 0-.06.1c-.07.28-.14.2-.22 0s-.11-.15-.16-.07-.11 0-.16 0c-.24-.08-.48 0-.72-.14s-.25.06-.28.13 0 .1-.13-.12.41.16.41.16a.44.44 0 0 1-.15-.09c-.11-.07.1.21.14.26-.09-.06 0 0 .13.13s.1.06 0 0-.29-.05-.22 0 .15 0 0 .09-.16.34.08.51c.06 0 0 .09 0 .14s0 .05-.07.06c-.53 0-.57.12-.53.18v.13a2.86 2.86 0 0 1 .15.41s0 .09-.07.14c-.23.27-.21.27.2.54a.17.17 0 0 1 .08.23c0 .07-.15.13 0 .2s.05 0 0 0c-.39.13-.25.26-.13.39s0 .09.1.13.12.11 0 .17-.21.06-.19.09-.14.32.11.47c0 0 .09 0 .07.06a.89.89 0 0 1-.26.25c-.11.07.25.14 0 .22s-.14.07-.06.1c.33.12.3.24.06.36s.37.2.13.33-.3.12-.17.16.31.06.29.14.09.11.24 0 .08-.07 0 .17-.08.25 0 .22.09-.1.12-.11.1-.1.16-.14a.44.44 0 0 1 .49.12c.07.06.15.16.22-.19 0-.08.05 0 .07 0s.11.1.17.11a2 2 0 0 1 .57.15.59.59 0 0 0 .85-.16c.08-.1.17-.15.24 0s.25 0 .37 0 .06-.09.08-.07a.75.75 0 0 0 .82.13.07.07 0 0 1 .1 0c.13.2.26-.23.39.19.14-.16.29.17.44-.22 0-.08.07 0 .1 0a.49.49 0 0 0 .68.13s.09-.1.12 0c.12.29.23.06.35 0s.12-.18.18-.17a1.56 1.56 0 0 1 .49.16c.12 0 .23.14.35-.12 0-.07.07-.06.1 0 .26.28.52.13.78 0h.14c.05 0 .33.49.49.08 0-.06.06-.05.08 0 .14.36.29.09.43.19s.11 0 .16-.13.2-.23.3 0c0 .05.06.06.08 0a.32.32 0 0 1 .37 0c.13.08.26.24.39.11s.29-.33.44-.31.11-.1.16 0c.19.32.37.14.56.21a.77.77 0 0 0 .37 0c.12 0 .24-.3.36 0a1 1 0 0 1 .68-.06 7.08 7.08 0 0 0 .92 0c.08 0 .15.1.23 0s.24-.13.36 0 .18.17.27 0 .15-.05.22.09.15-.32.24-.22.3.25.45.18.39 0 .59 0 .43.12.65.09.32-.29.47-.06.5-.08.74.11.31-.15.47-.17a2.18 2.18 0 0 1 .72 0c.08 0 .16.17.24 0 .09.44.17.29.25 0 0 0 0-.07 0 0 .11.41.2 0 .3-.06s.48.16.72.09a1 1 0 0 0 .23-.06c.05 0 .11-.11.16-.09a1.29 1.29 0 0 0 .8 0s.06 0 .08.09c0 .32.12.16.18.11s.17-.2.26-.11.07 0 .1 0c.12-.25.24-.35.35-.17s.41-.34.62 0l.08-.07a.29.29 0 0 0 .06-.1c.07-.27.14-.2.22-.05s.11.15.16.07.11 0 .16 0c.24.08.48 0 .72.14s.39-.06.58-.13.21-.1.31.15c0 .07.07 0 .1 0s.07-.15.1-.14a.48.48 0 0 1 .3.15c.11.11.2-.22.31-.28s0 0 .06 0 .18 0 .26-.17.19-.12.29 0 .3.3.44.22.22-.15.33 0z\\\" fill=\\\"#fff\\\"/><rect x=\\\"52.38\\\" y=\\\"63.72\\\" width=\\\"35.54\\\" height=\\\"5.98\\\" rx=\\\"1.31\\\" fill=\\\"#f8afaf\\\"/><path d=\\\"M86.48 70.56c-.18-.16-.36.18-.53.09l-.13-.07a.71.71 0 0 0-.28-.06c-.29 0-.58.3-.87.11h-.15c-.24.13-.48.25-.72-.12-.17.32-.34.1-.51.2s-.27 0-.4 0-.28.14-.41-.07-.26.24-.4.19 0 0-.06 0a1 1 0 0 0-.58 0c-.1 0-.2.12-.3.12s-.19-.15-.28 0-.19-.14-.29 0-.08 0-.11.06-.14.12-.21 0-.15-.77-.39-.52c-.09.1-.2.28-.29-.07 0 0 0-.05 0 0-.07.28-.13.35-.2 0-.13.4-.27.1-.4.12s-.15-.08-.23-.2-.13-.07-.19 0-.34.32-.51.24a.29.29 0 0 0-.34 0c-.07.06-.14.26-.2-.14 0-.07 0 0-.06 0s-.12.09-.19 0a.73.73 0 0 0-.64-.15 1 1 0 0 1-.3 0s-.06.08-.1.11-.29.45-.44.14c0-.08-.09-.06-.12 0s-.15.16-.23.09-.18-.12-.28 0-.21.1-.31-.1a.11.11 0 0 0-.13-.07 4.23 4.23 0 0 1-.5 0c-.08 0-.17-.14-.25-.12a2.68 2.68 0 0 0-.57.22c-.08 0-.14 0-.21-.2s-.2-.26-.29 0-.31.34-.46.07-.33-.26-.48.11-.22.46-.34.27h-.08c-.02 0-.14 0-.21-.17s-.16-.26-.25-.17-.32.33-.48.1c0-.06-.1 0-.15.11s-.13.22-.2.17a.87.87 0 0 0-.41-.2.44.44 0 0 0-.4.13c-.14.13-.27.07-.4 0s-.19.06-.27-.13c-.17-.37-.34-.21-.51-.07a.15.15 0 0 1-.08 0l-.7-.14-.11.11c0-.07 0-.22-.07-.19-.15.2-.3.57-.45.17-.1.2-.2-.14-.29-.07s-.29-.19-.44.27c0 .1-.07.1-.1 0s-.17-.11-.25.1-.08 0-.11-.22-.07.19-.08.11c-.08-.44-.16-.25-.24-.15s-.06.08-.09 0c-.12-.35-.25-.22-.38-.19s-.21.37-.31-.16c0-.1 0 0-.08 0s-.2.15-.3 0-.09-.07-.12 0c-.12.3-.23.08-.34-.05s-.07-.11-.1 0c-.07.31-.15.27-.22.11s-.3.19-.44-.13l-.06.11c-.06.39-.11.42-.18.08s-.08-.16-.14-.08-.23.3-.35.14-.24-.37-.36.15c0 .13-.08 0-.12 0s-.11-.11-.17 0-.21 0-.31-.15-.18-.14-.27 0-.21.35-.31.22-.2-.07-.3-.1a1.25 1.25 0 0 1-.31-.07.56.56 0 0 0-.44 0s-.06 0-.09-.08c-.12-.49-.24-.27-.37-.14s-.12.15-.19 0-.09 0-.14 0-.21.21-.32 0-.24-.05-.35.09-.26.27-.38-.06c0-.08-.07 0-.1.06s-.16-.14-.24 0a.89.89 0 0 1-.25.26l-.06-.07c-.16-.25-.33 0-.49-.11s-.07.1-.1.19-.11.17-.17 0-.1-.06-.14-.1-.27-.26-.4.13-.14-.06-.21 0a.17.17 0 0 1-.24-.07c-.28-.41-.28-.43-.56-.2-.05 0-.1.08-.15.06s-.15.62-.29.62-.12.13-.24-.28-.25-.25-.39-.19c-.67.31-1.16-.24-1.54-.6a1 1 0 0 1-.21-.37c-.05-.13-.18-.16-.38-.17a.41.41 0 0 1-.41-.48 6.62 6.62 0 0 0 0-1.17v-.27a.47.47 0 0 1 0-.17.65.65 0 0 1 .23-.34c.13-.11 0-.23-.17-.34s-.11-.26.35-.34.17-.18.17-.18v-.17c0-.05-.57-.16-.52-.29s.23-.28.38-.45-.19-.49-.08-.74a1.3 1.3 0 0 0 .08-.17 2.87 2.87 0 0 0 .15-.37c.09-.39.16-.95.63-1.08.08 0 .12-.1.16-.16a.69.69 0 0 1 1-.23h.05c.16-.34.58-.11.7-.22s.27 0 .4 0 .28-.14.41.07.27-.23.4-.19h.06c.2.1.39 0 .58 0s.21-.12.3-.12.2.15.28 0 .2.13.29 0 .08 0 .11-.07.14-.11.21 0 .15.78.39.52c.09-.1.2-.28.29.07 0 .05 0 .06 0 0 .07-.27.13-.34.2 0 .13-.39.27-.1.4-.12s.16.08.23.2.13.07.19 0 .34-.32.51-.24a.27.27 0 0 0 .34 0c.07-.06.14-.26.2.14 0 .08 0 0 .06 0s.13-.1.19 0a.74.74 0 0 0 .64.15h.3c.1 0 .07-.08.1-.1s.29-.46.44-.14c0 .08.09.05.13 0s.15-.17.22-.1.19.12.28 0 .21-.1.32.1.08.07.12.06a4.21 4.21 0 0 1 .5 0c.09 0 .17.13.26.12a3.34 3.34 0 0 0 .57-.22c.07 0 .14 0 .21.2s.19.26.29 0 .3-.33.45-.06.33.26.49-.11.21-.46.33-.28.06 0 .08 0 .15 0 .21.18.16.26.25.17.32-.34.48-.1c0 .06.11 0 .15-.12s.13-.22.21-.16a1.07 1.07 0 0 0 .4.2.45.45 0 0 0 .4-.14c.14-.13.27-.07.4 0s.19-.06.28.13c.17.37.33.22.5.07s.06 0 .09 0l.7.13s.07-.06.1-.1c0 .07.05.22.07.19.15-.2.3-.56.45-.16.1-.2.2.13.29.06s.3.19.44-.27c0-.1.07-.09.1 0s.17.11.25-.1.08 0 .11.23v.07s.07-.19.08-.11c.08.44.16.24.25.15s.06-.09.08 0c.12.35.25.22.38.19s.21-.37.31.16c0 .1 0 0 .08 0s.2-.14.3 0 .09.07.13 0c.11-.31.22-.09.33 0s.08.11.1 0c.08-.3.15-.27.23-.11s.29-.19.44.13l.06-.1c0-.4.11-.42.17-.09s.09.17.14.08.23-.29.35-.14.24.37.36-.15c0-.13.08 0 .12 0s.12.12.17 0 .21-.06.31.15.18.13.27 0 .22-.34.32-.21.19.07.29.09a1.16 1.16 0 0 1 .31.07.56.56 0 0 0 .44 0s.06 0 .09.08c.12.48.24.27.37.13s.12-.15.19 0 .1 0 .15 0 .2-.21.31 0 .24.05.36-.09.25-.26.37.06c0 .08.08 0 .11-.06s.15.15.23 0a1 1 0 0 1 .25-.26l.06.07c.17.26.33 0 .49.12s.07-.1.1-.2.12-.16.17 0 .1.07.15.11.26.26.39-.14.14.06.21 0 .15 0 .23.08c.27.39.28.42.53.22.1-.17.21-.17.31 0l.3.1v.21c0 .11.16-.12.24-.3s.22-.46.34-.28.06 0 .08 0 .14 0 .21.18.16.26.25.17.32-.34.48-.1q.08.09.15-.12c.07-.23.13-.22.2-.16a1.11 1.11 0 0 0 .41.2.47.47 0 0 0 .41-.14.88.88 0 0 1 .71 0c.14.06.34 0 .41.21.12.42.38.37.7.4.06 0 .11 0 .14.05a2.44 2.44 0 0 1 .6.93c0 .05.1.07.16.1 0 .07-.17.18-.13.19.25.12.67.3.29.64.21.14-.12.35-.06.49s-.19.31.28.48c.09 0 .09.07 0 .1s-.11.17.09.25 0 .08-.22.11.19.07.11.08c-.44.08-.25.16-.15.24s.08.06 0 .09c-.36.12-.23.25-.19.38s.36.21-.17.31c-.09 0 0 0 0 .08s.15.2 0 .3-.06.09 0 .12c.31.12.09.23 0 .34s-.12.07 0 .1c.3.07.26.26.08.36s.06.57-.35.67v.14c.3.28.24.41-.09.3s-.22 0-.22.13-.13.52-.41.5-.49-.16-.56.4c0 .14-.16 0-.24 0s-.23-.08-.32 0c-.07-.81-.11-1.62-.11-2.44s-.05-.22.1.17c-.06-.15.17.09-.06-.22-.06-.06 0 0 0 0 .21.17.29.06.16 0s-.1 0 0 0c.29 0 .07-.11 0-.23s-.19-.13-.18-.19a2 2 0 0 1 .16-.51c0-.12.14-.24-.12-.36-.07 0-.06-.07 0-.11.27-.27.12-.54 0-.81v-.14c0-.04.49-.34.09-.51-.07 0-.06-.07 0-.08.35-.07.08-.13.18-.2s0-.06-.13 0-.23 0 0-.13c.05 0 .05-.06 0-.06s-.1 0-.08-.14.08-.29-.07-.2-.29.25-.33.23-.06.09-.05 0c0-.32-.09-.15-.22-.21a.81.81 0 0 0-.38 0c-.13 0-.25.3-.38 0a1.13 1.13 0 0 1-.7.06 7.71 7.71 0 0 0-1 0c-.08 0-.16-.1-.23 0a.29.29 0 0 1-.17.09c0 .12-.08.16-.13 0s-.23-.29-.34-.17-.06.07-.08.07a.61.61 0 0 1-.57.15.74.74 0 0 0-.66.19c-.12.1-.25.1-.36-.15s-.16-.25-.23-.2-.17.12-.26.12c-.34 0-.68.37-1 0-.07-.07-.15-.16-.23.18 0 .09 0 0-.08 0a.45.45 0 0 0-.17-.11 2.26 2.26 0 0 1-.59-.16.64.64 0 0 0-.89.16c-.08.11-.17.15-.25 0s-.25 0-.38 0-.06.09-.08.07a.8.8 0 0 0-.85-.14h-.11c-.13-.21-.27.22-.4-.19-.15.15-.31-.18-.46.22 0 .07-.07 0-.11 0a.5.5 0 0 0-.7-.14s-.09.1-.13 0c-.12-.29-.24-.06-.36 0s-.12.18-.19.18a2 2 0 0 1-.51-.16c-.12-.05-.24-.15-.36.11 0 .07-.07.07-.1 0-.27-.27-.54-.13-.81 0h-.15c-.05 0-.34-.49-.51-.08 0 .06-.06.06-.08 0-.15-.36-.3-.08-.45-.19s-.11 0-.17.13-.21.23-.31 0c0-.06-.06-.06-.08 0a.35.35 0 0 1-.38 0c-.14-.08-.27-.24-.41-.1s-.3.33-.46.31-.11.09-.17 0c-.19-.31-.38-.14-.57-.2a.86.86 0 0 0-.39 0c-.12 0-.25.3-.38 0a1.13 1.13 0 0 1-.7.06 7.71 7.71 0 0 0-1 0c-.08 0-.16-.1-.23 0s-.26.14-.38 0-.19-.16-.28 0-.15 0-.23-.09-.16.31-.25.22-.31-.26-.47-.19-.41 0-.61 0-.45-.11-.68-.08-.33.29-.49.06-.51.08-.77-.11-.32.15-.48.17a2.36 2.36 0 0 1-.75 0c-.08 0-.17-.17-.25 0-.09-.44-.17-.3-.26 0 0 0 0 .07 0 0-.11-.41-.21 0-.32.07s-.49-.16-.74-.1a1.09 1.09 0 0 0-.24.07c-.05 0-.11.1-.17.09a1.28 1.28 0 0 0-.82 0s-.07 0-.09-.09c-.06-.32-.12-.17-.18-.11s-.18.19-.28.11-.07 0-.1 0c-.12.26-.25.35-.37.17-.21-.33-.42.35-.64.06 0 0-.05 0-.08.07a.17.17 0 0 0-.06.1c-.08.27-.15.19-.23 0s-.12-.14-.17-.07-.11 0-.17 0c-.23-.09-.52 0-.72-.14s.02-.07.02.01 0 .11-.15-.11c-.05-.07 0 0 0 0s.07.14.06.14a.62.62 0 0 1-.17-.07c-.12-.06.14.21.19.25-.11 0 0 0 .15.12s.11 0 0 0h-.22c.07 0 .15.2 0 .29s-.16.35.08.53c.06 0 0 .1 0 .15s0 0-.07.06c-.53 0-.57.13-.53.19v.13a3.66 3.66 0 0 1 .15.43.18.18 0 0 1-.07.15c-.23.27-.21.29.2.54.11 0 .11 0 .08.06s-.15.07 0 0 .06 0 0 0c-.39.15-.24.19-.11.16s0 0 .12 0 .11-.05 0 .06-.17.17-.15.16 0 .22.21 0c0 0 .07-.07.06 0s0 .14-.06.27.16-.23.11 0 0 .15 0 .07c.14-.33.13-.3.17-.06s.14-.37.27-.13.22.3.33.17a.64.64 0 0 1 .68-.24.79.79 0 0 0 .66-.2c.12-.1.24-.09.36.15s.15.25.23.21a.75.75 0 0 1 .25-.13c.34 0 .68-.37 1 0 .07.07.16.17.23-.18 0-.09 0 0 .08 0s.11.1.17.11a1.83 1.83 0 0 1 .59.15.64.64 0 0 0 .89-.16c.08-.1.17-.15.25 0s.25 0 .38.05.06-.1.08-.08a.8.8 0 0 0 .86.14.07.07 0 0 1 .1 0c.13.2.27-.23.4.19.15-.16.31.17.46-.22 0-.08.07 0 .11 0a.51.51 0 0 0 .7.13s.09-.1.13 0c.12.29.24.06.36 0s.13-.18.19-.17a2 2 0 0 1 .51.15c.12.06.24.15.36-.11 0-.07.07-.06.11 0 .27.28.54.13.81 0h.14c.05 0 .34.49.51.08 0-.06.06 0 .09 0 .14.36.29.09.44.19s.12 0 .17-.13.21-.23.31 0c0 .06.06.07.08.05a.33.33 0 0 1 .38 0c.14.08.28.24.41.1s.31-.32.46-.3.12-.1.17 0c.19.32.38.14.58.21a1 1 0 0 0 .38 0c.13 0 .25-.31.38 0a1 1 0 0 1 .7-.06 7.71 7.71 0 0 0 1 0c.08 0 .16.1.23 0a.23.23 0 0 1 .39 0c.09.13.18.17.27 0s.15 0 .23.09.16-.32.25-.22.31.25.47.18.41 0 .61 0 .45.12.68.09.33-.29.49-.06.51-.08.77.1.32-.14.48-.16a2.1 2.1 0 0 1 .75 0c.09 0 .17.17.25.05.09.44.18.29.26 0 0 0 0-.07.05 0 .1.41.21 0 .31-.06.25-.16.5.15.74.09a1.05 1.05 0 0 0 .24-.06s.11-.11.17-.1a1.31 1.31 0 0 0 .83 0s.06 0 .08.09c.06.32.12.16.19.11s.18-.2.27-.11.07 0 .1 0c.12-.25.25-.35.37-.17.22.33.43-.34.64 0l.08-.07c.08-.07 0 0 .06-.1.08-.28.16-.2.23 0s.12.15.17.07.11 0 .17 0c.25.08.5 0 .74.14s.41-.07.61-.13.22-.1.32.15c0 .07.07 0 .1 0s.07-.15.11-.14a.48.48 0 0 1 .31.14c.12.12.22-.21.32-.27s0 0 .06 0 .19 0 .28-.17.19-.12.29 0 .32.29.47.22.23-.15.34-.05z\\\" fill=\\\"#f8afaf\\\"/><rect x=\\\"102.8\\\" y=\\\"63.72\\\" width=\\\"35.54\\\" height=\\\"5.98\\\" rx=\\\"1.31\\\" fill=\\\"#f8afaf\\\"/><path d=\\\"M136.9 70.56c-.18-.16-.36.18-.53.09l-.13-.07a.71.71 0 0 0-.28-.06c-.29 0-.58.3-.87.11h-.15c-.24.13-.48.25-.72-.12-.17.32-.34.1-.51.2s-.27 0-.4 0-.28.14-.41-.07-.27.24-.4.19 0 0-.06 0a1 1 0 0 0-.58 0c-.1 0-.2.12-.3.12s-.2-.15-.28 0-.2-.14-.29 0-.08 0-.11.06-.14.12-.21 0-.15-.77-.39-.52c-.09.1-.2.28-.29-.07 0 0 0-.05 0 0-.07.28-.13.35-.2 0-.13.4-.27.1-.4.12s-.16-.08-.23-.2-.13-.07-.19 0-.34.32-.51.24a.29.29 0 0 0-.34 0c-.07.06-.14.26-.2-.14 0-.07 0 0-.06 0s-.13.09-.19 0a.74.74 0 0 0-.64-.15 1 1 0 0 1-.3 0s-.07.08-.1.11-.29.45-.44.14c0-.08-.09-.06-.13 0s-.14.16-.22.09-.18-.12-.28 0-.21.1-.32-.1-.08-.08-.12-.07a4.23 4.23 0 0 1-.5 0c-.09 0-.17-.14-.25-.12a2.56 2.56 0 0 0-.58.22c-.07 0-.14 0-.2-.2s-.2-.26-.3 0-.3.34-.45.07-.33-.26-.48.11-.22.46-.34.27h-.08c-.02 0-.15 0-.21-.17s-.16-.26-.25-.17-.32.33-.48.1c0-.06-.11 0-.15.11s-.13.22-.21.17a.8.8 0 0 0-.4-.2.44.44 0 0 0-.4.13c-.14.13-.27.07-.4 0s-.19.06-.28-.13c-.17-.37-.33-.21-.5-.07a.15.15 0 0 1-.08 0l-.7-.14s-.08.07-.11.11c0-.07 0-.22-.07-.19-.15.2-.3.57-.45.17-.1.2-.2-.14-.29-.07s-.3-.19-.44.27c0 .1-.07.1-.1 0s-.17-.11-.25.1-.08 0-.11-.22-.07.19-.08.11c-.08-.44-.16-.25-.25-.15s-.06.08-.08 0c-.12-.35-.25-.22-.38-.19s-.21.37-.31-.16c0-.1 0 0-.08 0s-.2.15-.3 0-.09-.07-.13 0c-.11.3-.22.08-.33-.05s-.07-.11-.1 0c-.08.31-.15.27-.23.11s-.29.19-.44-.13l-.06.11c0 .39-.11.42-.17.08s-.09-.16-.14-.08-.23.3-.35.14-.24-.37-.36.15c0 .13-.08 0-.12 0s-.12-.11-.17 0-.21 0-.31-.15-.18-.14-.27 0-.22.35-.32.22-.19-.07-.29-.1a1.16 1.16 0 0 1-.31-.07.56.56 0 0 0-.44 0s-.06 0-.09-.08c-.12-.49-.24-.27-.37-.14s-.12.15-.19 0-.1 0-.15 0-.2.21-.31 0-.24-.05-.36.09-.25.27-.37-.06c0-.08-.07 0-.11.06s-.15-.14-.23 0a1 1 0 0 1-.25.26l-.06-.07c-.16-.25-.33 0-.49-.11s-.07.1-.1.19-.11.17-.17 0-.1-.06-.14-.1-.27-.26-.4.13-.14-.06-.22 0-.15 0-.23-.07c-.28-.41-.28-.43-.56-.2-.05 0-.1.08-.15.06s-.15.62-.29.62-.12.13-.24-.28-.25-.25-.39-.19c-.67.31-1.16-.24-1.54-.6a.85.85 0 0 1-.21-.37c0-.13-.18-.16-.38-.17a.41.41 0 0 1-.41-.48 6.62 6.62 0 0 0 0-1.17 1.42 1.42 0 0 1 0-.27.88.88 0 0 1 0-.17.74.74 0 0 1 .24-.34c.13-.11 0-.23-.17-.34s-.11-.26.35-.34.17-.18.17-.18v-.17c0-.05-.57-.16-.52-.29s.23-.28.38-.45-.19-.49-.08-.74a1.3 1.3 0 0 0 .08-.17 2.87 2.87 0 0 0 .15-.37c.09-.39.15-.95.63-1.08.08 0 .11-.1.16-.16a.69.69 0 0 1 1.05-.23c.16-.34.58-.11.7-.22s.27 0 .4 0 .28-.14.41.07.26-.23.4-.19h.02c.19.1.39 0 .58 0s.2-.12.3-.12.19.15.28 0 .19.13.29 0 .08 0 .11-.07.14-.11.21 0 .15.78.39.52c.09-.1.2-.28.29.07 0 .05 0 .06 0 0 .07-.27.13-.34.2 0 .13-.39.27-.1.4-.12s.16.08.23.2.13.07.19 0 .34-.32.51-.24a.27.27 0 0 0 .34 0c.07-.06.14-.26.2.14 0 .08 0 0 .06 0s.12-.1.19 0a.73.73 0 0 0 .64.15h.3c.1 0 .06-.08.1-.1s.29-.46.44-.14c0 .08.09.05.12 0s.15-.17.23-.1.18.12.28 0 .21-.1.31.1a.11.11 0 0 0 .13.06 4.21 4.21 0 0 1 .5 0c.08 0 .17.13.25.12a3.79 3.79 0 0 0 .58-.22c.07 0 .13 0 .2.2s.2.26.29 0 .31-.33.46-.06.33.26.48-.11.22-.46.34-.28.06 0 .08 0 .14 0 .21.18.16.26.25.17.32-.34.48-.1c0 .06.11 0 .15-.12s.13-.22.2-.16a1.11 1.11 0 0 0 .41.2.45.45 0 0 0 .4-.14c.14-.13.27-.07.4 0s.19-.06.28.13c.17.37.33.22.5.07s.06 0 .08 0l.7.13s.07-.06.11-.1c0 .07 0 .22.07.19.15-.2.3-.56.45-.16.1-.2.2.13.29.06s.29.19.44-.27c0-.1.07-.09.1 0s.17.11.25-.1.08 0 .11.23.07-.19.08-.11c.08.44.16.24.25.15s0-.09.08 0c.12.35.25.22.38.19s.21-.37.31.16c0 .1 0 0 .08 0s.2-.14.3 0 .09.07.12 0c.12-.31.23-.09.34 0s.07.11.1 0c.07-.3.15-.27.23-.11s.29-.19.43.13c0 0 .05 0 .06-.1.06-.4.11-.42.18-.09s.08.17.14.08.23-.29.35-.14.24.37.36-.15c0-.13.08 0 .12 0s.12.12.17 0 .21-.06.31.15.18.13.27 0 .22-.34.31-.21.2.07.3.09a1.25 1.25 0 0 1 .31.07.56.56 0 0 0 .44 0s.06 0 .09.08c.12.48.24.27.37.13s.12-.15.19 0 .1 0 .15 0 .2-.21.31 0 .24.05.35-.09.26-.26.38.06c0 .08.07 0 .11-.06s.15.15.23 0a.89.89 0 0 1 .25-.26l.06.07c.16.26.33 0 .49.12s.07-.1.1-.2.11-.16.17 0 .1.07.14.11.27.26.4-.14.14.06.21 0 .16 0 .24.08c.27.39.28.42.53.22s.21-.17.31 0l.3.1v.21c0 .11.16-.12.24-.3s.22-.46.34-.28.05 0 .08 0 .14 0 .21.18.16.26.25.17.32-.34.48-.1c0 .06.1 0 .14-.12s.14-.22.21-.16a1.11 1.11 0 0 0 .41.2.47.47 0 0 0 .41-.14.88.88 0 0 1 .71 0c.14.06.34 0 .41.21.12.42.38.37.7.4.06 0 .11 0 .14.05a2.57 2.57 0 0 1 .6.93c0 .05.1.07.16.1-.05.07-.17.18-.14.19.26.12.68.3.3.64.21.14-.12.35-.06.49s-.19.31.27.48c.1 0 .1.07 0 .1s-.11.17.09.25 0 .08-.22.11.19.07.11.08c-.44.08-.25.16-.15.24s.08.06 0 .09c-.35.12-.22.25-.18.38s.36.21-.17.31c-.1 0 0 0 0 .08s.15.2 0 .3-.06.09 0 .12c.3.12.09.23 0 .34s-.12.07 0 .1c.31.07.27.26.09.36s.06.57-.35.67c-.05 0 0 .07 0 .14.3.28.24.41-.09.3s-.23 0-.22.13-.13.52-.41.5-.49-.16-.56.4c0 .14-.16 0-.24 0s-.23-.08-.32 0c-.07-.81-.11-1.62-.11-2.44s0-.22.1.17c-.06-.15.17.09-.06-.22-.06-.06 0 0 0 0 .21.17.29.06.16 0s-.1 0 0 0c.29 0 .07-.11 0-.23s-.11-.05-.11-.1a1.67 1.67 0 0 1 .16-.51c.05-.12.14-.24-.12-.36-.07 0-.06-.07 0-.11.28-.27.13-.54 0-.81v-.14c0-.04.49-.34.08-.51-.06 0-.05-.07 0-.08.36-.07.09-.13.19-.2s0-.06-.13 0-.24 0 0-.13v-.06s-.1 0-.08-.14.08-.29-.07-.2-.29.25-.33.23-.06.09 0 0c0-.32-.09-.15-.22-.21a.81.81 0 0 0-.38 0c-.13 0-.26.3-.38 0a1.16 1.16 0 0 1-.71.06 7.63 7.63 0 0 0-1 0c-.08 0-.16-.1-.24 0a.24.24 0 0 1-.16.09c0 .12-.08.16-.13 0s-.23-.29-.34-.17-.06.07-.08.07a.62.62 0 0 1-.58.15.72.72 0 0 0-.65.19c-.13.1-.25.1-.36-.15s-.16-.25-.24-.2-.17.12-.25.12c-.34 0-.68.37-1 0-.07-.07-.16-.16-.23.18 0 .09-.05 0-.08 0a.45.45 0 0 0-.17-.11 2.26 2.26 0 0 1-.59-.16.64.64 0 0 0-.89.16c-.08.11-.17.15-.25 0s-.25 0-.38 0-.06.09-.08.07a.8.8 0 0 0-.85-.14h-.11c-.13-.21-.27.22-.4-.19-.15.15-.31-.18-.46.22 0 .07-.07 0-.11 0a.5.5 0 0 0-.7-.14s-.09.1-.13 0c-.12-.29-.24-.06-.36 0s-.12.18-.19.18a2 2 0 0 1-.51-.16c-.12-.05-.24-.15-.36.11 0 .07-.07.07-.11 0-.27-.27-.54-.13-.81 0h-.14c-.05 0-.34-.49-.51-.08 0 .06-.06.06-.09 0-.14-.36-.29-.08-.44-.19s-.11 0-.17.13-.21.23-.31 0c0-.06-.06-.06-.08 0a.35.35 0 0 1-.38 0c-.14-.08-.28-.24-.41-.1s-.3.33-.46.31-.12.09-.17 0c-.19-.31-.38-.14-.58-.2a.81.81 0 0 0-.38 0c-.13 0-.25.3-.38 0a1.13 1.13 0 0 1-.7.06 7.71 7.71 0 0 0-1 0c-.08 0-.16-.1-.23 0s-.26.14-.39 0-.18-.16-.27 0-.15 0-.23-.09-.16.31-.25.22-.31-.26-.47-.19-.41 0-.61 0-.45-.11-.68-.08-.33.29-.49.06-.51.08-.77-.11-.32.15-.48.17a2.36 2.36 0 0 1-.75 0c-.08 0-.17-.17-.25 0-.09-.44-.18-.3-.26 0 0 0 0 .07 0 0-.1-.41-.21 0-.31.07-.25.15-.5-.16-.74-.1a1.09 1.09 0 0 0-.24.07s-.11.1-.17.09a1.31 1.31 0 0 0-.83 0s-.06 0-.08-.09c-.06-.32-.12-.17-.18-.11s-.19.19-.28.11-.07 0-.1 0c-.12.26-.25.35-.37.17-.21-.33-.42.35-.64.06l-.08.07a.13.13 0 0 0-.06.1c-.08.27-.15.19-.23 0s-.12-.14-.17-.07-.11 0-.17 0c-.24-.09-.52 0-.72-.14s-.12.06-.13.12 0 .11-.15-.11c0-.07 0 0 0 0s.08.14.07.14a.51.51 0 0 1-.17-.07c-.12-.06.13.21.19.25-.11 0 0 0 .15.12s.11 0 0 0h-.21c.08 0 .15.2.05.29s-.16.35.07.53c.07 0 0 .1 0 .15s0 0-.07.06c-.53 0-.58.13-.53.19v.13a3.66 3.66 0 0 1 .15.43s0 .1-.07.15c-.23.27-.21.29.2.54.11 0 .11 0 .07.06s-.14.07 0 0c-.39.15-.24.19-.11.16s0 0 .11 0 .12-.05 0 .06-.17.17-.15.16 0 .22.21 0c0 0 .07-.07.06 0s0 .14-.06.27.16-.23.1 0 0 .15 0 .07c.14-.33.13-.3.16-.06s.15-.37.27-.13.23.3.34.17a.64.64 0 0 1 .68-.24.77.77 0 0 0 .65-.2c.12-.1.25-.09.36.15s.16.25.24.21a.67.67 0 0 1 .25-.13c.34 0 .68-.37 1 0 .07.07.16.17.23-.18 0-.09 0 0 .08 0s.11.1.17.11a1.9 1.9 0 0 1 .59.15.64.64 0 0 0 .89-.16c.08-.1.17-.15.25 0s.25 0 .38.05.06-.1.08-.08a.78.78 0 0 0 .85.14h.11c.13.2.27-.23.4.19.15-.16.31.17.46-.22 0-.08.07 0 .11 0a.51.51 0 0 0 .7.13s.09-.1.13 0c.12.29.24.06.36 0s.12-.18.19-.17a2 2 0 0 1 .51.15c.12.06.24.15.36-.11 0-.07.07-.06.1 0 .27.28.54.13.81 0h.15c.05 0 .34.49.51.08 0-.06.06 0 .08 0 .15.36.3.09.45.19s.11 0 .17-.13.21-.23.31 0c0 .06.06.07.08.05a.33.33 0 0 1 .38 0c.14.08.28.24.41.1s.3-.32.46-.3.12-.1.17 0c.19.32.38.14.57.21a1 1 0 0 0 .39 0c.13 0 .25-.31.38 0a1 1 0 0 1 .7-.06 7.71 7.71 0 0 0 1 0c.08 0 .16.1.23 0s.26-.14.38 0 .19.17.28 0 .15 0 .23.09.16-.32.25-.22.31.25.47.18.41 0 .61 0 .45.12.68.09.33-.29.49-.06.51-.08.77.1.32-.14.48-.16a2.1 2.1 0 0 1 .75 0c.08 0 .17.17.25.05.09.44.18.29.26 0 0 0 0-.07 0 0 .11.41.21 0 .32-.06s.49.15.74.09a1.05 1.05 0 0 0 .24-.06c.05 0 .11-.11.17-.1a1.28 1.28 0 0 0 .82 0s.07 0 .09.09c.06.32.12.16.18.11s.18-.2.28-.11.07 0 .1 0c.12-.25.25-.35.37-.17.21.33.42-.34.64 0l.08-.07a.29.29 0 0 0 .06-.1c.08-.28.15-.2.23 0s.12.15.17.07.11 0 .17 0c.25.08.49 0 .74.14s.41-.07.61-.13.21-.1.32.15c0 .07.07 0 .1 0s.07-.15.11-.14a.48.48 0 0 1 .31.14c.11.12.21-.21.32-.27s0 0 .06 0 .19 0 .28-.17.19-.12.29 0 .31.29.47.22.23-.15.34-.05z\\\" fill=\\\"#f8afaf\\\"/><rect x=\\\"153.22\\\" y=\\\"63.72\\\" width=\\\"35.54\\\" height=\\\"5.98\\\" rx=\\\"1.31\\\" fill=\\\"#f8afaf\\\"/><path d=\\\"M187.31 70.56c-.17-.16-.35.18-.53.09l-.12-.07a.74.74 0 0 0-.28-.06c-.29 0-.58.3-.87.11h-.15c-.24.13-.48.25-.72-.12-.17.32-.34.1-.51.2s-.27 0-.41 0-.27.14-.4-.07-.27.24-.4.19a.16.16 0 0 1-.07 0c-.19-.1-.38 0-.57 0s-.21.12-.31.12-.19-.15-.27 0-.2-.14-.29 0-.08 0-.11.06-.14.12-.21 0-.15-.77-.39-.52c-.09.1-.2.28-.29-.07 0 0 0-.05-.05 0-.06.28-.13.35-.19 0-.13.4-.27.1-.4.12s-.16-.08-.23-.2-.13-.07-.19 0-.34.32-.51.24a.29.29 0 0 0-.34 0c-.07.06-.14.26-.2-.14 0-.07 0 0-.06 0s-.13.09-.19 0a.74.74 0 0 0-.64-.15 1 1 0 0 1-.3 0s-.07.08-.1.11-.29.45-.44.14c0-.08-.09-.06-.13 0s-.15.16-.22.09-.19-.12-.28 0-.21.1-.32-.1-.08-.08-.12-.07a4.23 4.23 0 0 1-.5 0c-.09 0-.17-.14-.26-.12a2.68 2.68 0 0 0-.57.22c-.07 0-.14 0-.21-.2s-.19-.26-.29 0-.3.34-.45.07-.33-.26-.49.11-.21.46-.33.27h-.08c-.02 0-.15 0-.21-.17s-.16-.26-.25-.17-.32.33-.48.1c-.05-.06-.11 0-.15.11s-.14.22-.21.17a.84.84 0 0 0-.4-.2.46.46 0 0 0-.41.13c-.13.13-.26.07-.4 0s-.18.06-.27-.13c-.17-.37-.33-.21-.5-.07a.14.14 0 0 1-.09 0l-.7-.14s-.07.07-.1.11c0-.07-.05-.22-.07-.19-.15.2-.3.57-.45.17-.1.2-.2-.14-.29-.07s-.3-.19-.44.27c0 .1-.07.1-.1 0s-.17-.11-.25.1-.08 0-.11-.22v-.08.06s-.07.19-.08.11c-.08-.44-.16-.25-.25-.15S166 71 166 71c-.12-.35-.25-.22-.38-.19s-.21.37-.31-.16c0-.1-.05 0-.08 0s-.2.15-.3 0-.09-.07-.13 0c-.11.3-.22.08-.33-.05s-.08-.11-.1 0c-.08.31-.15.27-.23.11s-.29.19-.44-.13l-.06.11c0 .39-.11.42-.17.08s-.09-.16-.14-.08-.23.3-.36.14-.23-.37-.35.15c0 .13-.08 0-.12 0s-.12-.11-.17 0-.21 0-.32-.15-.17-.14-.27 0-.21.35-.31.22-.19-.07-.29-.1a1.16 1.16 0 0 1-.31-.07.59.59 0 0 0-.45 0s-.06 0-.08-.08c-.12-.49-.25-.27-.37-.14s-.12.15-.19 0-.1 0-.15 0-.2.21-.31 0-.24-.05-.36.09-.25.27-.38-.06c0-.08-.07 0-.1.06s-.15-.14-.23 0a1 1 0 0 1-.21.25l-.06-.07c-.17-.25-.33 0-.49-.11s-.07.1-.1.19-.12.17-.17 0S157 71 157 71s-.26-.26-.39.13h-.05c-.05 0-.14-.06-.21 0s-.15 0-.23-.07c-.29-.41-.29-.43-.56-.2 0 0-.1.08-.15.06s-.15.62-.3.62-.11.13-.23-.28-.25-.25-.39-.19c-.67.31-1.17-.24-1.54-.6a.85.85 0 0 1-.21-.37c-.05-.13-.18-.16-.39-.17a.41.41 0 0 1-.4-.48 5.75 5.75 0 0 0 0-1.17v-.27a.88.88 0 0 1 0-.17.74.74 0 0 1 .24-.34c.13-.11.05-.23-.17-.34s-.11-.26.35-.34.17-.18.17-.18v-.17c0-.05-.57-.16-.52-.29s.23-.28.38-.45-.19-.49-.08-.74a1.3 1.3 0 0 0 .08-.17 2.87 2.87 0 0 0 .15-.37c.09-.39.15-.95.63-1.08.08 0 .11-.1.16-.16a.68.68 0 0 1 1-.23c.17-.34.59-.11.71-.22s.27 0 .4 0 .28-.14.41.07.26-.23.4-.19h.06c.19.1.38 0 .58 0s.2-.12.3-.12.19.15.28 0 .19.13.29 0 .08 0 .11-.07.13-.11.21 0 .15.78.39.52c.09-.1.19-.28.29.07 0 .05 0 .06 0 0 .07-.27.13-.34.2 0 .13-.39.26-.1.4-.12s.15.08.23.2.12.07.19 0 .34-.32.51-.24a.27.27 0 0 0 .34 0c.06-.06.13-.26.2.14 0 .08 0 0 .06 0s.12-.1.19 0a.73.73 0 0 0 .64.15 2.71 2.71 0 0 1 .29 0s.07-.08.11-.1.29-.46.44-.14c0 .08.08.05.12 0s.15-.17.23-.1.18.12.27 0 .22-.1.32.1a.11.11 0 0 0 .13.06 4.21 4.21 0 0 1 .5 0c.08 0 .17.13.25.12a3.34 3.34 0 0 0 .57-.22c.08 0 .14 0 .21.2s.19.26.29 0 .31-.33.46-.06.33.26.48-.11.22-.46.34-.28.06 0 .08 0 .14 0 .21.18.16.26.25.17.32-.34.48-.1q.08.09.15-.12c.07-.23.13-.22.2-.16a1.11 1.11 0 0 0 .41.2.45.45 0 0 0 .4-.14c.14-.13.27-.07.4 0s.19-.06.27.13c.17.37.34.22.51.07s.05 0 .08 0l.7.13s.07-.06.11-.1c0 .07 0 .22.07.19.15-.2.3-.56.45-.16.1-.2.19.13.29.06s.29.19.43-.27c0-.1.08-.09.11 0s.17.11.25-.1.08 0 .11.23.07-.19.08-.11c.08.44.16.24.24.15s.06-.09.09 0c.12.35.25.22.38.19s.21-.37.31.16c0 .1.05 0 .08 0s.2-.14.3 0 .08.07.12 0c.12-.31.23-.09.34 0s.07.11.1 0c.07-.3.15-.27.22-.11s.3-.19.44.13l.06-.1c.06-.4.11-.42.17-.09s.09.17.15.08.23-.29.35-.14.24.37.36-.15c0-.13.08 0 .12 0s.11.12.17 0 .21-.06.31.15.18.13.27 0 .21-.34.31-.21.2.07.29.09a1.23 1.23 0 0 1 .32.07.56.56 0 0 0 .44 0s.06 0 .08.08c.13.48.25.27.38.13s.12-.15.19 0 .09 0 .14 0 .21-.21.32 0 .24.05.35-.09.26-.26.38.06c0 .08.07 0 .1-.06s.16.15.24 0a.89.89 0 0 1 .25-.26l.06.07c.16.26.33 0 .49.12s.07-.1.1-.2.11-.16.17 0 .1.07.14.11.27.26.4-.14.14.06.21 0 .16 0 .24.08c.27.39.28.42.53.22.1-.17.2-.17.31 0l.3.1v.21c0 .11.16-.12.24-.3s.22-.46.33-.28.06 0 .09 0 .14 0 .21.18.16.26.24.17.33-.34.49-.1c0 .06.1 0 .14-.12s.14-.22.21-.16a1.07 1.07 0 0 0 .4.2.49.49 0 0 0 .42-.14.88.88 0 0 1 .71 0c.14.06.34 0 .41.21.12.42.38.37.7.4A.24.24 0 0 1 189 63a2.57 2.57 0 0 1 .6.93c0 .05.1.07.16.1 0 .07-.16.18-.13.19.26.12.68.3.3.64.21.14-.12.35-.06.49s-.19.31.27.48c.1 0 .1.07 0 .1s-.11.17.1.25 0 .08-.22.11.19.07.11.08c-.44.08-.25.16-.15.24s.08.06 0 .09c-.35.12-.22.25-.19.38s.37.21-.16.31c-.1 0 0 0 0 .08s.15.2 0 .3-.07.09 0 .12c.3.12.08.23-.05.34s-.11.07 0 .1c.31.07.27.26.09.36s.06.57-.35.67c-.05 0 0 .07 0 .14.3.28.24.41-.1.3s-.22 0-.22.13-.13.52-.4.5-.5-.16-.56.4c0 .14-.16 0-.24 0s-.23-.08-.32 0c-.08-.81-.11-1.62-.11-2.44s-.06-.22.1.17c-.06-.15.17.09-.07-.22-.05-.06 0 0 0 0 .21.17.29.06.16 0s-.1 0 0 0c.29 0 .07-.11 0-.23s-.18-.13-.17-.19a1.67 1.67 0 0 1 .16-.51c0-.12.14-.24-.12-.36-.07 0-.06-.07 0-.11.28-.27.13-.54 0-.81v-.14c0-.04.49-.34.08-.51-.06 0-.05-.07 0-.08.36-.07.09-.13.19-.2s0-.06-.13 0-.24 0 0-.13c.05 0 .05-.06 0-.06s-.1 0-.08-.14.08-.29-.07-.2-.29.25-.33.23-.07.09-.05 0c0-.32-.09-.15-.22-.21a.82.82 0 0 0-.38 0c-.13 0-.26.3-.38 0a1.16 1.16 0 0 1-.71.06 7.47 7.47 0 0 0-.95 0c-.08 0-.16-.1-.24 0a.26.26 0 0 1-.16.09c0 .12-.08.16-.14 0s-.22-.29-.33-.17-.06.07-.09.07a.61.61 0 0 1-.44.26.75.75 0 0 0-.66.19c-.12.1-.24.1-.36-.15s-.15-.25-.23-.2-.17.12-.25.12c-.34 0-.68.37-1 0-.07-.07-.16-.16-.23.18 0 .09-.05 0-.08 0s-.11-.1-.17-.11a2.16 2.16 0 0 1-.59-.16.63.63 0 0 0-.89.16c-.08.11-.17.15-.25 0s-.26 0-.38 0-.06.09-.09.07a.8.8 0 0 0-.85-.14.06.06 0 0 1-.1 0c-.13-.21-.27.22-.4-.19-.15.15-.31-.18-.46.22 0 .07-.08 0-.11 0a.5.5 0 0 0-.7-.14c-.05 0-.09.1-.13 0-.12-.29-.24-.06-.36 0s-.13.18-.19.18a2 2 0 0 1-.51-.16c-.12-.05-.24-.15-.36.11 0 .07-.07.07-.11 0-.27-.27-.54-.13-.81 0h-.14c-.04 0-.34-.49-.51-.08 0 .06-.06.06-.09 0-.14-.36-.29-.08-.44-.19s-.12 0-.17.13-.21.23-.31 0c0-.06-.06-.06-.09 0a.35.35 0 0 1-.38 0c-.13-.08-.27-.24-.4-.1s-.31.33-.46.31-.12.09-.17 0c-.19-.31-.38-.14-.58-.2a.81.81 0 0 0-.38 0c-.13 0-.25.3-.38 0a1.13 1.13 0 0 1-.7.06 7.71 7.71 0 0 0-1 0c-.08 0-.16-.1-.23 0s-.26.14-.39 0-.18-.16-.27 0-.16 0-.23-.09-.16.31-.25.22-.31-.26-.47-.19-.41 0-.62 0-.44-.11-.67-.08-.33.29-.49.06-.51.08-.77-.11-.32.15-.48.17a2.36 2.36 0 0 1-.75 0c-.09 0-.17-.17-.26 0-.08-.44-.17-.3-.26 0 0 0 0 .07 0 0-.1-.41-.21 0-.31.07-.25.15-.5-.16-.75-.1a1.19 1.19 0 0 0-.23.07c-.06 0-.11.1-.17.09a1.31 1.31 0 0 0-.83 0s-.06 0-.08-.09c-.06-.32-.12-.17-.19-.11s-.18.19-.27.11-.07 0-.11 0c-.12.26-.24.35-.36.17-.22-.33-.43.35-.64.06 0 0-.06 0-.08.07a.17.17 0 0 0-.07.1c-.07.27-.15.19-.22 0s-.12-.14-.17-.07-.12 0-.17 0c-.24-.09-.52 0-.72-.14s-.12.06-.13.12 0 .11-.15-.11c-.05-.07 0 0 0 0s.08.14.07.14a.51.51 0 0 1-.17-.07c-.12-.06.13.21.18.25-.11 0 0 0 .14.12s.12 0 0 0h-.21c.08 0 .15.2.05.29s-.16.35.07.53c.07 0 .05.1.05.15s0 0-.07.06c-.53 0-.58.13-.54.19v.13a3.59 3.59 0 0 1 .14.43.19.19 0 0 1-.06.15c-.23.27-.21.29.19.54.11 0 .12 0 .08.06s-.14.07 0 0 .05 0 0 0c-.4.15-.24.19-.11.16s0 0 .11 0 .12-.05 0 .06-.18.17-.15.16 0 .22.21 0c0 0 .06-.07.06 0s0 .14-.06.27.16-.23.1 0 0 .15 0 .07c.15-.33.14-.3.17-.06s.15-.37.27-.13.23.3.34.17a.63.63 0 0 1 .67-.24.79.79 0 0 0 .66-.2c.12-.1.24-.09.36.15s.15.25.23.21a.79.79 0 0 1 .26-.13c.34 0 .68-.37 1 0 .07.07.15.17.23-.18 0-.09.05 0 .08 0s.11.1.17.11a1.9 1.9 0 0 1 .59.15.64.64 0 0 0 .89-.16c.08-.1.17-.15.25 0s.25 0 .38.05 0-.1.08-.08a.78.78 0 0 0 .85.14.09.09 0 0 1 .11 0c.13.2.27-.23.4.19.15-.16.31.17.46-.22 0-.08.07 0 .11 0a.51.51 0 0 0 .7.13s.09-.1.13 0c.12.29.24.06.36 0s.12-.18.19-.17a2 2 0 0 1 .51.15c.12.06.24.15.36-.11 0-.07.07-.06.1 0 .27.28.54.13.81 0h.15c.05 0 .34.49.51.08 0-.06.06 0 .08 0 .15.36.3.09.45.19s.11 0 .17-.13.2-.23.31 0c0 .06.05.07.08.05a.33.33 0 0 1 .38 0c.14.08.27.24.41.1s.3-.32.46-.3.11-.1.17 0c.19.32.38.14.57.21a1 1 0 0 0 .39 0c.12 0 .25-.31.38 0a1 1 0 0 1 .7-.06 7.71 7.71 0 0 0 1 0c.08 0 .15.1.23 0s.26-.14.38 0 .19.17.28 0 .15 0 .23.09.16-.32.25-.22.31.25.46.18.42 0 .62 0 .45.12.68.09.33-.29.49-.06.51-.08.76.1.33-.14.49-.16a2.1 2.1 0 0 1 .75 0c.08 0 .17.17.25.05.09.44.17.29.26 0 0 0 0-.07 0 0 .11.41.21 0 .32-.06s.49.15.74.09a.86.86 0 0 0 .23-.06c.06 0 .12-.11.17-.1a1.31 1.31 0 0 0 .83 0s.07 0 .09.09c.06.32.12.16.18.11s.18-.2.28-.11.07 0 .1 0c.12-.25.25-.35.37-.17.21.33.42-.34.64 0 0 0 .05 0 .08-.07a.29.29 0 0 0 .06-.1c.08-.28.15-.2.23 0s.12.15.17.07.11 0 .17 0c.25.08.49 0 .74.14s.41-.07.61-.13.21-.1.32.15c0 .07.07 0 .1 0s.07-.15.1-.14a.49.49 0 0 1 .32.14c.11.12.21-.21.32-.27s0 0 .06 0 .19 0 .28-.17.19-.12.29 0 .31.29.47.22.22-.15.34-.05z\\\" fill=\\\"#f8afaf\\\"/><rect x=\\\"203.64\\\" y=\\\"63.72\\\" width=\\\"35.54\\\" height=\\\"5.98\\\" rx=\\\"1.31\\\" fill=\\\"#f8afaf\\\"/><path d=\\\"M237.73 70.56c-.18-.16-.35.18-.53.09l-.13-.07a.66.66 0 0 0-.27-.06c-.29 0-.58.3-.88.11h-.14c-.25.13-.49.25-.72-.12-.17.32-.34.1-.51.2s-.27 0-.41 0-.27.14-.4-.07-.27.24-.4.19-.05 0-.07 0c-.19-.1-.38 0-.57 0s-.21.12-.31.12-.19-.15-.27 0-.2-.14-.3 0-.07 0-.1.06-.14.12-.21 0-.15-.77-.39-.52c-.1.1-.2.28-.3-.07 0 0 0-.05 0 0-.06.28-.13.35-.19 0-.13.4-.27.1-.4.12s-.16-.08-.24-.2-.12-.07-.18 0-.35.32-.51.24a.29.29 0 0 0-.34 0c-.07.06-.14.26-.2-.14 0-.07-.05 0-.06 0s-.13.09-.19 0a.75.75 0 0 0-.64-.15 1 1 0 0 1-.3 0s-.07.08-.1.11-.29.45-.44.14c0-.08-.09-.06-.13 0s-.15.16-.23.09-.18-.12-.27 0-.21.1-.32-.1-.08-.08-.12-.07a4.45 4.45 0 0 1-.5 0c-.09 0-.17-.14-.26-.12a2.68 2.68 0 0 0-.57.22c-.07 0-.14 0-.21-.2s-.19-.26-.29 0-.31.34-.46.07-.32-.26-.48.11-.22.46-.33.27h-.09c-.03 0-.14 0-.2-.17s-.16-.26-.25-.17-.32.33-.49.1c0-.06-.1 0-.14.11s-.14.22-.21.17a.84.84 0 0 0-.4-.2.46.46 0 0 0-.41.13c-.13.13-.26.07-.4 0s-.18.06-.27-.13c-.17-.37-.34-.21-.5-.07a.14.14 0 0 1-.09 0l-.7-.14s-.07.07-.1.11c0-.07-.05-.22-.07-.19-.15.2-.3.57-.46.17-.09.2-.19-.14-.28-.07s-.3-.19-.44.27c0 .1-.07.1-.1 0s-.17-.11-.25.1-.08 0-.12-.22-.06.19-.08.11c-.07-.44-.16-.25-.24-.15s-.06.08-.08 0c-.13-.35-.25-.22-.38-.19s-.21.37-.31-.16c0-.1-.06 0-.08 0s-.2.15-.3 0-.09-.07-.13 0c-.11.3-.22.08-.33-.05s-.08-.11-.1 0c-.08.31-.15.27-.23.11s-.29.19-.44-.13c0 0-.05 0-.06.11-.05.39-.11.42-.17.08s-.09-.16-.14-.08-.23.3-.36.14-.23-.37-.35.15c0 .13-.08 0-.12 0s-.12-.11-.17 0-.22 0-.32-.15-.17-.14-.27 0-.21.35-.31.22-.19-.07-.29-.1a1.16 1.16 0 0 1-.31-.07.59.59 0 0 0-.45 0s-.06 0-.08-.08c-.12-.49-.25-.27-.37-.14s-.13.15-.19 0-.1 0-.15 0-.2.21-.31 0-.24-.05-.36.09-.25.27-.38-.06c0-.08-.07 0-.1.06s-.15-.14-.23 0a1 1 0 0 1-.25.26s-.05 0-.07-.07c-.16-.25-.32 0-.48-.11s-.07.1-.11.19-.11.17-.16 0-.1-.06-.15-.1-.26-.26-.4.13-.14-.06-.21 0a.16.16 0 0 1-.23-.07c-.29-.41-.29-.43-.57-.2 0 0-.1.08-.15.06s-.15.62-.29.62-.11.13-.23-.28-.25-.25-.39-.19c-.67.31-1.17-.24-1.54-.6a.85.85 0 0 1-.21-.37c0-.13-.19-.16-.39-.17a.41.41 0 0 1-.4-.48 5.75 5.75 0 0 0 0-1.17 1.3 1.3 0 0 1 0-.27.47.47 0 0 1 0-.17.74.74 0 0 1 .24-.34c.12-.11 0-.23-.17-.34s-.11-.26.34-.34.17-.18.17-.18v-.17c0-.05-.56-.16-.52-.29s.23-.28.39-.45-.19-.49-.08-.74c0-.06.06-.11.08-.17a2.87 2.87 0 0 0 .15-.37c.08-.39.15-.95.63-1.08.08 0 .11-.1.16-.16a.68.68 0 0 1 1-.23h.05c.16-.34.58-.11.7-.22s.27 0 .41 0 .28-.14.4.07.27-.23.41-.19h.06c.19.1.38 0 .57 0s.21-.12.31-.12.19.15.28 0 .19.13.29 0 .07 0 .1-.07.14-.11.21 0 .16.78.4.52c.09-.1.19-.28.29.07 0 .05 0 .06 0 0 .07-.27.13-.34.2 0 .13-.39.26-.1.4-.12s.15.08.23.2.12.07.19 0 .34-.32.51-.24a.26.26 0 0 0 .33 0c.07-.06.14-.26.21.14 0 .08 0 0 .06 0s.12-.1.19 0a.72.72 0 0 0 .63.15h.3c.1 0 .07-.08.11-.1s.29-.46.44-.14c0 .08.08.05.12 0s.15-.17.23-.1.18.12.27 0 .22-.1.32.1a.11.11 0 0 0 .13.06 4.21 4.21 0 0 1 .5 0c.08 0 .17.13.25.12a3.34 3.34 0 0 0 .57-.22c.07 0 .14 0 .21.2s.19.26.29 0 .31-.33.46-.06.32.26.48-.11.22-.46.33-.28.06 0 .09 0 .14 0 .21.18.16.26.25.17.32-.34.48-.1c0 .06.1 0 .14-.12s.14-.22.21-.16a1.11 1.11 0 0 0 .41.2.45.45 0 0 0 .4-.14c.13-.13.27-.07.4 0s.19-.06.27.13c.17.37.34.22.51.07a.07.07 0 0 1 .08 0l.7.13s.07-.06.11-.1c0 .07.06.22.08.19.15-.2.29-.56.45-.16.1-.2.19.13.29.06s.29.19.43-.27c0-.1.07-.09.11 0s.16.11.25-.1.08 0 .11.23.06-.19.08-.11c.08.44.16.24.24.15s.06-.09.09 0c.12.35.25.22.37.19s.21-.37.31.16c0 .1.06 0 .09 0s.2-.14.29 0 .09.07.13 0c.12-.31.22-.09.33 0s.08.11.11 0c.07-.3.14-.27.22-.11s.3-.19.44.13c0 0 .05 0 .06-.1.06-.4.11-.42.17-.09s.09.17.14.08.24-.29.36-.14.24.37.35-.15c0-.13.08 0 .13 0s.11.12.16 0 .22-.06.32.15.18.13.27 0 .21-.34.31-.21.2.07.29.09a1.23 1.23 0 0 1 .32.07.56.56 0 0 0 .44 0s.06 0 .08.08c.12.48.25.27.37.13s.13-.15.19 0 .1 0 .15 0 .21-.21.32 0 .24.05.35-.09.25-.26.38.06c0 .08.07 0 .1-.06s.16.15.23 0a1.06 1.06 0 0 1 .26-.26l.06.07c.16.26.33 0 .49.12s.07-.1.1-.2.11-.16.17 0 .09.07.14.11.27.26.4-.14.14.06.21 0 .16 0 .24.08c.27.39.28.42.52.22s.21-.17.32 0l.29.1v.21c0 .11.16-.12.24-.3s.22-.46.33-.28.06 0 .09 0 .14 0 .2.18.17.26.25.17.32-.34.49-.1c0 .06.1 0 .14-.12s.14-.22.21-.16a1.07 1.07 0 0 0 .4.2.5.5 0 0 0 .42-.14.85.85 0 0 1 .7 0c.15.06.35 0 .41.21.13.42.39.37.71.4a.24.24 0 0 1 .14.05 2.57 2.57 0 0 1 .6.93c0 .05.1.07.16.1 0 .07-.17.18-.13.19.26.12.67.3.3.64.21.14-.13.35-.06.49s-.19.31.27.48c.1 0 .09.07 0 .1s-.11.17.1.25 0 .08-.22.11.19.07.11.08c-.45.08-.25.16-.15.24s.08.06 0 .09c-.35.12-.22.25-.19.38s.37.21-.16.31c-.1 0 0 0 0 .08s.15.2 0 .3-.07.09 0 .12c.3.12.08.23 0 .34s-.11.07 0 .1c.31.07.27.26.09.36s.06.57-.35.67c-.05 0 0 .07 0 .14.3.28.24.41-.1.3s-.22 0-.22.13-.13.52-.4.5-.5-.16-.56.4c0 .14-.16 0-.24 0s-.23-.08-.32 0c-.08-.81-.11-1.62-.12-2.44s-.05-.22.1.17c-.05-.15.18.09-.06-.22 0-.06 0 0 0 0 .2.17.29.06.15 0s-.09 0 0 0c.29 0 .06-.11-.05-.23s-.18-.13-.17-.19a2 2 0 0 1 .15-.51c.06-.12.15-.24-.11-.36-.07 0-.06-.07 0-.11.28-.27.13-.54 0-.81v-.14c0-.04.49-.34.08-.51-.06 0-.05-.07 0-.08.36-.07.09-.13.19-.2s0-.06-.14 0-.23 0 0-.13V65s-.09 0-.07-.14.08-.29-.07-.2-.29.25-.33.23-.07.09-.06 0c0-.32-.08-.15-.21-.21a.86.86 0 0 0-.39 0c-.12 0-.25.3-.37 0a1.16 1.16 0 0 1-.71.06 7.71 7.71 0 0 0-1 0c-.07 0-.15-.1-.23 0a.26.26 0 0 1-.16.09c0 .12-.08.16-.14 0s-.22-.29-.33-.17 0 .07-.08.07a.61.61 0 0 1-.57.15.75.75 0 0 0-.66.19c-.12.1-.24.1-.36-.15s-.15-.25-.23-.2-.17.12-.25.12c-.34 0-.68.37-1 0-.07-.07-.16-.16-.23.18 0 .09 0 0-.08 0s-.11-.1-.17-.11a2.16 2.16 0 0 1-.59-.16.63.63 0 0 0-.89.16c-.08.11-.17.15-.25 0s-.26 0-.38 0-.06.09-.09.07a.8.8 0 0 0-.85-.14.06.06 0 0 1-.1 0c-.14-.21-.27.22-.4-.19-.16.15-.31-.18-.47.22 0 .07-.07 0-.1 0a.5.5 0 0 0-.7-.14s-.09.1-.13 0c-.12-.29-.24-.06-.36 0s-.13.18-.19.18a2 2 0 0 1-.51-.16c-.12-.05-.24-.15-.36.11 0 .07-.07.07-.11 0-.27-.27-.54-.13-.81 0h-.15c-.05 0-.33-.49-.5-.08 0 .06-.06.06-.09 0-.14-.36-.29-.08-.44-.19s-.12 0-.17.13-.21.23-.31 0c0-.06-.06-.06-.09 0a.35.35 0 0 1-.38 0c-.13-.08-.27-.24-.4-.1s-.31.33-.46.31-.12.09-.17 0c-.19-.31-.39-.14-.58-.2a.81.81 0 0 0-.38 0c-.13 0-.26.3-.38 0a1.16 1.16 0 0 1-.71.06 7.55 7.55 0 0 0-.95 0c-.08 0-.16-.1-.24 0s-.25.14-.38 0-.18-.16-.27 0-.16 0-.23-.09-.16.31-.25.22-.32-.26-.47-.19-.41 0-.62 0-.45-.11-.67-.08-.33.29-.49.06-.51.08-.77-.11-.32.15-.49.17a2.3 2.3 0 0 1-.74 0c-.09 0-.17-.17-.26 0-.08-.44-.17-.3-.26 0 0 0 0 .07 0 0-.1-.41-.21 0-.31.07s-.5-.16-.75-.1a1.19 1.19 0 0 0-.23.07c-.06 0-.11.1-.17.09a1.31 1.31 0 0 0-.83 0s-.06 0-.08-.09c-.06-.32-.13-.17-.19-.11s-.18.19-.27.11-.07 0-.11 0c-.12.26-.25.35-.36.17-.22-.33-.43.35-.64.06 0 0-.06 0-.09.07a.17.17 0 0 0-.06.1c-.07.27-.15.19-.23 0s-.11-.14-.16-.07-.12 0-.17 0c-.24-.09-.52 0-.72-.14s-.12.06-.14.12 0 .11-.14-.11c-.05-.07 0 0 0 0s.08.14.07.14a.51.51 0 0 1-.17-.07c-.13-.06.13.21.18.25-.11 0 0 0 .15.12s.11 0 0 0h-.21c.08 0 .15.2 0 .29s-.17.35.07.53a.16.16 0 0 1 .05.15l-.08.06c-.52 0-.57.13-.53.19v.13a3.59 3.59 0 0 1 .14.43.19.19 0 0 1-.06.15c-.23.27-.21.29.19.54.11 0 .12 0 .08.06s-.15.07 0 0c-.4.15-.24.19-.11.16s0 0 .11 0 .11-.05 0 .06-.18.17-.15.16 0 .22.21 0c0 0 .06-.07.06 0a1.91 1.91 0 0 0-.06.27c0 .13.15-.23.1 0s0 .15 0 .07c.15-.33.14-.3.17-.06s.14-.37.27-.13.23.3.34.17a.63.63 0 0 1 .67-.24.79.79 0 0 0 .66-.2c.12-.1.24-.09.36.15s.15.25.23.21a.79.79 0 0 1 .26-.13c.34 0 .68-.37 1 0 .07.07.15.17.23-.18 0-.09.05 0 .07 0s.12.1.17.11a1.77 1.77 0 0 1 .59.15.65.65 0 0 0 .9-.16c.08-.1.17-.15.25 0s.25 0 .38.05.05-.1.08-.08a.78.78 0 0 0 .85.14.09.09 0 0 1 .11 0c.13.2.27-.23.4.19.15-.16.31.17.46-.22 0-.08.07 0 .1 0a.52.52 0 0 0 .71.13s.09-.1.13 0c.12.29.24.06.35 0s.13-.18.19-.17a2 2 0 0 1 .51.15c.13.06.25.15.37-.11 0-.07.07-.06.1 0 .27.28.54.13.81 0h.15c.05 0 .34.49.51.08 0-.06.06 0 .08 0 .15.36.3.09.45.19s.11 0 .16-.13.21-.23.32 0c0 .06 0 .07.08.05a.33.33 0 0 1 .38 0c.13.08.27.24.4.1s.31-.32.47-.3.11-.1.17 0c.19.32.38.14.57.21a1 1 0 0 0 .39 0c.12 0 .25-.31.37 0a1 1 0 0 1 .71-.06 7.71 7.71 0 0 0 1 0c.07 0 .15.1.23 0s.25-.14.38 0 .19.17.28 0 .15 0 .23.09.16-.32.25-.22.31.25.46.18.41 0 .62 0 .45.12.68.09.33-.29.49-.06.51-.08.76.1.33-.14.49-.16a2.1 2.1 0 0 1 .75 0c.08 0 .16.17.25.05.09.44.17.29.26 0 0 0 0-.07 0 0 .11.41.21 0 .32-.06s.49.15.74.09a.86.86 0 0 0 .23-.06c.06 0 .12-.11.17-.1a1.31 1.31 0 0 0 .83 0s.06 0 .08.09c.06.32.13.16.19.11s.18-.2.27-.11.08 0 .11 0c.12-.25.25-.35.37-.17.21.33.42-.34.63 0 0 0 .06 0 .09-.07a.29.29 0 0 0 .06-.1c.08-.28.15-.2.23 0s.11.15.17.07.11 0 .17 0c.24.08.49 0 .74.14s.41-.07.61-.13.21-.1.32.15c0 .07.07 0 .1 0s.07-.15.1-.14a.49.49 0 0 1 .32.14c.11.12.21-.21.32-.27s0 0 .06 0 .18 0 .28-.17.19-.12.29 0 .31.29.47.22.22-.15.33-.05z\\\" fill=\\\"#f8afaf\\\"/><path d=\\\"M146 88.76V128a4.49 4.49 0 0 0 4.5 4.5h41a4.49 4.49 0 0 0 4.5-4.5l-.39-39.22a4.5 4.5 0 0 0-4.5-4.47H181c-.33 0-5.05-8.61-7.7-13.52a2 2 0 0 0-3.53 0l-7 13.49h-12.28a4.49 4.49 0 0 0-4.49 4.48z\\\" fill=\\\"#fcc800\\\"/><path d=\\\"M146.85 89.09c-.16.46.18.9.09 1.35a1.94 1.94 0 0 0-.07.33 4 4 0 0 0-.06.7 7.54 7.54 0 0 1 .11 2.22.84.84 0 0 0 0 .38 2.34 2.34 0 0 1-.12 1.83v.09c.33.43.1.86.21 1.29a3.56 3.56 0 0 1 0 1c0 .35.14.7-.07 1s.24.68.19 1a.42.42 0 0 1 0 .16 6.48 6.48 0 0 0 0 1.46c0 .26.12.53.12.78s-.15.48 0 .7-.14.5 0 .74c0 .09 0 .19.06.27s.12.35 0 .53-.78.39-.52 1c.1.24.28.5-.07.74 0 0-.06.08 0 .11.28.16.35.33 0 .5.39.33.1.67.12 1a1 1 0 0 1-.2.59.54.54 0 0 0 0 .48 2.73 2.73 0 0 1 .24 1.3 1.63 1.63 0 0 0 0 .85c.06.18.26.35-.14.52-.07 0 0 .1 0 .15a.46.46 0 0 1 0 .48 4.26 4.26 0 0 0-.15 1.62v.76c0 .09.08.17.1.26.1.37.46.74.15 1.12a.22.22 0 0 0 0 .32.48.48 0 0 1 .09.58.92.92 0 0 0 0 .69.78.78 0 0 1-.1.81.41.41 0 0 0-.07.32c0 .43 0 .84.05 1.27 0 .21-.14.43-.12.64 0 .49.13 1 .21 1.46a.49.49 0 0 1-.19.52.45.45 0 0 0 0 .74.85.85 0 0 1 .29 1.25.87.87 0 0 0 .1 1.22c.26.28.46.55.28.85a.16.16 0 0 0 0 .21c.19.19 0 .36-.17.53s-.25.35-.15.52.41.52.32.88c0 .11.06.19.21.2s.31.1.33.24a1.31 1.31 0 0 0 .3.69 1 1 0 0 0 .67.34 1.19 1.19 0 0 1 .65.28c.15.08.33 0 .45.23a.46.46 0 0 0 .46.27 2.15 2.15 0 0 0 .62-.15.59.59 0 0 1 .22 0l1.77.14a.77.77 0 0 0 .27-.11c.06.07.13.22.18.19.38-.2.76-.57 1.15-.17.25-.2.49.14.73.07s.75.19 1.11-.27a.17.17 0 0 1 .26 0 .47.47 0 0 0 .64-.1c.1-.1.2 0 .28.22v.08-.06s.17-.19.21-.11c.2.44.4.25.61.15s.15-.08.21 0c.32.35.64.22 1 .19s.53-.37.78.16c.05.1.14 0 .22 0 .25 0 .5-.15.75 0a.23.23 0 0 0 .32 0c.29-.3.57-.08.85.05.08 0 .19.11.26 0 .19-.31.37-.27.57-.11.37.3.75-.19 1.12.13 0 0 .12 0 .15-.11.14-.39.28-.42.43-.08s.23.16.36.08a.85.85 0 0 1 .91-.14c.29.14.6.37.89-.15.08-.13.21 0 .32 0s.29.11.42 0c.28-.21.55-.05.8.15s.45.14.69 0 .54-.35.79-.22a1.89 1.89 0 0 0 .74.1 7.2 7.2 0 0 1 .8.07 3.51 3.51 0 0 0 1.12 0 .2.2 0 0 1 .22.08c.3.49.62.27.94.14.16-.08.31-.15.48 0s.25 0 .38 0 .51-.21.8 0a1 1 0 0 0 .9-.09c.32-.16.64-.27 1 .06.07.08.18 0 .26-.06s.39.14.59 0a2.69 2.69 0 0 1 .64-.26s.1 0 .16.07c.41.25.82 0 1.24.11.08 0 .17-.1.26-.19a.26.26 0 0 1 .42 0c.12.1.25.06.37.1.34.12.68.26 1-.13h.1c.18.17.36.06.54 0a.81.81 0 0 1 .59.07c.73.41.73.43 1.44.2a.82.82 0 0 1 .38-.06c.36 0 .38-.62.74-.62.18 0 .3-.13.45.28s.41.25.58.18a6.28 6.28 0 0 1 2.59 0 3.56 3.56 0 0 1 .65.13.71.71 0 0 0 .59-.2c.35-.25.46-.26.7-.19a1.27 1.27 0 0 0 1.15-.19 4.36 4.36 0 0 1 1.13-.65.46.46 0 0 0 .2-.63c-.13-.33.09-.46.58-.49s.26-.33.25-.33 0-.26 0-.37-.54-.3-.51-.66a5.65 5.65 0 0 1 .38-1.14c.15-.46-.2-.9-.11-1.35a2 2 0 0 0 .06-.32 4.25 4.25 0 0 0 .06-.71 7.2 7.2 0 0 1-.13-2.22.94.94 0 0 0 0-.37 2.29 2.29 0 0 1 .1-1.83v-.1c-.33-.42-.11-.86-.22-1.29a4 4 0 0 1 0-1c0-.34-.15-.7.06-1s-.24-.67-.2-1a.85.85 0 0 1 0-.16 5.49 5.49 0 0 0 0-1.46c0-.25-.12-.52-.13-.77s.15-.49 0-.7.13-.5 0-.75c0-.09 0-.19-.07-.27s-.12-.35-.05-.53.78-.39.51-1c-.1-.24-.28-.5.07-.75a.07.07 0 0 0 0-.11c-.28-.16-.35-.32-.05-.49-.4-.33-.1-.68-.13-1a1.11 1.11 0 0 1 .19-.59.54.54 0 0 0 0-.48 2.73 2.73 0 0 1-.25-1.29 1.67 1.67 0 0 0 0-.86c-.07-.17-.27-.35.14-.52.07 0 0-.1 0-.15a.44.44 0 0 1 0-.48 4.25 4.25 0 0 0 .13-1.62v-.76c0-.08-.08-.17-.1-.26-.1-.37-.46-.73-.16-1.11a.22.22 0 0 0 0-.32.47.47 0 0 1-.1-.58.94.94 0 0 0 0-.7.78.78 0 0 1 .09-.81.39.39 0 0 0 .06-.31c0-.43 0-.85-.06-1.28 0-.21.14-.43.12-.64-.05-.48-.14-1-.23-1.45a.49.49 0 0 1 .19-.53.45.45 0 0 0 0-.74.83.83 0 0 1-.07-1.16.88.88 0 0 0-.12-1.22c-.27-.26-.46-.61-.29-.79a.09.09 0 0 0 0-.15c-.21-.11-.06-.24.11-.4s.18-.38 0-.5-.54-.39-.53-.77c0-.11-.09-.18-.26-.14s-.31 0-.37-.15a1.31 1.31 0 0 0-.47-.59.94.94 0 0 0-.73-.17 1.21 1.21 0 0 1-.7-.1c-.13 0-.39.05-.61-.13-.43-.38-.85-.22-1.28-.07a.78.78 0 0 1-.21 0l-1.78-.14a.77.77 0 0 0-.27.11c-.07-.07-.13-.23-.19-.2-.38.2-.76.57-1.15.17-.25.2-.49-.13-.73-.07s-.75-.19-1.11.27a.18.18 0 0 1-.26.05.46.46 0 0 0-.63.09c-.11.1-.21 0-.29-.22v-.08.06s-.17.19-.2.11c-.2-.44-.41-.25-.62-.15a.28.28 0 0 1-.3 0 1.19 1.19 0 0 0-.5-.21 1.8 1.8 0 0 0-.46-.1h-.19v-.06h-.05a.85.85 0 0 1-.22-.09c-.31-.16-.84-.41-.63-1 0-.13-.08-.14-.13-.21s-.39-.36-.37-.67a.24.24 0 0 0-.2-.26c-.41-.1-.36-.45-.39-.76 0-.1 0-.23-.12-.23-.36 0-.43-.2-.38-.45.07-.47-.54-.56-.44-1 0-.06-.07-.1-.17-.08-.42.07-.5 0-.29-.34s0-.28-.11-.35a.85.85 0 0 1-.56-.72c0-.33 0-.71-.57-.72-.15 0-.09-.18-.13-.28s0-.32-.2-.38c-.32-.14-.31-.45-.25-.78s-.1-.46-.37-.58-.56-.31-.57-.59a1.76 1.76 0 0 0-.28-.69c-.1-.25-.23-.48-.31-.74a3.83 3.83 0 0 0-.56-1 .21.21 0 0 1 0-.23c.28-.5-.06-.68-.33-.89s-.28-.21-.25-.41-.08-.24-.15-.35-.31-.11-.3-.33-.26-.23-.42-.12-.25.23-.46-.06c-.06-.08-.1 0-.1.09s-.23 0-.25.1a2 2 0 0 0 0 .37h-.1c-.38.16-.39.71-.65 1-.06.06 0 .2.05.31a.28.28 0 0 1-.16.4c-.15.06-.18.19-.27.28-.26.25-.54.48-.35 1 0 0 0 .07-.06.08-.24.08-.22.29-.27.46a.82.82 0 0 1-.35.49c-.66.44-.7.45-.82 1.09a.8.8 0 0 1-.31.73l-.45.62c0 .06-.12 0-.21 0a1 1 0 0 0 0 .68c.1.37.16.7-.14.88a.18.18 0 0 0-.09.2c.09.25-.14.33-.39.38a.51.51 0 0 0-.45.48 1.34 1.34 0 0 1-.48 1.14.28.28 0 0 0-.06.38.42.42 0 0 1-.1.54 4.24 4.24 0 0 0-.66.82 3.88 3.88 0 0 0-.22.46 2 2 0 0 0-.09.26c0 .14-.1.28-.14.43a5 5 0 0 1-.62 1.31h-.4a3.66 3.66 0 0 1-1.24-.12l-.27-.12a.71.71 0 0 0-.16-.07.72.72 0 0 0-.32 0 2.08 2.08 0 0 0-.64.16.85.85 0 0 1-.22 0l-1.77-.14a.77.77 0 0 0-.27.11c-.06-.07-.13-.23-.18-.2-.38.2-.76.57-1.15.17-.25.2-.49-.13-.73-.07s-.75-.19-1.11.27a.19.19 0 0 1-.26.05.47.47 0 0 0-.64.09c-.1.1-.2 0-.28-.22v-.08.06c-.07 0-.17.19-.21.11-.2-.44-.4-.25-.61-.15s-.15.08-.21 0c-.32-.35-.64-.22-1-.18s-.53.36-.79-.17c0-.1-.13 0-.21 0-.26 0-.5.15-.69 0s-.19-.06-.25.06c-.18.33-.4.16-.67.11-.07 0-.18 0-.2.07 0 .34-.14.36-.36.29-.42-.1-.37.47-.79.43-.05 0-.06.07 0 .16.21.36.17.42-.16.31s-.24 0-.23.18c0 .31 0 .52-.21.67s-.52.36 0 .68c.12.08 0 .14-.06.22s-.13.21 0 .31c-.81 0-1.63 0-2.45.11a.64.64 0 0 1 0-.34c.22-.39-.11-.92.4-1.21 0-.53.48-.83.4-1.43 0-.13.1-.21.2-.28a15.93 15.93 0 0 0 1.7-1.44c.1-.09.19-.23.34-.21.47.08.69-.26 1-.48a1.72 1.72 0 0 1 .55-.32 4.48 4.48 0 0 1 1.54.06 1 1 0 0 0 .91-.12.24.24 0 0 1 .27 0 3.89 3.89 0 0 0 2.06 0 2.21 2.21 0 0 1 .37 0c.43 0 .86.49 1.29.08a.16.16 0 0 1 .22 0c.37.36.75.09 1.13.19a.42.42 0 0 0 .42-.13.53.53 0 0 1 .8 0 .23.23 0 0 0 .21 0 1.88 1.88 0 0 1 1 0 1.72 1.72 0 0 0 1 .1c.2-.08.39-.16.59-.22a1.53 1.53 0 0 1 .29-.07h.15c.05 0 .06-.1.13 0a.46.46 0 0 0 .26.18c.09-.08.11-.25.21-.34a5 5 0 0 0 .43-.81c.15-.29 0-.71.46-.85a6.85 6.85 0 0 1 .78-1.61c.4-.7.73-1.45 1.09-2.17.09-.18.27-.31.3-.51a1.19 1.19 0 0 1 .11-.42.21.21 0 0 1 .12-.32.81.81 0 0 0 .55-.67v-.06a.31.31 0 0 1 0-.22 3.72 3.72 0 0 1 .54-1.35 4.18 4.18 0 0 0 .61-1.57.89.89 0 0 1 .55-.74.71.71 0 0 0 .46-.43 3.26 3.26 0 0 1 .18-.63l.13-.3c.06-.14.15-.31.23-.46a3.25 3.25 0 0 1 .71-.82 2.35 2.35 0 0 1 2.06-.49 1.12 1.12 0 0 0 1 0c.11-.06.22.07.32.14s.38.32.58.46a3.23 3.23 0 0 1 .78 1 2 2 0 0 1 .19.41l.13.35a3.38 3.38 0 0 0 1.22 1.91.65.65 0 0 1 .32.55c0 .39.27.59.42.87 0 .06.15.08.17.15a4.55 4.55 0 0 0 .92 2 .4.4 0 0 1 .1.25c0 .39.53.48.33 1 .32.26.23.77.76.92.11 0 .1.15.11.25a2.64 2.64 0 0 0 .75 1.61c.08.08.2.15.17.28-.1.41.25.55.49.76s.32.18.39.32a12.24 12.24 0 0 1 .52 1.17c.08.17 0 .18.08.24s.1.07.21 0 .06 0 .07 0a.2.2 0 0 0 .08.12.31.31 0 0 0 .13 0 2.82 2.82 0 0 0 .39 0c.27 0 .54-.07.81-.11a2.45 2.45 0 0 1 .38 0c.43 0 .85.49 1.29.08a.15.15 0 0 1 .21 0c.37.36.75.09 1.13.19a.44.44 0 0 0 .43-.13.52.52 0 0 1 .79 0 .23.23 0 0 0 .21 0 1.88 1.88 0 0 1 1 0 1.72 1.72 0 0 0 1 .1 2.88 2.88 0 0 1 1.18-.31c.14 0 .29-.1.43 0 .59.32 1.19.24 1.76.5a10.48 10.48 0 0 1 1.07.51c.33.19.85.21.93.72a3.64 3.64 0 0 1 1.3 1.74 6.6 6.6 0 0 1 .42 1.44 4.53 4.53 0 0 1 .08.74v.61c0 .2-.1.4 0 .59a1.12 1.12 0 0 1 0 1 .56.56 0 0 0 0 .69c.17.2.05.39-.08.59s.31.4.22.63a2.16 2.16 0 0 0-.17 1.19 10.16 10.16 0 0 1 0 1.56c0 .58-.1 1.15-.06 1.72s.29.84.07 1.25c-.37.65.09 1.29-.09 1.94-.11.41.16.83.18 1.24a13.39 13.39 0 0 1 0 1.9c0 .21-.16.42 0 .64-.43.22-.28.44 0 .66 0 0 .07.08 0 .11-.41.27 0 .53.07.79.16.63-.14 1.26-.08 1.9 0 .19 0 .39.08.59a2.05 2.05 0 0 1 .09.43 8.2 8.2 0 0 0 0 2.1.17.17 0 0 1-.09.21c-.32.16-.16.32-.1.48a.94.94 0 0 1 .11.69.27.27 0 0 0 .05.27.77.77 0 0 1 .18.93c-.32.55.36 1.07.07 1.62 0 .06 0 .14.07.21a.38.38 0 0 0 .11.16c.27.19.2.38 0 .58a.4.4 0 0 0-.07.43c.09.14 0 .28 0 .42-.08.63 0 1.26-.12 1.89a4.3 4.3 0 0 0 .14 1.55.9.9 0 0 1-.14.81c-.07.08 0 .17 0 .26s.15.18.15.26a2.56 2.56 0 0 1-.14.81c-.12.28.22.53.28.8a.29.29 0 0 1 0 .16.7.7 0 0 0 .17.7.7.7 0 0 1 0 .75 2 2 0 0 0-.2 1.18 1.59 1.59 0 0 1 .06.86 1.61 1.61 0 0 0-.1.68 3 3 0 0 0 .17.75 1.1 1.1 0 0 1 0 .51c0 .07 0 .19-.11.2-.53.08-.64.29-.65.48a2.66 2.66 0 0 1-.16.39 4.83 4.83 0 0 1-.46 1.25 1.34 1.34 0 0 1-.33.34 5.29 5.29 0 0 0-.7.54 8.9 8.9 0 0 0-.49.81 1.08 1.08 0 0 1-.63.44c-.23.08-.47.05-.63.29 0 .05-.08.09-.13.07-.52-.26-.86 0-1.3.11-.15.05-.31 0-.47.13a.26.26 0 0 1-.42 0c-.09-.09-.18-.21-.26-.19-.41.1-.83-.14-1.24.11 0 0-.11.09-.16.07a2.46 2.46 0 0 1-.64-.26c-.2-.11-.39.25-.59 0s-.18-.14-.26-.06a.65.65 0 0 1-1 .06c-.31-.24-.53.37-.87.13a.85.85 0 0 0-.85-.17 3.33 3.33 0 0 1-1.72.24 4.36 4.36 0 0 0-1.67.2.9.9 0 0 1-.91-.15.69.69 0 0 0-.59-.21 3.74 3.74 0 0 1-.65.13 6.28 6.28 0 0 1-2.59 0c-.18-.07-.39-.17-.58.18-.05.09-.13 0-.2 0a3.39 3.39 0 0 0-.43-.11 10.89 10.89 0 0 1-1.5-.15 3.46 3.46 0 0 0-2.26.16.64.64 0 0 1-.64 0c-.33-.21-.65 0-1-.05-.07 0-.14.1-.21.08a4.54 4.54 0 0 0-2.16-.14.42.42 0 0 1-.27 0c-.33-.2-.68.23-1-.19-.39.16-.79-.17-1.18.22-.08.08-.18 0-.27 0a2.8 2.8 0 0 0-1.78-.13c-.11 0-.23.1-.33 0-.31-.29-.61-.06-.91.05s-.32.18-.48.17a11.5 11.5 0 0 1-1.3-.15.94.94 0 0 0-.91.11.27.27 0 0 1-.27 0 3.8 3.8 0 0 0-2.06 0 1.64 1.64 0 0 1-.38 0c-.43 0-.85-.49-1.29-.08a.15.15 0 0 1-.21 0c-.37-.36-.75-.09-1.13-.19a.47.47 0 0 0-.43.13.52.52 0 0 1-.79 0 .21.21 0 0 0-.21-.05 2 2 0 0 1-1 0 1.65 1.65 0 0 0-1-.1 4.5 4.5 0 0 1-.62.21 1.68 1.68 0 0 1-.74 0c-.18 0-.39 0-.54-.1-.5-.46-1.1-.53-1.58-.92-.3-.26-.63-.49-.91-.76s-.78-.42-.72-.93a3.71 3.71 0 0 1-.83-2 12.11 12.11 0 0 1-.08-1.38v-1.22c0-.19.09-.39 0-.59a1.07 1.07 0 0 1 0-1 .57.57 0 0 0 0-.7c-.17-.2 0-.39.08-.58s-.31-.41-.22-.64a2.14 2.14 0 0 0 .19-1.18 10.3 10.3 0 0 1 0-1.57c0-.58.12-1.14.09-1.72 0-.41-.29-.83-.06-1.24.37-.65-.08-1.3.1-1.95.12-.4-.14-.82-.17-1.23a15.06 15.06 0 0 1 0-1.9c0-.21.17-.43.05-.64.44-.22.29-.44 0-.66 0 0-.07-.08 0-.11.41-.27 0-.53-.06-.8-.16-.63.15-1.26.09-1.89 0-.2 0-.39-.06-.59a1.67 1.67 0 0 1-.1-.43 8.76 8.76 0 0 0 0-2.11c0-.07 0-.15.09-.2.32-.16.16-.32.1-.48a1 1 0 0 1-.1-.69.27.27 0 0 0-.05-.27.8.8 0 0 1-.17-.94c.33-.54-.34-1.07-.05-1.61 0-.07 0-.15-.07-.22s0-.11-.1-.15c-.28-.2-.2-.39-.05-.59a.37.37 0 0 0 .07-.42c-.09-.15 0-.29 0-.43a17.18 17.18 0 0 1 .15-1.89 4.55 4.55 0 0 0-.13-1.55.85.85 0 0 1 .15-.8c.07-.08 0-.18 0-.27s-.15-.17-.15-.26a2.76 2.76 0 0 1 .15-.8c.12-.29-.21-.54-.27-.81a.29.29 0 0 1 0-.16.7.7 0 0 0-.17-.7.72.72 0 0 1 0-.75 2.08 2.08 0 0 0 .22-1.18 1.58 1.58 0 0 1-.05-.86z\\\"/><path d=\\\"M187.84 108.41c-.07-.15-.15.19-.22.09l-.05-.06s-.08-.07-.12-.07-.24.31-.37.12h-.06c-.06 0-.2.26-.3-.12-.07.33-.14.1-.21.21s-.11 0-.17 0-.11.14-.17-.07-.11.23-.17.19c-.08-.1-.16 0-.24 0s-.09.12-.13.12-.08-.15-.12 0-.08-.13-.12 0 0 0 0 .07-.06.11-.09 0-.06-.78-.16-.52c0 .1-.09.28-.13-.07 0-.05 0-.06 0 0 0 .27-.06.34-.09 0-.05.39-.11.1-.16.12s-.07-.08-.1-.2 0-.07-.08 0-.14.32-.21.24-.1-.08-.14 0-.06.26-.09-.14c0-.08 0 0 0 0s-.05.1-.07 0-.18-.21-.27-.15-.08 0-.13 0 0 .08 0 .1-.12.46-.18.14c0-.08 0 0-.06 0s-.06.17-.09.1-.08-.12-.12 0-.09.1-.13-.1 0-.07-.05-.06-.14 0-.21 0-.07-.13-.11-.12a1.2 1.2 0 0 0-.24.22l-.08-.2c-.08-.2-.08-.26-.13 0s-.12.33-.19.06-.13-.26-.2.11-.09.46-.14.28-.06 0-.09-.18-.07-.26-.1-.17-.14.34-.21.1q0-.09-.06.12c0 .23-.05.22-.09.16a.5.5 0 0 0-.16-.2c-.06 0-.12 0-.17.14s-.12.07-.17 0-.08.07-.11-.12c-.08-.37-.15-.22-.22-.07s-.2-.1-.29-.13 0 .06 0 .1v-.19c-.06.2-.12.56-.19.16 0 .2-.08-.13-.12-.07s-.12-.18-.18.28c0 .1 0 .09 0 0s-.07-.11-.11.1 0 0 0-.23v.11c0-.44-.07-.25-.1-.15s0 .09 0 0c0-.35-.1-.22-.15-.19s-.09.37-.13-.16c0-.1 0 0 0 0s-.08.14-.12 0 0-.07-.06 0c0 .31-.09.09-.14 0s0-.11 0 0c0 .3-.06.27-.09.11s-.13.19-.19-.13v.1c0 .4-.05.42-.07.09s0-.17-.06-.08-.1.29-.15.14-.1-.37-.15.15c0 .13 0 0-.05 0s0-.12-.07 0-.09.06-.13-.15-.08-.13-.12 0-.09.35-.13.22-.08-.07-.12-.09-.09 0-.13-.07-.12 0-.19 0 0 0 0-.08c-.05-.48-.1-.27-.16-.13s-.05.15-.08 0 0 0-.06 0-.08.2-.13 0-.1 0-.15.1-.1.26-.16-.06v.06c0 .06-.06-.15-.1 0a1.18 1.18 0 0 1-.1.26v-.07c-.07-.26-.13 0-.2-.12s0 .1 0 .2-.05.16-.07 0-.05-.07-.07-.11-.11-.26-.16.14c0-.18-.06-.07-.09 0s-.06 0-.1-.08c-.11-.4-.11-.42-.23-.19 0 0 0 .07-.06.06s-.07.61-.13.61 0 .14-.07-.27-.07-.26-.1-.19c-.14.33-.28 0-.42 0s-.08-.07-.11-.12-.07 0-.1.2-.1.25-.15.15-.18-.24-.27-.19-.19 0-.29-.25-.09 0-.14.17-.11.11-.14-.34-.08-.17-.08-.17h-.07c-.07 0-.07.56-.12.52s-.11-.23-.19-.39-.15.19-.22.09v-.06s-.08-.07-.12-.07-.24.31-.37.12h-.06c-.06 0-.2.26-.3-.12-.07.33-.14.1-.21.21s-.11 0-.17 0-.11.14-.17-.07-.11.23-.17.19c-.08-.1-.16 0-.24 0s-.09.12-.13.12-.08-.15-.12 0-.08-.13-.12 0 0 0 0 .07-.06.11-.09 0-.06-.78-.16-.52c0 .1-.09.28-.13-.07 0-.05 0-.06 0 0 0 .27-.06.34-.09 0-.05.39-.11.1-.16.12s-.07-.08-.1-.2-.05-.07-.08 0-.14.32-.21.24-.1-.08-.14 0-.06.26-.09-.14c0-.08 0 0 0 0s-.05.1-.07 0-.18-.21-.27-.15-.08 0-.13 0 0 .08 0 .1-.12.46-.18.14c0-.08 0 0-.06 0s-.06.17-.09.1-.08-.12-.12 0-.09.1-.13-.1 0-.07-.05-.06-.14 0-.21 0-.07-.13-.11-.12a1.2 1.2 0 0 0-.24.22s-.06 0-.08-.2-.08-.26-.13 0-.12.33-.19.06-.13-.26-.2.11-.09.46-.14.28-.06 0-.09-.18-.07-.26-.11-.17-.13.34-.2.1q0-.09-.06.12c0 .23-.06.22-.09.16a.5.5 0 0 0-.16-.2c-.06 0-.12 0-.17.14s-.12.07-.17 0-.08.07-.12-.12c-.07-.37-.14-.22-.21-.07s-.2-.1-.29-.13 0 .06-.05.1v-.19c-.06.2-.12.56-.19.16 0 .2-.08-.13-.12-.07s-.12-.18-.18.28c0 .1 0 .09 0 0s-.07-.11-.11.1 0 0 0-.23v.11c0-.44-.07-.25-.1-.15s0 .09 0 0c0-.35-.1-.22-.15-.19s-.09.37-.13-.16c0-.1 0 0 0 0s-.08.14-.12 0 0-.07-.06 0c0 .31-.09.09-.14 0s0-.11 0 0c0 .3-.06.27-.09.11s-.13.19-.19-.13v.1c0 .4-.05.42-.07.09s0-.17-.06-.08-.1.29-.15.14-.1-.37-.15.15c0 .13 0 0 0 0s-.05-.12-.07 0-.09.06-.13-.15-.08-.13-.12 0-.09.35-.13.22-.08-.07-.12-.09-.09 0-.13-.07-.12 0-.19 0 0 0 0-.08c0-.48-.1-.27-.16-.13s0 .15-.08 0 0 0-.06 0-.08.2-.13 0-.1 0-.15.1-.1.26-.16-.06v.06c0 .06-.06-.15-.1 0a1.18 1.18 0 0 1-.1.26v-.07c-.07-.26-.13 0-.2-.12s0 .1-.05.2 0 .16-.07 0 0-.07-.06-.11-.11-.26-.16.14c0-.18-.06-.07-.09 0s-.06 0-.1-.08c-.11-.39-.12-.42-.22-.22s-.08.17-.13 0l-.12-.1v-.21c0-.11-.07.12-.1.3s-.09.46-.14.28-.06 0-.09-.18-.06-.26-.1-.17-.13.34-.2.1c0-.06 0 0-.06.12s-.06.22-.09.16-.11-.18-.17-.2-.11 0-.17.14-.11.07-.17 0-.07.07-.11-.12c-.07-.37-.14-.22-.21-.07a2.55 2.55 0 0 0-.29-.13v-.09c-.07.2-.13.56-.19.16 0 .2-.08-.13-.12-.07s-.13-.18-.18.28c0 .1 0 .09 0 0s-.07-.11-.1.1 0 0-.05-.23 0 .19 0 .11c0-.44-.07-.25-.11-.15s0 .09 0 0c0-.35-.1-.22-.16-.19s-.09.37-.13-.16c0-.1 0 0 0 0s-.09.14-.13 0 0-.07-.05 0c0 .31-.09.09-.14 0s0-.11 0 0c0 .3-.06.27-.1.11s-.12.19-.18-.13v.1c0 .4 0 .42-.07.09s0-.17-.06-.08-.09.29-.15.14-.1-.37-.14.15c0 .13 0 0-.06 0s0-.12-.07 0v-2.44c.06.21.12-.22.17.19.07-.15.13.18.2-.22 0-.07 0 0 0 0 .1.26.2.28.29.14s0-.1.06 0c.05.29.1.06.15 0s.05-.18.08-.18a.59.59 0 0 1 .21.16c.05 0 .1.15.15-.11 0-.07 0-.07.05 0 .11.27.22.13.34 0s0 0 .06 0 .14.49.21.08c0-.06 0-.06 0 0 .07.36.13.08.19.19s.05 0 .07-.13.09-.23.13 0c0 .06 0 .06 0 0s.1 0 .16 0 .11.24.17.1.12-.33.19-.31 0-.1.07 0c.08.31.16.14.24.2s.11 0 .16 0 .11-.3.16 0c.1-.13.2-.08.3-.06a1.39 1.39 0 0 0 .4 0s.06.1.09 0 .05-.09.07-.09 0-.16.06 0 .09.29.14.17v-.08c.08-.16.16-.18.24-.14s.19 0 .28-.19.1-.1.15.15.06.25.1.2.07-.12.1-.12.29-.37.43 0c0 .07.06.16.09-.18 0-.09 0 0 0 0s0 .1.07.11a.65.65 0 0 1 .25.16c.12.14.24.21.37-.16 0-.11.07-.15.1 0s.11 0 .16 0 0-.09 0-.07c.12.21.24.26.35.14.05.21.11-.22.17.19.06-.15.13.18.19-.22 0-.07 0 0 0 0 .1.26.2.28.3.14s0-.1 0 0c.05.29.1.06.15 0s.05-.18.08-.18a.59.59 0 0 1 .21.16c.06 0 .11.15.16-.11 0-.07 0-.07 0 0 .11.27.23.13.34 0s0 0 .06 0 .14.49.21.08c0-.06 0-.06 0 0 .06.36.12.08.18.19s.05 0 .08-.13.08-.23.13 0c0 .06 0 .06 0 0s.11 0 .16 0 .11.24.17.1.13-.33.19-.31.05-.1.07 0c.08.31.16.14.24.2s.11 0 .17 0 .1-.3.15 0c.1-.13.2-.08.3-.06a1.36 1.36 0 0 0 .4 0s.07.1.1 0 .1-.14.16 0 .07.16.11 0 .07 0 .1.09.07-.31.1-.22.13.26.2.19.17 0 .26 0 .19.11.28.08.14-.29.21-.06.21-.08.32.11.13-.15.2-.17a.42.42 0 0 1 .31 0s.07.17.11 0c0 .44.07.3.11 0 0 0 0-.07 0 0 0 .41.08 0 .13-.07s.2.16.31.1l.1-.07s0-.1.07-.09a.25.25 0 0 0 .34 0v.09c0 .32 0 .17.08.11s.07-.19.11-.11c.05-.26.1-.35.15-.17.09.33.18-.35.27-.06v-.07a.23.23 0 0 0 0-.1c0-.27.06-.19.09 0s0 .14.07.07 0 0 .07 0 .21 0 .31.14.17-.06.26-.12.09-.1.13.14c0 .08 0 0 .05 0a1 1 0 0 1 0-.15.25.25 0 0 1 .13.15c.05.12.09-.22.13-.27s.08 0 .12-.17.08-.11.12 0 .13.29.19.21.1-.15.15 0 .14.17.22-.07c0-.06 0 0 .06 0s0 0 0 .08c0 .52.05.57.07.53h.06a1.1 1.1 0 0 1 .18-.14l.06.06c.12.23.12.21.24-.19 0-.11.06-.12.1-.08s0 .15.08 0c.06.4.11.26.17.14s0 0 .06-.11.05-.11.07 0 0 .22 0 .2.14.14.21-.11v-.08a1.35 1.35 0 0 1 .11.26c0 .12.06-.25.09 0s0 .14 0 .07c.05-.33.1-.31.16-.07s.08-.36.14-.12.09.29.14.17.19-.3.28-.25.19 0 .28-.19.1-.1.15.15.06.25.1.2.07-.12.1-.12.29-.37.43 0c0 .07.06.16.09-.18 0-.09 0 0 0 0s0 .1.07.11a.65.65 0 0 1 .25.16c.12.14.25.21.37-.16 0-.11.07-.15.1 0s.11 0 .16 0 0-.09 0-.07c.12.21.24.26.35.14s0 0 .05 0c0 .21.11-.22.17.19.06-.15.13.18.19-.22 0-.07 0 0 0 0 .1.26.2.28.3.14s0-.1.05 0c0 .29.1.06.15 0s0-.18.08-.18a.71.71 0 0 1 .22.16c.05 0 .1.15.15-.11 0-.07 0-.07 0 0 .11.27.23.13.34 0s0 0 .06 0 .14.49.21.08c0-.06 0-.06 0 0 .06.36.12.08.19.19s0 0 .07-.13.08-.23.13 0c0 .06 0 .06 0 0s.11 0 .16 0 .11.24.17.1.13-.33.19-.31.05-.1.07 0c.08.31.16.14.25.2s.1 0 .16 0 .1-.3.15 0c.1-.13.2-.08.3-.06a1.36 1.36 0 0 0 .4 0s.07.1.1 0 .1-.14.16 0 .07.16.11 0 .07 0 .1.09.07-.31.1-.22.13.26.2.19.17 0 .26 0 .19.11.28.08.14-.29.21-.06.21-.08.32.11.13-.15.2-.17a.42.42 0 0 1 .31 0s.07.17.11 0c0 .44.07.3.11 0 0 0 0-.07 0 0 0 .41.08 0 .13-.07s.2.16.31.1l.1-.07s0-.1.07-.09a.25.25 0 0 0 .34 0v.09c0 .32.05.17.08.11s.07-.19.11-.11 0 0 .05 0c.05-.26.1-.35.15-.17.09.33.18-.35.27-.06v-.07a.23.23 0 0 0 0-.1c0-.27.06-.19.09 0s.05.14.07.07.05 0 .07 0 .21 0 .32.14.16-.06.25-.12.09-.1.13.14c0 .08 0 0 .05 0a1 1 0 0 1 0-.15.25.25 0 0 1 .13.15c.05.12.09-.22.13-.27s.08 0 .12-.17.08-.11.12 0 .13.29.19.21.1-.15.15 0zm0-9.41c-.07-.16-.15.18-.22.09l-.05-.07s-.08-.07-.12-.06-.24.3-.37.11h-.06c-.06 0-.2.25-.3-.12-.07.32-.14.1-.21.21s-.11 0-.17 0-.11.14-.17-.07-.11.24-.17.19c-.08-.1-.16 0-.24 0s-.09.11-.13.12-.08-.16-.12 0-.08-.13-.12 0 0 0 0 .06-.06.12-.09 0-.06-.77-.16-.52c0 .1-.09.28-.13-.07 0 0 0-.05 0 0 0 .28-.06.35-.09 0-.05.4-.11.1-.16.12s-.07-.08-.1-.2 0-.07-.08 0-.14.32-.21.24-.1-.08-.14 0-.06.27-.09-.14c0-.07 0 0 0 0s-.05.09-.07 0-.18-.21-.27-.15-.08 0-.13 0 0 .07 0 .1-.12.45-.18.14c0-.08 0-.06-.06 0s-.06.16-.09.09-.08-.12-.12 0-.09.1-.13-.1 0-.08-.05-.07-.14 0-.21.05-.07-.14-.11-.12a1 1 0 0 0-.24.22l-.08-.2c-.08-.2-.08-.26-.13 0s-.12.33-.19.06-.13-.26-.2.11-.09.46-.14.27-.06 0-.09-.17-.07-.26-.1-.17-.14.33-.21.1c0-.06 0 0-.06.11s-.05.22-.09.17-.11-.19-.16-.2-.12 0-.17.13-.12.07-.17 0-.08.06-.11-.12c-.08-.38-.15-.22-.22-.07l-.29-.14v-.08c-.06.2-.12.57-.19.17 0 .2-.08-.14-.12-.07s-.12-.19-.18.27c0 .1 0 .1 0 0s-.07-.11-.11.1 0 0 0-.22v.11c0-.44-.07-.25-.1-.15s0 .08 0 0c0-.35-.1-.22-.15-.19s-.09.37-.13-.16c0-.1 0 0 0 0s-.08.15-.12 0 0-.06-.06 0c0 .3-.09.09-.14-.05s0-.11 0 0c0 .31-.06.27-.09.11s-.13.19-.19-.13v.11c0 .39-.05.42-.07.08s0-.16-.06-.07-.1.29-.15.13-.1-.37-.15.15c0 .14 0 0-.05 0s0-.11-.07 0-.09 0-.13-.15-.08-.14-.12 0-.09.35-.13.22-.08-.07-.12-.1-.09 0-.13-.07-.12 0-.19 0 0 0 0-.08c-.05-.49-.1-.27-.16-.14s-.05.15-.08 0 0 0-.06 0-.08.21-.13 0-.1 0-.15.09-.1.27-.16-.06v.06c0 .06-.06-.14-.1 0a1 1 0 0 1-.1.26V99c-.07-.25-.13 0-.2-.11s0 .1 0 .19-.05.17-.07 0-.05-.06-.07-.1-.11-.26-.16.13-.06-.06-.09 0-.06 0-.1-.07c-.11-.41-.11-.43-.23-.2 0 0 0 .08-.06.07s-.07.61-.13.61 0 .14-.07-.28-.07-.25-.1-.18c-.14.33-.28 0-.42 0s-.08-.08-.11-.13-.07 0-.1.21-.1.24-.15.15-.18-.24-.27-.2-.19 0-.29-.24-.09-.05-.14.17-.11.11-.14-.35-.08-.17-.08-.17h-.07c-.07 0-.07.57-.12.52s-.11-.23-.19-.38-.15.18-.22.09v-.07s-.08-.07-.12-.06-.24.3-.37.11h-.06c-.06 0-.2.25-.3-.12-.07.32-.14.1-.21.21s-.11 0-.17 0-.11.14-.17-.07-.11.24-.17.19c-.08-.1-.16 0-.24 0s-.09.11-.13.12-.08-.16-.12 0-.08-.13-.12 0 0 0 0 .06-.06.12-.09 0-.06-.77-.16-.52c0 .1-.09.28-.13-.07 0 0 0-.05 0 0 0 .28-.06.35-.09 0-.05.4-.11.1-.16.12s-.07-.08-.1-.2-.05-.07-.08 0-.14.32-.21.24-.1-.08-.14 0-.06.27-.09-.14c0-.07 0 0 0 0s-.05.09-.07 0-.18-.21-.27-.15-.08 0-.13 0 0 .07 0 .1-.12.45-.18.14c0-.08 0-.06-.06 0s-.06.16-.09.09-.08-.12-.12 0-.09.1-.13-.1 0-.08-.05-.07-.14 0-.21.05-.07-.14-.11-.12a1 1 0 0 0-.24.22s-.06 0-.08-.2-.08-.26-.13 0-.12.33-.19.06-.13-.26-.2.11-.09.46-.14.27-.06 0-.09-.17-.07-.26-.11-.17-.13.33-.2.1c0-.06 0 0-.06.11s-.06.22-.09.17-.11-.19-.16-.2-.12 0-.17.13-.12.07-.17 0-.08.06-.12-.12c-.07-.38-.14-.22-.21-.07l-.29-.14s0 .07-.05.11v-.19c-.06.2-.12.57-.19.17 0 .2-.08-.14-.12-.07s-.12-.19-.18.27c0 .1 0 .1 0 0s-.07-.11-.11.1 0 0 0-.22v.11c0-.44-.07-.25-.1-.15s0 .08 0 0c0-.35-.1-.22-.15-.19s-.09.37-.13-.16c0-.1 0 0 0 0s-.08.15-.12 0 0-.06-.06 0c0 .3-.09.09-.14-.05s0-.11 0 0c0 .31-.06.27-.09.11s-.13.19-.19-.13v.11c0 .39-.05.42-.07.08s0-.16-.06-.07-.1.29-.15.13-.1-.37-.15.15c0 .14 0 0 0 0s-.05-.11-.07 0-.09 0-.13-.15-.08-.14-.12 0-.09.35-.13.22-.08-.07-.12-.1-.09 0-.13-.07-.12 0-.19 0 0 0 0-.08c0-.49-.1-.27-.16-.14s0 .15-.08 0 0 0-.06 0-.08.21-.13 0-.1 0-.15.09-.1.27-.16-.06v.06c0 .06-.06-.14-.1 0a1 1 0 0 1-.1.26v-.07c-.07-.25-.13 0-.2-.11s0 .1-.05.19 0 .17-.07 0 0-.06-.06-.1-.11-.26-.16.13-.06-.06-.09 0-.06 0-.1-.07c-.11-.39-.12-.42-.22-.22s-.08.17-.13.05l-.12-.11v-.21c0-.11-.07.12-.1.31s-.09.46-.14.27-.06 0-.09-.17-.06-.26-.1-.17-.13.33-.2.1c0-.06 0 0-.06.11s-.06.22-.09.17-.11-.19-.17-.2-.11 0-.17.13-.11.07-.17 0-.07.06-.11-.12c-.07-.38-.14-.22-.21-.07l-.29-.14v-.08c-.07.2-.13.57-.19.17 0 .2-.08-.14-.12-.07s-.13-.19-.18.27c0 .1 0 .1 0 0s-.07-.11-.1.1 0 0-.05-.22 0 .19 0 .11c0-.44-.07-.25-.11-.15s0 .08 0 0c0-.35-.1-.22-.16-.19s-.09.37-.13-.16c0-.1 0 0 0 0s-.09.15-.13 0 0-.06-.05 0c0 .3-.09.09-.14-.05s0-.11 0 0c0 .31-.06.27-.1.11s-.12.19-.18-.13v.11c0 .39 0 .42-.07.08s0-.16-.06-.07-.09.29-.15.13-.1-.37-.14.15c0 .14 0 0-.06 0s0-.11-.07 0v-2.45c.06.2.12-.23.17.19.07-.16.13.17.2-.22 0-.08 0 0 0 0 .1.25.2.27.29.13s0-.1.06 0c.05.29.1.06.15 0s.05-.18.08-.17a.49.49 0 0 1 .21.16c.05 0 .1.14.15-.12 0-.07 0-.06.05 0 .11.28.22.13.34 0s0 0 .06 0 .14.49.21.08c0-.06 0 0 0 0 .07.36.13.09.19.19s.05 0 .07-.13.09-.23.13 0c0 .06 0 .07 0 0s.1-.06.16 0 .11.24.17.11.12-.33.19-.31 0-.1.07 0c.08.32.16.14.24.21s.11 0 .16 0 .11-.31.16 0c.1-.14.2-.09.3-.06a1.39 1.39 0 0 0 .4 0s.06.1.09 0a.25.25 0 0 1 .07-.09c0-.11 0-.15.06 0s.09.3.14.17v-.08c.08-.16.16-.18.24-.14s.19 0 .28-.2.1-.09.15.15.06.25.1.21.07-.12.1-.13.29-.37.43 0c0 .06.06.16.09-.19 0-.09 0 0 0 0s0 .1.07.11a.61.61 0 0 1 .25.15c.12.14.24.21.37-.16 0-.1.07-.15.1 0s.11 0 .16.05 0-.1 0-.07c.12.21.24.26.35.13.05.2.11-.23.17.19.06-.16.13.17.19-.22 0-.08 0 0 0 0 .1.25.2.27.3.13s0-.1 0 0c.05.29.1.06.15 0s.05-.18.08-.17a.49.49 0 0 1 .21.16c.06 0 .11.14.16-.12 0-.07 0-.06 0 0 .11.28.23.13.34 0s0 0 .06 0 .14.49.21.08c0-.06 0 0 0 0 .06.36.12.09.18.19s.05 0 .08-.13.08-.23.13 0c0 .06 0 .07 0 0s.11-.06.16 0 .11.24.17.11.13-.33.19-.31.05-.1.07 0c.08.32.16.14.24.21s.11 0 .17 0 .1-.31.15 0c.1-.14.2-.09.3-.06a1.36 1.36 0 0 0 .4 0s.07.1.1 0 .1-.14.16 0 .07.17.11 0 .07 0 .1.09.07-.32.1-.22.13.25.2.18.17 0 .26 0 .19.12.28.09.14-.29.21-.06.21-.08.32.11.13-.15.2-.17a.37.37 0 0 1 .31 0s.07.17.11.05c0 .44.07.29.11 0 0 0 0-.07 0 0 0 .41.08 0 .13-.06s.2.15.31.09l.1-.06s0-.11.07-.09a.26.26 0 0 0 .34 0v.09c0 .32 0 .16.08.11s.07-.2.11-.11c.05-.25.1-.35.15-.17.09.33.18-.34.27 0v-.07a.41.41 0 0 0 0-.1c0-.27.06-.2.09 0s0 .15.07.07 0 0 .07 0 .21 0 .31.14.17-.07.26-.13.09-.1.13.15c0 .07 0 0 .05 0s0-.15 0-.14a.22.22 0 0 1 .13.15c.05.11.09-.22.13-.28s.08 0 .12-.17.08-.12.12 0 .13.29.19.22.1-.15.15-.05.14.16.22-.08c0-.06 0 0 .06 0s0 0 0 .07c0 .53.05.57.07.53h.06a1.19 1.19 0 0 1 .18-.15l.06.07c.12.23.12.21.24-.2 0-.11.06-.11.1-.08s0 .15.08 0c.06.39.11.25.17.13s0 0 .06-.1.05-.12.07 0 0 .21 0 .19.14.14.21-.11v-.07a1.12 1.12 0 0 1 .11.26c0 .11.06-.25.09 0s0 .14 0 .06c.05-.33.1-.3.16-.06s.08-.37.14-.13.09.3.14.17.19-.29.28-.24.19 0 .28-.2.1-.09.15.15.06.25.1.21.07-.12.1-.13.29-.37.43 0c0 .06.06.16.09-.19 0-.09 0 0 0 0s0 .1.07.11a.61.61 0 0 1 .25.15c.12.14.25.21.37-.16 0-.1.07-.15.1 0s.11 0 .16.05 0-.1 0-.07c.12.21.24.26.35.13s0 0 .05 0c0 .2.11-.23.17.19.06-.16.13.17.19-.22 0-.08 0 0 0 0 .1.25.2.27.3.13s0-.1.05 0c0 .29.1.06.15 0s0-.18.08-.17a.58.58 0 0 1 .22.16c.05 0 .1.14.15-.12 0-.07 0-.06 0 0 .11.28.23.13.34 0s0 0 .06 0 .14.49.21.08c0-.06 0 0 0 0 .06.36.12.09.19.19s0 0 .07-.13.08-.23.13 0c0 .06 0 .07 0 0s.11-.06.16 0 .11.24.17.11.13-.33.19-.31.05-.1.07 0c.08.32.16.14.25.21s.1 0 .16 0 .1-.31.15 0c.1-.14.2-.09.3-.06a1.36 1.36 0 0 0 .4 0s.07.1.1 0 .1-.14.16 0 .07.17.11 0 .07 0 .1.09.07-.32.1-.22.13.25.2.18.17 0 .26 0 .19.12.28.09.14-.29.21-.06.21-.08.32.11.13-.15.2-.17a.37.37 0 0 1 .31 0s.07.17.11.05c0 .44.07.29.11 0 0 0 0-.07 0 0 0 .41.08 0 .13-.06s.2.15.31.09l.1-.06s0-.11.07-.09a.26.26 0 0 0 .34 0v.09c0 .32.05.16.08.11s.07-.2.11-.11 0 0 .05 0c.05-.25.1-.35.15-.17.09.33.18-.34.27 0v-.07a.41.41 0 0 0 0-.1c0-.27.06-.2.09 0s.05.15.07.07.05 0 .07 0 .21 0 .32.14.16-.07.25-.13.09-.1.13.15c0 .07 0 0 .05 0s0-.15 0-.14a.22.22 0 0 1 .13.15c.05.11.09-.22.13-.28s.08 0 .12-.17.08-.12.12 0 .13.29.19.22.1-.15.15-.05z\\\"/><circle cx=\\\"165.18\\\" cy=\\\"121.19\\\" r=\\\"3.67\\\"/><path d=\\\"M169.7 121.24c-.16.06.18.13.08.19h-.06s-.08.06-.07.09.27.24.07.32v.06c0 .06.22.23-.16.23.3.13.07.14.16.23s0 .1 0 .15.11.14-.11.12.19.17.13.2-.06.13-.07.21.08.12.06.15-.16 0 0 .11-.16 0-.09.09 0 0 0 .07.08.1 0 .09-.71-.33-.53-.13.2.21-.12 0c.22.16.27.22 0 .08.3.25 0 .14 0 .19s-.1 0-.21 0h-.06c.02 0 .18.29.08.29s-.11 0-.06.11.17.21-.15 0c-.06 0 0 0 0 0v.08c0-.02-.26 0-.27.06s-.06 0-.08.07 0 .07.05.1.22.4 0 .21c-.07 0-.06 0 0 .06s.07.17 0 .13-.13 0-.09 0 0 .13-.16 0-.07 0-.08 0-.08.1-.11.15-.13-.08-.15 0a1.62 1.62 0 0 0-.06.29l-.16-.13c-.16-.13-.19-.19-.11 0s.06.34-.11.12-.22-.19-.12.18.11.46 0 .3 0 .05-.14-.13-.15-.22-.15-.13 0 .36-.14.16v.31c0-.04-.16-.16-.21-.16s-.1 0-.12.17-.08.1-.15.05-.06.08-.12-.1c-.13-.36-.16-.2-.2 0l-.27-.11v-.09c0 .2-.09.57-.16.17 0 .21-.07-.13-.11-.06s-.1-.19-.17.27c0 .1 0 .09 0 0s-.06-.11-.1.09 0 0 0-.23v.11c0-.44 0-.25-.08-.15s0 .08 0 0c0-.35-.06-.23-.12-.2s-.13.35-.09-.18c0-.1 0 0 0 0s-.1.13-.1 0 0-.07-.06 0c-.09.3-.09.08-.1-.06s0-.12 0 0c-.1.29-.12.25-.11.08s-.15.16-.12-.16l-.05.1c-.13.37-.16.39-.08.06s0-.16 0-.09-.17.25-.16.09 0-.38-.18.1c-.06.12 0 0 0 0s0-.12-.06 0-.1 0 0-.18 0-.15-.11 0-.22.28-.2.14 0-.09-.06-.13-.06-.05-.07-.12-.08-.08-.15-.07 0 0 0-.08c.21-.44.06-.28 0-.19s-.12.1-.07 0-.18.12-.12 0 0-.09-.16 0-.24.15-.07-.13c0-.07 0 0-.07 0s.05-.15 0-.08a1.09 1.09 0 0 1-.24.14v-.07c.12-.23-.08-.1-.06-.21s-.09 0-.17.11-.14.09-.07 0 0-.08 0-.12.12-.25-.21 0 0-.08 0-.07-.06 0 0-.12c.24-.34.26-.35 0-.29h-.08s-.53.32-.56.28-.15 0 .18-.22.17-.2.1-.18c-.35.07-.14-.23-.18-.35s0-.1.07-.15-.06 0-.22 0-.27 0-.2-.06.15-.26.07-.31-.08-.17.14-.33 0-.09-.21-.06-.14-.07.3-.23.14-.1.14-.1h-.05c-.05 0-.56.09-.53 0s.2-.16.33-.25-.2-.09-.11-.17h.05s.06-.08 0-.11-.33-.17-.14-.29-.26-.18.11-.26c-.32-.06-.09-.12-.2-.19s0-.1 0-.15-.14-.11.08-.14-.22-.12-.17-.17 0-.14 0-.22-.11-.1-.1-.14.17 0 0-.11.15 0 .06-.1 0 0-.05-.06-.09-.08 0-.09.75.17.53 0-.24-.16.11-.07c0 0 .05 0 0 0-.25-.12-.31-.17 0-.08-.36-.18-.06-.13-.07-.18s.1 0 .22 0 .08 0 0 0-.23-.25-.13-.27.1 0 0-.11-.21-.18.16 0c.06 0 0 0 0 0s-.06-.08 0-.08.26 0 .25-.11 0 0 .05-.09-.05-.06-.06-.08-.31-.35 0-.21c.07 0 .06 0 0-.07s-.1-.14 0-.12.14 0 .08-.07 0-.13.16 0 .08 0 .08 0 .06-.1.09-.16.14 0 .14 0a1.06 1.06 0 0 0 0-.31l.19.1c.19.1.22.15.09-.05s-.13-.34.09-.16.25.14.07-.19-.2-.42-.06-.3.05 0 0 0 0-.06.16.09.19.19.17.1-.07-.35.1-.18.05 0 0-.13-.06-.21 0-.18.18.11.23.1.09 0 .08-.19.07-.11.14-.08 0-.09.14.07c.2.33.2.16.21 0h.29v-.11c0 .06.08.2.08.17 0-.2 0-.57.12-.2 0-.2.1.11.12 0s.14.16.11-.3c0-.1 0-.1 0 0s.09.1.09-.11 0 0 .07.22 0-.2 0-.12c.09.44.09.24.11.14s0-.09 0 0c.09.34.12.2.16.17s.06-.37.13.16c0 .1 0 0 0 0s.06-.14.1 0 0 .06.05 0c0-.3.08-.09.12 0s0 .11 0 0c0-.3.06-.27.08-.1s.12-.19.15.14v-.11c.05-.39.07-.42.07-.08v.08c0-.09.12-.29.15-.13s0 .39.15-.13c0-.12 0 0 0 0s0 .11.06 0 .09 0 .09.16 0 .14.11 0 .15-.32.16-.18.06.09.09.12.07 0 .09.1.1.05.17 0 0 0 0 .09c-.11.47 0 .28.08.17s.1-.12.07 0 0 .06 0 0 .15-.16.12 0 .06.08.16 0 .2-.2.1.12c0 .07 0 0 .06-.05s0 .16.06.07a1 1 0 0 1 .21-.18v.07c-.07.25.1.08.1.19s.08-.07.14-.14.12-.12.08 0 0 .07 0 .12-.07.27.2 0 0 .08 0 .07.07 0 0 .12c-.16.37-.18.39 0 .29s.16-.08.11 0a.71.71 0 0 1 0 .15s-.05.08-.13.16.12 0 .27-.17.38-.27.29-.11.06 0-.07.18-.15.22-.06.19.33-.13.2.06 0 0 .12 0 .2-.1.18 0-.09.2-.07.25.06.08.2 0 .13 0 .11.12.09 0-.05.16-.12.21 0 .2 0 .2 0 .3.08 0 .11 0c-.06 0-.19.11-.16.11.2 0 .56-.14.22.08.2 0-.09.12 0 .12s-.13.17.32.06c.09 0 .09 0 0 0s-.08.1.12.06 0 0-.19.12h-.08.17c-.41.17-.21.13-.11.14s.08 0 0 0c-.32.15-.19.15-.14.19s.37 0-.14.15c-.09 0 0 0 0 0s.16 0 0 .11-.06 0 0 0c.31 0 .1.06 0 .12s-.11 0 0 0c.31 0 .28 0 .12.06s.21.08-.1.17h.11q.58 0 .09.06h-.08c.09 0 .3.07.15.12s-.37.1.15.13c.13 0 0 0 0 0s-.11 0 0 .06h-2.44c.2 0-.23 0 .19-.08-.16 0 .17-.08-.23-.08-.08 0 0 0 0 0 .25-.07.27-.13.12-.15s-.1 0 0 0c.28-.07.05-.06-.06-.06h-.18a.81.81 0 0 1 .13-.12s.13-.08-.13 0c-.07 0-.06 0 0 0 .25-.13.1-.14 0-.15s.44-.24.05-.12c-.06 0-.06 0 0 0 .32-.17 0-.09.14-.16s0 0-.14 0-.22.07 0-.06q.06 0 0 0c-.09 0-.07 0 0-.08s.17-.17 0-.12-.31.11-.31.08-.09 0 0 0c.25-.21.07-.14.1-.21s0-.05 0-.07-.27.15 0-.07c-.13 0-.13 0-.14-.07s-.1-.09-.16-.12 0-.09 0 0a.21.21 0 0 1-.09 0c-.08.08-.11.1 0 0s.16-.26.06-.18h-.06c-.13.1-.17.1-.18 0s-.07 0-.2.08-.09.07 0-.15.11-.23.07-.2-.09.08-.11.08-.27.27-.18 0c0-.07 0-.16-.12.15 0 .07 0 0 0 0v-.11a.35.35 0 0 1-.05-.18c0-.15-.05-.25-.21.09 0 .1-.07.14 0 0s0 0-.05-.06 0 .09 0 .07c0-.23-.05-.29-.12-.17 0-.2-.08.22 0-.2-.05.16 0-.18-.11.21 0 .08 0 0 0 0 0-.26-.08-.28-.13-.14s0 .09 0 0c0-.28 0-.06-.07 0a.89.89 0 0 1 0 .18.38.38 0 0 1-.1-.15s-.07-.15-.07.12c0 .07 0 .06 0 0-.08-.27-.12-.11-.15 0s-.16-.47-.11-.06c0 .06 0 0 0 0-.11-.34-.08-.07-.13-.16s0 0 0 .14 0 .23-.07 0c0 0 0-.06 0 0s0 .07-.08 0-.14-.2-.12-.06.06.32 0 .31 0 .1 0 0c-.16-.27-.12-.09-.19-.14s-.05 0-.07 0 .09.29-.08 0c0 .14 0 .12-.1.13s-.09.09-.13.14-.09-.06-.06 0 0 .13-.08 0-.14-.1 0 .06 0 0-.09 0 .18.26.11.2-.23-.14-.2-.07-.08 0-.1.08-.16 0-.17 0 .19.24 0 .12 0 .14-.19.07.09.15.09.19a.12.12 0 0 1-.09.12h-.07c-.4-.19-.28-.1 0 0 0 0 .06 0 0 0-.38-.16 0 0 0 .09s-.19 0-.15.1a.12.12 0 0 0 0 .07s.09.06.07.07-.14.07-.05.15 0 0-.09 0c-.31-.08-.17 0-.12 0s.18.08.09.08c.24.08.33.12.15.1s.33.14 0 .13h.16c.27 0 .19 0 0 0h-.07c.08 0 0 0 0 0s0 .08-.15.12.06.08.13.12.1 0-.14.06c-.08 0 0 0 0 0h.15l-.15.07c-.15.07.22 0 .28 0h.17c.17 0 .12 0 0 0s-.28.1-.2.12.15 0 .06 0-.14.1.1.07c.06 0 0 0 0 0h-.07c-.51.15-.55.18-.5.18h.17-.05c-.2.14-.18.14.21 0h.09c-.03 0-.12.08 0 0s.05 0 0 0c-.35.19-.21.15-.1.12s0 0 .11 0 .11 0 0 .05-.19.11-.17.11-.08.12.15 0h.07l-.2.17c-.09.08.23-.1 0 0s-.11.09 0 .05c.29-.16.28-.13.09 0s.33-.18.15 0-.21.21-.1.16.28-.12.28-.06.06.06.22 0 .09 0-.07.15-.15.2-.1.18a.66.66 0 0 1 .12-.06c.08 0 .32-.19.17.1 0 .06-.07.14.15-.13.05-.06 0 0 0 0v.1a.59.59 0 0 1 0 .19c0 .15 0 .25.23 0 .06-.09.09-.12 0 0s0 .05 0 .07v-.06c0 .21 0 .29.09.19-.05.2.12-.19 0 .21.08-.14 0 .18.16-.18 0-.07 0 0 0 0 0 .25 0 .29.1.16s0-.09 0 0c0 .28 0 .07.08 0s.06-.17.07-.17a.46.46 0 0 1 .07.17c0 .06 0 .15.08-.1 0-.07 0-.06 0 0 0 .28.09.13.15 0s.06.49.1.08c0-.06 0 0 0 0 0 .36.07.09.1.19s0 0 0-.13 0-.23.06 0c0 0 0 .06 0 0s.05-.06.08 0 .09.23.1.09 0-.34 0-.32 0-.1 0 0c.1.31.11.12.16.18s.05 0 .08 0 0-.31.08 0c0-.13.06-.11.12-.1s.11-.07.16-.11.07.08.05 0 0-.14.09 0 .11.13 0 0 0-.05.09 0-.13-.29-.07-.21.19.18.18.11.09 0 .12-.06.14 0 .16 0-.12-.26.05-.11 0-.13.19 0 0-.15 0-.19a.12.12 0 0 1 .11-.11s.16.09.07 0c.36.27.26.16 0 0 0 0-.06-.05 0 0 .34.24 0 0 0-.09s.19 0 .17-.07a.41.41 0 0 0 0-.08s-.08-.07-.06-.08.15 0 .09-.14 0 0 .08 0c.29.14.16 0 .12 0s-.16-.12-.08-.1c-.22-.13-.3-.18-.12-.13s-.29-.21 0-.13h-.06l-.09-.05c-.25-.1-.17-.09 0 0s.15 0 .08 0 0-.08.17-.09 0-.09-.09-.13-.09-.06.15 0c.07 0 0 0 0 0h-.14a.24.24 0 0 1 .15 0c.12 0-.2-.07-.26-.09s0 0-.17-.06-.11 0 0-.05.29 0 .22-.07-.15 0-.05-.06zm12.65 0c-.16.06.18.13.08.19h-.06s-.08.06-.07.09.27.24.07.32v.06c0 .06.23.23-.16.23.3.13.07.14.16.23s0 .1 0 .15.1.14-.12.12.19.17.13.2-.06.13-.07.21.07.12.05.15-.16 0 0 .11-.15 0-.09.09 0 0 0 .07.08.1 0 .09-.71-.33-.53-.13.21.21-.11 0c0 0-.06 0 0 0 .22.16.27.22 0 .08.3.25 0 .14 0 .19s-.1 0-.21 0h-.05c.03 0 .18.29.07.29s-.11 0-.06.11.17.21-.15 0c-.06 0 0 0 0 0v.08c0-.02-.26 0-.26.06s-.07 0-.08.07 0 .07 0 .1.23.4 0 .21c-.07 0-.06 0 0 .06s.06.17 0 .13-.13 0-.09 0 0 .13-.16 0-.07 0-.07 0-.09.1-.12.15-.13-.08-.15 0a1.62 1.62 0 0 0-.06.29l-.16-.13c-.16-.13-.19-.19-.1 0s.05.34-.12.12-.21-.19-.11.18.1.46 0 .3-.05.05-.14-.13-.15-.22-.15-.13 0 .36-.14.16v.31c0-.04-.15-.16-.21-.16s-.1 0-.12.17-.08.1-.14.05-.07.08-.13-.1c-.13-.36-.16-.2-.2 0l-.27-.11v-.09c0 .2-.09.57-.16.17 0 .21-.07-.13-.11-.06s-.1-.19-.17.27c0 .1 0 .09 0 0s-.06-.11-.1.09 0 0 0-.23v.11c0-.44 0-.25-.08-.15s0 .08 0 0c0-.35-.06-.23-.12-.2s-.13.35-.08-.18c0-.1 0 0 0 0s-.1.13-.1 0 0-.07 0 0c-.1.3-.1.08-.11-.06s0-.12 0 0c-.1.29-.12.25-.11.08s-.15.16-.11-.16v.1q-.2.56-.09.06v-.09c0 .07-.17.25-.16.09s0-.38-.18.1c-.05.12 0 0 0 0s0-.12-.06 0-.1 0-.05-.18 0-.15-.11 0-.22.28-.2.14 0-.09-.06-.13-.06-.05-.07-.12-.08-.08-.15-.07 0 0 0-.08c.21-.44.07-.28 0-.19s-.12.1-.07 0-.18.12-.12 0 0-.09-.16 0-.24.15-.07-.13c0-.07 0 0-.07 0s.05-.15 0-.08a1.09 1.09 0 0 1-.24.14v-.07c.12-.23-.08-.1-.06-.21s-.09 0-.16.11-.15.09-.08 0 0-.08 0-.12.12-.25-.21 0 0-.08 0-.07-.06 0 0-.12c.24-.34.26-.35 0-.29h-.08s-.53.32-.56.28-.15 0 .18-.22.17-.2.1-.18c-.35.07-.14-.23-.17-.35s0-.1.06-.15-.06 0-.22 0-.27 0-.2-.06.15-.26.07-.31-.08-.17.14-.33 0-.09-.2-.06-.14-.07.29-.23.14-.1.14-.1-.56.09-.53 0 .2-.16.34-.25-.21-.09-.12-.17h.05s.07-.08 0-.11-.33-.17-.14-.29-.26-.18.11-.26c-.32-.06-.09-.12-.2-.19s0-.1 0-.15-.13-.11.08-.14-.22-.12-.16-.17c.11-.06 0-.14 0-.22s-.11-.1-.1-.14.17 0 0-.11.15 0 .06-.1 0 0-.05-.06-.09-.08 0-.09.75.17.53 0-.24-.16.11-.07c0 0 .05 0 0 0-.25-.12-.31-.17 0-.08-.36-.18-.06-.13-.06-.18s.09 0 .21 0 .08 0 0 0-.23-.25-.13-.27.1 0 0-.11-.21-.18.16 0c.06 0 0 0 0 0s-.07-.08 0-.08.26 0 .25-.11 0 0 .06-.09l-.07-.08c-.05-.1-.31-.35 0-.21.07 0 .06 0 0-.07s-.1-.14 0-.12.14 0 .09-.07 0-.13.15 0 .08 0 .08 0 .06-.1.09-.16.14 0 .15 0a1.7 1.7 0 0 0 0-.31l.19.1c.19.1.22.15.09-.05s-.13-.34.09-.16.25.14.07-.19-.2-.42-.06-.3 0-.06.16.09.19.19.17.1-.07-.35.1-.18.05 0 0-.13-.06-.21 0-.18.18.11.23.1.09 0 .08-.19.07-.11.14-.08 0-.09.14.07c.2.33.2.16.21 0h.29v-.11c0 .06.08.2.08.17 0-.2 0-.57.12-.2 0-.2.11.11.12 0s.14.16.11-.3c0-.1 0-.1 0 0s.09.1.09-.11 0 0 .07.22 0-.2 0-.12c.09.44.09.24.11.14s0-.09 0 0c.09.34.12.2.16.17s.06-.37.13.16c0 .1 0 0 0 0s.06-.14.1 0 0 .06.05 0c0-.3.08-.09.12 0s0 .11 0 0c0-.3.06-.27.08-.1s.12-.19.15.14v-.11c0-.39.07-.42.07-.08v.08c0-.09.12-.29.15-.13s0 .39.15-.13c0-.12 0 0 0 0s0 .11.06 0 .1 0 .09.16 0 .14.11 0 .15-.32.16-.18.06.09.09.12.07 0 .09.1.1.05.17 0 0 0 0 .09c-.11.47 0 .28.08.17s.1-.12.08 0 0 .06 0 0 .15-.16.12 0 .06.08.16 0 .2-.2.1.12c0 .07 0 0 .06-.05s0 .16.06.07a1 1 0 0 1 .21-.18v.07c-.07.25.1.08.1.19s.08-.07.14-.14.13-.12.08 0 0 .07 0 .12-.07.27.2 0 0 .08.05.07.07 0 0 .12c-.16.37-.18.39 0 .29s.17-.08.11 0 0 .1 0 .15a.92.92 0 0 1-.14.16s.12 0 .27-.17.38-.27.29-.11.06 0-.07.18-.15.22-.06.19.33-.13.2.06 0 0 .12 0 .2-.1.18 0-.09.2-.07.25.07.08.2 0 .13 0 .11.12.09 0-.05.16-.12.21 0 .2.05 0 .05 0v.3c0 .1.07 0 .11 0-.06 0-.19.11-.16.11.2 0 .56-.14.22.08.2 0-.09.12 0 .12s-.13.17.32.06c.09 0 .09 0 0 0s-.08.1.12.06 0 0-.19.12h-.08.17c-.41.17-.21.13-.11.14s.08 0 0 0c-.32.15-.19.15-.14.19s.37 0-.13.15c-.1 0 0 0 0 0s.16 0 0 .11-.06 0 0 0c.31 0 .1.06 0 .12s-.11 0 0 0c.3 0 .27 0 .11.06s.21.08-.1.17h.11q.59 0 .09.06h-.08c.09 0 .3.07.15.12s-.37.1.15.13c.14 0 0 0 0 0s-.11 0 0 .06h-2.44s-.23 0 .19-.08c-.16 0 .17-.08-.23-.08-.08 0 0 0 0 0 .26-.07.27-.13.12-.15s-.1 0 0 0c.28-.07.05-.06-.06-.06h-.18a.81.81 0 0 1 .13-.12s.13-.08-.13 0c-.07 0-.06 0 0 0 .26-.13.1-.14 0-.15s.44-.24 0-.12c-.06 0-.06 0 0 0 .32-.17.06-.09.14-.16s0 0-.14 0-.22.07 0-.06c.05 0 .05 0 0 0s-.07 0 0-.08.18-.17 0-.12-.31.11-.31.08-.09 0 0 0c.25-.21.07-.14.11-.21s0-.05 0-.07-.27.15 0-.07c-.13 0-.13 0-.14-.07s-.1-.09-.16-.12 0-.09 0 0h-.08c-.09.08-.12.1 0 0s.16-.26.06-.18h-.06c-.13.1-.17.1-.18 0s-.07 0-.2.08-.09.07 0-.15.11-.23.07-.2l-.1.08c-.08 0-.28.27-.19 0 0-.07 0-.16-.12.15 0 .07 0 0 0 0a.65.65 0 0 0 0-.11.35.35 0 0 1 0-.18c0-.15-.05-.25-.21.09 0 .1-.07.14-.05 0s0 0 0-.06v.07c0-.23-.05-.29-.13-.17 0-.2-.09.22-.06-.2 0 .16 0-.18-.11.21 0 .08 0 0 0 0 0-.26-.08-.28-.13-.14s0 .09 0 0c0-.28 0-.06-.08 0a.89.89 0 0 1 0 .18.38.38 0 0 1-.1-.15s-.06-.15-.06.12c0 .07 0 .06 0 0-.08-.27-.12-.11-.15 0s-.16-.47-.11-.06c0 .06 0 0 0 0-.1-.34-.08-.07-.13-.16s0 0 0 .14 0 .23-.06 0c0 0 0-.06 0 0s0 .07-.08 0-.14-.2-.12-.06.06.32 0 .31 0 .1 0 0c-.16-.27-.12-.09-.19-.14s0 0-.07 0 .1.29-.08 0c0 .14 0 .12-.09.13s-.1.09-.14.14-.09-.06-.06 0 .05.13-.08 0-.14-.1 0 .06 0 0-.09 0 .18.26.11.2-.23-.14-.2-.07-.08 0-.1.08-.15 0-.17 0 .19.24 0 .12 0 .14-.19.07.09.15.09.19a.11.11 0 0 1-.09.12h-.07c-.4-.19-.28-.1 0 0 0 0 .06 0 0 0-.38-.16 0 0 0 .09s-.19 0-.15.1a.12.12 0 0 0 0 .07s.09.06.07.07-.14.07 0 .15 0 0-.09 0c-.31-.08-.17 0-.12 0s.18.08.09.08h.05c.24.08.32.12.14.1s.33.14 0 .13h.16c.27 0 .19 0 0 0h-.07c.08 0 0 0 0 0s0 .08-.15.12.06.08.13.12.1 0-.14.06c-.08 0 0 0 0 0h.15l-.15.07c-.15.07.22 0 .28 0h.17c.17 0 .12 0 0 0s-.28.1-.2.12.15 0 .06 0-.14.1.1.07c.06 0 0 0 0 0h-.07c-.5.15-.55.18-.5.18a.71.71 0 0 1 .17 0c-.2.14-.18.14.22 0h.08c-.03 0-.12.08 0 0s.06 0 0 0c-.35.19-.21.15-.09.12s0 0 .1 0 .11 0 0 .05-.19.11-.16.11-.09.12.14 0h.07l-.2.17c-.09.08.23-.1 0 0s-.11.09 0 .05c.29-.16.28-.13.1 0s.32-.18.14 0-.21.21-.1.16.28-.12.28-.06.06.06.22 0 .09 0-.06.15-.15.2-.11.18a.66.66 0 0 1 .12-.06c.08 0 .32-.19.17.1 0 .06-.07.14.15-.13.05-.06 0 0 0 0s-.05.09 0 .1a.59.59 0 0 1 0 .19c0 .15 0 .25.23 0 .06-.09.09-.12 0 0s0 .05.05.07v-.06c0 .21 0 .29.09.19 0 .2.12-.19 0 .21.08-.14 0 .18.16-.18 0-.07 0 0 0 0 0 .25 0 .29.1.16s0-.09 0 0c0 .28 0 .07.08 0s.06-.17.07-.17a.46.46 0 0 1 .07.17c0 .06 0 .15.09-.1 0-.07 0-.06 0 0 0 .28.09.13.15 0s.06.49.1.08c0-.06 0 0 0 0 0 .36.07.09.1.19s0 0 0-.13 0-.23.06 0c0 0 0 .06 0 0s.05-.06.08 0 .09.23.1.09 0-.34 0-.32 0-.1 0 0c.09.31.1.12.15.18s.05 0 .08 0 0-.31.08 0c0-.13.06-.11.12-.1s.11-.07.16-.11.07.08.06 0 0-.14.08 0 .12.13 0 0 0-.05.09 0-.13-.29-.07-.21.19.18.18.11.09 0 .12-.06.14 0 .16 0-.12-.26.05-.11 0-.13.19 0-.05-.15 0-.19a.12.12 0 0 1 .11-.11s.16.09.08 0c.35.27.25.16 0 0 0 0-.05-.05 0 0 .34.24 0 0 0-.09s.19 0 .17-.07a.41.41 0 0 0 0-.08s-.08-.07-.06-.08.15 0 .09-.14 0 0 .09 0c.28.14.15 0 .11 0s-.16-.12-.07-.1c-.22-.13-.3-.18-.12-.13s-.29-.21 0-.13h-.06l-.09-.05c-.25-.1-.17-.09 0 0s.15 0 .08 0 0-.08.18-.09-.05-.09-.1-.13-.09-.06.15 0c.08 0 0 0 0 0h-.14a.24.24 0 0 1 .15 0c.13 0-.2-.07-.26-.09s0 0-.17-.06-.11 0 0-.05.29 0 .22-.07-.15 0-.05-.06z\\\"/></svg>\",\n    \"push\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 300 200\\\"><path d=\\\"M108 48.11v-7.89a10 10 0 0 1 10-10h64a10 10 0 0 1 10 10v7.89z\\\" fill=\\\"#3b6ef1\\\"/><path d=\\\"M107.12 47.79c.15-.43-.19-.85-.09-1.28a2.84 2.84 0 0 0 .06-.31 3.71 3.71 0 0 0 .07-.67 6.8 6.8 0 0 1-.12-2.11.74.74 0 0 0 0-.36 2.05 2.05 0 0 1 .12-1.74v-.09c-.32-.42-.11-.8-.2-1.25a3.34 3.34 0 0 1 .07-1.09c.06-.35 0-.76.25-1s-.06-.75.1-1.09a.76.76 0 0 1 .06-.16 3.26 3.26 0 0 0 .31-.72l.29-.72a5.82 5.82 0 0 1 .3-.79c.14-.21.39-.37.38-.65s.43-.35.51-.62c0-.1.16-.14.14-.26 0-.28.17-.36.36-.46s.83.25 1.12-.36c.11-.24.22-.56.65-.43h.09c0-.33.07-.5.39-.34.08-.51.55-.46.84-.65a1.13 1.13 0 0 1 .64-.09.6.6 0 0 0 .46-.19 2.27 2.27 0 0 1 1.19-.65 2.21 2.21 0 0 0 .87-.23c.17-.09.33-.32.55.06 0 .06.12 0 .16 0a.44.44 0 0 1 .49-.1 6.53 6.53 0 0 0 .84.12 4.07 4.07 0 0 0 .78 0h.72c.08 0 .16-.08.25-.1.35-.1.7-.46 1.06-.14a.21.21 0 0 0 .3-.05.43.43 0 0 1 .55-.1.91.91 0 0 0 .67 0 .71.71 0 0 1 .77.09.37.37 0 0 0 .3.07c.41 0 .8 0 1.21-.05.2 0 .41.14.61.13.46 0 .92-.14 1.38-.22a.49.49 0 0 1 .51.19c.22.29.46.26.7 0a.77.77 0 0 1 1.11-.07.8.8 0 0 0 1.16-.1c.27-.26.53-.46.81-.28a.14.14 0 0 0 .2 0c.18-.19.35 0 .5.17a.44.44 0 0 0 .6.17 1.27 1.27 0 0 1 1.18-.1c.11.07.24 0 .35-.11a.38.38 0 0 1 .5-.17 4.21 4.21 0 0 0 1 .21 2.36 2.36 0 0 0 1-.14 1.78 1.78 0 0 1 1 0c.22 0 .45-.06.66.13.41.37.81.22 1.22.07a.46.46 0 0 1 .2-.05l1.69.14c.09 0 .17-.07.26-.1.06.07.12.22.18.19.36-.2.72-.56 1.09-.16.24-.2.47.13.7.06s.71.19 1-.27a.17.17 0 0 1 .25 0 .42.42 0 0 0 .6-.1c.1-.1.2 0 .27.23v.07-.06c.07-.05.17-.2.2-.12.19.45.39.25.59.15s.14-.08.2 0c.3.35.6.22.91.19s.51-.37.76.16c0 .1.13 0 .2 0 .24 0 .47-.14.71 0a.22.22 0 0 0 .31 0c.28-.31.54-.09.81 0 .08 0 .18.11.24 0 .18-.3.36-.27.55-.11.35.3.71-.19 1.06.13 0 0 .11 0 .15-.1.13-.4.26-.42.41-.09s.21.17.34.08a.77.77 0 0 1 .86-.14c.28.14.57.37.86-.15.07-.13.19 0 .29 0s.28.12.41 0 .52-.05.76.16.43.13.65-.05.52-.34.76-.22a1.57 1.57 0 0 0 .7.1 6.51 6.51 0 0 1 .76.07 3.2 3.2 0 0 0 1.07 0 .19.19 0 0 1 .2.09c.3.48.6.27.9.13s.3-.15.46 0 .24 0 .36 0 .49-.21.76 0 .57.05.86-.09.6-.26.91.06c.07.08.17 0 .25-.06s.37.14.56 0a2.49 2.49 0 0 1 .61-.26c.05 0 .1 0 .15.07.39.26.79 0 1.18.12.08 0 .17-.11.25-.2a.25.25 0 0 1 .4 0c.12.11.24.07.35.11.33.11.65.26 1-.14h.1c.03 0 .34.06.51 0a.77.77 0 0 1 .57.08c.69.4.68.42 1.36.19a.91.91 0 0 1 .36-.06c.35 0 .36-.61.71-.61.17 0 .29-.14.43.27s.39.25.56.19A5.67 5.67 0 0 1 176 29a3.15 3.15 0 0 1 .61.13.61.61 0 0 0 .56-.2.83.83 0 0 1 .88-.15 3.75 3.75 0 0 0 1.59.19 3 3 0 0 1 1.63.25.8.8 0 0 0 .83-.17c.35-.25.73-.07.89.39a.34.34 0 0 0 .45.23c.1.1.31.05.44 0s.53-.48.87-.34a3.31 3.31 0 0 1 1 .72c.38.29.92.2 1.31.48l.26.22a4.75 4.75 0 0 0 .59.44l1 .56a2.91 2.91 0 0 1 .83.81 1.06 1.06 0 0 0 .29.27 2 2 0 0 1 1.06 1.57s0 .06.08.07c.52.21.54.73.82 1.09a2.77 2.77 0 0 1 .42 1 1.67 1.67 0 0 1 .24 1.06c-.12.41.37.65.38 1a.55.55 0 0 1 0 .18 12.81 12.81 0 0 0 .11 1.53c0 .24.12.5.12.74s-.15.46 0 .67-.13.47 0 .71c0 .08 0 .18.07.25s.11.34 0 .51-.77.36-.51.94c.1.23.28.48-.08.71 0 0-.05.08 0 .1.28.16.35.32.05.48.39.33.09.6.11 1a1.6 1.6 0 0 1-.19.8 1 1 0 0 0 0 .65c.07.37.16.78.21 1.18a3 3 0 0 1-.86 0 3.64 3.64 0 0 0-1.28 0 1.64 1.64 0 0 1-.38.1.3.3 0 0 1-.34-.24c0-.07-.1 0-.14 0a.41.41 0 0 1-.46.05 3.84 3.84 0 0 0-1.54-.15h-.72c-.09 0-.17.08-.25.1-.36.1-.7.46-1.06.14a.22.22 0 0 0-.31 0 .43.43 0 0 1-.55.1.89.89 0 0 0-.66 0 .73.73 0 0 1-.77-.09.38.38 0 0 0-.3-.07h-1.21c-.21 0-.41-.13-.62-.12-.46 0-.92.14-1.38.22a.47.47 0 0 1-.5-.2c-.23-.28-.46-.25-.7 0a.77.77 0 0 1-1.11.07.81.81 0 0 0-1.17.1c-.26.26-.52.46-.8.28a.16.16 0 0 0-.21 0c-.18.19-.34 0-.5-.18a.45.45 0 0 0-.6-.16 1.25 1.25 0 0 1-1.17.1.26.26 0 0 0-.35.11.37.37 0 0 1-.5.16 4.87 4.87 0 0 0-1-.2 2.18 2.18 0 0 0-1 .14 1.78 1.78 0 0 1-1 0c-.22 0-.46.06-.66-.13-.41-.37-.81-.22-1.22-.07a.53.53 0 0 1-.2 0l-1.69-.14c-.09 0-.18.07-.26.1-.06-.07-.13-.22-.18-.19-.36.2-.72.56-1.09.16-.24.2-.47-.13-.7-.06s-.71-.19-1 .27a.18.18 0 0 1-.26 0 .42.42 0 0 0-.6.1c-.1.1-.19 0-.27-.23v-.07.05c-.07.05-.16.19-.19.11-.19-.44-.39-.24-.59-.14s-.14.08-.2 0c-.3-.35-.61-.22-.92-.19s-.51.37-.75-.16c0-.1-.13 0-.2 0-.24 0-.48.14-.72 0a.21.21 0 0 0-.3 0c-.28.31-.54.09-.81 0-.08 0-.18-.11-.25 0-.18.3-.35.27-.54.11-.35-.3-.71.19-1.06-.13 0 0-.12 0-.15.1-.13.4-.26.42-.41.09s-.22-.17-.34-.08a.8.8 0 0 1-.86.14c-.28-.14-.58-.37-.86.15-.07.13-.2 0-.3 0s-.28-.12-.4 0-.52.06-.76-.15-.43-.13-.66 0-.51.34-.75.22a1.46 1.46 0 0 0-.71-.1 6.34 6.34 0 0 1-.75-.07 3 3 0 0 0-1.08 0 .21.21 0 0 1-.2-.09c-.29-.48-.59-.27-.89-.13s-.3.15-.46 0-.24 0-.36 0-.49.21-.76 0a.84.84 0 0 0-.86.09c-.31.16-.61.26-.91-.06-.08-.08-.18 0-.25.06s-.37-.15-.56 0a2.66 2.66 0 0 1-.61.26c-.05 0-.1 0-.15-.07-.39-.26-.79 0-1.18-.12-.08 0-.17.11-.25.2a.25.25 0 0 1-.4 0c-.12-.11-.24-.07-.35-.11-.33-.12-.65-.26-1 .14h-.1c-.03 0-.34-.06-.51 0a.75.75 0 0 1-.56-.08c-.66-.39-.69-.42-1.28-.22a.7.7 0 0 1-.75.05l-.73-.1c-.07 0-.06-.1-.05-.21a.94.94 0 0 0-.58.3c-.27.26-.53.46-.81.28a.14.14 0 0 0-.2 0c-.18.19-.35 0-.51-.18a.45.45 0 0 0-.6-.16 1.25 1.25 0 0 1-1.17.1.26.26 0 0 0-.35.11.37.37 0 0 1-.5.16 4.78 4.78 0 0 0-1-.2 2.21 2.21 0 0 0-1 .14 1.78 1.78 0 0 1-1 0c-.22 0-.45.06-.66-.13-.41-.37-.81-.22-1.22-.07a.49.49 0 0 1-.2 0l-1.69-.14c-.09 0-.17.07-.26.1-.06-.07-.13-.22-.18-.19-.36.2-.72.56-1.09.16-.24.2-.47-.13-.7-.06s-.71-.19-1.05.27a.17.17 0 0 1-.25 0 .43.43 0 0 0-.61.1c-.1.1-.19 0-.27-.23v-.07.05c-.06.05-.16.19-.19.11-.19-.44-.39-.24-.59-.14s-.14.08-.2 0c-.3-.35-.61-.22-.92-.19s-.51.37-.75-.16c0-.1-.13 0-.2 0-.24 0-.47.14-.72 0a.21.21 0 0 0-.3 0c-.28.31-.54.09-.81 0-.08 0-.18-.11-.24 0-.19.3-.36.27-.55.11-.35-.3-.71.19-1.06-.13 0 0-.12 0-.15.1-.13.4-.26.42-.41.09s-.22-.17-.34-.08a.79.79 0 0 1-.86.14c-.28-.14-.58-.37-.86.15-.07.13-.19 0-.29 0s-.28-.12-.41 0l.13-2.09a.3.3 0 0 1 .26 0c.32.2.65-.23 1 .18.37-.15.75.18 1.12-.21.07-.08.17 0 .26 0a2.5 2.5 0 0 0 1.7.14c.1 0 .21-.1.3 0 .3.29.58.06.87-.05a1.46 1.46 0 0 1 .46-.18c.41 0 .82.09 1.23.16s.59.15.88-.11a.23.23 0 0 1 .25 0 3.44 3.44 0 0 0 2 0 1.49 1.49 0 0 1 .36 0c.41 0 .81.49 1.23.08a.13.13 0 0 1 .2 0c.35.36.72.09 1.07.19a.42.42 0 0 0 .41-.13.48.48 0 0 1 .76 0 .21.21 0 0 0 .2.05 1.79 1.79 0 0 1 .92 0 1.5 1.5 0 0 0 1 .1 2.63 2.63 0 0 1 1.12-.31c.14 0 .28-.09.41 0 .46.31.93.14 1.39.2a5.78 5.78 0 0 0 .93 0c.31 0 .61-.31.92 0a6.46 6.46 0 0 1 1.7-.06h2.32c.18 0 .37.1.56 0a1.38 1.38 0 0 1 .39-.09c.1-.11.2-.16.33 0a.75.75 0 0 0 .81.17h.05a.3.3 0 0 1 .19-.07 3.16 3.16 0 0 1 1.39-.15 3.78 3.78 0 0 0 1.59-.19.82.82 0 0 1 .87.15.62.62 0 0 0 .56.2 4.38 4.38 0 0 1 .61-.12 5.57 5.57 0 0 1 2.47 0c.17.07.37.16.55-.18 0-.09.13 0 .19 0a1.56 1.56 0 0 0 .41.11 11.59 11.59 0 0 1 1.43.16 3.14 3.14 0 0 0 2.15-.16.56.56 0 0 1 .61 0c.31.21.61 0 .92 0 .07 0 .14-.09.2-.07a4.25 4.25 0 0 0 2.06.14.31.31 0 0 1 .26 0c.31.2.65-.23 1 .18.37-.15.75.18 1.12-.21.07-.08.17 0 .25 0a2.51 2.51 0 0 0 1.7.14c.11 0 .22-.1.31 0 .3.29.58.06.87-.05a1.46 1.46 0 0 1 .46-.18c.41 0 .82.09 1.23.16s.59.15.87-.11a.25.25 0 0 1 .26 0 3.44 3.44 0 0 0 2 0 1.49 1.49 0 0 1 .36 0c.41 0 .81.49 1.22.08a.14.14 0 0 1 .21 0c.35.36.71.09 1.07.19a.43.43 0 0 0 .2-.03.48.48 0 0 1 .76 0 .21.21 0 0 0 .2.05 1.79 1.79 0 0 1 .92 0 1.49 1.49 0 0 0 1 .1 2.59 2.59 0 0 1 1.12-.25c.14 0 .28-.09.41 0 .46.31.93.14 1.39.2a5.78 5.78 0 0 0 .93 0c.3 0 .61-.31.92 0a6.45 6.45 0 0 1 1.7-.06h2.31c.19 0 .38.1.56 0a1 1 0 0 1 .93 0 .52.52 0 0 0 .66 0c.2-.16.38 0 .56.09s.39-.31.61-.22a1.94 1.94 0 0 0 1.12.19 9.25 9.25 0 0 1 1.49 0c.55 0 1.09.11 1.64.08.4 0 .8-.29 1.18 0 .62.36 1.24-.09 1.86.1.38.12.78-.15 1.17-.17a13.67 13.67 0 0 1 1.81 0c.11 0 .23.17.3 0 .26.45.41.3.3 0 0 0 0-.07 0 0 .25.24.33.2.31.11S191 47 191 47a.38.38 0 0 1 0-.38 1.08 1.08 0 0 0 .08-.19 2.34 2.34 0 0 0 0-.4c0-.18 0-.37-.07-.56s-.11-.27-.09-.41a7.88 7.88 0 0 0 0-2 .17.17 0 0 1 .09-.2c.32-.15.17-.3.11-.45a.87.87 0 0 1-.11-.66.23.23 0 0 0-.05-.26.71.71 0 0 1-.16-.89c.33-.55-.37-.91-.13-1.39 0-.06-.05-.11-.09-.16a.28.28 0 0 0-.12-.12c-.3-.11-.23-.26-.12-.45a.28.28 0 0 0 0-.36c-.12-.09-.05-.22-.06-.34-.08-.52-.35-1-.46-1.5s-.47-.72-.76-1c-.16-.16-.34-.29-.29-.62 0-.1-.09-.12-.16-.16s-.21 0-.25-.06a3.13 3.13 0 0 1-.36-.58c-.11-.24-.47-.15-.68-.23a.15.15 0 0 1-.1-.09c-.09-.2-.31-.22-.55-.2s-.39-.1-.51-.3a1.18 1.18 0 0 0-.75-.62 1.18 1.18 0 0 1-.67-.2 1 1 0 0 0-1.06-.22.55.55 0 0 1-.31 0s-.11 0-.11-.1c0-.53-.2-.61-.33-.58l-.29-.05-1 .11a.91.91 0 0 1-.36-.06c-.68-.23-.68-.22-1.37.19a.74.74 0 0 1-.56.08c-.17 0-.34-.15-.51 0s-.07.06-.1 0c-.32-.39-.64-.25-1-.13-.12 0-.24 0-.35.11s-.27.11-.41 0-.16-.21-.24-.19c-.4.1-.79-.14-1.18.11 0 0-.11.09-.16.08a3.19 3.19 0 0 1-.61-.26c-.19-.12-.37.25-.56 0s-.17-.15-.24-.07a.6.6 0 0 1-.92.06c-.3-.23-.5.37-.82.13a.81.81 0 0 0-.81-.17 3.16 3.16 0 0 1-1.64.25 3.78 3.78 0 0 0-1.59.19.81.81 0 0 1-.87-.15.67.67 0 0 0-.56-.21 3.42 3.42 0 0 1-.62.13 5.52 5.52 0 0 1-2.46 0c-.17-.07-.38-.16-.55.18 0 .09-.13 0-.19 0a1.67 1.67 0 0 0-.41-.11 11.37 11.37 0 0 1-1.43-.16 3.17 3.17 0 0 0-2.16.16.57.57 0 0 1-.6 0c-.31-.21-.62 0-.92 0-.07 0-.14.09-.21.07a4.2 4.2 0 0 0-2.05-.14.3.3 0 0 1-.26 0c-.32-.2-.65.23-1-.19-.37.16-.75-.17-1.12.22-.08.08-.17 0-.26 0a2.5 2.5 0 0 0-1.7-.14c-.1 0-.21.1-.3 0-.3-.29-.58-.06-.87.05s-.31.18-.46.17a10.74 10.74 0 0 1-1.24-.15c-.29-.05-.58-.15-.87.11a.25.25 0 0 1-.26 0 3.32 3.32 0 0 0-2 0 1.49 1.49 0 0 1-.36 0c-.41 0-.81-.49-1.23-.08a.13.13 0 0 1-.2 0c-.35-.36-.72-.09-1.07-.19a.42.42 0 0 0-.41.13.48.48 0 0 1-.76 0 .19.19 0 0 0-.2-.05 1.79 1.79 0 0 1-.92 0 1.5 1.5 0 0 0-1-.1 2.82 2.82 0 0 1-1.12.31c-.14 0-.28.09-.41 0-.46-.31-.93-.14-1.39-.21a7.22 7.22 0 0 0-.93 0c-.31 0-.61.31-.92 0a6.46 6.46 0 0 1-1.7.06h-2.32c-.18 0-.37-.1-.56 0a1 1 0 0 1-.92 0 .53.53 0 0 0-.67 0c-.19.16-.37 0-.56-.09s-.38.31-.6.22a2 2 0 0 0-1.13-.19 9.28 9.28 0 0 1-1.49 0c-.55 0-1.08-.12-1.63-.09s-.8.3-1.19.06c-.62-.37-1.23.08-1.85-.1-.39-.12-.78.14-1.18.17l-.84.05a7.32 7.32 0 0 0-.81 0c-.19 0-.4-.12-.56 0-.27-.38-.44-.19-.55.13 0 .05 0 .09-.08.05-.35-.35-.44.15-.63.28a2.87 2.87 0 0 1-.75.3 1.84 1.84 0 0 0-.75.31c-.14.11-.28.21-.4.32s-.14.24-.25.3a3.31 3.31 0 0 0-.73.51 3 3 0 0 0-.59.68.14.14 0 0 1-.19.07c-.33-.11-.31.1-.34.25s-.09.43-.28.54a.18.18 0 0 0-.08.22c.07.36 0 .63-.27.76-.5.27-.08.94-.48 1.26-.06 0 0 .12 0 .19a.24.24 0 0 0 .05.15c.23.23.12.35-.07.47s-.2.2-.15.32 0 .23-.08.34c-.19.51-.1 1-.27 1.57a3.88 3.88 0 0 0 .12 1.47.8.8 0 0 1-.14.76c-.07.08 0 .17 0 .26s.16.16.15.25a2.28 2.28 0 0 1-.15.76c-.12.27.22.51.28.77a.2.2 0 0 1 0 .15c-.11.23 0 .45.17.66a.65.65 0 0 1 0 .72 1.81 1.81 0 0 0-.21 1.12 1.44 1.44 0 0 1 0 .82zm.88 91.88v7.08a10 10 0 0 0 10 10h64a10 10 0 0 0 10-10v-7.08z\\\" fill=\\\"#3b6ef1\\\"/><path d=\\\"M108.84 140c-.15.43.19.85.09 1.27 0 .1-.05.21-.06.31a3.7 3.7 0 0 0-.07.66 6.75 6.75 0 0 1 .11 2.1.72.72 0 0 0 0 .35 2 2 0 0 1-.12 1.73v.09c.32.41.13.75.25 1.11a2.8 2.8 0 0 1 .13.86c.06.29.28.53.14.86s.42.46.47.74v.13a2.73 2.73 0 0 0 .57 1.06c.12.17.31.32.44.48s.12.41.37.43.17.39.37.48.09.14.2.12.28.11.34.27-.29.82.3.93c.23 0 .49 0 .48.43 0 0 0 .09.07.06.27-.16.42-.15.39.19.43-.18.55.18.82.29a1.08 1.08 0 0 1 .39.38.43.43 0 0 0 .39.16 2.49 2.49 0 0 1 1.13.07 1.12 1.12 0 0 0 .72.09c.15 0 .31-.22.42.19 0 .07.09 0 .13 0a.33.33 0 0 1 .41 0 3.4 3.4 0 0 0 1.52.16h.72c.08 0 .16-.08.24-.1.35-.1.7-.46 1.06-.15a.2.2 0 0 0 .3-.05.42.42 0 0 1 .54-.09.84.84 0 0 0 .66 0 .69.69 0 0 1 .76.1.38.38 0 0 0 .3.07c.41 0 .8 0 1.2-.05.21 0 .41.14.61.12.46 0 .91-.13 1.37-.21a.46.46 0 0 1 .5.19c.23.29.46.26.7 0a.76.76 0 0 1 1.1-.07.79.79 0 0 0 1.15-.1c.27-.26.52-.46.8-.28a.14.14 0 0 0 .2 0c.18-.19.34 0 .5.17a.45.45 0 0 0 .6.17 1.23 1.23 0 0 1 1.16-.1c.11.07.24 0 .34-.11a.39.39 0 0 1 .5-.17 4.21 4.21 0 0 0 1 .21 2.34 2.34 0 0 0 1-.14 1.74 1.74 0 0 1 1 0c.22 0 .45-.06.65.13.41.37.81.22 1.21.07a.49.49 0 0 1 .2-.05l1.68.14c.08 0 .17-.07.25-.1.06.07.12.22.17.19.36-.2.72-.57 1.09-.17.23-.2.46.14.69.07s.7.19 1-.27a.17.17 0 0 1 .25 0 .42.42 0 0 0 .6-.1c.1-.1.19 0 .27.22v.08-.06c.06 0 .16-.19.19-.11.19.45.38.25.58.15s.14-.08.2 0c.3.35.6.22.91.19s.51-.37.74.16c.05.1.14 0 .2 0 .24 0 .48-.14.72 0a.2.2 0 0 0 .3 0c.27-.3.53-.08.8 0 .08 0 .18.11.24 0 .18-.31.36-.27.54-.11.35.3.71-.19 1.06.13 0 0 .11 0 .14-.11.13-.39.26-.41.41-.08s.21.17.34.08a.76.76 0 0 1 .85-.14c.28.14.57.37.85-.15.07-.13.19 0 .29 0s.28.12.41 0 .51 0 .75.15.43.14.65 0 .51-.34.75-.22a1.55 1.55 0 0 0 .7.1 6.34 6.34 0 0 1 .75.07 3.15 3.15 0 0 0 1.06 0 .17.17 0 0 1 .2.09c.29.48.59.26.89.13.15-.07.3-.15.45 0s.24 0 .36 0 .49-.21.75 0a.84.84 0 0 0 .86-.09c.3-.16.6-.26.9.06.07.08.17 0 .25-.06s.36.14.55 0a2.49 2.49 0 0 1 .61-.26c.05 0 .1 0 .15.07.39.25.78 0 1.17.11.08 0 .16-.1.24-.19s.27-.16.4 0 .24.06.35.11c.32.11.64.26.95-.14h.11c.04 0 .33.06.5 0a.74.74 0 0 1 .56.08c.68.4.68.42 1.35.19a.91.91 0 0 1 .36-.06c.34 0 .36-.61.7-.61.17 0 .29-.14.43.27s.38.25.55.19a5.58 5.58 0 0 1 2.44 0 3.15 3.15 0 0 1 .61.13.65.65 0 0 0 .56-.2.8.8 0 0 1 .86-.15 3.74 3.74 0 0 0 1.58.19 3 3 0 0 1 1.62.25.66.66 0 0 0 .78-.19c.27-.28.54-.13.76.31a.26.26 0 0 0 .42.11c.11.07.27 0 .37-.09s.23-.63.5-.65a9.38 9.38 0 0 1 1 .07c.44 0 .63-.48 1-.55l.27-.08a3.47 3.47 0 0 0 .55-.26 7.27 7.27 0 0 0 .68-.68 2.29 2.29 0 0 1 .72-.63.7.7 0 0 0 .19-.26c.26-.48.45-.94 1.05-1.18v-.08c-.08-.47.28-.68.34-1.06a5.64 5.64 0 0 1 .31-.81c.12-.27 0-.59.32-.81s-.11-.61 0-.87a.5.5 0 0 1 0-.13 3.12 3.12 0 0 0 .07-1.22c0-.24-.12-.5-.12-.74s.15-.45 0-.66.13-.47 0-.7c0-.08 0-.18-.06-.25s-.12-.33 0-.5.77-.37.51-.94c-.1-.23-.28-.48.08-.71a.06.06 0 0 0 0-.1c-.28-.15-.35-.31 0-.47-.2-.2-.23-.22-.2-.29s.09-.15.08-.22.08-.2.19-.39.08-.23 0-.26c-.37.14-.62.32-.75.24s-.19-.08-.52 0c-.16.06-.33.26-.48-.14 0-.08-.1 0-.15 0a.4.4 0 0 1-.45.05 3.81 3.81 0 0 0-1.53-.15h-.72c-.08 0-.16.08-.24.1-.35.1-.7.46-1.06.14a.21.21 0 0 0-.3.05.42.42 0 0 1-.54.1.89.89 0 0 0-.66 0 .69.69 0 0 1-.76-.1.41.41 0 0 0-.3-.06h-1.21c-.2 0-.4-.13-.6-.12-.46 0-.91.14-1.37.22a.47.47 0 0 1-.5-.2.41.41 0 0 0-.7 0 .76.76 0 0 1-1.1.07.79.79 0 0 0-1.15.1c-.27.26-.52.46-.8.28a.14.14 0 0 0-.2 0c-.18.19-.35 0-.5-.18a.46.46 0 0 0-.6-.17 1.18 1.18 0 0 1-1.16.1.26.26 0 0 0-.34.12.38.38 0 0 1-.5.16 4.78 4.78 0 0 0-1-.2 2.18 2.18 0 0 0-1 .14 1.74 1.74 0 0 1-1 0c-.22 0-.45.06-.65-.13-.41-.37-.81-.22-1.21-.07a.36.36 0 0 1-.2 0l-1.68-.13c-.08 0-.17.06-.25.1-.06-.07-.12-.22-.17-.19-.36.2-.72.56-1.09.16-.23.2-.46-.13-.69-.06s-.7-.19-1 .27a.17.17 0 0 1-.25 0 .42.42 0 0 0-.6.1c-.1.1-.19 0-.27-.23v-.07.05c-.06 0-.16.19-.19.11-.19-.44-.38-.24-.58-.15s-.14.09-.2 0c-.3-.35-.6-.22-.91-.19s-.51.37-.74-.16c0-.1-.14 0-.2 0-.24 0-.48.14-.72 0a.21.21 0 0 0-.3 0c-.27.31-.53.09-.8 0-.08 0-.18-.11-.24 0-.18.3-.36.27-.54.11-.35-.3-.71.19-1.06-.13 0 0-.11 0-.14.1-.13.4-.26.42-.41.09s-.21-.17-.34-.08a.78.78 0 0 1-.85.14c-.28-.14-.57-.37-.85.15-.07.13-.2 0-.29 0s-.28-.12-.41 0-.51.06-.75-.15-.43-.13-.65.05-.51.34-.75.21a1.54 1.54 0 0 0-.7-.09 6.34 6.34 0 0 1-.75-.07 3.14 3.14 0 0 0-1.06 0 .17.17 0 0 1-.2-.08c-.29-.48-.59-.27-.89-.13-.15.07-.3.15-.45 0s-.24 0-.36 0-.49.21-.75 0a.84.84 0 0 0-.86.09c-.3.16-.6.26-.9-.06-.07-.08-.17 0-.25.06s-.37-.15-.55 0a2.66 2.66 0 0 1-.61.26c-.05 0-.1 0-.15-.07-.39-.26-.78 0-1.17-.12-.08 0-.16.1-.24.2s-.27.16-.4 0-.24-.07-.35-.11c-.33-.12-.64-.26-.95.14h-.11c-.04 0-.33-.06-.5 0a.74.74 0 0 1-.56-.08c-.65-.39-.68-.42-1.27-.22a.69.69 0 0 1-.74 0l-.72-.1c-.07 0-.07-.1-.06-.21a.94.94 0 0 0-.57.3c-.27.26-.53.46-.8.28a.16.16 0 0 0-.21 0c-.18.19-.34 0-.49-.18a.46.46 0 0 0-.6-.17 1.18 1.18 0 0 1-1.16.1.27.27 0 0 0-.35.12.38.38 0 0 1-.5.16 4.69 4.69 0 0 0-1-.2 2.16 2.16 0 0 0-1 .14 1.74 1.74 0 0 1-1 0c-.22 0-.45.06-.65-.13-.41-.37-.81-.22-1.21-.07a.39.39 0 0 1-.21 0l-1.67-.13c-.09 0-.17.06-.26.1-.06-.07-.12-.22-.18-.19-.36.2-.71.56-1.08.16-.23.2-.46-.13-.69-.06s-.71-.19-1 .27a.16.16 0 0 1-.24 0 .42.42 0 0 0-.6.1c-.1.1-.2 0-.27-.23v-.07.05s-.16.19-.19.11c-.19-.44-.39-.24-.59-.15s-.14.09-.2 0c-.29-.35-.6-.22-.9-.19s-.51.37-.75-.16c0-.1-.13 0-.2 0-.23 0-.47.14-.71 0a.21.21 0 0 0-.3 0c-.28.31-.54.09-.8 0-.08 0-.18-.11-.25 0-.18.3-.35.27-.54.11s-.7.19-1-.13c0 0-.11 0-.15.1-.13.4-.26.42-.41.09s-.21-.17-.33-.08a.79.79 0 0 1-.86.14c-.27-.14-.57-.37-.84.15-.07.13-.2 0-.3 0s-.28-.12-.4 0l-.14-2.44a.34.34 0 0 1 .26 0c.31.21.64-.22 1 .19.37-.15.74.18 1.11-.21.07-.08.17 0 .25 0a2.48 2.48 0 0 0 1.69.14c.1 0 .21-.1.3 0 .3.29.58.06.87-.05a1.41 1.41 0 0 1 .45-.18 9.93 9.93 0 0 1 1.22.16c.29 0 .58.15.87-.11a.21.21 0 0 1 .25 0 3.41 3.41 0 0 0 2 0 1.48 1.48 0 0 1 .35 0c.41 0 .81.49 1.22.08a.13.13 0 0 1 .2 0c.35.36.71.09 1.06.19a.42.42 0 0 0 .41-.13.47.47 0 0 1 .75 0 .19.19 0 0 0 .2 0 1.87 1.87 0 0 1 .91 0 1.49 1.49 0 0 0 1 .1 2.55 2.55 0 0 1 1.11-.31c.13 0 .27-.09.4 0 .46.31.92.14 1.38.2a4.71 4.71 0 0 0 .92 0c.31 0 .61-.3.91 0a6.39 6.39 0 0 1 1.69-.06h2.29c.19 0 .38.1.56 0a1.1 1.1 0 0 1 .39-.09c.1-.11.2-.16.33 0a.75.75 0 0 0 .8.17h.06a.3.3 0 0 1 .19-.07 3.09 3.09 0 0 1 1.37-.15 3.72 3.72 0 0 0 1.58-.19.82.82 0 0 1 .87.15.6.6 0 0 0 .55.2 4.38 4.38 0 0 1 .61-.12 5.44 5.44 0 0 1 2.44 0c.17.07.38.16.55-.18.05-.09.13 0 .19 0a2.08 2.08 0 0 0 .41.11 11.64 11.64 0 0 1 1.42.16 3.09 3.09 0 0 0 2.13-.16.55.55 0 0 1 .6 0c.31.21.61 0 .92 0 .06 0 .13-.09.19-.07a4.17 4.17 0 0 0 2 .14.33.33 0 0 1 .26 0c.31.21.64-.22 1 .19.37-.15.75.18 1.11-.21.08-.08.17 0 .26 0a2.45 2.45 0 0 0 1.68.14c.11 0 .22-.1.31 0 .29.29.57.06.86-.05a1.41 1.41 0 0 1 .45-.18 10.35 10.35 0 0 1 1.23.16c.29 0 .58.15.86-.11a.23.23 0 0 1 .26 0 3.37 3.37 0 0 0 1.94 0 1.34 1.34 0 0 1 .35 0c.41 0 .81.49 1.22.08a.13.13 0 0 1 .2 0c.35.36.71.09 1.07.19a.41.41 0 0 0 .4-.13.47.47 0 0 1 .75 0 .19.19 0 0 0 .2 0 1.87 1.87 0 0 1 .91 0 1.5 1.5 0 0 0 1 .1 2.58 2.58 0 0 1 1.11-.31c.14 0 .28-.09.41 0 .45.31.91.14 1.37.2a4.82 4.82 0 0 0 .93 0c.3 0 .6-.3.9 0a6.4 6.4 0 0 1 1.69-.06h2.3c.18 0 .37.1.56 0a1 1 0 0 1 .91 0 .52.52 0 0 0 .66 0c.19-.16.37 0 .56.09s.38-.31.59-.22a1.94 1.94 0 0 0 1.12.19 9.13 9.13 0 0 1 1.48 0c.55 0 1.08.11 1.62.08s.79-.29 1.18-.06c.61.37 1.22-.08 1.83.11.39.12.78-.15 1.17-.17a13.37 13.37 0 0 1 1.79 0c.2 0 .4.17.61 0 .21.44.5.3.89 0 .06 0 .14-.07.16 0 .22.41.73 0 1.21-.07a5.33 5.33 0 0 1 .67 0c0 .77-.18 1.58-.13 2.26a6.31 6.31 0 0 0 .06.75c0 .14.11.27.09.41a7.72 7.72 0 0 0 0 2 .17.17 0 0 1-.09.2c-.32.15-.17.3-.11.45a.85.85 0 0 1 .11.65.25.25 0 0 0 .05.26.7.7 0 0 1 .16.88c-.33.49.32 1.13 0 1.67-.05.07 0 .16 0 .24a.36.36 0 0 0 .08.18c.23.25.14.45-.06.63a.43.43 0 0 0-.18.43c0 .18-.09.3-.14.44a7.61 7.61 0 0 1-.89 1.81 9.34 9.34 0 0 0-.75 1.48c-.15.24-.27.53-.63.59-.11 0-.14.13-.18.22s0 .23-.08.3a2 2 0 0 1-.71.5c-.3.11-.27.55-.47.78a.29.29 0 0 1-.15.09c-.27.07-.4.31-.51.59a.82.82 0 0 1-.7.44 2.79 2.79 0 0 0-1.24.39 1.64 1.64 0 0 1-.86.38 2.22 2.22 0 0 0-1.39.47.92.92 0 0 1-.4.11c-.05 0-.14 0-.18-.05-.21-.49-.41-.51-.57-.45a2.08 2.08 0 0 1-.35 0c-.36.07-.77.16-1.1.19a.89.89 0 0 1-.35-.06c-.67-.23-.67-.22-1.36.19a.74.74 0 0 1-.56.08c-.16 0-.33-.15-.5 0s-.07.06-.1 0c-.31-.39-.63-.25-.95-.13-.12 0-.24 0-.35.1s-.27.12-.4 0-.17-.21-.25-.19c-.39.1-.78-.14-1.17.11-.05 0-.1.09-.15.08a3.11 3.11 0 0 1-.6-.26c-.19-.12-.37.24-.56 0s-.17-.15-.24-.07a.59.59 0 0 1-.91.06c-.3-.23-.5.37-.82.13a.77.77 0 0 0-.8-.17 3.08 3.08 0 0 1-1.62.25 3.72 3.72 0 0 0-1.58.19.84.84 0 0 1-.87-.15.64.64 0 0 0-.55-.21 3.32 3.32 0 0 1-.61.13 5.58 5.58 0 0 1-2.44 0c-.17-.07-.38-.16-.55.18-.05.09-.13 0-.19 0a3.11 3.11 0 0 0-.41-.11 9.92 9.92 0 0 1-1.42-.15 3.09 3.09 0 0 0-2.13.16.57.57 0 0 1-.6 0c-.31-.21-.61 0-.92 0-.06 0-.13.1-.19.08a4.17 4.17 0 0 0-2-.14.34.34 0 0 1-.26 0c-.31-.2-.64.23-.95-.19-.37.16-.75-.17-1.11.22-.08.08-.17 0-.26 0a2.45 2.45 0 0 0-1.68-.14c-.11 0-.22.1-.31 0-.29-.29-.57-.06-.86 0s-.3.18-.45.17a10.32 10.32 0 0 1-1.23-.15c-.29-.06-.58-.15-.86.11a.25.25 0 0 1-.26 0 3.37 3.37 0 0 0-1.94 0 1 1 0 0 1-.35 0c-.41 0-.81-.49-1.22-.08a.13.13 0 0 1-.2 0c-.35-.36-.71-.09-1.07-.19a.41.41 0 0 0-.4.13.47.47 0 0 1-.75 0 .2.2 0 0 0-.2 0 1.75 1.75 0 0 1-.91 0 1.5 1.5 0 0 0-1-.1 2.73 2.73 0 0 1-1.11.31c-.14 0-.28.09-.41 0-.45-.32-.91-.14-1.37-.21a7.22 7.22 0 0 0-.93 0c-.3 0-.6.31-.91 0a5.92 5.92 0 0 1-1.68 0h-2.3c-.19 0-.37-.09-.56 0a1 1 0 0 1-.91 0 .51.51 0 0 0-.66 0c-.19.17-.37.05-.56-.09s-.38.32-.6.23a1.89 1.89 0 0 0-1.11-.19 9.13 9.13 0 0 1-1.48 0c-.55 0-1.08-.12-1.62-.09s-.79.29-1.18.06c-.61-.37-1.22.08-1.83-.1-.39-.12-.78.14-1.17.17h-.9c-.31 0-.65-.05-1-.09s-.42-.21-.65-.12c-.16-.47-.39-.35-.68-.12 0 0-.09.05-.11 0-.17-.47-.53-.13-.81-.14-.69-.06-1.19-.58-1.79-.82-.19-.07-.37-.16-.56-.24a2.28 2.28 0 0 1-.44-.15c-.58-.46-1.12-.93-1.72-1.36a.18.18 0 0 1-.1-.21c.12-.34-.1-.36-.25-.44s-.48-.21-.55-.47a.29.29 0 0 0-.21-.19c-.39-.1-.69-.33-.69-.71 0-.64-.87-.83-.86-1.48 0-.08-.1-.13-.15-.19s-.07-.1-.15-.12c-.33-.1-.33-.32-.26-.57a.51.51 0 0 0-.07-.47c-.12-.13-.07-.3-.09-.45-.05-.33-.11-.67-.15-1a2.85 2.85 0 0 1 0-1 5.34 5.34 0 0 0-.15-1.53.8.8 0 0 1 .14-.76c.07-.08 0-.17 0-.25s-.15-.17-.14-.25a2.28 2.28 0 0 1 .15-.76c.12-.27-.22-.5-.28-.76a.2.2 0 0 1 0-.15c.11-.23 0-.44-.17-.66a.62.62 0 0 1 0-.71 1.78 1.78 0 0 0 .21-1.11 1.44 1.44 0 0 1-.05-.82z\\\" fill=\\\"#3b6ef1\\\"/><rect x=\\\"107.98\\\" y=\\\"75.78\\\" width=\\\"84.04\\\" height=\\\"26.22\\\" rx=\\\"2.7\\\" fill=\\\"#a2bcf4\\\"/><path d=\\\"M189 102.86c-.47-.15-.94.19-1.41.09l-.34-.06a4.74 4.74 0 0 0-.74-.07 8.76 8.76 0 0 1-2.34.12.79.79 0 0 0-.4 0 2.47 2.47 0 0 1-1.92-.12h-.1c-.45.32-.91.1-1.36.21a5 5 0 0 1-1.09 0c-.36 0-.73.14-1.08-.07s-.71.23-1.07.18a1 1 0 0 1-.17 0 6.53 6.53 0 0 0-1.53 0c-.27 0-.56.12-.82.12s-.51-.15-.74 0-.52-.13-.78 0c-.1 0-.2 0-.28.06s-.37.12-.56 0c-.34-.13-.41-.77-1-.51-.25.1-.53.28-.78-.08h-.11c-.18.28-.35.35-.53 0-.35.39-.71.09-1.07.11a1.17 1.17 0 0 1-.62-.19.58.58 0 0 0-.5 0 3.17 3.17 0 0 1-1.37.23 1.79 1.79 0 0 0-.89 0c-.19.07-.38.27-.55-.14 0-.07-.11 0-.16 0a.48.48 0 0 1-.5 0 4.74 4.74 0 0 0-1.71-.16h-.8c-.09 0-.18.08-.27.1-.39.1-.78.45-1.18.14a.24.24 0 0 0-.33 0 .53.53 0 0 1-.61.1 1 1 0 0 0-.73 0 .87.87 0 0 1-.86-.1.49.49 0 0 0-.33-.07h-1.34c-.22 0-.45-.14-.67-.12-.51 0-1 .13-1.53.22a.56.56 0 0 1-.56-.2.49.49 0 0 0-.78 0 .91.91 0 0 1-1.22.06 1 1 0 0 0-1.29.11c-.29.26-.58.46-.89.28a.16.16 0 0 0-.22 0c-.2.19-.38 0-.56-.18a.54.54 0 0 0-.66-.17 1.49 1.49 0 0 1-1.3.1.31.31 0 0 0-.38.12.47.47 0 0 1-.56.16 4.56 4.56 0 0 0-1.08-.2 2.86 2.86 0 0 0-1.08.13 2 2 0 0 1-1.07 0c-.24 0-.5.06-.72-.12a1.25 1.25 0 0 0-1.35-.07.62.62 0 0 1-.23 0l-1.87-.14a.82.82 0 0 0-.28.11c-.07-.07-.14-.22-.2-.19-.4.19-.79.56-1.21.16-.26.2-.51-.13-.77-.07s-.78-.19-1.16.28a.22.22 0 0 1-.28 0 .5.5 0 0 0-.66.09c-.12.11-.22 0-.3-.22v-.08.06s-.18.19-.22.11c-.21-.44-.43-.25-.65-.15-.07 0-.16.08-.22 0-.33-.36-.67-.23-1-.19s-.57.36-.83-.17c0-.09-.15 0-.23 0-.26 0-.52.15-.79 0a.26.26 0 0 0-.34 0c-.3.3-.59.09-.89 0-.09 0-.2-.12-.27 0-.2.3-.4.27-.6.1-.39-.29-.79.2-1.18-.13 0 0-.12 0-.16.11-.15.4-.29.42-.46.08s-.23-.16-.37-.07a1 1 0 0 1-.95.14c-.31-.15-.64-.38-1 .15-.08.13-.22 0-.33 0s-.31-.11-.45 0c-.29.21-.57.06-.84-.15a.55.55 0 0 0-.72 0c-.27.19-.57.35-.83.22a1.92 1.92 0 0 0-.78-.09c-.28 0-.56 0-.84-.08a4.31 4.31 0 0 0-1.19 0 .2.2 0 0 1-.22-.08c-.32-.49-.66-.27-1-.13a.49.49 0 0 1-.51 0 .53.53 0 0 0-.39 0c-.28 0-.55.21-.84 0a1 1 0 0 0-1 .1c-.35.15-.67.26-1-.07-.08-.08-.19 0-.28.07s-.41-.15-.61 0a1.84 1.84 0 0 1-.77.24c-.08 0-.16-.05-.24-.09-.56-.33-1.22-.33-1.69-.78-.08-.1-.27-.07-.42-.1a.53.53 0 0 1-.5-.44c0-.22-.19-.35-.24-.53a2.87 2.87 0 0 0-.66-1.44.15.15 0 0 1 0-.16.83.83 0 0 0 .07-.43 2.46 2.46 0 0 0-.07-.29.9.9 0 0 1 .08-.62c.41-.76.42-.76.19-1.51a1.08 1.08 0 0 1-.06-.4c0-.38-.61-.4-.61-.78 0-.19-.14-.32.27-.48s.26-.42.19-.61a6.73 6.73 0 0 1 0-2.72 3.89 3.89 0 0 1 .13-.68.76.76 0 0 0-.21-.62 1 1 0 0 1-.15-1 4.61 4.61 0 0 0 .19-1.76 3.78 3.78 0 0 1 .25-1.81.87.87 0 0 0-.17-.9c-.27-.34-.11-.7.35-.91a.35.35 0 0 0 .17-.49c.07-.12 0-.32 0-.46s-.57-.43-.52-.78a5.48 5.48 0 0 1 .38-1.19c.15-.48-.19-.95-.09-1.42 0-.12 0-.23.06-.34a4.74 4.74 0 0 0 .07-.74 4.67 4.67 0 0 1 0-1.44 2.26 2.26 0 0 1 .79-1.35 2.29 2.29 0 0 0 .36-.4 2.12 2.12 0 0 1 2.4-.73h.11c.44-.32.9-.1 1.35-.2a4 4 0 0 1 1.09 0c.36 0 .73-.14 1.08.07s.71-.24 1.07-.19h.17a6.61 6.61 0 0 0 1.54 0c.26 0 .55-.12.81-.12s.52.15.74 0 .52.14.78 0c.1 0 .2 0 .29-.06s.37-.12.55 0c.34.13.41.77 1 .52.25-.1.53-.28.79.07a.07.07 0 0 0 .11 0c.17-.28.34-.35.52 0 .35-.4.71-.1 1.07-.12a1.14 1.14 0 0 1 .62.2.61.61 0 0 0 .51 0 3 3 0 0 1 1.36-.24 1.83 1.83 0 0 0 .9 0c.18-.06.37-.27.54.14 0 .07.11 0 .16 0a.52.52 0 0 1 .51 0 4.66 4.66 0 0 0 1.7.15 7.12 7.12 0 0 1 .8 0 1.53 1.53 0 0 0 .27-.11c.4-.09.78-.45 1.18-.14a.23.23 0 0 0 .33 0 .52.52 0 0 1 .61-.09 1 1 0 0 0 .74 0 .85.85 0 0 1 .85.1.49.49 0 0 0 .33.07h1.34c.22 0 .45.14.68.12.51 0 1-.13 1.52-.22a.55.55 0 0 1 .56.2.49.49 0 0 0 .78 0 .91.91 0 0 1 1.22-.07 1 1 0 0 0 1.29-.11c.29-.26.58-.46.89-.27a.2.2 0 0 0 .23 0c.2-.19.38 0 .55.17a.53.53 0 0 0 .66.17 1.53 1.53 0 0 1 1.3-.1.3.3 0 0 0 .38-.11.46.46 0 0 1 .56-.17 4.56 4.56 0 0 0 1.08.2 2.68 2.68 0 0 0 1.08-.13 2.16 2.16 0 0 1 1.07 0c.24 0 .5-.06.73.13.45.37.89.21 1.35.07a.54.54 0 0 1 .22-.05l1.87.14a.82.82 0 0 0 .28-.11c.06.06.13.22.19.19.4-.2.8-.57 1.21-.17.26-.2.52.14.77.07s.79.19 1.16-.27a.2.2 0 0 1 .28 0 .5.5 0 0 0 .67-.1c.11-.1.21 0 .3.22v.08-.06c.07 0 .17-.19.21-.11.21.44.43.25.65.15s.16-.08.22 0c.34.35.67.22 1 .19s.56-.37.83.16c0 .1.14 0 .22 0 .26 0 .53-.15.79 0a.25.25 0 0 0 .34 0c.3-.3.6-.08.89 0 .09 0 .2.11.27 0 .2-.31.4-.27.61-.11.38.3.78-.19 1.17.13.05 0 .13 0 .16-.11.15-.39.29-.42.46-.08s.24.16.38.08a.92.92 0 0 1 1-.14c.3.14.63.37.94-.15.08-.13.22 0 .33 0s.31.11.45 0 .57 0 .84.15a.53.53 0 0 0 .72 0c.27-.19.57-.35.84-.22a2.07 2.07 0 0 0 .77.1 7.93 7.93 0 0 1 .84.07 4 4 0 0 0 1.19 0 .2.2 0 0 1 .22.08c.33.49.66.27 1 .14.17-.08.33-.15.51 0s.26 0 .39 0c.28 0 .55-.21.85 0a1 1 0 0 0 .94-.09c.35-.16.68-.27 1 .06.07.08.19 0 .27-.06s.41.14.62 0a3.09 3.09 0 0 1 .67-.26c.06 0 .11 0 .17.07.43.25.87 0 1.31.11.08 0 .18-.1.27-.19a.28.28 0 0 1 .44 0c.13.1.26.06.39.1.36.12.71.26 1.06-.13h.12c.04 0 .37.06.56 0a.89.89 0 0 1 .62.07c.73.39.76.42 1.42.22a.88.88 0 0 1 .83 0 4.17 4.17 0 0 1 1 .24c.1 0 .06.12 0 .22a3.24 3.24 0 0 0 .91.07 1.1 1.1 0 0 1 1.17.61.44.44 0 0 0 .22.26c.34.13.34.48.26.79a1.25 1.25 0 0 0 .12.94 3.2 3.2 0 0 1 .17.43l.06.23v.17a1 1 0 0 1-.1.65.31.31 0 0 0 .12.38.47.47 0 0 1 .16.56 4.56 4.56 0 0 0-.2 1.08 2.86 2.86 0 0 0 .13 1.08 2 2 0 0 1 0 1.07c0 .24.06.5-.12.72a1.25 1.25 0 0 0-.07 1.35.62.62 0 0 1 0 .23c0 .62-.09 1.25-.14 1.87a.82.82 0 0 0 .11.28c-.07.07-.22.14-.19.2.19.4.56.79.16 1.21.2.26-.13.51-.07.77s-.18.78.28 1.16a.22.22 0 0 1 0 .28.5.5 0 0 0 .09.66c.11.12 0 .22-.22.3h-.08.06c0 .08.19.18.11.22-.44.21-.25.43-.15.65s.08.16 0 .22c-.35.33-.23.67-.19 1s.36.57-.17.83c-.09 0 0 .15 0 .23 0 .26.14.52 0 .79a.26.26 0 0 0 0 .34c.31.3.09.59 0 .89 0 .09-.12.2 0 .27.3.2.27.4.1.6-.3.39.23.76-.17 1.31 0 .05 0 .16.07.23.34.28.29.53-.11.62s-.28.22-.3.43a1.21 1.21 0 0 1-.73 1.09c-.44.17-.87.15-1.1.79-.06.17-.31.09-.46.11s-.46 0-.65.08a22.12 22.12 0 0 1-.22-2.44.14.14 0 0 1 .16 0c.25.18.29-.28.64 0 .12-.24.56-.2.39-.64 0-.08.05-.09.11-.12a.71.71 0 0 0 .38-.45.77.77 0 0 0 0-.31 2.72 2.72 0 0 0-.08-.47c0-.11-.09-.24 0-.34.28-.32.06-.64-.05-1-.06-.17-.19-.34-.18-.5a12.78 12.78 0 0 1 .16-1.37 1.07 1.07 0 0 0-.12-1 .28.28 0 0 1 0-.29 4.27 4.27 0 0 0 0-2.16 2.85 2.85 0 0 1 0-.4c0-.45.49-.9.09-1.35a.15.15 0 0 1 0-.23c.35-.39.08-.79.18-1.18a.47.47 0 0 0-.13-.45.58.58 0 0 1 0-.84.25.25 0 0 0 0-.22 2.07 2.07 0 0 1 0-1 1.92 1.92 0 0 0 .1-1.08 3.11 3.11 0 0 1-.31-1.24c0-.15-.1-.3 0-.45.32-.51.14-1 .21-1.53a5.92 5.92 0 0 0 0-1c0-.34-.3-.68 0-1a4.22 4.22 0 0 1-.09-.94v-.86a1.49 1.49 0 0 0-.8-1.26c-.1-.07-.19-.21-.33-.19a.89.89 0 0 1-.27 0c-.08.1-.13.14-.21 0a.79.79 0 0 0-.86-.17h-.06a.32.32 0 0 1-.22.08 3.94 3.94 0 0 1-1.52.14 4.8 4.8 0 0 0-1.76.2 1 1 0 0 1-1-.15.72.72 0 0 0-.61-.21 4.28 4.28 0 0 1-.68.13 7 7 0 0 1-2.73 0c-.19-.07-.42-.17-.61.18-.05.09-.14 0-.21 0a3.69 3.69 0 0 0-.45-.11 11.9 11.9 0 0 1-1.58-.15 3.82 3.82 0 0 0-2.38.16.7.7 0 0 1-.67 0c-.35-.21-.68 0-1 0-.07 0-.15.1-.22.08a5 5 0 0 0-2.28-.14.45.45 0 0 1-.28 0c-.35-.2-.72.23-1.07-.19-.41.16-.83-.17-1.23.22-.09.08-.19 0-.29 0a3.11 3.11 0 0 0-1.88-.13c-.11 0-.23.1-.34 0-.32-.29-.64-.06-1 0s-.34.18-.51.17a12.75 12.75 0 0 1-1.37-.15 1 1 0 0 0-1 .11.28.28 0 0 1-.28 0 4.2 4.2 0 0 0-2.17 0 1.72 1.72 0 0 1-.39 0c-.46 0-.9-.49-1.36-.08a.17.17 0 0 1-.23 0c-.39-.36-.79-.09-1.18-.19a.5.5 0 0 0-.45.13.57.57 0 0 1-.84 0 .23.23 0 0 0-.22 0 2.2 2.2 0 0 1-1 0 1.83 1.83 0 0 0-1.08-.1 3.26 3.26 0 0 1-1.23.3c-.15 0-.31.1-.45 0-.51-.32-1-.14-1.54-.21a7.08 7.08 0 0 0-1 0c-.34 0-.68.31-1 0a7 7 0 0 1-1.88.06h-2.56c-.21 0-.42-.1-.62 0a1.24 1.24 0 0 1-1 0 .62.62 0 0 0-.73 0c-.21.17-.41.05-.62-.09s-.42.32-.67.22a2.44 2.44 0 0 0-1.24-.18 11.36 11.36 0 0 1-1.65 0c-.61 0-1.2-.12-1.81-.09-.44 0-.88.29-1.31.06-.68-.37-1.36.08-2-.1-.43-.12-.87.14-1.3.16a14.82 14.82 0 0 1-2 0c-.23 0-.45-.17-.68 0-.23-.44-.46-.29-.69 0 0 0-.09.07-.11 0-.29-.41-.57 0-.84.06-.67.16-1.33-.15-2-.09q-.31 0-.63.06a2.42 2.42 0 0 1-.45.1 9.08 9.08 0 0 0-2.21 0c-.08 0-.17 0-.22-.09-.17-.32-.34-.16-.5-.11a1.06 1.06 0 0 1-.73.11.31.31 0 0 0-.29 0 .86.86 0 0 1-1 .17c-.57-.33-1.13.34-1.7.05-.07 0-.15 0-.23.07a.47.47 0 0 0-.16.1c-.2.28-.4.2-.61.05a.42.42 0 0 0-.45-.07c-.16.09-.3 0-.45 0a19 19 0 0 1-2-.14 2.39 2.39 0 0 0-1.36.15c-.14.06-.22.16-.47 0-.07 0-.1 0-.12.08s0 .18 0 .21a2.66 2.66 0 0 1-.39.24c-.19.09 0 .36.09.49a.07.07 0 0 1 0 .07c-.13.1 0 .19.15.48a.77.77 0 0 1 0 .79 2.18 2.18 0 0 0-.21 1.24 1.77 1.77 0 0 1 0 .91 1.8 1.8 0 0 0 .07 1.42.74.74 0 0 1 0 .39c0 .06 0 .14-.08.16-.52.13-.57.34-.53.51v.36c0 .37.11.75.14 1.13a1.08 1.08 0 0 1-.06.4c-.23.75-.21.75.19 1.51a.9.9 0 0 1 .08.62c0 .19-.14.38 0 .57v.11c-.4.35-.25.7-.14 1.06 0 .13 0 .26.11.39a.3.3 0 0 1 0 .45c-.09.08-.22.18-.2.27.1.43-.14.87.12 1.3 0 .06.09.12.07.17a3.16 3.16 0 0 1-.26.68c-.12.2.25.4 0 .61s-.14.2-.06.28a.71.71 0 0 1 .06 1c-.24.33.37.56.13.91a1 1 0 0 0-.18.9 3.64 3.64 0 0 1 .25 1.8c-.06.71 0 .91.31 1.11s.21.18.15.47 0 .35.15.37.28 0 .4 0a.93.93 0 0 0 .37 0l.62-.08a2.88 2.88 0 0 1 1.36.12c.19.07.42.16.61-.19.05-.08.14 0 .21 0a2.37 2.37 0 0 0 .46.11c.52 0 1.05.06 1.58.15a3.69 3.69 0 0 0 2.38-.16.72.72 0 0 1 .67 0c.34.21.68 0 1 0 .08 0 .15-.09.23-.07a5.13 5.13 0 0 0 2.27.13.45.45 0 0 1 .28 0c.36.21.72-.22 1.07.19.41-.16.83.17 1.24-.22.08-.08.19 0 .28 0a3 3 0 0 0 1.88.13c.11 0 .24-.09.34 0 .32.28.64.06 1 0s.34-.19.5-.18a12.78 12.78 0 0 1 1.37.16 1.07 1.07 0 0 0 1-.12.28.28 0 0 1 .29 0 4.27 4.27 0 0 0 2.16 0 2.85 2.85 0 0 1 .4 0c.45 0 .9.49 1.35.09a.15.15 0 0 1 .23 0c.39.35.79.08 1.18.18a.47.47 0 0 0 .45-.13.58.58 0 0 1 .84 0 .25.25 0 0 0 .22 0 2.07 2.07 0 0 1 1 0 1.92 1.92 0 0 0 1.08.1 3.11 3.11 0 0 1 1.24-.31c.15 0 .3-.1.45 0 .51.32 1 .14 1.54.21a5.79 5.79 0 0 0 1 0c.34 0 .68-.3 1 0a7.39 7.39 0 0 1 1.88-.06h2.56c.2 0 .41.1.62 0a1.18 1.18 0 0 1 1 0 .65.65 0 0 0 .74 0c.21-.16.41 0 .61.09s.43-.31.67-.22a2.25 2.25 0 0 0 1.24.18 13 13 0 0 1 1.65 0c.61 0 1.2.12 1.81.09.44 0 .88-.29 1.31-.06.68.37 1.36-.08 2.05.11.42.11.86-.15 1.3-.17a18.87 18.87 0 0 1 2 0c.23 0 .45.17.68 0 .23.44.46.29.7 0 0 0 .08-.07.11 0 .28.42.56 0 .84-.06.66-.15 1.32.16 2 .09l.62-.06a1.8 1.8 0 0 1 .45-.09 9.7 9.7 0 0 0 2.22 0 .2.2 0 0 1 .22.09c.16.32.33.17.5.11a1 1 0 0 1 .73-.11.27.27 0 0 0 .28-.05.84.84 0 0 1 1-.16c.57.33 1.13-.35 1.7-.06.07 0 .15 0 .23-.07a.28.28 0 0 0 .16-.1c.21-.27.4-.2.61 0a.42.42 0 0 0 .46.07c.15-.08.3 0 .45 0a18.82 18.82 0 0 1 2 .14 4.73 4.73 0 0 0 1.63-.12 1 1 0 0 1 .85.14c.08.07.18 0 .28 0s.18-.16.27-.15a2.82 2.82 0 0 1 .85.15c.29.12.56-.22.84-.28a.25.25 0 0 1 .17 0 .77.77 0 0 0 .74-.17.77.77 0 0 1 .79 0 2.18 2.18 0 0 0 1.24.21 1.76 1.76 0 0 1 .91 0z\\\" fill=\\\"#a2bcf4\\\"/><path d=\\\"M181.88 157.61c-.9-.15-1.77.19-2.66.09-.21 0-.42 0-.64-.06-.46 0-.92-.07-1.38-.06a29.14 29.14 0 0 1-4.38.11 3.15 3.15 0 0 0-.75 0 8.79 8.79 0 0 1-3.61-.12.31.31 0 0 0-.19 0 10 10 0 0 1-2.55.21 13.75 13.75 0 0 1-2 0 6.88 6.88 0 0 1-2-.07c-.71-.23-1.34.23-2 .19h-.32a25.16 25.16 0 0 0-2.88 0c-.5 0-1 .12-1.53.12a3.35 3.35 0 0 0-1.38 0c-.52.23-1-.14-1.47 0-.18 0-.38 0-.53.06a1.33 1.33 0 0 1-1 0c-.63-.14-.76-.78-2-.52a1.71 1.71 0 0 1-1.48-.07.15.15 0 0 0-.2 0 .67.67 0 0 1-1 0c-.65.39-1.33.1-2 .12a3.58 3.58 0 0 1-1.16-.2 2 2 0 0 0-.95 0 10.1 10.1 0 0 1-2.56.24 6.3 6.3 0 0 0-1.68 0c-.35.06-.7.26-1-.14-.06-.07-.21 0-.31 0a1.58 1.58 0 0 1-.94 0 16.31 16.31 0 0 0-3.2-.15h-1.5c-.17 0-.34.08-.51.1-.73.1-1.45.46-2.21.14a.75.75 0 0 0-.62.05 1.64 1.64 0 0 1-1.15.1 3.71 3.71 0 0 0-1.37 0 2.74 2.74 0 0 1-1.6-.09 1.45 1.45 0 0 0-.62-.07h-2.51c-.42 0-.85-.14-1.27-.13l-1.45.09a12.21 12.21 0 0 1-1.6 0 1.71 1.71 0 0 1-1.08-.45 2 2 0 0 0-1.49-.59 2.7 2.7 0 0 1-2.17-1.28 5.37 5.37 0 0 0-1.91-1.85 2.78 2.78 0 0 1-.78-.61 1.58 1.58 0 0 1-.44-.86.79.79 0 0 0-.23-.43 1.2 1.2 0 0 1-.26-1.16 2.34 2.34 0 0 0-.16-1.39 4.23 4.23 0 0 1-.26-2.6 1 1 0 0 0-.12-.73 1.37 1.37 0 0 1-.16-1 15.35 15.35 0 0 0 .2-2 9.85 9.85 0 0 0-.13-2 6.71 6.71 0 0 1 0-2 4.46 4.46 0 0 1 .12-1.37 4.13 4.13 0 0 0 .07-2.53 2 2 0 0 1 0-.42l.14-3.5a2.59 2.59 0 0 0-.11-.54c.07-.13.22-.26.19-.37-.19-.75-.56-1.49-.16-2.26-.2-.49.13-1 .07-1.45-.1-.73.18-1.48-.28-2.18a.67.67 0 0 1 0-.52 1.6 1.6 0 0 0-.09-1.25c-.11-.21 0-.41.22-.56h.08l-.06-.06c0-.14-.19-.34-.11-.41.44-.39.25-.8.15-1.22a.59.59 0 0 1 0-.41 3.2 3.2 0 0 0 .19-1.9c0-.51-.36-1.06.17-1.56.09-.09 0-.27 0-.42a3.75 3.75 0 0 1 0-1.49.81.81 0 0 0 0-.63 2.2 2.2 0 0 1 0-1.67c0-.17.12-.38 0-.51a1 1 0 0 1-.1-1.13c.29-.72-.2-1.47.13-2.2a.3.3 0 0 0-.11-.31c-.4-.27-.42-.54-.09-.85s.17-.45.08-.71a3.09 3.09 0 0 1-.14-1.78c.15-.58.38-1.19-.15-1.78-.13-.14 0-.4 0-.61a2.16 2.16 0 0 0 0-.84 2.06 2.06 0 0 1 .15-1.58 1.78 1.78 0 0 0 0-1.36 2.67 2.67 0 0 1-.22-1.56 6.55 6.55 0 0 0 .09-1.46c0-.52 0-1 .08-1.57a15.1 15.1 0 0 0 0-2.23.59.59 0 0 1 .08-.41c.49-.61.27-1.24.13-1.86a1.62 1.62 0 0 1 0-1 1.84 1.84 0 0 0 0-.74A4.19 4.19 0 0 1 107 86a3.38 3.38 0 0 0-.1-1.78 2.6 2.6 0 0 1 .07-1.9.56.56 0 0 0-.07-.51c-.22-.39.15-.77 0-1.16a10.83 10.83 0 0 1-.26-1.26.72.72 0 0 1 .08-.32 13.37 13.37 0 0 0 .11-2.45 1 1 0 0 0-.19-.51.87.87 0 0 1 0-.84 3 3 0 0 0 .1-.72 2.72 2.72 0 0 0-.13-2 .2.2 0 0 1 0-.21 1.79 1.79 0 0 0 0-1 3.08 3.08 0 0 1 .08-1.17 4.33 4.33 0 0 0 .19-2.83 3.8 3.8 0 0 1-.06-.75c0-.71-.61-.75-.61-1.46 0-.36-.14-.61.27-.9s.26-.8.19-1.15a23.59 23.59 0 0 1 0-5.11c0-.43.08-.85.13-1.27a2.35 2.35 0 0 0-.21-1.16 3.2 3.2 0 0 1-.15-1.81 15.86 15.86 0 0 0 .19-3.3A12.93 12.93 0 0 1 107 47a2.78 2.78 0 0 0-.17-1.68 1.48 1.48 0 0 1 .35-1.72c.34-.3.17-.9.17-.9a2.57 2.57 0 0 0 0-.87c-.05-.28-.57-.8-.52-1.46a6.1 6.1 0 0 1 .17-1.17 10.38 10.38 0 0 1 .36-1.21 12.17 12.17 0 0 1 .78-2.79c.13-.2.24-.41.38-.6.28-.42.58-.82.89-1.22a7.94 7.94 0 0 1 3.61-3.07 7.21 7.21 0 0 0 .74-.36 5.39 5.39 0 0 1 3.88-.6.35.35 0 0 0 .2 0 9.84 9.84 0 0 1 2.54-.21 13.76 13.76 0 0 1 2 0 6.87 6.87 0 0 1 2 .07c.72.23 1.34-.23 2-.19h.32a25.16 25.16 0 0 0 2.88 0c.5 0 1-.12 1.54-.12a3.37 3.37 0 0 0 1.38 0c.52-.23 1 .14 1.47 0 .17 0 .37 0 .53-.06a1.34 1.34 0 0 1 1 0c.64.14.76.78 2 .52a1.69 1.69 0 0 1 1.47.07.17.17 0 0 0 .21 0 .66.66 0 0 1 1 0c.66-.39 1.34-.1 2-.12a3.52 3.52 0 0 1 1.15.2 2 2 0 0 0 .95 0 10.19 10.19 0 0 1 2.56-.24 6.38 6.38 0 0 0 1.69 0c.34-.06.69-.26 1 .14.05.07.2 0 .3 0a1.59 1.59 0 0 1 .94-.05 16.35 16.35 0 0 0 3.2.15h1.5c.17 0 .34-.08.51-.1.74-.1 1.46-.46 2.21-.14a.78.78 0 0 0 .63-.05A1.61 1.61 0 0 1 160 29a3.71 3.71 0 0 0 1.37 0 2.82 2.82 0 0 1 1.6.09 1.47 1.47 0 0 0 .62.07c.85 0 1.67 0 2.52-.05.42 0 .84.14 1.27.13.95 0 1.9-.14 2.86-.22a1.66 1.66 0 0 1 1 .19 1.46 1.46 0 0 0 1.46 0 2.92 2.92 0 0 1 2.3-.07 3 3 0 0 0 2.41-.1 2.26 2.26 0 0 1 1.67-.28.58.58 0 0 0 .43 0 1 1 0 0 1 1 .17 1.55 1.55 0 0 0 1.24.17 4.14 4.14 0 0 1 2.62.08 1.34 1.34 0 0 0 .82.06 1.48 1.48 0 0 1 1.18.2 23 23 0 0 1 2 1.22c.32.21.61.45.93.66s.61.47.93.68a5.27 5.27 0 0 1 1.44 1.78c.12.23.28.46.41.69a2.12 2.12 0 0 1 .22.73 10.55 10.55 0 0 0 .75 2.75 3.43 3.43 0 0 1 .11.46c.08 1.38 0 2.44-.07 3.64a2.64 2.64 0 0 0 .11.53c-.07.12-.22.25-.19.36.19.76.56 1.5.16 2.27.2.49-.13 1-.07 1.44.1.73-.18 1.48.28 2.19a.67.67 0 0 1 0 .52 1.61 1.61 0 0 0 .09 1.25c.11.21 0 .4-.22.56l-.08-.05.06.06c0 .14.19.33.11.4-.44.4-.25.81-.15 1.22a.61.61 0 0 1 0 .42 3.18 3.18 0 0 0-.19 1.9c0 .51.36 1-.17 1.55-.09.09 0 .28 0 .42a3.75 3.75 0 0 1 0 1.49.81.81 0 0 0 0 .63 2.19 2.19 0 0 1 0 1.67c0 .17-.12.38 0 .51a1 1 0 0 1 .1 1.14c-.29.72.2 1.47-.13 2.2a.29.29 0 0 0 .11.3c.4.28.42.55.09.86s-.17.44-.08.7a3.12 3.12 0 0 1 .14 1.79c-.15.57-.38 1.19.15 1.77.13.14 0 .41 0 .61a2.22 2.22 0 0 0 0 .85 2.07 2.07 0 0 1-.15 1.58 1.76 1.76 0 0 0 0 1.35 2.69 2.69 0 0 1 .22 1.56 6.59 6.59 0 0 0-.09 1.46c0 .53 0 1-.08 1.57a15.08 15.08 0 0 0 0 2.23.58.58 0 0 1-.08.41c-.49.61-.27 1.24-.13 1.87a1.59 1.59 0 0 1 0 .94 1.89 1.89 0 0 0 0 .75A4.18 4.18 0 0 1 193 87a3.35 3.35 0 0 0 .1 1.77 2.6 2.6 0 0 1-.07 1.9.56.56 0 0 0 .07.51c.22.4-.15.77 0 1.16a11 11 0 0 1 .26 1.27.71.71 0 0 1-.08.31 13.41 13.41 0 0 0-.11 2.45 1 1 0 0 0 .19.51.87.87 0 0 1 0 .84 3 3 0 0 0-.1.72 2.72 2.72 0 0 0 .13 2 .2.2 0 0 1 0 .21 1.79 1.79 0 0 0 0 1 3.13 3.13 0 0 1-.08 1.18 4.18 4.18 0 0 0-.22 2.65 2.85 2.85 0 0 1 .05 1.56l-.11 1.5c0 .14-.09.13-.2.12a3 3 0 0 0 .3 1.2 2.26 2.26 0 0 1 .28 1.67.54.54 0 0 0 0 .43 1 1 0 0 1-.18 1 1.67 1.67 0 0 0-.17 1.25 5 5 0 0 1 .1 2.43.92.92 0 0 0 .12.72 1.38 1.38 0 0 1 .16 1 15.5 15.5 0 0 0-.2 2 9.8 9.8 0 0 0 .13 2 6.78 6.78 0 0 1 0 2 4.37 4.37 0 0 1-.12 1.36 4.13 4.13 0 0 0-.07 2.53 2 2 0 0 1 0 .42l-.14 3.51a2.5 2.5 0 0 0 .11.53c-.07.12-.22.26-.19.37.19.75.56 1.49.16 2.26.2.49-.13 1-.07 1.45.1.72-.18 1.47.28 2.18a.67.67 0 0 1 0 .52 1.6 1.6 0 0 0 .09 1.25c.11.21 0 .4-.22.56h-.08.06c0 .14.19.33.11.41-.44.39-.25.8-.15 1.21a.61.61 0 0 1 0 .42 3.18 3.18 0 0 0-.19 1.9c0 .51.36 1.06-.17 1.55-.1.1 0 .27 0 .43a3.21 3.21 0 0 1-.18 1.62 1.34 1.34 0 0 0-.1.69 2.18 2.18 0 0 1-.6 1.72c-.12.15-.29.32-.26.49a1.09 1.09 0 0 1-.52 1.14c-.67.47-.82 1.43-1.65 1.75a.35.35 0 0 0-.17.3c.05.52-.21.73-.68.67s-.48.15-.69.37a2.71 2.71 0 0 1-1.7 1c-.66.11-1.33.06-1.87.69-.14.16-.46.06-.69.09a3.31 3.31 0 0 0-.95 0q-.19-1.22-.33-2.43a1.06 1.06 0 0 1 .47 0 1.44 1.44 0 0 0 .87-.08 1.42 1.42 0 0 1 .89 0c.61-.32 1.4-.3 1.81-1 .07-.14.25-.17.41-.22a4.21 4.21 0 0 0 2.33-2c.1-.16.16-.37.31-.47.54-.3.59-.91.68-1.43a7.21 7.21 0 0 1 .09-.84 12.07 12.07 0 0 0 .47-2.18 3.56 3.56 0 0 0-.12-1.8.9.9 0 0 1 0-.54 14.92 14.92 0 0 0 0-4.06v-.73c0-.85.49-1.69.09-2.55a.45.45 0 0 1 0-.42c.35-.73.08-1.49.18-2.23a1.45 1.45 0 0 0-.13-.84 1.8 1.8 0 0 1 0-1.57.85.85 0 0 0 0-.42 7.11 7.11 0 0 1 0-1.9 6.63 6.63 0 0 0 .1-2 10.12 10.12 0 0 1-.31-2.32 3 3 0 0 1 0-.84 11.27 11.27 0 0 0 .21-2.89c.05-.64 0-1.28 0-1.93s-.3-1.26 0-1.9a26 26 0 0 1-.06-3.53v-4.79a6.56 6.56 0 0 0 0-1.17 4.59 4.59 0 0 1-.1-.82.73.73 0 0 1 0-.68 2.84 2.84 0 0 0 .18-1.67v-.12a1 1 0 0 1-.08-.4 13.85 13.85 0 0 1-.14-2.87 15.86 15.86 0 0 0-.19-3.3 3.17 3.17 0 0 1 .15-1.8 2.27 2.27 0 0 0 .2-1.16c0-.43-.12-.85-.13-1.28a24.24 24.24 0 0 1 0-5.11 1.18 1.18 0 0 0-.19-1.15c-.08-.09 0-.26 0-.39a8.24 8.24 0 0 0 .11-.85c0-1 .06-2 .15-3a12.69 12.69 0 0 0-.16-4.47 2.31 2.31 0 0 1 0-1.25 6.45 6.45 0 0 0 0-1.91c0-.14-.09-.29-.07-.42a17.88 17.88 0 0 0 .13-4.26 1.64 1.64 0 0 1 0-.54c.21-.66-.22-1.35.19-2-.16-.77.17-1.56-.22-2.32a.81.81 0 0 1 0-.53 10.47 10.47 0 0 0 .13-3.53 1.26 1.26 0 0 1 0-.64 2.84 2.84 0 0 0-.05-1.8 4.42 4.42 0 0 1-.18-1c0-.85.09-1.7.16-2.56a3.6 3.6 0 0 0-.12-1.81.87.87 0 0 1 0-.53 14.92 14.92 0 0 0 0-4.06v-.74c0-.85.49-1.68.09-2.54a.47.47 0 0 1 0-.43c.35-.73.08-1.48.18-2.22a1.44 1.44 0 0 0-.13-.84 1.82 1.82 0 0 1 0-1.58.81.81 0 0 0 0-.41A7.19 7.19 0 0 1 191 40a3.72 3.72 0 0 0 0-1.85c-.12-.34-.32-.64-.45-1a8.68 8.68 0 0 1-.45-.92 3.18 3.18 0 0 1-.34-.66 4.33 4.33 0 0 0-1.4-2.12 5.51 5.51 0 0 0-1.36-.97 3.09 3.09 0 0 0-.8-.31 1.68 1.68 0 0 1-.72-.45 14.69 14.69 0 0 0-3.12-.46h-4.8a6.56 6.56 0 0 0-1.17 0 4 4 0 0 1-1.92 0 2 2 0 0 0-1.37 0 1.61 1.61 0 0 1-1.16-.09c-.42-.14-.8.31-1.25.22a8 8 0 0 0-2.33-.19c-1 .09-2.07 0-3.1 0s-2.25-.12-3.39-.09a7.77 7.77 0 0 1-2.45.06c-1.29-.37-2.56.08-3.84-.1a13.42 13.42 0 0 0-2.44.17h-3.75a4.16 4.16 0 0 0-1.27-.05c-.43-.44-.86-.29-1.3 0-.06 0-.16.07-.21 0-.53-.41-1.05 0-1.57.06-1.25.16-2.49-.15-3.74-.09-.38 0-.77 0-1.16.07a8.36 8.36 0 0 1-.86.09 31.93 31.93 0 0 0-4.15 0 .49.49 0 0 1-.41-.1c-.31-.31-.63-.16-.94-.1a3.71 3.71 0 0 1-1.37.1 1 1 0 0 0-.53.05 2.74 2.74 0 0 1-1.84.17c-1.07-.33-2.12.34-3.19.06a.9.9 0 0 0-.42.06.82.82 0 0 0-.31.11 1.13 1.13 0 0 1-1.15 0 1.44 1.44 0 0 0-.84-.07 2.2 2.2 0 0 1-.85 0c-1.24-.09-2.48 0-3.73-.15a11.85 11.85 0 0 0-2.91.17 3 3 0 0 1-1.37.12.59.59 0 0 0-.43.14c-.14.08-.23.25-.37.29l-1.29.48c-.49.15-.64.7-.93 1a.68.68 0 0 1-.21.17 1.44 1.44 0 0 0-.66 1 2.26 2.26 0 0 1-.69 1 3.9 3.9 0 0 0-.61.78 2.88 2.88 0 0 0-.33.93 11 11 0 0 1-.22 1.42 4.87 4.87 0 0 0 0 2.51 2.71 2.71 0 0 1 0 .75c0 .1 0 .26-.08.3a.84.84 0 0 0-.53.94v.68c0 .71.11 1.42.14 2.13a3.8 3.8 0 0 1-.06.74 4.4 4.4 0 0 0 .19 2.83 3.08 3.08 0 0 1 .11 1.17 1.88 1.88 0 0 0 0 1 .27.27 0 0 1 0 .21 2.72 2.72 0 0 0-.14 2 2.62 2.62 0 0 0 .11.72.92.92 0 0 1 0 .84c-.09.17-.22.35-.2.51a12.54 12.54 0 0 0 .12 2.45.71.71 0 0 1 .07.32 9.09 9.09 0 0 1-.26 1.26c-.12.39.25.77 0 1.16a.59.59 0 0 0 0 .53 2.26 2.26 0 0 1 .06 1.9c-.24.62.37 1.05.13 1.71a3.14 3.14 0 0 0-.18 1.68 12.52 12.52 0 0 1 .25 3.39 15.86 15.86 0 0 0 .19 3.3 3.2 3.2 0 0 1-.15 1.81 2.23 2.23 0 0 0-.2 1.16c0 .42.12.85.13 1.27a24.24 24.24 0 0 1 0 5.11 1.18 1.18 0 0 0 .19 1.15c.08.09 0 .26 0 .39 0 .29-.1.57-.11.85 0 1-.06 2-.15 3a12.63 12.63 0 0 0 .16 4.46 2.34 2.34 0 0 1 0 1.26 6.44 6.44 0 0 0 0 1.91c0 .13.09.28.07.41a18 18 0 0 0-.13 4.27 1.58 1.58 0 0 1 0 .53c-.21.66.22 1.35-.19 2 .16.77-.17 1.55.22 2.32a.82.82 0 0 1 0 .53 10.41 10.41 0 0 0-.13 3.52 1.26 1.26 0 0 1 0 .64 2.84 2.84 0 0 0 0 1.8 4.54 4.54 0 0 1 .18.95c0 .85-.09 1.71-.16 2.56a3.6 3.6 0 0 0 .12 1.81.87.87 0 0 1 0 .53 14.92 14.92 0 0 0 0 4.06v.74c0 .85-.49 1.69-.09 2.54a.47.47 0 0 1 0 .43c-.35.73-.08 1.48-.18 2.22a1.49 1.49 0 0 0 .13.85 1.8 1.8 0 0 1 0 1.57.85.85 0 0 0 0 .42 7.12 7.12 0 0 1 0 1.9 6.55 6.55 0 0 0-.1 2 10.27 10.27 0 0 1 .31 2.32 3 3 0 0 1 0 .85A11.19 11.19 0 0 0 109 141v1.93c0 .64.3 1.27 0 1.9.15 1.15.05 2.42.12 3.41a8.07 8.07 0 0 0 1.56 3.91 2.84 2.84 0 0 0 .64.82 5.5 5.5 0 0 1 1.25 1.16 1.4 1.4 0 0 0 1.06.62c.39 0 .62.26.91.5s.77-.08 1.12.1a4.85 4.85 0 0 0 1 .35 4.2 4.2 0 0 0 1.07.05c1-.09 2.06 0 3.09 0s2.25.12 3.39.09a7.82 7.82 0 0 1 2.46-.06c1.28.37 2.56-.08 3.84.1a13.48 13.48 0 0 0 2.44-.17h3.74a4.16 4.16 0 0 0 1.27 0c.43.44.87.29 1.31 0 .06 0 .15-.07.2 0 .54.41 1.06 0 1.58-.06 1.25-.16 2.48.15 3.73.09l1.17-.06a6.15 6.15 0 0 1 .85-.1 31.93 31.93 0 0 0 4.15 0 .49.49 0 0 1 .41.1c.31.31.63.16.94.1a3.74 3.74 0 0 1 1.37-.1 1 1 0 0 0 .53-.05 2.74 2.74 0 0 1 1.84-.17c1.07.33 2.13-.34 3.19-.05a1.11 1.11 0 0 0 .43-.07 1.24 1.24 0 0 0 .31-.1 1.09 1.09 0 0 1 1.14-.05 1.46 1.46 0 0 0 .85.07 2.16 2.16 0 0 1 .84 0c1.24.09 2.49 0 3.73.15a17.35 17.35 0 0 0 3.05-.13 3.2 3.2 0 0 1 1.59.14.84.84 0 0 0 .52 0 3.75 3.75 0 0 1 .52-.15 10.57 10.57 0 0 1 1.59.15c.55.12 1.05-.21 1.58-.27a1.13 1.13 0 0 1 .32 0 2.43 2.43 0 0 0 1.38-.17 2.66 2.66 0 0 1 1.48 0 7.37 7.37 0 0 0 2.33.21 6.47 6.47 0 0 1 1.7 0z\\\"/><rect x=\\\"140.74\\\" y=\\\"36.59\\\" width=\\\"18.52\\\" height=\\\"5.16\\\" rx=\\\"1.56\\\" fill=\\\"#a2bcf4\\\"/><path d=\\\"M157.62 42.6c-.09-.15-.19.19-.29.09l-.07-.06s-.1-.07-.15-.06-.32.3-.49.11h-.08c-.03 0-.26.26-.4-.11-.09.33-.18.1-.28.21s-.15 0-.22 0-.16.14-.23-.07-.14.23-.22.19c-.11-.09-.22 0-.32 0s-.12.12-.17.12-.11-.15-.15 0-.11-.13-.16 0-.05 0-.06.06-.08.11-.12 0-.08-.78-.22-.52c-.05.1-.1.28-.16-.07 0-.05 0-.06 0 0 0 .28-.07.34-.11 0-.07.39-.15.1-.22.12s-.09-.08-.13-.2-.07-.07-.1 0-.19.32-.29.24-.12-.08-.18 0-.08.26-.11-.14c0-.07 0 0 0 0s-.07.1-.1 0-.24-.21-.35-.15-.11 0-.17 0 0 .08-.06.1-.16.46-.24.14c0-.08 0-.05-.07 0s-.08.17-.13.1-.1-.12-.15 0-.11.1-.17-.09 0-.08-.07-.07a1.45 1.45 0 0 1-.28 0s-.09-.13-.14-.12a1.84 1.84 0 0 0-.32.22s-.07 0-.11-.2-.11-.25-.16 0-.17.34-.25.07-.18-.27-.27.1-.12.46-.19.28 0-.05 0 0-.08 0-.12-.18-.09-.26-.13-.16-.18.33-.27.1c0-.07-.06 0-.08.11s-.08.22-.12.16a.57.57 0 0 0-.22-.2c-.07 0-.15 0-.22.14s-.15.07-.23 0-.1.06-.15-.13c-.09-.37-.18-.22-.27-.07s0 .05-.05.05l-.39-.14s0 .07-.06.1v-.19c-.08.2-.16.56-.25.16-.05.2-.1-.13-.16-.06s-.16-.19-.24.27c0 .1 0 .09-.05 0s-.1-.11-.14.1-.05 0-.06-.23 0 .2-.05.12c0-.45-.09-.25-.13-.15s0 .08 0 0c-.07-.35-.14-.22-.21-.19s-.11.37-.17-.16c0-.1 0 0 0 0s-.1.14-.16 0-.05-.07-.07 0c-.06.31-.12.09-.18 0s-.05-.11-.06 0c0 .3-.08.27-.13.11s-.16.19-.24-.13v.1c0 .4-.06.42-.1.09s-.05-.17-.07-.08-.13.29-.2.14-.13-.37-.2.15c0 .13 0 0-.06 0s-.07-.12-.1 0-.12 0-.17-.16-.1-.13-.15.05-.12.34-.17.22-.11-.08-.16-.1a.45.45 0 0 1-.18-.07c-.08-.08-.16 0-.24 0s0 0 0-.09c-.07-.48-.12-.27-.22-.13s-.11.15-.16 0-.08 0-.12 0-.22.19-.28 0-.18-.08-.32 0-.32.17-.29-.17c0-.08 0 0-.11 0s-.05-.19-.16-.12a1 1 0 0 1-.34.1v-.1c0-.28-.23-.19-.27-.37s-.11 0-.2.07-.2 0-.14-.09 0-.11 0-.17.08-.34-.32-.24 0-.14-.07-.19-.09-.13 0-.24c.3-.4.32-.36.05-.55a.14.14 0 0 1-.08-.12c0-.13-.62 0-.63-.21s-.14-.13.27-.2.26-.14.19-.18c-.33-.19 0-.37 0-.56s.08-.09.12-.14 0-.09-.2-.13-.25-.13-.15-.2.24-.24.19-.36a.28.28 0 0 1 0-.2.58.58 0 0 1 .25-.3c.13-.07.05-.18-.14-.32s-.06-.29.4-.2.2-.08.2-.08v-.14c0-.06-.46-.36-.36-.46s.32-.09.53-.11 0-.35.22-.39h.12a.63.63 0 0 0 .22-.09c.16-.16.27-.52.58-.43.05 0 .07 0 .11-.07s.37-.34.61 0c.12-.33.3-.1.36-.21s.15 0 .23 0 .15-.14.22.07.15-.23.22-.19c.11.09.21 0 .32 0s.11-.12.17-.12.1.15.15 0 .11.14.16 0 0 0 .06-.06.08-.12.12 0 .08.78.21.52c.05-.1.11-.28.16.07 0 0 0 .06 0 0 0-.28.07-.34.11 0 .07-.39.14-.1.22-.12s.08.08.13.2.06.07.1 0 .19-.32.28-.24.13.08.19 0 .07-.26.11.14c0 .07 0 0 0 0s.07-.1.11 0 .23.21.35.15.11 0 .17 0 0-.08.05-.1.16-.46.25-.14c0 .08 0 0 .07-.06s.08-.16.12-.09.1.12.15 0 .12-.11.18.09.05.08.07.07a2.33 2.33 0 0 1 .28-.05s.09.14.14.13a2 2 0 0 0 .31-.22s.08 0 .12.19.1.26.16 0 .17-.34.25-.07.18.27.27-.1.12-.46.18-.28 0 .05.05 0 .08 0 .11.17.09.27.14.17.18-.33.27-.1c0 .07.06 0 .08-.11s.07-.22.11-.17.15.19.23.21.15 0 .22-.14.15-.07.22 0 .11-.06.15.13c.1.37.19.22.28.07s0-.05 0-.05l.38.14s0-.07.06-.1v.19c.09-.2.17-.56.25-.17.06-.2.11.14.16.07s.16.19.24-.27c0-.1 0-.09.06 0s.09.11.14-.1 0 0 .06.23 0-.2 0-.12c.05.45.09.25.14.15s0-.08 0 0c.06.35.13.22.2.19s.12-.37.18.16c0 .1 0 0 0 0s.11-.14.17 0 .05.07.07 0c.06-.31.12-.09.18 0s0 .11.06 0c0-.31.08-.27.12-.11s.16-.19.25.13v-.1c0-.4.06-.42.09-.09s0 .17.08.08.13-.3.2-.14.13.37.19-.15c0-.13 0 0 .07 0s.07.12.09 0 .12 0 .18.16.1.13.15-.05.12-.34.17-.22.11.08.16.1a.36.36 0 0 1 .17.07c.09.07.17 0 .25 0s0 0 .05.09c.06.48.13.27.2.13s.07-.15.11 0 0 0 .08 0 .11-.21.17 0 .13 0 .2-.09.14-.26.21.06c0 .08 0 0 .05-.06s.09.14.13 0a1.45 1.45 0 0 1 .14-.26v.07c.09.26.18 0 .27.11s0-.1.05-.19 0-.16.12 0 .09.06.13.11.2.27.4-.11.11.09.19.07.16 0 .19.13c.11.44.07.46.36.37s.25-.06.26.09a1.4 1.4 0 0 1 .15.24s-.05.08-.12.17.17 0 .35-.1.48-.17.41 0c0 0 0 .07.07 0s.11.1 0 .26-.14.27 0 .28.43.11.27.34c0 .06 0 .09.15.08s.24.06.21.14a1.34 1.34 0 0 0-.12.43.44.44 0 0 0 .15.36c.14.15.08.22 0 .29s.06.1-.12.15c-.38.1-.22.19-.07.28s0 0 0 .05-.1.25-.13.38.06 0 .1.06h-.19c.2.08.56.17.16.25.2.06-.13.11-.07.16s-.18.16.28.24c.09 0 .09 0 0 .06s-.12.15.08.24 0 .09-.23.1h-.07s.18.09.1.09c-.45 0-.26.11-.19.22s.07.08 0 .08c-.37 0-.28.16-.3.29s.25.36-.26.19c-.1 0 0 0 0 .06s0 .24-.17.2-.09 0 0 .11c.17.28-.08.22-.23.19s-.12 0-.07 0c.15.27.07.3-.08.21s-.11.32-.39.1v.12c.14.38.09.43-.1.15s-.14-.12-.15 0-.12.35-.27.23-.26-.33-.31.21c0 .13-.08 0-.12 0s-.12-.11-.17 0c0-.81-.05-1.63-.05-2.44 0 .21 0-.22.09.18 0-.15.11.16 0-.22 0-.08 0 0 0 0 .12.22.21.21.15.06s0-.08 0 0c.2.21.08 0 0-.07s-.13-.14-.12-.14h.16c.06 0 .15 0-.08-.09-.06 0-.05 0 0 0 .27.07.14 0 0-.07s.49-.18.09-.26c-.07 0-.06 0 0 0 .36-.08.08-.16.19-.24s0-.07-.14-.1-.22-.11 0-.17c.05 0 .06 0 0 0s-.06-.14 0-.21.23-.15.1-.22-.33-.17-.31-.26-.1-.06 0-.09c.32-.11.14-.22.21-.25s0-.06 0-.09-.31 0 0-.09c-.14 0-.11-.07-.11-.14s-.1-.1-.16-.14 0-.1 0 0h-.08c-.08.09-.11.12 0 0s.12-.29 0-.18l-.06.06c-.11.14-.13.15-.15.11s-.08 0-.12.18 0 .1-.06-.15-.09-.25-.13-.21-.09.12-.14.13-.38.37-.56 0c0-.07-.09-.16-.13.18 0 .09 0 0 0 0s-.07-.1-.1-.1a.84.84 0 0 1-.33-.16c-.16-.14-.32-.21-.49.16 0 .1-.09.15-.14 0s-.14 0-.21 0 0 .1 0 .08c-.16-.22-.32-.26-.47-.14s0 0-.06 0-.15.23-.22-.19c-.09.16-.17-.17-.26.22 0 .08 0 0-.06 0-.13-.26-.26-.28-.39-.14s0 .1-.07 0c-.06-.29-.13-.06-.2 0s-.07.18-.1.17a.77.77 0 0 1-.28-.15c-.07-.05-.14-.15-.2.11 0 .07 0 .06-.06 0-.15-.28-.3-.13-.45 0s-.05 0-.08 0-.19-.49-.28-.08c0 .06 0 .05 0 0-.08-.36-.16-.09-.24-.19s-.07 0-.1.13-.11.23-.17 0c0-.06 0-.07 0 0s-.14.06-.21 0-.15-.24-.22-.1-.17.32-.26.31-.06.09-.09 0c-.1-.32-.21-.14-.32-.21s-.14 0-.21 0-.14.31-.21 0c-.13.13-.26.08-.39.06a1.9 1.9 0 0 0-.53 0s-.08-.1-.13 0-.14.14-.21 0-.1-.16-.15 0-.09 0-.13-.09-.09.31-.14.22-.17-.26-.25-.19-.23 0-.35 0-.24-.12-.37-.09-.18.29-.27.06-.28.08-.42-.1-.18.14-.27.17a.75.75 0 0 1-.42 0s-.09-.17-.14 0c0-.44-.09-.29-.14 0 0 0 0 .07 0 0-.06-.41-.12 0-.18.06s-.27-.15-.41-.09l-.13.06s-.06.11-.09.1a.43.43 0 0 0-.46 0l-.05-.1c0-.32-.06-.16-.1-.1s-.1.19-.15.1 0 0-.06 0c-.06.25-.14.35-.2.17s-.24.34-.35.05l-.05.07a.41.41 0 0 0 0 .1c0 .28-.09.2-.13.05s-.06-.14-.09-.07-.07 0-.1 0-.27 0-.41-.15-.08.07-.1.13 0 .1-.08-.14c0-.07 0 0 0 0v.15a.44.44 0 0 1-.1-.13c-.08-.1.07.21.09.27-.07-.1 0 0 .08.15s.08.1 0 0-.23-.2-.18-.13.11.11 0 0-.17 0 0 .08h-.08c-.5-.2-.55-.19-.51-.17h-.05l.14.13h-.07c-.23.06-.21 0 .19.19.11 0 .12.09.08.13s-.14.08 0 .12c-.4.08-.26.15-.14.22s0 .06.11.08.11.06 0 .1-.22 0-.2.05-.14.18.12.27h.07a1.45 1.45 0 0 1-.26.14c-.12 0 .25.08 0 .12s-.14 0-.06.06c.32.06.3.16.06.19s.36 0 .13.06-.3.1-.17.1.3 0 .27.05.05.07.21 0 .09-.05-.09.13-.17.21-.13.18.11-.07.13-.07.26-.28.16.05c0 .07 0 .17.09-.17 0-.08 0 0 0 0v.11a.64.64 0 0 1 .07.16c.05.14.3.21.43-.16 0-.1.1-.15.14 0s.14 0 .21 0 0-.09.05-.07c.16.22.31.26.47.14s0 0 .06 0 .15-.23.22.18c.08-.15.17.18.26-.21 0-.08 0 0 .05 0 .13.26.26.28.39.14s.05-.1.07 0c.07.29.14.06.2 0s.07-.18.11-.17a.77.77 0 0 1 .28.15c.07 0 .13.15.2-.11 0-.07 0-.06.06 0 .15.27.3.13.45 0s0 0 .08.05.18.49.28.08c0-.06 0-.06 0 0 .09.36.17.09.25.19s.06 0 .09-.13.12-.23.18 0c0 .06 0 .06 0 0s.14-.06.21 0 .15.24.23.1.17-.33.25-.31.07-.09.1 0c.1.31.21.14.31.2s.15 0 .22 0 .14-.31.21 0c.13-.13.26-.08.39-.06a1.93 1.93 0 0 0 .53 0s.08.1.12 0 .14-.14.22 0 .1.16.15 0 .08 0 .13.09.08-.31.13-.22.18.26.26.19.23 0 .34 0 .25.12.38.08.18-.29.27 0 .28-.08.42.1.18-.15.27-.17a.71.71 0 0 1 .41 0c.05 0 .1.17.14.05 0 .44.1.29.15 0 0 0 0-.08 0 0 .06.41.12 0 .17-.06s.28.15.42.09a.37.37 0 0 0 .12-.07s.07-.1.1-.09a.43.43 0 0 0 .46 0v.1c0 .31.07.16.11.1s.1-.19.15-.11 0 0 .06 0c.06-.26.13-.35.2-.17s.23-.34.35-.06v-.06a.39.39 0 0 0 0-.11c0-.27.08-.19.13 0s.06.14.09.07.06 0 .09 0 .28 0 .42.15.22-.07.33-.13.12-.1.18.14c0 .08 0 0 .06 0s0-.15.05-.15a.3.3 0 0 1 .18.15c.06.12.11-.21.17-.27.05.11.1 0 .15-.17s.11-.11.16 0 .18.29.26.21.13-.14.19 0z\\\" fill=\\\"#a2bcf4\\\"/><path d=\\\"M98.16 104.13c.07-.15-.23 0-.2-.11s0-.06 0-.08v-.13c0-.02-.38 0-.31-.21h-.06c-.06 0-.33 0-.08-.31-.31.14-.17-.06-.29 0s-.08-.08-.11-.13-.18 0 0-.17-.25 0-.25 0-.08-.14-.14-.19-.14 0-.17 0 .09-.15-.09-.08.07-.14 0-.12 0 0-.08 0h-.08c.05 0 .62-.47.35-.42-.11 0-.28.08 0-.14-.25.12-.33.13-.08 0-.36.16-.14 0-.18-.08s0-.09.12-.18 0-.08 0-.08h-.3c.04 0 0-.12-.09-.11s-.26.08.08-.14c.06 0 0 0 0 0h-.08c.03 0 .1-.26 0-.3s0-.08 0-.11-.08 0-.11 0-.45.11-.21-.09c.07 0 0-.06-.07 0s-.17 0-.12 0 .07-.12 0-.11-.13 0 0-.16.06-.07 0-.08-.08-.11-.13-.16.09-.12.06-.14a1 1 0 0 0-.29-.12s0-.05.14-.16.2-.18 0-.12-.36 0-.14-.14.19-.22-.18-.13-.45.1-.3 0 0 0 .13-.15.22-.16.12-.16-.36 0-.17-.14 0 0-.13 0h-.19c.03 0 .14-.18.13-.23s0-.1-.19-.11-.11-.07-.07-.14-.09 0 .07-.15c.33-.2.16-.21 0-.22s-.06 0-.06 0v-.31c0-.1-.07 0-.11 0 .06 0 .2-.09.17-.09-.21 0-.57.07-.21-.12-.21 0 .1-.12 0-.13s.14-.18-.31-.09c-.1 0-.1 0 0 0s.08-.1-.13-.07 0 0 .2-.11h.08-.19c.41-.17.21-.14.11-.14s-.09 0 0 0c.32-.15.18-.16.14-.2s-.38 0 .11-.17c.1 0 0 0 0 0s-.16 0 0-.13.05 0 0 0c-.3 0-.11-.07 0-.15s.1-.06 0 0c-.3.06-.28 0-.13-.06s-.22-.06.08-.2h-.11c-.39.09-.42.07-.1 0s.15-.08.06-.08-.31 0-.18-.1.34-.18-.18-.1c-.13 0 0 0 0-.06s.1-.07 0-.06-.08-.08.12-.17.11-.1-.07-.09-.36 0-.24-.08 0-.09.06-.13 0-.09 0-.14 0-.13-.06-.17 0 0 .08-.06c.46-.15.24-.15.1-.17s-.16 0 0-.07 0 0 0-.07-.22 0-.06-.11 0-.11-.12-.13-.27 0 0-.16h-.08c-.08 0 .14-.08 0-.09a1.33 1.33 0 0 1-.28-.06h.07c.24-.11 0-.13.07-.21s-.1 0-.19 0-.17 0 0-.06.06 0 .09-.08.24-.14-.15-.14.06-.06 0-.09 0 0 .06-.1c.39-.18.4-.17.16-.26h-.7c-.01 0-.14 0 .27-.11s.24-.1.17-.12c-.34-.1 0-.28 0-.42s.07-.07.12-.11 0-.06-.22-.08-.25-.07-.16-.13.22-.2.16-.28 0-.19.23-.3 0-.09-.18-.12-.12-.1.34-.16.16-.08.16-.08v-.07c0-.02-.57 0-.53-.09a1.7 1.7 0 0 1 .37-.2c.15-.08-.19-.13-.1-.21a.1.1 0 0 0 .06 0s.08-.08.07-.11-.31-.23-.12-.35v-.06c0-.06-.26-.19.11-.29-.32-.06-.1-.13-.21-.2s0-.11 0-.16-.14-.12.07-.17-.23-.11-.19-.16 0-.15 0-.23-.12-.09-.12-.13.15-.07 0-.11.13-.08 0-.12 0 0-.06 0-.11-.06 0-.08.77 0 .52-.14c-.09 0-.27-.09.08-.11 0 0 .06 0 0 0-.27 0-.34-.07 0-.08-.39-.07-.09-.11-.11-.16s.08-.06.2-.08.07 0 0-.08-.3-.16-.22-.22.09-.08 0-.14-.25-.08.15-.07c.07 0 0 0 0 0s-.09-.06 0-.08.23-.15.18-.24 0-.08 0-.12h-.1c-.09-.07-.44-.17-.12-.19.08 0 0 0 0-.06s-.15-.08-.08-.1.13-.06 0-.11-.09-.1.11-.11.08 0 .08 0v-.2c0-.07.14 0 .13-.09a1.22 1.22 0 0 0-.18-.26s0-.05.21-.05.26 0 0-.11-.31-.18 0-.19.29-.09-.07-.21-.43-.17-.25-.19.06 0 0 0 0-.07.19-.06.27 0 .18-.06-.3-.19-.06-.22c.07 0 0 0-.1-.08s-.2-.09-.15-.11.21-.07.24-.12 0-.11-.1-.19 0-.12 0-.16 0-.09.15-.09c.38 0 .24-.08.11-.18l.2-.25-.09-.06h.2c-.18-.11-.52-.26-.11-.22-.19-.09.15 0 .09-.09s.22-.07-.21-.25c-.1 0-.09 0 0 0s.12 0-.07-.12 0 0 .23 0h.07s-.18-.08-.1-.06c.43.09.26 0 .17 0s-.07-.05 0 0c.34 0 .24 0 .22-.1s-.33-.18.19-.07c.1 0 0 0 0 0s-.11-.12.07-.11.07 0 0-.06c-.28-.13-.06-.11.08-.11s.12 0 0 0c-.28-.12-.24-.14-.07-.12s-.15-.17.18-.12l-.1-.06c-.37-.15-.38-.18-.06-.09s.17 0 .09 0-.24-.19-.08-.18.38 0-.09-.19c-.12 0 0 0 0 0s.12 0 0-.06 0-.1.19-.07.15 0 0-.12-.29-.2-.16-.19.1 0 .13-.08 0-.07.11-.09.08-.11.06-.18 0 0 .09 0c.47.13.28 0 .18-.09s-.12-.1 0-.08-.16-.16 0-.13.08-.07 0-.17-.2-.2.12-.12c.07 0 0 0 0-.06s.16 0 .07-.08a.84.84 0 0 1-.19-.2h.07c.26 0 .07-.11.19-.13s-.08-.07-.16-.12-.13-.11 0-.08.08 0 .12 0 .29 0 0-.21.08 0 .06-.06 0-.08.11-.06c.39.07.43.09.29-.09s-.11-.15 0-.14l.15-.06.19.09s-.07-.11-.22-.23-.37-.29-.19-.25.06 0 0 0 0-.06.2 0 .26.06.19 0-.23-.28 0-.22c.06 0 0 0-.07-.11s-.16-.15-.1-.15a.41.41 0 0 0 .25 0s.06-.1 0-.21 0-.13.07-.15 0-.1.16 0c.35.13.25 0 .16-.14a.17.17 0 0 1 0-.05l.27-.17s0-.06-.06-.09c.07 0 .2.1.18.07s-.41-.4 0-.24c-.15-.14.15 0 .12-.06s.22 0-.13-.3c-.08-.07-.06-.08 0-.06s.13 0 0-.14 0 0 .21.08l.06.05h-.05s-.14-.12-.07-.08c.38.22.24.08.18 0s-.06-.07 0 0c.32.16.24 0 .25 0s-.25-.28.2 0c.09 0 0 0 0 0s-.07-.15.1-.08.07 0 0-.06c-.22-.22 0-.13.11-.09s.11 0 0 0-.18-.21 0-.14-.08-.21.21-.06l-.07-.09c-.3-.26-.3-.29 0-.1s.15.07.1 0-.18-.26 0-.2.35.15 0-.21c-.09-.09 0 0 0 0s.12 0 0 0l1.93 1.52h-.05c-.05 0 .12.22-.23 0 .09.14-.21 0 .07.27-.25-.09-.32 0-.26.12s.06.09 0 0c-.26-.13-.11 0 0 .14s.12.14.1.16a.48.48 0 0 1-.23.06c-.07 0-.17 0 0 .17s0 .06 0 0c-.29-.08-.22.09-.19.23s0 0-.07 0-.48-.17-.17.11c-.33-.15-.13 0-.25 0s0 0 .08.13.15.18-.08.09h-.05c.01 0 0 .11-.09.11s-.25 0-.16.07.22.27.18.31.06.09 0 .06c-.31-.1-.19.05-.28.08s-.07.07-.08.11.22.23-.09.12c.08.14 0 .19-.07.25a1 1 0 0 0-.13.33s-.11 0-.06.07.06.07 0 .09.13.1 0 .07-.31-.06-.21 0 .06 0 0 .06.1.2 0 .25-.06.15.07.3 0 .12-.19.06-.25-.06-.22 0 .08.1.08.14.23.37-.12.35c-.08 0-.17 0 .14.15.07 0 0 0 0 0h-.13a.47.47 0 0 1-.22.14c-.17 0-.28.12 0 .36.09.06.12.11 0 .09s-.07.07-.09.12.08.05.06.05c-.24 0-.32.1-.24.25-.21 0 .18.17-.22.08.12.1-.21 0 .14.23.08 0 0 0 0 0-.27 0-.32.08-.21.2s.08.06 0 .05c-.29-.05-.08.07 0 .14s.16.1.15.12A.58.58 0 0 1 96 82c-.06 0-.17 0 .07.16.06 0 0 0 0 0-.29 0-.17.15-.1.28s0 0-.06 0-.5 0-.12.16c-.36 0-.11.09-.23.12s0 0 .11.09.2.13 0 .11c-.06 0-.07 0 0 0s0 .1 0 .13-.25 0-.13.12.29.19.26.24.09.06 0 .06c-.32 0-.16.11-.25.17s0 .08 0 .13.28.15 0 .14c.11.11 0 .18 0 .27a1 1 0 0 0 0 .35s-.11 0 0 .08.12.12-.07.14-.17 0 0 .1 0 .06-.1.07.3.11.21.13-.27.07-.21.14 0 .15 0 .23-.14.15-.12.23.27.16 0 .19.06.2-.13.28.13.13.15.19a.35.35 0 0 1-.05.28s-.17 0 0 .09c-.45 0-.3 0 0 .1 0 0 .07 0 0 0-.42 0 0 .08 0 .13s-.17.17-.11.27a.24.24 0 0 0 .06.09s.1 0 .09.07-.12.2 0 .3 0 0-.1 0c-.32 0-.17 0-.11.06s.19.08.11.11c.26.06.35.11.17.14s.34.17 0 .24h.07a.23.23 0 0 0 .1 0c.27 0 .19 0 0 .08s-.14 0-.07.06 0 0 0 .06 0 .19-.15.28.07.15.13.22.1.08-.14.12c-.08 0 0 0 0 0h.15c-.01 0 0 .08-.15.12s.22.08.28.11 0 .06.17.09.11.07 0 .11-.29.12-.2.18.15.07 0 .12-.15.14.09.19c.06 0 0 0 0 0h-.07c-.53.05-.57.09-.53.11v.05a.71.71 0 0 1 .15.15l-.06.06c-.22.12-.2.12.21.19.11 0 .12 0 .09.08s-.14.06 0 .07.06 0 0 0c-.39.08-.24.12-.12.16s0 0 .11 0 .12 0 0 .06-.21 0-.19.06-.13.14.13.17h.08a1.84 1.84 0 0 1-.25.13c-.11 0 .25 0 0 .08s-.14 0-.06 0c.33 0 .31.06.08.13s.37 0 .14.11-.28.13-.15.15.31.12.28.21 0 .16.23.21.1.07-.14.16-.23.09-.18.11.13 0 .14.08.41.17.11.36c-.07 0-.15.08.19 0 .09 0 0 0 0 0s-.09.06-.09.08a.57.57 0 0 1-.11.24c-.12.14-.17.26.22.29.11 0 .16 0 0 .08s0 .1 0 .15.1 0 .08 0c-.19.15-.21.27-.06.34s.24 0-.15.19c.17 0-.14.16.26.11.08 0 0 0 0 .05-.22.15-.22.24-.06.28s.1 0 0 .05c-.26.12 0 .1.09.11s.18 0 .18 0a.45.45 0 0 1-.1.23s-.11.12.15.09c.07 0 .07 0 0 0-.23.17-.06.22.07.29s0 0 0 .06-.43.27 0 .21c.06 0 0 0 0 0-.33.16 0 .13-.13.22s0 0 .14 0 .24 0 0 .12.09.07 0 .14-.18.17 0 .17h.35s.1 0 0 .06c-.27.18-.08.18-.12.27s0 .1 0 .14.32 0 0 .14c.16 0 .15.12.16.21a.94.94 0 0 0 .17.31s-.07.1 0 .09.17 0 0 .15-.11.13.07.08.07 0 0 .11.31-.08.24 0S97 99 97 99s0 .15.08.21 0 .2 0 .26.32 0 .14.14.16.13 0 .3.19 0 .23.08a.36.36 0 0 1 .13.25s-.12.13 0 .1c-.36.25-.22.2 0 .09 0 0 .07 0 0 0-.34.24 0 .06.11.06s0 .24.06.29a.23.23 0 0 0 .1 0h.11s0 .22.16.25 0 0-.06.08c-.25.19-.11.12 0 .11s.2 0 .15 0h.06c.23-.1.34-.11.21 0s.37-.06.17.17h.17c.24-.13.2-.07.09 0s-.09.12 0 .09 0 0 0 .06.12.14 0 .31.13.08.23.1.12 0 0 .18.13-.07.14 0a.26.26 0 0 1 0 .18c-.07.1.22-.08.29-.09s0 0 .19 0 .14 0 .07.08-.15.27-.06.27.16 0 .11.06z\\\"/><path d=\\\"M92.7 115.23c0-.2-.31 0-.33-.2s0-.08 0-.11 0-.15-.09-.19-.52-.08-.53-.36c0-.05 0-.05-.1-.06-.22 0-.42-.08-.26-.46-.32.13-.23-.12-.4-.13s-.14-.14-.2-.22-.23-.06-.14-.26-.3 0-.33-.1-.16-.22-.26-.31-.19-.05-.24-.1 0-.21-.15-.14 0-.19-.1-.19 0-.06-.09 0-.16 0-.13-.1.55-.55.24-.53c-.12 0-.32.05-.08-.21q.06-.06 0 0c-.25.13-.34.13-.12-.09-.37.15-.19-.1-.26-.17s0-.13.06-.25 0-.11-.06-.12-.4 0-.4-.16 0-.18-.16-.19-.27.07 0-.19c.06 0 0 0 0 0s-.13 0-.11-.08a.44.44 0 0 0-.12-.47c-.06 0-.06-.13-.11-.18s-.09 0-.12 0-.5.07-.29-.19c0-.07 0-.08-.09 0s-.2 0-.17-.09 0-.17-.08-.18-.17-.08 0-.25 0-.09 0-.11a1.54 1.54 0 0 1-.21-.29s.06-.17 0-.21a1.53 1.53 0 0 0-.39-.25s-.06-.09.1-.23.16-.24-.08-.19-.4 0-.22-.26.13-.33-.25-.26-.48.07-.35-.08 0-.06 0 0-.06-.08.09-.21.19-.22.08-.24-.4-.06-.25-.27c0 0 0-.07-.15 0s-.24 0-.21-.06a.66.66 0 0 0 0-.35.28.28 0 0 0-.24-.21c-.16 0-.14-.15-.13-.26s-.11-.1 0-.23c.3-.26.11-.31-.08-.36h-.06c0-.17 0-.34-.07-.51s-.09 0-.13 0c.06 0 .19-.12.16-.12-.22 0-.6 0-.27-.24-.21 0 .08-.18 0-.22s.1-.27-.36-.2h-.07c.04 0 .06-.15-.15-.14s0 0 .18-.15h.07-.2c.4-.2.2-.19.08-.21s-.09 0 0-.05c.3-.21.14-.25.08-.32s-.4 0 .08-.27c.09 0 0 0 0-.05s-.18-.09 0-.21 0-.08-.07-.08c-.31 0-.13-.12 0-.24s.09-.08 0-.07c-.31 0-.29 0-.15-.12s-.25-.14 0-.34h-.12c-.39.08-.42 0-.12-.09s.14-.11 0-.12-.34-.07-.22-.2.31-.26-.21-.2c-.13 0 0-.06 0-.09s.09-.11 0-.12-.09-.13.09-.26.09-.16-.09-.17-.38-.06-.27-.16 0-.16 0-.23a.67.67 0 0 1 0-.24c0-.12 0-.21-.11-.3s0 0 .07-.08c.45-.19.22-.23.07-.28s-.16-.06 0-.13 0-.08 0-.11-.23-.1-.09-.21 0-.18-.14-.23-.3-.12 0-.28c.07 0 0 0-.08-.06s.12-.13 0-.16a1 1 0 0 1-.29-.13l.06-.06c.22-.16 0-.23 0-.36s-.11 0-.2 0-.18 0-.06-.11 0-.08.08-.12.23-.23-.18-.26 0-.11 0-.16-.05-.1 0-.17c.36-.27.38-.27.12-.43 0 0-.08-.06-.08-.1s-.62 0-.64-.12-.15-.06.25-.16.24-.15.16-.19c-.35-.2-.05-.49-.05-.74 0-.06.07-.13.11-.19s-.06-.11-.22-.14-.27-.15-.19-.24.21-.34.14-.49 0-.33.21-.51 0-.17-.19-.22-.12-.18.33-.27.16-.14.16-.14v-.12c0-.03-.57-.08-.53-.18s.21-.2.36-.34-.21-.24-.11-.37l.06-.09c0-.07.07-.14.06-.2s-.32-.41-.13-.62v-.1c0-.03-.26-.35.11-.52-.33-.11-.11-.24-.22-.36s0-.19 0-.29-.14-.2.08-.28-.23-.2-.19-.29 0-.27 0-.41-.11-.15-.11-.23.15-.13 0-.19.14-.14 0-.21 0-.06-.06-.08-.1-.11 0-.15.78-.07.53-.26c-.09-.07-.27-.15.09-.2 0 0 .05 0 0 0-.27-.06-.34-.11 0-.14-.39-.12-.08-.2-.1-.29s.09-.11.21-.15.08-.08 0-.13-.3-.27-.21-.39.09-.15 0-.24-.25-.12.16-.13c.07 0 0 0 0 0s-.09-.1 0-.14.25-.27.21-.43 0-.14 0-.21-.07-.06-.09-.09-.43-.26-.11-.33c.09 0 .06-.05 0-.09s-.15-.13-.07-.18.13-.11 0-.19-.08-.16.13-.21.09 0 .08-.08a2.23 2.23 0 0 1 0-.36c0-.06.15-.09.14-.15a1.35 1.35 0 0 0-.15-.44c0-.06 0-.1.22-.12s.28-.08.06-.2-.29-.27 0-.33.3-.17 0-.36-.42-.24-.22-.28.05 0 0-.07 0-.1.2-.11.28-.06.21-.14-.28-.29 0-.36q.1 0-.09-.12c-.22-.11-.19-.15-.13-.19s.23-.14.26-.23A.29.29 0 0 0 83 79c-.11-.12 0-.2.05-.28s0-.15.17-.16c.39 0 .27-.17.16-.33s0 0 0-.07l.26-.45s0-.07-.07-.1h.2c-.02 0-.48-.36-.07-.36-.17-.12.17-.09.13-.17s.24-.15-.17-.38c-.08-.05-.07-.08 0-.09s.14-.08 0-.2 0-.06.23 0h.08-.06s-.16-.1-.08-.09c.43.09.27 0 .19-.12s-.06-.06 0-.06c.37 0 .27-.1.27-.2s-.3-.26.23-.15c.09 0 0 0 0-.06s-.09-.18.1-.19.08 0 0-.1c-.26-.17 0-.17.12-.2s.12 0 0-.07c-.27-.15-.22-.19 0-.19s-.11-.26.22-.25l-.08-.07c-.36-.18-.36-.23 0-.15s.18 0 .11-.07-.21-.26 0-.28.42 0 0-.29c-.11-.07 0 0 .06-.08s.14 0 .06-.1 0-.17.22-.15.18-.07 0-.2S84.87 73 85 73s.12-.1.16-.16a.67.67 0 0 1 .16-.18c.1-.06.11-.18.12-.29s0 0 .1 0c.48.12.32-.05.23-.19s-.09-.14 0-.13.07 0 .08-.08-.13-.22.06-.22.11-.13 0-.27-.15-.28.18-.21c.08 0 0 0 0-.1s.18 0 .1-.13a1 1 0 0 1-.14-.28h.08c.28 0 .13-.2.27-.26s-.06-.09-.13-.15-.11-.15 0-.13.09 0 .14 0 .32 0 0-.32.1-.06.09-.13 0-.11.15-.11c.43 0 .47 0 .38-.22s-.07-.21.08-.21l.2-.13s.09 0 .19.09-.05-.16-.18-.3-.31-.38-.11-.35c0 0 .06 0 0-.07s0-.1.22 0 .29 0 .24-.07-.16-.37.1-.34c.07 0 .06 0 0-.15s-.12-.2-.05-.22a.5.5 0 0 0 .33-.13.26.26 0 0 0 0-.31c0-.16 0-.21.15-.26s0-.14.21-.09c.38.12.31-.07.27-.26v-.07l.41-.32v-.13c.07 0 .2.11.19.08-.1-.21-.32-.52.06-.36-.11-.18.19 0 .18-.13s.28 0 0-.42c-.07-.08 0-.1 0-.08s.16 0 0-.2 0 0 .23.08l.05.05s-.12-.16 0-.12c.38.24.27.07.23 0s0-.08 0 0c.33.15.28 0 .32-.09s-.18-.36.27-.07c.08.06 0 0 0 0s0-.21.17-.15.09 0 0-.09c-.18-.26 0-.18.18-.15s.13 0 .06 0c-.19-.24-.13-.26 0-.19s0-.28.32-.14v-.1c-.27-.3-.26-.35 0-.15s.16.07.12 0-.09-.33.08-.29.38.14.07-.29c-.08-.1.05 0 .07 0s.14 0 .1-.09l1.76 1.7h-.07c-.07 0 0 .29-.31.06 0 .19-.27 0-.06.38 0 .07 0 0-.06 0-.3-.06-.42 0-.43.25v.07c-.27-.13-.15.08-.13.21s.09.18 0 .21a.92.92 0 0 1-.33.16c-.09 0-.22 0-.07.26v.07c-.32 0-.33.2-.36.4h-.1c-.03 0-.52-.12-.27.22 0 0 0 .07 0 0-.35-.14-.19.11-.33.12s0 .07 0 .17.1.25-.13.16h-.07c.01 0-.06.17-.17.2s-.3 0-.25.15.15.36.08.44 0 .12-.06.09c-.33-.07-.26.14-.39.21s-.11.13-.15.21.16.3-.16.2c0 .2-.11.3-.21.43a3.1 3.1 0 0 0-.3.57s-.14 0-.1.12a.26.26 0 0 1 0 .14c.08.08.1.13 0 .1s-.34 0-.27.1 0 .07 0 .09a.33.33 0 0 1-.06.4.41.41 0 0 0 0 .48c0 .12 0 .19-.25.14s-.26 0-.25 0a.42.42 0 0 1 0 .21c-.08.22.11.57-.28.63-.08 0-.19 0 .1.22.07.05 0 0 0 0h-.14a1.08 1.08 0 0 1-.31.29c-.22.12-.37.28-.12.61.08.09.1.17 0 .16s-.1.14-.14.22.07.07 0 .08c-.27.09-.39.25-.34.47 0 0 0 .06-.06.06-.22 0 .14.25-.28.17.11.16-.24.13.09.37.06 0 0 0-.05.06-.29.06-.37.2-.29.4 0 0 .07.09 0 .08-.3 0-.12.13 0 .25s.14.14.12.17a1.14 1.14 0 0 1-.26.28c-.08 0-.2.1 0 .26.06 0 0 .07 0 .08-.31.08-.23.3-.18.51 0 0-.06.05-.07.08s-.54.07-.18.3c0 0 0 .06 0 0-.37 0-.14.17-.27.24s0 .07.09.14.18.2-.07.2h-.06c.02 0 0 .18-.08.25s-.28.11-.17.23.27.29.22.39.08.1 0 .11c-.34 0-.2.21-.3.32a.49.49 0 0 0-.08.25c0 .09.26.24-.07.25a.57.57 0 0 1 0 .48 3.41 3.41 0 0 0-.1.64c0 .05-.12.09-.06.15s.1.2-.09.25-.18.09 0 .18 0 .11-.11.14.29.16.19.21-.29.16-.23.28-.08.27-.09.41-.17.28-.16.44.25.26 0 .34 0 .35-.16.5.12.24.13.35a1.08 1.08 0 0 1-.08.5c0 .06-.18.1-.06.17-.45 0-.31.09 0 .17 0 0 .07 0 0 0-.42 0 0 .15 0 .22s-.17.32-.12.5a.49.49 0 0 0 0 .16s.1.08.08.12a.69.69 0 0 0 0 .56h-.09c-.32 0-.17.08-.12.12s.19.14.11.19 0 0 0 .08c.25.09.35.18.16.25s.34.3 0 .43l.07.06c.07.06 0 0 .1.05.27 0 .19.1 0 .15s-.15.07-.07.11 0 .08 0 .11 0 .34-.15.51.07.27.14.4.1.15-.14.22c-.08 0 0 0 0 .07s.16 0 .15.07a.29.29 0 0 1-.14.21c-.12.08.22.14.28.21s0 .13.18.18.11.12 0 .2-.28.22-.2.32.16.14.07.22-.15.25.1.35c.06 0 0 .06 0 .1s0 0-.07 0c-.52.07-.56.13-.52.17v.09a1.61 1.61 0 0 1 .17.28s0 .07-.06.1c-.21.21-.2.21.22.37.12 0 .13.09.1.14s-.14.11 0 .14.06 0 0 0c-.38.13-.23.2-.1.28s0 .06.12.08.12.06 0 .12-.21.07-.18.09-.12.24.15.31h.08a1.33 1.33 0 0 1-.24.2c-.11.07.26.07 0 .15s-.14.07-.06.08c.33 0 .32.13.09.25s.39.08.17.2-.27.2-.13.25.34.26.32.41.06.3.26.41.12.14-.11.26-.23.15-.17.2.14.09.15.14c.09.22.46.37.19.66-.06.06-.14.14.21.11.09 0 0 0 0 .06s-.08.09-.08.13a1.31 1.31 0 0 1-.06.43c-.1.23-.12.44.3.54.11 0 .17.07.06.16s0 .17 0 .26.1 0 .09 0c-.16.24-.16.44 0 .59v.08c0 .08.27.11-.11.31.18 0-.1.25.31.24.08 0 0 0 0 .07-.19.23-.17.38 0 .49 0 0 .11 0 0 .08-.25.17 0 .18.12.22s.2 0 .21.06a1 1 0 0 1 0 .38c0 .1-.09.2.18.19.08 0 .08 0 0 .06-.19.26 0 .38.17.52s0 .07 0 .11-.38.38 0 .34c.07 0 .07 0 0 .06-.3.22 0 .22-.07.35s0 .07.16.06.27 0 .07.2v.07c0 .01.13.13.09.24s-.14.26 0 .29.38.06.41.16.11 0 0 .11c-.24.24 0 .29 0 .44s0 .16.1.24.35 0 .1.23c.18.09.21.25.26.41a4.48 4.48 0 0 0 .32.56v.15c0 .01.2.09.08.24s-.08.19.12.15.09.07 0 .18.32-.06.27 0-.12.31 0 .37.11.26.19.37 0 .33.16.44.36 0 .22.25.26.25.19.49.24.11.32.19a1.45 1.45 0 0 1 .26.43s-.07.19.06.16c-.33.3-.17.27.1.15 0 0 .07 0 0 0-.3.3.08.12.17.14s.06.36.21.46a.42.42 0 0 0 .14.09h.14a.6.6 0 0 0 .35.44v.1c-.23.23-.08.17 0 .16s.23 0 .2.08 0 0 .08 0c.25-.1.38-.09.28.09s.44 0 .31.29h.09a.2.2 0 0 0 .11 0c.24-.14.21-.06.13.08s-.06.15 0 .13.05.06.06.1.22.24.22.46.22.16.36.22.16 0 0 .26c0 .06 0 0 .06 0s.14-.07.15-.05a.33.33 0 0 1 0 .25c0 .14.25 0 .35 0s.1.08.25 0 .17 0 .14.14-.06.35.07.37.2 0 .19.12zM200.52 103c.16 0-.06-.22 0-.21h.2c.02 0-.11-.35.11-.32v-.07c0-.07-.09-.29.26-.14-.23-.25 0-.17-.06-.28s0-.09.08-.13-.06-.16.14-.07-.13-.22-.07-.23.09-.11.11-.18-.06-.13 0-.16.17 0 0-.1.15 0 .09-.07 0 0 0-.06-.07-.11 0-.09.68.38.51.16-.2-.21.12 0c0 0 .06 0 0 0-.22-.16-.27-.22 0-.08-.31-.25 0-.14 0-.19s.09 0 .21 0h.05c-.03 0-.21-.27-.11-.29s.12 0 .05-.11-.2-.18.16 0c.07 0 0 0 0 0s-.06-.09 0-.08.26 0 .25-.14 0-.06.06-.09-.06-.06-.08-.09-.34-.3 0-.21c.07 0 .06 0 0-.06s-.11-.13 0-.12.14 0 .07-.08-.05-.11.14 0 .09 0 .08 0 0-.13 0-.19.15 0 .15 0a.91.91 0 0 0-.1-.29s0-.05.21 0 .26 0 .07-.09-.26-.24 0-.18.29 0 0-.21-.39-.26-.21-.22 0-.06.18 0 .27.05.2 0-.26-.23 0-.2c.07 0 0 0-.08-.09s-.18-.13-.12-.14a.35.35 0 0 0 .24-.06s0-.09-.07-.18 0-.12 0-.15 0-.08.15 0c.38.08.25 0 .14-.14s0 0 0-.05a1.9 1.9 0 0 0 .21-.19s-.05 0-.08-.07c.07 0 .22.06.19 0s-.49-.29-.1-.21c-.18-.1.15 0 .1-.08s.21 0-.21-.24c-.09 0-.08-.06 0 0s.12 0-.06-.12 0 0 .22 0h.08-.06s-.17-.08-.09-.06c.43.11.25 0 .17 0s-.07 0 0 0c.35.06.24 0 .23-.08s-.33-.18.19-.06c.09 0 0 0 0 0s-.12-.11.06-.1.07 0 0 0c-.28-.13-.06-.11.08-.11s.11 0 0 0c-.29-.12-.25-.13-.08-.12s-.16-.15.17-.12l-.1-.05c-.38-.12-.39-.15-.06-.08s.17 0 .08 0-.26-.16-.1-.16.39 0-.11-.17c-.12 0 0 0 0 0s.12 0 0 0 0-.09.18-.08.14 0 0-.11-.32-.15-.19-.16.09 0 .12-.08a.24.24 0 0 1 .1-.1c.08 0 .05-.1 0-.16s0 0 .08 0c.49.06.29 0 .16-.1s-.13-.08 0-.08-.19-.12 0-.13.07-.07-.07-.14-.24-.14.09-.13h-.05c-.05 0 .15 0 0-.08a1 1 0 0 1-.24-.14h.08c.26 0 0-.11.15-.15s-.1 0-.19-.07-.16-.07 0-.07h.11c.04 0 .27 0-.11-.16s.07 0 0-.08 0-.06.09-.07c.42 0 .43 0 .22-.18 0 0-.07 0-.05-.06s-.6-.14-.59-.19-.13-.06.28 0 .26 0 .19-.06c-.31-.16 0-.24.08-.37s.09 0 .14-.08 0-.06-.2-.1-.24-.11-.13-.15.25-.14.22-.22 0-.17.26-.23.05-.08-.17-.14-.1-.1.36-.1.17-.06.17-.06v-.07c0-.07-.56-.09-.52-.13a1.46 1.46 0 0 1 .4-.15c.16-.06-.18-.14-.08-.2s.05 0 .06-.05.08-.06.07-.1-.3-.23-.11-.33v-.06c0-.06-.25-.18.12-.26-.33-.06-.1-.13-.21-.19s0-.1 0-.15-.14-.1.07-.15-.24-.1-.19-.15c.1-.07 0-.14 0-.21s-.12-.07-.12-.11.15-.08 0-.1.13-.08 0-.11 0 0-.07 0-.12 0 0-.07.77-.09.51-.17-.29-.06.06-.11c.05 0 .06 0 0 0-.28 0-.35 0 0-.07-.4 0-.11-.1-.13-.14s.07-.07.19-.1.07-.06 0-.08-.33-.1-.25-.17.07-.09 0-.12-.27 0 .13-.09c.07 0 0 0 0 0s-.1 0 0-.07.19-.18.12-.25 0-.08 0-.11h-.11c-.1 0-.46-.06-.15-.15h-.06c-.11 0-.17 0-.1-.07s.11-.08 0-.1-.11-.07.08-.13.08 0 .06-.06 0-.12-.07-.18.13-.08.11-.11a1 1 0 0 0-.25-.17l.18-.11c.18-.11.25-.11 0-.11s-.35-.06-.09-.16.24-.17-.14-.16-.47 0-.29-.07 0 0 .16-.1.25-.11.15-.13-.35 0-.13-.15h-.3a.39.39 0 0 0 .17-.18s0-.1-.17-.12-.09-.08-.05-.14-.07-.05.1-.12c.35-.15.19-.17 0-.2a2.86 2.86 0 0 0 .07-.28h-.11c.07 0 .21-.07.18-.07-.2 0-.57 0-.2-.12-.2 0 .11-.11 0-.12s.15-.16-.31-.09h-.05c.05 0 .09-.09-.11-.07s0 0 .2-.09h.07-.48c.42-.15.23-.13.13-.13s-.09 0 0 0c.33-.14.19-.15.14-.18s-.37 0 .13-.16c.09 0 0 0 0 0s-.16 0 0-.11.06 0 0 0c-.3 0-.1-.05 0-.13s.1-.06 0 0c-.3.07-.28 0-.13-.05s-.22 0 .07-.19h-.1c-.39.11-.41.09-.1 0s.14-.09 0-.08-.3 0-.17-.08.32-.2-.19-.07c-.13 0 0 0 0 0s.09-.08 0-.06-.08-.06.1-.16.1-.11-.07-.08-.35 0-.25 0 0-.1 0-.14a.35.35 0 0 1 0-.13c.05-.08 0-.11-.08-.15s0 0 .07-.06c.43-.22.21-.18.07-.17s-.15 0 0-.06 0-.05 0-.06-.22 0-.08-.1 0-.1-.13-.08-.28 0 0-.16h-.07c-.07 0 .11-.11 0-.09a1 1 0 0 1-.27 0l.05-.06c.21-.15 0-.11 0-.2s-.1 0-.19 0h-.06c.11 0 0-.06.07-.09s.2-.2-.18-.07 0-.07 0-.08-.05 0 0-.11c.3-.26.33-.28.11-.27s-.19 0-.1-.08v-.14a.76.76 0 0 1 .19-.11s-.14 0-.32.06-.44.14-.3 0 0 0 .12-.15.2-.17.11-.16-.35.06-.17-.11 0 0-.13 0-.21.07-.18 0a.43.43 0 0 0 .1-.23s0-.08-.19-.06-.11 0-.09-.12-.08 0 .06-.15c.29-.24.13-.22 0-.19s0 0-.06 0a1.37 1.37 0 0 0 0-.29h-.1c.05 0 .18-.13.15-.12-.2 0-.54.21-.23-.06-.19.08.07-.13 0-.12s.1-.2-.31 0h-.06c.03 0 .06-.12-.13 0s0 0 .16-.15h.07-.05s-.17.08-.11 0c.35-.28.18-.19.08-.16s-.08 0 0 0c.26-.23.13-.2.08-.22s-.35.15.06-.19c.08-.06 0 0 0 0s-.16 0 0-.11 0-.06-.06 0c-.27.15-.11 0 0-.12s.08-.09 0 0c-.26.16-.25.12-.14 0s-.22 0 0-.21h-.1c-.33.22-.36.22-.11 0s.12-.13 0-.09-.28.11-.19 0 .25-.3-.19 0c-.11.08 0 0 0 0s.06-.1 0 0l1.9-1.55s.24 0-.05.25c.16 0-.06.21.28 0 .08 0 0 0 0 0-.14.23-.11.32.07.31 0 0 .1 0 0 0-.21.22 0 .12.12.09s.18-.06.19 0a.63.63 0 0 1 0 .27c0 .07-.06.16.18 0h.05c-.16.25 0 .26.17.29s0 .06 0 .08-.33.38 0 .22c.06 0 .06 0 0 0-.27.25 0 .15-.07.26s0 0 .15 0 .24 0 .06.12-.05 0 0 0 .1.06.07.14-.15.22 0 .19.34-.06.36 0 .11 0 0 0c-.24.23 0 .21-.07.31s0 .1.07.14.32-.06.06.14c.17 0 .17.13.2.23s.14.21.21.32-.06.11 0 .1.09 0 .11 0h.06c-.09 0-.22.21-.09.2h.08c.18 0 .24.06.23.15s.09.15.29.16.13 0-.07.2-.2.16-.15.17.14 0 .16 0 .46.11.2.37c-.05.05-.12.12.21 0 .08 0 0 0 0 0s-.08.08-.08.11a.49.49 0 0 1 0 .28c-.08.16-.11.3.29.28.11 0 .16 0 .05.09s0 .11 0 .16.1 0 .08 0c-.16.18-.16.3 0 .37s.25 0-.12.22c.17 0-.12.17.27.1.08 0 0 0 0 0-.21.17-.21.27 0 .32s.1 0 0 0c-.26.14 0 .11.09.13s.19 0 .19 0a.62.62 0 0 1-.08.24c0 .07-.11.14.15.11.07 0 .07 0 0 0-.23.19-.06.25.06.33s0 0 0 .07-.44.26 0 .22c.07 0 .06 0 0 0-.33.15 0 .13-.13.22s0 0 .14 0 .24 0 0 .13.08.09 0 .15-.21.17-.06.19.34 0 .34.11.1 0 0 .06c-.29.15-.1.19-.15.28s0 .1 0 .15.32 0 0 .15c.14.07.11.17.11.27a1.09 1.09 0 0 0 .11.38s-.09.07 0 .09.15.08 0 .16-.15.1 0 .11 0 0-.07.1.32 0 .23.07-.24.16-.16.21 0 .17 0 .25-.09.2 0 .28.31.1.08.19.1.2-.07.32.16.11.19.18a.39.39 0 0 1 0 .3s-.16.08 0 .1c-.43.07-.28.1 0 .11 0 0 .08 0 0 0-.41.08 0 .09.07.12s-.14.21-.07.31a.28.28 0 0 0 .07.09s.11 0 .09.06a.27.27 0 0 0 0 .34h-.09c-.31 0-.16.06-.1.08s.2.07.11.11 0 0 .05 0c.25 0 .35.09.17.14s.35.17.06.26h.07a.23.23 0 0 0 .1 0c.27 0 .2.06 0 .09s-.15 0-.07.07 0 0 0 .07 0 .2-.14.3.06.17.12.25.1.09-.15.13c-.07 0 0 0 0 0h.14c-.01 0 0 .08-.15.12s.21.09.27.14 0 .08.16.12.11.09 0 .12-.29.12-.22.19.14.1 0 .14-.17.13.06.22c.06 0 0 0 0 .06s0 0-.07 0c-.53 0-.58 0-.54.05a1 1 0 0 1 .13.18l-.07.06c-.23.09-.22.09.18.24.11 0 .11.07.07.1s-.15 0 0 .09.05 0 0 0c-.4 0-.26.08-.15.15s0 0 .1.06.11.06-.05.07-.21 0-.19 0-.16.12.09.21h.07a.74.74 0 0 1-.27.07c-.12 0 .24.1 0 .1h-.07c.32.09.29.14 0 .16s.36.14.11.16-.31 0-.19.11.26.22.2.31 0 .17.16.29.08.12-.18.12-.25 0-.21.06a.57.57 0 0 1 .11.12c0 .15.3.34 0 .42-.07 0-.17 0 .17.13.08 0 0 0 0 0a.34.34 0 0 0-.12 0 .53.53 0 0 1-.19.21c-.16.09-.26.19.08.39.09 0 .13.1 0 .1s-.06.09-.08.14.09 0 .06 0c-.23.07-.3.17-.21.31-.21 0 .19.17-.23.11.14.1-.2.08.17.24.07 0 0 0 0 0-.27 0-.32.1-.21.24s.08.06 0 0c-.29 0-.08.07 0 .15s.16.1.15.12a.51.51 0 0 1-.21.16c-.06 0-.17 0 .07.17.06 0 0 0 0 0-.3 0-.19.17-.12.31s-.05 0-.06 0-.51 0-.15.18c.06 0 .05 0 0 0-.35-.06-.12.08-.23.11s0 0 .1.1.19.16-.06.12h-.05c.01 0 0 .12-.07.14s-.26 0-.15.12.26.23.22.29.08.07 0 .06c-.32 0-.18.1-.27.15s-.05.09-.07.14.24.21-.08.13c.09.14 0 .21-.05.29a1.15 1.15 0 0 0-.12.37s-.11 0-.06.08.08.15-.1.12-.18 0 0 .11 0 .08-.12 0 .26.19.16.19-.29 0-.25.09-.1.13-.13.21-.18.11-.2.21.2.25 0 .2 0 .22-.24.22.07.19.06.26a.38.38 0 0 1-.16.25s-.19 0-.1.07c-.4-.19-.29-.09-.06.09-.38-.17 0 .08 0 .14s-.23.1-.23.22a.45.45 0 0 0 0 .11s.06.1 0 .11-.21.13-.19.28 0 0-.09 0c-.28-.15-.17 0-.13 0s.12.16 0 .15 0 0 0 .06.24.28.06.22.19.34-.1.25v.07c0 .07 0 0 .06.07.21.19.13.17 0 .11s-.15-.05-.1 0 0 0-.06 0-.12.17-.3.16 0 .18 0 .28 0 .13-.19 0c-.07 0 0 0 0 0s.1.11.08.12a.22.22 0 0 1-.19 0c-.13 0 .11.2.13.27s0 .07.06.2 0 .14-.07.1-.31-.08-.29 0 0 .17-.05.15z\\\"/><path d=\\\"M206.11 114c.19 0 0-.3.19-.32h.1a.34.34 0 0 0 .18-.09c.12-.16.06-.49.33-.5.05 0 0 0 .05-.09 0-.21 0-.41.41-.28-.17-.3.08-.23.07-.39s.11-.15.18-.21 0-.23.23-.16-.06-.28 0-.32c.15 0 .16-.19.23-.3s0-.19 0-.24.2 0 .09-.16.18 0 .15-.13.05 0 0-.1 0-.14.06-.13.68.39.57.11c0-.11-.14-.27.18-.11 0 0 .06 0 0 0-.2-.2-.23-.28 0-.13-.26-.31 0-.21.06-.29s.13 0 .25 0 .11 0 .09-.09-.13-.37 0-.42.15-.07.11-.19-.16-.23.2 0c.06 0 0 0 0 0v-.13s.33-.13.36-.28.08-.11.11-.17 0-.08-.05-.12-.28-.4 0-.32c.08 0 .08 0 0-.1s-.08-.17 0-.18.17 0 .12-.14 0-.17.2-.13.1 0 .1 0a1.79 1.79 0 0 1 .13-.32s.17 0 .19-.09a1.64 1.64 0 0 0 0-.44c0-.06 0-.09.25 0s.29 0 .11-.16-.19-.34.1-.3.33-.07 0-.34-.34-.34-.15-.33.06 0 0-.06 0-.09.22 0 .28 0 .23-.08-.21-.33.05-.33c.07 0 0 0-.06-.14s-.15-.17-.09-.19a.61.61 0 0 0 .31-.16.24.24 0 0 0 0-.3c-.08-.14 0-.2.09-.26s0-.14.19-.12c.39.05.29-.12.2-.28s0-.05 0-.07.22-.25.32-.38 0-.07-.07-.1c.07 0 .22.06.2 0s-.46-.4-.05-.35c-.16-.13.17-.07.13-.15s.25-.12-.15-.38c-.08 0-.07-.07 0-.07s.14-.07 0-.19 0-.06.23 0h.07-.05s-.16-.1-.08-.09c.43.11.27 0 .19-.1s-.06-.06 0 0c.36 0 .27-.09.27-.18s-.3-.25.22-.14c.1 0 0 0 0-.06s-.1-.17.09-.18.08 0 0-.09c-.26-.17 0-.17.11-.2s.13 0 0-.07c-.27-.14-.22-.18-.05-.18s-.12-.24.21-.24c.05 0 0 0-.08-.07-.37-.16-.38-.2 0-.14s.18 0 .1-.07-.23-.23-.06-.26.41 0-.07-.28c-.12 0 0 0 0-.07s.13 0 0-.1 0-.16.2-.17.16-.08 0-.19-.3-.23-.16-.26.11-.1.14-.16a.72.72 0 0 1 .13-.19c.1-.08.08-.18.06-.29s0 0 .1 0c.49 0 .29-.1.18-.21s-.12-.11 0-.13.06 0 0-.09-.17-.18 0-.22.08-.14 0-.25-.22-.22.12-.24c.08 0 0 0 0-.08s.16-.07.06-.15a1.52 1.52 0 0 1-.22-.21h.08c.27-.06.07-.21.18-.3s-.09-.07-.18-.11-.15-.1 0-.11.08-.06.12-.08.29-.13-.09-.29.07-.09.05-.14 0-.11.1-.14c.43-.12.45-.12.25-.35 0 0-.06-.07 0-.1s-.59-.2-.57-.29-.13-.1.29-.08.27-.07.2-.12c-.3-.28.06-.46.12-.68 0-.06.09-.1.15-.16s0-.1-.18-.17-.23-.19-.13-.26.28-.27.25-.42 0-.3.28-.43.06-.16-.16-.24-.09-.19.37-.21.18-.11.18-.11v-.12c0-.04-.55-.15-.5-.23s.24-.17.4-.28-.16-.25-.06-.37a.24.24 0 0 0 .06-.08c0-.06.08-.12.07-.19s-.29-.4-.1-.59v-.11c0-.04-.25-.33.13-.48-.32-.12-.09-.23-.2-.35s0-.18 0-.27-.15-.19.06-.28-.24-.17-.19-.26 0-.26 0-.39-.12-.13-.12-.2.15-.13 0-.18.13-.14 0-.2 0 0-.07-.07-.12-.08-.05-.14.77-.14.5-.29c-.11-.06-.29-.11.06-.2 0 0 .05 0 0 0-.28 0-.35-.07-.05-.13-.39-.06-.11-.18-.13-.26s.07-.12.18-.18.07-.09 0-.13-.33-.2-.26-.32.07-.16 0-.23-.27-.07.13-.15c.07 0 0 0 0 0s-.1-.07-.06-.12.18-.31.1-.45 0-.14 0-.2-.09 0-.11-.06-.47-.14-.18-.28c.08 0 .05-.06-.06-.08s-.17-.08-.11-.14.11-.14 0-.18-.12-.13.07-.23.06-.07 0-.09a2.07 2.07 0 0 1-.1-.33c0-.06.12-.14.09-.19a1.72 1.72 0 0 0-.28-.35s0-.09.17-.17.24-.18 0-.2-.36-.14-.11-.29.21-.27-.18-.3-.48 0-.32-.17 0-.09.15-.17.23-.16.13-.2-.37-.14-.17-.3 0-.07-.13-.07-.23 0-.19-.1.15-.22.13-.31a.24.24 0 0 0-.19-.23c-.16-.06-.12-.16-.09-.26s-.09-.1.07-.2c.34-.21.16-.28 0-.35s-.06 0-.06 0v-.5c0-.16-.08 0-.12 0 .06 0 .2-.1.17-.1-.22 0-.6 0-.25-.25-.21 0 .09-.16 0-.2s.12-.25-.35-.2h-.06c.04 0 .07-.14-.14-.13s0 0 .19-.14h.08-.2c.4-.19.2-.18.09-.2s-.09 0 0 0c.31-.19.17-.24.1-.31s-.39 0 .09-.25c.08 0 0 0 0 0s-.19-.08 0-.2 0-.08-.07-.07c-.31 0-.13-.11 0-.22s.09-.09 0-.07c-.3.05-.29 0-.15-.11s-.25-.12 0-.33h-.12c-.38.11-.41.09-.11-.07s.13-.12 0-.12-.33 0-.22-.17.28-.29-.24-.17c-.12 0 0 0 0-.08s.07-.12 0-.11-.1-.11.06-.26.08-.16-.11-.15-.37 0-.28-.1 0-.15 0-.22a.59.59 0 0 1 0-.23c0-.12-.06-.19-.15-.26s0 0 .05-.08c.41-.28.18-.27 0-.29s-.17 0-.08-.1 0-.08 0-.11-.25 0-.13-.17 0-.17-.18-.18-.31 0-.06-.26H212c-.09 0 .09-.16 0-.15a1.3 1.3 0 0 1-.31 0v-.07c.17-.22-.09-.2-.06-.35s-.11 0-.2 0-.18 0-.09-.07 0-.09 0-.14.15-.28-.24-.17 0-.12 0-.14-.08-.08 0-.18c.26-.35.28-.37 0-.41s-.22 0-.15-.16v-.22s.08-.07.17-.12-.15 0-.34 0-.47.12-.35 0 0-.06-.05 0-.07-.07.08-.21.16-.23.06-.24-.39 0-.26-.22c0-.06 0-.07-.15 0s-.24 0-.22 0a.55.55 0 0 0 0-.33.24.24 0 0 0-.26-.15c-.17 0-.16-.11-.17-.21s-.12-.07 0-.22c.24-.31.06-.32-.13-.32h-.07s-.11-.31-.18-.46-.08 0-.12 0c.05 0 .16-.16.13-.15-.22 0-.57.18-.32-.14-.19.07 0-.19-.06-.2s0-.28-.39-.06h-.07c.03 0 0-.16-.19-.07s0 0 .13-.19l.06-.05h-.05s-.18.08-.12 0c.31-.32.12-.24 0-.21s-.09 0 0 0c.22-.29.07-.27 0-.31s-.37.13 0-.27c.06-.07 0 0 0 0s-.2 0-.11-.17 0-.09-.08 0c-.28.15-.16 0-.11-.19s.05-.12 0-.06c-.26.16-.27.11-.19 0s-.27 0-.1-.3h-.11c-.32.24-.36.23-.14 0s.08-.15 0-.12-.32.09-.26-.08.16-.37-.27-.06c-.11.07 0 0 0-.08s0-.14-.07-.09l1.71-1.75s.06 0 0 .07c-.08.21.29 0 .06.34.19 0 0 .29.38.1.08 0 .05 0 0 .07-.07.3 0 .44.25.46 0 0 .11 0 .07.07-.16.25.07.16.21.15s.2 0 .22 0a1.19 1.19 0 0 1 .12.39c0 .1 0 .22.26.12h.07c-.09.33.15.38.36.47v.11c0 .03-.23.49.16.34.06 0 .07 0 0 0-.22.31.06.23 0 .37s.06.06.18 0 .27 0 .13.19v.07s.15.11.15.23-.08.29.09.29.39 0 .44.09.13 0 .08.1c-.19.3 0 .31.06.46s.09.16.14.24.36 0 .14.23c.2.07.26.23.33.39a3.6 3.6 0 0 0 .39.57s0 .15.06.16a.18.18 0 0 1 .14 0c.11 0 .16 0 .09.06s-.18.29 0 .3h.1a.35.35 0 0 1 .33.29c0 .16.16.27.39.32s.17.11 0 .3-.16.22-.1.25.17 0 .2.1.56.26.37.64c0 .07-.1.17.24.06.08 0 0 0 0 .06s-.05.12 0 .16a1.12 1.12 0 0 1 0 .45c0 .25 0 .47.43.51.11 0 .18.06.08.16s0 .19.07.27.1 0 .09 0a.46.46 0 0 0 .11.62v.08c0 .08.29.1-.06.34.19 0-.07.26.33.22.08 0 0 0 0 .08-.18.25-.14.42.05.53 0 0 .11 0 0 .08-.24.18 0 .18.13.22s.2 0 .21.07a1.1 1.1 0 0 1 0 .4c0 .1-.08.21.2.21.07 0 .07 0 0 .06-.2.27 0 .41.15.56s0 .08 0 .12-.4.37 0 .37c.06 0 .07 0 0 .06-.31.2 0 .23-.09.36s0 .07.16.08.27.08.06.21v.07c0 .01.1.16.05.27s-.17.25 0 .3.37.13.38.25.12 0 0 .11c-.27.21-.07.3-.1.45a.51.51 0 0 0 .06.27c0 .08.34.11 0 .27a.56.56 0 0 1 .17.48 3.24 3.24 0 0 0 .18.66s-.08.13 0 .16.18.16 0 .28-.14.16.06.19.06.1-.06.18.33.05.25.13-.22.27-.13.36 0 .3.05.44-.07.33 0 .49.32.19.11.34.12.35-.05.55.18.21.21.32a1.25 1.25 0 0 1 .05.54c0 .06-.16.13 0 .18-.43.1-.28.15 0 .19 0 0 .07 0 0 0-.41.11 0 .15.08.22s-.14.37-.06.54a.79.79 0 0 0 .08.16s.11.07.1.11a.68.68 0 0 0 0 .59l-.08.07c-.32.05-.16.09-.1.13s.2.12.11.19 0 .06.05.08c.25.07.35.16.17.25s.35.3.07.46l.07.06a.19.19 0 0 0 .1 0c.28 0 .2.1.05.16s-.14.09-.07.13 0 .08 0 .12 0 .35-.13.53 0 .29.11.44.1.15-.15.22c-.07 0 0 0 0 .08s.15.05.14.08a.36.36 0 0 1-.15.22c-.13.08.21.16.26.24s0 .13.16.21.11.14 0 .21-.3.21-.23.32.14.18 0 .25-.18.25.05.39c.06 0 0 .07 0 .11s0 0-.08 0c-.52 0-.58.05-.54.09v.1a1.32 1.32 0 0 1 .12.31s0 .07-.07.1c-.24.18-.22.18.17.42.1.07.1.12.06.18s-.16.08 0 .15c-.4 0-.27.16-.17.27s0 .07.09.12.11.09-.05.11-.22 0-.2 0-.17.21.07.36h.07a.82.82 0 0 1-.28.15c-.12 0 .23.14 0 .17s-.15 0-.08.06c.32.14.29.22 0 .28s.34.2.09.26-.32.11-.21.21.23.36.16.52a.46.46 0 0 0 .11.5c.09.1.07.19-.19.23s-.26.06-.23.12a.5.5 0 0 1 .09.2c0 .25.26.56-.12.73-.08 0-.18.07.15.2.08 0 0 0 0 .05a.56.56 0 0 0-.14.09 1 1 0 0 1-.24.38c-.18.18-.3.37 0 .66.08.09.11.16 0 .18s-.09.17-.12.26.08.06.06.07c-.26.14-.36.33-.29.56v.06c-.22 0 .16.25-.26.23.12.15-.23.16.11.37.07 0 0 .06-.05.07-.29.08-.36.24-.28.44 0 0 .07.09 0 .09-.3 0-.11.14 0 .26s.14.14.12.18a.91.91 0 0 1-.26.3c-.07.07-.19.12 0 .29.05 0 0 .06 0 .08-.32.09-.25.32-.22.53 0 0-.06.06-.08.09s-.55 0-.21.31c0 0 0 .06 0 0-.37 0-.15.17-.29.23s0 .08.08.16.16.23-.09.2h-.07c.01 0 0 .19-.12.25s-.3.08-.21.22.21.33.15.43.06.11 0 .11c-.35 0-.24.2-.36.3s-.08.16-.12.24.2.29-.13.24a.62.62 0 0 1-.17.48 3.52 3.52 0 0 0-.27.63s-.14 0-.1.14 0 .22-.17.22-.2 0-.07.18 0 .12-.16.11.22.25.11.26-.34.07-.33.2-.17.24-.23.37-.26.23-.32.38.12.35-.14.32c-.41 0-.12.36-.38.41s0 .28 0 .39a1.14 1.14 0 0 1-.31.44c-.05 0-.21 0-.14.12-.4-.2-.32-.07-.12.14 0 0 0 .06 0 0-.39-.17-.09.13-.08.22s-.34.2-.39.38a.58.58 0 0 0 0 .18v.15a.79.79 0 0 0-.37.47s0 .05-.11 0c-.28-.16-.18 0-.16 0s.07.23 0 .22-.05 0 0 .09c.14.23.16.36 0 .31-.35-.08.08.47-.24.4v.09a.23.23 0 0 0 0 .1c.17.22.08.21-.07.16s-.17 0-.14 0-.06.06-.1.08-.23.28-.46.31-.15.26-.2.41 0 .19-.26.08h-.05c.01 0 .07.15.05.16a.36.36 0 0 1-.27.06c-.14 0 .05.26 0 .35s-.09.1 0 .26 0 .18-.15.16-.37 0-.39.09 0 .22-.14.21z\\\"/><rect x=\\\"121.66\\\" y=\\\"82.61\\\" width=\\\"12.75\\\" height=\\\"13.12\\\" rx=\\\"2.34\\\" fill=\\\"#fff\\\"/><path d=\\\"M132 96.59c-.1-.16-.21.18-.31.09l-.08-.07c-.05 0-.1-.07-.16-.06s-.34.3-.51.11h-.09c-.03 0-.29.25-.43-.12-.1.32-.2.1-.3.21s-.16 0-.24 0-.16.14-.24-.07-.16.24-.24.19-.23 0-.34 0-.13.12-.18.12-.12-.15-.17 0-.11-.13-.17 0 0 0-.06.06-.08.12-.13 0-.09-.77-.23-.52c-.05.1-.11.29-.17-.07 0 .28-.07.35-.11 0-.08.4-.16.1-.24.12s-.09-.08-.13-.2-.08-.07-.12 0-.2.31-.3.23-.13-.08-.2 0-.08.27-.12-.14c0-.07 0 0 0 0s-.07.1-.11.05-.25-.22-.38-.16-.12 0-.18 0 0 .07-.06.1-.17.45-.26.14c0-.08 0-.05-.07 0s-.09.16-.14.09-.1-.12-.16 0-.12.1-.19-.1 0-.08-.07-.07a1 1 0 0 1-.3.05s-.1-.14-.14-.12a1.16 1.16 0 0 0-.34.22s-.08 0-.13-.2-.11-.26-.2 0-.3.32-.39 0-.19-.31-.42 0-.33.38-.37.17c0 0 0-.06-.08 0s-.14 0-.11-.23 0-.3-.11-.25-.43.14-.41-.14c0-.07-.06-.07-.17 0s-.24.09-.26 0a1 1 0 0 0-.12-.4.47.47 0 0 0-.35-.19c-.18 0-.21-.16-.22-.3s-.15-.12 0-.27c.26-.31.07-.35-.12-.44 0 0-.07 0-.07-.06a3.35 3.35 0 0 1 0-.63s-.08 0-.12-.08c.07 0 .22-.07.18-.09-.21-.09-.58-.23-.18-.38-.21-.07.13-.11.06-.17s.19-.18-.27-.26c-.1 0-.09 0 0-.06s.11-.1-.1-.15 0-.05.23-.07h-.12c.45-.05.25-.1.15-.15s-.08 0 0 0c.35-.07.22-.14.19-.22s-.37-.12.16-.18c.1 0 0 0 0 0s-.14-.12 0-.18.07 0 0-.07c-.31-.07-.09-.13 0-.2s.11 0 0-.06c-.3 0-.27-.09-.11-.13s-.19-.18.13-.26h-.1c-.4 0-.42-.06-.09-.1s.17 0 .08-.08-.29-.14-.14-.21.37-.14-.15-.21c-.13 0 0 0 0-.07s.12-.07 0-.1 0-.13.16-.19.13-.1 0-.16-.34-.12-.22-.18.08-.12.1-.17a.44.44 0 0 1 .07-.19c.07-.09 0-.17 0-.26s0 0 .09 0c.48-.07.27-.15.13-.22s-.15-.07 0-.11 0-.06 0-.09-.21-.12 0-.19 0-.14-.09-.2-.26-.15.06-.23c.08 0 0 0-.06-.06s.14-.09 0-.14a.78.78 0 0 1-.26-.14h.07c.26-.1 0-.19.12-.29s-.11 0-.2-.06-.16-.07 0-.1.07-.06.11-.08.26-.16-.14-.24.06-.09 0-.13 0-.09.08-.14c.4-.16.42-.16.19-.33 0 0-.07-.06-.06-.09s-.61-.09-.61-.17-.14-.07.27-.11.26-.09.19-.13c-.33-.2 0-.4 0-.6s.08-.1.13-.15 0-.09-.2-.17-.24-.25-.13-.35a.84.84 0 0 0 .32-.57.48.48 0 0 1 .44-.47c.15 0 .13-.14 0-.34s0-.27.45 0 .22 0 .22 0 .05-.07.05-.13-.33-.47-.21-.53.33 0 .54 0 .12-.32.31-.32h.12a.59.59 0 0 0 .23 0c.18-.12.35-.46.63-.33 0 0 .08 0 .12-.06s.4-.3.59.07c.1-.33.2-.1.3-.21s.16 0 .24 0 .16-.14.24.07.16-.23.24-.19c.11.1.22 0 .33 0s.13-.12.19-.12.11.15.16 0 .11.13.17 0 0 0 .06-.07.09-.11.13 0 .09.78.23.52c0-.1.12-.28.17.07 0 0 0 .06 0 0 0-.27.07-.34.11 0 .08-.39.16-.09.24-.12s.09.08.14.2.07.07.11 0 .2-.32.3-.24.13.09.2 0 .08-.26.12.14c0 .08 0 0 0 0s.08-.1.11 0 .26.21.38.15.12 0 .18 0 0-.08.06-.1.17-.45.26-.14c0 .08 0 0 .07 0s.09-.17.14-.1.1.12.16 0 .12-.1.19.1 0 .07.07.06a1.54 1.54 0 0 1 .3 0c.05 0 .1.14.15.12a1.58 1.58 0 0 0 .33-.22s.09 0 .13.2.11.26.17 0 .18-.33.27-.06.19.26.28-.11.13-.46.2-.28 0 0 .05 0 .08 0 .12.18.1.26.15.17.19-.33.29-.1c0 .06.06 0 .08-.12s.07-.22.13-.16a1 1 0 0 0 .36.22.42.42 0 0 0 .38-.07c.16-.11.27 0 .37.07s.19 0 .19.21c0 .4.17.31.38.25h.09a3.72 3.72 0 0 1 .42.47h.14c0 .07-.12.2-.08.19.22-.07.59-.2.39.16.21-.06 0 .22.1.25s0 .3.44.17c.1 0 .12 0 .09.07s0 .18.19.17 0 .07-.16.19h-.07.21c-.39.24-.19.22-.07.27s.1 0 0 .06c-.3.21-.15.27-.09.38s.39.13-.12.28c-.1 0 0 0 0 .07s.15.15 0 .24-.06.08 0 .11c.31.07.09.13 0 .2s-.11 0 0 .06c.3 0 .27.08.11.13s.19.17-.13.26h.1c.4 0 .42.06.09.1s-.17 0-.08.08.29.14.14.21-.37.14.15.21c.13 0 0 0 0 .07s-.12.07 0 .1.06.13-.15.19-.13.1 0 .16.34.12.22.18-.08.12-.1.17a.49.49 0 0 1-.07.19c-.08.09 0 .17 0 .26s0 0-.09 0c-.48.07-.27.14-.13.22s.15.07 0 .11 0 .06 0 .09.21.12 0 .18 0 .14.09.21.26.15-.06.23c-.08 0 0 0 .06.06s-.15.09 0 .13a1 1 0 0 1 .26.15h-.07c-.26.1 0 .19-.12.29s.1 0 .2.06.16.06 0 .1-.07 0-.11.08-.26.16.14.24c-.18 0-.06.09 0 .13s0 .09-.08.13c-.39.17-.42.17-.22.32s.17.12.05.18l-.1.18h-.21s.12.1.3.14.46.13.28.2 0 0 0 .05 0 .08-.18.12-.26.1-.16.15.33.19.1.29c-.07 0 0 .06.11.08s.22.08.16.12a.61.61 0 0 0-.2.24c0 .08 0 .16.14.24s.07.16 0 .24.06.11-.13.16c-.37.1-.22.2-.07.3s.05 0 .05 0a3.09 3.09 0 0 0-.15.48s.06.07.1.1h-.19c.18.14.52.36.09.41.17.13-.17.13-.13.23s-.25.16.12.46c.08.07.06.1 0 .11s-.16.09 0 .25 0 .08-.24 0h-.07.05s.13.15.05.12c-.41-.17-.28 0-.24.1s0 .1 0 .07c-.35-.12-.3 0-.35.15s.13.4-.3.07c-.08-.06 0 0 0 0s0 .22-.21.13-.09 0-.06.09c.11.31-.1.19-.25.12s-.11-.06-.07 0c.1.3 0 .31-.11.19s-.15.28-.38 0v.12c.09.39 0 .43-.11.13s-.12-.14-.14 0-.13.34-.26.2-.24-.34-.29.19c0 .13-.08 0-.12 0s-.1-.11-.15 0c0-.82 0-1.63-.05-2.45s.06-.22.14.18c0-.17.14.15.1-.24 0-.08 0 0 0 0 .14.23.25.22.25.06s0-.1 0 0c.17.24.1 0 .07-.1s-.07-.17-.05-.17a.61.61 0 0 1 .21 0c.06 0 .16 0 0-.16-.05 0 0 0 0 0 .26.12.2 0 .14-.16s.05 0 .06 0 .5.1.13-.1c-.06 0-.05 0 0 0 .36.06.11-.07.22-.09s0 0-.12-.08-.21-.08 0-.1c.06 0 .07 0 0 0s0-.08 0-.17.24-.16.1-.24-.33-.18-.31-.27-.09-.07 0-.1c.31-.11.14-.23.2-.34s0-.15 0-.23-.31-.15 0-.22c-.13-.14-.08-.28-.06-.42a2.69 2.69 0 0 0 0-.56s.1-.09 0-.14a.17.17 0 0 1-.09-.1c-.11 0-.16 0 0-.08s.29-.13.17-.19h-.07c-.17-.11-.19-.22-.15-.33s0-.26-.19-.39-.1-.15.15-.21.25-.09.2-.14-.11-.1-.12-.15c0-.2-.37-.4 0-.6.07 0 .16-.1-.18-.14-.09 0 0 0 0 0s.11-.06.11-.1a.87.87 0 0 1 .16-.34c.14-.18.21-.36-.16-.53-.11 0-.15-.1 0-.15s0-.15 0-.22-.09 0-.07 0c.22-.17.26-.34.14-.51s0 0 0-.06-.23-.16.18-.23c-.15-.09.18-.19-.21-.28-.08 0 0 0 0-.06.26-.14.28-.28.14-.41s-.1-.06 0-.08c.29-.07.06-.14 0-.21s-.18-.08-.18-.11.08-.11.15-.18.13-.1-.13-.08c-.07 0-.06 0 0 0 .25-.14.08-.2-.05-.21s0 0 0-.06.37-.34 0-.17c-.06 0-.06 0 0 0 .26-.25 0-.13.06-.23s0 0-.14 0-.2.13-.06-.07v-.06c0 .01-.1 0-.1-.09s0-.25-.06-.16-.24.25-.27.22-.06.08 0 0c0-.32-.07-.16-.11-.25s-.09 0-.13 0-.09.3-.13 0c-.14.13-.28.08-.42.06a2.69 2.69 0 0 0-.56 0c-.05 0-.09-.1-.14 0s-.15.14-.23 0-.1-.16-.16 0-.09 0-.13-.09-.1.31-.15.22-.19-.26-.28-.19-.24 0-.36 0-.27-.11-.4-.08-.19.29-.29.06-.3.08-.45-.11-.19.15-.29.17a.82.82 0 0 1-.44 0c-.05 0-.1-.17-.15 0 0-.44-.1-.3-.15 0 0 0 0 .07 0 0-.06-.42-.12 0-.18.06s-.3-.16-.44-.1a.61.61 0 0 0-.14.07s-.07.1-.1.09a.5.5 0 0 0-.49 0v-.09c0-.32-.07-.17-.11-.11s-.11.19-.16.11 0 0-.06.05c-.08.25-.15.34-.22.16-.13-.33-.25.35-.38.06v.07a.23.23 0 0 0 0 .1c0 .27-.09.19-.14 0s-.07-.14-.1-.07-.06 0-.1 0-.29 0-.44-.14-.27.06-.29.13 0 .09-.1-.14c0-.07 0 0 0 0a.74.74 0 0 1 0 .15.39.39 0 0 1-.11-.13c-.07-.11 0 .22 0 .29v.17c0 .17 0 .12 0 0s-.21-.22-.19-.13 0 .14 0 .08-.18-.06 0 .13 0 0-.07 0c-.41-.32-.47-.32-.45-.28h-.06c0 .07 0 .14.06.19s0 0-.08 0c-.25 0-.24 0 .11.22.1.06.11.08.06.09s-.15 0 0 0 .06 0 0 0c-.39 0-.26 0-.15.08s0 0 .11.05.11 0 0 0h-.2c.02 0-.14.19.11.29h.08a1.19 1.19 0 0 1-.26.15c-.12.05.25.09 0 .14s-.15 0-.07.06c.33.07.31.15.06.22s.37.13.13.2-.29.14-.17.2.29.27.25.4 0 .26.19.39.1.14-.15.21-.25.09-.21.14.12.1.13.15c0 .2.37.4 0 .6-.07 0-.16.09.18.14.09 0 0 0 0 0s-.11.07-.11.1a.85.85 0 0 1-.16.35c-.14.18-.21.35.16.53.1 0 .15.1 0 .15s0 .15 0 .22.09 0 .07 0c-.22.17-.26.34-.14.5s0 0 0 .07.23.16-.18.23c.15.09-.18.19.21.28.08 0 0 0 0 .06-.26.14-.28.27-.14.41s.1.06 0 .08c-.29.07-.06.14.05.21s.18.07.17.11a.84.84 0 0 1-.15.3c0 .08-.15.15.11.22.07 0 .06 0 0 .06-.27.16-.13.32 0 .48s0 .06-.05.09-.49.19-.08.29c.06 0 .06 0 0 0-.36.08-.09.2-.19.24s0 0 .14 0 .23 0 0 .1c-.06 0-.06 0 0 0s.07.07 0 .13-.2.17 0 .17h.34s.1 0 0 0c-.25.22 0 .18-.07.27s0 .07.08.1.26-.17.08.1c.15 0 .17 0 .23.09s.2.07.29.09 0 .1.07 0 .1-.13.12.06 0 .17.09 0 0 0 .08.1.09-.32.14-.22.19.25.28.18.24 0 .36 0 .27.12.4.09.2-.29.29-.06.3-.08.45.11.19-.15.29-.17a.82.82 0 0 1 .44 0s.1.17.15.05c0 .44.1.29.16 0 0 0 0-.07 0 0 .06.41.12 0 .19-.06s.29.16.44.09a.38.38 0 0 0 .13-.06s.07-.11.1-.09a.5.5 0 0 0 .49 0v.09c0 .32.07.16.11.11s.11-.2.16-.11 0 0 .07 0c.07-.25.14-.35.21-.17.13.34.25-.34.38 0l.05-.07a.41.41 0 0 0 0-.1c.05-.27.09-.2.14 0s.07.15.1.07.07 0 .1 0 .29 0 .44.14.24-.06.36-.13.12-.09.19.15c0 .07 0 0 .06 0s0-.15.06-.14a.27.27 0 0 1 .18.15c.07.12.13-.22.19-.28s.11 0 .16-.17.12-.12.18 0 .18.3.27.22.13-.15.2-.05z\\\" fill=\\\"#fff\\\"/><path d=\\\"M142.63 84.44c.08.16.16-.18.25-.09l.06.07s.09.07.13.06.27-.3.41-.11h.07c.02 0 .23-.25.34.12.08-.32.16-.1.24-.2s.13 0 .19 0 .13-.14.2.07.12-.24.18-.19.19 0 .28 0 .09-.11.14-.11.09.15.13 0 .09.14.14 0 0 0 .05-.06.07-.12.1 0 .07.77.18.52c0-.1.1-.28.14.07 0 0 0 .05 0 0 0-.28.06-.35.09 0 .07-.4.13-.1.19-.12s.08.08.11.2.06.07.09 0 .16-.32.24-.24.11.08.16 0 .07-.27.1.14c0 .07 0 0 0 0s.06-.09.09 0 .2.21.3.15.09 0 .14 0 0-.08.05-.11.14-.45.21-.14c0 .08 0 .06.06 0s.07-.16.1-.09.09.12.13 0 .1-.1.15.1 0 .08.06.07.16 0 .24 0 .08.14.12.12a1 1 0 0 0 .27-.22s.06 0 .1.2.09.26.14 0 .14-.33.21-.06.16.26.23-.11.1-.46.16-.27.06 0 .1.17.07.26.11.17.15-.33.23-.1c0 .06 0 0 .07-.11s.06-.22.1-.17.13.19.19.2.13 0 .19-.13.13-.07.19 0 .09-.06.13.12c.08.38.16.22.24.08l.33.14s0-.07.05-.11v.19c.07-.2.14-.57.21-.17.05-.2.1.14.14.07s.14.19.21-.27c0-.1 0-.1 0 0s.07.11.11-.1 0 0 .06.22 0-.19 0-.11c0 .44.08.25.12.15s0-.08 0 0c.06.35.12.22.18.19s.1-.37.14.16c0 .1 0 0 0 0s.1-.15.14 0 0 .07.06 0c.06-.3.11-.08.16.05s0 .11 0 0c0-.31.07-.27.11-.11s.14-.19.2.13v-.11c0-.39.05-.42.08-.08s0 .16.07.07.11-.29.17-.13.11.37.17-.15c0-.13 0 0 .05 0s.06.11.08 0 .1 0 .15.15.09.14.13 0 .1-.35.15-.22.09.07.13.1a.34.34 0 0 1 .15.07c.07.07.14 0 .21 0s0 0 0 .08c.06.49.12.27.18.14s.06-.15.09 0 0 0 .07 0 .09-.21.15 0 .11.05.16-.09.12-.27.18.06c0 .08 0 0 .05-.06s.07.14.11 0a1.07 1.07 0 0 1 .12-.26v.07c.08.25.15 0 .23.11s0-.1 0-.19.05-.17.08 0 0 .06.07.1.12.26.18-.13.07.06.1 0 .08 0 .11.07c.14.41.14.43.27.2 0 0 0-.08.07-.06s.07-.62.14-.62.06-.14.08.28.08.25.11.18c.16-.33.32 0 .48 0s.08.08.12.13.08 0 .11-.2.12-.25.17-.16.21.24.32.2.21 0 .32.24.1 0 .15-.17.13-.11.17.35.08.17.08.17h.08c.02 0 .08-.56.14-.52a1.43 1.43 0 0 1 .21.38c.09.16.17-.18.25-.09l.06.07s.09.07.13.06.28-.3.42-.11h.07c.07 0 .22-.25.34.12.08-.32.16-.1.24-.2s.12 0 .19 0 .13-.14.19.07.13-.24.19-.19.18 0 .27 0 .1-.11.15-.11.09.15.13 0 .09.14.13 0 0 0 0-.06.07-.12.1 0 .07.77.19.52c0-.1.09-.28.14.07 0 0 0 .05 0 0 0-.28.06-.35.09 0 .06-.4.13-.1.19-.12s.07.08.11.2.06.07.09 0 .16-.32.24-.24.1.08.16 0 .06-.27.09.14c0 .07 0 0 0 0s.06-.09.09 0 .2.21.3.15.1 0 .14 0 0-.08 0-.11.14-.45.21-.14c0 .08 0 .06.06 0s.07-.16.11-.09.08.12.13 0 .1-.1.15.1 0 .08.06.07.15 0 .23 0 .08.14.12.12a1 1 0 0 0 .27-.22s.07 0 .1.2.09.26.14 0 .14-.33.22-.06.15.26.22-.11.11-.46.16-.27.07 0 .1.17.08.26.12.17.15-.33.23-.1c0 .06 0 0 .06-.11s.07-.22.1-.17.13.19.19.2.13 0 .19-.13.13-.07.19 0 .09-.06.13.12c.08.38.16.22.24.08l.33.14v-.11.19c.08-.2.15-.57.22-.17 0-.2.09.14.13.07s.14.19.21-.27c0-.1 0-.1.05 0s.08.11.12-.1 0 0 0 .22v-.11c0 .44.07.25.11.15s0-.08 0 0c.06.35.12.22.18.19s.1-.37.15.16c0 .1 0 0 0 0s.09-.15.14 0 0 .07.06 0c0-.3.1-.08.16.05s0 .11 0 0c0-.31.07-.27.11-.11s.14-.19.21.13v-.11c0-.39.05-.42.08-.08s0 .16.06.07.11-.29.17-.13.11.37.17-.15c0-.13 0 0 .06 0s.05.11.08 0 .1 0 .15.15.08.14.12 0 .1-.35.15-.22.09.07.14.1a.34.34 0 0 1 .15.07c.07.07.14 0 .21 0s0 0 0 .08c0 .49.11.27.17.14s.06-.15.09 0 .05 0 .07 0 .1-.21.15 0 .11.05.17-.09.12-.27.18.06c0 .08 0 0 .05-.06s.07.14.1 0a1.07 1.07 0 0 1 .12-.26v.07c.08.25.16 0 .23.11s0-.1.05-.19.06-.17.08 0 .05.06.07.1.13.26.19-.13.06.06.1 0 .07 0 .11.07c.13.39.13.42.25.22s.1-.17.14-.05l.15.11a.88.88 0 0 1 0 .21s.07-.12.11-.31.1-.46.16-.27.07 0 .1.17.07.26.11.17.16-.33.23-.1c0 .06 0 0 .07-.11s.07-.22.1-.17.13.19.19.2.13 0 .19-.13.13-.07.19 0 .09-.06.13.12c.08.38.16.22.24.08l.33.14s0-.07.05-.11v.19c.07-.2.14-.57.22-.17 0-.2.09.14.13.07s.14.19.21-.27c0-.1 0-.1 0 0s.08.11.12-.1 0 0 .05.22 0-.19 0-.11c0 .44.07.25.11.15s0-.08 0 0c.06.35.12.22.18.19s.1-.37.15.16c0 .1 0 0 0 0s.09-.15.14 0 0 .07.06 0c.05-.3.1-.08.15.05s0 .11 0 0c0-.31.07-.27.11-.11s.14-.19.21.13v-.11c0-.39.06-.42.09-.08s0 .16.06.07.11-.29.17-.13.11.37.17-.15c0-.13 0 0 .06 0s0 .11.07 0v2.45h-.05c-.06-.2-.13.23-.19-.19-.07.16-.14-.17-.22.22 0 .08 0 0 0 0-.11-.25-.22-.27-.33-.13s0 .1-.06 0c-.06-.29-.11-.06-.17 0s-.06.18-.09.17a.56.56 0 0 1-.24-.16c-.06 0-.11-.14-.17.12 0 .07 0 .06-.05 0-.13-.28-.25-.13-.38 0s-.05 0-.07 0-.16-.49-.24-.08c0 .06 0 0 0 0-.07-.36-.14-.09-.21-.19s-.06 0-.08.13-.1.23-.15 0v-.05c0 .02-.12.06-.18 0s-.13-.24-.19-.11-.14.33-.22.31-.05.1-.08 0c-.09-.32-.18-.14-.27-.21s-.12 0-.18 0-.12.31-.18 0c-.11.14-.22.09-.33.06a1.75 1.75 0 0 0-.46 0s-.07-.1-.11 0a.17.17 0 0 1-.07.09c0 .11 0 .15-.07 0s-.1-.3-.16-.17v.08c-.09.16-.18.18-.27.14s-.2 0-.31.2-.11.09-.17-.15-.07-.25-.11-.21-.08.12-.12.13-.32.37-.48 0c0-.07-.07-.17-.11.18 0 .09 0 0 0 0s-.06-.1-.08-.11a.59.59 0 0 1-.28-.15c-.14-.14-.29-.21-.43.16 0 .1-.08.15-.11 0s-.12 0-.18-.05 0 .1 0 .08c-.14-.22-.27-.27-.41-.14s0 0-.05 0c-.06-.2-.12.23-.18-.19-.08.16-.15-.17-.22.22 0 .08 0 0 0 0-.11-.25-.22-.27-.34-.13s0 .1-.06 0c-.05-.29-.11-.06-.17 0s-.06.18-.08.17a.53.53 0 0 1-.25-.16c-.05 0-.11-.14-.17.12 0 .07 0 .06 0 0-.12-.28-.25-.13-.38 0s-.05 0-.07 0-.16-.49-.24-.08c0 .06 0 0 0 0-.07-.36-.14-.09-.21-.19s-.05 0-.08.13-.1.23-.15 0v-.05c0 .02-.12.06-.18 0s-.13-.24-.19-.11-.14.33-.22.31 0 .1-.08 0c-.09-.32-.18-.14-.27-.21s-.12 0-.18 0-.12.31-.18 0c-.11.14-.22.09-.33.06a1.71 1.71 0 0 0-.45 0s-.08-.1-.11 0-.13.14-.19 0-.08-.17-.13 0-.07 0-.1-.09-.08.32-.12.22-.15-.25-.22-.18-.2 0-.29 0-.22-.12-.32-.09-.16.29-.24.06-.24.08-.36-.1-.15.14-.23.16a.47.47 0 0 1-.35 0s-.08-.17-.12-.05c0-.44-.08-.29-.12 0 0 0 0 .07 0 0 0-.41-.1 0-.15.06s-.24-.15-.35-.09a.24.24 0 0 0-.11.06s-.06.11-.08.1a.33.33 0 0 0-.4 0v-.09c0-.32-.06-.16-.09-.11s-.09.2-.13.11c-.06.25-.12.35-.18.17-.1-.33-.2.34-.3 0v.07a.41.41 0 0 0 0 .1c0 .28-.07.2-.1 0s-.06-.15-.08-.07-.06 0-.08 0-.24 0-.36-.14-.19.07-.28.13-.1.1-.15-.15c0-.07 0 0 0 0s0 .15-.05.14a.22.22 0 0 1-.15-.14c0-.12-.1.21-.15.27s-.09 0-.13.17-.09.12-.14 0-.15-.29-.22-.22-.11.15-.16.05-.17-.16-.25.08c0 .06-.05 0-.07 0s0 0 0-.07c0-.53-.06-.57-.09-.53h-.06l-.2.15-.07-.07c-.14-.23-.14-.21-.27.2 0 .11-.07.11-.11.08s-.07-.15-.1 0c-.06-.39-.12-.25-.19-.13s0 0-.07.1-.05.12-.08 0 0-.21 0-.19-.16-.14-.24.11v.07a1.07 1.07 0 0 1-.12-.26c0-.11-.08.25-.11 0s0-.14 0-.06c-.06.33-.12.3-.18.06s-.1.37-.16.13-.11-.3-.16-.17-.21.29-.32.24-.21 0-.31.2-.12.09-.17-.15-.07-.25-.11-.21-.08.12-.12.13-.32.37-.48 0c0-.07-.08-.17-.11.18 0 .09 0 0 0 0s-.05-.1-.08-.11a.64.64 0 0 1-.28-.15c-.14-.14-.28-.21-.42.16 0 .1-.08.15-.12 0s-.12 0-.18-.05 0 .1 0 .08c-.13-.22-.27-.27-.4-.14s0 0-.05 0c-.06-.2-.13.23-.19-.19-.07.16-.15-.17-.22.22 0 .08 0 0 0 0-.11-.25-.22-.27-.33-.13s0 .1-.06 0c-.06-.29-.11-.06-.17 0s-.06.18-.09.17a.56.56 0 0 1-.24-.16c-.06 0-.11-.14-.17.12 0 .07 0 .06-.05 0-.13-.28-.26-.13-.38 0s-.05 0-.07 0-.16-.49-.24-.08c0 .06 0 0 0 0-.07-.36-.14-.09-.21-.19s-.06 0-.08.13-.1.23-.15 0v-.05c0 .02-.12.06-.18 0s-.13-.24-.19-.11-.15.33-.22.31-.05.1-.08 0c-.09-.32-.18-.14-.27-.21s-.12 0-.18 0-.12.31-.18 0c-.11.14-.22.09-.34.06a1.71 1.71 0 0 0-.45 0s-.07-.1-.11 0-.12.14-.18 0-.09-.17-.13 0-.07 0-.11-.09-.07.32-.12.22-.14-.25-.22-.18-.19 0-.29 0-.21-.12-.32-.09-.15.29-.23.06-.24.08-.36-.1-.16.14-.23.16a.5.5 0 0 1-.36 0s-.07-.17-.11-.05c-.05-.44-.09-.29-.13 0 0 0 0 .07 0 0 0-.41-.1 0-.15.06s-.23-.15-.35-.09l-.11.06s-.05.11-.08.1a.32.32 0 0 0-.39 0v-.09c0-.32-.06-.16-.09-.11s-.08.2-.13.11c-.05.25-.11.35-.17.17-.1-.33-.2.34-.3 0v.07a.41.41 0 0 0 0 .1c0 .28-.07.2-.11 0s-.05-.15-.08-.07 0 0-.08 0-.23 0-.35-.14-.19.07-.29.13-.1.1-.15-.15c0-.07 0 0 0 0s0 .15-.05.14a.19.19 0 0 1-.14-.14c-.06-.12-.1.21-.15.27s-.09 0-.13.17-.1.12-.14 0-.15-.29-.22-.22-.11.15-.16.05zm0 8.19c.08.15.16-.19.24-.09s0 0 .06.06.08.07.13.06.27-.3.4-.11h.07c.07 0 .22-.25.33.12.08-.33.15-.1.23-.21s.13 0 .19 0 .13-.14.19.07.12-.23.18-.19c.09.09.18 0 .27 0s.09-.12.14-.12.08.15.12 0 .09.14.14 0 0 0 0-.06.06-.12.09 0 .07.78.18.52c.05-.1.1-.28.14.07 0 0 0 .06 0 0 0-.28.06-.34.09 0 .06-.39.12-.1.18-.12s.08.08.11.2.06.07.09 0 .16-.32.23-.24.11.08.16 0 .06-.26.09.14c0 .07 0 0 0 0s.06-.1.09 0 .19.21.29.15.09 0 .14 0a.93.93 0 0 1 .05-.1c.06-.1.13-.46.2-.14 0 .08 0 .05.06-.06s.07-.16.1-.09.09.12.13 0 .1-.11.15.09 0 .08.05.07.16 0 .23 0 .08.14.12.13a1.32 1.32 0 0 0 .26-.22s.07 0 .1.19.09.26.13 0 .15-.34.22-.07.14.27.22-.1.1-.46.15-.28 0 .05 0 0 .07 0 .1.17.07.27.11.17.15-.33.22-.1c0 .07 0 0 .07-.11s.06-.22.1-.17.12.19.18.21.13 0 .19-.14.12-.07.18 0 .09-.06.13.13c.08.37.15.22.23.07l.32.14v-.1.19c.07-.2.14-.56.21-.17.05-.2.09.14.14.07s.13.19.2-.27c0-.1 0-.09 0 0s.08.11.12-.1 0 0 .05.23 0-.2 0-.12c0 .45.07.25.11.15s0-.08 0 0c.06.35.11.22.17.19s.1-.37.15.16c0 .1 0 0 0 0s.1-.14.14 0 0 .07.06 0c.05-.31.1-.09.15 0s0 .11.05 0c0-.31.07-.27.1-.11s.14-.19.21.13v-.1c0-.4.06-.42.08-.09s0 .17.07.08.11-.3.16-.14.11.37.17-.15c0-.13 0 0 0 0s.06.12.08 0 .1 0 .15.16.08.13.12-.05.1-.34.14-.22.09.08.14.1a.31.31 0 0 1 .14.07c.07.07.14 0 .21 0s0 0 0 .09c0 .48.11.27.17.13s.05-.15.08 0 0 0 .07 0 .1-.21.15 0 .11 0 .16-.09.12-.26.18.06v-.06c0-.06.07.14.11 0a1.07 1.07 0 0 1 .12-.26v.07c.08.26.15 0 .23.11s0-.1.05-.19.05-.16.07 0 .05.07.07.11.12.26.18-.14.07.06.1 0 .07 0 .11.08c.13.4.13.42.26.19 0 0 0-.07.07-.06s.07-.61.13-.61.06-.14.08.27.08.25.11.19c.16-.33.31 0 .47 0s.08.08.12.13.07 0 .1-.2.11-.25.17-.15.2.24.3.19.21 0 .32.25.1 0 .15-.18.12-.11.16.35.08.17.08.17h.08c.02 0 .08-.56.14-.52s.12.23.2.39.16-.19.25-.09 0 0 .06.06.08.07.12.06.27-.3.41-.11h.06c.06 0 .23-.25.34.12.08-.33.16-.1.24-.21s.12 0 .19 0 .12-.14.18.07.13-.23.19-.19c.08.09.17 0 .26 0s.1-.12.14-.12.09.15.13 0 .09.14.13 0 0 0 .05-.06.07-.12.1 0 .07.78.18.52c0-.1.09-.28.14.07 0 0 0 .06 0 0 0-.28.06-.34.1 0 .06-.39.12-.1.18-.12s.07.08.11.2.05.07.08 0 .16-.32.24-.24.1.08.15 0 .07-.26.1.14c0 .07 0 0 0 0s.05-.1.08 0 .2.21.3.15.09 0 .13 0 0-.08 0-.1.14-.46.2-.14c0 .08 0 .05.06-.06s.07-.16.11-.09.08.12.12 0 .1-.11.15.09 0 .08.06.07.15 0 .23 0 .08.14.12.13a2.35 2.35 0 0 0 .26-.22s.06 0 .1.19.08.26.13 0 .14-.34.21-.07.15.27.22-.1.1-.46.16-.28 0 .05 0 0 .06 0 .09.17.08.27.12.17.14-.33.22-.1c0 .07 0 0 .07-.11s.06-.22.09-.17a.5.5 0 0 0 .19.21c.06 0 .12 0 .18-.14s.13-.07.19 0 .09-.06.12.13c.08.37.16.22.24.07l.32.14v-.1.19c.07-.2.14-.56.21-.17 0-.2.09.14.13.07s.14.19.2-.27c0-.1 0-.09.05 0s.08.11.11-.1 0 0 .06.23 0-.2 0-.12c0 .45.08.25.12.15s0-.08 0 0c.06.35.12.22.18.19s.1-.37.14.16c0 .1 0 0 0 0s.09-.14.14 0 0 .07.06 0c.05-.31.1-.09.15 0s0 .11.05 0c0-.31.06-.27.1-.11s.14-.19.2.13v-.1c0-.4.05-.42.08-.09s0 .17.06.08.11-.3.17-.14.11.37.16-.15c0-.13 0 0 .06 0s.05.12.08 0 .09 0 .14.16.08.13.13-.05.09-.34.14-.22.09.08.13.1a.34.34 0 0 1 .15.07c.07.07.13 0 .2 0s0 0 0 .09c.06.48.11.27.17.13s.06-.15.09 0 0 0 .07 0 .09-.21.14 0 .11 0 .17-.09.11-.26.17.06c0 .08 0 0 .05-.06s.07.14.1 0a1.07 1.07 0 0 1 .12-.26v.07c.07.26.15 0 .23.11s0-.1 0-.19 0-.16.08 0 0 .07.07.11.12.26.18-.14.06.06.1 0 .07 0 .1.08c.13.38.13.42.25.22s.09-.17.14 0l.14.1a.88.88 0 0 1 0 .21s.07-.12.11-.3.1-.46.15-.28 0 .05 0 0 .07 0 .1.17.07.27.11.17.15-.33.23-.1c0 .07 0 0 .06-.11s.07-.22.1-.17.12.19.19.21.12 0 .18-.14.13-.07.19 0 .08-.06.12.13c.08.37.16.22.23.07l.33.14v-.1.19c.07-.2.13-.56.21-.17 0-.2.09.14.13.07s.13.19.2-.27c0-.1 0-.09.05 0s.07.11.11-.1 0 0 .05.23 0-.2 0-.12c0 .45.08.25.11.15s0-.08 0 0c.06.35.12.22.18.19s.09-.37.14.16c0 .1 0 0 0 0s.09-.14.13 0 0 .07.06 0c.06-.31.11-.09.16 0s0 .11 0 0c0-.31.07-.27.11-.11s.13-.19.2.13v-.1c0-.4 0-.42.08-.09s0 .17.06.08.11-.3.17-.14.11.37.16-.15c0-.13 0 0 .06 0s0 .12.07 0v2.45h-.05c-.05 0-.12.23-.18-.19-.07.16-.15-.17-.22.22 0 .08 0 0-.05 0-.1-.26-.21-.28-.32-.14s0 .1-.06 0c-.05-.29-.11-.06-.16.05s-.06.18-.09.17a.63.63 0 0 1-.24-.15c-.05 0-.11-.15-.16.11 0 .07 0 .06-.05 0-.13-.28-.25-.13-.38 0s0 0-.06 0-.16-.49-.24-.08c0 .06 0 .05 0 0-.06-.36-.13-.09-.2-.19s-.05 0-.08.13-.09.23-.14 0c0-.06 0-.07 0 0s-.12.06-.18 0-.12-.24-.18-.1-.14.32-.22.31-.05.09-.07 0c-.09-.32-.18-.14-.27-.21s-.12 0-.18 0-.11.31-.17 0c-.11.13-.22.08-.33.06a1.66 1.66 0 0 0-.44 0s-.07-.09-.1 0a.24.24 0 0 1-.08.09c0 .11 0 .15-.06 0s-.11-.29-.16-.17 0 .07 0 .07c-.08.17-.17.19-.26.15s-.2 0-.3.19-.11.1-.17-.15-.07-.25-.11-.21-.07.12-.11.13-.32.37-.47 0c0-.07-.07-.16-.11.18 0 .09 0 0 0 0s-.06-.1-.08-.1a.74.74 0 0 1-.28-.16c-.13-.14-.27-.21-.41.16 0 .1-.07.15-.11 0s-.12 0-.18 0 0 .1 0 .08c-.13-.22-.26-.26-.39-.14s-.12.23-.18-.19c-.07.16-.14-.17-.21.22 0 .08 0 0 0 0-.11-.26-.22-.28-.33-.14s0 .1-.06 0c0-.29-.11-.06-.16.05s-.06.18-.09.17a.54.54 0 0 1-.23-.15c-.06 0-.12-.15-.17.11 0 .07 0 .06 0 0-.12-.28-.25-.13-.37 0s-.05 0-.07 0-.16-.49-.23-.08c0 .06 0 .05 0 0-.07-.36-.14-.09-.21-.19s0 0-.08.13-.09.23-.14 0c0-.06 0-.07 0 0s-.12.06-.17 0-.13-.24-.19-.1-.14.32-.21.31-.06.09-.08 0c-.09-.32-.18-.14-.27-.21s-.12 0-.17 0-.12.31-.18 0c-.11.13-.22.08-.32.06a1.71 1.71 0 0 0-.45 0s-.07-.09-.1 0-.12.14-.18 0-.08-.17-.13 0-.07 0-.1-.09-.08.31-.12.22-.14-.26-.21-.19-.19 0-.29 0-.2-.12-.31-.09-.15.29-.22.06-.24.08-.36-.1-.15.14-.22.17a.53.53 0 0 1-.35 0s-.07-.17-.11 0c0-.44-.08-.29-.12 0 0 0 0 .07 0 0-.05-.41-.1 0-.15.06s-.23-.15-.34-.09l-.11.06s-.05.11-.08.1a.3.3 0 0 0-.38 0v-.1c0-.32-.05-.16-.08-.1s-.09.19-.13.1 0 0-.05 0c0 .25-.11.35-.17.17s-.19.34-.29 0v.07a.41.41 0 0 0 0 .1c0 .28-.07.2-.1 0s-.06-.14-.08-.07-.05 0-.08 0-.23 0-.34-.15-.19.07-.28.13-.1.1-.15-.14c0-.08 0 0 0 0a1 1 0 0 1 0 .15.27.27 0 0 1-.15-.15c-.05-.12-.1.21-.15.27s-.08 0-.12.17-.09.11-.14 0-.14-.29-.21-.21-.11.14-.16 0-.16-.16-.24.08c0 .06 0 0-.07 0s0 0 0-.07c0-.52-.06-.57-.09-.53h-.06a1.15 1.15 0 0 1-.19.14s-.05 0-.07-.06c-.13-.23-.13-.22-.26.19 0 .11-.08.12-.11.08s-.07-.15-.1 0 0 .06 0 0c-.06-.39-.12-.25-.18-.13s0 0-.07.1 0 .12-.08 0 0-.21 0-.19-.15-.14-.23.11v.08a1.35 1.35 0 0 1-.11-.26c0-.12-.07.24-.11 0s0-.15-.05-.07c0 .33-.11.31-.17.06s-.1.37-.16.13-.1-.29-.15-.17-.21.29-.31.25-.21 0-.31.19-.11.1-.16-.15-.07-.25-.11-.21-.08.12-.12.13-.31.37-.47 0c0-.07-.07-.16-.1.18 0 .09 0 0 0 0s0-.1-.08-.1a.64.64 0 0 1-.27-.16c-.14-.14-.28-.21-.41.16 0 .1-.08.15-.12 0s-.11 0-.17 0 0 .1 0 .08c-.13-.22-.26-.26-.39-.14s0 0-.05 0-.13.23-.19-.19c-.07.16-.14-.17-.21.22 0 .08 0 0 0 0-.11-.26-.21-.28-.32-.14s0 .1-.06 0c-.06-.29-.11-.06-.17.05s-.06.18-.08.17a.63.63 0 0 1-.24-.15c-.06 0-.11-.15-.17.11 0 .07 0 .06 0 0-.12-.28-.24-.13-.37 0s0 0-.07 0-.15-.49-.23-.08c0 .06 0 .05 0 0-.07-.36-.14-.09-.2-.19s-.06 0-.08.13-.1.23-.15 0c0-.06 0-.07 0 0s-.12.06-.18 0-.13-.24-.19-.1-.14.32-.21.31-.05.09-.08 0c-.09-.32-.17-.14-.26-.21s-.12 0-.18 0-.12.31-.17 0c-.11.13-.22.08-.33.06a1.63 1.63 0 0 0-.44 0s-.07-.09-.11 0-.12.14-.17 0-.09-.17-.13 0-.07 0-.11-.09-.07.31-.11.22-.15-.26-.22-.19-.19 0-.28 0-.21-.12-.31-.09-.16.29-.23.06-.24.08-.35-.1-.15.14-.23.17a.5.5 0 0 1-.34 0s-.08-.17-.12 0c0-.44-.08-.29-.12 0 0 0 0 .07 0 0-.05-.41-.09 0-.14.06s-.23-.15-.35-.09a.53.53 0 0 0-.1.06s-.06.11-.08.1a.3.3 0 0 0-.38 0v-.1c0-.32-.06-.16-.09-.1s-.08.19-.12.1c-.06.25-.12.35-.17.17s-.2.34-.3 0v.07a.41.41 0 0 0 0 .1c0 .28-.07.2-.11 0s0-.14-.08-.07-.05 0-.07 0-.23 0-.35-.15-.18.07-.28.13-.1.1-.14-.14c0-.08 0 0-.05 0s0 .15 0 .15a.27.27 0 0 1-.15-.15c-.05-.12-.09.21-.14.27s-.09 0-.13.17-.09.11-.13 0-.15-.29-.22-.21-.1.14-.15 0z\\\" fill=\\\"#3b6ef1\\\"/></svg>\",\n    \"users\": \"<svg viewBox=\\\"0 0 40 40\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M16.01 18.748a7 7 0 10-7.96.007A11 11 0 001 28.995v8h2v-8a9 9 0 1118 0V35H7v1.995h15a1 1 0 001-1v-7a11 11 0 00-6.99-10.247zM12 8a5 5 0 100 10 5 5 0 000-10z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M19 27h18v6a1 1 0 01-1 1H20a1 1 0 01-1-1v-6zm-1-6a2 2 0 012-2h16a2 2 0 012 2v5a1 1 0 01-1 1H19a1 1 0 01-1-1v-5zm6-3a2 2 0 012-2h4a2 2 0 012 2v1h-8v-1z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M21 27h14v4a1 1 0 01-1 1H22a1 1 0 01-1-1v-4zm-1-5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H21a1 1 0 01-1-1v-2zm6-3a1 1 0 011-1h2a1 1 0 011 1h-4z\\\" fill=\\\"#fff\\\"/><path d=\\\"M24 25a1 1 0 011-1h6a1 1 0 011 1v4a1 1 0 01-1 1h-6a1 1 0 01-1-1v-4z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M26 27a1 1 0 011-1h2a1 1 0 110 2h-2a1 1 0 01-1-1z\\\" fill=\\\"#fff\\\"/></svg>\",\n    \"visitors\": \"<svg viewBox=\\\"0 0 40 40\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M16.01 18.748a7 7 0 10-7.96.007A11 11 0 001 28.995v8h2v-8a9 9 0 1118 0V35H7v1.995h15a1 1 0 001-1v-7a11 11 0 00-6.99-10.247zM12 8a5 5 0 100 10 5 5 0 000-10z\\\" fill=\\\"#334BFA\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M32 17h-8v2h1v1.674A7 7 0 0021 27v1.1a5.002 5.002 0 00-4 4.9 1 1 0 001 1h20a1 1 0 001-1 5.002 5.002 0 00-4-4.9V27a7 7 0 00-4-6.326V19h1v-2z\\\" fill=\\\"#334BFA\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M29 19h-2v3.1a5.002 5.002 0 00-4 4.9v1h10v-1a5.002 5.002 0 00-4-4.9V19zm-9.5 12.94A1.94 1.94 0 0121.44 30h13.104c1.08 0 1.956.876 1.956 1.956 0 .024-.02.044-.044.044H19.56a.06.06 0 01-.06-.06z\\\" fill=\\\"#fff\\\"/><path d=\\\"M33.555 19.999l1-1.999 1.788.895-1 1.999-1.788-.895zM36 22l1.999-1 .895 1.79-2 .999L36 22z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M29.124 24.572v0c.707.16 1.259.713 1.42 1.42v0\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\"/></svg>\",\n    \"web\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 164 117\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M2.67 23.68V11.24c0-4.8 3.89-8.69 8.69-8.69h130.42c4.8 0 8.69 3.89 8.69 8.69v12.44H2.67z\\\" fill=\\\"#FF7952\\\"/><path d=\\\"M1.81 23.14c.15-.73-.19-1.44-.09-2.17 0-.17.05-.35.06-.52.043-.375.067-.752.07-1.13a18.55 18.55 0 0 1-.12-3.57 2.09 2.09 0 0 0 0-.61 5.69 5.69 0 0 1 .12-3 .23.23 0 0 0 0-.16 4.87 4.87 0 0 1-.09-2.23A5 5 0 0 1 2.14 8 3.51 3.51 0 0 1 3 6.34c.52-.43.48-1.16.93-1.61l.2-.22a18.79 18.79 0 0 1 2.06-1.7c.376-.3.773-.57 1.19-.81a4.34 4.34 0 0 0 1.22-.46c.42-.36.93-.1 1.36-.25.17-.06.35 0 .49-.13a1.17 1.17 0 0 1 1-.08c.51.13.62.78 1.6.52.39-.1.81-.28 1.2.07.05 0 .13.06.17 0 .27-.28.53-.34.8 0 .54-.39 1.1-.1 1.64-.12.327.003.65.07.95.2.251.075.519.075.77 0a6.82 6.82 0 0 1 2.09-.24 4.2 4.2 0 0 0 1.37 0c.28-.06.57-.26.84.14 0 .07.16 0 .24 0a1.08 1.08 0 0 1 .77-.05c.86.154 1.737.205 2.61.15h1.23c.13 0 .28-.08.42-.1.59-.1 1.18-.46 1.79-.15a.52.52 0 0 0 .52-.05 1.13 1.13 0 0 1 .93-.09 2.49 2.49 0 0 0 1.12 0 1.83 1.83 0 0 1 1.3.09 1 1 0 0 0 .51.07c.7 0 1.36 0 2-.05.35 0 .69.14 1 .13.78 0 1.56-.14 2.34-.22a1.12 1.12 0 0 1 .85.19 1 1 0 0 0 1.19 0 2 2 0 0 1 1.87-.07 2.06 2.06 0 0 0 2-.1A1.57 1.57 0 0 1 47 1.2a.37.37 0 0 0 .34 0c.31-.19.58 0 .85.17.284.221.66.285 1 .17a3.47 3.47 0 0 1 2-.1.61.61 0 0 0 .59-.11.92.92 0 0 1 .85-.17c.544.11 1.096.18 1.65.21a6.54 6.54 0 0 0 1.65-.14 5 5 0 0 1 1.64 0 2.76 2.76 0 0 1 1.11.13 2.85 2.85 0 0 0 2.07.07 1.33 1.33 0 0 1 .34-.05l2.86.14c.15-.02.297-.054.44-.1.1.07.21.22.3.19.62-.2 1.22-.57 1.85-.17.4-.2.8.14 1.18.07.59-.1 1.21.19 1.78-.27a.44.44 0 0 1 .43 0c.33.135.704.098 1-.1.17-.1.33 0 .45.23v.07-.06c.12-.05.28-.2.34-.12.32.45.65.25 1 .15.11 0 .24-.08.34 0a2.21 2.21 0 0 0 1.55.19c.42 0 .86-.37 1.27.16.07.1.22 0 .34 0a2.61 2.61 0 0 1 1.21 0 .56.56 0 0 0 .52 0c.47-.31.91-.09 1.37 0 .13 0 .3.11.41 0a.7.7 0 0 1 .92-.11c.59.3 1.21-.19 1.8.13.07 0 .19 0 .25-.11.22-.39.45-.41.7-.08.25.33.36.17.57.08a2.06 2.06 0 0 1 1.46-.14c.47.14 1 .37 1.45-.15.11-.13.33 0 .5 0 .17 0 .47.12.69 0a1.42 1.42 0 0 1 1.29.16c.352.17.765.15 1.1-.05a2 2 0 0 1 1.28-.22c.39.088.79.121 1.19.1.42 0 .85 0 1.28.07a9.12 9.12 0 0 0 1.81 0 .45.45 0 0 1 .34.09c.5.48 1 .26 1.52.13.25-.1.53-.1.78 0 .197.05.403.05.6 0 .424-.1.866-.1 1.29 0 .48.13.99.098 1.45-.09a1.76 1.76 0 0 1 1.55.06.41.41 0 0 0 .42-.06c.32-.22.62.14.94 0 .326-.114.66-.2 1-.26.08 0 .17 0 .25.07a7.91 7.91 0 0 0 2 .11c.14 0 .28-.1.42-.19a.6.6 0 0 1 .68 0c.19.07.389.107.59.11a1.85 1.85 0 0 0 1.63-.14.17.17 0 0 1 .17 0c.29.17.57.06.86 0a2.09 2.09 0 0 1 1 .08 3 3 0 0 0 2.31.19c.2-.045.405-.065.61-.06.58 0 .61-.61 1.19-.61.29 0 .49-.14.73.27.24.41.65.25.94.19a16.17 16.17 0 0 1 4.17 0 9 9 0 0 1 1 .13c.33.032.661-.038.95-.2a2.15 2.15 0 0 1 1.47-.15 10.61 10.61 0 0 0 2.69.19 8.41 8.41 0 0 1 2.77.25c.463.11.95.046 1.37-.18a1.06 1.06 0 0 1 1.4.35c.19.2.482.266.74.17.233.06.477.06.71 0 .23 0 .66-.56 1.19-.52.618.082 1.23.21 1.83.38.74.16 1.45-.18 2.17-.09l.58.1c.41 0 .81.15 1.22.21a6.76 6.76 0 0 1 3.65 1.39c.172.147.36.274.56.38a4.18 4.18 0 0 1 2.08 2.49.23.23 0 0 0 .11.13c.69.48.8 1.33 1.15 2a5.5 5.5 0 0 1 .27.9c.05.31.07.62.12.93a3.94 3.94 0 0 1 0 1.78c-.23.58.24 1.09.19 1.64a2.25 2.25 0 0 1 0 .26 15.36 15.36 0 0 0 0 2.35c0 .4.12.84.12 1.25 0 .41-.15.78 0 1.12.15.34-.14.81 0 1.2 0 .15 0 .31.06.44a.89.89 0 0 1 0 .85 2.14 2.14 0 0 1-.41.63c-.14.17-.24.57-.11 1.34a3.17 3.17 0 0 1 0 1.64l-.33-.11c-.11-.05-.24-.06-.26 0-.16.27-.64.34-1.17 0a1.52 1.52 0 0 1-.58.18h-.33a1.61 1.61 0 0 1-.22 0 5.83 5.83 0 0 0-.82-.08 2.45 2.45 0 0 1-1-.2 1.35 1.35 0 0 0-.77 0 6.82 6.82 0 0 1-2.09.24 3.93 3.93 0 0 0-1.37 0c-.29.06-.57.26-.84-.14 0-.08-.17 0-.25 0a1.08 1.08 0 0 1-.77.05 10.79 10.79 0 0 0-2.6-.15h-1.23a3.2 3.2 0 0 0-.42.1c-.6.1-1.18.46-1.8.14a.52.52 0 0 0-.51 0 1.1 1.1 0 0 1-.93.1 2.49 2.49 0 0 0-1.12 0 1.92 1.92 0 0 1-1.31-.1 1.11 1.11 0 0 0-.51-.06h-2.05c-.34 0-.69-.13-1-.12-.78 0-1.56.14-2.34.22a1.12 1.12 0 0 1-.85-.2 1 1 0 0 0-1.19 0 2 2 0 0 1-1.87.06 2.09 2.09 0 0 0-2 .11 1.57 1.57 0 0 1-1.37.28.37.37 0 0 0-.34 0c-.31.19-.59 0-.85-.18a1.15 1.15 0 0 0-1-.17 3.27 3.27 0 0 1-2 .1.64.64 0 0 0-.59.12.92.92 0 0 1-.85.16 13.26 13.26 0 0 0-1.65-.2 6.11 6.11 0 0 0-1.65.14A4.76 4.76 0 0 1 107 25a2.59 2.59 0 0 1-1.11-.12 2.85 2.85 0 0 0-2.07-.07 1 1 0 0 1-.34 0l-2.86-.13a1.4 1.4 0 0 0-.44.1c-.1-.07-.21-.22-.3-.19-.61.2-1.21.56-1.84.16-.4.2-.8-.13-1.18-.06-.6.09-1.21-.19-1.78.27a.44.44 0 0 1-.43 0 1.07 1.07 0 0 0-1 .1c-.17.1-.33 0-.46-.23v-.07l-.05.05c-.11 0-.27.19-.33.11-.32-.44-.65-.25-1-.15-.11 0-.24.09-.34 0a2.21 2.21 0 0 0-1.55-.19c-.42 0-.86.37-1.27-.16-.07-.1-.22 0-.34 0a2.65 2.65 0 0 1-1.22 0 .54.54 0 0 0-.51 0c-.47.31-.91.09-1.37 0-.13 0-.31-.11-.41 0a.72.72 0 0 1-.93.11c-.59-.3-1.2.19-1.79-.13a.21.21 0 0 0-.25.1c-.23.4-.45.42-.7.09-.25-.33-.36-.17-.58-.08-.45.22-.966.27-1.45.14-.47-.14-1-.37-1.45.15-.12.13-.33 0-.5 0-.17 0-.47-.12-.69 0a1.39 1.39 0 0 1-1.29-.15 1.16 1.16 0 0 0-1.1 0 1.89 1.89 0 0 1-1.28.21 4.35 4.35 0 0 0-1.19-.09c-.42 0-.85 0-1.28-.07a9.22 9.22 0 0 0-1.82 0 .4.4 0 0 1-.33-.08c-.5-.48-1-.27-1.52-.13-.25.1-.53.1-.78 0a1.22 1.22 0 0 0-.6 0 3.11 3.11 0 0 1-1.29 0 2.27 2.27 0 0 0-1.45.09 1.76 1.76 0 0 1-1.53.12.39.39 0 0 0-.42.06c-.32.22-.63-.15-.94 0-.326.114-.66.2-1 .26-.08 0-.17 0-.25-.07-.67-.26-1.34 0-2-.12-.14 0-.28.1-.42.2a.62.62 0 0 1-.68 0 4.16 4.16 0 0 0-2.22 0 .17.17 0 0 1-.17 0c-.29-.18-.57-.07-.86 0a2.09 2.09 0 0 1-1-.08 2.85 2.85 0 0 0-2.17-.22 1.91 1.91 0 0 1-1.27.05l-1.22-.1c-.12 0-.11-.1-.1-.21a2.18 2.18 0 0 0-1 .3A1.56 1.56 0 0 1 44 25a.39.39 0 0 0-.35 0c-.3.19-.58 0-.85-.18a1.12 1.12 0 0 0-1-.17 3.28 3.28 0 0 1-2 .1.67.67 0 0 0-.6.12.92.92 0 0 1-.85.16 13 13 0 0 0-1.65-.2A6.11 6.11 0 0 0 35 25a4.75 4.75 0 0 1-1.64 0 2.59 2.59 0 0 1-1.11-.12 2.85 2.85 0 0 0-2.07-.07 1 1 0 0 1-.34 0L27 24.76a1.34 1.34 0 0 0-.43.1c-.1-.07-.21-.22-.3-.19-.62.2-1.22.56-1.85.16-.4.2-.79-.13-1.18-.06-.59.09-1.2-.19-1.78.27a.44.44 0 0 1-.43 0 1.07 1.07 0 0 0-1 .1c-.17.1-.33 0-.45-.23v-.07.05c-.12 0-.28.19-.33.11-.33-.44-.66-.25-1-.15-.11 0-.24.09-.34 0a2.21 2.21 0 0 0-1.55-.19c-.42 0-.86.37-1.27-.16-.07-.1-.22 0-.34 0a2.61 2.61 0 0 1-1.21 0 .56.56 0 0 0-.52 0c-.47.31-.91.09-1.36 0-.14 0-.31-.11-.42 0a.71.71 0 0 1-.92.11c-.59-.3-1.21.19-1.8-.13a.22.22 0 0 0-.25.1c-.22.4-.44.42-.7.09-.26-.33-.36-.17-.57-.08a2.11 2.11 0 0 1-1.46.14c-.47-.14-1-.37-1.44.15-.12.13-.34 0-.51 0-.17 0-.47-.12-.68 0l-.24-2.44a.94.94 0 0 1 .44 0c.53.21 1.1-.22 1.62.19.63-.15 1.27.18 1.9-.22.12-.07.29 0 .43 0a7 7 0 0 0 2.88.14.77.77 0 0 1 .52 0c.5.29 1 .06 1.47-.05.249-.09.507-.15.77-.18.7 0 1.39.09 2.09.16a2.43 2.43 0 0 0 1.48-.11.58.58 0 0 1 .43 0 9.68 9.68 0 0 0 3.31 0c.204.002.408.018.61.05.69 0 1.37.49 2.07.08a.34.34 0 0 1 .35 0c.6.36 1.21.08 1.81.19a1.05 1.05 0 0 0 .69-.13 1.22 1.22 0 0 1 1.29 0 .47.47 0 0 0 .33 0 5.44 5.44 0 0 1 1.56 0 4.2 4.2 0 0 0 1.65.1 6.85 6.85 0 0 1 1.89-.31c.23 0 .48-.09.69 0a7.53 7.53 0 0 0 2.36.2c.523.03 1.047.03 1.57 0 .52 0 1-.3 1.55 0a18.47 18.47 0 0 1 2.88-.06h3.92a4.32 4.32 0 0 0 1 0 3.08 3.08 0 0 1 .67-.09.46.46 0 0 1 .55 0 2 2 0 0 0 1.37.17h.09a.8.8 0 0 1 .33-.08 9.21 9.21 0 0 1 2.34-.14 10.58 10.58 0 0 0 2.69-.19 2.14 2.14 0 0 1 1.47.15 1.57 1.57 0 0 0 1 .2 9.2 9.2 0 0 1 1-.12 15.74 15.74 0 0 1 4.17 0 .83.83 0 0 0 .94-.18c.07-.09.21 0 .32 0a5.5 5.5 0 0 0 .69.11c.81 0 1.61.06 2.42.16a8.78 8.78 0 0 0 3.64-.16 1.52 1.52 0 0 1 1 0 3.91 3.91 0 0 0 1.56 0c.11 0 .23-.09.34-.07a12.31 12.31 0 0 0 3.48.14.9.9 0 0 1 .43 0c.54.21 1.1-.22 1.63.19.63-.15 1.27.18 1.89-.22a.61.61 0 0 1 .44 0 7 7 0 0 0 2.87.14c.18 0 .37-.1.52 0 .5.29 1 .06 1.47-.05a3.66 3.66 0 0 1 .78-.18c.7 0 1.39.09 2.09.16a2.4 2.4 0 0 0 1.47-.11.61.61 0 0 1 .44 0 9.68 9.68 0 0 0 3.31 0 4 4 0 0 1 .6.05c.7 0 1.38.49 2.08.08a.34.34 0 0 1 .35 0c.59.36 1.21.08 1.81.19.238.036.481-.01.69-.13a1.21 1.21 0 0 1 1.28 0 .51.51 0 0 0 .34 0 5.44 5.44 0 0 1 1.56 0 4.2 4.2 0 0 0 1.65.1 6.85 6.85 0 0 1 1.89-.31c.23 0 .47-.09.69 0a7.49 7.49 0 0 0 2.35.2c.526.03 1.054.03 1.58 0 .51 0 1-.3 1.55 0a18.47 18.47 0 0 1 2.88-.06h3.91c.316.035.634.035.95 0a2.71 2.71 0 0 1 1.57 0c.356.16.764.16 1.12 0a1.1 1.1 0 0 1 .95.09c.34.14.65-.31 1-.22a5.35 5.35 0 0 0 1.9.19c.85-.09 1.69 0 2.53 0 .84 0 1.83.11 2.77.08a5.61 5.61 0 0 1 2-.06c1 .37 2.09-.08 3.13.11a9.62 9.62 0 0 0 2-.17h3.06c.34 0 .69.17 1 0 .36.44.71.3 1.07 0 .05 0 .13-.07.17 0 .43.41.86 0 1.28-.07 1-.15 2 .16 3 .1.196.002.39-.021.58-.07.09 0 .13-.1.23-.09h.18a3.7 3.7 0 0 0 0-.6V20.4c0-.25 0-.26.09-.34.32-.25.16-.51.11-.77a2.35 2.35 0 0 1-.11-1.11.67.67 0 0 0 0-.44 1.86 1.86 0 0 1-.17-1.5c.33-.87-.34-1.73 0-2.6 0-.11 0-.23-.07-.35a.77.77 0 0 0-.1-.25.77.77 0 0 1 0-.94.93.93 0 0 0 .07-.69 1.56 1.56 0 0 1 0-.65 8.6 8.6 0 0 0-.37-2.55 3.76 3.76 0 0 0-1.15-1.76 2 2 0 0 1-.64-.92c0-.13-.16-.18-.27-.24-.11-.06-.28 0-.37-.11-.27-.25-.57-.46-.83-.74-.26-.28-.75-.16-1.11-.21a.34.34 0 0 1-.19-.09 1 1 0 0 0-.93-.09 1.31 1.31 0 0 1-1-.12 3.61 3.61 0 0 0-1.8-.23 4.33 4.33 0 0 1-1.39 0 4.11 4.11 0 0 0-2.17.08 2 2 0 0 1-.6 0c-.09 0-.22 0-.25-.07-.2-.52-.52-.57-.77-.53h-.55c-.58.06-1.16.12-1.74.15a2.53 2.53 0 0 1-.61-.06 2.94 2.94 0 0 0-2.31.19 2.05 2.05 0 0 1-1 .08c-.29 0-.58-.15-.86 0-.06 0-.13.06-.18 0a1.82 1.82 0 0 0-1.62-.13 2 2 0 0 0-.59.1.6.6 0 0 1-.69 0c-.13-.09-.28-.21-.42-.19a8.87 8.87 0 0 0-2 .11.7.7 0 0 1-.26.08 7.4 7.4 0 0 1-1-.26c-.32-.12-.63.24-1 0a.39.39 0 0 0-.42-.07 1.49 1.49 0 0 1-1.55.06c-.5-.23-.85.37-1.39.13a2.06 2.06 0 0 0-1.37-.17 8.69 8.69 0 0 1-2.77.25 10.58 10.58 0 0 0-2.69.19 2.23 2.23 0 0 1-1.48-.15 1.6 1.6 0 0 0-.94-.21 9.53 9.53 0 0 1-1 .13 16.17 16.17 0 0 1-4.17 0 .83.83 0 0 0-.94.18c-.07.09-.21 0-.32 0a5.46 5.46 0 0 0-.69-.1c-.81 0-1.62-.06-2.42-.16a8.84 8.84 0 0 0-3.65.16 1.55 1.55 0 0 1-1 0 4.11 4.11 0 0 0-1.56 0c-.11 0-.23.1-.34.08a12 12 0 0 0-3.48-.14.9.9 0 0 1-.43 0c-.54-.2-1.1.23-1.63-.19-.63.16-1.27-.17-1.9.22-.12.08-.29 0-.43 0a7 7 0 0 0-2.88-.14.77.77 0 0 1-.52 0c-.49-.29-1-.06-1.46 0a3.63 3.63 0 0 1-.78.17c-.7 0-1.39-.08-2.09-.15a2.43 2.43 0 0 0-1.48.11.64.64 0 0 1-.43 0 9.68 9.68 0 0 0-3.31 0 3 3 0 0 1-.6 0c-.7 0-1.38-.49-2.08-.08a.36.36 0 0 1-.35 0c-.59-.36-1.21-.09-1.81-.19a1.05 1.05 0 0 0-.69.13 1.21 1.21 0 0 1-1.28 0 .51.51 0 0 0-.34 0 5.1 5.1 0 0 1-1.56 0 4.2 4.2 0 0 0-1.65-.1 7.25 7.25 0 0 1-1.89.31c-.23 0-.48.09-.69 0a7.53 7.53 0 0 0-2.36-.21H54.1c-.57 0-1 .31-1.55 0a18.47 18.47 0 0 1-2.88.06h-3.92a5 5 0 0 0-.95 0 2.68 2.68 0 0 1-1.56 0 1.35 1.35 0 0 0-1.13 0 1.08 1.08 0 0 1-.94-.09c-.34-.14-.65.31-1 .22a5.39 5.39 0 0 0-1.91-.19c-.84.09-1.68 0-2.52 0-.84 0-1.84-.12-2.77-.09a5.39 5.39 0 0 1-2 .06c-1-.37-2.09.08-3.13-.1a8.92 8.92 0 0 0-2 .17h-3.06a2.81 2.81 0 0 0-1 0c-.35-.44-.7-.29-1.06 0-.05 0-.13.07-.17 0-.43-.41-.86 0-1.28.06-1 .16-2-.15-3-.09l-1 .06a4.22 4.22 0 0 1-.7.1 18.73 18.73 0 0 0-3.35 0 .31.31 0 0 1-.3-.08c-.25-.32-.48-.12-.69 0a2.89 2.89 0 0 1-1 .32.41.41 0 0 0-.35.17 1.72 1.72 0 0 1-1.12.68c-.86.1-1 1.1-1.73 1.41-.09 0-.1.17-.15.26a.43.43 0 0 0-.06.22c0 .38-.15.52-.43.66a.67.67 0 0 0-.36.45c0 .22-.17.34-.28.51a9.59 9.59 0 0 0-.77 2.45 3.07 3.07 0 0 0-.07.53 4.43 4.43 0 0 0 0 .62c0 .41.1.83.13 1.24.088.437.04.891-.14 1.3-.08.13 0 .29 0 .43s.16.28.15.42a6.4 6.4 0 0 1-.15 1.3c-.12.45.22.86.27 1.29a.57.57 0 0 1 0 .26 1.63 1.63 0 0 0 .17 1.12c.145.39.145.82 0 1.21a5 5 0 0 0-.21 1.9c.08.46.08.93 0 1.39l-2.32-.4z\\\" fill=\\\"#000\\\"/><path d=\\\"M108.23 109.24c-.92-.15-1.81.19-2.72.09-.22 0-.43-.05-.65-.06-.47 0-1-.08-1.42-.07a30.45 30.45 0 0 1-4.48.12 3.25 3.25 0 0 0-.76 0 8.84 8.84 0 0 1-3.69-.12.36.36 0 0 0-.2 0 10.79 10.79 0 0 1-2.6.21 18 18 0 0 1-2.08 0 7.15 7.15 0 0 1-2.07-.07c-.73-.24-1.37.23-2 .19h-.33a24 24 0 0 0-2.94 0c-.52 0-1.06.12-1.57.12a3.69 3.69 0 0 0-1.41 0c-.54.23-1-.13-1.51 0-.18 0-.38 0-.54.07a1.42 1.42 0 0 1-1.07 0c-.64-.13-.77-.77-2-.51a1.75 1.75 0 0 1-1.51-.08.2.2 0 0 0-.21 0 .69.69 0 0 1-1 0c-.68.39-1.37.09-2.06.11-.401 0-.8-.064-1.18-.19a2.12 2.12 0 0 0-1 0c-.86.186-1.74.263-2.62.23a6.6 6.6 0 0 0-1.72 0c-.35.07-.71.27-1-.14-.06-.07-.21 0-.31 0-.32.12-.67.137-1 .05a17.07 17.07 0 0 0-3.27-.16h-1.53a4.94 4.94 0 0 0-.53.1 4.21 4.21 0 0 1-2.25.14.82.82 0 0 0-.65.05 1.72 1.72 0 0 1-1.16.1 3.71 3.71 0 0 0-1.41 0 2.93 2.93 0 0 1-1.63-.1 1.54 1.54 0 0 0-.64-.06h-2.57c-.43 0-.86-.14-1.29-.12-1 0-1.95.13-2.93.22a1.7 1.7 0 0 1-1.07-.2 1.52 1.52 0 0 0-1.49 0 3 3 0 0 1-2.34.06 3.21 3.21 0 0 0-2.47.11 2.37 2.37 0 0 1-1.71.28.54.54 0 0 0-.43 0 1.08 1.08 0 0 1-1.07-.18 1.72 1.72 0 0 0-1.27-.17 5.2 5.2 0 0 1-2.48.1 1 1 0 0 0-.74.12c-.32.189-.7.246-1.06.16a16.11 16.11 0 0 0-2.07-.2 10.24 10.24 0 0 0-2.07.13c-.683.1-1.377.1-2.06 0a4.3 4.3 0 0 1-1.39-.12 4.29 4.29 0 0 0-2.58-.07 2.15 2.15 0 0 1-.43 0l-1.8-.07c-.61 0-1.15 0-1.86-.09h-.62c-.13-.09-.26-.26-.39-.25a2.81 2.81 0 0 1-2.53-.65 1.33 1.33 0 0 1-.76-.39 6.32 6.32 0 0 0-.64-.54c-.77-.42-1.16-1.23-2-1.58a.87.87 0 0 1-.4-.48 2.84 2.84 0 0 0-.83-1.25.51.51 0 0 1-.07-.7h.09-.08c-.1-.14-.32-.31-.27-.42.27-.58 0-1-.21-1.44a.75.75 0 0 1-.09-.48 3.08 3.08 0 0 0 .16-1.11v-1c0-.52-.37-1.08.17-1.59.09-.09 0-.28 0-.43a3.9 3.9 0 0 1 0-1.52.86.86 0 0 0 0-.65 2.3 2.3 0 0 1 0-1.71c0-.17.11-.38 0-.52a1.05 1.05 0 0 1-.11-1.15c.3-.74-.19-1.51.13-2.25a.29.29 0 0 0-.1-.31c-.4-.29-.42-.56-.09-.88.33-.32.17-.45.08-.72a3.26 3.26 0 0 1-.14-1.83c.14-.58.37-1.21-.15-1.81-.13-.14 0-.41 0-.62a2.32 2.32 0 0 0 0-.87 2.1 2.1 0 0 1 .15-1.61 1.86 1.86 0 0 0 0-1.39 2.77 2.77 0 0 1-.22-1.59 6.86 6.86 0 0 0 .09-1.49c0-.54 0-1.08.07-1.61.06-.755.06-1.515 0-2.27a.63.63 0 0 1 .08-.43c.49-.62.27-1.26.13-1.9a1.69 1.69 0 0 1 0-1 1.77 1.77 0 0 0 0-.76 4.58 4.58 0 0 1 0-1.61 3.65 3.65 0 0 0-.1-1.82A2.71 2.71 0 0 1 1.66 63a.61.61 0 0 0-.07-.52c-.22-.41.15-.79 0-1.19A9.51 9.51 0 0 1 1.36 60a.61.61 0 0 1 .08-.32 14 14 0 0 0 .11-2.51.94.94 0 0 0-.2-.52 1 1 0 0 1 0-.86c.07-.24.108-.49.11-.74a2.75 2.75 0 0 0-.14-2 .29.29 0 0 1 0-.22 1.81 1.81 0 0 0 0-1.08 3.24 3.24 0 0 1 .08-1.2 4.51 4.51 0 0 0 .19-2.89 3.9 3.9 0 0 1-.06-.76c0-.73-.61-.77-.61-1.5 0-.36-.14-.62.27-.92.41-.3.26-.81.19-1.17a24.62 24.62 0 0 1 0-5.22c0-.44.08-.87.12-1.3a2.35 2.35 0 0 0-.2-1.19 3.34 3.34 0 0 1-.15-1.85 16.54 16.54 0 0 0 .19-3.37 13.57 13.57 0 0 1 .25-3.47 3 3 0 0 0-.17-1.71 1.56 1.56 0 0 1 .34-1.76c.35-.3.17-.92.17-.92a2.24 2.24 0 0 0 0-.89c0-.29-.56-.82-.52-1.49a18.42 18.42 0 0 1 .39-2.3c.15-.91-.19-1.81-.09-2.71 0-.22.05-.44.06-.66 0-.47.08-.94.07-1.42 0-.74-.1-1.48-.14-2.23a6 6 0 0 1 .37-2.47 7.53 7.53 0 0 0 .24-.81 5.1 5.1 0 0 1 2.37-3.31.4.4 0 0 0 .14-.17 5.43 5.43 0 0 1 2.32-1.74 6.16 6.16 0 0 1 2.25-.67 5.08 5.08 0 0 1 2.25-.06c.73.23 1.36-.24 2.05-.19.11-.01.22-.01.33 0 .98.055 1.96.055 2.94 0 .51 0 1.06-.12 1.57-.12a3.51 3.51 0 0 0 1.41 0c.53-.23 1 .14 1.5 0 .18 0 .38 0 .54-.06a1.37 1.37 0 0 1 1.07 0c.65.13.78.78 2 .52a1.76 1.76 0 0 1 1.5.07.2.2 0 0 0 .22 0 .68.68 0 0 1 1 0c.67-.39 1.37-.1 2-.12.405.002.807.07 1.19.2.329.08.671.08 1 0a10.54 10.54 0 0 1 2.61-.24 6.6 6.6 0 0 0 1.72 0c.36-.06.71-.26 1 .14.05.07.21 0 .31 0 .32-.12.67-.137 1-.05a17.07 17.07 0 0 0 3.27.15h1.53c.18 0 .35-.08.53-.1.75-.1 1.48-.46 2.25-.15a.76.76 0 0 0 .64-.05A1.75 1.75 0 0 1 48 1.38a3.87 3.87 0 0 0 1.4 0 2.87 2.87 0 0 1 1.64.09 1.5 1.5 0 0 0 .63.07c.87 0 1.7 0 2.57-.05.43 0 .87.14 1.3.13 1 0 2-.14 2.93-.22a1.67 1.67 0 0 1 1.06.19 1.52 1.52 0 0 0 1.49 0 3 3 0 0 1 2.35-.07 3.16 3.16 0 0 0 2.47-.1 2.35 2.35 0 0 1 1.71-.28.58.58 0 0 0 .43 0 1.07 1.07 0 0 1 1.06.17c.382.228.841.29 1.27.17a5.37 5.37 0 0 1 2.49-.1.93.93 0 0 0 .74-.11 1.38 1.38 0 0 1 1.06-.17c.685.11 1.377.18 2.07.21a10.25 10.25 0 0 0 2.07-.14 7.82 7.82 0 0 1 2 0 4.36 4.36 0 0 1 1.4.13 4.37 4.37 0 0 0 2.58.07 2.1 2.1 0 0 1 .43-.05l3.59.14a3.41 3.41 0 0 0 .54-.1c.13.07.27.22.38.19.77-.2 1.52-.57 2.31-.17.51-.2 1 .14 1.48.07.75-.1 1.51.19 2.23-.27a.68.68 0 0 1 .54 0c.42.143.878.107 1.27-.1.22-.1.42 0 .58.23v.07l.06-.06c.14-.05.34-.2.41-.12.4.45.82.25 1.25.15a.61.61 0 0 1 .42 0 3.4 3.4 0 0 0 1.94.19c.53 0 1.08-.37 1.59.16.09.1.28 0 .43 0a4.09 4.09 0 0 1 1.52 0 .86.86 0 0 0 .65 0 2.3 2.3 0 0 1 1.71 0c.17 0 .38.11.52 0a1 1 0 0 1 1.15-.11c.74.3 1.51-.19 2.25.13a.28.28 0 0 0 .31-.11c.29-.39.57-.41.88-.08.31.33.46.17.72.08a3.17 3.17 0 0 1 1.83-.14c.58.14 1.21.37 1.81-.15.15-.13.41 0 .63 0 .283.065.577.065.86 0a2.15 2.15 0 0 1 1.61.16c.451.17.952.151 1.39-.05a3 3 0 0 1 1.6-.22 6.79 6.79 0 0 0 1.49.1c.53 0 1.07 0 1.6.07.759.06 1.521.06 2.28 0a.68.68 0 0 1 .42.09 2.1 2.1 0 0 0 1.9.13 1.61 1.61 0 0 1 1 0c.25.05.51.05.76 0a4.35 4.35 0 0 1 1.61 0 3.53 3.53 0 0 0 1.82-.09 2.71 2.71 0 0 1 1.94.06.6.6 0 0 0 .52-.06c.41-.22.79.14 1.19 0a9.51 9.51 0 0 1 1.29-.26.78.78 0 0 1 .33.07 5.15 5.15 0 0 0 1.35.16 5.2 5.2 0 0 1 1.4.24c.207.049.423.049.63 0 .345-.05.693.065.94.31.228.18.472.337.73.47a5.77 5.77 0 0 0 2 1.28.3.3 0 0 1 .17.18c.17.43.54.64.82 1 .33.333.573.742.71 1.19.22.8.27 1.21.37 1.58.1.37.25.71.49 1.38a2.88 2.88 0 0 1 .23 1.78l-.11 1.53c0 .15-.1.13-.21.12.022.425.124.842.3 1.23a2.27 2.27 0 0 1 .28 1.71.63.63 0 0 0 0 .43c.141.361.076.77-.17 1.07a1.67 1.67 0 0 0-.17 1.27 5.33 5.33 0 0 1 .1 2.48.92.92 0 0 0 .11.74c.196.316.258.698.17 1.06a16.11 16.11 0 0 0-.2 2.07 9.57 9.57 0 0 0 .13 2.07 7.89 7.89 0 0 1 0 2.06 4.3 4.3 0 0 1-.13 1.39 4.48 4.48 0 0 0-.07 2.59 2 2 0 0 1 .05.42l-.14 3.59c.019.182.052.363.1.54-.07.12-.22.26-.19.38a3.09 3.09 0 0 1 .17 2.31c.2.5-.14 1-.07 1.48.1.74-.19 1.5.27 2.23a.61.61 0 0 1 0 .53 1.64 1.64 0 0 0 .1 1.28c.1.21 0 .41-.22.57h-.08l.06.07c0 .14.19.34.11.41-.44.41-.25.83-.15 1.25a.61.61 0 0 1 0 .42 3.44 3.44 0 0 0-.19 1.95c0 .52.37 1.08-.16 1.59-.1.09 0 .28 0 .42.1.502.1 1.018 0 1.52a.82.82 0 0 0 0 .65 2.35 2.35 0 0 1 0 1.71c0 .17-.11.39 0 .52.268.329.31.787.11 1.16-.3.74.19 1.5-.13 2.25a.29.29 0 0 0 .11.31c.39.28.42.56.08.88-.34.32-.17.45-.08.72a3.14 3.14 0 0 1 .14 1.82c-.14.59-.37 1.22.15 1.81.13.15 0 .42 0 .63a2.27 2.27 0 0 0 0 .86l-2.45.3a1.7 1.7 0 0 1 0-.55c.2-.67-.23-1.38.19-2-.16-.78.17-1.59-.22-2.37a.91.91 0 0 1 0-.54 11 11 0 0 0 .14-3.61 1.3 1.3 0 0 1 0-.65 2.9 2.9 0 0 0 0-1.84 5.48 5.48 0 0 1-.17-1c0-.87.08-1.74.15-2.61a3.64 3.64 0 0 0-.11-1.85 1 1 0 0 1 0-.55 15.18 15.18 0 0 0 0-4.15 6.28 6.28 0 0 1 0-.75c0-.87.49-1.73.08-2.6a.56.56 0 0 1 0-.44c.36-.74.09-1.51.19-2.27a1.61 1.61 0 0 0-.13-.86 1.86 1.86 0 0 1 0-1.61.75.75 0 0 0 0-.42 8 8 0 0 1 0-1.95 6.58 6.58 0 0 0 .1-2.07 11.94 11.94 0 0 1-.31-2.37 3.17 3.17 0 0 1 0-.87 11.63 11.63 0 0 0 .21-2.94v-2c0-.68-.31-1.3 0-1.95a25.45 25.45 0 0 1-.06-3.6v-4.91a7.9 7.9 0 0 0 0-1.19 6 6 0 0 1-.09-.84.75.75 0 0 1 0-.69 1.93 1.93 0 0 0 .06-1.54v-.09a1.14 1.14 0 0 1-.15-.34 22 22 0 0 0-1.1-2.36 4.34 4.34 0 0 0-2.13-1.82 3.82 3.82 0 0 1-1.31-.81 1.43 1.43 0 0 0-.91-.48h-1.13c-1.63 0-3.45.36-5.17 0a1.23 1.23 0 0 0-1.17.18c-.1.09-.27 0-.41 0a8.39 8.39 0 0 0-.86-.1c-1 0-2-.06-3-.16a13.77 13.77 0 0 0-4.57.16 2.42 2.42 0 0 1-1.28 0 6.39 6.39 0 0 0-2 0c-.14 0-.29.1-.43.08a18.71 18.71 0 0 0-4.36-.14 1.4 1.4 0 0 1-.54 0c-.68-.2-1.38.23-2-.19-.79.16-1.59-.17-2.37.22a.94.94 0 0 1-.55 0 10.89 10.89 0 0 0-3.6-.14 1.2 1.2 0 0 1-.65 0 2.9 2.9 0 0 0-1.84 0 5.64 5.64 0 0 1-1 .17c-.88 0-1.75-.08-2.62-.15a3.76 3.76 0 0 0-1.85.11 1 1 0 0 1-.54 0 15.18 15.18 0 0 0-4.15 0 4.9 4.9 0 0 1-.76 0c-.86 0-1.72-.49-2.6-.08a.54.54 0 0 1-.43 0c-.75-.36-1.52-.09-2.27-.19a1.63 1.63 0 0 0-.87.13 1.83 1.83 0 0 1-1.6 0 .8.8 0 0 0-.43 0 8 8 0 0 1-1.95 0 6.51 6.51 0 0 0-2.06-.1 11.24 11.24 0 0 1-2.37.31 3.17 3.17 0 0 1-.87 0 11.74 11.74 0 0 0-2.95-.21h-2c-.69 0-1.29.31-1.94 0a29 29 0 0 1-3.61.06h-4.9a7.9 7.9 0 0 0-1.19 0 4.19 4.19 0 0 1-2 0 2.07 2.07 0 0 0-1.41 0 1.69 1.69 0 0 1-1.19-.09c-.42-.14-.81.31-1.27.22a8.4 8.4 0 0 0-2.39-.19c-1.06.09-2.11 0-3.16 0-1.05 0-2.3-.12-3.47-.09a8.46 8.46 0 0 1-2.51.06c-1.31-.37-2.61.08-3.92-.1a14 14 0 0 0-2.49.17h-3.83a4.35 4.35 0 0 0-1.3 0c-.44-.44-.88-.29-1.33 0a.22.22 0 0 1-.22 0c-.54-.41-1.07 0-1.6.06-1.28.16-2.55-.15-3.82-.09l-1.19.06a6.44 6.44 0 0 1-.87.1 33.48 33.48 0 0 0-4.25 0 .52.52 0 0 1-.42-.1c-.31-.32-.64-.16-1-.1a3.87 3.87 0 0 1-1.4.1 1 1 0 0 0-.54.05 2.85 2.85 0 0 1-1.88.17c-1.1-.33-2.17.34-3.26.05a2.73 2.73 0 0 0-.75.17c-.351.231-.8.25-1.17.05a1.53 1.53 0 0 0-.87-.07 2.34 2.34 0 0 1-.8 0 8 8 0 0 0-3.09.73 4.44 4.44 0 0 0-1.92 1.77 3.29 3.29 0 0 1-.88 1.06.74.74 0 0 0-.19.41v.47c0 .13-.18.42-.25.64l-.24.64a1 1 0 0 0 0 .7c.086.233.146.474.18.72.02.11.02.22 0 .33a2.55 2.55 0 0 0 .17 1.41 2.67 2.67 0 0 1 0 1.51 7.66 7.66 0 0 0-.21 2.38 6.35 6.35 0 0 1 0 1.74 6.25 6.25 0 0 0 .07 2.72c.047.25.064.506.05.76 0 .1 0 .27-.08.31a.86.86 0 0 0-.53 1v.69c0 .72.11 1.45.14 2.18a3.9 3.9 0 0 1-.06.76 4.57 4.57 0 0 0 .19 2.89c.101.392.128.799.08 1.2A1.89 1.89 0 0 0 4 32a.29.29 0 0 1 0 .22 2.75 2.75 0 0 0-.14 2c.008.265.055.528.14.78a1 1 0 0 1 0 .86.94.94 0 0 0-.2.52c-.04.839 0 1.68.12 2.51.048.1.072.21.07.32a9.51 9.51 0 0 1-.26 1.29c-.12.4.25.78 0 1.19a.61.61 0 0 0-.07.52 2.31 2.31 0 0 1 .07 1.94c-.24.63.36 1.07.13 1.75a3.16 3.16 0 0 0-.18 1.71c.237 1.14.32 2.307.25 3.47a16.54 16.54 0 0 0 .19 3.37A3.34 3.34 0 0 1 4 56.3a2.35 2.35 0 0 0-.2 1.19c.065.43.105.865.12 1.3a24.62 24.62 0 0 1 0 5.22 1.21 1.21 0 0 0 .19 1.17c.08.1 0 .27 0 .41a8.62 8.62 0 0 0-.11.87c0 1-.06 2-.16 3A13.77 13.77 0 0 0 4 74.03c.12.418.12.862 0 1.28a6.72 6.72 0 0 0 0 2c0 .14.09.29.07.43a19.27 19.27 0 0 0-.14 4.36 1.4 1.4 0 0 1 0 .54c-.21.68.22 1.38-.19 2 .16.79-.18 1.59.22 2.38a.85.85 0 0 1 0 .54 10.89 10.89 0 0 0-.14 3.6 1.2 1.2 0 0 1 0 .65 2.9 2.9 0 0 0 0 1.84c.095.326.155.661.18 1 0 .88-.09 1.75-.16 2.62a3.64 3.64 0 0 0 .12 1.85.9.9 0 0 1 0 .54c0 .17-.06.35-.08.52v.44c0 .299.03.597.09.89a5.63 5.63 0 0 0 .68 1.64c.11.18.14.4.26.58.33.63.49 1.55 1.35 1.76a.41.41 0 0 1 .28.25c.29.7 1.06.81 1.61 1.16.23.133.5.179.76.13a1.68 1.68 0 0 1 1.37.27.59.59 0 0 0 .37.07 8.69 8.69 0 0 1 1.9 0 6.9 6.9 0 0 0 2.07.1 10.63 10.63 0 0 1 2.37-.31c.289-.04.581-.04.87 0a11.63 11.63 0 0 0 2.94.21h2c.68 0 1.3-.3 2 0a27 27 0 0 1 3.6-.06h4.91a6.79 6.79 0 0 0 1.19 0 4.19 4.19 0 0 1 2 0 2.2 2.2 0 0 0 1.41 0 1.66 1.66 0 0 1 1.18.09c.43.14.82-.31 1.28-.22a8.37 8.37 0 0 0 2.39.19c1-.1 2.1 0 3.16 0s2.3.11 3.46.08a8.47 8.47 0 0 1 2.51-.06c1.31.37 2.62-.08 3.93.11a15 15 0 0 0 2.49-.17h3.83c.43.065.87.065 1.3 0 .44.44.88.29 1.33 0 .06 0 .16-.07.21 0 .55.42 1.08 0 1.61-.06 1.28-.15 2.54.16 3.82.1l1.19-.07c.288-.05.578-.08.87-.09a35.28 35.28 0 0 0 4.24 0 .58.58 0 0 1 .43.09c.31.32.63.17 1 .11a3.7 3.7 0 0 1 1.4-.11.9.9 0 0 0 .54 0 2.82 2.82 0 0 1 1.89-.16c1.09.33 2.17-.35 3.26-.06.13 0 .29 0 .43-.07a.75.75 0 0 0 .32-.1 1.17 1.17 0 0 1 1.17 0c.271.117.573.141.86.07.288-.05.582-.05.87 0 1.27.08 2.54 0 3.81.14a17.08 17.08 0 0 0 3.11-.12 3.37 3.37 0 0 1 1.63.14 1.1 1.1 0 0 0 .54 0c.17 0 .35-.16.52-.15a9.88 9.88 0 0 1 1.63.15c.56.12 1.07-.22 1.61-.28a.91.91 0 0 1 .33 0c.477.079.966.02 1.41-.17a2.68 2.68 0 0 1 1.51 0 7.75 7.75 0 0 0 2.39.21 6.35 6.35 0 0 1 1.74-.05l-.88 2.39z\\\" fill=\\\"#000\\\"/><rect fill=\\\"#FFF\\\" x=\\\"11.42\\\" y=\\\"10.7\\\" width=\\\"8.18\\\" height=\\\"7.61\\\" rx=\\\"3.8\\\"/><path d=\\\"M15.76 19.17c-.06-.15-.11.19-.17.09-.06-.1 0 0 0-.06s0-.08-.08-.07c-.08.01-.18.31-.28.11h-.06c-.06 0-.2.24-.27-.14-.1.32-.14.09-.22.19-.08.1-.11 0-.16 0s-.14.12-.15-.09c-.01-.21-.15.21-.19.15-.05-.11-.15 0-.23 0-.08 0-.11.09-.15.08-.04-.01 0-.17-.12 0s0-.16-.11-.08 0 0-.06 0-.1.09-.1 0 .23-.74.05-.54c-.18.2-.19.22-.08-.11 0-.05 0-.06 0 0-.13.24-.19.29-.08 0-.22.33-.14 0-.19 0-.05 0 0-.09 0-.21s0-.08-.05 0-.27.2-.29.1c-.02-.1 0-.11-.12-.05s-.2.19 0-.16c0-.06 0 0 0 0h-.09c.01 0 0-.27-.1-.27s0-.06-.08-.08c-.08-.02-.07 0-.1.06s-.38.26-.22 0c0-.07 0-.06-.07 0s-.16.08-.13 0 0-.14-.06-.1c-.06.04-.14 0 0-.16s0-.08 0-.08-.11-.08-.17-.11c-.06-.03.06-.14 0-.16a1.3 1.3 0 0 0-.31 0l.11-.18c.11-.18.17-.21 0-.11-.17.1-.34.08-.14-.11s.16-.24-.19-.11-.45.15-.31 0 0-.05 0 0 0 0 .12-.15.21-.18.11-.17c-.1.01-.36 0-.18-.13s0 0-.12 0h-.19c.04 0 .14-.17.13-.23-.01-.06 0-.1-.18-.11-.18-.01-.11-.09-.07-.16.04-.07-.08-.06.09-.14.35-.16.18-.18 0-.22-.18-.04 0 0 0 0l.09-.31h-.11.18c-.2 0-.57-.06-.19-.16-.2 0 .13-.09.07-.12s.18-.13-.29-.17c-.1 0-.09 0 0 0s.11-.07-.1-.1c-.21-.03 0 0 .22-.05h-.11c.44 0 .25-.06.15-.1-.1-.04-.08 0 0 0 .35 0 .22-.09.19-.14-.03-.05-.36-.12.17-.11.1 0 0 0 0 0s-.13-.09 0-.11c.13-.02.07 0 0 0-.3-.08-.08-.1.06-.12.14-.02.12 0 0 0-.3-.07-.26-.1-.1-.1s-.17-.15.16-.14l-.1-.05c-.38-.1-.39-.13-.06-.08s.17 0 .09 0c-.08 0-.26-.17-.1-.18.16-.01.38 0-.11-.18-.12 0 0 0 0 0s.12 0 0-.06 0-.1.19-.07.15 0 0-.11-.29-.22-.16-.21c.13.01.1 0 .14-.07.04-.07 0-.07.12-.08.12-.01.08-.1.06-.17-.02-.07 0 0 .09 0 .45.18.28 0 .19-.07-.09-.07-.1-.11 0-.07.1.04.06 0 .06 0s-.14-.18 0-.13c.14.05.08 0 0-.16s-.15-.24.14-.09c.07 0 0 0 0-.07s.15 0 .08 0a1.11 1.11 0 0 1-.14-.25h.07c.24.11.1-.09.22-.08.12.01-.06-.08-.12-.16s-.09-.14 0-.07.07 0 .12 0c.05 0 .25.11 0-.21h.09s0-.07.12 0c.36.23.36.25.3 0v-.09c0-.01-.33-.51-.28-.55.05-.04 0-.15.23.17s.21.16.19.09c-.08-.36.24-.16.37-.2.13-.04.1 0 .16.06s0-.07 0-.23 0-.27.06-.2.27.13.34 0 .17-.08.35.13c.18.21.09 0 .06-.21s.07-.14.24.28c.17.42.11.15.11.15v-.06c0-.06-.09-.55 0-.53.09.02.16.2.26.33s.1-.21.18-.12l.06.05s.08.06.12 0c.04-.06.19-.33.31-.15.12.18 0 0 .06 0s.19-.26.28.11c0-.32.1-.1.16-.2s.08 0 .12 0c.04 0 .09-.14.13.07.04.21.08-.24.12-.19.04.05 0 0 0 0h.23c.07 0 .1-.11.14-.11.04 0 .06.16.12 0s.06.14.11 0 0 0 .06-.06.07-.1.09 0c.02.1-.06.77.07.53.06-.09.13-.26.1.09 0 0 0 .06 0 0 .07-.27.12-.32.08 0 .13-.37.12-.07.17-.08.05-.01 0 .09 0 .21s0 .08.06 0 .22-.27.26-.17c.04.1.06.11.13 0s.15-.23 0 .16c0 .07 0 0 0 0s.08-.07.09 0c.01.07.06.27.16.24.1-.03.06 0 .09.06s.06-.06.08-.07c.02-.01.32-.35.22-.05 0 .08 0 .06.07 0s.13-.11.13 0 0 .14.08.08c.08-.06.13 0 .05.15s0 .08 0 .08.11.06.18.08c.07.02 0 .15 0 .15.103.014.207.014.31 0l-.07.2c-.07.2-.12.24.07.09s.32-.15.17.08c-.15.23-.11.27.21.06.32-.21.4-.24.29-.08-.11.16 0 0 0 0s.06 0-.07.18-.16.21-.07.18.34-.1.19.09c-.15.19 0 0 .13 0s.21-.08.19 0a.54.54 0 0 0-.08.25s.06.09.2.07c.14-.02.13.06.11.14-.02.08.09 0-.06.16s-.13.21 0 .21h.06c.06 0 0 .21 0 .31a.47.47 0 0 0 .12 0c-.06 0-.2.1-.17.1.21 0 .58-.08.22.11.2 0-.1.12 0 .13.1.01-.15.17.31.1h.05c-.04 0-.09.09.12.08.21-.01 0 0-.21.1h.12c-.43.13-.23.11-.12.13.11.02.08 0 0 0-.34.12-.2.14-.16.18.04.04.37 0-.15.15-.09 0 0 0 0 0s.15.06 0 .12-.06 0 0 0c.3 0 .09.08 0 .13s-.11 0 0 0c.31 0 .28 0 .12.08-.16.08.19.11-.13.17h.11c.4 0 .42 0 .09.06-.33.06-.17 0-.08.06.09.06.29.1.13.14-.16.04-.38.07.14.15.13 0 0 0 0 0s-.11 0 0 .07 0 .09-.17.11c-.17.02-.14 0 0 .11s.33.14.2.16c-.13.02-.09.07-.12.1a.21.21 0 0 1-.1.11c-.08 0-.05.11 0 .18.05.07 0 0-.09 0-.48-.08-.28 0-.16.11.12.11.12.09 0 .07-.12-.02-.05 0-.05 0s.17.14 0 .12c-.17-.02-.08.07 0 .17s.21.2-.11.11c-.08 0 0 0 0 .07s-.16 0-.06.07c.071.059.135.126.19.2h-.08c-.26-.05-.07.11-.19.13-.12.02.07.07.15.13.08.06.12.12 0 .08-.12-.04-.08 0-.12 0-.04 0-.28 0 0 .21 0 0-.08 0-.07.06.01.06 0 .08-.12 0-.39-.13-.41-.16-.31 0 .1.16.09.17 0 .13h-.16s-.08 0-.16-.12.05.12.17.26c.12.14.28.38.11.29-.17-.09 0 0 0 0s0 .06-.18-.06-.23-.13-.19-.05c.04.08.13.33-.08.21v.12c0 .12.1.2 0 .18a.55.55 0 0 0-.26 0s-.08.06 0 .2 0 .13-.12.12c-.12-.01 0 .1-.16 0s-.23-.11-.22.05c.01.16 0 0 0 .06h-.31v.11c0-.06-.12-.19-.11-.16 0 .2.14.56-.09.23 0 .19-.13-.09-.13 0s-.18-.13-.06.32v.06c0-.04-.1-.08-.07.12s0 0-.12-.19v-.07.12c-.18-.41-.14-.22-.15-.11-.01.11 0 .08 0 0-.16-.32-.16-.18-.21-.14-.05.04 0 .38-.16-.13 0-.09 0 0 0 0s0 .16-.11 0-.05 0 0 .05c0 .31-.07.1-.14 0s-.05-.11 0 0c0 .31 0 .28-.07.12-.07-.16-.09.21-.18-.1v.11c0 .4 0 .42-.06.09-.06-.33-.05-.16-.06-.07-.01.09-.07.29-.13.14-.06-.15-.11-.36-.14.16 0 .13 0 0 0 0s0-.11-.07 0v-2.45s0-.23.09.18c0-.16.09.17.09-.22 0-.08 0 0 0 0 .07.25.13.26.16.11.03-.15 0-.1 0 0 .07.28.07.05.07-.06v-.18a.38.38 0 0 1 .13.13s.09.12 0-.13c0-.07 0-.07 0 0 .13.25.15.08.17 0 .02-.08 0 0 0 0s.25.43.13 0c0-.06 0-.06 0 0 .18.31.1 0 .17.13s0 0 0-.14-.07-.22.07 0c0 0 0-.08.08 0s.17.16.13 0c-.04-.16-.12-.31-.08-.31.04 0 0-.09 0 0 .21.24.14.07.22.1.08.03.06 0 .08 0 .02 0-.16-.27.07 0 0-.14 0-.14.08-.15.08-.01.08-.13.12-.19.04-.06.1 0 .06 0a.15.15 0 0 1 0-.08c-.08-.08-.11-.11 0-.05s.27.14.18 0c0 0-.06-.05 0-.06.06-.01-.1-.17-.05-.18.05-.01 0-.08-.09-.21s-.06-.09.17 0 .23.1.2.06c-.03-.04-.09-.09-.09-.11 0-.02-.27-.27.06-.21.07 0 .16 0-.16-.11-.08 0 0 0 0 0a.27.27 0 0 0 .12 0 .63.63 0 0 1 .19-.07c.15 0 .23-.07-.11-.22-.1 0-.14-.06 0 0s0 0 .06-.07-.09 0-.07 0c.22 0 .28-.08.16-.15-.12-.07 0 0 0 0 .21 0-.22-.07.19-.07-.15 0 .18-.07-.21-.11-.08 0 0 0 0 0 .26 0 .27-.11.13-.16s-.1 0 0 0c.29 0 .06-.06 0-.07-.06-.01-.19 0-.18 0a.63.63 0 0 1 .14-.12s.14-.08-.12-.06c-.07 0-.07 0 0 0 .26-.1.1-.14 0-.16-.1-.02 0 0 0 0s.45-.21.05-.13c-.06 0-.05 0 0 0 .33-.14.06-.09.14-.15.08-.06 0 0-.14 0s-.22 0 0-.08c0 0 .06 0 0 0s-.07 0 0-.08.19-.16 0-.13-.32.08-.32 0-.09 0 0 0c.25-.19.08-.14.11-.22.03-.08 0 0 0-.08s-.28.13 0-.08c-.14 0-.13 0-.14-.09-.01-.09-.12-.09-.17-.14-.05-.05.05-.09 0 0s-.13 0 0-.09.08-.15-.06 0-.06 0 0-.1-.24.21-.19.13c.05-.08.11-.25 0-.21-.11.04-.06-.08-.1-.1-.04-.02 0-.16-.08-.16s-.22.21-.13 0-.15 0-.11-.18C17.1 12.2 17 12 17 12a.17.17 0 0 1-.15-.08v-.06c.13-.43.06-.3-.05 0 0 0 0 .06 0 0 .11-.4-.05 0-.09 0-.04 0-.06-.17-.14-.13a.13.13 0 0 0-.06 0s0 .1-.06.08c-.06-.02-.11-.12-.18 0-.07.12 0 0 0-.09v-.12c0 .05-.06.19-.07.11-.01-.08 0 0 0 0-.05.25-.08.35-.09.16-.01-.19-.1.34-.14.05v.07a.22.22 0 0 0 0 .1c0 .28 0 .2-.07 0s0-.15-.06-.07c-.06.08 0 0-.05 0s-.15 0-.23-.14c-.08-.14-.14.06-.17.13s0 .1-.07-.14c0-.07 0 0 0 0v.14a.21.21 0 0 1-.08-.14v.27c0 .06 0 0 0 0v.18c0 .18 0 .12-.05 0s-.1-.28-.12-.2c-.02.08 0 .16 0 .06s-.11-.13-.08.1c0 .06 0 0 0 0v-.07c-.16-.5-.19-.54-.19-.5a1.22 1.22 0 0 1-.05.17c-.14-.2-.14-.18 0 .22v.09c0-.03-.09-.12 0 0s0 .05 0 0c-.75-.19-.75-.08-.75.04v.1c0 .1 0 .11-.05 0s-.11-.18-.11-.15-.13-.09 0 .15v.07a1.68 1.68 0 0 1-.19-.19c-.08-.09.11.22 0 .05-.11-.17-.09-.11 0 0 .16.29.13.28 0 .1-.13-.18.19.32 0 .15s-.23-.2-.17-.09c.06.11.13.29.06.28-.07-.01-.07.07 0 .23s0 .1-.16 0-.21-.14-.18-.1c.03.04.06.11 0 .12-.06.01.21.34-.1.2-.06 0-.15-.07.13.14.06 0 0 0 0 0h-.11a.33.33 0 0 1-.19 0c-.16 0-.26 0 0 .24.09.06.12.1 0 .06-.12-.04-.06 0-.08.05-.02.05.08 0 .06 0-.21 0-.28 0-.18.11.1.11 0 0 0 0s.2.11-.2 0c.14.08-.19 0 .18.16.08 0 0 0 0 0-.26 0-.3 0-.17.12.13.12.1 0 0 0-.29 0-.07 0 0 .09s.18.05.17.06a.52.52 0 0 1-.17.09s-.14 0 .11.08c.07 0 .07 0 0 0-.27 0-.14.11 0 .16 0 0-.49.09-.08.11.07 0 .06 0 0 0-.36.06-.09.07-.19.11-.1.04 0 0 .14 0s.23 0 0 .07c-.06 0-.06 0 0 0s.06.05 0 .09c-.06.04-.22.11-.08.11h.33c-.01 0 .1 0 0 0-.29.13-.11.13-.16.18-.05.05 0 .06 0 .09s.3-.06 0 .09c.14 0 .13.06.12.12-.01.06.09.12.14.17.05.05-.07.08 0 .06.07-.02.15 0 0 .09s-.11.13.06 0c.17-.13 0 0 0 .1s.28-.16.22-.09c-.06.07-.17.21-.09.2.08-.01 0 .09.08.12s0 .16 0 .18c0 .02.26-.16.12 0s.15 0 .07.21c-.08.21.15-.07.2-.07a.14.14 0 0 1 .12.12s-.06.16 0 .07c-.22.38-.12.27 0 0 0 0 0-.06 0 0-.2.37 0 0 .09 0s0 .19.11.16l.15.2s.07-.08.08-.06c.01.02.07.14.17.07s0 0 0 .09c-.1.3 0 .17 0 .12 0-.05.1-.17.09-.08-.01.09 0 0 0 0 .1-.23.15-.32.12-.14s.18-.31.15 0v-.16c.07-.26.07-.18 0 0s0 .14 0 .07c0 0 .1 0 .13.16s.09-.06.14-.11c.05-.05 0-.1.05.14 0 .08 0 0 0 0v-.14a.34.34 0 0 1 .08.15c0 .12.06-.22.09-.28.03-.06 0 0 0 0s.06 0 .09-.17.06-.12.09 0 .1.29.14.21c.04-.08.07-.15.11 0l.23 2.3z\\\" fill=\\\"#FFF\\\"/><rect fill=\\\"#FFF\\\" x=\\\"25.93\\\" y=\\\"10.7\\\" width=\\\"8.18\\\" height=\\\"7.61\\\" rx=\\\"3.8\\\"/><path d=\\\"M30.27 19.17c0-.15-.11.19-.16.09v-.06s-.06-.08-.09-.07c-.03.01-.17.31-.27.11h-.06c-.06 0-.21.24-.27-.14-.09.32-.14.09-.22.19-.08.1-.11 0-.16 0s-.13.12-.15-.09c-.02-.21-.14.21-.19.15-.06-.11-.15 0-.24 0s-.11.09-.15.08c-.04-.01 0-.17-.12 0s0-.16-.1-.08 0 0-.07 0-.1.09-.1 0 .23-.74 0-.54c-.23.2-.18.22-.07-.11 0-.05 0-.06 0 0-.14.24-.19.29-.09 0-.21.33-.13 0-.19 0s0-.09 0-.21 0-.08-.05 0-.27.2-.29.1c-.02-.1 0-.11-.12-.05s-.19.19 0-.16c0-.06 0 0 0 0h-.08c.01 0 0-.27-.11-.27s0-.06-.08-.08l-.1.06c-.1 0-.38.26-.21 0 0-.07 0-.06-.08 0s-.15.08-.13 0c.02-.08 0-.14-.06-.1-.06.04-.13 0 0-.16s0-.08 0-.08-.11-.08-.17-.11c-.06-.03.06-.14 0-.16a1.23 1.23 0 0 0-.31 0l.12-.18c.12-.18.17-.21 0-.11-.17.1-.35.08-.15-.11.2-.19.16-.24-.19-.11s-.45.15-.31 0 0-.05 0 0 0 0 .11-.15.21-.18.11-.17c-.1.01-.36 0-.17-.13.19-.13 0 0-.13 0h-.18a.5.5 0 0 0 .13-.23c0-.06 0-.1-.19-.11-.19-.01-.1-.09-.06-.16.04-.07-.08-.06.09-.14.34-.16.18-.18 0-.22 0-.1.07-.21.09-.31h-.11.19c-.21 0-.58-.06-.19-.16-.2 0 .13-.09.06-.12s.18-.13-.28-.17c-.1 0-.1 0 0 0s.11-.07-.1-.1c-.21-.03 0 0 .22-.05h-.11c.44 0 .25-.06.15-.1-.1-.04-.08 0 0 0 .36 0 .23-.09.2-.14-.03-.05-.36-.12.17-.11.1 0 0 0 0 0s-.14-.09 0-.11c.14-.02.07 0 0 0-.29-.08-.07-.1.06-.12.13-.02.12 0 0 0-.3-.07-.26-.1-.09-.1s-.18-.15.16-.14l-.1-.05c-.39-.1-.4-.13-.07-.08s.17 0 .09 0c-.08 0-.26-.17-.1-.18.16-.01.38 0-.11-.18-.12 0 0 0 0 0s.13 0 0-.06 0-.1.18-.07.15 0 0-.11-.29-.22-.16-.21c.13.01.1 0 .14-.07.04-.07.06-.07.12-.08.06-.01.08-.1.07-.17-.01-.07 0 0 .08 0 .45.18.28 0 .19-.07-.09-.07-.1-.11 0-.07.1.04.06 0 .06 0s-.13-.18 0-.13c.13.05.09 0 0-.16s-.15-.24.14-.09c.07 0 0 0 0-.07s.16 0 .08 0a1.11 1.11 0 0 1-.14-.25h.07c.24.11.1-.09.22-.08.12.01-.06-.08-.11-.16s-.09-.14 0-.07.08 0 .12 0c.04 0 .26.11 0-.21h.08s0-.07.12 0c.36.23.36.25.3 0v-.09c0-.01-.33-.51-.28-.55.05-.04 0-.15.23.17s.2.16.18.09c-.07-.36.25-.16.38-.2.13-.04.1 0 .15.06.05.06 0-.07 0-.23s0-.27.07-.2.27.13.33 0 .17-.08.35.13c.18.21.1 0 .07-.21s.07-.14.23.28c.16.42.12.15.12.15v-.06c0-.06-.09-.55 0-.53.09.02.17.2.26.33s.1-.21.19-.12l.06.05s.08.06.11 0 .19-.33.32-.15c.13.18 0 0 0 0s.19-.26.28.11c0-.32.11-.1.16-.2s.08 0 .13 0 .08-.14.12.07c.04.21.08-.24.13-.19.07.1.15 0 .23 0 .08 0 .09-.11.13-.11.04 0 .07.16.12 0 .05-.16.07.14.12 0 .05-.14 0 0 0-.06s.07-.1.09 0c.02.1 0 .77.08.53.05-.09.13-.26.1.09 0 0 0 .06 0 0 .08-.27.12-.32.08 0 .14-.37.12-.07.18-.08.06-.01 0 .09 0 .21s0 .08.07 0 .22-.27.25-.17.06.11.13 0 .15-.23 0 .16c0 .07 0 0 0 0s.08-.07.09 0c.01.07.06.27.16.24.1-.03.06 0 .1.06l.08-.07c.09-.07.32-.35.22-.05 0 .08 0 .06.06 0s.14-.11.13 0c-.01.11 0 .14.08.08.08-.06.13 0 .06.15s0 .08 0 .08.12.06.18.08c.06.02 0 .15 0 .15.103.014.207.014.31 0l-.07.2c-.07.2-.12.24.07.09s.32-.15.18.08c-.14.23-.11.27.2.06.31-.21.4-.24.3-.08-.1.16 0 0 0 0s.06 0-.08.18-.16.21-.07.18.34-.1.2.09 0 0 .13 0 .21-.08.18 0-.09.2-.07.25c.02.05.06.09.2.07.14-.02.12.06.1.14-.02.08.09 0 0 .16-.3.23-.14.21 0 .21h.06v.31h.11c-.06 0-.2.1-.17.1.2 0 .57-.08.21.11.21 0-.1.12 0 .13.1.01-.15.17.31.1.1 0 .1 0 0 0s-.09.09.12.08c.21-.01 0 0-.21.1h.12c-.42.13-.23.11-.12.13.11.02.09 0 0 0-.34.12-.2.14-.16.18.04.04.38 0-.14.15-.1 0 0 0 0 0s.16.06 0 .12-.06 0 0 0c.31 0 .09.08 0 .13s-.12 0 0 0c.3 0 .27 0 .11.08-.16.08.2.11-.12.17h.1c.4 0 .43 0 .09.06-.34.06-.17 0-.08.06.09.06.29.1.13.14-.16.04-.37.07.15.15.12 0 0 0 0 0s-.12 0 0 .07 0 .09-.16.11c-.16.02-.15 0 0 .11s.33.14.2.16c-.13.02-.09.07-.11.1-.02.03 0 .08-.1.11s-.06.11 0 .18c.06.07 0 0-.09 0-.48-.08-.28 0-.16.11.12.11.12.09 0 .07-.12-.02 0 0 0 0s.17.14 0 .12c-.17-.02-.08.07 0 .17s.21.2-.12.11c-.07 0 0 0 0 .07s-.16 0-.07.07c.071.059.135.126.19.2h-.08c-.25-.05-.07.11-.19.13-.12.02.08.07.15.13.07.06.12.12 0 .08-.12-.04-.08 0-.12 0-.04 0-.28 0 0 .21 0 0-.08 0-.07.06.01.06 0 .08-.12 0-.38-.13-.4-.16-.3 0 .1.16.08.17 0 .13h-.15s-.08 0-.17-.12c-.09-.12 0 .12.17.26s.28.38.11.29c-.17-.09 0 0 0 0s0 .06-.18-.06-.23-.13-.19-.05c.04.08.13.33-.07.21-.2-.12 0 0 0 .12s.1.2 0 .18a.51.51 0 0 0-.25 0s-.09.06 0 .2 0 .13-.13.12c-.13-.01 0 .1-.16 0s-.23-.11-.21.05c.02.16 0 0 0 .06h-.31v.11c0-.06-.12-.19-.12-.16 0 .2.14.56-.09.23 0 .19-.12-.09-.13 0-.01.09-.18-.13-.06.32v.06c0-.04-.1-.08-.06.12.04.2 0 0-.12-.19v-.07.12c-.17-.41-.14-.22-.14-.11s0 .08 0 0c-.15-.32-.16-.18-.2-.14-.04.04 0 .38-.16-.13 0-.09 0 0 0 0s0 .16-.12 0 0 0 0 .05c0 .31-.07.1-.13 0s-.05-.11 0 0c0 .31 0 .28-.07.12-.07-.16-.09.21-.19-.1v.11c0 .4 0 .42-.06.09-.06-.33 0-.16-.06-.07s-.07.29-.13.14c-.06-.15-.1-.36-.13.16 0 .13 0 0 0 0s0-.11-.07 0v-2.45s0-.23.09.18c0-.16.08.17.09-.22 0-.08 0 0 0 0 .07.25.14.26.17.11.03-.15 0-.1 0 0 .08.28.07.05.07-.06v-.18c0 .01.08.06.14.13.06.07.09.12 0-.13 0-.07 0-.07 0 0 .13.25.14.08.16 0 .02-.08 0 0 0 0s.26.43.14 0c0-.06 0-.06 0 0 .17.31.09 0 .16.13s0 0 0-.14-.06-.22.07 0c0 0 0-.08.08 0s.18.16.13 0c-.05-.16-.11-.31-.08-.31s0-.09 0 0c.21.24.15.07.22.1s.06 0 .08 0c.02 0-.15-.27.08 0 0-.14 0-.14.08-.15.08-.01.07-.13.11-.19.04-.06.1 0 .06 0v-.08c-.08-.08-.11-.11 0-.05s.26.14.18 0c0 0-.05-.05-.05-.06 0-.01-.1-.17 0-.18.1-.01 0-.08-.1-.21s-.06-.09.17 0 .23.1.2.06c-.03-.04-.09-.09-.09-.11 0-.02-.27-.27.06-.21.07 0 .16 0-.16-.11-.07 0 0 0 0 0a.22.22 0 0 0 .11 0 .63.63 0 0 1 .19-.07c.15 0 .24-.07-.11-.22-.09 0-.14-.06 0 0s0 0 0-.07-.09 0-.07 0c.22 0 .28-.08.17-.15-.11-.07 0 0 0 0 .21 0-.22-.07.2-.07-.16 0 .17-.07-.22-.11-.08 0 0 0 0 0 .26 0 .28-.11.13-.16-.15-.05-.1 0 0 0 .29 0 .06-.06 0-.07-.06-.01-.18 0-.18 0a1 1 0 0 1 .14-.12s.14-.08-.12-.06c-.07 0-.06 0 0 0 .27-.1.1-.14 0-.16-.1-.02 0 0 0 0s.46-.21.06-.13c-.06 0-.06 0 0 0 .33-.14.06-.09.14-.15.08-.06 0 0-.13 0s-.23 0 0-.08c0 0-.07 0 0-.08s.19-.16 0-.13-.32.08-.32 0-.09 0 0 0c.26-.19.08-.14.12-.22.04-.08 0 0 0-.08s-.28.13 0-.08c-.15 0-.14 0-.15-.09-.01-.09-.12-.09-.17-.14-.05-.05 0-.09 0 0s-.14 0 0-.09.08-.15-.06 0-.06 0 0-.1-.23.21-.19.13c.04-.08.12-.25 0-.21-.12.04 0-.08-.1-.1-.1-.02 0-.16-.08-.16s-.22.21-.13 0-.14 0-.11-.18c.03-.18-.13.1-.18.1a.17.17 0 0 1-.15-.08v-.06c.13-.43.06-.3 0 0 0 0 0 .06 0 0 .11-.4 0 0-.08 0s-.07-.17-.14-.13a.12.12 0 0 0-.07 0s0 .1-.06.08c-.06-.02-.1-.12-.18 0-.08.12 0 0 0-.09v-.12c0 .05-.06.19-.07.11-.01-.08 0 0 0 0-.05.25-.07.35-.09.16-.02-.19-.1.34-.14.05v.07a.56.56 0 0 0 0 .1c0 .28 0 .2-.07 0s0-.15 0-.07c0 .08 0 0-.06 0s-.15 0-.23-.14c-.08-.14-.13.06-.16.13s0 .1-.07-.14c0-.07 0 0 0 0v.14c0-.01 0 0-.07-.14s0 .21 0 .27c0 .06 0 0 0 0v.18c0 .18 0 .12 0 0s-.11-.28-.13-.2c-.02.08 0 .16-.05.06s-.11-.13-.07.1c0 .06 0 0 0 0v-.07c-.16-.5-.19-.54-.19-.5a1.46 1.46 0 0 1 0 .17h-.06c-.14-.2-.14-.18 0 .22v.09c0-.03-.09-.12 0 0s0 .05 0 0c-.2-.34-.17-.2-.14-.08.03.12 0 0 0 .1s0 .11 0 0-.12-.18-.12-.15-.13-.09 0 .15v.07l-.19-.19c-.08-.09.11.22 0 .05-.11-.17-.09-.11 0 0 .16.29.13.28 0 .1-.13-.18.18.32 0 .15s-.23-.2-.17-.09c.06.11.12.29.05.28-.07-.01-.06.07 0 .23s0 .1-.16 0-.2-.14-.18-.1c.02.04.06.11.06.12 0 .01.21.34-.1.2-.07 0-.16-.07.12.14.07 0 0 0 0 0h-.11a.37.37 0 0 1-.2 0c-.15 0-.25 0 .06.24.08.06.12.1 0 .06-.12-.04-.06 0-.07.05-.01.05.08 0 .06 0-.22 0-.29 0-.19.11.1.11 0 0 0 0-.21 0 .19.11-.21 0 .14.08-.19 0 .18.16.08 0 0 0 0 0-.26 0-.3 0-.16.12.14.12.09 0 0 0-.29 0-.07 0 0 .09s.18.05.17.06a.65.65 0 0 1-.17.09c-.06 0-.15 0 .11.08.07 0 .06 0 0 0-.27 0-.13.11 0 .16 0 0-.48.09-.07.11.06 0 0 0 0 0-.36.06-.09.07-.18.11-.09.04 0 0 .13 0s.24 0 0 .07c0 0-.06 0 0 0s.07.05 0 .09c-.07.04-.22.11-.08.11h.32c-.01 0 .1 0 0 0-.3.13-.12.13-.17.18-.05.05 0 .06 0 .09s.3-.06 0 .09c.14 0 .12.06.12.12s.08.12.13.17c.05.05-.07.08 0 .06.07-.02.14 0 0 .09s-.12.13 0 0 .06 0 0 .1.28-.16.21-.09c-.07.07-.16.21-.09.2.07-.01 0 .09.08.12s0 .16 0 .18c0 .02.26-.16.13 0s.14 0 .06.21c-.08.21.16-.07.2-.07a.15.15 0 0 1 .13.12s-.06.16 0 .07c-.22.38-.12.27 0 0 0 0 0-.06 0 0-.19.37 0 0 .09 0s0 .19.11.16h.08s.07-.08.07-.06c0 .02.08.14.17.07.09-.07 0 0 0 .09-.09.3 0 .17 0 .12 0-.05.1-.17.09-.08-.01.09 0 0 0 0 .1-.23.15-.32.13-.14-.02.18.17-.31.14 0v-.06a.29.29 0 0 0 0-.1c.08-.26.07-.18.06 0-.01.18 0 .14 0 .07 0 0 .1 0 .13.16s.1-.06.14-.11c.04-.05 0-.1.06.14 0 .08 0 0 0 0v-.14c0 .01 0 0 .08.15s.06-.22.1-.28c.04-.06 0 0 0 0l.08-.17c.08-.17.06-.12.09 0s.1.29.15.21c.05-.08.07-.15.1 0l-.36 2.14z\\\" fill=\\\"#FFF\\\"/><rect fill=\\\"#FFF\\\" x=\\\"40.45\\\" y=\\\"10.7\\\" width=\\\"8.18\\\" height=\\\"7.61\\\" rx=\\\"3.8\\\"/><path d=\\\"M44.79 19.17c-.06-.15-.11.19-.17.09v-.06s-.06-.08-.08-.07c-.02.01-.18.31-.28.11h-.06c-.06 0-.21.24-.27-.14-.09.32-.14.09-.21.19-.07.1-.11 0-.17 0-.06 0-.13.12-.14-.09-.01-.21-.15.21-.2.15-.06-.11-.15 0-.23 0-.08 0-.12.09-.16.08-.04-.01 0-.17-.12 0s0-.16-.1-.08 0 0-.07 0-.09.09-.09 0 .23-.74 0-.54c-.23.2-.18.22-.07-.11 0-.05 0-.06 0 0-.14.24-.19.29-.08 0-.22.33-.14 0-.2 0s0-.09 0-.21 0-.08 0 0-.28.2-.29.1c-.01-.1 0-.11-.13-.05s-.19.19 0-.16c0-.06 0 0 0 0h-.08c.01 0 0-.27-.1-.27s-.05-.06-.09-.08l-.09.06c-.1 0-.39.26-.22 0 0-.07 0-.06-.07 0s-.16.08-.14 0c.02-.08 0-.14-.06-.1-.06.04-.13 0 0-.16s0-.08 0-.08-.1-.08-.16-.11.06-.14 0-.16a1.37 1.37 0 0 0-.31 0l.11-.18c.11-.18.17-.21-.05-.11-.22.1-.34.08-.15-.11.19-.19.17-.24-.19-.11s-.45.15-.31 0 0-.05 0 0 0 0 .12-.15.2-.18.11-.17c-.09.01-.36 0-.18-.13s0 0-.13 0h-.18c.04 0 .14-.17.13-.23-.01-.06 0-.1-.18-.11-.18-.01-.11-.09-.07-.16.04-.07-.08-.06.09-.14.34-.16.18-.18 0-.22-.18-.04-.06 0-.05 0 .01 0 .06-.21.08-.31h-.11.18c-.2 0-.58-.06-.19-.16-.2 0 .13-.09.06-.12s.18-.13-.28-.17c-.1 0-.1 0 0 0s.1-.07-.1-.1 0 0 .22-.05h-.12c.45 0 .26-.06.16-.1-.1-.04-.08 0 0 0 .35 0 .22-.09.19-.14-.03-.05-.36-.12.17-.11.1 0 0 0 0 0s-.14-.09 0-.11c.14-.02.07 0 0 0-.3-.08-.08-.1.06-.12.14-.02.11 0 0 0-.29-.07-.26-.1-.09-.1s-.17-.15.16-.14l-.1-.05c-.38-.1-.4-.13-.07-.08s.17 0 .09 0c-.08 0-.26-.17-.1-.18.16-.01.38 0-.1-.18-.12 0 0 0 0 0s.12 0 0-.06 0-.1.19-.07.15 0 0-.11-.29-.22-.15-.21c.14.01.1 0 .13-.07s.06-.07.13-.08c.07-.01.07-.1.06-.17-.01-.07 0 0 .09 0 .45.18.28 0 .18-.07-.1-.07-.1-.11 0-.07.1.04 0 0 0 0s-.13-.18 0-.13c.13.05.08 0 0-.16s-.15-.24.14-.09c.07 0 0 0 0-.07s.15 0 .08 0a2 2 0 0 1-.15-.25h.08c.23.11.1-.09.21-.08.11.01 0-.08-.11-.16s-.09-.14 0-.07.07 0 .11 0c.04 0 .26.11 0-.21h.08s0-.07.13 0c.36.23.36.25.29 0v-.09c0-.01-.33-.51-.28-.55.05-.04 0-.15.23.17s.2.16.19.09c-.08-.36.24-.16.37-.2.13-.04.1 0 .15.06.05.06 0-.07 0-.23s0-.27.06-.2.27.13.34 0 .17-.08.34.13c.17.21.1 0 .07-.21s.07-.14.24.28c.17.42.11.15.11.15l.05-.06c.05-.06-.09-.55 0-.53.09.02.16.2.26.33s.09-.21.18-.12l.06.05s.08.06.11 0 .19-.33.32-.15c.13.18 0 0 .06 0s.19-.26.27.11c0-.32.1-.1.15-.2.05-.1.09 0 .13 0 .04 0 .09-.14.13.07.04.21.08-.24.12-.19.04.05 0 0 0 0h.23c.08 0 .09-.11.13-.11.04 0 .07.16.12 0 .05-.16.07.14.12 0 .05-.14 0 0 0-.06s.08-.1.1 0c.02.1-.06.77.07.53 0-.09.13-.26.1.09 0 0 0 .06 0 0 .08-.27.12-.32.08 0 .14-.37.13-.07.18-.08.05-.01 0 .09 0 .21s0 .08.06 0 .22-.27.26-.17c.04.1 0 .11.13 0s.15-.23 0 .16c0 .07 0 0 0 0s.08-.07.08 0 .06.27.16.24c.1-.03.06 0 .1.06l.08-.07c.09-.07.32-.35.22-.05 0 .08 0 .06.07 0s.13-.11.12 0c-.01.11 0 .14.08.08.08-.06.13 0 .06.15s0 .08 0 .08.12.06.19.08c.07.02 0 .15 0 .15.106.014.214.014.32 0l-.07.2c-.07.2-.12.24.06.09s.33-.15.18.08c-.15.23-.11.27.2.06.31-.21.41-.24.3-.08-.11.16 0 0 0 0s.06 0-.08.18-.16.21-.06.18.34-.1.19.09c-.15.19 0 0 .13 0s.21-.08.18 0-.09.2-.07.25c.02.05.06.09.2.07.14-.02.12.06.1.14-.02.08.1 0 0 .16s-.14.21 0 .21v.31h.11c-.06 0-.2.1-.17.1.21 0 .57-.08.22.11.2 0-.1.12 0 .13.1.01-.15.17.31.1.1 0 .1 0 0 0s-.09.09.12.08c.21-.01 0 0-.2.1h.11c-.42.13-.22.11-.12.13.1.02.09 0 0 0-.33.12-.2.14-.16.18.04.04.38 0-.14.15-.1 0 0 0 0 0s.15.06 0 .12-.06 0 0 0c.31 0 .1.08 0 .13s-.11 0 0 0c.31 0 .27 0 .11.08-.16.08.2.11-.12.17h.11c.4 0 .42 0 .08.06-.34.06-.16 0-.08.06s.29.1.14.14c-.15.04-.38.07.14.15.13 0 0 0 0 0s-.11 0 0 .07 0 .09-.17.11c-.17.02-.14 0 0 .11s.32.14.19.16c-.13.02-.08.07-.11.1s0 .08-.1.11-.06.11 0 .18c.06.07 0 0-.08 0-.49-.08-.29 0-.17.11.12.11.13.09 0 .07-.13-.02-.06 0 0 0s.17.14 0 .12c-.17-.02-.07.07 0 .17s.21.2-.11.11c-.08 0 0 0 0 .07s-.16 0-.07.07a.84.84 0 0 1 .19.2h-.07c-.26-.05-.08.11-.19.13-.11.02.07.07.14.13s.12.12 0 .08c-.12-.04-.07 0-.12 0-.05 0-.27 0 0 .21 0 0-.08 0-.06.06.02.06 0 .08-.12 0-.39-.13-.41-.16-.31 0 .1.16.08.17 0 .13h-.16s-.08 0-.17-.12a.69.69 0 0 0 .17.26c.17.21.28.38.12.29-.16-.09 0 0 0 0s0 .06-.19-.06-.23-.13-.19-.05c.04.08.14.33-.07.21-.21-.12-.05 0 0 .12s.1.2 0 .18a.56.56 0 0 0-.26 0s-.09.06 0 .2 0 .13-.12.12c-.12-.01 0 .1-.17 0s-.23-.11-.21.05c.02.16 0 0 0 .06h-.31v.11c0-.06-.12-.19-.11-.16 0 .2.13.56-.09.23 0 .19-.13-.09-.14 0-.01.09-.17-.13-.06.32v.06c0-.04-.11-.08-.07.12.04.2 0 0-.12-.19v-.07.19c-.17-.41-.14-.22-.14-.11s0 .08 0 0c-.15-.32-.16-.18-.2-.14-.04.04 0 .38-.16-.13 0-.09 0 0 0 0s0 .16-.12 0 0 0 0 .05c0 .31-.07.1-.13 0s0-.11 0 0c0 .31 0 .28-.07.12-.07-.16-.09.21-.18-.1v.11c0 .4 0 .42-.06.09-.06-.33 0-.16-.06-.07s-.08.29-.13.14c-.05-.15.1-.57.1-.02 0 .13 0 0 0 0s0-.11-.07 0V17.1s.05-.23.09.18c0-.16.08.17.09-.22 0-.08 0 0 0 0 .08.25.14.26.17.11.03-.15 0-.1 0 0 .07.28.06.05.07-.06a1 1 0 0 1 0-.18.32.32 0 0 1 .14.13s.09.12.05-.13c0-.07 0-.07 0 0 .13.25.15.08.16 0 .01-.08 0 0 0 0s.25.43.13 0c0-.06 0-.06 0 0 .17.31.09 0 .17.13.08.13 0 0 0-.14s-.06-.22.07 0c0-.09 0-.08.08 0s.18.16.14 0c-.04-.16-.12-.31-.08-.31.04 0 0-.09 0 0 .22.24.15.07.23.1.08.03 0 0 .07 0s-.15-.27.08 0c0-.14 0-.14.08-.15.08-.01.08-.13.12-.19.04-.06.09 0 0 0s0-.07 0-.08c0-.01-.11-.11 0-.05s.26.14.18 0v-.06c0-.01-.1-.17 0-.18.1-.01 0-.08-.09-.21s-.06-.09.16 0 .24.1.21.06c-.03-.04-.09-.09-.09-.11 0-.02-.27-.27.06-.21.06 0 .16 0-.16-.11-.08 0 0 0 0 0h.11a.77.77 0 0 1 .19-.07c.15 0 .24-.07-.11-.22-.09 0-.13-.06 0 0s0 0 .06-.07-.09 0-.07 0c.22 0 .27-.08.16-.15-.11-.07 0 0 0 0 .2 0-.22-.07.19-.07-.16 0 .18-.07-.21-.11-.08 0 0 0 0 0 .27 0 .28-.11.14-.16s-.1 0 0 0c.28 0 0-.06-.06-.07-.06-.01-.18 0-.17 0a.63.63 0 0 1 .14-.12s.13-.08-.13-.06c-.07 0-.06 0 0 0 .27-.1.11-.14 0-.16-.11-.02 0 0 0 0s.45-.21.05-.13c-.06 0-.06 0 0 0 .33-.14.06-.09.15-.15s0 0-.14 0-.23 0 0-.08c0 0 .06 0 0 0s-.08 0 0-.08.18-.16 0-.13-.33.08-.32 0c.01-.08-.1 0 0 0 .25-.19.07-.14.11-.22.04-.08 0 0 0-.08s-.28.13 0-.08c-.14 0-.13 0-.15-.09-.02-.09-.11-.09-.17-.14-.06-.05.05-.09 0 0s-.13 0 0-.09.08-.15-.07 0c-.15.15 0 0 0-.1s-.23.21-.18.13c.05-.08.11-.25 0-.21-.11.04-.06-.08-.1-.1-.04-.02 0-.16-.09-.16s-.21.21-.13 0c.08-.21-.14 0-.11-.18.03-.18-.15-.27-.15-.27a.15.15 0 0 1-.15-.08v-.06c.13-.43 0-.3-.06 0 0 0 0 .06 0 0 .1-.4 0 0-.09 0s-.07-.17-.14-.13h-.07s-.05.1-.05.08c0-.02-.11-.12-.19 0s0 0 0-.09v-.12c0 .05-.06.19-.08.11-.02-.08 0 0 0 0 0 .25-.07.35-.09.16-.02-.19-.1.34-.13.05v.07a.84.84 0 0 1 0 .1c0 .28 0 .2-.07 0s0-.15 0-.07c0 .08 0 0 0 0s-.16 0-.23-.14-.14.06-.17.13 0 .1-.07-.14c0-.07 0 0 0 0a.88.88 0 0 0 0 .14l-.08-.14c-.08-.14 0 .21 0 .27 0 .06 0 0 0 0v.18c0 .18 0 .12 0 0s-.11-.28-.12-.2c-.01.08 0 .16 0 .06s-.11-.13-.08.1c0 .06 0 0 0 0v-.07c-.15-.5-.19-.54-.19-.5a.61.61 0 0 1 0 .17c-.14-.2-.15-.18 0 .22v.09c0-.03-.09-.12 0 0s0 .05 0 0c-.2-.34-.16-.2-.13-.08.03.12 0 0 0 .1s0 .11 0 0-.12-.18-.11-.15c.01.03-.14-.09 0 .15v.07l-.18-.19c-.08-.09.1.22 0 .05-.1-.17-.1-.11-.06 0 .17.29.14.28 0 .1-.14-.18.19.32 0 .15s-.23-.2-.17-.09c.06.11.12.29 0 .28-.12-.01-.06.07 0 .23s0 .1-.15 0-.21-.14-.19-.1c.02.04.07.11.06.12-.01.01.21.34-.1.2-.06 0-.15-.07.12.14.07 0 0 0 0 0h-.11a.34.34 0 0 1-.19 0c-.16 0-.26 0 0 .24.09.06.12.1 0 .06-.12-.04-.06 0-.08.05-.02.05.08 0 .06 0-.22 0-.28 0-.19.11.09.11 0 0 0 0-.21 0 .19.11-.21 0 .15.08-.18 0 .19.16.07 0 0 0 0 0-.26 0-.31 0-.17.12.14.12.09 0 0 0-.28 0-.06 0 0 .09s.18.05.17.06a.65.65 0 0 1-.17.09s-.15 0 .11.08c.07 0 .06 0 0 0-.28 0-.14.11 0 .16 0 0-.49.09-.08.11.06 0 .06 0 0 0-.35.06-.09.07-.18.11-.09.04 0 0 .14 0s.23 0 0 .07c-.05 0-.06 0 0 0s.07.05 0 .09c-.07.04-.22.11-.08.11h.33c-.01 0 .1 0 0 0-.29.13-.11.13-.16.18-.05.05 0 .06 0 .09s.3-.06 0 .09c.14 0 .12.06.12.12s.08.12.13.17c.05.05-.06.08 0 .06.06-.02.15 0 0 .09s-.12.13 0 0 .06 0 0 .1.28-.16.21-.09c-.07.07-.16.21-.08.2.08-.01 0 .09.07.12s0 .16 0 .18c0 .02.26-.16.12 0s.15 0 .07.21c-.08.21.15-.07.19-.07a.15.15 0 0 1 .13.12s-.06.16 0 .07c-.22.38-.11.27 0 0 0 0 0-.06 0 0-.19.37 0 0 .1 0s0 .19.1.16L43 17s.07-.08.08-.06c.01.02.07.14.16.07s0 0 0 .09c-.1.3 0 .17 0 .12 0-.05.11-.17.1-.08-.01.09 0 0 0 0 .11-.23.16-.32.13-.14s.17-.31.14 0v-.06a.64.64 0 0 0 0-.1c.07-.26.06-.18.05 0-.01.18 0 .14 0 .07 0 0 .09 0 .13.16.04.16.09-.06.13-.11.04-.05.05-.1.06.14 0 .08 0 0 0 0v-.14c0 .01 0 0 .07.15s.07-.22.1-.28c.03-.06 0 0 0 0s.06 0 .09-.17.06-.12.09 0 .09.29.14.21c.05-.08.07-.15.11 0l.21 2.3z\\\" fill=\\\"#FFF\\\"/><rect fill=\\\"#3B6EF1\\\" x=\\\"15.51\\\" y=\\\"76.77\\\" width=\\\"31.13\\\" height=\\\"18.31\\\" rx=\\\"3.59\\\"/><path d=\\\"M42.9 95.94c-.2-.16-.4.18-.6.09l-.15-.07a1.2 1.2 0 0 0-.32-.06c-.33 0-.67.3-1 .11h-.17c-.28.13-.55.25-.83-.12-.19.32-.39.1-.59.21-.2.11-.31 0-.46 0-.15 0-.32.14-.47-.07-.15-.21-.3.24-.46.19h-.07a1.14 1.14 0 0 0-.66 0c-.11 0-.24.12-.35.12-.11 0-.22-.15-.32 0s-.22-.13-.33 0c-.11.13-.09 0-.12.06s-.16.12-.24 0c-.08-.12-.18-.77-.45-.52-.11.1-.23.29-.34-.07h-.05c-.07.28-.15.35-.22 0-.15.4-.31.1-.46.12-.15.02-.18-.08-.27-.2-.09-.12-.14-.07-.22 0-.08.07-.39.31-.58.23a.37.37 0 0 0-.39 0c-.08.07-.16.27-.23-.14 0-.07-.05 0-.07 0-.02 0-.14.1-.22 0a.9.9 0 0 0-.73-.16 1.93 1.93 0 0 1-.34 0s-.08.07-.12.1c-.04.03-.33.45-.5.14 0-.08-.1 0-.15 0-.05 0-.17.16-.26.09s-.21-.12-.31 0-.25.1-.37-.1-.1-.08-.14-.07a3.79 3.79 0 0 1-.58 0c-.09 0-.19-.14-.29-.12a3.11 3.11 0 0 0-.65.22c-.09 0-.16 0-.24-.2-.08-.2-.22-.26-.34 0-.12.26-.35.33-.52.06-.17-.27-.38-.26-.56.11-.18.37-.25.46-.38.27s-.07 0-.1 0-.16 0-.23-.17-.19-.26-.29-.17c-.1.09-.37.33-.56.1 0-.06-.11 0-.16.11s-.16.22-.24.17a1 1 0 0 0-.46-.2.57.57 0 0 0-.47.13c-.15.14-.3.08-.46 0-.16-.08-.21.06-.31-.12-.19-.38-.38-.22-.58-.07a.18.18 0 0 1-.09 0l-.81-.14s-.08.07-.12.11c0-.07 0-.23-.08-.2-.17.2-.34.57-.52.17-.11.2-.22-.13-.33-.07-.11.06-.34-.19-.5.27 0 .1-.08.1-.12 0-.04-.1-.16-.11-.32.09s-.13 0-.16-.23v-.08.06s-.12.18-.14.1c-.09-.44-.21-.28-.36-.2-.15.08-.11.07-.13 0-.12-.38-.31-.3-.51-.32-.2-.02-.44.23-.37-.32 0-.1-.07 0-.11-.05-.04-.05-.33 0-.37-.22-.04-.22-.07-.12-.17-.07-.31.18-.32-.12-.36-.31-.04-.19 0-.15-.11-.1-.28.16-.34 0-.31-.14.08-.35-.45-.18-.32-.56h-.13c-.37.17-.45.11-.22-.15s.08-.2 0-.22c-.08-.02-.42-.18-.36-.4.06-.22.22-.45-.34-.46-.13 0 0-.12 0-.19s.06-.19-.05-.25-.11-.33.07-.49c.18-.16.12-.27-.07-.4s-.35-.26-.22-.39c.13-.13.07-.22.09-.33a2.33 2.33 0 0 1 .08-.36.81.81 0 0 0 0-.51s0-.07.08-.09c.49-.14.27-.29.13-.43s-.14-.14 0-.22c.14-.08 0-.11 0-.17 0-.06-.21-.23 0-.36.21-.13 0-.27-.1-.41-.1-.14-.26-.29.07-.43.08 0 0-.08-.07-.12-.07-.04.15-.17 0-.26a1.65 1.65 0 0 1-.26-.29l.08-.08c.25-.18 0-.37.11-.56 0 0-.1-.07-.19-.11-.09-.04-.17-.13 0-.19s.06-.12.1-.17c.04-.05.26-.31-.13-.46 0 0 .06-.16 0-.24a.21.21 0 0 1 .08-.27c.41-.32.42-.32.19-.64a.25.25 0 0 1-.06-.17c0-.17-.61-.18-.61-.34 0-.16-.14-.14.28-.21.42-.07.25-.18.18-.26-.33-.39 0-.78 0-1.17a.93.93 0 0 1 .13-.29c0-.09 0-.18-.21-.27-.21-.09-.25-.27-.15-.41a1 1 0 0 0 .2-.76 1 1 0 0 1 .3-.93c.14-.14.1-.31-.07-.52-.17-.21 0-.44.49-.38s.25-.16.25-.16.07-.16.07-.23-.38-.48-.23-.64a1.47 1.47 0 0 1 .71-.29c.27-.09.22-.5.48-.6a.6.6 0 0 0 .19-.06 2.32 2.32 0 0 0 .36-.16c.32-.25.62-.67 1.09-.61.08 0 .14 0 .21-.08a.71.71 0 0 1 1 0c.2-.32.39-.1.59-.21.2-.11.31 0 .46 0 .15 0 .32-.14.47.08.15.22.3-.24.46-.19.16.05 0 0 .07 0 .216.06.444.06.66 0 .11 0 .24-.12.35-.12.11 0 .22.15.32 0s.22.13.33 0c.11-.13.09 0 .13-.06.04-.06.15-.12.24 0s.17.77.45.52c.1-.11.22-.29.33.07.07-.28.15-.35.22 0 .16-.4.31-.1.46-.12.15-.02.18.08.27.19.09.11.14.08.22 0 .08-.08.39-.31.58-.23a.37.37 0 0 0 .39 0c.08-.07.16-.27.23.14 0 .07 0 0 .07 0s.14-.1.22-.05a.9.9 0 0 0 .73.16c.113-.01.227-.01.34 0 0 0 .08-.08.12-.1.04-.02.33-.45.51-.14 0 .08.1.05.14 0 .04-.05.17-.16.26-.09s.21.12.32 0c.11-.12.24-.1.36.1s.1.08.14.07a3.9 3.9 0 0 1 .58-.05c.1 0 .19.14.29.12a3.41 3.41 0 0 0 .66-.22c.08 0 .16 0 .24.2.08.2.22.26.33 0 .11-.26.35-.33.52-.06.17.27.38.26.56-.11.18-.37.25-.46.38-.28s.07 0 .1 0 .16 0 .24.17c.08.17.18.26.28.17.1-.09.37-.33.56-.1 0 .06.11 0 .16-.12s.16-.21.24-.16a1 1 0 0 0 .46.2.6.6 0 0 0 .47-.13c.15-.14.3-.08.46 0 .16.08.21-.06.31.12.2.38.39.22.58.07a.18.18 0 0 1 .1 0l.8.14s.08-.07.12-.11c0 .07.06.23.08.2.17-.2.34-.57.52-.17.11-.2.22.13.33.07.11-.06.34.19.5-.27 0-.1.08-.1.12-.05.04.05.19.11.29-.09.1-.2.09 0 .12.22v.08-.06s.08-.19.1-.11c.09.44.18.25.28.15.1-.1.06-.08.09 0 .14.35.29.22.44.18.15-.04.24-.36.35.17 0 .1.07 0 .1 0s.23-.15.34 0c.11.15.1.06.14 0 .14-.3.26-.09.39 0s.08.12.11 0c.09-.3.17-.27.26-.1s.32-.2.53.13c0 0 .07 0 .09-.1.1-.39.2-.41.26-.07.06.34.1.18.19.11.09-.07.41-.23.55 0 .14.23.2.45.55 0 .09-.1.12.06.17.1.05.04.11.17.23.12.12-.05.32.12.34.36.02.24.13.26.35.2.22-.06.48 0 .51.15.03.15.16.26.24.39.102.122.184.26.24.41a2 2 0 0 0 .37.57v.15c-.36.37-.11.42.09.55.2.13.2.13.1.26s0 .15 0 .22.26.26.12.44 0 .35.13.52c.13.17.26.3-.06.45-.08 0 0 .08.06.11s-.15.18 0 .27a1 1 0 0 1 .26.29l-.07.07c-.26.19 0 .38-.12.56-.12.18.11.08.2.12.09.04.16.13 0 .19s-.07.11-.11.17c-.04.06-.26.3.14.45-.18.08-.06.16 0 .24a.21.21 0 0 1-.08.27c-.39.31-.42.33-.22.61.17.12.17.24 0 .36s-.07.22-.1.34c-.03.12-.1 0-.21 0-.11 0 .12.18.3.27.18.09.46.25.28.39s0 .06 0 .09 0 .17-.18.24c-.18.07-.26.19-.16.29.1.1.33.36.1.55-.07.05 0 .12.11.17.11.05.22.15.16.24a1.24 1.24 0 0 0-.2.46.56.56 0 0 0 .24.66.43.43 0 0 1 0 .46c0 .11.06.22-.13.31-.37.2-.22.39-.07.58a.19.19 0 0 1 0 .1c0 .27-.1.54-.14.8 0 0 .06.08.1.13-.07 0-.22.06-.19.09.2.17.56.34.16.51.2.12-.13.23-.06.34.07.11-.2.38.24.63.1.06.08.12 0 .17-.08.05-.14.24 0 .41.14.17 0 .13-.26.13h-.07.05s.16.15.08.15c-.46 0-.31.16-.26.32.05.16 0 .11 0 .12-.39 0-.35.25-.41.45s.15.47-.38.3c-.09 0 0 .06-.07.09s0 .33-.29.32c-.09 0-.13 0-.09.16.11.33-.18.29-.38.29s-.15 0-.12.09c.11.3 0 .35-.19.28-.34-.15-.27.4-.62.2 0 0-.05 0 0 .14.1.39 0 .46-.19.18s-.18-.12-.22 0c-.09.26-.26.39-.47.29-.21-.1-.39-.31-.51.23 0 .14-.12 0-.19 0s-.18-.1-.26 0c0-.82-.07-1.63-.08-2.45h.08c.12.2.17-.23.33.16.09-.16.3.11.3-.29 0-.09 0 0 .09 0 .25.19.46.1.55-.11 0 0 0-.12.08-.07.24.17.2-.07.19-.21-.01-.14-.05-.2 0-.23a2 2 0 0 1 .36-.19c.11 0 .23-.09 0-.29-.23-.2 0-.08 0-.09.34 0 .28-.34.22-.55 0 0 .05-.06.06-.1.01-.04.52-.23.12-.38-.06 0-.06-.06 0-.09.36-.17.09-.34.19-.51.1-.17 0-.13-.13-.19s-.23-.24 0-.36c.06 0 .06-.07 0-.1a.43.43 0 0 1 0-.44c.08-.15.24-.31.1-.46-.14-.15-.33-.35-.31-.53.02-.18-.09-.13 0-.19.31-.22.14-.44.2-.67a1.29 1.29 0 0 0 0-.44c0-.14-.31-.29 0-.43a1.5 1.5 0 0 1-.06-.81c.02-.366.02-.734 0-1.1 0-.09.1-.18 0-.27a.38.38 0 0 1-.09-.18c-.11 0-.16-.1 0-.16s.29-.26.17-.38c0 0-.07-.06-.07-.09a.78.78 0 0 1-.15-.66 1 1 0 0 0-.19-.76c-.1-.13-.1-.27.15-.41.25-.14.25-.17.2-.26a1.25 1.25 0 0 1-.12-.3c0-.39-.37-.78 0-1.17.07-.08.16-.19-.19-.22-.08 0 0 0 0-.05s.1-.09.1-.13a2.64 2.64 0 0 1 .06-.46c.07-.26 0-.56-.43-.54-.12 0-.19 0-.12-.13s-.1-.17-.15-.24c-.05-.07-.09 0-.09 0a.42.42 0 0 0-.43-.47s-.06 0-.06-.06c0-.24-.26.13-.22-.29-.15.11-.21-.25-.4.12 0 .07 0 0-.08 0-.14-.28-.34-.31-.63-.16-.05 0-.1.09-.15 0-.14-.29-.27-.07-.41 0-.14.07-.14.19-.22.18a2.1 2.1 0 0 1-.58-.16c-.14 0-.28-.14-.42.12 0 .07-.08.06-.12 0-.31-.27-.62-.12-.93 0h-.17c-.06 0-.38-.49-.58-.08 0 .06-.07 0-.1 0-.16-.36-.34-.09-.51-.19-.17-.1-.13 0-.19.13s-.24.23-.36 0c0 0-.06-.06-.09 0a.41.41 0 0 1-.44 0c-.16-.08-.31-.23-.46-.1-.15.13-.36.33-.54.31-.18-.02-.13.1-.19 0-.22-.32-.44-.14-.66-.21a1.09 1.09 0 0 0-.44 0c-.15 0-.29.3-.44 0-.255.1-.533.12-.8.06a10 10 0 0 0-1.1 0c-.09 0-.18-.1-.27 0a.27.27 0 0 1-.44 0c-.11-.12-.21-.16-.32 0-.11.16-.17 0-.26-.09s-.18.32-.29.22a.51.51 0 0 0-.53-.18c-.24.09-.47 0-.71 0s-.51-.12-.78-.09-.37.29-.56.06c-.19-.23-.58.08-.88-.11-.3-.19-.37.15-.56.17a3 3 0 0 1-.85 0c-.1 0-.2-.17-.29-.05-.1-.44-.2-.29-.3 0 0 0 0 .07 0 0-.12-.41-.24 0-.36.06-.29.15-.57-.16-.86-.09l-.26.06c-.07 0-.13.11-.2.09a1.8 1.8 0 0 0-1 0s-.07 0-.09-.09c-.07-.32-.15-.17-.22-.11-.07.06-.21.2-.31.11-.1-.09-.09 0-.12 0-.14.25-.29.35-.42.16-.13-.19-.49.35-.74.06 0 0-.06 0-.09.07a.14.14 0 0 0-.07.1c-.09.27-.18.2-.27 0-.09-.2-.13-.15-.19-.07-.06.08-.13 0-.19 0-.29-.08-.57 0-.86-.14-.29-.14-.51.06-.61.13-.1.07-.13.11-.25-.11s-.06 0-.08 0c-.02 0 0 .16 0 .16a.37.37 0 0 1-.26-.08c-.12-.08-.07.25-.11.34-.04.09 0 0 0 0s-.11.06-.08.23 0 .15-.15.1c-.15-.05-.34-.09-.37 0-.03.09 0 .21-.12.2-.12-.01-.28.12-.13.34v.1c0 .03 0 0-.08 0-.49-.19-.57-.14-.55-.08l-.07.09v.37c0 .11 0 .08-.08.11-.27.2-.24.21.16.48a.2.2 0 0 1 .07.27c0 .08-.14.16 0 .24.14.08 0 0 0 .05-.4.15-.25.3-.14.46.11.16 0 .11.11.16s.12.13 0 .2-.21.08-.19.11c.09.19-.15.38.11.56 0 0 .09 0 .07.08a1.33 1.33 0 0 1-.26.29c-.11.09.25.17 0 .26s-.14.08-.06.12c.32.14.3.29.06.43s.37.24.13.39c-.24.15-.3.26-.18.39a.81.81 0 0 1 .25.78.93.93 0 0 0 .39.75c.1.14.1.28-.15.42-.25.14-.24.17-.2.26a1 1 0 0 1 .13.29c0 .39.36.78 0 1.17-.07.08-.16.18.19.27.08 0 0 .06 0 .09a.62.62 0 0 0-.11.19 3.32 3.32 0 0 1-.15.68.79.79 0 0 0 .16 1c.1.1.15.2 0 .29-.15.09 0 .29 0 .44 0 .15.09.06.07.09-.21.37-.25.53-.09.74v.08c0 .08.26.13-.09.36.18.05 0 .31.35.24.08 0 0 0 0 .08-.14.29 0 .48.22.52 0 0 .12 0 .08.07-.12.27.1.18.25.15s.18-.09.21-.06c.1.096.186.203.26.32.06.1.13.21.3 0 .17-.21.07 0 .08 0 .12.32.39.21.59.11h.14c.06 0 .38.49.58.08 0-.06.07-.05.1 0 .17.36.34.09.51.19.17.1.13 0 .19-.13s.24-.23.36 0c0 0 .06.06.1 0a.4.4 0 0 1 .43 0c.16.08.31.23.47.1.16-.13.35-.33.53-.31.18.02.13-.1.19 0 .22.32.44.14.66.21.145.03.295.03.44 0 .15 0 .29-.3.44 0 .254-.05.517-.03.76.06.363.02.727.02 1.09 0 .09 0 .18.1.27 0a.28.28 0 0 1 .44 0c.11.13.21.17.32 0 .11-.17.17-.05.26.09s.18-.32.29-.22a.54.54 0 0 0 .53.18c.24-.09.47 0 .71 0s.52.12.78.09.38-.29.56-.06c.18.23.58-.08.88.11.3.19.37-.15.56-.17a3 3 0 0 1 .85 0c.1 0 .2.17.3 0 .09.44.19.29.29 0 0 0 0-.07.05 0 .12.41.24 0 .36-.06.29-.16.57.16.86.09a1.1 1.1 0 0 0 .26-.06c.07 0 .13-.11.2-.09a1.8 1.8 0 0 0 1 0s.07 0 .09.09c.07.32.15.16.22.11s.21-.2.31-.11c.1.09.09 0 .12 0 .14-.25.29-.35.43-.17.14.18.48-.34.73-.05 0 0 .06 0 .09-.07a.2.2 0 0 0 .07-.1c.09-.27.18-.2.27-.05.09.15.13.15.19.07.06-.08.13 0 .19 0 .29.08.57 0 .86.14.29.14.46-.06.7-.13.24-.07.24-.09.36.15 0 .07.08 0 .12 0 .04 0 .08-.15.12-.14a.62.62 0 0 1 .36.15c.13.11.24-.22.36-.28a.07.07 0 0 1 .08 0c.11.11.21 0 .31-.17s.23-.12.34 0c.11.12.36.3.54.22.18-.08.26-.15.39 0l-.21 2.38zM14.94 35.28c0 .15 0-.19.06-.09s0 0 0 .06v.07s.08-.31.11-.12c0 0 .06-.26.09.11 0-.33 0-.1.07-.21.07-.11 0 0 0 0v.07c0 .21 0-.23.05-.19.05.04 0 0 0 0h.07c.07 0 0-.12 0-.12s0 .15 0 0 0 .13 0 0v-.07c0-.07 0-.11 0 0v.59c0-.27 0-.34 0 0 0-.39 0-.1.05-.12.05-.02 0 .08 0 .2 0 .12 0 .07 0 0s0-.32.06-.24c.06.08 0 .08 0 0v.14c0 .08 0 0 0 0s0-.1 0 0 0 .21.08.15v-.1c0-.02 0-.46.05-.14 0 .08 0 0 0 0v-.1c0 .07 0 .12 0 0v.16c0-.01 0 0 .06 0s0 .13 0 .12a1.44 1.44 0 0 0 .07-.22v.2c0 .2 0 .26 0 0s0-.33.06-.06 0 .26.06-.11 0-.46 0-.28v.35c0-.09 0-.34.06-.1v-.28a1.82 1.82 0 0 0 0 .2l.05-.14c.05-.14 0-.07 0 0v.12c0 .37 0 .22.06.07.028.045.058.088.09.13a.58.58 0 0 1 0-.1v.19c0-.2 0-.56.05-.16v-.21c0-.1 0-.09 0 0v-.1.27c0-.1 0-.09 0 0 0 .35 0 .22.05.19s0-.37 0 .16c0 .1 0 0 0 0s0-.14 0 0 0 .07 0 0c0-.31 0-.09 0 0s0 .11 0 0v-.11c0 .16 0-.19.06.13v-.19.08c0-.09 0-.29.05-.14.05.15 0 .37 0-.15 0-.13 0 0 0 0s0 .12 0 0v.15c0 .21 0 .13 0 0v-.21.09a.09.09 0 0 1 0 .07c0 .08 0 0 .06 0s0 0 0 .08v.13c0-.14 0-.15 0 0 0 0 0-.2 0 0v-.1c0-.06 0 .15 0 0v-.26a.42.42 0 0 0 0 .07c0 .26 0 0 .06.12a1.78 1.78 0 0 0 0-.2c0-.15 0-.16 0 0a.27.27 0 0 0 0 .11v-.14c0 .18 0 .07 0 0v.08c0 .4 0 .42.07.19v-.67.46c.05-.33.09 0 .13 0 .04 0 0 .07 0 .12v-.35c0 .1.05.24.08.19.03-.05.05 0 .08.25s0 0 0-.17v-.01a2 2 0 0 1 .06.39c0 .15 0-.19.07-.09s0 0 0 .06v.07s.07-.31.1-.12c0 0 .06-.26.09.11 0-.33 0-.1.06-.21.06-.11 0 0 0 0s0-.14.05.07c.05.21 0-.23 0-.19 0 .04 0 0 0 0h.07c.02 0 0-.12 0-.12s0 .15 0 0 0 .13 0 0v-.07c0-.07 0-.11 0 0v.59s0 .06 0 0c0-.27 0-.34 0 0v-.12.2c0 .12 0 .07 0 0s0-.32.07-.24c.07.08 0 .08 0 0v.14c0 .08 0 0 0 0s0-.1 0 0 .06.21.08.15c.02-.06 0 0 0 0v-.1c0-.02 0-.46.06-.14 0 .08 0 0 0 0v-.1c0 .07 0 .12 0 0v.16c0-.01 0 0 .06 0s0 .13 0 .12c.033-.07.06-.144.08-.22v.2c0 .2 0 .26 0 0s0-.33.05-.06 0 .26.06-.11 0-.46 0-.28v.35c0-.09 0-.34.06-.1v-.28a.51.51 0 0 0 0 .2v-.14c0-.14 0-.07.05 0s0-.07 0 .12c0 .37 0 .22.06.07.028.045.058.088.09.13a.58.58 0 0 0 0-.1v.19c0-.2 0-.56.06-.16v.06c0-.07 0 .19.06-.27 0-.1 0-.09 0 0v-.1.27c0-.1 0-.09 0 0v.35c0 .1 0 0 0 0s0-.14 0 0 0 .07 0 0c0-.31 0-.09 0 0s0 .11 0 0v-.38c0-.13 0 0 0 0s0 .12 0 0v.15c0 .21 0 .13 0 0v-.21.09a.32.32 0 0 1 0 .07c0 .08 0 0 0 0v.21c0-.14 0-.15 0 0 0 0 0-.2 0 0v-.1c0-.06 0 .15 0 0v-.26.07c0 .26 0 0 .06.12a1.78 1.78 0 0 0 0-.2c0-.15 0-.16 0 0v-.03c0 .18 0 .07 0 0v.08c0 .39 0 .42.07.22.07-.2 0-.17 0 0v.1a.88.88 0 0 1 0 .21c.01-.1.01-.2 0-.3v-.28c0 .18 0 0 0 0v.35c0-.09 0-.34.06-.1v-.28a.51.51 0 0 0 0 .2v-.14c0-.14 0-.07.05 0s0-.07 0 .12c0 .37 0 .22.06.07.028.045.058.088.09.13v-.1.19c0-.2 0-.56.06-.16v.06c0-.07 0 .19.06-.27 0-.1 0-.09 0 0v-.1.27c0-.1 0-.09 0 0v.35c0 .1 0 0 0 0s0-.14 0 0 0 .07 0 0c0-.31 0-.09 0 0s0 .11 0 0v-.11c0 .16 0-.19.05.13v-.25c0 .15 0 .37.05-.15 0-.13 0 0 0 0s0 .12 0 0v2.44c0-.21 0 .22-.05-.19 0 .15 0-.18-.06.22 0 .07 0 0 0 0 0-.26-.06-.28-.09-.14s0 .1 0 0c0-.29 0-.06 0 0v.18a.34.34 0 0 1-.07-.16v.11c0 .07 0 .07 0 0 0-.27-.06-.13-.1 0-.04.13 0 0 0 0s-.05-.49-.07-.08c0 .06 0 .06 0 0v-.19.13c0 .13 0 .23 0 0 0-.06 0-.06 0 0 0 0 0-.24-.05-.1-.05.14 0 .33-.06.31-.06-.02 0 .1 0 0 0-.31 0-.14-.07-.2 0 0 0 .3-.05 0 0 .13 0 .08-.08.06-.08-.02-.08 0-.12 0-.04 0 0-.1 0 0v.09s0 .16 0 0v-.17a.45.45 0 0 0 0 .08c0 .16 0 .18-.07.14-.07-.04-.06 0-.08.19-.02.19 0 .1 0-.15v-.2.12s-.08.37-.13 0v.18c0 .09 0 0 0 0a.89.89 0 0 1 0-.11 2.722 2.722 0 1 1 5.37-.9c0-.14-.07-.21-.11.16 0 .11 0 .15 0 0s0 0-.05 0 0 .09 0 .07c0-.21-.07-.26-.1-.14v-.19.22c0 .07 0 0 0 0 0-.26 0-.28-.08-.14s0 .1 0 0c0-.29 0-.06 0 0 .005.06.005.12 0 .18a.53.53 0 0 1-.06-.16v.11c0 .07 0 .07 0 0 0-.27-.07-.13-.1 0 0 0 0-.49-.06-.08 0 .06 0 .06 0 0 0-.36 0-.08-.06-.19s0 0 0 .13 0 .23 0 0c0-.06 0-.06 0 0 0 0 0-.24-.05-.1-.05.14 0 .33-.06.31-.06-.02 0 .1 0 0 0-.31 0-.14-.07-.2 0 0 0 .3-.05 0 0 .13-.06.08-.08.06-.02-.02-.08 0-.12 0-.04 0 0-.1 0 0s0 .14 0 0 0-.16 0 0v-.09.22c0-.09 0-.26-.06-.19s0 0-.08 0 0-.11-.08-.08 0 .29-.06.06c-.06-.23-.07.08-.1-.11s0 .15-.06.17c-.06.02-.06 0-.09 0s0-.17 0 0c0-.44 0-.3 0 0 0 0 0 .07 0 0v.07c0 .07-.06-.16-.09-.1a.24.24 0 0 0 0 .07v.09c0-.01-.07-.1-.1 0s0 0 0-.09v-.11.11c0-.08 0 0 0 0v.17c0-.33-.05.35-.08.06v.07a.58.58 0 0 1 0 .1c0 .27 0 .19 0 0v-.07c0 .07 0 0 0 0s-.06 0-.09-.14 0 .06-.07.12 0 .1 0-.14c0-.08 0 0 0 0v.15a.34.34 0 0 1 0-.15v.27c0 .06 0 0 0 0v.17c0 .17 0 .11 0 0v-.21c0 .08 0 .14-.05 0s0-.17-.06.07c0 .06 0 0 0 0v-.61a1.09 1.09 0 0 1-.05.14v-.06c0-.23 0-.21-.07.19v.08c0-.04 0-.15 0 0s0 .05 0 0v-.14.11c0 .11 0 .11 0 0a1.78 1.78 0 0 0 0-.2c0 .1 0-.14-.06.11v-.18c0-.12 0 .25 0 0v-.07.02c0 .12-.06.3-.09.25-.03-.05 0 0-.08.19s0 .1 0-.15v-.2.12s-.09.37-.13 0v.18c0 .09 0 0 0 0a.27.27 0 0 0 0-.11.4.4 0 0 1-.07-.16c0-.14-.08-.21-.11.16 0 .11 0 .15 0 0s0 0-.05 0a.56.56 0 0 1 0 .07c0-.21-.07-.26-.11-.14-.04.12 0 0 0 0 0-.21 0 .22-.05-.19 0 .15 0-.18-.06.22 0 .07 0 0 0 0 0-.26-.06-.28-.09-.14s0 .1 0 0c0-.29 0-.06-.05 0a.62.62 0 0 1 0 .18.53.53 0 0 1-.06-.16v.11c0 .07 0 .07 0 0 0-.27-.07-.13-.1 0 0 0 0-.49-.06-.08 0 .06 0 .06 0 0 0-.36 0-.08-.06-.19s0 0 0 .13 0 .23 0 0c0-.06 0-.06 0 0v-.1c0 .14 0 .33-.05.31-.05-.02 0 .1 0 0 0-.31-.05-.14-.08-.2 0 0 0 .3 0 0 0 .13-.06.08-.09.06-.03-.02-.08 0-.12 0-.04 0 0-.1 0 0s0 .14 0 0 0-.16 0 0v-.09.03c0 .07-.06 0-.08 0-.02 0-.06-.11-.08-.08-.02.03 0 .29-.07.06-.07-.23-.06.08-.09-.11s0 .15-.06.17c-.06.02-.06 0-.09 0s0-.17 0 0c0-.44 0-.3 0 0v.07c0 .07-.06-.16-.09-.1a.24.24 0 0 0 0 .07.81.81 0 0 0 0 .09c0-.08-.07-.1-.11 0-.04.1 0 0 0-.09v-.11.11c0-.08 0 0 0 0v.17c0-.33 0 .35-.08.06v.07a.58.58 0 0 0 0 .1c0 .27 0 .19 0 0v-.07c0 .07 0 0 0 0s-.06 0-.09-.14 0 .06-.08.12 0 .1 0-.14c0-.08 0 0 0 0v.27c0 .06 0 0 0 0v.17c0 .17 0 .11 0 0s0-.29-.06-.21c-.06.08 0 .14 0 0l-3.27-2.52zm.11 14.22c.18.16.36-.18.54-.09l.13.07a.66.66 0 0 0 .27.06c.3 0 .59-.3.88-.11h.15c.24-.13.49-.25.73.12.17-.32.35-.09.52-.2.17-.11.27 0 .4 0s.28-.14.41.07c.13.21.27-.24.4-.19.13.05.05 0 .07 0a1 1 0 0 0 .57 0c.11 0 .21-.12.31-.12s.19.15.28 0c.09-.15.2.14.29 0 .09-.14.08 0 .11-.06s.14-.12.21 0c.07.12.15.78.39.52.1-.1.2-.28.3.07.07-.28.13-.35.2 0 .13-.39.27-.1.4-.12.13-.02.16.08.23.2.07.12.13.07.19 0s.35-.32.52-.24a.27.27 0 0 0 .33 0c.07-.06.14-.26.21.14 0 .07 0 0 .06 0s.12-.09.19 0a.74.74 0 0 0 .64.15 1 1 0 0 1 .3 0s.07-.08.1-.11.3-.45.45-.14c0 .08.08.06.12 0 .04-.06.15-.16.23-.09.08.07.18.12.28 0 .1-.12.21-.1.32.1.11.2.08.08.12.07.17-.01.34-.01.51 0 .08 0 .17.14.25.12a3 3 0 0 0 .58-.22c.07 0 .14 0 .21.2.07.2.19.26.29 0 .1-.26.31-.34.46-.07.15.27.32.27.48-.1.16-.37.22-.46.34-.28.12.18.06 0 .08 0 .02 0 .15 0 .21.17s.16.26.25.17.32-.33.49-.1c0 .07.1 0 .14-.11.04-.11.14-.22.21-.17a.87.87 0 0 0 .41.2.44.44 0 0 0 .4-.13c.14-.13.27-.07.41 0 .14.07.19-.06.27.13.17.37.34.21.51.07.17-.14 0 0 .08 0l.71.14.1-.1c0 .07 0 .22.07.19.15-.2.3-.57.46-.17.1-.2.19.14.29.07.1-.07.29.19.44-.27 0-.1.07-.09.1 0s.17.11.25-.1c.08-.21.08 0 .11.22v.08-.06s.07-.19.09-.11c.07.45.16.25.24.15.08-.1.06-.08.08 0 .13.35.25.22.38.19s.22-.37.32.16c0 .1 0 0 .08 0s.2-.15.3 0c.1.15.09.07.13 0 .11-.3.22-.08.33 0 .11.08.08.11.1 0 .08-.31.15-.27.23-.11.08.16.3-.19.44.13l.06-.11c.06-.39.11-.41.17-.08.06.33.09.17.15.08.06-.09.23-.3.35-.14.12.16.24.37.36-.15 0-.13.08 0 .12 0 .04 0 .12.11.17 0 .05-.11.22-.05.32.15s.18.14.27 0c.09-.14.21-.35.31-.22.1.13.2.08.3.1.106.009.21.033.31.07a.59.59 0 0 0 .45 0s.06 0 .08.08c.12.49.25.27.37.14s.13-.15.19 0 .1 0 .15 0c.05 0 .21-.21.32 0 .11.21.24.05.36-.09s.25-.26.38.06c0 .08.07 0 .1-.06s.15.14.23 0c.07-.101.159-.19.26-.26l.06.07c.16.25.33 0 .49.11.16.11.07-.1.1-.19s.12-.16.17 0c.05.16.1.06.15.11.05.05.27.26.4-.14 0 0 .14.06.21 0a.18.18 0 0 1 .24.07c.28.41.28.43.56.2a.19.19 0 0 1 .15-.06c.15 0 .15-.62.3-.62s.12-.13.18.28c.06.41.16.25.23.18.34-.32.68 0 1 0a.79.79 0 0 1 .26.13c.08 0 .15 0 .23-.2.08-.2.24-.25.36-.15a.76.76 0 0 0 .67.19.66.66 0 0 1 .68.25c.1.12.23 0 .33-.18s.27-.11.35.35c.08.46.18.17.18.17h.17c.05 0 .16-.56.29-.52.13.04.28.23.46.38s.35-.18.53-.09l.13.07a.67.67 0 0 0 .28.06c.29 0 .58-.3.87-.11h.15c.25-.13.49-.25.73.12.16-.32.34-.09.51-.2.17-.11.27 0 .4 0s.28-.14.41.07c.13.21.27-.24.4-.19.13.05 0 0 .07 0 .19.09.38 0 .58 0 .2 0 .2-.12.3-.12.1 0 .2.15.28 0 .08-.15.2.14.3 0 .1-.14.07 0 .1-.06s.14-.12.21 0c.07.12.15.78.4.52.09-.1.19-.28.29.07.07-.28.13-.35.2 0 .13-.39.27-.1.4-.12.13-.02.16.08.24.2.08.12.12.07.19 0s.34-.32.51-.24a.29.29 0 0 0 .34 0c.07-.06.14-.26.2.14 0 .07 0 0 .06 0s.13-.09.19 0a.74.74 0 0 0 .64.15 1 1 0 0 1 .3 0s.07-.08.11-.11c.04-.03.29-.45.44-.14 0 .08.09.06.12 0s.15-.16.23-.09c.08.07.19.12.28 0 .09-.12.21-.1.32.1.11.2.08.08.13.07.167-.01.333-.01.5 0 .08 0 .17.14.25.12a2.75 2.75 0 0 0 .58-.22c.07 0 .14 0 .21.2.07.2.19.26.29 0 .1-.26.31-.34.46-.07.15.27.33.27.48-.1.15-.37.22-.46.34-.28.12.18.06 0 .09 0s.14 0 .2.17.17.26.25.17c.08-.09.33-.33.49-.1 0 .07.1 0 .15-.11.05-.11.13-.22.2-.17a.87.87 0 0 0 .41.2.46.46 0 0 0 .41-.13c.13-.13.27-.07.4 0s.19-.06.27.13c.17.37.34.21.51.07a.15.15 0 0 1 .08 0l.71.14.1-.1c0 .07 0 .22.08.19.15-.2.29-.57.45-.17.1-.2.2.14.29.07.09-.07.3.19.44-.27 0-.1.07-.09.1 0s.17.11.25-.1c.08-.21.08 0 .12.22 0 0 .06-.19.08-.11.08.45.16.25.24.15.08-.1.06-.08.08 0 .13.35.26.22.39.19s.21-.37.31.16c0 .1.05 0 .08 0s.2-.15.3 0c.1.15.09.07.13 0 .11-.3.22-.08.33 0 .11.08.08.11.1 0 .08-.31.15-.27.23-.11.08.16.3-.19.44.13 0 0 .05 0 .06-.11.06-.39.11-.41.18-.08.07.33.09.17.14.08.05-.09.23-.3.36-.14.13.16.23.37.35-.15 0-.13.08 0 .12 0 .04 0 .12.11.17 0 .05-.11.22-.05.32.15s.18.14.27 0c.09-.14.22-.35.32-.22.1.13.19.08.29.1.106.009.21.033.31.07a.59.59 0 0 0 .45 0s.06 0 .08.08c.13.49.25.27.38.14s.12-.15.19 0 .1 0 .15 0c.05 0 .2-.21.31 0 .11.21.24.05.36-.09s.25-.26.38.06c0 .08.07 0 .1-.06s.16.14.23 0c.07-.101.159-.19.26-.26l.06.07c.16.25.33 0 .49.11.16.11.07-.1.1-.19s.12-.16.17 0c.05.16.1.06.15.11.05.05.27.26.4-.14 0 0 .14.06.21 0a.18.18 0 0 1 .24.07c.27.39.28.42.53.23.25-.19.21-.18.31-.06l.3.11v.21c0 .11.16-.12.24-.3.08-.18.22-.46.33-.28.11.18.06 0 .09 0s.14 0 .21.17c.07.17.16.26.25.17s.32-.33.48-.1c.05.07.11 0 .15-.11.04-.11.14-.22.21-.17a.84.84 0 0 0 .4.2.45.45 0 0 0 .41-.13c.14-.13.27-.07.4 0s.19-.06.28.13c.17.37.33.21.5.07a.14.14 0 0 1 .09 0l.7.14s.07-.07.11-.1c0 .07.05.22.07.19.15-.2.3-.57.45-.17.1-.2.2.14.29.07.09-.07.3.19.44-.27 0-.1.07-.09.11 0 .04.09.16.11.25-.1.09-.21.08 0 .11.22 0 0 .07-.19.08-.11.08.45.16.25.25.15s.05-.08.08 0c.12.35.25.22.38.19s.21-.37.31.16c0 .1.06 0 .08 0 .02 0 .2-.15.3 0 .1.15.09.07.13 0 .12-.3.22-.08.34 0 .12.08.07.11.1 0 .07-.31.15-.27.23-.11.08.16.29-.19.44.13l.06-.11c.05-.39.11-.41.17-.08.06.33.09.17.14.08.05-.09.24-.3.36-.14.12.16.24.37.35-.15 0-.13.09 0 .13 0 .04 0 .11.11.17 0l.06 2.45a.07.07 0 0 1-.11 0c-.13-.2-.27.23-.4-.19-.16.16-.31-.17-.47.22 0 .08-.07 0-.1 0a.52.52 0 0 0-.71-.14s-.09.1-.13 0c-.12-.29-.24-.06-.36 0s-.13.18-.19.17a2 2 0 0 1-.51-.15c-.13-.06-.25-.15-.37.11 0 .07-.07.06-.1 0-.28-.28-.55-.13-.82 0h-.15c-.05 0-.33-.49-.51-.08 0 .06-.06 0-.08 0-.15-.36-.3-.09-.45-.19-.15-.1-.11 0-.17.13-.06.13-.21.23-.31 0 0-.06-.06-.07-.09-.05a.33.33 0 0 1-.38 0c-.13-.08-.27-.24-.4-.1-.13.14-.31.32-.47.31-.16-.01-.12.09-.17 0-.19-.32-.39-.14-.58-.21a1.22 1.22 0 0 0-.38 0c-.13 0-.26.31-.39 0a1 1 0 0 1-.7.06 7.87 7.87 0 0 0-1 0c-.07 0-.15-.09-.23 0a.38.38 0 0 1-.16.09c0 .11-.09.15-.14 0-.05-.15-.23-.3-.34-.17-.11.13 0 0 0 0 0 .06-.06.08-.08.08a.64.64 0 0 1-.58.14.79.79 0 0 0-.66.2c-.12.1-.24.09-.36-.15s-.15-.25-.23-.21a.79.79 0 0 1-.26.13c-.34 0-.68.37-1 0-.07-.07-.15-.17-.23.18 0 .09 0 0-.07 0s-.12-.1-.17-.11a1.89 1.89 0 0 1-.6-.15.63.63 0 0 0-.89.16c-.09.1-.18.15-.26 0-.08-.15-.25 0-.38 0s-.06.1-.08.08a.8.8 0 0 0-.86-.14h-.11c-.04 0-.27.23-.4-.19-.15.16-.31-.17-.46.22 0 .08-.07 0-.11 0a.52.52 0 0 0-.71-.14s-.08.1-.12 0c-.13-.29-.24-.06-.36 0s-.13.18-.19.17a1.93 1.93 0 0 1-.52-.15c-.12-.06-.24-.15-.36.11 0 .07-.07.06-.11 0-.27-.28-.54-.13-.81 0h-.15c-.05 0-.34-.49-.51-.08 0 .06-.06 0-.09 0-.14-.36-.29-.09-.44-.19-.15-.1-.12 0-.17.13-.05.13-.21.23-.32 0 0-.06 0-.07-.08-.05a.33.33 0 0 1-.38 0c-.14-.08-.28-.24-.41-.1-.13.14-.31.32-.46.31-.15-.01-.12.09-.17 0-.19-.32-.39-.14-.58-.21a1.28 1.28 0 0 0-.39 0c-.13 0-.25.31-.38 0a1 1 0 0 1-.71.06 7.71 7.71 0 0 0-1 0c-.08 0-.16-.09-.23 0a.23.23 0 0 1-.39 0c-.09-.13-.18-.17-.28 0-.1.17-.15 0-.23-.09-.08-.09-.16.32-.25.23s-.31-.26-.47-.19c-.16.07-.41 0-.62 0-.21 0-.45-.12-.68-.09-.23.03-.33.29-.49.06-.16-.23-.51.08-.77-.1s-.33.14-.49.17a2.36 2.36 0 0 1-.75 0c-.08 0-.17-.17-.25 0-.09-.44-.18-.29-.27 0 0 0 0 .07 0 0-.1-.41-.21 0-.31.06-.25.16-.5-.15-.75-.09a2.1 2.1 0 0 0-.24.06s-.11.11-.17.1a1.31 1.31 0 0 0-.83 0s-.06 0-.08-.09c-.06-.32-.13-.16-.19-.1s-.18.19-.28.1c-.1-.09-.07 0-.1.05-.12.25-.25.35-.37.17-.12-.18-.43.34-.64.05 0 0-.06 0-.09.07a.29.29 0 0 0-.06.1c-.07.28-.15.2-.23 0-.08-.2-.11-.15-.17-.07-.06.08-.11 0-.17 0-.25-.09-.5 0-.75-.15s-.4.07-.61.13c-.21.06-.21.1-.32-.15 0-.07-.07 0-.1 0s-.07.15-.1.14a.49.49 0 0 1-.32-.14c-.11-.12-.21.21-.32.27a.06.06 0 0 1-.07 0c-.09-.12-.18 0-.27.17-.09.17-.2.11-.3 0-.1-.11-.31-.29-.47-.22-.16.07-.22.15-.34 0-.12-.15-.35-.16-.53.08 0 .06-.1 0-.15 0-.05 0 .22-.88.22-.98 0-.52-.13-.57-.19-.53h-.13l-.43.15a.19.19 0 0 1-.15-.06c-.28-.23-.28-.22-.57.19-.08.11-.16.12-.24.08-.08-.04-.14-.15-.21 0-.07.15 0 .06 0 0-.13-.39-.26-.25-.4-.13s-.1 0-.14.1c-.04.1-.12.12-.17 0-.05-.12-.07-.21-.1-.19-.03.02-.33-.14-.5.11 0 0 0 .09-.06.08a1.25 1.25 0 0 1-.25-.26c-.08-.12-.16.24-.24 0-.08-.24-.07-.15-.1-.07-.13.33-.25.3-.38.06s-.21.37-.34.13c-.13-.24-.23-.3-.34-.17a.64.64 0 0 1-.68.24.79.79 0 0 0-.66.2c-.12.1-.25.09-.36-.15-.11-.24-.16-.25-.24-.21a.75.75 0 0 1-.25.13c-.34 0-.68.37-1 0-.07-.07-.15-.17-.23.18 0 .09 0 0-.08 0s-.11-.1-.17-.11a1.9 1.9 0 0 1-.59-.15.65.65 0 0 0-.9.16c-.08.1-.17.15-.25 0-.08-.15-.25 0-.38 0s-.06.1-.09.08a.78.78 0 0 0-.85-.14h-.11c-.04 0-.27.23-.4-.19-.15.16-.31-.17-.46.22 0 .08-.07 0-.11 0a.52.52 0 0 0-.71-.14s-.09.1-.12 0c-.13-.29-.25-.06-.37 0s-.12.18-.19.17a2 2 0 0 1-.51-.15c-.12-.06-.24-.15-.36.11 0 .07-.07.06-.11 0-.27-.28-.54-.13-.81 0h-.15c-.05 0-.34-.49-.51-.08 0 .06-.06 0-.09 0-.14-.36-.3-.09-.44-.19s-.12 0-.17.13c-.05.13-.21.23-.32 0 0-.06 0-.07-.08-.05a.33.33 0 0 1-.38 0c-.14-.08-.28-.24-.41-.1-.13.14-.31.32-.46.31-.15-.01-.12.09-.18 0-.19-.32-.38-.14-.57-.21a1.28 1.28 0 0 0-.39 0c-.13 0-.25.31-.38 0a1 1 0 0 1-.71.06 7.71 7.71 0 0 0-1 0c-.08 0-.16-.09-.24 0-.08.09-.25.14-.38 0s-.19-.17-.28 0c-.09.17-.15 0-.23-.09-.08-.09-.16.32-.25.23s-.31-.26-.47-.19c-.16.07-.41 0-.62 0-.21 0-.45-.12-.68-.09-.23.03-.33.29-.49.06-.16-.23-.51.08-.77-.1s-.33.14-.49.17a2.36 2.36 0 0 1-.75 0c-.09 0-.17-.17-.26 0-.08-.44-.17-.29-.26 0 0 0 0 .07 0 0-.11-.41-.21 0-.31.06-.26.16-.5-.15-.75-.09a2.1 2.1 0 0 0-.24.06c-.06 0-.11.11-.17.1a1.31 1.31 0 0 0-.83 0s-.06 0-.08-.09c-.07-.32-.13-.16-.19-.1s-.18.19-.28.1c-.1-.09-.07 0-.1.05-.12.25-.25.35-.37.17-.12-.18-.43.34-.64.05 0 0-.06 0-.09.07a.29.29 0 0 0-.06.1c-.08.28-.15.2-.23 0-.08-.2-.12-.15-.17-.07-.05.08-.11 0-.17 0-.25-.09-.5 0-.75-.15s-.4.07-.61.13c-.21.06-.21.1-.32-.15 0-.07-.07 0-.1 0s-.07.15-.11.14a.48.48 0 0 1-.31-.14c-.12-.12-.22.21-.32.27a.06.06 0 0 1-.07 0c-.09-.12-.18 0-.27.17-.09.17-.2.11-.3 0-.1-.11-.31-.29-.47-.22-.16.07-.23.15-.34 0l.04-2.46zM15 60.58c.14.15.27-.19.41-.09a.47.47 0 0 0 .09.06.44.44 0 0 0 .22.07c.22 0 .44-.31.66-.12h.12c.04 0 .36-.26.55.12.13-.33.26-.1.39-.21.13-.11.21 0 .31 0s.21-.14.31.07c.1.21.2-.23.31-.19h.05c.14.1.29 0 .43 0s.16-.12.24-.12c.08 0 .14.15.21 0 .07-.15.15.13.22 0s.06 0 .08-.07c.02-.07.11-.11.16 0s.12.78.3.52c.07-.1.15-.28.22.08 0 0 0 .05 0 0 0-.28.09-.35.15 0 .1-.39.2-.09.3-.11.1-.02.12.07.18.19s.09.07.14 0c.05-.07.26-.32.39-.24.13.08.17.09.26 0s.1-.27.15.14c0 .07 0 0 0 0s.09-.1.14-.05a.5.5 0 0 0 .49.16h.23c.08 0 0-.08.08-.1.08-.02.22-.45.33-.14 0 .08.07 0 .1 0s.11-.16.17-.1c.06.06.14.13.21 0 .07-.13.16-.1.24.1.08.2.07.08.1.06.126-.01.254-.01.38 0 .07 0 .13.14.2.12a1.75 1.75 0 0 0 .43-.22c.06 0 .11 0 .16.2s.15.26.22 0 .24-.33.35-.06c.11.27.25.26.37-.11s.17-.46.25-.28c.08.18 0 0 .07 0s.11 0 .16.18.12.26.19.17.24-.33.37-.1c0 .06.07 0 .11-.12.04-.12.1-.21.15-.16a.65.65 0 0 0 .31.2.31.31 0 0 0 .31-.13c.1-.14.2-.08.31 0 .11.08.14-.06.2.12.13.38.26.22.39.07s0 0 .06 0c.18 0 .36.1.54.13 0 0 .05-.06.08-.1v.19c.12-.2.23-.56.35-.16.07-.2.15.13.22.07s.22.18.33-.28c0-.09.05-.09.08 0s.13.11.19-.09.06 0 .08.22c0 0 .2-.47.25-.47.06.44.12.25.18.15s0-.08.07 0c.09.35.19.22.28.19.09-.03.17-.37.24.17 0 .09 0 0 .06 0s.16-.14.23 0 .07.06.1 0c.08-.31.17-.09.25 0 .08.09.06.11.08 0 .06-.3.11-.27.17-.11.06.16.23-.19.34.14v-.11c0-.4.09-.42.13-.09.04.33.07.17.11.08.04-.09.18-.29.27-.14.09.15.18.37.27-.15 0-.13.07 0 .1 0s.09.11.13 0c.04-.11.16-.06.24.15.08.21.13.13.2 0s.16-.35.24-.22c.08.13.15.07.22.09a.57.57 0 0 1 .24.08.37.37 0 0 0 .34 0l.06.08c.1.49.19.27.29.13.1-.14.09-.14.14 0 .05.14.08.05.11 0s.16-.2.24 0c.08.2.19 0 .28-.1.09-.1.19-.26.28.07 0 .07.06 0 .08-.07.02-.07.12.15.18 0a1.17 1.17 0 0 1 .19-.26v.08c.12.25.25 0 .37.11s.05-.1.08-.19.08-.17.13 0 .07.07.11.11c.04.04.2.26.3-.13 0 0 .11.06.16 0s.12 0 .18.08c.22.41.22.42.43.19 0 0 .08-.07.12-.06.04.01.11-.61.22-.61s.09-.14.14.27c.05.41.12.26.17.19.26-.33.52 0 .78 0 .06 0 .13.08.19.12.06.04.12 0 .18-.2s.18-.25.28-.15a.47.47 0 0 0 .5.19c.17 0 .34 0 .51.25.17.25.18 0 .26-.17.08-.17.2-.11.26.34s.14.17.14.17h.13c.04 0 .12-.56.22-.52.1.04.21.23.35.39.14.16.27-.19.4-.09l.1.06a.44.44 0 0 0 .21.07c.22 0 .44-.31.67-.12h.11c.04 0 .37-.26.55.12.13-.33.26-.1.39-.21.13-.11.2 0 .31 0 .11 0 .21-.14.3.07.09.21.21-.23.31-.19H47c.15.1.29 0 .44 0 .15 0 .15-.12.23-.12.08 0 .15.15.21 0s.15.13.23 0c.08-.13 0 0 .08-.07s.1-.11.15 0c.05.11.12.78.3.52.08-.1.15-.28.23.08 0 0 0 .05 0 0 0-.28.1-.35.15 0 .1-.39.2-.09.3-.11.1-.02.12.07.18.19s.1.07.15 0c.05-.07.26-.32.39-.24.13.08.17.09.25 0 .08-.09.11-.27.16.14 0 .07 0 0 0 0s.1-.1.15-.05a.48.48 0 0 0 .48.16h.23c.07 0 0-.08.08-.1.08-.02.22-.45.34-.14 0 .08.06 0 .09 0s.12-.16.18-.1.13.13.2 0 .17-.1.25.1c.08.2.06.08.09.06.13-.01.26-.01.39 0 .06 0 .12.14.19.12a1.75 1.75 0 0 0 .43-.22c.06 0 .11 0 .16.2s.15.26.23 0c.08-.26.23-.33.35-.06.12.27.24.26.36-.11s.17-.46.26-.28 0 0 .06 0 .11 0 .16.18.12.26.19.17.24-.33.37-.1c0 .06.08 0 .11-.12s.1-.21.16-.16c.078.1.187.17.31.2a.3.3 0 0 0 .3-.13c.11-.14.21-.08.31 0s.14-.06.21.12c.13.38.25.22.38.07s0 0 .07 0c.18 0 .35.1.53.13 0 0 .06-.06.08-.1 0 .07 0 .22.06.19.11-.2.22-.56.34-.16.08-.2.15.13.22.07s.23.18.33-.28c0-.09.06-.09.08 0 .02.09.13.11.19-.09s.06 0 .09.22c0 0 0-.19.06-.11.06.44.12.25.19.15s0-.08.06 0c.09.35.19.22.29.19.1-.03.16-.37.23.17 0 .09 0 0 .07 0s.15-.14.23 0c.08.14.06.06.09 0 .09-.31.17-.09.26 0s0 .11.07 0c.06-.3.12-.27.18-.11.06.16.22-.19.33.14l.05-.11c0-.4.08-.42.13-.09.05.33.07.17.11.08.04-.09.17-.29.27-.14.1.15.18.37.27-.15 0-.13.06 0 .09 0s.09.11.13 0c.04-.11.16-.06.24.15.08.21.14.13.21 0 .07-.13.16-.35.23-.22.07.13.15.07.23.09a.49.49 0 0 1 .23.08.37.37 0 0 0 .34 0l.07.08c.09.49.19.27.28.13.09-.14.09-.14.14 0 .05.14.08.05.12 0 .04-.05.15-.2.24 0s.18 0 .27-.1c.09-.1.19-.26.29.07 0 .07 0 0 .08-.07s.11.15.17 0a1.17 1.17 0 0 1 .2-.26v.08c.13.25.25 0 .38.11s0-.1.07-.19.09-.17.13 0c.04.17.08.07.11.11.03.04.21.26.31-.13 0 0 .1.06.16 0s.12 0 .18.08c.2.39.21.42.4.22.19-.2.16-.17.24-.05l.23.11v.2c0 .11.13-.11.19-.3s.16-.46.25-.28 0 0 .07 0 .1 0 .15.18c.05.18.13.26.19.17s.25-.33.37-.1c0 .06.08 0 .11-.12s.11-.21.16-.16a.61.61 0 0 0 .31.2.31.31 0 0 0 .31-.13c.1-.14.2-.08.3 0 .1.08.15-.06.21.12.13.38.26.22.39.07s0 0 .06 0c.18 0 .36.1.54.13 0 0 0-.06.08-.1 0 .07 0 .22.06.19.11-.2.23-.56.34-.16.08-.2.15.13.23.07.08-.06.22.18.33-.28 0-.09 0-.09.08 0s.12.11.19-.09.06 0 .08.22c0 0 0-.19.06-.11.06.44.13.25.19.15s0-.08.06 0c.1.35.19.22.29.19.1-.03.16-.37.24.17 0 .09 0 0 .06 0s.15-.14.23 0c.08.14.07.06.1 0 .08-.31.17-.09.25 0 .08.09.06.11.08 0 .06-.3.11-.27.17-.11.06.16.22-.19.34.14v-.11c0-.4.09-.42.13-.09.04.33.07.17.11.08.04-.09.18-.29.27-.14.09.15.18.37.27-.15 0-.13.06 0 .09 0s.09.11.13 0v2.44h-.08c-.1-.21-.21.22-.31-.19-.12.16-.24-.17-.35.22 0 .08-.06 0-.08 0-.18-.25-.36-.28-.54-.14 0 0-.07.1-.1 0-.09-.29-.18-.06-.27 0-.09.06-.1.19-.14.18a1.29 1.29 0 0 1-.39-.16c-.1 0-.19-.14-.28.12 0 .07 0 .06-.08 0-.21-.27-.41-.12-.62 0h-.11c-.04 0-.26-.5-.39-.09 0 .07 0 .06-.06 0-.11-.36-.23-.08-.34-.19-.11-.11-.09 0-.13.14-.04.14-.16.22-.24 0 0 0 0-.06-.06 0a.2.2 0 0 1-.29 0c-.11-.08-.21-.23-.31-.1s-.24.33-.35.31c-.11-.02-.09.1-.13 0-.15-.32-.3-.14-.44-.21a.51.51 0 0 0-.3 0c-.09 0-.19.3-.29 0a.66.66 0 0 1-.53.06 4.41 4.41 0 0 0-.73 0c-.06 0-.12-.1-.18 0s-.08.09-.13.09-.06.16-.1 0c-.04-.16-.17-.3-.25-.18 0 .06 0 .08-.06.08a.41.41 0 0 1-.44.14.47.47 0 0 0-.5.19c-.1.1-.19.1-.28-.15-.09-.25-.11-.25-.18-.2-.07.05-.12.12-.19.12-.26 0-.52.37-.78 0 0-.07-.12-.16-.17.19 0 .08 0 0-.06 0s-.09-.1-.13-.11a1.59 1.59 0 0 1-.45-.15c-.23-.15-.46-.22-.68.16-.06.1-.13.14-.19 0s-.2 0-.29 0c-.09 0 0 .09-.07.07a.51.51 0 0 0-.65-.14h-.08c-.1-.21-.2.22-.3-.19-.12.16-.24-.17-.36.22 0 .08 0 0-.08 0-.17-.25-.35-.28-.53-.14-.18.14-.07.1-.1 0-.09-.29-.18-.06-.27 0-.09.06-.1.19-.15.18a1.29 1.29 0 0 1-.39-.16c-.09 0-.18-.14-.27.12 0 .07-.06.06-.09 0-.2-.27-.41-.12-.61 0h-.12c-.04 0-.25-.5-.38-.09 0 .07 0 .06-.07 0-.11-.36-.22-.08-.34-.19-.12-.11-.08 0-.13.14s-.15.22-.23 0c0 0 0-.06-.07 0s-.19.06-.29 0c-.1-.06-.21-.23-.31-.1s-.23.33-.35.31c-.12-.02-.09.1-.13 0-.14-.32-.29-.14-.44-.21a.48.48 0 0 0-.29 0c-.1 0-.19.3-.29 0a.69.69 0 0 1-.54.06 4.53 4.53 0 0 0-.73 0c-.06 0-.12-.1-.18 0s-.19.14-.29 0c-.1-.14-.14-.16-.21 0-.07.16-.11 0-.17-.09-.06-.09-.12.31-.19.22s-.24-.26-.36-.19-.31 0-.47 0c-.16 0-.34-.11-.52-.08s-.25.29-.37.06c-.12-.23-.39.08-.58-.11-.19-.19-.25.15-.38.17a1.37 1.37 0 0 1-.57 0c-.06 0-.12-.16-.19 0-.07-.44-.13-.3-.2 0 0 0 0 .07 0 0-.08-.42-.16 0-.24.06-.08.06-.38-.16-.57-.1l-.18.07s-.08.1-.13.09a.81.81 0 0 0-.63 0s-.05 0-.06-.09c-.05-.32-.1-.17-.14-.11-.04.06-.14.19-.21.11-.07-.08-.06 0-.08 0-.09.25-.19.35-.28.16-.09-.19-.33.35-.49.06l-.06.07a.13.13 0 0 0 0 .1c-.06.27-.11.2-.17 0-.06-.2-.09-.14-.13-.06-.04.08-.09 0-.13 0-.04 0-.38 0-.57-.14-.19-.14-.31.06-.46.12-.15.06-.17.1-.25-.14 0-.08 0 0-.08 0s0 .16-.07.15a.36.36 0 0 1-.25-.15c-.08-.12-.16.22-.24.28-.08.06 0 0 0 0s-.14 0-.21.17c-.07.17-.14.11-.22 0-.08-.11-.24-.29-.36-.21-.12.08-.17.15-.26.05-.09-.1-.27-.16-.4.07 0 .07-.08 0-.11 0s0 0 0-.08c0-.52-.1-.57-.14-.53h-.11a1.83 1.83 0 0 1-.32.14s-.08 0-.11-.06c-.22-.23-.22-.21-.44.19-.05.11-.11.12-.17.08-.06-.04-.11-.15-.16 0-.1-.4-.2-.26-.3-.14-.1.12-.07 0-.11.11-.04.11-.09.11-.13 0-.04-.11 0-.22-.08-.2-.08.02-.24-.14-.37.12v.07a1 1 0 0 1-.19-.26c-.06-.12-.12.25-.18 0s-.05-.14-.07-.06c-.1.32-.2.3-.29.06-.09-.24-.16.36-.26.13-.1-.23-.18-.3-.26-.18-.08.12-.34.3-.51.25a.49.49 0 0 0-.51.19c-.09.1-.18.1-.27-.15-.09-.25-.12-.25-.18-.2-.06.05-.13.12-.19.12-.26 0-.52.37-.78 0 0-.07-.12-.16-.18.19 0 .08 0 0-.06 0s-.08-.1-.13-.11a1.59 1.59 0 0 1-.45-.15c-.22-.15-.45-.22-.68.16-.06.1-.13.14-.19 0s-.19 0-.29 0c-.1 0 0 .09-.06.07a.52.52 0 0 0-.65-.14h-.08c-.1-.21-.21.22-.31-.19-.11.16-.23-.17-.35.22 0 .08-.05 0-.08 0-.18-.25-.36-.28-.54-.14-.18.14-.06.1-.09 0-.1-.29-.19-.06-.28 0-.09.06-.09.19-.14.18a1.29 1.29 0 0 1-.39-.16c-.09 0-.19-.14-.28.12 0 .07 0 .06-.08 0-.2-.27-.41-.12-.62 0h-.11c-.04 0-.26-.5-.39-.09 0 .07 0 .06-.06 0-.11-.36-.23-.08-.34-.19-.11-.11-.09 0-.13.14-.04.14-.16.22-.24 0 0 0 0-.06-.06 0s-.19.06-.29 0c-.1-.06-.21-.23-.31-.1s-.23.33-.35.31c-.12-.02-.09.1-.13 0-.15-.32-.29-.14-.44-.21a.48.48 0 0 0-.29 0c-.1 0-.2.3-.29 0a.69.69 0 0 1-.54.06 4.47 4.47 0 0 0-.73 0c-.06 0-.12-.1-.18 0s-.19.14-.29 0c-.1-.14-.14-.16-.21 0-.07.16-.12 0-.18-.09s-.12.31-.19.22-.24-.26-.35-.19c-.11.07-.32 0-.47 0-.15 0-.35-.11-.52-.08-.17.03-.25.29-.37.06-.12-.23-.39.08-.59-.11-.2-.19-.25.15-.37.17a1.37 1.37 0 0 1-.57 0c-.06 0-.13-.16-.19 0-.07-.44-.14-.3-.2 0 0 0 0 .07 0 0-.08-.42-.16 0-.24.06-.08.06-.38-.16-.57-.1l-.18.07s-.09.1-.13.09a.81.81 0 0 0-.63 0s-.05 0-.06-.09c0-.32-.1-.17-.15-.11-.05.06-.13.19-.21.11-.08-.08 0 0-.08 0-.09.25-.19.35-.28.16-.09-.19-.32.35-.48.06l-.07.07a.19.19 0 0 0 0 .1c-.06.27-.12.2-.18 0s-.09-.14-.13-.06c-.04.08-.08 0-.13 0s-.37 0-.56-.14c-.19-.14-.31.06-.47.12-.16.06-.16.1-.24-.14 0-.08 0 0-.08 0s0 .16-.08.15a.36.36 0 0 1-.24-.15c-.08-.12-.16.22-.24.28-.08.06 0 0-.05 0s-.14 0-.21.17c-.07.17-.15.11-.23 0-.08-.11-.23-.29-.35-.21-.12.08-.17.15-.26.05l.1-3.04zm118.21 35.93l8.99 18.52 7.14-3.41-9.63-18.57 20.15 1.57-38.7-35.76v53.36z\\\" fill=\\\"#000\\\"/><path d=\\\"M134.13 96.42c.05.46.54.69.64 1.12.016.103.043.203.08.3.054.218.131.429.23.63a6.5 6.5 0 0 1 1 1.86 1 1 0 0 0 .19.31 2.08 2.08 0 0 1 .66 1.62s0 .05.06.07c.47.22.45.69.73 1 .187.27.332.567.43.88.14.3.42.54.37.91-.05.37.49.48.59.79a.94.94 0 0 1 .06.15c.154.438.362.854.62 1.24.11.22.32.4.43.62.11.22.06.48.32.58.26.1.09.49.27.66.18.17.06.17.17.2.11.03.25.25.26.44.01.19-.54.67 0 1.08.19.16.46.3.24.67a.05.05 0 0 0 0 .09c.31 0 .44.13.24.41.49.12.37.54.53.82.16.28 0 .23 0 .43a.17.17 0 0 0 .09.24c.14.06.27 0 .34.11s.09 0 .12 0a.32.32 0 0 0 .31-.17c.07-.11 0-.31.24 0 0 .06.05 0 .09-.05.04-.05.22-.22.39-.24a3.93 3.93 0 0 0 1.46-.52c.2-.13.44-.2.65-.31.21-.11.12-.14.18-.2.28-.24.44-.71.9-.58a.18.18 0 0 0 .23-.17c0-.21 0-.18.12-.16.12.02.26 0 .23-.08s0-.1.14-.1h.13c.08 0 .06-.05 0-.09a4.25 4.25 0 0 1-.29-.46c-.05-.07-.05-.39-.15-.55-.25-.39-.55-.75-.83-1.12a.47.47 0 0 1-.06-.54c.15-.33 0-.53-.3-.64a.76.76 0 0 1-.57-.95.8.8 0 0 0-.63-1c-.36-.12-.65-.26-.62-.59a.16.16 0 0 0-.11-.18c-.26-.07-.18-.29-.08-.52a.45.45 0 0 0-.13-.61c-.32-.27-.65-.54-.62-1 0-.13-.1-.23-.27-.26a.4.4 0 0 1-.38-.37 3.91 3.91 0 0 0-.27-1 2.22 2.22 0 0 0-.57-.8 1.69 1.69 0 0 1-.46-.85c-.07-.22-.26-.38-.19-.65.14-.53-.18-.82-.5-1.11a.38.38 0 0 1-.13-.16l-.33-.79c-.12-.27-.19-.46-.42-.94a2.82 2.82 0 0 0-.29-.35c0-.11.14-.22.07-.29-.46-.44-1.25-1.19-1-1.59-.47-.47-.17-.62-.43-1s-.29-.61-.51-1c.18 0 .28-.07.24-.25-.04-.18.18-.08.4 0 .55.19.82.18 1 0 .18-.18.37 0 .7.28v.08-.06c.07 0 .13-.18.25-.09.66.49.8.31 1.12.24a.35.35 0 0 1 .33 0c.235.162.506.265.79.3h.6c.25 0 .54-.32.74.23 0 .1.13 0 .2 0 .24 0 .48-.11.71.09a.22.22 0 0 0 .31 0c.3-.28.54 0 .8.11.08 0 .17.13.25 0 .2-.29.37-.24.55-.07.32.33.72-.13 1.05.22 0 0 .11 0 .15-.1.17-.38.3-.39.42 0s.2.18.34.1a.79.79 0 0 1 .87-.07c.26.17.54.42.86-.08.08-.13.2 0 .29 0 .09 0 .28.13.41 0 .28-.19.52 0 .75.21.23.21.42.16.65 0 .23-.16.54-.31.77-.16.22.102.458.153.7.15.252.029.503.072.75.13h.27a.47.47 0 0 0 .17 0l.11.1c.42.52.53.31.49.17-.04-.14-.06-.15.18 0s.18.06.21 0-.16-.22.28 0c.44.22.4.08.15-.08s-.33-.21-.16-.15l.46.15c.18.06 0 0-.25-.14-.59-.25.26 0-.08-.12l-.72-.31h.12c.39 0-.17-.17-.09-.24a1.19 1.19 0 0 0-.34 0c-.25 0-.26 0-.13-.06s0-.06.06-.09 0-.32-.3-.09v-.07c0-.24-.2-.28-.35-.37a.74.74 0 0 1-.37-.44c-.23-.76-.21-.77-.87-1.07a.88.88 0 0 1-.3-.2c-.23-.25-.69.21-.94 0s-.31-.09-.13-.49-.11-.45-.28-.52c-.83-.31-1.21-1.11-1.79-1.7a2.74 2.74 0 0 1-.36-.51.66.66 0 0 0-.55-.23.83.83 0 0 1-.75-.48 3.81 3.81 0 0 0-1-1.22 3 3 0 0 1-1-1.3.74.74 0 0 0-.71-.42c-.42 0-.55-.35-.38-.82a.29.29 0 0 0-.2-.42c0-.13-.22-.2-.33-.25-.11-.05-.67.15-.88-.1a5.16 5.16 0 0 1-.53-1c-.22-.41-.76-.44-1-.8a2.4 2.4 0 0 0-.18-.26 3.57 3.57 0 0 0-.45-.5c-.54-.46-1.24-.73-1.63-1.35a.64.64 0 0 0-.29-.22 2.12 2.12 0 0 1-1.2-1.27h-.08c-.52 0-.67-.48-1.05-.68a3.21 3.21 0 0 1-.72-.66c-.24-.22-.59-.35-.68-.71-.09-.36-.63-.27-.84-.52 0 0-.08-.07-.11-.11a5.35 5.35 0 0 0-1-.94c-.19-.15-.45-.25-.63-.41-.18-.16-.23-.43-.51-.43s-.26-.42-.5-.51c-.08 0-.11-.15-.23-.13-.12.02-.32-.14-.39-.31-.07-.17.25-.82-.35-1-.23-.08-.54-.12-.47-.53 0-.05 0-.09-.07-.08-.3.1-.46 0-.37-.29-.5.07-.54-.37-.8-.57a1 1 0 0 1-.27-.52.5.5 0 0 0-.33-.33 2.47 2.47 0 0 1-1.06-.67 1.56 1.56 0 0 0-.61-.53c-.17-.07-.43 0-.27-.44 0-.07-.05-.09-.11-.09-.21 0-.29-.14-.37-.28a3.83 3.83 0 0 0-1-1.16c-.2-.14-.34-.34-.53-.49-.19-.15-.17-.06-.25-.1-.32-.17-.82-.14-.88-.62 0-.12-.12-.18-.25-.17a.42.42 0 0 1-.47-.3c0-.13-.06-.22-.17-.19-.11.03-.13 0-.19-.31 0-.12-.06-.16-.09-.17a3.27 3.27 0 0 1-.37-.28c-.05 0-.22-.39-.28-.43a.19.19 0 0 0-.12 0c.05.24.11.48.16.68.05.2 0 .12-.2-.12s-.26-.06 0 .31c.36.56.34.52.07.57-.27.05-.22.12-.2.23.02.11 0 .09.09.19.059.104.13.201.21.29.26.26.46.52.28.8a.16.16 0 0 0 0 .21c.19.18 0 .34-.18.5a.46.46 0 0 0-.17.6 1.2 1.2 0 0 1 .1 1.17.27.27 0 0 0 .12.35.39.39 0 0 1 .16.51 4.78 4.78 0 0 0-.2 1c-.031.34.017.682.14 1a1.78 1.78 0 0 1 0 1c0 .22.06.45-.13.66-.37.41-.22.81-.07 1.22a.38.38 0 0 1 0 .2c0 .57-.09 1.13-.13 1.7 0 .08.06.17.1.25-.07.06-.22.12-.19.17.2.37.56.72.16 1.1.2.23-.13.47-.06.7.07.23-.19.71.27 1a.17.17 0 0 1 0 .25.42.42 0 0 0 .1.6c.1.1 0 .2-.23.27h-.07.05c.05.07.19.17.11.2-.44.19-.24.39-.15.59.09.2.09.14 0 .2-.35.3-.22.61-.19.92.03.31.37.51-.16.75-.1 0 0 .13 0 .2 0 .24.14.48 0 .72a.21.21 0 0 0 0 .3c.31.28.09.54 0 .81 0 .08-.11.18 0 .25.3.18.27.35.11.54-.3.35.19.71-.13 1.07 0 0 0 .11.1.14.4.14.42.27.09.42-.33.15-.17.21-.08.34a.79.79 0 0 1 .14.86c-.14.28-.37.57.15.85.13.07 0 .2 0 .3 0 .1-.12.28 0 .41.12.13.06.52-.15.76s-.13.43.05.66c.18.23.34.51.21.75a1.56 1.56 0 0 0-.09.7 6.31 6.31 0 0 1-.07.76 3.26 3.26 0 0 0 0 1.08.18.18 0 0 1-.08.2c-.48.29-.27.6-.13.9.14.3.15.3 0 .45-.15.15 0 .24 0 .36s.21.5 0 .77-.05.57.09.85.26.61-.06.92c-.08.07 0 .17.06.25.06.08-.15.37 0 .56.113.19.2.396.26.61 0 .05 0 .1-.07.15-.26.39 0 .79-.12 1.18 0 .08.1.17.2.25a.25.25 0 0 1 0 .4c-.11.12-.07.24-.11.35-.12.33-.26.65.14 1v.1c-.18.17-.06.34 0 .51a.74.74 0 0 1-.08.56c-.39.66-.42.69-.22 1.28a.72.72 0 0 1 .05.76l-.1.72c0 .07-.1.06-.21.06a1 1 0 0 0 .3.58c.26.38.46.25.28.38s-.05.05 0 0 0 0-.18.23-.26.38-.17.37c.09-.01.34-.21.1.32-.06.14 0 .14.12-.1.23-.41.22-.37.16-.22a5.84 5.84 0 0 0-.2.76v.1c.094-.165.17-.34.23-.52.15-.41.12-.28.15-.22.03.06.07-.2.06.12 0 .6.2.09.24-.2a.39.39 0 0 1 0-.11l.2-.14.12-.1.06-.05.14-.16a.66.66 0 0 0 .07-.26h.26c.06-.41 0-.92.53-1 0-.31.4-.29.48-.51.08-.22.59-.45.43-1a.17.17 0 0 1 .12-.22.43.43 0 0 0 .29-.54c0-.14.11-.16.34-.08l.05.07v-.28c.47.12.44-.16.48-.38 0-.07 0-.16.11-.16.46 0 .54-.35.71-.62.17-.27 0-.62.58-.49.11 0 .09-.1.13-.16.12-.21.17-.47.46-.55a.24.24 0 0 0 .16-.27c-.08-.4.25-.48.52-.61.08 0 .2-.08.16-.19-.13-.33 0-.45.25-.5.45-.1.28-.68.75-.77.05 0 .05-.1 0-.18-.23-.34-.17-.46.19-.38.36.08.26-.07.26-.22a.79.79 0 0 1 .42-.77c.28-.13.64-.23.4-.77-.06-.13.13-.15.2-.22s.26-.15.26-.32l2 1.38a.31.31 0 0 1-.18.19c-.35.13-.21.65-.73.65-.1.39-.6.49-.51 1 0 .11-.1.14-.18.19a2.52 2.52 0 0 0-1.14 1.27c0 .09 0 .23-.18.25-.41 0-.4.42-.49.72-.05.15 0 .35-.14.47-.276.31-.57.604-.88.88-.22.2-.47.38-.44.77a.23.23 0 0 1-.13.22 3.47 3.47 0 0 0-1.22 1.54c-.05.1-.17.16-.25.25-.26.31-.88.35-.81.93a.14.14 0 0 1-.13.16c-.5.06-.51.51-.81.73a.42.42 0 0 0-.14.4.49.49 0 0 1-.47.6.2.2 0 0 0-.16.13v.11l-.1.16a2.86 2.86 0 0 1-.22.3 6 6 0 0 1-.48.52 3.12 3.12 0 0 0-.95 1.07 10.48 10.48 0 0 1-1.1 1.94c-.13.16-.31.57-.42.56-.34-.09-.85.87-1.26 1.3a5.61 5.61 0 0 0-.44.53v-.65c0-.43-.3-.26 0-1.47-.1-.86-.12-1.727-.06-2.59v-3.57c0-.19.1-.38 0-.56a1.16 1.16 0 0 1-.09-.4c-.11-.09-.16-.2 0-.33a.76.76 0 0 0 .17-.81v-.05a.35.35 0 0 1-.07-.2 3.12 3.12 0 0 1-.15-1.38 3.81 3.81 0 0 0-.19-1.6.82.82 0 0 1 .15-.87.62.62 0 0 0 .2-.56 4.38 4.38 0 0 1-.12-.61 5.57 5.57 0 0 1 0-2.47c.07-.17.16-.38-.18-.56-.09 0 0-.12 0-.19a1.91 1.91 0 0 0 .11-.41 11.8 11.8 0 0 1 .16-1.43 3.14 3.14 0 0 0-.16-2.15.56.56 0 0 1 0-.61c.21-.31 0-.62 0-.92 0-.07-.09-.14-.07-.2a4.25 4.25 0 0 0 .14-2.06.33.33 0 0 1 0-.26c.21-.32-.22-.65.19-1-.15-.37.18-.75-.21-1.12-.08-.08 0-.18 0-.26a2.5 2.5 0 0 0 .14-1.7c0-.1-.1-.22 0-.31.29-.29.06-.58-.05-.87a1.46 1.46 0 0 1-.18-.46c.029-.413.082-.824.16-1.23.05-.3.15-.59-.11-.88a.21.21 0 0 1 0-.25 3.44 3.44 0 0 0 0-2 1.49 1.49 0 0 1 .05-.36c0-.41.49-.82.08-1.23a.13.13 0 0 1 0-.2c.36-.36.09-.72.19-1.08a.43.43 0 0 0-.13-.41.47.47 0 0 1 0-.75.21.21 0 0 0 0-.21 1.87 1.87 0 0 1 0-.91 1.52 1.52 0 0 0 .1-1A2.59 2.59 0 0 1 120 71c0-.14-.09-.28 0-.41.31-.46.14-.93.2-1.39.03-.31.03-.62 0-.93 0-.31-.3-.62 0-.92a6.54 6.54 0 0 1-.06-1.71v-2.31a1.89 1.89 0 0 0 0-.66 2.32 2.32 0 0 1 0-1.46 1.24 1.24 0 0 0 0-1.07c-.16-.48 0-.67.09-.77.09-.1-.31-1.06-.22-1.3a2.46 2.46 0 0 0 .19-1.42c.49.34 1.17 1.13 1.71 1.62.54.49 1.24 1.3 1.84 1.81.23.18.47.347.72.5.13.086.251.187.36.3a.56.56 0 0 1 .15.26c.21.69 1 .78 1.29 1.34.21.35.68.42 1 .67.466.385.907.799 1.32 1.24.14.15.18.4.42.45-.15.47.1.5.45.44h.1c-.1.48.37.35.59.47.55.3.78.93 1.27 1.3.144.118.294.228.45.33.12.08.28.11.37.21a7.59 7.59 0 0 0 1.45 1.41c.076.04.11.13.08.21-.1.33.11.32.26.38.15.06.46.16.56.37a.25.25 0 0 0 .22.14c.39 0 .68.15.77.48.15.6 1 .45 1.17 1 0 .07.12.06.19.08a.28.28 0 0 0 .18 0c.32-.07.4.1.44.34a.36.36 0 0 0 .25.33c.17 0 .2.19.29.3a17 17 0 0 1 1.22 1.32 3.76 3.76 0 0 0 1.17.91c.2.15.44.28.46.63 0 .1.11.13.19.17.08.04.23 0 .28.06.192.18.351.394.47.63.11.27.52.18.74.32a.2.2 0 0 1 .11.11c.09.24.33.3.6.33.27.03.43.23.53.48.116.375.356.699.68.92.254.116.474.295.64.52a1.47 1.47 0 0 0 1 .82.62.62 0 0 1 .29.21s.11.08.06.15c-.27.47-.16.63 0 .7l.21.25c.29.19.58.38.86.59.09.083.164.181.22.29.34.63.35.62 1.13.79a.76.76 0 0 1 .47.32c.1.15.15.34.39.33.05 0 .09 0 .09.06 0 .5.3.61.62.75.11 0 .17.16.32.16s.28.1.28.3v.31c.36.2.49.64 1 .72h.16c.114.192.204.397.27.61.06.21.44.06.43.35 0 .12 0 .23.14.22a.61.61 0 0 1 .72.58c.06.37.62.07.69.46a.8.8 0 0 0 .48.68 3.1 3.1 0 0 1 1.37.93c.177.197.375.375.59.53.28.22.72.54 1.15.81.43.27.93.73 1 1.1a.79.79 0 0 0 .4.64c.32.23.69.48 1 .72.51.45 1.16.94 1.77 1.44a7 7 0 0 1 1.37 1.33l-.44-.09c-.49-.11-1-.24-.51.15.12.09-.24 0-.38-.05-.33-.06-.71-.16-1-.19-.9-.1-1.77-.19-2.68-.36a8.21 8.21 0 0 0-3.57-.12l-.27.05h-.17a.47.47 0 0 1-.3-.1c-.29-.24-.61-.09-.91-.12-.07 0-.15.08-.21 0a4.36 4.36 0 0 0-2-.29.34.34 0 0 1-.26-.05c-.3-.23-.66.18-.94-.26-.39.13-.74-.23-1.14.13-.08.07-.17 0-.25 0a2.5 2.5 0 0 0-1.69-.26c-.1 0-.22.08-.3 0-.28-.31-.58-.11-.87 0-.29.11-.32.16-.47.14a10.73 10.73 0 0 1-1.23-.25.87.87 0 0 0-.88 0 .23.23 0 0 1-.25 0c-.26-.29-.53-.17-.58-.07-.05.1-.11 0-.16 0s-.59-.33-.69-.3a1.6 1.6 0 0 0 .33.28c.11.08.11.1 0 .06-.49-.16 0 .2-.07.28-.07.08.08.12.24.18.34.12.32.11.13.27-.19.16 0 .06 0 .08 0 .02.06 0 .09.08.044.064.084.131.12.2.06.143.11.29.15.44.08.33.09.7.36.92.325.219.595.51.79.85.05.12.21.2.19.36-.07.55.3.89.46 1.33a5 5 0 0 0 .42.83c.14.27.55.4.4.82.347.456.63.957.84 1.49.33.7.74 1.36 1.1 2 .09.16.09.38.24.51a1 1 0 0 1 .39.84.53.53 0 0 0 .33.58c.23.09.21.31.18.53-.03.22.46.2.47.44.007.388.133.765.36 1.08.296.51.56 1.037.79 1.58.34.62.55 1.21.83 1.78l-.42.2c-.48.25-.86.73-1.57.82a2 2 0 0 0-1 .36 2.15 2.15 0 0 1-.83.41c-.4.06-.65.47-1 .66-.35.19-.54.28-.81.41l-.41.19-.51.21c-.3.13-.59.09-.86.36-.29-.35-.48-.1-.87.4 0 .07-.13.14-.15.1a.17.17 0 0 0-.24-.08c-.11-.23-.33-.21-.48-.42a19.45 19.45 0 0 1-1-2.3c-.1-.16-.19-.32-.3-.48-.11-.16-.22-.2-.27-.33a7.67 7.67 0 0 0-.87-1.8.16.16 0 0 1 0-.22c.22-.27 0-.35-.11-.46-.11-.11-.36-.31-.38-.54a.25.25 0 0 0-.16-.21c-.35-.15-.57-.39-.53-.73.07-.61-.76-.77-.73-1.36 0-.08-.09-.11-.15-.16a.32.32 0 0 0-.15-.09c-.33 0-.34-.24-.29-.47a.35.35 0 0 0-.11-.4c-.14-.09-.12-.25-.16-.38-.18-.58-.53-1.07-.66-1.68a3.91 3.91 0 0 0-.75-1.27c-.14-.22-.32-.42-.21-.76 0-.1-.05-.16-.11-.22s-.21-.09-.24-.16a2.37 2.37 0 0 1-.2-.76c0-.29-.42-.36-.58-.56a.22.22 0 0 1-.06-.15c0-.25-.2-.4-.44-.53a.65.65 0 0 1-.32-.64 1.77 1.77 0 0 0-.29-1.1 1.46 1.46 0 0 1-.41-.72l2.1-.67z\\\" fill=\\\"#000\\\"/></g></svg>\\n\",\n    \"wherever\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 185 114\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><rect fill=\\\"#FFF\\\" x=\\\"45.79\\\" y=\\\"2.24\\\" width=\\\"137.21\\\" height=\\\"89.98\\\" rx=\\\"7\\\"/><path d=\\\"M175.27 92.9c-1-.12-1.93.15-2.9.07h-.7c-.5 0-1-.06-1.51 0a42.55 42.55 0 0 1-4.79.09 4.39 4.39 0 0 0-.81 0 12.77 12.77 0 0 1-3.95-.1.53.53 0 0 0-.21 0 16.1 16.1 0 0 1-2.78.16c-.74.07-1.48 0-2.22 0-.74.06-1.484.04-2.22-.06-.78-.18-1.46.19-2.19.15h-.35c-1-.08-2.1 0-3.15 0-.55 0-1.13.1-1.68.1a5 5 0 0 0-1.5 0c-.57.18-1.08-.11-1.61 0a2.72 2.72 0 0 0-.58 0 1.93 1.93 0 0 1-1.14 0c-.69-.11-.83-.62-2.15-.42a2.47 2.47 0 0 1-1.61 0 .22.22 0 0 0-.22 0 .93.93 0 0 1-1.08 0 5.57 5.57 0 0 1-2.19.1 5.37 5.37 0 0 1-1.26-.16 3 3 0 0 0-1 0 14.65 14.65 0 0 1-2.8.19 9.43 9.43 0 0 0-1.84 0c-.37 0-.76.21-1.11-.11-.06-.06-.23 0-.33 0-.33.07-.67.07-1 0a24 24 0 0 0-3.5-.12h-1.63c-.19 0-.38.07-.57.08a5.88 5.88 0 0 1-2.4.11 1.17 1.17 0 0 0-.69 0 2.42 2.42 0 0 1-1.25.08 5.37 5.37 0 0 0-1.5 0 4.09 4.09 0 0 1-1.74-.08 2.27 2.27 0 0 0-.69 0h-2.74c-.46 0-.93-.11-1.39-.1-1 0-2.08.11-3.13.17A2.36 2.36 0 0 1 102 93a2.08 2.08 0 0 0-1.59 0 4.38 4.38 0 0 1-2.51 0 4.45 4.45 0 0 0-2.63.08 3.21 3.21 0 0 1-1.83.22.93.93 0 0 0-.47 0c-.38.11-.789.06-1.13-.14a2.34 2.34 0 0 0-1.36-.13 7.61 7.61 0 0 1-2.65.08 1.36 1.36 0 0 0-.8.09 2 2 0 0 1-1.13.13c-.74-.08-1.48-.15-2.21-.16a14.94 14.94 0 0 0-2.22.1 10.69 10.69 0 0 1-2.19 0 6.09 6.09 0 0 1-1.49-.1 6.28 6.28 0 0 0-2.76-.06 3.57 3.57 0 0 1-.46 0L70.73 93a4 4 0 0 0-.58.08c-.14-.06-.28-.18-.4-.15a4.55 4.55 0 0 1-2.48.13c-.53.15-1.06-.11-1.58-.06a6.61 6.61 0 0 0-2.38.22.92.92 0 0 1-.57 0 2.26 2.26 0 0 0-1.36.08.57.57 0 0 1-.62-.18v-.06h-.06c-.15 0-.36.15-.44.09-.43-.35-.88-.2-1.33-.12a.8.8 0 0 1-.46 0 4.83 4.83 0 0 0-2.07-.15c-.56 0-1.15.29-1.7-.13-.1-.08-.3 0-.46 0a5 5 0 0 1-1.64 0 1.63 1.63 0 0 0-.76 0 2.74 2.74 0 0 1-1.94-.53c-.18-.09-.37-.27-.55-.26a1.44 1.44 0 0 1-1.21-.64c-.54-.69-1.45-1.08-1.75-2a.46.46 0 0 0-.26-.27.69.69 0 0 1-.54-.89 1.07 1.07 0 0 0-.24-.83 3.31 3.31 0 0 1-.45-2.12 2.57 2.57 0 0 0-.13-2c-.1-.16 0-.44 0-.67a3.16 3.16 0 0 0 0-.92A3.08 3.08 0 0 1 45 80.1a2.49 2.49 0 0 0 0-1.48 4 4 0 0 1-.18-1.7 9.64 9.64 0 0 0 .08-1.6c0-.57 0-1.14.06-1.71.045-.81.045-1.62 0-2.43a1 1 0 0 1 .07-.46 2.9 2.9 0 0 0 .1-2 2.43 2.43 0 0 1 0-1 2.73 2.73 0 0 0 0-.81 6.58 6.58 0 0 1 0-1.72 5.14 5.14 0 0 0-.07-2 3.74 3.74 0 0 1 0-2.07.91.91 0 0 0 0-.56c-.18-.43.11-.84 0-1.27-.11-.43-.15-.92-.21-1.38a1.35 1.35 0 0 1 .06-.34c.095-.89.125-1.786.09-2.68a1.23 1.23 0 0 0-.15-.55 1.33 1.33 0 0 1 0-.92c.05-.26.078-.525.08-.79a4 4 0 0 0-.11-2.18.45.45 0 0 1 0-.23 2.63 2.63 0 0 0 0-1.15 5 5 0 0 1 .06-1.28 6.38 6.38 0 0 0 .12-3.11 4.52 4.52 0 0 1 0-.82c0-.78-.49-.82-.49-1.6 0-.39-.11-.66.22-1 .33-.34.2-.87.15-1.26a35.84 35.84 0 0 1 0-5.58c0-.47.06-.93.1-1.39a3.64 3.64 0 0 0-.16-1.27 4.68 4.68 0 0 1-.12-2c.14-1.198.19-2.405.15-3.61a18.52 18.52 0 0 1 .2-3.71 4.37 4.37 0 0 0-.14-1.83 2.06 2.06 0 0 1 .27-1.88c.28-.32.14-1 .14-1a3.32 3.32 0 0 0 0-.94 5.19 5.19 0 0 1-.42-1.6c0-1 .19-1.48.31-2.45.12-.97-.21-1.87-.21-2.84v-.71a13 13 0 0 1 .24-1.64A6.76 6.76 0 0 1 48 3.15c.25-.16.47-.37.72-.54a5.32 5.32 0 0 1 4.16-1.05.38.38 0 0 0 .21 0 15.22 15.22 0 0 1 2.78-.17c.74-.06 1.48 0 2.22 0a10.26 10.26 0 0 1 2.22.05c.78.19 1.46-.18 2.19-.15h.36c1 .07 2.09 0 3.14 0 .55 0 1.13-.09 1.68-.09a5.76 5.76 0 0 0 1.5 0c.57-.18 1.08.1 1.61 0a2.72 2.72 0 0 0 .58-.05 1.93 1.93 0 0 1 1.14 0c.69.1.83.61 2.15.41a2.48 2.48 0 0 1 1.61.06.24.24 0 0 0 .22 0 .93.93 0 0 1 1.08 0 10.86 10.86 0 0 1 3.45.06 3 3 0 0 0 1 0 15.51 15.51 0 0 1 2.8-.19 9.43 9.43 0 0 0 1.84 0c.37-.05.76-.21 1.11.11a.42.42 0 0 0 .33 0 2.56 2.56 0 0 1 1 0 24 24 0 0 0 3.5.13h1.63a5.58 5.58 0 0 0 .57-.08 5.92 5.92 0 0 1 2.41-.11c.221.07.459.07.68 0a2.53 2.53 0 0 1 1.25-.08 5 5 0 0 0 1.5 0 4.31 4.31 0 0 1 1.75.08c.223.05.452.07.68.06h2.74c.46 0 .93.11 1.39.09 1 0 2.08-.1 3.13-.17a2.37 2.37 0 0 1 1.14.16c.511.2 1.079.2 1.59 0a4.22 4.22 0 0 1 2.51-.05c.87.231 1.788.2 2.64-.09a3.26 3.26 0 0 1 1.82-.22.93.93 0 0 0 .47 0 1.43 1.43 0 0 1 1.13.13c.43.18.903.23 1.36.14a7.38 7.38 0 0 1 2.65-.08c.27.051.549.02.8-.09a1.92 1.92 0 0 1 1.13-.13c.74.07 1.48.15 2.21.16a13.71 13.71 0 0 0 2.22-.11 10 10 0 0 1 2.19 0 6.64 6.64 0 0 1 1.49.09 6.13 6.13 0 0 0 2.76.06c.153-.01.307-.01.46 0l3.84.11a3 3 0 0 0 .58-.08c.14.05.28.17.4.15a4.36 4.36 0 0 1 2.48-.13c.53-.16 1.06.1 1.58.05a6.61 6.61 0 0 0 2.38-.22 1 1 0 0 1 .57 0c.454.112.93.088 1.37-.07a.54.54 0 0 1 .61.17l-.05.06h.06c.15 0 .36-.15.44-.09.43.36.88.2 1.33.12a1 1 0 0 1 .46 0 4.68 4.68 0 0 0 2.07.15c.56 0 1.16-.29 1.7.13.1.08.3 0 .46 0a5.5 5.5 0 0 1 1.62 0c.229.065.471.065.7 0a3.22 3.22 0 0 1 1.82 0 1 1 0 0 0 .56 0 1.46 1.46 0 0 1 1.24-.09c.79.24 1.6-.15 2.4.11a.39.39 0 0 0 .33-.09.62.62 0 0 1 .94-.06.83.83 0 0 0 .77.06 4.41 4.41 0 0 1 1.95-.11 2.53 2.53 0 0 0 1.94-.12c.15-.11.44 0 .67 0 .305.045.615.045.92 0a2.21 2.21 0 0 1 .88-.07c.321.044.637.125.94.24a5 5 0 0 0 1.63.34 3.11 3.11 0 0 1 1.81.69c.474.38.928.784 1.36 1.21a7 7 0 0 1 1.13 1.58 11.85 11.85 0 0 1 1 2.57c.04.171.04.349 0 .52a3.66 3.66 0 0 0-.05 2.12 2.15 2.15 0 0 1 0 1 2.74 2.74 0 0 0 0 .81 6.66 6.66 0 0 1 0 1.73 5.1 5.1 0 0 0 .07 1.94 3.74 3.74 0 0 1 0 2.07.91.91 0 0 0 0 .56c.18.43-.11.84 0 1.27.11.43.15.92.21 1.38a1.51 1.51 0 0 1-.06.35 19.8 19.8 0 0 0-.09 2.67 1.3 1.3 0 0 0 .15.56 1.25 1.25 0 0 1 0 .91 4.43 4.43 0 0 0-.08.8 3.91 3.91 0 0 0 .11 2.17.37.37 0 0 1 0 .23 2.67 2.67 0 0 0 0 1.16c.04.427.02.858-.06 1.28a6.33 6.33 0 0 0-.18 2.9c.12.56.12 1.14 0 1.7l-.08 1.64c0 .15-.08.14-.17.13a4.6 4.6 0 0 0 .25 1.31 3.38 3.38 0 0 1 .22 1.83.8.8 0 0 0 0 .46c.111.383.06.795-.14 1.14a2.43 2.43 0 0 0-.13 1.36 7.6 7.6 0 0 1 .08 2.65c-.05.266-.02.542.09.79a2 2 0 0 1 .13 1.14c-.08.73-.15 1.47-.16 2.21a14.81 14.81 0 0 0 .1 2.21 10.79 10.79 0 0 1 0 2.2c.027.499-.006 1-.1 1.49a6.13 6.13 0 0 0 0 2.76c.01.153.01.307 0 .46l-.11 3.83c.017.195.044.388.08.58-.06.13-.18.28-.15.4a4.34 4.34 0 0 1 .13 2.47c.16.54-.11 1.06-.06 1.58a6.89 6.89 0 0 0 .22 2.39.85.85 0 0 1 0 .57 2.34 2.34 0 0 0 .08 1.36.54.54 0 0 1-.18.61h-.06v.07c0 .15.15.37.09.45-.35.43-.2.87-.12 1.33a.77.77 0 0 1 0 .45 5 5 0 0 0-.15 2.08c0 .56.3 1.15-.13 1.7-.07.09 0 .3 0 .45a5.94 5.94 0 0 1 0 1.63 1.16 1.16 0 0 0 0 .69 3.35 3.35 0 0 1 0 1.83.87.87 0 0 0 0 .55 1.49 1.49 0 0 1 0 1.32c-.32.82-.21 1.81-.84 2.51a.48.48 0 0 0-.08.37.7.7 0 0 1-.51.91c-.3.1-.42.34-.59.62a3.26 3.26 0 0 1-1.6 1.46 5.05 5.05 0 0 0-2 1 1.52 1.52 0 0 1-.75.15c-.35 0-.72 0-1 .1a22.835 22.835 0 0 1-.36-1.92 1.68 1.68 0 0 1 .5 0c.66.1 1.2-.37 1.88-.3.62-.39 1.42-.61 1.75-1.34a1.2 1.2 0 0 1 .36-.35 4.05 4.05 0 0 0 1.55-2.92 2 2 0 0 1 .07-.61 3.38 3.38 0 0 0 0-1.89 9.59 9.59 0 0 1-.14-1c0-.94.07-1.87.13-2.8a5.29 5.29 0 0 0-.1-2 1.61 1.61 0 0 1 0-.58 21.86 21.86 0 0 0 0-4.43v-.81c0-.93.39-1.84.06-2.78a.72.72 0 0 1 0-.46c.15-.8.2-1.617.15-2.43a2.42 2.42 0 0 0-.1-.93 2.51 2.51 0 0 1 0-1.71 1.18 1.18 0 0 0 0-.46 12 12 0 0 1 0-2.08 9.11 9.11 0 0 0 .08-2.21 15.37 15.37 0 0 1-.24-2.53 4.83 4.83 0 0 1 0-.93 15.82 15.82 0 0 0 .17-3.15v-2.1a5.59 5.59 0 0 1 0-2.08c-.1-1.28-.07-2.57-.05-3.86v-5.24a9 9 0 0 0 0-1.27c0-.3-.06-.6-.07-.9a1 1 0 0 1 0-.74 4.37 4.37 0 0 0 .14-1.83v-.13a1.8 1.8 0 0 1-.06-.45 20.48 20.48 0 0 1-.11-3.13 24 24 0 0 0-.15-3.6 4.73 4.73 0 0 1 .12-2c.128-.41.182-.84.16-1.27 0-.46-.1-.92-.1-1.39A35.84 35.84 0 0 1 182 17a1.67 1.67 0 0 0-.15-1.25c-.07-.11 0-.29 0-.43 0-.31.08-.62.08-.93 0-1.08.05-2.16.12-3.24l.07-1.22V8.78a4 4 0 0 0-.74-2 4.59 4.59 0 0 1-.6-1 3 3 0 0 0-1.21-1.29c-.1-.08-.25-.1-.34-.18a4.49 4.49 0 0 0-1.75-.93 4.2 4.2 0 0 0-1-.18h-1.06a1.94 1.94 0 0 1-.59 0c-.72-.16-1.47.18-2.18-.15a11.93 11.93 0 0 0-2.53.18 1.27 1.27 0 0 1-.58 0 15.59 15.59 0 0 0-3.86-.11 1.79 1.79 0 0 1-.69 0 4.1 4.1 0 0 0-2 0 7.39 7.39 0 0 1-1 .13c-.93 0-1.86-.06-2.79-.12a5.28 5.28 0 0 0-2 .09 1.26 1.26 0 0 1-.58 0 22 22 0 0 0-4.44 0h-.8c-.93 0-1.85-.39-2.78-.07a.76.76 0 0 1-.47 0A9.44 9.44 0 0 0 145.7 3a2.06 2.06 0 0 0-.92.1 2.6 2.6 0 0 1-1.72 0 1.13 1.13 0 0 0-.45 0c-.692.07-1.388.07-2.08 0a9.67 9.67 0 0 0-2.21-.08 15.5 15.5 0 0 1-2.54.25 4.71 4.71 0 0 1-.92 0 16.64 16.64 0 0 0-3.15-.16h-2.11a5.6 5.6 0 0 1-2.08 0 38 38 0 0 1-3.85.05h-5.24c-.43 0-.86-.07-1.28 0a6.11 6.11 0 0 1-2.09 0 3.09 3.09 0 0 0-1.51 0A2.26 2.26 0 0 1 112.3 3c-.46-.11-.87.25-1.37.18a11.47 11.47 0 0 0-2.55-.15c-1.13.07-2.25 0-3.38 0s-2.46-.09-3.7-.07a12.13 12.13 0 0 1-2.69.05c-1.4-.29-2.79.06-4.19-.08a20 20 0 0 0-2.67.13h-4.09a5.8 5.8 0 0 0-1.38 0 1.3 1.3 0 0 0-1.43 0 .32.32 0 0 1-.23 0c-.58-.33-1.15 0-1.71 0-1.37.13-2.72-.12-4.08-.07l-1.28.05a7.28 7.28 0 0 1-.93.07c-1.51-.05-3-.08-4.54 0a.74.74 0 0 1-.45-.07c-.33-.25-.68-.13-1-.08a5.79 5.79 0 0 1-1.5.08 1.26 1.26 0 0 0-.58 0 3.94 3.94 0 0 1-2 .13c-1.17-.26-2.32.27-3.48.05a1.28 1.28 0 0 0-.47 0 1.3 1.3 0 0 0-.34.08c-.4.17-.85.17-1.25 0a2.05 2.05 0 0 0-.92-.06 3.21 3.21 0 0 1-.93 0c-1.35-.07-2.71 0-4.07-.11a12.79 12.79 0 0 0-3.16.17 7 7 0 0 1-1.46.29 1 1 0 0 0-.44.22c-.14.09-.22.27-.36.34a13.79 13.79 0 0 0-1.21.84c-.44.32-.5.88-.7 1.31 0 .08-.08.17-.14.25a1.66 1.66 0 0 0-.31 1.2c.008.44-.05.877-.17 1.3a10.55 10.55 0 0 0-.18 2.52 8.93 8.93 0 0 1 0 1.86 9.16 9.16 0 0 0 .04 3c.025.27.025.54 0 .81 0 .11 0 .29-.06.33a1 1 0 0 0-.42 1v.74l.12 2.33a7.52 7.52 0 0 1-.05.82 6.38 6.38 0 0 0 .15 3.09c.08.422.1.853.06 1.28a2.63 2.63 0 0 0 0 1.15.37.37 0 0 1 0 .23 4 4 0 0 0-.11 2.18c.002.265.03.53.08.79a1.27 1.27 0 0 1 0 .92 1.23 1.23 0 0 0-.15.55 20 20 0 0 0 .09 2.68c.034.11.055.225.06.34-.06.46-.11.93-.21 1.38-.1.45.2.84 0 1.27a.91.91 0 0 0 0 .56 3.26 3.26 0 0 1 0 2.07c-.19.68.29 1.15.1 1.87a4.58 4.58 0 0 0-.13 1.84 19.13 19.13 0 0 1 .19 3.7A22.91 22.91 0 0 0 47 52a5 5 0 0 1-.12 2 3.42 3.42 0 0 0-.17 1.27c0 .46.1.93.1 1.39a34.65 34.65 0 0 1 0 5.58 1.75 1.75 0 0 0 .15 1.26c.07.1 0 .28 0 .43 0 .31-.08.62-.09.93 0 1.08 0 2.15-.12 3.23a19.46 19.46 0 0 0 .12 4.88 3.33 3.33 0 0 1 0 1.37 9.16 9.16 0 0 0 0 2.09c.03.152.05.306.06.46a26.77 26.77 0 0 0-.11 4.65 2.32 2.32 0 0 1 0 .59c-.16.72.18 1.47-.15 2.18.12.87-.14 1.65.34 2.3.1.12.08.32.1.48a4.17 4.17 0 0 0 1.75 2.82c.16.12.39.19.49.37.388.45.946.718 1.54.74.3.06.62 0 .9.09.4.077.804.127 1.21.15l1.39.07a5.27 5.27 0 0 0 2-.09c.191-.04.389-.04.58 0a22 22 0 0 0 4.44 0h.8c.93 0 1.85.39 2.78.07a.76.76 0 0 1 .47 0c.8.15 1.617.2 2.43.15a2.22 2.22 0 0 0 .92-.11 2.67 2.67 0 0 1 1.72 0c.148.03.302.03.45 0a11.11 11.11 0 0 1 2.08 0 9.13 9.13 0 0 0 2.21.08 15.49 15.49 0 0 1 2.54-.24 4.06 4.06 0 0 1 .92 0 17.52 17.52 0 0 0 3.15.17h2.11a5.39 5.39 0 0 1 2.08 0 38 38 0 0 1 3.85 0h5.25a9 9 0 0 0 1.27 0 6.11 6.11 0 0 1 2.09 0 3.09 3.09 0 0 0 1.51 0 2.39 2.39 0 0 1 1.27.07c.45.11.86-.25 1.36-.17a12.8 12.8 0 0 0 2.55.15c1.13-.08 2.25 0 3.38 0s2.46.09 3.71.07a12.66 12.66 0 0 1 2.68 0c1.4.3 2.79-.06 4.19.09a21.82 21.82 0 0 0 2.67-.14h4.09a5.8 5.8 0 0 0 1.38 0 1.28 1.28 0 0 0 1.43 0c.07 0 .17-.06.23 0 .58.33 1.15 0 1.72 0 1.36-.12 2.71.12 4.07.07h1.28c.31 0 .62-.08.93-.07 1.51.06 3 .08 4.54 0a.74.74 0 0 1 .45.07c.33.26.68.13 1 .09.493-.1.998-.13 1.5-.09.19.045.39.045.58 0a4 4 0 0 1 2-.13c1.17.26 2.32-.27 3.49 0a1.27 1.27 0 0 0 .46-.06 1 1 0 0 0 .34-.08c.4-.165.85-.165 1.25 0 .303.07.617.07.92 0 .309-.04.621-.04.93 0 1.35.07 2.71 0 4.07.12a28.56 28.56 0 0 0 3.33-.1 4.64 4.64 0 0 1 1.74.11c.188.04.382.04.57 0a3.86 3.86 0 0 1 .57-.12 14.37 14.37 0 0 1 1.73.12 7.13 7.13 0 0 0 1.73-.22 1.36 1.36 0 0 1 .35 0 3.52 3.52 0 0 0 1.51-.13 3.8 3.8 0 0 1 1.61 0 11.52 11.52 0 0 0 2.55.17 8.9 8.9 0 0 1 1.86 0l-.79 1.72z\\\" fill=\\\"#000\\\"/><path d=\\\"M183 79.56v5.66a7 7 0 0 1-7 7H52.79a7 7 0 0 1-7-7v-5.66H183z\\\" fill=\\\"#FCC800\\\"/><path d=\\\"M183.68 80c-.12.65.15 1.29.07 1.93 0 .15 0 .31-.05.46 0 .34-.06.67 0 1 0 .53.07 1.06.11 1.59a4.61 4.61 0 0 1-.17 1.72c-.06.192-.1.39-.12.59a3.79 3.79 0 0 1-1.37 2.53.27.27 0 0 0-.08.14 4 4 0 0 1-1.36 1.53c-.42.363-.9.647-1.42.84a3.26 3.26 0 0 1-1.58.47c-.59-.06-1 .35-1.61.33h-.24a16.2 16.2 0 0 0-2.09 0c-.36 0-.75.1-1.11.1-.36 0-.7-.12-1 0-.3.12-.72-.11-1.07 0h-.39a.86.86 0 0 1-.75 0c-.46-.11-.56-.62-1.43-.42-.34.08-.72.23-1.07 0a.11.11 0 0 0-.15 0 .45.45 0 0 1-.71 0c-.48.31-1 .08-1.46.1a2.5 2.5 0 0 1-.84-.16 1.31 1.31 0 0 0-.68 0 6.58 6.58 0 0 1-1.86.19 4.16 4.16 0 0 0-1.22 0c-.25 0-.51.21-.74-.11 0-.06-.15 0-.22 0a1.09 1.09 0 0 1-.69 0 10.6 10.6 0 0 0-2.32-.12h-1.08c-.13 0-.25.07-.38.08-.53.08-1.05.36-1.6.11a.51.51 0 0 0-.45 0 1.1 1.1 0 0 1-.83.08 2.41 2.41 0 0 0-1 0 1.86 1.86 0 0 1-1.16-.08 1 1 0 0 0-.45 0h-1.82c-.31 0-.62-.11-.92-.1-.69 0-1.39.11-2.08.17a1.11 1.11 0 0 1-.76-.15 1 1 0 0 0-1 0 2 2 0 0 1-1.67 0 2 2 0 0 0-1.75.08 1.48 1.48 0 0 1-1.21.22.41.41 0 0 0-.31 0 .7.7 0 0 1-.76-.14 1.07 1.07 0 0 0-.9-.13 3.39 3.39 0 0 1-1.76.08.63.63 0 0 0-.53.09.92.92 0 0 1-.75.13 10.49 10.49 0 0 0-1.47-.16 6.61 6.61 0 0 0-1.47.1 4.71 4.71 0 0 1-1.45 0 2.7 2.7 0 0 1-1-.1 2.83 2.83 0 0 0-1.84-.06c-.1.01-.2.01-.3 0l-2.55-.11a1.61 1.61 0 0 0-.38.08c-.09-.06-.19-.18-.27-.15-.55.15-1.08.44-1.64.13-.36.15-.71-.11-1.05-.06-.53.08-1.07-.15-1.59.22a.4.4 0 0 1-.37 0 1 1 0 0 0-.91.08c-.15.08-.29 0-.41-.18v-.06h-.05c-.1 0-.24.15-.29.09-.29-.35-.58-.2-.89-.12a.35.35 0 0 1-.3 0 2.17 2.17 0 0 0-1.37-.15c-.38 0-.77.29-1.13-.13-.07-.08-.2 0-.3 0a2.51 2.51 0 0 1-1.09 0 .53.53 0 0 0-.46 0c-.41.24-.8.07-1.21 0-.12 0-.27-.09-.37 0a.67.67 0 0 1-.82.09c-.52-.24-1.07.15-1.6-.1a.2.2 0 0 0-.22.08c-.2.32-.39.33-.62.07-.23-.26-.32-.13-.51-.06a2 2 0 0 1-1.29.11c-.42-.12-.87-.3-1.29.12-.1.1-.3 0-.45 0a1.4 1.4 0 0 0-.61 0 1.38 1.38 0 0 1-1.14-.12 1.15 1.15 0 0 0-1 0 1.81 1.81 0 0 1-1.13.18 4.25 4.25 0 0 0-1.06-.08c-.38 0-.76 0-1.14-.06a9.62 9.62 0 0 0-1.61 0 .45.45 0 0 1-.3-.07c-.45-.38-.9-.21-1.35-.1a1.09 1.09 0 0 1-.69 0 1.23 1.23 0 0 0-.54 0 3 3 0 0 1-1.15 0 2.28 2.28 0 0 0-1.29.07 1.68 1.68 0 0 1-1.37 0 .38.38 0 0 0-.37 0c-.29.18-.56-.11-.84 0a6.06 6.06 0 0 1-.92.2h-.23a8.18 8.18 0 0 0-1.78-.09c-.12 0-.25.08-.37.15a.61.61 0 0 1-.61 0 1.88 1.88 0 0 0-.52-.08 1.8 1.8 0 0 0-1.45.11.21.21 0 0 1-.15 0 1.2 1.2 0 0 0-.77 0 2.23 2.23 0 0 1-.85-.06 2.87 2.87 0 0 0-2-.16 2 2 0 0 1-.54 0c-.52 0-.55.49-1.06.49-.26 0-.44.11-.65-.22-.21-.33-.58-.2-.84-.15a15.79 15.79 0 0 1-3.7 0 7.34 7.34 0 0 1-.93-.1 1.56 1.56 0 0 0-.84.16 2.11 2.11 0 0 1-1.31.12 10.67 10.67 0 0 0-2.39-.15 8.26 8.26 0 0 1-2.47-.2 1.89 1.89 0 0 0-1.21.14 1 1 0 0 1-1.25-.27c-.22-.28-.66-.14-.66-.14a1.46 1.46 0 0 0-.62 0c-.21 0-.59.45-1.06.41a11.39 11.39 0 0 1-1.63-.3c-.65-.12-1.29.15-1.93.07h-.46c-.33 0-.72-.08-1.08-.09a5.93 5.93 0 0 1-3.3-1c-.16-.12-.34-.21-.51-.32a3.74 3.74 0 0 1-1.88-2.16.41.41 0 0 0-.1-.13 3.94 3.94 0 0 1-1-1.81 4.74 4.74 0 0 1-.28-1.63 3.84 3.84 0 0 1 0-1.52c.18-.52-.19-1-.15-1.46a1.76 1.76 0 0 1 0-.23 7.37 7.37 0 0 0 0-1v-1.41c0-.48-.06-1-.09-1.55h.42a6.82 6.82 0 0 0 1.76 0h.4c.086-.01.174-.01.26 0 .174.04.356.04.53 0h.38a.92.92 0 0 1 .76 0c.46.11.55.62 1.42.41.35-.08.72-.22 1.07.06a.12.12 0 0 0 .15 0c.24-.22.47-.28.71 0 .48-.32 1-.08 1.46-.1.287.004.572.058.84.16.225.065.465.065.69 0a6.91 6.91 0 0 1 1.86-.18c.404.06.816.06 1.22 0 .25 0 .5-.21.74.11 0 .06.15 0 .22 0 .22-.075.46-.075.68 0a10.63 10.63 0 0 0 2.32.12h1.09c.12 0 .25-.07.37-.09.53-.07 1.06-.35 1.6-.11a.48.48 0 0 0 .46 0 1.09 1.09 0 0 1 .83-.07c.33.066.67.066 1 0a1.85 1.85 0 0 1 1.16.08c.149.03.301.03.45 0h1.83c.3 0 .61.11.92.1.69 0 1.38-.11 2.07-.18.264-.036.533.02.76.16a1 1 0 0 0 1.06 0 2 2 0 0 1 1.66 0 2 2 0 0 0 1.76-.09 1.55 1.55 0 0 1 1.21-.22.37.37 0 0 0 .31 0 .68.68 0 0 1 .75.14c.266.174.595.221.9.13a3.43 3.43 0 0 1 1.77-.08.61.61 0 0 0 .52-.09 1 1 0 0 1 .76-.13c.482.088.97.142 1.46.16a6.57 6.57 0 0 0 1.47-.1 4.77 4.77 0 0 1 1.46 0 2.74 2.74 0 0 1 1 .1 2.74 2.74 0 0 0 1.83 0c.103-.01.207-.01.31 0l2.54.11a1.8 1.8 0 0 0 .39-.08c.09.06.19.18.27.15.54-.15 1.08-.45 1.64-.13.35-.16.7.11 1 .06.52-.08 1.07.14 1.58-.22a.42.42 0 0 1 .38 0c.297.109.627.08.9-.08.16-.08.3 0 .41.18v.06c.1 0 .24-.15.3-.09.28.35.58.2.88.12a.35.35 0 0 1 .3 0 2.27 2.27 0 0 0 1.38.15c.37 0 .77-.3 1.13.13.06.07.2 0 .3 0a2.62 2.62 0 0 1 1.08 0 .53.53 0 0 0 .46 0 1.5 1.5 0 0 1 1.21 0c.12 0 .28.09.37 0a.68.68 0 0 1 .82-.08c.53.23 1.07-.15 1.6.1a.2.2 0 0 0 .22-.08c.2-.32.4-.34.62-.07.22.27.33.13.52.06a2 2 0 0 1 1.29-.11c.42.11.86.3 1.28-.12.11-.1.3 0 .45 0 .2.045.41.045.61 0a1.41 1.41 0 0 1 1.15.12 1.16 1.16 0 0 0 1 0 1.82 1.82 0 0 1 1.13-.18c.349.07.705.097 1.06.08.38 0 .76 0 1.14.06a9.74 9.74 0 0 0 1.62 0 .37.37 0 0 1 .3.07c.44.38.9.21 1.35.1a1 1 0 0 1 .69 0c.178.04.362.04.54 0a2.91 2.91 0 0 1 1.14 0 2.28 2.28 0 0 0 1.29-.07 1.7 1.7 0 0 1 1.38.05.42.42 0 0 0 .37-.05c.28-.18.56.11.84 0 .302-.09.61-.16.92-.21a.71.71 0 0 1 .23.06 8.72 8.72 0 0 0 1.77.09c.12 0 .25-.08.37-.15a.58.58 0 0 1 .61 0 2 2 0 0 0 .53.08c.474.17.997.13 1.44-.11a.18.18 0 0 1 .16 0c.246.085.514.085.76 0a2 2 0 0 1 .85.06 2.87 2.87 0 0 0 1.93.18 1.79 1.79 0 0 1 1.12 0l1.09.08c.11 0 .1.08.09.17.304-.022.6-.108.87-.25.36-.238.8-.317 1.22-.22a.35.35 0 0 0 .3 0 .7.7 0 0 1 .76.14c.266.175.596.223.9.13a3.39 3.39 0 0 1 1.76-.08.63.63 0 0 0 .53-.09.92.92 0 0 1 .75-.13c.486.088.977.141 1.47.16a6.57 6.57 0 0 0 1.47-.1 4.77 4.77 0 0 1 1.46 0 2.74 2.74 0 0 1 1 .1 2.74 2.74 0 0 0 1.83 0c.103-.01.207-.01.31 0l2.54.11a1.8 1.8 0 0 0 .39-.08c.09.06.18.18.26.15.55-.15 1.08-.45 1.64-.13.36-.16.71.11 1.05.06.53-.08 1.07.14 1.59-.22a.42.42 0 0 1 .38 0c.297.109.627.08.9-.08.15-.08.29 0 .41.18v.06c.1 0 .24-.15.29-.09.29.35.59.2.89.12a.35.35 0 0 1 .3 0 2.27 2.27 0 0 0 1.38.15c.37 0 .76-.3 1.12.13.07.07.2 0 .31 0a2.63 2.63 0 0 1 1.08 0 .53.53 0 0 0 .46 0 1.5 1.5 0 0 1 1.21 0c.12 0 .27.09.37 0a.68.68 0 0 1 .82-.08c.53.23 1.07-.15 1.6.1a.2.2 0 0 0 .22-.08c.2-.32.4-.34.62-.07.22.27.32.13.51.06a2.07 2.07 0 0 1 1.3-.11c.41.11.86.3 1.28-.12.11-.1.3 0 .45 0 .2.045.41.045.61 0l.21 1.94a1 1 0 0 1-.39 0c-.48-.16-1 .18-1.45-.15-.55.12-1.13-.14-1.68.17-.11.07-.26 0-.38 0a7.12 7.12 0 0 0-2.56-.11c-.16 0-.33.08-.46 0a1.85 1.85 0 0 0-1.31 0 3.38 3.38 0 0 1-.69.14c-.62 0-1.24-.07-1.86-.13a2.35 2.35 0 0 0-1.31.1.7.7 0 0 1-.38 0 9.73 9.73 0 0 0-2.95 0 4.9 4.9 0 0 1-.54 0c-.61 0-1.22-.39-1.84-.06a.34.34 0 0 1-.31 0c-.53-.28-1.08-.07-1.61-.15a1.13 1.13 0 0 0-.62.1c-.354.2-.786.2-1.14 0a.51.51 0 0 0-.3 0 4.91 4.91 0 0 1-1.38 0 4.06 4.06 0 0 0-1.47-.08 6.88 6.88 0 0 1-1.68.24 1.79 1.79 0 0 1-.61 0 7.46 7.46 0 0 0-2.1-.17h-1.39c-.46 0-.92.24-1.38 0-.852.06-1.708.06-2.56 0h-3.48a4 4 0 0 0-.85 0 4.09 4.09 0 0 1-.6.07.47.47 0 0 1-.49 0 1.88 1.88 0 0 0-1.21-.13h-.09a.8.8 0 0 1-.3.06 9 9 0 0 1-2.07.11 10.73 10.73 0 0 0-2.4.15 2.11 2.11 0 0 1-1.31-.12 1.66 1.66 0 0 0-.84-.16 7.34 7.34 0 0 1-.93.1 15.79 15.79 0 0 1-3.7 0 .81.81 0 0 0-.84.15c-.06.07-.18 0-.28 0-.1 0-.41-.08-.62-.08-.71 0-1.43 0-2.15-.12a8.64 8.64 0 0 0-3.24.12 1.57 1.57 0 0 1-.91 0 4 4 0 0 0-1.38 0c-.1 0-.21.08-.31.06a11.83 11.83 0 0 0-3.09-.11 1 1 0 0 1-.39 0c-.47-.16-1 .18-1.44-.15-.56.12-1.13-.14-1.69.17-.11.07-.25 0-.38 0a7.11 7.11 0 0 0-2.56-.11.8.8 0 0 1-.46 0 1.85 1.85 0 0 0-1.31 0 3.38 3.38 0 0 1-.69.14c-.62 0-1.23-.07-1.85-.13a2.39 2.39 0 0 0-1.32.1.7.7 0 0 1-.38 0 9.73 9.73 0 0 0-3 0 4.73 4.73 0 0 1-.53 0c-.62 0-1.23-.39-1.85-.06a.34.34 0 0 1-.31 0c-.53-.28-1.07-.07-1.61-.15a1.08 1.08 0 0 0-.61.1c-.354.2-.786.2-1.14 0a.53.53 0 0 0-.3 0 5 5 0 0 1-1.39 0 4 4 0 0 0-1.46-.08 7 7 0 0 1-1.69.24 1.79 1.79 0 0 1-.61 0 7.39 7.39 0 0 0-2.09-.17h-1.4c-.47 0-.92.24-1.38 0-.852.06-1.708.06-2.56 0h-3.48a4 4 0 0 0-.85 0 2.63 2.63 0 0 1-1.39 0 1.33 1.33 0 0 0-1 0 1 1 0 0 1-.84-.08c-.3-.11-.58.25-.91.18a5.36 5.36 0 0 0-1.69-.15c-.75.07-1.49 0-2.24 0-.75 0-1.63-.1-2.46-.07-.59.1-1.19.1-1.78 0-.93-.29-1.86.07-2.79-.08a10.62 10.62 0 0 0-1.77.13h-2.72a2.58 2.58 0 0 0-.92 0c-.31-.35-.62-.24-.94 0h-.15c-.39-.33-.77 0-1.14.05-.91.12-1.81-.13-2.71-.08l-.85.06c-.21 0-.41.08-.62.07a21.6 21.6 0 0 0-3 0 .33.33 0 0 1-.3-.08c-.22-.25-.45-.13-.68-.08l-.49.09h-.25a.39.39 0 0 1-.13 0 .12.12 0 0 0-.16 0c0 .12-.06.2-.12.21-.06.01 0 .08-.07.09-.07.01-.08.1-.07.17a.23.23 0 0 0 0 .11l.05.29a2.4 2.4 0 0 1 0 1.16c0 .1 0 .2.06.31a.49.49 0 0 0 .08.22.76.76 0 0 1 0 .83 1 1 0 0 0 0 .62c.04.201.04.409 0 .61a7.74 7.74 0 0 0 .27 2.31 3.35 3.35 0 0 0 1 1.58c.259.217.464.49.6.8a.36.36 0 0 0 .24.21c.11 0 .25 0 .33.1.25.21.52.39.78.61.26.22.67.1 1 .16a.6.6 0 0 1 .19.06.93.93 0 0 0 .83 0 1.38 1.38 0 0 1 .91 0 5.12 5.12 0 0 0 1.69.17 4 4 0 0 1 1.24 0 4.07 4.07 0 0 0 1.93-.06c.18-.025.36-.025.54 0 .07 0 .19 0 .22.06a.58.58 0 0 0 .68.42h.49c.51 0 1-.09 1.55-.12.18-.02.36-.02.54 0a2.87 2.87 0 0 0 2-.15 2 2 0 0 1 .85-.06c.25.08.52.08.77 0a.16.16 0 0 1 .15 0c.446.24.973.28 1.45.11.177 0 .353-.031.52-.09a.61.61 0 0 1 .61 0c.12.07.25.17.37.15.592.03 1.185 0 1.77-.09a.71.71 0 0 1 .23-.06c.31.05.618.12.92.21.29.09.56-.2.84 0a.42.42 0 0 0 .37.05 1.5 1.5 0 0 1 1.38-.05c.45.19.76-.29 1.24-.1.384.166.81.212 1.22.13a8.52 8.52 0 0 1 2.46-.19c.8.037 1.602-.017 2.39-.16a2.25 2.25 0 0 1 1.31.12c.262.133.556.192.85.17a7 7 0 0 1 .92-.1 15.35 15.35 0 0 1 3.71 0 .81.81 0 0 0 .83-.15c.07-.07.19 0 .29 0 .1 0 .41.08.61.09.72 0 1.43 0 2.15.12a8.84 8.84 0 0 0 3.24-.12 1.49 1.49 0 0 1 .91 0c.46.08.93.08 1.39 0 .1 0 .2-.08.3-.06 1.02.171 2.06.208 3.09.11a1 1 0 0 1 .39 0c.48.16 1-.18 1.45.15.56-.13 1.13.14 1.68-.17.11-.07.26 0 .39 0a6.85 6.85 0 0 0 2.55.1.83.83 0 0 1 .47 0c.419.16.881.16 1.3 0a2.82 2.82 0 0 1 .69-.14c.62 0 1.24.07 1.86.12.436.096.89.064 1.31-.09a.65.65 0 0 1 .39 0 9.66 9.66 0 0 0 2.94 0c.18-.01.36-.01.54 0 .61 0 1.22.39 1.84.07a.34.34 0 0 1 .31 0c.53.28 1.08.07 1.61.15a1 1 0 0 0 .62-.11 1.21 1.21 0 0 1 1.14 0 .51.51 0 0 0 .3 0 4.91 4.91 0 0 1 1.38 0c.481.116.98.143 1.47.08a6.88 6.88 0 0 1 1.68-.24 1.85 1.85 0 0 1 .62 0 7.74 7.74 0 0 0 2.09.17h1.4c.47 0 .92-.25 1.37 0a17 17 0 0 1 2.57 0h3.48a4 4 0 0 0 .84 0 2.73 2.73 0 0 1 1.39 0 1.38 1.38 0 0 0 1 0 1.07 1.07 0 0 1 .84.07c.31.11.58-.25.91-.17a5.7 5.7 0 0 0 1.69.15c.75-.08 1.5 0 2.25 0s1.63.09 2.46.07a5.6 5.6 0 0 1 1.78 0c.93.3 1.85-.06 2.78.09a9.67 9.67 0 0 0 1.77-.14h2.72c.304.055.616.055.92 0 .31.35.63.24.95 0 0 0 .11-.06.15 0 .38.33.76 0 1.14 0 .9-.12 1.8.12 2.71.07h.84c.28 0 .42-.08.62-.07a21.6 21.6 0 0 0 3 0 .34.34 0 0 1 .3.07c.23.26.46.13.68.09.323-.1.664-.13 1-.09a.56.56 0 0 0 .38 0 1.85 1.85 0 0 1 1.34-.13c.77.26 1.54-.27 2.31 0a.57.57 0 0 0 .31-.06.41.41 0 0 0 .19-.09.6.6 0 0 1 .68-.1.59.59 0 0 0 .52 0c.15-.12.33-.07.5-.13a7.16 7.16 0 0 0 2-1 3.44 3.44 0 0 0 1.13-1.5c.11-.316.296-.6.54-.83.09-.07.09-.2.11-.31.02-.11-.06-.24 0-.34.11-.31.16-.63.3-.94.14-.31-.13-.64-.19-1a.59.59 0 0 1 0-.23 1.59 1.59 0 0 0-.13-1 1.7 1.7 0 0 1 0-1.07 4.89 4.89 0 0 0 .17-1.69 4 4 0 0 1 0-1.24l1.91.01z\\\" fill=\\\"#000\\\"/><path d=\\\"M183 9.24a7 7 0 0 0-7-7H52.79a7 7 0 0 0-7 7H183z\\\" fill=\\\"#FCC800\\\"/><path d=\\\"M182.3 8.82c.09-.59-.29-1.08-.4-1.61 0-.13-.05-.26-.09-.39a3.81 3.81 0 0 0-.35-.8 11 11 0 0 0-1.92-1.94 1.25 1.25 0 0 0-.41-.22 13.18 13.18 0 0 1-2.08-.85.17.17 0 0 0-.12 0 2.23 2.23 0 0 1-.8.08 4.24 4.24 0 0 0-.87 0 9.62 9.62 0 0 1-1.42 0c-.47.06-.947.04-1.41-.06-.5-.18-.94.19-1.4.15h-.23a15 15 0 0 0-2 0c-.35 0-.72.1-1.07.1a2.22 2.22 0 0 0-1 0c-.36.19-.68-.1-1 0-.13 0-.27 0-.37.05a.82.82 0 0 1-.73 0c-.44-.1-.53-.61-1.37-.41-.33.08-.69.23-1-.05a.11.11 0 0 0-.15 0c-.22.22-.45.27-.68 0-.46.31-.93.08-1.4.09a2.32 2.32 0 0 1-.81-.15 1.23 1.23 0 0 0-.66 0 6.42 6.42 0 0 1-1.79.19 3.83 3.83 0 0 0-1.17 0c-.24 0-.48.21-.71-.12 0-.05-.15 0-.21 0a1 1 0 0 1-.66 0 9.82 9.82 0 0 0-2.23-.12h-1.05a2.33 2.33 0 0 0-.36.08c-.51.08-1 .36-1.53.11a.49.49 0 0 0-.44 0 1 1 0 0 1-.8.08 2.22 2.22 0 0 0-1 0 1.7 1.7 0 0 1-1.11-.08.94.94 0 0 0-.44 0h-1.75c-.29 0-.59-.11-.88-.09-.67 0-1.33.1-2 .17a1 1 0 0 1-.73-.16.92.92 0 0 0-1 0 1.83 1.83 0 0 1-1.6 0 1.88 1.88 0 0 0-1.68.08 1.39 1.39 0 0 1-1.17.22.33.33 0 0 0-.29 0c-.26.15-.5 0-.73-.14a1 1 0 0 0-.87-.14 3 3 0 0 1-1.69.08.56.56 0 0 0-.51.1.86.86 0 0 1-.72.13 9.66 9.66 0 0 0-1.44 0 6.18 6.18 0 0 0-1.42.1 4.39 4.39 0 0 1-1.4 0 2.77 2.77 0 0 1-1-.1 2.54 2.54 0 0 0-1.76-.06 1.55 1.55 0 0 1-.29 0l-2.45-.11a1.63 1.63 0 0 0-.37.08c-.09-.06-.18-.18-.26-.16-.52.16-1 .45-1.58.14-.34.15-.68-.11-1-.06-.5.08-1-.15-1.52.22a.38.38 0 0 1-.36 0 1 1 0 0 0-.87.08c-.15.08-.29 0-.39-.18v-.06c-.1 0-.24.15-.29.09-.27-.35-.56-.2-.85-.12a.37.37 0 0 1-.29 0 2 2 0 0 0-1.32-.15c-.36 0-.74.29-1.09-.13-.06-.08-.19 0-.29 0a2.29 2.29 0 0 1-1 0 .46.46 0 0 0-.44 0 1.35 1.35 0 0 1-1.16 0c-.12 0-.27-.09-.36 0a.63.63 0 0 1-.79.09c-.5-.24-1 .15-1.53-.1a.19.19 0 0 0-.22.08c-.19.31-.38.33-.59.07-.21-.26-.31-.13-.5-.06a2 2 0 0 1-1.24.11c-.4-.12-.83-.3-1.24.12-.1.1-.28 0-.43 0a1.31 1.31 0 0 0-.59 0 1.3 1.3 0 0 1-1.1-.12 1 1 0 0 0-.94 0 1.63 1.63 0 0 1-1.09.17 4.42 4.42 0 0 0-1-.07c-.36 0-.73 0-1.09-.06a8.13 8.13 0 0 0-1.56 0 .43.43 0 0 1-.29-.07c-.42-.39-.86-.21-1.29-.1a1 1 0 0 1-.67 0 1.13 1.13 0 0 0-.52 0 2.7 2.7 0 0 1-1.1 0 2.12 2.12 0 0 0-1.24.07 1.6 1.6 0 0 1-1.32-.05.37.37 0 0 0-.36.05c-.27.17-.53-.12-.8 0a5.45 5.45 0 0 1-.89.2c-.07 0-.14 0-.22-.06a7.52 7.52 0 0 0-1.71-.08c-.11 0-.24.08-.35.15a.57.57 0 0 1-.59 0 1.74 1.74 0 0 0-.5-.08 1.66 1.66 0 0 0-1.39.1h-.15a1.08 1.08 0 0 0-.73 0 2 2 0 0 1-.82-.06 2.67 2.67 0 0 0-2-.16 2.38 2.38 0 0 1-.53.05c-.49 0-.52.49-1 .49-.25 0-.42.11-.62-.22s-.56-.2-.81-.15a14.62 14.62 0 0 1-3.56 0c-.3 0-.59-.06-.89-.1a1.46 1.46 0 0 0-.81.16 2 2 0 0 1-1.26.12 9.86 9.86 0 0 0-2.3-.15 7.93 7.93 0 0 1-2.37-.2 1.78 1.78 0 0 0-1.17.14.94.94 0 0 1-1.19-.28c-.21-.27-.64-.13-.64-.13a1.37 1.37 0 0 0-.6 0c-.2 0-.56.45-1 .41a10.47 10.47 0 0 1-1.56-.3c-.63-.12-1.24.15-1.86.07h-.44a3.7 3.7 0 0 0-.88 0 11.12 11.12 0 0 0-2.52 1 1.12 1.12 0 0 0-.36.29 12.64 12.64 0 0 1-1.59 1.6.14.14 0 0 0 0 .11c-.06.57-.41 1-.49 1.5a2.65 2.65 0 0 1-.06.38 1.31 1.31 0 0 0-.06.27c0 .08 0 .2.06.19.06-.01.16 0 .2.09.04.09.21 0 .3 0a1.94 1.94 0 0 1 .66-.13h.23c.666.05 1.334.05 2 0 .35 0 .72-.09 1.07-.09.35 0 .67.12 1 0 .33-.12.68.11 1 0h.37c.23-.11.5-.11.73 0 .44.11.53.61 1.37.41.33-.08.69-.22 1 .06a.12.12 0 0 0 .14 0c.23-.22.45-.28.69 0 .46-.31.93-.07 1.4-.09a2 2 0 0 1 .8.16c.22.06.45.06.67 0a6.35 6.35 0 0 1 1.78-.19c.391.06.789.06 1.18 0 .24-.05.48-.21.71.11 0 .06.14 0 .21 0a1 1 0 0 1 .66 0 9.79 9.79 0 0 0 2.23.12h1a2.33 2.33 0 0 0 .36-.08c.51-.07 1-.36 1.54-.11a.49.49 0 0 0 .44 0 1 1 0 0 1 .79-.08 2.22 2.22 0 0 0 1 0 1.8 1.8 0 0 1 1.12.07.92.92 0 0 0 .43.06h1.75c.3 0 .6.11.89.1.67 0 1.33-.11 2-.18a1 1 0 0 1 .73.16.92.92 0 0 0 1 0 1.77 1.77 0 0 1 1.6-.05 1.9 1.9 0 0 0 1.69-.09 1.44 1.44 0 0 1 1.16-.22.35.35 0 0 0 .3 0c.26-.16.5 0 .72.13a1 1 0 0 0 .87.14 3.17 3.17 0 0 1 1.7-.08.57.57 0 0 0 .5-.09.85.85 0 0 1 .73-.13 9.66 9.66 0 0 0 1.41.16 5.56 5.56 0 0 0 1.41-.11 4.12 4.12 0 0 1 1.4 0c.337-.034.677 0 1 .1a2.63 2.63 0 0 0 1.77.05.92.92 0 0 1 .29 0l2.45.11a1.81 1.81 0 0 0 .37-.09c.08.05.18.17.26.15.52-.16 1-.45 1.57-.13.35-.16.68.1 1 0 .51-.08 1 .15 1.53-.21a.38.38 0 0 1 .36 0 1 1 0 0 0 .87-.07c.14-.08.28 0 .39.17v.07-.05c.1 0 .23-.15.28-.08.28.35.56.19.85.11.1 0 .21-.06.29 0a2 2 0 0 0 1.33.15c.35 0 .74-.29 1.08.13.07.08.2 0 .29 0a2.29 2.29 0 0 1 1 0 .55.55 0 0 0 .45 0c.39-.24.77-.07 1.16 0 .12 0 .27.09.36 0a.65.65 0 0 1 .79-.09c.5.24 1-.15 1.53.11a.18.18 0 0 0 .21-.09c.2-.31.38-.33.6-.06.22.27.31.13.49.06a1.92 1.92 0 0 1 1.25-.11c.4.11.83.29 1.23-.12.1-.11.29 0 .43 0 .194.045.396.045.59 0a1.26 1.26 0 0 1 1.1.12 1.09 1.09 0 0 0 1 0 1.69 1.69 0 0 1 1.09-.17 3.9 3.9 0 0 0 1 .07c.36 0 .73 0 1.09.06a8.92 8.92 0 0 0 1.55 0 .37.37 0 0 1 .29.06c.43.39.87.22 1.3.11a.94.94 0 0 1 .66 0c.171.04.349.04.52 0a2.54 2.54 0 0 1 1.1 0 2 2 0 0 0 1.24-.08c.42-.185.9-.185 1.32 0a.34.34 0 0 0 .36 0c.28-.17.54.12.81 0a7 7 0 0 1 .88-.21.46.46 0 0 1 .22.06 8.18 8.18 0 0 0 1.71.09.7.7 0 0 0 .36-.15.53.53 0 0 1 .58 0c.165.054.337.084.51.09a1.7 1.7 0 0 0 1.39-.11.12.12 0 0 1 .14 0c.241.075.499.075.74 0 .274-.04.554-.02.82.06a2.58 2.58 0 0 0 1.85.17 1.81 1.81 0 0 1 1.08 0l1.05.09c.1 0 .09.07.08.16a1.84 1.84 0 0 0 .84-.24 1.46 1.46 0 0 1 1.17-.22.35.35 0 0 0 .3 0c.26-.16.49 0 .72.13a1 1 0 0 0 .87.14 3.13 3.13 0 0 1 1.69-.08.59.59 0 0 0 .51-.09.82.82 0 0 1 .72-.13 9.66 9.66 0 0 0 1.41.16 5.64 5.64 0 0 0 1.42-.11 4.11 4.11 0 0 1 1.4 0c.32-.027.643.007.95.1a2.6 2.6 0 0 0 1.76.05 1 1 0 0 1 .3 0l2.44.11a1.54 1.54 0 0 0 .37-.09c.09.05.18.17.26.15.53-.16 1-.45 1.58-.13.34-.16.68.1 1 0 .51-.08 1 .15 1.52-.21a.41.41 0 0 1 .37 0 1 1 0 0 0 .87-.07c.14-.08.28 0 .39.17v.07-.05s.23-.15.28-.08c.28.35.56.19.85.11.1 0 .21-.06.29 0a2 2 0 0 0 1.32.15c.36 0 .74-.29 1.09.13.06.08.19 0 .29 0a2.29 2.29 0 0 1 1 0c.14.065.3.065.44 0 .4-.24.78-.07 1.17 0 .11 0 .26.09.35 0a.66.66 0 0 1 .79-.09c.51.24 1-.15 1.54.11a.18.18 0 0 0 .21-.09c.19-.31.38-.33.6-.06.22.27.31.13.49.06a1.89 1.89 0 0 1 1.24-.11c.4.11.83.29 1.24-.12.1-.11.28 0 .43 0 .194.045.396.045.59 0l.2 1.94a.93.93 0 0 1-.37 0c-.46-.17-.94.18-1.4-.15-.53.12-1.08-.14-1.61.17a.53.53 0 0 1-.37 0 6.58 6.58 0 0 0-2.46-.11.77.77 0 0 1-.45 0 1.69 1.69 0 0 0-1.25 0 4 4 0 0 1-.67.14c-.59 0-1.19-.07-1.78-.13a2.27 2.27 0 0 0-1.26.09.53.53 0 0 1-.37 0 9.33 9.33 0 0 0-2.84 0 2.91 2.91 0 0 1-.51 0c-.59 0-1.18-.39-1.78-.06a.33.33 0 0 1-.29 0c-.51-.29-1-.07-1.55-.15a.93.93 0 0 0-.59.1 1.11 1.11 0 0 1-1.1 0 .48.48 0 0 0-.29 0 4.57 4.57 0 0 1-1.33 0 4.21 4.21 0 0 0-1.41-.08 6.43 6.43 0 0 1-1.62.25 2 2 0 0 1-.59 0 6.81 6.81 0 0 0-2-.16 12 12 0 0 0-1.34 0c-.44 0-.89.24-1.33 0-.819.06-1.641.06-2.46 0h-3.35a5.48 5.48 0 0 0-.81 0 2.8 2.8 0 0 1-.57.08.45.45 0 0 1-.48 0 1.77 1.77 0 0 0-1.17-.14h-.07a.59.59 0 0 1-.28.06c-.66.12-1.33.16-2 .12a9.86 9.86 0 0 0-2.3.15 2 2 0 0 1-1.26-.12 1.39 1.39 0 0 0-.81-.16c-.3 0-.59.09-.89.1a14.7 14.7 0 0 1-3.57 0 .73.73 0 0 0-.8.15c-.06.06-.18 0-.27 0-.09 0-.4-.08-.59-.09-.69 0-1.38 0-2.07-.12a8 8 0 0 0-3.12.13 1.36 1.36 0 0 1-.87 0 3.72 3.72 0 0 0-1.33 0c-.1 0-.2.07-.29.06a11 11 0 0 0-3-.11.93.93 0 0 1-.37 0c-.46-.17-.94.18-1.39-.15-.54.12-1.09-.14-1.62.17a.53.53 0 0 1-.37 0 6.58 6.58 0 0 0-2.46-.11c-.15 0-.31.08-.44 0a1.71 1.71 0 0 0-1.26 0 3.88 3.88 0 0 1-.66.14c-.6 0-1.19-.07-1.79-.13a2.27 2.27 0 0 0-1.26.09.52.52 0 0 1-.37 0 9.26 9.26 0 0 0-2.83 0 3 3 0 0 1-.52 0c-.59 0-1.17-.39-1.77-.06a.35.35 0 0 1-.3 0c-.51-.29-1-.07-1.55-.15a1 1 0 0 0-.59.1 1.11 1.11 0 0 1-1.1 0 .48.48 0 0 0-.29 0 4.49 4.49 0 0 1-1.32 0 4.22 4.22 0 0 0-1.41-.08 6.5 6.5 0 0 1-1.62.25c-.2 0-.41.07-.59 0a6.88 6.88 0 0 0-2-.16 12 12 0 0 0-1.34 0c-.44 0-.88.24-1.32 0a17 17 0 0 1-2.47 0h-3.34a5.65 5.65 0 0 0-.82 0 2.5 2.5 0 0 1-1.33 0 1.3 1.3 0 0 0-1 0 .94.94 0 0 1-.8-.07c-.29-.11-.56.25-.88.18a4.68 4.68 0 0 0-1.62-.15c-.73.07-1.44 0-2.16 0-.72 0-1.57-.09-2.37-.07a4.69 4.69 0 0 1-1.71 0c-.89-.29-1.78.07-2.68-.08a8.92 8.92 0 0 0-1.7.13h-2.61a2.67 2.67 0 0 0-.89 0c-.3-.35-.6-.23-.91 0 0 0-.11.06-.14 0-.37-.33-.73 0-1.1 0-.87.12-1.73-.13-2.6-.08L57.6 10a3.81 3.81 0 0 1-.59.08 21.59 21.59 0 0 0-2.9 0 .29.29 0 0 1-.28-.07c-.22-.25-.44-.13-.66-.08a2.36 2.36 0 0 1-1 .08.53.53 0 0 0-.37 0 1.67 1.67 0 0 1-1.29.13c-.74-.26-1.48.28-2.22.05h-.3a.54.54 0 0 0-.21.08.63.63 0 0 1-.4.15 4.06 4.06 0 0 1-.69-.11 3 3 0 0 0-1-.07 4 4 0 0 1-1-.08c-.13 0-.07-.11-.07-.2v-.85c0-.37.07-.73.1-1.1 0-.18 0-.36.08-.55l.14-.47a3.48 3.48 0 0 1 .29-.69c.32-.745.69-1.466 1.11-2.16a2 2 0 0 1 1-.86c.13 0 .21-.17.3-.28.09-.11.15-.26.26-.34a4 4 0 0 1 1.13-.58c.43-.11.69-.52 1.09-.7a.72.72 0 0 1 .25-.07A2.69 2.69 0 0 0 51.51 1a1.8 1.8 0 0 1 1.21-.1 4.63 4.63 0 0 0 1.64.16 4.32 4.32 0 0 1 1.19 0A3.74 3.74 0 0 0 57.4 1a1.83 1.83 0 0 1 .52 0c.07 0 .18 0 .21.06a.58.58 0 0 0 .66.42h.47c.49 0 1-.09 1.49-.12.173-.02.347-.02.52 0a2.71 2.71 0 0 0 2-.15c.266-.08.546-.1.82-.06.238.075.492.075.73 0 0 0 .11-.05.15 0a1.7 1.7 0 0 0 1.39.11 1.82 1.82 0 0 0 .51-.09.55.55 0 0 1 .58 0c.12.07.24.17.36.15.572.03 1.145 0 1.71-.09a.55.55 0 0 1 .22-.06 7 7 0 0 1 .88.21c.27.09.53-.2.81 0a.35.35 0 0 0 .35.06 1.37 1.37 0 0 1 1.33-.05c.43.18.73-.3 1.19-.11a1.83 1.83 0 0 0 1.17.14 7.92 7.92 0 0 1 2.37-.19 9.86 9.86 0 0 0 2.3-.16 2 2 0 0 1 1.26.12c.247.135.53.19.81.16.29 0 .59-.09.89-.1a15.14 15.14 0 0 1 3.56 0 .74.74 0 0 0 .8-.14c.07-.07.18 0 .28 0 .195.04.392.07.59.09.69 0 1.38 0 2.07.12a8 8 0 0 0 3.11-.13c.286-.09.594-.09.88 0a4 4 0 0 0 1.33 0c.09 0 .2-.08.29-.06.99.169 2 .206 3 .11a.81.81 0 0 1 .38 0c.46.16.94-.18 1.39.15.53-.13 1.08.13 1.62-.18.11-.06.25 0 .37 0a6.18 6.18 0 0 0 2.46.11.73.73 0 0 1 .44 0c.43.23.84 0 1.26 0a2.6 2.6 0 0 1 .66-.14c.59 0 1.19.06 1.78.12a2.21 2.21 0 0 0 1.27-.09.58.58 0 0 1 .37 0 9 9 0 0 0 2.83 0c.17-.01.34-.01.51 0 .6 0 1.18.39 1.78.07a.28.28 0 0 1 .29 0c.51.28 1 .06 1.56.15a.92.92 0 0 0 .58-.11 1.13 1.13 0 0 1 1.1 0 .49.49 0 0 0 .29 0 4.56 4.56 0 0 1 1.33 0 4 4 0 0 0 1.41.08 6.43 6.43 0 0 1 1.62-.25c.196-.03.394-.03.59 0a7.2 7.2 0 0 0 2 .17h1.35c.45 0 .88-.24 1.32 0a15.55 15.55 0 0 1 2.46-.05h3.35c.27.03.54.03.81 0a2.54 2.54 0 0 1 1.34 0c.32.136.68.136 1 0a1 1 0 0 1 .81.07c.29.11.55-.25.87-.17a5 5 0 0 0 1.63.14c.72-.07 1.44 0 2.16 0 .72 0 1.57.09 2.36.07a4.92 4.92 0 0 1 1.71-.05c.9.3 1.79-.06 2.68.09a8.87 8.87 0 0 0 1.7-.14h2.62c.29.06.59.06.88 0 .3.35.61.23.91 0 0 0 .11-.06.15 0 .37.32.73 0 1.09-.05.87-.13 1.74.12 2.61.07.27 0 .54 0 .81-.05a4.09 4.09 0 0 1 .6-.07c.962.07 1.928.07 2.89 0a.33.33 0 0 1 .29.07c.21.25.44.13.65.09a2.25 2.25 0 0 1 1-.09.53.53 0 0 0 .37 0 1.7 1.7 0 0 1 1.28-.13c.75.26 1.48-.27 2.23 0 .09 0 .2 0 .29-.06a.53.53 0 0 0 .22-.08.71.71 0 0 1 .8 0 .86.86 0 0 0 .59.05c.195-.04.395-.04.59 0 .86.07 1.73 0 2.6.11.8.027 1.598.098 2.39.21a1.92 1.92 0 0 1 1.16.55c.08.11.24.13.37.18.144.012.286.046.42.1.373.22.71.497 1 .82.26.36.74.44 1.06.74a1 1 0 0 1 .16.2c.187.336.446.627.76.85.31.282.512.664.57 1.08.11.65.21 1.28.37 1.88.147.444.202.914.16 1.38a16.31 16.31 0 0 0-2.04-.31z\\\" fill=\\\"#000\\\"/><path d=\\\"M133.9 105.62a5.34 5.34 0 0 1-5.34-5.34v-8.06h-28.33v8.06a5.34 5.34 0 0 1-5.34 5.34 5.51 5.51 0 0 0-5.51 5.51v.08a.9.9 0 0 0 .9.9h48.23a.9.9 0 0 0 .9-.9v-.08a5.51 5.51 0 0 0-5.51-5.51z\\\" fill=\\\"#FCC800\\\"/><path d=\\\"M133.66 106.3c-.31-.13-.65.09-1 0l-.22-.11a3.8 3.8 0 0 0-.44-.19 2.83 2.83 0 0 1-1.46-.61.63.63 0 0 0-.24-.14 1.2 1.2 0 0 1-.9-.95.08.08 0 0 0-.07 0c-.39-.07-.45-.44-.69-.66a1.58 1.58 0 0 1-.36-.66c-.12-.22-.31-.43-.23-.71.08-.28-.32-.43-.34-.69a.5.5 0 0 1 0-.12 9.63 9.63 0 0 0-.11-1.08c0-.18-.09-.34-.09-.5 0-.16.12-.31 0-.44s.11-.32 0-.47c-.11-.15 0-.12-.05-.17-.05-.05-.09-.23 0-.34.09-.11.62-.24.41-.63-.08-.15-.22-.32.06-.47v-.07c-.22-.1-.28-.2 0-.31-.31-.21-.07-.43-.09-.65a.55.55 0 0 1 .16-.37.27.27 0 0 0 0-.3 1.46 1.46 0 0 1-.19-.82.77.77 0 0 0 0-.54c-.05-.11-.21-.22.11-.33.06 0 0-.06 0-.09s-.07-.23 0-.25a.72.72 0 0 0 .12-.57.38.38 0 0 1 0-.15h-.11s-.11.07-.15.08c-.2.08-.36.36-.38.11 0-.06-.06 0-.08 0-.02 0-.18.13-.3.08a.49.49 0 0 0-.44 0 .41.41 0 0 1-.51-.08.23.23 0 0 0-.2 0h-.81c-.27 0-.27-.11-.4-.1a9.32 9.32 0 0 0-.92.17.29.29 0 0 1-.34-.15c-.15-.23-.31-.21-.46 0a.47.47 0 0 1-.74 0 .48.48 0 0 0-.77.08c-.18.21-.35.37-.54.22a.1.1 0 0 0-.14 0c-.11.15-.22 0-.33-.14-.11-.14-.26-.21-.4-.13-.14.08-.51.26-.78.08-.07-.05-.16 0-.23.09s-.22.17-.33.13a2.21 2.21 0 0 0-.65-.16 1.35 1.35 0 0 0-.65.1.94.94 0 0 1-.64 0c-.15 0-.3 0-.44-.1-.27-.3-.54-.17-.81-.06a.33.33 0 0 1-.13 0l-1.13-.11c-.05 0-.11.05-.17.08 0-.06-.09-.18-.12-.15-.24.15-.48.44-.73.13-.15.15-.31-.11-.46-.06-.15.05-.47-.15-.7.22 0 .08-.11.07-.17 0-.06-.07-.27-.09-.4.08-.13.17-.13 0-.18-.18v-.06s-.1.15-.13.09c-.12-.35-.26-.2-.39-.12-.13.08-.09.07-.13 0-.2-.28-.4-.17-.61-.15-.21.02-.34.29-.5-.13 0-.08-.09 0-.13 0-.04 0-.32.12-.48 0a.12.12 0 0 0-.2 0c-.19.24-.36.07-.54 0-.18-.07-.12-.09-.16 0-.12.25-.24.22-.36.09s-.48.15-.71-.1c0 0-.08 0-.1.08-.09.32-.17.33-.27.07s-.14-.13-.23-.06a.45.45 0 0 1-.57.11c-.18-.12-.38-.3-.57.12 0 .1-.13 0-.19 0s-.19-.09-.28 0c-.09.09-.34 0-.5-.12-.16-.12-.29-.11-.44 0-.15.11-.34.28-.5.18-.16-.1-.31-.06-.46-.08a4.43 4.43 0 0 1-.51-.06 1.38 1.38 0 0 0-.35 0 1 1 0 0 0-.29.05l-.06-.07c-.16-.38-.28-.21-.29-.1-.01.11 0 .11-.12 0s-.11 0-.14 0c0 .11.15.26 0 .24-.15-.02 0 .18.08.27.08.09.11.09.12.12a.39.39 0 0 1-.17.28c-.07 0 0 .11.05.16s-.12.25 0 .37c.09.126.16.264.21.41 0 0 0 .07-.06.1-.2.26 0 .52-.09.78 0 .06.08.11.16.17.08.06.13.18 0 .27-.13.09-.05.15-.09.23-.04.08-.2.43.11.64v.4a.4.4 0 0 1-.06.38c-.32.46-.33.45-.15.9a.52.52 0 0 1 0 .24c0 .23.48.25.48.47 0 .22.11.2-.21.29-.32.09-.21.26-.15.37.113.3.13.629.05.94-.08.32-.2.63-.31.94a1.27 1.27 0 0 1-.24.42.58.58 0 0 0 0 .47.63.63 0 0 1-.2.68 5.54 5.54 0 0 0-.87 1 1.75 1.75 0 0 1-1.06.72c-.22 0-.35.22-.44.47-.09.25-.4.33-.69.06-.29-.27-.34 0-.34 0s-.21.08-.28.14c-.07.06-.13.52-.39.55a2.43 2.43 0 0 1-.88-.15c-.3-.08-.68.19-.89.13a.65.65 0 0 0-.19 0 1 1 0 0 0-.39 0c-.41.09-.72.42-1.15.43-.07 0-.12.07-.17.11-.26.25-.45.49-.9.46 0 .35-.3.36-.39.6a2.86 2.86 0 0 1-.35.43c-.12.14-.1.37-.34.43-.24.06 0 .41-.1.55a.2.2 0 0 1 0 .08 1.55 1.55 0 0 0-.21.73v.41c0 .13-.12.11 0 .14.12.03-.12.11 0 .13.12.02 0 0 .06 0h.06c-.04 0-.38.61-.07.46.12-.08.18-.23.22.06 0-.22.19-.27.28 0 .21-.31.43-.08.64-.09a.61.61 0 0 1 .38.15c.09.06.21.06.3 0a1.46 1.46 0 0 1 .82-.19.83.83 0 0 0 .54 0c.11 0 .22-.21.33.12 0 .05.06 0 .09 0s.2-.08.31 0c.32.118.661.163 1 .13.16-.01.32-.01.48 0 .06 0 .11-.06.17-.08.23-.08.46-.36.7-.11.06.06.14 0 .2 0s.24-.13.37-.08a.49.49 0 0 0 .44 0 .41.41 0 0 1 .51.08.23.23 0 0 0 .2.05h.81c.13 0 .27.11.4.09a7.42 7.42 0 0 0 .92-.17c.12 0 .22 0 .34.16.12.16.3.2.46 0a.47.47 0 0 1 .74 0 .48.48 0 0 0 .77-.08c.18-.21.35-.37.54-.22a.08.08 0 0 0 .13 0c.12-.15.23 0 .34.14.11.14.26.21.4.14.14-.07.51-.27.77-.08.08.05.17 0 .24-.09.07-.09.21-.18.33-.13.209.081.427.135.65.16.222.017.446-.02.65-.11a.94.94 0 0 1 .64 0c.15 0 .3 0 .44.1.27.3.54.18.81.06a.33.33 0 0 1 .13 0l1.13.11c.05 0 .11 0 .17-.08 0 .06.09.18.12.16.24-.16.48-.45.73-.13.15-.16.31.1.46.05.15-.05.47.15.7-.22a.11.11 0 0 1 .17 0c.13.11.26.09.4-.08.14-.17.13 0 .18.18v.06s.1-.15.13-.09c.12.35.25.2.39.12.14-.08.09-.06.13 0 .2.28.4.18.61.15.21-.03.34-.29.5.13 0 .08.09 0 .13 0 .04 0 .32-.12.48 0a.12.12 0 0 0 .2 0c.18-.25.36-.07.54 0 .18.07.12.09.16 0 .12-.24.24-.22.36-.09s.48-.15.71.11c0 0 .07 0 .1-.09.08-.31.17-.33.27-.07s.14.14.23.07a.46.46 0 0 1 .57-.12c.18.12.38.3.57-.11 0-.11.13 0 .19 0s.19.09.27 0c.08-.09.35 0 .51.12.16.12.29.11.43 0s.35-.27.51-.17c.16.1.31.05.46.07.171.01.341.03.51.06.235.045.475.045.71 0a.1.1 0 0 1 .13.06c.2.39.4.21.6.11.2-.1.2-.12.3 0 .1.12.16 0 .24 0 .08 0 .33-.17.51 0s.38 0 .57-.08c.19-.08.4-.21.6.05.05.06.12 0 .17-.05.05-.05.25.12.37 0a1.42 1.42 0 0 1 .41-.2s.06 0 .1.06c.26.2.52 0 .78.09.05 0 .11-.08.16-.16s.18-.13.27 0c.09.13.16.05.24.08.08.03.42.21.64-.1h.06c.06 0 .23.05.34 0a.44.44 0 0 1 .38.07c.43.3.45.33.85.17a.42.42 0 0 1 .5 0l.48.08v.17a.6.6 0 0 0 .39-.24c.18-.21.35-.37.54-.22a.08.08 0 0 0 .13 0c.12-.15.23 0 .33.14s.26.21.4.14c.14-.07.52-.27.78-.08.08.05.17 0 .23-.09s.22-.18.34-.13c.208.083.427.136.65.16a1.38 1.38 0 0 0 .65-.11.94.94 0 0 1 .64 0c.15 0 .3 0 .44.1.27.3.54.18.81.06a.33.33 0 0 1 .13 0c.14 0 .29.11.44 0 .15-.11 0-.07 0-.11.06 0 .17.11.16.08-.08-.23-.38-.35-.06-.33-.17-.07.1-.09 0-.16s.1-.43-.31-.53c-.09 0-.09-.07-.07-.12.02-.05 0-.24-.16-.28-.16-.04 0-.09.12-.2-.05 0-.17 0-.12-.06.29-.23.09-.28 0-.34s-.09 0-.06-.09c.17-.28 0-.38-.13-.51s-.4-.05-.15-.42c0-.07-.05-.06-.08-.09s-.26-.12-.26-.32-.06-.12-.16-.1c-.27.07-.26-.15-.33-.32s0-.14-.11-.09c-.11.05-.29.07-.31-.1-.06-.32-.43-.06-.5-.38h-.11c-.19.27-.25.26-.24 0 .01-.26-.08-.16-.16-.12-.08.04-.37.15-.5 0s-.29-.34-.49 0c0 .1-.1 0-.16 0s-.15-.1-.22 0c0-.65 0-1.3-.08-2a.28.28 0 0 1 .2 0c.24.18.53-.15.73.22.31-.09.52.24.88 0 .08 0 .13 0 .19.08.324.304.72.52 1.15.63.08 0 .19 0 .21.12.07.3.34.28.57.35.23.07.28 0 .36.12.235.227.437.486.6.77.12.19.18.42.48.48a.17.17 0 0 1 .13.16c.14.497.363.967.66 1.39a.82.82 0 0 1 .05.28c.07.32-.22.68.14.94a.1.1 0 0 1 0 .16c-.25.32 0 .72-.12 1.06a.77.77 0 0 0 0 .43.48.48 0 0 1-.44.62.32.32 0 0 0-.18.1 1 1 0 0 1-.85.31c-.34 0-.72-.18-.88-.07a1.59 1.59 0 0 1-.75.25c-.09 0-.18.07-.27 0-.31-.25-.62-.11-.92-.16a2.58 2.58 0 0 0-.62 0c-.2 0-.41.24-.61 0a3.31 3.31 0 0 1-1.13.05h-1.54c-.12 0-.25-.08-.37 0a.68.68 0 0 1-.27.07c-.06.09-.13.13-.21 0a.43.43 0 0 0-.54-.14.19.19 0 0 1-.13.06 1.84 1.84 0 0 1-.92.12 2.08 2.08 0 0 0-1.06.15.47.47 0 0 1-.57-.12c-.13-.13-.25-.2-.38-.16a2 2 0 0 1-.4.1c-.55 0-1.09.29-1.64 0-.12-.06-.25-.13-.37.14 0 .07-.08 0-.13 0a1.43 1.43 0 0 0-.27-.09 6.17 6.17 0 0 1-.95-.12 1.76 1.76 0 0 0-1.43.13.33.33 0 0 1-.4 0c-.21-.16-.41 0-.61 0s-.09.07-.14 0a2.35 2.35 0 0 0-1.36-.1.2.2 0 0 1-.17 0c-.22-.16-.44.18-.64-.15-.25.13-.5-.13-.75.18-.05.06-.11 0-.17 0a1.4 1.4 0 0 0-1.13-.11c-.07 0-.14.08-.2 0-.2-.23-.39 0-.58 0-.19 0-.2.15-.3.14a4.51 4.51 0 0 1-.92-.33c-.2 0-.39-.12-.58.09a.13.13 0 0 1-.17 0 2 2 0 0 0-1.31 0h-.23c-.27 0-.54-.39-.82-.07a.08.08 0 0 1-.13 0c-.24-.29-.48-.07-.72-.15-.08 0-.18 0-.27.1-.09.1-.33.18-.5 0a.12.12 0 0 0-.13 0 1 1 0 0 1-.61 0c-.22-.06-.44-.19-.65-.08a1.56 1.56 0 0 1-.75.25c-.09 0-.18.07-.27 0-.3-.25-.61-.11-.92-.16a2.57 2.57 0 0 0-.62 0c-.2 0-.41.24-.61 0a3.3 3.3 0 0 1-1.13.05h-1.54c-.12 0-.25-.08-.37 0a.58.58 0 0 1-.62 0 .31.31 0 0 0-.44 0c-.12.13-.24 0-.37-.07s-.25.25-.4.17a1.13 1.13 0 0 0-.75-.14 5.46 5.46 0 0 1-1 0c-.36 0-.72-.09-1.08-.07-.36.02-.53.23-.79.05s-.82.06-1.23-.08c-.26-.1-.52.11-.78.13a8 8 0 0 1-1.2 0c-.14 0-.27-.14-.41 0-.14-.35-.28-.23-.42 0 0 0-.05.06-.07 0-.17-.32-.33 0-.5 0-.4.13-.8-.12-1.2-.07a2.35 2.35 0 0 0-.37.05c-.1 0-.16.08-.29.07a2.41 2.41 0 0 1-1.85-.68.18.18 0 0 1-.06-.21c.14-.26 0-.32-.09-.44a.65.65 0 0 1-.13-.62.27.27 0 0 0 0-.26c-.2-.35-.22-.56 0-.77.33-.33-.09-.86.28-1.17v-.17a.35.35 0 0 0 0-.14c-.14-.22 0-.34.16-.42a.31.31 0 0 0 .2-.26c0-.13.12-.19.19-.27a4.53 4.53 0 0 1 1-1c.34-.19.54-.55.83-.82a.62.62 0 0 1 .58-.22c.07 0 .12-.05.17-.1.05-.05.06-.16.12-.19a1.35 1.35 0 0 1 .6-.13c.23 0 .32-.3.51-.39a.19.19 0 0 1 .13 0c.2 0 .34-.1.5-.25a.51.51 0 0 1 .58-.07c.244.124.52.17.79.13.14-.05.27-.14.42-.08a.48.48 0 0 0 .63-.21.24.24 0 0 1 .15-.1h.1c.21.37.33.35.39.29l.17-.06c.16-.12.3-.27.44-.39a.33.33 0 0 1 .19-.08c.41-.09.43-.13.46-.62a.32.32 0 0 1 .15-.27c.08 0 .2-.07.15-.23-.05-.16 0-.05 0-.05.35 0 .36-.19.36-.38s.05-.12 0-.21 0-.16.12-.18c.12-.02.19 0 .19-.07 0-.22.25-.39.1-.65v-.09a1.11 1.11 0 0 1 .25-.3c.11-.09-.18-.22 0-.31s.12-.1.06-.14a.35.35 0 0 1-.05-.59c.19-.2-.29-.34-.1-.55.19-.21.24-.36.14-.54a1.76 1.76 0 0 1-.2-1.09 2.14 2.14 0 0 0-.15-1 .47.47 0 0 1 .12-.58c.13-.12.2-.25.16-.37a2.22 2.22 0 0 1-.1-.41c0-.57-.29-1 0-1.69a.56.56 0 0 0-.14-.67c-.07-.08 0-.16 0-.23.04-.145.07-.292.09-.44l.05-.94.71.07a7.39 7.39 0 0 0 1.2.09c.18.018.36.018.54 0a1.89 1.89 0 0 0 .36-.16.32.32 0 0 1 .4 0c.21.17.41 0 .61 0s.09-.08.14-.06c.433.17.906.208 1.36.11a.2.2 0 0 1 .17 0c.21.16.44-.18.64.15.25-.13.5.14.75-.17 0-.07.11 0 .17 0a1.4 1.4 0 0 0 1.13.1c.06 0 .14-.07.2 0 .2.23.39 0 .58 0 .19 0 .2-.15.3-.14.275.025.55.065.82.12.2 0 .39.12.58-.09a.14.14 0 0 1 .17 0c.42.15.88.15 1.3 0h.24c.27 0 .54.39.82.07h.13c.24.28.48.07.71.15a.27.27 0 0 0 .28-.11c.17-.19.33-.18.5 0a.12.12 0 0 0 .13 0 1 1 0 0 1 .61 0c.22.07.44.19.65.08a1.54 1.54 0 0 1 .74-.24c.1 0 .19-.08.28 0 .3.25.61.11.92.17.206.015.414.015.62 0 .2 0 .4-.25.61 0a3.3 3.3 0 0 1 1.13 0h1.54c.12 0 .25.08.37 0a.56.56 0 0 1 .61 0 .32.32 0 0 0 .45 0c.12-.13.24 0 .37.07s.25-.25.4-.17c.227.131.49.184.75.15a4.68 4.68 0 0 1 1 0c.36 0 .72.09 1.08.07.36-.02.53-.23.79 0 .5.3 1.24-.06 1.78.09a.71.71 0 0 0 .33 0c.07.232.12.47.15.71v1.68c0 .14-.13.27 0 .41-.35.14-.23.28 0 .42v.06c-.33.17 0 .34.05.51.12.4-.13.8-.08 1.19 0 .13 0 .25.05.38s.09.18.08.27c-.07.44-.07.89 0 1.33 0 0 0 .1-.08.13-.25.1-.13.2-.08.3.05.1.15.3.08.44a.16.16 0 0 0 0 .17c.2.2.28.4.13.59-.25.34.29.55.12.85 0 0 0 .07.07.1a.11.11 0 0 0 .09.06c.24.05.2.14.11.27-.09.13-.07.18 0 .22.07.04 0 .14.06.21.05.32.27.56.35.9.08.34.37.39.58.54.21.15.25.12.24.36 0 .07.06.07.11.08.05.01.14-.05.17 0 .111.093.206.205.28.33.08.16.33 0 .46 0h.07c.02 0 .22.07.36 0 .14-.07.25 0 .35.1a.6.6 0 0 0 .53.27l.22-.06h.16v.44l-.06.46-.29.84z\\\" fill=\\\"#000\\\"/><path d=\\\"M139.41 111.13v.08a.9.9 0 0 1-.9.9H90.28a.9.9 0 0 1-.9-.9v-.08a5.51 5.51 0 0 1 5.51-5.51h39a5.51 5.51 0 0 1 5.52 5.51z\\\" fill=\\\"#FCC800\\\"/><path d=\\\"M140.08 111.38c-.15.36-.12.87-.53 1.12l-.28.13a2.28 2.28 0 0 1-.63.13c-.5 0-.8.24-1.22.1h-.2a.82.82 0 0 1-.95-.09h-.06c-.22.26-.45.08-.67.17a1.23 1.23 0 0 1-.54 0c-.18 0-.37.12-.54 0-.17-.12-.36.18-.53.15h-.09a2.16 2.16 0 0 0-.76 0c-.14 0-.28.1-.41.1-.13 0-.26-.12-.37 0-.11.12-.26-.1-.39 0s-.1 0-.14.05c-.04.05-.18.09-.28 0-.1-.09-.2-.61-.52-.41-.12.08-.26.22-.39-.06h-.05c-.09.22-.18.27-.27 0-.17.31-.35.08-.53.09a.45.45 0 0 1-.31-.15c-.08-.08-.16-.06-.25 0a1 1 0 0 1-.68.19.59.59 0 0 0-.45 0c-.09.06-.18.21-.27-.11h-.08c-.03 0-.16.08-.25 0a1.57 1.57 0 0 0-.85-.13c-.13.01-.26.01-.39 0 0 0-.1.06-.14.08-.2.08-.39.36-.59.11-.05-.06-.11 0-.16 0s-.2.13-.31.08a.34.34 0 0 0-.36 0 .31.31 0 0 1-.43-.08.15.15 0 0 0-.16 0h-.67c-.23 0-.22-.11-.34-.09a5.49 5.49 0 0 0-.76.17c-.09 0-.18 0-.27-.16-.09-.16-.26-.2-.39 0s-.41.27-.61.06c-.2-.21-.43-.21-.64.08-.21.29-.29.37-.45.22a.06.06 0 0 0-.11 0c-.1.15-.19 0-.28-.14-.09-.14-.21-.21-.33-.14-.12.07-.42.27-.64.08-.06 0-.14 0-.19.09-.05.09-.18.18-.28.13a1.85 1.85 0 0 0-.54-.16.91.91 0 0 0-.53.11.68.68 0 0 1-.54 0c-.12 0-.25 0-.36-.1-.23-.3-.45-.18-.67-.06a.3.3 0 0 1-.11 0l-.94-.11s-.09.05-.14.08c0-.05-.07-.17-.1-.15-.2.16-.4.45-.6.13-.13.16-.26-.1-.39 0s-.39-.15-.58.22c0 .07-.09.07-.13 0-.04-.07-.23-.09-.34.07-.11.16-.1 0-.14-.17v-.06s-.09.15-.11.09c-.11-.35-.22-.2-.33-.12-.11.08-.07.06-.11 0-.16-.28-.33-.18-.5-.15-.17.03-.28.29-.41-.13 0-.08-.08 0-.11 0s-.27.12-.4 0a.1.1 0 0 0-.17 0c-.15.25-.3.07-.44 0s-.1-.09-.14 0c-.1.24-.19.22-.3.09-.11-.13-.39.15-.58-.11 0 0-.07 0-.08.09-.08.31-.15.33-.23.07-.08-.26-.12-.14-.19-.07s-.31.24-.47.12c-.16-.12-.32-.3-.47.11 0 .11-.11 0-.17 0-.06 0-.15-.09-.22 0s-.29 0-.42-.12-.24-.11-.36 0-.28.27-.42.17c-.14-.1-.25 0-.38-.07a3 3 0 0 1-.42-.06 1.31 1.31 0 0 0-.59 0s-.08 0-.11-.06c-.16-.39-.33-.21-.5-.11-.17.1-.16.12-.25 0s-.13 0-.2 0-.27.17-.41 0c-.14-.17-.32 0-.48.08-.16.08-.33.21-.5-.05 0-.06-.09 0-.14.05-.05.05-.2-.12-.3 0a1 1 0 0 1-.34.21s-.06 0-.08-.06c-.22-.2-.44 0-.65-.09 0 0-.1.08-.14.16-.04.08-.15.13-.22 0s-.13-.05-.19-.08-.36-.21-.53.1h-.34a.31.31 0 0 1-.31-.07c-.38-.32-.38-.33-.75-.15a.39.39 0 0 1-.2 0c-.19 0-.2.48-.39.48s-.16.11-.24-.21c-.08-.32-.21-.2-.3-.15-.46.26-.91 0-1.36 0a1.46 1.46 0 0 1-.34-.1c-.11 0-.21 0-.31.16a.35.35 0 0 1-.48.12 1.5 1.5 0 0 0-.87-.15 1.29 1.29 0 0 1-.91-.2c-.14-.1-.3 0-.44.14s-.35.08-.46-.28c-.11-.36-.24-.13-.24-.13h-.24c-.09 0-.37.46-.67.39a1.2 1.2 0 0 1-.7-.57c-.19-.27-.6-.37-.66-.75a2.35 2.35 0 0 1 0-.26c0-.18.05-.37 0-.55a3.29 3.29 0 0 0 0-.42v-.34a.9.9 0 0 1 .15-.64.45.45 0 0 0 0-.23 1 1 0 0 1 .49-1v-.06c-.12-.35.19-.49.25-.75.088-.19.214-.36.37-.5.14-.15.2-.4.46-.42.26-.02.18-.42.37-.52l.08-.06a5.14 5.14 0 0 0 .74-.51 2.85 2.85 0 0 1 .38-.31c.14-.06.32 0 .39-.2s.33 0 .45-.13.12 0 .14-.1c.02-.1.2-.14.32-.11.12.03.36.54.68.29.12-.11.27-.27.44 0h.06c.09-.22.19-.28.29 0 .2-.32.36-.08.55-.09a.43.43 0 0 1 .3.15.21.21 0 0 0 .26 0 1 1 0 0 1 .68-.19c.14.06.3.06.44 0 .09-.05.19-.21.27.12 0 .05.06 0 .08 0a.17.17 0 0 1 .25 0 1.5 1.5 0 0 0 .85.12h.4c.13 0 .09-.06.14-.08.05-.02.38-.36.58-.11.05.06.12 0 .17 0 .05 0 .2-.13.3-.08a.35.35 0 0 0 .37 0 .29.29 0 0 1 .42.08.17.17 0 0 0 .17.05h.67c.23 0 .22.11.33.09a4.91 4.91 0 0 0 .76-.17c.1 0 .19 0 .28.16.09.16.26.2.39 0s.41-.26.61-.05c.2.21.43.21.64-.08.21-.29.29-.37.44-.22a.07.07 0 0 0 .12 0c.09-.15.19 0 .27.14.08.14.22.21.33.14.11-.07.43-.27.65-.08.06.05.13 0 .19-.09s.18-.18.28-.14c.165.086.345.14.53.16a1 1 0 0 0 .54-.1.68.68 0 0 1 .54 0c.12 0 .24 0 .36.1.22.3.44.18.67.06a.25.25 0 0 1 .11 0l.93.11c.05 0 .1-.05.14-.08 0 .06.07.18.1.16.2-.16.39-.45.6-.13.13-.16.26.1.38.05s.39.15.58-.22c0-.07.1-.07.14 0 .04.07.22.09.33-.08.11-.17.11 0 .15.18v.06s.09-.15.11-.09c.1.35.21.2.32.12.11-.08.08-.06.11 0 .17.28.34.18.51.15.17-.03.28-.29.41.13 0 .08.07 0 .11 0 .04 0 .26-.12.4 0s.12.06.17 0c.05-.06.29-.07.44 0 .15.07.1.09.13 0 .11-.24.2-.22.31-.09.11.13.39-.15.58.11 0 0 .06 0 .08-.09.07-.31.15-.33.23-.07.08.26.12.14.19.06.07-.08.31-.23.47-.11.16.12.32.3.47-.12 0-.1.11 0 .16 0s.16.09.23 0 .28 0 .42.12c.14.12.23.11.36 0 .13-.11.28-.28.41-.17.13.11.26 0 .39.07a3 3 0 0 1 .42.06c.193.05.397.05.59 0a.1.1 0 0 1 .11.07c.16.39.33.21.49.1.16-.11.17-.11.25 0 .08.11.14 0 .2 0s.27-.17.42 0c.15.17.32 0 .47-.07.15-.07.34-.21.51 0 0 .06.09 0 .13 0 .04 0 .21.12.31 0 .1-.087.215-.155.34-.2l.08.06c.22.2.43 0 .65.09 0 0 .09-.08.14-.16.05-.08.14-.13.22 0 .08.13.13 0 .19.08s.36.21.53-.1h.06c.06 0 .18.05.28 0a.31.31 0 0 1 .31.07c.36.3.38.33.7.17a.3.3 0 0 1 .42 0l.4.08v.17a.51.51 0 0 0 .32-.24c.14-.21.29-.37.44-.22.15.15.08 0 .11 0s.19 0 .28.14c.09.14.21.21.33.14.12-.07.43-.27.64-.08.21.19.14 0 .2-.09s.18-.18.27-.14c.169.085.352.14.54.16a1 1 0 0 0 .54-.1.65.65 0 0 1 .53 0c.12 0 .25 0 .36.1.23.3.45.18.68.06a.21.21 0 0 1 .11 0c.29 0 .7.09 1 .17 0 0 .11 0 .17-.06 0 .06.05.18.09.17.25-.13.55-.34.7 0 .2-.12.26.19.41.19.15 0 .36.3.71.07a.11.11 0 0 1 .17 0c.07.16.18.21.38.14.2-.07.12.06.06.24v.05c.06 0 .18-.07.16 0-.09.36.09.3.24.32.15.02.12 0 .11.07 0 .33.18.39.35.5.17.11.44 0 .23.43 0 .07.06.06.09.09s.28.16.26.37c-.02.21 0 .13.14.13.3 0 .24.25.24.44s0 .14.07.14c.27 0 .29.1.23.26-.06.16.33.35.16.65 0 0 0 .06.11.06.32 0 .38.05.15.22-.23.17-.1.17 0 .23s.32.29.22.51c-.1.22-.23.38.19.53.11 0 0 .12 0 .19s-.08.18 0 .26l-1.94.09a.11.11 0 0 1 0-.12c.14-.15-.19-.28.11-.45-.15-.15.1-.38-.26-.48-.07 0 0-.07 0-.11a.63.63 0 0 0-.16-.77s-.11-.06-.07-.13c.15-.23-.08-.27-.23-.33-.15-.06-.19 0-.22-.11s-.16-.34-.25-.51c-.09-.17-.09-.29-.33-.23-.07 0-.1 0-.11-.06-.06-.36-.39-.47-.69-.54 0 0-.07-.08-.12-.12-.05-.04-.17-.52-.47-.3h-.09c-.05-.32-.29-.18-.43-.29-.14-.11-.13 0-.21.05-.08.05-.25.14-.34-.07 0-.05-.06-.06-.09-.05a.58.58 0 0 1-.43 0c-.14-.08-.34-.2-.51-.09a1.17 1.17 0 0 1-.62.25c-.08 0-.15.07-.23 0-.25-.25-.51-.11-.76-.17a2.18 2.18 0 0 0-.51 0c-.17 0-.34.24-.51 0a2.29 2.29 0 0 1-.94 0h-1.27c-.1 0-.21-.08-.31 0a.44.44 0 0 1-.22.07c0 .09-.11.12-.18 0-.07-.12-.3-.24-.44-.14a.17.17 0 0 1-.11.06 1.21 1.21 0 0 1-.76.11 1.52 1.52 0 0 0-.88.16.36.36 0 0 1-.48-.12c-.1-.13-.2-.2-.31-.16a1.91 1.91 0 0 1-.34.1c-.45 0-.9.29-1.35 0-.1-.06-.21-.13-.31.14 0 .07-.07 0-.1 0a1.09 1.09 0 0 0-.23-.09 4.45 4.45 0 0 1-.79-.12 1.23 1.23 0 0 0-1.18.13.25.25 0 0 1-.34 0c-.17-.16-.33 0-.5 0-.17 0-.08.07-.11.05a1.74 1.74 0 0 0-1.14-.11.12.12 0 0 1-.14 0c-.17-.16-.36.18-.53-.15-.2.13-.41-.13-.61.18-.05.06-.1 0-.14 0a1 1 0 0 0-.94-.11c-.06 0-.12.07-.17 0-.05-.07-.32 0-.48 0-.16 0-.17.15-.25.14a3.24 3.24 0 0 1-.68-.12c-.16 0-.32-.12-.48.09a.09.09 0 0 1-.14 0 1.35 1.35 0 0 0-1.08 0h-.2c-.22 0-.45-.39-.67-.07 0 .05-.08.05-.12 0-.19-.28-.39-.06-.59-.15-.2-.09-.15 0-.22.11s-.28.18-.42 0a.09.09 0 0 0-.11 0 .66.66 0 0 1-.5 0c-.18-.06-.37-.19-.54-.08a1.17 1.17 0 0 1-.62.25c-.07 0-.15.07-.22 0-.26-.25-.51-.11-.77-.17a2.18 2.18 0 0 0-.51 0c-.17 0-.34.24-.5 0a2.31 2.31 0 0 1-.94 0h-1.28c-.1 0-.21-.08-.31 0a.41.41 0 0 1-.51 0c-.12-.1-.24-.13-.36 0s-.21 0-.31-.07-.21.25-.33.17a.81.81 0 0 0-.62-.14 3.73 3.73 0 0 1-.82 0c-.31 0-.6-.09-.9-.07-.3.02-.44.23-.66.05-.22-.18-.67.06-1-.09-.33-.15-.43.12-.64.14a6.66 6.66 0 0 1-1 0c-.11 0-.22-.14-.34 0-.11-.35-.22-.23-.34 0 0 0 0 .06-.06 0-.14-.32-.28 0-.41.05-.34.13-.67-.12-1-.07a1.25 1.25 0 0 0-.29 0c-.07 0-.13.09-.19.09a1.39 1.39 0 0 0-.92.14h-.11c-.14-.23-.18-.09-.23 0-.05.09-.14.22-.27.19s-.08 0-.09.08c0 .25-.13.37-.31.3-.35-.1-.25.47-.56.42v.2c.08.22 0 .23-.15.19-.15-.04-.18 0-.17.08.01.08-.09.09-.14.12-.23.15-.33.41-.58.57-.25.16-.17.41-.22.63-.05.22 0 .23-.23.27-.07 0 0 .07 0 .11 0 .04.1.11.08.14a.64.64 0 0 1-.2.31c-.12.1.14.26.16.37.02.11 0 0 0 .06s0 .09.12.11c.12.02.09 0 0 0s-.21.18-.13.16c.08-.02.12-.07.09 0s.07.14.11 0c.04-.14 0 0 .08 0s.07 0 .08.06c.06.41.17.45.25.42h.18c.184-.05.371-.09.56-.12a.35.35 0 0 1 .2.05c.38.18.37.17.75-.15a.31.31 0 0 1 .31-.07c.1 0 .19.12.29 0 .1-.12 0 0 0 0 .18.31.35.2.53.11.18-.09.13 0 .19-.09s.15-.09.23 0c.08.09.09.17.13.16.22-.08.44.11.65-.09 0 0 .06-.07.09-.06.119.055.23.126.33.21.11.09.2-.2.31 0 .11.2.1.12.14 0 .16-.26.33-.24.5 0 .17.24.28-.29.45-.1.17.19.31.24.45.14a1.25 1.25 0 0 1 .9-.2 1.53 1.53 0 0 0 .88-.15.35.35 0 0 1 .48.12c.1.13.2.2.31.16a1.39 1.39 0 0 1 .33-.1c.46 0 .91-.29 1.36 0 .09.06.21.13.31-.14 0-.07.06 0 .1 0 .073.039.15.069.23.09.263.015.524.056.78.12a1.25 1.25 0 0 0 1.19-.13c.11-.08.23-.12.33 0s.34 0 .51 0c.17 0 .07-.07.11-.05a1.65 1.65 0 0 0 1.13.1.14.14 0 0 1 .14 0c.18.16.36-.18.53.15.21-.13.42.13.62-.18 0-.06.1 0 .14 0a1 1 0 0 0 .94.11c.05 0 .12-.08.17 0 .16.23.32.05.48 0 .16-.05.16-.15.25-.14.23.016.458.057.68.12.16 0 .32.12.48-.09.16-.21.09-.05.14 0 .344.15.736.15 1.08 0h.19c.23 0 .45.39.68.07a.06.06 0 0 1 .11 0c.2.29.4.07.59.15.19.08.16 0 .23-.1s.28-.18.41 0a.1.1 0 0 0 .12 0 .67.67 0 0 1 .5 0c.18.06.36.19.54.08a1.14 1.14 0 0 1 .61-.25c.08 0 .16-.07.23 0 .25.25.51.11.77.16.17.025.34.025.51 0 .17 0 .33-.24.5 0a2.3 2.3 0 0 1 .94-.05h1.27c.11 0 .21.08.31 0a.41.41 0 0 1 .51 0c.13.1.25.13.37 0s.2 0 .31.07c.11.07.21-.25.33-.17a.79.79 0 0 0 .62.14c.273-.03.547-.03.82 0 .3 0 .6.09.9.07.3-.02.44-.23.65 0 .21.23.68-.06 1 .08.32.14.43-.11.65-.13a5.58 5.58 0 0 1 1 0c.11 0 .22.14.33 0 .12.35.23.23.35 0 0 0 0-.06.05 0 .14.32.28 0 .42-.05.33-.13.66.12 1 .07h.31c.08 0 .15-.08.23-.07.363.07.737.07 1.1 0 0 0 .09 0 .11.07.08.25.17.13.25.09.08-.04.24-.16.36-.09s.1 0 .15 0c.05 0 .33-.28.48-.13.15.15.57-.27.85 0 0 0 .08 0 .11-.06a.22.22 0 0 0 .1-.38c.1-.22.2-.16.3 0 .1.16.15.12.23.06.08-.06.15 0 .22 0 .336.011.67.048 1 .11.27.1.54 0 .81-.1s.28-.08.42.12c.14.2.1 0 .14 0 .04 0 .09-.12.14-.11.146.008.289.046.42.11.15.1.28-.17.42-.21a.1.1 0 0 1 .09 0 .17.17 0 0 0 .18 0l.09-.06h.05v.35h-.3a.14.14 0 0 1 0-.06 10.55 10.55 0 0 1 1.87.17z\\\" fill=\\\"#000\\\"/><rect fill=\\\"#FFF\\\" x=\\\"17.9\\\" y=\\\"27.3\\\" width=\\\"64.59\\\" height=\\\"84.51\\\" rx=\\\"6.33\\\"/><path d=\\\"M75.69 112.43c-.64-.11-1.26.13-1.89.07l-.45-.05h-1a18.87 18.87 0 0 1-3.1.08 2.33 2.33 0 0 0-.53 0 6.14 6.14 0 0 1-2.56-.08.22.22 0 0 0-.14 0 6.52 6.52 0 0 1-1.81.15 9.89 9.89 0 0 1-1.44 0 4.62 4.62 0 0 1-1.44 0c-.51-.17-1 .17-1.43.14h-.22a15.57 15.57 0 0 0-2 0c-.35 0-.73.08-1.09.08a2.47 2.47 0 0 0-1 0c-.37.16-.69-.1-1 0h-.38a.91.91 0 0 1-.74 0c-.45-.09-.54-.55-1.39-.37a1.21 1.21 0 0 1-1-.05.12.12 0 0 0-.14 0 .47.47 0 0 1-.7 0c-.47.28-.95.07-1.43.09a2.62 2.62 0 0 1-.82-.14 1.27 1.27 0 0 0-.67 0 7 7 0 0 1-1.82.17 4 4 0 0 0-1.19 0c-.25 0-.49.19-.72-.11h-.22a1.09 1.09 0 0 1-.67 0 11.48 11.48 0 0 0-2.27-.11h-1.06c-.12 0-.25.06-.37.07-.52.07-1 .33-1.56.1a.55.55 0 0 0-.45 0 1.14 1.14 0 0 1-.81.07 2.43 2.43 0 0 0-1 0 2 2 0 0 1-1.14-.07 1.09 1.09 0 0 0-.44 0h-1.78c-.3 0-.6-.1-.9-.08-.68 0-1.36.09-2 .15a1.1 1.1 0 0 1-.74-.14 1 1 0 0 0-1 0 2.1 2.1 0 0 1-1.63 0 2.49 2.49 0 0 0-1.78.05 1.62 1.62 0 0 1-1.36-.05.69.69 0 0 0-.34-.09.82.82 0 0 1-.74-.43 1.74 1.74 0 0 0-.81-.58 2.85 2.85 0 0 1-1.5-1.21.88.88 0 0 0-.43-.4 1.06 1.06 0 0 1-.56-.65 13 13 0 0 1-.53-1.56c-.14-.53-.26-1.06-.39-1.6a4.44 4.44 0 0 1 0-1.49 3.11 3.11 0 0 1 .09-1 2.89 2.89 0 0 0 .05-1.79c-.01-.1-.01-.2 0-.3l.1-2.49a1.72 1.72 0 0 0-.08-.38c.05-.09.16-.18.14-.26-.14-.53-.41-1.06-.12-1.61-.14-.34.1-.69 0-1-.07-.52.13-1-.2-1.55a.48.48 0 0 1 0-.37 1.11 1.11 0 0 0-.07-.89c-.07-.15 0-.29.16-.4h.06c0-.09-.13-.23-.08-.28.32-.28.18-.58.11-.87 0-.1-.06-.21 0-.29a2.33 2.33 0 0 0 .14-1.35c0-.37-.27-.75.11-1.11.07-.06 0-.19 0-.29a2.71 2.71 0 0 1 0-1.06.59.59 0 0 0 0-.45 1.56 1.56 0 0 1 0-1.18c0-.12.08-.27 0-.37a.7.7 0 0 1-.08-.8c.22-.51-.14-1 .09-1.56a.22.22 0 0 0-.07-.22c-.29-.19-.3-.39-.06-.61.24-.22.12-.31.05-.5a2.16 2.16 0 0 1-.1-1.26c.11-.41.27-.85-.1-1.26-.1-.1 0-.29 0-.44a1.52 1.52 0 0 0 0-.6 1.46 1.46 0 0 1 .11-1.12 1.19 1.19 0 0 0 0-1 1.88 1.88 0 0 1-.16-1.11 4.5 4.5 0 0 0 .07-1V72.5c.04-.526.04-1.054 0-1.58a.38.38 0 0 1 .06-.29c.35-.43.19-.88.09-1.32a1.1 1.1 0 0 1 0-.67 1.35 1.35 0 0 0 0-.53 2.81 2.81 0 0 1 0-1.12 2.46 2.46 0 0 0-.07-1.26 1.85 1.85 0 0 1 0-1.35.39.39 0 0 0 0-.36c-.16-.28.1-.55 0-.83a6.71 6.71 0 0 1-.19-.89c0-.08.021-.16.06-.23a9.19 9.19 0 0 0 .08-1.74.82.82 0 0 0-.14-.36.62.62 0 0 1 0-.59A2.32 2.32 0 0 0 17 59a1.87 1.87 0 0 0-.09-1.41v-.15a1.2 1.2 0 0 0 0-.75 2.11 2.11 0 0 1 .06-.83 3 3 0 0 0 .13-2 3.08 3.08 0 0 1 0-.53c0-.5-.44-.53-.44-1 0-.25-.1-.43.2-.64.3-.21.18-.56.13-.81a17.62 17.62 0 0 1 0-3.63c0-.3.06-.6.09-.9a1.58 1.58 0 0 0-.15-.82 2.37 2.37 0 0 1-.1-1.29c.14-.788.197-1.59.17-2.39a8.93 8.93 0 0 1 .17-2.41 2 2 0 0 0-.17-1.19 1 1 0 0 1 .29-1.25c.24-.21.12-.64.12-.64.045-.2.045-.41 0-.61 0-.2-.4-.57-.37-1a9.69 9.69 0 0 1 .3-1.64 8.21 8.21 0 0 1 .4-2 4.56 4.56 0 0 1 .24-.44c.17-.33.39-.61.58-.92A5.55 5.55 0 0 1 21 27.42a2.61 2.61 0 0 0 .52-.28 3.75 3.75 0 0 1 2.77-.45.24.24 0 0 0 .14 0 7.26 7.26 0 0 1 1.8-.15 9.89 9.89 0 0 1 1.44 0 4.33 4.33 0 0 1 1.44 0c.51.16 1-.17 1.43-.14h.23a17.35 17.35 0 0 0 2 0c.36 0 .73-.09 1.09-.09.33.068.67.068 1 0 .37-.17.7.09 1 0 .13 0 .27 0 .38-.05a1 1 0 0 1 .74 0c.45.1.54.56 1.39.37a1.18 1.18 0 0 1 1 .06.12.12 0 0 0 .15 0 .46.46 0 0 1 .69 0c.47-.28 1-.07 1.43-.08.279.003.556.05.82.14.22.055.45.055.67 0a8.07 8.07 0 0 1 1.82-.17 4.31 4.31 0 0 0 1.19 0c.25-.05.5-.19.73.1 0 .05.14 0 .21 0a1.18 1.18 0 0 1 .67 0 11.52 11.52 0 0 0 2.27.11h1.07c.12 0 .24-.06.36-.08a2.89 2.89 0 0 1 1.57-.1c.14.065.3.065.44 0a1.14 1.14 0 0 1 .81-.07c.33.063.67.063 1 0a1.91 1.91 0 0 1 1.13.07c.145.03.295.03.44 0h1.79c.3 0 .6.1.9.09.67 0 1.35-.1 2-.16a1.16 1.16 0 0 1 .74.14 1 1 0 0 0 1 0 2.06 2.06 0 0 1 1.63 0 2.14 2.14 0 0 0 1.72-.07 1.56 1.56 0 0 1 1.18-.2c.1.04.21.04.31 0a.73.73 0 0 1 .73.13c.267.162.59.206.89.12a3.45 3.45 0 0 1 1.72-.07.66.66 0 0 0 .51-.08.94.94 0 0 1 .74-.12c.477.076.958.123 1.44.14.479.02.958-.01 1.43-.09a3.73 3.73 0 0 1 1.58.08c.374.034.736.15 1.06.34a6.75 6.75 0 0 0 1.81.93c.09.06.2.11.29.18A7.36 7.36 0 0 1 82.26 30c.07.12.19.22.27.33 0 .11-.05.25 0 .32a2 2 0 0 1 .67 1.68c.21.37 0 .79.06 1.16.09.54-.13 1 .21 1.56a.48.48 0 0 1 0 .37c-.1.293-.079.613.06.89.08.15 0 .28-.16.4 0 .09.14.23.08.28-.31.28-.17.57-.1.87 0 .1.06.21 0 .29a2.32 2.32 0 0 0-.14 1.35c0 .36.26.75-.12 1.11-.07.06 0 .19 0 .29.07.35.07.71 0 1.06a.59.59 0 0 0 0 .45 1.56 1.56 0 0 1 0 1.18c0 .12-.08.27 0 .36a.73.73 0 0 1 .08.81c-.22.51.14 1-.1 1.56a.22.22 0 0 0 .08.22c.29.19.3.39.06.6-.24.21-.12.32 0 .51.158.4.193.84.1 1.26-.11.41-.27.85.1 1.26.1.1 0 .29 0 .44a1.31 1.31 0 0 0 0 .59 1.48 1.48 0 0 1-.11 1.13 1.19 1.19 0 0 0 0 1 2 2 0 0 1 .16 1.11 4 4 0 0 0-.07 1c0 .37 0 .74-.05 1.12a9.15 9.15 0 0 0 0 1.57.39.39 0 0 1-.06.3c-.35.43-.19.88-.09 1.32a1.1 1.1 0 0 1 0 .67 1.35 1.35 0 0 0 0 .53c.075.37.075.75 0 1.12a2.46 2.46 0 0 0 .07 1.26c.17.434.17.916 0 1.35a.39.39 0 0 0 0 .36c.16.28-.1.55 0 .82.082.296.146.596.19.9a.49.49 0 0 1-.06.23 9.19 9.19 0 0 0-.08 1.74.82.82 0 0 0 .14.36c.1.184.1.406 0 .59a1.88 1.88 0 0 0-.08.52 1.92 1.92 0 0 0 .1 1.41v.15a1.2 1.2 0 0 0 0 .75c.035.278.015.56-.06.83a3 3 0 0 0-.16 1.88c.11.362.11.748 0 1.11l-.08 1.06c0 .11-.07.1-.14.09.012.295.083.584.21.85.22.355.292.782.2 1.19a.39.39 0 0 0 0 .3.74.74 0 0 1-.13.74 1.1 1.1 0 0 0-.12.88 3.46 3.46 0 0 1 .07 1.72.68.68 0 0 0 .08.52.94.94 0 0 1 .12.74c-.077.473-.124.95-.14 1.43-.02.482.01.964.09 1.44a4.9 4.9 0 0 1 0 1.43 3.07 3.07 0 0 1-.09 1 2.92 2.92 0 0 0 0 1.8v.3l-.1 2.49c.014.125.037.249.07.37 0 .09-.16.18-.14.26.14.54.41 1.06.12 1.61.14.35-.1.69 0 1 .07.51-.13 1 .2 1.55a.47.47 0 0 1 0 .37c-.101.29-.08.607.06.88.08.15 0 .29-.16.4 0 .1.14.24.08.29-.31.28-.17.57-.1.86a.44.44 0 0 1 0 .3 2.29 2.29 0 0 0-.14 1.34c0 .37.26.75-.12 1.11-.07.06 0 .19 0 .29.068.369.05.749-.05 1.11a.69.69 0 0 0 0 .49c.08.45-.044.912-.34 1.26-.08.12-.18.25-.15.37a.77.77 0 0 1-.32.83c-.46.37-.54 1.06-1.11 1.32a.25.25 0 0 0-.11.22c0 .35-.12.53-.47.5-.35-.03-.35.11-.48.29a2 2 0 0 1-1.19.75c-.48.08-1 .06-1.33.52-.1.11-.33 0-.5.06-.17.06-.47 0-.68 0-.09-.58-.17-1.16-.23-1.74a.74.74 0 0 1 .33 0c.43.13.78-.26 1.24-.07.41-.25 1-.23 1.24-.72 0-.11.19-.12.29-.16a2.9 2.9 0 0 0 1.57-1.49c0-.12.08-.27.2-.34a1.24 1.24 0 0 0 .4-1 3.92 3.92 0 0 1 0-.6 11.81 11.81 0 0 0 .21-1.63 2.43 2.43 0 0 0-.08-1.28.7.7 0 0 1 0-.38 10.29 10.29 0 0 0 0-2.88 3 3 0 0 1 0-.52c0-.61.35-1.2.06-1.81a.35.35 0 0 1 0-.3c.26-.52.07-1 .14-1.58a1.13 1.13 0 0 0-.09-.6 1.21 1.21 0 0 1 0-1.11.62.62 0 0 0 0-.3 5.09 5.09 0 0 1 0-1.35 4.38 4.38 0 0 0 .07-1.44 7.7 7.7 0 0 1-.22-1.64 2.08 2.08 0 0 1 0-.61 8.22 8.22 0 0 0 .15-2v-1.37c0-.46-.22-.9 0-1.35a17.39 17.39 0 0 1-.05-2.5v-3.41a4.5 4.5 0 0 0 0-.82 3 3 0 0 1-.06-.59.5.5 0 0 1 0-.48 2 2 0 0 0 .12-1.19v-.08a.77.77 0 0 1 0-.29 10 10 0 0 1-.11-2 10.82 10.82 0 0 0-.13-2.34 2.33 2.33 0 0 1 .1-1.28 1.58 1.58 0 0 0 .15-.82c0-.3-.08-.61-.09-.91a17.52 17.52 0 0 1 0-3.62.83.83 0 0 0-.13-.82c-.06-.06 0-.18 0-.28a4.11 4.11 0 0 0 .08-.6c0-.7 0-1.4.11-2.1a9.13 9.13 0 0 0-.11-3.17 1.59 1.59 0 0 1 0-.89c.07-.45.07-.91 0-1.36 0-.1-.07-.2-.06-.3.157-.992.19-2 .1-3a1.2 1.2 0 0 1 0-.38c.15-.47-.16-1 .14-1.42-.12-.54.12-1.1-.16-1.64a.56.56 0 0 1 0-.38 7.51 7.51 0 0 0 .1-2.5.86.86 0 0 1 0-.45 2 2 0 0 0 0-1.28 3.3 3.3 0 0 1-.13-.67c0-.61.06-1.22.11-1.82a2.47 2.47 0 0 0-.08-1.29.66.66 0 0 1 0-.37 10.29 10.29 0 0 0 0-2.88 3.14 3.14 0 0 1 0-.53c0-.6.35-1.2.06-1.8a.37.37 0 0 1 0-.31c.25-.47 0-.94 0-1.4a.69.69 0 0 0-.23-.48 1.11 1.11 0 0 1-.39-.9.53.53 0 0 0-.11-.24c-.26-.3-.49-.61-.73-.94a2.25 2.25 0 0 0-.94-.87c-.48-.18-.95-.26-1.4-.42-.16-.06-.36 0-.5-.13a3.57 3.57 0 0 0-1.85-.29h-1.36c-.45 0-.9.22-1.35 0-.836.06-1.674.06-2.51 0h-3.4a4.63 4.63 0 0 0-.83 0 2.84 2.84 0 0 1-1.36 0 1.44 1.44 0 0 0-1 0 1.11 1.11 0 0 1-.82-.07c-.3-.1-.57.23-.89.16a5.73 5.73 0 0 0-1.59-.24c-.74.06-1.47 0-2.2 0-.73 0-1.6-.08-2.41-.06A5.36 5.36 0 0 1 54 28a19 19 0 0 0-2.72-.07 9.16 9.16 0 0 0-1.73.12h-2.66a3 3 0 0 0-.9 0c-.31-.31-.62-.21-.93 0 0 0-.11.05-.15 0-.37-.3-.74 0-1.11 0-.89.11-1.77-.11-2.65-.07h-.83a4.07 4.07 0 0 1-.61.07 20.61 20.61 0 0 0-2.94 0c-.1 0-.22 0-.29-.07-.07-.07-.45-.12-.67-.08a2.64 2.64 0 0 1-1 .08.63.63 0 0 0-.38 0 1.84 1.84 0 0 1-1.3.11c-.76-.23-1.51.25-2.27 0a.82.82 0 0 0-.3 0 .65.65 0 0 0-.22.08.79.79 0 0 1-.81 0 1 1 0 0 0-.6 0 1.51 1.51 0 0 1-.6 0c-.88-.06-1.76 0-2.65-.1a7.92 7.92 0 0 0-2.05.12 2.24 2.24 0 0 1-1 .09c-.11 0-.21.06-.3.11s-.16.17-.25.2c-.3.12-.59.26-.9.37-.31.11-.43.5-.62.74a.86.86 0 0 1-.14.13 1 1 0 0 0-.42.69 1.7 1.7 0 0 1-.44.74 2.14 2.14 0 0 0-.56 1.35 5.6 5.6 0 0 1-.06 1A4.12 4.12 0 0 0 19 35.5a1.87 1.87 0 0 1 0 .53v.22a.59.59 0 0 0-.38.66v.48c0 .51.06 1 .1 1.52a2.44 2.44 0 0 1-.05.53 3.08 3.08 0 0 0 .14 2c.075.273.095.559.06.84-.08.24-.08.5 0 .74v.15a1.94 1.94 0 0 0-.1 1.42c.002.173.03.345.08.51.1.188.1.412 0 .6a.68.68 0 0 0-.14.36 9.22 9.22 0 0 0 .08 1.74.46.46 0 0 1 .06.22 6.85 6.85 0 0 1-.19.9c-.08.28.18.54 0 .82a.45.45 0 0 0 0 .37 1.54 1.54 0 0 1 0 1.34c-.17.44.26.75.09 1.22a2.12 2.12 0 0 0-.12 1.19 8.86 8.86 0 0 1 .17 2.4 11.55 11.55 0 0 0 .14 2.35c.089.428.05.873-.11 1.28a1.68 1.68 0 0 0-.14.82c0 .3.08.6.09.91a17.52 17.52 0 0 1 0 3.62.83.83 0 0 0 .13.82c.06.06 0 .18 0 .28 0 .1-.07.4-.07.6 0 .7-.05 1.4-.11 2.1a8.89 8.89 0 0 0 .11 3.17c.085.29.085.6 0 .89a4.78 4.78 0 0 0 0 1.36c0 .1.07.2.05.29-.147.993-.178 2-.09 3a1.2 1.2 0 0 1 0 .38c-.15.47.16 1-.14 1.42.11.54-.12 1.1.16 1.64a.63.63 0 0 1 0 .38 7.5 7.5 0 0 0-.1 2.5.86.86 0 0 1 0 .45 1.94 1.94 0 0 0 0 1.28 4 4 0 0 1 .13.67c0 .61-.06 1.22-.11 1.82-.088.43-.06.875.08 1.29a.66.66 0 0 1 0 .37 10.29 10.29 0 0 0 0 2.88c.01.177.01.353 0 .53 0 .6-.35 1.2-.06 1.8a.35.35 0 0 1 0 .3c-.25.52-.06 1.06-.13 1.58a1.13 1.13 0 0 0 .09.6c.18.352.18.768 0 1.12a.58.58 0 0 0 0 .29 5.54 5.54 0 0 1 0 1.35 4.38 4.38 0 0 0-.07 1.44 7.7 7.7 0 0 1 .22 1.65 2 2 0 0 1 0 .6 6.09 6.09 0 0 0-.11 2c.028.403.112.8.25 1.18.14.38.48.64.49 1.09a8.81 8.81 0 0 0 1.51 1.6 5.27 5.27 0 0 0 2.76 1c.246.052.499.07.75.05a2.84 2.84 0 0 1 1.36 0 1.5 1.5 0 0 0 1 0 1.11 1.11 0 0 1 .82.06c.3.1.57-.22.89-.16a5.49 5.49 0 0 0 1.66.14c.73-.07 1.46 0 2.19 0s1.6.09 2.41.06a6 6 0 0 1 1.74 0c.91.27 1.82-.06 2.73.08a11.35 11.35 0 0 0 1.73-.12h2.66c.295.05.595.05.89 0 .31.32.62.21.93 0a.14.14 0 0 1 .15 0c.38.29.75 0 1.11 0 .89-.11 1.77.12 2.65.07l.83-.05c.2 0 .41-.07.61-.06a24 24 0 0 0 2.94 0 .35.35 0 0 1 .3.07c.21.22.44.11.66.07a2.66 2.66 0 0 1 1-.08.62.62 0 0 0 .38 0 1.93 1.93 0 0 1 1.31-.12c.76.24 1.5-.25 2.26 0h.3a.52.52 0 0 0 .22-.07.78.78 0 0 1 .82 0 1 1 0 0 0 .6.05c.195-.04.395-.04.59 0 .89.06 1.77 0 2.65.11a13 13 0 0 0 2.16-.09 2.08 2.08 0 0 1 1.13.1.81.81 0 0 0 .38 0 1.65 1.65 0 0 1 .36-.11 7.09 7.09 0 0 1 1.13.11c.39.08.75-.16 1.12-.2a.59.59 0 0 1 .23 0 1.75 1.75 0 0 0 1-.12 1.79 1.79 0 0 1 1 0 5.11 5.11 0 0 0 1.65.15 4.47 4.47 0 0 1 1.21 0l-.59 1.53z\\\" fill=\\\"#000\\\"/><path d=\\\"M82.49 102.17v3.31a6.32 6.32 0 0 1-6.33 6.33H24.23a6.32 6.32 0 0 1-6.33-6.33v-3.31h64.59z\\\" fill=\\\"#F8AFAF\\\"/><path d=\\\"M83.11 102.4c-.11.32.13.63.06.94a1.55 1.55 0 0 0 0 .23 2.63 2.63 0 0 0 0 .49 4.73 4.73 0 0 1 .07 1.55 1 1 0 0 0 0 .3 1.49 1.49 0 0 1-.3 1.37v.08c.14.38-.14.65-.2 1a2.21 2.21 0 0 1-.36.72c-.14.23-.2.53-.49.64-.29.11-.19.52-.4.7l-.1.09c-.32.22-.55.53-.86.76a3.13 3.13 0 0 1-.47.42c-.16.1-.38.12-.47.3-.09.18-.4.09-.56.23-.16.14-.15 0-.18.12s-.24.18-.4.17c-.16-.01-.44-.45-.85-.16-.17.1-.36.26-.57 0h-.08c-.11.2-.24.26-.38.05-.26.3-.51.08-.74.1a.75.75 0 0 1-.41-.14.33.33 0 0 0-.33 0 1.84 1.84 0 0 1-.91.17 1 1 0 0 0-.59 0c-.12 0-.25.19-.36-.11h-.11a.29.29 0 0 1-.33 0 2.92 2.92 0 0 0-1.13-.11h-.53c-.17 0-.12.06-.19.07-.25.07-.51.33-.77.1a.17.17 0 0 0-.23 0 .31.31 0 0 1-.4.07.62.62 0 0 0-.48 0 .54.54 0 0 1-.57-.07.3.3 0 0 0-.22 0h-.89c-.15 0-.3-.1-.45-.08-.33 0-.67.09-1 .15a.34.34 0 0 1-.37-.14.3.3 0 0 0-.51 0 .58.58 0 0 1-.81 0 .6.6 0 0 0-.85.08c-.2.18-.39.33-.6.2a.11.11 0 0 0-.15 0c-.13.14-.25 0-.36-.12a.35.35 0 0 0-.44-.13.94.94 0 0 1-.86.08c-.08 0-.18 0-.26.08a.29.29 0 0 1-.36.12 3.08 3.08 0 0 0-.72-.15 1.57 1.57 0 0 0-.71.1 1.32 1.32 0 0 1-.71 0c-.16 0-.34 0-.48-.09-.31-.27-.6-.15-.9 0a.27.27 0 0 1-.15 0l-1.24-.1a.48.48 0 0 0-.18.08s-.09-.16-.13-.13c-.26.14-.53.4-.8.11-.17.15-.34-.09-.51-.05-.17.04-.52-.13-.77.2a.13.13 0 0 1-.19 0 .31.31 0 0 0-.44.07c-.07.07-.14 0-.19-.16v-.06c-.05 0-.12.14-.15.08-.14-.32-.28-.18-.43-.11-.15.07-.1.06-.14 0-.22-.25-.45-.16-.68-.13-.23.03-.37.26-.55-.12 0-.07-.09 0-.14 0-.05 0-.35.1-.53 0a.16.16 0 0 0-.22 0c-.2.22-.4.07-.59 0-.19-.07-.14-.08-.18 0-.04.08-.27.19-.4.07s-.52.14-.78-.09c0 0-.08 0-.11.08-.1.28-.19.3-.3.06-.11-.24-.16-.12-.25-.06a.59.59 0 0 1-.63.1c-.2-.1-.42-.27-.63.11 0 .09-.14 0-.21 0-.07 0-.21-.08-.3 0s-.38 0-.56-.11c-.18-.11-.31-.09-.48 0-.17.09-.37.25-.55.16a1.34 1.34 0 0 0-.52-.07 3.41 3.41 0 0 1-.55-.05 2.62 2.62 0 0 0-.79 0 .12.12 0 0 1-.14-.05c-.22-.35-.44-.2-.66-.1-.22.1-.22.11-.34 0-.12-.11-.17 0-.26 0s-.36.15-.56 0a.59.59 0 0 0-.62.07c-.23.11-.45.18-.67-.05-.06-.06-.13 0-.19.05s-.27-.11-.41 0a1.54 1.54 0 0 1-.44.19s-.08 0-.11-.05c-.29-.18-.58 0-.87-.08-.06 0-.12.07-.18.14a.2.2 0 0 1-.3 0c-.08-.08-.17 0-.25-.08-.24-.08-.47-.19-.71.1h-.44a.57.57 0 0 1-.42-.05c-.5-.29-.5-.31-1-.14a.57.57 0 0 1-.26 0c-.25 0-.27.44-.52.44s-.21.1-.31-.2c-.1-.3-.29-.18-.41-.13a4.1 4.1 0 0 1-1.81 0 1.8 1.8 0 0 1-.45-.09.47.47 0 0 0-.41.15.6.6 0 0 1-.63.11 2.94 2.94 0 0 0-1.17-.14 2.3 2.3 0 0 1-1.2-.18.54.54 0 0 0-.59.13c-.23.19-.47.07-.61-.25a.22.22 0 0 0-.32-.13c-.09-.06-.23 0-.33 0s-.34.4-.6.32a2.42 2.42 0 0 1-.82-.44c-.31-.18-.7-.08-1-.27-.07-.05-.14-.11-.21-.15l-.45-.29a3.19 3.19 0 0 1-1.41-1 1 1 0 0 0-.23-.18 1.53 1.53 0 0 1-.8-1.16v-.06c-.38-.15-.39-.54-.6-.81a2.29 2.29 0 0 1-.29-.75c-.06-.26-.25-.51-.14-.79.11-.28-.26-.5-.24-.78v-.13a7.33 7.33 0 0 0 0-1.06c0-.18-.09-.37-.09-.54 0-.17.11-.34 0-.49-.11-.15.09-.28 0-.64v-.34a.82.82 0 0 1 0-.68c.08-.32.44-.13.41-.58a.72.72 0 0 0 .19 0 .75.75 0 0 1 .81.05h.11c.09-.2.3-.25.51 0a.58.58 0 0 1 .26-.13.37.37 0 0 1 .18 0c.12.01.24.01.36 0a.78.78 0 0 1 .41.14.33.33 0 0 0 .33 0 1.84 1.84 0 0 1 .91-.17 1 1 0 0 0 .59 0c.12 0 .25-.18.36.11 0 .05.07 0 .11 0a.29.29 0 0 1 .33 0c.366.11.75.148 1.13.11h.53c.18 0 .12-.06.18-.07.26-.07.52-.33.78-.1a.15.15 0 0 0 .22 0 .33.33 0 0 1 .41-.07.62.62 0 0 0 .48 0 .54.54 0 0 1 .57.07.29.29 0 0 0 .22.05h.88c.3 0 .3.1.45.08.34 0 .68-.09 1-.15a.33.33 0 0 1 .37.14c.17.2.34.18.52 0a.58.58 0 0 1 .81 0 .6.6 0 0 0 .85-.08c.2-.18.39-.33.59-.2a.11.11 0 0 0 .15 0c.13-.14.26 0 .37.12a.34.34 0 0 0 .44.13.94.94 0 0 1 .86-.08.18.18 0 0 0 .25-.08.3.3 0 0 1 .37-.12c.233.079.475.129.72.15a1.59 1.59 0 0 0 .71-.1 1.32 1.32 0 0 1 .71 0c.16 0 .33 0 .48.09.3.27.6.16.9.05a.24.24 0 0 1 .14 0l1.24.1a.46.46 0 0 0 .19-.08c0 .05.09.16.13.13.26-.14.52-.4.8-.11.17-.15.34.09.51 0 .17-.09.52.13.77-.2a.12.12 0 0 1 .18 0 .31.31 0 0 0 .44-.07c.08-.07.15 0 .2.16v.06-.05s.12-.14.15-.08c.13.32.28.18.43.11.15-.07.1-.06.14 0 .22.25.45.16.67.13.22-.03.38-.26.55.12 0 .07.1 0 .15 0 .05 0 .35-.1.53 0a.16.16 0 0 0 .22 0c.2-.22.39-.07.59 0 .2.07.13.08.18 0 .13-.22.26-.2.4-.08.14.12.52-.14.78.09 0 0 .08 0 .11-.08.093-.28.193-.3.3-.06.08.17.16.12.25.06a.59.59 0 0 1 .63-.1c.2.1.42.27.62-.11.06-.09.15 0 .22 0s.21.08.3 0 .38 0 .56.11c.18.11.31.09.48 0 .17-.09.37-.25.55-.16a1.3 1.3 0 0 0 .51.07 3.5 3.5 0 0 1 .56.05c.258.04.522.04.78 0a.13.13 0 0 1 .15 0c.22.35.44.2.66.1.22-.1.22-.11.33 0a.36.36 0 0 0 .27 0c.18 0 .36-.15.55 0a.61.61 0 0 0 .63-.07c.23-.11.45-.18.67.05 0 .06.13 0 .18-.05.05-.05.27.11.41 0a1.73 1.73 0 0 1 .45-.19s.07 0 .11.05c.29.18.58 0 .87.08.05 0 .12-.07.18-.14a.19.19 0 0 1 .29 0c.09.08.18.05.26.08.24.08.47.19.7-.1h.45a.54.54 0 0 1 .41 0c.49.28.51.3.94.16a.55.55 0 0 1 .55 0l.53.08v.15a.67.67 0 0 0 .43-.22c.19-.18.38-.33.59-.2a.11.11 0 0 0 .15 0c.13-.14.25 0 .37.12a.34.34 0 0 0 .44.13.92.92 0 0 1 .85-.08.19.19 0 0 0 .26-.08.3.3 0 0 1 .37-.12 3 3 0 0 0 .71.15c.244.02.49-.013.72-.1a1.32 1.32 0 0 1 .71 0c.16 0 .33 0 .48.09.15.09.59.16.89.05a.27.27 0 0 1 .15 0l1.24.1a.52.52 0 0 0 .19-.08c.05.05.09.16.13.13.27-.14.53-.4.8-.11.18-.15.35.09.51 0 .16-.09.53.13.78-.2a.12.12 0 0 1 .18 0 .31.31 0 0 0 .44-.07c.07-.07.14 0 .2.16v.06-.05s.12-.14.14-.08c.14.32.29.18.43.11.14-.07.11-.06.15 0 .22.25.44.16.67.13.23-.03.37-.26.55.12 0 .07.1 0 .15 0 .05 0 .35-.1.52 0a.17.17 0 0 0 .23 0c.2-.22.39-.07.59 0 .2.07.13.08.18 0 .13-.22.26-.2.4-.08.14.12.52-.14.78.09 0 0 .08 0 .1-.08.1-.28.2-.3.31-.06.11.24.15.12.25.06a.59.59 0 0 1 .63-.1c.2.1.42.27.62-.11 0-.09.15 0 .22 0s.2.08.3 0l.1 1.75a.25.25 0 0 1-.19 0c-.23-.14-.48.16-.71-.13-.27.11-.55-.13-.82.15 0 .06-.12 0-.18 0a1.87 1.87 0 0 0-1.25-.1c-.07 0-.16.07-.22 0-.22-.2-.43 0-.64 0-.21 0-.22.13-.33.12a6.85 6.85 0 0 1-.91-.11c-.21 0-.43-.1-.64.08a.15.15 0 0 1-.19 0 2.57 2.57 0 0 0-1.43 0 2.3 2.3 0 0 1-.26 0c-.3 0-.6-.36-.9-.06a.1.1 0 0 1-.15 0c-.26-.26-.52-.06-.79-.14a.3.3 0 0 0-.29.1.37.37 0 0 1-.56 0 .14.14 0 0 0-.15 0 1.38 1.38 0 0 1-.67 0 1.18 1.18 0 0 0-.71-.08 2 2 0 0 1-.82.23c-.1 0-.21.06-.3 0-.34-.23-.68-.1-1-.15a5.17 5.17 0 0 0-.68 0c-.23 0-.45.22-.67 0a4.76 4.76 0 0 1-1.25 0h-1.7c-.13 0-.27-.07-.41 0a1 1 0 0 1-.29.07c-.07.08-.14.11-.24 0a.54.54 0 0 0-.59-.13.24.24 0 0 1-.15.06 2.47 2.47 0 0 1-1 .1 2.87 2.87 0 0 0-1.16.14.61.61 0 0 1-.64-.11.47.47 0 0 0-.41-.15 2.42 2.42 0 0 1-.45.1 4.25 4.25 0 0 1-1.81 0 .26.26 0 0 0-.4.13c0 .07-.1 0-.14 0-.04 0-.2-.07-.3-.08a7.48 7.48 0 0 1-1-.11 2.34 2.34 0 0 0-1.58.12.43.43 0 0 1-.44 0c-.23-.15-.45 0-.67 0 0 0-.1.07-.15.05a3.22 3.22 0 0 0-1.51-.1.25.25 0 0 1-.19 0c-.23-.14-.47.16-.7-.13-.27.11-.55-.13-.82.15-.06.06-.13 0-.19 0a1.84 1.84 0 0 0-1.24-.1c-.08 0-.16.07-.23 0-.22-.2-.42 0-.64 0-.22 0-.22.13-.33.12a7.28 7.28 0 0 1-.91-.11.71.71 0 0 0-.64.08.14.14 0 0 1-.18 0 2.61 2.61 0 0 0-1.44 0 2.6 2.6 0 0 1-.26 0c-.3 0-.59-.36-.9-.06a.1.1 0 0 1-.15 0c-.26-.26-.52-.06-.78-.14a.31.31 0 0 0-.3.1.37.37 0 0 1-.56 0 .13.13 0 0 0-.14 0 1.42 1.42 0 0 1-.68 0 1.17 1.17 0 0 0-.71-.08 1.91 1.91 0 0 1-.82.23c-.1 0-.21.06-.3 0-.34-.23-.68-.1-1-.15a5.12 5.12 0 0 0-.68 0c-.22 0-.45.22-.67 0a4.76 4.76 0 0 1-1.25 0h-1.69c-.14 0-.28-.07-.41 0a.74.74 0 0 1-.68 0 .41.41 0 0 0-.49 0c-.14.12-.27 0-.41-.06-.14-.06-.28.22-.44.16a1.41 1.41 0 0 0-.82-.14 6.73 6.73 0 0 1-1.1 0c-.4 0-.79-.09-1.2-.06-.41.03-.58.21-.86 0-.46-.27-.91.06-1.36-.08-.28-.08-.57.11-.86.12a8.31 8.31 0 0 1-1.32 0c-.15 0-.3-.12-.45 0-.16-.32-.31-.21-.46 0h-.08c-.18-.29-.37 0-.55.05-.44.11-.88-.12-1.32-.07h-.21a.24.24 0 0 0-.1 0s-.06.07-.1.06a2.27 2.27 0 0 0-.35-.05 1.22 1.22 0 0 0 0 .32h-.06c-.23 0-.12.09-.08.14a.53.53 0 0 1 .08.44.17.17 0 0 0 0 .19.53.53 0 0 1 .12.65c-.23.36.24.78.06 1.08v.13c0 .05 0 .06.08.08.08.02.17.2.08.33a.21.21 0 0 0 0 .26c.08.07 0 .16.05.25.075.366.171.726.29 1.08 0 .32.33.52.54.74a.49.49 0 0 1 .22.44c0 .07.06.09.11.12s.15 0 .18 0c.11.12.204.255.28.4.06.19.35.08.49.14a.1.1 0 0 1 .07.07c.07.15.24.14.4.11a.36.36 0 0 1 .38.19.82.82 0 0 0 .57.4c.17 0 .35 0 .49.1a.71.71 0 0 0 .78 0 .41.41 0 0 1 .22 0s.07 0 .08.06c.06.38.22.41.32.38h.24l.75-.11a.86.86 0 0 1 .27.05c.49.16.49.15 1-.14a.54.54 0 0 1 .41 0c.13 0 .25.1.37 0s.06 0 .08 0c.23.29.46.18.7.1.24-.08.17 0 .26-.08a.19.19 0 0 1 .3 0c0 .07.12.16.18.14.28-.07.57.1.86-.08 0 0 .08-.06.11-.05.156.043.307.103.45.18.14.09.27-.17.41 0 .14.17.13.11.18 0a.45.45 0 0 1 .67 0c.22.18.37-.26.6-.09a.6.6 0 0 0 .6.13 2.3 2.3 0 0 1 1.2-.18 2.89 2.89 0 0 0 1.16-.14.61.61 0 0 1 .64.11.47.47 0 0 0 .41.15 2.42 2.42 0 0 1 .45-.1 4.25 4.25 0 0 1 1.81 0 .26.26 0 0 0 .4-.13c0-.07.09 0 .14 0 .05 0 .2.07.3.08a7.3 7.3 0 0 1 1 .11 2.31 2.31 0 0 0 1.57-.12.45.45 0 0 1 .45 0c.23.15.45 0 .67 0 0 0 .1-.07.15 0a3.22 3.22 0 0 0 1.51.1.23.23 0 0 1 .18 0c.24.14.48-.16.71.13.27-.11.55.13.82-.15 0-.06.13 0 .19 0A1.84 1.84 0 0 0 48 111c.08 0 .16-.07.23 0s.42 0 .63 0c.21 0 .23-.13.34-.12.302.017.603.054.9.11.22 0 .43.1.64-.08a.15.15 0 0 1 .19 0c.47.135.97.135 1.44 0a2.6 2.6 0 0 1 .26 0c.3 0 .59.36.89.06a.1.1 0 0 1 .15 0c.26.26.53.06.79.14a.31.31 0 0 0 .3-.1.36.36 0 0 1 .55 0 .14.14 0 0 0 .15 0c.22-.055.45-.055.67 0 .226.1.477.127.72.08a1.91 1.91 0 0 1 .82-.23c.1 0 .2-.06.3 0 .33.23.68.1 1 .15.226.015.454.015.68 0 .22 0 .45-.22.67 0a4.75 4.75 0 0 1 1.25 0h1.69c.14 0 .28.07.41 0a.74.74 0 0 1 .68 0 .41.41 0 0 0 .49 0c.14-.12.27 0 .41.06.14.06.28-.22.44-.16.253.128.539.177.82.14a6.6 6.6 0 0 1 1.09 0c.41 0 .8.09 1.2.06.4-.03.59-.2.87 0 .45.27.9-.06 1.36.08.28.08.57-.11.86-.12a8.31 8.31 0 0 1 1.32 0c.15 0 .3.12.45 0 .15.32.31.21.46 0 0 0 .06-.05.07 0 .19.29.38 0 .56 0 .44-.11.88.12 1.32.07.128-.01.255-.03.38-.06.08 0 .17-.09.26-.08a2.57 2.57 0 0 0 1.25-.27s.09-.05.14 0c.05.05.24 0 .31 0s.2-.25.36-.25a.12.12 0 0 0 .12-.11c.07-.26.2-.4.42-.41.42 0 .35-.58.72-.65v-.25c-.08-.22 0-.25.19-.27.19-.02.19-.08.19-.18 0-.1.11-.12.16-.19.25-.28.37-.64.6-.95.23-.31.15-.6.18-.9a.45.45 0 0 1 .18-.46c.06 0 0-.1 0-.16s-.11-.11-.1-.16c.02-.174.06-.345.12-.51.09-.19-.15-.37-.19-.56a.14.14 0 0 1 0-.11c.08-.17 0-.33-.13-.49a.49.49 0 0 1 0-.52 1.35 1.35 0 0 0 .16-.82 1 1 0 0 1 0-.6l1.72.22z\\\" fill=\\\"#000\\\"/><path d=\\\"M82.49 36.07v-2.44a6.32 6.32 0 0 0-6.33-6.33H24.23a6.32 6.32 0 0 0-6.33 6.33v2.44h64.59z\\\" fill=\\\"#F8AFAF\\\"/><path d=\\\"M81.87 35.84c.11-.32-.13-.62-.06-.93v-.23a2.61 2.61 0 0 0 .05-.48 8.27 8.27 0 0 1-.15-1.42.46.46 0 0 0-.06-.23 1.45 1.45 0 0 1-.25-1.1v-.05c-.33-.14-.28-.45-.49-.63a4.67 4.67 0 0 1-.36-.51c-.11-.18-.34-.25-.36-.51-.02-.26-.42-.16-.54-.32-.12-.16-.06 0-.08-.06a2 2 0 0 0-.72-.48c-.13-.08-.31-.06-.44-.13s-.22-.22-.39-.13-.24-.2-.4-.17c-.16.03-.1 0-.16 0h-.31c-.1 0-.14-.6-.54-.45-.15.07-.31.19-.46-.07h-.07c-.11.2-.23.25-.34 0-.23.28-.47.07-.7.08a.66.66 0 0 1-.41-.14.35.35 0 0 0-.33 0 1.79 1.79 0 0 1-.89.17 1.08 1.08 0 0 0-.59 0c-.12.05-.24.19-.35-.1h-.11a.29.29 0 0 1-.33 0 2.84 2.84 0 0 0-1.12-.11h-.52c-.18 0-.12.05-.18.07-.25.07-.51.32-.77.1-.06-.06-.15 0-.22 0a.32.32 0 0 1-.4.06.64.64 0 0 0-.47 0 .52.52 0 0 1-.56-.07.26.26 0 0 0-.22-.05h-.88c-.14 0-.29-.1-.44-.09-.33 0-.66.1-1 .16a.34.34 0 0 1-.36-.14.3.3 0 0 0-.51 0 .56.56 0 0 1-.8 0 .59.59 0 0 0-.84.07c-.2.19-.38.33-.59.2a.11.11 0 0 0-.15 0c-.13.13-.25 0-.36-.13a.34.34 0 0 0-.43-.12.89.89 0 0 1-.85.07.2.2 0 0 0-.25.09.29.29 0 0 1-.37.11 2.9 2.9 0 0 0-.7-.14 1.72 1.72 0 0 0-.71.09 1.19 1.19 0 0 1-.7 0c-.16 0-.33 0-.48-.09-.15-.09-.58-.16-.88 0h-.14l-1.23-.1a.48.48 0 0 0-.18.08s-.09-.16-.13-.14c-.26.14-.52.41-.79.12-.17.14-.34-.1-.5 0-.16.1-.52-.13-.76.2a.14.14 0 0 1-.19 0 .3.3 0 0 0-.43.07c-.07.07-.14 0-.2-.16v-.06s-.11.13-.14.08c-.14-.32-.28-.18-.42-.11-.14.07-.11.06-.15 0-.22-.25-.44-.16-.66-.14-.22.02-.37.27-.54-.11 0-.07-.1 0-.15 0-.05 0-.34.1-.52 0a.16.16 0 0 0-.22 0c-.2.22-.39.06-.58 0-.19-.06-.14-.08-.18 0-.04.08-.26.2-.4.08-.14-.12-.51.14-.76-.09 0 0-.09 0-.11.07-.1.29-.19.3-.3.06-.11-.24-.15-.12-.25 0a.57.57 0 0 1-.62.1c-.2-.1-.41-.27-.62.11 0 .09-.14 0-.21 0-.07 0-.2-.08-.3 0-.1.08-.37 0-.55-.11-.18-.11-.31-.09-.47 0-.16.09-.37.25-.54.16a1.31 1.31 0 0 0-.51-.07h-.55a2.55 2.55 0 0 0-.78 0 .11.11 0 0 1-.14-.06c-.22-.35-.43-.19-.65-.09-.22.1-.22.1-.33 0a.34.34 0 0 0-.26 0c-.19 0-.36.15-.55 0a.61.61 0 0 0-.62.06c-.23.11-.44.19-.67 0 0-.06-.12 0-.17 0-.05 0-.27-.1-.41 0a1.89 1.89 0 0 1-.44.19s-.07 0-.11-.05c-.28-.19-.57 0-.85-.09-.06 0-.13.08-.18.14a.18.18 0 0 1-.3 0c-.08-.07-.17 0-.25-.07-.23-.09-.46-.19-.69.09h-.45a.52.52 0 0 1-.4-.06c-.5-.29-.5-.3-1-.13a.61.61 0 0 1-.26 0c-.25 0-.26.44-.51.44s-.21.1-.32-.2c-.11-.3-.27-.18-.4-.13a4.11 4.11 0 0 1-1.78 0 1.64 1.64 0 0 1-.45-.01.47.47 0 0 0-.41.15.59.59 0 0 1-.63.1 2.66 2.66 0 0 0-1.15-.13 2.27 2.27 0 0 1-1.17-.22.54.54 0 0 0-.58.12c-.23.2-.46.08-.6-.25a.2.2 0 0 0-.31-.11c-.07-.06-.2 0-.27 0s-.23.41-.42.42c-.19.01-.43-.1-.73-.14-.3-.04-.48.31-.76.34h-.2a1.84 1.84 0 0 0-.41.16c-.4.26-.63.68-1 .89a.34.34 0 0 0-.14.19 1.52 1.52 0 0 1-.77.83v.06c0 .34-.2.5-.24.77a2.37 2.37 0 0 1-.21.58c-.06.2 0 .43-.2.59-.2.16.09.43 0 .63a.28.28 0 0 1 0 .09 3 3 0 0 0 0 1c0 .18.09.37.09.54 0 .17-.11.12 0 .12s-.09.13 0 .14c.09.01 0 0 0 0L19 35v.06c0 .06-.27.55 0 .37.1-.07.13-.2.35 0h.07c.11-.2.22-.25.34 0 .23-.28.47-.07.7-.09a.77.77 0 0 1 .41.15.35.35 0 0 0 .33 0 1.75 1.75 0 0 1 .89-.17c.193.055.397.055.59 0 .12 0 .24-.19.35.1h.11c.03 0 .21-.07.33 0 .359.11.736.148 1.11.11h.53c.18 0 .12 0 .18-.07.25-.07.5-.33.77-.1.06.06.15 0 .22 0a.3.3 0 0 1 .39-.07.62.62 0 0 0 .48 0 .52.52 0 0 1 .56.07.3.3 0 0 0 .22 0h.87c.29 0 .3.1.45.08.33 0 .66-.09 1-.15a.32.32 0 0 1 .36.14.31.31 0 0 0 .51 0 .56.56 0 0 1 .8 0 .58.58 0 0 0 .84-.08c.2-.18.38-.33.59-.2a.1.1 0 0 0 .14 0c.13-.14.25 0 .37.13a.34.34 0 0 0 .43.12.89.89 0 0 1 .85-.07.2.2 0 0 0 .25-.09.29.29 0 0 1 .36-.12c.23.078.468.128.71.15a1.59 1.59 0 0 0 .71-.1 1.28 1.28 0 0 1 .7 0c.16 0 .33 0 .47.09.3.27.59.16.89 0a.22.22 0 0 1 .14 0l1.23.1a.48.48 0 0 0 .18-.08c0 .05.09.16.13.14.26-.15.52-.41.79-.12.17-.15.34.09.5 0 .16-.09.52.13.76-.2a.12.12 0 0 1 .18 0 .31.31 0 0 0 .44-.07c.07-.07.14 0 .2.16v.06s.11-.14.14-.08c.13.32.28.18.42.11.14-.07.11-.06.15 0 .21.25.43.16.66.13.23-.03.37-.26.54.12 0 .07.1 0 .15 0 .05 0 .34-.1.52 0a.16.16 0 0 0 .22 0c.2-.22.39-.07.58 0 .19.07.13.08.18 0 .13-.22.26-.2.39-.08.13.12.52-.14.77.09 0 0 .09 0 .11-.07.1-.29.19-.31.3-.07.11.24.15.12.24.06a.59.59 0 0 1 .63-.1c.2.1.41.27.62-.11 0-.09.14 0 .21 0 .07 0 .2.08.29 0 .09-.08.38 0 .56.11.18.11.31.09.47 0 .16-.09.37-.25.54-.16.164.057.337.08.51.07a3.41 3.41 0 0 1 .55 0c.258.04.522.04.78 0a.12.12 0 0 1 .14.06c.21.34.43.19.65.09.22-.1.22-.1.33 0 .11.1.17 0 .26 0s.36-.15.55 0a.59.59 0 0 0 .62-.07c.23-.11.44-.18.66 0 .06.06.13 0 .18 0 .05 0 .27.11.41 0a1.89 1.89 0 0 1 .44-.19s.07 0 .11.05c.28.18.57 0 .85.08.06 0 .12-.07.18-.14a.18.18 0 0 1 .29 0c.09.07.17 0 .26.07s.46.19.69-.1h.44a.58.58 0 0 1 .41 0c.48.28.5.3.93.16a.5.5 0 0 1 .54 0l.53.07v.15a.67.67 0 0 0 .42-.22c.19-.18.38-.33.58-.2a.11.11 0 0 0 .15 0c.13-.14.25 0 .36.13a.35.35 0 0 0 .44.12.87.87 0 0 1 .84-.07.21.21 0 0 0 .26-.09.28.28 0 0 1 .36-.12c.226.079.461.129.7.15a1.57 1.57 0 0 0 .71-.1 1.28 1.28 0 0 1 .7 0c.16 0 .33 0 .48.09.15.09.59.16.88 0a.27.27 0 0 1 .15 0l1.22.1c.06 0 .12 0 .19-.08 0 .05.09.16.13.14.26-.15.52-.41.79-.12.17-.15.34.09.5 0 .16-.09.52.13.77-.2a.12.12 0 0 1 .18 0 .3.3 0 0 0 .43-.07c.08-.07.14 0 .2.16v.06s.12-.14.14-.08c.14.32.28.18.43.11.15-.07.1-.06.14 0 .22.25.44.16.66.13.22-.03.37-.26.55.12 0 .07.09 0 .14 0 .05 0 .35-.1.52 0a.16.16 0 0 0 .22 0c.2-.22.39-.07.59 0 0 0 .13.08.17 0 .14-.22.26-.2.4-.08.14.12.51-.14.77.09 0 0 .08 0 .1-.07.1-.29.19-.31.3-.07.11.24.16.12.25.06a.57.57 0 0 1 .62-.1c.2.1.42.27.62-.11.05-.09.14 0 .21 0 .07 0 .21.08.3 0l.1 1.75a.25.25 0 0 1-.19 0c-.23-.14-.47.17-.69-.13-.27.11-.55-.13-.81.15-.06.06-.13 0-.19 0a1.81 1.81 0 0 0-1.23-.1c-.07 0-.15.07-.22 0s-.42 0-.63 0c-.21 0-.22.13-.33.13a6.57 6.57 0 0 1-.89-.12c-.22 0-.43-.1-.64.09a.15.15 0 0 1-.18 0 2.54 2.54 0 0 0-1.42 0 2.6 2.6 0 0 1-.26 0c-.29 0-.58-.36-.88-.06a.1.1 0 0 1-.15 0c-.26-.26-.52-.06-.78-.14a.3.3 0 0 0-.29.1.36.36 0 0 1-.55 0 .14.14 0 0 0-.15 0 1.34 1.34 0 0 1-.66 0 1.18 1.18 0 0 0-.71-.08 1.87 1.87 0 0 1-.81.23c-.09 0-.2.06-.29 0-.33-.23-.67-.1-1-.15a5 5 0 0 0-.67 0c-.22 0-.44.22-.66 0a4.23 4.23 0 0 1-1.23 0h-1.68c-.13 0-.27-.07-.41 0a1 1 0 0 1-.28.07c-.07.08-.14.11-.24 0a.52.52 0 0 0-.58-.13.2.2 0 0 1-.14.06 2.44 2.44 0 0 1-1 .1 2.85 2.85 0 0 0-1.15.14.6.6 0 0 1-.63-.11.48.48 0 0 0-.4-.15A2.42 2.42 0 0 1 59 37a4.11 4.11 0 0 1-1.78 0 .26.26 0 0 0-.4.13c0 .07-.09 0-.14 0-.05 0-.2-.07-.3-.08a7.36 7.36 0 0 1-1-.11 2.28 2.28 0 0 0-1.56.12.43.43 0 0 1-.44 0c-.22-.15-.44 0-.66 0-.05 0-.1.07-.15 0A3.11 3.11 0 0 0 51 37a.25.25 0 0 1-.19 0c-.23-.14-.47.17-.7-.13-.27.11-.54-.13-.81.15 0 .06-.12 0-.18 0a1.81 1.81 0 0 0-1.23-.1c-.08 0-.16.07-.23 0s-.41 0-.62 0c-.21 0-.22.13-.33.13a6.94 6.94 0 0 1-.9-.12c-.21 0-.42-.1-.63.09A.17.17 0 0 1 45 37a2.51 2.51 0 0 0-1.41 0 2.3 2.3 0 0 1-.26 0c-.3 0-.59-.36-.89-.06a.1.1 0 0 1-.15 0c-.25-.26-.51-.06-.77-.14a.31.31 0 0 0-.3.1.35.35 0 0 1-.54 0 .14.14 0 0 0-.15 0 1.34 1.34 0 0 1-.66 0 1.18 1.18 0 0 0-.71-.08 1.91 1.91 0 0 1-.81.23c-.1 0-.2.06-.3 0-.33-.23-.67-.1-1-.15a5 5 0 0 0-.67 0c-.22 0-.45.22-.67 0a4.23 4.23 0 0 1-1.23 0h-1.67c-.14 0-.28-.07-.41 0a.72.72 0 0 1-.67 0 .39.39 0 0 0-.48 0c-.14.12-.27 0-.4-.06s-.28.22-.44.16a1.38 1.38 0 0 0-.81-.14c-.36.03-.72.03-1.08 0-.4 0-.79-.08-1.19-.06-.4.02-.57.21-.85 0-.45-.27-.9.06-1.34-.08-.28-.08-.57.11-.85.12a8.18 8.18 0 0 1-1.31 0c-.15 0-.29-.12-.44 0-.15-.32-.31-.21-.46 0h-.07c-.19-.29-.37 0-.55 0-.44.11-.87-.11-1.3-.07a2.87 2.87 0 0 0-.41 0 1.59 1.59 0 0 1-.3.06h-2.31a.36.36 0 0 1 0-.09c.23-.38.12-.43.08-.57a1.26 1.26 0 0 1-.08-.69.38.38 0 0 0 0-.28 1.65 1.65 0 0 1-.18-.47.39.39 0 0 1 .06-.31c.24-.39-.26-.72 0-1.17v-.17a.25.25 0 0 0-.06-.13c-.18-.17-.1-.32 0-.46a.33.33 0 0 0 .1-.33c0-.13.06-.23.1-.33a4.82 4.82 0 0 1 .61-1.37 7.94 7.94 0 0 0 .55-1.09c.12-.18.2-.4.48-.43.08 0 .1-.1.14-.16.04-.06 0-.18.06-.22a1.61 1.61 0 0 1 .53-.36c.22-.09.23-.38.38-.55a.26.26 0 0 1 .11-.07.67.67 0 0 0 .41-.41.59.59 0 0 1 .54-.29 2.2 2.2 0 0 0 .94-.22 1.24 1.24 0 0 1 .66-.22c.37.037.744-.04 1.07-.22a.76.76 0 0 1 .3-.05s.11 0 .13.05c.11.37.25.4.35.37h.24l.74-.11a.58.58 0 0 1 .26 0c.49.16.49.15 1-.14a.54.54 0 0 1 .41-.06c.12 0 .24.11.37 0 .23.28.46.18.69.1.23-.08.17 0 .26-.08s.19-.08.29 0c.1.08.12.15.18.14.28-.07.57.1.85-.08 0 0 .08-.07.11 0 .155.036.304.097.44.18.14.09.27-.18.41 0 .14.18.13.1.18.05a.43.43 0 0 1 .66-.05c.22.17.37-.26.6-.09a.56.56 0 0 0 .58.12 2.25 2.25 0 0 1 1.19-.17 2.87 2.87 0 0 0 1.15-.14.6.6 0 0 1 .63.11.47.47 0 0 0 .4.14c.148-.04.298-.07.45-.09a4.11 4.11 0 0 1 1.78 0c.12 0 .27.11.4-.14 0-.06.09 0 .14 0 .094.032.192.055.29.07.35 0 .69 0 1 .11a2.22 2.22 0 0 0 1.56-.11.39.39 0 0 1 .43 0c.23.15.45 0 .67 0 0 0 .1-.07.15 0a3.1 3.1 0 0 0 1.48.09.31.31 0 0 1 .19 0c.23.15.47-.16.7.14.26-.11.54.12.81-.16h.18c.386.176.82.212 1.23.1.08 0 .16-.07.22 0 .22.21.42 0 .63 0 .21 0 .22-.13.33-.13.3 0 .6.06.9.11.3.05.42.11.63-.08a.17.17 0 0 1 .18 0 2.54 2.54 0 0 0 1.42 0 2.3 2.3 0 0 1 .26 0c.29 0 .59.35.89.06a.09.09 0 0 1 .14 0c.26.25.52.06.78.13a.28.28 0 0 0 .29-.09.35.35 0 0 1 .55 0 .17.17 0 0 0 .15 0 1.34 1.34 0 0 1 .66 0 1.1 1.1 0 0 0 .71.07 2 2 0 0 1 .81-.22c.1 0 .2-.07.29 0 .34.23.67.1 1 .15a5 5 0 0 0 .67 0c.22 0 .44-.22.66 0a4.31 4.31 0 0 1 1.24 0h1.67c.14 0 .27.07.41 0a.72.72 0 0 1 .67 0 .38.38 0 0 0 .48 0c.14-.12.27 0 .4.06s.28-.23.44-.16c.25.125.533.17.81.13a7.79 7.79 0 0 1 1.08 0c.4 0 .79.08 1.18.06.39-.02.58-.21.86 0 .45.26.89-.06 1.34.07.28.09.57-.1.85-.12a11.45 11.45 0 0 1 1.31 0c.15 0 .29.13.44 0 .15.31.3.21.46 0 0 0 0-.05.07 0 .19.3.37 0 .55 0 .43-.11.87.11 1.3.07h.41c.1 0 .2-.07.3-.07.51.06 1.06.13 1.6.16 0 0 .12 0 .14.11.06.25.2.17.33.16a.67.67 0 0 1 .52.1.22.22 0 0 0 .21 0 .62.62 0 0 1 .71.2c.24.41.86.23 1.08.66 0 .06.1 0 .16.07a.29.29 0 0 0 .14 0c.24 0 .32.1.37.29a.37.37 0 0 0 .2.28c.13 0 .15.17.22.26.31.39.565.821.76 1.28.158.38.349.744.57 1.09a.66.66 0 0 1 .08.64c0 .07 0 .13.06.2s.14.11.14.18a2 2 0 0 1 0 .64c-.07.23.18.41.23.63a.16.16 0 0 1 0 .12.47.47 0 0 0 .12.48c.1.159.1.361 0 .52a1.32 1.32 0 0 0-.16.81 1.12 1.12 0 0 1 0 .6l-1.57-.2z\\\" fill=\\\"#000\\\"/><rect fill=\\\"#FFF\\\" x=\\\"1.53\\\" y=\\\"43.34\\\" width=\\\"31.83\\\" height=\\\"52.44\\\" rx=\\\"3.93\\\"/><path d=\\\"M29.17 96.4c-.36-.11-.71.13-1.06.06h-.26a3.39 3.39 0 0 0-.55 0 6.45 6.45 0 0 1-1.75.08.77.77 0 0 0-.3 0 2 2 0 0 1-1.44-.09.08.08 0 0 0-.08 0c-.34.23-.68.07-1 .15-.27.03-.54.03-.81 0-.27 0-.55.1-.81-.06s-.54.17-.8.14h-.13a5.53 5.53 0 0 0-1.15 0c-.2 0-.42.09-.62.09s-.38-.11-.55 0c-.17.11-.39-.09-.59 0-.2.09-.14 0-.21 0-.07 0-.27.08-.42 0-.15-.08-.3-.56-.78-.37-.19.07-.4.2-.59-.06-.13.2-.26.25-.39 0-.27.28-.54.07-.81.08a.91.91 0 0 1-.46-.14.46.46 0 0 0-.38 0 2.61 2.61 0 0 1-1 .17 1.38 1.38 0 0 0-.67 0c-.14 0-.28.19-.41-.1h-.12a.4.4 0 0 1-.38 0 3.69 3.69 0 0 0-1.28-.11h-.6c-.2 0-.13.06-.2.08-.3.07-.58.32-.88.1a.19.19 0 0 0-.25 0 .4.4 0 0 1-.46.07.86.86 0 0 0-.55 0 .65.65 0 0 1-.64-.07.43.43 0 0 0-.25 0 3.93 3.93 0 0 1-1.18-.13c-.2 0-.35-.22-.54-.27a6.85 6.85 0 0 1-1.24-.56.54.54 0 0 1-.27-.44.53.53 0 0 0-.43-.53.83.83 0 0 1-.57-.91 1.19 1.19 0 0 0-.38-1.08.7.7 0 0 1-.25-.78.14.14 0 0 0 0-.17c-.13-.15 0-.29.13-.42a.42.42 0 0 0 .12-.49 1.14 1.14 0 0 1-.07-1 .25.25 0 0 0-.09-.29.36.36 0 0 1-.11-.42 3.82 3.82 0 0 0 .14-.81 2.25 2.25 0 0 0-.09-.81 1.55 1.55 0 0 1 0-.8c0-.18 0-.37.09-.54a1 1 0 0 0 .05-1 .55.55 0 0 1 0-.17c0-.47.07-.94.1-1.4a.65.65 0 0 0-.08-.22s.16-.1.14-.15c-.15-.3-.41-.59-.12-.9-.14-.2.09-.39 0-.58-.09-.19.13-.59-.2-.87a.16.16 0 0 1 0-.21.39.39 0 0 0-.07-.5c-.07-.08 0-.16.16-.22h.06c0-.06-.13-.14-.08-.17.32-.15.18-.32.11-.48-.07-.16-.06-.12 0-.17.25-.25.16-.5.14-.76-.02-.26-.27-.42.11-.62.07 0 0-.11 0-.17 0-.06-.1-.39 0-.59a.21.21 0 0 0 0-.26c-.22-.22-.06-.44 0-.66 0-.07.08-.16 0-.21-.08-.05-.2-.29-.08-.45.12-.16-.14-.59.09-.88 0 0 0-.09-.07-.12-.29-.11-.3-.22-.06-.34.24-.12.12-.18.05-.29a.73.73 0 0 1-.1-.71c.1-.23.27-.47-.11-.71-.09 0 0-.16 0-.24 0-.08.08-.24 0-.34-.08-.1 0-.43.11-.63a.42.42 0 0 0 0-.54.67.67 0 0 1-.16-.63 1.68 1.68 0 0 0 .07-.58 4.46 4.46 0 0 1 .05-.63 3.32 3.32 0 0 0 0-.89.14.14 0 0 1 .06-.16c.35-.25.19-.5.09-.75a.37.37 0 0 1 0-.38.41.41 0 0 0 0-.29c0-.21-.15-.41 0-.63a.78.78 0 0 0-.06-.71.62.62 0 0 1 0-.76c.06-.06 0-.14 0-.21 0-.07.1-.3 0-.46a2.64 2.64 0 0 1-.19-.51s0-.08.05-.12c.19-.33 0-.65.08-1 0-.07-.07-.14-.13-.2a.23.23 0 0 1 0-.34c.07-.1 0-.19.07-.29.09-.27.19-.53-.09-.8v-.5a.7.7 0 0 1 .06-.47c.29-.57.3-.57.13-1.13a.78.78 0 0 1 0-.3c0-.28-.44-.3-.44-.58 0-.28-.1-.25.2-.36.3-.11.18-.32.13-.46a5.19 5.19 0 0 1 0-2c.01-.173.04-.344.09-.51a.59.59 0 0 0-.15-.47.78.78 0 0 1-.11-.72 3.3 3.3 0 0 0 .14-1.32A2.88 2.88 0 0 1 .79 50a.69.69 0 0 0-.12-.67c-.2-.26-.08-.53.25-.69a.26.26 0 0 0 .12-.36c.05-.09 0-.25 0-.35 0-.1-.41-.32-.37-.58.06-.355.19-.695.38-1 .19-.37.1-.84.36-1.19l.19-.23c.12-.18.29-.32.41-.5a3.08 3.08 0 0 1 1.55-1.29 2.2 2.2 0 0 0 .31-.15 1.75 1.75 0 0 1 1.65-.22h.08c.34-.24.68-.08 1-.15a3.14 3.14 0 0 1 .81 0c.27 0 .55-.1.81 0s.54-.17.81-.14h.12a4.91 4.91 0 0 0 1.15 0c.2 0 .42-.08.62-.08s.38.1.55 0c.17-.1.39.1.59 0 .2-.1.15 0 .21 0s.27-.09.42 0c.15.09.3.55.78.37.19-.07.4-.2.59 0h.08c.13-.2.26-.25.4 0 .26-.28.53-.07.8-.09a.91.91 0 0 1 .46.14.43.43 0 0 0 .38 0 2.29 2.29 0 0 1 1-.17c.22.06.45.06.67 0 .14 0 .28-.18.41.11h.12a.37.37 0 0 1 .38 0c.417.11.85.148 1.28.11h.6c.2 0 .13-.06.2-.07.3-.07.58-.33.88-.1a.2.2 0 0 0 .26 0 .38.38 0 0 1 .45-.07.8.8 0 0 0 .55 0 .67.67 0 0 1 .64.07.38.38 0 0 0 .25 0h1c.17 0 .34.1.51.08.38 0 .76-.09 1.14-.15a.41.41 0 0 1 .42.14.37.37 0 0 0 .58 0 .73.73 0 0 1 .92 0 .75.75 0 0 0 1-.08.72.72 0 0 1 .82-.13.2.2 0 0 0 .21 0c.21-.09.36.07.47.25a.62.62 0 0 0 .51.34 1.26 1.26 0 0 1 1 .55.33.33 0 0 0 .31.18.46.46 0 0 1 .44.29c.17.33.32.64.45.91a6.8 6.8 0 0 0 .47.88c.168.305.238.654.2 1 0 .23.07.48-.07.63a1 1 0 0 0 0 1 .51.51 0 0 1 0 .17c0 .47-.06.94-.1 1.4a.6.6 0 0 0 .08.21s-.16.1-.14.14c.15.3.41.6.12.91.15.19-.09.39 0 .58.09.19-.13.59.2.87a.16.16 0 0 1 0 .21.39.39 0 0 0 .07.5c.07.08 0 .16-.16.22h-.06c0 .06.13.13.08.16-.32.16-.18.32-.11.49.07.17.06.12 0 .17-.25.24-.16.5-.14.75.02.25.27.43-.11.63-.07 0 0 .11 0 .16 0 .2.1.4 0 .6a.2.2 0 0 0 0 .25c.22.23.06.45 0 .67-.06.22-.08.15 0 .2a.28.28 0 0 1 .08.46c-.21.28.14.58-.09.87 0 0 0 .1.07.13.29.11.3.22.06.34-.24.12-.12.18 0 .28a.73.73 0 0 1 .1.71c-.1.23-.27.48.11.71.09.06 0 .17 0 .25 0 .08-.08.23 0 .34.08.11 0 .42-.11.63a.42.42 0 0 0 0 .54c.158.164.22.4.16.62a1.71 1.71 0 0 0-.07.59 4.44 4.44 0 0 1 0 .62 3.31 3.31 0 0 0 0 .89.15.15 0 0 1-.06.17c-.35.24-.19.49-.09.74s.1.25 0 .38a.44.44 0 0 0 0 .3c0 .21.15.41 0 .63a.78.78 0 0 0 .06.71.62.62 0 0 1 0 .76c-.06.06 0 .14 0 .2s-.1.31 0 .47c.082.159.146.327.19.5v.13c-.19.32 0 .65-.08 1 0 .06.07.13.13.2a.21.21 0 0 1 0 .33c-.07.1 0 .2-.07.29-.09.27-.19.54.09.8v.51a.77.77 0 0 1 0 .47c-.28.54-.31.57-.16 1.06a.65.65 0 0 1 0 .62c0 .2 0 .4-.07.6-.07.2-.07.05-.15.05a.8.8 0 0 0 .22.48c.18.22.33.43.19.66a.14.14 0 0 0 0 .17c.14.15 0 .29-.13.42a.43.43 0 0 0-.12.5c.177.305.202.674.07 1a.25.25 0 0 0 .09.29.35.35 0 0 1 .11.41 3.82 3.82 0 0 0-.14.81c-.021.274.013.55.1.81a1.67 1.67 0 0 1 0 .8c0 .19 0 .38-.09.55a1 1 0 0 0 0 1 .47.47 0 0 1 0 .17c0 .46-.06.93-.1 1.4a.6.6 0 0 0 .08.21s-.16.1-.14.14c.15.3.41.6.12.91.15.19-.09.39 0 .58.09.19-.13.58.2.87a.16.16 0 0 1 0 .21.37.37 0 0 0 .07.49c.07.09 0 .17-.16.23h-.06c0 .05.13.13.08.16-.32.16-.18.32-.11.49.07.17.06.12 0 .16-.25.25-.16.51-.14.76.02.25.27.41-.12.64-.07 0 0 .13 0 .19a.9.9 0 0 1-.11.68.27.27 0 0 0 0 .3c.13.32-.11.53-.31.71-.2.18-.14.12-.11.21a.34.34 0 0 1-.21.49c-.37.13-.33.64-.76.7 0 0-.07.08-.05.15.08.3 0 .4-.28.29-.28-.11-.24 0-.32.14a.82.82 0 0 1-.71.45c-.3 0-.6-.09-.8.33-.06.11-.2 0-.3 0-.1 0-.29-.06-.41 0-.07-.58-.12-1.16-.15-1.75a.25.25 0 0 1 .17 0c.23.14.39-.2.65 0 .2-.16.53 0 .62-.41 0-.08.09-.07.15-.07a1.06 1.06 0 0 0 .9-.67c0-.06 0-.15.12-.16.28-.06.24-.32.24-.52s-.05-.23 0-.32c.1-.249.187-.502.26-.76a.7.7 0 0 0-.08-.67.23.23 0 0 1 0-.21 3.33 3.33 0 0 0 0-1.63v-.29c0-.34.35-.67.06-1a.12.12 0 0 1 0-.17c.26-.29.06-.59.13-.89a.35.35 0 0 0-.09-.33.44.44 0 0 1 0-.63.17.17 0 0 0 0-.17 1.77 1.77 0 0 1 0-.76c.1-.258.128-.538.08-.81a2.4 2.4 0 0 1-.23-.92c0-.12-.07-.24 0-.34.23-.38.1-.77.15-1.16a6.57 6.57 0 0 0 0-.77c0-.25-.22-.5 0-.75a5.62 5.62 0 0 1 0-1.42v-1.91a1.5 1.5 0 0 0 0-.47 1.3 1.3 0 0 1-.07-.33.18.18 0 0 1 0-.27.67.67 0 0 0 .12-.67.27.27 0 0 1-.06-.16 3 3 0 0 1-.1-1.14 3.7 3.7 0 0 0-.14-1.32.75.75 0 0 1 .11-.72.58.58 0 0 0 .14-.47 4.54 4.54 0 0 1-.09-.51 5.38 5.38 0 0 1 0-2 .32.32 0 0 0-.14-.46c-.06 0 0-.1 0-.16a3.38 3.38 0 0 0 .08-.34 9.59 9.59 0 0 1 .11-1.18 2.94 2.94 0 0 0-.12-1.78.54.54 0 0 1 0-.51c.15-.25 0-.51 0-.76 0 0-.07-.11 0-.17a4.07 4.07 0 0 0 .1-1.7.26.26 0 0 1 0-.21c.14-.27-.17-.54.13-.8-.11-.31.12-.62-.16-.93v-.21a2.36 2.36 0 0 0 .1-1.41c0-.08-.07-.18 0-.25.21-.25.05-.48 0-.72a1.56 1.56 0 0 1-.13-.38 9.3 9.3 0 0 1 .12-1 .84.84 0 0 0-.09-.72.22.22 0 0 1 0-.21 3.29 3.29 0 0 0 0-1.62v-.3c0-.34.35-.67.06-1a.12.12 0 0 1 0-.17c.26-.29.06-.59.13-.88a.36.36 0 0 0-.09-.34.44.44 0 0 1 0-.63.17.17 0 0 0 0-.17 1.77 1.77 0 0 1 0-.76c.1-.258.128-.538.08-.81a2.36 2.36 0 0 1-.23-.92c0-.12-.06-.24 0-.31.23-.32 0-.63 0-.93a1.63 1.63 0 0 0-.25-.57c-.11-.19-.4-.22-.35-.52-.32-.22-.59-.48-.92-.68a2.88 2.88 0 0 0-1.49-.36 1.41 1.41 0 0 0-.46 0 .94.94 0 0 1-.77 0 .5.5 0 0 0-.55 0c-.15.12-.3 0-.46-.06-.16-.06-.32.22-.5.16a1.78 1.78 0 0 0-.93-.14 8.55 8.55 0 0 1-1.24 0c-.45 0-.9-.09-1.35-.06-.45.03-.66.21-1 0-.52-.27-1 .06-1.54-.08-.32-.08-.65.11-1 .12-.5.035-1 .035-1.5 0-.17 0-.34-.12-.51 0-.17-.32-.34-.21-.52 0h-.08c-.21-.29-.42 0-.63 0A12.39 12.39 0 0 1 15 44a3.75 3.75 0 0 0-.47 0 2 2 0 0 1-.34.06 7.68 7.68 0 0 0-1.66 0 .13.13 0 0 1-.16-.07c-.13-.22-.25-.11-.38-.07a.86.86 0 0 1-.54.08.22.22 0 0 0-.22 0 .65.65 0 0 1-.73.12c-.43-.24-.85.25-1.28 0-.05 0-.11 0-.17.05-.06.05-.08 0-.12.07-.15.2-.3.14-.46 0a.35.35 0 0 0-.34 0c-.11.07-.22 0-.33 0a14.71 14.71 0 0 1-1.49-.11 2.67 2.67 0 0 0-1.13.11.5.5 0 0 1-.49 0c-.06 0-.11 0-.16.05s-.06.14-.11.15a2.25 2.25 0 0 1-.48.11c-.2 0-.19.31-.28.43a.13.13 0 0 1-.07.06c-.16 0-.2.19-.2.36 0 .17-.1.25-.24.34a.7.7 0 0 0-.42.53 1 1 0 0 1-.08.49.7.7 0 0 0-.11.39c.008.18.052.357.13.52a.58.58 0 0 1 0 .29v.13c-.38.09-.41.25-.38.37v.27c0 .29.08.57.11.85.02.1.02.2 0 .3-.16.56-.15.56.14 1.13a.71.71 0 0 1 .06.47c0 .14-.11.28 0 .42a.08.08 0 0 1 0 .09c-.28.26-.18.52-.1.79 0 .1 0 .2.08.29a.23.23 0 0 1 0 .34c-.07.06-.15.14-.14.2.07.33-.1.66.08 1 0 0 .07.09.05.13a2.3 2.3 0 0 1-.18.5c-.09.16.18.31 0 .47-.18.16-.1.14 0 .2a.55.55 0 0 1 0 .76c-.17.25.26.42.09.68a.73.73 0 0 0-.12.67c.164.433.222.9.17 1.36a3.72 3.72 0 0 0 .14 1.32.76.76 0 0 1-.11.72.56.56 0 0 0-.14.46c.04.168.07.338.09.51a5.44 5.44 0 0 1 0 2c0 .14-.11.31.14.45.06 0 0 .11 0 .16a2.05 2.05 0 0 0-.07.34c0 .4 0 .79-.11 1.19a2.87 2.87 0 0 0 .11 1.78.52.52 0 0 1 0 .5c-.15.26 0 .51 0 .76 0 .06.07.12 0 .17a4.08 4.08 0 0 0-.09 1.7.41.41 0 0 1 0 .22c-.15.26.16.54-.14.8.11.3-.12.62.16.92v.22a2.32 2.32 0 0 0-.1 1.4c0 .09.07.18 0 .26-.21.24-.05.48 0 .72.062.12.106.247.13.38a8.86 8.86 0 0 1-.12 1 .84.84 0 0 0 .09.72.25.25 0 0 1 0 .22 3.29 3.29 0 0 0 0 1.62 2.58 2.58 0 0 1 0 .29c0 .34-.35.68-.06 1a.12.12 0 0 1 0 .17c-.26.29-.06.59-.13.89a.38.38 0 0 0 .09.34.44.44 0 0 1 0 .63.19.19 0 0 0 0 .16c.055.25.055.51 0 .76a1.42 1.42 0 0 0-.07.81c.13.294.204.61.22.93 0 .11.07.23 0 .34-.23.38-.1.77-.15 1.15a6.6 6.6 0 0 0 0 .77c0 .25.22.51 0 .76.06.468.06.942 0 1.41v1c.001.284.021.568.06.85v.37a.78.78 0 0 1 .19.59.32.32 0 0 0 .24.38c.17 0 .16.18.18.34.02.16.33 0 .39.17a.94.94 0 0 0 .54.55c.327.131.66.245 1 .34.18 0 .36.07.55.09a5 5 0 0 0 .67 0c.33 0 .66-.21 1 0 .52.26 1-.06 1.54.07.32.09.65-.1 1-.12h1.5c.17 0 .34.12.51 0 .17.31.34.21.52 0h.08c.21.3.42 0 .63 0 .498-.012.996.012 1.49.07l.47-.05a1.37 1.37 0 0 1 .34-.07 6.59 6.59 0 0 0 1.66 0c.05 0 .12 0 .16.07.13.23.25.12.38.08a.88.88 0 0 1 .55-.08.21.21 0 0 0 .21 0 .63.63 0 0 1 .73-.11c.43.23.85-.25 1.28 0h.17c.06 0 .09 0 .12-.08s.3-.14.46 0a.35.35 0 0 0 .34 0c.11-.06.22 0 .34 0 .495.008.989.042 1.48.1.409.035.82.005 1.22-.09a.78.78 0 0 1 .64.1c.06.06.14 0 .21 0 .07 0 .14-.11.21-.1a2 2 0 0 1 .63.1c.22.09.42-.15.63-.19a.19.19 0 0 1 .13 0 .58.58 0 0 0 .55-.13.62.62 0 0 1 .59 0c.289.139.611.194.93.16.223-.06.457-.06.68 0l-.44 1.66z\\\" fill=\\\"#000\\\"/><path d=\\\"M1.53 50.19v-2.93a3.92 3.92 0 0 1 3.93-3.92h24a3.92 3.92 0 0 1 3.93 3.92v2.93H1.53z\\\" fill=\\\"#3B6EF1\\\"/><path d=\\\"M.91 50.06c.11-.16-.13-.32-.06-.48.07-.16 0-.08 0-.12a.74.74 0 0 0 .05-.25c0-.27-.22-.53-.08-.8v-.14c-.09-.22-.18-.44.09-.66-.23-.16-.08-.3-.14-.5a.73.73 0 0 1 0-.44c0-.14-.06-.32.13-.43.19-.11-.1-.33 0-.46s0 0 0-.07a2.55 2.55 0 0 0 .25-.59c0-.11 0-.25.09-.34.09-.09.2-.13.15-.28-.05-.15.21-.13.22-.25.01-.12.07-.06.05-.13-.02-.07 0-.17.13-.19.13-.02.51.26.58 0 0-.12 0-.31.27-.17-.07-.19 0-.28.15-.14 0-.32.2-.22.31-.3.11-.08.18 0 .29 0a.14.14 0 0 0 .18-.08c.12-.16.26-.34.45-.35a.41.41 0 0 0 .35-.1c.06-.07.12-.22.24.06h.06c.06 0 .12-.09.2-.06a1.2 1.2 0 0 0 .66.08c.09-.005.18-.005.27 0 0 0 .06-.06.09-.07.03-.01.27-.33.41-.1 0 .05.08 0 .11 0s.14-.12.21-.07a.19.19 0 0 0 .25 0c.1-.08.2-.07.29.07a.11.11 0 0 0 .12 0c.153-.01.307-.01.46 0 .07 0 .15.1.23.08a3.39 3.39 0 0 0 .52-.15c.07 0 .13 0 .19.14s.18.18.27 0c.09-.18.28-.23.42 0 .14.23.29.19.44-.08.15-.27.2-.33.3-.2.1.13.06 0 .08 0 .02 0 .13 0 .19.12s.15.19.23.13c.08-.06.29-.24.44-.08.15.16.1 0 .14-.08.04-.08.12-.15.19-.12a.91.91 0 0 0 .37.15.49.49 0 0 0 .37-.1.36.36 0 0 1 .36 0c.09 0 .17 0 .25.09.08.09.31.16.46 0 .15-.16.06 0 .08 0l.64.1s.07 0 .1-.08c0 0 0 .16.06.13s.28-.4.42-.11c.09-.15.18.09.26 0 .08-.09.27.13.4-.2 0-.07.07-.07.1 0s.15.08.22-.07c.07-.15.08 0 .11.16 0 0 .06-.14.07-.08.07.32.15.18.22.11.07-.07.06-.06.08 0 .11.25.23.16.35.13.12-.03.19-.26.28.12 0 .07.05 0 .08 0s.18-.1.27 0c.09.1.08 0 .12 0 .1-.22.2-.07.3 0 .1.07.07.08.09 0 .02-.08.14-.19.21-.07.07.12.27-.14.4.09 0 0 .05 0 .06-.08 0-.28.1-.3.16-.06s.08.12.12.06c.04-.06.22-.21.33-.1.11.11.22.27.32-.11 0-.09.08 0 .12 0 .04 0 .1.08.15 0 .05-.08.2 0 .29.11.09.11.16.09.25 0s.19-.25.28-.16c.09.09.18 0 .27.07a1 1 0 0 1 .29.05c.13.04.27.04.4 0h.08c.11.35.22.2.34.1.12-.1.11-.11.17 0 .06.11.09 0 .14 0 .05 0 .18-.15.29 0 .11.15.21 0 .32-.07.11-.07.23-.18.35 0 0 .06.06 0 .09 0s.14.11.21 0a.92.92 0 0 1 .23-.19h.06c.15.18.3 0 .45.08.15.08.06-.07.09-.14s.1-.11.16 0 .09 0 .13.08c.04.08.24.19.36-.1h.19a.18.18 0 0 1 .22.05c.26.29.26.31.52.14a.17.17 0 0 1 .13 0c.13 0 .14-.44.27-.44s.11-.1.16.2c.05.3.15.18.21.13.32-.24.63 0 .94 0a.55.55 0 0 1 .23.09c.07 0 .14 0 .21-.15.07-.15.22-.18.33-.11a.85.85 0 0 0 .61.14.7.7 0 0 1 .62.18c.09.09.21 0 .34-.12.13-.12.31-.06.35.28.04.34.17.15.17.15h.18c.06 0 .26-.35.39-.28.13.07.24.25.38.42.14.17.4 0 .54.18l.09.11c.07.072.147.135.23.19.26.15.63.21.76.54 0 .05.07.07.12.1.25.12.49.3.4.66.3 0 .25.27.39.41.14.14.13.26.18.41.05.15.19.26.08.43-.11.17.23.25.22.41-.01.16 0 0 0 .07a2.76 2.76 0 0 0 0 .64c0 .1.09.19.09.29 0 .1-.11.17 0 .25.11.08-.1.18 0 .27.1.09 0 .07 0 .09 0 .02.09.13 0 .2s-.56.13-.37.35c.19.22.2.17 0 .29.2.1.25.22 0 .27.28.25.07.41.08.59a.23.23 0 0 1-.14.24c-.07 0 0 .13 0 .24 0 .11.12.37.16.54a.53.53 0 0 1-.31 0 .75.75 0 0 0-.48 0c-.07 0-.11.19-.34-.1h-.08c-.01 0-.15.07-.25 0a2.24 2.24 0 0 0-.46-.12.64.64 0 0 0-.31 0h-.27c-.09 0-.06.06-.1.07-.04.01-.26.33-.4.1h-.11c-.03 0-.14.12-.21.07-.07-.05-.17-.09-.25 0-.08.09-.2.07-.3-.07a.09.09 0 0 0-.11 0h-.46c-.16 0-.15-.1-.23-.09a2.4 2.4 0 0 0-.52.16c-.07 0-.13 0-.2-.15s-.17-.18-.26 0-.28.24-.42 0c-.14-.24-.3-.19-.44.08s-.2.33-.31.2c-.11-.13 0 0-.08 0s-.13 0-.19-.12-.14-.19-.22-.12c-.08.07-.3.23-.45.07-.15-.16-.09 0-.13.08-.04.08-.12.16-.19.12a1 1 0 0 0-.37-.15.48.48 0 0 0-.37.1c-.12.1-.24 0-.37 0s-.17 0-.25-.09a.335.335 0 0 0-.46 0 .13.13 0 0 1-.07 0l-.65-.1s-.06 0-.09.07c0 0 0-.15-.07-.13-.07.02-.27.4-.41.12-.09.14-.18-.1-.27 0-.09.1-.26-.14-.39.19 0 .07-.07.07-.1 0s-.15-.08-.23.07c-.08.15-.07 0-.1-.16 0 0-.06.14-.07.08-.08-.32-.15-.18-.23-.11-.08.07 0 .06-.07 0-.12-.25-.23-.16-.35-.13-.12.03-.19.26-.28-.12 0-.07 0 0-.08 0s-.18.11-.27 0c-.09-.11-.08 0-.12 0-.04 0-.2.06-.3 0-.1-.06-.07-.09-.1 0s-.13.19-.2.07-.27.14-.41-.09v.08c-.05.28-.1.3-.16.06s-.08-.12-.13-.06-.21.21-.32.1c-.11-.11-.22-.26-.33.11 0 .09-.07 0-.11 0-.04 0-.11-.08-.15 0-.04.08-.2 0-.29-.1-.09-.1-.17-.1-.25 0-.08.1-.19.25-.29.15-.1-.1-.17 0-.26-.06a1.5 1.5 0 0 1-.29-.06.64.64 0 0 0-.41 0s-.05 0-.07-.06c-.11-.35-.23-.2-.34-.1-.11.1-.12.11-.18 0s-.09 0-.13 0c-.04 0-.19.15-.29 0-.1-.15-.22 0-.32.07s-.24.19-.35 0h-.09c-.02 0-.15-.11-.22 0a.76.76 0 0 1-.23.18l-.06-.05c-.14-.18-.29 0-.44-.08-.15-.08-.07.07-.1.14s-.1.12-.15 0c-.05-.12-.09 0-.13-.08-.04-.08-.25-.18-.37.1h-.2a.18.18 0 0 1-.21-.06c-.25-.28-.26-.3-.49-.16a.17.17 0 0 1-.28 0l-.28-.08v-.15c0-.08-.14.09-.22.22-.08.13-.2.33-.3.2-.1-.13-.06 0-.08 0-.02 0-.13 0-.19-.12s-.15-.19-.23-.12c-.08.07-.29.23-.44.07-.15-.16-.1 0-.13.08s-.13.16-.19.12a1 1 0 0 0-.37-.15.47.47 0 0 0-.37.1.35.35 0 0 1-.37 0c-.08 0-.17 0-.25-.09-.08-.09-.31-.15-.46 0-.15.15-.05 0-.08 0L7 51s-.06 0-.1.07c0 0 0-.15-.07-.13-.07.02-.27.4-.42.12-.09.14-.17-.1-.26 0s-.27-.14-.4.19c0 .07-.06.07-.09 0s-.16-.08-.23.07c-.07.15-.08 0-.1-.16 0 0-.07.14-.08.08-.07-.32-.15-.18-.22-.11-.07.07-.06.06-.08 0-.11-.25-.23-.16-.34-.13-.11.03-.2.26-.29-.12 0-.07-.05 0-.08 0s-.18.11-.27 0c-.09-.11-.08 0-.11 0s-.21.06-.31 0-.07-.09-.09 0c-.02.09-.14.19-.21.07-.07-.12-.27.14-.4-.09l-.06.08c-.053.28-.103.3-.15.06 0-.17-.08-.12-.13-.06s-.22.21-.33.1c-.11-.11-.22-.26-.32.11 0 .09-.08 0-.11 0s-.11-.08-.16 0V49.4a.08.08 0 0 1 .1 0c.12.15.24-.16.36.13.14-.11.29.13.43-.15 0-.06.06 0 .09 0a.55.55 0 0 0 .65.09s.08-.07.11 0 .22 0 .33 0c.11 0 .12-.13.18-.12.157.018.312.055.46.11.11 0 .22.1.33-.08.11-.18.07 0 .1 0 .25.19.5.09.74 0h.14c.05 0 .31.35.46.06 0-.05.06 0 .08 0 .13.26.27.06.41.14.14.08.1 0 .15-.1.05-.1.19-.16.29 0 .1.16.05 0 .07 0a.34.34 0 0 1 .35 0c.13 0 .25.17.37.07s.28-.24.43-.22c.15.02.1-.07.15 0 .18.23.35.1.53.15a1 1 0 0 0 .35 0c.12 0 .23-.22.35 0 .21-.055.43-.055.64 0 .293.015.587.015.88 0 .07 0 .14.07.21 0a.34.34 0 0 1 .15-.07c0-.08.08-.11.13 0s.2.22.3.13a.1.1 0 0 1 .07-.06.7.7 0 0 1 .52-.1.81.81 0 0 0 .61-.14c.11-.07.22-.07.33.11.11.18.14.18.21.15a.55.55 0 0 1 .23-.09c.31 0 .62-.27.94 0 .06 0 .14.12.2-.13 0-.06 0 0 .08 0a.55.55 0 0 0 .15.08c.183.017.364.054.54.11a.69.69 0 0 0 .82-.12c.07-.07.16-.1.23 0s.23 0 .35 0c.12 0 .05-.06.07 0a.88.88 0 0 0 .78.1h.1c.03 0 .25-.16.37.13.14-.11.28.13.42-.15 0-.06.07 0 .1 0a.54.54 0 0 0 .64.09s.08-.07.12 0c.04.07.22 0 .33 0 .11 0 .11-.13.17-.12a2 2 0 0 1 .47.11c.11 0 .22.1.33-.08.11-.18.06 0 .1 0 .24.19.49.09.74 0h.13c.04 0 .31.35.47.06 0-.05 0 0 .08 0 .13.26.27.06.4.14.13.08.11 0 .16-.1s.19-.16.28 0c.09.16 0 0 .08 0a.34.34 0 0 1 .35 0c.12 0 .25.17.37.07s.28-.24.42-.22c.14.02.11-.07.16 0 .17.23.35.1.52.15.12.02.24.02.36 0 .11 0 .23-.22.34 0a1.31 1.31 0 0 1 .65 0c.29.015.58.015.87 0 .08 0 .15.07.22 0a.23.23 0 0 1 .35 0c.08.09.17.12.25 0 .08-.12.14 0 .21.06.07.06.15-.22.23-.15a.47.47 0 0 0 .43.13c.19-.07.37 0 .56 0 .19 0 .41.09.62.07.21-.02.3-.21.45 0 .15.21.47-.05.7.08.23.13.3-.11.45-.12a.66.66 0 0 1 .35 0s.14.12.12 0c.25.32.26.21.12 0 0 0 .19.15.16.09l-.13-.19c-.11-.17.11-.11.07-.26a.22.22 0 0 0-.05-.11s-.07-.06-.06-.07a1.41 1.41 0 0 0 0-.71s0-.06.06-.08c.23 0 .12-.11.08-.17-.04-.06-.14-.16-.08-.25.06-.09 0-.06 0-.09s-.25-.23-.12-.34c.13-.11-.25-.3-.07-.46h-.06a.12.12 0 0 0-.08 0c-.2 0-.15-.07-.06-.15.09-.08.08-.1 0-.12-.08-.02 0-.07 0-.12 0-.05-.12-.31-.1-.51.02-.2-.18-.23-.3-.32s-.14-.07-.05-.24c.09-.17 0 0 0 0h-.13a.43.43 0 0 1-.08-.24c0-.11-.21 0-.29 0 0-.1-.1-.07-.22 0s-.14 0-.16-.1c-.02-.1-.08-.28-.19-.28h-.23c-.05 0-.2-.18-.35 0-.15.18-.07 0-.1 0s0 0 0-.06c0-.37 0-.41-.07-.39h-.1c-.11 0-.21.07-.32.09a.24.24 0 0 1-.13 0c-.26-.16-.26-.15-.52.14a.18.18 0 0 1-.21.06c-.07 0-.13-.11-.2 0-.12-.29-.24-.18-.36-.1-.12.08-.09 0-.13.08-.04.08-.1.08-.16 0s-.06-.16-.09-.14c-.03.02-.3-.1-.45.08v.05a.76.76 0 0 1-.23-.18c-.08-.09-.14.17-.22 0-.08-.17-.06-.11-.09 0-.12.24-.23.22-.35 0-.12-.22-.19.26-.31.09s-.21-.22-.31-.13a.69.69 0 0 1-.62.18.84.84 0 0 0-.6.14c-.11.07-.22.07-.33-.11-.11-.18-.14-.18-.21-.15a.89.89 0 0 1-.23.1c-.32 0-.63.26-.94 0-.06 0-.14-.11-.21.13 0 .07-.05 0-.07 0-.02 0-.1-.07-.16-.08a2.08 2.08 0 0 1-.54-.11.68.68 0 0 0-.81.12c-.08.07-.16.1-.23 0s-.24 0-.35 0c-.11 0 0 .07-.08 0a.91.91 0 0 0-.78-.1h-.09c-.03 0-.25.16-.37-.13-.14.11-.28-.13-.42.15 0 .06-.07 0-.1 0a.54.54 0 0 0-.64-.1s-.09.07-.12 0-.22 0-.33 0c-.11 0-.12.13-.17.12a1.89 1.89 0 0 1-.47-.11c-.11 0-.22-.1-.33.08-.11.18-.07.05-.1 0-.25-.19-.49-.09-.74 0h-.14c-.05 0-.3-.36-.46-.06h-.08c-.13-.26-.27-.06-.4-.14-.13-.08-.11 0-.16.1s-.19.16-.29 0c-.1-.16-.05 0-.07 0a.39.39 0 0 1-.35 0c-.12-.06-.25-.17-.37-.08-.12.09-.28.24-.42.23-.14-.01-.11.06-.16 0-.17-.23-.35-.1-.53-.15a1.36 1.36 0 0 0-.35 0c-.11 0-.23.22-.35 0a1.27 1.27 0 0 1-.64 0 8.63 8.63 0 0 0-.88 0c-.07 0-.14-.07-.21 0a.23.23 0 0 1-.35 0c-.09-.09-.17-.11-.25 0-.08.11-.14 0-.21-.06-.07-.06-.15.22-.23.16a.45.45 0 0 0-.43-.14c-.19.07-.38 0-.57 0-.19 0-.41-.09-.61-.06s-.31.21-.45 0-.47.06-.71-.08-.29.11-.44.13a3.43 3.43 0 0 1-.56 0c-.06 0-.15-.1-.19 0-.14-.29-.19-.16-.19.05-.17-.26-.15 0-.2.12-.05.12-.39 0-.53.19a.55.55 0 0 0-.12.14s0 .11-.07.13a.74.74 0 0 0-.44.41H3.3c-.21-.12-.16 0-.15.06.01.06 0 .19-.07.21-.07.02 0 0 0 .09s.12.28 0 .29c-.12.01.1.37-.14.43v.07a.09.09 0 0 0 0 .06c.17.11.11.13 0 .16s-.12 0-.07.1c.05.1 0 .07 0 .11 0 .04 0 .33-.15.5-.15.17 0 .37.09.56.09.19.07.19-.11.29-.18.1 0 .06 0 .09s.11.07.1.1a.56.56 0 0 1-.1.29c-.09.1.15.19.19.29-.08.08 0 .17.12.25.12.08.08.18 0 .27-.08.09-.2.28-.15.42.05.14.11.21 0 .32l-1.95-.39z\\\" fill=\\\"#000\\\"/><path d=\\\"M1.53 85.38v6.45a3.93 3.93 0 0 0 3.93 3.93h24a3.93 3.93 0 0 0 3.93-3.93v-6.45H1.53z\\\" fill=\\\"#3B6EF1\\\"/><path d=\\\"M2.15 85.52c-.11.18.13.35.06.53a.5.5 0 0 0-.05.13.84.84 0 0 0 0 .27c0 .3.22.59.08.88v.15c.1.24.19.48-.08.72.23.17.07.34.15.51a.81.81 0 0 1 0 .41c0 .13.11.27-.05.4s.17.27.14.41V90a1.42 1.42 0 0 0 0 .58c0 .1.09.2.09.3 0 .1-.11.19 0 .28.11.09-.09.2 0 .29.09.09 0 .08.05.11s.08.14 0 .21c-.08.07-.55.14-.36.33.19.19.22.13 0 .25.2 0 .26 0 .06.16.31 0 .12.19.18.29.06.1 0 .14-.07.23s0 .12.06.16c.06.04.33.14.35.29 0 .103.07.193.17.22.07 0 .21 0 0 .19 0 0 .12 0 .13.09a.58.58 0 0 0 .34.43c.08 0 .13.12.21.15.08.03.08 0 .11 0s.36-.18.37.08c0 .06.05.07.1 0s.16-.07.2 0c.04.07.11.13.2.08.09-.05.17 0 .23.13A.117.117 0 0 0 5 95h.42c.06 0 .15.1.23.09.197-.04.39-.093.58-.16.07 0 .14 0 .21.14.07.14.19.19.29 0 .1-.19.31-.24.46 0 .15.24.32.19.48-.07.16-.26.22-.33.34-.2.12.13.06 0 .08 0 .02 0 .14 0 .21.13.07.13.16.18.25.12s.32-.24.48-.07c.16.17.11 0 .15-.08.04-.08.13-.16.21-.12.123.073.259.12.4.14a.62.62 0 0 0 .41-.09.41.41 0 0 1 .4 0c.09 0 .19 0 .27.09.08.09.34.16.51 0a.13.13 0 0 1 .08 0l.7.1s.08 0 .11-.08c0 0 0 .16.07.14.07-.02.3-.41.46-.12.09-.14.19.1.28 0 .09-.1.3.13.44-.2 0-.07.07-.06.11 0 .04.06.16.08.25-.07.09-.15.08 0 .11.16 0 0 .07-.13.08-.08.08.32.16.18.24.11.08-.07.06-.06.09 0 .12.25.25.16.38.14.13-.02.21-.27.31.11 0 .07 0 0 .08 0s.2-.1.3 0c.1.1.09 0 .13 0 .04 0 .22-.06.33 0 .11.06.08.08.1 0 .08-.22.15-.2.23-.08.08.12.29-.14.44.09l.06-.07c.06-.29.11-.3.17-.06.06.24.09.12.14 0 .05-.12.24-.21.36-.1.12.11.24.27.36-.11 0-.09.08 0 .12 0 .04 0 .12.08.17 0 .05-.08.21 0 .31.11s.18.09.28 0c.1-.09.21-.25.31-.16s.19 0 .29.07c.1.07.21 0 .31.05a.86.86 0 0 0 .45 0s.06 0 .08.06c.13.35.25.19.38.09s.12-.1.19 0 .09 0 .14 0c.05 0 .21-.15.32 0 .11.15.24 0 .36-.06s.25-.19.38 0c0 .06.07 0 .1 0s.15.1.23 0a1 1 0 0 1 .25-.19l.07.05c.16.19.32 0 .49.09.17.09.07-.08.1-.14.03-.06.11-.12.17 0 .06.12.09 0 .14.07.05.07.27.19.4-.09h.21a.21.21 0 0 1 .24.06c.28.29.28.3.56.13a.21.21 0 0 1 .15 0c.15 0 .16-.44.3-.44.14 0 .12-.1.18.2.06.3.16.18.23.13.34-.23.68 0 1 0a.67.67 0 0 1 .3.17c.07 0 .15 0 .23-.15.08-.15.24-.18.36-.1a.93.93 0 0 0 .66.13.81.81 0 0 1 .68.18c.11.09.23 0 .33-.12s.25-.08.32.24.17.11.17.11h.14c.04 0 .08-.42.18-.41.1.01.24.12.42.17.18.05.23-.22.38-.23H31a.9.9 0 0 0 .23-.08c.2-.16.25-.46.52-.52.05 0 .05-.07.07-.11.07-.21.1-.4.43-.42-.12-.24.08-.28.07-.44a.77.77 0 0 1 .11-.3c.05-.11 0-.24.14-.31s-.13-.24-.08-.33a.89.89 0 0 0 0-.49c0-.1-.09-.21-.09-.31s.11-.19 0-.28c-.11-.09.09-.19 0-.29-.09-.1 0-.07 0-.11 0-.04-.08-.13 0-.2s.56-.16.38-.4c-.18-.24-.21-.2 0-.29-.2-.07-.24-.13 0-.2-.28-.13-.07-.27-.08-.4-.01-.13.06-.16.14-.23a.13.13 0 0 0 0-.19c-.09-.17-.22-.35-.17-.52a.35.35 0 0 0 0-.33c0-.07-.19-.14.1-.21.05 0 0 0 0-.06s-.07-.12 0-.19a.91.91 0 0 0 .11-.64.69.69 0 0 1 0-.22h-.08c-.06-.07-.32 0-.1-.16.06 0 0-.06 0 0s-.12 0-.07 0a.26.26 0 0 0 .06-.12h-.08c-.11.08-.11.07-.06-.07s0-.06 0 0a1 1 0 0 1-.23 0s0-.1-.12-.08a4.12 4.12 0 0 0-.58.15c-.07 0-.14 0-.21-.14-.07-.14-.19-.19-.29 0-.1.19-.31.24-.46 0-.15-.24-.32-.19-.48.08-.16.27-.22.33-.34.2-.12-.13-.05 0-.08 0s-.14 0-.21-.13c-.07-.13-.16-.18-.25-.12s-.32.24-.48.07c-.16-.17-.11 0-.15.09-.04.09-.13.15-.21.11a1.07 1.07 0 0 0-.4-.14.57.57 0 0 0-.41.1.43.43 0 0 1-.4 0c-.09 0-.19 0-.27-.09-.08-.09-.34-.16-.51 0a.13.13 0 0 1-.08 0l-.7-.1s-.08 0-.11.08c0 0-.05-.16-.07-.14-.02.02-.3.41-.45.12-.1.15-.2-.09-.29 0-.09.09-.3-.13-.44.2 0 .07-.07.07-.11 0-.04-.07-.16-.08-.25.07-.09.15-.08 0-.11-.16 0 0-.06.14-.08.08-.08-.32-.16-.18-.24-.11-.08.07-.06.06-.09 0-.12-.25-.25-.16-.38-.13s-.21.26-.31-.12c0-.07-.05 0-.08 0s-.2.1-.3 0c-.1-.1-.09 0-.13 0-.04 0-.22.07-.33 0-.11-.07-.08-.08-.1 0-.08.22-.15.2-.23.08-.08-.12-.29.14-.44-.09 0 0-.05 0-.06.07-.06.29-.11.3-.17.07-.06-.23-.09-.12-.14-.06-.05.06-.24.21-.36.1-.12-.11-.24-.27-.36.11 0 .09-.08 0-.12 0-.04 0-.12-.08-.17 0-.05.08-.21 0-.31-.11s-.18-.09-.28 0c-.1.09-.21.25-.31.16s-.19 0-.29-.07a1.12 1.12 0 0 1-.31-.05.86.86 0 0 0-.45 0s-.06 0-.08-.06c-.12-.34-.25-.19-.38-.09s-.12.1-.19 0-.09 0-.14 0c-.05 0-.21.15-.32 0-.11-.15-.24 0-.36.06s-.25.19-.38 0c0-.06-.07 0-.1 0s-.15-.11-.23 0a1 1 0 0 1-.25.19h-.07c-.16-.18-.32 0-.49-.08-.17-.08-.07.07-.1.14s-.11.11-.17 0c-.06-.11-.09 0-.14-.07-.05-.07-.27-.19-.4.1h-.21a.22.22 0 0 1-.24 0c-.27-.28-.28-.31-.53-.16a.19.19 0 0 1-.31 0l-.3-.07v-.15c0-.08-.16.08-.24.22-.08.14-.21.33-.33.2-.12-.13-.06 0-.09 0s-.14 0-.2-.13-.17-.18-.25-.12c-.08.06-.33.24-.49.07-.16-.17-.1 0-.14.09-.04.09-.14.15-.21.11a1.11 1.11 0 0 0-.41-.14.55.55 0 0 0-.4.1.46.46 0 0 1-.41 0c-.09 0-.18 0-.27-.09-.09-.09-.33-.16-.5 0a.16.16 0 0 1-.09 0l-.7-.1s-.07 0-.11.08c0 0-.06-.16-.08-.14-.02.02-.3.41-.45.12-.1.15-.2-.09-.29 0-.09.09-.3-.13-.44.2 0 .07-.07.07-.1 0s-.17-.08-.25.07c-.08.15-.08 0-.11-.16 0 0-.07.14-.09.08-.07-.32-.16-.18-.24-.11-.08.07-.06.06-.08 0-.13-.25-.25-.16-.38-.13s-.21.26-.31-.12c0-.07-.06 0-.09 0s-.2.1-.3 0c-.1-.1-.08 0-.12 0-.04 0-.23.07-.34 0-.11-.07-.07-.08-.1 0-.07.22-.15.2-.23.08-.08-.12-.29.14-.44-.09l-.06.07c0 .29-.11.3-.17.07-.06-.23-.09-.12-.14-.06-.05.06-.23.21-.36.1-.13-.11-.23-.27-.35.11 0 .09-.08 0-.12 0-.04 0-.12-.08-.17 0l-.06-1.75a.1.1 0 0 1 .11 0c.13.14.27-.17.4.13.15-.11.31.13.46-.15 0-.06.07 0 .11 0a.63.63 0 0 0 .7.1s.09-.07.13 0c.04.07.24 0 .36 0s.13-.13.19-.13c.174.02.345.061.51.12.12 0 .24.1.36-.09a.07.07 0 0 1 .11 0 .86.86 0 0 0 .81 0h.15c.05 0 .34.36.51.06h.09c.14.26.29.06.44.13.15.07.12 0 .17-.09.05-.09.21-.16.31 0s.06 0 .09 0a.46.46 0 0 1 .38 0c.13.06.27.17.4.08a.8.8 0 0 1 .47-.23c.05 0 .11-.07.17 0 .19.23.38.1.58.15a1.6 1.6 0 0 0 .38 0c.13 0 .25-.22.38 0 .233-.06.477-.06.71 0h1c.08 0 .16.07.23 0a.41.41 0 0 1 .17-.07c0-.08.08-.11.13 0s.23.21.34.13c0 0 .06-.06.08-.06a.81.81 0 0 1 .58-.1 1 1 0 0 0 .66-.14c.12-.07.24-.07.36.11s.15.18.23.14a1.34 1.34 0 0 1 .26-.09c.34 0 .68-.26 1 0 .07 0 .16.11.23-.14 0-.06 0 0 .08 0a.89.89 0 0 0 .17.08c.2.012.399.05.59.11a.8.8 0 0 0 .89-.12c.09-.07.18-.1.26 0 .08.1.25 0 .38 0s.05-.07.08 0c.257.15.565.186.85.1h.11c.03 0 .27-.17.4.13.15-.11.31.13.47-.15 0-.06.07 0 .1 0a.65.65 0 0 0 .71.1s.09-.07.13 0c.04.07.24 0 .36 0s.12-.13.19-.13c.174.02.345.061.51.12.12 0 .24.1.36-.09s.07 0 .11 0a.86.86 0 0 0 .81 0h.15c.05 0 .33.36.51.06h.08c.15.26.3.06.45.13.15.07.11 0 .17-.09.06-.09.21-.16.31 0s.06 0 .08 0a.46.46 0 0 1 .38 0c.14.06.28.17.41.08a.77.77 0 0 1 .46-.23c.06 0 .12-.07.17 0 .19.23.39.1.58.15.13.015.26.015.39 0 .12 0 .25-.22.38 0 .23-.06.47-.06.7 0h1c.08 0 .16.07.24 0a.26.26 0 0 1 .38 0c.09.09.19.11.28 0 .09-.11.15 0 .23.06.08.06.16-.22.25-.16a.51.51 0 0 0 .47.14c.276-.03.554-.03.83 0 .36 0 .64.08 1 .06a1.88 1.88 0 0 0 .36-.07.59.59 0 0 1 0 .48c-.26.55.06.74-.07 1.19-.08.27.1.43.12.58.025.25.025.5 0 .75 0 .09-.12.17 0 .26-.32.08-.21.17 0 .26-.3.11 0 .21 0 .31.11.25-.11.5-.06.75a2 2 0 0 0 0 .24s.08.11.07.17a1.79 1.79 0 0 0 0 .83s0 .06-.07.08c-.07.02-.12.13-.08.19.04.06.14.18.08.27-.06.09 0 .07 0 .11 0 .04.25.25.12.37s.24.45 0 .72v.11c0 .04 0 0 .06.08s.11.22 0 .29c-.11.07-.13.12-.09.2.04.08 0 .14-.07.2a2.85 2.85 0 0 1-.43.83c-.19.18-.2.46-.32.69-.12.23-.1.26-.32.25-.06 0-.07 0-.08.1-.01.1 0 .13 0 .16a.77.77 0 0 1-.35.2c-.16 0-.09.29-.18.4a.08.08 0 0 1-.07 0c-.15 0-.18.15-.23.31-.05.16-.17.2-.33.2a.79.79 0 0 0-.6.11c-.12.08-.24.2-.4.17a.65.65 0 0 0-.65.2.35.35 0 0 1-.19.06h-.08c-.1-.37-.19-.4-.26-.37h-.16l-.44.11a.23.23 0 0 1-.15 0c-.28-.16-.28-.15-.57.14a.19.19 0 0 1-.23.06c-.07 0-.14-.11-.21 0-.07.11 0 0 0 0-.13-.28-.27-.18-.4-.1-.13.08-.1 0-.15.08-.05.08-.11.08-.17 0-.06-.08-.06-.15-.1-.14-.04.01-.33-.1-.49.08 0 0 0 .07-.06.06a.87.87 0 0 1-.25-.19c-.08-.08-.16.18-.24 0-.08-.18-.07-.1-.1 0-.13.24-.25.22-.38 0s-.21.26-.34.09c-.13-.17-.23-.21-.34-.12a.8.8 0 0 1-.68.17 1 1 0 0 0-.66.14c-.12.07-.24.07-.36-.11s-.15-.17-.23-.14c-.083.04-.17.07-.26.09-.34 0-.68.26-1 0-.07 0-.15-.11-.23.14 0 .06 0 0-.08 0s-.11-.07-.17-.07a4.34 4.34 0 0 1-.59-.11.78.78 0 0 0-.89.11c-.09.07-.18.11-.26 0-.08-.11-.25 0-.38 0s0 .07-.08 0a1.07 1.07 0 0 0-.85-.09.11.11 0 0 1-.11 0c-.13-.15-.27.16-.4-.14-.15.11-.31-.12-.47.16h-.1a.65.65 0 0 0-.71-.1s-.09.07-.12 0c-.13-.21-.25-.05-.36 0-.11.05-.13.13-.2.13a3.1 3.1 0 0 1-.51-.11c-.12 0-.24-.11-.36.08s-.07 0-.11 0c-.27-.2-.54-.09-.81 0h-.15c-.05 0-.33-.35-.51-.06h-.08c-.15-.25-.3-.06-.45-.13-.15-.07-.11 0-.17.09-.06.09-.2.16-.31 0-.11-.16-.06 0-.08 0a.46.46 0 0 1-.38 0c-.14-.06-.28-.17-.41-.07a.82.82 0 0 1-.46.22c-.06 0-.12.07-.17 0-.19-.23-.39-.1-.58-.15a1.7 1.7 0 0 0-.39 0c-.12 0-.25.22-.38 0a1.52 1.52 0 0 1-.7.05h-1c-.08 0-.16-.07-.24 0a.26.26 0 0 1-.38 0c-.09-.1-.19-.12-.28 0-.09.12-.15 0-.23-.07-.08-.07-.16.23-.25.16a.53.53 0 0 0-.47-.13 2.17 2.17 0 0 1-.66 0 6.63 6.63 0 0 1-.77-.18c-.19 0-.44.1-.56-.13-.12-.23-.58-.18-.77-.46-.19-.28-.36-.13-.53-.23a2.47 2.47 0 0 1-.62-.63c-.06-.09 0-.23-.16-.26.2-.27.06-.27-.17-.25 0 0-.06 0 0 0 .19-.27-.13-.21-.22-.31-.24-.22-.14-.58-.27-.84a2.72 2.72 0 0 0-.11-.25c0-.06-.11-.12-.11-.19a3.74 3.74 0 0 0-.08-1s0-.07.07-.09c.07-.02.12-.12.08-.18-.04-.06-.14-.18-.08-.28.06-.1 0-.07 0-.1s-.25-.25-.11-.37-.25-.43 0-.64c0 0 0-.06-.05-.09a.18.18 0 0 0-.08-.06c-.19-.07-.14-.15 0-.23.14-.08.1-.11.05-.17-.05-.06 0-.11 0-.17.01-.25.043-.497.1-.74.09-.2-.05-.41-.09-.61-.04-.2-.07-.22.1-.32s0-.07 0-.11c0-.04-.11-.06-.1-.1a.6.6 0 0 1 .1-.32c.09-.11-.15-.21-.19-.31a.06.06 0 0 1 0-.07c.08-.09 0-.18-.13-.27-.13-.09-.08-.2 0-.3a.5.5 0 0 0 .16-.47c-.05-.11-.11-.22 0-.34l1.37-.37z\\\" fill=\\\"#000\\\"/><circle fill=\\\"#FFF\\\" cx=\\\"17.45\\\" cy=\\\"90.57\\\" r=\\\"1.8\\\"/><path d=\\\"M19.73 90.59c-.09 0 .1.07 0 .1 0 0-.05 0 0 .05s.15.12 0 .16c-.15.04 0 0 0 0s.13.12-.09.11c.17.07 0 .08.09.12.09.04 0 0 0 .08s.06.07-.06.06c-.12-.01.1.09.07.1-.06 0 0 .07 0 .11v.08c0 .02-.09 0 0 .06s-.09 0 0 0c0 0 .05 0 0 0s-.4-.18-.3-.07c.1.11.12.11-.06 0 0 0 .15.13 0 0 .18.14 0 .07 0 .09 0 .02 0 0-.11 0s-.05 0 0 0 .1.16 0 .16-.06 0 0 0 .09.12-.09 0h-.14s.13.23 0 .12c-.13-.11 0 0 0 0v.07c0-.02-.07 0-.05 0 .02 0 0 .07-.08 0 0 0 0 .05-.06.08s-.07-.05-.08 0a.7.7 0 0 0 0 .16l-.09-.07c-.09-.07-.1-.11-.05 0s0 .19-.06.07-.12-.11-.06.09.07.26 0 .17l-.08-.08c-.08-.08-.08-.12-.08-.07 0 .05 0 .2-.06.08-.06-.12 0 0 0 .07v.1c0-.03-.08-.08-.11-.08s0 0-.06.09 0 0-.08 0 0 0-.06-.06-.08-.11-.1 0c-.02.11 0 0 0 0l-.14-.06a.15.15 0 0 0 0 .06v-.11c0 .02 0 .32-.08.1 0 .11 0-.08-.06 0s-.05-.11-.08.15c0 .06 0 0 0 0s0-.06-.06 0 0 0 0-.12v-.03c0 .05 0 0 0 0 0-.2 0-.13-.06-.11-.06.02-.07.19 0-.1 0-.06 0 0 0 0s0 .08 0 0h-.06s0-.07 0 0-.07.14-.06 0c.01-.14-.08.09-.06-.09-.07.21-.09.22 0 0s0-.09 0 0-.09.14-.09 0 0-.21-.09.06c0 .07 0 0 0 0s0-.07 0 0-.05 0 0-.1 0-.08-.05 0-.12.16-.11.08c.01-.08 0 0 0-.07v-.06c0-.06 0 0-.08 0 .13-.25 0-.15 0-.1 0 .05-.06 0 0 0 0 0-.1.07-.06 0 .04-.07 0 0-.09 0s-.13.08 0-.07c.13-.15 0 0 0 0s0-.08 0 0l-.13.08v-.11l-.09.06c-.07.06-.08.06 0 0s0 0 0-.06.08-.14-.1 0v-.07c0-.07.15-.19 0-.15 0 0-.3.18-.31.16-.01-.02-.08 0 .1-.12s.1-.11.06-.1c-.04.01-.07-.12-.09-.18a.2.2 0 0 1 0-.08h-.23c.04 0 .09-.14 0-.17s0-.08.09-.17c.09-.09 0 0-.11 0s-.08 0 .16-.12.09-.06.09-.06h-.3c.02 0 .11-.08.19-.13s-.11 0-.06-.09v-.06c0-.06-.19-.08-.08-.15.11-.07 0 0 0 0s-.15-.09.06-.13c-.18 0 0-.06-.11-.09s0-.06 0-.08c0-.02-.08-.06 0-.07.08-.01-.12-.07-.09-.09.06 0 0-.07 0-.11 0-.04-.06 0-.06-.07s.09 0 0-.06.08 0 0 0c0 0-.05-.05 0-.05s.43.1.3 0-.14-.08.06 0c0 0-.18-.09 0 0-.2-.1 0-.06 0-.09s.05 0 .12 0c.07 0 0 0 0 0s-.14-.13-.08-.14c.06-.01.06 0 0-.06s-.12-.1.08 0h.13c-.01 0 0 0 0-.05 0 0-.17-.19 0-.11 0 0-.06-.08 0-.07.06.01.08 0 0 0s0-.07.08 0v-.09c0-.03.08 0 .08 0a.51.51 0 0 0 0-.17l.11.06c.11.06.12.09 0 0s-.07-.19 0-.09.14.09 0-.1-.12-.23 0-.16l.08.06c.08.06.11.1.1 0-.01-.1 0-.19 0-.09v-.17a.33.33 0 0 0 .12.06v-.1c0-.1 0-.06.06 0s0 0 .08 0 .1.09.11 0h.15v-.06.1c0-.01 0-.32.05-.11 0-.12.06.06.07 0 .01-.06.07.09 0-.17 0-.05 0-.05 0 0v-.06.12V88c.06.25 0 .14.06.08.06-.06 0 0 0 0 0 .19.06.12.08.1.02-.02 0-.21.06.08 0 .06 0 0 0 0s0-.08 0 0c0 0 0-.05.06 0s0 .06 0 0 0-.15 0 0 .06-.11.08.07c.02.18 0 0 0-.06 0-.22 0-.23 0 0s0 .09 0 0 .06-.16.08-.07c.02.09 0 .22.07-.07 0-.07 0 0 0 0s0 .06 0 0v.09c0 .09 0 .08.05 0s.09-.18.09-.11v.07a.08.08 0 0 1 .05 0h.08c.08 0 0 0 0 .05-.06.26 0 .15 0 .09s0-.07 0 0c0 0 .08-.1.06 0-.02.1 0 0 .08 0s.11-.11 0 .06c-.11.17 0 0 0 0s0 .08 0 0a.44.44 0 0 1 .11-.1v.1c0 .1 0 0 .08-.08s.07-.07 0 0 0 0 0 .06 0 .15.11 0v.07c0 .07-.1.21 0 .16.1-.05.09 0 .06 0v.08a.25.25 0 0 1-.08.09s.07 0 .15-.09c.08-.09.21-.16.16-.07-.05.09 0 0 0 0l-.05.1c-.05.1-.08.12 0 .1.08-.02.18-.08.1 0-.08.08 0 0 .07 0s.11-.06.09 0c-.02.06-.05.11 0 .14.05.03 0 0 .11 0s.07 0 0 .06.05 0 0 .08-.07.12 0 .1v.16h.07a.3.3 0 0 1-.09.06c.12 0 .32-.08.12 0 .12 0 0 .07 0 .07s-.08.09.17 0c.06 0 .06 0 0 0h.07c.07 0 0 0-.11.06h.06c-.23.09-.12.07-.06.07 0 0-.11.08-.08.1.03.02.21 0-.08.08 0 0 .09 0 0 .06 0 0 .05 0 0 .06s-.06 0 0 0h.07c-.08 0 .11 0-.07.09h.07c.22 0 .23 0 0 0s-.1 0 0 0 .17 0 .09.06c-.08.06-.21 0 .08.06.08 0 0 0 0 0s-.06 0 0 0h-.91.1-.12s.15-.06.07-.07c-.08-.01-.06 0 0 0h-.1a.18.18 0 0 1 .08-.06h-.07c.14-.07.06-.07 0-.07 0 0 .25-.13 0-.06.19-.09 0 0 .08-.08s0 0-.07 0-.12 0 0 0c0 0 .1-.09 0-.06s-.17.07-.17 0c0 0 0-.07.07-.11.07-.04 0 0 0 0s-.15.09 0 0h-.07s-.05 0-.08-.05c0 0-.07.06 0 0s.1-.14 0-.1c0 0-.09.06-.09 0s0 0-.11 0 0 0 0-.08.07-.13.05-.11h-.06s-.14.15-.09 0c.05-.15 0-.09-.06.08-.06.17 0 0 0 0a.39.39 0 0 0 0-.06.22.22 0 0 1 0-.1c0-.08 0-.13-.1.06s0 .08 0 0c0 0 0-.16-.06-.09v-.11c0 .09 0-.1-.06.12 0 0 0-.16-.06-.08s0 .05 0 0v.1a.26.26 0 0 1 0-.09v.07c0 .15 0 0 0 0s-.06-.06-.07 0c-.01.06 0 0 0 0s-.09-.27-.06 0c0-.19 0 0-.06-.09s0 0 0 .08 0 .12 0 0c0 0-.07-.12-.06 0a.65.65 0 0 1 0 .17s0 .06 0 0-.07-.05-.1-.08c0 0 .06.16 0 0v.06l-.07.07c-.07.07 0 0 0 0s0 .08-.05 0-.07-.06 0 0c0 0 .1.15.06.11-.04-.04-.12-.08-.1 0 .02.08 0 0 0 0h-.08s.1.13 0 .06 0 .07-.09 0 0 .07 0 .09v.06c0 .06-.09 0 0 0-.22-.11-.15-.06 0 0-.21-.09 0 0 0 0h-.08s-.07 0 0 .07 0 0-.06 0h-.06c.03 0 .1.05 0 0 0 0 .18.06.08 0-.1-.06.19.07 0 .06h.06c.15 0 .1 0 0 0s-.08 0 0 0l-.08.06c-.08.06 0 0 .07 0h-.08.09a.16.16 0 0 1-.08 0h.15c.03 0 0 0 0 0h.1c.1 0 .07 0 0 0s-.15.05-.11.05c.04 0 .08 0 0 0s-.08 0 0 0c-.28.08-.3.09-.28.09h.1c-.12.07-.1.07.12 0 0 0 .06 0 0 0s-.07 0 0 0c-.2.1-.12.08-.06.06h.06c.06 0 .06 0 0 0l-.1.06c.06 0 0 .06.08 0l-.11.09c-.06 0 .12-.06 0 0s-.06 0 0 0 .15-.08 0 0 .18-.11.08 0c-.1.11-.12.12-.06.08.06-.04.15-.07.15 0s0 0 .11 0 .05 0 0 .08-.08.11-.06.1h.07s.17-.12.07 0 0 .08.08-.07c.08-.15 0 0 0 0a.21.21 0 0 0 0 .06.41.41 0 0 1 0 .1c0 .08 0 .13.11 0s0-.06 0 0v.1c0-.05 0 0 0 0s.07-.11 0 .11c0-.07 0 .11.07-.1v.09c0-.07 0 0 0 0v-.09a.17.17 0 0 1 0 .09v-.06c0-.14 0 0 0 0s0 .07.07 0c0 0 0 .28 0 0 0 .2 0 0 .05.1s0 0 0-.08 0-.12 0 0c0 0 0 .13 0 0a1 1 0 0 1 0-.18s.05.07.08.1c0 0 0-.17 0 0v-.06h.07c.07 0 0 0 0 0s0-.08 0 0 .06.07 0 0c0 0-.07-.16 0-.12.07.04.1.11.09.06-.01-.05 0 0 .06 0h.08c.01 0-.08-.15 0-.06s0-.07.1 0 0-.08 0-.1c0-.02 0 0 .06 0s.08 0 0 0c.19.16.13.09 0 0 .18.14 0 0 0 0h.08c-.02 0 0 0 0 0s.08 0 0-.07c.16.08.09 0 .06 0s-.09-.06 0 0c-.13-.07-.17-.1-.07-.07s-.17-.11 0-.06c-.14 0-.1 0 0 0s.08 0 0 0h.1c.1 0 0 0-.06-.06s-.05 0 .08 0h-.08a.14.14 0 0 1 .09 0H18c-.09 0-.07 0 0 0h.13c-.04 0-.09 0 0 0l1.6.47z\\\" fill=\\\"#FFF\\\"/></g></svg>\\n\"\n  },\n  \"messages\": \"<svg id=\\\"Layer_1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><style>.messages{fill:#f0b23f}</style><path class=\\\"messages\\\" d=\\\"M20 0C9 0 0 9 0 20s9 20 20 20 20-9 20-20S31 0 20 0zm0 38c-9.9 0-18-8.1-18-18S10.1 2 20 2s18 8.1 18 18-8.1 18-18 18z\\\"/><path class=\\\"messages\\\" d=\\\"M11.2 23.5c-.6.6-.6 1.6 0 2.3.3.3.7.5 1.1.5h4.9L14.7 20l-3.5 3.5zM24.5 14c0-6.3-4-8.7-4-8.7s-4 2.3-4 8.7c0 2.8.3 5.5.8 8.3l.8 3.9h4.8l.8-4c.5-2.7.8-5.4.8-8.2zm-2-.6s-.1 0 0 0c-.3 0-.4-.1-.5-.2-.1-.2-.5-.6-1.5-.6-1.1 0-1.4.3-1.5.6-.1.1-.2.2-.4.2s-.4-.2-.4-.4v-.1c.2-1.1 1.2-1.9 2.3-1.9 1.1-.1 2.2.7 2.3 1.9.1.2-.1.4-.3.5zm7.3 10.1L26.2 20l-2.5 6.3h4.9c.9 0 1.6-.7 1.6-1.6 0-.5-.1-.9-.4-1.2zm-8.1 4.4l-1.2 2.3-1.2-2.3c-.6.2-1 .8-1.1 1.4 0 1.2 2.2 4 2.2 4s2.2-2.7 2.2-4c.1-.6-.3-1.2-.9-1.4z\\\"/></svg>\",\n  \"messenger-preview\": {\n    \"attachment-icon\": \"<svg class=\\\"messenger-preview__conversation__composer-icon\\\" viewBox=\\\"0 0 16 18\\\"><path class=\\\"messenger-preview__conversation__composer-icon-path\\\" d=\\\"M14.154 6.918l-.004.003.001-.004-3.287 3.286-.006-.005-3.574 3.574c-.016.017-.03.036-.048.053l-.05.047-.043.041v-.002c-1.167 1.07-2.692 1.331-3.823.2-1.13-1.13-.89-2.677.18-3.843l-.005-.004.074-.073.016-.018c.006-.005.012-.009.017-.016l6.053-6.053.761.76-6.053 6.054-.029.028v.001l-.005.004-.073.074c.011-.01.025-.018.035-.03-.688.75-.93 1.636-.21 2.356.72.72 1.583.456 2.333-.232l-.03.034.04-.042.01-.008.008-.009.033-.03.031-.034.01-.009.007-.009 5.004-5.003.005.006 1.858-1.859c1.223-1.218 1.51-2.913.291-4.132C12.462.806 10.414.74 9.195 1.958L2.248 8.905c.003 0 .006-.002.008-.004-1.625 1.667-1.542 4.43.103 6.074 1.646 1.646 4.474 1.795 6.141.17-.003.002-.004.008-.008.012l.047-.047 6.053-6.054.042-.042.743.78-.025.021.001.002-6.05 6.05-.002.002-.002.001-.046.046h-.002c-2.094 2.04-5.578 1.894-7.652-.18-2.049-2.049-2.15-5.407-.183-7.505l-.006-.005h-.002l.076-.078 6.943-6.944.003-.002.004-.005c1.641-1.64 4.367-1.574 6.008.066 1.64 1.642 1.353 4.014-.288 5.655z\\\"/></svg>\",\n    \"back-button\": \"<svg class=\\\"messenger-preview__conversation__header__back-button-icon\\\"><path d=\\\"M3.182 7.041l5.445-5.444L7.07.04.778 6.334 0 7.112l7.071 7.071 1.626-1.626z\\\" class=\\\"messenger-preview__conversation__header__icon-path\\\" fill=\\\"none\\\"/></svg>\\n\",\n    \"bio-icon\": \"<svg class=\\\"messenger-preview__conversation__header__icon\\\" viewBox=\\\"0 0 16 13\\\"><path d=\\\"M5.1.9l1.8 1.5c-1.6 1.1-3 3.1-3.2 4.7.1 0 .4-.1.7-.1 1.4 0 2.4 1.1 2.4 2.6s-1.2 2.7-2.7 2.7C2.5 12.3 1 10.9 1 8.4c0-3 1.8-5.8 4.1-7.5zm8 0L15 2.4c-1.6 1.1-3 3.1-3.2 4.7 0 0 .4-.1.6-.1 1.4 0 2.5 1.1 2.5 2.6s-1.2 2.7-2.7 2.7c-1.7 0-3.1-1.4-3.1-3.9 0-3 1.7-5.8 4-7.5z\\\" class=\\\"messenger-preview__conversation__header__icon-group\\\" stroke=\\\"#FFF\\\" fill=\\\"none\\\"/></svg>\",\n    \"emoji-icon\": \"<svg class=\\\"messenger-preview__conversation__composer-icon\\\" viewBox=\\\"0 0 18 18\\\"><path class=\\\"messenger-preview__conversation__composer-icon-path\\\" d=\\\"M9 0a9 9 0 1 1 0 18A9 9 0 0 1 9 0zm0 1C4.589 1 1 4.589 1 9s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8zM5 6.999a1 1 0 1 1 2.002.004A1 1 0 0 1 5 6.999zm5.999 0a1.002 1.002 0 0 1 2.001 0 1 1 0 1 1-2.001 0zM8.959 13.5c-.086 0-.173-.002-.26-.007-2.44-.132-4.024-2.099-4.09-2.182l-.31-.392.781-.62.312.39c.014.017 1.382 1.703 3.37 1.806 1.306.072 2.61-.554 3.882-1.846l.351-.356.712.702-.35.356c-1.407 1.427-2.886 2.15-4.398 2.15z\\\"/></svg>\",\n    \"gif-icon\": \"<svg class=\\\"messenger-preview__conversation__composer-icon\\\" viewBox=\\\"0 0 29 18\\\"><path class=\\\"messenger-preview__conversation__composer-icon-path\\\" d=\\\"M9 1a8 8 0 1 0 0 16h11a8 8 0 1 0 0-16H9zm0-1h11a9 9 0 0 1 0 18H9A9 9 0 0 1 9 0z\\\"/><path class=\\\"messenger-preview__conversation__composer-icon-path\\\" d=\\\"M6.561 9.337c0-2.277 1.683-3.795 3.773-3.795 1.298 0 2.2.572 2.849 1.375l-.726.451c-.462-.594-1.243-1.012-2.123-1.012-1.606 0-2.827 1.232-2.827 2.981 0 1.738 1.221 2.992 2.827 2.992.88 0 1.606-.429 1.969-.792v-1.496H9.784v-.814h3.432v2.651a3.822 3.822 0 0 1-2.882 1.265c-2.09 0-3.773-1.529-3.773-3.806zM14.701 13V5.663h.913V13h-.913zm2.629 0V5.663h4.807v.814h-3.894v2.365h3.817v.814h-3.817V13h-.913z\\\"/></svg>\",\n    \"job-title-icon\": \"<svg class=\\\"messenger-preview__conversation__header__icon\\\" viewBox=\\\"0 0 17 15\\\"><g class=\\\"messenger-preview__conversation__header__icon-group\\\" stroke=\\\"#FFF\\\" fill=\\\"none\\\"><path d=\\\"M1.4 7.7h6.3m2.2 0h6.3m0-3.5H1.4v9.9h14.8z\\\"/><path d=\\\"M9.9 9.9H7.7V7h2.2zM6 4.2c0-1.6 1.2-2.8 2.8-2.8 1.6 0 2.8 1.2 2.8 2.8\\\"/></g></svg>\",\n    \"launcher-icon\": \"<svg class=\\\"messenger-preview__launcher__icon\\\" viewBox=\\\"0 0 28 32\\\"><path class=\\\"messenger-preview__launcher__icon-path\\\" d=\\\"M28 32s-4.714-1.855-8.527-3.34H3.437C1.54 28.66 0 27.026 0 25.013V3.644C0 1.633 1.54 0 3.437 0h21.125c1.898 0 3.437 1.632 3.437 3.645v18.404H28V32zm-4.139-11.982a.88.88 0 0 0-1.292-.105c-.03.026-3.015 2.681-8.57 2.681-5.486 0-8.517-2.636-8.571-2.684a.88.88 0 0 0-1.29.107 1.01 1.01 0 0 0-.219.708.992.992 0 0 0 .318.664c.142.128 3.537 3.15 9.762 3.15 6.226 0 9.621-3.022 9.763-3.15a.992.992 0 0 0 .317-.664 1.01 1.01 0 0 0-.218-.707z\\\"/></svg>\",\n    \"linkedin-social-icon\": \"<svg class=\\\"messenger-preview__conversation__header__icon\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13.6 0C14.9 0 16 1.1 16 2.4v11.2c0 1.3-1.1 2.4-2.4 2.4H2.4C1.1 16 0 14.9 0 13.6V2.4C0 1.1 1.1 0 2.4 0h11.2zM4.8 13.5V6.2H2.4v7.3h2.4zM3.6 5.2C4.5 5.2 5 4.7 5 4s-.5-1.3-1.3-1.3c-.9 0-1.4.6-1.4 1.3 0 .7.5 1.2 1.3 1.2zm2.6 8.3h2.4V9.4c0-.2 0-.4.1-.6.1-.4.5-.8 1.2-.8.9 0 1.2.6 1.2 1.6v3.9h2.4V9.3c0-2.2-1.2-3.2-2.8-3.2-1.3 0-1.8.7-2.1 1.2V6.2H6.2v7.3z\\\" fill=\\\"#B3C9FF\\\"/></svg>\",\n    \"location-icon\": \"<svg class=\\\"messenger-preview__conversation__header__icon\\\" viewBox=\\\"0 0 18 18\\\"><g class=\\\"messenger-preview__conversation__header__icon-group\\\" fill=\\\"none\\\"><path d=\\\"M16.7 9c0 4.2-3.5 7.7-7.7 7.7S1.3 13.2 1.3 9 4.8 1.3 9 1.3s7.7 3.5 7.7 7.7z\\\"/><path d=\\\"M14.7 3.8s-.4 1.9-1.7 2.5c-1.3-.3-2.7.7-2.3.7.3 0 .6 1.3.6 1.3.4.4 1 0 1 0 .9.9-1.3 2.4-1.3 2.7 0 .3.8.5.3 1s-1 .7-1 .7c0 1.6-1.6 1.6-2 1.6-.3 0-1-1.3-1-1.6 0-.4.4-.7.4-1 0-.4-.7-1-.7-1 0-1.4-1-1-2-1S4 8.3 4 8.3 4 6 5.7 5.7c1.6-.4 1.6.3 1.6.3.7.7 2 0 2.7 0 0 0 .3-2.3-.3-2-.7.3-1.3.1-1.4-.7-.1-1 2.9-1.6 2.9-1.6\\\"/></g></svg>\",\n    \"minimize-icon\": \"<svg class=\\\"messenger-preview__launcher__minimize-icon\\\" viewBox=\\\"0 0 16 14\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"messenger-preview__launcher__icon-path\\\" fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M.116 4.884l1.768-1.768L8 9.232l6.116-6.116 1.768 1.768L8 12.768.116 4.884z\\\"/></svg>\",\n    \"twitter-social-icon\": \"<svg class=\\\"messenger-preview__conversation__header__icon\\\" viewBox=\\\"0 0 18 15\\\"><path d=\\\"M18 1.8c-.7.3-1.4.5-2.1.6.7-.5 1.3-1.2 1.6-2.1-.7.4-1.5.7-2.3.9C14.5.5 13.5 0 12.5 0c-2.1 0-3.7 1.7-3.7 3.8 0 .3 0 .6.1.8C5.8 4.5 3.1 3 1.3.7.9 1.3.8 1.9.8 2.6c0 1.3.6 2.5 1.6 3.1-.6 0-1.2-.1-1.7-.4C.7 7.2 2 8.7 3.7 9c-.3.1-.6.2-1 .2-.2 0-.5-.1-.7-.1.5 1.5 1.9 2.6 3.5 2.6-1.3 1-2.9 1.7-4.6 1.7-.3 0-.6-.1-.9-.1C1.6 14.4 3.6 15 5.7 15c6.8 0 10.5-5.8 10.5-10.8v-.5c.7-.5 1.3-1.2 1.8-1.9\\\" fill=\\\"#B3C9FF\\\"/></svg>\"\n  },\n  \"messenger-settings\": {\n    \"app-store-icon\": \"<svg width=\\\"30\\\" height=\\\"30\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M24 20a1 1 0 0 1-1 1h-2v2a1 1 0 1 1-2 0v-2h-2a1 1 0 1 1 0-2h2v-2a1 1 0 1 1 2 0v2h2a1 1 0 0 1 1 1zM22.5 6A1.5 1.5 0 0 1 24 7.5v5a1.5 1.5 0 0 1-1.5 1.5h-5a1.5 1.5 0 0 1-1.5-1.5v-5A1.5 1.5 0 0 1 17.5 6h5zM18 12h4V8h-4v4zm-5.5 4a1.5 1.5 0 0 1 1.5 1.5v5a1.5 1.5 0 0 1-1.5 1.5h-5A1.5 1.5 0 0 1 6 22.5v-5A1.5 1.5 0 0 1 7.5 16h5zM8 22h4v-4H8v4zm4.5-16A1.5 1.5 0 0 1 14 7.5v5a1.5 1.5 0 0 1-1.5 1.5h-5A1.5 1.5 0 0 1 6 12.5v-5A1.5 1.5 0 0 1 7.5 6h5zM8 12h4V8H8v4z\\\"/></svg>\",\n    \"ask-question-icon\": \"<svg width=\\\"15\\\" height=\\\"16\\\" data-ember-extension=\\\"1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M7.326 0a7.076 7.076 0 017.077 7.076c0 7.077-7.07 9.799-7.07 9.799v-2.723h-.007A7.076 7.076 0 117.326 0zm.653 10.24a.65.65 0 100 .002v-.001zm-.65-6.423c-1.137 0-2.07.878-2.166 1.991l1.076.152a1.091 1.091 0 012.18.032c0 1.084-1.524 1.084-1.524 2.6v.122h.867v-.121c0-.867 1.74-1.084 1.74-2.601a2.176 2.176 0 00-2.174-2.174z\\\" fill-rule=\\\"evenodd\\\"/></svg>\",\n    \"hero-icon-messenger\": \"<svg viewBox=\\\"0 0 50 50\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M31.744 27.332a1 1 0 0 1-.076 1.412c-.11.099-2.732 2.411-6.64 2.411-3.909 0-6.53-2.312-6.64-2.411a1 1 0 0 1 1.333-1.491c.033.03 2.195 1.902 5.306 1.902 3.152 0 5.284-1.88 5.305-1.899a.998.998 0 0 1 1.412.076zM25 48C12.318 48 2 37.682 2 25S12.318 2 25 2s23 10.318 23 23-10.318 23-23 23zm0-48C11.193 0 0 11.193 0 25s11.193 25 25 25 25-11.193 25-25S38.807 0 25 0zm10 38.697a.853.853 0 0 1-.06.268l-7-3.73L27.5 35H16c-.552 0-1-.449-1-1V16c0-.551.448-1 1-1h18c.551 0 1 .449 1 1v22.697zM34 13H16c-1.654 0-3 1.346-3 3v18c0 1.654 1.346 3 3 3h11l7.028 3.746h.001A2 2 0 0 0 35 41c.35 0 .698-.093 1.014-.279.617-.363.986-1.308.986-2.024V16c0-1.654-1.346-3-3-3z\\\"/></svg>\",\n    \"new-conversation-icon\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"15\\\" height=\\\"16\\\" data-ember-extension=\\\"1\\\"><path d=\\\"M1.404 15.34c-.986.51-1.584.055-1.336-1.02l1.02-4.41c.125-.537.663-1.022 1.22-1.085l6.195-.7c1.648-.187 1.654-.486 0-.67l-6.195-.69c-.55-.06-1.095-.547-1.22-1.085L.069 1.259C-.18.182.408-.281 1.404.233l12.819 6.63c.986.51.995 1.333 0 1.847l-12.82 6.63z\\\" fill-rule=\\\"evenodd\\\"/></svg>\",\n    \"operator-icon\": \"<svg width=\\\"30\\\" height=\\\"30\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8 20v.78c0 .674.546 1.22 1.22 1.22h11.56A1.22 1.22 0 0 0 22 20.78V20H8zm0-2h14V9.22A1.22 1.22 0 0 0 20.78 8H9.22A1.22 1.22 0 0 0 8 9.22V18zM21.11 6A2.89 2.89 0 0 1 24 8.89v12.22A2.89 2.89 0 0 1 21.11 24H8.89A2.89 2.89 0 0 1 6 21.11V8.89A2.89 2.89 0 0 1 8.89 6h12.22zM18 16h-6a3 3 0 0 1 0-6h6a3 3 0 0 1 0 6zm-6-2h6a1 1 0 0 0 0-2h-6a1 1 0 0 0 0 2z\\\"/></svg>\"\n  },\n  \"messenger-update\": {\n    \"android\": \"<svg width=\\\"15\\\" height=\\\"18\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M2.938 13.222c0 .404.33.734.734.734h.735v2.57a1.1 1.1 0 0 0 1.101 1.102 1.1 1.1 0 0 0 1.102-1.101v-2.571h1.47v2.57a1.1 1.1 0 0 0 1.101 1.102 1.1 1.1 0 0 0 1.102-1.101v-2.571h.734c.404 0 .735-.33.735-.735V5.877H2.938v7.345zM1.102 5.877A1.1 1.1 0 0 0 0 6.978v5.142a1.1 1.1 0 0 0 1.102 1.102 1.1 1.1 0 0 0 1.101-1.102V6.978a1.1 1.1 0 0 0-1.101-1.101zm12.486 0a1.1 1.1 0 0 0-1.101 1.101v5.142a1.1 1.1 0 0 0 1.101 1.102 1.1 1.1 0 0 0 1.102-1.102V6.978a1.1 1.1 0 0 0-1.102-1.101zm-3.65-4.29l.958-.958a.366.366 0 0 0-.518-.518L9.291 1.194A4.378 4.378 0 0 0 7.345.735c-.705 0-1.366.169-1.957.463L4.297.108a.366.366 0 0 0-.518.517l.962.962a4.412 4.412 0 0 0-1.803 3.555h8.814a4.391 4.391 0 0 0-1.815-3.555zM5.874 3.673H5.14v-.735h.734v.735zm3.673 0h-.735v-.735h.735v.735z\\\" fill=\\\"#CAC9D0\\\"/></svg>\",\n    \"articles\": \"<svg width=\\\"27\\\" height=\\\"30\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M2.997 29.992A3.596 3.596 0 010 26.996V.024h2.997v26.972l19.194.134c1.783 0 1.783.225 1.783-1.633V4.52c0-1.408 0-1.588-1.498-1.588H11.987L5.994 1.523l7.492.36a22.146 22.146 0 002.262 7.252c.046.13.076.266.09.404 0 0-.3.974-.854.974-.21 0-1.229-1.393-1.498-1.498l-2.697-1.08-.615 3.447a.914.914 0 01-.854.6.81.81 0 01-.75-.375A21.202 21.202 0 015.995 1.523 1.843 1.843 0 017.492.024h14.984a4.076 4.076 0 014.495 4.495v20.873a4.255 4.255 0 01-4.495 4.6H2.996zM5.994 24v-2.997h8.99V24h-8.99zm0-5.994v-2.997h14.984v2.997H5.994z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"book\": \"<svg width=\\\"38\\\" height=\\\"29\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" xmlns:xlink=\\\"http://www.w3.org/1999/xlink\\\"><defs><path id=\\\"a\\\" d=\\\"M0 39.583h39.663V0H0z\\\"/></defs><g transform=\\\"matrix(1 0 0 -1 -1 34.417)\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><mask id=\\\"b\\\" fill=\\\"#fff\\\"><use xlink:href=\\\"#a\\\"/></mask><g mask=\\\"url(#b)\\\"><path d=\\\"M34.444 31.25H5.219a4.171 4.171 0 0 1-4.175-4.167V11.458a4.171 4.171 0 0 1 4.175-4.166h11.915c.543-.621 1.542-1.042 2.697-1.042 1.156 0 2.155.42 2.697 1.042h11.916a4.171 4.171 0 0 1 4.175 4.166v15.625a4.171 4.171 0 0 1-4.175 4.167\\\" fill=\\\"#269\\\"/><path d=\\\"M21.919 10.417c0-1.15-.935-2.084-2.088-2.084a2.086 2.086 0 0 0-2.087 2.084v18.75c0 1.15.935 2.083 2.087 2.083a2.086 2.086 0 0 0 2.088-2.083v-18.75z\\\" fill=\\\"#292F33\\\"/><path d=\\\"M19.831 11.458c0-1.15-.935-2.083-2.087-2.083H5.219a2.086 2.086 0 0 0-2.088 2.083v18.75c0 1.15.935 2.084 2.088 2.084h12.525a2.086 2.086 0 0 0 2.087-2.084v-18.75z\\\" fill=\\\"#99AAB5\\\"/><path d=\\\"M19.831 11.458c-1.042 2.082-3.817 2.084-4.175 2.084-2.087 0-5.218-2.084-8.35-2.084-1.043 0-2.087.934-2.087 2.084v16.666c0 1.15 1.044 2.084 2.087 2.084 3.398 0 6.263 2.083 8.35 2.083 3.132 0 4.175-1.975 4.175-3.125V11.458z\\\" fill=\\\"#E1E8ED\\\"/><path d=\\\"M36.531 11.458c0-1.15-.935-2.083-2.087-2.083H21.919a2.086 2.086 0 0 0-2.088 2.083v18.75c0 1.15.936 2.084 2.088 2.084h12.525a2.086 2.086 0 0 0 2.087-2.084v-18.75z\\\" fill=\\\"#99AAB5\\\"/><path d=\\\"M19.831 11.458c1.043 2.082 3.817 2.084 4.175 2.084 2.088 0 5.22-2.084 8.35-2.084 1.044 0 2.088.934 2.088 2.084v16.666c0 1.15-1.044 2.084-2.088 2.084-3.398 0-6.262 2.083-8.35 2.083-3.13 0-4.175-1.975-4.175-3.125V11.458z\\\" fill=\\\"#CCD6DD\\\"/></g></g></svg>\",\n    \"curly-arrow\": \"<svg width=\\\"162\\\" height=\\\"33\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M92.26.11a1.928 1.928 0 0 0-.277-.11s.315.09.458.166l.25.12a3.61 3.61 0 0 1-.245-.073L92.26.11zM46.45 13.923a.752.752 0 0 1 .042.12l-.041-.12zm-.118-.304c.046.103.089.218.119.304a8.093 8.093 0 0 0-.201-.473l-.067-.175.149.344zM4.762 9.078l.115-.012-.111.028c-.135.034-.267.038-.34.004.102.004.219-.001.336-.02zm.282-.03l.168-.02-.143.046c-.001-.013-.012-.021-.025-.026zm23.89 16.304h-.002l.034-.09-.031.09zm10.305 3.68c.078-.044.173-.088.257-.123a4.312 4.312 0 0 0-.1.053c-.15.067-.222.11-.157.07zM96.6 1.919l.003-.05.148.047-.151.003zm-4.928-.124c.016.014.04.034.09.072a.368.368 0 0 1-.09-.072zm-60.58 15.788c-.015.028-.031.044-.045.074a.388.388 0 0 1 .045-.074zm-1.006 4.063c-.011-.022-.012-.05.004-.091.023-.005.05-.018.078-.015-.037.068-.044.11-.036.129l-.025.159a.967.967 0 0 1-.021-.182zm64.95-19.92c-.015.007-.05.008-.092-.003.015-.006.105-.001.093.003zM29.227 24.15l-.007.068.007-.068zm-.071.529a3.443 3.443 0 0 1-.145.467 3.714 3.714 0 0 0 .208-.928 3.174 3.174 0 0 1-.063.46zm-.145.467c-.026.072-.044.117-.044.117.014-.035.029-.08.044-.117zM8.058 8.306c-.064.016-.127.019-.19.026-.022-.026-.031-.052.005-.076.043.04.098.063.185.05zM29.29 30.72a.513.513 0 0 1 .186.012c-.015.014-.057.019-.186-.012zm14.09-2.431l.019-.022c.135-.1.065-.037-.018.022zm108.65-18.034c-.006-.014.005-.022.004-.034.045.024.059.039-.004.034zM7.895 8.364a1.335 1.335 0 0 1-.296-.012l.27-.02.026.032zM134.05 5.768l-.524-.036c.795-.072-.535-.162-.545-.351.186.088.39.18.629.224.166.03.328.08.49.13.04.012.08.019.12.03-.055.002-.112.002-.17.003zm-14.213-2.535c.104.007.232.008.352.007.038.019.073.037.116.063a4.924 4.924 0 0 1-.468-.07zM5.073 8.817a.293.293 0 0 1-.154-.035l.06-.017c.276-.07.553-.135.83-.2-.086.108-.301.256-.736.252zM41.842 27.35c-.042.048-.086.095-.123.144a.92.92 0 0 0-.357.094c.136.003.22.016.264.038-.02.03-.043.06-.062.09-.094.137-.182.267-.266.334-.173.139-.365.259-.557.379-.113.07-.225.142-.335.216-.084.055-.231.096-.386.138a7.171 7.171 0 0 0-.218.065c0-.021-.005-.04.019-.075l.254-.114c-.052-.137-.336.108-.58.249.136-.057.283-.111.302-.088l-.287.14-.032.018c-.03.014-.057.022-.085.037-.25.138-.503.25-.76.364l-.523.242c-.125.059-.254.11-.38.165-.09.019-.166.026-.271.06-.201.073-.375.147-.532.212-.148.042-.292.093-.443.13-.34.085-.678.14-1.027.194-.216.033-.431.033-.651.036-.118 0-.237.002-.36.006-.15.006-.285.037-.415.074a3.223 3.223 0 0 0-.54-.17c-.405-.061-.713-.005-.884-.02-.091-.005-.077-.023-.113-.04l-.32-.156c-.027.054.006.109.08.165.059.046.23.137.248.134.037.05.488-.095.985-.03.223.043.345.102.406.16-.037.013-.077.024-.112.037a2.047 2.047 0 0 0-.306-.065c-.4-.032-.702.024-.874.032l-.078-.016-.1-.02-.834-.362c-.294-.152-.575-.323-.867-.482-.337-.22-.654-.426-.781-.587l-.217-.497c-.186-.106-.425-.377-.594-.547-.17-.178-.266-.353-.248-.42l-.133-.72c-.047-.195-.043-.463-.14-.738.08.052.138-.056.175-.243.02-.072.028-.258.044-.284l.104-.277c-.097.068-.096-.033-.077-.162.019-.128.049-.284-.036-.192.094-.123.223-.461.276-.721l.132-.648c.02-.171.244-.617.08-.666.074.002.15-.053.229-.166.082-.114.159-.3.205-.458.097-.331.144-.632.248-.744a.293.293 0 0 1 .102-.041c.034-.095.15-.225.314-.41a3.03 3.03 0 0 0 .268-.346c.078-.122.136-.224.194-.328l.287-.515.17-.27c.069-.12.125-.234.17-.34 0 .202.15-.028.277-.212.03-.042.065-.085.099-.13l.193-.261c.11-.16.188-.271.245-.322-.053.059-.187.222-.184.166.009-.17.178-.383.313-.465.13-.087.396-.224.603-.467.11-.167-.006-.153.019-.234.027-.024.059-.044.085-.07.024-.023.045-.051.069-.076.096.01.352-.057.927-.491.459-.451.546-.74.573-.852l.043-.031c.056-.045.1-.107.152-.16l.273-.092c.17-.058.47-.2.672-.385.428-.417.559-.727.61-.74l.718-.438.206-.125c.04-.02.014-.01.052-.027.057-.025.18-.058.358-.106.167-.045.43-.121.683-.28.248-.155.398-.31.526-.427.29-.275.215-.201.59-.381l.429-.191c.138-.058.31-.137.376-.146-.014.006-.06-.038-.193-.032l-.248.002c.518-.464.816-.39 1.126-.403h.235c.039.018.08.034.133.042.11.012.249.015.628-.122.197-.072.478-.21.66-.336.189-.124.329-.235.434-.31l.13-.091c.027-.016.013-.011.064-.038l.008-.004c.038.066.083.128.12.194.024.04.048.078.07.117l-.004.023a.737.737 0 0 0 .053.059c.039.066.076.133.118.198.104.163.232.314.362.464.12.138.233.269.299.393l.175.318c.117.21.236.42.329.638v.002c-.012.032.013.117.079.255.018.077.035.157.052.24.038.189.077.376.137.556l.072.21c.092.27.185.54.252.813.024.092.008.242-.008.4a2.629 2.629 0 0 0-.005.69c.04.254.14.469.229.66.063.136.129.278.135.369.013.169.039.338.066.508.03.189.063.378.06.564-.002.177-.043.354-.08.532l-.015.09a1.856 1.856 0 0 0-.124.45l-.008.089.018-.087c.017-.07.044-.126.068-.187-.01.06-.025.12-.031.18-.016.149-.07.319-.13.5-.055.177-.111.353-.147.533-.035.18-.105.347-.172.516a5.914 5.914 0 0 0-.171.473c-.08.269-.065.526-.052.753.007.12.017.287-.006.345-.066.164-.168.314-.265.466-.098.15-.194.3-.274.456-.088.173-.203.329-.317.487a7.3 7.3 0 0 0-.272.395c-.073.117-.192.235-.318.36a4.108 4.108 0 0 0-.388.428c-.112.149-.208.31-.3.472-.092.158-.178.307-.276.417-.235.263-.481.512-.737.754-.04.036-.067.076-.101.114-.021.009-.037.015-.067.03.016-.001.023.002.038.003zm3.4-18.865l-.018.013h-.008c.007-.004.02-.007.026-.013zm75.614-6.246l-.041-.023h.069c-.014.005-.016.018-.028.023zm2.923.463l.069.008-.013-.018c.012.01.042.01.07.013a.652.652 0 0 1-.041.005h-.016l.002.002a.885.885 0 0 1-.216.004c-.074-.011-.147-.025-.221-.037-.111-.068-.226-.154-.354-.238.329.119.572.238.72.26zm-.045-.27c.022.033.027.07.032.11l-.011-.027a48.313 48.313 0 0 0-.341-.146c.043-.028.168-.014.32.063zm37.68 9.513c-.033-.098-.061-.193-.09-.288a4.606 4.606 0 0 0-.331-.874 5.639 5.639 0 0 0-.465-.716 5.266 5.266 0 0 1-.233-.33c-.065-.1-.108-.216-.157-.332-.096-.227-.214-.51-.416-.775a6.661 6.661 0 0 0-.511-.572c-.105-.11-.212-.217-.31-.333a8.108 8.108 0 0 1-.281-.355 8.41 8.41 0 0 0-.476-.584 5.363 5.363 0 0 0-.557-.505c-.116-.095-.235-.19-.34-.296a5.417 5.417 0 0 0-.555-.481c-.12-.095-.243-.188-.351-.295-.05-.05-.121-.18-.185-.293-.117-.21-.262-.471-.496-.697-.156-.152-.317-.296-.475-.438-.133-.12-.264-.236-.39-.357-.23-.22-.483-.363-.686-.48a1.768 1.768 0 0 1-.285-.178c-.13-.13-.238-.272-.343-.41a5.57 5.57 0 0 0-.388-.465.9.9 0 0 0-1.3 1.246c.092.095.174.205.26.317.155.2.318.408.51.597.216.21.452.344.66.462.134.076.26.146.324.208.14.135.287.267.437.4.14.127.285.256.425.39.04.042.119.179.174.28.116.209.26.469.49.697.159.155.333.294.509.433.129.1.26.2.375.318.153.156.322.297.49.436.129.104.259.206.37.328.133.145.254.304.374.46a7.838 7.838 0 0 0 .727.847c.132.136.263.269.372.41.063.083.123.228.188.382.032.077.074.143.108.217a1.841 1.841 0 0 0-.392-.107 7.573 7.573 0 0 0-.188-.006l-.021-.001a2.718 2.718 0 0 0-.385.008c-.141.007-.284.013-.362-.01l-1.098-.331c-.15-.086-.304-.181-.483-.282l-.052.086c-.103-.041-.208-.076-.312-.113-.043-.035-.082-.073-.1-.087.007.02-.007.032-.032.039-.034-.011-.067-.027-.102-.037-.1-.03-.227-.112-.361-.2-.191-.124-.408-.265-.676-.344-.264-.078-.52-.08-.745-.082-.162-.002-.314-.003-.418-.033-.158-.046-.308-.114-.46-.18a4.777 4.777 0 0 0-.618-.236 5.064 5.064 0 0 0-.642-.128c-.164-.025-.33-.05-.488-.093a4.35 4.35 0 0 0-.662-.118c-.084-.01-.165-.028-.248-.041-.014-.007-.024-.016-.04-.023-.274-.12-.548-.14-.563-.146-.034-.013-.07-.023-.103-.036a5.967 5.967 0 0 0-.612-.21c-.145-.038-.281-.11-.42-.178-.19-.093-.407-.2-.653-.264a2.98 2.98 0 0 0-.73-.071 2.006 2.006 0 0 1-.433-.031c-.092-.023-.218-.101-.352-.184-.2-.124-.426-.265-.707-.332-.273-.066-.535-.051-.764-.037-.16.01-.31.018-.41-.004a8.643 8.643 0 0 1-.501-.14 8.592 8.592 0 0 0-.61-.167 18.528 18.528 0 0 0-.614-.124 17.885 17.885 0 0 1-.513-.102c-.15-.032-.293-.095-.437-.155a3.789 3.789 0 0 0-.66-.223 3.982 3.982 0 0 0-.683-.063c-.158-.004-.317-.006-.47-.037a7.255 7.255 0 0 0-.626-.09c-.172-.02-.344-.038-.513-.071a15.44 15.44 0 0 0-.602-.103c-.177-.028-.355-.056-.53-.09-.172-.033-.342-.078-.512-.122a8.944 8.944 0 0 0-.608-.143c-.131-.024-.265-.04-.398-.057-.66-.174-1.296-.334-1.968-.434a2.736 2.736 0 0 1-.276-.12c-.202-.096-.432-.207-.701-.255a2.712 2.712 0 0 0-.748-.001c-.162.016-.315.03-.42.012a5.476 5.476 0 0 1-.501-.122 6.618 6.618 0 0 0-.615-.147c-.047-.008-.095-.006-.143-.011-.085-.048-.176-.102-.266-.155.05.05.129.1.21.15-.14-.015-.278-.03-.42-.034a1.82 1.82 0 0 0-.676-.293c-.323-.08-.6-.105-.874-.195-.326-.092-.665-.19-.998-.283-.555-.106-.95.003-1.111-.043-.02.032-.037.066-.084.092-.056.042-.138.074-.356.019-.035-.007-.091-.022-.134-.033l-.06-.03c-.21-.107-.445-.23-.732-.275a1.93 1.93 0 0 0-.467-.007c.347-.171-.164-.095-.147-.278-.181.034-.352.04-.365.029-.083-.011-.434-.143-.521-.081a2.208 2.208 0 0 0-.854-.145 1.739 1.739 0 0 0-.531-.058l.078.023c-.03.027-.066.042-.103.058-.205.016-.307-.012-.63-.058-.268-.034-.511-.06-.694-.111-.306-.088-.651-.323-1.061-.468.685.398-.22.234-.273.417-.047-.002-.096.003-.142-.002a1.936 1.936 0 0 0-.45-.001 6.707 6.707 0 0 0-.585 0c.033.015.084.035.119.06a1.168 1.168 0 0 1-.251.01c-.162-.018-.321-.06-.481-.1-.02-.004-.04-.006-.058-.011a.36.36 0 0 1-.103-.078.221.221 0 0 1-.067.044c-.14-.031-.28-.068-.422-.084-.1-.011-.235-.071-.38-.135-.213-.094-.454-.2-.738-.23a3.979 3.979 0 0 0-.69.007c-.16.01-.313.026-.47.01a2.501 2.501 0 0 0-.536.015 1.352 1.352 0 0 0-.48-.064c.198-.005.26.05.22.089-.071.009-.134.01-.2.013-.693-.163-.745-.433-1.624-.625l.162.186c-.246-.021-.513-.014-.701-.041a4.695 4.695 0 0 0-.74-.095 5.941 5.941 0 0 0-.538-.013c-.136 0-.25.02-.254.087.139-.188-.29-.29-.84-.353-.332-.037-.722.01-.951.03-.117.01-.231.016-.288.017a.467.467 0 0 1-.138-.02c.138.049.11.123.123.17-.133-.055-.438-.298-1.124-.381a15.49 15.49 0 0 0-1.15-.11c-.75.032-1.087.276-1.175.25a16.97 16.97 0 0 1-.902.01 2.165 2.165 0 0 0-.331-.044l-.514-.021a2.282 2.282 0 0 0-.158-.124c-.313-.242-.924-.322-1.268-.24-.015.004.324.088.339.088-.253.033-.417.06-.52.064-.113.003-.084 0-.19-.023-.191-.041-.515-.204-1.043-.226l-1.354.042.019.198c-.43-.096-.972-.092-1.407-.2-.187.089-.481.13-.766.142-.237.018-.567-.081-1.108-.118-.691.017-1.102.268-1.18.2-.37-.005-.761-.003-1.111.017-.05.009-.128-.003-.348-.062-.176-.047-.536-.141-.831-.094a1.535 1.535 0 0 0-.46.15L90.898.08c-.205.073-.367.132-.423.14-.031.004-.027.009-.16-.003-.225-.028-.697-.091-.964.059a2.47 2.47 0 0 1 .232.008c.046.147-.234.109-.521.12-.295.006-.596.02-.754.069a.46.46 0 0 1-.173-.034.7.7 0 0 1-.181-.07c-.09-.051-.103-.111.037-.146-.92.12-2.06.254-3.123.226l-.197.003-.138.007-.338-.003a4.262 4.262 0 0 0-.81.04c-.443.069-.825.144-1.102.258l-1.188.049c-.537.064-.905.206-1.001.159-.041-.011-.036-.022-.097-.046l-.288-.108a2.26 2.26 0 0 0-.535-.122 2.53 2.53 0 0 0-.594.027c-.663.132-.816.15-1.473.229l.028.04c-.455.072-1.2.28-1.618.494-.014 0-.028.002-.042.004l-1.142.139c-.16.02-.304.064-.441.112l-.153-.031c-.673-.081-1.1-.083-1.718-.065-.532.072-.9.357-1.041.433-.03.018.302-.02.325-.033-.035.025-.06.033-.091.052-.094.028-.188.062-.285.075-.066.009-.134.01-.201.018a9.312 9.312 0 0 1-.442-.048c-.126.014-.066.053-.026.09-.151.01-.302.02-.452.04-.032.006-.058.018-.09.024-.14-.015-.274-.036-.422-.027l.146.084c-.33.093-.735.192-1.051.187-.19.002-.425-.013-.713.007-.242.024-.343.005-.606-.007a4.957 4.957 0 0 0-.402-.011l-.235.015-.178.015-.706.069c-.47.049-.926.133-1.362.229.33-.034.177.116.06.19l-.02-.004c-.48-.047-1.094.288-1.111.207-.012-.01-.094-.021-.3-.053-.185-.027-.495-.077-.862-.012-.621.129-.921.26-1.08.255-.024.012.36.04.38.03l-.371.055a2.362 2.362 0 0 0-.333.096 2.686 2.686 0 0 0-.475.24l-.032.019c-.081.02-.161.04-.242.058-.203.044-.404.1-.606.155l-.12.03.024-.015c.167-.11.39-.23.39-.23-.665.284-.886.265-.841.094-.066.068-.167.133-.196.189-.028.028-.062.053-.166.073-.107.028-.272.016-.687.105-.023.05.28.007.459.027a.534.534 0 0 1 .192.036 5.489 5.489 0 0 0-.136.078l-.214.044a1.713 1.713 0 0 0-.285.09 2.922 2.922 0 0 1-.208.087l-.584.199-.04.009c.41-.161.23-.188-.011-.207-.276-.008-.56.01-.231-.16-.766.295.156.296.173.382-.05.012-.1.02-.15.033-.091.022-.237.014-.388.006a7.355 7.355 0 0 0-.265-.007c-.102-.02-.242.006-.364.032a.19.19 0 0 1-.023.005c-.038.007-.073.005-.112.015-.011.003-.02.008-.03.01a.244.244 0 0 1-.093.007c-.055-.01.063-.11.193-.243l-.117.026-.175.053c-.111.04-.211.083-.297.125l-.405.214-.128.062-.048.02-.105.037-.417.148c-.032.01-.062.023-.094.035-.152.006-.311.02-.474.068a2.661 2.661 0 0 0-.457.187c-.172.022-.368.05-.621.124a1.776 1.776 0 0 0-.437.209c-.04.026-.063.046-.097.07-.18.035-.361.07-.535.125a4.9 4.9 0 0 0-.61.255c-.143.069-.285.139-.433.188-.148.049-.302.077-.458.106a4.53 4.53 0 0 0-.647.16c-.202.07-.398.158-.594.248a6.84 6.84 0 0 1-.45.193 4.646 4.646 0 0 0-.602.284c-.138.074-.276.15-.421.206-.138.052-.287.077-.434.105-.206.039-.44.083-.673.176-.074.03-.137.068-.204.104a4.402 4.402 0 0 0-.564.24 1.956 1.956 0 0 1-.395.15l-.414.087c.286-.01.472-.001.707-.058-.04.022-.078.046-.113.06-.108.047-.211.102-.315.154-.264.018-.541.026-.755.097a1.89 1.89 0 0 0-.116.3l-.047.015a9.881 9.881 0 0 0-.17-.188c-.092-.101-.175-.213-.26-.324a4.127 4.127 0 0 0-.505-.581c-.29-.263-.594-.535-.908-.77-.274-.204-.59-.257-.842-.3-.12-.02-.27-.045-.38-.111a8.205 8.205 0 0 0-1.007-.542c-.12-.051-.233-.122-.35-.191-.207-.125-.442-.267-.725-.358a5.79 5.79 0 0 0-.727-.168c-.144-.027-.292-.054-.438-.09l-.363-.095a10.948 10.948 0 0 0-.784-.191 13.55 13.55 0 0 0-.773-.116l-.393-.054c-.152-.023-.303-.054-.457-.085a7.69 7.69 0 0 0-.7-.121 9.811 9.811 0 0 0-.691-.047l-.271-.015a.176.176 0 0 0-.076-.063c-.076-.035-.165-.052-.214-.066-.128-.03-.296-.064-.385-.131-.246-.014-.25.05-.285.096-.052.055-.086.048-.6.03-.382.017-.42-.063-.401-.153a1.115 1.115 0 0 1-.18.113c-.13-.018-.26-.042-.39-.047-.162-.006-.324-.032-.485-.057a5.191 5.191 0 0 0-.675-.072c-.294-.003-.541.069-.766.134-.23.067-.402.067-.583.043-.153-.032-.307-.073-.488-.115a2.31 2.31 0 0 0-.693-.064l.032.037c-.155.006-.31.012-.464.022l-.29-.076c.042.032.086.06.132.084-.12.007-.24.015-.357.019-.102.002-.176-.008-.185-.008l.065.024a5.142 5.142 0 0 0-.583.08c-.037.008-.073.01-.111.018-.147-.034-.311-.06-.414-.078-.12-.027-.211-.068-.256-.13l.028.04a31.19 31.19 0 0 0-.924.124c-.245.016-.484.035-.713.055l-.382.032c-.165.013-.33.01-.496.01-.208 0-.416-.002-.622.016a4.767 4.767 0 0 0-.633.11c-.154.035-.306.07-.46.086-.164.015-.33.018-.494.022a7.358 7.358 0 0 0-.614.03 2.632 2.632 0 0 0-.697.195 1.854 1.854 0 0 1-.367.115l-.094-.02a.39.39 0 0 1-.082-.04c-.18.065-.255.098-.274.117l-.241.029-.413.052c-.367.045-.743.002-1.106.05a4.729 4.729 0 0 0-.63.14c-.066.019-.133.03-.2.047-.02-.011-.1.004-.297.063a11.13 11.13 0 0 1-.444.046c-.203.018-.406.035-.607.066-.098.016-.243-.002-.392-.02-.217-.025-.461-.055-.728-.011a5.313 5.313 0 0 0-.62.15c-.152.043-.303.088-.457.115a3.09 3.09 0 0 0-.661.214 2.259 2.259 0 0 1-.398.14c-.09.016-.23 0-.38-.017-.223-.026-.476-.054-.747-.002a9.436 9.436 0 0 0-.602.148 7.787 7.787 0 0 1-.473.119c-.267.056-.488.177-.684.283a1.52 1.52 0 0 1-.351.16c-.096.022-.237.013-.388.004-.22-.012-.47-.027-.734.035-.36.084-.718.17-1.074.259-.202.05-.4.109-.597.169-.155.047-.311.094-.468.135-.2.053-.396.123-.593.193-.152.055-.303.11-.46.154-.203.056-.404.119-.604.182-.151.048-.302.096-.453.139-.145.042-.297.062-.448.084a4.434 4.434 0 0 0-.643.128.601.601 0 0 0 .348 1.149c.15-.046.309-.067.466-.09.207-.03.413-.061.61-.118.162-.047.32-.097.48-.147.188-.06.374-.118.563-.171.185-.05.367-.115.549-.181.15-.054.302-.107.455-.15.038.02.069.035.122.068a.157.157 0 0 0 .067-.124l.357-.102c.088-.027.178-.051.267-.076.366.048 1.222-.107 1.776-.243-.194-.014-.616.054-.608-.051l.16-.04c.095-.02.238-.013.392-.003.216.012.46.026.719-.031.125-.028.24-.07.347-.118.035 0 .068-.004.103-.004-.023-.004-.037-.012-.06-.017.098-.045.19-.093.275-.14l.07-.036a.98.98 0 0 0 .15-.013c.06-.044.109-.082.145-.115.178-.037.355-.084.532-.133.17-.046.344-.094.519-.128.09-.016.23-.001.379.016.065.007.138.012.208.018-.173.11-.39.238-.52.223l.065.039c.255-.071.433-.17.574-.251.13.005.266.002.408-.025.239-.044.452-.133.64-.21.148-.062.289-.121.407-.141a5.91 5.91 0 0 0 .58-.143c.16-.046.32-.093.483-.12.098-.014.243 0 .395.019.213.025.454.054.713.014a8.43 8.43 0 0 1 .528-.056c.186-.016.37-.032.557-.058.202-.03.4-.082.599-.136.1-.028.203-.048.304-.07-.091.04-.127.07.08.068.03-.002.094-.006.169-.022-.051-.03-.041-.058-.005-.088.334-.033.677-.004 1.016-.045l1.08-.133c.257-.03.48-.116.679-.192.145-.056.283-.11.387-.12.17-.018.344-.021.517-.025.194-.004.389-.01.58-.027.205-.02.407-.063.61-.11.158-.034.315-.071.474-.085.17-.014.34-.012.51-.011.2.003.399 0 .598-.014l.39-.032c.24-.021.489-.042.748-.058.107-.002.269.017.433.043.212.033.452.075.712.059.208-.01.418-.05.63-.091.165-.033.332-.07.503-.075.172-.005.345-.016.52-.027.205-.013.412-.026.622-.03.107-.014.259.037.418.077a3.07 3.07 0 0 0 1.45-.016c.158-.046.32-.083.412-.087.17.003.34.032.512.058.208.032.417.062.626.07.176.007.35.037.524.066.202.034.406.067.61.079l.438.02c.233.012.465.02.696.04.175.015.35.023.525.03.204.01.407.018.608.04.2.024.399.065.595.105.174.036.347.07.52.097l.415.056c.237.032.47.062.702.106.239.046.469.109.697.17l.387.102c.17.042.342.074.509.105.198.037.392.07.577.13.15.049.308.143.474.243.164.099.326.194.494.267.309.132.579.295.919.5.249.15.524.197.745.234.104.017.279.047.322.078.1.074.19.163.288.245.089.173.2.386.409.616.192.19.377.316.527.435a4.063 4.063 0 0 0-.627.225c-.215.106-.43.219-.642.332l-.366.19c-.087.046-.168.1-.252.149l-.25.078.046.042c-.035.023-.072.042-.108.064-.042.027-.085.05-.128.077-.033.01-.055.02-.09.032-.156.052-.304.113-.42.158-.25.103-.49.229-.615.439l.704-.367a5.99 5.99 0 0 0-.425.28c-.126.094-.252.189-.388.266a2.85 2.85 0 0 0-.543.427c-.032.004-.071.02-.138.072 0 .025.004.03.006.048-.075.068-.148.13-.216.17-.072.045-.215.077-.352.108-.233.053-.497.113-.745.273-.121.078-.245.152-.368.227-.081.049-.16.102-.241.152-.16.059-.314.113-.485.168-.033.063.05.049.05.049-.14.118-.244.235-.332.342-.04.035-.083.065-.122.1-.116.103-.231.206-.354.297-.03.022-.051.048-.08.07-.01.003-.015.006-.026.008-.148.036-.361.07-.604.178a1.25 1.25 0 0 0-.604.54 2.453 2.453 0 0 1 .224-.206c-.303.446-.456.825-.623.908-.155.11-.396.22-.586.369-.187.14-.33.353-.246.463-.064.11-.013.06.11-.043-.02.02-.037.045-.058.066-.105.1-.223.187-.34.275-.106.079-.2.17-.301.256-.167.056-.378.195-.574.56.028-.034.04-.014.084-.027l-.011.019c-.113.166-.217.336-.325.48l-.21.266c-.07.098-.131.194-.19.288-.13.155-.26.309-.38.475-.081.113-.181.212-.28.312-.157.16-.334.34-.476.57l-.102.164c-.032.052-.06.105-.092.157l-.004-.016c-.2.16-.274.333-.23.372.005.005.02-.003.026 0-.063.108-.133.214-.191.325-.063.123-.146.237-.227.353a3.383 3.383 0 0 0-.39.655c-.103.25-.157.507-.204.734-.03.138-.057.277-.1.409l-.097.295a8.162 8.162 0 0 0-.247.83l-.035.153c-.08.355-.161.72-.201 1.084-.017.159-.003.307.018.449a.77.77 0 0 0 .006.27c-.081.019-.107.365-.045.846.03-.548.093-.548.168-.544.025.09.053.179.059.267.008.097-.01.228-.027.366-.037.284-.083.637.044.997.088.249.24.42.396.57.099.144.205.275.302.379.005.007.088.05.183.13.036.059.072.118.106.178.039.07.088.146.132.219.012.15.11.377.339.617.315.314.629.462.584.507.04.007.079.015.118.024.087.073.172.148.279.208.276.152.565.242.845.33.1.03.2.062.297.096.117.04.237.072.357.105.282.104.552.207.823.323.679.125 1.063-.007 1.149.069.124.009.47.245 1.172.206l.01-.002-.013-.16-.024-.253.018-.003c.189-.051.37-.067.547-.07l.033-.002c.179-.001.355.013.53.023a1.66 1.66 0 0 0 .742-.192c.052-.011.105-.02.157-.03-.068.08-.015.06.344.066-.145.05-.29.078-.531.138-.217.05-.555.135-.81.139 0 0 .066.013.18.023.124.002.286-.006.434-.02.3-.033.53-.05.53-.05l-.228.058c-.147.038-.364.102-.625.14-.26.029-.444.008-.615.014l-.268-.001c.746.115.7.075.41.262.136.008.256.009.364.005.123-.01.259-.043.354-.073.2-.063.328-.135.444-.2.114-.063.215-.121.323-.158.173-.046.37-.1.64-.17.3-.188-.078-.192.233-.413l.21-.052c.156-.051.538-.09.974-.281.435-.212.635-.535.877-.603.105-.152-.244.204-.288.114.042-.033.068-.052.103-.081.135-.064.272-.121.405-.195a1.21 1.21 0 0 1 .24-.088l-.228.176c.213-.145.369-.146.647-.303.146-.05.295-.111.439-.208.1-.067.204-.132.306-.196.02-.014.04-.03.062-.043.205-.041.277.024-.002.237.163-.093.395-.38.305-.444.1-.07.208-.132.303-.208.02-.016.032-.035.05-.051.023-.006.044-.015.067-.018.098-.012.182 0 .262.007a.537.537 0 0 0 .316-.064c.078-.038.175-.095.305-.204l.103-.094.08-.082.029-.034.12-.16c-.065.047-.142.092-.128.044.19-.223.364-.393.526-.514-.785.709.026-.483-.867.479.007-.314.655-.681.88-1.042.524-.363.283.158.576-.007-.056-.041.118-.237.3-.486l-.07.329c.089-.098.178-.196.27-.3.119-.14.234-.316.333-.462l-.194.269c-.122.164-.224.242-.224.242.079-.081.225-.35.285-.523.074-.193.124-.377.176-.531.032-.088.037-.12.093-.227l.17-.35c.105-.223.203-.431.323-.586-.142.147-.442.52-.318.03.044-.072.099-.138.138-.214.06-.121.137-.237.213-.353.127-.196.269-.418.37-.67.014-.034.012-.067.022-.101a.557.557 0 0 0 .125-.236c.065-.16.05-.537.07-.812.029-.091.088.025.125.105-.017-.24.28-.64.406-1.2a2.498 2.498 0 0 0-.034-.962l.012-.065c.01.023.02.052.029.059.033.04.047-.078.084-.192-.037.023-.065.01-.083-.028l.002-.012c.015-.136.044-.272.073-.41.065-.198.146-.507.117-.7l.084-.152c-.07-.216-.09-.207-.105-.101a6.063 6.063 0 0 0-.064-.58 4.501 4.501 0 0 1-.055-.408c-.007-.102-.036-.19-.06-.281.009-.066.013-.141.024-.203.045-.271.098-.548-.07-1.085-.02-.112-.133-.338-.261-.608-.007-.048-.003-.092-.016-.141a10.755 10.755 0 0 0-.278-.901c.022.052.045.108.064.165.087.253.149.465.19.23-.117-.212-.236-.484-.36-.742-.022-.093-.047-.185-.066-.28-.046-.226-.097-.482-.204-.732-.064-.148-.146-.29-.222-.434a3.204 3.204 0 0 0-.052-.282 2.02 2.02 0 0 0-.342-.738c-.152-.207-.3-.355-.404-.466l-.132-.14-.163-.198-.042.103c-.034-.06-.07-.116-.104-.176-.054-.095-.111-.19-.168-.284.055-.02.124-.041.213-.064.288-.05.945-.287 1.222-.5l.383-.24c.109-.06.13-.075.266-.111.223-.067.733-.107 1.208-.381.205-.117.35-.226.468-.301l.145-.09.152-.068.917-.386c.044-.018.107-.021.325-.015.185.005.502.024.837-.078l.935-.21c.259.003-.114.115-.125.217.132-.047.19-.113.294-.177.163-.088.403-.241.652-.347 0 0-.021.169-.026.17.135-.125.229-.231.302-.304.082-.078.06-.074.092-.096.02-.02.197-.05.41-.065.11-.01.244-.022.396-.046.076-.012.158-.028.244-.05l.17-.047.636-.174.326-.09a2.84 2.84 0 0 0 .457-.17c.535-.27.473-.243.934-.383.266-.09.539-.207.696-.321.132-.032.266-.06.4-.087.065-.003.12-.003.19-.01a3.09 3.09 0 0 0 .29-.035L58 5.927c.147-.036.483.009.994-.082.454-.106.762-.256 1.053-.317.29-.06.725-.144 1.15-.18.323-.132.093-.136-.051-.144-.135-.008-.27-.011.117-.124.433-.06.788-.164 1.028-.164l.336.08-.08-.026c.17.057.444.157.915.096.7-.153 1.02-.461 1.06-.452.288-.082.589-.174.893-.265.06-.003.117.004.18-.007a1.53 1.53 0 0 0 .482-.18c.184-.052.367-.108.554-.154.253-.086.607-.068 1.07-.125.314-.06.6-.013 1.03-.004l-.103-.011c-.007-.01.015-.022.022-.033.083-.001.164 0 .252-.013a1.76 1.76 0 0 0 .343-.09c-.054.027-.114.055-.176.089.956-.075 1.503-.057 2.073-.076.659-.104 1.062-.45 1.126-.4l.278-.015c-.418-.053-.026-.106.285-.192.148.02.303.03.47.017a.171.171 0 0 0 .072.03c.054.018.103.03.273.058.224.006.625.036.976-.04l.803-.185c.522-.126 1.014-.293 1.488-.394.408.11.912.006.96.198.584-.062 1.02-.22 1.187-.211l.22.067c.092.027.209.065.368.099.172.038.403.064.613.044.594-.06 1.017-.297 1.184-.281l.035-.073c.449.185 1.37-.293 1.68-.162-.05-.083-.223-.106-.186-.177a75.086 75.086 0 0 0 .708.024c-.191-.031-.345-.127-.303-.211.067-.001.136.003.203-.001.1-.007.2-.036.299-.054.164.094-.271.069-.056.19l.165-.21.042-.007c.448.057.572.308-.023.347 1.884.05 3.107.09 4.872-.122l-.19-.118c.227-.023.427-.055.569-.06.128-.005.168.005.392.046.2.037.456.094.774.08.32-.011.58-.124.693-.195.046.032.273.034.158.127.406-.064.296-.037.317-.085 0-.04-.01-.1.024-.111.028 0 .025.002.054.027-.018-.021-.023-.035-.054-.058a.172.172 0 0 1-.056-.074l.056.009c.065.02.088.047.297.143.09.044.202.096.344.145.154.053.337.093.513.102l.586.038c.008-.048.232-.127.55-.196.323-.044.587-.152.787-.24.097-.008.195-.02.294-.016.078 0 .158-.006.236-.008-.043.025-.103.046-.148.063a.185.185 0 0 1-.04.023l.04.012.27.063a4.809 4.809 0 0 1 .375-.177l.113-.003c.074.029.22.083.39.125l.378.123.013-.156c.182.049.383.097.603.109.2.084.38.164.629.154.272-.021.487-.04.67-.058l1.044.039c.217.012.454-.024.682-.058.05-.008.1-.008.15-.015.07.043.172.08.314.104.309.048.624-.018.855-.067.245-.052.372-.074.478-.044.129.03.287.11.345.204.234.04.755.066.969.02.279-.022.57-.036.873-.044.045-.001.08-.01.123-.013l.372.024a10.868 10.868 0 0 0 1.153.043c.182-.002.364-.004.545.006.13.008.286.049.45.092.203.054.434.115.683.13.208.012.416.006.622-.002.175-.006.349-.013.522-.002.217.015.44-.006.662-.03.256.109.496.28 1.072.225l-.274-.06.538-.071.252-.021.293.002c.036.016.07.03.108.048.218.1.464.214.759.239.19.016.38.025.572.033.188.009.378.017.567.034.147.012.289.006.425-.006.375.088.716.203 1.002.256-.235-.075-.1-.2.279-.164.312.098-.342.27.334.23-.161-.05-.022-.132.13-.126-.021 0 .208.059.269.122l.2.152c.18.03.428.099.76.136.294.015.472-.002.718 0 .398-.006 1.1.02 1.474-.008.338-.023.72.118 1.317.215.267.039.497.043.694.05.103.043.207.087.327.104.222.03.45.024.679.016.158-.007.316-.017.472.006.196.028.39.062.586.096l.226.038c.128.053.268.104.44.146.35.067.637.024.825.012.212-.018.293-.01.33.01.043.012.199.124.519.297l.205-.111c.082.028.16.059.25.074.044.006.084.003.126.007l.026.009c.263.075.37.138.516.177.137.038.356.014.549-.078.042-.014-.003-.026-.158-.025-.147 0-.435.014-.595-.042l.28-.05c.159-.014.308-.028.417-.01.049.009.104.027.16.046a.332.332 0 0 0 .019.018c.16.115.313.248.9.365l-.066-.086c.03.007.056.018.087.023.188.032.376.07.562.107.176.035.353.07.53.1a.053.053 0 0 0 .012.01c.078.029.084.044.16.068.023.015.023.023.048.035a.86.86 0 0 0 .18.059c.149.034.319.046.53.05l.169.002a.738.738 0 0 0 .187-.006c.12-.007.194-.021.303-.023.03.009.063.015.094.023.203.056.406.11.61.147.093.016.18.016.268.018.14.16-.12.16.05.337.248.054.515.15.78.215.214.05.392.094.57.137.169.043.337.085.54.126.083.015.243.049.405.067.155.017.313.023.462.026.315-.175.176-.187.037-.195-.127-.007-.228-.017-.038-.115.097.025.193.058.29.076.199.036.4.06.602.085l.126.018a.723.723 0 0 1-.214.092c.826.087.45.02.327-.076.099.013.197.024.295.042.176.033.35.079.525.124.195.05.39.1.588.139.188.037.379.067.569.097.187.029.373.059.558.095.026.005.053.007.08.01.039.019.085.034.118.053-.016-.02-.008-.025-.008-.036.103.016.207.032.31.044.105.059.22.133.359.216.067.04.143.08.225.122.085.04.196.082.187.098.048.046.126.106.26.186.188.012.188-.096.249-.15.064-.074.187.014.865.169.099.088.004.178.013.263-.007.084.178.168.55.2.057.006-.765-.198-.311-.257.828.19.155-.04.98-.081.405.282.82.059.92.433.287-.138.318-.126.573-.167.074.02.146.044.22.06.01.003.02.002.03.004.038.027.087.054.127.08.04.045.042.075.137.182.075.097.164.214.115.262.18-.031-.016-.26-.07-.39a.537.537 0 0 1-.028-.101c.115.006.224.006.329 0 .123.146.329.337.634.459.354.173.643.338.65.508.406.01.61.016 1.225.03-.082.008-.19-.057-.247-.09.273.077.488.119.672.192.21.076.486.202.824.315.145.057.465.12.658.118l.449.005c.236.013.164.079.177.16.036-.107.04-.176.158-.132.135.048.48.358.94.473.339.09.55.122.284-.117.203.068.455.19.67.31.055.03.108.06.157.089l.208.086c.122.048.205.078.249.102-.016-.152.325-.156.556-.135.062.007.102.014.159.028.122.032.236.049.34.059.207.018.364.006.473-.03.05.049.128.085.2.118l.103.047.186.065.293.096c.114.062.237.119.374.16.167.05.329.115.49.18.08.032.16.057.239.087.013.023.033.05.073.085.189.054.288.068.337.06l.382.115c.047.066.097.133.172.219.196.086.416.129.559.09l.127.07c.414.205.783.267 1.039.17 0 0-.112-.018-.316-.028-.193-.008-.476-.05-.476-.05.02.01.403-.113.388-.118 0 0 .26.058.402.127.05.029.113.072.164.109-.036.007-.071.008-.106.016-.21.048-.42.122-.633.198-.15.054-.302.11-.46.148a13.99 13.99 0 0 0-.583.153c-.172.048-.345.097-.522.138a2.152 2.152 0 0 1-.39.029 3.667 3.667 0 0 0-.757.077c-.218.05-.43.124-.641.199-.148.053-.295.107-.445.14-.191.045-.38.094-.566.143-.18.046-.358.093-.536.133-.167.037-.335.055-.502.073-.21.024-.417.048-.618.09-.226.049-.448.089-.66.126l-.44.08a8.288 8.288 0 0 0-.635.16c-.154.043-.298.086-.436.108a.899.899 0 1 0 .28 1.778c.202-.032.415-.09.642-.153.156-.043.32-.09.495-.125l.41-.076c.232-.041.473-.084.72-.137.143-.031.29-.045.443-.062.23-.026.464-.054.695-.106.197-.044.395-.096.595-.147.17-.045.342-.09.515-.13.218-.05.43-.123.645-.2.147-.051.295-.105.448-.141a2.31 2.31 0 0 1 .395-.03c.225-.006.48-.012.755-.076.2-.047.398-.102.594-.157.17-.048.339-.095.509-.134a6.16 6.16 0 0 0 .659-.207c.145-.052.285-.105.428-.138.17-.04.343-.056.508-.074.214-.024.42-.05.616-.092l.456-.104c.198-.047.377-.088.564-.125a.903.903 0 0 0 .675-1.174z\\\" fill=\\\"#202020\\\" fill-rule=\\\"evenodd\\\"/></svg>\",\n    \"curved-arrow\": \"<svg width=\\\"205\\\" height=\\\"47\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M145.966 15.32c.032.017.032.01.037.014 0 0-.001-.016-.098-.106l-.224-.21c.019.014.224.272.207.259l.078.044zM84.058 2.405l.239-.176c-.252-.152-.498-.145-.5-.077-.025.065.088.164.26.253zM48.13.139l-.676-.075.177.029.499.046zm-3.394 1.494l.395-.107-.58-.09.185.197zm-33.698.022c-.167.07-.378.166-.492.123l.05.057c.218-.014.388-.077.517-.123l.09-.034.16-.035.273-.067c-.146-.036-.484.015-.598.079zm-4.446.028l-.157-.02c.01.009.02.02.018.036l.139-.016zm44.93-.09c.199.01.367 0 .576-.04-.175-.038-.373 0-.575.04zm28.423 2.16l-.011.002v.004l.01-.006zm-28.422-2.16a3.077 3.077 0 0 1-.478-.07c.009.13.237.116.478.07zm13.134.976a.75.75 0 0 0-.111-.013c.193.04.37.063.11.013zM19.013 1.224l-.006.002c.01.027.02.057.059.098l-.053-.1zm129.953 16.97l-.008-.06-.021.054.029.006zm23.99 8.386l.01.032.009.057c.03-.002.06-.01.09-.023-.023-.007-.028-.021-.044-.03l-.045-.024-.02-.012zM59.232 2.19a.77.77 0 0 0 .157.002c-.048.003-.105-.002-.157-.001zM86.87 4.534c.033.01.066.018.09.024-.022-.01-.058-.016-.09-.024zm57.63 12.203c.036.042.078.09.123.145a5.216 5.216 0 0 0-.122-.145zM83.245 4.009c.083-.027.177-.044.183-.064a.174.174 0 0 1 .046-.027c.002-.026-.003-.043-.008-.062a.137.137 0 0 0-.03.019c-.017.028-.114.067-.191.134zm-2.988-.177c.016.006-.266-.108-.253-.09-.031 0-.058.01-.058.01.054.005.003-.03.31.08zM9.152 1.73c-.037.02-.033.053-.017.086l.178.007c-.082-.01-.128-.037-.161-.093zm172.994 31.117a.45.45 0 0 1-.286.079c.585.36.137.023.286-.08zM74.432 1.667a.332.332 0 0 0 .1-.105c-.08.053-.098.082-.1.105zM61.469.61l.004-.004L61.469.6c-.01-.013-.017-.015 0 .009zm134.024 40.833c-.005.014-.02.017-.02.035.06.033.055.01.02-.035zM26.2.17c.039.04.08.077.124.107l.15.002-.274-.11zM9.153 1.857l-.018-.041-.248-.021-.015-.001.015.003c.089.028.163.05.266.06zM55.65.31c.1 0 .19.01.28.017-.052-.03-.16-.035-.28-.017zM3.038 1.774l.472.03-.223-.246c-.304-.003-.362.149-.25.216zm197.858 40.649l-.003.107.039-.086-.036-.021zm-5.768 1.215l.015.036.052.066-.067-.102zm-.714 1.473l.046-.12-.032-.068-.014.188zm-4.088-.608l-.006.064c.038.059.113-.086.149-.1-.01-.14-.141.159-.143.036zm-.497-.116l-.03-.063c-.001.065.017.06.03.063zm.01.065l.019-.006-.015-.03a.86.86 0 0 0-.003.036zm5.399.693c-.017-.041-.053-.03-.084-.024.015.038.037.057.084.024zm3.368 1.367h-.011v.004l.01-.004zm-3.452-1.391a.466.466 0 0 1-.02-.12c-.042.122-.017.126.02.12zm1.572.6a.033.033 0 0 0-.002-.01c0 .038.002.056.002.01zm-5.416-1.176l-.022.095.022-.095zm11.04-3.571l-.043.023.052-.023h-.008zm-2.472-2.245a1.395 1.395 0 0 1-.053.006c0 .006-.006.013-.01.019l.005.016.058-.041zm-7.2 5.762l-.054-.011a.257.257 0 0 0-.002.14c.017-.036.037-.083.057-.13zm-2.432-.468l-.062-.01c.019.037.038.064.06.062l.002-.052zm7.41.317l.04.01a.617.617 0 0 0-.036-.065l-.003.055zm3.505.656c-.017.007-.033.029-.048.048.04.01.083.02.124.033l.002-.023.022.029c.056.016.114.026.169.044a2.932 2.932 0 0 0-.085-.124 1.677 1.677 0 0 1-.207-.05.099.099 0 0 1 .023.043zm-30.26-18.05l-.336-.196-.002.004.338.193zm-1.227-.881c.025.076-.248-.04-.521-.093.224.097.345.163.579.307.088-.037.076-.14-.058-.214zM9.68 1.378c.029-.016.05-.037.074-.057-.035-.002-.07-.008-.105-.006-.04 0-.08.01-.118.015l.149.048zm-.473.068L9.14 1.38c-.006 0-.013 0-.02.003-.104.018-.21.024-.315.039.026.004.048.015.075.017.119.009.224.013.327.007zm52.42-.48c-.026.005-.03.002-.051.005.015 0 .03 0 .046.002 0-.003.004-.004.005-.007zm6.317.48l.164.095c.167.017.335.035.503.045h.005c-.07-.014-.145-.023-.21-.037-.16-.038-.327-.094-.462-.102zM102.82 5.05c.007 0 .014.003.02.004.09.024.18.04.27.063a.782.782 0 0 0-.341-.103c.016.013.034.023.05.036zm99.105 39.438c.01.006.025.019.033.023-.004-.015-.016-.022-.03-.027l-.003.004zm-.134.733c.087-.221.205-.054.238-.264-.006-.003-.007-.007-.014-.01-.031-.017-.003-.05-.021-.085.013.01.03.023.039.033.002-.022.005-.037.005-.065l.03.107c.033.047.025.067.046.05.019-.011.044-.027.214.148.053-.011.06-.03.042-.052l-.002-.004a2.277 2.277 0 0 0-.108-.24c-.03.015-.063.03-.098.045.073.038.147.068.206.195-.06-.065-.31-.184-.354-.326a.322.322 0 0 0 .134.124c.016-.016.035-.035.037-.048.013-.025.008-.047.01-.071-.051-.044-.075-.033-.125-.07l-.067.07c.002-.02.027-.058.045-.092a.086.086 0 0 0-.021-.054c-.006 0-.005-.002-.013 0-.036.034-.08.09-.097.08a.497.497 0 0 0 .04-.15l-.043-.04-.032.044c-.067.22-.12.448-.418.458.012.012.02.027.03.04-.013-.012-.026-.021-.038 0 .013.045.029.064.044.1.096.03.194.052.29.077zm-29.334-19.17l.378.232.015.038a.306.306 0 0 0-.04-.148c-.208-.147-.302-.147-.353-.122zm27.214 12.823l-.096.06c-.016.042.027.032.07.015a.185.185 0 0 1 .003-.06l.023-.015zm3.992 6.43c-.04.165.183-.025.243.144a.582.582 0 0 0-.271.18.501.501 0 0 1-.102.465c-.04.044-.091.069-.141.097 0 .02.005.045 0 .062l-.01.022c-.058.06-.021.027-.038.045l-.028.03a1.01 1.01 0 0 1-.21.142c-.278.148-.584.17-.75.387l.002-.144c-.115-.124-.106.097-.176.135.002-.11.09-.137.026-.208a4.408 4.408 0 0 0-.486-.051l-.105-.001c-.015.004-.027.01-.04.016a.63.63 0 0 0-.087.05c-.123.083-.268.218-.491.289-.18.04-.095-.731-.335-.398l.063.267a.883.883 0 0 0-.33-.163 1.023 1.023 0 0 0-.232-.05c-.144-.016-.29-.026-.404-.182.006.063-.006.14.02.145-.088.18-.215-.028-.191-.182-.046.01-.033.138-.072.212-.076.102-.106-.267-.168-.084-.01.03.006.064.014.08-.023-.097-.18-.006-.108-.22-.13.086-.16-.125-.241-.003-.017-.251-.152.105-.14-.245-.02.36-.177.28-.237.108.016.11-.061.11-.043.263-.075-.01-.146-.08-.122-.265-.178.425-.282-.367-.441.17a13.88 13.88 0 0 1-.133-.108c-.313-.203-.501-.413-.636-.56-.163.326.233.152.084.496-.21-.251-.157-.585-.354-.587-.061.024-.05.15-.066.21-.107-.217-.171-.058-.196-.242l-.003-.013-.004.05v.048l-.008-.001c-.01.005-.02.012-.001-.113l.006.046c.058-.161.028-.342 0-.48a.323.323 0 0 0-.03-.002c-.028.242-.144.04-.112.558a.501.501 0 0 1-.023-.22c-.028.03-.038.094-.018.22-.092-.093-.053-.266-.151-.264-.001.079.019.11.027.204-.046-.156-.098-.311-.19-.244.005.048-.006.11.022.109-.164-.026-.274-.412-.478-.278.032.349-.08.107-.128.4l-.117-.105.072-.136c-.113-.011-.16-.245-.261-.171l.043.138a6.32 6.32 0 0 1-.17-.106l.132-.08a.343.343 0 0 1 .004-.171 4.278 4.278 0 0 1-.171-.056c-.013.013-.025.022-.038.042l-.006-.06a3.237 3.237 0 0 1-.118-.042c-.04.104-.082.263-.108.309.046-.246-.144-.136-.106-.388l-.002-.001a1.042 1.042 0 0 1-.071.234l.038-.201c-.055.049-.07.078-.103.198-.105.005.148-.35-.017-.231.004.018-.01.046 0 .08-.137.047-.16-.18-.273-.091-.037.3.062.082.014.333-.068-.068-.2-.356-.36-.241l.02-.04c-.127-.405-.066.235-.21.065.032.025.089.22.072.176-.098.096-.335-.023-.561-.15l.03.108c-.095.103-.256.05-.368.075-.012-.113-.07-.11-.002-.256-.512.504-.361-.49-.73-.08.02.01.014.11-.003.104l-.106-.15c.075-.17.056-.1.14-.221a.425.425 0 0 0 .003-.117l-.043-.01c-.024.107-.111.206-.154.276.022-.052.032-.115.052-.17-.11.187-.042-.01-.023-.131l-.065-.014-.012.062c-.008-.018-.015-.043-.023-.07-.03-.004-.06-.012-.09-.017-.005.084.039.055.014.193-.025-.012-.044-.125-.07-.204l-.095-.02c.019.059.06.074.082.135-.126.23-.127.166-.193.19l.007-.003-.162.076.05-.057c.045-.475-.098-.26-.152-.411a.155.155 0 0 0-.021-.004c-.006.183-.048.114-.1.31-.05.056-.115.115-.122.184.003-.203-.132.12-.122-.174-.025.075-.056-.008-.098.184-.045-.076.05-.127.073-.222-.04-.288-.298.254-.353-.125-.06-.09-.085-.204-.11-.315l-.114-.018.008.032c-.09.1-.14.072-.191-.028.003.07-.02.124-.055.207-.05-.03.01-.286-.078-.185-.002.088-.01.228.003.319-.052-.082-.09-.236-.144-.317-.04.132.006.21.015.302a.655.655 0 0 1-.122-.203c.037.13.097-.075.112-.148l-.038-.057v-.002l-.063-.01a.52.52 0 0 0-.02.178c-.01-.041-.03-.07-.026-.128l.044-.051-.113-.018c.005.123-.001.262-.043.414-.002-.244-.026-.176-.026-.425l-.043-.007a.355.355 0 0 0-.044.14c-.002-.07-.066.048-.06-.12l.02-.034-.142-.023a.5.5 0 0 1 .16-.988l1.249.204c.216.035.43.08.643.125.199.042.398.083.598.116.219.035.437.085.654.135.194.045.388.09.585.122.19.03.385.042.579.054.227.014.455.029.68.065.006 0 .012.004.018.005l.002-.098c.223-.126.295.052.358.189.07.024.134.049.199.074.02-.021.04-.037.067-.075a.173.173 0 0 1-.027.089l.072.027c.059-.07.109-.133.12-.13.087-.057.066.076.055.195.04.015.08.03.12.043.006-.013.004-.021.014-.037l-.008.038c.012.005.023.006.036.01.046-.034.087-.048.1-.165a.205.205 0 0 1-.047.179c.002 0 .005 0 .007.002.076-.073.085.025.17-.05a.754.754 0 0 0-.02.085c.077.01.156.01.234.014a.597.597 0 0 0-.017-.26c.085.186.176-.117.239-.151l-.056-.076c.032.045.062.044.09.044l-.034.189c.033-.033.063-.033.064-.112.028.1.006.244.026.385.056 0 .11.009.166.01.004-.017.01-.024.014-.053-.16.08.024-.253-.11-.297.027.03.057.03.099-.002a.08.08 0 0 0-.015-.067c.174-.218.063.286.23.292-.01-.143.065-.265.095-.231-.078-.005-.056.232-.006.347.069-.054.112-.014.13.028l.008.013c.028.003.057 0 .084.005.14.023.277.07.415.11.046-.077.08-.17.136-.196.04.224.222-.107.255.082-.084.11-.098.12-.107.19.028.01.057.014.085.023l.02-.04c.09-.064.109 0 .119.078.059.018.118.035.178.049v-.005.005c.04.009.08.026.122.033.258.042.496.134.707.215.07.028.138.052.206.076-.02-.081.002-.294.054-.22l-.043.224c.044.016.087.027.13.039l.002-.003a.055.055 0 0 1 .008.006c.05.014.103.032.15.039.102.017.209.013.312.016.057-.178.099-.028.16.008h.032c.02-.004.04-.021.065-.071l-.017-.034c.064-.107.104.02.157.117.163.002.325.007.485.028.013-.024.026-.02.038.002a.2.2 0 0 1 .035.002c.007 0 .013.004.02.005l-.001-.068c.03.012.053.046.073.087.063.012.124.032.186.048.01-.041.022-.073.037-.087a3.451 3.451 0 0 1-.383-.152c.017.013-.174-.203-.238-.32-.032-.092-.204-.22-.204-.22.01.003-.32.07-.33.065l.325.134a.77.77 0 0 1 .17.09c-.185.073-.43-.147-.75-.417-.084.028-.211.023-.381-.05a.995.995 0 0 1-.227-.125s-.06-.082-.114-.188a2.206 2.206 0 0 1-.145-.355c-.07-.234-.094-.387-.094-.387-.073.029-.086.119-.117.18-.02.076-.115.048-.185.043a.158.158 0 0 1 .014-.045c-.033-.084.027-.111.092-.131.05-.042.117-.067.1-.144a.623.623 0 0 0-.14-.152c-.445-.077-.421.1-.748-.273-.112.044-.06.148.078.283-.306-.31-.915-.666-.99-.952-.102-.007-.278-.104-.35-.136l-.341-.158c-.27-.11-.588-.254-.65-.092-.014-.03-.137-.141-.148-.184a.905.905 0 0 0-.15-.192 3.147 3.147 0 0 0-.564-.425c.193.285.068.283-.318.063a1.994 1.994 0 0 1-.493-.443c-.127-.155-.211-.275-.278-.345-.078-.084-.1-.073-.131-.055a.399.399 0 0 0-.114.105c.046-.082.106-.126-.06-.244-.138-.107-.387-.206-.72-.397l-.317-.198-.336-.18c-.248-.122-.59-.355-.721-.511.028.054.083.162.163.19-.464-.26-.654-.245-.98-.367.03-.075.004-.167-.041-.26a.538.538 0 0 0-.163-.24c-.173-.171-.488-.366-.678-.593-.43-.1-.397.027-.257.234.144.2.345.389.163.463.038-.052-.02-.132-.124-.236-.106-.102-.276-.256-.38-.38-.22-.258-.322-.428-.18-.442-.238-.085-.296-.095-.354-.097a.163.163 0 0 0-.08.024l-.238.012c.119-.382-.425-.407-.541-.788-.266-.06-.231.086-.286.113-.061.038.005.062-.421-.094-.26-.006-.167.087-.014.176l.267.147c-.313-.063-.57-.21-.532-.301.007-.097.134-.178.037-.3a2.599 2.599 0 0 1-.374-.184c-.527-.322-.322.097-.644.062a3.277 3.277 0 0 1-.321-.294c-.1-.104-.167-.182-.34-.346-.265-.286-.376-.51-.521-.624-.053.018-.11-.006-.095.086-.08-.137-.04-.165-.276-.296-.187-.111-.4-.22-.614-.332-.114-.062-.201-.1-.335-.183a2.459 2.459 0 0 1-.361-.287 1.827 1.827 0 0 1-.378-.478.142.142 0 0 0-.097.024.756.756 0 0 0 .243-.211c-.058-.044-.112-.095-.175-.13-.086-.05-.177-.087-.266-.128.015.03.028.06.05.096l-.231-.183-.063-.031-.031-.015c-.36.097.44.305.343.478-.625-.391-1.28-.983-1.817-1.184-.236.183 1.128.695.34.555l.414.158.419.147c-.812.082.493.205-.285.337-.537-.215-.798-.407-1.068-.583l-.49-.324c-.194-.135-.392-.284-.594-.394-.088-.235.179-.153.084-.39-.673-.556-1.042-.642-1.202-.522-.071.059-.104.126-.246.134-.134-.003-.34.008-.85-.281a1.105 1.105 0 0 1-.12-.128c-.153-.19-.196-.357-.313-.532-.106-.163-.291-.368-.54-.414l-.013.356-.166-.118a1.34 1.34 0 0 1-.186-.158c-.095-.098-.143-.182-.194-.263a.789.789 0 0 0-.218-.24c-.11-.086-.267-.153-.614-.303.204.264.767.559.607.512a1.15 1.15 0 0 1-.39-.14.55.55 0 0 1-.206-.198c-.08-.134-.117-.285-.352-.447l-.244.163c-.071-.054-.188-.131-.197-.142-.063-.04-.046-.058-.288-.094-.182-.03-.63-.076-.951-.27-.603-.395-1.176-.78-1.803-1.14.029.107.19.288-.116.22l-1.14-.691c-.08-.04-.483-.236-.662-.375-.21-.142-.367-.252-.474-.296l-.562-.183-.623-.19-1.208-.338c.013-.002 0-.001.012-.005-.005-.01-.05-.037-.036-.043.038-.008.005-.051-.026-.087a1.079 1.079 0 0 0-.218-.156c-.14-.017-.312.059-.137.133-.843-.075.003-.141-.383-.323l-.288-.09c-.194-.058-.263.024-.128.154a21.148 21.148 0 0 0-1.795-1.191c-.698-.376-1.46-.627-2.046-.723l.184.144c-.446-.124-.61-.29-.87-.54-.207-.22-.381-.45-.73-.492l.096.092c-.318-.153-.773-.196-1.38-.434-.313-.132-.545-.29-.74-.401a1.81 1.81 0 0 0-.515-.223l-.717-.171c-.27-.061-.635-.242-.822-.361-.452-.278-.517-.236-.931-.255-.043-.1-.182-.166-.396-.236a6.308 6.308 0 0 1-.766-.28c-.494-.238-.716-.328-.667-.545-.38.065-.72.247-1.283.138-.232-.011-.53-.047-1.204-.185l-.1-.032a1.198 1.198 0 0 1-.43-.28c-.101-.106-.148-.197-.195-.288a2.83 2.83 0 0 1-.105-.241.205.205 0 0 0-.081-.141l-.095.23s-.016-.08-.074-.147c-.016-.07-.253-.123-.24-.123 0 0-.09.078-.211.153a1.307 1.307 0 0 1-.301.136 2.108 2.108 0 0 1-.436-.123c-.138-.057-.217-.102-.305-.151.095.035.204.058.33.072.175.016.292-.02.272-.064-.075-.02-.15-.047-.23-.075-.5-.21-.86-.39-1.096-.387-.301-.012-.6.01-.616.066l-.262-.104-.268-.106a2.31 2.31 0 0 1-.464-.226c-.33-.221-.462-.386-.555-.466a12.242 12.242 0 0 0-.08-.085c-.012.047-.002.092.004.129a.93.93 0 0 0 .075.103c-.121-.142-.091-.091-.134-.076-.028.038-.056.106-.072.103-.01 0-.011-.021-.041-.068.038-.054-.011-.148-.05-.198a1.254 1.254 0 0 1-.391.086c-.16.029-.574-.006-.786-.082-.352-.1-.733-.234-1.067-.368a2.202 2.202 0 0 1-.258-.11c-.008 0 .172.253.179.25-.374-.114-.628-.288-.797-.393l-.258-.16c-.015-.006-.014-.01-.046-.014a2.085 2.085 0 0 0-.228-.012c-.196-.006-.552.007-.957-.12-.582-.174-1.184-.334-1.786-.538.545.089.508-.232.092-.393l-.246.196c-.227-.241.473.046-.033-.321a.834.834 0 0 0-.224-.034c-.312-.046-.313.093-.082.266.035.04.085.08.14.116l-.154-.072a2.228 2.228 0 0 1-.691-.432c-.086.035.048.18.06.303a1.166 1.166 0 0 0-.366-.282c-.15-.08-.162-.032-.183-.017-.215-.027-.467-.095-.584-.242l-.06.064c-.178-.05-.345-.095-.502-.138a3.547 3.547 0 0 0-.335-.081c-.246-.051-.624-.12-.911-.23-.476-.19-.918-.374-1.496-.577.02-.112-.087-.195-.236-.286l-.244-.148c-.093-.058-.171-.118-.18-.162-.18-.027-.54.118-1.213.008-.434-.092-.75-.248-.973-.316a.774.774 0 0 0-.22-.048l-.337-.005c-.417-.048-.592-.136-.57-.181.007-.053.08-.086-.157-.203-.008.01-.02.019-.052.02-.124.075-.576-.096-.744-.18-.184-.075-.277-.098-.095.104-.321-.22-.264-.19-.354-.221a.317.317 0 0 0-.11-.012l-.335.02c-.364.028-.795-.014-1.191-.264-.424-.27-.576-.468-.688-.523a.324.324 0 0 0-.054-.025l.064-.01c.084-.046.174-.037.156-.115a.23.23 0 0 0-.113-.043c-.231-.045-.46-.02-.448.062l.069.043c-.822-.437-1.922-.465-2.933-.586a16.623 16.623 0 0 1-1.457-.193c-.254-.045-.764-.074-1.2-.281a.408.408 0 0 0 .082.038l-.077-.025a.52.52 0 0 0-.084-.04 2.573 2.573 0 0 0-.441-.1 4.8 4.8 0 0 1-.674-.15 1.763 1.763 0 0 1-.347-.155c-.435-.203-.311-.103-.2.019.129.123.368.296-.058.167-.194-.14-.31-.25-.395-.321-.043-.047-.064-.074-.106-.096-.088-.038-.113-.025-.466.048-.37.088-.84.072-1.208-.075-.317-.112-.53-.222-.662-.273-.075-.04-.255-.085-.516-.148-.181.085-.402.15-.807.122-.338-.031-.692-.194-.873-.288a22.544 22.544 0 0 0-.22-.11l-.042-.02c-.061-.001.032-.03-.223.012-.178.03-.661.115-1.04.028-.667-.164-.924-.357-1.1-.374l-.36-.038a3.05 3.05 0 0 0-.425-.007l.105-.123c-.266-.171-.393-.077-.57-.044-.008.016-.013.029-.026.035.007-.044.024-.072.037-.095.093-.017.169-.026.045-.1l-.026-.007c-.07-.048-.388.002-.915-.005l-1.172-.143c-.3-.011-.877-.144-1.16-.232a2.743 2.743 0 0 0-.427-.082c-.261-.041-.476-.104-.653-.153a2.892 2.892 0 0 0-.418-.095c-.018 0-.155-.016-.268-.035l-.312-.057c-.193-.04-.361-.075-.5-.094l-.468-.045-.538-.05-.27-.024c-.093-.01-.041.006-.067.008.019.005-.087.036-.3.094-.182.055-.624.13-.948.08l-1.013-.117c-1.56-.254-.442-1.014-1.935-.751.013.002.423.28.404.282-.233-.052-.543-.072-.953-.162-.444-.107-.723-.258-.905-.318-.117-.04-.082-.03-.258-.07l-.408-.09c-.273-.053-.543-.123-.82-.156-1.105-.134-2.185-.388-3.244-.601a.708.708 0 0 0-.25-.038c.109.052.138.128.216.129-.035.045-.113.07-.302.1-.183.025-.48.059-.851-.006-.622-.145-.82-.341-.813-.407-.282-.058-.11.116-.27.16-.044.007-.038.01-.108.007a1.649 1.649 0 0 1-.205-.023c-.138-.024-.28-.062-.414-.096-.27-.07-.511-.126-.651-.046-.033.018.045.049.124.072-.388-.095-1.351-.11-1.05-.284-.31.007-.662.033-1.224-.04-.351-.048-.66-.203-.818-.274-.186-.085-.283-.11-.313-.08a.111.111 0 0 0-.023-.048c-.062-.091-.374-.025-.75.009-.517.01-.464-.014-.583-.161.01.158-.13.33-.987.327a1.965 1.965 0 0 1-.582-.144 2.95 2.95 0 0 1-.355-.178c-.098-.056-.123-.081-.136-.102l-.064-.071c.033.106-.123.12-.051.268-.052-.006-.515.135-.933.102-.381-.036-.557-.175-.448-.238-.533-.021-.794-.141-.87-.148l-.052-.017-.197-.025a52.476 52.476 0 0 1-.391-.066c-.587-.098-.733-.156-1.117.174a4.823 4.823 0 0 1-.466-.012l-.134-.013-.045-.011-.106-.015c-.16-.017-.39-.006-.677-.013-.667-.01-1.181-.254-1.433-.301l-1.231-.196c-.295-.046-.776-.007-1.258-.057-.034.18.642.205 1 .184.096 0 .18.003.248.013.09.012.192.03.267.05.156.042.25.1.226.194l-.533-.106a3.575 3.575 0 0 0-.432-.06c-.333-.022-.785-.097-1.05-.135-.623-.064-1.218-.174-2.027-.213-.5-.002.274.185.364.252-.134-.024-.23-.044-.395-.066a5.731 5.731 0 0 1-.445-.082 4.927 4.927 0 0 0-.631-.117c-.458-.041-.758-.19-.948-.246-.203-.064-.18-.055-.424-.056-.2.004-.462.03-.782.012a8.886 8.886 0 0 1-.76-.093c.002.034.15.075.292.106-.276-.02-.647.036-.605-.127l.267.052c.283-.14-.192-.307-.604-.447-.165-.007-.33-.012-.496-.013-.09.055-.268.073-.45.092-.302.028-.428.112-.193.396-.084-.035-.304-.086-.281-.2-.253.064-.347.14-.05.23-.335.016-.625-.01-.792-.063-.392-.11-.516-.266-.983-.411-.02.076.097.144.156.265-.15-.118-.237-.212-.324-.264a.331.331 0 0 0-.131-.041l-.026-.005c-.178-.018-.452.025-.894.074.045.032-.002.082.092.097-.068 0-.133.005-.206-.002-.501-.078-.771-.246-.956-.353a2.044 2.044 0 0 1-.324.007 2.076 2.076 0 0 1-.532-.114 6.792 6.792 0 0 1-.303.013c-.32.003-.61-.082-.87-.141a5.033 5.033 0 0 1-.306.049c.029.11-.1.099-.178.115-.077.015-.17.067-.175.2 0 0-.134.01-.37.048-.222.04-.573.04-.561.032.017.015.458-.19.429-.196-.198.05-.485.055-.686.006-.2-.043-.363-.107-.505-.16a2.034 2.034 0 0 0-.305-.098c-.11.022-.227.03-.348.03l.117.029c.123.027.174.072.185.072 0 0-.055-.014-.134-.021a67.501 67.501 0 0 1-.431-.012l-.63-.017.509-.09c-.13-.02-.26-.031-.39-.06-.17-.037-.34-.077-.512-.083-.183-.007-.365.002-.548.01-.057.02-.112.043-.16.069h.003l-.137-.031c-.031-.007-.058-.021-.088-.031-.09.002-.181.008-.272.006-.178-.01-.358.015-.538.034a5.317 5.317 0 0 1-.664.04 1.707 1.707 0 0 1-.523-.11 1.825 1.825 0 0 1-.287-.002l-.232-.03a.984.984 0 0 1-.356-.117c.137.063.14.219.095.25l-.271-.202c-.313.065-.36.096-.311.22-.583.045-.324-.117-.312-.196-.067.005-.132.015-.204.013-.097-.002-.195 0-.293 0h-.001c.087.013.045.046.226.068-.532.087-1.044.019-1.546-.048-.05.004-.101.003-.151.007-.213.016-.423.03-.64.028a7.91 7.91 0 0 1-.633-.041c-.111-.01-.222-.014-.333-.021 0 .022.02.043.06.06.079.042.268.056.35.066.22.022.433.039.258.158l-.336-.033-.244-.027a2.319 2.319 0 0 1-.22-.05c-.268-.076-.476-.165-.61-.203-.02-.006-.036-.006-.055-.011l-.057-.002c-.06-.004-.12-.005-.18-.008-.042.005-.074.003-.134.017-.182.039-.543.155-.844.129-.27-.011-.574-.156-.75-.246-.055-.027-.097-.046-.141-.066a4.312 4.312 0 0 0-.174.056 3.532 3.532 0 0 1-.767.164c-.115-.001-.218-.027-.322-.052-.366.139-.907.013-1.094-.151.137.08.124.295.095.233-.298-.082-.254-.084-.61-.083l-.026-.001a1.432 1.432 0 0 1-.445.078h-.006a1.94 1.94 0 0 1-.625-.127c-.217.024-.536.114-.984.105l-.557-.07.184.115c-.58.084-1.524.002-2.15.018a.902.902 0 0 0-.2-.086c-.37-.012-.741-.016-1.111-.037-.403-.025-.808-.026-1.21-.057-.388-.031-.777-.035-1.167-.072-.198.028-.42.08-.68.097-.481-.012-.877-.01-1.314.104.204.009.486.119.323.11 0 0-.363-.044-.727-.073l-.643-.058c-.201-.001-.402-.014-.603-.027-.087-.006-.176-.005-.263-.008-.02.014-.035.028-.08.04.003-.011.034-.025.072-.041a68.663 68.663 0 0 0-1.503-.04l-1.201.013h-.006a4.18 4.18 0 0 1-.676-.071c-.173-.028-.344-.058-.515-.058h-.007c-.07 0-.138.013-.206.018l-.287.15.199-.142c-.085.009-.17.012-.253.022a5.788 5.788 0 0 1-.655.056c-.254.017-.538-.083-.763-.158-.165-.055-.32-.106-.438-.106l-.033.007c.022.068-.285.056-.236.213-.252.059-.635.123-.525.195-.285-.107-.322-.075-.45-.002-.147.06-.383.23-.93.144-.073.086-.52-.006-.417.195-.611-.081.14-.131.088-.231-.472-.15-1.023-.09-1.625-.007-.301.035-.615.072-.938.08-.322-.005-.64.017-1.081-.135-.073-.023-.12-.04-.181-.061-.296.003-.592.003-.887.01l-1.204.032a2.404 2.404 0 0 1-.384-.022c-.057.012-.111.029-.171.036-.304.034-.531-.007-.815-.04.114.067 0 .127-.167.219-.255-.006-.314-.094-.438-.146a1.148 1.148 0 0 0-.226-.053c-.07.007-.137.024-.206.026-.016 0-.033.006-.05.007.08.108.208.249.472.32a2.004 2.004 0 0 1-.808-.274c-.045.008-.09.01-.135.019-.063.012-.127.014-.191.025.007.006.019.01.024.017a.435.435 0 0 0-.057-.013c-.151.025-.301.056-.453.06l-.86.023c.018.003.035.005.043.013l-.106-.011-.28.007a2.148 2.148 0 0 1-.395-.041c-.01.02-.018.04-.036.06a1.26 1.26 0 0 0-.28-.137l-.048-.012c-.17-.05-.363-.1-.451-.091l-.52.012c-.008.019-.017.039-.007.056-.103-.057-.426.073-.604-.042l-.073.002c-.192.006-.384.022-.575.037-.21.017-.418.033-.627.04-.19.006-.377.025-.566.044-.212.02-.424.042-.635.048-.186.006-.374.027-.56.047a7.655 7.655 0 0 1-.641.053L0 .735C.189.73.376.71.564.689c.21-.023.423-.045.635-.052.19-.006.38-.025.569-.044.21-.021.422-.042.633-.05.193-.005.385-.02.578-.036.209-.016.417-.033.625-.04L4.808.44c.273-.007.534.065.758.129.169.049.36.099.453.09L7.223.628c.175-.005.347-.04.52-.072.227-.043.453-.083.68-.09.176-.004.35-.037.527-.067.224-.04.448-.077.673-.083.262-.01.492.035.704.073.169.03.348.065.504.058l1.205-.032c.402-.01.803-.005 1.204-.013.217-.002.429.006.644.017.188.01.38.024.562.017.12-.003.278-.058.444-.116.22-.08.474-.168.755-.174a9.8 9.8 0 0 1 .64.016c.189.01.378.02.567.016.22-.004.478.036.7.076.17.03.326.056.508.06.112-.001.265-.06.427-.121.227-.086.484-.183.774-.186.304-.012.543.082.768.157.134.045.256.08.362.095.004-.007.003-.01.007-.017.01 0 .016.016.024.022.014 0 .03.007.044.007h.003c.179-.002.359-.026.538-.048.225-.028.427-.048.677-.056.225 0 .45.034.676.07.172.029.344.059.516.059h.004l1.203-.012h.046c.164-.003.318.002.446.009.04 0 .083 0 .124.002h.023l-.014-.047c.006.018.02.032.03.048.398.01.794.01 1.189.038h.02A1.914 1.914 0 0 0 25.75.28l.574-.002a.775.775 0 0 0 .163.082h.004c.089-.005.25-.033.405-.068l-.03-.046c.057.002.114.012.17.016.2-.048.419-.1.654-.1h.033c.185 0 .37-.005.555-.012.208-.008.423-.011.622-.014.217 0 .435.022.653.045.33.034.662.043.994.062.16-.042.298-.091.37-.145-.015.058-.01.119.066.167.246.013.49.024.735.034.054-.057.008-.143.252-.166.112.104.467.06.58.197.095.002.19.007.286.01.043-.032.074-.07.114-.096.159.053.488.083.796.114.104-.03.274-.043.434-.088.218-.062.467-.132.735-.132h.026c.188 0 .374-.008.56-.017.208-.01.407-.017.62-.017.288 0 .543.092.769.172.165.058.32.113.436.114.094 0 .247-.07.396-.136.234-.106.467-.216.81-.223.3 0 .56.109.79.205.155.064.31.125.415.13.116 0 .27-.054.435-.11.226-.078.495-.143.769-.164.26.002.504.063.719.116.129.032.249.057.362.072.102-.05.216-.1.359-.137.332-.102.79.005 1.12.213h.002c-.111-.133.065-.15.233-.145.075 0 .16 0 .243.002.126.006.247.02.338.039 0 0-.544.12-.492.12.096.015.212.018.322.025a5.28 5.28 0 0 0 .559.02c.064-.002.129-.005.192-.01l-.184-.263c.782-.14 1.48.115 2.136.157.148.018.286.022.43.036l.176-.034c.214-.044.442-.092.717-.087.123.003.237.029.349.058.058-.021.108-.045.119-.075.064.047.062.083.016.112.069.023.136.047.2.072.032-.017.063-.033.097-.054.217-.13.522-.283.799-.32.139-.012.23-.01.293.003.926.195.763.33.88.45.069-.003.138-.002.208-.005.216-.01.433-.02.65-.01.234.008.463.055.693.106.019.004.039.005.059.01-.021-.01-.04-.018-.041-.027.13.015.237.029.204.053-.01 0-.011-.002-.02-.003.102.02.204.046.306.05h.003c-.005-.072-.082-.135-.243-.16-.172-.004-.256.028-.25.06-.231-.031-.535-.066-.247-.174l.09.093c.18-.051.518-.08.783-.112.11-.022.292-.027.383-.036.09-.01.12-.034.047-.084.35.103.368.159.306.176-.072.02-.274-.003-.564.005.3-.004.525.025.702.055.068-.005.132-.018.205-.014a2.5 2.5 0 0 1 .415.059c.044-.01.086-.018.153-.036.17-.042.454-.15.849-.157h.033l-.034.005c-.233.048-.392.179-.182.157.07-.01.139-.01.176-.012.338.013.512.059.628.098.12-.014.246-.022.372-.016.182.01.348.054.505.104.016-.037.085-.067.586-.075l.243-.04c.286-.026.215-.107.012-.187a2.078 2.078 0 0 0-.435-.087c.124.004.288.008.439.026.4.05.702.178.877.217.202.053.267.03.298-.004.048-.041.214-.108.393-.15l-.21-.007a.542.542 0 0 1-.136-.026c.123.043.356-.008.668-.04a2.36 2.36 0 0 0-.29.226c.267-.083.656-.091.654-.164a.234.234 0 0 1 .088.037c.128.074.025.139.006.216-.031.082.054.147.36.304.116.009.23.043.337.08.126-.011.253-.016.38-.01-.046-.027-.014-.08.012-.128-.001-.081.119-.111-.181-.228.119.068.22.1.247.08l.053-.014c.02-.03-.024-.052-.043-.068.217-.113.5-.096.635-.004.14.075.468.203.97.227-.132-.148.275-.26.454-.222-.447-.014-.23.228.174.353.493-.062.67.009.855.059.157-.01.314-.022.472-.011.249.016.474.09.677.16.105-.02.216-.042.34-.06.52-.051.966.11 1.146.217a.132.132 0 0 0 .087-.071c.102-.082-.046-.21.262-.224.506.172.683.17.856.132.184-.036.47-.066.903.05-.271.166-.314.118.307.36 0 0-1.5-.268-1.396-.27.025.005.132.09.392.182.093.036.182.07.26.102.103 0 .204.003.308 0 .214-.007.43-.012.642.002.05.002.102-.003.152-.002l.004-.19a3.24 3.24 0 0 1 .77-.052l.66.066c.672.045 1.077.216 1.886.213a6.366 6.366 0 0 0-.497.038c.085.106.289.114.603.154.083.012.156.027.233.04.107-.004.213-.004.32-.014.08-.007.16-.004.24-.01.066-.056.16-.096.244-.164-.008.06.178.044.49.038.153-.001.337.009.493.053.008.004.009.012.016.016.137-.01.276-.027.409-.02.03.002.06.002.092.003.112-.051.217-.098.233-.098.155-.026.36-.025.488-.01.114.01.215.027.308.049.187.044.342.107.495.17.067.032.136.057.212.084.039.015.083.028.12.043.164.063.32.123.444.133a1.91 1.91 0 0 0 .394-.06c-.006-.054-.052-.127-.38-.293.4.143.55.188.575.253.195-.044.404-.085.634-.068.06.004.115.024.173.036a.823.823 0 0 1 .429-.04l-.083.026a.643.643 0 0 0-.331.017c.046.01.094.016.138.029.068-.014.134-.03.193-.046.173.063.276.18.54.312.042.012.086.027.122.03.032.003.073-.007.106-.007a.074.074 0 0 0-.001-.006l.003.006c.123-.001.248-.008.39-.026a3.35 3.35 0 0 1 .72-.036c.172.016.344 0 .517-.014a3.89 3.89 0 0 1 .699-.01c.282.027.528.136.745.233.16.07.31.138.43.15.214.024.429.024.644.024l.013-.001h-.003c.186 0 .372 0 .556.022.186.02.37.038.556.054.216.019.43.037.646.063.182.022.366.029.55.036.22.009.439.018.656.045.227.028.45.092.673.156.06.018.123.028.185.045.164-.15.467-.047.677.026a.44.44 0 0 0 .14.035c.184-.02.39-.032.604-.02.144-.013.3-.03.472-.044l.094-.017-.088-.028-.141-.03a.966.966 0 0 1 .147-.008c.58-.038 1.318.408 2.197.559 0 0-.04-.054.005-.08.07.046.173.083.259.123l.75.112c.214.03.427.079.639.128.18.042.36.084.544.11.229.035.453.109.676.187.163.056.326.115.494.14.058.009.117.008.176.014a2.206 2.206 0 0 1-.174-.04c.254-.196.784.06 1.308.082l-.048-.133c.75.15.917.358 1.132.469l1.13.183.06-.024a.757.757 0 0 1 .185-.098c.095-.025.247-.048.4-.023-.228.059-.35.114-.44.147.085-.01.177-.026.276-.047.24-.05.509-.105.798-.062l.158.025c0-.002.009-.01.008-.01l.054.019.982.154c.008 0 .015.004.022.005-.24-.088-.465-.164-.642-.242.236.042.562.078.994.2.299.097.517.19.639.27.059.013.116.03.175.04.227.037.449.108.67.182.169.056.337.113.51.142.223.036.442.102.66.168.136.042.273.077.41.108.095.014.192.026.334.038.338.032.713.073 1.024.079.148-.008.417-.104.598-.234.18.01.404.019.659.075.384.115.77.2 1.167.274.589.106 1.034.344 1.163.32.084-.004.083-.016.313-.073.168-.048.638-.154.997-.081.217.039.444.122.634.22l.364.2c-.366.072-.261.134-.108.223.102.059.167.087.178.179.127.024.257.032.387.04-.153-.122-.301-.27.122-.317-.28.08-.076.16.135.242.112.044.208.087.212.129.117.01.236.016.35.039.028.005.05.017.078.023h.012c.237.019.437.069.569.098l.208.045c.153-.01.087-.068-.023-.144-.11-.078-.307-.181-.265-.222.545.219.529.16.606.12a.383.383 0 0 0 .083-.186c-.01.087-.015.15.012.183-.001.016.044.02.159-.004l.196-.044a4.56 4.56 0 0 1 .346-.064c.01-.01-.401.105-.523.195-.184.095-.166.142-.186.145.139.095.878-.144 1.236-.105.152.006.297.02.447.055.153.036.317.097.413.133.109.043.207.09.27.126.059.032.022.04.1.094-.047-.005-.041-.168-.032-.165.008.023-.03.044.223.069l.454.034c.095.009.205.022.322.042l.182.039.083.023c.193.056.51.099.849.197.39.115.527.237.69.37.13-.026.317-.12.032-.223 1.41.313 3.012.964 4.247 1.292.264.053.528.185.69.259 0 0-.073-.188-.08-.19.367.268.362.53.514.444.005-.051.004-.125.037-.122.027.024.02.088.169.11.103.009.22.006.403-.001.197-.006.386 0 .552.016.013-.023-.563-.182-.574-.162.554-.106 1.144.143 1.442.368.133.093.227.17.286.22.065.054.049.064.088.099.025.088.384.13.847.23.46.114.75.329 1.014.488.056.027.115.047.172.072.055-.092.195-.122.307-.16.064-.051.207-.094.539-.132a2.44 2.44 0 0 1 .604.01c.135.024.204.042.253.054l.163.039-.007-.055c.816.25 1.582.602 2.148.87.243.106.658.193 1.09.37.349.145.687.284 1.082.429.106.04.225.093.337.162.417.122.77.36.836.309.673.163 1.486.404 2.309.583.027.02.28-.01.743-.011.535-.014 1.119.295 1.34.41-.292-.111-.067.287.085.416a.431.431 0 0 1 .139.063c.34.153.687.4.714.148l-.138-.038a.67.67 0 0 1 .348-.066c.114-.003.348.055.319.03.028.017.372-.051 1.05.052.01 0 .074.452.064.45.199.01.428.088.613.18l.4.199c.118.053.09.03.198.057l.462.115c.324.102.579.14.996.347.337.175.597.343.726.398.09.063.28.027.763.01.46-.011.838.12 1.14.213.199.19.268.294.359.39.084.089.076.1.13.146.102.05.233.113.33.175l.054-.22.788.198c.01.014.227-.017.807.033.73.119 1.084.435 1.437.602l-.14-.25c.32.157.304.315.49.544.119.162.257.314.476.442.097.028.196.05.289.086.014.005.024.013.037.018.104-.05.376-.153.376-.153.428.244.689.443.807.453.179.053.5.075.932.18.479.115.909.39 1.127.532l.289.186.392.21c-.004-.052-.03-.16-.206-.225l.659.157c.317.077.73.272.938.4.233.136.362.223.42.295.103.087.158.185.054.27.13-.274 1.336.47 1.972.863l-.021-.246c.272.287.379.447.565.618.038.02.078.038.115.058.163.089.325.178.494.25.05.023.097.05.146.074-.025-.031-.07-.064-.164-.09.238.073.356.15.447.23.054.029.11.054.164.082.147.079.293.155.444.224l-.087-.106.2.097c.097.037.165.07.232.11l.178.03c.229.033.487.07.736.18.17.077.347.138.523.2.128.046.253.098.38.147a.27.27 0 0 0 .126-.042.382.382 0 0 0 .066.116c.014.007.03.01.045.018.17.076.346.139.52.203l.017.007-.004-.003c.304.084.505.142.773.286.172.104.29.206.393.302l.047.034c.139.1.276.206.428.277.202.094.394.209.587.325.029.017.06.032.089.05a.196.196 0 0 1 .149-.028c-.19-.11-.395-.238-.61-.345-.078-.04-.154-.076-.223-.11l-.161-.1c-.213-.147-.4-.272-.366-.237.15-.148.749.245.448-.326.11.128.203.26.26.353l.038.064.154.119.285.245c.174.157.324.295.463.389.132.088.346.207.51.266a.31.31 0 0 0 .117-.02l-.058-.055c.16.06.288.15.4.249.226.08.369.128.572.232.096-.082.476.122.754.28.032.02.055.03.096.032-.072.222.368.22-.043.373.039-.016-.05-.025-.153-.07-.014-.012-.032-.022-.041-.033a.125.125 0 0 1-.033-.03l.009.027-.82-.452c.078.088.169.17.262.25l.042.023c.165.09.329.182.497.265.003.002.01.002.016.004l.022-.001.004.007c.096.034.239.048.385.058.254.017.54.036.814.173.055.028.104.067.158.098.49.14.789.254.903.184.072.06.109.09.196.15a65.528 65.528 0 0 0 .88.594c.075.055.263.162.374.256.12.096.218.188.3.27.16.165.283.296.348.375.024.037.077.074.124.11.08.02.168.037.26.053.228.039.484.087.727.21l.02-.001c-.245-.168-.55-.208-.632-.286.155.056.455.122.738.296.224.139.416.287.579.417l.063.052c.097.064.192.13.294.186.187.102.36.225.536.348.024.006.098.054.234.154.043.029.087.059.132.087l-.057-.135.329.12a5.772 5.772 0 0 1 1.022.513c.336.207.623.406.936.644.022.012.046.02.068.034.203.114.387.263.569.414.135.11.269.225.418.31.16.093.33.17.499.247.202.092.404.185.595.297.224.129.407.299.569.449.136.126.264.244.39.319l1.046.624c.104.062.269.098.442.136.233.052.497.11.742.256.193.115.373.254.55.394.145.113.287.226.442.319.2.12.38.277.557.435.13.116.259.234.406.323.15.093.316.164.48.235.212.092.422.185.616.305.19.118.379.24.567.362l.46.295c.15.094.316.17.48.246l.016.008.02.007c.333.124.507.227.622.325.133.077.274.14.418.2.11.046.214.107.322.158l.014-.007a.343.343 0 0 0 .035.03c.088.045.182.078.263.13.254.164.418.398.562.605.095.137.194.278.28.335.152.099.315.179.478.259.204.1.408.203.596.328.084.055.179.094.27.137.113.038.236.082.382.149.134.056.284.156.424.269l.014.007c.216.145.43.293.644.44l.363.25c.152.106.312.199.472.293a8 8 0 0 1 .566.353c.225.156.39.362.536.543.113.14.22.273.327.349.052.037.116.07.184.1l.003-.003c.035-.04.076-.07.18-.066.11.015.272.018.704.232.04.026.063.05.096.076.06-.07.12-.137.156-.202-.264-.034-.271-.132-.306-.142-.02-.012-.05-.018-.115.01.057-.03.234-.144.252-.181-.07.023.145-.216-.11-.018l.012.006c-.268.17-.238.07-.296.015l.319-.277c-.605.245-.221-.641-.76-.581.065-.118.03-.218.112-.32l-.217.065c-.11-.19-.154-.288-.13-.476l-.154.06c-.03-.097.627-.22.627-.302l-.337.034c-.01-.066-.092-.104-.135-.127-.051-.042-.026.014.07-.15-.044.023-.131.068-.13.105-.051-.085-.36-.283.09-.403-.285.099-.093-.177.008-.3l-.207.084c.246-.162.319-.19.36-.311-.025-.01-.108.016-.123.035-.046-.042.177-.118.049-.16l-.122.079c-.042-.065.032-.083.172-.183.012-.014.009-.025.006-.036l-.005-.016c-.035-.035-.16-.037-.294.019.108-.06.243-.158.168-.182a.29.29 0 0 0-.123.083c-.196-.062.144-.306-.093-.298a.46.46 0 0 1-.126.044c.052.099.1.176.11.16-.183.092-.253.026-.478.216.109-.134.359-.396.235-.433l-.07.02-.015.019c-.027-.01-.018-.034.006-.065-.042-.011-.072-.016-.086-.04-.157.067-.125-.053-.152-.09.203-.097.146-.135.335-.167-.017 0-.02.019-.016.05-.003.01-.003.019-.013.029l.017-.012c.006.03.018.068.033.109.087-.083.158-.16.025-.15l.165-.121c-.015-.023-.026-.047-.04-.07-.206.034-.374.039-.514.095.054-.176-.044-.322.243-.572l-.001-.002c-.007-.015-.018-.028-.025-.042-.045.013-.104.037-.14.046-.027.04-.01.06-.057.1.05-.1-.018-.194.102-.31l-.03-.05c-.075.04-.108.113-.121.01l-.072.058c-.297-.008-.123-.24-.02-.434-.047-.078-.092-.158-.137-.238-.008.002-.01 0-.018.002l.015-.005c-.016-.03-.034-.058-.05-.087-.053-.041-.081-.1-.148-.186-.097-.13-.272-.268-.592-.312-.16-.054-.016-.184.066-.321l-.22.102a2.437 2.437 0 0 1 .182-.254c.057-.123-.1-.127-.245-.178-.142-.041-.273-.154-.098-.274l.164-.006c-.043-.064.057-.221-.125-.175.028-.012.162-.052.074-.06l-.124.024.182-.183c-.114-.066-.484.127-.533.054.045-.023.298-.23.376-.263.008.008.04.008.085-.001-.044-.082-.085-.166-.131-.248a.5.5 0 1 1 .87-.492c.052.09.097.182.145.273a.506.506 0 0 1 .244.026 1.65 1.65 0 0 1-.121.206l.02.039.139-.004-.036-.142c.189.023.065.129-.021.205a.371.371 0 0 1 .209.01l-.155.115a.44.44 0 0 1-.028.018l.022.044c.08-.028.153-.053.215-.008a.415.415 0 0 1-.192.05l.064.125a.255.255 0 0 0 .079-.043.171.171 0 0 0-.06.08l.05.096c.013.025.02.052.033.077.025-.006.035-.007.074-.018a.656.656 0 0 0-.071.026c.006.012.01.025.017.038.02.009.008.034.24-.094-.196.118-.204.14-.207.173a.658.658 0 0 1 .017.039.92.92 0 0 0 .15-.121 3.079 3.079 0 0 0-.133.16l.036.084c.042-.085.076-.173.176-.285-.131.163-.087.249-.144.36l.014.034c.078-.048.067-.034.219-.185-.224.323.01.09-.077.329.236-.055.272-.253.318-.052.147-.026.123-.238.123-.238.148.128-.14.267-.232.41.07.194.222-.08.387-.125.036.159-.136.397-.081.463.044-.02.068-.013.11-.064a.25.25 0 0 0-.034.108c-.02.17.12.19-.058.383a.41.41 0 0 0 .07-.024c-.073.03-.145.063-.21.095l.012.022.043.074c.07-.048-.016-.072.123-.145-.018.058-.062.132-.093.198.022.035.04.07.062.107.109-.087-.02-.147.2-.172l-.14-.048c.417-.125-.056-.045.385-.19.134.09-.051.206.083.296-.12.098-.203.094-.323.19-.151.304.678-.17.423.128-.144.117-.442.285-.235.297l.258-.172c.085.112-.361.272-.116.309.097-.078.046-.144.087-.142.255-.025-.128.139-.098.203l.249-.11c.023.154-.085.388-.062.557.069-.044.134-.107.224-.11-.033.259.2.343.467.559l-.184.174c.01.018.114-.001.148-.04.116.057-.138.058-.21.13.002.053.15.018.206-.037-.132.219-.275.528.003.559l.058-.046c.12.053-.415.267-.18.268l.033-.03c.046.045.057.053.096.146.037.087.06.179.084.259.046.16.1.282.292.353-.314.095.137.196-.238.279a.159.159 0 0 0 .007.02c.208.043.296.034.45.05.024-.002-.272.113-.305.162l.226-.1-.22.14.267-.128-.048.042a1.443 1.443 0 0 0-.163.084c-.08.087.217.01.313-.073a1.605 1.605 0 0 0-.046.276c.074-.067.078-.116.109-.177-.121.248.21-.154.105.08-.054.025-.11.1-.146.134.15-.051.25.068.277.219l.124-.12c.112.114.193.317.234.505l.078.383c-.103-.083-.38.022-.391.096l.26-.03c-.147.08-.112-.051-.284.084.047.077.304.004.375-.071l-.067.129c.077-.007.113-.04.209-.065-.15.076.289.146.019.243l.078-.006c.028.195-.054.267-.05.356-.22.046-.162.074-.337.128.033.01.08.014.124.014.072 0 .133-.011.135.012-.064.065-.13.1-.203.155a.019.019 0 0 1 .002.008c.113-.063.143-.043.227-.141.034.099.054.129.073.41-.081.034-.126.036-.17.093-.001.05.126.017.199-.048l.009-.023c-.033.205.192.244.423.417.028.019.056.046.083.07l.039.04.019.02.009.01.003.003.02.07h.002l.003.003c.036.044.05-.014.09.155.06.278.008.384-.116.503l.026-.024c.01.04-.335.367-.337.332zm-2.124-.198c-.005-.031-.031-.04-.045-.061.016.017.03.044.045.06zm-11.646-.933c.002.009.004.006.006.013-.004-.011-.005-.027-.008-.04 0 .01 0 .022.002.027zm12.045.642c.026.018.038.03.056.047-.008-.016-.022-.031-.056-.047zm-1.61-5.067c-.015-.004-.008-.01-.013-.015-.006.006-.004.012.013.015zm-1.311 6.697l-.002-.06a.549.549 0 0 0-.061.15l.063-.09zm-8.826-2.092a.359.359 0 0 0-.016.083l.02.016c-.008-.014-.01-.042-.004-.1zm10.486-7.516c-.04-.111-.047 0-.193.066.065-.025.13-.05.193-.066zm-1.338 7.995l.022.015.02-.042-.042.027zm-9.164-.396a.142.142 0 0 1-.025-.032c.004.033.01.059.02.074l.005-.042zm-.653-.416l-.017.266-.045-.08c-.002-.07.03-.223.062-.186z\\\" fill=\\\"#202020\\\" fill-rule=\\\"evenodd\\\"/></svg>\",\n    \"customize-icon\": \"<svg width=\\\"40\\\" height=\\\"40\\\" viewBox=\\\"0 0 40 24\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M40 12c0 6.617-5.306 12-11.827 12a11.708 11.708 0 01-7.842-3.033l1.338-1.487A9.714 9.714 0 0028.173 22C33.592 22 38 17.514 38 12S33.592 2 28.173 2a9.56 9.56 0 00-4.074.904l-.848-1.81A11.522 11.522 0 0128.173 0C34.694 0 40 5.383 40 12M7.67 21h8.66A9.923 9.923 0 0112 22a9.923 9.923 0 01-4.33-1m-4.317-4h17.294a10.054 10.054 0 01-1.518 2H4.871a10.054 10.054 0 01-1.518-2M4.871 5h13.651v-.564A10.06 10.06 0 0120.647 7H3.353c.423-.729.931-1.402 1.518-2M16.33 3H7.67A9.923 9.923 0 0112 2c1.552 0 3.018.366 4.33 1m5.619 8H2.051c.068-.69.208-1.358.41-2h19.078c.202.642.342 1.31.41 2m-.41 4H2.461a9.872 9.872 0 01-.41-2h19.898a9.872 9.872 0 01-.41 2M24 12c0-6.627-5.373-12-12-12S0 5.373 0 12s5.373 12 12 12 12-5.373 12-12\\\" fill=\\\"#334BFA\\\" fill-rule=\\\"evenodd\\\"/></svg>\",\n    \"design\": \"<svg width=\\\"150\\\" height=\\\"150\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><ellipse fill=\\\"#E5ECF9\\\" cx=\\\"75\\\" cy=\\\"75\\\" rx=\\\"75\\\" ry=\\\"75\\\"/><path fill=\\\"#2E3192\\\" d=\\\"M94.356 56.585l.957-1.03.91-1.033.981.975.96 1.06.134 1.322.028 1.292-.2 1.296.019 1.279-.105 1.29.095 1.297.06 1.282-.21 1.296.309 1.289-.383 1.272.183 1.312-.203 1.285.144 1.286.13 1.29.087 1.297-1.143.809-.886 1.189-.762-1.162-1.014-.83-.13-1.29.176-1.297-.208-1.284.131-1.289-.05-1.289-.084-1.287-.102-1.285-.075-1.29-.086-1.29.13-1.289.025-1.292-.023-1.293-.03-1.295.029-1.29.206-1.303M83.99 51.776l1.002-1.018.935-1.133 1.047 1.08.92 1.106.043 1.35-.226 1.373.253 1.395-.401 1.36.13 1.386.013 1.376.038 1.375.052 1.381.207 1.376-.077 1.382-.223 1.384.025 1.373.103 1.385-.023 1.386-.39 1.373.406 1.37-.22 1.402.169 1.376.138 1.376-.09 1.382.095 1.413-.886 1.146-1.103.962-.996-.98-.788-1.131-.045-1.4.14-1.386-.247-1.374-.113-1.374.191-1.384-.26-1.38.318-1.37-.172-1.394.3-1.37.082-1.377-.019-1.38-.28-1.38.075-1.378-.08-1.38.165-1.38-.207-1.371.157-1.405-.371-1.367.147-1.382.12-1.382-.054-1.392m-10.774-1.7l1-.967.96-.789.8.839.92.929.037 1.364.235 1.339.085 1.353.183 1.348-.397 1.34-.047 2.69.271 1.358-.118 1.339-.112 1.348.048 1.35.243 1.344-.15 1.346-.184 1.341-.015 1.354-.08 1.343.21 1.353-.155 1.344.054 1.349.1 1.35-.085 1.352.07 1.346-.183 1.344.165 1.423-1.084.778-.812 1.124-.772-1.196-1.114-.74.197-1.376-.299-1.348.34-1.353-.361-1.331-.01-1.354-.108-1.35-.045-1.358.302-1.33.194-1.346-.238-1.344.15-1.355-.113-1.345.033-1.349-.184-1.343-.028-1.348.154-1.34.032-1.35.014-1.353.136-1.347-.017-1.35-.295-1.351.031-1.346.26-1.357-.218-1.372m-10.548 1.72l.952-.968.801-1.04.985 1.018 1.193.938-.054 1.417-.274 1.374.15 1.386-.199 1.368.052 1.386-.163 1.375.087 1.378-.063 1.38.222 1.383-.381 1.371.194 1.385-.026 2.76.142 1.376.168 1.379-.038 1.381-.001 1.384.014 1.386-.311 1.367.187 1.4-.19 1.373-.774 1.038-.92.873-1.036-.944-1.226-.898.18-1.456.398-1.354-.09-1.395.053-1.374-.297-1.366.256-1.392-.266-1.382.113-1.378.084-1.379.294-1.37.008-1.38-.011-1.39-.423-1.355.214-1.415-.216-1.365-.226-1.384.409-1.37-.165-1.391-.068-1.38.063-1.385.199-1.365M52.016 56.54l1.24-.816.869-.997.904 1.007 1.092.883-.174 1.265-.029 1.29-.097 1.29.347 1.291-.276 1.29-.058 1.293.289 1.277.087 1.29-.215 1.29.252 1.31-.336 1.27-.016 1.296-.055 1.299.176 1.286.043 1.232-.79 1.202-1.144.821-.881-.934-.91-1.03-.067-1.294.054-1.289.133-1.286-.242-1.275.226-1.31-.42-1.27.324-1.301-.165-1.287-.274-1.291.448-1.27-.194-1.32.203-1.28-.076-1.284.141-1.315-.409-1.332m45.781 32.901l-1.243.49-1.026.89-1.304.378-1.06.84-1.228.51-1.291.36-1.17.639-1.3.309-1.202.593-1.333.124-1.26.443-1.312.21-1.297.271-1.28.387-1.348-.033-1.317.055-1.326.088-1.325-.08-1.327.157-1.331.042-1.312-.298-1.295-.296-1.346.056-1.29-.34-1.31-.203-1.286-.344-1.325-.174-1.294-.325-1.273-.399-1.144-.732-1.195-.55L57.21 92l-1.176-.63-1.102-.755-1.16-.654-1.12-.58-.468-1.206-.117-1.305 1.32-.18 1.26-.31 1.018.295.88.644.857.689.884.644 1.064.274 1.031.355.93.628 1.002.471 1.143-.067 1.048.289 1.055.271.982.561 1.08.176 1.105.074.991.538 1.104.055 1.08.006 1.088.065 1.094-.018 1.092.24 1.078-.213 1.084-.076 1.099.077 1.069-.274 1.043-.29 1.071-.178 1.119.059 1.041-.34 1.036-.315 1.063-.232 1.005-.448 1.146.013.981-.495.887-.693 1.001-.43 1.122-.167.892-.631 1.005-.44.912-.595.836-.767 1.39.194 1.275.506-.382 1.245-.24 1.3\\\"/><path stroke=\\\"#1F8CEB\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" d=\\\"M98.78 40.89l-1.306-.028-1.306-.068-1.304.16-1.304-.12-1.307-.019-1.303.215-1.307-.015-1.308-.178-1.292-.207-1.316.02-1.304-.065-1.304-.13-1.31-.066-1.303.106-1.301-.067-1.307-.043-1.311-.008-1.301.167-1.306.057h-1.314l-1.306-.005-1.302-.063-1.296-.26-1.317.26-1.3-.21-1.307-.163-1.308.017-1.304.248-1.31-.042-1.294-.225-1.314.02-1.309-.018-1.308.042-1.31.084-1.313.138-1.314-.02-1.301-.21-1.291.053-1.401.172-1.406.277-1.386.366-.905 1.092-1.183.828-.805 1.176-.508 1.307-.573 1.303-.457 1.355-.106 1.285.18 1.28.1 1.273-.115 1.28-.054 1.29.181 1.269-.044 1.27.315 1.28-.259 1.273-.229 1.26.204 1.304-.08 1.271-.04 1.268L40.326 66l-.119 1.273-.024 1.275.013 1.279.031 1.282.112 1.271.226 1.27-.101 1.285-.167 1.27-.084 1.276.15 1.282.01 1.278.01 1.28-.383 1.27.201 1.278.026 1.28.16 1.277-.06 1.278-.186 1.28.226 1.28-.305 1.268.02 1.285.061 1.284.173 1.273-.222 1.29.094 1.287.402 1.32.321 1.336.308 1.365 1.138.892.663 1.287 1.114.843 1.316.401 1.331.524 1.438.029 1.257.103 1.273.124 1.262.333 1.285-.237 1.27.23 1.279-.125 1.273.084 1.277-.106 1.276.111 1.281-.123 1.272.171 1.278.03 1.299-.272 1.334.147 1.3-.135.314 1.406.55 1.34.665 1.295.323 1.398.687 1.24.531 1.307.644 1.265.533 1.313.188 1.436.602 1.285.675 1.251.592 1.29.424 1.282.468 1.268.437 1.267.497-1.267.69-1.182.68-1.183.647-1.284.546-1.326.147-1.484.89-1.16.692-1.252.523-1.34.693-1.252.495-1.351.654-1.273.717-1.237.47-1.35.672-1.163 1.156-.25 1.258.062 1.256.074 1.256.214 1.268-.062 1.267.162 1.262-.25 1.268-.038 1.27-.167 1.26.25 1.277-.135 1.265.303 1.309-.607 1.418-.16 1.273-.543 1.049-.864 1.2-.777.79-1.16.774-1.198.383-1.377.404-1.375-.193-1.286.326-1.269-.039-1.28-.033-1.278-.02-1.28.132-1.27.247-1.276-.355-1.28.33-1.272.083-1.269.302-1.253-.074-1.303.174-1.265-.116-1.286.394-1.26.05-1.274-.012-1.282-.073-1.282.206-1.285-.297-1.271.165-1.28-.046-1.278.037-1.282.196-1.267-.019-1.284.291-1.258.157-1.273.111-1.278.013-1.282-.31-1.291.477-1.249.096-1.277-.076-1.294-.039-1.287.432-1.25.078-1.285-.17-1.286.044-1.283.264-1.311-.735-1.01-.32-1.125-.3-1.126-.833-.846-.58-1.071-.953-.716-1.009-.602-1.044-.595-1.119-.45-1.155-.296-1.208.046-1.155-.232z\\\"/></g></svg>\",\n    \"flexible\": \"<svg width=\\\"150\\\" height=\\\"150\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><ellipse fill=\\\"#E5ECF9\\\" cx=\\\"75\\\" cy=\\\"75\\\" rx=\\\"75\\\" ry=\\\"75\\\"/><path d=\\\"M33 95.145l1.018-.727.946-.806.766-.997.984-.765.787-.973.902-.855.74-1.01 1.113-.645.855-.898.72-1.036 1.02-.736.923-.834.697-1.055.962-.796.942-.822.737-1.011.851-.915.699-1.048.876-.88.862-.899.995-.758.925-.83.863-.908.969-.776.946-.81.84-.919.706-1.045.959-.794.895-.86.835-.918.9-.855.964-.805.683-1.063.979-.773.786-.98.84-.924 1.128-.61.702-1.076 1.032-.72.82-.935.732-1.02.833-.93 1.03-.736.87-.893.829-.933.914-.843.802-.962 1.046-.715L33 95.146zm69.48-37.27l.992-.165 1 .139.999.01 1.252-.212 1.276.196 1.238-.405.562-.072-7.318.508zm3.703 5.307l-.032-1.19-.332-1.19.255-1.497.358-1.47-.348-1.006.225-1.03-.352-.994-.059-1.143.026-1.148.084-.193.175 10.861zM50.969 44.177l1.068.093 1.075.096 1.076.163 1.08-.262 1.078.228-5.377-.318zm2.774-3.903l.168 1.027-.3.993.225 1.028-.179 1.002v1.012l.18 1.002-.311 1.021.309 1.004-.092-8.089zm60.912 3.04l-.73.74-.475-.74.476-.89.729.89zM91.297 57.35l-.447.463-.657-.463.657-.554.447.554zM62.43 29.393l-.762.59-.703.412-1.433-.954.784-.661.623-.726.753.644.738.695zm29.141 5.235l-.289.965-.499.987-.416 1.023-.646.908-.216 1.09-.63.916-.316 1.077-.515.995-.526 1.07.785.797.824.632.842.615.852.603 1.035.848 1.037.856 1.088.987-1.201-.03-1.03-.09-.995-.35-1.04-.178-1.085.095-1.006-.456-1.024-.161-1.03-.11-1.032.1-.423.973-.37 1.013-.484.967-.321 1.065-.488.991-.418 1.024-.61.918-.368 1.029-.453.912-.195-.94-.137-1.028-.153-1.026-.271-1.018-.06-1.062-.056-1.06-.296-.996-.134-1.02.01-1.052-1.022-.559-1.162-.209-.997-.595-1.142-.26-1.153-.229-1.073-.504-1.037-.44-1.062-.383-1.217-.23 1.05-.359.97-.236 1.027-.018 1.002-.3 1.026-.22.935-.574 1.074-.034.995-.356 1.12-.157-.152-1.141.344-1.032.044-1.06.03-1.056-.057-1.052-.198-1.048.098-1.056-.119-1.062.121-.904.599.902.832.905.732.978.382 1.164.83.89.56.97.906-.383 1.07-.202.968-.438.995-.438.998-.447.966-.508 1.002-.44 1.062-.343.913-.415z\\\" stroke=\\\"#2E3192\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"/><path d=\\\"M81.603 112.364l.79 1.152.315 1.371.804 1.154.354 1.341.488 1.291.506 1.285.468.946.222 1.048.51.933.46 1.075.505-1.06.435-.97.375-1.004.481-.951.33-.995.69-.834.674-1.994.465-.933.603-.876.241-1.039.595-.88m-.323-.293l1.295-.348 1.329-.133 1.344-.044 1.213-.557 1.277-.399 1.214-.563 1.226-.564 1.048-.858 1.242-.585.816-1.1.955-.952.95-.973.598-1.219.672-1.16.803-1.078.747-1.107.682-1.15.58-1.216.045-1.354.372-1.289.213-1.318.322-1.292.2-1.314.036-1.336-.11-1.324-.243-1.308-.067-1.342-.403-1.268-.374-1.269-.38-1.273-.65-1.162-.5-1.23-.445-1.266-.926-.975-.783-1.07-.781-1.067-.99-.877-.792-1.079-1.02-.835-1.016-.827-1.143-.675-1.1-.734-1.053-.828-1.193-.61-1.166-.614-1.284-.266-1.253-.498-1.308-.261-1.288-.352-1.328-.046-1.332.108-1.312-.144-1.324.024-1.324.055-1.292.375-1.331.136-1.304.207-1.276.382-1.235.514-1.16.676-1.22.558-1.005.9-1.134.702-.863 1.021-1.105.77-.919.967-.767 1.086-.924.976-.638 1.174-.389 1.146-.633 1.066-.414 1.156-.469 1.123-.515 1.11-.205 1.21-.482 1.137.04 1.244-.392 1.179.026 1.222.041 1.222-.095 1.212-.127 1.226.105 1.225.21 1.208.229 1.2.34 1.186.221 1.225.724 1.009.587 1.084.391 1.216 1.073.7.817.91.703 1.006.804.913 1.043.658.806.925 1.1.531 1.065.591.95.787 1.142.426 1.145.423 1.105.505 1.086.584 1.191.316 1.088.6\\\" stroke=\\\"#248FED\\\" stroke-width=\\\"2.059\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"/></g></svg>\",\n    \"hour-glass\": \"<svg width=\\\"28\\\" height=\\\"40\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M26 9V2h2V0H0v2h2v7a12 12 0 0 0 7.22 11A12 12 0 0 0 2 31v7H0v2h28v-2h-2v-7a12 12 0 0 0-7.22-11A12 12 0 0 0 26 9zM4 38v-6h3.77a5.61 5.61 0 0 0 4.4-2.12L14 27.6l1.83 2.28a5.61 5.61 0 0 0 4.4 2.12H24v6H4zm19.95-8h-3.72a3.62 3.62 0 0 1-2.84-1.37l-2.61-3.26a1 1 0 0 0-1.56 0l-2.61 3.26A3.62 3.62 0 0 1 7.77 30H4.05a10 10 0 0 1 19.9 0zM14 19a10 10 0 0 1-8-4h14v-2H4.84A9.93 9.93 0 0 1 4 9V2h20v7a10 10 0 0 1-10 10z\\\" fill=\\\"#1BB157\\\"/></svg>\",\n    \"ios\": \"<svg width=\\\"14\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M13.138 12.416a8.662 8.662 0 0 1-.856 1.54c-.45.642-.82 1.087-1.103 1.333-.44.405-.913.613-1.419.625-.363 0-.8-.104-1.31-.313-.51-.208-.98-.312-1.41-.312-.45 0-.933.104-1.45.312-.517.21-.934.319-1.253.33-.485.02-.968-.193-1.45-.642-.308-.268-.693-.728-1.154-1.38a9.54 9.54 0 0 1-1.22-2.424C.17 10.49 0 9.527 0 8.595c0-1.067.23-1.988.693-2.76a4.065 4.065 0 0 1 1.45-1.468 3.904 3.904 0 0 1 1.963-.553c.385 0 .89.12 1.517.353.625.235 1.027.354 1.204.354.131 0 .578-.14 1.334-.417.715-.257 1.32-.364 1.814-.322 1.34.108 2.347.637 3.017 1.588-1.199.727-1.792 1.744-1.78 3.05.01 1.016.38 1.862 1.105 2.534.32.306.694.551 1.103.723-.086.25-.18.496-.282.739zM10.065.319c0 .797-.292 1.54-.872 2.229-.7.819-1.547 1.292-2.465 1.217a2.48 2.48 0 0 1-.019-.302c0-.765.333-1.583.924-2.253.295-.338.671-.62 1.126-.845.455-.221.884-.344 1.288-.365.012.107.018.213.018.319z\\\" fill=\\\"#CAC9D0\\\"/></svg>\",\n    \"mailchimp\": \"<svg width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 30 32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g fill=\\\"none\\\"><path d=\\\"M2.97 22.683v.015-.015zm-.777-1.213v-.015.015zm26.869-.216a.603.603 0 0 1-.025-.15c-.013-.025-.013-.063-.025-.088-.025-.062-.05-.138-.076-.2a1.173 1.173 0 0 0-.263-.351.99.99 0 0 0-.363-.213.993.993 0 0 0-.364-.075h-.087a1.878 1.878 0 0 0-.301-1.254c.012-.012.012-.025.025-.025a4.69 4.69 0 0 0 .326-.463l.012-.025a1.32 1.32 0 0 0 .138-.389c.013-.1.025-.2.025-.276v-.125c0-.038-.012-.075-.012-.113a1.69 1.69 0 0 0-.251-.664 1.319 1.319 0 0 0-.3-.35 1.61 1.61 0 0 0-.452-.277c-.012 0-.025-.012-.037-.012a5.743 5.743 0 0 0-1.191-1.028c-.188-.125-.376-.225-.526-.313a5.913 5.913 0 0 0-.351-.188 3.43 3.43 0 0 0-.339-.163c-.125-.063-.225-.1-.288-.138-.05-.025-.075-.05-.075-.05s-.013-.012-.013-.038a1.074 1.074 0 0 1-.037-.162 4.414 4.414 0 0 1-.05-.564c-.025-.401-.05-.94-.1-1.68a5.374 5.374 0 0 0-.076-.664 4.382 4.382 0 0 0-.238-.89 2.456 2.456 0 0 0-.075-.175c-.025-.038-.038-.075-.05-.1-.025-.038-.038-.076-.063-.113a.204.204 0 0 1-.037-.075 1.853 1.853 0 0 1-.113-.176l-.013-.012-.025-.025-.012-.025a2.74 2.74 0 0 0-.251-.276c-.063-.163-.15-.401-.3-.677a4.125 4.125 0 0 0-.502-.752 2.366 2.366 0 0 0-.25-.25l.024-.025c.038-.038.79-1.066 1.329-2.344 1.002-2.381.413-3.684-.263-4.361l-.025-.025-.026-.013C22.445.276 21.63 0 20.678 0c-1.98 0-4.073 1.24-4.625 1.579L14.85.551a2.064 2.064 0 0 0-.338-.238 2.12 2.12 0 0 0-.388-.163 2.697 2.697 0 0 0-.853-.125c-.601 0-1.253.15-1.955.426-1.04.414-2.18 1.103-3.358 2.018-1.178.915-2.369 2.068-3.51 3.396-1.39 1.63-2.493 3.296-3.257 4.85-.376.777-.677 1.516-.878 2.218-.2.69-.313 1.34-.313 1.93 0 .426.063.827.188 1.178.063.15.125.3.213.439.113.175.25.338.401.476l1.253 1.015.138.113v.012c-.012.025-.025.05-.025.075l-.038.113c-.012.025-.012.05-.025.075l-.037.113c-.013.025-.013.05-.025.075l-.038.113c-.012.025-.012.05-.025.075-.012.038-.012.076-.025.126 0 .025-.013.05-.013.075-.012.037-.012.088-.025.125v.038c0 .012 0 .025-.012.05 0 .037-.013.088-.013.125 0 .025-.012.05-.012.075v.527c0 .05 0 .113.012.163v.138c0 .037.013.075.013.112 0 .025 0 .05.012.075v.038c0 .025.013.05.013.075 0 .025.012.05.012.075 0 .026.013.038.013.063 0 .013.013.025.013.038 0 .025.012.05.012.075 0 .025.013.063.025.1 0 .013 0 .025.013.038.012.025.012.062.025.088.012.025.012.05.025.087 0 .013.012.025.012.038 0 .012.013.037.013.05l.012.025c.013.025.013.05.038.088 0 .012.013.012.013.025.012.025.012.05.025.062l.012.026c0 .012.013.012.013.025l.012.025.013.025.012.012c0 .013.013.013.013.025l.012.025c.013.025.013.038.025.05.013.026.025.05.038.088v.013c0 .012.012.012.012.025a.204.204 0 0 0 .038.075c.013.025.025.05.05.088l.013.012c.012.025.025.038.037.063l.013.012c0 .013.012.026.025.038.012.013.012.025.025.05l.013.013a.095.095 0 0 1 .025.05c.012.012.012.025.025.037.012.026.025.05.05.076l.012.012c.013.013.013.025.025.038.013.012.025.025.025.037.013.013.026.038.05.076l.013.012c.013.013.013.025.025.038.013.012.025.037.038.05.012.012.025.037.05.062l.012.013.038.038c.013.012.025.037.038.05.012.012.025.037.05.062l.037.038.05.05.05.05.038.038.05.05.038.038.012.012c.026.025.05.038.076.063l.025.025.037.037c.025.025.05.05.075.063.013.013.026.013.038.025 0 0 .013.013.038.025l.012.013c.038.025.063.05.1.075h.013c.013 0 .025.012.038.025.037.025.087.063.125.088l.025.012.013.013.025.012c.037.025.075.038.1.063h.012a.039.039 0 0 0 .025.012h.013c.012 0 .025.013.025.013.025.013.063.038.088.05l.025.013.025.012.012.013c.025.012.063.025.088.05.013.012.025.012.05.025l.025.012.013.013h.012c.05.025.088.038.138.063l.025.012c.063.025.113.038.163.063H4.8l.025.012c.025.013.05.013.075.025.013 0 .025.013.038.013.012 0 .037.013.05.013h.025c.025.012.05.012.075.025h.013c.025.012.062.012.087.025h.038c.012 0 .025 0 .037.012h.013c.038.013.088.013.125.025h.013a.923.923 0 0 0 .188.025h.012a.747.747 0 0 0 .163.013h.05c.05 0 .1.012.163.012h.15c.013.013.013.025.013.038.113.226.238.439.364.664 1.98 3.885 6.441 6.542 11.153 6.542 4.712 0 9.286-3.697 10.778-8.12.062-.176.125-.34.175-.502.176-.226.3-.464.376-.702.1-.188.113-.476.063-.702zm-1.918 7.42a.51.51 0 0 1-.376.15.51.51 0 0 1-.526-.527c0-.15.05-.288.163-.388a.49.49 0 0 1 .363-.138.51.51 0 0 1 .527.526.43.43 0 0 1-.15.376zm-.676-.69a.407.407 0 0 0-.126.3c0 .126.038.226.126.314a.416.416 0 0 0 .313.125.416.416 0 0 0 .313-.125.416.416 0 0 0 .126-.313.389.389 0 0 0-.126-.301.427.427 0 0 0-.313-.138.48.48 0 0 0-.313.138zm.476.576a.24.24 0 0 1-.15.05.302.302 0 0 1-.3-.313.35.35 0 0 1 .074-.225c.05-.063.125-.088.213-.088.05 0 .1.012.15.038.063.037.113.1.126.2h-.138c-.013-.038-.025-.075-.05-.088-.025-.012-.05-.025-.076-.025a.114.114 0 0 0-.1.05.267.267 0 0 0-.037.15c0 .063.012.114.037.139.025.025.063.05.1.05a.181.181 0 0 0 .088-.025l.038-.075h.125a.245.245 0 0 1-.1.162z\\\" fill=\\\"#664F44\\\"/><path d=\\\"M28.335 21.43s0-.188-.113-.351l-.025-.025-.013-.013-.037-.037c-.025-.025-.063-.038-.1-.063-.025-.013-.038-.013-.063-.025a.54.54 0 0 0-.213-.038c-.063 0-.125 0-.2.013-.026 0-.063.012-.088.012h-.013s0 .013.013.025c0 .013.012.026.025.05 0 .013.012.013.012.026.013.037.038.087.05.15 0 0 0 .013-.012.038v.012c-.025.088-.1.3-.288.59-.038.05-.063.1-.113.15-.539.714-1.78 1.804-4.55 2.669-.94.25-1.829.376-2.593.376-1.14 0-2.018-.25-2.47-.69l-.112-.112c-.025-.025-.05-.063-.075-.088-.013-.012-.013-.025-.025-.038a1.919 1.919 0 0 1-.351-.902c-.038-.376.025-.764.2-1.065.138-.25.326-.439.577-.551.125-.05.25-.088.388-.1h.552c.539 0 1.39-.026 2.406-.214 1.842-.35 4.223-1.24 6.203-3.521v-.013c-.012-.163-.075-.464-.313-.677a.45.45 0 0 0-.15-.1c-.026-.012-.063-.037-.1-.05-.038-.012-.063-.025-.101-.038-.038-.025-.088-.037-.113-.062v-.013c-.012-.025-.037-.037-.05-.062-.69-.802-1.541-1.216-1.892-1.404a2.396 2.396 0 0 0-.263-.125c-.74-.339-.853-.464-.94-1.604-.025-.414-.05-.953-.1-1.692 0-.1-.013-.188-.026-.276 0-.025 0-.037-.012-.063l-.038-.238v-.05a4.286 4.286 0 0 0-.037-.175c0-.025-.013-.05-.013-.075a.718.718 0 0 0-.05-.176c-.013-.025-.013-.063-.025-.088a.611.611 0 0 0-.038-.087c-.012-.025-.025-.063-.037-.088-.013-.038-.025-.063-.038-.1 0-.013-.012-.025-.012-.038 0-.012-.013-.025-.013-.038v-.012l-.012-.038-.038-.075v-.012l-.013-.025-.012-.025a.45.45 0 0 0-.088-.126l-.025-.025c-.037-.037-.063-.075-.1-.113l-.013-.012-.012-.013c-.025-.025-.05-.05-.063-.075l-.025-.025c-.025-.025-.063-.05-.088-.075v-.063l-.012-.025v-.012c-.013-.05-.038-.1-.063-.176-.012-.012-.012-.037-.025-.05v-.013c-.012-.025-.012-.037-.025-.062-.025-.05-.038-.1-.063-.15-.012-.013-.012-.038-.025-.05-.012-.038-.037-.076-.05-.113-.012-.026-.025-.038-.037-.063a.273.273 0 0 0-.063-.1l-.038-.076c-.025-.037-.037-.075-.062-.1-.013-.025-.025-.05-.05-.075a.695.695 0 0 0-.076-.1.261.261 0 0 0-.05-.063c-.025-.038-.062-.075-.088-.113l-.05-.05a.173.173 0 0 0-.05-.037.81.81 0 0 0-.113-.1l-.025-.013c-.05-.038-.1-.088-.163-.113l-.012-.013a.252.252 0 0 1-.075-.05h-.013a.259.259 0 0 1-.062-.037h-.013c-.025-.013-.063-.025-.125-.05-.025 0-.038-.013-.063-.013-.113-.025-.263-.063-.439-.088h-.037a2.933 2.933 0 0 0-.476-.037h-.301c-.138 0-.263.012-.401.025h-.013c-.175.025-.35.062-.501.113.025-.076.125-.15.226-.226.125-.088.25-.163.25-.163-.075.013-.15.038-.225.063-.025.012-.05.012-.076.025-.012 0-.037.012-.05.012h-.012c-.013 0-.025.013-.038.013a5.542 5.542 0 0 0-.927.426l-.075.038-.013.012c-.025 0-.037.013-.063.013.113-.301.326-.477.49-.59.024-.012.05-.037.074-.05.013 0 .013-.012.025-.012.026-.013.038-.025.063-.025.038-.013.063-.025.063-.025-.013 0-.038.012-.05.012a.09.09 0 0 0-.05.013c-.026 0-.05.012-.063.012-.013 0-.025 0-.038.013-.426.1-.79.288-1.09.514-.213.15-.389.313-.539.476-.038.013-.088.025-.138.05-.45.163-.977.351-1.516.602-.2.087-.401.188-.602.288-.163.075-.313.163-.476.25a5 5 0 0 0-.338.201c-.815.489-1.604 1.115-2.23 1.88a.225.225 0 0 0-.064.088c-.05.075-.1.137-.163.213-.025.025-.037.062-.062.087l-.075.113c-.113.176-.226.351-.314.539a4.436 4.436 0 0 0-.2.426l-.013.013c-.125.3-.238.626-.313.965-.038.175-.075.35-.1.526-.013.05-.013.1-.025.138v.025c-.025.2-.038.4-.038.601v.126c0 .1 0 .2.013.313 0 .1.012.188.012.288v.025c0 .05.013.1.013.15 0 .05.012.113.025.164v.037c.012.113.025.226.05.339v.012c.025.113.037.226.063.338.012.05.025.1.025.138 0 .013 0 .025.012.038 0 .025.013.05.025.075.025.125.063.25.1.389a.366.366 0 0 1 .025.112c.038.113.063.226.1.339 0 0-.037-.15-.05-.376v-.163c0-.125.013-.276.038-.426.013-.038.013-.075.025-.113 0-.013.013-.038.013-.05.025-.075.037-.138.075-.213a.61.61 0 0 0 .05.138v.037c0 .025.013.063.013.088.012.075.012.15.025.238l.037.288c.063.426.163.928.314 1.354 0 0-.076-.79.037-.903 0 0 .414 1.43.702 1.955.038.063.075.126.1.15l-.025-.15-.138-.814v-.088c.2.313.426.627.69.953.075.087.137.175.213.275-.364.401-.665.953-.865 1.58-.025.1-.063.2-.088.313a4.286 4.286 0 0 1-.037.175c0 .025-.013.038-.013.063-.012.037-.012.087-.025.125 0 .025-.012.05-.012.063 0 .037-.013.087-.013.125 0 .025 0 .038-.013.063 0 .062-.012.125-.012.188 0 .062 0 .125-.013.188v.275c0 .05 0 .088.013.138v.063c0 .063.012.138.025.2v.013c.013.05.013.1.025.15.013.05.013.1.025.163v.038c.013.062.025.125.05.188 0 .025.013.037.013.062.012.038.025.088.037.138.013.025.013.05.025.075.013.038.025.076.038.126.013.025.013.05.025.075a.445.445 0 0 0 .05.113c.013.025.025.05.025.075.013.038.038.075.05.113l.038.075c.013.038.038.075.063.125l.037.075c.025.05.05.088.075.138.013.025.026.038.038.063.075.125.15.25.238.388.013.026.025.038.038.063.037.05.062.088.1.138.013.025.038.05.05.075.025.038.063.075.1.125.025.026.038.05.063.076.038.037.063.075.1.112.025.026.05.05.063.076a.81.81 0 0 1 .1.112l.075.076.113.112.075.076c.038.037.088.087.138.125l.063.063c.063.062.138.112.213.175 0 0-.05-.05-.113-.138-.012-.012-.025-.037-.037-.05-.013-.025-.026-.038-.038-.063a.262.262 0 0 0-.05-.075 2.257 2.257 0 0 1-.288-.877c.037.05.087.088.125.125.05.088.125.188.2.301.025.038.05.075.088.113.113.163.25.338.389.526.175.213.363.426.551.614 0 0-.238-.376-.338-.626a.629.629 0 0 1-.038-.176c.013.013.038.025.05.038.013.012.038.025.05.037.038.038.076.088.126.138l.025.025.075.076.1.1c.313.313.715.702 1.003.915.1.075.175.112.225.137l-.45-.601c.901.564 4.41 1.002 7.644-.376a10.99 10.99 0 0 0 1.153-.576c.225-.138.45-.276.676-.44l.038-.024a11.008 11.008 0 0 0 .79-.64c.187-.162.363-.338.538-.526.013-.012.025-.025.025-.037.176-.188.326-.389.477-.577.188-.263.363-.514.513-.777l.013-.012a1.37 1.37 0 0 0 .1-.188l.013-.013c.012-.025.025-.037.037-.062.05-.088.1-.176.138-.276.013-.025.025-.038.025-.063.025-.05.038-.1.063-.138.012-.037.038-.075.05-.112.013-.038.038-.076.05-.113.025-.075.063-.138.088-.213a.181.181 0 0 0 .025-.088c.025-.05.038-.113.063-.163.012-.025.012-.05.025-.075l.012-.025c.025-.063.05-.138.063-.2v-.013c.1-.113.163-.226.225-.326.013-.013.013-.025.026-.038.112-.275.137-.476.125-.651m-20.315.075c0-.013-.012-.025-.012-.05a10.155 10.155 0 0 1-.176-.652c0-.012-.012-.025-.012-.05-.038.013-.075.075-.1.138-.013.025-.025.063-.038.088-.088.225-.15.538-.15.538 0-.1 0-.2-.013-.313v-.401c0-.125.013-.238.013-.35v-.164c0-.087.012-.175.012-.263 0-.075.013-.15.013-.213V19.5c0-.025 0-.05.012-.063v-.15l-.025.025c-.012.025-.037.037-.05.062l-.012.026c-.025.025-.038.062-.05.087l-.013.013c-.025.037-.038.075-.063.113l-.012.012c0 .013-.013.025-.013.025-.012.025-.025.05-.025.075v.025l-.037.113c-.026.113-.05.213-.063.288 0 .026-.013.063-.013.088-.012.05-.012.1-.012.113v.012-.112c0-.063-.013-.138-.013-.2v-.616c0-.037.013-.088.013-.125v-.013c0-.025 0-.062.012-.087v-.013c.013-.063.013-.125.025-.188v-.063c.013-.1.038-.2.063-.3v-.013c.013-.088.038-.163.063-.25v-.013a.387.387 0 0 0 .025-.1c.012-.05.025-.1.037-.163v-.013c0-.012.013-.05.025-.088 0-.012.013-.037.013-.05.013-.025.013-.062.025-.087l.013-.025.163-.414c.012-.013.012-.038.025-.05v-.013l.012-.025c.013-.05.038-.087.05-.138l.075-.188.113-.288c.013-.037.025-.062.025-.062-.012 0-.075-.038-.188-.088a4.374 4.374 0 0 0-.539-.213 1.515 1.515 0 0 0-.225-.063l-.3-.075c-.026 0-.051-.013-.076-.013l-.263-.037c-.063-.013-.126-.013-.188-.013-.05 0-.1 0-.15-.012h-.151c-.063 0-.138.012-.2.012-.038 0-.063 0-.1.013-.139.025-.289.05-.414.088l-.025.012a3.394 3.394 0 0 0-.702.276 1.18 1.18 0 0 0-.213.125c-.025.013-.038.025-.063.038a.252.252 0 0 0-.075.05c-.213.15-.414.313-.59.501l-.012.013c-.15.163-.288.338-.4.526-.038.05-.063.113-.1.163a.938.938 0 0 0-.101.2c-.063.126-.113.264-.163.389-.013.05-.038.1-.05.138 0 .012 0 .012-.013.025a4.194 4.194 0 0 0-.15.977v.226c0 .05.012.1.012.163 0 .062.013.125.025.2v.025c.013.05.013.1.026.15v.026c0 .012 0 .025.012.037.013.038.013.076.025.113v.013c0 .025.013.037.013.062.012.038.012.076.025.1.012.026.012.05.025.076.012.037.025.063.037.1.013.025.025.05.025.075l.013.013.013.025.012.025.013.025.037.075a.59.59 0 0 1 .038.088l.037.075.126.038c.012.025.025.037.025.05.012.025.025.05.05.075l.037.075c.013.013.013.025.026.038.012.012.012.025.025.037a.29.29 0 0 0 .037.063c.013.025.038.05.05.075.013.025.025.038.038.063.025.025.038.05.063.075.012.013.025.038.05.05.025.025.05.05.062.075.013.013.025.038.05.05l.076.076c.012.012.025.025.037.05l.075.075.038.038c.025.025.063.05.088.075l.037.037c.025.026.063.05.088.076.013.012.025.025.038.025.037.025.062.05.1.075.012.012.025.012.038.025.037.025.075.05.1.075.012.013.025.013.037.025a.56.56 0 0 0 .113.063c.013 0 .025.012.038.012.037.025.075.038.113.063l.025.013c.037.025.087.037.125.062l.025.013a.449.449 0 0 0 .138.05l.025.012c.05.013.088.038.138.05l.025.013c.05.013.1.025.15.05h.013l.15.038h.013l.15.037h.013c.025 0 .05.013.075.013.025 0 .05.013.088.013h.012c.05.012.113.012.163.012s.113.013.175.013c.176 0 .351 0 .527-.025.037 0 .087-.013.125-.013l.176-.038a1.67 1.67 0 0 0 .238-.062c.075-.025.137-.038.213-.063a2.43 2.43 0 0 0 .313-.125c.313-.138.576-.288.727-.439 0 0-.176-.476-.326-.965.013 0 0-.05-.013-.1\\\" fill=\\\"#90694C\\\"/><path d=\\\"M28.335 21.43s0-.188-.113-.351l-.025-.025-.013-.013-.037-.037c-.025-.025-.063-.038-.1-.063-.025-.013-.038-.013-.063-.025a.54.54 0 0 0-.213-.038c-.063 0-.125 0-.2.013-.026 0-.063.012-.088.012h-.013s0 .013.013.025c0 .013.012.026.025.05 0 .013.012.013.012.026.013.037.038.087.05.15 0 0 0 .013-.012.038v.012c-.025.088-.1.3-.288.59-.038.05-.063.1-.113.15-.539.714-1.78 1.804-4.55 2.669-.94.25-1.829.376-2.593.376-1.14 0-2.018-.25-2.47-.69l-.112-.112c-.025-.025-.05-.063-.075-.088-.013-.012-.013-.025-.025-.038a1.919 1.919 0 0 1-.351-.902c-.038-.376.025-.764.2-1.065.138-.25.326-.439.577-.551.125-.05.25-.088.388-.1h.552c.539 0 1.39-.026 2.406-.214 1.842-.35 4.223-1.24 6.203-3.521v-.013c-.012-.163-.075-.464-.313-.677a.45.45 0 0 0-.15-.1c-.026-.012-.063-.037-.1-.05-.038-.012-.063-.025-.101-.038-.038-.025-.088-.037-.113-.062v-.013c-.012-.025-.037-.037-.05-.062-.69-.802-1.541-1.216-1.892-1.404-.163-.088-.263-.125-.263-.125-.74-.339-.853-.464-.94-1.604-.025-.414-.05-.953-.1-1.692 0-.1-.013-.188-.026-.276 0-.025 0-.037-.012-.063a9.896 9.896 0 0 0-.038-.238v-.05a4.077 4.077 0 0 0-.037-.175c0-.025-.013-.05-.013-.075a.718.718 0 0 0-.05-.176c-.013-.025-.013-.063-.025-.088a.622.622 0 0 0-.038-.087c-.012-.025-.025-.063-.037-.088-.013-.038-.025-.063-.038-.1 0-.013-.012-.025-.012-.038 0-.012-.013-.025-.013-.038v-.012l-.012-.038-.038-.075v-.012l-.013-.025-.012-.025a.45.45 0 0 0-.088-.126l-.025-.025c-.037-.037-.063-.075-.1-.113l-.013-.012-.012-.013a.332.332 0 0 1-.063-.075l-.025-.025c-.025-.025-.063-.05-.088-.075-.037-.025-.075-.063-.112-.088a.375.375 0 0 0-.126-.05c-.012 0-.025-.013-.037-.013-.025-.012-.05-.012-.076-.025-.012 0-.025 0-.05-.012-.025 0-.05-.013-.075-.013h-.263c-.025 0-.038.013-.063.013-.012 0-.025 0-.037.012l-.025.013c-.013 0-.025.012-.038.012-.012 0-.025.013-.038.013a.178.178 0 0 1-.075.025l-.025.013a1.496 1.496 0 0 0-.2.1l-.025.012c-.025.013-.05.038-.076.05l-.025.026c-.025.012-.05.037-.075.05l-.025.025a.261.261 0 0 0-.063.05l-.025.025c-.025.025-.05.038-.075.063l-.025.025a.332.332 0 0 1-.075.062l-.013.013c-.025.025-.062.05-.087.075-.05.05-.113.1-.163.15-.05.038-.1.088-.138.126l-.025.025c-.05.037-.1.088-.15.125l-.026.025-.15.113-.025.025c-.05.038-.1.075-.163.113l-.025.012c-.05.038-.113.063-.163.1l-.025.013c-.063.025-.113.063-.175.088h-.013a.94.94 0 0 1-.2.063c-.113.025-.226.05-.339.062a2.92 2.92 0 0 1-.576.025c-.063 0-.126 0-.2-.012h-.076a7.125 7.125 0 0 1-.514-.05c-.075-.013-.15-.013-.213-.025l-.35-.038c-.026 0-.05 0-.076-.013h-.05c-.025 0-.05 0-.075-.012h-.163c-.05 0-.113 0-.163-.013h-.552c-.037 0-.075.013-.112.013h-.063c-.05 0-.088.012-.138.025h-.037c-.05.012-.113.025-.163.038-.013 0-.025.012-.05.012-.038.013-.076.013-.113.025h-.013c-.025 0-.037.013-.062.013l-.113.037c-.025.013-.038.013-.063.025-.038.013-.075.025-.113.05-.025.013-.037.013-.062.026-.038.012-.076.037-.113.05-.013.012-.038.012-.05.025-.063.025-.113.062-.176.1a3.856 3.856 0 0 0-1.065 1.228 8.436 8.436 0 0 0-.238.489 3 3 0 0 0-.176.539l-.037.163c-.025.087-.038.188-.05.275v.025l-.038.314c-.012.113-.012.225-.012.326v.175a3.1 3.1 0 0 0 .062.476c0 .013 0 .025.013.038.012.037.012.075.025.125.025.113.05.226.088.326a.43.43 0 0 0 .05.113l.037.113c.113.275.264.513.426.739.627.827 1.542 1.253 2.181 1.454.25.075.514.137.777.188l-.025.025a.767.767 0 0 0-.15.062c-.088.038-.188.076-.301.138-.126.063-.263.126-.401.213-.376.213-.802.502-1.153.877-.05.05-.088.1-.138.138a3.53 3.53 0 0 0-.2.264c-.013.012-.013.025-.026.025-.012.012-.025.025-.025.037l-.075.113c-.012.012-.012.025-.025.05-.025.05-.063.1-.088.163-.025.05-.05.113-.075.163a2.506 2.506 0 0 0-.138 1.541v-.138c0-.012 0-.037.013-.062 0-.025.012-.05.012-.063v-.012c0-.025.013-.05.013-.076v-.012c0-.025.012-.05.025-.075v-.013c.012-.025.012-.062.025-.088v-.025c.013-.025.025-.062.038-.1.012-.05.037-.1.062-.15.013-.013.013-.038.025-.05l.013-.013c.025-.037.037-.075.063-.113.012-.037.037-.062.062-.1.013-.012.013-.025.025-.025.013-.025.038-.05.05-.075.013-.013.013-.025.025-.025a.545.545 0 0 1 .076-.088s-.389 1.278-.038 2.218v-.464c0-.037 0-.075.013-.1v-.012c0-.038.012-.075.012-.113 0-.013 0-.025.013-.038v-.025c.012-.025.012-.062.025-.087l.037-.126c0-.012.013-.025.013-.037a.508.508 0 0 1 .062-.113s0 .3.063.664c.013.05.013.113.025.175.013.038.013.076.025.113.013.25.05.502.113.765.1.438.263.89.501 1.353 0 0-.238-.539-.062-1.128.025.05.062.1.087.15.038.164.1.402.188.652.1.426.477 1.705 1.467 2.507 0 0-.389-.389-.401-.965.05.075.087.138.125.188.188.263.551.752.927 1.078 0 0-.326-.477-.288-.602 0 0 1.003.977 1.29 1.04l-.438-.551-.012-.013c1.378.765 3.145.877 5.213.025.35-.15.714-.326 1.09-.539a9.93 9.93 0 0 0 .677-.438l.038-.025a11.008 11.008 0 0 0 .79-.64c.187-.162.363-.338.538-.526.013-.012.025-.025.025-.037.176-.188.326-.389.476-.577.188-.263.364-.514.514-.777l.013-.012c.037-.063.075-.126.1-.188l.012-.013c.013-.025.025-.037.038-.063.05-.087.1-.175.138-.275.012-.025.025-.038.025-.063.025-.05.038-.1.063-.138.012-.037.037-.075.05-.113.012-.037.037-.075.05-.112.025-.076.063-.138.088-.213a.181.181 0 0 0 .025-.088c.025-.05.037-.113.062-.163.013-.025.013-.05.025-.075l.013-.025c.025-.063.05-.138.063-.2v-.013c.1-.113.162-.226.225-.326.013-.013.013-.025.025-.038.05-.225.075-.426.063-.601M7.82 20.753c-.038.013-.075.075-.1.138-.013.025-.025.063-.038.088-.088.225-.15.538-.15.538 0-.1 0-.2-.013-.313v-.401c0-.125.013-.238.013-.35v-.164c0-.087.012-.175.012-.263 0-.075.013-.15.013-.213V19.5c0-.025 0-.05.012-.063v-.15l-.025.025c-.012.025-.037.037-.05.062l-.012.026c-.025.025-.038.062-.05.087l-.013.013c-.025.037-.038.075-.063.113l-.012.012c0 .013-.013.025-.013.025a.178.178 0 0 0-.025.075v.025l-.037.113c-.026.113-.05.213-.063.288 0 .026-.013.063-.013.088-.012.05-.012.1-.012.113v.012-.112c0-.063-.013-.138-.013-.2v-.616c0-.037.013-.088.013-.125v-.013c0-.025 0-.062.012-.087v-.013c.013-.063.013-.125.025-.188v-.063c.013-.1.038-.2.063-.3v-.013c.013-.088.038-.163.063-.25v-.013c.012-.038.025-.075.025-.1.012-.05.025-.1.037-.163v-.013c0-.012.013-.05.025-.088 0-.012.013-.037.013-.05.013-.025.013-.062.025-.087l.013-.025c-.013-.013-.038-.013-.063-.025h-.013l-.025-.013a2.04 2.04 0 0 0-.376-.088H6.98c-.087-.012-.163-.012-.25-.012-.05 0-.1 0-.15.012-.038 0-.088.013-.126.013l-.188.037c-.025 0-.038.013-.05.013-.025.012-.063.012-.088.025-.012 0-.025.013-.037.013-.026.012-.038.012-.063.025-.038.012-.075.037-.113.05-.012.012-.037.012-.05.025-.05.025-.1.05-.15.087-.025.013-.038.026-.05.038-.026.013-.05.025-.063.05l-.025.013c-.025.012-.05.037-.075.05-.026.012-.038.037-.063.05-.025.025-.05.038-.075.063l-.038.037c-.037.038-.075.075-.113.126-.012.025-.037.037-.05.062-.025.038-.062.075-.088.113l-.012.025a.274.274 0 0 1-.038.063c-.012.012-.012.025-.025.05-.05.1-.1.2-.138.3 0 .013-.012.026-.012.05l-.038.151c0 .025-.012.038-.012.063a.733.733 0 0 0-.025.163v.05c0 .037-.013.075-.013.125v.176c0 .062.013.125.013.188.012.05.012.1.025.15v.025c0 .025.012.05.025.075.025.1.062.188.1.276.025.063.063.138.1.2.063.113.15.226.226.326.175.213.4.376.652.502.137.062.288.112.45.15.151.038.301.05.464.05h.113c.05 0 .113-.012.163-.012.05-.013.1-.026.15-.026.026 0 .05-.012.088-.012a.94.94 0 0 0 .2-.063h.013l.075-.037c.088-.038.163-.075.239-.126l.012-.012c.025-.013.038-.025.063-.038-.063-.213-.126-.426-.176-.651.075 0 .063-.025.063-.038\\\" fill=\\\"#FCE9CD\\\"/><path d=\\\"M17.307 12.482c-.1-.038-.2-.063-.301-.075-.063-.013-.138-.013-.2-.013h-.076a2.61 2.61 0 0 0-.614.1c-.063.025-.113.05-.175.076a1.916 1.916 0 0 0-.903.764c-.15.238-.238.501-.275.74 0 .024-.013.037-.013.062-.012.063-.012.125-.025.188a3.66 3.66 0 0 0 0 .526c.013.2.05.326.05.326.063-.175.126-.35.188-.501.163-.389.351-.714.552-.978a3.423 3.423 0 0 1 1.153-.99 2.31 2.31 0 0 1 .639-.225m5.3-1.303l-.012-.013a.765.765 0 0 0-.2-.15c-.188-.1-.426-.126-.752-.025 0 0-.376.137-.577.426 0 0 .64-.376 1.416.05.076.037.138.088.213.138.076.05.15.112.226.188 0 0-.063-.314-.276-.552a.132.132 0 0 0-.037-.062m-6.291 4.499a.332.332 0 0 1 .075-.063c.012-.013.025-.025.037-.025.026-.025.05-.038.076-.063.012-.012.025-.025.05-.037.025-.013.05-.038.075-.05.012-.013.038-.026.05-.038.025-.013.05-.038.075-.05.025-.013.038-.025.063-.038.025-.012.05-.025.088-.037l.075-.038c.025-.013.063-.025.088-.038a.232.232 0 0 1 .087-.025c.025-.012.05-.025.088-.025h.013c.037-.012.075-.025.125-.025.012 0 .025 0 .037-.012.026 0 .05-.013.076-.013h.037c.025 0 .05 0 .075-.012h.138c.05 0 .1 0 .15.012h.026c.05 0 .087.013.138.025h.025c.05.013.087.013.125.025h.013c.037.013.087.025.125.038.05.012.088.037.125.05.038.012.075.038.113.063-.063-.226-.25-.715-.777-.84a1.388 1.388 0 0 0-.238-.025h-.063a.936.936 0 0 0-.25.037c-.99.214-1.04 1.04-1.028 1.316.025-.025.05-.062.075-.087l.013-.025\\\" fill=\\\"#E9B784\\\"/><path d=\\\"M27.495 21.016c0-.012-.012-.025-.012-.025-.013-.025-.013-.037-.025-.05a2.507 2.507 0 0 0-.264-.439 1.065 1.065 0 0 0-.188-.188.61.61 0 0 0 .013-.15c0-.063.013-.125.013-.188 0-.464-.163-.79-.289-.977-.025-.026-.037-.05-.05-.076-.063.063-.125.113-.188.176a10.991 10.991 0 0 1-4.26 2.293 12.904 12.904 0 0 1-3.535.476h.025s-.727.188-.84.928h.013v.488c.1.64.451 1.016.815 1.178.363.088.802.138 1.278.138.827 0 1.755-.138 2.694-.413 1.254-.326 2.958-1.228 4.123-2.256.264-.238.502-.476.702-.727l.013-.012.012-.013a.5.5 0 0 0-.05-.163\\\" fill=\\\"#FFF\\\"/><g fill=\\\"#F2D2AC\\\"><path d=\\\"M17.481 15.151c-.1.05-.2.05-.35.1.15 0 .25-.05.35-.1h.05-.05\\\"/><path d=\\\"M17.432 17.833c.038-.025.088-.063.125-.088.013-.012.038-.025.05-.037.038-.025.088-.05.126-.088.025-.013.037-.025.062-.038.038-.025.088-.05.126-.075a.274.274 0 0 0 .062-.037c.038-.025.088-.05.126-.076a.252.252 0 0 0 .075-.05c.038-.025.088-.05.125-.075.025-.012.063-.038.088-.05a.585.585 0 0 1 .125-.063c.038-.012.063-.037.1-.05.038-.025.088-.037.126-.062.037-.013.075-.038.113-.05.037-.026.087-.038.125-.063.038-.025.075-.038.125-.063.038-.012.075-.038.126-.05.05-.025.087-.038.137-.063.038-.012.076-.037.113-.05.05-.025.1-.037.15-.063l.076-.037c.138-.539.589-1.88 1.604-2.143.113-.025.213-.05.3-.063.026 0 .05-.012.076-.012a1.457 1.457 0 0 1-.05-.226c-.1-.539.012-1.015.25-1.065.188-.038.364.213.401.3.088.164.163.364.213.602.038.213.05.414.026.59l.062.062c.276.263.364.664.389.952.087-.025.188-.037.275-.062.025 0 .05-.013.076-.013h.012c.013 0 .025 0 .038-.012.113-.025.238-.05.35-.076.264-.05.552-.1.828-.15a2.396 2.396 0 0 0-.263-.125c-.74-.339-.853-.464-.94-1.604-.025-.414-.05-.953-.1-1.692 0-.1-.013-.188-.026-.276 0-.025 0-.037-.012-.063l-.038-.238v-.05a4.286 4.286 0 0 0-.037-.175c0-.025-.013-.05-.013-.075a.697.697 0 0 0-.05-.176c-.013-.025-.013-.063-.025-.088a.611.611 0 0 0-.038-.087c-.012-.025-.025-.063-.037-.088a1.479 1.479 0 0 0-.401-.338l-.025-.013-.025-.012h-.013c-.025-.013-.05-.026-.063-.038l-.075-.038a1.64 1.64 0 0 0-.702-.15 4.42 4.42 0 0 0-.413.025c-.063.013-.138.025-.2.038-.176.037-.352.1-.527.175-.05.05-.113.1-.163.15-.05.038-.1.088-.138.126l-.025.025c-.05.037-.1.088-.15.125l-.025.025-.15.113-.026.025c-.05.038-.1.075-.163.113l-.025.012c-.05.038-.113.063-.163.1l-.025.013c-.062.025-.113.063-.175.088h-.013a.94.94 0 0 1-.2.063c-.113.025-.226.05-.339.062a2.92 2.92 0 0 1-.576.025c-.063 0-.125 0-.2-.012h-.076a7.125 7.125 0 0 1-.514-.05c-.075-.013-.15-.013-.213-.025l-.35-.038c-.026 0-.05 0-.076-.013-.1.013-.188.038-.288.063h-.025a4.903 4.903 0 0 0-.815.3c-.012.013-.025.013-.05.026-.037.025-.087.038-.125.063-.05.025-.113.062-.163.1a4.732 4.732 0 0 0-1.078.877 3.18 3.18 0 0 0-.363.451 5.079 5.079 0 0 0-.451.74c-.013.012-.013.025-.025.037a5.833 5.833 0 0 0-.176.414c-.012.05-.037.1-.05.15v.013c-.05.163-.1.326-.138.501v.025c0 .025-.012.05-.012.075l-.038.226a1.535 1.535 0 0 0-.025.238v.05c0 .05 0 .1-.013.15 0 .176 0 .351.026.527 0 .037.012.087.012.125.113.276.263.514.426.74.627.827 1.542 1.253 2.18 1.453.251.075.515.138.778.188l.012.013.013-.013.088-.088.037-.037c.038-.025.063-.063.1-.088.013-.012.025-.025.038-.025.038-.025.063-.063.1-.088.013-.012.025-.025.038-.025.037-.025.075-.062.113-.087.012-.013.025-.026.037-.026.038-.025.075-.062.113-.087.013-.013.025-.025.038-.025.037-.025.075-.063.112-.088l.038-.038c.038-.025.075-.062.125-.087.063-.013.075-.025.088-.038m4.198-6.842c.314-.113.564-.076.752.025.075.037.15.087.2.15l.013.013a.166.166 0 0 1 .038.05c.213.25.275.551.275.551-.075-.075-.15-.125-.225-.188-.075-.05-.15-.1-.213-.138-.777-.426-1.416-.05-1.416-.05.2-.276.576-.413.576-.413m-6.103 2.706c-.2.264-.388.59-.551.978-.063.163-.126.326-.188.501 0 0-.025-.125-.05-.326a2.45 2.45 0 0 1 0-.526c0-.063.012-.125.025-.188 0-.025.012-.038.012-.063.05-.238.126-.5.276-.739.188-.3.476-.576.902-.764.05-.025.113-.05.176-.076 0 0 .275-.087.614-.1h.075c.063 0 .138 0 .2.013.1.012.201.037.301.075 0 0-.263.037-.626.225a3.353 3.353 0 0 0-1.166.99m.552 2.482c-.026.012-.05.012-.063 0-.038-.025.012-.188.188-.389-.013-.275.037-1.102 1.028-1.316l.25-.037h.063c.088 0 .163.012.238.025.526.113.714.601.777.84.175.1.25.2.225.213-.012.025-.037.025-.075.025-.037.025-.138.037-.263.05-.25.025-.639.05-1.065.163-.025.012-.063.012-.088.025-.626.175-1.103.45-1.215.4m1.647-1.09h-.03.03m10.145 7.42c-.4.463-.84.84-1.278 1.152a6.545 6.545 0 0 1-.652.427 9.614 9.614 0 0 1-1.366.664c-.927.35-1.591.438-1.591.438.551.226 1.215.138 1.666.038.301-.075.514-.15.514-.15.013.188.013.375 0 .538-.012.188-.05.364-.087.514v.013c-.05.2-.126.376-.214.526-.012.013-.012.038-.025.05l.038-.025c.15-.113.3-.225.451-.35.113-.088.226-.189.339-.289.188-.163.363-.338.538-.526.013-.013.025-.025.025-.038.176-.188.326-.388.477-.576.188-.264.363-.514.514-.777l.012-.013c.038-.063.075-.125.1-.188l.013-.012c.012-.025.025-.038.037-.063.05-.088.1-.176.138-.276.013-.025.025-.037.025-.062.025-.05.038-.1.063-.138.013-.038.038-.075.05-.113.013-.038.038-.075.05-.113.025-.075.063-.138.088-.213a.176.176 0 0 0 .025-.088c.025-.05.038-.112.063-.163.012-.025.012-.05.025-.075l.012-.025c.025-.062.05-.138.063-.2a.469.469 0 0 0-.113.112m-11.968-3.596c-.125.062-.263.125-.4.213-.377.213-.803.501-1.154.877-.05.05-.088.1-.138.138a3.661 3.661 0 0 0-.2.263c-.013.013-.013.025-.025.025-.013.013-.025.025-.025.038l-.076.113c-.012.012-.012.025-.025.05-.025.05-.062.1-.087.163-.025.05-.05.112-.076.163a2.506 2.506 0 0 0-.137 1.54v-.137c0-.012 0-.038.012-.063 0-.025.013-.05.013-.062v-.013c0-.025.012-.05.012-.075v-.012c0-.026.013-.05.025-.076v-.012c.013-.025.013-.063.025-.088v-.025c.013-.025.025-.063.038-.1.012-.05.038-.1.063-.15.012-.013.012-.038.025-.05l.012-.013c.025-.038.038-.075.063-.113.012-.038.037-.063.063-.1.012-.013.012-.025.025-.025.012-.025.037-.05.05-.076.012-.012.012-.025.025-.025a.545.545 0 0 1 .075-.087s-.389 1.278-.038 2.218v-.464c0-.038 0-.075.013-.1v-.013c0-.037.012-.075.012-.112 0-.013 0-.026.013-.038v-.025c.012-.025.012-.063.025-.088.013-.037.025-.088.038-.125 0-.013.012-.025.012-.038a.508.508 0 0 1 .063-.113s0 .301.062.665c.013.05.013.112.026.175.012.038.012.075.025.113-.025-.389 0-.752.062-1.103.013-.1.038-.188.063-.288 0-.013 0-.025.012-.038l.076-.263c0-.012.012-.038.012-.05a1.99 1.99 0 0 1 .088-.25c0-.013.012-.026.012-.038.063-.176.138-.326.213-.49 0-.012.013-.024.013-.037.025-.062.063-.112.088-.175.012-.013.012-.025.025-.05.012-.013.012-.025.025-.038.037-.063.075-.138.113-.2 0-.013.012-.025.012-.025.038-.063.088-.138.126-.2l.15-.227.113-.15c.012-.012.025-.037.037-.05.088-.113.176-.226.263-.313.251-.289.452-.464.514-.527a.767.767 0 0 0-.15.063.9.9 0 0 0-.3.113\\\"/><path d=\\\"M22.733 15.327s-.012-.025-.025-.076c-.063-.175-.288-.576-.978-.413-.714.163-.89.777-.927.977-.012.038-.012.076-.012.076l.025.012c.087-.088.263-.1.426-.025a.555.555 0 0 1 .188.15c.075.088.1.188.062.264-.012.012-.012.037-.025.05 0 0 .025.012.076.012.213.038.776.088 1.04-.35.012-.026.025-.038.037-.063-.062-.025-.113-.1-.125-.213a.357.357 0 0 1 0-.163c.038-.163.138-.276.238-.238m-2.932 5.764c-.452.15-.853.276-1.166.364h.05c.54 0 1.391-.025 2.406-.213 1.843-.351 4.224-1.24 6.204-3.522v-.012c-.013-.163-.075-.464-.314-.677a.45.45 0 0 0-.15-.1c-.013 0-.013-.013-.025-.013a2.04 2.04 0 0 1-.163-.075c-.038-.025-.088-.038-.113-.063v-.012c-.113.213-.25.426-.4.626-.05.076-.114.138-.176.213-.54.627-1.278 1.191-2.093 1.68-1.354.79-2.882 1.403-4.06 1.804m-12.194-1.78c-.013.026-.038.038-.05.063l-.013.026c-.025.025-.037.062-.05.087l-.012.013c-.025.037-.038.075-.063.113l-.013.012c0 .013-.012.025-.012.025a.178.178 0 0 0-.025.075v.025l-.038.113c-.025.113-.05.213-.062.288 0 .026-.013.063-.013.088-.013.05-.013.1-.013.113v.012-.112c0-.063-.012-.138-.012-.2v-.616c0-.037.012-.088.012-.125v-.013c0-.025 0-.062.013-.087v-.013c.013-.063.013-.125.025-.188v-.063c.013-.1.038-.2.063-.3v-.013c.012-.088.037-.163.062-.25v-.013a.387.387 0 0 0 .025-.1c.013-.05.026-.1.038-.163v-.013a.51.51 0 0 1 .025-.088c0-.012.013-.037.013-.05.012-.025.012-.062.025-.087l.012-.025c-.012-.013-.037-.013-.062-.025h-.013l-.025-.013a2.027 2.027 0 0 0-.376-.088h-.025c-.088-.012-.163-.012-.25-.012-.05 0-.1 0-.151.012-.038 0-.088.013-.125.013l-.188.037c-.025 0-.038.013-.05.013-.026.012-.063.012-.088.025-.013 0-.025.013-.038.013-.025.012-.037.012-.062.025-.038.012-.076.037-.113.05-.013.012-.038.012-.05.025-.05.025-.1.05-.15.087-.026.013-.038.026-.05.038-.026.013-.051.025-.064.05l-.025.013c-.025.012-.05.037-.075.05-.025.012-.037.037-.062.05-.026.025-.05.038-.076.063l-.037.037a1.1 1.1 0 0 0-.113.126c-.013.025-.038.037-.05.062-.025.038-.063.075-.088.113l-.012.025c-.013.025-.025.05-.038.063-.013.012-.013.025-.025.05-.05.1-.1.2-.138.3 0 .013-.012.026-.012.05l-.038.151c0 .025-.013.038-.013.063 0 .012.013.025.013.037.025.038.038.088.063.126l.012.012.013.013c.025.037.037.075.062.125.063.113.138.226.2.313.013.013.026.025.026.038l.012.075.013.013c.05.062.1.125.138.175a2.5 2.5 0 0 0 .163.176l.025.025.012.012.025.025c-.012-.025-.012-.037-.025-.062a3.121 3.121 0 0 1-.112-.464v-.025c-.013-.1-.026-.2-.026-.288.013.037.026.075.05.1l.076.15.012.013a3.109 3.109 0 0 0 .602.827c.012.012.025.025.037.025l.026.025a2.337 2.337 0 0 1-.126-.489c-.012-.05-.012-.112-.025-.163-.012-.075-.012-.137-.012-.2.05.113.087.213.137.313v.013c.176.338.376.589.502.727l.012.012c.025.025.038.05.063.063l.038.037.025.025.012.013-.012-.025c-.013-.025-.013-.05-.025-.063-.026-.087-.05-.163-.063-.25-.013-.05-.025-.113-.038-.163-.012-.05-.012-.1-.025-.15v-.026c0-.025 0-.05-.012-.075v-.025c0-.063-.013-.138-.013-.2.013.037.038.087.05.125.013.025.025.062.038.087v.013l.012.013c.013.037.038.062.05.1.038.062.063.113.1.163.038.062.089.125.126.175a.38.38 0 0 1 .063.088c.025.038.05.063.075.1.025.025.05.05.063.075l.012.013.05.05.038.038.05.05.013.012v-.4c0-.125.012-.238.012-.35v-.164c0-.087.013-.175.013-.263 0-.075.012-.15.012-.213v-.313c0-.025 0-.05.013-.063v-.15l.1-.025m15.715 3.32c.163-.087.313-.15.426-.212.226-.126.351-.213.339-.238-.013-.025-.15.012-.402.1-.125.05-.275.088-.438.15-.088.038-.176.05-.276.088-.1.025-.2.063-.313.088-.213.062-.464.113-.727.188-.125.025-.263.05-.401.087-.138.025-.288.05-.439.076a9.708 9.708 0 0 1-1.942.112 3.876 3.876 0 0 1-1.216-.275h-.012c.113-.74.84-.928.84-.928h-.59c-.45.025-.651.439-.714.602-.012.025-.012.05-.025.075-.05.15-.063.326-.063.514.025.338.15.69.452.977.2.188.513.339.914.439-.363-.175-.701-.539-.814-1.178.4.113.852.163 1.19.175a8.77 8.77 0 0 0 2.03-.137c.15-.038.301-.063.452-.1.137-.038.288-.076.413-.113.263-.076.501-.15.727-.239.113-.037.213-.075.313-.125s.2-.075.276-.125\\\"/></g><path d=\\\"M21.705 14.4c.376-.038.64.05.828.2a1.906 1.906 0 0 0-.026-.59 1.882 1.882 0 0 0-.213-.6c-.037-.088-.213-.34-.4-.302-.239.05-.351.514-.251 1.066.025.075.037.15.062.225m-4.36 1.128c.425-.125.826-.063 1.09-.025.125.025.225.038.275.038.038 0 .063-.013.075-.025.026-.025-.062-.126-.225-.213-.038-.025-.075-.038-.113-.063-.037-.013-.088-.038-.125-.05a1.578 1.578 0 0 0-.126-.038h-.012a.445.445 0 0 0-.125-.025h-.025c-.038-.012-.088-.012-.138-.025h-.025c-.05 0-.1-.012-.15-.012h-.139c-.025 0-.05 0-.075.012h-.037c-.025 0-.05.013-.076.013-.012 0-.025 0-.037.012-.038.013-.075.013-.113.025h-.012c-.026.013-.05.013-.088.025-.025.013-.063.013-.088.025-.025.013-.063.025-.088.038l-.075.038a.611.611 0 0 1-.088.037.274.274 0 0 0-.062.038c-.025.012-.05.037-.075.05-.013.012-.038.025-.05.037-.026.013-.05.038-.076.05a.173.173 0 0 1-.05.038c-.025.025-.05.038-.075.063-.013.012-.025.025-.038.025-.025.025-.05.05-.075.063l-.025.025c-.025.025-.05.062-.075.087-.176.2-.226.376-.188.389.012.012.037.012.063 0 .162-.063.563-.439 1.165-.627.05 0 .075-.012.1-.025m5.163.2c.013.1.063.189.126.214.1.037.188-.075.225-.25v-.051c.013-.15-.037-.288-.125-.326-.088-.037-.188.075-.226.25 0 .063-.012.114 0 .164m-1.654.476c.05.063.113.113.2.15.176.088.352.063.44-.025.012-.012.024-.025.024-.05.038-.075 0-.175-.062-.263a.763.763 0 0 0-.188-.15c-.176-.076-.351-.063-.426.025a.173.173 0 0 0-.038.05c-.05.087-.025.175.05.263m6.457 1.504l-.015.015.015-.015m.235 3.484c-.213.25-.45.5-.714.726-1.165 1.028-2.882 1.93-4.123 2.256-.94.276-1.867.414-2.694.414-.477 0-.915-.05-1.279-.138-.4-.1-.727-.25-.914-.439a1.445 1.445 0 0 1-.452-.977 1.428 1.428 0 0 1 .063-.514c.013-.025.013-.05.025-.075.063-.176.263-.577.714-.602h.564a12.95 12.95 0 0 0 3.534-.476 10.829 10.829 0 0 0 4.261-2.293c.063-.063.126-.113.188-.176l.602-1.19c-1.98 2.28-4.349 3.17-6.204 3.509a13.108 13.108 0 0 1-2.406.213h-.551a.989.989 0 0 0-.389.1 1.357 1.357 0 0 0-.576.551 1.872 1.872 0 0 0 .15 1.968c.013.012.013.025.025.038.025.025.05.062.076.087l.112.113c.451.426 1.329.69 2.47.69a9.75 9.75 0 0 0 2.593-.377c2.77-.864 3.998-1.942 4.55-2.669l.112-.15c.188-.289.263-.49.288-.59v-.012c.013-.025.013-.038.013-.038l-.038.05\\\" fill=\\\"#664F44\\\"/><path d=\\\"M22.608 1.479a2.587 2.587 0 0 0-.84-.489c-.05-.013-.113-.025-.163-.038-.025-.012-.062-.025-.088-.037a3.536 3.536 0 0 0-.814-.1c-1.366-.013-2.845.664-3.685 1.115-.05.025-.087.05-.137.075a1.887 1.887 0 0 0-.213.125c-.126.076-.239.15-.364.226-.012.013-.037.025-.05.038l-.276-.251-.125-.113-.113-.1-.05-.05-1.028-.94-.087-.088-.1-.1h-.013l-.25.088-.289.1a1.788 1.788 0 0 0-.601-.088c-.452 0-1.028.113-1.655.364a11.83 11.83 0 0 0-2.055 1.09c-1.466.965-3.045 2.356-4.524 4.06-.514.602-.99 1.203-1.429 1.805A21.329 21.329 0 0 0 2.531 9.9c-.676 1.152-1.178 2.243-1.453 3.207-.188.64-.288 1.216-.288 1.705 0 .35.05.651.137.902.025.075.063.15.1.213.076.138.164.263.276.364l1.128.927.126.1v-.012a.714.714 0 0 1 .087-.113l.013-.013c.012-.012.025-.025.025-.037a.695.695 0 0 1 .075-.1c.013-.026.038-.038.05-.063.013-.025.038-.038.05-.063l.025-.025c.013-.025.038-.037.05-.063.026-.025.05-.062.076-.087l.05-.05.012-.013.088-.088.05-.05c.025-.025.063-.05.088-.087a.273.273 0 0 1 .063-.05c.037-.026.062-.05.1-.076.025-.012.037-.025.062-.05.038-.025.076-.05.1-.075.026-.013.038-.025.063-.038l.025-.012c.026-.025.063-.038.088-.063.013-.012.038-.025.05-.038.025-.012.05-.037.076-.05l.075-.037.025-.013c.062-.037.113-.062.175-.087.025-.013.038-.013.063-.026.025-.012.037-.025.063-.025l.025-.012c.012 0 .025-.013.037-.013l.075-.037.025-.013c.026-.012.063-.025.088-.037.025-.013.063-.025.088-.038l.113-.038c.012 0 .025-.012.05-.012.012 0 .025-.013.05-.013a.366.366 0 0 1 .113-.025c.037-.012.062-.012.1-.025.025 0 .05-.012.075-.025.013 0 .025 0 .025-.012.013 0 .025 0 .038-.013h.025c.125-.025.263-.038.426-.038h.025c.163 0 .326 0 .514.013.037 0 .088.013.125.013.013-.013.013-.038.025-.05l.226-.527a18.537 18.537 0 0 1 1.479-2.682c.175-.263.363-.526.551-.777a15.519 15.519 0 0 1 2.306-2.481c.163-.138.326-.276.489-.401.213-.176.426-.326.626-.476.163-.113.314-.226.464-.326.25-.163.476-.3.677-.414.062-.037.125-.075.175-.1.088-.05.163-.088.238-.125-.062 0-.138 0-.2.012-.063 0-.126.013-.2.013h-.05c-.064.012-.139.012-.201.025-.126.025-.264.05-.389.088-.05.012-.088.025-.138.037.314-.213.627-.388.94-.514.2-.087.401-.163.602-.225a4.84 4.84 0 0 1 .764-.188c.163-.025.313-.05.451-.063.138-.012.276-.025.389-.025.413-.012.664.013.664.013a.878.878 0 0 0-.238-.188c-.163-.1-.339-.15-.489-.2a3.297 3.297 0 0 1-.163-.038c-.037-.013-.075-.013-.113-.013.063-.025.138-.038.2-.05.076-.013.139-.038.214-.05a5.462 5.462 0 0 1 1.491-.113c.476.025.765.113.765.113a1.022 1.022 0 0 0-.314-.301 1.41 1.41 0 0 0-.263-.15c.163.012.314.037.464.062.388.075.714.163.977.25.088.026.163.064.239.089.025.012.037.012.062.025.238.1.376.175.376.175a1.13 1.13 0 0 0-.25-.35l-.076-.076h.013c.012 0 .025 0 .05.013.025 0 .038.012.075.012.1.025.263.063.451.138.013 0 .013.012.025.012.025.013.05.026.076.026.062.025.137.05.2.087.063.025.125.063.2.1.038.013.076.038.1.05.076.038.151.088.226.138.076.05.15.1.226.163l.038.038c.05.038.1.088.15.138a2.213 2.213 0 0 1 .539.74c0 .012.012.012.012.024.038-.05.088-.125.163-.238.627-.94 2.457-3.935.953-5.451\\\" fill=\\\"#132134\\\"/><path d=\\\"M13.748 2.055l-.1-.489.187-.576.1-.038a1.788 1.788 0 0 0-.601-.087c-.451 0-1.028.112-1.654.363a11.83 11.83 0 0 0-2.055 1.09c-1.48.953-3.058 2.344-4.537 4.048-.514.602-.99 1.203-1.429 1.805A21.329 21.329 0 0 0 2.531 9.9c-.676 1.152-1.178 2.243-1.453 3.207-.188.64-.288 1.216-.288 1.705 0 .35.05.651.137.902.025.075.063.15.1.213.076.138.164.263.276.364l1.128.927.126.1v-.012a.714.714 0 0 1 .087-.113l.013-.013c.012-.012.025-.025.025-.037a.695.695 0 0 1 .075-.1c.013-.026.038-.038.05-.063.013-.025.038-.038.05-.063l.025-.025c.013-.025.038-.037.05-.063.026-.025.05-.062.076-.087l.05-.05.012-.013.088-.088.05-.05c.025-.025.063-.05.088-.087a.273.273 0 0 1 .063-.05c.037-.026.062-.05.1-.076.025-.012.037-.025.062-.05.038-.025.076-.05.1-.075.026-.013.038-.025.063-.038l.025-.012c.163-.69.44-1.454.815-2.269a19.827 19.827 0 0 1 1.842-3.12 25.255 25.255 0 0 1 1.58-2.018 27.224 27.224 0 0 1 2.293-2.343 22.08 22.08 0 0 1 1.554-1.266l.15-.113c.138-.1.276-.188.414-.288.288-.2.589-.388.864-.551l-.163-.163-.025-.025-.213-.2-1.19-1.129-.1-.852-.013-.012.702-.301 1.529.551\\\" fill=\\\"#2F83C1\\\"/><path d=\\\"M14.073 2.18l.15.05-.15-.05z\\\" fill=\\\"#4D9ED7\\\"/><path d=\\\"M14.474.752l-.651.225.288 1.204-1.892-.69-.702.301.012.013 2.457 2.205.025-.012.025-.025.188-.15c.025-.013.037-.038.062-.05.088-.076.188-.139.276-.214l-1.04-.94 1.58.552c.037-.025.087-.063.124-.088l-.263-1.04.765.702h.012a.71.71 0 0 1 .163-.1l.013-.013.025-.013c.012 0 .012-.012.025-.012.025-.013.05-.025.062-.05 0 0 .013 0 .013-.013.075-.05.15-.1.226-.138L14.474.752\\\" fill=\\\"#FFD250\\\"/><path d=\\\"M13.838 1.039l-.015-.062.015.062m-.015-.062l.1-.037a1.788 1.788 0 0 0-.601-.088c-.452 0-1.028.113-1.655.364a11.83 11.83 0 0 0-2.055 1.09c-1.466.965-3.045 2.356-4.524 4.06-.514.602-.99 1.203-1.429 1.805l2.306 2.23A31.057 31.057 0 0 1 7.532 8.41a28.373 28.373 0 0 1 2.343-2.394 19.86 19.86 0 0 1 2.281-1.78l-.539-1.54-.088-.878-.012-.012.702-.301 1.516.564-.1-.489.188-.602\\\" fill=\\\"#4D9ED7\\\"/><path d=\\\"M13.823.977l-.176.59.1.488.364.138-.288-1.216zm-.314 1.642l1.58.552-.527.4-1.053-.952zm1.442-.576l.263 1.04.514-.351-.777-.69z\\\" fill=\\\"#132134\\\"/><path d=\\\"M20.527.977l.264-.037c.25-.025.488-.025.714.012h.1c-.025-.012-.062-.025-.088-.037a3.536 3.536 0 0 0-.814-.1c-1.366-.013-2.845.664-3.685 1.115-.05.025-.087.05-.137.075a1.887 1.887 0 0 0-.213.125c-.126.076-.239.15-.364.226-.012.013-.037.025-.05.038-.075.05-.15.087-.226.137 0 0-.012 0-.012.013-.025.013-.05.025-.063.05-.012 0-.012.013-.025.013l-.025.012-.012.013c-.05.037-.1.062-.163.1h-.013c-.012.013-.025.013-.037.025h-.013c-.013.013-.025.013-.025.025-.088.05-.163.113-.25.163-.063.038-.113.075-.176.113l-.013.012c-.037.025-.087.063-.125.088-.138.1-.276.2-.401.3-.013.013-.025.026-.038.026-.012.012-.025.012-.037.025-.013.012-.025.012-.038.025l-.012.013c-.088.075-.188.137-.276.213a.261.261 0 0 0-.063.05l-.188.15-.025.025-.025.013c-.175.138-.338.288-.514.438-.275.238-.551.49-.827.752-.037.038-.075.063-.1.1a29.755 29.755 0 0 0-2.03 2.143 42.178 42.178 0 0 0-1.918 2.394c-.325.414-.601.79-.84 1.103-.45.627-.701 1.002-.688 1.015 0 0 .05-.038.112-.138-.062.088-.112.176-.175.263a48.507 48.507 0 0 1 3.333-4.073 34.083 34.083 0 0 1 2.331-2.33c.351-.326.715-.64 1.09-.94.113-.1.239-.188.351-.289.063-.05.126-.087.176-.138.038-.025.063-.05.1-.075l.188-.15c.063-.05.126-.1.188-.138.038-.025.063-.05.1-.075.076-.063.163-.113.239-.176.05-.037.1-.075.15-.1.15-.113.313-.213.464-.313.012-.013.025-.013.037-.025.025-.013.05-.038.075-.05.038-.025.063-.038.1-.063.013-.013.026-.013.038-.025.025-.013.038-.025.063-.038 0 0 .012 0 .012-.012h.013c.063-.038.138-.088.2-.126.013-.012.026-.012.038-.025.025-.012.038-.025.063-.037.075-.05.15-.1.238-.15.025-.013.037-.026.062-.038.013-.013.026-.013.038-.025.025-.013.038-.025.063-.038.087-.05.175-.113.263-.163.075-.05.163-.087.238-.138.451-.25.865-.476 1.266-.651.764-.376 1.428-.59 2.017-.69\\\" fill=\\\"#FFF\\\"/></g></svg>\",\n    \"messenger-icon\": \"<svg width=\\\"40\\\" height=\\\"42\\\" viewBox=\\\"0 0 21 41\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M20.365 38.014a3 3 0 11-6 0 3 3 0 016 0zM18.999 29a2 2 0 01-2 2H4a2 2 0 01-2-2V13.974h13.996v-2H5a3 3 0 01-3-3V4a2 2 0 012-2h12.999a2 2 0 012 2v25zm-2-29H4C1.794 0 0 1.794 0 4v25c0 2.204 1.794 4 4 4h12.999c2.206 0 4-1.796 4-4V4c0-2.206-1.794-4-4-4z\\\" fill=\\\"#334BFA\\\" fill-rule=\\\"evenodd\\\"/></svg>\",\n    \"multiplatform\": \"<svg width=\\\"150\\\" height=\\\"150\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><ellipse fill=\\\"#E5ECF9\\\" cx=\\\"75\\\" cy=\\\"75\\\" rx=\\\"75\\\" ry=\\\"75\\\"/><path stroke=\\\"#248FED\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" d=\\\"M112.491 80.277l-1.024-.149-.942-.049-.948.029-.96-.109-.936-.295-.975.014-.96-.044-.955-.165-.965-.014-.962-.074-.965-.083-.969.098-.956-.119-.969-.003-.945-.276-.973.083-.966-.026-.948-.249-.976.059-.95-.213-.966-.045-.986-.166-.992.216-1.17-.152-.133-.888v-.959l.141-.961.249-.936-.031-.937-.004-.937.131-.932-.008-.937-.016-.937.043-.934-.018-.941.102-.933-.098-.932.084-.94.03-.934.158-.924.089-.938.035-.944.064-.935-.012-.938-.098-.937.073-.938-.022-.939-.072-.937-.021-.936.193-.93-.109-.941.028-.937-.011-.94.049-.93.047-.935.025-.944.013-.933.059-.927-.051-.953.291-.92-.222-.949.125-.937-.002-.938-.036-.94.128-.948-.171-1.009.953.225.896-.01.897-.037.888.013.884.111.888.066.863.236.885.096.888.084.897-.103.869.317.894-.054.882.114.894-.024.882.13.888.03.877.188.89.068.89.046.897-.166.883.175.896-.044.886.102.88.194.886.078.889.006.808.03-.056.854-.029.934v.933l.018.936.038.943-.222.924-.082.932.006.939-.003.939-.058.934-.194.929-.022.942.184.937-.145.942.067.936-.119.928-.035.938.129.945-.11.933-.029.94-.06.934.099.95-.095.937-.293.916.036.939.033.939.037.94-.097.933-.034.942-.215.925.025.941.097.939.063.943-.09.936-.188.926-.152.933.162.949-.209.931.054.944-.018.916-.124.912z\\\"/><path d=\\\"M114.296 45.351l-.942-.22-.928.1-.911-.147-.897.044-.87-.228-.896.031-.88-.079-.888-.024-.879-.188-.891.039-.893-.013-.883-.076-.883-.06-.885-.119-.886-.094-.897.051-.869-.254-.898.087-.882-.091-.888-.147-.885-.054-.889-.032-.883-.135-.893-.055-.858-.163-.873-.032-.963-.011.056-1.106.142-1.028-.216-1.046.081-1.054.874-.054.875.117.884.024.881.121.874.2.889.046.886.007.887.048.881.17.89-.107.892-.009.899-.066.894.095.874.191.861.31.9-.186.889.049.886.192.886.029.9-.134.879.203.901-.003.863.275.885.148.901-.055.898.112.908-.084-.165.723-.008.722.098.726-.002.752.041.753.126.789zm-1.969 34.754l-.892.128-.92-.264-.928-.014-.972.153-.959-.13-.96-.123-.954-.143-.971.087-.959-.122-.966.021-.966-.032-.946-.266-.951-.154-.976.042-.962-.082-.961-.079-.939-.299-.973-.001-.967.021-.97.081-.961-.213-.942-.045-.936-.169-.877-.081.009-.911.027-.981-.059-.979-.035-.96-.131-.966.225-.888.854.007.931-.046.927.065.958.099.971-.057.959.112.962.012.961.074.956.189.957.092.967.012.964.05.968-.073.956.192.966.014.971.032.955.151.938.326.974-.13.968.156.974-.156.952.208.974.03 1.03.085-.199.827.234.75-.017.751-.146.75-.108.957.215.974-.2.916z\\\" stroke=\\\"#248FED\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"/><path stroke=\\\"#2E3192\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" d=\\\"M103.421 105.479l-.878.143-.895-.105-.873.116-.906.01-.898-.164-.91-.04-.91.017-.901.139-.902.163-.907-.063-.896-.226-.911.049-.905.081-.906.017-.905-.078-.901-.035-.904-.071-.905-.01-.903.014-.906-.022-.905.02-.903-.005-.903.198-.907-.117-.899.174-.905-.043-.904-.139-.905.112-.909.038-.899-.094-.908-.04-.895.218-.914.042-.897-.225-.909-.045-.908.027-.896.058-.916-.144-.902.006-.9.021-.913.092-.901-.112-.906.005-.902.13-.91-.041-.898-.096-.908.038-.907-.059-.905.081-.908-.086-.908.019-.898.211-.914-.137-.9.077-.904-.036-.898-.18-.918.047-.903.039-.906.023-.9.037-.915-.108-.903.118-.907-.004-.903.07-.903-.108-.911.108-.905-.196-.905.179-.908.025-.908.04-.906-.116-.908-.077-.903.033-.903.144-.977-.03.251-.944-.07-.893.138-.883-.211-.893.262-.888-.139-.894-.023-.894.278-.869-.033-.897.016-.889.166-.881.09-.89-.045-.894.038-.898-.264-.891.249-.877.144-.882-.141-.905.252-.878-.202-.9.042-.888.207-.887-.186-.893.085-.891-.036-.896.296-.871-.021-.897.145-.881-.063-.899.024-.89.116-.886-.124-.894.109-.891-.082-.893.266-.884.035-.887-.077-.899.212-.874.08-.89.048-.889.061-.889-.084-.895.091-.892-.144-.892.103-.892.118-.881.122-.887.144-.889-.007-.897.049-.892.025-.895-.195-.893.069-.897.047-.894-.084-.924.153-.916-.071-1.023 1.037.063.946.153.953-.137.917.167.921.036.924-.017.92-.062.927.041.916-.087.916.043.922-.062.922-.059.918-.035.92.009.92-.036.92-.036.921.043.92.118.916-.101.926.115.921-.206.907.307.922.035.927-.043.918.116.921.029.922-.125.912-.17.93.064.922-.04.918-.012.919.133.919.01.918.028.933-.129.916.061.93.146.918-.125.917-.093.918-.148.923-.002.922.021.919.013.922.029.922.02.919.084.921.068.925-.168.92-.058.922.113.923.102.92-.094.924-.061.921.202.919-.146.922-.033.922.055.92.076.924-.153.923.195.915-.22.93.165.918-.007.93-.159.924.055.914.183.919-.102.926-.055.926-.041.927.149.932.046.85-.022.036.812-.094.895.029.9.044.888.173.883-.234 1.778.004.891-.066.887.163.9-.135.884.004.886.05.881.016.894-.116.895-.031.883-.025.893-.171.884.037.892-.004.891.047.891.113.885.013.893-.125.888.113.901-.114.888-.075.887-.138.882-.086.89.065.891-.037.888.064.891.13.891-.18.89.09.891.064.89.049.886-.201.895.199.887-.05.889-.176.886-.031.892.165.89-.161.893.009.886.067.895-.109.888-.126.89.16.888.068.892.093.897-.22.888-.084.89-.081.893.144.872-.127.866z\\\"/><path stroke=\\\"#2E3192\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" d=\\\"M104.242 61.039l-.891-.02-.912.289-.931-.208-.917.013-.931.076-.909-.274-.924.042-.922-.03-.922.025-.916.097-.925.044-.927-.037-.912.031-.921.16-.919-.104-.919-.027-.917-.138-.926.032-.922-.042-.914.253-.923-.2-.911-.081-.923-.013-.929.13-.918-.179-.92.082-.919.105-.92-.022-.92.131-.923-.04-.917.201-.925-.036h-.919l-.923-.011-.924-.023-.918-.155-.916.08-.927-.182-.918.073-.927.135-.914-.226-.923-.099-.921.116-.922.037-.924-.064-.917.123-.922.047-.927-.11-.915.249-.923.025-.922-.15-.919-.082-.919-.129-.928-.091-.923.081-.917.125-.924.022-.917-.158-.924.004-.924.046-.921-.004-.922-.011-.924-.011-.914.215-.929-.089-.925-.042-.92-.045-.925.128-.924.049-.955-.013-.959-.031-.957.031.028-.799.058-.801.013-.804-.07-.806-.041-.768.179-.762-.045-.771-.052-.866.991.108.89-.245.91.093.923-.044.925-.014.914.283.916-.27.928.191.917-.215.921.066.921.077.92.044.928-.132.909.229.922.005.924.032.915-.154.927.093.915-.233.92.214.92-.028.917.03.92.032.922.003.917.097.921.005.924-.071.914-.168.924.015.926.116.917-.047.922-.025.922-.064.919.006.922.007.921.115.918.098.922-.045.919-.128.918-.036.925-.049.925-.034.919.063.927-.029.918.245.922-.152.921-.078.921-.092.916.166.927-.091.921.163.923-.061.922-.044.925-.152.922.062.917.139.922.17.924-.108.919-.129.922.053.929-.193.915.166.922-.022.919.04.927.024.919-.218.922.174.93-.125.918.259.898-.01.9-.114.837.125.053.69.125.758-.02.767.037.765-.024.78.01.782-.003.785zm-.841 44.426l-.857-.132-.888.155-.877.052-.907-.06-.914-.027-.894.265-.905-.173-.906-.004-.904-.085-.907.237-.904-.121-.905.015-.9.107-.911-.166-.904.077-.9.124-.906-.143-.903.033-.903.037-.903-.168-.908.125-.902.057-.906-.075-.904-.106-.902.005-.906.204-.904-.174-.902.079-.903.114-.906-.124-.903-.048-.91-.009-.903-.103-.903.014-.902.135-.906.018-.907-.101-.904.119-.906.085-.905-.027-.906-.04-.905-.224-.899.264-.912-.129-.906.005-.901.008-.908.147-.909.009-.907-.055-.9-.151-.906-.063-.904.024-.904.088-.91-.122-.904.114-.907.021-.906-.145-.906-.014-.906.017-.901.032-.909.136-.904-.093-.905-.117-.904.141-.909-.115-.909-.044-.904.057-.906.079-.905-.027-.909.134-.902-.227-.912.203-.938-.127-.937.04-.951.142-.006-.819-.01-.798-.068-.799-.142-.801-.274-.8v-.801l.162-.804.275-.736.942-.137.968-.042.953.139.916-.027.907.089.903.156.905-.085.907.002.906-.025.905.138.902-.257.906.045.904.031.907.056.904-.144.9-.023.905.097h.905l.903.029.904.085.907-.191.903.041.906-.037.901.212.906-.171.906-.036.902.24.905-.025.897-.147h.908l.905-.024.907.012.907.018.901-.068.905-.053.905-.009.899.117.911-.038.905-.079.91.191.901-.128.906-.213.905.175.902.131.908.033.898-.094.901-.138.916-.07.894.282.928-.158.897.14.902.076.905-.082.909.116.902-.2.907-.01.907.092.91.055.898-.179.904-.162.906.274.907-.018.909-.21.902.253.907-.008.908-.095.904.028.905.124.909-.098.906.064.907.071.91-.166.933.091.932-.106.939-.002-.054.8.061.797.083.798.002.801-.126.761-.076.763-.052.765z\\\"/><path d=\\\"M76.168 111.782l-.676.079-.76-.006-.753-.177-.765-.053-.979.218-.988.074-.99.08-.99-.066-.989-.079-.989.114-.986-.094-.992.068-.988-.131-.97-.085-.984.199-.987-.154-.067-.787.043-.771-.124-.768.028-.774.179-.748.058-.753.02-.758-.012-.701.904.001.954-.028.952-.049.983-.115.993.102.984-.217.987.076.989.075.988.046.989-.139.99.058.991-.098.985.258.99-.12.947.044.07.727-.144.776.011.782.1.781-.085.799.091.794.089.799-.097.721zm-26.516-.205l.938.025.928.193.937.033.935.017.934-.091.938.071.93.013.938-.105.936.034.93.117.938.011.941.105.937-.129.927-.202.945.073.931.003.942-.155.932.196.935-.005.937-.009.935.114.937-.154.938-.027.936.08.93-.112.938-.058.942.025.929.15.944-.097.933.111.932.107.947-.145.929.098.927-.126.952.058.939-.011.929-.003.939-.244.936.153.944-.012.934.142.939.077.936.043.939-.021.939-.031-42.132-.312z\\\" stroke=\\\"#2E3192\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"/></g></svg>\",\n    \"personal\": \"<svg width=\\\"150\\\" height=\\\"150\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><ellipse fill=\\\"#E5ECF9\\\" cx=\\\"75\\\" cy=\\\"75\\\" rx=\\\"75\\\" ry=\\\"75\\\"/><path d=\\\"M112.642 66.137l-.076-.968-.118-.97-.025-.973.003-.91-.822-.147-.898-.144-.909.012-.934.235-.949.034-.952.048-.944-.105-.946-.074-.949.027-.948-.175-.942.135-.947.055-.946.059-.951-.12-.945.163-.967-.223-.982-.028-1.015-.035.227.994.077.978-.01.986-.215.934-.047.951-.027.955-.056.958.353.927-.036.958.069.95-.121.945-.104.948.156.95-.187.945.138.954-.266.942.008.95.123.952-.084.92.123.91.147.873.868.096.91.048.91.068.944-.048.946-.032.947-.15.942.184.952-.067.942.175.938-.212.95.02.95-.078.94.269.956-.07.946.114.927.014.923-.055.898-.232.213-.81.01-.84.03-.838.027-.866.065-.866-.052-.866-.227-.863.028-.866.064-.867m.033-.8l.982-.456.835-.742 1.085-.26.943-.535.92-.6 1.086-.258.686-.492.722-.42.694-.475.7-.37-.946-.233-.963-.513-1.001-.35h-1l-.948-.123-.97-.081-.946-.24-.983-.077-.953-.245M81.71 50.513l.56-.931.628-.884.765-.782.481-1.003.674-.854.823-.733.62-.845.66-.815.634-.917-1.12.068-1.05.153-1.06.04-.834-.033-.81.142-.805.19-.816.12-.809.154-.808.152-.777.342-.837.014m-.147-.076l-.692-.8-.452-.988-.67-.831-.935-.547-.798-.708-.8-.704-.95-.484-.953-.479-1.004-.382-1.049-.174-1.04-.338-1.028-.412h-1.067l-1.07.166-1.05-.292-1.036.277-1.012.354-1.053.071-1.039.163-1.019.267-1.02.22-.856.596-.907.538-1.012.365-.738.79-.915.518-.94.484-.673.812-.83.665-.564.9-.535.889-.637.844-.65.843-.306 1.017-.322 1.004-.696.85-.229 1.036-.024 1.076-.518.965-.047 1.058.05 1.054-.076 1.046-.08 1.053.165 1.045-.02 1.062.207 1.04.456.966.16 1.053.516.924.411.966.371.99.666.817.68.799.607.848.588.87.635.84.66.829.872.596.913.524.908.527.906.505.983.355.875.599 1.04.191.946.464 1.011.282 1.046.027 1.048-.02 1.038.08.958.034.95-.2.968.078.936-.232.982.012.91-.353.938-.229.92-.3.854-.468.842-.461.892-.377.825-.506.685-.688.76-.593.848-.478.744-.625.742-.629.645-.743.495-.844.215-.977.427-.866.516-.816.338-.898.22-.931.27-.912.254-.932.186-.945.086-.964-.124-.974.254-.97-.402-.919-.104-.964-.139-.958-.393-.886-.096-.975-.153-.959\\\" stroke=\\\"#248FED\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"/><path d=\\\"M47.411 58.708l-1.138-.162-1.15-.068-.712.496-.779.292-.856.089-.895.572-.72.362-.716.356-.704.323-.57.644-.604.624-.268 1.02-.563.655-.483.717-.23.875-.072.893-.076.895-.327.645-.212.695.264 1.226.064 1.032-.348.572-.004.657.034 1.015.034 1.026.315.899.389.998.722.767.387.983.724.53.511.444.536.456.944.524.894.27.614.563.432.501.9-.079.993.12.596.117.619.31 1.054-.2 1.038.21 1.031-.088.979-.178.941-.392.88-.584.929-.48.634-.5.64-.494.805-.243.629-.592.433-.573.667-.328.702-.826.885-.63.232-.708.418-.209.545-1.054.047-.59.254-.418.407-.945.55-.845-.073-1 .095-.943-.035-.959-.192-.991-.252-.987-.64-.86-.215-.522-.306-.444-.732-.688-.683-.729-.63-.786-.853-.553-.673-.753-.725-.701-.875-.506-.8-.64-1.107-.332-1.317.032-.551-.15-.681-.198-.724.053-.68.312-1.271.007-.622-.144-1.158.653m-18.243 48.692l.151-.914.053-.913-.046-.906.116-.839.025-.859.075-.888-.014-.907.387-.833.392-.82.106-.919.415-.998.296-1.046.58-.925.373-.728.57-.592.582-.526.564-.555.61-.5.614-.82.873-.535.655-.786 1.035-.469.57-.461.61-.396.697-.59.89-.251.662-.435 1.18-.417.82-.305.839-.222.912-.444 1.014.067 1.37-.174 1.236-.319.984-.207.958-.174.962.212.964.1.824-.12.827.01.667.24 1.235-.262.576.629.78-.016.84.08.736.404.643.297.625.329.483.729.951.216.879 1.1.542.415.27.507 1.11.853.339.566.45.582.343.793.58.66.405.763.69 1.146-.06 1.243.62.778.397 1.153.273.956.12.977.156.774.421.754-.12.814.232.832.306.914.045.8.014 1.34-.376.122\\\" stroke=\\\"#2E3192\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"/><path d=\\\"M26 108.04l.867-.013.864-.229 1.32-.091.89.143.864-.156.942-.162.944.003.941.092.946.072.942-.096.94-.081.942.079.95.016.947.016.944-.097.947.18.946-.091.943-.016.947-.028.95-.124.94.232.949.01.948.046.868-.022.87.08.861-.164 1.339-.112.804.04.812.052.852.052.858-.134.851.229.86.044 1.063-.221 1.078.146 1.066-.22.932.058.929.265.687-.31 1.25-.167.847.177.865-.06.85.125.85.117-1.229-.021m14.205-.047l-.085-1.874-.045-.94.194-.941-.074-.83.072-.822-.01-.945v-.973l-.483-1.372.122-.491.267-.17.854-.377.774-.58.884-.377.795-.381.806-.336.953-.17.807-.492.733-.528.791-.418.825-.333.821-.339.794-.507.852-.442.776-.571 1.312-.436.93-.407.045.314 1.052.473.86.013 1.05.726.664.058.84.248.876.08.72.057.76.047.99.576.916.047.82.632.746-.259.754.515.685.233.72.137 1.278.477 1.074.268.126.982.324 1.273-.116.932.368.87-.055.923.162.9-.284.795.076.834.067.761.19.63.103 1.405-.027.678-.66.129m-28.749.239l-.43.149.884-.142.86.06.855-.035.86.04.858-.1.865.052.868-.085.853.163.858.125.85-.153.866.105.86-.04.85-.236.873-.057.749.331.789-.073.79.168.806.033.8-.018.9-.002.915.028.883-.091.893.069.865-.068.87.079.87-.283.872.117 1.14.037 1.124-.086.849-.095.853-.025.779.065.777-.18.759.042-.566-.111M88.098 87.86l-.251.141 1.234-.309.697.162.734.15 1.006-.029.996-.156 1.003.164.996-.258 1-.037 1.003-.074 1.01.034 1.002-.13 1.1.12 1.08-.172 1.11-.088.098-1.179.178-1.153-.288-1.086.094-1.117-.13-.863.291-.841-.116-.87.106-1.138.154-1.14-.236-.986.02-.933-.516-.505-1.286-.038-.805.075-.821-.167-.818.158-.808-.243-.829.16-.813-.102-1.086-.099-.706.204-.686.217-1.117.112-1.13.052-1.143-.204-.579.393-.485-.206-.256.313-.398-.02.025.357-.03.674-.012.83-.067.855.055.843.136.865.07.87-.062.876.103.992-.168.995.096.999.104 1-.052.767-.187.76.16-.11\\\" stroke=\\\"#2E3192\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"/></g></svg>\",\n    \"preview-eye\": \"<svg width=\\\"36\\\" height=\\\"21\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" xmlns:xlink=\\\"http://www.w3.org/1999/xlink\\\"><defs><path d=\\\"M18 0C8.278 0 0 9.884 0 9.884v.362S8.278 20.25 18 20.25s18-10.004 18-10.004v-.362S27.722 0 18 0zm0 16.153c-3.375 0-6.107-2.691-6.107-6.066S14.625 4.02 18 4.02s6.107 2.69 6.107 6.066c0 3.375-2.732 6.066-6.107 6.066zm0-8.8c-1.528 0-2.813 1.206-2.813 2.732 0 1.525 1.285 2.731 2.813 2.731 1.528 0 2.813-1.206 2.813-2.732 0-1.525-1.285-2.731-2.813-2.731z\\\" id=\\\"a\\\"/></defs><use fill=\\\"#334BFA\\\" xlink:href=\\\"#a\\\"/></svg>\",\n    \"statuspage\": \"<svg width=\\\"32\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 24\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><defs><linearGradient x1=\\\"50%\\\" y1=\\\"82.799%\\\" x2=\\\"50%\\\" y2=\\\"-5.781%\\\" id=\\\"a\\\"><stop stop-color=\\\"#2684FF\\\" offset=\\\"0%\\\"/><stop stop-color=\\\"#0052CC\\\" offset=\\\"82%\\\"/></linearGradient></defs><g fill=\\\"none\\\"><circle fill=\\\"url(#a)\\\" cx=\\\"16.131\\\" cy=\\\"16.198\\\" r=\\\"7.356\\\"/><path d=\\\"M.619 7.688l3.95 4.678a.842.842 0 0 0 1.195.089c6.396-5.735 14.316-5.735 20.729 0a.842.842 0 0 0 1.195-.089l3.95-4.678a.842.842 0 0 0-.097-1.183c-9.263-8.118-21.545-8.118-30.825 0a.842.842 0 0 0-.097 1.183z\\\" fill=\\\"#2684FF\\\"/></g></svg>\"\n  },\n  \"mobile\": {\n    \"android\": {\n      \"attachment\": \"<svg width=\\\"10\\\" height=\\\"20\\\" viewBox=\\\"0 0 11 22\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path class=\\\"mobile__messenger__attachment {{if isPost 'o__post'}}\\\" d=\\\"M9.5 5v11.5c0 2.2-1.8 4-4 4s-4-1.8-4-4V4c0-1.4 1.1-2.5 2.5-2.5S6.5 2.6 6.5 4v10.5c0 .6-.4 1-1 1-.5 0-1-.4-1-1V5H3v9.5C3 15.9 4.1 17 5.5 17S8 15.9 8 14.5V4c0-2.2-1.8-4-4-4S0 1.8 0 4v12.5c0 3 2.5 5.5 5.5 5.5s5.5-2.5 5.5-5.5V5H9.5z\\\" fill=\\\"#d3d3d8\\\"/><path d=\\\"M-7-1h24v24H-7\\\"/></g></svg>\",\n      \"phone-back\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M-4-4h24v24H-4\\\"/><path fill=\\\"#FFF\\\" d=\\\"M16 7H3.83l5.59-5.59L8 0 0 8l8 8 1.41-1.41L3.83 9H16\\\"/></g></svg>\",\n      \"shell-new\": \"<svg width=\\\"408\\\" height=\\\"848\\\" viewBox=\\\"0 0 408 848\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M0 76.8c0-26.883 0-40.324 5.232-50.591A48 48 0 0126.209 5.232C36.475 0 49.916 0 76.8 0h254.4c26.883 0 40.324 0 50.592 5.232a48.003 48.003 0 0120.976 20.977C408 36.475 408 49.916 408 76.8v694.4c0 26.883 0 40.324-5.232 50.592a48.005 48.005 0 01-20.976 20.976C371.524 848 358.083 848 331.2 848H76.8c-26.883 0-40.324 0-50.591-5.232a48.003 48.003 0 01-20.977-20.976C0 811.524 0 798.083 0 771.2V76.8zm24 0c0-4.48 0-6.72.872-8.432a8 8 0 013.496-3.496C30.08 64 32.32 64 36.8 64h334.4c4.48 0 6.721 0 8.432.872a8.002 8.002 0 013.496 3.496C384 70.08 384 72.32 384 76.8v694.4c0 4.48 0 6.721-.872 8.432a8.003 8.003 0 01-3.496 3.496c-1.711.872-3.952.872-8.432.872H36.8c-4.48 0-6.72 0-8.432-.872a8.002 8.002 0 01-3.496-3.496C24 777.921 24 775.68 24 771.2V76.8z\\\" fill=\\\"#FAFAFA\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M28.368 783.128C30.08 784 32.32 784 36.8 784h334.4c4.48 0 6.721 0 8.432-.872a8.003 8.003 0 003.496-3.496c.872-1.711.872-3.952.872-8.432V76.8c0-4.48 0-6.72-.872-8.432a8.002 8.002 0 00-3.496-3.496C377.921 64 375.68 64 371.2 64H36.8c-4.48 0-6.72 0-8.432.872a8 8 0 00-3.496 3.496C24 70.08 24 72.32 24 76.8v694.4c0 4.48 0 6.721.872 8.432a8.002 8.002 0 003.496 3.496zM2.648 45.437C2.001 53.34 2 63.326 2 76.8v694.4c0 13.474.002 23.46.647 31.363.644 7.881 1.918 13.516 4.367 18.321a46 46 0 0020.102 20.102c4.805 2.449 10.44 3.723 18.32 4.367 7.904.645 17.89.647 31.364.647h254.4c13.474 0 23.46-.002 31.363-.647 7.881-.644 13.516-1.918 18.321-4.367a46 46 0 0020.102-20.102c2.449-4.805 3.723-10.44 4.367-18.321.645-7.903.647-17.889.647-31.363V76.8c0-13.474-.002-23.46-.647-31.363-.644-7.88-1.918-13.516-4.367-18.32a46 46 0 00-20.102-20.103c-4.805-2.449-10.44-3.723-18.321-4.367C354.66 2.002 344.674 2 331.2 2H76.8c-13.474 0-23.46.002-31.363.647-7.88.644-13.516 1.918-18.32 4.367A46 46 0 007.013 27.116c-2.449 4.805-3.723 10.44-4.367 18.32zm19.468 25.946c.119-1.458.37-2.738.974-3.923a10.001 10.001 0 014.37-4.37c1.185-.604 2.465-.855 3.923-.974C32.798 62 34.547 62 36.714 62h334.572c2.167 0 3.916 0 5.331.116 1.458.119 2.738.37 3.923.974a10 10 0 014.37 4.37c.604 1.185.855 2.465.974 3.923.116 1.416.116 3.164.116 5.331v694.572c0 2.167 0 3.916-.116 5.331-.119 1.458-.37 2.738-.974 3.923a9.998 9.998 0 01-4.37 4.37c-1.185.604-2.465.855-3.923.974-1.416.116-3.165.116-5.333.116H36.716c-2.168 0-3.917 0-5.333-.116-1.458-.119-2.738-.37-3.923-.974a10 10 0 01-4.37-4.37c-.604-1.185-.855-2.465-.974-3.923-.116-1.416-.116-3.164-.116-5.331V76.714c0-2.167 0-3.915.116-5.331zM5.232 26.209C0 36.475 0 49.916 0 76.8v694.4c0 26.883 0 40.324 5.232 50.592a48.003 48.003 0 0020.977 20.976C36.475 848 49.916 848 76.8 848h254.4c26.883 0 40.324 0 50.592-5.232a48.005 48.005 0 0020.976-20.976C408 811.524 408 798.083 408 771.2V76.8c0-26.883 0-40.324-5.232-50.591a48.003 48.003 0 00-20.976-20.977C371.524 0 358.083 0 331.2 0H76.8C49.917 0 36.476 0 26.209 5.232A48 48 0 005.232 26.209z\\\" fill=\\\"#E2E3E5\\\"/><path d=\\\"M154 32a4 4 0 014-4h92a4 4 0 010 8h-92a4 4 0 01-4-4zm-71 0a6 6 0 11-12 0 6 6 0 0112 0z\\\" fill=\\\"#E2E3E5\\\"/></svg>\",\n      \"shell\": \"<svg width=\\\"403\\\" height=\\\"781\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill=\\\"#EAEDEF\\\" fill-rule=\\\"evenodd\\\" d=\\\"M400.9 92h-2.3V50.7c0-17.4-1.6-27.5-10-34-8.2-6.4-22.6-8.8-48-11.3C290.1.4 242.7 0 209.4 0H192c-33.3 0-80.8.4-131.2 5.4-25.4 2.5-39.8 4.9-48 11.3-8.5 6.6-10 16.6-10 34v87.5H1.2c-.7 0-1.2.5-1.2 1.2v109.1c0 .7.5 1.2 1.2 1.2h1.6v474.1c0 15.7 0 27 6.5 35.1 6.4 8.1 19 12.5 43.2 15.3 48.2 5.7 99.4 6.8 136.8 6.8h22.8c37.4 0 88.6-1.1 136.8-6.8 24.2-2.8 36.7-7.3 43.2-15.3 6.5-8.1 6.5-19.4 6.5-35.1V137.7h2.3c.6 0 1.2-.5 1.2-1.2V93.1c-.1-.6-.6-1.1-1.2-1.1zm-.9 43.7h-3.5v588.1c0 15.3 0 26.3-6 33.9-6.1 7.6-18.2 11.8-41.9 14.6-48.2 5.6-99.2 6.7-136.6 6.7h-22.8c-37.4 0-88.4-1.1-136.6-6.7-23.7-2.8-35.8-7-41.9-14.6-6-7.6-6-18.6-6-33.9V247.7H2V140.2h2.8V50.7c0-16.8 1.4-26.4 9.3-32.4 7.8-6.1 22-8.4 47-10.9 50.3-5 97.7-5.4 131-5.4h17.4c33.3 0 80.7.4 131 5.4 25 2.5 39.2 4.8 47 10.9 7.8 6.1 9.3 15.7 9.3 32.4V94h3.5v41.7h-.3z\\\"/></svg>\"\n    },\n    \"ios\": {\n      \"camera\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"23\\\" height=\\\"19\\\" viewBox=\\\"0 0 54 45\\\"><g class=\\\"camera-app-color\\\" stroke-width=\\\"2\\\" stroke=\\\"red\\\" fill=\\\"none\\\" stroke-linejoin=\\\"round\\\"><path d=\\\"M41 24.5C41 32 35 38 27.5 38S14 32 14 24.5 20 11 27.5 11 41 17 41 24.5z\\\"/><path d=\\\"M35 24.6c0 4.1-3.4 7.5-7.5 7.5S20 28.7 20 24.6c0-4.2 3.4-7.6 7.5-7.6s7.5 3.4 7.5 7.6z\\\"/><path d=\\\"M53 41V12c0-1.7-1.3-3-2.9-3h-7.7c-1.1 0-2.1-.6-2.5-1.6l-2.6-4.8c-.5-.9-1.5-1.6-2.6-1.6H19.3c-1.1 0-2.1.7-2.6 1.6l-2.6 4.8c-.4 1-1.4 1.6-2.5 1.6H3.9C2.3 9 1 10.3 1 12v29c0 1.7 1.3 3 2.9 3h46.2c1.6 0 2.9-1.3 2.9-3z\\\"/></g></svg>\",\n      \"phone-back\": \"<svg viewBox=\\\"0 0 25 42\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M0 21L21 0l4 4L8 21l17 17-4 4L0 21z\\\" fill=\\\"#5F68FF\\\" fill-rule=\\\"evenodd\\\"/></svg>\",\n      \"shell-new\": \"<svg width=\\\"419\\\" height=\\\"856\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 419 856\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M6.54 32.76C0 45.596 0 62.398 0 96v664c0 33.603 0 50.405 6.54 63.239a59.996 59.996 0 0 0 26.22 26.221C45.596 856 62.398 856 96 856h227c33.603 0 50.405 0 63.239-6.54a59.993 59.993 0 0 0 26.221-26.221C419 810.405 419 793.603 419 760V96c0-33.603 0-50.405-6.54-63.24a59.996 59.996 0 0 0-26.221-26.22C373.405 0 356.603 0 323 0H96C62.397 0 45.595 0 32.76 6.54A60 60 0 0 0 6.54 32.76zm19.82 11.08C22 52.397 22 63.598 22 86v684c0 22.402 0 33.603 4.36 42.16a40.002 40.002 0 0 0 17.48 17.48C52.397 834 63.598 834 86 834h247c22.402 0 33.603 0 42.16-4.36a40.003 40.003 0 0 0 17.48-17.48C397 803.603 397 792.402 397 770V86c0-22.402 0-33.603-4.36-42.16a40.002 40.002 0 0 0-17.48-17.48C366.603 22 355.402 22 333 22h-14.818A8.182 8.182 0 0 0 310 30.182C310 42.232 300.232 52 288.182 52H130.818C118.768 52 109 42.232 109 30.182A8.182 8.182 0 0 0 100.818 22H86c-22.402 0-33.603 0-42.16 4.36a40 40 0 0 0-17.48 17.48z\\\" fill=\\\"#FAFAFA\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M2.81 56.755C2.003 66.66 2 79.165 2 96v664c0 16.835.002 29.34.81 39.245.808 9.881 2.41 16.998 5.512 23.086a57.993 57.993 0 0 0 25.347 25.347c6.088 3.103 13.205 4.704 23.086 5.511 9.905.809 22.41.811 39.245.811h227c16.835 0 29.34-.002 39.245-.811 9.881-.807 16.998-2.408 23.086-5.511a57.987 57.987 0 0 0 25.347-25.347c3.103-6.088 4.704-13.205 5.511-23.086.809-9.905.811-22.41.811-39.245V96c0-16.835-.002-29.34-.811-39.245-.807-9.882-2.408-16.998-5.511-23.086a57.993 57.993 0 0 0-25.347-25.347c-6.088-3.103-13.205-4.704-23.086-5.511C352.34 2 339.835 2 323 2H96c-16.835 0-29.34.002-39.245.81-9.882.808-16.998 2.41-23.086 5.512A58 58 0 0 0 8.322 33.669C5.219 39.757 3.618 46.874 2.81 56.755zm17.742 2.81c.555-6.794 1.678-12.025 4.026-16.633a42 42 0 0 1 18.354-18.354c4.608-2.348 9.84-3.471 16.633-4.026C66.317 20 74.785 20 85.906 20h14.912C106.441 20 111 24.559 111 30.182 111 41.127 119.873 50 130.818 50h157.364C299.127 50 308 41.127 308 30.182 308 24.559 312.559 20 318.182 20h14.912c11.122 0 19.589 0 26.341.552 6.794.555 12.025 1.678 16.633 4.026a42 42 0 0 1 18.354 18.354c2.348 4.608 3.471 9.84 4.026 16.633.552 6.752.552 15.22.552 26.341v684.188c0 11.122 0 19.589-.552 26.341-.555 6.794-1.678 12.025-4.026 16.633a41.998 41.998 0 0 1-18.354 18.354c-4.608 2.348-9.839 3.471-16.633 4.026-6.752.552-15.22.552-26.343.552H85.908c-11.123 0-19.59 0-26.343-.552-6.793-.555-12.025-1.678-16.633-4.026a42 42 0 0 1-18.354-18.354c-2.348-4.608-3.471-9.839-4.026-16.633C20 789.683 20 781.216 20 770.094V85.906c0-11.122 0-19.59.552-26.34zM0 96c0-33.603 0-50.405 6.54-63.24A60 60 0 0 1 32.76 6.54C45.596 0 62.398 0 96 0h227c33.603 0 50.405 0 63.239 6.54a59.996 59.996 0 0 1 26.221 26.22C419 45.596 419 62.398 419 96v664c0 33.603 0 50.405-6.54 63.239a59.993 59.993 0 0 1-26.221 26.221C373.405 856 356.603 856 323 856H96c-33.603 0-50.405 0-63.24-6.54a59.996 59.996 0 0 1-26.22-26.221C0 810.405 0 793.603 0 760V96zm22-10c0-22.402 0-33.603 4.36-42.16a40 40 0 0 1 17.48-17.48C52.397 22 63.598 22 86 22h14.818A8.182 8.182 0 0 1 109 30.182C109 42.232 118.768 52 130.818 52h157.364C300.232 52 310 42.232 310 30.182A8.182 8.182 0 0 1 318.182 22H333c22.402 0 33.603 0 42.16 4.36a40.002 40.002 0 0 1 17.48 17.48C397 52.397 397 63.598 397 86v684c0 22.402 0 33.603-4.36 42.16a40.003 40.003 0 0 1-17.48 17.48C366.603 834 355.402 834 333 834H86c-22.402 0-33.603 0-42.16-4.36a40.002 40.002 0 0 1-17.48-17.48C22 803.603 22 792.402 22 770V86z\\\" fill=\\\"#E2E3E5\\\"/><path d=\\\"M243 33a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-69-10a4 4 0 0 0 0 8h52a4 4 0 0 0 0-8h-52z\\\" fill=\\\"#E2E3E5\\\"/><rect x=\\\"142\\\" y=\\\"821\\\" width=\\\"135\\\" height=\\\"5\\\" rx=\\\"2.5\\\" fill=\\\"#000\\\"/></svg>\",\n      \"shell\": \"<svg width=\\\"437\\\" height=\\\"886\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g transform=\\\"translate(0 1)\\\" stroke=\\\"#EAEDEF\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><circle stroke-width=\\\"2\\\" cx=\\\"153.5\\\" cy=\\\"55.5\\\" r=\\\"7.5\\\"/><rect stroke-width=\\\"2\\\" x=\\\"184\\\" y=\\\"50\\\" width=\\\"74\\\" height=\\\"9\\\" rx=\\\"4.5\\\"/><path d=\\\"M436 253.893v568.1C436 856.237 408.237 884 373.99 884H66.01C31.763 884 4 856.238 4 821.993V62.007C4 27.763 31.763 0 66.01 0h307.98C408.237 0 436 27.762 436 62.007v126.6c-.537.02-.966.463-.966 1v63.287a1 1 0 0 0 .966 1z\\\" stroke-width=\\\"2\\\"/><path d=\\\"M1.998 190.203V257\\\" stroke-width=\\\"3\\\" stroke-linecap=\\\"square\\\"/><path d=\\\"M2 112.088v34.824\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"square\\\"/><path d=\\\"M1.5 268v68\\\" stroke-width=\\\"3\\\" stroke-linecap=\\\"square\\\"/><ellipse stroke-width=\\\"2\\\" cx=\\\"219.5\\\" cy=\\\"26.5\\\" rx=\\\"4.5\\\" ry=\\\"4.5\\\"/><ellipse stroke-width=\\\"2\\\" cx=\\\"221\\\" cy=\\\"826\\\" rx=\\\"34\\\" ry=\\\"34\\\"/></g></svg>\"\n    },\n    \"mobile-chat-caret\": \"<svg width=\\\"12\\\" height=\\\"14\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M1.19 10.96c-4.537 4.562 8.155 2.184 8.155 2.184L11.64 4.58 5.523.193S5.725 6.396 1.19 10.96z\\\" fill=\\\"#FFF\\\" fill-rule=\\\"evenodd\\\"/></svg>\"\n  },\n  \"nav-primary-app-store-2020-refresh-active\": \"<svg width=\\\"32\\\" height=\\\"32\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><rect x=\\\"21\\\" y=\\\"17.5\\\" width=\\\"1\\\" height=\\\"8\\\" rx=\\\".5\\\" stroke=\\\"#737376\\\"/><rect x=\\\"25.5\\\" y=\\\"21\\\" width=\\\"1\\\" height=\\\"8\\\" rx=\\\".5\\\" transform=\\\"rotate(90 25.5 21)\\\" stroke=\\\"#737376\\\"/><rect x=\\\"7\\\" y=\\\"18\\\" width=\\\"7\\\" height=\\\"7\\\" rx=\\\"2\\\" stroke=\\\"#737376\\\" stroke-width=\\\"2\\\"/><rect x=\\\"18\\\" y=\\\"7\\\" width=\\\"7\\\" height=\\\"7\\\" rx=\\\"2\\\" stroke=\\\"#737376\\\" stroke-width=\\\"2\\\"/><rect x=\\\"7\\\" y=\\\"7\\\" width=\\\"7\\\" height=\\\"7\\\" rx=\\\"2\\\" stroke=\\\"#737376\\\" stroke-width=\\\"2\\\"/><rect x=\\\"21\\\" y=\\\"17.5\\\" width=\\\"1\\\" height=\\\"8\\\" rx=\\\".5\\\" stroke=\\\"#334BFA\\\"/><rect x=\\\"25.5\\\" y=\\\"21\\\" width=\\\"1\\\" height=\\\"8\\\" rx=\\\".5\\\" transform=\\\"rotate(90 25.5 21)\\\" stroke=\\\"#334BFA\\\"/><rect x=\\\"7\\\" y=\\\"18\\\" width=\\\"7\\\" height=\\\"7\\\" rx=\\\"2\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\"/><rect x=\\\"18\\\" y=\\\"7\\\" width=\\\"7\\\" height=\\\"7\\\" rx=\\\"2\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\"/><rect x=\\\"7\\\" y=\\\"7\\\" width=\\\"7\\\" height=\\\"7\\\" rx=\\\"2\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\"/><rect x=\\\"21\\\" y=\\\"17.5\\\" width=\\\"1\\\" height=\\\"8\\\" rx=\\\".5\\\" stroke=\\\"#334BFA\\\"/><rect x=\\\"25.5\\\" y=\\\"21\\\" width=\\\"1\\\" height=\\\"8\\\" rx=\\\".5\\\" transform=\\\"rotate(90 25.5 21)\\\" stroke=\\\"#334BFA\\\"/><rect x=\\\"7\\\" y=\\\"18\\\" width=\\\"7\\\" height=\\\"7\\\" rx=\\\"2\\\" fill=\\\"#334BFA\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\"/><rect x=\\\"18\\\" y=\\\"7\\\" width=\\\"7\\\" height=\\\"7\\\" rx=\\\"2\\\" fill=\\\"#334BFA\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\"/><rect x=\\\"7\\\" y=\\\"7\\\" width=\\\"7\\\" height=\\\"7\\\" rx=\\\"2\\\" fill=\\\"#334BFA\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\"/></svg>\",\n  \"nav-primary-app-store-2020-refresh\": \"<svg width=\\\"32\\\" height=\\\"32\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><rect class=\\\"left-nav__secondary-icon__stroke left-nav__secondary-icon__appstore\\\" x=\\\"21\\\" y=\\\"17.5\\\" width=\\\"1\\\" height=\\\"8\\\" rx=\\\".5\\\"/><rect class=\\\"left-nav__secondary-icon__stroke left-nav__secondary-icon__appstore\\\" x=\\\"25.5\\\" y=\\\"21\\\" width=\\\"1\\\" height=\\\"8\\\" rx=\\\".5\\\" transform=\\\"rotate(90 25.5 21)\\\"/><rect class=\\\"left-nav__secondary-icon__stroke\\\" x=\\\"7\\\" y=\\\"18\\\" width=\\\"7\\\" height=\\\"7\\\" rx=\\\"2\\\"/><rect class=\\\"left-nav__secondary-icon__stroke\\\" x=\\\"18\\\" y=\\\"7\\\" width=\\\"7\\\" height=\\\"7\\\" rx=\\\"2\\\"/><rect class=\\\"left-nav__secondary-icon__stroke\\\" x=\\\"7\\\" y=\\\"7\\\" width=\\\"7\\\" height=\\\"7\\\" rx=\\\"2\\\"/></svg>\\n\",\n  \"nav-primary-app-store\": \"<svg width=\\\"30\\\" height=\\\"30\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"left-nav__icon\\\" d=\\\"M24 20a1 1 0 0 1-1 1h-2v2a1 1 0 1 1-2 0v-2h-2a1 1 0 1 1 0-2h2v-2a1 1 0 1 1 2 0v2h2a1 1 0 0 1 1 1zM22.5 6A1.5 1.5 0 0 1 24 7.5v5a1.5 1.5 0 0 1-1.5 1.5h-5a1.5 1.5 0 0 1-1.5-1.5v-5A1.5 1.5 0 0 1 17.5 6h5zM18 12h4V8h-4v4zm-5.5 4a1.5 1.5 0 0 1 1.5 1.5v5a1.5 1.5 0 0 1-1.5 1.5h-5A1.5 1.5 0 0 1 6 22.5v-5A1.5 1.5 0 0 1 7.5 16h5zM8 22h4v-4H8v4zm4.5-16A1.5 1.5 0 0 1 14 7.5v5a1.5 1.5 0 0 1-1.5 1.5h-5A1.5 1.5 0 0 1 6 12.5v-5A1.5 1.5 0 0 1 7.5 6h5zM8 12h4V8H8v4z\\\"/></svg>\",\n  \"nav-primary-ellipsis-icon\": \"<svg height=\\\"32\\\" width=\\\"32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path clip-rule=\\\"evenodd\\\" d=\\\"M10 16a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm8 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm6 2a2 2 0 1 0 0-4 2 2 0 0 0 0 4z\\\" fill-rule=\\\"evenodd\\\"/></svg>\\n\",\n  \"nav-primary-logo-loaded\": \"<svg viewBox=\\\"0 0 32 32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M27.733 17.594a1.067 1.067 0 1 1-2.133 0V8a1.067 1.067 0 1 1 2.133 0v9.594zm-.372 6.676c-.165.141-4.116 3.457-11.361 3.457-7.245 0-11.196-3.316-11.361-3.457a1.067 1.067 0 0 1 1.386-1.622c.063.052 3.591 2.946 9.975 2.946 6.464 0 9.938-2.914 9.972-2.944a1.067 1.067 0 0 1 1.39 1.62zM4.267 8A1.067 1.067 0 0 1 6.4 8v9.594a1.067 1.067 0 1 1-2.133 0V8zM9.6 5.867a1.067 1.067 0 0 1 2.133 0v14.25a1.067 1.067 0 0 1-2.133 0V5.867zm5.333-.54a1.067 1.067 0 1 1 2.134 0v15.467a1.067 1.067 0 1 1-2.134 0V5.327zm5.334.54a1.067 1.067 0 1 1 2.133 0v14.25a1.067 1.067 0 0 1-2.133 0V5.867zM28 0H4a4 4 0 0 0-4 4v24a4 4 0 0 0 4 4h24a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4z\\\"/></svg>\",\n  \"nav-primary-logo-loading\": \"<svg viewBox=\\\"0 0 60 60\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M52.59 0H7.543C3.337 0 0 3.337 0 7.475v45.05A7.463 7.463 0 0 0 7.475 60h45.05A7.463 7.463 0 0 0 60 52.525V7.542A7.38 7.38 0 0 0 52.59 0z\\\"/></svg>\",\n  \"nav-primary-messenger-2020-refresh-active\": \"<svg width=\\\"32\\\" height=\\\"32\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M19.394 24.08l-.189-.08H9a2 2 0 01-2-2V9a2 2 0 012-2h14a2 2 0 012 2v17.483l-5.606-2.402z\\\" fill=\\\"#334BFA\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\"/><path d=\\\"M11 18s1.75 1.5 5 1.5 5-1.5 5-1.5\\\" stroke=\\\"#EAEAEA\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\"/></svg>\",\n  \"nav-primary-messenger-2020-refresh\": \"<svg width=\\\"32\\\" height=\\\"32\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"left-nav__secondary-icon__stroke\\\" d=\\\"M19.394 24.08l-.189-.08H9a2 2 0 01-2-2V9a2 2 0 012-2h14a2 2 0 012 2v17.483l-5.606-2.402z\\\"/><path class=\\\"left-nav__secondary-icon__stroke left-nav__secondary-icon__messenger\\\" d=\\\"M11 18s1.75 1.5 5 1.5 5-1.5 5-1.5\\\"/></svg>\\n\",\n  \"nav-primary-messenger\": \"<svg width=\\\"30\\\" height=\\\"30\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"left-nav__icon\\\" d=\\\"M15 19.06a9.2 9.2 0 0 1-4.94-1.41.77.77 0 0 1-.23-1.07.76.76 0 0 1 1.06-.24 7.89 7.89 0 0 0 8.22 0 .76.76 0 0 1 1.06.24.77.77 0 0 1-.23 1.07A9.2 9.2 0 0 1 15 19.06zM17 21l5 2 2 1v.38a1 1 0 0 1-1.45.9L16 23H8.89A2.89 2.89 0 0 1 6 20.11V8.89A2.89 2.89 0 0 1 8.89 6h12.22C22.71 6 24 7.29 24 7.89V24l-2-1V9.22A1.22 1.22 0 0 0 20.78 8H9.22A1.22 1.22 0 0 0 8 9.22v10.56c0 .674.546 1.22 1.22 1.22H17z\\\"/></svg>\",\n  \"nav-primary-operator\": \"<svg width=\\\"30\\\" height=\\\"30\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"left-nav__icon\\\" d=\\\"M8 20v.78c0 .674.546 1.22 1.22 1.22h11.56A1.22 1.22 0 0 0 22 20.78V20H8zm0-2h14V9.22A1.22 1.22 0 0 0 20.78 8H9.22A1.22 1.22 0 0 0 8 9.22V18zM21.11 6A2.89 2.89 0 0 1 24 8.89v12.22A2.89 2.89 0 0 1 21.11 24H8.89A2.89 2.89 0 0 1 6 21.11V8.89A2.89 2.89 0 0 1 8.89 6h12.22zM18 16h-6a3 3 0 0 1 0-6h6a3 3 0 0 1 0 6zm-6-2h6a1 1 0 0 0 0-2h-6a1 1 0 0 0 0 2z\\\"/></svg>\",\n  \"nav-primary-product-changes-2020-refresh\": \"<svg width=\\\"32\\\" height=\\\"32\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><mask class=\\\"left-nav__secondary-icon__product-changes\\\" id=\\\"a\\\" maskUnits=\\\"userSpaceOnUse\\\" x=\\\"8\\\" y=\\\"23\\\" width=\\\"16\\\" height=\\\"4\\\"><path fill=\\\"#C4C4C4\\\" d=\\\"M8 23h16v4H8z\\\"/></mask><g mask=\\\"url(#a)\\\"><circle class=\\\"left-nav__secondary-icon__stroke\\\" cx=\\\"16\\\" cy=\\\"23\\\" r=\\\"3\\\"/></g><path class=\\\"left-nav__secondary-icon__stroke\\\" d=\\\"M22.5 13c0-2 .5-4-1.5-5.5S16.5 6 16 6s-3 0-5 1.5C9.308 8.77 9.5 11 9.5 13c0 8-3.5 9-3.5 9h20s-3.5-1-3.5-9z\\\"/></svg>\\n\",\n  \"nav-primary-product-changes\": \"<svg width=\\\"30\\\" height=\\\"30\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"left-nav__icon\\\" d=\\\"M8.16 20.562l-.206-.91v-.203c0-.505.309-.91.72-1.618a6.559 6.559 0 0 0 1.543-4.247c0-1.82-.514-1.719-.514-2.831 0-.708.411-3.034 3.703-3.034 1.851 0 2.777 1.517 2.983 2.528.308 2.225 1.851 4.146 3.908 4.955.926.405 1.337.708 1.44 1.214l.206.91L8.16 20.562zm15.429-4.55a4.054 4.054 0 0 0-2.469-2.529c-1.44-.505-2.469-1.82-2.674-3.337C17.623 6.202 13.817 6 13.2 6c-2.366 0-5.349 1.416-5.349 4.955 0 .405.103.91.206 1.315.103.404.206.91.206 1.314 0 1.113-.412 2.225-1.132 3.034-.72.809-1.131 1.72-1.131 2.73 0 .203.103.405.103.607l.514 1.82c.103.506.708.893 1.428.893l2.892-.59v.102c.103 1.112 1.234 1.82 2.469 1.82 1.234 0 3.085-1.112 3.085-3.034 0-.153 0-.282-.014-.411l6.803-1.51c.309 0 .72-.405.72-.91v-.202l-.411-1.922z\\\"/></svg>\",\n  \"nav-primary-product-plus-icon\": \"<svg width=\\\"6\\\" height=\\\"6\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"product-icon__plus__symbol\\\" d=\\\"M0 2h6v2H0z\\\"/><path class=\\\"product-icon__plus__symbol\\\" d=\\\"M2 6V0h2v6z\\\"/></svg>\",\n  \"nav-primary-product-tours\": \"<svg height=\\\"30\\\" width=\\\"30\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"left-nav__icon\\\" clip-rule=\\\"evenodd\\\" d=\\\"M16.364 7.567l1.994 2.29h3.585c1.136 0 2.057.921 2.057 2.057v10.029A2.057 2.057 0 0 1 21.943 24H8.057A2.057 2.057 0 0 1 6 21.943V11.914c0-1.136.921-2.057 2.057-2.057h3.586l1.993-2.29L15 6zm-3.17 3.64L15 9.134l1.806 2.075.615.706h4.522v10.029H8.057V11.914h4.522zm6.949 2.507H9.857V15h10.286zM9.857 16.286h6.429v1.285H9.857zm9 2.571h-9v1.286h9z\\\" fill-rule=\\\"evenodd\\\"/></svg>\\n\",\n  \"nav-primary-reporting\": \"<svg width=\\\"30\\\" height=\\\"30\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"left-nav__icon\\\" clip-rule=\\\"evenodd\\\" d=\\\"M8.89 6h12.22A2.89 2.89 0 0 1 24 8.89v12.22A2.89 2.89 0 0 1 21.11 24H8.89A2.89 2.89 0 0 1 6 21.11V8.89A2.89 2.89 0 0 1 8.89 6zm11.89 16A1.22 1.22 0 0 0 22 20.78V9.22A1.22 1.22 0 0 0 20.78 8H9.22A1.22 1.22 0 0 0 8 9.22v11.56c0 .674.546 1.22 1.22 1.22h11.56z\\\"/><path class=\\\"left-nav__icon\\\" d=\\\"M12 15v8h-2v-8h2zm4 3v5h-2v-5h2zm4-6v11h-2V12h2z\\\"/></svg>\",\n  \"nav-primary-setup-guide-brand-refresh\": \"<svg width=\\\"30\\\" height=\\\"30\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"left-nav__icon\\\" d=\\\"M23.1 17.717L15 21.568l-8.1-3.952V7.381l7.1 3.851v6.283h2v-6.283l7.1-3.85v10.335zm1.3-12.565a1.26 1.26 0 0 0-1.2 0L15 9.307 6.8 5.152a1.26 1.26 0 0 0-1.2 0c-.3.203-.6.608-.6 1.013v12.262c0 .405.3.81.7 1.013l8.8 4.357c.2.102.3.203.5.203s.4-.101.5-.203l8.8-4.357c.4-.203.6-.608.7-1.013V6.165c0-.405-.3-.81-.6-1.013z\\\"/></svg>\",\n  \"nav-primary-setup-guide\": \"<svg viewBox=\\\"0 0 32 32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"left-nav__icon\\\" d=\\\"M17.043 10.306L17 22.748c2.965-1.876 4.932-1.794 7.998.252 0-5.7.004-6.707 0-12.402C23.6 9.53 22.2 9 20.8 9c-1.263 0-2.489.438-3.756 1.306zM11.373 9C9.967 9 8.508 9.53 7 10.598V23c1.237-1.125 2.57-1.656 4.012-1.618 1.246.033 2.572.491 3.988 1.36V10.298C13.82 9.433 12.638 9 11.373 9z\\\"/></svg>\",\n  \"nav-secondary-guide-bookmark\": \"<svg width=\\\"6\\\" height=\\\"9\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M6 0H0v8.4l3-1.691L6 8.4z\\\" fill-rule=\\\"evenodd\\\"/></svg>\",\n  \"nav-secondary-guide\": \"<svg width=\\\"16\\\" height=\\\"14\\\" viewBox=\\\"1 0 18 14\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M10.657 1.42l-.043 12.443c2.965-1.876 4.932-1.794 7.998.252 0-5.7.004-6.707 0-12.402-1.4-1.068-2.798-1.598-4.2-1.598-1.262 0-2.488.438-3.755 1.306zM4.987.115C3.58.115 2.12.645.614 1.713v12.402c1.237-1.125 2.57-1.656 4.012-1.618 1.245.033 2.572.49 3.988 1.36V1.414C7.434.548 6.252.114 4.986.114z\\\"/></svg>\",\n  \"new-logo\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 73 18\\\"><path fill=\\\"#334BFA\\\" d=\\\"M15.915 0H2.274C1.018 0 0 1.007 0 2.25v13.5C0 16.993 1.018 18 2.274 18h13.642c1.256 0 2.274-1.007 2.274-2.25V2.25A2.263 2.263 0 0 0 15.915 0zm-4.396 3.3c0-.331.272-.6.606-.6s.606.269.606.6v8.016c0 .331-.272.6-.606.6s-.606-.269-.606-.6V3.3zm-3.031-.304c0-.331.272-.6.606-.6s.606.269.606.6v8.7c0 .331-.272.6-.606.6s-.606-.269-.606-.6v-8.7zM5.457 3.3c0-.331.272-.6.606-.6.335 0 .606.269.606.6v8.016c0 .331-.271.6-.606.6a.603.603 0 0 1-.606-.6V3.3zM2.426 4.5c0-.331.271-.6.606-.6.335 0 .606.269.606.6v5.396c0 .331-.272.6-.606.6a.603.603 0 0 1-.606-.6V4.5zm13.126 9.152c-.093.08-2.339 1.945-6.457 1.945s-6.364-1.865-6.457-1.945a.596.596 0 0 1-.066-.846.61.61 0 0 1 .853-.066c.035.029 2.041 1.657 5.67 1.657 3.674 0 5.649-1.639 5.668-1.655a.609.609 0 0 1 .854.065.595.595 0 0 1-.065.845zm.212-3.756c0 .331-.272.6-.606.6a.603.603 0 0 1-.606-.6V4.5c0-.331.271-.6.606-.6.335 0 .606.269.606.6v5.396z\\\"/><path d=\\\"M25.235 11.602c0 .3-.23.547-.556.547a.538.538 0 0 1-.547-.547V6.384c0-.3.23-.547.556-.547.318 0 .547.247.547.547v5.218zm7.134-5.218v4.768c0 .645-.344 1.007-.892 1.007h-.044c-.521 0-.768-.3-.989-.742l-1.113-2.163-.988-2.234.026 2.163.009 2.411c0 .3-.23.547-.556.547a.538.538 0 0 1-.547-.547V6.825c0-.592.344-1.007.945-1.007h.044c.556 0 .786.3 1.007.742l1.095 2.146.936 2.084-.026-1.996-.009-2.411c0-.3.23-.547.556-.547.317 0 .546.248.546.548zm4.424 5.209c0 .3-.23.547-.556.547a.538.538 0 0 1-.547-.547V6.869h-1.369a.503.503 0 0 1-.512-.521c0-.3.23-.512.512-.512h3.841c.283 0 .512.212.512.521 0 .3-.23.512-.512.512h-1.369v4.724zm3.32-.176V6.516c0-.459.256-.715.724-.698h3.179c.283 0 .512.221.512.521s-.23.512-.512.512h-2.808V8.37h2.481c.274 0 .494.203.494.494a.483.483 0 0 1-.494.494h-2.481v1.748h2.808c.283 0 .512.221.512.521 0 .3-.23.512-.512.512h-3.205c-.46.002-.716-.254-.698-.722zm10.684.009c.15.256.053.583-.256.742a.585.585 0 0 1-.777-.221l-1.227-2.269h-1.166l.009 1.925c0 .3-.23.547-.556.547a.538.538 0 0 1-.547-.547V6.516c0-.459.256-.715.724-.698h2.093c1.439 0 2.04.936 2.04 1.89 0 .909-.53 1.581-1.439 1.757l1.102 1.961zM47.371 8.68h1.748c.592 0 .901-.38.901-.918s-.327-.909-.909-.909h-1.739V8.68zm6.04 2.993c-.662-.592-.962-1.519-.962-2.684 0-1.174.291-2.093.945-2.675.406-.353.954-.592 1.748-.592.698 0 1.236.159 1.642.503.353.283.609.68.759 1.236.079.291-.124.583-.459.645-.318.053-.574-.15-.671-.441-.106-.283-.247-.486-.415-.627-.23-.203-.512-.291-.883-.291-.397 0-.742.115-.998.371-.371.371-.53 1.033-.53 1.872 0 .83.15 1.492.539 1.863.256.256.592.371.98.371.406 0 .715-.106.971-.344.132-.124.247-.283.327-.468.115-.274.353-.477.662-.406.309.071.503.371.406.662-.159.486-.433.874-.804 1.139-.406.291-.909.441-1.545.441-.812-.001-1.324-.24-1.712-.575zm5.377-2.684c0-1.978.812-3.267 2.728-3.267 1.898 0 2.72 1.254 2.72 3.267 0 2.04-.83 3.267-2.72 3.267-1.924 0-2.728-1.228-2.728-3.267zm4.318 0c0-1.501-.547-2.234-1.598-2.234-1.033 0-1.581.733-1.581 2.234s.53 2.234 1.581 2.234c1.042 0 1.598-.733 1.598-2.234zm9.695 2.604c0 .3-.23.547-.556.547a.538.538 0 0 1-.547-.547V9.227l.026-2.305-.768 2.34-.777 2.305c-.132.406-.406.565-.751.565-.362 0-.627-.168-.768-.574l-.795-2.296-.733-2.305.026 2.269v2.366c0 .3-.23.547-.556.547a.538.538 0 0 1-.547-.547V6.869c0-.653.353-1.033.971-1.033.583 0 .909.309 1.095.874l.812 2.411.494 1.642.503-1.642.812-2.411c.185-.565.503-.874 1.086-.874.618 0 .962.371.962 1.033l.011 4.724z\\\"/></svg>\",\n  \"new\": \"<svg width=\\\"48\\\" height=\\\"24\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><rect x=\\\".5\\\" y=\\\"8.5\\\" width=\\\"15\\\" height=\\\"15\\\" rx=\\\"2.5\\\" fill=\\\"#fff\\\" stroke=\\\"#222\\\"/><path d=\\\"M5.62 20v-5.339h.091L9.514 20h1.198v-7.75H9.38v5.338h-.091L5.486 12.25H4.283V20H5.62z\\\" fill=\\\"#222\\\"/><rect x=\\\"16.5\\\" y=\\\"4.5\\\" width=\\\"15\\\" height=\\\"15\\\" rx=\\\"2.5\\\" fill=\\\"#fff\\\" stroke=\\\"#222\\\"/><path d=\\\"M26.105 14.835h-3.63v-2.219h3.431v-1.1h-3.432V9.414h3.631V8.25h-5.017V16h5.017v-1.165z\\\" fill=\\\"#222\\\"/><rect x=\\\"32.5\\\" y=\\\".5\\\" width=\\\"15\\\" height=\\\"15\\\" rx=\\\"2.5\\\" fill=\\\"#fff\\\" stroke=\\\"#222\\\"/><path d=\\\"M39.957 6.452h.08L41.618 12h1.3l2.078-7.75h-1.434l-1.327 5.816h-.075L40.612 4.25h-1.23l-1.525 5.816h-.08L36.45 4.25h-1.445L37.083 12h1.306l1.568-5.548z\\\" fill=\\\"#222\\\"/></svg>\",\n  \"oauth\": {\n    \"two-way-arrow\": \"<svg width=\\\"32\\\" height=\\\"58\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M20.678 8.756v5.016H10v4.46h10.68v5.016c0 .756.496.996 1.12.476l8.474-6.808c.29-.276.456-.596.456-.916 0-.356-.166-.676-.456-.916L21.798 8.24c-.206-.16-.416-.24-.58-.24-.042.04-.124.04-.208.04-.206.116-.332.356-.332.716zM2 15.392v1.672h.004c.016.78.682 1.4 1.496 1.396h2.776V14h-2.78C2.666 14 2 14.636 2 15.392zm9.322 33.852v-5.016H22v-4.46H11.32v-5.016c0-.756-.496-.996-1.12-.476l-8.474 6.808c-.29.276-.456.596-.456.916 0 .356.166.676.456.916l8.476 6.844c.206.16.416.24.58.24.042-.04.124-.04.208-.04.206-.116.332-.356.332-.716zM30 42.608v-1.672h-.004c-.016-.78-.682-1.4-1.496-1.396h-2.776V44h2.78c.83 0 1.496-.636 1.496-1.392z\\\" fill=\\\"#888\\\"/></svg>\"\n  },\n  \"onboarding\": {\n    \"home\": {\n      \"auto-message-deleted\": \"<svg width=\\\"369\\\" height=\\\"272\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g filter=\\\"url(#filter0_dd)\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M307 238c16.569 0 30-13.431 30-30 0-16.569-13.431-30-30-30-16.569 0-30 13.431-30 30 0 16.569 13.431 30 30 30z\\\" fill=\\\"#888\\\"/></g><g filter=\\\"url(#filter1_d)\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M321 224s-4.714-1.739-8.527-3.132h-16.036c-1.898 0-3.437-1.53-3.437-3.417v-20.034c0-1.887 1.539-3.417 3.437-3.417h21.125c1.898 0 3.437 1.53 3.437 3.417v17.254l.001-.001V224zm-4.219-12.581c-.327-.503-.902-.56-1.282-.13-.029.033-2.99 3.311-8.499 3.311-5.441 0-8.448-3.254-8.501-3.313-.382-.43-.954-.37-1.28.132-.327.504-.283 1.261.098 1.693.141.158 3.509 3.888 9.683 3.888 6.174 0 9.542-3.73 9.683-3.888.381-.432.425-1.189.098-1.693z\\\" fill=\\\"#fff\\\"/></g><g filter=\\\"url(#filter2_d)\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M50 6a5 5 0 0 0-5 5v73.064L38 96h290a5 5 0 0 0 5-5V11a5 5 0 0 0-5-5H50z\\\" fill=\\\"#FDFDFE\\\"/><path d=\\\"M45 84.064l.431.253.069-.117v-.136H45zM38 96l-.431-.253-.442.753H38V96zm6.5-85v2.03h1V11h-1zm0 6.089v4.059h1v-4.06h-1zm0 8.118v4.059h1v-4.06h-1zm0 8.118v4.06h1v-4.06h-1zm0 8.118v4.06h1v-4.06h-1zm0 8.119v4.059h1v-4.06h-1zm0 8.118v4.059h1v-4.06h-1zm0 8.118v4.06h1v-4.06h-1zm0 8.118v4.06h1v-4.06h-1zm0 8.118v2.03h1v-2.03h-1zm.069 1.777l-.875 1.492.862.506.875-1.492-.862-.506zm-2.625 4.476l-1.75 2.984.862.506 1.75-2.984-.862-.506zm-3.5 5.968l-.875 1.492.862.506.875-1.492-.862-.506zM38 96.5h3v-1h-3v1zm9 0h3v-1h-3v1zm3 0h1.75v-1H50v1zm5.25 0h3.5v-1h-3.5v1zm7 0H64v-1h-1.75v1zm1.75 0h2v-1h-2v1zm6 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h4v-1h-4v1zm8 0h2v-1h-2v1zm2 0c.745 0 1.456-.148 2.105-.418l-.383-.923A4.479 4.479 0 0 1 328 95.5v1zm5.082-3.394c.27-.65.418-1.361.418-2.106h-1c0 .611-.122 1.192-.341 1.722l.923.384zM333.5 91v-2h-1v2h1zm0-6v-4h-1v4h1zm0-8v-4h-1v4h1zm0-8v-4h-1v4h1zm0-8v-4h-1v4h1zm0-8v-4h-1v4h1zm0-8v-4h-1v4h1zm0-8v-4h-1v4h1zm0-8v-4h-1v4h1zm0-8v-4h-1v4h1zm0-8v-2h-1v2h1zm0-2a5.47 5.47 0 0 0-.418-2.105l-.923.383c.219.53.341 1.11.341 1.722h1zm-3.395-5.082A5.481 5.481 0 0 0 328 5.5v1a4.48 4.48 0 0 1 1.722.341l.383-.923zM328 5.5h-1.986v1H328v-1zm-5.957 0h-3.972v1h3.972v-1zm-7.943 0h-3.971v1h3.971v-1zm-7.943 0h-3.971v1h3.971v-1zm-7.943 0h-3.971v1h3.971v-1zm-7.943 0H286.3v1h3.971v-1zm-7.942 0h-3.972v1h3.972v-1zm-7.943 0h-3.972v1h3.972v-1zm-7.943 0h-3.972v1h3.972v-1zm-7.943 0h-3.971v1h3.971v-1zm-7.943 0h-3.971v1h3.971v-1zm-7.943 0h-3.971v1h3.971v-1zm-7.943 0H230.7v1h3.971v-1zm-7.942 0h-3.972v1h3.972v-1zm-7.943 0h-3.972v1h3.972v-1zm-7.943 0h-3.972v1h3.972v-1zm-7.943 0h-3.971v1h3.971v-1zm-7.943 0h-3.971v1h3.971v-1zm-7.943 0h-3.971v1h3.971v-1zm-7.943 0H175.1v1h3.971v-1zm-7.942 0h-3.972v1h3.972v-1zm-7.943 0h-3.972v1h3.972v-1zm-7.943 0h-3.972v1h3.972v-1zm-7.943 0h-3.972v1h3.972v-1zm-7.943 0h-3.971v1h3.971v-1zm-7.943 0h-3.971v1h3.971v-1zm-7.943 0H119.5v1h3.971v-1zm-7.943 0h-3.971v1h3.971v-1zm-7.942 0h-3.972v1h3.972v-1zm-7.943 0H95.67v1h3.972v-1zm-7.943 0h-3.972v1H91.7v-1zm-7.943 0h-3.972v1h3.972v-1zm-7.943 0h-3.971v1h3.971v-1zm-7.943 0H63.9v1h3.971v-1zm-7.943 0h-3.971v1h3.971v-1zm-7.942 0H50v1h1.986v-1zM50 5.5c-.745 0-1.456.148-2.105.418l.383.923A4.485 4.485 0 0 1 50 6.5v-1zm-5.083 3.395A5.485 5.485 0 0 0 44.5 11h1c0-.611.121-1.193.341-1.722l-.924-.383z\\\" fill=\\\"#000\\\" fill-opacity=\\\".2\\\"/></g><path d=\\\"M108.096 55h1.638l1.736-7.896h2.828l.322-1.442h-7.294l-.322 1.442h2.828L108.096 55zm10.39 0h1.47l1.022-4.662c.028-.14.07-.434.07-.56 0-1.064-.812-1.708-2.072-1.708-.98 0-1.75.56-2.31 1.092l.77-3.5h-1.47L113.908 55h1.47l1.036-4.704c.448-.462 1.12-.924 1.806-.924.714 0 1.26.28 1.26.966 0 .098-.042.308-.07.42L118.486 55zm5.101-8.582c0 .434.35.784.826.784.462 0 1.022-.378 1.022-1.036 0-.42-.35-.784-.826-.784-.462 0-1.022.378-1.022 1.036zM121.865 55h1.47l1.498-6.762h-1.47L121.865 55zm3.125-1.036c.7.784 1.82 1.204 3.052 1.204 1.778 0 2.814-1.064 2.814-2.31 0-1.176-1.204-1.596-2.198-1.946-.7-.252-1.302-.462-1.302-.868 0-.448.434-.798 1.19-.798.84 0 1.68.448 2.002.896l.784-.966c-.56-.644-1.596-1.106-2.744-1.106-1.736 0-2.688 1.05-2.688 2.198 0 1.134 1.162 1.54 2.142 1.89.714.252 1.344.476 1.344.938 0 .476-.462.91-1.218.91-.994 0-1.932-.56-2.31-1.064l-.868 1.022zM143.729 55h1.47l1.036-4.662c.028-.14.07-.392.07-.56 0-1.106-.882-1.708-1.862-1.708-1.022 0-1.834.56-2.366 1.218v-.028c0-.28-.518-1.19-1.792-1.19-.98 0-1.708.672-2.086 1.092l.21-.924h-1.47L135.441 55h1.47l1.036-4.718c.406-.448.994-.91 1.582-.91.686 0 1.05.378 1.064.826 0 .224-.028.336-.056.49L139.585 55h1.47l1.036-4.718c.406-.462 1.008-.91 1.596-.91.56 0 1.05.336 1.05.896 0 .182-.042.35-.056.42L143.729 55zm3.64-2.856c0 1.862 1.316 3.024 3.416 3.024.854 0 1.75-.28 2.38-.742l-.462-1.022c-.476.364-1.19.56-1.806.56-1.372 0-2.058-.854-2.058-1.624l.014-.238h5.236c.056-.21.126-.672.126-1.036 0-1.82-1.232-2.996-2.982-2.996-2.212 0-3.864 1.862-3.864 4.074zm5.516-1.078h-3.878c.182-.938 1.036-1.792 2.114-1.792 1.19 0 1.778.728 1.778 1.596 0 .056 0 .154-.014.196zm1.759 2.898c.7.784 1.82 1.204 3.052 1.204 1.778 0 2.814-1.064 2.814-2.31 0-1.176-1.204-1.596-2.198-1.946-.7-.252-1.302-.462-1.302-.868 0-.448.434-.798 1.19-.798.84 0 1.68.448 2.002.896l.784-.966c-.56-.644-1.596-1.106-2.744-1.106-1.736 0-2.688 1.05-2.688 2.198 0 1.134 1.162 1.54 2.142 1.89.714.252 1.344.476 1.344.938 0 .476-.462.91-1.218.91-.994 0-1.932-.56-2.31-1.064l-.868 1.022zm6.604 0c.7.784 1.82 1.204 3.052 1.204 1.778 0 2.814-1.064 2.814-2.31 0-1.176-1.204-1.596-2.198-1.946-.7-.252-1.302-.462-1.302-.868 0-.448.434-.798 1.19-.798.84 0 1.68.448 2.002.896l.784-.966c-.56-.644-1.596-1.106-2.744-1.106-1.736 0-2.688 1.05-2.688 2.198 0 1.134 1.162 1.54 2.142 1.89.714.252 1.344.476 1.344.938 0 .476-.462.91-1.218.91-.994 0-1.932-.56-2.31-1.064l-.868 1.022zm12.903-4.76c-.448-.7-1.274-1.134-2.24-1.134-2.254 0-3.556 2.198-3.556 4.312 0 1.778 1.05 2.786 2.59 2.786.854 0 1.554-.378 2.114-1.064l-.196.896h1.47l1.498-6.762h-1.47l-.21.966zm-4.256 2.884c0-1.414.91-2.716 2.24-2.716.826 0 1.47.406 1.778.924l-.588 2.618c-.392.532-1.05.952-1.764.952-.98 0-1.666-.686-1.666-1.778zm5.951 4.494c.77.868 1.848 1.162 3.164 1.162 1.456 0 2.996-.672 3.514-3.094l1.428-6.412h-1.47l-.224.966c-.49-.672-1.4-1.134-2.254-1.134-2.198 0-3.514 2.072-3.514 4.158 0 1.946 1.176 2.772 2.562 2.772.882 0 1.638-.42 2.17-1.078l-.168.728c-.322 1.456-1.162 1.89-2.072 1.89-.938 0-1.806-.308-2.254-.938l-.882.98zm5.628-3.794c-.42.504-1.092.91-1.764.91-1.022 0-1.694-.672-1.694-1.736 0-1.358.868-2.59 2.156-2.59.798 0 1.498.364 1.848.966l-.546 2.45zm3.151-.644c0 1.862 1.316 3.024 3.416 3.024.854 0 1.75-.28 2.38-.742l-.462-1.022c-.476.364-1.19.56-1.806.56-1.372 0-2.058-.854-2.058-1.624l.014-.238h5.236c.056-.21.126-.672.126-1.036 0-1.82-1.232-2.996-2.982-2.996-2.212 0-3.864 1.862-3.864 4.074zm5.516-1.078h-3.878c.182-.938 1.036-1.792 2.114-1.792 1.19 0 1.778.728 1.778 1.596 0 .056 0 .154-.014.196zM201.642 55h1.54l3.598-6.762h-1.582l-2.52 4.914-.504-4.914h-1.302l-2.702 4.914-.336-4.914h-1.47l.602 6.762h1.54l2.66-4.956.476 4.956zm10.708-5.796c-.448-.7-1.274-1.134-2.24-1.134-2.254 0-3.556 2.198-3.556 4.312 0 1.778 1.05 2.786 2.59 2.786.854 0 1.554-.378 2.114-1.064l-.196.896h1.47l1.498-6.762h-1.47l-.21.966zm-4.256 2.884c0-1.414.91-2.716 2.24-2.716.826 0 1.47.406 1.778.924l-.588 2.618c-.392.532-1.05.952-1.764.952-.98 0-1.666-.686-1.666-1.778zm6.091 1.876c.7.784 1.82 1.204 3.052 1.204 1.778 0 2.814-1.064 2.814-2.31 0-1.176-1.204-1.596-2.198-1.946-.7-.252-1.302-.462-1.302-.868 0-.448.434-.798 1.19-.798.84 0 1.68.448 2.002.896l.784-.966c-.56-.644-1.596-1.106-2.744-1.106-1.736 0-2.688 1.05-2.688 2.198 0 1.134 1.162 1.54 2.142 1.89.714.252 1.344.476 1.344.938 0 .476-.462.91-1.218.91-.994 0-1.932-.56-2.31-1.064l-.868 1.022zm16.499-4.76c-.448-.7-1.274-1.134-2.24-1.134-2.254 0-3.556 2.198-3.556 4.312 0 1.778 1.05 2.786 2.59 2.786.854 0 1.554-.378 2.114-1.064l-.196.896h1.47l2.072-9.338h-1.47l-.784 3.542zm-4.256 2.884c0-1.414.91-2.716 2.24-2.716.826 0 1.47.406 1.778.924l-.588 2.618c-.392.532-1.05.952-1.764.952-.98 0-1.666-.686-1.666-1.778zm6.609.056c0 1.862 1.316 3.024 3.416 3.024.854 0 1.75-.28 2.38-.742l-.462-1.022c-.476.364-1.19.56-1.806.56-1.372 0-2.058-.854-2.058-1.624l.014-.238h5.236c.056-.21.126-.672.126-1.036 0-1.82-1.232-2.996-2.982-2.996-2.212 0-3.864 1.862-3.864 4.074zm5.516-1.078h-3.878c.182-.938 1.036-1.792 2.114-1.792 1.19 0 1.778.728 1.778 1.596 0 .056 0 .154-.014.196zM240.564 55h1.47l2.058-9.338h-1.47L240.564 55zm3.643-2.856c0 1.862 1.316 3.024 3.416 3.024.854 0 1.75-.28 2.38-.742l-.462-1.022c-.476.364-1.19.56-1.806.56-1.372 0-2.058-.854-2.058-1.624l.014-.238h5.236c.056-.21.126-.672.126-1.036 0-1.82-1.232-2.996-2.982-2.996-2.212 0-3.864 1.862-3.864 4.074zm5.516-1.078h-3.878c.182-.938 1.036-1.792 2.114-1.792 1.19 0 1.778.728 1.778 1.596 0 .056 0 .154-.014.196zm2.627 2.73c0 .938.714 1.372 1.806 1.372.42 0 .826-.112 1.078-.308l-.084-1.176c-.112.098-.35.182-.56.182-.448 0-.672-.224-.672-.602 0-.098.014-.196.028-.266l.77-3.486h1.372l.294-1.274h-1.372l.406-1.848h-1.47l-.406 1.848h-1.12l-.294 1.274h1.12l-.854 3.85c-.028.154-.042.35-.042.434zm4.121-1.652c0 1.862 1.316 3.024 3.416 3.024.854 0 1.75-.28 2.38-.742l-.462-1.022c-.476.364-1.19.56-1.806.56-1.372 0-2.058-.854-2.058-1.624l.014-.238h5.236c.056-.21.126-.672.126-1.036 0-1.82-1.232-2.996-2.982-2.996-2.212 0-3.864 1.862-3.864 4.074zm5.516-1.078h-3.878c.182-.938 1.036-1.792 2.114-1.792 1.19 0 1.778.728 1.778 1.596 0 .056 0 .154-.014.196zm8.059-1.862c-.448-.7-1.274-1.134-2.24-1.134-2.254 0-3.556 2.198-3.556 4.312 0 1.778 1.05 2.786 2.59 2.786.854 0 1.554-.378 2.114-1.064l-.196.896h1.47l2.072-9.338h-1.47l-.784 3.542zm-4.256 2.884c0-1.414.91-2.716 2.24-2.716.826 0 1.47.406 1.778.924l-.588 2.618c-.392.532-1.05.952-1.764.952-.98 0-1.666-.686-1.666-1.778zm6.301 2.17c0 .49.392.896.896.896.574 0 1.064-.476 1.064-1.05a.894.894 0 0 0-.882-.91c-.588 0-1.078.476-1.078 1.064z\\\" fill=\\\"#888\\\"/><rect y=\\\"63\\\" width=\\\"32\\\" height=\\\"32\\\" rx=\\\"16\\\" fill=\\\"#D8D8D8\\\"/><mask id=\\\"a\\\" maskUnits=\\\"userSpaceOnUse\\\" x=\\\"0\\\" y=\\\"63\\\" width=\\\"32\\\" height=\\\"32\\\"><rect y=\\\"63\\\" width=\\\"32\\\" height=\\\"32\\\" rx=\\\"16\\\" fill=\\\"#fff\\\"/></mask><g mask=\\\"url(#a)\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M3.104 92.782c0-1.543.569-9.148 9.923-10.703-1.524-1.524-2.319-3.476-2.319-6.463 0-1.973.091-6.666 5.351-6.666 5.111 0 5.35 4.693 5.35 6.666 0 2.987-.888 5.06-2.384 6.463 9.594 2.242 9.81 8.725 9.81 10.703V95H3.105v-2.218z\\\" fill=\\\"#fff\\\"/></g><g filter=\\\"url(#filter3_dd)\\\"><rect x=\\\"42\\\" y=\\\"107\\\" width=\\\"295\\\" height=\\\"52\\\" rx=\\\"5\\\" fill=\\\"#F0F3F5\\\"/></g><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M276 126a9 9 0 1 0 0 18 9 9 0 0 0 0-18zm0 1c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8zm-3 7a1 1 0 1 1 .001-2.001A1 1 0 0 1 273 134zm4.999-1.001a1.001 1.001 0 0 0 2.001 0 1 1 0 0 0-2.001 0zm-2.299 6.494c.086.005.172.007.258.007 1.514 0 2.992-.722 4.398-2.149l.352-.356-.713-.702-.351.356c-1.272 1.292-2.575 1.918-3.881 1.846-1.988-.103-3.358-1.789-3.371-1.807l-.311-.389-.782.62.31.392v.001c.071.088 1.654 2.049 4.091 2.181zm40.454-6.575l-.004.003.001-.004-3.287 3.286-.006-.005-3.574 3.574c-.016.017-.031.036-.048.053l-.051.047-.042.041-.001-.002c-1.166 1.07-2.691 1.331-3.822.2-1.13-1.13-.891-2.677.179-3.843l-.004-.004.074-.073.016-.018c.006-.005.012-.009.017-.016l6.053-6.053.761.76-6.053 6.054-.029.028v.001l-.005.004-.073.074c.011-.011.025-.018.035-.03-.688.75-.93 1.636-.21 2.356.719.719 1.583.456 2.333-.232-.011.01-.02.023-.031.034l.041-.042.009-.008.009-.009.033-.031.031-.033.009-.009.008-.009 5.004-5.003.005.006 1.858-1.859c1.223-1.218 1.51-2.913.291-4.132-1.219-1.218-3.267-1.285-4.486-.066l-6.947 6.947.008-.004c-1.625 1.667-1.542 4.429.103 6.074 1.646 1.646 4.474 1.795 6.141.17-.003.002-.004.008-.008.012l.047-.047 6.053-6.054.042-.042.743.779c-.008.009-.017.015-.025.022l.001.002-6.05 6.05-.002.002-.002.001-.046.046-.002-.001c-2.094 2.041-5.578 1.895-7.652-.179-2.049-2.049-2.15-5.407-.183-7.505l-.006-.005-.002-.001.076-.077 6.943-6.944.003-.002.004-.005c1.641-1.64 4.367-1.574 6.008.066 1.64 1.642 1.353 4.014-.288 5.655z\\\" fill=\\\"#A6ADB5\\\"/><path d=\\\"M65.328 137.102h1.89l-2.282-3.668c1.12-.182 2.212-1.078 2.212-2.744 0-1.722-1.204-2.926-3.052-2.926h-4.102v9.338h1.638v-3.486h1.624l2.072 3.486zm.14-6.412c0 .896-.672 1.484-1.596 1.484h-2.24v-2.968h2.24c.924 0 1.596.588 1.596 1.484zm2.431 3.024c0 2.142 1.512 3.556 3.542 3.556 1.078 0 2.072-.336 2.744-.98l-.672-.966c-.476.476-1.26.742-1.918.742-1.274 0-2.044-.84-2.156-1.862h5.222v-.35c0-2.128-1.302-3.682-3.332-3.682-2.002 0-3.43 1.582-3.43 3.542zm3.43-2.338c1.33 0 1.876.994 1.904 1.792h-3.808c.07-.826.644-1.792 1.904-1.792zm6.253 8.302v-3.514c.546.728 1.316 1.106 2.17 1.106 1.75 0 2.996-1.33 2.996-3.556s-1.246-3.542-2.996-3.542c-.882 0-1.666.42-2.17 1.092v-.924h-1.47v9.338h1.47zm3.64-5.964c0 1.316-.742 2.254-1.904 2.254-.686 0-1.414-.42-1.736-.91v-2.674c.322-.504 1.05-.91 1.736-.91 1.162 0 1.904.938 1.904 2.24zm3.011 3.388h1.47v-9.338h-1.47v9.338zm3.307 1.33l-.224 1.316c.21.056.616.098.826.098 1.05-.014 1.862-.378 2.324-1.526l3.262-7.98h-1.582l-1.974 5.068-1.974-5.068H86.63l2.772 6.846-.336.77c-.196.448-.504.588-.966.588-.168 0-.406-.042-.56-.112zm12.737-1.162c.686 0 1.12-.182 1.386-.434l-.35-1.106c-.112.126-.378.238-.658.238-.42 0-.644-.336-.644-.798v-3.542h1.372v-1.288h-1.372v-1.848h-1.47v1.848h-1.12v1.288h1.12v3.906c0 1.12.602 1.736 1.736 1.736zm5.493 0c2.17 0 3.486-1.61 3.486-3.556 0-1.932-1.316-3.542-3.486-3.542-2.142 0-3.472 1.61-3.472 3.542 0 1.946 1.33 3.556 3.472 3.556zm0-1.302c-1.246 0-1.946-1.05-1.946-2.254 0-1.19.7-2.24 1.946-2.24 1.26 0 1.96 1.05 1.96 2.24 0 1.204-.7 2.254-1.96 2.254zm4.681.308c0 .532.448.98.98.98s.98-.448.98-.98a.992.992 0 0 0-.98-.98.992.992 0 0 0-.98.98zm3.431 0c0 .532.448.98.98.98s.98-.448.98-.98a.992.992 0 0 0-.98-.98.992.992 0 0 0-.98.98zm3.432 0c0 .532.448.98.98.98s.98-.448.98-.98a.992.992 0 0 0-.98-.98.992.992 0 0 0-.98.98z\\\" fill=\\\"#A6ADB5\\\"/><defs><filter id=\\\"filter0_dd\\\" x=\\\"245\\\" y=\\\"148\\\" width=\\\"124\\\" height=\\\"124\\\" filterUnits=\\\"userSpaceOnUse\\\" color-interpolation-filters=\\\"sRGB\\\"><feFlood flood-opacity=\\\"0\\\" result=\\\"BackgroundImageFix\\\"/><feColorMatrix in=\\\"SourceAlpha\\\" values=\\\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\\\"/><feOffset dy=\\\"1\\\"/><feGaussianBlur stdDeviation=\\\"3\\\"/><feColorMatrix values=\\\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\\\"/><feBlend in2=\\\"BackgroundImageFix\\\" result=\\\"effect1_dropShadow\\\"/><feColorMatrix in=\\\"SourceAlpha\\\" values=\\\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\\\"/><feOffset dy=\\\"2\\\"/><feGaussianBlur stdDeviation=\\\"16\\\"/><feColorMatrix values=\\\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0\\\"/><feBlend in2=\\\"effect1_dropShadow\\\" result=\\\"effect2_dropShadow\\\"/><feBlend in=\\\"SourceGraphic\\\" in2=\\\"effect2_dropShadow\\\" result=\\\"shape\\\"/></filter><filter id=\\\"filter1_d\\\" x=\\\"290\\\" y=\\\"193\\\" width=\\\"34\\\" height=\\\"36\\\" filterUnits=\\\"userSpaceOnUse\\\" color-interpolation-filters=\\\"sRGB\\\"><feFlood flood-opacity=\\\"0\\\" result=\\\"BackgroundImageFix\\\"/><feColorMatrix in=\\\"SourceAlpha\\\" values=\\\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\\\"/><feOffset dy=\\\"2\\\"/><feGaussianBlur stdDeviation=\\\"1.5\\\"/><feColorMatrix values=\\\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0\\\"/><feBlend in2=\\\"BackgroundImageFix\\\" result=\\\"effect1_dropShadow\\\"/><feBlend in=\\\"SourceGraphic\\\" in2=\\\"effect1_dropShadow\\\" result=\\\"shape\\\"/></filter><filter id=\\\"filter2_d\\\" x=\\\"31.127\\\" y=\\\".5\\\" width=\\\"308.373\\\" height=\\\"103\\\" filterUnits=\\\"userSpaceOnUse\\\" color-interpolation-filters=\\\"sRGB\\\"><feFlood flood-opacity=\\\"0\\\" result=\\\"BackgroundImageFix\\\"/><feColorMatrix in=\\\"SourceAlpha\\\" values=\\\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\\\"/><feOffset dy=\\\"1\\\"/><feGaussianBlur stdDeviation=\\\"3\\\"/><feColorMatrix values=\\\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0\\\"/><feBlend in2=\\\"BackgroundImageFix\\\" result=\\\"effect1_dropShadow\\\"/><feBlend in=\\\"SourceGraphic\\\" in2=\\\"effect1_dropShadow\\\" result=\\\"shape\\\"/></filter><filter id=\\\"filter3_dd\\\" x=\\\"30\\\" y=\\\"96\\\" width=\\\"319\\\" height=\\\"76\\\" filterUnits=\\\"userSpaceOnUse\\\" color-interpolation-filters=\\\"sRGB\\\"><feFlood flood-opacity=\\\"0\\\" result=\\\"BackgroundImageFix\\\"/><feColorMatrix in=\\\"SourceAlpha\\\" values=\\\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\\\"/><feOffset dy=\\\"1\\\"/><feGaussianBlur stdDeviation=\\\"6\\\"/><feColorMatrix values=\\\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.12 0\\\"/><feBlend in2=\\\"BackgroundImageFix\\\" result=\\\"effect1_dropShadow\\\"/><feColorMatrix in=\\\"SourceAlpha\\\" values=\\\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\\\"/><feOffset/><feGaussianBlur stdDeviation=\\\"2\\\"/><feColorMatrix values=\\\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0\\\"/><feBlend in2=\\\"effect1_dropShadow\\\" result=\\\"effect2_dropShadow\\\"/><feBlend in=\\\"SourceGraphic\\\" in2=\\\"effect2_dropShadow\\\" result=\\\"shape\\\"/></filter></defs></svg>\",\n      \"auto-message-step-arrow\": \"<svg width=\\\"118\\\" height=\\\"22\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g fill-rule=\\\"evenodd\\\"><path d=\\\"M4.6 9.3s-.1-.2 0 0c.2.5.1.3 0 .2-.1-.1 0 0 0 .1s.1.2 0-.1c-.1-.3-.1-.3 0 .1 0 .1.1.1 0 .1-.1-.3.1.2-.1-.1-.2-.3-.1-.2 0 .1 0 .1 0 0 0 0s-.2-.3 0 0c0 .1 0 .1 0 0 0 0 0 .1 0 0-.2-.5-.1-.2-.1-.1s0 .2-.1-.2c0-.1 0 0 0 0s.1.3-.1-.1v.1-.1c-.1-.2-.1-.3-.1-.2 0 .1.1.2 0 .1s0-.1 0 0c.2.4.1.2.1.3 0 .1-.1-.2 0 0-.2-.4 0 0 0 .2l-.1-.2v.1L4 9.5c0 .1.1.3 0 0-.1-.2 0-.1-.1-.1s-.1-.1 0 0 0 .1 0 .1l.1-.3s0-.1.1.2c.1.3.1.2 0 .1-.1-.2 0-.1 0 .1s0 .1-.1-.2c-.1-.3-.2-.3-.1-.2.1.1 0 0 0 0l.1.3c0 .1.1.2.1.3L4 9.7l-.1-.1c-.1-.1-.1-.1 0 .1l-.1-.2v-.1s0 .1 0 0c.2.4.1.2 0 .1v-.1c0-.1 0-.1 0 0s.1.1.1.2c0-.1 0 .1-.1-.1v-.1l.1.2c0 .1-.1-.2 0 0s.1.1 0 .1c-.1-.3-.1-.2 0-.1s.1.2 0 .1c0 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0-2.5c.2-.1.2-.1.3 0l-.1.1-.2-.1c0 .1.1.1 0 0 .1.1 0 .2 0 0 .2 0 .1.1 0 0v.3-.3l-.1.3c0-.1-.1.1 0-.1.1 0 .1-.1.1-.2l-.1.3s0-.1 0 0c0-.1 0-.1 0 0s0-.1-.1 0v-.1l.2-.2zm-1 2.7c.1-.1.1-.2.1-.1s0 0 .1-.2c0 .1 0 .1-.1.2-.1.2.2-.3.1-.1-.1.2-.1.2 0 0v.1c0 .1.1-.1 0 0l-.1.2v-.1c.1-.2 0-.1.1-.1v.1c-.1.2-.1.2 0 0l.1-.1-.1.2v-.1.1h-.1s0 .1-.1-.1z\\\" fill-rule=\\\"nonzero\\\"/></g></svg>\",\n      \"invite-link\": \"<svg width=\\\"60\\\" height=\\\"40\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M54.679 7.904A7 7 0 0152 15.744a11 11 0 017 10.25v7a1 1 0 01-1 1H43v2a1 1 0 01-1 1H26v-2h15v-6a9 9 0 10-18 0v8h-2v-8a11 11 0 017.05-10.24 7 7 0 117.95 0c.94.375 1.825.876 2.63 1.49a10.93 10.93 0 015.37-4.5 7 7 0 1110.679-7.84zM32 8a5 5 0 100 10 5 5 0 000-10zm11 2a5 5 0 1110 0 5 5 0 01-10 0zm9.85 22.006a4 4 0 004-4v-1.66a9.22 9.22 0 00-8.7-9.34 8.93 8.93 0 00-8.15 4.64 10.94 10.94 0 012.85 7.36v3h10zM10.339 16.378v2.508H5v2.23h5.34v2.508c0 .378.248.498.56.238l4.237-3.404c.145-.138.228-.298.228-.458a.59.59 0 00-.228-.458l-4.238-3.422a.504.504 0 00-.29-.12c-.021.02-.062.02-.104.02-.103.058-.166.178-.166.358zM1 19.696v.836h.002c.008.39.341.7.748.698h1.388V19h-1.39c-.415 0-.748.318-.748.696z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n      \"redirect-arrow\": \"<svg width=\\\"136\\\" height=\\\"118\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M67.165 76.658a1.798 1.798 0 0 1-.262-.082s.278.118.425.147l.25.058a3.328 3.328 0 0 0-.22-.089s-.095-.018-.193-.034zM41.916 40.3a.673.673 0 0 0 .098-.063l-.098.063zm-.26.149c.092-.048.19-.106.26-.15a7.345 7.345 0 0 1-.415.223l-.15.087.305-.16zM8.986 19.666l.076.075-.063-.084c-.079-.103-.173-.181-.245-.2.077.056.16.128.232.209zm.186.184l.112.11-.078-.114c-.007.009-.021.008-.032.004h-.002zm26.6 2.152l-.001-.001-.027.083.029-.082zm9.558 3.326c.032.076.074.162.115.237l-.041-.097c-.07-.134-.099-.206-.074-.14zm26.01 52.546l-.027.037.133.053-.106-.09zm-3.637-2.76c.02-.001.049-.001.108.001a.342.342 0 0 0-.108-.001zM32.895 28.806c.006-.029.004-.05.01-.08a.358.358 0 0 0-.01.08zm1.594-3.486c-.021.008-.037.028-.048.066.014.017.026.043.048.056.012-.07.03-.103.047-.113l.072-.128a.862.862 0 0 0-.118.119zM70.1 77.11c-.008-.016-.033-.035-.07-.053.008.013.076.062.07.052h0zM35.295 23.03l.034-.053-.034.053zm.251-.42c.076-.157.122-.294.162-.418a3.395 3.395 0 0 1-.379.785c.081-.117.154-.24.217-.367zm.162-.418c.023-.065.035-.109.035-.109l-.035.11zm-24.778-.07c-.038-.047-.081-.086-.123-.126-.03.004-.052.018-.04.055.054-.004.107.012.163.072zm28.166-3.753c.028.037.085.068.14.1-.002-.018-.03-.046-.14-.099h0zm8.805 9.885v.026c.042.15.026.064 0-.026zm68.303 75.7c-.013.007-.01.019-.017.027.046.009.064.007.016-.026l.001-.001zM10.844 21.988a1.185 1.185 0 0 0-.222-.162l.185.17c.012-.003.023-.007.037-.008zm89.789 74.782l-.401-.277c.535.51-.479-.194-.594-.064.185.045.384.096.583.203.137.075.284.131.429.191.035.014.069.032.103.047l-.12-.1zm-11.732-6.404c.079.056.173.13.259.2.038.006.074.015.12.021a4.614 4.614 0 0 0-.379-.22zM9.061 20.032a.275.275 0 0 0-.13-.064l.033.048c.16.207.323.415.487.622 0-.127-.072-.358-.39-.606zm37.193 8.002c-.003-.06-.009-.117-.007-.174a.862.862 0 0 1-.205-.274.657.657 0 0 0 .212.126l.007-.1c.01-.153.02-.297-.002-.393-.045-.2-.115-.397-.185-.594a9.436 9.436 0 0 1-.12-.347 1.433 1.433 0 0 0-.2-.323 6.876 6.876 0 0 1-.121-.172c-.012.015-.026.026-.028.065l.117.228c-.115.068-.18-.271-.276-.513.065.119.14.242.167.238l-.127-.267-.013-.031c-.013-.026-.028-.049-.041-.076-.1-.243-.22-.469-.34-.699l-.241-.476c-.057-.113-.12-.226-.18-.337-.055-.065-.107-.115-.162-.2-.105-.168-.188-.322-.265-.458-.082-.117-.158-.236-.245-.35-.2-.254-.41-.498-.633-.733-.138-.148-.293-.272-.45-.401a8.424 8.424 0 0 1-.257-.213 1.589 1.589 0 0 1-.258-.293 3.016 3.016 0 0 1-.486-.19c-.33-.19-.52-.409-.653-.497-.068-.049-.07-.028-.105-.036l-.32-.074c.01-.054.067-.075.152-.072.07.002.245.036.256.048.055-.016.3.35.696.59.186.098.306.127.385.12-.02-.03-.043-.06-.06-.09a1.938 1.938 0 0 1-.259-.13c-.307-.21-.494-.424-.614-.529l-.066-.033-.082-.044-.811-.223c-.3-.061-.6-.102-.903-.157-.37-.038-.717-.073-.901-.032l-.441.23c-.195-.032-.522.024-.743.048-.224.028-.393.099-.417.156l-.508.438c-.146.113-.297.308-.523.448.088.01.067.12-.012.275-.027.062-.128.2-.131.229-.027.08-.056.167-.083.258-.032-.105-.089-.033-.148.07-.06.103-.127.232-.137.117-.002.142-.101.459-.211.675l-.275.54c-.083.134-.175.582-.323.522.054.041.078.125.07.251a1.507 1.507 0 0 1-.112.446c-.12.294-.257.535-.246.676a.273.273 0 0 0 .05.088c-.03.088-.019.248-.006.473.015.252-.002.504-.051.75l-.087.534-.03.292c-.02.126-.045.24-.071.341.114-.143.09.108.078.312l-.004.15c-.002.1-.005.204-.009.298-.011.178-.019.304-.006.372-.005-.072-.008-.266-.04-.224-.089.127-.088.377-.038.513.044.137.159.39.17.682-.017.184-.092.106-.12.18.006.032.017.064.023.098l.004.094c.075.05.222.245.39.887.075.589-.026.844-.072.941l.014.047c.015.064.012.134.02.2l.143.225c.13.203.22.428.267.664.072.546-.011.844.02.883l.267.727.078.209c.017.036.005.014.022.049.027.05.098.146.198.283.14.18.254.38.335.594.09.255.112.451.136.61.054.365.041.268.21.615l.201.384c.066.12.147.276.189.321-.007-.013-.066-.009-.158-.089l-.179-.145c.11.632.368.75.584.94l.17.136c.043.01.084.025.121.047.087.054.188.132.384.45.102.165.225.426.286.621.066.198.104.359.138.473l.042.14c.009.027.003.016.024.063l.004.009c.063-.026.132-.043.198-.069l.116-.044.01-.018a.702.702 0 0 1 .073-.012c.066-.025.13-.051.198-.074.169-.055.347-.09.526-.122.151-.02.3-.056.442-.108l.308-.126c.206-.083.412-.165.602-.266l.002-.002c.01-.03.076-.077.203-.136l.175-.142c.135-.114.27-.224.417-.32l.172-.108c.22-.139.441-.278.646-.435.07-.051.144-.168.223-.291.108-.182.239-.348.39-.495a2.24 2.24 0 0 1 .544-.34c.123-.061.251-.124.308-.186.105-.113.221-.219.338-.324.129-.119.261-.235.366-.369.099-.128.17-.278.246-.427l.04-.074c.035-.12.085-.252.168-.393l.044-.068-.036.073c-.027.06-.04.115-.057.173.026-.049.051-.101.08-.147.072-.115.131-.268.192-.432.06-.159.12-.317.197-.466.077-.15.122-.31.171-.469.044-.146.09-.293.147-.437.095-.238.252-.414.392-.568.074-.083.176-.195.193-.251.046-.155.058-.321.074-.487.014-.162.032-.326.062-.484.035-.175.041-.353.05-.532.005-.147.012-.294.029-.439a2.15 2.15 0 0 0-.024-.442 3.442 3.442 0 0 1-.037-.53c.004-.17.027-.34.051-.51.024-.166.048-.323.04-.458a11.2 11.2 0 0 0-.103-.965c-.007-.05-.005-.093-.007-.14l-.032-.06c.011.01.018.012.029.019h0zm-8.319 15.455a.198.198 0 0 0-.006-.02l-.005-.006c.002.008.01.018.01.025h.001zm51.136 48.176l-.043-.008.051.04c-.007-.011-.002-.022-.008-.032zm2.38 1.359l.054.033-.02.006c.014 0 .038.016.058.032l-.026-.029-.012-.009h.003a.835.835 0 0 0-.154-.128l-.181-.101c-.119-.015-.252-.02-.393-.034.307.104.551.16.67.23zm-.187.167a.22.22 0 0 0 .087-.062l-.025.014-.33-.093c.015.045.114.108.268.14zm32.696 14.978c-.078.05-.154.102-.23.155-.23.169-.478.315-.739.433-.242.1-.491.182-.745.244-.12.029-.239.063-.357.101-.104.032-.202.092-.304.147a3.122 3.122 0 0 1-.744.313 6.042 6.042 0 0 1-.696.113c-.138.018-.277.033-.414.061a7.216 7.216 0 0 0-.407.09c-.223.058-.45.105-.678.143-.229.029-.46.042-.691.039-.138.001-.278 0-.414.016-.225.022-.452.03-.678.022-.14-.002-.283-.006-.422.008-.064.007-.19.058-.301.103-.205.082-.458.185-.758.211-.197.017-.395.03-.593.039-.165.008-.326.015-.486.029-.292.025-.558-.019-.77-.054a1.694 1.694 0 0 0-.309-.037c-.167.018-.327.058-.481.095-.18.046-.363.082-.547.109a.842.842 0 0 1-.918-1.038.807.807 0 0 1 .384-.502.809.809 0 0 1 .306-.102c.12-.016.241-.046.369-.077.226-.054.462-.109.709-.131.276-.026.524.014.743.05.139.024.271.046.352.038.179-.015.359-.024.545-.034.174-.009.352-.017.531-.033.052-.005.188-.058.285-.098.204-.084.457-.186.753-.215a5.72 5.72 0 0 1 .615-.016c.151.002.304.007.453-.011.2-.023.402-.026.605-.028.152-.001.303.002.454-.021.179-.027.357-.07.534-.113.163-.039.325-.079.488-.109a7.79 7.79 0 0 1 .521-.077c.173-.021.344-.04.504-.078.093-.022.219-.091.354-.164.067-.037.135-.059.202-.093a1.729 1.729 0 0 1-.345-.149l-.139-.105-.016-.011a2.608 2.608 0 0 1-.275-.229 1.33 1.33 0 0 0-.267-.202l-.983-.398c-.158-.025-.324-.046-.511-.077l.012-.093c-.098-.029-.194-.065-.291-.099-.051.001-.101.005-.121.005.016-.011.013-.027-.002-.046-.03-.011-.063-.019-.095-.033a1.528 1.528 0 0 0-.375-.066 2.367 2.367 0 0 1-.685-.145 2.425 2.425 0 0 1-.586-.372c-.118-.091-.23-.179-.322-.218-.14-.058-.287-.096-.435-.136a4.542 4.542 0 0 1-.582-.189 4.731 4.731 0 0 1-.538-.28 4.154 4.154 0 0 0-.406-.215 4.012 4.012 0 0 1-.546-.299c-.067-.042-.136-.075-.203-.114-.014-.003-.026-.002-.042-.006-.267-.072-.476-.217-.491-.221-.031-.011-.063-.024-.095-.034a5.9 5.9 0 0 1-.563-.203c-.126-.058-.266-.084-.405-.116a3.274 3.274 0 0 1-.624-.189 2.755 2.755 0 0 1-.567-.371 1.87 1.87 0 0 0-.332-.228c-.08-.037-.216-.054-.36-.072-.215-.027-.46-.057-.701-.172a2.345 2.345 0 0 1-.574-.414 1.595 1.595 0 0 0-.299-.235 8.164 8.164 0 0 0-.442-.19 7.982 7.982 0 0 1-.537-.233 19.247 19.247 0 0 1-.515-.266 15.858 15.858 0 0 0-.43-.223c-.127-.064-.266-.102-.405-.143a3.513 3.513 0 0 1-.603-.221 3.678 3.678 0 0 1-.532-.351c-.116-.088-.233-.178-.361-.245a6.606 6.606 0 0 1-.505-.297c-.134-.086-.269-.172-.411-.246-.166-.088-.331-.18-.494-.274a7.622 7.622 0 0 0-.875-.45 7.985 7.985 0 0 1-.521-.25c-.109-.058-.216-.124-.321-.19-.576-.257-1.129-.51-1.672-.826a2.509 2.509 0 0 0-.268-.075 2.493 2.493 0 0 1-.653-.222 2.537 2.537 0 0 1-.54-.432 1.64 1.64 0 0 0-.298-.25 5.066 5.066 0 0 0-.433-.203 6.243 6.243 0 0 1-.528-.251c-.04-.022-.073-.051-.11-.074-.09-.016-.186-.03-.282-.044.064-.006.151.003.24.015-.111-.071-.22-.14-.324-.218a1.701 1.701 0 0 1-.658-.182c-.278-.131-.493-.272-.743-.366l-.884-.374c-.462-.246-.686-.552-.83-.612.006-.034.013-.07-.006-.115-.017-.062-.058-.133-.247-.219a3.067 3.067 0 0 0-.117-.053l-.06-.015c-.212-.044-.454-.092-.686-.225a1.813 1.813 0 0 1-.343-.265c.154.323-.172-.028-.264.113-.112-.128-.232-.233-.248-.231-.067-.04-.396-.15-.423-.244a2.061 2.061 0 0 1-.7-.39 1.628 1.628 0 0 1-.418-.266l.07.03c-.007-.037-.024-.069-.042-.101-.14-.13-.229-.169-.489-.323-.214-.131-.404-.253-.566-.322-.27-.115-.655-.146-1.035-.278.724.11-.025-.296.041-.456-.035-.027-.067-.059-.103-.081a1.81 1.81 0 0 1-.326-.26 6.28 6.28 0 0 1-.424-.338c.032.008.081.024.12.026a1.095 1.095 0 0 0-.175-.154c-.128-.08-.267-.141-.405-.206l-.049-.025a.332.332 0 0 0-.119-.003.206.206 0 0 0-.023-.07c-.12-.06-.242-.113-.353-.185a1.454 1.454 0 0 0-.352-.122 2.299 2.299 0 0 1-.666-.263 3.738 3.738 0 0 1-.495-.403c-.11-.1-.212-.2-.334-.279a2.346 2.346 0 0 1-.38-.32 1.266 1.266 0 0 1-.383-.233c.14.118.217.114.21.064-.046-.048-.092-.085-.137-.124-.595-.285-.788-.122-1.533-.493l.223-.039c-.19-.127-.379-.288-.53-.376a4.39 4.39 0 0 1-.588-.36 5.211 5.211 0 0 1-.397-.302c-.099-.08-.17-.159-.135-.21-.008.216-.375.041-.809-.231-.263-.166-.517-.425-.672-.572a4.652 4.652 0 0 0-.198-.179.438.438 0 0 0-.11-.066c.127.045.148-.023.184-.05-.127-.037-.486-.04-1.03-.377-.306-.184-.604-.38-.894-.586-.525-.456-.63-.827-.708-.859a15.81 15.81 0 0 0-.647-.528 2.033 2.033 0 0 1-.265-.16l-.384-.282c-.061.002-.123.001-.185-.003-.365-.007-.852-.304-1.054-.562-.009-.01.284.126.295.134-.164-.17-.266-.284-.338-.346-.081-.067-.062-.05-.152-.093-.162-.082-.49-.152-.883-.442l-.956-.813.127-.13c-.367-.18-.756-.496-1.132-.67-.084-.172-.274-.372-.474-.545-.161-.15-.456-.27-.87-.556-.49-.412-.642-.828-.737-.826a14.729 14.729 0 0 1-.795-.654c-.03-.035-.094-.07-.287-.157-.154-.068-.468-.208-.656-.413a1.432 1.432 0 0 1-.247-.372l-.358.074c-.107-.171-.19-.307-.226-.346-.021-.02-.015-.02-.118-.09-.179-.11-.556-.338-.664-.599 0 .005.174.133.173.129.117-.08-.107-.214-.308-.388-.21-.175-.42-.36-.507-.485a.43.43 0 0 0-.144-.075.651.651 0 0 0-.17-.055c-.096-.016-.139.02-.058.125-.596-.617-1.345-1.372-2.13-1.966l-.14-.117-.097-.084-.246-.193a3.995 3.995 0 0 1-.564-.496c-.281-.306-.515-.58-.65-.822-.29-.251-.565-.49-.831-.723-.353-.354-.538-.67-.634-.691-.037-.015-.039-.006-.097-.023l-.27-.09a2.116 2.116 0 0 1-.456-.222 2.372 2.372 0 0 1-.415-.362c-.404-.478-.504-.58-.935-1.015l.045-.014c-.29-.313-.71-.893-.89-1.288a.5.5 0 0 1-.028-.026l-.747-.76a2.03 2.03 0 0 1-.254-.335l-.128-.066a9.554 9.554 0 0 1-1.281-.947c-.343-.36-.446-.775-.506-.911-.01-.03.208.188.217.211-.011-.038-.024-.057-.036-.09-.053-.074-.1-.153-.164-.218-.042-.045-.09-.087-.135-.13a8.724 8.724 0 0 0-.347-.22c-.083-.083-.017-.076.032-.08a5.851 5.851 0 0 1-.304-.291c-.02-.021-.032-.046-.05-.067-.11-.07-.22-.133-.322-.226l.154.026c-.185-.258-.422-.563-.654-.743-.136-.11-.314-.236-.511-.416-.162-.158-.245-.202-.443-.346a4.673 4.673 0 0 1-.297-.223l-.162-.148-.12-.113-.47-.458c-.313-.308-.595-.63-.856-.951.22.215.194.02.153-.1l-.017-.01c-.374-.243-.627-.838-.687-.79-.014 0-.08-.039-.246-.135-.15-.089-.402-.231-.631-.49-.375-.452-.517-.72-.635-.807-.01-.023.283.179.292.197l-.238-.252a2.327 2.327 0 0 1-.185-.262 2.493 2.493 0 0 1-.207-.447l-.013-.031c-.047-.06-.093-.122-.141-.18-.121-.15-.235-.306-.35-.462-.023-.032-.046-.061-.07-.092.049.14.102.28.161.416-.32-.589-.49-.703-.557-.555-.008-.086-.044-.191-.034-.248-.003-.036-.014-.073-.077-.148-.061-.081-.188-.168-.438-.472.013-.05.208.157.349.246a.5.5 0 0 0 .16.085 4.605 4.605 0 0 1-.056-.134l-.129-.156a1.601 1.601 0 0 1-.155-.228 2.33 2.33 0 0 0-.101-.182c-.123-.192-.24-.377-.308-.48l-.023-.03c.203.351.058.267-.128.142-.203-.154-.397-.332-.258-.02-.385-.654.283-.122.344-.173-.03-.038-.061-.072-.09-.11a1.46 1.46 0 0 0-.277-.229 6.902 6.902 0 0 1-.196-.149.974.974 0 0 1-.258-.25c-.024-.026-.05-.045-.074-.075-.006-.008-.008-.016-.014-.025a.231.231 0 0 0-.065-.057c-.045-.025-.017.114.002.285l-.07-.087-.097-.139a3.057 3.057 0 0 1-.144-.26l-.17-.388-.058-.119-.023-.041-.055-.088-.216-.346c-.018-.026-.032-.052-.048-.08a1.796 1.796 0 0 1-.304-.323 2.483 2.483 0 0 1-.225-.397 3.681 3.681 0 0 1-.378-.448 1.651 1.651 0 0 1-.197-.402c-.014-.042-.019-.07-.03-.107-.11-.128-.221-.258-.316-.397a4.693 4.693 0 0 1-.294-.536c-.066-.132-.128-.264-.207-.384a3.07 3.07 0 0 0-.27-.34 4.071 4.071 0 0 1-.378-.49 6.223 6.223 0 0 1-.287-.52 6.39 6.39 0 0 0-.216-.399 4.145 4.145 0 0 1-.273-.551c-.058-.132-.115-.266-.187-.39-.07-.117-.164-.221-.254-.326-.126-.147-.27-.314-.386-.515-.036-.064-.06-.128-.088-.193a4.023 4.023 0 0 1-.271-.497 1.825 1.825 0 0 0-.201-.335l-.25-.302c.202.172.343.273.48.45-.016-.038-.031-.077-.048-.11-.051-.094-.095-.193-.14-.29-.18-.166-.377-.331-.49-.506.02-.096.05-.19.087-.282-.01-.013-.015-.024-.026-.038a8.985 8.985 0 0 1-.23.037c-.124.018-.249.05-.374.082a3.807 3.807 0 0 1-.697.123c-.365.026-.73.034-1.096.025-.315-.012-.574-.156-.781-.273-.099-.054-.221-.123-.338-.14a7.636 7.636 0 0 1-1.039-.194c-.116-.033-.238-.047-.363-.065-.22-.032-.471-.065-.728-.163a5.75 5.75 0 0 1-.623-.3 6.507 6.507 0 0 0-.367-.19l-.318-.142a10.232 10.232 0 0 1-.675-.316 12.612 12.612 0 0 1-.627-.364l-.314-.188c-.123-.072-.25-.138-.38-.205a7.203 7.203 0 0 1-.575-.317 9.177 9.177 0 0 1-.527-.366l-.204-.146a.163.163 0 0 1-.091.001c-.076-.02-.15-.058-.193-.076-.11-.053-.25-.126-.353-.13-.187-.131-.152-.18-.152-.232-.006-.07-.034-.084-.416-.369-.268-.233-.34-.198-.378-.122a1.041 1.041 0 0 0-.066-.185c-.104-.063-.212-.12-.309-.192-.121-.09-.253-.164-.384-.24a4.872 4.872 0 0 1-.53-.339c-.214-.167-.35-.362-.477-.538a1.233 1.233 0 0 0-.397-.368c-.13-.066-.264-.124-.419-.2a2.165 2.165 0 0 1-.538-.354l.044-.008c-.108-.094-.216-.188-.323-.285l-.252-.113a.838.838 0 0 1 .143.017c-.082-.074-.164-.15-.247-.22-.074-.06-.133-.096-.14-.102l.062.02a4.803 4.803 0 0 1-.376-.394c-.022-.026-.047-.05-.07-.076-.126-.06-.26-.138-.345-.185-.101-.049-.191-.073-.26-.054l.045-.013a25.984 25.984 0 0 1-.598-.623c-.169-.152-.33-.305-.485-.451l-.258-.244c-.112-.104-.232-.199-.353-.294-.15-.12-.302-.238-.44-.37a4.455 4.455 0 0 1-.395-.446c-.093-.113-.182-.227-.285-.326-.11-.106-.227-.204-.345-.302a6.905 6.905 0 0 1-.427-.376 2.458 2.458 0 0 1-.393-.543 1.724 1.724 0 0 0-.2-.294l-.079-.04a.361.361 0 0 0-.08-.02c-.094-.15-.13-.216-.133-.24l-.158-.16-.27-.277c-.24-.244-.535-.43-.77-.674a4.432 4.432 0 0 1-.376-.465c-.037-.052-.08-.098-.118-.148-.02-.005-.07-.062-.18-.217a10.663 10.663 0 0 0-.294-.291c-.136-.13-.274-.259-.402-.398-.062-.068-.177-.138-.294-.213-.172-.107-.366-.226-.533-.412a4.755 4.755 0 0 1-.362-.465c-.086-.119-.17-.238-.267-.347a2.883 2.883 0 0 1-.355-.535 2.072 2.072 0 0 0-.209-.33 1.458 1.458 0 0 0-.284-.207 2.245 2.245 0 0 1-.54-.43 8.319 8.319 0 0 1-.352-.456c-.09-.12-.179-.242-.275-.357a2.345 2.345 0 0 1-.333-.598 1.49 1.49 0 0 0-.162-.318c-.057-.07-.165-.146-.278-.227-.167-.118-.356-.252-.512-.449a65.351 65.351 0 0 1-.628-.807 10.966 10.966 0 0 1-.336-.465 11.727 11.727 0 0 0-.262-.367c-.114-.154-.216-.318-.319-.481-.078-.127-.155-.255-.245-.376-.115-.157-.224-.318-.333-.48-.08-.121-.163-.241-.248-.36-.08-.114-.18-.216-.276-.319a4.154 4.154 0 0 1-.392-.464.55.55 0 1 1 .908-.62c.083.12.185.226.286.333.133.141.264.283.374.438.09.127.177.255.263.383.102.15.204.3.31.447.105.142.2.294.294.447.078.126.157.251.243.37.039.006.07.015.128.022.013.056.001.096-.023.127.067.092.134.186.2.28.048.07.1.139.15.208.292.178.823.784 1.145 1.2-.148-.101-.414-.394-.468-.315l.094.121c.084.088.178.165.28.23.163.116.349.248.502.437.076.093.135.19.184.285.026.02.048.043.073.062-.02-.009-.034-.012-.053-.021.046.088.085.176.12.257l.029.067c.036.03.07.062.102.097.018.066.03.121.037.166.108.13.209.265.31.402.097.131.195.266.302.392.057.063.167.134.284.208.05.032.106.07.16.107-.061-.18-.147-.396-.249-.46l.07.01c.143.198.217.37.272.51.097.072.193.153.28.254.149.17.252.357.344.52.07.13.14.254.213.336.12.14.234.287.339.439.088.125.178.25.28.363.063.068.177.142.297.215.169.107.36.226.524.403.112.119.23.232.35.345.125.12.25.238.37.364.127.14.246.288.355.444.057.077.12.151.18.224-.043-.08-.05-.123.098 0 .02.017.064.057.109.112-.054-.009-.063.018-.054.06.223.217.487.394.708.62l.706.719c.17.17.282.361.383.53.072.124.14.243.21.31.114.111.237.213.36.316.14.113.274.232.405.355.136.132.258.28.378.43.095.117.187.234.294.336.115.108.24.205.364.303.146.113.288.23.424.355l.265.25c.16.153.328.311.506.473.077.063.205.143.338.219.173.099.37.208.55.369.144.127.274.277.403.43.1.119.2.241.322.344.12.102.24.21.36.32.141.127.283.256.433.38.07.073.209.124.346.187.372.17.801.515 1.04.85.088.124.185.245.249.3.125.097.264.175.403.255.169.098.336.197.492.311.132.097.276.177.418.257.165.092.332.187.486.295l.33.24c.174.125.347.254.526.373.134.09.265.187.397.281.153.112.304.224.462.324.159.099.325.184.49.269.147.075.291.15.432.232l.332.199c.189.114.377.228.569.33.198.106.4.194.601.282l.338.15c.148.07.29.145.428.22.165.087.323.176.492.24.138.052.304.076.481.1.175.024.348.05.51.095.3.084.587.124.952.172.266.038.491.164.672.266.085.047.228.126.278.13.114.004.23-.008.348-.01.163-.072.365-.16.647-.204.248-.024.454-.007.63-.006a3.777 3.777 0 0 1-.324-.523 23.98 23.98 0 0 1-.276-.608l-.155-.35c-.037-.08-.065-.167-.097-.25l-.138-.2.058-.004c-.012-.037-.029-.072-.042-.109-.014-.043-.032-.085-.048-.128-.018-.027-.028-.047-.047-.075-.083-.127-.155-.256-.212-.355-.124-.22-.224-.447-.196-.67l.3.669a5.273 5.273 0 0 1-.147-.447c-.038-.14-.075-.28-.13-.413a2.65 2.65 0 0 1-.148-.62c-.021-.02-.04-.055-.06-.13.016-.018.022-.02.033-.032a1.401 1.401 0 0 0-.058-.247c-.028-.074-.113-.178-.195-.28-.137-.172-.295-.368-.383-.626-.042-.125-.09-.25-.135-.375-.03-.082-.058-.165-.089-.247a9.423 9.423 0 0 0-.255-.401c.012-.065.065-.007.065-.007a2.31 2.31 0 0 1-.045-.436l-.032-.141a4.338 4.338 0 0 0-.087-.418c-.008-.033-.008-.064-.015-.096l-.016-.021c-.085-.11-.22-.258-.335-.477a1.159 1.159 0 0 1-.129-.735c-.005-.004.04.28.045.278.035-.494.142-.854.068-1.01-.048-.169-.16-.386-.213-.603-.056-.208-.037-.444.087-.472.017-.117.026-.052.056.094-.002-.027-.002-.054-.005-.081-.019-.134-.056-.263-.09-.393-.031-.118-.047-.238-.07-.357-.09-.137-.163-.36-.096-.734 0 .041.021.035.045.069l.003-.02c.013-.184.035-.365.039-.531l.001-.31c.006-.106.014-.212.026-.317-.004-.186-.011-.371-.003-.56a2.304 2.304 0 0 0-.026-.385c-.021-.205-.045-.437-.016-.683l.018-.175c.007-.056.017-.11.023-.166l-.012.01c-.053-.231-.007-.398.046-.399.007-.002.013.013.018.014.018-.113.027-.23.05-.343.023-.124.028-.254.036-.384.005-.233.036-.466.093-.693.068-.239.176-.454.272-.643.057-.116.116-.231.161-.349l.098-.268c.089-.248.18-.498.295-.736l.062-.13c.142-.306.3-.603.475-.891.078-.123.172-.222.269-.311a.697.697 0 0 1 .159-.19c-.049-.06.13-.322.45-.631-.29.41-.246.445-.189.487.07-.05.14-.098.195-.158.062-.064.123-.168.19-.276.136-.225.303-.504.601-.688.206-.127.415-.162.613-.179.153-.046.305-.078.435-.096.008-.003.093.015.207.013a5.65 5.65 0 0 0 .178-.066c.068-.027.147-.054.22-.08.096-.102.295-.206.598-.246.408-.042.718.034.712-.025.033.018.066.035.1.05.104 0 .208-.006.32.014.287.051.547.153.8.252.089.036.18.07.27.103.108.038.212.085.317.132.264.089.518.172.78.245.563.303.767.62.872.615.093.064.48.096.965.53l.007.007-.102.106-.162.167.011.013c.11.145.236.275.379.386.13.105.264.197.398.292.206.17.334.366.425.565l.098.112c-.005-.096.022-.051.286.152-.077-.12-.164-.223-.305-.406-.128-.16-.325-.417-.507-.567 0 0 .055.03.144.087.09.07.203.17.302.266.2.197.356.342.356.342l-.133-.173c-.084-.112-.205-.284-.372-.462-.172-.17-.317-.262-.437-.365l-.195-.156c.605.35.55.352.448.052.102.071.189.14.264.206.085.077.163.18.215.257.11.16.16.286.208.398.046.112.085.213.142.302l.366.49c.111.308-.166.093-.067.43l.122.159c.084.127.338.375.545.764.193.403.153.75.29.938-.012.17-.06-.286-.144-.248.011.048.02.077.028.118.06.123.128.244.182.373.024.06.07.129.124.202l-.065-.258c.071.226.184.318.296.591.083.125.15.26.198.402.035.107.072.213.109.318.008.02.014.044.02.065.126.149.215.143.135-.169.065.16.069.499-.033.493.033.108.075.215.1.323.005.025.002.044.007.067.013.017.023.036.038.05.064.066.132.106.193.148a.505.505 0 0 1 .192.227c.049.103.084.212.105.323l.02.127.012.105v.04l-.003.187c-.02-.074-.05-.15-.068-.107.01.269.039.49.087.671-.163-.961-.258.36-.355-.844-.173.23.086.865.042 1.254.173.562.296.05.414.337-.065-.002-.05.239-.062.521l.138-.275.026.37c.005.169-.013.362-.025.523l.014-.303a1.212 1.212 0 0 0-.024-.303c.01.103-.038.38-.094.538-.057.18-.124.341-.175.482-.027.08-.042.106-.063.215l-.075.349c-.053.22-.102.426-.103.605-.019-.186-.021-.626-.213-.205-.009.077-.007.157-.022.233a3.29 3.29 0 0 0-.048.375c-.02.215-.044.455-.112.693-.013.034-.032.056-.044.086a.51.51 0 0 1-.045.24c-.043.152-.271.413-.412.622-.032.082.077.033.15-.003-.15.162-.162.62-.393 1.093-.145.258-.34.485-.573.668l-.029.054c.02-.01.044-.026.054-.026.048-.01-.01.083-.048.186-.014-.037-.041-.044-.077-.028l-.005.01c-.067.106-.124.22-.18.335-.067.178-.185.447-.316.567l-.026.159c-.175.114-.183.096-.134.011-.12.132-.246.257-.377.376a4.09 4.09 0 0 0-.274.261c-.063.07-.134.115-.204.167-.03.052-.071.108-.098.159-.123.22-.243.448-.67.736-.08.067-.29.164-.538.283-.032.03-.054.064-.092.092-.23.171-.47.333-.715.483.048-.025.094-.052.14-.08.208-.132.374-.247.27-.055-.206.084-.447.209-.685.323-.07.052-.14.105-.209.161-.161.135-.344.289-.564.406-.132.069-.272.122-.409.181-.063.06-.13.118-.199.173a1.842 1.842 0 0 1-.67.33c-.227.06-.418.08-.557.099l-.176.023-.23.048.027-.098-.175.065a10.65 10.65 0 0 1-.284.107c.036.058.076.114.117.169.18.202.52.751.6 1.064l.139.392c.046.106.05.129.13.234.122.176.468.5.655.97.081.203.124.365.167.486l.054.147.07.138.444.807c.02.037.065.076.226.198.136.103.377.272.56.54l.557.69c.19.147-.017-.148.034-.227.068.109.073.19.112.296.067.157.154.406.273.625 0 0 .081-.133.079-.136.026.167.033.297.044.392.015.103.001.088.011.122.003.025.114.148.26.283.074.07.164.157.26.262.049.052.099.111.15.176l.094.133.361.491.186.253c.102.14.176.273.232.386.234.502.203.447.457.814.141.217.271.459.32.633.078.098.158.195.24.293.045.039.086.071.133.116.063.06.125.122.188.193l.133.156c.086.11.356.272.673.633.268.338.405.624.58.835.228.278.472.543.73.794.159.28-.01.151-.12.073-.1-.072-.2-.148.015.157.279.293.476.573.65.711l.29.136-.074-.026c.157.058.411.144.717.46.42.514.475.92.508.936.162.225.328.464.495.705.043.038.087.065.127.11.104.12.186.258.245.407.104.144.204.289.313.43.133.208.4.4.704.708.191.225.426.356.743.598l-.083-.05c-.01.001-.001.023-.002.035.06.048.118.095.175.154.078.084.14.173.197.262a2.626 2.626 0 0 1-.077-.163c.649.605 1.055.908 1.457 1.251.417.457.51.936.585.936l.193.173c-.333-.204-.08.061.097.302.119.07.237.153.35.26.024.001.048.008.07.02.047.018.09.037.23.116.165.125.472.335.683.592.163.203.321.402.475.598.306.392.566.796.851 1.14.36.157.663.525.809.415.386.38.612.746.737.837l.198.08c.082.033.188.073.322.141.145.073.329.187.469.322.395.387.566.801.696.886l-.017.073c.431.127.825 1.001 1.124 1.087-.084.03-.223-.053-.236.018.176.13.352.261.527.393-.157-.088-.323-.11-.341-.025.048.04.1.077.146.118.07.064.124.143.186.212.172.028-.157-.206.068-.168v.246c.008.01.017.018.025.029.357.219.591.11.181-.261 1.392 1.052 2.3 1.73 3.456 2.903l-.204-.025c.15.148.276.286.376.371.09.078.125.094.31.193.167.09.384.197.606.39.172.146.306.332.39.54.052.006.217.135.188.002.257.28.192.198.18.243-.023.03-.064.066-.046.094.02.016.019.012.054.011-.025.005-.037.013-.072.011a.158.158 0 0 0-.083.02l.046.027c.058.023.09.017.297.07.09.02.2.048.331.094.142.051.297.129.43.225l.445.31c-.021.04.096.225.287.459.173.187.318.398.431.626.066.062.13.127.203.18.058.047.112.097.167.144a.897.897 0 0 0-.07-.13.167.167 0 0 0-.017-.04l.037.014.23.111c.052.117.109.231.17.343l.081.068c.07.022.207.068.355.137l.342.129-.08.12c.16.07.333.151.5.27.192.056.368.103.542.254.185.172.33.31.451.428l.778.575c.165.117.315.281.46.436.031.035.07.065.101.098.075.011.17.043.286.107.25.145.44.374.581.543.147.179.226.267.32.307.111.053.272.087.366.054.192.106.584.389.713.544.188.179.392.357.606.538.032.026.052.052.081.08.237.162.472.326.705.493.15.11.295.226.438.341.13.107.26.213.397.31.099.07.235.13.379.196.177.078.379.168.567.301.158.111.305.236.45.36.123.106.245.211.376.304.166.115.314.259.462.404.247.07.52.086.904.459l-.232-.116.348.362.17.16.214.17.106.026c.214.056.457.116.684.269.147.1.291.202.433.307.14.102.284.206.43.303.113.076.213.164.304.25.32.154.634.269.87.397-.211-.083-.185.084.11.278.282.11-.094-.391.372.028-.145-.058-.091.082.023.166-.016-.012.184.078.265.068l.23.008c.149.082.367.176.628.341.22.16.34.274.519.415.284.235.808.623 1.062.858.231.212.59.333 1.076.608.215.126.384.256.531.364.098.03.2.058.295.115.179.107.342.244.501.382.11.096.219.195.344.268.159.094.32.182.48.271l.184.104c.124.035.254.08.403.15.29.153.475.35.603.466.143.137.207.177.245.184.038.016.215.027.545.088l.085.198c.075.027.15.05.223.092.035.02.062.046.095.069l.024.007c.233.1.346.115.475.172a.804.804 0 0 1 .352.373c.022.035-.017.017-.129-.074-.106-.085-.306-.26-.454-.314.067.079.124.142.175.198.106.102.207.198.296.248a.825.825 0 0 0 .14.06l.025-.002c.183.011.368.004.861.26l-.098.023c.025.012.051.02.076.034.155.086.311.167.467.248.148.076.296.154.442.234h.013c.074.025.087.017.156.045.024.002.03-.004.054.003a.78.78 0 0 1 .164.062c.127.062.256.15.412.27l.123.096c.049.032.093.07.132.113.083.073.129.127.207.191.027.012.053.025.08.039.18.074.355.156.526.247.076.042.139.092.203.142.195-.033.006-.184.23-.212.21.105.458.19.688.297.182.088.335.16.49.232.146.066.291.133.462.221.068.037.204.105.331.186.122.078.24.165.349.249.129.307.022.235-.084.16-.096-.067-.175-.119-.094.06.085.04.174.07.254.115.165.088.324.186.484.287l.101.06a.687.687 0 0 0-.101-.19c.646.415.337.245.192.244.079.048.157.096.237.14.147.078.3.146.451.215.171.076.341.154.505.24.158.082.313.171.467.26.152.088.304.173.458.254l.065.039c.038.01.079.025.114.03-.022.005-.019.014-.026.023.084.047.168.096.25.147.109.018.235.032.383.053.071.01.15.025.232.043.085.02.189.054.192.038.061-.006.151-.003.294.017.143.1.081.178.096.25.002.09.141.099.721.38.122-.005.104-.125.159-.18.043-.064.225-.017.514.175.043.029-.667-.301-.373.004.708.342.089.119.662.624.454.033.627.432.913.222.129.266.158.274.32.451.064.029.131.053.193.084l.025.015c.042.002.092.012.137.016.055-.009.073-.029.202-.05.11-.027.241-.059.234-.122.113.127-.16.177-.274.239a.53.53 0 0 0-.078.056c.087.062.166.125.239.19.171-.033.43-.051.72.038.355.081.658.131.761.014.3.225.451.34.904.685-.056-.052-.171-.068-.231-.078.241.103.421.197.595.251.197.068.468.137.777.251.137.043.406.182.543.296l.328.256c.178.128.164.039.22-.012-.036.097-.072.15.039.186.124.043.552.02.949.205.297.131.469.231.139.247.185.07.438.127.663.167l.164.027.2.058c.114.036.192.063.238.071-.099.1.146.3.324.419.049.03.082.048.132.072.106.047.199.101.28.154.16.106.266.205.325.293.072 0 .144.011.212.034l.101.025.172.06.267.102c.117.021.238.051.361.1.15.062.304.109.459.156.075.023.147.052.221.076a.297.297 0 0 1 .102-.019c.168.071.247.117.278.153l.342.138c.072-.021.146-.04.249-.058.192.052.376.148.456.259l.132.023c.417.094.719.262.849.48 0 0-.092-.052-.245-.163a5.379 5.379 0 0 0-.373-.24c.081.096.152.199.214.308 0 0 .222.111.363.143.054.008.122.014.181.017-.022-.026-.047-.048-.068-.073a5.575 5.575 0 0 1-.344-.507c-.078-.126-.155-.255-.247-.372a11.324 11.324 0 0 1-.336-.447 10.106 10.106 0 0 0-.298-.4 2.047 2.047 0 0 0-.265-.245 3.275 3.275 0 0 1-.504-.494c-.13-.162-.241-.338-.351-.512-.077-.124-.152-.248-.242-.359a18.09 18.09 0 0 1-.328-.429c-.104-.137-.205-.273-.312-.404-.099-.123-.211-.234-.32-.343a6.344 6.344 0 0 1-.397-.423 16.427 16.427 0 0 0-.406-.469l-.272-.313a8.154 8.154 0 0 1-.368-.481c-.087-.121-.166-.235-.253-.33a.828.828 0 0 1-.146-.906.83.83 0 0 1 .19-.261.832.832 0 0 1 1.174.057c.128.14.25.304.376.481.089.122.181.25.288.375l.254.293c.144.163.293.333.442.514.085.105.185.2.285.3.155.151.303.311.441.478.118.144.232.296.347.449.098.13.196.261.299.39.129.161.241.337.353.515.076.122.152.247.242.361.058.071.16.158.269.249.16.135.341.287.502.491.119.15.231.304.341.456.096.132.191.264.291.39.135.17.248.351.359.529.075.121.146.24.231.347.102.126.216.238.325.346.141.141.277.278.393.422l.27.338c.117.148.224.28.338.415.077.09.133.195.165.309a.812.812 0 0 1-.1.676.813.813 0 0 1-.248.244l.001-.001z\\\" fill=\\\"#334BFA\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\".5\\\"/></svg>\"\n    }\n  },\n  \"operator-settings\": {\n    \"hero-icon-operator\": \"<svg width=\\\"50\\\" height=\\\"50\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g fill=\\\"#334BFA\\\"><path d=\\\"M34 37H16a3 3 0 01-3-3V16a3 3 0 013-3h18a3 3 0 013 3v18a3 3 0 01-3 3zM16 15a1 1 0 00-1 1v18a1 1 0 001 1h18a1 1 0 001-1V16a1 1 0 00-1-1H16z\\\"/><path d=\\\"M14 29h22v2H14z\\\"/><path d=\\\"M25 2c12.703 0 23 10.297 23 23S37.703 48 25 48 2 37.703 2 25 12.297 2 25 2zm0-2C11.193 0 0 11.193 0 25s11.193 25 25 25 25-11.193 25-25A25 25 0 0025 0z\\\"/><path d=\\\"M30 26H20a3 3 0 01-3-3v-1a3 3 0 013-3h10a3 3 0 013 3v1a3 3 0 01-3 3zm-10-5a1 1 0 00-1 1v1a1 1 0 001 1h10a1 1 0 001-1v-1a1 1 0 00-1-1H20z\\\"/></g></svg>\"\n  },\n  \"paywall-up-arrow-large\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"8 8 24 24\\\" fill=\\\"none\\\"><circle cx=\\\"20\\\" cy=\\\"20\\\" r=\\\"11\\\"/><path d=\\\"M18.917 25.8h2.166c.23 0 .417-.187.417-.417v-5.166c0-.23.186-.417.417-.417h3.077a.417.417 0 0 0 .295-.712l-4.994-4.994a.417.417 0 0 0-.59 0l-4.994 4.995a.417.417 0 0 0 .295.71h3.077c.23 0 .417.187.417.418v5.166c0 .23.186.417.417.417z\\\" fill=\\\"#822AF0\\\"/></svg>\",\n  \"paywall-up-arrow\": \"<svg width=\\\"14\\\" height=\\\"14\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><circle cx=\\\"7\\\" cy=\\\"7\\\" r=\\\"7\\\"/><path d=\\\"M6 11h2V7h3L7 3 3 7h3v4z\\\"/></svg>\\n\",\n  \"products\": {\n    \"2020\": {\n      \"July\": {\n        \"articles-active\": \"<svg width=\\\"32\\\" height=\\\"32\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M16 24s-1.75-1.5-5-1.5S6 24 6 24m20 0s-1.75-1.5-5-1.5-5 1.5-5 1.5m0-14.5S17.75 8 21 8c3.18 0 4.924 1.436 4.998 1.498.002.002.002.004.002.007V24M16 9.5S14.25 8 11 8C7.82 8 6.076 9.436 6.002 9.498 6 9.5 6 9.502 6 9.505V24\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\"/><path d=\\\"M15 10h2v13h-2V10zM7 9h8v14H7V9z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n        \"articles\": \"<svg width=\\\"32\\\" height=\\\"32\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"product-icon__stroke product-icon__articles\\\" d=\\\"M16 24s-1.75-1.5-5-1.5S6 24 6 24m20 0s-1.75-1.5-5-1.5-5 1.5-5 1.5m0-14.5S17.75 8 21 8c3.18 0 4.924 1.436 4.998 1.498.002.002.002.004.002.007V24M16 9.5S14.25 8 11 8C7.82 8 6.076 9.436 6.002 9.498 6 9.5 6 9.502 6 9.505V24\\\"/><path class=\\\"product-icon__fill\\\" d=\\\"M15 10h2v13h-2V10z\\\"/></svg>\\n\",\n        \"bots-active\": \"<svg width=\\\"32\\\" height=\\\"32\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><rect x=\\\"7\\\" y=\\\"7\\\" width=\\\"18\\\" height=\\\"18\\\" rx=\\\"2\\\" fill=\\\"#334BFA\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\"/><path fill=\\\"#f1f1f1\\\" d=\\\"M6 20h20v2H6z\\\"/><rect x=\\\"11\\\" y=\\\"12\\\" width=\\\"10\\\" height=\\\"4\\\" rx=\\\"2\\\" stroke=\\\"#f1f1f1\\\" stroke-width=\\\"2\\\"/></svg>\",\n        \"bots\": \"<svg width=\\\"32\\\" height=\\\"32\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><rect class=\\\"product-icon__stroke\\\" x=\\\"7\\\" y=\\\"7\\\" width=\\\"18\\\" height=\\\"18\\\" rx=\\\"2\\\"/><path class=\\\"product-icon__fill\\\" d=\\\"M8 20h16v2H8z\\\"/><rect class=\\\"product-icon__stroke\\\" x=\\\"11\\\" y=\\\"12\\\" width=\\\"10\\\" height=\\\"4\\\" rx=\\\"2\\\"/></svg>\",\n        \"inbox-active\": \"<svg width=\\\"32\\\" height=\\\"32\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M23.129 8.89h0A2 2 0 0021.465 8h-10.93a2 2 0 00-1.664.89l-3.535 5.303A2 2 0 005 15.303V22a2 2 0 002 2h18a2 2 0 002-2v-6.697a2 2 0 00-.336-1.11L23.13 8.891z\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M26 16h-4v1h-2v2h-8v-2h-2v-1H6v7h20v-7z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M6 15h4c.5 0 .5 1.1 1 1.8s2 2.2 5 2.2 4.5-1.5 5-2.2c.5-.7.5-1.8 1-1.8h4\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\"/></svg>\",\n        \"inbox\": \"<svg width=\\\"32\\\" height=\\\"32\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"product-icon__stroke\\\" d=\\\"M23.129 8.89A2 2 0 0021.465 8h-10.93a2 2 0 00-1.664.89l-3.535 5.303A2 2 0 005 15.303V22a2 2 0 002 2h18a2 2 0 002-2v-6.697a2 2 0 00-.336-1.11L23.13 8.891z\\\"/><path class=\\\"product-icon__stroke product-icon__inbox\\\" d=\\\"M6 15h4c.5 0 .5 1.1 1 1.8s2 2.2 5 2.2 4.5-1.5 5-2.2c.5-.7.5-1.8 1-1.8h4\\\"/></svg>\\n\",\n        \"outbound-active\": \"<svg width=\\\"32\\\" height=\\\"32\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M12 27l2-2m-7 0l5-5m-7 0l2-2\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\"/><path d=\\\"M6.577 12.882l-.192-.728.192.728h0s0 0 0 0zM20.804 25.32s0 0 0 0l-.698.28.699-.28h0zm.248.613l-.967-.254.967.254 4.867-18.495a1.11 1.11 0 00-1.356-1.356L6.068 10.948c-1.035.272-1.123 1.707-.13 2.104l9.293 3.717 3.717 9.293c.397.993 1.832.905 2.104-.13z\\\" fill=\\\"#334BFA\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\"/><path d=\\\"M14 18l4-4\\\" stroke=\\\"#EAEAEA\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\"/></svg>\",\n        \"outbound\": \"<svg width=\\\"32\\\" height=\\\"32\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"product-icon__stroke product-icon__outbound\\\" d=\\\"M12 27l2-2m-7 0l5-5m-7 0l2-2M6.577 12.882l-.192-.728.192.728zM20.804 25.32l-.698.28.699-.28zm.248.613l-.967-.254.967.254 4.867-18.495a1.11 1.11 0 00-1.356-1.356L6.068 10.948c-1.035.272-1.123 1.707-.13 2.104l9.293 3.717 3.717 9.293c.397.993 1.832.905 2.104-.13zM15.5 16.5L18 14\\\"/></svg>\\n\",\n        \"people-active\": \"<svg width=\\\"32\\\" height=\\\"32\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M13.993 20.904c.019.185.022.42.001.694-.01-.23-.01-.462 0-.694zm4.145-4.524c1.363-.38 2.517-.38 2.846-.38h.026c.543 0 3.32 0 5.587 1.7.771.578 1.137 1.442 1.296 2.256.16.821.136 1.702.034 2.486a10.15 10.15 0 01-.497 2.096c-.102.278-.22.546-.352.764a1.817 1.817 0 01-.278.358c-.093.09-.371.34-.802.34h-7.022c.136-.268.245-.537.332-.776A11.2 11.2 0 0019.672 24h5.822a4.39 4.39 0 00.057-.148 8.17 8.17 0 00.393-1.669c.085-.654.092-1.304-.014-1.843-.106-.544-.304-.868-.533-1.04-1.713-1.285-3.909-1.3-4.4-1.3a8.9 8.9 0 00-1.59.14 5.22 5.22 0 00-1.269-1.76z\\\" fill=\\\"#334BFA\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M19.671 24h5.823c.018-.044.037-.093.057-.148.153-.42.308-1.02.393-1.669.085-.654.091-1.304-.014-1.843-.106-.544-.304-.868-.533-1.04-1.713-1.285-3.91-1.3-4.4-1.3a8.9 8.9 0 00-1.59.14c.223.497.362.99.449 1.433.215 1.102.173 2.215.054 3.127-.058.448-.14.886-.239 1.3z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M24 10a3 3 0 11-6 0 3 3 0 016 0z\\\" fill=\\\"#334BFA\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"/><path d=\\\"M10.987 17c.5 0 3 0 5 1.5s.5 6.5 0 6.5h-10c-.5 0-2-5-.002-6.5s4.502-1.5 5.002-1.5z\\\" fill=\\\"#334BFA\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\"/><path d=\\\"M14 10a3 3 0 11-6 0 3 3 0 016 0z\\\" fill=\\\"#334BFA\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"/></svg>\",\n        \"people\": \"<svg width=\\\"32\\\" height=\\\"32\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"product-icon__fill\\\" clip-rule=\\\"evenodd\\\" d=\\\"M13.993 20.904c.019.185.022.42.001.694-.01-.23-.01-.462 0-.694zm4.145-4.524c1.363-.38 2.517-.38 2.846-.38h.026c.543 0 3.32 0 5.587 1.7.771.578 1.137 1.442 1.296 2.256.16.821.136 1.702.034 2.486a10.15 10.15 0 01-.497 2.096c-.102.278-.22.546-.352.764a1.817 1.817 0 01-.278.358c-.093.09-.371.34-.802.34h-7.022c.136-.268.245-.537.332-.776A11.2 11.2 0 0019.672 24h5.822a4.39 4.39 0 00.057-.148 8.17 8.17 0 00.393-1.669c.085-.654.092-1.304-.014-1.843-.106-.544-.304-.868-.533-1.04-1.713-1.285-3.909-1.3-4.4-1.3a8.9 8.9 0 00-1.59.14 5.22 5.22 0 00-1.269-1.76z\\\"/><path class=\\\"product-icon__stroke\\\" d=\\\"M24 10a3 3 0 11-6 0 3 3 0 016 0zM10.987 17c.5 0 3 0 5 1.5s.5 6.5 0 6.5h-10c-.5 0-2-5-.002-6.5s4.502-1.5 5.002-1.5zM14 10a3 3 0 11-6 0 3 3 0 016 0z\\\"/></svg>\",\n        \"reports-active\": \"<svg width=\\\"32\\\" height=\\\"32\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M7 6a1 1 0 011-1h13a4 4 0 014 4v17a1 1 0 01-1 1H11a4 4 0 01-4-4V6z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M20 22v-8m-4 8V10m-4 12v-4\\\" stroke=\\\"#EAEAEA\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"/></svg>\",\n        \"reports\": \"<svg width=\\\"32\\\" height=\\\"32\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"product-icon__stroke product-icon__reports\\\" d=\\\"M8 6v18a2 2 0 002 2h14M20 22v-8m-4 8V10m-4 12v-4\\\"/></svg>\\n\"\n      }\n    },\n    \"id-1-brand-refresh-product-card\": \"<svg viewBox=\\\"0 0 36 32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M13.4 25.6c0-2.64.944-4.528 4.8-4.8h6.4c3.2 0 8.096-3.2 8.096-8 0-6.4-4.896-9.6-14.496-9.6-10.4 0-14.4 2.576-14.4 9.6 0 5.2 3.2 5.52 4.8 6.4L7 22.4a10 10 0 0 1-6.4-9.6C.6 4.544 7 0 18.2 0c11.2 0 17.6 4.56 17.6 12.8C35.8 15.136 34.2 24 23 24c-3.2 0-3.2 1.6-3.2 4.496v2.352c0 .864-.88 1.152-1.6 1.152-2.064 0-4.8-3.2-4.8-6.4zm12.8-14.4h-16V8h16v3.2zm-6.4 6.4h-9.6v-3.2h9.6v3.2z\\\"/></svg>\",\n    \"id-1-brand-refresh-solution-selector\": \"<svg width=\\\"20\\\" height=\\\"18\\\" viewBox=\\\"0 0 36 32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M13.4 25.6c0-2.64.944-4.528 4.8-4.8h6.4c3.2 0 8.096-3.2 8.096-8 0-6.4-4.896-9.6-14.496-9.6-10.4 0-14.4 2.576-14.4 9.6 0 5.2 3.2 5.52 4.8 6.4L7 22.4a10 10 0 0 1-6.4-9.6C.6 4.544 7 0 18.2 0c11.2 0 17.6 4.56 17.6 12.8C35.8 15.136 34.2 24 23 24c-3.2 0-3.2 1.6-3.2 4.496v2.352c0 .864-.88 1.152-1.6 1.152-2.064 0-4.8-3.2-4.8-6.4zm12.8-14.4h-16V8h16v3.2zm-6.4 6.4h-9.6v-3.2h9.6v3.2z\\\"/></svg>\",\n    \"id-1-brand-refresh\": \"<svg width=\\\"32\\\" height=\\\"32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"product-icon__symbol\\\" d=\\\"M13 22c0-1.65.59-2.83 3-3h4c2 0 5.06-2 5.06-5 0-4-3.06-6-9.06-6-6.5 0-9 1.61-9 6 0 3.25 2 3.45 3 4l-1 2a6.25 6.25 0 0 1-4-6c0-5.16 4-8 11-8s11 2.85 11 8c0 1.46-1 7-8 7-2 0-2 1-2 2.81v1.47c0 .54-.55.72-1 .72-1.29 0-3-2-3-4zm8-9H11v-2h10v2zm-4 4h-6v-2h6v2z\\\"/></svg>\",\n    \"id-1-default-brand-refresh\": \"<svg viewBox=\\\"0 0 72 72\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M62 30.882c0 4.711-1.433 8.543-4.282 11.386-2.85 2.843-7.008 4.567-12.653 5.158-7.047.782-7.354 2.666-7.346 6.502v3.258c0 1.173-.573 1.814-1.608 1.814-2.78 0-6.14-3.828-6.14-8.575 0-3.695 2.554-5.568 8.032-5.9l3.87-.27c11.706-.72 17.157-4.994 17.157-13.444 0-9.858-7.534-14.859-22.386-14.859-15.074 0-22.72 5.13-22.72 15.25 0 6.35 3.457 9.193 7.19 11.34a.32.32 0 0 1 .11.446l-1.324 2.13a.327.327 0 0 1-.413.122C16.953 44.02 11 40.196 11 30.882 11 19.182 19.954 13 36.866 13 53.311 13 62 19.182 62 30.882zM38.042 36.16v-2.397a.285.285 0 0 0-.28-.281H25.51a.28.28 0 0 0-.28.281v2.397a.28.28 0 0 0 .28.282h12.25a.28.28 0 0 0 .28-.282zM25.51 27.808h21.98a.28.28 0 0 0 .28-.281v-2.405a.28.28 0 0 0-.28-.282H25.51a.28.28 0 0 0-.28.282v2.397a.282.282 0 0 0 .28.29z\\\"/></svg>\",\n    \"id-1\": \"<svg viewBox=\\\"0 0 50 50\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"product-icon__symbol\\\" d=\\\"M25 10c7.18 0 13 5.82 13 13 0 13-13 18-13 18v-5a13 13 0 1 1 0-26zm0 7a4 4 0 0 0-4 3.66l2 .28a2 2 0 0 1 4 .06c0 2-2.8 2-2.8 4.78V26h1.59v-.22c0-1.59 3.2-2 3.2-4.78A4 4 0 0 0 25 17zm.19 13.38a1.19 1.19 0 1 0 0-2.38 1.19 1.19 0 0 0 0 2.38z\\\"/></svg>\",\n    \"id-10-brand-refresh-product-card\": \"<svg viewBox=\\\"0 0 36 32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M13.4 25.6c0-2.64.944-4.528 4.8-4.8h6.4c3.2 0 8.096-3.2 8.096-8 0-6.4-4.896-9.6-14.496-9.6-10.4 0-14.4 2.576-14.4 9.6 0 5.2 3.2 5.52 4.8 6.4L7 22.4a10 10 0 0 1-6.4-9.6C.6 4.544 7 0 18.2 0c11.2 0 17.6 4.56 17.6 12.8C35.8 15.136 34.2 24 23 24c-3.2 0-3.2 1.6-3.2 4.496v2.352c0 .864-.88 1.152-1.6 1.152-2.064 0-4.8-3.2-4.8-6.4zm12.8-14.4h-16V8h16v3.2zm-6.4 6.4h-9.6v-3.2h9.6v3.2z\\\"/></svg>\",\n    \"id-10-brand-refresh\": \"<svg width=\\\"24\\\" height=\\\"24\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M5.4 24A2.4 2.4 0 013 21.6h1.2a1.2 1.2 0 001.2 1.2h16.2a1.2 1.2 0 001.2-1.2V9a1.2 1.2 0 00-1.2-1.2V6.6A2.4 2.4 0 0124 9v12.6a2.4 2.4 0 01-2.4 2.4H5.4z\\\" fill=\\\"#334BFA\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15.517 3.6L11.1 0 6.683 3.6H2.4A2.4 2.4 0 000 6v13.2a2.4 2.4 0 002.4 2.4h16.8a2.4 2.4 0 002.4-2.4V6a2.4 2.4 0 00-2.4-2.4h-3.683zM11.1 1.548L7.11 4.8H2.4A1.2 1.2 0 001.2 6v13.2a1.2 1.2 0 001.2 1.2h16.8a1.2 1.2 0 001.2-1.2V6a1.2 1.2 0 00-1.2-1.2h-4.11L11.1 1.548z\\\" fill=\\\"#334BFA\\\"/><path fill=\\\"#334BFA\\\" d=\\\"M3 7.2h13.8v1.2H3zm0 2.4h15.6v1.2H3zM3 12h8.4v1.2H3z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M13.5 17.4a.3.3 0 100-.6.3.3 0 000 .6zm0 .6a.9.9 0 100-1.8.9.9 0 000 1.8zm-2.4-.6a.3.3 0 100-.6.3.3 0 000 .6zm0 .6a.9.9 0 100-1.8.9.9 0 000 1.8z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M9.6 17.1a.9.9 0 11-1.8 0 .9.9 0 011.8 0z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"id-11-brand-refresh\": \"<svg width=\\\"24\\\" height=\\\"24\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M5.4 24A2.4 2.4 0 013 21.6h1.2a1.2 1.2 0 001.2 1.2h16.2a1.2 1.2 0 001.2-1.2V9a1.2 1.2 0 00-1.2-1.2V6.6A2.4 2.4 0 0124 9v12.6a2.4 2.4 0 01-2.4 2.4H5.4z\\\" fill=\\\"#334BFA\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15.517 3.6L11.1 0 6.683 3.6H2.4A2.4 2.4 0 000 6v13.2a2.4 2.4 0 002.4 2.4h16.8a2.4 2.4 0 002.4-2.4V6a2.4 2.4 0 00-2.4-2.4h-3.683zM11.1 1.548L7.11 4.8H2.4A1.2 1.2 0 001.2 6v13.2a1.2 1.2 0 001.2 1.2h16.8a1.2 1.2 0 001.2-1.2V6a1.2 1.2 0 00-1.2-1.2h-4.11L11.1 1.548z\\\" fill=\\\"#334BFA\\\"/><path fill=\\\"#334BFA\\\" d=\\\"M3 7.2h13.8v1.2H3zm0 2.4h15.6v1.2H3zM3 12h8.4v1.2H3z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M13.5 17.4a.3.3 0 100-.6.3.3 0 000 .6zm0 .6a.9.9 0 100-1.8.9.9 0 000 1.8zm-2.4-.6a.3.3 0 100-.6.3.3 0 000 .6zm0 .6a.9.9 0 100-1.8.9.9 0 000 1.8z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M9.6 17.1a.9.9 0 11-1.8 0 .9.9 0 011.8 0z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"id-12-brand-refresh\": \"<svg width=\\\"24\\\" height=\\\"24\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M5.4 24A2.4 2.4 0 013 21.6h1.2a1.2 1.2 0 001.2 1.2h16.2a1.2 1.2 0 001.2-1.2V9a1.2 1.2 0 00-1.2-1.2V6.6A2.4 2.4 0 0124 9v12.6a2.4 2.4 0 01-2.4 2.4H5.4z\\\" fill=\\\"#334BFA\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15.517 3.6L11.1 0 6.683 3.6H2.4A2.4 2.4 0 000 6v13.2a2.4 2.4 0 002.4 2.4h16.8a2.4 2.4 0 002.4-2.4V6a2.4 2.4 0 00-2.4-2.4h-3.683zM11.1 1.548L7.11 4.8H2.4A1.2 1.2 0 001.2 6v13.2a1.2 1.2 0 001.2 1.2h16.8a1.2 1.2 0 001.2-1.2V6a1.2 1.2 0 00-1.2-1.2h-4.11L11.1 1.548z\\\" fill=\\\"#334BFA\\\"/><path fill=\\\"#334BFA\\\" d=\\\"M3 7.2h13.8v1.2H3zm0 2.4h15.6v1.2H3zM3 12h8.4v1.2H3z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M13.5 17.4a.3.3 0 100-.6.3.3 0 000 .6zm0 .6a.9.9 0 100-1.8.9.9 0 000 1.8zm-2.4-.6a.3.3 0 100-.6.3.3 0 000 .6zm0 .6a.9.9 0 100-1.8.9.9 0 000 1.8z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M9.6 17.1a.9.9 0 11-1.8 0 .9.9 0 011.8 0z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"id-13-brand-refresh\": \"<svg width=\\\"24\\\" height=\\\"24\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M5.4 24A2.4 2.4 0 013 21.6h1.2a1.2 1.2 0 001.2 1.2h16.2a1.2 1.2 0 001.2-1.2V9a1.2 1.2 0 00-1.2-1.2V6.6A2.4 2.4 0 0124 9v12.6a2.4 2.4 0 01-2.4 2.4H5.4z\\\" fill=\\\"#334BFA\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15.517 3.6L11.1 0 6.683 3.6H2.4A2.4 2.4 0 000 6v13.2a2.4 2.4 0 002.4 2.4h16.8a2.4 2.4 0 002.4-2.4V6a2.4 2.4 0 00-2.4-2.4h-3.683zM11.1 1.548L7.11 4.8H2.4A1.2 1.2 0 001.2 6v13.2a1.2 1.2 0 001.2 1.2h16.8a1.2 1.2 0 001.2-1.2V6a1.2 1.2 0 00-1.2-1.2h-4.11L11.1 1.548z\\\" fill=\\\"#334BFA\\\"/><path fill=\\\"#334BFA\\\" d=\\\"M3 7.2h13.8v1.2H3zm0 2.4h15.6v1.2H3zM3 12h8.4v1.2H3z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M13.5 17.4a.3.3 0 100-.6.3.3 0 000 .6zm0 .6a.9.9 0 100-1.8.9.9 0 000 1.8zm-2.4-.6a.3.3 0 100-.6.3.3 0 000 .6zm0 .6a.9.9 0 100-1.8.9.9 0 000 1.8z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M9.6 17.1a.9.9 0 11-1.8 0 .9.9 0 011.8 0z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"id-2-brand-refresh-product-card\": \"<svg viewBox=\\\"0 0 43 32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M42.667 10.699a3.294 3.294 0 0 1-.861 2.194L20.018 31.33a2.27 2.27 0 0 1-1.428.67 2.112 2.112 0 0 1-1.499-.681 2.08 2.08 0 0 1-.544-1.545v-7.517c0-4.087.922-11.558 7.682-11.558 2.275 0 3.073 1.386 3.073 2.485 0 .838-.323 1.524-2.106 2.683-3.549 2.166-5.577 3.004-5.577 7.03v4.574l19.238-16.209-25.06-7.776 2.75 4.88a.41.41 0 0 1-.123.548l-1.86.945a.325.325 0 0 1-.522-.152l-3.21-6.768a1.955 1.955 0 0 1 .336-2.104 2.67 2.67 0 0 1 2.306-.808l27.41 8.491a2.55 2.55 0 0 1 1.783 2.18zM1.18 24.589a.888.888 0 0 1-.86-.746l-.29-1.388a1.045 1.045 0 0 1 .107-.762.954.954 0 0 1 .63-.442l11.693-3.05h.093a.905.905 0 0 1 .86.761l.307 1.434a.97.97 0 0 1 0 .716.952.952 0 0 1-.63.458L1.383 24.62l-.201-.03zm4.305-8.6a.888.888 0 0 1-.83-.716l-.292-1.524a.975.975 0 0 1 .645-1.175l6.407-1.676h.107c.4.027.737.311.83.701l.292 1.524c.077.431-.126.865-.506 1.082l-6.5 1.77-.155.014h.002z\\\"/></svg>\",\n    \"id-2-brand-refresh-solution-selector\": \"<svg width=\\\"20\\\" height=\\\"18\\\" viewBox=\\\"0 0 43 32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M42.667 10.699a3.294 3.294 0 0 1-.861 2.194L20.018 31.33a2.27 2.27 0 0 1-1.428.67 2.112 2.112 0 0 1-1.499-.681 2.08 2.08 0 0 1-.544-1.545v-7.517c0-4.087.922-11.558 7.682-11.558 2.275 0 3.073 1.386 3.073 2.485 0 .838-.323 1.524-2.106 2.683-3.549 2.166-5.577 3.004-5.577 7.03v4.574l19.238-16.209-25.06-7.776 2.75 4.88a.41.41 0 0 1-.123.548l-1.86.945a.325.325 0 0 1-.522-.152l-3.21-6.768a1.955 1.955 0 0 1 .336-2.104 2.67 2.67 0 0 1 2.306-.808l27.41 8.491a2.55 2.55 0 0 1 1.783 2.18zM1.18 24.589a.888.888 0 0 1-.86-.746l-.29-1.388a1.045 1.045 0 0 1 .107-.762.954.954 0 0 1 .63-.442l11.693-3.05h.093a.905.905 0 0 1 .86.761l.307 1.434a.97.97 0 0 1 0 .716.952.952 0 0 1-.63.458L1.383 24.62l-.201-.03zm4.305-8.6a.888.888 0 0 1-.83-.716l-.292-1.524a.975.975 0 0 1 .645-1.175l6.407-1.676h.107c.4.027.737.311.83.701l.292 1.524c.077.431-.126.865-.506 1.082l-6.5 1.77-.155.014h.002z\\\"/></svg>\",\n    \"id-2-brand-refresh\": \"<svg width=\\\"32\\\" height=\\\"32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"product-icon__symbol\\\" d=\\\"M30 12.021a2.162 2.162 0 0 1-.565 1.44L15.137 25.56c-.249.254-.582.41-.937.44a1.386 1.386 0 0 1-.984-.447 1.365 1.365 0 0 1-.357-1.014v-4.933c0-2.682.605-7.585 5.041-7.585 1.493 0 2.017.91 2.017 1.631 0 .55-.212 1-1.382 1.761-2.329 1.421-3.66 1.971-3.66 4.613v3.002L27.5 12.391 11.054 7.288l1.805 3.202a.269.269 0 0 1-.081.36l-1.22.62a.213.213 0 0 1-.343-.1L9.108 6.929a1.283 1.283 0 0 1 .221-1.381c.388-.41.952-.608 1.513-.53L28.83 10.59A1.674 1.674 0 0 1 30 12.021zM2.775 21.137a.583.583 0 0 1-.564-.49l-.192-.911a.686.686 0 0 1 .07-.5.626.626 0 0 1 .414-.29l7.673-2.002h.061a.594.594 0 0 1 .565.5l.201.941c.06.151.06.32 0 .47a.625.625 0 0 1-.413.3l-7.683 2.002-.132-.02zM5.6 15.493a.583.583 0 0 1-.545-.47l-.191-1a.64.64 0 0 1 .423-.771l4.205-1.1h.07a.602.602 0 0 1 .545.46l.191 1a.679.679 0 0 1-.332.71L5.7 15.483l-.101.01z\\\"/></svg>\",\n    \"id-2-default-brand-refresh\": \"<svg viewBox=\\\"0 0 72 72\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M9.592 32.857a.325.325 0 0 1 .239-.386l11.918-2.757a.214.214 0 0 1 .07 0c.15-.002.28.101.313.248l.52 2.277a.317.317 0 0 1-.238.386l-11.918 2.757h-.07a.321.321 0 0 1-.313-.252l-.52-2.273zm14.473 5.562a.321.321 0 0 0-.313-.252h-.075L2.251 43.162a.32.32 0 0 0-.243.386l.524 2.276c.03.148.16.254.31.253h.074l21.442-4.995a.317.317 0 0 0 .239-.394l-.532-2.269zm43.49-13.995L24.843 13.103a3.19 3.19 0 0 0-.782-.103 2.14 2.14 0 0 0-1.581.651 2.171 2.171 0 0 0-.61 1.607c.002.364.076.724.22 1.06l3.422 8.397c.05.121.167.2.297.201a.315.315 0 0 0 .2-.07l2.077-1.671a.293.293 0 0 0 .078-.347l-3.051-6.464 41.46 10.774-34.11 27.478v-7.59c0-7.063 5.917-10.703 10.24-13.357 2.217-1.363 4.134-2.541 4.134-3.581 0-1.52-2.402-2.623-5.71-2.623-10.472 0-12.032 10.084-12.032 16.095v11.494A3.023 3.023 0 0 0 32.016 58a3.32 3.32 0 0 0 2.027-.788l34.686-27.73A3.015 3.015 0 0 0 70 27.145c0-1.277-.958-2.328-2.445-2.722z\\\"/></svg>\",\n    \"id-2\": \"<svg viewBox=\\\"0 0 50 50\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"product-icon__symbol\\\" d=\\\"M17.84 26.15l-4.45 4.45a2 2 0 0 0 1.41 3.41h6.11l-3.07-7.86zM22 34.01h6l1-5c.666-3.34 1-6.735 1-10.14v-.09c0-7.92-5-10.83-5-10.83s-5 2.91-5 10.83a51.838 51.838 0 0 0 1 10.33l1 4.9zm3-19a2.78 2.78 0 0 1 2.92 2.34.54.54 0 0 1-.53.66.52.52 0 0 1-.46-.26c-.16-.3-.61-.74-1.93-.74-1.32 0-1.76.43-1.91.72a.533.533 0 0 1-.47.28.54.54 0 0 1-.53-.66A2.76 2.76 0 0 1 24.98 15l.02.01zm11.59 15.62l-4.43-4.43-3.08 7.85h6.1a2 2 0 0 0 1.41-3.42zm-8.83 7.3a2 2 0 0 0-1.32-1.8L25 39l-1.44-2.87a2 2 0 0 0-1.32 1.8c0 1.52 2.76 4.94 2.76 4.94s2.76-3.42 2.76-4.94z\\\"/></svg>\",\n    \"id-5-brand-refresh-product-card\": \"<svg viewBox=\\\"0 0 28 32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M3.108 31.103A3.729 3.729 0 0 1 0 27.995V.026h3.108v27.97l19.905.14c1.85 0 1.85.233 1.85-1.695V4.687c0-1.46 0-1.647-1.555-1.647H12.43L6.216 1.579l7.768.373a22.977 22.977 0 0 0 2.348 7.521c.046.136.078.276.093.42 0 0-.311 1.01-.887 1.01-.217 0-1.274-1.447-1.554-1.556L11.188 8.23l-.638 3.574a.949.949 0 0 1-.885.622.84.84 0 0 1-.778-.39A21.988 21.988 0 0 1 6.216 1.58 1.91 1.91 0 0 1 7.77.025h15.54a4.226 4.226 0 0 1 4.66 4.662v21.645a4.413 4.413 0 0 1-4.662 4.771h-20.2zm3.108-6.216V21.78h9.322v3.11H6.216v-.002zm0-6.216v-3.106h15.54v3.106H6.216z\\\"/></svg>\",\n    \"id-5-brand-refresh-solution-selector\": \"<svg width=\\\"20\\\" height=\\\"18\\\" viewBox=\\\"0 0 28 32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M3.108 31.103A3.729 3.729 0 0 1 0 27.995V.026h3.108v27.97l19.905.14c1.85 0 1.85.233 1.85-1.695V4.687c0-1.46 0-1.647-1.555-1.647H12.43L6.216 1.579l7.768.373a22.977 22.977 0 0 0 2.348 7.521c.046.136.078.276.093.42 0 0-.311 1.01-.887 1.01-.217 0-1.274-1.447-1.554-1.556L11.188 8.23l-.638 3.574a.949.949 0 0 1-.885.622.84.84 0 0 1-.778-.39A21.988 21.988 0 0 1 6.216 1.58 1.91 1.91 0 0 1 7.77.025h15.54a4.226 4.226 0 0 1 4.66 4.662v21.645a4.413 4.413 0 0 1-4.662 4.771h-20.2zm3.108-6.216V21.78h9.322v3.11H6.216v-.002zm0-6.216v-3.106h15.54v3.106H6.216z\\\"/></svg>\",\n    \"id-5-brand-refresh\": \"<svg width=\\\"30\\\" height=\\\"30\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"product-icon__symbol\\\" d=\\\"M7.998 24.995A2.397 2.397 0 016 22.997V5.017h1.998v17.98l12.796.09c1.189 0 1.189.15 1.189-1.089V8.013c0-.939 0-1.059-.999-1.059h-6.993l-3.995-.939 4.994.24c.22 1.687.731 3.322 1.509 4.835.03.087.05.177.06.27 0 0-.2.65-.57.65-.14 0-.819-.93-.999-1l-1.798-.719-.41 2.297a.61.61 0 01-.569.4.54.54 0 01-.5-.25 14.136 14.136 0 01-1.717-6.723c.089-.51.488-.91.999-.999h9.99a2.717 2.717 0 012.996 2.997v13.915a2.837 2.837 0 01-2.997 3.067H7.998zM9.996 21v-1.998h5.993v2H9.996v-.002zm0-3.996v-1.997h9.99v1.997h-9.99z\\\"/></svg>\\n\",\n    \"id-5-default-brand-refresh\": \"<svg viewBox=\\\"0 0 72 72\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M56 20.514v30.968c0 4.15-3.339 7.516-7.458 7.518H18.4c-1.877 0-3.4-1.534-3.4-3.426V13.282a.28.28 0 0 1 .28-.282h2.382a.28.28 0 0 1 .28.282v42.617h30.533c1.18 0 2.313-.472 3.147-1.313a4.5 4.5 0 0 0 1.304-3.17V20.58c0-2.765-1.722-4.55-4.384-4.55H35.774v.473c.087 3.361.82 6.674 2.157 9.754.334.783.152 1.175-.3 1.637a1.091 1.091 0 0 1-.777.282 3.09 3.09 0 0 1-1.235-.298L31.615 26l-1.721 3.775a1.749 1.749 0 0 1-1.586 1.061 1.514 1.514 0 0 1-1.33-.783c-1.768-3.038-2.65-7.807-2.65-14.162v-1.007c0-1.035.83-1.877 1.858-1.883h22.422C52.96 13 56 16.09 56 20.514zM24.596 41.102H46.54a.28.28 0 0 0 .28-.282v-2.4a.28.28 0 0 0-.28-.282H24.596a.28.28 0 0 0-.28.282v2.4a.28.28 0 0 0 .28.282zm0 8.646h12.227a.28.28 0 0 0 .28-.282v-2.4a.28.28 0 0 0-.28-.283H24.596a.281.281 0 0 0-.268.282v2.4c0 .152.118.276.268.283z\\\"/></svg>\",\n    \"id-5\": \"<svg viewBox=\\\"0 0 50 50\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"product-icon__symbol\\\" d=\\\"M25.002 21.005a4.002 4.002 0 0 0-3.997 3.997A4.002 4.002 0 0 0 25.002 29 4.002 4.002 0 0 0 29 25.002a4.002 4.002 0 0 0-3.998-3.997\\\"/><path class=\\\"product-icon__symbol\\\" d=\\\"M31.312 32.76l-2.86-2.86a5.959 5.959 0 0 1-3.45 1.1 6.004 6.004 0 0 1-5.997-5.998 6.004 6.004 0 0 1 5.997-5.997A6.004 6.004 0 0 1 31 25.002a5.96 5.96 0 0 1-1.13 3.49l2.856 2.854-1.414 1.414zM16.016 15.009a1 1 0 0 1-1-1V14a1 1 0 0 1 1-1H35v-2H16a3 3 0 0 0-3 3v22a2 2 0 0 0 2 2h22.005V15.009h-20.99z\\\"/></svg>\",\n    \"id-7-brand-refresh-product-card\": \"<svg viewBox=\\\"0 0 32 32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M28 32H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h24a4 4 0 0 1 4 4v24a4 4 0 0 1-4 4zM4 2.667c-.736 0-1.333.597-1.333 1.333v24c0 .736.597 1.333 1.333 1.333h24c.736 0 1.333-.597 1.333-1.333V4c0-.736-.597-1.333-1.333-1.333H4z\\\"/><path d=\\\"M1.333 21.333h29.334V24H1.333zm21.334-4H9.333a4 4 0 0 1-4-4V12a4 4 0 0 1 4-4h13.334a4 4 0 0 1 4 4v1.333a4 4 0 0 1-4 4zM9.333 10.667C8.597 10.667 8 11.264 8 12v1.333c0 .737.597 1.334 1.333 1.334h13.334c.736 0 1.333-.597 1.333-1.334V12c0-.736-.597-1.333-1.333-1.333H9.333z\\\"/></svg>\",\n    \"id-7-brand-refresh\": \"<svg width=\\\"30\\\" height=\\\"30\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"product-icon__symbol\\\" d=\\\"M8 20v.78c0 .674.546 1.22 1.22 1.22h11.56A1.22 1.22 0 0 0 22 20.78V20H8zm0-2h14V9.22A1.22 1.22 0 0 0 20.78 8H9.22A1.22 1.22 0 0 0 8 9.22V18zM21.11 6A2.89 2.89 0 0 1 24 8.89v12.22A2.89 2.89 0 0 1 21.11 24H8.89A2.89 2.89 0 0 1 6 21.11V8.89A2.89 2.89 0 0 1 8.89 6h12.22zM18 16h-6a3 3 0 0 1 0-6h6a3 3 0 0 1 0 6zm-6-2h6a1 1 0 0 0 0-2h-6a1 1 0 0 0 0 2z\\\"/></svg>\",\n    \"id-7-default-brand-refresh\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 72 72\\\"><path d=\\\"M36 62c14.36 0 26-11.64 26-26S50.36 10 36 10 10 21.64 10 36s11.64 26 26 26zm11-21H25V25h22v16zm0 3v3H25v-3h22zM36 65C19.984 65 7 52.016 7 36S19.984 7 36 7s29 12.984 29 29-12.984 29-29 29zM25 22a3 3 0 0 0-3 3v22a3 3 0 0 0 3 3h22a3 3 0 0 0 3-3V25a3 3 0 0 0-3-3H25zm7 7a4 4 0 1 0 0 8h8a4 4 0 1 0 0-8h-8zm0 3h8a1 1 0 1 1 0 2h-8a1 1 0 1 1 0-2z\\\"/></svg>\",\n    \"id-8-brand-refresh-product-card\": \"<svg viewBox=\\\"0 0 32 32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M28 32H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h24a4 4 0 0 1 4 4v24a4 4 0 0 1-4 4zM4 2.667c-.736 0-1.333.597-1.333 1.333v24c0 .736.597 1.333 1.333 1.333h24c.736 0 1.333-.597 1.333-1.333V4c0-.736-.597-1.333-1.333-1.333H4z\\\"/><path d=\\\"M1.333 21.333h29.334V24H1.333zm21.334-4H9.333a4 4 0 0 1-4-4V12a4 4 0 0 1 4-4h13.334a4 4 0 0 1 4 4v1.333a4 4 0 0 1-4 4zM9.333 10.667C8.597 10.667 8 11.264 8 12v1.333c0 .737.597 1.334 1.333 1.334h13.334c.736 0 1.333-.597 1.333-1.334V12c0-.736-.597-1.333-1.333-1.333H9.333z\\\"/></svg>\",\n    \"id-8-brand-refresh\": \"<svg width=\\\"30\\\" height=\\\"30\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"left-nav__icon\\\" d=\\\"M8 20v.78c0 .674.546 1.22 1.22 1.22h11.56A1.22 1.22 0 0 0 22 20.78V20H8zm0-2h14V9.22A1.22 1.22 0 0 0 20.78 8H9.22A1.22 1.22 0 0 0 8 9.22V18zM21.11 6A2.89 2.89 0 0 1 24 8.89v12.22A2.89 2.89 0 0 1 21.11 24H8.89A2.89 2.89 0 0 1 6 21.11V8.89A2.89 2.89 0 0 1 8.89 6h12.22zM18 16h-6a3 3 0 0 1 0-6h6a3 3 0 0 1 0 6zm-6-2h6a1 1 0 0 0 0-2h-6a1 1 0 0 0 0 2z\\\"/></svg>\",\n    \"id-8-default-brand-refresh\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 72 72\\\"><path d=\\\"M36 62c14.36 0 26-11.64 26-26S50.36 10 36 10 10 21.64 10 36s11.64 26 26 26zm11-21H25V25h22v16zm0 3v3H25v-3h22zM36 65C19.984 65 7 52.016 7 36S19.984 7 36 7s29 12.984 29 29-12.984 29-29 29zM25 22a3 3 0 0 0-3 3v22a3 3 0 0 0 3 3h22a3 3 0 0 0 3-3V25a3 3 0 0 0-3-3H25zm7 7a4 4 0 1 0 0 8h8a4 4 0 1 0 0-8h-8zm0 3h8a1 1 0 1 1 0 2h-8a1 1 0 1 1 0-2z\\\"/></svg>\",\n    \"id-9-brand-refresh-product-card\": \"<svg viewBox=\\\"0 0 24 24\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M5.4 24A2.4 2.4 0 013 21.6h1.2a1.2 1.2 0 001.2 1.2h16.2a1.2 1.2 0 001.2-1.2V9a1.2 1.2 0 00-1.2-1.2V6.6A2.4 2.4 0 0124 9v12.6a2.4 2.4 0 01-2.4 2.4H5.4z\\\" fill=\\\"#334BFA\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15.517 3.6L11.1 0 6.683 3.6H2.4A2.4 2.4 0 000 6v13.2a2.4 2.4 0 002.4 2.4h16.8a2.4 2.4 0 002.4-2.4V6a2.4 2.4 0 00-2.4-2.4h-3.683zM11.1 1.548L7.11 4.8H2.4A1.2 1.2 0 001.2 6v13.2a1.2 1.2 0 001.2 1.2h16.8a1.2 1.2 0 001.2-1.2V6a1.2 1.2 0 00-1.2-1.2h-4.11L11.1 1.548z\\\" fill=\\\"#334BFA\\\"/><path fill=\\\"#334BFA\\\" d=\\\"M3 7.2h13.8v1.2H3zm0 2.4h15.6v1.2H3zM3 12h8.4v1.2H3z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M13.5 17.4a.3.3 0 100-.6.3.3 0 000 .6zm0 .6a.9.9 0 100-1.8.9.9 0 000 1.8zm-2.4-.6a.3.3 0 100-.6.3.3 0 000 .6zm0 .6a.9.9 0 100-1.8.9.9 0 000 1.8z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M9.6 17.1a.9.9 0 11-1.8 0 .9.9 0 011.8 0z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"id-9-brand-refresh\": \"<svg height=\\\"30\\\" width=\\\"30\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"left-nav__icon\\\" clip-rule=\\\"evenodd\\\" d=\\\"M16.364 7.567l1.994 2.29h3.585c1.136 0 2.057.921 2.057 2.057v10.029A2.057 2.057 0 0 1 21.943 24H8.057A2.057 2.057 0 0 1 6 21.943V11.914c0-1.136.921-2.057 2.057-2.057h3.586l1.993-2.29L15 6zm-3.17 3.64L15 9.134l1.806 2.075.615.706h4.522v10.029H8.057V11.914h4.522zm6.949 2.507H9.857V15h10.286zM9.857 16.286h6.429v1.285H9.857zm9 2.571h-9v1.286h9z\\\" fill-rule=\\\"evenodd\\\"/></svg>\\n\",\n    \"id-9-default-brand-refresh\": \"<svg width=\\\"24\\\" height=\\\"24\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M5.4 24A2.4 2.4 0 013 21.6h1.2a1.2 1.2 0 001.2 1.2h16.2a1.2 1.2 0 001.2-1.2V9a1.2 1.2 0 00-1.2-1.2V6.6A2.4 2.4 0 0124 9v12.6a2.4 2.4 0 01-2.4 2.4H5.4z\\\" fill=\\\"#334BFA\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15.517 3.6L11.1 0 6.683 3.6H2.4A2.4 2.4 0 000 6v13.2a2.4 2.4 0 002.4 2.4h16.8a2.4 2.4 0 002.4-2.4V6a2.4 2.4 0 00-2.4-2.4h-3.683zM11.1 1.548L7.11 4.8H2.4A1.2 1.2 0 001.2 6v13.2a1.2 1.2 0 001.2 1.2h16.8a1.2 1.2 0 001.2-1.2V6a1.2 1.2 0 00-1.2-1.2h-4.11L11.1 1.548z\\\" fill=\\\"#334BFA\\\"/><path fill=\\\"#334BFA\\\" d=\\\"M3 7.2h13.8v1.2H3zm0 2.4h15.6v1.2H3zM3 12h8.4v1.2H3z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M13.5 17.4a.3.3 0 100-.6.3.3 0 000 .6zm0 .6a.9.9 0 100-1.8.9.9 0 000 1.8zm-2.4-.6a.3.3 0 100-.6.3.3 0 000 .6zm0 .6a.9.9 0 100-1.8.9.9 0 000 1.8z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M9.6 17.1a.9.9 0 11-1.8 0 .9.9 0 011.8 0z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"id-platform-brand-refresh\": \"<svg width=\\\"32\\\" height=\\\"32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"product-icon__symbol\\\" d=\\\"M15.997 7h12.996v18H3v-.94a7.07 7.07 0 0 1 3.939-6.65 6.4 6.4 0 0 0 .61-.38c-.05-.08-.15-.21-.15-.21a5 5 0 0 1-1.17-3.18 4.48 4.48 0 0 1 4.449-4.54c.29-.03.58-.03.87 0a4.59 4.59 0 0 1 3.549 5 5 5 0 0 1-1.14 2.7l-.15.2.61.37a6.37 6.37 0 0 1 3.58 5.63h8.997V9H15.997V7zM4.999 23h10.998a4.11 4.11 0 0 0-2.5-3.94c-.79-.49-1.6-1-1.6-2 .043-.52.262-1.01.62-1.39a3.16 3.16 0 0 0 .77-1.76 2.73 2.73 0 0 0-2.09-3 2.239 2.239 0 0 0-.519-.05 2.68 2.68 0 0 0-2.63 2.69c0 .773.28 1.52.79 2.1.356.385.574.878.62 1.4 0 1.05-.82 1.53-1.6 2C6.79 19.68 5 20.57 5 23zm21.995 0h-9.998l.43.14a.68.68 0 0 0 0-.14h9.568zm-7.998-11h2v3h-2v-3zm3.999 0h2v3h-2v-3zm-4 5h2v3h-2v-3zm4 0h2v3h-2v-3z\\\"/></svg>\",\n    \"id-platform-default-brand-refresh\": \"<svg viewBox=\\\"0 0 72 72\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M46.515 30.728a2.17 2.17 0 0 1-1.03 1.95 2.082 2.082 0 0 1-2.17 0 2.17 2.17 0 0 1-1.03-1.95v-2.83a2.17 2.17 0 0 1 1.03-1.95 2.082 2.082 0 0 1 2.17 0 2.17 2.17 0 0 1 1.03 1.95v2.83zm9.897 11.544c0-1.193-.948-2.16-2.117-2.16-1.17 0-2.117.967-2.117 2.16v2.83c0 1.193.948 2.16 2.117 2.16s2.117-.967 2.117-2.16v-2.83zm-9.897 0a2.17 2.17 0 0 0-1.03-1.95 2.082 2.082 0 0 0-2.17 0 2.17 2.17 0 0 0-1.03 1.95v2.83a2.17 2.17 0 0 0 1.03 1.95 2.082 2.082 0 0 0 2.17 0 2.17 2.17 0 0 0 1.03-1.95v-2.83zm9.897-14.366c0-1.193-.948-2.16-2.117-2.16-1.17 0-2.117.967-2.117 2.16v2.83c0 1.193.948 2.16 2.117 2.16s2.117-.967 2.117-2.16v-2.83zM37.479 17.008h26.813c.39.01.704.333.708.731v37.522a.732.732 0 0 1-.725.739H7v-1.53c0-9.481 4.847-12.304 8.054-14.176 1.88-1.094 2.589-1.588 2.589-2.438 0-.422-.36-.933-.953-1.715-1.065-1.407-2.523-3.334-2.523-6.828a9.488 9.488 0 0 1 3.375-7.266 9.098 9.098 0 0 1 7.645-1.958c4.764.925 7.83 5.43 7.366 10.352-.27 2.852-1.537 4.504-2.486 5.75-.596.778-.936 1.239-.936 1.665 0 .845.713 1.344 2.59 2.438 3.028 1.767 7.51 4.386 8.008 12.643h22.288V20.063H37.48a.732.732 0 0 1-.725-.74V17.74c0-.408.325-.739.725-.739v.008zm-.775 35.929c-.414-6.448-3.641-8.32-6.496-9.98-2.017-1.18-4.097-2.392-4.097-5.1 0-1.5.795-2.536 1.57-3.554.936-1.221 1.902-2.485 1.902-4.99 0-3.5-2.783-6.338-6.215-6.338s-6.214 2.837-6.214 6.338c0 2.45.965 3.722 1.898 4.956.774 1.027 1.578 2.087 1.578 3.587 0 2.709-2.071 3.921-4.101 5.1-2.855 1.66-6.061 3.533-6.492 9.98h26.667z\\\"/></svg>\",\n    \"id-platform\": \"<svg width=\\\"32\\\" height=\\\"32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"product-icon__symbol\\\" d=\\\"M23 11h2V9h-2v2zm0 4h2v-2h-2v2zm-4-4h2V9h-2v2zm3-4h4v17h-2.073c.032 0-.113-.976-.351-1.607-.44-1.167-1.661-3.088-4.695-4.333.468-.916.589-1.929.589-3.032L19.469 15H21v-2h-1.759c-.231-.877-.638-1.537-1.241-2.031V7h1V6h3v1zm-5.918 11.84c5.762 1.346 5.995 5.16 5.905 5.16H7s.377-4.226 5.995-5.16c-.915-.915-1.67-2.023-1.67-3.817 0-1.185.055-4 3.214-4 3.069 0 3.212 2.818 3.212 4.003 0 1.794-.771 2.971-1.669 3.814z\\\"/></svg>\",\n    \"id-reports-brand-refresh\": \"<svg width=\\\"30\\\" height=\\\"30\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"product-icon__symbol\\\" clip-rule=\\\"evenodd\\\" d=\\\"M8.89 6h12.22A2.89 2.89 0 0 1 24 8.89v12.22A2.89 2.89 0 0 1 21.11 24H8.89A2.89 2.89 0 0 1 6 21.11V8.89A2.89 2.89 0 0 1 8.89 6zm11.89 16A1.22 1.22 0 0 0 22 20.78V9.22A1.22 1.22 0 0 0 20.78 8H9.22A1.22 1.22 0 0 0 8 9.22v11.56c0 .674.546 1.22 1.22 1.22h11.56z\\\"/><path class=\\\"product-icon__symbol\\\" d=\\\"M12 15v8h-2v-8h2zm4 3v5h-2v-5h2zm4-6v11h-2V12h2z\\\"/></svg>\",\n    \"inbox-24px\": \"<svg width=\\\"24\\\" height=\\\"24\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M9.402 16.8c0-1.32.472-2.264 2.4-2.4h3.2c1.6 0 4.048-1.6 4.048-4 0-3.2-2.448-4.8-7.248-4.8-5.2 0-7.2 1.288-7.2 4.8 0 2.17 1.114 2.64 1.948 2.992.165.07.32.135.452.208l-.8 1.6a5 5 0 0 1-3.2-4.8c0-4.128 3.2-6.4 8.8-6.4 5.6 0 8.8 2.28 8.8 6.4 0 1.168-.8 5.6-6.4 5.6-1.6 0-1.6.8-1.6 2.248v1.176c0 .432-.44.576-.8.576-1.032 0-2.4-1.6-2.4-3.2zm6.4-7.2h-8V8h8v1.6zm-8 3.2h4.8v-1.6h-4.8v1.6z\\\" /></svg>\\n\",\n    \"messages-24px\": \"<svg width=\\\"24\\\" height=\\\"24\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M23.2 8.817a1.73 1.73 0 0 1-.452 1.152L11.31 19.648c-.2.203-.466.328-.75.352a1.108 1.108 0 0 1-.788-.358 1.092 1.092 0 0 1-.285-.81v-3.947c0-2.146.484-6.068 4.033-6.068 1.194 0 1.613.728 1.613 1.305 0 .44-.17.8-1.105 1.409l-.462.278c-1.576.946-2.466 1.48-2.466 3.412v2.401l10.1-8.51L8.042 5.03l1.444 2.562a.215.215 0 0 1-.065.288l-.976.496a.17.17 0 0 1-.274-.08L6.486 4.742a1.027 1.027 0 0 1 .177-1.105c.31-.328.762-.486 1.21-.424l14.391 4.459c.515.161.883.612.936 1.145zM1.42 16.109a.467.467 0 0 1-.452-.392l-.153-.728a.548.548 0 0 1 .057-.4.5.5 0 0 1 .33-.233l6.139-1.6h.048a.475.475 0 0 1 .452.4l.161.752a.509.509 0 0 1 0 .376.5.5 0 0 1-.33.24l-6.147 1.601-.105-.016zm1.823-4.89c.04.21.22.365.436.376l.08-.008 3.413-.929a.543.543 0 0 0 .266-.568l-.153-.8a.483.483 0 0 0-.436-.37h-.057l-3.363.881a.512.512 0 0 0-.34.617l.154.8z\\\" /></svg>\\n\",\n    \"messenger-24px\": \"<svg width=\\\"24\\\" height=\\\"24\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M6.22 17H14l5 2V5.22A1.22 1.22 0 0 0 17.78 4H6.22A1.22 1.22 0 0 0 5 5.22v10.56c0 .674.546 1.22 1.22 1.22zM21 3.89v16.49a1 1 0 0 1-1.45.9L13 19H5.89A2.89 2.89 0 0 1 3 16.11V4.89A2.89 2.89 0 0 1 5.89 2h12.22C19.71 2 21 3.29 21 3.89zM7.06 13.65A9.2 9.2 0 0 0 12 15.06a9.2 9.2 0 0 0 4.94-1.41.77.77 0 0 0 .23-1.07.76.76 0 0 0-1.06-.24 7.89 7.89 0 0 1-8.22 0 .76.76 0 0 0-1.06.24.77.77 0 0 0 .23 1.07z\\\" /></svg>\\n\",\n    \"operator-24px\": \"<svg width=\\\"24\\\" height=\\\"24\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M18.11 3H5.89A2.89 2.89 0 0 0 3 5.89v12.22A2.89 2.89 0 0 0 5.89 21h12.22A2.89 2.89 0 0 0 21 18.11V5.89A2.89 2.89 0 0 0 18.11 3zM19 17.78A1.22 1.22 0 0 1 17.78 19H6.22A1.22 1.22 0 0 1 5 17.78V17h14v.78zM19 15H5V6.22C5 5.546 5.546 5 6.22 5h11.56c.674 0 1.22.546 1.22 1.22V15zm-4-2H9a3 3 0 1 1 0-6h6a3 3 0 1 1 0 6zm0-2H9a1 1 0 1 1 0-2h6a1 1 0 1 1 0 2z\\\" /></svg>\\n\",\n    \"resized-id-1\": \"<svg width=\\\"30\\\" height=\\\"30\\\"><path class=\\\"product-icon__symbol\\\" d=\\\"M15 5.4a8.32 8.32 0 0 1 8.32 8.32c0 8.32-8.32 11.52-8.32 11.52v-3.2A8.32 8.32 0 1 1 15 5.4zm0 4.48a2.56 2.56 0 0 0-2.56 2.342l1.28.18a1.28 1.28 0 0 1 2.56.038c0 1.28-1.792 1.28-1.792 3.06v.14h1.018v-.14c0-1.018 2.048-1.28 2.048-3.06A2.56 2.56 0 0 0 15 9.88zm.122 8.563a.762.762 0 1 0 0-1.523.762.762 0 0 0 0 1.523z\\\"/></svg>\",\n    \"resized-id-2\": \"<svg width=\\\"30\\\" height=\\\"30\\\"><path class=\\\"product-icon__symbol\\\" d=\\\"M10.418 15.736L7.57 18.584a1.28 1.28 0 0 0 .902 2.182h3.91l-1.964-5.03zm2.662 5.03h3.84l.64-3.2c.426-2.137.64-4.31.64-6.49v-.057c0-5.069-3.2-6.931-3.2-6.931s-3.2 1.862-3.2 6.931a33.176 33.176 0 0 0 .64 6.611l.64 3.136zM15 8.606a1.78 1.78 0 0 1 1.869 1.498.346.346 0 0 1-.34.422.333.333 0 0 1-.294-.166c-.102-.192-.39-.474-1.235-.474-.845 0-1.126.276-1.222.461a.341.341 0 0 1-.301.18.346.346 0 0 1-.34-.423 1.766 1.766 0 0 1 1.85-1.504l.013.006zm7.418 9.997l-2.836-2.835-1.97 5.024h3.903a1.28 1.28 0 0 0 .903-2.189zm-5.652 4.672a1.28 1.28 0 0 0-.844-1.152L15 23.96l-.922-1.837a1.28 1.28 0 0 0-.844 1.152c0 .973 1.766 3.162 1.766 3.162s1.766-2.189 1.766-3.162z\\\"/></svg>\",\n    \"resized-id-5\": \"<svg width=\\\"30\\\" height=\\\"30\\\"><path class=\\\"product-icon__symbol\\\" d=\\\"M15.001 12.443a2.561 2.561 0 0 0-2.558 2.558 2.561 2.561 0 0 0 2.558 2.559 2.561 2.561 0 0 0 2.559-2.559 2.561 2.561 0 0 0-2.559-2.558\\\"/><path class=\\\"product-icon__symbol\\\" d=\\\"M19.04 19.966l-1.83-1.83a3.814 3.814 0 0 1-2.21.704 3.843 3.843 0 0 1-3.838-3.839A3.843 3.843 0 0 1 15 11.163a3.843 3.843 0 0 1 3.839 3.838 3.814 3.814 0 0 1-.723 2.234l1.828 1.826-.905.905zM9.25 8.606a.64.64 0 0 1-.64-.64V7.96a.64.64 0 0 1 .64-.64H21.4V6.04H9.24a1.92 1.92 0 0 0-1.92 1.92v14.08a1.28 1.28 0 0 0 1.28 1.28h14.083V8.606H9.25z\\\"/></svg>\",\n    \"resized-id-platform\": \"<svg width=\\\"30\\\" height=\\\"30\\\" viewBox=\\\"0 0 32 32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"product-icon__symbol\\\" d=\\\"M22 10h2V8h-2v2zm0 4h2v-2h-2v2zm-4-4h2V8h-2v2zm3-4h4v17h-2.073c.032 0-.113-.976-.351-1.607-.44-1.167-1.661-3.088-4.695-4.333.468-.916.589-1.929.589-3.032L18.469 14H20v-2h-1.759c-.231-.877-.638-1.537-1.241-2.031V6h1V5h3v1zm-5.918 11.84c5.762 1.346 5.995 5.16 5.905 5.16H6s.377-4.226 5.995-5.16c-.915-.915-1.67-2.023-1.67-3.817 0-1.185.055-4 3.214-4 3.069 0 3.212 2.818 3.212 4.003 0 1.794-.771 2.971-1.669 3.814z\\\"/></svg>\"\n  },\n  \"respond-content\": \"<svg width=\\\"12\\\" height=\\\"14\\\" class=\\\"knowledgebase__icon-inner\\\"><path d=\\\"M0 1.007A1.01 1.01 0 0 1 1.002 0h9.996C11.55 0 12 .45 12 1.007v11.986A1.01 1.01 0 0 1 10.998 14H1.002C.45 14 0 13.55 0 12.993V1.007zM3 3h6v1H3V3zm0 2h6v1H3V5zm0 2h6v1H3V7zm0 2h4v1H3V9z\\\" fill=\\\"#A7BFCB\\\" fill-rule=\\\"evenodd\\\"/></svg>\",\n  \"saved-reply-icon\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"35\\\" height=\\\"41\\\" data-ember-extension=\\\"1\\\"><g fill=\\\"#88A2B0\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M24.438 15.61c-1 0-1.818.78-1.874 1.76v1.59a1.45 1.45 0 0 1 0 .34 1.872 1.872 0 0 1-1.984 1.696h-7.2a1.7 1.7 0 0 1-.234 0 1.87 1.87 0 0 1-1.76-1.866l.002-1.606v-.088a1.872 1.872 0 0 0-1.875-1.826H5.835c-.013 0-.205-.02-.28-.046a.83.83 0 0 1-.515-1.03s.016-.05.027-.076L9.26 3.245l.26-.7A.834.834 0 0 1 10.305 2h13.35a.832.832 0 0 1 .796.584l4.475 11.85.04.108a.765.765 0 0 1 .037.24.834.834 0 0 1-.79.828h-3.77zm7.41-.17L26.4 1.205A1.867 1.867 0 0 0 24.642 0H9.352c-.782 0-1.455.48-1.73 1.157l-5.47 14.45-.065.17c-.05.16-.08.324-.085.49v9.96c.033.985.856 1.773 1.865 1.773h26.27c1.02 0 1.848-.805 1.865-1.804V16.13a1.777 1.777 0 0 0-.095-.545l-.056-.145z\\\"/><ellipse opacity=\\\".2\\\" cx=\\\"17.5\\\" cy=\\\"39\\\" rx=\\\"17.5\\\" ry=\\\"2\\\"/></g></svg>\",\n  \"series\": {\n    \"content\": {\n      \"banner\": \"<svg width=\\\"34\\\" height=\\\"34\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M6 33h22a5 5 0 005-5V6a5 5 0 00-5-5H6a5 5 0 00-5 5v22a5 5 0 005 5z\\\" fill=\\\"#6AFDEF\\\" stroke=\\\"#fff\\\" stroke-width=\\\"2\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M22.895 11.667h-11.79a.419.419 0 00-.42.416v9.834c0 .23.188.416.42.416h11.79a.419.419 0 00.42-.416v-9.834a.419.419 0 00-.42-.416zM11.105 10A2.094 2.094 0 009 12.083v9.834C9 23.067 9.943 24 11.105 24h11.79A2.094 2.094 0 0025 21.917v-9.834c0-1.15-.943-2.083-2.105-2.083h-11.79z\\\" fill=\\\"#222\\\"/><path d=\\\"M20.5 13h-7a1.5 1.5 0 000 3h7a1.5 1.5 0 000-3z\\\" fill=\\\"#222\\\"/></svg>\",\n      \"bot\": \"<svg width=\\\"34\\\" height=\\\"34\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><rect x=\\\"33\\\" y=\\\"33\\\" width=\\\"32\\\" height=\\\"32\\\" rx=\\\"5\\\" transform=\\\"rotate(-180 33 33)\\\" fill=\\\"#6AFDEF\\\" stroke=\\\"#fff\\\" stroke-width=\\\"2\\\"/><path d=\\\"M15.25 14.4h3.5a.85.85 0 010 1.7h-3.5a.85.85 0 010-1.7z\\\" fill=\\\"#222\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M10 13.2c0-1.12 0-1.68.218-2.108a2 2 0 01.874-.874C11.52 10 12.08 10 13.2 10h7.6c1.12 0 1.68 0 2.108.218a2 2 0 01.874.874C24 11.52 24 12.08 24 13.2v6.28c0 .112 0 .168-.022.21a.2.2 0 01-.087.088c-.043.022-.099.022-.211.022H10.32c-.112 0-.168 0-.21-.022a.2.2 0 01-.088-.087C10 19.648 10 19.592 10 19.48V13.2zm3 2.05A2.25 2.25 0 0115.25 13h3.5a2.25 2.25 0 010 4.5h-3.5A2.25 2.25 0 0113 15.25z\\\" fill=\\\"#222\\\"/><path d=\\\"M10.021 21.528c-.007-.11-.01-.165.01-.21a.205.205 0 01.088-.094c.044-.024.101-.024.216-.024h13.33c.115 0 .172 0 .216.024.038.02.07.054.088.093.02.046.017.101.01.211-.025.378-.079.648-.197.88a2 2 0 01-.874.874c-.428.218-.988.218-2.108.218h-7.6c-1.12 0-1.68 0-2.108-.218a2 2 0 01-.874-.874c-.118-.232-.172-.502-.197-.88z\\\" fill=\\\"#222\\\"/></svg>\",\n      \"carousel\": \"<svg width=\\\"34\\\" height=\\\"34\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><rect x=\\\"33\\\" y=\\\"33\\\" width=\\\"32\\\" height=\\\"32\\\" rx=\\\"5\\\" transform=\\\"rotate(-180 33 33)\\\" fill=\\\"#6AFDEF\\\" stroke=\\\"#fff\\\" stroke-width=\\\"2\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M9.8 12.2c0-1.12 0-1.68.218-2.108a2 2 0 01.874-.874C11.32 9 11.88 9 13 9h3.6c1.12 0 1.68 0 2.108.218a2 2 0 01.874.874c.218.428.218.988.218 2.108v9.6c0 1.12 0 1.68-.218 2.108a2 2 0 01-.874.874C18.28 25 17.72 25 16.6 25H13c-1.12 0-1.68 0-2.108-.218a2 2 0 01-.874-.874C9.8 23.48 9.8 22.92 9.8 21.8v-9.6zm6.2 10a1.2 1.2 0 11-2.4 0 1.2 1.2 0 012.4 0zM11.8 11a.6.6 0 00-.6.6v7.3a.6.6 0 00.6.6h6a.6.6 0 00.6-.6v-7.3a.6.6 0 00-.6-.6h-6z\\\" fill=\\\"#222\\\"/><path d=\\\"M21 11h.4a1 1 0 011 1v10a1 1 0 01-1 1H21V11zM24 13h-.4v8h.4a1 1 0 001-1v-6a1 1 0 00-1-1z\\\" fill=\\\"#222\\\"/></svg>\",\n      \"chat\": \"<svg width=\\\"34\\\" height=\\\"34\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><rect x=\\\"33\\\" y=\\\"33\\\" width=\\\"32\\\" height=\\\"32\\\" rx=\\\"5\\\" transform=\\\"rotate(-180 33 33)\\\" fill=\\\"#6AFDEF\\\" stroke=\\\"#fff\\\" stroke-width=\\\"2\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M10 15.566c0-1.402 0-2.103.303-2.726a3.22 3.22 0 011.226-1.3c.603-.34 1.24-.377 2.514-.452A50.394 50.394 0 0117 11c1.07 0 2.069.036 2.957.088 1.274.075 1.91.113 2.514.452a3.22 3.22 0 011.226 1.3c.303.623.303 1.324.303 2.726v1.868c0 1.402 0 2.103-.303 2.726a3.22 3.22 0 01-1.226 1.3c-.603.34-1.24.377-2.514.452a50.4 50.4 0 01-5.422.027l-2.725 1.238c-.603.274-.904.411-1.147.369a.8.8 0 01-.524-.337C10 23.005 10 22.674 10 22.012v-6.446zm3-1.166c0-.22.18-.4.4-.4h7.2c.22 0 .4.18.4.4v.6a.4.4 0 01-.4.4h-7.2a.4.4 0 01-.4-.4v-.6zm.4 2.6a.4.4 0 00-.4.4v.6c0 .22.18.4.4.4h4.2a.4.4 0 00.4-.4v-.6a.4.4 0 00-.4-.4h-4.2z\\\" fill=\\\"#222\\\"/></svg>\",\n      \"condition\": \"<svg fill=\\\"none\\\" viewBox=\\\"0 0 36 36\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M18 35c-1 0-2.1-.3-3-.8l-9.6-5.5c-1.8-1.1-3-3-3-5.2v-11c0-2.1 1.1-4.1 3-5.2L15 1.8c.9-.5 2-.8 3-.8s2.1.3 3 .8l9.6 5.5c1.8 1.1 3 3 3 5.2v11c0 2.1-1.1 4.1-3 5.2L21 34.2c-.9.5-2 .8-3 .8z\\\" fill=\\\"#FFD954\\\"/><path d=\\\"M18 2c.9 0 1.7.2 2.5.7L30 8.2c1.5.9 2.5 2.5 2.5 4.3v11c0 1.8-1 3.4-2.5 4.3l-9.6 5.5c-.7.5-1.5.7-2.4.7-.9 0-1.7-.2-2.5-.7L6 27.8c-1.5-.9-2.5-2.5-2.5-4.3v-11c0-1.8 1-3.4 2.5-4.3l9.6-5.5c.7-.5 1.5-.7 2.4-.7zm0-2c-1.2 0-2.4.3-3.5.9L5 6.4c-2.2 1.2-3.5 3.5-3.5 6v11c0 2.5 1.3 4.8 3.5 6l9.6 5.5c1.1.6 2.3.9 3.5.9 1.2 0 2.4-.3 3.5-.9l9.6-5.5c2.2-1.2 3.5-3.5 3.5-6v-11c0-2.5-1.3-4.8-3.5-6L21.6.9C20.4.3 19.2 0 18 0z\\\" fill=\\\"#fff\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M18 18.7h-4c-.2 0-.3-.1-.3-.3 0-.1 0-.1.1-.2l5.3-7c.1-.1.3-.2.4-.1.1.1.1.2.1.2v6h2.8c.2 0 .3.1.3.3 0 .1 0 .1-.1.2l-5.3 7c-.1.2-.3.2-.5.1-.1-.1-.1-.2-.1-.2v-5.1L18 19c.1 0 .1-.1.1-.1 0-.1 0-.2-.1-.2z\\\" fill=\\\"#222\\\"/></svg>\",\n      \"email\": \"<svg width=\\\"34\\\" height=\\\"34\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><rect x=\\\"33\\\" y=\\\"33\\\" width=\\\"32\\\" height=\\\"32\\\" rx=\\\"5\\\" transform=\\\"rotate(-180 33 33)\\\" fill=\\\"#6AFDEF\\\" stroke=\\\"#fff\\\" stroke-width=\\\"2\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M9.827 12.638C9.5 13.28 9.5 14.12 9.5 15.8v2.089c0 1.42 0 2.131.303 2.754.25.512.728 1.02 1.226 1.3.603.34 1.255.378 2.56.455 1.012.06 2.166.102 3.411.102s2.399-.042 3.41-.102c1.306-.077 1.958-.116 2.561-.455.497-.28.976-.788 1.226-1.3.303-.623.303-1.333.303-2.754V15.8c0-1.68 0-2.52-.327-3.162a3 3 0 00-1.311-1.311C22.22 11 21.38 11 19.7 11h-5.4c-1.68 0-2.52 0-3.162.327a3 3 0 00-1.311 1.311zm2.642.276a.75.75 0 00-.938 1.172l3.62 2.896c.234.186.44.35.622.476.195.134.404.252.654.321a2.15 2.15 0 001.146 0c.25-.069.46-.187.654-.321.183-.125.388-.29.622-.476l3.62-2.896a.75.75 0 00-.938-1.172l-3.6 2.88c-.258.207-.421.337-.553.427a.721.721 0 01-.205.113.65.65 0 01-.346 0 .721.721 0 01-.205-.113c-.132-.09-.295-.22-.553-.426l-3.6-2.88z\\\" fill=\\\"#222\\\"/></svg>\",\n      \"error\": \"<svg width=\\\"36\\\" height=\\\"36\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M22.73 5.016c-2.052-3.727-7.408-3.727-9.46 0L1.716 25.995C-.266 29.594 2.338 34 6.446 34h23.108c4.108 0 6.712-4.406 4.73-8.005L22.73 5.015zm-5.536 9.875a.81.81 0 111.612 0l-.702 7.014a.105.105 0 01-.209 0l-.701-7.014zM18.5 26.5a.5.5 0 11-1 0 .5.5 0 011 0z\\\" fill=\\\"#FD3A57\\\" stroke=\\\"#fff\\\" stroke-width=\\\"2\\\"/></svg>\",\n      \"paywalled-bot\": \"<svg width=\\\"39\\\" height=\\\"35\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><rect x=\\\"30\\\" y=\\\"35\\\" width=\\\"30\\\" height=\\\"30\\\" rx=\\\"4\\\" transform=\\\"rotate(-180 30 35)\\\" fill=\\\"#822AF0\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15.456 13.031a.6.6 0 00-.912 0l-1.714 2.001c-.367.01-.72.024-1.06.038-1.398.06-2.097.09-2.71.425-.516.282-.99.778-1.25 1.304-.31.628-.31 1.371-.31 2.859v2.684c0 1.488 0 2.231.31 2.86.26.525.734 1.02 1.25 1.303.613.336 1.312.366 2.71.425.973.041 2.066.07 3.23.07 1.164 0 2.257-.029 3.23-.07 1.398-.06 2.097-.09 2.71-.425.516-.282.99-.777 1.25-1.304.31-.628.31-1.371.31-2.859v-2.684c0-1.488 0-2.231-.31-2.859a3.143 3.143 0 00-1.25-1.304c-.613-.336-1.312-.365-2.71-.425a78.47 78.47 0 00-1.06-.038l-1.714-2zM11 19.201c0-.222.18-.4.4-.4h7.2c.22 0 .4.178.4.4v.6a.4.4 0 01-.4.4h-7.2a.4.4 0 01-.4-.4v-.6zm.4 2.6a.4.4 0 00-.4.4v.6c0 .22.18.4.4.4h5.2a.4.4 0 00.4-.4v-.6a.4.4 0 00-.4-.4h-5.2z\\\" fill=\\\"#fff\\\"/><rect x=\\\"30\\\" y=\\\"35\\\" width=\\\"30\\\" height=\\\"30\\\" rx=\\\"4\\\" transform=\\\"rotate(-180 30 35)\\\" fill=\\\"#822AF0\\\"/><path d=\\\"M13.25 17.4h3.5a.85.85 0 010 1.7h-3.5a.85.85 0 010-1.7z\\\" fill=\\\"#fff\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M8 16.2c0-1.12 0-1.68.218-2.108a2 2 0 01.874-.874C9.52 13 10.08 13 11.2 13h7.6c1.12 0 1.68 0 2.108.218a2 2 0 01.874.874C22 14.52 22 15.08 22 16.2v6.28c0 .112 0 .168-.022.21a.2.2 0 01-.087.088c-.043.022-.099.022-.211.022H8.32c-.112 0-.168 0-.21-.022a.2.2 0 01-.088-.087C8 22.648 8 22.592 8 22.48V16.2zm3 2.05A2.25 2.25 0 0113.25 16h3.5a2.25 2.25 0 010 4.5h-3.5A2.25 2.25 0 0111 18.25z\\\" fill=\\\"#fff\\\"/><path d=\\\"M8.021 24.528c-.007-.11-.01-.165.01-.21a.205.205 0 01.088-.094c.044-.024.101-.024.216-.024h13.33c.115 0 .172 0 .216.024.038.02.07.054.088.093.02.046.017.101.01.211-.025.378-.079.648-.197.88a2 2 0 01-.874.874c-.428.218-.988.218-2.108.218h-7.6c-1.12 0-1.68 0-2.108-.218a2 2 0 01-.874-.874c-.118-.232-.172-.502-.197-.88z\\\" fill=\\\"#fff\\\"/><mask id=\\\"a\\\" maskUnits=\\\"userSpaceOnUse\\\" x=\\\"21\\\" y=\\\"0\\\" width=\\\"18\\\" height=\\\"18\\\" fill=\\\"#000\\\"><path fill=\\\"#fff\\\" d=\\\"M21 0h18v18H21z\\\"/><path d=\\\"M37 9a7 7 0 11-14 0 7 7 0 0114 0z\\\"/></mask><path d=\\\"M37 9a7 7 0 11-14 0 7 7 0 0114 0z\\\" fill=\\\"#822AF0\\\"/><path d=\\\"M35.6 9a5.6 5.6 0 01-5.6 5.6v2.8A8.4 8.4 0 0038.4 9h-2.8zM30 14.6A5.6 5.6 0 0124.4 9h-2.8a8.4 8.4 0 008.4 8.4v-2.8zM24.4 9A5.6 5.6 0 0130 3.4V.6A8.4 8.4 0 0021.6 9h2.8zM30 3.4A5.6 5.6 0 0135.6 9h2.8A8.4 8.4 0 0030 .6v2.8z\\\" fill=\\\"#fff\\\" mask=\\\"url(#a)\\\"/><path d=\\\"M29.278 13h1.444a.278.278 0 00.278-.278V9.101c0-.162.138-.29.3-.277l1.519.121a.278.278 0 00.231-.46L30.209 5.24a.278.278 0 00-.418 0L26.95 8.486a.278.278 0 00.231.46l1.52-.122c.16-.013.299.115.299.277v3.621c0 .154.124.278.278.278z\\\" fill=\\\"#fff\\\"/></svg>\",\n      \"paywalled-tour\": \"<svg width=\\\"39\\\" height=\\\"35\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><rect x=\\\"30\\\" y=\\\"35\\\" width=\\\"30\\\" height=\\\"30\\\" rx=\\\"4\\\" transform=\\\"rotate(-180 30 35)\\\" fill=\\\"#822AF0\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15.456 13.031a.6.6 0 00-.912 0l-1.714 2.001c-.367.01-.72.024-1.06.038-1.398.06-2.097.09-2.71.425-.516.282-.99.778-1.25 1.304-.31.628-.31 1.371-.31 2.859v2.684c0 1.488 0 2.231.31 2.86.26.525.734 1.02 1.25 1.303.613.336 1.312.366 2.71.425.973.041 2.066.07 3.23.07 1.164 0 2.257-.029 3.23-.07 1.398-.06 2.097-.09 2.71-.425.516-.282.99-.777 1.25-1.304.31-.628.31-1.371.31-2.859v-2.684c0-1.488 0-2.231-.31-2.859a3.143 3.143 0 00-1.25-1.304c-.613-.336-1.312-.365-2.71-.425a78.47 78.47 0 00-1.06-.038l-1.714-2zM11 19.201c0-.222.18-.4.4-.4h7.2c.22 0 .4.178.4.4v.6a.4.4 0 01-.4.4h-7.2a.4.4 0 01-.4-.4v-.6zm.4 2.6a.4.4 0 00-.4.4v.6c0 .22.18.4.4.4h5.2a.4.4 0 00.4-.4v-.6a.4.4 0 00-.4-.4h-5.2z\\\" fill=\\\"#fff\\\"/><mask id=\\\"a\\\" maskUnits=\\\"userSpaceOnUse\\\" x=\\\"21\\\" y=\\\"0\\\" width=\\\"18\\\" height=\\\"18\\\" fill=\\\"#000\\\"><path fill=\\\"#fff\\\" d=\\\"M21 0h18v18H21z\\\"/><path d=\\\"M37 9a7 7 0 11-14 0 7 7 0 0114 0z\\\"/></mask><path d=\\\"M37 9a7 7 0 11-14 0 7 7 0 0114 0z\\\" fill=\\\"#822AF0\\\"/><path d=\\\"M35.6 9a5.6 5.6 0 01-5.6 5.6v2.8A8.4 8.4 0 0038.4 9h-2.8zM30 14.6A5.6 5.6 0 0124.4 9h-2.8a8.4 8.4 0 008.4 8.4v-2.8zM24.4 9A5.6 5.6 0 0130 3.4V.6A8.4 8.4 0 0021.6 9h2.8zM30 3.4A5.6 5.6 0 0135.6 9h2.8A8.4 8.4 0 0030 .6v2.8z\\\" fill=\\\"#fff\\\" mask=\\\"url(#a)\\\"/><path d=\\\"M29.278 13h1.444a.278.278 0 00.278-.278V9.101c0-.162.138-.29.3-.277l1.519.121a.278.278 0 00.231-.46L30.209 5.24a.278.278 0 00-.418 0L26.95 8.486a.278.278 0 00.231.46l1.52-.122c.16-.013.299.115.299.277v3.621c0 .154.124.278.278.278z\\\" fill=\\\"#fff\\\"/></svg>\",\n      \"post\": \"<svg width=\\\"34\\\" height=\\\"34\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><rect x=\\\"33\\\" y=\\\"33\\\" width=\\\"32\\\" height=\\\"32\\\" rx=\\\"5\\\" transform=\\\"rotate(-180 33 33)\\\" fill=\\\"#6AFDEF\\\" stroke=\\\"#fff\\\" stroke-width=\\\"2\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M11 13.2c0-1.12 0-1.68.218-2.108a2 2 0 01.874-.874C12.52 10 13.08 10 14.2 10h5.6c1.12 0 1.68 0 2.108.218a2 2 0 01.874.874C23 11.52 23 12.08 23 13.2v7.6c0 1.12 0 1.68-.218 2.108a2 2 0 01-.874.874C21.48 24 20.92 24 19.8 24h-5.6c-1.12 0-1.68 0-2.108-.218a2 2 0 01-.874-.874C11 22.48 11 21.92 11 20.8v-7.6zm2.4 3.8a.4.4 0 00-.4.4v.6c0 .22.18.4.4.4h7.2a.4.4 0 00.4-.4v-.6a.4.4 0 00-.4-.4h-7.2zm-.4 3.4c0-.22.18-.4.4-.4h4.2c.22 0 .4.18.4.4v.6a.4.4 0 01-.4.4h-4.2a.4.4 0 01-.4-.4v-.6zm1.5-5.4a1.5 1.5 0 100-3 1.5 1.5 0 000 3z\\\" fill=\\\"#222\\\"/></svg>\",\n      \"push\": \"<svg width=\\\"34\\\" height=\\\"34\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><rect x=\\\"33\\\" y=\\\"33\\\" width=\\\"32\\\" height=\\\"32\\\" rx=\\\"5\\\" transform=\\\"rotate(-180 33 33)\\\" fill=\\\"#6AFDEF\\\" stroke=\\\"#fff\\\" stroke-width=\\\"2\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M11.5 12.2c0-1.12 0-1.68.218-2.108a2 2 0 01.874-.874C13.02 9 13.58 9 14.7 9h4.6c1.12 0 1.68 0 2.108.218a2 2 0 01.874.874c.218.428.218.988.218 2.108v9.6c0 1.12 0 1.68-.218 2.108a2 2 0 01-.874.874C20.98 25 20.42 25 19.3 25h-4.6c-1.12 0-1.68 0-2.108-.218a2 2 0 01-.874-.874c-.218-.428-.218-.988-.218-2.108v-9.6zm6.7 10a1.2 1.2 0 11-2.4 0 1.2 1.2 0 012.4 0zM13.5 11a.6.6 0 00-.6.6v7.3a.6.6 0 00.6.6h7a.6.6 0 00.6-.6v-7.3a.6.6 0 00-.6-.6h-7z\\\" fill=\\\"#222\\\"/></svg>\",\n      \"tag\": \"<svg width=\\\"36\\\" height=\\\"36\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><rect x=\\\"1\\\" y=\\\"1\\\" width=\\\"34\\\" height=\\\"34\\\" rx=\\\"17\\\" fill=\\\"#131C72\\\" stroke=\\\"#fff\\\" stroke-width=\\\"2\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M11.5 17.743a2 2 0 00.586 1.414l5.657 5.657a2 2 0 002.828 0l4.243-4.243a2 2 0 000-2.828l-5.657-5.657a2 2 0 00-1.414-.586H13.5a2 2 0 00-2 2v4.243zm5.818-.425a1.7 1.7 0 10-2.404-2.404 1.7 1.7 0 002.404 2.404z\\\" fill=\\\"#fff\\\"/></svg>\",\n      \"tour\": \"<svg width=\\\"34\\\" height=\\\"34\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><rect x=\\\"33\\\" y=\\\"33\\\" width=\\\"32\\\" height=\\\"32\\\" rx=\\\"5\\\" transform=\\\"rotate(-180 33 33)\\\" fill=\\\"#6AFDEF\\\" stroke=\\\"#fff\\\" stroke-width=\\\"2\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M17.456 10.031a.6.6 0 00-.912 0l-1.714 2.001c-.367.01-.72.024-1.06.038-1.398.06-2.097.09-2.71.425-.516.282-.99.778-1.25 1.304-.31.628-.31 1.371-.31 2.859v2.684c0 1.488 0 2.231.31 2.86.26.525.734 1.02 1.25 1.303.613.336 1.312.366 2.71.425.973.041 2.066.07 3.23.07 1.164 0 2.257-.029 3.23-.07 1.398-.06 2.097-.09 2.71-.425.516-.282.99-.778 1.25-1.304.31-.628.31-1.371.31-2.859v-2.684c0-1.488 0-2.231-.31-2.86a3.143 3.143 0 00-1.25-1.303c-.613-.336-1.312-.366-2.71-.425a78.47 78.47 0 00-1.06-.038l-1.714-2zM13 16.2c0-.22.18-.4.4-.4h7.2c.22 0 .4.18.4.4v.6a.4.4 0 01-.4.4h-7.2a.4.4 0 01-.4-.4v-.6zm.4 2.6a.4.4 0 00-.4.4v.6c0 .221.18.4.4.4h5.2a.4.4 0 00.4-.4v-.6a.4.4 0 00-.4-.4h-5.2z\\\" fill=\\\"#222\\\"/></svg>\",\n      \"wait\": \"<svg width=\\\"36\\\" height=\\\"36\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><rect x=\\\"1\\\" y=\\\"1\\\" width=\\\"34\\\" height=\\\"34\\\" rx=\\\"17\\\" fill=\\\"#131C72\\\" stroke=\\\"#fff\\\" stroke-width=\\\"2\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M18 25a7 7 0 100-14 7 7 0 000 14zm.936-7.681a.4.4 0 00.152.293l2.01 1.577a.4.4 0 01.085.537l-.363.545a.4.4 0 01-.533.124l-2.755-1.588a1 1 0 01-.498-.92l.245-4.509a.4.4 0 01.4-.378h.642a.4.4 0 01.4.378l.215 3.941z\\\" fill=\\\"#fff\\\"/></svg>\"\n    },\n    \"duplicate\": \"<svg width=\\\"16\\\" height=\\\"16\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path opacity=\\\".6\\\" d=\\\"M1.218 5.092C1 5.519 1 6.079 1 7.2v3c0 1.68 0 2.52.327 3.162a3 3 0 001.311 1.31C3.28 15 4.12 15 5.8 15h2c1.12 0 1.68 0 2.108-.218a2 2 0 00.874-.873c.121-.238.175-.516.199-.908H8.8c-1.68 0-2.52 0-3.162-.327a3 3 0 01-1.311-1.311C4 10.72 4 9.88 4 8.2V4c-.988 0-1.506.013-1.908.218a2 2 0 00-.874.874z\\\" fill=\\\"#222\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M5.218 2.092C5 2.52 5 3.08 5 4.2v4.6c0 1.12 0 1.68.218 2.108a2 2 0 00.874.874C6.52 12 7.08 12 8.2 12h3.6c1.12 0 1.68 0 2.108-.218a2 2 0 00.874-.874C15 10.48 15 9.92 15 8.8V4.2c0-1.12 0-1.68-.218-2.108a2 2 0 00-.874-.874C13.48 1 12.92 1 11.8 1H8.2c-1.12 0-1.68 0-2.108.218a2 2 0 00-.874.874zM9.2 9.1V7.3H7.4a.4.4 0 01-.4-.4v-.8c0-.22.18-.4.4-.4h1.8V3.9c0-.22.18-.4.4-.4h.8c.22 0 .4.18.4.4v1.8h1.8c.22 0 .4.18.4.4v.8a.4.4 0 01-.4.4h-1.8v1.8a.4.4 0 01-.4.4h-.8a.4.4 0 01-.4-.4z\\\" fill=\\\"#222\\\"/></svg>\",\n    \"edge-add-arrow\": \"<svg width=\\\"16\\\" height=\\\"16\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M5.987 3.38a.092.092 0 01-.003-.06.107.107 0 01.036-.05.107.107 0 01.055-.024.092.092 0 01.059.017l7.751 4.65a.1.1 0 010 .172l-7.751 4.651a.093.093 0 01-.06.016.107.107 0 01-.054-.024.106.106 0 01-.036-.048.092.092 0 01.003-.061l1.424-4.272a1.1 1.1 0 000-.695L5.987 3.38z\\\" fill=\\\"#444\\\" stroke=\\\"#444\\\"/><path d=\\\"M1 8h7\\\" stroke=\\\"#444\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\"/></svg>\",\n    \"edge-alternative-connector\": \"<svg width=\\\"10\\\" height=\\\"48\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M3 1v41c0 3.314.686 3 4 3h3\\\" stroke=\\\"#222\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\"/></svg>\",\n    \"edge-connector-point\": \"<svg width=\\\"12\\\" height=\\\"8\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><circle cx=\\\"3\\\" cy=\\\"3\\\" r=\\\"2.5\\\" fill=\\\"#222\\\" stroke=\\\"#222\\\"/><path fill=\\\"#222\\\" d=\\\"M4.9 2H12v2H4.9z\\\"/></svg>\",\n    \"eye\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8 7a1 1 0 01-1.398.918 1.4 1.4 0 101.315-1.315A.997.997 0 018 7z\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M.391 6.691A8.993 8.993 0 018 2.5a8.994 8.994 0 017.609 4.191 2.447 2.447 0 010 2.618A8.994 8.994 0 018 13.5 8.993 8.993 0 01.391 9.309a2.447 2.447 0 010-2.618zM10.8 8a2.8 2.8 0 11-5.6 0 2.8 2.8 0 015.6 0z\\\"/></svg>\",\n    \"hand\": \"<svg width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8.1.2a.8.8 0 01.8.8v5.6a.4.4 0 10.8 0V1.5a.8.8 0 011.6 0v6.1a.4.4 0 00.8 0V3.5a.8.8 0 011.6 0V11a5 5 0 01-9.452 2.278L1.647 9.02a1 1 0 011.56-1.228L4.354 8.94c.171.17.257.257.33.262a.2.2 0 00.168-.07c.048-.055.048-.176.048-.419V2a.8.8 0 011.6 0v4.6a.4.4 0 00.8 0V1a.8.8 0 01.8-.8z\\\"/></svg>\",\n    \"starting-state-view-mode\": \"<svg width=\\\"581\\\" height=\\\"201\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path opacity=\\\".8\\\" d=\\\"M445.766 168h1.476l-4.156-11.273h-1.391L437.539 168h1.477l1.132-3.227h4.485l1.133 3.227zm-3.438-9.453h.125l1.766 5.031h-3.657l1.766-5.031zm6.719 9.453h1.344v-4.984c0-1.477.867-2.375 2.211-2.375 1.343 0 1.984.718 1.984 2.234V168h1.344v-5.453c0-2-1.055-3.117-2.946-3.117-1.289 0-2.109.547-2.531 1.476h-.125v-1.328h-1.281V168zm12.461.148c1.164 0 2.164-.554 2.695-1.492h.125V168h1.281v-11.766h-1.343v4.672h-.118c-.476-.922-1.468-1.476-2.64-1.476-2.141 0-3.539 1.718-3.539 4.359 0 2.649 1.383 4.359 3.539 4.359zm.312-7.507c1.524 0 2.477 1.218 2.477 3.148 0 1.945-.945 3.149-2.477 3.149-1.539 0-2.461-1.18-2.461-3.149 0-1.961.93-3.148 2.461-3.148zm12.461 2.617h-.125v-7.024h-1.344V168h1.344v-3.195l.805-.75 3.156 3.945h1.711l-3.867-4.812 3.625-3.61h-1.648l-3.657 3.68zm12.328 2.562c-.351.742-1.086 1.141-2.171 1.141-1.43 0-2.36-1.055-2.43-2.719v-.062h6.054v-.516c0-2.617-1.382-4.234-3.656-4.234-2.312 0-3.797 1.718-3.797 4.367 0 2.664 1.461 4.351 3.797 4.351 1.844 0 3.156-.89 3.547-2.328h-1.344zm-2.218-5.203c1.336 0 2.226.985 2.257 2.477h-4.64c.101-1.492 1.039-2.477 2.383-2.477zm11.359 5.203c-.352.742-1.086 1.141-2.172 1.141-1.43 0-2.359-1.055-2.43-2.719v-.062h6.055v-.516c0-2.617-1.383-4.234-3.656-4.234-2.313 0-3.797 1.718-3.797 4.367 0 2.664 1.461 4.351 3.797 4.351 1.844 0 3.156-.89 3.547-2.328h-1.344zm-2.219-5.203c1.336 0 2.227.985 2.258 2.477h-4.641c.102-1.492 1.04-2.477 2.383-2.477zm9.883-1.187c-1.148 0-2.156.586-2.695 1.554h-.125v-1.406h-1.282v11.234h1.344v-4.078h.125c.461.891 1.43 1.414 2.633 1.414 2.141 0 3.539-1.726 3.539-4.359 0-2.648-1.391-4.359-3.539-4.359zm-.32 7.508c-1.516 0-2.477-1.219-2.477-3.149 0-1.937.961-3.148 2.485-3.148 1.539 0 2.46 1.179 2.46 3.148s-.921 3.149-2.468 3.149zm13.953 4.296c2.297 0 3.75-1.203 3.75-3.086v-8.57h-1.281v1.336h-.125c-.485-.906-1.524-1.484-2.703-1.484-2.165 0-3.532 1.711-3.532 4.234 0 2.524 1.352 4.211 3.532 4.211 1.156 0 2.109-.523 2.64-1.453h.125v1.656c0 1.242-.898 1.984-2.406 1.984-1.211 0-1.961-.445-2.109-1.132h-1.422c.203 1.39 1.5 2.304 3.531 2.304zm-.063-4.546c-1.562 0-2.437-1.188-2.437-3.024s.875-3.023 2.437-3.023c1.555 0 2.5 1.187 2.5 3.023s-.937 3.024-2.5 3.024zm9.805 1.46c2.399 0 3.883-1.656 3.883-4.359 0-2.711-1.484-4.359-3.883-4.359-2.398 0-3.883 1.648-3.883 4.359 0 2.703 1.485 4.359 3.883 4.359zm0-1.21c-1.594 0-2.492-1.157-2.492-3.149 0-2 .898-3.148 2.492-3.148 1.594 0 2.492 1.148 2.492 3.148 0 1.992-.898 3.149-2.492 3.149zm6.695-8.985a.94.94 0 00.938-.937.94.94 0 00-.938-.938.94.94 0 00-.937.938.94.94 0 00.937.937zM532.812 168h1.344v-8.422h-1.344V168zm3.907 0h1.343v-4.984c0-1.477.868-2.375 2.211-2.375 1.344 0 1.985.718 1.985 2.234V168h1.344v-5.453c0-2-1.055-3.117-2.946-3.117-1.289 0-2.109.547-2.531 1.476H538v-1.328h-1.281V168zm12.812 3.234c2.297 0 3.75-1.203 3.75-3.086v-8.57H552v1.336h-.125c-.484-.906-1.523-1.484-2.703-1.484-2.164 0-3.531 1.711-3.531 4.234 0 2.524 1.351 4.211 3.531 4.211 1.156 0 2.109-.523 2.64-1.453h.126v1.656c0 1.242-.899 1.984-2.407 1.984-1.211 0-1.961-.445-2.109-1.132H546c.203 1.39 1.5 2.304 3.531 2.304zm-.062-4.546c-1.563 0-2.438-1.188-2.438-3.024s.875-3.023 2.438-3.023c1.554 0 2.5 1.187 2.5 3.023s-.938 3.024-2.5 3.024z\\\" fill=\\\"#444\\\"/><path d=\\\"M15 102.732a5.999 5.999 0 016 0l9.588 5.536a6 6 0 013 5.196v11.072a6 6 0 01-3 5.196L21 135.268a5.999 5.999 0 01-6 0l-9.588-5.536a6 6 0 01-3-5.196v-11.072a6 6 0 013-5.196L15 102.732z\\\" fill=\\\"#FFD954\\\"/><path opacity=\\\".8\\\" d=\\\"M.898 165.055c.149 1.945 1.797 3.211 4.188 3.211 2.578 0 4.21-1.321 4.21-3.391 0-1.656-.937-2.563-3.273-3.148l-1.18-.313c-1.554-.398-2.171-.906-2.171-1.789 0-1.141.992-1.891 2.492-1.891 1.406 0 2.36.688 2.555 1.844h1.414c-.117-1.82-1.742-3.117-3.922-3.117-2.383 0-3.984 1.297-3.984 3.211 0 1.601.882 2.523 2.921 3.039l1.446.375c1.554.391 2.258 1 2.258 1.961 0 1.117-1.118 1.937-2.633 1.937-1.602 0-2.727-.75-2.899-1.929H.898zm11.133-7.657v2.18h-1.36v1.125h1.36v5.109c0 1.61.696 2.25 2.43 2.25.266 0 .523-.031.789-.078v-1.132c-.25.023-.383.031-.625.031-.875 0-1.25-.422-1.25-1.414v-4.766h1.875v-1.125h-1.875v-2.18h-1.344zm7.594 10.75c1.125 0 2.047-.492 2.594-1.39h.125V168h1.281v-5.766c0-1.75-1.148-2.804-3.203-2.804-1.797 0-3.125.89-3.305 2.242h1.36c.187-.664.89-1.047 1.898-1.047 1.258 0 1.906.57 1.906 1.609V163l-2.43.148c-1.96.118-3.07.985-3.07 2.493 0 1.539 1.211 2.507 2.844 2.507zm.25-1.179c-.977 0-1.703-.5-1.703-1.36 0-.843.562-1.289 1.844-1.375l2.265-.148v.773c0 1.203-1.023 2.11-2.406 2.11zM26.109 168h1.344v-5.219c0-1.187.93-2.047 2.211-2.047.266 0 .75.047.86.078v-1.343a5.649 5.649 0 00-.672-.039c-1.118 0-2.086.578-2.336 1.398h-.125v-1.25h-1.282V168zm7.125-10.602v2.18h-1.359v1.125h1.36v5.109c0 1.61.695 2.25 2.43 2.25.265 0 .523-.031.788-.078v-1.132c-.25.023-.383.031-.625.031-.875 0-1.25-.422-1.25-1.414v-4.766h1.875v-1.125h-1.875v-2.18h-1.344zm20.36 2.18h-1.352l-1.656 6.734h-.125l-1.883-6.734H47.29l-1.883 6.734h-.125l-1.656-6.734h-1.36l2.36 8.422h1.36l1.874-6.516h.125L49.867 168h1.367l2.36-8.422zm2.5-1.625a.94.94 0 00.937-.937.94.94 0 00-.937-.938.94.94 0 00-.938.938.94.94 0 00.938.937zM55.422 168h1.344v-8.422h-1.344V168zm4.469-10.602v2.18h-1.36v1.125h1.36v5.109c0 1.61.695 2.25 2.43 2.25.265 0 .523-.031.788-.078v-1.132c-.25.023-.382.031-.625.031-.875 0-1.25-.422-1.25-1.414v-4.766h1.875v-1.125h-1.875v-2.18h-1.343zM65.219 168h1.344v-4.984c0-1.422.828-2.375 2.335-2.375 1.274 0 1.946.742 1.946 2.234V168h1.344v-5.453c0-1.977-1.126-3.117-2.907-3.117-1.289 0-2.172.547-2.594 1.476h-.124v-4.672h-1.344V168zm16.281.148c1.125 0 2.047-.492 2.594-1.39h.125V168H85.5v-5.766c0-1.75-1.148-2.804-3.203-2.804-1.797 0-3.125.89-3.305 2.242h1.36c.187-.664.89-1.047 1.898-1.047 1.258 0 1.906.57 1.906 1.609V163l-2.43.148c-1.96.118-3.07.985-3.07 2.493 0 1.539 1.211 2.507 2.844 2.507zm.25-1.179c-.977 0-1.703-.5-1.703-1.36 0-.843.562-1.289 1.844-1.375l2.265-.148v.773c0 1.203-1.023 2.11-2.406 2.11zM92.375 168h2.273v-4.812c0-1.211.852-1.954 2.094-1.954.367 0 .899.063 1.078.125v-2c-.195-.062-.578-.101-.89-.101-1.094 0-1.985.648-2.211 1.508h-.14v-1.368h-2.204V168zm14.766-8.602h-2.274v4.969c0 1.18-.609 1.906-1.742 1.906-1.047 0-1.586-.617-1.586-1.835v-5.04h-2.273V165c0 2 1.156 3.18 3.015 3.18 1.305 0 2.11-.563 2.516-1.563h.141V168h2.203v-8.602zM109.5 168h2.273v-11.891H109.5V168zm10.211-2.43c-.242.586-.859.914-1.758.914-1.187 0-1.937-.82-1.969-2.132v-.118h5.914v-.679c0-2.719-1.5-4.344-4.039-4.344-2.562 0-4.14 1.734-4.14 4.531 0 2.781 1.547 4.438 4.172 4.438 2.109 0 3.601-1.008 3.937-2.61h-2.117zm-1.844-4.664c1.063 0 1.75.735 1.797 1.914h-3.672c.078-1.156.82-1.914 1.875-1.914zm5.703 1c0 1.321.813 2.11 2.485 2.477l1.562.351c.758.172 1.086.438 1.086.875 0 .571-.609.961-1.492.961-.906 0-1.461-.351-1.633-.945h-2.219c.157 1.625 1.532 2.555 3.805 2.555 2.258 0 3.797-1.11 3.797-2.813 0-1.281-.75-1.984-2.422-2.351l-1.617-.352c-.797-.18-1.164-.453-1.164-.891 0-.562.601-.945 1.414-.945.844 0 1.367.352 1.484.922h2.102c-.125-1.625-1.414-2.539-3.602-2.539-2.148 0-3.586 1.086-3.586 2.695zm18.461 6.227c2.164 0 3.492-1.68 3.492-4.438 0-2.773-1.312-4.437-3.492-4.437-1.179 0-2.148.57-2.586 1.515h-.14v-4.664h-2.274V168h2.203v-1.352h.141c.461.938 1.437 1.485 2.656 1.485zm-.789-7.031c1.203 0 1.946.992 1.946 2.593 0 1.617-.735 2.602-1.946 2.602-1.203 0-1.953-.992-1.961-2.594.008-1.601.766-2.601 1.961-2.601zm6.211 6.898h2.274v-11.891h-2.274V168zm8.461.18c2.648 0 4.242-1.672 4.242-4.485 0-2.789-1.617-4.484-4.242-4.484s-4.242 1.703-4.242 4.484c0 2.805 1.594 4.485 4.242 4.485zm0-1.797c-1.219 0-1.906-.985-1.906-2.688 0-1.687.695-2.679 1.906-2.679 1.203 0 1.906.992 1.906 2.679 0 1.703-.695 2.688-1.906 2.688zm13.727-3.985c-.188-1.921-1.555-3.187-3.836-3.187-2.696 0-4.211 1.633-4.211 4.469 0 2.867 1.523 4.5 4.211 4.5 2.242 0 3.648-1.235 3.836-3.125h-2.125c-.172.859-.782 1.32-1.711 1.32-1.219 0-1.914-.961-1.914-2.695 0-1.711.687-2.657 1.914-2.657.968 0 1.554.547 1.711 1.375h2.125zm4.273.399h-.141v-6.688H171.5V168h2.273v-2.891l.625-.648 2.516 3.539h2.695l-3.507-4.914 3.281-3.688h-2.586l-2.883 3.399zM1.828 181.398v2.18H.468v1.125h1.36v5.109c0 1.61.695 2.25 2.43 2.25.265 0 .523-.031.789-.078v-1.132c-.25.023-.383.031-.625.031-.875 0-1.25-.422-1.25-1.414v-4.766h1.875v-1.125H3.172v-2.18H1.828zm8.586 10.75c2.399 0 3.883-1.656 3.883-4.359 0-2.711-1.485-4.359-3.883-4.359-2.398 0-3.883 1.648-3.883 4.359 0 2.703 1.485 4.359 3.883 4.359zm0-1.21c-1.594 0-2.492-1.157-2.492-3.149 0-2 .898-3.148 2.492-3.148 1.594 0 2.492 1.148 2.492 3.148 0 1.992-.898 3.149-2.492 3.149zm11.07-9.54v2.18h-1.359v1.125h1.36v5.109c0 1.61.695 2.25 2.43 2.25.265 0 .523-.031.788-.078v-1.132c-.25.023-.383.031-.625.031-.875 0-1.25-.422-1.25-1.414v-4.766h1.875v-1.125h-1.875v-2.18h-1.344zM26.734 192h1.344v-5.219c0-1.187.93-2.047 2.211-2.047.266 0 .75.047.86.078v-1.343a5.649 5.649 0 00-.672-.039c-1.118 0-2.086.578-2.336 1.398h-.125v-1.25h-1.282V192zm6.797-10.047a.94.94 0 00.938-.937.94.94 0 00-.938-.938.94.94 0 00-.937.938.94.94 0 00.937.937zM32.86 192h1.344v-8.422H32.86V192zm7.375 3.234c2.297 0 3.75-1.203 3.75-3.086v-8.57h-1.28v1.336h-.126c-.484-.906-1.523-1.484-2.703-1.484-2.164 0-3.531 1.711-3.531 4.234 0 2.524 1.351 4.211 3.531 4.211 1.156 0 2.11-.523 2.64-1.453h.126v1.656c0 1.242-.899 1.984-2.407 1.984-1.21 0-1.96-.445-2.109-1.132h-1.422c.203 1.39 1.5 2.304 3.531 2.304zm-.062-4.546c-1.563 0-2.438-1.188-2.438-3.024s.875-3.023 2.438-3.023c1.555 0 2.5 1.187 2.5 3.023s-.938 3.024-2.5 3.024zm9.812 4.546c2.297 0 3.75-1.203 3.75-3.086v-8.57h-1.28v1.336h-.126c-.484-.906-1.523-1.484-2.703-1.484-2.164 0-3.531 1.711-3.531 4.234 0 2.524 1.351 4.211 3.531 4.211 1.156 0 2.11-.523 2.64-1.453h.126v1.656c0 1.242-.899 1.984-2.407 1.984-1.21 0-1.96-.445-2.109-1.132h-1.422c.203 1.39 1.5 2.304 3.531 2.304zm-.062-4.546c-1.563 0-2.438-1.188-2.438-3.024s.875-3.023 2.438-3.023c1.555 0 2.5 1.187 2.5 3.023s-.938 3.024-2.5 3.024zm11.922-.868c-.352.742-1.086 1.141-2.172 1.141-1.43 0-2.36-1.055-2.43-2.719v-.062h6.055v-.516c0-2.617-1.383-4.234-3.656-4.234-2.313 0-3.797 1.718-3.797 4.367 0 2.664 1.46 4.351 3.797 4.351 1.843 0 3.156-.89 3.547-2.328h-1.344zm-2.219-5.203c1.336 0 2.227.985 2.258 2.477h-4.64c.1-1.492 1.038-2.477 2.382-2.477zM65.406 192h1.344v-5.219c0-1.187.93-2.047 2.21-2.047.267 0 .75.047.86.078v-1.343a5.65 5.65 0 00-.672-.039c-1.117 0-2.085.578-2.335 1.398h-.126v-1.25h-1.28V192zm11.172-10.602v2.18h-1.36v1.125h1.36v5.109c0 1.61.695 2.25 2.43 2.25.265 0 .523-.031.789-.078v-1.132c-.25.023-.383.031-.625.031-.875 0-1.25-.422-1.25-1.414v-4.766h1.875v-1.125h-1.875v-2.18h-1.344zM81.906 192h1.344v-4.984c0-1.422.828-2.375 2.336-2.375 1.273 0 1.945.742 1.945 2.234V192h1.344v-5.453c0-1.977-1.125-3.117-2.906-3.117-1.29 0-2.172.547-2.594 1.476h-.125v-4.672h-1.344V192zm15-2.18c-.351.742-1.086 1.141-2.172 1.141-1.43 0-2.359-1.055-2.43-2.719v-.062h6.055v-.516c0-2.617-1.382-4.234-3.656-4.234-2.312 0-3.797 1.718-3.797 4.367 0 2.664 1.461 4.351 3.797 4.351 1.844 0 3.156-.89 3.547-2.328h-1.344zm-2.219-5.203c1.336 0 2.227.985 2.258 2.477h-4.64c.101-1.492 1.039-2.477 2.382-2.477zm10.102 1.266c0 1.219.719 1.898 2.297 2.281l1.445.352c.899.218 1.336.609 1.336 1.187 0 .774-.812 1.313-1.945 1.313-1.078 0-1.75-.454-1.977-1.164h-1.383c.149 1.398 1.438 2.296 3.313 2.296 1.914 0 3.375-1.039 3.375-2.546 0-1.211-.766-1.899-2.352-2.282l-1.296-.312c-.993-.242-1.461-.602-1.461-1.18 0-.75.781-1.258 1.781-1.258 1.016 0 1.672.446 1.851 1.118h1.329c-.18-1.383-1.407-2.258-3.172-2.258-1.789 0-3.141 1.054-3.141 2.453zm14.149 3.937c-.352.742-1.086 1.141-2.172 1.141-1.43 0-2.36-1.055-2.43-2.719v-.062h6.055v-.516c0-2.617-1.383-4.234-3.657-4.234-2.312 0-3.796 1.718-3.796 4.367 0 2.664 1.46 4.351 3.796 4.351 1.844 0 3.157-.89 3.547-2.328h-1.343zm-2.219-5.203c1.336 0 2.226.985 2.258 2.477h-4.641c.102-1.492 1.039-2.477 2.383-2.477zM122.5 192h1.344v-5.219c0-1.187.929-2.047 2.211-2.047.265 0 .75.047.859.078v-1.343a5.65 5.65 0 00-.672-.039c-1.117 0-2.086.578-2.336 1.398h-.125v-1.25H122.5V192zm6.797-10.047a.94.94 0 00.937-.937.94.94 0 00-.937-.938.94.94 0 00-.938.938.94.94 0 00.938.937zM128.625 192h1.344v-8.422h-1.344V192zm9.484-2.18c-.351.742-1.086 1.141-2.171 1.141-1.43 0-2.36-1.055-2.43-2.719v-.062h6.054v-.516c0-2.617-1.382-4.234-3.656-4.234-2.312 0-3.797 1.718-3.797 4.367 0 2.664 1.461 4.351 3.797 4.351 1.844 0 3.156-.89 3.547-2.328h-1.344zm-2.218-5.203c1.336 0 2.226.985 2.257 2.477h-4.64c.101-1.492 1.039-2.477 2.383-2.477zm5.586 1.266c0 1.219.718 1.898 2.296 2.281l1.446.352c.898.218 1.336.609 1.336 1.187 0 .774-.813 1.313-1.946 1.313-1.078 0-1.75-.454-1.976-1.164h-1.383c.148 1.398 1.438 2.296 3.312 2.296 1.915 0 3.376-1.039 3.376-2.546 0-1.211-.766-1.899-2.352-2.282l-1.297-.312c-.992-.242-1.461-.602-1.461-1.18 0-.75.781-1.258 1.781-1.258 1.016 0 1.672.446 1.852 1.118h1.328c-.18-1.383-1.406-2.258-3.172-2.258-1.789 0-3.14 1.054-3.14 2.453z\\\" fill=\\\"#444\\\"/><rect x=\\\"223\\\" y=\\\"104\\\" width=\\\"30\\\" height=\\\"30\\\" rx=\\\"4\\\" fill=\\\"#6AFDEF\\\"/><rect x=\\\"437\\\" y=\\\"104\\\" width=\\\"30\\\" height=\\\"30\\\" rx=\\\"4\\\" fill=\\\"#E8E8E8\\\"/><rect x=\\\"436\\\" y=\\\"103\\\" width=\\\"32\\\" height=\\\"32\\\" rx=\\\"5\\\" stroke=\\\"#444\\\" stroke-opacity=\\\".15\\\" stroke-width=\\\"2\\\"/><path opacity=\\\".8\\\" d=\\\"M228.977 168.266c2.398 0 4.179-1.336 4.554-3.407h-1.429c-.36 1.305-1.555 2.11-3.125 2.11-2.172 0-3.532-1.774-3.532-4.602 0-2.828 1.36-4.609 3.524-4.609 1.554 0 2.758.914 3.133 2.367h1.429c-.336-2.172-2.187-3.664-4.562-3.664-3.063 0-4.969 2.266-4.969 5.906 0 3.633 1.914 5.899 4.977 5.899zm10.203-.118c2.398 0 3.882-1.656 3.882-4.359 0-2.711-1.484-4.359-3.882-4.359-2.399 0-3.883 1.648-3.883 4.359 0 2.703 1.484 4.359 3.883 4.359zm0-1.21c-1.594 0-2.492-1.157-2.492-3.149 0-2 .898-3.148 2.492-3.148 1.593 0 2.492 1.148 2.492 3.148 0 1.992-.899 3.149-2.492 3.149zm5.992 1.062h1.344v-4.984c0-1.477.867-2.375 2.211-2.375 1.343 0 1.984.718 1.984 2.234V168h1.344v-5.453c0-2-1.055-3.117-2.946-3.117-1.289 0-2.109.547-2.531 1.476h-.125v-1.328h-1.281V168zm9.344 0h1.343v-4.984c0-1.477.868-2.375 2.211-2.375 1.344 0 1.985.718 1.985 2.234V168h1.343v-5.453c0-2-1.054-3.117-2.945-3.117-1.289 0-2.109.547-2.531 1.476h-.125v-1.328h-1.281V168zm14.922-2.18c-.352.742-1.086 1.141-2.172 1.141-1.43 0-2.36-1.055-2.43-2.719v-.062h6.055v-.516c0-2.617-1.383-4.234-3.657-4.234-2.312 0-3.796 1.718-3.796 4.367 0 2.664 1.46 4.351 3.796 4.351 1.844 0 3.157-.89 3.547-2.328h-1.343zm-2.219-5.203c1.336 0 2.226.985 2.258 2.477h-4.641c.102-1.492 1.039-2.477 2.383-2.477zm12.75 1.539c-.235-1.5-1.485-2.726-3.531-2.726-2.36 0-3.86 1.703-3.86 4.328 0 2.68 1.508 4.39 3.867 4.39 2.024 0 3.282-1.14 3.524-2.687h-1.36c-.25.953-1.039 1.477-2.171 1.477-1.5 0-2.469-1.235-2.469-3.18 0-1.906.953-3.117 2.469-3.117 1.21 0 1.953.679 2.171 1.515h1.36zm2.703-4.758v2.18h-1.36v1.125h1.36v5.109c0 1.61.695 2.25 2.43 2.25.265 0 .523-.031.789-.078v-1.132c-.25.023-.383.031-.625.031-.875 0-1.25-.422-1.25-1.414v-4.766h1.875v-1.125h-1.875v-2.18h-1.344zM292.438 168h1.343v-5.219c0-1.187.93-2.047 2.211-2.047.266 0 .75.047.86.078v-1.343a5.664 5.664 0 00-.672-.039c-1.118 0-2.086.578-2.336 1.398h-.125v-1.25h-1.281V168zm12.906-8.422H304v4.984c0 1.477-.812 2.36-2.297 2.36-1.344 0-1.906-.703-1.906-2.219v-5.125h-1.344v5.453c0 1.992.985 3.117 2.875 3.117 1.289 0 2.188-.531 2.61-1.468h.124V168h1.282v-8.422zm2.609 8.422h1.344v-11.766h-1.344V168zm9.531-2.18c-.351.742-1.086 1.141-2.172 1.141-1.429 0-2.359-1.055-2.429-2.719v-.062h6.055v-.516c0-2.617-1.383-4.234-3.657-4.234-2.312 0-3.797 1.718-3.797 4.367 0 2.664 1.461 4.351 3.797 4.351 1.844 0 3.157-.89 3.547-2.328h-1.344zm-2.218-5.203c1.336 0 2.226.985 2.257 2.477h-4.64c.101-1.492 1.039-2.477 2.383-2.477zm5.586 1.266c0 1.219.718 1.898 2.296 2.281l1.446.352c.898.218 1.336.609 1.336 1.187 0 .774-.813 1.313-1.946 1.313-1.078 0-1.75-.454-1.976-1.164h-1.383c.148 1.398 1.437 2.296 3.313 2.296 1.914 0 3.374-1.039 3.374-2.546 0-1.211-.765-1.899-2.351-2.282l-1.297-.312c-.992-.242-1.461-.602-1.461-1.18 0-.75.781-1.258 1.781-1.258 1.016 0 1.672.446 1.852 1.118h1.328c-.18-1.383-1.406-2.258-3.172-2.258-1.789 0-3.14 1.054-3.14 2.453zm13.648-4.485v2.18h-1.359v1.125h1.359v5.109c0 1.61.695 2.25 2.43 2.25.265 0 .523-.031.789-.078v-1.132c-.25.023-.383.031-.625.031-.875 0-1.25-.422-1.25-1.414v-4.766h1.875v-1.125h-1.875v-2.18H334.5zm8.586 10.75c2.398 0 3.883-1.656 3.883-4.359 0-2.711-1.485-4.359-3.883-4.359-2.398 0-3.883 1.648-3.883 4.359 0 2.703 1.485 4.359 3.883 4.359zm0-1.21c-1.594 0-2.492-1.157-2.492-3.149 0-2 .898-3.148 2.492-3.148 1.594 0 2.492 1.148 2.492 3.148 0 1.992-.898 3.149-2.492 3.149zM224.141 192h2.273v-5.188c0-.984.633-1.703 1.524-1.703.89 0 1.421.532 1.421 1.453V192h2.188v-5.289c0-.93.594-1.602 1.515-1.602.961 0 1.438.516 1.438 1.555V192h2.273v-5.906c0-1.774-1.07-2.883-2.789-2.883-1.203 0-2.195.633-2.593 1.586h-.141c-.344-.985-1.172-1.586-2.383-1.586-1.133 0-2.031.601-2.383 1.586h-.14v-1.399h-2.203V192zm20.414-2.43c-.243.586-.86.914-1.758.914-1.188 0-1.938-.82-1.969-2.132v-.118h5.914v-.679c0-2.719-1.5-4.344-4.039-4.344-2.562 0-4.141 1.734-4.141 4.531 0 2.781 1.547 4.438 4.172 4.438 2.11 0 3.602-1.008 3.938-2.61h-2.117zm-1.844-4.664c1.062 0 1.75.735 1.797 1.914h-3.672c.078-1.156.82-1.914 1.875-1.914zm5.703 1c0 1.321.813 2.11 2.484 2.477l1.563.351c.758.172 1.086.438 1.086.875 0 .571-.609.961-1.492.961-.907 0-1.461-.351-1.633-.945h-2.219c.156 1.625 1.531 2.555 3.805 2.555 2.258 0 3.797-1.11 3.797-2.813 0-1.281-.75-1.984-2.422-2.351l-1.617-.352c-.797-.18-1.164-.453-1.164-.891 0-.562.601-.945 1.414-.945.843 0 1.367.352 1.484.922h2.102c-.125-1.625-1.414-2.539-3.602-2.539-2.148 0-3.586 1.086-3.586 2.695zm8.906 0c0 1.321.813 2.11 2.485 2.477l1.562.351c.758.172 1.086.438 1.086.875 0 .571-.609.961-1.492.961-.906 0-1.461-.351-1.633-.945h-2.219c.157 1.625 1.532 2.555 3.805 2.555 2.258 0 3.797-1.11 3.797-2.813 0-1.281-.75-1.984-2.422-2.351l-1.617-.352c-.797-.18-1.164-.453-1.164-.891 0-.562.601-.945 1.414-.945.844 0 1.367.352 1.484.922h2.102c-.125-1.625-1.414-2.539-3.602-2.539-2.148 0-3.586 1.086-3.586 2.695zm11.618 6.227c1.117 0 2.054-.477 2.5-1.274h.14V192h2.203v-5.875c0-1.836-1.289-2.914-3.57-2.914-2.164 0-3.625.992-3.773 2.57h2.093c.188-.539.735-.828 1.555-.828.937 0 1.453.43 1.453 1.172v.711l-2.086.125c-2.141.125-3.336 1.031-3.336 2.586 0 1.57 1.164 2.586 2.821 2.586zm.75-1.664c-.79 0-1.344-.399-1.344-1.063 0-.633.476-1 1.453-1.062l1.742-.117v.64c0 .906-.797 1.602-1.851 1.602zm10.124 4.789c2.602 0 4.25-1.266 4.25-3.274v-8.586h-2.203v1.375h-.14c-.461-.937-1.453-1.515-2.617-1.515-2.188 0-3.532 1.703-3.532 4.367 0 2.578 1.336 4.25 3.485 4.25 1.211 0 2.117-.492 2.593-1.398h.141v1.601c0 .992-.711 1.57-1.93 1.57-.984 0-1.625-.343-1.742-.89h-2.25c.141 1.508 1.656 2.5 3.945 2.5zm.032-5.125c-1.235 0-1.938-.969-1.938-2.516 0-1.547.711-2.515 1.938-2.515 1.226 0 1.968.968 1.968 2.515 0 1.547-.734 2.516-1.968 2.516zm12.07-.563c-.242.586-.859.914-1.758.914-1.187 0-1.937-.82-1.968-2.132v-.118h5.914v-.679c0-2.719-1.5-4.344-4.04-4.344-2.562 0-4.14 1.734-4.14 4.531 0 2.781 1.547 4.438 4.172 4.438 2.109 0 3.601-1.008 3.937-2.61h-2.117zm-1.844-4.664c1.063 0 1.75.735 1.797 1.914h-3.672c.078-1.156.821-1.914 1.875-1.914zm11.102-3.508v2.18h-1.36v1.125h1.36v5.109c0 1.61.695 2.25 2.43 2.25.265 0 .523-.031.789-.078v-1.132c-.25.023-.383.031-.625.031-.875 0-1.25-.422-1.25-1.414v-4.766h1.875v-1.125h-1.875v-2.18h-1.344zm8.586 10.75c2.398 0 3.883-1.656 3.883-4.359 0-2.711-1.485-4.359-3.883-4.359-2.399 0-3.883 1.648-3.883 4.359 0 2.703 1.484 4.359 3.883 4.359zm0-1.21c-1.594 0-2.492-1.157-2.492-3.149 0-2 .898-3.148 2.492-3.148 1.594 0 2.492 1.148 2.492 3.148 0 1.992-.898 3.149-2.492 3.149zm10.312-5.055c0 1.219.719 1.898 2.297 2.281l1.445.352c.899.218 1.336.609 1.336 1.187 0 .774-.812 1.313-1.945 1.313-1.078 0-1.75-.454-1.976-1.164h-1.383c.148 1.398 1.437 2.296 3.312 2.296 1.914 0 3.375-1.039 3.375-2.546 0-1.211-.765-1.899-2.351-2.282l-1.297-.312c-.992-.242-1.461-.602-1.461-1.18 0-.75.781-1.258 1.781-1.258 1.016 0 1.672.446 1.852 1.118h1.328c-.18-1.383-1.406-2.258-3.172-2.258-1.789 0-3.141 1.054-3.141 2.453zm14.149 3.937c-.352.742-1.086 1.141-2.172 1.141-1.43 0-2.359-1.055-2.43-2.719v-.062h6.055v-.516c0-2.617-1.383-4.234-3.656-4.234-2.313 0-3.797 1.718-3.797 4.367 0 2.664 1.461 4.351 3.797 4.351 1.843 0 3.156-.89 3.546-2.328h-1.343zM332 184.617c1.336 0 2.227.985 2.258 2.477h-4.641c.102-1.492 1.039-2.477 2.383-2.477zm5.781 7.383h1.344v-4.984c0-1.477.867-2.375 2.211-2.375 1.344 0 1.984.718 1.984 2.234V192h1.344v-5.453c0-2-1.055-3.117-2.945-3.117-1.289 0-2.11.547-2.531 1.476h-.126v-1.328h-1.281V192zm12.461.148c1.164 0 2.164-.554 2.696-1.492h.124V192h1.282v-11.766H353v4.672h-.117c-.477-.922-1.469-1.476-2.641-1.476-2.14 0-3.539 1.718-3.539 4.359 0 2.649 1.383 4.359 3.539 4.359zm.313-7.507c1.523 0 2.476 1.218 2.476 3.148 0 1.945-.945 3.149-2.476 3.149-1.539 0-2.461-1.18-2.461-3.149 0-1.961.929-3.148 2.461-3.148z\\\" fill=\\\"#444\\\"/><g opacity=\\\".15\\\" stroke=\\\"#444\\\"><path d=\\\"M56 120h144\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\"/><path d=\\\"M197.507 124.619l1.424-4.272c.075-.226.075-.47 0-.695l-1.424-4.272a.093.093 0 01-.003-.061.112.112 0 01.09-.073.092.092 0 01.059.017l7.752 4.651a.1.1 0 010 .171l-7.752 4.651c-.027.016-.046.018-.059.016a.097.097 0 01-.055-.024.105.105 0 01-.035-.048.093.093 0 01.003-.061z\\\" fill=\\\"#444\\\"/><circle cx=\\\"58\\\" cy=\\\"120\\\" r=\\\"2.5\\\" fill=\\\"#444\\\"/></g><g opacity=\\\".15\\\" stroke=\\\"#444\\\"><path d=\\\"M270 120h144\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\"/><path d=\\\"M411.507 124.619l1.424-4.272c.075-.226.075-.47 0-.695l-1.424-4.272a.093.093 0 01-.003-.061.112.112 0 01.09-.073.092.092 0 01.059.017l7.752 4.651a.1.1 0 010 .171l-7.752 4.651c-.027.016-.046.018-.059.016a.097.097 0 01-.055-.024.105.105 0 01-.035-.048.093.093 0 01.003-.061z\\\" fill=\\\"#444\\\"/><circle cx=\\\"272\\\" cy=\\\"120\\\" r=\\\"2.5\\\" fill=\\\"#444\\\"/></g><path opacity=\\\".3\\\" d=\\\"M12.855 23.738H4.746v-5.261h7.676v-2.18H4.746v-4.945h8.11V9.09H2.12V26h10.734v-2.262zm8.168 2.473c1.758 0 3.247-.832 4.008-2.227h.2V26h2.413V8.281h-2.519v7.008h-.188c-.69-1.394-2.168-2.238-3.914-2.238-3.222 0-5.296 2.566-5.296 6.574 0 4.031 2.05 6.586 5.296 6.586zm.715-11.004c2.11 0 3.434 1.711 3.434 4.43 0 2.742-1.313 4.418-3.434 4.418-2.133 0-3.41-1.653-3.41-4.418 0-2.754 1.29-4.43 3.41-4.43zM32.73 11c.88 0 1.594-.715 1.594-1.582 0-.879-.715-1.594-1.593-1.594-.88 0-1.594.715-1.594 1.594 0 .867.715 1.582 1.593 1.582zm-1.253 15h2.507V13.273h-2.507V26zm7.101-15.938v3.247h-2.027v2.015h2.027v7.324c0 2.45 1.113 3.434 3.914 3.434.492 0 .961-.059 1.371-.129V23.95c-.351.035-.574.059-.96.059-1.255 0-1.805-.598-1.805-1.969v-6.715h2.765V13.31h-2.765v-3.246h-2.52zm14.52 6.774c0 1.887 1.125 2.965 3.55 3.527l2.227.528c1.277.304 1.875.82 1.875 1.617 0 1.043-1.113 1.77-2.684 1.77-1.523 0-2.46-.622-2.777-1.618h-2.52c.223 2.215 2.204 3.586 5.239 3.586 3.047 0 5.285-1.605 5.285-3.973 0-1.851-1.137-2.894-3.563-3.457l-2.12-.492c-1.383-.328-2.028-.82-2.028-1.605 0-1.032 1.066-1.723 2.473-1.723 1.43 0 2.343.621 2.578 1.57h2.414c-.246-2.203-2.121-3.539-4.992-3.539-2.883 0-4.957 1.594-4.957 3.809zm21.597 5.754c-.468 1.031-1.511 1.594-3.035 1.594-2.016 0-3.316-1.454-3.398-3.762v-.117h9.011v-.867c0-3.985-2.144-6.41-5.695-6.41-3.597 0-5.883 2.59-5.883 6.632 0 4.067 2.239 6.586 5.895 6.586 2.918 0 4.98-1.406 5.531-3.656h-2.426zm-3.129-7.512c1.864 0 3.082 1.348 3.141 3.41h-6.445c.14-2.05 1.441-3.41 3.304-3.41zM80.296 26h2.52v-7.605c0-1.793 1.348-3.024 3.258-3.024.445 0 1.195.082 1.407.14v-2.366c-.27-.06-.75-.094-1.125-.094-1.665 0-3.083.902-3.446 2.156h-.187v-1.934h-2.426V26zm10.911-15c.879 0 1.594-.715 1.594-1.582 0-.879-.715-1.594-1.594-1.594-.879 0-1.594.715-1.594 1.594 0 .867.715 1.582 1.594 1.582zm-1.254 15h2.508V13.273h-2.508V26zm14.578-3.41c-.469 1.031-1.511 1.594-3.035 1.594-2.015 0-3.316-1.454-3.398-3.762v-.117h9.011v-.867c0-3.985-2.144-6.41-5.695-6.41-3.598 0-5.883 2.59-5.883 6.632 0 4.067 2.238 6.586 5.895 6.586 2.918 0 4.98-1.406 5.531-3.656h-2.426zm-3.129-7.512c1.864 0 3.082 1.348 3.141 3.41h-6.445c.14-2.05 1.441-3.41 3.304-3.41zm8.438 1.758c0 1.887 1.125 2.965 3.551 3.527l2.226.528c1.278.304 1.875.82 1.875 1.617 0 1.043-1.113 1.77-2.683 1.77-1.524 0-2.461-.622-2.778-1.618h-2.519c.222 2.215 2.203 3.586 5.238 3.586 3.047 0 5.285-1.605 5.285-3.973 0-1.851-1.137-2.894-3.562-3.457l-2.121-.492c-1.383-.328-2.028-.82-2.028-1.605 0-1.032 1.067-1.723 2.473-1.723 1.43 0 2.344.621 2.578 1.57h2.414c-.246-2.203-2.121-3.539-4.992-3.539-2.883 0-4.957 1.594-4.957 3.809zm20.683-6.773v3.246h-2.027v2.015h2.027v7.324c0 2.45 1.114 3.434 3.915 3.434.492 0 .96-.059 1.371-.129V23.95c-.352.035-.575.059-.961.059-1.254 0-1.805-.598-1.805-1.969v-6.715h2.766V13.31h-2.766v-3.246h-2.52zm13.5 16.183c3.727 0 6.012-2.496 6.012-6.61 0-4.113-2.297-6.609-6.012-6.609-3.726 0-6.023 2.508-6.023 6.61 0 4.113 2.285 6.61 6.023 6.61zm0-2.144c-2.191 0-3.421-1.63-3.421-4.465 0-2.836 1.23-4.477 3.421-4.477 2.18 0 3.422 1.64 3.422 4.477 0 2.824-1.242 4.465-3.422 4.465zm20.989 6.761c3.609 0 5.894-1.84 5.894-4.734V13.273h-2.414v2.028h-.199c-.715-1.383-2.25-2.25-4.008-2.25-3.258 0-5.297 2.566-5.297 6.422 0 3.82 2.016 6.34 5.274 6.34 1.758 0 3.164-.762 3.937-2.145h.188v2.45c0 1.722-1.242 2.753-3.34 2.753-1.699 0-2.766-.61-2.977-1.57h-2.578c.27 2.144 2.332 3.562 5.52 3.562zm-.035-7.136c-2.168 0-3.387-1.653-3.387-4.254 0-2.602 1.219-4.266 3.387-4.266 2.144 0 3.457 1.664 3.457 4.266 0 2.601-1.301 4.254-3.457 4.254zm17.953-1.137c-.469 1.031-1.512 1.594-3.035 1.594-2.016 0-3.317-1.454-3.399-3.762v-.117h9.012v-.867c0-3.985-2.145-6.41-5.696-6.41-3.597 0-5.882 2.59-5.882 6.632 0 4.067 2.238 6.586 5.894 6.586 2.918 0 4.981-1.406 5.531-3.656h-2.425zm-3.129-7.512c1.863 0 3.082 1.348 3.14 3.41h-6.445c.141-2.05 1.442-3.41 3.305-3.41zm9.621-5.015v3.246h-2.027v2.015h2.027v7.324c0 2.45 1.113 3.434 3.914 3.434a8.14 8.14 0 001.371-.129V23.95c-.352.035-.574.059-.961.059-1.254 0-1.805-.598-1.805-1.969v-6.715h2.766V13.31h-2.766v-3.246h-2.519zM1.535 48.836c0 1.887 1.125 2.965 3.55 3.527l2.228.528c1.277.304 1.875.82 1.875 1.617 0 1.043-1.114 1.77-2.684 1.77-1.524 0-2.461-.622-2.777-1.618h-2.52c.223 2.215 2.203 3.586 5.238 3.586 3.047 0 5.285-1.605 5.285-3.973 0-1.851-1.136-2.894-3.562-3.457l-2.121-.492c-1.383-.328-2.027-.82-2.027-1.605 0-1.032 1.066-1.723 2.472-1.723 1.43 0 2.344.621 2.578 1.57h2.414c-.246-2.203-2.12-3.539-4.992-3.539-2.883 0-4.957 1.594-4.957 3.809zm14.027-6.773v3.246h-2.027v2.015h2.027v7.324c0 2.45 1.114 3.434 3.915 3.434.492 0 .96-.059 1.37-.129V55.95c-.35.035-.574.059-.96.059-1.254 0-1.805-.598-1.805-1.969v-6.715h2.766V45.31h-2.766v-3.246h-2.52zM27.34 58.21c1.676 0 3.07-.727 3.832-2.016h.2V58h2.425v-8.707c0-2.672-1.805-4.266-5.004-4.266-2.895 0-4.957 1.395-5.215 3.54h2.438c.28-.926 1.254-1.454 2.66-1.454 1.722 0 2.613.785 2.613 2.18v1.113l-3.457.211c-3.035.188-4.746 1.512-4.746 3.797 0 2.32 1.793 3.797 4.254 3.797zm.644-2.027c-1.37 0-2.367-.692-2.367-1.875 0-1.16.797-1.782 2.555-1.899l3.117-.21v1.1c0 1.641-1.406 2.884-3.305 2.884zM37.383 58h2.52v-7.605c0-1.793 1.347-3.024 3.257-3.024.446 0 1.196.082 1.406.14v-2.367c-.27-.058-.75-.093-1.125-.093-1.664 0-3.082.902-3.445 2.156h-.187v-1.934h-2.426V58zm11.156-15.938v3.247h-2.027v2.015h2.027v7.324c0 2.45 1.113 3.434 3.914 3.434a8.14 8.14 0 001.371-.129V55.95c-.351.035-.574.059-.96.059-1.255 0-1.805-.598-1.805-1.969v-6.715h2.765V45.31H51.06v-3.246h-2.52zM65.016 54.59c-.47 1.031-1.512 1.594-3.036 1.594-2.015 0-3.316-1.453-3.398-3.762v-.117h9.012v-.867c0-3.985-2.145-6.41-5.696-6.41-3.597 0-5.882 2.59-5.882 6.632 0 4.067 2.238 6.586 5.894 6.586 2.918 0 4.98-1.406 5.531-3.656h-2.425zm-3.13-7.512c1.864 0 3.083 1.348 3.141 3.41h-6.445c.14-2.05 1.441-3.41 3.305-3.41zm13.395 11.133c1.758 0 3.246-.832 4.008-2.227h.2V58h2.413V40.281h-2.52v7.008h-.187c-.691-1.395-2.168-2.238-3.914-2.238-3.222 0-5.297 2.566-5.297 6.574 0 4.031 2.051 6.586 5.297 6.586zm.715-11.004c2.11 0 3.434 1.711 3.434 4.43 0 2.742-1.313 4.418-3.434 4.418-2.133 0-3.41-1.653-3.41-4.418 0-2.754 1.289-4.43 3.41-4.43z\\\" fill=\\\"#444\\\"/></svg>\",\n    \"starting-state\": \"<svg width=\\\"581\\\" height=\\\"201\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path opacity=\\\".8\\\" d=\\\"M445.766 168h1.476l-4.156-11.273h-1.391L437.539 168h1.477l1.132-3.227h4.485l1.133 3.227zm-3.438-9.453h.125l1.766 5.031h-3.657l1.766-5.031zm6.719 9.453h1.344v-4.984c0-1.477.867-2.375 2.211-2.375 1.343 0 1.984.718 1.984 2.234V168h1.344v-5.453c0-2-1.055-3.117-2.946-3.117-1.289 0-2.109.547-2.531 1.476h-.125v-1.328h-1.281V168zm12.461.148c1.164 0 2.164-.554 2.695-1.492h.125V168h1.281v-11.766h-1.343v4.672h-.118c-.476-.922-1.468-1.476-2.64-1.476-2.141 0-3.539 1.718-3.539 4.359 0 2.649 1.383 4.359 3.539 4.359zm.312-7.507c1.524 0 2.477 1.218 2.477 3.148 0 1.945-.945 3.149-2.477 3.149-1.539 0-2.461-1.18-2.461-3.149 0-1.961.93-3.148 2.461-3.148zm12.461 2.617h-.125v-7.024h-1.344V168h1.344v-3.195l.805-.75 3.156 3.945h1.711l-3.867-4.812 3.625-3.61h-1.648l-3.657 3.68zm10.11-2.641c1.336 0 2.226.985 2.257 2.477h-4.64c.101-1.492 1.039-2.477 2.383-2.477zm2.218 5.203c-.351.742-1.086 1.141-2.171 1.141-1.43 0-2.36-1.055-2.43-2.719v-.062h6.054v-.516c0-2.617-1.382-4.234-3.656-4.234-2.312 0-3.797 1.718-3.797 4.367 0 2.664 1.461 4.351 3.797 4.351 1.844 0 3.156-.89 3.547-2.328h-1.344zm6.922-5.203c1.336 0 2.227.985 2.258 2.477h-4.641c.102-1.492 1.04-2.477 2.383-2.477zm2.219 5.203c-.352.742-1.086 1.141-2.172 1.141-1.43 0-2.359-1.055-2.43-2.719v-.062h6.055v-.516c0-2.617-1.383-4.234-3.656-4.234-2.313 0-3.797 1.718-3.797 4.367 0 2.664 1.461 4.351 3.797 4.351 1.844 0 3.156-.89 3.547-2.328h-1.344zm7.664-6.39c-1.148 0-2.156.586-2.695 1.554h-.125v-1.406h-1.282v11.234h1.344v-4.078h.125c.461.891 1.43 1.414 2.633 1.414 2.141 0 3.539-1.726 3.539-4.359 0-2.648-1.391-4.359-3.539-4.359zm-.32 7.508c-1.516 0-2.477-1.219-2.477-3.149 0-1.937.961-3.148 2.485-3.148 1.539 0 2.46 1.179 2.46 3.148s-.921 3.149-2.468 3.149zm13.89-.25c-1.562 0-2.437-1.188-2.437-3.024s.875-3.023 2.437-3.023c1.555 0 2.5 1.187 2.5 3.023s-.937 3.024-2.5 3.024zm.063 4.546c2.297 0 3.75-1.203 3.75-3.086v-8.57h-1.281v1.336h-.125c-.485-.906-1.524-1.484-2.703-1.484-2.165 0-3.532 1.711-3.532 4.234 0 2.524 1.352 4.211 3.532 4.211 1.156 0 2.109-.523 2.64-1.453h.125v1.656c0 1.242-.898 1.984-2.406 1.984-1.211 0-1.961-.445-2.109-1.132h-1.422c.203 1.39 1.5 2.304 3.531 2.304zm9.742-3.086c2.399 0 3.883-1.656 3.883-4.359 0-2.711-1.484-4.359-3.883-4.359-2.398 0-3.883 1.648-3.883 4.359 0 2.703 1.485 4.359 3.883 4.359zm0-1.21c-1.594 0-2.492-1.157-2.492-3.149 0-2 .898-3.148 2.492-3.148 1.594 0 2.492 1.148 2.492 3.148 0 1.992-.898 3.149-2.492 3.149zm6.023 1.062h1.344v-8.422h-1.344V168zm.672-10.047a.94.94 0 00.938-.937.94.94 0 00-.938-.938.94.94 0 00-.937.938.94.94 0 00.937.937zM536.719 168h1.343v-4.984c0-1.477.868-2.375 2.211-2.375 1.344 0 1.985.718 1.985 2.234V168h1.344v-5.453c0-2-1.055-3.117-2.946-3.117-1.289 0-2.109.547-2.531 1.476H538v-1.328h-1.281V168zm12.75-1.312c-1.563 0-2.438-1.188-2.438-3.024s.875-3.023 2.438-3.023c1.554 0 2.5 1.187 2.5 3.023s-.938 3.024-2.5 3.024zm.062 4.546c2.297 0 3.75-1.203 3.75-3.086v-8.57H552v1.336h-.125c-.484-.906-1.523-1.484-2.703-1.484-2.164 0-3.531 1.711-3.531 4.234 0 2.524 1.351 4.211 3.531 4.211 1.156 0 2.109-.523 2.64-1.453h.126v1.656c0 1.242-.899 1.984-2.407 1.984-1.211 0-1.961-.445-2.109-1.132H546c.203 1.39 1.5 2.304 3.531 2.304z\\\" fill=\\\"#444\\\"/><path d=\\\"M15 102.732a5.999 5.999 0 016 0l9.588 5.536a6 6 0 013 5.196v11.072a6 6 0 01-3 5.196L21 135.268a5.999 5.999 0 01-6 0l-9.588-5.536a6 6 0 01-3-5.196v-11.072a6 6 0 013-5.196L15 102.732z\\\" fill=\\\"#FFD954\\\"/><path opacity=\\\".8\\\" d=\\\"M.898 165.055c.149 1.945 1.797 3.211 4.188 3.211 2.578 0 4.21-1.321 4.21-3.391 0-1.656-.937-2.563-3.273-3.148l-1.18-.313c-1.554-.398-2.171-.906-2.171-1.789 0-1.141.992-1.891 2.492-1.891 1.406 0 2.36.688 2.555 1.844h1.414c-.117-1.82-1.742-3.117-3.922-3.117-2.383 0-3.984 1.297-3.984 3.211 0 1.601.882 2.523 2.921 3.039l1.446.375c1.554.391 2.258 1 2.258 1.961 0 1.117-1.118 1.937-2.633 1.937-1.602 0-2.727-.75-2.899-1.929H.898zm11.133-7.657v2.18h-1.36v1.125h1.36v5.109c0 1.61.696 2.25 2.43 2.25.266 0 .523-.031.789-.078v-1.132c-.25.023-.383.031-.625.031-.875 0-1.25-.422-1.25-1.414v-4.766h1.875v-1.125h-1.875v-2.18h-1.344zm7.594 10.75c1.125 0 2.047-.492 2.594-1.39h.125V168h1.281v-5.766c0-1.75-1.148-2.804-3.203-2.804-1.797 0-3.125.89-3.305 2.242h1.36c.187-.664.89-1.047 1.898-1.047 1.258 0 1.906.57 1.906 1.609V163l-2.43.148c-1.96.118-3.07.985-3.07 2.493 0 1.539 1.211 2.507 2.844 2.507zm.25-1.179c-.977 0-1.703-.5-1.703-1.36 0-.843.562-1.289 1.844-1.375l2.265-.148v.773c0 1.203-1.023 2.11-2.406 2.11zM26.109 168h1.344v-5.219c0-1.187.93-2.047 2.211-2.047.266 0 .75.047.86.078v-1.343a5.649 5.649 0 00-.672-.039c-1.118 0-2.086.578-2.336 1.398h-.125v-1.25h-1.282V168zm7.125-10.602v2.18h-1.359v1.125h1.36v5.109c0 1.61.695 2.25 2.43 2.25.265 0 .523-.031.788-.078v-1.132c-.25.023-.383.031-.625.031-.875 0-1.25-.422-1.25-1.414v-4.766h1.875v-1.125h-1.875v-2.18h-1.344zm20.36 2.18h-1.352l-1.656 6.734h-.125l-1.883-6.734H47.29l-1.883 6.734h-.125l-1.656-6.734h-1.36l2.36 8.422h1.36l1.874-6.516h.125L49.867 168h1.367l2.36-8.422zm2.5-1.625a.94.94 0 00.937-.937.94.94 0 00-.937-.938.94.94 0 00-.938.938.94.94 0 00.938.937zM55.422 168h1.344v-8.422h-1.344V168zm4.469-10.602v2.18h-1.36v1.125h1.36v5.109c0 1.61.695 2.25 2.43 2.25.265 0 .523-.031.788-.078v-1.132c-.25.023-.382.031-.625.031-.875 0-1.25-.422-1.25-1.414v-4.766h1.875v-1.125h-1.875v-2.18h-1.343zM65.219 168h1.344v-4.984c0-1.422.828-2.375 2.335-2.375 1.274 0 1.946.742 1.946 2.234V168h1.344v-5.453c0-1.977-1.126-3.117-2.907-3.117-1.289 0-2.172.547-2.594 1.476h-.124v-4.672h-1.344V168zm16.281.148c1.125 0 2.047-.492 2.594-1.39h.125V168H85.5v-5.766c0-1.75-1.148-2.804-3.203-2.804-1.797 0-3.125.89-3.305 2.242h1.36c.187-.664.89-1.047 1.898-1.047 1.258 0 1.906.57 1.906 1.609V163l-2.43.148c-1.96.118-3.07.985-3.07 2.493 0 1.539 1.211 2.507 2.844 2.507zm.25-1.179c-.977 0-1.703-.5-1.703-1.36 0-.843.562-1.289 1.844-1.375l2.265-.148v.773c0 1.203-1.023 2.11-2.406 2.11zM92.375 168h2.273v-4.812c0-1.211.852-1.954 2.094-1.954.367 0 .899.063 1.078.125v-2c-.195-.062-.578-.101-.89-.101-1.094 0-1.985.648-2.211 1.508h-.14v-1.368h-2.204V168zm14.766-8.602h-2.274v4.969c0 1.18-.609 1.906-1.742 1.906-1.047 0-1.586-.617-1.586-1.835v-5.04h-2.273V165c0 2 1.156 3.18 3.015 3.18 1.305 0 2.11-.563 2.516-1.563h.141V168h2.203v-8.602zM109.5 168h2.273v-11.891H109.5V168zm10.211-2.43c-.242.586-.859.914-1.758.914-1.187 0-1.937-.82-1.969-2.132v-.118h5.914v-.679c0-2.719-1.5-4.344-4.039-4.344-2.562 0-4.14 1.734-4.14 4.531 0 2.781 1.547 4.438 4.172 4.438 2.109 0 3.601-1.008 3.937-2.61h-2.117zm-1.844-4.664c1.063 0 1.75.735 1.797 1.914h-3.672c.078-1.156.82-1.914 1.875-1.914zm5.703 1c0 1.321.813 2.11 2.485 2.477l1.562.351c.758.172 1.086.438 1.086.875 0 .571-.609.961-1.492.961-.906 0-1.461-.351-1.633-.945h-2.219c.157 1.625 1.532 2.555 3.805 2.555 2.258 0 3.797-1.11 3.797-2.813 0-1.281-.75-1.984-2.422-2.351l-1.617-.352c-.797-.18-1.164-.453-1.164-.891 0-.562.601-.945 1.414-.945.844 0 1.367.352 1.484.922h2.102c-.125-1.625-1.414-2.539-3.602-2.539-2.148 0-3.586 1.086-3.586 2.695zm18.461 6.227c2.164 0 3.492-1.68 3.492-4.438 0-2.773-1.312-4.437-3.492-4.437-1.179 0-2.148.57-2.586 1.515h-.14v-4.664h-2.274V168h2.203v-1.352h.141c.461.938 1.437 1.485 2.656 1.485zm-.789-7.031c1.203 0 1.946.992 1.946 2.593 0 1.617-.735 2.602-1.946 2.602-1.203 0-1.953-.992-1.961-2.594.008-1.601.766-2.601 1.961-2.601zm6.211 6.898h2.274v-11.891h-2.274V168zm8.461.18c2.648 0 4.242-1.672 4.242-4.485 0-2.789-1.617-4.484-4.242-4.484s-4.242 1.703-4.242 4.484c0 2.805 1.594 4.485 4.242 4.485zm0-1.797c-1.219 0-1.906-.985-1.906-2.688 0-1.687.695-2.679 1.906-2.679 1.203 0 1.906.992 1.906 2.679 0 1.703-.695 2.688-1.906 2.688zm13.727-3.985c-.188-1.921-1.555-3.187-3.836-3.187-2.696 0-4.211 1.633-4.211 4.469 0 2.867 1.523 4.5 4.211 4.5 2.242 0 3.648-1.235 3.836-3.125h-2.125c-.172.859-.782 1.32-1.711 1.32-1.219 0-1.914-.961-1.914-2.695 0-1.711.687-2.657 1.914-2.657.968 0 1.554.547 1.711 1.375h2.125zm4.273.399h-.141v-6.688H171.5V168h2.273v-2.891l.625-.648 2.516 3.539h2.695l-3.507-4.914 3.281-3.688h-2.586l-2.883 3.399zM1.828 181.398v2.18H.468v1.125h1.36v5.109c0 1.61.695 2.25 2.43 2.25.265 0 .523-.031.789-.078v-1.132c-.25.023-.383.031-.625.031-.875 0-1.25-.422-1.25-1.414v-4.766h1.875v-1.125H3.172v-2.18H1.828zm8.586 10.75c2.399 0 3.883-1.656 3.883-4.359 0-2.711-1.485-4.359-3.883-4.359-2.398 0-3.883 1.648-3.883 4.359 0 2.703 1.485 4.359 3.883 4.359zm0-1.21c-1.594 0-2.492-1.157-2.492-3.149 0-2 .898-3.148 2.492-3.148 1.594 0 2.492 1.148 2.492 3.148 0 1.992-.898 3.149-2.492 3.149zm11.07-9.54v2.18h-1.359v1.125h1.36v5.109c0 1.61.695 2.25 2.43 2.25.265 0 .523-.031.788-.078v-1.132c-.25.023-.383.031-.625.031-.875 0-1.25-.422-1.25-1.414v-4.766h1.875v-1.125h-1.875v-2.18h-1.344zM26.734 192h1.344v-5.219c0-1.187.93-2.047 2.211-2.047.266 0 .75.047.86.078v-1.343a5.649 5.649 0 00-.672-.039c-1.118 0-2.086.578-2.336 1.398h-.125v-1.25h-1.282V192zm6.797-10.047a.94.94 0 00.938-.937.94.94 0 00-.938-.938.94.94 0 00-.937.938.94.94 0 00.937.937zM32.86 192h1.344v-8.422H32.86V192zm7.375 3.234c2.297 0 3.75-1.203 3.75-3.086v-8.57h-1.28v1.336h-.126c-.484-.906-1.523-1.484-2.703-1.484-2.164 0-3.531 1.711-3.531 4.234 0 2.524 1.351 4.211 3.531 4.211 1.156 0 2.11-.523 2.64-1.453h.126v1.656c0 1.242-.899 1.984-2.407 1.984-1.21 0-1.96-.445-2.109-1.132h-1.422c.203 1.39 1.5 2.304 3.531 2.304zm-.062-4.546c-1.563 0-2.438-1.188-2.438-3.024s.875-3.023 2.438-3.023c1.555 0 2.5 1.187 2.5 3.023s-.938 3.024-2.5 3.024zm9.812 4.546c2.297 0 3.75-1.203 3.75-3.086v-8.57h-1.28v1.336h-.126c-.484-.906-1.523-1.484-2.703-1.484-2.164 0-3.531 1.711-3.531 4.234 0 2.524 1.351 4.211 3.531 4.211 1.156 0 2.11-.523 2.64-1.453h.126v1.656c0 1.242-.899 1.984-2.407 1.984-1.21 0-1.96-.445-2.109-1.132h-1.422c.203 1.39 1.5 2.304 3.531 2.304zm-.062-4.546c-1.563 0-2.438-1.188-2.438-3.024s.875-3.023 2.438-3.023c1.555 0 2.5 1.187 2.5 3.023s-.938 3.024-2.5 3.024zm11.922-.868c-.352.742-1.086 1.141-2.172 1.141-1.43 0-2.36-1.055-2.43-2.719v-.062h6.055v-.516c0-2.617-1.383-4.234-3.656-4.234-2.313 0-3.797 1.718-3.797 4.367 0 2.664 1.46 4.351 3.797 4.351 1.843 0 3.156-.89 3.547-2.328h-1.344zm-2.219-5.203c1.336 0 2.227.985 2.258 2.477h-4.64c.1-1.492 1.038-2.477 2.382-2.477zM65.406 192h1.344v-5.219c0-1.187.93-2.047 2.21-2.047.267 0 .75.047.86.078v-1.343a5.65 5.65 0 00-.672-.039c-1.117 0-2.085.578-2.335 1.398h-.126v-1.25h-1.28V192zm11.172-10.602v2.18h-1.36v1.125h1.36v5.109c0 1.61.695 2.25 2.43 2.25.265 0 .523-.031.789-.078v-1.132c-.25.023-.383.031-.625.031-.875 0-1.25-.422-1.25-1.414v-4.766h1.875v-1.125h-1.875v-2.18h-1.344zM81.906 192h1.344v-4.984c0-1.422.828-2.375 2.336-2.375 1.273 0 1.945.742 1.945 2.234V192h1.344v-5.453c0-1.977-1.125-3.117-2.906-3.117-1.29 0-2.172.547-2.594 1.476h-.125v-4.672h-1.344V192zm15-2.18c-.351.742-1.086 1.141-2.172 1.141-1.43 0-2.359-1.055-2.43-2.719v-.062h6.055v-.516c0-2.617-1.382-4.234-3.656-4.234-2.312 0-3.797 1.718-3.797 4.367 0 2.664 1.461 4.351 3.797 4.351 1.844 0 3.156-.89 3.547-2.328h-1.344zm-2.219-5.203c1.336 0 2.227.985 2.258 2.477h-4.64c.101-1.492 1.039-2.477 2.382-2.477zm10.102 1.266c0 1.219.719 1.898 2.297 2.281l1.445.352c.899.218 1.336.609 1.336 1.187 0 .774-.812 1.313-1.945 1.313-1.078 0-1.75-.454-1.977-1.164h-1.383c.149 1.398 1.438 2.296 3.313 2.296 1.914 0 3.375-1.039 3.375-2.546 0-1.211-.766-1.899-2.352-2.282l-1.296-.312c-.993-.242-1.461-.602-1.461-1.18 0-.75.781-1.258 1.781-1.258 1.016 0 1.672.446 1.851 1.118h1.329c-.18-1.383-1.407-2.258-3.172-2.258-1.789 0-3.141 1.054-3.141 2.453zm14.149 3.937c-.352.742-1.086 1.141-2.172 1.141-1.43 0-2.36-1.055-2.43-2.719v-.062h6.055v-.516c0-2.617-1.383-4.234-3.657-4.234-2.312 0-3.796 1.718-3.796 4.367 0 2.664 1.46 4.351 3.796 4.351 1.844 0 3.157-.89 3.547-2.328h-1.343zm-2.219-5.203c1.336 0 2.226.985 2.258 2.477h-4.641c.102-1.492 1.039-2.477 2.383-2.477zM122.5 192h1.344v-5.219c0-1.187.929-2.047 2.211-2.047.265 0 .75.047.859.078v-1.343a5.65 5.65 0 00-.672-.039c-1.117 0-2.086.578-2.336 1.398h-.125v-1.25H122.5V192zm6.797-10.047a.94.94 0 00.937-.937.94.94 0 00-.937-.938.94.94 0 00-.938.938.94.94 0 00.938.937zM128.625 192h1.344v-8.422h-1.344V192zm9.484-2.18c-.351.742-1.086 1.141-2.171 1.141-1.43 0-2.36-1.055-2.43-2.719v-.062h6.054v-.516c0-2.617-1.382-4.234-3.656-4.234-2.312 0-3.797 1.718-3.797 4.367 0 2.664 1.461 4.351 3.797 4.351 1.844 0 3.156-.89 3.547-2.328h-1.344zm-2.218-5.203c1.336 0 2.226.985 2.257 2.477h-4.64c.101-1.492 1.039-2.477 2.383-2.477zm5.586 1.266c0 1.219.718 1.898 2.296 2.281l1.446.352c.898.218 1.336.609 1.336 1.187 0 .774-.813 1.313-1.946 1.313-1.078 0-1.75-.454-1.976-1.164h-1.383c.148 1.398 1.438 2.296 3.312 2.296 1.915 0 3.376-1.039 3.376-2.546 0-1.211-.766-1.899-2.352-2.282l-1.297-.312c-.992-.242-1.461-.602-1.461-1.18 0-.75.781-1.258 1.781-1.258 1.016 0 1.672.446 1.852 1.118h1.328c-.18-1.383-1.406-2.258-3.172-2.258-1.789 0-3.14 1.054-3.14 2.453z\\\" fill=\\\"#444\\\"/><rect x=\\\"223\\\" y=\\\"104\\\" width=\\\"30\\\" height=\\\"30\\\" rx=\\\"4\\\" fill=\\\"#6AFDEF\\\"/><rect x=\\\"437\\\" y=\\\"104\\\" width=\\\"30\\\" height=\\\"30\\\" rx=\\\"4\\\" fill=\\\"#E8E8E8\\\"/><rect x=\\\"436\\\" y=\\\"103\\\" width=\\\"32\\\" height=\\\"32\\\" rx=\\\"5\\\" stroke=\\\"#444\\\" stroke-opacity=\\\".15\\\" stroke-width=\\\"2\\\"/><path opacity=\\\".8\\\" d=\\\"M228.977 168.266c2.398 0 4.179-1.336 4.554-3.407h-1.429c-.36 1.305-1.555 2.11-3.125 2.11-2.172 0-3.532-1.774-3.532-4.602 0-2.828 1.36-4.609 3.524-4.609 1.554 0 2.758.914 3.133 2.367h1.429c-.336-2.172-2.187-3.664-4.562-3.664-3.063 0-4.969 2.266-4.969 5.906 0 3.633 1.914 5.899 4.977 5.899zm10.203-.118c2.398 0 3.882-1.656 3.882-4.359 0-2.711-1.484-4.359-3.882-4.359-2.399 0-3.883 1.648-3.883 4.359 0 2.703 1.484 4.359 3.883 4.359zm0-1.21c-1.594 0-2.492-1.157-2.492-3.149 0-2 .898-3.148 2.492-3.148 1.593 0 2.492 1.148 2.492 3.148 0 1.992-.899 3.149-2.492 3.149zm5.992 1.062h1.344v-4.984c0-1.477.867-2.375 2.211-2.375 1.343 0 1.984.718 1.984 2.234V168h1.344v-5.453c0-2-1.055-3.117-2.946-3.117-1.289 0-2.109.547-2.531 1.476h-.125v-1.328h-1.281V168zm9.344 0h1.343v-4.984c0-1.477.868-2.375 2.211-2.375 1.344 0 1.985.718 1.985 2.234V168h1.343v-5.453c0-2-1.054-3.117-2.945-3.117-1.289 0-2.109.547-2.531 1.476h-.125v-1.328h-1.281V168zm14.922-2.18c-.352.742-1.086 1.141-2.172 1.141-1.43 0-2.36-1.055-2.43-2.719v-.062h6.055v-.516c0-2.617-1.383-4.234-3.657-4.234-2.312 0-3.796 1.718-3.796 4.367 0 2.664 1.46 4.351 3.796 4.351 1.844 0 3.157-.89 3.547-2.328h-1.343zm-2.219-5.203c1.336 0 2.226.985 2.258 2.477h-4.641c.102-1.492 1.039-2.477 2.383-2.477zm12.75 1.539c-.235-1.5-1.485-2.726-3.531-2.726-2.36 0-3.86 1.703-3.86 4.328 0 2.68 1.508 4.39 3.867 4.39 2.024 0 3.282-1.14 3.524-2.687h-1.36c-.25.953-1.039 1.477-2.171 1.477-1.5 0-2.469-1.235-2.469-3.18 0-1.906.953-3.117 2.469-3.117 1.21 0 1.953.679 2.171 1.515h1.36zm2.703-4.758v2.18h-1.36v1.125h1.36v5.109c0 1.61.695 2.25 2.43 2.25.265 0 .523-.031.789-.078v-1.132c-.25.023-.383.031-.625.031-.875 0-1.25-.422-1.25-1.414v-4.766h1.875v-1.125h-1.875v-2.18h-1.344zM292.438 168h1.343v-5.219c0-1.187.93-2.047 2.211-2.047.266 0 .75.047.86.078v-1.343a5.664 5.664 0 00-.672-.039c-1.118 0-2.086.578-2.336 1.398h-.125v-1.25h-1.281V168zm12.906-8.422H304v4.984c0 1.477-.812 2.36-2.297 2.36-1.344 0-1.906-.703-1.906-2.219v-5.125h-1.344v5.453c0 1.992.985 3.117 2.875 3.117 1.289 0 2.188-.531 2.61-1.468h.124V168h1.282v-8.422zm2.609 8.422h1.344v-11.766h-1.344V168zm9.531-2.18c-.351.742-1.086 1.141-2.172 1.141-1.429 0-2.359-1.055-2.429-2.719v-.062h6.055v-.516c0-2.617-1.383-4.234-3.657-4.234-2.312 0-3.797 1.718-3.797 4.367 0 2.664 1.461 4.351 3.797 4.351 1.844 0 3.157-.89 3.547-2.328h-1.344zm-2.218-5.203c1.336 0 2.226.985 2.257 2.477h-4.64c.101-1.492 1.039-2.477 2.383-2.477zm5.586 1.266c0 1.219.718 1.898 2.296 2.281l1.446.352c.898.218 1.336.609 1.336 1.187 0 .774-.813 1.313-1.946 1.313-1.078 0-1.75-.454-1.976-1.164h-1.383c.148 1.398 1.437 2.296 3.313 2.296 1.914 0 3.374-1.039 3.374-2.546 0-1.211-.765-1.899-2.351-2.282l-1.297-.312c-.992-.242-1.461-.602-1.461-1.18 0-.75.781-1.258 1.781-1.258 1.016 0 1.672.446 1.852 1.118h1.328c-.18-1.383-1.406-2.258-3.172-2.258-1.789 0-3.14 1.054-3.14 2.453zm13.648-4.485v2.18h-1.359v1.125h1.359v5.109c0 1.61.695 2.25 2.43 2.25.265 0 .523-.031.789-.078v-1.132c-.25.023-.383.031-.625.031-.875 0-1.25-.422-1.25-1.414v-4.766h1.875v-1.125h-1.875v-2.18H334.5zm8.586 10.75c2.398 0 3.883-1.656 3.883-4.359 0-2.711-1.485-4.359-3.883-4.359-2.398 0-3.883 1.648-3.883 4.359 0 2.703 1.485 4.359 3.883 4.359zm0-1.21c-1.594 0-2.492-1.157-2.492-3.149 0-2 .898-3.148 2.492-3.148 1.594 0 2.492 1.148 2.492 3.148 0 1.992-.898 3.149-2.492 3.149zM224.141 192h2.273v-5.188c0-.984.633-1.703 1.524-1.703.89 0 1.421.532 1.421 1.453V192h2.188v-5.289c0-.93.594-1.602 1.515-1.602.961 0 1.438.516 1.438 1.555V192h2.273v-5.906c0-1.774-1.07-2.883-2.789-2.883-1.203 0-2.195.633-2.593 1.586h-.141c-.344-.985-1.172-1.586-2.383-1.586-1.133 0-2.031.601-2.383 1.586h-.14v-1.399h-2.203V192zm20.414-2.43c-.243.586-.86.914-1.758.914-1.188 0-1.938-.82-1.969-2.132v-.118h5.914v-.679c0-2.719-1.5-4.344-4.039-4.344-2.562 0-4.141 1.734-4.141 4.531 0 2.781 1.547 4.438 4.172 4.438 2.11 0 3.602-1.008 3.938-2.61h-2.117zm-1.844-4.664c1.062 0 1.75.735 1.797 1.914h-3.672c.078-1.156.82-1.914 1.875-1.914zm5.703 1c0 1.321.813 2.11 2.484 2.477l1.563.351c.758.172 1.086.438 1.086.875 0 .571-.609.961-1.492.961-.907 0-1.461-.351-1.633-.945h-2.219c.156 1.625 1.531 2.555 3.805 2.555 2.258 0 3.797-1.11 3.797-2.813 0-1.281-.75-1.984-2.422-2.351l-1.617-.352c-.797-.18-1.164-.453-1.164-.891 0-.562.601-.945 1.414-.945.843 0 1.367.352 1.484.922h2.102c-.125-1.625-1.414-2.539-3.602-2.539-2.148 0-3.586 1.086-3.586 2.695zm8.906 0c0 1.321.813 2.11 2.485 2.477l1.562.351c.758.172 1.086.438 1.086.875 0 .571-.609.961-1.492.961-.906 0-1.461-.351-1.633-.945h-2.219c.157 1.625 1.532 2.555 3.805 2.555 2.258 0 3.797-1.11 3.797-2.813 0-1.281-.75-1.984-2.422-2.351l-1.617-.352c-.797-.18-1.164-.453-1.164-.891 0-.562.601-.945 1.414-.945.844 0 1.367.352 1.484.922h2.102c-.125-1.625-1.414-2.539-3.602-2.539-2.148 0-3.586 1.086-3.586 2.695zm11.618 6.227c1.117 0 2.054-.477 2.5-1.274h.14V192h2.203v-5.875c0-1.836-1.289-2.914-3.57-2.914-2.164 0-3.625.992-3.773 2.57h2.093c.188-.539.735-.828 1.555-.828.937 0 1.453.43 1.453 1.172v.711l-2.086.125c-2.141.125-3.336 1.031-3.336 2.586 0 1.57 1.164 2.586 2.821 2.586zm.75-1.664c-.79 0-1.344-.399-1.344-1.063 0-.633.476-1 1.453-1.062l1.742-.117v.64c0 .906-.797 1.602-1.851 1.602zm10.124 4.789c2.602 0 4.25-1.266 4.25-3.274v-8.586h-2.203v1.375h-.14c-.461-.937-1.453-1.515-2.617-1.515-2.188 0-3.532 1.703-3.532 4.367 0 2.578 1.336 4.25 3.485 4.25 1.211 0 2.117-.492 2.593-1.398h.141v1.601c0 .992-.711 1.57-1.93 1.57-.984 0-1.625-.343-1.742-.89h-2.25c.141 1.508 1.656 2.5 3.945 2.5zm.032-5.125c-1.235 0-1.938-.969-1.938-2.516 0-1.547.711-2.515 1.938-2.515 1.226 0 1.968.968 1.968 2.515 0 1.547-.734 2.516-1.968 2.516zm12.07-.563c-.242.586-.859.914-1.758.914-1.187 0-1.937-.82-1.968-2.132v-.118h5.914v-.679c0-2.719-1.5-4.344-4.04-4.344-2.562 0-4.14 1.734-4.14 4.531 0 2.781 1.547 4.438 4.172 4.438 2.109 0 3.601-1.008 3.937-2.61h-2.117zm-1.844-4.664c1.063 0 1.75.735 1.797 1.914h-3.672c.078-1.156.821-1.914 1.875-1.914zm11.102-3.508v2.18h-1.36v1.125h1.36v5.109c0 1.61.695 2.25 2.43 2.25.265 0 .523-.031.789-.078v-1.132c-.25.023-.383.031-.625.031-.875 0-1.25-.422-1.25-1.414v-4.766h1.875v-1.125h-1.875v-2.18h-1.344zm8.586 10.75c2.398 0 3.883-1.656 3.883-4.359 0-2.711-1.485-4.359-3.883-4.359-2.399 0-3.883 1.648-3.883 4.359 0 2.703 1.484 4.359 3.883 4.359zm0-1.21c-1.594 0-2.492-1.157-2.492-3.149 0-2 .898-3.148 2.492-3.148 1.594 0 2.492 1.148 2.492 3.148 0 1.992-.898 3.149-2.492 3.149zm10.312-5.055c0 1.219.719 1.898 2.297 2.281l1.445.352c.899.218 1.336.609 1.336 1.187 0 .774-.812 1.313-1.945 1.313-1.078 0-1.75-.454-1.976-1.164h-1.383c.148 1.398 1.437 2.296 3.312 2.296 1.914 0 3.375-1.039 3.375-2.546 0-1.211-.765-1.899-2.351-2.282l-1.297-.312c-.992-.242-1.461-.602-1.461-1.18 0-.75.781-1.258 1.781-1.258 1.016 0 1.672.446 1.852 1.118h1.328c-.18-1.383-1.406-2.258-3.172-2.258-1.789 0-3.141 1.054-3.141 2.453zm14.149 3.937c-.352.742-1.086 1.141-2.172 1.141-1.43 0-2.359-1.055-2.43-2.719v-.062h6.055v-.516c0-2.617-1.383-4.234-3.656-4.234-2.313 0-3.797 1.718-3.797 4.367 0 2.664 1.461 4.351 3.797 4.351 1.843 0 3.156-.89 3.546-2.328h-1.343zM332 184.617c1.336 0 2.227.985 2.258 2.477h-4.641c.102-1.492 1.039-2.477 2.383-2.477zm5.781 7.383h1.344v-4.984c0-1.477.867-2.375 2.211-2.375 1.344 0 1.984.718 1.984 2.234V192h1.344v-5.453c0-2-1.055-3.117-2.945-3.117-1.289 0-2.11.547-2.531 1.476h-.126v-1.328h-1.281V192zm12.461.148c1.164 0 2.164-.554 2.696-1.492h.124V192h1.282v-11.766H353v4.672h-.117c-.477-.922-1.469-1.476-2.641-1.476-2.14 0-3.539 1.718-3.539 4.359 0 2.649 1.383 4.359 3.539 4.359zm.313-7.507c1.523 0 2.476 1.218 2.476 3.148 0 1.945-.945 3.149-2.476 3.149-1.539 0-2.461-1.18-2.461-3.149 0-1.961.929-3.148 2.461-3.148z\\\" fill=\\\"#444\\\"/><g opacity=\\\".15\\\" stroke=\\\"#444\\\"><path d=\\\"M56 120h144\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\"/><path d=\\\"M197.507 115.38a.093.093 0 01-.003-.061.112.112 0 01.09-.073.092.092 0 01.059.017l7.752 4.651a.1.1 0 010 .171l-7.752 4.651c-.027.016-.046.018-.059.016a.097.097 0 01-.055-.024.105.105 0 01-.035-.048.093.093 0 01.003-.061l1.424-4.272c.075-.226.075-.47 0-.695l-1.424-4.272z\\\" fill=\\\"#444\\\"/><circle cx=\\\"58\\\" cy=\\\"120\\\" r=\\\"2.5\\\" fill=\\\"#444\\\"/></g><g opacity=\\\".15\\\" stroke=\\\"#444\\\"><path d=\\\"M270 120h144\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\"/><path d=\\\"M411.507 115.38a.093.093 0 01-.003-.061.112.112 0 01.09-.073.092.092 0 01.059.017l7.752 4.651a.1.1 0 010 .171l-7.752 4.651c-.027.016-.046.018-.059.016a.097.097 0 01-.055-.024.105.105 0 01-.035-.048.093.093 0 01.003-.061l1.424-4.272c.075-.226.075-.47 0-.695l-1.424-4.272z\\\" fill=\\\"#444\\\"/><circle cx=\\\"272\\\" cy=\\\"120\\\" r=\\\"2.5\\\" fill=\\\"#444\\\"/></g><path opacity=\\\".3\\\" d=\\\"M2.121 9.09V26h6.106c5.039 0 7.957-3.117 7.957-8.496 0-5.32-2.942-8.414-7.957-8.414H2.12zm2.625 2.262h3.188c3.503 0 5.578 2.285 5.578 6.187 0 3.938-2.04 6.2-5.578 6.2H4.746V11.351zM19.453 26h2.52v-7.605c0-1.793 1.347-3.024 3.258-3.024.445 0 1.195.082 1.406.14v-2.366c-.27-.06-.75-.094-1.125-.094-1.664 0-3.082.902-3.446 2.156h-.187v-1.934h-2.426V26zm13.043.21c1.676 0 3.07-.726 3.832-2.015h.2V26h2.425v-8.707c0-2.672-1.805-4.266-5.004-4.266-2.894 0-4.957 1.395-5.215 3.54h2.438c.281-.926 1.254-1.454 2.66-1.454 1.723 0 2.613.785 2.613 2.18v1.113l-3.457.211c-3.035.188-4.746 1.512-4.746 3.797 0 2.32 1.793 3.797 4.254 3.797zm.645-2.026c-1.371 0-2.368-.692-2.368-1.875 0-1.16.797-1.782 2.555-1.899l3.117-.21v1.1c0 1.641-1.406 2.884-3.304 2.884zm14.777 6.68c3.61 0 5.895-1.84 5.895-4.735V13.273h-2.415v2.028H51.2c-.715-1.383-2.25-2.25-4.008-2.25-3.257 0-5.297 2.566-5.297 6.422 0 3.82 2.016 6.34 5.274 6.34 1.758 0 3.164-.762 3.938-2.145h.187v2.45c0 1.722-1.242 2.753-3.34 2.753-1.7 0-2.766-.61-2.976-1.57h-2.579c.27 2.144 2.332 3.562 5.52 3.562zm-.035-7.137c-2.168 0-3.387-1.653-3.387-4.254 0-2.602 1.219-4.266 3.387-4.266 2.144 0 3.457 1.664 3.457 4.266 0 2.601-1.3 4.254-3.457 4.254zm19.676 2.484c1.675 0 3.07-.727 3.832-2.016h.199V26h2.426v-8.707c0-2.672-1.805-4.266-5.004-4.266-2.895 0-4.957 1.395-5.215 3.54h2.437c.282-.926 1.254-1.454 2.66-1.454 1.723 0 2.614.785 2.614 2.18v1.113l-3.457.211c-3.035.188-4.746 1.512-4.746 3.797 0 2.32 1.793 3.797 4.254 3.797zm.644-2.027c-1.371 0-2.367-.692-2.367-1.875 0-1.16.797-1.782 2.555-1.899l3.117-.21v1.1c0 1.641-1.406 2.884-3.305 2.884zM77.602 26h2.52v-7.465c0-2.05 1.183-3.316 3.046-3.316 1.863 0 2.754 1.031 2.754 3.14V26h2.52v-8.238c0-3.035-1.57-4.735-4.419-4.735-1.921 0-3.187.856-3.808 2.262h-.188v-2.016h-2.425V26zm19.054.21c1.758 0 3.246-.831 4.008-2.226h.199V26h2.414V8.281h-2.519v7.008h-.188c-.691-1.394-2.168-2.238-3.914-2.238-3.222 0-5.297 2.566-5.297 6.574 0 4.031 2.051 6.586 5.297 6.586zm.715-11.003c2.11 0 3.434 1.711 3.434 4.43 0 2.742-1.313 4.418-3.434 4.418-2.133 0-3.41-1.653-3.41-4.418 0-2.754 1.289-4.43 3.41-4.43zm20.918 11.004c1.758 0 3.246-.832 4.008-2.227h.199V26h2.414V8.281h-2.519v7.008h-.188c-.691-1.394-2.168-2.238-3.914-2.238-3.223 0-5.297 2.566-5.297 6.574 0 4.031 2.051 6.586 5.297 6.586zm.715-11.004c2.109 0 3.434 1.711 3.434 4.43 0 2.742-1.313 4.418-3.434 4.418-2.133 0-3.41-1.653-3.41-4.418 0-2.754 1.289-4.43 3.41-4.43zM128.695 26h2.52v-7.605c0-1.793 1.347-3.024 3.258-3.024.445 0 1.195.082 1.406.14v-2.366c-.27-.06-.75-.094-1.125-.094-1.664 0-3.082.902-3.445 2.156h-.188v-1.934h-2.426V26zm14.672.246c3.727 0 6.012-2.496 6.012-6.61 0-4.113-2.297-6.609-6.012-6.609-3.726 0-6.023 2.508-6.023 6.61 0 4.113 2.285 6.61 6.023 6.61zm0-2.144c-2.191 0-3.422-1.63-3.422-4.465 0-2.836 1.231-4.477 3.422-4.477 2.18 0 3.422 1.64 3.422 4.477 0 2.824-1.242 4.465-3.422 4.465zm15.668-11.051c-1.734 0-3.234.879-4.008 2.332h-.187v-2.11h-2.426v16.97h2.52v-6.165h.199c.668 1.348 2.109 2.133 3.926 2.133 3.222 0 5.273-2.555 5.273-6.574 0-4.043-2.051-6.586-5.297-6.586zm-.715 11.004c-2.109 0-3.433-1.7-3.433-4.418 0-2.73 1.324-4.43 3.445-4.43 2.133 0 3.41 1.664 3.41 4.43 0 2.765-1.277 4.418-3.422 4.418zm22.371 2.156c3.223 0 5.274-2.566 5.274-6.574 0-4.043-2.039-6.586-5.274-6.586-1.746 0-3.246.855-3.925 2.238h-.2V8.281h-2.519V26h2.426v-2.016h.187c.762 1.407 2.25 2.227 4.031 2.227zm-.726-11.004c2.133 0 3.41 1.676 3.41 4.43 0 2.754-1.277 4.418-3.41 4.418-2.121 0-3.434-1.688-3.445-4.418.011-2.73 1.335-4.43 3.445-4.43zM189.117 26h2.52V8.281h-2.52V26zm11.695.246c3.727 0 6.012-2.496 6.012-6.61 0-4.113-2.297-6.609-6.012-6.609-3.726 0-6.023 2.508-6.023 6.61 0 4.113 2.285 6.61 6.023 6.61zm0-2.144c-2.191 0-3.421-1.63-3.421-4.465 0-2.836 1.23-4.477 3.421-4.477 2.18 0 3.422 1.64 3.422 4.477 0 2.824-1.242 4.465-3.422 4.465zm19.852-6.739c-.328-2.472-2.262-4.336-5.461-4.336-3.715 0-5.976 2.52-5.976 6.563 0 4.125 2.273 6.656 5.988 6.656 3.152 0 5.121-1.77 5.449-4.277h-2.449c-.328 1.383-1.418 2.133-3.012 2.133-2.098 0-3.398-1.7-3.398-4.512 0-2.754 1.289-4.418 3.398-4.418 1.688 0 2.719.95 3.012 2.191h2.449zm5.719 1.278h-.199V8.28h-2.52V26h2.52v-4.629l1.113-1.066L231.68 26h3.093l-5.601-7.277 5.25-5.45h-2.977l-5.062 5.368zm9.926-1.805c0 1.887 1.125 2.965 3.55 3.527l2.227.528c1.277.304 1.875.82 1.875 1.617 0 1.043-1.113 1.77-2.684 1.77-1.523 0-2.461-.622-2.777-1.618h-2.52c.223 2.215 2.204 3.586 5.239 3.586 3.047 0 5.285-1.605 5.285-3.973 0-1.851-1.137-2.894-3.563-3.457l-2.121-.492c-1.382-.328-2.027-.82-2.027-1.605 0-1.032 1.066-1.723 2.473-1.723 1.429 0 2.343.621 2.578 1.57h2.414c-.246-2.203-2.121-3.539-4.992-3.539-2.883 0-4.957 1.594-4.957 3.809zM2.73 58h2.52V47.324h2.813V45.31H5.215v-1.254c0-1.29.574-1.934 1.98-1.934.399 0 .739.023.973.059V40.28a9.285 9.285 0 00-1.5-.117c-2.648 0-3.938 1.242-3.938 3.773v1.372H.633v2.015H2.73V58zm8.192 0h2.52v-7.605c0-1.793 1.347-3.024 3.257-3.024.445 0 1.195.082 1.406.14v-2.367c-.27-.058-.75-.093-1.125-.093-1.664 0-3.082.902-3.445 2.156h-.187v-1.934h-2.426V58zm14.672.246c3.726 0 6.011-2.496 6.011-6.61 0-4.113-2.296-6.609-6.011-6.609-3.727 0-6.024 2.508-6.024 6.61 0 4.113 2.285 6.61 6.024 6.61zm0-2.144c-2.192 0-3.422-1.63-3.422-4.465 0-2.836 1.23-4.477 3.422-4.477 2.18 0 3.422 1.64 3.422 4.477 0 2.824-1.243 4.465-3.422 4.465zM34.64 58h2.52v-7.816c0-1.664 1.16-2.965 2.694-2.965 1.5 0 2.461.902 2.461 2.355V58h2.473v-8.05c0-1.536 1.066-2.731 2.695-2.731 1.653 0 2.473.855 2.473 2.613V58h2.52v-8.777c0-2.649-1.5-4.196-4.079-4.196-1.77 0-3.234.903-3.879 2.274h-.199c-.562-1.371-1.77-2.274-3.515-2.274-1.7 0-2.989.844-3.551 2.274h-.188v-2.028h-2.425V58zm28.828-15.938v3.247H61.44v2.015h2.028v7.324c0 2.45 1.113 3.434 3.914 3.434a8.14 8.14 0 001.37-.129V55.95c-.35.035-.573.059-.96.059-1.254 0-1.805-.598-1.805-1.969v-6.715h2.766V45.31h-2.766v-3.246h-2.52zM71.836 58h2.52v-7.453c0-1.992 1.148-3.316 3.21-3.316 1.782 0 2.73 1.042 2.73 3.14V58h2.52v-8.227c0-3.011-1.675-4.734-4.394-4.734-1.922 0-3.27.844-3.89 2.262h-.2v-7.02h-2.496V58zm22.898-3.41c-.468 1.031-1.511 1.594-3.035 1.594-2.015 0-3.316-1.453-3.398-3.762v-.117h9.011v-.867c0-3.985-2.144-6.41-5.695-6.41-3.598 0-5.883 2.59-5.883 6.632 0 4.067 2.239 6.586 5.895 6.586 2.918 0 4.98-1.406 5.531-3.656h-2.426zm-3.128-7.512c1.863 0 3.082 1.348 3.14 3.41h-6.445c.14-2.05 1.441-3.41 3.305-3.41zm16.183-5.016v3.247h-2.027v2.015h2.027v7.324c0 2.45 1.113 3.434 3.914 3.434a8.14 8.14 0 001.371-.129V55.95c-.351.035-.574.059-.961.059-1.254 0-1.804-.598-1.804-1.969v-6.715h2.765V45.31h-2.765v-3.246h-2.52zm13.5 16.184c3.727 0 6.012-2.496 6.012-6.61 0-4.113-2.297-6.609-6.012-6.609-3.727 0-6.023 2.508-6.023 6.61 0 4.113 2.285 6.61 6.023 6.61zm0-2.144c-2.191 0-3.422-1.63-3.422-4.465 0-2.836 1.231-4.477 3.422-4.477 2.18 0 3.422 1.64 3.422 4.477 0 2.824-1.242 4.465-3.422 4.465zm14.438 2.144c3.726 0 6.011-2.496 6.011-6.61 0-4.113-2.297-6.609-6.011-6.609-3.727 0-6.024 2.508-6.024 6.61 0 4.113 2.285 6.61 6.024 6.61zm0-2.144c-2.192 0-3.422-1.63-3.422-4.465 0-2.836 1.23-4.477 3.422-4.477 2.179 0 3.421 1.64 3.421 4.477 0 2.824-1.242 4.465-3.421 4.465zM144.891 58h2.519V40.281h-2.519V58zm13.066.21c3.223 0 5.273-2.566 5.273-6.573 0-4.043-2.039-6.586-5.273-6.586-1.746 0-3.246.855-3.926 2.238h-.199v-7.008h-2.52V58h2.426v-2.016h.188c.762 1.407 2.25 2.227 4.031 2.227zm-.727-11.003c2.133 0 3.411 1.676 3.411 4.43 0 2.754-1.278 4.418-3.411 4.418-2.121 0-3.433-1.688-3.445-4.418.012-2.73 1.336-4.43 3.445-4.43zm12.563 11.004c1.676 0 3.07-.727 3.832-2.016h.199V58h2.426v-8.707c0-2.672-1.805-4.266-5.004-4.266-2.894 0-4.957 1.395-5.215 3.54h2.438c.281-.926 1.254-1.454 2.66-1.454 1.723 0 2.613.785 2.613 2.18v1.113l-3.457.211c-3.035.188-4.746 1.512-4.746 3.797 0 2.32 1.793 3.797 4.254 3.797zm.645-2.027c-1.372 0-2.368-.692-2.368-1.875 0-1.16.797-1.782 2.555-1.899l3.117-.21v1.1c0 1.641-1.406 2.884-3.304 2.884zM179.836 58h2.519v-7.605c0-1.793 1.348-3.024 3.258-3.024.446 0 1.196.082 1.407.14v-2.367c-.27-.058-.75-.093-1.125-.093-1.665 0-3.083.902-3.446 2.156h-.187v-1.934h-2.426V58z\\\" fill=\\\"#444\\\"/></svg>\",\n    \"trashcan\": \"<svg width=\\\"16\\\" height=\\\"16\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M6.4 1a.4.4 0 00-.4.4v.17c-1.467.099-2.64.279-3.178.371a.39.39 0 00-.322.387V3.6c0 .22.18.4.4.4h10.2a.4.4 0 00.4-.4V2.328a.39.39 0 00-.322-.387A32.048 32.048 0 0010 1.57V1.4a.4.4 0 00-.4-.4H6.4zM12.5 5l-.47 8.918c-.018.36-.234.674-.583.76C10.869 14.822 9.79 15 8 15c-1.79 0-2.869-.178-3.447-.322-.35-.087-.565-.4-.584-.76L3.5 5h9z\\\" fill=\\\"#222\\\"/></svg>\"\n  },\n  \"sign-in\": {\n    \"nav-primary-logotype\": \"<svg width=\\\"147\\\" height=\\\"36\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M31.605 0H4.515A4.508 4.508 0 000 4.5v27C0 33.985 2.022 36 4.515 36h27.09a4.508 4.508 0 004.515-4.5v-27c0-2.485-2.021-4.5-4.515-4.5zm-8.73 6.6c0-.662.54-1.2 1.205-1.2s1.204.538 1.204 1.2v16.033c0 .662-.54 1.2-1.204 1.2a1.203 1.203 0 01-1.204-1.2V6.6zm-6.02-.607c0-.663.54-1.2 1.205-1.2s1.205.537 1.205 1.2v17.4c0 .663-.54 1.2-1.205 1.2a1.203 1.203 0 01-1.204-1.2v-17.4zm-6.019.607c0-.662.54-1.2 1.204-1.2.665 0 1.204.538 1.204 1.2v16.033c0 .662-.539 1.2-1.204 1.2a1.203 1.203 0 01-1.204-1.2V6.6zM4.816 9c0-.663.539-1.2 1.204-1.2.665 0 1.204.537 1.204 1.2v10.793c0 .663-.54 1.2-1.204 1.2a1.202 1.202 0 01-1.204-1.2V9zm26.068 18.304c-.185.16-4.646 3.889-12.824 3.889s-12.636-3.73-12.824-3.89a1.197 1.197 0 01-.13-1.691A1.206 1.206 0 016.8 25.48c.07.059 4.053 3.313 11.259 3.313 7.296 0 11.218-3.278 11.256-3.31a1.205 1.205 0 011.697.129 1.194 1.194 0 01-.128 1.692zm.42-7.51c0 .662-.54 1.2-1.204 1.2a1.202 1.202 0 01-1.204-1.2V9c0-.663.539-1.2 1.203-1.2.665 0 1.205.537 1.205 1.2v10.793zm19.891 3.493a1.09 1.09 0 01-1.112 1.112c-.636 0-1.094-.503-1.094-1.112V12.685c0-.61.459-1.112 1.112-1.112.635 0 1.094.502 1.094 1.112v10.602zm14.263-10.602v9.688c0 1.31-.688 2.045-1.782 2.045h-.088c-1.041 0-1.536-.61-1.977-1.507l-2.224-4.396-1.977-4.538.053 4.396.017 4.897a1.09 1.09 0 01-1.112 1.112c-.635 0-1.094-.503-1.094-1.112v-9.688c0-1.203.688-2.046 1.89-2.046h.087c1.112 0 1.571.61 2.013 1.507l2.189 4.36 1.87 4.235-.052-4.055-.018-4.897c0-.61.459-1.112 1.112-1.112.635-.001 1.093.5 1.093 1.11zm8.845 10.585a1.09 1.09 0 01-1.112 1.112c-.635 0-1.094-.503-1.094-1.112v-9.598H69.36c-.565 0-1.024-.43-1.024-1.058 0-.61.46-1.04 1.024-1.04h7.678c.565 0 1.024.43 1.024 1.058 0 .61-.459 1.04-1.024 1.04h-2.736v9.598zm6.637-.36v-9.956c0-.932.512-1.452 1.448-1.417h6.355c.565 0 1.023.448 1.023 1.058 0 .61-.458 1.04-1.023 1.04H83.13v3.086h4.96c.548 0 .99.413.99 1.005a.973.973 0 01-.99 1.004h-4.96v3.552h5.614c.565 0 1.023.448 1.023 1.059 0 .61-.458 1.04-1.023 1.04h-6.408c-.917 0-1.43-.52-1.394-1.47zm20.849 1.525c.618-.323.812-.987.512-1.507l-2.206-3.982c1.818-.359 2.878-1.722 2.878-3.57 0-1.937-1.2-3.839-4.078-3.839H94.71c-.935-.035-1.447.485-1.447 1.417v10.334c0 .61.459 1.112 1.094 1.112a1.09 1.09 0 001.112-1.112l-.018-3.91h2.33l2.454 4.61c.3.52.953.753 1.553.447zm-2.843-7.086h-3.495v-3.715h3.478c1.165 0 1.818.753 1.818 1.848 0 1.095-.617 1.867-1.8 1.867zm8.58 6.081c-1.324-1.201-1.924-3.085-1.924-5.453 0-2.386.582-4.251 1.889-5.435.812-.718 1.906-1.203 3.495-1.203 1.395 0 2.472.324 3.284 1.023.706.574 1.218 1.382 1.518 2.512.159.592-.247 1.184-.917 1.31-.636.107-1.147-.305-1.342-.897-.211-.574-.495-.986-.83-1.274-.459-.413-1.023-.592-1.765-.592-.794 0-1.484.233-1.995.753-.742.753-1.06 2.1-1.06 3.803 0 1.687.3 3.032 1.078 3.785.511.52 1.183.753 1.959.753.812 0 1.429-.214 1.942-.699.264-.251.495-.574.653-.95.23-.557.706-.97 1.324-.826.617.144 1.006.753.812 1.345-.319.986-.865 1.776-1.606 2.314-.812.592-1.819.898-3.089.898-1.624 0-2.649-.485-3.426-1.166zm16.207-12.09c-3.832 0-5.456 2.619-5.456 6.637 0 4.144 1.607 6.638 5.456 6.638 3.777 0 5.437-2.494 5.437-6.638 0-4.09-1.642-6.638-5.437-6.638zm-.018 2.099c2.1 0 3.195 1.488 3.195 4.538 0 3.05-1.113 4.538-3.195 4.538-2.101 0-3.161-1.488-3.161-4.538 0-3.049 1.095-4.538 3.161-4.538zm22.578 9.831a1.09 1.09 0 01-1.112 1.112c-.636 0-1.094-.503-1.094-1.112v-4.808l.052-4.683-1.536 4.755-1.553 4.682c-.264.825-.812 1.149-1.5 1.149-.724 0-1.254-.341-1.536-1.166l-1.589-4.664-1.466-4.682.053 4.61v4.808a1.09 1.09 0 01-1.112 1.112c-.635 0-1.094-.503-1.094-1.112v-9.598c0-1.328.706-2.1 1.942-2.1 1.165 0 1.818.628 2.188 1.777l1.624 4.897.989 3.337 1.006-3.337 1.624-4.897c.371-1.149 1.007-1.776 2.172-1.776 1.236 0 1.924.753 1.924 2.1l.018 9.596z\\\" fill=\\\"#000\\\"/></svg>\"\n  },\n  \"signup-teams\": {\n    \"cart\": \"<svg width=\\\"26\\\" height=\\\"26\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M23.667 18.333h-16v-2.666m16-2.667l-16 2.667L5 5h20l-1.333 8zM9 23a1.999 1.999 0 1 1-4 0 1.999 1.999 0 1 1 4 0zm16 0a2 2 0 1 1-4 0 2 2 0 1 1 4 0zM5 5L3.667 1H1l4 4z\\\" stroke=\\\"#000\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"/></svg>\"\n  },\n  \"start\": {\n    \"import\": \"<svg viewBox=\\\"0 0 47 41\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M9.115 29.573c-.422 0-4.013-.07-6.442-2.46C1.23 25.693.5 23.773.5 21.403c0-2.47 1.1-4.78 3.015-6.34a8.217 8.217 0 0 1 5.74-1.81C10.203 6.183 16.265.793 23.5.793c5.306 0 10.224 2.99 12.705 7.67 2.653.06 5.14 1.09 7.06 2.94a10.475 10.475 0 0 1 3.235 7.61c0 9.22-9.386 10.54-9.48 10.56h-4.923a1 1 0 0 1 0-2h4.722c.76-.11 7.68-1.37 7.68-8.56 0-2.35-.934-4.54-2.626-6.17a8.482 8.482 0 0 0-6.25-2.38l-.658.03-.282-.6c-2.043-4.31-6.435-7.1-11.186-7.1-6.54 0-11.968 5.12-12.354 11.65l-.068 1.16-1.135-.24a6.168 6.168 0 0 0-5.167 1.25 6.15 6.15 0 0 0-2.277 4.79c0 1.81.53 3.25 1.576 4.28 1.94 1.92 5.023 1.89 5.06 1.89h5.742a1 1 0 0 1 0 2h-5.76\\\"/><path d=\\\"M23.5 40.183c-.553 0-1-.44-1-1v-22a1 1 0 0 1 2 0v22c0 .56-.448 1-1 1\\\"/><path d=\\\"M29.5 24.183a.978.978 0 0 1-.708-.29l-5.292-5.29-5.294 5.29a1 1 0 0 1-1.414 0 .996.996 0 0 1 0-1.41l6-6a1 1 0 0 1 1.414 0l6 6a.996.996 0 0 1-.706 1.7\\\"/></svg>\",\n    \"mailchimp\": \"<svg viewBox=\\\"0 0 73 18\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M67.497 11.236l-.01-.02-.023-.07.01-.02c.694-1.43 1.49-2.25 2.18-2.25h.008c.78.006 1.32.71 1.313 1.708-.005.668-.3 1.052-.545 1.257a1.61 1.61 0 0 1-1.024.37c-.914 0-1.54-.53-1.91-.97zm-.19 5.395a.54.54 0 0 1-.46.23c-.224 0-.392-.08-.506-.23-.32-.43-.23-1.43.3-3.254.06-.22.13-.44.2-.652l.06-.18.058.183c.608 2.104.73 3.422.36 3.913zm-22.36-9.7c.02-.45.058-.89.112-1.31.35-2.7 1.08-4.58 1.78-4.58.336.003.503.256.5.75-.01 1.22-.782 2.965-2.295 5.187l-.118.174.01-.21zm24.538 6.16h.025c1.472 0 2.51-1.02 2.52-2.48.005-.72-.204-1.38-.588-1.86-.407-.504-.977-.774-1.648-.78h-.013c-.9 0-1.74.688-2.57 2.1l-.06.11-.04-.12a69.528 69.528 0 0 0-.51-1.417 6.212 6.212 0 0 1-.12-.335c-.04-.153-.17-.248-.34-.248a.607.607 0 0 0-.323.103.375.375 0 0 0-.185.258l-.01.02c-.826 2.57-1.506 3.82-2.08 3.82a.252.252 0 0 1-.2-.082c-.15-.166-.113-.562-.06-1.112.04-.4.08-.86.063-1.34-.034-.93-.543-1.49-1.363-1.495-1.04 0-1.717 1.11-2.028 1.77l-.093.198-.02-.217c-.076-.82-.35-1.797-1.22-1.803-1.01 0-1.78 1.187-2.25 2.183l-.127.266.014-.296c.056-1.33.102-2.112.136-2.33.035-.22.016-.364-.055-.45-.07-.08-.197-.106-.384-.094-.324.02-.49.217-.74.878-.408 1.086-1.45 3.61-2.282 3.61a.497.497 0 0 1-.39-.167c-.35-.4-.21-1.48-.014-2.976l.012-.114c.09-.707-.066-.86-.45-.93a.682.682 0 0 0-.118-.01c-.306 0-.45.294-.736 1.11-.51 1.457-1.17 2.987-1.94 2.987a.476.476 0 0 1-.082-.006c-.41-.07-.4-.672-.39-1.436.008-.412.014-.88-.05-1.304-.114-.76-.562-1.23-1.17-1.24-1.21 0-2.022 1.55-2.4 2.475l-.086.21-.03-.225a21.17 21.17 0 0 1-.146-1.787V8.49l.01-.017c2.263-2.848 3.278-4.904 3.29-6.665.01-1.125-.51-1.8-1.39-1.808-.64 0-2.166.535-2.7 5.49A28.77 28.77 0 0 0 44 8.288v.02l-.01.014c-1.035 1.498-3.245 4.076-5.41 4.076-1.953 0-3.512-1.582-3.512-4.373 0-3.742 2.65-6.04 4.642-6.04h.015c.433.004.805.125 1.074.35.28.235.42.563.42.95-.01.517-.17.782-.34 1.04a3.04 3.04 0 0 0-.12.2c-.04.07-.076.172-.02.26.05.088.182.145.35.146.47 0 1.19-.68 1.2-1.72.003-1.08-.91-2.2-2.537-2.2-2.463 0-5.78 2.71-5.78 7.1 0 3.1 1.945 5.248 4.58 5.248 1.87 0 3.72-1.34 5.357-3.574l.1-.136.008.17c.036.815.096 1.46.14 1.93.027.305.05.524.046.644-.003.266.04.45.132.56.09.115.232.168.45.17.37 0 .444-.25.59-.87l.042-.177c.18-.75.85-3.198 1.857-3.198a.5.5 0 0 1 .38.145c.22.235.2.72.17 1.28-.02.35-.038.71 0 1.06.092.95.5 1.414 1.25 1.42.77 0 1.57-.828 1.993-1.597l.08-.15.03.167c.08.412.428 1.763 1.52 1.763.99 0 1.84-1.046 2.776-3.194l.12-.28-.008.304c-.02.816-.066 1.81-.066 2.58 0 .592.06.82.333.82l.062.002c.263 0 .442-.154.53-.465.703-2.443 1.31-3.582 1.91-3.582.588.005.643 1.08.69 2.98l.003.134c.016.666.04.96.45.964.316 0 .394-.248.556-.854.03-.116.065-.243.105-.38.565-1.965 1.035-2.766 1.62-2.766.5.005.53.52.54.69.02.363-.02.743-.058 1.11-.034.34-.07.694-.056 1.02.03.77.45 1.197 1.184 1.203.95 0 1.81-1.117 2.564-3.31l.052-.156.06.15c.136.345.314.812.48 1.37l.005.02-.01.02c-.725 1.618-1.24 3.42-1.25 4.384-.01 1.27.568 2.092 1.466 2.1h.016c.49 0 1.628-.197 1.65-2.01.01-.745-.166-1.797-.522-3.128l-.04-.153.13.09c.453.3.965.46 1.48.464zm-47.95-3.73c-.32 1.29-.936 2.85-2.044 2.94a.903.903 0 0 1-.09.004c-.46 0-.71-.3-.76-.894-.06-.744.26-1.614.82-2.218.356-.384.755-.596 1.127-.596h.007c.47.008.797.38.948.736l.01.017-.005.02zm10.16-7.21h.015c.105 0 .196.05.273.16.364.49.37 2.285-.256 4.327-.358 1.17-.838 2.27-1.39 3.19l-.088.148-.03-.17a18.793 18.793 0 0 1-.12-1.443c-.16-3.085.77-6.16 1.584-6.2zm-8.438 10.7c1.07-.08 1.92-1.54 2.235-2.16l.08-.16.032.178c.152.875.628 2.345 2.117 2.357h.02c.647 0 1.378-.4 2.116-1.14l.055-.06.04.068c.497.83 1.164 1.274 1.874 1.238 1.045-.053 1.68-.794 1.736-1.31a.433.433 0 0 0-.098-.337c-.095-.106-.23-.12-.33-.02l-.05.043c-.244.235-.697.67-1.19.697-.606.03-1.053-.333-1.342-1.08l-.01-.03.02-.028c1.662-2.176 2.83-5.496 2.714-7.72-.052-1.033-.35-2.26-1.48-2.26h-.082c-.43.023-.822.23-1.164.61-1.04 1.17-1.59 4.045-1.39 7.327.04.683.16 1.32.35 1.895l.01.032-.02.025c-.615.72-1.224 1.12-1.712 1.12-1.175 0-1.136-1.97-1.043-3.606.02-.353.05-.578-.052-.706-.072-.09-.2-.136-.38-.14h-.02c-.416 0-.504.088-.72.71-.443 1.29-1.322 3.455-2.21 3.455-.242-.003-.43-.087-.56-.25-.426-.548-.1-1.913.16-3.01.048-.198.094-.388.13-.563.06-.26.04-.45-.05-.562-.092-.114-.276-.16-.52-.142-.38.03-.62.19-.74.91l-.022.15-.088-.107c-.166-.245-.49-.536-1.087-.536-.053 0-.107.003-.163.007-.64.05-1.367.498-1.9 1.16a3.904 3.904 0 0 0-.836 2.766c.004.054.012.105.02.156l.004.03-.02.02c-.372.405-.75.61-1.126.61-.58-.004-.912-.435-.912-1.15 0-1.21.82-4.85.82-6.167 0-1.402-.626-2.165-1.71-2.174h-.018c-1.585 0-2.82 1.793-4 5.492-.11.336-.227.73-.328 1.066l-.165.556.05-.58a71.8 71.8 0 0 0 .22-3.725c.06-1.787-.183-2.937-.74-3.516-.3-.31-.695-.465-1.21-.47h-.02C6.6 1.82 5.673 5.09 5 7.398c-.205.695-.608 2.266-.876 3.34l.16-.258c.118-1.355.463-4.74.44-6.58-.024-1.97-.68-2.855-2.128-2.866h-.018c-.773 0-1.31.384-1.624.707-.504.52-.818 1.28-.8 1.93.01.4.254.75.44.75.12 0 .186-.16.214-.25.448-1.48 1.028-2.2 1.772-2.2.31 0 .538.093.71.277.582.625.476 2.31.284 5.366-.062.985-.132 2.1-.19 3.37-.01.22-.025.43-.037.63-.057.88-.102 1.578.233 1.63.435.068.718-.11.863-.54.215-.64.697-2.386 1.63-5.58.895-3.06 1.57-4.175 2.436-4.175.99 0 1.07 1.717.89 5.34-.04.766-.09 1.636-.14 2.582-.007.136-.01.265-.02.39-.04.783-.07 1.4.154 1.64a.38.38 0 0 0 .29.11c.434 0 .564-.38.78-1.01l.124-.355c1.483-4.094 2.58-7.647 4.055-7.647.442 0 .785.36.785 1.06 0 1.615-.79 4.737-.79 6.32 0 .567.165 1.077.474 1.435.316.37.76.565 1.28.57h.012c.492 0 1.006-.24 1.526-.71l.05-.046.04.055c.34.46.895.706 1.49.66.917-.07 1.686-.887 1.97-1.656l.057-.15.054.15c.21.57.67 1.258 1.65 1.18z\\\"/><path d=\\\"M26.673 4.632c-.41 0-.74.322-.742.718 0 .4.33.727.74.73l.008.06v-.06a.732.732 0 0 0 .736-.718.73.73 0 0 0-.73-.73m25.715 0c-.41 0-.74.322-.743.718a.73.73 0 0 0 .73.73l.008.06v-.06a.733.733 0 0 0 .738-.718.73.73 0 0 0-.73-.73\\\"/></svg>\"\n  },\n  \"stop-manually\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 48 48\\\"><path d=\\\"M28 16h4v16h-4zm-12 0h4v16h-4z\\\" class=\\\"i__svg__part o__02\\\"/><path d=\\\"M24 0C10.8 0 0 10.8 0 24s10.8 24 24 24 24-10.8 24-24S37.2 0 24 0zm0 46.1C11.8 46.1 1.9 36.2 1.9 24S11.8 1.9 24 1.9 46.1 11.8 46.1 24 36.2 46.1 24 46.1zM21 14h-6c-.5 0-1 .4-1 1v18c0 .5.4 1 1 1h6c.5 0 1-.4 1-1V15c0-.5-.4-1-1-1zm-.9 18H16V16h4.1v16zm12.8-17.9H27c-.5 0-1 .4-1 1V33c0 .5.4 1 1 1h5.9c.5 0 1-.4 1-1V15c0-.5-.4-.9-1-.9zM32 32h-4V16h4v16z\\\" class=\\\"i__svg__part o__10\\\"/></svg>\",\n  \"teams\": \"<svg viewBox=\\\"0 0 82 82\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M53.413 10.093s2.6-7.562 10.005-7.562c7.406 0 9.49 7.62 9.49 7.62l-.276 1.41-3.206.35-4.234-2.05-2.388.665-1.688.87-3.966.428-2.556-.67-1.18-1.056zM9.54 9.8s2.6-7.56 10.005-7.56c7.405 0 9.49 7.615 9.49 7.615l-.277 1.41-3.206.352-4.234-2.052-2.388.665-1.687.87-3.967.428-2.555-.67L9.54 9.8zm21.204 44.444s2.6-7.562 10.005-7.562c7.4 0 9.484 7.616 9.484 7.616l-.276 1.41-3.206.352-4.233-2.052-2.388.666-1.688.868-3.967.43-2.557-.672-1.18-1.056z\\\" fill=\\\"#E9F4FA\\\"/><path d=\\\"M13.65 22.57v4.756l-8.68 2.48c-1.806.518-3.286 2.477-3.286 4.358v1.71h18.803\\\" stroke=\\\"#0589CE\\\" stroke-width=\\\"2\\\" stroke-linejoin=\\\"round\\\"/><path d=\\\"M23.906 22.464v4.86l8.677 2.48c1.808.52 3.29 2.478 3.29 4.36v1.708H17.067\\\" stroke=\\\"#0589CE\\\" stroke-width=\\\"2\\\" stroke-linejoin=\\\"round\\\"/><path d=\\\"M29.034 12.868c0 6.175-4.595 11.183-10.256 11.183-5.665 0-10.257-5.003-10.257-11.18S13.118 1.69 18.78 1.69c5.66 0 10.257 5.006 10.257 11.183z\\\" stroke=\\\"#0589CE\\\" stroke-width=\\\"2\\\" stroke-linejoin=\\\"round\\\"/><path d=\\\"M28.928 10.908c-1.71 1.71-6.6 1.628-8.442-1.8-3.418 3.417-8.974 3.417-11.736 1.462m49.344 12v4.756l-8.68 2.48c-1.805.518-3.286 2.477-3.286 4.358v1.71h18.804\\\" stroke=\\\"#0589CE\\\" stroke-width=\\\"2\\\" stroke-linejoin=\\\"round\\\"/><path d=\\\"M68.35 22.517v4.807l8.677 2.482c1.81.516 3.29 2.475 3.29 4.355v1.71H61.512\\\" stroke=\\\"#0589CE\\\" stroke-width=\\\"2\\\" stroke-linejoin=\\\"round\\\"/><path d=\\\"M73.48 12.868c0 6.175-4.596 11.183-10.258 11.183-5.665 0-10.256-5.003-10.256-11.18s4.59-11.18 10.256-11.18c5.662 0 10.257 5.006 10.257 11.183z\\\" stroke=\\\"#0589CE\\\" stroke-width=\\\"2\\\" stroke-linejoin=\\\"round\\\"/><path d=\\\"M73.318 10.898c-1.71 1.71-6.543 1.638-8.386-1.79-3.42 3.418-8.974 3.418-11.74 1.462m-17.32 56.445v4.756l-8.68 2.48c-1.806.52-3.286 2.48-3.286 4.36v1.71H42.71\\\" stroke=\\\"#0589CE\\\" stroke-width=\\\"2\\\" stroke-linejoin=\\\"round\\\"/><path d=\\\"M46.128 67.015v4.756l8.677 2.48c1.81.52 3.29 2.48 3.29 4.36v1.71H39.29\\\" stroke=\\\"#0589CE\\\" stroke-width=\\\"2\\\" stroke-linejoin=\\\"round\\\"/><path d=\\\"M51.256 57.313c0 6.174-4.594 11.183-10.256 11.183-5.665 0-10.256-5.01-10.256-11.183 0-6.178 4.59-11.183 10.256-11.183 5.662 0 10.256 5.005 10.256 11.183z\\\" stroke=\\\"#0589CE\\\" stroke-width=\\\"2\\\" stroke-linejoin=\\\"round\\\"/><path d=\\\"M51.096 55.26c-1.71 1.71-6.544 1.72-8.386-1.71-3.42 3.42-8.975 3.42-11.74 1.467\\\" stroke=\\\"#0589CE\\\" stroke-width=\\\"2\\\" stroke-linejoin=\\\"round\\\"/><path d=\\\"M13.65 42.71l8.547 8.546M68.35 42.71l-8.547 8.546\\\" stroke=\\\"#0589CE\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"/></g></svg>\",\n  \"tours\": {\n    \"gif-picker-icon\": \"<svg width=\\\"29\\\" height=\\\"18\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M20 0H9a9 9 0 0 0 0 18h11a9 9 0 1 0 0-18zM1 9a8 8 0 0 1 8-8h11a8 8 0 1 1 0 16H9a8 8 0 0 1-8-8z\\\" fill=\\\"#ADADAD\\\"/><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M6.563 9.337c0-2.277 1.683-3.795 3.772-3.795 1.298 0 2.2.572 2.85 1.375l-.726.451c-.463-.594-1.243-1.012-2.123-1.012-1.607 0-2.828 1.232-2.828 2.981 0 1.738 1.221 2.992 2.827 2.992.88 0 1.606-.429 1.97-.792v-1.496h-2.52v-.814h3.432v2.651a3.822 3.822 0 0 1-2.882 1.265c-2.09 0-3.773-1.529-3.773-3.806zM14.703 13V5.663h.913V13h-.913zm2.628 0V5.663h4.808v.814h-3.895v2.365h3.817v.814h-3.817V13h-.913z\\\" fill=\\\"#ADADAD\\\"/></svg>\",\n    \"messenger-card-mirror\": \"<svg width=\\\"184\\\" height=\\\"26\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M.982 2.154c0-.187.262-.453.784-.798.336-.224.663-.336.98-.336.206 0 .369.051.49.154a.506.506 0 0 1 .182.406c0 .159-.042.345-.126.56a8.23 8.23 0 0 1-.35.756c-.14.29-.247.541-.322.756.271-.047.565-.154.882-.322a7.65 7.65 0 0 0 .7-.406l.728-.546c.411-.308.976-.807 1.694-1.498l.098-.098c.047-.056.08-.093.098-.112.028-.019.061-.042.098-.07A.315.315 0 0 1 7.03.544a.399.399 0 0 1 .448.112c.094.093.14.205.14.336 0 .112-.037.266-.112.462-.065.196-.163.448-.294.756l-.294.7c.215-.037.528-.2.938-.49.159-.112.294-.22.406-.322.122-.103.206-.173.252-.21a.736.736 0 0 1 .14-.112.401.401 0 0 1 .182-.042c.122 0 .224.042.308.126a.375.375 0 0 1 .126.294.487.487 0 0 1-.154.322 2.518 2.518 0 0 1-.168.154l-.224.182c-.102.075-.186.14-.252.196-.597.504-1.166.756-1.708.756-.494 0-.742-.205-.742-.616 0-.084.01-.159.028-.224.019-.075.042-.159.07-.252.028-.093.052-.173.07-.238-.102.084-.303.252-.602.504-.298.243-.56.439-.784.588-.354.233-.625.406-.812.518a4.452 4.452 0 0 1-.686.308c-.28.103-.55.154-.812.154-.261 0-.457-.06-.588-.182a.56.56 0 0 1-.196-.448c0-.159.042-.355.126-.588.094-.233.21-.495.35-.784a8.6 8.6 0 0 0 .266-.56 2.521 2.521 0 0 0-.392.224 11.24 11.24 0 0 0-.21.154 2.835 2.835 0 0 0-.154.14.489.489 0 0 1-.126.084.452.452 0 0 1-.168.028.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294zm14.288 0c0-.065.009-.117.027-.154a.39.39 0 0 1 .085-.14.72.72 0 0 1 .154-.14 3.39 3.39 0 0 1 .266-.224c.13-.112.256-.224.378-.336.709-.644 1.306-.966 1.791-.966a.82.82 0 0 1 .56.196c.16.121.239.28.239.476 0 .15-.033.299-.098.448-.066.14-.169.308-.309.504-.14.196-.238.34-.293.434.26-.084.513-.173.756-.266.242-.103.41-.168.503-.196a.798.798 0 0 1 .267-.056c.102 0 .195.042.28.126a.403.403 0 0 1 .125.294c0 .224-.19.392-.574.504-.168.047-.405.13-.713.252a10.106 10.106 0 0 1-.813.294 5.75 5.75 0 0 1-.195.07.87.87 0 0 1-.168.014.533.533 0 0 1-.407-.182.6.6 0 0 1-.168-.42c0-.112.028-.238.084-.378.066-.15.131-.275.197-.378.074-.112.177-.261.308-.448.13-.187.224-.327.28-.42-.187.028-.49.22-.91.574-.178.15-.35.299-.518.448-.16.15-.271.252-.337.308a1.263 1.263 0 0 1-.181.126.392.392 0 0 1-.196.056.397.397 0 0 1-.294-.112.419.419 0 0 1-.127-.308zm3.896 0c0-.187.261-.453.784-.798.336-.224.663-.336.98-.336.205 0 .369.051.49.154a.506.506 0 0 1 .182.406c0 .159-.042.345-.126.56-.084.215-.2.467-.35.756-.14.29-.247.541-.322.756.27-.047.565-.154.882-.322.317-.168.55-.303.7-.406l.728-.546c.41-.308.975-.807 1.694-1.498l.098-.098a2.03 2.03 0 0 1 .098-.112l.098-.07a.316.316 0 0 1 .112-.056.399.399 0 0 1 .448.112c.093.093.14.205.14.336 0 .112-.037.266-.112.462-.065.196-.163.448-.294.756-.13.308-.229.541-.294.7.215-.037.527-.2.938-.49.159-.112.294-.22.406-.322.121-.103.205-.173.252-.21a.74.74 0 0 1 .14-.112.401.401 0 0 1 .182-.042c.121 0 .224.042.308.126a.375.375 0 0 1 .126.294.486.486 0 0 1-.154.322 2.518 2.518 0 0 1-.168.154l-.224.182c-.103.075-.187.14-.252.196-.597.504-1.167.756-1.708.756-.495 0-.742-.205-.742-.616a.82.82 0 0 1 .028-.224 5.73 5.73 0 0 1 .07-.252l.07-.238c-.103.084-.303.252-.602.504-.299.243-.56.439-.784.588-.355.233-.625.406-.812.518a4.45 4.45 0 0 1-.686.308c-.28.103-.55.154-.812.154-.261 0-.457-.06-.588-.182a.56.56 0 0 1-.196-.448c0-.159.042-.355.126-.588.093-.233.21-.495.35-.784.15-.299.238-.485.266-.56a2.526 2.526 0 0 0-.392.224l-.21.154a2.87 2.87 0 0 0-.154.14.489.489 0 0 1-.126.084.452.452 0 0 1-.168.028.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294zm7.479 0c0-.205.102-.34.308-.406.298-.103.653-.233 1.064-.392.42-.168.737-.29.951-.364.28-.093.425-.14.434-.14.113 0 .21.042.294.126a.36.36 0 0 1 .127.28c0 .056-.043.21-.127.462-.074.243-.172.555-.294.938-.12.373-.219.7-.294.98.364-.13.682-.27.953-.42a18.953 18.953 0 0 0 1.848-1.176c.289-.205.494-.308.616-.308a.36.36 0 0 1 .28.126.429.429 0 0 1 .098.406c0 .028-.01.056-.029.084a.673.673 0 0 0-.041.07.867.867 0 0 1-.07.056.302.302 0 0 1-.07.056.605.605 0 0 1-.084.056.59.59 0 0 0-.084.056 7.89 7.89 0 0 0-.42.28c-.187.121-.318.21-.392.266l-.337.21c-.149.093-.27.168-.364.224l-.35.21c-.13.075-.265.15-.405.224l-.42.21a2.21 2.21 0 0 1-.994.252c-.43 0-.645-.182-.645-.546 0-.13.02-.285.056-.462.047-.187.127-.462.238-.826.122-.364.197-.597.224-.7-.158.056-.378.14-.658.252-.27.103-.494.187-.671.252a1.435 1.435 0 0 1-.323.084.397.397 0 0 1-.294-.112.419.419 0 0 1-.125-.308zm12.263 0c0-.15.07-.261.21-.336.13-.084.476-.229 1.036-.434.317-.112.579-.205.784-.28 1.438-.541 2.189-.812 2.254-.812.13 0 .238.051.322.154.084.093.126.21.126.35 0 .159-.023.322-.07.49-.037.159-.093.35-.168.574a26.13 26.13 0 0 0-.154.546c.178-.075.388-.173.63-.294a7.17 7.17 0 0 1 .588-.28.954.954 0 0 1 .35-.098c.103 0 .191.042.266.126a.397.397 0 0 1 .112.294c0 .065-.01.121-.028.168a.315.315 0 0 1-.056.112.604.604 0 0 1-.168.098 5.772 5.772 0 0 1-.238.112l-.364.182c-.168.075-.336.154-.504.238-.205.103-.401.205-.588.308l-.378.21-.196.084a.529.529 0 0 1-.168.028.429.429 0 0 1-.294-.112.429.429 0 0 1-.112-.294c0-.047.028-.173.084-.378l.252-.784c.112-.327.196-.583.252-.77-.187.075-.434.168-.742.28-.308.112-.555.2-.742.266-1.223.448-1.848.672-1.876.672a.398.398 0 0 1-.294-.112.419.419 0 0 1-.126-.308zm5.483 0c0-.15.07-.261.21-.336.13-.084.476-.229 1.035-.434.318-.112.58-.205.784-.28 1.438-.541 2.19-.812 2.255-.812.13 0 .238.051.322.154.084.093.126.21.126.35 0 .159-.024.322-.07.49-.038.159-.094.35-.168.574a26.13 26.13 0 0 0-.154.546c.177-.075.387-.173.63-.294a7.17 7.17 0 0 1 .588-.28.954.954 0 0 1 .35-.098c.102 0 .19.042.266.126a.397.397 0 0 1 .111.294c0 .065-.009.121-.028.168a.315.315 0 0 1-.056.112.604.604 0 0 1-.167.098 5.772 5.772 0 0 1-.238.112l-.364.182c-.169.075-.337.154-.505.238-.205.103-.4.205-.587.308l-.379.21-.195.084a.529.529 0 0 1-.168.028.429.429 0 0 1-.294-.112.429.429 0 0 1-.112-.294c0-.047.028-.173.084-.378.065-.205.149-.467.252-.784.112-.327.196-.583.252-.77-.187.075-.434.168-.742.28-.309.112-.556.2-.742.266-1.223.448-1.848.672-1.877.672a.398.398 0 0 1-.294-.112.419.419 0 0 1-.125-.308zM54.829.488c.457 0 .817.051 1.078.154.261.103.392.303.392.602 0 .159-.033.308-.098.448-.056.13-.14.29-.252.476a4.076 4.076 0 0 0-.252.448c.336-.084.728-.2 1.176-.35.448-.15.817-.275 1.106-.378.299-.103.471-.154.518-.154.13 0 .233.042.308.126a.447.447 0 0 1 .112.308c0 .187-.14.331-.42.434-1.81.644-2.912.966-3.304.966a.553.553 0 0 1-.406-.168.537.537 0 0 1-.168-.392c0-.13.042-.28.126-.448.084-.168.196-.369.336-.602.15-.233.261-.425.336-.574a6.116 6.116 0 0 0-.588-.056c-.457 0-1.097.103-1.918.308a3.256 3.256 0 0 0-.504.14c-.15.047-.327.112-.532.196-.196.075-.36.135-.49.182a7.55 7.55 0 0 0-.364.154c-.168.075-.317.14-.448.196a.98.98 0 0 1-.28.07.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294c0-.121.033-.21.098-.266a.762.762 0 0 1 .28-.182A21.532 21.532 0 0 1 53.429.642a5.79 5.79 0 0 1 1.4-.154zm3.247 1.666c0-.187.261-.453.784-.798.336-.224.663-.336.98-.336.205 0 .369.051.49.154a.506.506 0 0 1 .182.406c0 .159-.042.345-.126.56-.084.215-.2.467-.35.756-.14.29-.247.541-.322.756.27-.047.565-.154.882-.322.317-.168.55-.303.7-.406l.728-.546c.41-.308.975-.807 1.694-1.498l.098-.098c.047-.056.08-.093.098-.112l.098-.07a.315.315 0 0 1 .112-.056.399.399 0 0 1 .448.112c.093.093.14.205.14.336 0 .112-.037.266-.112.462-.065.196-.163.448-.294.756-.13.308-.229.541-.294.7.215-.037.527-.2.938-.49.159-.112.294-.22.406-.322.121-.103.205-.173.252-.21a.736.736 0 0 1 .14-.112.401.401 0 0 1 .182-.042c.121 0 .224.042.308.126a.375.375 0 0 1 .126.294.488.488 0 0 1-.154.322 2.518 2.518 0 0 1-.168.154l-.224.182a4.09 4.09 0 0 0-.252.196c-.597.504-1.167.756-1.708.756-.495 0-.742-.205-.742-.616 0-.084.01-.159.028-.224a5.73 5.73 0 0 1 .07-.252l.07-.238a64.42 64.42 0 0 0-.602.504c-.299.243-.56.439-.784.588-.355.233-.625.406-.812.518a4.45 4.45 0 0 1-.686.308c-.28.103-.55.154-.812.154-.261 0-.457-.06-.588-.182a.56.56 0 0 1-.196-.448c0-.159.042-.355.126-.588.093-.233.21-.495.35-.784.15-.299.238-.485.266-.56a2.52 2.52 0 0 0-.392.224l-.21.154a2.832 2.832 0 0 0-.154.14.489.489 0 0 1-.126.084.453.453 0 0 1-.168.028.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294zm14.287 0c0-.187.261-.453.784-.798.336-.224.663-.336.98-.336.206 0 .369.051.49.154a.506.506 0 0 1 .182.406c0 .159-.042.345-.126.56-.084.215-.2.467-.35.756-.14.29-.247.541-.322.756.27-.047.565-.154.882-.322.318-.168.55-.303.7-.406l.728-.546c.41-.308.975-.807 1.694-1.498l.098-.098c.047-.056.08-.093.098-.112L78.3.6a.315.315 0 0 1 .112-.056.399.399 0 0 1 .448.112c.093.093.14.205.14.336 0 .112-.037.266-.112.462-.065.196-.163.448-.294.756l-.294.7c.215-.037.527-.2.938-.49.159-.112.294-.22.406-.322.121-.103.206-.173.252-.21a.736.736 0 0 1 .14-.112.401.401 0 0 1 .182-.042c.121 0 .224.042.308.126a.375.375 0 0 1 .126.294.488.488 0 0 1-.154.322 2.518 2.518 0 0 1-.168.154l-.224.182a4.09 4.09 0 0 0-.252.196c-.597.504-1.166.756-1.708.756-.495 0-.742-.205-.742-.616 0-.084.01-.159.028-.224a5.73 5.73 0 0 1 .07-.252l.07-.238a64.42 64.42 0 0 0-.602.504c-.298.243-.56.439-.784.588-.355.233-.625.406-.812.518a4.45 4.45 0 0 1-.686.308c-.28.103-.55.154-.812.154-.261 0-.457-.06-.588-.182a.56.56 0 0 1-.196-.448c0-.159.042-.355.126-.588.094-.233.21-.495.35-.784.15-.299.238-.485.266-.56a2.52 2.52 0 0 0-.392.224l-.21.154a2.832 2.832 0 0 0-.154.14.489.489 0 0 1-.126.084.453.453 0 0 1-.168.028.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294zm7.479 0c0-.187.261-.453.784-.798.336-.224.662-.336.98-.336.205 0 .368.051.49.154a.506.506 0 0 1 .182.406c0 .159-.042.345-.126.56-.084.215-.2.467-.35.756-.14.29-.248.541-.322.756.27-.047.564-.154.882-.322.317-.168.55-.303.7-.406l.728-.546c.41-.308.975-.807 1.694-1.498l.098-.098A2.03 2.03 0 0 1 85.68.67l.098-.07a.316.316 0 0 1 .112-.056.399.399 0 0 1 .448.112c.093.093.14.205.14.336 0 .112-.038.266-.112.462-.066.196-.164.448-.294.756-.13.308-.229.541-.294.7.214-.037.527-.2.938-.49.158-.112.294-.22.406-.322.121-.103.205-.173.252-.21a.74.74 0 0 1 .14-.112.401.401 0 0 1 .182-.042c.121 0 .224.042.308.126a.375.375 0 0 1 .126.294.486.486 0 0 1-.154.322 2.518 2.518 0 0 1-.168.154l-.224.182c-.103.075-.187.14-.252.196-.598.504-1.167.756-1.708.756-.495 0-.742-.205-.742-.616a.82.82 0 0 1 .028-.224 5.73 5.73 0 0 1 .07-.252l.07-.238c-.103.084-.304.252-.602.504-.299.243-.56.439-.784.588-.355.233-.626.406-.812.518a4.45 4.45 0 0 1-.686.308c-.28.103-.55.154-.812.154s-.458-.06-.588-.182a.56.56 0 0 1-.196-.448c0-.159.042-.355.126-.588.093-.233.21-.495.35-.784.15-.299.238-.485.266-.56a2.526 2.526 0 0 0-.392.224c-.066.047-.136.098-.21.154a2.87 2.87 0 0 0-.154.14.489.489 0 0 1-.126.084.452.452 0 0 1-.168.028.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294zM92.276.488c.458 0 .817.051 1.078.154.262.103.392.303.392.602 0 .159-.032.308-.098.448-.056.13-.14.29-.252.476a4.076 4.076 0 0 0-.252.448c.336-.084.728-.2 1.176-.35.448-.15.817-.275 1.106-.378.299-.103.472-.154.518-.154a.39.39 0 0 1 .308.126.447.447 0 0 1 .112.308c0 .187-.14.331-.42.434-1.81.644-2.912.966-3.304.966a.553.553 0 0 1-.406-.168.537.537 0 0 1-.168-.392c0-.13.042-.28.126-.448.084-.168.196-.369.336-.602a6.57 6.57 0 0 0 .336-.574 6.11 6.11 0 0 0-.588-.056c-.457 0-1.096.103-1.918.308a3.263 3.263 0 0 0-.504.14 6.8 6.8 0 0 0-.532.196c-.196.075-.36.135-.49.182-.074.028-.196.08-.364.154-.168.075-.317.14-.448.196a.98.98 0 0 1-.28.07.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294c0-.121.033-.21.098-.266a.763.763 0 0 1 .28-.182A21.536 21.536 0 0 1 90.876.642a5.79 5.79 0 0 1 1.4-.154zm3.247 1.666c0-.187.262-.453.784-.798.336-.224.663-.336.98-.336.206 0 .369.051.49.154a.506.506 0 0 1 .182.406c0 .159-.042.345-.126.56-.084.215-.2.467-.35.756-.14.29-.247.541-.322.756.271-.047.565-.154.882-.322.318-.168.551-.303.7-.406l.728-.546c.411-.308.976-.807 1.694-1.498l.098-.098c.047-.056.08-.093.098-.112.028-.019.061-.042.098-.07a.324.324 0 0 1 .112-.056.398.398 0 0 1 .448.112c.094.093.14.205.14.336 0 .112-.037.266-.112.462-.065.196-.163.448-.294.756l-.294.7c.215-.037.528-.2.938-.49.159-.112.294-.22.406-.322.122-.103.206-.173.252-.21a.768.768 0 0 1 .14-.112.402.402 0 0 1 .182-.042c.122 0 .224.042.308.126a.375.375 0 0 1 .126.294.477.477 0 0 1-.154.322 2.518 2.518 0 0 1-.168.154l-.224.182a4.57 4.57 0 0 0-.252.196c-.597.504-1.166.756-1.708.756-.494 0-.742-.205-.742-.616 0-.084.01-.159.028-.224a6.18 6.18 0 0 1 .07-.252c.028-.093.052-.173.07-.238-.102.084-.303.252-.602.504-.298.243-.56.439-.784.588a25.35 25.35 0 0 1-.812.518 4.455 4.455 0 0 1-.686.308c-.28.103-.55.154-.812.154-.261 0-.457-.06-.588-.182a.56.56 0 0 1-.196-.448c0-.159.042-.355.126-.588.094-.233.21-.495.35-.784.15-.299.238-.485.266-.56a2.516 2.516 0 0 0-.392.224l-.21.154a2.794 2.794 0 0 0-.154.14.489.489 0 0 1-.126.084.453.453 0 0 1-.168.028.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294zm7.479 0c0-.065.009-.117.028-.154a.38.38 0 0 1 .084-.14.73.73 0 0 1 .154-.14c.047-.047.135-.121.266-.224.131-.112.257-.224.378-.336.709-.644 1.307-.966 1.792-.966a.82.82 0 0 1 .56.196.57.57 0 0 1 .238.476c0 .15-.033.299-.098.448-.065.14-.168.308-.308.504-.14.196-.238.34-.294.434.261-.084.513-.173.756-.266.243-.103.411-.168.504-.196a.799.799 0 0 1 .266-.056c.103 0 .196.042.28.126a.403.403 0 0 1 .126.294c0 .224-.191.392-.574.504-.168.047-.406.13-.714.252a10.189 10.189 0 0 1-.812.294c-.075.028-.14.051-.196.07a.875.875 0 0 1-.168.014.532.532 0 0 1-.406-.182.6.6 0 0 1-.168-.42c0-.112.028-.238.084-.378.065-.15.131-.275.196-.378.075-.112.177-.261.308-.448s.224-.327.28-.42c-.187.028-.49.22-.91.574-.177.15-.35.299-.518.448-.159.15-.271.252-.336.308a1.28 1.28 0 0 1-.182.126.392.392 0 0 1-.196.056.399.399 0 0 1-.294-.112.419.419 0 0 1-.126-.308zm3.896 0c0-.15.07-.261.21-.336.131-.084.476-.229 1.036-.434.318-.112.579-.205.784-.28 1.438-.541 2.189-.812 2.254-.812.131 0 .238.051.322.154.084.093.126.21.126.35 0 .159-.023.322-.07.49a6.53 6.53 0 0 1-.168.574 33.24 33.24 0 0 0-.154.546c.178-.075.388-.173.63-.294a7.17 7.17 0 0 1 .588-.28.957.957 0 0 1 .35-.098c.103 0 .192.042.266.126a.396.396 0 0 1 .112.294.445.445 0 0 1-.028.168.31.31 0 0 1-.056.112.604.604 0 0 1-.168.098 5.425 5.425 0 0 1-.238.112l-.364.182c-.168.075-.336.154-.504.238-.205.103-.401.205-.588.308l-.378.21-.196.084a.529.529 0 0 1-.168.028.429.429 0 0 1-.294-.112.432.432 0 0 1-.112-.294c0-.047.028-.173.084-.378l.252-.784c.112-.327.196-.583.252-.77-.186.075-.434.168-.742.28-.308.112-.555.2-.742.266-1.222.448-1.848.672-1.876.672a.399.399 0 0 1-.294-.112.419.419 0 0 1-.126-.308zM117.337.488c.457 0 .816.051 1.078.154.261.103.392.303.392.602 0 .159-.033.308-.098.448-.056.13-.14.29-.252.476a4.076 4.076 0 0 0-.252.448c.336-.084.728-.2 1.176-.35.448-.15.816-.275 1.106-.378.298-.103.471-.154.518-.154.13 0 .233.042.308.126a.45.45 0 0 1 .112.308c0 .187-.14.331-.42.434-1.811.644-2.912.966-3.304.966a.553.553 0 0 1-.406-.168.537.537 0 0 1-.168-.392c0-.13.042-.28.126-.448.084-.168.196-.369.336-.602.149-.233.261-.425.336-.574a6.133 6.133 0 0 0-.588-.056c-.458 0-1.097.103-1.918.308a3.238 3.238 0 0 0-.504.14c-.15.047-.327.112-.532.196-.196.075-.36.135-.49.182-.075.028-.196.08-.364.154-.168.075-.318.14-.448.196a.982.982 0 0 1-.28.07.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294c0-.121.032-.21.098-.266a.76.76 0 0 1 .28-.182 21.52 21.52 0 0 1 3.178-1.064c.41-.103.877-.154 1.4-.154zm10.055 1.666c0-.205.103-.34.308-.406.299-.103.654-.233 1.065-.392.42-.168.737-.29.952-.364.28-.093.424-.14.434-.14.112 0 .21.042.294.126a.36.36 0 0 1 .126.28c0 .056-.042.21-.126.462-.075.243-.173.555-.294.938-.122.373-.22.7-.294.98.364-.13.681-.27.952-.42a19.099 19.099 0 0 0 1.848-1.176c.289-.205.494-.308.616-.308a.36.36 0 0 1 .28.126.432.432 0 0 1 .098.406c0 .028-.01.056-.028.084a.58.58 0 0 0-.042.07c-.01.01-.033.028-.07.056a.315.315 0 0 1-.07.056.698.698 0 0 1-.084.056.554.554 0 0 0-.084.056 7.42 7.42 0 0 0-.42.28 7.63 7.63 0 0 0-.392.266l-.336.21c-.15.093-.271.168-.364.224l-.351.21c-.13.075-.265.15-.405.224l-.42.21a2.212 2.212 0 0 1-.994.252c-.43 0-.644-.182-.644-.546 0-.13.018-.285.056-.462.046-.187.126-.462.238-.826.121-.364.196-.597.224-.7-.159.056-.378.14-.658.252-.271.103-.495.187-.672.252a1.433 1.433 0 0 1-.323.084.399.399 0 0 1-.294-.112.419.419 0 0 1-.126-.308zm5.456 0c0-.065.009-.117.028-.154a.38.38 0 0 1 .084-.14.707.707 0 0 1 .154-.14c.046-.047.135-.121.266-.224.13-.112.256-.224.378-.336.709-.644 1.306-.966 1.792-.966a.82.82 0 0 1 .56.196c.158.121.238.28.238.476 0 .15-.033.299-.098.448-.066.14-.168.308-.308.504-.14.196-.238.34-.294.434.261-.084.513-.173.756-.266.242-.103.41-.168.504-.196a.794.794 0 0 1 .266-.056.39.39 0 0 1 .28.126.403.403 0 0 1 .126.294c0 .224-.192.392-.574.504-.168.047-.406.13-.714.252a10.189 10.189 0 0 1-.812.294c-.075.028-.14.051-.196.07a.875.875 0 0 1-.168.014.532.532 0 0 1-.406-.182.6.6 0 0 1-.168-.42c0-.112.028-.238.084-.378.065-.15.13-.275.196-.378.074-.112.177-.261.308-.448.13-.187.224-.327.28-.42-.187.028-.49.22-.91.574-.178.15-.35.299-.518.448-.159.15-.271.252-.336.308a1.28 1.28 0 0 1-.182.126.395.395 0 0 1-.196.056.395.395 0 0 1-.294-.112.419.419 0 0 1-.126-.308zm3.896 0c0-.15.07-.261.21-.336.131-.084.476-.229 1.036-.434.317-.112.579-.205.784-.28 1.437-.541 2.189-.812 2.254-.812.131 0 .238.051.322.154.084.093.126.21.126.35 0 .159-.023.322-.07.49a6.53 6.53 0 0 1-.168.574c-.065.224-.117.406-.154.546.177-.075.387-.173.63-.294a7.17 7.17 0 0 1 .588-.28.952.952 0 0 1 .35-.098c.103 0 .191.042.266.126a.396.396 0 0 1 .112.294.445.445 0 0 1-.028.168.31.31 0 0 1-.056.112.604.604 0 0 1-.168.098 6.03 6.03 0 0 1-.238.112l-.364.182c-.168.075-.336.154-.504.238-.205.103-.401.205-.588.308a27.34 27.34 0 0 0-.378.21l-.196.084a.529.529 0 0 1-.168.028.429.429 0 0 1-.294-.112.427.427 0 0 1-.112-.294c0-.047.028-.173.084-.378.065-.205.149-.467.252-.784.112-.327.196-.583.252-.77-.187.075-.434.168-.742.28-.308.112-.555.2-.742.266-1.223.448-1.848.672-1.876.672a.399.399 0 0 1-.294-.112.419.419 0 0 1-.126-.308zm5.482 0c0-.15.07-.261.21-.336.131-.084.476-.229 1.036-.434.318-.112.579-.205.784-.28 1.438-.541 2.189-.812 2.254-.812.131 0 .238.051.322.154.084.093.126.21.126.35 0 .159-.023.322-.07.49a6.53 6.53 0 0 1-.168.574 33.24 33.24 0 0 0-.154.546c.178-.075.388-.173.63-.294a7.17 7.17 0 0 1 .588-.28.957.957 0 0 1 .35-.098c.103 0 .192.042.266.126a.396.396 0 0 1 .112.294.445.445 0 0 1-.028.168.31.31 0 0 1-.056.112.604.604 0 0 1-.168.098 5.425 5.425 0 0 1-.238.112l-.364.182c-.168.075-.336.154-.504.238-.205.103-.401.205-.588.308l-.378.21-.196.084a.529.529 0 0 1-.168.028.429.429 0 0 1-.294-.112.432.432 0 0 1-.112-.294c0-.047.028-.173.084-.378l.252-.784c.112-.327.196-.583.252-.77-.186.075-.434.168-.742.28-.308.112-.555.2-.742.266-1.222.448-1.848.672-1.876.672a.399.399 0 0 1-.294-.112.419.419 0 0 1-.126-.308zm12.291 0c0-.065.01-.117.028-.154a.411.411 0 0 1 .084-.14.73.73 0 0 1 .154-.14c.047-.047.136-.121.267-.224.13-.112.256-.224.378-.336.709-.644 1.306-.966 1.792-.966a.82.82 0 0 1 .56.196c.158.121.238.28.238.476 0 .15-.033.299-.098.448-.066.14-.168.308-.308.504-.14.196-.238.34-.294.434.261-.084.513-.173.756-.266.242-.103.41-.168.504-.196a.794.794 0 0 1 .266-.056.39.39 0 0 1 .28.126.403.403 0 0 1 .126.294c0 .224-.192.392-.574.504-.168.047-.406.13-.714.252a10.189 10.189 0 0 1-.812.294c-.075.028-.14.051-.196.07a.878.878 0 0 1-.169.014.532.532 0 0 1-.405-.182.6.6 0 0 1-.168-.42c0-.112.028-.238.084-.378.065-.15.13-.275.196-.378.074-.112.177-.261.308-.448.13-.187.224-.327.28-.42-.187.028-.49.22-.91.574-.178.15-.35.299-.518.448-.159.15-.271.252-.336.308a1.28 1.28 0 0 1-.182.126.395.395 0 0 1-.196.056.4.4 0 0 1-.295-.112.419.419 0 0 1-.126-.308zm3.897 0c0-.187.261-.453.784-.798.336-.224.663-.336.98-.336.205 0 .369.051.49.154a.507.507 0 0 1 .182.406c0 .159-.042.345-.126.56a8.323 8.323 0 0 1-.35.756 7.32 7.32 0 0 0-.322.756c.271-.047.565-.154.882-.322.317-.168.551-.303.7-.406l.728-.546c.411-.308.975-.807 1.694-1.498l.098-.098c.047-.056.079-.093.098-.112.028-.019.061-.042.098-.07a.315.315 0 0 1 .112-.056.4.4 0 0 1 .448.112.46.46 0 0 1 .14.336c0 .112-.037.266-.112.462-.065.196-.163.448-.294.756a61.86 61.86 0 0 0-.294.7c.215-.037.527-.2.938-.49.159-.112.294-.22.406-.322.121-.103.205-.173.252-.21a.736.736 0 0 1 .14-.112.402.402 0 0 1 .182-.042.42.42 0 0 1 .308.126.375.375 0 0 1 .126.294.493.493 0 0 1-.154.322 2.518 2.518 0 0 1-.168.154l-.224.182c-.103.075-.187.14-.252.196-.597.504-1.167.756-1.708.756-.495 0-.742-.205-.742-.616 0-.084.009-.159.028-.224a6.18 6.18 0 0 1 .07-.252l.07-.238a64.42 64.42 0 0 0-.602.504c-.299.243-.56.439-.784.588-.355.233-.625.406-.812.518a4.438 4.438 0 0 1-.686.308c-.28.103-.551.154-.812.154s-.457-.06-.588-.182a.56.56 0 0 1-.196-.448c0-.159.042-.355.126-.588.093-.233.21-.495.35-.784.149-.299.238-.485.266-.56a2.52 2.52 0 0 0-.392.224l-.21.154a2.832 2.832 0 0 0-.154.14.489.489 0 0 1-.126.084.455.455 0 0 1-.168.028.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294zm7.478 0c0-.15.07-.261.21-.336.131-.084.477-.229 1.037-.434.317-.112.578-.205.784-.28 1.437-.541 2.188-.812 2.254-.812.13 0 .238.051.322.154.084.093.126.21.126.35 0 .159-.024.322-.07.49-.038.159-.094.35-.168.574-.066.224-.117.406-.154.546.177-.075.387-.173.63-.294a7.17 7.17 0 0 1 .588-.28.952.952 0 0 1 .35-.098c.102 0 .191.042.266.126a.4.4 0 0 1 .112.294c0 .065-.01.121-.028.168a.327.327 0 0 1-.056.112.604.604 0 0 1-.168.098 6.03 6.03 0 0 1-.238.112l-.364.182a15.807 15.807 0 0 0-1.092.546 27.34 27.34 0 0 0-.378.21l-.196.084a.529.529 0 0 1-.168.028.429.429 0 0 1-.294-.112.427.427 0 0 1-.112-.294c0-.047.028-.173.084-.378.065-.205.149-.467.252-.784.112-.327.196-.583.252-.77-.187.075-.434.168-.742.28-.308.112-.556.2-.742.266-1.223.448-1.848.672-1.877.672a.399.399 0 0 1-.294-.112.419.419 0 0 1-.126-.308zM176.331.488c.457 0 .817.051 1.078.154.261.103.392.303.392.602 0 .159-.033.308-.098.448-.056.13-.14.29-.252.476a4.076 4.076 0 0 0-.252.448c.336-.084.728-.2 1.176-.35.448-.15.817-.275 1.106-.378.299-.103.471-.154.518-.154a.39.39 0 0 1 .308.126.446.446 0 0 1 .112.308c0 .187-.14.331-.42.434-1.811.644-2.912.966-3.304.966a.553.553 0 0 1-.406-.168.537.537 0 0 1-.168-.392c0-.13.042-.28.126-.448.084-.168.196-.369.336-.602.149-.233.261-.425.336-.574a6.133 6.133 0 0 0-.588-.056c-.457 0-1.097.103-1.918.308a3.238 3.238 0 0 0-.504.14 6.786 6.786 0 0 0-.532.196c-.196.075-.359.135-.49.182-.075.028-.196.08-.364.154-.168.075-.317.14-.448.196a.982.982 0 0 1-.28.07.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294c0-.121.033-.21.098-.266a.76.76 0 0 1 .28-.182 21.52 21.52 0 0 1 3.178-1.064 5.79 5.79 0 0 1 1.4-.154zM.982 23.154A.35.35 0 0 1 1.01 23a.391.391 0 0 1 .084-.14.721.721 0 0 1 .154-.14c.047-.047.136-.121.266-.224.131-.112.257-.224.378-.336.71-.644 1.307-.966 1.792-.966a.82.82 0 0 1 .56.196c.159.121.238.28.238.476 0 .15-.032.299-.098.448-.065.14-.168.308-.308.504-.14.196-.238.34-.294.434a14.3 14.3 0 0 0 .756-.266 5.96 5.96 0 0 1 .504-.196.8.8 0 0 1 .266-.056c.103 0 .196.042.28.126a.403.403 0 0 1 .126.294c0 .224-.191.392-.574.504-.168.047-.406.13-.714.252a10.118 10.118 0 0 1-.812.294c-.074.028-.14.051-.196.07a.872.872 0 0 1-.168.014.533.533 0 0 1-.406-.182.6.6 0 0 1-.168-.42c0-.112.028-.238.084-.378.066-.15.131-.275.196-.378.075-.112.178-.261.308-.448.131-.187.224-.327.28-.42-.186.028-.49.22-.91.574-.177.15-.35.299-.518.448-.158.15-.27.252-.336.308a1.254 1.254 0 0 1-.182.126.392.392 0 0 1-.196.056.397.397 0 0 1-.294-.112.419.419 0 0 1-.126-.308zm3.897 0c0-.187.261-.453.784-.798.336-.224.662-.336.98-.336.205 0 .368.051.49.154a.506.506 0 0 1 .182.406c0 .159-.042.345-.126.56-.084.215-.2.467-.35.756a7.24 7.24 0 0 0-.322.756c.27-.047.564-.154.882-.322.317-.168.55-.303.7-.406l.728-.546c.41-.308.975-.807 1.694-1.498l.098-.098c.046-.056.08-.093.098-.112l.098-.07a.316.316 0 0 1 .112-.056.399.399 0 0 1 .448.112c.093.093.14.205.14.336 0 .112-.038.266-.112.462-.066.196-.164.448-.294.756-.13.308-.229.541-.294.7.215-.037.527-.2.938-.49.159-.112.294-.22.406-.322.121-.103.205-.173.252-.21a.738.738 0 0 1 .14-.112.401.401 0 0 1 .182-.042c.121 0 .224.042.308.126a.375.375 0 0 1 .126.294.486.486 0 0 1-.154.322 2.526 2.526 0 0 1-.168.154l-.224.182c-.103.075-.187.14-.252.196-.598.504-1.167.756-1.708.756-.495 0-.742-.205-.742-.616 0-.084.01-.159.028-.224.019-.075.042-.159.07-.252l.07-.238a64.97 64.97 0 0 0-.602.504c-.299.243-.56.439-.784.588-.355.233-.626.406-.812.518a4.452 4.452 0 0 1-.686.308c-.28.103-.55.154-.812.154s-.458-.06-.588-.182a.56.56 0 0 1-.196-.448c0-.159.042-.355.126-.588.093-.233.21-.495.35-.784.15-.299.238-.485.266-.56a2.524 2.524 0 0 0-.392.224c-.066.047-.136.098-.21.154a2.844 2.844 0 0 0-.154.14.489.489 0 0 1-.126.084.451.451 0 0 1-.168.028.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294zm12.434-1.666c.458 0 .817.051 1.078.154.262.103.392.303.392.602 0 .159-.032.308-.098.448-.056.13-.14.29-.252.476a4.077 4.077 0 0 0-.252.448c.336-.084.728-.2 1.176-.35.448-.15.817-.275 1.106-.378.299-.103.472-.154.518-.154a.39.39 0 0 1 .308.126.447.447 0 0 1 .112.308c0 .187-.14.331-.42.434-1.81.644-2.912.966-3.304.966a.553.553 0 0 1-.406-.168.537.537 0 0 1-.168-.392c0-.13.042-.28.126-.448.084-.168.196-.369.336-.602.15-.233.262-.425.336-.574a6.124 6.124 0 0 0-.588-.056c-.457 0-1.096.103-1.918.308a3.26 3.26 0 0 0-.504.14c-.149.047-.326.112-.532.196-.196.075-.359.135-.49.182-.074.028-.196.08-.364.154-.168.075-.317.14-.448.196a.978.978 0 0 1-.28.07.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294c0-.121.033-.21.098-.266a.764.764 0 0 1 .28-.182 21.537 21.537 0 0 1 3.178-1.064 5.79 5.79 0 0 1 1.4-.154zm10.056 1.666c0-.205.103-.34.308-.406.299-.103.653-.233 1.064-.392.42-.168.737-.29.952-.364.28-.093.425-.14.434-.14.112 0 .21.042.294.126a.36.36 0 0 1 .126.28c0 .056-.042.21-.126.462-.075.243-.173.555-.294.938-.121.373-.22.7-.294.98.364-.13.681-.27.952-.42a18.953 18.953 0 0 0 1.848-1.176c.29-.205.495-.308.616-.308a.36.36 0 0 1 .28.126.429.429 0 0 1 .098.406c0 .028-.01.056-.028.084a.67.67 0 0 0-.042.07.874.874 0 0 1-.07.056.3.3 0 0 1-.07.056.607.607 0 0 1-.084.056.594.594 0 0 0-.084.056c-.093.056-.233.15-.42.28-.187.121-.317.21-.392.266l-.336.21c-.15.093-.27.168-.364.224l-.35.21c-.13.075-.266.15-.406.224l-.42.21a2.21 2.21 0 0 1-.994.252c-.43 0-.644-.182-.644-.546 0-.13.019-.285.056-.462.047-.187.126-.462.238-.826.121-.364.196-.597.224-.7-.159.056-.378.14-.658.252-.27.103-.495.187-.672.252a1.435 1.435 0 0 1-.322.084.397.397 0 0 1-.294-.112.419.419 0 0 1-.126-.308zm5.455 0c0-.15.07-.261.21-.336.13-.084.476-.229 1.036-.434.318-.112.579-.205.784-.28 1.438-.541 2.189-.812 2.254-.812.13 0 .238.051.322.154.084.093.126.21.126.35 0 .159-.023.322-.07.49a6.74 6.74 0 0 1-.168.574 26.13 26.13 0 0 0-.154.546c.178-.075.387-.173.63-.294a7.16 7.16 0 0 1 .588-.28.955.955 0 0 1 .35-.098c.103 0 .191.042.266.126a.398.398 0 0 1 .112.294c0 .065-.01.121-.028.168a.315.315 0 0 1-.056.112.603.603 0 0 1-.168.098 5.76 5.76 0 0 1-.238.112l-.364.182c-.168.075-.336.154-.504.238-.205.103-.401.205-.588.308l-.378.21-.196.084a.528.528 0 0 1-.168.028.429.429 0 0 1-.294-.112.429.429 0 0 1-.112-.294c0-.047.028-.173.084-.378l.252-.784c.112-.327.196-.583.252-.77-.187.075-.434.168-.742.28-.308.112-.555.2-.742.266-1.222.448-1.848.672-1.876.672a.398.398 0 0 1-.294-.112.419.419 0 0 1-.126-.308zm5.483 0c0-.205.102-.34.308-.406.298-.103.653-.233 1.064-.392.42-.168.737-.29.952-.364.28-.093.424-.14.434-.14.112 0 .21.042.294.126a.36.36 0 0 1 .126.28c0 .056-.042.21-.126.462-.075.243-.173.555-.294.938-.122.373-.22.7-.294.98.364-.13.68-.27.952-.42a18.953 18.953 0 0 0 1.848-1.176c.289-.205.494-.308.616-.308a.36.36 0 0 1 .28.126.429.429 0 0 1 .098.406c0 .028-.01.056-.028.084a.67.67 0 0 0-.042.07.874.874 0 0 1-.07.056.3.3 0 0 1-.07.056.607.607 0 0 1-.084.056.594.594 0 0 0-.084.056c-.094.056-.234.15-.42.28-.187.121-.318.21-.392.266l-.336.21c-.15.093-.271.168-.364.224l-.35.21c-.131.075-.266.15-.406.224l-.42.21a2.21 2.21 0 0 1-.994.252c-.43 0-.644-.182-.644-.546 0-.13.018-.285.056-.462.046-.187.126-.462.238-.826.12-.364.196-.597.224-.7-.16.056-.378.14-.658.252-.271.103-.495.187-.672.252a1.435 1.435 0 0 1-.322.084.397.397 0 0 1-.294-.112.419.419 0 0 1-.126-.308zm17.22-1.666c.457 0 .816.051 1.077.154.262.103.392.303.392.602 0 .159-.032.308-.098.448-.056.13-.14.29-.252.476a4.077 4.077 0 0 0-.252.448c.336-.084.728-.2 1.176-.35.448-.15.817-.275 1.106-.378.299-.103.472-.154.518-.154a.39.39 0 0 1 .308.126.447.447 0 0 1 .112.308c0 .187-.14.331-.42.434-1.81.644-2.912.966-3.304.966a.553.553 0 0 1-.406-.168.537.537 0 0 1-.168-.392c0-.13.042-.28.126-.448.084-.168.196-.369.336-.602.15-.233.262-.425.336-.574a6.124 6.124 0 0 0-.588-.056c-.457 0-1.096.103-1.918.308a3.26 3.26 0 0 0-.504.14c-.15.047-.326.112-.532.196-.196.075-.36.135-.49.182-.074.028-.196.08-.364.154-.168.075-.317.14-.448.196a.978.978 0 0 1-.28.07.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294c0-.121.033-.21.098-.266a.764.764 0 0 1 .28-.182 21.537 21.537 0 0 1 3.178-1.064 5.79 5.79 0 0 1 1.4-.154zm3.246 1.666c0-.15.07-.261.21-.336.131-.084.476-.229 1.036-.434.318-.112.579-.205.784-.28 1.438-.541 2.189-.812 2.254-.812.131 0 .238.051.322.154.084.093.126.21.126.35 0 .159-.023.322-.07.49-.037.159-.093.35-.168.574-.065.224-.116.406-.154.546.178-.075.388-.173.63-.294a7.16 7.16 0 0 1 .588-.28.955.955 0 0 1 .35-.098c.103 0 .192.042.266.126a.398.398 0 0 1 .112.294c0 .065-.009.121-.028.168a.317.317 0 0 1-.056.112.603.603 0 0 1-.168.098 5.821 5.821 0 0 1-.238.112l-.364.182c-.168.075-.336.154-.504.238-.205.103-.401.205-.588.308l-.378.21-.196.084a.528.528 0 0 1-.168.028.429.429 0 0 1-.294-.112.429.429 0 0 1-.112-.294c0-.047.028-.173.084-.378l.252-.784c.112-.327.196-.583.252-.77-.186.075-.434.168-.742.28-.308.112-.555.2-.742.266-1.222.448-1.848.672-1.876.672a.397.397 0 0 1-.294-.112.419.419 0 0 1-.126-.308zm17.247-1.666c.458 0 .817.051 1.078.154.262.103.392.303.392.602 0 .159-.032.308-.098.448-.056.13-.14.29-.252.476a4.077 4.077 0 0 0-.252.448c.336-.084.728-.2 1.176-.35.448-.15.817-.275 1.106-.378.299-.103.472-.154.518-.154.131 0 .234.042.308.126a.447.447 0 0 1 .112.308c0 .187-.14.331-.42.434-1.81.644-2.912.966-3.304.966a.553.553 0 0 1-.406-.168.537.537 0 0 1-.168-.392c0-.13.042-.28.126-.448.084-.168.196-.369.336-.602a6.62 6.62 0 0 0 .336-.574 6.13 6.13 0 0 0-.588-.056c-.457 0-1.096.103-1.918.308a3.253 3.253 0 0 0-.504.14c-.149.047-.326.112-.532.196-.196.075-.359.135-.49.182a7.52 7.52 0 0 0-.364.154c-.168.075-.317.14-.448.196a.978.978 0 0 1-.28.07.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294c0-.121.033-.21.098-.266a.763.763 0 0 1 .28-.182 21.533 21.533 0 0 1 3.178-1.064c.411-.103.878-.154 1.4-.154zm3.248 1.666c0-.065.009-.117.028-.154a.39.39 0 0 1 .083-.14.722.722 0 0 1 .154-.14c.047-.047.136-.121.266-.224.131-.112.257-.224.378-.336.71-.644 1.307-.966 1.792-.966a.82.82 0 0 1 .56.196c.16.121.239.28.239.476 0 .15-.033.299-.099.448-.065.14-.168.308-.307.504-.14.196-.238.34-.294.434.26-.084.513-.173.755-.266.243-.103.411-.168.505-.196a.8.8 0 0 1 .266-.056c.102 0 .196.042.28.126a.403.403 0 0 1 .126.294c0 .224-.192.392-.575.504-.168.047-.406.13-.713.252a10.129 10.129 0 0 1-.813.294c-.074.028-.14.051-.195.07a.873.873 0 0 1-.168.014.533.533 0 0 1-.407-.182.6.6 0 0 1-.168-.42c0-.112.029-.238.085-.378.065-.15.13-.275.195-.378.075-.112.178-.261.308-.448.131-.187.224-.327.28-.42-.186.028-.49.22-.91.574-.177.15-.35.299-.517.448-.16.15-.271.252-.337.308a1.257 1.257 0 0 1-.181.126.392.392 0 0 1-.197.056.398.398 0 0 1-.293-.112.419.419 0 0 1-.127-.308zm3.896 0c0-.187.261-.453.784-.798.336-.224.663-.336.98-.336.205 0 .369.051.49.154a.506.506 0 0 1 .182.406c0 .159-.042.345-.126.56-.084.215-.2.467-.35.756-.14.29-.247.541-.322.756.27-.047.565-.154.882-.322.317-.168.55-.303.7-.406l.728-.546c.41-.308.975-.807 1.694-1.498l.098-.098a2 2 0 0 1 .098-.112l.098-.07a.315.315 0 0 1 .112-.056.399.399 0 0 1 .448.112c.093.093.14.205.14.336 0 .112-.037.266-.112.462-.065.196-.163.448-.294.756-.13.308-.229.541-.294.7.215-.037.527-.2.938-.49.159-.112.294-.22.406-.322.121-.103.205-.173.252-.21a.735.735 0 0 1 .14-.112.401.401 0 0 1 .182-.042c.121 0 .224.042.308.126a.375.375 0 0 1 .126.294.488.488 0 0 1-.154.322 2.526 2.526 0 0 1-.168.154l-.224.182c-.103.075-.187.14-.252.196-.597.504-1.167.756-1.708.756-.495 0-.742-.205-.742-.616 0-.084.01-.159.028-.224.019-.075.042-.159.07-.252l.07-.238a64.42 64.42 0 0 0-.602.504c-.299.243-.56.439-.784.588-.355.233-.625.406-.812.518a4.45 4.45 0 0 1-.686.308c-.28.103-.55.154-.812.154-.261 0-.457-.06-.588-.182a.56.56 0 0 1-.196-.448c0-.159.042-.355.126-.588.093-.233.21-.495.35-.784a8.62 8.62 0 0 0 .266-.56 2.524 2.524 0 0 0-.392.224l-.21.154a2.848 2.848 0 0 0-.154.14.489.489 0 0 1-.126.084.452.452 0 0 1-.168.028.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294zm19.243-1.666c.457 0 .817.051 1.078.154.261.103.392.303.392.602 0 .159-.033.308-.098.448-.056.13-.14.29-.252.476a4.077 4.077 0 0 0-.252.448c.336-.084.728-.2 1.176-.35.448-.15.817-.275 1.106-.378.299-.103.471-.154.518-.154a.39.39 0 0 1 .308.126.446.446 0 0 1 .112.308c0 .187-.14.331-.42.434-1.811.644-2.912.966-3.304.966a.553.553 0 0 1-.406-.168.537.537 0 0 1-.168-.392c0-.13.042-.28.126-.448.084-.168.196-.369.336-.602a6.78 6.78 0 0 0 .336-.574 6.147 6.147 0 0 0-.588-.056c-.457 0-1.097.103-1.918.308a3.23 3.23 0 0 0-.504.14c-.15.047-.327.112-.532.196-.196.075-.36.135-.49.182a7.52 7.52 0 0 0-.364.154c-.168.075-.317.14-.448.196a.978.978 0 0 1-.28.07.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294c0-.121.033-.21.098-.266a.763.763 0 0 1 .28-.182 21.535 21.535 0 0 1 3.178-1.064 5.789 5.789 0 0 1 1.4-.154zm3.247 1.666c0-.065.01-.117.028-.154a.412.412 0 0 1 .084-.14.73.73 0 0 1 .154-.14 3.62 3.62 0 0 1 .266-.224c.131-.112.257-.224.378-.336.71-.644 1.307-.966 1.792-.966.224 0 .411.065.56.196a.57.57 0 0 1 .238.476c0 .15-.032.299-.098.448-.065.14-.168.308-.308.504-.14.196-.238.34-.294.434.262-.084.514-.173.756-.266.243-.103.411-.168.504-.196a.805.805 0 0 1 .266-.056c.103 0 .196.042.28.126a.403.403 0 0 1 .126.294c0 .224-.191.392-.574.504-.168.047-.406.13-.714.252a9.94 9.94 0 0 1-.812.294c-.074.028-.14.051-.196.07a.863.863 0 0 1-.168.014.534.534 0 0 1-.406-.182.6.6 0 0 1-.168-.42c0-.112.028-.238.084-.378.066-.15.131-.275.196-.378.075-.112.178-.261.308-.448.131-.187.224-.327.28-.42-.186.028-.49.22-.91.574-.177.15-.35.299-.518.448-.158.15-.27.252-.336.308a1.22 1.22 0 0 1-.182.126.39.39 0 0 1-.196.056.398.398 0 0 1-.294-.112.419.419 0 0 1-.126-.308zm3.897 0c0-.065.009-.117.028-.154a.381.381 0 0 1 .084-.14.706.706 0 0 1 .154-.14c.046-.047.135-.121.266-.224.13-.112.256-.224.378-.336.709-.644 1.306-.966 1.792-.966a.82.82 0 0 1 .56.196c.158.121.238.28.238.476 0 .15-.033.299-.098.448-.066.14-.168.308-.308.504-.14.196-.238.34-.294.434.261-.084.513-.173.756-.266.242-.103.41-.168.504-.196a.795.795 0 0 1 .266-.056.39.39 0 0 1 .28.126.403.403 0 0 1 .126.294c0 .224-.192.392-.574.504-.168.047-.406.13-.714.252a10.212 10.212 0 0 1-.812.294c-.075.028-.14.051-.196.07a.877.877 0 0 1-.168.014.532.532 0 0 1-.406-.182.6.6 0 0 1-.168-.42c0-.112.028-.238.084-.378.065-.15.13-.275.196-.378.074-.112.177-.261.308-.448a8.43 8.43 0 0 0 .28-.42c-.187.028-.49.22-.91.574a23.9 23.9 0 0 0-.518.448c-.159.15-.271.252-.336.308a1.273 1.273 0 0 1-.182.126.395.395 0 0 1-.196.056.395.395 0 0 1-.294-.112.419.419 0 0 1-.126-.308zm3.896 0c0-.065.01-.117.028-.154a.412.412 0 0 1 .084-.14.73.73 0 0 1 .154-.14 3.62 3.62 0 0 1 .266-.224c.131-.112.257-.224.378-.336.71-.644 1.307-.966 1.792-.966.224 0 .411.065.56.196a.57.57 0 0 1 .238.476c0 .15-.032.299-.098.448-.065.14-.168.308-.308.504-.14.196-.238.34-.294.434.262-.084.514-.173.756-.266.243-.103.411-.168.504-.196a.805.805 0 0 1 .266-.056c.103 0 .196.042.28.126a.403.403 0 0 1 .126.294c0 .224-.191.392-.574.504-.168.047-.406.13-.714.252a9.94 9.94 0 0 1-.812.294c-.074.028-.14.051-.196.07a.863.863 0 0 1-.168.014.534.534 0 0 1-.406-.182.6.6 0 0 1-.168-.42c0-.112.028-.238.084-.378.066-.15.131-.275.196-.378.075-.112.178-.261.308-.448.131-.187.224-.327.28-.42-.186.028-.49.22-.91.574-.177.15-.35.299-.518.448-.158.15-.27.252-.336.308a1.22 1.22 0 0 1-.182.126.39.39 0 0 1-.196.056.398.398 0 0 1-.294-.112.419.419 0 0 1-.126-.308zm8.853-1.666c.457 0 .816.051 1.078.154.261.103.392.303.392.602 0 .159-.033.308-.098.448-.056.13-.14.29-.252.476a4.077 4.077 0 0 0-.252.448c.336-.084.728-.2 1.176-.35.448-.15.816-.275 1.106-.378.298-.103.471-.154.518-.154.13 0 .233.042.308.126a.45.45 0 0 1 .112.308c0 .187-.14.331-.42.434-1.811.644-2.912.966-3.304.966a.553.553 0 0 1-.406-.168.537.537 0 0 1-.168-.392c0-.13.042-.28.126-.448.084-.168.196-.369.336-.602a6.78 6.78 0 0 0 .336-.574 6.147 6.147 0 0 0-.588-.056c-.458 0-1.097.103-1.918.308a3.234 3.234 0 0 0-.504.14c-.15.047-.327.112-.532.196-.196.075-.36.135-.49.182-.075.028-.196.08-.364.154-.168.075-.318.14-.448.196a.98.98 0 0 1-.28.07.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294c0-.121.032-.21.098-.266a.76.76 0 0 1 .28-.182 21.521 21.521 0 0 1 3.178-1.064c.41-.103.877-.154 1.4-.154zm15.011 0c.458 0 .817.051 1.078.154.262.103.392.303.392.602 0 .159-.032.308-.098.448-.056.13-.14.29-.252.476a4.077 4.077 0 0 0-.252.448c.336-.084.728-.2 1.176-.35.448-.15.817-.275 1.106-.378.299-.103.472-.154.518-.154a.39.39 0 0 1 .308.126.446.446 0 0 1 .112.308c0 .187-.14.331-.42.434-1.81.644-2.912.966-3.304.966a.554.554 0 0 1-.406-.168.537.537 0 0 1-.168-.392c0-.13.042-.28.126-.448.084-.168.196-.369.336-.602.15-.233.262-.425.336-.574a6.09 6.09 0 0 0-.588-.056c-.457 0-1.096.103-1.918.308a3.297 3.297 0 0 0-.504.14 6.954 6.954 0 0 0-.532.196 24.93 24.93 0 0 1-.49.182c-.074.028-.196.08-.364.154-.168.075-.317.14-.448.196a.973.973 0 0 1-.28.07.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294c0-.121.033-.21.098-.266a.77.77 0 0 1 .28-.182 21.56 21.56 0 0 1 3.178-1.064 5.795 5.795 0 0 1 1.4-.154zm3.248 1.666c0-.187.261-.453.784-.798.336-.224.662-.336.98-.336.205 0 .368.051.49.154a.507.507 0 0 1 .182.406c0 .159-.042.345-.126.56a8.313 8.313 0 0 1-.35.756 7.1 7.1 0 0 0-.322.756c.27-.047.564-.154.882-.322.317-.168.55-.303.7-.406l.728-.546c.41-.308.975-.807 1.694-1.498l.098-.098c.046-.056.079-.093.098-.112l.098-.07a.307.307 0 0 1 .112-.056.4.4 0 0 1 .448.112.46.46 0 0 1 .14.336c0 .112-.038.266-.112.462-.066.196-.164.448-.294.756-.131.308-.229.541-.294.7.214-.037.527-.2.938-.49.158-.112.294-.22.406-.322.121-.103.205-.173.252-.21a.705.705 0 0 1 .14-.112.4.4 0 0 1 .182-.042.42.42 0 0 1 .308.126.375.375 0 0 1 .126.294.492.492 0 0 1-.154.322 2.526 2.526 0 0 1-.168.154l-.224.182c-.103.075-.187.14-.252.196-.598.504-1.167.756-1.708.756-.495 0-.742-.205-.742-.616 0-.084.009-.159.028-.224a4.88 4.88 0 0 1 .07-.252l.07-.238c-.103.084-.304.252-.602.504-.299.243-.56.439-.784.588-.355.233-.626.406-.812.518a4.48 4.48 0 0 1-.686.308c-.28.103-.551.154-.812.154-.262 0-.458-.06-.588-.182a.56.56 0 0 1-.196-.448c0-.159.042-.355.126-.588.093-.233.21-.495.35-.784.149-.299.238-.485.266-.56a2.478 2.478 0 0 0-.392.224 8.156 8.156 0 0 0-.21.154 2.509 2.509 0 0 0-.154.14.489.489 0 0 1-.126.084.454.454 0 0 1-.168.028.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294zm12.434-1.666c.457 0 .817.051 1.078.154.261.103.392.303.392.602 0 .159-.033.308-.098.448-.056.13-.14.29-.252.476a4.077 4.077 0 0 0-.252.448c.336-.084.728-.2 1.176-.35.448-.15.817-.275 1.106-.378.299-.103.471-.154.518-.154a.39.39 0 0 1 .308.126.446.446 0 0 1 .112.308c0 .187-.14.331-.42.434-1.811.644-2.912.966-3.304.966a.553.553 0 0 1-.406-.168.537.537 0 0 1-.168-.392c0-.13.042-.28.126-.448.084-.168.196-.369.336-.602a6.78 6.78 0 0 0 .336-.574 6.147 6.147 0 0 0-.588-.056c-.457 0-1.097.103-1.918.308a3.234 3.234 0 0 0-.504.14 6.802 6.802 0 0 0-.532.196 24.93 24.93 0 0 1-.49.182c-.075.028-.196.08-.364.154-.168.075-.317.14-.448.196a.98.98 0 0 1-.28.07.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294c0-.121.033-.21.098-.266a.76.76 0 0 1 .28-.182 21.521 21.521 0 0 1 3.178-1.064 5.789 5.789 0 0 1 1.4-.154zm8.203 0c.457 0 .817.051 1.078.154.261.103.392.303.392.602 0 .159-.033.308-.098.448-.056.13-.14.29-.252.476a4.077 4.077 0 0 0-.252.448c.336-.084.728-.2 1.176-.35.448-.15.817-.275 1.106-.378.299-.103.471-.154.518-.154a.39.39 0 0 1 .308.126.446.446 0 0 1 .112.308c0 .187-.14.331-.42.434-1.811.644-2.912.966-3.304.966a.553.553 0 0 1-.406-.168.537.537 0 0 1-.168-.392c0-.13.042-.28.126-.448.084-.168.196-.369.336-.602a6.78 6.78 0 0 0 .336-.574 6.147 6.147 0 0 0-.588-.056c-.457 0-1.097.103-1.918.308a3.234 3.234 0 0 0-.504.14 6.802 6.802 0 0 0-.532.196 24.93 24.93 0 0 1-.49.182c-.075.028-.196.08-.364.154-.168.075-.317.14-.448.196a.98.98 0 0 1-.28.07.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294c0-.121.033-.21.098-.266a.76.76 0 0 1 .28-.182 21.521 21.521 0 0 1 3.178-1.064 5.789 5.789 0 0 1 1.4-.154zm3.247 1.666c0-.15.07-.261.21-.336.131-.084.476-.229 1.036-.434.318-.112.579-.205.784-.28 1.438-.541 2.189-.812 2.254-.812.131 0 .238.051.322.154.084.093.126.21.126.35 0 .159-.023.322-.07.49-.037.159-.093.35-.168.574a33.24 33.24 0 0 0-.154.546c.178-.075.388-.173.63-.294a7.16 7.16 0 0 1 .588-.28.958.958 0 0 1 .35-.098c.103 0 .192.042.266.126a.396.396 0 0 1 .112.294.446.446 0 0 1-.028.168.31.31 0 0 1-.056.112.603.603 0 0 1-.168.098 5.414 5.414 0 0 1-.238.112l-.364.182c-.168.075-.336.154-.504.238a17.58 17.58 0 0 0-.588.308l-.378.21-.196.084a.528.528 0 0 1-.168.028.429.429 0 0 1-.294-.112.432.432 0 0 1-.112-.294c0-.047.028-.173.084-.378l.252-.784c.112-.327.196-.583.252-.77-.186.075-.434.168-.742.28-.308.112-.555.2-.742.266-1.222.448-1.848.672-1.876.672a.398.398 0 0 1-.294-.112.419.419 0 0 1-.126-.308zm5.483 0c0-.15.07-.261.21-.336.13-.084.476-.229 1.036-.434.317-.112.578-.205.784-.28 1.437-.541 2.188-.812 2.254-.812.13 0 .238.051.322.154.084.093.126.21.126.35 0 .159-.024.322-.07.49-.038.159-.094.35-.168.574-.066.224-.117.406-.154.546.177-.075.387-.173.63-.294a7.16 7.16 0 0 1 .588-.28.953.953 0 0 1 .35-.098c.102 0 .191.042.266.126a.4.4 0 0 1 .112.294c0 .065-.01.121-.028.168a.327.327 0 0 1-.056.112.603.603 0 0 1-.168.098 6.016 6.016 0 0 1-.238.112l-.364.182a15.822 15.822 0 0 0-1.092.546l-.378.21-.196.084a.528.528 0 0 1-.168.028.429.429 0 0 1-.294-.112.427.427 0 0 1-.112-.294c0-.047.028-.173.084-.378.065-.205.149-.467.252-.784.112-.327.196-.583.252-.77-.187.075-.434.168-.742.28-.308.112-.556.2-.742.266-1.223.448-1.848.672-1.876.672a.395.395 0 0 1-.294-.112.419.419 0 0 1-.126-.308zm5.482 0c0-.187.261-.453.784-.798.336-.224.663-.336.98-.336.205 0 .369.051.49.154a.507.507 0 0 1 .182.406c0 .159-.042.345-.126.56a8.313 8.313 0 0 1-.35.756c-.14.29-.247.541-.322.756.271-.047.565-.154.882-.322.317-.168.551-.303.7-.406l.728-.546c.411-.308.975-.807 1.694-1.498l.098-.098a2 2 0 0 1 .098-.112c.028-.019.061-.042.098-.07a.315.315 0 0 1 .112-.056.4.4 0 0 1 .448.112.46.46 0 0 1 .14.336c0 .112-.037.266-.112.462-.065.196-.163.448-.294.756-.131.308-.229.541-.294.7.215-.037.527-.2.938-.49.159-.112.294-.22.406-.322.121-.103.205-.173.252-.21a.735.735 0 0 1 .14-.112.402.402 0 0 1 .182-.042.42.42 0 0 1 .308.126.375.375 0 0 1 .126.294.492.492 0 0 1-.154.322 2.526 2.526 0 0 1-.168.154l-.224.182c-.103.075-.187.14-.252.196-.597.504-1.167.756-1.708.756-.495 0-.742-.205-.742-.616 0-.084.009-.159.028-.224.019-.075.042-.159.07-.252l.07-.238a64.42 64.42 0 0 0-.602.504c-.299.243-.56.439-.784.588-.355.233-.625.406-.812.518a4.437 4.437 0 0 1-.686.308c-.28.103-.551.154-.812.154s-.457-.06-.588-.182a.56.56 0 0 1-.196-.448c0-.159.042-.355.126-.588.093-.233.21-.495.35-.784.149-.299.238-.485.266-.56a2.524 2.524 0 0 0-.392.224l-.21.154a2.848 2.848 0 0 0-.154.14.489.489 0 0 1-.126.084.454.454 0 0 1-.168.028.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294z\\\" fill=\\\"#000\\\" fill-opacity=\\\".5\\\"/></svg>\",\n    \"placeholder\": \"<svg width=\\\"91\\\" height=\\\"5\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M.58 2.154c0-.205.103-.34.308-.406.299-.103.653-.233 1.064-.392.42-.168.737-.29.952-.364.28-.093.425-.14.434-.14.112 0 .21.042.294.126a.36.36 0 0 1 .126.28c0 .056-.042.21-.126.462-.075.243-.173.555-.294.938-.121.373-.22.7-.294.98.364-.13.681-.27.952-.42a18.937 18.937 0 0 0 1.848-1.176c.29-.205.495-.308.616-.308a.36.36 0 0 1 .28.126.429.429 0 0 1 .112.294.46.46 0 0 1-.014.112.15.15 0 0 1-.028.084.683.683 0 0 0-.042.07.848.848 0 0 1-.07.056.3.3 0 0 1-.07.056.595.595 0 0 1-.084.056.595.595 0 0 0-.084.056c-.093.056-.233.15-.42.28a8.12 8.12 0 0 0-.392.266l-.336.21c-.15.093-.27.168-.364.224l-.35.21a15.9 15.9 0 0 1-.406.224l-.42.21a2.21 2.21 0 0 1-.994.252c-.43 0-.644-.182-.644-.546 0-.13.019-.285.056-.462.047-.187.126-.462.238-.826.121-.364.196-.597.224-.7-.159.056-.378.14-.658.252-.27.103-.495.187-.672.252A1.434 1.434 0 0 1 1 2.574a.398.398 0 0 1-.294-.112.419.419 0 0 1-.126-.308zM10.991.488c.457 0 .817.051 1.078.154.261.103.392.303.392.602 0 .159-.033.308-.098.448-.056.13-.14.29-.252.476a4.077 4.077 0 0 0-.252.448c.336-.084.728-.2 1.176-.35.448-.15.817-.275 1.106-.378.299-.103.471-.154.518-.154.13 0 .233.042.308.126a.447.447 0 0 1 .112.308c0 .187-.14.331-.42.434-1.81.644-2.912.966-3.304.966a.553.553 0 0 1-.406-.168.537.537 0 0 1-.168-.392c0-.13.042-.28.126-.448.084-.168.196-.369.336-.602a6.62 6.62 0 0 0 .336-.574 6.12 6.12 0 0 0-.588-.056c-.457 0-1.097.103-1.918.308a3.258 3.258 0 0 0-.504.14c-.15.047-.327.112-.532.196-.196.075-.36.135-.49.182-.075.028-.196.08-.364.154-.168.075-.317.14-.448.196a.98.98 0 0 1-.28.07.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294c0-.121.033-.21.098-.266a.763.763 0 0 1 .28-.182A21.534 21.534 0 0 1 9.591.642a5.79 5.79 0 0 1 1.4-.154zm3.247 1.666c0-.065.01-.117.028-.154a.39.39 0 0 1 .084-.14.723.723 0 0 1 .154-.14c.047-.047.136-.121.266-.224.13-.112.257-.224.378-.336.71-.644 1.307-.966 1.792-.966a.82.82 0 0 1 .56.196c.159.121.238.28.238.476 0 .15-.032.299-.098.448-.065.14-.168.308-.308.504-.14.196-.238.34-.294.434.261-.084.514-.173.756-.266a5.98 5.98 0 0 1 .504-.196.8.8 0 0 1 .266-.056c.103 0 .196.042.28.126a.403.403 0 0 1 .126.294c0 .224-.191.392-.574.504-.168.047-.406.13-.714.252a10.106 10.106 0 0 1-.812.294 5.75 5.75 0 0 1-.196.07.87.87 0 0 1-.168.014.533.533 0 0 1-.406-.182.6.6 0 0 1-.168-.42c0-.112.028-.238.084-.378.066-.15.13-.275.196-.378.075-.112.178-.261.308-.448a7.93 7.93 0 0 0 .28-.42c-.187.028-.49.22-.91.574-.177.15-.35.299-.518.448-.159.15-.27.252-.336.308a1.261 1.261 0 0 1-.182.126.392.392 0 0 1-.196.056.398.398 0 0 1-.294-.112.419.419 0 0 1-.126-.308zM23.091.488c.457 0 .816.051 1.078.154.261.103.392.303.392.602 0 .159-.033.308-.098.448-.056.13-.14.29-.252.476a4.077 4.077 0 0 0-.252.448c.336-.084.728-.2 1.176-.35.448-.15.816-.275 1.106-.378.298-.103.471-.154.518-.154a.39.39 0 0 1 .308.126.447.447 0 0 1 .112.308c0 .187-.14.331-.42.434-1.811.644-2.912.966-3.304.966a.553.553 0 0 1-.406-.168.537.537 0 0 1-.168-.392c0-.13.042-.28.126-.448.084-.168.196-.369.336-.602a6.62 6.62 0 0 0 .336-.574 6.12 6.12 0 0 0-.588-.056c-.458 0-1.097.103-1.918.308a3.256 3.256 0 0 0-.504.14 6.79 6.79 0 0 0-.532.196c-.196.075-.36.135-.49.182a7.55 7.55 0 0 0-.364.154c-.168.075-.318.14-.448.196a.98.98 0 0 1-.28.07.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294c0-.121.032-.21.098-.266a.763.763 0 0 1 .28-.182A21.532 21.532 0 0 1 21.69.642a5.79 5.79 0 0 1 1.4-.154zm3.247 1.666c0-.187.261-.453.784-.798.336-.224.663-.336.98-.336.205 0 .369.051.49.154a.506.506 0 0 1 .182.406c0 .159-.042.345-.126.56-.084.215-.2.467-.35.756-.14.29-.247.541-.322.756.27-.047.565-.154.882-.322a7.65 7.65 0 0 0 .7-.406l.728-.546c.41-.308.975-.807 1.694-1.498l.098-.098c.046-.056.08-.093.098-.112l.098-.07a.315.315 0 0 1 .112-.056.399.399 0 0 1 .448.112c.093.093.14.205.14.336 0 .112-.037.266-.112.462-.066.196-.163.448-.294.756-.13.308-.229.541-.294.7.215-.037.527-.2.938-.49.158-.112.294-.22.406-.322.121-.103.205-.173.252-.21a.736.736 0 0 1 .14-.112.401.401 0 0 1 .182-.042c.121 0 .224.042.308.126a.375.375 0 0 1 .126.294.488.488 0 0 1-.154.322 2.518 2.518 0 0 1-.168.154l-.224.182c-.103.075-.187.14-.252.196-.598.504-1.167.756-1.708.756-.495 0-.742-.205-.742-.616 0-.084.01-.159.028-.224a5.73 5.73 0 0 1 .07-.252l.07-.238a64.42 64.42 0 0 0-.602.504c-.299.243-.56.439-.784.588-.355.233-.625.406-.812.518a4.45 4.45 0 0 1-.686.308c-.28.103-.55.154-.812.154s-.458-.06-.588-.182a.56.56 0 0 1-.196-.448c0-.159.042-.355.126-.588.093-.233.21-.495.35-.784a8.62 8.62 0 0 0 .266-.56 2.522 2.522 0 0 0-.392.224c-.066.047-.136.098-.21.154a2.836 2.836 0 0 0-.154.14.489.489 0 0 1-.126.084.452.452 0 0 1-.168.028.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294zm14.287 0c0-.187.261-.453.784-.798.336-.224.663-.336.98-.336.205 0 .369.051.49.154a.506.506 0 0 1 .182.406c0 .159-.042.345-.126.56-.084.215-.2.467-.35.756-.14.29-.247.541-.322.756.27-.047.565-.154.882-.322.317-.168.55-.303.7-.406l.728-.546c.41-.308.975-.807 1.694-1.498l.098-.098a2.03 2.03 0 0 1 .098-.112L46.56.6a.316.316 0 0 1 .112-.056.399.399 0 0 1 .448.112c.093.093.14.205.14.336 0 .112-.037.266-.112.462-.065.196-.163.448-.294.756-.13.308-.229.541-.294.7.215-.037.527-.2.938-.49.159-.112.294-.22.406-.322.121-.103.205-.173.252-.21a.74.74 0 0 1 .14-.112.401.401 0 0 1 .182-.042c.121 0 .224.042.308.126a.375.375 0 0 1 .126.294.486.486 0 0 1-.154.322 2.518 2.518 0 0 1-.168.154l-.224.182c-.103.075-.187.14-.252.196-.597.504-1.167.756-1.708.756-.495 0-.742-.205-.742-.616a.82.82 0 0 1 .028-.224 5.73 5.73 0 0 1 .07-.252l.07-.238c-.103.084-.303.252-.602.504-.299.243-.56.439-.784.588-.355.233-.625.406-.812.518a4.45 4.45 0 0 1-.686.308c-.28.103-.55.154-.812.154-.261 0-.457-.06-.588-.182a.56.56 0 0 1-.196-.448c0-.159.042-.355.126-.588.093-.233.21-.495.35-.784.15-.299.238-.485.266-.56a2.527 2.527 0 0 0-.392.224l-.21.154a2.874 2.874 0 0 0-.154.14.489.489 0 0 1-.126.084.452.452 0 0 1-.168.028.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294zM59.868.488c.457 0 .817.051 1.078.154.261.103.392.303.392.602 0 .159-.033.308-.098.448-.056.13-.14.29-.252.476a4.077 4.077 0 0 0-.252.448c.336-.084.728-.2 1.176-.35.448-.15.817-.275 1.106-.378.299-.103.471-.154.518-.154a.39.39 0 0 1 .308.126.447.447 0 0 1 .112.308c0 .187-.14.331-.42.434-1.81.644-2.912.966-3.304.966a.553.553 0 0 1-.406-.168.537.537 0 0 1-.168-.392c0-.13.042-.28.126-.448.084-.168.196-.369.336-.602.15-.233.261-.425.336-.574a6.114 6.114 0 0 0-.588-.056c-.457 0-1.097.103-1.918.308a3.263 3.263 0 0 0-.504.14c-.15.047-.327.112-.532.196-.196.075-.36.135-.49.182-.075.028-.196.08-.364.154-.168.075-.317.14-.448.196a.979.979 0 0 1-.28.07.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294c0-.121.033-.21.098-.266a.763.763 0 0 1 .28-.182A21.536 21.536 0 0 1 58.468.642c.41-.103.877-.154 1.4-.154zm3.247 1.666c0-.187.261-.453.784-.798.336-.224.663-.336.98-.336.206 0 .369.051.49.154a.506.506 0 0 1 .182.406c0 .159-.042.345-.126.56-.084.215-.2.467-.35.756-.14.29-.247.541-.322.756.27-.047.565-.154.882-.322.317-.168.55-.303.7-.406l.728-.546c.41-.308.975-.807 1.694-1.498l.098-.098c.047-.056.08-.093.098-.112l.098-.07a.315.315 0 0 1 .112-.056.399.399 0 0 1 .448.112c.093.093.14.205.14.336 0 .112-.037.266-.112.462-.065.196-.163.448-.294.756l-.294.7c.215-.037.528-.2.938-.49.159-.112.294-.22.406-.322.121-.103.206-.173.252-.21a.733.733 0 0 1 .14-.112.401.401 0 0 1 .182-.042c.122 0 .224.042.308.126a.375.375 0 0 1 .126.294.488.488 0 0 1-.154.322 2.518 2.518 0 0 1-.168.154 27.57 27.57 0 0 0-.224.182c-.103.075-.186.14-.252.196-.597.504-1.166.756-1.708.756-.495 0-.742-.205-.742-.616 0-.084.01-.159.028-.224.019-.075.042-.159.07-.252.028-.093.052-.173.07-.238a63.07 63.07 0 0 0-.602.504c-.299.243-.56.439-.784.588a25.35 25.35 0 0 1-.812.518 4.454 4.454 0 0 1-.686.308c-.28.103-.55.154-.812.154-.261 0-.457-.06-.588-.182a.56.56 0 0 1-.196-.448c0-.159.042-.355.126-.588.093-.233.21-.495.35-.784a8.62 8.62 0 0 0 .266-.56 2.517 2.517 0 0 0-.392.224l-.21.154a2.798 2.798 0 0 0-.154.14.489.489 0 0 1-.126.084.452.452 0 0 1-.168.028.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294zM75.55.488c.457 0 .816.051 1.078.154.261.103.392.303.392.602 0 .159-.033.308-.098.448-.056.13-.14.29-.252.476a4.077 4.077 0 0 0-.252.448c.336-.084.728-.2 1.176-.35.448-.15.816-.275 1.106-.378.298-.103.471-.154.518-.154.13 0 .233.042.308.126a.447.447 0 0 1 .112.308c0 .187-.14.331-.42.434-1.811.644-2.912.966-3.304.966a.553.553 0 0 1-.406-.168.537.537 0 0 1-.168-.392c0-.13.042-.28.126-.448.084-.168.196-.369.336-.602a6.62 6.62 0 0 0 .336-.574 6.12 6.12 0 0 0-.588-.056c-.458 0-1.097.103-1.918.308a3.256 3.256 0 0 0-.504.14c-.15.047-.327.112-.532.196-.196.075-.36.135-.49.182a7.55 7.55 0 0 0-.364.154c-.168.075-.318.14-.448.196a.98.98 0 0 1-.28.07.403.403 0 0 1-.294-.126.403.403 0 0 1-.126-.294c0-.121.032-.21.098-.266a.763.763 0 0 1 .28-.182A21.532 21.532 0 0 1 74.15.642a5.79 5.79 0 0 1 1.4-.154zm3.247 1.666c0-.15.07-.261.21-.336.13-.084.476-.229 1.036-.434.317-.112.578-.205.784-.28C82.264.563 83.016.292 83.08.292c.13 0 .238.051.322.154.084.093.126.21.126.35 0 .159-.023.322-.07.49-.038.159-.094.35-.168.574-.066.224-.117.406-.154.546.177-.075.387-.173.63-.294a7.17 7.17 0 0 1 .588-.28.954.954 0 0 1 .35-.098c.103 0 .191.042.266.126a.397.397 0 0 1 .112.294c0 .065-.01.121-.028.168a.315.315 0 0 1-.056.112.603.603 0 0 1-.168.098 5.821 5.821 0 0 1-.238.112l-.364.182c-.168.075-.336.154-.504.238-.206.103-.401.205-.588.308l-.378.21-.196.084a.528.528 0 0 1-.168.028.429.429 0 0 1-.294-.112.429.429 0 0 1-.112-.294c0-.047.028-.173.084-.378l.252-.784c.112-.327.196-.583.252-.77a26.16 26.16 0 0 1-.742.28c-.308.112-.555.2-.742.266-1.223.448-1.848.672-1.876.672a.398.398 0 0 1-.294-.112.419.419 0 0 1-.126-.308zm5.482 0c0-.205.103-.34.308-.406a30.71 30.71 0 0 0 1.064-.392c.42-.168.738-.29.952-.364.28-.093.425-.14.434-.14.112 0 .21.042.294.126a.36.36 0 0 1 .126.28c0 .056-.042.21-.126.462-.074.243-.172.555-.294.938-.121.373-.22.7-.294.98.364-.13.682-.27.952-.42a18.93 18.93 0 0 0 1.848-1.176c.29-.205.495-.308.616-.308.112 0 .206.042.28.126a.429.429 0 0 1 .112.294.457.457 0 0 1-.014.112.15.15 0 0 1-.028.084.71.71 0 0 0-.042.07.83.83 0 0 1-.07.056.3.3 0 0 1-.07.056.591.591 0 0 1-.084.056.605.605 0 0 0-.084.056c-.093.056-.233.15-.42.28-.186.121-.317.21-.392.266l-.336.21c-.15.093-.27.168-.364.224l-.35.21c-.13.075-.266.15-.406.224l-.42.21a2.21 2.21 0 0 1-.994.252c-.43 0-.644-.182-.644-.546 0-.13.019-.285.056-.462.047-.187.126-.462.238-.826.122-.364.196-.597.224-.7-.158.056-.378.14-.658.252-.27.103-.494.187-.672.252a1.434 1.434 0 0 1-.322.084.398.398 0 0 1-.294-.112.419.419 0 0 1-.126-.308z\\\" fill=\\\"#8B8B8B\\\"/></svg>\",\n    \"pre-tour-splash-screen-arrow\": \"<svg width=\\\"224\\\" height=\\\"282\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M106.666 9.275l.783.011.786.033h.785l.609-.213\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"/><path d=\\\"M115.256 9.189l.195-.005h.705L117 9h1l.5.184h.75l.75.005 1 .234.5.077h1.5l1 .271 1 .229h2l1.5.5 1 .5.312.264L131 11.5l1.719.705L136.5 14\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-dasharray=\\\"5.66 5.66\\\"/><path d=\\\"M141 16l2 1.5 2 1 1.5 2 1.5 1 1 1 2 1 2 2.5 1 3 2 3 1.5 2.5 1.5 2 1 2 1 2 1.5 2.5.5 3 .5 2 .5 3 1 2.5v3l.5 1.5.5 3.5-1 5-.5 2-.5 2-1 2-1.5 3-2 3-2 1.5-1.5 2-2.5 1-2.5 2-1.5 1-3 2.5-3 1.5-2.5 2-2.5 1-2.5 2-4 2.5-3 1-4 2-2.5 1-2.5.5-3 .5h-3.5l-2.5-1-3-1.5-1.5-2.5-2-2-1.5-4-.5-4v-3l.5-3.5 2-3.5 2.5-1.5 2.5-2 3-.5 3.5-.5h4l4 1 3 1 3.5 1 5 3 3.5 1.5 2.5 1 3 2 2.5 1 4 3 2 2 2.5 2 2.5 2 1 1.5 1.5 1.5 2 3.5 2 2.5 1.5 3 1 2.5 1 3.5 1.5 3.5v2l.5 2v8.5l-1 5v3l-1 4-.5 4-.5 3-1 2.5-1 4-.5 3.5-2.5 5-1 4.5-1 3.5-1.5 3.5-1.5 5-2.5 6-1.5 4-1 3-3.5 6.5-1 3-1 2-2.5 3.5-2 4.5-1.5 2.5-2 4-1.5 4-3 3.5-1 2.5-2.5 3.5-2.5 4.5-1.5 3-2 2-2.5 4.5-3 4.5-1.5 2-1 2.5-2.5 2.5-2 3.5-2.5 3.5-1.5 1.5-1.5 2.5-2 2.5-1 2-1 1\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"/><path d=\\\"M99 259l.5 2 .5 2 .5 2 .5 1.5v1l.458 1.035.098.735-.098.73v1.987l.298.937.115 1.258.832-.603 1.226-.392.832-.062.836-.201 1.403-.215h1.5l2-.49h2l2-.232 2-.487h2\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\"/></svg>\",\n    \"product-tours-progress\": \"<svg width=\\\"19\\\" height=\\\"8\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M15.172.464l3.182 3.182a.5.5 0 0 1 0 .708l-3.182 3.182a.5.5 0 1 1-.708-.708L16.793 4.5H0v-1h16.793l-2.329-2.328a.5.5 0 1 1 .708-.708z\\\"/></svg>\",\n    \"redirect-arrow\": \"<svg width=\\\"136\\\" height=\\\"118\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M67.165 76.658a1.798 1.798 0 0 1-.262-.082s.278.118.425.147l.25.058a3.328 3.328 0 0 0-.22-.089s-.095-.018-.193-.034zM41.916 40.3a.673.673 0 0 0 .098-.063l-.098.063zm-.26.149c.092-.048.19-.106.26-.15a7.345 7.345 0 0 1-.415.223l-.15.087.305-.16zM8.986 19.666l.076.075-.063-.084c-.079-.103-.173-.181-.245-.2.077.056.16.128.232.209zm.186.184l.112.11-.078-.114c-.007.009-.021.008-.032.004h-.002zm26.6 2.152l-.001-.001-.027.083.029-.082zm9.558 3.326c.032.076.074.162.115.237l-.041-.097c-.07-.134-.099-.206-.074-.14zm26.01 52.546l-.027.037.133.053-.106-.09zm-3.637-2.76c.02-.001.049-.001.108.001a.342.342 0 0 0-.108-.001zM32.895 28.806c.006-.029.004-.05.01-.08a.358.358 0 0 0-.01.08zm1.594-3.486c-.021.008-.037.028-.048.066.014.017.026.043.048.056.012-.07.03-.103.047-.113l.072-.128a.862.862 0 0 0-.118.119zM70.1 77.11c-.008-.016-.033-.035-.07-.053.008.013.076.062.07.052h0zM35.295 23.03l.034-.053-.034.053zm.251-.42c.076-.157.122-.294.162-.418a3.395 3.395 0 0 1-.379.785c.081-.117.154-.24.217-.367zm.162-.418c.023-.065.035-.109.035-.109l-.035.11zm-24.778-.07c-.038-.047-.081-.086-.123-.126-.03.004-.052.018-.04.055.054-.004.107.012.163.072zm28.166-3.753c.028.037.085.068.14.1-.002-.018-.03-.046-.14-.099h0zm8.805 9.885v.026c.042.15.026.064 0-.026zm68.303 75.7c-.013.007-.01.019-.017.027.046.009.064.007.016-.026l.001-.001zM10.844 21.988a1.185 1.185 0 0 0-.222-.162l.185.17c.012-.003.023-.007.037-.008zm89.789 74.782l-.401-.277c.535.51-.479-.194-.594-.064.185.045.384.096.583.203.137.075.284.131.429.191.035.014.069.032.103.047l-.12-.1zm-11.732-6.404c.079.056.173.13.259.2.038.006.074.015.12.021a4.614 4.614 0 0 0-.379-.22zM9.061 20.032a.275.275 0 0 0-.13-.064l.033.048c.16.207.323.415.487.622 0-.127-.072-.358-.39-.606zm37.193 8.002c-.003-.06-.009-.117-.007-.174a.862.862 0 0 1-.205-.274.657.657 0 0 0 .212.126l.007-.1c.01-.153.02-.297-.002-.393-.045-.2-.115-.397-.185-.594a9.436 9.436 0 0 1-.12-.347 1.433 1.433 0 0 0-.2-.323 6.876 6.876 0 0 1-.121-.172c-.012.015-.026.026-.028.065l.117.228c-.115.068-.18-.271-.276-.513.065.119.14.242.167.238l-.127-.267-.013-.031c-.013-.026-.028-.049-.041-.076-.1-.243-.22-.469-.34-.699l-.241-.476c-.057-.113-.12-.226-.18-.337-.055-.065-.107-.115-.162-.2-.105-.168-.188-.322-.265-.458-.082-.117-.158-.236-.245-.35-.2-.254-.41-.498-.633-.733-.138-.148-.293-.272-.45-.401a8.424 8.424 0 0 1-.257-.213 1.589 1.589 0 0 1-.258-.293 3.016 3.016 0 0 1-.486-.19c-.33-.19-.52-.409-.653-.497-.068-.049-.07-.028-.105-.036l-.32-.074c.01-.054.067-.075.152-.072.07.002.245.036.256.048.055-.016.3.35.696.59.186.098.306.127.385.12-.02-.03-.043-.06-.06-.09a1.938 1.938 0 0 1-.259-.13c-.307-.21-.494-.424-.614-.529l-.066-.033-.082-.044-.811-.223c-.3-.061-.6-.102-.903-.157-.37-.038-.717-.073-.901-.032l-.441.23c-.195-.032-.522.024-.743.048-.224.028-.393.099-.417.156l-.508.438c-.146.113-.297.308-.523.448.088.01.067.12-.012.275-.027.062-.128.2-.131.229-.027.08-.056.167-.083.258-.032-.105-.089-.033-.148.07-.06.103-.127.232-.137.117-.002.142-.101.459-.211.675l-.275.54c-.083.134-.175.582-.323.522.054.041.078.125.07.251a1.507 1.507 0 0 1-.112.446c-.12.294-.257.535-.246.676a.273.273 0 0 0 .05.088c-.03.088-.019.248-.006.473.015.252-.002.504-.051.75l-.087.534-.03.292c-.02.126-.045.24-.071.341.114-.143.09.108.078.312l-.004.15c-.002.1-.005.204-.009.298-.011.178-.019.304-.006.372-.005-.072-.008-.266-.04-.224-.089.127-.088.377-.038.513.044.137.159.39.17.682-.017.184-.092.106-.12.18.006.032.017.064.023.098l.004.094c.075.05.222.245.39.887.075.589-.026.844-.072.941l.014.047c.015.064.012.134.02.2l.143.225c.13.203.22.428.267.664.072.546-.011.844.02.883l.267.727.078.209c.017.036.005.014.022.049.027.05.098.146.198.283.14.18.254.38.335.594.09.255.112.451.136.61.054.365.041.268.21.615l.201.384c.066.12.147.276.189.321-.007-.013-.066-.009-.158-.089l-.179-.145c.11.632.368.75.584.94l.17.136c.043.01.084.025.121.047.087.054.188.132.384.45.102.165.225.426.286.621.066.198.104.359.138.473l.042.14c.009.027.003.016.024.063l.004.009c.063-.026.132-.043.198-.069l.116-.044.01-.018a.702.702 0 0 1 .073-.012c.066-.025.13-.051.198-.074.169-.055.347-.09.526-.122.151-.02.3-.056.442-.108l.308-.126c.206-.083.412-.165.602-.266l.002-.002c.01-.03.076-.077.203-.136l.175-.142c.135-.114.27-.224.417-.32l.172-.108c.22-.139.441-.278.646-.435.07-.051.144-.168.223-.291.108-.182.239-.348.39-.495a2.24 2.24 0 0 1 .544-.34c.123-.061.251-.124.308-.186.105-.113.221-.219.338-.324.129-.119.261-.235.366-.369.099-.128.17-.278.246-.427l.04-.074c.035-.12.085-.252.168-.393l.044-.068-.036.073c-.027.06-.04.115-.057.173.026-.049.051-.101.08-.147.072-.115.131-.268.192-.432.06-.159.12-.317.197-.466.077-.15.122-.31.171-.469.044-.146.09-.293.147-.437.095-.238.252-.414.392-.568.074-.083.176-.195.193-.251.046-.155.058-.321.074-.487.014-.162.032-.326.062-.484.035-.175.041-.353.05-.532.005-.147.012-.294.029-.439a2.15 2.15 0 0 0-.024-.442 3.442 3.442 0 0 1-.037-.53c.004-.17.027-.34.051-.51.024-.166.048-.323.04-.458a11.2 11.2 0 0 0-.103-.965c-.007-.05-.005-.093-.007-.14l-.032-.06c.011.01.018.012.029.019h0zm-8.319 15.455a.198.198 0 0 0-.006-.02l-.005-.006c.002.008.01.018.01.025h.001zm51.136 48.176l-.043-.008.051.04c-.007-.011-.002-.022-.008-.032zm2.38 1.359l.054.033-.02.006c.014 0 .038.016.058.032l-.026-.029-.012-.009h.003a.835.835 0 0 0-.154-.128l-.181-.101c-.119-.015-.252-.02-.393-.034.307.104.551.16.67.23zm-.187.167a.22.22 0 0 0 .087-.062l-.025.014-.33-.093c.015.045.114.108.268.14zm32.696 14.978c-.078.05-.154.102-.23.155-.23.169-.478.315-.739.433-.242.1-.491.182-.745.244-.12.029-.239.063-.357.101-.104.032-.202.092-.304.147a3.122 3.122 0 0 1-.744.313 6.042 6.042 0 0 1-.696.113c-.138.018-.277.033-.414.061a7.216 7.216 0 0 0-.407.09c-.223.058-.45.105-.678.143-.229.029-.46.042-.691.039-.138.001-.278 0-.414.016-.225.022-.452.03-.678.022-.14-.002-.283-.006-.422.008-.064.007-.19.058-.301.103-.205.082-.458.185-.758.211-.197.017-.395.03-.593.039-.165.008-.326.015-.486.029-.292.025-.558-.019-.77-.054a1.694 1.694 0 0 0-.309-.037c-.167.018-.327.058-.481.095-.18.046-.363.082-.547.109a.842.842 0 0 1-.918-1.038.807.807 0 0 1 .384-.502.809.809 0 0 1 .306-.102c.12-.016.241-.046.369-.077.226-.054.462-.109.709-.131.276-.026.524.014.743.05.139.024.271.046.352.038.179-.015.359-.024.545-.034.174-.009.352-.017.531-.033.052-.005.188-.058.285-.098.204-.084.457-.186.753-.215a5.72 5.72 0 0 1 .615-.016c.151.002.304.007.453-.011.2-.023.402-.026.605-.028.152-.001.303.002.454-.021.179-.027.357-.07.534-.113.163-.039.325-.079.488-.109a7.79 7.79 0 0 1 .521-.077c.173-.021.344-.04.504-.078.093-.022.219-.091.354-.164.067-.037.135-.059.202-.093a1.729 1.729 0 0 1-.345-.149l-.139-.105-.016-.011a2.608 2.608 0 0 1-.275-.229 1.33 1.33 0 0 0-.267-.202l-.983-.398c-.158-.025-.324-.046-.511-.077l.012-.093c-.098-.029-.194-.065-.291-.099-.051.001-.101.005-.121.005.016-.011.013-.027-.002-.046-.03-.011-.063-.019-.095-.033a1.528 1.528 0 0 0-.375-.066 2.367 2.367 0 0 1-.685-.145 2.425 2.425 0 0 1-.586-.372c-.118-.091-.23-.179-.322-.218-.14-.058-.287-.096-.435-.136a4.542 4.542 0 0 1-.582-.189 4.731 4.731 0 0 1-.538-.28 4.154 4.154 0 0 0-.406-.215 4.012 4.012 0 0 1-.546-.299c-.067-.042-.136-.075-.203-.114-.014-.003-.026-.002-.042-.006-.267-.072-.476-.217-.491-.221-.031-.011-.063-.024-.095-.034a5.9 5.9 0 0 1-.563-.203c-.126-.058-.266-.084-.405-.116a3.274 3.274 0 0 1-.624-.189 2.755 2.755 0 0 1-.567-.371 1.87 1.87 0 0 0-.332-.228c-.08-.037-.216-.054-.36-.072-.215-.027-.46-.057-.701-.172a2.345 2.345 0 0 1-.574-.414 1.595 1.595 0 0 0-.299-.235 8.164 8.164 0 0 0-.442-.19 7.982 7.982 0 0 1-.537-.233 19.247 19.247 0 0 1-.515-.266 15.858 15.858 0 0 0-.43-.223c-.127-.064-.266-.102-.405-.143a3.513 3.513 0 0 1-.603-.221 3.678 3.678 0 0 1-.532-.351c-.116-.088-.233-.178-.361-.245a6.606 6.606 0 0 1-.505-.297c-.134-.086-.269-.172-.411-.246-.166-.088-.331-.18-.494-.274a7.622 7.622 0 0 0-.875-.45 7.985 7.985 0 0 1-.521-.25c-.109-.058-.216-.124-.321-.19-.576-.257-1.129-.51-1.672-.826a2.509 2.509 0 0 0-.268-.075 2.493 2.493 0 0 1-.653-.222 2.537 2.537 0 0 1-.54-.432 1.64 1.64 0 0 0-.298-.25 5.066 5.066 0 0 0-.433-.203 6.243 6.243 0 0 1-.528-.251c-.04-.022-.073-.051-.11-.074-.09-.016-.186-.03-.282-.044.064-.006.151.003.24.015-.111-.071-.22-.14-.324-.218a1.701 1.701 0 0 1-.658-.182c-.278-.131-.493-.272-.743-.366l-.884-.374c-.462-.246-.686-.552-.83-.612.006-.034.013-.07-.006-.115-.017-.062-.058-.133-.247-.219a3.067 3.067 0 0 0-.117-.053l-.06-.015c-.212-.044-.454-.092-.686-.225a1.813 1.813 0 0 1-.343-.265c.154.323-.172-.028-.264.113-.112-.128-.232-.233-.248-.231-.067-.04-.396-.15-.423-.244a2.061 2.061 0 0 1-.7-.39 1.628 1.628 0 0 1-.418-.266l.07.03c-.007-.037-.024-.069-.042-.101-.14-.13-.229-.169-.489-.323-.214-.131-.404-.253-.566-.322-.27-.115-.655-.146-1.035-.278.724.11-.025-.296.041-.456-.035-.027-.067-.059-.103-.081a1.81 1.81 0 0 1-.326-.26 6.28 6.28 0 0 1-.424-.338c.032.008.081.024.12.026a1.095 1.095 0 0 0-.175-.154c-.128-.08-.267-.141-.405-.206l-.049-.025a.332.332 0 0 0-.119-.003.206.206 0 0 0-.023-.07c-.12-.06-.242-.113-.353-.185a1.454 1.454 0 0 0-.352-.122 2.299 2.299 0 0 1-.666-.263 3.738 3.738 0 0 1-.495-.403c-.11-.1-.212-.2-.334-.279a2.346 2.346 0 0 1-.38-.32 1.266 1.266 0 0 1-.383-.233c.14.118.217.114.21.064-.046-.048-.092-.085-.137-.124-.595-.285-.788-.122-1.533-.493l.223-.039c-.19-.127-.379-.288-.53-.376a4.39 4.39 0 0 1-.588-.36 5.211 5.211 0 0 1-.397-.302c-.099-.08-.17-.159-.135-.21-.008.216-.375.041-.809-.231-.263-.166-.517-.425-.672-.572a4.652 4.652 0 0 0-.198-.179.438.438 0 0 0-.11-.066c.127.045.148-.023.184-.05-.127-.037-.486-.04-1.03-.377-.306-.184-.604-.38-.894-.586-.525-.456-.63-.827-.708-.859a15.81 15.81 0 0 0-.647-.528 2.033 2.033 0 0 1-.265-.16l-.384-.282c-.061.002-.123.001-.185-.003-.365-.007-.852-.304-1.054-.562-.009-.01.284.126.295.134-.164-.17-.266-.284-.338-.346-.081-.067-.062-.05-.152-.093-.162-.082-.49-.152-.883-.442l-.956-.813.127-.13c-.367-.18-.756-.496-1.132-.67-.084-.172-.274-.372-.474-.545-.161-.15-.456-.27-.87-.556-.49-.412-.642-.828-.737-.826a14.729 14.729 0 0 1-.795-.654c-.03-.035-.094-.07-.287-.157-.154-.068-.468-.208-.656-.413a1.432 1.432 0 0 1-.247-.372l-.358.074c-.107-.171-.19-.307-.226-.346-.021-.02-.015-.02-.118-.09-.179-.11-.556-.338-.664-.599 0 .005.174.133.173.129.117-.08-.107-.214-.308-.388-.21-.175-.42-.36-.507-.485a.43.43 0 0 0-.144-.075.651.651 0 0 0-.17-.055c-.096-.016-.139.02-.058.125-.596-.617-1.345-1.372-2.13-1.966l-.14-.117-.097-.084-.246-.193a3.995 3.995 0 0 1-.564-.496c-.281-.306-.515-.58-.65-.822-.29-.251-.565-.49-.831-.723-.353-.354-.538-.67-.634-.691-.037-.015-.039-.006-.097-.023l-.27-.09a2.116 2.116 0 0 1-.456-.222 2.372 2.372 0 0 1-.415-.362c-.404-.478-.504-.58-.935-1.015l.045-.014c-.29-.313-.71-.893-.89-1.288a.5.5 0 0 1-.028-.026l-.747-.76a2.03 2.03 0 0 1-.254-.335l-.128-.066a9.554 9.554 0 0 1-1.281-.947c-.343-.36-.446-.775-.506-.911-.01-.03.208.188.217.211-.011-.038-.024-.057-.036-.09-.053-.074-.1-.153-.164-.218-.042-.045-.09-.087-.135-.13a8.724 8.724 0 0 0-.347-.22c-.083-.083-.017-.076.032-.08a5.851 5.851 0 0 1-.304-.291c-.02-.021-.032-.046-.05-.067-.11-.07-.22-.133-.322-.226l.154.026c-.185-.258-.422-.563-.654-.743-.136-.11-.314-.236-.511-.416-.162-.158-.245-.202-.443-.346a4.673 4.673 0 0 1-.297-.223l-.162-.148-.12-.113-.47-.458c-.313-.308-.595-.63-.856-.951.22.215.194.02.153-.1l-.017-.01c-.374-.243-.627-.838-.687-.79-.014 0-.08-.039-.246-.135-.15-.089-.402-.231-.631-.49-.375-.452-.517-.72-.635-.807-.01-.023.283.179.292.197l-.238-.252a2.327 2.327 0 0 1-.185-.262 2.493 2.493 0 0 1-.207-.447l-.013-.031c-.047-.06-.093-.122-.141-.18-.121-.15-.235-.306-.35-.462-.023-.032-.046-.061-.07-.092.049.14.102.28.161.416-.32-.589-.49-.703-.557-.555-.008-.086-.044-.191-.034-.248-.003-.036-.014-.073-.077-.148-.061-.081-.188-.168-.438-.472.013-.05.208.157.349.246a.5.5 0 0 0 .16.085 4.605 4.605 0 0 1-.056-.134l-.129-.156a1.601 1.601 0 0 1-.155-.228 2.33 2.33 0 0 0-.101-.182c-.123-.192-.24-.377-.308-.48l-.023-.03c.203.351.058.267-.128.142-.203-.154-.397-.332-.258-.02-.385-.654.283-.122.344-.173-.03-.038-.061-.072-.09-.11a1.46 1.46 0 0 0-.277-.229 6.902 6.902 0 0 1-.196-.149.974.974 0 0 1-.258-.25c-.024-.026-.05-.045-.074-.075-.006-.008-.008-.016-.014-.025a.231.231 0 0 0-.065-.057c-.045-.025-.017.114.002.285l-.07-.087-.097-.139a3.057 3.057 0 0 1-.144-.26l-.17-.388-.058-.119-.023-.041-.055-.088-.216-.346c-.018-.026-.032-.052-.048-.08a1.796 1.796 0 0 1-.304-.323 2.483 2.483 0 0 1-.225-.397 3.681 3.681 0 0 1-.378-.448 1.651 1.651 0 0 1-.197-.402c-.014-.042-.019-.07-.03-.107-.11-.128-.221-.258-.316-.397a4.693 4.693 0 0 1-.294-.536c-.066-.132-.128-.264-.207-.384a3.07 3.07 0 0 0-.27-.34 4.071 4.071 0 0 1-.378-.49 6.223 6.223 0 0 1-.287-.52 6.39 6.39 0 0 0-.216-.399 4.145 4.145 0 0 1-.273-.551c-.058-.132-.115-.266-.187-.39-.07-.117-.164-.221-.254-.326-.126-.147-.27-.314-.386-.515-.036-.064-.06-.128-.088-.193a4.023 4.023 0 0 1-.271-.497 1.825 1.825 0 0 0-.201-.335l-.25-.302c.202.172.343.273.48.45-.016-.038-.031-.077-.048-.11-.051-.094-.095-.193-.14-.29-.18-.166-.377-.331-.49-.506.02-.096.05-.19.087-.282-.01-.013-.015-.024-.026-.038a8.985 8.985 0 0 1-.23.037c-.124.018-.249.05-.374.082a3.807 3.807 0 0 1-.697.123c-.365.026-.73.034-1.096.025-.315-.012-.574-.156-.781-.273-.099-.054-.221-.123-.338-.14a7.636 7.636 0 0 1-1.039-.194c-.116-.033-.238-.047-.363-.065-.22-.032-.471-.065-.728-.163a5.75 5.75 0 0 1-.623-.3 6.507 6.507 0 0 0-.367-.19l-.318-.142a10.232 10.232 0 0 1-.675-.316 12.612 12.612 0 0 1-.627-.364l-.314-.188c-.123-.072-.25-.138-.38-.205a7.203 7.203 0 0 1-.575-.317 9.177 9.177 0 0 1-.527-.366l-.204-.146a.163.163 0 0 1-.091.001c-.076-.02-.15-.058-.193-.076-.11-.053-.25-.126-.353-.13-.187-.131-.152-.18-.152-.232-.006-.07-.034-.084-.416-.369-.268-.233-.34-.198-.378-.122a1.041 1.041 0 0 0-.066-.185c-.104-.063-.212-.12-.309-.192-.121-.09-.253-.164-.384-.24a4.872 4.872 0 0 1-.53-.339c-.214-.167-.35-.362-.477-.538a1.233 1.233 0 0 0-.397-.368c-.13-.066-.264-.124-.419-.2a2.165 2.165 0 0 1-.538-.354l.044-.008c-.108-.094-.216-.188-.323-.285l-.252-.113a.838.838 0 0 1 .143.017c-.082-.074-.164-.15-.247-.22-.074-.06-.133-.096-.14-.102l.062.02a4.803 4.803 0 0 1-.376-.394c-.022-.026-.047-.05-.07-.076-.126-.06-.26-.138-.345-.185-.101-.049-.191-.073-.26-.054l.045-.013a25.984 25.984 0 0 1-.598-.623c-.169-.152-.33-.305-.485-.451l-.258-.244c-.112-.104-.232-.199-.353-.294-.15-.12-.302-.238-.44-.37a4.455 4.455 0 0 1-.395-.446c-.093-.113-.182-.227-.285-.326-.11-.106-.227-.204-.345-.302a6.905 6.905 0 0 1-.427-.376 2.458 2.458 0 0 1-.393-.543 1.724 1.724 0 0 0-.2-.294l-.079-.04a.361.361 0 0 0-.08-.02c-.094-.15-.13-.216-.133-.24l-.158-.16-.27-.277c-.24-.244-.535-.43-.77-.674a4.432 4.432 0 0 1-.376-.465c-.037-.052-.08-.098-.118-.148-.02-.005-.07-.062-.18-.217a10.663 10.663 0 0 0-.294-.291c-.136-.13-.274-.259-.402-.398-.062-.068-.177-.138-.294-.213-.172-.107-.366-.226-.533-.412a4.755 4.755 0 0 1-.362-.465c-.086-.119-.17-.238-.267-.347a2.883 2.883 0 0 1-.355-.535 2.072 2.072 0 0 0-.209-.33 1.458 1.458 0 0 0-.284-.207 2.245 2.245 0 0 1-.54-.43 8.319 8.319 0 0 1-.352-.456c-.09-.12-.179-.242-.275-.357a2.345 2.345 0 0 1-.333-.598 1.49 1.49 0 0 0-.162-.318c-.057-.07-.165-.146-.278-.227-.167-.118-.356-.252-.512-.449a65.351 65.351 0 0 1-.628-.807 10.966 10.966 0 0 1-.336-.465 11.727 11.727 0 0 0-.262-.367c-.114-.154-.216-.318-.319-.481-.078-.127-.155-.255-.245-.376-.115-.157-.224-.318-.333-.48-.08-.121-.163-.241-.248-.36-.08-.114-.18-.216-.276-.319a4.154 4.154 0 0 1-.392-.464.55.55 0 1 1 .908-.62c.083.12.185.226.286.333.133.141.264.283.374.438.09.127.177.255.263.383.102.15.204.3.31.447.105.142.2.294.294.447.078.126.157.251.243.37.039.006.07.015.128.022.013.056.001.096-.023.127.067.092.134.186.2.28.048.07.1.139.15.208.292.178.823.784 1.145 1.2-.148-.101-.414-.394-.468-.315l.094.121c.084.088.178.165.28.23.163.116.349.248.502.437.076.093.135.19.184.285.026.02.048.043.073.062-.02-.009-.034-.012-.053-.021.046.088.085.176.12.257l.029.067c.036.03.07.062.102.097.018.066.03.121.037.166.108.13.209.265.31.402.097.131.195.266.302.392.057.063.167.134.284.208.05.032.106.07.16.107-.061-.18-.147-.396-.249-.46l.07.01c.143.198.217.37.272.51.097.072.193.153.28.254.149.17.252.357.344.52.07.13.14.254.213.336.12.14.234.287.339.439.088.125.178.25.28.363.063.068.177.142.297.215.169.107.36.226.524.403.112.119.23.232.35.345.125.12.25.238.37.364.127.14.246.288.355.444.057.077.12.151.18.224-.043-.08-.05-.123.098 0 .02.017.064.057.109.112-.054-.009-.063.018-.054.06.223.217.487.394.708.62l.706.719c.17.17.282.361.383.53.072.124.14.243.21.31.114.111.237.213.36.316.14.113.274.232.405.355.136.132.258.28.378.43.095.117.187.234.294.336.115.108.24.205.364.303.146.113.288.23.424.355l.265.25c.16.153.328.311.506.473.077.063.205.143.338.219.173.099.37.208.55.369.144.127.274.277.403.43.1.119.2.241.322.344.12.102.24.21.36.32.141.127.283.256.433.38.07.073.209.124.346.187.372.17.801.515 1.04.85.088.124.185.245.249.3.125.097.264.175.403.255.169.098.336.197.492.311.132.097.276.177.418.257.165.092.332.187.486.295l.33.24c.174.125.347.254.526.373.134.09.265.187.397.281.153.112.304.224.462.324.159.099.325.184.49.269.147.075.291.15.432.232l.332.199c.189.114.377.228.569.33.198.106.4.194.601.282l.338.15c.148.07.29.145.428.22.165.087.323.176.492.24.138.052.304.076.481.1.175.024.348.05.51.095.3.084.587.124.952.172.266.038.491.164.672.266.085.047.228.126.278.13.114.004.23-.008.348-.01.163-.072.365-.16.647-.204.248-.024.454-.007.63-.006a3.777 3.777 0 0 1-.324-.523 23.98 23.98 0 0 1-.276-.608l-.155-.35c-.037-.08-.065-.167-.097-.25l-.138-.2.058-.004c-.012-.037-.029-.072-.042-.109-.014-.043-.032-.085-.048-.128-.018-.027-.028-.047-.047-.075-.083-.127-.155-.256-.212-.355-.124-.22-.224-.447-.196-.67l.3.669a5.273 5.273 0 0 1-.147-.447c-.038-.14-.075-.28-.13-.413a2.65 2.65 0 0 1-.148-.62c-.021-.02-.04-.055-.06-.13.016-.018.022-.02.033-.032a1.401 1.401 0 0 0-.058-.247c-.028-.074-.113-.178-.195-.28-.137-.172-.295-.368-.383-.626-.042-.125-.09-.25-.135-.375-.03-.082-.058-.165-.089-.247a9.423 9.423 0 0 0-.255-.401c.012-.065.065-.007.065-.007a2.31 2.31 0 0 1-.045-.436l-.032-.141a4.338 4.338 0 0 0-.087-.418c-.008-.033-.008-.064-.015-.096l-.016-.021c-.085-.11-.22-.258-.335-.477a1.159 1.159 0 0 1-.129-.735c-.005-.004.04.28.045.278.035-.494.142-.854.068-1.01-.048-.169-.16-.386-.213-.603-.056-.208-.037-.444.087-.472.017-.117.026-.052.056.094-.002-.027-.002-.054-.005-.081-.019-.134-.056-.263-.09-.393-.031-.118-.047-.238-.07-.357-.09-.137-.163-.36-.096-.734 0 .041.021.035.045.069l.003-.02c.013-.184.035-.365.039-.531l.001-.31c.006-.106.014-.212.026-.317-.004-.186-.011-.371-.003-.56a2.304 2.304 0 0 0-.026-.385c-.021-.205-.045-.437-.016-.683l.018-.175c.007-.056.017-.11.023-.166l-.012.01c-.053-.231-.007-.398.046-.399.007-.002.013.013.018.014.018-.113.027-.23.05-.343.023-.124.028-.254.036-.384.005-.233.036-.466.093-.693.068-.239.176-.454.272-.643.057-.116.116-.231.161-.349l.098-.268c.089-.248.18-.498.295-.736l.062-.13c.142-.306.3-.603.475-.891.078-.123.172-.222.269-.311a.697.697 0 0 1 .159-.19c-.049-.06.13-.322.45-.631-.29.41-.246.445-.189.487.07-.05.14-.098.195-.158.062-.064.123-.168.19-.276.136-.225.303-.504.601-.688.206-.127.415-.162.613-.179.153-.046.305-.078.435-.096.008-.003.093.015.207.013a5.65 5.65 0 0 0 .178-.066c.068-.027.147-.054.22-.08.096-.102.295-.206.598-.246.408-.042.718.034.712-.025.033.018.066.035.1.05.104 0 .208-.006.32.014.287.051.547.153.8.252.089.036.18.07.27.103.108.038.212.085.317.132.264.089.518.172.78.245.563.303.767.62.872.615.093.064.48.096.965.53l.007.007-.102.106-.162.167.011.013c.11.145.236.275.379.386.13.105.264.197.398.292.206.17.334.366.425.565l.098.112c-.005-.096.022-.051.286.152-.077-.12-.164-.223-.305-.406-.128-.16-.325-.417-.507-.567 0 0 .055.03.144.087.09.07.203.17.302.266.2.197.356.342.356.342l-.133-.173c-.084-.112-.205-.284-.372-.462-.172-.17-.317-.262-.437-.365l-.195-.156c.605.35.55.352.448.052.102.071.189.14.264.206.085.077.163.18.215.257.11.16.16.286.208.398.046.112.085.213.142.302l.366.49c.111.308-.166.093-.067.43l.122.159c.084.127.338.375.545.764.193.403.153.75.29.938-.012.17-.06-.286-.144-.248.011.048.02.077.028.118.06.123.128.244.182.373.024.06.07.129.124.202l-.065-.258c.071.226.184.318.296.591.083.125.15.26.198.402.035.107.072.213.109.318.008.02.014.044.02.065.126.149.215.143.135-.169.065.16.069.499-.033.493.033.108.075.215.1.323.005.025.002.044.007.067.013.017.023.036.038.05.064.066.132.106.193.148a.505.505 0 0 1 .192.227c.049.103.084.212.105.323l.02.127.012.105v.04l-.003.187c-.02-.074-.05-.15-.068-.107.01.269.039.49.087.671-.163-.961-.258.36-.355-.844-.173.23.086.865.042 1.254.173.562.296.05.414.337-.065-.002-.05.239-.062.521l.138-.275.026.37c.005.169-.013.362-.025.523l.014-.303a1.212 1.212 0 0 0-.024-.303c.01.103-.038.38-.094.538-.057.18-.124.341-.175.482-.027.08-.042.106-.063.215l-.075.349c-.053.22-.102.426-.103.605-.019-.186-.021-.626-.213-.205-.009.077-.007.157-.022.233a3.29 3.29 0 0 0-.048.375c-.02.215-.044.455-.112.693-.013.034-.032.056-.044.086a.51.51 0 0 1-.045.24c-.043.152-.271.413-.412.622-.032.082.077.033.15-.003-.15.162-.162.62-.393 1.093-.145.258-.34.485-.573.668l-.029.054c.02-.01.044-.026.054-.026.048-.01-.01.083-.048.186-.014-.037-.041-.044-.077-.028l-.005.01c-.067.106-.124.22-.18.335-.067.178-.185.447-.316.567l-.026.159c-.175.114-.183.096-.134.011-.12.132-.246.257-.377.376a4.09 4.09 0 0 0-.274.261c-.063.07-.134.115-.204.167-.03.052-.071.108-.098.159-.123.22-.243.448-.67.736-.08.067-.29.164-.538.283-.032.03-.054.064-.092.092-.23.171-.47.333-.715.483.048-.025.094-.052.14-.08.208-.132.374-.247.27-.055-.206.084-.447.209-.685.323-.07.052-.14.105-.209.161-.161.135-.344.289-.564.406-.132.069-.272.122-.409.181-.063.06-.13.118-.199.173a1.842 1.842 0 0 1-.67.33c-.227.06-.418.08-.557.099l-.176.023-.23.048.027-.098-.175.065a10.65 10.65 0 0 1-.284.107c.036.058.076.114.117.169.18.202.52.751.6 1.064l.139.392c.046.106.05.129.13.234.122.176.468.5.655.97.081.203.124.365.167.486l.054.147.07.138.444.807c.02.037.065.076.226.198.136.103.377.272.56.54l.557.69c.19.147-.017-.148.034-.227.068.109.073.19.112.296.067.157.154.406.273.625 0 0 .081-.133.079-.136.026.167.033.297.044.392.015.103.001.088.011.122.003.025.114.148.26.283.074.07.164.157.26.262.049.052.099.111.15.176l.094.133.361.491.186.253c.102.14.176.273.232.386.234.502.203.447.457.814.141.217.271.459.32.633.078.098.158.195.24.293.045.039.086.071.133.116.063.06.125.122.188.193l.133.156c.086.11.356.272.673.633.268.338.405.624.58.835.228.278.472.543.73.794.159.28-.01.151-.12.073-.1-.072-.2-.148.015.157.279.293.476.573.65.711l.29.136-.074-.026c.157.058.411.144.717.46.42.514.475.92.508.936.162.225.328.464.495.705.043.038.087.065.127.11.104.12.186.258.245.407.104.144.204.289.313.43.133.208.4.4.704.708.191.225.426.356.743.598l-.083-.05c-.01.001-.001.023-.002.035.06.048.118.095.175.154.078.084.14.173.197.262a2.626 2.626 0 0 1-.077-.163c.649.605 1.055.908 1.457 1.251.417.457.51.936.585.936l.193.173c-.333-.204-.08.061.097.302.119.07.237.153.35.26.024.001.048.008.07.02.047.018.09.037.23.116.165.125.472.335.683.592.163.203.321.402.475.598.306.392.566.796.851 1.14.36.157.663.525.809.415.386.38.612.746.737.837l.198.08c.082.033.188.073.322.141.145.073.329.187.469.322.395.387.566.801.696.886l-.017.073c.431.127.825 1.001 1.124 1.087-.084.03-.223-.053-.236.018.176.13.352.261.527.393-.157-.088-.323-.11-.341-.025.048.04.1.077.146.118.07.064.124.143.186.212.172.028-.157-.206.068-.168v.246c.008.01.017.018.025.029.357.219.591.11.181-.261 1.392 1.052 2.3 1.73 3.456 2.903l-.204-.025c.15.148.276.286.376.371.09.078.125.094.31.193.167.09.384.197.606.39.172.146.306.332.39.54.052.006.217.135.188.002.257.28.192.198.18.243-.023.03-.064.066-.046.094.02.016.019.012.054.011-.025.005-.037.013-.072.011a.158.158 0 0 0-.083.02l.046.027c.058.023.09.017.297.07.09.02.2.048.331.094.142.051.297.129.43.225l.445.31c-.021.04.096.225.287.459.173.187.318.398.431.626.066.062.13.127.203.18.058.047.112.097.167.144a.897.897 0 0 0-.07-.13.167.167 0 0 0-.017-.04l.037.014.23.111c.052.117.109.231.17.343l.081.068c.07.022.207.068.355.137l.342.129-.08.12c.16.07.333.151.5.27.192.056.368.103.542.254.185.172.33.31.451.428l.778.575c.165.117.315.281.46.436.031.035.07.065.101.098.075.011.17.043.286.107.25.145.44.374.581.543.147.179.226.267.32.307.111.053.272.087.366.054.192.106.584.389.713.544.188.179.392.357.606.538.032.026.052.052.081.08.237.162.472.326.705.493.15.11.295.226.438.341.13.107.26.213.397.31.099.07.235.13.379.196.177.078.379.168.567.301.158.111.305.236.45.36.123.106.245.211.376.304.166.115.314.259.462.404.247.07.52.086.904.459l-.232-.116.348.362.17.16.214.17.106.026c.214.056.457.116.684.269.147.1.291.202.433.307.14.102.284.206.43.303.113.076.213.164.304.25.32.154.634.269.87.397-.211-.083-.185.084.11.278.282.11-.094-.391.372.028-.145-.058-.091.082.023.166-.016-.012.184.078.265.068l.23.008c.149.082.367.176.628.341.22.16.34.274.519.415.284.235.808.623 1.062.858.231.212.59.333 1.076.608.215.126.384.256.531.364.098.03.2.058.295.115.179.107.342.244.501.382.11.096.219.195.344.268.159.094.32.182.48.271l.184.104c.124.035.254.08.403.15.29.153.475.35.603.466.143.137.207.177.245.184.038.016.215.027.545.088l.085.198c.075.027.15.05.223.092.035.02.062.046.095.069l.024.007c.233.1.346.115.475.172a.804.804 0 0 1 .352.373c.022.035-.017.017-.129-.074-.106-.085-.306-.26-.454-.314.067.079.124.142.175.198.106.102.207.198.296.248a.825.825 0 0 0 .14.06l.025-.002c.183.011.368.004.861.26l-.098.023c.025.012.051.02.076.034.155.086.311.167.467.248.148.076.296.154.442.234h.013c.074.025.087.017.156.045.024.002.03-.004.054.003a.78.78 0 0 1 .164.062c.127.062.256.15.412.27l.123.096c.049.032.093.07.132.113.083.073.129.127.207.191.027.012.053.025.08.039.18.074.355.156.526.247.076.042.139.092.203.142.195-.033.006-.184.23-.212.21.105.458.19.688.297.182.088.335.16.49.232.146.066.291.133.462.221.068.037.204.105.331.186.122.078.24.165.349.249.129.307.022.235-.084.16-.096-.067-.175-.119-.094.06.085.04.174.07.254.115.165.088.324.186.484.287l.101.06a.687.687 0 0 0-.101-.19c.646.415.337.245.192.244.079.048.157.096.237.14.147.078.3.146.451.215.171.076.341.154.505.24.158.082.313.171.467.26.152.088.304.173.458.254l.065.039c.038.01.079.025.114.03-.022.005-.019.014-.026.023.084.047.168.096.25.147.109.018.235.032.383.053.071.01.15.025.232.043.085.02.189.054.192.038.061-.006.151-.003.294.017.143.1.081.178.096.25.002.09.141.099.721.38.122-.005.104-.125.159-.18.043-.064.225-.017.514.175.043.029-.667-.301-.373.004.708.342.089.119.662.624.454.033.627.432.913.222.129.266.158.274.32.451.064.029.131.053.193.084l.025.015c.042.002.092.012.137.016.055-.009.073-.029.202-.05.11-.027.241-.059.234-.122.113.127-.16.177-.274.239a.53.53 0 0 0-.078.056c.087.062.166.125.239.19.171-.033.43-.051.72.038.355.081.658.131.761.014.3.225.451.34.904.685-.056-.052-.171-.068-.231-.078.241.103.421.197.595.251.197.068.468.137.777.251.137.043.406.182.543.296l.328.256c.178.128.164.039.22-.012-.036.097-.072.15.039.186.124.043.552.02.949.205.297.131.469.231.139.247.185.07.438.127.663.167l.164.027.2.058c.114.036.192.063.238.071-.099.1.146.3.324.419.049.03.082.048.132.072.106.047.199.101.28.154.16.106.266.205.325.293.072 0 .144.011.212.034l.101.025.172.06.267.102c.117.021.238.051.361.1.15.062.304.109.459.156.075.023.147.052.221.076a.297.297 0 0 1 .102-.019c.168.071.247.117.278.153l.342.138c.072-.021.146-.04.249-.058.192.052.376.148.456.259l.132.023c.417.094.719.262.849.48 0 0-.092-.052-.245-.163a5.379 5.379 0 0 0-.373-.24c.081.096.152.199.214.308 0 0 .222.111.363.143.054.008.122.014.181.017-.022-.026-.047-.048-.068-.073a5.575 5.575 0 0 1-.344-.507c-.078-.126-.155-.255-.247-.372a11.324 11.324 0 0 1-.336-.447 10.106 10.106 0 0 0-.298-.4 2.047 2.047 0 0 0-.265-.245 3.275 3.275 0 0 1-.504-.494c-.13-.162-.241-.338-.351-.512-.077-.124-.152-.248-.242-.359a18.09 18.09 0 0 1-.328-.429c-.104-.137-.205-.273-.312-.404-.099-.123-.211-.234-.32-.343a6.344 6.344 0 0 1-.397-.423 16.427 16.427 0 0 0-.406-.469l-.272-.313a8.154 8.154 0 0 1-.368-.481c-.087-.121-.166-.235-.253-.33a.828.828 0 0 1-.146-.906.83.83 0 0 1 .19-.261.832.832 0 0 1 1.174.057c.128.14.25.304.376.481.089.122.181.25.288.375l.254.293c.144.163.293.333.442.514.085.105.185.2.285.3.155.151.303.311.441.478.118.144.232.296.347.449.098.13.196.261.299.39.129.161.241.337.353.515.076.122.152.247.242.361.058.071.16.158.269.249.16.135.341.287.502.491.119.15.231.304.341.456.096.132.191.264.291.39.135.17.248.351.359.529.075.121.146.24.231.347.102.126.216.238.325.346.141.141.277.278.393.422l.27.338c.117.148.224.28.338.415.077.09.133.195.165.309a.812.812 0 0 1-.1.676.813.813 0 0 1-.248.244l.001-.001z\\\" fill=\\\"#334BFA\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\".5\\\"/></svg>\"\n  },\n  \"unassigned-avatar\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\"><path d=\\\"M12 22.5c-3.028 0-5.752-1.296-7.67-3.353.249-1.15 1.304-3.792 5.773-4.535l1.437-.239-1.03-1.031c-.94-.941-1.359-2.134-1.359-3.869 0-1.967.351-3.787 2.893-3.787 1.999 0 2.891 1.168 2.891 3.787 0 1.717-.454 2.978-1.385 3.852l-1.021.959 1.364.319c4.711 1.1 5.636 3.534 5.817 4.5C17.79 21.186 15.049 22.5 12 22.5M1.5 12C1.5 6.21 6.21 1.5 12 1.5S22.5 6.21 22.5 12c0 2.09-.621 4.035-1.678 5.673-.562-1.247-1.961-3.123-5.434-4.217.695-1.056 1.047-2.39 1.047-3.983 0-4.6-2.751-5.287-4.391-5.287-2.915 0-4.393 1.779-4.393 5.287 0 1.591.318 2.867.987 3.922-3.345.896-4.785 2.869-5.409 4.362A10.433 10.433 0 0 1 1.5 12M12 0C5.373 0 0 5.373 0 12c0 2.905 1.033 5.568 2.75 7.644v.002h.002A11.975 11.975 0 0 0 12 24c6.627 0 12-5.373 12-12S18.627 0 12 0\\\" fill=\\\"currentColor\\\"/></svg>\",\n  \"upgrade\": {\n    \"ab-testing\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 26.72 27.39\\\"><defs><style>.cls-1{fill:#334bfa}</style></defs><g id=\\\"Layer_2\\\" data-name=\\\"Layer 2\\\"><g id=\\\"Layer_2-2\\\" data-name=\\\"Layer 2\\\"><path class=\\\"cls-1\\\" transform=\\\"rotate(-43.88 13.224 13.694)\\\" d=\\\"M12.22-4.34h2v36.07h-2z\\\"/><path class=\\\"cls-1\\\" d=\\\"M8.54 15.18a1 1 0 00-.86-.48 1 1 0 00-.86.49l-6 10a1 1 0 00.86 1.51h12a1 1 0 00.86-1.52zm-5.06 9.51l4.21-7.06 4.26 7.06zm17.24-12a6 6 0 10-6-6 6 6 0 006 6zm0-10a4 4 0 11-4 4 4 4 0 014-4z\\\"/></g></g></svg>\",\n    \"account-based-marketing\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"39.583\\\" height=\\\"40\\\"><path d=\\\"M31-.032H5a1 1 0 00-1 1v6H3a3 3 0 00-3 3v18a1 1 0 001.71.71l3.7-3.71H15a3 3 0 003-3v-1h-2v1a1 1 0 01-1 1H5a1 1 0 00-.71.29L2 25.558V9.968a1 1 0 011-1h1v9a1 1 0 001 1h26a1 1 0 001-1v-17a1 1 0 00-1-1zm-14.79 17H10v-.83a4.111 4.111 0 013.39-4.17 4 4 0 014.48 3 1.009 1.009 0 010 .11 1.68 1.68 0 01-1.456 1.877 1.552 1.552 0 01-.203.013zm-4.21-9a2 2 0 112 2 2 2 0 01-2-2zm18 6.059a2.94 2.94 0 01-2.941 2.941H20v-1a6 6 0 00-3.11-5.25 4 4 0 10-5.79 0 6 6 0 00-3.1 5.25v1H6v-15h24z\\\" fill=\\\"#334BFA\\\"/><path fill=\\\"#334BFA\\\" d=\\\"M20.001 3.968h8v2h-8zm0 4h6v2h-6zm13.723 10.964h2.75a1 1 0 011 1v15.59l-2.29-2.3a1 1 0 00-.71-.29h-10a1 1 0 01-1-1v-13.5h-2v13.5a3 3 0 003 3h9.59l3.7 3.71a1 1 0 001.71-.71v-18a3 3 0 00-3-3h-2.75z\\\"/></svg>\",\n    \"advanced-security\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"39.583\\\" height=\\\"40\\\"><path d=\\\"M31.753 22.561h-4v-4.533a2.592 2.592 0 00-2.589-2.589H24.8V12.2a4.747 4.747 0 10-9.493 0v3.235H7.831a5.413 5.413 0 010-10.826h24.434a3.531 3.531 0 100-2H7.831a7.413 7.413 0 000 14.826h17.337a.589.589 0 01.589.589v5.355a5.423 5.423 0 01-.083.591H14.356v-4.942h-2v10.049a1 1 0 001 1h13.4a1 1 0 001-1v-4.516h4a5.413 5.413 0 010 10.826H7.318a3.531 3.531 0 100 2h24.435a7.413 7.413 0 000-14.826zm3.881-20.479A1.532 1.532 0 1134.1 3.613a1.533 1.533 0 011.534-1.531zM17.31 12.2a2.747 2.747 0 115.493 0v3.235H17.31zm-2.954 13.77h10.451a6.136 6.136 0 01-2.617 2.1h-7.834zM3.949 37.918a1.532 1.532 0 111.531-1.531 1.532 1.532 0 01-1.531 1.531z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"assignment-rules-2\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 28 32\\\"><defs><style>.cls-1{fill:#334bfa}</style></defs><g id=\\\"Layer_2\\\" data-name=\\\"Layer 2\\\"><g id=\\\"Layer_1-2\\\" data-name=\\\"Layer 1\\\"><path class=\\\"cls-1\\\" d=\\\"M13.13 13.4l-6.84 6.9 1.42 1.4 6.91-7c-.16.62-.36 1.29-.57 1.95l1.9.63c1.63-4.89 1-5.56.63-5.88s-1-1-5.9.62l.64 1.98c.61-.26 1.23-.44 1.81-.6z\\\"/><path class=\\\"cls-1\\\" d=\\\"M16 25a1 1 0 01-1 1H5a1 1 0 00-.71.29L2 28.59V13a1 1 0 011-1h6v-2H3a3 3 0 00-3 3v18a1 1 0 001.71.71L5.41 28H15a3 3 0 003-3v-6h-2zm6-25a6 6 0 106 6 6 6 0 00-6-6zm0 10a4 4 0 114-4 4 4 0 01-4 4z\\\"/></g></g></svg>\",\n    \"audience-targeting\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 31.28 32\\\"><defs><style>.cls-1{fill:#334bfa}</style></defs><g id=\\\"Layer_2\\\" data-name=\\\"Layer 2\\\"><g id=\\\"Layer_2-2\\\" data-name=\\\"Layer 2\\\"><ellipse class=\\\"cls-1\\\" cx=\\\"12.64\\\" cy=\\\"20.5\\\" rx=\\\"1\\\" ry=\\\"1.5\\\"/><ellipse class=\\\"cls-1\\\" cx=\\\"18.64\\\" cy=\\\"20.5\\\" rx=\\\"1\\\" ry=\\\"1.5\\\"/><path class=\\\"cls-1\\\" d=\\\"M15.64 12c.43 0 1.45 0 3.88-4.53l-1.76-.95c-.36.66-.75 1.33-1.12 1.9V0h-2v8.39c-.37-.57-.76-1.22-1.12-1.87l-1.75 1C14.26 12 15.19 12 15.64 12zM3.26 14.11a17.89 17.89 0 004.56.89c.94 0 1.21-.26 1.37-.43s1-1-.46-5.95l-1.91.58c.22.72.41 1.47.55 2.13l-6-6L0 6.79l5.93 5.93c-.66-.14-1.4-.32-2.12-.53zm22.09-1.39l5.93-5.93-1.42-1.42-6 6c.14-.67.33-1.41.55-2.13l-1.92-.58c-1.48 4.92-.76 5.64-.46 5.95s.43.43 1.37.43a17.89 17.89 0 004.6-.93l-.55-1.92c-.7.21-1.45.39-2.1.53zm-1.42 6.78a9 9 0 00-.83-1.5 9 9 0 00-2.43-2.43 9 9 0 00-3.22-1.35 9.1 9.1 0 00-3.62 0 8.95 8.95 0 00-3.22 1.35 9 9 0 00-3.26 4 8.94 8.94 0 00-.53 1.69 9.1 9.1 0 000 3.63A9 9 0 008.18 28a9.05 9.05 0 001.1 1.33L10.69 28a7 7 0 01-1.91-3.54 7.1 7.1 0 010-2.82 7 7 0 011.91-3.54 7.08 7.08 0 011-.86 7 7 0 012.5-1.05 7.12 7.12 0 012.82 0 7 7 0 012.5 1.05 7 7 0 011.89 1.89 7 7 0 01.65 1.19 7 7 0 010 5.45 7 7 0 01-.64 1.19 7 7 0 01-1.89 1.89 7 7 0 01-2.5 1.05 7.12 7.12 0 01-2.82 0 7 7 0 01-1.31-.41l-.78 1.84a8.92 8.92 0 001.69.52 9.06 9.06 0 003.62 0 8.95 8.95 0 003.22-1.35A9.06 9.06 0 0022 29.36 9.15 9.15 0 0023.11 28a9 9 0 00.83-8.54z\\\"/><path class=\\\"cls-1\\\" d=\\\"M15.64 28a5 5 0 005-5h-2a3 3 0 01-6 0h-2a5 5 0 005 5z\\\"/></g></g></svg>\",\n    \"clearbit-integration\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 32 32.01\\\"><defs><style>.cls-1{fill:#334bfa}</style></defs><g id=\\\"Layer_2\\\" data-name=\\\"Layer 2\\\"><g id=\\\"Layer_1-2\\\" data-name=\\\"Layer 1\\\"><path class=\\\"cls-1\\\" d=\\\"M4 25h26v-2H15v-9a1 1 0 00-1-1H8a1 1 0 00-1 1v9H5V2h3v8a1 1 0 001.45.89L18 6.62V10a1 1 0 001.45.89L28 6.62V21h2V5a1 1 0 00-1.45-.89L20 8.38V5a1 1 0 00-1.45-.89L10 8.38V1a1 1 0 00-1-1H4a1 1 0 00-1 1v23a1 1 0 001 1zm5-10h4v8H9z\\\"/><path class=\\\"cls-1\\\" d=\\\"M19 13a1 1 0 00-1 1v6a1 1 0 001 1h6a1 1 0 001-1v-6a1 1 0 00-1-1zm5 6h-4v-4h4zm7 8H1a1 1 0 00-1 1v4h2v-3h3v2h2v-2h3v3h2v-3h3v2h2v-2h3v3h2v-3h3v2h2v-2h3v3h2v-4a1 1 0 00-1-1z\\\"/></g></g></svg>\",\n    \"connect-your-tools\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"39.583\\\" height=\\\"40\\\"><path d=\\\"M31.091 22.792a7.769 7.769 0 00-7.757 7.624H10.659a2.754 2.754 0 00-.026-.085l14.278-14.278h11.043a1 1 0 001-1V3.58a1 1 0 00-1-1H24.482a1 1 0 00-1 1v11.074L9.3 28.838a3.078 3.078 0 00-.167-.069V15.363h5.914a1 1 0 00.869-1.494L9.122 1.919a1.04 1.04 0 00-1.738 0L.592 13.869a1 1 0 00.869 1.494h5.67v13.5a2.537 2.537 0 103.292 3.557h13.139a7.76 7.76 0 107.529-9.624zM8.253 4.437l5.073 8.926H3.18zm17.229.143h9.472v9.473h-9.472zm5.609 31.739a5.764 5.764 0 115.764-5.763 5.77 5.77 0 01-5.764 5.763z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"conversation-volume\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 28 32\\\"><defs><style>.cls-1{fill:#334bfa}</style></defs><g id=\\\"Layer_2\\\" data-name=\\\"Layer 2\\\"><g id=\\\"Layer_1-2\\\" data-name=\\\"Layer 1\\\"><path class=\\\"cls-1\\\" d=\\\"M26 11v13a2 2 0 01-2 2H6a1 1 0 00-.62.22L2 28.92V4a2 2 0 012-2h7V0H4a4 4 0 00-4 4v27a1 1 0 001.63.78L6.35 28H24a4 4 0 004-4V11z\\\"/><path class=\\\"cls-1\\\" d=\\\"M6 14h2v8H6zm7-4h2v12h-2zm7-4h2v16h-2z\\\"/></g></g></svg>\",\n    \"custom-html-template\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 32 32\\\"><defs><style>.cls-1{fill:#334bfa}</style></defs><g id=\\\"Layer_2\\\" data-name=\\\"Layer 2\\\"><g id=\\\"Layer_1-2\\\" data-name=\\\"Layer 1\\\"><path class=\\\"cls-1\\\" d=\\\"M12 14h8v4h2V4a4 4 0 00-4-4H4a4 4 0 00-4 4v21a1 1 0 001 1h15v-2h-4zm-2 4H2v-4h8zm-8-6V7h18v5zM4 2h14a2 2 0 012 2v1H2V4a2 2 0 012-2zM2 20h8v4H2z\\\"/><path class=\\\"cls-1\\\" d=\\\"M31 24h-1.1a5 5 0 00-.73-1.75l.78-.78a1 1 0 00-1.41-1.41l-.78.78A5 5 0 0026 20.1V19a1 1 0 00-2 0v1.1a5 5 0 00-1.75.73l-.78-.78a1 1 0 00-1.41 1.41l.78.78A5 5 0 0020.1 24H19a1 1 0 000 2h1.1a5 5 0 00.73 1.75l-.78.78a1 1 0 101.41 1.41l.78-.78a5 5 0 001.76.74V31a1 1 0 002 0v-1.1a5 5 0 001.75-.73l.78.78a1 1 0 001.41-1.41l-.78-.78A5 5 0 0029.9 26H31a1 1 0 000-2zm-6 4a3 3 0 113-3 3 3 0 01-3 3z\\\"/></g></g></svg>\",\n    \"enrich-marketo-leads\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"39.583\\\" height=\\\"40\\\"><path d=\\\"M39.663 14.234c-.11-.32-2.81-7.68-8.949-7.68a7.184 7.184 0 00-5 2.08v-.08a7 7 0 00-3.221-5.9c-3.38-2.36-9.56-2.1-9.779-2.1a1 1 0 00-1 1c0 .36-.331 8.81 5.669 11.36a11.176 11.176 0 004.331.64v-2a9.331 9.331 0 01-3.541-.52c-3.689-1.57-4.34-6.41-4.459-8.48 1.759 0 5.479.26 7.6 1.75a5.219 5.219 0 012.4 4.74v9.741h-9a1 1 0 00-1 1v7.9H9.543v-6.7a3.912 3.912 0 00-1.8-3.3c-1.887-1.317-5.343-1.172-5.461-1.172a.558.558 0 00-.559.558c0 .2-.184 4.921 3.167 6.345a6.107 6.107 0 002.662.321v3.946H2.711a1 1 0 00-1 1v4a7 7 0 0013.67 2.123A10.691 10.691 0 0024.7 39.74h1.078a10.628 10.628 0 0010.99-10.989v-8.966a1 1 0 00-1-1H25.714v-4.691a11.748 11.748 0 003.649 1.9 12.344 12.344 0 003.82.57 17.518 17.518 0 005.9-1.07 1 1 0 00.58-1.26zM6.711 37.263a5 5 0 01-3-4.58v-3h10c0 4.88-4.15 8.81-7 7.58zM34.768 27.3c-.346 4.106-3.668 10.133-9.178 10.44h-.89a8.6 8.6 0 01-8.988-8.989v-7.966h19.056zm-4.775-13.2l-.009-.01a8.576 8.576 0 01-4.081-2.53 6 6 0 014.811-3c3.589 0 5.79 3.62 6.639 5.39a13.29 13.29 0 01-7.36.144z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M30.734 24.109L27.5 22.354v12.874l3.235-2.58zm-4.862.128l-2.59-.766v10.105l2.59-1.128zm-4.208.89l-1.972-.313v7.3l1.972-.517z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"event-tracking\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 32 30.99\\\"><defs><style>.cls-1{fill:#334BFA}</style></defs><g id=\\\"Layer_2\\\" data-name=\\\"Layer 2\\\"><g id=\\\"Layer_1-2\\\" data-name=\\\"Layer 1\\\"><path class=\\\"cls-1\\\" d=\\\"M14 15a1 1 0 0 0 .72-.33l9.86-10.8c-.15.58-.33 1.2-.54 1.81l1.9.63c1.63-4.89 1-5.56.63-5.88s-1-1-5.9.62l.65 1.89c.65-.22 1.32-.42 1.94-.58L14 12.55 8.71 7.29 7.29 8.7l6 6a1 1 0 0 0 .71.3z\\\"/><path class=\\\"cls-1\\\" d=\\\"M30 29V11a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v18h-2v-9a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v9h-2V15a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v12h2V16h4v13H0v2h32v-2zm-16 0v-8h4v8zm10 0V12h4v17z\\\"/></g></g></svg>\",\n    \"facebook\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 32 29.88\\\"><defs><style>.cls-1{fill:#334bfa}</style></defs><g id=\\\"Layer_2\\\" data-name=\\\"Layer 2\\\"><g id=\\\"Layer_1-2\\\" data-name=\\\"Layer 1\\\"><path class=\\\"cls-1\\\" d=\\\"M28 2.88H13v2h15a2 2 0 012 2v19a2 2 0 01-2 2h-8v-4h2a1 1 0 001-.8l1-5a1 1 0 00-1-1.2h-3v-.09a2.91 2.91 0 012.91-2.91H26a1 1 0 001-1v-5a1 1 0 00-1-1h-4.46A8.55 8.55 0 0013 15.42v1.46h-2a1 1 0 00-1 1v5a1 1 0 001 1h2v4H9a2 2 0 01-2-2v-16H5v16a4 4 0 004 4h5a1 1 0 001-1v-6a1 1 0 00-1-1h-2v-3h2a1 1 0 001-1v-2.46a6.55 6.55 0 016.54-6.54H25v3h-2.09A4.92 4.92 0 0018 16.79v1.09a1 1 0 001 1h2.78l-.6 3H19a1 1 0 00-1 1v6a1 1 0 001 1h9a4 4 0 004-4v-19a4 4 0 00-4-4z\\\"/><path class=\\\"cls-1\\\" d=\\\"M3.58 4.88H7a2 2 0 012 2v3h2v-3a4 4 0 00-4-4H3.61c.57-.37 1.22-.76 1.87-1.12L4.52 0C0 2.49 0 3.43 0 3.88s0 1.44 4.53 3.88L5.47 6c-.66-.36-1.32-.76-1.89-1.12z\\\"/></g></g></svg>\",\n    \"feature-agentefficiency\": \"<svg viewBox=\\\"0 0 31 32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M30 8.988H18.89l5.76-5.38c-.16.65-.37 1.37-.6 2.06l1.9.63c1.63-4.89 1-5.56.63-5.88-.37-.32-1-1-5.9.62l.65 1.89c.56-.19 1.13-.36 1.67-.51l-7 6.57H6a1 1 0 00-1 1v7.14a4 4 0 00-1.89 6.61A6 6 0 000 28.988v3h2v-3a4 4 0 018 0v1H4v2h7a1 1 0 001-1v-1h18a1 1 0 001-1v-19a1 1 0 00-1-1zm-26 12a2 2 0 114.001.001A2 2 0 014 20.988zm25 7H11.91a6 6 0 00-3-4.25 4.003 4.003 0 00.936-3.855A4.002 4.002 0 007 17.118v-6.13h6.82l-3.5 3.27 1.37 1.46 5.06-4.73H29v17z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"feature-alwaysonscript\": \"<svg viewBox=\\\"0 0 28 32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M16 15a1 1 0 01-1 1H5a1.003 1.003 0 00-.71.29L2 18.59V3a1 1 0 011-1h12a1 1 0 011 1v12zm9-5h-2V8a3 3 0 00-3-3h-2V3a3 3 0 00-3-3H3a3 3 0 00-3 3v18a1 1 0 001.71.71L5.41 18H15a3 3 0 003-3V9a2 2 0 012-2 1 1 0 011 1v12a1 1 0 01-1 1H10a1.003 1.003 0 00-.71.29L7 23.59V20H5v6a1 1 0 001.71.71l3.7-3.71H20a3 3 0 003-3v-6a2 2 0 012-2 1 1 0 011 1v12a1 1 0 01-1 1H15a1.003 1.003 0 00-.71.29L12 28.59V25h-2v6a1 1 0 001.71.71l3.7-3.71H25a3 3 0 003-3V13a3 3 0 00-3-3z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"feature-codefreecreation\": \"<svg viewBox=\\\"0 0 32 39\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M20.267 4.82c-.969-.377-1.652-1.284-1.652-2.341 0-1.393 1.189-2.527 2.652-2.527S23.92 1.086 23.92 2.48c0 1.057-.685 1.964-1.653 2.34v1.837h8.567c.553 0 1 .427 1 .952v14.06c0 .526-.447.953-1 .953h-5.023c-.553 0-1-.427-1-.953 0-.525.447-.952 1-.952h4.023V8.561h-8.543a1.072 1.072 0 0 1-.05 0H12.7v10.25c0 1.052.896 1.905 2 1.905h.986c.552 0 1 .427 1 .952 0 .526-.448.953-1 .953H11.7c-.553 0-1-.427-1-.953v-1.63c-.947 1.022-1.271 2.484-.758 3.824.758 1.984 3.1 3.048 5.267 2.227 1.546-.587 2.49-2.092 2.49-3.675V21.6c0-.526.449-.952 1-.952h4c.553 0 1 .426 1 .952v.963c-.133 1.267-.2 1.903-.202 1.91a9.17 9.17 0 0 1-.192.731c-.338 1.1-.95 2.105-1.725 3.082-.725.915-1.578 1.748-2.6 2.354a10.354 10.354 0 0 1-4.476 1.406c-.527.04-1.06.005-1.585-.048l-.281-.028c-.938-.094-1.87-.277-2.758-.627l-7.47 7.114L1 37.115l1.29-1.228L1 34.658l1.41-1.352 1.3 1.238 1.58-1.514L4 31.8l1.41-1.352 1.3 1.238L8.05 30.4a9.85 9.85 0 0 1-2.59-2.467L2.41 30.84 1 29.496l3.47-3.304a9.12 9.12 0 0 1 .41-8.11c1.237-2.216 3.334-3.865 5.82-4.612V7.608c0-.525.447-.952 1-.952h8.567V4.819zM10.7 15.5c-2.982 1.152-4.987 3.924-4.99 7.054 0 4.208 3.582 7.619 8 7.619 4.339 0 7.87-3.29 7.996-7.394.004-.122-.102-.225-.231-.225H19.71c.01 3.299-2.934 6.008-6.57 5.708-2.1-.173-3.992-1.445-4.868-3.27-1.353-2.816-.158-5.94 2.428-7.366V15.5zm10.684 4.065c-2.762 0-5-2.132-5-4.761h2c0 1.578 1.343 2.857 3 2.857 1.656 0 3-1.28 3-2.857h2c0 2.629-2.24 4.761-5 4.761zm-2.697-6.344c-.678 0-1.228-.786-1.228-1.755 0-.97.55-1.755 1.229-1.755.678 0 1.229.786 1.229 1.755 0 .969-.55 1.755-1.23 1.755zm5.159 0c-.678 0-1.228-.786-1.228-1.755 0-.97.55-1.755 1.228-1.755.679 0 1.229.786 1.229 1.755 0 .969-.55 1.755-1.23 1.755z\\\" fill=\\\"#334BFA\\\" fill-rule=\\\"evenodd\\\"/></svg>\",\n    \"feature-multiplemessages\": \"<svg viewBox=\\\"0 0 28 33\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M25 10h-2V8a3 3 0 00-3-3h-2V3a3 3 0 00-3-3H3a3 3 0 00-3 3v18a1 1 0 001.71.71L5.41 18H15a3 3 0 003-3V9a2 2 0 012-2 1 1 0 011 1v12a1 1 0 01-1 1H10a1.003 1.003 0 00-.71.29L7 23.59V20H5v6a1 1 0 001.71.71l3.7-3.71H20a3 3 0 003-3v-6a2 2 0 012-2 1 1 0 011 1v12a1 1 0 01-1 1H15a1.003 1.003 0 00-.71.29L12 28.59V25h-2v6a1 1 0 001.71.71l3.7-3.71H25a3 3 0 003-3V13a3 3 0 00-3-3zm-9 5a1 1 0 01-1 1H5a1.003 1.003 0 00-.71.29L2 18.59V3a1 1 0 011-1h12a1 1 0 011 1v12z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"feature-reacheverylead\": \"<svg viewBox=\\\"0 0 32 38\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><g fill=\\\"#334BFA\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M10.21 35.041H4v-.83a4.11 4.11 0 013.39-4.17 4 4 0 014.48 3 1.01 1.01 0 010 .11 1.68 1.68 0 01-1.66 1.89m-4.21-9a2 2 0 114.001.002A2 2 0 016 26.041m4.89 2.75a4 4 0 00-.089-5.61 3.999 3.999 0 00-5.612 0 4 4 0 00-.089 5.61 5.999 5.999 0 00-3.1 5.25v2a1 1 0 001 1h10a1 1 0 001-1v-2a6 6 0 00-3.11-5.25M22 26.041a2 2 0 114.001.002A2 2 0 0122 26.041m4.89 2.75a4 4 0 00-.089-5.61 3.999 3.999 0 00-5.612 0 4 4 0 00-.089 5.61 5.999 5.999 0 00-3.1 5.25v3h2v-3a4 4 0 018 0v1h-6v2h7a1 1 0 001-1v-2a6 6 0 00-3.11-5.25M11.002 15.038h10.002v-7H11.002v7zm5.001-13.039a.654.654 0 010 1.307.654.654 0 010-1.307zm5.001 4.04h-4.001V5.13c0-.006-.004-.013-.004-.021a2.653 2.653 0 001.656-2.455A2.655 2.655 0 0016.003 0a2.654 2.654 0 00-2.651 2.654c0 1.11.686 2.06 1.656 2.455 0 .008-.005.014-.005.021v.909h-4.001a2 2 0 00-2 2v6.999c0 1.11.891 2 2 2h4.001v4.46l-2.55 1.7-.01.01 1.11 1.66.011-.01 2.439-1.62 2.44 1.62 1.11-1.66-2.55-1.7v-4.46h4.001a2 2 0 002-2v-7c0-1.1-.9-2-2-2z\\\"/><path d=\\\"M15.404 11.205c0 1.16-.627 2.1-1.4 2.1-.773 0-1.4-.94-1.4-2.1 0-1.159.627-2.099 1.4-2.099.773 0 1.4.94 1.4 2.1m3.998-.001c0 1.16-.626 2.1-1.4 2.1-.772 0-1.4-.94-1.4-2.1 0-1.159.628-2.099 1.4-2.099.774 0 1.4.94 1.4 2.1\\\"/></g></svg>\",\n    \"feature-relationshipsatscale\": \"<svg viewBox=\\\"0 0 31 32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M7.091 7.471a2.6 2.6 0 102.605 2.6 2.608 2.608 0 00-2.605-2.6zm7.517-5.485a3.023 3.023 0 00-3.194 3.193c0 3.17 2.492 5.976 7.406 8.343 4.862-2.55 7.427-5.407 7.427-8.258a3.181 3.181 0 00-.923-2.3 3.105 3.105 0 00-2.227-.937 3.156 3.156 0 00-3.379 3.134c0 .657-.332 1.05-.887 1.05-.431 0-.893-.276-.893-1.05a3.116 3.116 0 00-3.33-3.175zm-2.714 17.882l9.447 8.856.449-2.626a.946.946 0 011-.829c.12 0 .24.021.353.062l3.964 1.466.833-2.219-3.979-1.268a1.031 1.031 0 01-.588-1.485l1.545-2.56-13.024.603zm10.094 11.94a1.04 1.04 0 01-.709-.282L8.896 19.786a.96.96 0 01-.32-.7 1.021 1.021 0 01.991-1.065 1.037 1.037 0 001.034-1.193c0-1.59-1.776-2.156-3.438-2.156a4.988 4.988 0 00-3.674 1.486 5.226 5.226 0 00-1.42 3.793v3.577c.006.011.019.024 4.874.024h3.116l-.025 2.073L0 25.605l.026-5.859a6.514 6.514 0 013.94-6.218c0-.05-.024-.078-.068-.118a4.372 4.372 0 01-1.46-3.334 4.39 4.39 0 014.653-4.62 4.63 4.63 0 012.315.614 11.526 11.526 0 01-.052-1 5.25 5.25 0 015.2-5.07 4.982 4.982 0 014.265 2.3A5.076 5.076 0 0123.108.007a5.133 5.133 0 015.2 5.173c0 5.631-7.265 9.565-9.491 10.637a22.674 22.674 0 01-7.112-5.1 4.705 4.705 0 01-1.421 2.814 6.762 6.762 0 013.61 4.237c.155 0 12.681-.622 12.7-.623.193-.006.383.04.552.133.491.282.664.907.386 1.4l-1.724 3.033 3.788 1.241a.986.986 0 01.646.551c.111.251.116.535.015.79l-1.554 4.2a1.023 1.023 0 01-.539.578 1.022 1.022 0 01-.782.005l-3.76-1.39-.627 3.278a.973.973 0 01-1.007.843z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"feature-responsetime\": \"<svg viewBox=\\\"0 0 31 28\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M22.948 17.796a9 9 0 004.8-14.78l-1.5 1.32a7 7 0 01-5.191 11.68l-7.059-6.67v-.33a7 7 0 0110.389-6.13l1-1.75a8.999 8.999 0 00-13.259 6.42l-3.44-3.27a1 1 0 00-1.69.73v11.66l-6.79 8.73a1 1 0 00.79 1.61h.11l26-3a.999.999 0 00.569-1.72l-4.729-4.5zm.21 3l-14.16-4.51v-8.94l14.16 13.45zm-14.8-2.62l13.87 4.38-19 2.19 5.13-6.57z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"free-up-time\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"39.583\\\" height=\\\"40\\\"><path fill=\\\"#334BFA\\\" d=\\\"M6.338 37.565h21.918v2H6.338zM32.474 18.7h-3.15v-3.25H4.706v10.278c0 5.723 3.282 9 9 9h6.608c4.6 0 7.614-2.121 8.625-5.919h3.53a5.055 5.055 0 000-10.109zm-5.15 7.023c0 4.648-2.356 7-7.005 7h-6.608c-4.649 0-7-2.357-7-7v-8.268h5.945v3.133a2.9 2.9 0 00-1.8 2.68v4.954h5.794v-4.954a2.887 2.887 0 00-1.991-2.738v-3.075h12.665zm5.15 1.086h-3.193c.028-.352.043-.713.043-1.086v-5.018h3.15a3.055 3.055 0 010 6.109zM15.951 12.9h2a3.655 3.655 0 01.827-2.387A5.611 5.611 0 0019.951 7a5.615 5.615 0 00-1.172-3.511 3.653 3.653 0 01-.828-2.389h-2a5.612 5.612 0 001.172 3.51A3.656 3.656 0 0117.951 7a3.653 3.653 0 01-.828 2.388 5.614 5.614 0 00-1.172 3.512zm-2.368-2.464a5.46 5.46 0 001.322-3.615h-2a3.511 3.511 0 01-.926 2.419 5.464 5.464 0 00-1.322 3.614h2a3.508 3.508 0 01.926-2.418zm10.439 0a5.455 5.455 0 001.324-3.615h-2a3.516 3.516 0 01-.927 2.419 5.457 5.457 0 00-1.319 3.614h2a3.514 3.514 0 01.922-2.418z\\\"/></svg>\",\n    \"higher-api-limits\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"39.583\\\" height=\\\"40\\\"><path d=\\\"M14.612 23.538a8.425 8.425 0 005.326 1.942 8.51 8.51 0 005.324-1.94 1.042 1.042 0 00-1.394-1.55 6.45 6.45 0 01-3.93 1.405A6.531 6.531 0 0116 21.985a1.042 1.042 0 00-1.391 1.553z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M38.477 19.257a2.261 2.261 0 00-1.267-2.026V6.052a2.262 2.262 0 10-3.026-3.026H21.877A2.263 2.263 0 1018.824 6v4.587h-4.2a3.775 3.775 0 00-3.771 3.77v10.986a3.776 3.776 0 003.771 3.771h4.447v5.045a2.267 2.267 0 00-1.014 1H5.5a2.263 2.263 0 00-1.123-1.253V21.729a2.253 2.253 0 000-4.051V5.841a2.267 2.267 0 10-2 0v11.837a2.252 2.252 0 000 4.051v12.18a2.262 2.262 0 102.9 3.253h12.759a2.262 2.262 0 103.038-3v-5.048H24.9a3.777 3.777 0 003.771-3.771V14.358a3.775 3.775 0 00-3.771-3.77h-4.076V6a2.261 2.261 0 001-.975h12.36a2.265 2.265 0 001.026 1.027v11.179a2.252 2.252 0 000 4.051V34.12a2.267 2.267 0 102 0V21.282a2.259 2.259 0 001.267-2.025zm-11.8-4.9v10.986a1.774 1.774 0 01-1.777 1.771H14.627a1.773 1.773 0 01-1.771-1.771V14.358a1.772 1.772 0 011.771-1.77H24.9a1.772 1.772 0 011.773 1.77z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"in-app-message-chat\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 31.99 31\\\"><defs><style>.cls-1{fill:#334bfa}</style></defs><g id=\\\"Layer_2\\\" data-name=\\\"Layer 2\\\"><g id=\\\"Layer_2-2\\\" data-name=\\\"Layer 2\\\"><circle class=\\\"cls-1\\\" cx=\\\"5\\\" cy=\\\"10\\\" r=\\\"1\\\"/><circle class=\\\"cls-1\\\" cx=\\\"8\\\" cy=\\\"10\\\" r=\\\"1\\\"/><circle class=\\\"cls-1\\\" cx=\\\"11\\\" cy=\\\"10\\\" r=\\\"1\\\"/><path class=\\\"cls-1\\\" d=\\\"M29 0H17a3 3 0 00-3 3v3H4a4 4 0 00-4 4v20a1 1 0 001 1h24a1 1 0 001-1V20h-2v9H2V14h12v7a1 1 0 001.71.71l3.7-3.71H29a3 3 0 003-3V3a3 3 0 00-3-3zM2 12v-2a2 2 0 012-2h10v4zm28 3a1 1 0 01-1 1H19a1 1 0 00-.71.29L16 18.59V3a1 1 0 011-1h12a1 1 0 011 1z\\\"/></g></g></svg>\",\n    \"integrations\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 32 32\\\"><path d=\\\"M31 0H21a1 1 0 00-1 1v9.61L9.66 21.82l1.47 1.36L21.44 12H31a1 1 0 001-1V1a1 1 0 00-1-1zm-1 10h-8V2h8zm-4 10a6 6 0 00-5.91 5H12v2h8.09A6 6 0 1026 20zm0 10a4 4 0 114-4 4 4 0 01-4 4zM7 23a3 3 0 103 3 3 3 0 00-3-3zm0 4a1 1 0 111-1 1 1 0 01-1 1zm-1-6h2v-9h5a1 1 0 00.86-1.52l-6-10A1 1 0 007 0a1 1 0 00-.9.49l-6 10A1 1 0 001 12h5zM2.76 10L7 2.94 11.23 10z\\\" fill=\\\"#334BFA\\\" data-name=\\\"Layer 2\\\"/></svg>\",\n    \"lead-profiles\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 32 29\\\"><defs><style>.cls-1{fill:#334bfa}</style></defs><g id=\\\"Layer_2\\\" data-name=\\\"Layer 2\\\"><g id=\\\"Layer_1-2\\\" data-name=\\\"Layer 1\\\"><path class=\\\"cls-1\\\" d=\\\"M31 0H5a1 1 0 00-1 1v6H3a3 3 0 00-3 3v18a1 1 0 001.71.71L5.41 25H15a3 3 0 003-3v-1h-2v1a1 1 0 01-1 1H5a1 1 0 00-.71.29L2 25.59V10a1 1 0 011-1h1v9a1 1 0 001 1h26a1 1 0 001-1V1a1 1 0 00-1-1zM16.21 17H10v-.83A4.11 4.11 0 0113.39 12a4 4 0 014.48 3 1.05 1.05 0 010 .11A1.68 1.68 0 0116.21 17zM12 8a2 2 0 112 2 2 2 0 01-2-2zm18 9H20v-1a6 6 0 00-3.11-5.25 4 4 0 10-5.79 0A6 6 0 008 16v1H6V2h24z\\\"/><path class=\\\"cls-1\\\" d=\\\"M20 4h8v2h-8zm0 4h6v2h-6z\\\"/></g></g></svg>\",\n    \"measure-results\": \"<svg width=\\\"40\\\" height=\\\"40\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M39.939 7.6a.996.996 0 00-.917-.618H34.45l3.278-3.28-1.405-1.414-3.278 3.288V1.002A.996.996 0 0031.34.295l-4.583 4.584a3.986 3.986 0 00-.887 4.315l.996 2.531-1.992 1.993c-6.086-5.329-15.3-4.87-20.827 1.037-5.527 5.906-5.374 15.132.345 20.852 5.72 5.72 14.944 5.873 20.85.346 5.906-5.528 6.364-14.743 1.036-20.83l1.993-1.993 2.531.997a3.985 3.985 0 004.314-.887L39.7 8.656a.996.996 0 00.239-1.057zm-11.896.442a1.993 1.993 0 01.448-2.162l2.88-2.89v4.165l-2.62 2.62-.708-1.733zM17.734 37.565A12.954 12.954 0 0027.9 24.895a12.886 12.886 0 00-3.139-8.382l-2.112 2.113a9.966 9.966 0 011.215 10.732l-1.783-.886a7.973 7.973 0 00-.857-8.421l-2.132 2.133a4.983 4.983 0 11-1.405-1.406l2.132-2.132A7.973 7.973 0 009.33 30.614a7.97 7.97 0 0010.929.26l1.335 1.444a9.963 9.963 0 01-13.717-.401 9.966 9.966 0 01-.307-13.721 9.963 9.963 0 0113.685-1.015l2.112-2.113a12.952 12.952 0 00-16.235-.485 12.956 12.956 0 0010.603 22.982zm.201-12.652a2.99 2.99 0 11-2.989-2.99 2.99 2.99 0 011.285.3l-1.993 1.993 1.405 1.405 1.993-1.993c.194.4.297.84.3 1.285zm13.7-12.616c.746.3 1.598.123 2.163-.448l2.87-2.88h-4.156l-2.62 2.63 1.744.698z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"message-stats\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 22 31.99\\\"><defs><style>.cls-1{fill:#334bfa}</style></defs><g id=\\\"Layer_2\\\" data-name=\\\"Layer 2\\\"><g id=\\\"Layer_2-2\\\" data-name=\\\"Layer 2\\\"><path class=\\\"cls-1\\\" d=\\\"M5.01 18.99h2v4h-2zm4-2h2v6h-2zm4-2h2v8h-2z\\\"/><path class=\\\"cls-1\\\" d=\\\"M21.12 6.38c1.43-5 .77-5.62.45-5.93s-1-1-5.95.46l.58 1.92c.72-.22 1.47-.41 2.13-.55L7.59 13 9 14.41 13.43 10H17a1 1 0 011 1v14a1 1 0 01-1 1H5a1 1 0 00-.71.29L2 28.58V11a1 1 0 011-1h6V8H3a3 3 0 00-3 3v20a1 1 0 001.71.71L5.41 28H17a3 3 0 003-3V11a3 3 0 00-3-3h-1.57l4.3-4.29c-.14.66-.32 1.4-.53 2.12z\\\"/></g></g></svg>\",\n    \"messenger-visibility\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 28 31.01\\\"><defs><style>.cls-1{fill:#334bfa}</style></defs><g id=\\\"Layer_2\\\" data-name=\\\"Layer 2\\\"><g id=\\\"Layer_1-2\\\" data-name=\\\"Layer 1\\\"><path class=\\\"cls-1\\\" d=\\\"M14.66 7a5.71 5.71 0 00-1.32 0c-5.07.39-8.95 5.12-9.12 5.33a1 1 0 000 1.25c.17.21 4.05 4.94 9.12 5.33a6 6 0 006.41-7.67A17.36 17.36 0 0121.66 13a15.71 15.71 0 01-1.3 1.23l1.28 1.53a18.25 18.25 0 002.13-2.13 1 1 0 000-1.26c-.16-.2-4.04-4.93-9.11-5.37zm-8.32 6a17.2 17.2 0 011.91-1.71 5.94 5.94 0 000 3.42A17.34 17.34 0 016.34 13zM18 13a4 4 0 11-4-4 4 4 0 014 4z\\\"/><path class=\\\"cls-1\\\" d=\\\"M24 0H4a4 4 0 00-4 4v26a1 1 0 001.64.77L7.36 26H24a4 4 0 004-4V4a4 4 0 00-4-4zm2 22a2 2 0 01-2 2H7a1 1 0 00-.64.23L2 27.87V4a2 2 0 012-2h20a2 2 0 012 2z\\\"/><path class=\\\"cls-1\\\" d=\\\"M13.87 15H14a2 2 0 001.5-3.32 2 2 0 00-1.37-.68 2 2 0 10-.26 4z\\\"/></g></g></svg>\",\n    \"multi-channel-campaigns\": \"<svg width=\\\"40\\\" height=\\\"40\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M20.474 1.117l17 9a1 1 0 010 1.77l-17 9a1 1 0 01-.94 0l-17-9a1 1 0 010-1.77l17-9a1 1 0 01.94 0zM5 10.87l14.86 7.81 14.8-7.81L19.86 3 5 10.87z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M20.47 24.73L3.94 16.01 3 17.77l17 9a1 1 0 00.94 0l17-9L37 16l-16.53 8.73z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M20.47 30.73L3.94 22.01 3 23.77l17 9a1 1 0 00.94 0l17-9L37 22l-16.53 8.73z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M20.47 36.73L3.94 28.01 3 29.77l17 9a1 1 0 00.94 0l17-9L37 28l-16.53 8.73z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"multi-channel\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 31 30\\\"><defs><style>.cls-1{fill:#334bfa}</style></defs><g id=\\\"Layer_2\\\" data-name=\\\"Layer 2\\\"><g id=\\\"Layer_1-2\\\" data-name=\\\"Layer 1\\\"><path class=\\\"cls-1\\\" d=\\\"M30 16H18v-2.08a7 7 0 10-2 0V19a1 1 0 01-1 1H5a1 1 0 00-.71.29L2 22.59V7a1 1 0 011-1h5V4H3a3 3 0 00-3 3v18a1 1 0 001.71.71L5.41 22H13v7a1 1 0 001 1h16a1 1 0 001-1V17a1 1 0 00-1-1zm-2.66 2L22 22.68l-4-3.39V18zM12 7a5 5 0 115 5 5 5 0 01-5-5zm6 21a3 3 0 01-3-3v-3a3 3 0 002.08-.85l4.27 3.61a1 1 0 001.3 0L29 19.2V28z\\\"/><path class=\\\"cls-1\\\" d=\\\"M16 4h2v6h-2z\\\"/></g></g></svg>\",\n    \"notes\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 31 31\\\"><defs><style>.cls-1{fill:#334bfa}</style></defs><g id=\\\"Layer_2\\\" data-name=\\\"Layer 2\\\"><g id=\\\"Layer_1-2\\\" data-name=\\\"Layer 1\\\"><path class=\\\"cls-1\\\" d=\\\"M13 13h12v2H13zm0 5h12v2H13zm0 5h9v2h-9zM6 4h2v6H6z\\\"/><path class=\\\"cls-1\\\" d=\\\"M30 7H14a7 7 0 10-.29 2H29v20H9V16H7v14a1 1 0 001 1h22a1 1 0 001-1V8a1 1 0 00-1-1zM7 12a5 5 0 115-5 5 5 0 01-5 5z\\\"/></g></g></svg>\",\n    \"padlock\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M21 26a1 1 0 11-2 0 1 1 0 012 0zm0 2.83a3.001 3.001 0 10-2 0V34h2v-5.17z\\\" fill=\\\"#334BFA\\\"/><path fill-rule=\\\"evenodd\\\" d=\\\"M31 18h1a4 4 0 014 4v14a4 4 0 01-4 4H8a4 4 0 01-4-4V22a4 4 0 014-4h1v-7C9 4.925 13.925 0 20 0s11 4.925 11 11v7zm-2 0v-7a9 9 0 10-18 0v7h3v-7a6 6 0 0112 0v7h3zm-5 0v-7a4 4 0 00-8 0v7h8zm10 4a2 2 0 00-2-2H8a2 2 0 00-2 2v14a2 2 0 002 2h24a2 2 0 002-2v-8h-4v-2h4v-2h-6v-2h6z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"personalized-messaging\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"39.583\\\" height=\\\"40\\\"><path d=\\\"M38.477 19.257a2.261 2.261 0 00-1.267-2.026V6.052a2.262 2.262 0 10-3.026-3.026H21.877A2.263 2.263 0 1018.824 6v5.476h-3.659a4 4 0 00-3.994 3.994v9.31a4 4 0 003.994 3.994h3.909v5.385a2.267 2.267 0 00-1.014 1H5.5a2.267 2.267 0 00-1.123-1.253V21.729a2.252 2.252 0 000-4.05V5.841a2.268 2.268 0 10-2 0v11.837a2.252 2.252 0 000 4.051v12.18a2.262 2.262 0 102.9 3.253h12.759a2.262 2.262 0 103.038-3v-5.388h3.4a4 4 0 004-3.994v-9.309a4 4 0 00-4-3.994h-3.65V6a2.261 2.261 0 001-.975h12.36a2.27 2.27 0 001.026 1.027v11.179a2.252 2.252 0 000 4.051V34.12a2.267 2.267 0 102 0V21.282a2.259 2.259 0 001.267-2.025zM13.171 24.78v-9.309a2 2 0 011.994-1.994h3.572v13.3h-3.572a2 2 0 01-1.994-1.997zm11.3 1.994h-3.734v-5.7h5.731v3.706a2 2 0 01-1.995 1.994zm2-11.3v3.6h-5.734v-5.597h3.736a2 2 0 011.995 1.994z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"prioritize-conversations\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"39.583\\\" height=\\\"40\\\"><path d=\\\"M15.822 21.367a.9.9 0 00-.773-.438H6.028a.9.9 0 00-.773.438l-3.382 5.649a.9.9 0 00.08 1.038l8.076 9.221a.9.9 0 00.692.324h.01a.9.9 0 00.7-.341l7.71-9.22a.9.9 0 00.067-1.021zm-3.515 6.5l-1.6 5.915-1.815-5.915zm-5.3 0L8.7 33.353l-4.562-5.486zm7.163 0h2.8l-4.248 5.355zm-1.558-1.8l2.306-2.7 1.617 2.7zm-2.076-.341l-2.558-3H13.1zm-4.382-2.36l2.307 2.7H4.539zm23.837-2.608a8.353 8.353 0 108.354 8.353 8.362 8.362 0 00-8.354-8.353zm0 14.706a6.353 6.353 0 116.354-6.353 6.359 6.359 0 01-6.354 6.353zm0-17.23a8.353 8.353 0 10-8.352-8.353 8.362 8.362 0 008.352 8.353zm0-14.706a6.353 6.353 0 11-6.352 6.353 6.361 6.361 0 016.352-6.353zM10.2 18.234a8.353 8.353 0 10-8.354-8.353 8.362 8.362 0 008.354 8.353zm0-14.706a6.353 6.353 0 11-6.354 6.353A6.36 6.36 0 0110.2 3.528z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"recent-conversations\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 28 32\\\"><path d=\\\"M25 10h-2V8a3 3 0 00-3-3h-2V3a3 3 0 00-3-3H3a3 3 0 00-3 3v18a1 1 0 001.71.71L5.41 18H15a3 3 0 003-3V9a2 2 0 012-2 1 1 0 011 1v12a1 1 0 01-1 1H10a1 1 0 00-.71.29L7 23.59V20H5v6a1 1 0 001.71.71l3.7-3.71H20a3 3 0 003-3v-6a2 2 0 012-2 1 1 0 011 1v12a1 1 0 01-1 1H15a1 1 0 00-.71.29L12 28.59V25h-2v6a1 1 0 001.71.71l3.7-3.71H25a3 3 0 003-3V13a3 3 0 00-3-3zm-9 5a1 1 0 01-1 1H5a1 1 0 00-.71.29L2 18.59V3a1 1 0 011-1h12a1 1 0 011 1z\\\" data-name=\\\"Layer 2\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"round-robin\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 28 32\\\"><path d=\\\"M8.89 23.75a4 4 0 10-5.79 0A6 6 0 000 29v2a1 1 0 001 1h10a1 1 0 001-1v-2a6 6 0 00-3.11-5.25zM4 21a2 2 0 112 2 2 2 0 01-2-2zm4.21 9H2v-.83A4.11 4.11 0 015.39 25a4 4 0 014.48 3 1 1 0 010 .11A1.68 1.68 0 018.21 30zm16.68-6.25a4 4 0 10-5.79 0A6 6 0 0016 29v3h2v-3a4 4 0 018 0v1h-6v2h7a1 1 0 001-1v-2a6 6 0 00-3.11-5.25zM20 21a2 2 0 112 2 2 2 0 01-2-2zM8.53 13.88a1 1 0 001 0L12.3 12h.7v4.46l-2.55 1.7 1.11 1.66L14 18.2l2.45 1.63 1.11-1.66L15 16.46V12h3a2 2 0 002-2V2a2 2 0 00-2-2h-8a2 2 0 00-2 2v11a1 1 0 00.53.88zM10 2h8v8h-6a1 1 0 00-.55.17l-1.45 1z\\\" fill=\\\"#334BFA\\\" data-name=\\\"Layer 2\\\"/></svg>\",\n    \"safeguard-access\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"39.583\\\" height=\\\"40\\\"><path d=\\\"M16.85 9.007a6.016 6.016 0 00-.212-2.364 17.291 17.291 0 011.91 1.76 15.9 15.9 0 01-1.3 1.23l1.28 1.53a18.233 18.233 0 002.13-2.13 1 1 0 000-1.26c-.16-.2-4.04-4.93-9.11-5.37a5.713 5.713 0 00-1.32 0c-5.07.39-8.95 5.12-9.12 5.33a1 1 0 000 1.25c.17.21 4.05 4.94 9.12 5.33a6 6 0 006.622-5.306zM5.138 10.113A17.31 17.31 0 013.228 8.4a17.209 17.209 0 011.91-1.71 5.945 5.945 0 000 3.423zM6.888 8.4a4 4 0 114 4 4 4 0 01-4-4z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M12.885 8.4a2 2 0 10-2.127 2h.13a2 2 0 001.997-2zM3.013 34.531l31-31 1.414 1.414-31 31zm33.446-1.899l1.381-1.447-3.857-3.431a10.123 10.123 0 01-7.583 3.858 10.474 10.474 0 01-7.411-3.889l-3.845 3.462 1.381 1.447 2.308-2.2a13.088 13.088 0 002.074 1.516L19.465 34.7l1.771.929 1.463-2.79a10.96 10.96 0 002.9.7v2.931h2v-2.929a10.886 10.886 0 002.868-.766l1.5 2.856 1.771-.929-1.487-2.835a13.063 13.063 0 001.907-1.429z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"salesforce-leads\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 31 23\\\"><path d=\\\"M12 23a6 6 0 01-5.5-3.6l1.83-.8a4 4 0 007.5-.53 1 1 0 011.51-.57 3 3 0 004.57-1.83 1 1 0 011.16-.76A5.09 5.09 0 0024 15a5 5 0 10-3.37-8.69A1 1 0 0119 5.68a3 3 0 00-5.54-1.2 1 1 0 01-.92.49 1 1 0 01-.86-.59A4 4 0 004 6a3.94 3.94 0 00.89 2.48 1 1 0 01-.56 1.6 3 3 0 102.21 5.47l1 1.71a5 5 0 11-5-8.66A5.85 5.85 0 012 6a6 6 0 0110.69-3.74 5 5 0 017.84 1.66A7 7 0 1123.58 17a5 5 0 01-6.25 2.73A6 6 0 0112 23z\\\" fill=\\\"#334BFA\\\" data-name=\\\"Layer 2\\\"/></svg>\",\n    \"salesforce-sandbox\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"39.583\\\" height=\\\"40\\\"><path d=\\\"M38.81 3.961a3.777 3.777 0 00-1.11-2.69 3.9 3.9 0 00-5.38 0L25.991 7.58a4.388 4.388 0 00-5.882.178l-2.088 2.351a19.873 19.873 0 00-5.237 10.53 5.863 5.863 0 00-2.128.872 6.166 6.166 0 00-2.6 3.751 8.071 8.071 0 00-.168 2.165v.237l2-.035-.006-.25a6.217 6.217 0 01.116-1.661 4.232 4.232 0 011.753-2.54 3.882 3.882 0 013.057-.541 5.78 5.78 0 013.513 2.433 1 1 0 001.288.291 3.819 3.819 0 012.778-.419 4.2 4.2 0 012.891 2.723l1.842-.779a7.176 7.176 0 00-1.638-2.486 17.054 17.054 0 003.978-2.927l2.07-2.388a4.131 4.131 0 00.394-.48 6.4 6.4 0 01-3.512 12.121 3.4 3.4 0 00-.53-.018 1 1 0 00-.711.38 1.49 1.49 0 00-.215.414c-.785 1.962-2.05 2.916-3.869 2.916a4.547 4.547 0 01-1.724-.371 8.971 8.971 0 00-.561-.194 1 1 0 00-1.048.307 1.8 1.8 0 00-.261.446 5.343 5.343 0 01-4.92 3.447A5.213 5.213 0 0110.8 36.43a5.367 5.367 0 01-1.42-4.039 1.007 1.007 0 00-.864-1.048 1 1 0 00-.606.105 3.969 3.969 0 01-5.685-4.517 4.229 4.229 0 012.335-2.714 3.8 3.8 0 00.491-.3 1 1 0 00.323-1.107c-.109-.316-.221-.6-.33-.878a5.452 5.452 0 01-.528-2.432A5.208 5.208 0 019.7 14.29a5.009 5.009 0 012.8.81l1.1-1.672a6.961 6.961 0 00-3.895-1.138 7.206 7.206 0 00-7.189 7.189 7.376 7.376 0 00.667 3.183l.012.029a5.99 5.99 0 00-2.9 3.736 5.972 5.972 0 007.145 7.318 7.2 7.2 0 007.14 6.31A7.064 7.064 0 0021 36.046a6.087 6.087 0 002.083.374 5.815 5.815 0 005.5-3.675 8.236 8.236 0 004.71-1.073 8.373 8.373 0 00-.643-14.932 4.937 4.937 0 00-1.035-3.563c-.059-.078-.137-.171-.2-.255l6.285-6.27a3.781 3.781 0 001.11-2.691zm-6.067 4.807L30.4 6l1.333-1.33 2.339 2.766zm-3.76-1.348l2.066 2.442a4.664 4.664 0 01-2.549-.207l-.88-.875zm1.084 10.305L28 20.113a15.5 15.5 0 01-4.509 3.087 5.312 5.312 0 00-4.051.039 7.555 7.555 0 00-4.165-2.553c-.144-.034-.288-.056-.431-.079a17.914 17.914 0 014.631-9.131l2.088-2.351a2.482 2.482 0 013.3.1 33.935 33.935 0 015.16 5.158 2.5 2.5 0 01.044 3.342zm6.215-12.488l-.787.784-2.339-2.765.572-.571a1.849 1.849 0 012.553 0 1.8 1.8 0 010 2.552z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"smart-campaigns\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 32 32\\\"><defs><style>.cls-1{fill:#334bfa}</style></defs><g id=\\\"Layer_2\\\" data-name=\\\"Layer 2\\\"><g id=\\\"Layer_1-2\\\" data-name=\\\"Layer 1\\\"><path class=\\\"cls-1\\\" d=\\\"M31 15a1 1 0 001-1V1a1 1 0 00-1-1H14a1 1 0 00-1 1v10h2V3.06l7.38 5.79a1 1 0 001.28 0L30 3.27V13h-6v-1a1 1 0 00-1.26-1l-22 6A1 1 0 000 18v6a1 1 0 00.74 1L5 26.13V28a3 3 0 002.27 2.91l4 1A3 3 0 0012 32a3 3 0 003-3v-.15L22.74 31a1 1 0 00.26 0 1 1 0 001-1V15zm-8-8.24L16.89 2h11.52zM13 29a1 1 0 01-.38.79 1 1 0 01-.85.18l-4-1A1 1 0 017 28v-1.33l6 1.64zm9-.31L4.21 23.84A3 3 0 012 20.94v-2.18l20-5.45z\\\"/><path class=\\\"cls-1\\\" d=\\\"M26 18h6v2h-6zm0 4h4v2h-4z\\\"/></g></g></svg>\",\n    \"smart-suggestions-educate\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 28 32\\\"><defs><style>.cls-1{fill:#334bfa}</style></defs><g id=\\\"Layer_2\\\" data-name=\\\"Layer 2\\\"><g id=\\\"Layer_1-2\\\" data-name=\\\"Layer 1\\\"><path class=\\\"cls-1\\\" d=\\\"M14 4h10v2H14zm0 4h10v2H14z\\\"/><path class=\\\"cls-1\\\" d=\\\"M27 0H11a1 1 0 00-1 1v10H3a3 3 0 00-3 3v17a1 1 0 001.6.8L5.33 29H15a3 3 0 003-3v-2h9a1 1 0 001-1V1a1 1 0 00-1-1zM16 26a1 1 0 01-1 1H5a1 1 0 00-.6.2L2 29V14a1 1 0 011-1h12a1 1 0 011 1zm10-4h-5a3 3 0 01-3-3v-1h3v-2h-3v-2h6v-2h-6.78A3 3 0 0015 11h-3V2h14z\\\"/><path class=\\\"cls-1\\\" d=\\\"M9 23a7.25 7.25 0 01-4.32-1.74l-1.36 1.47A9.2 9.2 0 009 25a9.2 9.2 0 005.68-2.27l-1.35-1.47A7.25 7.25 0 019 23z\\\"/></g></g></svg>\",\n    \"smart-suggestions\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 31.71 32\\\"><defs><style>.cls-1{fill:#334bfa}</style></defs><g id=\\\"Layer_2\\\" data-name=\\\"Layer 2\\\"><g id=\\\"Layer_1-2\\\" data-name=\\\"Layer 1\\\"><path class=\\\"cls-1\\\" d=\\\"M30.71 0h-19a1 1 0 00-1 1v4.2a10 10 0 00-7.24 13.62L0 22.29l1.41 1.41 3.05-3.05a10.08 10.08 0 002.59 2.59l-1.34 1.35-1.3-1.3L3 24.71 4.29 26l-1.58 1.59-1.3-1.3L0 27.71 1.29 29 0 30.29l1.41 1.41 7.47-7.47a9.91 9.91 0 001.82.56V31a1 1 0 001 1h19a1 1 0 001-1V1a1 1 0 00-.99-1zm-26 15a8 8 0 016-7.74v2.1a6 6 0 108 5.64h2a8 8 0 01-16 0zm25 15h-17v-5a10 10 0 007.13-3h7.87v-2h-6.36a9.92 9.92 0 001.15-3h5.2v-2h-5v-1a1 1 0 00-1-1h-4a1 1 0 00-1 1v1a4 4 0 11-6-3.46V17h2V2h17z\\\"/><path class=\\\"cls-1\\\" d=\\\"M14.71 5h13v2h-13zm0 5h13v2h-13zm1 15h9v2h-9z\\\"/></g></g></svg>\",\n    \"tailored-responses\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"39.583\\\" height=\\\"40\\\"><path d=\\\"M14.571 6.468h21.918a1.374 1.374 0 000-2.747H14.571a1.374 1.374 0 000 2.747zm0 10.973h21.917a1.374 1.374 0 011.374 1.374 1.373 1.373 0 01-1.373 1.373H14.571a1.373 1.373 0 01-1.371-1.374 1.373 1.373 0 011.371-1.373zM36.489 31.41H14.571a1.374 1.374 0 000 2.747h21.918a1.374 1.374 0 000-2.747zM5.845 9.642a.743.743 0 00.587-.286l3.245-4.143a.747.747 0 00.053-.843L8.376 2.109a.747.747 0 00-.64-.363H3.69a.747.747 0 00-.64.363L1.707 4.353a.744.744 0 00.069.863l3.5 4.16a.742.742 0 00.569.266zM6 15.638A3.963 3.963 0 109.958 19.6 3.963 3.963 0 006 15.638zm0 5.926A1.963 1.963 0 117.958 19.6 1.966 1.966 0 016 21.564zm0 7.793a3.963 3.963 0 103.958 3.963A3.963 3.963 0 006 29.357zm0 5.926a1.963 1.963 0 111.958-1.963A1.966 1.966 0 016 35.283z\\\" fill=\\\"#334BFA\\\"/></svg>\",\n    \"team-inbox\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 31 28\\\"><defs><style>.cls-1{fill:#334bfa}</style></defs><g id=\\\"Layer_2\\\" data-name=\\\"Layer 2\\\"><g id=\\\"Layer_1-2\\\" data-name=\\\"Layer 1\\\"><path class=\\\"cls-1\\\" d=\\\"M29 21v5H2v-5H0v6a1 1 0 001 1h29a1 1 0 001-1v-6z\\\"/><path class=\\\"cls-1\\\" d=\\\"M4 22h23v2H4zm0-4h23v2H4zm2-2h10a1 1 0 001-1v-1a6 6 0 00-.84-3.05A4 4 0 0124 12v2h-5v2h6a1 1 0 001-1v-3a6 6 0 00-3.11-5.25 4 4 0 10-5.78 0 6 6 0 00-2.43 2.52 6 6 0 00-.79-.52 4 4 0 10-5.79 0A6 6 0 005 14v1a1 1 0 001 1zM18 4a2 2 0 112 2 2 2 0 01-2-2zM9 6a2 2 0 112 2 2 2 0 01-2-2zm2 4a4 4 0 014 4H7a4 4 0 014-4z\\\"/></g></g></svg>\",\n    \"teammate-workload\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 26 32\\\"><g data-name=\\\"Layer 2\\\"><path d=\\\"M8.89 18.75A4 4 0 007 12.14V2H5v10.14a4 4 0 00-1.89 6.6A6 6 0 000 24v4a1 1 0 001 1h4v3h2v-3h4a1 1 0 001-1v-4a6 6 0 00-3.11-5.25zM4 16a2 2 0 112 2 2 2 0 01-2-2zm6 9a2 2 0 01-2 2H2v-3a4 4 0 014.4-4 4.12 4.12 0 013.6 4.18zm12.89-13.25A4 4 0 0021 5.14V0h-2v5.14a4 4 0 00-1.89 6.6A6 6 0 0014 17v1h2v-1a4 4 0 018 0v3H14v2h5v8h2v-8h4a1 1 0 001-1v-4a6 6 0 00-3.11-5.25zM18 9a2 2 0 112 2 2 2 0 01-2-2z\\\" fill=\\\"#334BFA\\\" data-name=\\\"Layer 1\\\"/></g></svg>\",\n    \"teams\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 26 29\\\"><g data-name=\\\"Layer 2\\\"><path d=\\\"M22.89 19.75A4 4 0 0019 13.14V12a6 6 0 00-3.11-5.25 4 4 0 10-5.79 0A6 6 0 007 12v1.14A4 4 0 006 13a4 4 0 00-2.89 6.75A6 6 0 000 25v4h2v-4a4 4 0 018 0v2H4v2h7a1 1 0 001-1v-3a6 6 0 00-3.11-5.25A4 4 0 0010 17h6a4 4 0 001.11 2.75A6 6 0 0014 25v3a1 1 0 001 1h10a1 1 0 001-1v-3a6 6 0 00-3.11-5.25zM11 4a2 2 0 112 2 2 2 0 01-2-2zM4 17a2 2 0 112 2 2 2 0 01-2-2zm5.44-2a4 4 0 00-.44-.62V12a4 4 0 018 0v2.38a4 4 0 00-.44.62zM18 17a2 2 0 112 2 2 2 0 01-2-2zm6 10h-8v-2a4 4 0 018 0z\\\" fill=\\\"#334BFA\\\" data-name=\\\"Layer 1\\\"/></g></svg>\",\n    \"total-leads\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 27 32\\\"><defs><style>.cls-1{fill:#334bfa}</style></defs><g id=\\\"Layer_2\\\" data-name=\\\"Layer 2\\\"><g id=\\\"Layer_1-2\\\" data-name=\\\"Layer 1\\\"><path class=\\\"cls-1\\\" d=\\\"M26 0H1a1 1 0 00-1 1v28a1 1 0 001 1h12v1a1 1 0 001 1h10a1 1 0 001-1v-3a6 6 0 00-3.11-5.25 4 4 0 10-5.79 0A6 6 0 0013 28H2V2h23v21h2V1a1 1 0 00-1-1zm-9 20a2 2 0 112 2 2 2 0 01-2-2zm-2 8a4 4 0 018 0v2h-8z\\\"/><path class=\\\"cls-1\\\" d=\\\"M5 16h2v8H5zm5 0h2v8h-2zm12-3V8.23l1.21-.25-.42-1.96-.79.17V5h-2v1.61l-3 .63V5h-2v2.66l-3 .63V5h-2v3.71l-3 .64V5H5v4.77l-1.21.25.42 1.96.79-.17V13h2v-1.61l3-.63V13h2v-2.66l3-.63V13h2V9.29l3-.64V13h2z\\\"/></g></g></svg>\",\n    \"tours-in-minutes\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"39.725\\\" height=\\\"40\\\"><path fill=\\\"#334BFA\\\" d=\\\"M17.839 4.635h15.604v2H17.839zm0 3.5h12.604v2H17.839zm0 3.5h16.354v2H17.839zm15.852 25.773a2.78 2.78 0 003.523-2.678h1.024l-.138 4.309-4.59.17zm-2.156-10.995a2.788 2.788 0 11-2.788 2.787 2.788 2.788 0 012.788-2.787z\\\"/><path d=\\\"M38.164 21.072h-7.726v2h6.726v14.75h-.71a12.229 12.229 0 01-8.48-3.59 8.239 8.239 0 00-8.81-1.85V29.1a10.572 10.572 0 01-2 1.682v8.039a1 1 0 001 1h20a1 1 0 001-1V22.072a1 1 0 00-1-1zm-19 16.75v-1a3 3 0 012.93-3 6.168 6.168 0 014.47 1.8 14.372 14.372 0 002.82 2.2zm2.791-16.785c.024.294.04.59.04.89a10.71 10.71 0 01-.06 1.11h4.615v-2z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M15.313 10.892V6.913H8.582v3.935A11.446 11.446 0 1022.9 21.927c0-.294-.016-.584-.037-.871h-1.8c.026.286.04.577.04.871A9.647 9.647 0 119.65 12.455l.733-.139v-3.6h3.129v3.567l.692.165z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M11.7 17.542v4.823H6.877\\\" fill=\\\"#fff\\\"/><path d=\\\"M11.7 23.265H6.877v-1.8H10.8v-3.922h1.8v4.822a.9.9 0 01-.9.9zM6.813 6.913h7.52v1.801h-7.52z\\\" fill=\\\"#334BFA\\\"/><path d=\\\"M37.147 1.257h-21.3a1.282 1.282 0 00-1.286 1.283v13.424a1.282 1.282 0 001.282 1.282H21.5a2.166 2.166 0 011.531.634l3.63 4.131 3.631-4.131a2.166 2.166 0 011.531-.634h5.324a1.282 1.282 0 001.283-1.282V2.54a1.282 1.282 0 00-1.283-1.283z\\\" fill=\\\"#fff\\\"/><path d=\\\"M26.661 23.011a1 1 0 01-.751-.339l-3.63-4.131a1.142 1.142 0 00-.781-.3h-5.656a2.284 2.284 0 01-2.282-2.282V2.54A2.285 2.285 0 0115.843.257h21.3A2.285 2.285 0 0139.43 2.54v13.424a2.285 2.285 0 01-2.283 2.282h-5.323a1.159 1.159 0 00-.825.342l-3.587 4.084a1 1 0 01-.751.339zM15.843 2.257a.283.283 0 00-.282.283v13.424a.283.283 0 00.282.282H21.5a3.144 3.144 0 012.239.928l2.922 3.326 2.88-3.277a3.175 3.175 0 012.283-.974h5.323a.283.283 0 00.283-.282V2.54a.283.283 0 00-.283-.283z\\\" fill=\\\"#334BFA\\\"/><path fill=\\\"#334BFA\\\" d=\\\"M18.072 4.635h15.604v2H18.072zm0 3.5h12.604v2H18.072zm0 3.5h16.354v2H18.072z\\\"/></svg>\",\n    \"track-leads\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 31 31.99\\\"><defs><style>.cls-1{fill:#334bfa}</style></defs><g id=\\\"Layer_2\\\" data-name=\\\"Layer 2\\\"><g id=\\\"Layer_1-2\\\" data-name=\\\"Layer 1\\\"><path class=\\\"cls-1\\\" d=\\\"M13 19.99h2v6h-2zm5-3h2v9h-2zm5-3h2v12h-2z\\\"/><path class=\\\"cls-1\\\" d=\\\"M30 9H18.89l5.76-5.38c-.16.65-.37 1.37-.6 2.06l1.9.63c1.63-4.89 1-5.56.63-5.88s-1-1-5.9.62l.65 1.89c.56-.19 1.13-.36 1.67-.51L16 9H6a1 1 0 00-1 1v7.14a4 4 0 00-1.89 6.61A6 6 0 000 29v3h2v-3a4 4 0 018 0v1H4v2h7a1 1 0 001-1v-1h18a1 1 0 001-1V10a1 1 0 00-1-1zM4 21a2 2 0 112 2 2 2 0 01-2-2zm25 7H11.91a6 6 0 00-3-4.25A4 4 0 007 17.13V11h6.82l-3.5 3.27 1.37 1.46L16.75 11H29z\\\"/></g></g></svg>\",\n    \"translate\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 40 40\\\"><g clip-path=\\\"url(#clip0)\\\" fill=\\\"#334BFA\\\"><path d=\\\"M3.833 1.917h15.334c1.058 0 1.916.858 1.916 1.916V14H23V3.833A3.833 3.833 0 0 0 19.167 0H3.833A3.833 3.833 0 0 0 0 3.833v15.334A3.833 3.833 0 0 0 3.833 23H14v-1.917H3.833a1.917 1.917 0 0 1-1.916-1.916V3.833c0-1.058.858-1.916 1.916-1.916z\\\"/><path d=\\\"M33.992 22.212h-4.558V20H25.74v2.212h-5.488v3.624h2.317c.599 1.485 1.324 2.832 2.212 4.024-1.13.7-2.472 1.255-4.036 1.667l-1.513.399.998 1.206c.297.358.76 1.067.909 1.398l.365.809.847-.267c1.939-.613 3.649-1.423 5.143-2.49 1.475 1.102 3.232 1.933 5.313 2.463l.763.194.368-.695c.221-.418.698-1.112 1.013-1.427l1.286-1.286-1.775-.397c-1.581-.354-2.93-.908-4.076-1.624.909-1.156 1.666-2.472 2.276-3.974h2.33v-3.624h-1zM17 20a3 3 0 0 1 3-3h15a3 3 0 0 1 3 3v15a3 3 0 0 1-3 3H20a3 3 0 0 1-3-3V20zm9.67 5.836h1.808a10.92 10.92 0 0 1-.883 1.434 11.17 11.17 0 0 1-.924-1.434z\\\" stroke=\\\"#334BFA\\\" stroke-width=\\\"2\\\"/><path d=\\\"M6.504 15.076c0 .56.434 1.008.994 1.008.448 0 .812-.252.994-.672l.686-1.61h4.312l.658 1.54c.196.448.532.742 1.036.742.574 0 1.022-.462 1.022-1.036 0-.14-.042-.28-.112-.434L12.678 6.9c-.238-.532-.658-.854-1.246-.854h-.126c-.588 0-1.022.322-1.26.854L6.63 14.614c-.07.154-.126.308-.126.462zm3.472-3.178l1.358-3.234 1.358 3.234H9.976zM32.995 14c.444 0 1.497 0 4.005-4.53l-1.817-.95c-.371.66-.801 1.33-1.183 1.9V7h-2v3.39c-.382-.57-.822-1.22-1.194-1.87L29 9.52C31.57 14 32.53 14 32.995 14zM34 7V5.833A3.833 3.833 0 0 0 30.167 2H25v2h5.167C31.225 4 32 4.775 32 5.833V7h2zM2 29.53C4.508 25 5.561 25 6.005 25 6.47 25 7.43 25 10 29.48l-1.806 1c-.35-.61-.759-1.221-1.124-1.765L7 28.61v4.557C7 34.225 7.775 35 8.833 35H14v2H8.833A3.833 3.833 0 0 1 5 33.167V28.58c-.382.57-.812 1.24-1.183 1.9L2 29.53z\\\"/></g></svg>\",\n    \"write-articles\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 32 21\\\"><g data-name=\\\"Layer 2\\\"><path d=\\\"M30.83 1.17a4 4 0 00-5.66 0L12.7 13.64a1 1 0 00-.26.46L11 19.76A1 1 0 0012 21a1 1 0 00.24 0l5.66-1.41a1 1 0 00.46-.26l12.47-12.5a4 4 0 000-5.66zM14.56 18.33l-.9-.9.57-2.26 2.59 2.59zM25 9.81l-6.66 6.65-2.83-2.83 8.94-8.93c2.69 2.74.55 5.11.55 5.11zm4.4-4.4l-.71.71-2.81-2.83.71-.71a2 2 0 012.83 0 2 2 0 010 2.83zM0 19h9v2H0zm0-6h10v2H0zm0-6h15v2H0z\\\" fill=\\\"#334BFA\\\" data-name=\\\"Layer 1\\\"/></g></svg>\"\n  },\n  \"upgrade-modal-arrow\": \"<svg viewBox=\\\"0 0 40 40\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><circle cx=\\\"20\\\" cy=\\\"20\\\" r=\\\"19\\\" stroke=\\\"#822AF0\\\" stroke-width=\\\"2\\\"/><path d=\\\"M17.75 29h4.5v-9H29l-9-9-9 9h6.75v9z\\\" fill=\\\"#822AF0\\\"/></svg>\\n\"\n};","export default Ember.HTMLBars.template({\"id\":\"oEmm98/z\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"main-application-loading-screen\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/application-loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"FrqzEz7i\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"application-component\\\",[],[[\\\"@actionReceiver\\\",\\\"@app\\\"],[[34,1],[34,2]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,3],[[35,0]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"embercom-revision-banner\\\",[],[[\\\"@embercomRevision\\\"],[[34,0]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"app__wrapper test__app-wrapper layout__box o__has-rows \\\",[30,[36,3],[[35,4],\\\"appstore\\\"],null],\\\" \\\",[30,[36,3],[[35,0],\\\"o__has-banner\\\"],null]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,6],[[35,2,[\\\"id\\\"]],[30,[36,5],[[35,2,[\\\"isTestApp\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"onboarding/home/banner-wrapper\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-columns u__relative h-full\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[30,[36,8],[[30,[36,7],null,null]],null]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[1,[30,[36,8],[[30,[36,7],[\\\"feature-upgrade-prompt\\\"],null]],null]],[2,\\\"\\\\n  \\\"],[1,[30,[36,8],[[30,[36,7],[\\\"guide\\\"],null]],null]],[2,\\\"\\\\n  \\\"],[1,[30,[36,8],[[30,[36,7],[\\\"confirm\\\"],null]],null]],[2,\\\"\\\\n  \\\"],[1,[30,[36,8],[[30,[36,7],[\\\"modal\\\"],null]],null]],[2,\\\"\\\\n  \\\"],[1,[30,[36,8],[[30,[36,7],[\\\"secondary_modal\\\"],null]],null]],[2,\\\"\\\\n  \\\"],[8,\\\"notifications-component\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"ember_rev\\\",\\\"applicationComponent\\\",\\\"app\\\",\\\"if\\\",\\\"isBootedInPublicAppStoreMode\\\",\\\"not\\\",\\\"and\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/application.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"GExHkMy1\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\"],\\\"statements\\\":[[6,[37,1],[[35,12]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"primary-nav\\\",[],[[\\\"@app\\\",\\\"@admin\\\",\\\"@openModifyProductsModal\\\"],[[34,0],[34,9],[30,[36,11],[[32,0],\\\"openModifyProductsModal\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[8,\\\"terms-of-service-notification-component\\\",[],[[\\\"@app\\\",\\\"@admin\\\"],[[34,0],[34,9]]],null],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,13]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"important-admin-notification-component\\\",[],[[\\\"@disabled\\\",\\\"@notifications\\\"],[[30,[36,10],[[35,9,[\\\"terms_of_service_accepted\\\"]]],null],[34,9,[\\\"importantAdminNotifications\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[8,\\\"app-framework/messenger-apps/styles\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"main__content-well layout__box o__flexes-to-1 o__has-rows \\\",[30,[36,1],[[35,15],\\\"o__under-construction\\\"],null],\\\" \\\",[30,[36,1],[[35,14],\\\"main__content-outlet o__without-submenu\\\"],null]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,0,[\\\"impersonation_session\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"intercomrade-impersonation-warning\\\",[],[[\\\"@app\\\"],[[34,0]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"layout__box o__flexes-to-1 \\\",[30,[36,1],[[35,16],\\\"o__has-columns\\\",\\\"o__has-rows o__scrolls\\\"],null]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,16]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"platform-nav-bar\\\",[],[[\\\"@isOnCompaniesRoute\\\",\\\"@isOnUsersRoute\\\",\\\"@userSegmentController\\\",\\\"@companySegmentController\\\",\\\"@usersController\\\",\\\"@companiesController\\\",\\\"@showCompanyLink\\\"],[[34,2],[34,3],[34,4],[34,5],[34,6],[34,7],[34,8]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"layout__box o__has-rows o__flexes-to-1 \\\",[30,[36,1],[[35,16],\\\"main__content-outlet\\\"],null],\\\" \\\",[30,[36,1],[[35,17],\\\"o__without-submenu\\\"],null]]]],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"layout__box o__has-rows o__flexes-to-1 \\\",[30,[36,1],[[35,16],\\\"o__scrolls\\\"],null]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,16]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[35,0,[\\\"canUseFree\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\",\\\"@forceInactive\\\"],[\\\"team_inboxes\\\",[34,0,[\\\"hasActiveSubscription\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,[32,1,[\\\"Banner\\\"]],[],[[\\\"@content\\\"],[\\\"Get more out of Intercom. Manage conversations with leads and customers at scale. View plans →\\\"]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[8,\\\"banners/missing-shipping-address\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[1,[30,[36,19],[[30,[36,18],null,null]],null]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"app\\\",\\\"if\\\",\\\"isOnCompaniesRoute\\\",\\\"isOnUsersRoute\\\",\\\"userSegmentController\\\",\\\"companySegmentController\\\",\\\"usersController\\\",\\\"companiesController\\\",\\\"showCompanyLink\\\",\\\"admin\\\",\\\"not\\\",\\\"action\\\",\\\"showPrimaryNav\\\",\\\"canUseImportantAdminNotifications\\\",\\\"isOnRouteWithoutSubmenuAndShouldRoundBorders\\\",\\\"showUnderConstructionBanner\\\",\\\"isOnPlatformRoute\\\",\\\"navbarCollapsed\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"whgWmtkY\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1 js__main-container\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"account/your-settings-submenu\\\",[],[[\\\"@currentRouteName\\\"],[[34,0]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"layout__box o__has-rows o__flexes-to-1 main__content-outlet \\\",[30,[36,2],[[35,1,[\\\"navbarCollapsed\\\"]],\\\"o__without-submenu\\\"],null]]]],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,4],[[30,[36,3],null,null]],null]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"currentRouteName\\\",\\\"appController\\\",\\\"if\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/account.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"WQIEth0W\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[32,0,[\\\"titleToken\\\"]]]],null],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3 o__no-visual-margins\\\"],[12],[2,\\\"\\\\n    Give Intercom access to your account\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"model\\\",\\\"isActive\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    You approved Intercom's access to your account at\\\\n    \\\"],[10,\\\"time\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[30,[36,1],null,[[\\\"date\\\",\\\"format\\\"],[[32,0,[\\\"model\\\",\\\"createdAt\\\"]],\\\"fullDateAndTime\\\"]]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\".\\\\n    Your approval will expire after 30 days at\\\\n    \\\"],[10,\\\"time\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[30,[36,1],null,[[\\\"date\\\",\\\"format\\\"],[[32,0,[\\\"model\\\",\\\"expiredAt\\\"]],\\\"fullDateAndTime\\\"]]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\".\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@label\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[\\\"primary-destructive\\\",\\\"Revoke Intercom access\\\",[30,[36,0],[[32,0],\\\"revokeConsent\\\"],null],[32,0,[\\\"isImpersonationSession\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n      We may need to temporarily access your account to diagnose and resolve a customer support issue you’ve raised. Our access automatically expires after 30 days.\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@label\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[\\\"primary\\\",\\\"Approve Intercom access\\\",[30,[36,0],[[32,0],\\\"giveConsent\\\"],null],[32,0,[\\\"isImpersonationSession\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3 o__no-visual-margins\\\"],[12],[2,\\\"\\\\n    Intercom access approval history\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[30,[36,3],[[32,0,[\\\"rows\\\",\\\"length\\\"]],0],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-layout\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\"],[\\\"campaign\\\",\\\"No history\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"ic-legacy-table\\\",[],[[\\\"@columns\\\",\\\"@rows\\\"],[[32,0,[\\\"columns\\\"]],[32,0,[\\\"rows\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"format-date\\\",\\\"if\\\",\\\"eq\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/account/account-access.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"uwSEQcl/\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[32,0,[\\\"titleToken\\\"]]]],null],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[14,0,\\\"t__label f__group-label\\\"],[12],[2,\\\"\\\\n      Email Address\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"admin\\\",\\\"pending_email_change\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\"],[\\\"warning\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n          Check your email\\\\n          \\\"],[10,\\\"b\\\"],[12],[1,[32,0,[\\\"admin\\\",\\\"pending_email_change\\\"]]],[13],[2,\\\"\\\\n          to confirm your new address. The change won't take effect until it's confirmed.\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"isEmailResending\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"tiny\\\"]],null],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n                Resending email…\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"              \\\"],[11,\\\"a\\\"],[24,0,\\\"u__u\\\"],[4,[38,0],[[32,0],\\\"resendValidationEmail\\\"],null],[12],[2,\\\"\\\\n                Resend verification email\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n            or\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"isEmailCanceling\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"tiny\\\"]],null],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n                canceling change…\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"              \\\"],[11,\\\"a\\\"],[24,0,\\\"u__u\\\"],[4,[38,0],[[32,0],\\\"cancelValidationEmail\\\"],null],[12],[2,\\\"\\\\n                cancel this change\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[32,0,[\\\"admin\\\",\\\"on_bounce_list\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\"],[\\\"warning\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n          We are unable to deliver email to\\\\n          \\\"],[10,\\\"b\\\"],[12],[1,[32,0,[\\\"admin\\\",\\\"email\\\"]]],[13],[2,\\\".\\\\n          Please update your email address or reach out to our support team.\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[6,[37,1],[[32,0,[\\\"admin\\\",\\\"canChangeEmail\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"input\\\",[[24,0,\\\"f__text test__admin-settings__email-input\\\"],[24,\\\"placeholder\\\",\\\"Enter your email\\\"]],[[\\\"@value\\\",\\\"@type\\\"],[[32,0,[\\\"newAdminEmail\\\"]],\\\"email\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"input\\\",[[24,0,\\\"f__text test__admin-settings__email-input\\\"]],[[\\\"@value\\\",\\\"@type\\\",\\\"@disabled\\\"],[[32,0,[\\\"newAdminEmail\\\"]],\\\"email\\\",\\\"true\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"requiresPasswordForSave\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"p\\\"],[14,0,\\\"t__label f__group-label\\\"],[12],[2,\\\"\\\\n        Current Password\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[8,\\\"input\\\",[[24,0,\\\"f__text test__admin-settings__password-input\\\"],[24,\\\"placeholder\\\",\\\"Enter your current password\\\"],[24,\\\"autocomplete\\\",\\\"off\\\"]],[[\\\"@value\\\",\\\"@type\\\"],[[32,0,[\\\"password\\\"]],\\\"password\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\",\\\"@testBindingClass\\\"],[\\\"primary\\\",[30,[36,0],[[32,0],\\\"save\\\"],null],[32,0,[\\\"saveDisabled\\\"]],\\\"test__admin-settings__save-name-or-email\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"isSaving\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      Saving…\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      Save changes\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[14,0,\\\"t__label f__group-label\\\"],[12],[2,\\\"\\\\n      Photo\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[8,\\\"account/account-admin-avatar-component\\\",[],[[\\\"@admin\\\",\\\"@finishActiveCard\\\"],[[32,0,[\\\"admin\\\"]],[30,[36,0],[[32,0],\\\"adminAvatarChange\\\"],null]]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-1\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n      Photo will be shown to your users when you send them messages or reply to them. Max photo size 1 MB.\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"admin\\\",\\\"has_password\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@tagName\\\",\\\"@classNames\\\"],[\\\"apps.app.account.password\\\",\\\"span\\\",\\\"btn o__secondary test__admin-settings__change-pass-button\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        Change Password\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"admin\\\",\\\"has_enabled_2fa\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@testBindingClass\\\"],[\\\"Disable Two Factor Authentication\\\",\\\"secondary\\\",[30,[36,0],[[32,0],\\\"disable2FA\\\"],null],\\\"test__admin-settings__disable2FA\\\"]],null],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[10,\\\"a\\\"],[14,6,\\\"/admins/send_recovery_codes\\\"],[12],[2,\\\"\\\\n          Download Recovery Codes\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@tagName\\\",\\\"@classNames\\\"],[\\\"apps.app.account.two_factor_auth\\\",\\\"span\\\",\\\"btn o__secondary test__admin-settings__2FA-button\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          Setup Two Factor Authentication\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/account/general.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"iw/Dporw\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"main-content-loading\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/account/loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"aKzhW2rK\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\",\\\"@modalClass\\\"],[\\\"closeModal\\\",\\\"o__confirm\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Desktop notifications\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,0],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,1],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body o__no-footer u__centered-text-block\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[8,\\\"ic-illustrative-icon\\\",[],[[\\\"@name\\\"],[\\\"notification-desktop\\\"]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-8\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n      Please click \\\\\\\"Allow\\\\\\\" above to enable Desktop Notifications\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/account/notifications-ask-modal.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"+uoC4DU3\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\",\\\"@modalClass\\\"],[\\\"closeModal\\\",\\\"o__confirm\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Desktop notifications\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,0],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,1],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body o__no-footer u__centered-text-block\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n      Looks like you've denied access to Desktop Notifications.\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n      You may need to re-enable it in your browser settings to receive them.\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/account/notifications-denied-modal.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"TZriCd0k\",\"block\":\"{\\\"symbols\\\":[\\\"opener\\\"],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[32,0,[\\\"titleToken\\\"]]]],null],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__scrolls\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner m__settings__notifications__header\\\"],[12],[2,\\\"\\\\n    Get notified about conversation activity across all your workspaces:\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"m__settings__notifications__header__item flex items-center o__desktop\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"u__mr__10 u__pad__10\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"ic-illustrative-icon\\\",[],[[\\\"@name\\\"],[\\\"notification-desktop\\\"]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n              Desktop\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n              A banner in the corner of your screen\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"m__settings__notifications__header__item flex items-center o__mobile\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"u__mr__10 u__pad__10\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"ic-illustrative-icon\\\",[],[[\\\"@name\\\"],[\\\"notification-mobile-push\\\"]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n              Mobile\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n              A notification on your phone\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"m__settings__notifications__header__item flex items-center o__email\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"u__mr__10 u__pad__10\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"ic-illustrative-icon\\\",[],[[\\\"@name\\\"],[\\\"email\\\"]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n              Email\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n              Conversations sent to your inbox\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-center\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[32,0,[\\\"admin\\\",\\\"canUseInboxInAnyApp\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          Activity in all \\\"],[10,\\\"b\\\"],[12],[2,\\\"unassigned\\\"],[13],[2,\\\" conversations\\\\n\\\"],[6,[37,3],[[32,0,[\\\"showRespondTooltip\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"ic-tooltip-icon\\\",[],[[\\\"@content\\\"],[[30,[36,5],[\\\"You'll only get this notification on workspaces that have \\\",[32,0,[\\\"app\\\",\\\"inboxProduct\\\",\\\"name\\\"]]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          Activity in \\\"],[10,\\\"b\\\"],[12],[2,\\\"all conversations\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__ml__10\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n            \\\"],[11,\\\"span\\\"],[24,0,\\\"f__checkbox-wrapper\\\"],[4,[38,1],null,[[\\\"content\\\",\\\"isDisabled\\\"],[[32,0,[\\\"noWebPushSupportMessage\\\"]],[32,0,[\\\"hasWebPushSupport\\\"]]]]],[12],[2,\\\"\\\\n              \\\"],[8,\\\"one-way-checkbox\\\",[],[[\\\"@checked\\\",\\\"@disabled\\\",\\\"@update\\\"],[[32,0,[\\\"model\\\",\\\"webPushForUnassigned\\\"]],[32,0,[\\\"noWebPushSupport\\\"]],[30,[36,0],[[32,0],\\\"webPushSettingsChanged\\\",\\\"model.webPushForUnassigned\\\"],null]]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[15,0,[31,[\\\"f__checkbox-content \\\",[30,[36,3],[[32,0,[\\\"noWebPushSupport\\\"]],\\\"o__disabled\\\"],null]]]],[12],[2,\\\"\\\\n              Desktop\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[32,0,[\\\"model\\\",\\\"mobileForUnassigned\\\"]]]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n              Mobile\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[32,0,[\\\"model\\\",\\\"emailForUnassigned\\\"]]]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n              Email\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[32,0,[\\\"admin\\\",\\\"canUseInboxInAnyApp\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-center\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n          Activity in anything \\\"],[10,\\\"b\\\"],[12],[2,\\\"assigned to you\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[32,0,[\\\"showRespondTooltip\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"ic-tooltip-icon\\\",[],[[\\\"@content\\\"],[[30,[36,5],[\\\"You'll only get this notification on workspaces that have \\\",[32,0,[\\\"app\\\",\\\"inboxProduct\\\",\\\"name\\\"]]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__ml__10\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n              \\\"],[11,\\\"span\\\"],[24,0,\\\"f__checkbox-wrapper\\\"],[4,[38,1],null,[[\\\"content\\\",\\\"isDisabled\\\"],[[32,0,[\\\"noWebPushSupportMessage\\\"]],[32,0,[\\\"hasWebPushSupport\\\"]]]]],[12],[2,\\\"\\\\n                \\\"],[8,\\\"one-way-checkbox\\\",[],[[\\\"@checked\\\",\\\"@disabled\\\",\\\"@update\\\"],[[32,0,[\\\"model\\\",\\\"webPushForAssignedToMe\\\"]],[32,0,[\\\"noWebPushSupport\\\"]],[30,[36,0],[[32,0],\\\"webPushSettingsChanged\\\",\\\"model.webPushForAssignedToMe\\\"],null]]],null],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[15,0,[31,[\\\"f__checkbox-content \\\",[30,[36,3],[[32,0,[\\\"noWebPushSupport\\\"]],\\\"o__disabled\\\"],null]]]],[12],[2,\\\"\\\\n                Desktop\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n                \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[32,0,[\\\"model\\\",\\\"mobileForAssignedToMe\\\"]]]],null],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n                Mobile\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n                \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[32,0,[\\\"model\\\",\\\"emailForAssignedToMe\\\"]]]],null],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n                Email\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,3],[[32,0,[\\\"admin\\\",\\\"canUseInboxInAnyApp\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-center\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n          Activity in \\\"],[10,\\\"b\\\"],[12],[2,\\\"any of your teams\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[32,0,[\\\"showRespondTooltip\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"ic-tooltip-icon\\\",[],[[\\\"@content\\\"],[[30,[36,5],[\\\"You'll only get this notification on workspaces that have \\\",[32,0,[\\\"app\\\",\\\"inboxProduct\\\",\\\"name\\\"]]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__ml__10\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n              \\\"],[11,\\\"span\\\"],[24,0,\\\"f__checkbox-wrapper\\\"],[4,[38,1],null,[[\\\"content\\\",\\\"isDisabled\\\"],[[32,0,[\\\"noWebPushSupportMessage\\\"]],[32,0,[\\\"hasWebPushSupport\\\"]]]]],[12],[2,\\\"\\\\n                \\\"],[8,\\\"one-way-checkbox\\\",[],[[\\\"@checked\\\",\\\"@disabled\\\",\\\"@update\\\"],[[32,0,[\\\"model\\\",\\\"webPushForAssignedToTeam\\\"]],[32,0,[\\\"noWebPushSupport\\\"]],[30,[36,0],[[32,0],\\\"webPushSettingsChanged\\\",\\\"model.webPushForAssignedToTeam\\\"],null]]],null],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[15,0,[31,[\\\"f__checkbox-content \\\",[30,[36,3],[[32,0,[\\\"noWebPushSupport\\\"]],\\\"o__disabled\\\"],null]]]],[12],[2,\\\"\\\\n                Desktop\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n                \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[32,0,[\\\"model\\\",\\\"mobileForAssignedToTeam\\\"]]]],null],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n                Mobile\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n                \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[32,0,[\\\"model\\\",\\\"emailForAssignedToTeam\\\"]]]],null],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n                Email\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,3],[[32,0,[\\\"admin\\\",\\\"canUseInboxInAnyApp\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-center\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n          Activity in conversations \\\"],[10,\\\"b\\\"],[12],[2,\\\"assigned to other teams or teammates\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[32,0,[\\\"showRespondTooltip\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"ic-tooltip-icon\\\",[],[[\\\"@content\\\"],[[30,[36,5],[\\\"You’ll only get this notification on workspaces that have \\\",[32,0,[\\\"app\\\",\\\"inboxProduct\\\",\\\"name\\\"]]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__ml__10\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n              \\\"],[11,\\\"span\\\"],[24,0,\\\"f__checkbox-wrapper\\\"],[4,[38,1],null,[[\\\"content\\\",\\\"isDisabled\\\"],[[32,0,[\\\"noWebPushSupportMessage\\\"]],[32,0,[\\\"hasWebPushSupport\\\"]]]]],[12],[2,\\\"\\\\n                \\\"],[8,\\\"one-way-checkbox\\\",[],[[\\\"@checked\\\",\\\"@disabled\\\",\\\"@update\\\"],[[32,0,[\\\"model\\\",\\\"webPushForOtherTeamsAndTeammates\\\"]],[32,0,[\\\"noWebPushSupport\\\"]],[30,[36,0],[[32,0],\\\"webPushSettingsChanged\\\",\\\"model.webPushForOtherTeamsAndTeammates\\\"],null]]],null],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[15,0,[31,[\\\"f__checkbox-content \\\",[30,[36,3],[[32,0,[\\\"noWebPushSupport\\\"]],\\\"o__disabled\\\"],null]]]],[12],[2,\\\"\\\\n                Desktop\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n                \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[32,0,[\\\"model\\\",\\\"mobileForOtherTeamsAndTeammates\\\"]]]],null],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n                Mobile\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n                \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[32,0,[\\\"model\\\",\\\"emailForOtherTeamsAndTeammates\\\"]]]],null],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n                Email\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-center\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n        Any \\\"],[10,\\\"b\\\"],[12],[2,\\\"mentions of you\\\"],[13],[2,\\\"\\\\n        in a conversation\\\\n\\\"],[6,[37,3],[[32,0,[\\\"showRespondTooltip\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"ic-tooltip-icon\\\",[],[[\\\"@content\\\"],[[30,[36,5],[\\\"You'll only get this notification on workspaces that have \\\",[32,0,[\\\"app\\\",\\\"inboxProduct\\\",\\\"name\\\"]]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__ml__10\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n            \\\"],[11,\\\"span\\\"],[24,0,\\\"f__checkbox-wrapper\\\"],[4,[38,1],null,[[\\\"content\\\",\\\"isDisabled\\\"],[[32,0,[\\\"noWebPushSupportMessage\\\"]],[32,0,[\\\"hasWebPushSupport\\\"]]]]],[12],[2,\\\"\\\\n              \\\"],[8,\\\"one-way-checkbox\\\",[],[[\\\"@checked\\\",\\\"@disabled\\\",\\\"@update\\\"],[[32,0,[\\\"model\\\",\\\"webPushForMentions\\\"]],[32,0,[\\\"noWebPushSupport\\\"]],[30,[36,0],[[32,0],\\\"webPushSettingsChanged\\\",\\\"model.webPushForMentions\\\"],null]]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[15,0,[31,[\\\"f__checkbox-content \\\",[30,[36,3],[[32,0,[\\\"noWebPushSupport\\\"]],\\\"o__disabled\\\"],null]]]],[12],[2,\\\"\\\\n              Desktop\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[32,0,[\\\"model\\\",\\\"mobileForMentions\\\"]]]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n              Mobile\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\",\\\"@disabled\\\"],[\\\"checkbox\\\",[32,0,[\\\"model\\\",\\\"emailForMentions\\\"]],[30,[36,7],[[32,0,[\\\"app\\\",\\\"requiresInboxSeatAccess\\\"]],[30,[36,6],[[32,0,[\\\"admin\\\",\\\"hasInboxAccess\\\"]]],null]],null]]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n              Email\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[32,0,[\\\"app\\\",\\\"requiresInboxSeatAccess\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-center\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n          Activity on conversations \\\"],[10,\\\"b\\\"],[12],[2,\\\"started from messages you sent\\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__ml__10\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n              \\\"],[11,\\\"span\\\"],[24,0,\\\"f__checkbox-wrapper\\\"],[4,[38,1],null,[[\\\"content\\\",\\\"isDisabled\\\"],[[32,0,[\\\"noWebPushSupportMessage\\\"]],[32,0,[\\\"hasWebPushSupport\\\"]]]]],[12],[2,\\\"\\\\n                \\\"],[8,\\\"one-way-checkbox\\\",[],[[\\\"@checked\\\",\\\"@disabled\\\",\\\"@update\\\"],[[32,0,[\\\"model\\\",\\\"webPushForMessagesYouSent\\\"]],[32,0,[\\\"noWebPushSupport\\\"]],[30,[36,0],[[32,0],\\\"webPushSettingsChanged\\\",\\\"model.webPushForMessagesYouSent\\\"],null]]],null],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[15,0,[31,[\\\"f__checkbox-content \\\",[30,[36,3],[[32,0,[\\\"noWebPushSupport\\\"]],\\\"o__disabled\\\"],null]]]],[12],[2,\\\"\\\\n                Desktop\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n                \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[32,0,[\\\"model\\\",\\\"mobileForMessagesYouSent\\\"]]]],null],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n                Mobile\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n                \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[32,0,[\\\"model\\\",\\\"emailForMessagesYouSent\\\"]]]],null],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n                Email\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-center\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n        New conversations with \\\"],[10,\\\"b\\\"],[12],[2,\\\"leads and users you own\\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__ml__10\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n            \\\"],[11,\\\"span\\\"],[24,0,\\\"f__checkbox-wrapper\\\"],[4,[38,1],null,[[\\\"content\\\",\\\"isDisabled\\\"],[[32,0,[\\\"noWebPushSupportMessage\\\"]],[32,0,[\\\"hasWebPushSupport\\\"]]]]],[12],[2,\\\"\\\\n              \\\"],[8,\\\"one-way-checkbox\\\",[],[[\\\"@checked\\\",\\\"@disabled\\\",\\\"@update\\\"],[[32,0,[\\\"model\\\",\\\"webPushForOwnedConversations\\\"]],[32,0,[\\\"noWebPushSupport\\\"]],[30,[36,0],[[32,0],\\\"webPushSettingsChanged\\\",\\\"model.webPushForOwnedConversations\\\"],null]]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[15,0,[31,[\\\"f__checkbox-content \\\",[30,[36,3],[[32,0,[\\\"noWebPushSupport\\\"]],\\\"o__disabled\\\"],null]]]],[12],[2,\\\"\\\\n              Desktop\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[32,0,[\\\"model\\\",\\\"mobileForOwnedConversations\\\"]]]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n              Mobile\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[32,0,[\\\"model\\\",\\\"emailForOwnedConversations\\\"]]]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n              Email\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[32,0,[\\\"app\\\",\\\"hasAccountMarketingBillingFeature\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-center\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"b\\\"],[12],[2,\\\"Leads from accounts you own\\\"],[13],[2,\\\"\\\\n          revisit your website\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__ml__10\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n              \\\"],[11,\\\"span\\\"],[24,0,\\\"f__checkbox-wrapper\\\"],[4,[38,1],null,[[\\\"content\\\",\\\"isDisabled\\\"],[[32,0,[\\\"noWebPushSupportMessage\\\"]],[32,0,[\\\"hasWebPushSupport\\\"]]]]],[12],[2,\\\"\\\\n                \\\"],[10,\\\"input\\\"],[15,\\\"checked\\\",[32,0,[\\\"model\\\",\\\"webPushForOwnedAccountRevisits\\\"]]],[15,\\\"oninput\\\",[30,[36,0],[[32,0],\\\"webPushSettingsChanged\\\",\\\"model.webPushForOwnedAccountRevisits\\\",[30,[36,2],[[32,0,[\\\"model\\\",\\\"webPushForOwnedAccountRevisits\\\"]]],null]],null]],[14,4,\\\"checkbox\\\"],[12],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[15,0,[31,[\\\"f__checkbox-content \\\",[30,[36,3],[[32,0,[\\\"noWebPushSupport\\\"]],\\\"o__disabled\\\"],null]]]],[12],[2,\\\"\\\\n                Desktop\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"input\\\"],[15,\\\"checked\\\",[32,0,[\\\"model\\\",\\\"mobileForOwnedAccountRevisits\\\"]]],[15,\\\"oninput\\\",[30,[36,0],[[32,0],[30,[36,4],[[32,0,[\\\"model\\\",\\\"mobileForOwnedAccountRevisits\\\"]]],null]],[[\\\"value\\\"],[\\\"target.checked\\\"]]]],[14,4,\\\"checkbox\\\"],[12],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n                Mobile\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label o__inline\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"input\\\"],[15,\\\"checked\\\",[32,0,[\\\"model\\\",\\\"emailForOwnedAccountRevisits\\\"]]],[15,\\\"oninput\\\",[30,[36,0],[[32,0],[30,[36,4],[[32,0,[\\\"model\\\",\\\"emailForOwnedAccountRevisits\\\"]]],null]],[[\\\"value\\\"],[\\\"target.checked\\\"]]]],[14,4,\\\"checkbox\\\"],[12],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n                Email\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group u__padl__20 u__mt__20\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__radio-group\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"label\\\"],[14,0,\\\"f__radio-label u__cf\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-wrapper\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"input\\\"],[15,\\\"checked\\\",[32,0,[\\\"accountSpecificNotificationDisabled\\\"]]],[15,\\\"oninput\\\",[30,[36,0],[[32,0],\\\"toggleSpecificPageSetting\\\",false],null]],[14,4,\\\"radio\\\"],[12],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-content\\\"],[12],[2,\\\"\\\\n              visits any page\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__radio-group\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-start\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[14,0,\\\"f__radio-label u__cf\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-wrapper\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"input\\\"],[15,\\\"checked\\\",[32,0,[\\\"accountSpecificNotificationEnabled\\\"]]],[15,\\\"oninput\\\",[30,[36,0],[[32,0],\\\"toggleSpecificPageSetting\\\",true],null]],[14,4,\\\"radio\\\"],[12],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-content\\\"],[12],[2,\\\"\\\\n                visits a specific page and the\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[8,\\\"ic-dropdown-opener\\\",[[24,0,\\\"u__ml__10 account__notifications__specific-page-editor-opener\\\"]],[[\\\"@mode\\\",\\\"@initiallyOpened\\\",\\\"@dropdownClass\\\",\\\"@dropdownComponent\\\",\\\"@dropdownComponentAttrs\\\",\\\"@constrainToOpener\\\",\\\"@isDisabled\\\"],[[30,[36,3],[[32,0,[\\\"isOneLine\\\"]],\\\"inline\\\",\\\"block\\\"],null],false,\\\"filter-block__options\\\",\\\"accounts/specific-page-editor\\\",[32,0,[\\\"specificPageNotificationEditorAttrs\\\"]],false,[32,0,[\\\"accountSpecificNotificationDisabled\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"ic-filter-block\\\",[],[[\\\"@isOneLine\\\",\\\"@name\\\",\\\"@details\\\",\\\"@isClickable\\\",\\\"@isInvalid\\\",\\\"@accountSpecificNotifcationUrl\\\"],[true,\\\"URL contains\\\",[32,0,[\\\"accountSpecificNotificationUrl\\\"]],[32,0,[\\\"accountSpecificNotificationEnabled\\\"]],[32,0,[\\\"accountSpecificNotificationUrlHasError\\\"]],[32,0,[\\\"accountSpecificNotificationUrl\\\"]]]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n      Browser notifications\\\\n\\\"],[6,[37,3],[[30,[36,7],[[32,0,[\\\"app\\\",\\\"requiresInboxSeatAccess\\\"]],[32,0,[\\\"admin\\\",\\\"canUseInboxInAnyApp\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"ic-tooltip-icon\\\",[],[[\\\"@content\\\"],[\\\"You'll only get these notification on apps where you have an Inbox seat.\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[32,0,[\\\"admin\\\",\\\"canUseInboxInAnyApp\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n        Blink your tab when there’s new activity in these conversations. You'll see these changes when you refresh the page.\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,3],[[32,0,[\\\"admin\\\",\\\"canUseInboxInAnyApp\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__checkbox-group\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\",\\\"@disabled\\\"],[\\\"checkbox\\\",true,true]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n            Assigned to you\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__checkbox-group\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[32,0,[\\\"model\\\",\\\"browserAlertsForUnassigned\\\"]]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n            Unassigned\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__checkbox-group\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[32,0,[\\\"model\\\",\\\"browserAlertsForTeam\\\"]]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n            Assigned to any of your teams\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__checkbox-group\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[32,0,[\\\"model\\\",\\\"browserAlertsForUnassigned\\\"]]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n            Blink the browser tab when there are new messages\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"flex items-start \\\",[30,[36,3],[[32,0,[\\\"admin\\\",\\\"canUseInboxInAnyApp\\\"]],\\\"u__mt__20\\\",\\\"u__mt__10\\\"],null]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,8],[[32,0,[\\\"admin\\\",\\\"canUseInboxInAnyApp\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[32,0,[\\\"model\\\",\\\"browserAudioAlerts\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"browser-alerts__toggle__label u__mr__10\\\"],[12],[2,\\\"\\\\n        Play sound when your tab blinks\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"browser-alerts__toggle flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[32,0,[\\\"admin\\\",\\\"canUseInboxInAnyApp\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"ic-on-off-toggle\\\",[],[[\\\"@isOn\\\",\\\"@onClick\\\"],[[32,0,[\\\"model\\\",\\\"browserAudioAlerts\\\"]],[30,[36,0],[[32,0],\\\"toggleBrowserAudioAlerts\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n      Daily email\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__checkbox-group\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[32,0,[\\\"receivesDailySignupEmail\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n          Get a daily list of new signups\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[32,0,[\\\"receivesDailySignupEmail\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group u__padl__20\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__radio-group\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"label\\\"],[14,0,\\\"f__radio-label u__cf\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-wrapper\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"radio-button\\\",[],[[\\\"@selection\\\",\\\"@value\\\"],[[32,0,[\\\"model\\\",\\\"dailySummaryEmailFor\\\"]],\\\"users\\\"]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-content\\\"],[12],[2,\\\"\\\\n              Get a list of new users\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__radio-group\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"label\\\"],[14,0,\\\"f__radio-label u__cf\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-wrapper\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"radio-button\\\",[],[[\\\"@selection\\\",\\\"@value\\\"],[[32,0,[\\\"model\\\",\\\"dailySummaryEmailFor\\\"]],\\\"companies\\\"]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-content\\\"],[12],[2,\\\"\\\\n              Get a list of new companies\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n      App Store updates\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__checkbox-group\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[32,0,[\\\"model\\\",\\\"updatesAboutAppsEnabled\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n          Updates about your apps\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-1 gap-4 justify-start items-center\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[\\\"Save\\\",\\\"primary\\\",[30,[36,0],[[32,0],\\\"save\\\"],null],[30,[36,9],[[32,0,[\\\"model\\\",\\\"isSaving\\\"]],[32,0,[\\\"accountSpecificNotificationUrlHasError\\\"]]],null]]],null],[2,\\\"\\\\n\\\"],[6,[37,3],[[32,0,[\\\"showGlobalNotificationNote\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"div\\\"],[14,0,\\\"u__ml__10 t__light-text\\\"],[12],[2,\\\"\\\\n            These notifications apply across all your workspaces\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/pricing-privacy-and-terms/intercom-inc-privacy-policy\\\",\\\"Privacy Policy\\\",\\\"article\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"tooltip\\\",\\\"not-eq\\\",\\\"if\\\",\\\"mut\\\",\\\"concat\\\",\\\"not\\\",\\\"and\\\",\\\"unless\\\",\\\"or\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/account/notifications.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"9Pje173G\",\"block\":\"{\\\"symbols\\\":[\\\"oauthToken\\\"],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[32,0,[\\\"titleToken\\\"]]]],null],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\"],[\\\"help\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    OAuth tokens are created when you authorize another app to access Intercom on your behalf.\\\\n\\\"],[6,[37,3],[[32,0,[\\\"emptyState\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      You currently have no active connected apps.\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,3],[[32,0,[\\\"showTable\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"table\\\"],[14,0,\\\"tbl o__fit\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"      \\\"],[10,\\\"thead\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n            App\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n            Token\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n            Revoke token?\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"tbody\\\"],[14,0,\\\"tbl__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[30,[36,1],[[30,[36,1],[[32,0,[\\\"oauthTokens\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[32,1,[\\\"client\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[32,1,[\\\"token\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Revoke\\\",\\\"secondary-destructive\\\",[30,[36,0],[[32,0,[\\\"revoke\\\"]],[32,1]],null]]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"perform\\\",\\\"-track-array\\\",\\\"each\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/account/oauth-tokens.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"curxNcSq\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[32,0,[\\\"titleToken\\\"]]]],null],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__scrolls u__padt__20 u__padb__20 u__padl__30 u__padr__30\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[14,0,\\\"t__label f__group-label\\\"],[12],[2,\\\"\\\\n      Current Password\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[8,\\\"input\\\",[[24,0,\\\"f__text test__admin-settings__change-pass-current\\\"],[24,\\\"placeholder\\\",\\\"Enter your current password\\\"],[24,\\\"autocomplete\\\",\\\"off\\\"]],[[\\\"@value\\\",\\\"@type\\\"],[[32,0,[\\\"currentPassword\\\"]],\\\"password\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[14,0,\\\"t__label f__group-label\\\"],[12],[2,\\\"\\\\n      New Password\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[8,\\\"input\\\",[[24,0,\\\"f__text test__admin-settings__change-pass-new\\\"],[24,\\\"placeholder\\\",\\\"Enter your new password\\\"]],[[\\\"@value\\\",\\\"@type\\\"],[[32,0,[\\\"newPassword\\\"]],\\\"password\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[14,0,\\\"t__label f__group-label\\\"],[12],[2,\\\"\\\\n      Confirm New Password\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[8,\\\"input\\\",[[24,0,\\\"f__text test__admin-settings__change-pass-confirm\\\"],[24,\\\"placeholder\\\",\\\"Confirm your new password\\\"]],[[\\\"@value\\\",\\\"@type\\\"],[[32,0,[\\\"confirmPassword\\\"]],\\\"password\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@inLeftList\\\",\\\"@testBindingClass\\\"],[\\\"Save\\\",\\\"primary\\\",[30,[36,0],[[32,0],\\\"save\\\"],null],true,\\\"test__admin-settings__save-pass-change\\\"]],null],[2,\\\"\\\\n    \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@tagName\\\",\\\"@classNames\\\"],[\\\"apps.app.account.general\\\",\\\"span\\\",\\\"btn o__secondary o__in-left-list\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      Cancel\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/account/password.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"E3BWMCYD\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[32,0,[\\\"titleToken\\\"]]]],null],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"p\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n    Download the free\\\\n    \\\"],[10,\\\"a\\\"],[14,6,\\\"https://support.google.com/accounts/answer/1066447?hl=en\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[2,\\\"\\\\n      Google Authenticator\\\\n    \\\"],[13],[2,\\\"\\\\n    app on your mobile device, click add and then scan this QR code to set up your account\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"admin\\\",\\\"hasTwoFactorQRCode\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"test__admin-settings__2FA-qr-code\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[32,0,[\\\"admin\\\",\\\"twoFactorQRCodeSVG\\\"]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"twk__account-settings__qr-code-loader\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"small\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[14,0,\\\"t__label f__group-label\\\"],[12],[2,\\\"\\\\n      Enter the code that was generated\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[8,\\\"input\\\",[[24,0,\\\"f__text test__admin-settings__2FA-confirm\\\"],[24,\\\"placeholder\\\",\\\"Six digit code\\\"]],[[\\\"@value\\\",\\\"@type\\\"],[[32,0,[\\\"validationCode\\\"]],\\\"number\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@testBindingClass\\\"],[\\\"Validate\\\",\\\"primary\\\",[30,[36,1],[[32,0],\\\"enable2FA\\\"],null],\\\"test__admin-settings__2FA-validate-button\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@tagName\\\",\\\"@classNames\\\"],[\\\"apps.app.account.general\\\",\\\"span\\\",\\\"btn o__secondary\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    Cancel\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/account/two_factor_auth.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"TOWOnd93\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[32,0,[\\\"titleToken\\\"]]]],null],[2,\\\"\\\\n\\\"],[8,\\\"account/content-components/visibility/segments\\\",[],[[\\\"@companiesActive\\\",\\\"@visibleSegments\\\",\\\"@hiddenSegments\\\",\\\"@segmentType\\\",\\\"@columns\\\",\\\"@showSegment\\\",\\\"@hideSegment\\\"],[[32,0,[\\\"app\\\",\\\"companiesActive\\\"]],[32,0,[\\\"allVisibleSegments\\\"]],[32,0,[\\\"hiddenSegments\\\"]],\\\"Companies\\\",[30,[36,0],[[32,0],\\\"segmentColumns\\\"],null],[30,[36,0],[[32,0],\\\"showSegment\\\"],null],[30,[36,0],[[32,0],\\\"hideSegment\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/account/visibility/company-segments.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"C66YF2Ug\",\"block\":\"{\\\"symbols\\\":[\\\"hiddenInbox\\\",\\\"visibleInbox\\\"],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[32,0,[\\\"titleToken\\\"]]]],null],[2,\\\"\\\\n\\\"],[6,[37,5],[[32,0,[\\\"inboxes\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n      Customize the visibility of inboxes you see on \\\"],[1,[32,0,[\\\"app\\\",\\\"name\\\"]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[14,0,\\\"t__h3 visibility__title u__mt__25\\\"],[12],[2,\\\"\\\\n      Visible\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"visibility__title__details\\\"],[12],[2,\\\"\\\\n        (\\\"],[1,[32,0,[\\\"visibleInboxes\\\",\\\"length\\\"]]],[2,\\\" visible \\\"],[1,[30,[36,3],[\\\"inbox\\\",[32,0,[\\\"visibleInboxes\\\"]]],null]],[2,\\\")\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"visibility__table\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[30,[36,1],[[30,[36,1],[[32,0,[\\\"visibleInboxes\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"visibility/inbox-visibility-row\\\",[],[[\\\"@inbox\\\",\\\"@currentAdmin\\\",\\\"@isHidden\\\",\\\"@toggleInboxVisibility\\\"],[[32,2],[32,0,[\\\"admin\\\"]],false,[30,[36,0],[[32,0],\\\"toggleAssigneeVisibility\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__centers-vertically\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"t__h3 visibility__title\\\"],[12],[2,\\\"\\\\n        Hidden\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"visibility__title__details\\\"],[12],[2,\\\"\\\\n          (\\\"],[1,[32,0,[\\\"hiddenInboxes\\\",\\\"length\\\"]]],[2,\\\" hidden \\\"],[1,[30,[36,3],[\\\"inbox\\\",[32,0,[\\\"hiddenInboxes\\\"]]],null]],[2,\\\")\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[8,\\\"common/horizontal-button-group\\\",[],[[\\\"@content\\\",\\\"@selected\\\",\\\"@onSelected\\\"],[[32,0,[\\\"inboxFilterOptions\\\"]],[32,0,[\\\"activeInboxFilter\\\"]],[30,[36,0],[[32,0],[30,[36,4],[[32,0,[\\\"activeInboxFilter\\\"]]],null]],null]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"visibility__table u__mb__0\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[32,0,[\\\"currentlyViewedInboxesList\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[30,[36,1],[[32,0,[\\\"currentlyViewedInboxesList\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"visibility/inbox-visibility-row\\\",[],[[\\\"@inbox\\\",\\\"@isHidden\\\",\\\"@currentAdmin\\\",\\\"@toggleInboxVisibility\\\"],[[32,1],true,[32,0,[\\\"admin\\\"]],[30,[36,0],[[32,0],\\\"toggleAssigneeVisibility\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h2 u__centered-text-block u__m__20 visibility__table__empty-state\\\"],[12],[2,\\\"\\\\n          No hidden \\\"],[1,[32,0,[\\\"activeInboxFilter\\\"]]],[2,\\\" inboxes\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"main-content-loading\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"-track-array\\\",\\\"each\\\",\\\"inflector-helper\\\",\\\"mut\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/account/visibility/inboxes.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"lnUeeQS2\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"main-content-loading\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/account/visibility/loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"7Gge45Fh\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[32,0,[\\\"titleToken\\\"]]]],null],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"tags\\\",\\\"length\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n      Select the tags you use most so they're always at the top of your list\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\",\\\"@description\\\"],[\\\"tag\\\",\\\"No tags yet\\\",\\\"To create one, click the Tag button on the user list when you’ve selected one or more users.\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[32,0,[\\\"visibleTags\\\",\\\"length\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__mt__20 u__mb__10\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Visible\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[2,\\\"    \\\"],[8,\\\"ic-legacy-table\\\",[[24,0,\\\"visibility__tags-table\\\"]],[[\\\"@inline\\\",\\\"@height\\\",\\\"@tableIsVisible\\\",\\\"@columns\\\",\\\"@rows\\\",\\\"@tableActions\\\"],[true,[30,[36,1],[[30,[36,0],[[32,0,[\\\"visibleTags\\\",\\\"length\\\"]],100],null],\\\"auto\\\",500],null],true,[30,[36,3],[[30,[36,2],[[32,0],[32,0,[\\\"columns\\\"]]],null],\\\"visible\\\"],null],[32,0,[\\\"visibleTags\\\"]],[30,[36,4],null,[[\\\"hideTag\\\"],[[30,[36,2],[[32,0],[32,0,[\\\"hideTag\\\"]]],null]]]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[32,0,[\\\"hiddenTags\\\",\\\"length\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__mt__30 u__mb__10\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Hidden\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[2,\\\"    \\\"],[8,\\\"ic-legacy-table\\\",[[24,0,\\\"visibility__tags-table\\\"]],[[\\\"@inline\\\",\\\"@height\\\",\\\"@tableIsVisible\\\",\\\"@columns\\\",\\\"@rows\\\",\\\"@tableActions\\\"],[true,[30,[36,1],[[30,[36,0],[[32,0,[\\\"hiddenTags\\\",\\\"length\\\"]],100],null],\\\"auto\\\",500],null],true,[30,[36,3],[[30,[36,2],[[32,0],[32,0,[\\\"columns\\\"]]],null],\\\"hidden\\\"],null],[32,0,[\\\"hiddenTags\\\"]],[30,[36,4],null,[[\\\"showTag\\\"],[[30,[36,2],[[32,0],[32,0,[\\\"showTag\\\"]]],null]]]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"lt\\\",\\\"if\\\",\\\"action\\\",\\\"compute\\\",\\\"hash\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/account/visibility/tags.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"0l0XRzQD\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[32,0,[\\\"titleToken\\\"]]]],null],[2,\\\"\\\\n\\\"],[8,\\\"account/content-components/visibility/segments\\\",[],[[\\\"@companiesActive\\\",\\\"@visibleSegments\\\",\\\"@hiddenSegments\\\",\\\"@segmentType\\\",\\\"@columns\\\",\\\"@showSegment\\\",\\\"@hideSegment\\\"],[[32,0,[\\\"app\\\",\\\"companiesActive\\\"]],[32,0,[\\\"allVisibleSegments\\\"]],[32,0,[\\\"hiddenSegments\\\"]],\\\"People\\\",[30,[36,0],[[32,0],\\\"segmentColumns\\\"],null],[30,[36,0],[[32,0],\\\"showSegment\\\"],null],[30,[36,0],[[32,0],\\\"hideSegment\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/account/visibility/user-segments.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"bXOhZxtR\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"common/hamburger-menu\\\",[],[[\\\"@title\\\"],[\\\"Accounts\\\"]],null],[2,\\\"\\\\n  \\\"],[8,\\\"pulse/help-content/link\\\",[[24,0,\\\"pt-6 pr-8\\\"]],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/acquire-customers/target-key-accounts-with-account-based-marketing/what-is-account-based-marketing\\\",\\\"What is ABM?\\\",\\\"article\\\"]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"account_marketing\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"Splash\\\"]],[],[[\\\"@title\\\",\\\"@description\\\",\\\"@imgSrc\\\"],[\\\"Convert high value accounts into customers with ABM\\\",\\\"When high value accounts visit your website, greet them with a personalized message and connect them with sales in real-time.\\\",\\\"/assets/images/accounts/abm-getting-started.png\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[\\\"canUseManualAccountCreation\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,7],[[30,[36,6],[[30,[36,5],[[32,0,[\\\"accounts\\\",\\\"length\\\"]],0],null],[32,0,[\\\"anyAccount\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"ic-button\\\",[[24,0,\\\"accounts__new-account-button\\\"]],[[\\\"@type\\\",\\\"@label\\\",\\\"@icon\\\",\\\"@onClick\\\"],[\\\"primary\\\",\\\"Create Account\\\",\\\"new\\\",[30,[36,1],[[32,0],[30,[36,0],[[32,0,[\\\"showAddModal\\\"]]],null],true],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[6,[37,3],[[30,[36,8],[[32,0,[\\\"accounts\\\",\\\"length\\\"]],0],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__scrolls u__padb__20 u__padl__30 u__padr__30\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2 u__mt__25 u__mb__15\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[32,0,[\\\"accounts\\\",\\\"length\\\"]]],[2,\\\" \\\"],[1,[30,[36,4],[\\\"account\\\",[32,0,[\\\"accounts\\\",\\\"length\\\"]]],null]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[8,\\\"accounts/accounts-table\\\",[],[[\\\"@accounts\\\",\\\"@deleteAccountConfirmation\\\"],[[32,0,[\\\"accounts\\\"]],[32,0,[\\\"deleteAccountConfirmation\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,3],[[32,0,[\\\"anyAccount\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,3],[[30,[36,2],[\\\"canUseManualAccountCreation\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"ic-empty-state\\\",[[24,0,\\\"u__center-item\\\"]],[[\\\"@title\\\",\\\"@description\\\",\\\"@icon\\\",\\\"@buttonLabel\\\",\\\"@onButtonClick\\\"],[\\\"No accounts to display\\\",\\\"You can manually create accounts, or use the Salesforce integration to automatically keep your accounts in Intercom in sync.\\\",\\\"briefcase\\\",\\\"Create account\\\",[30,[36,1],[[32,0],[30,[36,0],[[32,0,[\\\"showAddModal\\\"]]],null],true],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"ic-empty-state\\\",[[24,0,\\\"u__center-item\\\"]],[[\\\"@title\\\",\\\"@description\\\",\\\"@buttonLabel\\\",\\\"@onButtonClick\\\",\\\"@icon\\\"],[\\\"No accounts to display\\\",\\\"Integrate with Salesforce, pull Accounts from specific lists, and target them with Intercom.\\\",\\\"Select accounts lists\\\",[32,0,[\\\"transitionToSaleforceAppSettings\\\"]],\\\"briefcase\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"accounts/getting-started\\\",[],[[],[]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"],[6,[37,3],[[32,0,[\\\"showAddModal\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"accounts/modals/new-account-modal\\\",[],[[\\\"@closeModal\\\"],[[30,[36,1],[[32,0],[30,[36,0],[[32,0,[\\\"showAddModal\\\"]]],null],false],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,3],[[32,0,[\\\"accountToBeDeleted\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"accounts/modals/delete-account-modal\\\",[],[[\\\"@closeModal\\\",\\\"@deleteAccount\\\"],[[30,[36,1],[[32,0],[30,[36,0],[[32,0,[\\\"accountToBeDeleted\\\"]]],null],null],null],[32,0,[\\\"deleteAccount\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"mut\\\",\\\"action\\\",\\\"has-feature\\\",\\\"if\\\",\\\"inflector-helper\\\",\\\"is-equal\\\",\\\"and\\\",\\\"unless\\\",\\\"gt\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/accounts.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"hih6g1TM\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1 js__main-container main__content-outlet o__without-submenu\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,\\\"data-sensitive\\\",\\\"true\\\"],[14,0,\\\"profile\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"users/user-profile-header\\\",[],[[\\\"@app\\\",\\\"@user\\\",\\\"@lastActive\\\",\\\"@stampText\\\"],[[32,0,[\\\"app\\\"]],[32,0,[\\\"model\\\"]],[32,0,[\\\"lastActive\\\"]],[32,0,[\\\"stampText\\\"]]]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"profile__content\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"profile__sidebar__container\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"clearfix py-1\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h2 u__left\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[32,0,[\\\"accountHeaderText\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"profile__sidebar card u__padl__20 u__padr__20\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"admin/about-component\\\",[],[[\\\"@model\\\",\\\"@saveAction\\\",\\\"@oAuthSuccess\\\",\\\"@oAuthFailure\\\",\\\"@deleteSocialAccount\\\",\\\"@nameInputClasses\\\",\\\"@emailInputClasses\\\",\\\"@bioTextClasses\\\",\\\"@app\\\"],[[32,0,[\\\"model\\\"]],[30,[36,0],[[32,0],\\\"saveProfileInfo\\\"],null],[30,[36,0],[[32,0],\\\"oAuthSuccess\\\"],null],[30,[36,0],[[32,0],\\\"oAuthFailure\\\"],null],[30,[36,0],[[32,0],\\\"deleteSocialAccount\\\"],null],\\\"f__text test__admin-settings__name-input\\\",\\\"f__text\\\",\\\"f__text o__no-resize o__min-two-lines test__admin-settings__intro-input\\\",[32,0,[\\\"app\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"profile__sidebar card u__mt__20 u__padl__20 u__padr__20\\\"],[12],[2,\\\"\\\\n          \\\"],[19,\\\"apps/app/admins/admin/partials/account\\\",[]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[30,[36,1],[\\\"ccIntercomPages\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"div\\\"],[14,0,\\\"profile__sidebar card u__mt__20 u__padl__20 u__padr__20\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"admin/intercom-pages-component\\\",[],[[\\\"@admin\\\"],[[32,0,[\\\"model\\\"]]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"profile__admin__conversations__container\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"js__user-events\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,4],[[30,[36,3],null,null]],null]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"action\\\",\\\"has-feature\\\",\\\"if\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/admins/admin.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"XnX7MwQH\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3 profile__conversation-header\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[32,0,[\\\"conversationHeaderText\\\"]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"currentlyLoading\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"feed__container\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"conversations\\\",\\\"length\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"conversation/card-list-component\\\",[],[[\\\"@app\\\",\\\"@admin\\\",\\\"@conversations\\\",\\\"@enableAutoScroll\\\",\\\"@requestPage\\\",\\\"@viewportSelector\\\"],[[32,0,[\\\"app\\\"]],[32,0,[\\\"admin\\\"]],[32,0,[\\\"conversations\\\"]],true,[30,[36,3],[\\\"paginate\\\"],null],\\\".profile\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[32,0,[\\\"isPaginating\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"card\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\",\\\"@description\\\"],[\\\"conversation\\\",[32,0,[\\\"emptyState\\\"]],[32,0,[\\\"emptyStateText\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"pl_user_profile_loading_container\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"isPaginating\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[32,0,[\\\"hasErrored\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item u__centered-text-block\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"h1\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[30,[36,0],[\\\"error\\\"],[[\\\"size\\\"],[24]]]],[2,\\\"\\\\n              An error occurred while loading your followed objects' activity.\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"small\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"ic-interface-icon\\\",\\\"if\\\",\\\"unless\\\",\\\"route-action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/admins/admin/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"ByyFol7+\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n  \\\"],[1,[30,[36,0],[[32,0,[\\\"model\\\",\\\"is_me\\\"]],\\\"Your account\\\",\\\"Account\\\"],null]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr profile__hr\\\"],[12],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"kv__pair u__cf o__in-list\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[14,0,\\\"kv__key\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"t__label\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[30,[36,1],[\\\"calendar\\\"],null]],[2,\\\" created at\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[14,0,\\\"kv__value\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[32,0,[\\\"createdAtFromNow\\\"]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"kv__pair u__cf o__in-list\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[14,0,\\\"kv__key\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"t__label\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[30,[36,1],[\\\"email\\\"],null]],[2,\\\" email\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"linkToEmailDomain\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"span\\\"],[14,0,\\\"kv__value\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[32,0,[\\\"emailUserName\\\"]]],[2,\\\"@\\\"],[10,\\\"a\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer nofollow\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[15,6,[32,0,[\\\"emailDomainForLink\\\"]]],[14,0,\\\"t__solo-link\\\"],[12],[1,[32,0,[\\\"emailDomainName\\\"]]],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"span\\\"],[14,0,\\\"kv__value\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[32,0,[\\\"emailUserName\\\"]]],[2,\\\"@\\\"],[1,[32,0,[\\\"emailDomainName\\\"]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"profile__details-spacer o__small\\\"],[12],[13],[2,\\\"\\\\n\\\"],[8,\\\"team-membership-list-component\\\",[],[[\\\"@admin\\\",\\\"@openTeamSettingsPage\\\"],[[32,0,[\\\"model\\\"]],\\\"openTeamSettingsPage\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/admins/admin/partials/-account.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"CcB2Jqak\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__scrolls o__flexes-to-1 main__content-outlet o__without-submenu\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"banners/missing-shipping-address\\\",[],[[],[]],null],[2,\\\"\\\\n  \\\"],[8,\\\"appstore/listing/page-header\\\",[],[[\\\"@searchString\\\",\\\"@searchForApps\\\"],[[34,0],[30,[36,1],[[32,0],\\\"searchForApps\\\"],null]]],null],[2,\\\"\\\\n  \\\"],[8,\\\"appstore/main-content\\\",[],[[\\\"@isPublicAppStore\\\",\\\"@currentlyLoading\\\",\\\"@model\\\",\\\"@displayFeaturedCategoriesGrid\\\",\\\"@featuredCategoriesAndApps\\\",\\\"@selectedCapability\\\",\\\"@inboxCapability\\\",\\\"@category\\\",\\\"@search\\\",\\\"@installed\\\",\\\"@features\\\",\\\"@searchForApps\\\",\\\"@clickSeeAllLink\\\",\\\"@onAppPackageClick\\\"],[false,[34,2],[34,3],[34,4],[34,5],[34,6],[34,7],[34,8],[34,0],[34,9],[34,10],[30,[36,1],[[32,0],\\\"searchForApps\\\"],null],[30,[36,1],[[32,0],\\\"clickSeeAllLink\\\"],null],[30,[36,1],[[32,0],\\\"onAppPackageClick\\\"],null]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[1,[30,[36,12],[[30,[36,11],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"search\\\",\\\"action\\\",\\\"currentlyLoading\\\",\\\"model\\\",\\\"displayFeaturedCategoriesGrid\\\",\\\"featuredCategoriesAndApps\\\",\\\"selectedCapability\\\",\\\"inbox_capability\\\",\\\"category\\\",\\\"installed\\\",\\\"features\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/appstore.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"j4tLuSC7\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"appstore/app-package/modal\\\",[],[[\\\"@appPackage\\\",\\\"@showReinstallModal\\\",\\\"@closeModal\\\",\\\"@transitionAppPackageTab\\\"],[[32,0,[\\\"model\\\"]],[32,0,[\\\"showReinstall\\\"]],[30,[36,0],[[32,0],\\\"closeModal\\\"],null],[30,[36,0],[[32,0],\\\"transitionAppPackageTab\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/appstore/app-package.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"hRGbCTgd\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[32,0,[\\\"app_package_code\\\"]],[32,0,[\\\"selectedAppPackage\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"appstore/app-package/modal\\\",[],[[\\\"@appPackage\\\",\\\"@showReinstallModal\\\",\\\"@closeModal\\\",\\\"@transitionAppPackageTab\\\",\\\"@showRecommendations\\\"],[[32,0,[\\\"selectedAppPackage\\\"]],[32,0,[\\\"showReinstall\\\"]],[30,[36,0],[[32,0],\\\"closeModal\\\"],null],[30,[36,0],[[32,0],\\\"transitionAppPackageTab\\\"],null],true]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"and\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/appstore/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"HFVHnkYi\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\",\\\"item\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1 js__main-container o__scrolls\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"articles/shared/left-side-nav\\\",[],[[\\\"@toggleSearch\\\",\\\"@showSearch\\\"],[[30,[36,3],[[32,0],\\\"toggleSearch\\\"],null],[34,6]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"main__content-outlet layout__box o__has-rows o__flexes-to-1 \\\",[30,[36,4],[[35,7],\\\"o__without-submenu\\\"],null]]]],[12],[2,\\\"\\\\n    \\\"],[8,\\\"intercomrade-warning\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      Changes made here will affect live docs sites.\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,8],[[32,0,[\\\"identityVerificationRiskStateService\\\",\\\"shouldShowLowNotification\\\"]],[32,0,[\\\"helpCenterService\\\",\\\"site\\\",\\\"segmentedContentTurnedOn\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"pulse/full-width-banner\\\",[[24,0,\\\"z-10\\\"]],[[\\\"@color\\\"],[\\\"yellow-light\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          Enforce identity verification to prevent user impersonation and protect restricted articles.\\\\n          \\\"],[10,\\\"a\\\"],[15,6,[30,[36,5],[\\\"apps.app.settings.security\\\"],null]],[12],[2,\\\"\\\\n            Set up identity verification\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,4],[[35,6]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"vertical-navigation-search\\\",[],[[\\\"@placeholderText\\\",\\\"@searchString\\\",\\\"@testBindingClass\\\",\\\"@doSearch\\\",\\\"@resetSearch\\\",\\\"@disabled\\\"],[\\\"Search articles...\\\",[34,2],\\\"test__search-articles\\\",[30,[36,3],[[32,0],\\\"doSearch\\\"],null],[30,[36,3],[[32,0],\\\"clearSearch\\\"],null],false]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,4],[[32,2,[\\\"isStandardSearch\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"span\\\"],[14,0,\\\"nav__search__result__type\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,1],[[35,0]],null]],[2,\\\" \\\"],[1,[30,[36,1],[\\\"article\\\"],null]],[2,\\\" Articles containing\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\\\\\"\\\"],[1,[32,2,[\\\"name\\\"]]],[2,\\\"\\\\\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"help_center\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,1,[\\\"Banner\\\"]],[],[[\\\"@content\\\"],[\\\"Upgrade to publish articles\\\"]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n      \\\"],[8,\\\"banners/missing-shipping-address\\\",[],[[],[]],null],[2,\\\"\\\\n      \\\"],[1,[30,[36,10],[[30,[36,9],null,null]],null]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"iconForStandardSearch\\\",\\\"ic-interface-icon\\\",\\\"searchString\\\",\\\"action\\\",\\\"if\\\",\\\"href-to\\\",\\\"showSearch\\\",\\\"navbarCollapsed\\\",\\\"and\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"2ji97bA4\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls js__articles__scrollable-content\\\"],[12],[2,\\\"\\\\n  \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n  \\\"],[10,\\\"style\\\"],[14,0,\\\"folder-child-styles\\\"],[12],[2,\\\"\\\\n    .folder-child-card {\\\\n      width: 100%;\\\\n      list-style: none;\\\\n      border: 1px solid;\\\\n      border-color: #E8E8E9;\\\\n      border-bottom: none\\\\n    }\\\\n\\\\n    .draggable-area li:last-child {\\\\n      border-bottom: 1px solid;\\\\n      border-color: #E8E8E9;\\\\n    }\\\\n\\\\n    .folder-article-card {\\\\n      background-color: white;\\\\n      border: 1px solid;\\\\n      border-color: #E8E8E9;\\\\n      border-bottom: none\\\\n    }\\\\n\\\\n    .card-content-wrapper {\\\\n      vertical-align:middle;\\\\n      height: 50px;\\\\n      padding-left: 15px;\\\\n    }\\\\n\\\\n    .articles-list-titles {\\\\n      margin-bottom: 25px;\\\\n    }\\\\n\\\\n    .article-drag-target-active {\\\\n      background-color: #F4FAF0;\\\\n    }\\\\n\\\\n    .article-drag-target-inactive {\\\\n      background-color: white;\\\\n    }\\\\n\\\\n    .article-drag-target-hovered {\\\\n      background-color: lightblue;\\\\n      border: 1px solid;\\\\n      border-color: #E8E8E9;\\\\n    }\\\\n\\\\n    .bookmark-drag-target-hovered {\\\\n      background-color: lightblue;\\\\n      border: 1px dashed;\\\\n      border-color: #E8E8E9;\\\\n    }\\\\n\\\\n    .bookmark-drag-target-active {\\\\n      background-color: #F4FAF0;\\\\n      border: 1px dashed;\\\\n      border-color: #E8E8E9;\\\\n    }\\\\n\\\\n    .folder-bookmark {\\\\n      display: inline-block;\\\\n      min-width: 50px;\\\\n      vertical-align: middle;\\\\n      text-align: center;\\\\n    }\\\\n\\\\n    .draggable-handle {\\\\n      padding: 5px;\\\\n      cursor: move;\\\\n    }\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles/articles.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"TGDG3kcD\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"articles/editor/article-multilingual-editor\\\",[],[[\\\"@article\\\",\\\"@deleteArticle\\\"],[[34,0],[30,[36,1],[[32,0],\\\"deleteArticle\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"article\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles/articles/article/edit.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"UnNTwiqj\",\"block\":\"{\\\"symbols\\\":[\\\"changeView\\\",\\\"activeView\\\",\\\"list\\\"],\\\"statements\\\":[[8,\\\"articles/shared/article-header\\\",[],[[\\\"@article\\\"],[[32,0,[\\\"article\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"ic-button-list\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,3,[\\\"button\\\"]],[],[[\\\"@type\\\",\\\"@onClick\\\",\\\"@testBindingClass\\\",\\\"@icon\\\",\\\"@label\\\"],[\\\"secondary-destructive\\\",[30,[36,0],[[32,0],\\\"deleteArticle\\\"],null],\\\"test__educate__show__delete-article\\\",\\\"trash\\\",\\\"Delete\\\"]],null],[2,\\\"\\\\n    \\\"],[8,[32,3,[\\\"button\\\"]],[],[[\\\"@type\\\",\\\"@testBindingClass\\\",\\\"@onClick\\\",\\\"@label\\\",\\\"@icon\\\"],[\\\"primary\\\",\\\"test__show__edit-article\\\",[30,[36,0],[[32,0],\\\"editArticle\\\"],null],\\\"Edit article\\\",\\\"edit\\\"]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 main__content\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 content-editor__step o__maximized o__complete o__show-page o__fill-main-edges\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[30,[36,1],[\\\"canUseNewArticleStatsSystem\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"articles/show/tabs/tabs-component\\\",[],[[\\\"@stats\\\",\\\"@displaying\\\"],[[32,0,[\\\"article\\\",\\\"stats\\\"]],[32,0,[\\\"displaying\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"content-editor__content__ab-selector o__active o__single-variation content-editor__content__ab-selector-no-border\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"articles/show/tab-container\\\",[],[[\\\"@article\\\",\\\"@displaying\\\"],[[32,0,[\\\"article\\\"]],[32,0,[\\\"displaying\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"articles/show/tabs-component\\\",[],[[\\\"@article\\\",\\\"@activeView\\\",\\\"@changeView\\\"],[[32,0,[\\\"article\\\"]],[32,2],[32,1]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[1,2]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 educate__article__show-wrapper\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"article\\\",\\\"hasMissingContent\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"educate__article__errors__info__container\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@buttonLabel\\\",\\\"@onButtonClick\\\"],[\\\"warning\\\",\\\"Edit article\\\",[30,[36,0],[[32,0],\\\"editArticle\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"b\\\"],[12],[2,\\\"\\\\n                Missing: we couldn’t import \\\"],[1,[32,0,[\\\"missingContentText\\\"]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n              Edit the article to replace the missing content.\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[1,[30,[36,4],[[30,[36,3],null,null]],null]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"has-feature\\\",\\\"if\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles/articles/article/show.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"JD8m5a9u\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"articles/show/article-viewer\\\",[],[[\\\"@article\\\"],[[34,0]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"article\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles/articles/article/show/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Mbf6hGYK\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"main-content-loading\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles/articles/article/show/loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"kvaSr/cX\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,3],[[30,[36,1],[\\\"canUseNewArticleStatsSystem\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"pl-16 pr-8 pt-8 layout__box o__has-rows\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[32,0,[\\\"isViewsStat\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"stats-system/list/article-views-list\\\",[],[[\\\"@statsParameters\\\"],[[32,0,[\\\"statsParameters\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,3],[[32,0,[\\\"isReactedStat\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"stats-system/list/reaction-list\\\",[],[[\\\"@changeView\\\",\\\"@filter\\\",\\\"@statsParameters\\\"],[[32,0,[\\\"changeReactionFilter\\\"]],[32,0,[\\\"reactionFilter\\\"]],[32,0,[\\\"statsParameters\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"stats-system/list/reply-list\\\",[],[[\\\"@statsParameters\\\"],[[32,0,[\\\"statsParameters\\\"]]]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,3],[[32,0,[\\\"stats\\\",\\\"total_count\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"pl-8 pt-8 layout__box o__has-rows\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,1],[\\\"canUseNewArticleStatsSystem\\\"],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__left pb-4\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[32,0,[\\\"listTitle\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,3],[[32,0,[\\\"canShowConversationReplies\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"btn__toggle-list u__cf u__right\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@query\\\",\\\"@classNames\\\",\\\"@activeClass\\\"],[\\\"apps.app.articles.articles.article.show.stats\\\",[30,[36,0],null,[[\\\"displaying\\\",\\\"conversations\\\"],[[32,0,[\\\"stat\\\"]],true]]],\\\"btn o__toggle\\\",\\\"o__selected\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            Conversations\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@query\\\",\\\"@classNames\\\",\\\"@activeClass\\\"],[\\\"apps.app.articles.articles.article.show.stats\\\",[30,[36,0],null,[[\\\"displaying\\\",\\\"conversations\\\"],[[32,0,[\\\"stat\\\"]],false]]],\\\"btn o__toggle t__cap-first-letter test__educate__article__stats-people\\\",\\\"o__selected\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            People\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"pl-8 pt-4 pr-8 layout__box o__has-rows\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"articles/show/stats-list\\\",[],[[\\\"@app\\\",\\\"@isNewConversationsStat\\\",\\\"@isViewerStat\\\",\\\"@shouldShowConversationReplies\\\",\\\"@model\\\",\\\"@loadNextPage\\\"],[[32,0,[\\\"app\\\"]],[32,0,[\\\"isNewConversationsStat\\\"]],[32,0,[\\\"isViewerStat\\\"]],[32,0,[\\\"shouldShowConversationReplies\\\"]],[32,0,[\\\"stats\\\"]],[30,[36,4],[\\\"loadNextPage\\\"],null]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\"],[\\\"people\\\",[32,0,[\\\"emptyContentDescription\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"hash\\\",\\\"has-feature\\\",\\\"not\\\",\\\"if\\\",\\\"route-action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles/articles/article/show/stats.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"27dRFaEq\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles/articles/list.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"a2vbl0VV\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"articles/list/article-list\\\",[],[[\\\"@app\\\",\\\"@articles\\\",\\\"@isLoading\\\",\\\"@title\\\",\\\"@selectedContentStatus\\\",\\\"@searchTerm\\\",\\\"@selectedLocale\\\",\\\"@isSearching\\\",\\\"@hasPerformedSearch\\\",\\\"@loadNextPage\\\",\\\"@updateFilters\\\",\\\"@currentImportId\\\",\\\"@hasActiveApiImport\\\",\\\"@loadNewlyImportedArticles\\\"],[[34,0],[34,1,[\\\"articles\\\"]],[34,2,[\\\"isRunning\\\"]],[34,1,[\\\"title\\\"]],[34,1,[\\\"selectedContentStatus\\\"]],[34,3],[34,4],[34,5],[34,6],[30,[36,7],[[35,2]],null],[30,[36,8],[[32,0],\\\"updateFilters\\\"],null],[34,9],[34,10],\\\"loadNewlyImportedArticles\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"app\\\",\\\"model\\\",\\\"loadNextPage\\\",\\\"search_term\\\",\\\"selectedLocale\\\",\\\"isSearching\\\",\\\"hasPerformedSearch\\\",\\\"perform\\\",\\\"action\\\",\\\"currentImportId\\\",\\\"hasActiveApiImport\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles/articles/list/list-base.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"iIrtYk+T\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"main-content-loading\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles/articles/list/loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Rq/hmLCu\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"article-search-component\\\",[],[[\\\"@searchString\\\",\\\"@performSearch\\\",\\\"@clearSearch\\\",\\\"@app\\\"],[[34,0],[30,[36,1],[[32,0],\\\"performSearch\\\"],null],[30,[36,1],[[32,0],\\\"clearSearch\\\"],null],[34,2]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"inputSearchTerm\\\",\\\"action\\\",\\\"app\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles/articles/list/search.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"iKV+n+wR\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"main-content-loading\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles/articles/loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Ym/GoZXM\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1 js__main-container\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles/articles/new.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"3p005Y+N\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls main\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"guide/start-screen/guide-component\\\",[],[[\\\"@app\\\",\\\"@product\\\"],[[34,0],[34,0,[\\\"articlesProductWithVbpSupport\\\"]]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"app\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles/guide/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"HRt9aPFI\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"main-content-loading\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles/loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"BRjWZzrT\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls\\\"],[12],[2,\\\"\\\\n  \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles/site.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"KtnEtbtW\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[12],[2,\\\"\\\\n  Your Help Center is turned\\\\n\\\"],[6,[37,1],[[35,0,[\\\"data\\\",\\\"site\\\",\\\"turnedOn\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    on at \\\"],[10,\\\"a\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[15,6,[31,[[34,0,[\\\"data\\\",\\\"site\\\",\\\"url\\\"]]]]],[12],[2,\\\"\\\\n      \\\"],[1,[35,0,[\\\"data\\\",\\\"site\\\",\\\"userFriendlyUrl\\\"]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    off\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"notification\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles/site/-help-center-turned-on-notification.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"PTVH55DN\",\"block\":\"{\\\"symbols\\\":[\\\"@hasActiveApiImport\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[35,3]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"common/hamburger-menu\\\",[],[[\\\"@title\\\"],[[30,[36,7],[[35,6,[\\\"hasMultipleLocales\\\"]],[35,3,[\\\"defaultLocalizedContent\\\",\\\"name\\\"]],\\\"\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"common/hamburger-menu\\\",[],[[\\\"@title\\\"],[\\\"Help Center collections\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__padr__30 layout__box o__has-columns o__centers-vertically\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,10],[[35,3]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,7],[[35,6,[\\\"url\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"articles/shared/go-to-help-center\\\",[],[[\\\"@site\\\"],[[34,6]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\",\\\"@inRightList\\\"],[\\\"secondary\\\",[30,[36,5],[[32,0],\\\"importArticles\\\"],null],[34,8],true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[1,[30,[36,9],[\\\"filled-cloud-upload\\\"],null]],[2,\\\" Import\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@onClick\\\",\\\"@inRightList\\\"],[\\\"primary\\\",[30,[36,5],[[32,0],\\\"createCollection\\\"],null],true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[1,[30,[36,9],[\\\"collection\\\"],null]],[2,\\\" New collection\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@action\\\",\\\"@actionParam\\\",\\\"@inRightList\\\",\\\"@testBindingClass\\\"],[\\\"Delete\\\",\\\"secondary-destructive\\\",\\\"deleteCollection\\\",[34,3],true,\\\"test__educate__collection__delete\\\"]],null],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@action\\\",\\\"@actionParam\\\",\\\"@inRightList\\\",\\\"@testBindingClass\\\"],[\\\"Add section\\\",\\\"secondary\\\",\\\"createSection\\\",[34,3],true,\\\"test__educate__section__create\\\"]],null],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@inRightList\\\",\\\"@onClick\\\"],[\\\"Add articles\\\",\\\"primary\\\",true,[30,[36,5],[[32,0],[30,[36,4],[\\\"showAddArticlesModal\\\",[32,0]],null]],null]]],null],[2,\\\"\\\\n      \\\"],[8,\\\"articles/site/collections/article-picker\\\",[],[[\\\"@isOpen\\\",\\\"@onModalClose\\\",\\\"@collection\\\"],[[32,0,[\\\"showAddArticlesModal\\\"]],[30,[36,5],[[32,0],[30,[36,4],[\\\"showAddArticlesModal\\\",[32,0]],null]],null],[34,3]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"u__pad__0 o__has-rows main__content layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[35,11]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"main-content-loading\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[1,[30,[36,2],[[30,[36,1],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,7],[[32,0,[\\\"showArticleImportModal\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"articles/shared/article-import-modal\\\",[],[[\\\"@closeModal\\\",\\\"@hasActiveApiImport\\\"],[[30,[36,0],[[32,0],\\\"showArticleImportModal\\\",false],null],[32,1]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"set\\\",\\\"-outlet\\\",\\\"component\\\",\\\"collection\\\",\\\"toggle\\\",\\\"action\\\",\\\"helpCenterSite\\\",\\\"if\\\",\\\"hasActiveApiImport\\\",\\\"ic-interface-icon\\\",\\\"unless\\\",\\\"isLoading\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles/site/collections.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"f1CTC8/G\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[15,0,[31,[\\\"layout__box o__flexes-to-1 o__has-rows \\\",[30,[36,6],[[35,5,[\\\"hasMultipleLocales\\\"]],\\\"pl-16\\\",\\\"pl-8\\\"],null],\\\" pr-8 pb-6\\\"]]],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[[30,[36,6],[[35,5,[\\\"hasMultipleLocales\\\"]],\\\"mb-8\\\",\\\"mb-4\\\"],null]]]],[12],[2,\\\"\\\\n    \\\"],[8,\\\"articles/shared/locale-tab-control\\\",[],[[],[]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"articles/site/collections/collection-details-component\\\",[],[[\\\"@folder\\\",\\\"@app\\\",\\\"@onSave\\\"],[[34,3],[34,7],[30,[36,2],[[32,0],\\\"saveFolder\\\"],null]]],null],[2,\\\"\\\\n\\\"],[6,[37,6],[[35,3,[\\\"hasContent\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"articles/site/collections/articles-list-component\\\",[[24,0,\\\"mb-16\\\"]],[[\\\"@collection\\\",\\\"@articles\\\",\\\"@activeLocale\\\",\\\"@deleteSection\\\",\\\"@saveFolder\\\"],[[34,3],[34,3,[\\\"sortedArticles\\\"]],[34,4],[30,[36,2],[[32,0],\\\"deleteSection\\\"],null],[30,[36,2],[[32,0],\\\"saveFolder\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\",\\\"@description\\\",\\\"@buttonLabel\\\",\\\"@onButtonClick\\\"],[\\\"article\\\",\\\"No articles in this collection\\\",[34,0],\\\"Add articles\\\",[30,[36,2],[[32,0],[30,[36,1],[\\\"showAddArticlesModal\\\",[32,0]],null]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"],[8,\\\"articles/site/collections/article-picker\\\",[],[[\\\"@isOpen\\\",\\\"@onModalClose\\\",\\\"@collection\\\"],[[32,0,[\\\"showAddArticlesModal\\\"]],[30,[36,2],[[32,0],[30,[36,1],[\\\"showAddArticlesModal\\\",[32,0]],null]],null],[34,8]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"emptyContentDescription\\\",\\\"toggle\\\",\\\"action\\\",\\\"model\\\",\\\"activeLocale\\\",\\\"site\\\",\\\"if\\\",\\\"app\\\",\\\"collection\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles/site/collections/collection.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"zKpR1wjY\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,8],[[30,[36,7],[[35,6],[35,5]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__padl__30 u__padr__30 u__padb__30\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"help\\\",\\\"We're working on importing your articles – it may take up to an hour. We'll email you when it's done.\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"pulse/discovery-banner\\\",[[24,0,\\\"mx-8 my-6\\\"]],[[\\\"@heading\\\",\\\"@description\\\",\\\"@dismissalType\\\",\\\"@dismissalKey\\\",\\\"@dismissalService\\\"],[\\\"How collections work\\\",\\\"Collections help people browse and discover articles in your Help Center. Create a new collection and start adding your articles, or import and we'll create collections for you.\\\",\\\"got-it-button\\\",\\\"page_introduction_banner_collections\\\",[30,[36,4],[\\\"banner-dismissal-service\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,8],[[35,1]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"articles/shared/locale-tab-control\\\",[],[[\\\"@classNames\\\"],[\\\"pl-16 pr-8\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[10,\\\"div\\\"],[14,0,\\\"pl-16 pr-8 u__pty__x3\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,8],[[30,[36,11],[[35,10,[\\\"hasHelpCenter\\\"]],[35,9,[\\\"turnedOff\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__centers-horizontally u__mb__20 u__mt__20\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"educate__collection__list-wrapper\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\"],[\\\"help\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          Your Help Center is off. Customize and\\\\n          \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,3],[\\\"apps.app.articles.site.settings\\\"],null]]]],[12],[2,\\\"turn it on in settings\\\"],[13],[2,\\\".\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,8],[[35,1]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-rows\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"articles/site/collections/collections-list\\\",[],[[\\\"@collections\\\",\\\"@selectedLocaleId\\\",\\\"@goToCollection\\\"],[[34,1],[34,2],[30,[36,0],[\\\"goToCollection\\\"],null]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"],[6,[37,12],[[35,1]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__centers-all pb-16\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\",\\\"@buttonLabel\\\",\\\"@onButtonClick\\\"],[\\\"collection\\\",\\\"Create collections to organize articles in your Help Center\\\",\\\"New collection\\\",[30,[36,0],[\\\"createCollection\\\"],null]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"route-action\\\",\\\"collections\\\",\\\"selectedLocaleId\\\",\\\"href-to\\\",\\\"service\\\",\\\"hasActiveApiImport\\\",\\\"currentImportId\\\",\\\"or\\\",\\\"if\\\",\\\"helpCenterSite\\\",\\\"app\\\",\\\"and\\\",\\\"unless\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles/site/collections/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"FyXNg6i2\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"main-content-loading\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles/site/collections/loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"7bYXS+xO\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"main-content-loading\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles/site/loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"oa+NOsMA\",\"block\":\"{\\\"symbols\\\":[\\\"accordion\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"paywall\\\",\\\"list\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns articles__site-settings__sticky-header\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"common/hamburger-menu\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n        Help Center settings\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__padr__30 layout__box o__has-columns o__centers-vertically\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"articles/shared/go-to-help-center\\\",[],[[\\\"@site\\\"],[[34,0]]],null],[2,\\\"\\\\n    \\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"help_center\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"ic-button-list\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,[32,14,[\\\"Hover\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,15,[\\\"button\\\"]],[],[[\\\"@type\\\",\\\"@onClick\\\",\\\"@testBindingClass\\\",\\\"@isDisabled\\\",\\\"@label\\\"],[[30,[36,1],[[35,0,[\\\"turnedOff\\\"]],\\\"primary-live\\\",\\\"secondary-destructive\\\"],null],[30,[36,2],[[32,0],\\\"toggleHelpCenter\\\"],null],\\\"test__educate__help-center__toggle\\\",[30,[36,4],[[32,14,[\\\"isActive\\\"]],[35,3,[\\\"isDeveloperWorkspace\\\"]]],null],[30,[36,1],[[35,0,[\\\"turnedOn\\\"]],\\\"Turn off Help Center\\\",\\\"Turn on Help Center\\\"],null]]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[15]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[14]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"o__has-rows o__flexes-to-1 main__content\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"common/accordion-component\\\",[],[[\\\"@sectionCanClose\\\",\\\"@sectionDidClose\\\",\\\"@sectionDidOpen\\\"],[[30,[36,6],[[35,5]],null],[30,[36,2],[[32,0],\\\"sectionDidClose\\\"],null],[30,[36,2],[[32,0],\\\"sectionDidOpen\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@name\\\"],[\\\"basic\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,11,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@subheading\\\",\\\"@icon\\\"],[\\\"Set up the basics\\\",\\\"Define the URLs to your Help Center and set up your analytics tracking\\\",\\\"article\\\"]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[13]}]]],[2,\\\"\\\\n      \\\"],[8,[32,11,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n      \\\"],[8,[32,11,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__padr__15 u__padl__15 u__padb__15 articles__site-settings__section-body\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"articles/site/settings/basic-component\\\",[],[[\\\"@site\\\",\\\"@save\\\",\\\"@cancel\\\",\\\"@body\\\",\\\"@saveIsRunning\\\"],[[34,0],[30,[36,2],[[32,0],\\\"save\\\"],null],[30,[36,2],[[32,0],\\\"cancel\\\",[32,12,[\\\"accordionAPI\\\"]]],null],[32,12],[34,7,[\\\"isRunning\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[12]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[11]}]]],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@name\\\"],[\\\"language\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,8,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@subheading\\\",\\\"@icon\\\"],[\\\"Localize your Help Center\\\",\\\"Manage supported languages and customize your Help Center's header\\\",\\\"team\\\"]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[10]}]]],[2,\\\"\\\\n      \\\"],[8,[32,8,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n      \\\"],[8,[32,8,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__padr__15 u__padl__15 u__padb__15 articles__site-settings__section-body\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"articles/site/settings/language-component\\\",[],[[\\\"@site\\\",\\\"@save\\\",\\\"@cancel\\\",\\\"@body\\\",\\\"@saveIsRunning\\\"],[[34,0],[30,[36,2],[[32,0],\\\"save\\\"],null],[30,[36,2],[[32,0],\\\"cancel\\\",[32,9,[\\\"accordionAPI\\\"]]],null],[32,9],[34,7,[\\\"isRunning\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[9]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[8]}]]],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@name\\\"],[\\\"appearance\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,5,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@subheading\\\",\\\"@icon\\\"],[\\\"Style your Help Center\\\",\\\"Add your logo, header image and color, as well as configuring your social and footer links\\\",\\\"pencil\\\"]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[7]}]]],[2,\\\"\\\\n      \\\"],[8,[32,5,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n      \\\"],[8,[32,5,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__padr__15 u__padl__15 u__padb__15 articles__site-settings__section-body\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"articles/site/settings/appearance-component\\\",[],[[\\\"@site\\\",\\\"@uploadHelper\\\",\\\"@save\\\",\\\"@cancel\\\",\\\"@body\\\",\\\"@saveIsRunning\\\"],[[34,0],[34,8],[30,[36,2],[[32,0],\\\"save\\\"],null],[30,[36,2],[[32,0],\\\"cancel\\\",[32,6,[\\\"accordionAPI\\\"]]],null],[32,6],[34,7,[\\\"isRunning\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[6]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@name\\\"],[\\\"advanced\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@subheading\\\",\\\"@icon\\\",\\\"@showEnabledLabel\\\",\\\"@enabled\\\"],[\\\"Keep your Help Center private\\\",\\\"Control who has access to your articles\\\",\\\"token\\\",true,[34,0,[\\\"segmentedContentTurnedOn\\\"]]]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__padr__15 u__padl__15 u__padb__15 articles__site-settings__section-body\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"articles/site/settings/advanced-component\\\",[],[[\\\"@site\\\",\\\"@save\\\",\\\"@cancel\\\",\\\"@body\\\",\\\"@saveIsRunning\\\"],[[34,0],[30,[36,2],[[32,0],\\\"save\\\"],null],[30,[36,2],[[32,0],\\\"cancel\\\",[32,3,[\\\"accordionAPI\\\"]]],null],[32,3],[34,7,[\\\"isRunning\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"site\\\",\\\"if\\\",\\\"action\\\",\\\"app\\\",\\\"or\\\",\\\"sectionCanClose\\\",\\\"perform\\\",\\\"_saveSite\\\",\\\"uploadHelper\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/articles/site/settings.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"mQd2LZte\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__scrolls o__has-columns o__flexes-to-1 js__main-container\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"customer\\\",\\\"hasEverHadSubscription\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"billing/submenu-component\\\",[],[[\\\"@customer\\\"],[[32,0,[\\\"customer\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"layout__box o__has-rows o__flexes-to-1 main__content-outlet \\\",[30,[36,1],[[30,[36,2],[[32,0,[\\\"appController\\\",\\\"navbarCollapsed\\\"]],[32,0,[\\\"customer\\\",\\\"hasNeverHadSubscription\\\"]]],null],\\\"o__without-submenu\\\"],null]]]],[12],[2,\\\"\\\\n    \\\"],[8,\\\"intercomrade-warning\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      Edits made here could result in customer-facing changes.\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[1,[30,[36,4],[[30,[36,3],null,null]],null]],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"addressModalIsOpen\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"billing/company-address-modal\\\",[],[[\\\"@closeModal\\\"],[[30,[36,0],[[32,0],\\\"addressModalIsOpen\\\",false],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[32,0,[\\\"creditCardModalIsOpen\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"billing/credit-card-modal\\\",[],[[\\\"@closeModal\\\"],[[30,[36,0],[[32,0],\\\"creditCardModalIsOpen\\\",false],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"set\\\",\\\"if\\\",\\\"or\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"+jtGaYLo\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[\\\"Cancel Subscription\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"a\\\"],[14,0,\\\"t__em-link\\\"],[14,6,\\\"https://www.intercom.com/pricing\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[2,\\\"\\\\n    How pricing works\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__scrolls p-8\\\"],[12],[2,\\\"\\\\n  \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/cancel.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"kT52OG+h\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"h1\\\"],[14,0,\\\"t__h1 mb-3\\\"],[12],[2,\\\"\\\\n  Your subscription is cancelled\\\\n\\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[10,\\\"ul\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"li\\\"],[14,0,\\\"u__padb__20\\\"],[12],[2,\\\"\\\\n    You can continue to use Intercom until your current billing cycle ends\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"li\\\"],[14,0,\\\"u__padb__20\\\"],[12],[2,\\\"\\\\n    After your billing cycle ends, you will not be able to use Intercom\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"li\\\"],[14,0,\\\"u__padb__20\\\"],[12],[2,\\\"\\\\n    If you'd like to export your customer data, \\\"],[10,\\\"a\\\"],[14,0,\\\"t__em-link\\\"],[14,\\\"data-cancel-export-data\\\",\\\"true\\\"],[12],[2,\\\"click here\\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"li\\\"],[14,0,\\\"u__padb__20\\\"],[12],[2,\\\"\\\\n    To immediately and permanently delete your workspace,\\\"],[11,\\\"a\\\"],[24,0,\\\"t__em-link\\\"],[4,[38,0],[\\\"click\\\",[32,0,[\\\"deleteWorkspace\\\"]]],null],[12],[2,\\\"\\\\n    click here\\\\n    \\\"],[13],[2,\\\"\\\\n    (this can't be undone)\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h1 mb-3\\\"],[12],[2,\\\"\\\\n  Restart Subscription\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"ul\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n    Made a mistake? If you want to restart your subscription, just \\\"],[11,\\\"a\\\"],[24,0,\\\"t__em-link\\\"],[4,[38,0],[\\\"click\\\",[32,0,[\\\"restart\\\"]]],null],[12],[2,\\\"click here\\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"on\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/cancel/complete.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"iM/PKQWy\",\"block\":\"{\\\"symbols\\\":[\\\"list\\\",\\\"feature\\\"],\\\"statements\\\":[[10,\\\"h1\\\"],[14,0,\\\"t__h1 mb-2\\\"],[12],[2,\\\"\\\\n  You're about to cancel your subscription\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"mb-2\\\"],[12],[2,\\\"\\\\n  Once your subscription expires on your next invoice date, you'll lose access to Intercom:\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"ul\\\"],[14,0,\\\"settings__billing__cancel__extend-list\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[30,[36,1],[[30,[36,1],[[32,0,[\\\"featuresLost\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"li\\\"],[14,0,\\\"u__padb__20\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"settings__billing__cancel__extend-list-icon\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[30,[36,0],[\\\"delete\\\"],[[\\\"color\\\"],[\\\"yellow\\\"]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[1,[32,2]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button-list\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@inLeftList\\\"],[\\\"Return to Billing\\\",\\\"secondary\\\",[30,[36,3],[\\\"apps.app.billing\\\"],null],true]],null],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"button\\\"]],[[4,[38,4],[\\\"click\\\",[32,0,[\\\"cancelSubscription\\\"]]],null]],[[\\\"@label\\\",\\\"@type\\\",\\\"@inLeftList\\\",\\\"@processingLabel\\\",\\\"@isProcessing\\\"],[\\\"Cancel my subscription\\\",\\\"primary-destructive\\\",true,\\\"Cancelling subscription...\\\",[32,0,[\\\"cancelSubscriptionTask\\\",\\\"isRunning\\\"]]]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"ic-interface-icon\\\",\\\"-track-array\\\",\\\"each\\\",\\\"transition-to\\\",\\\"on\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/cancel/confirm.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"e7JHMENi\",\"block\":\"{\\\"symbols\\\":[\\\"form\\\",\\\"list\\\",\\\"item\\\",\\\"group\\\",\\\"a\\\",\\\"a\\\"],\\\"statements\\\":[[2,\\\"\\\\n\\\"],[8,\\\"form\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"SectionHeading\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"1\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[1,[32,0,[\\\"currentQuestion\\\",\\\"question\\\"]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"Item\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"currentQuestion\\\",\\\"multiSelect\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"text\\\",[],[[\\\"@size\\\"],[\\\"\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Select all that apply\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[[30,[36,3],[[32,0,[\\\"currentQuestion\\\",\\\"cancellationReasons\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"settings__billing__cancel__options\\\"],[12],[2,\\\"\\\\n          \\\"],[8,[32,3,[\\\"Checkbox\\\"]],[],[[\\\"@checked\\\",\\\"@label\\\"],[[32,6,[\\\"isChecked\\\"]],[32,6,[\\\"reason\\\"]]]],null],[2,\\\"\\\\n\\\"],[6,[37,2],[[30,[36,1],[[32,6,[\\\"isChecked\\\"]],[32,6,[\\\"freeTextResponse\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,[32,3,[\\\"Input\\\"]],[],[[\\\"@value\\\",\\\"@placeholder\\\"],[[32,0,[\\\"freeTextAnswer\\\"]],\\\"Please share more details so we can improve\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[6]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[32,0,[\\\"freeTextOnlyQuestion\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,3,[\\\"Textarea\\\"]],[],[[\\\"@value\\\",\\\"@placeholder\\\"],[[32,0,[\\\"freeTextAnswer\\\"]],\\\"Please share more details so we can improve\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,3,[\\\"RadioGroup\\\"]],[],[[\\\"@selected\\\"],[[32,0,[\\\"currentSelection\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[[30,[36,3],[[32,0,[\\\"currentQuestion\\\",\\\"cancellationReasons\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"         \\\"],[10,\\\"div\\\"],[14,0,\\\"settings__billing__cancel__options\\\"],[12],[2,\\\"\\\\n            \\\"],[8,[32,4,[\\\"RadioButton\\\"]],[],[[\\\"@value\\\",\\\"@label\\\"],[[32,5,[\\\"id\\\"]],[32,5,[\\\"reason\\\"]]]],null],[2,\\\"\\\\n\\\"],[6,[37,2],[[30,[36,1],[[30,[36,0],[[32,0,[\\\"currentSelection\\\"]],[32,5,[\\\"id\\\"]]],null],[32,5,[\\\"freeTextResponse\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[8,[32,3,[\\\"Input\\\"]],[],[[\\\"@value\\\",\\\"@placeholder\\\"],[[32,0,[\\\"freeTextAnswer\\\"]],\\\"Please share more details so we can improve\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button-list\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,2,[\\\"button\\\"]],[[4,[38,6],[\\\"click\\\",[30,[36,5],[\\\"apps.app.billing\\\"],null]],null]],[[\\\"@label\\\",\\\"@type\\\",\\\"@inLeftList\\\"],[\\\"Return to Billing\\\",\\\"secondary\\\",true]],null],[2,\\\"\\\\n    \\\"],[8,[32,2,[\\\"button\\\"]],[[4,[38,6],[\\\"click\\\",[30,[36,2],[[32,0,[\\\"hasNoMoreQuestions\\\"]],[32,0,[\\\"submitAndGoToCancel\\\"]],[32,0,[\\\"nextQuestion\\\"]]],null]],null]],[[\\\"@label\\\",\\\"@type\\\",\\\"@inLeftList\\\",\\\"@processingLabel\\\",\\\"@isProcessing\\\",\\\"@disabled\\\"],[[30,[36,2],[[32,0,[\\\"hasNoMoreQuestions\\\"]],\\\"Submit\\\",\\\"Continue\\\"],null],\\\"primary\\\",true,\\\"Submitting...\\\",[32,0,[\\\"submitResponse\\\",\\\"isRunning\\\"]],[30,[36,7],[[32,0,[\\\"hasValidAnswer\\\"]]],null]]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"eq\\\",\\\"and\\\",\\\"if\\\",\\\"-track-array\\\",\\\"each\\\",\\\"transition-to\\\",\\\"on\\\",\\\"not\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/cancel/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"rvdcXWU+\",\"block\":\"{\\\"symbols\\\":[\\\"list\\\"],\\\"statements\\\":[[10,\\\"h1\\\"],[14,0,\\\"t__h1 mb-2\\\"],[12],[2,\\\"\\\\n  We're here to help with your COVID-19 response\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"ul\\\"],[14,0,\\\"settings__billing__cancel__extend-list-wrap-no-icon\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"li\\\"],[14,0,\\\"u__padb__20\\\"],[12],[2,\\\"\\\\n    It's more important than ever to stay connected. That's why we're offering your business a 50% discount while you handle the effects of COVID-19 on your business.\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"li\\\"],[14,0,\\\"u__padb__20\\\"],[12],[2,\\\"\\\\n    To accept this offer, click 'Get discount' below and we will automatically apply a 50% discount to your invoice for the next 3 months.\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button-list\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@inLeftList\\\"],[\\\"Return to Billing\\\",\\\"secondary\\\",[30,[36,0],[\\\"apps.app.billing\\\"],null],true]],null],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"button\\\"]],[[4,[38,1],[\\\"click\\\",[32,0,[\\\"cancelSubscription\\\"]]],null]],[[\\\"@label\\\",\\\"@type\\\",\\\"@inLeftList\\\",\\\"@processingLabel\\\",\\\"@isProcessing\\\"],[\\\"Cancel your subscription\\\",\\\"secondary-destructive\\\",true,\\\"Cancelling subscription...\\\",[32,0,[\\\"cancelSubscriptionTask\\\",\\\"isRunning\\\"]]]],null],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"button\\\"]],[[4,[38,1],[\\\"click\\\",[32,0,[\\\"redeemOffer\\\"]]],null]],[[\\\"@label\\\",\\\"@type\\\",\\\"@inLeftList\\\",\\\"@processingLabel\\\",\\\"@isProcessing\\\"],[\\\"Get discount\\\",\\\"primary\\\",true,\\\"Accepting discount...\\\",[32,0,[\\\"redeemOfferTask\\\",\\\"isRunning\\\"]]]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"transition-to\\\",\\\"on\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/cancel/offer.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Xra1S60W\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[32,0,[\\\"titleToken\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"a\\\"],[14,0,\\\"t__em-link\\\"],[15,6,[30,[36,1],[[30,[36,0],[\\\"early-stage-graduation-view\\\"],null],\\\"https://www.intercom.com/help/en/articles/4227296-graduating-from-early-stage-pricing-guide\\\",\\\"https://www.intercom.com/pricing\\\"],null]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[2,\\\"\\\\n    How pricing works\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[1,[30,[36,3],[[30,[36,2],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"has-feature\\\",\\\"if\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/details.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"F17uBjWl\",\"block\":\"{\\\"symbols\\\":[\\\"list\\\"],\\\"statements\\\":[[10,\\\"h1\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n  Your subscription is cancelled\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"ul\\\"],[14,0,\\\"settings__billing__cancel__extend-list mt-6\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"li\\\"],[14,0,\\\"u__padb__20\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"settings__billing__cancel__extend-list-icon\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[30,[36,0],[\\\"check\\\"],[[\\\"color\\\"],[\\\"black\\\"]]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    You can continue to use Intercom until your current billing cycle ends\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"li\\\"],[14,0,\\\"u__padb__20\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"settings__billing__cancel__extend-list-icon\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[30,[36,0],[\\\"check\\\"],[[\\\"color\\\"],[\\\"black\\\"]]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    After your billing cycle ends, you will not be able to use Intercom\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"li\\\"],[14,0,\\\"u__padb__20\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"settings__billing__cancel__extend-list-icon\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[30,[36,0],[\\\"check\\\"],[[\\\"color\\\"],[\\\"black\\\"]]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    Find out how to export your customer data\\\\n    \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\",\\\"@linkStyling\\\"],[\\\"https://www.intercom.com/help/faqs-and-troubleshooting/your-users-and-leads-data-in-intercom/can-i-export-user-or-company-data-as-a-csv\\\",\\\"here\\\",\\\"article\\\",\\\"inline\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"li\\\"],[14,0,\\\"u__padb__20\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"settings__billing__cancel__extend-list-icon\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[30,[36,0],[\\\"check\\\"],[[\\\"color\\\"],[\\\"black\\\"]]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    To immediately and permanently delete your workspace, \\\"],[10,\\\"a\\\"],[15,\\\"onclick\\\",[30,[36,1],[[32,0],\\\"deleteWorkspace\\\"],null]],[14,0,\\\"t__em-link\\\"],[12],[2,\\\"\\\\n      click here\\\\n    \\\"],[13],[2,\\\"\\\\n    (this can't be undone)\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button-list\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@inLeftList\\\"],[\\\"Return home\\\",\\\"secondary\\\",[30,[36,1],[[32,0],\\\"redirect\\\"],null],true]],null],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@inLeftList\\\"],[\\\"Restart subscription\\\",\\\"primary\\\",[30,[36,1],[[32,0],\\\"restart\\\"],null],true]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"ic-interface-icon\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/details/cancel/complete.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"QA7AsQ1v\",\"block\":\"{\\\"symbols\\\":[\\\"list\\\"],\\\"statements\\\":[[10,\\\"h1\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n  You're about to cancel your subscription\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"mt-2\\\"],[12],[2,\\\"\\\\n  Once your subscription expires on your next invoice date, you'll lose access to Intercom:\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"ul\\\"],[14,0,\\\"settings__billing__cancel__extend-list mt-4\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"li\\\"],[14,0,\\\"u__padb__20\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"settings__billing__cancel__extend-list-icon\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[30,[36,0],[\\\"delete\\\"],[[\\\"color\\\"],[\\\"yellow\\\"]]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    Your customers won't be able to use the world's best business messenger\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"li\\\"],[14,0,\\\"u__padb__20\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"settings__billing__cancel__extend-list-icon\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[30,[36,0],[\\\"delete\\\"],[[\\\"color\\\"],[\\\"yellow\\\"]]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    You won't be able to reply to conversations\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"li\\\"],[14,0,\\\"u__padb__20\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"settings__billing__cancel__extend-list-icon\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[30,[36,0],[\\\"delete\\\"],[[\\\"color\\\"],[\\\"yellow\\\"]]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    You'll lose your settings and configurations\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button-list\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@inLeftList\\\"],[\\\"Return to Billing\\\",\\\"secondary\\\",[30,[36,1],[\\\"nevermind\\\",[32,0,[\\\"place\\\"]]],null],true]],null],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@inLeftList\\\",\\\"@processingLabel\\\"],[\\\"Cancel my subscription\\\",\\\"primary-destructive\\\",[30,[36,1],[\\\"cancelSubscription\\\",[32,0,[\\\"place\\\"]]],null],true,\\\"Cancelling subscription\\\"]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"ic-interface-icon\\\",\\\"route-action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/details/cancel/confirm.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"bDu6Ova7\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/details/cancel/offers.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"3C09soxl\",\"block\":\"{\\\"symbols\\\":[\\\"list\\\",\\\"plan\\\"],\\\"statements\\\":[[10,\\\"h1\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n  Let's help lower your cost\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[[35,2],0],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n    Your monthly bill can drop to \\\"],[1,[35,1,[\\\"formattedAmount\\\"]]],[2,\\\", \\\"],[10,\\\"span\\\"],[14,0,\\\"settings__billing__cancel__offer-downsize-price-info\\\"],[12],[2,\\\"\\\\n      saving you $\\\"],[1,[34,2]],[2,\\\" per month.\\\\n    \\\"],[13],[2,\\\"\\\\n    Just remove the products you're not using.\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n    Remove products you're not using to save on your monthly bill.\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-4\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[30,[36,6],[[30,[36,6],[[35,5]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"billing/details/cancel/downsize/plan\\\",[],[[\\\"@plan\\\"],[[32,2]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button-list\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@type\\\",\\\"@inLeftList\\\"],[\\\"Back\\\",[30,[36,9],[\\\"backToOffers\\\",[35,8]],null],\\\"secondary\\\",true]],null],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,10]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@processingLabel\\\",\\\"@isProcessing\\\",\\\"@type\\\",\\\"@inLeftList\\\"],[\\\"Update subscription\\\",\\\"Updating...\\\",true,\\\"primary\\\",true]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@type\\\",\\\"@inLeftList\\\"],[\\\"Update subscription\\\",[30,[36,0],[[32,0],\\\"redeemOfferAndTransition\\\"],null],\\\"primary\\\",true]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"newPrice\\\",\\\"savingsAmount\\\",\\\"gt\\\",\\\"if\\\",\\\"suggestedPlansToRemove\\\",\\\"-track-array\\\",\\\"each\\\",\\\"offer\\\",\\\"route-action\\\",\\\"isLoading\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/details/cancel/offers/downsize.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"KaS1fglt\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n  You've got 2 more weeks free on Intercom!\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"mb-6 settings__billing__cancel__pause-description\\\"],[12],[2,\\\"\\\\n  Your trial now runs through \\\"],[1,[34,0]],[2,\\\". Need help getting set up? \\\"],[11,\\\"a\\\"],[24,0,\\\"t__em-link\\\"],[4,[38,1],[[32,0],\\\"openInAppMessenger\\\"],null],[12],[2,\\\"\\\\n    Chat with us\\\\n  \\\"],[13],[2,\\\"\\\\n  .\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@type\\\",\\\"@inLeftList\\\"],[\\\"Return to Billing\\\",[30,[36,1],[[32,0],\\\"returnToBilling\\\"],null],\\\"secondary\\\",true]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"trialExtendedToDate\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/details/cancel/offers/extend-trial.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"fDCyVyRx\",\"block\":\"{\\\"symbols\\\":[\\\"offer\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n  How can we help?\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-columns\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[35,1]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"billing/details/cancel/help-card\\\",[],[[\\\"@offer\\\",\\\"@openInAppMessenger\\\"],[[32,1],[30,[36,0],[[32,0],\\\"openInAppMessenger\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@type\\\",\\\"@inLeftList\\\"],[\\\"Return to Billing\\\",[30,[36,0],[[32,0],\\\"returnToBilling\\\"],null],\\\"secondary\\\",true]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"getHelpOffers\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/details/cancel/offers/get-help.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"H2Pre+OC\",\"block\":\"{\\\"symbols\\\":[\\\"list\\\",\\\"offer\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n  Can we help you stay? We want you to get the most out of Intercom.\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"mt-2 mb-10\\\"],[12],[2,\\\"\\\\n  Choose an option\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"settings__billing__cancel__offer-list-container\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[35,1]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"billing/details/cancel/offer\\\",[],[[\\\"@offer\\\",\\\"@redeem\\\"],[[32,2],[34,0]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf mt-5\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button-list\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@type\\\",\\\"@inLeftList\\\"],[\\\"Return to Billing\\\",[30,[36,4],[\\\"nevermind\\\",[32,0,[\\\"place\\\"]]],null],\\\"secondary\\\",true]],null],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@type\\\",\\\"@inLeftList\\\"],[\\\"Cancel your subscription\\\",[30,[36,4],[\\\"confirmCancel\\\",[32,0,[\\\"place\\\"]]],null],\\\"primary-destructive\\\",true]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"redeemOffer\\\",\\\"shuffledOffers\\\",\\\"-track-array\\\",\\\"each\\\",\\\"route-action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/details/cancel/offers/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"9ko3A6JD\",\"block\":\"{\\\"symbols\\\":[\\\"list\\\",\\\"numberOfDays\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n  Pause your subscription\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"mb-6 settings__billing__cancel__pause-description\\\"],[12],[2,\\\"\\\\n  Take a break, then get a reminder to reactivate your account. In the meantime, you can still use your Intercom workspace\\\\n  to get set up. When would you like to get your email reminder?\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,6],[[30,[36,5],[[30,[36,5],[[35,4]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[14,0,\\\"f__radio-label u__cf\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-wrapper\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"input\\\"],[15,\\\"checked\\\",[30,[36,3],[[35,1],[32,2]],null]],[15,\\\"onclick\\\",[30,[36,0],[[32,0],\\\"updatePauseLength\\\",[32,2]],null]],[14,4,\\\"radio\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-content\\\"],[12],[2,\\\"\\\\n          In \\\"],[1,[32,2]],[2,\\\" days\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button-list\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@type\\\",\\\"@inLeftList\\\"],[\\\"Back\\\",[30,[36,8],[\\\"backToOffers\\\",[35,7]],null],\\\"secondary\\\",true]],null],[2,\\\"\\\\n\\\"],[6,[37,10],[[35,9]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@inLeftList\\\",\\\"@isProcessing\\\",\\\"@processingLabel\\\"],[\\\"Pause subscription\\\",\\\"primary\\\",true,true,\\\"Pausing...\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@type\\\",\\\"@inLeftList\\\",\\\"@disabled\\\"],[\\\"Pause subscription\\\",[30,[36,0],[[32,0],\\\"redeemOfferAndTransition\\\"],null],\\\"primary\\\",true,[30,[36,2],[[35,1]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"pauseLength\\\",\\\"not\\\",\\\"eq\\\",\\\"pauseLengthOptions\\\",\\\"-track-array\\\",\\\"each\\\",\\\"offer\\\",\\\"route-action\\\",\\\"isLoading\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/details/cancel/offers/pause-subscription.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"JbLxczol\",\"block\":\"{\\\"symbols\\\":[\\\"reason\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"],[10,\\\"h1\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n  What is your primary reason for cancelling Intercom?\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"form\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"table\\\"],[14,0,\\\"tbl\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"    \\\"],[10,\\\"tbody\\\"],[14,0,\\\"tbl_body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,8],[[30,[36,7],[[30,[36,7],[[35,6]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"tr\\\"],[14,0,\\\"\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"one-way-radio\\\",[],[[\\\"@value\\\",\\\"@update\\\",\\\"@option\\\",\\\"@name\\\"],[[34,0,[\\\"reasonId\\\"]],[30,[36,2],[[32,0],[30,[36,1],[[35,0,[\\\"reasonId\\\"]]],null]],null],[32,1,[\\\"id\\\"]],\\\"reason\\\"]],null],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"u__ml__10\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[32,1,[\\\"reason\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[30,[36,4],[[30,[36,3],[[32,1,[\\\"id\\\"]],99],null],[30,[36,3],[[35,0,[\\\"reasonId\\\"]],[32,1,[\\\"id\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n              \\\"],[10,\\\"textarea\\\"],[14,0,\\\"f__text\\\"],[14,\\\"placeholder\\\",\\\"Please share more details so we can improve\\\"],[15,2,[34,0,[\\\"comment\\\"]]],[15,\\\"oninput\\\",[30,[36,2],[[32,0],[30,[36,1],[[35,0,[\\\"comment\\\"]]],null]],[[\\\"value\\\"],[\\\"target.value\\\"]]]],[12],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@type\\\",\\\"@inLeftList\\\"],[\\\"Return to Billing\\\",[30,[36,9],[\\\"nevermind\\\",[32,0,[\\\"place\\\"]]],null],\\\"secondary\\\",true]],null],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@disabled\\\",\\\"@type\\\",\\\"@inLeftList\\\"],[\\\"Next\\\",[30,[36,9],[\\\"next\\\",[32,0,[\\\"place\\\"]],[32,0,[\\\"selectedReason\\\",\\\"reason\\\"]],[32,0,[\\\"feedbackResponse\\\",\\\"comment\\\"]]],null],[30,[36,11],[[35,10]],null],\\\"primary\\\",true]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"feedbackResponse\\\",\\\"mut\\\",\\\"action\\\",\\\"eq\\\",\\\"and\\\",\\\"if\\\",\\\"feedbackReasons\\\",\\\"-track-array\\\",\\\"each\\\",\\\"route-action\\\",\\\"isValid\\\",\\\"not\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/details/cancel/reason.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"JjZC3WhB\",\"block\":\"{\\\"symbols\\\":[\\\"reason\\\"],\\\"statements\\\":[[10,\\\"h1\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n  \\\"],[1,[34,5]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"form\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"table\\\"],[14,0,\\\"tbl\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"    \\\"],[10,\\\"tbody\\\"],[14,0,\\\"tbl_body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,8],[[30,[36,7],[[30,[36,7],[[35,6]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[14,0,\\\"f__radio-label u__cf\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-wrapper\\\"],[12],[2,\\\"\\\\n                \\\"],[8,\\\"one-way-radio\\\",[],[[\\\"@value\\\",\\\"@update\\\",\\\"@option\\\",\\\"@name\\\"],[[34,0,[\\\"secondaryReasonId\\\"]],[30,[36,2],[[32,0],[30,[36,1],[[35,0,[\\\"secondaryReasonId\\\"]]],null]],null],[32,1,[\\\"id\\\"]],\\\"reason\\\"]],null],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-content\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[32,1,[\\\"reason\\\"]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[[35,0,[\\\"secondaryReasonId\\\"]],[32,1,[\\\"id\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n              \\\"],[10,\\\"textarea\\\"],[14,0,\\\"f__text\\\"],[14,\\\"placeholder\\\",\\\"Please share more details so we can improve\\\"],[15,2,[34,0,[\\\"comment\\\"]]],[15,\\\"oninput\\\",[30,[36,2],[[32,0],[30,[36,1],[[35,0,[\\\"comment\\\"]]],null]],[[\\\"value\\\"],[\\\"target.value\\\"]]]],[12],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@type\\\",\\\"@inLeftList\\\"],[\\\"Return to Billing\\\",[30,[36,9],[\\\"nevermind\\\",[32,0,[\\\"place\\\"]]],null],\\\"secondary\\\",true]],null],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@disabled\\\",\\\"@type\\\",\\\"@inLeftList\\\"],[\\\"Next\\\",[30,[36,9],[\\\"next\\\",[32,0,[\\\"place\\\"]],[32,0,[\\\"selectedReason\\\"]],[32,0,[\\\"feedbackResponse\\\",\\\"comment\\\"]]],null],[30,[36,11],[[35,10]],null],\\\"primary\\\",true]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"feedbackResponse\\\",\\\"mut\\\",\\\"action\\\",\\\"eq\\\",\\\"if\\\",\\\"question\\\",\\\"feedbackSecondaryReasons\\\",\\\"-track-array\\\",\\\"each\\\",\\\"route-action\\\",\\\"isValid\\\",\\\"not\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/details/cancel/secondary-reason.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"JX4S3yNK\",\"block\":\"{\\\"symbols\\\":[\\\"list\\\",\\\"answer\\\",\\\"product\\\"],\\\"statements\\\":[[10,\\\"h1\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n  Are you switching to an alternative tool? If so, which one?\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"form\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"table\\\"],[14,0,\\\"tbl\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"    \\\"],[10,\\\"tbody\\\"],[14,0,\\\"tbl_body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,8],[[30,[36,7],[[30,[36,7],[[35,9]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"tr\\\"],[14,0,\\\"\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"one-way-radio\\\",[],[[\\\"@value\\\",\\\"@update\\\",\\\"@option\\\",\\\"@name\\\"],[[34,0,[\\\"switchingAnswerId\\\"]],[30,[36,2],[[32,0],[30,[36,1],[[35,0,[\\\"switchingAnswerId\\\"]]],null]],null],[32,2,[\\\"id\\\"]],\\\"switching\\\"]],null],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"u__ml__10\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[32,2,[\\\"answer\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[30,[36,4],[[35,0,[\\\"shouldHaveAlternativeProductId\\\"]],[30,[36,3],[[32,2,[\\\"id\\\"]],1],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"div\\\"],[14,0,\\\"u__ml__15 u__mt__10\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"h4\\\"],[14,0,\\\"t__h4 t__label\\\"],[12],[2,\\\"\\\\n                  Please Select\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,8],[[30,[36,7],[[30,[36,7],[[35,6]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__ml__10 u__mt__5\\\"],[12],[2,\\\"\\\\n                    \\\"],[8,\\\"one-way-radio\\\",[],[[\\\"@value\\\",\\\"@update\\\",\\\"@option\\\",\\\"@name\\\"],[[34,0,[\\\"alternativeProductId\\\"]],[30,[36,2],[[32,0],[30,[36,1],[[35,0,[\\\"alternativeProductId\\\"]]],null]],null],[32,3,[\\\"id\\\"]],\\\"product\\\"]],null],[2,\\\"\\\\n                    \\\"],[10,\\\"span\\\"],[14,0,\\\"u__ml__10\\\"],[12],[2,\\\"\\\\n                      \\\"],[1,[32,3,[\\\"name\\\"]]],[2,\\\"\\\\n                    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[30,[36,4],[[35,0,[\\\"shouldHaveAlternativeProductComment\\\"]],[30,[36,3],[[32,3,[\\\"id\\\"]],99],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[8,\\\"one-way-input\\\",[[24,0,\\\"f__text\\\"],[24,\\\"placeholder\\\",\\\"Which one?\\\"]],[[\\\"@value\\\",\\\"@update\\\"],[[34,0,[\\\"alternativeProductComment\\\"]],[30,[36,2],[[32,0],[30,[36,1],[[35,0,[\\\"alternativeProductComment\\\"]]],null]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"                  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button-list\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@type\\\",\\\"@inLeftList\\\"],[\\\"Return to Billing\\\",[30,[36,10],[\\\"nevermind\\\",[32,0,[\\\"place\\\"]]],null],\\\"secondary\\\",true]],null],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@disabled\\\",\\\"@type\\\",\\\"@inLeftList\\\"],[\\\"Next\\\",[30,[36,10],[\\\"next\\\",[32,0,[\\\"place\\\"]],[32,0,[\\\"selectedAnswer\\\",\\\"answer\\\"]],[32,0,[\\\"comment\\\"]]],null],[30,[36,12],[[35,11]],null],\\\"primary\\\",true]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"feedbackResponse\\\",\\\"mut\\\",\\\"action\\\",\\\"eq\\\",\\\"and\\\",\\\"if\\\",\\\"alternativeProducts\\\",\\\"-track-array\\\",\\\"each\\\",\\\"switchAnswers\\\",\\\"route-action\\\",\\\"isValid\\\",\\\"not\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/details/cancel/switch.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"mM5i/+90\",\"block\":\"{\\\"symbols\\\":[\\\"reason\\\"],\\\"statements\\\":[[10,\\\"h1\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n  Which of the following ways did your company use Intercom?\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"form\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"table\\\"],[14,0,\\\"tbl\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"    \\\"],[10,\\\"tbody\\\"],[14,0,\\\"tbl_body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,6],[[30,[36,5],[[30,[36,5],[[32,0,[\\\"feedbackTertiaryReasons\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[14,0,\\\"f__radio-label u__cf\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-wrapper\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"input\\\"],[15,\\\"checked\\\",[30,[36,2],[[32,0,[\\\"feedbackResponse\\\",\\\"tertiaryReasonId\\\"]],[32,1,[\\\"id\\\"]]],null]],[15,\\\"onClick\\\",[30,[36,1],[[32,0],[30,[36,0],[[32,0,[\\\"feedbackResponse\\\",\\\"tertiaryReasonId\\\"]]],null],[32,1,[\\\"id\\\"]]],null]],[14,4,\\\"radio\\\"],[12],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-content\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[32,1,[\\\"reason\\\"]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[[30,[36,2],[[32,1,[\\\"id\\\"]],99],null],[30,[36,2],[[32,0,[\\\"feedbackResponse\\\",\\\"tertiaryReasonId\\\"]],[32,1,[\\\"id\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"textarea\\\"],[14,0,\\\"f__text mt-2\\\"],[14,\\\"placeholder\\\",\\\"Please share more details so we can improve\\\"],[15,2,[32,0,[\\\"feedbackResponse\\\",\\\"comment\\\"]]],[15,\\\"oninput\\\",[30,[36,1],[[32,0],[30,[36,0],[[32,0,[\\\"feedbackResponse\\\",\\\"comment\\\"]]],null]],[[\\\"value\\\"],[\\\"target.value\\\"]]]],[12],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@type\\\",\\\"@inLeftList\\\"],[\\\"Return to Billing\\\",[30,[36,7],[\\\"nevermind\\\",[32,0,[\\\"place\\\"]]],null],\\\"secondary\\\",true]],null],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@disabled\\\",\\\"@type\\\",\\\"@inLeftList\\\"],[\\\"Next\\\",[30,[36,7],[\\\"next\\\",[32,0,[\\\"place\\\"]],[32,0,[\\\"selectedReason\\\"]],[32,0,[\\\"feedbackResponse\\\",\\\"comment\\\"]]],null],[30,[36,8],[[32,0,[\\\"isValid\\\"]]],null],\\\"primary\\\",true]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"mut\\\",\\\"action\\\",\\\"eq\\\",\\\"and\\\",\\\"if\\\",\\\"-track-array\\\",\\\"each\\\",\\\"route-action\\\",\\\"not\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/details/cancel/tertiary-reason.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"zvTbX0Zy\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,4],[[35,3]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@onHideClick\\\"],[\\\"help\\\",[30,[36,2],[[32,0],\\\"hide\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[12],[2,\\\"Answer Bot is now Resolution Bot. Learn about its evolution \\\"],[10,\\\"a\\\"],[14,6,\\\"https://www.intercom.com/blog/announcing-resolution-bot\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer nofollow\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[12],[2,\\\"here\\\"],[13],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-8\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"billing/upsell-banner-component\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n      Introducing new Intercom pricing\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\",\\\"@linkStyling\\\"],[\\\"https://www.intercom.com/help/updates-to-intercom-pricing\\\",\\\"We are updating our pricing structure\\\",\\\"article\\\",\\\"inline\\\"]],null],[2,\\\"\\\\n      to better align with how you and your team use Intercom.\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-8\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[8,\\\"billing/subscription-summary-component\\\",[],[[\\\"@currentTab\\\",\\\"@isEditing\\\"],[[34,6],[34,7]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,0]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"billing/unsaved-changes-modal\\\",[],[[\\\"@close\\\",\\\"@leave\\\"],[[30,[36,2],[[32,0],[30,[36,1],[[35,0]],null],false],null],[30,[36,2],[[32,0],\\\"unsavedChangesModalTransition\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[8,\\\"google-tag-manager-frame-component\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"showUnsavedChangesModal\\\",\\\"mut\\\",\\\"action\\\",\\\"showResolutionBotBanner\\\",\\\"if\\\",\\\"purchaseMigrationView\\\",\\\"selectedTab\\\",\\\"isEditing\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/details/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"6eUGH5u/\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[\\\"Subscription\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"a\\\"],[14,0,\\\"t__em-link\\\"],[14,6,\\\"https://www.intercom.com/pricing\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[2,\\\"\\\\n    How pricing works\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@title\\\",\\\"@description\\\",\\\"@icon\\\",\\\"@buttonLabel\\\",\\\"@onButtonClick\\\"],[\\\"No current subscription\\\",\\\"Start with Intercom today, select a plan that works for your business.\\\",\\\"messenger\\\",\\\"Select a plan\\\",[32,0,[\\\"openModalOrRedirect\\\"]]]],null],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"showEditPlanModal\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"billing/edit-plan-modal\\\",[],[[\\\"@closeEditPlanModal\\\"],[[32,0,[\\\"closeModal\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"ChAnNBvv\",\"block\":\"{\\\"symbols\\\":[\\\"invoice\\\"],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,8]]],null],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"billing/invoice-details-component\\\",[],[[\\\"@customer\\\"],[[34,9]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3 f__group-label\\\"],[12],[2,\\\"\\\\n      Invoice History\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,9,[\\\"manuallyInvoiced\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n        You are manually invoiced. If you have any questions about your billing, please contact us at \\\"],[10,\\\"a\\\"],[14,6,\\\"mailto:accountsreceivable@intercom.io\\\"],[12],[2,\\\"\\\\n          accountsreceivable@intercom.io\\\\n        \\\"],[13],[2,\\\"\\\\n        .\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[35,7]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n          Manual invoices not displayed. If you have any questions about your billing, please contact us at \\\"],[10,\\\"a\\\"],[14,6,\\\"mailto:accountsreceivable@intercom.io\\\"],[12],[2,\\\"\\\\n            accountsreceivable@intercom.io\\\\n          \\\"],[13],[2,\\\"\\\\n          .\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"table\\\"],[14,0,\\\"tbl invoices-table\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"      \\\"],[10,\\\"thead\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n            ID\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n            Date\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n            Amount\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"tbody\\\"],[14,0,\\\"tbl__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,4]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,6],[[30,[36,5],[[30,[36,5],[[35,4]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,1,[\\\"isZuora\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                  \\\"],[1,[32,1,[\\\"number\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"                  \\\"],[1,[32,1,[\\\"id\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,1,[\\\"isZuora\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                  \\\"],[1,[32,1,[\\\"dueDate\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"                  \\\"],[1,[32,1,[\\\"billAheadPeriodStart\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,1,[\\\"isPaid\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                  \\\"],[10,\\\"span\\\"],[14,0,\\\"text-green\\\"],[12],[2,\\\"\\\\n                    \\\"],[1,[30,[36,1],[\\\"check\\\"],null]],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"                  \\\"],[10,\\\"span\\\"],[14,0,\\\"text-red\\\"],[12],[2,\\\"\\\\n                    \\\"],[1,[30,[36,1],[\\\"x\\\"],null]],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"                \\\"],[1,[30,[36,3],[[32,1,[\\\"displayedTotal\\\"]],2],null]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,1,[\\\"isZuora\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                  \\\"],[10,\\\"a\\\"],[15,6,[31,[\\\"/ember/invoices/\\\",[32,1,[\\\"id\\\"]],\\\"?zuora=true&app_id=\\\",[34,0,[\\\"id\\\"]]]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[2,\\\"\\\\n                    Download Invoice\\\\n                  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"                  \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@model\\\"],[\\\"apps.app.billing.invoices.invoice\\\",[32,1]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                    View Invoice\\\\n                  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[14,\\\"colspan\\\",\\\"4\\\"],[12],[2,\\\"\\\\n              No invoices yet.\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"app\\\",\\\"ic-interface-icon\\\",\\\"if\\\",\\\"currency-formatter-helper\\\",\\\"filteredInvoices\\\",\\\"-track-array\\\",\\\"each\\\",\\\"manualInvoicesPresent\\\",\\\"titleToken\\\",\\\"customer\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/invoices/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Sd8q9U5A\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\",\\\"@breadcrumbRoute\\\",\\\"@breadcrumbTitle\\\"],[[30,[36,1],[\\\"Invoice #\\\",[35,0,[\\\"id\\\"]]],null],\\\"apps.app.billing.invoices\\\",\\\"Invoices\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,2],[[35,0,[\\\"isUpcoming\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"span\\\"],[14,0,\\\"stamp o__beta\\\"],[14,5,\\\"vertical-align: text-top;\\\"],[12],[2,\\\"\\\\n      Preview\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[1,[34,3]],[2,\\\" \\\"],[8,\\\"billing/invoice-component\\\",[],[[\\\"@invoice\\\"],[[34,0]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"invoice\\\",\\\"concat\\\",\\\"if\\\",\\\"test\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/invoices/invoice.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"skqWbJNg\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\",\\\"dropdown\\\",\\\"error\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Update company details\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,3],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,4],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,0]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[30,[36,1],[[35,0]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"error\\\",[32,4]]],null],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[4]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n      Specify your company name or add a billing contact.\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"company_name\\\"],[14,0,\\\"t__label f__group-label\\\"],[12],[2,\\\"\\\\n        Company name\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[8,\\\"input\\\",[[24,0,\\\"f__text o__fit\\\"]],[[\\\"@value\\\",\\\"@id\\\"],[[34,6],\\\"company_name\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"billing_email\\\"],[14,0,\\\"t__label f__group-label\\\"],[12],[2,\\\"\\\\n        Billing email\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[8,\\\"admin/selector-dropdown\\\",[],[[\\\"@app\\\",\\\"@admins\\\",\\\"@listElementAction\\\",\\\"@showTeams\\\",\\\"@showUnassigned\\\",\\\"@showSearch\\\",\\\"@itemWidth\\\",\\\"@preventDropdownToggleFromWithin\\\",\\\"@clearInputOnSelect\\\"],[[34,7],[34,8],\\\"addEmail\\\",false,false,false,478,false,false]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"input\\\",[[24,0,\\\"f__text o__fit\\\"]],[[\\\"@value\\\",\\\"@id\\\",\\\"@key-press\\\"],[[30,[36,10],[[35,9]],null],\\\"billing_email\\\",[32,3,[\\\"updatedSearchForInput\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[\\\"@processing\\\"],[[34,11]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Cancel\\\",\\\"secondary\\\",[30,[36,3],[[32,0],\\\"closeIntercomModal\\\"],null]]],null],[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Save\\\",\\\"primary\\\",[30,[36,3],[[32,0],\\\"save\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,5],[[35,11]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          Saving…\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          Save\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"errors\\\",\\\"-track-array\\\",\\\"each\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"if\\\",\\\"companyName\\\",\\\"app\\\",\\\"sortedItems\\\",\\\"contactEmail\\\",\\\"mut\\\",\\\"isSaving\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/modals/change-company-details-modal.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"I9/MuvUZ\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\",\\\"error\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,0,[\\\"isChange\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          Change your\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          Add a\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        coupon code\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,5],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,6],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,2]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,4],[[30,[36,3],[[30,[36,3],[[35,2]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"error\\\",[32,3]]],null],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[3]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__label f__group-label\\\"],[12],[2,\\\"\\\\n        Coupon code\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[8,\\\"auto-focus-component\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"input\\\",[[24,\\\"placeholder\\\",\\\"New coupon code…\\\"],[24,0,\\\"f__text o__fit\\\"]],[[\\\"@value\\\"],[[34,7]]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[\\\"@processing\\\"],[[34,8]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@inLeftList\\\"],[\\\"Cancel\\\",\\\"secondary\\\",[30,[36,5],[[32,0],\\\"closeIntercomModal\\\"],null],true]],null],[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@type\\\",\\\"@disabled\\\",\\\"@onClick\\\"],[\\\"primary\\\",[30,[36,9],[[35,7]],null],[30,[36,5],[[32,0],\\\"redeem\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[35,8]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          Processing…\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          Apply\\\\n\\\"],[6,[37,1],[[35,0,[\\\"isChange\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            new\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          coupon\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"options\\\",\\\"if\\\",\\\"errors\\\",\\\"-track-array\\\",\\\"each\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"code\\\",\\\"isSaving\\\",\\\"not\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/modals/coupon-modal.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"bNBXuy7U\",\"block\":\"{\\\"symbols\\\":[\\\"error\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Resume your subscription?\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,3],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,4],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body nothingness\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,0]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[30,[36,1],[[35,0]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"error\\\",[32,1]]],null],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n      You’ll keep access to all of your current paid features after\\\"],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[1,[35,6,[\\\"formattedSubscriptionWillBeCancelledAt\\\"]]],[2,\\\".\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body__confirmation-buttons\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@inLeftList\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[\\\"Cancel\\\",true,\\\"secondary\\\",[30,[36,3],[[32,0],\\\"closeIntercomModal\\\"],null],[34,7]]],null],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@processingLabel\\\",\\\"@type\\\",\\\"@action\\\",\\\"@disabled\\\"],[\\\"Resume subscription\\\",\\\"Resuming...\\\",\\\"primary\\\",\\\"resume\\\",[34,7]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"errors\\\",\\\"-track-array\\\",\\\"each\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"if\\\",\\\"model\\\",\\\"isResuming\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/modals/resume-pending-cancellation-modal.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"PnbPwFLY\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\",\\\"@contractType\\\"],[\\\"Subscription\\\",[32,0,[\\\"contract\\\",\\\"contractType\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"a\\\"],[14,0,\\\"t__em-link\\\"],[14,6,\\\"https://www.intercom.com/pricing\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[2,\\\"\\\\n    How pricing works\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[[24,0,\\\"mt-5 mb-5 u__padl__30 u__padr__30\\\"]],[[\\\"@hasPadding\\\"],[false]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/summary.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"1W7+vFrW\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-6 pl-6 pr-6\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"billing/details/warning-banners-component\\\",[],[[\\\"@customer\\\"],[[32,0,[\\\"customer\\\"]]]],null],[2,\\\"\\\\n  \\\"],[8,\\\"billing/details/change-plan-instructions-component\\\",[],[[],[]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-4\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"billing/summary/price-usage-breakdown-table\\\",[],[[\\\"@contract\\\",\\\"@openEditAddonModal\\\",\\\"@openEditPlanModal\\\"],[[32,0,[\\\"model\\\"]],[32,0,[\\\"openEditAddonModal\\\"]],[32,0,[\\\"openEditPlanModal\\\"]]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"canAddCreditCard\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"billing/edit-payment-component\\\",[],[[\\\"@isEditing\\\",\\\"@hideBillingDate\\\"],[false,true]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n\\\\n\\\"],[6,[37,1],[[32,0,[\\\"customer\\\",\\\"subscriptionWillBeCancelled\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@icon\\\",\\\"@label\\\",\\\"@action\\\",\\\"@disabled\\\"],[\\\"secondary\\\",\\\"trash\\\",\\\"Cancel subscription\\\",[30,[36,0],[\\\"apps.app.billing.cancel\\\"],null],false]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"showEditPlanModal\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"billing/edit-plan-modal\\\",[],[[\\\"@closeEditPlanModal\\\"],[[32,0,[\\\"closeEditPlanModal\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,2],[[32,0,[\\\"showEditAddonModal\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"billing/edit-addon-modal\\\",[],[[\\\"@closeEditAddonModal\\\"],[[32,0,[\\\"closeEditAddonModal\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"transition-to\\\",\\\"unless\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/billing/summary/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"hP6KO+LO\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"import csv u__3dfix layout__box o__flexes-to-1 o__has-rows o__scrolls\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,2]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__header__wrapper\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"header\\\"],[14,0,\\\"importer__header__container o__borderless layout__box\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h3 importer__header__heading\\\"],[12],[2,\\\"\\\\n          Add new custom attributes\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[8,\\\"importers/steps-component\\\",[],[[\\\"@steps\\\",\\\"@currentStep\\\"],[[34,0],[34,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[1,[30,[36,5],[[30,[36,4],null,null]],null]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"steps\\\",\\\"currentStep\\\",\\\"showHeader\\\",\\\"if\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/cda-onboarding.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"7aoWDN/d\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"header\\\"],[14,0,\\\"secondary-header layout__box\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"p\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n    Add custom attributes or check example attributes\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__right\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@testBindingClass\\\",\\\"@disabled\\\"],[[34,7],\\\"primary\\\",[30,[36,9],[[35,8]],null],\\\"test__cda__onboarding__add-cda\\\",[30,[36,11],[[30,[36,11],[[30,[36,3],[[35,10],0],null],[30,[36,3],[[35,7],\\\"Done\\\"],null]],null],[35,8,[\\\"isRunning\\\"]]],null]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"h-8\\\"],[12],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-layout\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"a\\\"],[15,0,[31,[\\\"cda__onboarding__discrete-tab test__cda_list \\\",[30,[36,4],[[30,[36,3],[[35,1],\\\"cda\\\"],null],\\\"o__selected\\\"],null]]]],[15,\\\"onclick\\\",[30,[36,6],[[32,0],[30,[36,12],[[35,1]],null],\\\"cda\\\"],null]],[12],[2,\\\"\\\\n    Your List (\\\"],[1,[34,10]],[2,\\\")\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"a\\\"],[15,0,[31,[\\\"cda__onboarding__discrete-tab test__sample_list \\\",[30,[36,4],[[30,[36,3],[[35,1],\\\"samples\\\"],null],\\\"o__selected\\\"],null]]]],[15,\\\"onclick\\\",[30,[36,6],[[32,0],[30,[36,12],[[35,1]],null],\\\"samples\\\"],null]],[12],[2,\\\"\\\\n    Sample Attributes\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__scrolls o__flexes-to-1\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"section\\\"],[14,0,\\\"container\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"card\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[[35,1],\\\"cda\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n          \\\"],[8,\\\"cda-onboarding-input-list-component\\\",[[24,0,\\\"cda__onboarding__cda-list\\\"]],[[\\\"@cdaList\\\",\\\"@erroredCdas\\\"],[[34,0],[34,5]]],null],[2,\\\"\\\\n          \\\"],[10,\\\"a\\\"],[14,0,\\\"test__cda__onboarding__add-rows\\\"],[15,\\\"onclick\\\",[30,[36,6],[[32,0],\\\"addAdditionalRows\\\",3],null]],[12],[2,\\\"\\\\n            Add more custom attributes…\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,4],[[30,[36,3],[[35,1],\\\"samples\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"cda-onboarding-sample-list-component\\\",[[24,0,\\\"cda__onboarding__cda-list\\\"]],[[\\\"@cdaList\\\",\\\"@selectedTab\\\",\\\"@selectedCategory\\\"],[[34,0],[34,1],[34,2]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"cdaList\\\",\\\"selectedTab\\\",\\\"selectedSampleCategory\\\",\\\"eq\\\",\\\"if\\\",\\\"erroredCdas\\\",\\\"action\\\",\\\"nextButton\\\",\\\"createCda\\\",\\\"perform\\\",\\\"filledCdaCount\\\",\\\"or\\\",\\\"mut\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/cda-onboarding/add.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"IBW8MmmW\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"header\\\"],[14,0,\\\"secondary-header layout__box\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"p\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n    Generated code for custom attributes\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__right\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Close\\\",\\\"secondary\\\",[30,[36,0],[[32,0],\\\"close\\\"],null]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"h-8\\\"],[12],[13],[2,\\\"\\\\n\\\"],[8,\\\"cda-onboarding-invite-component\\\",[],[[\\\"@inviteLink\\\"],[[34,1]]],null],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"section\\\"],[14,0,\\\"container\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"card\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"custom-data-attributes-component\\\",[],[[\\\"@untrackedCdas\\\",\\\"@platform\\\",\\\"@splitCodeSnippet\\\"],[[34,2],[34,3],[34,4]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"inviteLink\\\",\\\"untrackedCdas\\\",\\\"platform\\\",\\\"afterCreation\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/cda-onboarding/generate.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"LjdP9wGd\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"h-8 layout__box\\\"],[12],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__scrolls o__flexes-to-1\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"section\\\"],[14,0,\\\"container\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"cda__onboarding__intro card u__centered-text-block o__intro\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h1 cda__onboarding__intro__header-title\\\"],[12],[2,\\\"\\\\n        Custom Attributes\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"cda__onboarding__intro__header-text\\\"],[12],[2,\\\"\\\\n          Add real power to Intercom with custom attributes: data about your users that are specific to your product.\\\\n          You can keep adding more attributes as your product grows.\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-8\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"cda__onboarding__intro__content\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"cda__onboarding__intro__content__cell\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"img\\\"],[15,\\\"src\\\",[31,[[34,0,[\\\"add\\\"]]]]],[12],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"cda__onboarding__intro__content__cell\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"img\\\"],[15,\\\"src\\\",[31,[[34,0,[\\\"upArchArrow\\\"]]]]],[12],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"cda__onboarding__intro__content__cell\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"img\\\"],[15,\\\"src\\\",[31,[[34,0,[\\\"send\\\"]]]]],[12],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"cda__onboarding__intro__content__cell\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"img\\\"],[15,\\\"src\\\",[31,[[34,0,[\\\"downArchArrow\\\"]]]]],[12],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"cda__onboarding__intro__content__cell\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"img\\\"],[15,\\\"src\\\",[31,[[34,0,[\\\"know\\\"]]]]],[12],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"cda__onboarding__intro__label-container\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"cda__onboarding__intro__label-text\\\"],[12],[2,\\\"\\\\n            Add custom attributes\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"cda__onboarding__intro__label-text\\\"],[12],[2,\\\"\\\\n            Send targeted, goal-driven messages\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"cda__onboarding__intro__label-text\\\"],[12],[2,\\\"\\\\n            Know your true impact\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-8\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[8,\\\"input\\\",[[24,0,\\\"cda__onboarding__intro__footer__content__toggle\\\"]],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[34,1]]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"cda__onboarding__intro card u__centered-text-block o__video\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"cda__onboarding__intro__footer__video\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"iframe\\\"],[15,\\\"src\\\",[31,[[34,2]]]],[14,0,\\\"cda__onboarding__intro__footer__video__player\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"cda__onboarding__intro card u__centered-text-block o__footer\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"cda__onboarding__intro__footer\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"cda__onboarding__intro__footer__content\\\"],[12],[2,\\\"\\\\n          \\\"],[11,\\\"label\\\"],[24,0,\\\"cda__onboarding__intro__footer__content__link test__cda-tool__video-link\\\"],[4,[38,3],[[32,0],\\\"slideVideo\\\"],null],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,4],[\\\"put-live\\\"],null]],[2,\\\" \\\"],[1,[30,[36,5],[[35,1],\\\"Hide\\\",\\\"Watch\\\"],null]],[2,\\\" the video\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"cda__onboarding__intro__footer__content\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"cda__onboarding__intro__footer__content__link\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/configure-intercom-for-your-product-or-site/customize-intercom-to-be-about-your-users/send-custom-user-attributes-to-intercom\\\",\\\"Read the docs\\\",\\\"article\\\"]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-layout\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@testBindingClass\\\"],[\\\"Start adding custom attributes\\\",\\\"primary\\\",[30,[36,3],[[32,0],\\\"next\\\"],null],\\\"test__cda__onboarding__start-adding-cdas\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"introImages\\\",\\\"videoViewable\\\",\\\"videoUrl\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/cda-onboarding/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"yntvpdeI\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 js__main-container\\\"],[12],[2,\\\"\\\\n  \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/companies.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"2rh5Ditp\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 u__center-layout\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"profile__404__sad-intercom\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__centered-text-block mt-8\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"p\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n        Sorry we couldn't find the company you were looking for\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"p\\\"],[14,0,\\\"t__notice-text mt-5\\\"],[12],[2,\\\"\\\\n        Return to your \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@model\\\"],[\\\"apps.app.companies.segments.segment\\\",\\\"all\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          company list\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/companies/company-not-found.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"bkP39f03\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,\\\"data-sensitive\\\",\\\"true\\\"],[14,0,\\\"pl_profile_outer_container u__3dfix u__pad__20\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__padb__20\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"common/hamburger-menu\\\",[],[[\\\"@includePadding\\\"],[false]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"company-profile flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"company-profile__sidebar card\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"users/profile/sidebar-header-component\\\",[],[[\\\"@userOrCompany\\\",\\\"@app\\\"],[[34,0],[34,1]]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"avatar__highlight company-profile__sidebar__company-avatar u__center-layout\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,2],null,[[\\\"model\\\",\\\"size\\\"],[[35,0],\\\"xl\\\"]]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"company-profile__editable-name__wrapper\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"companies/profile/editable-name\\\",[],[[\\\"@app\\\",\\\"@company\\\"],[[34,1],[34,0]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[8,\\\"messages/bulk-message\\\",[],[[\\\"@segment\\\",\\\"@company\\\",\\\"@createCompanyMessage\\\"],[[34,3],[34,0],[30,[36,4],[[32,0],\\\"createCompanyMessage\\\"],null]]],null],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[8,\\\"companies/profile/sidebar-sections\\\",[],[[\\\"@app\\\",\\\"@company\\\"],[[34,1],[34,0]]],null],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@action\\\",\\\"@fit\\\"],[\\\"Delete company\\\",\\\"secondary-destructive\\\",\\\"delete\\\",true]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"js__profile-main-content flex-auto min-w-0 shim__company-profile__main\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"tabs\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"link-to\\\",[[24,0,\\\"tabs__tab\\\"]],[[\\\"@route\\\",\\\"@activeClass\\\"],[\\\"apps.app.companies.company.users\\\",\\\"o__selected\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          People\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[8,\\\"link-to\\\",[[24,0,\\\"tabs__tab\\\"]],[[\\\"@route\\\",\\\"@activeClass\\\"],[\\\"apps.app.companies.company.conversations\\\",\\\"o__selected\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          Conversations\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[1,[30,[36,6],[[30,[36,5],null,null]],null]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"model\\\",\\\"app\\\",\\\"ic-avatar\\\",\\\"segment\\\",\\\"action\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/companies/company.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"VsLuqNgT\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"modal-link-component\\\",[],[[\\\"@tagName\\\",\\\"@controllerPath\\\",\\\"@precision\\\",\\\"@action\\\"],[\\\"span\\\",\\\"apps/app/companies/company/modals/user-message\\\",true,\\\"openMessageModalOrPromptUpgrade\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@disabled\\\",\\\"@inLeftList\\\"],[\\\"secondary\\\",[30,[36,3],[[30,[36,2],[[35,1]],null],[35,0]],null],true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[1,[30,[36,4],[\\\"manual-message\\\"],null]],[2,\\\" Message\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@action\\\",\\\"@actionParam\\\",\\\"@disabled\\\",\\\"@inLeftList\\\"],[\\\"secondary\\\",\\\"openModalWithSelectionState\\\",\\\"apps/app/companies/company/modals/tag\\\",[30,[36,2],[[35,1]],null],true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[1,[30,[36,4],[\\\"tag\\\"],null]],[2,\\\" Tag\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@action\\\",\\\"@actionParam\\\",\\\"@disabled\\\",\\\"@inLeftList\\\"],[\\\"secondary\\\",\\\"openModalWithSelectionState\\\",\\\"apps/app/companies/company/modals/user-delete\\\",[30,[36,2],[[35,1]],null],true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  Remove\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"bulkOperationsDisabled\\\",\\\"selectedCount\\\",\\\"not\\\",\\\"or\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/companies/company/-user-list-bulk-actions.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"3/t3XVRw\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"u__cf pb-16 pt-4\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"conversation-state-dropdown-component\\\",[[24,0,\\\"mb-4\\\"]],[[\\\"@title\\\",\\\"@displayAllState\\\",\\\"@displayClosedState\\\",\\\"@isWide\\\",\\\"@totalCount\\\",\\\"@changeStatus\\\"],[[34,7],true,false,true,[34,8],\\\"changeStatus\\\"]],null],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,9],[[30,[36,2],[[35,1,[\\\"length\\\"]],0],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"conversation/card-list-component\\\",[],[[\\\"@app\\\",\\\"@admin\\\",\\\"@conversations\\\",\\\"@showsConversationsAndMessages\\\",\\\"@enableAutoScroll\\\",\\\"@requestPage\\\",\\\"@viewportSelector\\\",\\\"@scrollOffset\\\"],[[34,4],[34,5],[34,1],true,true,[30,[36,6],[[32,0],\\\"nextPage\\\"],null],\\\".pl_profile_outer_container\\\",-150]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,3],[[35,10,[\\\"isRunning\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"small\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,3],[[30,[36,2],[[35,1,[\\\"length\\\"]],0],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"text-center mt-2\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-illustrative-icon\\\",[],[[\\\"@name\\\",\\\"@appearance\\\"],[\\\"conversation\\\",\\\"empty\\\"]],null],[2,\\\"\\\\n      \\\"],[10,\\\"p\\\"],[14,0,\\\"t__light-text mt-1\\\"],[12],[2,\\\"\\\\n        No \\\"],[1,[34,0]],[2,\\\" conversations\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"statusNoun\\\",\\\"conversations\\\",\\\"eq\\\",\\\"if\\\",\\\"app\\\",\\\"admin\\\",\\\"action\\\",\\\"statusDropdownTitle\\\",\\\"totalCount\\\",\\\"not\\\",\\\"loadConversationsTask\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/companies/company/conversations.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"qpMhSRU9\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\"],[\\\"closeModal\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Delete \\\"],[1,[34,0]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,1],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,2],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,3]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"error\\\",\\\"An error occurred while deleting, please try again.\\\"]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n      Deleting a company is permanent. You won't be able to tag messages or segments with this company if you delete it.\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__checkbox-group\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label u__cf\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[34,5]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n          Confirm you want to delete \\\"],[1,[34,6]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[\\\"primary-destructive\\\",[30,[36,1],[[32,0],\\\"submit\\\"],null],[30,[36,9],[[30,[36,8],[[35,5]],null],[35,7]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,4],[[35,7]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          Deleting…\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          Delete\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"headerText\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"hasErrored\\\",\\\"if\\\",\\\"isConfirmed\\\",\\\"deletionTargetText\\\",\\\"isDeleting\\\",\\\"not\\\",\\\"or\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/companies/company/modals/company-delete.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Up7q/D1p\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/users-and-companies/modals/tag\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/companies/company/modals/tag.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"nBTsWJ9v\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\"],[[30,[36,0],[[32,0],\\\"closeModalUsingModalService\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[8,\\\"common/tagging-component\\\",[],[[\\\"@title\\\",\\\"@taggable\\\",\\\"@type\\\",\\\"@location\\\",\\\"@afterSave\\\"],[\\\"Tag company\\\",[34,1],\\\"user-company\\\",[30,[36,3],[[30,[36,2],[[35,1,[\\\"typeLabel\\\"]],\\\"user\\\",\\\"company\\\"],null],\\\"_profile\\\"],null],[30,[36,0],[[32,0],\\\"closeIntercomModal\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"taggable\\\",\\\"if\\\",\\\"concat\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/companies/company/modals/tagging.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"iEkmE/EU\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\"],[\\\"closeModal\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Remove \\\"],[1,[34,1]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,2],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,3],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,4]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"error\\\",\\\"An error occurred while removing, please try again.\\\"]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n      Are you sure that you want to remove\\\"],[6,[37,5],[[35,6,[\\\"count\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[1,[34,0]],[2,\\\"\\\\n        ?\\\\n        All their data and messages will still be available, but they will no longer be associated with this company.\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[\\\"@processing\\\"],[[34,7]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@type\\\",\\\"@onClick\\\"],[\\\"primary-destructive\\\",[30,[36,2],[[32,0],\\\"submit\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,5],[[35,7]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          Removing…\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          Remove\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"deletionTargetText\\\",\\\"headerText\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"hasErrored\\\",\\\"if\\\",\\\"model\\\",\\\"isDeleting\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/companies/company/modals/user-delete.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"PGkW6oja\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"components/modal/message\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/companies/company/modals/user-message.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"X2YLHROw\",\"block\":\"{\\\"symbols\\\":[\\\"user\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-start\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0 u__3dfix\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"btn__associated-content u__left company-profile__user-count\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"u__left company-profile__select-all-users\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\",\\\"@indeterminate\\\"],[\\\"checkbox\\\",[34,10],[34,11]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"t__h3 text-gray\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,12],[\\\"multiple-people\\\"],null]],[2,\\\" \\\"],[6,[37,13],[[35,9]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[1,[30,[36,8],[[35,9]],null]],[2,\\\" selected\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[1,[30,[36,8],[[35,7]],null]],[2,\\\" users\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[19,\\\"apps/app/companies/company/user-list-bulk-actions\\\",[]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"users/profile/user-sort-component\\\",[],[[\\\"@selectedSortAttribute\\\",\\\"@profileDisplayedUserAttributes\\\"],[[34,14],[34,0]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,13],[[35,15]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"small\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"pagination-component\\\",[],[[\\\"@viewportSelector\\\",\\\"@scrollingContentSelector\\\",\\\"@onPageRequested\\\"],[\\\".pl_profile_outer_container\\\",\\\".js__profile-main-content\\\",[30,[36,1],[[32,0],\\\"nextPage\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[[30,[36,3],[[35,2]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"company-user-card\\\",[],[[\\\"@userOrCompany\\\",\\\"@profileDisplayedUserAttributes\\\"],[[32,1],[34,0]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[8,\\\"paginator-component\\\",[],[[\\\"@isPaginating\\\",\\\"@hasErrored\\\"],[[34,5],[34,6]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"profileDisplayedUserAttributes\\\",\\\"action\\\",\\\"model\\\",\\\"-track-array\\\",\\\"each\\\",\\\"isPaginating\\\",\\\"hasErrored\\\",\\\"totalCount\\\",\\\"number-formatter-helper\\\",\\\"selectedCount\\\",\\\"selectAll\\\",\\\"someSelected\\\",\\\"ic-interface-icon\\\",\\\"if\\\",\\\"selectedSortAttribute\\\",\\\"isSorting\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/companies/company/users.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Y3EJm9/m\",\"block\":\"{\\\"symbols\\\":[\\\"filterWrapper\\\"],\\\"statements\\\":[[8,\\\"users-and-companies/segment-title\\\",[],[[\\\"@segment\\\",\\\"@tags\\\",\\\"@searchModel\\\",\\\"@searchActive\\\",\\\"@doSearch\\\",\\\"@exitSearch\\\"],[[32,0,[\\\"model\\\"]],[32,0,[\\\"app\\\",\\\"tags\\\"]],[32,0,[\\\"searchModel\\\"]],[32,0,[\\\"searchActive\\\"]],[30,[36,0],[[32,0],\\\"doSearch\\\"],null],[30,[36,0],[[32,0],\\\"exitSearch\\\"],null]]],null],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"app\\\",\\\"isDeveloperWorkspace\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"user-restriction-warning\\\",[[24,0,\\\"users-and-companies__list__user-restriction-warning\\\"]],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,3],[[32,0,[\\\"searchActive\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"users-and-companies/filter-wrapper\\\",[],[[\\\"@legacySegment\\\",\\\"@onUpdate\\\"],[[32,0,[\\\"model\\\"]],[30,[36,0],[[32,0],\\\"segmentFiltersChanged\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box u__padl__30 u__padr__30\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"users-and-companies/advanced-segment-editor\\\",[],[[\\\"@isUserSegment\\\",\\\"@segment\\\",\\\"@onUpdate\\\"],[false,[32,1,[\\\"segment\\\"]],[32,1,[\\\"updateSegmentPredicates\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"isDirtyAndHasValidPredicates\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"u__display-inline-block u__ml__15 u__left users-and-companies__predicates-editor__save-segment\\\"],[12],[2,\\\"\\\\n              \\\"],[11,\\\"a\\\"],[24,0,\\\"btn__tertiary js__create-or-save-segment-button\\\"],[4,[38,0],[[32,0],\\\"openSegmentModal\\\",[32,0,[\\\"model\\\"]]],null],[12],[2,\\\"\\\\n                \\\"],[1,[30,[36,2],[\\\"segment\\\"],null]],[2,\\\" Save segment\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls u__relative js__user-company-list-container users-and-companies__list\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"searchActive\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[32,0,[\\\"searchEmpty\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"search-empty-state\\\",[],[[\\\"@context\\\",\\\"@exitSearch\\\"],[\\\"platform\\\",[30,[36,0],[[32,0],\\\"exitSearch\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"users-and-companies/search-tabs\\\",[],[[\\\"@classNames\\\",\\\"@searchTerm\\\"],[\\\"u__padl__20\\\",[32,0,[\\\"searchController\\\",\\\"searchTerm\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[6,[37,3],[[30,[36,4],[[32,0,[\\\"searchActive\\\"]],[32,0,[\\\"searchEmpty\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"company-list\\\",[],[[\\\"@search\\\",\\\"@segment\\\"],[[32,0,[\\\"searchModel\\\"]],[32,0,[\\\"model\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"if\\\",\\\"ic-interface-icon\\\",\\\"unless\\\",\\\"and\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/companies/segments/segment.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"nbdGhekg\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/users-and-companies/modals/export\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/companies/segments/segment/modals/export.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"tzsxp/IH\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"components/modal/message\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/companies/segments/segment/modals/message.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"ZkxD5m/1\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\",\\\"@modalClass\\\"],[\\\"closeModal\\\",\\\"o__medium\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Save segment\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,7],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,8],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,9]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"error\\\",[34,6]]],null],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[35,0]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\"],[\\\"error\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          You already have a segment named ‘\\\"],[1,[34,4]],[2,\\\"’\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[6,[37,1],[[35,10,[\\\"is_editable\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__radio-group\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"label\\\"],[14,0,\\\"f__radio-label btn__associated-content\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-wrapper\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"radio-button\\\",[],[[\\\"@selection\\\",\\\"@value\\\"],[[34,2],\\\"false\\\"]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-content\\\"],[12],[2,\\\"\\\\n            Save changes to the segment \\\"],[10,\\\"strong\\\"],[12],[2,\\\"\\\\n              ‘\\\"],[1,[35,3,[\\\"name\\\"]]],[2,\\\"’\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__radio-group flex items-start\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[14,0,\\\"f__radio-label u__cf btn__associated-content modal__form-group__left-media-part\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-wrapper\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"radio-button\\\",[],[[\\\"@selection\\\",\\\"@value\\\"],[[34,2],\\\"true\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-content\\\"],[12],[2,\\\"\\\\n          Create new segment\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"auto-focus-component\\\",[],[[\\\"@focusIf\\\"],[[34,0]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"input\\\",[[24,\\\"placeholder\\\",\\\"Enter new segment name\\\"],[16,0,[31,[\\\"f__text o__fit \\\",[30,[36,1],[[35,12],\\\"o__disabled\\\"],null]]]]],[[\\\"@disabled\\\",\\\"@value\\\"],[[34,11],[34,4]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,0]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n        This segment will show in your sidebar. Other teammates will need to edit their sidebar to show it.\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[\\\"@processing\\\"],[[34,13]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\"],[\\\"Cancel\\\",[30,[36,7],[[32,0],\\\"closeIntercomModal\\\"],null]]],null],[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[\\\"primary\\\",[30,[36,7],[[32,0],\\\"submit\\\"],null],[34,14]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[35,13]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          Saving…\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[35,0]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            Save new segment\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            Save segment\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"secondaryButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"modal__footer__tertiary-button btn__associated-content\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"link-to\\\",[[24,0,\\\"btn__tertiary\\\"],[24,\\\"target\\\",\\\"_blank\\\"]],[[\\\"@route\\\",\\\"@tabindex\\\"],[\\\"apps.app.settings.company-segments\\\",\\\"-1\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          All \\\"],[1,[35,15,[\\\"name\\\"]]],[2,\\\" company segments ↗\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"isNew\\\",\\\"if\\\",\\\"newSegment\\\",\\\"currentSegment\\\",\\\"newSegmentName\\\",\\\"newNameAlreadyExists\\\",\\\"errorMessage\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"hasErrored\\\",\\\"model\\\",\\\"isExisting\\\",\\\"disabled\\\",\\\"isSaving\\\",\\\"isInvalid\\\",\\\"app\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/companies/segments/segment/modals/segment.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"9Qeq/QZ5\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"modal__overlay o__confirm u__center-layout\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__overlay__inner\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal o__confirm\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[34,7]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n          \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,8],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,9],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,5]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[1,[30,[36,6],[[35,5]],[[\\\"confirmContext\\\"],[[35,4]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,3],[[35,2]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[19,[35,2],[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[1,[34,1]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[6,[37,3],[[35,0]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"div\\\"],[14,0,\\\"u__mt__10\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@text\\\",\\\"@type\\\"],[[34,0],\\\"warning\\\"]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n      \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@jsBindingClass\\\"],[[34,10],[34,11],[30,[36,8],[[32,0],\\\"cancel\\\"],null],\\\"js__intercom-cancel-button\\\"]],null],[2,\\\"\\\\n          \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@jsBindingClass\\\"],[[34,12],[34,13],[30,[36,8],[[32,0],\\\"confirm\\\"],null],\\\"js__intercom-confirm-button\\\"]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"warning\\\",\\\"body\\\",\\\"confirmTemplateName\\\",\\\"if\\\",\\\"confirmContext\\\",\\\"bodyComponentName\\\",\\\"component\\\",\\\"title\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"cancelButtonText\\\",\\\"cancelButtonType\\\",\\\"confirmButtonText\\\",\\\"confirmButtonType\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/confirm-modal.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"J7PmnklI\",\"block\":\"{\\\"symbols\\\":[\\\"editorWrapper\\\",\\\"contentEditorService\\\",\\\"paywall\\\"],\\\"statements\\\":[[8,\\\"content-editor\\\",[],[[\\\"@ruleset\\\",\\\"@rulesetLink\\\",\\\"@filter\\\",\\\"@mode\\\",\\\"@view\\\",\\\"@onChangeFilter\\\",\\\"@onChangeMode\\\",\\\"@onChangeView\\\",\\\"@onChangeActiveRulesetLink\\\"],[[32,0,[\\\"model\\\"]],[32,0,[\\\"rulesetLink\\\"]],[32,0,[\\\"filter\\\"]],[32,0,[\\\"mode\\\"]],[32,0,[\\\"view\\\"]],[32,0,[\\\"changeFilter\\\"]],[32,0,[\\\"changeMode\\\"]],[32,0,[\\\"changeView\\\"]],[32,0,[\\\"changeActiveRulesetLink\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,2],[[30,[36,1],[\\\"content-editor-service\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[[32,2,[\\\"editorConfiguration\\\",\\\"requiredFeature\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,3,[\\\"Banner\\\"]],[],[[\\\"@content\\\"],[[31,[\\\"Upgrade to set \\\",[30,[36,0],[[32,2,[\\\"configRulesetLink\\\",\\\"humanReadableObjectName\\\"]]],null],\\\" live\\\"]]]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"p-4 content-editor__main pl-8 pr-8\\\"],[12],[2,\\\"\\\\n        \\\"],[8,[32,1,[\\\"Editor\\\"]],[],[[],[]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"pluralize\\\",\\\"service\\\",\\\"let\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/content/edit.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"UKbx6KdW\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col justify-center items-center flex-1 main__content-outlet o__without-submenu\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/content/loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"XQXNJjfb\",\"block\":\"{\\\"symbols\\\":[\\\"submenu\\\",\\\"sections\\\",\\\"section\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"scroll-container flex-auto flex flex-row\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"submenu-component\\\",[],[[\\\"@title\\\"],[\\\"Insights\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[1,[32,1,[\\\"header\\\"]]],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"sections\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"section\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,3,[\\\"title\\\"]],[],[[\\\"@title\\\",\\\"@url\\\"],[\\\"Topics\\\",[30,[36,0],[\\\"apps.app.conversational-insights.topics\\\"],null]]],null],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"canUseSuggestions\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,3,[\\\"title\\\"]],[],[[\\\"@title\\\",\\\"@url\\\"],[\\\"Suggestions\\\",[30,[36,0],[\\\"apps.app.conversational-insights.suggestions\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto flex flex-col overflow-auto scrolling-touch main__content-outlet\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,3],[[30,[36,2],null,null]],null]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"href-to\\\",\\\"if\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/conversational-insights.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"sSjqL7k+\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"pulse/hero-banner\\\",[],[[\\\"@svg\\\",\\\"@title\\\",\\\"@description\\\"],[\\\"operator\\\",\\\"Conversational insights\\\",\\\"Get closer to your customers. At scale.\\\"]],null],[2,\\\"\\\\n\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"u__ml__40 u__mr__40 u__mb__40 u__mt__40\\\"],[12],[2,\\\"\\\\n  \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/conversational-insights/suggestions.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"OUQlicYD\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"conversational-insights/suggestions-list\\\",[],[[\\\"@suggestions\\\"],[[32,0,[\\\"model\\\",\\\"suggestions\\\"]]]],null],[2,\\\"\\\\n\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/conversational-insights/suggestions/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"gSeMFpjm\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[30,[36,1],[[30,[36,0],null,null]],null]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/conversational-insights/topics.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"WQ01k78u\",\"block\":\"{\\\"symbols\\\":[\\\"@model\\\"],\\\"statements\\\":[[8,\\\"pulse/hero-banner\\\",[],[[\\\"@svg\\\",\\\"@title\\\",\\\"@description\\\"],[\\\"operator\\\",\\\"Conversational insights\\\",\\\"Get closer to your customers. At scale.\\\"]],null],[2,\\\"\\\\n\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"u__ml__40 u__mr__40 u__mb__40 u__mt__40\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button\\\",[[4,[38,2],[\\\"click\\\",[30,[36,1],null,[[\\\"action\\\",\\\"object\\\",\\\"place\\\",\\\"section\\\"],[\\\"clicked\\\",\\\"new-topic-button\\\",\\\"topic-list\\\",\\\"conv-prototype\\\"]]]],null]],[[\\\"@icon\\\",\\\"@label\\\",\\\"@onClick\\\",\\\"@type\\\"],[\\\"article\\\",\\\"New topic\\\",[30,[36,0],[\\\"apps.app.conversational-insights.topics.new\\\"],null],\\\"primary\\\"]],null],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"conversational-insights/topics-list\\\",[],[[\\\"@topics\\\"],[[32,1,[\\\"topics\\\"]]]],null],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"transition-to\\\",\\\"track-analytics-event\\\",\\\"on\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/conversational-insights/topics/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"FkYKHpFr\",\"block\":\"{\\\"symbols\\\":[\\\"@model\\\"],\\\"statements\\\":[[8,\\\"conversational-insights/topic-editor\\\",[],[[\\\"@topic\\\"],[[32,1]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/conversational-insights/topics/new.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"+M6ICdal\",\"block\":\"{\\\"symbols\\\":[\\\"@model\\\"],\\\"statements\\\":[[8,\\\"conversational-insights/topic-editor\\\",[],[[\\\"@topic\\\"],[[32,1]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/conversational-insights/topics/topic/edit.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"R1BGd1CP\",\"block\":\"{\\\"symbols\\\":[\\\"@model\\\"],\\\"statements\\\":[[8,\\\"conversational-insights/topic-overlap-over-time\\\",[],[[\\\"@topic\\\",\\\"@anotherTopic\\\"],[[32,1,[\\\"topic\\\"]],[32,1,[\\\"anotherTopic\\\"]]]],null],[2,\\\"\\\\n\\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/conversational-insights/topics/topic/overlap.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"vpXTmpX7\",\"block\":\"{\\\"symbols\\\":[\\\"@model\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"u__ml__40 u__mr__40 u__mb__40 u__mt__40\\\"],[12],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"conversational-insights/topic-ancestors\\\",[],[[\\\"@topic\\\"],[[32,1,[\\\"topic\\\"]]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h1\\\"],[14,0,\\\"t__h1 message__editor__header__title-text o__truncated\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[32,1,[\\\"topic\\\",\\\"title\\\"]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-button\\\",[],[[\\\"@icon\\\",\\\"@label\\\",\\\"@type\\\",\\\"@inRightList\\\",\\\"@onClick\\\"],[\\\"trash\\\",\\\"Delete\\\",\\\"secondary-destructive\\\",true,[30,[36,1],[[32,0,[\\\"deleteTopic\\\"]],[32,1,[\\\"topic\\\"]]],null]]],null],[2,\\\"\\\\n        \\\"],[8,\\\"ic-button\\\",[[4,[38,5],[\\\"click\\\",[30,[36,4],null,[[\\\"action\\\",\\\"object\\\",\\\"place\\\",\\\"section\\\"],[\\\"clicked\\\",\\\"edit-topic-sub-topic-button\\\",\\\"topic\\\",\\\"conv-prototype\\\"]]]],null]],[[\\\"@icon\\\",\\\"@label\\\",\\\"@type\\\",\\\"@inRightList\\\",\\\"@onClick\\\"],[\\\"edit\\\",[30,[36,2],[[32,1,[\\\"topic\\\",\\\"isSubTopic\\\"]],\\\"Edit subtopic\\\",\\\"Edit topic\\\"],null],\\\"primary\\\",true,[30,[36,3],[\\\"apps.app.conversational-insights.topics.topic.edit\\\",[32,1,[\\\"topic\\\"]]],null]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"hr\\\"],[12],[13],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[1,[30,[36,2],[[32,1,[\\\"topic\\\",\\\"isSubTopic\\\"]],\\\"Subtopic\\\",\\\"Topic\\\"],null]],[2,\\\" keywords\\\"],[13],[2,\\\"\\\\n  \\\"],[1,[32,1,[\\\"topic\\\",\\\"keyphrasesText\\\"]]],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,1,[\\\"topic\\\",\\\"excludedKeyphrases\\\",\\\"length\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n      Keywords to exclude\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[1,[32,1,[\\\"topic\\\",\\\"excludedKeyphrasesText\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[10,\\\"hr\\\"],[12],[13],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__mb__20\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"Date range\\\"],[13],[2,\\\"\\\\n    \\\"],[8,\\\"reporting/date-range-filter\\\",[],[[\\\"@scrollParentSelector\\\",\\\"@disabled\\\",\\\"@range\\\",\\\"@timezone\\\",\\\"@updateRange\\\"],[\\\".js__main-container\\\",false,[32,0,[\\\"conversationalInsights\\\",\\\"currentDateRange\\\"]],[32,0,[\\\"appService\\\",\\\"app\\\",\\\"timezone\\\"]],[30,[36,6],[[32,0,[\\\"conversationalInsights\\\"]],\\\"currentDateRange\\\"],null]]],null],[2,\\\"\\\\n\\\\n    \\\"],[11,\\\"div\\\"],[4,[38,8],[[30,[36,7],[[32,0,[\\\"fetchConversationsCount\\\"]]],null]],null],[4,[38,9],[[30,[36,7],[[32,0,[\\\"fetchConversationsCount\\\"]]],null],[32,0,[\\\"conversationalInsights\\\",\\\"currentDateRange\\\"]],[32,1,[\\\"topic\\\"]]],null],[12],[2,\\\"\\\\n      \\\"],[8,\\\"paragraph\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,2],[[30,[36,10],[[32,0,[\\\"conversationsCount\\\"]],-1],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          Loading the count...\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[1,[30,[36,0],[[32,0,[\\\"conversationsCount\\\"]]],null]],[2,\\\" conversations in selected range\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[11,\\\"a\\\"],[4,[38,5],[\\\"click\\\",[30,[36,1],[[30,[36,6],[[32,0],\\\"showSideDrawer\\\",true],null]],null]],null],[12],[2,\\\"Show conversations\\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"conversational-insights/conversation-count-over-time\\\",[],[[\\\"@topic\\\"],[[32,1,[\\\"topic\\\"]]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"hr\\\"],[12],[13],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"conversational-insights/conversations-side-drawer\\\",[],[[\\\"@app\\\",\\\"@showSideDrawer\\\",\\\"@onClose\\\",\\\"@fetchConversationResults\\\"],[[32,0,[\\\"app\\\"]],[32,0,[\\\"showSideDrawer\\\"]],[30,[36,6],[[32,0],\\\"showSideDrawer\\\",false],null],[32,0,[\\\"fetchConversationResults\\\"]]]],null],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-6\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"conversational-insights/median-first-response-time\\\",[],[[\\\"@topic\\\"],[[32,1,[\\\"topic\\\"]]]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"conversational-insights/median-resolution-time\\\",[],[[\\\"@topic\\\"],[[32,1,[\\\"topic\\\"]]]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-6\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"conversational-insights/conversation-rating-over-time\\\",[],[[\\\"@topic\\\"],[[32,1,[\\\"topic\\\"]]]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"hr\\\"],[12],[13],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"conversational-insights/sub-topics\\\",[],[[\\\"@topic\\\",\\\"@conversationsCount\\\",\\\"@range\\\"],[[32,1,[\\\"topic\\\"]],[32,0,[\\\"conversationsCount\\\"]],[32,0,[\\\"conversationalInsights\\\",\\\"currentDateRange\\\"]]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"hr\\\"],[12],[13],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"conversational-insights/topic-overlaps-overview\\\",[],[[\\\"@topic\\\"],[[32,1,[\\\"topic\\\"]]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"hr\\\"],[12],[13],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"conversational-insights/topic-tags-overlaps\\\",[],[[\\\"@topic\\\"],[[32,1,[\\\"topic\\\"]]]],null],[2,\\\"\\\\n\\\\n  \\\"],[1,[30,[36,12],[[30,[36,11],null,null]],null]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"format-number\\\",\\\"fn\\\",\\\"if\\\",\\\"transition-to\\\",\\\"track-analytics-event\\\",\\\"on\\\",\\\"set\\\",\\\"perform\\\",\\\"did-insert\\\",\\\"did-update\\\",\\\"eq\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/conversational-insights/topics/topic/show.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"/6NO2wNz\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"developer-hub/top-navigation-header\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,2]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"developer-hub/developer-guidelines\\\",[],[[],[]],null],[2,\\\"\\\\n  \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\",\\\"currentlyLoading\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"5yoN5rpW\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,3],[[35,2]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"developer-hub/app-package/review-state\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[8,\\\"developer-hub/app-package/submenu\\\",[],[[\\\"@appPackage\\\"],[[34,4]]],null],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"layout__box o__has-rows o__flexes-to-1 main__content-outlet \\\",[34,5]]]],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls u__padb__20 u__m__10\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[35,6]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"developer-hub/app-package/protected-app-package-warning\\\",[],[[],[]],null],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"u__padl__20 submenu\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"hr\\\"],[12],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"u__padl__20 u__padt__5\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"developer-hub/listing/app-package-state\\\",[],[[\\\"@row\\\"],[[34,4]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\",\\\"hideReviewBanner\\\",\\\"unless\\\",\\\"model\\\",\\\"contentOutletClass\\\",\\\"currentlyLoading\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"CgzqBQGe\",\"block\":\"{\\\"symbols\\\":[\\\"list\\\",\\\"list\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col pl-8 pr-8\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center justify-between pt-6 pb-6\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h1\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n        App Store listing\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,11]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"ic-button-list\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,4],[[35,6,[\\\"appStoreListing\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Cancel\\\",\\\"secondary\\\",[30,[36,9],[[32,0],\\\"cancelEditAppPackage\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Proceed\\\",\\\"primary\\\",[30,[36,1],[[35,10]],null]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"ic-button-list\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,4],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,4],[[35,3,[\\\"appPackage\\\",\\\"appStoreListing\\\",\\\"publiclyAvailable\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Remove from App Store\\\",\\\"secondary-destructive\\\",[30,[36,1],[[35,2]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"              \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Publish in App Store\\\",\\\"primary-live\\\",[30,[36,1],[[35,0]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@classNames\\\"],[\\\"apps.app.developer-hub.app-packages.app-package.app-store-listing.edit\\\",\\\"t__no-decoration\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,1,[\\\"button\\\"]],[[4,[38,8],[\\\"click\\\",[30,[36,7],null,[[\\\"action\\\",\\\"app_package_code\\\",\\\"object\\\"],[\\\"clicked\\\",[35,6,[\\\"id\\\"]],\\\"edit\\\"]]]],null]],[[\\\"@label\\\",\\\"@type\\\"],[\\\"Edit\\\",\\\"primary\\\"]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[1,[30,[36,13],[[30,[36,12],null,null]],null]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"publishListingTask\\\",\\\"perform\\\",\\\"cancelListingTask\\\",\\\"developerHub\\\",\\\"if\\\",\\\"canDisplayListingButton\\\",\\\"appPackage\\\",\\\"track-analytics-event\\\",\\\"on\\\",\\\"action\\\",\\\"proceedToNextTask\\\",\\\"isOnEdit\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/app-store-listing.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"R8V+QktV\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"developer-hub/app-package/app-store-listing/edit/edit-base\\\",[],[[\\\"@appPackage\\\",\\\"@workspace\\\",\\\"@categories\\\"],[[34,0,[\\\"changeRequest\\\",\\\"appPackageConfig\\\"]],[34,1,[\\\"app\\\"]],[34,2]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"appPackage\\\",\\\"appService\\\",\\\"categories\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/app-store-listing/edit.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"YhloyQmg\",\"block\":\"{\\\"symbols\\\":[\\\"appStoreListingModel\\\"],\\\"statements\\\":[[8,\\\"developer-hub/app-package/app-package-changes\\\",[],[[\\\"@hasChanges\\\",\\\"@appPackage\\\"],[[30,[36,1],[[35,0,[\\\"basicInformationHasChanges\\\"]],[35,0,[\\\"appStoreListingHasChanges\\\"]]],null],[34,0,[\\\"appPackage\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"developer-hub/app-package/app-store-listing/show\\\",[],[[\\\"@appPackage\\\"],[[32,1,[\\\"appPackage\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"developerHub\\\",\\\"or\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/app-store-listing/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"vYfA9SFk\",\"block\":\"{\\\"symbols\\\":[\\\"list\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box u__padl__30 u__padr__30\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box flex items-center u__padt__20 u__padb__20\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"h1\\\"],[14,0,\\\"flex-auto min-w-0 t__h1\\\"],[12],[2,\\\"\\\\n      Basic information\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"u_left\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"btn__tertiary u__mr__20\\\"],[24,6,\\\"https://developers.intercom.com\\\"],[4,[38,4],[\\\"click\\\",[30,[36,3],null,[[\\\"action\\\",\\\"object\\\"],[\\\"clicked\\\",\\\"more_about_api_link\\\"]]]],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,9],[\\\"book\\\"],null]],[2,\\\" More about apps and our API\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,11],[[35,10]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-button-list\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@fit\\\"],[\\\"Cancel\\\",\\\"secondary\\\",[30,[36,7],[[32,0],\\\"cancelEditAppPackage\\\"],null],false]],null],[2,\\\"\\\\n        \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@fit\\\",\\\"@onClick\\\"],[\\\"Save\\\",\\\"primary\\\",false,[30,[36,1],[[35,8]],null]]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,6],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@classNames\\\"],[\\\"apps.app.developer-hub.app-packages.app-package.basic-info.edit\\\",\\\"t__no-decoration\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"ic-button\\\",[[4,[38,4],[\\\"click\\\",[30,[36,3],null,[[\\\"action\\\",\\\"app_package_code\\\",\\\"object\\\"],[\\\"clicked\\\",[35,2,[\\\"id\\\"]],\\\"edit\\\"]]]],null]],[[\\\"@label\\\",\\\"@type\\\"],[\\\"Edit\\\",\\\"primary\\\"]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n  \\\"],[1,[30,[36,13],[[30,[36,12],null,null]],null]],[2,\\\"\\\\n\\\"],[6,[37,11],[[35,2,[\\\"isPrivateApp\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@icon\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@fit\\\"],[\\\"Delete app\\\",\\\"delete\\\",\\\"secondary-destructive\\\",[30,[36,1],[[35,0]],null],false]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"deleteAppPackageTask\\\",\\\"perform\\\",\\\"appPackage\\\",\\\"track-analytics-event\\\",\\\"on\\\",\\\"hasAppStoreListing\\\",\\\"unless\\\",\\\"action\\\",\\\"saveAppPackageTask\\\",\\\"ic-interface-icon\\\",\\\"isOnEdit\\\",\\\"if\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/basic-info.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"X2rYtcfs\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"developer-hub/app-package/basic-info/edit\\\",[],[[\\\"@appPackage\\\"],[[34,0,[\\\"appPackage\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"developerHub\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/basic-info/edit.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"0hmlS0UO\",\"block\":\"{\\\"symbols\\\":[\\\"basicInfoModel\\\"],\\\"statements\\\":[[8,\\\"developer-hub/app-package/app-package-changes\\\",[],[[\\\"@hasChanges\\\",\\\"@appPackage\\\",\\\"@params\\\"],[[34,0,[\\\"basicInformationHasChanges\\\"]],[34,0,[\\\"appPackage\\\"]],[34,1]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"developer-hub/app-package/basic-info/show\\\",[],[[\\\"@appPackage\\\",\\\"@allApiVersions\\\",\\\"@updateApiVersion\\\"],[[32,1,[\\\"appPackage\\\"]],[34,2,[\\\"allApiVersions\\\"]],[34,3]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"developerHub\\\",\\\"apiVersions\\\",\\\"model\\\",\\\"updateApiVersion\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/basic-info/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"dxznOyeL\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box u__padl__30 u__padr__30\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box flex items-center u__padt__20 u__padb__20\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"h1\\\"],[14,0,\\\"flex-auto min-w-0 t__h1\\\"],[12],[2,\\\"\\\\n      Canvas Kit\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"u_left\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"pulse/help-content/link\\\",[[4,[38,1],[\\\"click\\\",[30,[36,0],null,[[\\\"action\\\",\\\"object\\\"],[\\\"clicked\\\",\\\"app_guidelines_link\\\"]]]],null]],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://developers.intercom.com/messenger-framework-reference/reference/introduction\\\",\\\"Canvas Kit Reference\\\",\\\"developer\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"developer-hub__canvas-kit__container\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"developer-hub/app-package/canvas-kit\\\",[],[[\\\"@appPackage\\\"],[[34,2]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"track-analytics-event\\\",\\\"on\\\",\\\"appPackage\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/canvas-kit.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"X9DF8/D+\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col pr-8 pl-8\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col pt-4 pb-4\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"1\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Installation status\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n    Allow your app to be installed or uninstalled by customers.\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"developer-hub__canvas-kit__container pt-8\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"developer-hub/app-package/customer-workspaces\\\",[],[[],[]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/customer-workspaces.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"oC4MtAhg\",\"block\":\"{\\\"symbols\\\":[\\\"list\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col pr-8 pl-8\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between pt-4 pb-4\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"1\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Start guide\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"ic-button-list\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[\\\"Save\\\",\\\"primary\\\",[30,[36,0],[[32,0,[\\\"saveGettingStartedGuide\\\"]]],null],[30,[36,1],[[32,0,[\\\"startingGuideConfig\\\"]]],null]]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n    Explain your customers how to use your app. See\\\\n\\\\n    \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\",\\\"@linkStyling\\\"],[\\\"https://developers.intercom.com/building-apps/docs/writing-your-start-guide\\\",\\\"our guidelines\\\",\\\"developer\\\",\\\"inline\\\"]],null],[2,\\\".\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"pt-8\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"developer-hub/app-package/getting-started-guide\\\",[],[[\\\"@onUpdate\\\"],[[30,[36,2],[[32,0],\\\"onUpdate\\\"],null]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"perform\\\",\\\"not\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/getting-started-guide.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"W/GRuQ9T\",\"block\":\"{\\\"symbols\\\":[\\\"modal\\\",\\\"footer\\\",\\\"list\\\",\\\"layout\\\",\\\"select\\\"],\\\"statements\\\":[[8,\\\"common/modal-component\\\",[],[[\\\"@closeModal\\\",\\\"@width\\\"],[[30,[36,2],[[32,0],\\\"close\\\"],null],\\\"s\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"components\\\",\\\"header\\\"]],[],[[\\\"@title\\\"],[\\\"New app\\\"]],null],[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"components\\\",\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"h4\\\"],[14,0,\\\"t__label u__mb__5\\\"],[12],[2,\\\"\\\\n      App name\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[8,\\\"input\\\",[[16,0,[31,[\\\"f__text \\\",[30,[36,10],[[35,8],\\\"o__error\\\"],null]]]]],[[\\\"@type\\\",\\\"@autofocus\\\",\\\"@value\\\"],[\\\"text\\\",true,[34,9]]],null],[2,\\\"\\\\n\\\"],[6,[37,10],[[35,8]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"p\\\"],[14,0,\\\"text-red u__mt__5\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[35,8,[\\\"firstObject\\\",\\\"message\\\"]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"h4\\\"],[14,0,\\\"t__label u__mt__10\\\"],[12],[2,\\\"\\\\n      Workspace\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[14,0,\\\"text-gray u__mb__10\\\"],[12],[2,\\\"\\\\n      Your app will be automatically added on this workspace\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,10],[[35,11]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"input\\\",[[24,0,\\\"f__text\\\"],[24,\\\"placeholder\\\",\\\"Name your development workspace\\\"]],[[\\\"@type\\\",\\\"@value\\\"],[\\\"text\\\",[34,7]]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"t__em-link\\\"],[4,[38,2],[[32,0],\\\"toggleCreateNewDeveloperWorkspace\\\"],null],[12],[2,\\\"\\\\n        Or choose an existing workspace\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-select\\\",[],[[\\\"@onSelectItem\\\",\\\"@items\\\",\\\"@filterPlaceholder\\\",\\\"@footerActions\\\"],[[30,[36,2],[[32,0],[30,[36,1],[[35,0]],null]],null],[34,3],\\\"Search workspaces\\\",[30,[36,4],null,[[\\\"text\\\",\\\"description\\\",\\\"icon\\\",\\\"action\\\"],[\\\"Create a new development workspace\\\",\\\"Use it to test your app with all the Intercom products for free in a safe environment\\\",\\\"new\\\",[30,[36,2],[[32,0],\\\"toggleCreateNewDeveloperWorkspace\\\"],null]]]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,5,[\\\"opener\\\"]],[[24,0,\\\"flex items-start\\\"]],[[\\\"@constrainToOpener\\\"],[true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"ic-button\\\",[[24,0,\\\"developer-hub__workspace-dropdown-opener layout__box o__flexes-to-1 o__has-columns\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[35,5,[\\\"name\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"u__ml__5\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[30,[36,6],[\\\"small-down-arrow\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"hr\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[8,\\\"developer-hub/app-package/form-layout\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,4,[\\\"group\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,4,[\\\"radio\\\"]],[],[[\\\"@label\\\",\\\"@value\\\",\\\"@selected\\\"],[\\\"Internal integration\\\",[34,12,[\\\"internalIntent\\\"]],[34,13]]],null],[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[14,0,\\\"text-gray u__ml__20\\\"],[12],[2,\\\"\\\\n          This app will only be installed and used by my workspaces.\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[14,0,\\\"text-gray u__ml__20\\\"],[12],[2,\\\"\\\\n          It will \\\"],[10,\\\"u\\\"],[12],[2,\\\"not\\\"],[13],[2,\\\" be published to the Intercom App Store.\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[8,[32,4,[\\\"radio\\\"]],[],[[\\\"@label\\\",\\\"@value\\\",\\\"@selected\\\"],[\\\"Public app\\\",[34,12,[\\\"partnerIntent\\\"]],[34,13]]],null],[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[14,0,\\\"text-gray u__ml__20\\\"],[12],[2,\\\"\\\\n          This app will eventually be published to the Intercom App Store.\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"components\\\",\\\"footer\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,2,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,3,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[\\\"Cancel\\\",[34,14],[30,[36,2],[[32,0],\\\"close\\\"],null]]],null],[2,\\\"\\\\n      \\\"],[8,[32,3,[\\\"button\\\"]],[],[[\\\"@type\\\",\\\"@label\\\",\\\"@onClick\\\"],[\\\"primary\\\",\\\"Create app\\\",[30,[36,16],[[35,15]],null]]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"selectedWorkspaceId\\\",\\\"mut\\\",\\\"action\\\",\\\"workspaceDropdownItems\\\",\\\"hash\\\",\\\"selectedWorkspace\\\",\\\"ic-interface-icon\\\",\\\"newDeveloperWorkspaceName\\\",\\\"appPackageNameErrors\\\",\\\"appPackageName\\\",\\\"if\\\",\\\"isCreatingNewDeveloperWorkspace\\\",\\\"partnerFlag\\\",\\\"appIntent\\\",\\\"isCloseActionDisabled\\\",\\\"createAppPackage\\\",\\\"perform\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/new.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"kjIj38ab\",\"block\":\"{\\\"symbols\\\":[\\\"list\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box u__padl__30 u__padr__30\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box flex items-center u__padt__20 u__padb__20\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"h1\\\"],[14,0,\\\"flex-auto min-w-0 t__h1\\\"],[12],[2,\\\"\\\\n      Authentication\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,8],[[35,7]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-button-list\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@fit\\\"],[\\\"Cancel\\\",\\\"secondary\\\",[30,[36,4],[[32,0],[35,3]],null],false]],null],[2,\\\"\\\\n        \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@fit\\\"],[\\\"Save\\\",\\\"primary\\\",[30,[36,6],[[35,5]],null],false]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@classNames\\\"],[\\\"apps.app.developer-hub.app-packages.app-package.oauth.edit\\\",\\\"t__no-decoration u__right\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"ic-button\\\",[[4,[38,2],[\\\"click\\\",[30,[36,1],null,[[\\\"action\\\",\\\"app_package_code\\\",\\\"object\\\"],[\\\"clicked\\\",[35,0,[\\\"id\\\"]],\\\"edit\\\"]]]],null]],[[\\\"@label\\\",\\\"@type\\\"],[\\\"Edit\\\",\\\"primary\\\"]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n  \\\"],[1,[30,[36,10],[[30,[36,9],null,null]],null]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"appPackage\\\",\\\"track-analytics-event\\\",\\\"on\\\",\\\"cancelEditAppPackage\\\",\\\"action\\\",\\\"saveAppPackageTask\\\",\\\"perform\\\",\\\"isOnEdit\\\",\\\"if\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/oauth.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"+somGLSt\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"developer-hub/app-package/oauth/client-edit\\\",[],[[\\\"@oauthScopes\\\",\\\"@appPackage\\\",\\\"@appPackageInstall\\\"],[[34,0,[\\\"oauthScopes\\\"]],[34,0,[\\\"appPackage\\\"]],[34,1]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"developerHub\\\",\\\"model\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/oauth/edit.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"SSfFLpk4\",\"block\":\"{\\\"symbols\\\":[\\\"oauthModel\\\"],\\\"statements\\\":[[8,\\\"developer-hub/app-package/app-package-changes\\\",[],[[\\\"@hasChanges\\\",\\\"@appPackage\\\",\\\"@params\\\"],[[34,0,[\\\"oauthClientHasChanges\\\"]],[34,0,[\\\"appPackage\\\"]],[34,0,[\\\"oauthScopes\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"developer-hub/app-package/oauth/show\\\",[],[[\\\"@appPackageInstall\\\",\\\"@appPackage\\\",\\\"@scopes\\\"],[[34,1],[32,1,[\\\"appPackage\\\"]],[32,1,[\\\"params\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"developerHub\\\",\\\"model\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/oauth/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"w8DjZWko\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-4 pl-8 pr-8\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col pt-4 pb-4\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"1\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"History of events\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"developer-hub/app-package/reports/installation-events\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/reports/history-of-events.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"fQcl9fos\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-4 pl-8 pr-8\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col pt-4 pb-4\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"1\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Installs and uninstalls\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"reporting/date-range-filter\\\",[],[[\\\"@scrollParentSelector\\\",\\\"@range\\\",\\\"@timezone\\\",\\\"@updateRange\\\"],[\\\".js__main-container\\\",[32,0,[\\\"range\\\"]],[32,0,[\\\"range\\\",\\\"timezone\\\"]],[32,0,[\\\"updateRange\\\"]]]],null],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"developer-hub/app-package/reports/total-installs-chart\\\",[],[[\\\"@range\\\"],[[32,0,[\\\"range\\\"]]]],null],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"developer-hub/app-package/reports/installs-chart\\\",[],[[\\\"@range\\\"],[[32,0,[\\\"range\\\"]]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-16\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-6\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"developer-hub/app-package/reports/uninstalls-chart\\\",[],[[\\\"@range\\\"],[[32,0,[\\\"range\\\"]]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-4\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"developer-hub/app-package/reports/uninstall-feedback\\\",[],[[\\\"@range\\\"],[[32,0,[\\\"range\\\"]]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/reports/installs-and-uninstalls.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"lB5H4iEM\",\"block\":\"{\\\"symbols\\\":[\\\"list\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box u__padl__30 u__padr__30\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box flex items-center u__padt__20 u__padb__20\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"h1\\\"],[14,0,\\\"flex-auto min-w-0 t__h1\\\"],[12],[2,\\\"\\\\n      Submit for a review\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"u_left\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"pulse/help-content/link\\\",[[4,[38,2],[\\\"click\\\",[32,0,[\\\"clickLearnMoreLink\\\"]]],null]],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://developers.intercom.com/building-apps/docs#section-submit-your-app-for-review\\\",\\\"More about publishing apps\\\",\\\"developer\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,8]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-button\\\",[[24,0,\\\"u__mr__10 u__right\\\"]],[[\\\"@type\\\",\\\"@label\\\",\\\"@onClick\\\"],[\\\"secondary-destructive\\\",\\\"Discard changes\\\",[30,[36,6],[[35,7]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,4],[[35,9]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-button-list\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@fit\\\"],[\\\"Submit for Review\\\",\\\"primary\\\",[30,[36,6],[[35,5]],null],false]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,4],[[35,3]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@classNames\\\"],[\\\"apps.app.developer-hub.app-packages.app-package.review.edit\\\",\\\"t__no-decoration u__right\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"ic-button\\\",[[24,0,\\\"u__mr__10\\\"],[4,[38,2],[\\\"click\\\",[30,[36,1],null,[[\\\"action\\\",\\\"app_package_code\\\",\\\"object\\\"],[\\\"clicked\\\",[35,0,[\\\"id\\\"]],\\\"edit\\\"]]]],null]],[[\\\"@label\\\",\\\"@type\\\"],[\\\"Edit\\\",\\\"primary\\\"]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n  \\\"],[1,[30,[36,11],[[30,[36,10],null,null]],null]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"appPackage\\\",\\\"track-analytics-event\\\",\\\"on\\\",\\\"showEditButton\\\",\\\"if\\\",\\\"submitReviewTask\\\",\\\"perform\\\",\\\"discardChangesTask\\\",\\\"showDiscardButton\\\",\\\"isOnEdit\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/review.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"WWWBr11T\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"developer-hub/app-package/review/edit\\\",[],[[\\\"@appPackage\\\"],[[30,[36,0],[\\\"developerHub.appPackage\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"service\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/review/edit.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"8KrYXTRV\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"developer-hub/app-package/review/show\\\",[],[[\\\"@appPackage\\\"],[[30,[36,0],[\\\"developerHub.appPackage\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"service\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/review/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"OZLCB+u8\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"developer-hub/app-package/review/no-oauth\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/review/no-oauth.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"7APy37DP\",\"block\":\"{\\\"symbols\\\":[\\\"list\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box u__padl__30 u__padr__30\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box flex items-center u__padt__20 u__padb__20\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"h1\\\"],[14,0,\\\"flex-auto min-w-0 t__h1\\\"],[12],[2,\\\"\\\\n      Webhooks\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"u_left\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"pulse/help-content/link\\\",[[24,0,\\\"mr-5\\\"],[4,[38,2],[\\\"click\\\",[30,[36,1],null,[[\\\"action\\\",\\\"object\\\"],[\\\"clicked\\\",\\\"more_about_api_link\\\"]]]],null]],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://developers.intercom.com/building-apps/docs/webhooks\\\",\\\"More about using Webhooks\\\",\\\"developer\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,7]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-button-list\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,4],[[35,0,[\\\"webhookDefinition\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@fit\\\"],[\\\"Cancel\\\",\\\"secondary\\\",[30,[36,3],[[32,0],\\\"cancelEdit\\\"],null],false]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@fit\\\"],[\\\"Save\\\",\\\"primary\\\",[30,[36,6],[[35,5]],null],false]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@classNames\\\"],[\\\"apps.app.developer-hub.app-packages.app-package.webhooks.edit\\\",\\\"t__no-decoration\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"ic-button\\\",[[4,[38,2],[\\\"click\\\",[30,[36,1],null,[[\\\"action\\\",\\\"app_package_code\\\",\\\"object\\\"],[\\\"clicked\\\",[35,0,[\\\"id\\\"]],\\\"edit\\\"]]]],null]],[[\\\"@label\\\",\\\"@type\\\"],[\\\"Edit\\\",\\\"primary\\\"]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n  \\\"],[1,[30,[36,9],[[30,[36,8],null,null]],null]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"appPackage\\\",\\\"track-analytics-event\\\",\\\"on\\\",\\\"action\\\",\\\"if\\\",\\\"saveWebhookTask\\\",\\\"perform\\\",\\\"isOnEdit\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/webhooks.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"hZsjWr5o\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"developer-hub/app-package/webhooks\\\",[],[[\\\"@isInEditMode\\\",\\\"@webhookDefinition\\\",\\\"@topics\\\"],[true,[34,0,[\\\"webhookDefinition\\\"]],[34,1,[\\\"topics\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"appPackage\\\",\\\"model\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/webhooks/edit.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"lyRsSmNx\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"developer-hub/app-package/webhooks\\\",[],[[\\\"@sendPing\\\",\\\"@webhookDefinition\\\",\\\"@topics\\\"],[[34,0],[34,1,[\\\"webhookDefinition\\\"]],[34,2,[\\\"topics\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"sendPing\\\",\\\"appPackage\\\",\\\"model\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/webhooks/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"JVowm6au\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box u__padl__30 u__padr__30\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box flex items-center u__padt__20 u__padb__20\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"h1\\\"],[14,0,\\\"flex-auto min-w-0 t__h1\\\"],[12],[2,\\\"\\\\n      Your workspaces\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"t__light-text u__padl__30 f__group\\\"],[12],[2,\\\"\\\\n  Once you install your app on a workspace an access token will be generated that you can use to access its data. Additionally if you’re building an app it’ll become available for use on this workspace.\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"u__padl__35 u__padr__35 u__padt__10\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"developer-hub/app-package/workspaces/workspaces-list\\\",[],[[\\\"@appPackageInstalls\\\"],[[34,2]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\",\\\"model\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/app-packages/app-package/workspaces.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"QMz17gHS\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0 o__has-rows u__padb__20 developer-hub__your-apps__container\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"developer-hub/listing/page-header\\\",[],[[],[]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-4\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"developer-hub/listing/app-package-list\\\",[[24,0,\\\"u__mt__20 u__mr__30 u__mb__30 u__ml__30\\\"]],[[\\\"@appPackages\\\",\\\"@apps\\\"],[[34,2,[\\\"appPackages\\\"]],[34,2,[\\\"apps\\\"]]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,3,[\\\"shouldShowPartnership\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col items-center gap-4 developer-hub__app-partnership u__mt__30 u__mr__30\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"img\\\"],[14,\\\"width\\\",\\\"300px\\\"],[14,\\\"max-height\\\",\\\"100%\\\"],[14,\\\"src\\\",\\\"https://images.ctfassets.net/xny2w179f4ki/ypHT4ecE8cw3Cqs0YE4SE/0fcd7ffce33db324978f855bc1129cbe/hero-fallback_2x.png\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__m__10\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"2\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            Join our App Partner Program\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n          \\\"],[8,\\\"paragraph\\\",[[24,0,\\\"mb-1\\\"]],[[\\\"@styling\\\"],[\\\"muted\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            Your Intercom app is just the start. Partner with us today to unlock revenue-driving sales and marketing opportunities.\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n\\\\n          \\\"],[11,\\\"a\\\"],[24,0,\\\"btn o__primary\\\"],[24,6,\\\"https://www.intercom.com/app-partner-program\\\"],[4,[38,1],[\\\"click\\\",[30,[36,0],null,[[\\\"action\\\",\\\"context\\\"],[\\\"clicked\\\",\\\"learn-more-partnerships\\\"]]]],null],[12],[2,\\\"\\\\n            Learn More\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"track-analytics-event\\\",\\\"on\\\",\\\"model\\\",\\\"app\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/developer-hub/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"yvKYBUaI\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1 p-4 content-editor__main\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"content-editor\\\",[],[[\\\"@ruleset\\\"],[[32,0,[\\\"model\\\"]]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/editor-demo.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"/azkXXqv\",\"block\":\"{\\\"symbols\\\":[\\\"list\\\",\\\"list\\\",\\\"form\\\",\\\"item\\\",\\\"group\\\",\\\"@model\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col items-center flex-1 p-4 content-editor__main\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"email/chrome\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"email/composer/subject\\\",[],[[\\\"@localizedEmailContent\\\",\\\"@isEditing\\\"],[[32,6],[32,0,[\\\"isEditing\\\"]]]],null],[2,\\\"\\\\n    \\\"],[8,\\\"email/composer\\\",[],[[\\\"@localizedEmailContent\\\",\\\"@isEditing\\\"],[[32,6],[32,0,[\\\"isEditing\\\"]]]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\\n \\\"],[8,\\\"form\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,3,[\\\"Item\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,4,[\\\"RadioGroup\\\"]],[],[[\\\"@selected\\\"],[[32,0,[\\\"isEditing\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,5,[\\\"RadioButton\\\"]],[[4,[38,2],[\\\"click\\\",[30,[36,1],[[30,[36,0],[[32,0,[\\\"isEditing\\\"]]],null],false],null]],null]],[[\\\"@value\\\",\\\"@label\\\"],[false,\\\"View Mode\\\"]],null],[2,\\\"\\\\n        \\\"],[8,[32,5,[\\\"RadioButton\\\"]],[[4,[38,2],[\\\"click\\\",[30,[36,1],[[30,[36,0],[[32,0,[\\\"isEditing\\\"]]],null],true],null]],null]],[[\\\"@value\\\",\\\"@label\\\"],[true,\\\"Edit Mode\\\"]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"ic-button-list\\\",[],[[\\\"@align\\\"],[\\\"left\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@type\\\"],[\\\"Admin Sender\\\",[32,0,[\\\"changeToAdminSender\\\"]],\\\"secondary\\\"]],null],[2,\\\"\\\\n  \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@type\\\"],[\\\"Custom Email Sender\\\",[32,0,[\\\"changeToCustomEmailSender\\\"]],\\\"secondary\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\\n\\\"],[8,\\\"ic-button-list\\\",[],[[\\\"@align\\\"],[\\\"left\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@type\\\"],[\\\"Personal\\\",[30,[36,1],[[32,0,[\\\"setTemplate\\\"]],\\\"personal\\\",\\\"premade\\\"],null],\\\"secondary\\\"]],null],[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@type\\\"],[\\\"Plain\\\",[30,[36,1],[[32,0,[\\\"setTemplate\\\"]],\\\"plain\\\",\\\"premade\\\"],null],\\\"secondary\\\"]],null],[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@type\\\"],[\\\"Company\\\",[30,[36,1],[[32,0,[\\\"setTemplate\\\"]],\\\"company\\\",\\\"premade\\\"],null],\\\"secondary\\\"]],null],[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@type\\\"],[\\\"Announcement\\\",[30,[36,1],[[32,0,[\\\"setTemplate\\\"]],\\\"announcement\\\",\\\"premade\\\"],null],\\\"secondary\\\"]],null],[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@type\\\"],[\\\"Custom Template\\\",[30,[36,1],[[32,0,[\\\"setTemplate\\\"]],null,\\\"custom\\\"],null],\\\"secondary\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"mut\\\",\\\"fn\\\",\\\"on\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/email-editor-demo.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"sXvojz1E\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\",\\\"@description\\\"],[\\\"rocket-ship\\\",\\\"Fetching features\\\",\\\"Hold tight, we're grabbing the features of this workspace\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/feature-sync.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"S9BxKDqu\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/feed.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"DrheqgS+\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"activity-feed layout__box o__has-rows o__flexes-to-1\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-rows my-5\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"conversation/card-component\\\",[[24,0,\\\"u__cf\\\"]],[[\\\"@admin\\\",\\\"@app\\\",\\\"@conversation\\\",\\\"@classNames\\\",\\\"@isExpanded\\\",\\\"@inList\\\",\\\"@isSaving\\\",\\\"@isFeed\\\",\\\"@isCollapsable\\\",\\\"@new\\\",\\\"@viewportSelector\\\"],[[34,0],[34,1],[34,2],\\\"layout__box o__has-rows o__flexes-to-1\\\",true,false,[34,3],true,false,[34,2,[\\\"new\\\"]],\\\".js__main-container\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"admin\\\",\\\"app\\\",\\\"conversation\\\",\\\"isSaving\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/feed/conversation.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"H41jFZD+\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__scrolls o__flexes-to-1 js__main-container u__relative\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"activity-feed\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,10]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\"],[\\\"help\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        Enforce identity verification to protect customer conversations and prevent impersonation.\\\\n        \\\"],[11,\\\"a\\\"],[4,[38,5],[[32,0],\\\"redirectToIdentityVerification\\\"],null],[12],[2,\\\"Set up identity verification\\\"],[13],[2,\\\".\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"feed__container\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"conversation-state-dropdown-component\\\",[],[[\\\"@title\\\",\\\"@outline\\\",\\\"@totalCount\\\",\\\"@isWide\\\",\\\"@status\\\",\\\"@changeStatus\\\"],[[34,11],true,[34,12],true,[34,6],[30,[36,5],[[32,0],\\\"changeStatus\\\"],null]]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,16],[[30,[36,15],[[35,14],[35,13]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,9]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,2],[[30,[36,7],[[35,6],\\\"opened\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\"],[\\\"conversation\\\",\\\"No open conversations\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[30,[36,7],[[35,6],\\\"closed\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\"],[\\\"conversation\\\",\\\"No closed conversations\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"              \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\",\\\"@description\\\"],[\\\"conversation\\\",\\\"No conversations yet\\\",\\\"All conversations with your customers will show up here\\\"]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\",\\\"@description\\\",\\\"@buttonLabel\\\",\\\"@onButtonClick\\\"],[\\\"conversation\\\",\\\"No conversations yet\\\",\\\"Install Intercom Messenger to start talking to your customers.\\\",\\\"Install Intercom Messenger\\\",[30,[36,8],[\\\"navigateToInstallMessenger\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,17],[[35,3]],[[\\\"class\\\"],[\\\"animation__feed\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[11,\\\"a\\\"],[24,0,\\\"feed__see-updates-button u__centered-text-block t__em-link\\\"],[4,[38,5],[[32,0],\\\"prependUpdates\\\"],null],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[30,[36,7],[[35,6],\\\"closed\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"              See \\\"],[1,[34,3]],[2,\\\" \\\"],[1,[30,[36,4],[\\\"update\\\",[35,3]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[35,3]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                See what’s new (\\\"],[1,[34,3]],[2,\\\")\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[8,\\\"conversation/card-list-component\\\",[],[[\\\"@app\\\",\\\"@admin\\\",\\\"@parentStateContext\\\",\\\"@conversations\\\",\\\"@requestPage\\\",\\\"@viewportSelector\\\",\\\"@hideRepeatedDays\\\",\\\"@enableAutoScroll\\\",\\\"@showDates\\\"],[[34,18],[34,19],[34,6],[34,20],[30,[36,8],[\\\"paginate\\\"],null],\\\".js__main-container\\\",[30,[36,5],[[32,0],[35,21]],null],true,true]],null],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,22]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"pl_user_profile_loading_container\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,1]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item u__centered-text-block\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"h1\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[30,[36,0],[\\\"error\\\"],[[\\\"size\\\"],[24]]]],[2,\\\" An error occurred while loading your conversations.\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"small\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"ic-interface-icon\\\",\\\"hasErrored\\\",\\\"if\\\",\\\"updatedConversationCount\\\",\\\"inflector-helper\\\",\\\"action\\\",\\\"showing\\\",\\\"eq\\\",\\\"route-action\\\",\\\"messengerInstalled\\\",\\\"showIdentityVerificationWarning\\\",\\\"stateDropdownTitle\\\",\\\"formattedConversationsTotalCount\\\",\\\"hasConversations\\\",\\\"hasMoreConversationsToLoad\\\",\\\"or\\\",\\\"unless\\\",\\\"liquid-if\\\",\\\"app\\\",\\\"admin\\\",\\\"conversations\\\",\\\"hideRepeatedDays\\\",\\\"isPaginating\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/feed/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"uCKWUpNF\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__scrolls o__centers-all\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/feed/loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"GE0Ba95Y\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"onboarding__intent-survey__navbar__logo left-nav__icon__loaded ml-6\\\"],[12],[2,\\\"\\\\n  \\\"],[1,[30,[36,0],[\\\"nav-primary-logo-loaded\\\"],null]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 o__centers-horizontally o__scrolls\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,2],[[30,[36,1],null,null]],null]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"inline-svg\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/get-started.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"5zUiYSP+\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"onboarding__intent-survey__layout-box u__center-layout o__has-rows onboarding__intent-survey__component-wrapper\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"onboarding__intent-survey__question-text layout__box u__center-layout o__center-text u__flex__align-center t__h1\\\"],[12],[2,\\\"\\\\n    Which of the following best describes how your company plans to use Intercom?\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box t__body onboarding__intent-survey__subtext\\\"],[12],[2,\\\"\\\\n    Pick all that apply\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"onboarding/intent-survey/survey-component\\\",[],[[\\\"@surveyQuestionKey\\\",\\\"@surveyOptions\\\",\\\"@nextPage\\\",\\\"@numberOfSteps\\\",\\\"@activeStep\\\",\\\"@onRecordResponse\\\",\\\"@buttonLabel\\\"],[\\\"buyer_persona\\\",[32,0,[\\\"surveyOptions\\\"]],[32,0,[\\\"nextPage\\\"]],[32,0,[\\\"numberOfSteps\\\"]],[32,0,[\\\"activeStep\\\"]],[32,0,[\\\"onRecordResponse\\\"]],[32,0,[\\\"buttonLabel\\\"]]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/get-started/buyer-persona.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Poa8BrAV\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"onboarding__intent-survey__layout-box u__center-layout o__center-text o__has-rows\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"mb-8 mt-8\\\"],[12],[2,\\\"\\\\n   \\\"],[10,\\\"img\\\"],[14,\\\"width\\\",\\\"70\\\"],[14,\\\"height\\\",\\\"70\\\"],[15,\\\"src\\\",[32,0,[\\\"icon2x\\\"]]],[15,\\\"srcset\\\",[31,[[30,[36,0],[[32,0,[\\\"icon\\\"]],\\\", \\\",[32,0,[\\\"icon2x\\\"]]],null],\\\" 2x\\\"]]],[12],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"mb-8 layout__box u__flex__align-center onboarding__intent-survey__welcome-text\\\"],[12],[2,\\\"\\\\n    We're glad you're here, \\\"],[1,[32,0,[\\\"currentAdmin\\\",\\\"firstName\\\"]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box t__h1 u__mb__60\\\"],[12],[2,\\\"\\\\n    Tailor your Intercom experience by answering \\\"],[1,[32,0,[\\\"numberOfSteps\\\"]]],[2,\\\" quick questions.\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"onboarding__intent-survey__button-wrapper mb-16\\\"],[14,\\\"data-ghost-inspector\\\",\\\"intent__survey-continue-button\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"onboarding/intent-survey/button\\\",[],[[\\\"@label\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[[32,0,[\\\"buttonLabel\\\"]],[32,0,[\\\"nextPage\\\"]],[32,0,[\\\"buttonDisabled\\\"]]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"concat\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/get-started/survey-splash.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"4wCc/xnS\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"onboarding__intent-survey__layout-box u__center-layout o__center-text o__has-rows onboarding__intent-survey__component-wrapper\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"onboarding__intent-survey__question-text layout__box u__flex__align-center t__h1\\\"],[12],[2,\\\"\\\\n    What would you like Intercom to help you do?\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box t__body onboarding__intent-survey__subtext\\\"],[12],[2,\\\"\\\\n    Pick all that apply\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"onboarding/intent-survey/survey-component\\\",[],[[\\\"@surveyQuestionKey\\\",\\\"@surveyOptions\\\",\\\"@nextPage\\\",\\\"@numberOfSteps\\\",\\\"@activeStep\\\",\\\"@onRecordResponse\\\",\\\"@buttonLabel\\\"],[\\\"use_case\\\",[32,0,[\\\"surveyOptions\\\"]],[32,0,[\\\"nextPage\\\"]],[32,0,[\\\"numberOfSteps\\\"]],[32,0,[\\\"activeStep\\\"]],[32,0,[\\\"onRecordResponse\\\"]],[32,0,[\\\"buttonLabel\\\"]]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/get-started/use-case.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"8igc6wPj\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"svg\\\"],[14,\\\"width\\\",\\\"8px\\\"],[14,\\\"height\\\",\\\"12px\\\"],[14,\\\"viewBox\\\",\\\"0 0 8 12\\\"],[14,\\\"version\\\",\\\"1.1\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"xmlns:xlink\\\",\\\"http://www.w3.org/1999/xlink\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"xmlns:sketch\\\",\\\"http://www.bohemiancoding.com/sketch/ns\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"g\\\"],[14,\\\"stroke\\\",\\\"none\\\"],[14,\\\"stroke-width\\\",\\\"1\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"sketch:type\\\",\\\"MSPage\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"g\\\"],[14,\\\"sketch:type\\\",\\\"MSArtboardGroup\\\"],[14,\\\"transform\\\",\\\"translate(-741.000000, -670.000000)\\\"],[14,0,\\\"v2-guide__todo-list__chevron\\\"],[14,\\\"stroke-width\\\",\\\"2\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M742,671 L747,676.123093 L742.240272,681\\\"],[14,\\\"sketch:type\\\",\\\"MSShapeGroup\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/guide/-chevron.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"tj1ACKKu\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"svg\\\"],[14,\\\"width\\\",\\\"100%\\\"],[14,\\\"height\\\",\\\"100%\\\"],[14,\\\"viewBox\\\",\\\"0 0 20 20\\\"],[14,\\\"version\\\",\\\"1.1\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"xmlns:xlink\\\",\\\"http://www.w3.org/1999/xlink\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"xmlns:sketch\\\",\\\"http://www.bohemiancoding.com/sketch/ns\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"g\\\"],[14,\\\"stroke\\\",\\\"none\\\"],[14,\\\"stroke-width\\\",\\\"1\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"sketch:type\\\",\\\"MSPage\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"g\\\"],[14,\\\"sketch:type\\\",\\\"MSArtboardGroup\\\"],[14,\\\"transform\\\",\\\"translate(-156.000000, -367.000000)\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"g\\\"],[14,\\\"sketch:type\\\",\\\"MSLayerGroup\\\"],[14,\\\"transform\\\",\\\"translate(156.000000, 367.000000)\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"circle\\\"],[14,\\\"fill\\\",\\\"#19C44B\\\"],[14,\\\"sketch:type\\\",\\\"MSShapeGroup\\\"],[14,\\\"cx\\\",\\\"10\\\"],[14,\\\"cy\\\",\\\"10\\\"],[14,\\\"r\\\",\\\"10\\\"],[12],[13],[2,\\\"\\\\n                \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M13.6111552,6 L12.9562554,6.67160342 L8.39290816,11.3525688 L7.02374528,10.0286997 L6.34916352,9.37643403 L5,10.6809654 L5.67458176,11.333231 L7.73800832,13.3283966 L8.43258944,14 L9.1071712,13.3093658 L14.3451002,7.93776618 L15,7.26616276 L13.6111552,6 L13.6111552,6 Z\\\"],[14,\\\"fill\\\",\\\"#FFFFFF\\\"],[14,\\\"sketch:type\\\",\\\"MSShapeGroup\\\"],[12],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/guide/-completed-check.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Hyqny86O\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"svg\\\"],[14,\\\"width\\\",\\\"21px\\\"],[14,\\\"height\\\",\\\"21px\\\"],[14,\\\"viewBox\\\",\\\"0 0 21 21\\\"],[14,\\\"version\\\",\\\"1.1\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"xmlns:xlink\\\",\\\"http://www.w3.org/1999/xlink\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"circle\\\"],[14,\\\"stroke\\\",\\\"#E1E7EA\\\"],[14,\\\"fill\\\",\\\"#FFFFFF\\\"],[14,\\\"cx\\\",\\\"10.5\\\"],[14,\\\"cy\\\",\\\"10.5\\\"],[14,\\\"r\\\",\\\"10\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"rect\\\"],[14,\\\"fill\\\",\\\"#E1E7EA\\\"],[14,\\\"x\\\",\\\"5\\\"],[14,\\\"y\\\",\\\"10\\\"],[14,\\\"width\\\",\\\"11\\\"],[14,\\\"height\\\",\\\"1\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"rect\\\"],[14,\\\"fill\\\",\\\"#E1E7EA\\\"],[14,\\\"x\\\",\\\"10\\\"],[14,\\\"y\\\",\\\"5\\\"],[14,\\\"width\\\",\\\"1\\\"],[14,\\\"height\\\",\\\"11\\\"],[12],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/guide/-hidden.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"UTELKoPH\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"svg\\\"],[14,0,\\\"setup-guide__logo\\\"],[14,\\\"width\\\",\\\"20px\\\"],[14,\\\"height\\\",\\\"20px\\\"],[14,\\\"viewBox\\\",\\\"0 0 20 20\\\"],[14,\\\"version\\\",\\\"1.1\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"xmlns:xlink\\\",\\\"http://www.w3.org/1999/xlink\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"g\\\"],[14,\\\"stroke\\\",\\\"none\\\"],[14,\\\"stroke-width\\\",\\\"1\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"g\\\"],[14,\\\"transform\\\",\\\"translate(-127.000000, -65.000000)\\\"],[14,\\\"fill\\\",\\\"#FFFFFF\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"g\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"g\\\"],[14,\\\"transform\\\",\\\"translate(127.000000, 65.000000)\\\"],[12],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M16.5986722,0.0361825726 L3.3206639,0.0361825726 C1.48738589,0.0361825726 0.00116182573,1.52240664 0.00116182573,3.35568465 L0.00116182573,16.6336929 C0.00116182573,18.466971 1.48738589,19.953195 3.3206639,19.953195 L16.5986722,19.953195 C18.4319502,19.953195 19.9181743,18.466971 19.9181743,16.6336929 L19.9181743,3.35568465 C19.9181743,1.52240664 18.4319502,0.0361825726 16.5986722,0.0361825726 L16.5986722,0.0361825726 Z M15.9347718,5.34738589 C15.9347718,4.98074689 16.2320332,4.68348548 16.5986722,4.68348548 C16.9653112,4.68348548 17.2625726,4.98074689 17.2625726,5.34738589 L17.2625726,10.6585892 C17.2625726,11.0252282 16.9653112,11.3224896 16.5986722,11.3224896 C16.2320332,11.3224896 15.9347718,11.0252282 15.9347718,10.6585892 L15.9347718,5.34738589 L15.9347718,5.34738589 Z M12.6152697,4.01958506 C12.6152697,3.65294606 12.9125311,3.35568465 13.2791701,3.35568465 C13.6458091,3.35568465 13.9430705,3.65294606 13.9430705,4.01958506 L13.9430705,11.98639 C13.9430705,12.353029 13.6458091,12.6502905 13.2791701,12.6502905 C12.9125311,12.6502905 12.6152697,12.353029 12.6152697,11.98639 L12.6152697,4.01958506 L12.6152697,4.01958506 Z M9.29576763,3.35568465 C9.29576763,2.98904564 9.59302905,2.69178423 9.95966805,2.69178423 C10.3263071,2.69178423 10.6235685,2.98904564 10.6235685,3.35568465 L10.6235685,12.6502905 C10.6235685,13.0169295 10.3263071,13.3141909 9.95966805,13.3141909 C9.59302905,13.3141909 9.29576763,13.0169295 9.29576763,12.6502905 L9.29576763,3.35568465 L9.29576763,3.35568465 Z M5.97626556,4.01958506 C5.97626556,3.65294606 6.27352697,3.35568465 6.64016598,3.35568465 C7.00680498,3.35568465 7.30406639,3.65294606 7.30406639,4.01958506 L7.30406639,11.98639 C7.30406639,12.353029 7.00680498,12.6502905 6.64016598,12.6502905 C6.27352697,12.6502905 5.97626556,12.353029 5.97626556,11.98639 L5.97626556,4.01958506 L5.97626556,4.01958506 Z M2.65676349,5.34738589 C2.65676349,4.98074689 2.9540249,4.68348548 3.3206639,4.68348548 C3.6873029,4.68348548 3.98456432,4.98074689 3.98456432,5.34738589 L3.98456432,10.6585892 C3.98456432,11.0252282 3.6873029,11.3224896 3.3206639,11.3224896 C2.9540249,11.3224896 2.65676349,11.0252282 2.65676349,10.6585892 L2.65676349,5.34738589 L2.65676349,5.34738589 Z M16.9058921,15.2272199 C16.6117842,15.3917012 13.1347718,17.2975934 9.97004149,17.2975934 C6.69195021,17.2975934 3.10846473,15.2824896 2.99410788,15.2177593 C2.79261411,15.1037344 2.65493776,14.8900415 2.65493776,14.6419917 C2.65493776,14.2753527 2.95219917,13.9780913 3.31892116,13.9780913 C3.44058091,13.9780913 3.55311203,14.013195 3.65112033,14.0702905 L3.65261411,14.0677178 C3.65261411,14.0677178 6.64016598,15.9697925 9.97004149,15.9697925 C13.2774274,15.9697925 16.2655602,14.0675519 16.2655602,14.0675519 L16.2670539,14.0700415 C16.3649793,14.013112 16.4772614,13.9780913 16.5986722,13.9780913 C16.9653112,13.9780913 17.2626556,14.2753527 17.2626556,14.6419917 C17.2626556,14.8971784 17.1170124,15.1160996 16.9058921,15.2272199 L16.9058921,15.2272199 Z\\\"],[12],[13],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/guide/-logo.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"SQt24f97\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"svg\\\"],[14,\\\"width\\\",\\\"11px\\\"],[14,\\\"height\\\",\\\"11px\\\"],[14,\\\"viewBox\\\",\\\"0 0 11 11\\\"],[14,\\\"version\\\",\\\"1.1\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"xmlns:xlink\\\",\\\"http://www.w3.org/1999/xlink\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"g\\\"],[14,\\\"stroke\\\",\\\"none\\\"],[14,\\\"stroke-width\\\",\\\"1\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"g\\\"],[14,\\\"transform\\\",\\\"translate(-1115.000000, -281.000000)\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"g\\\"],[14,\\\"transform\\\",\\\"translate(1115.161538, 281.900000)\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M5.39460539,9.77732794 C5.13886114,9.77732794 4.88331668,9.67349696 4.68821179,9.46604757 C4.2981019,9.05104251 4.2981019,8.37810729 4.68821179,7.96299595 L7.57812188,4.88866397 L4.68821179,1.81433198 C4.2981019,1.39932692 4.2981019,0.7263917 4.68821179,0.311280364 C5.07832168,-0.103724696 5.71088911,-0.103724696 6.1010989,0.311280364 L9.6975025,4.1371913 C9.88471528,4.33656377 9.99000999,4.60682186 9.99000999,4.88866397 C9.99000999,5.17061235 9.88471528,5.44097672 9.6974026,5.64024291 L6.1008991,9.46604757 C5.90599401,9.67349696 5.65024975,9.77732794 5.39460539,9.77732794 L5.39460539,9.77732794 Z\\\"],[12],[13],[2,\\\"\\\\n                \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M8.0016983,5.95152328 L0.989410589,5.95152328 C0.442957043,5.95152328 4.13002965e-13,5.47572874 4.13002965e-13,4.88866397 C4.13002965e-13,4.30181174 0.442957043,3.82591093 0.989410589,3.82591093 L8.0016983,3.82591093 C8.54795205,3.82591093 8.99100899,4.30181174 8.99100899,4.88866397 C8.99100899,5.47572874 8.54795205,5.95152328 8.0016983,5.95152328 L8.0016983,5.95152328 Z\\\"],[12],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/guide/-right-arrow.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"RpgEkRG0\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"guide/start-guide-header-component\\\",[],[[\\\"@primarySection\\\",\\\"@toolbarHeading\\\"],[[32,0,[\\\"primarySection\\\"]],[32,0,[\\\"toolbarHeading\\\"]]]],null],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto overflow-auto scrolling-touch px-8 py-5\\\"],[12],[2,\\\"\\\\n  \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/guide/start-guide.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"BgfNJqeG\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1 js__main-container\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 main__content-outlet onboarding__home__main-content-outlet o__without-submenu\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"onboarding__home__product-tour-messenger-wrapper\\\"],[14,\\\"data-intercom-target\\\",\\\"messenger-wrapper\\\"],[12],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/home.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"B4fBy6ke\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 main onboarding__home__main\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"onboarding/home/guide-component\\\",[],[[\\\"@initiallyOpenStep\\\",\\\"@viewportClass\\\",\\\"@selectedAppPackage\\\",\\\"@onSelectAppPackage\\\",\\\"@onCloseAppPackageModal\\\"],[[32,0,[\\\"initiallyOpenStep\\\"]],\\\"onboarding__home__main\\\",[32,0,[\\\"selectedAppPackage\\\"]],[30,[36,1],[[32,0],\\\"setAppPackage\\\"],null],[30,[36,1],[[32,0],\\\"clearAppPackage\\\"],null]]],null],[2,\\\"\\\\n\\\\n\\\"],[6,[37,4],[[32,0,[\\\"app\\\",\\\"isTestApp\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,3],[[32,0,[\\\"shouldShowEscapeHatch\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"onboarding__home__guide-section__wrapper o__white\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"pb-10 px-10 onboarding__home__content-wrapper\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"onboarding/home/escape-hatch\\\",[],[[\\\"@forceAllGuide\\\",\\\"@setForceAllGuide\\\"],[[32,0,[\\\"model\\\",\\\"forceAllGuide\\\"]],[30,[36,2],[[32,0,[\\\"setForceAllGuide\\\"]]],null]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"p-10 onboarding__home__content-wrapper\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"onboarding/home/guide-footer\\\",[],[[\\\"@content\\\",\\\"@onVideoClick\\\",\\\"@isOnboardAndEngage\\\"],[[32,0,[\\\"footerContent\\\"]],[32,0,[\\\"trackFooterVideoAnalyticsEvent\\\"]],[32,0,[\\\"isOnboardAndEngage\\\"]]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,3],[[32,0,[\\\"app\\\",\\\"hasIntercomHomeDevelopmentMode\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"onboarding__home__development-mode-container\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"onboarding/home/change-guide\\\",[],[[],[]],null],[2,\\\"\\\\n    \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Reset Onboarding Home\\\",\\\"secondary-destructive\\\",[30,[36,1],[[32,0],[30,[36,0],[\\\"resetModalOpen\\\",[32,0]],null]],null]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"onboarding/home/reset-home-modal-component\\\",[],[[\\\"@isOpen\\\",\\\"@toggleModal\\\"],[[32,0,[\\\"resetModalOpen\\\"]],[30,[36,1],[[32,0],[30,[36,0],[\\\"resetModalOpen\\\",[32,0]],null]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"toggle\\\",\\\"action\\\",\\\"perform\\\",\\\"if\\\",\\\"unless\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/home/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"LiSIXR7g\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"importer layout__box o__flexes-to-1 o__has-rows o__scrolls\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__header__container layout__box\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h2 importer__header__heading\\\"],[12],[2,\\\"\\\\n      Import your users or leads from a CSV\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns u__right\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"importers/steps-component\\\",[],[[\\\"@steps\\\",\\\"@currentStep\\\"],[[34,0],[34,1]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[1,[30,[36,3],[[30,[36,2],null,null]],null]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"steps\\\",\\\"currentStep\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/import/csv.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"t9iKDXyo\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"importer__finish__container flex flex-col pt-16\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,16]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box importer__finish__header t__h1\\\"],[12],[2,\\\"\\\\n          Import Complete! 🎉\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns mb-4\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,15]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"t__big-number\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[34,14]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary-text\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[34,11]],[2,\\\" created/updated\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,13]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[10,\\\"div\\\"],[14,0,\\\"t__big-number\\\"],[12],[2,\\\"\\\\n                  \\\"],[1,[34,9]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary-text\\\"],[12],[2,\\\"\\\\n                  merged with existing users\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"t__big-number\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[34,10]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary-text\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[34,11]],[2,\\\" created\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"t__big-number\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[34,12]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary-text\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[34,11]],[2,\\\" updated\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,13]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[10,\\\"div\\\"],[14,0,\\\"t__big-number\\\"],[12],[2,\\\"\\\\n                  \\\"],[1,[34,9]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary-text\\\"],[12],[2,\\\"\\\\n                  merged with existing users\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"t__big-number\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[35,6,[\\\"failedRecords\\\",\\\"length\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary-text\\\"],[12],[2,\\\"\\\\n              Errors\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,6,[\\\"failedRecords\\\",\\\"length\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,3],[[35,8]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[11,\\\"a\\\"],[24,0,\\\"importer__finish__import-view-errors\\\"],[4,[38,4],[[32,0],\\\"toggleImportSummary\\\"],null],[12],[2,\\\"\\\\n                  View Import Summary\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"                \\\"],[11,\\\"a\\\"],[24,0,\\\"importer__finish__import-view-errors\\\"],[4,[38,4],[[32,0],\\\"toggleImportSummary\\\"],null],[12],[2,\\\"\\\\n                  View \\\"],[1,[35,6,[\\\"pluralisedError\\\"]]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 u__cf\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box importer__finish__btn-container u__right\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@fit\\\",\\\"@disabled\\\",\\\"@onClick\\\"],[\\\"Close\\\",\\\"primary\\\",true,[30,[36,17],[[35,16]],null],[30,[36,4],[[32,0],\\\"finish\\\"],null]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,8]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"importers/import-summary-component\\\",[],[[\\\"@model\\\"],[[34,6]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"importers/import-complete-component\\\",[],[[\\\"@appController\\\",\\\"@model\\\",\\\"@usersOrLeads\\\",\\\"@finish\\\"],[[34,5],[34,6],[34,7],\\\"finish\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,3],[[35,2]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box importer__finish__header t__h1\\\"],[12],[2,\\\"\\\\n        Your import is in progress. It might take a few minutes to complete — \\\"],[1,[34,0]],[2,\\\"%\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box importer__finish__progress__bar-wrapper\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__progress__bar\\\"],[15,5,[34,1]],[12],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\",\\\"@inline\\\"],[\\\"tiny\\\",\\\"true\\\"]],null],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"importer__finish__header t__h1\\\"],[12],[2,\\\"\\\\n          Preparing your import…\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__scrolls o__flexes-to-1 mt-4\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__tag__details\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"mb-4\\\"],[12],[2,\\\"\\\\n          You can close this window and still track the progress of your import.\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Go to imports\\\",\\\"secondary\\\",[30,[36,4],[[32,0],\\\"finish\\\",true],null]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"userCreateProgress\\\",\\\"progressWidth\\\",\\\"importing\\\",\\\"if\\\",\\\"action\\\",\\\"appController\\\",\\\"model\\\",\\\"usersOrLeads\\\",\\\"shouldShowImportSummary\\\",\\\"leadsMerged\\\",\\\"peopleCreated\\\",\\\"capitalizedRecordType\\\",\\\"peopleUpdated\\\",\\\"showLeadsMerged\\\",\\\"peopleCreatedOrUpdated\\\",\\\"shouldCombineCreatedOrUpdatedCounts\\\",\\\"importComplete\\\",\\\"not\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/import/csv/finish.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"ZwKP3HqE\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"importer__step__container o__centered layout__box o__flexes-to-1 o__has-rows\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__step__summary o__wide layout__box\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[35,1],0],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,5,\\\"margin: 15px 0;\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"warning\\\",[34,0]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n      Importing a CSV allows you to add and update people stored in Intercom.\\\\n      If a user ID or email address in your CSV matches an existing\\\\n      user or lead in Intercom, they will be updated with the mapped\\\\n      values. Otherwise, a new user or lead will be created.\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"importers/generic-record-type-selector-component\\\",[],[[\\\"@recordType\\\",\\\"@includeImages\\\",\\\"@usersTitle\\\",\\\"@usersText\\\",\\\"@leadsTitle\\\",\\\"@leadsText\\\"],[[34,4],true,\\\"Import users\\\",\\\"People who are already your customers<br>or have existing user accounts.\\\",\\\"Import leads\\\",\\\"People who may become your<br>customers or create accounts later.\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"importers/csv-file-upload-component\\\",[],[[\\\"@file\\\",\\\"@fileFailedToUpload\\\",\\\"@onClick\\\"],[[34,5],[34,6],[30,[36,8],[[35,7]],null]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"csvWarningText\\\",\\\"numberOfOpenCsvImportsForApp\\\",\\\"gt\\\",\\\"if\\\",\\\"recordType\\\",\\\"file\\\",\\\"fileFailedToUpload\\\",\\\"upload\\\",\\\"perform\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/import/csv/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"mcq7surB\",\"block\":\"{\\\"symbols\\\":[\\\"rows\\\",\\\"index\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"importer__mapping\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__mapping__secondary-header layout__box o__flexes-to-1 o__has-columns\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,12],[[35,16]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[34,17]],[2,\\\" of \\\"],[1,[34,18]],[2,\\\":\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,12],[[35,15]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[1,[35,2,[\\\"instruction\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            Which additional columns would you like to import?\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__mapping__secondary-header__explanation\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,12],[[35,15]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[1,[35,2,[\\\"explanation\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            Additional columns will be imported as custom attributes in Intercom.\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n            Complete:\\\\n          \\\"],[13],[2,\\\"\\\\n          You’ve mapped your data!\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,14],[[35,19]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box u__cf\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__centers-vertically u__right\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,12],[[35,16]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"a\\\"],[14,0,\\\"btn__tertiary__deemphasized u__ml__20 u__mr__20\\\"],[15,\\\"onClick\\\",[30,[36,7],[[32,0],\\\"unMapPreviousAttribute\\\"],null]],[12],[2,\\\"\\\\n              \\\"],[1,[30,[36,14],[[35,13],\\\"Previous step\\\",\\\"Undo previous mapping\\\"],null]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,12],[[35,15]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,12],[[35,11]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box importer__finish__btn-container\\\"],[12],[2,\\\"\\\\n                  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@fit\\\",\\\"@onClick\\\"],[\\\"Skip this step\\\",\\\"secondary\\\",true,[30,[36,7],[[32,0],\\\"skipMappingAttribute\\\"],null]]],null],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box importer__finish__btn-container\\\"],[12],[2,\\\"\\\\n                \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@fit\\\",\\\"@onClick\\\"],[\\\"Finish mapping\\\",\\\"primary\\\",true,[30,[36,7],[[32,0],\\\"finishMappingAttributes\\\"],null]]],null],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"a\\\"],[14,0,\\\"btn__tertiary__deemphasized u__ml__20 u__mr__20\\\"],[15,\\\"onClick\\\",[30,[36,7],[[32,0],\\\"editAttributeMappings\\\"],null]],[12],[2,\\\"\\\\n              Edit mapping\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box importer__finish__btn-container\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@fit\\\",\\\"@onClick\\\"],[[30,[36,8],[\\\"Tag \\\",[35,0,[\\\"recordType\\\"]]],null],\\\"primary\\\",true,[30,[36,10],[[35,9]],null]]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-8\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"layout__box o__has-columns importer__mapping__columns \\\",[30,[36,14],[[35,1],\\\"o__currently-mapping\\\"],null],\\\" \\\",[30,[36,14],[[35,16],\\\"importer__mapping__finished-mapping\\\"],null]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,21],[[30,[36,20],[[30,[36,20],[[35,0,[\\\"previewColumns\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"importers/csv-column-component\\\",[],[[\\\"@rows\\\",\\\"@index\\\",\\\"@rowCount\\\",\\\"@columnsExceedingMaxLength\\\",\\\"@anyOpen\\\",\\\"@currentAttributeMapping\\\",\\\"@attributeMappings\\\",\\\"@customAttributes\\\",\\\"@notifyError\\\",\\\"@hasHeader\\\",\\\"@predefinedAttributeMappings\\\",\\\"@setAttributeMapping\\\"],[[32,1],[32,2],[34,0,[\\\"rowCount\\\"]],[34,0,[\\\"columnsExceedingMaxLength\\\"]],[34,1],[34,2],[34,3],[34,4],\\\"notifyError\\\",[34,5],[34,6],[30,[36,7],[[32,0],\\\"setAttributeMapping\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1,2]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"model\\\",\\\"isCurrentlyMappingColumn\\\",\\\"currentAttributeMapping\\\",\\\"attributeMappings\\\",\\\"customAttributes\\\",\\\"hasHeader\\\",\\\"predefinedAttributeMappings\\\",\\\"action\\\",\\\"concat\\\",\\\"completeMapping\\\",\\\"perform\\\",\\\"currentAttributeMappingIsRequired\\\",\\\"unless\\\",\\\"previousAttributeMappingIsPredefined\\\",\\\"if\\\",\\\"allPredefinedAttributesMapped\\\",\\\"finishedMapping\\\",\\\"currentAttributeMappingNumber\\\",\\\"totalNumberOfAttributesToMap\\\",\\\"previousAttributeMapping\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/import/csv/mapping.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"2XN/P1s5\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows importer__tag__header\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n        Choose tags\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box h-10\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"import-set-tag-component\\\",[],[[\\\"@usersOrLeads\\\",\\\"@model\\\",\\\"@app\\\",\\\"@appController\\\",\\\"@userListUrl\\\",\\\"@openTaggingModal\\\",\\\"@finish\\\",\\\"@importType\\\"],[[34,0],[34,1],[34,2],[34,3],[34,4],\\\"openTaggingModal\\\",\\\"finish\\\",\\\"csv\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box importer__step__btn-container u__right\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@fit\\\",\\\"@onClick\\\"],[[30,[36,5],[\\\"Import \\\",[35,0]],null],\\\"primary\\\",true,[30,[36,6],[[32,0],\\\"completeImport\\\"],null]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"usersOrLeads\\\",\\\"model\\\",\\\"app\\\",\\\"appController\\\",\\\"userListUrl\\\",\\\"concat\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/import/csv/tag.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"n28vAEiG\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"importer layout__box o__flexes-to-1 o__has-rows o__scrolls\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__header__container layout__box\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h2 importer__header__heading\\\"],[12],[2,\\\"\\\\n      Import with Mailchimp\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns u__right\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"importers/steps-component\\\",[],[[\\\"@steps\\\",\\\"@currentStep\\\"],[[34,0],[34,1]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[1,[30,[36,3],[[30,[36,2],null,null]],null]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"steps\\\",\\\"currentStep\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/import/mailchimp.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"JrYfvXkw\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"importer__finish__container flex flex-col pt-16\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,16]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box importer__finish__header t__h1\\\"],[12],[2,\\\"\\\\n          Import Complete! 🎉\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns mb-4\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,15]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"t__big-number\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[34,14]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary-text\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[34,11]],[2,\\\" created/updated\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,13]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[10,\\\"div\\\"],[14,0,\\\"t__big-number\\\"],[12],[2,\\\"\\\\n                  \\\"],[1,[34,9]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary-text\\\"],[12],[2,\\\"\\\\n                  merged with existing users\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"t__big-number\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[34,10]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary-text\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[34,11]],[2,\\\" created\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"t__big-number\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[34,12]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary-text\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[34,11]],[2,\\\" updated\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,13]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[10,\\\"div\\\"],[14,0,\\\"t__big-number\\\"],[12],[2,\\\"\\\\n                  \\\"],[1,[34,9]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary-text\\\"],[12],[2,\\\"\\\\n                  merged with existing users\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"t__big-number\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[35,6,[\\\"failedRecords\\\",\\\"length\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary-text\\\"],[12],[2,\\\"\\\\n              Errors\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,6,[\\\"failedRecords\\\",\\\"length\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,3],[[35,8]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[11,\\\"a\\\"],[24,0,\\\"importer__finish__import-view-errors\\\"],[4,[38,4],[[32,0],\\\"toggleImportSummary\\\"],null],[12],[2,\\\"\\\\n                  View Import Summary\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"                \\\"],[11,\\\"a\\\"],[24,0,\\\"importer__finish__import-view-errors\\\"],[4,[38,4],[[32,0],\\\"toggleImportSummary\\\"],null],[12],[2,\\\"\\\\n                  View \\\"],[1,[35,6,[\\\"pluralisedError\\\"]]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 u__cf\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box importer__finish__btn-container u__right\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@fit\\\",\\\"@disabled\\\",\\\"@onClick\\\"],[\\\"Close\\\",\\\"primary\\\",true,[30,[36,17],[[35,16]],null],[30,[36,4],[[32,0],\\\"finish\\\"],null]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,8]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"importer/import-summary-component\\\",[],[[\\\"@model\\\"],[[34,6]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"importers/import-complete-component\\\",[],[[\\\"@appController\\\",\\\"@model\\\",\\\"@usersOrLeads\\\",\\\"@finish\\\"],[[34,5],[34,6],[34,7],\\\"finish\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,3],[[35,2]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box importer__finish__header t__h1\\\"],[12],[2,\\\"\\\\n        Your import is in progress. It might take a few minutes to complete — \\\"],[1,[34,0]],[2,\\\"%\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box importer__finish__progress__bar-wrapper\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__progress__bar\\\"],[15,5,[34,1]],[12],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\",\\\"@inline\\\"],[\\\"tiny\\\",\\\"true\\\"]],null],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"importer__finish__header t__h1\\\"],[12],[2,\\\"\\\\n          Preparing your import…\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__scrolls o__flexes-to-1 mt-4\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__tag__details\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"mb-4\\\"],[12],[2,\\\"\\\\n          You can close this window and still track the progress of your import.\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Go to imports\\\",\\\"secondary\\\",[30,[36,4],[[32,0],\\\"finish\\\",true],null]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"userCreateProgress\\\",\\\"progressWidth\\\",\\\"importing\\\",\\\"if\\\",\\\"action\\\",\\\"appController\\\",\\\"model\\\",\\\"usersOrLeads\\\",\\\"shouldShowImportSummary\\\",\\\"leadsMerged\\\",\\\"peopleCreated\\\",\\\"capitalizedRecordType\\\",\\\"peopleUpdated\\\",\\\"showLeadsMerged\\\",\\\"peopleCreatedOrUpdated\\\",\\\"shouldCombineCreatedOrUpdatedCounts\\\",\\\"importComplete\\\",\\\"not\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/import/mailchimp/finish.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"trtV9BAK\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"importer__step__container layout__box o__flexes-to-1 o__has-columns\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__step__summary layout__box\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n      Import users from Mailchimp\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n      Import subscribed members from a mailing list from your Mailchimp account as users in Intercom with\\\\n        email, name, signup date, and IP address. If an email address in your\\\\n        mailing list matches an existing user record in Intercom, that user\\\\n        record will be updated. Otherwise, a new user will be created.\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__step__btn-container o__large u__right\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"syncingState\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@label\\\",\\\"@onClick\\\"],[\\\"primary\\\",\\\"Continue\\\",[30,[36,0],[[32,0],\\\"transitonToNextPage\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@label\\\",\\\"@onClick\\\"],[\\\"primary\\\",\\\"Connect to Mailchimp\\\",[30,[36,0],[[32,0],\\\"redirectToOauth\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/import/mailchimp/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"mmNrxez/\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"importer__step__container layout__box o__flexes-to-1 o__scrolls\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"mailchimp-list-selector-component\\\",[],[[\\\"@selectedList\\\",\\\"@lookupList\\\",\\\"@isSubmitting\\\",\\\"@lists\\\",\\\"@onSelectedListChanged\\\"],[[34,0],\\\"lookupList\\\",[34,1,[\\\"isRunning\\\"]],[34,2],[30,[36,5],[[32,0],[30,[36,4],[[35,3]],null]],null]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box u__cf\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__right importer__step__btn-container o__large\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@fit\\\",\\\"@disabled\\\",\\\"@onClick\\\"],[\\\"Tag List\\\",\\\"primary\\\",true,[30,[36,6],[[35,3]],null],[30,[36,5],[[32,0],\\\"transitionToTag\\\"],null]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"mailchimpList\\\",\\\"fetchSingleList\\\",\\\"lists\\\",\\\"selectedListID\\\",\\\"mut\\\",\\\"action\\\",\\\"not\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/import/mailchimp/lists.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"E432aB/U\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows importer__tag__header\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n        Choose tags\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box h-10\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"import-set-tag-component\\\",[],[[\\\"@usersOrLeads\\\",\\\"@model\\\",\\\"@app\\\",\\\"@appController\\\",\\\"@userListUrl\\\",\\\"@openTaggingModal\\\",\\\"@finish\\\",\\\"@importType\\\"],[[34,0],[34,1],[34,2],[34,3],[34,4],\\\"openTaggingModal\\\",\\\"finish\\\",\\\"mailchimp\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box importer__step__btn-container u__right\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@fit\\\",\\\"@onClick\\\"],[[30,[36,5],[\\\"Import \\\",[35,1,[\\\"recordType\\\"]]],null],\\\"primary\\\",true,[30,[36,7],[[35,6]],null]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"usersOrLeads\\\",\\\"model\\\",\\\"app\\\",\\\"appController\\\",\\\"userListUrl\\\",\\\"concat\\\",\\\"completeImport\\\",\\\"perform\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/import/mailchimp/tag.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"fGAqEXoT\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"importer layout__box o__flexes-to-1 o__has-rows o__scrolls\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__header__container layout__box\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h2 importer__header__heading\\\"],[12],[2,\\\"\\\\n      Import with Mixpanel\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns u__right\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"importers/steps-component\\\",[],[[\\\"@steps\\\",\\\"@currentStep\\\"],[[34,0],[34,1]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[1,[30,[36,3],[[30,[36,2],null,null]],null]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"steps\\\",\\\"currentStep\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/import/mixpanel.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"lKFSkNlg\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"importer__finish__container flex flex-col pt-16\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,16]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box importer__finish__header t__h1\\\"],[12],[2,\\\"\\\\n          Import Complete! 🎉\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns mb-4\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,15]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"t__big-number\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[34,14]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary-text\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[34,11]],[2,\\\" created/updated\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,13]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[10,\\\"div\\\"],[14,0,\\\"t__big-number\\\"],[12],[2,\\\"\\\\n                  \\\"],[1,[34,9]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary-text\\\"],[12],[2,\\\"\\\\n                  merged with existing users\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"t__big-number\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[34,10]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary-text\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[34,11]],[2,\\\" created\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"t__big-number\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[34,12]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary-text\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[34,11]],[2,\\\" updated\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,13]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[10,\\\"div\\\"],[14,0,\\\"t__big-number\\\"],[12],[2,\\\"\\\\n                  \\\"],[1,[34,9]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary-text\\\"],[12],[2,\\\"\\\\n                  merged with existing users\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"t__big-number\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[35,6,[\\\"failedRecords\\\",\\\"length\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__import-summary-text\\\"],[12],[2,\\\"\\\\n              Errors\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,6,[\\\"failedRecords\\\",\\\"length\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,3],[[35,8]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[11,\\\"a\\\"],[24,0,\\\"importer__finish__import-view-errors\\\"],[4,[38,4],[[32,0],\\\"toggleImportSummary\\\"],null],[12],[2,\\\"\\\\n                  View Import Summary\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"                \\\"],[11,\\\"a\\\"],[24,0,\\\"importer__finish__import-view-errors\\\"],[4,[38,4],[[32,0],\\\"toggleImportSummary\\\"],null],[12],[2,\\\"\\\\n                  View \\\"],[1,[35,6,[\\\"pluralisedError\\\"]]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 u__cf\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box importer__finish__btn-container u__right\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@fit\\\",\\\"@disabled\\\",\\\"@onClick\\\"],[\\\"Close\\\",\\\"primary\\\",true,[30,[36,17],[[35,16]],null],[30,[36,4],[[32,0],\\\"finish\\\"],null]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,8]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"importers/import-summary-component\\\",[],[[\\\"@model\\\"],[[34,6]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"importers/import-complete-component\\\",[],[[\\\"@appController\\\",\\\"@model\\\",\\\"@usersOrLeads\\\",\\\"@finish\\\"],[[34,5],[34,6],[34,7],\\\"finish\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,3],[[35,2]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box importer__finish__header t__h1\\\"],[12],[2,\\\"\\\\n        Your import is in progress. It might take a few minutes to complete — \\\"],[1,[34,0]],[2,\\\"%\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box importer__finish__progress__bar-wrapper\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__progress__bar\\\"],[15,5,[34,1]],[12],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\",\\\"@inline\\\"],[\\\"tiny\\\",\\\"true\\\"]],null],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"importer__finish__header t__h1\\\"],[12],[2,\\\"\\\\n          Preparing your import…\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__scrolls o__flexes-to-1 mt-4\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__finish__tag__details\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"mb-4\\\"],[12],[2,\\\"\\\\n          You can close this window and still track the progress of your import.\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Go to imports\\\",\\\"secondary\\\",[30,[36,4],[[32,0],\\\"finish\\\",true],null]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"userCreateProgress\\\",\\\"progressWidth\\\",\\\"importing\\\",\\\"if\\\",\\\"action\\\",\\\"appController\\\",\\\"model\\\",\\\"usersOrLeads\\\",\\\"shouldShowImportSummary\\\",\\\"leadsMerged\\\",\\\"peopleCreated\\\",\\\"capitalizedRecordType\\\",\\\"peopleUpdated\\\",\\\"showLeadsMerged\\\",\\\"peopleCreatedOrUpdated\\\",\\\"shouldCombineCreatedOrUpdatedCounts\\\",\\\"importComplete\\\",\\\"not\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/import/mixpanel/finish.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"XkFf2c8F\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"importer__step__container layout__box o__flexes-to-1 o__has-columns\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__step__summary layout__box\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n      Import users from Mixpanel\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n      Import people from your Mixpanel account as users in Intercom with email, name,\\\\n      signup date, and last-seen data. If an email address from your Mixpanel\\\\n      account matches an existing user record in Intercom, we will update the\\\\n      user record. Otherwise, we will create a new user.\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__step__btn-container o__large u__right\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@fit\\\",\\\"@onClick\\\"],[\\\"Connect Mixpanel\\\",\\\"primary\\\",true,[30,[36,0],[[32,0],\\\"transitionToInstructions\\\"],null]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/import/mixpanel/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"+ecdo4f7\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"importer__step__container layout__box o__flexes-to-1 o__scrolls mt-10 mb-8\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"importers/mixpanel-import-component\\\",[],[[\\\"@appId\\\",\\\"@model\\\",\\\"@action\\\"],[[34,0,[\\\"id\\\"]],[34,1],\\\"transitionToTag\\\"]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"app\\\",\\\"model\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/import/mixpanel/instructions.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"YLkd4wlL\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows importer__tag__header\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n        Choose tags\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box h-10\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"import-set-tag-component\\\",[],[[\\\"@usersOrLeads\\\",\\\"@model\\\",\\\"@app\\\",\\\"@appController\\\",\\\"@userListUrl\\\",\\\"@openTaggingModal\\\",\\\"@importType\\\"],[[34,0],[34,1],[34,2],[34,3],[34,4],\\\"openTaggingModal\\\",\\\"mixpanel\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box importer__step__btn-container u__right\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@fit\\\",\\\"@onClick\\\"],[[30,[36,5],[\\\"Import \\\",[35,0]],null],\\\"primary\\\",true,[30,[36,6],[[32,0],\\\"completeImport\\\"],null]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"usersOrLeads\\\",\\\"model\\\",\\\"app\\\",\\\"appController\\\",\\\"userListUrl\\\",\\\"concat\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/import/mixpanel/tag.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"H2cAuxP1\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\"],[[30,[36,0],[[32,0],\\\"closeModalUsingModalService\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[8,\\\"common/tagging-component\\\",[],[[\\\"@title\\\",\\\"@taggable\\\",\\\"@type\\\",\\\"@location\\\",\\\"@afterSave\\\"],[\\\"Tag\\\",[34,1],\\\"user-company\\\",\\\"importer\\\",[30,[36,0],[[32,0],\\\"performSetTags\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"taggable\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/import/tagging-modal.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"S+8Ut6gj\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"importer layout__box o__flexes-to-1 o__has-rows o__scrolls\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__header__container layout__box\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h2 importer__header__heading\\\"],[12],[2,\\\"\\\\n      Import from \\\"],[1,[32,0,[\\\"importerConfiguration\\\",\\\"name\\\"]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns u__right\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"importers/steps-component\\\",[],[[\\\"@steps\\\",\\\"@currentStep\\\"],[[34,0],[34,1]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[1,[30,[36,3],[[30,[36,2],null,null]],null]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"steps\\\",\\\"currentStep\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/import/zendesk-chat.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"d6USwf89\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"importer__step__container layout__box o__flexes-to-1 o__scrolls mt-10 mb-8\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"importerConfiguration\\\",\\\"isZendeskChat\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"importers/zendesk-chat/zendesk-chat-import-component\\\",[],[[\\\"@importerConfiguration\\\",\\\"@showErrorMessage\\\",\\\"@authorize\\\"],[[32,0,[\\\"importerConfiguration\\\"]],[32,0,[\\\"showErrorMessage\\\"]],[32,0,[\\\"authorize\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"importers/zendesk-tickets/import-component\\\",[],[[\\\"@importerConfiguration\\\",\\\"@showErrorMessage\\\",\\\"@authorize\\\"],[[32,0,[\\\"importerConfiguration\\\"]],[32,0,[\\\"showErrorMessage\\\"]],[32,0,[\\\"authorize\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/import/zendesk-chat/authorize.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"4cGs4uwu\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"importers/zendesk-chat/confirm-import-component\\\",[],[[\\\"@currentAdminEmail\\\",\\\"@finish\\\",\\\"@importConversations\\\",\\\"@importStarted\\\",\\\"@importerConfiguration\\\"],[[34,0],[34,1],[30,[36,2],[[32,0],\\\"importConversations\\\"],null],[34,3],[32,0,[\\\"importerConfiguration\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"currentAdminEmail\\\",\\\"finish\\\",\\\"action\\\",\\\"importStarted\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/import/zendesk-chat/import.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"AqcinWWI\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"importer__step__container layout__box o__flexes-to-1 o__has-columns\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__step__summary layout__box\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n      Help Resolution Bot recognize your common questions\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n      Pull in your conversation history for Resolution Bot to review so it can identify the questions your team sees the most.\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__step__btn-container o__large u__right\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@fit\\\",\\\"@onClick\\\"],[\\\"Get started\\\",\\\"primary\\\",true,[30,[36,0],[[32,0],\\\"transitionToInstructions\\\"],null]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/import/zendesk-chat/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"ZyN6vMvu\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1 js__main-container\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls u__relative js__main-content\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"page u__cf inbound-email__page\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"inbound-email\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"h1\\\"],[14,0,\\\"t__h1 u__left\\\"],[12],[2,\\\"\\\\n            Raw Incoming Email\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"u__right\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,3]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[8,\\\"link-to\\\",[[24,0,\\\"t__em-link\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[[34,2,[\\\"conversationRoute\\\"]],[34,3]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                Back to conversation\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"              \\\"],[8,\\\"link-to\\\",[[24,0,\\\"t__em-link u__mr__10\\\"]],[[\\\"@route\\\"],[\\\"apps.app.settings.spam-messages\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                Back to Spam\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n              \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Not spam\\\",\\\"primary\\\",[30,[36,1],[[32,0],\\\"processSpam\\\",[35,0,[\\\"id\\\"]]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\"],[2,\\\"        \\\"],[10,\\\"table\\\"],[14,0,\\\"tbl o__fit\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"          \\\"],[10,\\\"tbody\\\"],[14,0,\\\"tbl__body\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"b\\\"],[12],[2,\\\"To\\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__normal-spaced\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[35,0,[\\\"to\\\"]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"b\\\"],[12],[2,\\\"From\\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[35,0,[\\\"from\\\"]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,0,[\\\"reply_to\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n                  \\\"],[10,\\\"b\\\"],[12],[2,\\\"Reply to\\\"],[13],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n                \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n                  \\\"],[1,[35,0,[\\\"reply_to\\\"]]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,4],[[35,0,[\\\"cc\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n                  \\\"],[10,\\\"b\\\"],[12],[2,\\\"CC\\\"],[13],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n                \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n                  \\\"],[1,[35,0,[\\\"cc\\\"]]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,4],[[35,0,[\\\"bcc\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n                  \\\"],[10,\\\"b\\\"],[12],[2,\\\"BCC\\\"],[13],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n                \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n                  \\\"],[1,[35,0,[\\\"bcc\\\"]]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"b\\\"],[12],[2,\\\"Subject\\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__normal-spaced\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[35,0,[\\\"subject\\\"]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"b\\\"],[12],[2,\\\"Date\\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[35,0,[\\\"date\\\"]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"b\\\"],[12],[2,\\\"Plain text\\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__normal-spaced u__force-breaks\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"pre\\\"],[14,0,\\\"inbound-email__raw-content\\\"],[12],[1,[35,0,[\\\"plain_text\\\"]]],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"b\\\"],[12],[2,\\\"HTML\\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__normal-spaced u__force-breaks\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"pre\\\"],[14,0,\\\"inbound-email__raw-content\\\"],[12],[1,[35,0,[\\\"html\\\"]]],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"model\\\",\\\"action\\\",\\\"app\\\",\\\"conversationId\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbound-email.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"ME5caR3e\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\"],\\\"statements\\\":[[6,[37,6],[[35,25]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1 js__main-container inbox__main-container__wrapper\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"inbox/submenu-component\\\",[],[[\\\"@toggleSearch\\\",\\\"@searchIsSelected\\\",\\\"@activeInbox\\\",\\\"@createView\\\",\\\"@updateView\\\"],[[30,[36,0],[[32,0],\\\"toggleVerticalSearch\\\"],null],[34,21],[34,22],[30,[36,0],[[32,0],\\\"createView\\\"],null],[30,[36,0],[[32,0],\\\"updateView\\\"],null]]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"layout__box o__has-rows o__flexes-to-1 main__content-outlet \\\",[30,[36,6],[[35,24,[\\\"navbarCollapsed\\\"]],\\\"o__without-submenu\\\"],null]]]],[12],[2,\\\"\\\\n      \\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\",\\\"@forceInactive\\\"],[\\\"inbox\\\",[32,0,[\\\"forcePaywallInactive\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,1,[\\\"Banner\\\"]],[],[[\\\"@content\\\"],[\\\"Upgrade to start replying to conversations\\\"]],null],[2,\\\"\\\\n        \\\"],[8,[32,1,[\\\"Splash\\\"]],[],[[\\\"@title\\\",\\\"@description\\\",\\\"@imgSrc\\\"],[\\\"Get started with Inbox\\\",\\\"Your Intercom Inbox is like a communication hub for your business. You can read, manage, assign, and reply to customer conversations – all from one place.\\\",[32,0,[\\\"paywallImage\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,6],[[35,5]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"inbox/seat-wall-component\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,6],[[30,[36,18],[[35,4,[\\\"inactive\\\"]],[35,17],[35,16,[\\\"externalStepModeDisabled\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[8,\\\"pulse/full-width-banner\\\",[[24,\\\"data-inbox-inbox-essential-upgrade-banner\\\",\\\"\\\"]],[[\\\"@color\\\"],[\\\"dark-blue\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                Work efficiently as a team. Collaborate on conversations from leads and customers.\\\\n                \\\"],[8,\\\"start-product-trial-link\\\",[],[[\\\"@product\\\"],[[34,4]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                  Try Inbox Essential →\\\\n                \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls js__main-content\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,6],[[30,[36,18],[[35,20,[\\\"reassign_conversations\\\"]],[35,19]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[8,\\\"pulse/full-width-banner\\\",[[24,0,\\\"clearfix\\\"],[24,\\\"data-inbox-away-mode-notifier\\\",\\\"\\\"]],[[\\\"@color\\\"],[\\\"yellow-light\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                  \\\"],[11,\\\"a\\\"],[24,\\\"role\\\",\\\"button\\\"],[4,[38,12],[\\\"click\\\",[30,[36,0],[[32,0],\\\"turnOffAwayMode\\\"],null]],null],[12],[2,\\\"\\\\n                    Turn off away mode and stop reassigning replies\\\\n                  \\\"],[13],[2,\\\"\\\\n                \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,6],[[35,21]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-4 pt-4 pb-4 nav-vertical__search__wrapper u__padr__20 u__padl__20\\\"],[12],[2,\\\"\\\\n                  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col justify-center nav-vertical__search__back__button\\\"],[12],[2,\\\"\\\\n                    \\\"],[11,\\\"a\\\"],[4,[38,0],[[32,0],\\\"resetConversationSearch\\\"],null],[12],[2,\\\"\\\\n                      \\\"],[1,[30,[36,13],[\\\"back\\\"],[[\\\"color\\\",\\\"solo\\\"],[\\\"gray\\\",true]]]],[2,\\\"\\\\n                    \\\"],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n                    \\\"],[8,\\\"inbox/search/query-builder\\\",[],[[\\\"@transitionTo\\\"],[[30,[36,0],[[32,0],\\\"doSearchTransition\\\"],null]]],null],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,6],[[30,[36,18],[[35,21],[30,[36,23],[[35,22,[\\\"isSearch\\\"]]],null]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[8,\\\"search-empty-state\\\",[],[[\\\"@context\\\",\\\"@exitSearch\\\"],[\\\"inbox\\\",[30,[36,0],[[32,0],\\\"resetConversationSearch\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,6],[[35,14]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                  \\\"],[8,\\\"pulse/full-width-banner\\\",[[24,0,\\\"relative\\\"],[24,\\\"data-inbox-tour-banner\\\",\\\"\\\"]],[[\\\"@color\\\"],[\\\"blue\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                    Your inbox is more powerful and flexible than ever.\\\\n                    \\\"],[11,\\\"a\\\"],[16,6,[31,[[30,[36,6],[[32,0,[\\\"inboxService\\\",\\\"currentConversation\\\"]],[30,[36,11],[[35,10,[\\\"inboxConversationsConversationRoute\\\"]],[32,0,[\\\"inboxService\\\",\\\"currentConversation\\\",\\\"id\\\"]],[30,[36,9],null,[[\\\"inbox_tour\\\"],[true]]]],null]],null]]]],[4,[38,12],[\\\"click\\\",[30,[36,0],[[32,0],\\\"dismissTourBanner\\\"],null]],null],[12],[2,\\\"\\\\n                      Take a tour to see what's new.\\\\n                    \\\"],[13],[2,\\\"\\\\n                    \\\"],[11,\\\"button\\\"],[24,0,\\\"absolute top-0 right-0 m-3 hover:opacity-75\\\"],[4,[38,12],[\\\"click\\\",[30,[36,0],[[32,0],\\\"dismissTourBanner\\\"],null]],null],[12],[2,\\\"\\\\n                      \\\"],[1,[30,[36,13],[\\\"small-close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n                    \\\"],[13],[2,\\\"\\\\n                  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"                \\\"],[8,\\\"banners/missing-shipping-address\\\",[],[[\\\"@bannerStateChanged\\\"],[[30,[36,15],[[32,0],\\\"missingShippingAddressBannerVisible\\\"],null]]],null],[2,\\\"\\\\n                \\\"],[1,[30,[36,3],[[30,[36,2],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,6],[[35,8]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls u__relative js__main-content\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,3],[[30,[36,2],null,null]],null]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"iframe\\\"],[14,0,\\\"layout__box simulator__wrapper\\\"],[14,\\\"sandbox\\\",\\\"allow-scripts allow-same-origin allow-modals allow-top-navigation\\\"],[15,\\\"src\\\",[31,[[34,7]]]],[12],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls u__relative js__main-content\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,6],[[35,5]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"inbox/seat-wall-component\\\",[],[[\\\"@product\\\"],[[34,4]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[1,[30,[36,3],[[30,[36,2],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,6],[[32,0,[\\\"viewBeingCreated\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"inbox/inbox-views/create-modal\\\",[],[[\\\"@inboxViews\\\",\\\"@onClose\\\"],[[34,1],[30,[36,0],[[32,0],\\\"viewCreationFinished\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,6],[[32,0,[\\\"viewBeingUpdated\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"inbox/inbox-views/update-modal\\\",[],[[\\\"@inboxViews\\\",\\\"@inboxView\\\",\\\"@onClose\\\",\\\"@deleteView\\\"],[[34,1],[32,0,[\\\"viewBeingUpdated\\\"]],[30,[36,0],[[32,0],\\\"viewUpdateFinished\\\"],null],[30,[36,0],[[32,0],\\\"deleteView\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,6],[[32,0,[\\\"viewBeingDeleted\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"inbox/inbox-views/delete-modal\\\",[],[[\\\"@inboxView\\\",\\\"@onClose\\\"],[[32,0,[\\\"viewBeingDeleted\\\"]],[30,[36,0],[[32,0],\\\"viewDeletionFinished\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"inboxViews\\\",\\\"-outlet\\\",\\\"component\\\",\\\"product\\\",\\\"requiresSeat\\\",\\\"if\\\",\\\"iframeSource\\\",\\\"isSimulator\\\",\\\"query-params\\\",\\\"app\\\",\\\"href-to\\\",\\\"on\\\",\\\"ic-interface-icon\\\",\\\"shouldShowTourBanner\\\",\\\"set\\\",\\\"onboardingHomeExternalStepService\\\",\\\"canUseFree\\\",\\\"and\\\",\\\"isViewingInbox\\\",\\\"me\\\",\\\"searchIsSelected\\\",\\\"activeInbox\\\",\\\"not\\\",\\\"appController\\\",\\\"showNavBar\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"NOiwl8Kw\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"intercomrade-warning\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  Edits made here could result in customer-facing changes.\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[8,\\\"new-rules-banner-component\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-rows inbox__automation__overflow\\\"],[12],[2,\\\"\\\\n  \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/automation.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"1K0TQdXx\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"inbox/rules/assignment-rules\\\",[],[[\\\"@toggleItemIsExpanded\\\",\\\"@rules\\\",\\\"@messagingSettings\\\"],[[30,[36,0],[[32,0],\\\"toggleItemIsExpanded\\\"],null],[34,1],[34,2]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"model\\\",\\\"messagingSettings\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/automation/assignment.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"zxCZ8wMc\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"inbox/rules/priority-rules\\\",[],[[\\\"@toggleItemIsExpanded\\\",\\\"@rules\\\"],[[30,[36,0],[[32,0],\\\"toggleItemIsExpanded\\\"],null],[34,1]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"model\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/automation/priority.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"vzrbhDs3\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"inbox/rules/sla-rules\\\",[],[[\\\"@toggleItemIsExpanded\\\",\\\"@rules\\\",\\\"@conversationSlas\\\",\\\"@officeHoursSchedules\\\"],[[30,[36,0],[[32,0],\\\"toggleItemIsExpanded\\\"],null],[34,1],[34,2],[34,3]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"model\\\",\\\"conversationSlas\\\",\\\"officeHoursSchedules\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/automation/sla.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"3D1S+t9s\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"inbox/rules/tag-rules\\\",[],[[\\\"@toggleItemIsExpanded\\\",\\\"@rules\\\"],[[30,[36,0],[[32,0],\\\"toggleItemIsExpanded\\\"],null],[32,0,[\\\"model\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/automation/tag.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Y8/BJPBv\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\"],\\\"statements\\\":[[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"inbox_rules\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"Banner\\\"]],[],[[\\\"@content\\\"],[\\\"Upgrade to set your rules live\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"],[8,\\\"workflows/editor-component\\\",[],[[\\\"@workflow\\\",\\\"@actionEditorContext\\\",\\\"@mode\\\"],[[32,0,[\\\"workflow\\\"]],[32,0,[\\\"actionEditorContext\\\"]],[32,0,[\\\"mode\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/automation/workflows/edit.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"KDJ8lwea\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\"],\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[32,0,[\\\"app\\\",\\\"canSeeWorkflowsOptIn\\\"]],[30,[36,0],[[32,0,[\\\"app\\\",\\\"canUseWorkflows\\\"]]],null]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"workflows/opt-in-component\\\",[],[[\\\"@optCustomerIn\\\",\\\"@taskStartedBefore\\\",\\\"@pollAppReloadForWorkflows\\\"],[[32,0,[\\\"optCustomerIn\\\"]],[32,0,[\\\"taskStartedBefore\\\"]],[32,0,[\\\"pollAppReloadForWorkflows\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"inbox_rules\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"Banner\\\"]],[],[[\\\"@content\\\"],[\\\"Upgrade to set your rules live\\\"]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n    \\\"],[8,\\\"workflows/index-component\\\",[],[[\\\"@workflows\\\",\\\"@actionContext\\\"],[[32,0,[\\\"workflows\\\"]],[32,0,[\\\"actionContext\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"not\\\",\\\"and\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/automation/workflows/list.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"5+0rdEOb\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\"],\\\"statements\\\":[[8,\\\"common/hamburger-menu\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n      Workload management\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/support-customers/work-as-a-team/manage-high-conversation-volume-effortlessly-with-workload-management\\\",\\\"How workload management works\\\",\\\"article\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"manage_capacity\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"Splash\\\"]],[],[[\\\"@title\\\",\\\"@description\\\",\\\"@imgSrc\\\"],[\\\"Manage conversation volume effortlessly\\\",\\\"Scale your real-time support with workload management – a new feature for setting assignment limits, controlling inbound volume and routing conversations to available teammates only\\\",\\\"/assets/images/workload-management/paywall@2x.png\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__padl__30 u__padr__30\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"inbox/workload-management/volume-control-section\\\",[],[[\\\"@teams\\\",\\\"@settings\\\"],[[32,0,[\\\"model\\\",\\\"teams\\\"]],[32,0,[\\\"model\\\",\\\"settings\\\"]]]],null],[2,\\\"\\\\n    \\\"],[8,\\\"inbox/workload-management/assignment-limit-setting\\\",[],[[\\\"@capacity\\\"],[[32,0,[\\\"model\\\",\\\"capacity\\\"]]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/automation/workload-management.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"gyiYVfPw\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[15,5,[34,13]],[14,0,\\\"conversation__inbox\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"inbox/fake-inbox-component\\\",[],[[\\\"@app\\\",\\\"@conversation\\\",\\\"@navbarCollapsed\\\"],[[34,2],[34,3],[34,14,[\\\"navbarCollapsed\\\"]]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"conversation__inbox__outlet\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,12],[[30,[36,9],[[30,[36,15],[\\\"restrict-conversation-access\\\"],null],[32,0,[\\\"conversation\\\",\\\"redacted\\\"]]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"conversation/restricted\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,12],[[32,0,[\\\"app\\\",\\\"canUseFullWidthHeader\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"inbox/card-header-component\\\",[],[[\\\"@admin\\\",\\\"@conversation\\\",\\\"@streamAndControls\\\",\\\"@showConversationLink\\\",\\\"@isInbox\\\",\\\"@changeToNotePane\\\",\\\"@readOnly\\\",\\\"@collapse\\\",\\\"@openModal\\\"],[[34,1],[34,5],[34,10],false,true,[30,[36,11],[[32,0],\\\"changeToNotePane\\\"],null],[34,5,[\\\"fromDeletedUser\\\"]],\\\"collapse\\\",[30,[36,11],[[32,0],\\\"openModalFromHeader\\\"],null]]],null],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"conversation__inbox__content-outlet\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"conversation/card-component\\\",[],[[\\\"@actionReceiver\\\",\\\"@app\\\",\\\"@admin\\\",\\\"@conversation\\\",\\\"@streamAndControls\\\",\\\"@isSaving\\\",\\\"@isExpanded\\\",\\\"@isInbox\\\",\\\"@readOnly\\\",\\\"@isHeaderHidden\\\"],[[34,0],[34,2],[34,1],[34,5],[34,10],[34,4],true,true,[34,5,[\\\"fromDeletedUser\\\"]],true]],null],[2,\\\"\\\\n          \\\"],[8,\\\"inbox/contextual-conversation-sidebar\\\",[],[[\\\"@conversation\\\",\\\"@showConversationAttributes\\\"],[[34,3],true]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"conversation/card-component\\\",[],[[\\\"@actionReceiver\\\",\\\"@admin\\\",\\\"@app\\\",\\\"@conversation\\\",\\\"@isExpanded\\\",\\\"@isInbox\\\",\\\"@isSaving\\\",\\\"@readOnly\\\",\\\"@openAppsPopover\\\"],[[34,0],[34,1],[34,2],[34,3],true,true,[34,4],[34,5,[\\\"fromDeletedUser\\\"]],[30,[36,9],[[35,8],[30,[36,7],[[35,6],\\\"true\\\"],null]],null]]],null],[2,\\\"\\\\n        \\\"],[8,\\\"inbox/contextual-conversation-sidebar\\\",[],[[\\\"@conversation\\\",\\\"@showConversationAttributes\\\"],[[34,3],[32,0,[\\\"app\\\",\\\"canUseConversationAttributeData\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"conversationCard\\\",\\\"admin\\\",\\\"app\\\",\\\"model\\\",\\\"isSaving\\\",\\\"conversation\\\",\\\"install_success\\\",\\\"eq\\\",\\\"app_package_code\\\",\\\"and\\\",\\\"streamAndControls\\\",\\\"action\\\",\\\"if\\\",\\\"computedStyle\\\",\\\"appController\\\",\\\"has-feature\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/inbox/conversation.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"HW97bqTe\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[15,5,[34,0]],[15,0,[31,[\\\"conversations_inbox \\\",[30,[36,2],[[35,1],\\\"o__simulator\\\"],null]]]],[14,\\\"tabindex\\\",\\\"1\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"conversation__inbox\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"inbox/inbox-component\\\",[],[[\\\"@app\\\",\\\"@admin\\\",\\\"@inbox\\\",\\\"@refreshInboxCounters\\\",\\\"@navbarCollapsed\\\"],[[34,3],[34,4],[34,5],\\\"refreshInboxCounters\\\",[34,6,[\\\"navbarCollapsed\\\"]]]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"conversation__inbox__outlet\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[30,[36,8],[[30,[36,7],null,null]],null]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"computedStyle\\\",\\\"isSimulator\\\",\\\"if\\\",\\\"app\\\",\\\"admin\\\",\\\"model\\\",\\\"appController\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/inbox/conversations.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"V6F+t3x0\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,8],[[30,[36,10],[[30,[36,9],[\\\"restrict-conversation-access\\\"],null],[32,0,[\\\"conversation\\\",\\\"redacted\\\"]]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"conversation/restricted\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,8],[[32,0,[\\\"app\\\",\\\"canUseFullWidthHeader\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"inbox/card-header-component\\\",[],[[\\\"@admin\\\",\\\"@conversation\\\",\\\"@streamAndControls\\\",\\\"@showConversationLink\\\",\\\"@isInbox\\\",\\\"@changeToNotePane\\\",\\\"@readOnly\\\",\\\"@collapse\\\",\\\"@openModal\\\"],[[34,2],[34,3],[34,4],false,true,[30,[36,7],[[32,0],\\\"changeToNotePane\\\"],null],[34,3,[\\\"fromDeletedUser\\\"]],\\\"collapse\\\",[30,[36,7],[[32,0],\\\"openModalFromHeader\\\"],null]]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"conversation__inbox__content-outlet\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"conversation/card-component\\\",[],[[\\\"@actionReceiver\\\",\\\"@app\\\",\\\"@admin\\\",\\\"@conversation\\\",\\\"@streamAndControls\\\",\\\"@isSaving\\\",\\\"@isExpanded\\\",\\\"@isInbox\\\",\\\"@readOnly\\\",\\\"@isHeaderHidden\\\"],[[34,0],[34,1],[34,2],[34,3],[34,4],[34,5],true,true,[34,3,[\\\"fromDeletedUser\\\"]],true]],null],[2,\\\"\\\\n      \\\"],[8,\\\"inbox/contextual-conversation-sidebar\\\",[],[[\\\"@conversation\\\",\\\"@showConversationAttributes\\\"],[[34,6],true]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"conversation/card-component\\\",[],[[\\\"@actionReceiver\\\",\\\"@app\\\",\\\"@admin\\\",\\\"@conversation\\\",\\\"@streamAndControls\\\",\\\"@isSaving\\\",\\\"@isExpanded\\\",\\\"@isInbox\\\",\\\"@readOnly\\\"],[[34,0],[34,1],[34,2],[34,3],[34,4],[34,5],true,true,[34,3,[\\\"fromDeletedUser\\\"]]]],null],[2,\\\"\\\\n    \\\"],[8,\\\"inbox/contextual-conversation-sidebar\\\",[],[[\\\"@conversation\\\",\\\"@showConversationAttributes\\\"],[[34,6],[32,0,[\\\"app\\\",\\\"canUseConversationAttributeData\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"conversationCard\\\",\\\"app\\\",\\\"admin\\\",\\\"conversation\\\",\\\"streamAndControls\\\",\\\"isSaving\\\",\\\"model\\\",\\\"action\\\",\\\"if\\\",\\\"has-feature\\\",\\\"and\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/inbox/conversations/conversation.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"G7P9MB1Q\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"u__center-layout\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"inbox/empty-state-component\\\",[],[[\\\"@inbox\\\",\\\"@hasConversations\\\"],[[32,0,[\\\"model\\\",\\\"inbox\\\"]],[32,0,[\\\"model\\\",\\\"hasConversations\\\"]]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/inbox/conversations/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"98DJVqIW\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/inbox/conversations/loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"mH14R3/X\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\"],[\\\"closeIntercomModal\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[8,\\\"conversation/modals/away-mode-warning\\\",[],[[\\\"@admin\\\",\\\"@closeModal\\\"],[[34,0,[\\\"admin\\\"]],[30,[36,1],[[32,0],\\\"closeIntercomModal\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"model\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/inbox/conversations/modals/away_mode_warning.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"5iS/A4kR\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\"],[\\\"closeModal\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header u__center-layout\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title u__center-layout\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Delete this \\\"],[1,[30,[36,1],[[35,0,[\\\"part\\\",\\\"isNote\\\"]],\\\"note\\\",\\\"message\\\"],null]],[2,\\\"?\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,2]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"error\\\",\\\"An error occurred while deleting, please try again.\\\"]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group u__centered-text-block u__mt__10 u__mb__30 u__mr__20 u__ml__20\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,0,[\\\"part\\\",\\\"isNote\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        This permanently deletes the note from this conversation. If a\\\\n        teammate was notified, it won't be deleted from their email.\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        This deletes the message from the inbox and the Messenger, but won’t delete\\\\n        it from your customers’ email.\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group u__center-layout\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"u__mr__10\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@jsBindingClass\\\"],[\\\"Cancel\\\",\\\"secondary\\\",[30,[36,3],[[32,0],\\\"closeIntercomModal\\\"],null],\\\"js__close-button\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Delete\\\",\\\"primary-destructive\\\",[30,[36,3],[[32,0],\\\"redactPart\\\",[35,4]],null]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"model\\\",\\\"if\\\",\\\"hasErrored\\\",\\\"action\\\",\\\"part\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/inbox/conversations/modals/redact-part.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"/GVt1FWU\",\"block\":\"{\\\"symbols\\\":[\\\"inserter\\\",\\\"reply\\\",\\\"index\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\",\\\"@modalClass\\\"],[\\\"closeModal\\\",\\\"o__extra-wide\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Saved replies\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right\\\"],[4,[38,0],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,20],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body o__no-footer saved-replies__modal__contents\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,27]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"tip-component\\\",[],[[\\\"@content\\\",\\\"@tipKey\\\"],[\\\"Tip: type # when writing a message for quick access to saved replies\\\",\\\"saved-replies-modal\\\"]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-4 o__has-rows u__relative saved-replies__modal__contents__left\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box m__saved-replies__list-item m__saved-replies__list-item__search u__relative\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"input\\\"],[15,\\\"placeholder\\\",[31,[[34,21]]]],[14,0,\\\"f__text m__saved-replies__list-item__search-input js__saved-replies__search\\\"],[15,\\\"oninput\\\",[30,[36,0],[[32,0],\\\"updateSearch\\\"],[[\\\"value\\\"],[\\\"target.value\\\"]]]],[14,4,\\\"text\\\"],[12],[13],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"m__saved-replies__list-item__search-icon text-gray\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[30,[36,20],[\\\"search\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,22]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[11,\\\"span\\\"],[24,0,\\\"m__saved-replies__list-item__search-clear text-gray\\\"],[4,[38,0],[[32,0],\\\"clearSearch\\\"],[[\\\"bubbles\\\"],[false]]],[12],[2,\\\"\\\\n                \\\"],[1,[30,[36,20],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 saved-replies__content saved-replies__content-no-beta\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"vertical-collection\\\",[],[[\\\"@items\\\",\\\"@estimateHeight\\\",\\\"@staticHeight\\\"],[[34,23],36,true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[11,\\\"div\\\"],[16,0,[31,[\\\"m__saved-replies__list-item flex items-start o__hoverable \\\",[30,[36,2],[[32,2,[\\\"active\\\"]],\\\"o__active\\\"],null]]]],[4,[38,0],[[32,0],\\\"selectSavedReply\\\",[32,2]],null],[12],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n                  \\\"],[8,\\\"tooltips/saved-replies\\\",[],[[\\\"@admin\\\",\\\"@reply\\\",\\\"@createdAt\\\"],[[34,24],[32,2],[32,2,[\\\"created_at\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                    \\\"],[8,\\\"ic-avatar-component\\\",[],[[\\\"@model\\\",\\\"@size\\\"],[[32,2,[\\\"admin\\\"]],\\\"xs\\\"]],null],[2,\\\"\\\\n                  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"m__saved-replies__list-item__content\\\"],[12],[2,\\\"\\\\n                  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"u__one-truncated-line m__saved-replies__modal__list-item__name \\\",[30,[36,2],[[32,2,[\\\"active\\\"]],\\\"m__saved-replies__modal__active-reply\\\"],null]]]],[12],[2,\\\"\\\\n                    \\\"],[1,[32,2,[\\\"name\\\"]]],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[2,3]}]]],[2,\\\"\\\\n\\\"],[6,[37,8],[[35,25]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"div\\\"],[14,0,\\\"m__saved-replies__no-results-found text-gray\\\"],[12],[2,\\\"\\\\n                No saved replies found\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,9]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"m__saved-replies__modal__edit-overlay\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box u__cf saved-replies__modal__footer\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"btn__associated-content\\\"],[12],[2,\\\"\\\\n              \\\"],[11,\\\"a\\\"],[24,0,\\\"btn__tertiary\\\"],[4,[38,0],[[32,0],\\\"createSavedReply\\\"],null],[12],[2,\\\"\\\\n                \\\"],[1,[30,[36,20],[\\\"new\\\"],null]],[2,\\\" Create saved reply\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-6 o__has-rows u__relative\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box u__padt__20 u__padr__30 u__padl__30 mb-4\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,9]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[8,\\\"input\\\",[[24,0,\\\"f__text js__saved-replies__name-input\\\"],[16,\\\"placeholder\\\",[34,19]]],[[\\\"@value\\\",\\\"@type\\\"],[[34,7,[\\\"name\\\"]],\\\"text\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[35,7,[\\\"name\\\"]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 u__padr__30 u__padl__30 mb-8\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"conversation__text \\\",[30,[36,2],[[35,9],\\\"m__saved-replies__modal-edit\\\",\\\"m__saved-replies__modal-preview\\\"],null]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,9]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[8,\\\"composer-v2\\\",[[24,0,\\\"f__text m__saved-replies__modal-preview__composer\\\"]],[[\\\"@preset\\\",\\\"@actionReceiver\\\",\\\"@blocks\\\",\\\"@startedUploading\\\",\\\"@finishedUploading\\\",\\\"@app\\\",\\\"@attributes\\\",\\\"@editorClass\\\",\\\"@outerContainerSelector\\\",\\\"@placeholder\\\",\\\"@onError\\\"],[\\\"savedReply\\\",[34,16],[34,7,[\\\"blocks\\\"]],[30,[36,0],[[32,0],[30,[36,17],[[35,4]],null],true],null],[30,[36,0],[[32,0],[30,[36,17],[[35,4]],null],false],null],[34,14],[34,14,[\\\"allowedAttributes\\\"]],\\\"m__saved-replies__modal-composer-editor\\\",\\\".conversation__text m__saved-replies__modal-preview\\\",[34,18],[30,[36,15],[\\\"Saved Replies\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"                \\\"],[8,\\\"composer-v2\\\",[[24,0,\\\"m__saved-replies__modal-preview__composer\\\"]],[[\\\"@preset\\\",\\\"@actionReceiver\\\",\\\"@blocks\\\",\\\"@app\\\",\\\"@attributes\\\",\\\"@outerContainerSelector\\\",\\\"@onError\\\"],[\\\"readOnly\\\",[34,13],[34,7,[\\\"blocks\\\"]],[34,14],[34,14,[\\\"allowedAttributes\\\"]],\\\".conversation__text m__saved-replies__modal-preview\\\",[30,[36,15],[\\\"Saved Replies\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,9]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf saved-replies__inserters\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,12],[[30,[36,11],[[30,[36,11],[[35,10]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                  \\\"],[8,\\\"conversation/controls/inserter\\\",[],[[\\\"@inserter\\\",\\\"@controlsAPI\\\"],[[32,1],[32,0,[\\\"publicAPI\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box u__cf saved-replies__modal__footer\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,8],[[35,26]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,8],[[35,7,[\\\"isNew\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[10,\\\"div\\\"],[14,0,\\\"u__left\\\"],[12],[2,\\\"\\\\n                  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\",\\\"@jsBindingClass\\\"],[\\\"Delete\\\",\\\"secondary-destructive\\\",[30,[36,0],[[32,0],\\\"deleteSavedReply\\\"],null],[30,[36,6],[[35,5],[35,3]],null],\\\"js__saved-replies__delete-button\\\"]],null],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,2],[[35,9]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[10,\\\"div\\\"],[14,0,\\\"u__right\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,4]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                    \\\"],[10,\\\"div\\\"],[14,0,\\\"t__light-text text-gray btn__associated-content u__left inbox__draft-info\\\"],[12],[2,\\\"\\\\n                      Uploading...\\\\n                    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"                  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@action\\\",\\\"@disabled\\\",\\\"@inRightList\\\",\\\"@jsBindingClass\\\"],[\\\"Cancel\\\",\\\"secondary\\\",\\\"cancelEditMode\\\",[34,5],true,\\\"js__saved-replies__cancel-button\\\"]],null],[2,\\\"\\\\n                  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@action\\\",\\\"@disabled\\\",\\\"@inRightList\\\",\\\"@jsBindingClass\\\"],[\\\"Save\\\",\\\"primary\\\",\\\"saveSavedReply\\\",[30,[36,6],[[35,5],[35,4]],null],true,\\\"js__saved-replies__save-button\\\"]],null],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"                \\\"],[10,\\\"div\\\"],[14,0,\\\"u__right\\\"],[12],[2,\\\"\\\\n                  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@action\\\",\\\"@disabled\\\",\\\"@inRightList\\\",\\\"@jsBindingClass\\\"],[\\\"Edit\\\",\\\"secondary\\\",\\\"editSavedReply\\\",[34,3],true,\\\"js__saved-replies__edit-button\\\"]],null],[2,\\\"\\\\n                  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@action\\\",\\\"@disabled\\\",\\\"@inRightList\\\",\\\"@jsBindingClass\\\"],[\\\"Insert Reply\\\",\\\"primary\\\",\\\"insertSavedReply\\\",[34,3],true,\\\"js__saved-replies__insert-button\\\"]],null],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[35,1]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"m__saved-replies__placeholder-wrapper u__relative u__center-item\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"m__saved-replies__placeholder-wrapper\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\",\\\"@buttonLabel\\\",\\\"@onButtonClick\\\"],[\\\"saved-reply\\\",\\\"Looks like you have no saved replies\\\",\\\"Create saved reply\\\",[30,[36,0],[[32,0],\\\"createSavedReply\\\"],null]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"isLoading\\\",\\\"if\\\",\\\"isLoadingRenderedReply\\\",\\\"composerIsUploading\\\",\\\"isSaving\\\",\\\"or\\\",\\\"activeReply\\\",\\\"unless\\\",\\\"isEditMode\\\",\\\"inserters\\\",\\\"-track-array\\\",\\\"each\\\",\\\"savedReplyReadOnlyComposer\\\",\\\"app\\\",\\\"composer-error-logger\\\",\\\"savedReplyComposer\\\",\\\"mut\\\",\\\"bodyPlaceholder\\\",\\\"namePlaceholder\\\",\\\"ic-interface-icon\\\",\\\"searchPlaceHolderText\\\",\\\"somethingTyped\\\",\\\"filteredReplies\\\",\\\"admin\\\",\\\"hasFilteredSavedReplies\\\",\\\"hasNoActiveReply\\\",\\\"hasSavedReplies\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/inbox/conversations/modals/saved-replies.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"SK3sjWSz\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\"],[[30,[36,0],[[32,0],\\\"closeModalUsingModalService\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[8,\\\"common/tagging-component\\\",[],[[\\\"@title\\\",\\\"@taggable\\\",\\\"@type\\\",\\\"@location\\\",\\\"@afterSave\\\"],[\\\"Tag conversation\\\",[34,1,[\\\"taggable\\\"]],\\\"conversation\\\",\\\"inbox\\\",[30,[36,0],[[32,0],\\\"closeIntercomModal\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"model\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/inbox/conversations/modals/tagging.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"TcfgW9g/\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"g\\\"],[14,\\\"stroke\\\",\\\"none\\\"],[14,\\\"stroke-width\\\",\\\"1\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M4.4408921e-16,-0.5 L7,6 L4.4408921e-16,11.5 L-3,11 L-3,0 L4.4408921e-16,-0.5 Z\\\"],[14,0,\\\"conversation__caret__vector\\\"],[14,\\\"stroke\\\",\\\"#979797\\\"],[14,\\\"fill\\\",\\\"#F6A623\\\"],[12],[13],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/inbox/partials/-common-caret-core.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"i2yJ/ddD\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[12],[2,\\\"\\\\n  You do not have access to\\\\n  \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,1],[[35,0,[\\\"data\\\",\\\"app\\\",\\\"inboxConversationsConversationRoute\\\"]],[35,0,[\\\"data\\\",\\\"conversation\\\",\\\"id\\\"]]],null]]]],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[12],[2,\\\"this conversation.\\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"notification\\\",\\\"href-to\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/inbox/partials/-error-conversation-is-restricted.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"wxO0Bf7b\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[12],[2,\\\"\\\\n  One of your replies didn't send successfully.\\\\n  \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,1],[[35,0,[\\\"data\\\",\\\"app\\\",\\\"inboxConversationsConversationRoute\\\"]],[35,0,[\\\"data\\\",\\\"conversation\\\",\\\"id\\\"]]],null]]]],[12],[2,\\\"\\\\n    \\\"],[11,\\\"span\\\"],[4,[38,2],[[32,0],\\\"closeNotification\\\",[35,0]],null],[12],[2,\\\"Go back and try again.\\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"notification\\\",\\\"href-to\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/inbox/partials/-error-in-conversation.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Y/IjKwlS\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,3],[[35,2,[\\\"currentAdminHasInboxAccess\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"inbox/inbox-access-banner\\\",[],[[\\\"@title\\\",\\\"@subtitle\\\"],[\\\"Join your team on Inbox\\\",\\\"Customize your inbox to help you work more efficiently.\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\",\\\"app\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/preferences.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"+poRiqDu\",\"block\":\"{\\\"symbols\\\":[\\\"form\\\",\\\"item\\\"],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,7]]],null],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,6],[[35,8,[\\\"canUseAutoAway\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"form\\\",[],[[\\\"@onSubmit\\\"],[[30,[36,4],[[32,0,[\\\"handleSave\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"SectionHeading\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Auto away mode\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"SectionDescription\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"If on, you can leave your desk without worrying if you’ve set yourself to away or not\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"Item\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"ic-on-off-toggle\\\",[],[[\\\"@isOn\\\",\\\"@onClick\\\"],[[34,5],[30,[36,3],[[32,0],\\\"toggleAutoAway\\\"],null]]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\"],[6,[37,6],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,1,[\\\"SectionDescription\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Set my status to away if I’m inactive for at least\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[8,[32,1,[\\\"Item\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"ic-select\\\",[],[[\\\"@items\\\",\\\"@onSelectItem\\\",\\\"@selectedValue\\\"],[[34,0],[30,[36,3],[[32,0],[30,[36,2],[[35,1]],null]],null],[34,1]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[8,[32,1,[\\\"Submit\\\"]],[],[[\\\"@label\\\"],[\\\"Save Changes\\\"]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"supportedAwayTimes\\\",\\\"autoAwayTimeout\\\",\\\"mut\\\",\\\"action\\\",\\\"perform\\\",\\\"isAutoAwayEnabled\\\",\\\"if\\\",\\\"titleToken\\\",\\\"app\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/preferences/away-mode-preferences.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"ML06oGCT\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,0]]],null],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3 f__group-label\\\"],[12],[2,\\\"\\\\n    Self-assign by replying\\\\n    \\\"],[8,\\\"ic-tooltip-icon\\\",[],[[\\\"@content\\\"],[[30,[36,2],[\\\"You’ll only get this option on workspaces that have \\\",[35,1,[\\\"inboxProduct\\\",\\\"name\\\"]]],null]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"p\\\"],[14,0,\\\"f__group-label\\\"],[12],[2,\\\"\\\\n    When I reply to a conversation that is unassigned or assigned to a team\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__radio-group\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"assign-to-me-radio\\\"],[14,0,\\\"f__radio-label u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-wrapper\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"radio-button\\\",[],[[\\\"@selection\\\",\\\"@value\\\",\\\"@name\\\",\\\"@id\\\"],[[34,3],\\\"true\\\",\\\"assign-to-me-radio\\\",\\\"assign-to-me-radio\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-content\\\"],[12],[2,\\\"\\\\n        Assign it to me\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__radio-group\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"label\\\"],[14,\\\"for\\\",\\\"keep-unassigned-radio\\\"],[14,0,\\\"f__radio-label u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-wrapper\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"radio-button\\\",[],[[\\\"@selection\\\",\\\"@value\\\",\\\"@name\\\",\\\"@id\\\"],[[34,3],\\\"false\\\",\\\"keep-unassigned-radio\\\",\\\"keep-unassigned-radio\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-content\\\"],[12],[2,\\\"\\\\n        Keep it unassigned or assigned to the team\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-1 gap-4 justify-start items-center\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[\\\"Save\\\",\\\"primary\\\",[30,[36,4],[[32,0],\\\"save\\\"],null],[34,5,[\\\"isSaving\\\"]]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/pricing-privacy-and-terms/intercom-inc-privacy-policy\\\",\\\"Privacy Policy\\\",\\\"article\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"titleToken\\\",\\\"app\\\",\\\"concat\\\",\\\"assignmentSetting\\\",\\\"action\\\",\\\"model\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/preferences/conversations.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"ePuR5stY\",\"block\":\"{\\\"symbols\\\":[\\\"backgroundNumber\\\"],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,3]]],null],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3 f__group-label\\\"],[12],[2,\\\"\\\\n    Choose your Inbox wallpaper\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"p\\\"],[14,0,\\\"f__group-label\\\"],[12],[2,\\\"\\\\n    Add wallpaper to customize your Inbox and everywhere else you see conversations in Intercom. Your wallpaper will only be visible to you.\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-start u__mt__20 u__mb__40\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"account/inbox-wallpaper/inbox-preview\\\",[],[[\\\"@background\\\"],[[34,1]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__mt__100 flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__mb__30 f__v2__group u__ml__40\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"settings/appearance/background-select-component\\\",[],[[\\\"@background\\\",\\\"@selectedBackground\\\",\\\"@onSelect\\\",\\\"@additionalClassNames\\\"],[\\\"plain\\\",[34,1],[30,[36,2],[[32,0],\\\"setBackground\\\"],null],\\\"o__no-background\\\"]],null],[2,\\\"\\\\n\\\"],[6,[37,6],[[30,[36,5],[[30,[36,5],[[30,[36,4],[1,9],null]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"settings/appearance/background-select-component\\\",[],[[\\\"@background\\\",\\\"@selectedBackground\\\",\\\"@onSelect\\\"],[[30,[36,0],[\\\"background-\\\",[32,1]],null],[34,1],[30,[36,2],[[32,0],\\\"setBackground\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"        \\\"],[8,\\\"settings/appearance/background-select-component\\\",[],[[\\\"@background\\\",\\\"@selectedBackground\\\",\\\"@onSelect\\\"],[\\\"background-gray\\\",[34,1],[30,[36,2],[[32,0],\\\"setBackground\\\"],null]]],null],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"text-gray\\\"],[12],[2,\\\"\\\\n          Want your customers to see wallpaper too? \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,7],[\\\"apps.app.messenger\\\"],null]]]],[12],[2,\\\"choose a wallpaper for your Messenger.\\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-center\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__mr__10\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@onClick\\\",\\\"@saving\\\",\\\"@disabled\\\"],[\\\"primary\\\",[30,[36,2],[[32,0],\\\"save\\\"],null],[34,8,[\\\"isSaving\\\"]],[34,9]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,10],[[35,8,[\\\"isSaving\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          Saving...\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          Save\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"concat\\\",\\\"selectedBackground\\\",\\\"action\\\",\\\"titleToken\\\",\\\"range\\\",\\\"-track-array\\\",\\\"each\\\",\\\"href-to\\\",\\\"settings\\\",\\\"isNotDirty\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/inbox/preferences/inbox-wallpaper.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"vFu1PxRM\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1 js__main-container\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls u__relative js__main-content\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box h-5\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/insights.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"EIStzoFc\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\",\\\"product\\\",\\\"plan\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Modify products\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right\\\"],[4,[38,4],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,5],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n      This is an Intercomrades-only feature to easily test how the app works\\\\n      with different products. Any customization is personal to you, and\\\\n      won’t persist across different browsers.\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"radio-button\\\",[],[[\\\"@selection\\\",\\\"@value\\\"],[[34,6],\\\"subscription\\\"]],null],[2,\\\"\\\\n        \\\"],[10,\\\"strong\\\"],[12],[2,\\\"\\\\n          Use \\\"],[1,[35,7,[\\\"name\\\"]]],[2,\\\"’s subscription\\\\n        \\\"],[13],[2,\\\"\\\\n        (default)\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"radio-button\\\",[],[[\\\"@selection\\\",\\\"@value\\\"],[[34,6],\\\"customize\\\"]],null],[2,\\\"\\\\n        \\\"],[10,\\\"strong\\\"],[12],[2,\\\"\\\\n          Customize\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"intercomrades__package-editor__products\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[35,8]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n          \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__label\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[32,3,[\\\"name\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"intercomrades__package-editor__package \\\",[30,[36,0],[[32,3,[\\\"hasOnePlan\\\"]],\\\"o__single-plan\\\"],null]]]],[12],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[14,0,\\\"intercomrades__package-editor__package__label\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"radio-button\\\",[],[[\\\"@selection\\\",\\\"@value\\\",\\\"@disabled\\\"],[[32,3,[\\\"activePlanId\\\"]],null,[34,1]]],null],[2,\\\"\\\\n              Not enabled\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,3,[\\\"plans\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"label\\\"],[15,0,[31,[\\\"intercomrades__package-editor__package__label \\\",[30,[36,0],[[32,3,[\\\"hasOnePlan\\\"]],\\\"o__single-plan\\\"],null]]]],[12],[2,\\\"\\\\n                \\\"],[8,\\\"radio-button\\\",[],[[\\\"@selection\\\",\\\"@value\\\",\\\"@disabled\\\"],[[32,3,[\\\"activePlanId\\\"]],[32,4,[\\\"id\\\"]],[34,1]]],null],[2,\\\"\\\\n                \\\"],[1,[32,4,[\\\"name\\\"]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[\\\"@processing\\\"],[[34,9]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@type\\\",\\\"@label\\\",\\\"@inLeftList\\\",\\\"@onClick\\\"],[\\\"secondary\\\",\\\"Cancel\\\",true,[30,[36,4],[[32,0],\\\"closeIntercomModal\\\"],null]]],null],[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@type\\\",\\\"@action\\\"],[\\\"primary\\\",\\\"submit\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,0],[[35,9]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          Saving…\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          Save\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"choiceIsSubscription\\\",\\\"-track-array\\\",\\\"each\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"choice\\\",\\\"model\\\",\\\"products\\\",\\\"isSaving\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/intercomrades-package-editor-modal.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"T4zBCfx7\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows u__pad__30\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@onClick\\\"],[\\\"Open Intersection\\\",[30,[36,0],[[32,0],\\\"openIntersection\\\"],null]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/intersection.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"pEv+vuTt\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@modalClass\\\"],[\\\"o__extremely-wide\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Keyboard shortcuts\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right\\\"],[4,[38,0],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,1],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body o__no-footer\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"inbox/keyboard-shortcut-component\\\",[],[[\\\"@app\\\",\\\"@admin\\\"],[[34,2],[34,3]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"ic-interface-icon\\\",\\\"app\\\",\\\"admin\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/keyboard-shortcuts-modal.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"x3rStnUB\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"js__has-loaded\\\"],[12],[2,\\\"this is a baseline for boot time measurement\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/load_time_baseline.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"0PAp6fkc\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/settings\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/messenger-apps.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"U+nhJ9yd\",\"block\":\"{\\\"symbols\\\":[\\\"accordion\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"banner\\\",\\\"links\\\",\\\"H\\\"],\\\"statements\\\":[[8,\\\"messenger-preview/translation-loader-wrapper\\\",[],[[\\\"@locale\\\"],[[34,3,[\\\"previewConfiguration\\\",\\\"locale\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto flex flex-col overflow-auto scrolling-touch main__content-outlet o__without-submenu\\\"],[14,\\\"data-messenger-settings-scroll-container\\\",\\\"\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"intercomrade-warning\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      Changes made here will affect our customer-facing messenger.\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"banners/missing-shipping-address\\\",[],[[],[]],null],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"pulse/hero-banner\\\",[],[[\\\"@svg\\\",\\\"@description\\\",\\\"@scrollSelector\\\"],[\\\"messenger\\\",\\\"Make your Messenger just right\\\",\\\"[data-messenger-settings-scroll-container]\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,26,[\\\"Title\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"1\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          Set up \\\"],[8,[32,28,[\\\"Muted\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[1,[35,12,[\\\"name\\\"]]],[2,\\\"ʼs\\\"]],\\\"parameters\\\":[]}]]],[2,\\\" Messenger\\\\n        \\\"]],\\\"parameters\\\":[28]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[8,[32,26,[\\\"Links\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,27,[\\\"Link\\\"]],[],[[\\\"@title\\\",\\\"@href\\\",\\\"@type\\\"],[\\\"Learn how\\\",\\\"https://www.intercom.com/help/en/articles/178-customize-the-intercom-messenger-basics\\\",\\\"article\\\"]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[27]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[26]}]]],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"mt-6 flex flex-row messenger-settings__container\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto messenger-settings__accordion\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,14],[[35,13]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"ic-banner\\\",[[24,0,\\\"mb-4\\\"]],[[\\\"@type\\\"],[\\\"help\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[11,\\\"a\\\"],[4,[38,11],[[32,0],\\\"transitionToInstallMessenger\\\"],null],[12],[2,\\\"\\\\n              Add your messenger\\\\n            \\\"],[13],[2,\\\"\\\\n            to your website or app for customers to see any changes made here.\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[8,\\\"common/accordion-component\\\",[],[[\\\"@sectionCanClose\\\",\\\"@sectionDidClose\\\",\\\"@sectionDidOpen\\\",\\\"@initiallyOpenSectionName\\\"],[[30,[36,16],[[35,15]],null],[30,[36,11],[[32,0],\\\"sectionDidClose\\\"],null],[30,[36,11],[[32,0],\\\"sectionDidOpen\\\"],null],[34,17]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center gap-2 mb-3\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"2\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              Manage the unexpected\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[1,[30,[36,18],[\\\"beta\\\"],null]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@name\\\"],[\\\"temporaryExpectations\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,23,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@subheading\\\",\\\"@icon\\\"],[\\\"Show a special notice in your Messenger\\\",\\\"Communicate about delays or high volume\\\",\\\"attention\\\"]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[25]}]]],[2,\\\"\\\\n            \\\"],[8,[32,23,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n            \\\"],[8,[32,23,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"messenger-settings/temporary-expectations-settings\\\",[],[[\\\"@settings\\\",\\\"@body\\\"],[[34,3,[\\\"temporaryExpectations\\\"]],[32,24]]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[24]}]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[23]}]]],[2,\\\"\\\\n\\\\n          \\\"],[8,\\\"heading\\\",[[24,0,\\\"mt-10 mb-3\\\"]],[[\\\"@size\\\"],[\\\"2\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            Customize the experience\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,20],[[30,[36,7],[[30,[36,19],[\\\"messenger_multibrand\\\"],null],[32,0,[\\\"showBrandBanner\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row bg-gray-lightest p-4 mb-4\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"ic-content\\\",[[24,0,\\\"flex-grow\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"4\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Styling for multiple brands\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n                \\\"],[8,\\\"text\\\",[],[[\\\"@styling\\\"],[\\\"muted\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"If you manage more than one brand, your Messenger can show different brand styles on different domains.\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n                \\\"],[11,\\\"a\\\"],[24,0,\\\"no-underline\\\"],[4,[38,9],[\\\"click\\\",[30,[36,8],[[32,1,[\\\"publicAPI\\\",\\\"openSection\\\"]],\\\"lookAndFeel\\\"],null]],null],[12],[2,\\\"\\\\n                  \\\"],[8,\\\"text\\\",[],[[\\\"@linkStyling\\\",\\\"@styling\\\"],[\\\"standalone\\\",\\\"strong\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[1,[30,[36,10],[\\\"brush\\\"],null]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n                  \\\"],[8,\\\"text\\\",[],[[\\\"@linkStyling\\\",\\\"@styling\\\"],[\\\"standalone\\\",\\\"strong\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Set up an additional brand style\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n              \\\"],[11,\\\"a\\\"],[4,[38,9],[\\\"click\\\",[32,0,[\\\"dismissBrandBanner\\\"]]],null],[12],[2,\\\"\\\\n                \\\"],[1,[30,[36,10],[\\\"close\\\"],[[\\\"color\\\",\\\"solo\\\"],[\\\"gray\\\",true]]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@name\\\"],[\\\"languages\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,20,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@subheading\\\",\\\"@icon\\\"],[\\\"Set your welcome message\\\",\\\"Introduce your team in up to 38 languages\\\",\\\"acquire\\\"]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[22]}]]],[2,\\\"\\\\n            \\\"],[8,[32,20,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n            \\\"],[8,[32,20,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"messenger-settings/language-settings\\\",[],[[\\\"@languageSettings\\\",\\\"@body\\\"],[[34,3,[\\\"languages\\\"]],[32,21]]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[21]}]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[20]}]]],[2,\\\"\\\\n          \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@name\\\"],[\\\"lookAndFeel\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,17,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@subheading\\\",\\\"@icon\\\"],[\\\"Style your Messenger\\\",\\\"Customize your Messenger’s look, feel, and brand\\\",\\\"pencil\\\"]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[19]}]]],[2,\\\"\\\\n            \\\"],[8,[32,17,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n            \\\"],[8,[32,17,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"messenger-settings/look-and-feel-settings\\\",[],[[\\\"@lookAndFeelSettings\\\",\\\"@configuration\\\",\\\"@body\\\",\\\"@onWebPaddingFocus\\\",\\\"@onAndroidPaddingFocus\\\",\\\"@onIOSPaddingFocus\\\",\\\"@onPaddingBlur\\\"],[[34,3,[\\\"lookAndFeel\\\"]],[34,3,[\\\"previewConfiguration\\\"]],[32,18],[30,[36,11],[[32,0],\\\"onWebPaddingFocus\\\"],null],[30,[36,11],[[32,0],\\\"onAndroidPaddingFocus\\\"],null],[30,[36,11],[[32,0],\\\"onIOSPaddingFocus\\\"],null],[30,[36,11],[[32,0],\\\"onPaddingBlur\\\"],null]]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[18]}]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[17]}]]],[2,\\\"\\\\n          \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@name\\\"],[\\\"home\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,14,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@subheading\\\",\\\"@icon\\\"],[\\\"Add apps to your Messenger\\\",\\\"Help your customers before they start a conversation\\\",\\\"app-store\\\"]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[16]}]]],[2,\\\"\\\\n            \\\"],[8,[32,14,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n            \\\"],[8,[32,14,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"messenger-settings/home-settings\\\",[],[[\\\"@homeSettings\\\",\\\"@body\\\",\\\"@targetUserType\\\",\\\"@configuration\\\"],[[34,3,[\\\"home\\\"]],[32,15],[34,4],[34,3,[\\\"previewConfiguration\\\"]]]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[15]}]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[14]}]]],[2,\\\"\\\\n          \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@name\\\"],[\\\"availability\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,11,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@subheading\\\",\\\"@icon\\\"],[\\\"Say when you’ll be available\\\",\\\"Set default office hours and reply times\\\",\\\"delivery-window\\\"]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[13]}]]],[2,\\\"\\\\n            \\\"],[8,[32,11,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n            \\\"],[8,[32,11,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"messenger-settings/availability-settings\\\",[],[[\\\"@availabilitySettings\\\",\\\"@body\\\"],[[34,3,[\\\"availability\\\"]],[32,12]]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[12]}]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[11]}]]],[2,\\\"\\\\n\\\\n          \\\"],[8,\\\"heading\\\",[[24,0,\\\"mt-10 mb-3\\\"]],[[\\\"@size\\\"],[\\\"2\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            Set your controls\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@name\\\"],[\\\"security\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,8,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@subheading\\\",\\\"@icon\\\"],[\\\"Keep your Messenger secure\\\",\\\"Set up trusted domains and identity verification\\\",\\\"token\\\"]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[10]}]]],[2,\\\"\\\\n            \\\"],[8,[32,8,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n            \\\"],[8,[32,8,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"messenger-settings/security-settings\\\",[],[[\\\"@securitySettings\\\",\\\"@body\\\"],[[34,3,[\\\"security\\\"]],[32,9]]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[9]}]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[8]}]]],[2,\\\"\\\\n          \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@name\\\"],[\\\"visibility\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,5,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@subheading\\\",\\\"@icon\\\"],[\\\"Control your inbound conversation volume\\\",\\\"Block or deflect incoming conversations\\\",\\\"conversation\\\"]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[7]}]]],[2,\\\"\\\\n            \\\"],[8,[32,5,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n            \\\"],[8,[32,5,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"messenger-settings/visibility-settings\\\",[],[[\\\"@visibilitySettings\\\",\\\"@targetUserType\\\",\\\"@body\\\"],[[34,3,[\\\"visibility\\\"]],[34,4],[32,6]]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[6]}]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"\\\\n          \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@name\\\"],[\\\"upfrontEmailCollection\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,2,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@subheading\\\",\\\"@icon\\\"],[\\\"Require an email for new conversations\\\",\\\"So you can always get back to your website visitors\\\",\\\"mention\\\"]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n            \\\"],[8,[32,2,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n            \\\"],[8,[32,2,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"messenger-settings/upfront-email-collection-settings\\\",[],[[\\\"@upfrontEmailCollectionSettings\\\",\\\"@body\\\"],[[34,3,[\\\"upfrontEmailCollection\\\"]],[32,3]]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\\n        \\\"],[8,\\\"heading\\\",[[24,0,\\\"mt-10 mb-3\\\"]],[[\\\"@size\\\"],[\\\"2\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          Do more with Messenger\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-none messenger-settings__other-link__container\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"messenger-settings__other-links__image\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[30,[36,21],[\\\"messenger-settings/operator-icon\\\"],null]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"u__ml__5 messenger-settings__other-links__text\\\"],[12],[2,\\\"\\\\n              \\\"],[11,\\\"a\\\"],[24,0,\\\"t__h3 t__solo-link\\\"],[16,6,[31,[[30,[36,22],[\\\"apps.app.operator.task-bots\\\"],null]]]],[4,[38,11],[[32,0],\\\"setUpOperator\\\"],null],[12],[2,\\\"\\\\n                Set up Operator →\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n                Automate simple conversations\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-none messenger-settings__other-link__container\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"messenger-settings__other-links__image\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[30,[36,21],[\\\"messenger-settings/app-store-icon\\\"],null]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"u__ml__5\\\"],[12],[2,\\\"\\\\n              \\\"],[11,\\\"a\\\"],[24,0,\\\"t__h3 t__solo-link\\\"],[16,6,[31,[[30,[36,22],[\\\"apps.app.appstore\\\"],null]]]],[4,[38,11],[[32,0],\\\"exploreAppStore\\\"],null],[12],[2,\\\"\\\\n                Explore the App Store →\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n                Add apps to your Messenger home\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-none flex flex-row items-start justify-center messenger-settings__preview\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-none messenger-settings__preview__sticky\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,20],[[35,23]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"messenger-preview/conversation\\\",[[24,0,\\\"messenger-preview__conversation__upfront-email-collector pb-5 mt-10\\\"]],[[\\\"@configuration\\\",\\\"@showUpfrontEmailCollection\\\",\\\"@admin\\\",\\\"@hideLauncher\\\",\\\"@newConversation\\\",\\\"@targetUserType\\\"],[[34,3,[\\\"previewConfiguration\\\"]],[30,[36,7],[[30,[36,6],[[35,5]],null],[35,3,[\\\"previewConfiguration\\\",\\\"isUpfrontEmailCollectionEnabled\\\"]]],null],[34,3,[\\\"admin\\\"]],false,true,[34,4]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"messenger-preview/home\\\",[],[[\\\"@zoomInLauncherWeb\\\",\\\"@zoomInLauncherAndroid\\\",\\\"@zoomInLauncherIOS\\\",\\\"@configuration\\\",\\\"@lookAndFeelSettings\\\",\\\"@targetUserType\\\",\\\"@animated\\\"],[[34,0],[34,1],[34,2],[34,3,[\\\"previewConfiguration\\\"]],[34,3,[\\\"lookAndFeel\\\"]],[34,4],true]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"zoomInLauncherWeb\\\",\\\"zoomInLauncherAndroid\\\",\\\"zoomInLauncherIOS\\\",\\\"model\\\",\\\"targetUserType\\\",\\\"temporaryExpectationsPreview\\\",\\\"not\\\",\\\"and\\\",\\\"fn\\\",\\\"on\\\",\\\"ic-interface-icon\\\",\\\"action\\\",\\\"app\\\",\\\"messengerInstalled\\\",\\\"unless\\\",\\\"sectionCanClose\\\",\\\"perform\\\",\\\"section\\\",\\\"ic-stamp\\\",\\\"has-feature\\\",\\\"if\\\",\\\"inline-svg\\\",\\\"href-to\\\",\\\"isConversationPreview\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/messenger.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"rVTOYQoN\",\"block\":\"{\\\"symbols\\\":[\\\"page\\\"],\\\"statements\\\":[[6,[37,3],[[30,[36,2],[\\\"activation-mobile-welcome\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__new__mobile-welcome-wrapper\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"onboarding__intent-survey__navbar__logo left-nav__icon__loaded ml-6\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[30,[36,1],[\\\"nav-primary-logo-loaded\\\"],null]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__centered-text-block m-8\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__new__mobile-heading\\\"],[12],[2,\\\"\\\\n          Switch to your computer to keep going.\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"m-6\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"img\\\"],[14,\\\"src\\\",\\\"/assets/images/onboarding/home/targeted-arrow.png\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__new__mobile-sub-heading mb-10\\\"],[12],[2,\\\"\\\\n          Check your email for a link to sign in. You’ll want a bigger screen to start using Intercom.\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row signup__new__mobile-below-the-fold-wrapper\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__new__mobile-below-the-fold\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"m-6\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__new__mobile-footer-heading u__centered-text-block\\\"],[12],[2,\\\"\\\\n          Explore stories and resources\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-6 mb-16\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"onboarding/home/mobile-welcome-link\\\",[],[[\\\"@icon\\\",\\\"@url\\\",\\\"@title\\\",\\\"@description\\\"],[\\\"video\\\",[32,0,[\\\"footerContent\\\",\\\"videos\\\",\\\"url\\\"]],\\\"Video demos\\\",[32,0,[\\\"footerContent\\\",\\\"videos\\\",\\\"description\\\"]]]],null],[2,\\\"\\\\n          \\\"],[8,\\\"onboarding/home/mobile-welcome-link\\\",[],[[\\\"@icon\\\",\\\"@url\\\",\\\"@title\\\",\\\"@description\\\"],[\\\"book\\\",[32,0,[\\\"footerContent\\\",\\\"helpCenterUrl\\\"]],\\\"Help center\\\",\\\"Advice and answers from the Intercom team\\\"]],null],[2,\\\"\\\\n          \\\"],[8,\\\"onboarding/home/mobile-welcome-link\\\",[],[[\\\"@icon\\\",\\\"@url\\\",\\\"@title\\\",\\\"@description\\\"],[\\\"insights\\\",[32,0,[\\\"footerContent\\\",\\\"customerStory\\\",\\\"url\\\"]],[32,0,[\\\"footerContent\\\",\\\"customerStory\\\",\\\"title\\\"]],[32,0,[\\\"footerContent\\\",\\\"customerStory\\\",\\\"description\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"signup/new-page\\\",[],[[\\\"@navStep\\\",\\\"@proChanges\\\",\\\"@showMobileView\\\"],[1,true,[32,0,[\\\"showMobileView\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"main\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__new__mobile-welcome-wrapper\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__centered-text-block layout__box o__flexes-to-1 o__has-rows\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-columns signup__new__mobile-header\\\"],[12],[2,\\\"\\\\n            You've started your free trial. Let's get you set up.\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__new__mobile-description\\\"],[12],[2,\\\"\\\\n            We've sent you an email to get you started. Log in to your Intercom account on your desktop computer to begin setup.\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__new__mobile-sub-header\\\"],[12],[2,\\\"\\\\n            Or invite a teammate to set up.\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[8,\\\"input\\\",[[24,0,\\\"signup__new__welcome-form-field\\\"],[24,\\\"placeholder\\\",\\\"Teammate's email\\\"]],[[\\\"@type\\\"],[\\\"email\\\"]],null],[2,\\\"\\\\n          \\\"],[8,\\\"ic-button\\\",[],[[\\\"@fit\\\",\\\"@label\\\",\\\"@size\\\",\\\"@type\\\",\\\"@disabled\\\",\\\"@onClick\\\"],[true,\\\"Send invite\\\",\\\"call-to-action\\\",\\\"primary\\\",[32,0,[\\\"sendInvite\\\",\\\"isRunning\\\"]],[30,[36,0],[[32,0,[\\\"sendInvite\\\"]]],null]]],null],[2,\\\"\\\\n          \\\"],[10,\\\"iframe\\\"],[14,0,\\\"u__mt__20\\\"],[14,\\\"src\\\",\\\"https://fast.wistia.net/embed/iframe/vlil1xion2?autoPlay=false\\\"],[14,\\\"width\\\",\\\"100%\\\"],[14,\\\"height\\\",\\\"200px\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__new__mobile-footer-header\\\"],[12],[2,\\\"\\\\n          Get started with Intercom\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__new__mobile-footer-description\\\"],[12],[2,\\\"\\\\n          Get set up, chat with your customers and see what they do in your product.\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"perform\\\",\\\"inline-svg\\\",\\\"has-feature\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/mobile-welcome.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"IV1MDsKq\",\"block\":\"{\\\"symbols\\\":[\\\"modal\\\"],\\\"statements\\\":[[6,[37,3],[[32,0,[\\\"model\\\",\\\"companyEmailAddresses\\\",\\\"isPending\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"ic-modal\\\",[],[[\\\"@onModalClose\\\",\\\"@width\\\",\\\"@isOpen\\\",\\\"@focusElement\\\"],[[30,[36,0],[[32,0],\\\"cancel\\\"],null],\\\"s\\\",true,\\\"body\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"header\\\"]],[],[[\\\"@title\\\"],[[31,[\\\"Block \\\",[32,0,[\\\"personName\\\"]]]]]],null],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"hasErrored\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"error\\\",\\\"An error occurred, please try again.\\\"]],null],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[8,\\\"ic-content\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"model\\\",\\\"emailIsAppCompanyAddress\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"paragraph\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            You can't block this user because their email address is \\\"],[10,\\\"strong\\\"],[12],[1,[32,0,[\\\"model\\\",\\\"email\\\"]]],[13],[2,\\\", which is one of your \\\"],[10,\\\"a\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0],\\\"routeToEmailForwarding\\\"],null]],[12],[2,\\\"company email addresses\\\"],[13],[2,\\\".\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"paragraph\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            Blocking this person will remove them from Intercom, remove any past messages they may have sent to you, and prevents future conversations between you.\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[8,\\\"paragraph\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            Are you sure this is what you want to do?\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"model\\\",\\\"emailIsAppCompanyAddress\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1,[\\\"footer\\\"]],[],[[\\\"@primaryButton\\\"],[[30,[36,2],null,[[\\\"label\\\",\\\"action\\\"],[\\\"OK\\\",[30,[36,0],[[32,0],\\\"cancel\\\"],null]]]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1,[\\\"footer\\\"]],[],[[\\\"@primaryButton\\\",\\\"@secondaryButton\\\"],[[30,[36,2],null,[[\\\"label\\\",\\\"action\\\",\\\"type\\\"],[[30,[36,1],[[32,0,[\\\"isBlockingUser\\\"]],\\\"Blocking…\\\",\\\"Block\\\"],null],[30,[36,0],[[32,0],\\\"confirm\\\"],null],\\\"destructive\\\"]]],[30,[36,2],null,[[\\\"label\\\",\\\"action\\\"],[\\\"Cancel\\\",[30,[36,0],[[32,0],\\\"cancel\\\"],null]]]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"if\\\",\\\"hash\\\",\\\"unless\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/modals/block-user.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"m3fJ6BuK\",\"block\":\"{\\\"symbols\\\":[\\\"modal\\\"],\\\"statements\\\":[[8,\\\"common/modal-component\\\",[],[[\\\"@closeModal\\\",\\\"@width\\\"],[[30,[36,0],[[32,0],\\\"close\\\"],null],\\\"xl\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"components\\\",\\\"body\\\"]],[[24,0,\\\"change-plan-modal__body\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"a\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0],\\\"close\\\"],null]],[14,0,\\\"change-plan-modal__close-button\\\"],[12],[1,[30,[36,1],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,2],[[32,0,[\\\"plan\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"paywalls/upgrade-modal/content\\\",[],[[\\\"@closeUpgradeModal\\\",\\\"@plan\\\",\\\"@feature\\\",\\\"@isLoading\\\",\\\"@disableFeatureHighlighting\\\"],[[30,[36,0],[[32,0],\\\"close\\\"],null],[32,0,[\\\"plan\\\"]],[32,0,[\\\"highlightedFeatureKey\\\"]],[32,0,[\\\"plan\\\"]],false]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-card\\\",[[24,0,\\\"paywalls__upgrade-modal__loading-indicator\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"ic-loading-indicator\\\",[[24,0,\\\"u__center-item\\\"]],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[8,\\\"google-tag-manager-frame-component\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"ic-interface-icon\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/modals/change-plan-modal.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"5LmNzdjC\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\",\\\"group\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\"],[\\\"closeModal\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Create new data\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,0],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,1],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"t__label\\\"],[12],[2,\\\"\\\\n      Choose what kind of user activity to track from your app or website\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[8,\\\"pulse/large-radio-button-group\\\",[[24,0,\\\"py-3\\\"]],[[\\\"@selectedValue\\\",\\\"@onSelect\\\"],[[32,0,[\\\"dataType\\\"]],[30,[36,2],[[32,0],\\\"dataType\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,3,[\\\"Option\\\"]],[],[[\\\"@value\\\",\\\"@svg\\\",\\\"@label\\\",\\\"@description\\\"],[\\\"attribute\\\",\\\"people\\\",\\\"Track Attributes\\\",\\\"An attribute tracks facts about your customers\\\"]],null],[2,\\\"\\\\n      \\\"],[8,[32,3,[\\\"Option\\\"]],[],[[\\\"@value\\\",\\\"@svg\\\",\\\"@label\\\",\\\"@description\\\"],[\\\"event\\\",\\\"event\\\",\\\"Track Events\\\",\\\"An event tracks actions your customers take\\\"]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n      Import existing events from\\\\n      \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\",\\\"@linkStyling\\\"],[\\\"https://www.intercom.com/help/integrations/segment-integration\\\",\\\"Segment\\\",\\\"article\\\",\\\"inline\\\"]],null],[2,\\\", \\\\n      \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\",\\\"@linkStyling\\\"],[\\\"https://www.intercom.com/help/integrations/import-your-mixpanel-contacts\\\",\\\"Mixpanel\\\",\\\"article\\\",\\\"inline\\\"]],null],[2,\\\", and\\\\n      \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\",\\\"@linkStyling\\\"],[\\\"https://www.intercom.com/help/integrations/stripe-integration\\\",\\\"Stripe\\\",\\\"article\\\",\\\"inline\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@isDisabled\\\",\\\"@onClick\\\"],[\\\"Continue\\\",\\\"primary\\\",[34,3],[30,[36,0],[[32,0],\\\"continue\\\"],null]]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"ic-interface-icon\\\",\\\"set\\\",\\\"disableButton\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/modals/create-new-data.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"xlPPvFnr\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\",\\\"@modalClass\\\"],[\\\"closeModal\\\",\\\"o__extra-wide\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Custom email template help\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right\\\"],[4,[38,0],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,1],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body o__no-footer\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n      When you create a custom email template, you must include two tags somewhere in the template: The \\\"],[10,\\\"code\\\"],[14,0,\\\"u__prevent-breaks\\\"],[12],[2,\\\"{{content}}\\\"],[13],[2,\\\" tag and the \\\"],[10,\\\"code\\\"],[14,0,\\\"u__prevent-breaks\\\"],[12],[2,\\\"{{unsubscribe_link}}\\\"],[13],[2,\\\" tag.\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[14,5,\\\"padding-right: 20px;\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n          The \\\"],[10,\\\"span\\\"],[14,0,\\\"u__prevent-breaks\\\"],[12],[2,\\\"{{content}}\\\"],[13],[2,\\\"tag\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n          The \\\"],[10,\\\"span\\\"],[14,0,\\\"u__prevent-breaks\\\"],[12],[2,\\\"{{content}}\\\"],[13],[2,\\\" tag will be replaced with the body of your email. This is the content that will change each time you send a new message. You must include this tag even if you wish to send an email with no other content — you can always leave the editor blank when creating a new message.\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n          Consider plain text emails\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n          A small percentage of your users may receive a plain text version of your html email. In these cases, only the body of your message – what's inside the \\\"],[10,\\\"span\\\"],[14,0,\\\"u__prevent-breaks\\\"],[12],[2,\\\"{{content}}\\\"],[13],[2,\\\" tag – will be displayed.\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[14,5,\\\"padding-right: 20px;\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n          The \\\"],[10,\\\"span\\\"],[14,0,\\\"u__prevent-breaks\\\"],[12],[2,\\\"{{unsubscribe_link}}\\\"],[13],[2,\\\" and \\\"],[10,\\\"span\\\"],[14,0,\\\"u__prevent-breaks\\\"],[12],[2,\\\"{{unsubscribe_url}}\\\"],[13],[2,\\\" tags\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n          You must give your users the opportunity to opt out of your messages. The \\\"],[10,\\\"span\\\"],[14,0,\\\"u__prevent-breaks\\\"],[12],[2,\\\"{{unsubscribe_link}}\\\"],[13],[2,\\\" tag will be replaced with a link that users can click to opt out.\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n          If you've chosen to hide unsubscribe links, or are mailing a single user, the link won't be shown.\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n          If you would like to add your own link, the \\\"],[10,\\\"span\\\"],[14,0,\\\"u__prevent-breaks\\\"],[12],[2,\\\"{{unsubscribe_url}}\\\"],[13],[2,\\\" tag will be replaced with a URL.\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/modals/email-template-help-modal.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"59UWqkrJ\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,1,[\\\"canEnforceSSO\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n          Require Google sign on for everyone\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n          You must be signed in using Google to require Google sign on\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,0],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,3],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n      Requiring Google sign on for your google domain will mean that teammates will no longer be able to use a combination of email address and password to sign into Intercom. Instead, they will need to log in to Intercom using Google sign on.\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n      Choosing this option will lock teammates out of Intercom if:\\\\n      \\\"],[10,\\\"ul\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n          they do not have a Google account\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n          the email address associated with their Google and Intercom accounts do not match\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\"],[\\\"Cancel\\\",[30,[36,0],[[32,0],\\\"closeIntercomModal\\\"],null]]],null],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,1,[\\\"canEnforceSSO\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Require Google sign on for everyone\\\",\\\"primary\\\",[30,[36,0],[[32,0],\\\"enforceSSO\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"a\\\"],[14,6,\\\"/admins/sign_out\\\"],[14,0,\\\"btn o__primary-destructive\\\"],[12],[2,\\\"\\\\n          Log out of Intercom\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"securitySettingsController\\\",\\\"if\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/modals/enforce-sso-warning.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"PQWRFbHQ\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[8,\\\"guide/import-component\\\",[],[[\\\"@closeModal\\\",\\\"@app\\\"],[\\\"closeModal\\\",[34,0]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"app\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/modals/import-modal.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"sBzivHcf\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@modalClass\\\"],[\\\"o__wide\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Import summary\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right\\\"],[4,[38,0],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,1],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"importers/import-summary-component\\\",[],[[\\\"@shouldShowImportSummary\\\",\\\"@model\\\",\\\"@fromSummaryPage\\\",\\\"@app\\\"],[true,[34,2],true,[34,3]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"ic-interface-icon\\\",\\\"model\\\",\\\"app\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/modals/import-summary-modal.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"3Gwu6lix\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Send to your developer\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right\\\"],[4,[38,0],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,1],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n      Copy and send this link to teammates via email, chat or other tools.\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n      Once they create their login, they will see this step.\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[8,\\\"guide/start-screen/invite-link-component\\\",[],[[\\\"@isSecureMessengerModal\\\",\\\"@taskKey\\\",\\\"@checklistKey\\\"],[true,\\\"track_secure_users\\\",\\\"identify_your_users_securely\\\"]],null],[2,\\\"\\\\n    \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[11,\\\"p\\\"],[24,0,\\\"t__light-text\\\"],[4,[38,0],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n      Anyone with this link can join your app as a teammate.\\\\n      \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\"],[\\\"apps.app.settings.teammates\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        Manage invite links\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/modals/send-to-developer-modal.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"WcBxJfZ/\",\"block\":\"{\\\"symbols\\\":[\\\"modal\\\"],\\\"statements\\\":[[8,\\\"common/modal-component\\\",[],[[\\\"@closeModal\\\",\\\"@width\\\"],[[30,[36,0],[[32,0],\\\"closeIntercomModal\\\"],null],\\\"xl\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"components\\\",\\\"header\\\"]],[],[[\\\"@title\\\"],[[30,[36,1],[\\\"Edit \\\",[32,0,[\\\"node\\\",\\\"subType\\\"]]],null]]],null],[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"components\\\",\\\"body\\\"]],[[24,0,\\\"u__pad__30\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"node\\\",\\\"isRules\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"matching-system/audience-selector/main\\\",[],[[\\\"@ruleset\\\"],[[32,0,[\\\"node\\\",\\\"ruleset\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"h1\\\"],[12],[2,\\\"\\\\n        Imagine there was an editor for the \\\"],[1,[32,0,[\\\"node\\\",\\\"subType\\\"]]],[2,\\\" here...\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"concat\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/modals/series/edit-node.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"maO64bUP\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"components/modal/message\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/modals/stats-system/bulk-message.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"iueYHtrp\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Delete \\\"],[1,[35,0,[\\\"name\\\"]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,1],[[32,0],\\\"closeTeamDeleteModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,2],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,3,[\\\"isTestApp\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"warning\\\",\\\"You’re about to remove this team from both your test workspace and your live workspace\\\"]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n      Delete this team in Intercom and assign its \\\"],[10,\\\"strong\\\"],[12],[2,\\\"live messages, rules and conversations\\\"],[13],[2,\\\" to:\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[8,\\\"ic-select\\\",[],[[\\\"@defaultLabel\\\",\\\"@mode\\\",\\\"@hasFilter\\\",\\\"@filterPlaceholder\\\",\\\"@items\\\",\\\"@onSelectItem\\\",\\\"@minWidthOfOverlay\\\"],[\\\"Select teammate\\\",\\\"block\\\",true,\\\"Search teams and teammates\\\",[34,5],[30,[36,1],[[32,0],\\\"selectAssignee\\\"],null],250]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,6]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[35,0,[\\\"name\\\"]]],[2,\\\"'s \\\"],[10,\\\"strong\\\"],[12],[2,\\\"live visitor auto messages\\\"],[13],[2,\\\" will be assigned back to the teammate who created the message.\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Cancel\\\",\\\"secondary\\\",[30,[36,1],[[32,0],\\\"closeTeamDeleteModal\\\"],null]]],null],[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\",\\\"@testBindingClass\\\"],[\\\"Delete team\\\",\\\"primary-destructive\\\",[30,[36,1],[[32,0],\\\"deleteTeam\\\"],null],[30,[36,7],[[35,6]],null],\\\"test__team-delete__assignee-selector__delete-btn\\\"]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"selectedTeam\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"app\\\",\\\"if\\\",\\\"teamsAndTeammatesItems\\\",\\\"assigneeHasBeenSelected\\\",\\\"not\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/modals/team-delete-modal.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"aEneDgKh\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"ic-confirm-modal\\\",[],[[\\\"@title\\\",\\\"@confirmLabel\\\",\\\"@confirmAction\\\",\\\"@onModalClose\\\",\\\"@isOpen\\\"],[[30,[36,1],[\\\"Unblock \\\",[35,0,[\\\"nameOrEmail\\\"]],\\\"?\\\"],null],[30,[36,3],[[35,2],\\\"Unblocking…\\\",\\\"Unblock\\\"],null],[30,[36,4],[[32,0],\\\"unblockUser\\\"],null],[30,[36,4],[[32,0],\\\"cancel\\\"],null],true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n    Unblocking a person will restore their profile and conversations and allow them to message your team again.\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"model\\\",\\\"concat\\\",\\\"isUnblocking\\\",\\\"if\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/modals/unblock-blocked-user.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"D8JCnGni\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@afterModalClose\\\",\\\"@closeModal\\\",\\\"@modalClass\\\"],[\\\"performAfterIntercomModalClose\\\",[30,[36,0],[[32,0],\\\"closeIntercomModal\\\"],null],\\\"o__extremely-wide\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[35,1,[\\\"title\\\"]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right\\\"],[4,[38,0],[[32,0],\\\"closeIntercomModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,2],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"o__no-footer video-modal__container\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"iframe\\\"],[14,0,\\\"video-modal__iframe\\\"],[14,\\\"allowfullscreen\\\",\\\"\\\"],[14,\\\"mozallowfullscreen\\\",\\\"\\\"],[14,\\\"webkitallowfullscreen\\\",\\\"\\\"],[14,\\\"oallowfullscreen\\\",\\\"\\\"],[14,\\\"msallowfullscreen\\\",\\\"\\\"],[15,\\\"src\\\",[34,1,[\\\"videoURL\\\"]]],[12],[2,\\\"\\\\n\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"model\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/modals/video-modal.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"PiAT60Yn\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/onboarding.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"XLQ0DrnW\",\"block\":\"{\\\"symbols\\\":[\\\"submenu\\\",\\\"sections\\\",\\\"section\\\",\\\"section\\\",\\\"section\\\",\\\"section\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"scroll-container flex-auto flex flex-row\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"submenu-component\\\",[],[[\\\"@title\\\"],[\\\"Operator\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[1,[32,1,[\\\"header\\\"]]],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"sections\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"section\\\"]],[],[[\\\"@isOpen\\\"],[[32,0,[\\\"isOnTaskBotRoute\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,6,[\\\"title\\\"]],[],[[\\\"@title\\\",\\\"@url\\\",\\\"@isSelected\\\"],[\\\"Task Bots\\\",[30,[36,0],[\\\"apps.app.operator.task-bots\\\"],null],[32,0,[\\\"isOnTaskBotRoute\\\"]]]],null],[2,\\\"\\\\n        \\\"],[8,[32,6,[\\\"items\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"link-to\\\",[[24,0,\\\"submenu__sections__section__items__item\\\"]],[[\\\"@route\\\",\\\"@activeClass\\\"],[\\\"apps.app.operator.task-bots.users\\\",\\\"o__selected\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            For users\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[8,\\\"link-to\\\",[[24,0,\\\"submenu__sections__section__items__item\\\"]],[[\\\"@route\\\",\\\"@activeClass\\\"],[\\\"apps.app.operator.task-bots.leads\\\",\\\"o__selected\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            For leads\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[8,\\\"link-to\\\",[[24,0,\\\"submenu__sections__section__items__item\\\"]],[[\\\"@route\\\",\\\"@activeClass\\\"],[\\\"apps.app.operator.task-bots.teammates\\\",\\\"o__selected\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            For teammates\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[6]}]]],[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"section\\\"]],[],[[\\\"@isOpen\\\"],[[32,0,[\\\"isOnCustomBotRoute\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,5,[\\\"title\\\"]],[[24,0,\\\"js__ghostinspector__custom__bots\\\"]],[[\\\"@title\\\",\\\"@url\\\",\\\"@isSelected\\\"],[\\\"Custom Bots\\\",[30,[36,0],[\\\"apps.app.operator.custom-bots.index\\\",[30,[36,1],null,[[\\\"target\\\"],[[32,0,[\\\"defaultCustomBotTarget\\\"]]]]]],null],[32,0,[\\\"isOnCustomBotRoute\\\"]]]],null],[2,\\\"\\\\n        \\\"],[8,[32,5,[\\\"items\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"link-to\\\",[[24,0,\\\"submenu__sections__section__items__item\\\"]],[[\\\"@route\\\",\\\"@query\\\",\\\"@current-when\\\",\\\"@activeClass\\\"],[\\\"apps.app.operator.custom-bots.index\\\",[30,[36,2],null,[[\\\"target\\\",\\\"state\\\"],[\\\"outbound\\\",null]]],[30,[36,3],[[32,0,[\\\"currentCustomBotTarget\\\"]],\\\"outbound\\\"],null],\\\"o__selected\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            Outbound\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[8,\\\"link-to\\\",[[24,0,\\\"submenu__sections__section__items__item js__ghostinspector__everyone__bots\\\"]],[[\\\"@route\\\",\\\"@query\\\",\\\"@current-when\\\",\\\"@activeClass\\\"],[\\\"apps.app.operator.custom-bots.index\\\",[30,[36,2],null,[[\\\"target\\\",\\\"state\\\"],[\\\"everyone\\\",null]]],[30,[36,3],[[32,0,[\\\"currentCustomBotTarget\\\"]],\\\"everyone\\\"],null],\\\"o__selected\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            From a button\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[8,\\\"link-to\\\",[[24,0,\\\"submenu__sections__section__items__item js__ghostinspector__inbound__bots\\\"]],[[\\\"@route\\\",\\\"@query\\\",\\\"@current-when\\\",\\\"@activeClass\\\"],[\\\"apps.app.operator.custom-bots.index\\\",[30,[36,2],null,[[\\\"target\\\",\\\"state\\\"],[\\\"new-conversation\\\",null]]],[30,[36,3],[[32,0,[\\\"currentCustomBotTarget\\\"]],\\\"new-conversation\\\"],null],\\\"o__selected\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            From new conversations\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"section\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,4,[\\\"title\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"link-to\\\",[[24,0,\\\"submenu__sections__section__title__link\\\"]],[[\\\"@route\\\",\\\"@activeClass\\\"],[\\\"apps.app.operator.resolution-bot.answers\\\",\\\"o__selected\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            Resolution Bot\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"section\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,3,[\\\"title\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"link-to\\\",[[24,0,\\\"submenu__sections__section__title__link\\\"]],[[\\\"@route\\\",\\\"@activeClass\\\"],[\\\"apps.app.operator.settings\\\",\\\"o__selected\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            Settings\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"flex-auto flex flex-col overflow-auto scrolling-touch main__content-outlet \\\",[30,[36,4],[[32,0,[\\\"navbarCollapsingService\\\",\\\"collapsed\\\"]],\\\"o__without-submenu\\\"],null]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[32,0,[\\\"isOnReportingRoute\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"intercomrade-warning\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        Changes made here will affect our customer-facing messenger.\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[8,\\\"banners/missing-shipping-address\\\",[],[[],[]],null],[2,\\\"\\\\n    \\\"],[1,[30,[36,7],[[30,[36,6],null,null]],null]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"href-to\\\",\\\"query-params\\\",\\\"hash\\\",\\\"eq\\\",\\\"if\\\",\\\"unless\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/operator.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"qKuHYRnz\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\"],\\\"statements\\\":[[6,[37,2],[[32,0,[\\\"hidePaywallBanner\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[[32,0,[\\\"featureKey\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"Banner\\\"]],[],[[\\\"@content\\\"],[[31,[\\\"Upgrade to set \\\",[30,[36,1],[[30,[36,0],[\\\"team-lg-custom-bot-content-editor\\\"],null],\\\"bots\\\",\\\"custom bots\\\"],null],\\\" live\\\"]]]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[8,\\\"messenger-preview/styles\\\",[],[[\\\"@configuration\\\"],[[32,0,[\\\"previewConfiguration\\\"]]]],null],[2,\\\"\\\\n  \\\"],[1,[30,[36,4],[[30,[36,3],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"has-feature\\\",\\\"if\\\",\\\"unless\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/operator/custom-bots.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"agXT8mx6\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\",\\\"template\\\",\\\"template\\\"],\\\"statements\\\":[[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\",\\\"@launchModal\\\"],[[32,0,[\\\"featureKey\\\"]],[32,0,[\\\"launchUpgradeModal\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"custom-bots/custom-bots-heading\\\",[],[[\\\"@target\\\",\\\"@templates\\\",\\\"@showAction\\\",\\\"@launchModal\\\"],[[32,0,[\\\"target\\\"]],[32,0,[\\\"templates\\\"]],true,[30,[36,2],[[32,0],\\\"showContentCreationModal\\\",true],null]]],null],[2,\\\"\\\\n\\\"],[6,[37,5],[[32,0,[\\\"showContentCreationModal\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"messages/message-creation-modal\\\",[],[[\\\"@isTargetingLeads\\\",\\\"@createNewMessage\\\",\\\"@closeModal\\\",\\\"@templates\\\",\\\"@selectedObjectType\\\"],[false,[32,0,[\\\"createCustomBot\\\"]],[30,[36,2],[[32,0],\\\"showContentCreationModal\\\",false],null],[32,0,[\\\"templates\\\"]],[32,0,[\\\"contentType\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,5],[[30,[36,8],[[32,0,[\\\"target\\\"]],\\\"outbound\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"ml-1 mt-6\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"custom-bots/custom-bot-type-heading\\\",[],[[\\\"@labels\\\"],[[30,[36,6],null,[[\\\"heading\\\"],[\\\"Outbound\\\"]]]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"ml-6 mr-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"outbound__filter-and-count-block\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"outbound/filters\\\",[],[[\\\"@filterContent\\\",\\\"@selectedAudienceValues\\\",\\\"@selectedStateValue\\\",\\\"@selectedSenderValue\\\",\\\"@selectedTagValues\\\",\\\"@selectedMatchBehaviorValues\\\",\\\"@messagesTags\\\",\\\"@hideDeliveryTypeTabs\\\",\\\"@hideSenderComponent\\\"],[[32,0,[\\\"filterContent\\\"]],[32,0,[\\\"selectedAudienceValues\\\"]],[32,0,[\\\"selectedStateValue\\\"]],[32,0,[\\\"selectedSenderValue\\\"]],[32,0,[\\\"selectedTagValues\\\"]],[32,0,[\\\"selectedMatchBehaviorValues\\\"]],[32,0,[\\\"messagesTags\\\"]],true,true]],null],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center pt-4 pb-2\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"my-3\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"outbound/list-count\\\",[],[[\\\"@hasSelectedContentWrappers\\\",\\\"@totalCount\\\",\\\"@selectedCount\\\",\\\"@contentType\\\"],[[32,0,[\\\"hasSelectedContentWrappers\\\"]],[32,0,[\\\"totalCount\\\"]],[32,0,[\\\"selectedContentWrappers\\\",\\\"length\\\"]],\\\"custom bot\\\"]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[32,0,[\\\"hasSelectedContentWrappers\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"span\\\"],[14,0,\\\"ml-5\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"outbound/bulk-tag\\\",[],[[\\\"@selectedContentWrappers\\\",\\\"@onAfterSave\\\"],[[32,0,[\\\"selectedContentWrappers\\\"]],[30,[36,9],[[32,0],\\\"updateMessagesTags\\\"],null]]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[32,0,[\\\"hasItemsToDisplay\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"mt-2 mr-6\\\"],[14,\\\"data-ghost-test-content-list-body-outbound-bots\\\",\\\"\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"outbound/list-component\\\",[],[[\\\"@data\\\",\\\"@columns\\\",\\\"@statisticColumns\\\",\\\"@loadMore\\\",\\\"@onReorder\\\",\\\"@currentPage\\\",\\\"@pageSize\\\",\\\"@lastPageHit\\\",\\\"@totalPages\\\"],[[32,0,[\\\"model\\\"]],[30,[36,7],[[30,[36,6],null,[[\\\"valuePath\\\"],[\\\"checkBox\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"tooltip\\\"],[\\\"priority\\\",\\\"Order bots by priority. People will only see the highest one in the list if multiple bots share the same targeting conditions.\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"title\\\",\\\"Title\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"minWidth\\\"],[\\\"version\\\",\\\"130px\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"state\\\",\\\"State\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"lastUpdatedBy\\\",\\\"Last updated by\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sentCount\\\",\\\"Sent\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"goalPercent\\\",\\\"Goal\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"engagedPercent\\\",\\\"Engaged\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"completedPercent\\\",\\\"Completed\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\"],[\\\"audienceTypes\\\",\\\"People type\\\",\\\"160px\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\"],[\\\"createdAt\\\",\\\"Created at\\\",\\\"144px\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\"],[\\\"firstWentLiveAt\\\",\\\"First set live\\\",\\\"120px\\\"]]]],null],[30,[36,7],[[30,[36,6],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"sentCount\\\",[32,0,[\\\"statisticKeys\\\",\\\"receipts\\\"]]]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"goalPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"goals\\\"]]]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"engagedPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"replies\\\"]]]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"completedPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"completions\\\"]]]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"replyPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"replies\\\"]]]]]],null],[32,0,[\\\"loadMore\\\"]],[32,0,[\\\"reorder\\\"]],[32,0,[\\\"pageFrom\\\"]],[32,0,[\\\"perPage\\\"]],[32,0,[\\\"lastPageHit\\\"]],[32,0,[\\\"totalPages\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-initial flex-col items-center pt-10\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[30,[36,4],[[32,0,[\\\"hasAppliedFilter\\\"]],[30,[36,3],[\\\"canUseOperatorTemplateModal\\\"],null]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"outbound/empty-state\\\",[],[[\\\"@icon\\\",\\\"@humanReadableObjectName\\\",\\\"@creationReason\\\",\\\"@createContent\\\",\\\"@hasAppliedFilter\\\",\\\"@resetFilters\\\"],[[32,0,[\\\"bannerData\\\",\\\"icon\\\"]],[32,0,[\\\"selectedObjectType\\\"]],\\\"to start a conversation with your customers.\\\",[30,[36,2],[[32,0],\\\"showContentCreationModal\\\",true],null],[32,0,[\\\"hasAppliedFilter\\\"]],[32,0,[\\\"resetFilters\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"ic-empty-state\\\",[[24,0,\\\"p-0\\\"]],[[\\\"@icon\\\",\\\"@title\\\"],[[32,0,[\\\"bannerData\\\",\\\"icon\\\"]],[32,0,[\\\"emptyTabMessage\\\"]]]],null],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"text-center\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"p\\\"],[14,0,\\\"empty-state__description pb-6\\\"],[12],[2,\\\"\\\\n                Get started quickly with one of our premade bot templates.\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-wrap justify-center\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,0],[[30,[36,0],[[32,0,[\\\"templates\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                  \\\"],[10,\\\"div\\\"],[14,0,\\\"my-2\\\"],[12],[2,\\\"\\\\n                    \\\"],[8,\\\"custom-bots/bot-auto-message/new-buttons/tile\\\",[],[[\\\"@template\\\",\\\"@target\\\"],[[32,3],[32,0,[\\\"target\\\"]]]],null],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,5],[[30,[36,4],[[30,[36,8],[[32,0,[\\\"target\\\"]],\\\"new-conversation\\\"],null],[30,[36,8],[[32,0,[\\\"target\\\"]],\\\"everyone\\\"],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,5],[[30,[36,8],[[32,0,[\\\"target\\\"]],\\\"new-conversation\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"ml-1 mt-6\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"custom-bots/custom-bot-type-heading\\\",[],[[\\\"@labels\\\"],[[30,[36,6],null,[[\\\"heading\\\"],[\\\"From new conversations\\\"]]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"ml-1 mt-6\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"custom-bots/custom-bot-type-heading\\\",[],[[\\\"@labels\\\"],[[30,[36,6],null,[[\\\"heading\\\"],[\\\"From a button\\\"]]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"ml-6 mr-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center pt-4 pb-2\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"outbound/filters\\\",[],[[\\\"@filterContent\\\",\\\"@selectedAudienceValues\\\",\\\"@selectedStateValue\\\",\\\"@selectedSenderValue\\\",\\\"@selectedTagValues\\\",\\\"@selectedMatchBehaviorValues\\\",\\\"@messagesTags\\\",\\\"@hideDeliveryTypeTabs\\\",\\\"@hideSenderComponent\\\",\\\"@hideAudienceComponent\\\"],[[32,0,[\\\"filterContent\\\"]],[32,0,[\\\"selectedAudienceValues\\\"]],[32,0,[\\\"selectedStateValue\\\"]],[32,0,[\\\"selectedSenderValue\\\"]],[32,0,[\\\"selectedTagValues\\\"]],[32,0,[\\\"selectedMatchBehaviorValues\\\"]],[32,0,[\\\"messagesTags\\\"]],true,true,[30,[36,8],[[32,0,[\\\"target\\\"]],\\\"everyone\\\"],null]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center pt-4 pb-2\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"my-3\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"outbound/list-count\\\",[],[[\\\"@hasSelectedContentWrappers\\\",\\\"@totalCount\\\",\\\"@selectedCount\\\",\\\"@contentType\\\"],[[32,0,[\\\"hasSelectedContentWrappers\\\"]],[32,0,[\\\"totalCount\\\"]],[32,0,[\\\"selectedContentWrappers\\\",\\\"length\\\"]],\\\"custom-bot\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[32,0,[\\\"hasSelectedContentWrappers\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"ml-5\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"outbound/bulk-tag\\\",[],[[\\\"@selectedContentWrappers\\\",\\\"@onAfterSave\\\"],[[32,0,[\\\"selectedContentWrappers\\\"]],[30,[36,9],[[32,0],\\\"updateMessagesTags\\\"],null]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[32,0,[\\\"hasItemsToDisplay\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,5],[[30,[36,8],[[32,0,[\\\"target\\\"]],\\\"new-conversation\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"mt-2 outbound__table-scroll-container ml-6 mr-6\\\"],[14,\\\"data-ghost-test-content-list-body-inbound-bots\\\",\\\"\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"outbound/list-component\\\",[],[[\\\"@data\\\",\\\"@columns\\\",\\\"@statisticColumns\\\",\\\"@loadMore\\\",\\\"@onReorder\\\",\\\"@currentPage\\\",\\\"@pageSize\\\",\\\"@lastPageHit\\\",\\\"@totalPages\\\"],[[32,0,[\\\"model\\\"]],[30,[36,7],[[30,[36,6],null,[[\\\"valuePath\\\"],[\\\"checkBox\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"title\\\",\\\"Title\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"minWidth\\\"],[\\\"version\\\",\\\"130px\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"state\\\",\\\"State\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"lastUpdatedBy\\\",\\\"Last updated by\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sentCount\\\",\\\"Sent\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"engagedPercent\\\",\\\"Engaged\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"completedPercent\\\",\\\"Completed\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"audienceTypes\\\",\\\"People type\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\"],[\\\"createdAt\\\",\\\"Created at\\\",\\\"144px\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\"],[\\\"firstWentLiveAt\\\",\\\"First set live\\\",\\\"120px\\\"]]]],null],[30,[36,7],[[30,[36,6],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"sentCount\\\",[32,0,[\\\"statisticKeys\\\",\\\"receipts\\\"]]]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"engagedPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"replies\\\"]]]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"completedPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"completions\\\"]]]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"replyPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"replies\\\"]]]]]],null],[32,0,[\\\"loadMore\\\"]],[32,0,[\\\"reorder\\\"]],[32,0,[\\\"pageFrom\\\"]],[32,0,[\\\"perPage\\\"]],[32,0,[\\\"lastPageHit\\\"]],[32,0,[\\\"totalPages\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"mt-2 outbound__table-scroll-container ml-6 mr-6\\\"],[14,\\\"data-ghost-test-content-list-body-button-bots\\\",\\\"\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"outbound/list-component\\\",[],[[\\\"@data\\\",\\\"@columns\\\",\\\"@statisticColumns\\\",\\\"@loadMore\\\",\\\"@onReorder\\\",\\\"@currentPage\\\",\\\"@pageSize\\\",\\\"@lastPageHit\\\",\\\"@totalPages\\\"],[[32,0,[\\\"model\\\"]],[30,[36,7],[[30,[36,6],null,[[\\\"valuePath\\\"],[\\\"checkBox\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"title\\\",\\\"Title\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"minWidth\\\"],[\\\"version\\\",\\\"130px\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"state\\\",\\\"State\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"lastUpdatedBy\\\",\\\"Last updated by\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sentCount\\\",\\\"Sent\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"engagedPercent\\\",\\\"Engaged\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"completedPercent\\\",\\\"Completed\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\"],[\\\"createdAt\\\",\\\"Created at\\\",\\\"144px\\\"]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\"],[\\\"firstWentLiveAt\\\",\\\"First set live\\\",\\\"120px\\\"]]]],null],[30,[36,7],[[30,[36,6],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"sentCount\\\",[32,0,[\\\"statisticKeys\\\",\\\"receipts\\\"]]]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"engagedPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"replies\\\"]]]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"completedPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"completions\\\"]]]]],[30,[36,6],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"replyPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"replies\\\"]]]]]],null],[32,0,[\\\"loadMore\\\"]],[32,0,[\\\"reorder\\\"]],[32,0,[\\\"pageFrom\\\"]],[32,0,[\\\"perPage\\\"]],[32,0,[\\\"lastPageHit\\\"]],[32,0,[\\\"totalPages\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-initial flex-col items-center pt-10\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[30,[36,4],[[32,0,[\\\"hasAppliedFilter\\\"]],[30,[36,3],[\\\"canUseOperatorTemplateModal\\\"],null]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"outbound/empty-state\\\",[],[[\\\"@icon\\\",\\\"@humanReadableObjectName\\\",\\\"@creationReason\\\",\\\"@createContent\\\",\\\"@hasAppliedFilter\\\",\\\"@resetFilters\\\"],[[32,0,[\\\"bannerData\\\",\\\"icon\\\"]],[32,0,[\\\"selectedObjectType\\\"]],\\\"to start a conversation with your customers.\\\",[30,[36,2],[[32,0],\\\"showContentCreationModal\\\",true],null],[32,0,[\\\"hasAppliedFilter\\\"]],[32,0,[\\\"resetFilters\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"ic-empty-state\\\",[[24,0,\\\"p-0\\\"]],[[\\\"@icon\\\",\\\"@title\\\"],[[32,0,[\\\"bannerData\\\",\\\"icon\\\"]],[32,0,[\\\"emptyTabMessage\\\"]]]],null],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"t__centered\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"p\\\"],[14,0,\\\"empty-state__description pb-6\\\"],[12],[2,\\\"\\\\n              Get started quickly with one of our premade bot templates.\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"flex\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,0],[[30,[36,0],[[32,0,[\\\"templates\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-1\\\"],[12],[2,\\\"\\\\n                  \\\"],[8,\\\"custom-bots/bot-auto-message/new-buttons/tile\\\",[],[[\\\"@template\\\",\\\"@target\\\"],[[32,2],[32,0,[\\\"target\\\"]]]],null],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-track-array\\\",\\\"each\\\",\\\"set\\\",\\\"has-feature\\\",\\\"or\\\",\\\"if\\\",\\\"hash\\\",\\\"array\\\",\\\"eq\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/operator/custom-bots/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"wEDycqUK\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/operator/custom-bots/loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"LFyWh3Ow\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"main-content-loading\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/operator/custom-bots/new.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"jhrhbnti\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/operator/loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"+dFUA+R0\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\"],\\\"statements\\\":[[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\",\\\"@launchModal\\\"],[[32,0,[\\\"featureKey\\\"]],[32,0,[\\\"launchUpgradeModal\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"Banner\\\"]],[],[[\\\"@content\\\"],[\\\"Upgrade to set Resolution Bot live\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/operator/resolution-bot.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"dcOHs5Z/\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"scroll-container flex-auto flex flex-col answers__answer-container px-8 py-5\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"messenger-preview/styles\\\",[],[[\\\"@configuration\\\"],[[32,0,[\\\"previewConfiguration\\\"]]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/operator/resolution-bot/answers/answer.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"jobnPKH+\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"answers__answer-editor__container\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"answers/answer-header\\\",[],[[\\\"@answer\\\",\\\"@save\\\",\\\"@isEditing\\\",\\\"@redirectToShowPageOnCancel\\\"],[[32,0,[\\\"model\\\"]],[32,0,[\\\"answerController\\\",\\\"save\\\"]],true,[32,0,[\\\"redirectToShowPageOnCancel\\\"]]]],null],[2,\\\"\\\\n  \\\"],[8,\\\"answers/editor/answer-editor\\\",[],[[\\\"@answer\\\",\\\"@suggestedAnswerClusters\\\",\\\"@suggestionId\\\",\\\"@clusterId\\\",\\\"@onSuggestionUsed\\\",\\\"@save\\\",\\\"@expandSelectedExamples\\\",\\\"@prepopulatedSearchTerm\\\",\\\"@resolutionBotLoopingSettings\\\"],[[32,0,[\\\"model\\\"]],[32,0,[\\\"suggestedAnswerClusters\\\"]],[32,0,[\\\"suggestionId\\\"]],[32,0,[\\\"clusterId\\\"]],[30,[36,1],[[30,[36,0],[[32,0,[\\\"suggestionId\\\"]]],null],null],null],[32,0,[\\\"answerController\\\",\\\"save\\\"]],[32,0,[\\\"expandSelectedExamples\\\"]],[32,0,[\\\"prepopulatedSearchTerm\\\"]],[32,0,[\\\"resolutionBotLoopingSettings\\\"]]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"mut\\\",\\\"fn\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/operator/resolution-bot/answers/answer/edit.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"s8Qtr3Er\",\"block\":\"{\\\"symbols\\\":[\\\"changeView\\\",\\\"activeView\\\"],\\\"statements\\\":[[8,\\\"answers/answer-header\\\",[],[[\\\"@answer\\\",\\\"@isEditing\\\"],[[32,0,[\\\"model\\\"]],false]],null],[2,\\\"\\\\n\\\\n\\\"],[8,\\\"answers/show/tab-container\\\",[[24,0,\\\"mb-8\\\"]],[[\\\"@answer\\\",\\\"@eventType\\\",\\\"@currentRouteName\\\"],[[32,0,[\\\"model\\\"]],[32,0,[\\\"eventType\\\"]],\\\"apps.app.operator.resolution-bot.answers.answer.show\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"answers/show/tabs-component\\\",[],[[\\\"@answer\\\",\\\"@activeView\\\",\\\"@changeView\\\"],[[32,0,[\\\"model\\\"]],[32,2],[32,1]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1,2]}]]],[2,\\\"\\\\n\\\\n\\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/operator/resolution-bot/answers/answer/show.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"uVbihR8O\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"answers/show/conversation-list\\\",[],[[\\\"@answerId\\\",\\\"@eventType\\\"],[[32,0,[\\\"model\\\",\\\"id\\\"]],[32,0,[\\\"eventType\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/operator/resolution-bot/answers/answer/show/conversations.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"fP60LdVr\",\"block\":\"{\\\"symbols\\\":[\\\"hasRejectedQuestions\\\"],\\\"statements\\\":[[6,[37,7],[[32,0,[\\\"model\\\",\\\"firstWentLiveAt\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"common/icon-and-text\\\",[],[[\\\"@item\\\"],[[30,[36,6],null,[[\\\"icon\\\",\\\"text\\\"],[\\\"calendar\\\",[30,[36,5],[\\\"Went live \\\",[30,[36,4],[[32,0,[\\\"model\\\",\\\"firstWentLiveAt\\\"]]],null]],null]]]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"common/icon-and-text\\\",[],[[\\\"@item\\\"],[[30,[36,6],null,[[\\\"icon\\\",\\\"text\\\"],[\\\"calendar\\\",[30,[36,5],[\\\"Created \\\",[30,[36,4],[[32,0,[\\\"model\\\",\\\"createdAt\\\"]]],null]],null]]]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,7],[[32,0,[\\\"model\\\",\\\"lastInterjectionAt\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"common/icon-and-text\\\",[],[[\\\"@item\\\"],[[30,[36,6],null,[[\\\"icon\\\",\\\"text\\\"],[\\\"calendar\\\",[30,[36,5],[\\\"Last sent \\\",[30,[36,4],[[32,0,[\\\"model\\\",\\\"lastInterjectionAt\\\"]]],null]],null]]]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"message__editor__panel js__message__editor__panel content-editor__panel o__content o__first\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"answers/editor/answer-panel/multipart-response-display\\\",[],[[\\\"@multipartResponse\\\",\\\"@hideInserters\\\"],[[32,0,[\\\"model\\\",\\\"multipartResponse\\\"]],true]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,7],[[30,[36,8],[\\\"answerbot-multilingual\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"message__editor__panel js__message__editor__panel content-editor__panel o__content\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1 message__editor__panel__title message__editor__panel__audience-expansion o__collapsed\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__centers-vertically\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2 message__editor__panel__fadable-text message__editor__panel__heading\\\"],[12],[2,\\\"\\\\n          Language\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__centers-vertically\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"t__body c__black u__mr__30\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,2],[\\\"globe\\\"],null]],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[12],[1,[30,[36,3],[[32,0,[\\\"model\\\",\\\"languageCode\\\"]]],null]],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"message__editor__panel js__message__editor__panel content-editor__panel o__content\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1 message__editor__panel__title message__editor__panel__audience-expansion o__collapsed\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__centers-vertically\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2 message__editor__panel__fadable-text message__editor__panel__heading\\\"],[12],[2,\\\"\\\\n        Question\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__centers-vertically\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"answers/editor/questions-panel/example-questions-header-context\\\",[],[[\\\"@answer\\\"],[[32,0,[\\\"model\\\"]]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"message__editor__panel js__message__editor__panel content-editor__panel o__content o__last\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1 message__editor__panel__title message__editor__panel__audience-expansion o__collapsed\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__centers-vertically\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2 message__editor__panel__fadable-text message__editor__panel__heading\\\"],[12],[2,\\\"\\\\n        Audience\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__centers-vertically\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"message__editor__audience__predicate\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,2],[\\\"person\\\"],[[\\\"color\\\"],[\\\"gray\\\"]]]],[2,\\\"\\\\n        \\\"],[1,[30,[36,10],[[30,[36,9],[[32,0,[\\\"model\\\",\\\"selectedUserTypes\\\"]]],null]],null]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[8,\\\"matching-system/audience-selector/summary/predicate-group-summary\\\",[],[[\\\"@ruleMode\\\",\\\"@predicates\\\"],[[32,0,[\\\"model\\\",\\\"ruleset\\\",\\\"predicateGroup\\\",\\\"logicalMode\\\"]],[32,0,[\\\"model\\\",\\\"ruleset\\\",\\\"predicateGroup\\\",\\\"predicates\\\"]]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,7],[[30,[36,8],[\\\"canCreateAnswerFromRejectedSuggestedQuestions\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[30,[36,0],[\\\"answerFollowOnCreationService.hasRejectedQuestions\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"answers/editor/rejected-suggested-questions-modal\\\",[],[[\\\"@showRejectedSuggestedQuestionsModal\\\",\\\"@currentPageAnswerId\\\"],[[32,1],[32,0,[\\\"model\\\",\\\"id\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"service\\\",\\\"let\\\",\\\"ic-interface-icon\\\",\\\"language-name-from-code\\\",\\\"full-relative-time-ago-helper\\\",\\\"concat\\\",\\\"hash\\\",\\\"if\\\",\\\"has-feature\\\",\\\"capitalize-array\\\",\\\"format-array-to-sentence\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/operator/resolution-bot/answers/answer/show/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"UVrrD42o\",\"block\":\"{\\\"symbols\\\":[\\\"banner\\\",\\\"banner\\\",\\\"hero\\\"],\\\"statements\\\":[[8,\\\"answers/hero\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,3,[\\\"Action\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"ic-button\\\",[],[[\\\"@icon\\\",\\\"@label\\\",\\\"@onClick\\\",\\\"@type\\\"],[\\\"article\\\",\\\"New answer\\\",[30,[36,0],[[32,0],\\\"createAnswer\\\"],null],\\\"primary\\\"]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n\\\\n\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"u__mb__20\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[30,[36,8],[[32,0,[\\\"app\\\",\\\"hasAnswerBot\\\"]],[32,0,[\\\"app\\\",\\\"currentAdmin\\\",\\\"canAccessProductSettings\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,7],[[32,0,[\\\"shouldShowMoreAnswersBanner\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"pulse/discovery-banner\\\",[[24,0,\\\"m-6\\\"]],[[\\\"@heading\\\",\\\"@description\\\",\\\"@dismissalType\\\",\\\"@dismissalKey\\\",\\\"@dismissalService\\\"],[\\\"Help Resolution Bot handle more questions\\\",\\\"The more answers you set up, the more often Resolution Bot will be able to answer your customers’ questions. Try starting with your top 10-20 and covering groups of questions on a similar topic.\\\",\\\"got-it-button\\\",\\\"answerbot_more_answers\\\",[30,[36,1],[\\\"banner-dismissal-service\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,2,[\\\"HelpLink\\\"]],[],[[\\\"@type\\\",\\\"@title\\\",\\\"@href\\\"],[\\\"article\\\",\\\"Learn more about training Resolution Bot\\\",\\\"https://www.intercom.com/help/operator/answer-bot/train-answer-bot-to-provide-more-resolutions\\\"]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,7],[[32,0,[\\\"shouldShowAutoSuggestBanner\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"pulse/discovery-banner\\\",[[24,0,\\\"m-6\\\"]],[[\\\"@heading\\\",\\\"@description\\\",\\\"@size\\\",\\\"@dismissalType\\\",\\\"@dismissalKey\\\",\\\"@dismissalService\\\"],[\\\"Speed up your resolutions with answer suggestions\\\",\\\"Give Resolution Bot the chance to resolve customer conversations before they begin by suggesting answers proactively.\\\",\\\"small\\\",\\\"close-icon\\\",\\\"resolution-bot-auto-suggest-banner\\\",[30,[36,1],[\\\"banner-dismissal-service\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,1,[\\\"Link\\\"]],[[4,[38,6],[\\\"click\\\",[30,[36,5],[[30,[36,4],null,[[\\\"action\\\",\\\"object\\\",\\\"context\\\"],[\\\"clicked\\\",\\\"turn_on_auto_suggest_link\\\",\\\"from_content_suggestion_banner\\\"]]],[30,[36,3],[\\\"apps.app.operator.settings\\\",[30,[36,2],null,[[\\\"section\\\"],[\\\"suggestion-settings\\\"]]]],null]],null]],null]],[[\\\"@icon\\\",\\\"@title\\\"],[\\\"put-live\\\",\\\"Configure answer suggestions in Operator settings\\\"]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,7],[[32,0,[\\\"hasActiveZendeskChatConversationImport\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box u__mb__40 u__ml__40 u__mr__40\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"help\\\",\\\"We're working on importing your conversation history – it may take a few hours. We'll email you when it's done.\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,7],[[32,0,[\\\"hasSuggestedAnswerClusters\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"answers/suggested-answers\\\",[],[[\\\"@clusters\\\",\\\"@loadingAnimationIsActive\\\",\\\"@onAnimationComplete\\\"],[[32,0,[\\\"suggestedAnswerClusters\\\"]],[32,0,[\\\"loadingAnimationIsActive\\\"]],[30,[36,0],[[32,0],\\\"completeLoadingAnimation\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[10,\\\"div\\\"],[14,0,\\\"u__ml__40 u__mr__40 u__mb__40\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"answers/answer-list\\\",[],[[\\\"@answers\\\",\\\"@status\\\",\\\"@languageCode\\\"],[[32,0,[\\\"answers\\\"]],[32,0,[\\\"status\\\"]],[32,0,[\\\"language\\\"]]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"service\\\",\\\"query-params\\\",\\\"transition-to\\\",\\\"track-analytics-event\\\",\\\"queue\\\",\\\"on\\\",\\\"if\\\",\\\"and\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/operator/resolution-bot/answers/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Xb6GgxAv\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"main-content-loading\\\",[],[[],[]],null]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/operator/resolution-bot/answers/loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Gm8ZU/Aa\",\"block\":\"{\\\"symbols\\\":[\\\"@model\\\"],\\\"statements\\\":[[8,\\\"answers/hero\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"],[8,\\\"answers/clusters/list\\\",[],[[\\\"@clusters\\\"],[[32,1]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/operator/resolution-bot/answers/suggestions.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Fz+DqJlS\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"common/hamburger-menu\\\",[],[[\\\"@title\\\"],[\\\"Settings\\\"]],null],[2,\\\"\\\\n\\\"],[8,\\\"operator/settings-component\\\",[],[[\\\"@identity\\\",\\\"@initialSection\\\",\\\"@customBotsSettings\\\",\\\"@resolutionBotSettings\\\",\\\"@resolutionBotLoopingSettings\\\",\\\"@previewConfiguration\\\",\\\"@botInboxSettings\\\",\\\"@openModal\\\"],[[34,0],[34,1],[34,2],[34,3],[34,4],[34,5],[34,6],[30,[36,7],[[32,0],\\\"openModal\\\"],null]]],null],[2,\\\"\\\\n\\\"],[8,\\\"modal/conversation-import-modal\\\",[],[[\\\"@hasActiveZendeskChatConversationImport\\\",\\\"@hasActiveZendeskTicketsConversationImport\\\",\\\"@showImportModal\\\",\\\"@closeModal\\\",\\\"@onImportFlowComplete\\\"],[[34,8],[34,9],[34,10],[30,[36,7],[[32,0],\\\"closeModal\\\"],null],[30,[36,7],[[32,0],\\\"completeImportFlow\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"identity\\\",\\\"section\\\",\\\"customBotsSettings\\\",\\\"resolutionBotSettings\\\",\\\"resolutionBotLoopingSettings\\\",\\\"previewConfiguration\\\",\\\"botInboxSettings\\\",\\\"action\\\",\\\"hasActiveZendeskChatConversationImport\\\",\\\"hasActiveZendeskTicketsConversationImport\\\",\\\"showImportModal\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/operator/settings.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"H9+ne1do\",\"block\":\"{\\\"symbols\\\":[\\\"banner\\\",\\\"links\\\"],\\\"statements\\\":[[8,\\\"pulse/hero-banner\\\",[],[[\\\"@svg\\\",\\\"@title\\\",\\\"@description\\\"],[\\\"operator\\\",\\\"Task Bots\\\",\\\"Automate repetitive tasks so you can focus on what matters.\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"Links\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,2,[\\\"Link\\\"]],[],[[\\\"@title\\\",\\\"@href\\\",\\\"@type\\\"],[\\\"How Task Bots work\\\",\\\"https://www.intercom.com/help/intercom-s-key-features-explained/automatically-answer-questions/how-operator-behaves\\\",\\\"article\\\"]],null],[2,\\\"\\\\n    \\\"],[8,[32,2,[\\\"Video\\\"]],[],[[\\\"@title\\\",\\\"@wistiaId\\\"],[\\\"See them in action\\\",\\\"hmcxof8pri\\\"]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns ml-6 mr-6 mt-6\\\"],[12],[2,\\\"\\\\n  \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/operator/task-bots.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Wo9vg1yO\",\"block\":\"{\\\"symbols\\\":[\\\"accordion\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 operator__settings__accordion\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"common/accordion-component\\\",[],[[\\\"@sectionDidOpen\\\",\\\"@sectionDidClose\\\",\\\"@sectionCanClose\\\",\\\"@initiallyOpenSectionName\\\"],[[30,[36,3],[[32,0],\\\"sectionDidOpen\\\"],null],[30,[36,3],[[32,0],\\\"sectionDidClose\\\"],null],[30,[36,5],[[35,4]],null],[34,6]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"h1\\\"],[14,0,\\\"t__h1 u__mt__20\\\"],[12],[2,\\\"\\\\n      For leads\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[8,\\\"task-bots/trigger-group\\\",[],[[\\\"@title\\\"],[\\\"When leads start a conversation\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center mb-4\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"pr-3\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"ic-on-off-toggle\\\",[],[[\\\"@isOn\\\",\\\"@onClick\\\"],[[34,1,[\\\"leadDelayEnabled\\\"]],[30,[36,5],[[35,7]],null]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n          Leave a 2 minute delay before triggering the following Task Bots during \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@query\\\"],[\\\"apps.app.messenger\\\",[30,[36,8],null,[[\\\"section\\\"],[\\\"availability\\\"]]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            office hours\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@headerClass\\\",\\\"@name\\\"],[\\\"accordion__white-header\\\",\\\"team-availability-leads\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,20,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@icon\\\",\\\"@showEnabledLabel\\\",\\\"@enabled\\\"],[\\\"Share your typical reply time\\\",\\\"stop-automatically\\\",true,[30,[36,2],[[35,1,[\\\"teamAvailability\\\",\\\"enabledForLeads\\\"]]],null]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[22]}]]],[2,\\\"\\\\n        \\\"],[8,[32,20,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n        \\\"],[8,[32,20,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"task-bots/team-availability\\\",[],[[\\\"@enabled\\\",\\\"@teamAvailability\\\",\\\"@body\\\"],[[34,1,[\\\"teamAvailability\\\",\\\"enabledForLeads\\\"]],[34,1,[\\\"teamAvailability\\\"]],[32,21]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[21]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[20]}]]],[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"section-link\\\"]],[],[[],[]],null],[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@headerClass\\\",\\\"@name\\\"],[\\\"accordion__white-header\\\",\\\"conversation-routing\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,17,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@icon\\\",\\\"@showEnabledLabel\\\",\\\"@enabled\\\"],[\\\"Route existing customers to support\\\",\\\"rule\\\",true,[30,[36,2],[[35,1,[\\\"conversationRouting\\\",\\\"enabled\\\"]],[30,[36,0],[\\\"canUseConversationRouting\\\"],null]],null]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[19]}]]],[2,\\\"\\\\n        \\\"],[8,[32,17,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n        \\\"],[8,[32,17,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"task-bots/conversation-routing\\\",[],[[\\\"@conversationRouting\\\",\\\"@body\\\"],[[34,1,[\\\"conversationRouting\\\"]],[32,18]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[18]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[17]}]]],[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"section-link\\\"]],[],[[],[]],null],[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@headerClass\\\",\\\"@name\\\"],[\\\"accordion__white-header\\\",\\\"contact-collection\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,14,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@icon\\\",\\\"@showEnabledLabel\\\",\\\"@enabled\\\"],[\\\"Ask for contact details\\\",\\\"acquire\\\",true,[34,1,[\\\"contactCollection\\\",\\\"enabled\\\"]]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[16]}]]],[2,\\\"\\\\n        \\\"],[8,[32,14,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n        \\\"],[8,[32,14,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"task-bots/contact-collection\\\",[],[[\\\"@contactCollection\\\",\\\"@body\\\"],[[34,1,[\\\"contactCollection\\\"]],[32,15]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[15]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[14]}]]],[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"section-link\\\"]],[],[[],[]],null],[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@headerClass\\\",\\\"@name\\\"],[\\\"accordion__white-header\\\",\\\"qualify-leads\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,11,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@icon\\\",\\\"@showEnabledLabel\\\",\\\"@enabled\\\"],[\\\"Qualify leads\\\",\\\"lead-qualification\\\",true,[30,[36,2],[[35,1,[\\\"qualifyLeads\\\",\\\"enabled\\\"]],[30,[36,0],[\\\"canUseOperatorQualifications\\\"],null]],null]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[13]}]]],[2,\\\"\\\\n        \\\"],[8,[32,11,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n        \\\"],[8,[32,11,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"task-bots/qualify-leads\\\",[],[[\\\"@qualifyLeads\\\",\\\"@body\\\"],[[34,1,[\\\"qualifyLeads\\\"]],[32,12]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[12]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[11]}]]],[2,\\\"\\\\n\\\\n\\\"],[6,[37,9],[[30,[36,0],[\\\"canUseArticleSuggestionsForLeads\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@headerClass\\\",\\\"@name\\\"],[\\\"accordion__white-header\\\",\\\"article-suggestions-leads\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,8,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@subheading\\\",\\\"@icon\\\",\\\"@showEnabledLabel\\\",\\\"@enabled\\\"],[\\\"Suggest help articles\\\",\\\"Send relevant help articles\\\",\\\"article\\\",true,[30,[36,2],[[35,1,[\\\"articleSuggestions\\\",\\\"enabledForLeads\\\"]],[30,[36,0],[\\\"hasHelpCenter\\\"],null]],null]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[10]}]]],[2,\\\"\\\\n        \\\"],[8,[32,8,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n        \\\"],[8,[32,8,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"task-bots/article-suggestions\\\",[],[[\\\"@articleSuggestions\\\",\\\"@enabled\\\",\\\"@body\\\"],[[34,1,[\\\"articleSuggestions\\\"]],[34,1,[\\\"articleSuggestions\\\",\\\"enabledForLeads\\\"]],[32,9]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[9]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[8]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,\\\"task-bots/trigger-group\\\",[],[[\\\"@title\\\"],[\\\"When leads react with 😞 on a help article\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@headerClass\\\",\\\"@name\\\"],[\\\"accordion__white-header\\\",\\\"article-auto-reaction-leads\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,5,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@icon\\\",\\\"@showEnabledLabel\\\",\\\"@enabled\\\"],[\\\"Offer additional help\\\",\\\"article-feedback\\\",true,[30,[36,2],[[35,1,[\\\"articleAutoReaction\\\",\\\"enabledForLeads\\\"]],[30,[36,0],[\\\"hasHelpCenter\\\"],null]],null]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[7]}]]],[2,\\\"\\\\n        \\\"],[8,[32,5,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n        \\\"],[8,[32,5,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"task-bots/article-auto-reaction\\\",[],[[\\\"@articleAutoReaction\\\",\\\"@enabled\\\",\\\"@body\\\",\\\"@userRole\\\"],[[34,1,[\\\"articleAutoReaction\\\"]],[34,1,[\\\"articleAutoReaction\\\",\\\"enabledForLeads\\\"]],[32,6],\\\"lead\\\"]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[6]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,\\\"task-bots/trigger-group\\\",[],[[\\\"@title\\\"],[\\\"When a conversation is closed\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@headerClass\\\",\\\"@name\\\"],[\\\"accordion__white-header\\\",\\\"conversation-rating-leads\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,2,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@icon\\\",\\\"@showEnabledLabel\\\",\\\"@enabled\\\"],[\\\"Ask for conversation rating\\\",\\\"conversation-rating\\\",true,[30,[36,2],[[35,1,[\\\"conversationRating\\\",\\\"enabledForLeads\\\"]],[30,[36,0],[\\\"canUseConversationRatings\\\"],null]],null]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n        \\\"],[8,[32,2,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n        \\\"],[8,[32,2,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"task-bots/conversation-rating\\\",[],[[\\\"@conversationRating\\\",\\\"@enabled\\\",\\\"@body\\\"],[[34,1,[\\\"conversationRating\\\"]],[34,1,[\\\"conversationRating\\\",\\\"enabledForLeads\\\"]],[32,3]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box messenger-preview__container o__centers-horizontally\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"task-bots/messenger-preview\\\",[],[[\\\"@settings\\\",\\\"@openSectionName\\\",\\\"@previewableTasks\\\",\\\"@configuration\\\"],[[34,1],[34,10],[34,11],[34,12]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"has-feature\\\",\\\"settings\\\",\\\"and\\\",\\\"action\\\",\\\"sectionCanClose\\\",\\\"perform\\\",\\\"section\\\",\\\"updateLeadDelayEnabled\\\",\\\"hash\\\",\\\"if\\\",\\\"openSectionName\\\",\\\"previewableTasks\\\",\\\"previewConfiguration\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/operator/task-bots/leads.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"7tiHfsmx\",\"block\":\"{\\\"symbols\\\":[\\\"accordion\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"paywall\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 operator__settings__accordion\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"common/accordion-component\\\",[],[[\\\"@sectionDidOpen\\\",\\\"@sectionDidClose\\\",\\\"@initiallyOpenSectionName\\\"],[[30,[36,3],[[32,0],\\\"sectionDidOpen\\\"],null],[30,[36,3],[[32,0],\\\"sectionDidClose\\\"],null],[34,4]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"h1\\\"],[14,0,\\\"t__h1 u__mt__20\\\"],[12],[2,\\\"\\\\n      For teammates\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[8,\\\"task-bots/trigger-group\\\",[],[[\\\"@title\\\"],[\\\"When there's a Github update\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@headerClass\\\",\\\"@name\\\"],[\\\"accordion__white-header\\\",\\\"github-updates\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,9,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@subheading\\\",\\\"@icon\\\",\\\"@showEnabledLabel\\\",\\\"@enabled\\\"],[\\\"GitHub updates\\\",\\\"Add internal notes when an issue is updated\\\",\\\"github\\\",true,[34,5]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[11]}]]],[2,\\\"\\\\n        \\\"],[8,[32,9,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n        \\\"],[8,[32,9,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"task-bots/github-updates\\\",[],[[],[]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[10]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[9]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"task-bots/trigger-group\\\",[],[[\\\"@title\\\"],[\\\"When you're about to reply\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@headerClass\\\",\\\"@name\\\"],[\\\"accordion__white-header\\\",\\\"article-suggestions-inbox\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,6,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@subheading\\\",\\\"@icon\\\",\\\"@showAlwaysOnLabel\\\"],[\\\"Smart inbox suggestions\\\",\\\"Suggest articles to teammates during conversations\\\",\\\"article\\\",true]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[8]}]]],[2,\\\"\\\\n        \\\"],[8,[32,6,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n        \\\"],[8,[32,6,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"task-bots/article-suggestions-inbox\\\",[],[[],[]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[7]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[6]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n\\\"],[6,[37,7],[[30,[36,6],[\\\"canUseDuplicateConversationDetection\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"task-bots/trigger-group\\\",[],[[\\\"@title\\\"],[\\\"When a new conversation starts\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@headerClass\\\",\\\"@name\\\"],[\\\"accordion__white-header\\\",\\\"duplicate-conversation-detection\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,[32,2,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"duplicate_conversations_bot\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@subheading\\\",\\\"@icon\\\",\\\"@showEnabledLabel\\\",\\\"@enabled\\\"],[\\\"Flag possible duplicate conversations\\\",\\\"Add an internal note if the conversation could be a duplicate\\\",\\\"conversation\\\",[30,[36,2],[[35,1,[\\\"duplicateConversationDetection\\\",\\\"enabled\\\"]],[30,[36,0],[[32,5,[\\\"isActive\\\"]]],null]],null],[34,1,[\\\"duplicateConversationDetection\\\",\\\"enabled\\\"]]]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n          \\\"],[8,[32,2,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n          \\\"],[8,[32,2,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"task-bots/detect-duplicate-conversations\\\",[],[[\\\"@setting\\\",\\\"@enabled\\\",\\\"@body\\\"],[[34,1,[\\\"duplicateConversationDetection\\\"]],[34,1,[\\\"duplicateConversationDetection\\\",\\\"enabled\\\"]],[32,3]]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box messenger-preview__container o__centers-horizontally\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"img\\\"],[15,\\\"src\\\",[34,8]],[14,0,\\\"operator__settings__panel-wrapper__preview\\\"],[12],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"not\\\",\\\"settings\\\",\\\"and\\\",\\\"action\\\",\\\"section\\\",\\\"gitHubEnabled\\\",\\\"has-feature\\\",\\\"if\\\",\\\"previewUrl\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/operator/task-bots/teammates.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"bvsw+BLC\",\"block\":\"{\\\"symbols\\\":[\\\"accordion\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 operator__settings__accordion\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"common/accordion-component\\\",[],[[\\\"@sectionDidOpen\\\",\\\"@sectionDidClose\\\",\\\"@sectionCanClose\\\",\\\"@initiallyOpenSectionName\\\"],[[30,[36,0],[[32,0],\\\"sectionDidOpen\\\"],null],[30,[36,0],[[32,0],\\\"sectionDidClose\\\"],null],[30,[36,2],[[35,1]],null],[34,3]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"h1\\\"],[14,0,\\\"t__h1 u__mt__20\\\"],[12],[2,\\\"\\\\n      For users\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[8,\\\"task-bots/trigger-group\\\",[],[[\\\"@title\\\"],[\\\"When users start a conversation\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center mb-4\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"pr-3\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"ic-on-off-toggle\\\",[],[[\\\"@isOn\\\",\\\"@onClick\\\"],[[34,4,[\\\"userDelayEnabled\\\"]],[30,[36,2],[[35,5]],null]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n          Leave a 2 minute delay before triggering the following Task Bots during \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@query\\\"],[\\\"apps.app.messenger\\\",[30,[36,6],null,[[\\\"section\\\"],[\\\"availability\\\"]]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            office hours\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@headerClass\\\",\\\"@name\\\"],[\\\"accordion__white-header\\\",\\\"upfront-collection-users\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,14,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@subheading\\\",\\\"@icon\\\",\\\"@showEnabledLabel\\\",\\\"@enabled\\\"],[\\\"Get context about issues upfront\\\",\\\"Collect information for efficiency and triaging\\\",\\\"data-collection\\\",true,[30,[36,7],[[35,4,[\\\"upfrontCollection\\\",\\\"enabledForUsers\\\"]]],null]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[16]}]]],[2,\\\"\\\\n        \\\"],[8,[32,14,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n        \\\"],[8,[32,14,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"task-bots/upfront-collection\\\",[],[[\\\"@enabled\\\",\\\"@upfrontCollection\\\",\\\"@body\\\"],[[34,4,[\\\"upfrontCollection\\\",\\\"enabledForUsers\\\"]],[34,4,[\\\"upfrontCollection\\\"]],[32,15]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[15]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[14]}]]],[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@headerClass\\\",\\\"@name\\\"],[\\\"accordion__white-header\\\",\\\"team-availability-users\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,11,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@subheading\\\",\\\"@icon\\\",\\\"@showEnabledLabel\\\",\\\"@enabled\\\"],[\\\"Share your typical reply time\\\",\\\"Set users expectations for your team's availability\\\",\\\"stop-automatically\\\",true,[30,[36,7],[[35,4,[\\\"teamAvailability\\\",\\\"enabledForUsers\\\"]]],null]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[13]}]]],[2,\\\"\\\\n        \\\"],[8,[32,11,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n        \\\"],[8,[32,11,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"task-bots/team-availability\\\",[],[[\\\"@enabled\\\",\\\"@teamAvailability\\\",\\\"@body\\\"],[[34,4,[\\\"teamAvailability\\\",\\\"enabledForUsers\\\"]],[34,4,[\\\"teamAvailability\\\"]],[32,12]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[12]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[11]}]]],[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"section-link\\\"]],[],[[],[]],null],[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@headerClass\\\",\\\"@name\\\"],[\\\"accordion__white-header\\\",\\\"article-suggestions-users\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,8,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@subheading\\\",\\\"@icon\\\",\\\"@showEnabledLabel\\\",\\\"@enabled\\\"],[\\\"Suggest help articles\\\",\\\"Send relevant help articles\\\",\\\"article\\\",true,[30,[36,7],[[35,4,[\\\"articleSuggestions\\\",\\\"enabledForUsers\\\"]],[30,[36,8],[\\\"hasHelpCenter\\\"],null]],null]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[10]}]]],[2,\\\"\\\\n        \\\"],[8,[32,8,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n        \\\"],[8,[32,8,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"task-bots/article-suggestions\\\",[],[[\\\"@articleSuggestions\\\",\\\"@enabled\\\",\\\"@body\\\"],[[34,4,[\\\"articleSuggestions\\\"]],[34,4,[\\\"articleSuggestions\\\",\\\"enabledForUsers\\\"]],[32,9]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[9]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[8]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,\\\"task-bots/trigger-group\\\",[],[[\\\"@title\\\"],[\\\"When users react with 😞 on a help article\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@headerClass\\\",\\\"@name\\\"],[\\\"accordion__white-header\\\",\\\"article-auto-reaction-users\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,5,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@icon\\\",\\\"@showEnabledLabel\\\",\\\"@enabled\\\"],[\\\"Offer additional help\\\",\\\"article-feedback\\\",true,[30,[36,7],[[35,4,[\\\"articleAutoReaction\\\",\\\"enabledForUsers\\\"]],[30,[36,8],[\\\"hasHelpCenter\\\"],null]],null]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[7]}]]],[2,\\\"\\\\n        \\\"],[8,[32,5,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n        \\\"],[8,[32,5,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"task-bots/article-auto-reaction\\\",[],[[\\\"@articleAutoReaction\\\",\\\"@body\\\",\\\"@enabled\\\",\\\"@userRole\\\"],[[34,4,[\\\"articleAutoReaction\\\"]],[32,6],[34,4,[\\\"articleAutoReaction\\\",\\\"enabledForUsers\\\"]],\\\"user\\\"]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[6]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,\\\"task-bots/trigger-group\\\",[],[[\\\"@title\\\"],[\\\"When a conversation is closed\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@headerClass\\\",\\\"@name\\\"],[\\\"accordion__white-header\\\",\\\"conversation-rating-users\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,2,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@subheading\\\",\\\"@icon\\\",\\\"@showEnabledLabel\\\",\\\"@enabled\\\"],[\\\"Ask for conversation rating\\\",\\\"Ask for feedback on how the conversation went\\\",\\\"conversation-rating\\\",true,[30,[36,7],[[35,4,[\\\"conversationRating\\\",\\\"enabledForUsers\\\"]],[30,[36,8],[\\\"canUseConversationRatings\\\"],null]],null]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n        \\\"],[8,[32,2,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n        \\\"],[8,[32,2,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"task-bots/conversation-rating\\\",[],[[\\\"@conversationRating\\\",\\\"@enabled\\\",\\\"@body\\\"],[[34,4,[\\\"conversationRating\\\"]],[34,4,[\\\"conversationRating\\\",\\\"enabledForUsers\\\"]],[32,3]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box messenger-preview__container o__centers-horizontally\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"task-bots/messenger-preview\\\",[],[[\\\"@settings\\\",\\\"@openSectionName\\\",\\\"@previewableTasks\\\",\\\"@configuration\\\"],[[34,4],[34,9],[34,10],[34,11]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"sectionCanClose\\\",\\\"perform\\\",\\\"section\\\",\\\"settings\\\",\\\"updateUserDelayEnabled\\\",\\\"hash\\\",\\\"and\\\",\\\"has-feature\\\",\\\"openSectionName\\\",\\\"previewableTasks\\\",\\\"previewConfiguration\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/operator/task-bots/users.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"3sxreLsZ\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1 js__main-container o__scrolls\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,3,[\\\"canUseContentOrientedNavigation\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"outbound/submenu-component\\\",[],[[\\\"@toggleSearch\\\",\\\"@showSearch\\\"],[[30,[36,1],[[32,0],\\\"toggleSearch\\\"],null],[34,2]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"messages/submenu-component\\\",[],[[\\\"@toggleSearch\\\",\\\"@showSearch\\\"],[[30,[36,1],[[32,0],\\\"toggleSearch\\\"],null],[34,2]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"main__content-outlet layout__box o__has-rows o__flexes-to-1 \\\",[30,[36,4],[[35,5,[\\\"navbarCollapsed\\\"]],\\\"o__without-submenu\\\"],null]]]],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"intercomrade-warning\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        Live users will be contacted if messages are set live. You \\\"],[10,\\\"strong\\\"],[12],[2,\\\"must\\\"],[13],[2,\\\" follow\\\\n        \\\"],[10,\\\"a\\\"],[14,6,\\\"https://docs.google.com/document/d/1MNOMt1UKAWYBO2Vkcl-CJlrR6Vt-vgLF3AM3N3XFVfI\\\"],[12],[2,\\\"\\\\n          these rules\\\\n        \\\"],[13],[2,\\\"\\\\n        before creating any new message.\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[8,\\\"messages/email-verification-banner-component\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,8],[[35,7],[35,0,[\\\"inactive\\\"]],[35,6]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"pulse/full-width-banner\\\",[],[[\\\"@color\\\"],[\\\"blue-dark\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          Send targeted messages to the right people at the right time.\\\\n          \\\"],[8,\\\"start-product-trial-link\\\",[],[[\\\"@product\\\"],[[34,0]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            Try Messages Essential →\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[8,\\\"banners/missing-shipping-address\\\",[],[[],[]],null],[2,\\\"\\\\n      \\\"],[1,[30,[36,10],[[30,[36,9],null,null]],null]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"product\\\",\\\"action\\\",\\\"showSearch\\\",\\\"app\\\",\\\"if\\\",\\\"appController\\\",\\\"canUseFree\\\",\\\"notOnVisitorAutoMessagesRoute\\\",\\\"and\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"ITrPKrDN\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"pulse/full-width-banner\\\",[[24,0,\\\"flex flex-row items-center justify-center gap-2 py-5\\\"]],[[\\\"@color\\\"],[\\\"black\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[1,[30,[36,7],[\\\"new\\\"],null]],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[14,0,\\\"py-1\\\"],[12],[2,\\\"Build your orchestrations visually with \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\"],[\\\"apps.app.outbound.series.index\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Series\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[14,0,\\\"animate-arrow-right\\\"],[12],[1,[30,[36,8],[\\\"regular-path\\\"],null]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n\\\"],[10,\\\"div\\\"],[14,\\\"data-intercom-target\\\",\\\"Outbound Home All List\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"outbound/list-header\\\",[],[[\\\"@data\\\",\\\"@createContent\\\",\\\"@templates\\\"],[[32,0,[\\\"bannerData\\\"]],[32,0,[\\\"createContent\\\"]],[32,0,[\\\"templates\\\"]]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"ml-6 mr-6\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"outbound__filter-and-count-block\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"outbound/filters\\\",[],[[\\\"@filterContent\\\",\\\"@selectedAudienceValues\\\",\\\"@selectedStateValue\\\",\\\"@selectedSenderValue\\\",\\\"@selectedTagValues\\\",\\\"@selectedMatchBehaviorValues\\\",\\\"@messagesTags\\\"],[[32,0,[\\\"filterContent\\\"]],[32,0,[\\\"selectedAudienceValues\\\"]],[32,0,[\\\"selectedStateValue\\\"]],[32,0,[\\\"selectedSenderValue\\\"]],[32,0,[\\\"selectedTagValues\\\"]],[32,0,[\\\"selectedMatchBehaviorValues\\\"]],[32,0,[\\\"messagesTags\\\"]]]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center pt-4 pb-2\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"u__mt__10 u__mb__10\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"outbound/list-count\\\",[],[[\\\"@hasSelectedContentWrappers\\\",\\\"@totalCount\\\",\\\"@selectedCount\\\",\\\"@contentType\\\"],[[32,0,[\\\"hasSelectedContentWrappers\\\"]],[32,0,[\\\"totalCount\\\"]],[32,0,[\\\"selectedContentWrappers\\\",\\\"length\\\"]],\\\"message\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"hasSelectedContentWrappers\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"u__ml__20\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"outbound/bulk-tag\\\",[],[[\\\"@selectedContentWrappers\\\",\\\"@onAfterSave\\\"],[[32,0,[\\\"selectedContentWrappers\\\"]],[30,[36,6],[[32,0],\\\"updateMessagesTags\\\"],null]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"isLoading\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[32,0,[\\\"hasItemsToDisplay\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"mt-2\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"outbound/list-component\\\",[],[[\\\"@data\\\",\\\"@columns\\\",\\\"@statisticColumns\\\",\\\"@loadMore\\\",\\\"@sortUpdate\\\",\\\"@sortBy\\\",\\\"@sortDirection\\\",\\\"@currentPage\\\",\\\"@pageSize\\\",\\\"@lastPageHit\\\",\\\"@totalPages\\\"],[[32,0,[\\\"model\\\"]],[30,[36,5],[[30,[36,4],null,[[\\\"valuePath\\\"],[\\\"checkBox\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"title\\\",\\\"Title\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"minWidth\\\"],[\\\"version\\\",\\\"130px\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"state\\\",\\\"State\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sender\\\",\\\"Sender\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\"],[\\\"contentTypes\\\",\\\"Content type\\\",\\\"180px\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sentCount\\\",\\\"Sent\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"goalPercent\\\",\\\"Goal\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"audienceTypes\\\",\\\"People type\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\",\\\"isSortable\\\"],[\\\"createdAt\\\",\\\"Created at\\\",\\\"144px\\\",[30,[36,3],[\\\"canUseSortInOutboundHome\\\"],null]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\",\\\"isSortable\\\"],[\\\"firstWentLiveAt\\\",[30,[36,2],[[32,0,[\\\"outboundHomeService\\\",\\\"selectedTabIsOngoing\\\"]],\\\"First set live\\\",\\\"Date sent\\\"],null],\\\"120px\\\",[30,[36,3],[\\\"canUseSortInOutboundHome\\\"],null]]]]],null],[30,[36,5],[[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"sentCount\\\",[32,0,[\\\"statisticKeys\\\",\\\"receipts\\\"]]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"goalPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"goals\\\"]]]]]],null],[32,0,[\\\"loadMore\\\"]],[30,[36,6],[[32,0],\\\"sortUpdate\\\"],null],[32,0,[\\\"sortBy\\\"]],[32,0,[\\\"sortDirection\\\"]],[32,0,[\\\"pageFrom\\\"]],[32,0,[\\\"perPage\\\"]],[32,0,[\\\"lastPageHit\\\"]],[32,0,[\\\"totalPages\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"outbound/empty-state\\\",[],[[\\\"@icon\\\",\\\"@humanReadableObjectName\\\",\\\"@createContent\\\",\\\"@hasAppliedFilter\\\",\\\"@resetFilters\\\"],[\\\"outbound\\\",[32,0,[\\\"selectedObjectType\\\"]],[30,[36,0],[[32,0],\\\"showContentCreationModal\\\",true],null],[32,0,[\\\"hasAppliedFilter\\\"]],[32,0,[\\\"resetFilters\\\"]]]],null],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"showContentCreationModal\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"messages/message-creation-modal\\\",[],[[\\\"@isTargetingLeads\\\",\\\"@createNewMessage\\\",\\\"@closeModal\\\",\\\"@templates\\\",\\\"@selectedObjectType\\\"],[false,[32,0,[\\\"createContent\\\"]],[30,[36,1],[[30,[36,0],[[32,0],\\\"showContentCreationModal\\\",false],null]],null],[32,0,[\\\"templates\\\"]],[32,0,[\\\"bannerData\\\",\\\"selectedObjectType\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"set\\\",\\\"fn\\\",\\\"if\\\",\\\"has-feature\\\",\\\"hash\\\",\\\"array\\\",\\\"action\\\",\\\"inline-svg\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/all.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"H85mkHEu\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/auto.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"8527vptZ\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"o__flexes-to-1\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 message__list-legacy__message-list-title\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"common/hamburger-menu\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"h1\\\"],[14,0,\\\"t__h1 u__left\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,6],[[35,5]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"common/expanding-one-way-input\\\",[[24,\\\"placeholder\\\",\\\"Enter a folder name\\\"],[24,0,\\\"t__h1 message__editor__header__title-input js__folder-title-input o__truncated\\\"]],[[\\\"@value\\\",\\\"@update\\\",\\\"@onenter\\\",\\\"@onescape\\\",\\\"@focusOut\\\"],[[34,10,[\\\"name\\\"]],[30,[36,0],[[32,0],\\\"updateName\\\"],null],[30,[36,0],[[32,0],\\\"onEnter\\\"],null],[30,[36,0],[[32,0],\\\"onEscape\\\"],null],[30,[36,0],[[32,0],\\\"onFocusOut\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[30,[36,6],[[30,[36,17],[[35,16],[30,[36,15],[[35,14]],null]],null],[35,13],[35,12]],null]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"u__padl__10 u__left\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,6],[[35,9,[\\\"length\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"span\\\"],[14,0,\\\"t__group-label u__left message__list-legacy__selected-count js__selected-count\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[35,9,[\\\"length\\\"]]],[2,\\\" selected\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[8,\\\"messages/folders/message-folder-and-campaign-assignment-component\\\",[],[[\\\"@folder\\\",\\\"@assignMessagesToFolder\\\",\\\"@assignMessagesToCampaign\\\",\\\"@messagesWithComplexPredicatesSelected\\\"],[[34,10],\\\"assignMessagesToFolder\\\",\\\"assignMessagesToCampaign\\\",[34,11]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,6],[[35,8]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"u__padl__10 u__left\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"messages/folders/message-folder-removal-component\\\",[],[[\\\"@selectedMessages\\\",\\\"@removeMessagesFromSingleFolder\\\",\\\"@removeMessagesFromMultipleFolders\\\"],[[34,8],\\\"removeMessagesFromSingleFolder\\\",\\\"removeMessagesFromMultipleFolders\\\"]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,18],[[35,16]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns u__right\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,6],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"action-dropdown-component\\\",[],[[\\\"@dropdownOptions\\\",\\\"@taskGroup\\\",\\\"@classNames\\\"],[[34,3],[34,4],\\\"u__mr__10\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@jsBindingClass\\\",\\\"@onClick\\\"],[\\\"primary\\\",\\\"js__ghostinspector__create-new-message\\\",[30,[36,0],[[32,0],\\\"transitionToNewMessage\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[1,[30,[36,7],[\\\"auto-message\\\"],null]],[2,\\\" New auto message\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,6],[[35,1]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"messages/message-creation-modal\\\",[],[[\\\"@isTargetingLeads\\\",\\\"@createNewMessage\\\",\\\"@closeModal\\\"],[false,[30,[36,0],[[32,0],\\\"createNewMessage\\\"],null],[30,[36,0],[[32,0],[30,[36,2],[[35,1]],null],false],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"showCreateMessageModal\\\",\\\"mut\\\",\\\"dropdownOptions\\\",\\\"folderTaskGroup\\\",\\\"inFolderView\\\",\\\"if\\\",\\\"ic-interface-icon\\\",\\\"selectedMessagesWithFolder\\\",\\\"selected\\\",\\\"folder\\\",\\\"anySelectedMessageHasComplexPredicates\\\",\\\"pageTitle\\\",\\\"searchPageTitle\\\",\\\"isYourView\\\",\\\"not\\\",\\\"isSearch\\\",\\\"and\\\",\\\"unless\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/auto/partials/-auto-message-list-table-heading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"3wnAxkJN\",\"block\":\"{\\\"symbols\\\":[\\\"message\\\",\\\"banner\\\",\\\"banner\\\",\\\"banner\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-columns\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 ember-view\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,0],[[30,[36,17],[[35,43,[\\\"inactive\\\"]],[35,46,[\\\"canUseFree\\\"]],[30,[36,38],[[35,21]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"pulse/full-width-banner\\\",[],[[\\\"@color\\\"],[\\\"blue-dark\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,0],[[35,44]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[1,[30,[36,0],[[30,[36,45],[[35,44],100],null],\\\"You've reached\\\",\\\"You're almost at\\\"],null]],[2,\\\"\\\\n            your Active People limit (\\\"],[1,[34,44]],[2,\\\" out of 100). To get unlimited customer messaging,\\\\n            \\\"],[8,\\\"start-product-trial-link\\\",[],[[\\\"@product\\\"],[[34,43]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              try Messages Essential →\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            Capture more leads on your website with targeted, personalized auto messages.\\\\n            \\\"],[8,\\\"start-product-trial-link\\\",[],[[\\\"@product\\\"],[[34,43]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              Try Messages Essential →\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[19,\\\"apps/app/outbound/auto/partials/auto-message-list-table-heading\\\",[]],[2,\\\" \\\"],[6,[37,0],[[35,12]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"message__list__tabs tabs__discrete-tab__container u__cf\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"messages/folders/message-folder-state-switch-header-component\\\",[],[[\\\"@folder\\\",\\\"@state\\\",\\\"@changeState\\\"],[[34,41],[34,42],[30,[36,1],[[32,0],\\\"changeState\\\"],null]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,0],[[30,[36,40],[[35,39],[30,[36,38],[[35,37]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"message__list__tabs tabs__discrete-tab__container u__cf u__padt__20\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"link-to\\\",[[24,0,\\\"tabs__discrete-tab\\\"]],[[\\\"@route\\\",\\\"@query\\\",\\\"@activeClass\\\",\\\"@current-when\\\"],[[34,22],[30,[36,23],null,[[\\\"search_term\\\",\\\"admin_id\\\"],[\\\"\\\",\\\"\\\"]]],\\\"o__selected\\\",[34,22]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[11,\\\"span\\\"],[4,[38,1],[[32,0],\\\"resetSearchTerm\\\"],null],[12],[2,\\\"\\\\n              All\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"tabs__tab__counter\\\"],[12],[2,\\\"\\\\n                (\\\"],[1,[30,[36,25],[[35,24]],null]],[2,\\\")\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[8,\\\"link-to\\\",[[24,0,\\\"tabs__discrete-tab\\\"]],[[\\\"@route\\\",\\\"@query\\\",\\\"@activeClass\\\",\\\"@current-when\\\"],[[34,26],[30,[36,23],null,[[\\\"search_term\\\",\\\"admin_id\\\"],[\\\"\\\",\\\"\\\"]]],\\\"o__selected\\\",[34,26]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[11,\\\"span\\\"],[4,[38,1],[[32,0],\\\"clickedSidebarOption\\\",\\\"live\\\"],null],[12],[2,\\\"\\\\n              Live\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"tabs__tab__counter\\\"],[12],[2,\\\"\\\\n                (\\\"],[1,[30,[36,25],[[35,27]],null]],[2,\\\")\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[8,\\\"link-to\\\",[[24,0,\\\"tabs__discrete-tab\\\"]],[[\\\"@route\\\",\\\"@query\\\",\\\"@activeClass\\\",\\\"@current-when\\\"],[[34,28],[30,[36,23],null,[[\\\"search_term\\\",\\\"admin_id\\\"],[\\\"\\\",\\\"\\\"]]],\\\"o__selected\\\",[34,28]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[11,\\\"span\\\"],[4,[38,1],[[32,0],\\\"clickedSidebarOption\\\",\\\"draft\\\"],null],[12],[2,\\\"\\\\n              Drafts\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"tabs__tab__counter\\\"],[12],[2,\\\"\\\\n                (\\\"],[1,[30,[36,25],[[35,29]],null]],[2,\\\")\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[8,\\\"link-to\\\",[[24,0,\\\"tabs__discrete-tab\\\"]],[[\\\"@route\\\",\\\"@query\\\",\\\"@activeClass\\\",\\\"@current-when\\\"],[[34,30],[30,[36,23],null,[[\\\"search_term\\\",\\\"admin_id\\\"],[\\\"\\\",\\\"\\\"]]],\\\"o__selected\\\",[34,30]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[11,\\\"span\\\"],[4,[38,1],[[32,0],\\\"clickedSidebarOption\\\",\\\"stopped\\\"],null],[12],[2,\\\"\\\\n              Paused\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"tabs__tab__counter\\\"],[12],[2,\\\"\\\\n                (\\\"],[1,[30,[36,25],[[35,31]],null]],[2,\\\")\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[8,\\\"link-to\\\",[[24,0,\\\"tabs__discrete-tab\\\"]],[[\\\"@route\\\",\\\"@query\\\",\\\"@activeClass\\\",\\\"@current-when\\\"],[[34,32],[30,[36,23],null,[[\\\"search_term\\\",\\\"admin_id\\\"],[\\\"\\\",\\\"\\\"]]],\\\"o__selected\\\",[34,32]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[11,\\\"span\\\"],[4,[38,1],[[32,0],\\\"clickedSidebarOption\\\",\\\"scheduled\\\"],null],[12],[2,\\\"\\\\n              Scheduled\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"tabs__tab__counter\\\"],[12],[2,\\\"\\\\n                (\\\"],[1,[30,[36,25],[[35,33]],null]],[2,\\\")\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[8,\\\"link-to\\\",[[24,0,\\\"tabs__discrete-tab\\\"]],[[\\\"@route\\\",\\\"@query\\\",\\\"@activeClass\\\",\\\"@current-when\\\"],[[34,34],[30,[36,23],null,[[\\\"search_term\\\",\\\"admin_id\\\"],[\\\"\\\",[35,35]]]],\\\"o__selected\\\",[34,34]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[11,\\\"span\\\"],[4,[38,1],[[32,0],\\\"clickedSidebarOption\\\",\\\"my_messages\\\"],null],[12],[2,\\\"\\\\n              Your messages\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"tabs__tab__counter\\\"],[12],[2,\\\"\\\\n                (\\\"],[1,[30,[36,25],[[35,36]],null]],[2,\\\")\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[6,[37,48],[[35,47]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[30,[36,17],[[35,21],[35,15]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"pulse/discovery-banner\\\",[[24,0,\\\"mx-8 mt-4\\\"]],[[\\\"@heading\\\",\\\"@description\\\",\\\"@dismissalType\\\",\\\"@dismissalKey\\\",\\\"@dismissalService\\\"],[\\\"Engage users with always-on messages\\\",\\\"Send messages to users in your app, or by email or push, whenever they meet certain criteria. You can also set up multiple messages in an ongoing campaign.\\\",\\\"got-it-button\\\",\\\"engage_user_auto_messages\\\",[30,[36,14],[\\\"banner-dismissal-service\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,4,[\\\"HelpLink\\\"]],[],[[\\\"@type\\\",\\\"@title\\\",\\\"@href\\\"],[\\\"article\\\",\\\"Learn more\\\",\\\"https://www.intercom.com/help/intercom-s-key-features-explained/sending-messages/how-auto-messages-work\\\"]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,0],[[30,[36,17],[[35,16],[35,20]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"pulse/discovery-banner\\\",[[24,0,\\\"mx-8 mt-4\\\"]],[[\\\"@heading\\\",\\\"@description\\\",\\\"@dismissalType\\\",\\\"@dismissalKey\\\",\\\"@dismissalService\\\"],[\\\"Reach out to potential leads\\\",\\\"Send messages to people on your website so you can welcome visitors, identify potential leads, and get the conversation started.\\\",\\\"close-icon\\\",\\\"capture_convert_vam_onboarding_cta\\\",[30,[36,14],[\\\"banner-dismissal-service\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,3,[\\\"Button\\\"]],[[4,[38,19],[\\\"click\\\",[30,[36,18],[\\\"apps.app.outbound.messages.visitor-auto.new\\\"],null]],null]],[[\\\"@icon\\\",\\\"@label\\\"],[\\\"auto-message\\\",\\\"New auto message\\\"]],null],[2,\\\"\\\\n            \\\"],[8,[32,3,[\\\"HelpLink\\\"]],[],[[\\\"@type\\\",\\\"@title\\\",\\\"@href\\\"],[\\\"article\\\",\\\"Learn more\\\",\\\"https://www.intercom.com/help/engaging-your-users-and-visitors/automatically-message-visitors-on-your-website\\\"]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,0],[[30,[36,17],[[35,16],[35,15]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"pulse/discovery-banner\\\",[[24,0,\\\"mx-8 mt-4\\\"]],[[\\\"@heading\\\",\\\"@description\\\",\\\"@dismissalType\\\",\\\"@dismissalKey\\\",\\\"@dismissalService\\\"],[\\\"Start conversations with visitors\\\",\\\"Send messages to your website visitors whenever they meet certain criteria, and take action when they reply.\\\",\\\"got-it-button\\\",\\\"engage_visitor_auto_messages\\\",[30,[36,14],[\\\"banner-dismissal-service\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,2,[\\\"HelpLink\\\"]],[],[[\\\"@type\\\",\\\"@title\\\",\\\"@href\\\"],[\\\"article\\\",\\\"Learn more\\\",\\\"https://www.intercom.com/help/engaging-your-users-and-visitors/automatically-message-visitors-on-your-website\\\"]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[10,\\\"div\\\"],[14,1,\\\"js__message-list-legacy__outer-container\\\"],[14,0,\\\"o__has-rows main__content layout__box o__flexes-to-1 o__scrolls ember-view u__padl__0 u__padr__0 u__padb__10 message__list-legacy__message-list-outer-container\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,48],[[35,47]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,0],[[35,13]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,0],[[35,12]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,0],[[35,7]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\"],[\\\"folder\\\",\\\"No messages found\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,0],[[35,11]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\"],[\\\"folder\\\",\\\"No auto messages in this folder\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,0],[[35,10]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\"],[\\\"folder\\\",\\\"Create a new message or move messages here\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,0],[[35,9]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                  \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\",\\\"@buttonLabel\\\",\\\"@onButtonClick\\\"],[\\\"folder\\\",[30,[36,8],[[35,6],\\\" in this folder\\\"],null],\\\"Show all messages in this folder\\\",[30,[36,1],[[32,0],\\\"changeState\\\",\\\"all\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"              \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,0],[[35,7]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\"],[\\\"outbound\\\",\\\"No auto messages found\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"                \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\"],[\\\"outbound\\\",[34,6]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"u__padl__30\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"pagination-component\\\",[],[[\\\"@viewportSelector\\\",\\\"@scrollingContentSelector\\\",\\\"@onPageRequested\\\"],[\\\"#js__message-list-legacy__outer-container\\\",\\\"#message_table\\\",[30,[36,1],[[32,0],\\\"nextPage\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"                \\\"],[10,\\\"table\\\"],[14,1,\\\"message_table\\\"],[14,0,\\\"tbl o__fit message__list-legacy message__list-legacy__message-list-table u__padr__30\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"                  \\\"],[19,\\\"apps/app/outbound/partials/auto-message-list-table-headers\\\",[]],[2,\\\"\\\\n                  \\\"],[10,\\\"tbody\\\"],[14,0,\\\"tbl__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[[30,[36,3],[[35,2]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[32,1,[\\\"isLiveOrStopped\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                        \\\"],[19,\\\"apps/app/outbound/partials/auto-message-list-item\\\",[1]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"                        \\\"],[19,\\\"apps/app/outbound/partials/draft-auto-message-list-item\\\",[1]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]],[2,\\\"                    \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n                      \\\"],[10,\\\"td\\\"],[14,\\\"colspan\\\",\\\"100%\\\"],[14,0,\\\"message__list-legacy__loading-indicator-cell\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,0],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                          \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__centers-all\\\"],[12],[2,\\\"\\\\n                            \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"small\\\"]],null],[2,\\\"\\\\n                          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"                      \\\"],[13],[2,\\\"\\\\n                    \\\"],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__centers-all\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"if\\\",\\\"action\\\",\\\"messages\\\",\\\"-track-array\\\",\\\"each\\\",\\\"isLoading\\\",\\\"emptyStateLabel\\\",\\\"hasSearchTerm\\\",\\\"concat\\\",\\\"shouldDisplayShowAllInFolderLink\\\",\\\"isAllView\\\",\\\"hasNoMessagesInFolder\\\",\\\"inFolderView\\\",\\\"hasNoItemsToDisplay\\\",\\\"service\\\",\\\"hasNoLiveOrStoppedMessages\\\",\\\"isVisitorAudience\\\",\\\"and\\\",\\\"transition-to\\\",\\\"on\\\",\\\"isSalesSolutionApp\\\",\\\"isUserAudience\\\",\\\"allMessageRoute\\\",\\\"hash\\\",\\\"allMessageCount\\\",\\\"numeric-formatter-helper\\\",\\\"liveMessageRoute\\\",\\\"liveMessageCount\\\",\\\"draftMessageRoute\\\",\\\"draftMessageCount\\\",\\\"pausedMessageRoute\\\",\\\"stoppedMessageCount\\\",\\\"scheduledMessageRoute\\\",\\\"scheduledMessageCount\\\",\\\"ownedByAdminMessageRoute\\\",\\\"currentAdminId\\\",\\\"ownedByAdminMessageCount\\\",\\\"isSearch\\\",\\\"not\\\",\\\"isYourView\\\",\\\"or\\\",\\\"folder\\\",\\\"state\\\",\\\"product\\\",\\\"latestQuarterlyActivePeopleCount\\\",\\\"gte\\\",\\\"app\\\",\\\"isLoadingFirstPageOrRemoteData\\\",\\\"unless\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/auto/partials/-message-list.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"N92pTpQo\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\"],\\\"statements\\\":[[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"banner_messages\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"Banner\\\"]],[],[[\\\"@content\\\"],[\\\"Upgrade to set banner messages live\\\"]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,\\\"data-intercom-target\\\",\\\"Outbound Home Banners List\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"outbound/list-header\\\",[],[[\\\"@data\\\",\\\"@createContent\\\",\\\"@templates\\\"],[[32,0,[\\\"bannerData\\\"]],[32,0,[\\\"createContent\\\"]],[32,0,[\\\"templates\\\"]]]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"ml-6 mr-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"outbound__filter-and-count-block\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"outbound/filters\\\",[],[[\\\"@filterContent\\\",\\\"@selectedAudienceValues\\\",\\\"@selectedStateValue\\\",\\\"@selectedSenderValue\\\",\\\"@selectedTagValues\\\",\\\"@selectedMatchBehaviorValues\\\",\\\"@messagesTags\\\",\\\"@hideDeliveryTypeTabs\\\"],[[32,0,[\\\"filterContent\\\"]],[32,0,[\\\"selectedAudienceValues\\\"]],[32,0,[\\\"selectedStateValue\\\"]],[32,0,[\\\"selectedSenderValue\\\"]],[32,0,[\\\"selectedTagValues\\\"]],[32,0,[\\\"selectedMatchBehaviorValues\\\"]],[32,0,[\\\"messagesTags\\\"]],true]],null],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center pt-4 pb-2\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"u__mt__10 u__mb__10\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"outbound/list-count\\\",[],[[\\\"@hasSelectedContentWrappers\\\",\\\"@totalCount\\\",\\\"@selectedCount\\\",\\\"@contentType\\\"],[[32,0,[\\\"hasSelectedContentWrappers\\\"]],[32,0,[\\\"totalCount\\\"]],[32,0,[\\\"selectedContentWrappers\\\",\\\"length\\\"]],\\\"banner\\\"]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"hasSelectedContentWrappers\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"span\\\"],[14,0,\\\"u__ml__20\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"outbound/bulk-tag\\\",[],[[\\\"@selectedContentWrappers\\\",\\\"@onAfterSave\\\"],[[32,0,[\\\"selectedContentWrappers\\\"]],[30,[36,5],[[32,0],\\\"updateMessagesTags\\\"],null]]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"isLoading\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[32,0,[\\\"hasItemsToDisplay\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"mt-2\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"outbound/list-component\\\",[],[[\\\"@data\\\",\\\"@columns\\\",\\\"@statisticColumns\\\",\\\"@loadMore\\\",\\\"@currentPage\\\",\\\"@pageSize\\\",\\\"@lastPageHit\\\",\\\"@totalPages\\\"],[[32,0,[\\\"model\\\"]],[30,[36,4],[[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"title\\\",\\\"Title\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"state\\\",\\\"State\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sentCount\\\",\\\"Sent\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"goalPercent\\\",\\\"Goal\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"audienceTypes\\\",\\\"People type\\\"]]]],null],[30,[36,4],[[30,[36,3],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"sentCount\\\",[32,0,[\\\"statisticKeys\\\",\\\"receipts\\\"]]]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"goalPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"goals\\\"]]]]]],null],[32,0,[\\\"loadMore\\\"]],[32,0,[\\\"pageFrom\\\"]],[32,0,[\\\"perPage\\\"]],[32,0,[\\\"lastPageHit\\\"]],[32,0,[\\\"totalPages\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"outbound/empty-state\\\",[],[[\\\"@icon\\\",\\\"@humanReadableObjectName\\\",\\\"@createContent\\\",\\\"@hasAppliedFilter\\\",\\\"@resetFilters\\\"],[\\\"banner-filled\\\",[32,0,[\\\"selectedObjectType\\\"]],[30,[36,0],[[32,0],\\\"showContentCreationModal\\\",true],null],[32,0,[\\\"hasAppliedFilter\\\"]],[32,0,[\\\"resetFilters\\\"]]]],null],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"showContentCreationModal\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"messages/message-creation-modal\\\",[],[[\\\"@isTargetingLeads\\\",\\\"@createNewMessage\\\",\\\"@closeModal\\\",\\\"@templates\\\",\\\"@selectedObjectType\\\"],[false,[32,0,[\\\"createContent\\\"]],[30,[36,1],[[30,[36,0],[[32,0],\\\"showContentCreationModal\\\",false],null]],null],[32,0,[\\\"templates\\\"]],[32,0,[\\\"bannerData\\\",\\\"selectedObjectType\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"set\\\",\\\"fn\\\",\\\"if\\\",\\\"hash\\\",\\\"array\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/banners/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"BUU2/Tu2\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,\\\"data-intercom-target\\\",\\\"Outbound Home Carousel List\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"pulse/full-width-banner\\\",[[24,0,\\\"flex flex-row items-center justify-center gap-2 py-5\\\"]],[[\\\"@color\\\"],[\\\"black\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[1,[30,[36,7],[\\\"new\\\"],null]],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"py-1\\\"],[12],[2,\\\"Build your orchestrations visually with \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\"],[\\\"apps.app.outbound.series.index\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Series\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"animate-arrow-right\\\"],[12],[1,[30,[36,8],[\\\"regular-path\\\"],null]],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[8,\\\"mobile/upgrade-install-banner\\\",[],[[\\\"@mobileProductName\\\",\\\"@featureKey\\\",\\\"@minimumVersion\\\",\\\"@noRoundedCorner\\\"],[\\\"Mobile Carousels\\\",\\\"mobile_carousels\\\",\\\"7.1.0\\\",true]],null],[2,\\\"\\\\n  \\\"],[8,\\\"outbound/list-header\\\",[],[[\\\"@data\\\",\\\"@createContent\\\",\\\"@templates\\\"],[[32,0,[\\\"bannerData\\\"]],[32,0,[\\\"createContent\\\"]],[32,0,[\\\"templates\\\"]]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"ml-6 mr-6\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"outbound__filter-and-count-block\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"outbound/filters\\\",[],[[\\\"@filterContent\\\",\\\"@selectedAudienceValues\\\",\\\"@selectedStateValue\\\",\\\"@selectedSenderValue\\\",\\\"@selectedTagValues\\\",\\\"@selectedMatchBehaviorValues\\\",\\\"@messagesTags\\\"],[[32,0,[\\\"filterContent\\\"]],[32,0,[\\\"selectedAudienceValues\\\"]],[32,0,[\\\"selectedStateValue\\\"]],[32,0,[\\\"selectedSenderValue\\\"]],[32,0,[\\\"selectedTagValues\\\"]],[32,0,[\\\"selectedMatchBehaviorValues\\\"]],[32,0,[\\\"messagesTags\\\"]]]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center pt-4 pb-2\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"u__mt__10 u__mb__10\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"outbound/list-count\\\",[],[[\\\"@hasSelectedContentWrappers\\\",\\\"@totalCount\\\",\\\"@selectedCount\\\",\\\"@contentType\\\"],[[32,0,[\\\"hasSelectedContentWrappers\\\"]],[32,0,[\\\"totalCount\\\"]],[32,0,[\\\"selectedContentWrappers\\\",\\\"length\\\"]],\\\"carousel\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"hasSelectedContentWrappers\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"u__ml__20\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"outbound/bulk-tag\\\",[],[[\\\"@selectedContentWrappers\\\",\\\"@onAfterSave\\\"],[[32,0,[\\\"selectedContentWrappers\\\"]],[30,[36,6],[[32,0],\\\"updateMessagesTags\\\"],null]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"isLoading\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[32,0,[\\\"hasItemsToDisplay\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"mt-2\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"outbound/list-component\\\",[],[[\\\"@data\\\",\\\"@columns\\\",\\\"@statisticColumns\\\",\\\"@loadMore\\\",\\\"@currentPage\\\",\\\"@pageSize\\\",\\\"@lastPageHit\\\",\\\"@sortUpdate\\\",\\\"@totalPages\\\"],[[32,0,[\\\"model\\\"]],[30,[36,5],[[30,[36,4],null,[[\\\"valuePath\\\"],[\\\"checkBox\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"title\\\",\\\"Title\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"minWidth\\\"],[\\\"version\\\",\\\"130px\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"state\\\",\\\"State\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sender\\\",\\\"Sender\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sentCount\\\",\\\"Sent\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"goalPercent\\\",\\\"Goal\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"completedPercent\\\",\\\"Completed\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"audienceTypes\\\",\\\"People type\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\",\\\"isSortable\\\"],[\\\"createdAt\\\",\\\"Created at\\\",\\\"144px\\\",[30,[36,3],[\\\"canUseSortInOutboundHome\\\"],null]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\",\\\"isSortable\\\"],[\\\"firstWentLiveAt\\\",[30,[36,2],[[32,0,[\\\"outboundHomeService\\\",\\\"selectedTabIsOngoing\\\"]],\\\"First set live\\\",\\\"Date sent\\\"],null],\\\"120px\\\",[30,[36,3],[\\\"canUseSortInOutboundHome\\\"],null]]]]],null],[30,[36,5],[[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"sentCount\\\",[32,0,[\\\"statisticKeys\\\",\\\"receipts\\\"]]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"goalPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"goals\\\"]]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"completedPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"completions\\\"]]]]]],null],[32,0,[\\\"loadMore\\\"]],[32,0,[\\\"pageFrom\\\"]],[32,0,[\\\"perPage\\\"]],[32,0,[\\\"lastPageHit\\\"]],[30,[36,6],[[32,0],\\\"sortUpdate\\\"],null],[32,0,[\\\"totalPages\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"outbound/empty-state\\\",[],[[\\\"@icon\\\",\\\"@humanReadableObjectName\\\",\\\"@createContent\\\",\\\"@hasAppliedFilter\\\",\\\"@resetFilters\\\"],[\\\"carousel-filled\\\",\\\"Mobile Carousel\\\",[30,[36,0],[[32,0],\\\"showContentCreationModal\\\",true],null],[32,0,[\\\"hasAppliedFilter\\\"]],[32,0,[\\\"resetFilters\\\"]]]],null],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"showContentCreationModal\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"messages/message-creation-modal\\\",[],[[\\\"@isTargetingLeads\\\",\\\"@createNewMessage\\\",\\\"@closeModal\\\",\\\"@templates\\\",\\\"@selectedObjectType\\\"],[false,[32,0,[\\\"createContent\\\"]],[30,[36,1],[[30,[36,0],[[32,0],\\\"showContentCreationModal\\\",false],null]],null],[32,0,[\\\"templates\\\"]],[32,0,[\\\"bannerData\\\",\\\"selectedObjectType\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"set\\\",\\\"fn\\\",\\\"if\\\",\\\"has-feature\\\",\\\"hash\\\",\\\"array\\\",\\\"action\\\",\\\"inline-svg\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/carousel/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"fwcJ2hiv\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,\\\"data-intercom-target\\\",\\\"Outbound Home Chat List\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"pulse/full-width-banner\\\",[[24,0,\\\"flex flex-row items-center justify-center gap-2 py-5\\\"]],[[\\\"@color\\\"],[\\\"black\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[1,[30,[36,7],[\\\"new\\\"],null]],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"py-1\\\"],[12],[2,\\\"Build your orchestrations visually with \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\"],[\\\"apps.app.outbound.series.index\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Series\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"animate-arrow-right\\\"],[12],[1,[30,[36,8],[\\\"regular-path\\\"],null]],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[8,\\\"outbound/list-header\\\",[],[[\\\"@data\\\",\\\"@createContent\\\",\\\"@templates\\\"],[[32,0,[\\\"bannerData\\\"]],[32,0,[\\\"createContent\\\"]],[32,0,[\\\"templates\\\"]]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"ml-6 mr-6\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"outbound__filter-and-count-block\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"outbound/filters\\\",[],[[\\\"@filterContent\\\",\\\"@selectedAudienceValues\\\",\\\"@selectedStateValue\\\",\\\"@selectedSenderValue\\\",\\\"@selectedTagValues\\\",\\\"@selectedMatchBehaviorValues\\\",\\\"@messagesTags\\\"],[[32,0,[\\\"filterContent\\\"]],[32,0,[\\\"selectedAudienceValues\\\"]],[32,0,[\\\"selectedStateValue\\\"]],[32,0,[\\\"selectedSenderValue\\\"]],[32,0,[\\\"selectedTagValues\\\"]],[32,0,[\\\"selectedMatchBehaviorValues\\\"]],[32,0,[\\\"messagesTags\\\"]]]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center pt-4 pb-2\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"u__mt__10 u__mb__10\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"outbound/list-count\\\",[],[[\\\"@hasSelectedContentWrappers\\\",\\\"@totalCount\\\",\\\"@selectedCount\\\",\\\"@contentType\\\"],[[32,0,[\\\"hasSelectedContentWrappers\\\"]],[32,0,[\\\"totalCount\\\"]],[32,0,[\\\"selectedContentWrappers\\\",\\\"length\\\"]],\\\"chat\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"hasSelectedContentWrappers\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"u__ml__20\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"outbound/bulk-tag\\\",[],[[\\\"@selectedContentWrappers\\\",\\\"@onAfterSave\\\"],[[32,0,[\\\"selectedContentWrappers\\\"]],[30,[36,6],[[32,0],\\\"updateMessagesTags\\\"],null]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"isLoading\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[32,0,[\\\"hasItemsToDisplay\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"mt-2\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"outbound/list-component\\\",[],[[\\\"@data\\\",\\\"@columns\\\",\\\"@statisticColumns\\\",\\\"@loadMore\\\",\\\"@currentPage\\\",\\\"@pageSize\\\",\\\"@lastPageHit\\\",\\\"@totalPages\\\"],[[32,0,[\\\"model\\\"]],[30,[36,5],[[30,[36,4],null,[[\\\"valuePath\\\"],[\\\"checkBox\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"title\\\",\\\"Title\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"minWidth\\\"],[\\\"version\\\",\\\"130px\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"state\\\",\\\"State\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sender\\\",\\\"Sender\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sentCount\\\",\\\"Sent\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"goalPercent\\\",\\\"Goal\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"openPercent\\\",\\\"Opened\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"clickPercent\\\",\\\"Clicked\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"replyPercent\\\",\\\"Replied\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"audienceTypes\\\",\\\"People type\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\",\\\"isSortable\\\"],[\\\"createdAt\\\",\\\"Created at\\\",\\\"144px\\\",[30,[36,3],[\\\"canUseSortInOutboundHome\\\"],null]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\",\\\"isSortable\\\"],[\\\"firstWentLiveAt\\\",[30,[36,2],[[32,0,[\\\"outboundHomeService\\\",\\\"selectedTabIsOngoing\\\"]],\\\"First set live\\\",\\\"Date sent\\\"],null],\\\"120px\\\",[30,[36,3],[\\\"canUseSortInOutboundHome\\\"],null]]]]],null],[30,[36,5],[[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"sentCount\\\",[32,0,[\\\"statisticKeys\\\",\\\"receipts\\\"]]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"goalPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"goals\\\"]]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"openPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"opens\\\"]]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"clickPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"clicks\\\"]]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"replyPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"replies\\\"]]]]]],null],[32,0,[\\\"loadMore\\\"]],[32,0,[\\\"pageFrom\\\"]],[32,0,[\\\"perPage\\\"]],[32,0,[\\\"lastPageHit\\\"]],[32,0,[\\\"totalPages\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"outbound/empty-state\\\",[],[[\\\"@icon\\\",\\\"@humanReadableObjectName\\\",\\\"@creationReason\\\",\\\"@createContent\\\",\\\"@hasAppliedFilter\\\",\\\"@resetFilters\\\"],[[32,0,[\\\"bannerData\\\",\\\"icon\\\"]],[32,0,[\\\"selectedObjectType\\\"]],\\\"to start a conversation with your customers.\\\",[30,[36,0],[[32,0],\\\"showContentCreationModal\\\",true],null],[32,0,[\\\"hasAppliedFilter\\\"]],[32,0,[\\\"resetFilters\\\"]]]],null],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"showContentCreationModal\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"messages/message-creation-modal\\\",[],[[\\\"@isTargetingLeads\\\",\\\"@createNewMessage\\\",\\\"@closeModal\\\",\\\"@templates\\\",\\\"@selectedObjectType\\\"],[false,[32,0,[\\\"createContent\\\"]],[30,[36,1],[[30,[36,0],[[32,0],\\\"showContentCreationModal\\\",false],null]],null],[32,0,[\\\"templates\\\"]],[32,0,[\\\"bannerData\\\",\\\"selectedObjectType\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"set\\\",\\\"fn\\\",\\\"if\\\",\\\"has-feature\\\",\\\"hash\\\",\\\"array\\\",\\\"action\\\",\\\"inline-svg\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/chat/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"9O0YAtez\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\"],\\\"statements\\\":[[8,\\\"pulse/full-width-banner\\\",[[24,0,\\\"flex flex-row items-center justify-center gap-2 py-5\\\"]],[[\\\"@color\\\"],[\\\"black\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[1,[30,[36,6],[\\\"new\\\"],null]],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[14,0,\\\"py-1\\\"],[12],[2,\\\"Build your orchestrations visually with \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\"],[\\\"apps.app.outbound.series.index\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Series\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[14,0,\\\"animate-arrow-right\\\"],[12],[1,[30,[36,7],[\\\"regular-path\\\"],null]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n\\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\",\\\"@launchModal\\\"],[[32,0,[\\\"featureKey\\\"]],[32,0,[\\\"launchUpgradeModal\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"Banner\\\"]],[],[[\\\"@content\\\"],[\\\"Upgrade to set Custom Bots live\\\"]],null],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,\\\"data-intercom-target\\\",\\\"Outbound Home Bot List\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"outbound/list-header\\\",[],[[\\\"@data\\\",\\\"@createContent\\\",\\\"@templates\\\"],[[32,0,[\\\"bannerData\\\"]],[32,0,[\\\"createContent\\\"]],[32,0,[\\\"templates\\\"]]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"ml-6 mr-6\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"outbound__filter-and-count-block\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"outbound/filters\\\",[],[[\\\"@filterContent\\\",\\\"@selectedAudienceValues\\\",\\\"@selectedStateValue\\\",\\\"@selectedSenderValue\\\",\\\"@selectedTagValues\\\",\\\"@selectedMatchBehaviorValues\\\",\\\"@messagesTags\\\",\\\"@hideDeliveryTypeTabs\\\",\\\"@hideSenderComponent\\\"],[[32,0,[\\\"filterContent\\\"]],[32,0,[\\\"selectedAudienceValues\\\"]],[32,0,[\\\"selectedStateValue\\\"]],[32,0,[\\\"selectedSenderValue\\\"]],[32,0,[\\\"selectedTagValues\\\"]],[32,0,[\\\"selectedMatchBehaviorValues\\\"]],[32,0,[\\\"messagesTags\\\"]],true,true]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center pt-4 pb-2\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"u__mt__10 u__mb__10\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"outbound/list-count\\\",[],[[\\\"@hasSelectedContentWrappers\\\",\\\"@totalCount\\\",\\\"@selectedCount\\\",\\\"@contentType\\\"],[[32,0,[\\\"hasSelectedContentWrappers\\\"]],[32,0,[\\\"totalCount\\\"]],[32,0,[\\\"selectedContentWrappers\\\",\\\"length\\\"]],\\\"custom bot\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"hasSelectedContentWrappers\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"u__ml__20\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"outbound/bulk-tag\\\",[],[[\\\"@selectedContentWrappers\\\",\\\"@onAfterSave\\\"],[[32,0,[\\\"selectedContentWrappers\\\"]],[30,[36,5],[[32,0],\\\"updateMessagesTags\\\"],null]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"isLoading\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[32,0,[\\\"hasItemsToDisplay\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"mt-2\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"outbound/list-component\\\",[],[[\\\"@data\\\",\\\"@columns\\\",\\\"@statisticColumns\\\",\\\"@sortUpdate\\\",\\\"@sortBy\\\",\\\"@sortDirection\\\",\\\"@loadMore\\\",\\\"@onReorder\\\",\\\"@currentPage\\\",\\\"@pageSize\\\",\\\"@lastPageHit\\\",\\\"@totalPages\\\"],[[32,0,[\\\"model\\\"]],[30,[36,4],[[30,[36,3],null,[[\\\"valuePath\\\"],[\\\"checkBox\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"tooltip\\\"],[\\\"priority\\\",\\\"Order bots by priority. People will only see the highest one in the list if multiple bots share the same targeting conditions.\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"title\\\",\\\"Title\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"minWidth\\\"],[\\\"version\\\",\\\"130px\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"state\\\",\\\"State\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"lastUpdatedBy\\\",\\\"Last updated by\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sentCount\\\",\\\"Sent\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"goalPercent\\\",\\\"Goal\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"engagedPercent\\\",\\\"Engaged\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"completedPercent\\\",\\\"Completed\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"audienceTypes\\\",\\\"People type\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\"],[\\\"createdAt\\\",\\\"Created at\\\",\\\"144px\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\"],[\\\"firstWentLiveAt\\\",\\\"First set live\\\",\\\"120px\\\"]]]],null],[30,[36,4],[[30,[36,3],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"sentCount\\\",[32,0,[\\\"statisticKeys\\\",\\\"receipts\\\"]]]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"goalPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"goals\\\"]]]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"engagedPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"replies\\\"]]]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"completedPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"completions\\\"]]]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"replyPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"replies\\\"]]]]]],null],[30,[36,5],[[32,0],\\\"sortUpdate\\\"],null],\\\"priority\\\",\\\"asc\\\",[32,0,[\\\"loadMore\\\"]],[32,0,[\\\"reorder\\\"]],[32,0,[\\\"pageFrom\\\"]],[32,0,[\\\"perPage\\\"]],[32,0,[\\\"lastPageHit\\\"]],[32,0,[\\\"totalPages\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"outbound/empty-state\\\",[],[[\\\"@icon\\\",\\\"@humanReadableObjectName\\\",\\\"@creationReason\\\",\\\"@createContent\\\",\\\"@hasAppliedFilter\\\",\\\"@resetFilters\\\"],[[32,0,[\\\"bannerData\\\",\\\"icon\\\"]],[32,0,[\\\"selectedObjectType\\\"]],\\\"to start a conversation with your customers.\\\",[30,[36,0],[[32,0],\\\"showContentCreationModal\\\",true],null],[32,0,[\\\"hasAppliedFilter\\\"]],[32,0,[\\\"resetFilters\\\"]]]],null],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"showContentCreationModal\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"messages/message-creation-modal\\\",[],[[\\\"@isTargetingLeads\\\",\\\"@createNewMessage\\\",\\\"@closeModal\\\",\\\"@templates\\\",\\\"@selectedObjectType\\\"],[false,[32,0,[\\\"createContent\\\"]],[30,[36,1],[[30,[36,0],[[32,0],\\\"showContentCreationModal\\\",false],null]],null],[32,0,[\\\"templates\\\"]],[32,0,[\\\"bannerData\\\",\\\"selectedObjectType\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"set\\\",\\\"fn\\\",\\\"if\\\",\\\"hash\\\",\\\"array\\\",\\\"action\\\",\\\"inline-svg\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/custom-bot/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"qN5teOHP\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\"],\\\"statements\\\":[[8,\\\"pulse/full-width-banner\\\",[[24,0,\\\"flex flex-row items-center justify-center gap-2 py-5\\\"]],[[\\\"@color\\\"],[\\\"black\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[1,[30,[36,7],[\\\"new\\\"],null]],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[14,0,\\\"py-1\\\"],[12],[2,\\\"Build your orchestrations visually with \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\"],[\\\"apps.app.outbound.series.index\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Series\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[14,0,\\\"animate-arrow-right\\\"],[12],[1,[30,[36,8],[\\\"regular-path\\\"],null]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n\\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"email_messages\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"Banner\\\"]],[],[[\\\"@content\\\"],[\\\"Upgrade to set email messages live\\\"]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,\\\"data-intercom-target\\\",\\\"Outbound Home Email List\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"outbound/list-header\\\",[],[[\\\"@data\\\",\\\"@createContent\\\",\\\"@templates\\\"],[[32,0,[\\\"bannerData\\\"]],[32,0,[\\\"createContent\\\"]],[32,0,[\\\"templates\\\"]]]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"ml-6 mr-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"outbound__filter-and-count-block\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"outbound/filters\\\",[],[[\\\"@filterContent\\\",\\\"@selectedAudienceValues\\\",\\\"@selectedStateValue\\\",\\\"@selectedSenderValue\\\",\\\"@selectedTagValues\\\",\\\"@selectedMatchBehaviorValues\\\",\\\"@messagesTags\\\"],[[32,0,[\\\"filterContent\\\"]],[32,0,[\\\"selectedAudienceValues\\\"]],[32,0,[\\\"selectedStateValue\\\"]],[32,0,[\\\"selectedSenderValue\\\"]],[32,0,[\\\"selectedTagValues\\\"]],[32,0,[\\\"selectedMatchBehaviorValues\\\"]],[32,0,[\\\"messagesTags\\\"]]]],null],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center pt-4 pb-2\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"u__mt__10 u__mb__10\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"outbound/list-count\\\",[],[[\\\"@hasSelectedContentWrappers\\\",\\\"@totalCount\\\",\\\"@selectedCount\\\",\\\"@contentType\\\"],[[32,0,[\\\"hasSelectedContentWrappers\\\"]],[32,0,[\\\"totalCount\\\"]],[32,0,[\\\"selectedContentWrappers\\\",\\\"length\\\"]],\\\"message\\\"]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"hasSelectedContentWrappers\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"span\\\"],[14,0,\\\"u__ml__20\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"outbound/bulk-tag\\\",[],[[\\\"@selectedContentWrappers\\\",\\\"@onAfterSave\\\"],[[32,0,[\\\"selectedContentWrappers\\\"]],[30,[36,6],[[32,0],\\\"updateMessagesTags\\\"],null]]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"isLoading\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[32,0,[\\\"hasItemsToDisplay\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"mt-2\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"outbound/list-component\\\",[],[[\\\"@data\\\",\\\"@columns\\\",\\\"@statisticColumns\\\",\\\"@loadMore\\\",\\\"@sortUpdate\\\",\\\"@sortBy\\\",\\\"@sortDirection\\\",\\\"@currentPage\\\",\\\"@pageSize\\\",\\\"@lastPageHit\\\",\\\"@totalPages\\\"],[[32,0,[\\\"model\\\"]],[30,[36,5],[[30,[36,4],null,[[\\\"valuePath\\\"],[\\\"checkBox\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"title\\\",\\\"Title\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"minWidth\\\"],[\\\"version\\\",\\\"130px\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"state\\\",\\\"State\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sender\\\",\\\"Sender\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sentCount\\\",\\\"Sent\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"goalPercent\\\",\\\"Goal\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"openPercent\\\",\\\"Opened\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"clickPercent\\\",\\\"Clicked\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"replyPercent\\\",\\\"Replied\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"failedPercent\\\",\\\"Failed\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"audienceTypes\\\",\\\"People type\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\"],[\\\"lastSent\\\",\\\"Last sent\\\",\\\"144px\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\",\\\"isSortable\\\"],[\\\"createdAt\\\",\\\"Created at\\\",\\\"144px\\\",[30,[36,3],[\\\"canUseSortInOutboundHome\\\"],null]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\",\\\"isSortable\\\"],[\\\"firstWentLiveAt\\\",[30,[36,2],[[32,0,[\\\"outboundHomeService\\\",\\\"selectedTabIsOngoing\\\"]],\\\"First set live\\\",\\\"Date sent\\\"],null],\\\"120px\\\",[30,[36,3],[\\\"canUseSortInOutboundHome\\\"],null]]]]],null],[30,[36,5],[[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"sentCount\\\",[32,0,[\\\"statisticKeys\\\",\\\"receipts\\\"]]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"goalPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"goals\\\"]]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"openPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"opens\\\"]]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"clickPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"clicks\\\"]]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"replyPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"replies\\\"]]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"failedPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"emailFailures\\\"]]]]]],null],[32,0,[\\\"loadMore\\\"]],[30,[36,6],[[32,0],\\\"sortUpdate\\\"],null],[32,0,[\\\"sortBy\\\"]],[32,0,[\\\"sortDirection\\\"]],[32,0,[\\\"pageFrom\\\"]],[32,0,[\\\"perPage\\\"]],[32,0,[\\\"lastPageHit\\\"]],[32,0,[\\\"totalPages\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"outbound/empty-state\\\",[],[[\\\"@icon\\\",\\\"@humanReadableObjectName\\\",\\\"@createContent\\\",\\\"@hasAppliedFilter\\\",\\\"@resetFilters\\\"],[\\\"email-filled\\\",[32,0,[\\\"selectedObjectType\\\"]],[30,[36,0],[[32,0],\\\"showContentCreationModal\\\",true],null],[32,0,[\\\"hasAppliedFilter\\\"]],[32,0,[\\\"resetFilters\\\"]]]],null],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"showContentCreationModal\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"messages/message-creation-modal\\\",[],[[\\\"@isTargetingLeads\\\",\\\"@createNewMessage\\\",\\\"@closeModal\\\",\\\"@templates\\\",\\\"@selectedObjectType\\\"],[false,[32,0,[\\\"createContent\\\"]],[30,[36,1],[[30,[36,0],[[32,0],\\\"showContentCreationModal\\\",false],null]],null],[32,0,[\\\"templates\\\"]],[32,0,[\\\"bannerData\\\",\\\"selectedObjectType\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"set\\\",\\\"fn\\\",\\\"if\\\",\\\"has-feature\\\",\\\"hash\\\",\\\"array\\\",\\\"action\\\",\\\"inline-svg\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/email/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"lYvLEXnf\",\"block\":\"{\\\"symbols\\\":[\\\"app\\\"],\\\"statements\\\":[[6,[37,3],[[30,[36,2],[[30,[36,1],[\\\"app-service\\\"],null],\\\"app\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[32,1,[\\\"canUseContentOrientedNavigation\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-rows\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"outbound/list-header\\\",[],[[\\\"@data\\\",\\\"@createContent\\\"],[[32,0,[\\\"bannerData\\\"]],[32,0,[\\\"createContent\\\"]]]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 ml-6 mr-6 outbound__filter-and-count-block\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"outbound/filters\\\",[],[[\\\"@filterContent\\\",\\\"@selectedAudienceValues\\\",\\\"@selectedStateValue\\\",\\\"@selectedSenderValue\\\",\\\"@selectedTagValues\\\",\\\"@selectedMatchBehaviorValues\\\",\\\"@messagesTags\\\"],[[32,0,[\\\"filterContent\\\"]],[32,0,[\\\"selectedAudienceValues\\\"]],[32,0,[\\\"selectedStateValue\\\"]],[32,0,[\\\"selectedSenderValue\\\"]],[32,0,[\\\"selectedTagValues\\\"]],[32,0,[\\\"selectedMatchBehaviorValues\\\"]],[32,0,[\\\"messagesTags\\\"]]]],null],[2,\\\"\\\\n        \\\"],[8,\\\"outbound/list-count\\\",[],[[],[]],null],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"service\\\",\\\"get\\\",\\\"let\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Synkva4k\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@modalClass\\\"],[[30,[36,1],[[35,0],\\\"o__inboxcsv\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n          Export\\\\n\\\"],[6,[37,1],[[35,2]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            message\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            conversation\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          data\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n        \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button test__message-data-export__close-modal\\\"],[4,[38,3],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,4],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__centers-vertically\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"u__padr__20\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,2]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            For messages sent within\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            For conversations started between\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"reporting/date-range-filter\\\",[],[[\\\"@scrollParentSelector\\\",\\\"@disabled\\\",\\\"@range\\\",\\\"@timezone\\\",\\\"@updateRange\\\",\\\"@maximumSelectionWindowInYears\\\"],[\\\".js__main-container\\\",[34,5],[32,0,[\\\"range\\\"]],[32,0,[\\\"range\\\",\\\"timezone\\\"]],[30,[36,3],[[32,0],\\\"updateRange\\\"],null],[30,[36,1],[[35,0],1],null]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"p\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,2]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          This will email a CSV of all message data sent within the selected date range.\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          You'll get a single CSV by email.\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        This can take a few hours at peak times.\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@disabled\\\",\\\"@onClick\\\",\\\"@testBindingClass\\\"],[[30,[36,1],[[35,5],\\\"Preparing export...\\\",\\\"Export\\\"],null],\\\"primary\\\",[34,5],[30,[36,3],[[32,0],\\\"enqueueExport\\\"],null],\\\"test__message-data-export__enqueue\\\"]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"respondExport\\\",\\\"if\\\",\\\"messagesDataExport\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"enqueuingExport\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/message-data-export-modal.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"9z+nP3bW\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\"],\\\"statements\\\":[[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[[34,0,[\\\"feature\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"Banner\\\"]],[],[[\\\"@content\\\"],[[31,[\\\"Upgrade to set \\\",[30,[36,37],[[35,0,[\\\"type\\\"]]],null],\\\" messages live\\\"]]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__scrolls message__editor__container__wrapper js__message-view-and-edit-component__container\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,39],[[30,[36,38],[[35,0,[\\\"isDeleted\\\"]],[35,0,[\\\"isDestroying\\\"]]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"message-editor/view-and-edit-component\\\",[],[[\\\"@message\\\",\\\"@version\\\",\\\"@activeView\\\",\\\"@inverted\\\",\\\"@isEditing\\\",\\\"@showCreateMessageModal\\\",\\\"@selectedReaction\\\",\\\"@goalFilter\\\",\\\"@linkFilter\\\",\\\"@operatorQualificationPanelIsEnabled\\\",\\\"@tasks\\\",\\\"@messageActionsTaskGroup\\\",\\\"@userActiveOnPage\\\",\\\"@changeVersion\\\",\\\"@changeView\\\",\\\"@startABTest\\\",\\\"@edit\\\",\\\"@bulkMessage\\\",\\\"@bulkTag\\\",\\\"@openMoveModal\\\",\\\"@openExportModal\\\",\\\"@openCreateMessageModal\\\",\\\"@toggleAutoSave\\\",\\\"@checkVersionLock\\\"],[[34,0],[34,1],[34,2],[34,3],[34,4],[34,5],[34,6],[34,7],[34,8],[34,9],[30,[36,34],null,[[\\\"autoSave\\\",\\\"activate\\\",\\\"deactivate\\\",\\\"delete\\\",\\\"duplicate\\\",\\\"move\\\",\\\"stop\\\",\\\"saveAndAddSchedule\\\",\\\"removeSchedule\\\",\\\"activateVariation\\\",\\\"deactivateVariation\\\",\\\"deleteVariation\\\",\\\"cancelAndReturnToSummary\\\",\\\"saveAndReturnToSummary\\\",\\\"saveAndActivate\\\",\\\"startABTestOnEditingPage\\\",\\\"startControlGroupOnEditingPage\\\",\\\"fetchMessageAudiencePreview\\\",\\\"fetchCampaignMessageAudiencePreview\\\",\\\"fetchSampleUser\\\",\\\"generateHtmlPreview\\\",\\\"deleteControlGroup\\\",\\\"endControlGroup\\\",\\\"changeSubclassType\\\"],[[35,33],[35,32],[35,31],[35,30],[35,29],[35,28],[35,27],[35,26],[35,25],[35,24],[35,23],[35,22],[35,21],[35,20],[35,19],[35,18],[35,17],[35,16],[35,15],[35,14],[35,13],[35,12],[35,11],[35,10]]]],[34,35],[30,[36,36],[[32,0],\\\"userActiveOnPage\\\"],null],[30,[36,36],[[32,0],\\\"changeVersion\\\"],null],[30,[36,36],[[32,0],\\\"changeView\\\"],null],[30,[36,36],[[32,0],\\\"startABTest\\\"],null],[30,[36,36],[[32,0],\\\"edit\\\"],null],[30,[36,36],[[32,0],\\\"bulkMessage\\\"],null],[30,[36,36],[[32,0],\\\"bulkTag\\\"],null],[30,[36,36],[[32,0],\\\"openMoveModal\\\"],null],[30,[36,36],[[32,0],\\\"openExportModal\\\"],null],[30,[36,36],[[32,0],\\\"openCreateMessageModal\\\"],null],[30,[36,36],[[32,0],\\\"toggleAutoSave\\\"],null],[30,[36,36],[[32,0],\\\"checkVersionLock\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"message\\\",\\\"version\\\",\\\"viewing\\\",\\\"inverted\\\",\\\"isEditing\\\",\\\"showCreateMessageModal\\\",\\\"selectedReaction\\\",\\\"goalFilter\\\",\\\"linkFilter\\\",\\\"operatorQualificationPanelIsEnabled\\\",\\\"changeSubclassType\\\",\\\"endControlGroup\\\",\\\"deleteControlGroup\\\",\\\"generateHtmlPreview\\\",\\\"fetchSampleUser\\\",\\\"fetchCampaignMessageAudiencePreview\\\",\\\"fetchMessageAudiencePreview\\\",\\\"startControlGroupOnEditingPage\\\",\\\"startABTestOnEditingPage\\\",\\\"saveAndActivate\\\",\\\"saveAndReturnToSummary\\\",\\\"cancelAndReturnToSummary\\\",\\\"deleteVariation\\\",\\\"deactivateVariation\\\",\\\"activateVariation\\\",\\\"removeSchedule\\\",\\\"saveAndAddSchedule\\\",\\\"stop\\\",\\\"move\\\",\\\"duplicate\\\",\\\"delete\\\",\\\"deactivate\\\",\\\"activate\\\",\\\"autoSave\\\",\\\"hash\\\",\\\"messageActions\\\",\\\"action\\\",\\\"lowercase\\\",\\\"or\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/message.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"RWNsGIJ9\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/outbound/auto/partials/message-list\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/auto/all.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"rrpfe4bO\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/auto/campaigns.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"huJ91bW0\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 ember-view\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"campaigns/series-migration-banner\\\",[],[[\\\"@campaign\\\"],[[32,0,[\\\"campaign\\\"]]]],null],[2,\\\"\\\\n  \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/auto/campaigns/campaign.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"B88pKXW/\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\"],\\\"statements\\\":[[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"smart_campaigns\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"Banner\\\"]],[],[[\\\"@content\\\"],[\\\"Upgrade to publish campaigns\\\"]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"campaign__outer-container u__pad__30 u__padb__60\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"campaigns/headers/page-header\\\",[],[[\\\"@isEditing\\\",\\\"@title\\\",\\\"@campaign\\\",\\\"@isValidToSend\\\",\\\"@openModal\\\",\\\"@activateCampaign\\\",\\\"@deactivateCampaign\\\",\\\"@deleteCampaign\\\",\\\"@duplicateCampaign\\\",\\\"@openCampaignEntry\\\",\\\"@closeCampaignEntry\\\",\\\"@updateCampaignTitle\\\",\\\"@openExportModal\\\"],[[34,1],[34,0,[\\\"title\\\"]],[34,0],[34,2],[30,[36,3],[\\\"openModal\\\"],null],[30,[36,3],[\\\"activateCampaign\\\"],null],[30,[36,3],[\\\"deactivateCampaign\\\"],null],[30,[36,3],[\\\"deleteCampaign\\\"],null],[30,[36,3],[\\\"duplicateCampaign\\\"],null],[30,[36,3],[\\\"openCampaignEntry\\\"],null],[30,[36,3],[\\\"closeCampaignEntry\\\"],null],[30,[36,3],[\\\"updateCampaignTitle\\\"],null],[30,[36,3],[\\\"openExportModal\\\"],null]]],null],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,0,[\\\"isSuspended\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__padb__20\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\",\\\"@isFloating\\\"],[\\\"warning\\\",[34,0,[\\\"suspensionBannerText\\\"]],true]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[8,\\\"campaigns/setup/campaign-setup\\\",[],[[\\\"@campaign\\\",\\\"@isEditing\\\",\\\"@saveCampaign\\\",\\\"@cancelCampaignChanges\\\"],[[34,0],[34,1],[30,[36,3],[\\\"saveCampaign\\\"],null],[30,[36,3],[\\\"cancelCampaignChanges\\\"],null]]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"campaign__list-view campaign__card card \\\",[30,[36,4],[[35,1],\\\"o__disabled\\\"],null]]]],[12],[2,\\\"\\\\n        \\\"],[8,\\\"campaigns/list/list-header\\\",[],[[\\\"@campaign\\\",\\\"@selected\\\",\\\"@createNewCampaignMessage\\\",\\\"@openModal\\\",\\\"@skipTemplatesModal\\\"],[[34,0],[34,5],[30,[36,3],[\\\"createNewCampaignMessage\\\"],null],[30,[36,3],[\\\"openModal\\\"],null],[34,6]]],null],[2,\\\"\\\\n        \\\"],[8,\\\"campaigns/list/list-body\\\",[],[[\\\"@campaign\\\",\\\"@reorderCampaign\\\",\\\"@disableMessageDragging\\\"],[[34,0],[30,[36,3],[\\\"reorderCampaign\\\"],null],[34,7]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"campaign\\\",\\\"editing\\\",\\\"isValidCampaign\\\",\\\"route-action\\\",\\\"if\\\",\\\"selected\\\",\\\"skipTemplatesModal\\\",\\\"disableMessageDragging\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/auto/campaigns/campaign/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Y72Ax2SE\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"campaigns/headers/user-page-header-component\\\",[],[[\\\"@campaign\\\",\\\"@filter\\\"],[[34,0],[32,0,[\\\"filter\\\"]]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 u__pad__20 o__scrolls js__user__list__outer-container\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"campaigns/user-list\\\",[],[[\\\"@campaign\\\",\\\"@users\\\",\\\"@totalCount\\\",\\\"@currentPredicateGroup\\\",\\\"@memberType\\\",\\\"@headerLabel\\\",\\\"@isLoadingNextPage\\\",\\\"@loadNextPage\\\",\\\"@filter\\\"],[[34,0],[34,1],[34,2],[34,3],[34,0,[\\\"memberType\\\"]],[34,4],[34,5],[30,[36,6],[\\\"loadNextPage\\\"],null],[32,0,[\\\"filter\\\"]]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"campaign\\\",\\\"users\\\",\\\"totalCount\\\",\\\"currentPredicateGroup\\\",\\\"headerLabel\\\",\\\"isLoadingNextPage\\\",\\\"route-action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/auto/campaigns/campaign/users.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"OhvOx6Dd\",\"block\":\"{\\\"symbols\\\":[\\\"modal\\\",\\\"paywall\\\",\\\"banner\\\",\\\"links\\\"],\\\"statements\\\":[[6,[37,6],[[32,0,[\\\"app\\\",\\\"canUseSeries\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"pulse/full-width-banner\\\",[[24,0,\\\"flex flex-row items-center justify-center gap-2 py-5\\\"]],[[\\\"@color\\\"],[\\\"black\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[1,[30,[36,4],[\\\"new\\\"],null]],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"py-1\\\"],[12],[2,\\\"Build your orchestrations visually with \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\"],[\\\"apps.app.outbound.series.index\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Series\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"animate-arrow-right\\\"],[12],[1,[30,[36,5],[\\\"regular-path\\\"],null]],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"smart_campaigns\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,2,[\\\"Banner\\\"]],[],[[\\\"@content\\\"],[\\\"Upgrade to publish campaigns\\\"]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"pulse/hero-banner\\\",[],[[\\\"@svg\\\",\\\"@title\\\",\\\"@description\\\",\\\"@scrollSelector\\\"],[\\\"campaign\\\",\\\"Campaigns\\\",\\\"Engage your customers to complete a goal with a series of linked messages.\\\",\\\".main__content-outlet .o__scrolls\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,3,[\\\"Links\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,6],[[32,0,[\\\"app\\\",\\\"canUseContentOrientedNavigation\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,4,[\\\"Link\\\"]],[[24,\\\"data-track-analytics-event-object\\\",\\\"how_to_get_started_link\\\"]],[[\\\"@title\\\",\\\"@href\\\",\\\"@type\\\"],[\\\"How to get started\\\",\\\"https://www.intercom.com/help/en/articles/3292851-get-started-with-smart-campaigns\\\",\\\"article\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,4,[\\\"Link\\\"]],[],[[\\\"@title\\\",\\\"@href\\\",\\\"@type\\\"],[\\\"How to get started\\\",\\\"https://www.intercom.com/help/en/articles/1806-how-to-create-a-smart-campaign\\\",\\\"article\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[8,[32,4,[\\\"Link\\\"]],[[24,\\\"data-track-analytics-event-object\\\",\\\"how_campaigns_work_link\\\"]],[[\\\"@title\\\",\\\"@href\\\",\\\"@type\\\"],[\\\"Learn how campaigns work\\\",\\\"https://www.intercom.com/help/en/collections/2091449-sending-messages-and-building-smart-campaigns#how-campaigns-work-and-how-to-create-one\\\",\\\"article\\\"]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n      \\\"],[8,[32,3,[\\\"Action\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,6],[[32,0,[\\\"app\\\",\\\"canUseSeries\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"New campaign\\\",\\\"primary\\\",[30,[36,0],[[32,0],\\\"showSeriesPrompt\\\",true],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"New campaign\\\",\\\"primary\\\",[30,[36,1],[[32,0],\\\"createNewCampaign\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__padl__30 u__padr__30\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"campaigns/campaign-list\\\",[],[[\\\"@campaigns\\\",\\\"@isLoading\\\",\\\"@counts\\\",\\\"@state\\\",\\\"@emptyStateLabel\\\",\\\"@nextPage\\\",\\\"@sortBy\\\",\\\"@sortColumn\\\",\\\"@sortDirection\\\",\\\"@skipTemplatesModal\\\"],[[32,0,[\\\"campaigns\\\"]],[32,0,[\\\"isLoading\\\"]],[32,0,[\\\"campaignCounts\\\"]],[32,0,[\\\"state\\\"]],[32,0,[\\\"emptyStateLabel\\\"]],[30,[36,1],[[32,0],\\\"nextPage\\\"],null],[30,[36,1],[[32,0],\\\"sortBy\\\"],null],[32,0,[\\\"sortColumn\\\"]],[32,0,[\\\"sortDirection\\\"]],[32,0,[\\\"skipTemplatesModal\\\"]]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\\n\\\"],[6,[37,6],[[32,0,[\\\"showSeriesPrompt\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"ic-modal\\\",[],[[\\\"@onModalClose\\\",\\\"@width\\\"],[[30,[36,0],[[32,0],\\\"showSeriesPrompt\\\",false],null],\\\"s\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"header\\\"]],[],[[\\\"@title\\\"],[\\\"New! Sequence your messaging\\\"]],null],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-4\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"img\\\"],[14,\\\"src\\\",\\\"/assets/svgs/series/create-series-prompt.svg\\\"],[14,\\\"alt\\\",\\\"Create a series illustration\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n          Now you can orchestrate your messages with our intuitive visual builder. Introducing Series!\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"footer\\\"]],[],[[\\\"@primaryButton\\\",\\\"@secondaryButton\\\"],[[30,[36,3],null,[[\\\"label\\\",\\\"action\\\"],[\\\"Create a Series\\\",[30,[36,2],[[30,[36,0],[[32,0],\\\"showSeriesPrompt\\\",false],null],[30,[36,0],[[32,0],\\\"showNewSeriesModal\\\",true],null]],null]]]],[30,[36,3],null,[[\\\"label\\\",\\\"action\\\"],[\\\"Create a campaign\\\",[30,[36,1],[[32,0],\\\"createNewCampaign\\\"],null]]]]]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,6],[[32,0,[\\\"showNewSeriesModal\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"outbound/new-content-modal\\\",[],[[\\\"@onClose\\\",\\\"@createContent\\\",\\\"@templates\\\"],[[30,[36,0],[[32,0],\\\"showNewSeriesModal\\\",false],null],[30,[36,1],[[32,0],\\\"createNewSeries\\\"],null],[32,0,[\\\"seriesTemplates\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"set\\\",\\\"action\\\",\\\"queue\\\",\\\"hash\\\",\\\"inline-svg\\\",\\\"ic-interface-icon\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/auto/campaigns/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"bG48O1+A\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\",\\\"message\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Resume campaign\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,0],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,1],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n      This will allow new users enter the campaign and set these messages live: \\\"],[10,\\\"ul\\\"],[14,5,\\\"list-style: none\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[[30,[36,3],[[35,2,[\\\"messages\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"input\\\"],[15,\\\"checked\\\",[32,3,[\\\"selected\\\"]]],[15,\\\"onchange\\\",[30,[36,0],[[32,0],\\\"selectMessage\\\",[32,3]],null]],[14,4,\\\"checkbox\\\"],[12],[13],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"link-to\\\",[[24,\\\"target\\\",\\\"_blank\\\"],[24,0,\\\"t__em-link\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"apps.app.outbound.message\\\",[32,3,[\\\"id\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                \\\"],[1,[32,3,[\\\"title\\\"]]],[2,\\\"\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n      Users who have seen any of these messages before won't see them again.\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Cancel\\\",\\\"secondary\\\",[30,[36,0],[[32,0],\\\"closeIntercomModal\\\"],null]]],null],[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[\\\"Resume campaign\\\",\\\"primary\\\",[30,[36,0],[[32,0],\\\"resumeCampaign\\\"],null],[30,[36,6],[[35,5]],null]]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"ic-interface-icon\\\",\\\"campaign\\\",\\\"-track-array\\\",\\\"each\\\",\\\"hasMessagesToResume\\\",\\\"not\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/auto/campaigns/modals/resume-campaign.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"x4UWLA78\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\",\\\"@modalClass\\\"],[\\\"closeModal\\\",\\\"campaign__spacing-editor-guide-modal o__wide campaign-modal__preload o__others\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"style\\\"],[12],[2,\\\"\\\\n    .campaign-modal__preload.o__others:before {\\\\n      background: url('/assets/images/spacing-editor-guide/spacing-2-2x.png'),\\\\n                  url('/assets/images/spacing-editor-guide/spacing-3-2x.png');\\\\n    }\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        How does it work?\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,3],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,4],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"campaign-modal__body modal__body u__relative\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[30,[36,1],[[35,0],1],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"img\\\"],[14,\\\"src\\\",\\\"/assets/images/spacing-editor-guide/spacing-1-2x.png\\\"],[14,0,\\\"campaign-modal__img\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[35,0],2],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"img\\\"],[14,\\\"src\\\",\\\"/assets/images/spacing-editor-guide/spacing-2-2x.png\\\"],[14,0,\\\"campaign-modal__img\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[35,0],3],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"img\\\"],[14,\\\"src\\\",\\\"/assets/images/spacing-editor-guide/spacing-3-2x.png\\\"],[14,0,\\\"campaign-modal__img\\\"],[12],[13],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"campaign-modal__description-container layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"campaign-modal__description t__centered\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"h4\\\"],[14,0,\\\"t__h4\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[34,0]],[2,\\\" of 3\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[34,5]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__footer u__cf u__center-layout\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[[34,6],\\\"primary\\\",[30,[36,3],[[32,0],\\\"next\\\"],null]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"step\\\",\\\"eq\\\",\\\"if\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"currentStepContents\\\",\\\"nextButtonLabel\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/auto/campaigns/modals/spacing-editor-guide.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Ui1k7/0+\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/outbound/auto/partials/message-list\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/auto/draft.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"nvh7Srkv\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__centers-all\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"small\\\"]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/auto/edit-loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Op+t+b4W\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/outbound/auto/partials/message-list\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/auto/folders/folder.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"VcUsz+KB\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/outbound/auto/partials/message-list\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/auto/live.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"UD+Isva2\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__centers-all\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"small\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/auto/loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"9U9Ods6r\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1 js__main-container\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/auto/new.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"fbM/GjqA\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/outbound/auto/partials/message-list\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/auto/paused.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"3jskDCD9\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/outbound/auto/partials/message-list\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/auto/scheduled.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"N+CP4JIR\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-rows\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"messages/vertical-message-search\\\",[],[[\\\"@searchTermQueryParam\\\",\\\"@adminIdQueryParam\\\",\\\"@doSearch\\\",\\\"@resetSearch\\\"],[[34,1],[34,4],[30,[36,5],[[32,0],\\\"doSearch\\\"],null],[30,[36,5],[[32,0],\\\"resetSearch\\\"],null]]],null],[2,\\\"\\\\n  \\\"],[19,\\\"apps/app/outbound/partials/message-search-tabs\\\",[]],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,6,[\\\"isRunning\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[35,3,[\\\"length\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[19,\\\"apps/app/outbound/auto/partials/message-list\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[35,1]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\"],[\\\"outbound\\\",\\\"No messages found\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"search-empty-state\\\",[],[[\\\"@context\\\",\\\"@exitSearch\\\"],[\\\"messages\\\",[34,0]]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"toggleSearch\\\",\\\"search_term\\\",\\\"if\\\",\\\"messages\\\",\\\"admin_id\\\",\\\"action\\\",\\\"searchTask\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/auto/search.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"xKMFdm5o\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/outbound/auto/partials/message-list\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/auto/yours.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"xxEl8BVD\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/outbound/partials/engage-manual-message-list\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/manual/draft.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"tl60W2R3\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__centers-all\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"small\\\"]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/manual/edit-loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"S45+UGAi\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__centers-all\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"small\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/manual/loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"9lisfOlt\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/outbound/partials/engage-manual-message-list\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/manual/scheduled.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"edNlZbp2\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-rows\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"messages/vertical-message-search\\\",[],[[\\\"@searchTermQueryParam\\\",\\\"@adminIdQueryParam\\\",\\\"@doSearch\\\",\\\"@resetSearch\\\"],[[34,1],[34,4],[30,[36,5],[[32,0],\\\"doSearch\\\"],null],[30,[36,5],[[32,0],\\\"resetSearch\\\"],null]]],null],[2,\\\"\\\\n  \\\"],[19,\\\"apps/app/outbound/partials/message-search-tabs\\\",[]],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,6,[\\\"isRunning\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[35,3,[\\\"length\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[19,\\\"apps/app/outbound/partials/engage-manual-message-list\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[35,1]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\"],[\\\"outbound\\\",\\\"No messages found\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"search-empty-state\\\",[],[[\\\"@context\\\",\\\"@exitSearch\\\"],[\\\"messages\\\",[34,0]]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"toggleSearch\\\",\\\"search_term\\\",\\\"if\\\",\\\"messages\\\",\\\"admin_id\\\",\\\"action\\\",\\\"searchTask\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/manual/search.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"j8CaYmI1\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/outbound/partials/engage-manual-message-list\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/manual/sent-via-api.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"BUtrMZMF\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/outbound/partials/engage-manual-message-list\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/manual/sent.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"BaHM1Tpk\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"messages/message-search-component\\\",[],[[\\\"@doSearch\\\",\\\"@exitSearch\\\",\\\"@admins\\\",\\\"@searchString\\\",\\\"@type\\\",\\\"@product\\\"],[[30,[36,0],[[32,0],\\\"searchAllMessages\\\"],null],[30,[36,0],[[32,0],\\\"resetSearchTerm\\\"],null],[34,1,[\\\"humanAdmins\\\"]],[34,2],[34,3],[34,1,[\\\"messagesProduct\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"app\\\",\\\"search_term_input\\\",\\\"type\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/search.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"fnMXae6u\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/outbound/auto/partials/message-list\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/visitor-auto/all.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"NpjB+KkE\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/outbound/auto/partials/message-list\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/visitor-auto/draft.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"vjR+PbY0\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__centers-all\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"small\\\"]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/visitor-auto/edit-loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"cvmp4AfV\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/outbound/auto/partials/message-list\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/visitor-auto/live.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"8Z8UIQE6\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__centers-all\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"small\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/visitor-auto/loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"phRgXV3x\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1 js__main-container\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/visitor-auto/new.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"aH1zDMWG\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/outbound/auto/partials/message-list\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/visitor-auto/paused.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"yt53Hevt\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/outbound/auto/partials/message-list\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/visitor-auto/scheduled.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"nAvsLFPs\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-rows\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"messages/vertical-message-search\\\",[],[[\\\"@searchTermQueryParam\\\",\\\"@adminIdQueryParam\\\",\\\"@doSearch\\\",\\\"@resetSearch\\\"],[[34,1],[34,4],[30,[36,5],[[32,0],\\\"doSearch\\\"],null],[30,[36,5],[[32,0],\\\"resetSearch\\\"],null]]],null],[2,\\\"\\\\n  \\\"],[19,\\\"apps/app/outbound/partials/message-search-tabs\\\",[]],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,6,[\\\"isRunning\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[35,3,[\\\"length\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[19,\\\"apps/app/outbound/auto/partials/message-list\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[35,1]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\"],[\\\"outbound\\\",\\\"No messages found\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"search-empty-state\\\",[],[[\\\"@context\\\",\\\"@exitSearch\\\"],[\\\"messages\\\",[34,0]]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"toggleSearch\\\",\\\"search_term\\\",\\\"if\\\",\\\"messages\\\",\\\"admin_id\\\",\\\"action\\\",\\\"searchTask\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/visitor-auto/search.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"slBl26XH\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/outbound/auto/partials/message-list\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/messages/visitor-auto/yours.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"mokBPkeF\",\"block\":\"{\\\"symbols\\\":[\\\"dependentMessage\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@modalClass\\\",\\\"@closeModal\\\"],[\\\"o__medium test__message__editor__dependencies\\\",\\\"closeModal\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header u__cf flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        This message has dependencies\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,0],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,2],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body o__no-footer u__pad__30\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-rows o__scrolls\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"p\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[35,3,[\\\"length\\\"]]],[2,\\\" other \\\"],[1,[30,[36,4],[\\\"message\\\",[35,3,[\\\"length\\\"]]],null]],[2,\\\" in\\\\n        \\\"],[11,\\\"a\\\"],[24,0,\\\"t__em-link\\\"],[4,[38,0],[[32,0],\\\"openCampaign\\\",[35,5,[\\\"campaign\\\",\\\"id\\\"]]],null],[12],[2,\\\"\\\\n          \\\"],[1,[35,5,[\\\"campaign\\\",\\\"title\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[1,[30,[36,4],[\\\"has\\\",[35,3,[\\\"length\\\"]]],null]],[2,\\\" rules which are dependent on this message. Before you can delete this message, you'll need to remove these rules from the dependent \\\"],[1,[30,[36,4],[\\\"message\\\",[35,3,[\\\"length\\\"]]],null]],[2,\\\".\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-rows\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"        \\\"],[10,\\\"table\\\"],[14,0,\\\"tbl o__fit\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"          \\\"],[10,\\\"thead\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n              Dependent Messages\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"tbody\\\"],[14,0,\\\"tbl__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[30,[36,6],[[30,[36,6],[[35,3]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"tr\\\"],[14,0,\\\"test__message__editor__behavior-dependency\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n                  \\\"],[11,\\\"a\\\"],[24,0,\\\"t__em-link\\\"],[4,[38,0],[[32,0],\\\"openMessage\\\",[32,1,[\\\"id\\\"]]],null],[12],[2,\\\"\\\\n                    \\\"],[1,[32,1,[\\\"title\\\"]]],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[1,[30,[36,1],[[32,1,[\\\"state\\\"]]],null]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"ic-stamp\\\",\\\"ic-interface-icon\\\",\\\"campaignDependencies\\\",\\\"inflector-helper\\\",\\\"message\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/modals/dependencies.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"O5k6m28s\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"components/modal/message\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/modals/message.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"34k2yjrL\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\",\\\"dependentMessage\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@modalClass\\\",\\\"@closeModal\\\",\\\"@shimClass\\\"],[\\\"message__modal__move__container test__message__modal__move\\\",\\\"closeModal\\\",\\\"show_overflow\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header u__cf flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Move message\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,8],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,11],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body u__pad__20\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,12,[\\\"canUseContentOrientedNavigation\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"p\\\"],[14,0,\\\"t__left\\\"],[12],[2,\\\"\\\\n          Choose a campaign:\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"p\\\"],[14,0,\\\"t__left\\\"],[12],[2,\\\"\\\\n          Choose a campaign or folder:\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"message__modal__move__dropdown-container u__center-layout\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[8,\\\"message-editor/folder-and-campaign-mover\\\",[],[[\\\"@folder\\\",\\\"@campaign\\\",\\\"@itemSelected\\\",\\\"@itemRemoved\\\",\\\"@message\\\"],[[34,13],[34,14],[30,[36,8],[[32,0],\\\"itemSelected\\\"],null],[30,[36,8],[[32,0],\\\"itemRemoved\\\"],null],[34,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,6]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\"],[\\\"warning\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[35,6,[\\\"length\\\"]]],[2,\\\" other \\\"],[1,[30,[36,7],[\\\"message\\\",[35,6,[\\\"length\\\"]]],null]],[2,\\\" in\\\\n            \\\"],[11,\\\"a\\\"],[24,0,\\\"t__em-link\\\"],[4,[38,8],[[32,0],\\\"openCampaign\\\",[35,1,[\\\"campaign\\\",\\\"id\\\"]]],null],[12],[2,\\\"\\\\n              \\\"],[1,[35,1,[\\\"campaign\\\",\\\"title\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[1,[30,[36,7],[\\\"has\\\",[35,6,[\\\"length\\\"]]],null]],[2,\\\" rules which are dependent on this message. Before you can move this message, you'll need to remove these rules from the dependent \\\"],[1,[30,[36,7],[\\\"message\\\",[35,6,[\\\"length\\\"]]],null]],[2,\\\".\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"ul\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,10],[[30,[36,9],[[30,[36,9],[[35,6]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[10,\\\"a\\\"],[14,0,\\\"t__em-link\\\"],[15,6,[30,[36,4],[\\\"apps.app.outbound.message\\\",[32,3]],null]],[12],[2,\\\"\\\\n                  \\\"],[1,[32,3,[\\\"title\\\"]]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n                \\\"],[1,[30,[36,5],[[32,3,[\\\"state\\\"]]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,3],[[30,[36,2],[[35,1,[\\\"isCampaignMessage\\\"]],[35,0]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\"],[\\\"warning\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          This campaign's entry rules won't apply to this message if you move it.\\\"],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n          \\\"],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n          We'll pause the message as soon as you move it, so you can review its rules before putting it live again.\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\",\\\"@testBindingClass\\\"],[\\\"primary\\\",[30,[36,8],[[32,0],\\\"move\\\"],null],[30,[36,2],[[35,16],[35,15]],null],\\\"test__message__modal__move-btn\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,3],[[35,16]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          Moving…\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          Move\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"campaign\\\",\\\"message\\\",\\\"or\\\",\\\"if\\\",\\\"href-to\\\",\\\"ic-stamp\\\",\\\"campaignMessageDependencies\\\",\\\"inflector-helper\\\",\\\"action\\\",\\\"-track-array\\\",\\\"each\\\",\\\"ic-interface-icon\\\",\\\"app\\\",\\\"existingFolder\\\",\\\"existingCampaign\\\",\\\"isDisabled\\\",\\\"isMoving\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/modals/move-message.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"E25+F9gV\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[8,\\\"message-editor/content/email/modal/send-test-email\\\",[],[[\\\"@admin\\\",\\\"@variation\\\"],[[34,0],[34,1]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"admin\\\",\\\"variation\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/modals/send-test-email.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"GJpT1+wJ\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/users-and-companies/modals/tag\\\",[]],[2,\\\"\\\\n\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/modals/tag.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"jhKo3m2k\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@modalClass\\\",\\\"@closeModal\\\"],[\\\"o__medium\\\",\\\"closeModal\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header u__cf flex items-start test__message-editor__version-lock-modal\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Message has been updated\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body o__no-footer u__padl__40 u__padr__40 u__padt__30 u__padb__30\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"    \\\"],[10,\\\"table\\\"],[14,0,\\\"u__center-layout\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"      \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"td\\\"],[14,0,\\\"u__padr__10\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"ic-avatar-component\\\",[],[[\\\"@model\\\",\\\"@size\\\"],[[34,0],\\\"s\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"td\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"b\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,1]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"              You\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"              \\\"],[1,[35,0,[\\\"first_name\\\"]]],[1,[35,0,[\\\"last_name\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n          updated this message \\\"],[1,[34,3]],[2,\\\".\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-layout\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[\\\"primary\\\",[30,[36,4],[[32,0],\\\"reloadModel\\\"],null],[34,5]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,2],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"tiny\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        Show the latest version\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"lockingAdmin\\\",\\\"isLastEditingAdmin\\\",\\\"if\\\",\\\"lastUpdatedAgo\\\",\\\"action\\\",\\\"isReloading\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/modals/version-lock.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"s3+e2Vbe\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"tr\\\"],[15,0,[31,[[30,[36,2],[[35,0,[\\\"selected\\\"]],\\\"message__list-legacy__selected-row\\\"],null],\\\" tbl__row\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,1]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[19,\\\"apps/app/outbound/partials/table-cells/message-selection-cell\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[8,\\\"messages/lists/description-cell\\\",[],[[\\\"@message\\\"],[[34,0]]],null],[2,\\\"\\\\n\\\"],[6,[37,2],[[30,[36,3],[[35,0,[\\\"hasMultipleVariations\\\"]],[35,0,[\\\"hasControlGroup\\\"]]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[19,\\\"apps/app/outbound/partials/table-cells/auto/multi-variant-message-variation-labels-cell\\\",[]],[2,\\\"\\\\n    \\\"],[19,\\\"apps/app/outbound/partials/table-cells/auto/multi-variant-message-from-cell\\\",[]],[2,\\\"\\\\n    \\\"],[19,\\\"apps/app/outbound/partials/table-cells/auto/multi-variant-auto-message-stats-table-cells\\\",[]],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,1]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[19,\\\"apps/app/outbound/partials/table-cells/auto/multi-variant-message-type-cell\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[19,\\\"apps/app/outbound/partials/table-cells/auto/multi-variant-message-created-at-cell\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__contains-variation-list twk__message-list-legacy__variation-label-cell tests__variations-cell\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[19,\\\"apps/app/outbound/partials/table-cells/manual/single-variant-message-from-cell\\\",[]],[2,\\\"\\\\n    \\\"],[19,\\\"apps/app/outbound/partials/table-cells/auto/single-variant-auto-message-stats-table-cells\\\",[]],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,1]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[19,\\\"apps/app/outbound/partials/table-cells/manual/single-variant-message-type-cell\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[19,\\\"apps/app/outbound/partials/table-cells/manual/single-variant-message-created-at-cell\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,2],[[35,4]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__contains-variation-list\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[15,\\\"title\\\",[31,[[34,0,[\\\"formattedFirstWentLiveAtDate\\\"]]]]],[12],[2,\\\"\\\\n          \\\"],[1,[35,0,[\\\"displayFirstWentLiveAtDate\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,2],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__contains-variation-list\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[15,\\\"title\\\",[31,[[34,0,[\\\"formattedStoppedAtDate\\\"]]]]],[12],[2,\\\"\\\\n          \\\"],[1,[35,0,[\\\"displayStoppedAtDate\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"message\\\",\\\"isUserAudience\\\",\\\"if\\\",\\\"or\\\",\\\"isLiveView\\\",\\\"isStoppedView\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/-auto-message-list-item.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"32t0z3sz\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"thead\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,11]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[14,\\\"colspan\\\",\\\"2\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"t__solo-link\\\"],[4,[38,2],[[32,0],\\\"sortByColumn\\\",\\\"title\\\"],null],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[12],[2,\\\"Title\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,20]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[1,[30,[36,1],null,[[\\\"descending\\\"],[[35,0]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,21]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n        \\\"],[11,\\\"a\\\"],[24,0,\\\"t__solo-link\\\"],[4,[38,2],[[32,0],\\\"sortByColumn\\\",\\\"send_at\\\"],null],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,3],[\\\"calendar\\\"],null]],[10,\\\"span\\\"],[12],[2,\\\"Scheduled\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,19]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[1,[30,[36,1],null,[[\\\"descending\\\"],[[35,0]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"From\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,23],[[35,22]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,5],[[35,8,[\\\"messageCountIsLessThanSortLimit\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n          \\\"],[11,\\\"a\\\"],[24,0,\\\"t__solo-link\\\"],[4,[38,2],[[32,0],\\\"sortByColumn\\\",\\\"sent_count\\\"],null],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,3],[\\\"person\\\"],null]],[10,\\\"span\\\"],[12],[2,\\\"Sent\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,13]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[1,[30,[36,1],null,[[\\\"descending\\\"],[[35,0]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n          \\\"],[11,\\\"a\\\"],[24,0,\\\"t__solo-link\\\"],[4,[38,2],[[32,0],\\\"sortByColumn\\\",\\\"opened_count\\\"],null],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,3],[\\\"visible\\\"],null]],[10,\\\"span\\\"],[12],[2,\\\"Opened\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,14]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[1,[30,[36,1],null,[[\\\"descending\\\"],[[35,0]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n          \\\"],[11,\\\"a\\\"],[24,0,\\\"t__solo-link\\\"],[4,[38,2],[[32,0],\\\"sortByColumn\\\",\\\"goal_count\\\"],null],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,3],[\\\"goals\\\"],null]],[10,\\\"span\\\"],[12],[2,\\\"Goal\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,15]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[1,[30,[36,1],null,[[\\\"descending\\\"],[[35,0]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n          \\\"],[11,\\\"a\\\"],[24,0,\\\"t__solo-link\\\"],[4,[38,2],[[32,0],\\\"sortByColumn\\\",\\\"clicked_count\\\"],null],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,3],[\\\"cursor\\\"],null]],[10,\\\"span\\\"],[12],[2,\\\"Clicked\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,16]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[1,[30,[36,1],null,[[\\\"descending\\\"],[[35,0]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n          \\\"],[11,\\\"a\\\"],[24,0,\\\"t__solo-link\\\"],[4,[38,2],[[32,0],\\\"sortByColumn\\\",\\\"replied_count\\\"],null],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,3],[\\\"conversation\\\"],null]],[10,\\\"span\\\"],[12],[2,\\\"Replied\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,17]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[1,[30,[36,1],null,[[\\\"descending\\\"],[[35,0]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,11]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n              \\\"],[11,\\\"a\\\"],[24,0,\\\"t__solo-link\\\"],[4,[38,2],[[32,0],\\\"sortByColumn\\\",\\\"failed_count\\\"],null],[12],[2,\\\"\\\\n                \\\"],[1,[30,[36,3],[\\\"bounced\\\"],null]],[10,\\\"span\\\"],[12],[2,\\\"Failed\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,12]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                  \\\"],[1,[30,[36,1],null,[[\\\"descending\\\"],[[35,0]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"              \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n          \\\"],[11,\\\"a\\\"],[24,0,\\\"t__solo-link\\\"],[4,[38,2],[[32,0],\\\"sortByColumn\\\",\\\"last_sent\\\"],null],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,3],[\\\"calendar\\\"],null]],[10,\\\"span\\\"],[12],[2,\\\"Last Sent\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,18]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[1,[30,[36,1],null,[[\\\"descending\\\"],[[35,0]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,3],[\\\"person\\\"],null]],[2,\\\"\\\\n          \\\"],[11,\\\"span\\\"],[4,[38,10],null,[[\\\"isDisabled\\\",\\\"content\\\"],[[30,[36,9],[[35,8,[\\\"messageCountIsGreaterThanSortLimit\\\"]]],null],[35,7]]]],[12],[2,\\\"\\\\n            Sent\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,3],[\\\"visible\\\"],null]],[2,\\\"\\\\n          \\\"],[11,\\\"span\\\"],[4,[38,10],null,[[\\\"isDisabled\\\",\\\"content\\\"],[[30,[36,9],[[35,8,[\\\"messageCountIsGreaterThanSortLimit\\\"]]],null],[35,7]]]],[12],[2,\\\"\\\\n            Opened\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,3],[\\\"goals\\\"],null]],[2,\\\"\\\\n          \\\"],[11,\\\"span\\\"],[4,[38,10],null,[[\\\"isDisabled\\\",\\\"content\\\"],[[30,[36,9],[[35,8,[\\\"messageCountIsGreaterThanSortLimit\\\"]]],null],[35,7]]]],[12],[2,\\\"\\\\n            Goal\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,3],[\\\"cursor\\\"],null]],[2,\\\"\\\\n          \\\"],[11,\\\"span\\\"],[4,[38,10],null,[[\\\"isDisabled\\\",\\\"content\\\"],[[30,[36,9],[[35,8,[\\\"messageCountIsGreaterThanSortLimit\\\"]]],null],[35,7]]]],[12],[2,\\\"\\\\n            Clicked\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,3],[\\\"conversation\\\"],null]],[2,\\\"\\\\n          \\\"],[11,\\\"span\\\"],[4,[38,10],null,[[\\\"isDisabled\\\",\\\"content\\\"],[[30,[36,9],[[35,8,[\\\"messageCountIsGreaterThanSortLimit\\\"]]],null],[35,7]]]],[12],[2,\\\"\\\\n            Replies\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,11]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,3],[\\\"bounced\\\"],null]],[2,\\\"\\\\n            \\\"],[11,\\\"span\\\"],[4,[38,10],null,[[\\\"isDisabled\\\",\\\"content\\\"],[[30,[36,9],[[35,8,[\\\"messageCountIsGreaterThanSortLimit\\\"]]],null],[35,7]]]],[12],[2,\\\"\\\\n              Failed\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,3],[\\\"calendar\\\"],null]],[2,\\\"\\\\n          \\\"],[11,\\\"span\\\"],[4,[38,10],null,[[\\\"isDisabled\\\",\\\"content\\\"],[[30,[36,9],[[35,8,[\\\"messageCountIsGreaterThanSortLimit\\\"]]],null],[35,7]]]],[12],[2,\\\"\\\\n            Last Sent\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[6,[37,5],[[35,11]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[10,\\\"span\\\"],[12],[2,\\\"Type\\\"],[13],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"t__solo-link\\\"],[4,[38,2],[[32,0],\\\"sortByColumn\\\",\\\"created_at\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,3],[\\\"calendar\\\"],null]],[10,\\\"span\\\"],[12],[2,\\\"Created\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,24]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[1,[30,[36,1],null,[[\\\"descending\\\"],[[35,0]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,25]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n        \\\"],[11,\\\"a\\\"],[24,0,\\\"t__solo-link\\\"],[4,[38,2],[[32,0],\\\"sortByColumn\\\",\\\"went_live_at\\\"],null],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,3],[\\\"calendar\\\"],null]],[10,\\\"span\\\"],[12],[2,\\\"First Set Live\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,6]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[1,[30,[36,1],null,[[\\\"descending\\\"],[[35,0]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,5],[[35,26]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n        \\\"],[11,\\\"a\\\"],[24,0,\\\"t__solo-link\\\"],[4,[38,2],[[32,0],\\\"sortByColumn\\\",\\\"stopped_at\\\"],null],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,3],[\\\"calendar\\\"],null]],[10,\\\"span\\\"],[12],[2,\\\"Paused At\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,4]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[1,[30,[36,1],null,[[\\\"descending\\\"],[[35,0]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"isSortingInDescendingOrder\\\",\\\"sort-icon-pattern\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"isSortingByStoppedAt\\\",\\\"if\\\",\\\"isSortingByWentLiveAt\\\",\\\"sortingLimitTooltipText\\\",\\\"query\\\",\\\"not\\\",\\\"tooltip\\\",\\\"isUserAudience\\\",\\\"isSortingByFailed\\\",\\\"isSortingBySent\\\",\\\"isSortingByOpened\\\",\\\"isSortingByGoal\\\",\\\"isSortingByClicks\\\",\\\"isSortingByReplied\\\",\\\"isSortingByLastSent\\\",\\\"isSortingBySendAt\\\",\\\"isSortingByTitle\\\",\\\"isScheduledView\\\",\\\"isDraftOrScheduledView\\\",\\\"unless\\\",\\\"isSortingByCreatedAt\\\",\\\"isLiveView\\\",\\\"isStoppedView\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/-auto-message-list-table-headers.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Yj5ciIrM\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"tr\\\"],[15,0,[31,[[30,[36,1],[[35,3,[\\\"selected\\\"]],\\\"message__list-legacy__selected-row\\\"],null],\\\" tbl__row\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,2]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[19,\\\"apps/app/outbound/partials/table-cells/message-selection-cell\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[8,\\\"messages/lists/description-cell\\\",[],[[\\\"@message\\\"],[[34,3]]],null],[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,4],[[35,3,[\\\"hasMultipleVariations\\\"]],[35,3,[\\\"hasControlGroup\\\"]]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[19,\\\"apps/app/outbound/partials/table-cells/auto/multi-variant-message-variation-labels-cell\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__contains-variation-list twk__message-list-legacy__variation-label-cell tests__variations-cell\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[19,\\\"apps/app/outbound/partials/table-cells/manual/single-variant-message-send-at-cell\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[30,[36,4],[[35,3,[\\\"hasMultipleVariations\\\"]],[35,3,[\\\"hasControlGroup\\\"]]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[19,\\\"apps/app/outbound/partials/table-cells/auto/multi-variant-message-from-cell\\\",[]],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,0]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[19,\\\"apps/app/outbound/partials/table-cells/auto/multi-variant-draft-auto-message-stats-table-cells\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[35,2]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[19,\\\"apps/app/outbound/partials/table-cells/auto/multi-variant-message-type-cell\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[19,\\\"apps/app/outbound/partials/table-cells/auto/multi-variant-message-created-at-cell\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[19,\\\"apps/app/outbound/partials/table-cells/manual/single-variant-message-from-cell\\\",[]],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,0]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[19,\\\"apps/app/outbound/partials/table-cells/auto/single-variant-draft-auto-message-stats-table-cells\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[35,2]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[19,\\\"apps/app/outbound/partials/table-cells/manual/single-variant-message-type-cell\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[19,\\\"apps/app/outbound/partials/table-cells/manual/single-variant-message-created-at-cell\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"isAllView\\\",\\\"if\\\",\\\"isUserAudience\\\",\\\"message\\\",\\\"or\\\",\\\"isScheduledView\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/-draft-auto-message-list-item.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"GG2h1if8\",\"block\":\"{\\\"symbols\\\":[\\\"message\\\",\\\"message\\\",\\\"banner\\\",\\\"paywall\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-columns\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"o__flexes-to-1\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 message__list-legacy__message-list-title\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"common/hamburger-menu\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"h1\\\"],[14,0,\\\"t__h1 u__left\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,9]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                    \\\"],[1,[34,26]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"                    \\\"],[1,[34,25]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"u__padl__10 u__left\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,27]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                  \\\"],[10,\\\"span\\\"],[14,0,\\\"t__group-label u__left message__list-legacy__selected-count js__selected-count\\\"],[12],[2,\\\"\\\\n                    \\\"],[1,[34,23]],[2,\\\" selected\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@action\\\",\\\"@disabled\\\",\\\"@inRightList\\\",\\\"@testBindingClass\\\"],[\\\"secondary-destructive\\\",\\\"confirmDeletion\\\",[34,24],true,\\\"test__delete-button\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                    \\\"],[1,[30,[36,22],[\\\"delete\\\"],null]],[2,\\\" Delete\\\\n                  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,28],[[35,9]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"div\\\"],[14,0,\\\"u__right\\\"],[12],[2,\\\"\\\\n                \\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\",\\\"@app\\\"],[\\\"manual_messaging\\\",[34,21]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@action\\\"],[\\\"primary\\\",\\\"createNewMessage\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                    \\\"],[1,[30,[36,22],[\\\"manual-message\\\"],null]],[2,\\\" New manual message \\\"],[8,[32,4,[\\\"Badge\\\"]],[],[[],[]],null],[2,\\\"\\\\n                  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n                \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,19]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"messages/message-creation-modal\\\",[],[[\\\"@isTargetingLeads\\\",\\\"@createNewMessage\\\",\\\"@closeModal\\\"],[false,[30,[36,3],[[32,0],\\\"createNewMessage\\\"],null],[30,[36,3],[[32,0],[30,[36,20],[[35,19]],null],false],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,5],[[30,[36,29],[[35,9]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"message__list__tabs tabs__discrete-tab__container u__cf\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"link-to\\\",[[24,0,\\\"tabs__discrete-tab\\\"]],[[\\\"@route\\\",\\\"@query\\\",\\\"@activeClass\\\",\\\"@current-when\\\"],[\\\"apps.app.outbound.messages.manual.sent\\\",[30,[36,13],null,[[\\\"search_term\\\",\\\"admin_id\\\"],[\\\"\\\",\\\"\\\"]]],\\\"o__selected\\\",\\\"apps.app.outbound.messages.manual.sent\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            Sent\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"tabs__tab__counter\\\"],[12],[2,\\\"\\\\n              (\\\"],[1,[30,[36,15],[[35,16]],null]],[2,\\\")\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,14]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"link-to\\\",[[24,0,\\\"tabs__discrete-tab\\\"]],[[\\\"@route\\\",\\\"@query\\\",\\\"@activeClass\\\",\\\"@current-when\\\"],[\\\"apps.app.outbound.messages.manual.sent-via-api\\\",[30,[36,13],null,[[\\\"search_term\\\",\\\"admin_id\\\"],[\\\"\\\",\\\"\\\"]]],\\\"o__selected\\\",\\\"apps.app.outbound.messages.manual.sent-via-api\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              Sent via API\\\\n              \\\"],[10,\\\"span\\\"],[14,0,\\\"tabs__tab__counter\\\"],[12],[2,\\\"\\\\n                (\\\"],[1,[30,[36,15],[[35,14]],null]],[2,\\\")\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[8,\\\"link-to\\\",[[24,0,\\\"tabs__discrete-tab\\\"]],[[\\\"@route\\\",\\\"@query\\\",\\\"@activeClass\\\",\\\"@current-when\\\"],[\\\"apps.app.outbound.messages.manual.draft\\\",[30,[36,13],null,[[\\\"search_term\\\",\\\"admin_id\\\"],[\\\"\\\",\\\"\\\"]]],\\\"o__selected\\\",\\\"apps.app.outbound.messages.manual.draft\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            Drafts\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"tabs__tab__counter\\\"],[12],[2,\\\"\\\\n              (\\\"],[1,[30,[36,15],[[35,17]],null]],[2,\\\")\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[8,\\\"link-to\\\",[[24,0,\\\"tabs__discrete-tab\\\"]],[[\\\"@route\\\",\\\"@query\\\",\\\"@activeClass\\\",\\\"@current-when\\\"],[\\\"apps.app.outbound.messages.manual.scheduled\\\",[30,[36,13],null,[[\\\"search_term\\\",\\\"admin_id\\\"],[\\\"\\\",\\\"\\\"]]],\\\"o__selected\\\",\\\"apps.app.outbound.messages.manual.scheduled\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            Scheduled\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"tabs__tab__counter\\\"],[12],[2,\\\"\\\\n              (\\\"],[1,[30,[36,15],[[35,18]],null]],[2,\\\")\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,28],[[35,30]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,5],[[35,12]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"pulse/discovery-banner\\\",[],[[\\\"@heading\\\",\\\"@description\\\",\\\"@dismissalType\\\",\\\"@dismissalKey\\\",\\\"@dismissalService\\\"],[\\\"Send a message in real time\\\",\\\"Send a one-off message to one or more users in your app, by email or push. Manual messages are sent in real time and won’t be sent again.\\\",\\\"got-it-button\\\",\\\"engage_manual_messages\\\",[30,[36,11],[\\\"banner-dismissal-service\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,3,[\\\"HelpLink\\\"]],[],[[\\\"@type\\\",\\\"@title\\\",\\\"@href\\\"],[\\\"article\\\",\\\"Learn more\\\",\\\"https://www.intercom.com/help/intercom-s-key-features-explained/sending-messages/manual-messages-explained\\\"]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[10,\\\"div\\\"],[14,1,\\\"js__message-list-legacy__outer-container\\\"],[14,0,\\\"o__has-rows main__content layout__box o__flexes-to-1 o__scrolls ember-view u__padl__20 u__padr__20 u__padb__10 message__list-legacy__message-list-outer-container\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,28],[[35,30]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,5],[[35,10]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,5],[[35,9]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\"],[\\\"manual-message\\\",\\\"No manual messages found\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"              \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\"],[\\\"manual-message\\\",[30,[36,8],[\\\"No \\\",[35,7],\\\" manual messages\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"pagination-component\\\",[],[[\\\"@viewportSelector\\\",\\\"@scrollingContentSelector\\\",\\\"@onPageRequested\\\"],[\\\"#js__message-list-legacy__outer-container\\\",\\\"#message_table\\\",[30,[36,3],[[32,0],\\\"nextPage\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"              \\\"],[10,\\\"table\\\"],[14,1,\\\"message_table\\\"],[14,0,\\\"tbl o__fit message__list-legacy message__list-legacy__message-list-table u__padr__30\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"                \\\"],[19,\\\"apps/app/outbound/partials/manual-message-list-table-headers\\\",[]],[2,\\\"\\\\n                \\\"],[10,\\\"tbody\\\"],[14,0,\\\"tbl__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,4]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[30,[36,1],[[35,0]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                      \\\"],[19,\\\"apps/app/outbound/partials/manual-message-draft-list-item\\\",[2]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[30,[36,1],[[35,0]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                      \\\"],[19,\\\"apps/app/outbound/partials/manual-message-list-item\\\",[1]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,6]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"small\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__centers-all\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"messages\\\",\\\"-track-array\\\",\\\"each\\\",\\\"action\\\",\\\"isShowingDraftOrScheduledMessages\\\",\\\"if\\\",\\\"isLoading\\\",\\\"state\\\",\\\"concat\\\",\\\"isSearch\\\",\\\"hasNoItemsToDisplay\\\",\\\"service\\\",\\\"sentNoManualMessages\\\",\\\"hash\\\",\\\"sentViaApiManualMessageCount\\\",\\\"numeric-formatter-helper\\\",\\\"sentExcludingApiManualMessageCount\\\",\\\"draftManualMessageCount\\\",\\\"scheduledManualMessageCount\\\",\\\"showCreateMessageModal\\\",\\\"mut\\\",\\\"app\\\",\\\"ic-interface-icon\\\",\\\"selectedDraftsCount\\\",\\\"hasNoSelectedDrafts\\\",\\\"pageTitle\\\",\\\"searchPageTitle\\\",\\\"hasSelectedDrafts\\\",\\\"unless\\\",\\\"not\\\",\\\"isLoadingFirstPage\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/-engage-manual-message-list.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"9P3tfF0b\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"tr\\\"],[15,0,[31,[[30,[36,1],[[35,0,[\\\"selected\\\"]],\\\"message__list-legacy__selected-row\\\"],null]]]],[12],[2,\\\"\\\\n  \\\"],[19,\\\"apps/app/outbound/partials/table-cells/message-selection-cell\\\",[]],[2,\\\"\\\\n  \\\"],[8,\\\"messages/lists/description-cell\\\",[],[[\\\"@message\\\"],[[34,0]]],null],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,2]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[19,\\\"apps/app/outbound/partials/table-cells/manual/single-variant-message-send-at-cell\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[19,\\\"apps/app/outbound/partials/table-cells/manual/single-variant-message-from-cell\\\",[]],[2,\\\"\\\\n  \\\"],[19,\\\"apps/app/outbound/partials/table-cells/manual/single-variant-message-type-cell\\\",[]],[2,\\\"\\\\n  \\\"],[19,\\\"apps/app/outbound/partials/table-cells/manual/single-variant-message-created-at-cell\\\",[]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"message\\\",\\\"if\\\",\\\"isShowingScheduledMessages\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/-manual-message-draft-list-item.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"4LIaS56+\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"tr\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"messages/lists/description-cell\\\",[],[[\\\"@message\\\"],[[34,0]]],null],[2,\\\"\\\\n  \\\"],[19,\\\"apps/app/outbound/partials/table-cells/manual/single-variant-message-from-cell\\\",[]],[2,\\\"\\\\n  \\\"],[19,\\\"apps/app/outbound/partials/table-cells/manual/manual-message-stats-table-cells\\\",[]],[2,\\\"\\\\n  \\\"],[19,\\\"apps/app/outbound/partials/table-cells/manual/single-variant-message-type-cell\\\",[]],[2,\\\"\\\\n  \\\"],[19,\\\"apps/app/outbound/partials/table-cells/manual/single-variant-message-created-at-cell\\\",[]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"message\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/-manual-message-list-item.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"0h9T6XEm\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"thead\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,10]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\",\\\"@indeterminate\\\",\\\"@disabled\\\"],[\\\"checkbox\\\",[34,7],[34,8],[34,9]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"Title\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,11]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n        \\\"],[11,\\\"a\\\"],[24,0,\\\"t__solo-link\\\"],[4,[38,3],[[32,0],\\\"sortByColumn\\\",\\\"send_at\\\"],null],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,2],[\\\"calendar\\\"],null]],[10,\\\"span\\\"],[12],[2,\\\"Scheduled\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,6]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[1,[30,[36,1],null,[[\\\"descending\\\"],[[35,0]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"From\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,12],[[35,10]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[1,[30,[36,2],[\\\"person\\\"],null]],[10,\\\"span\\\"],[12],[2,\\\"Sent\\\"],[13],[13],[2,\\\"\\\\n      \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[1,[30,[36,2],[\\\"visible\\\"],null]],[10,\\\"span\\\"],[12],[2,\\\"Opened\\\"],[13],[13],[2,\\\"\\\\n      \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[1,[30,[36,2],[\\\"goals\\\"],null]],[10,\\\"span\\\"],[12],[2,\\\"Goal\\\"],[13],[13],[2,\\\"\\\\n      \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[1,[30,[36,2],[\\\"cursor\\\"],null]],[10,\\\"span\\\"],[12],[2,\\\"Clicked\\\"],[13],[13],[2,\\\"\\\\n      \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[1,[30,[36,2],[\\\"conversation\\\"],null]],[10,\\\"span\\\"],[12],[2,\\\"Replied\\\"],[13],[13],[2,\\\"\\\\n      \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[1,[30,[36,2],[\\\"bounced\\\"],null]],[10,\\\"span\\\"],[12],[2,\\\"Failed\\\"],[13],[13],[2,\\\"\\\\n      \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n        \\\"],[11,\\\"a\\\"],[24,0,\\\"t__solo-link\\\"],[4,[38,3],[[32,0],\\\"sortByColumn\\\",\\\"went_live_at\\\"],null],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,2],[\\\"calendar\\\"],null]],[10,\\\"span\\\"],[12],[2,\\\"Started Sending\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,4]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[1,[30,[36,1],null,[[\\\"descending\\\"],[[35,0]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[10,\\\"span\\\"],[12],[2,\\\"Type\\\"],[13],[13],[2,\\\"\\\\n    \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"t__solo-link\\\"],[4,[38,3],[[32,0],\\\"sortByColumn\\\",\\\"created_at\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,2],[\\\"calendar\\\"],null]],[10,\\\"span\\\"],[12],[2,\\\"Created\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,13]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[1,[30,[36,1],null,[[\\\"descending\\\"],[[35,0]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"isSortingInDescendingOrder\\\",\\\"sort-icon-pattern\\\",\\\"ic-interface-icon\\\",\\\"action\\\",\\\"isSortingByWentLiveAt\\\",\\\"if\\\",\\\"isSortingBySendAt\\\",\\\"selectAll\\\",\\\"someSelected\\\",\\\"hasNoItemsToLoad\\\",\\\"isShowingDraftOrScheduledMessages\\\",\\\"isShowingScheduledMessages\\\",\\\"unless\\\",\\\"isSortingByCreatedAt\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/-manual-message-list-table-headers.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"/4NkP7vY\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[11,\\\"a\\\"],[16,0,[31,[\\\"dropdown__list-item message__editor__audience__filter-selector-row twk__message-audience__filter-selector-row test__filter-selector__item \\\",[30,[36,1],[[35,0,[\\\"isDisabled\\\"]],\\\"u__default-cursor o__no-hover test__filter-selector__disabled\\\",\\\"o__hoverable\\\"],null]]]],[16,\\\"data-filter-name\\\",[34,0,[\\\"attribute\\\",\\\"name\\\"]]],[4,[38,2],[[32,0],\\\"insertFilter\\\",[35,0]],null],[12],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[15,0,[31,[\\\"u__one-truncated-line \\\",[30,[36,1],[[35,0,[\\\"isDisabled\\\"]],\\\"text-gray\\\",\\\"t__label\\\"],null]]]],[12],[2,\\\"\\\\n    \\\"],[8,\\\"people/attribute-and-event-description-tooltip\\\",[],[[\\\"@attribute\\\",\\\"@hideName\\\",\\\"@color\\\"],[[34,0,[\\\"attribute\\\"]],[34,0,[\\\"isDisabled\\\"]],\\\"black\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"filter\\\",\\\"if\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/-message-filter-row.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"yWUIs91r\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box message__list__tabs tabs__discrete-tab__container u__padt__30 u__cf\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"link-to\\\",[[24,0,\\\"tabs__discrete-tab\\\"]],[[\\\"@route\\\",\\\"@query\\\",\\\"@activeClass\\\",\\\"@current-when\\\"],[[34,0],[30,[36,3],null,[[\\\"search_term\\\",\\\"admin_id\\\"],[[35,2],[35,1]]]],\\\"o__selected\\\",[34,0]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n      User auto messages\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[8,\\\"link-to\\\",[[24,0,\\\"tabs__discrete-tab\\\"]],[[\\\"@route\\\",\\\"@query\\\",\\\"@activeClass\\\",\\\"@current-when\\\"],[[34,4],[30,[36,3],null,[[\\\"search_term\\\",\\\"admin_id\\\"],[[35,2],[35,1]]]],\\\"o__selected\\\",[34,4]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n      Visitor auto messages\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[8,\\\"link-to\\\",[[24,0,\\\"tabs__discrete-tab\\\"]],[[\\\"@route\\\",\\\"@query\\\",\\\"@activeClass\\\",\\\"@current-when\\\"],[[34,5],[30,[36,3],null,[[\\\"search_term\\\",\\\"admin_id\\\"],[[35,2],[35,1]]]],\\\"o__selected\\\",[34,5]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n      Manual messages\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"userAutoMessageSearchRoute\\\",\\\"admin_id\\\",\\\"search_term\\\",\\\"hash\\\",\\\"visitorAutoMessageSearchRoute\\\",\\\"manualMessageSearchRoute\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/-message-search-tabs.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"+nxhPPc+\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__selection\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,0,[\\\"isCampaignMessage\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[11,\\\"span\\\"],[4,[38,3],null,[[\\\"content\\\",\\\"placement\\\",\\\"isDisabled\\\"],[\\\"You can't move a message with trigger times to the campaign\\\",\\\"right\\\",[30,[36,2],[[30,[36,1],[[35,0,[\\\"isInApp\\\"]],[35,0,[\\\"hasDeliveryWindow\\\"]]],null]],null]]]],[12],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[14,0,\\\"tbl__message-list-checkbox-label\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@disabled\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[30,[36,1],[[35,0,[\\\"isInApp\\\"]],[35,0,[\\\"hasDeliveryWindow\\\"]]],null],[34,0,[\\\"selected\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"message\\\",\\\"and\\\",\\\"not\\\",\\\"tooltip\\\",\\\"unless\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/table-cells/-message-selection-cell.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"l4VprIWc\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"messages/lists/statistic-cell\\\",[],[[\\\"@message\\\",\\\"@statistic\\\",\\\"@statisticInvalid\\\",\\\"@statisticsAsLinks\\\",\\\"@clickedStatsColumn\\\"],[[34,0],\\\"sent\\\",false,[34,6],[30,[36,5],[[32,0],\\\"clickedStatsColumn\\\"],null]]],null],[2,\\\"\\\\n\\\"],[8,\\\"messages/lists/statistic-cell\\\",[],[[\\\"@message\\\",\\\"@statistic\\\",\\\"@statisticInvalid\\\",\\\"@statisticsAsLinks\\\",\\\"@clickedStatsColumn\\\"],[[34,0],\\\"opened\\\",false,[34,6],[30,[36,5],[[32,0],\\\"clickedStatsColumn\\\"],null]]],null],[2,\\\"\\\\n\\\"],[8,\\\"messages/lists/statistic-cell\\\",[],[[\\\"@message\\\",\\\"@statistic\\\",\\\"@statisticInvalid\\\",\\\"@statisticsAsLinks\\\",\\\"@clickedStatsColumn\\\"],[[34,0],\\\"goal\\\",[34,0,[\\\"hasNoGoal\\\"]],[34,6],[30,[36,5],[[32,0],\\\"clickedStatsColumn\\\"],null]]],null],[2,\\\"\\\\n\\\"],[8,\\\"messages/lists/statistic-cell\\\",[],[[\\\"@message\\\",\\\"@statistic\\\",\\\"@statisticInvalid\\\",\\\"@statisticsAsLinks\\\",\\\"@clickedStatsColumn\\\"],[[34,0],\\\"clicked\\\",[34,0,[\\\"isMobilePush\\\"]],[34,6],[30,[36,5],[[32,0],\\\"clickedStatsColumn\\\"],null]]],null],[2,\\\"\\\\n\\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell outbound__replies-stat o__contains-variation-list message__stat-cell\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[35,0,[\\\"isMobilePush\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      —\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,7],[[35,0,[\\\"variationA\\\",\\\"isTextReply\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,7],[[35,6]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,4],[[35,3],[35,0,[\\\"id\\\"]],[30,[36,2],null,[[\\\"viewing\\\",\\\"version\\\"],[\\\"replied\\\",\\\"A\\\"]]]],null]]]],[14,0,\\\"t__solo-link\\\"],[12],[2,\\\"\\\\n          \\\"],[11,\\\"span\\\"],[4,[38,5],[[32,0],\\\"clickedStatsColumn\\\",\\\"replied\\\"],null],[12],[2,\\\"\\\\n            \\\"],[1,[35,0,[\\\"variationA\\\",\\\"stats\\\",\\\"displayReplyPercentage\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[35,0,[\\\"variationA\\\",\\\"stats\\\",\\\"displayReplyPercentage\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,7],[[35,6]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,4],[[35,3],[35,0,[\\\"id\\\"]],[30,[36,2],null,[[\\\"viewing\\\",\\\"version\\\"],[\\\"responded\\\",\\\"A\\\"]]]],null]]]],[14,0,\\\"t__solo-link\\\"],[12],[2,\\\"\\\\n          \\\"],[11,\\\"span\\\"],[4,[38,5],[[32,0],\\\"clickedStatsColumn\\\",\\\"responded\\\"],null],[12],[2,\\\"\\\\n            \\\"],[1,[35,0,[\\\"variationA\\\",\\\"stats\\\",\\\"displayResponsePercentage\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[35,0,[\\\"variationA\\\",\\\"stats\\\",\\\"displayResponsePercentage\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[35,0,[\\\"hasControlGroup\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      —\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,7],[[35,0,[\\\"isMobilePush\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        —\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,7],[[35,0,[\\\"variationB\\\",\\\"isTextReply\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,7],[[35,6]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,4],[[35,3],[35,0,[\\\"id\\\"]],[30,[36,2],null,[[\\\"viewing\\\",\\\"version\\\"],[\\\"replied\\\",\\\"B\\\"]]]],null]]]],[14,0,\\\"t__solo-link\\\"],[12],[2,\\\"\\\\n            \\\"],[11,\\\"span\\\"],[4,[38,5],[[32,0],\\\"clickedStatsColumn\\\",\\\"replied\\\"],null],[12],[2,\\\"\\\\n              \\\"],[1,[35,0,[\\\"variationB\\\",\\\"stats\\\",\\\"displayReplyPercentage\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[35,0,[\\\"variationB\\\",\\\"stats\\\",\\\"displayReplyPercentage\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,7],[[35,6]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,4],[[35,3],[35,0,[\\\"id\\\"]],[30,[36,2],null,[[\\\"viewing\\\",\\\"version\\\"],[\\\"responded\\\",\\\"B\\\"]]]],null]]]],[14,0,\\\"t__solo-link\\\"],[12],[2,\\\"\\\\n            \\\"],[11,\\\"span\\\"],[4,[38,5],[[32,0],\\\"clickedStatsColumn\\\",\\\"responded\\\"],null],[12],[2,\\\"\\\\n              \\\"],[1,[35,0,[\\\"variationB\\\",\\\"stats\\\",\\\"displayResponsePercentage\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[35,0,[\\\"variationB\\\",\\\"stats\\\",\\\"displayResponsePercentage\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,7],[[35,6]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell outbound__failed-stat o__contains-variation-list message__stat-cell\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[35,0,[\\\"isEmail\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[35,6]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,4],[[35,3],[35,0,[\\\"id\\\"]],[30,[36,2],null,[[\\\"viewing\\\",\\\"version\\\"],[\\\"failed\\\",\\\"A\\\"]]]],null]]]],[14,0,\\\"t__solo-link\\\"],[12],[2,\\\"\\\\n            \\\"],[11,\\\"span\\\"],[4,[38,5],[[32,0],\\\"clickedStatsColumn\\\",\\\"failed\\\"],null],[12],[2,\\\"\\\\n              \\\"],[1,[35,0,[\\\"variationA\\\",\\\"stats\\\",\\\"displayFailedPercentage\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[35,0,[\\\"variationA\\\",\\\"stats\\\",\\\"displayFailedPercentage\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[35,0,[\\\"hasControlGroup\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          —\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,7],[[35,6]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,4],[[35,3],[35,0,[\\\"id\\\"]],[30,[36,2],null,[[\\\"viewing\\\",\\\"version\\\"],[\\\"failed\\\",\\\"B\\\"]]]],null]]]],[14,0,\\\"t__solo-link\\\"],[12],[2,\\\"\\\\n              \\\"],[11,\\\"span\\\"],[4,[38,5],[[32,0],\\\"clickedStatsColumn\\\",\\\"failed\\\"],null],[12],[2,\\\"\\\\n                \\\"],[1,[35,0,[\\\"variationB\\\",\\\"stats\\\",\\\"displayFailedPercentage\\\"]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[35,0,[\\\"variationB\\\",\\\"stats\\\",\\\"displayFailedPercentage\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n        —\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n        —\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__contains-variation-list\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[15,\\\"title\\\",[31,[[34,0,[\\\"variationA\\\",\\\"stats\\\",\\\"localeFormattedLastSentDate\\\"]]]]],[12],[2,\\\"\\\\n      \\\"],[1,[30,[36,1],[\\\"calendar\\\"],null]],[2,\\\"\\\\n      \\\"],[1,[35,0,[\\\"variationA\\\",\\\"stats\\\",\\\"displayLastSentDate\\\"]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[35,0,[\\\"hasControlGroup\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      —\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"span\\\"],[15,\\\"title\\\",[31,[[34,0,[\\\"variationB\\\",\\\"stats\\\",\\\"localeFormattedLastSentDate\\\"]]]]],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,1],[\\\"calendar\\\"],null]],[2,\\\"\\\\n        \\\"],[1,[35,0,[\\\"variationB\\\",\\\"stats\\\",\\\"displayLastSentDate\\\"]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"message\\\",\\\"ic-interface-icon\\\",\\\"query-params\\\",\\\"messageRoute\\\",\\\"href-to\\\",\\\"action\\\",\\\"isUserAudience\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/table-cells/auto/-multi-variant-auto-message-stats-table-cells.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"RBIS3IvS\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"messages/lists/statistic-cell\\\",[],[[\\\"@message\\\",\\\"@statistic\\\",\\\"@statisticInvalid\\\",\\\"@statisticsAsLinks\\\",\\\"@clickedStatsColumn\\\"],[[34,0],\\\"sent\\\",true,false,[30,[36,1],[[32,0],\\\"clickedStatsColumn\\\"],null]]],null],[2,\\\"\\\\n\\\"],[8,\\\"messages/lists/statistic-cell\\\",[],[[\\\"@message\\\",\\\"@statistic\\\",\\\"@statisticInvalid\\\",\\\"@statisticsAsLinks\\\",\\\"@clickedStatsColumn\\\"],[[34,0],\\\"opened\\\",true,false,[30,[36,1],[[32,0],\\\"clickedStatsColumn\\\"],null]]],null],[2,\\\"\\\\n\\\"],[8,\\\"messages/lists/statistic-cell\\\",[],[[\\\"@message\\\",\\\"@statistic\\\",\\\"@statisticInvalid\\\",\\\"@statisticsAsLinks\\\",\\\"@clickedStatsColumn\\\"],[[34,0],\\\"goal\\\",true,false,[30,[36,1],[[32,0],\\\"clickedStatsColumn\\\"],null]]],null],[2,\\\"\\\\n\\\"],[8,\\\"messages/lists/statistic-cell\\\",[],[[\\\"@message\\\",\\\"@statistic\\\",\\\"@statisticInvalid\\\",\\\"@statisticsAsLinks\\\",\\\"@clickedStatsColumn\\\"],[[34,0],\\\"clicked\\\",true,false,[30,[36,1],[[32,0],\\\"clickedStatsColumn\\\"],null]]],null],[2,\\\"\\\\n\\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell outbound__replies-stat o__contains-variation-list message__stat-cell\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n    ―\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n    ―\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell outbound__failed-stat o__contains-variation-list message__stat-cell\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n    ―\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n    ―\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__contains-variation-list\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n    ―\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n    ―\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"message\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/table-cells/auto/-multi-variant-draft-auto-message-stats-table-cells.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"AqbgWgRk\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__contains-variation-list\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[15,\\\"title\\\",[31,[[34,0,[\\\"variationA\\\",\\\"localeFormattedCreatedAtDate\\\"]]]]],[12],[2,\\\"\\\\n      \\\"],[1,[35,0,[\\\"variationA\\\",\\\"humanReadableCreationDate\\\"]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,0,[\\\"hasControlGroup\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"span\\\"],[15,\\\"title\\\",[31,[[30,[36,1],[[35,0,[\\\"controlGroup\\\",\\\"createdAt\\\"]]],null]]]],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,2],[[35,0,[\\\"controlGroup\\\",\\\"createdAt\\\"]]],null]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"span\\\"],[15,\\\"title\\\",[31,[[34,0,[\\\"variationB\\\",\\\"localeFormattedCreatedAtDate\\\",\\\"createdAt\\\"]]]]],[12],[2,\\\"\\\\n        \\\"],[1,[35,0,[\\\"variationB\\\",\\\"humanReadableCreationDate\\\"]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"message\\\",\\\"full-date-and-time-helper\\\",\\\"full-relative-time-ago-helper\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/table-cells/auto/-multi-variant-message-created-at-cell.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Qh1mElLt\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__contains-variation-list\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,0,[\\\"variationA\\\",\\\"hasCustomFromAddress\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[1,[35,0,[\\\"variationA\\\",\\\"customFromAddress\\\",\\\"nameOrEmail\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[35,0,[\\\"variationA\\\",\\\"dynamicSender\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__centers-vertically\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"u__padr__5\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,3],[\\\"owner\\\"],[[\\\"size\\\"],[24]]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        Owner\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"avatar__container o__s\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,0,[\\\"variationA\\\",\\\"from\\\",\\\"is_team\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"messages/message-from-name-with-avatar\\\",[],[[\\\"@from\\\"],[[34,0,[\\\"variationA\\\",\\\"from\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,1],[\\\"apps.app.admins.admin\\\",[35,0,[\\\"variationA\\\",\\\"from\\\",\\\"id\\\"]]],null]]]],[14,0,\\\"t__solo-link\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"messages/message-from-name-with-avatar\\\",[],[[\\\"@from\\\"],[[34,0,[\\\"variationA\\\",\\\"from\\\"]]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,0,[\\\"hasControlGroup\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      —\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[35,0,[\\\"variationB\\\",\\\"hasCustomFromAddress\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[1,[35,0,[\\\"variationB\\\",\\\"customFromAddress\\\",\\\"nameOrEmail\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[35,0,[\\\"variationB\\\",\\\"dynamicSender\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__centers-vertically\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"u__padr__5\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,3],[\\\"owner\\\"],[[\\\"size\\\"],[24]]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          Owner\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"avatar__container o__s\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,0,[\\\"variationB\\\",\\\"from\\\",\\\"is_team\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"messages/message-from-name-with-avatar\\\",[],[[\\\"@from\\\"],[[34,0,[\\\"variationB\\\",\\\"from\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,1],[\\\"apps.app.admins.admin\\\",[35,0,[\\\"variationB\\\",\\\"from\\\",\\\"id\\\"]]],null]]]],[14,0,\\\"t__solo-link\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"messages/message-from-name-with-avatar\\\",[],[[\\\"@from\\\"],[[34,0,[\\\"variationB\\\",\\\"from\\\"]]]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"message\\\",\\\"href-to\\\",\\\"if\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/table-cells/auto/-multi-variant-message-from-cell.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"sQvT0Ztu\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__contains-variation-list\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,1],[[35,0,[\\\"variationA\\\",\\\"styleIcon\\\"]]],null]],[2,\\\"\\\\n    \\\"],[1,[35,0,[\\\"variationA\\\",\\\"styleLabel\\\"]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,0,[\\\"hasControlGroup\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        —\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[1,[30,[36,1],[[35,0,[\\\"variationB\\\",\\\"styleIcon\\\"]]],null]],[2,\\\"\\\\n      \\\"],[1,[35,0,[\\\"variationB\\\",\\\"styleLabel\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"message\\\",\\\"ic-interface-icon\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/table-cells/auto/-multi-variant-message-type-cell.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"EAn01MHQ\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__contains-variation-list twk__message-list-legacy__variation-label-cell tests__variations-cell\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,2],[\\\"apps.app.outbound.messages.auto.message\\\",[35,1,[\\\"id\\\"]],[30,[36,0],null,[[\\\"version\\\"],[\\\"A\\\"]]]],null]]]],[14,0,\\\"t__solo-link message__list-title\\\"],[15,\\\"title\\\",[31,[[34,1,[\\\"title\\\"]]]]],[12],[2,\\\"\\\\n      \\\"],[1,[30,[36,3],[[35,1,[\\\"hasControlGroup\\\"]],\\\"Message\\\",\\\"Version A\\\"],null]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,1,[\\\"hasControlGroup\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,2],[\\\"apps.app.outbound.messages.auto.message\\\",[35,1,[\\\"id\\\"]],[30,[36,0],null,[[\\\"version\\\"],[\\\"control\\\"]]]],null]]]],[14,0,\\\"t__solo-link message__list-title\\\"],[15,\\\"title\\\",[31,[[34,1,[\\\"title\\\"]]]]],[12],[2,\\\"\\\\n        Control Group\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,2],[\\\"apps.app.outbound.messages.auto.message\\\",[35,1,[\\\"id\\\"]],[30,[36,0],null,[[\\\"version\\\"],[\\\"B\\\"]]]],null]]]],[14,0,\\\"t__solo-link message__list-title\\\"],[15,\\\"title\\\",[31,[[34,1,[\\\"title\\\"]]]]],[12],[2,\\\"\\\\n        Version B\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"query-params\\\",\\\"message\\\",\\\"href-to\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/table-cells/auto/-multi-variant-message-variation-labels-cell.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"q4rBEzIg\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"messages/lists/statistic-cell\\\",[],[[\\\"@message\\\",\\\"@statistic\\\",\\\"@statisticInvalid\\\",\\\"@statisticsAsLinks\\\",\\\"@clickedStatsColumn\\\"],[[34,0],\\\"sent\\\",false,[34,5],[30,[36,4],[[32,0],\\\"clickedStatsColumn\\\"],null]]],null],[2,\\\"\\\\n\\\"],[8,\\\"messages/lists/statistic-cell\\\",[],[[\\\"@message\\\",\\\"@statistic\\\",\\\"@statisticInvalid\\\",\\\"@statisticsAsLinks\\\",\\\"@clickedStatsColumn\\\"],[[34,0],\\\"opened\\\",false,[34,5],[30,[36,4],[[32,0],\\\"clickedStatsColumn\\\"],null]]],null],[2,\\\"\\\\n\\\"],[8,\\\"messages/lists/statistic-cell\\\",[],[[\\\"@message\\\",\\\"@statistic\\\",\\\"@statisticInvalid\\\",\\\"@statisticsAsLinks\\\",\\\"@clickedStatsColumn\\\"],[[34,0],\\\"goal\\\",[34,0,[\\\"hasNoGoal\\\"]],[34,5],[30,[36,4],[[32,0],\\\"clickedStatsColumn\\\"],null]]],null],[2,\\\"\\\\n\\\"],[8,\\\"messages/lists/statistic-cell\\\",[],[[\\\"@message\\\",\\\"@statistic\\\",\\\"@statisticInvalid\\\",\\\"@statisticsAsLinks\\\",\\\"@clickedStatsColumn\\\"],[[34,0],\\\"clicked\\\",[34,0,[\\\"isMobilePush\\\"]],[34,5],[30,[36,4],[[32,0],\\\"clickedStatsColumn\\\"],null]]],null],[2,\\\"\\\\n\\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell outbound__replies-stat o__contains-variation-list message__stat-cell\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,6],[[35,0,[\\\"isMobilePush\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      —\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,6],[[35,0,[\\\"variationA\\\",\\\"isTextReply\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,6],[[35,5]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,3],[[35,2],[35,0,[\\\"id\\\"]],[30,[36,1],null,[[\\\"viewing\\\",\\\"version\\\"],[\\\"replied\\\",\\\"A\\\"]]]],null]]]],[14,0,\\\"t__solo-link\\\"],[12],[2,\\\"\\\\n          \\\"],[11,\\\"span\\\"],[4,[38,4],[[32,0],\\\"clickedStatsColumn\\\",\\\"replied\\\"],null],[12],[2,\\\"\\\\n            \\\"],[1,[35,0,[\\\"variationA\\\",\\\"stats\\\",\\\"displayReplyPercentage\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[35,0,[\\\"variationA\\\",\\\"stats\\\",\\\"displayReplyPercentage\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,6],[[35,5]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,3],[[35,2],[35,0,[\\\"id\\\"]],[30,[36,1],null,[[\\\"viewing\\\",\\\"version\\\"],[\\\"responded\\\",\\\"A\\\"]]]],null]]]],[14,0,\\\"t__solo-link\\\"],[12],[2,\\\"\\\\n          \\\"],[11,\\\"span\\\"],[4,[38,4],[[32,0],\\\"clickedStatsColumn\\\",\\\"responded\\\"],null],[12],[2,\\\"\\\\n            \\\"],[1,[35,0,[\\\"variationA\\\",\\\"stats\\\",\\\"displayResponsePercentage\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[35,0,[\\\"variationA\\\",\\\"stats\\\",\\\"displayResponsePercentage\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,6],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell outbound__failed-stat o__contains-variation-list message__stat-cell\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,6],[[35,0,[\\\"variationA\\\",\\\"isEmail\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,6],[[35,5]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,3],[[35,2],[35,0,[\\\"id\\\"]],[30,[36,1],null,[[\\\"viewing\\\",\\\"version\\\"],[\\\"failed\\\",\\\"A\\\"]]]],null]]]],[14,0,\\\"t__solo-link\\\"],[12],[2,\\\"\\\\n            \\\"],[11,\\\"span\\\"],[4,[38,4],[[32,0],\\\"clickedStatsColumn\\\",\\\"bounced\\\"],null],[12],[2,\\\"\\\\n              \\\"],[1,[35,0,[\\\"variationA\\\",\\\"stats\\\",\\\"displayFailedPercentage\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[35,0,[\\\"variationA\\\",\\\"stats\\\",\\\"displayFailedPercentage\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        —\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__contains-variation-list\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[15,\\\"title\\\",[31,[[34,0,[\\\"variationA\\\",\\\"stats\\\",\\\"localeFormattedLastSentDate\\\"]]]]],[12],[2,\\\"\\\\n      \\\"],[1,[35,0,[\\\"variationA\\\",\\\"stats\\\",\\\"displayLastSentDate\\\"]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"message\\\",\\\"query-params\\\",\\\"messageRoute\\\",\\\"href-to\\\",\\\"action\\\",\\\"isUserAudience\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/table-cells/auto/-single-variant-auto-message-stats-table-cells.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Aw0ij9Ou\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"messages/lists/statistic-cell\\\",[],[[\\\"@message\\\",\\\"@statistic\\\",\\\"@statisticInvalid\\\",\\\"@statisticsAsLinks\\\",\\\"@clickedStatsColumn\\\"],[[34,0],\\\"sent\\\",true,false,[30,[36,1],[[32,0],\\\"clickedStatsColumn\\\"],null]]],null],[2,\\\"\\\\n\\\"],[8,\\\"messages/lists/statistic-cell\\\",[],[[\\\"@message\\\",\\\"@statistic\\\",\\\"@statisticInvalid\\\",\\\"@statisticsAsLinks\\\",\\\"@clickedStatsColumn\\\"],[[34,0],\\\"opened\\\",true,false,[30,[36,1],[[32,0],\\\"clickedStatsColumn\\\"],null]]],null],[2,\\\"\\\\n\\\"],[8,\\\"messages/lists/statistic-cell\\\",[],[[\\\"@message\\\",\\\"@statistic\\\",\\\"@statisticInvalid\\\",\\\"@statisticsAsLinks\\\",\\\"@clickedStatsColumn\\\"],[[34,0],\\\"goal\\\",true,false,[30,[36,1],[[32,0],\\\"clickedStatsColumn\\\"],null]]],null],[2,\\\"\\\\n\\\"],[8,\\\"messages/lists/statistic-cell\\\",[],[[\\\"@message\\\",\\\"@statistic\\\",\\\"@statisticInvalid\\\",\\\"@statisticsAsLinks\\\",\\\"@clickedStatsColumn\\\"],[[34,0],\\\"clicked\\\",true,false,[30,[36,1],[[32,0],\\\"clickedStatsColumn\\\"],null]]],null],[2,\\\"\\\\n\\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell outbound__replies-stat o__contains-variation-list message__stat-cell\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n    ―\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,2]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell outbound__failed-stat o__contains-variation-list message__stat-cell\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n      ―\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__contains-variation-list\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n    ―\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"message\\\",\\\"action\\\",\\\"isUserAudience\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/table-cells/auto/-single-variant-draft-auto-message-stats-table-cells.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"s2bbcG4D\",\"block\":\"{\\\"symbols\\\":[\\\"variation\\\"],\\\"statements\\\":[[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__contains-variation-list o__continues-into-next-cell\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[35,1,[\\\"variations\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-start campaign__cell-from\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,0],[\\\"apps.app.admins.admin\\\",[32,1,[\\\"from\\\",\\\"id\\\"]]],null]]]],[14,0,\\\"t__solo-link\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-avatar-component\\\",[],[[\\\"@model\\\",\\\"@size\\\"],[[32,1,[\\\"from\\\"]],\\\"s\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[6,[37,4],[[35,1,[\\\"controlGroup\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-start campaign__cell-from\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"u__ml__5\\\"],[12],[2,\\\"\\\\n        —\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"href-to\\\",\\\"message\\\",\\\"-track-array\\\",\\\"each\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/table-cells/lists/-campaign-from-cell.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"L371WKpa\",\"block\":\"{\\\"symbols\\\":[\\\"variation\\\"],\\\"statements\\\":[[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__contains-variation-list o__continues-into-next-cell t__left\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,10],[[30,[36,9],[[30,[36,9],[[35,1,[\\\"variations\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"campaign__cell-content t__campaign__stat\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,8],[[35,1,[\\\"isDraft\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[15,0,[31,[\\\"outbound__\\\",[34,0,[\\\"colorClass\\\"]],\\\"-stat\\\"]]],[12],[2,\\\"—\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,7],[[35,6],[35,1,[\\\"id\\\"]],[30,[36,5],null,[[\\\"viewing\\\",\\\"version\\\"],[[35,0,[\\\"viewingParam\\\"]],[32,1,[\\\"label\\\"]]]]]],null]]]],[15,0,[31,[\\\"t__solo-link outbound__\\\",[34,0,[\\\"colorClass\\\"]],\\\"-stat\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,8],[[35,0,[\\\"isPercentage\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[1,[30,[36,4],[[30,[36,2],[[32,1,[\\\"stats\\\"]],[35,0,[\\\"property\\\"]]],null]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"              \\\"],[1,[30,[36,3],[[30,[36,2],[[32,1,[\\\"stats\\\"]],[35,0,[\\\"property\\\"]]],null]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[6,[37,8],[[35,1,[\\\"controlGroup\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"campaign__cell-content t__campaign__stat\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,8],[[35,1,[\\\"isDraft\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"span\\\"],[15,0,[31,[\\\"outbound__\\\",[34,0,[\\\"colorClass\\\"]],\\\"-stat\\\"]]],[12],[2,\\\"—\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,7],[[35,6],[35,1,[\\\"id\\\"]],[30,[36,5],null,[[\\\"viewing\\\",\\\"version\\\"],[[35,0,[\\\"viewingParam\\\"]],\\\"control\\\"]]]],null]]]],[15,0,[31,[\\\"t__solo-link outbound__\\\",[34,0,[\\\"colorClass\\\"]],\\\"-stat\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,8],[[35,0,[\\\"isPercentage\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[1,[30,[36,4],[[30,[36,2],[[35,1,[\\\"controlGroup\\\",\\\"stats\\\"]],[35,0,[\\\"property\\\"]]],null]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[1,[30,[36,3],[[30,[36,2],[[35,1,[\\\"controlGroup\\\",\\\"stats\\\"]],[35,0,[\\\"property\\\"]]],null]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"column\\\",\\\"message\\\",\\\"get\\\",\\\"numeric-formatter-helper\\\",\\\"format-percentage\\\",\\\"query-params\\\",\\\"campaignStatsRoute\\\",\\\"href-to\\\",\\\"if\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/table-cells/lists/-campaign-stats-cell.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"AiNkJlhs\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"td\\\"],[14,0,\\\"message__list__description-cell tbl__cell o__continues-into-next-cell\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"campaign__title-cell\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"campaign__messages-list__drag-area \\\",[30,[36,2],[[35,5],\\\"u__disable-pointer-events\\\"],null]]]],[12],[2,\\\"\\\\n      \\\"],[1,[30,[36,6],[\\\"vertical-order\\\"],[[\\\"color\\\"],[\\\"gray\\\"]]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,8],[[35,7],[35,0,[\\\"id\\\"]]],null]]]],[14,0,\\\"t__solo-link message__list__title test__message-list__title o__truncated\\\"],[15,\\\"title\\\",[31,[[34,0,[\\\"title\\\"]]]]],[12],[2,\\\"\\\\n          \\\"],[1,[35,0,[\\\"title\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[1,[30,[36,4],[[35,0,[\\\"uiStateName\\\"]]],null]],[2,\\\" \\\"],[6,[37,2],[[35,0,[\\\"hasMultipleVariations\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,4],[\\\"A/B\\\",\\\"u__ml__5\\\"],null]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,2],[[35,0,[\\\"hasControlGroup\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,4],[\\\"Control Group\\\",\\\"u__ml__5\\\"],null]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,2],[[35,3]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"t__light-text text-black\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[34,3]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-start\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"predicate__description t__light-text ember-view\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,1,[\\\"predicatesForSummary\\\",\\\"length\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"message-editor/audience/predicate-group-summary\\\",[],[[\\\"@predicates\\\",\\\"@ruleMode\\\",\\\"@message\\\"],[[34,1,[\\\"predicatesForSummary\\\"]],[30,[36,2],[[35,1,[\\\"isOrMode\\\"]],\\\"or\\\",\\\"and\\\"],null],[34,0]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            Everyone in the campaign\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,0,[\\\"hasNoExamplePredicates\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"campaigns/campaign-message-validations\\\",[],[[\\\"@message\\\"],[[34,0]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"message\\\",\\\"selectionState\\\",\\\"if\\\",\\\"messageTypeText\\\",\\\"ic-stamp\\\",\\\"disableMessageDragging\\\",\\\"ic-interface-icon\\\",\\\"messageRoute\\\",\\\"href-to\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/table-cells/lists/-campaign-title-cell.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"ZgSDLXTZ\",\"block\":\"{\\\"symbols\\\":[\\\"variation\\\"],\\\"statements\\\":[[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__contains-variation-list o__continues-into-next-cell\\\"],[12],[2,\\\"\\\\n\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[35,0,[\\\"variations\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-start campaign__cell-from\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,0,[\\\"hasMultipleVariations\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"span\\\"],[14,0,\\\"text-gray u__ml__10\\\"],[12],[2,\\\"Version \\\"],[1,[32,1,[\\\"label\\\"]]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[35,0,[\\\"hasControlGroup\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"span\\\"],[14,0,\\\"text-gray u__ml__10\\\"],[12],[2,\\\"Message\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,0,[\\\"controlGroup\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-start campaign__cell-from\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"text-gray u__ml__10\\\"],[14,5,\\\"margin-left: auto\\\"],[12],[2,\\\"Control Group\\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"message\\\",\\\"if\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/table-cells/lists/-campaign-variations-cell.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"YCqYF6v3\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"messages/lists/statistic-cell\\\",[],[[\\\"@message\\\",\\\"@statistic\\\",\\\"@statisticInvalid\\\",\\\"@statisticsAsLinks\\\",\\\"@clickedStatsColumn\\\"],[[34,1],\\\"sent\\\",false,true,[30,[36,4],[[32,0],\\\"clickedStatsColumn\\\"],null]]],null],[2,\\\"\\\\n\\\"],[8,\\\"messages/lists/statistic-cell\\\",[],[[\\\"@message\\\",\\\"@statistic\\\",\\\"@statisticInvalid\\\",\\\"@statisticsAsLinks\\\",\\\"@clickedStatsColumn\\\"],[[34,1],\\\"opened\\\",false,true,[30,[36,4],[[32,0],\\\"clickedStatsColumn\\\"],null]]],null],[2,\\\"\\\\n\\\"],[8,\\\"messages/lists/statistic-cell\\\",[],[[\\\"@message\\\",\\\"@statistic\\\",\\\"@statisticInvalid\\\",\\\"@statisticsAsLinks\\\",\\\"@clickedStatsColumn\\\"],[[34,1],\\\"goal\\\",[34,1,[\\\"hasNoGoal\\\"]],true,[30,[36,4],[[32,0],\\\"clickedStatsColumn\\\"],null]]],null],[2,\\\"\\\\n\\\"],[8,\\\"messages/lists/statistic-cell\\\",[],[[\\\"@message\\\",\\\"@statistic\\\",\\\"@statisticInvalid\\\",\\\"@statisticsAsLinks\\\",\\\"@clickedStatsColumn\\\"],[[34,1],\\\"clicked\\\",[34,1,[\\\"isMobilePush\\\"]],true,[30,[36,4],[[32,0],\\\"clickedStatsColumn\\\"],null]]],null],[2,\\\"\\\\n\\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell outbound__replies-stat o__contains-variation-list message__stat-cell\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,1,[\\\"isMobilePush\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      —\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,5],[[35,1,[\\\"variationA\\\",\\\"isTextReply\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,3],[[35,2],[35,1,[\\\"id\\\"]],[30,[36,0],null,[[\\\"viewing\\\"],[\\\"replied\\\"]]]],null]]]],[14,0,\\\"t__solo-link\\\"],[12],[2,\\\"\\\\n        \\\"],[11,\\\"span\\\"],[4,[38,4],[[32,0],\\\"clickedStatsColumn\\\",\\\"replied\\\"],null],[12],[2,\\\"\\\\n          \\\"],[1,[35,1,[\\\"variationA\\\",\\\"stats\\\",\\\"displayReplyPercentage\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,3],[[35,2],[35,1,[\\\"id\\\"]],[30,[36,0],null,[[\\\"viewing\\\"],[\\\"responded\\\"]]]],null]]]],[14,0,\\\"t__solo-link\\\"],[12],[2,\\\"\\\\n        \\\"],[11,\\\"span\\\"],[4,[38,4],[[32,0],\\\"clickedStatsColumn\\\",\\\"responded\\\"],null],[12],[2,\\\"\\\\n          \\\"],[1,[35,1,[\\\"variationA\\\",\\\"stats\\\",\\\"displayResponsePercentage\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell outbound__failed-stat o__contains-variation-list message__stat-cell\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,1,[\\\"variationA\\\",\\\"isEmail\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,3],[[35,2],[35,1,[\\\"id\\\"]],[30,[36,0],null,[[\\\"viewing\\\"],[\\\"failed\\\"]]]],null]]]],[14,0,\\\"t__solo-link\\\"],[12],[2,\\\"\\\\n        \\\"],[11,\\\"span\\\"],[4,[38,4],[[32,0],\\\"clickedStatsColumn\\\",\\\"failed\\\"],null],[12],[2,\\\"\\\\n          \\\"],[1,[35,1,[\\\"variationA\\\",\\\"stats\\\",\\\"displayFailedPercentage\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      —\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__contains-variation-list\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[15,\\\"title\\\",[31,[[34,1,[\\\"variationA\\\",\\\"stats\\\",\\\"localeFormattedLastSentDate\\\"]]]]],[12],[2,\\\"\\\\n      \\\"],[1,[35,1,[\\\"variationA\\\",\\\"stats\\\",\\\"displayLastSentDate\\\"]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"query-params\\\",\\\"message\\\",\\\"messageRoute\\\",\\\"href-to\\\",\\\"action\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/table-cells/manual/-manual-message-stats-table-cells.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"CdqP5Xf0\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__contains-variation-list\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[15,\\\"title\\\",[31,[[34,0,[\\\"variationA\\\",\\\"localeFormattedCreatedAtDate\\\"]]]]],[12],[2,\\\"\\\\n      \\\"],[1,[35,0,[\\\"variationA\\\",\\\"humanReadableCreationDate\\\"]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"message\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/table-cells/manual/-single-variant-message-created-at-cell.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"uh4srU8U\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__contains-variation-list\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,0,[\\\"variationA\\\",\\\"hasCustomFromAddress\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[1,[35,0,[\\\"variationA\\\",\\\"customFromAddress\\\",\\\"nameOrEmail\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[35,0,[\\\"variationA\\\",\\\"dynamicSender\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__centers-vertically\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"u__padr__5\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,3],[\\\"owner\\\"],[[\\\"size\\\"],[24]]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        Owner\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"avatar__container o__s\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,0,[\\\"variationA\\\",\\\"from\\\",\\\"is_team\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"messages/message-from-name-with-avatar\\\",[],[[\\\"@from\\\"],[[34,0,[\\\"variationA\\\",\\\"from\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[35,0,[\\\"variationA\\\",\\\"from\\\",\\\"id\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,1],[\\\"apps.app.admins.admin\\\",[35,0,[\\\"variationA\\\",\\\"from\\\",\\\"id\\\"]]],null]]]],[14,0,\\\"t__solo-link\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"messages/message-from-name-with-avatar\\\",[],[[\\\"@from\\\"],[[34,0,[\\\"variationA\\\",\\\"from\\\"]]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"message\\\",\\\"href-to\\\",\\\"if\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/table-cells/manual/-single-variant-message-from-cell.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Cs+PztHj\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__contains-variation-list\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,0],[\\\"schedule\\\"],null]],[2,\\\" \\\"],[8,\\\"date-with-timezone-component\\\",[],[[\\\"@date\\\",\\\"@timezone\\\"],[[34,1,[\\\"scheduledToGoLiveAt\\\"]],[34,2,[\\\"timezone\\\"]]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"ic-interface-icon\\\",\\\"message\\\",\\\"app\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/table-cells/manual/-single-variant-message-send-at-cell.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"w/BvZx39\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__contains-variation-list\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"variation\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,1],[[35,0,[\\\"variationA\\\",\\\"styleIcon\\\"]]],null]],[2,\\\"\\\\n    \\\"],[1,[35,0,[\\\"variationA\\\",\\\"styleLabel\\\"]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"message\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/partials/table-cells/manual/-single-variant-message-type-cell.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"yUlBFVv8\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,\\\"data-intercom-target\\\",\\\"Outbound Home Post List\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"pulse/full-width-banner\\\",[[24,0,\\\"flex flex-row items-center justify-center gap-2 py-5\\\"]],[[\\\"@color\\\"],[\\\"black\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[1,[30,[36,7],[\\\"new\\\"],null]],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"py-1\\\"],[12],[2,\\\"Build your orchestrations visually with \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\"],[\\\"apps.app.outbound.series.index\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Series\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"animate-arrow-right\\\"],[12],[1,[30,[36,8],[\\\"regular-path\\\"],null]],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[8,\\\"outbound/list-header\\\",[],[[\\\"@data\\\",\\\"@createContent\\\",\\\"@templates\\\"],[[32,0,[\\\"bannerData\\\"]],[32,0,[\\\"createContent\\\"]],[32,0,[\\\"templates\\\"]]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"ml-6 mr-6\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"outbound__filter-and-count-block\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"outbound/filters\\\",[],[[\\\"@filterContent\\\",\\\"@selectedAudienceValues\\\",\\\"@selectedStateValue\\\",\\\"@selectedSenderValue\\\",\\\"@selectedTagValues\\\",\\\"@selectedMatchBehaviorValues\\\",\\\"@messagesTags\\\"],[[32,0,[\\\"filterContent\\\"]],[32,0,[\\\"selectedAudienceValues\\\"]],[32,0,[\\\"selectedStateValue\\\"]],[32,0,[\\\"selectedSenderValue\\\"]],[32,0,[\\\"selectedTagValues\\\"]],[32,0,[\\\"selectedMatchBehaviorValues\\\"]],[32,0,[\\\"messagesTags\\\"]]]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center pt-4 pb-2\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"u__mt__10 u__mb__10\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"outbound/list-count\\\",[],[[\\\"@hasSelectedContentWrappers\\\",\\\"@totalCount\\\",\\\"@selectedCount\\\",\\\"@contentType\\\"],[[32,0,[\\\"hasSelectedContentWrappers\\\"]],[32,0,[\\\"totalCount\\\"]],[32,0,[\\\"selectedContentWrappers\\\",\\\"length\\\"]],\\\"post\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"hasSelectedContentWrappers\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"u__ml__20\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"outbound/bulk-tag\\\",[],[[\\\"@selectedContentWrappers\\\",\\\"@onAfterSave\\\"],[[32,0,[\\\"selectedContentWrappers\\\"]],[30,[36,6],[[32,0],\\\"updateMessagesTags\\\"],null]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"isLoading\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[32,0,[\\\"hasItemsToDisplay\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"mt-2\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"outbound/list-component\\\",[],[[\\\"@data\\\",\\\"@columns\\\",\\\"@statisticColumns\\\",\\\"@loadMore\\\",\\\"@currentPage\\\",\\\"@pageSize\\\",\\\"@lastPageHit\\\",\\\"@totalPages\\\"],[[32,0,[\\\"model\\\"]],[30,[36,5],[[30,[36,4],null,[[\\\"valuePath\\\"],[\\\"checkBox\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"title\\\",\\\"Title\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"minWidth\\\"],[\\\"version\\\",\\\"130px\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"state\\\",\\\"State\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sender\\\",\\\"Sender\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sentCount\\\",\\\"Sent\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"goalPercent\\\",\\\"Goal\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"openPercent\\\",\\\"Opened\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"clickPercent\\\",\\\"Clicked\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"replyPercent\\\",\\\"Replied\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"audienceTypes\\\",\\\"People type\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\",\\\"isSortable\\\"],[\\\"createdAt\\\",\\\"Created at\\\",\\\"144px\\\",[30,[36,3],[\\\"canUseSortInOutboundHome\\\"],null]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\",\\\"isSortable\\\"],[\\\"firstWentLiveAt\\\",[30,[36,2],[[32,0,[\\\"outboundHomeService\\\",\\\"selectedTabIsOngoing\\\"]],\\\"First set live\\\",\\\"Date sent\\\"],null],\\\"120px\\\",[30,[36,3],[\\\"canUseSortInOutboundHome\\\"],null]]]]],null],[30,[36,5],[[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"sentCount\\\",[32,0,[\\\"statisticKeys\\\",\\\"receipts\\\"]]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"goalPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"goals\\\"]]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"openPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"opens\\\"]]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"clickPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"clicks\\\"]]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"replyPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"replies\\\"]]]]]],null],[32,0,[\\\"loadMore\\\"]],[32,0,[\\\"pageFrom\\\"]],[32,0,[\\\"perPage\\\"]],[32,0,[\\\"lastPageHit\\\"]],[32,0,[\\\"totalPages\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"outbound/empty-state\\\",[],[[\\\"@icon\\\",\\\"@humanReadableObjectName\\\",\\\"@creationReason\\\",\\\"@createContent\\\",\\\"@hasAppliedFilter\\\",\\\"@resetFilters\\\"],[[32,0,[\\\"bannerData\\\",\\\"icon\\\"]],[32,0,[\\\"selectedObjectType\\\"]],\\\"to make an announcement directly from your product.\\\",[30,[36,0],[[32,0],\\\"showContentCreationModal\\\",true],null],[32,0,[\\\"hasAppliedFilter\\\"]],[32,0,[\\\"resetFilters\\\"]]]],null],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"showContentCreationModal\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"messages/message-creation-modal\\\",[],[[\\\"@isTargetingLeads\\\",\\\"@createNewMessage\\\",\\\"@closeModal\\\",\\\"@templates\\\",\\\"@selectedObjectType\\\"],[false,[32,0,[\\\"createContent\\\"]],[30,[36,1],[[30,[36,0],[[32,0],\\\"showContentCreationModal\\\",false],null]],null],[32,0,[\\\"templates\\\"]],[32,0,[\\\"bannerData\\\",\\\"selectedObjectType\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"set\\\",\\\"fn\\\",\\\"if\\\",\\\"has-feature\\\",\\\"hash\\\",\\\"array\\\",\\\"action\\\",\\\"inline-svg\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/post/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Y1LitlWp\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,\\\"data-intercom-target\\\",\\\"Outbound Home Push List\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"pulse/full-width-banner\\\",[[24,0,\\\"flex flex-row items-center justify-center gap-2 py-5\\\"]],[[\\\"@color\\\"],[\\\"black\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[1,[30,[36,7],[\\\"new\\\"],null]],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"py-1\\\"],[12],[2,\\\"Build your orchestrations visually with \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\"],[\\\"apps.app.outbound.series.index\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Series\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"animate-arrow-right\\\"],[12],[1,[30,[36,8],[\\\"regular-path\\\"],null]],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[8,\\\"mobile/upgrade-install-banner\\\",[],[[\\\"@mobileProductName\\\",\\\"@featureKey\\\",\\\"@minimumVersion\\\",\\\"@noRoundedCorner\\\"],[\\\"Push Messages\\\",\\\"push_only\\\",\\\"1.0.0\\\",true]],null],[2,\\\"\\\\n  \\\"],[8,\\\"outbound/list-header\\\",[],[[\\\"@data\\\",\\\"@createContent\\\",\\\"@templates\\\"],[[32,0,[\\\"bannerData\\\"]],[32,0,[\\\"createContent\\\"]],[32,0,[\\\"templates\\\"]]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"ml-6 mr-6\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"outbound__filter-and-count-block\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"outbound/filters\\\",[],[[\\\"@filterContent\\\",\\\"@selectedAudienceValues\\\",\\\"@selectedStateValue\\\",\\\"@selectedSenderValue\\\",\\\"@selectedTagValues\\\",\\\"@selectedMatchBehaviorValues\\\",\\\"@messagesTags\\\"],[[32,0,[\\\"filterContent\\\"]],[32,0,[\\\"selectedAudienceValues\\\"]],[32,0,[\\\"selectedStateValue\\\"]],[32,0,[\\\"selectedSenderValue\\\"]],[32,0,[\\\"selectedTagValues\\\"]],[32,0,[\\\"selectedMatchBehaviorValues\\\"]],[32,0,[\\\"messagesTags\\\"]]]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center pt-4 pb-2\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"u__mt__10 u__mb__10\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"outbound/list-count\\\",[],[[\\\"@hasSelectedContentWrappers\\\",\\\"@totalCount\\\",\\\"@selectedCount\\\",\\\"@contentType\\\"],[[32,0,[\\\"hasSelectedContentWrappers\\\"]],[32,0,[\\\"totalCount\\\"]],[32,0,[\\\"selectedContentWrappers\\\",\\\"length\\\"]],\\\"mobile push\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"hasSelectedContentWrappers\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"u__ml__20\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"outbound/bulk-tag\\\",[],[[\\\"@selectedContentWrappers\\\",\\\"@onAfterSave\\\"],[[32,0,[\\\"selectedContentWrappers\\\"]],[30,[36,6],[[32,0],\\\"updateMessagesTags\\\"],null]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"isLoading\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[32,0,[\\\"hasItemsToDisplay\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"mt-2\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"outbound/list-component\\\",[],[[\\\"@data\\\",\\\"@columns\\\",\\\"@statisticColumns\\\",\\\"@loadMore\\\",\\\"@sortUpdate\\\",\\\"@sortBy\\\",\\\"@sortDirection\\\",\\\"@currentPage\\\",\\\"@pageSize\\\",\\\"@lastPageHit\\\",\\\"@totalPages\\\"],[[32,0,[\\\"model\\\"]],[30,[36,5],[[30,[36,4],null,[[\\\"valuePath\\\"],[\\\"checkBox\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"title\\\",\\\"Title\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"minWidth\\\"],[\\\"version\\\",\\\"130px\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"state\\\",\\\"State\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sender\\\",\\\"Sender\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sentCount\\\",\\\"Sent\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"goalPercent\\\",\\\"Goal\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"openPercent\\\",\\\"Opened\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"audienceTypes\\\",\\\"People type\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\",\\\"isSortable\\\"],[\\\"createdAt\\\",\\\"Created at\\\",\\\"144px\\\",[30,[36,3],[\\\"canUseSortInOutboundHome\\\"],null]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\",\\\"isSortable\\\"],[\\\"firstWentLiveAt\\\",[30,[36,2],[[32,0,[\\\"outboundHomeService\\\",\\\"selectedTabIsOngoing\\\"]],\\\"First set live\\\",\\\"Date sent\\\"],null],\\\"120px\\\",[30,[36,3],[\\\"canUseSortInOutboundHome\\\"],null]]]]],null],[30,[36,5],[[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"sentCount\\\",[32,0,[\\\"statisticKeys\\\",\\\"receipts\\\"]]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"goalPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"goals\\\"]]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"openPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"opens\\\"]]]]]],null],[32,0,[\\\"loadMore\\\"]],[30,[36,6],[[32,0],\\\"sortUpdate\\\"],null],[32,0,[\\\"sortBy\\\"]],[32,0,[\\\"sortDirection\\\"]],[32,0,[\\\"pageFrom\\\"]],[32,0,[\\\"perPage\\\"]],[32,0,[\\\"lastPageHit\\\"]],[32,0,[\\\"totalPages\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"outbound/empty-state\\\",[],[[\\\"@icon\\\",\\\"@humanReadableObjectName\\\",\\\"@createContent\\\",\\\"@hasAppliedFilter\\\",\\\"@resetFilters\\\"],[\\\"push-notification-filled\\\",[32,0,[\\\"selectedObjectType\\\"]],[30,[36,0],[[32,0],\\\"showContentCreationModal\\\",true],null],[32,0,[\\\"hasAppliedFilter\\\"]],[32,0,[\\\"resetFilters\\\"]]]],null],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"showContentCreationModal\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"messages/message-creation-modal\\\",[],[[\\\"@isTargetingLeads\\\",\\\"@createNewMessage\\\",\\\"@closeModal\\\",\\\"@templates\\\",\\\"@selectedObjectType\\\"],[false,[32,0,[\\\"createContent\\\"]],[30,[36,1],[[30,[36,0],[[32,0],\\\"showContentCreationModal\\\",false],null]],null],[32,0,[\\\"templates\\\"]],[32,0,[\\\"bannerData\\\",\\\"selectedObjectType\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"set\\\",\\\"fn\\\",\\\"if\\\",\\\"has-feature\\\",\\\"hash\\\",\\\"array\\\",\\\"action\\\",\\\"inline-svg\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/push/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"a8Gru3JX\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"main__content layout__box o__flexes-to-1 o__scrolls u__padt__0\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"reporting__content reporting__report-card\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"card layout_box reporting__report-card-filters\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner layout__box o__flexes-to-1 o__has-columns u__padl__40 u__padr__40\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n              All data shown for emails with over 1000 sends in the last 30 days.\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"card reporting__content reporting__report-card layout__box reporting__report o__has-rows o__top u__mt__0\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner layout__box\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-rows u__padl__20\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner layout__box\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-columns u__padl__20\\\"],[12],[2,\\\"\\\\n                  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n                    \\\"],[8,\\\"reporting/chart/bar\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@signal\\\",\\\"@color\\\",\\\"@range\\\",\\\"@size\\\",\\\"@improvementDirection\\\"],[\\\"Emails sent\\\",\\\"Number of emails sent.\\\",[34,0,[\\\"emailsSent\\\"]],\\\"vis-green-70\\\",[32,0,[\\\"range\\\"]],\\\"small\\\",\\\"increasing\\\"]],null],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n                    \\\"],[8,\\\"reporting/chart/bar\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@signal\\\",\\\"@color\\\",\\\"@range\\\",\\\"@size\\\",\\\"@improvementDirection\\\"],[\\\"Emails opened\\\",\\\"Number of emails opened.\\\",[34,0,[\\\"emailsOpened\\\"]],\\\"vis-yellow-60\\\",[32,0,[\\\"range\\\"]],\\\"small\\\",\\\"increasing\\\"]],null],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner layout__box\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-columns u__padl__20\\\"],[12],[2,\\\"\\\\n                  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1\\\"],[12],[2,\\\"\\\\n                    \\\"],[8,\\\"reporting/chart/bar\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@signal\\\",\\\"@color\\\",\\\"@range\\\",\\\"@size\\\",\\\"@improvementDirection\\\"],[\\\"Emails clicked\\\",\\\"Number of emails clicked.\\\",[34,0,[\\\"emailsOpened\\\"]],\\\"vis-green-70\\\",[32,0,[\\\"range\\\"]],\\\"small\\\",\\\"increasing\\\"]],null],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n                    \\\"],[8,\\\"reporting/chart/bar\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@signal\\\",\\\"@color\\\",\\\"@range\\\",\\\"@size\\\",\\\"@improvementDirection\\\"],[\\\"Emails bounced\\\",\\\"Number of emails that bounced.\\\",[34,0,[\\\"emailsBounced\\\"]],\\\"vis-yellow-60\\\",[32,0,[\\\"range\\\"]],\\\"small\\\",\\\"decreasing\\\"]],null],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner layout__box\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-columns u__padl__20\\\"],[12],[2,\\\"\\\\n                  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1\\\"],[12],[2,\\\"\\\\n                    \\\"],[8,\\\"reporting/chart/bar\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@signal\\\",\\\"@color\\\",\\\"@range\\\",\\\"@size\\\",\\\"@improvementDirection\\\"],[\\\"Email complaints\\\",\\\"Number of email with complaints.\\\",[34,0,[\\\"emailsWithComplaints\\\"]],\\\"vis-green-70\\\",[32,0,[\\\"range\\\"]],\\\"small\\\",\\\"decreasing\\\"]],null],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n                    \\\"],[8,\\\"reporting/chart/bar\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@signal\\\",\\\"@color\\\",\\\"@range\\\",\\\"@size\\\",\\\"@improvementDirection\\\"],[\\\"Emails unsubscribed\\\",\\\"Number of emails unsubscribed from.\\\",[34,0,[\\\"emailUnsubscribes\\\"]],\\\"vis-yellow-60\\\",[32,0,[\\\"range\\\"]],\\\"small\\\",\\\"decreasing\\\"]],null],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"signals\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/reporting/deliverability.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"b39FBsmt\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"common/hamburger-menu\\\",[],[[\\\"@title\\\"],[\\\"Overview\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"h1\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n    Messages report for \\\"],[1,[35,0,[\\\"name\\\"]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[8,\\\"reporting/date-range-filter\\\",[],[[\\\"@scrollParentSelector\\\",\\\"@disabled\\\",\\\"@range\\\",\\\"@timezone\\\",\\\"@updateRange\\\"],[\\\".js__main-container\\\",false,[32,0,[\\\"range\\\"]],[34,0,[\\\"timezone\\\"]],[30,[36,1],[[32,0],\\\"updateRange\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"u__padt__35 u__padb__25 u__padl__30 u__padr__30 insights__container layout__box\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n    Are our messages sending as expected?\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-card\\\",[[24,0,\\\"u__pad__30\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"messages/reporting/message-volume\\\",[],[[\\\"@range\\\"],[[32,0,[\\\"range\\\"]]]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n    Have any of our users received too many messages?\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[8,\\\"messages/reporting/user-volume\\\",[],[[\\\"@range\\\"],[[32,0,[\\\"range\\\"]]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n    Are our messages sending as expected?\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-card\\\",[[24,0,\\\"u__pad__30\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"messages/reporting/messages-stats-list\\\",[],[[\\\"@range\\\"],[[32,0,[\\\"range\\\"]]]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[8,\\\"reporting/export/export-data\\\",[],[[\\\"@exportFlag\\\"],[\\\"engage\\\"]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"app\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/reporting/overview.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"JgIKf5/z\",\"block\":\"{\\\"symbols\\\":[\\\"item\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"o__centers-vertically nav-vertical__search pr-6 pl-6\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"vertical-navigation-search\\\",[],[[\\\"@items\\\",\\\"@placeholderText\\\",\\\"@searchString\\\",\\\"@doSearch\\\",\\\"@resetSearch\\\",\\\"@updatedSearch\\\",\\\"@shouldFilterSelectableItems\\\"],[[32,0,[\\\"items\\\"]],\\\"Search titles...\\\",[32,0,[\\\"searchString\\\"]],[30,[36,5],[[32,0],\\\"doSearch\\\"],null],[30,[36,5],[[32,0],\\\"resetSearch\\\"],null],true,false]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-start\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"searchIcon\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"nav__search__icon-standin-for-avatar\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,6],[[32,0,[\\\"searchIcon\\\"]]],[[\\\"color\\\",\\\"solo\\\"],[\\\"gray\\\",true]]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"nav__search__result__type\\\"],[12],[2,\\\"\\\\n          Title contains\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[1,[32,1,[\\\"name\\\"]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"message__list__tabs tabs__discrete-tab__container u__cf pt-6 pl-0\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box message__list__tabs tabs__discrete-tab__container u__cf mt-3\\\"],[12],[2,\\\"\\\\n    \\\"],[11,\\\"a\\\"],[16,6,[31,[[30,[36,8],[\\\"apps.app.outbound.search\\\",[30,[36,7],null,[[\\\"type\\\"],[\\\"ongoing\\\"]]]],null]]]],[16,0,[31,[\\\"tabs__discrete-tab \\\",[30,[36,1],[[30,[36,0],[[32,0,[\\\"type\\\"]],\\\"ongoing\\\"],null],\\\"o__selected\\\"],null]]]],[4,[38,5],[[32,0],\\\"selectTab\\\",\\\"ongoing\\\"],null],[12],[2,\\\"\\\\n      Ongoing\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[11,\\\"a\\\"],[16,6,[31,[[30,[36,8],[\\\"apps.app.outbound.search\\\",[30,[36,7],null,[[\\\"type\\\"],[\\\"one-off\\\"]]]],null]]]],[16,0,[31,[\\\"tabs__discrete-tab \\\",[30,[36,1],[[30,[36,0],[[32,0,[\\\"type\\\"]],\\\"one-off\\\"],null],\\\"o__selected\\\"],null]]]],[4,[38,5],[[32,0],\\\"selectTab\\\",\\\"one-off\\\"],null],[12],[2,\\\"\\\\n      One-off\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"isLoading\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[32,0,[\\\"searchResults\\\",\\\"length\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 pt-6 pl-8\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[32,0,[\\\"totalCount\\\"]]],[2,\\\" results found\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__scrolls mt-2\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"outbound/list-component\\\",[],[[\\\"@data\\\",\\\"@columns\\\",\\\"@statisticColumns\\\",\\\"@loadMore\\\",\\\"@currentPage\\\",\\\"@pageSize\\\",\\\"@lastPageHit\\\",\\\"@totalPages\\\"],[[32,0,[\\\"searchResults\\\"]],[30,[36,4],[[30,[36,3],[[30,[36,2],null,[[\\\"valuePath\\\"],[\\\"checkBox\\\"]]],[30,[36,2],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"title\\\",\\\"Title\\\"]]],[30,[36,1],[[30,[36,0],[[32,0,[\\\"type\\\"]],\\\"ongoing\\\"],null],[30,[36,2],null,[[\\\"valuePath\\\",\\\"minWidth\\\"],[\\\"version\\\",\\\"130px\\\"]]]],null],[30,[36,2],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"state\\\",\\\"State\\\"]]],[30,[36,2],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sender\\\",\\\"Sender\\\"]]],[30,[36,2],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\"],[\\\"contentTypes\\\",\\\"Content type\\\",\\\"153px\\\"]]],[30,[36,2],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sentCount\\\",\\\"Sent\\\"]]],[30,[36,2],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"goalPercent\\\",\\\"Goal\\\"]]],[30,[36,2],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"audienceTypes\\\",\\\"People type\\\"]]],[30,[36,2],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\"],[\\\"createdAt\\\",\\\"Created at\\\",\\\"144px\\\"]]],[30,[36,2],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\"],[\\\"firstWentLiveAt\\\",[30,[36,1],[[30,[36,0],[[32,0,[\\\"type\\\"]],\\\"ongoing\\\"],null],\\\"First set live\\\",\\\"Date sent\\\"],null],\\\"120px\\\"]]]],null]],null],[30,[36,3],[[30,[36,2],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"sentCount\\\",[32,0,[\\\"statisticKeys\\\",\\\"receipts\\\"]]]]],[30,[36,2],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"goalPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"goals\\\"]]]]]],null],[30,[36,5],[[32,0],\\\"loadMore\\\"],null],[32,0,[\\\"pageFrom\\\"]],[32,0,[\\\"perPage\\\"]],[32,0,[\\\"lastPageHit\\\"]],[32,0,[\\\"totalPages\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[32,0,[\\\"searchString\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\"],[\\\"error\\\",\\\"No results found\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[30,[36,0],[[32,0,[\\\"type\\\"]],\\\"ongoing\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"messages/search/empty-state\\\",[],[[\\\"@title\\\",\\\"@description\\\"],[\\\"Search ongoing messages\\\",\\\"You can search ongoing messages by title\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[30,[36,0],[[32,0,[\\\"type\\\"]],\\\"one-off\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"messages/search/empty-state\\\",[],[[\\\"@title\\\",\\\"@description\\\"],[\\\"Search one-off messages\\\",\\\"You can search one-off messages by title\\\"]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"eq\\\",\\\"if\\\",\\\"hash\\\",\\\"array\\\",\\\"compact\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"query-params\\\",\\\"href-to\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/search.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"heofcNSO\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\",\\\"banner\\\",\\\"links\\\"],\\\"statements\\\":[[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"series\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"Banner\\\"]],[],[[\\\"@content\\\"],[\\\"Upgrade to publish Series\\\"]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,\\\"data-intercom-target\\\",\\\"Outbound Home Series List\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"pulse/hero-banner\\\",[],[[\\\"@svg\\\",\\\"@title\\\",\\\"@description\\\",\\\"@scrollSelector\\\"],[[32,0,[\\\"bannerData\\\",\\\"icon\\\"]],[32,0,[\\\"bannerData\\\",\\\"pageTitle\\\"]],[32,0,[\\\"bannerData\\\",\\\"description\\\"]],\\\".main__content-outlet .o__scrolls\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"Links\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,3,[\\\"Link\\\"]],[],[[\\\"@title\\\",\\\"@type\\\",\\\"@href\\\"],[\\\"Learn how Series works\\\",\\\"article\\\",\\\"https://www.intercom.com/help/en/articles/4425207-orchestrate-your-customer-messaging-with-series\\\"]],null],[2,\\\"\\\\n        \\\"],[8,[32,3,[\\\"Video\\\"]],[],[[\\\"@title\\\",\\\"@wistiaId\\\"],[\\\"Watch a video\\\",\\\"vvl5ilinua\\\"]],null],[2,\\\"\\\\n        \\\"],[8,[32,3,[\\\"Tour\\\"]],[],[[\\\"@title\\\",\\\"@tourId\\\"],[\\\"Take a tour\\\",\\\"148431\\\"]],null],[2,\\\"\\\\n\\\"],[6,[37,8],[[30,[36,7],[[30,[36,6],[\\\"campaignsDeprecated\\\"],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,3,[\\\"Link\\\"]],[],[[\\\"@title\\\",\\\"@type\\\",\\\"@href\\\"],[\\\"How to migrate campaigns to Series\\\",\\\"article\\\",\\\"https://www.intercom.com/help/en/articles/4425210-migrating-from-campaigns-to-series\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n\\\\n      \\\"],[8,[32,2,[\\\"Action\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"ic-button\\\",[[24,\\\"data-intercom-target\\\",\\\"new-series-button\\\"]],[[\\\"@type\\\",\\\"@label\\\",\\\"@onClick\\\"],[\\\"primary\\\",\\\"New series\\\",[30,[36,1],[[32,0],\\\"showContentCreationModal\\\",true],null]]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"ml-6 mr-6 overflow-scroll\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center pt-4 pb-2\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"outbound/list-count\\\",[],[[\\\"@hasSelectedContentWrappers\\\",\\\"@totalCount\\\",\\\"@selectedCount\\\",\\\"@contentType\\\"],[[32,0,[\\\"hasSelectedContentWrappers\\\"]],[32,0,[\\\"totalCount\\\"]],[32,0,[\\\"selectedContentWrappers\\\",\\\"length\\\"]],\\\"series\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,8],[[32,0,[\\\"hasItemsToDisplay\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"outbound/list-component\\\",[],[[\\\"@data\\\",\\\"@columns\\\",\\\"@statisticColumns\\\",\\\"@loadMore\\\",\\\"@currentPage\\\",\\\"@pageSize\\\",\\\"@lastPageHit\\\",\\\"@totalPages\\\"],[[32,0,[\\\"model\\\"]],[30,[36,5],[[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"title\\\",\\\"Series title\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"state\\\",\\\"State\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sender\\\",\\\"Created By\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"startedCount\\\",\\\"Started\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"finishedCount\\\",\\\"Finished\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"disengagedCount\\\",\\\"Disengaged\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"exitedCount\\\",\\\"Exited\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"goalCount\\\",\\\"Goal\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\"],[\\\"createdAt\\\",\\\"Created at\\\",\\\"144px\\\"]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\"],[\\\"firstWentLiveAt\\\",\\\"First set live\\\",\\\"144px\\\"]]]],null],[30,[36,5],[[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"startedCount\\\",[32,0,[\\\"statisticKeys\\\",\\\"receipts\\\"]]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"finishedCount\\\",[32,0,[\\\"statisticKeys\\\",\\\"seriesCompletions\\\"]]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"disengagedCount\\\",[32,0,[\\\"statisticKeys\\\",\\\"seriesDisengagements\\\"]]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"exitedCount\\\",[32,0,[\\\"statisticKeys\\\",\\\"seriesExits\\\"]]]]],[30,[36,4],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"goalCount\\\",[32,0,[\\\"statisticKeys\\\",\\\"goals\\\"]]]]]],null],[32,0,[\\\"loadMore\\\"]],[32,0,[\\\"pageFrom\\\"]],[32,0,[\\\"perPage\\\"]],[32,0,[\\\"lastPageHit\\\"]],[32,0,[\\\"totalPages\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"heading\\\",[[24,0,\\\"text-gray\\\"]],[[\\\"@size\\\"],[\\\"2\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"You have no series yet\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[8,\\\"paragraph\\\",[],[[\\\"@styling\\\"],[\\\"muted\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Get started with one of our templates\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row flex-wrap gap-4 mt-8\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"outbound/new-content-modal/templates-list\\\",[],[[\\\"@templates\\\",\\\"@onSelect\\\"],[[30,[36,0],[0,3,[32,0,[\\\"seriesTemplates\\\"]]],null],[32,0,[\\\"selectTemplate\\\"]]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\\n          \\\"],[8,\\\"text\\\",[[24,0,\\\"mt-8\\\"],[4,[38,2],[\\\"click\\\",[30,[36,1],[[32,0],\\\"showContentCreationModal\\\",true],null]],null]],[[\\\"@linkStyling\\\",\\\"@styling\\\"],[\\\"standalone\\\",\\\"strong\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            Browse all templates \\\"],[1,[30,[36,3],[\\\"regular-path\\\"],null]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,8],[[32,0,[\\\"showContentCreationModal\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"outbound/new-content-modal\\\",[],[[\\\"@onClose\\\",\\\"@createContent\\\",\\\"@templates\\\",\\\"@selectedTemplate\\\"],[[32,0,[\\\"onNewContentModalClose\\\"]],[32,0,[\\\"createContent\\\"]],[32,0,[\\\"seriesTemplates\\\"]],[32,0,[\\\"selectedTemplate\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"slice\\\",\\\"set\\\",\\\"on\\\",\\\"ic-interface-icon\\\",\\\"hash\\\",\\\"array\\\",\\\"has-feature\\\",\\\"not\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/series/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"GCoW+d4s\",\"block\":\"{\\\"symbols\\\":[\\\"banner\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"pulse/hero-banner\\\",[],[[\\\"@svg\\\",\\\"@title\\\",\\\"@description\\\",\\\"@scrollSelector\\\",\\\"@isLoading\\\"],[\\\"series\\\",\\\"Series\\\",\\\"Visually design messaging campaigns across all Intercom message types.\\\",\\\".main__content-outlet .o__scrolls\\\",true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"Action\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@label\\\",\\\"@isDisabled\\\"],[\\\"primary\\\",\\\"New series\\\",true]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1 u__relative\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/series/loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"p788YrVP\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/series/redirect-to/series.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"1aeg+/ry\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\"],\\\"statements\\\":[[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"series\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"Banner\\\"]],[],[[\\\"@content\\\"],[\\\"Upgrade to publish series\\\"]],null],[2,\\\"\\\\n  \\\"],[8,\\\"series/editor\\\",[],[[\\\"@series\\\",\\\"@initialNodeId\\\",\\\"@filter\\\",\\\"@mode\\\",\\\"@view\\\",\\\"@onChangeFilter\\\",\\\"@onChangeMode\\\",\\\"@onChangeView\\\"],[[32,0,[\\\"model\\\"]],[32,0,[\\\"nodeId\\\"]],[32,0,[\\\"filter\\\"]],[32,0,[\\\"mode\\\"]],[32,0,[\\\"view\\\"]],[32,0,[\\\"changeFilter\\\"]],[32,0,[\\\"changeMode\\\"]],[32,0,[\\\"changeView\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/series/series.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"fJE95An7\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,\\\"data-intercom-target\\\",\\\"Outbound Home SMS List\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"outbound/list-header\\\",[],[[\\\"@data\\\",\\\"@createContent\\\",\\\"@templates\\\"],[[32,0,[\\\"bannerData\\\"]],[32,0,[\\\"createContent\\\"]],[32,0,[\\\"templates\\\"]]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"ml-6 mr-6\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"outbound__filter-and-count-block\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"outbound/filters\\\",[],[[\\\"@filterContent\\\",\\\"@selectedAudienceValues\\\",\\\"@selectedStateValue\\\",\\\"@selectedSenderValue\\\",\\\"@selectedTagValues\\\",\\\"@selectedMatchBehaviorValues\\\",\\\"@messagesTags\\\"],[[32,0,[\\\"filterContent\\\"]],[32,0,[\\\"selectedAudienceValues\\\"]],[32,0,[\\\"selectedStateValue\\\"]],[32,0,[\\\"selectedSenderValue\\\"]],[32,0,[\\\"selectedTagValues\\\"]],[32,0,[\\\"selectedMatchBehaviorValues\\\"]],[32,0,[\\\"messagesTags\\\"]]]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center pt-4 pb-2\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"u__mt__10 u__mb__10\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"outbound/list-count\\\",[],[[\\\"@hasSelectedContentWrappers\\\",\\\"@totalCount\\\",\\\"@selectedCount\\\",\\\"@contentType\\\"],[[32,0,[\\\"hasSelectedContentWrappers\\\"]],[32,0,[\\\"totalCount\\\"]],[32,0,[\\\"selectedContentWrappers\\\",\\\"length\\\"]],\\\"message\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"hasSelectedContentWrappers\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"u__ml__20\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"outbound/bulk-tag\\\",[],[[\\\"@selectedContentWrappers\\\",\\\"@onAfterSave\\\"],[[32,0,[\\\"selectedContentWrappers\\\"]],[30,[36,5],[[32,0],\\\"updateMessagesTags\\\"],null]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"isLoading\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[32,0,[\\\"hasItemsToDisplay\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"mt-2\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"outbound/list-component\\\",[],[[\\\"@data\\\",\\\"@columns\\\",\\\"@statisticColumns\\\",\\\"@loadMore\\\",\\\"@currentPage\\\",\\\"@pageSize\\\",\\\"@lastPageHit\\\",\\\"@totalPages\\\"],[[32,0,[\\\"model\\\"]],[30,[36,4],[[30,[36,3],null,[[\\\"valuePath\\\"],[\\\"checkBox\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"title\\\",\\\"Title\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"minWidth\\\"],[\\\"version\\\",\\\"130px\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"state\\\",\\\"State\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sender\\\",\\\"Sender\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sentCount\\\",\\\"Sent\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"goalPercent\\\",\\\"Goal\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"audienceTypes\\\",\\\"People type\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\"],[\\\"lastSent\\\",\\\"Last sent\\\",\\\"144px\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\"],[\\\"createdAt\\\",\\\"Created at\\\",\\\"144px\\\"]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\"],[\\\"wentLiveAt\\\",[30,[36,2],[[32,0,[\\\"outboundHomeService\\\",\\\"selectedTabIsOngoing\\\"]],\\\"First set live\\\",\\\"Date sent\\\"],null],\\\"120px\\\"]]]],null],[30,[36,4],[[30,[36,3],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"sentCount\\\",[32,0,[\\\"statisticKeys\\\",\\\"receipts\\\"]]]]],[30,[36,3],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"goalPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"goals\\\"]]]]]],null],[32,0,[\\\"loadMore\\\"]],[32,0,[\\\"pageFrom\\\"]],[32,0,[\\\"perPage\\\"]],[32,0,[\\\"lastPageHit\\\"]],[32,0,[\\\"totalPages\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"outbound/empty-state\\\",[],[[\\\"@icon\\\",\\\"@humanReadableObjectName\\\",\\\"@createContent\\\",\\\"@hasAppliedFilter\\\",\\\"@resetFilters\\\"],[\\\"push-notification-filled\\\",[32,0,[\\\"selectedObjectType\\\"]],[30,[36,0],[[32,0],\\\"showContentCreationModal\\\",true],null],[32,0,[\\\"hasAppliedFilter\\\"]],[32,0,[\\\"resetFilters\\\"]]]],null],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"showContentCreationModal\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"messages/message-creation-modal\\\",[],[[\\\"@isTargetingLeads\\\",\\\"@createNewMessage\\\",\\\"@closeModal\\\",\\\"@templates\\\",\\\"@selectedObjectType\\\"],[false,[32,0,[\\\"createContent\\\"]],[30,[36,1],[[30,[36,0],[[32,0],\\\"showContentCreationModal\\\",false],null]],null],[32,0,[\\\"templates\\\"]],[32,0,[\\\"bannerData\\\",\\\"selectedObjectType\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"set\\\",\\\"fn\\\",\\\"if\\\",\\\"hash\\\",\\\"array\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/sms/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"UgXDOQ2y\",\"block\":\"{\\\"symbols\\\":[\\\"editorWrapper\\\",\\\"contentEditorService\\\",\\\"paywall\\\"],\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[\\\"orchestration-tours-content-editor\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"content-editor\\\",[],[[\\\"@ruleset\\\",\\\"@rulesetLink\\\",\\\"@filter\\\",\\\"@mode\\\",\\\"@view\\\",\\\"@onChangeFilter\\\",\\\"@onChangeMode\\\",\\\"@onChangeView\\\",\\\"@onChangeActiveRulesetLink\\\"],[[32,0,[\\\"model\\\"]],[32,0,[\\\"rulesetLink\\\"]],[32,0,[\\\"filter\\\"]],[32,0,[\\\"mode\\\"]],[32,0,[\\\"view\\\"]],[32,0,[\\\"changeFilter\\\"]],[32,0,[\\\"changeMode\\\"]],[32,0,[\\\"changeView\\\"]],[32,0,[\\\"changeActiveRulesetLink\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,2],[[30,[36,1],[\\\"content-editor-service\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[[32,2,[\\\"editorConfiguration\\\",\\\"requiredFeature\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,3,[\\\"Banner\\\"]],[],[[\\\"@content\\\"],[[31,[\\\"Upgrade to set \\\",[32,2,[\\\"configRulesetLink\\\",\\\"humanReadableObjectName\\\"]],\\\" live\\\"]]]],null],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"p-4 content-editor__main pl-8 pr-8\\\"],[12],[2,\\\"\\\\n          \\\"],[8,[32,1,[\\\"Editor\\\"]],[],[[],[]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"tours/upgrade-install-banner\\\",[],[[],[]],null],[2,\\\"\\\\n  \\\"],[8,\\\"tours/tour-editor\\\",[],[[\\\"@changeView\\\",\\\"@filter\\\",\\\"@isEditing\\\",\\\"@initiallyOpenSectionName\\\",\\\"@ruleset\\\",\\\"@stat\\\"],[[30,[36,0],[[32,0],\\\"changeView\\\"],null],[32,0,[\\\"filter\\\"]],[32,0,[\\\"editing\\\"]],[32,0,[\\\"initiallyOpenSectionName\\\"]],[32,0,[\\\"model\\\"]],[32,0,[\\\"stat\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"service\\\",\\\"let\\\",\\\"has-feature\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/tour/edit.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"+c9Y+DEs\",\"block\":\"{\\\"symbols\\\":[\\\"banner\\\",\\\"links\\\",\\\"linkData\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,\\\"data-intercom-target\\\",\\\"Outbound Home Tours List\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"pulse/full-width-banner\\\",[[24,0,\\\"flex flex-row items-center justify-center gap-2 py-5\\\"]],[[\\\"@color\\\"],[\\\"black\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[1,[30,[36,6],[\\\"new\\\"],null]],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"py-1\\\"],[12],[2,\\\"Build your orchestrations visually with \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\"],[\\\"apps.app.outbound.series.index\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Series\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"animate-arrow-right\\\"],[12],[1,[30,[36,7],[\\\"regular-path\\\"],null]],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[8,\\\"tours/upgrade-install-banner\\\",[],[[],[]],null],[2,\\\"\\\\n  \\\"],[8,\\\"pulse/hero-banner\\\",[],[[\\\"@svg\\\",\\\"@title\\\",\\\"@description\\\",\\\"@scrollSelector\\\"],[[32,0,[\\\"bannerData\\\",\\\"icon\\\"]],[32,0,[\\\"bannerData\\\",\\\"pageTitle\\\"]],[32,0,[\\\"bannerData\\\",\\\"description\\\"]],\\\".main__content-outlet .o__scrolls\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"Links\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,9],[[30,[36,8],[[30,[36,8],[[32,0,[\\\"bannerData\\\",\\\"links\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,2],[[32,3,[\\\"tourId\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,2,[\\\"Tour\\\"]],[[24,\\\"tabindex\\\",\\\"0\\\"],[16,\\\"data-track-analytics-event-object\\\",[32,3,[\\\"analyticsObject\\\"]]],[24,\\\"data-intercom-target\\\",\\\"ProductTours Get Started link\\\"]],[[\\\"@title\\\",\\\"@tourId\\\"],[[32,3,[\\\"description\\\"]],[32,3,[\\\"tourId\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,2,[\\\"Link\\\"]],[[16,\\\"data-track-analytics-event-object\\\",[32,3,[\\\"analyticsObject\\\"]]]],[[\\\"@title\\\",\\\"@href\\\",\\\"@type\\\"],[[32,3,[\\\"description\\\"]],[32,3,[\\\"target\\\"]],\\\"article\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[3]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"Action\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,\\\"tours/tours-list/new-tour-dropdown\\\",[],[[\\\"@label\\\",\\\"@templates\\\"],[[32,0,[\\\"bannerData\\\",\\\"button\\\"]],[32,0,[\\\"tourTemplates\\\"]]]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"ml-6 mr-6\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"outbound__filter-and-count-block\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"outbound/filters\\\",[],[[\\\"@filterContent\\\",\\\"@selectedAudienceValues\\\",\\\"@selectedStateValue\\\",\\\"@selectedSenderValue\\\",\\\"@selectedTagValues\\\",\\\"@selectedMatchBehaviorValues\\\",\\\"@messagesTags\\\",\\\"@hideDeliveryTypeTabs\\\"],[[32,0,[\\\"filterContent\\\"]],[32,0,[\\\"selectedAudienceValues\\\"]],[32,0,[\\\"selectedStateValue\\\"]],[32,0,[\\\"selectedSenderValue\\\"]],[32,0,[\\\"selectedTagValues\\\"]],[32,0,[\\\"selectedMatchBehaviorValues\\\"]],[32,0,[\\\"messagesTags\\\"]],true]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center pt-4 pb-2\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"u__mt__10 u__mb__10\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"outbound/list-count\\\",[],[[\\\"@hasSelectedContentWrappers\\\",\\\"@totalCount\\\",\\\"@selectedCount\\\",\\\"@contentType\\\"],[[32,0,[\\\"hasSelectedContentWrappers\\\"]],[32,0,[\\\"totalCount\\\"]],[32,0,[\\\"selectedContentWrappers\\\",\\\"length\\\"]],\\\"product tour\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"hasSelectedContentWrappers\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"u__ml__20\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"outbound/bulk-tag\\\",[],[[\\\"@selectedContentWrappers\\\",\\\"@onAfterSave\\\"],[[32,0,[\\\"selectedContentWrappers\\\"]],[30,[36,5],[[32,0],\\\"updateMessagesTags\\\"],null]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"isLoading\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[32,0,[\\\"hasItemsToDisplay\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"mt-2\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"outbound/list-component\\\",[],[[\\\"@data\\\",\\\"@columns\\\",\\\"@statisticColumns\\\",\\\"@loadMore\\\",\\\"@sortUpdate\\\",\\\"@sortBy\\\",\\\"@sortDirection\\\",\\\"@currentPage\\\",\\\"@pageSize\\\",\\\"@lastPageHit\\\",\\\"@totalPages\\\"],[[32,0,[\\\"model\\\"]],[30,[36,4],[[30,[36,3],[[30,[36,2],[[30,[36,0],[\\\"canUseContentOrientedNavigation\\\"],null],[30,[36,1],null,[[\\\"valuePath\\\"],[\\\"checkBox\\\"]]]],null],[30,[36,1],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"title\\\",\\\"Tour title\\\"]]],[30,[36,1],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"state\\\",\\\"State\\\"]]],[30,[36,1],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sender\\\",\\\"Sender\\\"]]],[30,[36,1],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\"],[\\\"insertable\\\",\\\"How it can be used\\\",\\\"204px\\\"]]],[30,[36,1],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"sentCount\\\",\\\"Views\\\"]]],[30,[36,1],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"completedPercent\\\",\\\"Completed\\\"]]],[30,[36,1],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"goalPercent\\\",\\\"Goal\\\"]]],[30,[36,1],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"tourFailuresPercentage\\\",\\\"Issues\\\"]]],[30,[36,1],null,[[\\\"valuePath\\\",\\\"label\\\"],[\\\"audienceTypes\\\",\\\"People type\\\"]]],[30,[36,1],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\",\\\"isSortable\\\"],[\\\"createdAt\\\",\\\"Created at\\\",\\\"144px\\\",[30,[36,0],[\\\"canUseSortInOutboundHome\\\"],null]]]],[30,[36,1],null,[[\\\"valuePath\\\",\\\"label\\\",\\\"minWidth\\\",\\\"isSortable\\\"],[\\\"firstWentLiveAt\\\",\\\"First set live\\\",\\\"120px\\\",[30,[36,0],[\\\"canUseSortInOutboundHome\\\"],null]]]]],null]],null],[30,[36,3],[[30,[36,1],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"sentCount\\\",[32,0,[\\\"statisticKeys\\\",\\\"receipts\\\"]]]]],[30,[36,1],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"completedPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"completions\\\"]]]]],[30,[36,1],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"goalPercent\\\",[32,0,[\\\"statisticKeys\\\",\\\"goals\\\"]]]]],[30,[36,1],null,[[\\\"valuePath\\\",\\\"key\\\"],[\\\"tourFailuresPercentage\\\",[32,0,[\\\"statisticKeys\\\",\\\"tourStepFailures\\\"]]]]]],null],[32,0,[\\\"loadMore\\\"]],[30,[36,5],[[32,0],\\\"sortUpdate\\\"],null],[32,0,[\\\"sortBy\\\"]],[32,0,[\\\"sortDirection\\\"]],[32,0,[\\\"pageFrom\\\"]],[32,0,[\\\"perPage\\\"]],[32,0,[\\\"lastPageHit\\\"]],[32,0,[\\\"totalPages\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\"],[\\\"product-tours-filled\\\",\\\"No product tours\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"mt-4\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"tours/tours-list/new-tour-dropdown\\\",[],[[\\\"@label\\\",\\\"@templates\\\"],[[32,0,[\\\"bannerData\\\",\\\"button\\\"]],[32,0,[\\\"tourTemplates\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"has-feature\\\",\\\"hash\\\",\\\"if\\\",\\\"array\\\",\\\"compact\\\",\\\"action\\\",\\\"inline-svg\\\",\\\"ic-interface-icon\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/outbound/tour/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"/3Wr3ct4\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls main\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"guide/start-screen/guide-component\\\",[],[[\\\"@app\\\"],[[34,0]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"app\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/platform/guide/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"nvj/3k/O\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"tours/pre-tour-setup\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/pre-tour.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"BHKxDdeZ\",\"block\":\"{\\\"symbols\\\":[\\\"navbar-collapsed\\\"],\\\"statements\\\":[[6,[37,2],[[32,0,[\\\"showNavBar\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1 js__main-container inbox__main-container__wrapper\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"reporting/layout/submenu\\\",[],[[\\\"@customReports\\\"],[[32,0,[\\\"model\\\",\\\"customReports\\\"]]]],null],[2,\\\"\\\\n    \\\"],[8,\\\"common/navbar-collapsed\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"layout__box o__has-rows o__flexes-to-1 main__content-outlet \\\",[30,[36,2],[[32,1],\\\"o__without-submenu\\\"],null]]]],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls js__main-content\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"banners/missing-shipping-address\\\",[],[[],[]],null],[2,\\\"\\\\n          \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls u__relative js__main-content\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"banners/missing-shipping-address\\\",[],[[],[]],null],[2,\\\"\\\\n    \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"8SercX1U\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"ic-content\\\",[[24,0,\\\"flex flex-col flex-grow px-8 py-6\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/conversational-insights.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"LktYZUQl\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"reporting/conversational-insights/topics/suggested-topic-list\\\",[],[[\\\"@topics\\\",\\\"@stats\\\"],[[32,0,[\\\"model\\\",\\\"topics\\\"]],[32,0,[\\\"model\\\",\\\"stats\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/conversational-insights/suggested-topics/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"DfDtx/sS\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"reporting/conversational-insights/topics/suggested-topic-show\\\",[],[[\\\"@topic\\\"],[[32,0,[\\\"model\\\",\\\"mergedTopic\\\"]]]],null]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/conversational-insights/suggested-topics/topic/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"OEd19NoB\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"reporting/conversational-insights/topics/topic-list\\\",[],[[\\\"@topics\\\"],[[32,0,[\\\"model\\\",\\\"topics\\\"]]]],null]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/conversational-insights/tracked-topics/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"HfJJHySh\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"reporting/conversational-insights/topics/topic-edit\\\",[],[[\\\"@topic\\\"],[[32,0,[\\\"model\\\",\\\"topic\\\"]]]],null]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/conversational-insights/tracked-topics/new.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Sk5Eq8WT\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"reporting/conversational-insights/topics/topic-edit\\\",[],[[\\\"@topic\\\"],[[32,0,[\\\"model\\\",\\\"topic\\\"]]]],null]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/conversational-insights/tracked-topics/topic/edit.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"JPz44AXd\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"reporting/conversational-insights/topics/topic-show\\\",[],[[\\\"@topic\\\"],[[32,0,[\\\"model\\\",\\\"topic\\\"]]]],null]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/conversational-insights/tracked-topics/topic/show.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"ATwFNpXr\",\"block\":\"{\\\"symbols\\\":[\\\"viewEditor\\\",\\\"queryBuilder\\\",\\\"report\\\",\\\"card\\\",\\\"card\\\"],\\\"statements\\\":[[8,\\\"reporting/explorer/view-editor\\\",[],[[\\\"@selectedViewId\\\",\\\"@onSelectViewId\\\"],[[32,0,[\\\"selectedView\\\"]],[30,[36,0],[[32,0],\\\"selectViewId\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"reporting/explorer/title-component\\\",[],[[\\\"@pageTitle\\\",\\\"@showPageTitle\\\",\\\"@viewTitle\\\",\\\"@onViewTitleUpdate\\\",\\\"@views\\\",\\\"@canSave\\\",\\\"@selectedView\\\",\\\"@onCreateNewView\\\",\\\"@onSaveView\\\",\\\"@onSelectView\\\"],[\\\"Explorer\\\",[30,[36,1],[[32,1,[\\\"selectedViewIsNamed\\\"]]],null],[32,1,[\\\"selectedView\\\",\\\"title\\\"]],[30,[36,2],[[32,1,[\\\"selectedView\\\"]],\\\"title\\\"],null],[32,1,[\\\"views\\\"]],[32,1,[\\\"canSaveSelectedView\\\"]],[32,0,[\\\"selectedView\\\"]],[32,1,[\\\"createNewView\\\"]],[32,1,[\\\"saveView\\\"]],[30,[36,0],[[32,0],\\\"selectViewId\\\"],null]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"reporting__content o__fluid u__padl__30 u__padr__30 w-full\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"reporting/explorer/query-builder-component\\\",[],[[\\\"@excludeOoOHours\\\",\\\"@view\\\",\\\"@onUpdateView\\\",\\\"@range\\\"],[[32,0,[\\\"excludeOoOHours\\\"]],[32,1,[\\\"selectedView\\\"]],[32,1,[\\\"updateViewJson\\\"]],[32,0,[\\\"range\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@debugName\\\",\\\"@signalType\\\",\\\"@groupOverTime\\\",\\\"@unit\\\",\\\"@query\\\",\\\"@interval\\\",\\\"@range\\\",\\\"@filters\\\",\\\"@groupings\\\"],[\\\"exploration\\\",\\\"basic\\\",false,[32,2,[\\\"legend\\\",\\\"unit\\\"]],[32,2,[\\\"query\\\",\\\"fields\\\"]],[32,2,[\\\"query\\\",\\\"interval\\\"]],[32,0,[\\\"range\\\"]],[32,2,[\\\"filters\\\"]],[32,2,[\\\"query\\\",\\\"groupings\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-6\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center flex-wrap\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"ic-filter-block\\\",[[24,0,\\\"u__mr__10 u__mt__10\\\"]],[[\\\"@icon\\\",\\\"@name\\\",\\\"@isOneLine\\\",\\\"@isClickable\\\"],[\\\"conversation\\\",\\\"Conversations\\\",true,false]],null],[2,\\\"\\\\n            \\\"],[8,\\\"reporting/explorer/date-filter-block\\\",[[24,0,\\\"u__mr__10 u__mt__10\\\"]],[[\\\"@scrollParentSelector\\\",\\\"@range\\\",\\\"@timezone\\\",\\\"@updateRange\\\",\\\"@maximumSelectionWindowInYears\\\"],[\\\".js__main-container\\\",[32,0,[\\\"range\\\"]],[32,0,[\\\"range\\\",\\\"timezone\\\"]],[30,[36,0],[[32,0],\\\"updateRange\\\"],null],2]],null],[2,\\\"\\\\n            \\\"],[8,[32,2,[\\\"filter-manager\\\"]],[],[[],[]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[8,\\\"ic-card\\\",[],[[\\\"@padding\\\"],[\\\"none\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,5,[\\\"section\\\"]],[[24,0,\\\"u__pad__30\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-4\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[\\\"canUseExplorerIteration\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-2\\\"],[12],[2,\\\"\\\\n                    \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n                      \\\"],[10,\\\"strong\\\"],[12],[2,\\\"\\\\n                        Measured by\\\\n                      \\\"],[13],[2,\\\"\\\\n                    \\\"],[13],[2,\\\"\\\\n                    \\\"],[8,[32,2,[\\\"metric-selector\\\"]],[],[[],[]],null],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"                \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1 gap-2\\\"],[12],[2,\\\"\\\\n                  \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n                    \\\"],[10,\\\"strong\\\"],[12],[2,\\\"\\\\n                      Grouped by\\\\n                    \\\"],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[8,[32,2,[\\\"grouping-selector\\\"]],[],[[],[]],null],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[8,[32,5,[\\\"section\\\"]],[],[[\\\"@padding\\\"],[\\\"none\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[10,\\\"hr\\\"],[14,0,\\\"u__mb__0 u__mt__0\\\"],[12],[13],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[8,[32,5,[\\\"section\\\"]],[[24,0,\\\"u__pad__30\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n                  \\\"],[8,\\\"reporting/element/summary\\\",[[24,\\\"}}\\\",\\\"\\\"]],[[\\\"@value\\\",\\\"@unit\\\"],[[30,[36,5],[[32,3,[\\\"value\\\"]],0],null],[32,2,[\\\"legend\\\",\\\"unit\\\"]]]],null],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[\\\"canUseExplorerIteration\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__mr__10\\\"],[12],[2,\\\"\\\\n                    \\\"],[8,[32,2,[\\\"interval-selector\\\"]],[],[[],[]],null],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"                \\\"],[8,[32,2,[\\\"visualization-selector\\\"]],[],[[],[]],null],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n              \\\"],[8,\\\"reporting/chart-container\\\",[],[[\\\"@height\\\",\\\"@isLoading\\\"],[280,[30,[36,1],[[32,3]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                \\\"],[8,\\\"reporting/explorer/selectable-visualization\\\",[],[[\\\"@keys\\\",\\\"@currentKeys\\\",\\\"@signal\\\",\\\"@units\\\",\\\"@unit\\\",\\\"@keyColorHash\\\",\\\"@range\\\",\\\"@visualization\\\"],[[32,2,[\\\"legend\\\",\\\"keys\\\"]],[32,2,[\\\"legend\\\",\\\"currentKeys\\\"]],[32,3],[32,2,[\\\"legend\\\",\\\"units\\\"]],[32,2,[\\\"legend\\\",\\\"unit\\\"]],[32,2,[\\\"legend\\\",\\\"colors\\\"]],[32,0,[\\\"range\\\"]],[32,2,[\\\"query\\\",\\\"visualization\\\"]]]],null],[2,\\\"\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n              \\\"],[8,[32,2,[\\\"legend-filter\\\"]],[],[[],[]],null],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,4],[[32,3]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[8,\\\"reporting/element/legend-list\\\",[],[[\\\"@keyColorHash\\\",\\\"@items\\\"],[[32,2,[\\\"legend\\\",\\\"colors\\\"]],[32,2,[\\\"legend\\\",\\\"items\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"\\\\n          \\\"],[8,\\\"ic-card\\\",[],[[\\\"@padding\\\"],[\\\"none\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,4,[\\\"section\\\"]],[[24,0,\\\"u__pad__30\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,4],[[32,3]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[8,\\\"reporting/chart/pivot-table\\\",[],[[\\\"@range\\\",\\\"@items\\\",\\\"@signal\\\"],[[32,0,[\\\"range\\\"]],[32,2,[\\\"legend\\\",\\\"items\\\"]],[32,3]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n      Reports are in \\\"],[1,[30,[36,6],[[32,0,[\\\"timezone\\\"]]],null]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"not\\\",\\\"set\\\",\\\"has-feature\\\",\\\"if\\\",\\\"or\\\",\\\"format-timezone\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/conversations.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"dFwHqqPL\",\"block\":\"{\\\"symbols\\\":[\\\"table\\\",\\\"row\\\",\\\"t\\\",\\\"banner\\\"],\\\"statements\\\":[[8,\\\"ic-content\\\",[[24,0,\\\"flex flex-col flex-grow px-6 py-4\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between gap-2 mb-6\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"common/hamburger-menu\\\",[],[[\\\"@includePadding\\\",\\\"@title\\\"],[false,\\\"Custom Reports\\\"]],null],[2,\\\"\\\\n    \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"New report\\\",\\\"primary\\\",[30,[36,6],[\\\"apps.app.reports.custom-reports.report.new\\\"],null]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"pulse/discovery-banner\\\",[],[[\\\"@heading\\\",\\\"@description\\\",\\\"@size\\\",\\\"@dismissalType\\\",\\\"@dismissalKey\\\",\\\"@dismissalService\\\"],[\\\"Focus on just the data you need with custom reports\\\",\\\"Use custom reports to track the metrics you care about in one place. Add charts to analyze conversation data, monitor your team’s performance, and more.\\\",\\\"regular\\\",\\\"close-icon\\\",\\\"reporting-custom-report-dismiss-banner\\\",[30,[36,7],[\\\"banner-dismissal-service\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,4,[\\\"Link\\\"]],[[4,[38,10],[\\\"click\\\",[30,[36,9],[[35,8]],null]],null]],[[\\\"@icon\\\",\\\"@title\\\"],[\\\"cursor\\\",\\\"How to create a custom report\\\"]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n\\\"],[6,[37,3],[[32,0,[\\\"model\\\",\\\"length\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"ic-light-table\\\",[],[[\\\"@data\\\",\\\"@columns\\\"],[[32,0,[\\\"model\\\"]],[30,[36,1],[[30,[36,0],null,[[\\\"label\\\",\\\"valuePath\\\",\\\"isSortable\\\"],[\\\"Title\\\",\\\"title\\\",true]]],[30,[36,0],null,[[\\\"label\\\",\\\"valuePath\\\",\\\"isSortable\\\"],[\\\"Created by\\\",\\\"createdByAdminSortableName\\\",true]]],[30,[36,0],null,[[\\\"label\\\",\\\"valuePath\\\",\\\"isSortable\\\"],[\\\"Updated at\\\",\\\"updatedAt\\\",true]]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"rows\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,2,[\\\"cell\\\"]],[],[[\\\"@valuePath\\\"],[\\\"title\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,2],[\\\"apps.app.reports.custom-reports.report.show\\\",[32,2,[\\\"data\\\",\\\"id\\\"]]],null]]]],[14,0,\\\"mb-2\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"text\\\",[],[[\\\"@linkStyling\\\",\\\"@styling\\\"],[\\\"subtle\\\",\\\"strong\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[1,[32,2,[\\\"data\\\",\\\"titleForDisplay\\\"]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[32,2,[\\\"data\\\",\\\"description\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"paragraph\\\",[],[[\\\"@styling\\\"],[\\\"muted\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[1,[32,2,[\\\"data\\\",\\\"description\\\"]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[8,[32,2,[\\\"cell\\\"]],[],[[\\\"@valuePath\\\"],[\\\"createdByAdminSortableName\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,3],[[32,2,[\\\"data\\\",\\\"createdByAdmin\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-2\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"ic-avatar-component\\\",[],[[\\\"@model\\\",\\\"@size\\\"],[[32,2,[\\\"data\\\",\\\"createdByAdmin\\\"]],\\\"s\\\"]],null],[2,\\\"\\\\n              \\\"],[8,\\\"text\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[1,[32,2,[\\\"data\\\",\\\"createdByAdmin\\\",\\\"name\\\"]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n              Intercom\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[8,[32,2,[\\\"cell\\\"]],[],[[\\\"@valuePath\\\"],[\\\"updatedAt\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"ic-tooltip\\\",[],[[\\\"@willHideOverlayOnClick\\\"],[false]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,3,[\\\"opener\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[1,[30,[36,4],[[32,2,[\\\"data\\\",\\\"updatedAt\\\"]]],null]],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[8,[32,3,[\\\"content\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[1,[30,[36,5],[[32,2,[\\\"data\\\",\\\"updatedAt\\\"]],\\\"MMM D, YYYY [at] h:mmA\\\"],null]],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@title\\\",\\\"@description\\\",\\\"@icon\\\"],[\\\"No custom reports yet\\\",\\\"After you create your custom reports, you can find them here.\\\",\\\"manual-message\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"hash\\\",\\\"array\\\",\\\"href-to\\\",\\\"if\\\",\\\"full-relative-time-ago-helper\\\",\\\"moment-format\\\",\\\"transition-to\\\",\\\"service\\\",\\\"noop\\\",\\\"optional\\\",\\\"on\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/custom-reports/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"kk/Ud6iJ\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"reporting/custom/new-report\\\",[],[[\\\"@report\\\"],[[32,0,[\\\"model\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/custom-reports/report/new/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Yr1GmNJx\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"reporting/custom/chart-builder\\\",[],[[\\\"@report\\\",\\\"@chartState\\\",\\\"@settings\\\",\\\"@route\\\"],[[32,0,[\\\"model\\\",\\\"report\\\"]],[32,0,[\\\"model\\\",\\\"chart\\\"]],[32,0,[\\\"model\\\",\\\"settings\\\"]],\\\"apps.app.reports.custom-reports.report.show\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/custom-reports/report/show/chart/edit.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"x5RdZwVK\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"reporting/custom/chart-builder\\\",[],[[\\\"@report\\\",\\\"@chartState\\\",\\\"@settings\\\",\\\"@route\\\"],[[32,0,[\\\"model\\\",\\\"report\\\"]],[32,0,[\\\"model\\\",\\\"chart\\\"]],[32,0,[\\\"model\\\",\\\"settings\\\"]],\\\"apps.app.reports.custom-reports.report.show\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/custom-reports/report/show/chart/new.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"roVJlSax\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"reporting/custom/report\\\",[],[[\\\"@report\\\",\\\"@settings\\\",\\\"@onReportSaved\\\"],[[32,0,[\\\"model\\\",\\\"report\\\"]],[32,0,[\\\"model\\\",\\\"settings\\\"]],[30,[36,0],[\\\"loadCustomReports\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"route-action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/custom-reports/report/show/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"hUILpANR\",\"block\":\"{\\\"symbols\\\":[\\\"group\\\",\\\"group\\\",\\\"timeInterval\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"u__padt__25 u__padb__25 u__padl__30 u__padr__30 insights__container layout__box\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns insights__headline u__padb__40\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"h1\\\"],[14,0,\\\"t__h1 u__left\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[32,0,[\\\"dashboardName\\\"]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[8,\\\"ic-radio-button-group\\\",[],[[\\\"@selectedValue\\\",\\\"@onSelectionChange\\\"],[[32,0,[\\\"interval\\\"]],[30,[36,1],[[32,0],\\\"intervalChanged\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,[\\\"timeIntervals\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@value\\\"],[[32,3,[\\\"label\\\"]],[32,3,[\\\"value\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"showNoContentCard\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"card t__centered u__pad__40\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"product-icon-component\\\",[[24,0,\\\"mt-8\\\"]],[[\\\"@product\\\",\\\"@optionClass\\\"],[[32,0,[\\\"product\\\"]],\\\"insights__illustrative-icon\\\"]],null],[2,\\\"\\\\n        \\\"],[10,\\\"h1\\\"],[14,0,\\\"t__h1 mt-2\\\"],[12],[2,\\\"\\\\n          No messages have been sent in the last \\\"],[1,[32,0,[\\\"interval\\\"]]],[2,\\\" days.\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[14,0,\\\"t__notice-text mt-4 mb-8\\\"],[12],[2,\\\"\\\\n          Insights about the messages you send today will appear here tomorrow\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,0],[[32,0,[\\\"model\\\",\\\"hasNoConversations\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"card t__centered u__pad__40\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner pt-4\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-illustrative-icon\\\",[],[[\\\"@name\\\"],[\\\"engage\\\"]],null],[2,\\\"\\\\n        \\\"],[10,\\\"h1\\\"],[14,0,\\\"t__h1 mt-2\\\"],[12],[2,\\\"\\\\n          No messages have been sent yet.\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[14,0,\\\"t__notice-text mt-4\\\"],[12],[2,\\\"\\\\n          Insights about the messages you send today will appear here tomorrow\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[14,0,\\\"t__notice-text mt-8 mb-4\\\"],[12],[2,\\\"\\\\n          \\\"],[11,\\\"a\\\"],[4,[38,1],[[32,0],\\\"transitionToNewAutoMessage\\\"],null],[12],[2,\\\"\\\\n            Create a new auto message\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__left\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[32,0,[\\\"chartNames\\\",\\\"messagesSent\\\"]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[[30,[36,0],[[32,0,[\\\"showDummyContent\\\"]],\\\"twk__insights__loading\\\"],null]]]],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"card mt-8\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"showDummyContent\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"insights/high-charts-dummy-component\\\",[],[[\\\"@isLoading\\\"],[[32,0,[\\\"isLoading\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"app\\\",\\\"canUseD3EngageInsights\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2__deem insights__chart-title\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[32,0,[\\\"conversationsChartTitle\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[8,\\\"reporting/element/chart-bar-with-tooltips\\\",[],[[\\\"@signal\\\",\\\"@range\\\",\\\"@showComparison\\\",\\\"@hoverTextUnit\\\",\\\"@width\\\",\\\"@height\\\",\\\"@color\\\"],[[32,0,[\\\"signal\\\"]],[32,0,[\\\"range\\\"]],false,[32,0,[\\\"hoverTextUnit\\\"]],938,400,\\\"vis-blue-40\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"insights/high-charts-component\\\",[],[[\\\"@app\\\",\\\"@chartData\\\",\\\"@chartOptions\\\",\\\"@chartColors\\\",\\\"@chartHoverColors\\\",\\\"@chartTitle\\\",\\\"@showIntervalInTitle\\\",\\\"@useInteractiveTooltip\\\"],[[32,0,[\\\"app\\\"]],[32,0,[\\\"conversationsChartData\\\"]],[32,0,[\\\"conversationsChartOptions\\\"]],[32,0,[\\\"conversationsChartColors\\\"]],[32,0,[\\\"conversationsChartHoverColors\\\"]],[32,0,[\\\"conversationsChartTitle\\\"]],false,true]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2 mt-8\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[32,0,[\\\"chartNames\\\",\\\"messageVolume\\\"]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"pt-2 \\\",[30,[36,0],[[32,0,[\\\"showDummyContent\\\"]],\\\"twk__insights__loading\\\"],null]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"showDummyContent\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"insights/spam-stats-dummy-component\\\",[],[[\\\"@isLoading\\\"],[[32,0,[\\\"isLoading\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"insights/spam-stats-component\\\",[],[[\\\"@app\\\",\\\"@spamStats\\\"],[[32,0,[\\\"app\\\"]],[32,0,[\\\"model\\\",\\\"spamming_stats\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2 mt-8\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[32,0,[\\\"chartNames\\\",\\\"messagePerformance\\\"]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf u__padb__20 u__padt__20 layout__box o__has-columns\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"u__padl__10\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-radio-button-group\\\",[],[[\\\"@disabled\\\",\\\"@selectedValue\\\",\\\"@onSelectionChange\\\"],[[32,0,[\\\"outboundShowDummyContent\\\"]],[32,0,[\\\"emailOrInApp\\\"]],[30,[36,1],[[32,0],\\\"onChannelSelectionChange\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@value\\\"],[\\\"Chats and Posts\\\",\\\"in-app\\\"]],null],[2,\\\"\\\\n          \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@value\\\"],[\\\"Emails\\\",\\\"email\\\"]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 t__right\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@processingLabel\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Export CSV\\\",\\\"Downloading…\\\",\\\"secondary\\\",[30,[36,1],[[32,0],\\\"downloadCSV\\\"],null]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,5,\\\"position: relative\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"insights/variation-stats-component\\\",[],[[\\\"@app\\\",\\\"@admin\\\",\\\"@page\\\",\\\"@stats\\\",\\\"@displayedStats\\\",\\\"@messageType\\\",\\\"@sortBy\\\",\\\"@showCampaignColumn\\\",\\\"@showDummyContent\\\"],[[32,0,[\\\"app\\\"]],[32,0,[\\\"admin\\\"]],[32,0,[\\\"page\\\"]],[32,0,[\\\"outboundVariationStats\\\"]],[32,0,[\\\"outboundDisplayedStats\\\"]],[32,0,[\\\"outboundMessageType\\\"]],[32,0,[\\\"sortBy\\\"]],true,[32,0,[\\\"showDummyContent\\\"]]]],null],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"isLoading\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"insights/loading-component\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"t__light-text mt-2 mb-8\\\"],[12],[2,\\\"\\\\n    Messages to only 1 recipient are excluded from this list\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"reporting/export/export-data\\\",[],[[\\\"@exportFlag\\\"],[\\\"engage\\\"]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"action\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/customer-engagement.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"PxQSINxi\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/customer-support/articles.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"rvZ7Ybxf\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows u__pad__20 u__padl__30\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"link-to\\\",[[24,0,\\\"t__breadcrumb\\\"]],[[\\\"@route\\\"],[\\\"apps.app.reports.articles\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        Article insights\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"text-gray-light\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,1],[\\\"small-thin-right-arrow\\\"],null]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"h1\\\"],[14,0,\\\"test__educate__closed-by-operator__header t__h1 u__one-truncated-line\\\"],[12],[2,\\\"\\\\n      Operator closed \\\"],[1,[32,0,[\\\"totalCount\\\"]]],[2,\\\" conversations in the last \\\"],[1,[32,0,[\\\"interval\\\"]]],[2,\\\" days\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[14,0,\\\"text-gray\\\"],[12],[2,\\\"\\\\n      Closed when a customer confirms they got an answer from smart suggestions\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"model\\\",\\\"conversations\\\",\\\"length\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"educate__closed__conversation-container u__padt__20\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"conversation/card-list-component\\\",[],[[\\\"@app\\\",\\\"@admin\\\",\\\"@conversations\\\",\\\"@requestPage\\\",\\\"@trackEventDetails\\\",\\\"@viewportSelector\\\"],[[32,0,[\\\"app\\\"]],[32,0,[\\\"currentAdmin\\\"]],[32,0,[\\\"model\\\",\\\"conversations\\\"]],[30,[36,0],[[32,0],\\\"nextConversationPage\\\"],null],[30,[36,0],[[32,0],\\\"trackEventDetails\\\"],null],\\\".educate__closed__conversation-container\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\",\\\"@description\\\"],[\\\"conversation\\\",\\\"Operator didn't close any conversations\\\",\\\"Operator closes conversations when users confirm they've got their answer\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"ic-interface-icon\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/customer-support/articles/closed-by-operator.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"bFbW2CEi\",\"block\":\"{\\\"symbols\\\":[\\\"dashboard\\\"],\\\"statements\\\":[[8,\\\"reporting/flexible/dashboard\\\",[],[[\\\"@paywallFeatureKey\\\",\\\"@dashboardId\\\",\\\"@dashboardName\\\",\\\"@filters\\\",\\\"@range\\\"],[\\\"effectiveness_dashboard\\\",[32,0,[\\\"dashboardIdentifier\\\"]],[32,0,[\\\"dashboardName\\\"]],[32,0,[\\\"filters\\\"]],[32,0,[\\\"range\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\\n  \\\"],[11,\\\"div\\\"],[24,0,\\\"flex flex-col gap-6 flex-shrink-0 mx-8 mt-6 mb-4\\\"],[4,[38,0],[[32,0,[\\\"trackPageView\\\"]]],null],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"common/hamburger-menu\\\",[],[[\\\"@includePadding\\\",\\\"@title\\\"],[false,[32,0,[\\\"dashboardName\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center flex-wrap gap-4 pl-6 reporting__filters-container\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"reporting/flexible/filter-bar/filter-bar\\\",[],[[\\\"@range\\\",\\\"@updateRange\\\",\\\"@onFiltersChanged\\\",\\\"@analyticsObject\\\"],[[32,0,[\\\"range\\\"]],[32,0,[\\\"updateRange\\\"]],[32,0,[\\\"filterBarSelectionChanged\\\"]],[32,0,[\\\"reportName\\\"]]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"reporting/layout/report-content\\\",[],[[\\\"@timezone\\\"],[[32,0,[\\\"app\\\",\\\"timezone\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/articles/views-chart\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@dashboard\\\",\\\"@width\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,1],\\\"small\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/articles/unique-view-counter\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@dashboard\\\",\\\"@width\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,1],\\\"small\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/articles/view-counter\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@dashboard\\\",\\\"@width\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,1],\\\"small\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/articles/opportunities-table\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@dashboard\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/articles/engagement-table\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@dashboard\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"did-insert\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/customer-support/articles/flexible.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"XQJ/pVcY\",\"block\":\"{\\\"symbols\\\":[\\\"article\\\",\\\"search\\\",\\\"group\\\",\\\"timeInterval\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"common/hamburger-menu\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"h1\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,8],[[30,[36,16],[\\\"canUseNewReportingIa\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          Articles\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          Articles report\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__padr__30 layout__box o__has-columns o__centers-vertically\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-radio-button-group\\\",[],[[\\\"@selectedValue\\\",\\\"@onSelectionChange\\\"],[[32,0,[\\\"interval\\\"]],[30,[36,1],[[32,0],\\\"intervalChanged\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,10],[[30,[36,9],[[30,[36,9],[[32,0,[\\\"timeIntervals\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,3,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@value\\\"],[[32,4,[\\\"label\\\"]],[32,4,[\\\"value\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"pt-14 u__padb__25 u__padl__30 u__padr__30 insights__container layout__box\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,8],[[30,[36,16],[\\\"canUseNewReportingIa\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n      Articles impact\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,8],[[32,0,[\\\"hasNoViewerContent\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"card t__centered mt-10\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-illustrative-icon\\\",[],[[\\\"@name\\\"],[\\\"article\\\"]],null],[2,\\\"\\\\n        \\\"],[10,\\\"h1\\\"],[14,0,\\\"t__h1 test__educate__insights__no-viewer-content mt-2\\\"],[12],[2,\\\"\\\\n          No insights on your articles yet\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[14,0,\\\"t__notice-text mt-4 mb-8\\\"],[12],[2,\\\"\\\\n          These insights update once a day\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"card mt-3\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner u__cf insights__blurb\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-center\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"ic-illustrative-icon\\\",[],[[\\\"@name\\\"],[\\\"article\\\"]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0 t__h2__deem insights__blurb__text\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,8],[[32,0,[\\\"showDummyContent\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[1,[30,[36,11],[450],null]],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"div\\\"],[14,0,\\\"test__educate__insights__views\\\"],[12],[2,\\\"\\\\n                In the last \\\"],[1,[32,0,[\\\"interval\\\"]]],[2,\\\" days\\\\n                \\\"],[10,\\\"span\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n                  \\\"],[1,[30,[36,6],[[32,0,[\\\"model\\\",\\\"peopleCount\\\"]]],null]],[2,\\\"\\\\n                  \\\"],[1,[30,[36,14],[\\\"person\\\",[32,0,[\\\"model\\\",\\\"peopleCount\\\"]]],null]],[2,\\\"\\\\n                  viewed your articles\\\\n                  \\\"],[1,[30,[36,6],[[32,0,[\\\"model\\\",\\\"viewCount\\\"]]],null]],[2,\\\"\\\\n                  \\\"],[1,[30,[36,14],[\\\"time\\\",[32,0,[\\\"model\\\",\\\"viewCount\\\"]]],null]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"test__educate__insights__closed-conversations\\\"],[12],[2,\\\"\\\\n                and Operator closed\\\\n                \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,0],[\\\"apps.app.reports.articles.closed-by-operator\\\",[30,[36,15],null,[[\\\"interval\\\"],[[32,0,[\\\"interval\\\"]]]]]],null]]]],[14,0,\\\"t__h2\\\"],[12],[1,[30,[36,6],[[32,0,[\\\"model\\\",\\\"operatorClosed\\\"]]],null]],[2,\\\" conversations\\\"],[13],[2,\\\"\\\\n                after resolving them with smart suggestions\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,8],[[32,0,[\\\"isLoading\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0 insights__blurb__text\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"insights/loading-component\\\",[],[[],[]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-start mt-10\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,8],[[30,[36,16],[\\\"canUseNewReportingIa\\\"],null],\\\"Opportunities\\\",\\\"Write new articles\\\"],null]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"t__h4\\\"],[12],[2,\\\"\\\\n        These are the topics your customers are searching for\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__ml__10\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@onClick\\\",\\\"@testBindingClass\\\"],[\\\"secondary\\\",[30,[36,1],[[32,0],\\\"newArticle\\\"],null],\\\"test__educate__insights__search__new-article\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[1,[30,[36,2],[\\\"article\\\"],null]],[2,\\\" New article\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[[30,[36,8],[[32,0,[\\\"showDummyContent\\\"]],\\\"twk__insights__loading\\\"],null]]]],[12],[2,\\\"\\\\n\\\"],[2,\\\"    \\\"],[10,\\\"table\\\"],[14,0,\\\"tbl o__fit\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"      \\\"],[10,\\\"thead\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"t__label\\\"],[12],[2,\\\"\\\\n              Search Terms With No Results\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"t__label\\\"],[12],[2,\\\"\\\\n              Search Frequency\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"tbody\\\"],[14,0,\\\"tbl__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,8],[[32,0,[\\\"showDummyContent\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,10],[[30,[36,9],[[30,[36,9],[[30,[36,12],[3],null]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell u__pad__15 insights__data-cell\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h3 u__one-truncated-line\\\"],[12],[2,\\\"\\\\n                  \\\"],[1,[30,[36,11],[150],null]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell u__pad__15 insights__data-cell\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[30,[36,11],[40],null]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,10],[[30,[36,9],[[30,[36,9],[[32,0,[\\\"model\\\",\\\"filteredSearches\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell u__pad__15  insights__data-cell insights_title_cell\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h3 u__restore-breaks test__educate__insights__search__term\\\"],[12],[2,\\\"\\\\n                  \\\"],[1,[32,2,[\\\"term\\\"]]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell u__pad__15 insights__data-cell test__educate__insights__search__frequency\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[32,2,[\\\"frequency\\\"]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,8],[[32,0,[\\\"isLoading\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-layout overlay__cover-parent\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"small\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2 mt-10\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,8],[[30,[36,16],[\\\"canUseNewReportingIa\\\"],null],\\\"Engagement\\\",\\\"Review these articles\\\"],null]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h4\\\"],[12],[2,\\\"\\\\n    These articles are starting conversations and getting reactions\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[[30,[36,8],[[32,0,[\\\"showDummyContent\\\"]],\\\"twk__insights__loading\\\"],null]]]],[12],[2,\\\"\\\\n\\\"],[2,\\\"    \\\"],[10,\\\"table\\\"],[14,0,\\\"test__insights-educate__articles tbl o__fit\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"      \\\"],[10,\\\"thead\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n              Article\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n              Written By\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n              Updated\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n            \\\"],[11,\\\"a\\\"],[24,0,\\\"t__solo-link test__educate__insights__sort-by-views\\\"],[4,[38,1],[[32,0],\\\"sortBy\\\",\\\"views\\\"],null],[12],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n                Viewers\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,8],[[30,[36,17],[[32,0,[\\\"sortKey\\\"]],\\\"views\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[1,[30,[36,13],null,[[\\\"descending\\\"],[[32,0,[\\\"isSortingInDescendingOrder\\\"]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n            \\\"],[11,\\\"a\\\"],[24,0,\\\"t__solo-link test__educate__insights__sort-by-conversations\\\"],[4,[38,1],[[32,0],\\\"sortBy\\\",\\\"conversationsRate\\\"],null],[12],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n                Conversations\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,8],[[30,[36,17],[[32,0,[\\\"sortKey\\\"]],\\\"conversationsRate\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[1,[30,[36,13],null,[[\\\"descending\\\"],[[32,0,[\\\"isSortingInDescendingOrder\\\"]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n            \\\"],[11,\\\"a\\\"],[24,0,\\\"t__solo-link test__educate__insights__sort-by-reaction\\\"],[4,[38,1],[[32,0],\\\"sortBy\\\",\\\"sadRate\\\"],null],[12],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n                Reacted 😞\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,8],[[30,[36,17],[[32,0,[\\\"sortKey\\\"]],\\\"sadRate\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[1,[30,[36,13],null,[[\\\"descending\\\"],[[32,0,[\\\"isSortingInDescendingOrder\\\"]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"tbody\\\"],[14,0,\\\"tbl__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,8],[[32,0,[\\\"showDummyContent\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,10],[[30,[36,9],[[30,[36,9],[[30,[36,12],[3],null]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"tr\\\"],[14,0,\\\"test__educate__insights__sample-content\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell u__pad__15 insights__data-cell educate__insights__table__title twk__educate-insights__row-title\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h3 u__one-truncated-line\\\"],[12],[2,\\\"\\\\n                  \\\"],[1,[30,[36,11],[180],null]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell u__pad__15 insights__data-cell insights__from-avatar-cell\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"u__centered-text-block\\\"],[12],[2,\\\"\\\\n                  \\\"],[11,\\\"span\\\"],[4,[38,3],null,[[\\\"content\\\"],[[32,0,[\\\"article\\\",\\\"author\\\",\\\"display_as\\\"]]]]],[12],[2,\\\"\\\\n                    \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@model\\\"],[\\\"apps.app.admins.admin\\\",[32,0,[\\\"article\\\",\\\"author\\\",\\\"id\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                      \\\"],[8,\\\"ghost-avatar\\\",[],[[],[]],null],[2,\\\"\\\\n                    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell u__pad__15 insights__data-cell\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[30,[36,11],[70],null]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell u__pad__15 insights__data-cell\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[30,[36,11],[40],null]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell u__pad__15 insights__data-cell\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[30,[36,11],[20],null]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell u__pad__15 insights__data-cell\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[30,[36,11],[20],null]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,10],[[30,[36,9],[[30,[36,9],[[32,0,[\\\"sortedArticles\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell u__pad__15 insights__data-cell educate__insights__table__title\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h3 twk__educate-insights__row-title flex items-center\\\"],[12],[2,\\\"\\\\n                  \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,0],[\\\"apps.app.articles.articles.article.show\\\",[32,1,[\\\"articleId\\\"]]],null]]]],[14,0,\\\"u__one-truncated-line flex-auto min-w-0 t__solo-link\\\"],[12],[2,\\\"\\\\n                    \\\"],[11,\\\"span\\\"],[4,[38,1],[[32,0],\\\"trackInsightsArticle\\\",[32,1]],null],[12],[2,\\\"\\\\n                      \\\"],[1,[32,1,[\\\"title\\\"]]],[2,\\\"\\\\n                    \\\"],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,0],[\\\"apps.app.articles.articles.article.edit\\\",[32,1,[\\\"articleId\\\"]]],null]]]],[14,0,\\\"t__solo-link\\\"],[12],[2,\\\"\\\\n                    \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n                      \\\"],[1,[30,[36,2],[\\\"edit\\\"],null]],[2,\\\"\\\\n                    \\\"],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell u__pad__15 insights__data-cell insights__from-avatar-cell\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"u__centered-text-block\\\"],[12],[2,\\\"\\\\n                  \\\"],[11,\\\"span\\\"],[4,[38,3],null,[[\\\"content\\\"],[[32,0,[\\\"article\\\",\\\"author\\\",\\\"display_as\\\"]]]]],[12],[2,\\\"\\\\n                    \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@model\\\"],[\\\"apps.app.admins.admin\\\",[32,1,[\\\"author\\\",\\\"id\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                      \\\"],[1,[30,[36,4],null,[[\\\"direct\\\",\\\"size\\\"],[[32,1,[\\\"author\\\",\\\"avatarData\\\"]],\\\"s\\\"]]]],[2,\\\"\\\\n                    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell u__pad__15 insights__data-cell\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[30,[36,5],[[32,1,[\\\"lastUpdated\\\"]]],null]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell u__pad__15 insights__data-cell\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[30,[36,6],[[32,1,[\\\"views\\\"]]],null]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell u__pad__15 insights__data-cell\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[30,[36,7],[[32,1,[\\\"conversationsRatePercentage\\\"]]],null]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"td\\\"],[15,0,[31,[\\\"tbl__cell u__pad__15 insights__data-cell \\\",[30,[36,8],[[32,1,[\\\"isSadRateHigh\\\"]],\\\"text-red\\\"],null]]]],[12],[2,\\\"\\\\n                \\\"],[1,[30,[36,7],[[32,1,[\\\"sadRatePercentage\\\"]]],null]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,8],[[32,0,[\\\"isLoading\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-layout overlay__cover-parent\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"small\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"href-to\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"tooltip\\\",\\\"ic-avatar\\\",\\\"full-relative-time-ago-helper\\\",\\\"numeric-formatter-helper\\\",\\\"format-percentage-reports\\\",\\\"if\\\",\\\"-track-array\\\",\\\"each\\\",\\\"ghost-text\\\",\\\"repeat\\\",\\\"sort-icon-pattern\\\",\\\"inflector-helper\\\",\\\"query-params\\\",\\\"has-feature\\\",\\\"eq\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/customer-support/articles/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"UQcOX7eg\",\"block\":\"{\\\"symbols\\\":[\\\"filterManager\\\",\\\"report\\\",\\\"status\\\",\\\"banner\\\"],\\\"statements\\\":[[8,\\\"common/hamburger-menu\\\",[],[[\\\"@title\\\"],[\\\"Conversation tags\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"h1\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[30,[36,1],[\\\"canUseNewReportingIa\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      Conversation tags\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      Conversation tags report\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[8,\\\"reporting/date-range-filter\\\",[],[[\\\"@scrollParentSelector\\\",\\\"@disabled\\\",\\\"@range\\\",\\\"@timezone\\\",\\\"@updateRange\\\",\\\"@customDatePlacement\\\"],[\\\".js__main-container\\\",false,[32,0,[\\\"range\\\"]],[32,0,[\\\"timezone\\\"]],[30,[36,3],[[32,0],\\\"updateRange\\\"],null],\\\"left\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n\\\"],[6,[37,2],[[30,[36,4],[[32,0,[\\\"hasTags\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"reporting__content o__fluid p-8\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"pulse/discovery-banner\\\",[],[[\\\"@heading\\\",\\\"@description\\\",\\\"@dismissalType\\\",\\\"@dismissalKey\\\",\\\"@dismissalService\\\"],[\\\"Understand what your conversations are about with tags\\\",\\\"The more conversations you tag, the better you will be able to understand your customers and gather valuable data about their needs.\\\",\\\"close-icon\\\",\\\"reports-inbox-conversation-tags\\\",[30,[36,0],[\\\"banner-dismissal-service\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,4,[\\\"HelpLink\\\"]],[],[[\\\"@type\\\",\\\"@title\\\",\\\"@href\\\"],[\\\"article\\\",\\\"Organize customer feedback with tags\\\",\\\"https://www.intercom.com/help/en/articles/416-organize-your-customer-feedback-with-conversation-tags\\\"]],null],[2,\\\"\\\\n      \\\"],[8,[32,4,[\\\"HelpLink\\\"]],[],[[\\\"@type\\\",\\\"@title\\\",\\\"@href\\\"],[\\\"article\\\",\\\"Tag feature requests and bug reports\\\",\\\"https://www.intercom.com/help/en/articles/446-keep-track-of-support-requests-and-bugs-by-tagging-conversations\\\"]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[8,\\\"reporting/explorer/filter-manager\\\",[],[[\\\"@blocksByKey\\\",\\\"@savedFilters\\\",\\\"@updateView\\\"],[[32,0,[\\\"blocksByKey\\\"]],[32,0,[\\\"selectedFilters\\\"]],[30,[36,3],[[32,0],\\\"updateFilters\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"hasTags\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"reporting__content o__fluid pl-8 pr-8\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center flex-wrap mb-6\\\"],[12],[2,\\\"\\\\n        \\\"],[8,[32,1,[\\\"component\\\"]],[],[[],[]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"layout__box o__flexes-to-1 u__relative \\\",[30,[36,2],[[32,0,[\\\"hasTags\\\"]],\\\"o__scrolls\\\"],null]]]],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"reporting__content o__fluid pl-8 pr-8\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@transforms\\\",\\\"@debugName\\\",\\\"@groupings\\\",\\\"@filters\\\",\\\"@range\\\",\\\"@groupOverTime\\\"],[[32,0,[\\\"query\\\"]],[32,0,[\\\"transformations\\\"]],\\\"tags-new-conversations\\\",[30,[36,6],[[30,[36,5],null,[[\\\"grouping\\\",\\\"interval\\\"],[\\\"current.conversation.tag_ids\\\",1]]]],null],[30,[36,5],null,[[\\\"list_filters\\\"],[[32,1,[\\\"filters\\\"]]]]],[32,0,[\\\"range\\\"]],false]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-6\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-10\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-4\\\"],[12],[2,\\\"\\\\n                \\\"],[8,\\\"reporting/element/summary-title\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\"],[\\\"Tagged conversations\\\",\\\"The number of tagged conversations by start date.\\\"]],null],[2,\\\"\\\\n                \\\"],[8,\\\"reporting/reports/conversation-tags-over-time\\\",[],[[\\\"@triggerAnalyticsEvent\\\",\\\"@range\\\",\\\"@allTagsSignal\\\",\\\"@isLoading\\\",\\\"@globalFilters\\\",\\\"@baseQuery\\\",\\\"@forceEmpty\\\",\\\"@linkAction\\\",\\\"@canUseConversationList\\\"],[[32,0,[\\\"onAnalyticsEvent\\\"]],[32,0,[\\\"range\\\"]],[32,2],[32,3,[\\\"isLoading\\\"]],[32,1,[\\\"filters\\\"]],[32,0,[\\\"baseQuery\\\"]],[30,[36,4],[[32,0,[\\\"hasTags\\\"]]],null],[32,0,[\\\"openSideDrawer\\\"]],[32,0,[\\\"canUseConversationList\\\"]]]],null],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n          \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center justify-between pb-2\\\"],[12],[2,\\\"\\\\n                \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"2\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Conversation tags\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-3\\\"],[12],[2,\\\"\\\\n                  \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n                    \\\"],[10,\\\"input\\\"],[14,0,\\\"f__text\\\"],[14,\\\"placeholder\\\",\\\"Search tag…\\\"],[15,2,[32,0,[\\\"tagsSearch\\\"]]],[15,\\\"onblur\\\",[30,[36,3],[[32,0],\\\"onAnalyticsEvent\\\",[30,[36,5],null,[[\\\"action\\\",\\\"search\\\"],[\\\"conversation_tags_table_sort\\\",[32,0,[\\\"tagsSearch\\\"]]]]]],null]],[15,\\\"oninput\\\",[30,[36,3],[[32,0],[30,[36,7],[[32,0,[\\\"tagsSearch\\\"]]],null]],[[\\\"value\\\"],[\\\"target.value\\\"]]]],[14,4,\\\"search\\\"],[12],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[8,\\\"ic-button\\\",[[4,[38,9],[\\\"click\\\",[30,[36,8],null,[[\\\"action\\\",\\\"object\\\"],[\\\"clicked\\\",\\\"conversation_tags_csv_export\\\"]]]],null]],[[\\\"@label\\\",\\\"@processingLabel\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Export CSV\\\",\\\"Exporting…\\\",\\\"secondary\\\",[30,[36,3],[[32,0],\\\"exportCSV\\\",[32,2]],null]]],null],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n\\\\n              \\\"],[8,\\\"reporting/reports/conversation-tags-table\\\",[],[[\\\"@triggerAnalyticsEvent\\\",\\\"@range\\\",\\\"@signal\\\",\\\"@globalFilters\\\",\\\"@isLoading\\\",\\\"@filter\\\",\\\"@sparklineQuery\\\",\\\"@sparklineQueryKey\\\",\\\"@pageSize\\\",\\\"@onTagSelect\\\",\\\"@hasTags\\\",\\\"@canUseConversationList\\\"],[[30,[36,3],[[32,0],\\\"onAnalyticsEvent\\\"],null],[32,0,[\\\"range\\\"]],[32,2],[32,1,[\\\"filters\\\"]],[32,3,[\\\"isLoading\\\"]],[32,0,[\\\"tagsSearch\\\"]],[32,0,[\\\"query\\\"]],[32,0,[\\\"baseQuery\\\",\\\"key\\\"]],5,[30,[36,3],[[32,0],\\\"addToTagFilters\\\"],null],[32,0,[\\\"hasTags\\\"]],[32,0,[\\\"canUseConversationList\\\"]]]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[2,3]}]]],[2,\\\"\\\\n      \\\"],[10,\\\"p\\\"],[14,0,\\\"t__light-text mb-16 mt-8\\\"],[12],[2,\\\"\\\\n        Reports are in \\\"],[1,[30,[36,10],[[32,0,[\\\"timezone\\\"]]],null]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"inbox/reporting/conversations-side-drawer\\\",[],[[\\\"@app\\\",\\\"@globalFilters\\\",\\\"@filtersIncludeTeammates\\\",\\\"@conversationsChartCount\\\",\\\"@showSideDrawer\\\",\\\"@onClose\\\",\\\"@range\\\",\\\"@triggerAnalyticsEvent\\\"],[[32,0,[\\\"app\\\"]],[32,1,[\\\"filters\\\"]],[32,0,[\\\"filtersIncludeTeammates\\\"]],[32,0,[\\\"conversationsChartCount\\\"]],[32,0,[\\\"showSideDrawer\\\"]],[30,[36,11],[[32,0],\\\"showSideDrawer\\\",false],null],[32,0,[\\\"range\\\"]],[32,0,[\\\"onAnalyticsEvent\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"service\\\",\\\"has-feature\\\",\\\"if\\\",\\\"action\\\",\\\"not\\\",\\\"hash\\\",\\\"array\\\",\\\"mut\\\",\\\"track-analytics-event\\\",\\\"on\\\",\\\"format-timezone\\\",\\\"set\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/customer-support/conversation-tags.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"tyr/02b7\",\"block\":\"{\\\"symbols\\\":[\\\"dashboard\\\",\\\"banner\\\"],\\\"statements\\\":[[8,\\\"reporting/flexible/dashboard\\\",[],[[\\\"@dashboardId\\\",\\\"@dashboardName\\\",\\\"@paywallFeatureKey\\\",\\\"@reverseFilterMappings\\\",\\\"@filters\\\",\\\"@range\\\"],[[32,0,[\\\"dashboardIdentifier\\\"]],[32,0,[\\\"dashboardName\\\"]],\\\"conversations_dashboard\\\",[32,0,[\\\"reverseFilterMappings\\\"]],[32,0,[\\\"filters\\\"]],[32,0,[\\\"range\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[11,\\\"div\\\"],[24,0,\\\"flex flex-col gap-6 flex-shrink-0 ml-8 mr-8 mt-6 mb-4\\\"],[4,[38,5],[[32,0,[\\\"trackPageView\\\"]]],null],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"common/hamburger-menu\\\",[],[[\\\"@includePadding\\\",\\\"@title\\\"],[false,\\\"Conversations\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,6],[[32,0,[\\\"app\\\",\\\"canUseReportingSharingDashboard\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-start gap-3\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"reporting/download\\\",[],[[\\\"@dashboard\\\"],[[32,1]]],null],[2,\\\"\\\\n          \\\"],[8,\\\"reporting/subscription\\\",[],[[\\\"@dashboard\\\",\\\"@subscriptionId\\\"],[[32,1],[32,0,[\\\"subscriptionId\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,6],[[32,0,[\\\"shouldDisplayIntroBanner\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"pulse/discovery-banner\\\",[],[[\\\"@heading\\\",\\\"@description\\\",\\\"@size\\\",\\\"@dismissalType\\\",\\\"@dismissalKey\\\",\\\"@dismissalService\\\"],[\\\"See what type of conversations are taking up your team’s time\\\",\\\"Drill down into your reports by conversation data so you can get insight on how different requests impact your team and support operations.\\\",\\\"small\\\",\\\"close-icon\\\",\\\"conversation_data_reporting_introduction\\\",[30,[36,0],[\\\"banner-dismissal-service\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,2,[\\\"Link\\\"]],[[4,[38,4],[\\\"click\\\",[30,[36,3],[[30,[36,2],null,[[\\\"action\\\",\\\"object\\\",\\\"place\\\",\\\"context\\\"],[\\\"clicked\\\",\\\"cta_link\\\",\\\"discovery_banner\\\",\\\"reporting_conversation_attributes_create\\\"]]],[30,[36,1],[\\\"apps.app.settings.conversation-data\\\"],null]],null]],null]],[[\\\"@title\\\"],[\\\"↗ Set up your conversation data\\\"]],null],[2,\\\"\\\\n        \\\"],[8,[32,2,[\\\"HelpLink\\\"]],[],[[\\\"@type\\\",\\\"@title\\\",\\\"@href\\\"],[\\\"article\\\",\\\"Learn more about using conversation data across Intercom\\\",\\\"https://www.intercom.com/help/en/articles/4323898-what-is-conversation-data\\\"]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center flex-wrap gap-4 pl-6 reporting__filters-container\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"reporting/flexible/filter-bar/filter-bar\\\",[],[[\\\"@range\\\",\\\"@updateRange\\\",\\\"@barFilters\\\",\\\"@conversationCustomAttributes\\\",\\\"@conversationAttributeDescriptors\\\",\\\"@onFiltersChanged\\\",\\\"@onFiltersCleared\\\",\\\"@analyticsObject\\\"],[[32,0,[\\\"range\\\"]],[32,0,[\\\"updateRange\\\"]],[30,[36,7],null,[[\\\"teammatesAssigned\\\",\\\"teamsAssigned\\\",\\\"teammatesParticipated\\\",\\\"teamsParticipated\\\",\\\"continents\\\",\\\"countries\\\",\\\"channels\\\",\\\"conversationTypes\\\",\\\"scopingTagIds\\\"],[[32,0,[\\\"teammatesAssigned\\\"]],[32,0,[\\\"teamsAssigned\\\"]],[32,0,[\\\"teammateId\\\"]],[32,0,[\\\"teamsParticipated\\\"]],[32,0,[\\\"continents\\\"]],[32,0,[\\\"countries\\\"]],[32,0,[\\\"channels\\\"]],[32,0,[\\\"conversationTypes\\\"]],[32,0,[\\\"scopingTagIds\\\"]]]]],[32,0,[\\\"customAttributes\\\"]],[32,0,[\\\"conversationAttributeDescriptors\\\"]],[32,0,[\\\"filterBarSelectionChanged\\\"]],[32,0,[\\\"filterBarCleared\\\"]],[32,0,[\\\"reportName\\\"]]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"reporting/layout/report-content\\\",[],[[\\\"@timezone\\\"],[[32,0,[\\\"app\\\",\\\"timezone\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/conversations-flexible/new-conversations-comparison-counter\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@dashboard\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/conversations-flexible/new-inbound-conversations-comparison-counter\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@dashboard\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/conversations-flexible/replied-to-conversations-comparison-counter\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@dashboard\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/conversations-flexible/closed-conversations-comparison-counter\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@dashboard\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/conversations-flexible/opened-conversations-comparison-counter\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@dashboard\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/conversations-flexible/snoozed-conversations-comparison-counter\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@dashboard\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/conversations-flexible/reopened-conversations-comparison-counter\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@dashboard\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/conversations-flexible/replies-sent-comparison-counter\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@dashboard\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/conversations-flexible/busiest-period-counter\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@dashboard\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/conversations-flexible/new-conversations-columnchart\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@canUseReportingChannelDrilldown\\\",\\\"@persistentDataConfig\\\",\\\"@dashboard\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,0,[\\\"app\\\",\\\"canUseReportingChannelDrilldown\\\"]],[30,[36,8],[[32,0,[\\\"dataConfigs\\\"]],\\\"new-inbound-conversations\\\"],null],[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/conversations-flexible/replied-to-conversations-columnchart\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@dashboard\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/conversations-flexible/new-conversations-channels-columnchart\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@width\\\",\\\"@persistentDataConfig\\\",\\\"@dashboard\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],\\\"small\\\",[30,[36,8],[[32,0,[\\\"dataConfigs\\\"]],\\\"new-conversations-channels\\\"],null],[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/conversations-flexible/closed-reopened-conversations-columnchart\\\",[],[[\\\"@range\\\",\\\"@width\\\",\\\"@filters\\\",\\\"@dashboard\\\"],[[32,0,[\\\"rangeParams\\\"]],\\\"small\\\",[32,0,[\\\"filters\\\"]],[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/conversations-flexible/open-snoozed-columnchart\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@width\\\",\\\"@dashboard\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],\\\"small\\\",[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/conversations-flexible/replies-sent-columnchart\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@width\\\",\\\"@dashboard\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],\\\"small\\\",[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/conversations-flexible/busiest-period-heatmap\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@dashboard\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"service\\\",\\\"transition-to\\\",\\\"track-analytics-event\\\",\\\"queue\\\",\\\"on\\\",\\\"did-insert\\\",\\\"if\\\",\\\"hash\\\",\\\"get\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/customer-support/conversations-flexible.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"9lT1tsLg\",\"block\":\"{\\\"symbols\\\":[\\\"report\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-shrink-0 ml-8 mr-8 mt-6 mb-6\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-6 mb-6\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"common/hamburger-menu\\\",[],[[\\\"@includePadding\\\",\\\"@title\\\"],[false,\\\"Customer satisfaction\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center flex-wrap gap-4 pl-6 reporting__filters-container\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"reporting/flexible/filter-bar/filter-bar\\\",[],[[\\\"@range\\\",\\\"@updateRange\\\",\\\"@barFilters\\\",\\\"@conversationCustomAttributes\\\",\\\"@conversationAttributeDescriptors\\\",\\\"@onFiltersChanged\\\",\\\"@analyticsObject\\\"],[[32,0,[\\\"range\\\"]],[30,[36,0],[[32,0],\\\"updateRange\\\"],null],[30,[36,1],null,[[\\\"teammatesParticipated\\\",\\\"teamsParticipated\\\",\\\"scopingTagIds\\\",\\\"teammatesAssigned\\\",\\\"channels\\\",\\\"continents\\\",\\\"countries\\\",\\\"conversationTypes\\\",\\\"teamsAssigned\\\"],[[32,0,[\\\"teammateId\\\"]],[32,0,[\\\"teamsParticipated\\\"]],[32,0,[\\\"scopingTagIds\\\"]],[32,0,[\\\"teammatesAssigned\\\"]],[32,0,[\\\"channels\\\"]],[32,0,[\\\"continents\\\"]],[32,0,[\\\"countries\\\"]],[32,0,[\\\"conversationTypes\\\"]],[32,0,[\\\"teamsAssigned\\\"]]]]],[32,0,[\\\"customAttributes\\\"]],[32,0,[\\\"conversationAttributeDescriptors\\\"]],[32,0,[\\\"filterBarSelectionChanged\\\"]],[32,0,[\\\"reportName\\\"]]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[8,\\\"reporting/layout/report-content\\\",[],[[\\\"@timezone\\\"],[[32,0,[\\\"timezone\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@filters\\\",\\\"@range\\\",\\\"@unit\\\",\\\"@signalType\\\"],[[32,0,[\\\"queries\\\",\\\"conversationRatings\\\"]],[32,0,[\\\"filters\\\"]],[32,0,[\\\"range\\\"]],\\\"day\\\",\\\"conversation-rating\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,\\\"reporting/chart-container\\\",[],[[\\\"@height\\\",\\\"@isLoading\\\"],[361,[30,[36,2],[[32,1]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"reporting/signal-card\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@signal\\\",\\\"@chartType\\\",\\\"@improvementDirection\\\",\\\"@range\\\"],[\\\"Conversation ratings\\\",\\\"All new conversations rated by your customers during this time period, showing the percentage of each rating.\\\",[32,1],\\\"stacked-bar\\\",\\\"increasing\\\",[32,0,[\\\"range\\\"]]]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"inbox/reporting/conversation-remarks-table\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@range\\\",\\\"@filters\\\"],[\\\"Remarks from customers\\\",\\\"Customers’ conversation ratings and the optional comments they left with each rating.\\\",[32,0,[\\\"range\\\"]],[32,0,[\\\"filters\\\"]]]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"hash\\\",\\\"not\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/customer-support/customer-satisfaction.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"+VA1BBCs\",\"block\":\"{\\\"symbols\\\":[\\\"dashboard\\\"],\\\"statements\\\":[[8,\\\"reporting/flexible/dashboard\\\",[],[[\\\"@paywallFeatureKey\\\",\\\"@dashboardId\\\",\\\"@dashboardName\\\",\\\"@filters\\\",\\\"@range\\\"],[\\\"effectiveness_dashboard\\\",[32,0,[\\\"dashboardIdentifier\\\"]],[32,0,[\\\"dashboardName\\\"]],[32,0,[\\\"filters\\\"]],[32,0,[\\\"range\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\\n  \\\"],[11,\\\"div\\\"],[24,0,\\\"flex flex-col gap-6 flex-shrink-0 ml-8 mr-8 mt-6 mb-4\\\"],[4,[38,0],[[32,0,[\\\"trackPageView\\\"]]],null],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"common/hamburger-menu\\\",[],[[\\\"@includePadding\\\",\\\"@title\\\"],[false,[32,0,[\\\"dashboardName\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center flex-wrap gap-4 pl-6 reporting__filters-container\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"reporting/flexible/filter-bar/filter-bar\\\",[],[[\\\"@range\\\",\\\"@updateRange\\\",\\\"@barFilters\\\",\\\"@conversationCustomAttributes\\\",\\\"@conversationAttributeDescriptors\\\",\\\"@onFiltersChanged\\\",\\\"@analyticsObject\\\"],[[32,0,[\\\"range\\\"]],[32,0,[\\\"updateRange\\\"]],[30,[36,1],null,[[\\\"teammatesAssigned\\\",\\\"teamsAssigned\\\",\\\"teammatesParticipated\\\",\\\"teamsParticipated\\\",\\\"continents\\\",\\\"countries\\\",\\\"channels\\\",\\\"conversationTypes\\\",\\\"scopingTagIds\\\"],[[32,0,[\\\"teammatesAssigned\\\"]],[32,0,[\\\"teamsAssigned\\\"]],[32,0,[\\\"teammateId\\\"]],[32,0,[\\\"teamsParticipated\\\"]],[32,0,[\\\"continents\\\"]],[32,0,[\\\"countries\\\"]],[32,0,[\\\"channels\\\"]],[32,0,[\\\"conversationTypes\\\"]],[32,0,[\\\"scopingTagIds\\\"]]]]],[32,0,[\\\"customAttributes\\\"]],[32,0,[\\\"conversationAttributeDescriptors\\\"]],[32,0,[\\\"filterBarSelectionChanged\\\"]],[32,0,[\\\"reportName\\\"]]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"reporting/layout/report-content\\\",[],[[\\\"@timezone\\\"],[[32,0,[\\\"app\\\",\\\"timezone\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/effectiveness/replied-to-conversations-counter\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@dashboard\\\",\\\"@width\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,1],\\\"small\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/effectiveness/closed-on-first-contact-counter\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@dashboard\\\",\\\"@width\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,1],\\\"small\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/effectiveness/number-of-teammate-replies-to-close-counter\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@dashboard\\\",\\\"@width\\\",\\\"@persistentDataConfig\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,1],\\\"small\\\",[30,[36,2],[[32,0,[\\\"model\\\",\\\"dataConfigs\\\"]],\\\"number-of-teammate-replies-to-close-counter\\\"],null]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/effectiveness/reassignments-counter\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@width\\\",\\\"@dashboard\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],\\\"small\\\",[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/effectiveness/first-assignment-time-counter\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@width\\\",\\\"@dashboard\\\",\\\"@persistentDataConfig\\\",\\\"@settings\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],\\\"small\\\",[32,1],[30,[36,2],[[32,0,[\\\"model\\\",\\\"dataConfigs\\\"]],\\\"first-assignment-time-counter\\\"],null],[32,0,[\\\"model\\\",\\\"settings\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/effectiveness/first-assignment-to-last-close-time-counter\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@width\\\",\\\"@dashboard\\\",\\\"@persistentDataConfig\\\",\\\"@settings\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],\\\"small\\\",[32,1],[30,[36,2],[[32,0,[\\\"model\\\",\\\"dataConfigs\\\"]],\\\"first-assignment-to-last-close-time-counter\\\"],null],[32,0,[\\\"model\\\",\\\"settings\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/effectiveness/closed-on-first-contact-columnchart\\\",[],[[\\\"@range\\\",\\\"@dashboard\\\",\\\"@filters\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,1],[32,0,[\\\"filters\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/effectiveness/number-of-teammate-replies-to-close-columnchart\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@dashboard\\\",\\\"@persistentDataConfig\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,1],[30,[36,2],[[32,0,[\\\"model\\\",\\\"dataConfigs\\\"]],\\\"number-of-teammate-replies-to-close-columnchart\\\"],null]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/effectiveness/reassignments-columnchart\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@dashboard\\\",\\\"@width\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,1],\\\"small\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/effectiveness/first-assignment-time-columnchart\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@persistentDataConfig\\\",\\\"@width\\\",\\\"@dashboard\\\",\\\"@settings\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[30,[36,2],[[32,0,[\\\"model\\\",\\\"dataConfigs\\\"]],\\\"first-assignment-time-columnchart\\\"],null],\\\"small\\\",[32,1],[32,0,[\\\"model\\\",\\\"settings\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/effectiveness/first-assignment-to-last-close-time-columnchart\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@persistentDataConfig\\\",\\\"@width\\\",\\\"@settings\\\",\\\"@dashboard\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[30,[36,2],[[32,0,[\\\"model\\\",\\\"dataConfigs\\\"]],\\\"first-assignment-to-last-close-time-columnchart\\\"],null],\\\"small\\\",[32,0,[\\\"model\\\",\\\"settings\\\"]],[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/effectiveness/first-assignment-to-close-breakdown\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@settings\\\",\\\"@dashboard\\\"],[[32,0,[\\\"range\\\"]],[32,0,[\\\"filters\\\"]],[32,0,[\\\"model\\\",\\\"settings\\\"]],[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"did-insert\\\",\\\"hash\\\",\\\"get\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/customer-support/effectiveness.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"mCE+G1jm\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\"],\\\"statements\\\":[[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"inbox_csv_export\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"Banner\\\"]],[],[[\\\"@content\\\"],[\\\"Upgrade to export conversation data\\\"]],null],[2,\\\"\\\\n\\\"],[6,[37,0],[[30,[36,4],[[32,1,[\\\"isActive\\\"]]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-4 h-full\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-3\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-3 items-center mr-6\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-1\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"common/hamburger-menu\\\",[],[[\\\"@title\\\"],[[30,[36,0],[[30,[36,3],[\\\"canUseNewReportingIa\\\"],null],\\\"Export\\\",\\\"Export conversation data\\\"],null]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,0],[[30,[36,3],[\\\"canUseExportImprovements\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"reporting/export/schedule-buttons\\\",[],[[\\\"@enqueueExport\\\",\\\"@enqueuingExport\\\",\\\"@scheduleToEdit\\\",\\\"@openSidebar\\\",\\\"@closeSidebar\\\",\\\"@submitSchedule\\\",\\\"@editMode\\\",\\\"@isScheduleDisabled\\\",\\\"@deleteSchedule\\\",\\\"@isScheduleManagementDisabled\\\",\\\"@resetSchedule\\\"],[[32,0,[\\\"enqueueExport\\\"]],[32,0,[\\\"enqueuingExport\\\"]],[32,0,[\\\"scheduleToEdit\\\"]],[32,0,[\\\"openSidebar\\\"]],[32,0,[\\\"closeSidebar\\\"]],[30,[36,2],[[32,0,[\\\"sendScheduleExportQuery\\\"]]],null],[32,0,[\\\"editMode\\\"]],[32,0,[\\\"isScheduleDisabled\\\"]],[32,0,[\\\"deleteSchedule\\\"]],[32,0,[\\\"isScheduleManagementDisabled\\\"]],[32,0,[\\\"resetSchedule\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__mb__20 u__padl__30 u__padr__30\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,0],[[30,[36,3],[\\\"canUseExportImprovements\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"ic-content\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"4\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                Apply filters\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n              \\\"],[8,\\\"reporting/export/filter-bar\\\",[],[[\\\"@range\\\",\\\"@updateRange\\\",\\\"@filterSet\\\",\\\"@clearFilterSet\\\",\\\"@filterBarSelectionChanged\\\",\\\"@conversationAttributeDescriptors\\\",\\\"@analyticsObject\\\",\\\"@initialFiltersAddedDirty\\\",\\\"@initialFiltersAddedCleaned\\\"],[[32,0,[\\\"range\\\"]],[32,0,[\\\"updateRange\\\"]],[32,0,[\\\"filterSet\\\"]],[32,0,[\\\"clearFilterSet\\\"]],[32,0,[\\\"filterBarSelectionChanged\\\"]],[32,0,[\\\"conversationAttributeDescriptors\\\"]],[32,0,[\\\"reportName\\\"]],[32,0,[\\\"initialFiltersAddedDirty\\\"]],[30,[36,1],[[32,0],\\\"initialFiltersAddedDirty\\\",false],null]]],null],[2,\\\"\\\\n              \\\"],[8,\\\"reporting/export/column-selection\\\",[],[[\\\"@selectedColumns\\\",\\\"@updateSelectedColumns\\\"],[[32,0,[\\\"selectedColumns\\\"]],[30,[36,1],[[32,0],\\\"selectedColumns\\\"],null]]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"p\\\"],[14,0,\\\"t__body text-gray mb-2\\\"],[12],[2,\\\"\\\\n              For conversations started between\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__centers-vertically mb-2\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n                \\\"],[8,\\\"reporting/date-range-filter\\\",[],[[\\\"@scrollParentSelector\\\",\\\"@disabled\\\",\\\"@range\\\",\\\"@timezone\\\",\\\"@updateRange\\\",\\\"@maximumSelectionWindowInYears\\\"],[\\\".js__main-container\\\",[32,0,[\\\"enqueuingExport\\\"]],[32,0,[\\\"range\\\"]],[32,0,[\\\"range\\\",\\\"timezone\\\"]],[32,0,[\\\"updateRange\\\"]],2]],null],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n                \\\"],[8,\\\"ic-button\\\",[[24,0,\\\"u__ml__10\\\"]],[[\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\",\\\"@label\\\"],[\\\"primary\\\",[32,0,[\\\"enqueueExport\\\"]],[32,0,[\\\"enqueuingExport\\\"]],[30,[36,0],[[32,0,[\\\"enqueuingExport\\\"]],\\\"Preparing export...\\\",\\\"Export CSV\\\"],null]]],null],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"p\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n              Exporting can sometimes take a few hours at peak times. We’ll email you a download link once the export is ready.\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"hr\\\"],[14,0,\\\"u__mt__20\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"editMode\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"reporting/export/schedule-sidebar\\\",[],[[\\\"@scheduleIds\\\",\\\"@selectedScheduleId\\\",\\\"@closeSidebar\\\",\\\"@loadSchedule\\\"],[[32,0,[\\\"scheduleIds\\\"]],[32,0,[\\\"scheduleId\\\"]],[32,0,[\\\"closeSidebar\\\"]],[32,0,[\\\"loadSchedule\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[8,[32,1,[\\\"Splash\\\"]],[],[[\\\"@title\\\",\\\"@description\\\",\\\"@imgSrc\\\"],[\\\"Download your conversation data\\\",\\\"Easily export your conversation and messages data to further analyze your team's performance.\\\",\\\"https://marketing.intercomassets.com/assets/homepage/v2/hero-3-2x-4b0b74c468746877026a53204e3a4052f694df9e1c7a0c86941919e08ab46a27.png\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"set\\\",\\\"perform\\\",\\\"has-feature\\\",\\\"not\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/customer-support/export.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"coFdBiKY\",\"block\":\"{\\\"symbols\\\":[\\\"dashboard\\\",\\\"report\\\",\\\"report\\\",\\\"report\\\",\\\"report\\\"],\\\"statements\\\":[[8,\\\"reporting/flexible/dashboard\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-shrink-0 ml-8 mr-8 mt-6 mb-6\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"linksEnabled\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-6 mb-6\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"common/hamburger-menu\\\",[],[[\\\"@includePadding\\\",\\\"@title\\\"],[false,\\\"Customer support overview\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center flex-wrap gap-2 pl-6\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"reporting/date-range-filter\\\",[],[[\\\"@scrollParentSelector\\\",\\\"@disabled\\\",\\\"@range\\\",\\\"@timezone\\\",\\\"@updateRange\\\"],[\\\".js__main-container\\\",false,[32,0,[\\\"range\\\"]],[32,0,[\\\"timezone\\\"]],[30,[36,0],[[32,0],\\\"updateRange\\\"],null]]],null],[2,\\\"\\\\n\\\\n\\\"],[6,[37,1],[[32,0,[\\\"settings\\\",\\\"allowToExcludeBotInbox\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"reporting/bot-inbox-time-filter\\\",[],[[\\\"@selected\\\",\\\"@setSelected\\\"],[[32,0,[\\\"botInboxTime\\\"]],[30,[36,0],[[32,0],\\\"toggleBotInboxTime\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"reporting/layout/report-content\\\",[],[[\\\"@timezone\\\"],[[32,0,[\\\"app\\\",\\\"timezone\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/flexible/chart\\\",[],[[\\\"@title\\\",\\\"@chartComponent\\\",\\\"@dataConfig\\\",\\\"@filters\\\",\\\"@width\\\",\\\"@range\\\",\\\"@persistentDataConfig\\\",\\\"@viewConfig\\\",\\\"@dataTestName\\\",\\\"@dashboard\\\"],[\\\"first response time\\\",\\\"reporting/flexible/comparison-counter\\\",[32,0,[\\\"counterDefaultConfigs\\\",\\\"firstResponseTimeCounter\\\",\\\"dataConfig\\\"]],[32,0,[\\\"flexibleFilters\\\"]],\\\"small\\\",[32,0,[\\\"rangeParams\\\"]],[30,[36,2],[[32,0,[\\\"dataConfigs\\\"]],\\\"first-response-time-counter\\\"],null],[32,0,[\\\"counterDefaultConfigs\\\",\\\"firstResponseTimeCounter\\\",\\\"viewConfig\\\"]],\\\"counter-first-response-time\\\",[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/flexible/chart\\\",[],[[\\\"@title\\\",\\\"@chartComponent\\\",\\\"@dataConfig\\\",\\\"@filters\\\",\\\"@width\\\",\\\"@range\\\",\\\"@persistentDataConfig\\\",\\\"@viewConfig\\\",\\\"@dashboard\\\",\\\"@dataTestName\\\"],[\\\"time to close\\\",\\\"reporting/flexible/comparison-counter\\\",[32,0,[\\\"counterDefaultConfigs\\\",\\\"timeToCloseCounter\\\",\\\"dataConfig\\\"]],[32,0,[\\\"flexibleFilters\\\"]],\\\"small\\\",[32,0,[\\\"rangeParams\\\"]],[30,[36,2],[[32,0,[\\\"dataConfigs\\\"]],\\\"time-to-close-counter\\\"],null],[32,0,[\\\"counterDefaultConfigs\\\",\\\"timeToCloseCounter\\\",\\\"viewConfig\\\"]],[32,1],\\\"counter-time-to-close\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@range\\\",\\\"@unit\\\",\\\"@groupOverTime\\\"],[[32,0,[\\\"queries\\\",\\\"newConversation\\\"]],[32,0,[\\\"range\\\"]],\\\"conversation\\\",true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"reporting/element/summary\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@currentValue\\\",\\\"@previousValue\\\",\\\"@improvementDirection\\\",\\\"@range\\\"],[\\\"New inbound conversations\\\",\\\"The number of new conversations started by an inbound message, grouped by the date the conversation started.\\\",[32,5,[\\\"value\\\"]],[32,5,[\\\"previousValue\\\"]],\\\"increasing\\\",[32,0,[\\\"range\\\"]]]],null],[2,\\\"\\\\n\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\\n            \\\"],[8,\\\"reporting/chart-container\\\",[],[[\\\"@isLoading\\\"],[[30,[36,3],[[32,5]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"reporting/chart/stacked-bar\\\",[],[[\\\"@signal\\\",\\\"@color\\\"],[[32,5],\\\"vis-blue-40\\\"]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@range\\\",\\\"@unit\\\",\\\"@groupOverTime\\\"],[[32,0,[\\\"queries\\\",\\\"conversationsParticipatedIn\\\"]],[32,0,[\\\"range\\\"]],\\\"conversation\\\",true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"reporting/element/summary\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@currentValue\\\",\\\"@previousValue\\\",\\\"@improvementDirection\\\",\\\"@range\\\"],[\\\"Conversations replied to\\\",\\\"Conversations that a teammate replied to, grouped by the date the reply was sent. Note that the conversations included in this chart may have been started prior to the selected date range.\\\",[32,4,[\\\"value\\\"]],[32,4,[\\\"previousValue\\\"]],\\\"increasing\\\",[32,0,[\\\"range\\\"]]]],null],[2,\\\"\\\\n\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\\n            \\\"],[8,\\\"reporting/chart-container\\\",[],[[\\\"@isLoading\\\"],[[30,[36,3],[[32,4]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"reporting/chart/stacked-bar\\\",[],[[\\\"@signal\\\",\\\"@color\\\"],[[32,4],\\\"vis-green-40\\\"]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/flexible/chart\\\",[],[[\\\"@title\\\",\\\"@chartComponent\\\",\\\"@dataConfig\\\",\\\"@viewConfig\\\",\\\"@filters\\\",\\\"@width\\\",\\\"@range\\\",\\\"@persistentDataConfig\\\",\\\"@dashboard\\\",\\\"@dataTestName\\\"],[\\\"first response time\\\",\\\"reporting/flexible/columnchart\\\",[32,0,[\\\"columnChartConfigs\\\",\\\"firstResponseTime\\\",\\\"dataConfig\\\"]],[32,0,[\\\"columnChartConfigs\\\",\\\"firstResponseTime\\\",\\\"viewConfig\\\"]],[32,0,[\\\"flexibleFilters\\\"]],\\\"small\\\",[32,0,[\\\"rangeParams\\\"]],[30,[36,2],[[32,0,[\\\"dataConfigs\\\"]],\\\"first-response-time\\\"],null],[32,1],\\\"first-response-time\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"reporting/flexible/chart\\\",[],[[\\\"@title\\\",\\\"@chartComponent\\\",\\\"@dataConfig\\\",\\\"@viewConfig\\\",\\\"@filters\\\",\\\"@range\\\",\\\"@width\\\",\\\"@persistentDataConfig\\\",\\\"@dashboard\\\",\\\"@dataTestName\\\"],[\\\"time to close\\\",\\\"reporting/flexible/columnchart\\\",[32,0,[\\\"columnChartConfigs\\\",\\\"timeToClose\\\",\\\"dataConfig\\\"]],[32,0,[\\\"columnChartConfigs\\\",\\\"timeToClose\\\",\\\"viewConfig\\\"]],[32,0,[\\\"flexibleFilters\\\"]],[32,0,[\\\"rangeParams\\\"]],\\\"small\\\",[30,[36,2],[[32,0,[\\\"dataConfigs\\\"]],\\\"time-to-close\\\"],null],[32,1],\\\"time-to-close\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@range\\\",\\\"@debugName\\\",\\\"@groupOverTime\\\",\\\"@groupings\\\",\\\"@transforms\\\",\\\"@unit\\\"],[[32,0,[\\\"queries\\\",\\\"conversationRatings\\\"]],[32,0,[\\\"range\\\"]],\\\"ratings\\\",true,[30,[36,5],[[30,[36,4],null,[[\\\"grouping\\\",\\\"interval\\\"],[\\\"rating_index\\\",1]]]],null],[32,0,[\\\"transforms\\\"]],\\\"percent\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"reporting/element/summary\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@currentValue\\\",\\\"@previousValue\\\",\\\"@unit\\\",\\\"@improvementDirection\\\",\\\"@range\\\",\\\"@valueComponent\\\"],[\\\"Conversation ratings\\\",\\\"Your customers’ ratings of any new inbound conversation, plus outbound conversations rated by leads, showing the percentage of each rating.\\\",[32,3,[\\\"value\\\",\\\"percent\\\"]],[32,3,[\\\"previousValue\\\",\\\"percent\\\"]],\\\"percent\\\",\\\"increasing\\\",[32,0,[\\\"range\\\"]],[30,[36,6],[\\\"reporting/element/happiness-summary-value\\\"],[[\\\"total\\\",\\\"count\\\"],[[32,3,[\\\"value\\\",\\\"totalCount\\\"]],[32,3,[\\\"value\\\",\\\"count\\\"]]]]]]],null],[2,\\\"\\\\n\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\\n            \\\"],[8,\\\"reporting/chart-container\\\",[],[[\\\"@isLoading\\\"],[[30,[36,3],[[32,3]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\\n              \\\"],[8,\\\"reporting/chart/stacked-bar\\\",[],[[\\\"@signal\\\",\\\"@keys\\\",\\\"@tooltipComponent\\\",\\\"@keyColorHash\\\"],[[32,3],[30,[36,5],[5,4,3,2,1],null],[30,[36,6],[\\\"reporting/tooltip/horizontal-bar-ratings\\\"],null],[30,[36,4],null,[[\\\"5\\\",\\\"4\\\",\\\"3\\\",\\\"2\\\",\\\"1\\\"],[\\\"vis-green-40\\\",\\\"vis-green-60\\\",\\\"vis-yellow-70\\\",\\\"vis-yellow-50\\\",\\\"vis-salmon-40\\\"]]]]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@debugName\\\",\\\"@query\\\",\\\"@filters\\\",\\\"@groupOverTime\\\",\\\"@range\\\",\\\"@unit\\\"],[\\\"leads_created\\\",[32,0,[\\\"queries\\\",\\\"leadsCreated\\\"]],[32,0,[\\\"filters\\\",\\\"leadsCreated\\\"]],true,[32,0,[\\\"range\\\"]],\\\"lead\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"reporting/element/summary\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@currentValue\\\",\\\"@previousValue\\\",\\\"@improvementDirection\\\",\\\"@range\\\"],[\\\"New leads from Messenger\\\",\\\"Number of people who interacted with Messenger for the first time, during the current period. Note that each lead may have multiple conversations, but will only be counted once.\\\",[32,2,[\\\"value\\\"]],[32,2,[\\\"previousValue\\\"]],\\\"increasing\\\",[32,0,[\\\"range\\\"]]]],null],[2,\\\"\\\\n\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\\n            \\\"],[8,\\\"reporting/chart-container\\\",[],[[\\\"@height\\\",\\\"@isLoading\\\"],[331,[30,[36,3],[[32,2]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"reporting/chart/stacked-bar\\\",[],[[\\\"@signal\\\",\\\"@color\\\",\\\"@unit\\\"],[[32,2],\\\"vis-yellow-50\\\",\\\"lead\\\"]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"reporting/reports/overview/teammate-table\\\",[],[[\\\"@range\\\",\\\"@analyticsObject\\\",\\\"@dashboard\\\",\\\"@settings\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"reportName\\\"]],[32,1],[32,0,[\\\"settings\\\"]]]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"if\\\",\\\"get\\\",\\\"not\\\",\\\"hash\\\",\\\"array\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/customer-support/overview.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"1ziSbgxd\",\"block\":\"{\\\"symbols\\\":[\\\"banner\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-6 flex-shrink-0 ml-8 mr-8 mt-6 mb-6\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"common/hamburger-menu\\\",[],[[\\\"@includePadding\\\",\\\"@title\\\"],[false,[30,[36,7],[[30,[36,6],[\\\"canUseNewReportingIa\\\"],null],\\\"Resolution Bot\\\",\\\"Resolution Bot report\\\"],null]]],null],[2,\\\"\\\\n\\\\n\\\"],[6,[37,7],[[30,[36,9],[[32,0,[\\\"app\\\",\\\"currentAdmin\\\",\\\"canAccessProductSettings\\\"]],[30,[36,8],[[32,0,[\\\"hasSentAnswers\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"pulse/discovery-banner\\\",[[24,0,\\\"ml-6\\\"]],[[\\\"@heading\\\",\\\"@description\\\",\\\"@dismissalType\\\",\\\"@dismissalKey\\\",\\\"@dismissalService\\\"],[[32,0,[\\\"claimCopy\\\",\\\"heading\\\"]],[32,0,[\\\"claimCopy\\\",\\\"description\\\"]],\\\"close-icon\\\",[31,[\\\"answer-bot-discovery-banner-answer-bot-reporting-\\\",[32,0,[\\\"bannerVariation\\\"]]]],[30,[36,3],[\\\"banner-dismissal-service\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"Button\\\"]],[[4,[38,5],[\\\"click\\\",[30,[36,4],[[32,0,[\\\"claimCopy\\\",\\\"route\\\"]]],null]],null]],[[\\\"@label\\\"],[[32,0,[\\\"claimCopy\\\",\\\"button\\\"]]]],null],[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"HelpLink\\\"]],[],[[\\\"@type\\\",\\\"@title\\\",\\\"@href\\\"],[\\\"article\\\",[32,0,[\\\"claimCopy\\\",\\\"articleText\\\"]],[32,0,[\\\"claimCopy\\\",\\\"articleURL\\\"]]]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center flex-wrap gap-2 pl-6\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"reporting/date-range-filter\\\",[],[[\\\"@scrollParentSelector\\\",\\\"@disabled\\\",\\\"@range\\\",\\\"@timezone\\\",\\\"@updateRange\\\"],[\\\".js__main-container\\\",false,[32,0,[\\\"range\\\"]],[32,0,[\\\"timezone\\\"]],[30,[36,10],[[32,0],\\\"updateRange\\\"],null]]],null],[2,\\\"\\\\n    \\\"],[8,\\\"ic-select\\\",[],[[\\\"@items\\\",\\\"@defaultLabel\\\",\\\"@selectedValue\\\",\\\"@hasFilter\\\",\\\"@onSelectItem\\\"],[[30,[36,1],[[30,[36,0],null,[[\\\"text\\\",\\\"value\\\"],[\\\"Any conversation started\\\",\\\"all\\\"]]],[30,[36,0],null,[[\\\"text\\\",\\\"value\\\"],[\\\"Started by customer\\\",\\\"inbound\\\"]]],[30,[36,0],null,[[\\\"text\\\",\\\"value\\\"],[\\\"Started by reply to Bot/Message\\\",\\\"outbound\\\"]]]],null],\\\"Filter by SLA\\\",[32,0,[\\\"conversationSource\\\"]],false,[30,[36,10],[[32,0],[30,[36,11],[[32,0,[\\\"conversationSource\\\"]]],null]],null]]],null],[2,\\\"\\\\n\\\"],[6,[37,7],[[30,[36,6],[\\\"canUseLoopingBot\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-select\\\",[],[[\\\"@items\\\",\\\"@selectedValue\\\",\\\"@hasFilter\\\",\\\"@onSelectItem\\\"],[[30,[36,1],[[30,[36,0],null,[[\\\"text\\\",\\\"value\\\"],[\\\"Any Resolution Bot setting\\\",\\\"all\\\"]]],[30,[36,0],null,[[\\\"text\\\",\\\"value\\\"],[\\\"One-time enabled\\\",\\\"one-time\\\"]]],[30,[36,0],null,[[\\\"text\\\",\\\"value\\\"],[\\\"Looping enabled\\\",\\\"looping\\\"]]]],null],[32,0,[\\\"resolutionBotSetting\\\"]],false,[30,[36,2],[[32,0],\\\"resolutionBotSetting\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[8,\\\"reporting/layout/report-content\\\",[],[[\\\"@timezone\\\"],[[32,0,[\\\"app\\\",\\\"timezone\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"answers/reporting/team-impact\\\",[],[[\\\"@signals\\\",\\\"@showData\\\",\\\"@effectiveAnswerCount\\\",\\\"@effectiveInboundAnswerCount\\\",\\\"@effectiveOutboundAnswerCount\\\",\\\"@conversationSource\\\"],[[32,0,[\\\"signals\\\"]],[30,[36,12],[[32,0,[\\\"hasLiveAnswers\\\"]],[32,0,[\\\"hasSentAnswers\\\"]]],null],[32,0,[\\\"effectiveAnswerCount\\\"]],[32,0,[\\\"effectiveInboundAnswerCount\\\"]],[32,0,[\\\"effectiveOutboundAnswerCount\\\"]],[32,0,[\\\"conversationSource\\\"]]]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"answers/reporting/answers-provided\\\",[],[[\\\"@signals\\\",\\\"@range\\\",\\\"@transitionToNewAnswer\\\",\\\"@showData\\\",\\\"@conversationsSent\\\",\\\"@conversationSource\\\"],[[32,0,[\\\"signals\\\"]],[32,0,[\\\"range\\\"]],[30,[36,10],[[32,0],\\\"transitionToNewAnswer\\\"],null],[30,[36,12],[[32,0,[\\\"hasLiveAnswers\\\"]],[32,0,[\\\"hasSentAnswers\\\"]]],null],[32,0,[\\\"conversationsSent\\\"]],[32,0,[\\\"conversationSource\\\"]]]],null],[2,\\\"\\\\n\\\"],[6,[37,7],[[30,[36,12],[[32,0,[\\\"hasLiveAnswers\\\"]],[32,0,[\\\"hasSentAnswers\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"answers/reporting/answers-coverage\\\",[],[[\\\"@conversationsSent\\\",\\\"@answersSent\\\",\\\"@conversationSource\\\"],[[32,0,[\\\"conversationsSent\\\"]],[32,0,[\\\"answersSent\\\"]],[32,0,[\\\"conversationSource\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"answers/reporting/resolution-rate\\\",[],[[\\\"@signal\\\",\\\"@showData\\\",\\\"@range\\\"],[[32,0,[\\\"signals\\\",\\\"effectiveness\\\"]],[30,[36,9],[[32,0,[\\\"hasLiveAnswers\\\"]],[32,0,[\\\"hasSentAnswers\\\"]]],null],[32,0,[\\\"range\\\"]]]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-stretch flex-1 justify-between mt-5\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"answers/reporting/resolution-rate/tips\\\",[],[[\\\"@resolutionRate\\\",\\\"@conversationSource\\\"],[[32,0,[\\\"resolutionRate\\\"]],[32,0,[\\\"conversationSource\\\"]]]],null],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"reporting__vertical-divider\\\"],[12],[13],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"py-1 pl-5\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/operator/answer-bot/train-answer-bot-to-provide-more-resolutions\\\",\\\"How to train Resolution Bot\\\",\\\"article\\\"]],null],[2,\\\"\\\\n        \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/operator/answer-bot/answer-bot-how-to-create-an-effective-answer\\\",\\\"Writing effective answers\\\",\\\"article\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"hash\\\",\\\"array\\\",\\\"set\\\",\\\"service\\\",\\\"transition-to\\\",\\\"on\\\",\\\"has-feature\\\",\\\"if\\\",\\\"not\\\",\\\"and\\\",\\\"action\\\",\\\"mut\\\",\\\"or\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/customer-support/resolution-bot.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"79ouxs8F\",\"block\":\"{\\\"symbols\\\":[\\\"dashboard\\\"],\\\"statements\\\":[[8,\\\"reporting/flexible/dashboard\\\",[],[[\\\"@dashboardId\\\",\\\"@dashboardName\\\",\\\"@filters\\\",\\\"@customFilters\\\",\\\"@reverseFilterMappings\\\",\\\"@range\\\"],[[32,0,[\\\"dashboardIdentifier\\\"]],[32,0,[\\\"dashboardName\\\"]],[32,0,[\\\"filters\\\"]],[30,[36,0],null,[[\\\"bot_inbox_time\\\"],[[32,0,[\\\"botInboxTime\\\"]]]]],[32,0,[\\\"reverseFilterMappings\\\"]],[32,0,[\\\"range\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[11,\\\"div\\\"],[24,0,\\\"flex flex-col flex-shrink-0 ml-8 mr-8 mt-6 mb-4\\\"],[4,[38,1],[[32,0,[\\\"trackPageView\\\"]]],null],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between mb-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-6\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"common/hamburger-menu\\\",[],[[\\\"@includePadding\\\",\\\"@title\\\"],[false,[32,0,[\\\"dashboardName\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"app\\\",\\\"canUseReportingSharingDashboard\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-start gap-3\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"reporting/download\\\",[],[[\\\"@dashboard\\\"],[[32,1]]],null],[2,\\\"\\\\n          \\\"],[8,\\\"reporting/subscription\\\",[],[[\\\"@dashboard\\\",\\\"@subscriptionId\\\"],[[32,1],[32,0,[\\\"subscriptionId\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center flex-wrap gap-4 pl-6 reporting__filters-container\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"reporting/flexible/filter-bar/filter-bar\\\",[],[[\\\"@range\\\",\\\"@updateRange\\\",\\\"@barFilters\\\",\\\"@conversationCustomAttributes\\\",\\\"@conversationAttributeDescriptors\\\",\\\"@onFiltersChanged\\\",\\\"@onFiltersCleared\\\",\\\"@analyticsObject\\\"],[[32,0,[\\\"range\\\"]],[32,0,[\\\"updateRange\\\"]],[30,[36,3],[[30,[36,0],null,[[\\\"teammatesAssigned\\\",\\\"teamsAssigned\\\",\\\"teammatesParticipated\\\",\\\"teamsParticipated\\\",\\\"continents\\\",\\\"countries\\\",\\\"channels\\\",\\\"conversationTypes\\\",\\\"scopingTagIds\\\"],[[32,0,[\\\"teammatesAssigned\\\"]],[32,0,[\\\"teamsAssigned\\\"]],[32,0,[\\\"teammateId\\\"]],[32,0,[\\\"teamsParticipated\\\"]],[32,0,[\\\"continents\\\"]],[32,0,[\\\"countries\\\"]],[32,0,[\\\"channels\\\"]],[32,0,[\\\"conversationTypes\\\"]],[32,0,[\\\"scopingTagIds\\\"]]]]],[30,[36,2],[[32,0,[\\\"settings\\\",\\\"allowToExcludeBotInbox\\\"]],[30,[36,0],null,[[\\\"botInboxTime\\\"],[[32,0,[\\\"botInboxTime\\\"]]]]]],null]],null],[32,0,[\\\"customAttributes\\\"]],[32,0,[\\\"conversationAttributeDescriptors\\\"]],[32,0,[\\\"filterBarSelectionChanged\\\"]],[32,0,[\\\"filterBarCleared\\\"]],[32,0,[\\\"reportName\\\"]]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"reporting/layout/report-content\\\",[],[[\\\"@timezone\\\"],[[32,0,[\\\"app\\\",\\\"timezone\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/flexible/chart\\\",[],[[\\\"@title\\\",\\\"@id\\\",\\\"@chartComponent\\\",\\\"@dataConfig\\\",\\\"@filters\\\",\\\"@dashboard\\\",\\\"@range\\\",\\\"@persistentDataConfig\\\",\\\"@viewConfig\\\"],[\\\"response time\\\",\\\"response-time-counter\\\",\\\"reporting/flexible/comparison-counter\\\",[32,0,[\\\"counterDefaultConfigs\\\",\\\"responseTimeCounter\\\",\\\"dataConfig\\\"]],[32,0,[\\\"filters\\\"]],[32,1],[32,0,[\\\"rangeParams\\\"]],[30,[36,4],[[32,0,[\\\"model\\\",\\\"dataConfigs\\\"]],\\\"response-time-counter\\\"],null],[32,0,[\\\"counterDefaultConfigs\\\",\\\"responseTimeCounter\\\",\\\"viewConfig\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/flexible/chart\\\",[],[[\\\"@title\\\",\\\"@id\\\",\\\"@chartComponent\\\",\\\"@dataConfig\\\",\\\"@filters\\\",\\\"@dashboard\\\",\\\"@range\\\",\\\"@persistentDataConfig\\\",\\\"@viewConfig\\\"],[\\\"first response time\\\",\\\"first-response-time-counter\\\",\\\"reporting/flexible/comparison-counter\\\",[32,0,[\\\"counterDefaultConfigs\\\",\\\"firstResponseTimeCounter\\\",\\\"dataConfig\\\"]],[32,0,[\\\"filters\\\"]],[32,1],[32,0,[\\\"rangeParams\\\"]],[30,[36,4],[[32,0,[\\\"model\\\",\\\"dataConfigs\\\"]],\\\"first-response-time-counter\\\"],null],[32,0,[\\\"counterDefaultConfigs\\\",\\\"firstResponseTimeCounter\\\",\\\"viewConfig\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/flexible/chart\\\",[],[[\\\"@title\\\",\\\"@id\\\",\\\"@chartComponent\\\",\\\"@dataConfig\\\",\\\"@filters\\\",\\\"@dashboard\\\",\\\"@range\\\",\\\"@persistentDataConfig\\\",\\\"@viewConfig\\\"],[\\\"time to close\\\",\\\"time-to-close-counter\\\",\\\"reporting/flexible/comparison-counter\\\",[32,0,[\\\"counterDefaultConfigs\\\",\\\"timeToCloseCounter\\\",\\\"dataConfig\\\"]],[32,0,[\\\"filters\\\"]],[32,1],[32,0,[\\\"rangeParams\\\"]],[30,[36,4],[[32,0,[\\\"model\\\",\\\"dataConfigs\\\"]],\\\"time-to-close-counter\\\"],null],[32,0,[\\\"counterDefaultConfigs\\\",\\\"timeToCloseCounter\\\",\\\"viewConfig\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"reporting/flexible/chart\\\",[],[[\\\"@title\\\",\\\"@id\\\",\\\"@chartComponent\\\",\\\"@dataConfig\\\",\\\"@filters\\\",\\\"@dashboard\\\",\\\"@range\\\",\\\"@persistentDataConfig\\\",\\\"@viewConfig\\\"],[\\\"response time\\\",\\\"response-time\\\",\\\"reporting/flexible/columnchart\\\",[32,0,[\\\"responseTimeConfig\\\",\\\"dataConfig\\\"]],[32,0,[\\\"filters\\\"]],[32,1],[32,0,[\\\"rangeParams\\\"]],[30,[36,4],[[32,0,[\\\"model\\\",\\\"dataConfigs\\\"]],\\\"response-time\\\"],null],[32,0,[\\\"responseTimeConfig\\\",\\\"viewConfig\\\"]]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/flexible/chart\\\",[],[[\\\"@title\\\",\\\"@id\\\",\\\"@chartComponent\\\",\\\"@dataConfig\\\",\\\"@filters\\\",\\\"@range\\\",\\\"@dashboard\\\",\\\"@width\\\",\\\"@persistentDataConfig\\\",\\\"@viewConfig\\\"],[\\\"first response time\\\",\\\"first-response-time\\\",\\\"reporting/flexible/columnchart\\\",[32,0,[\\\"columnChartConfigs\\\",\\\"firstResponseTime\\\",\\\"dataConfig\\\"]],[32,0,[\\\"filters\\\"]],[32,0,[\\\"rangeParams\\\"]],[32,1],\\\"small\\\",[30,[36,4],[[32,0,[\\\"model\\\",\\\"dataConfigs\\\"]],\\\"first-response-time\\\"],null],[32,0,[\\\"columnChartConfigs\\\",\\\"firstResponseTime\\\",\\\"viewConfig\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/flexible/chart\\\",[],[[\\\"@title\\\",\\\"@id\\\",\\\"@chartComponent\\\",\\\"@dataConfig\\\",\\\"@viewConfig\\\",\\\"@filters\\\",\\\"@dashboard\\\",\\\"@range\\\",\\\"@width\\\"],[\\\"first response time breakdown\\\",\\\"first-response-time-breakdown\\\",\\\"reporting/flexible/bucket-range-table\\\",[32,0,[\\\"columnChartConfigs\\\",\\\"firstResponseTimeBreakdown\\\",\\\"dataConfig\\\"]],[32,0,[\\\"columnChartConfigs\\\",\\\"firstResponseTimeBreakdown\\\",\\\"viewConfig\\\"]],[32,0,[\\\"filters\\\"]],[32,1],[32,0,[\\\"rangeParams\\\"]],\\\"small\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/flexible/chart\\\",[],[[\\\"@title\\\",\\\"@id\\\",\\\"@chartComponent\\\",\\\"@dataConfig\\\",\\\"@filters\\\",\\\"@range\\\",\\\"@dashboard\\\",\\\"@width\\\",\\\"@persistentDataConfig\\\",\\\"@viewConfig\\\"],[\\\"time to close\\\",\\\"time-to-close\\\",\\\"reporting/flexible/columnchart\\\",[32,0,[\\\"columnChartConfigs\\\",\\\"timeToClose\\\",\\\"dataConfig\\\"]],[32,0,[\\\"filters\\\"]],[32,0,[\\\"rangeParams\\\"]],[32,1],\\\"small\\\",[30,[36,4],[[32,0,[\\\"model\\\",\\\"dataConfigs\\\"]],\\\"time-to-close\\\"],null],[32,0,[\\\"columnChartConfigs\\\",\\\"timeToClose\\\",\\\"viewConfig\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/flexible/chart\\\",[],[[\\\"@title\\\",\\\"@id\\\",\\\"@chartComponent\\\",\\\"@dataConfig\\\",\\\"@viewConfig\\\",\\\"@filters\\\",\\\"@dashboard\\\",\\\"@range\\\",\\\"@width\\\"],[\\\"time to close breakdown\\\",\\\"time-to-close-breakdown\\\",\\\"reporting/flexible/bucket-range-table\\\",[32,0,[\\\"columnChartConfigs\\\",\\\"timeToCloseBreakdown\\\",\\\"dataConfig\\\"]],[32,0,[\\\"columnChartConfigs\\\",\\\"timeToCloseBreakdown\\\",\\\"viewConfig\\\"]],[32,0,[\\\"filters\\\"]],[32,1],[32,0,[\\\"rangeParams\\\"]],\\\"small\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"inbox/reporting/responsiveness-heatmap\\\",[],[[\\\"@filters\\\",\\\"@range\\\",\\\"@dashboard\\\",\\\"@excludeOooHours\\\"],[[32,0,[\\\"filters\\\"]],[32,0,[\\\"rangeParams\\\"]],[32,1],[32,0,[\\\"model\\\",\\\"settings\\\",\\\"reportingExcludeOooHours\\\"]]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"hash\\\",\\\"did-insert\\\",\\\"if\\\",\\\"merge-objects\\\",\\\"get\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/customer-support/responsiveness.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"omIMVOJi\",\"block\":\"{\\\"symbols\\\":[\\\"title\\\",\\\"tooltipText\\\",\\\"no-data\\\",\\\"banner\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-6 flex-shrink-0 ml-8 mr-8 mt-6 mb-6\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"common/hamburger-menu\\\",[],[[\\\"@includePadding\\\",\\\"@title\\\"],[false,\\\"SLAs\\\"]],null],[2,\\\"\\\\n\\\"],[6,[37,0],[[30,[36,2],[[32,0,[\\\"hasSLAsAndRules\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"pulse/discovery-banner\\\",[[24,0,\\\"ml-6\\\"]],[[\\\"@heading\\\",\\\"@description\\\",\\\"@dismissalType\\\",\\\"@dismissalKey\\\",\\\"@dismissalService\\\"],[\\\"Set up an SLA rule\\\",\\\"Set targets for responsiveness with SLAs. SLA rules automatically apply SLAs to inbound conversations.\\\",\\\"close-icon\\\",[31,[\\\"inbox-sla-reporting-\\\",[32,0,[\\\"claimBannerVariation\\\"]]]],[30,[36,6],[\\\"banner-dismissal-service\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,4,[\\\"Button\\\"]],[[4,[38,7],[\\\"click\\\",[30,[36,3],[\\\"apps.app.inbox.automation.sla\\\"],null]],null]],[[\\\"@label\\\"],[\\\"Create SLA rule\\\"]],null],[2,\\\"\\\\n      \\\"],[8,[32,4,[\\\"HelpLink\\\"]],[],[[\\\"@type\\\",\\\"@title\\\",\\\"@href\\\"],[\\\"article\\\",\\\"How to set up SLAs?\\\",\\\"https://www.intercom.com/help/support-and-retain-customers/hit-your-service-targets-with-sla-rules\\\"]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center flex-wrap gap-2 pl-6\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"reporting/flexible/filter-bar/filter-bar\\\",[],[[\\\"@range\\\",\\\"@updateRange\\\",\\\"@barFilters\\\",\\\"@conversationCustomAttributes\\\",\\\"@conversationAttributeDescriptors\\\",\\\"@onFiltersChanged\\\",\\\"@analyticsObject\\\"],[[32,0,[\\\"range\\\"]],[30,[36,8],[[32,0],\\\"updateRange\\\"],null],[30,[36,9],[[30,[36,4],null,[[\\\"scopingTagIds\\\",\\\"teammatesAssigned\\\",\\\"channels\\\",\\\"continents\\\",\\\"countries\\\",\\\"conversationTypes\\\",\\\"teamsAssigned\\\",\\\"slas\\\",\\\"teammatesParticipated\\\",\\\"teamsParticipated\\\"],[[32,0,[\\\"scopingTagIds\\\"]],[32,0,[\\\"teammatesAssigned\\\"]],[32,0,[\\\"channels\\\"]],[32,0,[\\\"continents\\\"]],[32,0,[\\\"countries\\\"]],[32,0,[\\\"conversationTypes\\\"]],[32,0,[\\\"teamsAssigned\\\"]],[32,0,[\\\"slas\\\"]],[32,0,[\\\"teammateId\\\"]],[32,0,[\\\"teamsParticipated\\\"]]]]]],null],[32,0,[\\\"customAttributes\\\"]],[32,0,[\\\"conversationAttributeDescriptors\\\"]],[32,0,[\\\"filterBarSelectionChanged\\\"]],[32,0,[\\\"reportName\\\"]]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[8,\\\"reporting/layout/report-content\\\",[],[[\\\"@timezone\\\"],[[32,0,[\\\"timezone\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"reporting/element/summary-title\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\"],[\\\"Overall SLA performance\\\",\\\"High-level view of how many conversations are meeting a SLA, and how many are breaching it.\\\"]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[12],[2,\\\"Hit rate\\\"],[13],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/element/comparison-statistic\\\",[[24,0,\\\"reporting__vertical-divider pt-4\\\"]],[[\\\"@currentValue\\\",\\\"@previousValue\\\",\\\"@range\\\",\\\"@unit\\\",\\\"@statType\\\",\\\"@improvementDirection\\\",\\\"@forceEmpty\\\"],[[32,0,[\\\"signals\\\",\\\"conversationSuccesRate\\\",\\\"value\\\"]],[32,0,[\\\"signals\\\",\\\"conversationSuccesRate\\\",\\\"previousValue\\\"]],[32,0,[\\\"range\\\"]],\\\"percent\\\",\\\"%\\\",\\\"increasing\\\",[30,[36,2],[[32,0,[\\\"hasSLAsSetup\\\"]]],null]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1 u__padl__50\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[12],[2,\\\"Conversations with SLA\\\"],[13],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/element/comparison-statistic\\\",[[24,0,\\\"pt-4 reporting__vertical-divider\\\"]],[[\\\"@currentValue\\\",\\\"@previousValue\\\",\\\"@range\\\",\\\"@improvementDirection\\\",\\\"@forceEmpty\\\"],[[32,0,[\\\"signals\\\",\\\"slaConversations\\\",\\\"value\\\"]],[32,0,[\\\"signals\\\",\\\"slaConversations\\\",\\\"previousValue\\\"]],[32,0,[\\\"range\\\"]],\\\"increasing\\\",[30,[36,2],[[32,0,[\\\"hasSLAsSetup\\\"]]],null]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1 u__padl__50\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[12],[2,\\\"Misses\\\"],[13],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/element/comparison-statistic\\\",[[24,0,\\\"pt-4\\\"]],[[\\\"@currentValue\\\",\\\"@previousValue\\\",\\\"@range\\\",\\\"@improvementDirection\\\",\\\"@forceEmpty\\\"],[[32,0,[\\\"signals\\\",\\\"conversationBreaches\\\",\\\"value\\\"]],[32,0,[\\\"signals\\\",\\\"conversationBreaches\\\",\\\"previousValue\\\"]],[32,0,[\\\"range\\\"]],\\\"decreasing\\\",[30,[36,2],[[32,0,[\\\"hasSLAsSetup\\\"]]],null]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"reporting/element/summary-title\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\"],[\\\"Performance by target\\\",\\\"Breakdown of how often teammate responses hit the target response times defined in the SLA.\\\"]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[8,\\\"inbox/reporting/sla-target-performance\\\",[],[[\\\"@sla\\\",\\\"@range\\\",\\\"@firstReplyMisses\\\",\\\"@firstReplyTargets\\\",\\\"@nextReplyMisses\\\",\\\"@nextReplyTargets\\\",\\\"@waitTimeByType\\\",\\\"@forceEmpty\\\",\\\"@showEmptyState\\\"],[[32,0,[\\\"selectedConversationSLA\\\"]],[32,0,[\\\"range\\\"]],[32,0,[\\\"signals\\\",\\\"firstReplyMisses\\\"]],[32,0,[\\\"signals\\\",\\\"firstReplyTargets\\\"]],[32,0,[\\\"signals\\\",\\\"nextReplyMisses\\\"]],[32,0,[\\\"signals\\\",\\\"nextReplyTargets\\\"]],[32,0,[\\\"signals\\\",\\\"waitTimeByTarget\\\"]],[30,[36,2],[[32,0,[\\\"hasSLAsSetup\\\"]]],null],[30,[36,2],[[32,0,[\\\"selectedConversationSLA\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\",\\\"@description\\\"],[\\\"chart\\\",\\\"No data to display\\\",\\\"Filter by a SLA to see data\\\"]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"reporting/element/summary-title\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\"],[\\\"Targets hit over time\\\",\\\"Percentage of teammate responses that hit their targets.\\\"]],null],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"hasSLAsSetup\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"selectedConversationSLA\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"reporting/element/legend\\\",[],[[\\\"@list\\\"],[[30,[36,5],[[30,[36,1],[[30,[36,0],[[32,0,[\\\"selectedConversationSLA\\\",\\\"firstReplyTimeInSeconds\\\"]],[30,[36,4],null,[[\\\"label\\\",\\\"color\\\"],[\\\"First response time\\\",\\\"vis-green-40\\\"]]]],null],[30,[36,0],[[32,0,[\\\"selectedConversationSLA\\\",\\\"nextReplyTimeInSeconds\\\"]],[30,[36,4],null,[[\\\"label\\\",\\\"color\\\"],[\\\"Next response time\\\",\\\"vis-blue-40\\\"]]]],null]],null]],null]]],null],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/line-chart-with-tooltips\\\",[],[[\\\"@chartType\\\",\\\"@hoverTextUnit\\\",\\\"@tooltipText\\\",\\\"@tooltipComponent\\\",\\\"@signal\\\",\\\"@interpolateZeroCounts\\\",\\\"@formatYAxis\\\",\\\"@compressYAxis\\\",\\\"@range\\\",\\\"@width\\\",\\\"@signalNameColorIndex\\\"],[\\\"line\\\",\\\"percent\\\",\\\"of first responses hit their target\\\",\\\"inbox/reporting/target-hits-tooltip\\\",[32,0,[\\\"signals\\\",\\\"hitsOverTime\\\"]],true,\\\"percent\\\",true,[32,0,[\\\"range\\\"]],900,[30,[36,4],null,[[\\\"nextReplyTime\\\",\\\"firstReplyTime\\\"],[0,7]]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\",\\\"@description\\\"],[\\\"chart\\\",\\\"No data to display\\\",\\\"Filter by a SLA to see data\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"reporting/empty-state/no-data-cta\\\",[],[[\\\"@body\\\",\\\"@title\\\",\\\"@icon\\\",\\\"@iconAppearance\\\"],[\\\"Set targets for responsiveness with SLAs. SLA rules automatically apply SLAs to inbound conversations.\\\",\\\"No SLA rules yet\\\",\\\"delivery-window\\\",\\\"empty\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,3,[\\\"cta\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\"],[\\\"Create SLA rule\\\",[30,[36,3],[\\\"apps.app.inbox.automation.sla\\\"],null]]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,10],[\\\"Period with the most missed targets\\\",\\\"The number of responses that missed their targets, grouped by time and day of the week that the misses occurred.\\\"],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"selectedConversationSLA\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"reporting/chart/heatmap\\\",[],[[\\\"@signal\\\",\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@emptyStateString\\\",\\\"@unit\\\",\\\"@scaleStartText\\\",\\\"@scaleEndText\\\",\\\"@labelText\\\",\\\"@chartTooltipComponent\\\",\\\"@colors\\\",\\\"@forceEmpty\\\"],[[32,0,[\\\"signals\\\",\\\"combinedBreachesHeatmap\\\"]],[32,1],[32,2],[30,[36,0],[[32,0,[\\\"hasSLAsSetup\\\"]],\\\"No missed targets\\\",\\\"-\\\"],null],\\\"misses\\\",\\\"Least misses\\\",\\\"Most misses\\\",\\\"Most misses\\\",\\\"inbox/reporting/target-misses-tooltip\\\",[30,[36,1],[\\\"vis-magenta-80\\\",\\\"vis-magenta-70\\\",\\\"vis-magenta-60\\\",\\\"vis-magenta-40\\\",\\\"vis-magenta-30\\\"],null],[30,[36,2],[[32,0,[\\\"hasSLAsSetup\\\"]]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"reporting/element/summary-title\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\"],[[32,1],[32,2]]],null],[2,\\\"\\\\n        \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\",\\\"@description\\\"],[\\\"chart\\\",\\\"No data to display\\\",\\\"Filter by a SLA to see data\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1,2]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"array\\\",\\\"not\\\",\\\"transition-to\\\",\\\"hash\\\",\\\"compact\\\",\\\"service\\\",\\\"on\\\",\\\"action\\\",\\\"merge-objects\\\",\\\"let\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/customer-support/slas.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"zl8lkLV2\",\"block\":\"{\\\"symbols\\\":[\\\"dashboard\\\"],\\\"statements\\\":[[8,\\\"reporting/flexible/dashboard\\\",[],[[\\\"@dashboardId\\\",\\\"@dashboardName\\\",\\\"@paywallFeatureKey\\\",\\\"@filters\\\",\\\"@range\\\"],[[32,0,[\\\"dashboardIdentifier\\\"]],[32,0,[\\\"dashboardName\\\"]],\\\"teams_dashboard\\\",[32,0,[\\\"filters\\\"]],[32,0,[\\\"range\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[11,\\\"div\\\"],[24,0,\\\"flex flex-col gap-6 flex-shrink-0 ml-8 mr-8 mt-6 mb-4\\\"],[4,[38,0],[[32,0,[\\\"trackPageView\\\"]]],null],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"common/hamburger-menu\\\",[],[[\\\"@includePadding\\\",\\\"@title\\\"],[false,\\\"Team performance\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center flex-wrap gap-4 pl-6 reporting__filters-container\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"reporting/flexible/filter-bar/filter-bar\\\",[],[[\\\"@range\\\",\\\"@updateRange\\\",\\\"@barFilters\\\",\\\"@conversationCustomAttributes\\\",\\\"@conversationAttributeDescriptors\\\",\\\"@onFiltersChanged\\\",\\\"@analyticsObject\\\"],[[32,0,[\\\"range\\\"]],[32,0,[\\\"updateRange\\\"]],[30,[36,3],[[30,[36,1],null,[[\\\"teammatesAssigned\\\",\\\"teamsAssigned\\\",\\\"teammatesParticipated\\\",\\\"teamsParticipated\\\",\\\"continents\\\",\\\"countries\\\",\\\"channels\\\",\\\"conversationTypes\\\",\\\"scopingTagIds\\\"],[[32,0,[\\\"teammatesAssigned\\\"]],[32,0,[\\\"teamsAssigned\\\"]],[32,0,[\\\"teammateId\\\"]],[32,0,[\\\"teamsParticipated\\\"]],[32,0,[\\\"continents\\\"]],[32,0,[\\\"countries\\\"]],[32,0,[\\\"channels\\\"]],[32,0,[\\\"conversationTypes\\\"]],[32,0,[\\\"scopingTagIds\\\"]]]]],[30,[36,2],[[32,0,[\\\"settings\\\",\\\"allowToExcludeBotInbox\\\"]],[30,[36,1],null,[[\\\"botInboxTime\\\"],[[32,0,[\\\"botInboxTime\\\"]]]]]],null]],null],[32,0,[\\\"customAttributes\\\"]],[32,0,[\\\"conversationAttributeDescriptors\\\"]],[32,0,[\\\"filterBarSelectionChanged\\\"]],[32,0,[\\\"reportName\\\"]]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"reporting/layout/report-content\\\",[],[[\\\"@timezone\\\"],[[32,0,[\\\"app\\\",\\\"timezone\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/team-performance/conversations-assigned-team-columnchart\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@dashboard\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,1]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/team-performance/first-response-by-team-linechart\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@persistentDataConfig\\\",\\\"@dashboard\\\",\\\"@settings\\\",\\\"@botInboxTime\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[30,[36,4],[[32,0,[\\\"dataConfigs\\\"]],\\\"team-first-response\\\"],null],[32,1],[32,0,[\\\"model\\\",\\\"settings\\\"]],[32,0,[\\\"botInboxTime\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"reporting/reports/team-performance/teammate-table\\\",[],[[\\\"@range\\\",\\\"@filters\\\",\\\"@rawFilters\\\",\\\"@conversationAttributeDescriptors\\\",\\\"@analyticsObject\\\",\\\"@dashboard\\\",\\\"@settings\\\",\\\"@botInboxTime\\\"],[[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,0,[\\\"rawFilters\\\"]],[32,0,[\\\"conversationAttributeDescriptors\\\"]],[32,0,[\\\"reportName\\\"]],[32,1],[32,0,[\\\"model\\\",\\\"settings\\\"]],[32,0,[\\\"botInboxTime\\\"]]]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"did-insert\\\",\\\"hash\\\",\\\"if\\\",\\\"merge-objects\\\",\\\"get\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/customer-support/team-performance.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"m8XHHM9K\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/inbox.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"ytLHueaN\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\",\\\"report\\\",\\\"report\\\",\\\"report\\\",\\\"report\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-shrink-0 ml-8 mr-8 mt-6 mb-6\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"linksEnabled\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-6 mb-8\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"common/hamburger-menu\\\",[],[[\\\"@includePadding\\\",\\\"@title\\\"],[false,\\\"Summary report\\\"]],null],[2,\\\"\\\\n      \\\"],[8,\\\"inbox/summary-report-navigation\\\",[[24,0,\\\"pl-6\\\"]],[[],[]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center flex-wrap gap-2 pl-6\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"reporting/date-range-filter\\\",[],[[\\\"@scrollParentSelector\\\",\\\"@disabled\\\",\\\"@range\\\",\\\"@timezone\\\",\\\"@updateRange\\\"],[\\\".js__main-container\\\",false,[32,0,[\\\"range\\\"]],[32,0,[\\\"timezone\\\"]],[30,[36,1],[[32,0],\\\"updateRange\\\"],null]]],null],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"reporting/tag-filter\\\",[],[[\\\"@noFilterDescriptor\\\",\\\"@rawTags\\\",\\\"@selected\\\",\\\"@setSelected\\\",\\\"@analyticsObject\\\"],[\\\"All tags\\\",[32,0,[\\\"app\\\",\\\"tags\\\"]],[32,0,[\\\"tag\\\"]],[30,[36,1],[[32,0],\\\"changeTag\\\"],null],\\\"summary_report\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"revenue_reports\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"Splash\\\"]],[],[[\\\"@title\\\",\\\"@description\\\",\\\"@imgSrc\\\"],[\\\"See how Intercom is influencing your sales\\\",\\\"Get a clear view of trends and changes in your revenue, leads, conversions, and more.\\\",\\\"/assets/images/reporting/sales-summary-paywall.png\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"reporting/layout/report-content\\\",[],[[\\\"@timezone\\\"],[[32,0,[\\\"timezone\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"reporting/element/summary-title\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\"],[\\\"Revenue influenced by Intercom\\\",\\\"A summary of how Intercom has influenced your sales performance from leads and emails captured through to Opportunities created and Closed won from Salesforce.\\\"]],null],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"reporting__report-tabs layout__box o__flexes-to-1 o__has-columns u__padt__20\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"reporting/report-tab\\\",[],[[\\\"@route\\\"],[\\\"apps.app.reports.inbox.summary.sales.opportunities\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"reporting/funnel-step\\\",[],[[\\\"@title\\\",\\\"@currentValue\\\",\\\"@totalValue\\\"],[\\\"Opportunities\\\",[32,0,[\\\"signals\\\",\\\"opportunityInfluenced\\\",\\\"originalValue\\\"]],[32,0,[\\\"signals\\\",\\\"opportunityCreated\\\",\\\"originalValue\\\"]]]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[8,\\\"reporting/report-tab\\\",[],[[\\\"@route\\\"],[\\\"apps.app.reports.inbox.summary.sales.pipeline\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"reporting/funnel-step\\\",[],[[\\\"@format\\\",\\\"@title\\\",\\\"@currentValue\\\",\\\"@totalValue\\\"],[\\\"dollars\\\",\\\"Pipeline (USD)\\\",[32,0,[\\\"signals\\\",\\\"opportunityInfluencedAmount\\\",\\\"originalValue\\\"]],[32,0,[\\\"signals\\\",\\\"opportunityCreatedAmount\\\",\\\"originalValue\\\"]]]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[8,\\\"reporting/report-tab\\\",[],[[\\\"@route\\\"],[\\\"apps.app.reports.inbox.summary.sales.closed-won\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"reporting/funnel-step\\\",[],[[\\\"@format\\\",\\\"@title\\\",\\\"@currentValue\\\",\\\"@totalValue\\\"],[\\\"dollars\\\",\\\"Closed won (USD)\\\",[32,0,[\\\"signals\\\",\\\"closedWonInfluencedAmount\\\",\\\"originalValue\\\"]],[32,0,[\\\"signals\\\",\\\"closedWonAmount\\\",\\\"originalValue\\\"]]]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[1,[30,[36,3],[[30,[36,2],null,null]],null]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-6\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@filters\\\",\\\"@range\\\",\\\"@unit\\\",\\\"@signalType\\\"],[[32,0,[\\\"queries\\\",\\\"newLeads\\\"]],[32,0,[\\\"fetchFilters\\\",\\\"newLeads\\\"]],[32,0,[\\\"range\\\"]],\\\"lead\\\",\\\"comparison\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"reporting/chart/bar\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@size\\\",\\\"@hoverTextUnit\\\",\\\"@improvementDirection\\\",\\\"@signal\\\",\\\"@color\\\",\\\"@range\\\"],[\\\"New leads from Messenger\\\",\\\"Number of people who interacted with Messenger for the first time, during the current period. Note that each lead may have multiple conversations, but will only be counted once.\\\",\\\"small\\\",\\\"form\\\",\\\"increasing\\\",[32,5],\\\"vis-yellow-50\\\",[32,0,[\\\"range\\\"]]]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@filters\\\",\\\"@range\\\",\\\"@unit\\\",\\\"@signalType\\\"],[[32,0,[\\\"queries\\\",\\\"emailCaptured\\\"]],[32,0,[\\\"filters\\\"]],[32,0,[\\\"range\\\"]],\\\"email\\\",\\\"comparison\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"reporting/chart/bar\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@size\\\",\\\"@hoverTextUnit\\\",\\\"@improvementDirection\\\",\\\"@signal\\\",\\\"@color\\\",\\\"@range\\\"],[\\\"Emails captured\\\",\\\"Emails captured through Intercom\\\",\\\"small\\\",\\\"lead\\\",\\\"increasing\\\",[32,4],\\\"vis-magenta-40\\\",[32,0,[\\\"range\\\"]]]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\\n      \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\\n        \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@filters\\\",\\\"@range\\\",\\\"@signalType\\\"],[[32,0,[\\\"queries\\\",\\\"vamROI\\\"]],[32,0,[\\\"filters\\\"]],[32,0,[\\\"range\\\"]],\\\"tabular\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"inbox/reporting/vam-performance-table\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@dropdownLabel\\\",\\\"@signal\\\",\\\"@app\\\"],[\\\"Conversions by visitor message\\\",[30,[36,4],[[32,0,[\\\"settings\\\"]],\\\"A summary of top performing visitor auto messages in a sales capacity. Filtering is done based on the time the first user message was sent.\\\"],null],\\\"Show messages\\\",[32,3],[32,0,[\\\"app\\\"]]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n      \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@filters\\\",\\\"@range\\\",\\\"@signalType\\\"],[[32,0,[\\\"queries\\\",\\\"messageROI\\\"]],[32,0,[\\\"filters\\\"]],[32,0,[\\\"range\\\"]],\\\"tabular\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"inbox/reporting/url-performance-table\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@signal\\\",\\\"@dropdownLabel\\\"],[\\\"Conversion by page\\\",[30,[36,4],[[32,0,[\\\"settings\\\"]],\\\"A summary of top performing page URLs in a sales capacity where a visitor has engaged with the Intercom messenger. Filtering is done based on the time the first user message was sent.\\\"],null],[32,2],\\\"Top performing pages\\\"]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"action\\\",\\\"-outlet\\\",\\\"component\\\",\\\"include-office-hours-tooltip\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/inbox/summary/sales.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"7rI00Riu\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"app\\\",\\\"hasSalesforceIntegration\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"reporting/pipeline-chart\\\",[],[[\\\"@signal\\\",\\\"@unitDescriptor\\\",\\\"@currency\\\",\\\"@totalValue\\\",\\\"@partValue\\\"],[[32,0,[\\\"signals\\\",\\\"closedWonChart\\\"]],\\\"closed won value\\\",true,[32,0,[\\\"signals\\\",\\\"closedWonAmount\\\",\\\"originalValue\\\"]],[32,0,[\\\"signals\\\",\\\"closedWonInfluencedAmount\\\",\\\"originalValue\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"inbox/reporting/empty-state/salesforce\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/inbox/summary/sales/closed-won.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"pQD0SYo6\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"app\\\",\\\"hasSalesforceIntegration\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"reporting/pipeline-chart\\\",[],[[\\\"@signal\\\",\\\"@unitDescriptor\\\",\\\"@totalValue\\\",\\\"@partValue\\\"],[[32,0,[\\\"signals\\\",\\\"opportunitiesChart\\\"]],\\\"opportunites\\\",[32,0,[\\\"signals\\\",\\\"opportunityCreated\\\",\\\"originalValue\\\"]],[32,0,[\\\"signals\\\",\\\"opportunityInfluenced\\\",\\\"originalValue\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"inbox/reporting/empty-state/salesforce\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/inbox/summary/sales/opportunities.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"fpquNamp\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"app\\\",\\\"hasSalesforceIntegration\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"reporting/pipeline-chart\\\",[],[[\\\"@signal\\\",\\\"@unitDescriptor\\\",\\\"@currency\\\",\\\"@totalValue\\\",\\\"@partValue\\\"],[[32,0,[\\\"signals\\\",\\\"pipelineChart\\\"]],\\\"pipeline value\\\",true,[32,0,[\\\"signals\\\",\\\"opportunityCreatedAmount\\\",\\\"originalValue\\\"]],[32,0,[\\\"signals\\\",\\\"opportunityInfluencedAmount\\\",\\\"originalValue\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"inbox/reporting/empty-state/salesforce\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/inbox/summary/sales/pipeline.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"oSD1BiMR\",\"block\":\"{\\\"symbols\\\":[\\\"report\\\",\\\"report\\\",\\\"report\\\",\\\"report\\\",\\\"report\\\",\\\"report\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-6 flex-shrink-0 ml-8 mr-8 mt-6 mb-6\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"common/hamburger-menu\\\",[],[[\\\"@includePadding\\\",\\\"@title\\\"],[false,[30,[36,4],[[30,[36,3],[\\\"canUseNewReportingIa\\\"],null],\\\"Custom Bots\\\",\\\"Custom Bots report\\\"],null]]],null],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center flex-wrap gap-2 pl-6\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"reporting/date-range-filter\\\",[],[[\\\"@scrollParentSelector\\\",\\\"@disabled\\\",\\\"@range\\\",\\\"@timezone\\\",\\\"@updateRange\\\"],[\\\".js__main-container\\\",false,[32,0,[\\\"range\\\"]],[32,0,[\\\"timezone\\\"]],[30,[36,5],[[32,0],\\\"updateRange\\\"],null]]],null],[2,\\\"\\\\n    \\\"],[8,\\\"ic-select\\\",[],[[\\\"@noFilterDescriptor\\\",\\\"@items\\\",\\\"@filterPlaceholder\\\",\\\"@hasFilter\\\",\\\"@onSelectItem\\\"],[\\\"All bots\\\",[32,0,[\\\"botsDropdown\\\"]],\\\"Filter by bot\\\",true,[30,[36,5],[[32,0],\\\"updateBot\\\"],null]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[8,\\\"reporting/layout/report-content\\\",[],[[\\\"@timezone\\\"],[[32,0,[\\\"app\\\",\\\"timezone\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"reporting/element/summary-title\\\",[],[[\\\"@title\\\"],[\\\"Engagement summary\\\"]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"reporting__report-tabs layout__box o__flexes-to-1 o__has-columns u__padt__20\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"reporting/report-tab\\\",[],[[\\\"@analyticsObject\\\",\\\"@route\\\"],[\\\"sent_tab\\\",[30,[36,6],[[32,0,[\\\"baseCustomBotsRoute\\\"]],\\\".sent\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"reporting/funnel-step\\\",[],[[\\\"@title\\\",\\\"@currentValue\\\",\\\"@previousValue\\\"],[\\\"Sent\\\",[32,0,[\\\"signals\\\",\\\"conversationsSent\\\",\\\"originalValue\\\"]],[32,0,[\\\"signals\\\",\\\"conversationsSent\\\",\\\"previousValue\\\"]]]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[8,\\\"reporting/funnel-percentage\\\",[],[[\\\"@active\\\",\\\"@from\\\",\\\"@to\\\"],[true,[32,0,[\\\"signals\\\",\\\"conversationsSent\\\",\\\"originalValue\\\"]],[32,0,[\\\"signals\\\",\\\"conversationsEngaged\\\",\\\"originalValue\\\"]]]],null],[2,\\\"\\\\n      \\\"],[8,\\\"reporting/report-tab\\\",[],[[\\\"@analyticsObject\\\",\\\"@route\\\"],[\\\"engaged_tab\\\",[30,[36,6],[[32,0,[\\\"baseCustomBotsRoute\\\"]],\\\".engaged\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"reporting/funnel-step\\\",[],[[\\\"@title\\\",\\\"@currentValue\\\",\\\"@previousValue\\\"],[\\\"Engaged\\\",[32,0,[\\\"signals\\\",\\\"conversationsEngaged\\\",\\\"originalValue\\\"]],[32,0,[\\\"signals\\\",\\\"conversationsEngaged\\\",\\\"previousValue\\\"]]]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[8,\\\"reporting/funnel-percentage\\\",[],[[\\\"@active\\\",\\\"@from\\\",\\\"@to\\\"],[true,[32,0,[\\\"signals\\\",\\\"conversationsEngaged\\\",\\\"originalValue\\\"]],[32,0,[\\\"signals\\\",\\\"conversationsCompleted\\\",\\\"originalValue\\\"]]]],null],[2,\\\"\\\\n      \\\"],[8,\\\"reporting/report-tab\\\",[],[[\\\"@analyticsObject\\\",\\\"@route\\\"],[\\\"completed_tab\\\",[30,[36,6],[[32,0,[\\\"baseCustomBotsRoute\\\"]],\\\".completed\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"reporting/funnel-step\\\",[],[[\\\"@title\\\",\\\"@currentValue\\\",\\\"@previousValue\\\"],[\\\"Completed\\\",[32,0,[\\\"signals\\\",\\\"conversationsCompleted\\\",\\\"originalValue\\\"]],[32,0,[\\\"signals\\\",\\\"conversationsCompleted\\\",\\\"previousValue\\\"]]]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,4],[[32,0,[\\\"hasCustomBots\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[1,[30,[36,1],[[30,[36,2],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"reporting/empty-state/no-data-cta\\\",[],[[\\\"@title\\\",\\\"@body\\\"],[\\\"No Custom Bots yet\\\",\\\"Data will appear in this report shortly after you have set your first Custom Bot live\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"custom-bots/bot-auto-message/new-buttons/dropdown\\\",[],[[\\\"@label\\\",\\\"@templates\\\",\\\"@createdFrom\\\"],[\\\"Create your first bot\\\",[32,0,[\\\"botTemplates\\\"]],\\\"reporting\\\"]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n\\\"],[6,[37,7],[[32,0,[\\\"isOnCustomerSupportReports\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@filters\\\",\\\"@range\\\",\\\"@unit\\\",\\\"@signalType\\\"],[[32,0,[\\\"queries\\\",\\\"emailCaptured\\\"]],[32,0,[\\\"filters\\\"]],[32,0,[\\\"range\\\"]],\\\"lead\\\",\\\"comparison\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"reporting/chart/bar\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@hoverTextUnit\\\",\\\"@improvementDirection\\\",\\\"@signal\\\",\\\"@color\\\",\\\"@range\\\",\\\"@size\\\"],[\\\"Emails collected\\\",\\\"The sum of all emails provided by visitors when prompted in this period.\\\",\\\"form\\\",\\\"increasing\\\",[32,6],\\\"vis-yellow-50\\\",[32,0,[\\\"range\\\"]],\\\"small\\\"]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[6]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@filters\\\",\\\"@range\\\",\\\"@unit\\\",\\\"@signalType\\\"],[[32,0,[\\\"queries\\\",\\\"salesforceLeadCreated\\\"]],[32,0,[\\\"filters\\\"]],[32,0,[\\\"range\\\"]],\\\"user_id\\\",\\\"comparison\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"reporting/chart/bar\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@signal\\\",\\\"@hoverTextUnit\\\",\\\"@improvementDirection\\\",\\\"@color\\\",\\\"@range\\\",\\\"@size\\\",\\\"@forceEmpty\\\",\\\"@forceEmptyComponent\\\"],[\\\"Leads created in Salesforce\\\",\\\"The sum of all leads created in Salesforce using a follow up action in this period.\\\",[32,5],\\\"lead\\\",\\\"increasing\\\",\\\"vis-green-60\\\",[32,0,[\\\"range\\\"]],\\\"small\\\",[30,[36,0],[[32,0,[\\\"apps\\\",\\\"salesforce\\\",\\\"isInstalled\\\"]]],null],[30,[36,1],[\\\"reporting/empty-state/app-required\\\"],[[\\\"appName\\\",\\\"appCode\\\",\\\"subtext\\\"],[\\\"Salesforce\\\",\\\"salesforce-by-intercom\\\",\\\"Add the Salesforce app to allow Operator to track data in Salesforce.\\\"]]]]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@filters\\\",\\\"@range\\\",\\\"@unit\\\",\\\"@signalType\\\"],[[32,0,[\\\"queries\\\",\\\"leadDisqualified\\\"]],[32,0,[\\\"filters\\\"]],[32,0,[\\\"range\\\"]],\\\"lead\\\",\\\"comparison\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"reporting/chart/bar\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@hoverTextUnit\\\",\\\"@improvementDirection\\\",\\\"@signal\\\",\\\"@color\\\",\\\"@range\\\",\\\"@size\\\"],[\\\"Leads disqualified\\\",\\\"The sum of visitors automatically disqualified through any “Send bot message and close conversation” or “Close conversation” follow up action.\\\",\\\"lead\\\",\\\"increasing\\\",[32,4],\\\"vis-magenta-40\\\",[32,0,[\\\"range\\\"]],\\\"small\\\"]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@filters\\\",\\\"@range\\\",\\\"@unit\\\",\\\"@signalType\\\"],[[32,0,[\\\"queries\\\",\\\"meetingBooked\\\"]],[32,0,[\\\"filters\\\"]],[32,0,[\\\"range\\\"]],\\\"teammate_participant_id\\\",\\\"comparison\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"reporting/chart/bar\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@signal\\\",\\\"@hoverTextUnit\\\",\\\"@improvementDirection\\\",\\\"@color\\\",\\\"@range\\\",\\\"@size\\\",\\\"@forceEmpty\\\",\\\"@forceEmptyComponent\\\"],[\\\"Meetings booked\\\",\\\"The sum of all meetings booked with the calendar integration during this period, via the “Send an app” follow up action.\\\",[32,3],\\\"meeting\\\",\\\"increasing\\\",\\\"vis-blue-40\\\",[32,0,[\\\"range\\\"]],\\\"small\\\",[30,[36,0],[[32,0,[\\\"apps\\\",\\\"googleCalendar\\\",\\\"isInstalled\\\"]]],null],[30,[36,1],[\\\"reporting/empty-state/app-required\\\"],[[\\\"subtext\\\",\\\"appName\\\",\\\"appCode\\\"],[\\\"Add the Google Calendar app to allow to schedule meetings.\\\",\\\"Google Calendar\\\",\\\"google-calendar-meetings\\\"]]]]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-4\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@filters\\\",\\\"@range\\\",\\\"@unit\\\",\\\"@signalType\\\"],[[32,0,[\\\"queries\\\",\\\"conversationsAssigned\\\"]],[32,0,[\\\"filters\\\"]],[32,0,[\\\"range\\\"]],\\\"conversation\\\",\\\"comparison\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"reporting/chart/bar\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@hoverTextUnit\\\",\\\"@improvementDirection\\\",\\\"@signal\\\",\\\"@color\\\",\\\"@range\\\",\\\"@size\\\"],[\\\"Conversations assigned\\\",\\\"The sum of all conversations assigned to a team or teammate using the “Assign to” follow up action.\\\",\\\"conversation\\\",\\\"increasing\\\",[32,2],\\\"vis-magenta-40\\\",[32,0,[\\\"range\\\"]],\\\"small\\\"]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@filters\\\",\\\"@range\\\",\\\"@unit\\\",\\\"@signalType\\\"],[[32,0,[\\\"queries\\\",\\\"conversationsParticipatedInByWeekAndHour\\\"]],[32,0,[\\\"filters\\\"]],[32,0,[\\\"range\\\"]],\\\"conversation\\\",\\\"heatmap\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,\\\"reporting/chart/heatmap\\\",[],[[\\\"@signal\\\",\\\"@title\\\",\\\"@emptyStateString\\\",\\\"@titleTooltipText\\\",\\\"@scaleStartText\\\",\\\"@scaleEndText\\\",\\\"@labelText\\\",\\\"@unit\\\",\\\"@colors\\\"],[[32,1],\\\"Busiest period for Custom Bots\\\",\\\"-\\\",\\\"The average day and hour the selected Custom Bot(s) participated in the most conversations over the selected period. Light colors show the quietest hours, darker colors show the busiest.\\\",\\\"Quietest\\\",\\\"Busiest\\\",\\\"Busiest\\\",\\\"conversations participated in\\\",[30,[36,8],[\\\"vis-blue-80\\\",\\\"vis-blue-70\\\",\\\"vis-blue-60\\\",\\\"vis-blue-40\\\",\\\"vis-blue-30\\\"],null]]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"not\\\",\\\"component\\\",\\\"-outlet\\\",\\\"has-feature\\\",\\\"if\\\",\\\"action\\\",\\\"concat\\\",\\\"unless\\\",\\\"array\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/lead-generation/custom-bots.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Yn8rYBvO\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-rows\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"reporting/tab-signal-chart\\\",[],[[\\\"@signal\\\",\\\"@color\\\",\\\"@range\\\"],[[32,0,[\\\"signals\\\",\\\"conversationsCompleted\\\"]],\\\"vis-magenta-40\\\",[32,0,[\\\"range\\\"]]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/lead-generation/custom-bots/completed.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"mAZir//7\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-rows\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"reporting/tab-signal-chart\\\",[],[[\\\"@signal\\\",\\\"@color\\\",\\\"@range\\\"],[[32,0,[\\\"signals\\\",\\\"conversationsEngaged\\\"]],\\\"vis-green-40\\\",[32,0,[\\\"range\\\"]]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/lead-generation/custom-bots/engaged.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Trfx/tax\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-rows\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"reporting/tab-signal-chart\\\",[],[[\\\"@signal\\\",\\\"@color\\\",\\\"@range\\\"],[[32,0,[\\\"signals\\\",\\\"conversationsSent\\\"]],\\\"vis-blue-40\\\",[32,0,[\\\"range\\\"]]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/lead-generation/custom-bots/sent.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"KY4D+ZDZ\",\"block\":\"{\\\"symbols\\\":[\\\"report\\\",\\\"report\\\",\\\"report\\\",\\\"report\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-6 flex-shrink-0 ml-8 mr-8 mt-6 mb-6\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"common/hamburger-menu\\\",[],[[\\\"@includePadding\\\",\\\"@title\\\"],[false,[30,[36,2],[[30,[36,1],[\\\"canUseNewReportingIa\\\"],null],\\\"Leads\\\",\\\"Leads report\\\"],null]]],null],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center flex-wrap gap-2 pl-6\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"reporting/date-range-filter\\\",[],[[\\\"@scrollParentSelector\\\",\\\"@disabled\\\",\\\"@range\\\",\\\"@timezone\\\",\\\"@updateRange\\\"],[\\\".js__main-container\\\",false,[32,0,[\\\"range\\\"]],[32,0,[\\\"timezone\\\"]],[30,[36,0],[[32,0],\\\"updateRange\\\"],null]]],null],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"settings\\\",\\\"allowToExcludeBotInbox\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"reporting/bot-inbox-time-filter\\\",[],[[\\\"@selected\\\",\\\"@setSelected\\\"],[[32,0,[\\\"botInboxTime\\\"]],[30,[36,0],[[32,0],\\\"toggleBotInboxTime\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[8,\\\"reporting/layout/report-content\\\",[],[[\\\"@timezone\\\"],[[32,0,[\\\"timezone\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@filters\\\",\\\"@range\\\",\\\"@unit\\\",\\\"@groupOverTime\\\"],[[32,0,[\\\"queries\\\",\\\"leadsCreated\\\"]],[32,0,[\\\"filters\\\",\\\"leadsCreated\\\"]],[32,0,[\\\"range\\\"]],\\\"lead\\\",true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,\\\"reporting/element/summary\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@currentValue\\\",\\\"@previousValue\\\",\\\"@improvementDirection\\\",\\\"@range\\\"],[\\\"New leads from Messenger\\\",\\\"Number of people who interacted with Messenger for the first time, during the current period. Note that each lead may have multiple conversations, but will only be counted once.\\\",[32,4,[\\\"value\\\"]],[32,4,[\\\"previousValue\\\"]],\\\"increasing\\\",[32,0,[\\\"range\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"reporting/element/bar-chart-legend\\\",[],[[\\\"@color\\\",\\\"@range\\\"],[\\\"vis-yellow-50\\\",[32,0,[\\\"range\\\"]]]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\\n      \\\"],[8,\\\"reporting/chart-container\\\",[],[[\\\"@isLoading\\\"],[[30,[36,3],[[32,4]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"reporting/chart/comparison-bar\\\",[],[[\\\"@signal\\\",\\\"@color\\\"],[[32,4],\\\"vis-yellow-50\\\"]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@filters\\\",\\\"@range\\\",\\\"@unit\\\",\\\"@groupOverTime\\\"],[[32,0,[\\\"queries\\\",\\\"medianFirstResponseTime\\\"]],[32,0,[\\\"filters\\\",\\\"medianFirstResponseTime\\\"]],[32,0,[\\\"range\\\"]],\\\"minute\\\",true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,\\\"reporting/element/summary\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@currentValue\\\",\\\"@previousValue\\\",\\\"@improvementDirection\\\",\\\"@unit\\\",\\\"@range\\\"],[[30,[36,2],[[30,[36,1],[\\\"canUseNewReportingIa\\\"],null],\\\"Median first response time to leads\\\",\\\"Median first response to leads\\\"],null],[30,[36,4],[[32,0,[\\\"settings\\\"]],\\\"The median of your team's first response times to new conversations with leads, from the first inbound message to the first reply, sorted by the date the conversation started.\\\"],null],[32,3,[\\\"value\\\"]],[32,3,[\\\"previousValue\\\"]],\\\"increasing\\\",\\\"minute\\\",[32,0,[\\\"range\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"reporting/element/bar-chart-legend\\\",[],[[\\\"@color\\\",\\\"@range\\\"],[\\\"vis-magenta-60\\\",[32,0,[\\\"range\\\"]]]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\\n      \\\"],[8,\\\"reporting/chart-container\\\",[],[[\\\"@isLoading\\\"],[[30,[36,3],[[32,3]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"reporting/chart/comparison-bar\\\",[],[[\\\"@signal\\\",\\\"@color\\\"],[[32,3],\\\"vis-magenta-60\\\"]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@range\\\",\\\"@signalType\\\"],[[32,0,[\\\"queries\\\",\\\"leadsCreatedBySource\\\"]],[32,0,[\\\"range\\\"]],\\\"lead-source\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,\\\"reporting/chart-container\\\",[],[[\\\"@height\\\",\\\"@isLoading\\\"],[309,[30,[36,3],[[32,2]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"reporting/signal-card\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@signal\\\",\\\"@chartType\\\",\\\"@hiddenLineChartItemType\\\",\\\"@lineChartEmptyStateComponentPath\\\",\\\"@range\\\"],[\\\"Leads by visitor messages or conversations\\\",\\\"The number of leads added, sorted by all inbound conversations and each individual visitor auto message.\\\",[32,2],\\\"line\\\",\\\"message\\\",[32,0,[\\\"leadSourceEmptyStateComponentPath\\\"]],[32,0,[\\\"range\\\"]]]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__relative\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@range\\\",\\\"@unit\\\",\\\"@groupOverTime\\\"],[[32,0,[\\\"queries\\\",\\\"salesforceLeadsCreated\\\"]],[32,0,[\\\"range\\\"]],\\\"lead\\\",true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"reporting/element/summary\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@currentValue\\\",\\\"@previousValue\\\",\\\"@improvementDirection\\\",\\\"@range\\\"],[[30,[36,2],[[30,[36,1],[\\\"canUseNewReportingIa\\\"],null],\\\"Salesforce leads created from Intercom\\\",\\\"Salesforce leads created by Intercom\\\"],null],\\\"The number of leads created in Salesforce from Intercom, via the Salesforce integration.\\\",[32,1,[\\\"value\\\"]],[32,1,[\\\"previousValue\\\"]],\\\"increasing\\\",[32,0,[\\\"range\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"reporting/element/bar-chart-legend\\\",[],[[\\\"@color\\\",\\\"@range\\\"],[\\\"vis-blue-60\\\",[32,0,[\\\"range\\\"]]]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\\n          \\\"],[8,\\\"reporting/chart-container\\\",[],[[\\\"@isLoading\\\"],[[30,[36,3],[[32,1]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"reporting/chart/comparison-bar\\\",[],[[\\\"@signal\\\",\\\"@color\\\"],[[32,1],\\\"vis-blue-60\\\"]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[32,0,[\\\"salesforceIntegrationInstalled\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"inbox/reporting/empty-state/salesforce-inline\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"has-feature\\\",\\\"if\\\",\\\"not\\\",\\\"include-office-hours-tooltip\\\",\\\"unless\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/lead-generation/leads.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"xOIoWnIP\",\"block\":\"{\\\"symbols\\\":[\\\"report\\\",\\\"report\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-shrink-0 ml-8 mr-8 mt-6 mb-6\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-6 mb-8\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"common/hamburger-menu\\\",[],[[\\\"@includePadding\\\",\\\"@title\\\"],[false,[30,[36,4],[[30,[36,1],[\\\"canUseNewReportingIa\\\"],null],\\\"Sales\\\",\\\"Performance report\\\"],null]]],null],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,2],[[30,[36,1],[\\\"canUseNewReportingIa\\\"],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"inbox/performance-report-navigation\\\",[[24,0,\\\"pl-6\\\"]],[[\\\"@timezone\\\",\\\"@rangeStart\\\",\\\"@rangeEnd\\\",\\\"@teammateId\\\",\\\"@scopingTagIds\\\"],[[32,0,[\\\"app\\\",\\\"timezone\\\"]],[32,0,[\\\"rangeStart\\\"]],[32,0,[\\\"rangeEnd\\\"]],[32,0,[\\\"teamOrTeammate\\\",\\\"id\\\"]],[32,0,[\\\"scopingTagIds\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center flex-wrap gap-2 pl-6\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"reporting/date-range-filter\\\",[],[[\\\"@scrollParentSelector\\\",\\\"@disabled\\\",\\\"@range\\\",\\\"@timezone\\\",\\\"@updateRange\\\"],[\\\".js__main-container\\\",false,[32,0,[\\\"range\\\"]],[32,0,[\\\"timezone\\\"]],[30,[36,11],[[32,0],\\\"updateRange\\\"],null]]],null],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"reporting/team-or-teammate-filter\\\",[],[[\\\"@rawTeammates\\\",\\\"@rawTeams\\\",\\\"@selected\\\",\\\"@setSelected\\\"],[[32,0,[\\\"app\\\",\\\"humanAdmins\\\"]],[32,0,[\\\"app\\\",\\\"teams\\\"]],[32,0,[\\\"teamOrTeammate\\\"]],[30,[36,11],[[32,0],\\\"changeTeamOrTeammate\\\"],null]]],null],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"reporting/tag-filter\\\",[],[[\\\"@noFilterDescriptor\\\",\\\"@rawTags\\\",\\\"@selected\\\",\\\"@setSelected\\\",\\\"@analyticsObject\\\"],[\\\"All tags\\\",[32,0,[\\\"app\\\",\\\"tags\\\"]],[32,0,[\\\"tag\\\"]],[30,[36,11],[[32,0],\\\"changeTag\\\"],null],\\\"performance_report\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[[30,[36,1],[\\\"canUseRevenueReports\\\"],null],[30,[36,1],[\\\"hasSalesforceIntegration\\\"],null]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"reporting/layout/report-content\\\",[],[[\\\"@timezone\\\"],[[32,0,[\\\"timezone\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/flexible/chart\\\",[],[[\\\"@title\\\",\\\"@chartComponent\\\",\\\"@dataConfig\\\",\\\"@range\\\",\\\"@filters\\\",\\\"@dataTestName\\\",\\\"@viewConfig\\\"],[\\\"meetings booked\\\",\\\"reporting/flexible/comparison-counter\\\",[32,0,[\\\"counterDefaultConfigs\\\",\\\"meetingsBookedCounter\\\",\\\"dataConfig\\\"]],[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],\\\"meetings-booked-counter\\\",[32,0,[\\\"counterDefaultConfigs\\\",\\\"meetingsBookedCounter\\\",\\\"viewConfig\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/flexible/chart\\\",[],[[\\\"@title\\\",\\\"@chartComponent\\\",\\\"@dataConfig\\\",\\\"@filters\\\",\\\"@range\\\",\\\"@persistentDataConfig\\\",\\\"@dataTestName\\\",\\\"@viewConfig\\\"],[\\\"time to close opportunity\\\",\\\"reporting/flexible/comparison-counter\\\",[32,0,[\\\"counterDefaultConfigs\\\",\\\"timeToCloseOpportunityCounter\\\",\\\"dataConfig\\\"]],[32,0,[\\\"filters\\\"]],[32,0,[\\\"rangeParams\\\"]],[30,[36,6],[[32,0,[\\\"dataConfigs\\\"]],\\\"time-to-close-opportunity-counter\\\"],null],\\\"time-to-close-opportunity-counter\\\",[32,0,[\\\"counterDefaultConfigs\\\",\\\"timeToCloseOpportunityCounter\\\",\\\"viewConfig\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/element/summary-title\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\"],[[30,[36,7],[\\\"Revenue\\\",[32,0,[\\\"reportDescription\\\"]]],null],\\\"A summary of how Intercom has influenced your sales performance from leads and emails captured through to Opportunities created and Closed won from Salesforce.\\\"]],null],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"reporting__report-tabs layout__box o__flexes-to-1 o__has-columns u__padt__20\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"reporting/report-tab\\\",[],[[\\\"@route\\\"],[[30,[36,7],[[32,0,[\\\"salesReportBaseRoute\\\"]],\\\".opportunities\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"reporting/funnel-step\\\",[],[[\\\"@title\\\",\\\"@currentValue\\\",\\\"@totalValue\\\"],[\\\"Opportunities\\\",[32,0,[\\\"signals\\\",\\\"opportunityInfluenced\\\",\\\"originalValue\\\"]],[32,0,[\\\"signals\\\",\\\"opportunityCreated\\\",\\\"originalValue\\\"]]]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[8,\\\"reporting/report-tab\\\",[],[[\\\"@route\\\"],[[30,[36,7],[[32,0,[\\\"salesReportBaseRoute\\\"]],\\\".pipeline\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"reporting/funnel-step\\\",[],[[\\\"@format\\\",\\\"@title\\\",\\\"@currentValue\\\",\\\"@totalValue\\\"],[\\\"dollars\\\",\\\"Pipeline (USD)\\\",[32,0,[\\\"signals\\\",\\\"opportunityInfluencedAmount\\\",\\\"originalValue\\\"]],[32,0,[\\\"signals\\\",\\\"opportunityCreatedAmount\\\",\\\"originalValue\\\"]]]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[8,\\\"reporting/report-tab\\\",[],[[\\\"@route\\\"],[[30,[36,7],[[32,0,[\\\"salesReportBaseRoute\\\"]],\\\".closed-won\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"reporting/funnel-step\\\",[],[[\\\"@format\\\",\\\"@title\\\",\\\"@currentValue\\\",\\\"@totalValue\\\"],[\\\"dollars\\\",\\\"Closed won (USD)\\\",[32,0,[\\\"signals\\\",\\\"closedWonInfluencedAmount\\\",\\\"originalValue\\\"]],[32,0,[\\\"signals\\\",\\\"closedWonAmount\\\",\\\"originalValue\\\"]]]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[1,[30,[36,9],[[30,[36,8],null,null]],null]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"reporting/sales-performance-charts\\\",[],[[\\\"@signals\\\",\\\"@settings\\\",\\\"@range\\\",\\\"@columnChartConfigs\\\",\\\"@rangeParams\\\",\\\"@filters\\\",\\\"@dataConfigs\\\"],[[32,0,[\\\"signals\\\"]],[32,0,[\\\"settings\\\"]],[32,0,[\\\"range\\\"]],[32,0,[\\\"columnChartConfigs\\\"]],[32,0,[\\\"rangeParams\\\"]],[32,0,[\\\"filters\\\"]],[32,0,[\\\"dataConfigs\\\"]]]],null],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,\\\"inbox/reporting/deals-influenced-table\\\",[],[[\\\"@title\\\",\\\"@filteredByAdmin\\\",\\\"@titleTooltipText\\\",\\\"@signal\\\",\\\"@dropdownLabel\\\"],[[30,[36,7],[\\\"Deals\\\",[32,0,[\\\"reportDescription\\\"]]],null],[32,0,[\\\"filteredByAdmin\\\"]],[30,[36,5],[[32,0,[\\\"settings\\\"]],\\\"A summary of the Deals influenced by Intercom. Filtering is done based on the time the conversation was created.\\\"],null],[32,0,[\\\"signals\\\",\\\"dealsInfluenced\\\"]],\\\"Show deals\\\"]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n\\\"],[6,[37,4],[[30,[36,1],[\\\"canUseNewReportingIa\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@filters\\\",\\\"@range\\\",\\\"@signalType\\\"],[[32,0,[\\\"queries\\\",\\\"vamROI\\\"]],[32,0,[\\\"filters\\\"]],[32,0,[\\\"range\\\"]],\\\"tabular\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"inbox/reporting/vam-performance-table\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@dropdownLabel\\\",\\\"@signal\\\",\\\"@app\\\"],[\\\"Conversions by visitor message\\\",[30,[36,5],[[32,0,[\\\"settings\\\"]],\\\"A summary of top performing visitor auto messages in a sales capacity. Filtering is done based on the time the first user message was sent.\\\"],null],\\\"Show messages\\\",[32,2],[32,0,[\\\"app\\\"]]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n      \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@filters\\\",\\\"@range\\\",\\\"@signalType\\\"],[[32,0,[\\\"queries\\\",\\\"messageROI\\\"]],[32,0,[\\\"filters\\\"]],[32,0,[\\\"range\\\"]],\\\"tabular\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"inbox/reporting/url-performance-table\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@signal\\\",\\\"@dropdownLabel\\\"],[\\\"Conversion by page\\\",[30,[36,5],[[32,0,[\\\"settings\\\"]],\\\"A summary of top performing page URLs in a sales capacity where a visitor has engaged with the Intercom messenger. Filtering is done based on the time the first user message was sent.\\\"],null],[32,1],\\\"Top performing pages\\\"]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,10],[[32,0,[\\\"filteredByAdmin\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"inbox/reporting/teammate-performance-table\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\",\\\"@signal\\\",\\\"@teammateIds\\\"],[\\\"Teammates\\\",[30,[36,5],[[32,0,[\\\"settings\\\"]],\\\"A summary of top performing teammates in a sales capacity. Filtering is done based on the time the conversation was created.\\\"],null],[32,0,[\\\"signals\\\",\\\"teammatePerformance\\\"]],[32,0,[\\\"teammateIds\\\"]]]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,4],[[30,[36,3],[[30,[36,1],[\\\"canUseRevenueReports\\\"],null],[30,[36,2],[[30,[36,1],[\\\"hasSalesforceIntegration\\\"],null]],null]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"inbox/reporting/empty-state/salesforce\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"common/paywall-component\\\",[],[[\\\"@tier\\\",\\\"@title\\\",\\\"@requirements\\\",\\\"@description\\\",\\\"@feature\\\",\\\"@callToAction\\\"],[\\\"INBOX PREMIUM\\\",\\\"Find sales team behaviors that work\\\",[30,[36,0],[\\\"Inbox Premium subscription\\\",\\\"Salesforce integration app\\\"],null],\\\"Track your team's performance over time, and drill down for detailed metrics on each member of your sales organization.\\\",\\\"revenue_reports\\\",\\\"Learn more about Premium\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"img\\\"],[14,0,\\\"paywall__asset\\\"],[14,\\\"src\\\",\\\"/assets/images/reporting/sales-performance-paywall.png\\\"],[14,\\\"srcset\\\",\\\"/assets/images/reporting/sales-performance-paywall@2x.png 2x,\\\\n    /assets/images/reporting/sales-performance-paywall@3x.png 3x\\\"],[12],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"array\\\",\\\"has-feature\\\",\\\"not\\\",\\\"and\\\",\\\"if\\\",\\\"include-office-hours-tooltip\\\",\\\"get\\\",\\\"concat\\\",\\\"-outlet\\\",\\\"component\\\",\\\"unless\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/lead-generation/sales.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"ML1wP30m\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"reporting/pipeline-chart\\\",[],[[\\\"@signal\\\",\\\"@unitDescriptor\\\",\\\"@currency\\\",\\\"@totalValue\\\",\\\"@partValue\\\"],[[32,0,[\\\"signals\\\",\\\"closedWonChart\\\"]],\\\"closed won value\\\",true,[32,0,[\\\"signals\\\",\\\"closedWonAmount\\\",\\\"originalValue\\\"]],[32,0,[\\\"signals\\\",\\\"closedWonInfluencedAmount\\\",\\\"originalValue\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/lead-generation/sales/closed-won.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"gDyTLrp8\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"reporting/pipeline-chart\\\",[],[[\\\"@signal\\\",\\\"@unitDescriptor\\\",\\\"@totalValue\\\",\\\"@partValue\\\"],[[32,0,[\\\"signals\\\",\\\"opportunitiesChart\\\"]],\\\"opportunities\\\",[32,0,[\\\"signals\\\",\\\"opportunityCreated\\\",\\\"originalValue\\\"]],[32,0,[\\\"signals\\\",\\\"opportunityInfluenced\\\",\\\"originalValue\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/lead-generation/sales/opportunities.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"MSrB34Uc\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"reporting/pipeline-chart\\\",[],[[\\\"@signal\\\",\\\"@unitDescriptor\\\",\\\"@currency\\\",\\\"@totalValue\\\",\\\"@partValue\\\"],[[32,0,[\\\"signals\\\",\\\"pipelineChart\\\"]],\\\"pipeline value\\\",true,[32,0,[\\\"signals\\\",\\\"opportunityCreatedAmount\\\",\\\"originalValue\\\"]],[32,0,[\\\"signals\\\",\\\"opportunityInfluencedAmount\\\",\\\"originalValue\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/lead-generation/sales/pipeline.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"MgwUTIV0\",\"block\":\"{\\\"symbols\\\":[\\\"card\\\",\\\"card\\\",\\\"report\\\",\\\"report\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-6 mx-8 my-6\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"common/hamburger-menu\\\",[],[[\\\"@includePadding\\\",\\\"@title\\\"],[false,[30,[36,1],[[30,[36,2],[\\\"canUseNewReportingIa\\\"],null],\\\"Overview\\\",\\\"Overview report\\\"],null]]],null],[2,\\\"\\\\n  \\\"],[8,\\\"reporting/date-range-filter\\\",[[24,0,\\\"pl-6\\\"]],[[\\\"@scrollParentSelector\\\",\\\"@disabled\\\",\\\"@range\\\",\\\"@timezone\\\",\\\"@updateRange\\\"],[\\\".js__main-container\\\",false,[32,0,[\\\"range\\\"]],[32,0,[\\\"timezone\\\"]],[30,[36,0],[[32,0],\\\"updateRange\\\"],null]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[8,\\\"reporting/layout/report-content\\\",[],[[\\\"@timezone\\\"],[[32,0,[\\\"timezone\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-6\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"1\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      People\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,\\\"reporting/element/summary-title\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\"],[\\\"New people\\\",\\\"The number of new people created in Intercom, grouped by date, split by whether they are currently a user or a lead.\\\"]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/people-overview-timeline\\\",[[24,0,\\\"flex-1 mr-10\\\"]],[[\\\"@range\\\",\\\"@hideDelta\\\"],[[32,0,[\\\"range\\\"]],[32,0,[\\\"hideComparison\\\"]]]],null],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/people-overview-breakdown\\\",[[24,0,\\\"flex-1 ml-10\\\"]],[[\\\"@range\\\",\\\"@hideDelta\\\"],[[32,0,[\\\"range\\\"]],[32,0,[\\\"hideComparison\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-6\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"1\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      Conversations\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,\\\"reporting/element/summary-title\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\"],[\\\"New conversations\\\",\\\"The number of new conversations, grouped by the date the conversation started. Conversations start either when a customer sends a new inbound message or responds to an outbound bot, auto message, or Help Center article.\\\"]],null],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"hasInbox\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"reporting/reports/new-conversations-timeline\\\",[[24,0,\\\"flex-1 mr-10\\\"]],[[\\\"@range\\\",\\\"@hideDelta\\\"],[[32,0,[\\\"range\\\"]],[32,0,[\\\"hideComparison\\\"]]]],null],[2,\\\"\\\\n          \\\"],[8,\\\"reporting/reports/new-conversations-breakdown\\\",[[24,0,\\\"flex-1 ml-10\\\"]],[[\\\"@range\\\",\\\"@hideDelta\\\"],[[32,0,[\\\"range\\\"]],[32,0,[\\\"hideComparison\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex reporting__fixed-height-empty-state\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@title\\\",\\\"@description\\\",\\\"@icon\\\",\\\"@buttonLabel\\\",\\\"@onButtonClick\\\"],[\\\"No conversations\\\",\\\"Start talking to your customers by signing up for Inbox.\\\",\\\"conversation\\\",[30,[36,1],[[32,0,[\\\"canUseFree\\\"]],\\\"Start a free trial\\\"],null],[30,[36,1],[[32,0,[\\\"canUseFree\\\"]],[30,[36,0],[[32,0],\\\"onStartInboxTrial\\\"],null]],null]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n\\\"],[6,[37,1],[[32,0,[\\\"hasInbox\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"reporting/element/summary-title\\\",[],[[\\\"@title\\\"],[\\\"Top pages for new inbound conversations\\\"]],null],[2,\\\"\\\\n        \\\"],[8,\\\"reporting/reports/conversations-top-urls\\\",[],[[\\\"@range\\\",\\\"@hideDelta\\\"],[[32,0,[\\\"range\\\"]],[32,0,[\\\"hideComparison\\\"]]]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,1],[[32,0,[\\\"hasInbox\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-end justify-between\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"1\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          Performance\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@onClick\\\"],[\\\"See performance report\\\",[30,[36,0],[[32,0],\\\"transitionToPerformanceReport\\\"],null]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-6\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-6\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"reporting/layout/view-card\\\",[[24,0,\\\"flex-grow\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"reporting/element/summary-title\\\",[[24,0,\\\"mb-2\\\"]],[[\\\"@title\\\"],[\\\"Median first response time\\\"]],null],[2,\\\"\\\\n\\\\n            \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@range\\\",\\\"@unit\\\",\\\"@groupOverTime\\\",\\\"@signalType\\\"],[[32,0,[\\\"medianFirstResponseTimeQuery\\\"]],[32,0,[\\\"range\\\"]],\\\"minute\\\",false,\\\"comparison\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[32,4]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[8,\\\"reporting/element/value-comparison\\\",[],[[\\\"@currentValue\\\",\\\"@previousValue\\\",\\\"@unit\\\",\\\"@range\\\",\\\"@improvementDirection\\\",\\\"@hideDelta\\\",\\\"@notChangedText\\\"],[[32,4,[\\\"value\\\"]],[32,4,[\\\"previousValue\\\"]],\\\"minute\\\",[32,0,[\\\"range\\\"]],\\\"decreasing\\\",[32,0,[\\\"hideComparison\\\"]],\\\"—\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n\\\\n            \\\"],[10,\\\"p\\\"],[14,0,\\\"text-gray max-w-3/4 mt-4\\\"],[12],[2,\\\"\\\\n              Median time it takes your team to respond to the first incoming message in a conversation\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n          \\\"],[8,\\\"reporting/layout/view-card\\\",[[24,0,\\\"flex-grow\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"reporting/element/summary-title\\\",[[24,0,\\\"mb-2\\\"]],[[\\\"@title\\\"],[\\\"Median time to close\\\"]],null],[2,\\\"\\\\n\\\\n            \\\"],[8,\\\"reporting/fetch-report\\\",[],[[\\\"@query\\\",\\\"@range\\\",\\\"@unit\\\",\\\"@groupOverTime\\\",\\\"@signalType\\\"],[[32,0,[\\\"medianTimeToCloseQuery\\\"]],[32,0,[\\\"range\\\"]],\\\"minute\\\",false,\\\"comparison\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[32,3]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[8,\\\"reporting/element/value-comparison\\\",[],[[\\\"@currentValue\\\",\\\"@previousValue\\\",\\\"@unit\\\",\\\"@range\\\",\\\"@improvementDirection\\\",\\\"@hideDelta\\\",\\\"@notChangedText\\\"],[[32,3,[\\\"value\\\"]],[32,3,[\\\"previousValue\\\"]],\\\"minute\\\",[32,0,[\\\"range\\\"]],\\\"decreasing\\\",[32,0,[\\\"hideComparison\\\"]],\\\"—\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n\\\\n            \\\"],[10,\\\"p\\\"],[14,0,\\\"text-gray max-w-3/4 mt-4\\\"],[12],[2,\\\"\\\\n              Median time elapsed from creation to close across all inbound and outbound conversations\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\\n        \\\"],[8,\\\"reporting/layout/view-card\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"reporting/element/summary-title\\\",[[24,0,\\\"mb-2\\\"]],[[\\\"@title\\\"],[\\\"Conversation ratings\\\"]],null],[2,\\\"\\\\n\\\\n          \\\"],[8,\\\"reporting/reports/conversation-ratings\\\",[],[[\\\"@range\\\",\\\"@hideDelta\\\"],[[32,0,[\\\"range\\\"]],[32,0,[\\\"hideComparison\\\"]]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-6\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"1\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,2],[\\\"canUseNewReportingIa\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        Self-serve support\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        Self-service Support\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-6\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-card\\\",[[24,0,\\\"flex-grow reporting__sticky__card\\\"]],[[\\\"@padding\\\"],[\\\"none\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,2,[\\\"section\\\"]],[[24,0,\\\"reporting__sticky-bevel__container\\\"]],[[\\\"@padding\\\"],[\\\"none\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"reporting__sticky-bevel\\\"],[12],[13],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n        \\\"],[8,[32,2,[\\\"section\\\"]],[[24,0,\\\"p-8 pb-2 flex-grow\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"reporting/element/summary-title\\\",[],[[\\\"@title\\\"],[[30,[36,1],[[30,[36,2],[\\\"canUseNewReportingIa\\\"],null],\\\"Frequent answers from Resolution Bot\\\",\\\"Resolution Bot's commonly sent answers\\\"],null]]],null],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"hasAnswerBot\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"reporting/reports/answer-bot-common-answers\\\",[],[[\\\"@range\\\",\\\"@hideDelta\\\"],[[32,0,[\\\"range\\\"]],[32,0,[\\\"hideComparison\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"flex reporting__fixed-height-empty-state\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@title\\\",\\\"@description\\\",\\\"@icon\\\",\\\"@buttonLabel\\\",\\\"@onButtonClick\\\"],[\\\"No live answers\\\",\\\"You need to create some live answers before data can be viewed in this report\\\",\\\"conversation\\\",\\\"Create an answer\\\",[30,[36,0],[[32,0],\\\"transitionToNewAnswer\\\"],null]]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n\\\"],[6,[37,1],[[32,0,[\\\"hasAnswerBot\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,2,[\\\"section\\\"]],[[24,0,\\\"border-t px-8 py-4\\\"]],[[\\\"@padding\\\"],[\\\"none\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[11,\\\"a\\\"],[24,0,\\\"t__em-link\\\"],[4,[38,0],[[32,0],\\\"transitionToAnswerBotReport\\\"],null],[12],[2,\\\"\\\\n              See Resolution Bot report\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\\n      \\\"],[8,\\\"ic-card\\\",[[24,0,\\\"flex-grow reporting__sticky__card\\\"]],[[\\\"@padding\\\"],[\\\"none\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,1,[\\\"section\\\"]],[[24,0,\\\"reporting__sticky-bevel__container\\\"]],[[\\\"@padding\\\"],[\\\"none\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"reporting__sticky-bevel\\\"],[12],[13],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n        \\\"],[8,[32,1,[\\\"section\\\"]],[[24,0,\\\"p-8 pb-2 flex-grow\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"reporting/element/summary-title\\\",[],[[\\\"@title\\\",\\\"@titleTooltipText\\\"],[[30,[36,1],[[30,[36,2],[\\\"canUseNewReportingIa\\\"],null],\\\"Top articles this month\\\",\\\"Top viewed articles in the last 28 days\\\"],null],\\\"The five Help Center articles that received the most unique pageviews over the last 28 days.\\\"]],null],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"hasArticles\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"reporting/reports/articles-top-views\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"flex reporting__fixed-height-empty-state\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@title\\\",\\\"@description\\\",\\\"@icon\\\",\\\"@buttonLabel\\\",\\\"@onButtonClick\\\"],[\\\"No live articles\\\",\\\"You need to publish some articles before data can be viewed in this report\\\",\\\"article\\\",\\\"Create an article\\\",[30,[36,0],[[32,0],\\\"transitionToNewArticle\\\"],null]]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n\\\"],[6,[37,1],[[32,0,[\\\"hasArticles\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,1,[\\\"section\\\"]],[[24,0,\\\"border-t px-8 py-4\\\"]],[[\\\"@padding\\\"],[\\\"none\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[11,\\\"a\\\"],[24,0,\\\"t__em-link\\\"],[4,[38,0],[[32,0],\\\"transitionToArticlesReport\\\"],null],[12],[2,\\\"\\\\n              See Articles report\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"if\\\",\\\"has-feature\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/reports/overview.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"boUCw68/\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[12],[2,\\\"\\\\n  Draft order created.\\\\n  \\\"],[10,\\\"a\\\"],[15,6,[34,0,[\\\"data\\\",\\\"url\\\"]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[2,\\\"View it in Shopify ↗\\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"notification\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/respond/inbox/partials/-shopify-saved-draft-order.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Ek3e3V/r\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[30,[36,1],[[35,0,[\\\"data\\\",\\\"conversations\\\",\\\"length\\\"]],1],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    You \\\"],[1,[35,0,[\\\"data\\\",\\\"actionType\\\"]]],[2,\\\" the conversation.\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    You \\\"],[1,[35,0,[\\\"data\\\",\\\"actionType\\\"]]],[2,\\\" \\\"],[1,[35,0,[\\\"data\\\",\\\"conversations\\\",\\\"length\\\"]]],[2,\\\" conversations.\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[11,\\\"a\\\"],[4,[38,4],[[32,0],[35,3,[\\\"actions\\\",\\\"undoConversationsClose\\\"]],[35,0]],[[\\\"target\\\"],[[35,3]]]],[12],[2,\\\"Undo\\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"notification\\\",\\\"eq\\\",\\\"if\\\",\\\"notificationsService\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/respond/inbox/partials/-undo-close-conversations.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"/DhQJQRI\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1 js__main-container\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"settings/app-settings-submenu\\\",[],[[\\\"@currentRouteName\\\"],[[34,0]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"layout__box o__has-rows o__flexes-to-1 main__content-outlet o__scrolls \\\",[30,[36,2],[[35,1,[\\\"navbarCollapsed\\\"]],\\\"o__without-submenu\\\"],null]]]],[12],[2,\\\"\\\\n    \\\"],[8,\\\"intercomrade-warning\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      Edits made here could result in customer-facing changes.\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,\\\"settings/security/security-warning-banner\\\",[],[[],[]],null],[2,\\\"\\\\n    \\\"],[1,[30,[36,4],[[30,[36,3],null,null]],null]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"currentRouteName\\\",\\\"appController\\\",\\\"if\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"EQCWZAhj\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[32,0,[\\\"titleToken\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://developers.intercom.com/installing-intercom/docs/android-installation\\\",\\\"Learn more about installing on Android\\\",\\\"developer\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"ic-content\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"sdkApp\\\",\\\"is_activated\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"confirmation\\\",\\\"Intercom has been installed in your Android app\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"help\\\",\\\"Intercom isn’t installed for your Android app yet\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,\\\"paragraph\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      This syncs live user data from your Android app to Intercom, installs the Intercom Messenger, and lets you send in-app messages.\\\\n      \\\"],[10,\\\"a\\\"],[15,6,[31,[[32,0,[\\\"docsUrl\\\"]]]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"text\\\",[],[[\\\"@linkStyling\\\"],[\\\"standalone\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          View installation instructions\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"2\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      Add your API Key\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"text\\\",[],[[\\\"@styling\\\"],[\\\"label\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      Android API Key\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"admin\\\",\\\"hasProductAccessForCurrentApp\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"paragraph\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[1,[32,0,[\\\"apiKey\\\"]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"warning\\\",\\\"Full Access required to view API Keys\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,\\\"text\\\",[],[[\\\"@styling\\\"],[\\\"label\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      Your app ID\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,\\\"paragraph\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[1,[32,0,[\\\"app\\\",\\\"id\\\"]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n\\\"],[6,[37,1],[[32,0,[\\\"admin\\\",\\\"hasProductAccessForCurrentApp\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"paragraph\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        After installing Intercom, paste this line of code into the\\\\n        \\\"],[10,\\\"code\\\"],[14,0,\\\"start__inline-code\\\"],[12],[2,\\\"onCreate()\\\"],[13],[2,\\\"\\\\n        method of your application class:\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n      \\\"],[8,\\\"installation-instructions/code-component\\\",[],[[\\\"@language\\\"],[[32,0,[\\\"language\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        Intercom.initialize(this, \\\\\\\"\\\"],[1,[32,0,[\\\"apiKey\\\"]]],[2,\\\"\\\\\\\", \\\\\\\"\\\"],[1,[32,0,[\\\"app\\\",\\\"id\\\"]]],[2,\\\"\\\\\\\");\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@icon\\\",\\\"@label\\\",\\\"@onClick\\\"],[\\\"secondary-destructive\\\",\\\"delete\\\",\\\"Delete Android API key\\\",[30,[36,0],[[32,0],\\\"deleteSdkApp\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"2\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      Enable push notifications\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"paragraph\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      To send push notifications through Intercom, add your server API key for Firebase Cloud Messaging:\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"gcm-key-component\\\",[],[[\\\"@sdkApp\\\"],[[32,0,[\\\"sdkApp\\\"]]]],null],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"paragraph\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://developers.intercom.com/installing-intercom/docs/android-fcm-push-notifications\\\",\\\"Find out how to get a server API key in the developer docs.\\\",\\\"developer\\\"]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"settings/identity-verification-installation-setup-component\\\",[],[[\\\"@userSource\\\",\\\"@identityVerified\\\"],[\\\"android\\\",[32,0,[\\\"isSdkAppIdentityVerified\\\"]]]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/android.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"f4GNEzDn\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[\\\"Attachment Settings\\\"]],null],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__checkbox-list-header\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__label f__group-label\\\"],[12],[2,\\\"\\\\n        File type options\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group t__light-text\\\"],[12],[2,\\\"\\\\n    By default, attachments are limited to: .pdf, .png, .jpg, .gif, .txt, .mp4 and .mov.\\\\n    To protect your account certain types of files are forbidden.\\\\n    \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\",\\\"@linkStyling\\\"],[\\\"https://www.intercom.com/help/en/articles/3074152\\\",\\\"Learn more\\\",\\\"article\\\",\\\"inline\\\"]],null],[2,\\\".\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__checkbox-group\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[32,0,[\\\"model\\\",\\\"enabled\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n        Allow more file types\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[32,0,[\\\"model\\\",\\\"enabled\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group t__light-text\\\"],[12],[2,\\\"\\\\n        Include a period before each extension. Separate each file type with a comma.\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"textarea\\\"],[15,0,[31,[\\\"f__text \\\",[30,[36,0],[[32,0,[\\\"model\\\",\\\"isFiletypeListValid\\\"]],\\\"o__error\\\"],null]]]],[15,2,[32,0,[\\\"model\\\",\\\"filetypeList\\\"]]],[15,\\\"oninput\\\",[30,[36,2],[[32,0],[30,[36,1],[[32,0,[\\\"model\\\",\\\"filetypeList\\\"]]],null]],[[\\\"value\\\"],[\\\"target.value\\\"]]]],[14,\\\"placeholder\\\",\\\"Enter the list of file extensions\\\"],[12],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__checkbox-group\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label u__cf\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[32,0,[\\\"model\\\",\\\"agreedToRisk\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n          I understand the security risk involved by allowing these file types\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group t__light-text\\\"],[12],[2,\\\"\\\\n          We strongly encourage you to only accept file types that you need for your business. Please note that accepting compressed files can include file types that you haven't listed.\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@action\\\",\\\"@saving\\\",\\\"@disabled\\\"],[\\\"primary\\\",[30,[36,4],[[32,0,[\\\"saveTask\\\"]]],null],[32,0,[\\\"saveTask\\\",\\\"isRunning\\\"]],[30,[36,5],[[32,0,[\\\"canSave\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,3],[[32,0,[\\\"saveTask\\\",\\\"isRunning\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      Saving…\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      Save\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"unless\\\",\\\"mut\\\",\\\"action\\\",\\\"if\\\",\\\"perform\\\",\\\"not\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/attachment-settings.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"c1gLV/pA\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,0]]],null],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-rows o__scrolls u__padl__30 u__padr__30\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"settings/blocked-user-list-component\\\",[],[[\\\"@maxPages\\\",\\\"@unblockUser\\\"],[[34,1],[30,[36,2],[[32,0],\\\"unblockUser\\\"],null]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"titleToken\\\",\\\"maxPages\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/blocked-users.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"3JBoqKpA\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,0]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center gap-4\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/configure-intercom-for-your-product-or-site/customize-intercom-to-be-about-your-users/group-your-users-by-company\\\",\\\"Learn more\\\",\\\"article\\\"]],null],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"u__ml__10\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@icon\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Create attribute\\\",\\\"new\\\",\\\"primary\\\",[30,[36,1],[[32,0],\\\"openAttributeCreationModal\\\",\\\"company\\\"],null]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 u__padt__20 u__padb__20 u__padl__30 u__padr__30\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"settings/people-attributes/search-input\\\",[],[[\\\"@filterSearchTerm\\\"],[[34,2]]],null],[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[8,\\\"ic-legacy-table\\\",[[24,0,\\\"u__mb__50\\\"]],[[\\\"@columns\\\",\\\"@rows\\\",\\\"@height\\\",\\\"@tableActions\\\",\\\"@toggleSort\\\",\\\"@testBindingClass\\\"],[[34,3],[34,4],\\\"flex\\\",[30,[36,5],null,[[\\\"openDetailsView\\\"],[[30,[36,1],[[32,0],\\\"openDetailsView\\\"],null]]]],[30,[36,1],[[32,0],\\\"toggleSort\\\"],null],\\\"test__company-attributes-table\\\"]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"titleToken\\\",\\\"action\\\",\\\"filterSearchTerm\\\",\\\"columns\\\",\\\"filteredRows\\\",\\\"hash\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/company-data.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"xti+9rOn\",\"block\":\"{\\\"symbols\\\":[\\\"segment\\\"],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,3]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/intercom-s-key-features-explained/grouping-users/how-to-filter-and-segment-your-users\\\",\\\"Learn more about segments\\\",\\\"article\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"table\\\"],[14,0,\\\"tbl o__fit test__segments-table\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"    \\\"],[10,\\\"thead\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n          \\\"],[11,\\\"a\\\"],[4,[38,4],[[32,0],\\\"toggleSortByNameOrder\\\"],null],[12],[2,\\\"\\\\n            Segment name\\\\n\\\"],[6,[37,6],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[1,[30,[36,2],null,[[\\\"sortOrder\\\"],[[35,1]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n          \\\"],[11,\\\"a\\\"],[4,[38,4],[[32,0],\\\"toggleSortByCompanyCountOrder\\\"],null],[12],[2,\\\"\\\\n            Companies\\\\n\\\"],[6,[37,6],[[35,7]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[1,[30,[36,2],null,[[\\\"sortOrder\\\"],[[35,1]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"hidden\\\"],[12],[2,\\\"\\\\n            Delete\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"tbody\\\"],[14,0,\\\"tbl__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,10],[[30,[36,9],[[30,[36,9],[[35,8]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"settings-segment-component\\\",[],[[\\\"@segment\\\",\\\"@openDeleteModal\\\",\\\"@isCompany\\\",\\\"@app\\\"],[[32,1],\\\"openDeleteModal\\\",true,[34,0]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"app\\\",\\\"sortOrder\\\",\\\"sort-icon-pattern\\\",\\\"titleToken\\\",\\\"action\\\",\\\"isSortedByName\\\",\\\"if\\\",\\\"isSortedByCompanyCount\\\",\\\"sortedTagsOrSegments\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/company-segments.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"4VOkDk3K\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\",\\\"@model\\\"],\\\"statements\\\":[[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"conversation_attributes\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"Banner\\\"]],[],[[\\\"@content\\\"],[\\\"Upgrade to create conversation attributes\\\"]],null],[2,\\\"\\\\n  \\\"],[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[32,0,[\\\"titleToken\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[[32,2,[\\\"conversationAttributeDescriptors\\\",\\\"length\\\"]],0],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@icon\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Create attribute\\\",\\\"new\\\",\\\"primary\\\",[30,[36,2],[[30,[36,1],[[32,0],\\\"showDescriptorDetailsModal\\\",true],null]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n\\\"],[6,[37,4],[[32,0,[\\\"showDescriptorDetailsModal\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"settings/conversation-attributes/descriptor-details-modal\\\",[],[[\\\"@onModalClose\\\"],[[30,[36,0],[\\\"showDescriptorDetailsModal\\\",[32,0]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1 gap-6\\\\n      u__padl__30\\\\n      u__padr__30\\\\n    \\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"settings/conversation-attributes/list-descriptors\\\",[],[[\\\"@conversationAttributeDescriptors\\\",\\\"@paywallIsActive\\\"],[[32,2,[\\\"conversationAttributeDescriptors\\\"]],[32,1,[\\\"isActive\\\"]]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"toggle\\\",\\\"set\\\",\\\"fn\\\",\\\"gt\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/conversation-data.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"gxZBp67v\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,0]]],null],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/permanent-user-deletion\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"titleToken\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/delete-user.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"0rJ2EIiV\",\"block\":\"{\\\"symbols\\\":[\\\"companyEmailAddress\\\",\\\"paywall\\\"],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,6]]],null],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"email_forwarding\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"Block\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__label f__group-label\\\"],[12],[2,\\\"\\\\n          Default inbound address\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,7],[[32,2,[\\\"isInactive\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"div\\\"],[14,0,\\\"u__mb__5\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[35,2,[\\\"inbox_email\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"f__group \\\",[30,[36,7],[[32,2,[\\\"isInactive\\\"]],\\\"t__light-text\\\"],null]]]],[12],[2,\\\"\\\\n          Forward email from your normal support email address (such as help@myapp.com) to Intercom so you can reply to emails from your\\\\n          \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\"],[\\\"apps.app.inbox\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            inbox\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\".\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__label o__no-visual-margins\\\"],[12],[2,\\\"\\\\n    Company addresses to ignore\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group t__light-text mt-2\\\"],[12],[2,\\\"\\\\n    Add multiple company email addresses that you use for support. We'll recognize them when you're CCed so they don't appear in group conversations.\\\\n    \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\",\\\"@linkStyling\\\"],[\\\"https://www.intercom.com/help/remove-company-email-addresses-from-group-conversations\\\",\\\"Learn more\\\",\\\"article\\\",\\\"inline\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,7],[[35,8]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"table\\\"],[14,0,\\\"tbl\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"      \\\"],[10,\\\"thead\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label twk__email-sender-setting__custom-email-column\\\"],[12],[2,\\\"\\\\n            Email address\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n            Details\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"tbody\\\"],[14,0,\\\"tbl__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[30,[36,4],[[30,[36,4],[[35,3]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"settings/senders/company-email-address-component\\\",[],[[\\\"@app\\\",\\\"@companyEmailAddress\\\"],[[34,2],[32,1]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"mt-4\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,7],[[35,9]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__label\\\"],[12],[2,\\\"\\\\n        Email address\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[8,\\\"input\\\",[[24,0,\\\"f__text\\\"],[24,\\\"placeholder\\\",\\\"e.g. team@domain.com\\\"]],[[\\\"@value\\\",\\\"@type\\\"],[[34,1],\\\"text\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group mt-2\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@testBindingClass\\\"],[\\\"Add email address\\\",\\\"primary\\\",[30,[36,0],[[32,0],\\\"addNewCompanyEmailAddress\\\",[35,1]],null],\\\"test__email-forwarding-settings-add\\\"]],null],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Cancel\\\",\\\"secondary\\\",[30,[36,0],[[32,0],\\\"collapseAddCompanyEmailAddressForm\\\"],null]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Add email address\\\",\\\"secondary\\\",[30,[36,0],[[32,0],\\\"expandAddCompanyEmailAddressForm\\\"],null]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"newCompanyEmailAddress\\\",\\\"app\\\",\\\"companyEmailAddresses\\\",\\\"-track-array\\\",\\\"each\\\",\\\"titleToken\\\",\\\"if\\\",\\\"hasCompanyEmailAddresses\\\",\\\"addCompanyEmailAddressFormExpanded\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/email-forwarding.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"FLaMxFlV\",\"block\":\"{\\\"symbols\\\":[\\\"renderedTemplate\\\"],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\",\\\"@breadcrumbRoute\\\",\\\"@breadcrumbTitle\\\"],[[34,1],\\\"apps.app.settings.email-templates\\\",\\\"Email templates\\\"]],null],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__label\\\"],[12],[2,\\\"\\\\n    Choose a template to duplicate\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf mt-4\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[[30,[36,3],[[35,2]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__left email-templates-settings__email-template-container\\\"],[12],[2,\\\"\\\\n        \\\"],[11,\\\"a\\\"],[24,0,\\\"email-templates-settings__email-template-link\\\"],[4,[38,0],[[32,0],\\\"copyTemplate\\\",[32,1,[\\\"template\\\",\\\"id\\\"]]],null],[12],[2,\\\"\\\\n          \\\"],[8,\\\"messages/email-template-iframe-preview-component\\\",[],[[\\\"@classNames\\\",\\\"@template\\\"],[\\\"email-templates-settings__email-template-iframe\\\",[32,1]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[11,\\\"a\\\"],[24,0,\\\"t__h4\\\"],[16,\\\"title\\\",[32,1,[\\\"template\\\",\\\"name\\\"]]],[4,[38,0],[[32,0],\\\"copyTemplate\\\",[32,1,[\\\"template\\\",\\\"id\\\"]]],null],[12],[2,\\\"\\\\n          \\\"],[1,[32,1,[\\\"template\\\",\\\"name\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"titleToken\\\",\\\"renderedTemplates\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/email-templates/copy-template.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"oXQEJ6Q0\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\"],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\",\\\"@breadcrumbRoute\\\",\\\"@breadcrumbTitle\\\"],[[34,0],\\\"apps.app.settings.email-templates\\\",\\\"Email templates\\\"]],null],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[\\\"@jsBindingClass\\\"],[\\\"js__settings-container\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"twk__template-editor__min-width-content\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-start\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"input\\\",[[24,0,\\\"f__text test__template-editor__name-input\\\"],[24,\\\"placeholder\\\",\\\"Enter a name for this template\\\"]],[[\\\"@value\\\",\\\"@type\\\"],[[34,1,[\\\"name\\\"]],\\\"text\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"twk__template-editor__floating-buttons js__template-editor__floating-buttons\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@testBindingClass\\\",\\\"@inRightList\\\"],[\\\"Delete Template\\\",\\\"secondary-destructive\\\",[30,[36,2],[[32,0],\\\"deleteTemplate\\\"],null],\\\"test__template-editor__delete-button\\\",true]],null],[2,\\\"\\\\n        \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@inRightList\\\"],[\\\"Cancel\\\",\\\"secondary\\\",[30,[36,2],[[32,0],\\\"cancelChanges\\\"],null],true]],null],[2,\\\"\\\\n        \\\"],[8,\\\"paywall\\\",[],[[\\\"@app\\\",\\\"@featureKey\\\"],[[34,3],\\\"custom_email_templates\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,[32,1,[\\\"Hover\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@onClick\\\",\\\"@testBindingClass\\\",\\\"@inRightList\\\",\\\"@disabled\\\"],[\\\"primary\\\",[30,[36,2],[[32,0],\\\"saveTemplate\\\"],null],\\\"test__template-editor__save-button\\\",true,[32,1,[\\\"isActive\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              Save\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 u__padr__25\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[14,0,\\\"t__label u__left\\\"],[12],[2,\\\"\\\\n          Template HTML\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[11,\\\"a\\\"],[24,0,\\\"u__right t__light-text t__no-decoration\\\"],[4,[38,2],[[32,0],\\\"openTemplateHelp\\\"],null],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,4],[\\\"info\\\"],null]],[2,\\\" Template Help\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-1\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[8,\\\"textarea\\\",[[24,0,\\\"js__template-editor__textarea twk__template-editor__textarea test__template-editor__textarea card card__inner u__overflow-hidden\\\"],[24,\\\"placeholder\\\",\\\"Enter your email template HTML\\\"]],[[\\\"@value\\\"],[[34,1,[\\\"template\\\"]]]],null],[2,\\\"      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[14,0,\\\"t__label\\\"],[12],[2,\\\"\\\\n          Template Preview\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-1\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[8,\\\"settings/email-templates/template-iframe-preview-component\\\",[],[[\\\"@template\\\",\\\"@classNames\\\"],[[34,1],\\\"twk__template-editor__iframe\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"titleToken\\\",\\\"template\\\",\\\"action\\\",\\\"app\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/email-templates/edit-template.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"lBOaGD0z\",\"block\":\"{\\\"symbols\\\":[\\\"renderedTemplate\\\",\\\"paywall\\\",\\\"paywall\\\"],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,2]]],null],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[\\\"@jsBindingClass\\\"],[\\\"js__settings-container\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__label f__group-label\\\"],[12],[2,\\\"\\\\n    Default template\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"p\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n    This template will be selected by default when you compose a new message\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[8,\\\"intercom-select-component\\\",[],[[\\\"@value\\\",\\\"@content\\\",\\\"@optionLabelPath\\\",\\\"@optionValuePath\\\",\\\"@classNames\\\",\\\"@scrollParentSelector\\\"],[[34,3],[34,4],\\\"name\\\",\\\"id\\\",\\\"twk__email-templates-settings-default-email-template-dropdown\\\",\\\".js__settings-container\\\"]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[\\\"Save\\\",\\\"primary\\\",[30,[36,5],[[32,0],\\\"save\\\"],null],[34,6]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__label f__group-label\\\"],[12],[2,\\\"\\\\n    Custom templates\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"p\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n    Create a reusable custom email template or if you're sending a one-off email, import the HTML when composing a message.\\\\n    \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\",\\\"@linkStyling\\\"],[\\\"https://www.intercom.com/help/engaging-your-users-and-visitors/send-emails-that-work/a-guide-to-creating-html-emails\\\",\\\"Learn more\\\",\\\"article\\\",\\\"inline\\\"]],null],[2,\\\".\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-1\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[8,\\\"paywall\\\",[[24,0,\\\"u__display-inline-block\\\"]],[[\\\"@app\\\",\\\"@featureKey\\\"],[[34,0],\\\"custom_email_templates\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,3,[\\\"Hover\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@action\\\",\\\"@disabled\\\"],[\\\"primary\\\",[30,[36,5],[[32,0],\\\"createNewCustomEmailTemplate\\\"],null],[32,3,[\\\"isActive\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[1,[30,[36,7],[\\\"new\\\"],null]],[2,\\\" Create new template\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n  \\\"],[8,\\\"paywall\\\",[[24,0,\\\"u__display-inline-block\\\"]],[[\\\"@app\\\",\\\"@featureKey\\\"],[[34,0],\\\"custom_email_templates\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"t__light-text btn__associated-content u__ml__10\\\"],[12],[2,\\\"\\\\n        or \\\"],[11,\\\"a\\\"],[4,[38,5],[[32,0],\\\"copyIntercomTemplate\\\"],null],[12],[2,\\\"\\\\n          Duplicate an Intercom pre-made template\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[8,[32,2,[\\\"Badge\\\"]],[],[[],[]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,10],[[30,[36,9],[[30,[36,9],[[35,8]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__left email-templates-settings__email-template-container\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"link-to\\\",[[24,0,\\\"email-templates-settings__email-template-link\\\"]],[[\\\"@route\\\",\\\"@models\\\"],[\\\"apps.app.settings.email-templates.edit-template\\\",[30,[36,1],[[35,0],[32,1,[\\\"template\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"messages/email-template-iframe-preview-component\\\",[],[[\\\"@classNames\\\",\\\"@template\\\"],[\\\"email-templates-settings__email-template-iframe\\\",[32,1]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[8,\\\"link-to\\\",[[24,0,\\\"u__one-truncated-line email-templates-settings__email-title-link\\\"]],[[\\\"@route\\\",\\\"@models\\\",\\\"@title\\\"],[\\\"apps.app.settings.email-templates.edit-template\\\",[30,[36,1],[[35,0],[32,1,[\\\"template\\\"]]],null],[32,1,[\\\"template\\\",\\\"name\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[1,[32,1,[\\\"template\\\",\\\"name\\\"]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"app\\\",\\\"array\\\",\\\"titleToken\\\",\\\"defaultEmailTemplate\\\",\\\"templatesAvailableForAppDefault\\\",\\\"action\\\",\\\"emailTemplatesSettingsIsClean\\\",\\\"ic-interface-icon\\\",\\\"renderedTemplates\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/email-templates/email-templates.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"NCc8Vd1m\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,1]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"pulse/help-content/link\\\",[[24,\\\"data-track-analytics-event-object\\\",\\\"track_events_article\\\"]],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/the-intercom-platform/track-events-in-intercom\\\",\\\"Learn more\\\",\\\"article\\\"]],null],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,2]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"span\\\"],[14,0,\\\"u__ml__10\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@testBindingClass\\\"],[\\\"Track an event\\\",\\\"primary\\\",[30,[36,0],[[32,0],\\\"openEventCreationModal\\\"],null],\\\"test__settings__events__create-event-button\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 u__padt__20 u__padb__20 u__padl__30 u__padr__30\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"settings/events/events-table\\\",[],[[\\\"@app\\\",\\\"@activeEvents\\\",\\\"@archivedEvents\\\",\\\"@eventTrackers\\\"],[[34,4],[34,5],[34,6,[\\\"archivedEvents\\\"]],[34,7]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"titleToken\\\",\\\"showEventCreationButton\\\",\\\"if\\\",\\\"app\\\",\\\"activeEvents\\\",\\\"eventSettings\\\",\\\"eventTrackers\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/events.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"qtjhO6F9\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,5]]],null],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__v2__group\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__label o__no-visual-margins\\\"],[12],[2,\\\"\\\\n      Name of your workspace\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[8,\\\"input\\\",[[24,0,\\\"f__text test__app-name-field\\\"]],[[\\\"@value\\\",\\\"@type\\\",\\\"@disabled\\\"],[[34,3,[\\\"name\\\"]],\\\"text\\\",[34,1,[\\\"isTestApp\\\"]]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__v2__group\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__label o__no-visual-margins\\\"],[12],[2,\\\"\\\\n      Time zone\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[8,\\\"one-way-select\\\",[],[[\\\"@options\\\",\\\"@value\\\",\\\"@optionValuePath\\\",\\\"@optionLabelPath\\\",\\\"@update\\\"],[[34,6],[34,7],\\\"name\\\",\\\"description\\\",[30,[36,0],[[32,0],[30,[36,8],[[35,7]],null]],null]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"t__light-text o__no-visual-margins\\\"],[12],[2,\\\"\\\\n    Defaults to the location of the teammate who set up this workspace. Changing it will affect time-dependent features across Intercom.\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,9],[[35,1,[\\\"isTestApp\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__v2__group\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__label o__no-visual-margins\\\"],[12],[2,\\\"\\\\n        Collect social data about your users\\\\n        \\\"],[8,\\\"ic-tooltip-icon\\\",[],[[\\\"@content\\\"],[\\\"By enabling this feature, we will collect social profiles for all your users and leads who give us their email\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[14,0,\\\"f__v2__checkbox-label u__cf\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[34,3,[\\\"should_gather_social_data\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[34,4]],[2,\\\" social profiles (e.g. LinkedIn, Twitter, etc.) for my users via a third party\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/faqs-and-troubleshooting/your-users-and-leads-data-in-intercom/where-do-the-social-profiles-come-from\\\",\\\"More about social profiles\\\",\\\"article\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__v2__group\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__label o__no-visual-margins\\\"],[12],[2,\\\"\\\\n      Companies\\\\n\\\"],[6,[37,9],[[35,1,[\\\"companies_actived\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"ic-tooltip-icon\\\",[],[[\\\"@content\\\"],[\\\"Companies won't be shown until you send us some company data.\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"label\\\"],[14,0,\\\"f__v2__checkbox-label u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"input\\\",[[24,0,\\\"test__enable-companies-checkbox\\\"]],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[34,3,[\\\"companies_enabled\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n        Enable company related features throughout Intercom (company profiles, company lists, etc.)\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/configure-intercom-for-your-product-or-site/customize-intercom-to-be-about-your-users/group-your-users-by-company\\\",\\\"How does the companies feature work?\\\",\\\"article\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,9],[[30,[36,10],[[35,1,[\\\"isTestApp\\\"]],[35,1,[\\\"isDeveloperWorkspace\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__v2__group\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__label o__no-visual-margins\\\"],[12],[2,\\\"\\\\n        Test workspace\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[14,0,\\\"f__v2__checkbox-label u__cf\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"input\\\"],[15,\\\"checked\\\",[34,3,[\\\"uses_test_app\\\"]]],[15,\\\"onchange\\\",[30,[36,0],[[32,0],\\\"toggleTestAppUse\\\"],null]],[14,4,\\\"checkbox\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content test__app-test-version-enabler\\\"],[12],[2,\\\"\\\\n          Enable a test workspace for \\\"],[1,[35,1,[\\\"name\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,3,[\\\"uses_test_app\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,2],[[35,1,[\\\"test_app_id\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"p\\\"],[14,0,\\\"t__light-text o__no-visual-margins test__app-settings-test-app-description\\\"],[12],[2,\\\"\\\\n            Your test workspace’s ID code is \\\"],[10,\\\"strong\\\"],[12],[1,[35,1,[\\\"test_app_id\\\"]]],[13],[2,\\\". You can add new test integrations in the App Store of the test workspace.\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/configure-intercom-for-your-product-or-site/create-a-test-version-of-intercom/create-a-test-version-of-intercom\\\",\\\"How to set up a test workspace\\\",\\\"article\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr mb-6\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@onClick\\\",\\\"@saving\\\",\\\"@disabled\\\",\\\"@testBindingClass\\\"],[\\\"primary\\\",[30,[36,0],[[32,0],\\\"save\\\"],null],[34,3,[\\\"isSaving\\\"]],[34,11],\\\"test__app-settings-save-button\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,2],[[35,3,[\\\"isSaving\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      Saving…\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      Save\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,9],[[35,1,[\\\"isTestApp\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__v2__group\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__label o__no-visual-margins\\\"],[12],[2,\\\"\\\\n        Extreme measures\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@icon\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@testBindingClass\\\"],[\\\"Delete this workspace\\\",\\\"delete\\\",\\\"secondary-destructive\\\",[30,[36,0],[[32,0],\\\"destroyApp\\\"],null],\\\"test__delete-app-button\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"app\\\",\\\"if\\\",\\\"model\\\",\\\"collectOrGather\\\",\\\"titleToken\\\",\\\"timezoneOptions\\\",\\\"selectedTimezone\\\",\\\"mut\\\",\\\"unless\\\",\\\"or\\\",\\\"isNotDirty\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/general.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"3zJbR87J\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/identity-verification/verify-user-identity-component\\\",[],[[\\\"@userSource\\\",\\\"@userSources\\\",\\\"@secrets\\\"],[\\\"android\\\",[34,0],[30,[36,2],[[35,1,[\\\"api_secret\\\"]]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"userSources\\\",\\\"sdkApp\\\",\\\"array\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/identity-verification/android.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"s0eupRZT\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/identity-verification/verify-user-identity-component\\\",[],[[\\\"@userSource\\\",\\\"@userSources\\\",\\\"@secrets\\\"],[\\\"ios\\\",[34,0],[30,[36,2],[[35,1,[\\\"api_secret\\\"]]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"userSources\\\",\\\"sdkApp\\\",\\\"array\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/identity-verification/ios.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Jl0WXBhr\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/identity-verification/verify-user-identity-component\\\",[],[[\\\"@pingDomains\\\",\\\"@identityVerificationSettings\\\",\\\"@userSource\\\",\\\"@userSources\\\",\\\"@identityVerified\\\",\\\"@secrets\\\"],[[32,0,[\\\"pingDomains\\\"]],[32,0,[\\\"identityVerificationSettings\\\"]],\\\"web\\\",[32,0,[\\\"userSources\\\"]],[32,0,[\\\"app\\\",\\\"identityVerified\\\"]],[32,0,[\\\"app\\\",\\\"api_secrets\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/identity-verification/web.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"OU4ZFJtG\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,0]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/configure-intercom-for-your-product-or-site/customize-intercom-to-be-about-your-users/import-your-user-data-into-intercom\\\",\\\"Learn more about importing user data\\\",\\\"article\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[8,\\\"settings/import-table-component\\\",[],[[\\\"@model\\\",\\\"@app\\\"],[[34,1],[34,2]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"titleToken\\\",\\\"model\\\",\\\"app\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/imports.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"irjlp49q\",\"block\":\"{\\\"symbols\\\":[\\\"@model\\\"],\\\"statements\\\":[[8,\\\"settings/data/inbox-views\\\",[],[[\\\"@inboxViews\\\"],[[32,1]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/inbox-views.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"BxGTcXID\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[32,0,[\\\"titleToken\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://developers.intercom.com/docs/ios-installation\\\",\\\"Learn more about installing on iOS\\\",\\\"developer\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"ic-content\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"sdkApp\\\",\\\"is_activated\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"confirmation\\\",\\\"Intercom has been installed in your iOS app\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"help\\\",\\\"Intercom isn’t installed for your iOS app yet\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,\\\"paragraph\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      This syncs live user data from your iOS app to Intercom, installs the Intercom Messenger, and lets you send in-app messages.\\\\n      \\\"],[10,\\\"a\\\"],[15,6,[31,[[32,0,[\\\"docsUrl\\\"]]]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"text\\\",[],[[\\\"@linkStyling\\\"],[\\\"standalone\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          View installation instructions\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"2\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      Add your API Key\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"text\\\",[],[[\\\"@styling\\\"],[\\\"label\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      iOS API Key\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"admin\\\",\\\"hasProductAccessForCurrentApp\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"paragraph\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[1,[32,0,[\\\"apiKey\\\"]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"warning\\\",\\\"Full Access required to view API Keys\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,\\\"text\\\",[],[[\\\"@styling\\\"],[\\\"label\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      Your app ID\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,\\\"paragraph\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[1,[32,0,[\\\"app\\\",\\\"id\\\"]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n\\\"],[6,[37,0],[[32,0,[\\\"admin\\\",\\\"hasProductAccessForCurrentApp\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"paragraph\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        After installing Intercom, paste this line of code into your\\\\n        \\\"],[10,\\\"code\\\"],[14,0,\\\"start__inline-code\\\"],[12],[2,\\\"didFinishLaunchingWithOptions\\\"],[13],[2,\\\"\\\\n        method:\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n      \\\"],[8,\\\"installation-instructions/ios-installation-snippet-select-component\\\",[],[[\\\"@selectedValue\\\"],[[32,0,[\\\"language\\\"]]]],null],[2,\\\"\\\\n\\\\n\\\"],[6,[37,0],[[32,0,[\\\"exampleIsSwift\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"installation-instructions/code-component\\\",[],[[\\\"@language\\\"],[[32,0,[\\\"language\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          Intercom.setApiKey(\\\\\\\"\\\"],[1,[32,0,[\\\"apiKey\\\"]]],[2,\\\"\\\\\\\", forAppId:\\\\\\\"\\\"],[1,[32,0,[\\\"app\\\",\\\"id\\\"]]],[2,\\\"\\\\\\\")\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"installation-instructions/code-component\\\",[],[[\\\"@language\\\"],[[32,0,[\\\"language\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          [Intercom setApiKey:@\\\\\\\"\\\"],[1,[32,0,[\\\"apiKey\\\"]]],[2,\\\"\\\\\\\" forAppId:@\\\\\\\"\\\"],[1,[32,0,[\\\"app\\\",\\\"id\\\"]]],[2,\\\"\\\\\\\"];\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@icon\\\",\\\"@label\\\",\\\"@action\\\"],[\\\"secondary-destructive\\\",\\\"delete\\\",\\\"Delete iOS API Key\\\",[30,[36,1],[[32,0],\\\"deleteSdkApp\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,0],[[32,0,[\\\"app\\\",\\\"canUseApnsBasedToken\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"apns-token-or-pem-file-component\\\",[],[[\\\"@sdkApp\\\"],[[32,0,[\\\"sdkApp\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"pem-file-component\\\",[],[[\\\"@sdkApp\\\"],[[32,0,[\\\"sdkApp\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"settings/identity-verification-installation-setup-component\\\",[],[[\\\"@userSource\\\",\\\"@identityVerified\\\"],[\\\"ios\\\",[32,0,[\\\"isSdkAppIdentityVerified\\\"]]]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/ios.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"RGaMK/XE\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"main-content-loading\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"ureiOIYc\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\"],\\\"statements\\\":[[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"activity_logs\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"Banner\\\"]],[],[[\\\"@content\\\"],[\\\"Upgrade to use Teammate activity logs\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\\n\\\"],[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,1]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,3],[[35,2,[\\\"isIntercom\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@icon\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Export\\\",\\\"filled-cloud-download\\\",\\\"secondary\\\",[30,[36,0],[[32,0],\\\"export\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/logs\\\",[],[[\\\"@notValidRequest\\\",\\\"@query\\\",\\\"@requestedDays\\\",\\\"@fromDate\\\",\\\"@toDate\\\",\\\"@maxDays\\\",\\\"@displayedEvents\\\",\\\"@load\\\"],[[34,4],[34,5],[34,6],[34,7],[34,8],[34,9],[34,10],[30,[36,0],[[32,0],\\\"load\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"titleToken\\\",\\\"app\\\",\\\"if\\\",\\\"notValidRequest\\\",\\\"query\\\",\\\"requestedDays\\\",\\\"fromDate\\\",\\\"toDate\\\",\\\"maxDays\\\",\\\"displayedEvents\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/logs.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"69FShHHU\",\"block\":\"{\\\"symbols\\\":[\\\"form\\\",\\\"item\\\",\\\"item\\\"],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[32,0,[\\\"titleToken\\\"]]]],null],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"form\\\",[[24,0,\\\"settings__messaging\\\"]],[[\\\"@onSubmit\\\"],[[30,[36,0],[[32,0,[\\\"save\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"Item\\\"]],[],[[\\\"@label\\\",\\\"@tooltip\\\"],[\\\"Begin new messages with\\\",\\\"To use recipient’s name include {{first_name | fallback: \\\\\\\"there\\\\\\\" }}. The fallback will be used if the recipient doesn’t have a name\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,3,[\\\"Input\\\"]],[[24,0,\\\"settings__messaging__input\\\"]],[[\\\"@value\\\"],[[32,0,[\\\"messagingSettings\\\",\\\"commentPlaceholder\\\"]]]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"Divider\\\"]],[],[[],[]],null],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"Item\\\"]],[],[[\\\"@label\\\"],[\\\"Unsubscribe\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"Checkbox\\\"]],[],[[\\\"@label\\\",\\\"@checked\\\"],[[31,[\\\"Hide all unsubscribe links in \\\",[30,[36,1],[[32,0,[\\\"app\\\",\\\"canUseContentOrientedNavigation\\\"]],\\\"\\\",\\\"auto \\\"],null],\\\"messages\\\"]],[32,0,[\\\"messagingSettings\\\",\\\"hideAllUnsubscribeLinks\\\"]]]],null],[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"Hint\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        You may want to do this if you handle unsubscribes within your own app and are sending this data to Intercom in your users' \\\"],[10,\\\"code\\\"],[12],[2,\\\"intercomSettings\\\"],[13],[2,\\\".\\\\n        \\\"],[8,\\\"pulse/help-content/link\\\",[[24,0,\\\"text-sm\\\"]],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\",\\\"@linkStyling\\\"],[\\\"https://www.intercom.com/help/help-and-faqs/how-do-i-unsubscribe-users/how-do-i-unsubscribe-users-from-receiving-emails\\\",\\\"Learn more about unsubscribing\\\",\\\"article\\\",\\\"inline\\\"]],null],[2,\\\".\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"Divider\\\"]],[],[[],[]],null],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"Submit\\\"]],[],[[\\\"@label\\\",\\\"@processingLabel\\\",\\\"@disabled\\\"],[\\\"Save\\\",\\\"Saving…\\\",[30,[36,2],[[32,0,[\\\"messagingSettings\\\",\\\"hasDirtyAttributes\\\"]]],null]]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"perform\\\",\\\"if\\\",\\\"not\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/messaging.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"n4JGFPLW\",\"block\":\"{\\\"symbols\\\":[\\\"detailView\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\",\\\"@modalClass\\\"],[\\\"closeModal\\\",\\\"o__medium\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[8,\\\"people/attributes/detail-view\\\",[],[[\\\"@attribute\\\",\\\"@typeToCreate\\\",\\\"@dataContext\\\",\\\"@availableTypes\\\",\\\"@showPeopleAndCompanyToggleTab\\\",\\\"@hooks\\\"],[[34,1],[34,6],[34,9],[34,10],[34,7],[34,11]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2 u__one-truncated-line\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,1]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[1,[30,[36,8],[[35,1,[\\\"icon\\\"]]],null]],[1,[35,1,[\\\"name\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[35,7]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            Create a new attribute\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            Create a new \\\"],[1,[34,6]],[2,\\\" attribute\\\\n          \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n        \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right\\\"],[4,[38,0],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,8],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[32,1,[\\\"main\\\"]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[30,[36,13],[[35,1,[\\\"isCustomData\\\"]],[35,12]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__footer layout__box o__has-columns\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[30,[36,5],[[35,4],[35,3]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,2],[[35,1,[\\\"archived\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@label\\\",\\\"@processingLabel\\\",\\\"@onClick\\\"],[\\\"secondary\\\",\\\"Unarchive\\\",\\\"Unarchiving...\\\",[30,[36,0],[[32,0],\\\"unarchiveAttribute\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"              \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@label\\\",\\\"@onClick\\\"],[\\\"secondary-destructive\\\",\\\"Archive\\\",[30,[36,0],[[32,0],\\\"archiveAttribute\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"mt-1\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/en/articles/213\\\",\\\"Learn more about data attributes\\\",\\\"article\\\"]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@label\\\",\\\"@onClick\\\"],[\\\"secondary\\\",\\\"Cancel\\\",[30,[36,0],[[32,0],\\\"closeIntercomModal\\\"],null]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__ml__10 layout__box\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@label\\\",\\\"@processingLabel\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[\\\"primary\\\",\\\"Save\\\",\\\"Saving...\\\",[30,[36,0],[[32,0],\\\"performTask\\\",[32,1,[\\\"saveTask\\\"]]],null],[32,1,[\\\"attribute\\\",\\\"isInvalid\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"attribute\\\",\\\"if\\\",\\\"isEditMode\\\",\\\"allowArchival\\\",\\\"and\\\",\\\"typeToCreate\\\",\\\"showPeopleAndCompanyToggleTab\\\",\\\"ic-interface-icon\\\",\\\"dataContext\\\",\\\"availableTypes\\\",\\\"hooks\\\",\\\"isCreateMode\\\",\\\"or\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/modals/attribute-details.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"1RZR0AEg\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\",\\\"rulesets\\\",\\\"content_type\\\",\\\"ruleset\\\",\\\"tour\\\",\\\"rule\\\",\\\"bot\\\",\\\"taskBot\\\",\\\"emailTemplate\\\",\\\"campaign\\\",\\\"goal\\\",\\\"autoMessage\\\",\\\"segment\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\"],[\\\"closeModal\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[34,40]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,0],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,41],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,42]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__relative\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item pt-16\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[35,3]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,2],[[35,38]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n          Archiving this event prevents your team from using it. Its data will still be stored.\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      Are you sure you want to \\\"],[1,[34,25]],[2,\\\" this \\\"],[1,[34,26]],[2,\\\"? \\\"],[1,[34,39]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"p\\\"],[14,0,\\\"mb-2\\\"],[12],[2,\\\"\\\\n        You cannot \\\"],[1,[34,25]],[2,\\\" this \\\"],[1,[34,26]],[2,\\\", as it’s used elsewhere.\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,27]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n          It’s used in the following segments:\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"ul\\\"],[14,0,\\\"mb-2\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[30,[36,6],[[30,[36,6],[[35,24]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,14,[\\\"is_company\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[8,\\\"link-to\\\",[[24,\\\"target\\\",\\\"_blank\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"apps.app.companies.segments.segment\\\",[32,14,[\\\"segment_id\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                  \\\"],[1,[32,14,[\\\"name\\\"]]],[2,\\\"\\\\n                \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"                \\\"],[8,\\\"link-to\\\",[[24,\\\"target\\\",\\\"_blank\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"apps.app.users.segments.segment\\\",[32,14,[\\\"segment_id\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                  \\\"],[1,[32,14,[\\\"name\\\"]]],[2,\\\"\\\\n                \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[14]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,2],[[35,28]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n          It’s used in the following auto-messages:\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"ul\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[30,[36,6],[[30,[36,6],[[35,23]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"link-to\\\",[[24,\\\"target\\\",\\\"_blank\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"apps.app.outbound.message\\\",[32,13,[\\\"id\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                \\\"],[1,[32,13,[\\\"title\\\"]]],[2,\\\"\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[13]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,2],[[35,29]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n          It’s used in the following manual message goals:\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"ul\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[30,[36,6],[[30,[36,6],[[35,22]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"link-to\\\",[[24,\\\"target\\\",\\\"_blank\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"apps.app.outbound.messages.manual.message\\\",[32,12,[\\\"message_id\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                Manual message\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[12]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,2],[[35,30]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n          It’s used in the following campaigns:\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"ul\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[30,[36,6],[[30,[36,6],[[35,21]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"link-to\\\",[[24,\\\"target\\\",\\\"_blank\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"apps.app.outbound.messages.auto.campaigns.campaign.index\\\",[32,11,[\\\"id\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                \\\"],[1,[32,11,[\\\"title\\\"]]],[2,\\\"\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[11]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,2],[[35,31]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n          It’s used in \\\"],[1,[30,[36,20],[[35,19,[\\\"length\\\"]],\\\"email template\\\"],null]],[2,\\\":\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"ul\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[30,[36,6],[[30,[36,6],[[35,19]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"link-to\\\",[[24,\\\"target\\\",\\\"_blank\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"apps.app.settings.email-templates.edit-template\\\",[32,10,[\\\"id\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                \\\"],[1,[32,10,[\\\"name\\\"]]],[2,\\\"\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[10]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,2],[[35,32]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3 mb-4\\\"],[12],[2,\\\"\\\\n          It’s used to tag \\\"],[1,[35,17,[\\\"length\\\"]]],[2,\\\" message\\\"],[1,[30,[36,2],[[30,[36,18],[[35,17,[\\\"length\\\"]],1],null],\\\"s\\\"],null]],[2,\\\".\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"a\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0],\\\"transitionToTaggedMessages\\\"],null]],[12],[2,\\\"\\\\n          \\\"],[8,\\\"text\\\",[],[[\\\"@linkStyling\\\"],[\\\"inline\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Go to tagged message(s)\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,2],[[35,33]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n          It’s used by a\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[8,\\\"link-to\\\",[[24,\\\"target\\\",\\\"_blank\\\"]],[[\\\"@route\\\"],[\\\"apps.app.settings.qualification-settings\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          lead qualification attribute\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\".\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,2],[[32,0,[\\\"hasDependentTaskBots\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n          It’s used in the following task bots:\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"ul\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[30,[36,6],[[30,[36,6],[[32,0,[\\\"dependentTaskBots\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,2],[[30,[36,16],[[32,9],\\\"upfront_collection\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n                \\\"],[8,\\\"link-to\\\",[[24,\\\"target\\\",\\\"_blank\\\"]],[[\\\"@route\\\",\\\"@query\\\"],[\\\"apps.app.operator.task-bots.users\\\",[30,[36,12],null,[[\\\"section\\\"],[\\\"upfront-collection-users\\\"]]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                  Upfront collection bot\\\\n                \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n                \\\"],[8,\\\"link-to\\\",[[24,\\\"target\\\",\\\"_blank\\\"]],[[\\\"@route\\\"],[\\\"apps.app.operator.task-bots\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                  Manage Task Bots\\\\n                \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[9]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,2],[[35,34]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n          It’s used in the following custom bots:\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"ul\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[30,[36,6],[[30,[36,6],[[35,15]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"link-to\\\",[[24,\\\"target\\\",\\\"_blank\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"apps.app.operator.custom-bots.custom-bot.show\\\",[32,8,[\\\"id\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                \\\"],[1,[32,8,[\\\"title\\\"]]],[2,\\\"\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[8]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,2],[[35,35]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n          It’s used by a\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[8,\\\"link-to\\\",[[24,\\\"target\\\",\\\"_blank\\\"]],[[\\\"@route\\\"],[\\\"apps.app.operator.custom-bots\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          Custom Bot\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\".\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,2],[[35,36]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n          It’s used in the following rules:\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"ul\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[30,[36,6],[[30,[36,6],[[35,14]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,13,[\\\"canUseWorkflows\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[8,\\\"link-to\\\",[[24,\\\"target\\\",\\\"_blank\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"apps.app.inbox.automation.workflows.edit\\\",[32,7,[\\\"id\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                  \\\"],[1,[32,7,[\\\"name\\\"]]],[2,\\\"\\\\n                \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"                \\\"],[8,\\\"link-to\\\",[[24,\\\"target\\\",\\\"_blank\\\"]],[[\\\"@route\\\",\\\"@query\\\"],[\\\"apps.app.inbox.rules\\\",[30,[36,12],null,[[\\\"id\\\"],[[32,7,[\\\"id\\\"]]]]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                  \\\"],[1,[32,7,[\\\"name\\\"]]],[2,\\\"\\\\n                \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[7]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,2],[[35,37]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n            It’s used in the following Team Intros:\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[8,\\\"link-to\\\",[[24,\\\"target\\\",\\\"_blank\\\"]],[[\\\"@route\\\"],[\\\"apps.app.messenger\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[1,[30,[36,11],[\\\", \\\",[35,10]],null]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\".\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[6,[37,2],[[35,43]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n        It’s used in the following tours:\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"ul\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[30,[36,6],[[30,[36,6],[[35,9]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"link-to\\\",[[24,\\\"target\\\",\\\"_blank\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"apps.app.tours.edit\\\",[32,6,[\\\"id\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[1,[32,6,[\\\"title\\\"]]],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[6]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,44]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,7],[[30,[36,8],[[32,0,[\\\"rulesetsByContentType\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n          It’s used in the following contents of type \\\"],[1,[30,[36,5],[[30,[36,4],[[32,3,[\\\"firstObject\\\",\\\"object_type\\\"]]],null]],null]],[2,\\\":\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"ul\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[30,[36,6],[[30,[36,6],[[32,3]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"link-to\\\",[[24,\\\"target\\\",\\\"_blank\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[[31,[\\\"apps.app.outbound.\\\",[30,[36,4],[[32,3,[\\\"firstObject\\\",\\\"object_type\\\"]]],null],\\\".edit\\\"]],[32,5,[\\\"id\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                \\\"],[1,[32,5,[\\\"title\\\"]]],[2,\\\"\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[3,4]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[\\\"@processing\\\"],[[34,45]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,2],[[35,46]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Cancel\\\",\\\"secondary\\\",[30,[36,0],[[32,0],\\\"closeIntercomModal\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,47],[[35,42]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,2],[[35,3]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,2],[[35,1]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@action\\\"],[\\\"Archive\\\",\\\"primary-destructive\\\",\\\"confirmArchive\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@action\\\",\\\"@testBindingClass\\\"],[\\\"Delete\\\",\\\"primary-destructive\\\",\\\"confirmDelete\\\",\\\"test__confirm-object-deletion\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@testBindingClass\\\"],[\\\"Okay\\\",\\\"primary\\\",[30,[36,0],[[32,0],\\\"closeIntercomModal\\\"],null],\\\"test__accept-no-deletion\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"shouldArchive\\\",\\\"if\\\",\\\"canDeleteOrArchive\\\",\\\"content-type\\\",\\\"capitalize\\\",\\\"-track-array\\\",\\\"each\\\",\\\"-each-in\\\",\\\"dependentTours\\\",\\\"dependentTeamIntros\\\",\\\"join\\\",\\\"hash\\\",\\\"app\\\",\\\"dependentRules\\\",\\\"dependentCustomBots\\\",\\\"eq\\\",\\\"dependentContents\\\",\\\"gt\\\",\\\"dependentEmailTemplates\\\",\\\"pluralize\\\",\\\"dependentCampaigns\\\",\\\"dependentManualMessageGoals\\\",\\\"dependentAutoMessages\\\",\\\"dependentSegments\\\",\\\"archiveOrDelete\\\",\\\"type\\\",\\\"hasDependentSegments\\\",\\\"hasDependentAutoMessages\\\",\\\"hasDependentManualMessageGoals\\\",\\\"hasDependentCampaigns\\\",\\\"hasDependentEmailTemplates\\\",\\\"hasDependentContents\\\",\\\"hasDependentQualificationAttribute\\\",\\\"hasDependentCustomBots\\\",\\\"hasDependentCustomBotControls\\\",\\\"hasDependentRules\\\",\\\"hasDependentTeamIntros\\\",\\\"isAttribute\\\",\\\"promptMessage\\\",\\\"modalTitle\\\",\\\"ic-interface-icon\\\",\\\"isChecking\\\",\\\"hasDependentTours\\\",\\\"hasDependentRulesets\\\",\\\"isSaving\\\",\\\"showCancelButton\\\",\\\"unless\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/modals/checking-dependents.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"V2ls3m5u\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\"],[\\\"close\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,4],[\\\"event\\\"],[[\\\"size\\\"],[24]]]],[2,\\\" \\\"],[1,[34,5]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right\\\"],[4,[38,0],[[32,0],\\\"close\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,4],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body settings__attributes-events__details__modal__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[35,6]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\"],[\\\"help\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        This event is archived. Its data is still stored. \\\\n        \\\"],[11,\\\"a\\\"],[4,[38,0],[[32,0],[30,[36,2],[[35,3]],null]],null],[12],[2,\\\"\\\\n          Restore this event\\\\n        \\\"],[13],[2,\\\" to use it again.\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"t__label\\\"],[12],[2,\\\"\\\\n      Created\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[1,[30,[36,9],[[35,8]],null]],[2,\\\" \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"t__label\\\"],[12],[2,\\\"\\\\n        Description\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"settings__attributes-events__optional-label t__light-text u__ml__10\\\"],[12],[2,\\\"\\\\n        Optional\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[8,\\\"one-way-input\\\",[[24,0,\\\"f__text u__mt__5\\\"],[24,\\\"placeholder\\\",\\\"ex: When someone clicks on “Pricing” link on the homepage\\\"]],[[\\\"@value\\\",\\\"@update\\\"],[[34,10],[30,[36,0],[[32,0],\\\"changeDescription\\\"],null]]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@label\\\",\\\"@processingLabel\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[\\\"primary\\\",\\\"Save\\\",\\\"Saving…\\\",[30,[36,2],[[35,11]],null],[30,[36,13],[[35,12,[\\\"hasDirtyAttributes\\\"]]],null]]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"t__label\\\"],[12],[2,\\\"\\\\n      Event Data\\\\n    \\\"],[13],[2,\\\"\\\\n    See\\\\n    \\\"],[8,\\\"link-to\\\",[[24,\\\"target\\\",\\\"_blank\\\"],[24,\\\"data-track-analytics-event-object\\\",\\\"users_list_filtered_by_event\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"apps.app.users.segments.segment\\\",[34,14]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      users\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    and\\\\n    \\\"],[8,\\\"link-to\\\",[[24,\\\"target\\\",\\\"_blank\\\"],[24,\\\"data-track-analytics-event-object\\\",\\\"leads_list_filtered_by_event\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"apps.app.users.segments.segment\\\",[34,15]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      leads\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    associated with this event.\\\\n\\\"],[6,[37,7],[[35,16]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"t__label\\\"],[12],[2,\\\"\\\\n        Codeless Tracking\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[[24,0,\\\"u__prevent-breaks u__mt__5\\\"]],[[\\\"@label\\\",\\\"@processingLabel\\\",\\\"@onClick\\\",\\\"@type\\\"],[\\\"Remove Tracking\\\",\\\"Removing event tracker...\\\",[30,[36,2],[[35,1]],null],\\\"secondary-destructive\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,17],[[35,6]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"t__label\\\"],[12],[2,\\\"\\\\n        Archive event\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[[24,0,\\\"u__mt__5\\\"]],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Archive\\\",\\\"secondary-destructive\\\",[30,[36,0],[[32,0],\\\"archive\\\"],null]]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"p\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n        Archiving this event prevents your team from using it. Its data will still be stored.\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"deleteEventTracker\\\",\\\"perform\\\",\\\"unArchive\\\",\\\"ic-interface-icon\\\",\\\"humanFriendlyName\\\",\\\"isArchived\\\",\\\"if\\\",\\\"createdAt\\\",\\\"full-relative-time-ago-helper\\\",\\\"description\\\",\\\"changeDescription\\\",\\\"event\\\",\\\"not\\\",\\\"userListParam\\\",\\\"leadListParam\\\",\\\"eventTracker\\\",\\\"unless\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/modals/custom-event-details.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"fOcHzxRU\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\"],[\\\"closeModal\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[34,0]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,1],[[32,0],\\\"cancel\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,2],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"modal__body__delete-app-text test__delete-app-modal-text u__center-layout \\\",[30,[36,4],[[35,3],\\\"o__center-text\\\"],null]]]],[12],[2,\\\"\\\\n      \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n        Are you ABSOLUTELY sure you want to delete this workspace?\\\\n\\\"],[6,[37,4],[[35,5,[\\\"customer_has_active_subscription\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          Your subscription will be immediately cancelled, and you’ll lose access to all data.\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        To delete your workspace, type its full name (\\\"],[10,\\\"b\\\"],[12],[1,[35,6,[\\\"name\\\"]]],[13],[2,\\\") below:\\\\n        \\\"],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"input\\\",[[16,0,[34,8]],[24,\\\"placeholder\\\",\\\"Enter confirmation text here\\\"]],[[\\\"@value\\\"],[[34,7]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@jsBindingClass\\\"],[[34,9],[34,10],[30,[36,1],[[32,0],\\\"cancel\\\"],null],\\\"js__intercom-cancel-button\\\"]],null],[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\",\\\"@jsBindingClass\\\"],[[34,11],[34,12],[30,[36,1],[[32,0],\\\"confirm\\\"],null],[34,13],\\\"js__intercom-confirm-button\\\"]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"title\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"center\\\",\\\"if\\\",\\\"model\\\",\\\"app\\\",\\\"confirmationText\\\",\\\"validationClass\\\",\\\"cancelButtonText\\\",\\\"cancelButtonType\\\",\\\"confirmButtonText\\\",\\\"confirmButtonType\\\",\\\"cannotCreateToken\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/modals/delete-app-modal.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"EBmclAVq\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\",\\\"message\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\"],[\\\"closeModal\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Dependent messages\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n      You cannot delete these office hours, as there are dependent messages\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"ul\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[35,1]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"link-to\\\",[[24,0,\\\"test__dependent-message\\\"],[24,\\\"target\\\",\\\"_blank\\\"]],[[\\\"@route\\\",\\\"@models\\\"],[\\\"apps.app.outbound.message\\\",[30,[36,0],[[32,3,[\\\"id\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[1,[32,3,[\\\"title\\\"]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@testBindingClass\\\"],[\\\"Okay\\\",\\\"primary\\\",[30,[36,4],[[32,0],\\\"closeIntercomModal\\\"],null],\\\"test__dependent-messages-close\\\"]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"array\\\",\\\"model\\\",\\\"-track-array\\\",\\\"each\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/modals/dependent-office-hours-messages.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"JN/LKHs1\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\",\\\"@afterModalClose\\\",\\\"@shimClass\\\"],[\\\"closeModal\\\",\\\"resetState\\\",\\\"show_overflow\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Track an event\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right\\\"],[4,[38,4],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,12],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body settings__attributes-events__event-creation__modal__body\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n      Track your customers' most important actions to create segments and send timely automated messages.\\\\n      See\\\\n      \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\",\\\"@linkStyling\\\"],[\\\"https://www.intercom.com/help/the-intercom-platform/track-events-in-intercom\\\",\\\"best practices and examples\\\",\\\"article\\\",\\\"inline\\\"]],null],[2,\\\".\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__o__has-rows\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,13]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"error\\\",\\\"This event name is already in use\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[10,\\\"label\\\"],[15,0,[31,[\\\"f__group-label t__label \\\",[30,[36,2],[[35,13],\\\"text-red\\\"],null]]]],[12],[2,\\\"\\\\n        Name\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[8,\\\"input\\\",[[24,\\\"placeholder\\\",\\\"e.g. Clicked Pricing Link\\\"],[16,0,[31,[\\\"f__text \\\",[30,[36,2],[[35,13],\\\"o__error\\\"],null]]]]],[[\\\"@value\\\",\\\"@autofocus\\\"],[[34,0],\\\"true\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__o__has-rows\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[14,0,\\\"f__group-label t__label\\\"],[12],[2,\\\"\\\\n        Setup\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"card\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns tabs__discrete-tab__container u__cf\\\"],[12],[2,\\\"\\\\n          \\\"],[11,\\\"a\\\"],[16,0,[31,[\\\"tabs__discrete-tab \\\",[30,[36,2],[[35,14],\\\"o__selected\\\"],null]]]],[4,[38,4],[[32,0],[30,[36,15],[[35,14]],null],true],null],[12],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[15,0,[30,[36,2],[[35,14],\\\"text-blue-dark\\\"],null]],[12],[2,\\\"\\\\n              Without code \\\"],[1,[30,[36,16],[\\\"Beta\\\",\\\"u__ml__5\\\"],null]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[11,\\\"a\\\"],[16,0,[31,[\\\"tabs__discrete-tab \\\",[30,[36,17],[[35,14],\\\"o__selected\\\"],null]]]],[4,[38,4],[[32,0],[30,[36,15],[[35,14]],null],false],null],[12],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[15,0,[30,[36,17],[[35,14],\\\"text-blue-dark\\\"],null]],[12],[2,\\\"\\\\n              With code\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 u__pad__20\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,14]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,2],[[35,8]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__label u__mb__5\\\"],[12],[2,\\\"\\\\n                Tracking\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row flex-1 justify-between items-center\\\"],[12],[2,\\\"\\\\n                \\\"],[8,\\\"bound-web-event-description\\\",[],[[\\\"@boundWebEvent\\\"],[[34,8]]],null],[2,\\\"\\\\n                \\\"],[8,\\\"ic-button\\\",[[24,0,\\\"u__prevent-breaks u__ml__15\\\"]],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Remove tracking\\\",\\\"secondary-destructive\\\",[30,[36,11],[[35,10],[35,9]],null]]],null],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n              \\\"],[10,\\\"p\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n                Tracking for this event depends your website or app’s current code.\\\\n                If the code changes, you may need to update this tracking.\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n                Track a new event without writing any code. Simply point and click on the button or link you want to track on your website or app.\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,1]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                  \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"error\\\",\\\"It doesn't look like you have Intercom installed on this website yet. Please install the Intercom Messenger or choose another website to track customer events.\\\"]],null],[2,\\\"\\\\n                  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"                \\\"],[10,\\\"h3\\\"],[15,0,[31,[\\\"t__label \\\",[30,[36,2],[[35,1],\\\"text-red\\\"],null]]]],[12],[2,\\\"\\\\n                  Enter your app or site address\\\\n                \\\"],[13],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n                \\\"],[8,\\\"events-creator-url-component\\\",[],[[\\\"@pingDomains\\\",\\\"@invalidUrl\\\",\\\"@onUrlChanged\\\",\\\"@onEnterPressed\\\"],[[34,3],[34,1],[30,[36,4],[[32,0],\\\"onUrlChanged\\\"],null],[30,[36,4],[[32,0],\\\"openBoundEventCreator\\\"],null]]],null],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n                \\\"],[8,\\\"ic-button\\\",[[24,0,\\\"u__right\\\"]],[[\\\"@label\\\",\\\"@type\\\",\\\"@disabled\\\",\\\"@onClick\\\"],[\\\"Set up tracking\\\",\\\"secondary-live\\\",[30,[36,7],[[30,[36,6],[[35,0],\\\"\\\"],null],[30,[36,6],[[35,5],\\\"\\\"],null]],null],[30,[36,4],[[32,0],\\\"openBoundEventCreator\\\"],null]]],null],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n              Set up with code for the most accurate and reliable event tracking. Add this snippet to your website or app to track when your customers trigger the event.\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n            \\\"],[8,\\\"installation-instructions/code-component\\\",[],[[\\\"@language\\\"],[\\\"javascript\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              window.Intercom(\\\\\\\"trackEvent\\\\\\\", \\\\\\\"\\\"],[1,[34,0]],[2,\\\"\\\\\\\");\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[\\\"Done\\\",\\\"primary\\\",[30,[36,4],[[32,0],\\\"closeIntercomModal\\\"],null],[30,[36,19],[[35,18]],null]]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"name\\\",\\\"invalidUrl\\\",\\\"if\\\",\\\"pingDomains\\\",\\\"action\\\",\\\"url\\\",\\\"eq\\\",\\\"or\\\",\\\"boundWebEvent\\\",\\\"event\\\",\\\"deleteBoundWebEvent\\\",\\\"perform\\\",\\\"ic-interface-icon\\\",\\\"hasNameConflict\\\",\\\"codelessTracking\\\",\\\"mut\\\",\\\"ic-stamp\\\",\\\"unless\\\",\\\"doneEnabled\\\",\\\"not\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/modals/event-creation-modal.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"wCojtFtK\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\"],[\\\"closeModal\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Export logs\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n      You’re about to download all the teammate activity between \\\"],[10,\\\"strong\\\"],[12],[1,[30,[36,2],null,[[\\\"date\\\",\\\"format\\\"],[[35,1],\\\"dateWithoutYear\\\"]]]],[13],[2,\\\"\\\\n      and \\\"],[10,\\\"strong\\\"],[12],[1,[30,[36,2],null,[[\\\"date\\\",\\\"format\\\"],[[35,3],\\\"dateWithoutYear\\\"]]]],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"h4\\\"],[14,0,\\\"t__h4 text-gray\\\"],[12],[2,\\\"\\\\n      Choose what format to download your data in\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__horizontal-select-container o__small layout__box o__has-columns test__delivery-channel-options\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"div\\\"],[24,0,\\\"f__horizontal-select layout__box o__flexes-to-1\\\"],[4,[38,4],[[32,0],\\\"download\\\",\\\"csv\\\"],null],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"f__horizontal-select-inner u__center-item t__centered\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h4 text-gray\\\"],[12],[2,\\\"\\\\n            CSV\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[11,\\\"div\\\"],[24,0,\\\"f__horizontal-select layout__box o__flexes-to-1\\\"],[4,[38,4],[[32,0],\\\"download\\\",\\\"json\\\"],null],[12],[2,\\\"\\\\n\\\"],[6,[37,6],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"f__horizontal-select-selected-icon\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,0],[\\\"small-check\\\"],null]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"f__horizontal-select-inner u__center-item t__centered\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h4 text-gray\\\"],[12],[2,\\\"\\\\n            JSON\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[11,\\\"div\\\"],[24,0,\\\"f__horizontal-select layout__box o__flexes-to-1\\\"],[4,[38,4],[[32,0],\\\"download\\\",\\\"xml\\\"],[[\\\"solo\\\"],[true]]],[12],[2,\\\"\\\\n\\\"],[6,[37,6],[[35,7]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"f__horizontal-select-selected-icon\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,0],[\\\"small-check\\\"],null]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"f__horizontal-select-inner u__center-item t__centered\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h4 text-gray\\\"],[12],[2,\\\"\\\\n            XML\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Close\\\",\\\"secondary\\\",[30,[36,4],[[32,0],\\\"closeIntercomModal\\\"],null]]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"ic-interface-icon\\\",\\\"from\\\",\\\"format-date\\\",\\\"to\\\",\\\"action\\\",\\\"userSelectedIOSFirst\\\",\\\"if\\\",\\\"userSelectedAndroidFirst\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/modals/logs-export.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"rgVaroSC\",\"block\":\"{\\\"symbols\\\":[\\\"admin\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\"],[\\\"closeModal\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        This feature is restricted\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,1],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,2],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body o__no-footer\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"mb-5\\\"],[12],[2,\\\"\\\\n      Ask one of your teammates to give you permission.\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[30,[36,4],[[30,[36,4],[[35,3,[\\\"adminsWhoCanChangePermissions\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"avatar__container o__s m__permissions__request u__truncated-inline-block\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"img\\\"],[15,\\\"src\\\",[32,1,[\\\"avatar\\\",\\\"image_urls\\\",\\\"square_25\\\"]]],[14,0,\\\"avatar o__contained o__s\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[1,[30,[36,0],[[32,1,[\\\"email\\\"]],[32,1,[\\\"first_name\\\"]],\\\"t__h3 t__solo-link\\\"],null]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"mail-to-helper\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"model\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/modals/permission-request.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"8/W8CzdH\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@modalClass\\\",\\\"@closeModal\\\"],[\\\"o__medium\\\",\\\"closeModal\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header u__cf flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Remove Inbox seat?\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,0],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,1],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\"],[\\\"warning\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      You’re about to remove an Inbox seat from \\\"],[1,[35,2,[\\\"name\\\"]]],[2,\\\". \\\"],[1,[35,3,[\\\"removeSeatPriceInfo\\\"]]],[2,\\\".\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,\\\"settings/teammates/remove/reassign-conversations\\\",[],[[\\\"@app\\\",\\\"@teammate\\\",\\\"@reassignments\\\",\\\"@updateSelection\\\"],[[34,2],[34,4],[34,5],[30,[36,0],[[32,0],\\\"updateSelection\\\"],null]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[\\\"@processing\\\"],[[34,6,[\\\"isRunning\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\"],[\\\"Cancel\\\",[30,[36,0],[[32,0],\\\"closeModal\\\",[35,7]],null]]],null],[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@processingLabel\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[[30,[36,9],[[35,8],\\\"Remove teammate\\\",\\\"Remove seat\\\"],null],[30,[36,9],[[35,8],\\\"Removing teammate…\\\",\\\"Removing seat…\\\"],null],[30,[36,9],[[35,8],\\\"primary-destructive\\\",\\\"primary-live\\\"],null],[30,[36,10],[[35,6]],null],[30,[36,12],[[35,11]],null]]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"ic-interface-icon\\\",\\\"app\\\",\\\"options\\\",\\\"model\\\",\\\"reassignments\\\",\\\"save\\\",\\\"isSecondaryModal\\\",\\\"isDeleting\\\",\\\"if\\\",\\\"perform\\\",\\\"canSave\\\",\\\"not\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/modals/reassign-messages.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"0X2VTRyO\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\"],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[32,0,[\\\"titleToken\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/en/articles/3305941-Define-office-hours-for-each-team-inbox\\\",\\\"About office hours\\\",\\\"article\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"team_level_office_hours\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-8\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-content\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"paragraph\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Set up office hours for your workspace to manage customer expectations and internal workflows.\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"2\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Default office hours\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[8,\\\"paragraph\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Conversations default to these hours unless you use \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\"],[\\\"apps.app.inbox.automation.assignment\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"assignment rules\\\"]],\\\"parameters\\\":[]}]]],[2,\\\" to direct them to a team with custom office hours.\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"office-hours/default-schedule-card\\\",[],[[\\\"@defaultSchedule\\\",\\\"@openSettingsModal\\\"],[[32,0,[\\\"defaultSchedule\\\"]],[30,[36,0],[[32,0],\\\"openSettingsModal\\\"],null]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n      \\\"],[8,[32,1,[\\\"Block\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"ic-content\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"2\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Custom office hours\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[8,\\\"paragraph\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Set custom office hours for teams with different operating hours — for example, teams in a different time zone\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,1,[\\\"isActive\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"div\\\"],[14,0,\\\"u__mt__20\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[32,0,[\\\"hasCustomSchedules\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"office-hours/schedule-list\\\",[],[[\\\"@schedules\\\",\\\"@openSettingsModal\\\",\\\"@attemptDeleteSchedule\\\"],[[32,0,[\\\"schedules\\\"]],[30,[36,0],[[32,0],\\\"openSettingsModal\\\"],null],[32,0,[\\\"attemptDeleteSchedule\\\"]]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col items-start\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@label\\\",\\\"@icon\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[\\\"primary\\\",\\\"Add custom hours\\\",\\\"new\\\",[30,[36,0],[[32,0],\\\"createOfficeHours\\\"],null],[32,1,[\\\"isActive\\\"]]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"showModal\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"\\\\t\\\"],[8,\\\"office-hours/create-or-update-modal\\\",[],[[\\\"@scheduleToUpdate\\\",\\\"@showModal\\\",\\\"@onModalClose\\\"],[[32,0,[\\\"scheduleToUpdate\\\"]],[32,0,[\\\"showModal\\\"]],[30,[36,0],[[32,0],\\\"closeModal\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[32,0,[\\\"showConfirmScheduleDelete\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"office-hours/confirm-schedule-delete\\\",[],[[\\\"@scheduleToDelete\\\",\\\"@deleteSchedule\\\",\\\"@dependentObjects\\\",\\\"@defaultSchedule\\\",\\\"@onModalClose\\\"],[[32,0,[\\\"scheduleToDelete\\\"]],[32,0,[\\\"deleteSchedule\\\"]],[32,0,[\\\"dependentObjects\\\"]],[32,0,[\\\"defaultSchedule\\\"]],[30,[36,0],[[32,0],\\\"closeModal\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/office-hours.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"jZDvZe5s\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,0]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center gap-4\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/configure-intercom-for-your-product-or-site/customize-intercom-to-be-about-your-users/send-custom-user-attributes-to-intercom#how-do-i-do-it\\\",\\\"Learn more\\\",\\\"article\\\"]],null],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"u__ml__10\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@icon\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Create attribute\\\",\\\"new\\\",\\\"primary\\\",[30,[36,1],[[32,0],\\\"openAttributeCreationModal\\\",\\\"people\\\"],null]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 u__padt__20 u__padb__20 u__padl__30 u__padr__30\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"settings/people-attributes/search-input\\\",[],[[\\\"@filterSearchTerm\\\"],[[34,2]]],null],[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[8,\\\"ic-legacy-table\\\",[[24,0,\\\"u__mb__50\\\"]],[[\\\"@columns\\\",\\\"@rows\\\",\\\"@height\\\",\\\"@tableActions\\\",\\\"@toggleSort\\\",\\\"@testBindingClass\\\"],[[34,3],[34,4],\\\"flex\\\",[30,[36,5],null,[[\\\"openDetailsView\\\"],[[30,[36,1],[[32,0],\\\"openDetailsView\\\"],null]]]],[30,[36,1],[[32,0],\\\"toggleSort\\\"],null],\\\"test__people-attributes-table\\\"]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"titleToken\\\",\\\"action\\\",\\\"filterSearchTerm\\\",\\\"columns\\\",\\\"filteredRows\\\",\\\"hash\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/people-data.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"n1/XUJnJ\",\"block\":\"{\\\"symbols\\\":[\\\"segment\\\"],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,3]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/intercom-s-key-features-explained/grouping-users/how-to-filter-and-segment-your-users\\\",\\\"Learn more about segments\\\",\\\"article\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"table\\\"],[14,0,\\\"tbl o__fit test__segments-table\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"    \\\"],[10,\\\"thead\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n          \\\"],[11,\\\"a\\\"],[4,[38,4],[[32,0],\\\"toggleSortByNameOrder\\\"],null],[12],[2,\\\"\\\\n            Segment name\\\\n\\\"],[6,[37,6],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[1,[30,[36,2],null,[[\\\"sortOrder\\\"],[[35,1]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n          \\\"],[11,\\\"a\\\"],[4,[38,4],[[32,0],\\\"toggleSortByUserCountOrder\\\"],null],[12],[2,\\\"\\\\n            Users\\\\n\\\"],[6,[37,6],[[35,7]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[1,[30,[36,2],null,[[\\\"sortOrder\\\"],[[35,1]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"hidden\\\"],[12],[2,\\\"\\\\n            Delete\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"tbody\\\"],[14,0,\\\"tbl__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,10],[[30,[36,9],[[30,[36,9],[[35,8]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"settings-segment-component\\\",[],[[\\\"@segment\\\",\\\"@openDeleteModal\\\",\\\"@isCompany\\\",\\\"@app\\\"],[[32,1],\\\"openDeleteModal\\\",false,[34,0]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"app\\\",\\\"sortOrder\\\",\\\"sort-icon-pattern\\\",\\\"titleToken\\\",\\\"action\\\",\\\"isSortedByName\\\",\\\"if\\\",\\\"isSortedByUserCount\\\",\\\"sortedTagsOrSegments\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/people-segments.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"NHUIC+Pw\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,0]]],null],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"settings/qualification/attribute-table\\\",[],[[\\\"@setIsSaving\\\",\\\"@qualificationAttributes\\\"],[\\\"setIsSaving\\\",[34,1]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"titleToken\\\",\\\"qualificationAttributes\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/qualification-settings.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"YsOd2VDy\",\"block\":\"{\\\"symbols\\\":[\\\"@model\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"p-8 gap-8 overflow-y-scroll\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1 gap-2\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"common/breadcrumbs-component\\\",[],[[\\\"@breadcrumbs\\\"],[[30,[36,1],[[30,[36,0],null,[[\\\"text\\\",\\\"route\\\"],[\\\"Roles\\\",\\\"apps.app.settings.roles\\\"]]]],null]]],null],[2,\\\"\\\\n      \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"1\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        Edit role\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col justify-center\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"settings/teammates/roles/role-editor-buttons\\\",[],[[\\\"@role\\\",\\\"@deleteRole\\\",\\\"@saveChanges\\\"],[[32,1],[30,[36,2],[\\\"delete\\\"],null],[30,[36,2],[\\\"saveChanges\\\"],null]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"settings/teammates/roles/role-editor\\\",[],[[\\\"@role\\\"],[[32,1]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"hash\\\",\\\"array\\\",\\\"route-action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/roles/edit.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"48iR9wtW\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/roles\\\",[],[[\\\"@roles\\\"],[[32,0,[\\\"model\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/roles/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"YPmzRni8\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\",\\\"list\\\",\\\"@model\\\"],\\\"statements\\\":[[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"role_based_permissions\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"Banner\\\"]],[],[[\\\"@content\\\"],[\\\"Upgrade to create new roles\\\"]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"p-8 gap-8 overflow-y-scroll\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1 gap-2\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"common/breadcrumbs-component\\\",[],[[\\\"@breadcrumbs\\\"],[[30,[36,1],[[30,[36,0],null,[[\\\"text\\\",\\\"route\\\"],[\\\"Roles\\\",\\\"apps.app.settings.roles\\\"]]]],null]]],null],[2,\\\"\\\\n        \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"1\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            New role\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col justify-center\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-button-list\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Cancel\\\",\\\"secondary\\\",[30,[36,2],[\\\"apps.app.settings.roles\\\"],null]]],null],[2,\\\"\\\\n          \\\"],[8,[32,1,[\\\"Hover\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[\\\"Save\\\",\\\"primary\\\",[30,[36,3],[\\\"save\\\"],null],[30,[36,5],[[30,[36,4],[[32,3,[\\\"validations\\\",\\\"isValid\\\"]]],null],[32,1,[\\\"isActive\\\"]]],null]]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[8,\\\"settings/teammates/roles/role-editor\\\",[],[[\\\"@role\\\"],[[32,3]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"hash\\\",\\\"array\\\",\\\"transition-to\\\",\\\"route-action\\\",\\\"not\\\",\\\"or\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/roles/new.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"+VP5NjSu\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/saved-replies/header\\\",[],[[\\\"@titleToken\\\",\\\"@createNewReplyTask\\\",\\\"@createDisabled\\\",\\\"@readOnly\\\",\\\"@savedRepliesPresent\\\"],[[32,0,[\\\"titleToken\\\"]],[32,0,[\\\"createSavedReply\\\"]],[30,[36,2],[[32,0,[\\\"readOnly\\\"]],[32,0,[\\\"selectedReply\\\",\\\"isNew\\\"]],[32,0,[\\\"createSavedReply\\\",\\\"isRunning\\\"]]],null],[32,0,[\\\"readOnly\\\"]],[32,0,[\\\"savedRepliesPresent\\\"]]]],null],[2,\\\"\\\\n\\\\n\\\"],[11,\\\"div\\\"],[24,0,\\\"flex flex-col flex-1 gap-6 \\\\n    u__padt__20\\\\n    u__padl__30\\\\n    u__padr__30\\\\n    settings__saved-replies__content\\\\n  \\\"],[4,[38,3],[[30,[36,0],[[32,0,[\\\"initSavedReplySearch\\\"]]],null]],null],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"savedRepliesPresent\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"settings/search-component\\\",[[24,0,\\\"mb-3\\\"]],[[\\\"@placeholder\\\",\\\"@onChange\\\"],[\\\"Search saved replies...\\\",[30,[36,0],[[32,0,[\\\"debouncedSearch\\\"]]],[[\\\"value\\\"],[\\\"target.value\\\"]]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"flex flex-row flex-1 gap-4 mt-3 settings__saved-replies \\\",[30,[36,1],[[30,[36,2],[[30,[36,4],[[32,0,[\\\"searchResultsPresent\\\"]],[30,[36,4],[[32,0,[\\\"editingReply\\\"]]],null]],null]],null],\\\"settings__saved-replies__empty\\\"],null]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,2],[[32,0,[\\\"searchResultsPresent\\\"]],[32,0,[\\\"editingReply\\\"]]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"settings/saved-replies/list\\\",[],[[\\\"@isEditing\\\",\\\"@sortedReplies\\\",\\\"@currentlySelected\\\",\\\"@onItemClick\\\"],[[32,0,[\\\"editingReply\\\"]],[32,0,[\\\"sortedReplies\\\"]],[32,0,[\\\"selectedReply\\\"]],[30,[36,0],[[32,0,[\\\"updateSelectedReply\\\"]]],null]]],null],[2,\\\"\\\\n\\\\n      \\\"],[8,\\\"settings/saved-replies/editor\\\",[],[[\\\"@isEditing\\\",\\\"@selectedReply\\\",\\\"@app\\\",\\\"@deleteReply\\\",\\\"@saveReply\\\",\\\"@cancelEdit\\\",\\\"@saveSelectedReply\\\",\\\"@updateEditState\\\",\\\"@updateDirtyState\\\",\\\"@readOnly\\\"],[[32,0,[\\\"editingReply\\\"]],[32,0,[\\\"selectedReply\\\"]],[32,0,[\\\"model\\\",\\\"app\\\"]],[32,0,[\\\"deleteSelectedReply\\\"]],[32,0,[\\\"saveReply\\\"]],[32,0,[\\\"cancelEditingReply\\\"]],[32,0,[\\\"saveSelectedReply\\\"]],[32,0,[\\\"updateEditState\\\"]],[32,0,[\\\"updateDirtyState\\\"]],[32,0,[\\\"readOnly\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[32,0,[\\\"savedRepliesPresent\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@title\\\",\\\"@icon\\\"],[\\\"No saved replies found\\\",\\\"saved-reply\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[32,0,[\\\"readOnly\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@title\\\",\\\"@icon\\\",\\\"@description\\\"],[\\\"No saved replies yet\\\",\\\"saved-reply\\\",\\\"Create saved replies to speed up and standardize your team's responses\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@title\\\",\\\"@icon\\\",\\\"@buttonLabel\\\",\\\"@onButtonClick\\\",\\\"@description\\\"],[\\\"No saved replies yet\\\",\\\"saved-reply\\\",\\\"+ Create one\\\",[30,[36,0],[[32,0,[\\\"createSavedReply\\\"]]],null],\\\"Create saved replies to speed up and standardize your team's responses\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"perform\\\",\\\"if\\\",\\\"or\\\",\\\"did-insert\\\",\\\"not\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/saved-replies.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"NtrnrlZZ\",\"block\":\"{\\\"symbols\\\":[\\\"modal\\\",\\\"form\\\",\\\"item\\\",\\\"form\\\",\\\"item\\\",\\\"checkbox\\\",\\\"form\\\",\\\"item\\\",\\\"checkbox\\\",\\\"item\\\",\\\"checkbox\\\",\\\"paywall\\\",\\\"form\\\",\\\"item\\\",\\\"group\\\",\\\"paywall\\\",\\\"item\\\",\\\"form\\\",\\\"item\\\",\\\"@model\\\"],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,13]]],null],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"h3\\\"],[14,0,\\\"heading o__size-4 form__section__heading\\\"],[12],[2,\\\"\\\\n    Identity verification\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n  Identity verification prevents third parties from impersonating your logged-in users and seeing their conversations. We strongly recommend that all Intercom customers enforce identity verification.\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/configure-intercom-for-your-product-or-site/staying-secure/enable-identity-verification-for-web-and-mobile\\\",\\\"Learn more about identity verification\\\",\\\"article\\\"]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[8,\\\"link-to\\\",[[24,0,\\\"card o__hoverable identity-verification__card u__pad__20 flex items-center\\\"]],[[\\\"@route\\\"],[\\\"apps.app.settings.identity-verification.web\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"ic-illustrative-icon\\\",[],[[\\\"@name\\\"],[\\\"notification-desktop\\\"]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__ml__20 flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h4\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"u__mr__10\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"strong\\\"],[12],[2,\\\"\\\\n            Identity verification for web users\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,14],[[30,[36,4],[[35,12],\\\"On\\\",\\\"Off\\\"],null]],null]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-1\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"p\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[[35,12],[35,15]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          Identity verification is enforced for web\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,4],[[35,12]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"c__warning\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,6],[\\\"alert-circle\\\"],null]],[2,\\\" Review errors with identity verification for web\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,4],[[35,11,[\\\"is_activated\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"c__warning\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,6],[\\\"alert-circle\\\"],null]],[2,\\\" Enforce identity verification for web\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          Identity verification is not enforced for web\\\\n        \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[8,\\\"link-to\\\",[[24,0,\\\"card o__hoverable identity-verification__card u__pad__20 flex items-center\\\"]],[[\\\"@route\\\"],[\\\"apps.app.settings.identity-verification.ios\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"ic-illustrative-icon\\\",[],[[\\\"@name\\\"],[\\\"ios-mobile\\\"]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__ml__20 flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h4\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"u__mr__10\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"strong\\\"],[12],[2,\\\"\\\\n            Identity verification for iOS users\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,14],[[30,[36,4],[[35,16],\\\"On\\\",\\\"Off\\\"],null]],null]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-1\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"p\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,16]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          Identity verification is enforced for iOS\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,4],[[35,10,[\\\"is_activated\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"c__warning\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,6],[\\\"alert-circle\\\"],null]],[2,\\\" Enforce identity verification for iOS\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          Identity verification is not enforced for iOS\\\\n        \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[8,\\\"link-to\\\",[[24,0,\\\"card o__hoverable identity-verification__card u__pad__20 flex items-center\\\"]],[[\\\"@route\\\"],[\\\"apps.app.settings.identity-verification.android\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"ic-illustrative-icon\\\",[],[[\\\"@name\\\"],[\\\"android-mobile\\\"]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__ml__20 flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h4\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"u__mr__10\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"strong\\\"],[12],[2,\\\"\\\\n            Identity verification for Android users\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,14],[[30,[36,4],[[35,17],\\\"On\\\",\\\"Off\\\"],null]],null]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-1\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"p\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,17]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          Identity verification is enforced for Android\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,4],[[35,9,[\\\"is_activated\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"c__warning\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,6],[\\\"alert-circle\\\"],null]],[2,\\\" Enforce identity verification for Android\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          Identity verification is not enforced for Android\\\\n        \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,11,[\\\"canUseWorkspaceSecurityContact\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row items-center gap-1\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"4\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          Security contact\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,7]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"c__warning\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,6],[\\\"alert-circle\\\"],null]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n      \\\"],[8,\\\"text\\\",[[24,0,\\\"mb-2\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        Enter an email address we can contact if there's a security incident.\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[8,\\\"form\\\",[[24,0,\\\"mb-2\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,18,[\\\"Item\\\"]],[],[[\\\"@isInvalid\\\",\\\"@errorMessage\\\"],[[34,8],\\\"This email is not an valid email\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,[32,19,[\\\"Input\\\"]],[],[[\\\"@type\\\",\\\"@placeholder\\\",\\\"@value\\\"],[\\\"email\\\",\\\"e.g. security@company.com\\\",[32,20,[\\\"settings\\\",\\\"securityContactEmail\\\"]]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[19]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[18]}]]],[2,\\\"\\\\n      \\\"],[8,\\\"text\\\",[],[[\\\"@styling\\\"],[\\\"muted\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        We recommend a group alias or inbox that multiple people can access.\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,18],[[32,0,[\\\"app\\\",\\\"canUseSamlMultiWorkspaces\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"app_permissions\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,12,[\\\"Block\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"form\\\",[[24,0,\\\"settings__security__form\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\\n          \\\"],[8,[32,13,[\\\"SectionHeading\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Authentication methods\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[8,[32,13,[\\\"Item\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,[32,14,[\\\"RadioGroup\\\"]],[],[[\\\"@selected\\\"],[[32,0,[\\\"authMethodSelected\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\\n                \\\"],[8,[32,15,[\\\"RadioButton\\\"]],[[16,\\\"onchange\\\",[30,[36,1],[[32,0],\\\"paywallCheckOrUpdateAuthWith\\\",[32,0,[\\\"allAuth\\\"]]],null]]],[[\\\"@value\\\",\\\"@label\\\",\\\"@disabled\\\"],[[32,0,[\\\"authOptions\\\",\\\"all\\\"]],\\\"Require password or Google sign on\\\",[30,[36,2],[[32,0,[\\\"canChangeAuthenticationMethods\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,5],[[32,0,[\\\"allAuthSelected\\\"]],[32,0,[\\\"twoFASelected\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                    \\\"],[8,[32,13,[\\\"Item\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                      \\\"],[8,[32,17,[\\\"Checkbox\\\"]],[[16,\\\"onchange\\\",[30,[36,1],[[32,0],\\\"twoFaChanged\\\"],null]]],[[\\\"@label\\\",\\\"@checked\\\",\\\"@disabled\\\"],[\\\"Require teammates to set up two-factor authentication (2FA)\\\",[32,0,[\\\"twoFASelected\\\"]],[30,[36,2],[[32,0,[\\\"canChangeAuthenticationMethods\\\"]]],null]]],null],[2,\\\"\\\\n                    \\\"]],\\\"parameters\\\":[17]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"                \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n                \\\"],[8,[32,15,[\\\"RadioButton\\\"]],[[4,[38,1],[[32,0],\\\"paywallCheckOrOpenGoogleSsoWarningModal\\\"],null]],[[\\\"@value\\\",\\\"@label\\\",\\\"@disabled\\\"],[[32,0,[\\\"authOptions\\\",\\\"google\\\"]],\\\"Require Google sign on for everyone\\\",[30,[36,2],[[32,0,[\\\"canChangeAuthenticationMethods\\\"]]],null]]],null],[2,\\\"\\\\n\\\\n\\\"],[6,[37,4],[[32,0,[\\\"canChangeAuthenticationMethods\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row gap-2\\\"],[12],[2,\\\"\\\\n                    \\\"],[8,[32,15,[\\\"RadioButton\\\"]],[[16,\\\"onchange\\\",[30,[36,1],[[32,0],\\\"paywallCheckOrUpdateAuthWith\\\",[32,0,[\\\"samlAuth\\\"]]],null]]],[[\\\"@value\\\",\\\"@disabled\\\"],[[32,0,[\\\"authOptions\\\",\\\"saml\\\"]],[30,[36,2],[[32,0,[\\\"canEnableSaml\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                      \\\"],[10,\\\"label\\\"],[12],[2,\\\"\\\\n                        Require SAML SSO\\\\n                        \\\"],[8,\\\"ic-tooltip-icon\\\",[],[[\\\"@isInteractive\\\"],[true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                          Integrate with an identity provider, like Okta.\\\\n                          \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\",\\\"@linkStyling\\\"],[\\\"https://www.intercom.com/help/en/articles/3974587-Integrate-with-an-identity-provider-and-log-in-with-SAML-SSO\\\",\\\"Learn more about configuring SAML SSO\\\",\\\"article\\\",\\\"inline\\\"]],null],[2,\\\".\\\\n                        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n                      \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[[32,0,[\\\"canEnableSaml\\\"]],[32,0,[\\\"samlSelected\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                        \\\"],[10,\\\"div\\\"],[14,0,\\\"mb-3\\\"],[12],[13],[2,\\\"\\\\n                          \\\"],[8,\\\"settings/security/saml-settings\\\",[],[[\\\"@samlAccount\\\",\\\"@samlSubMethodSelected\\\",\\\"@onUpdateSamlSubMethod\\\",\\\"@showAllErrors\\\"],[[32,0,[\\\"samlAccount\\\"]],[32,0,[\\\"samlSubMethodSelected\\\"]],[30,[36,1],[[32,0],\\\"updateSamlSubMethod\\\"],null],[32,0,[\\\"showAllErrors\\\"]]]],null],[2,\\\"\\\\n                        \\\"],[10,\\\"div\\\"],[14,0,\\\"mb-3\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"                    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n                    \\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"saml_sso\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                      \\\"],[8,[32,16,[\\\"Badge\\\"]],[],[[],[]],null],[2,\\\"\\\\n                    \\\"]],\\\"parameters\\\":[16]}]]],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n              \\\"]],\\\"parameters\\\":[15]}]]],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[14]}]]],[2,\\\"\\\\n\\\\n          \\\"]],\\\"parameters\\\":[13]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[12]}]]],[2,\\\"\\\\n    \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,11,[\\\"canSetEmailNotificationContent\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"form\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,7,[\\\"SectionHeading\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Conversations\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[8,[32,7,[\\\"Item\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,10,[\\\"Checkbox\\\"]],[],[[\\\"@checked\\\"],[[34,0,[\\\"settings\\\",\\\"userConversationAttachmentsEnabled\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,11,[\\\"Label\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              Enable attachments from leads and users\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[8,[32,11,[\\\"Hint\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"pulse/help-content/link\\\",[[24,0,\\\"text-sm\\\"]],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\",\\\"@linkStyling\\\"],[\\\"https://www.intercom.com/help/faqs-and-troubleshooting/the-intercom-messenger/can-i-disable-attachments-and-gifs\\\",\\\"Learn more\\\",\\\"article\\\",\\\"inline\\\"]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[11]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[10]}]]],[2,\\\"\\\\n      \\\"],[8,[32,7,[\\\"Item\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,8,[\\\"Checkbox\\\"]],[],[[\\\"@checked\\\"],[[34,0,[\\\"settings\\\",\\\"notificationEmailsWithContentEnabled\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n           \\\"],[8,[32,9,[\\\"Label\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            Allow conversations to continue over email\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n             \\\"],[8,[32,9,[\\\"Hint\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n               This will include the contents of conversations when users or leads get notified of any replies.\\\\n               \\\"],[8,\\\"pulse/help-content/link\\\",[[24,0,\\\"text-sm\\\"]],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\",\\\"@linkStyling\\\"],[\\\"https://www.intercom.com/help/en/articles/3527623-sending-notifications-without-conversation-content\\\",\\\"Learn more\\\",\\\"article\\\",\\\"inline\\\"]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[9]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[8]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[7]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"form\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,4,[\\\"SectionHeading\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Conversation attachments\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[8,[32,4,[\\\"Item\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,5,[\\\"Checkbox\\\"]],[],[[\\\"@checked\\\"],[[34,0,[\\\"settings\\\",\\\"userConversationAttachmentsEnabled\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,6,[\\\"Label\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              Enable attachments from leads and users\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[8,[32,6,[\\\"Hint\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,\\\"pulse/help-content/link\\\",[[24,0,\\\"text-sm\\\"]],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\",\\\"@linkStyling\\\"],[\\\"https://www.intercom.com/help/faqs-and-troubleshooting/the-intercom-messenger/can-i-disable-attachments-and-gifs\\\",\\\"Learn more about attachments\\\",\\\"article\\\",\\\"inline\\\"]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[6]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[8,\\\"form\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,2,[\\\"SectionHeading\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"Lead email identification\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,[32,2,[\\\"SectionDescription\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      If a lead clicks through to your website from a link in your email, we can identify them so you can greet them with a personalised in-app message and continue the conversation.\\\\n      \\\"],[8,\\\"pulse/help-content/link\\\",[[24,0,\\\"text-sm\\\"]],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\",\\\"@linkStyling\\\"],[\\\"https://www.intercom.com/help/en/articles/2706708-what-is-click-tracking\\\",\\\"Learn more\\\",\\\"article\\\",\\\"inline\\\"]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,[32,2,[\\\"Item\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,3,[\\\"Checkbox\\\"]],[],[[\\\"@label\\\",\\\"@checked\\\"],[\\\"Enable email identification for leads\\\",[34,0,[\\\"settings\\\",\\\"leadEmailIdentificationEnabled\\\"]]]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[[30,[36,4],[[32,0,[\\\"model\\\",\\\"settings\\\",\\\"isSaving\\\"]],\\\"Saving...\\\",\\\"Save\\\"],null],\\\"primary\\\",[30,[36,1],[[32,0],\\\"save\\\"],null],[32,0,[\\\"isSaveDisabled\\\"]]]],null],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"ic-modal\\\",[],[[\\\"@onModalClose\\\",\\\"@width\\\",\\\"@isOpen\\\",\\\"@focusElement\\\"],[[30,[36,1],[[32,0],[30,[36,19],[\\\"showSamlVerificationModal\\\",[32,0]],null]],null],\\\"m\\\",[32,0,[\\\"showSamlVerificationModal\\\"]],\\\"body\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"header\\\"]],[],[[\\\"@title\\\"],[\\\"Test SAML SSO configuration\\\"]],null],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,\\\"paragraph\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"To ensure SAML SSO is set up correctly, you must test the configuration by authenticating with your identity provider\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"footer\\\"]],[],[[\\\"@primaryButton\\\",\\\"@secondaryButton\\\"],[[30,[36,20],null,[[\\\"label\\\",\\\"action\\\",\\\"disabled\\\"],[\\\"Authenticate with identity provider\\\",[30,[36,1],[[32,0],\\\"startSamlVerification\\\"],null],[32,0,[\\\"samlAccount\\\",\\\"isSaving\\\"]]]]],[30,[36,20],null,[[\\\"label\\\",\\\"action\\\"],[\\\"Cancel\\\",[30,[36,1],[[32,0],[30,[36,19],[\\\"showSamlVerificationModal\\\",[32,0]],null]],null]]]]]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"settings/security/enforce-saml-modal\\\",[],[[\\\"@isOpen\\\",\\\"@onClose\\\"],[[32,0,[\\\"showEnforceSamlModal\\\"]],[30,[36,1],[[32,0],[30,[36,19],[\\\"showEnforceSamlModal\\\",[32,0]],null]],null]]],null],[2,\\\"\\\\n\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"model\\\",\\\"action\\\",\\\"not\\\",\\\"and\\\",\\\"if\\\",\\\"or\\\",\\\"ic-interface-icon\\\",\\\"shouldShowSecurityContactWarningIcon\\\",\\\"isInvalidSecurityEmail\\\",\\\"androidSdkApp\\\",\\\"iosSdkApp\\\",\\\"app\\\",\\\"webIdentityVerified\\\",\\\"titleToken\\\",\\\"ic-stamp\\\",\\\"noDomainsHaveErrors\\\",\\\"iosIdentityVerified\\\",\\\"androidIdentityVerified\\\",\\\"unless\\\",\\\"toggle\\\",\\\"hash\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/security.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"eRk1+PG5\",\"block\":\"{\\\"symbols\\\":[\\\"accordion\\\",\\\"DKIMSettings\\\",\\\"index\\\",\\\"section\\\",\\\"body\\\",\\\"header\\\",\\\"paywall\\\"],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[32,0,[\\\"titleToken\\\"]]]],null],[2,\\\"\\\\n\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__radio-list-header\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[14,0,\\\"t__label o__no-visual-margins\\\"],[12],[2,\\\"\\\\n      Default outbound address\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__radio-group\\\"],[12],[2,\\\"\\\\n    \\\"],[11,\\\"label\\\"],[24,0,\\\"f__radio-label u__cf twk__email-sender-setting__form-inline-block\\\"],[4,[38,0],[[32,0],\\\"updateUseAdminAppEmail\\\",false],null],[12],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-wrapper u__disable-pointer-events\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"input\\\"],[15,\\\"checked\\\",[32,0,[\\\"useIntercomAppEmail\\\"]]],[14,4,\\\"radio\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-content\\\"],[12],[2,\\\"\\\\n        Use \\\"],[1,[32,0,[\\\"app\\\",\\\"email_sender_domain\\\"]]],[2,\\\" domain\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-content t__light-text\\\"],[12],[2,\\\"\\\\n        Emails will send from firstname.lastname@\\\"],[1,[32,0,[\\\"app\\\",\\\"email_sender_domain\\\"]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__radio-group\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"default_sender_address\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[11,\\\"label\\\"],[24,0,\\\"f__radio-label u__cf twk__email-sender-setting__form-inline-block\\\"],[4,[38,0],[[32,0],\\\"updateUseAdminAppEmail\\\",true],null],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-wrapper u__disable-pointer-events\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"input\\\"],[15,\\\"checked\\\",[32,0,[\\\"useAdminAppEmail\\\"]]],[15,\\\"disabled\\\",[32,7,[\\\"isActive\\\"]]],[14,4,\\\"radio\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-content\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[15,0,[31,[[30,[36,1],[[32,7,[\\\"isActive\\\"]],\\\"twk__email-sender-setting__disabled-option\\\"],null]]]],[12],[2,\\\"\\\\n            Use teammate's Intercom account email\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[8,[32,7,[\\\"Badge\\\"]],[],[[],[]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-content t__light-text\\\"],[12],[2,\\\"\\\\n          Emails will send from the address each teammate signed up with\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[7]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"useAdminAppEmail\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[32,0,[\\\"hasNoVerifiedAdminEmailDomains\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__ml__20\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"warning\\\",\\\"You will need to verify at least one domain to enable this option.\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@onClick\\\",\\\"@saving\\\",\\\"@disabled\\\"],[\\\"primary\\\",[30,[36,0],[[32,0],\\\"saveUseAdminAppEmail\\\"],null],[32,0,[\\\"isSavingDefaultSender\\\"]],[32,0,[\\\"appEmailSaveButtonDisabled\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"isSavingDefaultSender\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        Saving…\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        Save\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__radio-list-header\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[14,0,\\\"t__label o__no-visual-margins\\\"],[12],[2,\\\"\\\\n      Add new sending addresses and authenticate their domains to improve your deliverability\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[14,0,\\\"t__label text-blue\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[30,[36,2],[\\\"book\\\"],null]],[2,\\\" \\\"],[10,\\\"a\\\"],[15,6,[31,[[32,0,[\\\"helpCentreUrl\\\"]]]]],[14,0,\\\"t__solo-link\\\"],[12],[2,\\\"How custom addresses work\\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"common/accordion-component\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[[30,[36,3],[[32,0,[\\\"hydratedDomains\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,1,[\\\"section\\\"]],[],[[\\\"@shouldNotAddPaddingToBody\\\",\\\"@name\\\"],[true,[32,3]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,[32,4,[\\\"header\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"common/accordion-component/white-header-title\\\",[],[[\\\"@heading\\\",\\\"@showAuthenticated\\\",\\\"@enabled\\\",\\\"@tileClass\\\"],[[32,2,[\\\"dkim_record\\\",\\\"domain\\\"]],true,[32,2,[\\\"dkim_record\\\",\\\"validRecordExists\\\"]],\\\"p-6\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"u__mr__5\\\"],[12],[2,\\\"\\\\n                \\\"],[8,\\\"ic-illustrative-icon\\\",[],[[\\\"@name\\\",\\\"@size\\\"],[\\\"email\\\",\\\"small\\\"]],null],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[6]}]]],[2,\\\"\\\\n          \\\"],[8,[32,4,[\\\"header-action\\\"]],[],[[],[]],null],[2,\\\"\\\\n          \\\"],[8,[32,4,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"settings/senders/outbound-sender-settings\\\",[],[[\\\"@index\\\",\\\"@currentlyExpanded\\\",\\\"@dkimSettings\\\",\\\"@isVerifying\\\",\\\"@customSenderAddresses\\\",\\\"@verifyDomain\\\"],[[32,3],[32,0,[\\\"expandedAdminEmailIndex\\\"]],[32,2,[\\\"dkim_record\\\"]],[32,0,[\\\"isVerifying\\\"]],[32,2,[\\\"custom_addresses\\\"]],[30,[36,0],[[32,0],\\\"verifyDomain\\\"],null]]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2,3]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n    \\\"],[8,\\\"ic-button\\\",[],[[\\\"@subtle\\\",\\\"@type\\\",\\\"@label\\\",\\\"@onClick\\\"],[true,\\\"primary-on-blue\\\",\\\"+ Add custom address\\\",[30,[36,0],[[32,0],\\\"toggleDisplayCustomSenderModal\\\"],null]]],null],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"settings/senders/modals/create-sender-email-address\\\",[],[[\\\"@showAddCustomSenderModal\\\",\\\"@toggleDisplayCustomSenderModal\\\"],[[32,0,[\\\"showAddCustomSenderModal\\\"]],[30,[36,0],[[32,0],\\\"toggleDisplayCustomSenderModal\\\"],null]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"if\\\",\\\"ic-interface-icon\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/senders.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"wEgc+87f\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[32,0,[\\\"titleToken\\\"]]]],null],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"app\\\",\\\"canUseNewSlaPage\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"settings/data/sla-table\\\",[],[[\\\"@slas\\\",\\\"@officeHoursSchedules\\\"],[[32,0,[\\\"model\\\",\\\"slas\\\"]],[32,0,[\\\"model\\\",\\\"officeHoursSchedules\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"settings/slas/slas-page\\\",[],[[\\\"@slas\\\",\\\"@officeHoursSchedules\\\"],[[32,0,[\\\"model\\\",\\\"slas\\\"]],[32,0,[\\\"model\\\",\\\"officeHoursSchedules\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/slas.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"YJiZ57ME\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,0]]],null],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-rows o__scrolls u__padt__20 u__padb__20 u__padl__30 u__padr__30 js__settings-container\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"settings/spam-message-list-component\\\",[],[[\\\"@maxPages\\\",\\\"@spamMessages\\\",\\\"@loadNextPage\\\",\\\"@processSpam\\\"],[[34,1],[34,2],[30,[36,3],[\\\"loadNextPage\\\"],null],\\\"processSpam\\\"]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"titleToken\\\",\\\"maxPages\\\",\\\"model\\\",\\\"route-action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/spam-messages.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"2f2uLBI8\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/data/tags-table\\\",[],[[\\\"@tags\\\"],[[32,0,[\\\"nonDeletedTagsOrSegments\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/tags-new.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"U8R/67jQ\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,4]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/intercom-s-key-features-explained/grouping-users/group-your-users-by-tags\\\",\\\"Learn more about tagging\\\",\\\"article\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,6],[[35,5]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\",\\\"@description\\\"],[\\\"tag\\\",\\\"No tags yet\\\",\\\"To create one, click the Tag button on the user list when you’ve selected one or more users.\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"settings/data/people-and-company-tags-table\\\",[],[[\\\"@tags\\\",\\\"@sortOrder\\\",\\\"@toggleSort\\\"],[[34,0],[34,1],[30,[36,3],[[32,0],[35,2]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"sortedTagsOrSegments\\\",\\\"sortOrder\\\",\\\"toggleSort\\\",\\\"action\\\",\\\"titleToken\\\",\\\"displayEmptyState\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/tags.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"UODnYVH0\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\",\\\"@model\\\"],\\\"statements\\\":[[6,[37,5],[[30,[36,7],[[35,6,[\\\"invitingPermitted\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"settings/teammates/invites-blocked-banner-component\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,5],[[30,[36,8],[\\\"canSeeCostChangeCard\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"div\\\"],[4,[38,3],[[30,[36,2],[[32,0,[\\\"loadSeatInfo\\\"]]],null]],null],[12],[2,\\\"\\\\n    \\\"],[8,\\\"paywall\\\",[],[[\\\"@pricingMetric\\\",\\\"@featureUsage\\\"],[\\\"latest_daily_admin_count\\\",[32,0,[\\\"seatInfo\\\",\\\"numberOfSeatsInUseAfter\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"Banner\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,5],[[30,[36,4],[\\\"customer-service.customer.isAnnuallyContracted\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          You’ve reached your seat limit.\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          Upgrade to add more teammates\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,9]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/faqs-and-troubleshooting/your-team-inbox/how-do-i-delete-a-teammate-in-intercom\\\",\\\"How to delete a teammate\\\",\\\"article\\\"]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns u__ml__10\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[8,\\\"ic-dropdown-opener\\\",[],[[\\\"@isDisabled\\\",\\\"@groupList\\\"],[[30,[36,10],[[30,[36,7],[[35,6,[\\\"invitingPermitted\\\"]]],null],[35,6,[\\\"isTestApp\\\"]]],null],[30,[36,14],[[30,[36,12],null,[[\\\"items\\\"],[[30,[36,14],[[30,[36,12],null,[[\\\"text\\\",\\\"icon\\\",\\\"onSelectItem\\\"],[\\\"Add new teammates\\\",\\\"new\\\",[30,[36,13],[\\\"apps.app.settings.teammates.invite\\\"],null]]]],[30,[36,12],null,[[\\\"text\\\",\\\"icon\\\",\\\"onSelectItem\\\"],[\\\"Import teammates\\\",\\\"filled-cloud-upload\\\",[30,[36,11],[[32,0],\\\"showBulkInviteModal\\\",true],null]]]]],null]]]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@disabled\\\"],[\\\"primary\\\",[30,[36,10],[[30,[36,7],[[35,6,[\\\"invitingPermitted\\\"]]],null],[35,6,[\\\"isTestApp\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          Add new teammates\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/teammates\\\",[],[[\\\"@teammates\\\",\\\"@roles\\\",\\\"@selectedRoleFilterValue\\\",\\\"@activeInvitedAdmins\\\",\\\"@activeInviteLinks\\\",\\\"@reloadPermissions\\\",\\\"@resetLinks\\\",\\\"@updatePaywalls\\\",\\\"@migrationState\\\"],[[34,15],[32,2,[\\\"roles\\\"]],[32,0,[\\\"role\\\"]],[34,16],[34,17],[30,[36,18],[[32,0],\\\"reloadPermissions\\\"],null],[30,[36,18],[[32,0],\\\"resetLinks\\\"],null],[30,[36,18],[[32,0],\\\"updatePaywalls\\\"],null],[34,0]]],null],[2,\\\"\\\\n\\\"],[6,[37,5],[[30,[36,8],[\\\"canSeePerProductPricingChanges\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"inbox/pricing-migration/introducing-seats-modal\\\",[],[[\\\"@migrationState\\\",\\\"@hasDismissedMigrationModal\\\"],[[34,0],[34,1]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[8,\\\"settings/bulk-invite-modal\\\",[],[[\\\"@isOpen\\\",\\\"@onModalClose\\\",\\\"@seatInfo\\\"],[[32,0,[\\\"showBulkInviteModal\\\"]],[30,[36,18],[[32,0],[30,[36,19],[\\\"showBulkInviteModal\\\",[32,0]],null]],null],[32,0,[\\\"seatInfo\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"migrationState\\\",\\\"hasDismissedMigrationModal\\\",\\\"perform\\\",\\\"did-insert\\\",\\\"service\\\",\\\"if\\\",\\\"app\\\",\\\"not\\\",\\\"has-feature\\\",\\\"titleToken\\\",\\\"or\\\",\\\"set\\\",\\\"hash\\\",\\\"transition-to\\\",\\\"array\\\",\\\"sortedTeammates\\\",\\\"activeInvitedAdmins\\\",\\\"activeInviteLinks\\\",\\\"action\\\",\\\"toggle\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/teammates/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"6z8sgNvE\",\"block\":\"{\\\"symbols\\\":[\\\"rows\\\",\\\"index\\\",\\\"form\\\",\\\"item\\\",\\\"list\\\",\\\"canContinue\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col p-8 overflow-y-scroll\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1 gap-2\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"common/breadcrumbs-component\\\",[],[[\\\"@breadcrumbs\\\"],[[30,[36,5],[[30,[36,4],null,[[\\\"text\\\",\\\"route\\\"],[\\\"All teammates\\\",\\\"apps.app.settings.teammates\\\"]]]],null]]],null],[2,\\\"\\\\n\\\\n      \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"1\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        Invite teammates\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col justify-center\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button-list\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,5,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@action\\\"],[\\\"Cancel\\\",\\\"secondary\\\",[30,[36,6],[\\\"apps.app.settings.teammates\\\"],null]]],null],[2,\\\"\\\\n\\\"],[6,[37,8],[[30,[36,7],[[32,0,[\\\"model\\\",\\\"selectedIndex\\\"]],null],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,[32,5,[\\\"button\\\"]],[[4,[38,3],[\\\"click\\\",[30,[36,2],[\\\"onContinue\\\"],null]],null]],[[\\\"@label\\\",\\\"@type\\\",\\\"@disabled\\\"],[\\\"Continue\\\",\\\"primary\\\",[30,[36,1],[[32,6]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[6]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"paragraph\\\",[[24,0,\\\"mt-6\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    Select the column which contains the emails of your teammates\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\\n  \\\"],[8,\\\"form\\\",[[24,0,\\\"mt-4\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,3,[\\\"Item\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,4,[\\\"Checkbox\\\"]],[],[[\\\"@label\\\",\\\"@checked\\\"],[\\\"My data has a header row\\\",[32,0,[\\\"model\\\",\\\"hasHeaderRow\\\"]]]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row flex-wrap gap-6 mt-6\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,10],[[30,[36,9],[[30,[36,9],[[32,0,[\\\"model\\\",\\\"columns\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"settings/teammates/invites/csv-column\\\",[],[[\\\"@rows\\\",\\\"@index\\\",\\\"@hasHeader\\\",\\\"@selectedIndex\\\",\\\"@onSelected\\\"],[[32,1],[32,2],[32,0,[\\\"model\\\",\\\"hasHeaderRow\\\"]],[32,0,[\\\"model\\\",\\\"selectedIndex\\\"]],[30,[36,0],[[32,0,[\\\"model\\\"]],\\\"selectedIndex\\\",[32,2]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1,2]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"set\\\",\\\"not\\\",\\\"route-action\\\",\\\"on\\\",\\\"hash\\\",\\\"array\\\",\\\"transition-to\\\",\\\"not-eq\\\",\\\"let\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/teammates/invite/csv-import.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"IxhZTt29\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col p-8 overflow-y-scroll\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"settings/teammates/invites/edit/header\\\",[],[[\\\"@email\\\",\\\"@onCancel\\\",\\\"@saveInvite\\\",\\\"@permissionsObject\\\"],[[32,0,[\\\"model\\\",\\\"invite\\\",\\\"email\\\"]],[30,[36,0],[\\\"apps.app.settings.teammates\\\"],null],[30,[36,1],[\\\"confirmAndSaveChanges\\\"],null],[32,0,[\\\"model\\\",\\\"invite\\\"]]]],null],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"settings/teammates/permissions/permissions-editor-with-role-selector\\\",[],[[\\\"@app\\\",\\\"@permissionsObject\\\",\\\"@roles\\\"],[[32,0,[\\\"model\\\",\\\"app\\\"]],[32,0,[\\\"model\\\",\\\"invite\\\"]],[32,0,[\\\"model\\\",\\\"roles\\\"]]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"transition-to\\\",\\\"route-action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/teammates/invite/edit.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"rXZLhWcV\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/teammates/invites/invite\\\",[],[[\\\"@onEmailsChange\\\",\\\"@onContinue\\\",\\\"@onCancel\\\",\\\"@emails\\\"],[[30,[36,0],[\\\"onEmailsChange\\\"],null],[30,[36,1],[\\\"apps.app.settings.teammates.invite.permissions\\\"],null],[30,[36,1],[\\\"apps.app.settings.teammates\\\"],null],[32,0,[\\\"model\\\",\\\"emails\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"route-action\\\",\\\"transition-to\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/teammates/invite/invite.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"X1w3Z3GL\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/teammates/invites/permissions\\\",[],[[\\\"@emails\\\",\\\"@permissionsObject\\\",\\\"@onCancel\\\",\\\"@app\\\",\\\"@roles\\\"],[[32,0,[\\\"model\\\",\\\"emails\\\"]],[32,0,[\\\"model\\\",\\\"permissionsObject\\\"]],[30,[36,0],[\\\"apps.app.settings.teammates.invite\\\"],null],[32,0,[\\\"model\\\",\\\"app\\\"]],[32,0,[\\\"model\\\",\\\"roles\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"transition-to\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/teammates/invite/permissions.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"paZDOvxP\",\"block\":\"{\\\"symbols\\\":[\\\"teammate\\\",\\\"@teammates\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"p-8 overflow-y-scroll\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"settings/teammates/permissions/permissions-header\\\",[],[[\\\"@app\\\",\\\"@teammates\\\",\\\"@onCancel\\\",\\\"@saveChanges\\\",\\\"@canSaveChanges\\\"],[[32,0,[\\\"model\\\",\\\"app\\\"]],[32,0,[\\\"model\\\",\\\"teammates\\\"]],[30,[36,0],[\\\"apps.app.settings.teammates\\\"],null],[30,[36,1],[\\\"savePermissions\\\",[32,2]],null],[32,0,[\\\"model\\\",\\\"permissionsObjectChanged\\\"]]]],null],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-2 mt-8\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"paragraph\\\",[],[[\\\"@styling\\\"],[\\\"muted\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[1,[30,[36,2],[[32,0,[\\\"model\\\",\\\"teammates\\\",\\\"length\\\"]],\\\"teammate\\\"],null]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row flex-wrap gap-2\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[[30,[36,3],[[32,0,[\\\"model\\\",\\\"teammates\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"settings/teammates/permissions/teammate-pill\\\",[],[[\\\"@avatar\\\",\\\"@name\\\"],[[32,1],[32,1,[\\\"name\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"settings/teammates/permissions/permissions-editor-with-role-selector\\\",[],[[\\\"@app\\\",\\\"@permissionsObject\\\",\\\"@changed\\\",\\\"@roles\\\",\\\"@hideInboxToggle\\\"],[[32,0,[\\\"model\\\",\\\"app\\\"]],[32,0,[\\\"model\\\",\\\"permissionsObject\\\"]],[30,[36,5],[[32,0,[\\\"model\\\"]],\\\"permissionsObjectChanged\\\",true],null],[32,0,[\\\"model\\\",\\\"roles\\\"]],true]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"transition-to\\\",\\\"route-action\\\",\\\"pluralize\\\",\\\"-track-array\\\",\\\"each\\\",\\\"set\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/teammates/permissions.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"MEInRhbR\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"p-8 overflow-y-scroll\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"settings/teammates/permissions\\\",[],[[\\\"@app\\\",\\\"@teammate\\\",\\\"@permissionsObject\\\",\\\"@changeReassignments\\\",\\\"@roles\\\",\\\"@saveChanges\\\"],[[32,0,[\\\"model\\\",\\\"app\\\"]],[32,0,[\\\"model\\\",\\\"admin\\\"]],[32,0,[\\\"model\\\",\\\"permissionsObject\\\"]],[30,[36,0],[[32,0,[\\\"model\\\"]],\\\"reassignments\\\"],null],[32,0,[\\\"model\\\",\\\"roles\\\"]],[30,[36,1],[\\\"confirmAndSaveChanges\\\"],null]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"set\\\",\\\"route-action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/teammates/teammate/permissions.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"p/8/cPbD\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-4 p-8\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"settings/teammates/remove/header\\\",[],[[\\\"@teammate\\\",\\\"@removeTeammate\\\",\\\"@removeIsDisabled\\\"],[[32,0,[\\\"model\\\",\\\"teammate\\\"]],[30,[36,0],[\\\"removeTeammate\\\"],null],[30,[36,1],[[32,0,[\\\"selectionIsValid\\\"]]],null]]],null],[2,\\\"\\\\n  \\\"],[8,\\\"settings/teammates/inbox-seat-removal-banner\\\",[],[[\\\"@teammate\\\",\\\"@app\\\"],[[32,0,[\\\"model\\\",\\\"teammate\\\"]],[32,0,[\\\"model\\\",\\\"app\\\"]]]],null],[2,\\\"\\\\n  \\\"],[8,\\\"settings/teammates/seats-cost-change-card/email-invite\\\",[],[[\\\"@changeInSeats\\\"],[-1]],null],[2,\\\"\\\\n  \\\"],[8,\\\"settings/teammates/remove/reassign\\\",[],[[\\\"@teammate\\\",\\\"@app\\\",\\\"@reassignments\\\",\\\"@updateSelection\\\"],[[32,0,[\\\"model\\\",\\\"teammate\\\"]],[32,0,[\\\"model\\\",\\\"app\\\"]],[32,0,[\\\"model\\\",\\\"reassignments\\\"]],[30,[36,3],[[30,[36,2],[[32,0,[\\\"selectionIsValid\\\"]]],null]],null]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"route-action\\\",\\\"not\\\",\\\"mut\\\",\\\"fn\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/teammates/teammate/remove.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Vk0dZSz/\",\"block\":\"{\\\"symbols\\\":[\\\"banner\\\",\\\"control\\\",\\\"paywall\\\"],\\\"statements\\\":[[2,\\\"\\\\n\\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"team_inboxes\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,3,[\\\"Banner\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    Upgrade to create teams\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n\\\\n\\\"],[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,6]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@onClick\\\"],[\\\"primary\\\",[30,[36,3],[[32,0],\\\"buildTeam\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[1,[30,[36,7],[\\\"new\\\"],null]],[2,\\\" New team\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n\\\"],[6,[37,0],[[32,0,[\\\"app\\\",\\\"canUseRoles\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"ic-tab-control\\\",[[24,0,\\\"pl-8\\\"]],[[\\\"@onSelectionChange\\\",\\\"@selectedTab\\\"],[[30,[36,5],[\\\"apps.app.settings.roles.index\\\"],null],\\\"teams\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,2,[\\\"tab\\\"]],[],[[\\\"@label\\\",\\\"@value\\\"],[\\\"Teams\\\",\\\"teams\\\"]],null],[2,\\\"\\\\n    \\\"],[8,[32,2,[\\\"tab\\\"]],[],[[\\\"@label\\\",\\\"@value\\\"],[\\\"Roles\\\",\\\"roles\\\"]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col p-8 gap-8 overflow-y-scroll\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"pulse/discovery-banner\\\",[],[[\\\"@heading\\\",\\\"@description\\\"],[\\\"Teams\\\",\\\"Teams can help categorize conversations and give groups of teammates shared ownership over them. Only teammates with Inbox seats can be added to a team.\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"HelpLink\\\"]],[],[[\\\"@type\\\",\\\"@title\\\",\\\"@href\\\"],[\\\"article\\\",\\\"Learn more about teams\\\",\\\"https://www.intercom.com/help/resolving-your-customers-issues/resolve-customer-issues-collaboratively/organize-your-inbox-by-team\\\"]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"settings/teams/main-content\\\",[],[[\\\"@app\\\",\\\"@sortedTeams\\\",\\\"@deleteSelectedTeam\\\",\\\"@revertNewSelectedTeam\\\",\\\"@showEmptyState\\\",\\\"@schedules\\\",\\\"@teamSettings\\\"],[[34,1],[34,2],[30,[36,3],[[32,0],\\\"deleteSelectedTeam\\\"],null],[30,[36,3],[[32,0],\\\"revertNewSelectedTeam\\\"],null],[34,4],[32,0,[\\\"model\\\",\\\"schedules\\\"]],[32,0,[\\\"model\\\",\\\"teamSettings\\\"]]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__scrolls u__pad__20\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"settings__teams__main-content\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"app\\\",\\\"requiresInboxSeatAccess\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__mb__25\\\"],[12],[2,\\\"\\\\n        Teams can help categorize conversations and give groups of teammates shared ownership over them. Only teammates with Inbox seats can be added to a team.\\\\n        \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/resolving-your-customers-issues/resolve-customer-issues-collaboratively/organize-your-inbox-by-team\\\",\\\"Learn more about teams\\\",\\\"article\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[8,\\\"settings/teams/main-content\\\",[],[[\\\"@app\\\",\\\"@sortedTeams\\\",\\\"@deleteSelectedTeam\\\",\\\"@revertNewSelectedTeam\\\",\\\"@showEmptyState\\\",\\\"@schedules\\\",\\\"@teamSettings\\\"],[[34,1],[34,2],[30,[36,3],[[32,0],\\\"deleteSelectedTeam\\\"],null],[30,[36,3],[[32,0],\\\"revertNewSelectedTeam\\\"],null],[34,4],[32,0,[\\\"model\\\",\\\"schedules\\\"]],[32,0,[\\\"model\\\",\\\"teamSettings\\\"]]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"app\\\",\\\"sortedTeams\\\",\\\"action\\\",\\\"showEmptyState\\\",\\\"transition-to\\\",\\\"titleToken\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/teams.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"G5Ejnnjs\",\"block\":\"{\\\"symbols\\\":[\\\"clickTrackingDomainOptOut\\\"],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[34,7]]],null],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__label o__no-visual-margins\\\"],[12],[2,\\\"\\\\n    Universal linking \\\"],[1,[30,[36,8],[\\\"Beta\\\",\\\"ml-1\\\"],null]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group t__light-text mt-2\\\"],[12],[2,\\\"\\\\n    To enable use of universal links, specify the domains on which you wish to disable click tracking\\\\n    \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\",\\\"@linkStyling\\\"],[\\\"https://www.intercom.com/help/faqs-and-troubleshooting/sending-messages/what-is-click-tracking\\\",\\\"Learn more\\\",\\\"article\\\",\\\"inline\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,9],[[35,4]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"table\\\"],[14,0,\\\"tbl\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"      \\\"],[10,\\\"thead\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[2,\\\"\\\\n            Domain\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell t__label\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"tbody\\\"],[14,0,\\\"tbl__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,6],[[30,[36,5],[[30,[36,5],[[35,4]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[32,1,[\\\"domain\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell o__contains-button\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@inCell\\\",\\\"@onClick\\\"],[\\\"secondary-destructive\\\",true,[30,[36,0],[[32,0],\\\"deleteClickTrackingDomainOptOut\\\",[32,1]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                Delete\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"mt-4\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,9],[[35,10]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__label\\\"],[12],[2,\\\"\\\\n        Domain\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[8,\\\"input\\\",[[16,\\\"required\\\",true],[24,\\\"placeholder\\\",\\\"e.g. example.com\\\"],[24,0,\\\"f__text\\\"]],[[\\\"@type\\\",\\\"@value\\\"],[\\\"text\\\",[34,1]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group mt-2\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Add domain\\\",\\\"primary\\\",[30,[36,3],[[35,2],[35,1]],null]]],null],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@disabled\\\",\\\"@onClick\\\"],[\\\"Cancel\\\",\\\"secondary\\\",[34,2,[\\\"isRunning\\\"]],[30,[36,0],[[32,0],\\\"toggleDomainEditor\\\",false],null]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Add domain\\\",\\\"secondary\\\",[30,[36,0],[[32,0],\\\"toggleDomainEditor\\\",true],null]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[10,\\\"span\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n    Note: Wildcards or paths are not supported right now e.g: *.example.com or example.com/t/ are not accepted. Any subdomains are not assumed and must be added separately e.g: app.example.com or tracking.example.com\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"newDomain\\\",\\\"createClickTrackingDomainOptOut\\\",\\\"perform\\\",\\\"clickTrackingDomainOptOuts\\\",\\\"-track-array\\\",\\\"each\\\",\\\"titleToken\\\",\\\"ic-stamp\\\",\\\"if\\\",\\\"expandDomainEditor\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/universal-linking.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"9gU5tRxZ\",\"block\":\"{\\\"symbols\\\":[\\\"installMethod\\\",\\\"installMethod\\\"],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[[32,0,[\\\"titleToken\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://developers.intercom.com/installing-intercom/docs/basic-javascript\\\",\\\"Learn more about installing on Web\\\",\\\"developer\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"ic-content\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"app\\\",\\\"is_activated\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"confirmation\\\",\\\"Intercom has been installed in your website or web app\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"help\\\",\\\"Intercom isn’t installed for your website or web app yet\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,\\\"paragraph\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      Installing Intercom on your website or web app lets you sync live user data to Intercom and enable the Intercom Messenger to talk to your customers and send in-app messages.\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"ic-card\\\",[],[[\\\"@padding\\\"],[\\\"relaxed\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,\\\"ic-content\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"2\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          Install chat for visitors\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n        \\\"],[8,\\\"paragraph\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          Setting up the Messenger for visitors lets you chat with people when they're on your website.\\\\n\\\\n          \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://www.intercom.com/help/install-on-your-product-or-site/quick-install/install-intercom-on-your-website-for-logged-out-visitors\\\",\\\"Learn more\\\",\\\"article\\\"]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n        \\\"],[8,\\\"messenger-installation/install-method-selector\\\",[],[[\\\"@selectedInstallMethod\\\",\\\"@baseAnalyticsMetadata\\\"],[[32,0,[\\\"selectedLoggedOutInstallMethod\\\"]],[32,0,[\\\"baseAnalyticsMetadata\\\"]]]],null],[2,\\\"\\\\n\\\\n\\\"],[6,[37,2],[[32,0,[\\\"selectedLoggedOutInstallMethod\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"messenger-installation/install-method-wrapper-component\\\",[],[[\\\"@verified\\\",\\\"@dropdownItems\\\",\\\"@selectedAudience\\\",\\\"@selectedCodeInstallType\\\",\\\"@baseAnalyticsMetadata\\\"],[[32,0,[\\\"app\\\",\\\"is_activated\\\"]],[32,0,[\\\"loggedOutDropdownItems\\\"]],[32,0,[\\\"LOGGED_OUT_AUDIENCE\\\"]],[30,[36,0],[[32,0,[\\\"selectedLoggedOutInstallMethod\\\"]],[32,0,[\\\"INSTALL_TYPE_CODE\\\"]]],null],[32,0,[\\\"baseAnalyticsMetadata\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"app\\\",\\\"is_activated\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[8,\\\"messenger-installation/install-verification-component\\\",[],[[\\\"@verificationKey\\\",\\\"@sourceKey\\\",\\\"@selectedAudience\\\",\\\"@baseAnalyticsMetadata\\\"],[[32,2,[\\\"verificationKey\\\"]],[32,2,[\\\"sourceKey\\\"]],[32,2,[\\\"selectedAudience\\\"]],[32,2,[\\\"analyticsMetadata\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"ic-card\\\",[],[[\\\"@padding\\\"],[\\\"relaxed\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,\\\"ic-content\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"2\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          Install chat for logged-in users\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n        \\\"],[8,\\\"paragraph\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          When you set up your Messenger for logged-in users, you know who your users are when they chat with you or use your product. This helps you support your customers and answer questions via live chat.\\\\n\\\\n          \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\",\\\"@linkStyling\\\"],[\\\"https://www.intercom.com/help/install-on-your-product-or-site/quick-install/install-intercom-on-your-web-app-for-logged-in-users\\\",\\\"Learn more\\\",\\\"article\\\",\\\"inline\\\"]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n        \\\"],[8,\\\"messenger-installation/install-method-selector\\\",[],[[\\\"@selectedInstallMethod\\\",\\\"@baseAnalyticsMetadata\\\"],[[32,0,[\\\"selectedLoggedInInstallMethod\\\"]],[32,0,[\\\"baseAnalyticsMetadata\\\"]]]],null],[2,\\\"\\\\n\\\\n\\\"],[6,[37,2],[[32,0,[\\\"selectedLoggedInInstallMethod\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"messenger-installation/install-method-wrapper-component\\\",[],[[\\\"@verified\\\",\\\"@dropdownItems\\\",\\\"@selectedAudience\\\",\\\"@selectedCodeInstallType\\\",\\\"@baseAnalyticsMetadata\\\"],[[32,0,[\\\"app\\\",\\\"is_activated\\\"]],[32,0,[\\\"loggedInDropdownItems\\\"]],[32,0,[\\\"LOGGED_IN_AUDIENCE\\\"]],[30,[36,0],[[32,0,[\\\"selectedLoggedInInstallMethod\\\"]],[32,0,[\\\"INSTALL_TYPE_CODE\\\"]]],null],[32,0,[\\\"baseAnalyticsMetadata\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"app\\\",\\\"is_activated\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[8,\\\"messenger-installation/install-verification-component\\\",[],[[\\\"@verificationKey\\\",\\\"@sourceKey\\\",\\\"@selectedAudience\\\",\\\"@baseAnalyticsMetadata\\\"],[[32,1,[\\\"verificationKey\\\"]],[32,1,[\\\"sourceKey\\\"]],[32,1,[\\\"selectedAudience\\\"]],[32,1,[\\\"analyticsMetadata\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"2\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      Other installation methods\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"paragraph\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      For instructions on how to install Intercom using a web framework or third-party integration,\\\\n      \\\"],[10,\\\"a\\\"],[15,6,[31,[[32,0,[\\\"docsUrl\\\"]]]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"text\\\",[],[[\\\"@linkStyling\\\"],[\\\"inline\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          visit our documentation page.\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\\n\\\"],[6,[37,2],[[32,0,[\\\"userSourcePresent\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n\\\\n      \\\"],[8,\\\"settings/identity-verification-installation-setup-component\\\",[],[[\\\"@userSource\\\",\\\"@identityVerified\\\"],[\\\"web\\\",[32,0,[\\\"app\\\",\\\"identityVerified\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"eq\\\",\\\"unless\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/web.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"iLyn0uIi\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"settings/standard-header\\\",[],[[\\\"@titleToken\\\"],[\\\"Legacy Webhooks\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\"],[\\\"https://developers.intercom.com/building-apps/docs/setting-up-webhooks\\\",\\\"More about Webhooks\\\",\\\"developer\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[8,\\\"settings/content-components/base\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\"],[\\\"error\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n      Webhooks for workspaces have been deprecated. New webhooks must now be managed through apps, to learn more\\\\n      \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\",\\\"@linkStyling\\\"],[\\\"https://developers.intercom.com/building-apps/docs/setting-up-webhooks\\\",\\\"visit our developer documentation\\\",\\\"developer\\\",\\\"inline\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/webhooks.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"ryuiYHcW\",\"block\":\"{\\\"symbols\\\":[\\\"emptyState\\\",\\\"webhook\\\",\\\"topic\\\"],\\\"statements\\\":[[6,[37,8],[[35,7]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"table\\\"],[14,0,\\\"tbl o__fit o__fixed dev-home__webhooks-table\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"    \\\"],[10,\\\"thead\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell text-gray\\\"],[12],[2,\\\"\\\\n          ID\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell text-gray\\\"],[12],[2,\\\"\\\\n          URL\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell text-gray\\\"],[12],[2,\\\"\\\\n          Hub Secret\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell text-gray\\\"],[12],[2,\\\"\\\\n          Topics\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell text-gray\\\"],[12],[2,\\\"\\\\n          Last Updated\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell text-gray\\\"],[12],[2,\\\"\\\\n          Ping\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"th\\\"],[14,0,\\\"tbl__cell text-gray\\\"],[12],[2,\\\"\\\\n          Delete\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"tbody\\\"],[14,0,\\\"tbl__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,0],[[30,[36,0],[[35,6]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"m__settings__settings__fixed-width-wrapper u__truncated-inline-block\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[32,2,[\\\"id\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"m__settings__settings__fixed-width-wrapper u__truncated-inline-block\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[32,2,[\\\"url\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"m__settings__settings__fixed-width-wrapper u__truncated-inline-block\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[32,2,[\\\"hubSecret\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,0],[[30,[36,0],[[32,2,[\\\"topics\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"p\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[32,3,[\\\"name\\\"]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,2],null,[[\\\"date\\\",\\\"format\\\"],[[32,2,[\\\"updatedAt\\\"]],\\\"dateHumanized\\\"]]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"ic-button\\\",[],[[\\\"@icon\\\",\\\"@solo\\\",\\\"@onClick\\\",\\\"@type\\\"],[\\\"transfer\\\",true,[30,[36,4],[[35,3],[32,2]],null],\\\"secondary\\\"]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"td\\\"],[14,0,\\\"tbl__cell\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"ic-button\\\",[],[[\\\"@icon\\\",\\\"@solo\\\",\\\"@subtle\\\",\\\"@onClick\\\",\\\"@type\\\"],[\\\"delete\\\",true,true,[30,[36,4],[[35,5],[32,2]],null],\\\"secondary-destructive\\\"]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\"],[\\\"webhook\\\",\\\"No legacy webhooks exist\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"description\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n        Create and manage new webhooks using apps, read more on our \\\\n        \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\",\\\"@linkStyling\\\"],[\\\"https://developers.intercom.com/building-apps/docs/setting-up-webhooks\\\",\\\"developer documentation\\\",\\\"developer\\\",\\\"inline\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-track-array\\\",\\\"each\\\",\\\"format-date\\\",\\\"sendPing\\\",\\\"perform\\\",\\\"deleteWebhook\\\",\\\"webhooks\\\",\\\"hasWebhooks\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/settings/webhooks/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"o7kr8vzh\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"sms/editor\\\",[],[[\\\"@sms\\\",\\\"@isEditing\\\"],[[32,0,[\\\"model\\\"]],true]],null]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/sms-demo.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"NVII8A/h\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between flex-wrap signup__teams__container o__tan u__overflow-hidden\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"signup/teams/header-component\\\",[],[[\\\"@isEarlyStage\\\",\\\"@navStep\\\"],[[32,0,[\\\"isEarlyStage\\\"]],[32,0,[\\\"navStep\\\"]]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row signup__teams__sidebar__container\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"signup/teams/checkout-sidebar-component\\\",[],[[\\\"@addOnPlanIds\\\",\\\"@isPro\\\",\\\"@price\\\",\\\"@solutionId\\\",\\\"@totalAmount\\\",\\\"@isEarlyStage\\\",\\\"@earlyStagePartnerWithoutMessenger\\\",\\\"@mobile\\\",\\\"@products\\\",\\\"@solutionPrice\\\",\\\"@creditCardStep\\\",\\\"@navStep\\\",\\\"@emailSubmissionId\\\",\\\"@gclid\\\",\\\"@couponCode\\\"],[[32,0,[\\\"addOnPlanIds\\\"]],[32,0,[\\\"isPro\\\"]],[32,0,[\\\"price\\\"]],[32,0,[\\\"solutionId\\\"]],[32,0,[\\\"totalAmount\\\"]],[32,0,[\\\"isEarlyStage\\\"]],[32,0,[\\\"earlyStagePartnerWithoutMessenger\\\"]],[32,0,[\\\"mobile\\\"]],[32,0,[\\\"products\\\"]],[32,0,[\\\"solutionPrice\\\"]],[30,[36,0],[[32,0,[\\\"navStep\\\"]],3],null],[32,0,[\\\"navStep\\\"]],[32,0,[\\\"emailSubmissionId\\\"]],[32,0,[\\\"gclid\\\"]],[32,0,[\\\"couponCode\\\"]]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-center signup__teams__body__container\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[30,[36,2],[[30,[36,1],null,null]],null]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[8,\\\"google-tag-manager-frame-component\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"],[8,\\\"signup/heap\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"eq\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/teams-checkout.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"4t2oYM3f\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,1,\\\"signup_body\\\"],[15,0,[31,[\\\"layout__box o__flexes-to-1 \\\",[30,[36,4],[[35,3],\\\"o__has-rows\\\",\\\"o__has-columns\\\"],null]]]],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"layout__box signup__teams__confirm__container m-4 \\\",[30,[36,5],[[35,3],\\\"o__flexes-to-1 overflow-y-scroll\\\"],null]]]],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__teams__confirm__form\\\"],[14,\\\"role\\\",\\\"form\\\"],[14,\\\"aria-label\\\",\\\"Credit card information\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"signup/teams/heading\\\",[],[[\\\"@heading\\\"],[[32,0,[\\\"heading\\\"]]]],null],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,6]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__padb__40\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"signup/teams/green-checklist-component\\\",[],[[\\\"@list\\\",\\\"@mobileDevice\\\"],[[34,1],[34,2]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[8,\\\"signup/teams/checkout-component\\\",[],[[\\\"@app\\\",\\\"@planIds\\\",\\\"@solutionId\\\",\\\"@isPro\\\",\\\"@premium\\\",\\\"@couponCode\\\",\\\"@onCheckout\\\",\\\"@addOnPlanIds\\\",\\\"@totalAmount\\\",\\\"@gclid\\\",\\\"@emailSubmissionId\\\",\\\"@purchaseExperience\\\",\\\"@mobileDevice\\\",\\\"@addOn\\\"],[[34,7],[34,8],[34,9],[34,10],[34,11],[34,12],[30,[36,0],[[32,0],\\\"redirectAfterCheckout\\\"],null],[34,13],[34,14],[34,15],[34,16],[34,17],[34,2],[34,18]]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-8\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,6]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"signup/teams/green-checklist-component\\\",[],[[\\\"@list\\\",\\\"@mobileDevice\\\"],[[34,1],[34,2]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-8\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"signup__teams__p2 u__padb__20 \\\",[30,[36,4],[[35,3],\\\"u__padl__20 u__padr__20\\\"],null]]]],[12],[2,\\\"\\\\n        Clicking the \\\\\\\"Start using Intercom\\\\\\\" button above means that you have read Intercom's \\\"],[10,\\\"a\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,6,\\\"https://www.intercom.com/terms-and-policies#privacy\\\"],[12],[2,\\\"\\\\n          Privacy\\\\n          Policy\\\\n        \\\"],[13],[2,\\\" and have reviewed and agree to Intercom's \\\"],[10,\\\"a\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,6,\\\"https://www.intercom.com/terms-and-policies#terms\\\"],[12],[2,\\\"\\\\n          Terms of\\\\n          Service,\\\\n        \\\"],[13],[2,\\\"\\\\n        which will govern your use of Intercom's products during and after the 14 Day Trial period.\\\\n        Your credit card will be charged monthly and your fees may vary based on how we bill.\\\\n\\\"],[6,[37,4],[[35,19]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"a\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0],\\\"escapeHatch\\\"],null]],[14,\\\"tabindex\\\",\\\"0\\\"],[12],[2,\\\"\\\\n            Or view Intercom workspace\\\\n          \\\"],[13],[2,\\\"\\\\n          without a trial.\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"subHeading\\\",\\\"mobileDevice\\\",\\\"mobileCart\\\",\\\"if\\\",\\\"unless\\\",\\\"isEarlyStage\\\",\\\"app\\\",\\\"planIds\\\",\\\"solutionId\\\",\\\"isPro\\\",\\\"premium\\\",\\\"couponCode\\\",\\\"addOnPlanIds\\\",\\\"totalAmount\\\",\\\"gclid\\\",\\\"emailSubmissionId\\\",\\\"purchaseExperience\\\",\\\"addOn\\\",\\\"showEscapeHatch\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/teams-checkout/confirm.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"ViWZzF6S\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,1,\\\"signup_body\\\"],[15,0,[31,[\\\"layout__box o__flexes-to-1 \\\",[30,[36,0],[[32,0,[\\\"mobileDevice\\\"]],\\\"o__has-rows\\\",\\\"o__has-columns\\\"],null]]]],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"layout__box o__flexes-to-1 \\\",[30,[36,1],[[32,0,[\\\"mobileDevice\\\"]],\\\"overflow-y-scroll\\\"],null]]]],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__teams__form\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__teams__heading\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"h2\\\"],[15,0,[31,[\\\"signup__teams__h2 signup__teams__h2--long \\\",[30,[36,0],[[32,0,[\\\"mobileDevice\\\"]],\\\"u__hidden\\\"],null]]]],[12],[2,\\\"\\\\n          Your Early Stage application\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[8,\\\"signup/teams/early-stage-application-form-component\\\",[],[[\\\"@solutionId\\\",\\\"@submitApplication\\\",\\\"@solutionPrice\\\",\\\"@totalAmount\\\",\\\"@partnerSource\\\"],[[32,0,[\\\"teamsController\\\",\\\"solutionId\\\"]],[32,0,[\\\"submitApplication\\\"]],[32,0,[\\\"teamsController\\\",\\\"solutionPrice\\\"]],[32,0,[\\\"teamsController\\\",\\\"totalAmount\\\"]],[32,0,[\\\"partnerSource\\\"]]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"unless\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/teams-checkout/early-stage-application.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"BFPqIB2g\",\"block\":\"{\\\"symbols\\\":[\\\"addOn\\\",\\\"feature\\\",\\\"feature\\\",\\\"index\\\",\\\"t\\\",\\\"product\\\",\\\"t\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-rows u__relative\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__teams__plans__container overflow-y-scroll\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"signup__teams__add-ons__addons-test \\\",[30,[36,4],[[32,0,[\\\"mobileDevice\\\"]],\\\"layout__box\\\"],null]]]],[12],[2,\\\"\\\\n      \\\"],[8,\\\"signup/teams/heading\\\",[],[[\\\"@heading\\\"],[[32,0,[\\\"heading\\\"]]]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__centers-horizontally\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__teams__plan__card signup__teams__plan__text\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"img\\\"],[15,0,[31,[\\\"signup__teams__plan__icon \\\",[30,[36,4],[[32,0,[\\\"mobileDevice\\\"]],\\\"u__hidden\\\"],null]]]],[15,\\\"src\\\",[32,0,[\\\"planIcon\\\"]]],[14,\\\"width\\\",\\\"48px\\\"],[12],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__teams__plan__card-title\\\"],[12],[1,[32,0,[\\\"planName\\\"]]],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__teams__plan__total-price\\\"],[12],[2,\\\"from \\\"],[10,\\\"strong\\\"],[12],[1,[32,0,[\\\"formattedSolutionPrice\\\"]]],[13],[2,\\\"/mo\\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[32,0,[\\\"planDescription\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,4],[[32,0,[\\\"showCoreProductsSection\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"h-8\\\"],[12],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__teams__plan__title-text\\\"],[12],[2,\\\"Core products: \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"layout__box \\\",[30,[36,4],[[32,0,[\\\"mobileDevice\\\"]],\\\"o__has-rows\\\",\\\"o__has-columns\\\"],null]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,[\\\"productsForPlan\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1\\\"],[12],[2,\\\"\\\\n                  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__padr__5\\\"],[12],[10,\\\"img\\\"],[15,\\\"src\\\",[32,6,[\\\"icon\\\"]]],[14,\\\"width\\\",\\\"20px\\\"],[12],[13],[13],[2,\\\"\\\\n                  \\\"],[8,\\\"ic-tooltip\\\",[],[[\\\"@isDisabled\\\"],[[32,0,[\\\"mobileDevice\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                    \\\"],[8,[32,7,[\\\"opener\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                      \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"signup__teams__plan__title-products \\\",[30,[36,4],[[32,0,[\\\"mobileDevice\\\"]],\\\"u__mb__10\\\"],null]]]],[12],[2,\\\"\\\\n                        \\\"],[1,[32,6,[\\\"marketingName\\\"]]],[2,\\\"\\\\n                      \\\"],[13],[2,\\\"\\\\n                    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n                    \\\"],[8,[32,7,[\\\"content\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                      \\\"],[1,[32,6,[\\\"description\\\"]]],[2,\\\"\\\\n                    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n                  \\\"]],\\\"parameters\\\":[7]}]]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[6]}]]],[2,\\\"            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,4],[[32,0,[\\\"planTopFeatures\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"h-8\\\"],[12],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__teams__plan__title-text\\\"],[12],[2,\\\"Top Features: \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"ul\\\"],[14,0,\\\"m-0 p-0\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,[\\\"planTopFeatures\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[10,\\\"li\\\"],[15,0,[31,[\\\"p-0 m-0 mt-4 ml-4 \\\",[30,[36,4],[[32,4],\\\"ml-10\\\"],null],\\\" signup__teams__plan__top-feature-title\\\"]]],[12],[2,\\\"\\\\n                  \\\"],[8,\\\"ic-tooltip\\\",[],[[\\\"@isDisabled\\\"],[[30,[36,6],[[30,[36,5],[[32,3,[\\\"prompt\\\",\\\"length\\\"]]],null],[32,0,[\\\"mobileDevice\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                    \\\"],[8,[32,5,[\\\"opener\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                      \\\"],[1,[32,3,[\\\"name\\\"]]],[2,\\\"\\\\n                    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n                    \\\"],[8,[32,5,[\\\"content\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                      \\\"],[1,[32,3,[\\\"prompt\\\"]]],[2,\\\"\\\\n                    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n                  \\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[3,4]}]]],[2,\\\"            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,5],[[32,0,[\\\"planTopFeatures\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"h3\\\"],[14,0,\\\"signup__teams__plan__card-sub-title mb-6 mt-3\\\"],[12],[2,\\\"Top Features\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[10,\\\"ul\\\"],[14,0,\\\"mt-4 p-0\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,[\\\"planFeatures\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"li\\\"],[14,0,\\\"p-0 m-0 mt-4 ml-4\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[32,2]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"u__mb__25 \\\",[30,[36,4],[[32,0,[\\\"mobileDevice\\\"]],\\\"u__hidden\\\"],null]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[32,0,[\\\"recommendedAddOns\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__centered-text-block layout__box o__centers-horizontally\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,\\\"clas\\\",\\\"signup__teams__plan__title-block\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__teams__plan__addons-title\\\"],[12],[2,\\\"\\\\n              Available add-on to trial now\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,[\\\"recommendedAddOns\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__centers-horizontally\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"signup/teams/addon-cta-component\\\",[[16,0,[32,0,[\\\"addOnClassNames\\\"]]]],[[\\\"@addOn\\\",\\\"@mobileDevice\\\",\\\"@active\\\",\\\"@toggleAddon\\\",\\\"@prices\\\"],[[32,1],[32,0,[\\\"mobileDevice\\\"]],[30,[36,0],[[32,0,[\\\"addOnPlanIds\\\"]],[32,1,[\\\"id\\\"]]],null],[30,[36,1],[[32,0],\\\"toggleAddOn\\\",[32,1,[\\\"id\\\"]]],null],[32,0,[\\\"prices\\\"]]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__teams__continue-footer layout__box o__centers-all\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__teams__add-ons__continue-container layout__box o__centers-all\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[[24,0,\\\"signup__teams__button signup__teams__button__addons\\\"]],[[\\\"@type\\\",\\\"@disabled\\\",\\\"@onClick\\\"],[\\\"primary\\\",false,[30,[36,1],[[32,0],\\\"transitionToCheckout\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"align-middle\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[32,0,[\\\"continueButtonLabel\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[1,[30,[36,7],[\\\"arrow-rebrand\\\"],[[\\\"class\\\"],[\\\"signup__teams__button__arrow\\\"]]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"includes\\\",\\\"action\\\",\\\"-track-array\\\",\\\"each\\\",\\\"if\\\",\\\"not\\\",\\\"or\\\",\\\"inline-svg\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/teams-checkout/plan.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"0g4LZzO/\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,1,\\\"signup_body\\\"],[15,0,[31,[\\\"layout__box o__flexes-to-1 \\\",[30,[36,0],[[32,0,[\\\"mobileDevice\\\"]],\\\"o__has-rows\\\",\\\"o__has-columns\\\"],null]]]],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"layout__box o__has-rows o__flexes-to-1 \\\",[30,[36,3],[[32,0,[\\\"mobileDevice\\\"]],\\\"overflow-y-scroll\\\"],null]]]],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"signup__teams__verify \\\",[30,[36,0],[[32,0,[\\\"mobileDevice\\\"]],\\\"layout__box\\\"],null]]]],[12],[2,\\\"\\\\n\\\\n      \\\"],[8,\\\"signup/teams/heading\\\",[],[[\\\"@heading\\\"],[[32,0,[\\\"heading\\\"]]]],null],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"m-4\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[12],[2,\\\"Thanks for signing up! You should see a verification link in your email\\\\n          (it might be in your spam folder).\\\\n          Verify your email to start with your Intercom trial today.\\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"m-4 u__centered-text-block\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"emailResent\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"p\\\"],[12],[2,\\\"We resent your verification email to \\\"],[1,[32,0,[\\\"admin\\\",\\\"email\\\"]]],[2,\\\".\\\\n            If you don't see it in your inbox, please check your spam folder.\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"p\\\"],[12],[11,\\\"a\\\"],[4,[38,2],[\\\"click\\\",[30,[36,1],[[32,0,[\\\"resendSignupValidationEmail\\\"]]],null]],null],[12],[2,\\\"Click here\\\"],[13],[2,\\\"\\\\n            if you didn’t get an email from Intercom.\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,0],[[32,0,[\\\"resendSignupValidationEmail\\\",\\\"isRunning\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[12],[2,\\\"Resending email…\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"mt-4 u__center-layout\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"img\\\"],[14,\\\"src\\\",\\\"/assets/images/signup-teams/SMB_Hero.png\\\"],[14,\\\"srcset\\\",\\\"/assets/images/signup-teams/SMB_Hero@2x.png 2x\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,3],[[32,0,[\\\"mobileCart\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"developer\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"signup/teams/developer-sidebar-component\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"perform\\\",\\\"on\\\",\\\"unless\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/teams-checkout/verify.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"HJd+1BKj\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"onboarding/home/hosted-messenger\\\",[],[[\\\"@step\\\",\\\"@appName\\\",\\\"@onboardingHome\\\"],[[32,0,[\\\"model\\\"]],[32,0,[\\\"appService\\\",\\\"app\\\",\\\"name\\\"]],[32,0,[\\\"onboardingHome\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/test-conversation.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"ebQdATwI\",\"block\":\"{\\\"symbols\\\":[\\\"editorWrapper\\\",\\\"contentEditorService\\\",\\\"paywall\\\"],\\\"statements\\\":[[6,[37,1],[[30,[36,0],[\\\"orchestration-tours-content-editor\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"content-editor\\\",[],[[\\\"@ruleset\\\",\\\"@rulesetLink\\\",\\\"@filter\\\",\\\"@mode\\\",\\\"@view\\\",\\\"@onChangeFilter\\\",\\\"@onChangeMode\\\",\\\"@onChangeView\\\",\\\"@onChangeActiveRulesetLink\\\"],[[32,0,[\\\"model\\\"]],[32,0,[\\\"rulesetLink\\\"]],[32,0,[\\\"filter\\\"]],[32,0,[\\\"mode\\\"]],[32,0,[\\\"view\\\"]],[32,0,[\\\"changeFilter\\\"]],[32,0,[\\\"changeMode\\\"]],[32,0,[\\\"changeView\\\"]],[32,0,[\\\"changeActiveRulesetLink\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,6],[[30,[36,3],[\\\"content-editor-service\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[[32,2,[\\\"editorConfiguration\\\",\\\"requiredFeature\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,3,[\\\"Banner\\\"]],[],[[\\\"@content\\\"],[\\\"Upgrade to set product tours live\\\"]],null],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"p-4 content-editor__main pl-8 pr-8\\\"],[12],[2,\\\"\\\\n          \\\"],[8,[32,1,[\\\"Editor\\\"]],[],[[],[]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[30,[36,0],[\\\"canUseToursInOutboundHome\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"outbound/submenu-component\\\",[],[[\\\"@toggleSearch\\\"],[[32,0,[\\\"transitionToSearch\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"main__content-outlet layout__box o__has-rows o__flexes-to-1 \\\",[30,[36,1],[[30,[36,4],[[30,[36,3],[\\\"navbarCollapsingService.collapsed\\\"],null],[30,[36,2],[[30,[36,0],[\\\"canUseToursInOutboundHome\\\"],null]],null]],null],\\\"o__without-submenu\\\"],null],\\\" o__scrolls\\\"]]],[12],[2,\\\"\\\\n    \\\"],[8,\\\"intercomrade-warning\\\",[],[[],[]],null],[2,\\\"\\\\n    \\\"],[8,\\\"tours/upgrade-install-banner\\\",[],[[],[]],null],[2,\\\"\\\\n    \\\"],[8,\\\"tours/tour-editor\\\",[],[[\\\"@changeView\\\",\\\"@filter\\\",\\\"@isEditing\\\",\\\"@initiallyOpenSectionName\\\",\\\"@ruleset\\\",\\\"@stat\\\"],[[30,[36,5],[[32,0],\\\"changeView\\\"],null],[32,0,[\\\"filter\\\"]],[32,0,[\\\"editing\\\"]],[32,0,[\\\"initiallyOpenSectionName\\\"]],[32,0,[\\\"model\\\"]],[32,0,[\\\"stat\\\"]]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"has-feature\\\",\\\"if\\\",\\\"not\\\",\\\"service\\\",\\\"or\\\",\\\"action\\\",\\\"let\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/tours/edit.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"mz62HmuI\",\"block\":\"{\\\"symbols\\\":[\\\"banner\\\",\\\"links\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"main__content-outlet o__without-submenu tours__main-content-container\\\"],[14,\\\"data-scroll-container\\\",\\\"\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"tours/upgrade-install-banner\\\",[],[[],[]],null],[2,\\\"\\\\n  \\\"],[8,\\\"pulse/hero-banner\\\",[],[[\\\"@svg\\\",\\\"@title\\\",\\\"@description\\\",\\\"@scrollSelector\\\"],[\\\"product-tours-list\\\",\\\"Product Tours\\\",\\\"Guide customers in your product to drive faster adoption.\\\",\\\"[data-scroll-container]\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"Links\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"Tour\\\"]],[[24,\\\"data-track-analytics-event-object\\\",\\\"how_to_get_started_link\\\"],[24,\\\"data-intercom-target\\\",\\\"ProductTours Get Started link\\\"]],[[\\\"@title\\\",\\\"@tourId\\\"],[\\\"See what you can do with tours\\\",\\\"2309\\\"]],null],[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"Link\\\"]],[[24,\\\"data-track-analytics-event-object\\\",\\\"how_product_tours_work_link\\\"]],[[\\\"@title\\\",\\\"@href\\\",\\\"@type\\\"],[\\\"Learn how tours work\\\",\\\"https://www.intercom.com/help/product-tours/guide-customers-to-success-with-product-tours\\\",\\\"article\\\"]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"Action\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,\\\"tours/tours-list/new-tour-dropdown\\\",[],[[\\\"@label\\\",\\\"@templates\\\"],[\\\"New tour\\\",[32,0,[\\\"model\\\",\\\"templates\\\"]]]],null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n  \\\"],[8,\\\"intercomrade-warning\\\",[],[[],[]],null],[2,\\\"\\\\n  \\\"],[8,\\\"tours/tours-list/main-component\\\",[],[[\\\"@rulesets\\\",\\\"@templates\\\",\\\"@state\\\"],[[32,0,[\\\"model\\\",\\\"rulesets\\\"]],[32,0,[\\\"model\\\",\\\"templates\\\"]],[32,0,[\\\"state\\\"]]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/tours/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"nVjn++7s\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"main__content-outlet o__without-submenu layout__box o__has-rows o__flexes-to-1\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"large\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/tours/loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"mOCKNI+j\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"span\\\"],[14,0,\\\"user_count\\\"],[12],[2,\\\"\\\\n  \\\"],[1,[30,[36,1],[[35,0]],null]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"totalCount\\\",\\\"number-formatter-helper\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/users-and-companies/filter-count-summary.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"J5CxfZJ4\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\"],[\\\"closeModal\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Export \\\"],[1,[34,0]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,2],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,3],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,4]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\"],[\\\"error\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        An error occurred while exporting your \\\"],[1,[34,1]],[2,\\\", please try again.\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__radio-group\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[14,0,\\\"f__radio-label u__cf\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-wrapper\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"radio-button\\\",[],[[\\\"@selection\\\",\\\"@value\\\",\\\"@name\\\"],[[34,6],\\\"selected\\\",\\\"attributeExportMode\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-content\\\"],[12],[2,\\\"\\\\n          Export with the currently displayed columns\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__radio-group\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[14,0,\\\"f__radio-label u__cf\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-wrapper\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"radio-button\\\",[],[[\\\"@selection\\\",\\\"@value\\\",\\\"@name\\\"],[[34,6],\\\"all\\\",\\\"attributeExportMode\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-content\\\"],[12],[2,\\\"\\\\n          Export with all columns\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[\\\"@processing\\\"],[[34,7]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\"],[\\\"Cancel\\\",[30,[36,2],[[32,0],\\\"closeIntercomModal\\\"],null]]],null],[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[[24,\\\"data-intercom-target\\\",\\\"Export button\\\"]],[[\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[\\\"primary\\\",[30,[36,2],[[32,0],\\\"submit\\\"],null],[34,8]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,5],[[35,7]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          Saving…\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          Export \\\"],[1,[34,0]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"headerText\\\",\\\"targetPlural\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"hasErrored\\\",\\\"if\\\",\\\"attributeExportMode\\\",\\\"isSaving\\\",\\\"isInvalid\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/users-and-companies/modals/export.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"JhD6dSW1\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\",\\\"@modalClass\\\"],[\\\"closeModal\\\",\\\"o__medium\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Tag \\\"],[1,[34,0]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,1],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,2],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,3]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"error\\\",\\\"An error occurred while saving this tag, please try again.\\\"]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__radio-list-header\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__label f__group-label\\\"],[12],[2,\\\"\\\\n        Name\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__radio-group flex items-start\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[14,0,\\\"f__radio-label u__cf btn__associated-content modal__form-group__left-media-part\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-wrapper\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"radio-button\\\",[],[[\\\"@selection\\\",\\\"@value\\\",\\\"@name\\\"],[[34,5],\\\"false\\\",\\\"tagCreateOrUpdate\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-content\\\"],[12],[2,\\\"\\\\n          Existing tag\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0 btn__associated-content\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"one-way-select\\\",[[16,0,[31,[\\\"f__select o__fit \\\",[30,[36,4],[[35,9],\\\"o__disabled\\\"],null]]]]],[[\\\"@options\\\",\\\"@value\\\",\\\"@optionTargetPath\\\",\\\"@optionLabelPath\\\",\\\"@disabled\\\",\\\"@update\\\"],[[34,6],[34,7],\\\"name\\\",\\\"name\\\",[34,8],[30,[36,1],[[32,0],[30,[36,10],[[35,7]],null]],null]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__radio-group flex items-start\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[14,0,\\\"f__radio-label u__cf btn__associated-content modal__form-group__left-media-part\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-wrapper\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"radio-button\\\",[],[[\\\"@selection\\\",\\\"@value\\\",\\\"@name\\\"],[[34,5],\\\"true\\\",\\\"tagCreateOrUpdate\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-content\\\"],[12],[2,\\\"\\\\n          New tag\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"auto-focus-component\\\",[],[[\\\"@focusIf\\\"],[[34,8]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"input\\\",[[24,\\\"placeholder\\\",\\\"Enter new tag name\\\"],[16,0,[31,[\\\"f__text o__fit test__tagging-modal__new-tag-input \\\",[30,[36,4],[[35,9],\\\"o__disabled\\\"],null]]]]],[[\\\"@disabled\\\",\\\"@value\\\"],[[34,11],[34,12]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,8]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n        New tags you create are visible to you, but hidden for your teammates.\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[\\\"@processing\\\"],[[30,[36,15],[[35,14],[35,13]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\"],[\\\"Cancel\\\",[30,[36,1],[[32,0],\\\"closeIntercomModal\\\"],null]]],null],[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@type\\\",\\\"@onClick\\\",\\\"@testBindingClass\\\"],[\\\"primary\\\",[30,[36,1],[[32,0],\\\"submit\\\"],null],\\\"test__tag-person-button\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,4],[[35,13]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          Saving…\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          Tag \\\"],[1,[34,0]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"headerText\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"hasErrored\\\",\\\"if\\\",\\\"newTag\\\",\\\"sortedTags\\\",\\\"existingTagName\\\",\\\"isNew\\\",\\\"disabled\\\",\\\"mut\\\",\\\"isExisting\\\",\\\"newTagName\\\",\\\"isSaving\\\",\\\"isInvalid\\\",\\\"or\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/users-and-companies/modals/tag.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"YWeqVn3g\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,3],[[35,2]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"span\\\"],[14,0,\\\"t__group-label u__left user-list__selected-count js__selected-count\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,1],[[35,0]],null]],[2,\\\" selected\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"selectedCount\\\",\\\"number-formatter-helper\\\",\\\"hasSelectedUsers\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/users-and-companies/selected-count.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"1vQyOtcu\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"messages/email-verification-banner-component\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 js__main-container\\\"],[12],[2,\\\"\\\\n  \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/users.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"bg5lJWIe\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/users/segments.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"mi6a15z0\",\"block\":\"{\\\"symbols\\\":[\\\"filterWrapper\\\"],\\\"statements\\\":[[8,\\\"users-and-companies/segment-title\\\",[],[[\\\"@segment\\\",\\\"@tags\\\",\\\"@searchModel\\\",\\\"@searchActive\\\",\\\"@doSearch\\\",\\\"@exitSearch\\\"],[[32,0,[\\\"model\\\"]],[32,0,[\\\"app\\\",\\\"tags\\\"]],[32,0,[\\\"searchModel\\\"]],[32,0,[\\\"searchActive\\\"]],[30,[36,0],[[32,0],\\\"doSearch\\\"],null],[30,[36,0],[[32,0],\\\"exitSearch\\\"],null]]],null],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"app\\\",\\\"isDeveloperWorkspace\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"user-restriction-warning\\\",[[24,0,\\\"users-and-companies__list__user-restriction-warning\\\"]],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[32,0,[\\\"searchActive\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"users-and-companies/filter-wrapper\\\",[],[[\\\"@legacySegment\\\",\\\"@onUpdate\\\"],[[32,0,[\\\"model\\\"]],[30,[36,0],[[32,0],\\\"segmentFiltersChanged\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box u__padl__30 u__padr__30\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"users-and-companies/advanced-segment-editor\\\",[],[[\\\"@isUserSegment\\\",\\\"@segment\\\",\\\"@onUpdate\\\"],[true,[32,1,[\\\"segment\\\"]],[32,1,[\\\"updateSegmentPredicates\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"isDirtyAndHasValidPredicates\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"u__display-inline-block u__ml__15 u__left users-and-companies__predicates-editor__save-segment\\\"],[12],[2,\\\"\\\\n              \\\"],[11,\\\"a\\\"],[24,0,\\\"btn__tertiary js__create-or-save-segment-button\\\"],[4,[38,0],[[32,0],[32,0,[\\\"createSegment\\\"]],[32,0,[\\\"model\\\"]]],null],[12],[2,\\\"\\\\n                \\\"],[1,[30,[36,2],[\\\"segment\\\"],null]],[2,\\\" Save segment\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls u__relative js__user-company-list-container users-and-companies__list\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"searchActive\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[32,0,[\\\"searchEmpty\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"search-empty-state\\\",[],[[\\\"@context\\\",\\\"@exitSearch\\\"],[\\\"platform\\\",[30,[36,0],[[32,0],\\\"exitSearch\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"users-and-companies/search-tabs\\\",[],[[\\\"@classNames\\\",\\\"@searchTerm\\\"],[\\\"u__padl__20\\\",[32,0,[\\\"searchController\\\",\\\"searchTerm\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[6,[37,3],[[30,[36,4],[[32,0,[\\\"searchActive\\\"]],[32,0,[\\\"searchEmpty\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"user-list\\\",[],[[\\\"@search\\\",\\\"@segment\\\"],[[32,0,[\\\"searchModel\\\"]],[32,0,[\\\"model\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"if\\\",\\\"ic-interface-icon\\\",\\\"unless\\\",\\\"and\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/users/segments/segment.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"z1sccxLZ\",\"block\":\"{\\\"symbols\\\":[\\\"t\\\"],\\\"statements\\\":[[6,[37,8],[[35,11]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"ic-tooltip\\\",[[24,0,\\\"u__left\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"opener\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,8],[[35,7]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"messages/bulk-message\\\",[],[[\\\"@hasPeopleOrCompaniesToShow\\\",\\\"@hasSelectedUsers\\\",\\\"@segment\\\",\\\"@bulkOperationsDisabled\\\",\\\"@createAutoMessage\\\",\\\"@createManualMessage\\\",\\\"@createCompanyMessage\\\"],[[34,10],[34,11],[34,12],[34,1],[30,[36,0],[[32,0],\\\"createAutoMessage\\\"],null],[30,[36,0],[[32,0],\\\"createManualMessage\\\"],null],[30,[36,0],[[32,0],\\\"createCompanyMessage\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"modal-link-component\\\",[],[[\\\"@controllerPath\\\",\\\"@precision\\\",\\\"@enabled\\\",\\\"@action\\\"],[\\\"apps/app/users/segments/segment/modals/message\\\",true,[34,15],\\\"openMessageModalOrPromptUpgrade\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@disabled\\\",\\\"@inLeftList\\\",\\\"@jsBindingClass\\\"],[\\\"secondary\\\",[34,1],true,\\\"js__bulk-message-button\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,8],[[35,5,[\\\"canUseContentOrientedNavigation\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[1,[30,[36,13],[\\\"outbound-filled\\\"],null]],[2,\\\" Send a message\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,8],[[35,14]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[1,[30,[36,13],[\\\"outbound-filled\\\"],null]],[2,\\\" Start a conversation\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"                \\\"],[1,[30,[36,13],[\\\"outbound-filled\\\"],null]],[2,\\\" Message\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"content\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[1,[32,0,[\\\"bulkMessageTooltipText\\\"]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"messages/bulk-message\\\",[],[[\\\"@hasPeopleOrCompaniesToShow\\\",\\\"@hasSelectedUsers\\\",\\\"@segment\\\",\\\"@bulkOperationsDisabled\\\",\\\"@createAutoMessage\\\",\\\"@createManualMessage\\\"],[[34,10],[34,11],[34,12],[34,1],[30,[36,0],[[32,0],\\\"createAutoMessage\\\"],null],[30,[36,0],[[32,0],\\\"createManualMessage\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,8],[[35,10]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"ic-button\\\",[[24,0,\\\"u__left\\\"],[4,[38,4],null,[[\\\"content\\\"],[[32,0,[\\\"bulkTagTooltipText\\\"]]]]]],[[\\\"@type\\\",\\\"@icon\\\",\\\"@label\\\",\\\"@disabled\\\",\\\"@inLeftList\\\",\\\"@onClick\\\"],[\\\"secondary\\\",\\\"tag\\\",\\\"Tag\\\",[34,1],true,[30,[36,0],[[32,0],[30,[36,3],[[35,2]],null],true],null]]],null],[2,\\\"\\\\n  \\\"],[8,\\\"ic-modal\\\",[],[[\\\"@onModalClose\\\",\\\"@width\\\",\\\"@showCloseIcon\\\",\\\"@isOpen\\\"],[[30,[36,0],[[32,0],[30,[36,3],[[35,2]],null],false],null],\\\"m\\\",false,[34,2]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"users-and-companies/bulk-tagging\\\",[],[[\\\"@app\\\",\\\"@admin\\\",\\\"@updateTaggings\\\",\\\"@tagTypeLabel\\\",\\\"@type\\\",\\\"@location\\\",\\\"@afterSave\\\",\\\"@count\\\",\\\"@closeModal\\\"],[[34,5],[34,5,[\\\"currentAdmin\\\"]],[30,[36,0],[[32,0],\\\"updateTaggings\\\"],null],[34,6],\\\"user-company\\\",[30,[36,8],[[35,7],\\\"company_list\\\",\\\"user_list\\\"],null],[30,[36,0],[[32,0],\\\"afterTagSave\\\"],null],[34,9],[30,[36,0],[[32,0],[30,[36,3],[[35,2]],null],false],null]]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[8,\\\"bulk-action-select-component\\\",[],[[\\\"@app\\\",\\\"@isCompany\\\",\\\"@bulkActionAudienceLabel\\\",\\\"@bulkOperationsDisabled\\\",\\\"@import\\\",\\\"@openModalWithSelectionState\\\",\\\"@checkPermissionsForExportAndOpenAppropriateModal\\\",\\\"@selected\\\",\\\"@predicates\\\",\\\"@showCreateUserModal\\\",\\\"@totalCount\\\",\\\"@personTypeName\\\",\\\"@reload\\\"],[[34,5],[34,7],[34,16],[34,1],[30,[36,0],[[32,0],\\\"import\\\"],null],\\\"openModalWithSelectionState\\\",[30,[36,0],[[32,0],\\\"checkPermissionsForExportAndOpenAppropriateModal\\\"],null],[34,17],[34,18],[30,[36,0],[[32,0],\\\"showCreateUserModal\\\"],null],[34,19],[34,20],[30,[36,0],[[32,0],\\\"reload\\\"],null]]],null],[2,\\\"\\\\n\\\"],[6,[37,8],[[35,11]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"span\\\"],[14,0,\\\"u__ml__10\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@subtle\\\"],[\\\"Clear selection\\\",\\\"secondary\\\",[30,[36,0],[[32,0],\\\"clearSelection\\\"],null],true]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"bulkOperationsDisabled\\\",\\\"showTagModal\\\",\\\"mut\\\",\\\"tooltip\\\",\\\"app\\\",\\\"tagTypeLabel\\\",\\\"isCompany\\\",\\\"if\\\",\\\"taggableCount\\\",\\\"hasPeopleOrCompaniesToShow\\\",\\\"hasSelectedUsers\\\",\\\"segment\\\",\\\"ic-interface-icon\\\",\\\"selectedOneUser\\\",\\\"bulkOperationsEnabled\\\",\\\"bulkActionAudienceLabel\\\",\\\"selected\\\",\\\"predicates\\\",\\\"totalCount\\\",\\\"personTypeName\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/users/segments/segment/-bulk-actions.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"HkUYJjap\",\"block\":\"{\\\"symbols\\\":[\\\"group\\\"],\\\"statements\\\":[[10,\\\"header\\\"],[15,0,[31,[\\\"user-list__header o__without-select-all u__cf layout__box \\\",[30,[36,10],[[35,14],\\\"o__without-selected-users\\\"],null],\\\" \\\",[30,[36,12],[[35,17],\\\"o__searching u__padt__0\\\"],null]]]],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,12],[[35,18]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[19,\\\"apps/app/users/segments/segment/user-list-heading-count\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__left t__group-label user-list__heading-and-selected-count\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,10],[[35,16]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"div\\\"],[14,0,\\\"user-list__map-info\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,12],[[35,7]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"              Showing \\\"],[1,[30,[36,6],[[35,15]],null]],[2,\\\"/\\\"],[1,[30,[36,6],[[35,7]],null]],[2,\\\"\\\\n               \\\\n              \\\"],[1,[30,[36,2],[[35,1,[\\\"personTypeName\\\"]],[35,7]],null]],[2,\\\" from \\\"],[1,[30,[36,6],[[35,8]],null]],[2,\\\"\\\\n               \\\"],[1,[30,[36,2],[\\\"country\\\",[35,8]],[[\\\"pluralForm\\\"],[\\\"countries\\\"]]]],[2,\\\"…\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"              Loading \\\"],[1,[30,[36,2],[[35,1,[\\\"personTypeName\\\"]]],null]],[2,\\\"… \\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,12],[[35,8]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"h1\\\"],[14,0,\\\"t__h2 u__left\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,12],[[35,14]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[10,\\\"span\\\"],[14,0,\\\"test__user-list-selected-count\\\"],[12],[2,\\\"\\\\n                  \\\"],[1,[30,[36,6],[[35,13]],null]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n                \\\"],[1,[30,[36,2],[[35,4],[35,13]],null]],[2,\\\"\\\\n                selected from \\\"],[1,[30,[36,6],[[35,8]],null]],[2,\\\" \\\"],[1,[30,[36,2],[\\\"country\\\",[35,8]],[[\\\"pluralForm\\\"],[\\\"countries\\\"]]]],[2,\\\"\\\\n                \\\"],[10,\\\"span\\\"],[14,0,\\\"t__h2__deem\\\"],[12],[2,\\\"\\\\n                  of \\\"],[19,\\\"apps/app/users-and-companies/filter-count-summary\\\",[]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,12],[[35,11]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                  \\\"],[1,[30,[36,6],[[35,7]],null]],[2,\\\" \\\"],[1,[30,[36,2],[[35,1,[\\\"personTypeName\\\"]],[35,7]],null]],[2,\\\"\\\\n                  from \\\"],[1,[30,[36,6],[[35,8]],null]],[2,\\\" \\\"],[1,[30,[36,2],[\\\"country\\\",[35,8]],[[\\\"pluralForm\\\"],[\\\"countries\\\"]]]],[2,\\\"\\\\n\\\"],[6,[37,10],[[35,9]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[10,\\\"span\\\"],[14,0,\\\"t__h2__deem\\\"],[12],[2,\\\"\\\\n                      of \\\"],[1,[30,[36,6],[[35,5]],null]],[2,\\\"\\\\n                    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"                  No \\\"],[1,[30,[36,2],[[35,4],[35,3]],null]],[2,\\\" match\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"user-list__map-info\\\"],[12],[2,\\\"\\\\n              No \\\"],[1,[30,[36,2],[[35,1,[\\\"personTypeName\\\"]]],null]],[2,\\\" with location data\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[19,\\\"apps/app/users/segments/segment/bulk-actions\\\",[]],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__right js_right_user_company_list_buttons\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,12],[[35,18]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"displayed-attributes-dropdown-component\\\",[],[[\\\"@app\\\"],[[34,0]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[10,\\\"span\\\"],[14,0,\\\"u__padl__10\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-radio-button-group\\\",[],[[\\\"@selectedValue\\\",\\\"@onSelectionChange\\\"],[[34,19],[30,[36,20],[[32,0],\\\"onViewModeChange\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@icon\\\",\\\"@value\\\"],[\\\"list\\\",\\\"table\\\"]],null],[2,\\\"\\\\n          \\\"],[8,[32,1,[\\\"button\\\"]],[],[[\\\"@icon\\\",\\\"@value\\\"],[\\\"globe\\\",\\\"map\\\"]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"app\\\",\\\"segment\\\",\\\"inflector-helper\\\",\\\"totalCount\\\",\\\"personTypeName\\\",\\\"peopleCount\\\",\\\"number-formatter-helper\\\",\\\"totalMapUsersCount\\\",\\\"numberOfUserCountries\\\",\\\"isShowingAll\\\",\\\"unless\\\",\\\"hasPeopleOrCompaniesToShow\\\",\\\"if\\\",\\\"selectedCount\\\",\\\"hasSelectedUsers\\\",\\\"mapUsersLoadedCount\\\",\\\"mapUsersHaveLoaded\\\",\\\"searchActive\\\",\\\"showingTable\\\",\\\"viewMode\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/users/segments/segment/-user-list-header.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"9iBvHIs7\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"u__left user-list__heading-and-selected-count js__user-list__filter-and-select-details\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"h1\\\"],[14,0,\\\"t__h2 u__left\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,8],[[35,10]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"span\\\"],[14,0,\\\"test__user-list-selected-count\\\"],[12],[1,[30,[36,4],[[35,9]],null]],[13],[2,\\\"\\\\n      \\\"],[1,[30,[36,2],[[35,1],[35,9]],null]],[2,\\\" selected\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"t__h2__deem\\\"],[12],[2,\\\"\\\\n        of \\\"],[19,\\\"apps/app/users-and-companies/filter-count-summary\\\",[]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,8],[[35,7]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[19,\\\"apps/app/users-and-companies/filter-count-summary\\\",[]],[2,\\\"\\\\n        \\\"],[1,[30,[36,2],[[35,1],[35,0]],null]],[2,\\\"\\\\n\\\"],[6,[37,6],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[1,[30,[36,2],[\\\"matches\\\",[35,0]],null]],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"t__h2__deem\\\"],[12],[2,\\\"\\\\n            of \\\"],[1,[30,[36,4],[[35,3]],null]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        No \\\"],[1,[30,[36,2],[[35,1],[35,0]],null]],[2,\\\" match\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"totalCount\\\",\\\"personTypeName\\\",\\\"inflector-helper\\\",\\\"peopleCount\\\",\\\"number-formatter-helper\\\",\\\"isShowingAll\\\",\\\"unless\\\",\\\"hasPeopleOrCompaniesToShow\\\",\\\"if\\\",\\\"selectedCount\\\",\\\"hasSelectedUsers\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/users/segments/segment/-user-list-heading-count.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"cULy65DE\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/users-and-companies/modals/export\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/users/segments/segment/modals/export.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"fyHB6Flc\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"components/modal/message\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/users/segments/segment/modals/message.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"PVO/sSOB\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\",\\\"@modalClass\\\"],[\\\"closeModal\\\",\\\"o__medium\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Save segment\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,7],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,8],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,9]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\",\\\"@text\\\"],[\\\"error\\\",[34,6]]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[35,0]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"ic-banner\\\",[],[[\\\"@type\\\"],[\\\"error\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          You already have a segment named ‘\\\"],[1,[34,4]],[2,\\\"’\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[6,[37,1],[[35,10,[\\\"is_editable\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__radio-group\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"label\\\"],[14,0,\\\"f__radio-label btn__associated-content\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-wrapper\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"radio-button\\\",[],[[\\\"@selection\\\",\\\"@value\\\"],[[34,2],\\\"false\\\"]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-content\\\"],[12],[2,\\\"\\\\n            Save changes to the segment \\\"],[10,\\\"strong\\\"],[12],[2,\\\"‘\\\"],[1,[35,3,[\\\"name\\\"]]],[2,\\\"’\\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group o__radio-group flex items-start\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[14,0,\\\"f__radio-label u__cf btn__associated-content modal__form-group__left-media-part\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-wrapper\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"radio-button\\\",[],[[\\\"@selection\\\",\\\"@value\\\"],[[34,2],\\\"true\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"f__radio-content\\\"],[12],[2,\\\"\\\\n          Create new segment\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"auto-focus-component\\\",[],[[\\\"@focusIf\\\"],[[34,0]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"input\\\",[[24,\\\"placeholder\\\",\\\"Enter new segment name\\\"],[16,0,[31,[\\\"f__text o__fit \\\",[30,[36,1],[[35,12],\\\"o__disabled\\\"],null]]]]],[[\\\"@disabled\\\",\\\"@value\\\"],[[34,11],[34,4]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,0]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"t__light-text\\\"],[12],[2,\\\"\\\\n        This segment will show in your sidebar. Other teammates will need to edit their sidebar to show it.\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[\\\"@processing\\\"],[[34,13]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\"],[\\\"Cancel\\\",[30,[36,7],[[32,0],\\\"closeIntercomModal\\\"],null]]],null],[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[\\\"primary\\\",[30,[36,7],[[32,0],\\\"submit\\\"],null],[34,14]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[35,13]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          Saving…\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[35,0]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            Save new segment\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            Save segment\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"secondaryButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"modal__footer__tertiary-button btn__associated-content\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"link-to\\\",[[24,0,\\\"btn__tertiary\\\"],[24,\\\"target\\\",\\\"_blank\\\"]],[[\\\"@route\\\",\\\"@tabindex\\\"],[\\\"apps.app.settings.people-segments\\\",\\\"-1\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          Manage \\\"],[1,[35,15,[\\\"name\\\"]]],[2,\\\" people segments ↗\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"isNew\\\",\\\"if\\\",\\\"newSegment\\\",\\\"currentSegment\\\",\\\"newSegmentName\\\",\\\"newNameAlreadyExists\\\",\\\"errorMessage\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"hasErrored\\\",\\\"model\\\",\\\"isExisting\\\",\\\"disabled\\\",\\\"isSaving\\\",\\\"isInvalid\\\",\\\"app\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/users/segments/segment/modals/segment.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"K7JWy5NI\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\"],[[30,[36,0],[[32,0],\\\"closeModalUsingModalService\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[8,\\\"common/tagging-component\\\",[],[[\\\"@title\\\",\\\"@taggable\\\",\\\"@type\\\",\\\"@location\\\",\\\"@afterSave\\\"],[[30,[36,3],[\\\"Tag \\\",[30,[36,2],[[35,1,[\\\"typeLabel\\\"]]],null]],null],[34,1],\\\"user-company\\\",\\\"user_list\\\",[30,[36,0],[[32,0],\\\"closeIntercomModal\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"taggable\\\",\\\"lowercase\\\",\\\"concat\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/users/segments/segment/modals/tagging.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"cDEAHA6v\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 u__center-layout\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"profile__404__sad-intercom\\\"],[12],[2,\\\"\\\\n\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-8\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__centered-text-block\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"p\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n        Sorry we couldn't find the person you were looking for\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"p\\\"],[14,0,\\\"t__notice-text\\\"],[12],[2,\\\"\\\\n        Return to your\\\\n        \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@model\\\"],[\\\"apps.app.users.segments.segment\\\",\\\"all\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          people list\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/users/user-not-found.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"YlOs3DuJ\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"profile layout__box o__flexes-to-1 o__scrolls\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,0]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"modal/user-deletion/archive-user\\\",[],[[\\\"@closeModal\\\",\\\"@user\\\"],[[30,[36,2],[[32,0],[30,[36,1],[[35,0]],null],false],null],[34,3]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[8,\\\"users/user-profile-header\\\",[],[[\\\"@app\\\",\\\"@user\\\",\\\"@anonymous\\\",\\\"@stampText\\\",\\\"@deleteUser\\\",\\\"@subscription\\\",\\\"@blockUser\\\",\\\"@impersonateUser\\\",\\\"@selectionState\\\",\\\"@openMessageModalOrPromptUpgrade\\\",\\\"@shouldRenderHamburgerMenu\\\",\\\"@onConversationStarted\\\"],[[34,5],[34,3],[34,6],[34,7],[30,[36,2],[[32,0],\\\"delete\\\"],null],[30,[36,2],[[32,0],\\\"subscription\\\"],null],[30,[36,2],[[32,0],\\\"blockUser\\\"],null],[30,[36,2],[[32,0],\\\"impersonateUser\\\"],null],[34,8],\\\"openMessageModalOrPromptUpgrade\\\",true,[30,[36,2],[[32,0],\\\"conversationStarted\\\"],null]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"profile__content\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,\\\"data-tour-target\\\",\\\"profile-sidebar-container\\\"],[14,0,\\\"profile__sidebar__container\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"clearfix py-1\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h2 u__left\\\"],[12],[2,\\\"\\\\n          Details\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[8,\\\"users/profile/sidebar-sections\\\",[],[[\\\"@app\\\",\\\"@user\\\",\\\"@scrollContainerSelector\\\"],[[34,5],[34,3],\\\".profile\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"profile__conversations__container\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"js__user-events\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"ic-select\\\",[],[[\\\"@items\\\",\\\"@selectedValue\\\",\\\"@onSelectItem\\\"],[[34,9],[34,10],[30,[36,2],[[32,0],\\\"changeConversationType\\\"],null]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[1,[30,[36,12],[[30,[36,11],null,null]],null]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"profile__events__container\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"js__user-profile__activity-feed profile__recent-events\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"inbox/conversation-sidebar/cards/recent-events\\\",[],[[\\\"@app\\\",\\\"@user\\\"],[[34,5],[34,3]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"showArchiveModal\\\",\\\"mut\\\",\\\"action\\\",\\\"model\\\",\\\"if\\\",\\\"app\\\",\\\"anonymous\\\",\\\"stampText\\\",\\\"selectionState\\\",\\\"conversationTypeOptions\\\",\\\"selectedOption\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/users/user.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"uE0d/UBG\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/users/user/partials/conversation-feed-items\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/users/user/all-conversations.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"4LYVo/4l\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"apps/app/users/user/partials/conversation-feed-items\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/users/user/conversations.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"MZhGBHuU\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"pl_user_profile_loading_container\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"small\\\"]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/users/user/loading.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"1cpFpQoX\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\",\\\"@afterModalClose\\\"],[\\\"closeModal\\\",\\\"resetState\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n        Impersonate\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right\\\"],[4,[38,0],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,1],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"form\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__label f__group-label\\\"],[12],[2,\\\"\\\\n          What is your reason for impersonating this user?\\\"],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n          (conversation URL automatically added based on current URL)\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[8,\\\"input\\\",[[24,\\\"placeholder\\\",\\\"You must enter a reason\\\"],[24,\\\"required\\\",\\\"required\\\"],[24,0,\\\"f__text o__fit impersonation__reason__input\\\"]],[[\\\"@type\\\",\\\"@name\\\",\\\"@pattern\\\",\\\"@value\\\",\\\"@autofocus\\\"],[\\\"text\\\",\\\"impersonation[reason]\\\",\\\"\\\\\\\\S+.*\\\",[34,2],\\\"autofocus\\\"]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__label f__group-label\\\"],[12],[2,\\\"\\\\n          Page to investigate (optional)\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[8,\\\"input\\\",[[24,\\\"placeholder\\\",\\\"e.g. https://app.intercom.com/a/apps/APP_ID/messages/manual/MESSAGE_ID/\\\"],[24,0,\\\"f__text o__fit\\\"]],[[\\\"@type\\\",\\\"@name\\\",\\\"@pattern\\\",\\\"@value\\\"],[\\\"text\\\",\\\"impersonation[url]\\\",\\\"https?:\\\\\\\\/\\\\\\\\/(app|intercomrades)\\\\\\\\.intercom\\\\\\\\.(io|com|test)/.*\\\",[34,3]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"f__group\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__label f__group-label\\\"],[12],[2,\\\"\\\\n          Added Protections\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label u__cf u__mr__10\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\",\\\"@name\\\",\\\"@disabled\\\"],[\\\"checkbox\\\",[34,4],\\\"impersonation[restrict_data_access]\\\",[30,[36,6],[[35,5]],null]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n            Restrict CRITICAL data access \\\\n            \\\"],[8,\\\"ic-tooltip-icon\\\",[],[[\\\"@content\\\"],[\\\"Disallows User and Conversation data access during the Impersonation session. This option is required by default and can only be disabled when the customer has given prior consent to impersonation.\\\"]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"label\\\"],[14,0,\\\"f__checkbox-label u__cf u__mr__10\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-wrapper\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\",\\\"@name\\\",\\\"@disabled\\\"],[\\\"checkbox\\\",[34,7],\\\"impersonation[read_only]\\\",[30,[36,6],[[35,8]],null]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"f__checkbox-content\\\"],[12],[2,\\\"\\\\n            Read only \\\\n            \\\"],[8,\\\"ic-tooltip-icon\\\",[],[[\\\"@content\\\"],[\\\"Impersonation sessions for teammates who have not consented to impersonation are ready-only (i.e., settings for the teammate or workspace cannot be changed during read-only impersonation). This option is required by default and can only be disabled when the customer has given prior consent to impersonation.\\\"]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__footer u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@processingLabel\\\",\\\"@disabled\\\",\\\"@class\\\",\\\"@onClick\\\",\\\"@label\\\"],[\\\"primary\\\",\\\"Impersonating...\\\",[34,9,[\\\"isRunning\\\"]],\\\"btn o__primary u__right\\\",[30,[36,10],[[35,9]],null],\\\"Impersonate\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"ic-interface-icon\\\",\\\"reason\\\",\\\"impersonationUrl\\\",\\\"restrictDataAccess\\\",\\\"restrictDataAccessOptional\\\",\\\"not\\\",\\\"readOnly\\\",\\\"readOnlyOptional\\\",\\\"impersonate\\\",\\\"perform\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/users/user/modals/impersonate.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"uTxERAeG\",\"block\":\"{\\\"symbols\\\":[\\\"footer\\\",\\\"list\\\"],\\\"statements\\\":[[8,\\\"modal-component\\\",[],[[\\\"@closeModal\\\"],[\\\"closeModal\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,1]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          Resubscribe\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          Unsubscribe\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right\\\"],[4,[38,0],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,3],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,1]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      This person opted out of receiving your messages. Are you sure you want to remove them from your unsubscribed list?\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      Are you sure you want to unsubscribe this person?\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"ic-legacy-modal-footer\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"mainButtons\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@onClick\\\"],[\\\"Cancel\\\",[30,[36,0],[[32,0],\\\"closeIntercomModal\\\"],null]]],null],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,1]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@testBindingClass\\\"],[\\\"Resubscribe\\\",\\\"primary\\\",[30,[36,0],[[32,0],\\\"resubscribe\\\"],null],\\\"test__user-profile__subscription-submit\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,2,[\\\"button\\\"]],[],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@testBindingClass\\\"],[\\\"Unsubscribe\\\",\\\"primary-destructive\\\",[30,[36,0],[[32,0],\\\"unsubscribe\\\"],null],\\\"test__user-profile__subscription-submit\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"unsubscribedFromEmails\\\",\\\"if\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/users/user/modals/subscription.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"WB9Ywyh0\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,2],[[35,8,[\\\"length\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"conversation/card-list-component\\\",[],[[\\\"@app\\\",\\\"@admin\\\",\\\"@conversations\\\",\\\"@showsConversationsAndMessages\\\",\\\"@enableAutoScroll\\\",\\\"@requestPage\\\",\\\"@viewportSelector\\\",\\\"@openModal\\\",\\\"@scrollOffset\\\"],[[34,6],[34,7],[34,8],true,true,[30,[36,9],[[32,0],\\\"nextPage\\\"],null],\\\".profile\\\",\\\"openModal\\\",-150]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,5],[[35,4]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"card profile__card__non-clickable\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-empty-state\\\",[],[[\\\"@icon\\\",\\\"@title\\\",\\\"@description\\\"],[\\\"conversation\\\",[34,3],\\\"Click the message button to start a new conversation\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[6,[37,2],[[35,4]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"pl_user_profile_loading_container\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,1]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item u__centered-text-block\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"h1\\\"],[14,0,\\\"t__h1\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,0],[\\\"error\\\"],[[\\\"color\\\",\\\"size\\\"],[\\\"red\\\",24]]]],[2,\\\"\\\\n          An error occurred while loading this person conversations.\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"small\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"ic-interface-icon\\\",\\\"hasErrored\\\",\\\"if\\\",\\\"emptyState\\\",\\\"isPaginating\\\",\\\"unless\\\",\\\"app\\\",\\\"admin\\\",\\\"filteredConversations\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/users/user/partials/-conversation-feed-items.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"nXFpAdJE\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col items-center flex-1 p-10 overflow-y-scroll\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"video/personalized-video-player\\\",[[24,5,\\\"max-width: 980px\\\"]],[[\\\"@videoKey\\\"],[[32,0,[\\\"videoKey\\\"]]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/video.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"1I3G9xh0\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col js__main-container main__content-outlet workflows__main\\\"],[12],[2,\\\"\\\\n  \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/app/workflows.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"JEAmZvyd\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"boot-error\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/error.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"tXxFzMMC\",\"block\":\"{\\\"symbols\\\":[\\\"page\\\"],\\\"statements\\\":[[8,\\\"start/page-component\\\",[],[[\\\"@heading\\\",\\\"@subHeading\\\",\\\"@admin\\\"],[[30,[36,0],[\\\"sign_up.new.create_company\\\"],null],[30,[36,0],[\\\"sign_up.new.start_instructions\\\"],null],[34,2]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[1,[32,1,[\\\"description\\\"]]],[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between items-center\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"label\\\"],[14,0,\\\"signup__teams__form__label\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,0],[\\\"sign_up.new.app_name\\\"],null]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,1]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__teams__form__label o__error\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[34,1]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-1\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[8,\\\"input\\\",[[16,\\\"placeholder\\\",[30,[36,0],[\\\"sign_up.new.app_name_desc\\\"],null]],[16,0,[31,[\\\"signup__teams__form__input \\\",[30,[36,3],[[35,1],\\\"o__error\\\"],null]]]]],[[\\\"@value\\\"],[[34,4]]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[14,0,\\\"signup__teams__form__label\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,0],[\\\"sign_up.new.company_size\\\"],null]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"h-1\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[8,\\\"company-size-select-component\\\",[],[[\\\"@companySize\\\",\\\"@classesForSelect\\\"],[[34,5],\\\"signup__teams__form__input signup__teams__form__input-select\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[8,\\\"start/terms-component\\\",[],[[\\\"@key\\\"],[\\\"sign_up.start.form.terms_of_service_create_new_app\\\"]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"button\\\"],[15,\\\"onclick\\\",[30,[36,7],[[35,6]],null]],[15,\\\"disabled\\\",[34,6,[\\\"isRunning\\\"]]],[14,0,\\\"start__button o__primary o__big\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,6,[\\\"isIdle\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[1,[30,[36,0],[\\\"sign_up.new.create\\\"],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\",\\\"@inline\\\"],[\\\"tiny\\\",true]],null],[2,\\\"\\\\n          \\\"],[1,[30,[36,0],[\\\"sign_up.new.creating\\\"],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"tt\\\",\\\"companyError\\\",\\\"admin\\\",\\\"if\\\",\\\"appName\\\",\\\"companySize\\\",\\\"createApp\\\",\\\"perform\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/apps/new.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"gSl+ml4u\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"head-layout\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,13],[\\\"isMobile\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-rows\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"appstore/listing/public-top-nav\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[[35,2]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"appstore/listing/mini-public-banner\\\",[],[[\\\"@searchString\\\",\\\"@searchForApps\\\"],[[34,0],[30,[36,1],[[32,0],\\\"searchForApps\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,2]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"appstore/listing/public-banner\\\",[],[[\\\"@searchString\\\",\\\"@searchForApps\\\"],[[34,0],[30,[36,1],[[32,0],\\\"searchForApps\\\"],null]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[8,\\\"appstore/main-content\\\",[],[[\\\"@isPublicAppStore\\\",\\\"@currentlyLoading\\\",\\\"@model\\\",\\\"@displayFeaturedCategoriesGrid\\\",\\\"@featuredCategoriesAndApps\\\",\\\"@selectedCapability\\\",\\\"@inboxCapability\\\",\\\"@category\\\",\\\"@search\\\",\\\"@installed\\\",\\\"@features\\\",\\\"@searchForApps\\\",\\\"@clickSeeAllLink\\\",\\\"@onAppPackageClick\\\"],[true,[34,5],[34,6],[34,2],[34,7],[34,8],[34,9],[34,10],[34,0],[34,11],[34,12],[30,[36,1],[[32,0],\\\"searchForApps\\\"],null],[30,[36,1],[[32,0],\\\"clickSeeAllLink\\\"],null],[30,[36,1],[[32,0],\\\"onAppPackageClick\\\"],null]]],null],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"appstore/listing/public-footer\\\",[],[[],[]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-rows\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box appstore__container appstore__container__nav\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"appstore/listing/public-top-nav\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[[35,2]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"appstore/listing/mini-public-banner\\\",[],[[\\\"@searchString\\\",\\\"@searchForApps\\\"],[[34,0],[30,[36,1],[[32,0],\\\"searchForApps\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"appstore__container o__content\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,2]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"appstore/listing/public-banner\\\",[],[[\\\"@searchString\\\",\\\"@searchForApps\\\"],[[34,0],[30,[36,1],[[32,0],\\\"searchForApps\\\"],null]]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[8,\\\"appstore/main-content\\\",[],[[\\\"@isPublicAppStore\\\",\\\"@currentlyLoading\\\",\\\"@model\\\",\\\"@displayFeaturedCategoriesGrid\\\",\\\"@featuredCategoriesAndApps\\\",\\\"@selectedCapability\\\",\\\"@inboxCapability\\\",\\\"@category\\\",\\\"@search\\\",\\\"@installed\\\",\\\"@features\\\",\\\"@searchForApps\\\",\\\"@clickSeeAllLink\\\",\\\"@onAppPackageClick\\\"],[true,[34,5],[34,6],[34,2],[34,7],[34,8],[34,9],[34,10],[34,0],[34,11],[34,12],[30,[36,1],[[32,0],\\\"searchForApps\\\"],null],[30,[36,1],[[32,0],\\\"clickSeeAllLink\\\"],null],[30,[36,1],[[32,0],\\\"onAppPackageClick\\\"],null]]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box appstore__container\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"appstore/listing/public-footer\\\",[],[[],[]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[1,[30,[36,15],[[30,[36,14],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"search\\\",\\\"action\\\",\\\"displayFeaturedCategoriesGrid\\\",\\\"not\\\",\\\"if\\\",\\\"currentlyLoading\\\",\\\"model\\\",\\\"featuredCategoriesAndApps\\\",\\\"selectedCapability\\\",\\\"inbox_capability\\\",\\\"category\\\",\\\"installed\\\",\\\"features\\\",\\\"media\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/appstore.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"gyxZ2VGI\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,3],[[30,[36,2],[\\\"isMobile\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"appstore/app-package/mobile-modal\\\",[],[[\\\"@appPackage\\\",\\\"@closeModal\\\"],[[34,0],[30,[36,1],[[32,0],\\\"closeModal\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"appstore/app-package/modal\\\",[],[[\\\"@appPackage\\\",\\\"@closeModal\\\"],[[34,0],[30,[36,1],[[32,0],\\\"closeModal\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"model\\\",\\\"action\\\",\\\"media\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/appstore/app-package.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"EhcFOC21\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,2],[[30,[36,3],[[32,0,[\\\"app_package_code\\\"]],[32,0,[\\\"selectedAppPackage\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,2],[[30,[36,1],[\\\"isMobile\\\"],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"appstore/app-package/mobile-modal\\\",[],[[\\\"@appPackage\\\",\\\"@closeModal\\\"],[[32,0,[\\\"selectedAppPackage\\\"]],[30,[36,0],[[32,0],\\\"closeModal\\\"],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"appstore/app-package/modal\\\",[],[[\\\"@appPackage\\\",\\\"@closeModal\\\",\\\"@showRecommendations\\\"],[[32,0,[\\\"selectedAppPackage\\\"]],[30,[36,0],[[32,0],\\\"closeModal\\\"],null],true]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"media\\\",\\\"if\\\",\\\"and\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/appstore/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"s8jz0/6H\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"canvas-kit-builder__container layout__box o__has-rows o__flexes-to-1\\\"],[12],[2,\\\"\\\\n  \\\"],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/canvas-kit-builder.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Ra4T0+dM\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"canvas-kit-builder/top-navigation-header\\\",[],[[\\\"@componentsJson\\\"],[[34,0]]],null],[2,\\\"\\\\n\\\"],[8,\\\"canvas-kit-builder/canvas-kit-builder\\\",[],[[\\\"@componentsJson\\\"],[[34,0]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"componentsJson\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/canvas-kit-builder/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Qqatna0b\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"canvas-kit-builder/canvas-kit-builder\\\",[],[[\\\"@componentsJson\\\",\\\"@previewStyle\\\",\\\"@hideEditor\\\"],[[34,0],[34,1],[34,2]]],null],[2,\\\"\\\\n\\\"],[8,\\\"canvas-kit-builder/preview-footer\\\",[],[[\\\"@componentsJson\\\"],[[34,0]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"componentsJson\\\",\\\"previewStyle\\\",\\\"hideEditor\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/canvas-kit-builder/preview.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"zb8UEuoj\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,1],[[35,0,[\\\"allowAnchorEditorHeader\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"popover-header\\\",[],[[\\\"@type\\\"],[\\\"link\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[8,\\\"labeled-input\\\",[],[[\\\"@placeholder\\\",\\\"@value\\\",\\\"@editableObject\\\",\\\"@config\\\",\\\"@canDelete\\\",\\\"@canInsertAttributes\\\",\\\"@delete\\\"],[\\\"Enter a link\\\",[34,2,[\\\"href\\\"]],[34,2],[34,0],true,[34,0,[\\\"allowAttribute\\\"]],\\\"delete\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"config\\\",\\\"if\\\",\\\"editableObject\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/anchor-editor.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"6y+SYqsc\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"span\\\"],[14,0,\\\"pill__icon\\\"],[12],[1,[30,[36,3],[\\\"attachment\\\"],[[\\\"solo\\\"],[true]]]],[13],[2,\\\"\\\\n\\\"],[10,\\\"a\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener\\\"],[14,0,\\\"u__force-breaks upload-pill__link\\\"],[15,6,[31,[[34,0,[\\\"url\\\"]]]]],[12],[1,[35,0,[\\\"name\\\"]]],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,0,[\\\"isUploading\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"loader\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[10,\\\"a\\\"],[14,0,\\\"pill__delete\\\"],[14,\\\"data-ember-action\\\",\\\"3368\\\"],[12],[11,\\\"span\\\"],[4,[38,1],[[32,0],\\\"delete\\\",[35,0,[\\\"id\\\"]]],null],[12],[1,[30,[36,3],[\\\"delete\\\"],[[\\\"set\\\",\\\"solo\\\"],[\\\"tiny\\\",true]]]],[13],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,0,[\\\"hasUploadError\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,2],[[35,0,[\\\"fileTooLarge\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[1,[35,0,[\\\"errorMessage\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    Upload failed, \\\"],[11,\\\"a\\\"],[24,0,\\\"composer-attachment-retry\\\"],[4,[38,1],[[32,0],\\\"retry\\\",[35,0,[\\\"id\\\"]]],null],[12],[2,\\\"try again\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"attachment\\\",\\\"action\\\",\\\"if\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/attachment-item-pill.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"eqGuwezR\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"ic-block\\\"],[14,\\\"data-type\\\",\\\"attachment\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"a\\\"],[15,0,[31,[[30,[36,2],[[35,0,[\\\"isUploading\\\"]],\\\"uploading\\\"],null]]]],[15,6,[31,[[34,0,[\\\"url\\\"]]]]],[14,\\\"target\\\",\\\"_blank\\\"],[12],[1,[35,0,[\\\"name\\\"]]],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,0,[\\\"isUploading\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"loader\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,2],[[35,0,[\\\"hasUploadError\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,2],[[35,0,[\\\"fileTooLarge\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[1,[35,0,[\\\"errorMessage\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      Upload failed, \\\"],[11,\\\"a\\\"],[24,0,\\\"composer-attachment-retry\\\"],[4,[38,1],[[32,0],\\\"retry\\\",[35,0,[\\\"id\\\"]]],null],[12],[2,\\\"try again\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[11,\\\"span\\\"],[24,0,\\\"composer-attachment-delete-icon\\\"],[4,[38,1],[[32,0],\\\"delete\\\",[35,0,[\\\"id\\\"]]],null],[12],[1,[30,[36,3],[\\\"delete\\\"],[[\\\"set\\\",\\\"solo\\\"],[\\\"tiny\\\",true]]]],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"attachment\\\",\\\"action\\\",\\\"if\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/attachment-item.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"kkJXotYK\",\"block\":\"{\\\"symbols\\\":[\\\"attachment\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"composer-attachment-list\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,7],[[30,[36,6],[[30,[36,6],[[35,5]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[1,[30,[36,4],[[35,3,[\\\"attachmentItemComponent\\\"]]],[[\\\"attachment\\\",\\\"composerState\\\",\\\"isReadOnly\\\",\\\"isTyping\\\"],[[32,1],[35,2],[35,1],[35,0]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"isTyping\\\",\\\"isReadOnly\\\",\\\"composerState\\\",\\\"config\\\",\\\"component\\\",\\\"attachmentList\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/attachment-list.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"yRQfLqzg\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"popup-inserter-table\\\"],[12],[2,\\\"\\\\n\\\\t\\\"],[10,\\\"div\\\"],[14,0,\\\"popup-inserter-row popup-inserter-row-uses-flexbox o__has-columns\\\"],[12],[2,\\\"\\\\n\\\\t\\\\t\\\"],[10,\\\"td\\\"],[14,0,\\\"popup-inserter-cell attribute-icon-container\\\"],[12],[10,\\\"span\\\"],[14,0,\\\"popup-inserter-cell-icon\\\"],[12],[1,[30,[36,4],[\\\"custom-data\\\"],[[\\\"solo\\\"],[true]]]],[13],[13],[2,\\\"\\\\n\\\\t\\\\t\\\"],[10,\\\"td\\\"],[14,0,\\\"popup-inserter-cell o__flexes-to-1 attribute-text\\\"],[12],[1,[34,5]],[13],[2,\\\"\\\\n\\\\t\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,7],[[35,6]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\t\\\\t\\\"],[10,\\\"div\\\"],[14,0,\\\"popup-inserter-table\\\"],[12],[2,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[10,\\\"div\\\"],[15,0,[31,[[30,[36,1],[[35,0],\\\"has-errors\\\"],null],\\\" popup-inserter-row popup-inserter-row-uses-flexbox o__has-columns ic-popup-content bottom\\\"]]],[12],[2,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"label\\\"],[14,0,\\\"popup-inserter-cell small-caps\\\"],[12],[2,\\\"Fallback\\\"],[13],[2,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\"],[10,\\\"div\\\"],[14,0,\\\"popup-inserter-cell divider\\\"],[12],[13],[2,\\\"\\\\n\\\\t\\\\t\\\\t  \\\"],[10,\\\"div\\\"],[14,0,\\\"popup-inserter-cell o__flexes-to-1 o__has-columns\\\"],[12],[2,\\\"\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\"],[8,\\\"input\\\",[[24,0,\\\"ember-text-field\\\"],[16,\\\"placeholder\\\",[34,3]]],[[\\\"@value\\\"],[[34,2,[\\\"fallback\\\"]]]],null],[2,\\\"\\\\n\\\\t\\\\t\\\\t  \\\"],[13],[2,\\\"\\\\n\\\\t\\\\t\\\\t\\\"],[13],[2,\\\"\\\\n\\\\t\\\\t\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"hasErrors\\\",\\\"if\\\",\\\"editableObject\\\",\\\"placeholderText\\\",\\\"ic-interface-icon\\\",\\\"editorText\\\",\\\"hideFallback\\\",\\\"unless\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/attribute-editor.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"hk4LQgZm\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,4],[[35,3]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"div\\\"],[24,0,\\\"ic-popup ic-popup-right is-light-theme ic-popup-tiny is-hot composer-attribute-inserter\\\"],[4,[38,1],[[32,0],\\\"maximize\\\"],null],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"ic-popup-icon\\\"],[12],[1,[30,[36,2],[\\\"custom-data\\\"],[[\\\"solo\\\"],[true]]]],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[10,\\\"div\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"attribute-selector\\\",[],[[\\\"@attributes\\\",\\\"@attributeSelected\\\"],[[34,0],\\\"insertAttribute\\\"]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"attributes\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"isMinimized\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/attribute-inserter.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"5S8SwtVC\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[15,0,[31,[[34,4]]]],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"ic-popup-scrollable\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,3]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"p\\\"],[14,0,\\\"composer-attribute-heading\\\"],[12],[2,\\\"People attributes\\\"],[13],[2,\\\"\\\\n      \\\"],[8,\\\"expandable-list\\\",[],[[\\\"@list\\\",\\\"@itemSelected\\\"],[[34,3],\\\"selectAttribute\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,5],[[35,2]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"hr\\\"],[14,0,\\\"composer-divider\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"p\\\"],[14,0,\\\"composer-attribute-heading\\\"],[12],[2,\\\"App/author attributes\\\"],[13],[2,\\\"\\\\n      \\\"],[8,\\\"expandable-list\\\",[],[[\\\"@list\\\",\\\"@itemSelected\\\",\\\"@needsExpander\\\"],[[34,2],\\\"selectAttribute\\\",false]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,5],[[35,1]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"hr\\\"],[14,0,\\\"composer-divider\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"p\\\"],[14,0,\\\"composer-attribute-heading\\\"],[12],[2,\\\"Company attributes\\\"],[13],[2,\\\"\\\\n      \\\"],[8,\\\"expandable-list\\\",[],[[\\\"@list\\\",\\\"@itemSelected\\\"],[[34,1],\\\"selectAttribute\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,5],[[35,0]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"hr\\\"],[14,0,\\\"composer-divider\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"p\\\"],[14,0,\\\"composer-attribute-heading\\\"],[12],[2,\\\"Event attributes\\\"],[13],[2,\\\"\\\\n      \\\"],[8,\\\"expandable-list\\\",[],[[\\\"@list\\\",\\\"@itemSelected\\\"],[[34,0],\\\"selectAttribute\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"eventAttributes\\\",\\\"companyAttributes\\\",\\\"appAttributes\\\",\\\"userAttributes\\\",\\\"popoverClassNames\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/attribute-selector.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"LIfLfrPT\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,4],[[35,8]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,4],[[35,3]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[11,\\\"span\\\"],[4,[38,2],null,[[\\\"content\\\",\\\"isInteractive\\\"],[[35,1],true]]],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[1,[30,[36,6],[[35,5]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[10,\\\"a\\\"],[15,6,[31,[[34,7]]]],[14,0,\\\"t__solo-link\\\"],[12],[1,[34,0]],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,4],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[1,[30,[36,6],[[35,5]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"a\\\"],[15,6,[31,[[34,7]]]],[14,0,\\\"t__solo-link\\\"],[12],[1,[34,0]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,4],[[35,3]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[11,\\\"span\\\"],[4,[38,2],null,[[\\\"content\\\",\\\"isInteractive\\\"],[[35,1],true]]],[12],[1,[34,0]],[13]],\\\"parameters\\\":[]},{\\\"statements\\\":[[1,[34,0]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"value\\\",\\\"tooltipText\\\",\\\"tooltip\\\",\\\"showTooltip\\\",\\\"if\\\",\\\"icon\\\",\\\"ic-interface-icon\\\",\\\"filterUrl\\\",\\\"isNotBlank\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/attribute-spend-component.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"fdDzOrRH\",\"block\":\"{\\\"symbols\\\":[\\\"token\\\"],\\\"statements\\\":[[6,[37,4],[[35,16]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,4],[[35,15]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,14],[[30,[36,13],[[30,[36,13],[[35,12]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,4],[[35,3]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[11,\\\"span\\\"],[4,[38,2],null,[[\\\"content\\\",\\\"isInteractive\\\"],[[35,1],true]]],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[1,[30,[36,6],[[35,5]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[10,\\\"a\\\"],[15,6,[31,[[32,1]]]],[14,\\\"rel\\\",\\\"noopener noreferrer nofollow\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,0,\\\"t__solo-link\\\"],[12],[1,[32,1]],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\" \\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,4],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[1,[30,[36,6],[[35,5]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[10,\\\"a\\\"],[15,6,[31,[[32,1]]]],[14,\\\"rel\\\",\\\"noopener noreferrer nofollow\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,0,\\\"t__solo-link\\\"],[12],[1,[32,1]],[13],[2,\\\" \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,4],[[35,11]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,4],[[35,10]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,4],[[35,3]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[11,\\\"span\\\"],[4,[38,2],null,[[\\\"content\\\",\\\"isInteractive\\\"],[[35,1],true]]],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[1,[30,[36,6],[[35,5]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"],[10,\\\"span\\\"],[12],[1,[34,8]],[2,\\\"@\\\"],[10,\\\"a\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer nofollow\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[15,6,[31,[\\\"http://\\\",[34,9]]]],[14,0,\\\"t__solo-link\\\"],[12],[1,[34,9]],[13],[13],[2,\\\"\\\\n          \\\"],[13]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,4],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[1,[30,[36,6],[[35,5]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[1,[34,8]],[2,\\\"@\\\"],[10,\\\"a\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer nofollow\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[15,6,[31,[\\\"http://\\\",[34,9]]]],[14,0,\\\"t__solo-link\\\"],[12],[1,[34,9]],[13]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,4],[[35,3]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[11,\\\"span\\\"],[4,[38,2],null,[[\\\"content\\\",\\\"isInteractive\\\"],[[35,1],true]]],[12],[1,[34,0]],[13]],\\\"parameters\\\":[]},{\\\"statements\\\":[[1,[34,0]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,4],[[35,3]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[11,\\\"span\\\"],[4,[38,2],null,[[\\\"content\\\",\\\"isInteractive\\\"],[[35,1],true]]],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[1,[30,[36,6],[[35,5]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[10,\\\"a\\\"],[15,6,[31,[[34,7]]]],[14,\\\"rel\\\",\\\"noopener noreferrer nofollow\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,0,\\\"t__solo-link\\\"],[12],[1,[34,0]],[13],[2,\\\"\\\\n        \\\"],[13]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,4],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[1,[30,[36,6],[[35,5]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[10,\\\"a\\\"],[15,6,[31,[[34,7]]]],[14,\\\"rel\\\",\\\"noopener noreferrer nofollow\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,0,\\\"t__solo-link\\\"],[12],[1,[34,0]],[13]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,4],[[35,3]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[11,\\\"span\\\"],[4,[38,2],null,[[\\\"content\\\",\\\"isInteractive\\\"],[[35,1],true]]],[12],[1,[34,0]],[13]],\\\"parameters\\\":[]},{\\\"statements\\\":[[1,[34,0]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"value\\\",\\\"tooltipText\\\",\\\"tooltip\\\",\\\"showTooltip\\\",\\\"if\\\",\\\"icon\\\",\\\"ic-interface-icon\\\",\\\"filterUrl\\\",\\\"emailUsername\\\",\\\"emailDomain\\\",\\\"linkToEmailDomain\\\",\\\"isEmailAddress\\\",\\\"commaSeparatedTokens\\\",\\\"-track-array\\\",\\\"each\\\",\\\"isMultipleUrl\\\",\\\"isNotBlank\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/attributes/attribute.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"5wiMyTZ9\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,1],[[35,6]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,1],[[35,4,[\\\"allowAnchorEditorHeader\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"popover-header\\\",[],[[\\\"@type\\\"],[\\\"button\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[8,\\\"labeled-input\\\",[[24,0,\\\"media-button-text\\\"]],[[\\\"@placeholder\\\",\\\"@value\\\",\\\"@editableObject\\\",\\\"@config\\\",\\\"@canInsertAttributes\\\"],[\\\"Enter button text\\\",[34,5,[\\\"text\\\"]],[34,5],[34,4],[34,4,[\\\"allowAttribute\\\"]]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"button-editor-separator\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[8,\\\"labeled-input\\\",[[24,0,\\\"media-button-url\\\"]],[[\\\"@placeholder\\\",\\\"@value\\\",\\\"@editableObject\\\",\\\"@config\\\",\\\"@canInsertAttributes\\\"],[\\\"Enter a link\\\",[34,5,[\\\"linkUrl\\\"]],[34,5],[34,4],[34,4,[\\\"allowAttribute\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"block-link-editor-activate\\\"],[12],[2,\\\"\\\\n    \\\"],[11,\\\"span\\\"],[24,0,\\\"block-link-editor-icon is-inactive\\\"],[4,[38,2],[[32,0],\\\"edit\\\"],null],[12],[1,[30,[36,3],[\\\"edit\\\"],[[\\\"solo\\\"],[true]]]],[13],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,4,[\\\"allowAlignment\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[11,\\\"span\\\"],[16,0,[31,[\\\"block-link-editor-icon is-pixel-grid \\\",[30,[36,1],[[35,0],\\\"is-active\\\",\\\"is-inactive\\\"],null]]]],[4,[38,2],[[32,0],\\\"toggleAlignment\\\"],null],[12],[1,[30,[36,3],[\\\"center\\\"],[[\\\"solo\\\"],[true]]]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"isCentered\\\",\\\"if\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"config\\\",\\\"editableObject\\\",\\\"isEditMode\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/button-editor.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"2KhaMsCE\",\"block\":\"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[18,1,null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/col-pick-input.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"aUxyvKeN\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"link\\\"],[14,\\\"rel\\\",\\\"stylesheet\\\"],[15,6,[31,[[32,0,[\\\"assetPrefix\\\"]],\\\"/codemirror.css\\\"]]],[12],[13],[2,\\\"\\\\n\\\"],[10,\\\"textarea\\\"],[14,3,\\\"common__codemirror-area\\\"],[14,\\\"rows\\\",\\\"1\\\"],[14,\\\"cols\\\",\\\"1\\\"],[14,\\\"hidden\\\",\\\"true\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"loadCodeMirrorTask\\\",\\\"isRunning\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item t__label\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"small\\\"]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,0],[[32,0,[\\\"hasErrored\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__center-item t__label t__centered text-red\\\"],[12],[2,\\\"\\\\n    Something went wrong and we couldn't load the editor.\\\"],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n    Send us a message and we'll do our best to help out.\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/common/code-text-area.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"ubYgXpc9\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[34,0]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"formatted\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/common/relative-datetime.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"/CJnJShr\",\"block\":\"{\\\"symbols\\\":[\\\"entity\\\",\\\"attachment\\\",\\\"block\\\",\\\"entity\\\"],\\\"statements\\\":[[6,[37,3],[[35,2]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,5,\\\"background: red; padding: 10px; position:fixed; top: 5px; left: 5px; text-align:center; width: calc(100% - 10px)\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[34,2]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[10,\\\"div\\\"],[14,5,\\\"position:fixed;right:0;top:0;background-color:black;color:white;opacity:0.5;z-index:5000;\\\"],[12],[2,\\\"mouseX: \\\"],[1,[35,4,[\\\"mouseX\\\"]]],[2,\\\", mouseY: \\\"],[1,[35,4,[\\\"mouseY\\\"]]],[13],[2,\\\"\\\\n\\\"],[10,\\\"style\\\"],[12],[2,\\\"\\\\n  pre.blockText {\\\\n    background-color: lightyellow;\\\\n  }\\\\n  div.debugInfo {\\\\n    height: 140px;\\\\n    overflow: auto;\\\\n    background-color: #fff;\\\\n    border: 1px solid #ccc;\\\\n    font-size: 10px;\\\\n  }\\\\n\\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"debugInfo\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"h4\\\"],[12],[2,\\\"HTML\\\"],[13],[2,\\\"\\\\n  \\\"],[1,[35,5,[\\\"html\\\"]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"debugInfo\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"h4\\\"],[12],[2,\\\"Blocks\\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"pre\\\"],[14,0,\\\"blocks-output-component\\\"],[12],[1,[34,6]],[13],[2,\\\"\\\\n\\\\n\\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"debugInfo\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"h4\\\"],[12],[2,\\\"Block Object Model (\\\"],[1,[35,5,[\\\"blockList\\\",\\\"length\\\"]]],[2,\\\")\\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"ol\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,0],[[30,[36,0],[[35,5,[\\\"blockList\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[32,3,[\\\"type\\\"]]],[2,\\\"\\\\n      \\\"],[10,\\\"pre\\\"],[14,0,\\\"blockText\\\"],[12],[1,[32,3,[\\\"text\\\"]]],[13],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"ol\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,0],[[30,[36,0],[[32,3,[\\\"entities\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"li\\\"],[12],[1,[32,4,[\\\"info\\\"]]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"h4\\\"],[12],[2,\\\"Attachment List (\\\"],[1,[35,5,[\\\"attachmentList\\\",\\\"length\\\"]]],[2,\\\")\\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"ol\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,0],[[30,[36,0],[[35,5,[\\\"attachmentList\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[32,2,[\\\"name\\\"]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"pre\\\"],[12],[2,\\\"  hasAnyContent: \\\"],[1,[34,7]],[2,\\\"  hasSubstantialContent: \\\"],[1,[34,8]],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n  currentError: \\\"],[1,[34,9]],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n  scrollOffset: \\\"],[1,[34,10]],[2,\\\"\\\\n  showOutlines: \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@checked\\\"],[\\\"checkbox\\\",[34,11]]],[[\\\"default\\\"],[{\\\"statements\\\":[],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"h4\\\"],[12],[2,\\\"Selection Info\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"pre\\\"],[14,1,\\\"selection-info\\\"],[12],[1,[35,5,[\\\"selectionInfo\\\"]]],[13],[2,\\\"\\\\n\\\"],[10,\\\"pre\\\"],[12],[2,\\\"  currentEditableEntity: \\\"],[1,[35,5,[\\\"currentEditableEntity\\\",\\\"id\\\"]]],[2,\\\"  currentEditableBlock: \\\"],[1,[35,5,[\\\"currentEditableBlock\\\",\\\"id\\\"]]],[2,\\\"  currentEditableObject: \\\"],[1,[35,5,[\\\"currentEditableObject\\\",\\\"id\\\"]]],[2,\\\"\\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[10,\\\"h4\\\"],[12],[2,\\\"Selected Entities (\\\"],[1,[35,5,[\\\"selectedEntities\\\",\\\"length\\\"]]],[2,\\\"):\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"ul\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,0],[[30,[36,0],[[35,5,[\\\"selectedEntities\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"li\\\"],[12],[1,[32,1,[\\\"info\\\"]]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[13],[2,\\\"\\\\n\\\\n\\\"],[10,\\\"h4\\\"],[12],[2,\\\"Undo Stack\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"pre\\\"],[12],[1,[35,5,[\\\"undoStackInfo\\\"]]],[13],[2,\\\"\\\\n\\\\n\\\"],[10,\\\"h4\\\"],[12],[2,\\\"Drag and Drop\\\"],[13],[2,\\\"\\\\nEnabled: \\\"],[1,[34,12]],[10,\\\"br\\\"],[12],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nIs Dragging: \\\"],[1,[34,13]],[10,\\\"br\\\"],[12],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nIs Selecting: \\\"],[1,[34,14]],[10,\\\"br\\\"],[12],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n\\\\n\\\"],[10,\\\"h4\\\"],[12],[2,\\\"Images\\\"],[13],[2,\\\"\\\\nhasImageErrors: \\\"],[1,[35,5,[\\\"hasImageErrors\\\"]]],[2,\\\"\\\\n\\\\n\\\"],[10,\\\"h4\\\"],[12],[2,\\\"Config\\\"],[13],[2,\\\"\\\\n\\\\nanchorEditor: \\\"],[1,[35,15,[\\\"anchorEditor\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"anchorEditor\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nanchorPreview: \\\"],[1,[35,15,[\\\"anchorPreview\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"anchorPreview\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nattributeInserter: \\\"],[1,[35,15,[\\\"attributeInserter\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"attributeInserter\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nallowMediaInserter: \\\"],[1,[35,15,[\\\"allowMediaInserter\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"allowMediaInserter\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\ntextFormatter: \\\"],[1,[35,15,[\\\"textFormatter\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"textFormatter\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n\\\\nallowAlignment: \\\"],[1,[35,15,[\\\"allowAlignment\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"allowAlignment\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nallowAnchor: \\\"],[1,[35,15,[\\\"allowAnchor\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"allowAnchor\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nallowAttachments: \\\"],[1,[35,15,[\\\"allowAttachments\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"allowAttachments\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nallowAttribute: \\\"],[1,[35,15,[\\\"allowAttribute\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"allowAttribute\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nallowBold: \\\"],[1,[35,15,[\\\"allowBold\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"allowBold\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nallowButton: \\\"],[1,[35,15,[\\\"allowButton\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"allowButton\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nallowCode: \\\"],[1,[35,15,[\\\"allowCode\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"allowCode\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nallowEmoji: \\\"],[1,[35,15,[\\\"allowEmoji\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"allowEmoji\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nallowHeading: \\\"],[1,[35,15,[\\\"allowHeading\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"allowHeading\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nallowHtml: \\\"],[1,[35,15,[\\\"allowHtml\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"allowHtml\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nallowImage: \\\"],[1,[35,15,[\\\"allowImage\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"allowImage\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nallowItalic: \\\"],[1,[35,15,[\\\"allowItalic\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"allowItalic\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nallowMention: \\\"],[1,[35,15,[\\\"allowMention\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"allowMention\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nallowOrderedList: \\\"],[1,[35,15,[\\\"allowOrderedList\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"allowOrderedList\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nallowSocial: \\\"],[1,[35,15,[\\\"allowSocial\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"allowSocial\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nallowSubheading: \\\"],[1,[35,15,[\\\"allowSubheading\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"allowSubheading\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nallowUnorderedList: \\\"],[1,[35,15,[\\\"allowUnorderedList\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"allowUnorderedList\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nallowVideo: \\\"],[1,[35,15,[\\\"allowVideo\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"allowVideo\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nallowVideoFile: \\\"],[1,[35,15,[\\\"allowVideoFile\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"allowVideoFile\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nvideoFileAutoplay: \\\"],[1,[35,15,[\\\"videoFileAutoplay\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"videoFileAutoplay\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n\\\\nreadOnly: \\\"],[1,[35,15,[\\\"readOnly\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"readOnly\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\ndisplaySocialBlocksAsButtons: \\\"],[1,[35,15,[\\\"displaySocialBlocksAsButtons\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"displaySocialBlocksAsButtons\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nurlReplacement: \\\"],[1,[35,15,[\\\"urlReplacement\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"urlReplacement\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\nmarkdownLinks: \\\"],[1,[35,15,[\\\"markdownLinks\\\"]]],[2,\\\" \\\"],[11,\\\"button\\\"],[24,0,\\\"btn\\\"],[4,[38,16],[[32,0],\\\"toggleConfig\\\",\\\"markdownLinks\\\"],null],[12],[2,\\\"Toggle\\\"],[13],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-track-array\\\",\\\"each\\\",\\\"lastError\\\",\\\"if\\\",\\\"hoverCoordinates\\\",\\\"composerState\\\",\\\"stringifiedBlocks\\\",\\\"hasAnyContent\\\",\\\"hasSubstantialContent\\\",\\\"currentError\\\",\\\"scrollOffset\\\",\\\"showDebugOutlines\\\",\\\"isDragAndDropEnabled\\\",\\\"isDragging\\\",\\\"isSelecting\\\",\\\"config\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/composer-debug.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"SUCMrWcr\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[30,[36,1],[[35,0,[\\\"icon\\\"]]],null]],[2,\\\" \\\"],[1,[35,0,[\\\"title\\\"]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"data\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/composer-inserter.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"qjqgPv4H\",\"block\":\"{\\\"symbols\\\":[\\\"widget\\\"],\\\"statements\\\":[[19,\\\"components/partials/editor\\\",[]],[2,\\\"\\\\n\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"composer-help-container\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"help-guide\\\",[],[[\\\"@isVisible\\\",\\\"@config\\\"],[[34,4],[34,5]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"widget-container\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,8],[[30,[36,7],[[30,[36,7],[[35,6]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"customisable-widget\\\",[],[[\\\"@widget\\\",\\\"@emailTemplateData\\\",\\\"@uploadManager\\\",\\\"@emailTemplateDataDidChange\\\",\\\"@onComposerReady\\\",\\\"@isReadOnly\\\",\\\"@editorView\\\"],[[32,1],[34,0],[34,1],\\\"emailTemplateDataDidChange\\\",\\\"onComposerReady\\\",[34,2],[34,3]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"emailTemplateData\\\",\\\"uploadManager\\\",\\\"isReadOnly\\\",\\\"editorView\\\",\\\"helpGuideIsVisible\\\",\\\"config\\\",\\\"widgetInfo\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/composer-v2.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"oUJjKmTR\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[19,\\\"components/partials/editor\\\",[]],[2,\\\"\\\\n\\\\n\\\"],[6,[37,2],[[35,1]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"pseudonym-warner\\\",[],[[\\\"@editor\\\",\\\"@pseudonym\\\"],[[34,0],[34,1]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"editorView\\\",\\\"pseudonym\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/conversation-composer.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"s1D0lga6\",\"block\":\"{\\\"symbols\\\":[\\\"t\\\",\\\"t\\\",\\\"t\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"u__cf\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"t__light-text text-gray conversation__bubble__meta u__right\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,13],[[30,[36,17],[[30,[36,6],[[35,0,[\\\"isExternalChannel\\\"]],[35,8]],null],[35,0,[\\\"isNotPersisted\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[11,\\\"span\\\"],[4,[38,16],null,[[\\\"content\\\"],[[30,[36,15],[[35,0,[\\\"created_at\\\"]]],[[\\\"timezone\\\"],[[35,14]]]]]]],[12],[2,\\\"\\\\n        \\\"],[8,\\\"common/relative-datetime\\\",[],[[\\\"@datetime\\\"],[[34,0,[\\\"created_at\\\"]]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,0,[\\\"redactedBy\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"span\\\"],[14,0,\\\"text-gray\\\"],[12],[2,\\\"\\\\n          ·\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[8,\\\"deleted-at-with-tooltip\\\",[],[[\\\"@datetime\\\",\\\"@by\\\"],[[34,0,[\\\"redacted_at\\\"]],[34,0,[\\\"redactedBy\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,13],[[35,12]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"text-gray\\\"],[12],[2,\\\"\\\\n            ·\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,0,[\\\"isInitialPartByAdmin\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,1],[[35,0,[\\\"conversation\\\",\\\"initiator\\\",\\\"deleted\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"span\\\"],[14,0,\\\"text-gray\\\"],[12],[2,\\\"\\\\n                \\\"],[1,[34,10]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"              \\\"],[8,\\\"ic-tooltip\\\",[],[[\\\"@isInteractive\\\"],[true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                \\\"],[8,[32,3,[\\\"opener\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                  \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,11],[[35,0,[\\\"messageShowPageRoute\\\"]],[35,0,[\\\"messageShowPageId\\\"]]],null]]]],[14,0,\\\"text-gray t__solo-link\\\"],[12],[2,\\\"\\\\n                    \\\"],[1,[34,10]],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n                \\\"],[8,[32,3,[\\\"content\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[35,0,[\\\"messageShowPageId\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                    \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@model\\\"],[[34,0,[\\\"messageShowPageRoute\\\"]],[34,0,[\\\"messageShowPageId\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                      View message\\\\n                    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"                    \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\"],[[34,0,[\\\"messageShowPageRoute\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                      View message\\\\n                    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"                \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n              \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[35,0,[\\\"isInitialPartStartedByCustomBot\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"ic-tooltip\\\",[],[[\\\"@isInteractive\\\"],[true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,[32,2,[\\\"opener\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,11],[\\\"apps.app.operator.custom-bots.bot-auto-message.show\\\",[35,0,[\\\"message_id\\\"]]],null]]]],[14,0,\\\"text-gray t__solo-link\\\"],[12],[2,\\\"\\\\n                  \\\"],[1,[34,10]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n              \\\"],[8,[32,2,[\\\"content\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[35,0,[\\\"message_id\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                  \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@model\\\"],[\\\"apps.app.operator.custom-bots.bot-auto-message.show\\\",[34,0,[\\\"message_id\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                    View bot\\\\n                  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"                  \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\"],[\\\"apps.app.operator.custom-bots.bot-auto-message.show\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                    View bot\\\\n                  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[35,0,[\\\"isTwitterBotPart\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"ic-tooltip\\\",[],[[\\\"@isInteractive\\\"],[true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,[32,1,[\\\"opener\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                \\\"],[10,\\\"a\\\"],[15,6,[31,[[34,0,[\\\"url\\\"]]]]],[14,0,\\\"text-gray no-underline\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[2,\\\"\\\\n                  \\\"],[1,[30,[36,7],[[35,0,[\\\"channelIcon\\\"]]],[[\\\"set\\\",\\\"solo\\\"],[\\\"tiny\\\",true]]]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n              \\\"],[8,[32,1,[\\\"content\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                Sent from \\\"],[10,\\\"a\\\"],[15,6,[34,0,[\\\"url\\\"]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[2,\\\"@\\\"],[1,[35,0,[\\\"twitterUsername\\\"]]],[13],[2,\\\" on Twitter\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[35,0,[\\\"isAnswerRatingPart\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"answers/rate-conversation-part\\\",[],[[\\\"@part\\\"],[[34,0]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[1,[34,10]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[6,[37,1],[[35,0,[\\\"isPersisted\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,1],[[35,9]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"span\\\"],[14,0,\\\"text-gray\\\"],[12],[2,\\\"\\\\n          ·\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,8]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"text-red\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,7],[\\\"alert\\\"],[[\\\"size\\\"],[16]]]],[2,\\\" \\\"],[1,[35,0,[\\\"external_reply_send_state\\\",\\\"info_message\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[1,[35,0,[\\\"external_reply_send_state\\\",\\\"info_message\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[30,[36,6],[[35,5,[\\\"isNotGroupConversation\\\"]],[35,0,[\\\"shouldDisplaySeenState\\\"]],[35,4],[35,3]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"span\\\"],[14,0,\\\"text-gray\\\"],[12],[2,\\\"\\\\n          ·\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,1],[[35,0,[\\\"hasBeenSeen\\\"]],\\\"Seen\\\",\\\"Not seen yet\\\"],null]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[35,0,[\\\"hasErrored\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[11,\\\"span\\\"],[16,0,[31,[\\\"text-red \\\",[30,[36,1],[[35,0,[\\\"isRetriable\\\"]],\\\"conversation__bubble-meta-error\\\"],null]]]],[4,[38,2],[[32,0],\\\"retry\\\"],null],[12],[2,\\\"\\\\n        \\\"],[1,[35,0,[\\\"errorMessage\\\"]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[35,0,[\\\"isNotPersisted\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"span\\\"],[14,0,\\\"text-gray\\\"],[12],[2,\\\"\\\\n        Sending…\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"part\\\",\\\"if\\\",\\\"action\\\",\\\"isNotExternalChannel\\\",\\\"isLastAdminItemWithSeenMetadata\\\",\\\"conversation\\\",\\\"and\\\",\\\"ic-interface-icon\\\",\\\"hasExternalChannelDeliveryFailed\\\",\\\"isExternalChannel\\\",\\\"channelText\\\",\\\"href-to\\\",\\\"shouldNotShowChannel\\\",\\\"unless\\\",\\\"timezone\\\",\\\"full-date-and-time-helper\\\",\\\"tooltip\\\",\\\"or\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/conversation/stream/partials/-admin-meta.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"PZKktRGB\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"labeled-input\\\",[[24,0,\\\"media-button-text\\\"]],[[\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@focusIfEmpty\\\"],[\\\"Facebook.com/\\\",\\\"Your Facebook page\\\",[34,0,[\\\"value\\\"]],true]],null],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"button-editor-separator\\\"],[12],[13],[2,\\\"\\\\n\\\"],[8,\\\"labeled-input\\\",[[24,0,\\\"media-button-text\\\"]],[[\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@focusIfEmpty\\\"],[\\\"Twitter.com/\\\",\\\"Your Twitter account\\\",[34,1,[\\\"value\\\"]],false]],null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"facebook\\\",\\\"twitter\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/customisable-widget-editor-social.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"gMdRDwSB\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"p\\\"],[14,5,\\\"visibility: hidden; position: absolute\\\"],[12],[1,[35,0,[\\\"value\\\"]]],[13],[2,\\\"\\\\n\\\"],[8,\\\"textarea\\\",[[16,\\\"placeholder\\\",[34,1]]],[[\\\"@value\\\"],[[34,0,[\\\"value\\\"]]]],null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"address\\\",\\\"placeholder\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/customisable-widget-editor-text.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"dXcIblvN\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"i\\\"],[15,0,[31,[[34,0]]]],[12],[13],[2,\\\"Change \\\"],[1,[35,1,[\\\"label\\\"]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"iconClass\\\",\\\"widget\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/customisable-widget-popover.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"zyaEK5Fz\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,7],[[35,14]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,9],[[35,13]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"span\\\"],[14,0,\\\"customisable-widget-resizing\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[34,12]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"customisable-widget-loader\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"loader\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[1,[34,12]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[6,[37,7],[[35,15]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,7],[[35,6]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[11,\\\"div\\\"],[16,0,[31,[\\\"customisable-widget-placeholder \\\",[34,2]]]],[4,[38,5],[[32,0],\\\"openEditor\\\"],null],[12],[2,\\\"\\\\n      + Add your \\\"],[1,[35,4,[\\\"label\\\"]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,9],[[35,8]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"customisable-widget-popover\\\",[],[[\\\"@widget\\\",\\\"@selectionCoordinates\\\",\\\"@isWithinViewport\\\",\\\"@popoverWasClicked\\\"],[[34,4],[34,0],true,\\\"showWarningDialog\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,9],[[35,10]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"new_pattern_area\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"new_pattern_area\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__overlay u__center-layout m__confirm-modal\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__overlay__inner\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"modal o__confirm\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__left\\\"],[12],[13],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title\\\"],[12],[2,\\\"\\\\n                  \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"Update \\\"],[1,[35,4,[\\\"name\\\"]]],[13],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close\\\"],[12],[2,\\\"\\\\n                  \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,5],[[32,0],\\\"cancel\\\"],null],[12],[2,\\\"\\\\n                    \\\"],[10,\\\"i\\\"],[14,1,\\\"ember2593\\\"],[14,0,\\\"ember-view i o__16 o__close\\\"],[12],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body o__no-footer\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body__confirmation-text u__center-layout\\\"],[12],[2,\\\"\\\\n                  \\\"],[10,\\\"div\\\"],[12],[2,\\\"Changing your \\\"],[1,[35,4,[\\\"label\\\"]]],[2,\\\" will affect all messages that use the announcement or company templates, including live auto messages.\\\"],[13],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body__confirmation-buttons\\\"],[12],[2,\\\"\\\\n                  \\\"],[11,\\\"button\\\"],[24,0,\\\"btn o__secondary js__intercom-cancel-button o__modal-confirm\\\"],[4,[38,5],[[32,0],\\\"hideWarningDialog\\\"],null],[12],[2,\\\"\\\\n                    Cancel\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[11,\\\"button\\\"],[24,0,\\\"btn o__primary js__intercom-confirm-button o__modal-confirm\\\"],[4,[38,5],[[32,0],\\\"confirmAction\\\"],null],[12],[2,\\\"\\\\n                    Ok, got it\\\\n                  \\\"],[13],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,9],[[35,11]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[1,[30,[36,3],[[35,2]],[[\\\"emailTemplateData\\\",\\\"closeEditor\\\",\\\"selectionCoordinates\\\",\\\"notifyChange\\\"],[[35,1],\\\"closeEditor\\\",[35,0],\\\"notifyChange\\\"]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[10,\\\"input\\\"],[14,\\\"accept\\\",\\\"*\\\"],[14,0,\\\"composer-file-upload composer-is-hidden\\\"],[14,4,\\\"file\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"selectionCoordinates\\\",\\\"emailTemplateData\\\",\\\"activeEditor\\\",\\\"component\\\",\\\"widget\\\",\\\"action\\\",\\\"isValid\\\",\\\"unless\\\",\\\"popoverVisible\\\",\\\"if\\\",\\\"warningVisible\\\",\\\"editorVisible\\\",\\\"widgetHtmlSafe\\\",\\\"isResizing\\\",\\\"isReadOnlyAndInvalid\\\",\\\"isReadOnly\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/customisable-widget.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"OTM90oPP\",\"block\":\"{\\\"symbols\\\":[\\\"item\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[15,5,[34,2]],[14,0,\\\"m__inbox__emoji-dropdown js_keyboard_selectable_list dropdown z__2\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[30,[36,4],[[30,[36,4],[[35,3]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[11,\\\"div\\\"],[4,[38,0],[[32,0],\\\"highlightItem\\\",[32,1]],[[\\\"on\\\"],[\\\"mouseEnter\\\"]]],[12],[2,\\\"\\\\n        \\\"],[11,\\\"span\\\"],[16,0,[31,[\\\"dropdown__list-item o__hoverable \\\",[30,[36,1],[[32,1,[\\\"isHighlighted\\\"]],\\\"o__selected\\\"],null]]]],[4,[38,0],[[32,0],\\\"selectItem\\\",[32,1]],null],[12],[2,\\\"\\\\n          \\\"],[2,[32,1,[\\\"display\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"if\\\",\\\"style\\\",\\\"matchingItems\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/emoji-inserter.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"9/XSviTB\",\"block\":\"{\\\"symbols\\\":[\\\"item\\\"],\\\"statements\\\":[[10,\\\"ul\\\"],[14,0,\\\"selectable-list\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[[30,[36,3],[[35,2]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[11,\\\"li\\\"],[24,0,\\\"selectable-list-item\\\"],[4,[38,0],[[32,0],\\\"itemSelected\\\",[32,1]],null],[12],[1,[32,1,[\\\"name\\\"]]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[6,[37,6],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[11,\\\"li\\\"],[24,0,\\\"selectable-list-item has-expander\\\"],[4,[38,0],[[32,0],\\\"expandList\\\"],null],[12],[10,\\\"span\\\"],[14,0,\\\"selectable-list-expander\\\"],[12],[1,[30,[36,1],[\\\"double-chevrons\\\"],[[\\\"solo\\\"],[true]]]],[13],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"ic-interface-icon\\\",\\\"listToShow\\\",\\\"-track-array\\\",\\\"each\\\",\\\"showExpander\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/expandable-list.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"8Aqn48io\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"labeled-input\\\",[],[[\\\"@placeholder\\\",\\\"@value\\\",\\\"@editableObject\\\",\\\"@config\\\"],[\\\"Your Facebook Page\\\",[34,0,[\\\"url\\\"]],[34,0],[34,1]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"editableObject\\\",\\\"config\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/facebook-like-button-editor.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"C7skiqlD\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"new_pattern_area\\\"],[14,\\\"tabindex\\\",\\\"0\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__overlay u__center-layout\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal m__composer-help\\\"],[12],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__left\\\"],[12],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"Composer Help\\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close\\\"],[12],[2,\\\"\\\\n          \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,0],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,1],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body m__composer-help__body\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"sp__1\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"m__composer-help__grid\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"m__composer-help__grid-cell\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__media\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__media__left m__composer-help__image\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"svg\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"xmlns:xlink\\\",\\\"http://www.w3.org/1999/xlink\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"version\\\",\\\"1.1\\\"],[14,1,\\\"Layer_1\\\"],[14,\\\"x\\\",\\\"0px\\\"],[14,\\\"y\\\",\\\"0px\\\"],[14,\\\"viewBox\\\",\\\"0 0 180 144\\\"],[14,\\\"enable-background\\\",\\\"new 0 0 180 144\\\"],[14,\\\"xml:space\\\",\\\"preserve\\\",\\\"http://www.w3.org/XML/1998/namespace\\\"],[14,\\\"data-ember-extension\\\",\\\"1\\\"],[12],[2,\\\"\\\\n                  \\\"],[10,\\\"g\\\"],[14,1,\\\"Container\\\"],[12],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#E9EEF1\\\"],[14,\\\"d\\\",\\\"M14,6h130c4.4,0,8,3.6,8,8v122c0,4.4-3.6,8-8,8H14   c-4.4,0-8-3.6-8-8V14C6,9.6,9.6,6,14,6z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"g\\\"],[12],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#FFFFFF\\\"],[14,\\\"d\\\",\\\"M8,136c-3.3,0-6-2.7-6-6V8c0-3.3,2.7-6,6-6h130c3.3,0,6,2.7,6,6    v122c0,3.3-2.7,6-6,6H8z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M138,4c2.2,0,4,1.8,4,4v122c0,2.2-1.8,4-4,4H8c-2.2,0-4-1.8-4-4V8c0-2.2,1.8-4,4-4H138 M138,0H8    C3.6,0,0,3.6,0,8v122c0,4.4,3.6,8,8,8h130c4.4,0,8-3.6,8-8V8C146,3.6,142.4,0,138,0L138,0z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[10,\\\"g\\\"],[14,1,\\\"Text\\\"],[12],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M16,96v-4h112v4H16z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M16,104v-4h106v4H16z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M16,112v-4h100v4H16z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M16,120v-4h112v4H16z\\\"],[12],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[10,\\\"g\\\"],[14,1,\\\"Image__x2B__Heading\\\"],[12],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M16,66V16h114v50H16z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M16,88V78h70v10H16z\\\"],[12],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[10,\\\"g\\\"],[14,1,\\\"Formatting_Bar\\\"],[12],[2,\\\"\\\\n                    \\\"],[10,\\\"g\\\"],[12],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M70.4,85H36c-1.7,0-3-1.3-3-3V68c0-1.7,1.3-3,3-3h72c1.7,0,3,1.3,3,3v14c0,1.7-1.3,3-3,3H77.6L74,88.6    L70.4,85z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill\\\",\\\"#3690CB\\\"],[14,\\\"d\\\",\\\"M108,66c1.1,0,2,0.9,2,2v14c0,1.1-0.9,2-2,2H78h-0.8l-0.6,0.6L74,87.2l-2.6-2.6L70.8,84H70H36    c-1.1,0-2-0.9-2-2V68c0-1.1,0.9-2,2-2H108 M108,64H36c-2.2,0-4,1.8-4,4v14c0,2.2,1.8,4,4,4h34l4,4l4-4h30c2.2,0,4-1.8,4-4V68    C112,65.8,110.2,64,108,64L108,64z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M48.1,75.9c0.3,0.2,0.5,0.4,0.7,0.7c0.2,0.3,0.3,0.6,0.3,1c0,0.5-0.1,0.8-0.3,1.2c-0.2,0.3-0.5,0.6-0.8,0.7   c-0.4,0.2-0.8,0.3-1.3,0.4C46,80,45.4,80,44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0-0.4-0.1-0.5c-0.1-0.1-0.3-0.1-0.5-0.1c-0.1,0-0.2,0-0.4,0.1c-0.1,0-0.2,0.1-0.3,0.1l0.1-0.6c0.3-0.1,0.6-0.3,0.9-0.4   c0.3-0.1,0.6-0.1,0.8-0.1c0.5,0,0.8,0.1,1.1,0.4c0.2,0.2,0.4,0.6,0.4,0.9c0,0.1,0,0.2,0,0.4c0,0.2,0,0.4-0.1,0.6l-0.5,1.8   c0,0.1-0.1,0.3-0.1,0.5c0,0.2,0,0.3,0,0.4c0,0.2,0,0.4,0.1,0.5c0.1,0.1,0.3,0.1,0.5,0.1c0.1,0,0.2,0,0.4-0.1   C60.7,79,60.8,78.9,60.9,78.9z M61,71.2c0,0.3-0.1,0.6-0.3,0.8c-0.2,0.2-0.5,0.3-0.8,0.3c-0.3,0-0.6-0.1-0.8-0.3   c-0.2-0.2-0.3-0.5-0.3-0.8c0-0.3,0.1-0.6,0.3-0.8c0.2-0.2,0.5-0.3,0.8-0.3c0.3,0,0.6,0.1,0.8,0.3C60.9,70.6,61,70.8,61,71.2z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"g\\\"],[12],[2,\\\"\\\\n                      \\\"],[10,\\\"g\\\"],[12],[2,\\\"\\\\n                        \\\"],[10,\\\"path\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M75.8,71.5c0.1,0,0.2,0,0.4,0.1c0.1,0,0.3,0.1,0.4,0.1c0.1,0.1,0.2,0.2,0.2,0.3c0,0.1,0.1,0.2,0.1,0.4V75     h-3.6v-2.8c0-0.1,0-0.3,0.1-0.4c0-0.1,0.1-0.2,0.2-0.3c0.1,0,0.2-0.1,0.3-0.1c0.1,0,0.3-0.1,0.4-0.1V71H71v0.5     c0.1,0,0.2,0,0.4,0.1c0.1,0,0.3,0.1,0.4,0.1c0.1,0.1,0.2,0.2,0.2,0.3c0,0.1,0.1,0.2,0.1,0.4v6.5c0,0.2,0,0.3-0.1,0.4     c-0.1,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2,0.1-0.3,0.1c-0.2,0-0.3,0-0.4,0V80h3.2v-0.5c-0.1,0-0.2,0-0.4-0.1c-0.2,0-0.3-0.1-0.3-0.1     c-0.1-0.1-0.2-0.2-0.2-0.3c0-0.1-0.1-0.2-0.1-0.4v-3.1h3.6v3.2c0,0.2,0,0.3-0.1,0.4c-0.1,0.1-0.1,0.2-0.2,0.2     c-0.1,0-0.2,0.1-0.3,0.1c-0.2,0-0.3,0-0.4,0V80H79v-0.5c-0.1,0-0.2,0-0.4-0.1c-0.2,0-0.3-0.1-0.3-0.1c-0.1-0.1-0.2-0.2-0.2-0.3     c0-0.1-0.1-0.2-0.1-0.4v-6.5c0-0.1,0-0.3,0.1-0.4c0-0.1,0.1-0.2,0.2-0.3c0.1,0,0.2-0.1,0.3-0.1c0.1,0,0.3-0.1,0.4-0.1V71h-3.2     V71.5z M83.5,79.5c-0.2,0-0.4-0.1-0.5-0.1c-0.1-0.1-0.2-0.1-0.2-0.3c-0.1-0.1-0.1-0.2-0.1-0.4v-3.8c0-0.3,0-0.6,0-1     c0-0.4,0-0.7,0-1h-0.5c-0.1,0.2-0.4,0.4-0.7,0.5c-0.3,0.2-0.7,0.3-1.1,0.3h-0.3v0.5h1.4v4.5c0,0.2,0,0.3-0.1,0.4     c-0.1,0.1-0.1,0.2-0.3,0.2c-0.1,0-0.2,0.1-0.5,0.1c-0.2,0-0.4,0-0.5,0.1V80H84v-0.5C83.9,79.5,83.7,79.5,83.5,79.5z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[13],[2,\\\"\\\\n                    \\\"],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"g\\\"],[12],[2,\\\"\\\\n                      \\\"],[10,\\\"g\\\"],[12],[2,\\\"\\\\n                        \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M95.9,78c-0.7,0.7-1.1,0.7-1.6,0.1l-0.5-0.6     c-0.5-0.5-0.5-1.4,0-1.9L96,73c0.5-0.5,1.2-0.5,1.7,0l0.4,0.5c0.4,0.4,0.4,1,0.2,1.5l1,0.9c0.7-0.8,0.7-2.1,0-2.9l-1.3-1.4     c-0.7-0.8-1.8-0.8-2.5,0l-3.1,3.5c-0.7,0.8-0.7,2.1,0,2.9l1.3,1.4c0.7,0.8,1.8,0.8,2.5,0l1.2-1.4L96.6,77L95.9,78z M103.5,72     l-1.3-1.4c-0.7-0.8-1.8-0.8-2.5,0c0,0,0,0-0.7,0.8l0.8,0.9l0.4-0.5c0.5-0.5,1.2-0.5,1.7,0l0.4,0.5c0.5,0.5,0.5,1.4,0,1.9l-2,2.4     c-0.5,0.5-1.2,0.5-1.7,0L98.3,76c-0.7-0.6-0.5-0.8-0.4-1.2l-0.9-1c-0.7,0.8-0.7,2.1,0,2.9l1.3,1.4c0.7,0.8,1.8,0.8,2.5,0l2.8-3.2     C104.5,73.6,103.5,72,103.5,72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[13],[2,\\\"\\\\n                    \\\"],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M46,96v-4h52v4H46z\\\"],[12],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__media__ext m__composer-help__text\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n                  \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"Format text\\\"],[13],[2,\\\"\\\\n                  \\\"],[10,\\\"p\\\"],[12],[2,\\\"Select text to make it bold, italic or to add a link\\\"],[13],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"sp__3\\\"],[12],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"m__composer-help__grid-cell\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__media\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__media__left m__composer-help__image o__wide-gutter\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"svg\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"xmlns:xlink\\\",\\\"http://www.w3.org/1999/xlink\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"version\\\",\\\"1.1\\\"],[14,1,\\\"Layer_1\\\"],[14,\\\"x\\\",\\\"0px\\\"],[14,\\\"y\\\",\\\"0px\\\"],[14,\\\"viewBox\\\",\\\"0 0 180 144\\\"],[14,\\\"enable-background\\\",\\\"new 0 0 180 144\\\"],[14,\\\"xml:space\\\",\\\"preserve\\\",\\\"http://www.w3.org/XML/1998/namespace\\\"],[14,\\\"data-ember-extension\\\",\\\"1\\\"],[12],[2,\\\"\\\\n                  \\\"],[10,\\\"g\\\"],[14,1,\\\"Container\\\"],[12],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#E9EEF1\\\"],[14,\\\"d\\\",\\\"M42,6h130c4.4,0,8,3.6,8,8v122c0,4.4-3.6,8-8,8H42   c-4.4,0-8-3.6-8-8V14C34,9.6,37.6,6,42,6z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"g\\\"],[12],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#FFFFFF\\\"],[14,\\\"d\\\",\\\"M36,136c-3.3,0-6-2.7-6-6V8c0-3.3,2.7-6,6-6h130c3.3,0,6,2.7,6,6    v122c0,3.3-2.7,6-6,6H36z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M166,4c2.2,0,4,1.8,4,4v122c0,2.2-1.8,4-4,4H36c-2.2,0-4-1.8-4-4V8c0-2.2,1.8-4,4-4H166 M166,0H36    c-4.4,0-8,3.6-8,8v122c0,4.4,3.6,8,8,8h130c4.4,0,8-3.6,8-8V8C174,3.6,170.4,0,166,0L166,0z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[10,\\\"g\\\"],[14,1,\\\"Text\\\"],[12],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M44,96v-4h112v4H44z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M44,104v-4h106v4H44z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M44,112v-4h100v4H44z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M44,120v-4h112v4H44z\\\"],[12],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[10,\\\"g\\\"],[14,1,\\\"Image__x2B__Heading\\\"],[12],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M44,66V16h114v50H44z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M44,88V78h70v10H44z\\\"],[12],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[10,\\\"g\\\"],[14,1,\\\"Add_Block_1_\\\"],[12],[2,\\\"\\\\n                    \\\"],[10,\\\"g\\\"],[14,1,\\\"Add_Block\\\"],[12],[2,\\\"\\\\n                      \\\"],[10,\\\"g\\\"],[12],[2,\\\"\\\\n                        \\\"],[10,\\\"path\\\"],[14,\\\"fill\\\",\\\"#F7FAFD\\\"],[14,\\\"d\\\",\\\"M4,83c-1.7,0-3-1.3-3-3V66c0-1.7,1.3-3,3-3h14c1.7,0,3,1.3,3,3v3.4l3.6,3.6L21,76.6V80c0,1.7-1.3,3-3,3H4     z\\\"],[12],[13],[2,\\\"\\\\n                        \\\"],[10,\\\"path\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M18,64c1.1,0,2,0.9,2,2v3v0.8l0.6,0.6l2.6,2.6l-2.6,2.6L20,76.2V77v3c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2     V66c0-1.1,0.9-2,2-2H18 M18,62H4c-2.2,0-4,1.8-4,4v14c0,2.2,1.8,4,4,4h14c2.2,0,4-1.8,4-4v-3l4-4l-4-4v-3C22,63.8,20.2,62,18,62     L18,62z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"g\\\"],[12],[2,\\\"\\\\n                        \\\"],[10,\\\"polygon\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"points\\\",\\\"16,72 12,72 12,68 10,68 10,72 6,72 6,74 10,74 10,78      12,78 12,74 16,74    \\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[13],[2,\\\"\\\\n                    \\\"],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"g\\\"],[14,1,\\\"New_Block_Line\\\"],[12],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M34,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M38,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M42,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M46,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M50,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M54,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M58,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M62,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M66,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M70,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M74,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M78,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M82,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M86,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M90,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M94,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M98,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M102,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M106,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M110,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M114,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M118,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M122,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M126,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M130,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M134,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M138,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M142,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M146,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M150,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M154,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M158,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M162,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M166,72h2v2h-2V72z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__media__ext m__composer-help__text u__center-layout\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n                  \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"Images, videos, buttons and attachments\\\"],[13],[2,\\\"\\\\n                  \\\"],[10,\\\"p\\\"],[12],[2,\\\"Move your mouse to where you want to add an element and click on the \\\"],[10,\\\"code\\\"],[14,0,\\\"m__composer-help__code\\\"],[12],[2,\\\"+\\\"],[13],[2,\\\" to the left\\\"],[13],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"sp__3\\\"],[12],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"m__composer-help__grid\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"m__composer-help__grid-cell\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__media\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__media__left m__composer-help__image\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"svg\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"xmlns:xlink\\\",\\\"http://www.w3.org/1999/xlink\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"version\\\",\\\"1.1\\\"],[14,1,\\\"Layer_1\\\"],[14,\\\"x\\\",\\\"0px\\\"],[14,\\\"y\\\",\\\"0px\\\"],[14,\\\"viewBox\\\",\\\"0 0 180 144\\\"],[14,\\\"enable-background\\\",\\\"new 0 0 180 144\\\"],[14,\\\"xml:space\\\",\\\"preserve\\\",\\\"http://www.w3.org/XML/1998/namespace\\\"],[14,\\\"data-ember-extension\\\",\\\"1\\\"],[12],[2,\\\"\\\\n                  \\\"],[10,\\\"g\\\"],[14,1,\\\"Container\\\"],[12],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#E9EEF1\\\"],[14,\\\"d\\\",\\\"M14,6h130c4.4,0,8,3.6,8,8v122c0,4.4-3.6,8-8,8H14   c-4.4,0-8-3.6-8-8V14C6,9.6,9.6,6,14,6z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"g\\\"],[12],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#FFFFFF\\\"],[14,\\\"d\\\",\\\"M8,136c-3.3,0-6-2.7-6-6V8c0-3.3,2.7-6,6-6h130c3.3,0,6,2.7,6,6    v122c0,3.3-2.7,6-6,6H8z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M138,4c2.2,0,4,1.8,4,4v122c0,2.2-1.8,4-4,4H8c-2.2,0-4-1.8-4-4V8c0-2.2,1.8-4,4-4H138 M138,0H8    C3.6,0,0,3.6,0,8v122c0,4.4,3.6,8,8,8h130c4.4,0,8-3.6,8-8V8C146,3.6,142.4,0,138,0L138,0z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[10,\\\"g\\\"],[14,1,\\\"Text\\\"],[12],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M16,96v-4h112v4H16z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M16,104v-4h106v4H16z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M16,112v-4h100v4H16z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M16,120v-4h112v4H16z\\\"],[12],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[10,\\\"g\\\"],[14,1,\\\"Image__x2B__Heading\\\"],[12],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M16,66V16h114v50H16z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M16,88V78h70v10H16z\\\"],[12],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[10,\\\"g\\\"],[14,1,\\\"Attributes\\\"],[12],[2,\\\"\\\\n                    \\\"],[10,\\\"g\\\"],[14,1,\\\"Attirbutes\\\"],[12],[2,\\\"\\\\n                      \\\"],[10,\\\"g\\\"],[12],[2,\\\"\\\\n                        \\\"],[10,\\\"path\\\"],[14,\\\"fill\\\",\\\"#F7FAFD\\\"],[14,\\\"d\\\",\\\"M156,83c-1.7,0-3-1.3-3-3v-3.4l-3.6-3.6l3.6-3.6V66c0-1.7,1.3-3,3-3h14c1.7,0,3,1.3,3,3v14     c0,1.7-1.3,3-3,3H156z\\\"],[12],[13],[2,\\\"\\\\n                        \\\"],[10,\\\"path\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M170,64c1.1,0,2,0.9,2,2v14c0,1.1-0.9,2-2,2h-14c-1.1,0-2-0.9-2-2v-3v-0.8l-0.6-0.6l-2.6-2.6l2.6-2.6     l0.6-0.6V69v-3c0-1.1,0.9-2,2-2H170 M170,62h-14c-2.2,0-4,1.8-4,4v3l-4,4l4,4v3c0,2.2,1.8,4,4,4h14c2.2,0,4-1.8,4-4V66     C174,63.8,172.2,62,170,62L170,62z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[13],[2,\\\"\\\\n                    \\\"],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"g\\\"],[12],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M159.8,69v1.9l-2,1.9l2,2v1.9l-3.8-3.8L159.8,69z M159.8,72.2h1.4v1.4h-1.4V72.2z M162.2,72.2h1.4v1.4    h-1.4V72.2z M164.7,72.2h1.4v1.4h-1.4V72.2z M166,74.8l2-2l-2-1.9V69l3.8,3.8l-3.8,3.8V74.8z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__media__ext m__composer-help__text u__center-layout\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n                  \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"Insert attributes\\\"],[13],[2,\\\"\\\\n                  \\\"],[10,\\\"p\\\"],[12],[2,\\\"Click on the \\\"],[10,\\\"code\\\"],[14,0,\\\"m__composer-help__code\\\"],[12],[1,[30,[36,1],[\\\"insert-data\\\"],[[\\\"set\\\"],[\\\"tiny\\\"]]]],[13],[2,\\\" to the right to add recipient’s name or any other attribute\\\"],[13],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"sp__1\\\"],[12],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"m__composer-help__grid-cell\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__media\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__media__left m__composer-help__image o__wide-gutter\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"svg\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"xmlns:xlink\\\",\\\"http://www.w3.org/1999/xlink\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"version\\\",\\\"1.1\\\"],[14,1,\\\"Layer_1\\\"],[14,\\\"x\\\",\\\"0px\\\"],[14,\\\"y\\\",\\\"0px\\\"],[14,\\\"viewBox\\\",\\\"0 0 180 144\\\"],[14,\\\"enable-background\\\",\\\"new 0 0 180 144\\\"],[14,\\\"xml:space\\\",\\\"preserve\\\",\\\"http://www.w3.org/XML/1998/namespace\\\"],[14,\\\"data-ember-extension\\\",\\\"1\\\"],[12],[2,\\\"\\\\n                  \\\"],[10,\\\"g\\\"],[14,1,\\\"Container\\\"],[12],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#E9EEF1\\\"],[14,\\\"d\\\",\\\"M42,6h130c4.4,0,8,3.6,8,8v122c0,4.4-3.6,8-8,8H42   c-4.4,0-8-3.6-8-8V14C34,9.6,37.6,6,42,6z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"g\\\"],[12],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#FFFFFF\\\"],[14,\\\"d\\\",\\\"M36,136c-3.3,0-6-2.7-6-6V8c0-3.3,2.7-6,6-6h130c3.3,0,6,2.7,6,6    v122c0,3.3-2.7,6-6,6H36z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M166,4c2.2,0,4,1.8,4,4v122c0,2.2-1.8,4-4,4H36c-2.2,0-4-1.8-4-4V8c0-2.2,1.8-4,4-4H166 M166,0H36    c-4.4,0-8,3.6-8,8v122c0,4.4,3.6,8,8,8h130c4.4,0,8-3.6,8-8V8C174,3.6,170.4,0,166,0L166,0z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[10,\\\"g\\\"],[14,1,\\\"Text\\\"],[14,\\\"display\\\",\\\"none\\\"],[12],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"display\\\",\\\"inline\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M44,96v-4h112v4H44z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"display\\\",\\\"inline\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M44,104v-4h106v4H44z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"display\\\",\\\"inline\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M44,112v-4h100v4H44z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"display\\\",\\\"inline\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M44,120v-4h112v4H44z\\\"],[12],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[10,\\\"g\\\"],[14,1,\\\"Image__x2B__Heading\\\"],[12],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M44,66V16h114v50H44z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#F3F7FA\\\"],[14,\\\"d\\\",\\\"M44,88V78h70v10H44z\\\"],[12],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                  \\\"],[10,\\\"g\\\"],[14,1,\\\"Lists\\\"],[12],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M54,102v-4h38v4H54z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M54,112v-4h18v4H54z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"path\\\"],[14,\\\"fill-rule\\\",\\\"evenodd\\\"],[14,\\\"clip-rule\\\",\\\"evenodd\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M54,124v-4h28v4H54z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[10,\\\"g\\\"],[12],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M45,96.6v-1.1c0.5,0,0.9-0.1,1.1-0.1c0.3-0.1,0.6-0.2,0.8-0.4c0.1-0.2,0.3-0.4,0.3-0.6    c0-0.2,0.1-0.3,0.1-0.3h1.4v8.5H47v-5.9H45z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M44.4,111.9c0.2-0.6,0.8-1.2,1.7-1.8c0.8-0.6,1.3-0.9,1.5-1.2c0.3-0.4,0.5-0.8,0.5-1.2    c0-0.4-0.1-0.7-0.3-0.9s-0.5-0.4-0.9-0.4c-0.5,0-0.9,0.2-1,0.6c-0.1,0.2-0.2,0.6-0.2,1h-1.6c0-0.7,0.2-1.3,0.4-1.8    c0.4-0.8,1.2-1.3,2.4-1.3c0.9,0,1.6,0.2,2.1,0.7c0.5,0.5,0.8,1.2,0.8,2c0,0.6-0.2,1.2-0.6,1.7c-0.2,0.3-0.7,0.7-1.2,1.1l-0.7,0.5    c-0.4,0.3-0.7,0.5-0.9,0.6s-0.3,0.3-0.4,0.5h3.7v1.5H44C44,112.9,44.1,112.4,44.4,111.9z\\\"],[12],[13],[2,\\\"\\\\n                      \\\"],[10,\\\"path\\\"],[14,\\\"fill\\\",\\\"#3990CB\\\"],[14,\\\"d\\\",\\\"M45.6,121.9c0,0.3,0.1,0.6,0.2,0.8c0.2,0.4,0.6,0.6,1.1,0.6c0.3,0,0.6-0.1,0.9-0.3c0.2-0.2,0.4-0.5,0.4-1    c0-0.6-0.2-0.9-0.7-1.1c-0.3-0.1-0.7-0.2-1.2-0.2v-1.2c0.5,0,0.9-0.1,1.1-0.2c0.4-0.2,0.6-0.5,0.6-1c0-0.3-0.1-0.6-0.3-0.8    c-0.2-0.2-0.5-0.3-0.8-0.3c-0.4,0-0.7,0.1-0.9,0.4c-0.2,0.2-0.3,0.6-0.3,1h-1.6c0-0.4,0.1-0.8,0.2-1.2c0.1-0.3,0.4-0.6,0.6-0.9    c0.2-0.2,0.5-0.4,0.8-0.5s0.7-0.2,1.1-0.2c0.8,0,1.5,0.2,2,0.6c0.5,0.4,0.7,1,0.7,1.7c0,0.5-0.1,0.9-0.4,1.3    c-0.2,0.2-0.4,0.4-0.6,0.4c0.2,0,0.4,0.1,0.7,0.4c0.4,0.4,0.6,0.9,0.6,1.6c0,0.7-0.2,1.4-0.7,1.9c-0.5,0.5-1.2,0.8-2.2,0.8    c-1.2,0-2-0.4-2.5-1.2c-0.2-0.4-0.4-1-0.4-1.6H45.6z\\\"],[12],[13],[2,\\\"\\\\n                    \\\"],[13],[2,\\\"\\\\n                  \\\"],[13],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__media__ext m__composer-help__text\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n                  \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"Create lists\\\"],[13],[2,\\\"\\\\n                  \\\"],[10,\\\"p\\\"],[12],[2,\\\"Type  \\\"],[10,\\\"code\\\"],[14,0,\\\"m__composer-help__code\\\"],[12],[2,\\\"*\\\"],[13],[2,\\\" or \\\"],[10,\\\"code\\\"],[14,0,\\\"m__composer-help__code\\\"],[12],[2,\\\"1)\\\"],[13],[2,\\\" and \\\"],[10,\\\"code\\\"],[14,0,\\\"m__composer-help__code\\\"],[12],[2,\\\"space\\\"],[13],[2,\\\" to create a list\\\"],[13],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"sp__1\\\"],[12],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"hr\\\"],[14,0,\\\"sp__hr\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"sp__1\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"m__composer-help__grid\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"m__composer-help__grid-cell\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"HTML in emails\\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"p\\\"],[12],[2,\\\"HTML is only supported in emails. Click on the \\\"],[10,\\\"code\\\"],[14,0,\\\"m__composer-help__code\\\"],[12],[2,\\\"+\\\"],[13],[2,\\\" icon to the left of your content and select the \\\\\\\"Insert HTML\\\\\\\" option.\\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"sp__2\\\"],[12],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"Attributes in links\\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"p\\\"],[12],[2,\\\"When editing a link, click on \\\"],[10,\\\"code\\\"],[14,0,\\\"m__composer-help__code\\\"],[12],[1,[30,[36,1],[\\\"insert-data\\\"],[[\\\"set\\\"],[\\\"tiny\\\"]]]],[13],[2,\\\" and select an attribute. The attribute will be inserted in this syntax: \\\"],[10,\\\"code\\\"],[14,0,\\\"m__composer-help__code\\\"],[12],[2,\\\"{{ first_name | \\\\\\\"fallback\\\\\\\": \\\\\\\"test\\\\\\\" }}\\\"],[13],[2,\\\" make sure you type in a fallback in case the attribute is not available.\\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"sp__2\\\"],[12],[13],[2,\\\"\\\\n            \\\"],[10,\\\"p\\\"],[12],[10,\\\"a\\\"],[14,6,\\\"http://docs.intercom.io/Intercom-for-customer-communication/Intercoms-in-app-messenger#composing-your-message\\\"],[14,0,\\\"t__em-link\\\"],[12],[2,\\\"Learn more in our docs\\\"],[13],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"m__composer-help__grid-cell m__composer-shortcuts\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"Keyboard shortcuts\\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"sp__1\\\"],[12],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"l__full__col\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"span\\\"],[14,0,\\\"keyboard-shortcuts-key\\\"],[12],[2,\\\"Bold\\\"],[13],[2,\\\"\\\\n                \\\"],[10,\\\"span\\\"],[14,0,\\\"keyboard-shortcuts-value\\\"],[12],[10,\\\"span\\\"],[14,0,\\\"shortcut\\\"],[12],[2,[34,2]],[13],[2,\\\" \\\"],[10,\\\"span\\\"],[14,0,\\\"shortcut\\\"],[12],[2,\\\"b\\\"],[13],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"span\\\"],[14,0,\\\"keyboard-shortcuts-key\\\"],[12],[2,\\\"Italic\\\"],[13],[2,\\\"\\\\n                \\\"],[10,\\\"span\\\"],[14,0,\\\"keyboard-shortcuts-value\\\"],[12],[10,\\\"span\\\"],[14,0,\\\"shortcut\\\"],[12],[2,[34,2]],[13],[2,\\\" \\\"],[10,\\\"span\\\"],[14,0,\\\"shortcut\\\"],[12],[2,\\\"i\\\"],[13],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"span\\\"],[14,0,\\\"keyboard-shortcuts-key\\\"],[12],[2,\\\"Link\\\"],[13],[2,\\\"\\\\n                \\\"],[10,\\\"span\\\"],[14,0,\\\"keyboard-shortcuts-value\\\"],[12],[10,\\\"span\\\"],[14,0,\\\"shortcut\\\"],[12],[2,[34,2]],[13],[2,\\\" \\\"],[10,\\\"span\\\"],[14,0,\\\"shortcut\\\"],[12],[2,\\\"k\\\"],[13],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"span\\\"],[14,0,\\\"keyboard-shortcuts-key\\\"],[12],[2,\\\"Heading 1\\\"],[13],[2,\\\"\\\\n                \\\"],[10,\\\"span\\\"],[14,0,\\\"keyboard-shortcuts-value\\\"],[12],[10,\\\"span\\\"],[14,0,\\\"shortcut\\\"],[12],[2,\\\"#\\\"],[13],[2,\\\" \\\"],[10,\\\"span\\\"],[14,0,\\\"shortcut\\\"],[12],[2,\\\"space\\\"],[13],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"span\\\"],[14,0,\\\"keyboard-shortcuts-key\\\"],[12],[2,\\\"Heading 2\\\"],[13],[2,\\\"\\\\n                \\\"],[10,\\\"span\\\"],[14,0,\\\"keyboard-shortcuts-value\\\"],[12],[10,\\\"span\\\"],[14,0,\\\"shortcut\\\"],[12],[2,\\\"#\\\"],[13],[2,\\\" \\\"],[10,\\\"span\\\"],[14,0,\\\"shortcut\\\"],[12],[2,\\\"#\\\"],[13],[2,\\\" \\\"],[10,\\\"span\\\"],[14,0,\\\"shortcut\\\"],[12],[2,\\\"space\\\"],[13],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"span\\\"],[14,0,\\\"keyboard-shortcuts-key\\\"],[12],[2,\\\"Unordered list\\\"],[13],[2,\\\"\\\\n                \\\"],[10,\\\"span\\\"],[14,0,\\\"keyboard-shortcuts-value\\\"],[12],[10,\\\"span\\\"],[14,0,\\\"shortcut\\\"],[12],[2,\\\"*\\\"],[13],[2,\\\" \\\"],[10,\\\"span\\\"],[14,0,\\\"shortcut\\\"],[12],[2,\\\"space\\\"],[13],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"kv__pair u__cf o__in-list m__inbox-composer-help__kv\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"span\\\"],[14,0,\\\"keyboard-shortcuts-key\\\"],[12],[2,\\\"Ordered list\\\"],[13],[2,\\\"\\\\n                \\\"],[10,\\\"span\\\"],[14,0,\\\"keyboard-shortcuts-value\\\"],[12],[10,\\\"span\\\"],[14,0,\\\"shortcut\\\"],[12],[2,\\\"1)\\\"],[13],[2,\\\" \\\"],[10,\\\"span\\\"],[14,0,\\\"shortcut\\\"],[12],[2,\\\"space\\\"],[13],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"ic-interface-icon\\\",\\\"modifierKey\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/help-guide.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"7M18ugXA\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"textarea\\\",[[16,0,[34,1]],[24,\\\"spellcheck\\\",\\\"false\\\"]],[[\\\"@value\\\"],[[34,0]]],null],[2,\\\"\\\"],[10,\\\"div\\\"],[14,0,\\\"m__html-editor__attribute-container js__attribute-container\\\"],[12],[2,\\\"\\\\n  \\\"],[11,\\\"span\\\"],[24,0,\\\"m__html-editor__attribute-activator\\\"],[4,[38,2],[[32,0],\\\"toggleAttributeSelector\\\"],null],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,3],[\\\"custom-data\\\"],null]],[2,\\\"\\\\n    \\\"],[1,[30,[36,3],[\\\"small-down-arrow\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[8,\\\"attribute-selector\\\",[[24,0,\\\"m__html-editor__attribute-selector\\\"]],[[\\\"@direction\\\",\\\"@attributes\\\",\\\"@attributeSelected\\\",\\\"@isVisible\\\"],[\\\"below\\\",[34,4],\\\"insertAttribute\\\",[34,5]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"html\\\",\\\"textareaClasses\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"combinedAttributes\\\",\\\"isAttributeSelectorVisible\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/html-editor-textarea.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"jZ8Snlx3\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,14],[[35,0]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"new_pattern_area\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__overlay u__center-layout\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__overlay__inner\\\"],[12],[2,\\\"\\\\n\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"modal o__wide\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__left\\\"],[12],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n                HTML editor\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close\\\"],[12],[2,\\\"\\\\n              \\\"],[11,\\\"a\\\"],[24,6,\\\"#\\\"],[24,0,\\\"modal__header__close__link u__right html-editor-cancel\\\"],[4,[38,8],[[32,0],\\\"cancel\\\",true],null],[12],[2,\\\"\\\\n                \\\"],[1,[30,[36,9],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body o__simple-frame\\\"],[14,5,\\\"height: 373px;\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"html-editor-textarea\\\",[],[[\\\"@html\\\",\\\"@textareaClasses\\\",\\\"@hasError\\\",\\\"@attributes\\\"],[[34,10],\\\"composer_html_editor_textarea modal-editor\\\",[34,11],[34,1,[\\\"attributes\\\"]]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__footer u__cf\\\"],[12],[2,\\\"\\\\n            \\\"],[11,\\\"button\\\"],[16,0,[31,[\\\"btn o__primary u__right html-editor-save \\\",[30,[36,13],[[35,12],\\\"o__disabled\\\"],null]]]],[4,[38,8],[[32,0],\\\"save\\\"],null],[12],[2,\\\"\\\\n              Save\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[11,\\\"button\\\"],[24,0,\\\"btn o__destructive u__left html-editor-delete\\\"],[4,[38,8],[[32,0],\\\"delete\\\",true],null],[12],[2,\\\"\\\\n              Delete this block\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"non-editable-block-editor\\\",[],[[\\\"@type\\\",\\\"@isEditMode\\\",\\\"@app\\\",\\\"@config\\\",\\\"@currentEditableObject\\\",\\\"@selectionCoordinates\\\",\\\"@hoverCoordinates\\\",\\\"@composerState\\\",\\\"@deleteEntity\\\",\\\"@hideEditor\\\",\\\"@triggerDomSync\\\",\\\"@editText\\\",\\\"@moveSelectionPastEntityOrBlock\\\",\\\"@actionReceiver\\\"],[\\\"html\\\",[34,0],[34,1],[34,2],[34,3],[34,4],[34,5],[34,6],\\\"deleteEntity\\\",\\\"hideEditor\\\",\\\"triggerDomSync\\\",\\\"Edit HTML\\\",\\\"moveSelectionPastEntityOrBlock\\\",[34,7]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"isEditMode\\\",\\\"app\\\",\\\"config\\\",\\\"currentEditableObject\\\",\\\"selectionCoordinates\\\",\\\"hoverCoordinates\\\",\\\"composerState\\\",\\\"actionReceiver\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"htmlContent\\\",\\\"hasError\\\",\\\"hasHtmlContent\\\",\\\"unless\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/html-editor.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"lBRu+hgu\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,1],[[35,7]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"labeled-input\\\",[],[[\\\"@placeholder\\\",\\\"@value\\\",\\\"@editableObject\\\",\\\"@config\\\",\\\"@canDelete\\\",\\\"@focusIfEmpty\\\",\\\"@canInsertAttributes\\\",\\\"@delete\\\"],[\\\"Enter a link\\\",[34,6,[\\\"linkUrl\\\"]],[34,6],[34,5],true,true,[34,5,[\\\"allowAttribute\\\"]],\\\"delete\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"block-link-editor-activate\\\"],[12],[2,\\\"\\\\n    \\\"],[11,\\\"span\\\"],[16,0,[31,[\\\"block-link-editor-icon \\\",[30,[36,1],[[35,4],\\\"is-active\\\",\\\"is-inactive\\\"],null]]]],[4,[38,2],[[32,0],\\\"editLink\\\"],null],[12],[1,[30,[36,3],[\\\"link\\\"],[[\\\"solo\\\"],[true]]]],[13],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,5,[\\\"allowAlignment\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[11,\\\"span\\\"],[16,0,[31,[\\\"block-link-editor-icon is-pixel-grid \\\",[30,[36,1],[[35,0],\\\"is-active\\\",\\\"is-inactive\\\"],null]]]],[4,[38,2],[[32,0],\\\"toggleAlignment\\\"],null],[12],[1,[30,[36,3],[\\\"center\\\"],[[\\\"solo\\\"],[true]]]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"isCentered\\\",\\\"if\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"hasLink\\\",\\\"config\\\",\\\"editableObject\\\",\\\"isEditMode\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/image-editor.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"riKZHW6r\",\"block\":\"{\\\"symbols\\\":[\\\"list\\\",\\\"@blocksTitle\\\",\\\"@app\\\",\\\"@composerTitleActionReceiver\\\",\\\"@updateTitleBlocks\\\",\\\"@composerTextActionReceiver\\\",\\\"@updateTextBlocks\\\",\\\"@onSave\\\",\\\"@onDelete\\\"],\\\"statements\\\":[[8,\\\"ic-content\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__p__x2 image-text-composer-header\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-center\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"heading\\\",[],[[\\\"@size\\\"],[\\\"4\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          Image with text\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-content\\\",[[24,0,\\\"content u__pl__x6  u__pr__x6 u__pt__x4 u__pb__x4\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,1,\\\"image-text-preview-composer\\\"],[12],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__pl__x6 u__pr__x6\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col gap-4\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row flex-1 gap-2\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col\\\"],[12],[2,\\\"\\\\n                \\\"],[8,\\\"text\\\",[],[[\\\"@styling\\\"],[\\\"small\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"IMAGE (REQUIRED)\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n                \\\"],[11,\\\"input\\\"],[16,\\\"accept\\\",[31,[[34,1]]]],[24,0,\\\"image-text-file-upload composer-is-hidden\\\"],[24,4,\\\"file\\\"],[4,[38,3],[\\\"change\\\",[30,[36,2],[[32,0],\\\"uploadImage\\\"],null]],null],[12],[13],[2,\\\"\\\\n                \\\"],[8,\\\"ic-button\\\",[[24,0,\\\"image-text-file-upload-url-button\\\"]],[[\\\"@type\\\",\\\"@label\\\",\\\"@disabled\\\",\\\"@onClick\\\"],[\\\"secondary\\\",[34,4],[34,5],[30,[36,2],[[32,0],\\\"openFileDialog\\\"],null]]],null],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col u__overflow-hidden\\\"],[12],[2,\\\"\\\\n                \\\"],[8,\\\"text\\\",[[24,0,\\\"image-text-file-upload-url\\\"]],[[\\\"@styling\\\"],[\\\"small\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[1,[34,6]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,8],[[35,7]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[10,\\\"div\\\"],[12],[1,[34,0]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"text\\\",[],[[\\\"@styling\\\"],[\\\"small\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"TITLE\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[8,\\\"composer-v2\\\",[],[[\\\"@blocks\\\",\\\"@preset\\\",\\\"@app\\\",\\\"@actionReceiver\\\",\\\"@onChange\\\",\\\"@hoverAreaPadding\\\",\\\"@editorClass\\\"],[[32,2],\\\"imageTextInput\\\",[32,3],[32,4],[32,5],[34,9],\\\"form__input ember-text-field image-text-editor-title image-text-editor-composer\\\"]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"text\\\",[],[[\\\"@styling\\\"],[\\\"small\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"TEXT (REQUIRED)\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[8,\\\"composer-v2\\\",[],[[\\\"@blocks\\\",\\\"@preset\\\",\\\"@app\\\",\\\"@actionReceiver\\\",\\\"@onChange\\\",\\\"@hoverAreaPadding\\\",\\\"@editorClass\\\"],[[34,10],\\\"imageTextInput\\\",[32,3],[32,6],[32,7],[34,9],\\\"form__input ember-text-field image-text-editor-text image-text-editor-composer\\\"]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__footer u__cf u__mt__20\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-button-list\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,[32,1,[\\\"button\\\"]],[[24,0,\\\"image-text-editor-save\\\"]],[[\\\"@type\\\",\\\"@label\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[\\\"primary\\\",\\\"Add to message\\\",[32,8],[30,[36,12],[[35,11]],null]]],null],[2,\\\"\\\\n          \\\"],[8,[32,1,[\\\"button\\\"]],[[24,0,\\\"image-text-editor-delete\\\"]],[[\\\"@label\\\",\\\"@type\\\",\\\"@onClick\\\"],[\\\"Delete\\\",\\\"secondary\\\",[32,9]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"errorMessage\\\",\\\"allowedTypeList\\\",\\\"action\\\",\\\"on\\\",\\\"uploadLabel\\\",\\\"isUploadingIcon\\\",\\\"uploadedFileName\\\",\\\"hasUploadError\\\",\\\"if\\\",\\\"hoverAreaPadding\\\",\\\"blocksText\\\",\\\"hasValidContent\\\",\\\"not\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/image-text-composer.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"FYDSwtQV\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,16],[[35,0]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"image-text-composer\\\",[],[[\\\"@app\\\",\\\"@config\\\",\\\"@currentEditableObject\\\",\\\"@selectionCoordinates\\\",\\\"@hoverCoordinates\\\",\\\"@onCancel\\\",\\\"@blocksTitle\\\",\\\"@updateTitleBlocks\\\",\\\"@composerTitleActionReceiver\\\",\\\"@blocksText\\\",\\\"@updateTextBlocks\\\",\\\"@imageUrl\\\",\\\"@setImageUrl\\\",\\\"@composerTextActionReceiver\\\",\\\"@onSave\\\",\\\"@onDelete\\\",\\\"@uploadManager\\\",\\\"@hasValidContent\\\"],[[34,1],[34,2],[34,3],[34,4],[34,5],[30,[36,8],[[32,0],\\\"cancel\\\"],null],[34,9],[30,[36,8],[[32,0],\\\"updateTitleBlocks\\\"],null],[34,10],[34,11],[30,[36,8],[[32,0],\\\"updateTextBlocks\\\"],null],[34,12],[30,[36,8],[[32,0],\\\"setImageUrl\\\"],null],[34,13],[30,[36,8],[[32,0],\\\"save\\\"],null],[30,[36,8],[[32,0],\\\"delete\\\"],null],[34,14],[34,15]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"non-editable-block-editor\\\",[],[[\\\"@type\\\",\\\"@isEditMode\\\",\\\"@app\\\",\\\"@config\\\",\\\"@currentEditableObject\\\",\\\"@selectionCoordinates\\\",\\\"@hoverCoordinates\\\",\\\"@composerState\\\",\\\"@deleteEntity\\\",\\\"@hideEditor\\\",\\\"@editText\\\",\\\"@triggerDomSync\\\",\\\"@moveSelectionPastEntityOrBlock\\\",\\\"@actionReceiver\\\"],[\\\"imageText\\\",[34,0],[34,1],[34,2],[34,3],[34,4],[34,5],[34,6],\\\"deleteEntity\\\",\\\"hideEditor\\\",\\\"Edit Image with text\\\",\\\"triggerDomSync\\\",\\\"moveSelectionPastEntityOrBlock\\\",[34,7]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"isEditMode\\\",\\\"app\\\",\\\"config\\\",\\\"currentEditableObject\\\",\\\"selectionCoordinates\\\",\\\"hoverCoordinates\\\",\\\"composerState\\\",\\\"actionReceiver\\\",\\\"action\\\",\\\"blocksTitle\\\",\\\"composerTitle\\\",\\\"blocksText\\\",\\\"imageUrl\\\",\\\"composerText\\\",\\\"uploadManager\\\",\\\"hasValidContent\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/image-text-editor.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"P2CUKZbx\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[15,0,[31,[\\\"importer__step__file-upload layout__box o__flexes-to-1 o__has-rows \\\",[34,12],\\\" \\\",[30,[36,3],[[35,11],\\\"o__dragging\\\"],null]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,7]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,3],[[35,8]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box text-red u__mt__35\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[34,8]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,3],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box file-upload__preview\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"img\\\"],[14,0,\\\"file-upload__preview-image\\\"],[15,\\\"src\\\",[31,[[34,5]]]],[12],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box u__mt__35\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,6],[\\\"opened-message\\\"],null]],[2,\\\" \\\"],[10,\\\"b\\\"],[12],[1,[35,7,[\\\"name\\\"]]],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"text-gray\\\"],[4,[38,2],[[32,0],\\\"removeFile\\\"],null],[12],[2,\\\"\\\\n        Remove\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"importer__step__file-upload__btn\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"ic-button\\\",[],[[\\\"@label\\\",\\\"@processingLabel\\\",\\\"@type\\\",\\\"@onClick\\\",\\\"@fit\\\",\\\"@disabled\\\"],[\\\"Upload\\\",\\\"Uploading...\\\",\\\"primary\\\",[34,9],true,[30,[36,10],[[35,8,[\\\"length\\\"]],0],null]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"t__h2 layout__box\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[34,1]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"t__em-link u__u\\\"],[4,[38,2],[[32,0],\\\"pickFile\\\"],null],[12],[2,\\\"\\\\n        Or select a file from your computer…\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"h-5\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,0]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box importer__step__file-upload__instructions\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[34,0]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"input\\\"],[15,\\\"accept\\\",[34,4]],[14,0,\\\"hidden\\\"],[14,4,\\\"file\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"additionalInstructions\\\",\\\"instructions\\\",\\\"action\\\",\\\"if\\\",\\\"fileMimeType\\\",\\\"previewURL\\\",\\\"ic-interface-icon\\\",\\\"file\\\",\\\"errorMessage\\\",\\\"onClick\\\",\\\"gt\\\",\\\"isDragging\\\",\\\"optionClass\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/importers/file-upload-component.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"ODQloVBY\",\"block\":\"{\\\"symbols\\\":[\\\"t\\\"],\\\"statements\\\":[[11,\\\"span\\\"],[16,0,[31,[[34,8],\\\" \\\",[30,[36,3],[[35,7],\\\"o__subtle\\\"],null],\\\" \\\",[30,[36,3],[[35,6],\\\"o__light\\\"],null],\\\" \\\",[30,[36,3],[[35,5],\\\"o__opened\\\"],null],\\\" \\\",[30,[36,3],[[35,4],\\\"o__disabled u__disable-pointer-events\\\"],null],\\\" \\\",[30,[36,3],[[35,2],\\\"o__error\\\"],null]]]],[4,[38,9],[[32,0],\\\"toggleOpenState\\\"],null],[12],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[15,0,[31,[[30,[36,11],[[35,10],\\\"t__select-group-label\\\"],null],\\\" u__one-truncated-line\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,1,[\\\"icon\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[1,[30,[36,0],[[35,1,[\\\"icon\\\"]]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[1,[35,1,[\\\"label\\\"]]],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,1,[\\\"tooltip\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"ic-tooltip\\\",[],[[\\\"@isInteractive\\\"],[true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,1,[\\\"opener\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[1,[30,[36,0],[\\\"info\\\"],[[\\\"color\\\",\\\"solo\\\"],[\\\"gray\\\",true]]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[8,[32,1,[\\\"content\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[1,[35,1,[\\\"tooltip\\\"]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[15,0,[31,[[34,12],\\\" \\\",[30,[36,3],[[35,7],\\\"o__subtle\\\"],null]]]],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,0],[\\\"small-down-arrow\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[19,\\\"components/partials/intercom-select-dropdown\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"ic-interface-icon\\\",\\\"_mappedValue\\\",\\\"showError\\\",\\\"if\\\",\\\"disabled\\\",\\\"isOpen\\\",\\\"lightInvisibleSelect\\\",\\\"discreetMode\\\",\\\"selectClass\\\",\\\"action\\\",\\\"isInvisibleSelect\\\",\\\"unless\\\",\\\"caretClass\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/intercom-select-component.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"hhAWvnJG\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,9],[[30,[36,5],[[35,8]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"label\\\"],[14,0,\\\"popup-inserter-cell small-caps\\\"],[12],[1,[30,[36,5],[[35,4]],null]],[13],[2,\\\"\\\\n\\\"],[6,[37,7],[[35,6]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"popup-inserter-cell divider\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,9],[[30,[36,5],[[35,6]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"popup-inserter-cell info-icon\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"ic-popup ic-popup-above is-light-theme info-tooltip\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[34,3]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"popup-inserter-cell-icon\\\"],[12],[1,[30,[36,2],[\\\"tooltip\\\"],null]],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"popup-inserter-cell divider\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"popup-inserter-cell o__flexes-to-1 o__has-columns\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"input\\\",[[24,0,\\\"anchor-editor-input with-icon\\\"],[16,\\\"placeholder\\\",[34,11]]],[[\\\"@value\\\",\\\"@enter\\\",\\\"@disabled\\\"],[[34,10],[30,[36,1],[[32,0],\\\"onEnter\\\"],null],[34,12]]],null],[2,\\\"\\\\n\\\"],[6,[37,9],[[35,13]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[11,\\\"span\\\"],[24,0,\\\"anchor-editor-icon anchor-editor-icon-beside-input delete\\\"],[4,[38,1],[[32,0],\\\"delete\\\"],null],[12],[10,\\\"span\\\"],[14,0,\\\"popup-inserter-cell-icon\\\"],[12],[1,[30,[36,2],[\\\"delete\\\"],[[\\\"set\\\"],[\\\"tiny\\\"]]]],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"ic-popup ic-popup-above is-light-theme info-tooltip\\\"],[12],[2,\\\"Remove link\\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,9],[[35,14]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"popup-inserter-cell divider\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[11,\\\"div\\\"],[24,0,\\\"popup-inserter-cell anchor-editor-icon insert-attribute\\\"],[4,[38,1],[[32,0],\\\"toggleAttributeInserter\\\"],null],[12],[10,\\\"span\\\"],[14,0,\\\"popup-inserter-cell-icon\\\"],[12],[1,[30,[36,2],[\\\"insert-data\\\"],[[\\\"set\\\",\\\"solo\\\"],[\\\"tiny\\\",true]]]],[13],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[10,\\\"div\\\"],[15,0,[31,[\\\"popup-inserter-cell attribute-selector-container \\\",[30,[36,7],[[35,15],\\\"inserter-is-hidden\\\"],null]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,9],[[35,15]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"attribute-selector\\\",[[24,0,\\\"attribute-selector-for-input\\\"]],[[\\\"@attributes\\\",\\\"@attributeSelected\\\"],[[34,0,[\\\"attributes\\\"]],\\\"insertAttribute\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"config\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"tooltip\\\",\\\"label\\\",\\\"unbound\\\",\\\"hasTooltip\\\",\\\"unless\\\",\\\"hasLabel\\\",\\\"if\\\",\\\"value\\\",\\\"placeholder\\\",\\\"isInputDisabled\\\",\\\"canDelete\\\",\\\"showInsertAttributeButton\\\",\\\"showAttributeInserter\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/labeled-input.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"qg1sX4AZ\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[2,\\\"  \\\"],[1,[30,[36,0],[\\\"attachment\\\"],null]],[2,\\\"\\\\n  Attach file\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/media-inserter-attach-file-button.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"LlL+1Me+\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"labeled-input\\\",[],[[\\\"@label\\\",\\\"@placeholder\\\",\\\"@onEnter\\\",\\\"@config\\\"],[\\\"Facebook.com/\\\",\\\"Your Facebook Page\\\",\\\"insert\\\",[34,0]]],null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"config\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/media-inserter-facebook.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"DOrcAvSj\",\"block\":\"{\\\"symbols\\\":[\\\"inserter\\\"],\\\"statements\\\":[[2,[34,6]],[2,\\\"\\\\n\\\"],[6,[37,8],[[35,7,[\\\"allowImage\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"button\\\"],[24,0,\\\"composer-media-selector-option button-bare call-to-action composer-media-image\\\"],[4,[38,2],[[32,0],\\\"addImage\\\"],null],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,3],[\\\"picture\\\"],null]],[2,\\\" Insert image\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,8],[[35,7,[\\\"allowButton\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"button\\\"],[24,0,\\\"composer-media-selector-option button-bare call-to-action composer-media-button\\\"],[4,[38,2],[[32,0],\\\"insertButton\\\",\\\"button\\\"],null],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,3],[\\\"button-pill\\\"],null]],[2,\\\" Insert button\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,8],[[35,7,[\\\"allowHtml\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"button\\\"],[24,0,\\\"composer-media-selector-option button-bare call-to-action composer-media-html\\\"],[4,[38,2],[[32,0],\\\"insertHtml\\\"],null],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,3],[\\\"code\\\"],null]],[2,\\\" Insert HTML\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,8],[[35,7,[\\\"allowVideoFile\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"button\\\"],[24,0,\\\"composer-media-selector-option button-bare call-to-action composer-media-video-file\\\"],[4,[38,2],[[32,0],\\\"addVideoFile\\\"],null],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,3],[\\\"video-camera\\\"],null]],[2,\\\" Insert video clip\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,8],[[35,7,[\\\"allowVideo\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"button\\\"],[24,0,\\\"composer-media-selector-option button-bare call-to-action composer-media-video\\\"],[4,[38,2],[[32,0],\\\"switchMode\\\",\\\"video\\\"],null],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,3],[\\\"video\\\"],null]],[2,\\\" Embed video\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,8],[[35,7,[\\\"allowSocial\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"button\\\"],[24,0,\\\"composer-media-selector-option button-bare call-to-action composer-media-social\\\"],[4,[38,2],[[32,0],\\\"switchMode\\\",\\\"social\\\"],null],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,3],[\\\"thumbsup\\\"],null]],[2,\\\" Insert social button\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,8],[[35,7,[\\\"allowAttachments\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"media-inserter-attach-file-button\\\",[],[[\\\"@tagName\\\",\\\"@showDivider\\\",\\\"@showCaret\\\",\\\"@addAttachment\\\"],[\\\"button\\\",[34,4],[34,5],\\\"addAttachment\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,8],[[35,7,[\\\"allowCode\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"button\\\"],[24,0,\\\"composer-media-selector-option button-bare call-to-action composer-media-code\\\"],[4,[38,2],[[32,0],\\\"insertCode\\\"],null],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,3],[\\\"code-block\\\"],null]],[2,\\\" Insert code\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,8],[[35,7,[\\\"allowImageText\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"button\\\"],[24,0,\\\"composer-media-selector-option button-bare call-to-action composer-media-image-text\\\"],[4,[38,2],[[32,0],\\\"addImageText\\\"],null],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,3],[\\\"image-with-text\\\"],null]],[2,\\\" Image with text\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,11],[[30,[36,10],[[30,[36,10],[[35,9]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[1,[30,[36,1],[[32,1]],[[\\\"selectInserter\\\"],[[35,0]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"selectInserter\\\",\\\"component\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"showDivider\\\",\\\"showCaret\\\",\\\"pointerStyle\\\",\\\"config\\\",\\\"if\\\",\\\"inserters\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/media-inserter-selector.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"6k1VzUQz\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[11,\\\"button\\\"],[24,0,\\\"social-inserter-option\\\"],[4,[38,0],[[32,0],\\\"switchMode\\\",\\\"twitter\\\"],null],[12],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[14,0,\\\"social-inserter-icon\\\"],[12],[1,[30,[36,1],[\\\"twitter\\\"],[[\\\"set\\\",\\\"solo\\\"],[\\\"tiny\\\",true]]]],[13],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[12],[2,\\\"Twitter\\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[11,\\\"button\\\"],[24,0,\\\"social-inserter-option\\\"],[4,[38,0],[[32,0],\\\"switchMode\\\",\\\"facebook\\\"],null],[12],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[14,0,\\\"social-inserter-icon\\\"],[12],[1,[30,[36,1],[\\\"facebook\\\"],[[\\\"set\\\",\\\"solo\\\"],[\\\"tiny\\\",true]]]],[13],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[12],[2,\\\"Facebook\\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/media-inserter-social.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"6VO1lJw9\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"labeled-input\\\",[],[[\\\"@label\\\",\\\"@placeholder\\\",\\\"@onEnter\\\",\\\"@config\\\"],[\\\"Twitter.com/\\\",\\\"Your Twitter Account\\\",\\\"insert\\\",[34,0]]],null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"config\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/media-inserter-twitter.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"g+oxF3CF\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"labeled-input\\\",[],[[\\\"@label\\\",\\\"@placeholder\\\",\\\"@tooltip\\\",\\\"@value\\\",\\\"@hasError\\\",\\\"@onEnter\\\",\\\"@config\\\"],[\\\"Enter Video URL\\\",\\\"Enter video URL\\\",\\\"Youtube, Vimeo, Wistia, Loom or Vidyard\\\",[34,0],[34,1],\\\"insert\\\",[34,2]]],null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"inputUrl\\\",\\\"hasError\\\",\\\"config\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/media-inserter-video.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"t5BGrT6r\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[2,[34,12]],[2,\\\"\\\\n\\\"],[6,[37,10],[[35,13]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"div\\\"],[24,0,\\\"ic-popup ic-popup-left is-light-theme ic-popup-tiny is-hot composer-media-inserter\\\"],[4,[38,0],[[32,0],\\\"maximize\\\"],null],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"ic-popup-icon\\\"],[12],[1,[30,[36,11],[\\\"new\\\"],[[\\\"set\\\",\\\"solo\\\"],[\\\"tiny\\\",true]]]],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,10],[[35,9]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"ic-popup ic-popup-left ic-popup-short is-light-theme insertion-configuration-popover\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,7],[[35,9,[\\\"data\\\",\\\"configurator\\\"]]],[[\\\"inserterApi\\\"],[[30,[36,8],null,[[\\\"createBlock\\\",\\\"insertCharacter\\\"],[[30,[36,0],[[32,0],\\\"createBlock\\\"],null],[30,[36,0],[[32,0],\\\"insertCharacter\\\"],null]]]]]]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[1,[30,[36,7],[[35,6]],[[\\\"mode\\\",\\\"hoverCoordinates\\\",\\\"config\\\",\\\"inserters\\\",\\\"insertBlock\\\",\\\"openFileDialog\\\",\\\"showDivider\\\",\\\"selectInserter\\\"],[[35,5],[35,4],[35,3],[35,2],\\\"insertBlock\\\",\\\"openFileDialog\\\",[35,1],[30,[36,0],[[32,0],\\\"selectInserter\\\"],null]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"showDivider\\\",\\\"inserters\\\",\\\"config\\\",\\\"hoverCoordinates\\\",\\\"mode\\\",\\\"modeComponent\\\",\\\"component\\\",\\\"hash\\\",\\\"selectedInserter\\\",\\\"if\\\",\\\"ic-interface-icon\\\",\\\"blockDividerStyle\\\",\\\"isMinimized\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/media-inserter.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"eriLKkG1\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"u__m__10\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"p\\\"],[12],[2,\\\"It me, ok?\\\"],[13],[2,\\\"\\\\n  \\\"],[11,\\\"button\\\"],[4,[38,0],[[32,0],\\\"clickedInsert\\\"],null],[12],[2,\\\"Ok\\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/media-inserters/insert-character.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"bdOpoxQf\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"u__m__10\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"p\\\"],[12],[2,\\\"It me, ok?\\\"],[13],[2,\\\"\\\\n  \\\"],[11,\\\"button\\\"],[4,[38,0],[[32,0],\\\"clickedOk\\\"],null],[12],[2,\\\"Ok\\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/media-inserters/needs-configuration.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"f81CGlWJ\",\"block\":\"{\\\"symbols\\\":[\\\"item\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[15,5,[34,3]],[14,0,\\\"m__inbox__mention-dropdown js_keyboard_selectable_list dropdown z__2\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,6],[[30,[36,5],[[30,[36,5],[[35,4]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[11,\\\"div\\\"],[4,[38,0],[[32,0],\\\"highlightItem\\\",[32,1]],[[\\\"on\\\"],[\\\"mouseEnter\\\"]]],[12],[2,\\\"\\\\n        \\\"],[11,\\\"span\\\"],[16,0,[31,[\\\"dropdown__list-item o__hoverable \\\",[30,[36,1],[[32,1,[\\\"isHighlighted\\\"]],\\\"o__selected\\\"],null],\\\" \\\",[30,[36,1],[[32,1,[\\\"isDisabled\\\"]],\\\"opacity-50 pointer-events-none\\\"],null]]]],[4,[38,0],[[32,0],\\\"selectItem\\\",[32,1]],null],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"avatar__container o__s u__prevent-breaks\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,2],null,[[\\\"model\\\",\\\"size\\\",\\\"contained\\\"],[[32,1],\\\"s\\\",true]]]],[2,\\\"\\\\n            \\\"],[1,[32,1,[\\\"name\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"if\\\",\\\"ic-avatar\\\",\\\"style\\\",\\\"matchingItems\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/mention-inserter.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"juKM3dqK\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"style\\\"],[14,0,\\\"test__message__editor__content__email__app-styles\\\"],[12],[2,\\\"\\\\n  /* Embercom composer styles for intercom template buttons */\\\\n  .embercom-composer .composer-template-container .comment_wrapper_table.admin_comment ic-block a.intercom-h2b-button,\\\\n  .embercom-composer .composer-template-container .comment_wrapper_table.admin_comment ic-block a.intercom-h2b-button:link,\\\\n  .embercom-composer .composer-template-container .comment_wrapper_table.admin_comment ic-block a.intercom-h2b-button:visited\\\\n  .embercom-composer .composer-template-container #backgroundTable .message_wrapper_table ic-block a.intercom-h2b-button,\\\\n  .embercom-composer .composer-template-container #backgroundTable .message_wrapper_table ic-block a.intercom-h2b-button:link,\\\\n  .embercom-composer .composer-template-container #backgroundTable .message_wrapper_table ic-block a.intercom-h2b-button:visited {\\\\n    display: inline-block !important;\\\\n    color: white !important;\\\\n    min-height: 20px !important;\\\\n    padding: 9px 15px !important;\\\\n    font-weight: bold !important;\\\\n    border-radius: 5px !important;\\\\n    background-clip: padding-box !important;\\\\n    font-size: 15px !important;\\\\n    text-decoration:none !important;\\\\n    background-color:\\\"],[1,[35,0,[\\\"base\\\"]]],[2,\\\" !important;\\\\n    border: 1px solid \\\"],[1,[35,0,[\\\"darker\\\"]]],[2,\\\" !important;\\\\n    text-align: center !important;\\\\n    line-height: 18px !important;\\\\n  }\\\\n\\\\n  .embercom-composer .composer-template-container ic-block a.intercom-h2b-button:hover {\\\\n    background-color:\\\"],[1,[35,0,[\\\"hover\\\"]]],[2,\\\" !important;\\\\n  }\\\\n\\\\n  .embercom-composer .composer-template-container .comment_header_td {\\\\n    background-color:\\\"],[1,[35,0,[\\\"base\\\"]]],[2,\\\" !important;\\\\n  }\\\\n\\\\n  .embercom-composer .composer-template-container .announcement h1,\\\\n  .embercom-composer .composer-template-container .announcement h1 a {\\\\n    color:\\\"],[1,[35,0,[\\\"base\\\"]]],[2,\\\" !important;\\\\n  }\\\\n\\\\n  .embercom-composer .composer-template-container .announcement .content-td ic-block a.intercom-h2b-button,\\\\n  .embercom-composer .composer-template-container .announcement .content-td ic-block a.intercom-h2b-button:link,\\\\n  .embercom-composer .composer-template-container .announcement .content-td ic-block a.intercom-h2b-button:visited\\\\n\\\\n  .embercom-composer .composer-template-container .company .content-td ic-block a.intercom-h2b-button,\\\\n  .embercom-composer .composer-template-container .company .content-td ic-block a.intercom-h2b-button:link,\\\\n  .embercom-composer .composer-template-container .company .content-td ic-block a.intercom-h2b-button:visited,\\\\n\\\\n  .embercom-composer .composer-template-container .personal .content-td ic-block a.intercom-h2b-button,\\\\n  .embercom-composer .composer-template-container .personal .content-td ic-block a.intercom-h2b-button:link,\\\\n  .embercom-composer .composer-template-container .personal .content-td ic-block a.intercom-h2b-button:visited {\\\\n    border: none !important;\\\\n    background-color:\\\"],[1,[35,0,[\\\"base\\\"]]],[2,\\\" !important;\\\\n  }\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"appColors\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/email/partials/-composer-app-styles.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"oXuL1GjS\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[15,0,[31,[\\\"intercom-launcher \\\",[30,[36,6],[[35,5]],null],\\\" \\\",[30,[36,3],[[35,4],\\\"o__preview\\\"],null],\\\" \\\",[30,[36,3],[[30,[36,2],[[35,1],[35,0]],null],\\\"o__preview-with-badge\\\"],null],\\\" test__messenger__launcher test__disable-preview\\\"]]],[15,\\\"onclick\\\",[30,[36,8],[[32,0],[35,7]],null]],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-launcher-open-icon\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-launcher-close-icon\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[35,1],[35,0]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-launcher-badge test__messenger__launcher-badge\\\"],[12],[2,\\\"1\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"previewSnippet\\\",\\\"previewBadge\\\",\\\"or\\\",\\\"if\\\",\\\"deliveryPreviewEnabled\\\",\\\"deviceType\\\",\\\"mobile-device-class\\\",\\\"disableDeliveryPreview\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/-badge.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"xtBp76Ik\",\"block\":\"{\\\"symbols\\\":[\\\"reactionWithDisplay\\\"],\\\"statements\\\":[[6,[37,10],[[35,15]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"intercom-reaction-picker \\\",[30,[36,6],[[35,7],\\\"o__web\\\"],null],\\\" \\\",[30,[36,6],[[35,0],\\\"o__preview\\\"],null],\\\" test__messenger__reaction-picker\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,13],[[30,[36,12],[[30,[36,12],[[35,11]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"content-editor/panels/content/reactions/picker-opener\\\",[],[[\\\"@reactionIndex\\\",\\\"@isDisabled\\\",\\\"@canDelete\\\",\\\"@updateReaction\\\",\\\"@deleteReaction\\\"],[[32,1,[\\\"index\\\"]],[34,0],[34,9],[34,2],[34,1]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[15,0,[31,[\\\"intercom-reaction \\\",[30,[36,10],[[35,0],\\\"o__editable\\\"],null],\\\" \\\",[30,[36,6],[[35,7],\\\"o__web\\\"],null],\\\" \\\",[30,[36,6],[[30,[36,5],[[35,4],[35,3]],null],\\\"o__mobile_post\\\"],null],\\\" test__messenger__reaction\\\"]]],[12],[2,\\\"\\\\n          \\\"],[1,[32,1,[\\\"display\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"],[6,[37,6],[[35,14]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"content-editor/panels/content/reactions/picker-opener\\\",[[24,0,\\\"intercom-reaction-picker-add-reaction\\\"]],[[\\\"@isDisabled\\\",\\\"@canDelete\\\",\\\"@deleteReaction\\\",\\\"@updateReaction\\\"],[[34,0],false,[34,1],[34,2]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[15,0,[31,[\\\"intercom-reaction o__insert o__editable \\\",[30,[36,6],[[35,7],\\\"o__web\\\"],null],\\\" \\\",[30,[36,6],[[30,[36,5],[[35,4],[35,3]],null],\\\"o__mobile_post\\\"],null],\\\" test__messenger__reaction\\\"]]],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"intercom-reaction-picker-plus\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,8],[\\\"new\\\"],[[\\\"size\\\",\\\"color\\\",\\\"solo\\\"],[24,\\\"gray\\\",true]]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"deliveryPreviewEnabled\\\",\\\"deleteReaction\\\",\\\"updateReaction\\\",\\\"isPost\\\",\\\"isMobile\\\",\\\"and\\\",\\\"if\\\",\\\"isWeb\\\",\\\"ic-interface-icon\\\",\\\"canHaveLessReactions\\\",\\\"unless\\\",\\\"reactionsWithDisplay\\\",\\\"-track-array\\\",\\\"each\\\",\\\"shouldShowReactionAdder\\\",\\\"isChat\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/-reaction-picker.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Xda4mut4\",\"block\":\"{\\\"symbols\\\":[\\\"replyOption\\\",\\\"&default\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"mobile__messenger mobile__chat-android o__chat\\\"],[12],[2,\\\"\\\\n  \\\"],[19,\\\"components/message-editor/content/in-app/partials/mobile/mobile-header\\\",[]],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"mobile__chat-android__content\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"mobile__messenger__chat-content-container\\\"],[12],[2,\\\"\\\\n      \\\"],[18,2,null],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,4]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"img\\\"],[15,\\\"src\\\",[31,[[34,4]]]],[14,0,\\\"mobile__messenger__chat-avatar\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,6]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-chat-snippet-reply-options\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[35,1]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-chat-snippet-reply-option\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[30,[36,0],[[32,1],\\\"Reply button\\\"],null]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[19,\\\"components/message-editor/content/in-app/partials/mobile/mobile-footer\\\",[]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"or\\\",\\\"replyOptions\\\",\\\"-track-array\\\",\\\"each\\\",\\\"adminAvatarUrl\\\",\\\"if\\\",\\\"hasReplyOptions\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/android/-chat.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"W3uxrHl9\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"mobile__messenger__device-shell o__android\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"mobile__messenger__device-shell-container o__visible test__messenger__mobile__device-shell-container\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,9],[\\\"mobile/android/shell\\\"],null]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"mobile__messenger__device-screen o__android o__preview \\\",[30,[36,1],[[35,2],\\\"mobile__note-android__screen\\\"],null]]]],[12],[2,\\\"\\\\n    \\\"],[10,\\\"img\\\"],[14,0,\\\"mobile__messenger__device-header\\\"],[14,\\\"src\\\",\\\"/assets/images/message-editor/mobile/android/android-header@2x.png\\\"],[14,\\\"width\\\",\\\"360px\\\"],[14,\\\"height\\\",\\\"80px\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"mobile__messenger__device-body o__android\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"img\\\"],[14,0,\\\"mobile__messenger__device-footer\\\"],[14,\\\"src\\\",\\\"/assets/images/message-editor/mobile/android/android-footer@2x.png\\\"],[14,\\\"width\\\",\\\"360px\\\"],[14,\\\"height\\\",\\\"48px\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"mobile__messenger__content-viewport o__android \\\",[30,[36,1],[[35,11],\\\"o__preview u__hidden-scrollbar\\\"],null],\\\" test__messenger__mobile__content-viewport test__messenger__mobile__\\\",[34,10],\\\"-android\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,12]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[19,\\\"components/message-editor/content/in-app/partials/badge\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[35,4]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,1],[[30,[36,8],[[35,3],[35,7]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[19,\\\"components/message-editor/content/in-app/partials/mobile/snippet-mobile-chat\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[19,\\\"components/message-editor/content/in-app/partials/android/chat\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[30,[36,6],[[30,[36,5],[[35,4]],null],[35,3]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[19,\\\"components/message-editor/content/in-app/partials/mobile/snippet-mobile\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[35,2]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[19,\\\"components/message-editor/content/in-app/partials/android/note\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[35,0]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[19,\\\"components/message-editor/content/in-app/partials/android/post\\\",[]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"isPost\\\",\\\"if\\\",\\\"isNote\\\",\\\"previewSnippet\\\",\\\"isChat\\\",\\\"not\\\",\\\"and\\\",\\\"previewFull\\\",\\\"or\\\",\\\"inline-svg\\\",\\\"messageStyleName\\\",\\\"deliveryPreviewEnabled\\\",\\\"previewBadge\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/android/-messenger.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"sjSOB7jL\",\"block\":\"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"mobile__note-android__overlay\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"mobile__messenger mobile__note-android o__note \\\",[30,[36,1],[[35,0],\\\"o__preview\\\"],null],\\\" test__disable-preview\\\"]]],[15,\\\"onclick\\\",[30,[36,3],[[32,0],[35,2]],null]],[12],[2,\\\"\\\\n    \\\"],[19,\\\"components/message-editor/content/in-app/partials/mobile/mobile-header\\\",[]],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"mobile__note-android__content test__messenger__mobile__note-android__content \\\",[30,[36,1],[[35,0],\\\"o__preview u__hidden-scrollbar\\\"],null],\\\" test__messenger__body__full\\\"]]],[12],[2,\\\"\\\\n      \\\"],[18,1,null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[19,\\\"components/message-editor/content/in-app/partials/mobile/mobile-footer\\\",[]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"deliveryPreviewEnabled\\\",\\\"if\\\",\\\"disableDeliveryPreview\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/android/-note.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"MYQUI7Ah\",\"block\":\"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[15,0,[31,[\\\"mobile__messenger mobile__post-android o__post \\\",[30,[36,1],[[35,0],\\\"o__preview\\\"],null],\\\" test__disable-preview\\\"]]],[15,\\\"onclick\\\",[30,[36,3],[[32,0],[35,2]],null]],[12],[2,\\\"\\\\n  \\\"],[19,\\\"components/message-editor/content/in-app/partials/mobile/mobile-header\\\",[]],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"mobile__post-android__content test__messenger__mobile__post-android__content \\\",[30,[36,1],[[35,0],\\\"o__preview\\\"],null],\\\" test__messenger__body__full\\\"]]],[12],[2,\\\"\\\\n    \\\"],[18,1,null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[19,\\\"components/message-editor/content/in-app/partials/mobile/mobile-footer\\\",[]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"deliveryPreviewEnabled\\\",\\\"if\\\",\\\"disableDeliveryPreview\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/android/-post.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"k5gNQ5od\",\"block\":\"{\\\"symbols\\\":[\\\"replyOption\\\",\\\"&default\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"mobile__messenger mobile__chat-ios o__chat\\\"],[12],[2,\\\"\\\\n  \\\"],[19,\\\"components/message-editor/content/in-app/partials/mobile/mobile-header\\\",[]],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"mobile__chat-ios__content o__with-visible-app-overlay\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"mobile__messenger__chat-content-container\\\"],[12],[2,\\\"\\\\n      \\\"],[18,2,null],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,4]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"img\\\"],[15,\\\"src\\\",[31,[[34,4]]]],[14,0,\\\"mobile__messenger__chat-avatar\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,6]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-chat-snippet-reply-options\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[35,1]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-chat-snippet-reply-option\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[30,[36,0],[[32,1],\\\"Reply button\\\"],null]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[19,\\\"components/message-editor/content/in-app/partials/mobile/mobile-footer\\\",[]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"or\\\",\\\"replyOptions\\\",\\\"-track-array\\\",\\\"each\\\",\\\"adminAvatarUrl\\\",\\\"if\\\",\\\"hasReplyOptions\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/ios/-chat.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"yN2EVW0+\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"mobile__messenger__device-shell o__ios\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"mobile__messenger__device-shell-container o__visible test__messenger__mobile__device-shell-container\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,10],[\\\"mobile/ios/shell\\\"],null]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"mobile__messenger__device-screen o__ios o__preview\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"img\\\"],[14,0,\\\"mobile__messenger__device-header\\\"],[14,\\\"src\\\",\\\"/assets/images/message-editor/mobile/ios/ios-header@2x.png\\\"],[14,\\\"width\\\",\\\"375px\\\"],[14,\\\"height\\\",\\\"64px\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"mobile__messenger__device-body o__ios\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"img\\\"],[14,0,\\\"mobile__messenger__device-footer\\\"],[14,\\\"src\\\",\\\"/assets/images/message-editor/mobile/ios/ios-footer@2x.png\\\"],[14,\\\"width\\\",\\\"375px\\\"],[14,\\\"height\\\",\\\"49px\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,4]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"mobile__chat-ios__app-overlay \\\",[30,[36,1],[[35,9],\\\"u__hidden\\\"],null]]]],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"mobile__chat-ios__app-background\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"mobile__messenger__content-viewport o__ios \\\",[30,[36,12],[[35,11]],null],\\\" \\\",[30,[36,1],[[35,9],\\\"u__hidden-scrollbar o__preview\\\",\\\"o__with-visible-app-overlay\\\"],null],\\\" test__messenger__mobile__content-viewport test__messenger__mobile__\\\",[34,11],\\\"-ios\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,13]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[19,\\\"components/message-editor/content/in-app/partials/badge\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[35,4]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,1],[[30,[36,8],[[35,3],[35,7]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[19,\\\"components/message-editor/content/in-app/partials/mobile/snippet-mobile-chat\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[19,\\\"components/message-editor/content/in-app/partials/ios/chat\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[30,[36,6],[[30,[36,5],[[35,4]],null],[35,3]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[19,\\\"components/message-editor/content/in-app/partials/mobile/snippet-mobile\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[35,2]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[19,\\\"components/message-editor/content/in-app/partials/ios/note\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[35,0]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[19,\\\"components/message-editor/content/in-app/partials/ios/post\\\",[]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"isPost\\\",\\\"if\\\",\\\"isNote\\\",\\\"previewSnippet\\\",\\\"isChat\\\",\\\"not\\\",\\\"and\\\",\\\"previewFull\\\",\\\"or\\\",\\\"deliveryPreviewEnabled\\\",\\\"inline-svg\\\",\\\"messageStyleName\\\",\\\"message-style-class\\\",\\\"previewBadge\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/ios/-messenger.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Dd/XFDVY\",\"block\":\"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"mobile__note-ios__overlay\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"mobile__messenger mobile__note-ios o__note \\\",[30,[36,1],[[35,0],\\\"o__preview\\\"],null],\\\" test__disable-preview\\\"]]],[15,\\\"onclick\\\",[30,[36,3],[[32,0],[35,2]],null]],[12],[2,\\\"\\\\n    \\\"],[19,\\\"components/message-editor/content/in-app/partials/mobile/mobile-header\\\",[]],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"mobile__note-ios__content test__messenger__mobile__note-ios__content \\\",[30,[36,1],[[35,0],\\\"o__preview u__hidden-scrollbar\\\"],null],\\\" test__messenger__body__full\\\"]]],[12],[2,\\\"\\\\n      \\\"],[18,1,null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[19,\\\"components/message-editor/content/in-app/partials/mobile/mobile-footer\\\",[]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"deliveryPreviewEnabled\\\",\\\"if\\\",\\\"disableDeliveryPreview\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/ios/-note.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"PtWCvY/g\",\"block\":\"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[15,0,[31,[\\\"mobile__messenger mobile__post-ios o__post \\\",[30,[36,1],[[35,0],\\\"o__preview\\\"],null],\\\" test__disable-preview\\\"]]],[15,\\\"onclick\\\",[30,[36,3],[[32,0],[35,2]],null]],[12],[2,\\\"\\\\n  \\\"],[19,\\\"components/message-editor/content/in-app/partials/mobile/mobile-header\\\",[]],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"mobile__post-ios__content test__messenger__mobile__post-ios__content test__messenger__body__full\\\"],[12],[2,\\\"\\\\n    \\\"],[18,1,null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[19,\\\"components/message-editor/content/in-app/partials/mobile/mobile-footer\\\",[]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"deliveryPreviewEnabled\\\",\\\"if\\\",\\\"disableDeliveryPreview\\\",\\\"action\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/ios/-post.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"tYOJr8Zr\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[15,0,[31,[\\\"mobile__messenger__reply-bar \\\",[30,[36,2],[[35,10],\\\"o__reactions\\\"],null],\\\" \\\",[30,[36,9],[[35,8]],null],\\\" \\\",[30,[36,7],[[35,6]],null]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,10]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[19,\\\"components/message-editor/content/in-app/partials/reaction-picker\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[30,[36,5],[[35,4],[35,3]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"span\\\"],[14,0,\\\"mobile__messenger__ios-camera u__left\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,0],[\\\"mobile/ios/camera\\\"],null]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"span\\\"],[15,0,[31,[\\\"mobile__messenger__reply-text \\\",[30,[36,2],[[35,1],\\\"o__post\\\"],null],\\\" test__messenger__composer__write-reply\\\"]]],[12],[2,\\\"Write a reply…\\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,4]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"span\\\"],[15,0,[31,[\\\"mobile__messenger__reply-text \\\",[30,[36,2],[[35,1],\\\"o__post\\\"],null],\\\" o__send u__right\\\"]]],[12],[2,\\\"Send\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"span\\\"],[14,0,\\\"mobile__messenger__reply-text u__right\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,0],[\\\"mobile/android/attachment\\\"],null]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"inline-svg\\\",\\\"isPost\\\",\\\"if\\\",\\\"isChat\\\",\\\"isIos\\\",\\\"and\\\",\\\"messageStyleName\\\",\\\"message-style-class\\\",\\\"deviceType\\\",\\\"mobile-device-class\\\",\\\"isReactionsReply\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/mobile/-mobile-footer.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"GDb+V3eG\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[15,0,[31,[\\\"mobile-messenger__header \\\",[30,[36,10],[[35,5]],null],\\\" \\\",[30,[36,9],[[35,8]],null]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,11]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"mobile-messenger__navigation-text o__back\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,3]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[1,[30,[36,7],[\\\"mobile/android/phone-back\\\"],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[1,[30,[36,7],[\\\"mobile/ios/phone-back\\\"],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"mobile-messenger__header__from \\\",[30,[36,10],[[35,5]],null],\\\" \\\",[30,[36,9],[[35,8]],null],\\\" test__messenger__mobile__admin-avatar\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,4]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"img\\\"],[15,\\\"src\\\",[31,[[34,4]]]],[15,0,[31,[\\\"mobile-messenger__from-avatar \\\",[30,[36,1],[[35,6],\\\"o__post\\\"],null],\\\" test__messenger__\\\",[34,5],\\\"__admin-avatar\\\"]]],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__truncate test__header-summary-from\\\"],[12],[10,\\\"span\\\"],[15,0,[31,[\\\"test__messenger__\\\",[34,5],\\\"__name\\\"]]],[12],[1,[34,12]],[13],[2,\\\" \\\"],[10,\\\"span\\\"],[15,0,[31,[\\\"test__messenger__\\\",[34,5],\\\"__app-name\\\"]]],[12],[2,\\\"from \\\"],[1,[34,13]],[13],[13],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[15,0,[31,[\\\"mobile-messenger__header-last-seen \\\",[30,[36,10],[[35,5]],null],\\\" \\\",[30,[36,9],[[35,8]],null]]]],[12],[1,[34,14]],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,1],[[30,[36,15],[[35,2],[35,11]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"mobile-messenger__navigation-text o__close\\\"],[12],[2,\\\"Close\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"span\\\"],[15,0,[31,[\\\"mobile__ios-android-icons \\\",[30,[36,1],[[35,3],\\\"o__android-close\\\"],null],\\\" \\\",[30,[36,1],[[35,2],\\\"o__ios-close\\\"],null],\\\" \\\",[30,[36,1],[[35,0],\\\"o__note\\\"],null]]]],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"isNote\\\",\\\"if\\\",\\\"isIos\\\",\\\"isAndroid\\\",\\\"adminAvatarUrl\\\",\\\"deviceType\\\",\\\"isPost\\\",\\\"inline-svg\\\",\\\"messageStyleName\\\",\\\"message-style-class\\\",\\\"mobile-device-class\\\",\\\"isChat\\\",\\\"displayName\\\",\\\"appName\\\",\\\"lastActiveString\\\",\\\"and\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/mobile/-mobile-header.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"JeYTrH1t\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"snippet-mobile-chat-container test__disable-preview\\\"],[15,\\\"onclick\\\",[30,[36,6],[[32,0],[35,5]],null]],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,4]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"img\\\"],[15,\\\"src\\\",[31,[[34,4]]]],[14,0,\\\"snippet-mobile-chat-avatar test__messenger__mobile__snippet-chat-avatar\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"snippet-mobile-chat-avatar intercom-avatar-initial test__messenger__mobile__snippet-chat-avatar\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[34,3]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"snippet-mobile-chat test__messenger__mobile__snippet-chat\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"snippet-mobile-from u__truncate\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[34,7]],[2,\\\" from \\\"],[1,[34,8]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"snippet-mobile-chat-content \\\",[30,[36,10],[[35,9]],null]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,11]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"truncated-text\\\",[],[[\\\"@lines\\\"],[2]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[1,[34,0]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[35,1]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"truncated-text\\\",[],[[\\\"@lines\\\"],[25]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[1,[34,0]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"snippet-mobile-chat-caret\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,12],[\\\"mobile/mobile-chat-caret\\\"],null]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"combinedTextHtml\\\",\\\"previewFull\\\",\\\"if\\\",\\\"adminFirstInitial\\\",\\\"adminAvatarUrl\\\",\\\"disableDeliveryPreview\\\",\\\"action\\\",\\\"adminFirstName\\\",\\\"appName\\\",\\\"deviceType\\\",\\\"mobile-device-class\\\",\\\"previewSnippet\\\",\\\"inline-svg\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/mobile/-snippet-mobile-chat.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"AS0YVDqO\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[15,0,[31,[\\\"snippet-mobile \\\",[30,[36,1],[[35,0]],null],\\\" \\\",[30,[36,5],[[35,4],\\\"o__preview\\\"],null],\\\" test__disable-preview test__messenger__mobile__snippet\\\"]]],[15,\\\"onclick\\\",[30,[36,7],[[32,0],[35,6]],null]],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[35,3]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"snippet-mobile-intercom-avatar \\\",[30,[36,1],[[35,0]],null]]]],[12],[2,\\\"\\\\n      \\\"],[10,\\\"img\\\"],[15,\\\"src\\\",[31,[[34,3]]]],[12],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"intercom-avatar-initial snippet-mobile-intercom-avatar \\\",[30,[36,1],[[35,0]],null]]]],[12],[2,\\\"\\\\n      \\\"],[1,[34,2]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"snippet-mobile-content \\\",[30,[36,1],[[35,0]],null]]]],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"snippet-mobile-from u__truncate\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[34,8]],[2,\\\" from \\\"],[1,[34,9]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[8,\\\"truncated-text\\\",[],[[\\\"@lines\\\"],[2]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[1,[34,10]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"deviceType\\\",\\\"mobile-device-class\\\",\\\"adminFirstInitial\\\",\\\"adminAvatarUrl\\\",\\\"deliveryPreviewEnabled\\\",\\\"if\\\",\\\"disableDeliveryPreview\\\",\\\"action\\\",\\\"adminFirstName\\\",\\\"appName\\\",\\\"combinedTextHtml\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/mobile/-snippet-mobile.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"5LKrbHCm\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"intercom-author-summary\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-author-summary-name-from test__header-summary-from\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"intercom-author-summary-name test__messenger__web__name\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[30,[36,7],[[30,[36,6],[[30,[36,5],[[35,4]],null],[35,3,[\\\"dynamicSender\\\"]]],null],\\\"Owner\\\",[35,2]],null]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,9],[[35,8]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"span\\\"],[14,0,\\\"intercom-author-summary-from-clause test__messenger__web__app-name\\\"],[12],[2,\\\"\\\\n        from \\\"],[1,[34,1]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,9],[[30,[36,12],[[35,11],[35,10]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-author-last-active\\\"],[12],[1,[34,0]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"lastActiveString\\\",\\\"appName\\\",\\\"displayName\\\",\\\"variation\\\",\\\"dataPreviewEnabled\\\",\\\"not\\\",\\\"and\\\",\\\"if\\\",\\\"isFromTeam\\\",\\\"unless\\\",\\\"isChat\\\",\\\"previewSnippet\\\",\\\"or\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/web/-author-summary.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"juX3isA3\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,6],[[35,12]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"message-editor/content/in-app/team-avatar\\\",[],[[\\\"@team\\\",\\\"@appColor\\\"],[[34,10],[34,11]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,6],[[30,[36,5],[[30,[36,9],[[35,8]],null],[35,2,[\\\"dynamicSender\\\"]]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,7],null,[[\\\"size\\\"],[\\\"m\\\"]]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,6],[[30,[36,5],[[35,1],[35,4,[\\\"has_photo_avatar\\\"]]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-avatar\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"img\\\"],[14,0,\\\"test__messenger__web__admin-avatar\\\"],[15,\\\"src\\\",[31,[[30,[36,3],[[35,2,[\\\"dynamicSender\\\"]],[35,1]],null]]]],[12],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-avatar intercom-avatar-initial intercom-team-avatar-large test__messenger__web__admin-initial\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[34,0]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"adminFirstInitial\\\",\\\"adminAvatarUrl\\\",\\\"variation\\\",\\\"unless\\\",\\\"from\\\",\\\"and\\\",\\\"if\\\",\\\"ic-avatar\\\",\\\"dataPreviewEnabled\\\",\\\"not\\\",\\\"team\\\",\\\"appBaseColor\\\",\\\"isFromTeam\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/web/-avatar.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"7DFl/nin\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,3],[[35,4]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"span\\\"],[14,0,\\\"intercom-composer-placeholder test__messenger__composer__chat-reply\\\"],[12],[2,\\\"\\\\n    Reply to \\\"],[1,[30,[36,3],[[35,2],[35,1],[35,0]],null]],[2,\\\"...\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"span\\\"],[14,0,\\\"intercom-composer-write-reply test__messenger__composer__write-reply\\\"],[12],[2,\\\"\\\\n    Write a reply...\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[10,\\\"span\\\"],[14,0,\\\"intercom-composer-emoji-button test__messenger__emoji-button\\\"],[12],[13],[2,\\\"\\\\n\\\"],[10,\\\"span\\\"],[14,0,\\\"intercom-composer-upload-button test__messenger__upload-button\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"adminFirstName\\\",\\\"adminName\\\",\\\"isFromTeam\\\",\\\"if\\\",\\\"isChat\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/web/-composer.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"9o+0Fb0M\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"intercom-attribute-collector-card\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-attribute-collector-card-body\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-attribute-collector-card-attribute\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-text-input\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"input\\\"],[14,2,\\\"email@example.com\\\"],[14,\\\"disabled\\\",\\\"\\\"],[14,4,\\\"text\\\"],[12],[13],[2,\\\"\\\\n        \\\"],[10,\\\"button\\\"],[14,0,\\\"intercom-text-input-submit-button\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/web/-email-collector.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"6t9Xfw9t\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[15,0,[31,[\\\"message__editor__chrome__container web-chrome__container \\\",[30,[36,6],[[35,5]],null]]]],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"web-chrome__browser-header layout__box o__has-columns\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"img\\\"],[14,\\\"src\\\",\\\"/assets/images/message-editor/chrome-browser-header-left@2x.png\\\"],[14,\\\"height\\\",\\\"74px\\\"],[14,\\\"width\\\",\\\"357px\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"img\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[14,\\\"src\\\",\\\"/assets/images/message-editor/chrome-browser-header-middle@2x.png\\\"],[14,\\\"height\\\",\\\"74px\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"img\\\"],[14,\\\"src\\\",\\\"/assets/images/message-editor/chrome-browser-header-right@2x.png\\\"],[14,\\\"height\\\",\\\"74px\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"web-chrome__app-name u__truncate\\\"],[12],[1,[34,9]],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"u__relative\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"web-chrome__app-nav layout__box o__has-columns\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"img\\\"],[14,\\\"src\\\",\\\"/assets/images/message-editor/chrome-app-nav-left@2x.png\\\"],[14,\\\"height\\\",\\\"51px\\\"],[14,\\\"width\\\",\\\"357px\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"img\\\"],[14,0,\\\"layout__box o__flexes-to-1\\\"],[14,\\\"src\\\",\\\"/assets/images/message-editor/chrome-app-nav-middle@2x.png\\\"],[14,\\\"height\\\",\\\"51px\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"img\\\"],[14,\\\"src\\\",\\\"/assets/images/message-editor/chrome-app-nav-right@2x.png\\\"],[14,\\\"height\\\",\\\"51px\\\"],[14,\\\"width\\\",\\\"37px\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"web-chrome__app-body\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"web-chrome__messenger-container\\\"],[12],[2,\\\"\\\\n\\\\n\\\"],[6,[37,1],[[35,10]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[19,\\\"components/message-editor/content/in-app/partials/badge\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[35,8]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,1],[[35,3]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/chat/snippet\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/snippet\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"test__messenger-container web-chrome__messenger-preview-container \\\",[30,[36,6],[[35,5]],null]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,7]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/note/full\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[35,4]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/post/full\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[35,3]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/chat/full\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[35,2]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/video/full\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[35,0]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/pointer/full\\\",[]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"isPointer\\\",\\\"if\\\",\\\"isVideo\\\",\\\"isChat\\\",\\\"isPost\\\",\\\"messageStyleName\\\",\\\"message-style-class\\\",\\\"isNote\\\",\\\"previewSnippet\\\",\\\"appName\\\",\\\"previewBadge\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/web/-messenger.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"3ipusz5M\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[15,0,[31,[\\\"intercom-snippet test__messenger__snippet__\\\",[34,0],\\\" test__disable-preview\\\"]]],[15,\\\"onclick\\\",[30,[36,2],[[32,0],[35,1]],null]],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-authored-container\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-authored-container-top\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-authored-container-avatar\\\"],[12],[2,\\\"\\\\n        \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/avatar\\\",[]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/author-summary\\\",[]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-authored-container-bottom\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-snippet-body\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"truncated-text\\\",[],[[\\\"@lines\\\"],[2]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"intercom-text-summary\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[34,3]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[19,\\\"components/message-editor/content/in-app/partials/badge\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"messageStyleName\\\",\\\"disableDeliveryPreview\\\",\\\"action\\\",\\\"combinedTextHtml\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/web/-snippet.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"O0dc9A4P\",\"block\":\"{\\\"symbols\\\":[\\\"replyOption\\\",\\\"&default\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[15,0,[31,[\\\"intercom-chat \\\",[30,[36,1],[[35,7],\\\"o__preview test__messenger__preview__chat test__disable-preview\\\"],null]]]],[15,\\\"onclick\\\",[30,[36,9],[[32,0],[35,8]],null]],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-chat-card\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-chat-avatar\\\"],[12],[2,\\\"\\\\n      \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/avatar\\\",[]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-chat-author\\\"],[12],[2,\\\"\\\\n      \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/author-summary\\\",[]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"intercom-chat-body \\\",[30,[36,1],[[35,10],\\\"o__preview\\\"],null],\\\" test__messenger__body__full\\\"]]],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,1,\\\"intercom-embed-container\\\"],[14,0,\\\"intercom-blocks intercom-embed-chat test__messenger__embed__chat\\\"],[12],[2,\\\"\\\\n        \\\"],[18,2,null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,1],[[35,11]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/email-collector\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[35,6]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-chat-snippet-reply-options\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[30,[36,4],[[30,[36,4],[[35,3]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-chat-snippet-reply-option\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,2],[[32,1],\\\"Reply button\\\"],null]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-chat-composer test__messenger__chat__composer\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,0]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[19,\\\"components/message-editor/content/in-app/partials/reaction-picker\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/composer\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[19,\\\"components/message-editor/content/in-app/partials/badge\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"isReactionsReply\\\",\\\"if\\\",\\\"or\\\",\\\"replyOptions\\\",\\\"-track-array\\\",\\\"each\\\",\\\"hasReplyOptions\\\",\\\"deliveryPreviewEnabled\\\",\\\"disableDeliveryPreview\\\",\\\"action\\\",\\\"previewFull\\\",\\\"isAttributeCollectorReply\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/web/chat/-full.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"sQcDjGqI\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"intercom-snippet-preview layout__box o__has-columns\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"intercom-snippet intercom-chat-snippet layout__box o__centers-all \\\",[30,[36,1],[[35,0],\\\"o__with-reply-options\\\"],null],\\\" test__messenger__snippet__chat test__disable-preview\\\"]]],[15,\\\"onclick\\\",[30,[36,3],[[32,0],[35,2]],null]],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"intercom-chat-snippet-avatar \\\",[30,[36,1],[[35,4],\\\"o__with-team\\\"],null],\\\" \\\",[30,[36,1],[[35,0],\\\"o__with-reply-options\\\"],null]]]],[12],[2,\\\"\\\\n      \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/avatar\\\",[]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-chat-snippet-stream\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-chat-snippet-card\\\"],[12],[2,\\\"\\\\n        \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/author-summary\\\",[]],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-snippet-body intercom-chat-snippet-body\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"truncated-text\\\",[],[[\\\"@lines\\\"],[2]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"intercom-text-summary\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[34,5]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[19,\\\"components/message-editor/content/in-app/partials/badge\\\",[]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"hasReplyOptions\\\",\\\"if\\\",\\\"disableDeliveryPreview\\\",\\\"action\\\",\\\"isFromTeam\\\",\\\"combinedTextHtml\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/web/chat/-snippet.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"NKGUBIPu\",\"block\":\"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[15,0,[31,[\\\"intercom-note \\\",[30,[36,1],[[35,0],\\\"o__preview\\\"],null],\\\" test__disable-preview\\\"]]],[15,\\\"onclick\\\",[30,[36,3],[[32,0],[35,2]],null]],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-authored-container\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-authored-container-top\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-authored-container-avatar\\\"],[12],[2,\\\"\\\\n        \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/avatar\\\",[]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/author-summary\\\",[]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-authored-container-bottom\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"intercom-note-close\\\"],[12],[2,\\\" \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"intercom-note-body \\\",[30,[36,1],[[35,4],\\\"o__preview\\\"],null],\\\" test__messenger__body__full\\\"]]],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,1,\\\"intercom-embed-container\\\"],[14,0,\\\"intercom-blocks intercom-embed-note test__messenger__embed__note\\\"],[12],[2,\\\"\\\\n          \\\"],[18,1,null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-note-footer intercom-note-footer-visible\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,5]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[19,\\\"components/message-editor/content/in-app/partials/reaction-picker\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-note-composer\\\"],[12],[2,\\\"\\\\n            \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/composer\\\",[]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[19,\\\"components/message-editor/content/in-app/partials/badge\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"deliveryPreviewEnabled\\\",\\\"if\\\",\\\"disableDeliveryPreview\\\",\\\"action\\\",\\\"previewFull\\\",\\\"isReactionsReply\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/web/note/-full.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"vylK2eiH\",\"block\":\"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[15,0,[31,[\\\"intercom-pointer \\\",[30,[36,2],[[35,3],\\\"o__preview\\\"],null],\\\" test__disable-preview\\\"]]],[15,\\\"onclick\\\",[30,[36,5],[[32,0],[35,4]],null]],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-authored-container\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-authored-container-top\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-authored-container-avatar\\\"],[12],[2,\\\"\\\\n        \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/avatar\\\",[]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/author-summary\\\",[]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-authored-container-bottom\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"intercom-pointer-close\\\"],[12],[2,\\\" \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"intercom-pointer-body \\\",[30,[36,2],[[35,6],\\\"o__preview\\\"],null]]]],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,1,\\\"intercom-embed-container\\\"],[14,0,\\\"intercom-blocks intercom-embed-pointer test__messenger__embed__pointer\\\"],[12],[2,\\\"\\\\n          \\\"],[18,1,null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-pointer-footer intercom-pointer-footer-visible\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,7]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[19,\\\"components/message-editor/content/in-app/partials/reaction-picker\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[35,1]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-pointer-composer\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-composer-placeholder-icon\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[30,[36,0],[\\\"chat-bubble\\\"],null]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"intercom-composer-placeholder\\\"],[12],[2,\\\"Start a conversation\\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-pointer-arrow\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[19,\\\"components/message-editor/content/in-app/partials/badge\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"ic-interface-icon\\\",\\\"isTextReply\\\",\\\"if\\\",\\\"deliveryPreviewEnabled\\\",\\\"disableDeliveryPreview\\\",\\\"action\\\",\\\"previewFull\\\",\\\"isReactionsReply\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/web/pointer/-full.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"cSUsktYF\",\"block\":\"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"intercom-modal-overlay\\\"],[12],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-overlay\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-overlay-inner\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"intercom-post \\\",[30,[36,1],[[35,0],\\\"o__preview\\\"],null],\\\" test__disable-preview\\\"]]],[15,\\\"onclick\\\",[30,[36,3],[[32,0],[35,2]],null]],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-authored-container\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-authored-container-top\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-authored-container-avatar\\\"],[12],[2,\\\"\\\\n            \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/avatar\\\",[]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/author-summary\\\",[]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-authored-container-bottom\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"intercom-post-close\\\"],[12],[2,\\\" \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-post-body\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,1,\\\"intercom-embed-container\\\"],[14,0,\\\"intercom-blocks intercom-embed-post test__messenger__embed__post\\\"],[12],[2,\\\"\\\\n              \\\"],[18,1,null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-post-footer intercom-post-footer-visible\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,4]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[19,\\\"components/message-editor/content/in-app/partials/reaction-picker\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"div\\\"],[14,0,\\\"intercom-post-composer\\\"],[12],[2,\\\"\\\\n                \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/composer\\\",[]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"deliveryPreviewEnabled\\\",\\\"if\\\",\\\"disableDeliveryPreview\\\",\\\"action\\\",\\\"isReactionsReply\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/web/post/-full.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"P+HNmRfQ\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[15,0,[31,[\\\"message__editor__video \\\",[30,[36,1],[[35,0],\\\"o__preview test__messenger__preview__video test__disable-preview\\\"],null]]]],[15,\\\"onclick\\\",[30,[36,3],[[32,0],[35,2]],null]],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[[30,[36,5],[[35,4],\\\"message__editor__video__card\\\"],null],\\\" text-white\\\"]]],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"message__editor__video__card-screen\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,4]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/video/video-preview\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/video/no-video-content\\\",[]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"message__editor__video__composer test__messenger__video__composer\\\"],[12],[2,\\\"\\\\n    \\\"],[19,\\\"components/message-editor/content/in-app/partials/web/composer\\\",[]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[19,\\\"components/message-editor/content/in-app/partials/badge\\\",[]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"deliveryPreviewEnabled\\\",\\\"if\\\",\\\"disableDeliveryPreview\\\",\\\"action\\\",\\\"hasVideoContent\\\",\\\"unless\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/web/video/-full.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"BOsIA5Vc\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"message__editor__video__no-video-content u__centered-text-block\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"h3\\\"],[14,0,\\\"t__h2 text-white\\\"],[12],[2,\\\"No Video Content\\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/web/video/-no-video-content.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"J1Hda/6J\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"video\\\"],[15,\\\"src\\\",[31,[[34,0]]]],[14,\\\"height\\\",\\\"420\\\"],[14,\\\"width\\\",\\\"300\\\"],[14,\\\"controls\\\",\\\"\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"u__centered-text-block message__editor__video__card-content\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[12],[2,\\\"Your browser does not support HTML5 video.\\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__padt__10\\\"],[12],[2,\\\"Here is a \\\"],[10,\\\"a\\\"],[15,6,[31,[[34,0]]]],[14,0,\\\"u__pointer-cursor\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[12],[2,\\\"link to the video\\\"],[13],[2,\\\" instead.\\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"videoUrl\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/in-app/partials/web/video/-video-preview.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"McoOqT5X\",\"block\":\"{\\\"symbols\\\":[\\\"item\\\",\\\"index\\\",\\\"paywall\\\"],\\\"statements\\\":[[11,\\\"span\\\"],[16,0,[31,[\\\"f__custom-select__box u__prevent-breaks u__cf \\\",[34,13],\\\" \\\",[30,[36,3],[[35,12],\\\"o__opened\\\"],null],\\\" test__message-editor__sender-assignee-dropdown__toggle\\\"]]],[4,[38,5],[[32,0],\\\"toggleOpenState\\\"],null],[12],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[14,0,\\\"u__left\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"message-editor/content/sidebar/sender-assignee-dropdown-item\\\",[],[[\\\"@model\\\"],[[34,4]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[14,0,\\\"f__custom-select__caret test__message-editor__sender-assignee-dropdown__icon\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,14],[[30,[36,3],[[35,12],\\\"small-up-arrow\\\",\\\"small-down-arrow\\\"],null]],null]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,3],[[35,12]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"dropdown overlay o__dropdown o__opened f__custom-select__dropdown z__1 test__message-editor__sender-assignee-dropdown__overlay\\\"],[15,5,[34,7]],[12],[2,\\\"\\\\n    \\\"],[8,\\\"ember-collection\\\",[],[[\\\"@items\\\",\\\"@cell-layout\\\"],[[34,8],[30,[36,11],[[35,10],[35,9]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,3],[[32,1,[\\\"isLabel\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"message__editor__content__sidebar__admin-selector__label-container\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,6],[[32,2],0],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[10,\\\"div\\\"],[14,0,\\\"t__label u__padl__20\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[32,1,[\\\"text\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"message__editor__content__sidebar__admin-selector__item-container\\\"],[15,5,[30,[36,3],[[30,[36,2],[[32,1,[\\\"isDynamicSender\\\"]],[30,[36,1],[[35,0,[\\\"hasDynamicAccountMessagesBillingFeature\\\"]]],null]],null],\\\"margin-right: 15px\\\"],null]],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"message__editor__content__sidebar__admin-selector__item\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"message-editor/content/sidebar/sender-assignee-dropdown-item\\\",[[24,0,\\\"overlay__list-item o__hoverable\\\"]],[[\\\"@model\\\",\\\"@selected\\\",\\\"@handleClick\\\",\\\"@disabled\\\"],[[32,1],[34,4],[30,[36,5],[[32,0],\\\"handleSelection\\\"],null],[30,[36,2],[[32,1,[\\\"isDynamicSender\\\"]],[30,[36,1],[[35,0,[\\\"hasDynamicAccountMessagesBillingFeature\\\"]]],null]],null]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[32,1,[\\\"isDynamicSender\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[\\\"account_marketing\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[10,\\\"span\\\"],[12],[13],[2,\\\"\\\\n              \\\"],[8,[32,3,[\\\"Badge\\\"]],[],[[],[]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[1,2]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"app\\\",\\\"not\\\",\\\"and\\\",\\\"if\\\",\\\"selected\\\",\\\"action\\\",\\\"not-eq\\\",\\\"overlayStyle\\\",\\\"items\\\",\\\"itemHeight\\\",\\\"itemWidth\\\",\\\"fixed-grid-layout\\\",\\\"isOpen\\\",\\\"additionalClasses\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/sidebar/sender-assignee-dropdown.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"5waTcDMh\",\"block\":\"{\\\"symbols\\\":[\\\"tab\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1 message__editor__stats__tab-container\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[30,[36,4],[[30,[36,4],[[35,3]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"message-editor/buttons/stats-tab-button\\\",[],[[\\\"@tab\\\",\\\"@variation\\\",\\\"@activeView\\\",\\\"@changeView\\\"],[[32,1],[34,0],[34,1],[34,2]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"variation\\\",\\\"activeView\\\",\\\"changeView\\\",\\\"tabs\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/message-editor/content/tabs-component.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"B8M4WFXD\",\"block\":\"{\\\"symbols\\\":[\\\"filter\\\",\\\"filter\\\",\\\"filter\\\",\\\"filter\\\",\\\"filter\\\",\\\"filter\\\",\\\"filter\\\",\\\"filter\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"message-edit__filter-search-input\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[14,0,\\\"text-gray m__message-audience-editor__filter-search-icon\\\"],[12],[1,[30,[36,12],[\\\"search\\\"],null]],[13],[2,\\\"\\\\n  \\\"],[8,\\\"input\\\",[[24,0,\\\"f__text m__message-audience-editor__filter-search-input test__attribute-selector__search\\\"]],[[\\\"@value\\\",\\\"@placeholder\\\"],[[34,23],\\\"Search for an attribute…\\\"]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,4],[[35,24]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,9],[[35,8]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner o__thin\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h4\\\"],[14,0,\\\"t__h3 test__campaign-type t__label\\\"],[12],[2,\\\"Campaign data\\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,2],[[30,[36,1],[[30,[36,1],[[35,18]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[19,\\\"apps/app/outbound/partials/message-filter-row\\\",[8]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[8]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner o__thin\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"h4\\\"],[14,0,\\\"t__h3 test__user-type t__label\\\"],[12],[1,[30,[36,20],[[35,19]],null]],[2,\\\" data\\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,2],[[30,[36,1],[[30,[36,1],[[35,21]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[19,\\\"apps/app/outbound/partials/message-filter-row\\\",[7]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[7]}]]],[2,\\\"\\\\n\\\"],[6,[37,9],[[35,22]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[30,[36,1],[[35,17]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[19,\\\"apps/app/outbound/partials/message-filter-row\\\",[6]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[6]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[11,\\\"a\\\"],[16,0,[31,[\\\"dropdown__list-item o__hoverable u__centered-text-block message__editor__audience__filter-expander-row twk__message-audience__filter-selector-row test__show-extra-user-filters \\\",[30,[36,4],[[35,22],\\\"o__minimized\\\"],null]]]],[4,[38,16],[[32,0],\\\"toggleShowExtraUserFilters\\\"],[[\\\"bubbles\\\"],[false]]],[12],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"t__label\\\"],[12],[6,[37,9],[[35,22]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[1,[30,[36,12],[\\\"up-arrow\\\"],null]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[1,[30,[36,12],[\\\"down-arrow\\\"],null]]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,9],[[35,11]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner o__thin\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h4\\\"],[14,0,\\\"t__h3 t__label\\\"],[12],[2,\\\"Company data\\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,2],[[30,[36,1],[[30,[36,1],[[35,14]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[19,\\\"apps/app/outbound/partials/message-filter-row\\\",[5]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"\\\\n\\\"],[6,[37,9],[[35,15]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[30,[36,1],[[35,13]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[19,\\\"apps/app/outbound/partials/message-filter-row\\\",[4]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[4]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[11,\\\"a\\\"],[16,0,[31,[\\\"dropdown__list-item o__hoverable u__centered-text-block message__editor__audience__filter-expander-row twk__message-audience__filter-selector-row test__show-extra-company-filters \\\",[30,[36,4],[[35,15],\\\"o__minimized\\\"],null]]]],[4,[38,16],[[32,0],\\\"toggleShowExtraCompanyFilters\\\"],[[\\\"bubbles\\\"],[false]]],[12],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"t__label\\\"],[12],[6,[37,9],[[35,15]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[1,[30,[36,12],[\\\"up-arrow\\\"],null]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[1,[30,[36,12],[\\\"down-arrow\\\"],null]]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,9],[[35,8]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner o__thin\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h4\\\"],[14,0,\\\"t__h3 test__campaign-type\\\"],[12],[2,\\\"Campaign data\\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,7]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[30,[36,1],[[35,6]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[19,\\\"apps/app/outbound/partials/message-filter-row\\\",[3]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[3]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner o__thin m__message-audience-editor__filter-search__no-results\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[14,0,\\\"t__label\\\"],[12],[2,\\\"No matching attributes\\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner o__thin\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"h4\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"User data\\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,10]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[30,[36,1],[[35,5]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[19,\\\"apps/app/outbound/partials/message-filter-row\\\",[2]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner o__thin m__message-audience-editor__filter-search__no-results\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"p\\\"],[14,0,\\\"t__label\\\"],[12],[2,\\\"No matching attributes\\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,9],[[35,11]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner o__thin\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"h4\\\"],[14,0,\\\"t__h3\\\"],[12],[2,\\\"Company data\\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,4],[[35,3]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[30,[36,1],[[35,0]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[19,\\\"apps/app/outbound/partials/message-filter-row\\\",[1]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"card__inner o__thin m__message-audience-editor__filter-search__no-results\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"p\\\"],[14,0,\\\"t__label\\\"],[12],[2,\\\"No matching attributes\\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"reducedCompanyFilters\\\",\\\"-track-array\\\",\\\"each\\\",\\\"reducedCompanyFiltersAreEmpty\\\",\\\"unless\\\",\\\"reducedUserFilters\\\",\\\"reducedCampaignFilters\\\",\\\"reducedCampaignFiltersAreEmpty\\\",\\\"hasCampaignFilters\\\",\\\"if\\\",\\\"reducedUserFiltersAreEmpty\\\",\\\"showCompanyFilters\\\",\\\"ic-interface-icon\\\",\\\"companyExtraFilters\\\",\\\"companyMainFilters\\\",\\\"showCompanyExtraFilters\\\",\\\"action\\\",\\\"userExtraFilters\\\",\\\"campaignFilters\\\",\\\"userType\\\",\\\"capitalize\\\",\\\"userMainFilters\\\",\\\"showUserExtraFilters\\\",\\\"filterSearchTerm\\\",\\\"hasSearchTerm\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/messages/partials/-attribute-selector-inner.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"aJm3BJbH\",\"block\":\"{\\\"symbols\\\":[\\\"paywall\\\",\\\"paywall\\\"],\\\"statements\\\":[[8,\\\"simple-composer-modal-component\\\",[],[[\\\"@closeModal\\\",\\\"@modalClass\\\"],[\\\"closeModal\\\",\\\"twk__simple-composer js__simple-composer\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"auto-focus-component\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header flex items-start\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__title flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"h2\\\"],[14,0,\\\"t__h2\\\"],[12],[2,\\\"\\\\n          New\\\\n\\\"],[6,[37,9],[[30,[36,8],[[35,7],1],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            conversation\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            message\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__header__close layout__box u__cf\\\"],[12],[2,\\\"\\\\n        \\\"],[11,\\\"a\\\"],[24,0,\\\"modal__header__close__link u__right js__close-button\\\"],[4,[38,1],[[32,0],\\\"closeModal\\\"],null],[12],[2,\\\"\\\\n          \\\"],[1,[30,[36,10],[\\\"close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__body o__has-top-border o__no-footer\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"simple-composer__content-header\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"simple-composer-audience-component\\\",[],[[\\\"@isEmailMessage\\\",\\\"@selectedCount\\\",\\\"@users\\\"],[[32,0,[\\\"isEmailMessage\\\"]],[34,7],[34,11]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,9],[[35,12]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"input\\\",[[24,0,\\\"simple-composer__input f__text\\\"],[24,\\\"placeholder\\\",\\\"Enter email subject\\\"]],[[\\\"@value\\\"],[[34,6]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"simple-composer__content-body\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"simple-composer__container\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"composer-v2\\\",[[24,0,\\\"simple-composer__content\\\"]],[[\\\"@app\\\",\\\"@actionReceiver\\\",\\\"@preset\\\",\\\"@blocks\\\",\\\"@attributes\\\",\\\"@editorClass\\\",\\\"@autoFocus\\\",\\\"@startedUploading\\\",\\\"@finishedUploading\\\",\\\"@onError\\\"],[[34,13],[34,14],[34,15],[34,16],[34,13,[\\\"attributes\\\"]],\\\"simple-composer__editor composer-style-basic\\\",true,[30,[36,1],[[32,0],[30,[36,18],[[35,17]],null],true],null],[30,[36,1],[[32,0],[30,[36,18],[[35,17]],null],false],null],\\\"onComposerError\\\"]],null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"form\\\"],[14,0,\\\"message-form\\\"],[14,\\\"method\\\",\\\"POST\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@name\\\",\\\"@value\\\"],[\\\"hidden\\\",\\\"message_data\\\",[34,19]]],null],[2,\\\"\\\\n        \\\"],[8,\\\"input\\\",[],[[\\\"@type\\\",\\\"@name\\\",\\\"@value\\\"],[\\\"hidden\\\",\\\"authenticity_token\\\",[34,20]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"modal__footer u__cf\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__left\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"u__left js__simple-composer__action-icons\\\"],[12],[2,\\\"\\\\n            \\\"],[8,\\\"composer/controls/actions-component\\\",[],[[\\\"@app\\\",\\\"@messageType\\\",\\\"@emailTemplate\\\",\\\"@hasEmoji\\\",\\\"@hasMessageTypePopover\\\",\\\"@hasComposerAttachments\\\",\\\"@hasComposerImageUploads\\\",\\\"@hasComposerVideo\\\",\\\"@isEmojiPopoverOpen\\\",\\\"@isComposerVideoPopoverOpen\\\",\\\"@isMessageTypePopoverOpen\\\",\\\"@isSavedContentPopoverOpen\\\",\\\"@isMessageStylePopoverOpen\\\",\\\"@toggleComposerVideoPopover\\\",\\\"@toggleMessageTypePopover\\\",\\\"@toggleMessageStylePopover\\\",\\\"@toggleSavedContentPopover\\\",\\\"@uploadAttachment\\\",\\\"@uploadImage\\\",\\\"@insertEmoji\\\"],[[34,13],[34,21],[34,22],true,true,true,true,true,[34,23],[34,24],[34,25],[34,26],[34,27],[30,[36,1],[[32,0],\\\"toggleComposerVideoPopover\\\"],null],[30,[36,1],[[32,0],\\\"toggleMessageTypePopover\\\"],null],[30,[36,1],[[32,0],\\\"toggleMessageStylePopover\\\"],null],[30,[36,1],[[32,0],\\\"toggleSavedContentPopover\\\"],null],[30,[36,1],[[32,0],\\\"uploadAttachment\\\"],null],[30,[36,1],[[32,0],\\\"uploadImage\\\"],null],[30,[36,1],[[32,0],\\\"insertEmoji\\\"],null]]],null],[2,\\\"\\\\n            \\\"],[8,\\\"composer/controls/message-type-popover-component\\\",[],[[\\\"@app\\\",\\\"@isOpen\\\",\\\"@messageType\\\",\\\"@feature\\\",\\\"@setMessageType\\\",\\\"@users\\\"],[[34,13],[34,25],[34,21],[34,0],[30,[36,1],[[32,0],\\\"setMessageChannel\\\"],null],[34,11]]],null],[2,\\\"\\\\n            \\\"],[8,\\\"composer/controls/message-style-popover-component\\\",[],[[\\\"@app\\\",\\\"@isOpen\\\",\\\"@messageStyle\\\",\\\"@emailTemplateId\\\",\\\"@setMessageType\\\",\\\"@setEmailTemplate\\\"],[[34,13],[34,27],[34,21],[34,28],[30,[36,1],[[32,0],\\\"setMessageChannel\\\"],null],[30,[36,1],[[32,0],\\\"setEmailTemplate\\\"],null]]],null],[2,\\\"\\\\n            \\\"],[8,\\\"composer/controls/video-popover-component\\\",[],[[\\\"@app\\\",\\\"@isOpen\\\",\\\"@insertVideo\\\"],[[34,13],[34,24],[30,[36,1],[[32,0],\\\"insertVideo\\\"],null]]],null],[2,\\\"\\\\n            \\\"],[8,\\\"composer/controls/saved-content-popover-component\\\",[],[[\\\"@isOpen\\\",\\\"@insertSavedContent\\\"],[[34,26],[30,[36,1],[[32,0],\\\"insertSavedContent\\\"],null]]],null],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__right\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,9],[[35,17]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"div\\\"],[14,0,\\\"u__display-inline-block u__mr__05\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"u__left\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"ic-loading-indicator\\\",[],[[\\\"@size\\\"],[\\\"tiny\\\"]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"simple-composer__loading-text t__light-text text-gray u__right u__ml__05\\\"],[12],[2,\\\"\\\\n              Uploading\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,9],[[35,29]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"paywall\\\",[],[[\\\"@isActiveOverride\\\",\\\"@featureKey\\\"],[[30,[36,5],[[32,0,[\\\"app\\\",\\\"canUseMessenger\\\"]]],null],\\\"messenger\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"u__display-inline-block\\\"],[12],[2,\\\"\\\\n              \\\"],[8,[32,2,[\\\"Hover\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                \\\"],[8,\\\"ic-button\\\",[[24,0,\\\"js__simple-composer__send\\\"]],[[\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[\\\"primary-live\\\",[30,[36,1],[[32,0],\\\"submit\\\"],null],[30,[36,3],[[32,2,[\\\"isActive\\\"]],[35,2]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                  \\\"],[1,[34,4]],[2,\\\"\\\\n                \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"paywall\\\",[],[[\\\"@featureKey\\\"],[[34,0]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"u__display-inline-block\\\"],[12],[2,\\\"\\\\n              \\\"],[8,[32,1,[\\\"Hover\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                \\\"],[8,\\\"ic-button\\\",[[24,0,\\\"js__simple-composer__send\\\"]],[[\\\"@type\\\",\\\"@onClick\\\",\\\"@disabled\\\"],[\\\"primary-live\\\",[30,[36,1],[[32,0],\\\"submit\\\"],null],[30,[36,3],[[32,1,[\\\"isActive\\\"]],[35,2]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                  \\\"],[1,[34,4]],[2,\\\"\\\\n                \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"manualMessagingType\\\",\\\"action\\\",\\\"isSendingDisabled\\\",\\\"or\\\",\\\"sendLabel\\\",\\\"not\\\",\\\"subject\\\",\\\"selectedTotalCount\\\",\\\"eq\\\",\\\"if\\\",\\\"ic-interface-icon\\\",\\\"selectedUsersFromCache\\\",\\\"isEmailMessage\\\",\\\"app\\\",\\\"composerComponent\\\",\\\"simpleComposerPreset\\\",\\\"blocks\\\",\\\"isSimpleComposerUploading\\\",\\\"mut\\\",\\\"messageData\\\",\\\"csrfToken\\\",\\\"type\\\",\\\"emailTemplate\\\",\\\"isEmojiPopoverOpen\\\",\\\"isComposerVideoPopoverOpen\\\",\\\"isMessageTypePopoverOpen\\\",\\\"isSavedContentPopoverOpen\\\",\\\"isMessageStylePopoverOpen\\\",\\\"emailTemplateId\\\",\\\"singleTarget\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/modal/message.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"kwkzrQy5\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[11,\\\"div\\\"],[24,0,\\\"block-link-editor-activate\\\"],[4,[38,0],[[32,0],\\\"edit\\\"],null],[12],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[14,0,\\\"block-link-editor-icon is-pixel-grid\\\"],[12],[1,[30,[36,1],[\\\"edit\\\"],[[\\\"solo\\\"],[true]]]],[13],[1,[34,2]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"ic-interface-icon\\\",\\\"editText\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/non-editable-block-editor.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"X32ofg/k\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/null-editor.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"CwkoSltp\",\"block\":\"{\\\"symbols\\\":[\\\"week\\\",\\\"day\\\"],\\\"statements\\\":[[6,[37,0],[[35,7]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"overlay z__2 o__opened o__dropdown f__date-picker\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"f__date-picker__month\\\"],[12],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"f__date-picker__prev-month\\\"],[4,[38,1],[[32,0],\\\"previousMonth\\\"],[[\\\"bubbles\\\"],[false]]],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,4],[\\\"prev\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"f__date-picker__month-label t__h3\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[34,5]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[11,\\\"a\\\"],[24,0,\\\"f__date-picker__next-month\\\"],[4,[38,1],[[32,0],\\\"nextMonth\\\"],[[\\\"bubbles\\\"],[false]]],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,4],[\\\"next\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[2,\\\"    \\\"],[10,\\\"table\\\"],[14,0,\\\"f__date-picker__tbl\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"      \\\"],[10,\\\"thead\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"f__date-picker__day-of-week\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"abbr\\\"],[14,0,\\\"f__date-picker__day-of-week__initial\\\"],[14,\\\"title\\\",\\\"Sunday\\\"],[12],[2,\\\"\\\\n              S\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"f__date-picker__day-of-week\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"abbr\\\"],[14,0,\\\"f__date-picker__day-of-week__initial\\\"],[14,\\\"title\\\",\\\"Monday\\\"],[12],[2,\\\"\\\\n              M\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"f__date-picker__day-of-week\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"abbr\\\"],[14,0,\\\"f__date-picker__day-of-week__initial\\\"],[14,\\\"title\\\",\\\"Tuesday\\\"],[12],[2,\\\"\\\\n              T\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"f__date-picker__day-of-week\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"abbr\\\"],[14,0,\\\"f__date-picker__day-of-week__initial\\\"],[14,\\\"title\\\",\\\"Wednesday\\\"],[12],[2,\\\"\\\\n              W\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"f__date-picker__day-of-week\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"abbr\\\"],[14,0,\\\"f__date-picker__day-of-week__initial\\\"],[14,\\\"title\\\",\\\"Thursday\\\"],[12],[2,\\\"\\\\n              T\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"f__date-picker__day-of-week\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"abbr\\\"],[14,0,\\\"f__date-picker__day-of-week__initial\\\"],[14,\\\"title\\\",\\\"Friday\\\"],[12],[2,\\\"\\\\n              F\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"th\\\"],[14,0,\\\"f__date-picker__day-of-week\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"abbr\\\"],[14,0,\\\"f__date-picker__day-of-week__initial\\\"],[14,\\\"title\\\",\\\"Saturday\\\"],[12],[2,\\\"\\\\n              S\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"tbody\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[35,6]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,1]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[10,\\\"td\\\"],[14,0,\\\"f__date-picker__date\\\"],[12],[2,\\\"\\\\n                \\\"],[11,\\\"a\\\"],[16,0,[31,[\\\"f__date-picker__date-selection \\\",[30,[36,0],[[32,2,[\\\"isPreviousWeek\\\"]],\\\"o__previous-week\\\"],null],\\\" \\\",[30,[36,0],[[32,2,[\\\"isNextWeek\\\"]],\\\"o__next-week\\\"],null],\\\" \\\",[30,[36,0],[[32,2,[\\\"isSelected\\\"]],\\\"o__selected\\\"],null],\\\" \\\",[30,[36,0],[[32,2,[\\\"isToday\\\"]],\\\"o__current-day\\\"],null],\\\" \\\",[30,[36,0],[[32,2,[\\\"isDisabled\\\"]],\\\"o__disabled\\\"],null]]]],[4,[38,1],[[32,0],\\\"selectDate\\\",[32,2,[\\\"date\\\"]]],[[\\\"bubbles\\\"],[false]]],[12],[2,\\\"\\\\n                  \\\"],[1,[32,2,[\\\"date\\\"]]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"action\\\",\\\"-track-array\\\",\\\"each\\\",\\\"ic-interface-icon\\\",\\\"monthAndYearLabel\\\",\\\"calendarData\\\",\\\"isOpen\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/partials/-calendar-date-picker-dropdown.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"bGpxr8jb\",\"block\":\"{\\\"symbols\\\":[\\\"contentValue\\\",\\\"contentIndex\\\",\\\"t\\\"],\\\"statements\\\":[[6,[37,1],[[35,7]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"dropdown o__opened f__custom-select__dropdown z__2\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,6],[[30,[36,5],[[30,[36,5],[[35,4]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[11,\\\"a\\\"],[16,0,[31,[\\\"dropdown__list-item u__one-truncated-line o__hoverable u__prevent-breaks \\\",[34,2],\\\" \\\",[30,[36,1],[[32,1,[\\\"isSelected\\\"]],\\\"dropdown__list-item-selected\\\"],null]]]],[4,[38,3],[[32,0],\\\"setSelectedOption\\\",[32,2]],[[\\\"bubbles\\\"],[false]]],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-start\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0 u__one-truncated-line\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,1,[\\\"icon\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[1,[30,[36,0],[[32,1,[\\\"icon\\\"]]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"],[1,[32,1,[\\\"label\\\"]]],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,1,[\\\"tooltip\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[8,\\\"ic-tooltip\\\",[],[[\\\"@isInteractive\\\"],[true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                \\\"],[8,[32,3,[\\\"opener\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                  \\\"],[1,[30,[36,0],[\\\"info\\\"],[[\\\"color\\\",\\\"solo\\\"],[\\\"gray\\\",true]]]],[2,\\\"\\\\n                \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n                \\\"],[8,[32,3,[\\\"content\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                  \\\"],[1,[32,1,[\\\"tooltip\\\"]]],[2,\\\"\\\\n                \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n              \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,1,[\\\"isSelected\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"span\\\"],[14,0,\\\"f__custom-select__check\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[30,[36,0],[\\\"small-check\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1,2]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"ic-interface-icon\\\",\\\"if\\\",\\\"dropdownItemClass\\\",\\\"action\\\",\\\"_mappedContent\\\",\\\"-track-array\\\",\\\"each\\\",\\\"isOpen\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/partials/-intercom-select-dropdown.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Hjk5A0n5\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,13],[[35,35]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"style\\\"],[12],[2,\\\"\\\\n  zws {\\\\n    display: none;\\\\n  }\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[10,\\\"div\\\"],[15,0,[31,[\\\"composer-box \\\",[30,[36,38],[[35,37],\\\"composer-is-hidden\\\"],null],\\\" \\\",[30,[36,13],[[35,32],\\\"composer-is-read-only\\\"],null],\\\" \\\",[30,[36,13],[[35,36],\\\"right-to-left\\\"],null]]]],[12],[2,\\\"\\\\n  \\\"],[8,\\\"editor-component\\\",[[16,0,[34,26]]],[[\\\"@composerState\\\",\\\"@app\\\",\\\"@config\\\",\\\"@viewportSelector\\\",\\\"@uploadManager\\\",\\\"@blocks\\\",\\\"@previewContext\\\",\\\"@hoverAreaPadding\\\",\\\"@attributes\\\",\\\"@customTemplate\\\",\\\"@isTypeAheadVisible\\\",\\\"@hasSubstantialContent\\\",\\\"@hasAnyContent\\\",\\\"@isDragAndDropEnabled\\\",\\\"@blockInsertionInfo\\\",\\\"@isTyping\\\",\\\"@isDebugMode\\\",\\\"@isPreviewMode\\\",\\\"@isNoEditMode\\\",\\\"@showDebugOutlines\\\",\\\"@scrollContainerSelector\\\",\\\"@onError\\\",\\\"@change\\\",\\\"@focusOut\\\"],[[34,0],[34,20],[34,5],[34,12],[34,15],[34,1],[34,39],[34,40],[34,18],[34,41,[\\\"html\\\"]],[34,42],[34,8],[34,9],[34,2],[34,16],[34,33],[34,22],[34,27],[34,32],[34,7],[34,43],[30,[36,23],[[32,0],\\\"onError\\\"],null],[30,[36,23],[[32,0],\\\"change\\\"],null],[30,[36,23],[[32,0],\\\"focusOut\\\"],null]]],null],[2,\\\"\\\\n  \\\"],[8,\\\"attachment-list\\\",[],[[\\\"@config\\\",\\\"@composerState\\\",\\\"@isReadOnly\\\",\\\"@isTyping\\\"],[[34,5],[34,0],[34,31],[34,33]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,13],[[35,44]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"embercom-composer-placeholder\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[34,34]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,13],[[35,32]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,1,\\\"composer-read-only-content-container\\\"],[15,0,[31,[[30,[36,13],[[35,30],\\\"composer-is-hidden\\\"],null],\\\" \\\",[30,[36,13],[[35,29],\\\"composer-has-no-alignment\\\"],null],\\\" \\\",[30,[36,13],[[35,28],\\\"composer-has-no-buttons\\\"],null]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,13],[[35,31]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,\\\"contenteditable\\\",\\\"false\\\"],[14,1,\\\"composer-read-only-content\\\"],[15,0,[31,[[34,26],\\\" embercom-composer-editor\\\"]]],[12],[2,\\\"\\\\n        \\\"],[2,[35,0,[\\\"html\\\"]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,13],[[35,27]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,\\\"contenteditable\\\",\\\"false\\\"],[14,1,\\\"composer-preview-mode-content\\\"],[15,0,[31,[[34,26],\\\" embercom-composer-editor\\\"]]],[12],[2,\\\"\\\\n        \\\"],[2,[35,0,[\\\"htmlWithPreview\\\"]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[8,\\\"attachment-list\\\",[],[[\\\"@config\\\",\\\"@composerState\\\",\\\"@isReadOnly\\\",\\\"@isTyping\\\"],[[34,5],[34,0],[34,32],[34,33]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"composer-template-container \\\",[30,[36,38],[[35,30],\\\"composer-is-hidden\\\"],null]]]],[12],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,38],[[35,32]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"popover-coordinator\\\",[],[[\\\"@config\\\",\\\"@uploadManager\\\",\\\"@composerState\\\",\\\"@blockInsertionInfo\\\",\\\"@inserters\\\",\\\"@attributes\\\",\\\"@templateTransformer\\\",\\\"@app\\\",\\\"@composerWidth\\\",\\\"@isDebugMode\\\",\\\"@selectionCoordinates\\\",\\\"@hoverCoordinates\\\",\\\"@viewportSelector\\\",\\\"@editorDimensions\\\",\\\"@uiSelection\\\",\\\"@isTyping\\\",\\\"@scrollToAttachments\\\",\\\"@updateDomAndSelection\\\",\\\"@updateDomIfNotFocused\\\",\\\"@insertBlock\\\",\\\"@createBlock\\\",\\\"@insertAttribute\\\",\\\"@enableHoverUpdates\\\",\\\"@disableHoverUpdates\\\",\\\"@format\\\",\\\"@onError\\\"],[[34,5],[34,15],[34,0],[34,16],[34,17],[34,18],[34,19],[34,20],[34,21],[34,22],[34,4,[\\\"selectionCoordinates\\\"]],[34,4,[\\\"hoverCoordinates\\\"]],[34,4,[\\\"viewportSelector\\\"]],[34,4,[\\\"editorDimensions\\\"]],[34,4,[\\\"uiSelection\\\"]],[34,4,[\\\"isTyping\\\"]],[30,[36,23],[[32,0],\\\"scrollToAttachments\\\"],null],[30,[36,23],[[32,0],\\\"updateDomAndSelection\\\"],null],[30,[36,23],[[32,0],\\\"updateDomIfNotFocused\\\"],null],[30,[36,23],[[32,0],\\\"insertBlock\\\"],null],[30,[36,23],[[32,0],\\\"createBlock\\\"],null],[30,[36,23],[[32,0],\\\"insertAttribute\\\"],null],[30,[36,23],[[32,0],\\\"enableHoverUpdates\\\"],null],[30,[36,23],[[32,0],\\\"disableHoverUpdates\\\"],null],[30,[36,23],[[32,0],\\\"format\\\"],null],[30,[36,23],[[32,0],\\\"onError\\\"],null]]],null],[2,\\\"\\\\n  \\\"],[8,\\\"type-ahead-coordinator\\\",[],[[\\\"@app\\\",\\\"@savedReplies\\\",\\\"@actionReceiver\\\",\\\"@config\\\",\\\"@composerState\\\",\\\"@textBeforeCursor\\\",\\\"@updateDomAndSelection\\\",\\\"@visibilityChanged\\\",\\\"@getTriggerCoords\\\",\\\"@typeAheadWasInserted\\\"],[[34,20],[34,24],[34,25],[34,5],[34,0],[34,4,[\\\"textBeforeCursor\\\"]],[30,[36,23],[[32,0],\\\"updateDomAndSelection\\\"],null],[30,[36,23],[[32,0],\\\"typeaheadVisiblityChanged\\\"],null],[30,[36,23],[[32,0],\\\"getTriggerCoords\\\"],null],\\\"typeAheadWasInserted\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,13],[[35,7]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,13],[[35,12]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,1,\\\"viewport-container-overlay\\\"],[12],[2,\\\"VIEWPORT\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[10,\\\"div\\\"],[14,1,\\\"dynamic-selection-overlay\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,1,\\\"dynamic-hover-insertion-overlay\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,1,\\\"dynamic-hover-insertion-index\\\"],[12],[2,\\\"index: \\\"],[1,[35,14,[\\\"insertionIndex\\\"]]],[2,\\\" of \\\"],[1,[35,14,[\\\"insertionPointsCount\\\"]]],[2,\\\" @ \\\"],[1,[35,14,[\\\"top\\\"]]],[2,\\\"px\\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,1,\\\"dynamic-hover-block-overlay\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,1,\\\"editor-top-debug-outline\\\"],[12],[2,\\\"EDITOR TOP\\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,1,\\\"editor-bottom-debug-outline\\\"],[12],[2,\\\"EDITOR BOTTOM\\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,1,\\\"custom-template-debug-outline\\\"],[12],[2,\\\"TEMPLATE OFFSET\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,13],[[35,22]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,1,\\\"composer-debug-container\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"composer-debug\\\",[],[[\\\"@composerState\\\",\\\"@blocks\\\",\\\"@isDragAndDropEnabled\\\",\\\"@isDragging\\\",\\\"@isSelecting\\\",\\\"@config\\\",\\\"@load\\\",\\\"@lastError\\\",\\\"@showDebugOutlines\\\",\\\"@hasSubstantialContent\\\",\\\"@hasAnyContent\\\",\\\"@currentError\\\",\\\"@scrollOffset\\\",\\\"@showDebugOutline\\\",\\\"@viewportSelector\\\",\\\"@hoverCoordinates\\\"],[[34,0],[34,1],[34,2],[34,3],[34,4,[\\\"isSelecting\\\"]],[34,5],\\\"load\\\",[34,6],[34,7],[34,8],[34,9],[34,10],[34,11],[34,7],[34,12],[34,4,[\\\"hoverCoordinates\\\"]]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"composerState\\\",\\\"blocks\\\",\\\"isDragAndDropEnabled\\\",\\\"isDragging\\\",\\\"editorView\\\",\\\"config\\\",\\\"lastError\\\",\\\"showDebugOutlines\\\",\\\"hasSubstantialContent\\\",\\\"hasAnyContent\\\",\\\"currentError\\\",\\\"scrollOffset\\\",\\\"viewportSelector\\\",\\\"if\\\",\\\"hoverCoordinates\\\",\\\"uploadManager\\\",\\\"blockInsertionInfo\\\",\\\"inserters\\\",\\\"combinedAttributes\\\",\\\"templateTransformer\\\",\\\"app\\\",\\\"composerWidth\\\",\\\"isDebugMode\\\",\\\"action\\\",\\\"savedReplies\\\",\\\"typeAheadCoordinator\\\",\\\"editorClass\\\",\\\"isPreviewMode\\\",\\\"isNoButtonMode\\\",\\\"isNoAlignmentMode\\\",\\\"isTemplateVisible\\\",\\\"isReadOnly\\\",\\\"isNoEditMode\\\",\\\"isTyping\\\",\\\"placeholder\\\",\\\"isFirefox\\\",\\\"isRightToLeft\\\",\\\"isBoxVisible\\\",\\\"unless\\\",\\\"previewContext\\\",\\\"hoverAreaPadding\\\",\\\"templateInfo\\\",\\\"isTypeAheadVisible\\\",\\\"scrollContainerSelector\\\",\\\"hasPlaceholderAndNoContent\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/partials/_editor.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"4sCSQT5t\",\"block\":\"{\\\"symbols\\\":[\\\"option\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-columns o__flexes-to-1 o__centers-vertically\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-button\\\",[],[[\\\"@type\\\",\\\"@forcedActive\\\",\\\"@fit\\\"],[\\\"secondary\\\",true,true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[15,0,[31,[\\\"u__one-truncated-line t__left \\\",[30,[36,5],[[35,6],\\\"attribute__multiple-choice-editor-dropdown\\\"],null]]]],[12],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"attribute__multiple-choice-editor-select-text\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[34,3]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"u__right attribute__multiple-choice-editor-select-arrow\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,2],[\\\"small-down-arrow\\\"],null]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"dropdown o__opened z__2 attribute__editor-dropdown \\\",[30,[36,5],[[35,6],\\\"u__padb__10\\\"],null]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,9],[[30,[36,8],[[30,[36,8],[[35,7]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[11,\\\"a\\\"],[16,0,[31,[\\\"dropdown__list-item u__one-truncated-line o__hoverable u__prevent-breaks \\\",[30,[36,5],[[30,[36,4],[[32,1],[35,3]],null],\\\"dropdown__list-item-selected\\\"],null]]]],[4,[38,1],[[32,0],\\\"completeEditing\\\",[32,1]],null],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex items-start\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0 u__one-truncated-line\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[32,1]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,5],[[30,[36,4],[[32,1],[35,3]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"f__custom-select__check\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,2],[\\\"small-check\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[6,[37,10],[[35,6]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[11,\\\"div\\\"],[24,0,\\\"attribute__editor-action flex items-center\\\"],[4,[38,1],[[32,0],[35,0],null],null],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__mr__10\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,2],[\\\"small-close\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0\\\"],[12],[2,\\\"\\\\n        Clear\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"completeEditing\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"stringFromValue\\\",\\\"eq\\\",\\\"if\\\",\\\"emptyValue\\\",\\\"selectOptions\\\",\\\"-track-array\\\",\\\"each\\\",\\\"unless\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/people/attributes/multiple-choice-editor.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"82X2fTQI\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"input\\\",[[24,0,\\\"f__text attribute__editor-text-field\\\"]],[[\\\"@value\\\",\\\"@enter\\\",\\\"@escape-press\\\",\\\"@focus-out\\\",\\\"@placeholder\\\",\\\"@type\\\"],[[34,0],[30,[36,1],[[32,0],\\\"editingCompletedViaEnter\\\"],null],[30,[36,1],[[32,0],\\\"cancelEditing\\\"],null],[30,[36,1],[[32,0],\\\"editingCompletedViaBlur\\\"],null],[30,[36,4],[\\\"Add \\\",[30,[36,3],[[35,2,[\\\"name\\\"]]],null]],null],[34,5]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"copiedValue\\\",\\\"action\\\",\\\"attribute\\\",\\\"lowercase\\\",\\\"concat\\\",\\\"inputType\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/people/attributes/string-editor.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"3WgvbgHp\",\"block\":\"{\\\"symbols\\\":[\\\"@disableHoverUpdates\\\",\\\"@enableHoverUpdates\\\",\\\"@insertAttribute\\\"],\\\"statements\\\":[[6,[37,32],[[35,0]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"text-formatter\\\",[],[[\\\"@app\\\",\\\"@config\\\",\\\"@composerState\\\",\\\"@selectionCoordinates\\\",\\\"@applyActionToSelection\\\",\\\"@align\\\",\\\"@actionReceiver\\\"],[[34,18],[34,19],[34,13],[34,21],\\\"applyActionToSelection\\\",\\\"align\\\",[34,31]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,32],[[35,9]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[1,[30,[36,30],[[35,10]],[[\\\"app\\\",\\\"config\\\",\\\"uploadManager\\\",\\\"currentEditableObject\\\",\\\"selectionCoordinates\\\",\\\"hoverCoordinates\\\",\\\"composerState\\\",\\\"deleteEntity\\\",\\\"hideEditor\\\",\\\"triggerDomUpdate\\\",\\\"moveSelectionPastEntityOrBlock\\\",\\\"viewportSelector\\\",\\\"actionReceiver\\\",\\\"templateTransformer\\\"],[[35,18],[35,19],[35,29],[35,13,[\\\"currentEditableObject\\\"]],[35,21],[35,17],[35,13],\\\"deleteEntity\\\",\\\"hideEditor\\\",[30,[36,24],[[32,0],\\\"triggerDomUpdate\\\"],null],\\\"moveSelectionPastEntityOrBlock\\\",[35,16],[35,28],[35,27]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"composer-media-inserters\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,32],[[35,11]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"media-inserter\\\",[],[[\\\"@config\\\",\\\"@composerState\\\",\\\"@hoverCoordinates\\\",\\\"@viewportSelector\\\",\\\"@inserters\\\",\\\"@insertBlock\\\",\\\"@insertCharacter\\\",\\\"@createBlock\\\",\\\"@disableHoverUpdates\\\",\\\"@enableHoverUpdates\\\",\\\"@openFileDialog\\\",\\\"@composerWidth\\\",\\\"@actionReceiver\\\"],[[34,19],[34,13],[34,17],[34,16],[34,23],[30,[36,24],[[32,0],\\\"insertBlock\\\"],null],[30,[36,24],[[32,0],\\\"insertCharacter\\\"],null],[30,[36,24],[[32,0],\\\"createBlock\\\"],null],[32,1],[32,2],\\\"openFileDialog\\\",[34,25],[34,26]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,32],[[35,12]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"attribute-inserter\\\",[],[[\\\"@app\\\",\\\"@config\\\",\\\"@composerState\\\",\\\"@editorDimensions\\\",\\\"@selectionCoordinates\\\",\\\"@hoverCoordinates\\\",\\\"@viewportSelector\\\",\\\"@disableHoverUpdates\\\",\\\"@enableHoverUpdates\\\",\\\"@insertAttribute\\\",\\\"@actionReceiver\\\"],[[34,18],[34,19],[34,13],[34,20],[34,21],[34,17],[34,16],[32,1],[32,2],[32,3],[34,22]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\\n\\\"],[10,\\\"input\\\"],[15,\\\"accept\\\",[31,[[34,33]]]],[14,0,\\\"composer-file-upload composer-is-hidden\\\"],[14,4,\\\"file\\\"],[12],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,32],[[30,[36,35],[[35,34]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,5,\\\"background-color: #eee; font-size: 0.6em\\\"],[12],[2,\\\"\\\\n    showTextFormatter: \\\"],[1,[34,0]],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n    showAnchorEditor: \\\"],[1,[34,1]],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n    showImageEditor: \\\"],[1,[34,2]],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n    showButtonEditor: \\\"],[1,[34,3]],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n    showHtmlEditor: \\\"],[1,[34,4]],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n    showAttributeEditor: \\\"],[1,[34,5]],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n    showVideoEditor: \\\"],[1,[34,6]],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n    showFacebookLikeButtonEditor: \\\"],[1,[34,7]],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n    showTwitterFollowButtonEditor: \\\"],[1,[34,8]],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n    isEditorVisible: \\\"],[1,[34,9]],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n    displayedEditorType: \\\"],[1,[34,10]],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n    showMediaInserter: \\\"],[1,[34,11]],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n    showAttributeInserter: \\\"],[1,[34,12]],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n    currentEditableObject: \\\"],[1,[35,13,[\\\"currentEditableObject\\\",\\\"id\\\"]]],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n    dismissedEditorObjectId: \\\"],[1,[34,14]],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n    currentEditorHasBeenDismissed: \\\"],[1,[34,15]],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n    viewportSelector: \\\"],[1,[34,16]],[2,\\\"\\\\n    \\\"],[10,\\\"hr\\\"],[12],[13],[2,\\\"\\\\n    hoverCoordinates: l:\\\"],[1,[35,17,[\\\"left\\\"]]],[2,\\\" t:\\\"],[1,[35,17,[\\\"top\\\"]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"showTextFormatter\\\",\\\"showAnchorEditor\\\",\\\"showImageEditor\\\",\\\"showButtonEditor\\\",\\\"showHtmlEditor\\\",\\\"showAttributeEditor\\\",\\\"showVideoEditor\\\",\\\"showFacebookLikeButtonEditor\\\",\\\"showTwitterFollowButtonEditor\\\",\\\"isEditorVisible\\\",\\\"displayedEditorType\\\",\\\"showMediaInserter\\\",\\\"showAttributeInserter\\\",\\\"composerState\\\",\\\"dismissedEditorObjectId\\\",\\\"currentEditorHasBeenDismissed\\\",\\\"viewportSelector\\\",\\\"hoverCoordinates\\\",\\\"app\\\",\\\"config\\\",\\\"editorDimensions\\\",\\\"selectionCoordinates\\\",\\\"attributeInserter\\\",\\\"inserters\\\",\\\"action\\\",\\\"composerWidth\\\",\\\"mediaInserter\\\",\\\"templateTransformer\\\",\\\"displayedEditor\\\",\\\"uploadManager\\\",\\\"component\\\",\\\"textFormatter\\\",\\\"if\\\",\\\"allowedTypeList\\\",\\\"isDebugMode\\\",\\\"unbound\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/popover-coordinator.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"kjXWVacP\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"popover-header\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"p\\\"],[14,0,\\\"popover-header__title\\\"],[12],[2,\\\"Insert a \\\"],[1,[34,0]],[13],[2,\\\"\\\\n  \\\"],[10,\\\"p\\\"],[14,0,\\\"popover-header__description\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,1],[\\\"book\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\"\\\\n    \\\"],[10,\\\"a\\\"],[14,6,\\\"https://www.intercom.com/help/en/articles/2706708-what-is-click-tracking\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[12],[2,\\\"Learn how we track link clicks and identify people\\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"type\\\",\\\"ic-interface-icon\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/popover-header.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"ykJSaw9f\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"predicates/inline/comparison-editor\\\",[],[[\\\"@content\\\",\\\"@value\\\",\\\"@scrollParentSelector\\\",\\\"@selectionChanged\\\"],[[34,0],[34,1,[\\\"comparison\\\"]],[34,2],\\\"changeComparison\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"comparisonOptions\\\",\\\"predicate\\\",\\\"scrollParentSelector\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/predicates/partials/-inline-comparison-editor.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"jjQUTghf\",\"block\":\"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[19,\\\"components/predicates/partials/inline-comparison-editor\\\",[]],[2,\\\"\\\\n\\\"],[10,\\\"span\\\"],[14,0,\\\"u__prevent-breaks\\\"],[12],[6,[37,4],[[35,3]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[8,\\\"common/expanding-one-way-input\\\",[[24,0,\\\"f__text o__small o__numeric predicate-editor__subtle-input-field o__max-width\\\"],[24,\\\"placeholder\\\",\\\"123…\\\"]],[[\\\"@value\\\",\\\"@update\\\",\\\"@type\\\"],[[34,0,[\\\"value\\\"]],[30,[36,2],[[32,0],[35,1]],null],\\\"number\\\"]],null]],\\\"parameters\\\":[]}]]],[18,1,null],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"predicate\\\",\\\"changeValue\\\",\\\"action\\\",\\\"hideValueInput\\\",\\\"unless\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/predicates/value-editors/numeric-editor.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"OuuYGjke\",\"block\":\"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[19,\\\"components/predicates/partials/inline-comparison-editor\\\",[]],[10,\\\"span\\\"],[14,0,\\\"u__prevent-breaks\\\"],[12],[6,[37,4],[[35,3]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[8,\\\"common/expanding-one-way-input\\\",[[24,0,\\\"f__text o__small predicate-editor__subtle-input-field o__max-width\\\"],[24,\\\"placeholder\\\",\\\"Enter value…\\\"]],[[\\\"@value\\\",\\\"@update\\\"],[[34,0,[\\\"value\\\"]],[30,[36,2],[[32,0],[35,1]],null]]],null]],\\\"parameters\\\":[]}]]],[18,1,null],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"predicate\\\",\\\"changeValue\\\",\\\"action\\\",\\\"hideValueInput\\\",\\\"unless\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/predicates/value-editors/string-editor.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"e2ZSLRhx\",\"block\":\"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[19,\\\"components/predicates/partials/inline-comparison-editor\\\",[]],[10,\\\"span\\\"],[14,0,\\\"u__prevent-breaks\\\"],[12],[6,[37,4],[[35,3]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[8,\\\"predicates/inline/comparison-editor\\\",[],[[\\\"@content\\\",\\\"@value\\\",\\\"@scrollParentSelector\\\",\\\"@selectionChanged\\\"],[[34,0],[34,1,[\\\"value\\\"]],[34,2],\\\"changeValue\\\"]],null]],\\\"parameters\\\":[]}]]],[18,1,null],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":true,\\\"upvars\\\":[\\\"comparisonEditorOptions\\\",\\\"predicate\\\",\\\"scrollParentSelector\\\",\\\"hideValueInput\\\",\\\"unless\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/predicates/value-editors/tag-editor.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"so4XMJbu\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[2,\\\"This contact does not know that they have been given the pseudonym \\\\\\\"\\\"],[1,[34,0]],[2,\\\"\\\\\\\"\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"pseudonym\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/pseudonym-warner.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"haN2/AMz\",\"block\":\"{\\\"symbols\\\":[\\\"comparison\\\",\\\"index\\\"],\\\"statements\\\":[[6,[37,9],[[30,[36,16],[[35,14],[35,18,[\\\"length\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"ic-multiselect\\\",[],[[\\\"@label\\\",\\\"@mode\\\",\\\"@items\\\",\\\"@limit\\\",\\\"@hasFilter\\\",\\\"@filterPlaceholder\\\",\\\"@onClose\\\",\\\"@onSelectionChange\\\"],[\\\"Show tags\\\",\\\"block\\\",[34,18],[34,19],true,\\\"Search tags\\\",[30,[36,21],[[32,0],[35,20]],null],[30,[36,21],[[32,0],[35,22]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,9],[[35,23,[\\\"context\\\",\\\"length\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,9],[[30,[36,17],[[35,11,[\\\"length\\\"]],[35,2]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"table\\\"],[14,0,\\\"tbl o__fit\\\"],[12],[2,\\\"\\\\n\\\"],[2,\\\"      \\\"],[10,\\\"tbody\\\"],[14,0,\\\"tbl__body t__light-text\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,13],[[30,[36,12],[[30,[36,12],[[35,11]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"reporting/line-chart-legend-row\\\",[],[[\\\"@comparison\\\",\\\"@setHoveredItem\\\",\\\"@index\\\"],[[32,1],[34,4],[30,[36,10],[[32,2],[30,[36,9],[[35,2],1,0],null]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1,2]}]]],[6,[37,9],[[30,[36,16],[[30,[36,15],[[35,14]],null],[35,5]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"td\\\"],[12],[2,\\\"\\\\n              All other \\\"],[1,[30,[36,7],[[35,6],[35,5]],null]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"td\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[30,[36,8],[[35,5]],null]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,9],[[30,[36,16],[[35,11],[35,2]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"td\\\"],[14,\\\"colspan\\\",\\\"3\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"hr\\\"],[14,0,\\\"reporting__chart__legend-label-separator u__mt__20 u__mb__20\\\"],[12],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,9],[[35,2]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"reporting/line-chart-legend-row\\\",[],[[\\\"@comparison\\\",\\\"@setHoveredItem\\\",\\\"@index\\\"],[[30,[36,3],[0,[35,2]],null],[34,4],0]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"reporting/empty-state/line-chart\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"p\\\"],[12],[2,\\\"\\\\n        No tags selected\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[1,[30,[36,1],[[35,0]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"emptyStateComponentPath\\\",\\\"component\\\",\\\"scopingTagComparison\\\",\\\"object-at\\\",\\\"setHoveredItem\\\",\\\"hiddenItemCount\\\",\\\"hiddenItemType\\\",\\\"inflector-helper\\\",\\\"number-formatter-helper\\\",\\\"if\\\",\\\"add\\\",\\\"displayedSignalComparisons\\\",\\\"-track-array\\\",\\\"each\\\",\\\"showContextMultiselectDropdown\\\",\\\"not\\\",\\\"and\\\",\\\"or\\\",\\\"selectionDropdownItems\\\",\\\"displayedItemCount\\\",\\\"onMultiselectClosed\\\",\\\"action\\\",\\\"onSelectionChange\\\",\\\"signal\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/reporting/line-chart-legend.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"142N7Z0N\",\"block\":\"{\\\"symbols\\\":[\\\"item\\\",\\\"@textBeforeCursor\\\"],\\\"statements\\\":[[11,\\\"div\\\"],[16,5,[34,2]],[24,0,\\\"m__inbox__saved-reply-dropdown js_keyboard_selectable_list dropdown z__2\\\"],[4,[38,3],[[32,0,[\\\"searchSavedReplies\\\"]],[32,2]],null],[12],[2,\\\"\\\\n\\\"],[6,[37,6],[[30,[36,5],[[30,[36,5],[[35,4]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[11,\\\"div\\\"],[4,[38,0],[[32,0],\\\"highlightItem\\\",[32,1]],[[\\\"on\\\"],[\\\"mouseEnter\\\"]]],[12],[2,\\\"\\\\n        \\\"],[11,\\\"span\\\"],[16,0,[31,[\\\"u__cf dropdown__list-item o__hoverable \\\",[30,[36,1],[[32,1,[\\\"isHighlighted\\\"]],\\\"o__selected\\\"],null]]]],[4,[38,0],[[32,0],\\\"selectItem\\\",[32,1]],null],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__has-rows\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"m__inbox__saved-reply-dropdown-name u__truncated-inline-block layout__box o__flexes-to-1\\\"],[12],[1,[32,1,[\\\"name\\\"]]],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"m__inbox__saved-reply-dropdown-summary u__truncated-inline-block text-gray layout__box o__flexes-to-1 u__normal-weight\\\"],[12],[1,[32,1,[\\\"summary\\\"]]],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"if\\\",\\\"style\\\",\\\"did-update\\\",\\\"matchingItems\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/saved-reply-inserter.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"vR1rdzIb\",\"block\":\"{\\\"symbols\\\":[\\\"t\\\"],\\\"statements\\\":[[11,\\\"a\\\"],[16,0,[31,[\\\"dropdown__list-item filter-bar__anonymous-dropdown__item u__one-truncated-line \\\",[30,[36,2],[[35,0,[\\\"enabled\\\"]],\\\"o__hoverable\\\",\\\"o__disabled\\\"],null],\\\" u__prevent-breaks\\\"]]],[4,[38,4],[[32,0],\\\"setSelectedOption\\\",[35,3]],null],[12],[2,\\\"\\\\n  \\\"],[8,\\\"ic-tooltip\\\",[[16,0,[31,[\\\"flex items-center \\\",[30,[36,5],[[35,0,[\\\"enabled\\\"]],\\\"filter-bar__anonymous-dropdown__tooltip-opener\\\"],null]]]]],[[\\\"@isDisabled\\\",\\\"@hideOnClick\\\",\\\"@placement\\\"],[[34,0,[\\\"enabled\\\"]],false,\\\"right\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"opener\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"u__mr__10\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[35,0,[\\\"icon\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"filter-bar__anonymous-dropdown-icon\\\"],[12],[2,\\\"\\\\n            \\\"],[1,[30,[36,1],[[35,0,[\\\"icon\\\"]]],null]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex-auto min-w-0 flex items-start\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"flex-auto min-w-0 filter-bar__anonymous-dropdown__item-text f__custom-select__item-label\\\"],[12],[2,\\\"\\\\n          \\\"],[1,[35,0,[\\\"label\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[15,0,[31,[\\\"u__ml__10 filter-bar__anonymous-dropdown__item-description \\\",[30,[36,5],[[35,0,[\\\"enabled\\\"]],\\\"o__disabled\\\"],null]]]],[12],[2,\\\"\\\\n          \\\"],[1,[35,0,[\\\"description\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"content\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[1,[34,6]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"value\\\",\\\"ic-interface-icon\\\",\\\"if\\\",\\\"index\\\",\\\"action\\\",\\\"unless\\\",\\\"leadsWarning\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/segment-filter/partials/-anonymous-select-component-item.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"fKYY7R0W\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"h4\\\"],[12],[1,[34,0]],[13],[2,\\\"\\\\n\\\"],[10,\\\"span\\\"],[14,0,\\\"t__light-text\\\"],[12],[1,[34,1]],[13],[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,0,\\\"sp__1\\\"],[12],[13],[2,\\\"\\\\n\\\"],[10,\\\"textarea\\\"],[14,0,\\\"text-editor-textarea f__text u__pad__10 o__no-resize\\\"],[15,2,[34,2]],[15,\\\"placeholder\\\",[34,3]],[15,\\\"oninput\\\",[30,[36,5],[[32,0],[30,[36,4],[[35,2]],null]],[[\\\"value\\\"],[\\\"target.value\\\"]]]],[12],[13],[2,\\\"\\\"],[10,\\\"div\\\"],[14,0,\\\"u__cf u__mt__10\\\"],[12],[2,\\\"\\\\n  \\\"],[11,\\\"button\\\"],[24,0,\\\"btn o__primary u__right\\\"],[4,[38,5],[[32,0],[35,6],[35,2]],null],[12],[2,\\\"\\\\n    Save\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[11,\\\"button\\\"],[24,0,\\\"btn o__secondary u__right u__mr__5\\\"],[4,[38,5],[[32,0],[35,7]],null],[12],[2,\\\"\\\\n    Cancel\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"title\\\",\\\"description\\\",\\\"updatedValue\\\",\\\"placeholder\\\",\\\"mut\\\",\\\"action\\\",\\\"onComplete\\\",\\\"onCancel\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/text-editor.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"S2pThYUU\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"text-formatter-option-wrapper\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,9]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"span\\\"],[14,0,\\\"text-formatter-option-cell\\\"],[12],[11,\\\"span\\\"],[16,0,[31,[\\\"text-formatter-option bold \\\",[30,[36,1],[[35,8],\\\"is-inactive\\\"],null]]]],[4,[38,2],[[32,0],\\\"format\\\",\\\"bold\\\"],[[\\\"on\\\"],[\\\"mouseDown\\\"]]],[12],[10,\\\"b\\\"],[12],[2,\\\"B\\\"],[13],[13],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[35,10]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"span\\\"],[14,0,\\\"text-formatter-option-cell\\\"],[12],[11,\\\"span\\\"],[16,0,[31,[\\\"text-formatter-option italic \\\",[30,[36,1],[[35,7],\\\"is-inactive\\\"],null]]]],[4,[38,2],[[32,0],\\\"format\\\",\\\"italic\\\"],[[\\\"on\\\"],[\\\"mouseDown\\\"]]],[12],[10,\\\"i\\\"],[12],[2,\\\"i\\\"],[13],[13],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[35,11]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"span\\\"],[14,0,\\\"text-formatter-option-cell\\\"],[12],[11,\\\"span\\\"],[16,0,[31,[\\\"text-formatter-option heading \\\",[30,[36,1],[[35,6],\\\"is-inactive\\\"],null]]]],[4,[38,2],[[32,0],\\\"convert\\\",\\\"heading\\\"],[[\\\"on\\\"],[\\\"mouseDown\\\"]]],[12],[2,\\\"H1\\\"],[13],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[35,12]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"span\\\"],[14,0,\\\"text-formatter-option-cell\\\"],[12],[11,\\\"span\\\"],[16,0,[31,[\\\"text-formatter-option subheading \\\",[30,[36,1],[[35,5],\\\"is-inactive\\\"],null]]]],[4,[38,2],[[32,0],\\\"convert\\\",\\\"subheading\\\"],[[\\\"on\\\"],[\\\"mouseDown\\\"]]],[12],[2,\\\"H2\\\"],[13],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[35,13]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"span\\\"],[14,0,\\\"text-formatter-option-cell\\\"],[12],[11,\\\"span\\\"],[16,0,[31,[\\\"text-formatter-option anchor \\\",[30,[36,1],[[35,4],\\\"is-inactive\\\"],null]]]],[4,[38,2],[[32,0],\\\"format\\\",\\\"anchor\\\"],[[\\\"on\\\",\\\"bubbles\\\"],[\\\"mouseDown\\\",false]]],[12],[10,\\\"span\\\"],[14,0,\\\"ic-popup-icon\\\"],[12],[1,[30,[36,3],[\\\"link\\\"],[[\\\"solo\\\"],[true]]]],[13],[13],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[35,14]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"span\\\"],[14,0,\\\"text-formatter-option-cell\\\"],[12],[11,\\\"span\\\"],[16,0,[31,[\\\"text-formatter-option center \\\",[30,[36,1],[[35,0],\\\"is-inactive\\\"],null]]]],[4,[38,2],[[32,0],\\\"center\\\"],null],[12],[10,\\\"span\\\"],[14,0,\\\"ic-popup-icon\\\"],[12],[1,[30,[36,3],[\\\"center\\\"],[[\\\"solo\\\"],[true]]]],[13],[13],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"isCenterInactive\\\",\\\"if\\\",\\\"action\\\",\\\"ic-interface-icon\\\",\\\"isAnchorInactive\\\",\\\"isSubheadingInactive\\\",\\\"isHeadingInactive\\\",\\\"isItalicInactive\\\",\\\"isBoldInactive\\\",\\\"isBoldEnabled\\\",\\\"isItalicEnabled\\\",\\\"isHeadingEnabled\\\",\\\"isSubheadingEnabled\\\",\\\"isAnchorEnabled\\\",\\\"isCenterEnabled\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/text-formatter.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"UvchrAOr\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"labeled-input\\\",[],[[\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@editableObject\\\",\\\"@config\\\"],[\\\"Twitter.com/\\\",\\\"Your Twitter Account\\\",[34,0,[\\\"username\\\"]],[34,0],[34,1]]],null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"editableObject\\\",\\\"config\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/twitter-follow-button-editor.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Ap1Iob7N\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,10],[[35,0,[\\\"allowMention\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"mention-inserter\\\",[],[[\\\"@app\\\",\\\"@config\\\",\\\"@actionReceiver\\\",\\\"@composerState\\\",\\\"@textBeforeCursor\\\",\\\"@visibilityChanged\\\",\\\"@getTriggerCoords\\\",\\\"@refresh\\\",\\\"@typeAheadWasInserted\\\"],[[34,8],[34,0],[34,9],[34,3],[34,4],[30,[36,5],[[32,0],\\\"mentionsVisiblityChanged\\\"],null],[30,[36,5],[[32,0],\\\"getTriggerCoords\\\"],null],\\\"refresh\\\",\\\"typeAheadWasInserted\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,10],[[35,0,[\\\"allowEmoji\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"emoji-inserter\\\",[],[[\\\"@config\\\",\\\"@actionReceiver\\\",\\\"@composerState\\\",\\\"@textBeforeCursor\\\",\\\"@visibilityChanged\\\",\\\"@getTriggerCoords\\\",\\\"@refresh\\\",\\\"@typeAheadWasInserted\\\"],[[34,0],[34,7],[34,3],[34,4],[30,[36,5],[[32,0],\\\"emojiVisiblityChanged\\\"],null],[30,[36,5],[[32,0],\\\"getTriggerCoords\\\"],null],\\\"refresh\\\",\\\"typeAheadWasInserted\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,10],[[35,0,[\\\"allowSavedReplies\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"saved-reply-inserter\\\",[],[[\\\"@config\\\",\\\"@savedReplies\\\",\\\"@actionReceiver\\\",\\\"@composerState\\\",\\\"@textBeforeCursor\\\",\\\"@visibilityChanged\\\",\\\"@getTriggerCoords\\\",\\\"@refresh\\\",\\\"@beforeCursor\\\",\\\"@typeAheadWasInserted\\\"],[[34,0],[34,1],[34,2],[34,3],[34,4],[30,[36,5],[[32,0],\\\"savedReplyVisiblityChanged\\\"],null],[30,[36,5],[[32,0],\\\"getTriggerCoords\\\"],null],\\\"refresh\\\",[34,6],\\\"typeAheadWasInserted\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"config\\\",\\\"savedReplies\\\",\\\"savedReplyInserterComponent\\\",\\\"composerState\\\",\\\"textBeforeCursor\\\",\\\"action\\\",\\\"beforeCursor\\\",\\\"emojiInserterComponent\\\",\\\"app\\\",\\\"mentionsInserterComponent\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/type-ahead-coordinator.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"EUowbQi8\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"labeled-input\\\",[],[[\\\"@value\\\",\\\"@isInputDisabled\\\"],[[34,0,[\\\"videoUrl\\\"]],true]],null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"editableObject\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/video-editor.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"KcacV15q\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,3],[[35,4]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"text-editor\\\",[],[[\\\"@title\\\",\\\"@description\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@onComplete\\\",\\\"@onCancel\\\"],[\\\"Add captions over your video\\\",\\\"Separate your captions with the return key to show them one at a time.\\\",\\\"Enter your caption. Example: 'Click here to go to your dashboard.'\\\",[34,2,[\\\"captions\\\"]],[30,[36,1],[[32,0],\\\"completedEditing\\\"],null],[30,[36,1],[[32,0],[30,[36,5],[[35,4]],null],false],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"block-link-editor-activate\\\"],[12],[2,\\\"\\\\n    \\\"],[11,\\\"span\\\"],[24,0,\\\"block-link-editor-icon\\\"],[4,[38,1],[[32,0],\\\"editCaptions\\\"],null],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[35,2,[\\\"hasCaptions\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[1,[30,[36,0],[\\\"edit\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\" Edit captions\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[1,[30,[36,0],[\\\"new\\\"],[[\\\"solo\\\"],[true]]]],[2,\\\" Add captions\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"ic-interface-icon\\\",\\\"action\\\",\\\"editableObject\\\",\\\"if\\\",\\\"isEditMode\\\",\\\"mut\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/components/video-file-editor.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"vAqo71D7\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/developer-signup.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"db9vUWJF\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"boot-error\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/error.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"k09nZbVX\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"feature-upgrade-prompt-component\\\",[],[[\\\"@app\\\",\\\"@actionReceiver\\\",\\\"@paywall\\\"],[[34,0],[34,1],\\\"paywall\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"app\\\",\\\"featureUpgradePromptComponent\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/feature-upgrade-prompt.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"0tP4bS6q\",\"block\":\"{\\\"symbols\\\":[\\\"graphComponent\\\",\\\"controlsComponent\\\",\\\"percentage\\\",\\\"edge\\\",\\\"edgeComponent\\\",\\\"node\\\",\\\"nodeComponent\\\",\\\"@model\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-row flex-1\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"graph-editor/node/inserter\\\",[],[[\\\"@graph\\\",\\\"@connectionPoints\\\",\\\"@dataObject\\\"],[[32,8],[32,0,[\\\"connectionPoints\\\"]],[30,[36,2],null,[[\\\"hello\\\"],[\\\"world\\\"]]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"series__node__inserter-example\\\"],[12],[2,\\\"\\\\n        Drag me!\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[10,\\\"h3\\\"],[12],[2,\\\"Nodes: \\\"],[1,[32,8,[\\\"nodes\\\",\\\"length\\\"]]],[13],[2,\\\"\\\\n    \\\"],[10,\\\"h3\\\"],[12],[2,\\\"Edges: \\\"],[1,[32,8,[\\\"edges\\\",\\\"length\\\"]]],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n  \\\"],[8,\\\"graph-editor\\\",[[24,0,\\\"series__graph-editor\\\"]],[[\\\"@graph\\\"],[[32,8]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[[30,[36,3],[[32,8,[\\\"nodes\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1,[\\\"Node\\\"]],[],[[\\\"@node\\\"],[[32,6]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,7,[\\\"DraggableArea\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"graph-demo/node\\\",[],[[\\\"@node\\\"],[[32,6]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[8,[32,7,[\\\"InlineArea\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"graph-editor/edge/draggable-connector\\\",[],[[\\\"@predecessor\\\"],[[32,6]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"graph-demo__edge__connector\\\"],[12],[2,\\\"\\\\n              +\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n          \\\"],[8,\\\"graph-editor/node/successor-inserter\\\",[],[[\\\"@predecessor\\\",\\\"@connectionPoints\\\"],[[32,6],[32,0,[\\\"connectionPoints\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            Insert Successor\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[7]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[6]}]]],[6,[37,4],[[30,[36,3],[[30,[36,3],[[32,8,[\\\"edges\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1,[\\\"Edge\\\"]],[],[[\\\"@edge\\\"],[[32,4]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,[32,5,[\\\"YieldLocation\\\"]],[],[[\\\"@coordinates\\\"],[[32,4,[\\\"uiProperties\\\",\\\"midpoint\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"series__edge__add-button-test\\\"],[12],[13],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[8,[32,5,[\\\"ClickPoint\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[11,\\\"a\\\"],[24,0,\\\"series__edge__controls\\\"],[4,[38,1],[\\\"click\\\",[30,[36,0],[[32,0,[\\\"deleteEdge\\\"]],[32,4]],null]],null],[12],[2,\\\"\\\\n            Delete Edge\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"    \\\"],[8,[32,1,[\\\"SelectionArea\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"series__selection-area\\\"],[12],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"OverlaidArea\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[2,\\\"    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"Controls\\\"]],[[24,0,\\\"graph-demo__controls\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row\\\"],[12],[2,\\\"\\\\n        \\\"],[8,[32,2,[\\\"ZoomOut\\\"]],[[24,0,\\\"p-2\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          -\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[8,[32,2,[\\\"ZoomPercentage\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[1,[32,3]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n        \\\"],[8,[32,2,[\\\"ZoomIn\\\"]],[[24,0,\\\"p-2\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          +\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"fn\\\",\\\"on\\\",\\\"hash\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/graph-demo.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"cvfxgEw+\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[8,\\\"head-tags\\\",[],[[\\\"@headTags\\\"],[[32,0,[\\\"model\\\",\\\"headTags\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/head.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"W5+W7otM\",\"block\":\"{\\\"symbols\\\":[\\\"page\\\"],\\\"statements\\\":[[8,\\\"start/page-component\\\",[],[[\\\"@heading\\\",\\\"@subHeading\\\",\\\"@admin\\\",\\\"@redirectUrl\\\"],[[34,23],[34,24],[34,13],[34,25]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"description\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,12],[[35,27],[35,26]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"img\\\"],[14,0,\\\"start__invite__inactive-link-illustration mb-8\\\"],[14,\\\"src\\\",\\\"/assets/images/start/invalid-invite-2x.png\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[8,\\\"heading\\\",[[24,0,\\\"start__invite__inactivate-link-base mb-4\\\"]],[[\\\"@size\\\"],[\\\"1\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[1,[34,21]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[8,\\\"paragraph\\\",[[24,0,\\\"start__invite__inactivate-link-base\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[1,[34,22]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,4],[[35,7,[\\\"active\\\"]],[30,[36,2],[[35,26]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[35,20]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[35,13]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"p\\\"],[14,0,\\\"start__body-text\\\"],[12],[2,\\\"\\\\n              You're already signed into Intercom. Click below to join this \\\"],[1,[35,7,[\\\"appName\\\"]]],[2,\\\" team.\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"h-10\\\"],[12],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"invite-link__admin-to-app\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"invite-link__admin-to-app__box\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"invite-link__gravatar o__admin\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,13,[\\\"has_photo_avatar\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                    \\\"],[10,\\\"img\\\"],[14,0,\\\"invite-link__admin-image\\\"],[15,\\\"src\\\",[31,[[34,15]]]],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"                    \\\"],[10,\\\"div\\\"],[14,0,\\\"invite-link__admin-initials\\\"],[12],[2,\\\"\\\\n                      \\\"],[1,[30,[36,14],[[35,13,[\\\"name\\\"]]],null]],[2,\\\"\\\\n                    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"                \\\"],[13],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n                \\\"],[1,[35,13,[\\\"name\\\"]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"invite-link__arrow\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"img\\\"],[14,\\\"src\\\",\\\"/assets/svgs/invites/arrow.svg\\\"],[12],[13],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[10,\\\"div\\\"],[14,0,\\\"invite-link__admin-to-app__box\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"invite-link__app-icon\\\"],[12],[2,\\\"\\\\n                  \\\"],[1,[30,[36,16],[\\\"city\\\"],[[\\\"size\\\",\\\"solo\\\"],[24,true]]]],[2,\\\"\\\\n                \\\"],[13],[2,\\\"\\\\n                \\\"],[10,\\\"div\\\"],[14,0,\\\"h-2\\\"],[12],[13],[2,\\\"\\\\n                \\\"],[1,[35,7,[\\\"appName\\\"]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"h-8\\\"],[12],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"start__body-text\\\"],[12],[2,\\\"\\\\n            By clicking “Join This Team” you agree to Intercom’s\\\\n            \\\"],[10,\\\"a\\\"],[14,6,\\\"https://www.intercom.com/terms-of-service\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,0,\\\"text-blue-dark\\\"],[12],[2,\\\"\\\\n              Terms of Service\\\\n            \\\"],[13],[2,\\\"\\\\n            and\\\\n            \\\"],[10,\\\"a\\\"],[14,6,\\\"https://www.intercom.com/privacy\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,0,\\\"text-blue-dark\\\"],[12],[2,\\\"\\\\n              Privacy Policy\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"h-8\\\"],[12],[13],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows\\\"],[12],[2,\\\"\\\\n            \\\"],[11,\\\"button\\\"],[24,0,\\\"start__button o__primary o__big\\\"],[4,[38,19],[[32,0],[30,[36,18],[[35,17]],null]],[[\\\"on\\\"],[\\\"click\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,17,[\\\"isRunning\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"                \\\"],[10,\\\"span\\\"],[14,0,\\\"pl_activity_indicator\\\"],[12],[13],[2,\\\"\\\\n                Adding You to This Team…\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"                Join This Team\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[35,0]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"div\\\"],[14,0,\\\"h-8\\\"],[12],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"start__body-text\\\"],[12],[2,\\\"\\\\n              First, we need to set up your account.\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"h-8\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"],[8,\\\"start/form-component\\\",[],[[\\\"@allowSSO\\\",\\\"@createApp\\\",\\\"@formTask\\\",\\\"@inviteToken\\\",\\\"@inviteIsEmail\\\",\\\"@email\\\",\\\"@allowSaml\\\",\\\"@allowEmailPassword\\\",\\\"@samlAccountName\\\"],[[30,[36,4],[[35,3],[30,[36,2],[[35,0]],null]],null],false,[34,5],[34,6],[30,[36,4],[[35,7],[35,7,[\\\"isEmailInvite\\\"]]],null],[34,8],[34,9],[30,[36,12],[[35,11],[35,10]],null],[34,7,[\\\"samlAccountName\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"isEnterprise\\\",\\\"if\\\",\\\"not\\\",\\\"authorizedSignInGoogleOauth2\\\",\\\"and\\\",\\\"createAccountAndTransition\\\",\\\"token\\\",\\\"invite\\\",\\\"email\\\",\\\"authorizedSignInSaml\\\",\\\"isSamlOnlyLegacyCustomer\\\",\\\"authorizedSignInEmailPassword\\\",\\\"or\\\",\\\"currentAdmin\\\",\\\"format-name-as-initials\\\",\\\"currentAdminAvatarUrl\\\",\\\"ic-interface-icon\\\",\\\"addAdminToAppAndRedirect\\\",\\\"perform\\\",\\\"action\\\",\\\"adminNotAlreadyOnApp\\\",\\\"blockHeading\\\",\\\"blockSubHeading\\\",\\\"heading\\\",\\\"subHeading\\\",\\\"redirectUrlForSignIn\\\",\\\"atMaxTeammates\\\",\\\"isInactive\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/invite.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"+BCNHAnW\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"js__has-loaded\\\"],[12],[2,\\\"\\\\n  this is a baseline for boot time measurement\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/load_time_baseline.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"5ejM+arY\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__flexes-to-1 o__centers-all meeting-scheduler__error-page\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout__box o__centers-horizontally u__mb__25\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"ic-illustrative-icon\\\",[],[[\\\"@name\\\"],[\\\"schedule\\\"]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"p\\\"],[14,0,\\\"meeting-scheduler__error-page__text\\\"],[12],[2,\\\"\\\\n      This calendar doesn't exist anymore.\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/meeting-scheduler-error.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"Yww+CZtz\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"meeting-scheduler layout__box o__has-rows o__flexes-to-1 o__scrolls\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"meeting-scheduler__header-container\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"meeting-scheduler/teammate\\\",[],[[\\\"@teammate\\\",\\\"@appName\\\"],[[34,0,[\\\"teammate\\\"]],[34,0,[\\\"appName\\\"]]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"hr\\\"],[14,0,\\\"meeting-scheduler__hr sp__hr\\\"],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"meeting-scheduler__container\\\"],[12],[2,\\\"\\\\n    \\\"],[8,\\\"meeting-scheduler/slots\\\",[],[[\\\"@calendar\\\",\\\"@duration\\\"],[[34,0],[34,1]]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"calendar\\\",\\\"duration\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/meeting-scheduler.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"1C+Ty3kh\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[12],[2,\\\"\\\\n  \\\"],[1,[35,0,[\\\"data\\\",\\\"emailAddress\\\"]]],[2,\\\" has been registered as a \\\"],[10,\\\"a\\\"],[15,6,[31,[[30,[36,1],[\\\"apps.app.settings.email-forwarding\\\"],null]]]],[12],[2,\\\"company address to ignore\\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"notification\\\",\\\"href-to\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/notifications/-company-address-addition.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"P8BYmbcJ\",\"block\":\"{\\\"symbols\\\":[\\\"message\\\"],\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[30,[36,1],[[35,0,[\\\"data\\\",\\\"messages\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[12],[1,[32,1]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"notification\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/notifications/-invalid-rule.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"iEOKLa9b\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[2,\\\"Oops. Looks like there's a problem with your connection. \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[14,0,\\\"js__realtime-service-reloader\\\"],[12],[2,\\\"Try reloading\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/notifications/-nexus-init-failure.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"4VscAd+W\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[2,\\\"It looks like you're running an old version. \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[14,0,\\\"js__realtime-service-reloader\\\"],[12],[2,\\\"Reload to update\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/notifications/-old-version.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"JqiuOFWJ\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[2,\\\"Your attribute '\\\"],[10,\\\"code\\\"],[12],[1,[35,0,[\\\"data\\\",\\\"name\\\"]]],[13],[2,\\\"' has been created. Start sending data to Intercom by\\\\n\\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\",\\\"@linkStyling\\\"],[\\\"https://www.intercom.com/help/configure-intercom-for-your-product-or-site/customize-intercom-to-be-about-your-users/send-custom-user-attributes-to-intercom\\\",\\\"adding it to your code\\\",\\\"article\\\",\\\"inline\\\"]],null],[2,\\\".\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"notification\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/notifications/attributes/-new-cda-success.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"SqK36J8v\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,1],[[35,0,[\\\"data\\\",\\\"multipleMessages\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  Your messages were\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  Your message was\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"moved to\\\\n\\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@model\\\"],[\\\"apps.app.outbound.messages.auto.folders.folder\\\",[34,0,[\\\"data\\\",\\\"folder\\\",\\\"id\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[1,[35,0,[\\\"data\\\",\\\"folder\\\",\\\"name\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"notification\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/notifications/folders/-message-addition.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"HiBHfQfB\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,1],[[35,0,[\\\"data\\\",\\\"multipleMessages\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  Your messages were\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  Your message was\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"removed from\\\\n\\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@model\\\"],[\\\"apps.app.outbound.messages.auto.folders.folder\\\",[34,0,[\\\"data\\\",\\\"folder\\\",\\\"id\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[1,[35,0,[\\\"data\\\",\\\"folder\\\",\\\"name\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"notification\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/notifications/folders/-message-removal.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"lNMF0fl4\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[35,0,[\\\"data\\\",\\\"errorMessage\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"p\\\"],[12],[2,\\\"An error occurred: '\\\"],[10,\\\"i\\\"],[12],[1,[35,0,[\\\"data\\\",\\\"errorMessage\\\"]]],[13],[2,\\\"'\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"p\\\"],[12],[2,\\\"An error occurred. Please try again.\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"notification\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/notifications/integrations/-integration-error.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"V3VgLp0Y\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[12],[2,\\\"\\\\n  New\\\\n  \\\"],[10,\\\"a\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[15,6,[31,[[34,0,[\\\"data\\\",\\\"tasks\\\",\\\"firstObject\\\",\\\"task_url\\\"]]]]],[12],[2,\\\"task\\\"],[13],[2,\\\" created in Salesforce for \\\"],[1,[35,0,[\\\"data\\\",\\\"taskUserName\\\"]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"notification\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/notifications/integrations/salesforce/-task-creation.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"7EBYJyd6\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[12],[2,\\\"\\\\n  We've prevented your app from sending email, including invites, as your app\\\\n  failed our app review process. Please contact customer support or visit\\\\n  \\\"],[8,\\\"pulse/help-content/link\\\",[],[[\\\"@href\\\",\\\"@title\\\",\\\"@type\\\",\\\"@linkStyling\\\"],[\\\"https://www.intercom.com/help/pricing-privacy-and-terms/intercoms-app-review-process\\\",\\\"our Help Center\\\",\\\"article\\\",\\\"inline\\\"]],null],[2,\\\"\\\\n  for more information.\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/notifications/invite/-sending-denied.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"3K1iOK44\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[12],[2,\\\"\\\\n  Sorry, we can't load the tools to build Product Tours on your website. Please make sure the Intercom Messenger is installed on the URL you have chosen to build your tour.\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/notifications/tours/-messenger-not-loaded.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"7aPyOcIi\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"layout__box o__has-rows o__flexes-to-1 o__scrolls oauth__connect-container\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"oauth/authorization-screen\\\",[],[[\\\"@authorizationRequest\\\",\\\"@clientId\\\",\\\"@state\\\",\\\"@redirectURI\\\"],[[34,0],[34,1],[34,2],[34,3]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"model\\\",\\\"clientId\\\",\\\"state\\\",\\\"redirectURI\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/oauth/connect.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"CXI6GlSC\",\"block\":\"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[1,[30,[36,2],[[35,1]],[[\\\"size\\\"],[[35,0]]]]],[2,\\\"\\\\n\\\"],[10,\\\"span\\\"],[15,0,[31,[[34,3]]]],[12],[2,\\\"\\\\n  \\\"],[18,1,null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"iconSize\\\",\\\"icon\\\",\\\"ic-interface-icon\\\",\\\"innerLinkClass\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/partials/link-with-icon-pattern-inner.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"/JTibQaw\",\"block\":\"{\\\"symbols\\\":[\\\"form\\\",\\\"item\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col justify-start items-center flex-1 sign-in__container\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"sign-in/header\\\",[],[[],[]],null],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-center sign-in__content overflow-y-scroll\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"samlAuths\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[32,0,[\\\"samlAuths\\\",\\\"length\\\"]],1],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"ic-loading-indicator\\\",[[24,0,\\\"u__center-item\\\"]],[[\\\"@size\\\"],[\\\"small\\\"]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"sign-in/saml-workspace-picker\\\",[],[[\\\"@samlAuths\\\",\\\"@samlEmail\\\",\\\"@redirectToIdP\\\",\\\"@changeEmail\\\"],[[32,0,[\\\"samlAuths\\\"]],[32,0,[\\\"samlEmail\\\"]],[32,0,[\\\"redirectToIdP\\\"]],[32,0,[\\\"changeEmail\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"sign-in__form mb-4\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"h2\\\"],[14,0,\\\"sign-in__h2 u__centered-text-block mb-10\\\"],[12],[2,\\\"Welcome.\\\"],[13],[2,\\\"\\\\n          \\\"],[8,\\\"form\\\",[],[[\\\"@onSubmit\\\"],[[30,[36,0],[[32,0,[\\\"startAuth\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,1,[\\\"Item\\\"]],[],[[\\\"@isInvalid\\\",\\\"@errorMessage\\\"],[[32,0,[\\\"emailInputIsInvalid\\\"]],\\\"Please enter a valid email\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[10,\\\"label\\\"],[14,0,\\\"signup__teams__form__label\\\"],[12],[2,\\\"Work email\\\"],[13],[2,\\\"\\\\n              \\\"],[8,[32,2,[\\\"Input\\\"]],[[24,0,\\\"signup__teams__form__input\\\"]],[[\\\"@placeholder\\\",\\\"@value\\\"],[\\\"name@company.com\\\",[32,0,[\\\"samlEmail\\\"]]]],null],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col\\\"],[12],[2,\\\"\\\\n              \\\"],[8,[32,1,[\\\"Submit\\\"]],[[24,0,\\\"signup__teams__button\\\"]],[[\\\"@label\\\",\\\"@type\\\",\\\"@disabled\\\"],[\\\"Sign in with SAML SSO\\\",\\\"primary\\\",[32,0,[\\\"signInButtonDisabled\\\"]]]],null],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[14,0,\\\"sign-in__link u__center-layout mt-4\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"a\\\"],[14,6,\\\"/admins/sign-in\\\"],[12],[2,\\\"More ways to sign in\\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"perform\\\",\\\"eq\\\",\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/saml.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"GPJSEMYU\",\"block\":\"{\\\"symbols\\\":[\\\"@model\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col justify-start items-center flex-1 sign-in__container\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"sign-in/header\\\",[],[[],[]],null],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-center sign-in__content overflow-y-scroll\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-col flex-1\\\"],[12],[2,\\\"\\\\n\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"sign-in__form mb-4\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-center mb-10\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"h3\\\"],[14,0,\\\"sign-in__h3\\\"],[12],[2,\\\"\\\\n            Sign in to \\\"],[1,[32,1,[\\\"appName\\\"]]],[2,\\\" workspace\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,0],[[32,0,[\\\"showSaml\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"sign-in/method/saml\\\",[],[[\\\"@signInWithSaml\\\"],[[32,0,[\\\"signInWithSaml\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"showGoogleSso\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"sign-in/method/google-sso\\\",[],[[\\\"@signInWithGoogleSso\\\"],[[32,0,[\\\"signInWithGoogleSso\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"showEmailPassword\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"sign-in/method/email-password\\\",[],[[\\\"@signInEmailPassword\\\"],[[32,0,[\\\"signInEmailPassword\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"sign-in__link u__center-layout mt-4\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"a\\\"],[15,6,[31,[\\\"/admins/sign_in_with_authorized_method?app_id=\\\",[32,1,[\\\"id\\\"]]]]],[12],[2,\\\"Switch workspace\\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/sign-in.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"NCag67rD\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,\\\"\\\\n\\\"],[8,\\\"google-tag-manager-frame-component\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"],[8,\\\"google-recaptcha-component\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/signup.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"WTI8/HbV\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between flex-1 flex-wrap u__overflow-hidden\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-1 flex-col\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"w-full\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"signup/teams/header-component\\\",[],[[\\\"@navStep\\\"],[2]],null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-1 items-center justify-center w-full\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"w-full text-center pb-20 signup__get-started__body\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"signup/get-started/chat-with-us\\\",[],[[],[]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/signup/get-started.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"gSDFnfqG\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-between flex-1 flex-wrap signup__teams__container o__tan u__overflow-hidden\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"signup/teams/header-component\\\",[],[[\\\"@isEarlyStage\\\",\\\"@navStep\\\",\\\"@isDeveloper\\\",\\\"@hideProgramName\\\"],[[32,0,[\\\"isEarlyStage\\\"]],1,[32,0,[\\\"developer\\\"]],[32,0,[\\\"developer\\\"]]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row signup__teams__sidebar__container\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"developer\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"media\\\",\\\"isDesktop\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"signup/teams/developer-sidebar-component\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"signup/teams/checkout-sidebar-component\\\",[],[[\\\"@addOnPlanIds\\\",\\\"@gclid\\\",\\\"@isEarlyStage\\\",\\\"@isPro\\\",\\\"@navStep\\\",\\\"@price\\\",\\\"@solutionId\\\",\\\"@solutionPrice\\\",\\\"@totalAmount\\\",\\\"@partnerSource\\\",\\\"@earlyStagePartnerWithoutMessenger\\\"],[[32,0,[\\\"addOnPlanIds\\\"]],[32,0,[\\\"gclid\\\"]],[32,0,[\\\"isEarlyStage\\\"]],[32,0,[\\\"isPro\\\"]],1,[32,0,[\\\"model\\\"]],[32,0,[\\\"solutionId\\\"]],[32,0,[\\\"model\\\"]],[32,0,[\\\"model\\\",\\\"amount\\\"]],[32,0,[\\\"partnerSource\\\"]],[32,0,[\\\"earlyStagePartnerWithoutMessenger\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"flex flex-row justify-center signup__teams__body__container\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,2],[[30,[36,1],null,null]],null]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[8,\\\"google-tag-manager-frame-component\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"],[8,\\\"signup/heap\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"-outlet\\\",\\\"component\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/signup/teams.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"DD93Uqt/\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[2,\\\"\\\\n\\\"],[10,\\\"div\\\"],[14,1,\\\"signup_body\\\"],[15,0,[31,[\\\"layout__box o__flexes-to-1 \\\",[30,[36,0],[[32,0,[\\\"mobileDevice\\\"]],\\\"o__has-rows\\\",\\\"o__has-columns\\\"],null]]]],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"layout__box o__flexes-to-1 \\\",[30,[36,1],[[32,0,[\\\"mobileDevice\\\"]],\\\"overflow-y-scroll\\\"],null]]]],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__teams__form\\\"],[12],[2,\\\"\\\\n      \\\"],[8,\\\"signup/teams/heading\\\",[],[[\\\"@heading\\\",\\\"@isDeveloper\\\"],[[32,0,[\\\"signupHeader\\\"]],[32,0,[\\\"developer\\\"]]]],null],[2,\\\"\\\\n      \\\"],[8,\\\"signup/teams/form-component\\\",[],[[\\\"@appName\\\",\\\"@authenticatedAdmin\\\",\\\"@companySize\\\",\\\"@department\\\",\\\"@email\\\",\\\"@emailSubmissionId\\\",\\\"@formTask\\\",\\\"@gclid\\\",\\\"@isDeveloper\\\",\\\"@mobileDevice\\\",\\\"@name\\\",\\\"@password\\\",\\\"@phoneNumber\\\",\\\"@phoneCountryCode\\\",\\\"@solutionId\\\",\\\"@talon\\\",\\\"@viaSingleSignOn\\\"],[[32,0,[\\\"appInstall\\\",\\\"appName\\\"]],[32,0,[\\\"appInstall\\\",\\\"authenticatedAdmin\\\"]],[32,0,[\\\"appInstall\\\",\\\"companySize\\\"]],[32,0,[\\\"appInstall\\\",\\\"department\\\"]],[32,0,[\\\"email\\\"]],[32,0,[\\\"emailSubmissionId\\\"]],[32,0,[\\\"formTask\\\"]],[32,0,[\\\"gclid\\\"]],[32,0,[\\\"developer\\\"]],[32,0,[\\\"mobileDevice\\\"]],[32,0,[\\\"appInstall\\\",\\\"name\\\"]],[32,0,[\\\"appInstall\\\",\\\"password\\\"]],[32,0,[\\\"phoneNumber\\\"]],[32,0,[\\\"selectedCountryCode\\\"]],[32,0,[\\\"solutionId\\\"]],[32,0,[\\\"appInstall\\\",\\\"talon\\\"]],[32,0,[\\\"appInstall\\\",\\\"viaSingleSignOn\\\"]]]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"mb-4\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"signup__teams__p2\\\"],[12],[2,\\\"\\\\n        By clicking \\\\\\\"Register\\\\\\\" you agree to Intercom's \\\"],[10,\\\"a\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,6,\\\"https://www.intercom.com/terms-and-policies#terms\\\"],[12],[2,\\\"\\\\n          Terms of\\\\n          Service\\\\n        \\\"],[13],[2,\\\"\\\\n        and \\\"],[10,\\\"a\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[14,6,\\\"https://www.intercom.com/terms-and-policies#privacy\\\"],[12],[2,\\\"\\\\n          Privacy\\\\n          Policy.\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"unless\\\"]}\",\"meta\":{\"moduleName\":\"embercom/templates/signup/teams/index.hbs\"}});","export default Ember.HTMLBars.template({\"id\":\"n7l5oNe4\",\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"flex flex-col items-center flex-1 p-10 overflow-y-scroll\\\"],[12],[2,\\\"\\\\n  \\\"],[8,\\\"video/personalized-video-player\\\",[[24,5,\\\"max-width: 980px\\\"]],[[\\\"@videoKey\\\"],[[32,0,[\\\"videoKey\\\"]]]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\"meta\":{\"moduleName\":\"embercom/templates/video.hbs\"}});","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Transform from '@ember-data/serializer/transform';\nimport { isArray } from '@ember/array';\n\nexport default Transform.extend({\n  deserialize(serialized) {\n    return isArray(serialized) ? serialized : [];\n  },\n  serialize(deserialized) {\n    return isArray(deserialized) ? deserialized : [];\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Transform from '@ember-data/serializer/transform';\nimport CompanySummary from 'embercom/models/company-summary';\n\nexport default Transform.extend({\n  deserialize(serialized) {\n    return serialized.map(s => {\n      return CompanySummary.create(s);\n    });\n  },\n  serialize(deserialized) {\n    return deserialized;\n  },\n});\n","// @pat - We currently override the base FragmentArrayTransform to always return an array, even when the attr is null/undefined\n// See the following issue for more details https://github.com/lytics/ember-data-model-fragments/issues/238#issuecomment-298405050\nimport FragmentArrayTransform from 'ember-data-model-fragments/transforms/fragment-array';\nimport { isNone } from '@ember/utils';\n\nexport default FragmentArrayTransform.extend({\n  deserialize(serialized) {\n    if (isNone(serialized)) {\n      return this._super([]);\n    }\n\n    return this._super(serialized);\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport Transform from '@ember-data/serializer/transform';\nimport { isEmpty } from '@ember/utils';\n\n// From ember-data-model-fragments README...\n// Relationships to Models\n// Currently, fragments cannot have normal belongsTo or hasMany relationships. This is not a technical limitation,\n// but rather due to the fact that relationship management in Ember Data is in a state of flux and would require\n// accessing private (and changing) APIs\n\n// We have at least one relationship from a model fragment to a model (spamming-stats => user)\n// This transform is a reasonable alternative for now.\n\nexport default Transform.extend({\n  deserialize(serialized, opts = {}) {\n    if (!serialized) {\n      return serialized;\n    }\n    if (isEmpty(opts.modelName)) {\n      throw new Error('You must supply a model name');\n    }\n    this.store.pushPayload({ [opts.modelName]: serialized });\n    return serialized.map(s => this.store.peekRecord(opts.modelName, s.id));\n  },\n\n  serialize(deserialized = []) {\n    if (!deserialized) {\n      return deserialized;\n    }\n    return deserialized.map(d => d.serialize());\n  },\n});\n","import FragmentTransform from 'ember-data-model-fragments/transforms/fragment';\nexport default FragmentTransform;\n","import move from 'ember-animated/motions/move';\nimport { fadeOut, fadeIn } from 'ember-animated/motions/opacity';\nimport { serial, wait } from 'ember-animated';\nimport ENV from 'embercom/config/environment';\n\nexport const SUGGESTED_ANSWERS_ANIMATION_LENGTH = ENV.APP._250MS;\n\nexport default function(tmap) {\n  tmap.transition(\n    tmap.hasClass('animate__suggested-answer-clusters-container'),\n    tmap.toValue(true),\n    tmap.use('explode', {\n      pick: '.animate__suggested-answer-clusters',\n      use: ['toLeft', { duration: SUGGESTED_ANSWERS_ANIMATION_LENGTH, easing: 'easeOutQuad' }],\n    }),\n    tmap.toValue(function(toValue) {\n      return toValue.get('slideDirection') === 'next';\n    }),\n  );\n\n  tmap.transition(\n    tmap.hasClass('animate__suggested-answer-clusters-container'),\n    tmap.toValue(true),\n    tmap.use('explode', {\n      pick: '.animate__suggested-answer-clusters',\n      use: ['toRight', { duration: SUGGESTED_ANSWERS_ANIMATION_LENGTH, easing: 'easeOutQuad' }],\n    }),\n    tmap.toValue(function(toValue) {\n      return toValue.get('slideDirection') === 'previous';\n    }),\n  );\n\n  tmap.transition(\n    tmap.hasClass('animate__answer-progress'),\n    tmap.toValue(true),\n    tmap.toValue(function(toValue, fromValue) {\n      return toValue > fromValue;\n    }),\n    tmap.use('bounce', { duration: ENV.APP._1000MS }),\n  );\n\n  tmap.transition(tmap.hasClass('animate__answer-bot__first-results'), tmap.use('fade'));\n\n  tmap.transition(\n    tmap.hasClass('animate__answer-bot__example-loaded'),\n    tmap.use('fade', { duration: ENV.APP._300MS }),\n  );\n}\n\nexport function* answerListAcceptRejectTransition({\n  keptSprites,\n  removedSprites,\n  insertedSprites,\n}) {\n  yield removedSprites.forEach(x => fadeOut(x, { duration: ENV.APP._250MS }));\n  yield keptSprites.forEach(\n    serial(\n      () => wait(ENV.APP._100MS),\n      x => move(x, { duration: ENV.APP._250MS }),\n    ),\n  );\n  yield insertedSprites.forEach(\n    serial(\n      () => wait(ENV.APP._350MS),\n      x => fadeIn(x, { duration: ENV.APP._250MS }),\n    ),\n  );\n}\n\n// this is the length of the longest animation from the block above.\nexport const NEW_ANSWER_ANIMATION_LENGTH = ENV.APP._600MS;\n","export default function(tmap) {\n  tmap.transition(tmap.hasClass('campaign__overlay-fade'), tmap.use('fade'));\n}\n","export default function(tmap) {\n  tmap.transition(tmap.hasClass('content-editor__animated-sidebar'), tmap.use('fading-flex-grow'));\n}\n","export default function(tmap) {\n  tmap.transition(tmap.hasClass('animation__feed'), tmap.use('crossFade'));\n}\n","export default function(tmap) {\n  tmap.transition(\n    tmap.hasClass('message-editor___expanded-panel__main'),\n    tmap.toValue(true),\n    tmap.use('flex-grow'),\n    tmap.reverse('fade'),\n  );\n  tmap.transition(\n    tmap.hasClass('message-editor__optional-panel__show'),\n    tmap.toValue(true),\n    tmap.use('flex-grow'),\n  );\n  tmap.transition(tmap.hasClass('animation__flex-grow'), tmap.use('fading-flex-grow'));\n  tmap.transition(\n    tmap.hasClass('animation__flex-grow-and-then-focus'),\n    tmap.use('fading-flex-grow', {\n      complete(elements) {\n        if (typeof elements === 'object' && typeof elements[0] === 'object') {\n          let input = elements[0].querySelector('.f__text');\n          if (input !== null) {\n            input.focus();\n          }\n        }\n      },\n    }),\n  );\n  tmap.transition(tmap.hasClass('message-editor__completed__show'), tmap.use('scale'));\n  tmap.transition(\n    tmap.hasClass('message__editor__content__sidebar'),\n    tmap.toValue(true),\n    tmap.use('toRight'),\n    tmap.reverse('toLeft'),\n  );\n}\n","export default function(tmap) {\n  tmap.transition(\n    tmap.hasClass('onboarding__home__liquid-container'),\n    tmap.toValue(true),\n    tmap.use('toRight', { duration: 700 }),\n    tmap.reverse('toLeft', { duration: 700 }),\n  );\n}\n","import { serial, wait, parallel } from 'ember-animated';\nimport ENV from 'embercom/config/environment';\nimport { fadeOut, fadeIn } from 'ember-animated/motions/opacity';\n\nexport default function(tmap) {\n  tmap.transition(tmap.hasClass('onboarding__image-fade'), tmap.use('crossFade'));\n\n  tmap.transition(tmap.hasClass('onboarding__checklist-slide'), tmap.use('flex-grow'));\n}\n\nexport const GUIDE_ASSISTANT_TEXT_TRANSITION_DURATION = ENV.APP._250MS;\nexport function* guideAssistantTextTransition({ insertedSprites, removedSprites }) {\n  yield removedSprites.forEach(\n    parallel(sprite => {\n      fadeOut(sprite, { duration: ENV.APP._100MS });\n    }),\n  );\n\n  let newLineWaitDuration = 0;\n\n  let newLineWait = 0;\n  if (insertedSprites.length <= 1) {\n    newLineWait = ENV.APP._400MS;\n  } else {\n    newLineWait = ENV.APP._200MS;\n  }\n\n  yield insertedSprites.forEach(\n    serial(\n      () => wait((newLineWaitDuration += newLineWait)),\n      sprite => {\n        fadeIn(sprite, { duration: ENV.APP._250MS });\n      },\n    ),\n  );\n}\n","export default function(tmap) {\n  tmap.transition(\n    tmap.hasClass('product-card-transition'),\n    tmap.toValue(true),\n    tmap.use('flip', { duration: 100 }),\n    tmap.reverse('flip', { duration: 100, reverse: true }),\n  );\n  tmap.transition(\n    tmap.hasClass('product-card-key-features-transition'),\n    tmap.toValue(true),\n    tmap.use('toDown', { duration: 300 }),\n    tmap.reverse('toUp', { duration: 300 }),\n  );\n}\n","import AnswersTransitions from 'embercom/transition-maps/answers-transitions';\nimport MessageEditorTransitions from 'embercom/transition-maps/message-editor-transitions';\nimport CampaignTransitions from 'embercom/transition-maps/campaign-transitions';\nimport OnboardingTransitions from 'embercom/transition-maps/onboarding-transitions';\nimport FeedTransitions from 'embercom/transition-maps/feed-transitions';\nimport ProductCardTransitions from 'embercom/transition-maps/product-card-transitions';\nimport ContentEditorTransitions from 'embercom/transition-maps/content-editor-transitions';\nimport OnboardingHomeTransitions from 'embercom/transition-maps/onboarding-home-transitions';\n\nexport default function() {\n  AnswersTransitions(this);\n  CampaignTransitions(this);\n  OnboardingTransitions(this);\n  MessageEditorTransitions(this);\n  FeedTransitions(this);\n  ProductCardTransitions(this);\n  ContentEditorTransitions(this);\n  OnboardingHomeTransitions(this);\n}\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { animate, stop } from 'liquid-fire';\n\nexport default function bounce(opts) {\n  stop(this.oldElement);\n\n  let container = this.oldElement.parent('.liquid-container');\n  container.css({\n    overflow: 'visible',\n  });\n\n  let newOpts = { ...opts, loop: 1, duration: 150, easing: 'easeInOutSine' };\n  return animate(this.oldElement, { scale: 1.05 }, newOpts).then(() =>\n    animate(this.newElement, { visible: true }, opts),\n  );\n}\n","define(\"embercom/transitions/cross-fade\", [\"exports\", \"liquid-fire/transitions/cross-fade\"], function (_exports, _crossFade) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _crossFade.default;\n    }\n  });\n});\n","define(\"embercom/transitions/default\", [\"exports\", \"liquid-fire/transitions/default\"], function (_exports, _default) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _default.default;\n    }\n  });\n});\n","define(\"embercom/transitions/explode\", [\"exports\", \"liquid-fire/transitions/explode\"], function (_exports, _explode) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _explode.default;\n    }\n  });\n});\n","define(\"embercom/transitions/fade\", [\"exports\", \"liquid-fire/transitions/fade\"], function (_exports, _fade) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _fade.default;\n    }\n  });\n});\n","import { animate, stop, Promise } from 'liquid-fire';\n\nexport default function fadingFlexGrow(opts) {\n  stop(this.oldElement);\n  return Promise.all([\n    animate(this.oldElement, { 'flex-grow': 0, opacity: 0 }, opts),\n    animate(this.newElement, { 'flex-grow': [1, 0], opacity: [1, 0] }, opts),\n  ]);\n}\n","define(\"embercom/transitions/flex-grow\", [\"exports\", \"liquid-fire/transitions/flex-grow\"], function (_exports, _flexGrow) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _flexGrow.default;\n    }\n  });\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\nimport { animate, Promise, isAnimating, finish } from 'liquid-fire';\n\nlet findFlippingElement = function(context) {\n  for (let i = 0; i < context.older.length; i++) {\n    let entry = context.older[i];\n    if (isAnimating(entry.element, 'flip-out')) {\n      return entry.element;\n    }\n  }\n  if (isAnimating(context.oldElement, 'flip-out')) {\n    return context.oldElement;\n  }\n};\n\nexport default function(options) {\n  let firstStep;\n  let flippingElement = findFlippingElement(this);\n\n  if (!options) {\n    options = {};\n  }\n\n  if (flippingElement) {\n    // We still have some older version that is in the process of\n    // revealing, so our first step is waiting for it to finish.\n    firstStep = finish(flippingElement, 'flip-out');\n  } else {\n    firstStep = Promise.resolve();\n  }\n\n  return firstStep.then(() => {\n    let firstRotation = {};\n    let secondRotation = {};\n\n    if (options['reverse']) {\n      firstRotation['rotateY'] = '90deg';\n      secondRotation['rotateY'] = ['0deg', '-90deg'];\n    } else {\n      firstRotation['rotateY'] = '-90deg';\n      secondRotation['rotateY'] = ['0deg', '90deg'];\n    }\n\n    let duration = options.duration ? options.duration : 150;\n    let firstOpts = { duration };\n    let secondOpts = {\n      easing: 'easeInSine',\n      duration,\n    };\n\n    let container = this.oldElement.parent('.liquid-container');\n    container.css({\n      perspective: options.perspective ? options.perspective : '1000px',\n      overflow: 'visible',\n    });\n\n    this.newElement.css('visibility', 'hidden');\n    return animate(this.oldElement, firstRotation, firstOpts, 'flip-out').then(() => {\n      this.oldElement.css('visibility', 'hidden');\n      this.newElement.css('visibility', '');\n      return animate(this.newElement, secondRotation, secondOpts, 'flip-out').then(() => {\n        container.css({\n          perspective: '',\n          overflow: '',\n        });\n      });\n    });\n  });\n}\n","define(\"embercom/transitions/fly-to\", [\"exports\", \"liquid-fire/transitions/fly-to\"], function (_exports, _flyTo) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _flyTo.default;\n    }\n  });\n});\n","define(\"embercom/transitions/move-over\", [\"exports\", \"liquid-fire/transitions/move-over\"], function (_exports, _moveOver) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _moveOver.default;\n    }\n  });\n});\n","define(\"embercom/transitions/scale\", [\"exports\", \"liquid-fire/transitions/scale\"], function (_exports, _scale) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _scale.default;\n    }\n  });\n});\n","define(\"embercom/transitions/scroll-then\", [\"exports\", \"liquid-fire/transitions/scroll-then\"], function (_exports, _scrollThen) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _scrollThen.default;\n    }\n  });\n});\n","define(\"embercom/transitions/to-down\", [\"exports\", \"liquid-fire/transitions/to-down\"], function (_exports, _toDown) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _toDown.default;\n    }\n  });\n});\n","define(\"embercom/transitions/to-left\", [\"exports\", \"liquid-fire/transitions/to-left\"], function (_exports, _toLeft) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _toLeft.default;\n    }\n  });\n});\n","define(\"embercom/transitions/to-right\", [\"exports\", \"liquid-fire/transitions/to-right\"], function (_exports, _toRight) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _toRight.default;\n    }\n  });\n});\n","define(\"embercom/transitions/to-up\", [\"exports\", \"liquid-fire/transitions/to-up\"], function (_exports, _toUp) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _toUp.default;\n    }\n  });\n});\n","define(\"embercom/transitions/wait\", [\"exports\", \"liquid-fire/transitions/wait\"], function (_exports, _wait) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _wait.default;\n    }\n  });\n});\n","export default {\"early_stage\":{\"already_graduated\":\"You have already graduated from the early stage program. Please contact support if you have any questions.\",\"apply\":\"Intercom für die Anfangsphase einsetzen\",\"apply_telling\":\"Erzählen Sie uns über Ihr Unternehmen und erstellen Sie ein Intercom-Konto, um sich zu bewerben! Danach können Sie sofort loslegen!\",\"back_to_app\":\"Zurück zur App\",\"company_information\":\"Firmendaten\",\"create_account\":\"Konto erstellen und Antrag abschicken\",\"dropdown\":{\"less_than\":\"Weniger als {number}\",\"more_than\":\"Mehr als {number}\",\"or_more\":\"{number} oder mehr\"},\"email_used\":\"Diese E-Mail-Adresse wird bereits verwendet. Wenn Sie sich mit einer bestehenden App für Intercom für die Anfangsphase bewerben möchten, wenden Sie sich bitte an den Support.\",\"error_submit\":\"Der Antrag konnte nicht abgeschickt werden. Bitte wenden Sie sich an den Support.\",\"error_submitted\":\"Sie haben Ihren Antrag bereits eingereicht\",\"existing_application\":\"You already have an active application for the Early Stage program. Please contact support if you have any questions.\",\"existing_early_stage_customer\":\"You are already in the Early Stage program. If you need to restart your subscription please contact support.\",\"intent\":{\"all\":\"Alle oben genannten Punkte\",\"capture\":\"Leads erfassen und umwandeln\",\"onboard\":\"Kunden onboarden und engagieren\",\"other\":\"Sonstige\",\"retain\":\"Kunden unterstützen und binden\",\"support\":\"Self-Service-Support bereitstellen\"},\"labels\":{\"company_crunchbase\":\"Crunchbase des Unternehmens (optional)\",\"company_linkedin\":\"LinkedIn-Account des Unternehmens (optional)\",\"company_name\":\"Firmenname\",\"company_website\":\"Webseite des Unternehmens\",\"employees\":\"Mitarbeiter\",\"funding_received\":\"Erhaltene Finanzierung\",\"incubator_affiliation\":\"Inkubatoraufnahme (optional)\",\"intent\":\"Was möchten Sie mit Intercom machen?\",\"intent_other\":\"Was möchten Sie sonst noch mit Intercom machen?\",\"what_company_do\":\"Was macht Ihre Firma?\",\"when_aprooved\":\"Wann Sind Sie Teil des Partner-Startup-Programms geworden?\",\"year_funded\":\"Gründungsjahr\"},\"placeholder\":{\"company_crunchbase\":\"Crunchbase-Seite Ihrer App/Ihres Unternehmens\",\"company_linkedin\":\"LinkedIn-Seite Ihrer App/Ihres Unternehmens\",\"company_name\":\"Name Ihrer App/Firmenname\",\"company_website\":\"Website Ihrer App/Firmen-Website\",\"employees\":\"Wählen Sie eine Mitarbeiterzahl aus\",\"funding_received\":\"Wählen Sie eine Finanzierungsstufe aus\",\"intent\":\"Sagen Sie uns, was Sie machen möchten\",\"intent_other\":\"Sagen Sie uns in 250 Zeichen, was Sie mit Intercom machen möchten. Wir würden gerne erfahren, wie unsere Kunden in der Anfangsphase Intercom nutzen!\",\"what_company_do\":\"Erzählen Sie uns in 500 Zeichen, was Ihr Unternehmen macht, damit wir die Community unseres Anfangsphasen-Programms kennenlernen!\",\"year_funded\":\"Gründungsjahr wählen\"},\"submit\":\"Antrag einreichen\",\"submitting\":\"Wird eingereicht...\",\"success\":\"Sie haben sich erfolgreich für die Anfangsphase beworben!\",\"success_qualify\":\"Wir informieren Sie innerhalb 1 Werktags, ob Ihr Unternehmen die Qualifikationen erfüllt. Wenn Ihr Antrag genehmigt wird, wird Ihr Unternehmen automatisch Teil des Programms\",\"tell_us\":\"Erzählen Sie uns über Ihr Unternehmen\",\"thanks\":\"Vielen Dank für die Bewerbung!\",\"trial\":{\"headline\":\"Vielen Dank für die Bewerbung!\",\"label\":\"Legen Sie gleich kostenlos mit Intercom los, während wir Ihre Angaben überprüfen.\",\"loading\":\"Setup-Anleitung wird geladen\",\"start\":\"Starten Sie Ihr Abonnement\",\"starting\":\"Starten Sie Ihr Abonnement\",\"subheadline\":\"Wir informieren Sie innerhalb 1 Werktags, ob Ihr Unternehmen die Qualifikationen erfüllt. Wenn Ihr Antrag genehmigt wird, wird Ihr Unternehmen automatisch Teil des Programms\"},\"validations\":{\"company_description\":\"Firmenbeschreibung ist erforderlich.\",\"company_name\":\"Firmenname ist erforderlich.\",\"company_website\":\"Firmenwebsite ist erforderlich.\",\"date\":\"Eintrittsdatum ist erforderlich.\",\"employees\":\"Mitarbeiterzahl ist erforderlich.\",\"funding_received\":\"Finanzierungsstufe ist erforderlich.\",\"intent\":\"Erforderlich.\",\"intent_other\":\"Erforderlich\",\"year_funded\":\"Gründungsjahr ist erforderlich.\"},\"your_information\":\"Ihre Angaben\"},\"generic\":{\"continue\":\"Weiter\",\"error\":\"Etwas hat nicht geklappt. Bitte wenden Sie sich an den Support.\",\"get_started\":\"Loslegen\",\"get_started_now\":\"Jetzt loslegen\",\"month\":\"Monat\",\"or\":\"oder\",\"sign_out\":\"Abmelden\",\"year\":\"Jahr\"},\"months\":{\"april\":\"April\",\"august\":\"August\",\"december\":\"Dezember\",\"february\":\"Februar\",\"january\":\"Januar\",\"july\":\"Juli\",\"june\":\"Juni\",\"march\":\"März\",\"may\":\"Mai\",\"november\":\"November\",\"october\":\"Oktober\",\"september\":\"September\"},\"onboarding\":{\"button\":{\"back\":\"Zurück\",\"next\":\"Weiter\",\"preview\":\"Vorschau\",\"skip\":\"Setup überspringen\"},\"input\":{\"can_change_sublabel\":\"Sie können dies jederzeit ändern\",\"color\":\"Farbe auswählen\",\"company_name_placeholder\":\"Firmenname\",\"full_name_placeholder\":\"Voller Name\",\"upload_photo\":\"Hochladen\",\"website_address_placeholder\":\"www.beispiel.de\",\"welcome_message_placeholder\":\"Hallo! Lassen Sie mich wissen, wenn Sie Fragen haben! Ich helfe Ihnen gerne weiter!\"},\"steps\":{\"admin_info\":\"Sagen Sie Hallo zu Ihren neuen Kunden\",\"create_account\":\"Erstellen Sie Ihr Konto\",\"create_account_sub\":\"Geben Sie ein Passwort ein, um die Anmeldung abzuschließen\",\"customize_color\":\"Passen Sie den Messenger an Ihre Marke an\",\"intro\":\"Geben Sie zuerst Ihre Website-Adresse ein\",\"intro_sub\":\"Erhalten Sie eine Vorschau des Messengers auf Ihrer Website, bevor er live geht\",\"welcome_message\":\"Starten Sie das Gespräch mit einer kurzen Nachricht\"}},\"powered_by\":\"Powered by\",\"products\":{\"articles\":{\"per_product_description\":\"Erstellen und veröffentlichen Sie Hilfe-Inhalte in einer öffentlichen Wissensdatenbank.\",\"pricing_metric\":\"{price} monatlicher Fixpreis\",\"toggled_features\":{\"article_suggestions\":\"Artikelvorschläge\",\"content_importer\":\"Import von Inhalten\",\"custom_branding\":\"Individuelle Anpassung an die Marke\",\"public_help_center\":\"Öffentliches Hilfecenter\",\"search_analytics\":\"Suchanalysen\"},\"toggled_per_product_description\":\"Erstellen und veröffentlichen Sie Hilfe-Inhalte in einer öffentlichen Wissensdatenbank.\",\"toggled_pro_features\":{\"article_suggestions\":\"Artikelvorschläge\",\"content_importer\":\"Import von Inhalten\",\"custom_branding\":\"Individuelle Anpassung an die Marke\",\"public_help_center\":\"Öffentliches Hilfecenter\",\"search_analytics\":\"Suchanalysen\"}},\"inbox\":{\"per_product_description\":\"Verwalten, beantworten und lösen Sie Gespräche mit Leads und Kunden als Team.\",\"per_product_description_long\":\"Mit einem Inbox-Arbeitsplatz erhält ein Teammitglied Zugriff auf das Inbox-Produkt. Ein Teammitglied ist ein Mitarbeiter Ihres Unternehmens mit Intercom-Konto. Sie können kostenlos unbegrenzt viele Teammitglieder haben und entscheiden dann, wer Zugriff auf einen bezahlten Inbox-Arbeitsplatz erhält.\",\"pricing_metric\":\"{price} pro Arbeitsplatz x 2 Arbeitsplätze inklusive\",\"toggled_features\":{\"assign_conversations\":\"Gespräche zuweisen\",\"email_social_chat\":\"E-Mail, soziale Medien, Chat\",\"office_hours\":\"Bürozeiten\",\"operator_bot\":\"Operator-Bot\",\"saved_replies\":\"Gespeicherte Antworten\"},\"toggled_per_product_description\":\"Verwalten und beantworten Sie Gespräche mit Leads und Kunden als Team.\",\"toggled_pro_features\":{\"meeting_scheduling\":\"Terminplanung\",\"reporting\":\"Berichte\",\"round_robin\":\"Rundenweise Zuteilung\",\"salesforce_integration\":\"Salesforce-Integration\",\"satisfaction_surveys\":\"Zufriedenheitsumfragen\"}},\"messages\":{\"per_product_description\":\"Senden Sie zielgerichtete E-Mails, In-App- und Push-Nachrichten an Leads und Kunden.\",\"per_product_description_long\":\"Der Preis für die Nachrichten-Funktion hängt von den aktiven Personen ab. Aktive Personen sind Ihre Leads und Kunden, die innerhalb der letzten 90 Tage von Ihnen eine Nachricht erhalten haben, Ihnen eine Nachricht geschickt haben oder sich in Ihrer App bzw. auf Ihrer Website angemeldet haben.\",\"per_product_description_long_for_maps\":\"Der Preis für Nachrichten wird für monatlich aktive Personen festgelegt. Monatlich aktive Personen sind Ihre Leads und Kunden, die in den letzten 30 Tagen eine Nachricht von Ihnen erhalten, eine Nachricht an Sie gesendet oder sich in Ihre App oder Website eingeloggt haben.\",\"starts_with_description\":\"Beginnen Sie mit 100 monatlichen aktiven Personen zum Preis von {price}\",\"starts_with_high_description\":\"Beginnen Sie mit 200 aktiven Personen zum Preis von {price}\",\"toggled_features\":{\"audience_targeting\":\"Ansprache des Zielpublikums\",\"auto_and_manual_messages\":\"Automatische und manuelle Nachrichten\",\"message_scheduling\":\"Nachrichtenplanung\",\"messages_customization\":\"Anpassung von Nachrichten\",\"trigger_times\":\"Auslösezeiten\"},\"toggled_per_product_description\":\"Senden Sie zielgerichtete E-Mails, In-App- und Push-Nachrichten an Leads und Kunden.\",\"toggled_pro_features\":{\"a_b_testing\":\"A/B-Tests\",\"branding\":\"Individuelle Anpassung an die Marke\",\"delivery_window\":\"E-Mail-Zustellfenster\",\"email_templates\":\"Individuelle E-Mail-Vorlagen\",\"smart_campaigns\":\"Intelligente Kampagnen\"}}},\"shared\":{\"company_size_dropdown\":{\"employees\":\"Mitarbeiter\",\"placeholder\":\"Wählen Sie die Unternehmensgröße\"},\"department_select_dropdown\":{\"customer_support\":\"Kundendienst\",\"design\":\"Design\",\"engineering\":\"Entwicklung\",\"founder\":\"Gründer / CEO\",\"marketing\":\"Marketing\",\"other\":\"Sonstige\",\"placeholder\":\"Wählen Sie Ihre Position\",\"product_management\":\"Produktmanagement\",\"sales\":\"Sales\"}},\"sign_up\":{\"confirm_subscription\":\"Bestätigen Sie Ihr Abonnement\",\"edit_subscription\":\"Bearbeiten Sie Ihr Abonnement\",\"nav_heading\":\"Loslegen\",\"new\":{\"account_setup\":\"Kontoeinrichtung\",\"add_a_product_to_see\":\"Fügen Sie ein Produkt zu Ihrer Testversion hinzu, um die Preise anzusehen.\",\"add_coupon\":\"Gutscheincode hinzufügen\",\"already_using_intercom\":\"Verwenden Sie Intercom bereits?\",\"app_name\":\"App-Name\",\"app_name_desc\":\"Ihr neuer App-Name\",\"apply\":\"Einlösen\",\"apply_coupon\":\"Gutscheincode einlösen\",\"back\":\"Zurück\",\"cancel_anytime\":\"Jederzeit kündigen\",\"change\":\"Ändern\",\"chat_with_sales\":\"Chat mit dem Vertrieb\",\"company_error\":\"Name wird benötigt\",\"company_size\":\"Firmengrösse\",\"create\":\"Eine neue App erstellen\",\"create_account\":\"Erstellen Sie Ihr Konto\",\"create_company\":\"Die Intercom App Ihres Unternehmens erstellen\",\"creating\":\"Wird erstellt...\",\"customize_free_trial\":\"Passen Sie Ihre kostenlose Testversion an\",\"days_free\":\"14 Tage kostenlos\",\"estimated_total\":\"Geschätzte Gesamtsumme nach der Testversion\",\"flip_it\":\"Zurücksetzen\",\"form\":{\"app_cannot_be_blank\":\"Die App darf nicht leer sein\",\"country_cannot_be_blank\":\"Das Land darf nicht leer sein\",\"create_account\":\"Konto erstellen\",\"creating\":\"Wird erstellt\",\"email_cannot_be_blank\":\"Die E-Mail-Adresse darf nicht leer sein\",\"name_cannot_be_blank\":\"Der Name darf nicht leer sein\",\"next\":\"Weiter\",\"password_cannot_be_blank\":\"Das Passwort darf nicht leer sein\",\"start_free_trial\":\"Kostenlose Testversion beginnen\",\"starting\":\"Beginnen\",\"state_cannot_be_blank\":\"Das Bundesland darf nicht leer sein\"},\"get_started\":\"Loslegen\",\"new_price\":\"Preis\",\"no_payment\":\"Heute keine Zahlung\",\"payment_details\":\"Zahlungsdetails\",\"plan_selector\":{\"basic_features_only\":\"Nur Grundfunktionen\",\"essential_plan\":\"Essential-Plan\",\"everything_plus\":\"Alles, das im Essential-Plan enthalten ist, plus\",\"most_popular\":\"Beliebteste\"},\"pricing\":\"Preise\",\"product_cards\":{\"add_to_trial\":\"Testen\",\"and_more\":\"und mehr\",\"free\":\"kostenlos\",\"from\":\"von\",\"includes\":\"Umfasst\",\"per_month\":\"/Monat\",\"see_pricing_tiers\":\"Preisgruppen ansehen\",\"select\":\"Wählen\",\"try\":\"Testen\",\"try_articles_free\":\"Kostenlos testen\"},\"sign_in\":\"Anmelden\",\"sign_in_to_apply\":\"Einloggen, um sich anzumelden\",\"sign_out\":\"Abmelden\",\"signed_up_with_google\":\"Sie sind mit Google angemeldet!\",\"start_free_trial\":\"Kostenlose Testversion beginnen\",\"start_instructions\":\"Stellen Sie Informationen über Ihr Unternehmen bereit, um Intercom für Ihr Team und Ihre Kunden anzupassen\",\"start_subscription_inside_app\":\"Sie können ein Abonnement für eines unserer Produkte innerhalb der Intercom-App starten.\",\"terms_of_service_card_being_charged\":\"Ihre Kreditkarte wird monatlich belastet. Die Gebühren können je nach Verrechnung variieren.\",\"terms_of_service_start_free_trial\":\"Wenn Sie auf \\\"Kostenlose Testversion beginnen\\\" klicken, Stimmen Sie den <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\">Nutzungsbedingungen</a> und <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\">Datenschutzrichtlinien</a> von Intercom zu.\",\"total_after_trial\":\"Preis\",\"total_starting_price\":\"Gesamter Startpreis\",\"track_with_platform\":\"Oder Kundendaten mit der folgenden Plattform nachverfolgen:\",\"use_case_selector\":{\"intent\":\"Was möchten Sie mit Intercom machen?\",\"start_with_all\":\"Alle oben genannten Punkte\",\"trial_message\":\"Testen Sie Intercom 14 Tage lang kostenlos. Jederzeit kündbar.\",\"try_all_long\":\"Testen Sie alle drei Produkte 14 Tage lang kostenlos und erleben Sie hautnah, was Intercom für Ihr Unternehmen alles tun kann.\",\"try_all_short\":\"Testen Sie alle Produkte von Intercom\"},\"what_do_you_want\":\"Was möchten Sie mit Intercom machen?\",\"your_total\":\"Preis\"},\"start\":{\"form\":{\"company\":\"Firmenname\",\"company_placeholder\":\"Ihre App/Firmenname\",\"company_size\":\"Firmengröße\",\"name\":\"Ihr Name\",\"name_placeholder\":\"Vor- und Nachname\",\"password\":\"Passwort\",\"password_placeholder\":\"Passwort (mindestens 10 Zeichen)\",\"phone_number\":\"Telefonnummer\",\"phone_number_placeholder\":\"Ihre Telefonnummer\",\"role\":\"Rolle\",\"submit\":\"Konto erstellen\",\"submit_new_app\":\"Eine neue App erstellen\",\"submitting\":\"Wird erstellt...\",\"terms_of_service\":\"Ich stimme Intercom's <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\"> Nutzungsbedingungen </a> und <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\"> Datenschutzerklärung </a> zu.\",\"terms_of_service_create_account\":\"Wenn Sie auf \\\"Konto erstellen\\\" klicken, stimmen Sie Intercoms <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\"> Nutzungsbedingungen</a> und <a href = \\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\"> Datenschutzerklärung </a>.\",\"terms_of_service_create_account_with_cta\":\"Wenn Sie auf \\\"{cta}\\\" klicken, stimmen Sie den <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\"> Nutzungsbedingungen </a> und der <a href = zu \\\"{privacyPolicyURL}\\\" target = \\\"_ blank\\\" rel = \\\"noopener\\\" class = \\\"text-blue-dark\\\"> Datenschutzerklärung </a> von Intercom zu.\",\"terms_of_service_create_new_app\":\"Wenn Sie auf \\\"Eine neue App erstellen\\\" klicken, stimmen Sie Intercoms <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\"> Nutzungsbedingungen</a> und <a href =\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\"> Datenschutzerklärung </a>.\",\"terms_of_service_sso_invite_sign_up\":\"Wenn Sie auf \\\"Anmelden mit Google\\\" klicken, stimmen Sie Intercoms <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Servicebedingungen</a> and <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Privacy Policy</a> zu.\",\"work_email\":\"Geschäftliche E-Mail\",\"work_email_alert\":\"👋&nbsp;&nbsp; Haben Sie eine geschäftliche E-Mail-Adresse?\",\"work_email_placeholder\":\"name@ihrunternehmen.com\"},\"google_sso\":{\"cta\":\"Mit Google registrieren\",\"heading\":\"Sie sind mit Ihrem Google-Konto angemeldet!\",\"next_steps\":\"Als Nächstes geben Sie Informationen über Ihr Unternehmen an, damit wir Intercom an Ihre Anforderungen anpassen können.\"},\"heading\":\"Erstellen Sie ein Konto bei Intercom\",\"option_divider\":\"ODER\",\"product_summary\":{\"capture\":\"Erfassen Sie mehr Leads und schließen Sie mehr Angebote ab\",\"educate\":\"Lösen Sie Kundenprobleme schneller mit einem integrierten Help Desk und Wissensbasis.\",\"engage\":\"Senden Sie gezielte E-Mail und In-App-Nachrichten, um Kunden zu gewinnen, an sie mehr zu verkaufen und um sie zu binden.\",\"onboard\":\"Machen Sie mehr Anmeldungen zu aktiven, wertvollen Kunden\",\"respond\":\"Beantworten Sie Fragen schnell und starten Sie Konversationen proaktiv mit Live-Chat.\",\"retain\":\"Zeigen Sie Ihren Kunden, dass Sie für sie da sind. Verändern Sie Ihren Kundensupport.\",\"support\":\"Bieten Sie Self-Service-Support und schnellere Antworten für Ihre Kunden.\"},\"sales_solution_summary\":{\"integrate\":\"Mit Salesforce, Clearbit und mehr integrieren\",\"qualify_leads\":\"Leads mit unserem Bot Operator qualifizieren\",\"target_messages\":\"Zielgerichtete Nachrichten an Leads senden\"},\"with_intercom\":\"Mit Intercom können Sie\",\"with_sales_solution\":\"Mit dem Live-Chat für den Vertrieb können Sie\"},\"trial\":{\"educate\":\"Starten Sie eine kostenlose Testversion und bieten Sie Ihren Kunden <br> einen Weg, sich selbst zu helfen\",\"engage\":\"Starten Sie eine kostenlose Testversion, um <br> automatisierte ausgehende Nachrichten zu erstellen\",\"generic\":\"Starten Sie eine kostenlose Testversion, um alles zu sehen, <br> was Sie mit Intercom machen können\",\"generic_wb\":\"Starten Sie eine kostenlose Testversion, um alles Neue <br> mit Intercom zu sehen.\",\"live_chat_sales_solution\":\"Starten Sie eine kostenlose Testversion, um Kunden zu helfen <br> und Besucher schneller zu konvertieren\",\"live_chat_solution\":\"Starten Sie eine kostenlose Testversion, um Kunden zu helfen <br> und Besucher schneller zu konvertieren\",\"loading\":\"Lädt...\",\"operator_view\":\"Starten Sie eine kostenlose Testversion unserer Produkte <br> Respond und Educate, um Operator zu nutzen\",\"respond\":\"Starten Sie eine kostenlose Testversion, damit Ihr Team Anfragen schnell und persönlich <br> beantworten kann\",\"start_product_trial\":\"Starten Sie jetzt Ihre Testversion von {productName}\",\"start_trial\":\"Starten Sie Ihre Testversion jetzt\",\"success\":\"Erfolgreich abgeschlossen! Weiter zum Setup\",\"support_solution\":\"Starten Sie eine kostenlose Testversion, damit Ihr Team persönlichen Kunden-support im großen Umfang bieten kann\",\"try_platform\":\"Oder <a href=\\\"{linkUrl}\\\"> testen Sie einige Konversationen </a> auf der Intercom-Plattform.\",\"try_platform_paid_messenger\":\"Oder <a href=\\\"{linkUrl}\\\">verfolgen Sie Ihre Kundendaten</a> auf der Intercom-Plattform\"},\"update_subscription\":\"Aktualisieren Sie Ihr Abonnement\"},\"solutions\":{\"capture_and_convert\":{\"description\":\"Leads erfassen und umwandeln\",\"detailed_description\":\"Nutzen Sie Bots und den Live-Chat, um schneller mehr Leads automatisch zu qualifizieren, weiterzuleiten und umzuwandeln.\"},\"onboarding\":{\"description\":\"Kunden onboarden und engagieren\",\"detailed_description\":\"Senden Sie zielgerichtete E-Mails, In-App- und Push-Nachrichten, um mehr Neuanmeldungen zu Kunden zu machen.\"},\"retain\":{\"description\":\"Kunden unterstützen und binden\",\"detailed_description\":\"Verwenden Sie E-Mails und Nachrichten, um schnellere Antworten und Lösungen zu erhalten.\"}},\"submit\":\"Registrieren\",\"terms_of_service_create_account\":\"Wenn Sie auf \\\"Registrieren\\\" klicken, stimmen Sie den <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Nutzungsbedingungen</a> und <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Datenschutzrichtlinien</a> von Intercom zu.\",\"work_email\":\"Geschäftliche E-Mail\"};","export default {\"early_stage\":{\"already_graduated\":\"You have already graduated from the early stage program. Please contact support if you have any questions.\",\"apply\":\"Apply to Intercom for Early Stage\",\"apply_telling\":\"Apply by telling us about your company and creating an Intercom account. Get started right away after you apply!\",\"back_to_app\":\"Back To Workspace\",\"company_information\":\"Company information\",\"create_account\":\"Create Account and Submit Application\",\"dropdown\":{\"less_than\":\"Less than {number}\",\"more_than\":\"More than {number}\",\"or_more\":\"{number} or more\"},\"email_used\":\"This email is already in use. If you’d like to apply for Intercom for Early Stage with an existing app, please reach out to support.\",\"error_submit\":\"The application could not be submitted. Please contact support.\",\"error_submitted\":\"You've already submitted your application\",\"existing_application\":\"You already have an active application for the Early Stage program. Please contact support if you have any questions.\",\"existing_early_stage_customer\":\"You are already in the Early Stage program. If you need to restart your subscription please contact support.\",\"intent\":{\"all\":\"All of the above\",\"capture\":\"Capture and convert leads\",\"onboard\":\"Onboard and engage customers\",\"other\":\"Other\",\"retain\":\"Support and retain customers\",\"support\":\"Provide self service support\"},\"labels\":{\"company_crunchbase\":\"Company Crunchbase (optional)\",\"company_linkedin\":\"Company LinkedIn (optional)\",\"company_name\":\"Company name\",\"company_website\":\"Company website\",\"employees\":\"Employees\",\"funding_received\":\"Funding Received\",\"incubator_affiliation\":\"Incubator affiliation (optional)\",\"intent\":\"What do you want to do with Intercom?\",\"intent_other\":\"What else do you want to do with Intercom?\",\"what_company_do\":\"What does your company do?\",\"when_aprooved\":\"When did you join the approved startup partner’s program?\",\"year_funded\":\"Year founded\"},\"placeholder\":{\"company_crunchbase\":\"Your app/company Crunchbase page\",\"company_linkedin\":\"Your app/company LinkedIn page\",\"company_name\":\"Your app/company name\",\"company_website\":\"Your app/company website\",\"employees\":\"Select an employee count\",\"funding_received\":\"Select a funding level\",\"intent\":\"Tell us what you want to do\",\"intent_other\":\"Tell us in 250 characters what you want to do with Intercom. We like to know how our Early Stage customers use Intercom!\",\"what_company_do\":\"Tell us in 500 characters what your company does. We like getting to know our Early Stage community!\",\"year_funded\":\"Select year founded\"},\"submit\":\"Submit Application\",\"submitting\":\"Submitting…\",\"success\":\"You've successfully applied for Early Stage!\",\"success_qualify\":\"We will let you know within 1 business day whether your company qualifies. If your application is approved, you will automatically enter the program\",\"tell_us\":\"Tell us about your company\",\"thanks\":\"Thanks for applying!\",\"trial\":{\"headline\":\"Thanks for applying!\",\"label\":\"Start using Intercom right away for free while we verify your eligibility.\",\"loading\":\"Loading start guide\",\"start\":\"Start your subscription\",\"starting\":\"Starting your subscription\",\"subheadline\":\"We will let you know within 1 business day whether your company qualifies. If your application is approved, you will automatically enter the program.\"},\"validations\":{\"company_description\":\"Company description is required.\",\"company_name\":\"Company name is required.\",\"company_website\":\"Company website is required.\",\"date\":\"Join date is required.\",\"employees\":\"Employee count is required.\",\"funding_received\":\"Funding level is required.\",\"intent\":\"Required.\",\"intent_other\":\"Required\",\"year_funded\":\"Year founded is required.\"},\"your_information\":\"Your information\"},\"generic\":{\"continue\":\"Continue\",\"error\":\"Something went wrong. Please contact support.\",\"get_started\":\"Get Started\",\"get_started_now\":\"Get started now\",\"month\":\"Month\",\"or\":\"or\",\"sign_out\":\"Sign out\",\"year\":\"Year\"},\"months\":{\"april\":\"April\",\"august\":\"August\",\"december\":\"December\",\"february\":\"February\",\"january\":\"January\",\"july\":\"July\",\"june\":\"June\",\"march\":\"March\",\"may\":\"May\",\"november\":\"November\",\"october\":\"October\",\"september\":\"September\"},\"onboarding\":{\"button\":{\"back\":\"Back\",\"next\":\"Next\",\"preview\":\"Preview\",\"skip\":\"Skip set up\"},\"input\":{\"can_change_sublabel\":\"You can change this anytime\",\"color\":\"Choose a color\",\"company_name_placeholder\":\"Company Name\",\"full_name_placeholder\":\"Full Name\",\"upload_photo\":\"Upload\",\"website_address_placeholder\":\"www.example.com\",\"welcome_message_placeholder\":\"Hey there! Let me know if you have any questions! I’d be happy to help.\"},\"steps\":{\"admin_info\":\"Say hello to your new customers\",\"create_account\":\"Create your account\",\"create_account_sub\":\"All you need to do to finish signing up is enter your password\",\"customize_color\":\"Style your messenger to match your brand\",\"intro\":\"Start by entering your website address\",\"intro_sub\":\"Preview messenger on your website before it goes live\",\"welcome_message\":\"Start the conversation with a short message\"}},\"powered_by\":\"Powered by\",\"products\":{\"articles\":{\"per_product_description\":\"Create and publish help content to a public knowledge base.\",\"pricing_metric\":\"{price} flat monthly price\",\"toggled_features\":{\"article_suggestions\":\"Article suggestions\",\"content_importer\":\"Content importer\",\"custom_branding\":\"Custom branding\",\"public_help_center\":\"Public help center\",\"search_analytics\":\"Search analytics\"},\"toggled_per_product_description\":\"Create and publish help content to a public knowledge base.\",\"toggled_pro_features\":{\"article_suggestions\":\"Article suggestions\",\"content_importer\":\"Content importer\",\"custom_branding\":\"Custom branding\",\"public_help_center\":\"Public help center\",\"search_analytics\":\"Search analytics\"}},\"inbox\":{\"per_product_description\":\"Manage, reply, and resolve conversations with leads and customers as a team.\",\"per_product_description_long\":\"An Inbox Seat gives a Teammate access to the Inbox product. A Teammate is anyone in your company with an Intercom account. You can have unlimited Teammates for free and choose which of them have a paid Inbox Seat.\",\"pricing_metric\":\"{price} per seat x 2 seats included\",\"toggled_features\":{\"assign_conversations\":\"Assign conversations\",\"email_social_chat\":\"Email, social, chat\",\"office_hours\":\"Office hours\",\"operator_bot\":\"Operator bot\",\"saved_replies\":\"Saved replies\"},\"toggled_per_product_description\":\"Manage and reply to conversations with leads and customers as a team.\",\"toggled_pro_features\":{\"meeting_scheduling\":\"Meeting scheduling\",\"reporting\":\"Reporting\",\"round_robin\":\"Round robin assignment\",\"salesforce_integration\":\"Salesforce Integration\",\"satisfaction_surveys\":\"Satisfaction surveys\"}},\"messages\":{\"per_product_description\":\"Send targeted email, in-app and push messages to leads and customers.\",\"per_product_description_long\":\"Messages is priced on Active People. Active People are your leads and customers who received a message from you, sent a message to you, or have logged into your app or website, in the past 90 days.\",\"per_product_description_long_for_maps\":\"Messages is priced on Monthly Active People. Monthly Active People are your leads and customers who received a message from you, sent a message to you, or have logged into your app or website, in the past 30 days.\",\"starts_with_description\":\"Starts with 100 Monthly Active People at {price}\",\"starts_with_high_description\":\"Starts with 200 Active People at {price}\",\"toggled_features\":{\"audience_targeting\":\"Audience targeting\",\"auto_and_manual_messages\":\"Auto and manual messages\",\"message_scheduling\":\"Message scheduling\",\"messages_customization\":\"Message customization\",\"trigger_times\":\"Trigger times\"},\"toggled_per_product_description\":\"Send targeted email, in-app & push messages to leads & customers.\",\"toggled_pro_features\":{\"a_b_testing\":\"A/B testing\",\"branding\":\"Custom branding\",\"delivery_window\":\"Email delivery windows\",\"email_templates\":\"Custom email templates\",\"smart_campaigns\":\"Smart campaigns\"}}},\"shared\":{\"company_size_dropdown\":{\"employees\":\"employees\",\"placeholder\":\"Select company size\"},\"department_select_dropdown\":{\"customer_support\":\"Customer support\",\"design\":\"Design\",\"engineering\":\"Engineering\",\"founder\":\"Founder/CEO\",\"marketing\":\"Marketing\",\"other\":\"Other\",\"placeholder\":\"Select your role\",\"product_management\":\"Product management\",\"sales\":\"Sales\"}},\"sign_up\":{\"confirm_subscription\":\"Confirm your subscription\",\"edit_subscription\":\"Edit subscription\",\"nav_heading\":\"Get started\",\"new\":{\"account_setup\":\"Account setup\",\"add_a_product_to_see\":\"Add a product to your trial to see pricing.\",\"add_coupon\":\"Add coupon code\",\"already_using_intercom\":\"Already using Intercom?\",\"app_name\":\"Workspace name\",\"app_name_desc\":\"Your new workspace name\",\"apply\":\"Apply\",\"apply_coupon\":\"Apply code\",\"back\":\"Back\",\"cancel_anytime\":\"Cancel anytime\",\"change\":\"Change\",\"chat_with_sales\":\"Chat with sales\",\"company_error\":\"Name is required\",\"company_size\":\"Company size\",\"create\":\"Create New Workspace\",\"create_account\":\"Create your account\",\"create_company\":\"Create your company’s Intercom workspace\",\"creating\":\"Creating…\",\"customize_free_trial\":\"Customize your free trial\",\"days_free\":\"14 days free\",\"estimated_total\":\"Estimated total after trial\",\"flip_it\":\"Flip it back\",\"form\":{\"create_account\":\"Create Account\",\"creating\":\"Creating\",\"next\":\"Next\",\"start_free_trial\":\"Start free trial\",\"starting\":\"Starting\"},\"get_started\":\"Get started\",\"new_price\":\"New price\",\"no_payment\":\"No payment today\",\"payment_details\":\"Payment details\",\"plan_selector\":{\"basic_features_only\":\"Basic features only\",\"essential_plan\":\"Essential plan\",\"everything_plus\":\"Everything in Essential, plus\",\"most_popular\":\"Most popular\"},\"pricing\":\"pricing\",\"product_cards\":{\"add_to_trial\":\"Add to your trial\",\"and_more\":\"and more\",\"free\":\"free\",\"from\":\"from\",\"includes\":\"Includes\",\"per_month\":\"/mo\",\"see_pricing_tiers\":\"See pricing tiers\",\"select\":\"Select a plan\",\"try\":\"Try\",\"try_articles_free\":\"Try Articles free\"},\"sign_in\":\"Sign in\",\"sign_in_to_apply\":\"Sign in to apply\",\"sign_out\":\"Sign out\",\"signed_up_with_google\":\"You're signed up with google!\",\"start_free_trial\":\"Start free trial\",\"start_instructions\":\"Provide information about your company to customize Intercom for your team and customers.\",\"start_subscription_inside_app\":\"You can start a subscription to any of our products inside the Intercom app\",\"terms_of_service_card_being_charged\":\"Your credit card will be charged monthly & your fees may vary based on how we bill\",\"terms_of_service_start_free_trial\":\"By clicking \\\"Start free trial\\\" you agree to Intercom’s <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\">Terms of Service</a> and <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\">Privacy Policy</a>.\",\"total_after_trial\":\"Total starting price after free trial\",\"total_starting_price\":\"Total starting price\",\"track_with_platform\":\"Or, track customer data with Platform\",\"use_case_selector\":{\"intent\":\"What do you want to do with Intercom?\",\"start_with_all\":\"Start with all products\",\"trial_message\":\"Try Intercom, free for 14 days. Cancel anytime.\",\"try_all_long\":\"Try all three products to experience everything Intercom can do for your business, free for 14 days.\",\"try_all_short\":\"Try all of Intercom\"},\"what_do_you_want\":\"What do you want to do with Intercom?\",\"your_total\":\"Your total\"},\"start\":{\"form\":{\"company\":\"Company name\",\"company_placeholder\":\"Your app/company name\",\"company_size\":\"Company size\",\"name\":\"Your name\",\"name_placeholder\":\"Your full name\",\"password\":\"Password\",\"password_placeholder\":\"Password (at least 10 characters)\",\"phone_number\":\"Phone Number\",\"phone_number_placeholder\":\"Your phone number\",\"role\":\"Role\",\"submit\":\"Sign up\",\"submit_new_app\":\"Create New App\",\"submitting\":\"Creating…\",\"terms_of_service\":\"X\",\"terms_of_service_create_account\":\"By clicking “Sign up” you agree to Intercom’s <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\">Terms of Service</a> and <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\">Privacy Policy</a>.\",\"terms_of_service_create_account_with_cta\":\"By clicking “{cta}” you agree to Intercom’s <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Terms of Service</a> and <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Privacy Policy</a>.\",\"terms_of_service_create_new_app\":\"By clicking “Create New Workspace” you agree to Intercom’s <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Terms of Service</a> and <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Privacy Policy</a>.\",\"terms_of_service_sso_invite_sign_up\":\"By clicking “Sign Up with Google” you agree to Intercom’s <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Terms of Service</a> and <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Privacy Policy</a>.\",\"work_email\":\"Work email\",\"work_email_alert\":\"👋&nbsp;&nbsp;Do you have a work email?\",\"work_email_placeholder\":\"you@yourcompany.com\"},\"google_sso\":{\"cta\":\"Sign Up with Google\",\"heading\":\"You’re signed up with your Google account!\",\"next_steps\":\"Next, provide information about your company to help us tailor Intercom to you.\"},\"heading\":\"Create an account with Intercom\",\"option_divider\":\"OR\",\"product_summary\":{\"capture\":\"Capture more leads and close more deals.\",\"educate\":\"Solve customer problems faster with an integrated help desk and knowledge base.\",\"engage\":\"Send targeted email and in-app messages to onboard, upsell, and retain customers.\",\"onboard\":\"Turn more signups into active, valuable customers.\",\"respond\":\"Answer questions fast and start conversations proactively with live chat.\",\"retain\":\"Show customers that you care. Transform your customer support.\",\"support\":\"Provide self-service support and give customers answers faster.\"},\"sales_solution_summary\":{\"integrate\":\"Integrate with Salesforce, Clearbit and more\",\"qualify_leads\":\"Qualify leads with our bot, Operator\",\"target_messages\":\"Send targeted messages to leads\"},\"with_intercom\":\"With Intercom, you can\",\"with_sales_solution\":\"With Live Chat for Sales, you can\"},\"trial\":{\"educate\":\"Start a free trial to give your customers <br> a way to help themselves\",\"engage\":\"Start a free trial to create <br> automated outbound messages\",\"generic\":\"Start a free trial to see everything <br> you can do with Intercom\",\"generic_wb\":\"Start a free trial to see everything <br> new with Intercom\",\"live_chat_sales_solution\":\"Start a free trial to help customers <br> and convert visitors faster\",\"live_chat_solution\":\"Start a free trial to help customers <br> and convert visitors faster\",\"loading\":\"Loading...\",\"operator_view\":\"Start a free trial of our products <br> Respond and Educate to use Operator\",\"respond\":\"Start a free trial to provide prompt, personal <br> answers from your whole team\",\"start_product_trial\":\"Start your trial of {productName} now\",\"start_trial\":\"Start your trial now\",\"success\":\"Success! Continue to setup\",\"support_solution\":\"Start a free trial so your team can <br> provide personal support at scale\",\"try_platform\":\"Or <a href=\\\"{linkUrl}\\\">try out some conversations</a> on the Intercom Platform.\",\"try_platform_paid_messenger\":\"Or just <a href=\\\"{linkUrl}\\\">track your customer data</a> on the Intercom Platform.\"},\"update_subscription\":\"Update subscription\"},\"solutions\":{\"capture_and_convert\":{\"description\":\"Capture and convert leads\",\"detailed_description\":\"Use bots and live chat to automatically qualify, route and convert more leads faster.\"},\"onboarding\":{\"description\":\"Onboard and engage customers\",\"detailed_description\":\"Send targeted email, in-app and push messages to turn more signups into customers.\"},\"retain\":{\"description\":\"Support and retain customers\",\"detailed_description\":\"Use email and messaging to get quicker responses and faster resolutions.\"}},\"submit\":\"Sign up\",\"terms_of_service_create_account\":\"By clicking “Sign up” you agree to Intercom’s <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\">Terms of Service</a> and <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\">Privacy Policy</a>.\",\"work_email\":\"Work email\"};","export default {\"early_stage\":{\"already_graduated\":\"Ya te has graduado del programa Early Stage. Póngase en contacto con el servicio de asistencia si tiene alguna pregunta.\",\"apply\":\"Solicite Intercom para Early Stage\",\"apply_telling\":\"Ingrese, díganos sobre su empresa y haga una cuenta de Intercom. ¡Comience tan pronto como lo solicite!\",\"back_to_app\":\"Volver a la aplicación\",\"company_information\":\"Información de la empresa\",\"create_account\":\"Crear cuenta y enviar solicitud\",\"dropdown\":{\"less_than\":\"Menos de {number}\",\"more_than\":\"Más de {number}\",\"or_more\":\"{number} o más\"},\"email_used\":\"Este correo electrónico ya está en uso. Si desea solicitar Intercom para Early Stage con una aplicación existente, comuníquese con asistencia al cliente.\",\"error_submit\":\"No se pudo enviar la solicitud. Póngase en contacto con asistencia al cliente.\",\"error_submitted\":\"Ya envió su solicitud.\",\"existing_application\":\"Ya tiene una aplicación activa para el programa Early Stage. Póngase en contacto con el servicio de asistencia si tiene alguna pregunta.\",\"existing_early_stage_customer\":\"Ya estás en el programa Early Stage. Si necesita reiniciar su suscripción, póngase en contacto con el servicio de asistencia.\",\"intent\":{\"all\":\"Todas las opciones anteriores\",\"capture\":\"Capture y convierta a los clientes potenciales\",\"onboard\":\"Incorpore y eduque a los clientes\",\"other\":\"Otro\",\"retain\":\"Proporcione asistencia y conserve clientes\",\"support\":\"Proporcione soporte de autoservicio\"},\"labels\":{\"company_crunchbase\":\"Crunchbase de empresa (optional)\",\"company_linkedin\":\"LinkedIn de empresa (opcional)\",\"company_name\":\"Nombre de la empresa\",\"company_website\":\"Sitio web de la empresa\",\"employees\":\"Empleados\",\"funding_received\":\"Financiación recibida\",\"incubator_affiliation\":\"Afiliación a Incubator (opcional)\",\"intent\":\"¿Qué desea hacer con Intercom?\",\"intent_other\":\"¿Qué más desea hacer con Intercom?\",\"what_company_do\":\"¿A qué se dedica su empresa?\",\"when_aprooved\":\"¿Cuándo se unió al programa del socio de inicio aprobado?\",\"year_funded\":\"Año de fundación\"},\"placeholder\":{\"company_crunchbase\":\"Su página de Crunchbase de la aplicación/empresa\",\"company_linkedin\":\"Su página de LinkedIn de la aplicación/empresa\",\"company_name\":\"Nombre de la aplicación/empresa\",\"company_website\":\"El sitio web de su aplicación/empresa\",\"employees\":\"Seleccione la cantidad de empleados\",\"funding_received\":\"Seleccione un nivel de financiación\",\"intent\":\"Díganos qué desea hacer\",\"intent_other\":\"Cuéntenos en 250 caracteres lo que desea hacer con Intercom. ¡Nos gustaría saber cómo nuestros clientes de la primera etapa utilizan Intercom!\",\"what_company_do\":\"Cuéntenos en 500 caracteres lo que hace su empresa. ¡Nos gusta conocer a nuestra comunidad de Inicio temprano!\",\"year_funded\":\"Seleccione el año de fundación\"},\"submit\":\"Enviar solicitud\",\"submitting\":\"Enviando…\",\"success\":\"¡Ingreso con éxito a Early Stage!\",\"success_qualify\":\"Le informaremos dentro de un día laboral si su empresa califica. Si su solicitud está aprobada, su empresa entrará automáticamente en el programa\",\"tell_us\":\"Cuéntenos acerca de su empresa\",\"thanks\":\"¡Gracias por solicitar!\",\"trial\":{\"headline\":\"¡Gracias por solicitar!\",\"label\":\"Comience a usar Intercom de forma inmediata y gratuita mientras verificamos los requisitos.\",\"loading\":\"Cargando la guía de configuración\",\"start\":\"Inicie su suscripción\",\"starting\":\"Iniciando su suscripción\",\"subheadline\":\"Le informaremos dentro de un día laboral si su empresa califica. Si su solicitud aprueba, su empresa entrará automáticamente en el programa.\"},\"validations\":{\"company_description\":\"Se requiere descripción de la empresa.\",\"company_name\":\"El nombre de la empresa es obligatorio.\",\"company_website\":\"Se requiere el sitio web de la empresa.\",\"date\":\"Se requiere una fecha de inscripción.\",\"employees\":\"Se requiere la cantidad de empleados.\",\"funding_received\":\"Se requiere nivel de financiación.\",\"intent\":\"Requerido.\",\"intent_other\":\"Requerido\",\"year_funded\":\"Se requiere el año de fundación.\"},\"your_information\":\"Su información\"},\"generic\":{\"continue\":\"Continuar\",\"error\":\"Algo salió mal. Póngase en contacto con asistencia al cliente.\",\"get_started\":\"Comenzar\",\"get_started_now\":\"Comienza ahora\",\"month\":\"Mes\",\"or\":\"o\",\"sign_out\":\"Cerrar sesión\",\"year\":\"Año\"},\"months\":{\"april\":\"Abril\",\"august\":\"Agosto\",\"december\":\"Diciembre\",\"february\":\"Febrero\",\"january\":\"Enero\",\"july\":\"Julio\",\"june\":\"Junio\",\"march\":\"Marzo\",\"may\":\"Mayo\",\"november\":\"Noviembre\",\"october\":\"Octubre\",\"september\":\"Septiembre\"},\"onboarding\":{\"button\":{\"back\":\"Atrás\",\"next\":\"Siguiente\",\"preview\":\"Vista previa\",\"skip\":\"Omitir configuración\"},\"input\":{\"can_change_sublabel\":\"Puede cambiar esto en cualquier momento\",\"color\":\"Elija un color\",\"company_name_placeholder\":\"Nombre de la empresa\",\"full_name_placeholder\":\"Nombre completo\",\"upload_photo\":\"Cargar\",\"website_address_placeholder\":\"www.ejemplo.com\",\"welcome_message_placeholder\":\"¡Hola! ¡Dime si tienes una pregunta! Con gusto ayudaré.\"},\"steps\":{\"admin_info\":\"Saluda a tus nuevos clientes\",\"create_account\":\"Haga su cuenta\",\"create_account_sub\":\"Todo lo que necesita para terminar el registro es introducir su contraseña\",\"customize_color\":\"Estilice Messenger a la medida de su empresa\",\"intro\":\"Comience por introducir la dirección de su sitio web\",\"intro_sub\":\"Previsualice Messenger en tu sitio web antes de publicarlo\",\"welcome_message\":\"Inicie la conversación con un mensaje corto\"}},\"powered_by\":\"Desarrollado por\",\"products\":{\"articles\":{\"per_product_description\":\"Cree y publique contenido de ayuda en una base de conocimiento pública.\",\"pricing_metric\":\"{price} precio fijo mensual\",\"toggled_features\":{\"article_suggestions\":\"Sugerencias de artículos\",\"content_importer\":\"Importador de contenidos\",\"custom_branding\":\"Branding personalizado\",\"public_help_center\":\"Centro público de ayuda\",\"search_analytics\":\"Análisis de búsqueda\"},\"toggled_per_product_description\":\"Cree y publique contenido de ayuda en una base de conocimiento pública.\",\"toggled_pro_features\":{\"article_suggestions\":\"Sugerencias de artículos\",\"content_importer\":\"Importador de contenidos\",\"custom_branding\":\"Branding personalizado\",\"public_help_center\":\"Centro público de ayuda\",\"search_analytics\":\"Análisis de búsqueda\"}},\"inbox\":{\"per_product_description\":\"Administre, responda y resuelva en equipo las conversaciones con clientes potenciales y clientes existentes.\",\"per_product_description_long\":\"Un Asiento de Inbox le da a un Compañero de Equipo acceso al producto Inbox. Un Compañero de Equipo es cualquier persona en su empresa que posee una cuenta de Intercom. Puede tener Compañeros de Equipo ilimitados de forma gratuita y elegir cuál de ellos tiene un Asiento de Inbox pago.\",\"pricing_metric\":\"{price} por asiento x 2 asientos incluidos\",\"toggled_features\":{\"assign_conversations\":\"Asigne conversaciones\",\"email_social_chat\":\"Correo electrónico, red social, chat\",\"office_hours\":\"Horario de oficina\",\"operator_bot\":\"Bot Operator\",\"saved_replies\":\"Respuestas guardadas\"},\"toggled_per_product_description\":\"Administre y responda en equipo las conversaciones con clientes potenciales y clientes existentes.\",\"toggled_pro_features\":{\"meeting_scheduling\":\"Programación de reuniones\",\"reporting\":\"Reportes\",\"round_robin\":\"Asignación de mensajes en cadena\",\"salesforce_integration\":\"Integración con Salesforce\",\"satisfaction_surveys\":\"Encuestas de satisfacción\"}},\"messages\":{\"per_product_description\":\"Envíe correos electrónicos, mensajes dentro de la aplicación y notificaciones push dirigidos a clientes potenciales y clientes existentes.\",\"per_product_description_long\":\"Messages tiene un precio en Personas Activas. Las Personas Activas son sus clientes potenciales y clientes existentes que recibieron un mensaje suyo, le enviaron un mensaje a usted o iniciaron sesión en su aplicación o sitio web en los últimos 90 días.\",\"per_product_description_long_for_maps\":\"Messages tiene un precio en las Personas Activas Mensuales. Las Personas Activas Mensuales son sus clientes potenciales y clientes existentes que recibieron un mensaje suyo, le enviaron un mensaje a usted o iniciaron sesión en su aplicación o sitio web en los últimos 30 días.\",\"starts_with_description\":\"Comienza con 100 Personas Activas Mensuales por {price}\",\"starts_with_high_description\":\"Comienza con 200 Personas Activas por {price}\",\"toggled_features\":{\"audience_targeting\":\"Orientación de la audiencia\",\"auto_and_manual_messages\":\"Mensajes automáticos y manuales\",\"message_scheduling\":\"Programación de mensajes\",\"messages_customization\":\"Personalización del mensaje\",\"trigger_times\":\"Tiempos de activación\"},\"toggled_per_product_description\":\"Envíe correos electrónicos, mensajes dentro de la aplicación y notificaciones push dirigidos a clientes potenciales y clientes existentes.\",\"toggled_pro_features\":{\"a_b_testing\":\"Pruebas A/B\",\"branding\":\"Branding personalizado\",\"delivery_window\":\"Ventanas de entrega de correo electrónico\",\"email_templates\":\"Plantillas personalizadas de correo electrónico\",\"smart_campaigns\":\"Campañas inteligentes\"}}},\"shared\":{\"company_size_dropdown\":{\"employees\":\"empleados\",\"placeholder\":\"Seleccione el tamaño de la empresa\"},\"department_select_dropdown\":{\"customer_support\":\"Atención al cliente\",\"design\":\"Diseño\",\"engineering\":\"Ingeniería\",\"founder\":\"Fundador/Presidente ejecutivo\",\"marketing\":\"Mercadotecnia\",\"other\":\"Otro\",\"placeholder\":\"Seleccione su rol\",\"product_management\":\"Administración de productos\",\"sales\":\"Ventas\"}},\"sign_up\":{\"confirm_subscription\":\"Confirmar su suscripción\",\"edit_subscription\":\"Editar suscripción\",\"nav_heading\":\"Comenzar\",\"new\":{\"account_setup\":\"Configuración de cuenta\",\"add_a_product_to_see\":\"Agregue un producto a su prueba para ver los precios.\",\"add_coupon\":\"Añadir código del cupón\",\"already_using_intercom\":\"¿Ya usa Intercom?\",\"app_name\":\"Nombre de aplicación\",\"app_name_desc\":\"El nombre de su nueva aplicación\",\"apply\":\"Aplicar\",\"apply_coupon\":\"Aplicar código del cupón\",\"back\":\"Volver\",\"cancel_anytime\":\"Cancele en cualquier momento\",\"change\":\"Cambiar\",\"chat_with_sales\":\"Chatear con el equipo de ventas\",\"company_error\":\"Se requiere un nombre\",\"company_size\":\"Tamaño de la empresa\",\"create\":\"Crear Nueva App\",\"create_account\":\"Cree su cuenta\",\"create_company\":\"Crear la app de Intercom de su empresa\",\"creating\":\"Creando...\",\"customize_free_trial\":\"Personalice su prueba gratuita\",\"days_free\":\"14 días gratis\",\"estimated_total\":\"Total estimado después de la prueba\",\"flip_it\":\"Voltéelo hacia atrás\",\"form\":{\"app_cannot_be_blank\":\"La aplicación no puede dejarse en blanco\",\"country_cannot_be_blank\":\"El país no pude dejarse en blanco\",\"create_account\":\"Crear cuenta\",\"creating\":\"Creando\",\"email_cannot_be_blank\":\"El correo electrónico no puede dejarse en blanco\",\"name_cannot_be_blank\":\"El nombre no puede dejarse en blanco\",\"next\":\"Siguiente\",\"password_cannot_be_blank\":\"La contraseña no puede dejarse en blanco\",\"start_free_trial\":\"Empezar la prueba gratuita\",\"starting\":\"Desde\",\"state_cannot_be_blank\":\"El estado no puede dejarse en blanco\"},\"get_started\":\"Comenzar\",\"new_price\":\"Precio\",\"no_payment\":\"Sin pago hoy\",\"payment_details\":\"Detalles del pago\",\"plan_selector\":{\"basic_features_only\":\"Características básicas solamente\",\"essential_plan\":\"Plan de Essential\",\"everything_plus\":\"Todo en Essential, más\",\"most_popular\":\"Más populares\"},\"pricing\":\"tasación\",\"product_cards\":{\"add_to_trial\":\"Agregar a su prueba\",\"and_more\":\"y más\",\"free\":\"gratis\",\"from\":\"desde\",\"includes\":\"Incluye\",\"per_month\":\"/mes\",\"see_pricing_tiers\":\"Ver niveles de precios\",\"select\":\"Seleccione un plan\",\"try\":\"Prueba\",\"try_articles_free\":\"Prueba Articles gratis\"},\"sign_in\":\"Iniciar sesión\",\"sign_in_to_apply\":\"Iniciar sesión para aplicar\",\"sign_out\":\"Cerrar sesión\",\"signed_up_with_google\":\"¡Ha iniciado sesión con google!\",\"start_free_trial\":\"Empezar la prueba gratuita\",\"start_instructions\":\"Proporcione información sobre su empresa para personalizar Intercom para su equipo y clientes\",\"start_instructions_inside_app\":\"Puede iniciar una suscripción a cualquiera de nuestros productos dentro de la aplicación de Intercom\",\"start_subscription_inside_app\":\"Puede iniciar una suscripción a cualquiera de nuestros productos dentro de la aplicación de Intercom\",\"terms_of_service_card_being_charged\":\"Su tarjeta de crédito será cargada mensualmente y sus tarifas pueden variar en función de la manera en que facturamos\",\"terms_of_service_start_free_trial\":\"Al hacer clic en \\\"Empezar la prueba gratuita\\\", usted acepta los Términos de Servicio  y la Política de Privacidad de Intercom.\",\"total_after_trial\":\"Precio\",\"total_starting_price\":\"Precio de inicio total\",\"track_with_platform\":\"O haga un seguimiento de los datos de los clientes con Platform\",\"use_case_selector\":{\"intent\":\"¿Qué desea hacer con Intercom?\",\"start_with_all\":\"Todas las opciones anteriores\",\"trial_message\":\"Pruebe Intercom de manera gratuita por 14 días. Cancele en cualquier momento.\",\"try_all_long\":\"Pruebe los tres productos gratuitamente durante 14 días y experimente todo lo que Intercom puede hacer por su negocio.\",\"try_all_short\":\"Pruebe Intercom en su totalidad\"},\"what_do_you_want\":\"¿Qué desea hacer con Intercom?\",\"your_total\":\"Precio\"},\"start\":{\"form\":{\"company\":\"Nombre de la empresa\",\"company_placeholder\":\"El nombre de su aplicación/empresa\",\"company_size\":\"Tamaño de la empresa\",\"name\":\"Su nombre\",\"name_placeholder\":\"Su nombre completo\",\"password\":\"Contraseña\",\"password_placeholder\":\"Contraseña (al menos 10 caracteres)\",\"phone_number\":\"Número de teléfono\",\"phone_number_placeholder\":\"Su número de teléfono\",\"role\":\"Cargo\",\"submit\":\"Crear Cuenta\",\"submit_new_app\":\"Crear Nueva App\",\"submitting\":\"Creando...\",\"terms_of_service\":\"Acepto estar de acuerdo con los <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\">Términos del servicio</a> de Intercom y con la <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\">Política de privacidad</a>.\",\"terms_of_service_create_account\":\"Al hacer clic en \\\"Crear Cuenta\\\", usted acepta los <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\">Términos del servicio </a> de Intercom y la <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\">Política de privacidad</a>.\",\"terms_of_service_create_account_with_cta\":\"Al hacer clic en “{cta}”, acepta las <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Condiciones de uso</a> y la <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Política de privacidad</a> de Intercom.\",\"terms_of_service_create_new_app\":\"Al hacer clic en \\\"Crear Nueva App\\\", usted acepta los <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Términos del servicio</a> de Intercom y la <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Política de privacidad</a>.\",\"terms_of_service_sso_invite_sign_up\":\"Al hacer clic en \\\"Registrarse con Google\\\", usted acepta las <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Condiciones de Servicio</a> y las <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Políticas de Privacidad</a de Intercom.\",\"work_email\":\"Correo electrónico de trabajo\",\"work_email_alert\":\"👋&nbsp;&nbsp;¿Tiene un correo electrónico de trabajo?\",\"work_email_placeholder\":\"usted@suempresa.com\"},\"google_sso\":{\"cta\":\"Registrarse con Google\",\"heading\":\"¡Se registró con su cuenta de Google!\\n\",\"next_steps\":\"Ahora proporcione información sobre su empresa para ayudarnos a adaptar Intercom para usted.\"},\"heading\":\"Crear una cuenta con Intercom\",\"option_divider\":\"O\",\"product_summary\":{\"capture\":\"Capture más clientes potenciales y cierre más tratos.\",\"educate\":\"Resuelva los problemas de los clientes de una manera más rápida con un servicio de asistencia y una base de conocimientos integrados.\",\"engage\":\"Envíe correos electrónicos específicos y mensajes dentro de la aplicación para captar, aumentar las ventas y retener a los clientes.\",\"onboard\":\"Convierta un mayor número de registros en clientes activos y valiosos.\",\"respond\":\"Conteste las preguntas rápidamente y comience las conversaciones proactivamente con el chat en vivo.\",\"retain\":\"Muéstrele a los clientes que usted se preocupa por ellos. Transforme su servicio de soporte al cliente.\",\"support\":\"Proporcione soporte de autoservicio y ofrezca respuestas a los clientes con mayor rapidez.\"},\"sales_solution_summary\":{\"integrate\":\"Integrar con Salesforce, Clearbit y más\",\"qualify_leads\":\"Calificar a los clientes potenciales con nuestro bot, Operator\",\"target_messages\":\"Enviar mensajes específicos a los clientes potenciales\"},\"with_intercom\":\"Con Intercom, usted puede\",\"with_sales_solution\":\"Con el Chat en Vivo para las Ventas, puede\"},\"trial\":{\"educate\":\"Comience una prueba gratuita para darles a sus clientes <br> una manera de ayudarse a sí mismos\",\"engage\":\"Comience una prueba gratuita para crear <br> mensajes salientes automatizados\",\"generic\":\"Comience una prueba gratuita para ver todo <br> lo que puede hacer con Intercom\",\"generic_wb\":\"Comience una prueba gratuita para ver todo <br> lo nuevo en Intercom\",\"live_chat_sales_solution\":\"Comience una prueba gratuita para ayudar a sus clientes <br> y convertir a los visitantes de manera más rápida\",\"live_chat_solution\":\"Comience una prueba gratuita para ayudar a sus clientes <br> y convertir a los visitantes de manera más rápida\",\"loading\":\"Cargando…\",\"operator_view\":\"Haga una prueba gratuita de nuestros productos <br> Respond y Educate para utilizar Operator\",\"respond\":\"Comience una prueba gratuita para proporcionar <br> respuestas oportunas y personales de todo su equipo\",\"start_product_trial\":\"Comience su prueba de {productName} ahora\",\"start_trial\":\"Comience su prueba ahora\",\"success\":\"¡Éxito! Continuar con la configuración\",\"support_solution\":\"Comience una prueba gratuita para que su equipo pueda <br> proporcionar asistencia personal a gran escala\",\"try_platform\":\"O <a href=\\\"{linkUrl}\\\">pruebe algunas conversaciones </a> en la Plataforma Intercom.\",\"try_platform_paid_messenger\":\"O simplemente <a href=\\\"{linkUrl}\\\"> revise la información de sus clientes</a> en la plataforma de Intercom.\"},\"update_subscription\":\"Actualizar suscripción\"},\"solutions\":{\"capture_and_convert\":{\"description\":\"Capture y convierta a los clientes potenciales\",\"detailed_description\":\"Utilice los bots y el chat en vivo para calificar, encaminar y convertir automáticamente un mayor número de clientes potenciales de una forma más rápida.\"},\"onboarding\":{\"description\":\"Incorpore y eduque a los clientes\",\"detailed_description\":\"Envíe correos electrónicos, mensajes dentro de la aplicación y notificaciones push dirigidos para convertir más suscripciones en clientes.\"},\"retain\":{\"description\":\"Proporcione asistencia y conserve clientes\",\"detailed_description\":\"Utilice el correo electrónico y la mensajería para obtener respuestas más rápidas y resoluciones más rápidas.\"}},\"submit\":\"Registrarse\",\"terms_of_service_create_account\":\"Al hacer clic en \\\"Registrarse\\\", acepta los <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Términos de Servicio </a> de Intercom y la <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Política de Privacidad</a>.\",\"work_email\":\"Correo electrónico del trabajo\"};","export default {\"early_stage\":{\"already_graduated\":\"Vous avez déjà obtenu votre diplôme du programme Early Stage. S'il vous plaît contacter le support si vous avez des questions.\",\"apply\":\"Inscrivez-vous en tant que jeune entreprise\",\"apply_telling\":\"Inscrivez-vous en nous parlant de votre entreprise et en créant un compte Intercom. Commencez immédiatement après votre demande!\",\"back_to_app\":\"Retour à l'application\",\"company_information\":\"Informations sur l’entreprise\",\"create_account\":\"Créez un compte\",\"dropdown\":{\"less_than\":\"Moins de {number}\",\"more_than\":\"Plus de {number}\",\"or_more\":\"{number} ou plus\"},\"email_used\":\"Cette adresse email est déjà utilisée. Si vous souhaitez vous enregistrer en tant que jeune entreprise via une application existante, veuillez contacter l’assistance.\",\"error_submit\":\"La demande d'enregistrement n’a pas pu être aboutir. Veuillez contacter l’assistance.\",\"error_submitted\":\"Votre demande d'enregistrement a déjà été envoyée\",\"existing_application\":\"Vous avez déjà une application active pour le programme Early Stage. S'il vous plaît contacter le support si vous avez des questions.\",\"existing_early_stage_customer\":\"Vous êtes déjà dans le programme Early Stage. Si vous devez redémarrer votre abonnement, veuillez contacter le support.\",\"intent\":{\"all\":\"Tout ce qui précède\",\"capture\":\"Acquérir et convertir des prospects\",\"onboard\":\"Accueillir et interagir avec les clients\",\"other\":\"Autre\",\"retain\":\"Assister et fidéliser les clients\",\"support\":\"Fournir un support en libre-service\"},\"labels\":{\"company_crunchbase\":\"Page Crunchbase de l'entreprise (optionnel)\",\"company_linkedin\":\"Profil LinkedIn de l'entreprise (optionnel)\",\"company_name\":\"Nom de l'entreprise\",\"company_website\":\"Site de l'entreprise\",\"employees\":\"Nombre d'employés\",\"funding_received\":\"Financement reçu\",\"incubator_affiliation\":\"Affiliation à l'incubateur (facultatif)\",\"intent\":\"Que voulez-vous faire avec Intercom ?\",\"intent_other\":\"Que voulez-vous faire d'autre avec Intercom ?\",\"what_company_do\":\"Que fait votre entreprise?\",\"when_aprooved\":\"Quand avez-vous adhéré au programme pour start-up partenaire?\",\"year_funded\":\"Année de création\"},\"placeholder\":{\"company_crunchbase\":\"Page Crunchbase de votre application/entreprise\",\"company_linkedin\":\"Profil LinkedIn de votre entreprise\",\"company_name\":\"Nom de votre application/entreprise\",\"company_website\":\"Site web de votre application/entreprise\",\"employees\":\"Sélectionnez un nombre d'employés\",\"funding_received\":\"Sélectionnez un niveau de financement\",\"intent\":\"Dites-nous ce que vous voulez faire\",\"intent_other\":\"Dites-nous en 250 caractères ce que vous voulez faire avec Intercom. Nous aimons bien savoir comment nos clients Jeunes entreprises utilisent Intercom !\",\"what_company_do\":\"Expliquez-nous ce que fait votre entreprise en 500 caractères. Nous aimons nous familiariser avec notre communauté de jeunes entreprises!\",\"year_funded\":\"Sélectionnez l'année de création de votre entreprise\"},\"submit\":\"Enregistrez-vous\",\"submitting\":\"Envoi en cours\",\"success\":\"Votre demande d'enregistrement en tant que jeune entreprise a bien été envoyée\",\"success_qualify\":\"Nous vous indiquerons sous un jour ouvrable si votre société est admissible. Si votre demande est acceptée, votre société sera automatiquement inscrit au programme\",\"tell_us\":\"Parlez-nous de votre société\",\"thanks\":\"Cotre compte a bien été créé!\",\"trial\":{\"headline\":\"Merci de vous êtes enregistrés!\",\"label\":\"Commencez à utiliser Intercom dès à présent pendant que nous vérifions votre admissibilité.\",\"loading\":\"Chargement du guide d’installation.\",\"start\":\"Commencez votre abonnement\",\"starting\":\"En cours\",\"subheadline\":\"Nous vous indiquerons sous un jour ouvrable si votre société est éligible. Si votre demande est acceptée, votre société sera automatiquement inscrite au programme.\"},\"validations\":{\"company_description\":\"Présentation de la société requise.\",\"company_name\":\"Nom de l'entreprise requis.\",\"company_website\":\"Site web de l'entreprise requis.\",\"date\":\"Année d'adhésion.\",\"employees\":\"Nombre d'employés requis.\",\"funding_received\":\"Niveau de financement requis.\",\"intent\":\"Obligatoire.\",\"intent_other\":\"Obligatoire\",\"year_funded\":\"Année de création requise.\"},\"your_information\":\"Vos informations\"},\"generic\":{\"continue\":\"Continuer\",\"error\":\"Un problème est survenu. Veuillez contacter l’assistance.\",\"get_started\":\"Commencer\",\"get_started_now\":\"Commencer maintenant\",\"month\":\"Mois\",\"or\":\"ou\",\"sign_out\":\"Déconnexion\",\"year\":\"Année\"},\"months\":{\"april\":\"Avril\",\"august\":\"Août\",\"december\":\"Décembre\",\"february\":\"Février\",\"january\":\"Janvier\",\"july\":\"Juillet\",\"june\":\"Juin\",\"march\":\"Mars\",\"may\":\"Mai\",\"november\":\"Novembre\",\"october\":\"Octobre\",\"september\":\"Septembre\"},\"onboarding\":{\"button\":{\"back\":\"Retour\",\"next\":\"Suivant\",\"preview\":\"Aperçu\",\"skip\":\"Ignorer la configuration\"},\"heading\":{\"sales\":\"Chat en direct pour les ventes\"},\"input\":{\"can_change_sublabel\":\"Vous pouvez modifier ceci à tout moment\",\"color\":\"Choisir une couleur\",\"company_name_placeholder\":\"Nom de la société\",\"full_name_placeholder\":\"Nom complet\",\"upload_photo\":\"Charger\",\"website_address_placeholder\":\"www.exemple.com\",\"welcome_message_placeholder\":\"Salut ! Dites-moi si vous avez des questions ! Je serai ravi de vous aider.\"},\"steps\":{\"admin_info\":\"Dites bonjour à vos nouveaux clients\",\"create_account\":\"Créer votre compte\",\"create_account_sub\":\"Pour terminer votre inscription, il vous suffit de saisir votre mot de passe\",\"customize_color\":\"Adaptez le style de votre messagerie à l’image de votre marque\",\"intro\":\"Commencez par saisir l’adresse de votre site web\",\"intro_sub\":\"Prévisualisez la messagerie sur votre site web avant de la mettre en ligne\",\"welcome_message\":\"Débutez la conversation avec un message bref\"}},\"powered_by\":\"Fourni par\",\"products\":{\"articles\":{\"per_product_description\":\"Créer et publier du contenu d'aide dans la base de connaissance publique.\",\"pricing_metric\":\"{price} forfait mensuel\",\"toggled_features\":{\"article_suggestions\":\"Suggestions d'article\",\"content_importer\":\"Importation de contenu\",\"custom_branding\":\"Personnalisation de la marque\",\"public_help_center\":\"Centre d'aide public\",\"search_analytics\":\"Recherche analytique\"},\"toggled_per_product_description\":\"Créer et publier du contenu d'aide dans la base de connaissance publique.\",\"toggled_pro_features\":{\"article_suggestions\":\"Suggestions d'article\",\"content_importer\":\"Importation de contenu\",\"custom_branding\":\"Personnalisation de la marque\",\"public_help_center\":\"Centre d'aide public\",\"search_analytics\":\"Recherche analytique\"}},\"inbox\":{\"per_product_description\":\"Gérer, répondre, et résoudre les problémes avec les prospects et clients en tant qu'équipe.\",\"per_product_description_long\":\"Un compte Inbox donne accés au produit Inbox é un collégue. Un collégue est toute personne dans votre entreprise ayant un compte Intercom. Vous pouvez avoir un nombre illimité de collégues et choisir lequel d'entre eux disposera d'un compte Inbox payant.\",\"pricing_metric\":\"{price} par compte x 2 comptes inclus\",\"toggled_features\":{\"assign_conversations\":\"Assigner des conversations\",\"email_social_chat\":\"Email, réseaux sociaux, chat\",\"office_hours\":\"Heures de travail\",\"operator_bot\":\"Bot Operator\",\"saved_replies\":\"Réponses sauvegardées\"},\"toggled_per_product_description\":\"Gérer et répondre aux conversations des prospects et clients en tant qu'équipe.\",\"toggled_pro_features\":{\"meeting_scheduling\":\"Planification des rendez-vous\",\"reporting\":\"Reporting\",\"round_robin\":\"Travail de Round-robin\",\"salesforce_integration\":\"Intégration avec Salesforce\",\"satisfaction_surveys\":\"Sondages de satisfaction\"}},\"messages\":{\"per_product_description\":\"Envoyer des emails cibles, des messages in-app et push aux prospects et clients.\",\"per_product_description_long\":\"Les messages sont facturés suivant les cibles actives. Les cibles actives sont vos prospects et clients qui ont reéu votre message, vous ont envoyé un message, ou se sont identifiés dans votre application ou sur votre site web, au cours des 90 derniers jours.\",\"per_product_description_long_for_maps\":\"Le prix de Messenger est calculé en fonction du nombre de personnes actives par mois. Les personnes actives par mois correspondent aux prospects et clients qui ont reçu un message de votre part, vous ont envoyé un message ou se sont connectés à votre application ou à votre site Web au cours des 30 derniers jours.\",\"starts_with_description\":\"La facturation commence avec 100 cibles actives par mois é {price}\",\"starts_with_high_description\":\"La facturation commence avec les 200 premiéres cibles actives é {price}\",\"toggled_features\":{\"audience_targeting\":\"Ciblage de l'audienc\",\"auto_and_manual_messages\":\"Messages automatiques et manuels\",\"message_scheduling\":\"Planification des Messages\",\"messages_customization\":\"Personnalisation des Messages\",\"trigger_times\":\"Heures de déclenchement\"},\"toggled_per_product_description\":\"Envoyez des emails ciblés, des messages in-app et push aux prospects et clients.\",\"toggled_pro_features\":{\"a_b_testing\":\"Tests A/B\",\"branding\":\"Personnalisation de la marque\",\"delivery_window\":\"Créneaux d'envoi des emails\",\"email_templates\":\"Modéles d'email personnalisé\",\"smart_campaigns\":\"Campagnes intelligentes\"}}},\"sales_solution_summary\":{\"integrate\":\"Intégrer Salesforce, Clearbit, etc...\",\"qualify_leads\":\"Qualifier les prospects avec notre robot, Operator\",\"target_messages\":\"Envoyer des messages ciblés aux prospects\"},\"shared\":{\"company_size_dropdown\":{\"employees\":\"employés\",\"placeholder\":\"Sélectionnez la taille de l'entreprise\"},\"department_select_dropdown\":{\"customer_support\":\"Assistance à la clientèle\",\"design\":\"Design\",\"engineering\":\"Ingénierie\",\"founder\":\"Fondateur / PDG\",\"marketing\":\"Marketing\",\"other\":\"Autre\",\"placeholder\":\"Sélectionnez votre fonction\",\"product_management\":\"Gestion de produits\",\"sales\":\"Ventes\",\"zero\":\"Autre\"}},\"sign_up\":{\"confirm_subscription\":\"Confirmez votre abonnement\",\"edit_subscription\":\"Modifiez l'abonnement\",\"nav_heading\":\"Commencez\",\"new\":{\"account_setup\":\"Configuration du compte\",\"add_a_product_to_see\":\"Ajoutez un produit é votre essai pour voir les prix.\",\"add_coupon\":\"Ajoutez le code promo\",\"already_using_intercom\":\"Vous utilisez déjà Intercom ?\",\"app_name\":\"Nom d'application\",\"app_name_desc\":\"Votre nouveau nom d'application\",\"apply\":\"Apply\",\"apply_coupon\":\"Appliquer le code promo\",\"back\":\"Back\",\"cancel_anytime\":\"Annuler é n'importe quel moment\",\"change\":\"Change\",\"chat_with_sales\":\"Converser avec l'équipe des ventes\",\"company_error\":\"Nom obligatoire\",\"company_size\":\"Taille de l’entreprise\",\"create\":\"Créer une nouveau application\",\"create_account\":\"Créer votre compte\",\"create_company\":\"Créez l'application Intercom de votre entreprise\",\"creating\":\"Création en cours…\",\"customize_free_trial\":\"Personnaliser votre essai gratuit\",\"days_free\":\"14 jours gratuits\",\"estimated_total\":\"Total estimaté aprés l'essai\",\"flip_it\":\"Retournez-le'\",\"form\":{\"app_cannot_be_blank\":\"L'application ne peut pas étre vide\",\"country_cannot_be_blank\":\"Pays ne peut pas étre vide\",\"create_account\":\"Créer un compte\",\"creating\":\"Creating\",\"email_cannot_be_blank\":\"Email ne peut pas étre vide\",\"name_cannot_be_blank\":\"Nom ne peut pas étre vide\",\"next\":\"Next\",\"password_cannot_be_blank\":\"Mot de passe ne peut pas étre vide\",\"start_free_trial\":\"Commencer l'essai gratuit\",\"starting\":\"Starting\",\"state_cannot_be_blank\":\"Etat ne peut pas étre vide\"},\"get_started\":\"Commencez\",\"new_price\":\"Prix\",\"no_payment\":\"Aucun apiement aujourd'hui\",\"payment_details\":\"Détails de paiement\",\"plan_selector\":{\"basic_features_only\":\"Seulement les caractéristiques de base\",\"essential_plan\":\"Régime Essential\",\"everything_plus\":\"Toutes les options de Essential, plus\",\"most_popular\":\"Plus populaire\"},\"pricing\":\"pricing\",\"product_cards\":{\"add_to_trial\":\"Ajouter é votre essai\",\"and_more\":\"et plus\",\"free\":\"gratuit\",\"from\":\"à partir de\",\"includes\":\"Includes\",\"per_month\":\"/mois\",\"see_pricing_tiers\":\"Voir la grille des prix\",\"select\":\"Sélectionnes\",\"try\":\"Essayer\",\"try_articles_free\":\"Essayer gratuitement\"},\"sign_in\":\"S'identifier\",\"sign_in_to_apply\":\"Connectez-vous pour postuler\",\"sign_out\":\"Déconnexion\",\"signed_up_with_google\":\"Vous vous étes inscrit with google!\",\"start_free_trial\":\"Commencer l'essai gratuit\",\"start_instructions\":\"Fournissez les informations concernant votre entreprise pour personnaliser Intercom pour votre équipe et vos clients\",\"start_subscription_inside_app\":\"Vous pouvez démarrer un abonnement à l'un de nos produits dans l'application Intercom.\",\"terms_of_service_card_being_charged\":\"Votre carte de crédit sera débitée mensuellement et vos frais pourraient varier sur la base de notre modéle de facturation\",\"terms_of_service_start_free_trial\":\"En cliquant \\\"Commencer l'essai gratuit\\\" vous consentez é la <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\">Terms of Service</a> and <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\">Politique de Confidentialité</a> d'Intercom’s.\",\"total_after_trial\":\"Prix\",\"total_starting_price\":\"Prix ​​de départ total\",\"track_with_platform\":\"Ou, suivez les données des clients avec Platform\",\"use_case_selector\":{\"intent\":\"Que voulez-vous faire avec Intercom ?\",\"start_with_all\":\"Tout ce qui précède\",\"trial_message\":\"Essayez Intercom gratuitement pendant 14 jours. Annulez à tout moment.\",\"try_all_long\":\"Essayez les trois produits pour découvrir tout ce qu'Intercom peut apporter à votre entreprise, gratuitement pendant 14 jours.\",\"try_all_short\":\"Essayez tous les produits Intercom\"},\"what_do_you_want\":\"Que voulez-vous faire avec Intercom ?\",\"your_total\":\"Prix\"},\"start\":{\"form\":{\"company\":\"Nom de l'entreprise\",\"company_placeholder\":\"Nom de votre application / de votre entreprise\",\"company_size\":\"Taille de l’entreprise\",\"name\":\"Votre nom\",\"name_placeholder\":\"Votre nom complet\",\"password\":\"Mot de passe\",\"password_placeholder\":\"Mot de passe (au moins 10 caractères)\",\"phone_number\":\"Numéro de téléphone\",\"phone_number_placeholder\":\"Votre numéro de téléphone\",\"role\":\"Rôle\",\"submit\":\"Créer un compte\",\"submit_new_app\":\"Créer une nouveau application\",\"submitting\":\"Création en cours…\",\"terms_of_service\":\"J'accepte d'être lié par les <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\">Terms of Service</a> and <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\">Privacy Policy</a>.\",\"terms_of_service_create_account\":\"En cliquant sur “Créer un Compte” vous acceptez les <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\">Conditions d'utilisation Intercom</a> et la <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\">Politique de confidentialité</a>.\",\"terms_of_service_create_account_with_cta\":\"En cliquant sur « {cta} », vous acceptez les <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Conditions de service</a> et <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">la Politique de confidentialité</a> d'Intercom.\",\"terms_of_service_create_new_app\":\"En cliquant sur \\\"Créer une nouvelle application\\\", vous acceptez les <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\"rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\"> Conditions d'utilisation </a> et <a href = \\\"{privacyPolicyURL}\\\" target = \\\"_ blank\\\" rel = \\\"noopener\\\" class = \\\"text-blue-dark\\\"> Politique de confidentialité </a>.\",\"terms_of_service_sso_invite_sign_up\":\"En cliquant sur “S'inscrirer avec Google”, vous acceptez les <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Conditions d'utilisation</a> et la <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Politique de confidentialité</a> d'Intercom.\",\"work_email\":\"E-mail professionnel\",\"work_email_alert\":\"👋 avez-vous une adresse e-mail professionnelle ?\",\"work_email_placeholder\":\"vous@votreentreprise.com\"},\"google_sso\":{\"cta\":\"S'inscrire avec Google\",\"heading\":\"Vous êtes inscrit avec votre compte Google !\",\"next_steps\":\"Ensuite, fournissez des informations sur votre entreprise afin de nous aider à adapter Intercom à vos besoins.\"},\"heading\":\"Créer un compte avec Intercom\",\"option_divider\":\"OU\",\"product_summary\":{\"capture\":\"Générez plus de prospects et concluez plus de ventes.\",\"educate\":\"Résolvez les problèmes des clients plus rapidement avec un centre d'aide et une base de connaissances intégrés.\",\"engage\":\"Envoyez des e-mails et des messages ciblés intégrés dans l'application pour accueillir, vendre plus et fidéliser les clients.\",\"onboard\":\"Transformez vos nouveaux inscrits en clients actifs et rentables.\",\"respond\":\"Répondez rapidement aux questions et initiez des conversations de manière proactive avec le chat en direct.\",\"retain\":\"Montrez à vos clients qu'ils sont importants pour vous. Transformez votre support client.\",\"support\":\"Fournissez un support en libre-service et accélérez votre temps de réponse au client.\"},\"sales_solution_summary\":{\"integrate\":\"Intégrer Salesforce, Clearbit, etc...\",\"qualify_leads\":\"Qualifier les prospects avec notre robot, Operator\",\"target_messages\":\"Envoyer des messages ciblés aux prospects\"},\"with_intercom\":\"Avec Intercom, vous pouvez\",\"with_sales_solution\":\"Avec Live Chat spécial Ventes, vous pouvez\"},\"trial\":{\"educate\":\"Commencez un essai gratuit pour permettre à vos clients <br> de trouver eux-mêmes les réponses à leurs problèmes\",\"engage\":\"Démarrez un essai gratuit pour créer <br> des messages sortants automatisés\",\"generic\":\"Commencez un essai gratuit pour voir tout <br> ce que vous pouvez faire avec Intercom\",\"generic_wb\":\"Commencez un essai gratuit pour voir toutes <br> les nouveautés d'Intercom\",\"live_chat_sales_solution\":\"Démarrez un essai gratuit pour aider vos clients <br> et pour convertir les visiteurs plus rapidement\",\"live_chat_solution\":\"Démarrez un essai gratuit pour aider vos clients <br> et pour convertir les visiteurs plus rapidement\",\"loading\":\"Chargement en cours...\",\"operator_view\":\"Commencez un essai gratuit de nos produits <br> Respond et Educate pour utiliser Operator\",\"respond\":\"Commencez un essai gratuit pour fournir des réponses directes et personnelles <br> de toute votre équipe\",\"start_product_trial\":\"Commencez votre essai de {productName} maintenant\",\"start_trial\":\"Commencez votre essai maintenant\",\"success\":\"Bravo ! Continuez pour configurer\",\"support_solution\":\"Commencez un essai gratuit afin que votre équipe puisse <br> fournir un support personnel à grande échelle\",\"try_platform\":\"Ou <a href=\\\"{linkUrl}\\\">essayez quelques conversations</a> sur la plate-forme d'Intercom.\",\"try_platform_paid_messenger\":\"Ou simplement <a href=\\\"{linkUrl}\\\"> suivez les données de vos clients </a> sur la plate-forme Intercom.\"},\"update_subscription\":\"Actualisez l’abonnement\"},\"solutions\":{\"capture_and_convert\":{\"description\":\"Capturer et convertir des prospects\",\"detailed_description\":\"Utilisez les bots and le chat en direct pour qualifier, orienter et convertir automatiquement plus de prospects plus rapidement.\"},\"onboarding\":{\"description\":\"Acceuillir et engager les clients\",\"detailed_description\":\"Envoyez des emails ciblés, des messages in-app et push pour convertir plus d'inscriptions en clients.\"},\"retain\":{\"description\":\"Soutenir et fidéliser les clients\",\"detailed_description\":\"Utilisez l'email et la messagerie pour obtenir des réponses et des résolutions plus rapides.\"}},\"submit\":\"S'inscrire\",\"terms_of_service_create_account\":\"En cliquant sur « S'inscrire », vous acceptez les <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Conditions d'utilisation</a> d'Intercom et <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">la Politique de confidentialité</a>.\",\"with_sales_solution\":\"Avec Live Chat spécial Ventes, vous pouvez\",\"work_email\":\"E-mail professionnel\"};","export default {\"early_stage\":{\"already_graduated\":\"アーリーステージプログラムをすでに卒業しています。ご質問がある場合は、サポートにお問い合わせください。\",\"apply\":\"アーリーステージ向けIntercomへの申込み\",\"apply_telling\":\"Intercomアカウントを作成し、貴社についての詳細を添えてお申込みください。お申込み後すぐに始めましょう！\",\"back_to_app\":\"アプリに戻る\",\"company_information\":\"会社情報\",\"create_account\":\"アカウントの作成とアプリケーションの送信\",\"dropdown\":{\"less_than\":\"{number}未満\",\"more_than\":\"{number}超\",\"or_more\":\"{number}以上\"},\"email_used\":\"このメールは既に利用されています。既存のアプリからアーリーステージ向けIntercomのお申込みをご希望の場合には、サポートにお問い合わせください。\",\"error_submit\":\"お申込みが送信できませんでした。サポートにお問い合わせください。\",\"error_submitted\":\"既にお申込みいただいております\",\"existing_application\":\"アーリーステージプログラムのアクティブなアプリケーションが既にあります。ご質問がある場合は、サポートにお問い合わせください。\",\"existing_early_stage_customer\":\"すでにアーリーステージプログラムに参加しています。サブスクリプションを再開する必要がある場合は、サポートにお問い合わせください。\",\"intent\":{\"all\":\"上記のすべて\",\"capture\":\"見込み客を引き付けて顧客に変換\",\"onboard\":\"顧客のオンボーディングとエンゲージメント\",\"other\":\"その他\",\"retain\":\"顧客のサポートと維持\",\"support\":\"セルフサービスサポートの提供\"},\"labels\":{\"company_crunchbase\":\"CrunchBaseページ（オプション）\",\"company_linkedin\":\"LinkedInページ（オプション）\",\"company_name\":\"会社名\",\"company_website\":\"URL\",\"employees\":\"従業員数\",\"funding_received\":\"資金\",\"incubator_affiliation\":\"インキュベーター所属（オプション）\",\"intent\":\"Intercomで何がしたいですか？\",\"intent_other\":\"他にはIntercomをどんなことに活用したいですか？\",\"what_company_do\":\"事業内容\",\"when_aprooved\":\"承認済みのスタートアップパートナープログラムへの参加はいつでしたか？\",\"year_funded\":\"設立年\"},\"placeholder\":{\"company_crunchbase\":\"あなたのアプリ／会社のCrunchBaseページ\",\"company_linkedin\":\"あなたのアプリ／会社のLinkedInページ\",\"company_name\":\"あなたのアプリ／会社名\",\"company_website\":\"あなたのアプリ／会社のウェブサイト\",\"employees\":\"従業員数を選択\",\"funding_received\":\"資金レベルを選択\",\"intent\":\"貴社のご希望を教えてください\",\"intent_other\":\"Intercomで何がしたいかを250文字で教えてください。アーリーステージ企業の皆様がIntercomをどのように活用されているのかお聞かせください！\",\"what_company_do\":\"貴社の業務内容を500文字で教えてください。アーリーステージコミュニティのことを知りたいのです！\",\"year_funded\":\"設立年を選択\"},\"submit\":\"申し込みの提出\",\"submitting\":\"送信中...\",\"success\":\"アーリーステージへの申込みが完了しました！\",\"success_qualify\":\"1営業日以内に貴社が要件に合っているかどうかをお知らせします。申請が承認されると、あなたの会社は自動的にプログラムに組み込まれます\",\"tell_us\":\"あなたの会社について教えてください\",\"thanks\":\"お申込みありがとうございます！\",\"trial\":{\"headline\":\"お申込みありがとうございます！\",\"label\":\"貴社のお申込み内容を確認させていただいている間に、Intercomは今すぐ無料でご利用いただけます。\",\"loading\":\"設定ガイドの読み込み\",\"start\":\"利用プランを開始\",\"starting\":\"利用プランを開始\",\"subheadline\":\"1営業日以内に貴社が要件に合っているかどうかをお知らせします。申請が承認されると、あなたの会社は自動的にプログラムに組み込まれます\"},\"validations\":{\"company_description\":\"事業内容は必須です。\",\"company_name\":\"会社名は必須です。\",\"company_website\":\"会社のウェブサイトは必須です。\",\"date\":\"参加日は必須です。\",\"employees\":\"従業員数は必須です。\",\"funding_received\":\"資金レベルは必須です。\",\"intent\":\"必須\",\"intent_other\":\"必須\",\"year_funded\":\"設立年は必須です。\"},\"your_information\":\"お客様の情報\"},\"generic\":{\"continue\":\"続ける\",\"error\":\"エラーが発生しました。サポートにお問い合わせください。\",\"get_started\":\"始めましょう\",\"get_started_now\":\"今すぐ始めましょう\",\"month\":\"月\",\"or\":\"または\",\"sign_out\":\"サインアウト\",\"year\":\"年（西暦）\"},\"months\":{\"april\":\"4月\",\"august\":\"8月\",\"december\":\"12月\",\"february\":\"2月\",\"january\":\"1月\",\"july\":\"7月\",\"june\":\"6月\",\"march\":\"3月\",\"may\":\"5月\",\"november\":\"11月\",\"october\":\"10月\",\"september\":\"9月\"},\"onboarding\":{\"button\":{\"back\":\"戻る\",\"next\":\"次へ\",\"preview\":\"プレビュー\",\"skip\":\"セットアップをスキップ\"},\"input\":{\"can_change_sublabel\":\"これはいつでも変更できます\",\"color\":\"色を選択\",\"company_name_placeholder\":\"会社名\",\"full_name_placeholder\":\"フルネーム\",\"upload_photo\":\"アップロード\",\"website_address_placeholder\":\"www.example.com\",\"welcome_message_placeholder\":\"すみません！ご不明な点があればお知らせください。喜んでお手伝いいたします。\"},\"steps\":{\"admin_info\":\"新顧客にごあいさつ\",\"create_account\":\"アカウント作成\",\"create_account_sub\":\"パスワードを入力すればサインアップが完了です\",\"customize_color\":\"Messengerを貴社ブランドに合わせてスタイル設定\",\"intro\":\"貴社のウェブサイトアドレスの入力からスタート\",\"intro_sub\":\"稼働前にウェブサイトでMessenger をプレビュー\",\"welcome_message\":\"短いメッセージで会話を開始\"}},\"powered_by\":\"搭載\",\"products\":{\"articles\":{\"per_product_description\":\"パブリックナレッジベースにヘルプコンテンツを作成して公開する\",\"pricing_metric\":\"{price} 月額定額料金\",\"toggled_features\":{\"article_suggestions\":\"商品の提案\",\"content_importer\":\"コンテンツインポーター\",\"custom_branding\":\"カスタムブランド\",\"public_help_center\":\"パブリックヘルプセンター\",\"search_analytics\":\"検索分析\"},\"toggled_per_product_description\":\"パブリックナレッジベースにヘルプコンテンツを作成して公開する\",\"toggled_pro_features\":{\"article_suggestions\":\"商品の提案\",\"content_importer\":\"コンテンツインポーター\",\"custom_branding\":\"カスタムブランド\",\"public_help_center\":\"パブリックヘルプセンター\",\"search_analytics\":\"検索分析\"}},\"inbox\":{\"per_product_description\":\"チームとしてリードや顧客との会話を管理、返信、解決する。\",\"per_product_description_long\":\"受信トレイシートは、受信トレイ製品へのチームメイトにアクセスを提供します。チームメイトとは、企業内でIntercomのアカウントを持つ人のことです。無料で無制限でチームメイトを持つことができ、だれが有料の受信トレイシートを持つかを選択できます。\",\"pricing_metric\":\"シートあたり {price} x 2シートを含む\",\"toggled_features\":{\"assign_conversations\":\"会話を割り当てます\",\"email_social_chat\":\"メール、ソーシャル、チャット\",\"office_hours\":\"営業時間\",\"operator_bot\":\"オペレーターボット\",\"saved_replies\":\"保存された返信\"},\"toggled_per_product_description\":\"チームとしてリードや顧客との会話を管理、返信する。\",\"toggled_pro_features\":{\"meeting_scheduling\":\"ミーティングスケジュール\",\"reporting\":\"レポート\",\"round_robin\":\"ラウンドロビン割り当て\",\"salesforce_integration\":\"Salesforce統合\",\"satisfaction_surveys\":\"満足度アンケート\"}},\"messages\":{\"per_product_description\":\"リードと顧客にターゲティングメール、アプリ内メッセージ、プッシュメッセージを送信する。\",\"per_product_description_long\":\"メッセージはアクティブユーザーに価格が付けられます。アクティブユーザーとは、過去90日間にあなたからのメッセージを受け取り、メッセージを送信したり、アプリやウェブサイトにログインしたリードや顧客です。\",\"per_product_description_long_for_maps\":\"メッセージの料金は月間アクティブユーザーに関して発生します。月間アクティブユーザーとは、過去30日間に貴社からのメッセージを受け取ったり、貴社へメッセージを送信したり、貴社アプリやウェブサイトにログインした見込み客や顧客のことです。\",\"starts_with_description\":\"{price}でアクティブユーザー月間100人で開始する\",\"starts_with_high_description\":\"{price}でアクティブユーザー200人で開始する\",\"toggled_features\":{\"audience_targeting\":\"観客ターゲット\",\"auto_and_manual_messages\":\"自動および手動メッセージ\",\"message_scheduling\":\"メッセージのスケジュール\",\"messages_customization\":\"メッセージのカスタマイズ\",\"trigger_times\":\"トリガー時間\"},\"toggled_per_product_description\":\"リードと顧客にターゲティングメール、アプリ内メッセージ、プッシュメッセージを送信する。\",\"toggled_pro_features\":{\"a_b_testing\":\"A/B テスト\",\"branding\":\"カスタムブランド\",\"delivery_window\":\"メール配信ウィンドウ\",\"email_templates\":\"カスタムメールテンプレート\",\"smart_campaigns\":\"スマートキャンペーン\"}}},\"shared\":{\"company_size_dropdown\":{\"employees\":\"従業員数\",\"placeholder\":\"会社の規模を選択\"},\"department_select_dropdown\":{\"customer_support\":\"カスタマーサポート\",\"design\":\"デザイン\",\"engineering\":\"エンジニアリング\",\"founder\":\"創業者／CEO\",\"marketing\":\"マーケティング\",\"other\":\"その他\",\"placeholder\":\"職務を選択\",\"product_management\":\"製品管理\",\"sales\":\"販売\"}},\"sign_up\":{\"confirm_subscription\":\"サブスクリプションを確定\",\"edit_subscription\":\"サブスクリプションを編集\",\"nav_heading\":\"利用開始\",\"new\":{\"account_setup\":\"アカウントの設定\",\"add_a_product_to_see\":\"試用版に製品を追加して価格を確認します。\",\"add_coupon\":\"クーポンコードを追加する\",\"already_using_intercom\":\"既にIntercomをお使いですか？\",\"app_name\":\"アプリ名\",\"app_name_desc\":\"あなたの新アプリ名\",\"apply\":\"適用する\",\"apply_coupon\":\"クーポンコードを適用する\",\"back\":\"戻る\",\"cancel_anytime\":\"いつでもキャンセル可能\",\"change\":\"変更する\",\"chat_with_sales\":\"販売担当員とチャット\",\"company_error\":\"名前の入力は必須です\",\"company_size\":\"会社の規模\",\"create\":\"新規アプリの作成\",\"create_account\":\"アカウントを作成する\",\"create_company\":\"あなたの会社のIntercomアプリを作成\",\"creating\":\"作成中…\",\"customize_free_trial\":\"無料トライアルをカスタマイズする\",\"days_free\":\"14日間無料\",\"estimated_total\":\"トライアル後の推定合計価格\",\"flip_it\":\"元に戻す\",\"form\":{\"app_cannot_be_blank\":\"アプリは空白にできません\",\"country_cannot_be_blank\":\"国は空白にできません’\",\"create_account\":\"アカウントを作成する\",\"creating\":\"作成\",\"email_cannot_be_blank\":\"メールは空白にできません\",\"name_cannot_be_blank\":\"名前は空白にできません\",\"next\":\"次へ\",\"password_cannot_be_blank\":\"パスワードは空白にできません\",\"start_free_trial\":\"無料トライアル開始\",\"starting\":\"開始します\",\"state_cannot_be_blank\":\"ステートは空白にできません\"},\"get_started\":\"利用開始\",\"new_price\":\"価格\",\"no_payment\":\"今日は支払いがありません\",\"payment_details\":\"支払い情報\",\"plan_selector\":{\"basic_features_only\":\"基本機能のみ\",\"essential_plan\":\"必須プラン\",\"everything_plus\":\"必須のすべて、プラス\",\"most_popular\":\"一番人気\"},\"pricing\":\"pricing\",\"product_cards\":{\"add_to_trial\":\"トライアルを追加する\",\"and_more\":\"その他\",\"free\":\"無料\",\"from\":\"発信元\",\"includes\":\"含む\",\"per_month\":\"月額\",\"see_pricing_tiers\":\"価格設定層を表示する\",\"select\":\"プランを選択します\",\"try\":\"試用\",\"try_articles_free\":\"無料で試す\"},\"sign_in\":\"サインイン\",\"sign_in_to_apply\":\"サインインして申し込む\",\"sign_out\":\"サインアウト\",\"signed_up_with_google\":\"googleでサインアップしようとしています！\",\"start_free_trial\":\"無料トライアル開始\",\"start_instructions\":\"会社情報を提供してあなたのチームや顧客に合わせてIntercomをカスタマイズ\",\"start_subscription_inside_app\":\"アプリケーション内の任意の製品へのサブスクリプションを開始することができます\",\"terms_of_service_card_being_charged\":\"クレジットカードは毎月請求され、手数料は請求方法に応じて異なる場合があります。\",\"terms_of_service_start_free_trial\":\"\\\"無料トライアル開始\\\"をクリックすると Intercomに同意するものします<a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\">サービス利用条件</a> and <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\">プライバシーポリシー</a>.\",\"total_after_trial\":\"価格\",\"total_starting_price\":\"開始価格総額\",\"track_with_platform\":\"または、プラットフォームで顧客データを追跡します。\",\"use_case_selector\":{\"intent\":\"Intercomで何をご希望ですか？\",\"start_with_all\":\"上記のすべて\",\"trial_message\":\"Intercomを無料で14日間お試しください。いつでもキャンセル可能。\",\"try_all_long\":\"ビジネスにおけるユーザーエクスペリエンスを提供するIntercomの3つの製品すべてを14日間無料でお試しください。\",\"try_all_short\":\"Intercomのすべてをお試しください。\"},\"what_do_you_want\":\"Intercomで何をご希望ですか？\",\"your_total\":\"価格\"},\"start\":{\"form\":{\"company\":\"会社名\",\"company_placeholder\":\"あなたのアプリ／会社名\",\"company_size\":\"会社の規模\",\"name\":\"名前\",\"name_placeholder\":\"あなたのフルネーム\",\"password\":\"パスワード\",\"password_placeholder\":\"パスワード（10文字以上）\",\"phone_number\":\"電話番号\",\"phone_number_placeholder\":\"お客様の電話番号\",\"role\":\"仕事\",\"submit\":\"アカウントを作成\",\"submit_new_app\":\"新規アプリの作成\",\"submitting\":\"作成中…\",\"terms_of_service\":\"私はIntercomの<a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\">サービス利用規約</a>と<a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\">プライバシーポリシー</a>に拘束されることに同意します。\",\"terms_of_service_create_account\":\"「アカウントを作成」をクリックすると、Intercomの <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\">サービス利用規約</a> と <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\">プライバシーポリシー</a>に同意したことになります。\",\"terms_of_service_create_account_with_cta\":\"「{cta}」をクリックすると、Intercomの<a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">利用規約</a>と<a href = \\\"{privacyPolicyURL}\\\" target = \\\"_ blank\\\" rel = \\\"noopener\\\" class = \\\"text-blue-dark\\\">プライバシーポリシー</a>に同意したものとみなされます。\",\"terms_of_service_create_new_app\":\"「新規アプリの作成」をクリックすると、Intercomの<a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">サービス利用規約</a>と<a href = \\\"{privacyPolicyURL}\\\" target = \\\"_ blank\\\" rel = \\\"noopener\\\" class = \\\"text-blue-dark\\\">プライバシーポリシー</a>に同意したことになります。\",\"terms_of_service_sso_invite_sign_up\":\"「Googleでサインアップ」をクリックすると、Intercomの <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">利用規約</a> と <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">プライバシーポリシー</a>に同意したことになります。\",\"work_email\":\"会社のメールアドレス\",\"work_email_alert\":\"👋 会社のメールアドレスをお持ちですか？\",\"work_email_placeholder\":\"あなたの名前@会社名.com\"},\"google_sso\":{\"cta\":\"Googleで登録\",\"heading\":\"Googleアカウントで登録しようとしています！\",\"next_steps\":\"次に、Intercomをカスタマイズするため、あなたの会社に関する情報をご提供ください。\"},\"heading\":\"Intercomにアカウントを作成する\",\"option_divider\":\"もしくは\",\"product_summary\":{\"capture\":\"より多くの見込み客を引き付け、より多くの取引を成立します。\",\"educate\":\"統合されたヘルプデスクとナレッジベースを活用して、顧客の問題を迅速に解決します。\",\"engage\":\"オンボード、アップセル、顧客の維持のための、ターゲットを絞った電子メールやアプリ内メッセージを送信します。\",\"onboard\":\"新規登録者をアクティブで有益な顧客に転換します。\",\"respond\":\"迅速に質問に答え、ライブチャットで積極的に会話を開始します。\",\"retain\":\"顧客を大切にしていることを示しましょう。貴社の顧客サポートをトランスフォームします。\",\"support\":\"顧客が自分で素早く答えを見つけられるセルフサービスのサポートを提供します。\"},\"sales_solution_summary\":{\"integrate\":\"SalesforceやClearbitなどと統合\",\"qualify_leads\":\"当社のボットOperatorで高品質の見込み客\",\"target_messages\":\"ターゲットを絞ったメッセージを見込み客に送信\"},\"with_intercom\":\"Intercomを利用すると、次のことが可能です\",\"with_sales_solution\":\"セールス向けライブチャットでできること\"},\"trial\":{\"educate\":\"無料トライアルを開始して、お客様に<br>自己解決手段を提供しましょう。\",\"engage\":\"無料トライアルを開始して<br>自動送信メールを作成しましょう\",\"generic\":\"無料トライアルを開始して、<br>Intercomでできることをすべて体験しましょう\",\"generic_wb\":\"無料トライアルを開始して、<br>Intercomの新い機能をすべて体験しましょう\",\"live_chat_sales_solution\":\"無料トライアルを開始して、お客様をサポートし、<br>訪問者を素早く転換しましょう\",\"live_chat_solution\":\"無料トライアルを開始して、お客様をサポートし、<br>訪問者を素早く転換しましょう\",\"loading\":\"読み込み中…\",\"operator_view\":\"無料トライアルの当社の製品 <br> Respond と Educate で、Operatorをご利用ください\",\"respond\":\"無料トライアルを開始して、チーム全体から <br> 個々に対応した回答を迅速に提供しましょう\",\"start_product_trial\":\"今すぐ{productName}の試用を開始しましょう\",\"start_trial\":\"今すぐ無料トライアルを始めましょう\",\"success\":\"成功です！セットアップを続けます\",\"support_solution\":\"無料トライアルを開始して、個々に対応したサポートを<br>チームで大規模に提供しましょう\",\"try_platform\":\"または<a href=\\\"{linkUrl}\\\">Intercomプラットフォームで</a>会話をお試しください。\",\"try_platform_paid_messenger\":\"あるいは、Intercom プラットフォームで<a href=\\\"{linkUrl}\\\">顧客データの追跡</a>がお試しいただけます。\"},\"update_subscription\":\"サブスクリプションを更新\"},\"solutions\":{\"capture_and_convert\":{\"description\":\"見込み客を引き付け見込み客に変換\",\"detailed_description\":\"ボットとライブチャットを使用して、より多くのリードをより速く自動的に適格と判断し、ルーティングし、変換します。’\"},\"onboarding\":{\"description\":\"顧客のオンボーディングとエンゲージメント\",\"detailed_description\":\"ターゲティングメール、アプリ内メッセージ、プッシュメッセージを送信し、より多くの登録者を顧客にします。\"},\"retain\":{\"description\":\"顧客のサポートと維持\",\"detailed_description\":\"迅速な応答および解決策を得るためにメールとメッセージを使用します。’\"}},\"submit\":\"サインアップ\",\"terms_of_service_create_account\":\"「サインアップ」をクリックすると、Intercomの<a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">利用規約</a>および<a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">プライバシーポリシー</a>に同意したものとみなされます。\",\"work_email\":\"会社のメールアドレス\"};","export default {\"early_stage\":{\"already_graduated\":\"Você já se formou no programa Early Stage. Entre em contato com o suporte se tiver alguma dúvida.\",\"apply\":\"Inscreva-se na Intercom para a fase inicial\",\"apply_telling\":\"Faça sua inscrição nos contando sobre sua empresa e criando uma conta da Intercom. Dê início logo em seguida!\",\"back_to_app\":\"Voltar para o aplicativo\",\"company_information\":\"Informações sobre a empresa\",\"create_account\":\"Criar conta e enviar inscrição\",\"dropdown\":{\"less_than\":\"Menos que {number}\",\"more_than\":\"Mais que {number}\",\"or_more\":\"{number} ou mais\"},\"email_used\":\"Esse e-mail já está em uso. Se você deseja se inscrever na Intercom para a fase inicial com um aplicativo existente, entre em contato com o suporte.\",\"error_submit\":\"A inscrição não pôde ser enviada. Entre em contato com o suporte.\",\"error_submitted\":\"Você já enviou sua inscrição\",\"existing_application\":\"Você já possui um aplicativo ativo para o programa Early Stage. Entre em contato com o suporte se tiver alguma dúvida.\",\"existing_early_stage_customer\":\"Você já está no programa Early Stage. Se você precisar reiniciar sua assinatura, entre em contato com o suporte.\",\"intent\":{\"all\":\"Todas as anteriores\",\"capture\":\"Capturar e converter leads\",\"onboard\":\"Integrar e engajar clientes\",\"other\":\"Outro\",\"retain\":\"Atender e reter clientes\",\"support\":\"Fornecer suporte de auto-atendimento\"},\"labels\":{\"company_crunchbase\":\"Crunchbase da Empresa (opcional)\",\"company_linkedin\":\"LinkedIn da Empresa (opcional)\",\"company_name\":\"Nome da empresa\",\"company_website\":\"Website da empresa\",\"employees\":\"Funcionários\",\"funding_received\":\"Financiamento recebido\",\"incubator_affiliation\":\"Afiliação da incubadora (opcional)\",\"intent\":\"O que você quer fazer com a Intercom?\",\"intent_other\":\"O que mais você quer fazer com a Intercom?\",\"what_company_do\":\"O que a sua empresa faz?\",\"when_aprooved\":\"Quando você se juntou ao programa do parceiro de startup aprovado?\",\"year_funded\":\"Ano de fundação\"},\"placeholder\":{\"company_crunchbase\":\"Aplicativo/página Crunchbase da sua empresa\",\"company_linkedin\":\"Aplicativo/página LinkedIn da sua empresa\",\"company_name\":\"Aplicativo/nome da sua empresa\",\"company_website\":\"Aplicativo/site da sua empresa\",\"employees\":\"Selecione uma quantidade de funcionários\",\"funding_received\":\"Selecione um nível de financiamento\",\"intent\":\"Conte-nos o que deseja fazer\",\"intent_other\":\"Conte-nos em 250 caracteres o que você quer fazer com a Intercom. Gostaríamos de saber como nossos clientes em fase inicial usam a Intercom!\",\"what_company_do\":\"Conte-nos em 500 caracteres o que sua empresa faz. Temos interesse em conhecer nossa comunidade da fase inicial!\",\"year_funded\":\"Selecione ano de fundação\"},\"submit\":\"Enviar inscrição\",\"submitting\":\"Enviando...\",\"success\":\"Você se inscreveu com sucesso para a fase inicial!\",\"success_qualify\":\"Nós o informaremos dentro de 1 dia útil se a sua empresa se enquadra dos requisitos. Se a sua inscrição for aprovada, sua empresa entrará automaticamente no programa\",\"tell_us\":\"Conte-nos sobre sua empresa\",\"thanks\":\"Obrigado por se inscrever!\",\"trial\":{\"headline\":\"Obrigado por se inscrever!\",\"label\":\"Comece a usar a Intercom de imediato, de forma gratuita, enquanto verificamos sua elegibilidade.\",\"loading\":\"Guia de configuração de carregamento\",\"start\":\"Dê início à sua assinatura\",\"starting\":\"Iniciando sua assinatura\",\"subheadline\":\"Nós o informaremos dentro de 1 dia útil se a sua empresa se qualificar. Se a sua inscrição for aprovada, sua empresa entrará automaticamente no programa.\"},\"validations\":{\"company_description\":\"A descrição da empresa é obrigatória.\",\"company_name\":\"O nome da empresa é obrigatório.\",\"company_website\":\"O site da empresa é obrigatório.\",\"date\":\"A data de adesão é obrigatória.\",\"employees\":\"A quantidade de funcionários é obrigatória.\",\"funding_received\":\"O nível de financiamento é obrigatório.\",\"intent\":\"Obrigatório.\",\"intent_other\":\"Obrigatório\",\"year_funded\":\"O ano de fundação é obrigatório.\"},\"your_information\":\"Suas informações\"},\"generic\":{\"continue\":\"Continuar\",\"error\":\"Algo deu errado. Entre em contato com o suporte.\",\"get_started\":\"Iniciar\",\"get_started_now\":\"Iniciar agora\",\"month\":\"Mês\",\"or\":\"de\",\"sign_out\":\"Sair\",\"year\":\"Ano\"},\"months\":{\"april\":\"Abril\",\"august\":\"Agosto\",\"december\":\"Dezembro\",\"february\":\"Fevereiro\",\"january\":\"Janeiro\",\"july\":\"Julho\",\"june\":\"Junho\",\"march\":\"Março\",\"may\":\"Maio\",\"november\":\"Novembro\",\"october\":\"Outubro\",\"september\":\"Setembro\"},\"onboarding\":{\"button\":{\"back\":\"Voltar\",\"next\":\"Próximo\",\"preview\":\"Visualize\",\"skip\":\"Pular configuração\"},\"input\":{\"can_change_sublabel\":\"Você pode mudar isso a qualquer momento\",\"color\":\"Escolha uma cor\",\"company_name_placeholder\":\"Nome da empresa\",\"full_name_placeholder\":\"Nome Completo\",\"upload_photo\":\"Upload\",\"website_address_placeholder\":\"www.exemplo.com.br\",\"welcome_message_placeholder\":\"Olá! Me avise se você tiver alguma dúvida! Eu ficaria feliz em ajudar.\"},\"steps\":{\"admin_info\":\"Diga olá aos seus novos clientes\",\"create_account\":\"Crie uma conta\",\"create_account_sub\":\"Para finalizar a inscrição, basta inserir sua senha\",\"customize_color\":\"Crie o seu messenger para combinar a sua marca\",\"intro\":\"Comece digitando o endereço do seu site\",\"intro_sub\":\"Visualize o messenger no seu site antes de entrar em funcionamento\",\"welcome_message\":\"Comece a conversa com uma mensagem curta\"}},\"powered_by\":\"Da plataforma\",\"products\":{\"articles\":{\"per_product_description\":\"Crie e publique conteúdo de ajuda em uma base de dados de conhecimento pública.\",\"pricing_metric\":\"{price} fixos mensais\",\"toggled_features\":{\"article_suggestions\":\"Sugestões de artigos\",\"content_importer\":\"Importador de conteúdo\",\"custom_branding\":\"Branding personalizado\",\"public_help_center\":\"Central de ajuda pública\",\"search_analytics\":\"Análise de pesquisas\"},\"toggled_per_product_description\":\"Crie e publique conteúdo de ajuda em uma base de dados de conhecimento pública.\",\"toggled_pro_features\":{\"article_suggestions\":\"Sugestões de artigos\",\"content_importer\":\"Importador de conteúdo\",\"custom_branding\":\"Branding personalizado\",\"public_help_center\":\"Central de ajuda pública\",\"search_analytics\":\"Análise de pesquisas\"}},\"inbox\":{\"per_product_description\":\"Gerencie, responda e resolva conversas em equipe com leads e clientes.\",\"per_product_description_long\":\"Uma Vaga Inbox permite que um Companheiro de Equipe acesse o produto Inbox. Um Companheiro de Equipe é qualquer pessoa da sua empresa com uma conta Intercom. Você pode ter Companheiros de Equipe ilimitados gratuitamente e escolher qual deles tem uma Vaga Inbox paga.\",\"pricing_metric\":\"{price} por vaga x 2 vagas incluídas\",\"toggled_features\":{\"assign_conversations\":\"Atribua conversas\",\"email_social_chat\":\"E-mail, social, chat\",\"office_hours\":\"Horário comercial\",\"operator_bot\":\"Bot Operator\",\"saved_replies\":\"Respostas salvas\"},\"toggled_per_product_description\":\"Gerencie e responda conversas em equipe com leads e clientes.\",\"toggled_pro_features\":{\"meeting_scheduling\":\"Agendamento de reuniões\",\"reporting\":\"Relatórios\",\"round_robin\":\"Atribuição Round Robin\",\"salesforce_integration\":\"Integração com o Salesforce\",\"satisfaction_surveys\":\"Pesquisas de satisfação\"}},\"messages\":{\"per_product_description\":\"Envie e-mails direcionados e mensagens no aplicativo e via push para leads e clientes.\",\"per_product_description_long\":\"O recurso Mensagens é cobrado para Pessoas Ativas. Pessoas Ativas são leads e clientes que receberam uma mensagem sua, enviaram uma mensagem para você ou fizeram login no seu aplicativo ou site nos últimos 90 dias.\",\"per_product_description_long_for_maps\":\"O recurso Mensagens é cobrado para Pessoas Ativas Mensalmente. Pessoas Ativas são clientes potenciais e clientes que receberam uma mensagem sua, enviaram uma mensagem para você ou fizeram login no seu aplicativo ou site nos últimos 30 dias.\",\"starts_with_description\":\"Começa com 100 Pessoas Ativas mensais por {preço}\",\"starts_with_high_description\":\"Começa com 200 Pessoas Ativas por {price}\",\"toggled_features\":{\"audience_targeting\":\"Segmentação de público-alvo\",\"auto_and_manual_messages\":\"Mensagens automáticas e manuais\",\"message_scheduling\":\"Agendamento de mensagens\",\"messages_customization\":\"Personalização de mensagens\",\"trigger_times\":\"Horários de disparo\"},\"toggled_per_product_description\":\"Envie e-mails direcionados e mensagens no aplicativo e via push para leads e clientes.\",\"toggled_pro_features\":{\"a_b_testing\":\"Testes A/B\",\"branding\":\"Branding personalizado\",\"delivery_window\":\"Janelas de entrega de e-mail\",\"email_templates\":\"Modelos de e-mail personalizados\",\"smart_campaigns\":\"Campanhas inteligentes\"}}},\"shared\":{\"company_size_dropdown\":{\"employees\":\"funcionários\",\"placeholder\":\"Selecione o tamanho da empresa\"},\"department_select_dropdown\":{\"customer_support\":\"Suporte ao cliente\",\"design\":\"Design\",\"engineering\":\"Engenharia\",\"founder\":\"Fundador / Diretor Executivo\",\"marketing\":\"Marketing\",\"other\":\"Outro\",\"placeholder\":\"Selecione sua função\",\"product_management\":\"Gestão de produto\",\"sales\":\"Vendas\"}},\"sign_up\":{\"confirm_subscription\":\"Confirme sua assinatura.\",\"edit_subscription\":\"Editar Assinatura\",\"nav_heading\":\"Comece agora\",\"new\":{\"account_setup\":\"Configuração da conta\",\"add_a_product_to_see\":\"Adicione um produto ao seu período de teste para ver os preços.\",\"add_coupon\":\"Adicionar código de cupom\",\"already_using_intercom\":\"Você já usa a Intercom?\",\"app_name\":\"Nome do aplicativo\",\"app_name_desc\":\"Nome de seu novo aplicativo\",\"apply\":\"Aplicar\",\"apply_coupon\":\"Aplicar código do cupom\",\"back\":\"Voltar\",\"cancel_anytime\":\"Cancele a qualquer momento\",\"change\":\"Alterar\",\"chat_with_sales\":\"Converse com a equipe de vendas\",\"company_error\":\"O nome é obrigatório\",\"company_size\":\"Porte da empresa\",\"create\":\"Criar novo aplicativo\",\"create_account\":\"Crie uma conta\",\"create_company\":\"Crie o aplicativo Intercom da sua empresa\",\"creating\":\"Criando...\",\"customize_free_trial\":\"Personalize sua avaliação gratuita\",\"days_free\":\"14 dias grátis\",\"estimated_total\":\"Total estimado após o período de teste\",\"flip_it\":\"Virar\",\"form\":{\"app_cannot_be_blank\":\"O aplicativo deve ser informado\",\"country_cannot_be_blank\":\"O país deve ser informado\",\"create_account\":\"Criar conta\",\"creating\":\"Criando\",\"email_cannot_be_blank\":\"O e-mail deve ser informado\",\"name_cannot_be_blank\":\"O nome deve ser informado\",\"next\":\"Próximo\",\"password_cannot_be_blank\":\"A senha deve ser informada\",\"start_free_trial\":\"Iniciar teste grátis\",\"starting\":\"Iniciando\",\"state_cannot_be_blank\":\"O estado deve ser informado\"},\"get_started\":\"Começar agora\",\"new_price\":\"Valor\",\"no_payment\":\"Nenhum pagamento hoje\",\"payment_details\":\"Detalhes do pagamento\",\"plan_selector\":{\"basic_features_only\":\"Apenas recursos básicos\",\"essential_plan\":\"Plano Básico\",\"everything_plus\":\"Tudo do Básico mais\",\"most_popular\":\"Mais popular\"},\"pricing\":\"preços\",\"product_cards\":{\"add_to_trial\":\"Adicione ao seu teste\",\"and_more\":\"e mais\",\"free\":\"grátis\",\"from\":\"de\",\"includes\":\"Inclui\",\"per_month\":\"/mês\",\"see_pricing_tiers\":\"Veja as faixas de preços\",\"select\":\"Selecione um plano\",\"try\":\"Experimente\",\"try_articles_free\":\"Experimente grátis\"},\"sign_in\":\"Entrar\",\"sign_in_to_apply\":\"Entre para se inscrever\",\"sign_out\":\"Sair\",\"signed_up_with_google\":\"Você está inscrito no google!\",\"start_free_trial\":\"Iniciar teste grátis\",\"start_instructions\":\"Fornecer informações sobre sua empresa para personalizar a Intercom para sua equipe e clientes\",\"start_subscription_inside_app\":\"Você pode iniciar uma assinatura de qualquer um dos nossos produtos dentro do aplicativo Intercom\",\"terms_of_service_card_being_charged\":\"Você receberá uma cobrança mensal no seu cartão de crédito e as taxas poderão variar de acordo com a forma como faturamos\",\"terms_of_service_start_free_trial\":\"Ao clicar em \\\"Iniciar teste grátis\\\" você concorda com os <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\">Termos de Serviço</a> e a <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\">Política de Privacidade</a> da Intercom.\",\"total_after_trial\":\"Valor\",\"total_starting_price\":\"Preço inicial total\",\"track_with_platform\":\"Ou rastreie dados do cliente com a Plataforma\",\"use_case_selector\":{\"intent\":\"O que você quer fazer com a Intercom?\",\"start_with_all\":\"Todas as anteriores\",\"trial_message\":\"Experimente a Intercom, grátis por 14 dias. Cancele a qualquer momento.\",\"try_all_long\":\"Experimente os três produtos para saber tudo que a Intercom pode fazer pela sua empresa, grátis por 14 dias.\",\"try_all_short\":\"Experimente tudo que a Intercom oferece\"},\"what_do_you_want\":\"O que você quer fazer com a Intercom?\",\"your_total\":\"Valor\"},\"start\":{\"form\":{\"company\":\"Nome da empresa\",\"company_placeholder\":\"Nome da sua empresa ou seu aplicativo\",\"company_size\":\"Porte da empresa\",\"name\":\"Seu nome\",\"name_placeholder\":\"Seu nome completo\",\"password\":\"Senha\",\"password_placeholder\":\"Senha (pelo menos 10 caracteres)\",\"phone_number\":\"Número de telefone\",\"phone_number_placeholder\":\"Seu número de telefone\",\"role\":\"Cargo\",\"submit\":\"Criar conta\",\"submit_new_app\":\"Criar novo aplicativo\",\"submitting\":\"Criando...\",\"terms_of_service\":\"Concordo em ficar vinculado aos <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\"> Termos de Serviço </a> da Intercom e <a href = \\\"{privacyPolicyURL}\\\" target = \\\"_ blank\\\" rel = \\\"Noopener\\\"> Política de Privacidade </a>.\",\"terms_of_service_create_account\":\"Ao clicar em \\\"Criar conta\\\", você concorda com os <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\">Termos de Serviço</a> e com a <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue\\\">Política de Privacidade</a> da Intercom.\",\"terms_of_service_create_account_with_cta\":\"Ao clicar em \\\"{cta}\\\", você concorda com os <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\"rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\"> Termos de Serviço </a> e <a href = \\\"{privacyPolicyURL}\\\" target = \\\"_ blank\\\" rel = \\\"noopener\\\" class = \\\"text-blue-dark\\\"> Política de privacidade da Intercom </a>.\",\"terms_of_service_create_new_app\":\"Ao clicar em \\\"Criar novo aplicativo\\\" você concorda com os <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Termos de Serviço</a> e com a <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Política de Privacidade</a> da Intercom.\",\"terms_of_service_sso_invite_sign_up\":\"Ao clicar em “Inscrever-se com o Google” você concorda com os <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Termos e Condições de Serviço</a> e com a <a href=\\\"{privacyPolicyURL}\\\" target=\\\"_blank\\\" rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\">Política de Privacidade</a.\",\"work_email\":\"E-mail profissional\",\"work_email_alert\":\"👋 Você tem um e-mail profissional?\",\"work_email_placeholder\":\"voce@suaempresa.com\"},\"google_sso\":{\"cta\":\"Registrar-se com conta Google\",\"heading\":\"Você está inscrito com a sua conta do Google!\",\"next_steps\":\"Em seguida, forneça informações sobre sua empresa para nos ajudar a personalizar a Intercom para você.\"},\"heading\":\"Crie uma conta com a Intercom\",\"option_divider\":\"OU\",\"product_summary\":{\"capture\":\"Capte mais leads e feche mais negócios.\",\"educate\":\"Resolva os problemas dos clientes com maior rapidez com uma central de ajuda e base de conhecimento integradas.\",\"engage\":\"Envie e-mails direcionados e mensagens no aplicativo para recepcionar, fazer venda casada e reter clientes.\",\"onboard\":\"Transforme mais novos inscritos em clientes ativos e valiosos.\",\"respond\":\"Responda perguntas rapidamente e inicie conversas proativamente com o chat ao vivo.\",\"retain\":\"Mostre aos clientes que se importa. Transforme seu atendimento ao cliente.\",\"support\":\"Ofereça suporte de autoatendimento e responda aos clientes mais rapidamente.\"},\"sales_solution_summary\":{\"integrate\":\"Integre com o Salesforce, o Clearbit e mais\",\"qualify_leads\":\"Qualifique clientes potenciais com o nosso bot, Operator\",\"target_messages\":\"Envie mensagens direcionadas para clientes potenciais\"},\"with_intercom\":\"Com a Intercom, você pode\",\"with_sales_solution\":\"Com o chat ao vivo para vendas, você pode\"},\"trial\":{\"educate\":\"Inicie um teste grátis para dar aos seus clientes<br>uma maneira de conseguirem ajuda sozinhos\",\"engage\":\"Inicie um teste grátis para criar <br> mensagens automatizadas de saída\",\"generic\":\"Inicie um teste grátis para ver tudo <br> que você pode fazer com a Intercom\",\"generic_wb\":\"Inicie um teste grátis para ver todas as novidades <br> na Intercom\",\"live_chat_sales_solution\":\"Inicie um teste grátis para oferecer suporte a clientes <br> e converter visitantes com maior rapidez\",\"live_chat_solution\":\"Inicie um teste grátis para oferecer suporte a clientes <br> e converter visitantes com maior rapidez\",\"loading\":\"Carregando...\",\"operator_view\":\"Inicie um teste grátis dos nossos produtos <br> Respond e Educate para usar o Operator\",\"respond\":\"Inicie um teste grátis para que toda a sua equipe possa oferecer respostas rápidas e pessoais <br>\",\"start_product_trial\":\"Inicie o teste da {productName} agora\",\"start_trial\":\"Inicie seu teste agora\",\"success\":\"Sucesso! Continue para configurar\",\"support_solution\":\"Inicie um teste grátis para que sua equipe possa <br> oferecer suporte pessoal em larga escala\",\"try_platform\":\"Ou <a href=\\\"{linkUrl}\\\"> experimente algumas conversas </a> na Plataforma Intercom.\",\"try_platform_paid_messenger\":\"Ou apenas <a href=\\\"{linkUrl}\\\"> rastreie os dados do seu cliente </a> na Plataforma Intercom.\"},\"update_subscription\":\"Atualizar assinatura\"},\"solutions\":{\"capture_and_convert\":{\"description\":\"Capture e converta leads\",\"detailed_description\":\"Use bots e chats ao vivo para automaticamente classificar, direcionar e converter mais leads, mais rapidamente.\"},\"onboarding\":{\"description\":\"Integre e engaje clientes\",\"detailed_description\":\"Envie e-mails direcionados e mensagens no aplicativo e via push para transformar mais acessos em clientes.\"},\"retain\":{\"description\":\"Atenda e retenha clientes\",\"detailed_description\":\"Use e-mails e mensagens para obter respostas e resoluções mais rápidas.\"}},\"submit\":\"Criar conta\",\"terms_of_service_create_account\":\"Ao clicar em \\\"Criar conta\\\", você concorda com os <a href=\\\"{termsOfServiceURL}\\\" target=\\\"_blank\\\"rel=\\\"noopener\\\" class=\\\"text-blue-dark\\\"> Termos de Serviço </a> e <a href = \\\". {privacyPolicyURL} \\\"target =\\\" _ blank \\\"rel =\\\" noopener \\\"class =\\\" text-blue-dark \\\"> Política de Privacidade </a>.\",\"work_email\":\"E-mail profissional\"};","define(\"embercom/utils/intl/missing-message\", [\"exports\", \"ember-intl/utils/missing-message\"], function (_exports, _missingMessage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _missingMessage.default;\n    }\n  });\n});\n","define(\"embercom/utils/titleize\", [\"exports\", \"ember-cli-string-helpers/utils/titleize\"], function (_exports, _titleize) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _titleize.default;\n    }\n  });\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\n\nexport default buildValidations({\n  localizedBannerContents: {\n    description: 'Localized Banner Content',\n    validators: [validator('has-many'), validator('length', { min: 1 })],\n  },\n  action: {\n    description: 'Action',\n    validators: [validator('banner-button-text-length'), validator('banner-action-url-not-empty')],\n  },\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\n\nconst urlDomainValidation = /.+\\..+(\\..+)?/;\nconst pathValidation = /^((?!\\/).)*$/;\nconst queryParameterValidation = /^((?!\\?).)*$/;\nconst noProtocolValidation = /^((?!:\\/\\/).)*$/;\nconst protocalMatcher = /(.*\\:\\/\\/)/;\n\nconst uniqueBrandDomainValidator = (value, options, model, attribute) => {\n  let otherDomains = model.brand.get('brandDomains').rejectBy('id', model.id);\n  let matchingDomain = otherDomains.find(\n    brandDomain => brandDomain.domain.toLowerCase() === value.toLowerCase(),\n  );\n  if (matchingDomain) {\n    return `You've already listed this domain for this brand`;\n  }\n\n  let existingBrandWithDomain = model.brand\n    .get('otherBrands')\n    .find(brand => brand.brandDomains.find(brandDomain => brandDomain.domain === value));\n  if (existingBrandWithDomain) {\n    return `Your brand ${existingBrandWithDomain.brandName} is already using this domain`;\n  }\n\n  return true;\n};\n\nexport default buildValidations({\n  domain: {\n    validators: [\n      validator('format', {\n        regex: urlDomainValidation,\n        message: 'Enter a valid URL',\n      }),\n      validator('format', {\n        regex: noProtocolValidation,\n        message(type, options) {\n          let match = options.match(protocalMatcher);\n          return match ? `Remove the ${match[0]} from your URL` : null;\n        },\n      }),\n      validator('format', {\n        regex: pathValidation,\n        message: 'Remove the path from this URL by deleting the slash and everything after it',\n      }),\n      validator('format', {\n        regex: queryParameterValidation,\n        message:\n          'Remove the query parameters by deleting the question mark and everything after it',\n      }),\n      validator('inline', {\n        validate: uniqueBrandDomainValidator,\n      }),\n    ],\n  },\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\n\nexport default buildValidations({\n  brandName: [\n    validator('presence', {\n      presence: true,\n      message: 'Add a brand name',\n    }),\n    validator('inline', {\n      validate: (value, options, model, attribute) => {\n        let result = !model.otherBrands.any(brand => {\n          return brand.brandName === model.brandName;\n        });\n\n        return result || 'Choose a brand name that you’re not already using';\n      },\n    }),\n  ],\n  brandDomains: [\n    validator('inline', {\n      validate: (value, options, model, attribute) => {\n        if (model.allDomainsEmpty) {\n          return 'Add at least one domain';\n        }\n\n        let message = 'All domains must be valid';\n        if (model.brandDomains.length === 1) {\n          return model.brandDomains.firstObject.isValid || message;\n        }\n        return (\n          (!model.brandDomains.any(domain => {\n            return !domain.isValid && !domain.isEmpty;\n          }) &&\n            model.brandDomains.length > 0) ||\n          message\n        );\n      },\n      dependentKeys: ['model.brandDomains.@each.domain'],\n    }),\n  ],\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\nimport { preferredDevices } from 'embercom/models/data/outbound/constants';\n\nfunction validateLinkForPreferredDevice(value, options, model, preferredDevice) {\n  let carousel = model.get('carouselScreen.localizedCarouselContent.carousel');\n  if (\n    model.get('carouselScreen.isLastScreen') &&\n    (model.type === 'deep_link' || model.type === 'link') &&\n    carousel.preferredDevices.includes(preferredDevices[preferredDevice]) &&\n    !value\n  ) {\n    return `The specified URI link for ${options.description} on the last screen of the carousel should be valid`;\n  }\n  return true;\n}\n\nexport default buildValidations({\n  title: {\n    description: 'Title',\n    validators: [validator('presence', true)],\n  },\n  backgroundColor: {\n    description: 'Background Color',\n    validators: [validator('presence', true)],\n  },\n  textColor: {\n    description: 'Text Color',\n    validators: [validator('presence', true)],\n  },\n  iosUri: {\n    description: 'Ios',\n    validators: [\n      validator('inline', {\n        dependentKeys: [\n          'model.carouselScreen.localizedCarouselContent.carousel.preferredDevices',\n          'model.type',\n        ],\n        validate: (value, options, model, _attribute) => {\n          return validateLinkForPreferredDevice(value, options, model, 'ios');\n        },\n      }),\n    ],\n  },\n  androidUri: {\n    description: 'Android',\n    validators: [\n      validator('inline', {\n        dependentKeys: [\n          'model.carouselScreen.localizedCarouselContent.carousel.preferredDevices',\n          'model.type',\n        ],\n        validate: (value, options, model, _attribute) => {\n          return validateLinkForPreferredDevice(value, options, model, 'android');\n        },\n      }),\n    ],\n  },\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\n\nexport default buildValidations({\n  blocks: {\n    description: 'Contents',\n    validators: [validator('blocks-not-empty')],\n  },\n  backgroundColor: {\n    description: 'Background Color',\n    validators: [validator('presence', true)],\n  },\n  textColor: {\n    description: 'Text Color',\n    validators: [validator('presence', true)],\n  },\n  verticalAlignment: {\n    description: 'Vertical Alignment',\n    validators: [validator('presence', true)],\n  },\n  carouselActions: {\n    description: 'Carousel Actions',\n    validators: [validator('has-many'), validator('length', { min: 1, max: 2 })],\n  },\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\n\nexport default buildValidations({\n  localizedCarouselContents: {\n    description: 'Localized carousel contents',\n    validators: [validator('has-many')],\n  },\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\n\nexport default buildValidations({\n  localizedChatContents: {\n    description: 'Localized chat contents',\n    validators: [validator('has-many')],\n  },\n});\n","import { validator, buildValidations } from 'ember-cp-validations';\n\nexport default buildValidations({\n  predicates: {\n    description: 'Predicates',\n    validators: [validator('has-many')],\n  },\n});\n","import { validator, buildValidations } from 'ember-cp-validations';\nexport default buildValidations({\n  type: {\n    description: 'Type',\n    validators: [validator('presence', true)],\n  },\n});\n","import { buildValidations } from 'ember-cp-validations';\n\nexport default buildValidations({});\n","import { validator, buildValidations } from 'ember-cp-validations';\nimport { alias, not } from '@ember/object/computed';\n\nexport default buildValidations({\n  state: {\n    description: 'State',\n    disabled: alias('model.canUseButtonOrInboundContentEditor'),\n    validators: [\n      validator('presence', true),\n      validator('inclusion', { in: ['draft', 'live', 'scheduled', 'stopped'] }),\n    ],\n  },\n  paths: {\n    description: 'Paths',\n    validators: [validator('presence', true), validator('has-many')],\n  },\n  botData: {\n    description: 'Bot Data',\n    validators: [\n      validator('custom-bot-bot-data-selector-present', {\n        disabled: not('model.canUseButtonContentEditor'),\n      }),\n    ],\n  },\n  initiators: {\n    description: 'Initiators',\n    disabled: alias('model.canUseButtonOrInboundContentEditor'),\n    validators: [validator('presence', true), validator('has-many')],\n  },\n  firstPathConstraints: {\n    description: 'First Path',\n    validators: [validator('custom-bot-first-path-constraints')],\n  },\n});\n","import { validator, buildValidations } from 'ember-cp-validations';\nimport { not } from '@ember/object/computed';\n\nexport default buildValidations({\n  nextPath: {\n    description: 'Next step',\n    validators: [\n      validator('custom-bot-control-reply-button-has-next-step', {\n        disabled: not('model.step.isReplyButtons'),\n      }),\n    ],\n  },\n  attributeIdentifier: {\n    description: 'Attribute identifier',\n    validators: [\n      validator('custom-bot-step-data-field-is-set', {\n        disabled: not('model.step.isAttributeCollector'),\n      }),\n    ],\n  },\n  buttonLabel: {\n    description: 'Reply button label',\n    validators: [\n      validator('custom-bot-control-reply-button-not-empty', {\n        disabled: not('model.step.isReplyButtons'),\n      }),\n    ],\n  },\n});\n","import { validator, buildValidations } from 'ember-cp-validations';\n\nexport default buildValidations({\n  selectionState: {\n    description: 'Audience',\n    validators: [\n      validator('presence', true),\n      validator('belongs-to'),\n      validator('bot-auto-message-has-visitor-predicates'),\n      validator('bot-auto-message-limit-or-predicates'),\n      validator('ruleset-has-valid-predicates'),\n    ],\n  },\n});\n","import { not } from '@ember/object/computed';\nimport { validator, buildValidations } from 'ember-cp-validations';\n\nexport default buildValidations({\n  predicates: {\n    description: 'Predicates',\n    validators: [validator('presence', true), validator('has-many')],\n    disabled: not('model.shouldValidate'),\n  },\n});\n","import { validator, buildValidations } from 'ember-cp-validations';\n\nexport default buildValidations({\n  deliveryChannel: {\n    description: 'Delivery Channel',\n    validators: [\n      validator('presence', {\n        presence: true,\n        message: 'Choose a delivery channel',\n      }),\n    ],\n  },\n  ruleset: {\n    description: 'Audience',\n    validators: [validator('presence', true), validator('belongs-to')],\n  },\n});\n","import { validator, buildValidations } from 'ember-cp-validations';\n\nexport default buildValidations({\n  selector: {\n    description: 'CSS Selector',\n    validators: [validator('presence', true)],\n  },\n  event: {\n    description: 'Event',\n    validators: [validator('presence', true), validator('inclusion', { in: ['click'] })],\n  },\n});\n","import { validator, buildValidations } from 'ember-cp-validations';\n\nexport default buildValidations({\n  title: {\n    description: 'Path title',\n    validators: [validator('presence', true)],\n  },\n  autoFollowHardLimit: {\n    description: 'Auto follow hard limit',\n    validators: [validator('custom-bot-path-limits-consecutive-auto-follows')],\n  },\n  autoFollowSoftLimit: {\n    description: 'Auto follow soft limit',\n    validators: [\n      validator('custom-bot-path-limits-consecutive-auto-follows', {\n        isWarning: true,\n      }),\n    ],\n  },\n  steps: {\n    description: 'Path step',\n    validators: [validator('presence', true), validator('has-many')],\n  },\n  incomingControls: {\n    description: 'Incoming controls',\n    validators: [validator('custom-bot-path-is-not-orphan')],\n  },\n});\n","import { validator, buildValidations } from 'ember-cp-validations';\nimport { readOnly, not } from '@ember/object/computed';\n\nexport default buildValidations({\n  uuid: {\n    description: 'Next step',\n    validators: [validator('presence', true)],\n  },\n  controls: {\n    description: 'Step control',\n    validators: [validator('has-many')],\n  },\n  serializedBlocks: {\n    description: 'Serialized Blocks',\n    validators: [\n      validator('custom-bot-step-blocks-not-empty', {\n        isChatMessage: readOnly('model.isChatMessage'),\n        isAnswerBot: readOnly('model.isAnswerBot'),\n      }),\n      validator('custom-bot-step-blocks-messenger-apps-are-valid', {\n        disabled: not('model.appService.app.showAppsInBotsPaywall'),\n      }),\n      validator('custom-bot-step-blocks-messenger-cards-are-valid'),\n    ],\n  },\n  followUpRules: {\n    description: 'Follow up rules',\n    validators: [\n      validator('follow-up-rule-is-valid'),\n      validator('follow-up-rule-is-complete'),\n      validator('custom-bot-rule-messenger-apps-are-valid'),\n    ],\n  },\n  simpleActionRule: {\n    description: 'Follow up rules',\n    validators: [\n      validator('simple-action-rule-is-valid'),\n      validator('custom-bot-rule-messenger-apps-are-valid'),\n    ],\n  },\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\n\nexport default buildValidations({\n  localizedEmailContents: {\n    description: 'Localized email contents',\n    validators: [validator('has-many')],\n  },\n});\n","import { validator, buildValidations } from 'ember-cp-validations';\n\nexport default buildValidations({\n  blocks: {\n    description: 'Contents',\n    validators: [validator('banner-blocks-not-empty')],\n  },\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\n\nexport default buildValidations({\n  carouselScreens: {\n    description: 'Carousel Screens',\n    validators: [\n      validator('has-many'),\n      validator('length', {\n        min: 1,\n        max: 10,\n        message: 'You can have at most 10 carousel screens',\n      }),\n    ],\n  },\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\n\nexport default buildValidations({\n  blocks: {\n    description: 'Contents',\n    validators: [\n      validator('blocks-not-empty', {\n        message: 'Finish writing your chat message',\n      }),\n      validator('blocks-not-default', {\n        message: 'Finish writing your chat message',\n      }),\n      validator('no-empty-code-blocks'),\n    ],\n  },\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\n\nexport default buildValidations({\n  blocks: {\n    description: 'Contents',\n    validators: [\n      validator('blocks-not-empty', {\n        message: 'Finish writing your email',\n      }),\n      validator('no-empty-code-blocks'),\n    ],\n  },\n  subject: {\n    description: 'Subject',\n    validators: [\n      validator('presence', {\n        presence: true,\n        message: 'Subject should not be empty',\n      }),\n      validator('length', { min: 1 }),\n    ],\n  },\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\n\nexport default buildValidations({\n  blocks: {\n    description: 'Contents',\n    validators: [\n      validator('blocks-not-empty', {\n        message: 'Finish writing your post',\n      }),\n      validator('blocks-not-default', {\n        message: 'Finish writing your post',\n      }),\n      validator('no-empty-code-blocks'),\n    ],\n  },\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\n\nexport default buildValidations({\n  bodyBlocks: {\n    description: 'Localized push body',\n    validators: [\n      validator('presence', {\n        presence: true,\n        message: 'Body should not be empty',\n        dependentKeys: ['model.bodyBlocks.@each'],\n      }),\n      validator('title-and-body-blocks-not-empty', {\n        message: 'Mobile Push body should not be empty',\n      }),\n    ],\n  },\n  titleBlocks: {\n    description: 'Localized push title',\n    validators: [\n      validator('presence', {\n        presence: true,\n        message: 'Title should not be empty',\n        dependentKeys: ['model.titleBlocks.@each'],\n      }),\n      validator('title-and-body-blocks-not-empty', {\n        message: 'Mobile Push title should not be empty',\n      }),\n    ],\n  },\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\n\nexport default buildValidations({\n  bodyBlocks: {\n    description: 'Localized SMS body',\n    validators: [\n      validator('presence', {\n        presence: true,\n        message: 'should not be empty',\n      }),\n      validator('title-and-body-blocks-not-empty', {\n        message: 'SMS body should not be empty',\n      }),\n    ],\n  },\n});\n","import { validator, buildValidations } from 'ember-cp-validations';\nimport { VALID_STATES } from 'embercom/models/data/messages/message-constants';\n\nexport default buildValidations({\n  state: {\n    description: 'State',\n    validators: [validator('presence', true), validator('inclusion', { in: VALID_STATES })],\n  },\n  pointerSelector: {\n    description: 'Pointer selector',\n    validators: [validator('message-variation-pointer-selector')],\n  },\n  blocks: {\n    description: 'Contents',\n    validators: [\n      validator('presence', true),\n      validator('push-message-variation-content'),\n      validator('message-variation-html-mode-content-not-empty'),\n      validator('message-variation-html-mode-content-contains-unsubscribe'),\n      validator('message-variation-content-not-placeholder'),\n      validator('message-variation-content-button-no-link-url'),\n      validator('video-vam-has-video-block'),\n      validator('no-empty-code-blocks'),\n    ],\n  },\n  subject: {\n    description: 'Email Subject',\n    validators: [validator('email-subject-not-empty')],\n  },\n});\n","import { and } from '@ember/object/computed';\nimport { buildValidations, validator } from 'ember-cp-validations';\n\nexport default buildValidations({\n  state: {\n    description: 'State',\n    validators: [\n      validator('presence', true),\n      validator('inclusion', { in: ['draft', 'live', 'scheduled', 'stopped'] }),\n    ],\n  },\n  type: {\n    description: 'Type',\n    validators: [\n      validator('presence', true),\n      validator('inclusion', { in: ['Email', 'In-App', 'Push'] }),\n    ],\n  },\n  deliveryChannel: {\n    description: 'Delivery Channel',\n    validators: [\n      validator('number', { allowBlank: true, gte: -1, lte: 4 }),\n      validator('delivery-channel-valid-for-audience'),\n      validator('delivery-channel-admin-must-verify-email'),\n    ],\n  },\n  dueToStopAt: {\n    validators: [\n      validator('date', {\n        onOrAfter: 'now',\n        precision: 'day',\n        message: 'Choose a stop date in the future',\n      }),\n    ],\n  },\n  scheduledToGoLiveAt: {\n    validators: [\n      validator('date', {\n        onOrAfter: 'now',\n        precision: 'hour',\n        message: 'Choose a start date in the future',\n        disabled: and('model.isNotDraft', 'model.isNotScheduled'),\n      }),\n      validator('message-start-at-stop-at-is-valid'),\n    ],\n  },\n  deliveryWindow: {\n    description: 'Delivery Window',\n    validators: [\n      validator('belongs-to'),\n      validator('delivery-window-only-permitted-for-email-or-push'),\n      validator('delivery-window-end-is-after-start'),\n    ],\n  },\n  followUpRules: {\n    description: 'Follow Up Rules',\n    validators: [validator('follow-up-rule-is-valid')],\n  },\n  goal: {\n    description: 'Goal',\n    validators: [validator('belongs-to'), validator('control-group-message-has-goal')],\n  },\n  pageTarget: {\n    description: 'Page Targeting',\n    validators: [validator('belongs-to')],\n  },\n  selectionState: {\n    description: 'Audience',\n    validators: [\n      validator('presence', true),\n      validator('belongs-to'),\n      validator('auto-message-has-user-predicates'),\n      validator('message-limit-user-predicates'),\n    ],\n  },\n  audiencePreview: {\n    description: 'Audience Selection',\n    validators: [validator('manual-message-has-count')],\n  },\n  variations: {\n    description: 'Message Variations',\n    validators: [\n      validator('has-many'),\n      validator('length', { min: 1, max: 2 }),\n      validator('message-variations-are-different'),\n    ],\n  },\n  isUploading: {\n    description: 'The composer upload state',\n    validators: [\n      validator('inline', {\n        validate(value) {\n          return value ? 'An upload is in progress' : true;\n        },\n      }),\n    ],\n  },\n  clientPredicates: {\n    description: 'Client Predicates',\n    validators: [validator('time-on-page-value'), validator('page-target-predicates')],\n  },\n});\n","import { validator, buildValidations } from 'ember-cp-validations';\nimport { VALID_STATES } from 'embercom/models/data/messages/message-constants';\n\nexport default buildValidations({\n  state: {\n    description: 'State',\n    validators: [validator('presence', true), validator('inclusion', { in: VALID_STATES })],\n  },\n});\n","import { validator, buildValidations } from 'ember-cp-validations';\n\nexport default buildValidations({\n  mondayDelivery: {\n    description: 'Delivery on Monday',\n    validators: [validator('presence', true)],\n  },\n  tuesdayDelivery: {\n    description: 'Delivery on Tuesday',\n    validators: [validator('presence', true)],\n  },\n  wednesdayDelivery: {\n    description: 'Delivery on Wednesday',\n    validators: [validator('presence', true)],\n  },\n  thursdayDelivery: {\n    description: 'Delivery on Thursday',\n    validators: [validator('presence', true)],\n  },\n  fridayDelivery: {\n    description: 'Delivery on Friday',\n    validators: [validator('presence', true)],\n  },\n  saturdayDelivery: {\n    description: 'Delivery on Saturday',\n    validators: [validator('presence', true)],\n  },\n  sundayDelivery: {\n    description: 'Delivery on Sunday',\n    validators: [validator('presence', true)],\n  },\n  deliverySecondsSinceMidnightStart: {\n    description: 'Delivery Window Start Time',\n    validators: [validator('number', { allowBlank: false, gte: 0, lte: 24 * 3600 })],\n  },\n  deliverySecondsSinceMidnightEnd: {\n    description: 'Delivery Window End Time',\n    validators: [validator('number', { allowBlank: false, gte: 0, lte: 24 * 3600 })],\n  },\n});\n","import { validator, buildValidations } from 'ember-cp-validations';\n\nexport default buildValidations({\n  pageTargetString: {\n    description: 'Page Target String',\n    validators: [validator('page-target-string')],\n  },\n  pageTargetType: {\n    description: 'Page Target Type',\n    validators: [validator('number', { allowBlank: false, gte: 0, lte: 4 })],\n  },\n});\n","import { validator, buildValidations } from 'ember-cp-validations';\n\nexport default buildValidations({\n  count: {\n    description: 'Audience count',\n    validators: [validator('number', { allowBlank: true, positive: true })],\n  },\n  predicates: {\n    description: 'Predicates',\n    validators: [validator('presence', true), validator('has-many')],\n  },\n  hasUntrackedPredicates: {\n    validators: [\n      validator('inline', {\n        validate(value) {\n          return value ? 'Integrate untracked attributes' : true;\n        },\n      }),\n    ],\n  },\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\n\nexport default buildValidations({\n  localizedPushContents: {\n    description: 'Localized push contents',\n    validators: [validator('has-many')],\n  },\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\nimport { isValidUrlWithProtocol } from 'embercom/lib/url-validator';\nimport { isPresent } from '@ember/utils';\nimport { not } from '@ember/object/computed';\n\nexport default buildValidations({\n  enabled: [validator('presence', true)],\n  supportLink: {\n    validators: [\n      validator('inline', {\n        disabled: not('model.enabled'),\n        dependentKeys: ['model.accessToTeammateEnabled'],\n        validate(value, options, model) {\n          if (model.accessToTeammateEnabled) {\n            return true;\n          } else if (\n            isPresent(value) &&\n            isValidUrlWithProtocol(value) &&\n            value.match(/^https:\\/\\//i)\n          ) {\n            return true;\n          }\n\n          return 'Please enter a valid URL';\n        },\n      }),\n    ],\n  },\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\n\nexport default buildValidations({\n  localizedPostContents: {\n    description: 'Localized post contents',\n    validators: [validator('has-many')],\n  },\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\n\nexport default buildValidations({\n  name: [validator('presence', true), validator('length', { max: 160 })],\n  description: validator('length', { max: 160 }),\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\n\nexport default buildValidations({\n  object: {\n    description: 'Is a valid content',\n    validators: [validator('belongs-to')],\n  },\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\nimport { states } from 'embercom/models/data/matching-system/matching-constants';\nimport { not } from '@ember/object/computed';\n\nexport default buildValidations({\n  state: {\n    description: 'State',\n    validators: [\n      validator('presence', true),\n      validator('inclusion', { in: [states.draft, states.live, states.scheduled, states.paused] }),\n    ],\n  },\n  predicateGroup: {\n    description: 'Audience',\n    validators: [validator('presence', true), validator('ruleset-has-valid-predicates')],\n  },\n  clientPredicateGroup: {\n    description: 'Page targeting',\n    validators: [\n      validator('ruleset-has-no-blank-client-predicates'),\n      validator('ruleset-does-not-target-mobile-and-use-page-targeting'),\n      validator('ruleset-does-not-use-client-predicates-for-static-match-behavior'),\n    ],\n  },\n  userRolePredicate: {\n    description: 'Audience',\n    validators: [\n      validator('ruleset-has-role-predicate'),\n      validator('ruleset-not-static-visitor'),\n      validator('ruleset-does-not-target-mobile-only-and-non-users'),\n    ],\n  },\n  goal: {\n    description: 'Goal',\n    disabled: not('model.hasGoal'),\n    validators: [validator('ruleset-has-valid-goal')],\n  },\n  rulesetLinks: {\n    description: 'Ruleset Link',\n    validators: [\n      validator('has-many'),\n      validator('ruleset-links-are-different'),\n      validator('control-group-message-has-goal'),\n    ],\n  },\n  scheduledActivation: {\n    description: 'Scheduling',\n    validators: [validator('ruleset-has-valid-scheduled-activation')],\n  },\n  scheduledDeactivation: {\n    description: 'Scheduling',\n    validators: [validator('ruleset-has-valid-scheduled-deactivation')],\n  },\n  activationIsBeforeDeactivation: {\n    description: 'Scheduling',\n    validators: [validator('ruleset-activation-is-before-deactivation')],\n  },\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\n\nexport default buildValidations({\n  idpSsoTargetUrl: {\n    description: 'Identity Provider Single Sign-On URL',\n    validators: [\n      validator('presence', { presence: true, message: `This field can't be blank` }),\n      validator('format', { type: 'url', message: 'This field must contain a valid URL' }),\n    ],\n  },\n  idpCert: {\n    description: 'Public Certificate',\n    validators: [\n      validator('presence', { presence: true, message: `This field can't be blank` }),\n      validator('format', {\n        regex: /^-----BEGIN CERTIFICATE-----[A-z0-9+=\\/\\r\\n ]+-----END CERTIFICATE-----$/,\n        message: 'The public certificate needs to start with -----BEGIN CERTIFICATE-----',\n      }),\n    ],\n  },\n  appSsoDomains: {\n    description: 'Allowed domains',\n    validators: [\n      validator('length', { min: 1, message: 'At least one domain is required' }),\n      validator('has-many'),\n    ],\n  },\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\n\nexport default buildValidations({\n  localizedSmsMessageContents: {\n    description: 'Localized SMS contents',\n    validators: [validator('has-many')],\n  },\n});\n","import { buildValidations, validator } from 'ember-cp-validations';\n\nexport default buildValidations({\n  insertableUrl: {\n    description: 'Insertable Url',\n    validators: [validator('url-with-template-string')],\n  },\n});\n","import { validator, buildValidations } from 'ember-cp-validations';\n\nexport default buildValidations({\n  timeDelay: {\n    description: 'Absolute time is in the future',\n    validators: [validator('wait-time-is-in-the-future')],\n  },\n});\n","define(\"embercom/validators/alias\", [\"exports\", \"ember-cp-validations/validators/alias\"], function (_exports, _alias) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _alias.default;\n    }\n  });\n});\n","define(\"embercom/validators/all-pointers-have-selectors\", [\"exports\", \"@intercom/intersection-shared-models/validators/all-pointers-have-selectors\"], function (_exports, _allPointersHaveSelectors) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _allPointersHaveSelectors.default;\n    }\n  });\n});\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst AutoMessageHasUserPredicates = BaseValidator.extend({\n  validate(value, options, model) {\n    if (model.get('clientData.hasOpenedAudienceStep')) {\n      return true;\n    } else if (model.get('isAutoOrVisitorMessage') && value.get('hasNoUserAddedPredicates')) {\n      return 'Choose an audience for your message';\n    } else {\n      return true;\n    }\n  },\n});\n\nAutoMessageHasUserPredicates.reopenClass({\n  getDependentsFor() {\n    return [\n      'model.isAutoOrVisitorMessage',\n      'model.selectionState.predicates.[]',\n      'model.clientData.hasOpenedAudienceStep',\n    ];\n  },\n});\n\nexport default AutoMessageHasUserPredicates;\n","import BaseValidator from 'ember-cp-validations/validators/base';\nimport { isBlank } from '@ember/utils';\n\nconst BannerActionUrlNotEmpty = BaseValidator.extend({\n  validate(value, options, model) {\n    let localizedBannerContent = model.localizedBannerContents.firstObject;\n    if (model.action === 'open_a_url' && isBlank(localizedBannerContent.actionHref)) {\n      return 'Enter a URL';\n    }\n    return true;\n  },\n});\n\nBannerActionUrlNotEmpty.reopenClass({\n  getDependentsFor() {\n    return ['model.action', 'model.localizedBannerContents.firstObject.actionHref'];\n  },\n});\n\nexport default BannerActionUrlNotEmpty;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst BannerBlocksNotEmpty = BaseValidator.extend({\n  validate(value, options, model) {\n    if (!value.get('firstObject.hasContent')) {\n      return 'Finish writing your banner message';\n    }\n    return true;\n  },\n});\n\nBannerBlocksNotEmpty.reopenClass({\n  getDependentsFor() {\n    return ['model.blocks.firstObject.hasContent'];\n  },\n});\n\nexport default BannerBlocksNotEmpty;\n","import BaseValidator from 'ember-cp-validations/validators/base';\nimport { isBlank } from '@ember/utils';\n\nconst BannerButtonTextLength = BaseValidator.extend({\n  validate(value, options, model) {\n    let localizedBannerContent = model.localizedBannerContents.firstObject;\n    if (model.action === 'open_a_url') {\n      if (isBlank(localizedBannerContent.actionTitle)) {\n        return 'Enter a button text';\n      } else if (localizedBannerContent.actionTitle.length > 25) {\n        return 'The button text is too long';\n      }\n    }\n    return true;\n  },\n});\n\nBannerButtonTextLength.reopenClass({\n  getDependentsFor() {\n    return ['model.action', 'model.localizedBannerContents.firstObject.actionTitle'];\n  },\n});\n\nexport default BannerButtonTextLength;\n","define(\"embercom/validators/belongs-to\", [\"exports\", \"ember-cp-validations/validators/belongs-to\"], function (_exports, _belongsTo) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _belongsTo.default;\n    }\n  });\n});\n","import BaseValidator from 'ember-cp-validations/validators/base';\nimport { defaultBlock } from 'embercom/models/data/outbound/constants';\n\nconst BlocksNotDefault = BaseValidator.extend({\n  validate(blocks, options, model) {\n    if (blocks.length === 1 && blocks.get('firstObject.text') === defaultBlock.text) {\n      return options.message || 'Finish writing your message';\n    }\n    return true;\n  },\n});\n\nBlocksNotDefault.reopenClass({\n  getDependentsFor() {\n    return ['model.blocks.firstObject.hasContent'];\n  },\n});\n\nexport default BlocksNotDefault;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst BlocksNotEmpty = BaseValidator.extend({\n  validate(value, options, model) {\n    if (value.any(value => value.hasContent)) {\n      return true;\n    }\n    return options.message || 'Finish writing your message';\n  },\n});\n\nBlocksNotEmpty.reopenClass({\n  getDependentsFor() {\n    return ['model.blocks.@each.hasContent'];\n  },\n});\n\nexport default BlocksNotEmpty;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst BotAutoMessageHasVisitorPredicates = BaseValidator.extend({\n  validate(value, options, model) {\n    return true;\n  },\n});\n\nBotAutoMessageHasVisitorPredicates.reopenClass({\n  getDependentsFor() {\n    return ['model.selectionState.editablePredicates.[]'];\n  },\n});\n\nexport default BotAutoMessageHasVisitorPredicates;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst OR_PREDICATE_LIMIT = 10;\n\nexport default BaseValidator.extend({\n  validate(value) {\n    if (value.get('basePredicates.length') > OR_PREDICATE_LIMIT && value.get('isOrMode')) {\n      return `Limit audience rules to ${OR_PREDICATE_LIMIT} (because you chose \"match any\")`;\n    }\n    return true;\n  },\n});\n","define(\"embercom/validators/collection\", [\"exports\", \"ember-cp-validations/validators/collection\"], function (_exports, _collection) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _collection.default;\n    }\n  });\n});\n","define(\"embercom/validators/confirmation\", [\"exports\", \"ember-cp-validations/validators/confirmation\"], function (_exports, _confirmation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _confirmation.default;\n    }\n  });\n});\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst ControlGroupMessageHasGoal = BaseValidator.extend({\n  validate(value, options, model) {\n    if (model.get('hasControlGroup') && model.get('hasNoGoal')) {\n      return 'You must add a goal to use control groups';\n    }\n    return true;\n  },\n});\n\nControlGroupMessageHasGoal.reopenClass({\n  getDependentsFor() {\n    return ['model.hasControlGroup', 'model.hasNoGoal'];\n  },\n});\n\nexport default ControlGroupMessageHasGoal;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nexport default BaseValidator.extend({\n  validate(botData) {\n    if (!botData.selector || botData.selector.length === 0) {\n      return 'Add a selector to trigger your bot';\n    }\n\n    return true;\n  },\n});\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nexport default BaseValidator.extend({\n  validate(nextPath) {\n    if (!nextPath) {\n      return 'Each reply button must point to a path';\n    }\n    return true;\n  },\n});\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nexport default BaseValidator.extend({\n  validate(buttonLabel) {\n    if (!buttonLabel || !buttonLabel.trim()) {\n      return 'Each reply button must be labeled';\n    }\n    return true;\n  },\n});\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst CustomBotFirstPathConstraints = BaseValidator.extend({\n  validate(pathSteps, options, model) {\n    if (model.get('isButton') && !model.get('paths.firstObject.steps.firstObject.hasBlocks')) {\n      return 'You must start your path with a bot message.';\n    }\n\n    let replyButtons = model.get('paths.firstObject.steps.lastObject.replyButtons');\n    if (\n      (model.get('isOutbound') || model.get('isInbound')) &&\n      (replyButtons === undefined || replyButtons.length === 0)\n    ) {\n      return 'You must include at least one reply button that goes to another path.';\n    }\n    return true;\n  },\n});\n\nCustomBotFirstPathConstraints.reopenClass({\n  getDependentsFor() {\n    return [\n      'model.paths.firstObject.steps.firstObject.hasBlocks',\n      'model.paths.firstObject.steps.lastObject.replyButtons',\n      'model.isButton',\n      'model.isOutbound',\n      'model.isInbound',\n    ];\n  },\n});\n\nexport default CustomBotFirstPathConstraints;\n","import { isEmpty } from '@ember/utils';\nimport BaseValidator from 'ember-cp-validations/validators/base';\n\nconst CustomBotPathIsNotOrphan = BaseValidator.extend({\n  validate(pathSteps, options, model) {\n    if (model.get('index') > 0 && isEmpty(model.get('incomingControls'))) {\n      return 'No one will be able to see this path because no other paths link to it';\n    }\n    return true;\n  },\n});\n\nCustomBotPathIsNotOrphan.reopenClass({\n  getDependentsFor() {\n    return ['model.index', 'model.incomingControls.[]'];\n  },\n});\n\nexport default CustomBotPathIsNotOrphan;\n","import BaseValidator from 'ember-cp-validations/validators/base';\nimport { get } from '@ember/object';\n\nconst CHAT_MESSAGE_HARD_LIMIT = 11;\nconst CHAT_MESSAGE_SOFT_LIMIT = 10;\n\nfunction hasConsecutiveTextGroupsAboveLimit(steps, limit) {\n  let count = 0;\n  let limitReached = false;\n\n  steps.forEach(step => {\n    if (step.isChatMessage) {\n      count += 1;\n      if (count >= limit) {\n        limitReached = true;\n      }\n    } else {\n      count = 0;\n    }\n  });\n\n  return limitReached;\n}\n\nconst CustomBotPathLimitsConsecutiveAutoFollows = BaseValidator.extend({\n  validate(_, options, model) {\n    let stepCount = model.get('steps.length');\n    let isWarning = get(options, 'isWarning');\n    let limit = isWarning ? CHAT_MESSAGE_SOFT_LIMIT : CHAT_MESSAGE_HARD_LIMIT;\n    let steps;\n\n    if (isWarning) {\n      steps = model\n        .get('steps')\n        .slice(stepCount - 1 - limit, stepCount - 1) // take the last slidingWindow, except last one since it is an empty step for follow up rules\n        .filter(x => !!x);\n      if (steps.get('length') !== limit) {\n        return true;\n      }\n    } else {\n      steps = model.get('steps');\n    }\n\n    if (hasConsecutiveTextGroupsAboveLimit(steps, limit)) {\n      return 'You cannot have more than 10 consecutive bot messages';\n    }\n\n    return true;\n  },\n});\n\nCustomBotPathLimitsConsecutiveAutoFollows.reopenClass({\n  getDependentsFor() {\n    return ['model.steps.[]'];\n  },\n});\n\nexport default CustomBotPathLimitsConsecutiveAutoFollows;\n","import BaseValidator from 'ember-cp-validations/validators/base';\nimport { inject as service } from '@ember/service';\n\nexport default BaseValidator.extend({\n  operatorMessengerAppService: service(),\n\n  validate(value) {\n    if (!value) {\n      return true;\n    }\n\n    let messengerAppIds = this.extractMessengerAppIds(value);\n    if (messengerAppIds.length > 0) {\n      return this.operatorMessengerAppService.validateMessengerAppIds(messengerAppIds);\n    }\n\n    return true;\n  },\n\n  extractMessengerAppIds(value) {\n    let rules = (value.name === 'followUpRules' ? value._objects : [value]) || [];\n    let actions = rules.reduce((actions, rule) => {\n      actions.push(...rule.actions.toArray());\n      return actions;\n    }, []);\n\n    let appActionTypes = [\n      'send-app',\n      'send-app-without-introduction',\n      'send-app-with-introduction',\n    ];\n\n    return actions\n      .filter(\n        action => appActionTypes.includes(action.type) && action.get('actionData.messengerAppId'),\n      )\n      .map(action => action.get('actionData.messengerAppId'));\n  },\n});\n","import BaseValidator from 'ember-cp-validations/validators/base';\nimport { inject as service } from '@ember/service';\n\nexport default BaseValidator.extend({\n  operatorMessengerAppService: service(),\n\n  validate(value) {\n    if (!value) {\n      return true;\n    }\n\n    let messengerAppIds = this.extractMessengerAppIds(value);\n    if (messengerAppIds.length > 0) {\n      return this.operatorMessengerAppService.validateMessengerAppIds(messengerAppIds);\n    }\n\n    return true;\n  },\n\n  extractMessengerAppIds(value) {\n    return value\n      .filter(block => block.type === 'messengerCard' && block.messenger_app_id)\n      .map(block => block.messenger_app_id);\n  },\n});\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nexport default BaseValidator.extend({\n  validate(blocks) {\n    if (!blocks) {\n      return true;\n    }\n\n    let cardErrors = [];\n    let messengerCardBlocks = blocks.filter(block => block.type === 'messengerCard');\n    if (messengerCardBlocks.length > 0) {\n      cardErrors = messengerCardBlocks.reduce((errors, card) => {\n        if (!card.canvas || !card.uri || !card.messenger_app_id) {\n          errors.push('The messenger app is in an invalid state, please remove and add it again');\n        }\n        return errors;\n      }, []);\n    }\n    return cardErrors.length > 0 ? cardErrors.join(', ') : true;\n  },\n});\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nfunction emptyTextBlocks(blocks) {\n  return [].concat(blocks.filterBy('text', '')).concat(blocks.filterBy('text', '<br>'));\n}\n\nexport default BaseValidator.extend({\n  validate(blocks, step) {\n    if (!this.get('model.isChatMessage') && !this.get('model.isAnswerBot')) {\n      return true;\n    }\n\n    let emptyBlocks = emptyTextBlocks(blocks);\n    if (blocks.length === emptyBlocks.length) {\n      return this.get('model.isAnswerBot')\n        ? `Resolution Bot prompts must contain text.`\n        : 'Each bot message must contain text.';\n    }\n\n    return true;\n  },\n});\n","import BaseValidator from 'ember-cp-validations/validators/base';\nimport { inject as service } from '@ember/service';\nimport { mapBy } from '@ember/object/computed';\n\nconst CustomBotStepDataFieldIsSet = BaseValidator.extend({\n  attributeService: service(),\n  collectableAttributeIdentifiers: mapBy(\n    'attributeService.botAutoMessageCollectableAttributes',\n    'identifier',\n  ),\n  validate(identifier) {\n    if (!identifier || this.collectableAttributeIdentifiers.indexOf(identifier) === -1) {\n      return 'You must add a valid attribute for each data field.';\n    }\n    return true;\n  },\n});\n\nCustomBotStepDataFieldIsSet.reopenClass({\n  getDependentsFor() {\n    return ['model.attributeIdentifier'];\n  },\n});\n\nexport default CustomBotStepDataFieldIsSet;\n","define(\"embercom/validators/date\", [\"exports\", \"ember-cp-validations/validators/date\"], function (_exports, _date) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _date.default;\n    }\n  });\n});\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst DeliveryChannelAdminMustVerifyEmail = BaseValidator.extend({\n  validate(value, options, model) {\n    if (model.get('isEmail') && model.get('app.currentAdmin.current_email_pending_verification')) {\n      return 'To start sending email, verify your email address';\n    }\n    return true;\n  },\n});\n\nDeliveryChannelAdminMustVerifyEmail.reopenClass({\n  getDependentsFor() {\n    return ['model.isEmail', 'model.app.currentAdmin.current_email_pending_verification'];\n  },\n});\n\nexport default DeliveryChannelAdminMustVerifyEmail;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst DeliveryChannelValidForAudience = BaseValidator.extend({\n  validate(value, options, model) {\n    if (model.get('isMobilePush') && !model.get('selectionState.isTargetingUsers')) {\n      return 'To send this as a push message, change the audience to users';\n    }\n\n    return true;\n  },\n});\n\nDeliveryChannelValidForAudience.reopenClass({\n  getDependentsFor() {\n    return ['model.isMobilePush', 'model.selectionState.isTargetingUsers'];\n  },\n});\n\nexport default DeliveryChannelValidForAudience;\n","import { isPresent } from '@ember/utils';\nimport BaseValidator from 'ember-cp-validations/validators/base';\n\nconst MINIMUM_GAP_BETWEEN_START_AND_END_IN_HOURS = 3;\n\nconst DeliveryWindowEndIsAfterStart = BaseValidator.extend({\n  validate(value, options, model) {\n    if (isPresent(value)) {\n      let deliverySecondsSinceMidnightStart = value.get('deliverySecondsSinceMidnightStart');\n      let deliverySecondsSinceMidnightEnd = value.get('deliverySecondsSinceMidnightEnd');\n\n      if (deliverySecondsSinceMidnightStart >= deliverySecondsSinceMidnightEnd) {\n        return 'Your start time needs to be before the end';\n      }\n\n      if (model.get('isInApp')) {\n        return true; // delivery windows are trigger times for in-app messages. There's no restriction on window length for trigger times.\n      }\n\n      if (\n        deliverySecondsSinceMidnightEnd <\n        deliverySecondsSinceMidnightStart + MINIMUM_GAP_BETWEEN_START_AND_END_IN_HOURS * 3600\n      ) {\n        return `Your delivery window start time needs be at least ${MINIMUM_GAP_BETWEEN_START_AND_END_IN_HOURS} hours before the end`;\n      }\n    }\n    return true;\n  },\n});\n\nDeliveryWindowEndIsAfterStart.reopenClass({\n  getDependentsFor() {\n    return [\n      'model.isInApp',\n      'model.deliveryWindow.deliverySecondsSinceMidnightStart',\n      'model.deliveryWindow.deliverySecondsSinceMidnightEnd',\n    ];\n  },\n});\n\nexport default DeliveryWindowEndIsAfterStart;\n","import { isPresent } from '@ember/utils';\nimport BaseValidator from 'ember-cp-validations/validators/base';\n\nconst DeliveryWindowOnlyPermittedForEmailOrPush = BaseValidator.extend({\n  validate(value, options, model) {\n    if (isPresent(value) && !model.get('canEditDeliveryWindows')) {\n      return 'Change this to an email or push message if you want to set a delivery window';\n    }\n    return true;\n  },\n});\n\nDeliveryWindowOnlyPermittedForEmailOrPush.reopenClass({\n  getDependentsFor() {\n    return ['model.canEditDeliveryWindows'];\n  },\n});\n\nexport default DeliveryWindowOnlyPermittedForEmailOrPush;\n","define(\"embercom/validators/dependent\", [\"exports\", \"ember-cp-validations/validators/dependent\"], function (_exports, _dependent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _dependent.default;\n    }\n  });\n});\n","import BaseValidator from 'ember-cp-validations/validators/base';\nimport { isEmpty } from '@ember/utils';\n\nconst DOMAIN_REGEX = /^(?!:\\/\\/)([a-zA-Z0-9-_]+\\.)*[a-zA-Z0-9][a-zA-Z0-9-_]+\\.[a-zA-Z]{2,11}?$/;\n\n/**\n * Validator which validates domains\n *\n * Example of valid domains:\n *\n * domain.com\n * example.domain.com\n * example.domain-hyphen.com\n * www.domain.com\n * example.museum\n *\n * Example of invalid domains:\n *\n * http://example.com\n * subdomain.-example.com\n * example.com/parameter\n * example.com?anything\n */\nconst Domain = BaseValidator.extend({\n  validate(value) {\n    let invalidMessage = 'Domain must be in the form <second-level>.<top-level> e.g. mysite.com';\n    if (isEmpty(value)) {\n      return invalidMessage;\n    }\n    return value.match(DOMAIN_REGEX) ? true : invalidMessage;\n  },\n});\n\nexport default Domain;\n","define(\"embercom/validators/ds-error\", [\"exports\", \"ember-cp-validations/validators/ds-error\"], function (_exports, _dsError) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _dsError.default;\n    }\n  });\n});\n","import { isBlank } from '@ember/utils';\nimport BaseValidator from 'ember-cp-validations/validators/base';\n\nconst EmailSubjectNotEmpty = BaseValidator.extend({\n  validate(value, options, model) {\n    if (isBlank(value) && model.get('isEmail')) {\n      return 'Add a subject line to your message';\n    }\n    return true;\n  },\n});\n\nEmailSubjectNotEmpty.reopenClass({\n  getDependentsFor() {\n    return ['model.isEmail'];\n  },\n});\n\nexport default EmailSubjectNotEmpty;\n","define(\"embercom/validators/exclusion\", [\"exports\", \"ember-cp-validations/validators/exclusion\"], function (_exports, _exclusion) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _exclusion.default;\n    }\n  });\n});\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst FollowUpRuleIsComplete = BaseValidator.extend({\n  validate(rules, options, model) {\n    if (rules.isEvery('hasNonLogicalPredicates') && rules.isEvery('hasActions')) {\n      return true;\n    } else {\n      return 'Your follow up rules are incomplete.';\n    }\n  },\n});\n\nFollowUpRuleIsComplete.reopenClass({\n  getDependentsFor() {\n    return [\n      'model.followUpRules.@each.hasNonLogicalPredicates',\n      'model.followUpRules.@each.hasActions',\n    ];\n  },\n});\n\nexport default FollowUpRuleIsComplete;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst FollowUpRuleIsValid = BaseValidator.extend({\n  validate(value, options, model) {\n    if (value.isEvery('isRuleValid')) {\n      return true;\n    } else {\n      return 'Your follow up rules are incomplete.';\n    }\n  },\n});\n\nFollowUpRuleIsValid.reopenClass({\n  getDependentsFor() {\n    return ['model.followUpRules.@each.isRuleValid'];\n  },\n});\n\nexport default FollowUpRuleIsValid;\n","define(\"embercom/validators/format\", [\"exports\", \"ember-cp-validations/validators/format\"], function (_exports, _format) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _format.default;\n    }\n  });\n});\n","define(\"embercom/validators/has-many\", [\"exports\", \"ember-cp-validations/validators/has-many\"], function (_exports, _hasMany) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _hasMany.default;\n    }\n  });\n});\n","import BaseValidator from 'ember-cp-validations/validators/base';\nimport ENV from 'embercom/config/environment';\nimport { isBlank } from '@ember/utils';\nconst httpsRegex = /^https:\\/\\//;\n\n/**\n * Validates that a value begins with https:\n * Allows other values when the environment is developement.\n */\nconst Https = BaseValidator.extend({\n  validate(value, options, model) {\n    if (isBlank(value)) {\n      return options && options['allowBlank'] ? true : \"This field can't be blank\";\n    } else if (ENV.environment === 'development' || httpsRegex.test(value)) {\n      return true;\n    } else {\n      return 'Must use HTTPS';\n    }\n  },\n});\n\nexport default Https;\n","define(\"embercom/validators/inclusion\", [\"exports\", \"ember-cp-validations/validators/inclusion\"], function (_exports, _inclusion) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _inclusion.default;\n    }\n  });\n});\n","define(\"embercom/validators/inline\", [\"exports\", \"ember-cp-validations/validators/inline\"], function (_exports, _inline) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _inline.default;\n    }\n  });\n});\n","define(\"embercom/validators/length\", [\"exports\", \"ember-cp-validations/validators/length\"], function (_exports, _length) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _length.default;\n    }\n  });\n});\n","import { isBlank, isNone } from '@ember/utils';\nimport BaseValidator from 'ember-cp-validations/validators/base';\n\nlet validateEmptyPreview = function(model) {\n  if (model.get('isManualMessage')) {\n    return 'Choose an audience for your message';\n  } else {\n    return true;\n  }\n};\n\nlet validatePopulatedPreview = function(value, model) {\n  let count = value.get('count');\n  if ((isBlank(count) || count === 0) && model.get('isManualMessage')) {\n    return 'Choose an audience for your message';\n  }\n  return true;\n};\n\nconst ManualMessageHasCount = BaseValidator.extend({\n  validate(value, options, model) {\n    if (isNone(value)) {\n      return validateEmptyPreview(model);\n    } else {\n      return validatePopulatedPreview(value, model);\n    }\n  },\n});\n\nManualMessageHasCount.reopenClass({\n  getDependentsFor() {\n    return ['model.isManualMessage'];\n  },\n});\n\nexport default ManualMessageHasCount;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst OR_PREDICATE_LIMIT = 10;\n\nexport default BaseValidator.extend({\n  validate(value) {\n    if (value.get('userAddedPredicates.length') > OR_PREDICATE_LIMIT && value.get('isOrMode')) {\n      return `Limit audience rules to ${OR_PREDICATE_LIMIT} (because you chose \"match any\")`;\n    }\n    return true;\n  },\n});\n","import { isEmpty } from '@ember/utils';\nimport BaseValidator from 'ember-cp-validations/validators/base';\nimport moment from 'moment';\n\nconst MessageStartAtStopAtIsValid = BaseValidator.extend({\n  validate(value, options, model) {\n    if (model.get('isNotDraft') && model.get('isNotScheduled')) {\n      return true; // Pass if not a draft or scheduled message\n    }\n\n    if (isEmpty(value) || isEmpty(model.get('dueToStopAt'))) {\n      return true; // Pass if either date is null\n    }\n\n    if (moment(value) >= moment(model.get('dueToStopAt'))) {\n      return 'Choose a start date that is before the stop date';\n    }\n\n    return true;\n  },\n});\n\nMessageStartAtStopAtIsValid.reopenClass({\n  getDependentsFor() {\n    return ['model.isNotDraft', 'model.isNotScheduled', 'model.dueToStopAt'];\n  },\n});\n\nexport default MessageStartAtStopAtIsValid;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst MessageVariationContentButtonNoLinkUrl = BaseValidator.extend({\n  validate(value, options, model) {\n    if (model.get('message.isMobilePush') || model.get('emailTemplate.isHtmlMode')) {\n      return true;\n    }\n\n    let buttons = value.filterBy('type', 'button');\n    if (buttons.any(button => !button.get('linkUrl'))) {\n      return 'A button is missing a link';\n    }\n\n    return true;\n  },\n});\n\nMessageVariationContentButtonNoLinkUrl.reopenClass({\n  getDependentsFor() {\n    return ['model.mutations.lastMutatedAt'];\n  },\n});\n\nexport default MessageVariationContentButtonNoLinkUrl;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nlet removeWhiteSpace = function(text = '') {\n  return text\n    .split(/(\\{\\{.*?\\}\\})/)\n    .map(str => (str.startsWith('{{') ? str.replace(/\\s/g, '') : str))\n    .join('');\n};\n\nconst MessageVariationContentNotPlaceholder = BaseValidator.extend({\n  validate(value, options, model) {\n    if (\n      model.get('message.isMobilePush') ||\n      model.get('emailTemplate.isHtmlMode') ||\n      value.get('length') > 2 ||\n      !value.get('firstObject.isText')\n    ) {\n      return true;\n    }\n\n    let placeholder = model.get('message.app.commentPlaceholder');\n    let blocksWithoutEmptyTextBlocks = value.reject(block => {\n      return block.get('isText') && block.get('text').trim() === '';\n    });\n    if (\n      blocksWithoutEmptyTextBlocks.get('length') > 1 ||\n      removeWhiteSpace(blocksWithoutEmptyTextBlocks.get('firstObject.text')) !==\n        removeWhiteSpace(placeholder)\n    ) {\n      return true;\n    }\n\n    return 'Finish writing your message';\n  },\n});\n\nMessageVariationContentNotPlaceholder.reopenClass({\n  getDependentsFor() {\n    return [\n      'model.message.isMobilePush',\n      'model.emailTemplate.isHtmlMode',\n      'model.message.app.commentPlaceholder',\n      'model.blocks.@each.{text}',\n    ];\n  },\n});\n\nexport default MessageVariationContentNotPlaceholder;\n","import { isBlank } from '@ember/utils';\nimport { get } from '@ember/object';\nimport BaseValidator from 'ember-cp-validations/validators/base';\n\nfunction containsUnsubscribeUrlOrLink(content) {\n  return /(%7B%7B|\\{\\{)(\\s|%20)*unsubscribe_(url|link)(\\s|%20)*(%7D%7D|\\}\\})/.test(content);\n}\n\nconst MessageVariationHtmlModeContentContainsUnsubscribe = BaseValidator.extend({\n  validate(value, options, model) {\n    if (model.get('isHtmlMode')) {\n      let content = get(value, 'firstObject.content');\n      if (isBlank(content) || !containsUnsubscribeUrlOrLink(content)) {\n        return 'Add an {{unsubscribe_url}} or {{unsubscribe_link}} to the body of your HTML';\n      }\n    }\n    return true;\n  },\n});\n\nMessageVariationHtmlModeContentContainsUnsubscribe.reopenClass({\n  getDependentsFor() {\n    return ['model.emailTemplate.isHtmlMode', 'model.block.@each.{content}'];\n  },\n});\n\nexport default MessageVariationHtmlModeContentContainsUnsubscribe;\n","import { get } from '@ember/object';\nimport { isBlank } from '@ember/utils';\nimport BaseValidator from 'ember-cp-validations/validators/base';\n\nconst MessageVariationHtmlModeContentNotEmpty = BaseValidator.extend({\n  validate(value, options, model) {\n    if (model.get('isHtmlMode')) {\n      if (isBlank(get(value, 'firstObject.content'))) {\n        return 'Finish writing your HTML email';\n      }\n    }\n    return true;\n  },\n});\n\nMessageVariationHtmlModeContentNotEmpty.reopenClass({\n  getDependentsFor() {\n    return ['model.emailTemplate.isHtmlMode', 'model.block.@each.{content}'];\n  },\n});\n\nexport default MessageVariationHtmlModeContentNotEmpty;\n","import BaseValidator from 'ember-cp-validations/validators/base';\nimport { isEmpty } from '@ember/utils';\n\nconst PointerSelector = BaseValidator.extend({\n  validate(value, options, model) {\n    if (model.get('isPointer')) {\n      if (isEmpty(value)) {\n        return 'Choose where to point your message at';\n      }\n      try {\n        document.querySelector(value);\n      } catch (_e) {\n        return 'CSS code is not valid.';\n      }\n    }\n    return true;\n  },\n});\n\nPointerSelector.reopenClass({\n  getDependentsFor() {\n    return ['model.isPointer'];\n  },\n});\n\nexport default PointerSelector;\n","import { isPresent, isEqual } from '@ember/utils';\nimport BaseValidator from 'ember-cp-validations/validators/base';\nimport MESSAGE_CONSTANTS from 'embercom/models/data/messages/message-constants';\n\nconst MessageVariationsAreDifferent = BaseValidator.extend({\n  validate(value, options, model) {\n    if (isPresent(value) && value.length === 2) {\n      if (this._variationsAreEqual(value[0], value[1], model)) {\n        return 'Your A & B messages are exactly the same';\n      }\n    }\n\n    return true;\n  },\n\n  _variationsAreEqual(variationA, variationB, message) {\n    let variationAContentHash = this._generate_content_hash_for_variation(variationA, message);\n    let variationBContentHash = this._generate_content_hash_for_variation(variationB, message);\n    return isEqual(JSON.stringify(variationAContentHash), JSON.stringify(variationBContentHash));\n  },\n\n  _generate_content_hash_for_variation(variation, message) {\n    switch (message.get('type')) {\n      case MESSAGE_CONSTANTS.emailType:\n        return this._generateEmailContentHash(variation);\n      case MESSAGE_CONSTANTS.inAppType:\n        return this._generateInAppContentHash(variation);\n      case MESSAGE_CONSTANTS.pushType:\n        return this._generatePushOnlyContentHash(variation);\n    }\n\n    throw new Error('Invalid message type');\n  },\n\n  _generateEmailContentHash(variation) {\n    return {\n      blocks: variation.get('blocks').serialize(),\n      subject: variation.get('subject'),\n      assignToId: variation.get('assignToId'),\n      fromId: variation.get('fromId'),\n      customFromAddress: variation.get('hasCustomFromAddress')\n        ? variation.get('customFromAddress').content.serialize()\n        : null,\n      customReplyToAddress: variation.get('hasCustomReplyToAddress')\n        ? variation.get('customReplyToAddress').content.serialize()\n        : null,\n      email_style: variation.get('emailTemplate').content.serialize(),\n    };\n  },\n\n  _generateInAppContentHash(variation) {\n    return {\n      blocks: variation.get('blocks').serialize(),\n      assignToId: variation.get('assignToId'),\n      fromId: variation.get('fromId'),\n      messageStyle: variation.get('messageStyle'),\n      replyType: variation.get('replyType'),\n      deliveryOption: variation.get('deliveryOption'),\n    };\n  },\n\n  _generatePushOnlyContentHash(variation) {\n    return {\n      blocks: variation.get('blocks').serialize(),\n      pushOnlyURIs: variation.get('pushOnlyURIs')\n        ? variation.get('pushOnlyURIs').serialize()\n        : null,\n    };\n  },\n});\n\nMessageVariationsAreDifferent.reopenClass({\n  getDependentsFor() {\n    return [\n      'model.variations',\n      'model.type',\n      'model.variationA.blocks.@each.{align,attachments,content,header,items,footer,language,text,type,url,videoId}',\n      'model.variationB.blocks.@each.{align,attachments,content,header,items,footer,language,text,type,url,videoId}',\n      'model.variations.blocks.[]',\n      'model.variations.@each.subject',\n      'model.variations.@each.assignToId',\n      'model.variations.@each.fromId',\n      'model.variations.@each.customFromAddress',\n      'model.variations.@each.customReplyToAddress',\n      'model.variations.@each.messageStyle',\n      'model.variations.@each.pushOnlyURIs',\n      'model.variations.@each.replyType',\n      'model.variations.@each.deliveryOption',\n    ];\n  },\n});\n\nexport default MessageVariationsAreDifferent;\n","define(\"embercom/validators/messages\", [\"exports\", \"ember-cp-validations/validators/messages\"], function (_exports, _messages) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _messages.default;\n    }\n  });\n});\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst NoEmptyCodeBlocks = BaseValidator.extend({\n  validate(value, options, model) {\n    let codeBlocks = value.filter(block => block.type === 'code');\n    if (codeBlocks.every(block => block.hasContent)) {\n      return true;\n    }\n    return options.message || 'Finish writing the text for your code block.';\n  },\n});\n\nNoEmptyCodeBlocks.reopenClass({\n  getDependentsFor() {\n    return ['model.blocks.@each.{type,hasContent}'];\n  },\n});\n\nexport default NoEmptyCodeBlocks;\n","define(\"embercom/validators/number\", [\"exports\", \"ember-cp-validations/validators/number\"], function (_exports, _number) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _number.default;\n    }\n  });\n});\n","import BaseValidator from 'ember-cp-validations/validators/base';\nimport { regularExpressions } from 'ember-validators/format';\nimport ENV from 'embercom/config/environment';\n\nconst httpsRegex = /^https:\\/\\//;\n\nconst isHttps = value => {\n  return ENV.environment === 'development' || httpsRegex.test(value);\n};\n\nconst isWithinLengthLimit = value => {\n  return value.length <= 250;\n};\nexport default BaseValidator.extend({\n  validate(value) {\n    let urlRegex = regularExpressions.url;\n    let localhostRegex = /^http:\\/\\/localhost/;\n    if (!isWithinLengthLimit(value)) {\n      return 'This field must be less than 250 characters';\n    }\n    if (urlRegex.test(value) && isHttps(value)) {\n      return true;\n    } else if (localhostRegex.test(value)) {\n      return true;\n    } else {\n      return 'This field must be a valid url';\n    }\n  },\n});\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst PageTargetPredicates = BaseValidator.extend({\n  validate(value, options, model) {\n    let validations = model\n      .get('selectionState.pageTargetPredicates')\n      .map(pageTargetPredicate => {\n        let pageTargetValue = pageTargetPredicate.get('value');\n        if (!pageTargetValue) {\n          return 'Your page targeting is invalid';\n        }\n      })\n      .compact()\n      .uniq();\n    if (validations.length > 0) {\n      return validations.join(', ');\n    }\n    return true;\n  },\n});\n\nPageTargetPredicates.reopenClass({\n  getDependentsFor() {\n    return ['model.selectionState.pageTargetPredicates.@each'];\n  },\n});\n\nexport default PageTargetPredicates;\n","import { isBlank } from '@ember/utils';\nimport BaseValidator from 'ember-cp-validations/validators/base';\n\nconst PageTargetString = BaseValidator.extend({\n  validate(value, options, model) {\n    if (isBlank(value) && model.get('present')) {\n      return 'Add a target URL';\n    }\n    return true;\n  },\n});\n\nPageTargetString.reopenClass({\n  getDependentsFor() {\n    return ['model.present'];\n  },\n});\n\nexport default PageTargetString;\n","define(\"embercom/validators/pointer-has-selector\", [\"exports\", \"@intercom/intersection-shared-models/validators/pointer-has-selector\"], function (_exports, _pointerHasSelector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _pointerHasSelector.default;\n    }\n  });\n});\n","define(\"embercom/validators/presence\", [\"exports\", \"ember-cp-validations/validators/presence\"], function (_exports, _presence) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _presence.default;\n    }\n  });\n});\n","import { get } from '@ember/object';\nimport { isBlank } from '@ember/utils';\nimport BaseValidator from 'ember-cp-validations/validators/base';\n\nconst PushMessageVariationContent = BaseValidator.extend({\n  validate(value, options, model) {\n    if (model.get('isMobilePush')) {\n      if (isBlank(get(value, 'firstObject.text'))) {\n        return 'Add a title to your message';\n      }\n      if (isBlank(get(value, 'lastObject.text'))) {\n        return 'Finish writing your message';\n      }\n    }\n    return true;\n  },\n});\n\nPushMessageVariationContent.reopenClass({\n  getDependentsFor() {\n    return ['model.isMobilePush'];\n  },\n});\n\nexport default PushMessageVariationContent;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst QuickLinkURL = BaseValidator.extend({\n  validate(value) {\n    // Strip attributes before validating as attribute names may contain whitespace\n    // https://github.com/intercom/intercom/issues/142920\n    let attributeRegex = /{{.+}}/gi;\n    let urlWithoutAttributes = value.replace(attributeRegex, '');\n    if (\n      !urlWithoutAttributes.startsWith('http://') &&\n      !urlWithoutAttributes.startsWith('https://')\n    ) {\n      return 'Enter a URL that starts with http:// or https://';\n    } else if (/\\s/.test(urlWithoutAttributes)) {\n      return \"Make sure the URL doesn't have any whitespaces\";\n    } else {\n      return true;\n    }\n  },\n});\n\nexport default QuickLinkURL;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst RuleData = BaseValidator.extend({\n  validate(value, options, model) {\n    let isRuleValid = model.get('isRuleValid');\n    if (!isRuleValid) {\n      if (!model.get('predicatesAreValid')) {\n        return 'Rule data is incomplete';\n      }\n      if (!model.get('actionsAreValid')) {\n        return 'Rule actions are incomplete';\n      }\n    }\n    return true;\n  },\n});\n\nexport default RuleData;\n","import BaseValidator from 'ember-cp-validations/validators/base';\nimport moment from 'moment';\nimport { isEmpty } from '@ember/utils';\n\nconst RulesetActivationIsBeforeDeactivation = BaseValidator.extend({\n  validate(value, options, model) {\n    if (isEmpty(model.scheduledActivation) || isEmpty(model.scheduledDeactivation)) {\n      return true;\n    }\n\n    let scheduledActivationDate = moment(model.scheduledActivation.changeAt);\n    let scheduledDeactivationDate = moment(model.scheduledDeactivation.changeAt);\n\n    if (scheduledDeactivationDate <= scheduledActivationDate) {\n      return 'Choose a start date that is before the stop date';\n    }\n\n    return true;\n  },\n});\n\nRulesetActivationIsBeforeDeactivation.reopenClass({\n  getDependentsFor() {\n    return [\n      'model.scheduledActivation',\n      'model.scheduledActivation.changeAt',\n      'model.scheduledDeactivation',\n      'model.scheduledDeactivation.changeAt',\n    ];\n  },\n});\n\nexport default RulesetActivationIsBeforeDeactivation;\n","import BaseValidator from 'ember-cp-validations/validators/base';\nimport { isEmpty } from '@ember/utils';\nimport { preferredDevices } from 'embercom/models/data/outbound/constants';\n\nconst RulesetDoesNotTargetMobileAndUsePageTargeting = BaseValidator.extend({\n  validate(value, options, model) {\n    let devicesPreferred = model.rulesetLinks\n      .map(rulesetLink => rulesetLink.preferredDevices)\n      .flat()\n      .compact();\n\n    if (isEmpty(value) || isEmpty(value.predicates)) {\n      return true;\n    }\n\n    let targetsWeb = devicesPreferred.includes(preferredDevices.web);\n    if (targetsWeb) {\n      return true;\n    }\n\n    let targetsiOS = devicesPreferred.includes(preferredDevices.ios);\n    let targetsAndroid = devicesPreferred.includes(preferredDevices.android);\n\n    if (targetsiOS || targetsAndroid) {\n      return 'You can not use page targeting when sending to iOS or Android.';\n    } else {\n      return true;\n    }\n  },\n});\n\nRulesetDoesNotTargetMobileAndUsePageTargeting.reopenClass({\n  getDependentsFor() {\n    return [\n      'model.rulesetLinks.@each.preferredDevices',\n      'model.clientPredicateGroup.predicates.@each',\n    ];\n  },\n});\n\nexport default RulesetDoesNotTargetMobileAndUsePageTargeting;\n","import BaseValidator from 'ember-cp-validations/validators/base';\nimport { isEmpty } from '@ember/utils';\nimport { preferredDevices } from 'embercom/models/data/outbound/constants';\n\nconst RulesetDoesNotTargetMobileOnlyAndNonUsers = BaseValidator.extend({\n  validate(value, options, model) {\n    let devicesPreferred = model.rulesetLinks\n      .map(rulesetLink => rulesetLink.preferredDevices)\n      .flat()\n      .compact();\n\n    let targets = function(userType) {\n      if (isEmpty(value?.value)) {\n        return false;\n      }\n\n      if (value.comparison === 'in') {\n        return value.userTypes.includes(userType);\n      } else {\n        return value.userType === userType;\n      }\n    };\n\n    let targetsLeads = targets('lead');\n    let targetsVisitors = targets('visitor');\n    let targetsWeb = isEmpty(devicesPreferred) || devicesPreferred.includes(preferredDevices.web);\n\n    if ((targetsLeads || targetsVisitors) && !targetsWeb) {\n      return 'You can not target leads or visitors unless you show the message on Web.';\n    } else {\n      return true;\n    }\n  },\n});\n\nRulesetDoesNotTargetMobileOnlyAndNonUsers.reopenClass({\n  getDependentsFor() {\n    return ['model.rulesetLinks.@each.preferredDevices', 'model.userRolePredicate.userTypes'];\n  },\n});\n\nexport default RulesetDoesNotTargetMobileOnlyAndNonUsers;\n","import BaseValidator from 'ember-cp-validations/validators/base';\nimport { isEmpty } from '@ember/utils';\n\n// `model` here is Ruleset and `value` is Ruleset#clientPredicateGroup\nconst RulesetDoesNotUseClientPredicatesForStaticMatchBehavior = BaseValidator.extend({\n  validate(value, options, model) {\n    if (isEmpty(value)) {\n      return true;\n    }\n    if (model.isMatchBehaviorStatic && value.predicates?.length > 0) {\n      return 'URL rules and Time on Page rules are not supported in one-off messages.';\n    }\n    return true;\n  },\n});\n\nRulesetDoesNotUseClientPredicatesForStaticMatchBehavior.reopenClass({\n  getDependentsFor() {\n    return ['model.isMatchBehaviorStatic', 'model.clientPredicateGroup.predicates.[]'];\n  },\n});\n\nexport default RulesetDoesNotUseClientPredicatesForStaticMatchBehavior;\n","import BaseValidator from 'ember-cp-validations/validators/base';\nimport { isEmpty } from '@ember/utils';\n\nconst RulesetHasNoBlankClientPredicates = BaseValidator.extend({\n  validate(value) {\n    if (isEmpty(value)) {\n      return true;\n    }\n\n    let predicates;\n    if (value.predicates.firstObject?.isLogicalType) {\n      predicates = value.predicates.firstObject.predicates;\n    } else {\n      predicates = value.predicates;\n    }\n\n    let errors = predicates\n      .map(clientPredicate => {\n        if (\n          !clientPredicate.isLogicalType &&\n          clientPredicate.isValueBasedComparison &&\n          isEmpty(clientPredicate.value)\n        ) {\n          return this._errorMessage(clientPredicate);\n        }\n        return null;\n      }, this)\n      .compact();\n\n    return errors.firstObject || true;\n  },\n\n  _errorMessage(clientPredicate) {\n    if (clientPredicate.isPageTarget) {\n      return 'You must enter a URL value';\n    } else {\n      return 'You must enter a value';\n    }\n  },\n});\n\nRulesetHasNoBlankClientPredicates.reopenClass({\n  getDependentsFor() {\n    return ['model.clientPredicateGroup.predicates.@each.{isPageTarget,value}'];\n  },\n});\n\nexport default RulesetHasNoBlankClientPredicates;\n","import BaseValidator from 'ember-cp-validations/validators/base';\nimport { isEmpty } from '@ember/utils';\n\nconst RulesetHasRolePredicate = BaseValidator.extend({\n  validate(value, options, model) {\n    if (model.isMemberOfSeries && model.node.isInternal) {\n      return true;\n    }\n    if (isEmpty(value)) {\n      return 'Choose an audience';\n    }\n    return true;\n  },\n});\n\nRulesetHasRolePredicate.reopenClass({\n  getDependentsFor() {\n    return [\n      'model.isRuleset',\n      'model.predicateGroup.userPredicate',\n      'model.rolePredicateGroup.userPredicate',\n      'model.isMemberOfSeries',\n      'model.node.isInternal',\n    ];\n  },\n});\n\nexport default RulesetHasRolePredicate;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst RulesetHasValidGoal = BaseValidator.extend({\n  validate(value, options, model) {\n    let predicateGroup = model.get('goal.predicateGroup');\n    return predicateGroup.hasPredicates && predicateGroup.predicates.isEvery('isValid', true);\n  },\n});\n\nRulesetHasValidGoal.reopenClass({\n  getDependentsFor() {\n    return ['model.goal.predicateGroup.predicates.@each.isValid'];\n  },\n});\n\nexport default RulesetHasValidGoal;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst RulesetHasValidPredicate = BaseValidator.extend({\n  validate(value) {\n    let predicates = value.get('predicates');\n    for (let i = 0; i < predicates.length; i++) {\n      let predicate = predicates.objectAt(i);\n      if (!predicate.isValid) {\n        return 'Finish specifying your audience rules.';\n      }\n    }\n    return true;\n  },\n});\n\nRulesetHasValidPredicate.reopenClass({\n  getDependentsFor() {\n    return ['model.isRuleset', 'model.predicateGroup.predicates.@each.isValid'];\n  },\n});\n\nexport default RulesetHasValidPredicate;\n","import BaseValidator from 'ember-cp-validations/validators/base';\nimport moment from 'moment';\nimport { isEmpty } from '@ember/utils';\n\nconst RulesetHasValidScheduledActivation = BaseValidator.extend({\n  validate(value, options, model) {\n    if (isEmpty(model.scheduledActivation)) {\n      return true;\n    }\n\n    let currentDate = moment();\n    let scheduledActivationDate = moment(model.scheduledActivation.changeAt);\n\n    if (scheduledActivationDate <= currentDate) {\n      return 'Choose a valid start date';\n    }\n\n    return true;\n  },\n});\n\nRulesetHasValidScheduledActivation.reopenClass({\n  getDependentsFor() {\n    return ['model.scheduledActivation', 'model.scheduledActivation.changeAt'];\n  },\n});\n\nexport default RulesetHasValidScheduledActivation;\n","import BaseValidator from 'ember-cp-validations/validators/base';\nimport moment from 'moment';\nimport { isEmpty } from '@ember/utils';\n\nconst RulesetHasValidScheduledDeactivation = BaseValidator.extend({\n  validate(value, options, model) {\n    if (isEmpty(model.scheduledDeactivation)) {\n      return true;\n    }\n\n    let currentDate = moment();\n    let scheduledDeactivationDate = moment(model.scheduledDeactivation.changeAt);\n\n    if (scheduledDeactivationDate <= currentDate) {\n      return 'Choose a valid stop date';\n    }\n\n    return true;\n  },\n});\n\nRulesetHasValidScheduledDeactivation.reopenClass({\n  getDependentsFor() {\n    return ['model.scheduledDeactivation', 'model.scheduledDeactivation.changeAt'];\n  },\n});\n\nexport default RulesetHasValidScheduledDeactivation;\n","import { isPresent } from '@ember/utils';\nimport BaseValidator from 'ember-cp-validations/validators/base';\n\nconst RulesetLinksAreDifferent = BaseValidator.extend({\n  // The value in this validator is the ruleset links and the model is the Ruleset\n  validate(value, options, model) {\n    if (isPresent(value) && value.length > 1) {\n      if (this._rulesetLinksAreEqual(value, model)) {\n        return 'The A and B variations of your message should be different';\n      }\n    }\n    return true;\n  },\n\n  _rulesetLinksAreEqual(rulesetLinks, ruleset) {\n    if (\n      !isPresent(rulesetLinks) ||\n      rulesetLinks.length < 2 ||\n      ruleset.hasDifferentRulesetLinkTypes\n    ) {\n      return false;\n    }\n\n    let stringifiedRulesetLinkContentHashes = rulesetLinks.map(rulesetLink => {\n      return JSON.stringify(rulesetLink.contentHash);\n    });\n\n    return (\n      new Set(stringifiedRulesetLinkContentHashes).size !==\n      stringifiedRulesetLinkContentHashes.length\n    );\n  },\n});\n\nRulesetLinksAreDifferent.reopenClass({\n  getDependentsFor() {\n    return ['model.type', 'model.rulesetLinks.@each.contentHash'];\n  },\n});\n\nexport default RulesetLinksAreDifferent;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\n// `model` here is Ruleset and `value` is Ruleset#userRolePredicate\nconst RulesetNotStaticVisitor = BaseValidator.extend({\n  validate(value, options, model) {\n    if (\n      model.isMatchBehaviorStatic &&\n      value.value.length === 1 &&\n      value.value.includes('visitor_role')\n    ) {\n      return 'You can not send one-off messages to visitors.';\n    }\n    return true;\n  },\n});\n\nRulesetNotStaticVisitor.reopenClass({\n  getDependentsFor() {\n    return [\n      'model.isMatchBehaviorStatic',\n      'model.predicateGroup.userPredicate',\n      'model.rolePredicateGroup.userPredicate',\n    ];\n  },\n});\n\nexport default RulesetNotStaticVisitor;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst SimpleActionRuleIsValid = BaseValidator.extend({\n  validate(value) {\n    if (value && !value.get('isRuleValid')) {\n      return 'Your action is invalid';\n    }\n    return true;\n  },\n});\n\nSimpleActionRuleIsValid.reopenClass({\n  getDependentsFor() {\n    return ['model.simpleActionRule.isRuleValid'];\n  },\n});\n\nexport default SimpleActionRuleIsValid;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst BranchingQualificationCollectsQualificationData = BaseValidator.extend({\n  validate(value, options, model) {\n    let hasQualificationAttributes = model\n      .get('answers')\n      .any(answer => answer.get('qualificationAttributes.length') > 0);\n    if (!hasQualificationAttributes) {\n      return 'You must collect a qualification attribute in at least one reply';\n    }\n    return true;\n  },\n});\n\nexport default BranchingQualificationCollectsQualificationData;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst ConversationRoutingHasValidRedirect = BaseValidator.extend({\n  validate(value, options, model) {\n    if (\n      !model.get('redirectEnabled') ||\n      model.get('redirectEmail') ||\n      model.get('redirectPhone') ||\n      model.get('redirectUrl')\n    ) {\n      return true;\n    }\n    return 'You must supply an email, phone number or URL for conversation redirecting';\n  },\n});\n\nexport default ConversationRoutingHasValidRedirect;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst MAX_TIME_ON_PAGE_VALUE = 300;\nconst MIN_TIME_ON_PAGE_VALUE = 0;\n\nconst TimeOnPageValue = BaseValidator.extend({\n  validate(value, options, model) {\n    let validations = model\n      .get('selectionState.timeOnPagePredicates')\n      .map(timeOnPagePredicate => {\n        let timeOnPageValue = timeOnPagePredicate.get('value');\n        if (!timeOnPageValue) {\n          return 'Add a time on page value';\n        } else if (timeOnPageValue <= MIN_TIME_ON_PAGE_VALUE) {\n          return `Time on page must be greater than ${MIN_TIME_ON_PAGE_VALUE} seconds`;\n        } else if (timeOnPageValue >= MAX_TIME_ON_PAGE_VALUE) {\n          return `Time on page must be less than ${MAX_TIME_ON_PAGE_VALUE} seconds`;\n        }\n      })\n      .compact()\n      .uniq();\n    if (validations.length > 0) {\n      return validations.join(', ');\n    }\n    return true;\n  },\n});\n\nTimeOnPageValue.reopenClass({\n  getDependentsFor() {\n    return ['model.selectionState.timeOnPagePredicates.@each'];\n  },\n});\n\nexport default TimeOnPageValue;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst TitleAndBodyBlocksNotEmpty = BaseValidator.extend({\n  validate(value, options, model) {\n    if (!value.get('firstObject.hasContent')) {\n      return options.message;\n    }\n    return true;\n  },\n});\n\nTitleAndBodyBlocksNotEmpty.reopenClass({\n  getDependentsFor() {\n    return ['model.{titleBlocks,bodyBlocks}.firstObject.hasContent'];\n  },\n});\n\nexport default TitleAndBodyBlocksNotEmpty;\n","import BaseValidator from 'ember-cp-validations/validators/base';\nimport isValidUrl from 'embercom/lib/url-validator';\n\nconst UrlWithTemplateString = BaseValidator.extend({\n  validate(value, _options, model) {\n    if (!model.clientData.insertable) {\n      return true;\n    }\n\n    let url = value || '';\n\n    // Skip the URL validation if it contains a CDA since we can't reliably validate.\n    // Avoids cases like https://github.com/intercom/intercom/issues/138897\n    if (url.includes('{{') && url.includes('}}')) {\n      return true;\n    }\n\n    return !!isValidUrl(url);\n  },\n});\n\nUrlWithTemplateString.reopenClass({\n  getDependentsFor() {\n    return ['model.clientData.insertable'];\n  },\n});\n\nexport default UrlWithTemplateString;\n","import BaseValidator from 'ember-cp-validations/validators/base';\nimport { validateVideoDetails } from 'embercom/lib/video-embed-url';\n\nconst VideoDetails = BaseValidator.extend({\n  validate(value, _, model) {\n    return validateVideoDetails(value, model.get('appStoreListing.videoProvider'));\n  },\n});\n\nexport default VideoDetails;\n","import { get } from '@ember/object';\nimport BaseValidator from 'ember-cp-validations/validators/base';\n\nconst VideoVamHasVideoBlock = BaseValidator.extend({\n  validate(value, options, model) {\n    if (model.get('isVideo')) {\n      if (get(value, 'firstObject.type') !== 'videoFile') {\n        return 'You need to record a video';\n      }\n    }\n    return true;\n  },\n});\n\nVideoVamHasVideoBlock.reopenClass({\n  getDependentsFor() {\n    return ['model.isVideo'];\n  },\n});\n\nexport default VideoVamHasVideoBlock;\n","import BaseValidator from 'ember-cp-validations/validators/base';\nimport moment from 'moment';\n\nconst WaitTimeIsInTheFuture = BaseValidator.extend({\n  validate(_value, _options, model) {\n    if (model.series?.isDraft && model.isAbsolute && model.timeDelayAsMoment.isBefore(moment())) {\n      return 'You must select a time in the future';\n    }\n    return true;\n  },\n});\n\nWaitTimeIsInTheFuture.reopenClass({\n  getDependentsFor() {\n    return ['model.type', 'model.timeDelay', 'model.series.state'];\n  },\n});\n\nexport default WaitTimeIsInTheFuture;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst WorkflowHasValidActionsByIsValid = BaseValidator.extend({\n  validate(_value, _options, model) {\n    let invalidWorkflowActions = model.actions.filter(workflowAction => !workflowAction.isValid);\n\n    return invalidWorkflowActions.length === 0;\n  },\n});\n\nWorkflowHasValidActionsByIsValid.reopenClass({\n  getDependentsFor() {\n    return ['model.actions.@each.isValid'];\n  },\n});\n\nexport default WorkflowHasValidActionsByIsValid;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst WorkflowHasValidActionsByUniqueness = BaseValidator.extend({\n  validate(_value, _options, model) {\n    let hasMoreActionsThanAllowed = false;\n    let currentWorkflowActionTypes = model.actions.map(workflowAction => workflowAction.type);\n    let restrictedActions = [\n      'assign-conversation',\n      'change-conversation-priority',\n      'apply-conversation-sla',\n    ];\n\n    restrictedActions.map(restrictedAction => {\n      let countRestrictedActions = currentWorkflowActionTypes.filter(actionType => {\n        let checkType = actionType;\n        // assign-conversation and assign-conversation-to-owner cannot both be present\n        if (checkType === 'assign-conversation-to-owner') {\n          checkType = 'assign-conversation';\n        }\n        return checkType === restrictedAction.value;\n      }).length;\n      if (countRestrictedActions > 1) {\n        hasMoreActionsThanAllowed = true;\n      }\n    });\n\n    return !hasMoreActionsThanAllowed;\n  },\n});\n\nWorkflowHasValidActionsByUniqueness.reopenClass({\n  getDependentsFor() {\n    return ['model.actions.@each.actionType'];\n  },\n});\n\nexport default WorkflowHasValidActionsByUniqueness;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst WorkflowHasValidPredicatesForStatus = BaseValidator.extend({\n  validate(_value, _options, model) {\n    if (model.status === 'live') {\n      return model.predicateGroup.predicates && model.predicateGroup.predicates.length > 0;\n    }\n    return true;\n  },\n});\n\nWorkflowHasValidPredicatesForStatus.reopenClass({\n  getDependentsFor() {\n    return ['model.predicateGroup.predicates.@each', 'model.status'];\n  },\n});\n\nexport default WorkflowHasValidPredicatesForStatus;\n","import BaseValidator from 'ember-cp-validations/validators/base';\n\nconst WorkflowHasValidTriggerData = BaseValidator.extend({\n  validate(_value, _options, model) {\n    if (!model.awaitingFirstReplyTrigger) {\n      return true;\n    }\n\n    return !model.hasInvalidDelay;\n  },\n});\n\nWorkflowHasValidTriggerData.reopenClass({\n  getDependentsFor() {\n    return ['model.data', 'model.triggerType'];\n  },\n});\n\nexport default WorkflowHasValidTriggerData;\n","/*\n * Extracted from https://github.com/lokesh/color-thief\n * Copyright (c) 2015 Lokesh Dhakar\n * Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php\n * Modified to reduce scope and clean up code for ES6. Project is dormant so made sense\n * to extract rather than include. disabling es-lint for bitwise operators as this code makes\n * extensive use of them.\n */\n\n/* eslint-disable no-bitwise */\n\nlet componentToHex = function(c) {\n  let hex = c.toString(16);\n  return hex.length === 1 ? `0${hex}` : hex;\n};\n\nlet rgbToHex = function(r, g, b) {\n  return `#${componentToHex(r) + componentToHex(g) + componentToHex(b)}`;\n};\n\n/*!\n * quantize.js Copyright 2008 Nick Rabinowitz.\n * Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php\n * @license\n */\n\n// fill out a couple protovis dependencies\n/*!\n * Block below copied from Protovis: http://mbostock.github.com/protovis/\n * Copyright 2010 Stanford Visualization Group\n * Licensed under the BSD License: http://www.opensource.org/licenses/bsd-license.php\n * @license\n */\nlet pv = {\n  map(array, f) {\n    let o = {};\n    return f\n      ? array.map(function(d, i) {\n          o.index = i;\n          return f.call(o, d);\n        })\n      : array.slice();\n  },\n  naturalOrder(a, b) {\n    if (a < b) {\n      return -1;\n    }\n    if (a > b) {\n      return 1;\n    }\n    return 0;\n  },\n  sum(array, f) {\n    let o = {};\n    return array.reduce(\n      f\n        ? function(p, d, i) {\n            o.index = i;\n            return p + f.call(o, d);\n          }\n        : function(p, d) {\n            return p + d;\n          },\n      0,\n    );\n  },\n  max(array, f) {\n    return Math.max.apply(null, f ? pv.map(array, f) : array);\n  },\n};\n\n/**\n * Basic Javascript port of the MMCQ (modified median cut quantization)\n * algorithm from the Leptonica library (http://www.leptonica.com/).\n * Returns a color map you can use to map original pixels to the reduced\n * palette. Still a work in progress.\n *\n * @author Nick Rabinowitz\n * @example\n\n   // array of pixels as [R,G,B] arrays\nlet myPixels = [[190,197,190], [202,204,200], [207,214,210], [211,214,211], [205,207,207]\n  // etc\n                ];\nlet maxColors = 4;\n\nlet cmap = MMCQ.quantize(myPixels, maxColors);\nlet newPalette = cmap.palette();\nlet newPixels = myPixels.map(function(p) {\n    return cmap.map(p);\n});\n\n*/\nlet MMCQ = (function() {\n  // private constants\n  let sigbits = 5;\n  let rshift = 8 - sigbits;\n  let maxIterations = 1000;\n  let fractByPopulations = 0.75;\n\n  // get reduced-space color index for a pixel\n  function getColorIndex(r, g, b) {\n    return (r << (2 * sigbits)) + (g << sigbits) + b;\n  }\n\n  // Simple priority queue\n  function PQueue(comparator) {\n    let contents = [];\n    let sorted = false;\n\n    function sort() {\n      contents.sort(comparator);\n      sorted = true;\n    }\n\n    return {\n      push(o) {\n        contents.push(o);\n        sorted = false;\n      },\n      peek(index) {\n        if (!sorted) {\n          sort();\n        }\n        if (index === undefined) {\n          index = contents.length - 1;\n        }\n        return contents[index];\n      },\n      pop() {\n        if (!sorted) {\n          sort();\n        }\n        return contents.pop();\n      },\n      size() {\n        return contents.length;\n      },\n      map(f) {\n        return contents.map(f);\n      },\n      debug() {\n        if (!sorted) {\n          sort();\n        }\n        return contents;\n      },\n    };\n  }\n\n  // 3d color space box\n  function VBox(r1, r2, g1, g2, b1, b2, histo) {\n    let vbox = this;\n    vbox.r1 = r1;\n    vbox.r2 = r2;\n    vbox.g1 = g1;\n    vbox.g2 = g2;\n    vbox.b1 = b1;\n    vbox.b2 = b2;\n    vbox.histo = histo;\n  }\n  VBox.prototype = {\n    volume(force) {\n      let vbox = this;\n      if (!vbox._volume || force) {\n        vbox._volume = (vbox.r2 - vbox.r1 + 1) * (vbox.g2 - vbox.g1 + 1) * (vbox.b2 - vbox.b1 + 1);\n      }\n      return vbox._volume;\n    },\n    count(force) {\n      let vbox = this;\n      let histo = vbox.histo;\n      if (!vbox._count_set || force) {\n        let npix = 0;\n        let index;\n        let i;\n        let j;\n        let k;\n        for (i = vbox.r1; i <= vbox.r2; i++) {\n          for (j = vbox.g1; j <= vbox.g2; j++) {\n            for (k = vbox.b1; k <= vbox.b2; k++) {\n              index = getColorIndex(i, j, k);\n              npix += histo[index] || 0;\n            }\n          }\n        }\n        vbox._count = npix;\n        vbox._count_set = true;\n      }\n      return vbox._count;\n    },\n    copy() {\n      let vbox = this;\n      return new VBox(vbox.r1, vbox.r2, vbox.g1, vbox.g2, vbox.b1, vbox.b2, vbox.histo);\n    },\n    avg(force) {\n      let vbox = this;\n      let histo = vbox.histo;\n      if (!vbox._avg || force) {\n        let ntot = 0;\n        let mult = 1 << (8 - sigbits);\n        let rsum = 0;\n        let gsum = 0;\n        let bsum = 0;\n        let hval;\n        let i;\n        let j;\n        let k;\n        let histoindex;\n        for (i = vbox.r1; i <= vbox.r2; i++) {\n          for (j = vbox.g1; j <= vbox.g2; j++) {\n            for (k = vbox.b1; k <= vbox.b2; k++) {\n              histoindex = getColorIndex(i, j, k);\n              hval = histo[histoindex] || 0;\n              ntot += hval;\n              rsum += hval * (i + 0.5) * mult;\n              gsum += hval * (j + 0.5) * mult;\n              bsum += hval * (k + 0.5) * mult;\n            }\n          }\n        }\n        if (ntot) {\n          vbox._avg = [~~(rsum / ntot), ~~(gsum / ntot), ~~(bsum / ntot)];\n        } else {\n          //                    console.log('empty box');\n          vbox._avg = [\n            ~~((mult * (vbox.r1 + vbox.r2 + 1)) / 2),\n            ~~((mult * (vbox.g1 + vbox.g2 + 1)) / 2),\n            ~~((mult * (vbox.b1 + vbox.b2 + 1)) / 2),\n          ];\n        }\n      }\n      return vbox._avg;\n    },\n    contains(pixel) {\n      let vbox = this;\n      let rval = pixel[0] >> rshift;\n      let gval = pixel[1] >> rshift;\n      let bval = pixel[2] >> rshift;\n\n      return (\n        rval >= vbox.r1 &&\n        rval <= vbox.r2 &&\n        gval >= vbox.g1 &&\n        gval <= vbox.g2 &&\n        bval >= vbox.b1 &&\n        bval <= vbox.b2\n      );\n    },\n  };\n\n  // Color map\n  function CMap() {\n    this.vboxes = new PQueue(function(a, b) {\n      return pv.naturalOrder(a.vbox.count() * a.vbox.volume(), b.vbox.count() * b.vbox.volume());\n    });\n  }\n  CMap.prototype = {\n    push(vbox) {\n      this.vboxes.push({\n        vbox,\n        color: vbox.avg(),\n      });\n    },\n    palette() {\n      return this.vboxes.map(function(vb) {\n        return vb.color;\n      });\n    },\n    size() {\n      return this.vboxes.size();\n    },\n    map(color) {\n      let vboxes = this.vboxes;\n      for (let i = 0; i < vboxes.size(); i++) {\n        if (vboxes.peek(i).vbox.contains(color)) {\n          return vboxes.peek(i).color;\n        }\n      }\n      return this.nearest(color);\n    },\n    nearest(color) {\n      let vboxes = this.vboxes;\n      let d1;\n      let d2;\n      let pColor;\n      for (let i = 0; i < vboxes.size(); i++) {\n        d2 = Math.sqrt(\n          Math.pow(color[0] - vboxes.peek(i).color[0], 2) +\n            Math.pow(color[1] - vboxes.peek(i).color[1], 2) +\n            Math.pow(color[2] - vboxes.peek(i).color[2], 2),\n        );\n        if (d2 < d1 || d1 === undefined) {\n          d1 = d2;\n          pColor = vboxes.peek(i).color;\n        }\n      }\n      return pColor;\n    },\n    forcebw() {\n      // XXX: won't  work yet\n      let vboxes = this.vboxes;\n      vboxes.sort(function(a, b) {\n        return pv.naturalOrder(pv.sum(a.color), pv.sum(b.color));\n      });\n\n      // force darkest color to black if everything < 5\n      let lowest = vboxes[0].color;\n      if (lowest[0] < 5 && lowest[1] < 5 && lowest[2] < 5) {\n        vboxes[0].color = [0, 0, 0];\n      }\n\n      // force lightest color to white if everything > 251\n      let idx = vboxes.length - 1;\n      let highest = vboxes[idx].color;\n      if (highest[0] > 251 && highest[1] > 251 && highest[2] > 251) {\n        vboxes[idx].color = [255, 255, 255];\n      }\n    },\n  };\n\n  // histo (1-d array, giving the number of pixels in\n  // each quantized region of color space), or null on error\n  function getHisto(pixels) {\n    let histosize = 1 << (3 * sigbits);\n    let histo = new Array(histosize);\n    let index;\n    let rval;\n    let gval;\n    let bval;\n    pixels.forEach(function(pixel) {\n      rval = pixel[0] >> rshift;\n      gval = pixel[1] >> rshift;\n      bval = pixel[2] >> rshift;\n      index = getColorIndex(rval, gval, bval);\n      histo[index] = (histo[index] || 0) + 1;\n    });\n    return histo;\n  }\n\n  function vboxFromPixels(pixels, histo) {\n    let rmin = 1000000;\n    let rmax = 0;\n    let gmin = 1000000;\n    let gmax = 0;\n    let bmin = 1000000;\n    let bmax = 0;\n    let rval;\n    let gval;\n    let bval;\n    // find min/max\n    pixels.forEach(function(pixel) {\n      rval = pixel[0] >> rshift;\n      gval = pixel[1] >> rshift;\n      bval = pixel[2] >> rshift;\n      if (rval < rmin) {\n        rmin = rval;\n      } else if (rval > rmax) {\n        rmax = rval;\n      }\n\n      if (gval < gmin) {\n        gmin = gval;\n      } else if (gval > gmax) {\n        gmax = gval;\n      }\n\n      if (bval < bmin) {\n        bmin = bval;\n      } else if (bval > bmax) {\n        bmax = bval;\n      }\n    });\n    return new VBox(rmin, rmax, gmin, gmax, bmin, bmax, histo);\n  }\n\n  function medianCutApply(histo, vbox) {\n    if (!vbox.count()) {\n      return;\n    }\n\n    let rw = vbox.r2 - vbox.r1 + 1;\n    let gw = vbox.g2 - vbox.g1 + 1;\n    let bw = vbox.b2 - vbox.b1 + 1;\n    let maxw = pv.max([rw, gw, bw]);\n    // only one pixel, no split\n    if (vbox.count() === 1) {\n      return [vbox.copy()];\n    }\n    /* Find the partial sum arrays along the selected axis. */\n    let total = 0;\n    let partialsum = [];\n    let lookaheadsum = [];\n    let i;\n    let j;\n    let k;\n    let sum;\n    let index;\n    if (maxw === rw) {\n      for (i = vbox.r1; i <= vbox.r2; i++) {\n        sum = 0;\n        for (j = vbox.g1; j <= vbox.g2; j++) {\n          for (k = vbox.b1; k <= vbox.b2; k++) {\n            index = getColorIndex(i, j, k);\n            sum += histo[index] || 0;\n          }\n        }\n        total += sum;\n        partialsum[i] = total;\n      }\n    } else if (maxw === gw) {\n      for (i = vbox.g1; i <= vbox.g2; i++) {\n        sum = 0;\n        for (j = vbox.r1; j <= vbox.r2; j++) {\n          for (k = vbox.b1; k <= vbox.b2; k++) {\n            index = getColorIndex(j, i, k);\n            sum += histo[index] || 0;\n          }\n        }\n        total += sum;\n        partialsum[i] = total;\n      }\n    } else {\n      /* maxw === bw */\n      for (i = vbox.b1; i <= vbox.b2; i++) {\n        sum = 0;\n        for (j = vbox.r1; j <= vbox.r2; j++) {\n          for (k = vbox.g1; k <= vbox.g2; k++) {\n            index = getColorIndex(j, k, i);\n            sum += histo[index] || 0;\n          }\n        }\n        total += sum;\n        partialsum[i] = total;\n      }\n    }\n    partialsum.forEach(function(d, i) {\n      lookaheadsum[i] = total - d;\n    });\n    function doCut(color) {\n      let dim1 = `${color}1`;\n      let dim2 = `${color}2`;\n      let left;\n      let right;\n      let vbox1;\n      let vbox2;\n      let d2;\n      let count2 = 0;\n      for (i = vbox[dim1]; i <= vbox[dim2]; i++) {\n        if (partialsum[i] > total / 2) {\n          vbox1 = vbox.copy();\n          vbox2 = vbox.copy();\n          left = i - vbox[dim1];\n          right = vbox[dim2] - i;\n          if (left <= right) {\n            d2 = Math.min(vbox[dim2] - 1, ~~(i + right / 2));\n          } else {\n            d2 = Math.max(vbox[dim1], ~~(i - 1 - left / 2));\n          }\n          // avoid 0-count boxes\n          while (!partialsum[d2]) {\n            d2++;\n          }\n          count2 = lookaheadsum[d2];\n          while (!count2 && partialsum[d2 - 1]) {\n            count2 = lookaheadsum[--d2];\n          }\n          // set dimensions\n          vbox1[dim2] = d2;\n          vbox2[dim1] = vbox1[dim2] + 1;\n          //                    console.log('vbox counts:', vbox.count(), vbox1.count(), vbox2.count());\n          return [vbox1, vbox2];\n        }\n      }\n    }\n    // determine the cut planes\n    if (maxw === rw) {\n      return doCut('r');\n    } else if (maxw === gw) {\n      return doCut('g');\n    } else {\n      return doCut('b');\n    }\n  }\n\n  function quantize(pixels, maxcolors) {\n    // short-circuit\n    if (!pixels.length || maxcolors < 2 || maxcolors > 256) {\n      //            console.log('wrong number of maxcolors');\n      return false;\n    }\n\n    // XXX: check color content and convert to grayscale if insufficient\n\n    let histo = getHisto(pixels);\n\n    // get the beginning vbox from the colors\n    let vbox = vboxFromPixels(pixels, histo);\n    let pq = new PQueue(function(a, b) {\n      return pv.naturalOrder(a.count(), b.count());\n    });\n    pq.push(vbox);\n\n    // inner function to do the iteration\n    function iter(lh, target) {\n      let ncolors = 1;\n      let niters = 0;\n      let vbox;\n      while (niters < maxIterations) {\n        vbox = lh.pop();\n        if (!vbox.count()) {\n          /* just put it back */\n          lh.push(vbox);\n          niters++;\n        } else {\n          let vboxes = medianCutApply(histo, vbox);\n          let vbox1 = vboxes[0];\n          let vbox2 = vboxes[1];\n\n          if (!vbox1) {\n            return;\n          }\n          lh.push(vbox1);\n          if (vbox2) {\n            /* vbox2 can be null */\n            lh.push(vbox2);\n            ncolors++;\n          }\n          if (ncolors >= target) {\n            return;\n          }\n          if (niters++ > maxIterations) {\n            return;\n          }\n        }\n      }\n    }\n\n    // first set of colors, sorted by population\n    iter(pq, fractByPopulations * maxcolors);\n\n    // Re-sort by the product of pixel occupancy times the size in color space.\n    let pq2 = new PQueue(function(a, b) {\n      return pv.naturalOrder(a.count() * a.volume(), b.count() * b.volume());\n    });\n    while (pq.size()) {\n      pq2.push(pq.pop());\n    }\n\n    // next set - generate the median cuts using the (npix * vol) sorting.\n    iter(pq2, maxcolors - pq2.size());\n\n    // calculate the actual colors\n    let cmap = new CMap();\n    while (pq2.size()) {\n      cmap.push(pq2.pop());\n    }\n\n    return cmap;\n  }\n\n  return { quantize };\n})();\n/*\n  CanvasImage Class\n  Class that wraps the html image element and canvas.\n  It also simplifies some of the canvas context manipulation\n  with a set of helper functions.\n  */\n\nlet CanvasImage = function(image) {\n  this.canvas = document.createElement('canvas');\n  this.context = this.canvas.getContext('2d');\n\n  document.body.appendChild(this.canvas);\n\n  this.width = this.canvas.width = image.width;\n  this.height = this.canvas.height = image.height;\n\n  this.context.drawImage(image, 0, 0, this.width, this.height);\n};\n\nCanvasImage.prototype.getPixelCount = function() {\n  return this.width * this.height;\n};\n\nCanvasImage.prototype.getImageData = function() {\n  return this.context.getImageData(0, 0, this.width, this.height);\n};\n\nCanvasImage.prototype.removeCanvas = function() {\n  this.canvas.parentNode.removeChild(this.canvas);\n};\n\n/*\n * getPalette(sourceImage[, colorCount])\n * returns array[ {r: num, g: num, b: num}, {r: num, g: num, b: num}, ...]\n *\n * Use the median cut algorithm provided by quantize.js to cluster similar colors.\n *\n * colorCount determines the size of the palette; the number of colors returned. If not set, it\n * defaults to 10.\n *\n */\nexport function extractColors(sourceImage, colorCount) {\n  if (typeof colorCount === 'undefined' || colorCount < 2 || colorCount > 256) {\n    colorCount = 10;\n  }\n\n  let quality = 1;\n\n  // Create custom CanvasImage object\n  let image = new CanvasImage(sourceImage);\n  let imageData = image.getImageData();\n  let pixels = imageData.data;\n  let pixelCount = image.getPixelCount();\n\n  // Store the RGB values in an array format suitable for quantize function\n  let pixelArray = [];\n  for (let i = 0, offset, r, g, b, a; i < pixelCount; i += quality) {\n    offset = i * 4;\n    r = pixels[offset + 0];\n    g = pixels[offset + 1];\n    b = pixels[offset + 2];\n    a = pixels[offset + 3];\n    // If pixel is mostly opaque and not white\n    if (a >= 125) {\n      if (!(r > 180 && g > 180 && b > 180)) {\n        pixelArray.push([r, g, b]);\n      }\n    }\n  }\n\n  // Send array to quantize function which clusters values\n  // using median cut algorithm\n  let cmap = MMCQ.quantize(pixelArray, colorCount);\n  let palette = cmap ? cmap.palette() : null;\n\n  // Clean up\n  image.removeCanvas();\n\n  return palette.map(color => rgbToHex(...color).toUpperCase());\n}\n\nexport function extractColorFromClickEvent(event, image) {\n  let canvas = document.createElement('canvas');\n  canvas.width = image.width;\n  canvas.height = image.height;\n  let ctx = canvas.getContext('2d');\n\n  ctx.drawImage(image, 0, 0, image.width, image.height);\n  let color = ctx.getImageData(event.offsetX, event.offsetY, 1, 1).data;\n\n  return rgbToHex(...color).toUpperCase();\n}\n\n/* eslint-enable no-bitwise */\n","import { isNone } from '@ember/utils';\nimport { LEAD_ROLE_PREDICATE, USER_ROLE_PREDICATE } from 'embercom/lib/default-predicates';\nimport { captureException } from 'embercom/lib/sentry';\n\n// https://developer.mozilla.org/en-US/docs/Web/API/WindowBase64/Base64_encoding_and_decoding#The_Unicode_Problem\nlet stringToB64 = function(str) {\n  let escapedString = encodeURIComponent(str).replace(/%([0-9A-F]{2})/g, function(match, p1) {\n    return String.fromCharCode(`0x${p1}`);\n  });\n  return window.btoa(escapedString);\n};\n\nlet b64ToString = function(b64String) {\n  let percentEncodedString = window\n    .atob(b64String)\n    .split('')\n    .map(function(char) {\n      let charCode = `00${char.charCodeAt(0).toString(16)}`;\n      return `%${charCode.slice(-2)}`;\n    })\n    .join('');\n  return decodeURIComponent(percentEncodedString);\n};\n\nlet appSection = function(userOrCompany) {\n  return userOrCompany.isCompany ? 'companies' : 'users';\n};\n\nlet filterParams = function(userOrCompany, filterObject) {\n  if (!userOrCompany.isCompany && filterObject.predicates) {\n    let rolePredicate = userOrCompany.is_anonymous ? LEAD_ROLE_PREDICATE : USER_ROLE_PREDICATE;\n    filterObject.predicates.push(rolePredicate);\n  }\n  return stringToB64(JSON.stringify(filterObject));\n};\n\nlet url = function(userOrCompany, filterParams) {\n  // TODO(JO): these should be changed to 'usersOrContacts' after acquire launch. all will still work but looks :(\n  let allOrContacts = userOrCompany.is_anonymous ? 'all-leads' : 'all';\n  let app_id = userOrCompany.isAdmin ? userOrCompany.current_app_id : userOrCompany.app_id;\n  return `/a/apps/${app_id}/${appSection(userOrCompany)}/segments/${allOrContacts}:${filterParams}`;\n};\n\nlet tagUrl = function(tag, type) {\n  let tagId = tag.id;\n  let isCompanyType = type === 'company';\n  let manualTagAttribute = isCompanyType ? 'company.manual_tag_ids' : 'manual_tag_ids';\n  let filterObject = { predicates: [] };\n  let urlFragment = isCompanyType ? 'companies' : `${type}s`;\n  if (!isCompanyType) {\n    filterObject.predicates.push(USER_ROLE_PREDICATE);\n  }\n  filterObject.predicates.push({\n    type: 'manual_tag',\n    attribute: manualTagAttribute,\n    comparison: 'eq',\n    value: `${tagId}`,\n  });\n  let encodedTagPredicate = stringToB64(JSON.stringify(filterObject));\n\n  let appId = tag.app_id || tag.appId;\n  return `/a/apps/${appId}/${urlFragment}/segments/all:${encodedTagPredicate}`;\n};\n\nlet filterUrl = function(appId, isTargetingLeads, filterObject) {\n  let allOrContacts = isTargetingLeads ? 'all-leads' : 'all';\n  let rolePredicate = isTargetingLeads ? LEAD_ROLE_PREDICATE : USER_ROLE_PREDICATE;\n  filterObject.predicates.push(rolePredicate);\n  let encodedMessagePredicate = stringToB64(JSON.stringify(filterObject));\n  return `/a/apps/${appId}/users/segments/${allOrContacts}:${encodedMessagePredicate}`;\n};\n\nlet B64FilterParamEncoder = {\n  b64Encode(str) {\n    try {\n      return stringToB64(str);\n    } catch (e) {\n      // btoa encoding failed\n      captureException(e, { fingerprint: ['b64-filter-param-encoder', 'b64Encode'] });\n      console.log(e);\n      return null;\n    }\n  },\n  b64Decode(str) {\n    try {\n      return b64ToString(str);\n    } catch (e) {\n      // atob decoding failed\n      captureException(e, { fingerprint: ['b64-filter-param-encoder', 'b64Decode'] });\n      console.log(e);\n      return null;\n    }\n  },\n  filterUrl(userOrCompany, attribute, rawValue) {\n    try {\n      if (attribute && !isNone(rawValue)) {\n        return url(\n          userOrCompany,\n          filterParams(userOrCompany, attribute.asPredicateFilterObject(rawValue)),\n        );\n      }\n    } catch (e) {\n      // btoa encoding failed\n      captureException(e, { fingerprint: ['b64-filter-param-encoder', 'filterUrl'] });\n      console.log(e);\n    }\n    // TODO(JO): these should be changed to 'users' after acquire launch\n    return `/a/apps/${userOrCompany.app_id}/${appSection(userOrCompany)}/segments/all`;\n  },\n  filterUrlFromPredicate(userOrCompany, attribute, predicate) {\n    try {\n      if (predicate) {\n        if (userOrCompany.isCompany) {\n          predicate.attribute = `company.${predicate.attribute}`;\n        }\n        let filterObject = { predicates: [predicate] };\n        return url(userOrCompany, filterParams(userOrCompany, filterObject));\n      }\n    } catch (e) {\n      captureException(e, {\n        fingerprint: ['b64-filter-param-encoder', 'filterUrlFromPredicate'],\n      });\n      console.log(e);\n    }\n  },\n  filterUrlFromPredicates(userOrCompany, predicates) {\n    try {\n      if (predicates) {\n        return url(userOrCompany, filterParams(userOrCompany, predicates));\n      }\n    } catch (e) {\n      captureException(e, {\n        fingerprint: ['b64-filter-param-encoder', 'filterUrlFromPredicates'],\n      });\n      console.log(e);\n    }\n  },\n  filterUrlFromMessagePredicates(appId, isTargetingLeads, predicates) {\n    try {\n      if (predicates) {\n        return filterUrl(appId, isTargetingLeads, predicates);\n      }\n    } catch (e) {\n      console.log(e);\n      captureException(e, {\n        fingerprint: ['b64-filter-param-encoder', 'filterUrlFromMessagePredicates'],\n      });\n    }\n  },\n  tagUrl(tag, type) {\n    try {\n      return tagUrl(tag, type);\n    } catch (e) {\n      console.log(e);\n      captureException(e, { fingerprint: ['b64-filter-param-encoder', 'tagUrl'] });\n    }\n  },\n  segmentIdentifierWithFilters(segment) {\n    let predicates = segment.predicates;\n    let encodedFilterParams = this.b64Encode(JSON.stringify({ predicates }));\n    let identifierWithFilters = `${segment.identifier}:${encodedFilterParams}`;\n    return identifierWithFilters;\n  },\n};\nexport default B64FilterParamEncoder;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\n/* eslint-disable ember/no-jquery */\nimport $ from 'jquery';\nimport { later, cancel } from '@ember/runloop';\nimport EmberObject from '@ember/object';\nimport ENV from 'embercom/config/environment';\n\nlet BrowserAlerts = EmberObject.extend({\n  initialize() {\n    window.addEventListener('beforeunload', this._leave.bind(this), false);\n    document.addEventListener('visibilitychange', this.onVisibilityChange.bind(this), false);\n  },\n  showBrowserAlert(content, conversationId) {\n    this.setBrowserAlert();\n    this.setPageTitle(content, conversationId);\n  },\n  setBrowserAlert() {\n    this.alertWaiting = true;\n    if (document.hidden) {\n      return;\n    }\n    this._activateBrowserAlertWithDelay(0);\n  },\n  setPageTitle(content, conversationId) {\n    if (!document.hidden) {\n      return;\n    }\n    this.conversationId = conversationId;\n    this.originalTitle = this.originalTitle || this._getTitle();\n    this.toggle = this.originalTitle;\n    this._setTitle(content);\n    if (!this.toggleTimer) {\n      this.set('toggleTimer', later(this, this._toggleHeader, ENV.APP._3000MS));\n    }\n  },\n  reset(conversationId) {\n    if (!this.toggleTimer) {\n      return;\n    }\n    if (conversationId && conversationId !== this.conversationId) {\n      return;\n    }\n    cancel(this.toggleTimer);\n    this.set('toggleTimer');\n    this._setTitle(this.originalTitle);\n    this.originalTitle = undefined;\n    this.conversationId = undefined;\n  },\n  onVisibilityChange() {\n    if (document.hidden) {\n      return;\n    }\n    this.reset();\n    this._activateBrowserAlertWithDelay(ENV.APP._1000MS);\n  },\n  _activateBrowserAlertWithDelay(delay) {\n    if (!this.alertWaiting) {\n      return;\n    }\n    this.alertWaiting = false;\n    later(this, this._startBrowserAlertAnimation, delay);\n    later(this, this._resetBrowserAlertAnimation, ENV.APP._10000MS + delay);\n  },\n  _startBrowserAlertAnimation() {\n    // This CSS needs to be convoluted because we don't want to trigger invisible animations in case they later become visible\n    let $dark = $(\n      '.nav__primary__group.o__selected .nav__link:not(.o__selected) .conversations_web_notification_animation_dark',\n    );\n    let $light = $(\n      '.nav__primary__group:not(.o__selected) .nav__link:not(.o__selected) .conversations_web_notification_animation',\n    );\n    if (!$dark.hasClass('active')) {\n      $dark.addClass('active').attr('src', this._darkAnimationSrc);\n    }\n    if (!$light.hasClass('active')) {\n      $light.addClass('active').attr('src', this._lightAnimationSrc);\n    }\n    let noActiveAnimations = $dark.length === 0 && $light.length === 0;\n    $('.nav__primary__group .nav__link .conversations_web_notification').toggleClass(\n      'active',\n      noActiveAnimations,\n    );\n  },\n  _resetBrowserAlertAnimation() {\n    $('.nav__primary__group .nav__link .conversations_web_notification_animation_dark')\n      .removeClass('active')\n      .attr('src', this._staticIconSrc);\n    $('.nav__primary__group .nav__link .conversations_web_notification_animation')\n      .removeClass('active')\n      .attr('src', this._staticIconSrc);\n    $('.nav__primary__group .nav__link .conversations_web_notification').addClass('active');\n  },\n  _leave() {\n    window.removeEventListener('beforeunload', this._leave.bind(this));\n    document.removeEventListener('visibilitychange', this.onVisibilityChange.bind(this));\n  },\n  _getTitle() {\n    let title = document.querySelector('title');\n    if (title) {\n      return title.textContent;\n    }\n    return 'Intercom';\n  },\n  _setTitle(content) {\n    let title = document.querySelector('title');\n    if (title) {\n      title.textContent = content;\n    }\n  },\n  _toggleHeader() {\n    let current = this._getTitle();\n    this._setTitle(this.toggle);\n    this.toggle = current;\n    this.set('toggleTimer', later(this, this._toggleHeader, ENV.APP._3000MS));\n  },\n  _staticIconSrc: '/assets/images/conversation-dots-static@2x.png',\n  _lightAnimationSrc: '/assets/images/conversation-dots-animated@2x.gif',\n  _darkAnimationSrc: '/assets/images/conversation-dots-animated-dark@2x.gif',\n});\n\nexport default BrowserAlerts;\n","import dateAndTimeFormats from 'embercom/lib/date-and-time-formats';\nimport moment from 'moment';\n\n// Dates appear to come from the future in the user table occasionally, usually because device\n// clocks are out of sync with our server\n// this makes them all the past\n\nlet DateFormatter = {\n  timeDiff(timestamp) {\n    return moment().diff(moment(timestamp));\n  },\n  forcedPastTimeDiff(timestamp) {\n    let timeDiff = this.timeDiff(timestamp);\n    if (timeDiff < 0) {\n      timeDiff = 1;\n    }\n    return timeDiff;\n  },\n  forcedPastMinuteDiff(timestamp) {\n    return this.forcedPastTimeDiff(timestamp) / (1000 * 60);\n  },\n  forcedPastFromNow(timestamp) {\n    if (!timestamp || typeof timestamp === 'undefined') {\n      return 'Unknown';\n    }\n    if (this.isJustNow(timestamp)) {\n      return 'Just now';\n    } else if (this.forcedPastMinuteDiff(timestamp) < 10) {\n      return 'In the last 10 mins';\n    }\n    return moment()\n      .subtract(this.forcedPastTimeDiff(timestamp))\n      .fromNow();\n  },\n  forcedPastFromNowRealTime(timestamp) {\n    if (!timestamp || typeof timestamp === 'undefined') {\n      return 'Unknown';\n    }\n    if (this.isJustNow(timestamp)) {\n      return 'Just now';\n    }\n    return moment()\n      .subtract(this.forcedPastTimeDiff(timestamp))\n      .fromNow();\n  },\n  isJustNow(timestamp) {\n    if (!timestamp || typeof timestamp === 'undefined') {\n      return false;\n    }\n    return this.forcedPastMinuteDiff(timestamp) < 2;\n  },\n  renderTimeStamp(timestamp) {\n    return timestamp ? moment(timestamp).fromNow() : 'Unknown';\n  },\n  attributeFromNow(timestamp, forcePast) {\n    if (!timestamp) {\n      return 'Unknown';\n    }\n    let now = new Date();\n    let target = new Date(timestamp);\n    let diff = now.getTime() - target.getTime();\n    if (forcePast) {\n      if (diff <= 1000 * 60 * 2) {\n        return 'Just now';\n      }\n      if (diff <= 1000 * 60 * 10) {\n        return 'In the last 10 mins';\n      }\n      return moment(timestamp).fromNow();\n    } else {\n      let veryInTheFuture = diff < -1800000;\n      if (veryInTheFuture) {\n        return moment(timestamp).format(dateAndTimeFormats.fullDateAndTimeWithoutTimezone);\n      } else {\n        return moment(timestamp).fromNow();\n      }\n    }\n  },\n  fromNow(timestamp) {\n    return this.renderTimeStamp(timestamp);\n  },\n};\n\nexport default DateFormatter;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport { later } from '@ember/runloop';\nimport EmberObject from '@ember/object';\nimport truncateString from 'embercom/lib/truncate-string';\nimport ENV from 'embercom/config/environment';\n\nlet DesktopNotificationsIntercom = EmberObject.extend({\n  defaultTruncationAmount: 135,\n\n  createNotification(options) {\n    // options = {title, tag, body, bodyTruncate, imageUrl, clickCallback}\n    if (typeof options.bodyTruncate === 'undefined') {\n      options.bodyTruncate = this.defaultTruncationAmount;\n    }\n    let body =\n      options.body &&\n      (options.bodyTruncate\n        ? truncateString(options.body, options.bodyTruncate, true)\n        : options.body);\n\n    let notification = new window.Notification(options.title || 'Intercom', {\n      body,\n      icon:\n        options.imageUrl ||\n        'https://static.intercomassets.com/assets/notification-logo-55be93387ba20c44824694f4e15658b3.png',\n      tag: options.tag,\n    });\n\n    notification.onclick = function() {\n      window.focus();\n      if (options.clickCallback) {\n        options.clickCallback();\n      }\n    };\n\n    later(\n      this,\n      function() {\n        if (notification) {\n          notification.close();\n        }\n      },\n      ENV.APP.desktopNotificationTimeout,\n    );\n  },\n\n  currentBrowserPermission() {\n    let isSupported = false;\n    try {\n      isSupported = !!window.Notification;\n    } catch (e) {\n      // NOP\n    }\n\n    if (isSupported) {\n      return window.Notification.permission === 'granted';\n    }\n    return false;\n  },\n});\n\nexport default DesktopNotificationsIntercom;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nlet InterLock = EmberObject.extend({\n  initForApp(appId) {\n    if (this._isInIframe()) {\n      return;\n    }\n    if (this._browserSupportsLocalStorage() === false) {\n      return;\n    }\n\n    let list;\n    if (this._tabId) {\n      this.leave();\n    }\n    this._tabId = null;\n    this._namespace = `InterLock_${appId}_`;\n    if (!this._fetch('nextTabId')) {\n      this._put('nextTabId', 1);\n    }\n    if (!this._fetch('leaderTab')) {\n      this._put('leaderTab', 0);\n    }\n    if (!this._fetch('tabList')) {\n      this._put('tabList', '[]');\n    }\n\n    this._tabId = this._getNewId();\n    list = this._tabList().slice(0, 100);\n    list.unshift(this._tabId);\n    this._tabList(list);\n\n    this._electSelf();\n\n    window.addEventListener('beforeunload', this.leave.bind(this), false);\n    document.addEventListener('visibilitychange', this._electSelfIfVisible.bind(this), false);\n  },\n  isLeaderTab() {\n    return this._leaderTabId() === this._tabId;\n  },\n  leave() {\n    let list = this._tabList();\n    this._removeFromList(list, this._tabId);\n    this._electLeaderFromList(list);\n    this._tabList(list);\n    this._tabId = null;\n    window.removeEventListener('beforeunload', this.leave.bind(this));\n    document.removeEventListener('visibilitychange', this._electSelfIfVisible.bind(this));\n  },\n\n  _removeFromList(list, id) {\n    let index = list.indexOf(id);\n    if (index > -1) {\n      list.splice(index, 1);\n    }\n  },\n  _electLeaderFromList(list) {\n    if (!list.length) {\n      this._leaderTabId(null);\n    } else if (this.isLeaderTab()) {\n      this._leaderTabId(list[0]);\n    }\n  },\n  _electSelf() {\n    this._leaderTabId(this._tabId);\n  },\n  _electSelfIfVisible() {\n    if (!document.hidden) {\n      this._electSelf();\n    }\n  },\n\n  // localStorage wrappers\n  _browserSupportsLocalStorage() {\n    let intercom = 'intercom';\n    try {\n      localStorage.setItem(intercom, intercom);\n      localStorage.removeItem(intercom);\n      return true;\n    } catch (e) {\n      return false;\n    }\n  },\n  _fetch(key) {\n    return window.localStorage[this._namespace + key];\n  },\n  _put(key, val) {\n    window.localStorage[this._namespace + key] = val;\n  },\n  _delete(key) {\n    window.localStorage.removeItem(this._namespace + key);\n  },\n\n  // serialization Functions\n  _getNewId() {\n    let id = parseInt(this._fetch('nextTabId'), 10);\n    if (id > 42000) {\n      id = 1;\n    }\n    this._tabId = id;\n    this._put('nextTabId', id + 1);\n    return id;\n  },\n  _leaderTabId(id) {\n    if (id === null) {\n      this._delete('leaderTab');\n    } else if (id) {\n      this._put('leaderTab', id);\n    } else {\n      return parseInt(this._fetch('leaderTab'), 10);\n    }\n    return id;\n  },\n  _tabList(list) {\n    if (list) {\n      this._put('tabList', JSON.stringify(list));\n      return list;\n    } else {\n      return JSON.parse(this._fetch('tabList') || '[]');\n    }\n  },\n  _isInIframe() {\n    try {\n      return window.self !== window.top;\n    } catch (e) {\n      return true;\n    }\n  },\n});\n\nexport default InterLock;\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable promise/prefer-await-to-then */\n/* eslint-disable ember/no-classic-classes */\nimport { bind, later } from '@ember/runloop';\nimport { A } from '@ember/array';\nimport EmberObject from '@ember/object';\nimport ajax from 'embercom/lib/ajax';\nimport ENV from 'embercom/config/environment';\nimport Metrics from 'embercom/models/metrics';\n\nconst ERROR_LOGGER = {\n  log() {},\n  debug() {},\n  warning() {},\n  error(e) {\n    let emberApplicationInstance = window.EmberApplicationInstance;\n    if (emberApplicationInstance && emberApplicationInstance.lookup('service:log-service').log) {\n      window.EmberApplicationInstance.lookup('service:log-service').log(e);\n    }\n  },\n  info() {},\n  trage() {},\n};\n\n/* NexusClient */\nexport default EmberObject.extend({\n  listeners: A(),\n  queuedTopics: A(),\n  metricSink: {\n    increment: key => {\n      Metrics.capture({ increment: [key] });\n    },\n    count: () => {},\n    timing: (key, value) => {\n      let metrics = {};\n      metrics[`ember_${key}`] = parseInt(value, 10);\n      Metrics.capture(metrics);\n    },\n  },\n  logger: ERROR_LOGGER,\n\n  initForApp(appId, options = {}) {\n    this.appId = appId;\n    return ajax({ url: `/ember/nexus_config/${appId}`, type: 'GET' }).then(response => {\n      this.channelName = response.channel;\n      this.config = response;\n      if (this.channelName !== undefined) {\n        this._nexus = new NexusClient(\n          response.endpoints,\n          this.logger,\n          this.metricSink,\n          bind(this, this._onClientConnect),\n          bind(this, this._onClientDisconnect),\n          bind(this, this._onChannelExpired),\n          {\n            LONG_POLLING_ENABLED: options.longPollingEnabled,\n            PRESENCE_ENABLED: false,\n          },\n          'admin',\n        );\n\n        this.listeners.forEach(item => {\n          this._nexus.addListener(item.name, item.listener);\n        });\n\n        this.queuedTopics.forEach(topics => {\n          this._nexus.subscribeTopics(topics);\n        });\n      }\n    });\n  },\n\n  subscribeTopics(topics) {\n    if (this._nexus !== undefined) {\n      this._nexus.subscribeTopics(topics);\n    } else {\n      this.queuedTopics.push(topics);\n    }\n  },\n\n  unsubscribeTopics(topics) {\n    if (this._nexus !== undefined) {\n      this._nexus.unsubscribeTopics(topics);\n    }\n  },\n\n  addListener(name, listener) {\n    if (this._nexus === undefined) {\n      this.listeners.push({ name, listener });\n    } else {\n      this._nexus.addListener(name, listener);\n    }\n  },\n\n  unsubscribe() {\n    if (this.channelName !== undefined && this._nexus !== undefined) {\n      this._nexus.unsubscribe({ channel: this.channelName });\n    }\n  },\n\n  sendUserEvent(userId, eventName, eventData) {\n    if (this.channelName === undefined || !this._nexus) {\n      // Nexus connection is not set up\n      return;\n    }\n    this._nexus.sendUserEvent(userId, eventName, eventData);\n  },\n\n  throttleSendUserEvent(userId, eventName, eventData) {\n    if (this.channelName === undefined || !this._nexus) {\n      // Nexus connection is not set up\n      return;\n    }\n    this._nexus.throttleSendUserEvent(userId, eventName, eventData);\n  },\n\n  throttleSendEvent(eventName, eventData) {\n    if (this.channelName === undefined || !this._nexus) {\n      // Nexus connection is not set up\n      return;\n    }\n    this._nexus.throttleSendEvent(eventName, eventData);\n  },\n\n  _onClientConnect() {},\n  _onClientDisconnect() {},\n  _onChannelExpired() {\n    if (ENV.environment !== 'test') {\n      later(() => {\n        this.initForApp(this.appId);\n      }, ENV.APP._5000MS);\n    } else {\n      this.initForApp(this.appId);\n    }\n  },\n});\n","/* === ⚠️ THIS FILE CURRENTLY USES DEPRECATED PATTERNS ⚠️ === */\n/* === 🔗 For more information visit https://go.inter.com/ember-best-practices 🔗 */\n/* === 🚀 Please consider refactoring & removing some of the comments below when working on this file 🚀 */\n/* eslint-disable ember/no-classic-classes */\nimport EmberObject from '@ember/object';\nlet ReachabilityIntercom = EmberObject.extend({\n  hostIsReachable: true,\n\n  startNotifier(onNetworkIsReachable, onNetworkIsNotReachable) {\n    this.set('hostIsReachable', true);\n\n    if (this._isFunction(onNetworkIsReachable)) {\n      this.set('onNetworkIsReachable', onNetworkIsReachable);\n    }\n    if (this._isFunction(onNetworkIsNotReachable)) {\n      this.set('onNetworkIsNotReachable', onNetworkIsNotReachable);\n    }\n\n    window.addEventListener('online', this.onNetworkIsReachable, false);\n    window.addEventListener('offline', this.onNetworkIsNotReachable, false);\n  },\n\n  stopNotifier() {\n    window.removeEventListener('offline', this.onNetworkIsNotReachable, false);\n    window.removeEventListener('online', this.onNetworkIsReachable, false);\n  },\n\n  onNetworkIsReachable() {\n    Em.Logger.info('Reachability: network is reachable');\n  },\n  onNetworkIsNotReachable() {\n    Em.Logger.info('Reachability: network is not reachable');\n  },\n  onHostIsReachable() {\n    Em.Logger.info('Reachability: host is reachable');\n  },\n  onHostIsNotReachable() {\n    Em.Logger.info('Reachability: host is not reachable');\n  },\n\n  // Private methods\n  _isFunction(obj) {\n    return !!(obj && obj.constructor && obj.call && obj.apply);\n  },\n});\n\nexport default ReachabilityIntercom;\n","/* global Handlebars: */\n\nlet render = function(rawTemplateIdentifiers, context) {\n  context = context || {};\n\n  if (!Handlebars.templates) {\n    return '[MISSING TEMPLATES]';\n  }\n\n  for (let i = 0; i < rawTemplateIdentifiers.length; i++) {\n    let identifier = rawTemplateIdentifiers[i];\n    if (Handlebars.templates[identifier]) {\n      return Handlebars.templates[identifier](context);\n    }\n  }\n\n  return '[MISSING TEMPLATE]';\n};\nexport default render;\n","import { assert } from '@ember/debug';\n// A super simple wrapper for localStorage to allow for storing arbitrary objects\n// ignores exceptions so only use for progressive enhancements\n\n// storage.set('someKey', {my: 'object'})\n// storage.get('someKey') returns: {my: 'object'}\n\nexport default {\n  set(key, value) {\n    try {\n      localStorage.setItem(key, JSON.stringify(value));\n    } catch (e) {\n      assert('local storage set failure');\n    }\n  },\n  get(key) {\n    try {\n      return JSON.parse(localStorage.getItem(key));\n    } catch (e) {\n      assert('local storage get failure');\n    }\n  },\n  remove(key) {\n    try {\n      return localStorage.removeItem(key);\n    } catch (e) {\n      assert('local storage remove failure');\n    }\n  },\n  clear() {\n    try {\n      return localStorage.clear();\n    } catch (e) {\n      assert('local storage clear failure');\n    }\n  },\n};\n","import B64FilterParamEncoder from 'embercom/vendor/intercom/b64-filter-param-encoder';\n\nexport function getInboxTagUrl(tag) {\n  let tagId = tag.id;\n  let appId = tag.app_id;\n  return `/a/apps/${appId}/inbox/inbox/search?tagIds=[${tagId}]`;\n}\n\nexport function getUserOrCompanyUrl(tag, type) {\n  return B64FilterParamEncoder.tagUrl(tag, type);\n}\n\nexport function tagFilterUrl(tag, type) {\n  if (['conversation', 'comment'].indexOf(type) !== -1) {\n    return getInboxTagUrl(tag);\n  } else {\n    return getUserOrCompanyUrl(tag, type);\n  }\n}\n","define('embercom/config/environment', [], function() {\n  \n          var exports = {\n            'default': {\"exportApplicationGlobal\":true,\"modulePrefix\":\"embercom\",\"environment\":\"production\",\"teammateAppUrl\":\"https://app.intercom.com\",\"rootURL\":\"/a/\",\"locationType\":\"history\",\"ember-d3\":{\"only\":[\"d3-array\",\"d3-axis\",\"d3-collection\",\"d3-color\",\"d3-dispatch\",\"d3-ease\",\"d3-format\",\"d3-hierarchy\",\"d3-interpolate\",\"d3-path\",\"d3-scale\",\"d3-selection\",\"d3-shape\",\"d3-time\",\"d3-time-format\",\"d3-timer\",\"d3-transition\",\"d3-interpolate-path\"]},\"moment\":{\"includeTimezone\":\"subset\"},\"LOG_DEPRECATION_WARNINGS\":\"\",\"FAIL_TESTS_WITH_UNMOCKED_XHR_REQUESTS\":\"\",\"FB\":{\"version\":\"v8.0\",\"xfbml\":true},\"percy\":{\"breakpointsConfig\":{\"mobile\":375,\"desktopMin\":1024,\"desktop\":1380},\"defaultBreakpoints\":[\"desktop\"],\"baseUrlPath\":\"/a/\"},\"sentry\":{\"dsn\":\"https://bec15ebceb8f4d4e84847b3c4e655eb4@sentry.io/78731\"},\"EmberENV\":{\"FEATURES\":{},\"EXTEND_PROTOTYPES\":{\"String\":true,\"Array\":true,\"Function\":true,\"Date\":false},\"ember-oauth2\":{\"mailchimp\":{\"clientId\":555194316105,\"authBaseUri\":\"https://login.mailchimp.com/oauth2/authorize\",\"redirectUri\":\"https://app.intercom.com/mailchimp_oauth.html\",\"statePrefix\":\"intercom\"}},\"_APPLICATION_TEMPLATE_WRAPPER\":false,\"_DEFAULT_ASYNC_OBSERVERS\":true,\"_JQUERY_INTEGRATION\":true,\"_TEMPLATE_ONLY_GLIMMER_COMPONENTS\":true},\"APP\":{\"rootElement\":\".application__embercom-root\",\"zendeskTicketsImporter\":{\"clientId\":\"zdg-zendesk_to_intercom_importer\",\"devRedirectUri\":\"\"},\"app\":{},\"clearbit\":{\"clientId\":\"c7a4e909e96b7f210f91409ff6ed98fb\"},\"stripe\":{\"publishableKey\":\"pk_live_xjuWaDI4Ey3QoKzmCu0w4905\"},\"facebook\":{\"appId\":\"983775918346748\"},\"facebookMessenger\":{\"appId\":\"1714458892126504\"},\"relative_time_update_interval\":20000,\"default_notification_timeout\":4000,\"notificationNoTimeout\":-1,\"auto_transition_timeout\":500,\"cancel_user_is_typing_timeout\":10000,\"nav_counters_poll_interval\":10000,\"conversations_per_page\":10,\"conversation_parts_per_page\":25,\"isTypingTimeout\":10000,\"desktopNotificationTimeout\":10000,\"educateErrorNotificationTimeout\":5000,\"userContentSeenStateDelay\":1000,\"personalTemplateAvatarRefesh\":2500,\"temporaryHideComposerTime\":500,\"messageFormatSaveLabelTime\":30000,\"websocketMonitorDelay\":1500,\"websocketMonitorTimeout\":10000,\"secondaryStageAdvancementDelay\":1000,\"dropdownFadeIn\":200,\"_15MS\":15,\"_25MS\":25,\"_50MS\":50,\"_80MS\":80,\"_100MS\":100,\"_150MS\":150,\"_200MS\":200,\"_250MS\":250,\"_300MS\":300,\"_350MS\":350,\"_400MS\":400,\"_500MS\":500,\"_600MS\":600,\"_750MS\":750,\"_1000MS\":1000,\"_2000MS\":2000,\"_3000MS\":3000,\"_5000MS\":5000,\"_7000MS\":7000,\"_10000MS\":10000,\"_15000MS\":15000,\"_30000MS\":30000,\"_1S\":1000,\"_1M\":60000,\"refresh_app_after_minutes\":61,\"stripe_integration\":{\"connect_url\":\"https://connect.stripe.com/oauth/authorize?response_type=code&client_id=ca_4nosPk1Nx1cMmzawNXBTHM5vEkcDVc0H&state=\"},\"salesforce_base_url\":\"https://salesforce.intercom.io\",\"quick_links_base_url\":\"https://intercom-integrations.intercom.io\",\"slack_integration\":{\"install_start_url\":\"https://slack.intercom.io/slack/authenticate/\"},\"zoom_integration\":{\"redirect_base_url\":\"https://messenger-apps.intercom.io/\"},\"userPresencePollingInterval\":50000,\"userPresenceRefreshInterval\":20000,\"userPresencePollingEndpoint\":\"https://user-presence.intercom.io/user-presence\",\"userPresenceProxyPollingEndpoint\":\"/ember/user_presence.json\",\"userPresencePollingBatchSize\":100,\"render_performance_sample_size\":100,\"routing_rules_max\":100,\"visitor_auto_message_max\":100,\"video_reply_autocommit_time\":5000,\"video_reply_user_visible_upload_time\":4750,\"camera_popover_request_delay\":200,\"adminPingInterval\":60000,\"integrations\":{\"oauthUrl\":\"https://app.intercom.com/oauth\"},\"google_analytics_id\":\"UA-22834013-1\",\"marketingSiteUrl\":\"https://www.intercom.com\",\"name\":\"embercom\",\"version\":\"0.0.0+874d8e95\"},\"stripe\":{\"publishableKey\":\"pk_live_xjuWaDI4Ey3QoKzmCu0w4905\",\"lazyLoad\":true},\"recaptchaSiteKey\":\"6LdMhPIUAAAAAGYlt0Wxcm_Wm2cxP4wuoTRg7lmb\",\"applicationServerKeyString\":\"BIhmi0sxX-ghEgk-o5FJYvbjctQe4FFuez5sHucaAxsFJOfJNNJ6gP2H3t6gG7Pun9WLGfEF98vq29QP0q20ySQ\",\"ember-ast-hot-load\":{\"enabled\":false,\"watch\":[\"components\"],\"helpers\":[]},\"ember-collapsible-panel\":{\"hasLiquidFire\":\"0.31.0\"},\"contentSecurityPolicy\":{\"style-src\":\"'self' 'unsafe-inline' 'unsave-eval'\"},\"ember-a11y-testing\":{\"componentOptions\":{\"turnAuditOff\":true,\"excludeAxeCore\":true,\"axeOptions\":{\"iframes\":false,\"reporter\":\"v2\",\"resultTypes\":[\"violations\"],\"rules\":{\"duplicate-id\":{\"enabled\":false},\"duplicate-id-active\":{\"enabled\":false},\"duplicate-id-aria\":{\"enabled\":false}}}}}}\n          };\n          Object.defineProperty(exports, '__esModule', {value: true});\n          return exports;\n        \n});\n","\n          if (!runningTests) {\n            require(\"embercom/app\")[\"default\"].create({\"rootElement\":\".application__embercom-root\",\"zendeskTicketsImporter\":{\"clientId\":\"zdg-zendesk_to_intercom_importer\",\"devRedirectUri\":\"\"},\"app\":{},\"clearbit\":{\"clientId\":\"c7a4e909e96b7f210f91409ff6ed98fb\"},\"stripe\":{\"publishableKey\":\"pk_live_xjuWaDI4Ey3QoKzmCu0w4905\"},\"facebook\":{\"appId\":\"983775918346748\"},\"facebookMessenger\":{\"appId\":\"1714458892126504\"},\"relative_time_update_interval\":20000,\"default_notification_timeout\":4000,\"notificationNoTimeout\":-1,\"auto_transition_timeout\":500,\"cancel_user_is_typing_timeout\":10000,\"nav_counters_poll_interval\":10000,\"conversations_per_page\":10,\"conversation_parts_per_page\":25,\"isTypingTimeout\":10000,\"desktopNotificationTimeout\":10000,\"educateErrorNotificationTimeout\":5000,\"userContentSeenStateDelay\":1000,\"personalTemplateAvatarRefesh\":2500,\"temporaryHideComposerTime\":500,\"messageFormatSaveLabelTime\":30000,\"websocketMonitorDelay\":1500,\"websocketMonitorTimeout\":10000,\"secondaryStageAdvancementDelay\":1000,\"dropdownFadeIn\":200,\"_15MS\":15,\"_25MS\":25,\"_50MS\":50,\"_80MS\":80,\"_100MS\":100,\"_150MS\":150,\"_200MS\":200,\"_250MS\":250,\"_300MS\":300,\"_350MS\":350,\"_400MS\":400,\"_500MS\":500,\"_600MS\":600,\"_750MS\":750,\"_1000MS\":1000,\"_2000MS\":2000,\"_3000MS\":3000,\"_5000MS\":5000,\"_7000MS\":7000,\"_10000MS\":10000,\"_15000MS\":15000,\"_30000MS\":30000,\"_1S\":1000,\"_1M\":60000,\"refresh_app_after_minutes\":61,\"stripe_integration\":{\"connect_url\":\"https://connect.stripe.com/oauth/authorize?response_type=code&client_id=ca_4nosPk1Nx1cMmzawNXBTHM5vEkcDVc0H&state=\"},\"salesforce_base_url\":\"https://salesforce.intercom.io\",\"quick_links_base_url\":\"https://intercom-integrations.intercom.io\",\"slack_integration\":{\"install_start_url\":\"https://slack.intercom.io/slack/authenticate/\"},\"zoom_integration\":{\"redirect_base_url\":\"https://messenger-apps.intercom.io/\"},\"userPresencePollingInterval\":50000,\"userPresenceRefreshInterval\":20000,\"userPresencePollingEndpoint\":\"https://user-presence.intercom.io/user-presence\",\"userPresenceProxyPollingEndpoint\":\"/ember/user_presence.json\",\"userPresencePollingBatchSize\":100,\"render_performance_sample_size\":100,\"routing_rules_max\":100,\"visitor_auto_message_max\":100,\"video_reply_autocommit_time\":5000,\"video_reply_user_visible_upload_time\":4750,\"camera_popover_request_delay\":200,\"adminPingInterval\":60000,\"integrations\":{\"oauthUrl\":\"https://app.intercom.com/oauth\"},\"google_analytics_id\":\"UA-22834013-1\",\"marketingSiteUrl\":\"https://www.intercom.com\",\"name\":\"embercom\",\"version\":\"0.0.0+874d8e95\"});\n          }\n        \n"]}